sm-click-library-ui 0.0.390 → 0.0.393
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index-pIuAt61H.js +48822 -0
- package/dist/sm-click-library-ui.es.js +6 -48206
- package/dist/sm-click-library-ui.umd.js +14 -14
- package/dist/style.css +1 -1
- package/dist/tailwind.css +41 -0
- package/dist/web-s6lFS2jx.js +438 -0
- package/dist/web-wri-esxC.js +732 -0
- package/package.json +3 -5
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
(function(ut,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("vue"),require("pinia")):typeof define=="function"&&define.amd?define(["exports","vue","pinia"],t):(ut=typeof globalThis<"u"?globalThis:ut||self,t(ut["sm-click-library-ui"]={},ut.Vue,ut.Pinia))})(this,function(ut,t,zt){"use strict";var cw=Object.defineProperty;var dw=(ut,t,zt)=>t in ut?cw(ut,t,{enumerable:!0,configurable:!0,writable:!0,value:zt}):ut[t]=zt;var ve=(ut,t,zt)=>dw(ut,typeof t!="symbol"?t+"":t,zt);function B1(e){return t.getCurrentScope()?(t.onScopeDispose(e),!0):!1}function Ho(e){return typeof e=="function"?e():t.unref(e)}const Ro=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const A1=Object.prototype.toString,V1=e=>A1.call(e)==="[object Object]",Sn=()=>{},_1=N1();function N1(){var e,a;return Ro&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((a=window==null?void 0:window.navigator)==null?void 0:a.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function Ja(e){var a;const n=Ho(e);return(a=n==null?void 0:n.$el)!=null?a:n}const zo=Ro?window:void 0;function fr(...e){let a,n,r,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,o]=e,a=zo):[a,n,r,o]=e,!a)return Sn;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const i=[],l=()=>{i.forEach(f=>f()),i.length=0},s=(f,h,c,m)=>(f.addEventListener(h,c,m),()=>f.removeEventListener(h,c,m)),d=t.watch(()=>[Ja(a),Ho(o)],([f,h])=>{if(l(),!f)return;const c=V1(h)?{...h}:h;i.push(...n.flatMap(m=>r.map(u=>s(f,m,u,c))))},{immediate:!0,flush:"post"}),p=()=>{d(),l()};return B1(p),p}let Io=!1;function Go(e,a,n={}){const{window:r=zo,ignore:o=[],capture:i=!0,detectIframe:l=!1}=n;if(!r)return Sn;_1&&!Io&&(Io=!0,Array.from(r.document.body.children).forEach(c=>c.addEventListener("click",Sn)),r.document.documentElement.addEventListener("click",Sn));let s=!0;const d=c=>o.some(m=>{if(typeof m=="string")return Array.from(r.document.querySelectorAll(m)).some(u=>u===c.target||c.composedPath().includes(u));{const u=Ja(m);return u&&(c.target===u||c.composedPath().includes(u))}}),f=[fr(r,"click",c=>{const m=Ja(e);if(!(!m||m===c.target||c.composedPath().includes(m))){if(c.detail===0&&(s=!d(c)),!s){s=!0;return}a(c)}},{passive:!0,capture:i}),fr(r,"pointerdown",c=>{const m=Ja(e);s=!d(c)&&!!(m&&!c.composedPath().includes(m))},{passive:!0}),l&&fr(r,"blur",c=>{setTimeout(()=>{var m;const u=Ja(e);((m=r.document.activeElement)==null?void 0:m.tagName)==="IFRAME"&&!(u!=null&&u.contains(r.document.activeElement))&&a(c)},0)})].filter(Boolean);return()=>f.forEach(c=>c())}const qe=(e,a)=>{const n=e.__vccOpts||e;for(const[r,o]of a)n[r]=o;return n},D1={class:"line-clamp-2 uppercase text-xs truncate text-white"},T1={key:0,class:"select_widget_lib"},jo=qe({__name:"primary_select",props:{config:{type:Object,default:{title:"select_primary"}}},emits:["closeSelect"],setup(e,{emit:a}){const n=e,r=t.ref(!1),o=t.ref(null);t.computed(()=>n.selectConfig.some(s=>s.freeSlot));const i=()=>{r.value=!r.value};return Go(o,()=>{r.value&&(r.value=!1)}),(s,d)=>(t.openBlock(),t.createElementBlock("div",{ref_key:"target",ref:o,class:"relative w-full"},[t.createElementVNode("button",{onClick:i,class:"bg-base-100 z-10 truncate flex items-center justify-between gap-6 p-2 rounded-md lg:mt-0 w-full shadow-md shadow-base-300"},[t.createElementVNode("div",null,[t.createElementVNode("p",D1,t.toDisplayString(e.config.title),1)]),t.createElementVNode("div",null,[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass([r.value?"rotate-180 transition-transform ease-in-out":"","w-3 h-3 text-white"]),xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},d[0]||(d[0]=[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M18.4 10.3A2 2 0 0 0 17 7H7a2 2 0 0 0-1.5 3.3l4.9 5.9a2 2 0 0 0 3 0l5-6Z","clip-rule":"evenodd"},null,-1)]),2))])]),r.value?(t.openBlock(),t.createElementBlock("section",T1,[t.createElementVNode("div",null,[t.renderSlot(s.$slots,"free-slot",{},void 0,!0)])])):t.createCommentVNode("",!0)],512))}},[["__scopeId","data-v-970e6830"]]),P1={key:0,class:"modal_head"},O1={class:"modal_responsive"},F1={class:"flex min-h-full items-center justify-center text-center sm:p-0"},L1={class:"modal_tittle text-current"},$1={class:"flex items-center gap-3"},H1=["innerHTML"],R1={class:"text-xl font-semibold flex items-center gap-2"},z1={class:"bg-base-200"},I1={class:"text-center"},G1={class:"modal_end_button"},qo=qe({__name:"simple_modal",props:{isOpen:{type:Boolean,default:!1},header:{type:Object,default:{title:"title",svg:"<svg class='w-5 mr-2 text-primary inline-block' aria-hidden='true' xmlns='http://www.w3.org/2000/svg' fill='currentColor' viewBox='0 0 24 24'> <path d='M18 3h-5.7a2 2 0 0 0-1.4.6L3.6 11a2 2 0 0 0 0 2.8l6.6 6.6a2 2 0 0 0 2.8 0l7.4-7.5a2 2 0 0 0 .6-1.4V6a3 3 0 0 0-3-3Zm-2.4 6.4a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z' /> </svg>"}},size:{type:String,default:"md:w-1/2 xl:w-1/3"}},emits:["update:isOpen","close"],setup(e,{emit:a}){const n=e,r=a,o=()=>{r("update:isOpen",!n.isOpen),n.isOpen&&r("close")};return(i,l)=>{var s,d;return e.isOpen?(t.openBlock(),t.createElementBlock("div",P1,[l[2]||(l[2]=t.createElementVNode("div",{class:"modal-overlay absolute h-full w-full bg-gray-600 opacity-50"},null,-1)),t.createElementVNode("div",O1,[t.createElementVNode("div",F1,[t.createElementVNode("div",{class:t.normalizeClass(["z-50 w-full shadow rounded-2xl shadow-black",e.size])},[t.createElementVNode("div",L1,[t.createElementVNode("section",$1,[t.createElementVNode("div",{innerHTML:(s=e.header)==null?void 0:s.svg},null,8,H1),t.createElementVNode("div",null,[t.createElementVNode("h3",R1,[t.createElementVNode("p",null,t.toDisplayString((d=e.header)==null?void 0:d.title),1)]),t.createElementVNode("div",null,[t.renderSlot(i.$slots,"header",{},void 0,!0)])])]),t.createElementVNode("button",{onClick:l[0]||(l[0]=p=>o()),class:"modal_close_button"},l[1]||(l[1]=[t.createElementVNode("svg",{class:"h-5 w-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1)]))]),t.createElementVNode("div",z1,[t.createElementVNode("div",I1,[t.renderSlot(i.$slots,"body",{},void 0,!0)])]),t.createElementVNode("div",G1,[t.renderSlot(i.$slots,"footer",{},void 0,!0)])],2)])])])):t.createCommentVNode("",!0)}}},[["__scopeId","data-v-3fe54e4c"]]),j1={class:"simple_card_header"},q1={key:0,class:"simple_card_icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22 22",fill:"none"},W1={key:1,class:"simple_card_icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22 22",fill:"none"},Y1={key:2,class:"simple_card_icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22 22",fill:"none"},U1={key:3,class:"simple_card_icon","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 23 23"},X1={class:"simple_card_title"},Z1={class:"simple_card_descripiton"},Wo={__name:"simple_card",props:{content:{type:Object,default:{title:"Title",description:"Coloque aqui a descrição"}},typeCard:{type:String,default:"default"}},setup(e){const a=e,n=t.computed(()=>({simple_card_success:a.typeCard==="success",simple_card_info:a.typeCard==="info",simple_card_alert:a.typeCard==="alert",simple_card_error:a.typeCard==="error"}));return(r,o)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass([n.value,"simple_card"])},[t.createElementVNode("div",j1,[e.typeCard==="success"?(t.openBlock(),t.createElementBlock("svg",q1,o[0]||(o[0]=[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0.25 10C0.25 4.61522 4.61522 0.25 10 0.25C15.3848 0.25 19.75 4.61522 19.75 10C19.75 15.3848 15.3848 19.75 10 19.75C4.61522 19.75 0.25 15.3848 0.25 10ZM13.6103 8.18593C13.8511 7.84887 13.773 7.38046 13.4359 7.1397C13.0989 6.89894 12.6305 6.97701 12.3897 7.31407L9.1543 11.8436L7.53033 10.2197C7.23744 9.92678 6.76256 9.92678 6.46967 10.2197C6.17678 10.5126 6.17678 10.9874 6.46967 11.2803L8.71967 13.5303C8.87556 13.6862 9.09215 13.7656 9.31186 13.7474C9.53157 13.7293 9.73216 13.6153 9.8603 13.4359L13.6103 8.18593Z",fill:"currentColor"},null,-1)]))):t.createCommentVNode("",!0),e.typeCard==="info"?(t.openBlock(),t.createElementBlock("svg",W1,o[1]||(o[1]=[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0.25 10C0.25 4.61522 4.61522 0.25 10 0.25C15.3848 0.25 19.75 4.61522 19.75 10C19.75 15.3848 15.3848 19.75 10 19.75C4.61522 19.75 0.25 15.3848 0.25 10ZM10 6.25C10.4142 6.25 10.75 6.58579 10.75 7V10.75C10.75 11.1642 10.4142 11.5 10 11.5C9.58579 11.5 9.25 11.1642 9.25 10.75V7C9.25 6.58579 9.58579 6.25 10 6.25ZM10 14.5C10.4142 14.5 10.75 14.1642 10.75 13.75C10.75 13.3358 10.4142 13 10 13C9.58579 13 9.25 13.3358 9.25 13.75C9.25 14.1642 9.58579 14.5 10 14.5Z",fill:"currentColor"},null,-1)]))):t.createCommentVNode("",!0),e.typeCard==="alert"?(t.openBlock(),t.createElementBlock("svg",Y1,o[2]||(o[2]=[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.40123 2.0034C9.55572 0.0022862 12.4439 0.0022856 13.5983 2.0034L20.9527 14.7509C22.1065 16.7509 20.6631 19.2501 18.3541 19.2501H3.64546C1.33649 19.2501 -0.106939 16.7509 1.04691 14.7509L8.40123 2.0034ZM11 7.25C11.4142 7.25 11.75 7.58579 11.75 8V11.75C11.75 12.1642 11.4142 12.5 11 12.5C10.5858 12.5 10.25 12.1642 10.25 11.75V8C10.25 7.58579 10.5858 7.25 11 7.25ZM11 15.5C11.4142 15.5 11.75 15.1642 11.75 14.75C11.75 14.3358 11.4142 14 11 14C10.5858 14 10.25 14.3358 10.25 14.75C10.25 15.1642 10.5858 15.5 11 15.5Z",fill:"currentColor"},null,-1)]))):t.createCommentVNode("",!0),e.typeCard==="error"?(t.openBlock(),t.createElementBlock("svg",U1,o[3]||(o[3]=[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm7.707-3.707a1 1 0 0 0-1.414 1.414L10.586 12l-2.293 2.293a1 1 0 1 0 1.414 1.414L12 13.414l2.293 2.293a1 1 0 0 0 1.414-1.414L13.414 12l2.293-2.293a1 1 0 0 0-1.414-1.414L12 10.586 9.707 8.293Z","clip-rule":"evenodd"},null,-1)]))):t.createCommentVNode("",!0),t.createElementVNode("p",X1,t.toDisplayString(e.content.title),1)]),t.createElementVNode("section",Z1,[t.createElementVNode("p",null,t.toDisplayString(e.content.description),1)])],2))}};function Yo(e,a){return function(){return e.apply(a,arguments)}}const{toString:Q1}=Object.prototype,{getPrototypeOf:hr}=Object,{iterator:Mn,toStringTag:Uo}=Symbol,Bn=(e=>a=>{const n=Q1.call(a);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Pt=e=>(e=e.toLowerCase(),a=>Bn(a)===e),An=e=>a=>typeof a===e,{isArray:Ta}=Array,en=An("undefined");function K1(e){return e!==null&&!en(e)&&e.constructor!==null&&!en(e.constructor)&&Mt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Xo=Pt("ArrayBuffer");function J1(e){let a;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?a=ArrayBuffer.isView(e):a=e&&e.buffer&&Xo(e.buffer),a}const e0=An("string"),Mt=An("function"),Zo=An("number"),Vn=e=>e!==null&&typeof e=="object",t0=e=>e===!0||e===!1,_n=e=>{if(Bn(e)!=="object")return!1;const a=hr(e);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(Uo in e)&&!(Mn in e)},a0=Pt("Date"),n0=Pt("File"),r0=Pt("Blob"),o0=Pt("FileList"),i0=e=>Vn(e)&&Mt(e.pipe),l0=e=>{let a;return e&&(typeof FormData=="function"&&e instanceof FormData||Mt(e.append)&&((a=Bn(e))==="formdata"||a==="object"&&Mt(e.toString)&&e.toString()==="[object FormData]"))},s0=Pt("URLSearchParams"),[c0,d0,u0,m0]=["ReadableStream","Request","Response","Headers"].map(Pt),f0=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function tn(e,a,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),Ta(e))for(r=0,o=e.length;r<o;r++)a.call(null,e[r],r,e);else{const i=n?Object.getOwnPropertyNames(e):Object.keys(e),l=i.length;let s;for(r=0;r<l;r++)s=i[r],a.call(null,e[s],s,e)}}function Qo(e,a){a=a.toLowerCase();const n=Object.keys(e);let r=n.length,o;for(;r-- >0;)if(o=n[r],a===o.toLowerCase())return o;return null}const wa=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Ko=e=>!en(e)&&e!==wa;function pr(){const{caseless:e}=Ko(this)&&this||{},a={},n=(r,o)=>{const i=e&&Qo(a,o)||o;_n(a[i])&&_n(r)?a[i]=pr(a[i],r):_n(r)?a[i]=pr({},r):Ta(r)?a[i]=r.slice():a[i]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&tn(arguments[r],n);return a}const h0=(e,a,n,{allOwnKeys:r}={})=>(tn(a,(o,i)=>{n&&Mt(o)?e[i]=Yo(o,n):e[i]=o},{allOwnKeys:r}),e),p0=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),g0=(e,a,n,r)=>{e.prototype=Object.create(a.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:a.prototype}),n&&Object.assign(e.prototype,n)},y0=(e,a,n,r)=>{let o,i,l;const s={};if(a=a||{},e==null)return a;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)l=o[i],(!r||r(l,e,a))&&!s[l]&&(a[l]=e[l],s[l]=!0);e=n!==!1&&hr(e)}while(e&&(!n||n(e,a))&&e!==Object.prototype);return a},k0=(e,a,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=a.length;const r=e.indexOf(a,n);return r!==-1&&r===n},x0=e=>{if(!e)return null;if(Ta(e))return e;let a=e.length;if(!Zo(a))return null;const n=new Array(a);for(;a-- >0;)n[a]=e[a];return n},b0=(e=>a=>e&&a instanceof e)(typeof Uint8Array<"u"&&hr(Uint8Array)),w0=(e,a)=>{const r=(e&&e[Mn]).call(e);let o;for(;(o=r.next())&&!o.done;){const i=o.value;a.call(e,i[0],i[1])}},v0=(e,a)=>{let n;const r=[];for(;(n=e.exec(a))!==null;)r.push(n);return r},E0=Pt("HTMLFormElement"),C0=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),Jo=(({hasOwnProperty:e})=>(a,n)=>e.call(a,n))(Object.prototype),S0=Pt("RegExp"),ei=(e,a)=>{const n=Object.getOwnPropertyDescriptors(e),r={};tn(n,(o,i)=>{let l;(l=a(o,i,e))!==!1&&(r[i]=l||o)}),Object.defineProperties(e,r)},M0=e=>{ei(e,(a,n)=>{if(Mt(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Mt(r)){if(a.enumerable=!1,"writable"in a){a.writable=!1;return}a.set||(a.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},B0=(e,a)=>{const n={},r=o=>{o.forEach(i=>{n[i]=!0})};return Ta(e)?r(e):r(String(e).split(a)),n},A0=()=>{},V0=(e,a)=>e!=null&&Number.isFinite(e=+e)?e:a;function _0(e){return!!(e&&Mt(e.append)&&e[Uo]==="FormData"&&e[Mn])}const N0=e=>{const a=new Array(10),n=(r,o)=>{if(Vn(r)){if(a.indexOf(r)>=0)return;if(!("toJSON"in r)){a[o]=r;const i=Ta(r)?[]:{};return tn(r,(l,s)=>{const d=n(l,o+1);!en(d)&&(i[s]=d)}),a[o]=void 0,i}}return r};return n(e,0)},D0=Pt("AsyncFunction"),T0=e=>e&&(Vn(e)||Mt(e))&&Mt(e.then)&&Mt(e.catch),ti=((e,a)=>e?setImmediate:a?((n,r)=>(wa.addEventListener("message",({source:o,data:i})=>{o===wa&&i===n&&r.length&&r.shift()()},!1),o=>{r.push(o),wa.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Mt(wa.postMessage)),P0=typeof queueMicrotask<"u"?queueMicrotask.bind(wa):typeof process<"u"&&process.nextTick||ti,oe={isArray:Ta,isArrayBuffer:Xo,isBuffer:K1,isFormData:l0,isArrayBufferView:J1,isString:e0,isNumber:Zo,isBoolean:t0,isObject:Vn,isPlainObject:_n,isReadableStream:c0,isRequest:d0,isResponse:u0,isHeaders:m0,isUndefined:en,isDate:a0,isFile:n0,isBlob:r0,isRegExp:S0,isFunction:Mt,isStream:i0,isURLSearchParams:s0,isTypedArray:b0,isFileList:o0,forEach:tn,merge:pr,extend:h0,trim:f0,stripBOM:p0,inherits:g0,toFlatObject:y0,kindOf:Bn,kindOfTest:Pt,endsWith:k0,toArray:x0,forEachEntry:w0,matchAll:v0,isHTMLForm:E0,hasOwnProperty:Jo,hasOwnProp:Jo,reduceDescriptors:ei,freezeMethods:M0,toObjectSet:B0,toCamelCase:C0,noop:A0,toFiniteNumber:V0,findKey:Qo,global:wa,isContextDefined:Ko,isSpecCompliantForm:_0,toJSONObject:N0,isAsyncFn:D0,isThenable:T0,setImmediate:ti,asap:P0,isIterable:e=>e!=null&&Mt(e[Mn])};function Te(e,a,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",a&&(this.code=a),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}oe.inherits(Te,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:oe.toJSONObject(this.config),code:this.code,status:this.status}}});const ai=Te.prototype,ni={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{ni[e]={value:e}}),Object.defineProperties(Te,ni),Object.defineProperty(ai,"isAxiosError",{value:!0}),Te.from=(e,a,n,r,o,i)=>{const l=Object.create(ai);return oe.toFlatObject(e,l,function(d){return d!==Error.prototype},s=>s!=="isAxiosError"),Te.call(l,e.message,a,n,r,o),l.cause=e,l.name=e.name,i&&Object.assign(l,i),l};const O0=null;function gr(e){return oe.isPlainObject(e)||oe.isArray(e)}function ri(e){return oe.endsWith(e,"[]")?e.slice(0,-2):e}function oi(e,a,n){return e?e.concat(a).map(function(o,i){return o=ri(o),!n&&i?"["+o+"]":o}).join(n?".":""):a}function F0(e){return oe.isArray(e)&&!e.some(gr)}const L0=oe.toFlatObject(oe,{},null,function(a){return/^is[A-Z]/.test(a)});function Nn(e,a,n){if(!oe.isObject(e))throw new TypeError("target must be an object");a=a||new FormData,n=oe.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,b){return!oe.isUndefined(b[y])});const r=n.metaTokens,o=n.visitor||f,i=n.dots,l=n.indexes,d=(n.Blob||typeof Blob<"u"&&Blob)&&oe.isSpecCompliantForm(a);if(!oe.isFunction(o))throw new TypeError("visitor must be a function");function p(u){if(u===null)return"";if(oe.isDate(u))return u.toISOString();if(oe.isBoolean(u))return u.toString();if(!d&&oe.isBlob(u))throw new Te("Blob is not supported. Use a Buffer instead.");return oe.isArrayBuffer(u)||oe.isTypedArray(u)?d&&typeof Blob=="function"?new Blob([u]):Buffer.from(u):u}function f(u,y,b){let x=u;if(u&&!b&&typeof u=="object"){if(oe.endsWith(y,"{}"))y=r?y:y.slice(0,-2),u=JSON.stringify(u);else if(oe.isArray(u)&&F0(u)||(oe.isFileList(u)||oe.endsWith(y,"[]"))&&(x=oe.toArray(u)))return y=ri(y),x.forEach(function(k,B){!(oe.isUndefined(k)||k===null)&&a.append(l===!0?oi([y],B,i):l===null?y:y+"[]",p(k))}),!1}return gr(u)?!0:(a.append(oi(b,y,i),p(u)),!1)}const h=[],c=Object.assign(L0,{defaultVisitor:f,convertValue:p,isVisitable:gr});function m(u,y){if(!oe.isUndefined(u)){if(h.indexOf(u)!==-1)throw Error("Circular reference detected in "+y.join("."));h.push(u),oe.forEach(u,function(x,w){(!(oe.isUndefined(x)||x===null)&&o.call(a,x,oe.isString(w)?w.trim():w,y,c))===!0&&m(x,y?y.concat(w):[w])}),h.pop()}}if(!oe.isObject(e))throw new TypeError("data must be an object");return m(e),a}function ii(e){const a={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return a[r]})}function yr(e,a){this._pairs=[],e&&Nn(e,this,a)}const li=yr.prototype;li.append=function(a,n){this._pairs.push([a,n])},li.toString=function(a){const n=a?function(r){return a.call(this,r,ii)}:ii;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function $0(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function si(e,a,n){if(!a)return e;const r=n&&n.encode||$0;oe.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let i;if(o?i=o(a,n):i=oe.isURLSearchParams(a)?a.toString():new yr(a,n).toString(r),i){const l=e.indexOf("#");l!==-1&&(e=e.slice(0,l)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class ci{constructor(){this.handlers=[]}use(a,n,r){return this.handlers.push({fulfilled:a,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(a){this.handlers[a]&&(this.handlers[a]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(a){oe.forEach(this.handlers,function(r){r!==null&&a(r)})}}const di={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},H0={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:yr,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},kr=typeof window<"u"&&typeof document<"u",xr=typeof navigator=="object"&&navigator||void 0,R0=kr&&(!xr||["ReactNative","NativeScript","NS"].indexOf(xr.product)<0),z0=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",I0=kr&&window.location.href||"http://localhost",gt={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:kr,hasStandardBrowserEnv:R0,hasStandardBrowserWebWorkerEnv:z0,navigator:xr,origin:I0},Symbol.toStringTag,{value:"Module"})),...H0};function G0(e,a){return Nn(e,new gt.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,i){return gt.isNode&&oe.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},a))}function j0(e){return oe.matchAll(/\w+|\[(\w*)]/g,e).map(a=>a[0]==="[]"?"":a[1]||a[0])}function q0(e){const a={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],a[i]=e[i];return a}function ui(e){function a(n,r,o,i){let l=n[i++];if(l==="__proto__")return!0;const s=Number.isFinite(+l),d=i>=n.length;return l=!l&&oe.isArray(o)?o.length:l,d?(oe.hasOwnProp(o,l)?o[l]=[o[l],r]:o[l]=r,!s):((!o[l]||!oe.isObject(o[l]))&&(o[l]=[]),a(n,r,o[l],i)&&oe.isArray(o[l])&&(o[l]=q0(o[l])),!s)}if(oe.isFormData(e)&&oe.isFunction(e.entries)){const n={};return oe.forEachEntry(e,(r,o)=>{a(j0(r),o,n,0)}),n}return null}function W0(e,a,n){if(oe.isString(e))try{return(a||JSON.parse)(e),oe.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const an={transitional:di,adapter:["xhr","http","fetch"],transformRequest:[function(a,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,i=oe.isObject(a);if(i&&oe.isHTMLForm(a)&&(a=new FormData(a)),oe.isFormData(a))return o?JSON.stringify(ui(a)):a;if(oe.isArrayBuffer(a)||oe.isBuffer(a)||oe.isStream(a)||oe.isFile(a)||oe.isBlob(a)||oe.isReadableStream(a))return a;if(oe.isArrayBufferView(a))return a.buffer;if(oe.isURLSearchParams(a))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),a.toString();let s;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return G0(a,this.formSerializer).toString();if((s=oe.isFileList(a))||r.indexOf("multipart/form-data")>-1){const d=this.env&&this.env.FormData;return Nn(s?{"files[]":a}:a,d&&new d,this.formSerializer)}}return i||o?(n.setContentType("application/json",!1),W0(a)):a}],transformResponse:[function(a){const n=this.transitional||an.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(oe.isResponse(a)||oe.isReadableStream(a))return a;if(a&&oe.isString(a)&&(r&&!this.responseType||o)){const l=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(a)}catch(s){if(l)throw s.name==="SyntaxError"?Te.from(s,Te.ERR_BAD_RESPONSE,this,null,this.response):s}}return a}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:gt.classes.FormData,Blob:gt.classes.Blob},validateStatus:function(a){return a>=200&&a<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};oe.forEach(["delete","get","head","post","put","patch"],e=>{an.headers[e]={}});const Y0=oe.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),U0=e=>{const a={};let n,r,o;return e&&e.split(`
|
|
2
|
-
`).forEach(function(
|
|
3
|
-
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(a){return a instanceof this?a:new this(a)}static concat(a,...n){const r=new this(a);return n.forEach(o=>r.set(o)),r}static accessor(a){const r=(this[mi]=this[mi]={accessors:{}}).accessors,o=this.prototype;function i(l){const s=nn(l);r[s]||(K0(o,l),r[s]=!0)}return oe.isArray(a)?a.forEach(i):i(a),this}};Bt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),oe.reduceDescriptors(Bt.prototype,({value:e},a)=>{let n=a[0].toUpperCase()+a.slice(1);return{get:()=>e,set(r){this[n]=r}}}),oe.freezeMethods(Bt);function wr(e,a){const n=this||an,r=a||n,o=Bt.from(r.headers);let i=r.data;return oe.forEach(e,function(s){i=s.call(n,i,o.normalize(),a?a.status:void 0)}),o.normalize(),i}function fi(e){return!!(e&&e.__CANCEL__)}function Pa(e,a,n){Te.call(this,e??"canceled",Te.ERR_CANCELED,a,n),this.name="CanceledError"}oe.inherits(Pa,Te,{__CANCEL__:!0});function hi(e,a,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):a(new Te("Request failed with status code "+n.status,[Te.ERR_BAD_REQUEST,Te.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function J0(e){const a=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return a&&a[1]||""}function ec(e,a){e=e||10;const n=new Array(e),r=new Array(e);let o=0,i=0,l;return a=a!==void 0?a:1e3,function(d){const p=Date.now(),f=r[i];l||(l=p),n[o]=d,r[o]=p;let h=i,c=0;for(;h!==o;)c+=n[h++],h=h%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),p-l<a)return;const m=f&&p-f;return m?Math.round(c*1e3/m):void 0}}function tc(e,a){let n=0,r=1e3/a,o,i;const l=(p,f=Date.now())=>{n=f,o=null,i&&(clearTimeout(i),i=null),e.apply(null,p)};return[(...p)=>{const f=Date.now(),h=f-n;h>=r?l(p,f):(o=p,i||(i=setTimeout(()=>{i=null,l(o)},r-h)))},()=>o&&l(o)]}const Tn=(e,a,n=3)=>{let r=0;const o=ec(50,250);return tc(i=>{const l=i.loaded,s=i.lengthComputable?i.total:void 0,d=l-r,p=o(d),f=l<=s;r=l;const h={loaded:l,total:s,progress:s?l/s:void 0,bytes:d,rate:p||void 0,estimated:p&&s&&f?(s-l)/p:void 0,event:i,lengthComputable:s!=null,[a?"download":"upload"]:!0};e(h)},n)},pi=(e,a)=>{const n=e!=null;return[r=>a[0]({lengthComputable:n,total:e,loaded:r}),a[1]]},gi=e=>(...a)=>oe.asap(()=>e(...a)),ac=gt.hasStandardBrowserEnv?((e,a)=>n=>(n=new URL(n,gt.origin),e.protocol===n.protocol&&e.host===n.host&&(a||e.port===n.port)))(new URL(gt.origin),gt.navigator&&/(msie|trident)/i.test(gt.navigator.userAgent)):()=>!0,nc=gt.hasStandardBrowserEnv?{write(e,a,n,r,o,i){const l=[e+"="+encodeURIComponent(a)];oe.isNumber(n)&&l.push("expires="+new Date(n).toGMTString()),oe.isString(r)&&l.push("path="+r),oe.isString(o)&&l.push("domain="+o),i===!0&&l.push("secure"),document.cookie=l.join("; ")},read(e){const a=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return a?decodeURIComponent(a[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function rc(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function oc(e,a){return a?e.replace(/\/?\/$/,"")+"/"+a.replace(/^\/+/,""):e}function yi(e,a,n){let r=!rc(a);return e&&(r||n==!1)?oc(e,a):a}const ki=e=>e instanceof Bt?{...e}:e;function va(e,a){a=a||{};const n={};function r(p,f,h,c){return oe.isPlainObject(p)&&oe.isPlainObject(f)?oe.merge.call({caseless:c},p,f):oe.isPlainObject(f)?oe.merge({},f):oe.isArray(f)?f.slice():f}function o(p,f,h,c){if(oe.isUndefined(f)){if(!oe.isUndefined(p))return r(void 0,p,h,c)}else return r(p,f,h,c)}function i(p,f){if(!oe.isUndefined(f))return r(void 0,f)}function l(p,f){if(oe.isUndefined(f)){if(!oe.isUndefined(p))return r(void 0,p)}else return r(void 0,f)}function s(p,f,h){if(h in a)return r(p,f);if(h in e)return r(void 0,p)}const d={url:i,method:i,data:i,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,withXSRFToken:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,beforeRedirect:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,responseEncoding:l,validateStatus:s,headers:(p,f,h)=>o(ki(p),ki(f),h,!0)};return oe.forEach(Object.keys(Object.assign({},e,a)),function(f){const h=d[f]||o,c=h(e[f],a[f],f);oe.isUndefined(c)&&h!==s||(n[f]=c)}),n}const xi=e=>{const a=va({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:i,headers:l,auth:s}=a;a.headers=l=Bt.from(l),a.url=si(yi(a.baseURL,a.url,a.allowAbsoluteUrls),e.params,e.paramsSerializer),s&&l.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let d;if(oe.isFormData(n)){if(gt.hasStandardBrowserEnv||gt.hasStandardBrowserWebWorkerEnv)l.setContentType(void 0);else if((d=l.getContentType())!==!1){const[p,...f]=d?d.split(";").map(h=>h.trim()).filter(Boolean):[];l.setContentType([p||"multipart/form-data",...f].join("; "))}}if(gt.hasStandardBrowserEnv&&(r&&oe.isFunction(r)&&(r=r(a)),r||r!==!1&&ac(a.url))){const p=o&&i&&nc.read(i);p&&l.set(o,p)}return a},ic=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(n,r){const o=xi(e);let i=o.data;const l=Bt.from(o.headers).normalize();let{responseType:s,onUploadProgress:d,onDownloadProgress:p}=o,f,h,c,m,u;function y(){m&&m(),u&&u(),o.cancelToken&&o.cancelToken.unsubscribe(f),o.signal&&o.signal.removeEventListener("abort",f)}let b=new XMLHttpRequest;b.open(o.method.toUpperCase(),o.url,!0),b.timeout=o.timeout;function x(){if(!b)return;const k=Bt.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders()),A={data:!s||s==="text"||s==="json"?b.responseText:b.response,status:b.status,statusText:b.statusText,headers:k,config:e,request:b};hi(function(V){n(V),y()},function(V){r(V),y()},A),b=null}"onloadend"in b?b.onloadend=x:b.onreadystatechange=function(){!b||b.readyState!==4||b.status===0&&!(b.responseURL&&b.responseURL.indexOf("file:")===0)||setTimeout(x)},b.onabort=function(){b&&(r(new Te("Request aborted",Te.ECONNABORTED,e,b)),b=null)},b.onerror=function(){r(new Te("Network Error",Te.ERR_NETWORK,e,b)),b=null},b.ontimeout=function(){let B=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const A=o.transitional||di;o.timeoutErrorMessage&&(B=o.timeoutErrorMessage),r(new Te(B,A.clarifyTimeoutError?Te.ETIMEDOUT:Te.ECONNABORTED,e,b)),b=null},i===void 0&&l.setContentType(null),"setRequestHeader"in b&&oe.forEach(l.toJSON(),function(B,A){b.setRequestHeader(A,B)}),oe.isUndefined(o.withCredentials)||(b.withCredentials=!!o.withCredentials),s&&s!=="json"&&(b.responseType=o.responseType),p&&([c,u]=Tn(p,!0),b.addEventListener("progress",c)),d&&b.upload&&([h,m]=Tn(d),b.upload.addEventListener("progress",h),b.upload.addEventListener("loadend",m)),(o.cancelToken||o.signal)&&(f=k=>{b&&(r(!k||k.type?new Pa(null,e,b):k),b.abort(),b=null)},o.cancelToken&&o.cancelToken.subscribe(f),o.signal&&(o.signal.aborted?f():o.signal.addEventListener("abort",f)));const w=J0(o.url);if(w&>.protocols.indexOf(w)===-1){r(new Te("Unsupported protocol "+w+":",Te.ERR_BAD_REQUEST,e));return}b.send(i||null)})},lc=(e,a)=>{const{length:n}=e=e?e.filter(Boolean):[];if(a||n){let r=new AbortController,o;const i=function(p){if(!o){o=!0,s();const f=p instanceof Error?p:this.reason;r.abort(f instanceof Te?f:new Pa(f instanceof Error?f.message:f))}};let l=a&&setTimeout(()=>{l=null,i(new Te(`timeout ${a} of ms exceeded`,Te.ETIMEDOUT))},a);const s=()=>{e&&(l&&clearTimeout(l),l=null,e.forEach(p=>{p.unsubscribe?p.unsubscribe(i):p.removeEventListener("abort",i)}),e=null)};e.forEach(p=>p.addEventListener("abort",i));const{signal:d}=r;return d.unsubscribe=()=>oe.asap(s),d}},sc=function*(e,a){let n=e.byteLength;if(n<a){yield e;return}let r=0,o;for(;r<n;)o=r+a,yield e.slice(r,o),r=o},cc=async function*(e,a){for await(const n of dc(e))yield*sc(n,a)},dc=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const a=e.getReader();try{for(;;){const{done:n,value:r}=await a.read();if(n)break;yield r}}finally{await a.cancel()}},bi=(e,a,n,r)=>{const o=cc(e,a);let i=0,l,s=d=>{l||(l=!0,r&&r(d))};return new ReadableStream({async pull(d){try{const{done:p,value:f}=await o.next();if(p){s(),d.close();return}let h=f.byteLength;if(n){let c=i+=h;n(c)}d.enqueue(new Uint8Array(f))}catch(p){throw s(p),p}},cancel(d){return s(d),o.return()}},{highWaterMark:2})},Pn=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",wi=Pn&&typeof ReadableStream=="function",uc=Pn&&(typeof TextEncoder=="function"?(e=>a=>e.encode(a))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),vi=(e,...a)=>{try{return!!e(...a)}catch{return!1}},mc=wi&&vi(()=>{let e=!1;const a=new Request(gt.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!a}),Ei=64*1024,vr=wi&&vi(()=>oe.isReadableStream(new Response("").body)),On={stream:vr&&(e=>e.body)};Pn&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(a=>{!On[a]&&(On[a]=oe.isFunction(e[a])?n=>n[a]():(n,r)=>{throw new Te(`Response type '${a}' is not supported`,Te.ERR_NOT_SUPPORT,r)})})})(new Response);const fc=async e=>{if(e==null)return 0;if(oe.isBlob(e))return e.size;if(oe.isSpecCompliantForm(e))return(await new Request(gt.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(oe.isArrayBufferView(e)||oe.isArrayBuffer(e))return e.byteLength;if(oe.isURLSearchParams(e)&&(e=e+""),oe.isString(e))return(await uc(e)).byteLength},hc=async(e,a)=>{const n=oe.toFiniteNumber(e.getContentLength());return n??fc(a)},Er={http:O0,xhr:ic,fetch:Pn&&(async e=>{let{url:a,method:n,data:r,signal:o,cancelToken:i,timeout:l,onDownloadProgress:s,onUploadProgress:d,responseType:p,headers:f,withCredentials:h="same-origin",fetchOptions:c}=xi(e);p=p?(p+"").toLowerCase():"text";let m=lc([o,i&&i.toAbortSignal()],l),u;const y=m&&m.unsubscribe&&(()=>{m.unsubscribe()});let b;try{if(d&&mc&&n!=="get"&&n!=="head"&&(b=await hc(f,r))!==0){let A=new Request(a,{method:"POST",body:r,duplex:"half"}),D;if(oe.isFormData(r)&&(D=A.headers.get("content-type"))&&f.setContentType(D),A.body){const[V,C]=pi(b,Tn(gi(d)));r=bi(A.body,Ei,V,C)}}oe.isString(h)||(h=h?"include":"omit");const x="credentials"in Request.prototype;u=new Request(a,{...c,signal:m,method:n.toUpperCase(),headers:f.normalize().toJSON(),body:r,duplex:"half",credentials:x?h:void 0});let w=await fetch(u,c);const k=vr&&(p==="stream"||p==="response");if(vr&&(s||k&&y)){const A={};["status","statusText","headers"].forEach(M=>{A[M]=w[M]});const D=oe.toFiniteNumber(w.headers.get("content-length")),[V,C]=s&&pi(D,Tn(gi(s),!0))||[];w=new Response(bi(w.body,Ei,V,()=>{C&&C(),y&&y()}),A)}p=p||"text";let B=await On[oe.findKey(On,p)||"text"](w,e);return!k&&y&&y(),await new Promise((A,D)=>{hi(A,D,{data:B,headers:Bt.from(w.headers),status:w.status,statusText:w.statusText,config:e,request:u})})}catch(x){throw y&&y(),x&&x.name==="TypeError"&&/Load failed|fetch/i.test(x.message)?Object.assign(new Te("Network Error",Te.ERR_NETWORK,e,u),{cause:x.cause||x}):Te.from(x,x&&x.code,e,u)}})};oe.forEach(Er,(e,a)=>{if(e){try{Object.defineProperty(e,"name",{value:a})}catch{}Object.defineProperty(e,"adapterName",{value:a})}});const Ci=e=>`- ${e}`,pc=e=>oe.isFunction(e)||e===null||e===!1,Si={getAdapter:e=>{e=oe.isArray(e)?e:[e];const{length:a}=e;let n,r;const o={};for(let i=0;i<a;i++){n=e[i];let l;if(r=n,!pc(n)&&(r=Er[(l=String(n)).toLowerCase()],r===void 0))throw new Te(`Unknown adapter '${l}'`);if(r)break;o[l||"#"+i]=r}if(!r){const i=Object.entries(o).map(([s,d])=>`adapter ${s} `+(d===!1?"is not supported by the environment":"is not available in the build"));let l=a?i.length>1?`since :
|
|
4
|
-
`+i.map(
|
|
5
|
-
`):" "+
|
|
6
|
-
`+i):r.stack=i}catch{}}throw r}}_request(a,n){typeof a=="string"?(n=n||{},n.url=a):n=a||{},n=va(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:i}=n;r!==void 0&&Ln.assertOptions(r,{silentJSONParsing:It.transitional(It.boolean),forcedJSONParsing:It.transitional(It.boolean),clarifyTimeoutError:It.transitional(It.boolean)},!1),o!=null&&(oe.isFunction(o)?n.paramsSerializer={serialize:o}:Ln.assertOptions(o,{encode:It.function,serialize:It.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Ln.assertOptions(n,{baseUrl:It.spelling("baseURL"),withXsrfToken:It.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let l=i&&oe.merge(i.common,i[n.method]);i&&oe.forEach(["delete","get","head","post","put","patch","common"],u=>{delete i[u]}),n.headers=Bt.concat(l,i);const s=[];let d=!0;this.interceptors.request.forEach(function(y){typeof y.runWhen=="function"&&y.runWhen(n)===!1||(d=d&&y.synchronous,s.unshift(y.fulfilled,y.rejected))});const p=[];this.interceptors.response.forEach(function(y){p.push(y.fulfilled,y.rejected)});let f,h=0,c;if(!d){const u=[Mi.bind(this),void 0];for(u.unshift.apply(u,s),u.push.apply(u,p),c=u.length,f=Promise.resolve(n);h<c;)f=f.then(u[h++],u[h++]);return f}c=s.length;let m=n;for(h=0;h<c;){const u=s[h++],y=s[h++];try{m=u(m)}catch(b){y.call(this,b);break}}try{f=Mi.call(this,m)}catch(u){return Promise.reject(u)}for(h=0,c=p.length;h<c;)f=f.then(p[h++],p[h++]);return f}getUri(a){a=va(this.defaults,a);const n=yi(a.baseURL,a.url,a.allowAbsoluteUrls);return si(n,a.params,a.paramsSerializer)}};oe.forEach(["delete","get","head","options"],function(a){Ea.prototype[a]=function(n,r){return this.request(va(r||{},{method:a,url:n,data:(r||{}).data}))}}),oe.forEach(["post","put","patch"],function(a){function n(r){return function(i,l,s){return this.request(va(s||{},{method:a,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:l}))}}Ea.prototype[a]=n(),Ea.prototype[a+"Form"]=n(!0)});let yc=class M1{constructor(a){if(typeof a!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(o=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](o);r._listeners=null}),this.promise.then=o=>{let i;const l=new Promise(s=>{r.subscribe(s),i=s}).then(o);return l.cancel=function(){r.unsubscribe(i)},l},a(function(i,l,s){r.reason||(r.reason=new Pa(i,l,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(a){if(this.reason){a(this.reason);return}this._listeners?this._listeners.push(a):this._listeners=[a]}unsubscribe(a){if(!this._listeners)return;const n=this._listeners.indexOf(a);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const a=new AbortController,n=r=>{a.abort(r)};return this.subscribe(n),a.signal.unsubscribe=()=>this.unsubscribe(n),a.signal}static source(){let a;return{token:new M1(function(o){a=o}),cancel:a}}};function kc(e){return function(n){return e.apply(null,n)}}function xc(e){return oe.isObject(e)&&e.isAxiosError===!0}const Sr={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Sr).forEach(([e,a])=>{Sr[a]=e});function Vi(e){const a=new Ea(e),n=Yo(Ea.prototype.request,a);return oe.extend(n,Ea.prototype,a,{allOwnKeys:!0}),oe.extend(n,a,null,{allOwnKeys:!0}),n.create=function(o){return Vi(va(e,o))},n}const Qe=Vi(an);Qe.Axios=Ea,Qe.CanceledError=Pa,Qe.CancelToken=yc,Qe.isCancel=fi,Qe.VERSION=Bi,Qe.toFormData=Nn,Qe.AxiosError=Te,Qe.Cancel=Qe.CanceledError,Qe.all=function(a){return Promise.all(a)},Qe.spread=kc,Qe.isAxiosError=xc,Qe.mergeConfig=va,Qe.AxiosHeaders=Bt,Qe.formToJSON=e=>ui(oe.isHTMLForm(e)?new FormData(e):e),Qe.getAdapter=Si.getAdapter,Qe.HttpStatusCode=Sr,Qe.default=Qe;const{Axios:bw,AxiosError:ww,CanceledError:vw,isCancel:Ew,CancelToken:Cw,VERSION:Sw,all:Mw,Cancel:Bw,isAxiosError:Aw,spread:Vw,toFormData:_w,AxiosHeaders:Nw,HttpStatusCode:Dw,formToJSON:Tw,getAdapter:Pw,mergeConfig:Ow}=Qe,_i=zt.defineStore("auth",{state:()=>({jwtToken:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzQwMDY5MzIyLCJpYXQiOjE3Mzk5ODI5MjIsImp0aSI6IjcyZjcxYjgzY2I5YTQ1MWFhMmYyODQ0OTlmZGFkZWIxIiwidXNlcl9pZCI6ImU4YTAwNWZhLTk0YjUtNDRiOC05ZDkwLWZjNzJmYzI0NjRhOSJ9.IOzqjqDpRRfqsvqhzEsGDLhQOKWapjzFycNG3Qv8k0U"}),actions:{setToken(e){this.jwtToken=e},clearToken(){this.jwtToken=null}},getters:{getToken:e=>e.jwtToken}}),na=Qe.create({baseURL:"https://back.dev-smclick.com.br/"});na.interceptors.request.use(e=>{const n=_i().getToken;return n&&(e.headers.Authorization=`Bearer ${n}`),e},e=>Promise.reject(e));const bc="v1/api/attendances/attendant/",wc="v1/api/attendances/department/",Mr="v1/api/attendances/internal_chat/",vc="v1/api/instances/instance/",Br=zt.defineStore("instance",{state:()=>({instances:[],count:null,loaded:!1}),actions:{async fetchInstances(e=""){try{let a=`${vc}`;const n=await na.get(a);this.instances=n.data,await Promise.all(this.instances.map(async r=>{r.isLoading=!0;try{const o=r.last_instance_status;o==="DISCONNECTED"||o==="UNDEFINED"?r.status=!1:r.status=!0}catch(o){console.log(o),r.status="Offline"}r.isLoading=!1})),this.count=this.instances.length,this.loaded=!0}catch(a){console.log("Erro ao buscar instâncias:",a),this.loaded=!0}},removeInstance(e){this.instances=this.instances.filter(a=>a.id!==e),this.count=this.instances.length},addInstance(e){const a=this.instances.findIndex(n=>n.id===e.id);a!==-1?this.instances[a]=e:this.instances.push(e),this.count=this.instances.length}}}),Ec={class:"w-full relative text-current"},Cc={class:"flex cursor-pointer justify-between items-center"},Sc={key:0},Mc={key:0},Bc={key:1,class:"flex items-center gap-2"},Ac={class:"flex gap-3 items-center flex-shrink-0"},Vc={key:0,xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",class:"w-5 h-5 text-green-400",viewBox:"0 0 16 16"},_c={key:1,class:"relative"},Nc={style:{color:"#0081FB"},xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",class:"w-5 h-5 absolute -bottom-2 -right-2 rounded-full bi bi-meta",viewBox:"0 0 16 16"},Dc={class:"my-auto text-center mx-auto group-hover:inline-block"},Tc={key:1,class:"flex justify-center"},Pc={class:"w-full"},Oc={key:1,class:"flex items-center gap-2 justify-center"},Fc={class:"flex px-4 items-center gap-2"},Lc={key:0,class:"absolute top-[48px] w-full z-20 text-sm"},$c={class:"gap-2 rounded-b-lg flex overflow-y-auto p-2 shadow shadow-black dark:shadow-gray-400 bg-base-300 max-h-[200px] flex-col"},Hc={class:"select-none cursor-pointer w-full"},Rc=["onClick","disabled"],zc={class:"flex w-full items-center pl-2 gap-3"},Ic={key:0,xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",class:"w-4 h-4 flex-shrink-0 text-green-400",viewBox:"0 0 16 16"},Gc={key:1,class:"relative"},jc={style:{color:"#0081FB"},xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",class:"w-4 h-4 absolute flex-shrink-0 -bottom-2 -right-2 rounded-full bi bi-meta",viewBox:"0 0 16 16"},qc={key:0,class:"w-6 h-6 flex-shrink-0","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},Wc={class:"w-full text-center"},Yc={class:"my-auto text-center mx-auto group-hover:inline-block"},Uc={key:1,class:"flex justify-center"},Xc={class:"flex min-w-[50px] text-sm text-center items-center my-auto flex-shrink-0 px-1 justify-center"},Zc={key:1,class:"p-4"},Ni={__name:"index",props:{modelValue:{type:Object,default:null},type:{type:String},webhooks:{type:Boolean,default:void 0}},emits:["update:modelValue","function","component-mounted"],setup(e,{emit:a}){const n=Br(),r=t.ref(!1),o=t.ref(null),i=e,l=a;function s(d){o.value=d,l("function",d)}return t.watch(()=>i.modelValue,d=>{o.value=d},{immediate:!0}),t.watch(o,d=>{l("update:modelValue",d)}),t.onMounted(async()=>{if(o.value){const d=n.instances.find(p=>p.id===o.value.id);d&&(o.value.status=d.status)}l("component-mounted")}),(d,p)=>{const f=t.resolveComponent("Popper");return t.openBlock(),t.createElementBlock("main",Ec,[t.createElementVNode("div",{class:t.normalizeClass([{"rounded-b-none":r.value},"rounded-lg shadow dark:shadow-gray-400 shadow-gray-900 dark:bg-base-100 bg-base-100 text-center"])},[t.createElementVNode("div",Cc,[t.createElementVNode("p",{onClick:p[0]||(p[0]=h=>r.value=!r.value),class:"w-full p-3 px-4 select-none"},[t.unref(n).loaded?(t.openBlock(),t.createElementBlock("div",Sc,[o.value?(t.openBlock(),t.createElementBlock("span",Bc,[t.createElementVNode("header",Ac,[o.value.type==="whatsapp-qrcode"?(t.openBlock(),t.createElementBlock("svg",Vc,p[3]||(p[3]=[t.createElementVNode("path",{d:"M13.601 2.326A7.854 7.854 0 0 0 7.994 0C3.627 0 .068 3.558.064 7.926c0 1.399.366 2.76 1.057 3.965L0 16l4.204-1.102a7.933 7.933 0 0 0 3.79.965h.004c4.368 0 7.926-3.558 7.93-7.93A7.898 7.898 0 0 0 13.6 2.326zM7.994 14.521a6.573 6.573 0 0 1-3.356-.92l-.24-.144-2.494.654.666-2.433-.156-.251a6.56 6.56 0 0 1-1.007-3.505c0-3.626 2.957-6.584 6.591-6.584a6.56 6.56 0 0 1 4.66 1.931 6.557 6.557 0 0 1 1.928 4.66c-.004 3.639-2.961 6.592-6.592 6.592zm3.615-4.934c-.197-.099-1.17-.578-1.353-.646-.182-.065-.315-.099-.445.099-.133.197-.513.646-.627.775-.114.133-.232.148-.43.05-.197-.1-.836-.308-1.592-.985-.59-.525-.985-1.175-1.103-1.372-.114-.198-.011-.304.088-.403.087-.088.197-.232.296-.346.1-.114.133-.198.198-.33.065-.134.034-.248-.015-.347-.05-.099-.445-1.076-.612-1.47-.16-.389-.323-.335-.445-.34-.114-.007-.247-.007-.38-.007a.729.729 0 0 0-.529.247c-.182.198-.691.677-.691 1.654 0 .977.71 1.916.81 2.049.098.133 1.394 2.132 3.383 2.992.47.205.84.326 1.129.418.475.152.904.129 1.246.08.38-.058 1.171-.48 1.338-.943.164-.464.164-.86.114-.943-.049-.084-.182-.133-.38-.232z"},null,-1)]))):o.value.type==="whatsapp-api-official"?(t.openBlock(),t.createElementBlock("div",_c,[p[5]||(p[5]=t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",class:"w-5 h-5 text-green-400",viewBox:"0 0 16 16"},[t.createElementVNode("path",{d:"M13.601 2.326A7.854 7.854 0 0 0 7.994 0C3.627 0 .068 3.558.064 7.926c0 1.399.366 2.76 1.057 3.965L0 16l4.204-1.102a7.933 7.933 0 0 0 3.79.965h.004c4.368 0 7.926-3.558 7.93-7.93A7.898 7.898 0 0 0 13.6 2.326zM7.994 14.521a6.573 6.573 0 0 1-3.356-.92l-.24-.144-2.494.654.666-2.433-.156-.251a6.56 6.56 0 0 1-1.007-3.505c0-3.626 2.957-6.584 6.591-6.584a6.56 6.56 0 0 1 4.66 1.931 6.557 6.557 0 0 1 1.928 4.66c-.004 3.639-2.961 6.592-6.592 6.592zm3.615-4.934c-.197-.099-1.17-.578-1.353-.646-.182-.065-.315-.099-.445.099-.133.197-.513.646-.627.775-.114.133-.232.148-.43.05-.197-.1-.836-.308-1.592-.985-.59-.525-.985-1.175-1.103-1.372-.114-.198-.011-.304.088-.403.087-.088.197-.232.296-.346.1-.114.133-.198.198-.33.065-.134.034-.248-.015-.347-.05-.099-.445-1.076-.612-1.47-.16-.389-.323-.335-.445-.34-.114-.007-.247-.007-.38-.007a.729.729 0 0 0-.529.247c-.182.198-.691.677-.691 1.654 0 .977.71 1.916.81 2.049.098.133 1.394 2.132 3.383 2.992.47.205.84.326 1.129.418.475.152.904.129 1.246.08.38-.058 1.171-.48 1.338-.943.164-.464.164-.86.114-.943-.049-.084-.182-.133-.38-.232z"})],-1)),(t.openBlock(),t.createElementBlock("svg",Nc,p[4]||(p[4]=[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M8.217 5.243C9.145 3.988 10.171 3 11.483 3 13.96 3 16 6.153 16.001 9.907c0 2.29-.986 3.725-2.757 3.725-1.543 0-2.395-.866-3.924-3.424l-.667-1.123-.118-.197a54.944 54.944 0 0 0-.53-.877l-1.178 2.08c-1.673 2.925-2.615 3.541-3.923 3.541C1.086 13.632 0 12.217 0 9.973 0 6.388 1.995 3 4.598 3c.319 0 .625.039.924.122.31.086.611.22.913.407.577.359 1.154.915 1.782 1.714Zm1.516 2.224c-.252-.41-.494-.787-.727-1.133L9 6.326c.845-1.305 1.543-1.954 2.372-1.954 1.723 0 3.102 2.537 3.102 5.653 0 1.188-.39 1.877-1.195 1.877-.773 0-1.142-.51-2.61-2.87l-.937-1.565ZM4.846 4.756c.725.1 1.385.634 2.34 2.001A212.13 212.13 0 0 0 5.551 9.3c-1.357 2.126-1.826 2.603-2.581 2.603-.777 0-1.24-.682-1.24-1.9 0-2.602 1.298-5.264 2.846-5.264.091 0 .181.006.27.018Z"},null,-1)])))])):t.createCommentVNode("",!0),o.value&&o.value.status!==void 0?(t.openBlock(),t.createBlock(f,{key:2,class:"dark:popper-light popper-dark",hover:!0,placement:"top"},{content:t.withCtx(()=>[t.createElementVNode("main",{class:t.normalizeClass(["p-1 rounded text-sm px-3",{"bg-red-500":o.value.status===!1,"bg-green-500":o.value.status===!0,"bg-purple-500":o.value.status==="Offline"}])},[t.createElementVNode("div",Dc,t.toDisplayString(o.value.status===!0?"Conectada":o.value.status===!1?"Desconectada":"Indefinida"),1)],2)]),default:t.withCtx(()=>[o.value.isLoading?(t.openBlock(),t.createElementBlock("div",Tc,p[6]||(p[6]=[t.createElementVNode("div",{class:"h-5 w-5 border-t-transparent border-solid animate-spin rounded-full border-white border-4"},null,-1)]))):(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass([{"bg-red-500":o.value.status===!1,"bg-green-500":o.value.status===!0,"bg-purple-500":o.value.status==="Offline"},"text-xs w-5 h-5 py-1 shadow flex justify-start shadow-gray-900 dark:shadow-gray-400 rounded-full cursor-pointer transition-all duration-200 ease-in-out"])},null,2))]),_:1})):t.createCommentVNode("",!0)]),t.createElementVNode("div",Pc,t.toDisplayString(o.value.name),1)])):(t.openBlock(),t.createElementBlock("span",Mc,t.toDisplayString(t.unref(n).instances?t.unref(n).instances.length:"Sem")+" Instâncias disponíveis",1))])):(t.openBlock(),t.createElementBlock("div",Oc,p[7]||(p[7]=[t.createElementVNode("svg",{"aria-hidden":"true",class:"inline w-5 h-5 text-blue-300 animate-spin fill-gray-600",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),t.createElementVNode("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})],-1),t.createTextVNode("Inicializando instâncias...")])))]),t.createElementVNode("footer",Fc,[t.createElementVNode("button",{onClick:p[1]||(p[1]=h=>(o.value=null,r.value=!1))},p[8]||(p[8]=[t.createElementVNode("svg",{class:"w-4 h-4","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},[t.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18 17.94 6M18 18 6.06 6"})],-1)])),t.createElementVNode("button",{onClick:p[2]||(p[2]=h=>r.value=!r.value)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass([{"rotate-180":r.value},"w-4 h-4 ease-out transition"]),"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},p[9]||(p[9]=[t.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m19 9-7 7-7-7"},null,-1)]),2))])])])],2),r.value?(t.openBlock(),t.createElementBlock("nav",Lc,[t.createElementVNode("ul",$c,[t.unref(n).instances.length>0?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(t.unref(n).instances,(h,c)=>(t.openBlock(),t.createElementBlock("li",Hc,[t.createElementVNode("button",{class:t.normalizeClass([o.value&&o.value.id===h.id?"bg-base-100":"bg-base-200 hover:bg-base-100","flex rounded-md justify-between items-center p-2 px-1 w-full"]),onClick:m=>(o.value=h,r.value=!1,s(h)),disabled:o.value&&o.value.id===h.id||e.type&&h.type!==e.type||e.webhooks!==void 0&&e.webhooks!==h.webhooks},[t.createElementVNode("div",zc,[h.type==="whatsapp-qrcode"?(t.openBlock(),t.createElementBlock("svg",Ic,p[10]||(p[10]=[t.createElementVNode("path",{d:"M13.601 2.326A7.854 7.854 0 0 0 7.994 0C3.627 0 .068 3.558.064 7.926c0 1.399.366 2.76 1.057 3.965L0 16l4.204-1.102a7.933 7.933 0 0 0 3.79.965h.004c4.368 0 7.926-3.558 7.93-7.93A7.898 7.898 0 0 0 13.6 2.326zM7.994 14.521a6.573 6.573 0 0 1-3.356-.92l-.24-.144-2.494.654.666-2.433-.156-.251a6.56 6.56 0 0 1-1.007-3.505c0-3.626 2.957-6.584 6.591-6.584a6.56 6.56 0 0 1 4.66 1.931 6.557 6.557 0 0 1 1.928 4.66c-.004 3.639-2.961 6.592-6.592 6.592zm3.615-4.934c-.197-.099-1.17-.578-1.353-.646-.182-.065-.315-.099-.445.099-.133.197-.513.646-.627.775-.114.133-.232.148-.43.05-.197-.1-.836-.308-1.592-.985-.59-.525-.985-1.175-1.103-1.372-.114-.198-.011-.304.088-.403.087-.088.197-.232.296-.346.1-.114.133-.198.198-.33.065-.134.034-.248-.015-.347-.05-.099-.445-1.076-.612-1.47-.16-.389-.323-.335-.445-.34-.114-.007-.247-.007-.38-.007a.729.729 0 0 0-.529.247c-.182.198-.691.677-.691 1.654 0 .977.71 1.916.81 2.049.098.133 1.394 2.132 3.383 2.992.47.205.84.326 1.129.418.475.152.904.129 1.246.08.38-.058 1.171-.48 1.338-.943.164-.464.164-.86.114-.943-.049-.084-.182-.133-.38-.232z"},null,-1)]))):h.type==="whatsapp-api-official"?(t.openBlock(),t.createElementBlock("div",Gc,[p[12]||(p[12]=t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",class:"w-4 h-4 flex-shrink-0 text-green-400",viewBox:"0 0 16 16"},[t.createElementVNode("path",{d:"M13.601 2.326A7.854 7.854 0 0 0 7.994 0C3.627 0 .068 3.558.064 7.926c0 1.399.366 2.76 1.057 3.965L0 16l4.204-1.102a7.933 7.933 0 0 0 3.79.965h.004c4.368 0 7.926-3.558 7.93-7.93A7.898 7.898 0 0 0 13.6 2.326zM7.994 14.521a6.573 6.573 0 0 1-3.356-.92l-.24-.144-2.494.654.666-2.433-.156-.251a6.56 6.56 0 0 1-1.007-3.505c0-3.626 2.957-6.584 6.591-6.584a6.56 6.56 0 0 1 4.66 1.931 6.557 6.557 0 0 1 1.928 4.66c-.004 3.639-2.961 6.592-6.592 6.592zm3.615-4.934c-.197-.099-1.17-.578-1.353-.646-.182-.065-.315-.099-.445.099-.133.197-.513.646-.627.775-.114.133-.232.148-.43.05-.197-.1-.836-.308-1.592-.985-.59-.525-.985-1.175-1.103-1.372-.114-.198-.011-.304.088-.403.087-.088.197-.232.296-.346.1-.114.133-.198.198-.33.065-.134.034-.248-.015-.347-.05-.099-.445-1.076-.612-1.47-.16-.389-.323-.335-.445-.34-.114-.007-.247-.007-.38-.007a.729.729 0 0 0-.529.247c-.182.198-.691.677-.691 1.654 0 .977.71 1.916.81 2.049.098.133 1.394 2.132 3.383 2.992.47.205.84.326 1.129.418.475.152.904.129 1.246.08.38-.058 1.171-.48 1.338-.943.164-.464.164-.86.114-.943-.049-.084-.182-.133-.38-.232z"})],-1)),(t.openBlock(),t.createElementBlock("svg",jc,p[11]||(p[11]=[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M8.217 5.243C9.145 3.988 10.171 3 11.483 3 13.96 3 16 6.153 16.001 9.907c0 2.29-.986 3.725-2.757 3.725-1.543 0-2.395-.866-3.924-3.424l-.667-1.123-.118-.197a54.944 54.944 0 0 0-.53-.877l-1.178 2.08c-1.673 2.925-2.615 3.541-3.923 3.541C1.086 13.632 0 12.217 0 9.973 0 6.388 1.995 3 4.598 3c.319 0 .625.039.924.122.31.086.611.22.913.407.577.359 1.154.915 1.782 1.714Zm1.516 2.224c-.252-.41-.494-.787-.727-1.133L9 6.326c.845-1.305 1.543-1.954 2.372-1.954 1.723 0 3.102 2.537 3.102 5.653 0 1.188-.39 1.877-1.195 1.877-.773 0-1.142-.51-2.61-2.87l-.937-1.565ZM4.846 4.756c.725.1 1.385.634 2.34 2.001A212.13 212.13 0 0 0 5.551 9.3c-1.357 2.126-1.826 2.603-2.581 2.603-.777 0-1.24-.682-1.24-1.9 0-2.602 1.298-5.264 2.846-5.264.091 0 .181.006.27.018Z"},null,-1)])))])):t.createCommentVNode("",!0),t.createVNode(f,{class:"dark:popper-light popper-dark",hover:!0,placement:"top"},{content:t.withCtx(()=>[t.createElementVNode("span",null,t.toDisplayString(e.type&&h.type!==e.type?"Não é possível utilizar esse tipo de Instância neste recurso":e.webhooks===!0?"Essa instância está com o Atendimento desabilitado":"Essa aplicação é somente para instâncias sem atendimento habilitado."),1)]),default:t.withCtx(()=>[e.type&&h.type!==e.type||e.webhooks!==void 0&&e.webhooks!==h.webhooks?(t.openBlock(),t.createElementBlock("svg",qc,p[13]||(p[13]=[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M8 10V7a4 4 0 1 1 8 0v3h1a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h1Zm2-3a2 2 0 1 1 4 0v3h-4V7Zm2 6a1 1 0 0 1 1 1v3a1 1 0 1 1-2 0v-3a1 1 0 0 1 1-1Z","clip-rule":"evenodd"},null,-1)]))):t.createCommentVNode("",!0)]),_:2},1024),t.createElementVNode("p",Wc,t.toDisplayString(h.name),1),t.createVNode(f,{class:"dark:popper-light popper-dark",hover:!0,placement:"top"},{content:t.withCtx(()=>[t.createElementVNode("main",{class:t.normalizeClass(["p-1 rounded px-3",{"bg-red-500":h.status===!1,"bg-green-500":h.status===!0,"bg-purple-500":h.status==="Offline"}])},[t.createElementVNode("div",Yc,t.toDisplayString(h.status===!0?"Conectada":h.status===!1?"Desconectada":"Indefinida"),1)],2)]),default:t.withCtx(()=>[h.isLoading?(t.openBlock(),t.createElementBlock("div",Uc,p[14]||(p[14]=[t.createElementVNode("div",{class:"h-5 w-5 border-t-transparent border-solid animate-spin rounded-full border-white border-4"},null,-1)]))):(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass([{"bg-red-500":h.status===!1,"bg-green-500":h.status===!0,"bg-purple-500":h.status==="Offline"},"text-xs w-5 h-5 py-1 shadow flex justify-start shadow-gray-900 dark:shadow-gray-400 rounded-full cursor-pointer transition-all duration-200 ease-in-out"])},null,2))]),_:2},1024)]),t.createElementVNode("div",Xc,[h.telephone?(t.openBlock(),t.createBlock(f,{key:0,class:"dark:popper-light popper-dark",hover:!0,placement:"top"},{content:t.withCtx(()=>[t.createElementVNode("div",null,t.toDisplayString(h.telephone?`${h.telephone}`:""),1)]),default:t.withCtx(()=>[p[15]||(p[15]=t.createElementVNode("svg",{class:"w-6 h-6","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{d:"M7.978 4a2.553 2.553 0 0 0-1.926.877C4.233 6.7 3.699 8.751 4.153 10.814c.44 1.995 1.778 3.893 3.456 5.572 1.68 1.679 3.577 3.018 5.57 3.459 2.062.456 4.115-.073 5.94-1.885a2.556 2.556 0 0 0 .001-3.861l-1.21-1.21a2.689 2.689 0 0 0-3.802 0l-.617.618a.806.806 0 0 1-1.14 0l-1.854-1.855a.807.807 0 0 1 0-1.14l.618-.62a2.692 2.692 0 0 0 0-3.803l-1.21-1.211A2.555 2.555 0 0 0 7.978 4Z"})],-1))]),_:2,__:[15]},1024)):t.createCommentVNode("",!0)])],10,Rc)]))),256)):(t.openBlock(),t.createElementBlock("div",Zc," Sem instâncias disponíveis"))])])):t.createCommentVNode("",!0)])}}};function Ce(e){const a=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&a==="[object Date]"?new e.constructor(+e):typeof e=="number"||a==="[object Number]"||typeof e=="string"||a==="[object String]"?new Date(e):new Date(NaN)}function He(e,a){return e instanceof Date?new e.constructor(a):new Date(a)}function Ot(e,a){const n=Ce(e);return isNaN(a)?He(e,NaN):(a&&n.setDate(n.getDate()+a),n)}function Ft(e,a){const n=Ce(e);if(isNaN(a))return He(e,NaN);if(!a)return n;const r=n.getDate(),o=He(e,n.getTime());o.setMonth(n.getMonth()+a+1,0);const i=o.getDate();return r>=i?o:(n.setFullYear(o.getFullYear(),o.getMonth(),r),n)}function Di(e,a){const{years:n=0,months:r=0,weeks:o=0,days:i=0,hours:l=0,minutes:s=0,seconds:d=0}=a,p=Ce(e),f=r||n?Ft(p,r+n*12):p,h=i||o?Ot(f,i+o*7):f,c=s+l*60,u=(d+c*60)*1e3;return He(e,h.getTime()+u)}function Qc(e,a){const n=+Ce(e);return He(e,n+a)}const Ti=6048e5,Kc=864e5,Jc=6e4,Pi=36e5,e2=1e3;function t2(e,a){return Qc(e,a*Pi)}let a2={};function Ca(){return a2}function Lt(e,a){var s,d,p,f;const n=Ca(),r=(a==null?void 0:a.weekStartsOn)??((d=(s=a==null?void 0:a.locale)==null?void 0:s.options)==null?void 0:d.weekStartsOn)??n.weekStartsOn??((f=(p=n.locale)==null?void 0:p.options)==null?void 0:f.weekStartsOn)??0,o=Ce(e),i=o.getDay(),l=(i<r?7:0)+i-r;return o.setDate(o.getDate()-l),o.setHours(0,0,0,0),o}function Oa(e){return Lt(e,{weekStartsOn:1})}function Oi(e){const a=Ce(e),n=a.getFullYear(),r=He(e,0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);const o=Oa(r),i=He(e,0);i.setFullYear(n,0,4),i.setHours(0,0,0,0);const l=Oa(i);return a.getTime()>=o.getTime()?n+1:a.getTime()>=l.getTime()?n:n-1}function Fi(e){const a=Ce(e);return a.setHours(0,0,0,0),a}function $n(e){const a=Ce(e),n=new Date(Date.UTC(a.getFullYear(),a.getMonth(),a.getDate(),a.getHours(),a.getMinutes(),a.getSeconds(),a.getMilliseconds()));return n.setUTCFullYear(a.getFullYear()),+e-+n}function Li(e,a){const n=Fi(e),r=Fi(a),o=+n-$n(n),i=+r-$n(r);return Math.round((o-i)/Kc)}function n2(e){const a=Oi(e),n=He(e,0);return n.setFullYear(a,0,4),n.setHours(0,0,0,0),Oa(n)}function r2(e,a){const n=a*3;return Ft(e,n)}function Ar(e,a){return Ft(e,a*12)}function $i(e,a){const n=Ce(e),r=Ce(a),o=n.getTime()-r.getTime();return o<0?-1:o>0?1:o}function Hi(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function rn(e){if(!Hi(e)&&typeof e!="number")return!1;const a=Ce(e);return!isNaN(Number(a))}function Ri(e){const a=Ce(e);return Math.trunc(a.getMonth()/3)+1}function o2(e,a){const n=Ce(e),r=Ce(a);return n.getFullYear()-r.getFullYear()}function i2(e,a){const n=Ce(e),r=Ce(a),o=$i(n,r),i=Math.abs(o2(n,r));n.setFullYear(1584),r.setFullYear(1584);const l=$i(n,r)===-o,s=o*(i-+l);return s===0?0:s}function zi(e,a){const n=Ce(e.start),r=Ce(e.end);let o=+n>+r;const i=o?+n:+r,l=o?r:n;l.setHours(0,0,0,0);let s=1;const d=[];for(;+l<=i;)d.push(Ce(l)),l.setDate(l.getDate()+s),l.setHours(0,0,0,0);return o?d.reverse():d}function Sa(e){const a=Ce(e),n=a.getMonth(),r=n-n%3;return a.setMonth(r,1),a.setHours(0,0,0,0),a}function l2(e,a){const n=Ce(e.start),r=Ce(e.end);let o=+n>+r;const i=o?+Sa(n):+Sa(r);let l=Sa(o?r:n),s=1;const d=[];for(;+l<=i;)d.push(Ce(l)),l=r2(l,s);return o?d.reverse():d}function s2(e){const a=Ce(e);return a.setDate(1),a.setHours(0,0,0,0),a}function Ii(e){const a=Ce(e),n=a.getFullYear();return a.setFullYear(n+1,0,0),a.setHours(23,59,59,999),a}function on(e){const a=Ce(e),n=He(e,0);return n.setFullYear(a.getFullYear(),0,1),n.setHours(0,0,0,0),n}function Gi(e,a){var s,d,p,f;const n=Ca(),r=(a==null?void 0:a.weekStartsOn)??((d=(s=a==null?void 0:a.locale)==null?void 0:s.options)==null?void 0:d.weekStartsOn)??n.weekStartsOn??((f=(p=n.locale)==null?void 0:p.options)==null?void 0:f.weekStartsOn)??0,o=Ce(e),i=o.getDay(),l=(i<r?-7:0)+6-(i-r);return o.setDate(o.getDate()+l),o.setHours(23,59,59,999),o}function ji(e){const a=Ce(e),n=a.getMonth(),r=n-n%3+3;return a.setMonth(r,0),a.setHours(23,59,59,999),a}const c2={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},d2=(e,a,n)=>{let r;const o=c2[e];return typeof o=="string"?r=o:a===1?r=o.one:r=o.other.replace("{{count}}",a.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function Vr(e){return(a={})=>{const n=a.width?String(a.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const u2={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},m2={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},f2={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},h2={date:Vr({formats:u2,defaultWidth:"full"}),time:Vr({formats:m2,defaultWidth:"full"}),dateTime:Vr({formats:f2,defaultWidth:"full"})},p2={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},g2=(e,a,n,r)=>p2[e];function ln(e){return(a,n)=>{const r=n!=null&&n.context?String(n.context):"standalone";let o;if(r==="formatting"&&e.formattingValues){const l=e.defaultFormattingWidth||e.defaultWidth,s=n!=null&&n.width?String(n.width):l;o=e.formattingValues[s]||e.formattingValues[l]}else{const l=e.defaultWidth,s=n!=null&&n.width?String(n.width):e.defaultWidth;o=e.values[s]||e.values[l]}const i=e.argumentCallback?e.argumentCallback(a):a;return o[i]}}const y2={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},k2={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},x2={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},b2={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},w2={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},v2={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},E2={ordinalNumber:(e,a)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:ln({values:y2,defaultWidth:"wide"}),quarter:ln({values:k2,defaultWidth:"wide",argumentCallback:e=>e-1}),month:ln({values:x2,defaultWidth:"wide"}),day:ln({values:b2,defaultWidth:"wide"}),dayPeriod:ln({values:w2,defaultWidth:"wide",formattingValues:v2,defaultFormattingWidth:"wide"})};function sn(e){return(a,n={})=>{const r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=a.match(o);if(!i)return null;const l=i[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],d=Array.isArray(s)?S2(s,h=>h.test(l)):C2(s,h=>h.test(l));let p;p=e.valueCallback?e.valueCallback(d):d,p=n.valueCallback?n.valueCallback(p):p;const f=a.slice(l.length);return{value:p,rest:f}}}function C2(e,a){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&a(e[n]))return n}function S2(e,a){for(let n=0;n<e.length;n++)if(a(e[n]))return n}function M2(e){return(a,n={})=>{const r=a.match(e.matchPattern);if(!r)return null;const o=r[0],i=a.match(e.parsePattern);if(!i)return null;let l=e.valueCallback?e.valueCallback(i[0]):i[0];l=n.valueCallback?n.valueCallback(l):l;const s=a.slice(o.length);return{value:l,rest:s}}}const B2=/^(\d+)(th|st|nd|rd)?/i,A2=/\d+/i,V2={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},_2={any:[/^b/i,/^(a|c)/i]},N2={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},D2={any:[/1/i,/2/i,/3/i,/4/i]},T2={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},P2={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},O2={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},F2={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},L2={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},$2={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},H2={ordinalNumber:M2({matchPattern:B2,parsePattern:A2,valueCallback:e=>parseInt(e,10)}),era:sn({matchPatterns:V2,defaultMatchWidth:"wide",parsePatterns:_2,defaultParseWidth:"any"}),quarter:sn({matchPatterns:N2,defaultMatchWidth:"wide",parsePatterns:D2,defaultParseWidth:"any",valueCallback:e=>e+1}),month:sn({matchPatterns:T2,defaultMatchWidth:"wide",parsePatterns:P2,defaultParseWidth:"any"}),day:sn({matchPatterns:O2,defaultMatchWidth:"wide",parsePatterns:F2,defaultParseWidth:"any"}),dayPeriod:sn({matchPatterns:L2,defaultMatchWidth:"any",parsePatterns:$2,defaultParseWidth:"any"})},qi={code:"en-US",formatDistance:d2,formatLong:h2,formatRelative:g2,localize:E2,match:H2,options:{weekStartsOn:0,firstWeekContainsDate:1}};function R2(e){const a=Ce(e);return Li(a,on(a))+1}function _r(e){const a=Ce(e),n=+Oa(a)-+n2(a);return Math.round(n/Ti)+1}function Nr(e,a){var f,h,c,m;const n=Ce(e),r=n.getFullYear(),o=Ca(),i=(a==null?void 0:a.firstWeekContainsDate)??((h=(f=a==null?void 0:a.locale)==null?void 0:f.options)==null?void 0:h.firstWeekContainsDate)??o.firstWeekContainsDate??((m=(c=o.locale)==null?void 0:c.options)==null?void 0:m.firstWeekContainsDate)??1,l=He(e,0);l.setFullYear(r+1,0,i),l.setHours(0,0,0,0);const s=Lt(l,a),d=He(e,0);d.setFullYear(r,0,i),d.setHours(0,0,0,0);const p=Lt(d,a);return n.getTime()>=s.getTime()?r+1:n.getTime()>=p.getTime()?r:r-1}function z2(e,a){var s,d,p,f;const n=Ca(),r=(a==null?void 0:a.firstWeekContainsDate)??((d=(s=a==null?void 0:a.locale)==null?void 0:s.options)==null?void 0:d.firstWeekContainsDate)??n.firstWeekContainsDate??((f=(p=n.locale)==null?void 0:p.options)==null?void 0:f.firstWeekContainsDate)??1,o=Nr(e,a),i=He(e,0);return i.setFullYear(o,0,r),i.setHours(0,0,0,0),Lt(i,a)}function Dr(e,a){const n=Ce(e),r=+Lt(n,a)-+z2(n,a);return Math.round(r/Ti)+1}function Ie(e,a){const n=e<0?"-":"",r=Math.abs(e).toString().padStart(a,"0");return n+r}const ra={y(e,a){const n=e.getFullYear(),r=n>0?n:1-n;return Ie(a==="yy"?r%100:r,a.length)},M(e,a){const n=e.getMonth();return a==="M"?String(n+1):Ie(n+1,2)},d(e,a){return Ie(e.getDate(),a.length)},a(e,a){const n=e.getHours()/12>=1?"pm":"am";switch(a){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,a){return Ie(e.getHours()%12||12,a.length)},H(e,a){return Ie(e.getHours(),a.length)},m(e,a){return Ie(e.getMinutes(),a.length)},s(e,a){return Ie(e.getSeconds(),a.length)},S(e,a){const n=a.length,r=e.getMilliseconds(),o=Math.trunc(r*Math.pow(10,n-3));return Ie(o,a.length)}},Fa={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Wi={G:function(e,a,n){const r=e.getFullYear()>0?1:0;switch(a){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(e,a,n){if(a==="yo"){const r=e.getFullYear(),o=r>0?r:1-r;return n.ordinalNumber(o,{unit:"year"})}return ra.y(e,a)},Y:function(e,a,n,r){const o=Nr(e,r),i=o>0?o:1-o;if(a==="YY"){const l=i%100;return Ie(l,2)}return a==="Yo"?n.ordinalNumber(i,{unit:"year"}):Ie(i,a.length)},R:function(e,a){const n=Oi(e);return Ie(n,a.length)},u:function(e,a){const n=e.getFullYear();return Ie(n,a.length)},Q:function(e,a,n){const r=Math.ceil((e.getMonth()+1)/3);switch(a){case"Q":return String(r);case"QQ":return Ie(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,a,n){const r=Math.ceil((e.getMonth()+1)/3);switch(a){case"q":return String(r);case"qq":return Ie(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,a,n){const r=e.getMonth();switch(a){case"M":case"MM":return ra.M(e,a);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,a,n){const r=e.getMonth();switch(a){case"L":return String(r+1);case"LL":return Ie(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,a,n,r){const o=Dr(e,r);return a==="wo"?n.ordinalNumber(o,{unit:"week"}):Ie(o,a.length)},I:function(e,a,n){const r=_r(e);return a==="Io"?n.ordinalNumber(r,{unit:"week"}):Ie(r,a.length)},d:function(e,a,n){return a==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):ra.d(e,a)},D:function(e,a,n){const r=R2(e);return a==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):Ie(r,a.length)},E:function(e,a,n){const r=e.getDay();switch(a){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,a,n,r){const o=e.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(a){case"e":return String(i);case"ee":return Ie(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});case"eeee":default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,a,n,r){const o=e.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(a){case"c":return String(i);case"cc":return Ie(i,a.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});case"cccc":default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,a,n){const r=e.getDay(),o=r===0?7:r;switch(a){case"i":return String(o);case"ii":return Ie(o,a.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,a,n){const o=e.getHours()/12>=1?"pm":"am";switch(a){case"a":case"aa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,a,n){const r=e.getHours();let o;switch(r===12?o=Fa.noon:r===0?o=Fa.midnight:o=r/12>=1?"pm":"am",a){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,a,n){const r=e.getHours();let o;switch(r>=17?o=Fa.evening:r>=12?o=Fa.afternoon:r>=4?o=Fa.morning:o=Fa.night,a){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,a,n){if(a==="ho"){let r=e.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return ra.h(e,a)},H:function(e,a,n){return a==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):ra.H(e,a)},K:function(e,a,n){const r=e.getHours()%12;return a==="Ko"?n.ordinalNumber(r,{unit:"hour"}):Ie(r,a.length)},k:function(e,a,n){let r=e.getHours();return r===0&&(r=24),a==="ko"?n.ordinalNumber(r,{unit:"hour"}):Ie(r,a.length)},m:function(e,a,n){return a==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):ra.m(e,a)},s:function(e,a,n){return a==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):ra.s(e,a)},S:function(e,a){return ra.S(e,a)},X:function(e,a,n){const r=e.getTimezoneOffset();if(r===0)return"Z";switch(a){case"X":return Ui(r);case"XXXX":case"XX":return Ma(r);case"XXXXX":case"XXX":default:return Ma(r,":")}},x:function(e,a,n){const r=e.getTimezoneOffset();switch(a){case"x":return Ui(r);case"xxxx":case"xx":return Ma(r);case"xxxxx":case"xxx":default:return Ma(r,":")}},O:function(e,a,n){const r=e.getTimezoneOffset();switch(a){case"O":case"OO":case"OOO":return"GMT"+Yi(r,":");case"OOOO":default:return"GMT"+Ma(r,":")}},z:function(e,a,n){const r=e.getTimezoneOffset();switch(a){case"z":case"zz":case"zzz":return"GMT"+Yi(r,":");case"zzzz":default:return"GMT"+Ma(r,":")}},t:function(e,a,n){const r=Math.trunc(e.getTime()/1e3);return Ie(r,a.length)},T:function(e,a,n){const r=e.getTime();return Ie(r,a.length)}};function Yi(e,a=""){const n=e>0?"-":"+",r=Math.abs(e),o=Math.trunc(r/60),i=r%60;return i===0?n+String(o):n+String(o)+a+Ie(i,2)}function Ui(e,a){return e%60===0?(e>0?"-":"+")+Ie(Math.abs(e)/60,2):Ma(e,a)}function Ma(e,a=""){const n=e>0?"-":"+",r=Math.abs(e),o=Ie(Math.trunc(r/60),2),i=Ie(r%60,2);return n+o+a+i}const Xi=(e,a)=>{switch(e){case"P":return a.date({width:"short"});case"PP":return a.date({width:"medium"});case"PPP":return a.date({width:"long"});case"PPPP":default:return a.date({width:"full"})}},Zi=(e,a)=>{switch(e){case"p":return a.time({width:"short"});case"pp":return a.time({width:"medium"});case"ppp":return a.time({width:"long"});case"pppp":default:return a.time({width:"full"})}},Tr={p:Zi,P:(e,a)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],o=n[2];if(!o)return Xi(e,a);let i;switch(r){case"P":i=a.dateTime({width:"short"});break;case"PP":i=a.dateTime({width:"medium"});break;case"PPP":i=a.dateTime({width:"long"});break;case"PPPP":default:i=a.dateTime({width:"full"});break}return i.replace("{{date}}",Xi(r,a)).replace("{{time}}",Zi(o,a))}},I2=/^D+$/,G2=/^Y+$/,j2=["D","DD","YY","YYYY"];function Qi(e){return I2.test(e)}function Ki(e){return G2.test(e)}function Pr(e,a,n){const r=q2(e,a,n);if(console.warn(r),j2.includes(e))throw new RangeError(r)}function q2(e,a,n){const r=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${a}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const W2=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Y2=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,U2=/^'([^]*?)'?$/,X2=/''/g,Z2=/[a-zA-Z]/;function Gt(e,a,n){var f,h,c,m,u,y,b,x;const r=Ca(),o=(n==null?void 0:n.locale)??r.locale??qi,i=(n==null?void 0:n.firstWeekContainsDate)??((h=(f=n==null?void 0:n.locale)==null?void 0:f.options)==null?void 0:h.firstWeekContainsDate)??r.firstWeekContainsDate??((m=(c=r.locale)==null?void 0:c.options)==null?void 0:m.firstWeekContainsDate)??1,l=(n==null?void 0:n.weekStartsOn)??((y=(u=n==null?void 0:n.locale)==null?void 0:u.options)==null?void 0:y.weekStartsOn)??r.weekStartsOn??((x=(b=r.locale)==null?void 0:b.options)==null?void 0:x.weekStartsOn)??0,s=Ce(e);if(!rn(s))throw new RangeError("Invalid time value");let d=a.match(Y2).map(w=>{const k=w[0];if(k==="p"||k==="P"){const B=Tr[k];return B(w,o.formatLong)}return w}).join("").match(W2).map(w=>{if(w==="''")return{isToken:!1,value:"'"};const k=w[0];if(k==="'")return{isToken:!1,value:Q2(w)};if(Wi[k])return{isToken:!0,value:w};if(k.match(Z2))throw new RangeError("Format string contains an unescaped latin alphabet character `"+k+"`");return{isToken:!1,value:w}});o.localize.preprocessor&&(d=o.localize.preprocessor(s,d));const p={firstWeekContainsDate:i,weekStartsOn:l,locale:o};return d.map(w=>{if(!w.isToken)return w.value;const k=w.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&Ki(k)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&Qi(k))&&Pr(k,a,String(e));const B=Wi[k[0]];return B(s,k,o.localize,p)}).join("")}function Q2(e){const a=e.match(U2);return a?a[1].replace(X2,"'"):e}function K2(e){return Ce(e).getDay()}function J2(e){const a=Ce(e),n=a.getFullYear(),r=a.getMonth(),o=He(e,0);return o.setFullYear(n,r+1,0),o.setHours(0,0,0,0),o.getDate()}function ed(){return Object.assign({},Ca())}function Zt(e){return Ce(e).getHours()}function td(e){let n=Ce(e).getDay();return n===0&&(n=7),n}function oa(e){return Ce(e).getMinutes()}function Oe(e){return Ce(e).getMonth()}function La(e){return Ce(e).getSeconds()}function Ve(e){return Ce(e).getFullYear()}function $a(e,a){const n=Ce(e),r=Ce(a);return n.getTime()>r.getTime()}function cn(e,a){const n=Ce(e),r=Ce(a);return+n<+r}function Ha(e,a){const n=Ce(e),r=Ce(a);return+n==+r}function ad(e,a){const n=a instanceof Date?He(a,0):new a(0);return n.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),n}const nd=10;class Ji{constructor(){ve(this,"subPriority",0)}validate(a,n){return!0}}class rd extends Ji{constructor(a,n,r,o,i){super(),this.value=a,this.validateValue=n,this.setValue=r,this.priority=o,i&&(this.subPriority=i)}validate(a,n){return this.validateValue(a,this.value,n)}set(a,n,r){return this.setValue(a,n,this.value,r)}}class od extends Ji{constructor(){super(...arguments);ve(this,"priority",nd);ve(this,"subPriority",-1)}set(n,r){return r.timestampIsSet?n:He(n,ad(n,Date))}}class Re{run(a,n,r,o){const i=this.parse(a,n,r,o);return i?{setter:new rd(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(a,n,r){return!0}}class id extends Re{constructor(){super(...arguments);ve(this,"priority",140);ve(this,"incompatibleTokens",["R","u","t","T"])}parse(n,r,o){switch(r){case"G":case"GG":case"GGG":return o.era(n,{width:"abbreviated"})||o.era(n,{width:"narrow"});case"GGGGG":return o.era(n,{width:"narrow"});case"GGGG":default:return o.era(n,{width:"wide"})||o.era(n,{width:"abbreviated"})||o.era(n,{width:"narrow"})}}set(n,r,o){return r.era=o,n.setFullYear(o,0,1),n.setHours(0,0,0,0),n}}const rt={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},jt={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function ot(e,a){return e&&{value:a(e.value),rest:e.rest}}function Ke(e,a){const n=a.match(e);return n?{value:parseInt(n[0],10),rest:a.slice(n[0].length)}:null}function qt(e,a){const n=a.match(e);if(!n)return null;if(n[0]==="Z")return{value:0,rest:a.slice(1)};const r=n[1]==="+"?1:-1,o=n[2]?parseInt(n[2],10):0,i=n[3]?parseInt(n[3],10):0,l=n[5]?parseInt(n[5],10):0;return{value:r*(o*Pi+i*Jc+l*e2),rest:a.slice(n[0].length)}}function el(e){return Ke(rt.anyDigitsSigned,e)}function et(e,a){switch(e){case 1:return Ke(rt.singleDigit,a);case 2:return Ke(rt.twoDigits,a);case 3:return Ke(rt.threeDigits,a);case 4:return Ke(rt.fourDigits,a);default:return Ke(new RegExp("^\\d{1,"+e+"}"),a)}}function Hn(e,a){switch(e){case 1:return Ke(rt.singleDigitSigned,a);case 2:return Ke(rt.twoDigitsSigned,a);case 3:return Ke(rt.threeDigitsSigned,a);case 4:return Ke(rt.fourDigitsSigned,a);default:return Ke(new RegExp("^-?\\d{1,"+e+"}"),a)}}function Or(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function tl(e,a){const n=a>0,r=n?a:1-a;let o;if(r<=50)o=e||100;else{const i=r+50,l=Math.trunc(i/100)*100,s=e>=i%100;o=e+l-(s?100:0)}return n?o:1-o}function al(e){return e%400===0||e%4===0&&e%100!==0}class ld extends Re{constructor(){super(...arguments);ve(this,"priority",130);ve(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(n,r,o){const i=l=>({year:l,isTwoDigitYear:r==="yy"});switch(r){case"y":return ot(et(4,n),i);case"yo":return ot(o.ordinalNumber(n,{unit:"year"}),i);default:return ot(et(r.length,n),i)}}validate(n,r){return r.isTwoDigitYear||r.year>0}set(n,r,o){const i=n.getFullYear();if(o.isTwoDigitYear){const s=tl(o.year,i);return n.setFullYear(s,0,1),n.setHours(0,0,0,0),n}const l=!("era"in r)||r.era===1?o.year:1-o.year;return n.setFullYear(l,0,1),n.setHours(0,0,0,0),n}}class sd extends Re{constructor(){super(...arguments);ve(this,"priority",130);ve(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(n,r,o){const i=l=>({year:l,isTwoDigitYear:r==="YY"});switch(r){case"Y":return ot(et(4,n),i);case"Yo":return ot(o.ordinalNumber(n,{unit:"year"}),i);default:return ot(et(r.length,n),i)}}validate(n,r){return r.isTwoDigitYear||r.year>0}set(n,r,o,i){const l=Nr(n,i);if(o.isTwoDigitYear){const d=tl(o.year,l);return n.setFullYear(d,0,i.firstWeekContainsDate),n.setHours(0,0,0,0),Lt(n,i)}const s=!("era"in r)||r.era===1?o.year:1-o.year;return n.setFullYear(s,0,i.firstWeekContainsDate),n.setHours(0,0,0,0),Lt(n,i)}}class cd extends Re{constructor(){super(...arguments);ve(this,"priority",130);ve(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(n,r){return Hn(r==="R"?4:r.length,n)}set(n,r,o){const i=He(n,0);return i.setFullYear(o,0,4),i.setHours(0,0,0,0),Oa(i)}}class dd extends Re{constructor(){super(...arguments);ve(this,"priority",130);ve(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(n,r){return Hn(r==="u"?4:r.length,n)}set(n,r,o){return n.setFullYear(o,0,1),n.setHours(0,0,0,0),n}}class ud extends Re{constructor(){super(...arguments);ve(this,"priority",120);ve(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(n,r,o){switch(r){case"Q":case"QQ":return et(r.length,n);case"Qo":return o.ordinalNumber(n,{unit:"quarter"});case"QQQ":return o.quarter(n,{width:"abbreviated",context:"formatting"})||o.quarter(n,{width:"narrow",context:"formatting"});case"QQQQQ":return o.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return o.quarter(n,{width:"wide",context:"formatting"})||o.quarter(n,{width:"abbreviated",context:"formatting"})||o.quarter(n,{width:"narrow",context:"formatting"})}}validate(n,r){return r>=1&&r<=4}set(n,r,o){return n.setMonth((o-1)*3,1),n.setHours(0,0,0,0),n}}class md extends Re{constructor(){super(...arguments);ve(this,"priority",120);ve(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(n,r,o){switch(r){case"q":case"qq":return et(r.length,n);case"qo":return o.ordinalNumber(n,{unit:"quarter"});case"qqq":return o.quarter(n,{width:"abbreviated",context:"standalone"})||o.quarter(n,{width:"narrow",context:"standalone"});case"qqqqq":return o.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return o.quarter(n,{width:"wide",context:"standalone"})||o.quarter(n,{width:"abbreviated",context:"standalone"})||o.quarter(n,{width:"narrow",context:"standalone"})}}validate(n,r){return r>=1&&r<=4}set(n,r,o){return n.setMonth((o-1)*3,1),n.setHours(0,0,0,0),n}}class fd extends Re{constructor(){super(...arguments);ve(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);ve(this,"priority",110)}parse(n,r,o){const i=l=>l-1;switch(r){case"M":return ot(Ke(rt.month,n),i);case"MM":return ot(et(2,n),i);case"Mo":return ot(o.ordinalNumber(n,{unit:"month"}),i);case"MMM":return o.month(n,{width:"abbreviated",context:"formatting"})||o.month(n,{width:"narrow",context:"formatting"});case"MMMMM":return o.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return o.month(n,{width:"wide",context:"formatting"})||o.month(n,{width:"abbreviated",context:"formatting"})||o.month(n,{width:"narrow",context:"formatting"})}}validate(n,r){return r>=0&&r<=11}set(n,r,o){return n.setMonth(o,1),n.setHours(0,0,0,0),n}}class hd extends Re{constructor(){super(...arguments);ve(this,"priority",110);ve(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(n,r,o){const i=l=>l-1;switch(r){case"L":return ot(Ke(rt.month,n),i);case"LL":return ot(et(2,n),i);case"Lo":return ot(o.ordinalNumber(n,{unit:"month"}),i);case"LLL":return o.month(n,{width:"abbreviated",context:"standalone"})||o.month(n,{width:"narrow",context:"standalone"});case"LLLLL":return o.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return o.month(n,{width:"wide",context:"standalone"})||o.month(n,{width:"abbreviated",context:"standalone"})||o.month(n,{width:"narrow",context:"standalone"})}}validate(n,r){return r>=0&&r<=11}set(n,r,o){return n.setMonth(o,1),n.setHours(0,0,0,0),n}}function pd(e,a,n){const r=Ce(e),o=Dr(r,n)-a;return r.setDate(r.getDate()-o*7),r}class gd extends Re{constructor(){super(...arguments);ve(this,"priority",100);ve(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(n,r,o){switch(r){case"w":return Ke(rt.week,n);case"wo":return o.ordinalNumber(n,{unit:"week"});default:return et(r.length,n)}}validate(n,r){return r>=1&&r<=53}set(n,r,o,i){return Lt(pd(n,o,i),i)}}function yd(e,a){const n=Ce(e),r=_r(n)-a;return n.setDate(n.getDate()-r*7),n}class kd extends Re{constructor(){super(...arguments);ve(this,"priority",100);ve(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(n,r,o){switch(r){case"I":return Ke(rt.week,n);case"Io":return o.ordinalNumber(n,{unit:"week"});default:return et(r.length,n)}}validate(n,r){return r>=1&&r<=53}set(n,r,o){return Oa(yd(n,o))}}const xd=[31,28,31,30,31,30,31,31,30,31,30,31],bd=[31,29,31,30,31,30,31,31,30,31,30,31];class wd extends Re{constructor(){super(...arguments);ve(this,"priority",90);ve(this,"subPriority",1);ve(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(n,r,o){switch(r){case"d":return Ke(rt.date,n);case"do":return o.ordinalNumber(n,{unit:"date"});default:return et(r.length,n)}}validate(n,r){const o=n.getFullYear(),i=al(o),l=n.getMonth();return i?r>=1&&r<=bd[l]:r>=1&&r<=xd[l]}set(n,r,o){return n.setDate(o),n.setHours(0,0,0,0),n}}class vd extends Re{constructor(){super(...arguments);ve(this,"priority",90);ve(this,"subpriority",1);ve(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(n,r,o){switch(r){case"D":case"DD":return Ke(rt.dayOfYear,n);case"Do":return o.ordinalNumber(n,{unit:"date"});default:return et(r.length,n)}}validate(n,r){const o=n.getFullYear();return al(o)?r>=1&&r<=366:r>=1&&r<=365}set(n,r,o){return n.setMonth(0,o),n.setHours(0,0,0,0),n}}function Fr(e,a,n){var h,c,m,u;const r=Ca(),o=(n==null?void 0:n.weekStartsOn)??((c=(h=n==null?void 0:n.locale)==null?void 0:h.options)==null?void 0:c.weekStartsOn)??r.weekStartsOn??((u=(m=r.locale)==null?void 0:m.options)==null?void 0:u.weekStartsOn)??0,i=Ce(e),l=i.getDay(),d=(a%7+7)%7,p=7-o,f=a<0||a>6?a-(l+p)%7:(d+p)%7-(l+p)%7;return Ot(i,f)}class Ed extends Re{constructor(){super(...arguments);ve(this,"priority",90);ve(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(n,r,o){switch(r){case"E":case"EE":case"EEE":return o.day(n,{width:"abbreviated",context:"formatting"})||o.day(n,{width:"short",context:"formatting"})||o.day(n,{width:"narrow",context:"formatting"});case"EEEEE":return o.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return o.day(n,{width:"short",context:"formatting"})||o.day(n,{width:"narrow",context:"formatting"});case"EEEE":default:return o.day(n,{width:"wide",context:"formatting"})||o.day(n,{width:"abbreviated",context:"formatting"})||o.day(n,{width:"short",context:"formatting"})||o.day(n,{width:"narrow",context:"formatting"})}}validate(n,r){return r>=0&&r<=6}set(n,r,o,i){return n=Fr(n,o,i),n.setHours(0,0,0,0),n}}class Cd extends Re{constructor(){super(...arguments);ve(this,"priority",90);ve(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(n,r,o,i){const l=s=>{const d=Math.floor((s-1)/7)*7;return(s+i.weekStartsOn+6)%7+d};switch(r){case"e":case"ee":return ot(et(r.length,n),l);case"eo":return ot(o.ordinalNumber(n,{unit:"day"}),l);case"eee":return o.day(n,{width:"abbreviated",context:"formatting"})||o.day(n,{width:"short",context:"formatting"})||o.day(n,{width:"narrow",context:"formatting"});case"eeeee":return o.day(n,{width:"narrow",context:"formatting"});case"eeeeee":return o.day(n,{width:"short",context:"formatting"})||o.day(n,{width:"narrow",context:"formatting"});case"eeee":default:return o.day(n,{width:"wide",context:"formatting"})||o.day(n,{width:"abbreviated",context:"formatting"})||o.day(n,{width:"short",context:"formatting"})||o.day(n,{width:"narrow",context:"formatting"})}}validate(n,r){return r>=0&&r<=6}set(n,r,o,i){return n=Fr(n,o,i),n.setHours(0,0,0,0),n}}class Sd extends Re{constructor(){super(...arguments);ve(this,"priority",90);ve(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(n,r,o,i){const l=s=>{const d=Math.floor((s-1)/7)*7;return(s+i.weekStartsOn+6)%7+d};switch(r){case"c":case"cc":return ot(et(r.length,n),l);case"co":return ot(o.ordinalNumber(n,{unit:"day"}),l);case"ccc":return o.day(n,{width:"abbreviated",context:"standalone"})||o.day(n,{width:"short",context:"standalone"})||o.day(n,{width:"narrow",context:"standalone"});case"ccccc":return o.day(n,{width:"narrow",context:"standalone"});case"cccccc":return o.day(n,{width:"short",context:"standalone"})||o.day(n,{width:"narrow",context:"standalone"});case"cccc":default:return o.day(n,{width:"wide",context:"standalone"})||o.day(n,{width:"abbreviated",context:"standalone"})||o.day(n,{width:"short",context:"standalone"})||o.day(n,{width:"narrow",context:"standalone"})}}validate(n,r){return r>=0&&r<=6}set(n,r,o,i){return n=Fr(n,o,i),n.setHours(0,0,0,0),n}}function Md(e,a){const n=Ce(e),r=td(n),o=a-r;return Ot(n,o)}class Bd extends Re{constructor(){super(...arguments);ve(this,"priority",90);ve(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(n,r,o){const i=l=>l===0?7:l;switch(r){case"i":case"ii":return et(r.length,n);case"io":return o.ordinalNumber(n,{unit:"day"});case"iii":return ot(o.day(n,{width:"abbreviated",context:"formatting"})||o.day(n,{width:"short",context:"formatting"})||o.day(n,{width:"narrow",context:"formatting"}),i);case"iiiii":return ot(o.day(n,{width:"narrow",context:"formatting"}),i);case"iiiiii":return ot(o.day(n,{width:"short",context:"formatting"})||o.day(n,{width:"narrow",context:"formatting"}),i);case"iiii":default:return ot(o.day(n,{width:"wide",context:"formatting"})||o.day(n,{width:"abbreviated",context:"formatting"})||o.day(n,{width:"short",context:"formatting"})||o.day(n,{width:"narrow",context:"formatting"}),i)}}validate(n,r){return r>=1&&r<=7}set(n,r,o){return n=Md(n,o),n.setHours(0,0,0,0),n}}class Ad extends Re{constructor(){super(...arguments);ve(this,"priority",80);ve(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(n,r,o){switch(r){case"a":case"aa":case"aaa":return o.dayPeriod(n,{width:"abbreviated",context:"formatting"})||o.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaaa":return o.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaa":default:return o.dayPeriod(n,{width:"wide",context:"formatting"})||o.dayPeriod(n,{width:"abbreviated",context:"formatting"})||o.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,r,o){return n.setHours(Or(o),0,0,0),n}}class Vd extends Re{constructor(){super(...arguments);ve(this,"priority",80);ve(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(n,r,o){switch(r){case"b":case"bb":case"bbb":return o.dayPeriod(n,{width:"abbreviated",context:"formatting"})||o.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbbb":return o.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbb":default:return o.dayPeriod(n,{width:"wide",context:"formatting"})||o.dayPeriod(n,{width:"abbreviated",context:"formatting"})||o.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,r,o){return n.setHours(Or(o),0,0,0),n}}class _d extends Re{constructor(){super(...arguments);ve(this,"priority",80);ve(this,"incompatibleTokens",["a","b","t","T"])}parse(n,r,o){switch(r){case"B":case"BB":case"BBB":return o.dayPeriod(n,{width:"abbreviated",context:"formatting"})||o.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBBB":return o.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBB":default:return o.dayPeriod(n,{width:"wide",context:"formatting"})||o.dayPeriod(n,{width:"abbreviated",context:"formatting"})||o.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,r,o){return n.setHours(Or(o),0,0,0),n}}class Nd extends Re{constructor(){super(...arguments);ve(this,"priority",70);ve(this,"incompatibleTokens",["H","K","k","t","T"])}parse(n,r,o){switch(r){case"h":return Ke(rt.hour12h,n);case"ho":return o.ordinalNumber(n,{unit:"hour"});default:return et(r.length,n)}}validate(n,r){return r>=1&&r<=12}set(n,r,o){const i=n.getHours()>=12;return i&&o<12?n.setHours(o+12,0,0,0):!i&&o===12?n.setHours(0,0,0,0):n.setHours(o,0,0,0),n}}class Dd extends Re{constructor(){super(...arguments);ve(this,"priority",70);ve(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(n,r,o){switch(r){case"H":return Ke(rt.hour23h,n);case"Ho":return o.ordinalNumber(n,{unit:"hour"});default:return et(r.length,n)}}validate(n,r){return r>=0&&r<=23}set(n,r,o){return n.setHours(o,0,0,0),n}}class Td extends Re{constructor(){super(...arguments);ve(this,"priority",70);ve(this,"incompatibleTokens",["h","H","k","t","T"])}parse(n,r,o){switch(r){case"K":return Ke(rt.hour11h,n);case"Ko":return o.ordinalNumber(n,{unit:"hour"});default:return et(r.length,n)}}validate(n,r){return r>=0&&r<=11}set(n,r,o){return n.getHours()>=12&&o<12?n.setHours(o+12,0,0,0):n.setHours(o,0,0,0),n}}class Pd extends Re{constructor(){super(...arguments);ve(this,"priority",70);ve(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(n,r,o){switch(r){case"k":return Ke(rt.hour24h,n);case"ko":return o.ordinalNumber(n,{unit:"hour"});default:return et(r.length,n)}}validate(n,r){return r>=1&&r<=24}set(n,r,o){const i=o<=24?o%24:o;return n.setHours(i,0,0,0),n}}class Od extends Re{constructor(){super(...arguments);ve(this,"priority",60);ve(this,"incompatibleTokens",["t","T"])}parse(n,r,o){switch(r){case"m":return Ke(rt.minute,n);case"mo":return o.ordinalNumber(n,{unit:"minute"});default:return et(r.length,n)}}validate(n,r){return r>=0&&r<=59}set(n,r,o){return n.setMinutes(o,0,0),n}}class Fd extends Re{constructor(){super(...arguments);ve(this,"priority",50);ve(this,"incompatibleTokens",["t","T"])}parse(n,r,o){switch(r){case"s":return Ke(rt.second,n);case"so":return o.ordinalNumber(n,{unit:"second"});default:return et(r.length,n)}}validate(n,r){return r>=0&&r<=59}set(n,r,o){return n.setSeconds(o,0),n}}class Ld extends Re{constructor(){super(...arguments);ve(this,"priority",30);ve(this,"incompatibleTokens",["t","T"])}parse(n,r){const o=i=>Math.trunc(i*Math.pow(10,-r.length+3));return ot(et(r.length,n),o)}set(n,r,o){return n.setMilliseconds(o),n}}class $d extends Re{constructor(){super(...arguments);ve(this,"priority",10);ve(this,"incompatibleTokens",["t","T","x"])}parse(n,r){switch(r){case"X":return qt(jt.basicOptionalMinutes,n);case"XX":return qt(jt.basic,n);case"XXXX":return qt(jt.basicOptionalSeconds,n);case"XXXXX":return qt(jt.extendedOptionalSeconds,n);case"XXX":default:return qt(jt.extended,n)}}set(n,r,o){return r.timestampIsSet?n:He(n,n.getTime()-$n(n)-o)}}class Hd extends Re{constructor(){super(...arguments);ve(this,"priority",10);ve(this,"incompatibleTokens",["t","T","X"])}parse(n,r){switch(r){case"x":return qt(jt.basicOptionalMinutes,n);case"xx":return qt(jt.basic,n);case"xxxx":return qt(jt.basicOptionalSeconds,n);case"xxxxx":return qt(jt.extendedOptionalSeconds,n);case"xxx":default:return qt(jt.extended,n)}}set(n,r,o){return r.timestampIsSet?n:He(n,n.getTime()-$n(n)-o)}}class Rd extends Re{constructor(){super(...arguments);ve(this,"priority",40);ve(this,"incompatibleTokens","*")}parse(n){return el(n)}set(n,r,o){return[He(n,o*1e3),{timestampIsSet:!0}]}}class zd extends Re{constructor(){super(...arguments);ve(this,"priority",20);ve(this,"incompatibleTokens","*")}parse(n){return el(n)}set(n,r,o){return[He(n,o),{timestampIsSet:!0}]}}const Id={G:new id,y:new ld,Y:new sd,R:new cd,u:new dd,Q:new ud,q:new md,M:new fd,L:new hd,w:new gd,I:new kd,d:new wd,D:new vd,E:new Ed,e:new Cd,c:new Sd,i:new Bd,a:new Ad,b:new Vd,B:new _d,h:new Nd,H:new Dd,K:new Td,k:new Pd,m:new Od,s:new Fd,S:new Ld,X:new $d,x:new Hd,t:new Rd,T:new zd},Gd=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,jd=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,qd=/^'([^]*?)'?$/,Wd=/''/g,Yd=/\S/,Ud=/[a-zA-Z]/;function Lr(e,a,n,r){var y,b,x,w,k,B,A,D;const o=ed(),i=(r==null?void 0:r.locale)??o.locale??qi,l=(r==null?void 0:r.firstWeekContainsDate)??((b=(y=r==null?void 0:r.locale)==null?void 0:y.options)==null?void 0:b.firstWeekContainsDate)??o.firstWeekContainsDate??((w=(x=o.locale)==null?void 0:x.options)==null?void 0:w.firstWeekContainsDate)??1,s=(r==null?void 0:r.weekStartsOn)??((B=(k=r==null?void 0:r.locale)==null?void 0:k.options)==null?void 0:B.weekStartsOn)??o.weekStartsOn??((D=(A=o.locale)==null?void 0:A.options)==null?void 0:D.weekStartsOn)??0;if(a==="")return e===""?Ce(n):He(n,NaN);const d={firstWeekContainsDate:l,weekStartsOn:s,locale:i},p=[new od],f=a.match(jd).map(V=>{const C=V[0];if(C in Tr){const M=Tr[C];return M(V,i.formatLong)}return V}).join("").match(Gd),h=[];for(let V of f){!(r!=null&&r.useAdditionalWeekYearTokens)&&Ki(V)&&Pr(V,a,e),!(r!=null&&r.useAdditionalDayOfYearTokens)&&Qi(V)&&Pr(V,a,e);const C=V[0],M=Id[C];if(M){const{incompatibleTokens:I}=M;if(Array.isArray(I)){const X=h.find(Y=>I.includes(Y.token)||Y.token===C);if(X)throw new RangeError(`The format string mustn't contain \`${X.fullToken}\` and \`${V}\` at the same time`)}else if(M.incompatibleTokens==="*"&&h.length>0)throw new RangeError(`The format string mustn't contain \`${V}\` and any other token at the same time`);h.push({token:C,fullToken:V});const $=M.run(e,V,i.match,d);if(!$)return He(n,NaN);p.push($.setter),e=$.rest}else{if(C.match(Ud))throw new RangeError("Format string contains an unescaped latin alphabet character `"+C+"`");if(V==="''"?V="'":C==="'"&&(V=Xd(V)),e.indexOf(V)===0)e=e.slice(V.length);else return He(n,NaN)}}if(e.length>0&&Yd.test(e))return He(n,NaN);const c=p.map(V=>V.priority).sort((V,C)=>C-V).filter((V,C,M)=>M.indexOf(V)===C).map(V=>p.filter(C=>C.priority===V).sort((C,M)=>M.subPriority-C.subPriority)).map(V=>V[0]);let m=Ce(n);if(isNaN(m.getTime()))return He(n,NaN);const u={};for(const V of c){if(!V.validate(m,d))return He(n,NaN);const C=V.set(m,u,d);Array.isArray(C)?(m=C[0],Object.assign(u,C[1])):m=C}return He(n,m)}function Xd(e){return e.match(qd)[1].replace(Wd,"'")}function nl(e,a){const n=Sa(e),r=Sa(a);return+n==+r}function Zd(e,a){return Ot(e,-a)}function rl(e,a){const n=Ce(e),r=n.getFullYear(),o=n.getDate(),i=He(e,0);i.setFullYear(r,a,15),i.setHours(0,0,0,0);const l=J2(i);return n.setMonth(a,Math.min(o,l)),n}function We(e,a){let n=Ce(e);return isNaN(+n)?He(e,NaN):(a.year!=null&&n.setFullYear(a.year),a.month!=null&&(n=rl(n,a.month)),a.date!=null&&n.setDate(a.date),a.hours!=null&&n.setHours(a.hours),a.minutes!=null&&n.setMinutes(a.minutes),a.seconds!=null&&n.setSeconds(a.seconds),a.milliseconds!=null&&n.setMilliseconds(a.milliseconds),n)}function Qd(e,a){const n=Ce(e);return n.setHours(a),n}function ol(e,a){const n=Ce(e);return n.setMilliseconds(a),n}function Kd(e,a){const n=Ce(e);return n.setMinutes(a),n}function il(e,a){const n=Ce(e);return n.setSeconds(a),n}function Wt(e,a){const n=Ce(e);return isNaN(+n)?He(e,NaN):(n.setFullYear(a),n)}function Ra(e,a){return Ft(e,-a)}function Jd(e,a){const{years:n=0,months:r=0,weeks:o=0,days:i=0,hours:l=0,minutes:s=0,seconds:d=0}=a,p=Ra(e,r+n*12),f=Zd(p,i+o*7),h=s+l*60,m=(d+h*60)*1e3;return He(e,f.getTime()-m)}function ll(e,a){return Ar(e,-a)}function za(){const e=t.useAttrs();return t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img",...e},[t.createElementVNode("path",{d:"M29.333 8c0-2.208-1.792-4-4-4h-18.667c-2.208 0-4 1.792-4 4v18.667c0 2.208 1.792 4 4 4h18.667c2.208 0 4-1.792 4-4v-18.667zM26.667 8v18.667c0 0.736-0.597 1.333-1.333 1.333 0 0-18.667 0-18.667 0-0.736 0-1.333-0.597-1.333-1.333 0 0 0-18.667 0-18.667 0-0.736 0.597-1.333 1.333-1.333 0 0 18.667 0 18.667 0 0.736 0 1.333 0.597 1.333 1.333z"}),t.createElementVNode("path",{d:"M20 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"}),t.createElementVNode("path",{d:"M9.333 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"}),t.createElementVNode("path",{d:"M4 14.667h24c0.736 0 1.333-0.597 1.333-1.333s-0.597-1.333-1.333-1.333h-24c-0.736 0-1.333 0.597-1.333 1.333s0.597 1.333 1.333 1.333z"})])}za.compatConfig={MODE:3};function sl(){return t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[t.createElementVNode("path",{d:"M23.057 7.057l-16 16c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l16-16c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0z"}),t.createElementVNode("path",{d:"M7.057 8.943l16 16c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885l-16-16c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z"})])}sl.compatConfig={MODE:3};function $r(){return t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[t.createElementVNode("path",{d:"M20.943 23.057l-7.057-7.057c0 0 7.057-7.057 7.057-7.057 0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-8 8c-0.521 0.521-0.521 1.365 0 1.885l8 8c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"})])}$r.compatConfig={MODE:3};function Hr(){return t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[t.createElementVNode("path",{d:"M12.943 24.943l8-8c0.521-0.521 0.521-1.365 0-1.885l-8-8c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885l7.057 7.057c0 0-7.057 7.057-7.057 7.057-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0z"})])}Hr.compatConfig={MODE:3};function Rr(){return t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[t.createElementVNode("path",{d:"M16 1.333c-8.095 0-14.667 6.572-14.667 14.667s6.572 14.667 14.667 14.667c8.095 0 14.667-6.572 14.667-14.667s-6.572-14.667-14.667-14.667zM16 4c6.623 0 12 5.377 12 12s-5.377 12-12 12c-6.623 0-12-5.377-12-12s5.377-12 12-12z"}),t.createElementVNode("path",{d:"M14.667 8v8c0 0.505 0.285 0.967 0.737 1.193l5.333 2.667c0.658 0.329 1.46 0.062 1.789-0.596s0.062-1.46-0.596-1.789l-4.596-2.298c0 0 0-7.176 0-7.176 0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"})])}Rr.compatConfig={MODE:3};function zr(){return t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[t.createElementVNode("path",{d:"M24.943 19.057l-8-8c-0.521-0.521-1.365-0.521-1.885 0l-8 8c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l7.057-7.057c0 0 7.057 7.057 7.057 7.057 0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"})])}zr.compatConfig={MODE:3};function Ir(){return t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[t.createElementVNode("path",{d:"M7.057 12.943l8 8c0.521 0.521 1.365 0.521 1.885 0l8-8c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-7.057 7.057c0 0-7.057-7.057-7.057-7.057-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z"})])}Ir.compatConfig={MODE:3};const At=(e,a)=>a?new Date(e.toLocaleString("en-US",{timeZone:a})):new Date(e),Gr=(e,a,n)=>jr(e,a,n)||pe(),e3=(e,a,n)=>{const r=a.dateInTz?At(new Date(e),a.dateInTz):pe(e);return n?vt(r,!0):r},jr=(e,a,n)=>{if(!e)return null;const r=n?vt(pe(e),!0):pe(e);return a?a.exactMatch?e3(e,a,n):At(r,a.timezone):r},t3=e=>{if(!e)return 0;const a=new Date,n=new Date(a.toLocaleString("en-US",{timeZone:"UTC"})),r=new Date(a.toLocaleString("en-US",{timeZone:e})),o=r.getTimezoneOffset()/60;return(+n-+r)/(1e3*60*60)-o};var $t=(e=>(e.month="month",e.year="year",e))($t||{}),Ba=(e=>(e.top="top",e.bottom="bottom",e))(Ba||{}),Aa=(e=>(e.header="header",e.calendar="calendar",e.timePicker="timePicker",e))(Aa||{}),yt=(e=>(e.month="month",e.year="year",e.calendar="calendar",e.time="time",e.minutes="minutes",e.hours="hours",e.seconds="seconds",e))(yt||{});const a3=["timestamp","date","iso"];var bt=(e=>(e.up="up",e.down="down",e.left="left",e.right="right",e))(bt||{}),Ue=(e=>(e.arrowUp="ArrowUp",e.arrowDown="ArrowDown",e.arrowLeft="ArrowLeft",e.arrowRight="ArrowRight",e.enter="Enter",e.space=" ",e.esc="Escape",e.tab="Tab",e.home="Home",e.end="End",e.pageUp="PageUp",e.pageDown="PageDown",e))(Ue||{});function cl(e){return a=>new Intl.DateTimeFormat(e,{weekday:"short",timeZone:"UTC"}).format(new Date(`2017-01-0${a}T00:00:00+00:00`)).slice(0,2)}function n3(e){return a=>Gt(At(new Date(`2017-01-0${a}T00:00:00+00:00`),"UTC"),"EEEEEE",{locale:e})}const r3=(e,a,n)=>{const r=[1,2,3,4,5,6,7];let o;if(e!==null)try{o=r.map(n3(e))}catch{o=r.map(cl(a))}else o=r.map(cl(a));const i=o.slice(0,n),l=o.slice(n+1,o.length);return[o[n]].concat(...l).concat(...i)},qr=(e,a,n)=>{const r=[];for(let o=+e[0];o<=+e[1];o++)r.push({value:+o,text:pl(o,a)});return n?r.reverse():r},dl=(e,a,n)=>{const r=[1,2,3,4,5,6,7,8,9,10,11,12].map(i=>{const l=i<10?`0${i}`:i;return new Date(`2017-${l}-01T00:00:00+00:00`)});if(e!==null)try{const i=n==="long"?"LLLL":"LLL";return r.map((l,s)=>{const d=Gt(At(l,"UTC"),i,{locale:e});return{text:d.charAt(0).toUpperCase()+d.substring(1),value:s}})}catch{}const o=new Intl.DateTimeFormat(a,{month:n,timeZone:"UTC"});return r.map((i,l)=>{const s=o.format(i);return{text:s.charAt(0).toUpperCase()+s.substring(1),value:l}})},o3=e=>[12,1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11][e],ct=e=>{const a=t.unref(e);return a!=null&&a.$el?a==null?void 0:a.$el:a},i3=e=>({type:"dot",...e??{}}),ul=e=>Array.isArray(e)?!!e[0]&&!!e[1]:!1,Wr={prop:e=>`"${e}" prop must be enabled!`,dateArr:e=>`You need to use array as "model-value" binding in order to support "${e}"`},mt=e=>e,ml=e=>e===0?e:!e||isNaN(+e)?null:+e,fl=e=>e===null,hl=e=>{if(e)return[...e.querySelectorAll("input, button, select, textarea, a[href]")][0]},l3=e=>{const a=[],n=r=>r.filter(o=>o);for(let r=0;r<e.length;r+=3){const o=[e[r],e[r+1],e[r+2]];a.push(n(o))}return a},dn=(e,a,n)=>{const r=n!=null,o=a!=null;if(!r&&!o)return!1;const i=+n,l=+a;return r&&o?+e>i||+e<l:r?+e>i:o?+e<l:!1},Ia=(e,a)=>l3(e).map(n=>n.map(r=>{const{active:o,disabled:i,isBetween:l,highlighted:s}=a(r);return{...r,active:o,disabled:i,className:{dp__overlay_cell_active:o,dp__overlay_cell:!o,dp__overlay_cell_disabled:i,dp__overlay_cell_pad:!0,dp__overlay_cell_active_disabled:i&&o,dp__cell_in_between:l,"dp--highlighted":s}}})),ia=(e,a,n=!1)=>{e&&a.allowStopPropagation&&(n&&e.stopImmediatePropagation(),e.stopPropagation())},s3=()=>["a[href]","area[href]","input:not([disabled]):not([type='hidden'])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","[tabindex]:not([tabindex='-1'])","[data-datepicker-instance]"].join(", ");function c3(e,a){let n=[...document.querySelectorAll(s3())];n=n.filter(o=>!e.contains(o)||o.hasAttribute("data-datepicker-instance"));const r=n.indexOf(e);if(r>=0&&(a?r-1>=0:r+1<=n.length))return n[r+(a?-1:1)]}const Yr=(e,a)=>e==null?void 0:e.querySelector(`[data-dp-element="${a}"]`),pl=(e,a)=>new Intl.NumberFormat(a,{useGrouping:!1,style:"decimal"}).format(e),Ur=e=>Gt(e,"dd-MM-yyyy"),Xr=e=>Array.isArray(e),Rn=(e,a)=>a.get(Ur(e)),d3=(e,a)=>e?a?a instanceof Map?!!Rn(e,a):a(pe(e)):!1:!0,wt=(e,a,n=!1,r)=>{if(e.key===Ue.enter||e.key===Ue.space)return n&&e.preventDefault(),a();if(r)return r(e)},gl=()=>["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].some(e=>navigator.userAgent.includes(e))||navigator.userAgent.includes("Mac")&&"ontouchend"in document,yl=(e,a,n,r,o,i)=>{const l=Lr(e,a.slice(0,e.length),new Date,{locale:i});return rn(l)&&Hi(l)?r||o?l:We(l,{hours:+n.hours,minutes:+(n==null?void 0:n.minutes),seconds:+(n==null?void 0:n.seconds),milliseconds:0}):null},u3=(e,a,n,r,o,i)=>{const l=Array.isArray(n)?n[0]:n;if(typeof a=="string")return yl(e,a,l,r,o,i);if(Array.isArray(a)){let s=null;for(const d of a)if(s=yl(e,d,l,r,o,i),s)break;return s}return typeof a=="function"?a(e):null},pe=e=>e?new Date(e):new Date,m3=(e,a,n)=>{if(a){const o=(e.getMonth()+1).toString().padStart(2,"0"),i=e.getDate().toString().padStart(2,"0"),l=e.getHours().toString().padStart(2,"0"),s=e.getMinutes().toString().padStart(2,"0"),d=n?e.getSeconds().toString().padStart(2,"0"):"00";return`${e.getFullYear()}-${o}-${i}T${l}:${s}:${d}.000Z`}const r=Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds());return new Date(r).toISOString()},vt=(e,a)=>{const n=pe(JSON.parse(JSON.stringify(e))),r=We(n,{hours:0,minutes:0,seconds:0,milliseconds:0});return a?s2(r):r},la=(e,a,n,r)=>{let o=e?pe(e):pe();return(a||a===0)&&(o=Qd(o,+a)),(n||n===0)&&(o=Kd(o,+n)),(r||r===0)&&(o=il(o,+r)),ol(o,0)},tt=(e,a)=>!e||!a?!1:cn(vt(e),vt(a)),Fe=(e,a)=>!e||!a?!1:Ha(vt(e),vt(a)),it=(e,a)=>!e||!a?!1:$a(vt(e),vt(a)),zn=(e,a,n)=>e!=null&&e[0]&&e!=null&&e[1]?it(n,e[0])&&tt(n,e[1]):e!=null&&e[0]&&a?it(n,e[0])&&tt(n,a)||tt(n,e[0])&&it(n,a):!1,Ht=e=>{const a=We(new Date(e),{date:1});return vt(a)},Zr=(e,a,n)=>a&&(n||n===0)?Object.fromEntries(["hours","minutes","seconds"].map(r=>r===a?[r,n]:[r,isNaN(+e[r])?void 0:+e[r]])):{hours:isNaN(+e.hours)?void 0:+e.hours,minutes:isNaN(+e.minutes)?void 0:+e.minutes,seconds:isNaN(+e.seconds)?void 0:+e.seconds},Va=e=>({hours:Zt(e),minutes:oa(e),seconds:La(e)}),kl=(e,a)=>{if(a){const n=Ve(pe(a));if(n>e)return 12;if(n===e)return Oe(pe(a))}},xl=(e,a)=>{if(a){const n=Ve(pe(a));return n<e?-1:n===e?Oe(pe(a)):void 0}},Ga=e=>{if(e)return Ve(pe(e))},bl=(e,a)=>{const n=it(e,a)?a:e,r=it(a,e)?a:e;return zi({start:n,end:r})},f3=e=>{const a=Ft(e,1);return{month:Oe(a),year:Ve(a)}},Qt=(e,a)=>{const n=Lt(e,{weekStartsOn:+a}),r=Gi(e,{weekStartsOn:+a});return[n,r]},wl=(e,a)=>{const n={hours:Zt(pe()),minutes:oa(pe()),seconds:a?La(pe()):0};return Object.assign(n,e)},sa=(e,a,n)=>[We(pe(e),{date:1}),We(pe(),{month:a,year:n,date:1})],Kt=(e,a,n)=>{let r=e?pe(e):pe();return(a||a===0)&&(r=rl(r,a)),n&&(r=Wt(r,n)),r},vl=(e,a,n,r,o)=>{if(!r||o&&!a||!o&&!n)return!1;const i=o?Ft(e,1):Ra(e,1),l=[Oe(i),Ve(i)];return o?!p3(...l,a):!h3(...l,n)},h3=(e,a,n)=>tt(...sa(n,e,a))||Fe(...sa(n,e,a)),p3=(e,a,n)=>it(...sa(n,e,a))||Fe(...sa(n,e,a)),El=(e,a,n,r,o,i,l)=>{if(typeof a=="function"&&!l)return a(e);const s=n?{locale:n}:void 0;return Array.isArray(e)?`${Gt(e[0],i,s)}${o&&!e[1]?"":r}${e[1]?Gt(e[1],i,s):""}`:Gt(e,i,s)},ja=e=>{if(e)return null;throw new Error(Wr.prop("partial-range"))},In=(e,a)=>{if(a)return e();throw new Error(Wr.prop("range"))},Qr=e=>Array.isArray(e)?rn(e[0])&&(e[1]?rn(e[1]):!0):e?rn(e):!1,g3=(e,a)=>We(a??pe(),{hours:+e.hours||0,minutes:+e.minutes||0,seconds:+e.seconds||0}),Kr=(e,a,n,r)=>{if(!e)return!0;if(r){const o=n==="max"?cn(e,a):$a(e,a),i={seconds:0,milliseconds:0};return o||Ha(We(e,i),We(a,i))}return n==="max"?e.getTime()<=a.getTime():e.getTime()>=a.getTime()},Jr=(e,a,n)=>e?g3(e,a):pe(n??a),Cl=(e,a,n,r,o)=>{if(Array.isArray(r)){const l=Jr(e,r[0],a),s=Jr(e,r[1],a);return Kr(r[0],l,n,!!a)&&Kr(r[1],s,n,!!a)&&o}const i=Jr(e,r,a);return Kr(r,i,n,!!a)&&o},eo=e=>We(pe(),Va(e)),y3=(e,a)=>e instanceof Map?Array.from(e.values()).filter(n=>Ve(pe(n))===a).map(n=>Oe(n)):[],Sl=(e,a,n)=>typeof e=="function"?e({month:a,year:n}):!!e.months.find(r=>r.month===a&&r.year===n),to=(e,a)=>typeof e=="function"?e(a):e.years.includes(a),Ml=e=>Gt(e,"yyyy-MM-dd"),un=t.reactive({menuFocused:!1,shiftKeyInMenu:!1}),Bl=()=>{const e=n=>{un.menuFocused=n},a=n=>{un.shiftKeyInMenu!==n&&(un.shiftKeyInMenu=n)};return{control:t.computed(()=>({shiftKeyInMenu:un.shiftKeyInMenu,menuFocused:un.menuFocused})),setMenuFocused:e,setShiftKey:a}},Xe=t.reactive({monthYear:[],calendar:[],time:[],actionRow:[],selectionGrid:[],timePicker:{0:[],1:[]},monthPicker:[]}),ao=t.ref(null),Gn=t.ref(!1),no=t.ref(!1),ro=t.ref(!1),oo=t.ref(!1),kt=t.ref(0),lt=t.ref(0),ca=()=>{const e=t.computed(()=>Gn.value?[...Xe.selectionGrid,Xe.actionRow].filter(h=>h.length):no.value?[...Xe.timePicker[0],...Xe.timePicker[1],oo.value?[]:[ao.value],Xe.actionRow].filter(h=>h.length):ro.value?[...Xe.monthPicker,Xe.actionRow]:[Xe.monthYear,...Xe.calendar,Xe.time,Xe.actionRow].filter(h=>h.length)),a=h=>{kt.value=h?kt.value+1:kt.value-1;let c=null;e.value[lt.value]&&(c=e.value[lt.value][kt.value]),!c&&e.value[lt.value+(h?1:-1)]?(lt.value=lt.value+(h?1:-1),kt.value=h?0:e.value[lt.value].length-1):c||(kt.value=h?kt.value-1:kt.value+1)},n=h=>{lt.value===0&&!h||lt.value===e.value.length&&h||(lt.value=h?lt.value+1:lt.value-1,e.value[lt.value]?e.value[lt.value]&&!e.value[lt.value][kt.value]&&kt.value!==0&&(kt.value=e.value[lt.value].length-1):lt.value=h?lt.value-1:lt.value+1)},r=h=>{let c=null;e.value[lt.value]&&(c=e.value[lt.value][kt.value]),c?c.focus({preventScroll:!Gn.value}):kt.value=h?kt.value-1:kt.value+1},o=()=>{a(!0),r(!0)},i=()=>{a(!1),r(!1)},l=()=>{n(!1),r(!0)},s=()=>{n(!0),r(!0)},d=(h,c)=>{Xe[c]=h},p=(h,c)=>{Xe[c]=h},f=()=>{kt.value=0,lt.value=0};return{buildMatrix:d,buildMultiLevelMatrix:p,setTimePickerBackRef:h=>{ao.value=h},setSelectionGrid:h=>{Gn.value=h,f(),h||(Xe.selectionGrid=[])},setTimePicker:(h,c=!1)=>{no.value=h,oo.value=c,f(),h||(Xe.timePicker[0]=[],Xe.timePicker[1]=[])},setTimePickerElements:(h,c=0)=>{Xe.timePicker[c]=h},arrowRight:o,arrowLeft:i,arrowUp:l,arrowDown:s,clearArrowNav:()=>{Xe.monthYear=[],Xe.calendar=[],Xe.time=[],Xe.actionRow=[],Xe.selectionGrid=[],Xe.timePicker[0]=[],Xe.timePicker[1]=[],Gn.value=!1,no.value=!1,oo.value=!1,ro.value=!1,f(),ao.value=null},setMonthPicker:h=>{ro.value=h,f()},refSets:Xe}},Al=e=>({menuAppearTop:"dp-menu-appear-top",menuAppearBottom:"dp-menu-appear-bottom",open:"dp-slide-down",close:"dp-slide-up",next:"calendar-next",previous:"calendar-prev",vNext:"dp-slide-up",vPrevious:"dp-slide-down",...e??{}}),k3=e=>({toggleOverlay:"Toggle overlay",menu:"Datepicker menu",input:"Datepicker input",openTimePicker:"Open time picker",closeTimePicker:"Close time Picker",incrementValue:a=>`Increment ${a}`,decrementValue:a=>`Decrement ${a}`,openTpOverlay:a=>`Open ${a} overlay`,amPmButton:"Switch AM/PM mode",openYearsOverlay:"Open years overlay",openMonthsOverlay:"Open months overlay",nextMonth:"Next month",prevMonth:"Previous month",nextYear:"Next year",prevYear:"Previous year",day:void 0,weekDay:void 0,clearInput:"Clear value",calendarIcon:"Calendar icon",timePicker:"Time picker",monthPicker:a=>`Month picker${a?" overlay":""}`,yearPicker:a=>`Year picker${a?" overlay":""}`,timeOverlay:a=>`${a} overlay`,...e??{}}),Vl=e=>e?typeof e=="boolean"?e?2:0:+e>=2?+e:2:0,x3=e=>{const a=typeof e=="object"&&e,n={static:!0,solo:!1};if(!e)return{...n,count:Vl(!1)};const r=a?e:{},o=a?r.count??!0:e,i=Vl(o);return Object.assign(n,r,{count:i})},b3=(e,a,n)=>e||(typeof n=="string"?n:a),w3=e=>typeof e=="boolean"?e?Al({}):!1:Al(e),v3=e=>{const a={enterSubmit:!0,tabSubmit:!0,openMenu:"open",selectOnFocus:!1,rangeSeparator:" - "};return typeof e=="object"?{...a,...e??{},enabled:!0}:{...a,enabled:e}},E3=e=>({months:[],years:[],times:{hours:[],minutes:[],seconds:[]},...e??{}}),C3=e=>({showSelect:!0,showCancel:!0,showNow:!1,showPreview:!0,...e??{}}),S3=e=>{const a={input:!1};return typeof e=="object"?{...a,...e??{},enabled:!0}:{enabled:e,...a}},M3=e=>({allowStopPropagation:!0,closeOnScroll:!1,modeHeight:255,allowPreventDefault:!1,closeOnClearValue:!0,closeOnAutoApply:!0,noSwipe:!1,keepActionRow:!1,onClickOutside:void 0,tabOutClosesMenu:!0,arrowLeft:void 0,keepViewOnOffsetClick:!1,timeArrowHoldThreshold:0,shadowDom:!1,...e??{}}),B3=e=>{const a={dates:Array.isArray(e)?e.map(n=>pe(n)):[],years:[],months:[],quarters:[],weeks:[],weekdays:[],options:{highlightDisabled:!1}};return typeof e=="function"?e:{...a,...e??{}}},A3=e=>typeof e=="object"?{type:(e==null?void 0:e.type)??"local",hideOnOffsetDates:(e==null?void 0:e.hideOnOffsetDates)??!1}:{type:e,hideOnOffsetDates:!1},V3=e=>{const a={noDisabledRange:!1,showLastInRange:!0,minMaxRawRange:!1,partialRange:!0,disableTimeRangeValidation:!1,maxRange:void 0,minRange:void 0,autoRange:void 0,fixedStart:!1,fixedEnd:!1};return typeof e=="object"?{enabled:!0,...a,...e}:{enabled:e,...a}},_3=e=>e?typeof e=="string"?{timezone:e,exactMatch:!1,dateInTz:void 0,emitTimezone:void 0,convertModel:!0}:{timezone:e.timezone,exactMatch:e.exactMatch??!1,dateInTz:e.dateInTz??void 0,emitTimezone:e.emitTimezone??void 0,convertModel:e.convertModel??!0}:{timezone:void 0,exactMatch:!1,emitTimezone:void 0},io=(e,a,n)=>new Map(e.map(r=>{const o=Gr(r,a,n);return[Ur(o),o]})),N3=(e,a)=>e.length?new Map(e.map(n=>{const r=Gr(n.date,a);return[Ur(r),n]})):null,D3=e=>{var a;return{minDate:jr(e.minDate,e.timezone,e.isSpecific),maxDate:jr(e.maxDate,e.timezone,e.isSpecific),disabledDates:Xr(e.disabledDates)?io(e.disabledDates,e.timezone,e.isSpecific):e.disabledDates,allowedDates:Xr(e.allowedDates)?io(e.allowedDates,e.timezone,e.isSpecific):null,highlight:typeof e.highlight=="object"&&Xr((a=e.highlight)==null?void 0:a.dates)?io(e.highlight.dates,e.timezone):e.highlight,markers:N3(e.markers,e.timezone)}},T3=e=>typeof e=="boolean"?{enabled:e,dragSelect:!0,limit:null}:{enabled:!!e,limit:e.limit?+e.limit:null,dragSelect:e.dragSelect??!0},P3=e=>({...Object.fromEntries(Object.keys(e).map(a=>{const n=a,r=e[n],o=typeof e[n]=="string"?{[r]:!0}:Object.fromEntries(r.map(i=>[i,!0]));return[a,o]}))}),Ze=e=>{const a=()=>{const D=e.enableSeconds?":ss":"",V=e.enableMinutes?":mm":"";return e.is24?`HH${V}${D}`:`hh${V}${D} aa`},n=()=>{var D;return e.format?e.format:e.monthPicker?"MM/yyyy":e.timePicker?a():e.weekPicker?`${((D=b.value)==null?void 0:D.type)==="iso"?"RR":"ww"}-yyyy`:e.yearPicker?"yyyy":e.quarterPicker?"QQQ/yyyy":e.enableTimePicker?`MM/dd/yyyy, ${a()}`:"MM/dd/yyyy"},r=D=>wl(D,e.enableSeconds),o=()=>B.value.enabled?e.startTime&&Array.isArray(e.startTime)?[r(e.startTime[0]),r(e.startTime[1])]:null:e.startTime&&!Array.isArray(e.startTime)?r(e.startTime):null,i=t.computed(()=>x3(e.multiCalendars)),l=t.computed(()=>o()),s=t.computed(()=>k3(e.ariaLabels)),d=t.computed(()=>E3(e.filters)),p=t.computed(()=>w3(e.transitions)),f=t.computed(()=>C3(e.actionRow)),h=t.computed(()=>b3(e.previewFormat,e.format,n())),c=t.computed(()=>v3(e.textInput)),m=t.computed(()=>S3(e.inline)),u=t.computed(()=>M3(e.config)),y=t.computed(()=>B3(e.highlight)),b=t.computed(()=>A3(e.weekNumbers)),x=t.computed(()=>_3(e.timezone)),w=t.computed(()=>T3(e.multiDates)),k=t.computed(()=>D3({minDate:e.minDate,maxDate:e.maxDate,disabledDates:e.disabledDates,allowedDates:e.allowedDates,highlight:y.value,markers:e.markers,timezone:x.value,isSpecific:e.monthPicker||e.yearPicker||e.quarterPicker})),B=t.computed(()=>V3(e.range)),A=t.computed(()=>P3(e.ui));return{defaultedTransitions:p,defaultedMultiCalendars:i,defaultedStartTime:l,defaultedAriaLabels:s,defaultedFilters:d,defaultedActionRow:f,defaultedPreviewFormat:h,defaultedTextInput:c,defaultedInline:m,defaultedConfig:u,defaultedHighlight:y,defaultedWeekNumbers:b,defaultedRange:B,propDates:k,defaultedTz:x,defaultedMultiDates:w,defaultedUI:A,getDefaultPattern:n,getDefaultStartTime:o}},O3=(e,a,n)=>{const r=t.ref(),{defaultedTextInput:o,defaultedRange:i,defaultedTz:l,defaultedMultiDates:s,getDefaultPattern:d}=Ze(a),p=t.ref(""),f=t.toRef(a,"format"),h=t.toRef(a,"formatLocale");t.watch(r,()=>{typeof a.onInternalModelChange=="function"&&e("internal-model-change",r.value,fe(!0))},{deep:!0}),t.watch(i,(R,ye)=>{R.enabled!==ye.enabled&&(r.value=null)}),t.watch(f,()=>{de()});const c=R=>l.value.timezone&&l.value.convertModel?At(R,l.value.timezone):R,m=R=>{if(l.value.timezone&&l.value.convertModel){const ye=t3(l.value.timezone);return t2(R,ye)}return R},u=(R,ye,Z=!1)=>El(R,a.format,a.formatLocale,o.value.rangeSeparator,a.modelAuto,ye??d(),Z),y=R=>R?a.modelType?_(R):{hours:Zt(R),minutes:oa(R),seconds:a.enableSeconds?La(R):0}:null,b=R=>a.modelType?_(R):{month:Oe(R),year:Ve(R)},x=R=>Array.isArray(R)?s.value.enabled?R.map(ye=>w(ye,Wt(pe(),ye))):In(()=>[Wt(pe(),R[0]),R[1]?Wt(pe(),R[1]):ja(i.value.partialRange)],i.value.enabled):Wt(pe(),+R),w=(R,ye)=>(typeof R=="string"||typeof R=="number")&&a.modelType?W(R):ye,k=R=>Array.isArray(R)?[w(R[0],la(null,+R[0].hours,+R[0].minutes,R[0].seconds)),w(R[1],la(null,+R[1].hours,+R[1].minutes,R[1].seconds))]:w(R,la(null,R.hours,R.minutes,R.seconds)),B=R=>{const ye=We(pe(),{date:1});return Array.isArray(R)?s.value.enabled?R.map(Z=>w(Z,Kt(ye,+Z.month,+Z.year))):In(()=>[w(R[0],Kt(ye,+R[0].month,+R[0].year)),w(R[1],R[1]?Kt(ye,+R[1].month,+R[1].year):ja(i.value.partialRange))],i.value.enabled):w(R,Kt(ye,+R.month,+R.year))},A=R=>{if(Array.isArray(R))return R.map(ye=>W(ye));throw new Error(Wr.dateArr("multi-dates"))},D=R=>{if(Array.isArray(R)&&i.value.enabled){const ye=R[0],Z=R[1];return[pe(Array.isArray(ye)?ye[0]:null),Array.isArray(Z)&&Z.length?pe(Z[0]):null]}return pe(R[0])},V=R=>a.modelAuto?Array.isArray(R)?[W(R[0]),W(R[1])]:a.autoApply?[W(R)]:[W(R),null]:Array.isArray(R)?In(()=>R[1]?[W(R[0]),R[1]?W(R[1]):ja(i.value.partialRange)]:[W(R[0])],i.value.enabled):W(R),C=()=>{Array.isArray(r.value)&&i.value.enabled&&r.value.length===1&&r.value.push(ja(i.value.partialRange))},M=()=>{const R=r.value;return[_(R[0]),R[1]?_(R[1]):ja(i.value.partialRange)]},I=()=>r.value[1]?M():_(mt(r.value[0])),$=()=>(r.value||[]).map(R=>_(R)),X=(R=!1)=>(R||C(),a.modelAuto?I():s.value.enabled?$():Array.isArray(r.value)?In(()=>M(),i.value.enabled):_(mt(r.value))),Y=R=>!R||Array.isArray(R)&&!R.length?null:a.timePicker?k(mt(R)):a.monthPicker?B(mt(R)):a.yearPicker?x(mt(R)):s.value.enabled?A(mt(R)):a.weekPicker?D(mt(R)):V(mt(R)),E=R=>{const ye=Y(R);Qr(mt(ye))?(r.value=mt(ye),de()):(r.value=null,p.value="")},j=()=>{const R=ye=>Gt(ye,o.value.format);return`${R(r.value[0])} ${o.value.rangeSeparator} ${r.value[1]?R(r.value[1]):""}`},G=()=>n.value&&r.value?Array.isArray(r.value)?j():Gt(r.value,o.value.format):u(r.value),U=()=>r.value?s.value.enabled?r.value.map(R=>u(R)).join("; "):o.value.enabled&&typeof o.value.format=="string"?G():u(r.value):"",de=()=>{!a.format||typeof a.format=="string"||o.value.enabled&&typeof o.value.format=="string"?p.value=U():p.value=a.format(r.value)},W=R=>{if(a.utc){const ye=new Date(R);return a.utc==="preserve"?new Date(ye.getTime()+ye.getTimezoneOffset()*6e4):ye}return a.modelType?a3.includes(a.modelType)?c(new Date(R)):a.modelType==="format"&&(typeof a.format=="string"||!a.format)?c(Lr(R,d(),new Date,{locale:h.value})):c(Lr(R,a.modelType,new Date,{locale:h.value})):c(new Date(R))},_=R=>R?a.utc?m3(R,a.utc==="preserve",a.enableSeconds):a.modelType?a.modelType==="timestamp"?+m(R):a.modelType==="iso"?m(R).toISOString():a.modelType==="format"&&(typeof a.format=="string"||!a.format)?u(m(R)):u(m(R),a.modelType,!0):m(R):"",ie=(R,ye=!1,Z=!1)=>{if(Z)return R;if(e("update:model-value",R),l.value.emitTimezone&&ye){const me=Array.isArray(R)?R.map(L=>At(mt(L),l.value.emitTimezone)):At(mt(R),l.value.emitTimezone);e("update:model-timezone-value",me)}},ne=R=>Array.isArray(r.value)?s.value.enabled?r.value.map(ye=>R(ye)):[R(r.value[0]),r.value[1]?R(r.value[1]):ja(i.value.partialRange)]:R(mt(r.value)),K=()=>{if(Array.isArray(r.value)){const R=Qt(r.value[0],a.weekStart),ye=r.value[1]?Qt(r.value[1],a.weekStart):[];return[R.map(Z=>pe(Z)),ye.map(Z=>pe(Z))]}return Qt(r.value,a.weekStart).map(R=>pe(R))},S=(R,ye)=>ie(mt(ne(R)),!1,ye),Q=R=>{const ye=K();return R?ye:e("update:model-value",K())},fe=(R=!1)=>(R||de(),a.monthPicker?S(b,R):a.timePicker?S(y,R):a.yearPicker?S(Ve,R):a.weekPicker?Q(R):ie(X(R),!0,R));return{inputValue:p,internalModelValue:r,checkBeforeEmit:()=>r.value?i.value.enabled?i.value.partialRange?r.value.length>=1:r.value.length===2:!!r.value:!1,parseExternalModelValue:E,formatInputValue:de,emitModelValue:fe}},F3=(e,a)=>{const{defaultedFilters:n,propDates:r}=Ze(e),{validateMonthYearInRange:o}=ua(e),i=(f,h)=>{let c=f;return n.value.months.includes(Oe(c))?(c=h?Ft(f,1):Ra(f,1),i(c,h)):c},l=(f,h)=>{let c=f;return n.value.years.includes(Ve(c))?(c=h?Ar(f,1):ll(f,1),l(c,h)):c},s=(f,h=!1)=>{const c=We(pe(),{month:e.month,year:e.year});let m=f?Ft(c,1):Ra(c,1);e.disableYearSelect&&(m=Wt(m,e.year));let u=Oe(m),y=Ve(m);n.value.months.includes(u)&&(m=i(m,f),u=Oe(m),y=Ve(m)),n.value.years.includes(y)&&(m=l(m,f),y=Ve(m)),o(u,y,f,e.preventMinMaxNavigation)&&d(u,y,h)},d=(f,h,c)=>{a("update-month-year",{month:f,year:h,fromNav:c})},p=t.computed(()=>f=>vl(We(pe(),{month:e.month,year:e.year}),r.value.maxDate,r.value.minDate,e.preventMinMaxNavigation,f));return{handleMonthYearChange:s,isDisabled:p,updateMonthYear:d}},jn={multiCalendars:{type:[Boolean,Number,String,Object],default:void 0},modelValue:{type:[String,Date,Array,Object,Number],default:null},modelType:{type:String,default:null},position:{type:String,default:"center"},dark:{type:Boolean,default:!1},format:{type:[String,Function],default:()=>null},autoPosition:{type:Boolean,default:!0},altPosition:{type:Function,default:null},transitions:{type:[Boolean,Object],default:!0},formatLocale:{type:Object,default:null},utc:{type:[Boolean,String],default:!1},ariaLabels:{type:Object,default:()=>({})},offset:{type:[Number,String],default:10},hideNavigation:{type:Array,default:()=>[]},timezone:{type:[String,Object],default:null},vertical:{type:Boolean,default:!1},disableMonthYearSelect:{type:Boolean,default:!1},disableYearSelect:{type:Boolean,default:!1},dayClass:{type:Function,default:null},yearRange:{type:Array,default:()=>[1900,2100]},enableTimePicker:{type:Boolean,default:!0},autoApply:{type:Boolean,default:!1},disabledDates:{type:[Array,Function],default:()=>[]},monthNameFormat:{type:String,default:"short"},startDate:{type:[Date,String],default:null},startTime:{type:[Object,Array],default:null},hideOffsetDates:{type:Boolean,default:!1},noToday:{type:Boolean,default:!1},disabledWeekDays:{type:Array,default:()=>[]},allowedDates:{type:Array,default:null},nowButtonLabel:{type:String,default:"Now"},markers:{type:Array,default:()=>[]},escClose:{type:Boolean,default:!0},spaceConfirm:{type:Boolean,default:!0},monthChangeOnArrows:{type:Boolean,default:!0},presetDates:{type:Array,default:()=>[]},flow:{type:Array,default:()=>[]},partialFlow:{type:Boolean,default:!1},preventMinMaxNavigation:{type:Boolean,default:!1},reverseYears:{type:Boolean,default:!1},weekPicker:{type:Boolean,default:!1},filters:{type:Object,default:()=>({})},arrowNavigation:{type:Boolean,default:!1},highlight:{type:[Function,Object],default:null},teleport:{type:[Boolean,String,Object],default:null},teleportCenter:{type:Boolean,default:!1},locale:{type:String,default:"en-Us"},weekNumName:{type:String,default:"W"},weekStart:{type:[Number,String],default:1},weekNumbers:{type:[String,Function,Object],default:null},monthChangeOnScroll:{type:[Boolean,String],default:!0},dayNames:{type:[Function,Array],default:null},monthPicker:{type:Boolean,default:!1},customProps:{type:Object,default:null},yearPicker:{type:Boolean,default:!1},modelAuto:{type:Boolean,default:!1},selectText:{type:String,default:"Select"},cancelText:{type:String,default:"Cancel"},previewFormat:{type:[String,Function],default:()=>""},multiDates:{type:[Object,Boolean],default:!1},ignoreTimeValidation:{type:Boolean,default:!1},minDate:{type:[Date,String],default:null},maxDate:{type:[Date,String],default:null},minTime:{type:Object,default:null},maxTime:{type:Object,default:null},name:{type:String,default:null},placeholder:{type:String,default:""},hideInputIcon:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},state:{type:Boolean,default:null},required:{type:Boolean,default:!1},autocomplete:{type:String,default:"off"},timePicker:{type:Boolean,default:!1},enableSeconds:{type:Boolean,default:!1},is24:{type:Boolean,default:!0},noHoursOverlay:{type:Boolean,default:!1},noMinutesOverlay:{type:Boolean,default:!1},noSecondsOverlay:{type:Boolean,default:!1},hoursGridIncrement:{type:[String,Number],default:1},minutesGridIncrement:{type:[String,Number],default:5},secondsGridIncrement:{type:[String,Number],default:5},hoursIncrement:{type:[Number,String],default:1},minutesIncrement:{type:[Number,String],default:1},secondsIncrement:{type:[Number,String],default:1},range:{type:[Boolean,Object],default:!1},uid:{type:String,default:null},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},inline:{type:[Boolean,Object],default:!1},textInput:{type:[Boolean,Object],default:!1},sixWeeks:{type:[Boolean,String],default:!1},actionRow:{type:Object,default:()=>({})},focusStartDate:{type:Boolean,default:!1},disabledTimes:{type:[Function,Array],default:void 0},timePickerInline:{type:Boolean,default:!1},calendar:{type:Function,default:null},config:{type:Object,default:void 0},quarterPicker:{type:Boolean,default:!1},yearFirst:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},onInternalModelChange:{type:[Function,Object],default:null},enableMinutes:{type:Boolean,default:!0},ui:{type:Object,default:()=>({})}},Rt={...jn,shadow:{type:Boolean,default:!1},flowStep:{type:Number,default:0},internalModelValue:{type:[Date,Array],default:null},noOverlayFocus:{type:Boolean,default:!1},collapse:{type:Boolean,default:!1},menuWrapRef:{type:Object,default:null},getInputRect:{type:Function,default:()=>({})},isTextInputDate:{type:Boolean,default:!1}},L3=["title"],$3=["disabled"],H3=t.defineComponent({compatConfig:{MODE:3},__name:"ActionRow",props:{menuMount:{type:Boolean,default:!1},calendarWidth:{type:Number,default:0},...Rt},emits:["close-picker","select-date","select-now","invalid-select"],setup(e,{emit:a}){const n=a,r=e,{defaultedActionRow:o,defaultedPreviewFormat:i,defaultedMultiCalendars:l,defaultedTextInput:s,defaultedInline:d,defaultedRange:p,defaultedMultiDates:f}=Ze(r),{isTimeValid:h,isMonthValid:c}=ua(r),{buildMatrix:m}=ca(),u=t.ref(null),y=t.ref(null),b=t.ref(!1),x=t.ref({}),w=t.ref(null),k=t.ref(null);t.onMounted(()=>{r.arrowNavigation&&m([ct(u),ct(y)],"actionRow"),B(),window.addEventListener("resize",B)}),t.onUnmounted(()=>{window.removeEventListener("resize",B)});const B=()=>{b.value=!1,setTimeout(()=>{var E,j;const G=(E=w.value)==null?void 0:E.getBoundingClientRect(),U=(j=k.value)==null?void 0:j.getBoundingClientRect();G&&U&&(x.value.maxWidth=`${U.width-G.width-20}px`),b.value=!0},0)},A=t.computed(()=>p.value.enabled&&!p.value.partialRange&&r.internalModelValue?r.internalModelValue.length===2:!0),D=t.computed(()=>!h.value(r.internalModelValue)||!c.value(r.internalModelValue)||!A.value),V=()=>{const E=i.value;return r.timePicker||r.monthPicker,E(mt(r.internalModelValue))},C=()=>{const E=r.internalModelValue;return l.value.count>0?`${M(E[0])} - ${M(E[1])}`:[M(E[0]),M(E[1])]},M=E=>El(E,i.value,r.formatLocale,s.value.rangeSeparator,r.modelAuto,i.value),I=t.computed(()=>!r.internalModelValue||!r.menuMount?"":typeof i.value=="string"?Array.isArray(r.internalModelValue)?r.internalModelValue.length===2&&r.internalModelValue[1]?C():f.value.enabled?r.internalModelValue.map(E=>`${M(E)}`):r.modelAuto?`${M(r.internalModelValue[0])}`:`${M(r.internalModelValue[0])} -`:M(r.internalModelValue):V()),$=()=>f.value.enabled?"; ":" - ",X=t.computed(()=>Array.isArray(I.value)?I.value.join($()):I.value),Y=()=>{h.value(r.internalModelValue)&&c.value(r.internalModelValue)&&A.value?n("select-date"):n("invalid-select")};return(E,j)=>(t.openBlock(),t.createElementBlock("div",{ref_key:"actionRowRef",ref:k,class:"dp__action_row"},[E.$slots["action-row"]?t.renderSlot(E.$slots,"action-row",t.normalizeProps(t.mergeProps({key:0},{internalModelValue:E.internalModelValue,disabled:D.value,selectDate:()=>E.$emit("select-date"),closePicker:()=>E.$emit("close-picker")}))):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.unref(o).showPreview?(t.openBlock(),t.createElementBlock("div",{key:0,class:"dp__selection_preview",title:X.value,style:t.normalizeStyle(x.value)},[E.$slots["action-preview"]&&b.value?t.renderSlot(E.$slots,"action-preview",{key:0,value:E.internalModelValue}):t.createCommentVNode("",!0),!E.$slots["action-preview"]&&b.value?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(X.value),1)],64)):t.createCommentVNode("",!0)],12,L3)):t.createCommentVNode("",!0),t.createElementVNode("div",{ref_key:"actionBtnContainer",ref:w,class:"dp__action_buttons","data-dp-element":"action-row"},[E.$slots["action-buttons"]?t.renderSlot(E.$slots,"action-buttons",{key:0,value:E.internalModelValue}):t.createCommentVNode("",!0),E.$slots["action-buttons"]?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[!t.unref(d).enabled&&t.unref(o).showCancel?(t.openBlock(),t.createElementBlock("button",{key:0,ref_key:"cancelButtonRef",ref:u,type:"button",class:"dp__action_button dp__action_cancel",onClick:j[0]||(j[0]=G=>E.$emit("close-picker")),onKeydown:j[1]||(j[1]=G=>t.unref(wt)(G,()=>E.$emit("close-picker")))},t.toDisplayString(E.cancelText),545)):t.createCommentVNode("",!0),t.unref(o).showNow?(t.openBlock(),t.createElementBlock("button",{key:1,type:"button",class:"dp__action_button dp__action_cancel",onClick:j[2]||(j[2]=G=>E.$emit("select-now")),onKeydown:j[3]||(j[3]=G=>t.unref(wt)(G,()=>E.$emit("select-now")))},t.toDisplayString(E.nowButtonLabel),33)):t.createCommentVNode("",!0),t.unref(o).showSelect?(t.openBlock(),t.createElementBlock("button",{key:2,ref_key:"selectButtonRef",ref:y,type:"button",class:"dp__action_button dp__action_select",disabled:D.value,"data-test":"select-button",onKeydown:j[4]||(j[4]=G=>t.unref(wt)(G,()=>Y())),onClick:Y},t.toDisplayString(E.selectText),41,$3)):t.createCommentVNode("",!0)],64))],512)],64))],512))}}),R3=["role","aria-label","tabindex"],z3={class:"dp__selection_grid_header"},I3=["aria-selected","aria-disabled","data-test","onClick","onKeydown","onMouseover"],G3=["aria-label"],mn=t.defineComponent({__name:"SelectionOverlay",props:{items:{},type:{},isLast:{type:Boolean},arrowNavigation:{type:Boolean},skipButtonRef:{type:Boolean},headerRefs:{},hideNavigation:{},escClose:{type:Boolean},useRelative:{type:Boolean},height:{},textInput:{type:[Boolean,Object]},config:{},noOverlayFocus:{type:Boolean},focusValue:{},menuWrapRef:{},ariaLabels:{},overlayLabel:{}},emits:["selected","toggle","reset-flow","hover-value"],setup(e,{expose:a,emit:n}){const{setSelectionGrid:r,buildMultiLevelMatrix:o,setMonthPicker:i}=ca(),l=n,s=e,{defaultedAriaLabels:d,defaultedTextInput:p,defaultedConfig:f}=Ze(s),{hideNavigationButtons:h}=Yn(),c=t.ref(!1),m=t.ref(null),u=t.ref(null),y=t.ref([]),b=t.ref(),x=t.ref(null),w=t.ref(0),k=t.ref(null);t.onBeforeUpdate(()=>{m.value=null}),t.onMounted(()=>{t.nextTick().then(()=>$()),s.noOverlayFocus||A(),B(!0)}),t.onUnmounted(()=>B(!1));const B=ne=>{var K;s.arrowNavigation&&((K=s.headerRefs)!=null&&K.length?i(ne):r(ne))},A=()=>{var ne;const K=ct(u);K&&(p.value.enabled||(m.value?(ne=m.value)==null||ne.focus({preventScroll:!0}):K.focus({preventScroll:!0})),c.value=K.clientHeight<K.scrollHeight)},D=t.computed(()=>({dp__overlay:!0,"dp--overlay-absolute":!s.useRelative,"dp--overlay-relative":s.useRelative})),V=t.computed(()=>s.useRelative?{height:`${s.height}px`,width:"var(--dp-menu-min-width)"}:void 0),C=t.computed(()=>({dp__overlay_col:!0})),M=t.computed(()=>({dp__btn:!0,dp__button:!0,dp__overlay_action:!0,dp__over_action_scroll:c.value,dp__button_bottom:s.isLast})),I=t.computed(()=>{var ne,K;return{dp__overlay_container:!0,dp__container_flex:((ne=s.items)==null?void 0:ne.length)<=6,dp__container_block:((K=s.items)==null?void 0:K.length)>6}});t.watch(()=>s.items,()=>$(!1),{deep:!0});const $=(ne=!0)=>{t.nextTick().then(()=>{const K=ct(m),S=ct(u),Q=ct(x),fe=ct(k),R=Q?Q.getBoundingClientRect().height:0;S&&(S.getBoundingClientRect().height?w.value=S.getBoundingClientRect().height-R:w.value=f.value.modeHeight-R),K&&fe&&ne&&(fe.scrollTop=K.offsetTop-fe.offsetTop-(w.value/2-K.getBoundingClientRect().height)-R)})},X=ne=>{ne.disabled||l("selected",ne.value)},Y=()=>{l("toggle"),l("reset-flow")},E=()=>{s.escClose&&Y()},j=(ne,K,S,Q)=>{ne&&((K.active||K.value===s.focusValue)&&(m.value=ne),s.arrowNavigation&&(Array.isArray(y.value[S])?y.value[S][Q]=ne:y.value[S]=[ne],G()))},G=()=>{var ne,K;const S=(ne=s.headerRefs)!=null&&ne.length?[s.headerRefs].concat(y.value):y.value.concat([s.skipButtonRef?[]:[x.value]]);o(mt(S),(K=s.headerRefs)!=null&&K.length?"monthPicker":"selectionGrid")},U=ne=>{s.arrowNavigation||ia(ne,f.value,!0)},de=ne=>{b.value=ne,l("hover-value",ne)},W=()=>{if(Y(),!s.isLast){const ne=Yr(s.menuWrapRef??null,"action-row");if(ne){const K=hl(ne);K==null||K.focus()}}},_=ne=>{switch(ne.key){case Ue.esc:return E();case Ue.arrowLeft:return U(ne);case Ue.arrowRight:return U(ne);case Ue.arrowUp:return U(ne);case Ue.arrowDown:return U(ne);default:return}},ie=ne=>{if(ne.key===Ue.enter)return Y();if(ne.key===Ue.tab)return W()};return a({focusGrid:A}),(ne,K)=>{var S;return t.openBlock(),t.createElementBlock("div",{ref_key:"gridWrapRef",ref:u,class:t.normalizeClass(D.value),style:t.normalizeStyle(V.value),role:ne.useRelative?void 0:"dialog","aria-label":ne.overlayLabel,tabindex:ne.useRelative?void 0:"0",onKeydown:_,onClick:K[0]||(K[0]=t.withModifiers(()=>{},["prevent"]))},[t.createElementVNode("div",{ref_key:"containerRef",ref:k,class:t.normalizeClass(I.value),style:t.normalizeStyle({"--dp-overlay-height":`${w.value}px`}),role:"grid"},[t.createElementVNode("div",z3,[t.renderSlot(ne.$slots,"header")]),ne.$slots.overlay?t.renderSlot(ne.$slots,"overlay",{key:0}):(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(ne.items,(Q,fe)=>(t.openBlock(),t.createElementBlock("div",{key:fe,class:t.normalizeClass(["dp__overlay_row",{dp__flex_row:ne.items.length>=3}]),role:"row"},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(Q,(R,ye)=>(t.openBlock(),t.createElementBlock("div",{key:R.value,ref_for:!0,ref:Z=>j(Z,R,fe,ye),role:"gridcell",class:t.normalizeClass(C.value),"aria-selected":R.active||void 0,"aria-disabled":R.disabled||void 0,tabindex:"0","data-test":R.text,onClick:t.withModifiers(Z=>X(R),["prevent"]),onKeydown:Z=>t.unref(wt)(Z,()=>X(R),!0),onMouseover:Z=>de(R.value)},[t.createElementVNode("div",{class:t.normalizeClass(R.className)},[ne.$slots.item?t.renderSlot(ne.$slots,"item",{key:0,item:R}):t.createCommentVNode("",!0),ne.$slots.item?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(R.text),1)],64))],2)],42,I3))),128))],2))),128))],6),ne.$slots["button-icon"]?t.withDirectives((t.openBlock(),t.createElementBlock("button",{key:0,ref_key:"toggleButton",ref:x,type:"button","aria-label":(S=t.unref(d))==null?void 0:S.toggleOverlay,class:t.normalizeClass(M.value),tabindex:"0",onClick:Y,onKeydown:ie},[t.renderSlot(ne.$slots,"button-icon")],42,G3)),[[t.vShow,!t.unref(h)(ne.hideNavigation,ne.type)]]):t.createCommentVNode("",!0)],46,R3)}}}),qn=t.defineComponent({__name:"InstanceWrap",props:{multiCalendars:{},stretch:{type:Boolean},collapse:{type:Boolean}},setup(e){const a=e,n=t.computed(()=>a.multiCalendars>0?[...Array(a.multiCalendars).keys()]:[0]),r=t.computed(()=>({dp__instance_calendar:a.multiCalendars>0}));return(o,i)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass({dp__menu_inner:!o.stretch,"dp--menu--inner-stretched":o.stretch,dp__flex_display:o.multiCalendars>0,"dp--flex-display-collapsed":o.collapse})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.value,(l,s)=>(t.openBlock(),t.createElementBlock("div",{key:l,class:t.normalizeClass(r.value)},[t.renderSlot(o.$slots,"default",{instance:l,index:s})],2))),128))],2))}}),j3=["data-dp-element","aria-label","aria-disabled"],fn=t.defineComponent({compatConfig:{MODE:3},__name:"ArrowBtn",props:{ariaLabel:{},elName:{},disabled:{type:Boolean}},emits:["activate","set-ref"],setup(e,{emit:a}){const n=a,r=t.ref(null);return t.onMounted(()=>n("set-ref",r)),(o,i)=>(t.openBlock(),t.createElementBlock("button",{ref_key:"elRef",ref:r,type:"button","data-dp-element":o.elName,class:"dp__btn dp--arrow-btn-nav",tabindex:"0","aria-label":o.ariaLabel,"aria-disabled":o.disabled||void 0,onClick:i[0]||(i[0]=l=>o.$emit("activate")),onKeydown:i[1]||(i[1]=l=>t.unref(wt)(l,()=>o.$emit("activate"),!0))},[t.createElementVNode("span",{class:t.normalizeClass(["dp__inner_nav",{dp__inner_nav_disabled:o.disabled}])},[t.renderSlot(o.$slots,"default")],2)],40,j3))}}),q3=["aria-label","data-test"],_l=t.defineComponent({__name:"YearModePicker",props:{...Rt,showYearPicker:{type:Boolean,default:!1},items:{type:Array,default:()=>[]},instance:{type:Number,default:0},year:{type:Number,default:0},isDisabled:{type:Function,default:()=>!1}},emits:["toggle-year-picker","year-select","handle-year"],setup(e,{emit:a}){const n=a,r=e,{showRightIcon:o,showLeftIcon:i}=Yn(),{defaultedConfig:l,defaultedMultiCalendars:s,defaultedAriaLabels:d,defaultedTransitions:p,defaultedUI:f}=Ze(r),{showTransition:h,transitionName:c}=hn(p),m=t.ref(!1),u=(x=!1,w)=>{m.value=!m.value,n("toggle-year-picker",{flow:x,show:w})},y=x=>{m.value=!1,n("year-select",x)},b=(x=!1)=>{n("handle-year",x)};return(x,w)=>{var k,B,A,D,V;return t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("div",{class:t.normalizeClass(["dp--year-mode-picker",{"dp--hidden-el":m.value}])},[t.unref(i)(t.unref(s),e.instance)?(t.openBlock(),t.createBlock(fn,{key:0,ref:"mpPrevIconRef","aria-label":(k=t.unref(d))==null?void 0:k.prevYear,disabled:e.isDisabled(!1),class:t.normalizeClass((B=t.unref(f))==null?void 0:B.navBtnPrev),onActivate:w[0]||(w[0]=C=>b(!1))},{default:t.withCtx(()=>[x.$slots["arrow-left"]?t.renderSlot(x.$slots,"arrow-left",{key:0}):t.createCommentVNode("",!0),x.$slots["arrow-left"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref($r),{key:1}))]),_:3},8,["aria-label","disabled","class"])):t.createCommentVNode("",!0),t.createElementVNode("button",{ref:"mpYearButtonRef",class:"dp__btn dp--year-select",type:"button","aria-label":`${e.year}-${(A=t.unref(d))==null?void 0:A.openYearsOverlay}`,"data-test":`year-mode-btn-${e.instance}`,onClick:w[1]||(w[1]=()=>u(!1)),onKeydown:w[2]||(w[2]=t.withKeys(()=>u(!1),["enter"]))},[x.$slots.year?t.renderSlot(x.$slots,"year",{key:0,year:e.year}):t.createCommentVNode("",!0),x.$slots.year?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(e.year),1)],64))],40,q3),t.unref(o)(t.unref(s),e.instance)?(t.openBlock(),t.createBlock(fn,{key:1,ref:"mpNextIconRef","aria-label":(D=t.unref(d))==null?void 0:D.nextYear,disabled:e.isDisabled(!0),class:t.normalizeClass((V=t.unref(f))==null?void 0:V.navBtnNext),onActivate:w[3]||(w[3]=C=>b(!0))},{default:t.withCtx(()=>[x.$slots["arrow-right"]?t.renderSlot(x.$slots,"arrow-right",{key:0}):t.createCommentVNode("",!0),x.$slots["arrow-right"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref(Hr),{key:1}))]),_:3},8,["aria-label","disabled","class"])):t.createCommentVNode("",!0)],2),t.createVNode(t.Transition,{name:t.unref(c)(e.showYearPicker),css:t.unref(h)},{default:t.withCtx(()=>{var C,M;return[e.showYearPicker?(t.openBlock(),t.createBlock(mn,{key:0,items:e.items,"text-input":x.textInput,"esc-close":x.escClose,config:x.config,"is-last":x.autoApply&&!t.unref(l).keepActionRow,"hide-navigation":x.hideNavigation,"aria-labels":x.ariaLabels,"overlay-label":(M=(C=t.unref(d))==null?void 0:C.yearPicker)==null?void 0:M.call(C,!0),type:"year",onToggle:u,onSelected:w[4]||(w[4]=I=>y(I))},t.createSlots({"button-icon":t.withCtx(()=>[x.$slots["calendar-icon"]?t.renderSlot(x.$slots,"calendar-icon",{key:0}):t.createCommentVNode("",!0),x.$slots["calendar-icon"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref(za),{key:1}))]),_:2},[x.$slots["year-overlay-value"]?{name:"item",fn:t.withCtx(({item:I})=>[t.renderSlot(x.$slots,"year-overlay-value",{text:I.text,value:I.value})]),key:"0"}:void 0]),1032,["items","text-input","esc-close","config","is-last","hide-navigation","aria-labels","overlay-label"])):t.createCommentVNode("",!0)]}),_:3},8,["name","css"])],64)}}}),lo=(e,a,n)=>{if(a.value&&Array.isArray(a.value))if(a.value.some(r=>Fe(e,r))){const r=a.value.filter(o=>!Fe(o,e));a.value=r.length?r:null}else(n&&+n>a.value.length||!n)&&a.value.push(e);else a.value=[e]},so=(e,a,n)=>{let r=e.value?e.value.slice():[];return r.length===2&&r[1]!==null&&(r=[]),r.length?tt(a,r[0])?(r.unshift(a),n("range-start",r[0]),n("range-start",r[1])):(r[1]=a,n("range-end",a)):(r=[a],n("range-start",a)),r},Wn=(e,a,n,r)=>{e&&(e[0]&&e[1]&&n&&a("auto-apply"),e[0]&&!e[1]&&r&&n&&a("auto-apply"))},Nl=e=>{Array.isArray(e.value)&&e.value.length<=2&&e.range?e.modelValue.value=e.value.map(a=>At(pe(a),e.timezone)):Array.isArray(e.value)||(e.modelValue.value=At(pe(e.value),e.timezone))},Dl=(e,a,n,r)=>Array.isArray(a.value)&&(a.value.length===2||a.value.length===1&&r.value.partialRange)?r.value.fixedStart&&(it(e,a.value[0])||Fe(e,a.value[0]))?[a.value[0],e]:r.value.fixedEnd&&(tt(e,a.value[1])||Fe(e,a.value[1]))?[e,a.value[1]]:(n("invalid-fixed-range",e),a.value):[],Tl=({multiCalendars:e,range:a,highlight:n,propDates:r,calendars:o,modelValue:i,props:l,filters:s,year:d,month:p,emit:f})=>{const h=t.computed(()=>qr(l.yearRange,l.locale,l.reverseYears)),c=t.ref([!1]),m=t.computed(()=>(I,$)=>{const X=We(Ht(new Date),{month:p.value(I),year:d.value(I)}),Y=$?Ii(X):on(X);return vl(Y,r.value.maxDate,r.value.minDate,l.preventMinMaxNavigation,$)}),u=()=>Array.isArray(i.value)&&e.value.solo&&i.value[1],y=()=>{for(let I=0;I<e.value.count;I++)if(I===0)o.value[I]=o.value[0];else if(I===e.value.count-1&&u())o.value[I]={month:Oe(i.value[1]),year:Ve(i.value[1])};else{const $=We(pe(),o.value[I-1]);o.value[I]={month:Oe($),year:Ve(Ar($,1))}}},b=I=>{if(!I)return y();const $=We(pe(),o.value[I]);return o.value[0].year=Ve(ll($,e.value.count-1)),y()},x=(I,$)=>{const X=i2($,I);return a.value.showLastInRange&&X>1?$:I},w=I=>l.focusStartDate||e.value.solo?I[0]:I[1]?x(I[0],I[1]):I[0],k=()=>{if(i.value){const I=Array.isArray(i.value)?w(i.value):i.value;o.value[0]={month:Oe(I),year:Ve(I)}}},B=()=>{k(),e.value.count&&y()};t.watch(i,(I,$)=>{l.isTextInputDate&&JSON.stringify(I??{})!==JSON.stringify($??{})&&B()}),t.onMounted(()=>{B()});const A=(I,$)=>{o.value[$].year=I,f("update-month-year",{instance:$,year:I,month:o.value[$].month}),e.value.count&&!e.value.solo&&b($)},D=t.computed(()=>I=>Ia(h.value,$=>{var X;const Y=d.value(I)===$.value,E=dn($.value,Ga(r.value.minDate),Ga(r.value.maxDate))||((X=s.value.years)==null?void 0:X.includes(d.value(I))),j=to(n.value,$.value);return{active:Y,disabled:E,highlighted:j}})),V=(I,$)=>{A(I,$),M($)},C=(I,$=!1)=>{if(!m.value(I,$)){const X=$?d.value(I)+1:d.value(I)-1;A(X,I)}},M=(I,$=!1,X)=>{$||f("reset-flow"),X!==void 0?c.value[I]=X:c.value[I]=!c.value[I],c.value[I]?f("overlay-toggle",{open:!0,overlay:yt.year}):(f("overlay-closed"),f("overlay-toggle",{open:!1,overlay:yt.year}))};return{isDisabled:m,groupedYears:D,showYearPicker:c,selectYear:A,toggleYearPicker:M,handleYearSelect:V,handleYear:C}},W3=(e,a)=>{const{defaultedMultiCalendars:n,defaultedAriaLabels:r,defaultedTransitions:o,defaultedConfig:i,defaultedRange:l,defaultedHighlight:s,propDates:d,defaultedTz:p,defaultedFilters:f,defaultedMultiDates:h}=Ze(e),c=()=>{e.isTextInputDate&&B(Ve(pe(e.startDate)),0)},{modelValue:m,year:u,month:y,calendars:b}=pn(e,a,c),x=t.computed(()=>dl(e.formatLocale,e.locale,e.monthNameFormat)),w=t.ref(null),{checkMinMaxRange:k}=ua(e),{selectYear:B,groupedYears:A,showYearPicker:D,toggleYearPicker:V,handleYearSelect:C,handleYear:M,isDisabled:I}=Tl({modelValue:m,multiCalendars:n,range:l,highlight:s,calendars:b,year:u,propDates:d,month:y,filters:f,props:e,emit:a});t.onMounted(()=>{e.startDate&&(m.value&&e.focusStartDate||!m.value)&&B(Ve(pe(e.startDate)),0)});const $=S=>S?{month:Oe(S),year:Ve(S)}:{month:null,year:null},X=()=>m.value?Array.isArray(m.value)?m.value.map(S=>$(S)):$(m.value):$(),Y=(S,Q)=>{const fe=b.value[S],R=X();return Array.isArray(R)?R.some(ye=>ye.year===(fe==null?void 0:fe.year)&&ye.month===Q):(fe==null?void 0:fe.year)===R.year&&Q===R.month},E=(S,Q,fe)=>{var R,ye;const Z=X();return Array.isArray(Z)?u.value(Q)===((R=Z[fe])==null?void 0:R.year)&&S===((ye=Z[fe])==null?void 0:ye.month):!1},j=(S,Q)=>{if(l.value.enabled){const fe=X();if(Array.isArray(m.value)&&Array.isArray(fe)){const R=E(S,Q,0)||E(S,Q,1),ye=Kt(Ht(pe()),S,u.value(Q));return zn(m.value,w.value,ye)&&!R}return!1}return!1},G=t.computed(()=>S=>Ia(x.value,Q=>{var fe;const R=Y(S,Q.value),ye=dn(Q.value,kl(u.value(S),d.value.minDate),xl(u.value(S),d.value.maxDate))||y3(d.value.disabledDates,u.value(S)).includes(Q.value)||((fe=f.value.months)==null?void 0:fe.includes(Q.value)),Z=j(Q.value,S),me=Sl(s.value,Q.value,u.value(S));return{active:R,disabled:ye,isBetween:Z,highlighted:me}})),U=(S,Q)=>Kt(Ht(pe()),S,u.value(Q)),de=(S,Q)=>{const fe=m.value?m.value:Ht(new Date);m.value=Kt(fe,S,u.value(Q)),a("auto-apply"),a("update-flow-step")},W=(S,Q)=>{const fe=U(S,Q);l.value.fixedEnd||l.value.fixedStart?m.value=Dl(fe,m,a,l):m.value?k(fe,m.value)&&(m.value=so(m,U(S,Q),a)):m.value=[U(S,Q)],t.nextTick().then(()=>{Wn(m.value,a,e.autoApply,e.modelAuto)})},_=(S,Q)=>{lo(U(S,Q),m,h.value.limit),a("auto-apply",!0)},ie=(S,Q)=>(b.value[Q].month=S,K(Q,b.value[Q].year,S),h.value.enabled?_(S,Q):l.value.enabled?W(S,Q):de(S,Q)),ne=(S,Q)=>{B(S,Q),K(Q,S,null)},K=(S,Q,fe)=>{let R=fe;if(!R&&R!==0){const ye=X();R=Array.isArray(ye)?ye[S].month:ye.month}a("update-month-year",{instance:S,year:Q,month:R})};return{groupedMonths:G,groupedYears:A,year:u,isDisabled:I,defaultedMultiCalendars:n,defaultedAriaLabels:r,defaultedTransitions:o,defaultedConfig:i,showYearPicker:D,modelValue:m,presetDate:(S,Q)=>{Nl({value:S,modelValue:m,range:l.value.enabled,timezone:Q?void 0:p.value.timezone}),a("auto-apply")},setHoverDate:(S,Q)=>{w.value=U(S,Q)},selectMonth:ie,selectYear:ne,toggleYearPicker:V,handleYearSelect:C,handleYear:M,getModelMonthYear:X}},Y3=t.defineComponent({compatConfig:{MODE:3},__name:"MonthPicker",props:{...Rt},emits:["update:internal-model-value","overlay-closed","reset-flow","range-start","range-end","auto-apply","update-month-year","update-flow-step","mount","invalid-fixed-range","overlay-toggle"],setup(e,{expose:a,emit:n}){const r=n,o=t.useSlots(),i=Vt(o,"yearMode"),l=e;t.onMounted(()=>{l.shadow||r("mount",null)});const{groupedMonths:s,groupedYears:d,year:p,isDisabled:f,defaultedMultiCalendars:h,defaultedConfig:c,showYearPicker:m,modelValue:u,presetDate:y,setHoverDate:b,selectMonth:x,selectYear:w,toggleYearPicker:k,handleYearSelect:B,handleYear:A,getModelMonthYear:D}=W3(l,r);return a({getSidebarProps:()=>({modelValue:u,year:p,getModelMonthYear:D,selectMonth:x,selectYear:w,handleYear:A}),presetDate:y,toggleYearPicker:V=>k(0,V)}),(V,C)=>(t.openBlock(),t.createBlock(qn,{"multi-calendars":t.unref(h).count,collapse:V.collapse,stretch:""},{default:t.withCtx(({instance:M})=>[V.$slots["top-extra"]?t.renderSlot(V.$slots,"top-extra",{key:0,value:V.internalModelValue}):t.createCommentVNode("",!0),V.$slots["month-year"]?t.renderSlot(V.$slots,"month-year",t.normalizeProps(t.mergeProps({key:1},{year:t.unref(p),months:t.unref(s)(M),years:t.unref(d)(M),selectMonth:t.unref(x),selectYear:t.unref(w),instance:M}))):(t.openBlock(),t.createBlock(mn,{key:2,items:t.unref(s)(M),"arrow-navigation":V.arrowNavigation,"is-last":V.autoApply&&!t.unref(c).keepActionRow,"esc-close":V.escClose,height:t.unref(c).modeHeight,config:V.config,"no-overlay-focus":!!(V.noOverlayFocus||V.textInput),"use-relative":"",type:"month",onSelected:I=>t.unref(x)(I,M),onHoverValue:I=>t.unref(b)(I,M)},t.createSlots({header:t.withCtx(()=>[t.createVNode(_l,t.mergeProps(V.$props,{items:t.unref(d)(M),instance:M,"show-year-picker":t.unref(m)[M],year:t.unref(p)(M),"is-disabled":I=>t.unref(f)(M,I),onHandleYear:I=>t.unref(A)(M,I),onYearSelect:I=>t.unref(B)(I,M),onToggleYearPicker:I=>t.unref(k)(M,I==null?void 0:I.flow,I==null?void 0:I.show)}),t.createSlots({_:2},[t.renderList(t.unref(i),(I,$)=>({name:I,fn:t.withCtx(X=>[t.renderSlot(V.$slots,I,t.normalizeProps(t.guardReactiveProps(X)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),_:2},[V.$slots["month-overlay-value"]?{name:"item",fn:t.withCtx(({item:I})=>[t.renderSlot(V.$slots,"month-overlay-value",{text:I.text,value:I.value})]),key:"0"}:void 0]),1032,["items","arrow-navigation","is-last","esc-close","height","config","no-overlay-focus","onSelected","onHoverValue"]))]),_:3},8,["multi-calendars","collapse"]))}}),U3=(e,a)=>{const n=()=>{e.isTextInputDate&&(f.value=Ve(pe(e.startDate)))},{modelValue:r}=pn(e,a,n),o=t.ref(null),{defaultedHighlight:i,defaultedMultiDates:l,defaultedFilters:s,defaultedRange:d,propDates:p}=Ze(e),f=t.ref();t.onMounted(()=>{e.startDate&&(r.value&&e.focusStartDate||!r.value)&&(f.value=Ve(pe(e.startDate)))});const h=y=>Array.isArray(r.value)?r.value.some(b=>Ve(b)===y):r.value?Ve(r.value)===y:!1,c=y=>d.value.enabled&&Array.isArray(r.value)?zn(r.value,o.value,u(y)):!1,m=t.computed(()=>Ia(qr(e.yearRange,e.locale,e.reverseYears),y=>{const b=h(y.value),x=dn(y.value,Ga(p.value.minDate),Ga(p.value.maxDate))||s.value.years.includes(y.value),w=c(y.value)&&!b,k=to(i.value,y.value);return{active:b,disabled:x,isBetween:w,highlighted:k}})),u=y=>Wt(Ht(on(new Date)),y);return{groupedYears:m,modelValue:r,focusYear:f,setHoverValue:y=>{o.value=Wt(Ht(new Date),y)},selectYear:y=>{var b;if(a("update-month-year",{instance:0,year:y}),l.value.enabled)return r.value?Array.isArray(r.value)&&(((b=r.value)==null?void 0:b.map(x=>Ve(x))).includes(y)?r.value=r.value.filter(x=>Ve(x)!==y):r.value.push(Wt(vt(pe()),y))):r.value=[Wt(vt(on(pe())),y)],a("auto-apply",!0);d.value.enabled?(r.value=so(r,u(y),a),t.nextTick().then(()=>{Wn(r.value,a,e.autoApply,e.modelAuto)})):(r.value=u(y),a("auto-apply"))}}},X3=t.defineComponent({compatConfig:{MODE:3},__name:"YearPicker",props:{...Rt},emits:["update:internal-model-value","reset-flow","range-start","range-end","auto-apply","update-month-year"],setup(e,{expose:a,emit:n}){const r=n,o=e,{groupedYears:i,modelValue:l,focusYear:s,selectYear:d,setHoverValue:p}=U3(o,r),{defaultedConfig:f}=Ze(o);return a({getSidebarProps:()=>({modelValue:l,selectYear:d})}),(h,c)=>(t.openBlock(),t.createElementBlock("div",null,[h.$slots["top-extra"]?t.renderSlot(h.$slots,"top-extra",{key:0,value:h.internalModelValue}):t.createCommentVNode("",!0),h.$slots["month-year"]?t.renderSlot(h.$slots,"month-year",t.normalizeProps(t.mergeProps({key:1},{years:t.unref(i),selectYear:t.unref(d)}))):(t.openBlock(),t.createBlock(mn,{key:2,items:t.unref(i),"is-last":h.autoApply&&!t.unref(f).keepActionRow,height:t.unref(f).modeHeight,config:h.config,"no-overlay-focus":!!(h.noOverlayFocus||h.textInput),"focus-value":t.unref(s),type:"year","use-relative":"",onSelected:t.unref(d),onHoverValue:t.unref(p)},t.createSlots({_:2},[h.$slots["year-overlay-value"]?{name:"item",fn:t.withCtx(({item:m})=>[t.renderSlot(h.$slots,"year-overlay-value",{text:m.text,value:m.value})]),key:"0"}:void 0]),1032,["items","is-last","height","config","no-overlay-focus","focus-value","onSelected","onHoverValue"]))]))}}),Z3={key:0,class:"dp__time_input"},Q3=["data-test","aria-label","onKeydown","onClick","onMousedown"],K3=["aria-label","disabled","data-test","onKeydown","onClick"],J3=["data-test","aria-label","onKeydown","onClick","onMousedown"],e4={key:0},t4=["aria-label"],a4=t.defineComponent({compatConfig:{MODE:3},__name:"TimeInput",props:{hours:{type:Number,default:0},minutes:{type:Number,default:0},seconds:{type:Number,default:0},closeTimePickerBtn:{type:Object,default:null},order:{type:Number,default:0},disabledTimesConfig:{type:Function,default:null},validateTime:{type:Function,default:()=>!1},...Rt},emits:["set-hours","set-minutes","update:hours","update:minutes","update:seconds","reset-flow","mounted","overlay-closed","overlay-opened","am-pm-change"],setup(e,{expose:a,emit:n}){const r=n,o=e,{setTimePickerElements:i,setTimePickerBackRef:l}=ca(),{defaultedAriaLabels:s,defaultedTransitions:d,defaultedFilters:p,defaultedConfig:f,defaultedRange:h}=Ze(o),{transitionName:c,showTransition:m}=hn(d),u=t.reactive({hours:!1,minutes:!1,seconds:!1}),y=t.ref("AM"),b=t.ref(null),x=t.ref([]),w=t.ref(),k=t.ref(!1);t.onMounted(()=>{r("mounted")});const B=g=>We(new Date,{hours:g.hours,minutes:g.minutes,seconds:o.enableSeconds?g.seconds:0,milliseconds:0}),A=t.computed(()=>g=>U(g,o[g])||V(g,o[g])),D=t.computed(()=>({hours:o.hours,minutes:o.minutes,seconds:o.seconds})),V=(g,N)=>h.value.enabled&&!h.value.disableTimeRangeValidation?!o.validateTime(g,N):!1,C=(g,N)=>{if(h.value.enabled&&!h.value.disableTimeRangeValidation){const F=N?+o[`${g}Increment`]:-+o[`${g}Increment`],O=o[g]+F;return!o.validateTime(g,O)}return!1},M=t.computed(()=>g=>!ne(+o[g]+ +o[`${g}Increment`],g)||C(g,!0)),I=t.computed(()=>g=>!ne(+o[g]-+o[`${g}Increment`],g)||C(g,!1)),$=(g,N)=>Di(We(pe(),g),N),X=(g,N)=>Jd(We(pe(),g),N),Y=t.computed(()=>({dp__time_col:!0,dp__time_col_block:!o.timePickerInline,dp__time_col_reg_block:!o.enableSeconds&&o.is24&&!o.timePickerInline,dp__time_col_reg_inline:!o.enableSeconds&&o.is24&&o.timePickerInline,dp__time_col_reg_with_button:!o.enableSeconds&&!o.is24,dp__time_col_sec:o.enableSeconds&&o.is24,dp__time_col_sec_with_button:o.enableSeconds&&!o.is24})),E=t.computed(()=>{const g=[{type:"hours"}];return o.enableMinutes&&g.push({type:"",separator:!0},{type:"minutes"}),o.enableSeconds&&g.push({type:"",separator:!0},{type:"seconds"}),g}),j=t.computed(()=>E.value.filter(g=>!g.separator)),G=t.computed(()=>g=>{if(g==="hours"){const N=ye(+o.hours);return{text:N<10?`0${N}`:`${N}`,value:N}}return{text:o[g]<10?`0${o[g]}`:`${o[g]}`,value:o[g]}}),U=(g,N)=>{var F;if(!o.disabledTimesConfig)return!1;const O=o.disabledTimesConfig(o.order,g==="hours"?N:void 0);return O[g]?!!((F=O[g])!=null&&F.includes(N)):!0},de=(g,N)=>N!=="hours"||y.value==="AM"?g:g+12,W=g=>{const N=o.is24?24:12,F=g==="hours"?N:60,O=+o[`${g}GridIncrement`],J=g==="hours"&&!o.is24?O:0,H=[];for(let te=J;te<F;te+=O)H.push({value:o.is24?te:de(te,g),text:te<10?`0${te}`:`${te}`});return g==="hours"&&!o.is24&&H.unshift({value:y.value==="PM"?12:0,text:"12"}),Ia(H,te=>({active:!1,disabled:p.value.times[g].includes(te.value)||!ne(te.value,g)||U(g,te.value)||V(g,te.value)}))},_=g=>g>=0?g:59,ie=g=>g>=0?g:23,ne=(g,N)=>{const F=o.minTime?B(Zr(o.minTime)):null,O=o.maxTime?B(Zr(o.maxTime)):null,J=B(Zr(D.value,N,N==="minutes"||N==="seconds"?_(g):ie(g)));return F&&O?(cn(J,O)||Ha(J,O))&&($a(J,F)||Ha(J,F)):F?$a(J,F)||Ha(J,F):O?cn(J,O)||Ha(J,O):!0},K=g=>o[`no${g[0].toUpperCase()+g.slice(1)}Overlay`],S=g=>{K(g)||(u[g]=!u[g],u[g]?(k.value=!0,r("overlay-opened",g)):(k.value=!1,r("overlay-closed",g)))},Q=g=>g==="hours"?Zt:g==="minutes"?oa:La,fe=()=>{w.value&&clearTimeout(w.value)},R=(g,N=!0,F)=>{const O=N?$:X,J=N?+o[`${g}Increment`]:-+o[`${g}Increment`];ne(+o[g]+J,g)&&r(`update:${g}`,Q(g)(O({[g]:+o[g]},{[g]:+o[`${g}Increment`]}))),!(F!=null&&F.keyboard)&&f.value.timeArrowHoldThreshold&&(w.value=setTimeout(()=>{R(g,N)},f.value.timeArrowHoldThreshold))},ye=g=>o.is24?g:(g>=12?y.value="PM":y.value="AM",o3(g)),Z=()=>{y.value==="PM"?(y.value="AM",r("update:hours",o.hours-12)):(y.value="PM",r("update:hours",o.hours+12)),r("am-pm-change",y.value)},me=g=>{u[g]=!0},L=(g,N,F)=>{if(g&&o.arrowNavigation){Array.isArray(x.value[N])?x.value[N][F]=g:x.value[N]=[g];const O=x.value.reduce((J,H)=>H.map((te,ce)=>[...J[ce]||[],H[ce]]),[]);l(o.closeTimePickerBtn),b.value&&(O[1]=O[1].concat(b.value)),i(O,o.order)}},v=(g,N)=>(S(g),r(`update:${g}`,N));return a({openChildCmp:me}),(g,N)=>{var F;return g.disabled?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",Z3,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(E.value,(O,J)=>{var H,te,ce;return t.openBlock(),t.createElementBlock("div",{key:J,class:t.normalizeClass(Y.value)},[O.separator?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[k.value?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(":")],64))],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createElementVNode("button",{ref_for:!0,ref:ge=>L(ge,J,0),type:"button",class:t.normalizeClass({dp__btn:!0,dp__inc_dec_button:!g.timePickerInline,dp__inc_dec_button_inline:g.timePickerInline,dp__tp_inline_btn_top:g.timePickerInline,dp__inc_dec_button_disabled:M.value(O.type),"dp--hidden-el":k.value}),"data-test":`${O.type}-time-inc-btn-${o.order}`,"aria-label":(H=t.unref(s))==null?void 0:H.incrementValue(O.type),tabindex:"0",onKeydown:ge=>t.unref(wt)(ge,()=>R(O.type,!0,{keyboard:!0}),!0),onClick:ge=>t.unref(f).timeArrowHoldThreshold?void 0:R(O.type,!0),onMousedown:ge=>t.unref(f).timeArrowHoldThreshold?R(O.type,!0):void 0,onMouseup:fe},[o.timePickerInline?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[g.$slots["tp-inline-arrow-up"]?t.renderSlot(g.$slots,"tp-inline-arrow-up",{key:0}):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[N[2]||(N[2]=t.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1)),N[3]||(N[3]=t.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1))],64))],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[g.$slots["arrow-up"]?t.renderSlot(g.$slots,"arrow-up",{key:0}):t.createCommentVNode("",!0),g.$slots["arrow-up"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref(zr),{key:1}))],64))],42,Q3),t.createElementVNode("button",{ref_for:!0,ref:ge=>L(ge,J,1),type:"button","aria-label":`${G.value(O.type).text}-${(te=t.unref(s))==null?void 0:te.openTpOverlay(O.type)}`,class:t.normalizeClass({dp__time_display:!0,dp__time_display_block:!g.timePickerInline,dp__time_display_inline:g.timePickerInline,"dp--time-invalid":A.value(O.type),"dp--time-overlay-btn":!A.value(O.type),"dp--hidden-el":k.value}),disabled:K(O.type),tabindex:"0","data-test":`${O.type}-toggle-overlay-btn-${o.order}`,onKeydown:ge=>t.unref(wt)(ge,()=>S(O.type),!0),onClick:ge=>S(O.type)},[g.$slots[O.type]?t.renderSlot(g.$slots,O.type,{key:0,text:G.value(O.type).text,value:G.value(O.type).value}):t.createCommentVNode("",!0),g.$slots[O.type]?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(G.value(O.type).text),1)],64))],42,K3),t.createElementVNode("button",{ref_for:!0,ref:ge=>L(ge,J,2),type:"button",class:t.normalizeClass({dp__btn:!0,dp__inc_dec_button:!g.timePickerInline,dp__inc_dec_button_inline:g.timePickerInline,dp__tp_inline_btn_bottom:g.timePickerInline,dp__inc_dec_button_disabled:I.value(O.type),"dp--hidden-el":k.value}),"data-test":`${O.type}-time-dec-btn-${o.order}`,"aria-label":(ce=t.unref(s))==null?void 0:ce.decrementValue(O.type),tabindex:"0",onKeydown:ge=>t.unref(wt)(ge,()=>R(O.type,!1,{keyboard:!0}),!0),onClick:ge=>t.unref(f).timeArrowHoldThreshold?void 0:R(O.type,!1),onMousedown:ge=>t.unref(f).timeArrowHoldThreshold?R(O.type,!1):void 0,onMouseup:fe},[o.timePickerInline?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[g.$slots["tp-inline-arrow-down"]?t.renderSlot(g.$slots,"tp-inline-arrow-down",{key:0}):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[N[4]||(N[4]=t.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1)),N[5]||(N[5]=t.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1))],64))],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[g.$slots["arrow-down"]?t.renderSlot(g.$slots,"arrow-down",{key:0}):t.createCommentVNode("",!0),g.$slots["arrow-down"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref(Ir),{key:1}))],64))],42,J3)],64))],2)}),128)),g.is24?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",e4,[g.$slots["am-pm-button"]?t.renderSlot(g.$slots,"am-pm-button",{key:0,toggle:Z,value:y.value}):t.createCommentVNode("",!0),g.$slots["am-pm-button"]?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("button",{key:1,ref_key:"amPmButton",ref:b,type:"button",class:"dp__pm_am_button",role:"button","aria-label":(F=t.unref(s))==null?void 0:F.amPmButton,tabindex:"0",onClick:Z,onKeydown:N[0]||(N[0]=O=>t.unref(wt)(O,()=>Z(),!0))},t.toDisplayString(y.value),41,t4))])),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(j.value,(O,J)=>(t.openBlock(),t.createBlock(t.Transition,{key:J,name:t.unref(c)(u[O.type]),css:t.unref(m)},{default:t.withCtx(()=>{var H,te;return[u[O.type]?(t.openBlock(),t.createBlock(mn,{key:0,items:W(O.type),"is-last":g.autoApply&&!t.unref(f).keepActionRow,"esc-close":g.escClose,type:O.type,"text-input":g.textInput,config:g.config,"arrow-navigation":g.arrowNavigation,"aria-labels":g.ariaLabels,"overlay-label":(te=(H=t.unref(s)).timeOverlay)==null?void 0:te.call(H,O.type),onSelected:ce=>v(O.type,ce),onToggle:ce=>S(O.type),onResetFlow:N[1]||(N[1]=ce=>g.$emit("reset-flow"))},t.createSlots({"button-icon":t.withCtx(()=>[g.$slots["clock-icon"]?t.renderSlot(g.$slots,"clock-icon",{key:0}):t.createCommentVNode("",!0),g.$slots["clock-icon"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.resolveDynamicComponent(g.timePickerInline?t.unref(za):t.unref(Rr)),{key:1}))]),_:2},[g.$slots[`${O.type}-overlay-value`]?{name:"item",fn:t.withCtx(({item:ce})=>[t.renderSlot(g.$slots,`${O.type}-overlay-value`,{text:ce.text,value:ce.value})]),key:"0"}:void 0,g.$slots[`${O.type}-overlay-header`]?{name:"header",fn:t.withCtx(()=>[t.renderSlot(g.$slots,`${O.type}-overlay-header`,{toggle:()=>S(O.type)})]),key:"1"}:void 0]),1032,["items","is-last","esc-close","type","text-input","config","arrow-navigation","aria-labels","overlay-label","onSelected","onToggle"])):t.createCommentVNode("",!0)]}),_:2},1032,["name","css"]))),128))]))}}}),n4={class:"dp--tp-wrap"},r4=["aria-label","tabindex"],o4=["role","aria-label","tabindex"],i4=["aria-label"],Pl=t.defineComponent({compatConfig:{MODE:3},__name:"TimePicker",props:{hours:{type:[Number,Array],default:0},minutes:{type:[Number,Array],default:0},seconds:{type:[Number,Array],default:0},disabledTimesConfig:{type:Function,default:null},validateTime:{type:Function,default:()=>!1},...Rt},emits:["update:hours","update:minutes","update:seconds","mount","reset-flow","overlay-opened","overlay-closed","am-pm-change"],setup(e,{expose:a,emit:n}){const r=n,o=e,{buildMatrix:i,setTimePicker:l}=ca(),s=t.useSlots(),{defaultedTransitions:d,defaultedAriaLabels:p,defaultedTextInput:f,defaultedConfig:h,defaultedRange:c}=Ze(o),{transitionName:m,showTransition:u}=hn(d),{hideNavigationButtons:y}=Yn(),b=t.ref(null),x=t.ref(null),w=t.ref([]),k=t.ref(null),B=t.ref(!1);t.onMounted(()=>{r("mount"),!o.timePicker&&o.arrowNavigation?i([ct(b.value)],"time"):l(!0,o.timePicker)});const A=t.computed(()=>c.value.enabled&&o.modelAuto?ul(o.internalModelValue):!0),D=t.ref(!1),V=W=>({hours:Array.isArray(o.hours)?o.hours[W]:o.hours,minutes:Array.isArray(o.minutes)?o.minutes[W]:o.minutes,seconds:Array.isArray(o.seconds)?o.seconds[W]:o.seconds}),C=t.computed(()=>{const W=[];if(c.value.enabled)for(let _=0;_<2;_++)W.push(V(_));else W.push(V(0));return W}),M=(W,_=!1,ie="")=>{_||r("reset-flow"),D.value=W,r(W?"overlay-opened":"overlay-closed",yt.time),o.arrowNavigation&&l(W),t.nextTick(()=>{ie!==""&&w.value[0]&&w.value[0].openChildCmp(ie)})},I=t.computed(()=>({dp__btn:!0,dp__button:!0,dp__button_bottom:o.autoApply&&!h.value.keepActionRow})),$=Vt(s,"timePicker"),X=(W,_,ie)=>c.value.enabled?_===0?[W,C.value[1][ie]]:[C.value[0][ie],W]:W,Y=W=>{r("update:hours",W)},E=W=>{r("update:minutes",W)},j=W=>{r("update:seconds",W)},G=()=>{if(k.value&&!f.value.enabled&&!o.noOverlayFocus){const W=hl(k.value);W&&W.focus({preventScroll:!0})}},U=W=>{B.value=!1,r("overlay-closed",W)},de=W=>{B.value=!0,r("overlay-opened",W)};return a({toggleTimePicker:M}),(W,_)=>{var ie;return t.openBlock(),t.createElementBlock("div",n4,[!W.timePicker&&!W.timePickerInline?t.withDirectives((t.openBlock(),t.createElementBlock("button",{key:0,ref_key:"openTimePickerBtn",ref:b,type:"button",class:t.normalizeClass({...I.value,"dp--hidden-el":D.value}),"aria-label":(ie=t.unref(p))==null?void 0:ie.openTimePicker,tabindex:W.noOverlayFocus?void 0:0,"data-test":"open-time-picker-btn",onKeydown:_[0]||(_[0]=ne=>t.unref(wt)(ne,()=>M(!0))),onClick:_[1]||(_[1]=ne=>M(!0))},[W.$slots["clock-icon"]?t.renderSlot(W.$slots,"clock-icon",{key:0}):t.createCommentVNode("",!0),W.$slots["clock-icon"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref(Rr),{key:1}))],42,r4)),[[t.vShow,!t.unref(y)(W.hideNavigation,"time")]]):t.createCommentVNode("",!0),t.createVNode(t.Transition,{name:t.unref(m)(D.value),css:t.unref(u)&&!W.timePickerInline},{default:t.withCtx(()=>{var ne,K;return[D.value||W.timePicker||W.timePickerInline?(t.openBlock(),t.createElementBlock("div",{key:0,ref_key:"overlayRef",ref:k,role:W.timePickerInline?void 0:"dialog",class:t.normalizeClass({dp__overlay:!W.timePickerInline,"dp--overlay-absolute":!o.timePicker&&!W.timePickerInline,"dp--overlay-relative":o.timePicker}),style:t.normalizeStyle(W.timePicker?{height:`${t.unref(h).modeHeight}px`}:void 0),"aria-label":(ne=t.unref(p))==null?void 0:ne.timePicker,tabindex:W.timePickerInline?void 0:0},[t.createElementVNode("div",{class:t.normalizeClass(W.timePickerInline?"dp__time_picker_inline_container":"dp__overlay_container dp__container_flex dp__time_picker_overlay_container"),style:{display:"flex"}},[W.$slots["time-picker-overlay"]?t.renderSlot(W.$slots,"time-picker-overlay",{key:0,hours:e.hours,minutes:e.minutes,seconds:e.seconds,setHours:Y,setMinutes:E,setSeconds:j}):t.createCommentVNode("",!0),W.$slots["time-picker-overlay"]?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(W.timePickerInline?"dp__flex":"dp__overlay_row dp__flex_row")},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(C.value,(S,Q)=>t.withDirectives((t.openBlock(),t.createBlock(a4,t.mergeProps({key:Q,ref_for:!0},{...W.$props,order:Q,hours:S.hours,minutes:S.minutes,seconds:S.seconds,closeTimePickerBtn:x.value,disabledTimesConfig:e.disabledTimesConfig,disabled:Q===0?t.unref(c).fixedStart:t.unref(c).fixedEnd},{ref_for:!0,ref_key:"timeInputRefs",ref:w,"validate-time":(fe,R)=>e.validateTime(fe,X(R,Q,fe)),"onUpdate:hours":fe=>Y(X(fe,Q,"hours")),"onUpdate:minutes":fe=>E(X(fe,Q,"minutes")),"onUpdate:seconds":fe=>j(X(fe,Q,"seconds")),onMounted:G,onOverlayClosed:U,onOverlayOpened:de,onAmPmChange:_[2]||(_[2]=fe=>W.$emit("am-pm-change",fe))}),t.createSlots({_:2},[t.renderList(t.unref($),(fe,R)=>({name:fe,fn:t.withCtx(ye=>[t.renderSlot(W.$slots,fe,t.mergeProps({ref_for:!0},ye))])}))]),1040,["validate-time","onUpdate:hours","onUpdate:minutes","onUpdate:seconds"])),[[t.vShow,Q===0?!0:A.value]])),128))],2)),!W.timePicker&&!W.timePickerInline?t.withDirectives((t.openBlock(),t.createElementBlock("button",{key:2,ref_key:"closeTimePickerBtn",ref:x,type:"button",class:t.normalizeClass({...I.value,"dp--hidden-el":B.value}),"aria-label":(K=t.unref(p))==null?void 0:K.closeTimePicker,tabindex:"0",onKeydown:_[3]||(_[3]=S=>t.unref(wt)(S,()=>M(!1))),onClick:_[4]||(_[4]=S=>M(!1))},[W.$slots["calendar-icon"]?t.renderSlot(W.$slots,"calendar-icon",{key:0}):t.createCommentVNode("",!0),W.$slots["calendar-icon"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref(za),{key:1}))],42,i4)),[[t.vShow,!t.unref(y)(W.hideNavigation,"time")]]):t.createCommentVNode("",!0)],2)],14,o4)):t.createCommentVNode("",!0)]}),_:3},8,["name","css"])])}}}),Ol=(e,a,n,r)=>{const{defaultedRange:o}=Ze(e),i=(k,B)=>Array.isArray(a[k])?a[k][B]:a[k],l=k=>e.enableSeconds?Array.isArray(a.seconds)?a.seconds[k]:a.seconds:0,s=(k,B)=>k?B!==void 0?la(k,i("hours",B),i("minutes",B),l(B)):la(k,a.hours,a.minutes,l()):il(pe(),l(B)),d=(k,B)=>{a[k]=B},p=t.computed(()=>e.modelAuto&&o.value.enabled?Array.isArray(n.value)?n.value.length>1:!1:o.value.enabled),f=(k,B)=>{const A=Object.fromEntries(Object.keys(a).map(D=>D===k?[D,B]:[D,a[D]].slice()));if(p.value&&!o.value.disableTimeRangeValidation){const D=C=>n.value?la(n.value[C],A.hours[C],A.minutes[C],A.seconds[C]):null,V=C=>ol(n.value[C],0);return!(Fe(D(0),D(1))&&($a(D(0),V(1))||cn(D(1),V(0))))}return!0},h=(k,B)=>{f(k,B)&&(d(k,B),r&&r())},c=k=>{h("hours",k)},m=k=>{h("minutes",k)},u=k=>{h("seconds",k)},y=(k,B,A,D)=>{B&&c(k),!B&&!A&&m(k),A&&u(k),n.value&&D(n.value)},b=k=>{if(k){const B=Array.isArray(k),A=B?[+k[0].hours,+k[1].hours]:+k.hours,D=B?[+k[0].minutes,+k[1].minutes]:+k.minutes,V=B?[+k[0].seconds,+k[1].seconds]:+k.seconds;d("hours",A),d("minutes",D),e.enableSeconds&&d("seconds",V)}},x=(k,B)=>{const A={hours:Array.isArray(a.hours)?a.hours[k]:a.hours,disabledArr:[]};return(B||B===0)&&(A.hours=B),Array.isArray(e.disabledTimes)&&(A.disabledArr=o.value.enabled&&Array.isArray(e.disabledTimes[k])?e.disabledTimes[k]:e.disabledTimes),A},w=t.computed(()=>(k,B)=>{var A;if(Array.isArray(e.disabledTimes)){const{disabledArr:D,hours:V}=x(k,B),C=D.filter(M=>+M.hours===V);return((A=C[0])==null?void 0:A.minutes)==="*"?{hours:[V],minutes:void 0,seconds:void 0}:{hours:[],minutes:(C==null?void 0:C.map(M=>+M.minutes))??[],seconds:(C==null?void 0:C.map(M=>M.seconds?+M.seconds:void 0))??[]}}return{hours:[],minutes:[],seconds:[]}});return{setTime:d,updateHours:c,updateMinutes:m,updateSeconds:u,getSetDateTime:s,updateTimeValues:y,getSecondsValue:l,assignStartTime:b,validateTime:f,disabledTimesConfig:w}},l4=(e,a)=>{const n=()=>{e.isTextInputDate&&B()},{modelValue:r,time:o}=pn(e,a,n),{defaultedStartTime:i,defaultedRange:l,defaultedTz:s}=Ze(e),{updateTimeValues:d,getSetDateTime:p,setTime:f,assignStartTime:h,disabledTimesConfig:c,validateTime:m}=Ol(e,o,r,u);function u(){a("update-flow-step")}const y=D=>{const{hours:V,minutes:C,seconds:M}=D;return{hours:+V,minutes:+C,seconds:M?+M:0}},b=()=>{if(e.startTime){if(Array.isArray(e.startTime)){const V=y(e.startTime[0]),C=y(e.startTime[1]);return[We(pe(),V),We(pe(),C)]}const D=y(e.startTime);return We(pe(),D)}return l.value.enabled?[null,null]:null},x=()=>{if(l.value.enabled){const[D,V]=b();r.value=[At(p(D,0),s.value.timezone),At(p(V,1),s.value.timezone)]}else r.value=At(p(b()),s.value.timezone)},w=D=>Array.isArray(D)?[Va(pe(D[0])),Va(pe(D[1]))]:[Va(D??pe())],k=(D,V,C)=>{f("hours",D),f("minutes",V),f("seconds",e.enableSeconds?C:0)},B=()=>{const[D,V]=w(r.value);return l.value.enabled?k([D.hours,V.hours],[D.minutes,V.minutes],[D.seconds,V.seconds]):k(D.hours,D.minutes,D.seconds)};t.onMounted(()=>{if(!e.shadow)return h(i.value),r.value?B():x()});const A=()=>{Array.isArray(r.value)?r.value=r.value.map((D,V)=>D&&p(D,V)):r.value=p(r.value),a("time-update")};return{modelValue:r,time:o,disabledTimesConfig:c,updateTime:(D,V=!0,C=!1)=>{d(D,V,C,A)},validateTime:m}},s4=t.defineComponent({compatConfig:{MODE:3},__name:"TimePickerSolo",props:{...Rt},emits:["update:internal-model-value","time-update","am-pm-change","mount","reset-flow","update-flow-step","overlay-toggle"],setup(e,{expose:a,emit:n}){const r=n,o=e,i=t.useSlots(),l=Vt(i,"timePicker"),s=t.ref(null),{time:d,modelValue:p,disabledTimesConfig:f,updateTime:h,validateTime:c}=l4(o,r);return t.onMounted(()=>{o.shadow||r("mount",null)}),a({getSidebarProps:()=>({modelValue:p,time:d,updateTime:h}),toggleTimePicker:(m,u=!1,y="")=>{var b;(b=s.value)==null||b.toggleTimePicker(m,u,y)}}),(m,u)=>(t.openBlock(),t.createBlock(qn,{"multi-calendars":0,stretch:""},{default:t.withCtx(()=>[t.createVNode(Pl,t.mergeProps({ref_key:"tpRef",ref:s},m.$props,{hours:t.unref(d).hours,minutes:t.unref(d).minutes,seconds:t.unref(d).seconds,"internal-model-value":m.internalModelValue,"disabled-times-config":t.unref(f),"validate-time":t.unref(c),"onUpdate:hours":u[0]||(u[0]=y=>t.unref(h)(y)),"onUpdate:minutes":u[1]||(u[1]=y=>t.unref(h)(y,!1)),"onUpdate:seconds":u[2]||(u[2]=y=>t.unref(h)(y,!1,!0)),onAmPmChange:u[3]||(u[3]=y=>m.$emit("am-pm-change",y)),onResetFlow:u[4]||(u[4]=y=>m.$emit("reset-flow")),onOverlayClosed:u[5]||(u[5]=y=>m.$emit("overlay-toggle",{open:!1,overlay:y})),onOverlayOpened:u[6]||(u[6]=y=>m.$emit("overlay-toggle",{open:!0,overlay:y}))}),t.createSlots({_:2},[t.renderList(t.unref(l),(y,b)=>({name:y,fn:t.withCtx(x=>[t.renderSlot(m.$slots,y,t.normalizeProps(t.guardReactiveProps(x)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"])]),_:3}))}}),c4={class:"dp--header-wrap"},d4={key:0,class:"dp__month_year_wrap"},u4={key:0},m4={class:"dp__month_year_wrap"},f4=["data-dp-element","aria-label","data-test","onClick","onKeydown"],h4=t.defineComponent({compatConfig:{MODE:3},__name:"DpHeader",props:{month:{type:Number,default:0},year:{type:Number,default:0},instance:{type:Number,default:0},years:{type:Array,default:()=>[]},months:{type:Array,default:()=>[]},...Rt},emits:["update-month-year","mount","reset-flow","overlay-closed","overlay-opened"],setup(e,{expose:a,emit:n}){const r=n,o=e,{defaultedTransitions:i,defaultedAriaLabels:l,defaultedMultiCalendars:s,defaultedFilters:d,defaultedConfig:p,defaultedHighlight:f,propDates:h,defaultedUI:c}=Ze(o),{transitionName:m,showTransition:u}=hn(i),{buildMatrix:y}=ca(),{handleMonthYearChange:b,isDisabled:x,updateMonthYear:w}=F3(o,r),{showLeftIcon:k,showRightIcon:B}=Yn(),A=t.ref(!1),D=t.ref(!1),V=t.ref(!1),C=t.ref([null,null,null,null]);t.onMounted(()=>{r("mount")});const M=K=>({get:()=>o[K],set:S=>{const Q=K===$t.month?$t.year:$t.month;r("update-month-year",{[K]:S,[Q]:o[Q]}),K===$t.month?U(!0):de(!0)}}),I=t.computed(M($t.month)),$=t.computed(M($t.year)),X=t.computed(()=>K=>({month:o.month,year:o.year,items:K===$t.month?o.months:o.years,instance:o.instance,updateMonthYear:w,toggle:K===$t.month?U:de})),Y=t.computed(()=>o.months.find(S=>S.value===o.month)||{text:"",value:0}),E=t.computed(()=>Ia(o.months,K=>{const S=o.month===K.value,Q=dn(K.value,kl(o.year,h.value.minDate),xl(o.year,h.value.maxDate))||d.value.months.includes(K.value),fe=Sl(f.value,K.value,o.year);return{active:S,disabled:Q,highlighted:fe}})),j=t.computed(()=>Ia(o.years,K=>{const S=o.year===K.value,Q=dn(K.value,Ga(h.value.minDate),Ga(h.value.maxDate))||d.value.years.includes(K.value),fe=to(f.value,K.value);return{active:S,disabled:Q,highlighted:fe}})),G=(K,S,Q)=>{Q!==void 0?K.value=Q:K.value=!K.value,K.value?(V.value=!0,r("overlay-opened",S)):(V.value=!1,r("overlay-closed",S))},U=(K=!1,S)=>{W(K),G(A,yt.month,S)},de=(K=!1,S)=>{W(K),G(D,yt.year,S)},W=K=>{K||r("reset-flow")},_=(K,S)=>{o.arrowNavigation&&(C.value[S]=ct(K),y(C.value,"monthYear"))},ie=t.computed(()=>{var K,S,Q,fe,R,ye;return[{type:$t.month,index:1,toggle:U,modelValue:I.value,updateModelValue:Z=>I.value=Z,text:Y.value.text,showSelectionGrid:A.value,items:E.value,ariaLabel:(K=l.value)==null?void 0:K.openMonthsOverlay,overlayLabel:((Q=(S=l.value).monthPicker)==null?void 0:Q.call(S,!0))??void 0},{type:$t.year,index:2,toggle:de,modelValue:$.value,updateModelValue:Z=>$.value=Z,text:pl(o.year,o.locale),showSelectionGrid:D.value,items:j.value,ariaLabel:(fe=l.value)==null?void 0:fe.openYearsOverlay,overlayLabel:((ye=(R=l.value).yearPicker)==null?void 0:ye.call(R,!0))??void 0}]}),ne=t.computed(()=>o.disableYearSelect?[ie.value[0]]:o.yearFirst?[...ie.value].reverse():ie.value);return a({toggleMonthPicker:U,toggleYearPicker:de,handleMonthYearChange:b}),(K,S)=>{var Q,fe,R,ye,Z,me;return t.openBlock(),t.createElementBlock("div",c4,[K.$slots["month-year"]?(t.openBlock(),t.createElementBlock("div",d4,[t.renderSlot(K.$slots,"month-year",t.normalizeProps(t.guardReactiveProps({month:e.month,year:e.year,months:e.months,years:e.years,updateMonthYear:t.unref(w),handleMonthYearChange:t.unref(b),instance:e.instance})))])):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[K.$slots["top-extra"]?(t.openBlock(),t.createElementBlock("div",u4,[t.renderSlot(K.$slots,"top-extra",{value:K.internalModelValue})])):t.createCommentVNode("",!0),t.createElementVNode("div",m4,[t.unref(k)(t.unref(s),e.instance)&&!K.vertical?(t.openBlock(),t.createBlock(fn,{key:0,"aria-label":(Q=t.unref(l))==null?void 0:Q.prevMonth,disabled:t.unref(x)(!1),class:t.normalizeClass((fe=t.unref(c))==null?void 0:fe.navBtnPrev),"el-name":"action-prev",onActivate:S[0]||(S[0]=L=>t.unref(b)(!1,!0)),onSetRef:S[1]||(S[1]=L=>_(L,0))},{default:t.withCtx(()=>[K.$slots["arrow-left"]?t.renderSlot(K.$slots,"arrow-left",{key:0}):t.createCommentVNode("",!0),K.$slots["arrow-left"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref($r),{key:1}))]),_:3},8,["aria-label","disabled","class"])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(["dp__month_year_wrap",{dp__year_disable_select:K.disableYearSelect}])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(ne.value,(L,v)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:L.type},[t.createElementVNode("button",{ref_for:!0,ref:g=>_(g,v+1),type:"button","data-dp-element":`overlay-${L.type}`,class:t.normalizeClass(["dp__btn dp__month_year_select",{"dp--hidden-el":V.value}]),"aria-label":`${L.text}-${L.ariaLabel}`,"data-test":`${L.type}-toggle-overlay-${e.instance}`,onClick:L.toggle,onKeydown:g=>t.unref(wt)(g,()=>L.toggle(),!0)},[K.$slots[L.type]?t.renderSlot(K.$slots,L.type,{key:0,text:L.text,value:o[L.type]}):t.createCommentVNode("",!0),K.$slots[L.type]?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(L.text),1)],64))],42,f4),t.createVNode(t.Transition,{name:t.unref(m)(L.showSelectionGrid),css:t.unref(u)},{default:t.withCtx(()=>[L.showSelectionGrid?(t.openBlock(),t.createBlock(mn,{key:0,items:L.items,"arrow-navigation":K.arrowNavigation,"hide-navigation":K.hideNavigation,"is-last":K.autoApply&&!t.unref(p).keepActionRow,"skip-button-ref":!1,config:K.config,type:L.type,"header-refs":[],"esc-close":K.escClose,"menu-wrap-ref":K.menuWrapRef,"text-input":K.textInput,"aria-labels":K.ariaLabels,"overlay-label":L.overlayLabel,onSelected:L.updateModelValue,onToggle:L.toggle},t.createSlots({"button-icon":t.withCtx(()=>[K.$slots["calendar-icon"]?t.renderSlot(K.$slots,"calendar-icon",{key:0}):t.createCommentVNode("",!0),K.$slots["calendar-icon"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref(za),{key:1}))]),_:2},[K.$slots[`${L.type}-overlay-value`]?{name:"item",fn:t.withCtx(({item:g})=>[t.renderSlot(K.$slots,`${L.type}-overlay-value`,{text:g.text,value:g.value})]),key:"0"}:void 0,K.$slots[`${L.type}-overlay`]?{name:"overlay",fn:t.withCtx(()=>[t.renderSlot(K.$slots,`${L.type}-overlay`,t.mergeProps({ref_for:!0},X.value(L.type)))]),key:"1"}:void 0,K.$slots[`${L.type}-overlay-header`]?{name:"header",fn:t.withCtx(()=>[t.renderSlot(K.$slots,`${L.type}-overlay-header`,{toggle:L.toggle})]),key:"2"}:void 0]),1032,["items","arrow-navigation","hide-navigation","is-last","config","type","esc-close","menu-wrap-ref","text-input","aria-labels","overlay-label","onSelected","onToggle"])):t.createCommentVNode("",!0)]),_:2},1032,["name","css"])],64))),128))],2),t.unref(k)(t.unref(s),e.instance)&&K.vertical?(t.openBlock(),t.createBlock(fn,{key:1,"aria-label":(R=t.unref(l))==null?void 0:R.prevMonth,"el-name":"action-prev",disabled:t.unref(x)(!1),class:t.normalizeClass((ye=t.unref(c))==null?void 0:ye.navBtnPrev),onActivate:S[2]||(S[2]=L=>t.unref(b)(!1,!0))},{default:t.withCtx(()=>[K.$slots["arrow-up"]?t.renderSlot(K.$slots,"arrow-up",{key:0}):t.createCommentVNode("",!0),K.$slots["arrow-up"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref(zr),{key:1}))]),_:3},8,["aria-label","disabled","class"])):t.createCommentVNode("",!0),t.unref(B)(t.unref(s),e.instance)?(t.openBlock(),t.createBlock(fn,{key:2,ref:"rightIcon","el-name":"action-next",disabled:t.unref(x)(!0),"aria-label":(Z=t.unref(l))==null?void 0:Z.nextMonth,class:t.normalizeClass((me=t.unref(c))==null?void 0:me.navBtnNext),onActivate:S[3]||(S[3]=L=>t.unref(b)(!0,!0)),onSetRef:S[4]||(S[4]=L=>_(L,K.disableYearSelect?2:3))},{default:t.withCtx(()=>[K.$slots[K.vertical?"arrow-down":"arrow-right"]?t.renderSlot(K.$slots,K.vertical?"arrow-down":"arrow-right",{key:0}):t.createCommentVNode("",!0),K.$slots[K.vertical?"arrow-down":"arrow-right"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.resolveDynamicComponent(K.vertical?t.unref(Ir):t.unref(Hr)),{key:1}))]),_:3},8,["disabled","aria-label","class"])):t.createCommentVNode("",!0)])],64))])}}}),p4={class:"dp__calendar_header",role:"row"},g4={key:0,class:"dp__calendar_header_item",role:"gridcell"},y4=["aria-label"],k4={key:0,class:"dp__calendar_item dp__week_num",role:"gridcell"},x4={class:"dp__cell_inner"},b4=["id","aria-pressed","aria-disabled","aria-label","tabindex","data-test","onClick","onTouchend","onKeydown","onMouseenter","onMouseleave","onMousedown"],w4=t.defineComponent({compatConfig:{MODE:3},__name:"DpCalendar",props:{mappedDates:{type:Array,default:()=>[]},instance:{type:Number,default:0},month:{type:Number,default:0},year:{type:Number,default:0},...Rt},emits:["select-date","set-hover-date","handle-scroll","mount","handle-swipe","handle-space","tooltip-open","tooltip-close"],setup(e,{expose:a,emit:n}){const r=n,o=e,{buildMultiLevelMatrix:i}=ca(),{defaultedTransitions:l,defaultedConfig:s,defaultedAriaLabels:d,defaultedMultiCalendars:p,defaultedWeekNumbers:f,defaultedMultiDates:h,defaultedUI:c}=Ze(o),m=t.ref(null),u=t.ref({bottom:"",left:"",transform:""}),y=t.ref([]),b=t.ref(null),x=t.ref(!0),w=t.ref(""),k=t.ref({startX:0,endX:0,startY:0,endY:0}),B=t.ref([]),A=t.ref({left:"50%"}),D=t.ref(!1),V=t.computed(()=>o.calendar?o.calendar(o.mappedDates):o.mappedDates),C=t.computed(()=>o.dayNames?Array.isArray(o.dayNames)?o.dayNames:o.dayNames(o.locale,+o.weekStart):r3(o.formatLocale,o.locale,+o.weekStart));t.onMounted(()=>{r("mount",{cmp:"calendar",refs:y}),s.value.noSwipe||b.value&&(b.value.addEventListener("touchstart",_,{passive:!1}),b.value.addEventListener("touchend",ie,{passive:!1}),b.value.addEventListener("touchmove",ne,{passive:!1})),o.monthChangeOnScroll&&b.value&&b.value.addEventListener("wheel",Q,{passive:!1})});const M=L=>L?o.vertical?"vNext":"next":o.vertical?"vPrevious":"previous",I=(L,v)=>{if(o.transitions){const g=vt(Kt(pe(),o.month,o.year));w.value=it(vt(Kt(pe(),L,v)),g)?l.value[M(!0)]:l.value[M(!1)],x.value=!1,t.nextTick(()=>{x.value=!0})}},$=t.computed(()=>({...c.value.calendar??{}})),X=t.computed(()=>L=>{const v=i3(L);return{dp__marker_dot:v.type==="dot",dp__marker_line:v.type==="line"}}),Y=t.computed(()=>L=>Fe(L,m.value)),E=t.computed(()=>({dp__calendar:!0,dp__calendar_next:p.value.count>0&&o.instance!==0})),j=t.computed(()=>L=>o.hideOffsetDates?L.current:!0),G=async(L,v)=>{const{width:g,height:N}=L.getBoundingClientRect();m.value=v.value;let F={left:`${g/2}px`},O=-50;if(await t.nextTick(),B.value[0]){const{left:J,width:H}=B.value[0].getBoundingClientRect();J<0&&(F={left:"0"},O=0,A.value.left=`${g/2}px`),window.innerWidth<J+H&&(F={right:"0"},O=0,A.value.left=`${H-g/2}px`)}u.value={bottom:`${N}px`,...F,transform:`translateX(${O}%)`}},U=async(L,v,g)=>{var N,F,O;const J=ct(y.value[v][g]);J&&((N=L.marker)!=null&&N.customPosition&&(O=(F=L.marker)==null?void 0:F.tooltip)!=null&&O.length?u.value=L.marker.customPosition(J):await G(J,L),r("tooltip-open",L.marker))},de=async(L,v,g)=>{var N,F;if(D.value&&h.value.enabled&&h.value.dragSelect)return r("select-date",L);r("set-hover-date",L),(F=(N=L.marker)==null?void 0:N.tooltip)!=null&&F.length&&await U(L,v,g)},W=L=>{m.value&&(m.value=null,u.value=JSON.parse(JSON.stringify({bottom:"",left:"",transform:""})),r("tooltip-close",L.marker))},_=L=>{k.value.startX=L.changedTouches[0].screenX,k.value.startY=L.changedTouches[0].screenY},ie=L=>{k.value.endX=L.changedTouches[0].screenX,k.value.endY=L.changedTouches[0].screenY,K()},ne=L=>{o.vertical&&!o.inline&&L.preventDefault()},K=()=>{const L=o.vertical?"Y":"X";Math.abs(k.value[`start${L}`]-k.value[`end${L}`])>10&&r("handle-swipe",k.value[`start${L}`]>k.value[`end${L}`]?"right":"left")},S=(L,v,g)=>{L&&(Array.isArray(y.value[v])?y.value[v][g]=L:y.value[v]=[L]),o.arrowNavigation&&i(y.value,"calendar")},Q=L=>{o.monthChangeOnScroll&&(L.preventDefault(),r("handle-scroll",L))},fe=L=>f.value.type==="local"?Dr(L.value,{weekStartsOn:+o.weekStart}):f.value.type==="iso"?_r(L.value):typeof f.value.type=="function"?f.value.type(L.value):"",R=L=>{const v=L[0];return f.value.hideOnOffsetDates?L.some(g=>g.current)?fe(v):"":fe(v)},ye=(L,v,g=!0)=>{g&&gl()||!g&&!gl()||h.value.enabled||(ia(L,s.value),r("select-date",v))},Z=L=>{ia(L,s.value)},me=L=>{h.value.enabled&&h.value.dragSelect?(D.value=!0,r("select-date",L)):h.value.enabled&&r("select-date",L)};return a({triggerTransition:I}),(L,v)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(E.value)},[t.createElementVNode("div",{ref_key:"calendarWrapRef",ref:b,class:t.normalizeClass($.value),role:"grid"},[t.createElementVNode("div",p4,[L.weekNumbers?(t.openBlock(),t.createElementBlock("div",g4,t.toDisplayString(L.weekNumName),1)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(C.value,(g,N)=>{var F,O;return t.openBlock(),t.createElementBlock("div",{key:N,class:"dp__calendar_header_item",role:"gridcell","data-test":"calendar-header","aria-label":(O=(F=t.unref(d))==null?void 0:F.weekDay)==null?void 0:O.call(F,N)},[L.$slots["calendar-header"]?t.renderSlot(L.$slots,"calendar-header",{key:0,day:g,index:N}):t.createCommentVNode("",!0),L.$slots["calendar-header"]?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(g),1)],64))],8,y4)}),128))]),v[2]||(v[2]=t.createElementVNode("div",{class:"dp__calendar_header_separator"},null,-1)),t.createVNode(t.Transition,{name:w.value,css:!!L.transitions},{default:t.withCtx(()=>[x.value?(t.openBlock(),t.createElementBlock("div",{key:0,class:"dp__calendar",role:"rowgroup",onMouseleave:v[1]||(v[1]=g=>D.value=!1)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(V.value,(g,N)=>(t.openBlock(),t.createElementBlock("div",{key:N,class:"dp__calendar_row",role:"row"},[L.weekNumbers?(t.openBlock(),t.createElementBlock("div",k4,[t.createElementVNode("div",x4,t.toDisplayString(R(g.days)),1)])):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(g.days,(F,O)=>{var J,H,te;return t.openBlock(),t.createElementBlock("div",{id:t.unref(Ml)(F.value),ref_for:!0,ref:ce=>S(ce,N,O),key:O+N,role:"gridcell",class:"dp__calendar_item","aria-pressed":(F.classData.dp__active_date||F.classData.dp__range_start||F.classData.dp__range_start)??void 0,"aria-disabled":F.classData.dp__cell_disabled||void 0,"aria-label":(H=(J=t.unref(d))==null?void 0:J.day)==null?void 0:H.call(J,F),tabindex:!F.current&&L.hideOffsetDates?void 0:0,"data-test":F.value,onClick:t.withModifiers(ce=>ye(ce,F),["prevent"]),onTouchend:ce=>ye(ce,F,!1),onKeydown:ce=>t.unref(wt)(ce,()=>L.$emit("select-date",F)),onMouseenter:ce=>de(F,N,O),onMouseleave:ce=>W(F),onMousedown:ce=>me(F),onMouseup:v[0]||(v[0]=ce=>D.value=!1)},[t.createElementVNode("div",{class:t.normalizeClass(["dp__cell_inner",F.classData])},[L.$slots.day&&j.value(F)?t.renderSlot(L.$slots,"day",{key:0,day:+F.text,date:F.value}):t.createCommentVNode("",!0),L.$slots.day?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(F.text),1)],64)),F.marker&&j.value(F)?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[L.$slots.marker?t.renderSlot(L.$slots,"marker",{key:0,marker:F.marker,day:+F.text,date:F.value}):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(X.value(F.marker)),style:t.normalizeStyle(F.marker.color?{backgroundColor:F.marker.color}:{})},null,6))],64)):t.createCommentVNode("",!0),Y.value(F.value)?(t.openBlock(),t.createElementBlock("div",{key:3,ref_for:!0,ref_key:"activeTooltip",ref:B,class:"dp__marker_tooltip",style:t.normalizeStyle(u.value)},[(te=F.marker)!=null&&te.tooltip?(t.openBlock(),t.createElementBlock("div",{key:0,class:"dp__tooltip_content",onClick:Z},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(F.marker.tooltip,(ce,ge)=>(t.openBlock(),t.createElementBlock("div",{key:ge,class:"dp__tooltip_text"},[L.$slots["marker-tooltip"]?t.renderSlot(L.$slots,"marker-tooltip",{key:0,tooltip:ce,day:F.value}):t.createCommentVNode("",!0),L.$slots["marker-tooltip"]?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createElementVNode("div",{class:"dp__tooltip_mark",style:t.normalizeStyle(ce.color?{backgroundColor:ce.color}:{})},null,4),t.createElementVNode("div",null,t.toDisplayString(ce.text),1)],64))]))),128)),t.createElementVNode("div",{class:"dp__arrow_bottom_tp",style:t.normalizeStyle(A.value)},null,4)])):t.createCommentVNode("",!0)],4)):t.createCommentVNode("",!0)],2)],40,b4)}),128))]))),128))],32)):t.createCommentVNode("",!0)]),_:3},8,["name","css"])],2)],2))}}),Fl=e=>Array.isArray(e),v4=(e,a,n,r)=>{const o=t.ref([]),i=t.ref(new Date),l=t.ref(),s=()=>_(e.isTextInputDate),{modelValue:d,calendars:p,time:f,today:h}=pn(e,a,s),{defaultedMultiCalendars:c,defaultedStartTime:m,defaultedRange:u,defaultedConfig:y,defaultedTz:b,propDates:x,defaultedMultiDates:w}=Ze(e),{validateMonthYearInRange:k,isDisabled:B,isDateRangeAllowed:A,checkMinMaxRange:D}=ua(e),{updateTimeValues:V,getSetDateTime:C,setTime:M,assignStartTime:I,validateTime:$,disabledTimesConfig:X}=Ol(e,f,d,r),Y=t.computed(()=>z=>p.value[z]?p.value[z].month:0),E=t.computed(()=>z=>p.value[z]?p.value[z].year:0),j=z=>!y.value.keepViewOnOffsetClick||z?!0:!l.value,G=(z,P,T,ee=!1)=>{var le,be;j(ee)&&(p.value[z]||(p.value[z]={month:0,year:0}),p.value[z].month=fl(P)?(le=p.value[z])==null?void 0:le.month:P,p.value[z].year=fl(T)?(be=p.value[z])==null?void 0:be.year:T)},U=()=>{e.autoApply&&a("select-date")};t.onMounted(()=>{e.shadow||(d.value||(L(),m.value&&I(m.value)),_(!0),e.focusStartDate&&e.startDate&&L())});const de=t.computed(()=>{var z;return(z=e.flow)!=null&&z.length&&!e.partialFlow?e.flowStep===e.flow.length:!0}),W=()=>{e.autoApply&&de.value&&a("auto-apply",e.partialFlow?e.flowStep!==e.flow.length:!1)},_=(z=!1)=>{if(d.value)return Array.isArray(d.value)?(o.value=d.value,R(z)):K(d.value,z);if(c.value.count&&z&&!e.startDate)return ne(pe(),z)},ie=()=>Array.isArray(d.value)&&u.value.enabled?Oe(d.value[0])===Oe(d.value[1]??d.value[0]):!1,ne=(z=new Date,P=!1)=>{if((!c.value.count||!c.value.static||P)&&G(0,Oe(z),Ve(z)),c.value.count&&(!c.value.solo||!d.value||ie()))for(let T=1;T<c.value.count;T++){const ee=We(pe(),{month:Y.value(T-1),year:E.value(T-1)}),le=Di(ee,{months:1});p.value[T]={month:Oe(le),year:Ve(le)}}},K=(z,P)=>{ne(z),M("hours",Zt(z)),M("minutes",oa(z)),M("seconds",La(z)),c.value.count&&P&&me()},S=z=>{if(c.value.count){if(c.value.solo)return 0;const P=Oe(z[0]),T=Oe(z[1]);return Math.abs(T-P)<c.value.count?0:1}return 1},Q=(z,P)=>{z[1]&&u.value.showLastInRange?ne(z[S(z)],P):ne(z[0],P);const T=(ee,le)=>[ee(z[0]),z[1]?ee(z[1]):f[le][1]];M("hours",T(Zt,"hours")),M("minutes",T(oa,"minutes")),M("seconds",T(La,"seconds"))},fe=(z,P)=>{if((u.value.enabled||e.weekPicker)&&!w.value.enabled)return Q(z,P);if(w.value.enabled&&P){const T=z[z.length-1];return K(T,P)}},R=z=>{const P=d.value;fe(P,z),c.value.count&&c.value.solo&&me()},ye=(z,P)=>{const T=We(pe(),{month:Y.value(P),year:E.value(P)}),ee=z<0?Ft(T,1):Ra(T,1);k(Oe(ee),Ve(ee),z<0,e.preventMinMaxNavigation)&&(G(P,Oe(ee),Ve(ee)),a("update-month-year",{instance:P,month:Oe(ee),year:Ve(ee)}),c.value.count&&!c.value.solo&&Z(P),n())},Z=z=>{for(let P=z-1;P>=0;P--){const T=Ra(We(pe(),{month:Y.value(P+1),year:E.value(P+1)}),1);G(P,Oe(T),Ve(T))}for(let P=z+1;P<=c.value.count-1;P++){const T=Ft(We(pe(),{month:Y.value(P-1),year:E.value(P-1)}),1);G(P,Oe(T),Ve(T))}},me=()=>{if(Array.isArray(d.value)&&d.value.length===2){const z=pe(pe(d.value[1]?d.value[1]:Ft(d.value[0],1))),[P,T]=[Oe(d.value[0]),Ve(d.value[0])],[ee,le]=[Oe(d.value[1]),Ve(d.value[1])];(P!==ee||P===ee&&T!==le)&&c.value.solo&&G(1,Oe(z),Ve(z))}else d.value&&!Array.isArray(d.value)&&(G(0,Oe(d.value),Ve(d.value)),ne(pe()))},L=()=>{e.startDate&&(G(0,Oe(pe(e.startDate)),Ve(pe(e.startDate))),c.value.count&&Z(0))},v=(z,P)=>{if(e.monthChangeOnScroll){const T=new Date().getTime()-i.value.getTime(),ee=Math.abs(z.deltaY);let le=500;ee>1&&(le=100),ee>100&&(le=0),T>le&&(i.value=new Date,ye(e.monthChangeOnScroll!=="inverse"?-z.deltaY:z.deltaY,P))}},g=(z,P,T=!1)=>{e.monthChangeOnArrows&&e.vertical===T&&N(z,P)},N=(z,P)=>{ye(z==="right"?-1:1,P)},F=z=>{if(x.value.markers)return Rn(z.value,x.value.markers)},O=(z,P)=>{switch(e.sixWeeks===!0?"append":e.sixWeeks){case"prepend":return[!0,!1];case"center":return[z==0,!0];case"fair":return[z==0||P>z,!0];case"append":return[!1,!1];default:return[!1,!1]}},J=(z,P,T,ee)=>{if(e.sixWeeks&&z.length<6){const le=6-z.length,be=(P.getDay()+7-ee)%7,Ae=6-(T.getDay()+7-ee)%7,[De,Pe]=O(be,Ae);for(let je=1;je<=le;je++)if(Pe?!!(je%2)==De:De){const nt=z[0].days[0],xt=H(Ot(nt.value,-7),Oe(P));z.unshift({days:xt})}else{const nt=z[z.length-1],xt=nt.days[nt.days.length-1],st=H(Ot(xt.value,1),Oe(P));z.push({days:st})}}return z},H=(z,P)=>{const T=pe(z),ee=[];for(let le=0;le<7;le++){const be=Ot(T,le),Ae=Oe(be)!==P;ee.push({text:e.hideOffsetDates&&Ae?"":be.getDate(),value:be,current:!Ae,classData:{}})}return ee},te=(z,P)=>{const T=[],ee=new Date(P,z),le=new Date(P,z+1,0),be=e.weekStart,Ae=Lt(ee,{weekStartsOn:be}),De=Pe=>{const je=H(Pe,z);if(T.push({days:je}),!T[T.length-1].days.some(nt=>Fe(vt(nt.value),vt(le)))){const nt=Ot(Pe,7);De(nt)}};return De(Ae),J(T,ee,le,be)},ce=z=>{const P=la(pe(z.value),f.hours,f.minutes,Se());a("date-update",P),w.value.enabled?lo(P,d,w.value.limit):d.value=P,r(),t.nextTick().then(()=>{W()})},ge=z=>u.value.noDisabledRange?bl(o.value[0],z).some(P=>B(P)):!1,xe=()=>{o.value=d.value?d.value.slice():[],o.value.length===2&&!(u.value.fixedStart||u.value.fixedEnd)&&(o.value=[])},ue=(z,P)=>{const T=[pe(z.value),Ot(pe(z.value),+u.value.autoRange)];A(T)?(P&&Me(z.value),o.value=T):a("invalid-date",z.value)},Me=z=>{const P=Oe(pe(z)),T=Ve(pe(z));if(G(0,P,T),c.value.count>0)for(let ee=1;ee<c.value.count;ee++){const le=f3(We(pe(z),{year:E.value(ee-1),month:Y.value(ee-1)}));G(ee,le.month,le.year)}},_e=z=>{if(ge(z.value)||!D(z.value,d.value,u.value.fixedStart?0:1))return a("invalid-date",z.value);o.value=Dl(pe(z.value),d,a,u)},Ne=(z,P)=>{if(xe(),u.value.autoRange)return ue(z,P);if(u.value.fixedStart||u.value.fixedEnd)return _e(z);o.value[0]?D(pe(z.value),d.value)&&!ge(z.value)?tt(pe(z.value),pe(o.value[0]))?(o.value.unshift(pe(z.value)),a("range-end",o.value[0])):(o.value[1]=pe(z.value),a("range-end",o.value[1])):(e.autoApply&&a("auto-apply-invalid",z.value),a("invalid-date",z.value)):(o.value[0]=pe(z.value),a("range-start",o.value[0]))},Se=(z=!0)=>e.enableSeconds?Array.isArray(f.seconds)?z?f.seconds[0]:f.seconds[1]:f.seconds:0,Le=z=>{o.value[z]=la(o.value[z],f.hours[z],f.minutes[z],Se(z!==1))},Be=()=>{var z,P;o.value[0]&&o.value[1]&&+((z=o.value)==null?void 0:z[0])>+((P=o.value)==null?void 0:P[1])&&(o.value.reverse(),a("range-start",o.value[0]),a("range-end",o.value[1]))},q=()=>{o.value.length&&(o.value[0]&&!o.value[1]?Le(0):(Le(0),Le(1),r()),Be(),d.value=o.value.slice(),Wn(o.value,a,e.autoApply,e.modelAuto))},ae=(z,P=!1)=>{if(B(z.value)||!z.current&&e.hideOffsetDates)return a("invalid-date",z.value);if(l.value=JSON.parse(JSON.stringify(z)),!u.value.enabled)return ce(z);Fl(f.hours)&&Fl(f.minutes)&&!w.value.enabled&&(Ne(z,P),q())},re=(z,P)=>{var T;G(z,P.month,P.year,!0),c.value.count&&!c.value.solo&&Z(z),a("update-month-year",{instance:z,month:P.month,year:P.year}),n(c.value.solo?z:void 0);const ee=(T=e.flow)!=null&&T.length?e.flow[e.flowStep]:void 0;!P.fromNav&&(ee===yt.month||ee===yt.year)&&r()},se=(z,P)=>{Nl({value:z,modelValue:d,range:u.value.enabled,timezone:P?void 0:b.value.timezone}),U(),e.multiCalendars&&t.nextTick().then(()=>_(!0))},Ee=()=>{const z=Gr(pe(),b.value);u.value.enabled?d.value&&Array.isArray(d.value)&&d.value[0]?d.value=tt(z,d.value[0])?[z,d.value[0]]:[d.value[0],z]:d.value=[z]:d.value=z,U()},he=()=>{if(Array.isArray(d.value))if(w.value.enabled){const z=ke();d.value[d.value.length-1]=C(z)}else d.value=d.value.map((z,P)=>z&&C(z,P));else d.value=C(d.value);a("time-update")},ke=()=>Array.isArray(d.value)&&d.value.length?d.value[d.value.length-1]:null;return{calendars:p,modelValue:d,month:Y,year:E,time:f,disabledTimesConfig:X,today:h,validateTime:$,getCalendarDays:te,getMarker:F,handleScroll:v,handleSwipe:N,handleArrow:g,selectDate:ae,updateMonthYear:re,presetDate:se,selectCurrentDate:Ee,updateTime:(z,P=!0,T=!1)=>{V(z,P,T,he)},assignMonthAndYear:ne}},E4={key:0},C4=t.defineComponent({__name:"DatePicker",props:{...Rt},emits:["tooltip-open","tooltip-close","mount","update:internal-model-value","update-flow-step","reset-flow","auto-apply","focus-menu","select-date","range-start","range-end","invalid-fixed-range","time-update","am-pm-change","time-picker-open","time-picker-close","recalculate-position","update-month-year","auto-apply-invalid","date-update","invalid-date","overlay-toggle"],setup(e,{expose:a,emit:n}){const r=n,o=e,{calendars:i,month:l,year:s,modelValue:d,time:p,disabledTimesConfig:f,today:h,validateTime:c,getCalendarDays:m,getMarker:u,handleArrow:y,handleScroll:b,handleSwipe:x,selectDate:w,updateMonthYear:k,presetDate:B,selectCurrentDate:A,updateTime:D,assignMonthAndYear:V}=v4(o,r,ie,ne),C=t.useSlots(),{setHoverDate:M,getDayClassData:I,clearHoverDate:$}=H4(d,o),{defaultedMultiCalendars:X}=Ze(o),Y=t.ref([]),E=t.ref([]),j=t.ref(null),G=Vt(C,"calendar"),U=Vt(C,"monthYear"),de=Vt(C,"timePicker"),W=v=>{o.shadow||r("mount",v)};t.watch(i,()=>{o.shadow||setTimeout(()=>{r("recalculate-position")},0)},{deep:!0}),t.watch(X,(v,g)=>{v.count-g.count>0&&V()},{deep:!0});const _=t.computed(()=>v=>m(l.value(v),s.value(v)).map(g=>({...g,days:g.days.map(N=>(N.marker=u(N),N.classData=I(N),N))})));function ie(v){var g;v||v===0?(g=E.value[v])==null||g.triggerTransition(l.value(v),s.value(v)):E.value.forEach((N,F)=>N.triggerTransition(l.value(F),s.value(F)))}function ne(){r("update-flow-step")}const K=(v,g=!1)=>{w(v,g),o.spaceConfirm&&r("select-date")},S=(v,g,N=0)=>{var F;(F=Y.value[N])==null||F.toggleMonthPicker(v,g)},Q=(v,g,N=0)=>{var F;(F=Y.value[N])==null||F.toggleYearPicker(v,g)},fe=(v,g,N)=>{var F;(F=j.value)==null||F.toggleTimePicker(v,g,N)},R=(v,g)=>{var N;if(!o.range){const F=d.value?d.value:h,O=g?new Date(g):F,J=v?Lt(O,{weekStartsOn:1}):Gi(O,{weekStartsOn:1});w({value:J,current:Oe(O)===l.value(0),text:"",classData:{}}),(N=document.getElementById(Ml(J)))==null||N.focus()}},ye=v=>{var g;(g=Y.value[0])==null||g.handleMonthYearChange(v,!0)},Z=v=>{k(0,{month:l.value(0),year:s.value(0)+(v?1:-1),fromNav:!0})},me=(v,g)=>{v===yt.time&&r(`time-picker-${g?"open":"close"}`),r("overlay-toggle",{open:g,overlay:v})},L=v=>{r("overlay-toggle",{open:!1,overlay:v}),r("focus-menu")};return a({clearHoverDate:$,presetDate:B,selectCurrentDate:A,toggleMonthPicker:S,toggleYearPicker:Q,toggleTimePicker:fe,handleArrow:y,updateMonthYear:k,getSidebarProps:()=>({modelValue:d,month:l,year:s,time:p,updateTime:D,updateMonthYear:k,selectDate:w,presetDate:B}),changeMonth:ye,changeYear:Z,selectWeekDate:R}),(v,g)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createVNode(qn,{"multi-calendars":t.unref(X).count,collapse:v.collapse},{default:t.withCtx(({instance:N,index:F})=>[v.disableMonthYearSelect?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(h4,t.mergeProps({key:0,ref:O=>{O&&(Y.value[F]=O)},months:t.unref(dl)(v.formatLocale,v.locale,v.monthNameFormat),years:t.unref(qr)(v.yearRange,v.locale,v.reverseYears),month:t.unref(l)(N),year:t.unref(s)(N),instance:N},v.$props,{onMount:g[0]||(g[0]=O=>W(t.unref(Aa).header)),onResetFlow:g[1]||(g[1]=O=>v.$emit("reset-flow")),onUpdateMonthYear:O=>t.unref(k)(N,O),onOverlayClosed:L,onOverlayOpened:g[2]||(g[2]=O=>v.$emit("overlay-toggle",{open:!0,overlay:O}))}),t.createSlots({_:2},[t.renderList(t.unref(U),(O,J)=>({name:O,fn:t.withCtx(H=>[t.renderSlot(v.$slots,O,t.normalizeProps(t.guardReactiveProps(H)))])}))]),1040,["months","years","month","year","instance","onUpdateMonthYear"])),t.createVNode(w4,t.mergeProps({ref:O=>{O&&(E.value[F]=O)},"mapped-dates":_.value(N),month:t.unref(l)(N),year:t.unref(s)(N),instance:N},v.$props,{onSelectDate:O=>t.unref(w)(O,N!==1),onHandleSpace:O=>K(O,N!==1),onSetHoverDate:g[3]||(g[3]=O=>t.unref(M)(O)),onHandleScroll:O=>t.unref(b)(O,N),onHandleSwipe:O=>t.unref(x)(O,N),onMount:g[4]||(g[4]=O=>W(t.unref(Aa).calendar)),onResetFlow:g[5]||(g[5]=O=>v.$emit("reset-flow")),onTooltipOpen:g[6]||(g[6]=O=>v.$emit("tooltip-open",O)),onTooltipClose:g[7]||(g[7]=O=>v.$emit("tooltip-close",O))}),t.createSlots({_:2},[t.renderList(t.unref(G),(O,J)=>({name:O,fn:t.withCtx(H=>[t.renderSlot(v.$slots,O,t.normalizeProps(t.guardReactiveProps({...H})))])}))]),1040,["mapped-dates","month","year","instance","onSelectDate","onHandleSpace","onHandleScroll","onHandleSwipe"])]),_:3},8,["multi-calendars","collapse"]),v.enableTimePicker?(t.openBlock(),t.createElementBlock("div",E4,[v.$slots["time-picker"]?t.renderSlot(v.$slots,"time-picker",t.normalizeProps(t.mergeProps({key:0},{time:t.unref(p),updateTime:t.unref(D)}))):(t.openBlock(),t.createBlock(Pl,t.mergeProps({key:1,ref_key:"timePickerRef",ref:j},v.$props,{hours:t.unref(p).hours,minutes:t.unref(p).minutes,seconds:t.unref(p).seconds,"internal-model-value":v.internalModelValue,"disabled-times-config":t.unref(f),"validate-time":t.unref(c),onMount:g[8]||(g[8]=N=>W(t.unref(Aa).timePicker)),"onUpdate:hours":g[9]||(g[9]=N=>t.unref(D)(N)),"onUpdate:minutes":g[10]||(g[10]=N=>t.unref(D)(N,!1)),"onUpdate:seconds":g[11]||(g[11]=N=>t.unref(D)(N,!1,!0)),onResetFlow:g[12]||(g[12]=N=>v.$emit("reset-flow")),onOverlayClosed:g[13]||(g[13]=N=>me(N,!1)),onOverlayOpened:g[14]||(g[14]=N=>me(N,!0)),onAmPmChange:g[15]||(g[15]=N=>v.$emit("am-pm-change",N))}),t.createSlots({_:2},[t.renderList(t.unref(de),(N,F)=>({name:N,fn:t.withCtx(O=>[t.renderSlot(v.$slots,N,t.normalizeProps(t.guardReactiveProps(O)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"]))])):t.createCommentVNode("",!0)],64))}}),S4=(e,a)=>{const n=t.ref(),{defaultedMultiCalendars:r,defaultedConfig:o,defaultedHighlight:i,defaultedRange:l,propDates:s,defaultedFilters:d,defaultedMultiDates:p}=Ze(e),{modelValue:f,year:h,month:c,calendars:m}=pn(e,a),{isDisabled:u}=ua(e),{selectYear:y,groupedYears:b,showYearPicker:x,isDisabled:w,toggleYearPicker:k,handleYearSelect:B,handleYear:A}=Tl({modelValue:f,multiCalendars:r,range:l,highlight:i,calendars:m,propDates:s,month:c,year:h,filters:d,props:e,emit:a}),D=(j,G)=>[j,G].map(U=>Gt(U,"MMMM",{locale:e.formatLocale})).join("-"),V=t.computed(()=>j=>f.value?Array.isArray(f.value)?f.value.some(G=>nl(j,G)):nl(f.value,j):!1),C=j=>{if(l.value.enabled){if(Array.isArray(f.value)){const G=Fe(j,f.value[0])||Fe(j,f.value[1]);return zn(f.value,n.value,j)&&!G}return!1}return!1},M=(j,G)=>j.quarter===Ri(G)&&j.year===Ve(G),I=j=>typeof i.value=="function"?i.value({quarter:Ri(j),year:Ve(j)}):!!i.value.quarters.find(G=>M(G,j)),$=t.computed(()=>j=>{const G=We(new Date,{year:h.value(j)});return l2({start:on(G),end:Ii(G)}).map(U=>{const de=Sa(U),W=ji(U),_=u(U),ie=C(de),ne=I(de);return{text:D(de,W),value:de,active:V.value(de),highlighted:ne,disabled:_,isBetween:ie}})}),X=j=>{lo(j,f,p.value.limit),a("auto-apply",!0)},Y=j=>{f.value=so(f,j,a),Wn(f.value,a,e.autoApply,e.modelAuto)},E=j=>{f.value=j,a("auto-apply")};return{defaultedConfig:o,defaultedMultiCalendars:r,groupedYears:b,year:h,isDisabled:w,quarters:$,showYearPicker:x,modelValue:f,setHoverDate:j=>{n.value=j},selectYear:y,selectQuarter:(j,G,U)=>{if(!U)return m.value[G].month=Oe(ji(j)),p.value.enabled?X(j):l.value.enabled?Y(j):E(j)},toggleYearPicker:k,handleYearSelect:B,handleYear:A}},M4={class:"dp--quarter-items"},B4=["data-test","disabled","onClick","onMouseover"],A4=t.defineComponent({compatConfig:{MODE:3},__name:"QuarterPicker",props:{...Rt},emits:["update:internal-model-value","reset-flow","overlay-closed","auto-apply","range-start","range-end","overlay-toggle","update-month-year"],setup(e,{expose:a,emit:n}){const r=n,o=e,i=t.useSlots(),l=Vt(i,"yearMode"),{defaultedMultiCalendars:s,defaultedConfig:d,groupedYears:p,year:f,isDisabled:h,quarters:c,modelValue:m,showYearPicker:u,setHoverDate:y,selectQuarter:b,toggleYearPicker:x,handleYearSelect:w,handleYear:k}=S4(o,r);return a({getSidebarProps:()=>({modelValue:m,year:f,selectQuarter:b,handleYearSelect:w,handleYear:k})}),(B,A)=>(t.openBlock(),t.createBlock(qn,{"multi-calendars":t.unref(s).count,collapse:B.collapse,stretch:""},{default:t.withCtx(({instance:D})=>[t.createElementVNode("div",{class:"dp-quarter-picker-wrap",style:t.normalizeStyle({minHeight:`${t.unref(d).modeHeight}px`})},[B.$slots["top-extra"]?t.renderSlot(B.$slots,"top-extra",{key:0,value:B.internalModelValue}):t.createCommentVNode("",!0),t.createElementVNode("div",null,[t.createVNode(_l,t.mergeProps(B.$props,{items:t.unref(p)(D),instance:D,"show-year-picker":t.unref(u)[D],year:t.unref(f)(D),"is-disabled":V=>t.unref(h)(D,V),onHandleYear:V=>t.unref(k)(D,V),onYearSelect:V=>t.unref(w)(V,D),onToggleYearPicker:V=>t.unref(x)(D,V==null?void 0:V.flow,V==null?void 0:V.show)}),t.createSlots({_:2},[t.renderList(t.unref(l),(V,C)=>({name:V,fn:t.withCtx(M=>[t.renderSlot(B.$slots,V,t.normalizeProps(t.guardReactiveProps(M)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),t.createElementVNode("div",M4,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(t.unref(c)(D),(V,C)=>(t.openBlock(),t.createElementBlock("div",{key:C},[t.createElementVNode("button",{type:"button",class:t.normalizeClass(["dp--qr-btn",{"dp--qr-btn-active":V.active,"dp--qr-btn-between":V.isBetween,"dp--qr-btn-disabled":V.disabled,"dp--highlighted":V.highlighted}]),"data-test":V.value,disabled:V.disabled,onClick:M=>t.unref(b)(V.value,D,V.disabled),onMouseover:M=>t.unref(y)(V.value)},[B.$slots.quarter?t.renderSlot(B.$slots,"quarter",{key:0,value:V.value,text:V.text}):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(V.text),1)],64))],42,B4)]))),128))])],4)]),_:3},8,["multi-calendars","collapse"]))}}),V4=["id","tabindex","role","aria-label"],_4={key:0,class:"dp--menu-load-container"},N4={key:1,class:"dp--menu-header"},D4={key:0,class:"dp__sidebar_left"},T4=["data-test","onClick","onKeydown"],P4={key:2,class:"dp__sidebar_right"},O4={key:3,class:"dp__action_extra"},Ll=t.defineComponent({compatConfig:{MODE:3},__name:"DatepickerMenu",props:{...jn,shadow:{type:Boolean,default:!1},openOnTop:{type:Boolean,default:!1},internalModelValue:{type:[Date,Array],default:null},noOverlayFocus:{type:Boolean,default:!1},collapse:{type:Boolean,default:!1},getInputRect:{type:Function,default:()=>({})},isTextInputDate:{type:Boolean,default:!1}},emits:["close-picker","select-date","auto-apply","time-update","flow-step","update-month-year","invalid-select","update:internal-model-value","recalculate-position","invalid-fixed-range","tooltip-open","tooltip-close","time-picker-open","time-picker-close","am-pm-change","range-start","range-end","auto-apply-invalid","date-update","invalid-date","overlay-toggle"],setup(e,{expose:a,emit:n}){const r=n,o=e,i=t.ref(null),l=t.computed(()=>{const{openOnTop:H,...te}=o;return{...te,flowStep:M.value,collapse:o.collapse,noOverlayFocus:o.noOverlayFocus,menuWrapRef:i.value}}),{setMenuFocused:s,setShiftKey:d,control:p}=Bl(),f=t.useSlots(),{defaultedTextInput:h,defaultedInline:c,defaultedConfig:m,defaultedUI:u}=Ze(o),y=t.ref(null),b=t.ref(0),x=t.ref(null),w=t.ref(!1),k=t.ref(null);t.onMounted(()=>{if(!o.shadow){w.value=!0,B(),window.addEventListener("resize",B);const H=ct(i);if(H&&!h.value.enabled&&!c.value.enabled&&(s(!0),G()),H){const te=ce=>{m.value.allowPreventDefault&&ce.preventDefault(),ia(ce,m.value,!0)};H.addEventListener("pointerdown",te),H.addEventListener("mousedown",te)}}}),t.onUnmounted(()=>{window.removeEventListener("resize",B)});const B=()=>{const H=ct(x);H&&(b.value=H.getBoundingClientRect().width)},{arrowRight:A,arrowLeft:D,arrowDown:V,arrowUp:C}=ca(),{flowStep:M,updateFlowStep:I,childMount:$,resetFlow:X,handleFlow:Y}=R4(o,r,k),E=t.computed(()=>o.monthPicker?Y3:o.yearPicker?X3:o.timePicker?s4:o.quarterPicker?A4:C4),j=t.computed(()=>{var H;if(m.value.arrowLeft)return m.value.arrowLeft;const te=(H=i.value)==null?void 0:H.getBoundingClientRect(),ce=o.getInputRect();return(ce==null?void 0:ce.width)<(b==null?void 0:b.value)&&(ce==null?void 0:ce.left)<=((te==null?void 0:te.left)??0)?`${(ce==null?void 0:ce.width)/2}px`:(ce==null?void 0:ce.right)>=((te==null?void 0:te.right)??0)&&(ce==null?void 0:ce.width)<(b==null?void 0:b.value)?`${(b==null?void 0:b.value)-(ce==null?void 0:ce.width)/2}px`:"50%"}),G=()=>{const H=ct(i);H&&H.focus({preventScroll:!0})},U=t.computed(()=>{var H;return((H=k.value)==null?void 0:H.getSidebarProps())||{}}),de=()=>{o.openOnTop&&r("recalculate-position")},W=Vt(f,"action"),_=t.computed(()=>o.monthPicker||o.yearPicker?Vt(f,"monthYear"):o.timePicker?Vt(f,"timePicker"):Vt(f,"shared")),ie=t.computed(()=>o.openOnTop?"dp__arrow_bottom":"dp__arrow_top"),ne=t.computed(()=>({dp__menu_disabled:o.disabled,dp__menu_readonly:o.readonly,"dp-menu-loading":o.loading})),K=t.computed(()=>({dp__menu:!0,dp__menu_index:!c.value.enabled,dp__relative:c.value.enabled,...u.value.menu??{}})),S=H=>{ia(H,m.value,!0)},Q=()=>{o.escClose&&r("close-picker")},fe=H=>{if(o.arrowNavigation){if(H===bt.up)return C();if(H===bt.down)return V();if(H===bt.left)return D();if(H===bt.right)return A()}else H===bt.left||H===bt.up?L("handleArrow",bt.left,0,H===bt.up):L("handleArrow",bt.right,0,H===bt.down)},R=H=>{d(H.shiftKey),!o.disableMonthYearSelect&&H.code===Ue.tab&&H.target.classList.contains("dp__menu")&&p.value.shiftKeyInMenu&&(H.preventDefault(),ia(H,m.value,!0),r("close-picker"))},ye=()=>{G(),r("time-picker-close")},Z=H=>{var te,ce,ge;(te=k.value)==null||te.toggleTimePicker(!1,!1),(ce=k.value)==null||ce.toggleMonthPicker(!1,!1,H),(ge=k.value)==null||ge.toggleYearPicker(!1,!1,H)},me=(H,te=0)=>{var ce,ge,xe;return H==="month"?(ce=k.value)==null?void 0:ce.toggleMonthPicker(!1,!0,te):H==="year"?(ge=k.value)==null?void 0:ge.toggleYearPicker(!1,!0,te):H==="time"?(xe=k.value)==null?void 0:xe.toggleTimePicker(!0,!1):Z(te)},L=(H,...te)=>{var ce,ge;(ce=k.value)!=null&&ce[H]&&((ge=k.value)==null||ge[H](...te))},v=()=>{L("selectCurrentDate")},g=(H,te)=>{L("presetDate",H,te)},N=()=>{L("clearHoverDate")},F=(H,te)=>{L("updateMonthYear",H,te)},O=(H,te)=>{H.preventDefault(),fe(te)},J=H=>{var te,ce,ge;if(R(H),H.key===Ue.home||H.key===Ue.end)return L("selectWeekDate",H.key===Ue.home,H.target.getAttribute("id"));switch((H.key===Ue.pageUp||H.key===Ue.pageDown)&&(H.shiftKey?(L("changeYear",H.key===Ue.pageUp),(te=Yr(i.value,"overlay-year"))==null||te.focus()):(L("changeMonth",H.key===Ue.pageUp),(ce=Yr(i.value,H.key===Ue.pageUp?"action-prev":"action-next"))==null||ce.focus()),H.target.getAttribute("id")&&((ge=i.value)==null||ge.focus({preventScroll:!0}))),H.key){case Ue.esc:return Q();case Ue.arrowLeft:return O(H,bt.left);case Ue.arrowRight:return O(H,bt.right);case Ue.arrowUp:return O(H,bt.up);case Ue.arrowDown:return O(H,bt.down);default:return}};return a({updateMonthYear:F,switchView:me,handleFlow:Y}),(H,te)=>{var ce,ge,xe;return t.openBlock(),t.createElementBlock("div",{id:H.uid?`dp-menu-${H.uid}`:void 0,ref_key:"dpMenuRef",ref:i,tabindex:t.unref(c).enabled?void 0:"0",role:t.unref(c).enabled?void 0:"dialog","aria-label":(ce=H.ariaLabels)==null?void 0:ce.menu,class:t.normalizeClass(K.value),style:t.normalizeStyle({"--dp-arrow-left":j.value}),onMouseleave:N,onClick:S,onKeydown:J},[(H.disabled||H.readonly)&&t.unref(c).enabled||H.loading?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(ne.value)},[H.loading?(t.openBlock(),t.createElementBlock("div",_4,te[19]||(te[19]=[t.createElementVNode("span",{class:"dp--menu-loader"},null,-1)]))):t.createCommentVNode("",!0)],2)):t.createCommentVNode("",!0),H.$slots["menu-header"]?(t.openBlock(),t.createElementBlock("div",N4,[t.renderSlot(H.$slots,"menu-header")])):t.createCommentVNode("",!0),!t.unref(c).enabled&&!H.teleportCenter?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(ie.value)},null,2)):t.createCommentVNode("",!0),t.createElementVNode("div",{ref_key:"innerMenuRef",ref:x,class:t.normalizeClass({dp__menu_content_wrapper:((ge=H.presetDates)==null?void 0:ge.length)||!!H.$slots["left-sidebar"]||!!H.$slots["right-sidebar"],"dp--menu-content-wrapper-collapsed":e.collapse&&(((xe=H.presetDates)==null?void 0:xe.length)||!!H.$slots["left-sidebar"]||!!H.$slots["right-sidebar"])}),style:t.normalizeStyle({"--dp-menu-width":`${b.value}px`})},[H.$slots["left-sidebar"]?(t.openBlock(),t.createElementBlock("div",D4,[t.renderSlot(H.$slots,"left-sidebar",t.normalizeProps(t.guardReactiveProps(U.value)))])):t.createCommentVNode("",!0),H.presetDates.length?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass({"dp--preset-dates-collapsed":e.collapse,"dp--preset-dates":!0})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(H.presetDates,(ue,Me)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:Me},[ue.slot?t.renderSlot(H.$slots,ue.slot,{key:0,presetDate:g,label:ue.label,value:ue.value}):(t.openBlock(),t.createElementBlock("button",{key:1,type:"button",style:t.normalizeStyle(ue.style||{}),class:t.normalizeClass(["dp__btn dp--preset-range",{"dp--preset-range-collapsed":e.collapse}]),"data-test":ue.testId??void 0,onClick:t.withModifiers(_e=>g(ue.value,ue.noTz),["prevent"]),onKeydown:_e=>t.unref(wt)(_e,()=>g(ue.value,ue.noTz),!0)},t.toDisplayString(ue.label),47,T4))],64))),128))],2)):t.createCommentVNode("",!0),t.createElementVNode("div",{ref_key:"calendarWrapperRef",ref:y,class:"dp__instance_calendar",role:"document"},[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(E.value),t.mergeProps({ref_key:"dynCmpRef",ref:k},l.value,{"flow-step":t.unref(M),onMount:t.unref($),onUpdateFlowStep:t.unref(I),onResetFlow:t.unref(X),onFocusMenu:G,onSelectDate:te[0]||(te[0]=ue=>H.$emit("select-date")),onDateUpdate:te[1]||(te[1]=ue=>H.$emit("date-update",ue)),onTooltipOpen:te[2]||(te[2]=ue=>H.$emit("tooltip-open",ue)),onTooltipClose:te[3]||(te[3]=ue=>H.$emit("tooltip-close",ue)),onAutoApply:te[4]||(te[4]=ue=>H.$emit("auto-apply",ue)),onRangeStart:te[5]||(te[5]=ue=>H.$emit("range-start",ue)),onRangeEnd:te[6]||(te[6]=ue=>H.$emit("range-end",ue)),onInvalidFixedRange:te[7]||(te[7]=ue=>H.$emit("invalid-fixed-range",ue)),onTimeUpdate:te[8]||(te[8]=ue=>H.$emit("time-update")),onAmPmChange:te[9]||(te[9]=ue=>H.$emit("am-pm-change",ue)),onTimePickerOpen:te[10]||(te[10]=ue=>H.$emit("time-picker-open",ue)),onTimePickerClose:ye,onRecalculatePosition:de,onUpdateMonthYear:te[11]||(te[11]=ue=>H.$emit("update-month-year",ue)),onAutoApplyInvalid:te[12]||(te[12]=ue=>H.$emit("auto-apply-invalid",ue)),onInvalidDate:te[13]||(te[13]=ue=>H.$emit("invalid-date",ue)),onOverlayToggle:te[14]||(te[14]=ue=>H.$emit("overlay-toggle",ue)),"onUpdate:internalModelValue":te[15]||(te[15]=ue=>H.$emit("update:internal-model-value",ue))}),t.createSlots({_:2},[t.renderList(_.value,(ue,Me)=>({name:ue,fn:t.withCtx(_e=>[t.renderSlot(H.$slots,ue,t.normalizeProps(t.guardReactiveProps({..._e})))])}))]),1040,["flow-step","onMount","onUpdateFlowStep","onResetFlow"]))],512),H.$slots["right-sidebar"]?(t.openBlock(),t.createElementBlock("div",P4,[t.renderSlot(H.$slots,"right-sidebar",t.normalizeProps(t.guardReactiveProps(U.value)))])):t.createCommentVNode("",!0),H.$slots["action-extra"]?(t.openBlock(),t.createElementBlock("div",O4,[H.$slots["action-extra"]?t.renderSlot(H.$slots,"action-extra",{key:0,selectCurrentDate:v}):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)],6),!H.autoApply||t.unref(m).keepActionRow?(t.openBlock(),t.createBlock(H3,t.mergeProps({key:3,"menu-mount":w.value},l.value,{"calendar-width":b.value,onClosePicker:te[16]||(te[16]=ue=>H.$emit("close-picker")),onSelectDate:te[17]||(te[17]=ue=>H.$emit("select-date")),onInvalidSelect:te[18]||(te[18]=ue=>H.$emit("invalid-select")),onSelectNow:v}),t.createSlots({_:2},[t.renderList(t.unref(W),(ue,Me)=>({name:ue,fn:t.withCtx(_e=>[t.renderSlot(H.$slots,ue,t.normalizeProps(t.guardReactiveProps({..._e})))])}))]),1040,["menu-mount","calendar-width"])):t.createCommentVNode("",!0)],46,V4)}}});var qa=(e=>(e.center="center",e.left="left",e.right="right",e))(qa||{});const F4=({menuRef:e,menuRefInner:a,inputRef:n,pickerWrapperRef:r,inline:o,emit:i,props:l,slots:s})=>{const{defaultedConfig:d}=Ze(l),p=t.ref({}),f=t.ref(!1),h=t.ref({top:"0",left:"0"}),c=t.ref(!1),m=t.toRef(l,"teleportCenter");t.watch(m,()=>{h.value=JSON.parse(JSON.stringify({})),A()});const u=G=>{if(l.teleport){const U=G.getBoundingClientRect();return{left:U.left+window.scrollX,top:U.top+window.scrollY}}return{top:0,left:0}},y=(G,U)=>{h.value.left=`${G+U-p.value.width}px`},b=G=>{h.value.left=`${G}px`},x=(G,U)=>{l.position===qa.left&&b(G),l.position===qa.right&&y(G,U),l.position===qa.center&&(h.value.left=`${G+U/2-p.value.width/2}px`)},w=G=>{const{width:U,height:de}=G.getBoundingClientRect(),{top:W,left:_}=l.altPosition?l.altPosition(G):u(G);return{top:+W,left:+_,width:U,height:de}},k=()=>{h.value.left="50%",h.value.top="50%",h.value.transform="translate(-50%, -50%)",h.value.position="fixed",delete h.value.opacity},B=()=>{const G=ct(n),{top:U,left:de,transform:W}=l.altPosition(G);h.value={top:`${U}px`,left:`${de}px`,transform:W??""}},A=(G=!0)=>{var U;if(!o.value.enabled){if(m.value)return k();if(l.altPosition!==null)return B();if(G){const de=l.teleport?(U=a.value)==null?void 0:U.$el:e.value;de&&(p.value=de.getBoundingClientRect()),i("recalculate-position")}return X()}},D=({inputEl:G,left:U,width:de})=>{window.screen.width>768&&!f.value&&x(U,de),M(G)},V=G=>{const{top:U,left:de,height:W,width:_}=w(G);h.value.top=`${W+U+ +l.offset}px`,c.value=!1,f.value||(h.value.left=`${de+_/2-p.value.width/2}px`),D({inputEl:G,left:de,width:_})},C=G=>{const{top:U,left:de,width:W}=w(G);h.value.top=`${U-+l.offset-p.value.height}px`,c.value=!0,D({inputEl:G,left:de,width:W})},M=G=>{if(l.autoPosition){const{left:U,width:de}=w(G),{left:W,right:_}=p.value;if(!f.value){if(Math.abs(W)!==Math.abs(_)){if(W<=0)return f.value=!0,b(U);if(_>=document.documentElement.clientWidth)return f.value=!0,y(U,de)}return x(U,de)}}},I=()=>{const G=ct(n);if(G){const{height:U}=p.value,{top:de,height:W}=G.getBoundingClientRect(),_=window.innerHeight-de-W,ie=de;return U<=_?Ba.bottom:U>_&&U<=ie?Ba.top:_>=ie?Ba.bottom:Ba.top}return Ba.bottom},$=G=>I()===Ba.bottom?V(G):C(G),X=()=>{const G=ct(n);if(G)return l.autoPosition?$(G):V(G)},Y=function(G){if(G){const U=G.scrollHeight>G.clientHeight,de=window.getComputedStyle(G).overflowY.indexOf("hidden")!==-1;return U&&!de}return!0},E=function(G){return!G||G===document.body||G.nodeType===Node.DOCUMENT_FRAGMENT_NODE?window:Y(G)?G:E(G.assignedSlot&&d.value.shadowDom?G.assignedSlot.parentNode:G.parentNode)},j=G=>{if(G)switch(l.position){case qa.left:return{left:0,transform:"translateX(0)"};case qa.right:return{left:`${G.width}px`,transform:"translateX(-100%)"};default:return{left:`${G.width/2}px`,transform:"translateX(-50%)"}}return{}};return{openOnTop:c,menuStyle:h,xCorrect:f,setMenuPosition:A,getScrollableParent:E,shadowRender:(G,U)=>{var de,W,_;const ie=document.createElement("div"),ne=(de=ct(n))==null?void 0:de.getBoundingClientRect();ie.setAttribute("id","dp--temp-container");const K=(W=r.value)!=null&&W.clientWidth?r.value:document.body;K.append(ie);const S=j(ne),Q=d.value.shadowDom?Object.keys(s).filter(R=>["right-sidebar","left-sidebar","top-extra","action-extra"].includes(R)):Object.keys(s),fe=t.h(G,{...U,shadow:!0,style:{opacity:0,position:"absolute",...S}},Object.fromEntries(Q.map(R=>[R,s[R]])));t.render(fe,ie),p.value=(_=fe.el)==null?void 0:_.getBoundingClientRect(),t.render(null,ie),K.removeChild(ie)}}},da=[{name:"clock-icon",use:["time","calendar","shared"]},{name:"arrow-left",use:["month-year","calendar","shared","year-mode"]},{name:"arrow-right",use:["month-year","calendar","shared","year-mode"]},{name:"arrow-up",use:["time","calendar","month-year","shared"]},{name:"arrow-down",use:["time","calendar","month-year","shared"]},{name:"calendar-icon",use:["month-year","time","calendar","shared","year-mode"]},{name:"day",use:["calendar","shared"]},{name:"month-overlay-value",use:["calendar","month-year","shared"]},{name:"year-overlay-value",use:["calendar","month-year","shared","year-mode"]},{name:"year-overlay",use:["month-year","shared"]},{name:"month-overlay",use:["month-year","shared"]},{name:"month-overlay-header",use:["month-year","shared"]},{name:"year-overlay-header",use:["month-year","shared"]},{name:"hours-overlay-value",use:["calendar","time","shared"]},{name:"hours-overlay-header",use:["calendar","time","shared"]},{name:"minutes-overlay-value",use:["calendar","time","shared"]},{name:"minutes-overlay-header",use:["calendar","time","shared"]},{name:"seconds-overlay-value",use:["calendar","time","shared"]},{name:"seconds-overlay-header",use:["calendar","time","shared"]},{name:"hours",use:["calendar","time","shared"]},{name:"minutes",use:["calendar","time","shared"]},{name:"month",use:["calendar","month-year","shared"]},{name:"year",use:["calendar","month-year","shared","year-mode"]},{name:"action-buttons",use:["action"]},{name:"action-preview",use:["action"]},{name:"calendar-header",use:["calendar","shared"]},{name:"marker-tooltip",use:["calendar","shared"]},{name:"action-extra",use:["menu"]},{name:"time-picker-overlay",use:["calendar","time","shared"]},{name:"am-pm-button",use:["calendar","time","shared"]},{name:"left-sidebar",use:["menu"]},{name:"right-sidebar",use:["menu"]},{name:"month-year",use:["month-year","shared"]},{name:"time-picker",use:["menu","shared"]},{name:"action-row",use:["action"]},{name:"marker",use:["calendar","shared"]},{name:"quarter",use:["shared"]},{name:"top-extra",use:["shared","month-year"]},{name:"tp-inline-arrow-up",use:["shared","time"]},{name:"tp-inline-arrow-down",use:["shared","time"]},{name:"menu-header",use:["menu"]}],L4=[{name:"trigger"},{name:"input-icon"},{name:"clear-icon"},{name:"dp-input"}],$4={all:()=>da,monthYear:()=>da.filter(e=>e.use.includes("month-year")),input:()=>L4,timePicker:()=>da.filter(e=>e.use.includes("time")),action:()=>da.filter(e=>e.use.includes("action")),calendar:()=>da.filter(e=>e.use.includes("calendar")),menu:()=>da.filter(e=>e.use.includes("menu")),shared:()=>da.filter(e=>e.use.includes("shared")),yearMode:()=>da.filter(e=>e.use.includes("year-mode"))},Vt=(e,a,n)=>{const r=[];return $4[a]().forEach(o=>{e[o.name]&&r.push(o.name)}),n!=null&&n.length&&n.forEach(o=>{o.slot&&r.push(o.slot)}),r},hn=e=>{const a=t.computed(()=>r=>e.value?r?e.value.open:e.value.close:""),n=t.computed(()=>r=>e.value?r?e.value.menuAppearTop:e.value.menuAppearBottom:"");return{transitionName:a,showTransition:!!e.value,menuTransition:n}},pn=(e,a,n)=>{const{defaultedRange:r,defaultedTz:o}=Ze(e),i=pe(At(pe(),o.value.timezone)),l=t.ref([{month:Oe(i),year:Ve(i)}]),s=c=>{const m={hours:Zt(i),minutes:oa(i),seconds:0};return r.value.enabled?[m[c],m[c]]:m[c]},d=t.reactive({hours:s("hours"),minutes:s("minutes"),seconds:s("seconds")});t.watch(r,(c,m)=>{c.enabled!==m.enabled&&(d.hours=s("hours"),d.minutes=s("minutes"),d.seconds=s("seconds"))},{deep:!0});const p=t.computed({get:()=>e.internalModelValue,set:c=>{!e.readonly&&!e.disabled&&a("update:internal-model-value",c)}}),f=t.computed(()=>c=>l.value[c]?l.value[c].month:0),h=t.computed(()=>c=>l.value[c]?l.value[c].year:0);return t.watch(p,(c,m)=>{n&&JSON.stringify(c??{})!==JSON.stringify(m??{})&&n()},{deep:!0}),{calendars:l,time:d,modelValue:p,month:f,year:h,today:i}},H4=(e,a)=>{const{defaultedMultiCalendars:n,defaultedMultiDates:r,defaultedUI:o,defaultedHighlight:i,defaultedTz:l,propDates:s,defaultedRange:d}=Ze(a),{isDisabled:p}=ua(a),f=t.ref(null),h=t.ref(At(new Date,l.value.timezone)),c=S=>{!S.current&&a.hideOffsetDates||(f.value=S.value)},m=()=>{f.value=null},u=S=>Array.isArray(e.value)&&d.value.enabled&&e.value[0]&&f.value?S?it(f.value,e.value[0]):tt(f.value,e.value[0]):!0,y=(S,Q)=>{const fe=()=>e.value?Q?e.value[0]||null:e.value[1]:null,R=e.value&&Array.isArray(e.value)?fe():null;return Fe(pe(S.value),R)},b=S=>{const Q=Array.isArray(e.value)?e.value[0]:null;return S?!tt(f.value??null,Q):!0},x=(S,Q=!0)=>(d.value.enabled||a.weekPicker)&&Array.isArray(e.value)&&e.value.length===2?a.hideOffsetDates&&!S.current?!1:Fe(pe(S.value),e.value[Q?0:1]):d.value.enabled?y(S,Q)&&b(Q)||Fe(S.value,Array.isArray(e.value)?e.value[0]:null)&&u(Q):!1,w=(S,Q)=>{if(Array.isArray(e.value)&&e.value[0]&&e.value.length===1){const fe=Fe(S.value,f.value);return Q?it(e.value[0],S.value)&&fe:tt(e.value[0],S.value)&&fe}return!1},k=S=>!e.value||a.hideOffsetDates&&!S.current?!1:d.value.enabled?a.modelAuto&&Array.isArray(e.value)?Fe(S.value,e.value[0]?e.value[0]:h.value):!1:r.value.enabled&&Array.isArray(e.value)?e.value.some(Q=>Fe(Q,S.value)):Fe(S.value,e.value?e.value:h.value),B=S=>{if(d.value.autoRange||a.weekPicker){if(f.value){if(a.hideOffsetDates&&!S.current)return!1;const Q=Ot(f.value,+d.value.autoRange),fe=Qt(pe(f.value),a.weekStart);return a.weekPicker?Fe(fe[1],pe(S.value)):Fe(Q,pe(S.value))}return!1}return!1},A=S=>{if(d.value.autoRange||a.weekPicker){if(f.value){const Q=Ot(f.value,+d.value.autoRange);if(a.hideOffsetDates&&!S.current)return!1;const fe=Qt(pe(f.value),a.weekStart);return a.weekPicker?it(S.value,fe[0])&&tt(S.value,fe[1]):it(S.value,f.value)&&tt(S.value,Q)}return!1}return!1},D=S=>{if(d.value.autoRange||a.weekPicker){if(f.value){if(a.hideOffsetDates&&!S.current)return!1;const Q=Qt(pe(f.value),a.weekStart);return a.weekPicker?Fe(Q[0],S.value):Fe(f.value,S.value)}return!1}return!1},V=S=>zn(e.value,f.value,S.value),C=()=>a.modelAuto&&Array.isArray(a.internalModelValue)?!!a.internalModelValue[0]:!1,M=()=>a.modelAuto?ul(a.internalModelValue):!0,I=S=>{if(a.weekPicker)return!1;const Q=d.value.enabled?!x(S)&&!x(S,!1):!0;return!p(S.value)&&!k(S)&&!(!S.current&&a.hideOffsetDates)&&Q},$=S=>d.value.enabled?a.modelAuto?C()&&k(S):!1:k(S),X=S=>i.value?d3(S.value,s.value.highlight):!1,Y=S=>{const Q=p(S.value);return Q&&(typeof i.value=="function"?!i.value(S.value,Q):!i.value.options.highlightDisabled)},E=S=>{var Q;return typeof i.value=="function"?i.value(S.value):(Q=i.value.weekdays)==null?void 0:Q.includes(S.value.getDay())},j=S=>(d.value.enabled||a.weekPicker)&&(!(n.value.count>0)||S.current)&&M()&&!(!S.current&&a.hideOffsetDates)&&!k(S)?V(S):!1,G=S=>{const{isRangeStart:Q,isRangeEnd:fe}=_(S),R=d.value.enabled?Q||fe:!1;return{dp__cell_offset:!S.current,dp__pointer:!a.disabled&&!(!S.current&&a.hideOffsetDates)&&!p(S.value),dp__cell_disabled:p(S.value),dp__cell_highlight:!Y(S)&&(X(S)||E(S))&&!$(S)&&!R&&!D(S)&&!(j(S)&&a.weekPicker)&&!fe,dp__cell_highlight_active:!Y(S)&&(X(S)||E(S))&&$(S),dp__today:!a.noToday&&Fe(S.value,h.value)&&S.current,"dp--past":tt(S.value,h.value),"dp--future":it(S.value,h.value)}},U=S=>({dp__active_date:$(S),dp__date_hover:I(S)}),de=S=>{if(e.value&&!Array.isArray(e.value)){const Q=Qt(e.value,a.weekStart);return{...ne(S),dp__range_start:Fe(Q[0],S.value),dp__range_end:Fe(Q[1],S.value),dp__range_between_week:it(S.value,Q[0])&&tt(S.value,Q[1])}}return{...ne(S)}},W=S=>{if(e.value&&Array.isArray(e.value)){const Q=Qt(e.value[0],a.weekStart),fe=e.value[1]?Qt(e.value[1],a.weekStart):[];return{...ne(S),dp__range_start:Fe(Q[0],S.value)||Fe(fe[0],S.value),dp__range_end:Fe(Q[1],S.value)||Fe(fe[1],S.value),dp__range_between_week:it(S.value,Q[0])&&tt(S.value,Q[1])||it(S.value,fe[0])&&tt(S.value,fe[1]),dp__range_between:it(S.value,Q[1])&&tt(S.value,fe[0])}}return{...ne(S)}},_=S=>{const Q=n.value.count>0?S.current&&x(S)&&M():x(S)&&M(),fe=n.value.count>0?S.current&&x(S,!1)&&M():x(S,!1)&&M();return{isRangeStart:Q,isRangeEnd:fe}},ie=S=>{const{isRangeStart:Q,isRangeEnd:fe}=_(S);return{dp__range_start:Q,dp__range_end:fe,dp__range_between:j(S),dp__date_hover:Fe(S.value,f.value)&&!Q&&!fe&&!a.weekPicker,dp__date_hover_start:w(S,!0),dp__date_hover_end:w(S,!1)}},ne=S=>({...ie(S),dp__cell_auto_range:A(S),dp__cell_auto_range_start:D(S),dp__cell_auto_range_end:B(S)}),K=S=>d.value.enabled?d.value.autoRange?ne(S):a.modelAuto?{...U(S),...ie(S)}:a.weekPicker?W(S):ie(S):a.weekPicker?de(S):U(S);return{setHoverDate:c,clearHoverDate:m,getDayClassData:S=>a.hideOffsetDates&&!S.current?{}:{...G(S),...K(S),[a.dayClass?a.dayClass(S.value,a.internalModelValue):""]:!0,...o.value.calendarCell??{}}}},ua=e=>{const{defaultedFilters:a,defaultedRange:n,propDates:r,defaultedMultiDates:o}=Ze(e),i=E=>r.value.disabledDates?typeof r.value.disabledDates=="function"?r.value.disabledDates(pe(E)):!!Rn(E,r.value.disabledDates):!1,l=E=>r.value.maxDate?e.yearPicker?Ve(E)>Ve(r.value.maxDate):it(E,r.value.maxDate):!1,s=E=>r.value.minDate?e.yearPicker?Ve(E)<Ve(r.value.minDate):tt(E,r.value.minDate):!1,d=E=>{const j=l(E),G=s(E),U=i(E),de=a.value.months.map(K=>+K).includes(Oe(E)),W=e.disabledWeekDays.length?e.disabledWeekDays.some(K=>+K===K2(E)):!1,_=m(E),ie=Ve(E),ne=ie<+e.yearRange[0]||ie>+e.yearRange[1];return!(j||G||U||de||ne||W||_)},p=(E,j)=>tt(...sa(r.value.minDate,E,j))||Fe(...sa(r.value.minDate,E,j)),f=(E,j)=>it(...sa(r.value.maxDate,E,j))||Fe(...sa(r.value.maxDate,E,j)),h=(E,j,G)=>{let U=!1;return r.value.maxDate&&G&&f(E,j)&&(U=!0),r.value.minDate&&!G&&p(E,j)&&(U=!0),U},c=(E,j,G,U)=>{let de=!1;return U&&(r.value.minDate||r.value.maxDate)?r.value.minDate&&r.value.maxDate?de=h(E,j,G):(r.value.minDate&&p(E,j)||r.value.maxDate&&f(E,j))&&(de=!0):de=!0,de},m=E=>Array.isArray(r.value.allowedDates)&&!r.value.allowedDates.length?!0:r.value.allowedDates?!Rn(E,r.value.allowedDates):!1,u=E=>!d(E),y=E=>n.value.noDisabledRange?!zi({start:E[0],end:E[1]}).some(j=>u(j)):!0,b=E=>{if(E){const j=Ve(E);return j>=+e.yearRange[0]&&j<=e.yearRange[1]}return!0},x=(E,j)=>!!(Array.isArray(E)&&E[j]&&(n.value.maxRange||n.value.minRange)&&b(E[j])),w=(E,j,G=0)=>{if(x(j,G)&&b(E)){const U=Li(E,j[G]),de=bl(j[G],E),W=de.length===1?0:de.filter(ie=>u(ie)).length,_=Math.abs(U)-(n.value.minMaxRawRange?0:W);if(n.value.minRange&&n.value.maxRange)return _>=+n.value.minRange&&_<=+n.value.maxRange;if(n.value.minRange)return _>=+n.value.minRange;if(n.value.maxRange)return _<=+n.value.maxRange}return!0},k=()=>!e.enableTimePicker||e.monthPicker||e.yearPicker||e.ignoreTimeValidation,B=E=>Array.isArray(E)?[E[0]?eo(E[0]):null,E[1]?eo(E[1]):null]:eo(E),A=(E,j,G)=>E.find(U=>+U.hours===Zt(j)&&U.minutes==="*"?!0:+U.minutes===oa(j)&&+U.hours===Zt(j))&&G,D=(E,j,G)=>{const[U,de]=E,[W,_]=j;return!A(U,W,G)&&!A(de,_,G)&&G},V=(E,j)=>{const G=Array.isArray(j)?j:[j];return Array.isArray(e.disabledTimes)?Array.isArray(e.disabledTimes[0])?D(e.disabledTimes,G,E):!G.some(U=>A(e.disabledTimes,U,E)):E},C=(E,j)=>{const G=Array.isArray(j)?[Va(j[0]),j[1]?Va(j[1]):void 0]:Va(j),U=!e.disabledTimes(G);return E&&U},M=(E,j)=>e.disabledTimes?Array.isArray(e.disabledTimes)?V(j,E):C(j,E):j,I=E=>{let j=!0;if(!E||k())return!0;const G=!r.value.minDate&&!r.value.maxDate?B(E):E;return(e.maxTime||r.value.maxDate)&&(j=Cl(e.maxTime,r.value.maxDate,"max",mt(G),j)),(e.minTime||r.value.minDate)&&(j=Cl(e.minTime,r.value.minDate,"min",mt(G),j)),M(E,j)},$=E=>{if(!e.monthPicker)return!0;let j=!0;const G=pe(Ht(E));if(r.value.minDate&&r.value.maxDate){const U=pe(Ht(r.value.minDate)),de=pe(Ht(r.value.maxDate));return it(G,U)&&tt(G,de)||Fe(G,U)||Fe(G,de)}if(r.value.minDate){const U=pe(Ht(r.value.minDate));j=it(G,U)||Fe(G,U)}if(r.value.maxDate){const U=pe(Ht(r.value.maxDate));j=tt(G,U)||Fe(G,U)}return j},X=t.computed(()=>E=>!e.enableTimePicker||e.ignoreTimeValidation?!0:I(E)),Y=t.computed(()=>E=>e.monthPicker?Array.isArray(E)&&(n.value.enabled||o.value.enabled)?!E.filter(j=>!$(j)).length:$(E):!0);return{isDisabled:u,validateDate:d,validateMonthYearInRange:c,isDateRangeAllowed:y,checkMinMaxRange:w,isValidTime:I,isTimeValid:X,isMonthValid:Y}},Yn=()=>{const e=t.computed(()=>(r,o)=>r==null?void 0:r.includes(o)),a=t.computed(()=>(r,o)=>r.count?r.solo?!0:o===0:!0),n=t.computed(()=>(r,o)=>r.count?r.solo?!0:o===r.count-1:!0);return{hideNavigationButtons:e,showLeftIcon:a,showRightIcon:n}},R4=(e,a,n)=>{const r=t.ref(0),o=t.reactive({[Aa.timePicker]:!e.enableTimePicker||e.timePicker||e.monthPicker,[Aa.calendar]:!1,[Aa.header]:!1}),i=t.computed(()=>e.monthPicker||e.timePicker),l=h=>{var c;if((c=e.flow)!=null&&c.length){if(!h&&i.value)return f();o[h]=!0,Object.keys(o).filter(m=>!o[m]).length||f()}},s=()=>{var h,c;(h=e.flow)!=null&&h.length&&r.value!==-1&&(r.value+=1,a("flow-step",r.value),f()),((c=e.flow)==null?void 0:c.length)===r.value&&t.nextTick().then(()=>d())},d=()=>{r.value=-1},p=(h,c,...m)=>{var u,y;e.flow[r.value]===h&&n.value&&((y=(u=n.value)[c])==null||y.call(u,...m))},f=(h=0)=>{h&&(r.value+=h),p(yt.month,"toggleMonthPicker",!0),p(yt.year,"toggleYearPicker",!0),p(yt.calendar,"toggleTimePicker",!1,!0),p(yt.time,"toggleTimePicker",!0,!0);const c=e.flow[r.value];(c===yt.hours||c===yt.minutes||c===yt.seconds)&&p(c,"toggleTimePicker",!0,!0,c)};return{childMount:l,updateFlowStep:s,resetFlow:d,handleFlow:f,flowStep:r}},z4={key:1,class:"dp__input_wrap"},I4=["id","name","inputmode","placeholder","disabled","readonly","required","value","autocomplete","aria-label","aria-disabled","aria-invalid"],G4={key:2,class:"dp--clear-btn"},j4=["aria-label"],q4=t.defineComponent({compatConfig:{MODE:3},__name:"DatepickerInput",props:{isMenuOpen:{type:Boolean,default:!1},inputValue:{type:String,default:""},...jn},emits:["clear","open","update:input-value","set-input-date","close","select-date","set-empty-date","toggle","focus-prev","focus","blur","real-blur","text-input"],setup(e,{expose:a,emit:n}){const r=n,o=e,{defaultedTextInput:i,defaultedAriaLabels:l,defaultedInline:s,defaultedConfig:d,defaultedRange:p,defaultedMultiDates:f,defaultedUI:h,getDefaultPattern:c,getDefaultStartTime:m}=Ze(o),{checkMinMaxRange:u}=ua(o),y=t.ref(),b=t.ref(null),x=t.ref(!1),w=t.ref(!1),k=t.computed(()=>({dp__pointer:!o.disabled&&!o.readonly&&!i.value.enabled,dp__disabled:o.disabled,dp__input_readonly:!i.value.enabled,dp__input:!0,dp__input_icon_pad:!o.hideInputIcon,dp__input_valid:typeof o.state=="boolean"?o.state:!1,dp__input_invalid:typeof o.state=="boolean"?!o.state:!1,dp__input_focus:x.value||o.isMenuOpen,dp__input_reg:!i.value.enabled,...h.value.input??{}})),B=()=>{r("set-input-date",null),o.clearable&&o.autoApply&&(r("set-empty-date"),y.value=null)},A=_=>{const ie=m();return u3(_,i.value.format??c(),ie??wl({},o.enableSeconds),o.inputValue,w.value,o.formatLocale)},D=_=>{const{rangeSeparator:ie}=i.value,[ne,K]=_.split(`${ie}`);if(ne){const S=A(ne.trim()),Q=K?A(K.trim()):null;if($a(S,Q))return;const fe=S&&Q?[S,Q]:[S];u(Q,fe,0)&&(y.value=S?fe:null)}},V=()=>{w.value=!0},C=_=>{if(p.value.enabled)D(_);else if(f.value.enabled){const ie=_.split(";");y.value=ie.map(ne=>A(ne.trim())).filter(ne=>ne)}else y.value=A(_)},M=_=>{var ie;const ne=typeof _=="string"?_:(ie=_.target)==null?void 0:ie.value;ne!==""?(i.value.openMenu&&!o.isMenuOpen&&r("open"),C(ne),r("set-input-date",y.value)):B(),w.value=!1,r("update:input-value",ne),r("text-input",_,y.value)},I=_=>{i.value.enabled?(C(_.target.value),i.value.enterSubmit&&Qr(y.value)&&o.inputValue!==""?(r("set-input-date",y.value,!0),y.value=null):i.value.enterSubmit&&o.inputValue===""&&(y.value=null,r("clear"))):Y(_)},$=(_,ie)=>{i.value.enabled&&i.value.tabSubmit&&!ie&&C(_.target.value),i.value.tabSubmit&&Qr(y.value)&&o.inputValue!==""?(r("set-input-date",y.value,!0,!0),y.value=null):i.value.tabSubmit&&o.inputValue===""&&(y.value=null,r("clear",!0))},X=()=>{x.value=!0,r("focus"),t.nextTick().then(()=>{var _;i.value.enabled&&i.value.selectOnFocus&&((_=b.value)==null||_.select())})},Y=_=>{if(ia(_,d.value,!0),i.value.enabled&&i.value.openMenu&&!s.value.input){if(i.value.openMenu==="open"&&!o.isMenuOpen)return r("open");if(i.value.openMenu==="toggle")return r("toggle")}else i.value.enabled||r("toggle")},E=()=>{r("real-blur"),x.value=!1,(!o.isMenuOpen||s.value.enabled&&s.value.input)&&r("blur"),o.autoApply&&i.value.enabled&&y.value&&!o.isMenuOpen&&(r("set-input-date",y.value),r("select-date"),y.value=null)},j=_=>{ia(_,d.value,!0),r("clear")},G=_=>{if(_.key==="Tab"&&$(_),_.key==="Enter"&&I(_),!i.value.enabled){if(_.code==="Tab")return;_.preventDefault()}},U=()=>{var _;(_=b.value)==null||_.focus({preventScroll:!0})},de=_=>{y.value=_},W=_=>{_.key===Ue.tab&&$(_,!0)};return a({focusInput:U,setParsedDate:de}),(_,ie)=>{var ne,K,S;return t.openBlock(),t.createElementBlock("div",{onClick:Y},[_.$slots.trigger&&!_.$slots["dp-input"]&&!t.unref(s).enabled?t.renderSlot(_.$slots,"trigger",{key:0}):t.createCommentVNode("",!0),!_.$slots.trigger&&(!t.unref(s).enabled||t.unref(s).input)?(t.openBlock(),t.createElementBlock("div",z4,[_.$slots["dp-input"]&&!_.$slots.trigger&&(!t.unref(s).enabled||t.unref(s).enabled&&t.unref(s).input)?t.renderSlot(_.$slots,"dp-input",{key:0,value:e.inputValue,isMenuOpen:e.isMenuOpen,onInput:M,onEnter:I,onTab:$,onClear:j,onBlur:E,onKeypress:G,onPaste:V,onFocus:X,openMenu:()=>_.$emit("open"),closeMenu:()=>_.$emit("close"),toggleMenu:()=>_.$emit("toggle")}):t.createCommentVNode("",!0),_.$slots["dp-input"]?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("input",{key:1,id:_.uid?`dp-input-${_.uid}`:void 0,ref_key:"inputRef",ref:b,"data-test":"dp-input",name:_.name,class:t.normalizeClass(k.value),inputmode:t.unref(i).enabled?"text":"none",placeholder:_.placeholder,disabled:_.disabled,readonly:_.readonly,required:_.required,value:e.inputValue,autocomplete:_.autocomplete,"aria-label":(ne=t.unref(l))==null?void 0:ne.input,"aria-disabled":_.disabled||void 0,"aria-invalid":_.state===!1?!0:void 0,onInput:M,onBlur:E,onFocus:X,onKeypress:G,onKeydown:ie[0]||(ie[0]=Q=>G(Q)),onPaste:V},null,42,I4)),t.createElementVNode("div",{onClick:ie[3]||(ie[3]=Q=>r("toggle"))},[_.$slots["input-icon"]&&!_.hideInputIcon?(t.openBlock(),t.createElementBlock("span",{key:0,class:"dp__input_icon",onClick:ie[1]||(ie[1]=Q=>r("toggle"))},[t.renderSlot(_.$slots,"input-icon")])):t.createCommentVNode("",!0),!_.$slots["input-icon"]&&!_.hideInputIcon&&!_.$slots["dp-input"]?(t.openBlock(),t.createBlock(t.unref(za),{key:1,"aria-label":(K=t.unref(l))==null?void 0:K.calendarIcon,class:"dp__input_icon dp__input_icons",onClick:ie[2]||(ie[2]=Q=>r("toggle"))},null,8,["aria-label"])):t.createCommentVNode("",!0)]),_.$slots["clear-icon"]&&e.inputValue&&_.clearable&&!_.disabled&&!_.readonly?(t.openBlock(),t.createElementBlock("span",G4,[t.renderSlot(_.$slots,"clear-icon",{clear:j})])):t.createCommentVNode("",!0),_.clearable&&!_.$slots["clear-icon"]&&e.inputValue&&!_.disabled&&!_.readonly?(t.openBlock(),t.createElementBlock("button",{key:3,"aria-label":(S=t.unref(l))==null?void 0:S.clearInput,class:"dp--clear-btn",type:"button",onKeydown:ie[4]||(ie[4]=Q=>t.unref(wt)(Q,()=>j(Q),!0,W)),onClick:ie[5]||(ie[5]=t.withModifiers(Q=>j(Q),["prevent"]))},[t.createVNode(t.unref(sl),{class:"dp__input_icons","data-test":"clear-icon"})],40,j4)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)])}}}),W4=typeof window<"u"?window:void 0,co=()=>{},Y4=e=>t.getCurrentScope()?(t.onScopeDispose(e),!0):!1,U4=(e,a,n,r)=>{if(!e)return co;let o=co;const i=t.watch(()=>t.unref(e),s=>{o(),s&&(s.addEventListener(a,n,r),o=()=>{s.removeEventListener(a,n,r),o=co})},{immediate:!0,flush:"post"}),l=()=>{i(),o()};return Y4(l),l},X4=(e,a,n,r={})=>{const{window:o=W4,event:i="pointerdown"}=r;return o?U4(o,i,l=>{const s=ct(e),d=ct(a);!s||!d||s===l.target||l.composedPath().includes(s)||l.composedPath().includes(d)||n(l)},{passive:!0}):void 0},Z4=t.defineComponent({compatConfig:{MODE:3},__name:"VueDatePicker",props:{...jn},emits:["update:model-value","update:model-timezone-value","text-submit","closed","cleared","open","focus","blur","internal-model-change","recalculate-position","flow-step","update-month-year","invalid-select","invalid-fixed-range","tooltip-open","tooltip-close","time-picker-open","time-picker-close","am-pm-change","range-start","range-end","date-update","invalid-date","overlay-toggle","text-input"],setup(e,{expose:a,emit:n}){const r=n,o=e,i=t.useSlots(),l=t.ref(!1),s=t.toRef(o,"modelValue"),d=t.toRef(o,"timezone"),p=t.ref(null),f=t.ref(null),h=t.ref(null),c=t.ref(!1),m=t.ref(null),u=t.ref(!1),y=t.ref(!1),b=t.ref(!1),x=t.ref(!1),{setMenuFocused:w,setShiftKey:k}=Bl(),{clearArrowNav:B}=ca(),{validateDate:A,isValidTime:D}=ua(o),{defaultedTransitions:V,defaultedTextInput:C,defaultedInline:M,defaultedConfig:I,defaultedRange:$,defaultedMultiDates:X}=Ze(o),{menuTransition:Y,showTransition:E}=hn(V);t.onMounted(()=>{Q(o.modelValue),t.nextTick().then(()=>{if(!M.value.enabled){const T=ie(m.value);T==null||T.addEventListener("scroll",F),window==null||window.addEventListener("resize",O)}}),M.value.enabled&&(l.value=!0),window==null||window.addEventListener("keyup",J),window==null||window.addEventListener("keydown",H)}),t.onUnmounted(()=>{if(!M.value.enabled){const T=ie(m.value);T==null||T.removeEventListener("scroll",F),window==null||window.removeEventListener("resize",O)}window==null||window.removeEventListener("keyup",J),window==null||window.removeEventListener("keydown",H)});const j=Vt(i,"all",o.presetDates),G=Vt(i,"input");t.watch([s,d],()=>{Q(s.value)},{deep:!0});const{openOnTop:U,menuStyle:de,xCorrect:W,setMenuPosition:_,getScrollableParent:ie,shadowRender:ne}=F4({menuRef:p,menuRefInner:f,inputRef:h,pickerWrapperRef:m,inline:M,emit:r,props:o,slots:i}),{inputValue:K,internalModelValue:S,parseExternalModelValue:Q,emitModelValue:fe,formatInputValue:R,checkBeforeEmit:ye}=O3(r,o,c),Z=t.computed(()=>({dp__main:!0,dp__theme_dark:o.dark,dp__theme_light:!o.dark,dp__flex_display:M.value.enabled,"dp--flex-display-collapsed":b.value,dp__flex_display_with_input:M.value.input})),me=t.computed(()=>o.dark?"dp__theme_dark":"dp__theme_light"),L=t.computed(()=>o.teleport?{to:typeof o.teleport=="boolean"?"body":o.teleport,disabled:!o.teleport||M.value.enabled}:{}),v=t.computed(()=>({class:"dp__outer_menu_wrap"})),g=t.computed(()=>M.value.enabled&&(o.timePicker||o.monthPicker||o.yearPicker||o.quarterPicker)),N=()=>{var T,ee;return(ee=(T=h.value)==null?void 0:T.$el)==null?void 0:ee.getBoundingClientRect()},F=()=>{l.value&&(I.value.closeOnScroll?Se():_())},O=()=>{var T;l.value&&_();const ee=(T=f.value)==null?void 0:T.$el.getBoundingClientRect().width;b.value=document.body.offsetWidth<=ee},J=T=>{T.key==="Tab"&&!M.value.enabled&&!o.teleport&&I.value.tabOutClosesMenu&&(m.value.contains(document.activeElement)||Se()),y.value=T.shiftKey},H=T=>{y.value=T.shiftKey},te=()=>{!o.disabled&&!o.readonly&&(ne(Ll,o),_(!1),l.value=!0,l.value&&r("open"),l.value||Ne(),Q(o.modelValue))},ce=()=>{var T;K.value="",Ne(),(T=h.value)==null||T.setParsedDate(null),r("update:model-value",null),r("update:model-timezone-value",null),r("cleared"),I.value.closeOnClearValue&&Se()},ge=()=>{const T=S.value;return!T||!Array.isArray(T)&&A(T)?!0:Array.isArray(T)?X.value.enabled||T.length===2&&A(T[0])&&A(T[1])?!0:$.value.partialRange&&!o.timePicker?A(T[0]):!1:!1},xe=()=>{ye()&&ge()?(fe(),Se()):r("invalid-select",S.value)},ue=T=>{Me(),fe(),I.value.closeOnAutoApply&&!T&&Se()},Me=()=>{h.value&&C.value.enabled&&h.value.setParsedDate(S.value)},_e=(T=!1)=>{o.autoApply&&D(S.value)&&ge()&&($.value.enabled&&Array.isArray(S.value)?($.value.partialRange||S.value.length===2)&&ue(T):ue(T))},Ne=()=>{C.value.enabled||(S.value=null)},Se=()=>{M.value.enabled||(l.value&&(l.value=!1,W.value=!1,w(!1),k(!1),B(),r("closed"),K.value&&Q(s.value)),Ne(),r("blur"))},Le=(T,ee,le=!1)=>{if(!T){S.value=null;return}const be=Array.isArray(T)?!T.some(De=>!A(De)):A(T),Ae=D(T);be&&Ae?(x.value=!0,S.value=T,ee&&(u.value=le,xe(),r("text-submit")),t.nextTick().then(()=>{x.value=!1})):r("invalid-date",T)},Be=()=>{o.autoApply&&D(S.value)&&fe(),Me()},q=()=>l.value?Se():te(),ae=T=>{S.value=T},re=()=>{C.value.enabled&&(c.value=!0,R()),r("focus")},se=()=>{if(C.value.enabled&&(c.value=!1,Q(o.modelValue),u.value)){const T=c3(m.value,y.value);T==null||T.focus()}r("blur")},Ee=T=>{f.value&&f.value.updateMonthYear(0,{month:ml(T.month),year:ml(T.year)})},he=T=>{Q(T??o.modelValue)},ke=(T,ee)=>{var le;(le=f.value)==null||le.switchView(T,ee)},z=T=>I.value.onClickOutside?I.value.onClickOutside(T):Se(),P=(T=0)=>{var ee;(ee=f.value)==null||ee.handleFlow(T)};return X4(p,h,()=>z(ge)),a({closeMenu:Se,selectDate:xe,clearValue:ce,openMenu:te,onScroll:F,formatInputValue:R,updateInternalModelValue:ae,setMonthYear:Ee,parseModel:he,switchView:ke,toggleMenu:q,handleFlow:P,dpWrapMenuRef:p}),(T,ee)=>(t.openBlock(),t.createElementBlock("div",{ref_key:"pickerWrapperRef",ref:m,class:t.normalizeClass(Z.value),"data-datepicker-instance":""},[t.createVNode(q4,t.mergeProps({ref_key:"inputRef",ref:h,"input-value":t.unref(K),"onUpdate:inputValue":ee[0]||(ee[0]=le=>t.isRef(K)?K.value=le:null),"is-menu-open":l.value},T.$props,{onClear:ce,onOpen:te,onSetInputDate:Le,onSetEmptyDate:t.unref(fe),onSelectDate:xe,onToggle:q,onClose:Se,onFocus:re,onBlur:se,onRealBlur:ee[1]||(ee[1]=le=>c.value=!1),onTextInput:ee[2]||(ee[2]=le=>T.$emit("text-input",le))}),t.createSlots({_:2},[t.renderList(t.unref(G),(le,be)=>({name:le,fn:t.withCtx(Ae=>[t.renderSlot(T.$slots,le,t.normalizeProps(t.guardReactiveProps(Ae)))])}))]),1040,["input-value","is-menu-open","onSetEmptyDate"]),(t.openBlock(),t.createBlock(t.resolveDynamicComponent(T.teleport?t.Teleport:"div"),t.normalizeProps(t.guardReactiveProps(L.value)),{default:t.withCtx(()=>[t.createVNode(t.Transition,{name:t.unref(Y)(t.unref(U)),css:t.unref(E)&&!t.unref(M).enabled},{default:t.withCtx(()=>[l.value?(t.openBlock(),t.createElementBlock("div",t.mergeProps({key:0,ref_key:"dpWrapMenuRef",ref:p},v.value,{class:{"dp--menu-wrapper":!t.unref(M).enabled},style:t.unref(M).enabled?void 0:t.unref(de)}),[t.createVNode(Ll,t.mergeProps({ref_key:"dpMenuRef",ref:f},T.$props,{"internal-model-value":t.unref(S),"onUpdate:internalModelValue":ee[3]||(ee[3]=le=>t.isRef(S)?S.value=le:null),class:{[me.value]:!0,"dp--menu-wrapper":T.teleport},"open-on-top":t.unref(U),"no-overlay-focus":g.value,collapse:b.value,"get-input-rect":N,"is-text-input-date":x.value,onClosePicker:Se,onSelectDate:xe,onAutoApply:_e,onTimeUpdate:Be,onFlowStep:ee[4]||(ee[4]=le=>T.$emit("flow-step",le)),onUpdateMonthYear:ee[5]||(ee[5]=le=>T.$emit("update-month-year",le)),onInvalidSelect:ee[6]||(ee[6]=le=>T.$emit("invalid-select",t.unref(S))),onAutoApplyInvalid:ee[7]||(ee[7]=le=>T.$emit("invalid-select",le)),onInvalidFixedRange:ee[8]||(ee[8]=le=>T.$emit("invalid-fixed-range",le)),onRecalculatePosition:t.unref(_),onTooltipOpen:ee[9]||(ee[9]=le=>T.$emit("tooltip-open",le)),onTooltipClose:ee[10]||(ee[10]=le=>T.$emit("tooltip-close",le)),onTimePickerOpen:ee[11]||(ee[11]=le=>T.$emit("time-picker-open",le)),onTimePickerClose:ee[12]||(ee[12]=le=>T.$emit("time-picker-close",le)),onAmPmChange:ee[13]||(ee[13]=le=>T.$emit("am-pm-change",le)),onRangeStart:ee[14]||(ee[14]=le=>T.$emit("range-start",le)),onRangeEnd:ee[15]||(ee[15]=le=>T.$emit("range-end",le)),onDateUpdate:ee[16]||(ee[16]=le=>T.$emit("date-update",le)),onInvalidDate:ee[17]||(ee[17]=le=>T.$emit("invalid-date",le)),onOverlayToggle:ee[18]||(ee[18]=le=>T.$emit("overlay-toggle",le))}),t.createSlots({_:2},[t.renderList(t.unref(j),(le,be)=>({name:le,fn:t.withCtx(Ae=>[t.renderSlot(T.$slots,le,t.normalizeProps(t.guardReactiveProps({...Ae})))])}))]),1040,["internal-model-value","class","open-on-top","no-overlay-focus","collapse","is-text-input-date","onRecalculatePosition"])],16)):t.createCommentVNode("",!0)]),_:3},8,["name","css"])]),_:3},16))],2))}}),gn=(()=>{const e=Z4;return e.install=a=>{a.component("Vue3DatePicker",e)},e})();Object.entries(Object.freeze(Object.defineProperty({__proto__:null,default:gn},Symbol.toStringTag,{value:"Module"}))).forEach(([e,a])=>{e!=="default"&&(gn[e]=a)});const Q4={name:"ModalComponent",props:{modelValue:{type:Boolean,required:!0}},methods:{closeModal(){this.$emit("update:modelValue",!1)}}},K4={key:0,class:"modal-head text-white"},J4={class:"modal_responsive"},eu={class:"flex min-h-full items-center justify-center text-center"},tu={class:"modal-size w-full"},au={class:"modal-background bg-base-200"},nu={class:"modal-title"},ru={class:"modal-body bg-base-300"},ou={class:"modal-footer"};function iu(e,a,n,r,o,i){return n.modelValue?(t.openBlock(),t.createElementBlock("div",K4,[a[2]||(a[2]=t.createElementVNode("div",{class:"modal-overlay"},null,-1)),t.createElementVNode("div",J4,[t.createElementVNode("div",eu,[t.createElementVNode("div",tu,[t.createElementVNode("div",au,[t.createElementVNode("header",nu,[t.renderSlot(e.$slots,"title",{},void 0,!0),t.createElementVNode("button",{class:"close-button",onClick:a[0]||(a[0]=(...l)=>i.closeModal&&i.closeModal(...l))},a[1]||(a[1]=[t.createElementVNode("svg",{class:"w-6 h-6","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},[t.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18 17.94 6M18 18 6.06 6"})],-1)]))]),t.createElementVNode("div",ru,[t.renderSlot(e.$slots,"body",{},void 0,!0)]),t.createElementVNode("footer",ou,[t.renderSlot(e.$slots,"footer",{},void 0,!0)])])])])])])):t.createCommentVNode("",!0)}const $l=qe(Q4,[["render",iu],["__scopeId","data-v-e2c896dc"]]),lu={class:"container"},su={class:"form-group"},cu={class:"form-group"},du={class:"form-group"},uu=qe({__name:"reminder",props:{currentChat:{type:Object,default:{id:null,contact:{segmentation_fields:[]}}},theme:{type:Boolean,default:!0},date:Date,token:String},setup(e){const a=e,n=t.ref({schedule:{time:a.date,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone,type:"unique"},title:"",content:"",type:"reminders"});return(r,o)=>(t.openBlock(),t.createElementBlock("div",lu,[t.createElementVNode("div",su,[o[4]||(o[4]=t.createElementVNode("label",{for:"contentInput"},"Horário",-1)),t.createVNode(t.unref(gn),{format:"HH:mm","auto-apply":"true","time-picker":!0,locale:"pt-BR","cancel-text":"Cancelar","select-text":"Confirmar","enable-time-picker":!0,"min-date":new Date,"text-input":"",dark:e.theme,modelValue:n.value.schedule.time,"onUpdate:modelValue":o[0]||(o[0]=i=>n.value.schedule.time=i)},{"clear-icon":t.withCtx(({clear:i})=>o[3]||(o[3]=[])),_:1},8,["min-date","dark","modelValue"])]),t.createElementVNode("div",cu,[o[5]||(o[5]=t.createElementVNode("label",{for:"titleInput"},"Título",-1)),t.withDirectives(t.createElementVNode("input",{"onUpdate:modelValue":o[1]||(o[1]=i=>n.value.title=i),id:"titleInput",placeholder:"Remédio",class:"input bg-base-200"},null,512),[[t.vModelText,n.value.title]])]),t.createElementVNode("div",du,[o[6]||(o[6]=t.createElementVNode("label",{for:"contentInput"},"Conteúdo",-1)),t.withDirectives(t.createElementVNode("textarea",{"onUpdate:modelValue":o[2]||(o[2]=i=>n.value.content=i),id:"contentInput",placeholder:"Não esquecer do remédio de alzheimer",class:"areaInput bg-base-200"},null,512),[[t.vModelText,n.value.content]])]),o[7]||(o[7]=t.createElementVNode("div",{class:"button-container"},[t.createElementVNode("button",{class:"save-button"},"Salvar")],-1))]))}},[["__scopeId","data-v-2727b591"]]);function mu(e){return{all:e=e||new Map,on:function(a,n){var r=e.get(a);r?r.push(n):e.set(a,[n])},off:function(a,n){var r=e.get(a);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(a,[]))},emit:function(a,n){var r=e.get(a);r&&r.slice().map(function(o){o(n)}),(r=e.get("*"))&&r.slice().map(function(o){o(a,n)})}}}const Hl=mu();let Rl=0;const fu=()=>{const e=Rl;return Rl+=1,e},zl=(e,a)=>{const n={...e,id:fu(),group:e.group||""};return Hl.emit("notify",{notification:n,timeout:a}),()=>Hl.emit("close",n.id)},hu={class:"container"},pu={class:"form-group"},gu={class:"form-group"},yu={key:0,class:"custom-fields-container border border-base-100"},ku={class:"custom-fields-header bg-base-300"},xu={class:"custom-fields-list"},bu=["onClick"],wu={key:1,class:"file-container bg-base-100"},vu={class:"file-actions"},Eu={class:"button-container"},Cu=["disabled"],Su={key:0,class:"inline-block h-4 w-4 animate-spin rounded-full border-2 border-solid border-current border-e-transparent motion-reduce:animate-[spin_1.5s_linear_infinite]"},Mu=qe({__name:"sheduledMessage",props:{currentChat:{type:Object,default:{id:null,contact:{segmentation_fields:[]}}},theme:{type:Boolean,default:!0},date:{type:Date,required:!0},token:String,event:Object||null},emits:["close"],setup(e,{emit:a}){const n=e,r=t.ref(!1),o=a,i=t.ref("post"),l=t.ref({message:[{type:"text",content:""}],schedule:{time:n.date,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone,type:"unique"},chat_id:n.currentChat.id||null});t.onMounted(()=>{n.event?(l.value=n.event.params,i.value="patch"):l.value.schedule.time=f(n.date,l.value.schedule.time)});const s=t.ref(null);function d(c){l.value.message[0].content+=` {${c.name}} `,t.nextTick(()=>{s.value.focus()})}t.ref(null);function p(c){const m=c.getFullYear(),u=String(c.getMonth()+1).padStart(2,"0"),y=String(c.getDate()).padStart(2,"0"),b=String(c.getHours()).padStart(2,"0"),x=String(c.getMinutes()).padStart(2,"0");return`${m}-${u}-${y} ${b}:${x}`}function f(c,m){const u=new Date(c);return u.setHours(m.hours),u.setMinutes(m.minutes),u.setSeconds(m.seconds||0),p(u)}async function h(){r.value=!0;try{const c=JSON.parse(JSON.stringify(l.value));c.schedule.time=f(n.date,c.schedule.time);const m=await Qe[i.value](`http://localhost:8000/v1/api/crm/event/scheduled_message/${l.value.event_id?`${l.value.event_id}/`:""}`,{...c},{headers:{Authorization:`Bearer ${n.token}`}});zl({group:"success",title:"Sucesso",text:m.data.message},2e3),o("close",!1)}catch(c){zl({group:"error",title:"Erro",text:c.response.data.message},2e3)}finally{r.value=!1}}return(c,m)=>{const u=t.resolveComponent("Popper");return t.openBlock(),t.createElementBlock("div",hu,[t.createTextVNode(t.toDisplayString(l.value.schedule.time)+" ",1),t.createElementVNode("div",pu,[m[4]||(m[4]=t.createElementVNode("label",{for:"contentInput"},"Horário",-1)),t.createVNode(t.unref(gn),{"auto-apply":"true","time-picker":!0,locale:"pt-BR","cancel-text":"Cancelar","select-text":"Confirmar","enable-time-picker":!0,"min-date":new Date,"text-input":"",dark:e.theme,modelValue:l.value.schedule.time,"onUpdate:modelValue":m[0]||(m[0]=y=>l.value.schedule.time=y)},{"clear-icon":t.withCtx(({clear:y})=>m[3]||(m[3]=[])),_:1},8,["min-date","dark","modelValue"])]),t.createElementVNode("div",gu,[m[5]||(m[5]=t.createElementVNode("label",{for:"contentInput"},"Conteúdo",-1)),t.withDirectives(t.createElementVNode("textarea",{id:"sheduleMessageArea",ref_key:"textareaRef",ref:s,autofocus:"","onUpdate:modelValue":m[1]||(m[1]=y=>l.value.message[0].content=y),placeholder:"Olá cliente, tudo bem?",class:"input bg-base-200"},null,512),[[t.vModelText,l.value.message[0].content]])]),e.currentChat.contact&&e.currentChat.contact.segmentation_fields.length>0?(t.openBlock(),t.createElementBlock("div",yu,[t.createElementVNode("div",ku,[m[8]||(m[8]=t.createTextVNode(" Campos personalizáveis disponíveis ")),t.createVNode(u,{placement:"top",arrow:!0,hover:!0,class:"info",content:""},{content:t.withCtx(()=>m[6]||(m[6]=[t.createElementVNode("p",{class:"info-content"}," Ao enviar a mensagem para o cliente o valor deste campo será substituído pelo valor correspondente no momento do envio ",-1)])),default:t.withCtx(()=>[m[7]||(m[7]=t.createElementVNode("svg",{class:"info-icon","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M2 12a10 10 0 1 1 20 0 10 10 0 0 1-20 0Zm9.4-5.5a1 1 0 1 0 0 2 1 1 0 1 0 0-2ZM10 10a1 1 0 1 0 0 2h1v3h-1a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2h-1v-4c0-.6-.4-1-1-1h-2Z","clip-rule":"evenodd"})],-1))]),_:1,__:[7]})]),t.createElementVNode("div",xu,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(c.globalStore.messageStore.currentChat.contact.segmentation_fields,y=>(t.openBlock(),t.createElementBlock("div",{onClick:b=>d(y),key:y,class:"custom-field bg-primary"},t.toDisplayString(y.name),9,bu))),128))])])):t.createCommentVNode("",!0),l.value.file?(t.openBlock(),t.createElementBlock("div",wu,[t.createElementVNode("p",null,t.toDisplayString(l.value.fileName),1),t.createElementVNode("div",vu,[t.createElementVNode("button",{onClick:m[2]||(m[2]=y=>l.value.file=""),class:"file-remove-button"},m[9]||(m[9]=[t.createElementVNode("svg",{class:"file-remove-icon","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M8.586 2.586A2 2 0 0 1 10 2h4a2 2 0 0 1 2 2v2h3a1 1 0 1 1 0 2v12a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V8a1 1 0 0 1 0-2h3V4a2 2 0 0 1 .586-1.414ZM10 6h4V4h-4v2Zm1 4a1 1 0 1 0-2 0v8a1 1 0 1 0 2 0v-8Zm4 0a1 1 0 1 0-2 0v8a1 1 0 1 0 2 0v-8Z","clip-rule":"evenodd"})],-1)]))])])):t.createCommentVNode("",!0),t.createElementVNode("div",Eu,[t.createElementVNode("button",{disabled:r.value,onClick:h,class:"save-button text-white"},[r.value?(t.openBlock(),t.createElementBlock("div",Su)):t.createCommentVNode("",!0),m[10]||(m[10]=t.createTextVNode(" Salvar "))],8,Cu)])])}}},[["__scopeId","data-v-1d2f0f94"]]),Bu={key:0},Au={key:1},Vu={class:"main-container"},_u={key:0,class:"select-container"},Nu=["value"],Du=qe({__name:"createEvents",props:{modal:Boolean,date:Date,token:String,currentChat:Object,currentEvent:Object||null},emits:["close"],setup(e,{emit:a}){const n=[{type:"scheduled_messages",name:"Mensagens programadas"},{type:"reminders",name:"Lembrete"}],r=t.ref("reminders"),o=t.ref(null),i=e;t.onMounted(()=>{i.currentEvent&&(r.value=i.currentEvent.function)});const l=a;function s(f){const h={day:"numeric",month:"long",year:"numeric"};return f.toLocaleDateString("pt-BR",h)}const d=t.ref(i.modal);t.watch(()=>i.modal,f=>{d.value=f}),t.watch(d,f=>{f||l("close")});function p(f){o.value=f}return(f,h)=>(t.openBlock(),t.createBlock($l,{modelValue:d.value,"onUpdate:modelValue":h[3]||(h[3]=c=>d.value=c)},{title:t.withCtx(()=>[e.currentEvent===null?(t.openBlock(),t.createElementBlock("div",Bu," Novo evento "+t.toDisplayString(s(e.date)),1)):(t.openBlock(),t.createElementBlock("div",Au,t.toDisplayString(e.currentEvent.title)+" - "+t.toDisplayString(e.currentEvent.date.split("-").reverse().join("/"))+" "+t.toDisplayString(e.currentEvent.hours),1))]),body:t.withCtx(()=>[t.createElementVNode("main",Vu,[e.currentEvent===null?(t.openBlock(),t.createElementBlock("div",_u,[t.withDirectives(t.createElementVNode("select",{"onUpdate:modelValue":h[0]||(h[0]=c=>r.value=c),class:"custom-select bg-base-100"},[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(n,c=>t.createElementVNode("option",{value:c.type,key:c.type},t.toDisplayString(c.name),9,Nu)),64))],512),[[t.vModelSelect,r.value]]),h[4]||(h[4]=t.createElementVNode("svg",{class:"select-icon","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M18.425 10.271C19.499 8.967 18.57 7 16.88 7H7.12c-1.69 0-2.618 1.967-1.544 3.271l4.881 5.927a2 2 0 0 0 3.088 0l4.88-5.927Z","clip-rule":"evenodd"})],-1))])):t.createCommentVNode("",!0),r.value==="reminders"?(t.openBlock(),t.createBlock(uu,{key:1,onClose:h[1]||(h[1]=c=>d.value=!1),token:e.token,date:e.date,onConfig:p},null,8,["token","date"])):r.value==="scheduled_messages"?(t.openBlock(),t.createBlock(Mu,{key:2,event:e.currentEvent,currentChat:e.currentChat,onClose:h[2]||(h[2]=c=>d.value=!1),token:e.token,date:e.date},null,8,["event","currentChat","token","date"])):t.createCommentVNode("",!0)])]),_:1},8,["modelValue"]))}},[["__scopeId","data-v-5dd1aceb"]]),Tu={class:"calendar-container text-white"},Pu={class:"calendar-header bg-base-300"},Ou={class:"calendar"},Fu={class:"date-container"},Lu={class:"date"},$u=["disabled","onClick"],Hu=["onClick"],Ru={class:"event-main"},zu={class:"event-title"},Iu={class:"text-center w-full"},Gu={class:"flex flex-col gap- text-sm items-center align-middle overflow-y-scroll w-full",style:{height:"50vh"}},ju={class:"w-[40%]"},qu={class:"p- w-1/4"},Wu={class:"p- w-1/4"},Yu={class:"p- w-1/4"},Uu=["onClick"],Il=qe({__name:"calendar",props:{theme:{type:Boolean,default:!0},token:{type:String,default:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzI1MTEwNzY3LCJpYXQiOjE3MjUwMjQzNjcsImp0aSI6ImRiY2E3MjIzZTE2NzRmODJiZjQzOWQyNjYwZDIyYTRhIiwidXNlcl9pZCI6IjYyNGRmZTIzLTkyZDAtNDNmMS04MDYxLWEyMzIxZjJiNWViYiJ9.MMlinTjeEFJcIqzYkM3SgPzJrLafE-GLiZn1wQi4ggs"},currentChat:Object},setup(e){const a=t.ref({seeEvents:!1,events:null,date:new Date}),n=t.ref({date:new Date,modal:!1}),r=t.ref(null);function o(C){r.value=C,n.value={date:C.date,modal:!0},a.value.seeEvents=!1}function i(C){n.value.modal=C,r.value=null}function l(C){a.value.events=C.events,a.value.seeEvents=!0;const M={day:"numeric",month:"long",year:"numeric"};a.value.date=C.date.toLocaleDateString("pt-BR",M)}const s=e,d=new Date,p=t.ref(d.getMonth()),f=t.ref(d.getFullYear()),h=t.ref(new Date(f.value,p.value)),c=t.ref([]),m=C=>{C&&typeof C.year=="number"&&typeof C.month=="number"?(p.value=C.month,f.value=C.year,A()):console.error("Data inválida selecionada:",C)},u=new Array(7).fill(null).map((C,M)=>{const I=new Date(2021,0,M+3);return new Intl.DateTimeFormat("pt-BR",{weekday:"short"}).format(I)}),y=C=>{if(C instanceof Date){const M={month:"long",year:"numeric"};return new Intl.DateTimeFormat("pt-BR",M).format(C)}else return console.error("Data inválida fornecida ao formatador:",C),""},b=C=>{const M={scheduled_messages:"Mensagens Programadas",another_function:"Outro Título",default:"Evento Desconhecido"};return M[C]||M.default},x=async(C="http://localhost:8000/v1/api/crm/event/")=>{try{const I=(await Qe.get(C,{headers:{Authorization:`Bearer ${s.token}`}})).data,$=I.results.map(X=>({...X,title:b(X.function),date:X.params.schedule.time.split(" ")[0],hours:X.params.schedule.time.split(" ")[1],color:"#cce5ff",tag:"blue"}));c.value.push(...$),I.next&&await x(I.next)}catch(M){console.error("Erro ao buscar eventos:",M)}},w=C=>c.value.filter(M=>{const I=new Date(M.date+"T00:00:00"),$=new Date(C.getFullYear(),C.getMonth(),C.getDate());return I.getTime()===$.getTime()}),k=(C,M)=>{const I=[],$=new Date(C,M,1),X=new Date(C,M+1,0),Y=$.getDay(),j=new Date(C,M,0).getDate();for(let U=Y-1;U>=0;U--){const de=new Date(C,M-1,j-U);I.push({date:de,events:w(de),isPrevMonth:!0})}for(let U=$;U<=X;U.setDate(U.getDate()+1))I.push({date:new Date(U),events:w(new Date(U)),isPrevMonth:!1,isNextMonth:!1});const G=42-I.length;for(let U=1;U<=G;U++){const de=new Date(C,M+1,U);I.push({date:de,events:w(de),isNextMonth:!0})}return I},B=t.ref([]),A=()=>{B.value=k(f.value,p.value)};t.onMounted(async()=>{await x(),A()});const D=()=>{p.value===0?(p.value=11,f.value--):p.value--,h.value={year:f.value,month:p.value},A()},V=()=>{p.value===11?(p.value=0,f.value++):p.value++,h.value={year:f.value,month:p.value},A()};return(C,M)=>{const I=t.resolveComponent("Popper");return t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("div",Tu,[t.createElementVNode("div",Pu,[t.renderSlot(C.$slots,"backButton",{},void 0,!0),t.createElementVNode("button",{onClick:D,class:"calendar-button"},M[2]||(M[2]=[t.createElementVNode("svg",{class:"icon","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[t.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M5 12h14M5 12l4-4m-4 4 4 4"})],-1)])),t.createElementVNode("div",null,[t.createVNode(t.unref(gn),{dark:e.theme,"cancel-text":"Cancelar","select-text":"Selecionar",locale:"pt-BR",modelValue:h.value,"onUpdate:modelValue":[M[0]||(M[0]=$=>h.value=$),m],format:y,"only-month-picker":!0,"month-picker":!0},{"clear-icon":t.withCtx(({clear:$})=>M[3]||(M[3]=[])),_:1},8,["dark","modelValue"])]),t.createElementVNode("button",{onClick:V,class:"calendar-button"},M[4]||(M[4]=[t.createElementVNode("svg",{class:"icon","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[t.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 12H5m14 0-4 4m4-4-4-4"})],-1)]))]),t.createElementVNode("div",Ou,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(t.unref(u),($,X)=>(t.openBlock(),t.createElementBlock("div",{key:X,class:"day-name shadow shadow-black/90 dark:shadow-gray-400 bg-base-200 border border-base-100"},t.toDisplayString($),1))),128)),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(B.value,($,X)=>(t.openBlock(),t.createElementBlock("div",{key:X,class:t.normalizeClass([{"empty-day":!$.date,"prev-month-day":$.isPrevMonth,"next-month-day":$.isNextMonth},"day group h-full shadow shadow-black/90 dark:shadow-gray-400 bg-base-300 hover:bg-base-200 border border-base-200"])},[t.createElementVNode("div",Fu,[t.createElementVNode("div",Lu,t.toDisplayString($.date.getDate()),1),t.createElementVNode("button",{disabled:$.date<new Date(new Date().setHours(0,0,0,0)),onClick:Y=>(n.value.modal=!0,n.value.date=$.date),class:"add-event-button hidden group-hover:inline-block"},M[5]||(M[5]=[t.createElementVNode("svg",{class:"w-5 h-5","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},[t.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M5 12h14m-7 7V5"})],-1)]),8,$u)]),$.events.length>0?(t.openBlock(),t.createElementBlock("footer",{key:0,onClick:Y=>l($),class:"events-container cursor-pointer"},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList($.events,Y=>(t.openBlock(),t.createElementBlock("div",{key:Y.title,class:"event"},[t.createElementVNode("main",Ru,[t.createVNode(I,{placement:"top",class:"dark:popper-light popper-dark",hover:!0,content:Y.hours},{default:t.withCtx(()=>M[6]||(M[6]=[t.createElementVNode("svg",{class:"event-icon","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm11-4a1 1 0 1 0-2 0v4a1 1 0 0 0 .293.707l3 3a1 1 0 0 0 1.414-1.414L13 11.586V8Z","clip-rule":"evenodd"})],-1)])),_:2,__:[6]},1032,["content"]),t.createElementVNode("p",zu,t.toDisplayString(Y.title),1)])]))),128))],8,Hu)):t.createCommentVNode("",!0)],2))),128))])]),t.createVNode($l,{modelValue:a.value.seeEvents,"onUpdate:modelValue":M[1]||(M[1]=$=>a.value.seeEvents=$)},{title:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(a.value.date),1)]),body:t.withCtx(()=>[t.createElementVNode("table",Iu,[M[8]||(M[8]=t.createElementVNode("thead",{class:"bg-base-200 rounded-md flex text-white w-full"},[t.createElementVNode("tr",{class:"flex font-normal w-full"},[t.createElementVNode("th",{class:"p-2 w-[40%]"},"Evento"),t.createElementVNode("th",{class:"p-2 w-1/4"},"Horário"),t.createElementVNode("th",{class:"p-2 w-1/4"},"Paramêtros"),t.createElementVNode("th",{class:"p-2 w-1/4"},"Ações")])],-1)),t.createElementVNode("tbody",Gu,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.value.events,$=>(t.openBlock(),t.createElementBlock("tr",{key:$.title,class:"flex mt-1 hover:bg-base-200 align-middle items-center rounded-xl py-2 w-full"},[t.createElementVNode("td",ju,t.toDisplayString($.title),1),t.createElementVNode("td",qu,t.toDisplayString($.hours),1),t.createElementVNode("td",Wu,t.toDisplayString($.date),1),t.createElementVNode("td",Yu,[t.createElementVNode("button",{onClick:X=>o($),class:"bg-green-500 hover:bg-green-400 rounded-md p-1"},M[7]||(M[7]=[t.createElementVNode("svg",{class:"w-5 h-5","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M14 4.182A4.136 4.136 0 0 1 16.9 3c1.087 0 2.13.425 2.899 1.182A4.01 4.01 0 0 1 21 7.037c0 1.068-.43 2.092-1.194 2.849L18.5 11.214l-5.8-5.71 1.287-1.31.012-.012Zm-2.717 2.763L6.186 12.13l2.175 2.141 5.063-5.218-2.141-2.108Zm-6.25 6.886-1.98 5.849a.992.992 0 0 0 .245 1.026 1.03 1.03 0 0 0 1.043.242L10.282 19l-5.25-5.168Zm6.954 4.01 5.096-5.186-2.218-2.183-5.063 5.218 2.185 2.15Z","clip-rule":"evenodd"})],-1)]),8,Uu)])]))),128))])])]),_:1},8,["modelValue"]),n.value.modal?(t.openBlock(),t.createBlock(Du,{key:0,currentEvent:r.value,currentChat:e.currentChat,token:e.token,onClose:i,modal:n.value.modal,date:n.value.date},null,8,["currentEvent","currentChat","token","modal","date"])):t.createCommentVNode("",!0)],64)}}},[["__scopeId","data-v-972e6756"]]),Xu={class:"flex flex-col text-center"},Zu={class:"flex flex-col space-y-3 justify-center"},Qu={class:"space-x-4 flex-col text-black justify-center"},Ku=["onUpdate:modelValue","onInput","onKeydown"],Gl={__name:"mfa",props:{eventHandling:{type:String,default:null}},emits:["filled","reset"],setup(e,{emit:a}){t.onMounted(()=>{o.value[0].focus()});const n=a,r=t.ref(Array(6).fill("")),o=t.ref([]);t.ref(!1);const i=p=>{const f=r.value[p];r.value[0]<1&&n("reset"),/^\d$/.test(f)?l(p):r.value[p]="",p===r.value.length-1&&r.value.every(h=>h!=="")&&d()},l=p=>{p<r.value.length-1&&r.value[p]&&o.value[p+1].focus()},s=(p,f)=>{f.key==="Backspace"&&!r.value[p]&&p>0&&o.value[p-1].focus()},d=()=>{const p=r.value.join("");n("filled",p)};return(p,f)=>(t.openBlock(),t.createElementBlock("section",Xu,[t.createElementVNode("div",Zu,[t.createElementVNode("div",Qu,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.value,(h,c)=>t.withDirectives((t.openBlock(),t.createElementBlock("input",{key:c,"onUpdate:modelValue":m=>r.value[c]=m,class:t.normalizeClass([e.eventHandling==="check"?"checked_mfa":e.eventHandling==="err"?"err_mfa":"reset_input","inline-block w-10 h-10 rounded-md text-center"]),type:"text",maxlength:"1",onInput:m=>i(c),onKeydown:t.withKeys(m=>s(c,m),["backspace"]),ref_for:!0,ref_key:"inputs",ref:o},null,42,Ku)),[[t.vModelText,r.value[c]]])),128))])])]))}},Ju={class:"text-center flex gap-3"},e5={class:"flex justify-center gap-2 relative bg-base-200 p-2 rounded-lg shadow-md shadow-black"},t5={key:0,class:"items-center justify-center inline-flex"},a5=["src"],n5={__name:"mfaQrCode",props:{base64:{type:String,default:""},dimensions:{type:Array,default:null},loading:{type:Boolean,default:!1},generated:{type:Boolean,default:!1}},emits:["generateQR"],setup(e,{emit:a}){const n=a;t.ref(!1);const r=e,o=()=>{n("generateQR")},i=t.computed(()=>r.base64?r.base64:s.value),l=t.computed(()=>`w-${r.dimensions[0]} h-${r.dimensions[1]}`),s=t.ref("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAABgAAAAYADwa0LPAAARGUlEQVR42u3dsZLbxhKFYejGpAOp9Jb7ACo9gMqx9JYbKOA6pwNfuly2yJ5lz5nuA/xfFSILwGAwanuxxz0frtfrdQMAA/+rHgAAjKJgAbBBwQJgg4IFwAYFC4ANChYAGxQsADYoWABsULAA2KBgAbBBwQJgg4IFwAYFC4ANChYAGxQsADYoWABsULAA2KBgAbBBwQJgg4IFwAYFC4ANChYAGxQsADYoWABsULAA2KBgAbBBwQJgg4IFwAYFC4ANChYAGxQsADYoWABsULAA2GhTsD59+rR9+PBht0fkx48f2/l8/s955/N5+/HjR/XruTu+6Bgdv/r51dc/+vpd5cP1er1WD2Lb/nrhP3/+rB6GTDTN5/N5++OPP375z06n0/b29lY6/kfji4yMX/386usfff2uQsFaJJrm6N9i1a8p+2/Z6udXX//o63eVNj8SAkCEggXABgULgA0KFkIzPvhH1zidTk/9s07PCD0KFh56e3vbvnz5kr7O169fHxaFb9++/bIwnU6n7ffff5c/ZzQ+NHFt4uPHj9dt2+4er6+v1UNMjT/y6NwZr+n79+/X0+kU3mf1cTqdrt+/f396/KPnq8d39PW7ik2s4fX1dfv8+XP1MJ8efzTN6l+7Z3JUaityWplYxsj1j75+V+FHwoPoWqxGx/boz6ifrfPcHQ0FC4ANChYAGxQsADYoWCayv3JfkWVSjq06p4UeKFgmsjmhezmnaqM5q+qcFpqozlXcZHMsmyAjtL0jh6LOYd07RnNC91wul+vLy0t4n5eXl+vlcpl+/irV73/v63eV3eSw1E3GomlS57AeyfZzent723777beHf+ZyuWzn81ly/grq9jhHX7+r8CPhDmRzQiOF5NGfyZ4PjKJgAbBBwQJgg4IFwAYFayeqW6N0z0l1GAPyKFg7Ud3PqXtOqmsODe9Unau4OXqORTXuWf2i1FT9uqLnH82RZd//3tfvKuSwBkXTVJnDiszoF6VeJsp+XdHzj+TIsu9/7+t3FX4kPACHfk7KMUbXJiPmg4IFwAYFC4ANChYAGxSsJo7+K/fq5++eI8NfKFhNHD0nVP383XNk+L/qXMUNOZZfG80JZcefPb/KrBxVFut3Df4Lq7nz+bx9+/atehhtMT/HQsEyQE7oMebnOChYAGxQsADYoGABsEHBMrCibYx7Dsl9/BhDwWru7e1t+/Lli/w+7jkk9/FjUHWu4iabY6mWzbGo+kGN3r+7e/OT3Zdx1vWPvn5X2U0/rGrZfkLKflAj9+/u0fxk92Wccf2jr99V+JGwCYeeVZUezc+MuVNfH3NQsADYoGABsEHBAmCDggUL5KywbRQsmCBnhW3b+gQsohyI+xGJzn95ebleLpf/nDerH1Q2h+R+fnb+jr5+V7HJYbmLpjnal+5yudxtozJjX71sDsn9/Oy+jEdfv6tQsBbJFizO733+0dfvKnzDAmCDggXABgULgA0KVhPqnFH00Tl7/8z5M/p9VY4f61CwmlDnjL5+/fqwMGTv/+z5s/p9VY0fi1XnKjDH9mS+pjonNXpkqftpYY02sQbkRL+Wf6Q6JzUiu0zV/bSwBgVrJzIFa9vqc07Z8UWy40cPfMMCYIOCBcAGBQuADQoWynNSanxQ3w8K1sFV56TUVu3riEWqcxU3z+Z01PvSZY9VOZ9oHPf6ac16/mep+3mpxz+qOsfWff2OahNryOR01PvSZa3I+WT6ac14/swyUvfzUo9/RHWOLaNTTq1Nweqe08lST/PRc1LV4+/+fFlNygTfsAD4oGABsEHBAmBjFwUr++ty9QfFFb/OV/aDGpGdw+rxqzk/X6e5tS9Y2X5F6pzOqn5Kqn5Qo6J+W93Hr+b6fO36gVXnKm624hxR9ojGF+nar2k0J3XvcBl/xP39ZNdnFzaxBnWOKCsaX6Rzv6aRnNQjDuOP/hq4v5/s+uzCpmBFw3TPqXTv19Q955Qdf3Z9uT+fC/tvWACOg4IFwAYFC4ANCtYk1TkktcwYqsffYd/D7s/ngoI1SXUOSe3ZHFD1+Lvse9j9+WxU5yputmROJjq/66Huh1SdE1o1/up+WNU5wOzzdc2Z/RuxhgbU/ZCqc0Irxl/dD6s6B5h9vs45s3+iYDWhfr7q11y9b2L2+urnU8vOX/X6ueEbFgAbFCwANihYAGy0KVjO/YK66zA36hxX535e1bLz1+nZ2hQs135B3VXnhG7UOa6u/byqZeevy/r5W3WuYtSzOZFsP6fR416/oVn9mJ69v3p+Z53f9f1X55CO1u8q0ibWEMnkRLL9nEY86jc0ox9Ttl9YRLlvnnrfSPX7r84hHanfVcSmYHXPaWXvrz4/cvTxRar/mrjkpNTafMMCgAgFC4ANChYAGxYFq8v/eHnPipyLOieTuf6K91M5vo5xhdnP6KJ9were72dVzkWdk3n2+qveT9X42uWQ7sjmyGxU5ypu1P2Mnr3uNphz2WuOadX7UT3fXt5vdv3eO6pzZu/VJtag7meU/bV2Zl9E9xxTdP4I9TLLjq/7+1XGcqpzZu/RpmC590six/SYepnt/f1W5wi7aP8NCwBuKFgAbFCwANhoU7Dc+yWpc1LV+x5235ewcv2seL/KOXTImd20KVju/ZLUOanqfQ+770tYtX5WvV9Vvy2XnNnfqnMVs7j3S3r2/rPG1z0H5k71/o7WL6tNrCHLvV9Sdc6mew7MXeb9zli/e+mXtZuCVZ1zyU5jdc6mew7MXfecmIs237AAIELBAmCDggXAxmEKVvTRMqN6T7zs+Ebunxnj3j+oj1CuEfX76+QwBetezqW6X5K6n9SsflHP5sC69zNbRZUDVL+/dqpzFbNsohzTNphjyfZjyt4/oh5f9sh69vmqc2ar9s1UP/8qh4k1ZGX6Ja24f0Q9vqzsMsw8X3XObMW+mernX4WCNSiapur7R9Tjc38+9f2r14/6+Vc5zDcsAP4oWABsULAA2NhNwaruF9S5p1D3D6odcmzO/caOZDcFq7pfkOr+Wd1zUF1ybK79xg6nOldxo+qX1L1f0Oj4np2/0ePe83eZv6ocmVtO6d9mra8u2sQalP2SuvcLGhlf9JqU+/J1mL/KHJlTTulXZqyvLtoUrKP3Y6rO8WSvr54/cko51e9vlt18wwKwfxQsADYoWABstClY6n3f1NfPmPFBV7kvX/UH5+r7V6+PrOr5m6lNwVLv+6a+/rNm5YhU+/JV57iq71+9PrKq52+66lzFqOp+R6rxjR7dx199/+zxbL8zdT+tVYeLNrGGSHW/I+X4RqhfU3b82fFV9+vK9DtT99NawaQM9MlhhQMt7nekHp/7+LPj656zqs4JVj9/F22+YQFAhIIFwAYFC4ANi4LVod9RpLofV/U9qvd2VN9bmePbU05KrX3B6tLvKFLdj6t6/Kp+UmrZflVd+nkdRnWu4qY6h3Lv6NKPqyqHlt03z6WfVPecVbZfWXS4aBNrqM6hPNKhH1dlDi27b55DP6nuOatsv7JIkzIQalOwqnMokew0de93lR2/+v5q3XNW3dfHKu2/YQHADQULgA0KFgAbbQpW955D2Y/W2T9TPT/KflsdVPZjG/FofTjkFGdpU7C678v2bM5oNGcTXb96flT9trqo6sc26t76cMkpTlOdq8jK5pxm5VhUR5QD2su+c9kclDpHpbq/+/pbrU2sISObc5qRY1GKckB72Hcum4NS56iU43dffyvtomBtW33OSS07/u6vWf3+1M9/9PW3SptvWAAQoWABsEHBAmBjNwUrm6PpHKk4AuX7q+4n5r7+Oo1tNwUrm6Opzjkdner9VfcTc19/7XJ01bmKVdQ5mep+Rdnz3XNQz44ve3R5vntm9WPrYjexhog6J1Pdryj7a3X3HFRE2W+tw/M9MqMfWxeHKVjVOZ/qfkjdz1dz3zdS/fzdx3+zm29YAPaPggXABgULgI3DFCx1TkfZrygan7rf1oz77133OajOqc1ymIKlzumo+hVF41P325p1/73r3k+qOqc2TXWu4qZq371R7x3Xew/VvoSz5i97/+r3r35/qqN7zmu1NrGGyn33Rqh/La7clzCSzVmNiJaZ+v13b9+Sfb6jaFOwuu+rVp3jcb+/+/WrNflrWu4w37AA+KNgAbBBwQJgo03B6r7vnfIe1f2S1PdXv58j5MT28AwztClY3fe9U/Urqu6XpL6/+v0cJSfWPee1THWuAn+p7idVff8tyCNV5dRG7/8s9b6Ee8txtYk1HF11P6nq+0exg8qc2sj9M9T7Eu4px0XBaqK6X5H7/atzaurn7z7+Vdp8wwKACAULgA0KFgAbFKwmKvsVzeinpb4/sG0UrDaq+hXN6qelvj+wbVufHNbHjx/Lew8pjyzVvoEuR6T6/tn34z7+VdrEGj59+rT9/Pmzehgy2WlW7hvoIJq/6lhA9v24j38VCtYi2WnunlNSq36+7P33Pv5V+IYFwAYFC4ANChYAGxQsA10+eFap7heWHWP12LZNuy/lShSs5o6eU6ruFzaq+75/qn0pl6vOVdxEOazX19fqIabGH1Hv+xedf6/f02i/JlW/qKxZ/abU1O/n3tEtZxWxiTW8vr5unz9/rh7m0+OPplm971+m39RIvyZlv6isGf2m1H9N1O/nkU45qwg/EjZRHeqMmuNlzq/WeWwzniH7fNVr7z0oWABsULAA2KBgAbBBwdqBbE7pCPv6ZSMP1f3AMjmqSKecVYSCZS6bUzrKvn7ZnFZ1P7Bnc1SRdjmrSHWu4iabw9qSOZvoyI4/Et1fnXNS58BU98/miNT7AqqPWTkq+mG9UzaHVd2eI5vDyu7Ll6XOgSnvn80RqfcFVJuRo3Lph8WPhCbUWaLqLE7m/tmxu+e0Zry7R9eoXhv/RMECYIOCBcAGBQuADQpWE9X9iDrnlNRjn3WNStn5r15/oyhYTVT3I+qaU4rMmp/qflpZ2fmvXn/DqnMVN0fPYUWqcjKr+i1F18nm0J6dv2w/sFXnq99PF+SwBkXTlM1hRSpzMiv6LalzaJn5y/YDW3F+RqecVYSCNai6YFXvG5ed32h86udT7xtYfX5WkzIQ4hsWABsULAA2KFgAbFCwMETdb0mdA8pev/P5M7h8dKdgYYi635I6B5S9ftfzZ6nK0b1bda7ihhzWY9nxVVPnyKr7OWXvr86JPXt0y2kRaxgUTdPeYw1Z6hxZdT+n7P3VObGMTjktfiTEEup+S9X9nLL3z5y/915p/0TBAmCDggXABgULgA0KloEuHzwzuues1KKP5urzMzrM3w0Fq7m97wvYJWeldi/nlN2XUL0+uszf36pzFTfZHFa1bA6r676A6hzRqvGpr//se1t1qPe1XGU3Oaxq2RxW530B1TmiFeNTX1+dA8xS72u5Cj8SNlGddanMEa0YX/X1q+2hWG0bBQuAEQoWABsULAA2KFg7UJ1jUueAOly/MgeV1SlHlUXBMledY1LngLpcvyoHldUuR5VVnau4iXJM7kckOj/K0Tyb48rmrGY9f/frZw/VvoWjqvuFzWKTw3IXTXN2X75Mjiubs5rx/N2vn6Xct3BEdb+wWShYi2QLVvZ89fj2fv0s9fuPuDeAvOEbFgAbFCwANihYAGxQsJqo3LeO62vtYV/GLihYTVTtW8f1tfayL2MXbX5LCAAR/gsLgA0KFgAbFCwANihYAGxQsADYoGABsEHBAmCDggXABgULgA0KFgAbFCwANihYAGxQsADYoGABsEHBAmCDggXABgULgA0KFgAbFCwANihYAGxQsADYoGABsEHBAmCDggXABgULgA0KFgAbFCwANihYAGxQsADYoGABsEHBAmCDggXABgULgI0/AXRl5K/bYs25AAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIxLTAyLTExVDIwOjQzOjIzKzAwOjAwj4NP3QAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0wMi0xMVQyMDo0MzoyMyswMDowMP7e92EAAAAASUVORK5CYII=");return(d,p)=>(t.openBlock(),t.createElementBlock("div",Ju,[t.createElementVNode("section",e5,[e.generated?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass([l.value,"btnQrCode"])},[e.loading?(t.openBlock(),t.createElementBlock("div",t5,p[0]||(p[0]=[t.createElementVNode("div",{class:"loaderMFA"},null,-1)]))):(t.openBlock(),t.createElementBlock("button",{key:1,class:"uppercase bg-base-300 p-2 z-40",onClick:o}," Gerar QR "))],2)),t.createElementVNode("img",{class:t.normalizeClass([[l.value,e.generated?"rounded-md":"rounded-none"],""]),src:i.value,alt:"QRCode"},null,10,a5)])]))}},Un=zt.defineStore("attendant",{state:()=>({attendants:[],count:null,loaded:!1}),actions:{async fetchAttendants(){try{this.attendants=[];let e=`${bc}`;const a=await na.get(e);this.attendants=a.data,this.count=this.attendants.length}catch(e){console.log("Erro ao buscar atendentes:",e)}},removeAttendants(e){this.attendants=this.attendants.filter(a=>a.id!==e)},addAttendants(e){const a=this.attendants.findIndex(n=>n.id===e.id);a!==-1?this.attendants[a]=e:this.attendants.push(e)}}});for(var ht=[],uo=0;uo<256;++uo)ht.push((uo+256).toString(16).slice(1));function r5(e,a=0){return(ht[e[a+0]]+ht[e[a+1]]+ht[e[a+2]]+ht[e[a+3]]+"-"+ht[e[a+4]]+ht[e[a+5]]+"-"+ht[e[a+6]]+ht[e[a+7]]+"-"+ht[e[a+8]]+ht[e[a+9]]+"-"+ht[e[a+10]]+ht[e[a+11]]+ht[e[a+12]]+ht[e[a+13]]+ht[e[a+14]]+ht[e[a+15]]).toLowerCase()}var Xn,o5=new Uint8Array(16);function i5(){if(!Xn&&(Xn=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Xn))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Xn(o5)}var l5=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);const jl={randomUUID:l5};function s5(e,a,n){if(jl.randomUUID&&!e)return jl.randomUUID();e=e||{};var r=e.random||(e.rng||i5)();return r[6]=r[6]&15|64,r[8]=r[8]&63|128,r5(r)}function ql(){const e=Un(),a=async s=>{const d=e.attendants.find(p=>p.id===s);if(d)try{const p=await na.get(`${Mr}?attendant=${s}&page=1`);d.messages=p.data.results.reverse(),d.hasNextPage=p.data.next!==null,d.currentPage=2,d.internal_chat={channel_id:p.data.channel_id,unread:0}}catch(p){console.error("Erro ao buscar mensagens:",p)}},n=async s=>{const d=e.attendants.find(p=>p.id===s);if(!(!d||!d.hasNextPage))try{const p=await na.get(`${Mr}?attendant=${s}&page=${d.currentPage}`);d.messages=[...p.data.results.reverse(),...d.messages],d.hasNextPage=p.data.next!==null,d.currentPage++}catch(p){console.error("Erro ao carregar mais mensagens:",p)}},r=(s,d,p)=>{const f=s==null?void 0:s.message;if(!f)return;const h=e.attendants.find(c=>{var m;return((m=c.internal_chat)==null?void 0:m.channel_id)===f.channel_id});h?(h.messages=h.messages||[],h.messages.find(m=>m.id===f.id)||(h.messages.push(f),(!d||h.id!==p)&&(h.internal_chat.unread=(h.internal_chat.unread||0)+1))):console.error("Atendente não encontrado para o canal especificado.")},o=s=>{const d=e.attendants.find(p=>p.id===s);d&&(d.internal_chat.unread=0)},i=async(s,d,p,f=!1)=>{var u;const h=e.attendants.find(y=>y.id===s);if(!h||!((u=h.internal_chat)!=null&&u.channel_id))return;let c;f?c=d:c={type:"text",content:d};const m={id:s5(),content:c,created_at:new Date().toISOString(),sender:p};h.messages.push(m);try{await na.post(`${Mr}${h.internal_chat.channel_id}/message/`,{id:m.id,content:m.content})}catch(y){console.error("Erro ao enviar mensagem:",y)}},l=s=>{const d=e.attendants.find(p=>p.id===s);return d?d.hasNextPage:!1};return{attendants:t.computed(()=>e.attendants),count:t.computed(()=>e.count),fetchMessagesForAtendente:a,loadMessagesForAtendente:n,addMessageToAtendente:r,sendMessageToAtendente:i,hasNextPageForAtendente:l,resetUnreadMessages:o}}const c5={class:"avatar bg-[#404857] shadow shadow-gray-900 dark:shadow-gray-700 dark:bg-gray-300 text-gray-100 dark:text-gray-500"},d5={key:0,style:{"padding-top":"0.5rem"},xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},u5=["src"],mo=qe({__name:"Avatar",props:{url:{type:String}},setup(e){return(a,n)=>(t.openBlock(),t.createElementBlock("div",c5,[e.url?(t.openBlock(),t.createElementBlock("img",{key:1,style:{"object-fit":"scale-down"},src:e.url},null,8,u5)):(t.openBlock(),t.createElementBlock("svg",d5,n[0]||(n[0]=[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 6a3.75 3.75 0 11-7.5 0 3.75 3.75 0 017.5 0zM4.501 20.118a7.5 7.5 0 0114.998 0A17.933 17.933 0 0112 21.75c-2.676 0-5.216-.584-7.499-1.632z"},null,-1)])))]))}},[["__scopeId","data-v-7d8b2820"]]),m5={class:"attendants-container"},f5={class:"atendentes-list bg-base-300"},h5={key:0,class:"empty-message bg-base-200"},p5=["onClick"],g5={class:"atendente-main"},y5={class:"atendente-name"},k5={class:"flex items-center gap-4"},x5={key:0,class:"message-indicator"},b5={key:0,class:"chat-footer bg-base-200"},Wl=qe({__name:"ChatList",props:{atendentes:{type:Array,required:!0},attendant:{required:!0},mobile:{type:Boolean,default:!1}},emits:["atendenteSelecionado"],setup(e,{emit:a}){const n=e,r=a,o=t.ref(""),i=d=>{r("atendenteSelecionado",d)},l=d=>{switch(d){case"Busy":return"bg-red-500";case"Online":return"bg-green-500";case"Away":return"bg-yellow-500";case"Offline":return"bg-gray-500";default:return"bg-purple-500"}},s=t.computed(()=>o.value?n.atendentes.filter(d=>d.name.toLowerCase().includes(o.value.toLowerCase())&&d.id!==n.attendant.id):n.atendentes.filter(d=>d.id!==n.attendant.id));return(d,p)=>(t.openBlock(),t.createElementBlock("div",m5,[t.withDirectives(t.createElementVNode("input",{"onUpdate:modelValue":p[0]||(p[0]=f=>o.value=f),class:t.normalizeClass(e.mobile?"search-input-mobile bg-base-300 border-b border-base-200":"search-input bg-base-300 border-b border-base-200"),placeholder:"Pesquise entre os atendentes..."},null,2),[[t.vModelText,o.value]]),t.createElementVNode("ul",f5,[s.value.length===0?(t.openBlock(),t.createElementBlock("li",h5,t.toDisplayString(e.atendentes.length===0?"Não há atendentes disponíveis":"Não há atendentes com esse nome"),1)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.value,f=>(t.openBlock(),t.createElementBlock("li",{key:f.id,onClick:h=>i(f),class:t.normalizeClass([["atendente-item",f.isMoved?"moved":""],"border-b even:bg-base-300 bg-blue-400/10 border-base-200 hover:bg-base-200 relative"])},[t.createElementVNode("main",g5,[t.createVNode(mo,{url:f.photo},null,8,["url"]),t.createElementVNode("span",y5,t.toDisplayString(f.name),1)]),t.createElementVNode("footer",k5,[f.internal_chat.unread>0?(t.openBlock(),t.createElementBlock("span",x5,t.toDisplayString(f.internal_chat.unread),1)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(["status-indicator",l(f.login_status)])},null,2)]),p[1]||(p[1]=t.createElementVNode("div",{class:"hover-action"},"Conversar",-1))],10,p5))),128))]),e.mobile?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("footer",b5))]))}},[["__scopeId","data-v-dc8950e9"]]);function w5(e,a=null){if(!e)return!1;const n=e.getBoundingClientRect(),r=a?a.getBoundingClientRect():{top:0,left:0,bottom:window.innerHeight,right:window.innerWidth};return n.bottom>=r.top&&n.top<=r.bottom&&n.right>=r.left&&n.left<=r.right}async function v5(e){return e?(await t.nextTick(),e.value instanceof HTMLElement?e.value:e.value?document.querySelector(e.value):null):null}function E5(e){let a=`0px 0px ${e.distance}px 0px`;e.top&&(a=`${e.distance}px 0px 0px 0px`);const n=new IntersectionObserver(r=>{r[0].isIntersecting&&(e.firstload&&e.emit(),e.firstload=!0)},{root:e.parentEl,rootMargin:a});return e.infiniteLoading.value&&n.observe(e.infiniteLoading.value),n}async function Yl(e,a){if(await t.nextTick(),!e.top)return;const n=e.parentEl||document.documentElement;n.scrollTop=n.scrollHeight-a}const Ul=(e,a)=>{const n=e.__vccOpts||e;for(const[r,o]of a)n[r]=o;return n},C5={},S5=e=>(t.pushScopeId("data-v-d3e37633"),e=e(),t.popScopeId(),e),M5={class:"container"},B5=S5(()=>t.createElementVNode("div",{class:"spinner"},null,-1)),A5=[B5];function V5(e,a){return t.openBlock(),t.createElementBlock("div",M5,A5)}const _5=Ul(C5,[["render",V5],["__scopeId","data-v-d3e37633"]]),N5={class:"state-error"},fo=Ul(t.defineComponent({__name:"InfiniteLoading",props:{top:{type:Boolean,default:!1},target:{},distance:{default:0},identifier:{},firstload:{type:Boolean,default:!0},slots:{}},emits:["infinite"],setup(e,{emit:a}){const n=e;let r=null,o=0;const i=t.ref(null),l=t.ref(""),{top:s,firstload:d,distance:p}=n,{identifier:f,target:h}=t.toRefs(n),c={infiniteLoading:i,top:s,firstload:d,distance:p,parentEl:null,emit(){o=(c.parentEl||document.documentElement).scrollHeight,m.loading(),a("infinite",m)}},m={loading(){l.value="loading"},async loaded(){l.value="loaded",await Yl(c,o),w5(i.value,c.parentEl)&&c.emit()},async complete(){l.value="complete",await Yl(c,o),r==null||r.disconnect()},error(){l.value="error"}};function u(){r==null||r.disconnect(),r=E5(c)}return t.watch(f,u),t.onMounted(async()=>{c.parentEl=await v5(h),u()}),t.onUnmounted(()=>r==null?void 0:r.disconnect()),(y,b)=>(t.openBlock(),t.createElementBlock("div",{ref_key:"infiniteLoading",ref:i,class:"v3-infinite-loading"},[t.withDirectives(t.createElementVNode("div",null,[t.renderSlot(y.$slots,"spinner",{},()=>[t.createVNode(_5)],!0)],512),[[t.vShow,l.value=="loading"]]),l.value=="complete"?t.renderSlot(y.$slots,"complete",{key:0},()=>{var x;return[t.createElementVNode("span",null,t.toDisplayString(((x=y.slots)==null?void 0:x.complete)||"No more results!"),1)]},!0):t.createCommentVNode("",!0),l.value=="error"?t.renderSlot(y.$slots,"error",{key:1,retry:c.emit},()=>{var x;return[t.createElementVNode("span",N5,[t.createElementVNode("span",null,t.toDisplayString(((x=y.slots)==null?void 0:x.error)||"Oops something went wrong!"),1),t.createElementVNode("button",{class:"retry",onClick:b[0]||(b[0]=(...w)=>c.emit&&c.emit(...w))},"retry")])]},!0):t.createCommentVNode("",!0)],512))}}),[["__scopeId","data-v-4bdee133"]]),Xl=6048e5,D5=864e5,Zl=Symbol.for("constructDateFrom");function _t(e,a){return typeof e=="function"?e(a):e&&typeof e=="object"&&Zl in e?e[Zl](a):e instanceof Date?new e.constructor(a):new Date(a)}function Nt(e,a){return _t(a||e,e)}function T5(e,a,n){const r=Nt(e,n==null?void 0:n.in);return isNaN(a)?_t(e,NaN):(r.setDate(r.getDate()+a),r)}let P5={};function Zn(){return P5}function _a(e,a){var s,d,p,f;const n=Zn(),r=(a==null?void 0:a.weekStartsOn)??((d=(s=a==null?void 0:a.locale)==null?void 0:s.options)==null?void 0:d.weekStartsOn)??n.weekStartsOn??((f=(p=n.locale)==null?void 0:p.options)==null?void 0:f.weekStartsOn)??0,o=Nt(e,a==null?void 0:a.in),i=o.getDay(),l=(i<r?7:0)+i-r;return o.setDate(o.getDate()-l),o.setHours(0,0,0,0),o}function Qn(e,a){return _a(e,{...a,weekStartsOn:1})}function Ql(e,a){const n=Nt(e,a==null?void 0:a.in),r=n.getFullYear(),o=_t(n,0);o.setFullYear(r+1,0,4),o.setHours(0,0,0,0);const i=Qn(o),l=_t(n,0);l.setFullYear(r,0,4),l.setHours(0,0,0,0);const s=Qn(l);return n.getTime()>=i.getTime()?r+1:n.getTime()>=s.getTime()?r:r-1}function Kl(e){const a=Nt(e),n=new Date(Date.UTC(a.getFullYear(),a.getMonth(),a.getDate(),a.getHours(),a.getMinutes(),a.getSeconds(),a.getMilliseconds()));return n.setUTCFullYear(a.getFullYear()),+e-+n}function ho(e,...a){const n=_t.bind(null,a.find(r=>typeof r=="object"));return a.map(n)}function Kn(e,a){const n=Nt(e,a==null?void 0:a.in);return n.setHours(0,0,0,0),n}function O5(e,a,n){const[r,o]=ho(n==null?void 0:n.in,e,a),i=Kn(r),l=Kn(o),s=+i-Kl(i),d=+l-Kl(l);return Math.round((s-d)/D5)}function F5(e,a){const n=Ql(e,a),r=_t(e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),Qn(r)}function po(e){return _t(e,Date.now())}function Jl(e,a,n){const[r,o]=ho(n==null?void 0:n.in,e,a);return+Kn(r)==+Kn(o)}function L5(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function $5(e){return!(!L5(e)&&typeof e!="number"||isNaN(+Nt(e)))}function H5(e,a){const n=Nt(e,a==null?void 0:a.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}const R5={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},z5=(e,a,n)=>{let r;const o=R5[e];return typeof o=="string"?r=o:a===1?r=o.one:r=o.other.replace("{{count}}",a.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function Wa(e){return(a={})=>{const n=a.width?String(a.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const I5={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},G5={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},j5={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},q5={date:Wa({formats:I5,defaultWidth:"full"}),time:Wa({formats:G5,defaultWidth:"full"}),dateTime:Wa({formats:j5,defaultWidth:"full"})},W5={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Y5=(e,a,n,r)=>W5[e];function Yt(e){return(a,n)=>{const r=n!=null&&n.context?String(n.context):"standalone";let o;if(r==="formatting"&&e.formattingValues){const l=e.defaultFormattingWidth||e.defaultWidth,s=n!=null&&n.width?String(n.width):l;o=e.formattingValues[s]||e.formattingValues[l]}else{const l=e.defaultWidth,s=n!=null&&n.width?String(n.width):e.defaultWidth;o=e.values[s]||e.values[l]}const i=e.argumentCallback?e.argumentCallback(a):a;return o[i]}}const U5={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},X5={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Z5={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Q5={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},K5={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},J5={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},e6={ordinalNumber:(e,a)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:Yt({values:U5,defaultWidth:"wide"}),quarter:Yt({values:X5,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Yt({values:Z5,defaultWidth:"wide"}),day:Yt({values:Q5,defaultWidth:"wide"}),dayPeriod:Yt({values:K5,defaultWidth:"wide",formattingValues:J5,defaultFormattingWidth:"wide"})};function Ut(e){return(a,n={})=>{const r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=a.match(o);if(!i)return null;const l=i[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],d=Array.isArray(s)?a6(s,h=>h.test(l)):t6(s,h=>h.test(l));let p;p=e.valueCallback?e.valueCallback(d):d,p=n.valueCallback?n.valueCallback(p):p;const f=a.slice(l.length);return{value:p,rest:f}}}function t6(e,a){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&a(e[n]))return n}function a6(e,a){for(let n=0;n<e.length;n++)if(a(e[n]))return n}function es(e){return(a,n={})=>{const r=a.match(e.matchPattern);if(!r)return null;const o=r[0],i=a.match(e.parsePattern);if(!i)return null;let l=e.valueCallback?e.valueCallback(i[0]):i[0];l=n.valueCallback?n.valueCallback(l):l;const s=a.slice(o.length);return{value:l,rest:s}}}const n6=/^(\d+)(th|st|nd|rd)?/i,r6=/\d+/i,o6={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},i6={any:[/^b/i,/^(a|c)/i]},l6={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},s6={any:[/1/i,/2/i,/3/i,/4/i]},c6={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},d6={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},u6={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},m6={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},f6={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},h6={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},p6={ordinalNumber:es({matchPattern:n6,parsePattern:r6,valueCallback:e=>parseInt(e,10)}),era:Ut({matchPatterns:o6,defaultMatchWidth:"wide",parsePatterns:i6,defaultParseWidth:"any"}),quarter:Ut({matchPatterns:l6,defaultMatchWidth:"wide",parsePatterns:s6,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Ut({matchPatterns:c6,defaultMatchWidth:"wide",parsePatterns:d6,defaultParseWidth:"any"}),day:Ut({matchPatterns:u6,defaultMatchWidth:"wide",parsePatterns:m6,defaultParseWidth:"any"}),dayPeriod:Ut({matchPatterns:f6,defaultMatchWidth:"any",parsePatterns:h6,defaultParseWidth:"any"})},g6={code:"en-US",formatDistance:z5,formatLong:q5,formatRelative:Y5,localize:e6,match:p6,options:{weekStartsOn:0,firstWeekContainsDate:1}};function y6(e,a){const n=Nt(e,a==null?void 0:a.in);return O5(n,H5(n))+1}function k6(e,a){const n=Nt(e,a==null?void 0:a.in),r=+Qn(n)-+F5(n);return Math.round(r/Xl)+1}function ts(e,a){var f,h,c,m;const n=Nt(e,a==null?void 0:a.in),r=n.getFullYear(),o=Zn(),i=(a==null?void 0:a.firstWeekContainsDate)??((h=(f=a==null?void 0:a.locale)==null?void 0:f.options)==null?void 0:h.firstWeekContainsDate)??o.firstWeekContainsDate??((m=(c=o.locale)==null?void 0:c.options)==null?void 0:m.firstWeekContainsDate)??1,l=_t((a==null?void 0:a.in)||e,0);l.setFullYear(r+1,0,i),l.setHours(0,0,0,0);const s=_a(l,a),d=_t((a==null?void 0:a.in)||e,0);d.setFullYear(r,0,i),d.setHours(0,0,0,0);const p=_a(d,a);return+n>=+s?r+1:+n>=+p?r:r-1}function x6(e,a){var s,d,p,f;const n=Zn(),r=(a==null?void 0:a.firstWeekContainsDate)??((d=(s=a==null?void 0:a.locale)==null?void 0:s.options)==null?void 0:d.firstWeekContainsDate)??n.firstWeekContainsDate??((f=(p=n.locale)==null?void 0:p.options)==null?void 0:f.firstWeekContainsDate)??1,o=ts(e,a),i=_t((a==null?void 0:a.in)||e,0);return i.setFullYear(o,0,r),i.setHours(0,0,0,0),_a(i,a)}function b6(e,a){const n=Nt(e,a==null?void 0:a.in),r=+_a(n,a)-+x6(n,a);return Math.round(r/Xl)+1}function Ge(e,a){const n=e<0?"-":"",r=Math.abs(e).toString().padStart(a,"0");return n+r}const ma={y(e,a){const n=e.getFullYear(),r=n>0?n:1-n;return Ge(a==="yy"?r%100:r,a.length)},M(e,a){const n=e.getMonth();return a==="M"?String(n+1):Ge(n+1,2)},d(e,a){return Ge(e.getDate(),a.length)},a(e,a){const n=e.getHours()/12>=1?"pm":"am";switch(a){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,a){return Ge(e.getHours()%12||12,a.length)},H(e,a){return Ge(e.getHours(),a.length)},m(e,a){return Ge(e.getMinutes(),a.length)},s(e,a){return Ge(e.getSeconds(),a.length)},S(e,a){const n=a.length,r=e.getMilliseconds(),o=Math.trunc(r*Math.pow(10,n-3));return Ge(o,a.length)}},Ya={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},as={G:function(e,a,n){const r=e.getFullYear()>0?1:0;switch(a){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(e,a,n){if(a==="yo"){const r=e.getFullYear(),o=r>0?r:1-r;return n.ordinalNumber(o,{unit:"year"})}return ma.y(e,a)},Y:function(e,a,n,r){const o=ts(e,r),i=o>0?o:1-o;if(a==="YY"){const l=i%100;return Ge(l,2)}return a==="Yo"?n.ordinalNumber(i,{unit:"year"}):Ge(i,a.length)},R:function(e,a){const n=Ql(e);return Ge(n,a.length)},u:function(e,a){const n=e.getFullYear();return Ge(n,a.length)},Q:function(e,a,n){const r=Math.ceil((e.getMonth()+1)/3);switch(a){case"Q":return String(r);case"QQ":return Ge(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,a,n){const r=Math.ceil((e.getMonth()+1)/3);switch(a){case"q":return String(r);case"qq":return Ge(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,a,n){const r=e.getMonth();switch(a){case"M":case"MM":return ma.M(e,a);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,a,n){const r=e.getMonth();switch(a){case"L":return String(r+1);case"LL":return Ge(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,a,n,r){const o=b6(e,r);return a==="wo"?n.ordinalNumber(o,{unit:"week"}):Ge(o,a.length)},I:function(e,a,n){const r=k6(e);return a==="Io"?n.ordinalNumber(r,{unit:"week"}):Ge(r,a.length)},d:function(e,a,n){return a==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):ma.d(e,a)},D:function(e,a,n){const r=y6(e);return a==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):Ge(r,a.length)},E:function(e,a,n){const r=e.getDay();switch(a){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,a,n,r){const o=e.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(a){case"e":return String(i);case"ee":return Ge(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});case"eeee":default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,a,n,r){const o=e.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(a){case"c":return String(i);case"cc":return Ge(i,a.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});case"cccc":default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,a,n){const r=e.getDay(),o=r===0?7:r;switch(a){case"i":return String(o);case"ii":return Ge(o,a.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,a,n){const o=e.getHours()/12>=1?"pm":"am";switch(a){case"a":case"aa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,a,n){const r=e.getHours();let o;switch(r===12?o=Ya.noon:r===0?o=Ya.midnight:o=r/12>=1?"pm":"am",a){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,a,n){const r=e.getHours();let o;switch(r>=17?o=Ya.evening:r>=12?o=Ya.afternoon:r>=4?o=Ya.morning:o=Ya.night,a){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,a,n){if(a==="ho"){let r=e.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return ma.h(e,a)},H:function(e,a,n){return a==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):ma.H(e,a)},K:function(e,a,n){const r=e.getHours()%12;return a==="Ko"?n.ordinalNumber(r,{unit:"hour"}):Ge(r,a.length)},k:function(e,a,n){let r=e.getHours();return r===0&&(r=24),a==="ko"?n.ordinalNumber(r,{unit:"hour"}):Ge(r,a.length)},m:function(e,a,n){return a==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):ma.m(e,a)},s:function(e,a,n){return a==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):ma.s(e,a)},S:function(e,a){return ma.S(e,a)},X:function(e,a,n){const r=e.getTimezoneOffset();if(r===0)return"Z";switch(a){case"X":return rs(r);case"XXXX":case"XX":return Na(r);case"XXXXX":case"XXX":default:return Na(r,":")}},x:function(e,a,n){const r=e.getTimezoneOffset();switch(a){case"x":return rs(r);case"xxxx":case"xx":return Na(r);case"xxxxx":case"xxx":default:return Na(r,":")}},O:function(e,a,n){const r=e.getTimezoneOffset();switch(a){case"O":case"OO":case"OOO":return"GMT"+ns(r,":");case"OOOO":default:return"GMT"+Na(r,":")}},z:function(e,a,n){const r=e.getTimezoneOffset();switch(a){case"z":case"zz":case"zzz":return"GMT"+ns(r,":");case"zzzz":default:return"GMT"+Na(r,":")}},t:function(e,a,n){const r=Math.trunc(+e/1e3);return Ge(r,a.length)},T:function(e,a,n){return Ge(+e,a.length)}};function ns(e,a=""){const n=e>0?"-":"+",r=Math.abs(e),o=Math.trunc(r/60),i=r%60;return i===0?n+String(o):n+String(o)+a+Ge(i,2)}function rs(e,a){return e%60===0?(e>0?"-":"+")+Ge(Math.abs(e)/60,2):Na(e,a)}function Na(e,a=""){const n=e>0?"-":"+",r=Math.abs(e),o=Ge(Math.trunc(r/60),2),i=Ge(r%60,2);return n+o+a+i}const os=(e,a)=>{switch(e){case"P":return a.date({width:"short"});case"PP":return a.date({width:"medium"});case"PPP":return a.date({width:"long"});case"PPPP":default:return a.date({width:"full"})}},is=(e,a)=>{switch(e){case"p":return a.time({width:"short"});case"pp":return a.time({width:"medium"});case"ppp":return a.time({width:"long"});case"pppp":default:return a.time({width:"full"})}},w6={p:is,P:(e,a)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],o=n[2];if(!o)return os(e,a);let i;switch(r){case"P":i=a.dateTime({width:"short"});break;case"PP":i=a.dateTime({width:"medium"});break;case"PPP":i=a.dateTime({width:"long"});break;case"PPPP":default:i=a.dateTime({width:"full"});break}return i.replace("{{date}}",os(r,a)).replace("{{time}}",is(o,a))}},v6=/^D+$/,E6=/^Y+$/,C6=["D","DD","YY","YYYY"];function S6(e){return v6.test(e)}function M6(e){return E6.test(e)}function B6(e,a,n){const r=A6(e,a,n);if(console.warn(r),C6.includes(e))throw new RangeError(r)}function A6(e,a,n){const r=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${a}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const V6=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,_6=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,N6=/^'([^]*?)'?$/,D6=/''/g,T6=/[a-zA-Z]/;function ls(e,a,n){var f,h,c,m,u,y,b,x;const r=Zn(),o=(n==null?void 0:n.locale)??r.locale??g6,i=(n==null?void 0:n.firstWeekContainsDate)??((h=(f=n==null?void 0:n.locale)==null?void 0:f.options)==null?void 0:h.firstWeekContainsDate)??r.firstWeekContainsDate??((m=(c=r.locale)==null?void 0:c.options)==null?void 0:m.firstWeekContainsDate)??1,l=(n==null?void 0:n.weekStartsOn)??((y=(u=n==null?void 0:n.locale)==null?void 0:u.options)==null?void 0:y.weekStartsOn)??r.weekStartsOn??((x=(b=r.locale)==null?void 0:b.options)==null?void 0:x.weekStartsOn)??0,s=Nt(e,n==null?void 0:n.in);if(!$5(s))throw new RangeError("Invalid time value");let d=a.match(_6).map(w=>{const k=w[0];if(k==="p"||k==="P"){const B=w6[k];return B(w,o.formatLong)}return w}).join("").match(V6).map(w=>{if(w==="''")return{isToken:!1,value:"'"};const k=w[0];if(k==="'")return{isToken:!1,value:P6(w)};if(as[k])return{isToken:!0,value:w};if(k.match(T6))throw new RangeError("Format string contains an unescaped latin alphabet character `"+k+"`");return{isToken:!1,value:w}});o.localize.preprocessor&&(d=o.localize.preprocessor(s,d));const p={firstWeekContainsDate:i,weekStartsOn:l,locale:o};return d.map(w=>{if(!w.isToken)return w.value;const k=w.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&M6(k)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&S6(k))&&B6(k,a,String(e));const B=as[k[0]];return B(s,k,o.localize,p)}).join("")}function P6(e){const a=e.match(N6);return a?a[1].replace(D6,"'"):e}function O6(e,a,n){const[r,o]=ho(n==null?void 0:n.in,e,a);return+_a(r,n)==+_a(o,n)}function F6(e,a){return O6(_t(e,e),po(e),a)}function L6(e,a){return Jl(_t(e,e),po(e))}function $6(e,a,n){return T5(e,-1,n)}function H6(e,a){return Jl(_t(e,e),$6(po(e)))}const R6={lessThanXSeconds:{one:"menos de um segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"meio minuto",lessThanXMinutes:{one:"menos de um minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"cerca de 1 hora",other:"cerca de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 dia",other:"{{count}} dias"},aboutXWeeks:{one:"cerca de 1 semana",other:"cerca de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"cerca de 1 mês",other:"cerca de {{count}} meses"},xMonths:{one:"1 mês",other:"{{count}} meses"},aboutXYears:{one:"cerca de 1 ano",other:"cerca de {{count}} anos"},xYears:{one:"1 ano",other:"{{count}} anos"},overXYears:{one:"mais de 1 ano",other:"mais de {{count}} anos"},almostXYears:{one:"quase 1 ano",other:"quase {{count}} anos"}},z6=(e,a,n)=>{let r;const o=R6[e];return typeof o=="string"?r=o:a===1?r=o.one:r=o.other.replace("{{count}}",String(a)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"em "+r:"há "+r:r},I6={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/yyyy"},G6={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},j6={full:"{{date}} 'às' {{time}}",long:"{{date}} 'às' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},q6={date:Wa({formats:I6,defaultWidth:"full"}),time:Wa({formats:G6,defaultWidth:"full"}),dateTime:Wa({formats:j6,defaultWidth:"full"})},W6={lastWeek:e=>{const a=e.getDay();return"'"+(a===0||a===6?"último":"última")+"' eeee 'às' p"},yesterday:"'ontem às' p",today:"'hoje às' p",tomorrow:"'amanhã às' p",nextWeek:"eeee 'às' p",other:"P"},Y6=(e,a,n,r)=>{const o=W6[e];return typeof o=="function"?o(a):o},U6={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","depois de cristo"]},X6={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},Z6={narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez"],wide:["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]},Q6={narrow:["D","S","T","Q","Q","S","S"],short:["dom","seg","ter","qua","qui","sex","sab"],abbreviated:["domingo","segunda","terça","quarta","quinta","sexta","sábado"],wide:["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"]},K6={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"manhã",afternoon:"tarde",evening:"tarde",night:"noite"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"tarde",night:"noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"tarde",night:"noite"}},J6={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"da manhã",afternoon:"da tarde",evening:"da tarde",night:"da noite"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da tarde",night:"da noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da tarde",night:"da noite"}},e7={ordinalNumber:(e,a)=>{const n=Number(e);return(a==null?void 0:a.unit)==="week"?n+"ª":n+"º"},era:Yt({values:U6,defaultWidth:"wide"}),quarter:Yt({values:X6,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Yt({values:Z6,defaultWidth:"wide"}),day:Yt({values:Q6,defaultWidth:"wide"}),dayPeriod:Yt({values:K6,defaultWidth:"wide",formattingValues:J6,defaultFormattingWidth:"wide"})},t7=/^(\d+)[ºªo]?/i,a7=/\d+/i,n7={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|d\.?\s?c\.?)/i,wide:/^(antes de cristo|depois de cristo)/i},r7={any:[/^ac/i,/^dc/i],wide:[/^antes de cristo/i,/^depois de cristo/i]},o7={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},i7={any:[/1/i,/2/i,/3/i,/4/i]},l7={narrow:/^[jfmajsond]/i,abbreviated:/^(jan|fev|mar|abr|mai|jun|jul|ago|set|out|nov|dez)/i,wide:/^(janeiro|fevereiro|março|abril|maio|junho|julho|agosto|setembro|outubro|novembro|dezembro)/i},s7={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^fev/i,/^mar/i,/^abr/i,/^mai/i,/^jun/i,/^jul/i,/^ago/i,/^set/i,/^out/i,/^nov/i,/^dez/i]},c7={narrow:/^(dom|[23456]ª?|s[aá]b)/i,short:/^(dom|[23456]ª?|s[aá]b)/i,abbreviated:/^(dom|seg|ter|qua|qui|sex|s[aá]b)/i,wide:/^(domingo|(segunda|ter[cç]a|quarta|quinta|sexta)([- ]feira)?|s[aá]bado)/i},d7={short:[/^d/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^s[aá]/i],narrow:[/^d/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^s[aá]/i],any:[/^d/i,/^seg/i,/^t/i,/^qua/i,/^qui/i,/^sex/i,/^s[aá]b/i]},u7={narrow:/^(a|p|mn|md|(da) (manhã|tarde|noite))/i,any:/^([ap]\.?\s?m\.?|meia[-\s]noite|meio[-\s]dia|(da) (manhã|tarde|noite))/i},m7={any:{am:/^a/i,pm:/^p/i,midnight:/^mn|^meia[-\s]noite/i,noon:/^md|^meio[-\s]dia/i,morning:/manhã/i,afternoon:/tarde/i,evening:/tarde/i,night:/noite/i}},f7={ordinalNumber:es({matchPattern:t7,parsePattern:a7,valueCallback:e=>parseInt(e,10)}),era:Ut({matchPatterns:n7,defaultMatchWidth:"wide",parsePatterns:r7,defaultParseWidth:"any"}),quarter:Ut({matchPatterns:o7,defaultMatchWidth:"wide",parsePatterns:i7,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Ut({matchPatterns:l7,defaultMatchWidth:"wide",parsePatterns:s7,defaultParseWidth:"any"}),day:Ut({matchPatterns:c7,defaultMatchWidth:"wide",parsePatterns:d7,defaultParseWidth:"any"}),dayPeriod:Ut({matchPatterns:u7,defaultMatchWidth:"any",parsePatterns:m7,defaultParseWidth:"any"})},ss={code:"pt-BR",formatDistance:z6,formatLong:q6,formatRelative:Y6,localize:e7,match:f7,options:{weekStartsOn:0,firstWeekContainsDate:1}};/*! License details at fancyapps.com/license */const ft=e=>typeof e=="string";/*! License details at fancyapps.com/license */const Ua=e=>e&&e!==null&&e instanceof Element&&"nodeType"in e;/*! License details at fancyapps.com/license */const h7=function(e){if(!(e&&e instanceof Element&&e.offsetParent))return!1;const a=e.scrollHeight>e.clientHeight,n=window.getComputedStyle(e).overflowY,r=n.indexOf("hidden")!==-1,o=n.indexOf("visible")!==-1;return a&&!r&&!o},yn=function(e,a=void 0){return!e||e===document.body||a&&e===a?null:h7(e)?e:yn(e.parentElement,a)};/*! License details at fancyapps.com/license */const fa=function(e){var a=new DOMParser().parseFromString(e,"text/html").body;if(a.childElementCount>1){for(var n=document.createElement("div");a.firstChild;)n.appendChild(a.firstChild);return n}let r=a.firstChild;return!r||r instanceof HTMLElement?r:((n=document.createElement("div")).appendChild(r),n)};/*! License details at fancyapps.com/license */const $e=function(e=0,a=0,n=0){return Math.max(Math.min(a,n),e)};/*! License details at fancyapps.com/license */const Et=e=>typeof e=="object"&&e!==null&&e.constructor===Object&&Object.prototype.toString.call(e)==="[object Object]";/*! License details at fancyapps.com/license */function cs(e){return Et(e)||Array.isArray(e)}function go(e,a){const n=Object.keys(e),r=Object.keys(a);return n.length===r.length&&n.every(o=>{const i=e[o],l=a[o];return typeof i=="function"?`${i}`==`${l}`:cs(i)&&cs(l)?go(i,l):i===l})}/*! License details at fancyapps.com/license */const ds=function(e){for(const a of Jn)a.getState()===Ct.Running&&a.tick(yo?e-yo:0);yo=e,Za=window.requestAnimationFrame(ds)};var Ct,ha,Xa;(function(e){e[e.Initializing=0]="Initializing",e[e.Running=1]="Running",e[e.Paused=2]="Paused",e[e.Completed=3]="Completed",e[e.Destroyed=4]="Destroyed"})(Ct||(Ct={})),function(e){e[e.Spring=0]="Spring",e[e.Ease=1]="Ease"}(ha||(ha={})),function(e){e[e.Loop=0]="Loop",e[e.Reverse=1]="Reverse"}(Xa||(Xa={}));const Jn=new Set;let Za=null,yo=0;function pa(){let e=Ct.Initializing,a=ha.Ease,n=0,r=0,o=pa.Easings.Linear,i=500,l=0,s=0,d=0,p=0,f=1/0,h=.01,c=.01,m=!1,u={},y=null,b={},x={},w={},k=0,B=0,A=Xa.Loop,D=pa.Easings.Linear;const V=new Map;function C(Y,...E){for(const j of V.get(Y)||[])j(...E)}function M(Y){return r=0,Y?y=setTimeout(()=>{I()},Y):I(),X}function I(){e=Ct.Running,C("start",b,x)}function $(){if(e=Ct.Completed,w={},C("end",b),e===Ct.Completed)if(n<k){if(n++,A===Xa.Reverse){const Y=Object.assign({},u);u=Object.assign({},x),x=Y}M(B)}else n=0;return X}const X={getState:function(){return e},easing:function(Y){return o=Y,a=ha.Ease,w={},X},duration:function(Y){return i=Y,X},spring:function(Y={}){a=ha.Spring;const E={velocity:0,mass:1,tension:170,friction:26,restDelta:.1,restSpeed:.1,maxSpeed:1/0,clamp:!0},{velocity:j,mass:G,tension:U,friction:de,restDelta:W,restSpeed:_,maxSpeed:ie,clamp:ne}=Object.assign(Object.assign({},E),Y);return l=j,s=G,d=U,p=de,c=W,h=_,f=ie,m=ne,w={},X},isRunning:function(){return e===Ct.Running},isSpring:function(){return a===ha.Spring},from:function(Y){return b=Object.assign({},Y),X},to:function(Y){return x=Y,X},repeat:function(Y,E=0,j=Xa.Loop,G){return k=Y,B=E,A=j,D=G||o,X},on:function(Y,E){var j,G;return j=Y,G=E,V.set(j,[...V.get(j)||[],G]),X},off:function(Y,E){var j,G;return j=Y,G=E,V.has(j)&&V.set(j,V.get(j).filter(U=>U!==G)),X},start:function(Y){return e=Ct.Initializing,u=Object.assign({},b),go(u,x)||(Jn.add(this),Za||(Za=window.requestAnimationFrame(ds)),M(Y)),X},pause:function(){return y&&(clearTimeout(y),y=null),e===Ct.Running&&(e=Ct.Paused,C("pause",b)),X},end:$,tick:function(Y){Y>50&&(Y=50),r+=Y;let E=0,j=!1;if(e!==Ct.Running)return X;if(a===ha.Ease){E=$e(0,r/i,1),j=E===1;const U=A===Xa.Reverse?D:o;for(const de in b)b[de]=u[de]+(x[de]-u[de])*U(E)}if(a===ha.Spring){const U=.001*Y;let de=0;for(const W in b){const _=x[W];let ie=b[W];if(typeof _!="number"||isNaN(_)||typeof ie!="number"||isNaN(ie))continue;if(Math.abs(_-ie)<=c){b[W]=_,w[W]=0;continue}w[W]||(typeof l=="object"&&typeof l[W]=="number"?w[W]=l[W]:w[W]=typeof l=="number"?l:0);let ne=w[W];ne=$e(-1*Math.abs(f),ne,Math.abs(f));const K=ne*s*p;ne+=((ie>_?-1:1)*(Math.abs(_-ie)*d)-K)/s*U,ie+=ne*U;const S=b[W]>_?ie<_:ie>_;let Q=Math.abs(ne)<h&&Math.abs(_-ie)<=c;m&&S&&(Q=!0),Q?(ie=_,ne=0):de++,b[W]=ie,w[W]=ne}j=!de}const G=Object.assign({},x);return C("step",b,u,x,E),j&&e===Ct.Running&&go(x,G)&&(e=Ct.Completed,$()),X},getStartValues:function(){return u},getCurrentValues:function(){return b},getCurrentVelocities:function(){return w},getEndValues:function(){return x},destroy:function(){e=Ct.Destroyed,y&&(clearTimeout(y),y=null),u=b=x={},Jn.delete(this)}};return X}pa.destroy=()=>{for(const e of Jn)e.destroy();Za&&(cancelAnimationFrame(Za),Za=null)},pa.Easings={Linear:function(e){return e},EaseIn:function(e){return e===0?0:Math.pow(2,10*e-10)},EaseOut:function(e){return e===1?1:1-Math.pow(2,-10*e)},EaseInOut:function(e){return e===0?0:e===1?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2}};/*! License details at fancyapps.com/license */function ko(e){const a=[],n=typeof TouchEvent<"u"&&e instanceof TouchEvent?e.touches:e instanceof MouseEvent&&e.type!=="mouseup"?[e]:[];for(const r of n)a.push({x:r.clientX,y:r.clientY,ts:Date.now()});return a}function us(e){const a=[],n=typeof TouchEvent<"u"&&e instanceof TouchEvent?e.changedTouches:e instanceof MouseEvent?[e]:[];for(const r of n)a.push({x:r.clientX,y:r.clientY,ts:Date.now()});return a}function ga(e){const a=e[0],n=e[1]||a;return{x:(a.x+n.x)/2,y:(a.y+n.y)/2,ts:n.ts}}function er(e){const a=e[0],n=e[1]||e[0];return a&&n?-1*Math.sqrt((n.x-a.x)*(n.x-a.x)+(n.y-a.y)*(n.y-a.y)):0}const ms=e=>{e.cancelable&&e.preventDefault()},ya={passive:!1},p7={panThreshold:5,swipeThreshold:3,ignore:["textarea","input","select","[contenteditable]","[data-selectable]","[data-draggable]"]};let xo=!1,kn=!0;const xn=(e,a)=>{let n,r,o,i=Object.assign(Object.assign({},p7),a),l=[],s=[],d=[],p=!1,f=!1,h=!1,c=0,m=0,u=0,y=0,b=0,x=0,w=0,k=0,B=0,A=[],D=0,V=0;const C=new Map;function M(W){const _=er(s),ie=er(d),ne=_&&ie?_/ie:0,K=Math.abs(w)>Math.abs(k)?w:k,S={srcEvent:n,isPanRecognized:p,isSwipeRecognized:f,firstTouch:l,previousTouch:d,currentTouch:s,deltaX:u,deltaY:y,offsetX:b,offsetY:x,velocityX:w,velocityY:k,velocity:K,angle:B,axis:o,scale:ne,center:r};for(const Q of C.get(W)||[])Q(S)}function I(W){const _=Date.now();A=A.filter(ie=>!ie.ts||ie.ts>_-100),W&&A.push(W)}function $(){if(w=0,k=0,A.length>3){const W=A[0],_=A[A.length-1];if(W&&_){const ie=_.x-W.x,ne=_.y-W.y,K=W.ts&&_.ts?_.ts-W.ts:0;K>0&&(w=Math.abs(ie)>3?ie/(K/30):0,k=Math.abs(ne)>3?ne/(K/30):0)}}}function X(W){if(W instanceof MouseEvent){if(xo)return}else xo=!0;const _=W.composedPath()[0],ie=i.ignore.join(",");if(_.matches(ie)||_.closest(ie)||typeof MouseEvent<"u"&&W instanceof MouseEvent&&(!W.buttons||W.button!==0))return;W instanceof MouseEvent&&ms(W);const ne=Date.now(),K=ne-(c||ne);h=K>0&&K<=250,c=ne,clearTimeout(D),n=W,W instanceof MouseEvent&&(window.addEventListener("mousemove",Y),window.addEventListener("mouseup",E)),window.addEventListener("blur",j),s=ko(W),l=[...s],d=[],m=s.length,r=ga(s),m===1&&(p=!1,f=!1),m&&I(ga(s)),M("start")}function Y(W){var _;if(!l.length||W.defaultPrevented)return;n=W,d=[...s],s=ko(W),m=s.length,r=ga(s);const ie=r,ne=ga(d);if(u=ie.x-ne.x,y=ie.y-ne.y,I(ie),$(),M("move"),s.length>1){const K=er(s),S=er(d);Math.abs(K-S)>=.1&&M("pinch")}if(!p&&l.length){const K=ga(l);b=ie.x-K.x,x=ie.y-K.y,p=Math.abs(b)>i.panThreshold||Math.abs(x)>i.panThreshold,p&&(kn=!1,clearTimeout(V),V=0,B=Math.abs(180*Math.atan2(x,b)/Math.PI),o=B>45&&B<135?"y":"x",l=[...s],d=[...s],(_=window.getSelection())===null||_===void 0||_.removeAllRanges(),M("panstart"))}p&&(u||y)&&M("pan")}function E(W){if(n=W,!l.length)return;const _=ko(W),ie=us(W);if(m=_.length,r=ga(ie),ie.length&&I(ga(ie)),$(),d=[...s],s=[..._],l=[..._],_.length>0)M("end"),p=!1,f=!1,A=[];else{const ne=i.swipeThreshold;(Math.abs(w)>ne||Math.abs(k)>ne)&&(f=!0),p&&M("panend"),f&&M("swipe"),p||f||(M("tap"),h?M("doubleTap"):D=setTimeout(function(){M("singleTap")},250)),M("end"),G()}}function j(){clearTimeout(D),G(),p&&M("panend"),M("end")}function G(){p=!1,f=!1,h=!1,m=0,A=[],s=[],d=[],l=[],u=0,y=0,b=0,x=0,w=0,k=0,B=0,o=void 0,window.removeEventListener("mousemove",Y),window.removeEventListener("mouseup",E),window.removeEventListener("blur",j),kn||V||(V=setTimeout(()=>{kn=!0,V=0},100))}function U(W){const _=W.target;xo=!1,_&&!W.defaultPrevented&&(kn||(ms(W),W.stopPropagation()))}const de={init:function(){if(e)return e.addEventListener("click",U,ya),e.addEventListener("mousedown",X,ya),e.addEventListener("touchstart",X,ya),e.addEventListener("touchmove",Y,ya),e.addEventListener("touchend",E),e.addEventListener("touchcancel",E),de},on:function(W,_){return function(ie,ne){C.set(ie,[...C.get(ie)||[],ne])}(W,_),de},off:function(W,_){return C.has(W)&&C.set(W,C.get(W).filter(ie=>ie!==_)),de},isPointerDown:()=>m>0,destroy:function(){clearTimeout(D),clearTimeout(V),V=0,e&&(e.removeEventListener("click",U,ya),e.removeEventListener("mousedown",X,ya),e.removeEventListener("touchstart",X,ya),e.removeEventListener("touchmove",Y,ya),e.removeEventListener("touchend",E),e.removeEventListener("touchcancel",E)),e=null,G()}};return de};xn.isClickAllowed=()=>kn;/*! License details at fancyapps.com/license */const bo={IMAGE_ERROR:"This image couldn't be loaded. <br /> Please try again later.",MOVE_UP:"Move up",MOVE_DOWN:"Move down",MOVE_LEFT:"Move left",MOVE_RIGHT:"Move right",ZOOM_IN:"Zoom in",ZOOM_OUT:"Zoom out",TOGGLE_FULL:"Toggle zoom level",TOGGLE_1TO1:"Toggle zoom level",ITERATE_ZOOM:"Toggle zoom level",ROTATE_CCW:"Rotate counterclockwise",ROTATE_CW:"Rotate clockwise",FLIP_X:"Flip horizontally",FLIP_Y:"Flip vertically",RESET:"Reset"};/*! License details at fancyapps.com/license */const ze=(e,a="")=>{e&&e.classList&&a.split(" ").forEach(n=>{n&&e.classList.add(n)})};/*! License details at fancyapps.com/license */const tr=e=>{e.cancelable&&e.preventDefault()},St=(e,a=1e4)=>(e=parseFloat(e+"")||0,Math.round((e+Number.EPSILON)*a)/a);var we,fs;(function(e){e.Reset="reset",e.Zoom="zoom",e.ZoomIn="zoomIn",e.ZoomOut="zoomOut",e.ZoomTo="zoomTo",e.ToggleCover="toggleCover",e.ToggleFull="toggleFull",e.ToggleMax="toggleMax",e.IterateZoom="iterateZoom",e.Pan="pan",e.Swipe="swipe",e.Move="move",e.MoveLeft="moveLeft",e.MoveRight="moveRight",e.MoveUp="moveUp",e.MoveDown="moveDown",e.RotateCCW="rotateCCW",e.RotateCW="rotateCW",e.FlipX="flipX",e.FlipY="flipY"})(we||(we={})),function(e){e.Cover="cover",e.Full="full",e.Max="max"}(fs||(fs={}));const Dt={x:0,y:0,scale:1,angle:0,flipX:1,flipY:1},wo={bounds:!0,classes:{container:"f-panzoom",wrapper:"f-panzoom__wrapper",content:"f-panzoom__content",viewport:"f-panzoom__viewport"},clickAction:we.ToggleFull,dblClickAction:!1,gestures:{},height:"auto",l10n:bo,maxScale:4,minScale:1,mouseMoveFactor:1,panMode:"drag",protected:!1,singleClickAction:!1,spinnerTpl:'<div class="f-spinner"></div>',wheelAction:we.Zoom,width:"auto"};let ar,hs=0,ps=0,nr=0;const vo=(e,a={},n={})=>{let r,o,i,l,s,d,p,f=0,h=Object.assign(Object.assign({},wo),a),c={},m=Object.assign({},Dt),u=Object.assign({},Dt);const y=[];function b(v){let g=h[v];return g&&typeof g=="function"?g(L):g}const x=new Map;function w(v,...g){const N=x.get(v)||[];h.on&&N.push(h.on[v]);for(const F of N)F&&F instanceof Function&&F(L,...g);v!=="*"&&w("*",v,...g)}function k(v){if(f!==3)return;const g=v.target;if(yn(g))return;const N=Date.now(),F=[-v.deltaX||0,-v.deltaY||0,-v.detail||0].reduce(function(ce,ge){return Math.abs(ge)>Math.abs(ce)?ge:ce}),O=$e(-1,F,1);w("wheel",v,O);const J=b("wheelAction");if(!J||v.defaultPrevented)return;const H=u.scale;let te=H*(O>0?1.5:.5);if(J===we.Zoom){const ce=Math.abs(v.deltaY)<100&&Math.abs(v.deltaX)<100;if(N-ps<(ce?200:45))return void tr(v);ps=N;const ge=X(),xe=G();if(St(te)<St(ge)&&St(H)<=St(ge)?(nr+=Math.abs(O),te=ge):St(te)>St(xe)&&St(H)>=St(xe)?(nr+=Math.abs(O),te=xe):(nr=0,te=$e(ge,te,xe)),nr>7)return}switch(tr(v),J){case we.Pan:_(J,{srcEvent:v,deltaX:2*-v.deltaX,deltaY:2*-v.deltaY});break;case we.Zoom:_(we.ZoomTo,{srcEvent:v,scale:te,center:{x:v.clientX,y:v.clientY}});break;default:_(J,{srcEvent:v})}}function B(v){var g,N;const F=v.composedPath()[0];if(!xn.isClickAllowed()||!Ua(F)||v.defaultPrevented||!(e!=null&&e.contains(F))||F.hasAttribute("disabled")||F.hasAttribute("aria-disabled"))return;const O=F.closest("[data-panzoom-action]"),J=(g=O==null?void 0:O.dataset)===null||g===void 0?void 0:g.panzoomAction,H=((N=O==null?void 0:O.dataset)===null||N===void 0?void 0:N.panzoomValue)||"";if(J){switch(J){case we.ZoomTo:case we.ZoomIn:case we.ZoomOut:_(J,{scale:parseFloat(H||"")||void 0});break;case we.MoveLeft:case we.MoveRight:_(J,{deltaX:parseFloat(H||"")||void 0});break;case we.MoveUp:case we.MoveDown:_(J,{deltaY:parseFloat(H||"")||void 0});break;default:_(J)}return}if(!(r!=null&&r.contains(F)))return;const te={srcEvent:v};if(_(b("clickAction"),te),b("dblClickAction")){const ce=Date.now(),ge=ce-(hs||ce);hs=ce,ge>0&&ge<=250?(ar&&(clearTimeout(ar),ar=void 0),_(b("dblClickAction"),te)):ar=setTimeout(()=>{_(b("singleClickAction"),te)},250)}}function A(v){if(p=v,!M()||f!==3||m.scale<=1||u.scale<=1||((r==null?void 0:r.dataset.animationName)||"").indexOf("zoom")>-1)return;const g=I(u.scale);if(!g)return;const{x:N,y:F}=g;_(we.Pan,{deltaX:N-u.x,deltaY:F-u.y})}function D(){var v;if(e&&((v=e.querySelector(".f-spinner"))===null||v===void 0||v.remove(),e.classList.remove("is-loading")),!e||!r)return;if(o instanceof HTMLImageElement&&(!o.complete||!o.naturalWidth))return f=2,r==null||r.classList.add("has-error"),void w("error");w("loaded");const{width:g,height:N}=C();o&&(o.setAttribute("width",g+""),o.setAttribute("height",N+"")),r&&(r.classList.remove("has-error"),r.setAttribute("width",g+""),r.setAttribute("height",N+""),r.style.aspectRatio=`${g/N||""}`),s=pa().on("start",(O,J)=>{u=Object.assign(Object.assign({},Dt),J),J.angle!==void 0&&(J.angle=90*Math.round(J.angle/90)),J.flipX!==void 0&&(J.flipX=J.flipX>0?1:-1),J.flipY!==void 0&&(J.flipY=J.flipY>0?1:-1),W(),w("animationStart")}).on("pause",O=>{u=Object.assign(Object.assign({},Dt),O)}).on("step",O=>{if(f!==3||!s)return;if(!e||!e.parentElement)return void s.end();if(m=Object.assign(Object.assign({},Dt),O),M()||!b("bounds")||(l==null?void 0:l.isPointerDown())||u.scale>m.scale||u.scale<Y())return void ie();const J=U(u.scale);let H=!1,te=!1,ce=!1,ge=!1;m.x<J.x[0]&&(H=!0),m.x>J.x[1]&&(te=!0),m.y<J.y[0]&&(ge=!0),m.y>J.y[1]&&(ce=!0);let xe=!1,ue=!1,Me=!1,_e=!1;u.x<J.x[0]&&(xe=!0),u.x>J.x[1]&&(ue=!0),u.y<J.y[0]&&(_e=!0),u.y>J.y[1]&&(Me=!0);let Ne=!1;(te&&ue||H&&xe)&&(u.x=$e(J.x[0],u.x,J.x[1]),Ne=!0),(ce&&Me||ge&&_e)&&(u.y=$e(J.y[0],u.y,J.y[1]),Ne=!0),Ne&&s.spring({tension:94,friction:17,maxSpeed:555*u.scale,restDelta:.1,restSpeed:.1,velocity:s.getCurrentVelocities()}).from(m).to(u).start(),ie()}).on("end",()=>{de(),s!=null&&s.isRunning()||(W(),w("animationEnd"))}),function(){const O=b("gestures");O&&i&&o&&(l=xn(i,O).on("start",J=>{if(!s)return;const H=J.srcEvent;M()||((m.scale>1||J.currentTouch.length>1)&&(H==null||H.stopPropagation(),s.pause()),J.currentTouch.length===1&&w("touchStart"))}).on("move",J=>{M()||(u.scale!==1||J.currentTouch.length>1)&&(J.srcEvent.preventDefault(),J.srcEvent.stopPropagation())}).on("pan",J=>{if(M())return;const H=J.srcEvent;(u.scale!==1||J.currentTouch.length>1)&&(tr(H),_(we.Pan,J))}).on("swipe",J=>{M()||u.scale>1&&_(we.Swipe,J)}).on("tap",J=>{w("click",J)}).on("singleTap",J=>{w("singleClick",J)}).on("doubleTap",J=>{w("dblClick",J)}).on("pinch",J=>{M()||(J.scale>Y()?_(we.ZoomIn,J):J.scale<Y()?_(we.ZoomOut,J):_(we.Pan,J))}).on("end",J=>{M()||(J.currentTouch.length?(J.srcEvent.stopPropagation(),tr(J.srcEvent),s==null||s.end()):(W(),de(),w("touchEnd")))}).init())}(),i&&(i.addEventListener("wheel",k,{passive:!1}),y.push(()=>{i==null||i.removeEventListener("wheel",k,{passive:!1})})),e==null||e.addEventListener("click",B),document==null||document.addEventListener("mousemove",A),y.push(()=>{e==null||e.removeEventListener("click",B),document==null||document.removeEventListener("mousemove",A)});const F=Object.assign(Object.assign({},b("startPos")||{}),{scale:Y()});if(m=Object.assign(Object.assign({},Dt),F),u=Object.assign(Object.assign({},Dt),F),M()){const O=I(u.scale);if(O){const{x:J,y:H}=O;m.x=J,m.y=H,u.x=J,u.y=H}}f=3,ie(),W(),w("ready"),requestAnimationFrame(()=>{i&&(i.style.visibility="")})}function V(){const v={top:0,left:0,width:0,height:0};if(r){const g=r.getBoundingClientRect();u.angle%180==90?(v.top=g.top+.5*g.height-.5*g.width,v.left=g.left+.5*g.width-.5*g.height,v.width=g.height,v.height=g.width):(v.top=g.top,v.left=g.left,v.width=g.width,v.height=g.height)}return v}function C(){let v=b("width"),g=b("height");if(o&&v==="auto"){const N=o.getAttribute("width");v=N?parseFloat(N+""):o.dataset.width!==void 0?parseFloat(o.dataset.width+""):i instanceof HTMLImageElement?i.naturalWidth:o instanceof HTMLImageElement?o.naturalWidth:o.getBoundingClientRect().width}else v=ft(v)?parseFloat(v):v;if(o&&g==="auto"){const N=o.getAttribute("height");g=N?parseFloat(N+""):o.dataset.height!==void 0?parseFloat(o.dataset.height+""):i instanceof HTMLImageElement?i.naturalHeight:o instanceof HTMLImageElement?o.naturalHeight:o.getBoundingClientRect().height}else g=ft(g)?parseFloat(g):g;return{width:v,height:g}}function M(){return b("panMode")==="mousemove"&&matchMedia("(hover: hover)").matches}function I(v){const g=p||b("event"),N=r==null?void 0:r.getBoundingClientRect();if(!g||!N||v<=1)return{x:0,y:0};const F=(g.clientX||0)-N.left,O=(g.clientY||0)-N.top,J=N.width,H=N.height,te=U(v);if(v>1){const Me=b("mouseMoveFactor");Me>1&&(v*=Me)}let ce=J*v,ge=H*v,xe=.5*(ce-J)-F/J*100/100*(ce-J),ue=.5*(ge-H)-O/H*100/100*(ge-H);return xe=$e(te.x[0],xe,te.x[1]),ue=$e(te.y[0],ue,te.y[1]),{x:xe,y:ue}}function $(v="base"){if(!e)return 1;const g=e.getBoundingClientRect(),N=V(),{width:F,height:O}=C(),J=xe=>{if(typeof xe=="number")return xe;switch(xe){case"min":case"base":return 1;case"cover":return Math.max(g.height/N.height,g.width/N.width)||1;case"full":case"max":{const ue=u.angle%180==90?O:F;return ue&&N.width?ue/N.width:1}}},H=b("minScale"),te=b("maxScale"),ce=Math.min(J("full"),J(H)),ge=typeof te=="number"?J("full")*te:Math.min(J("full"),J(te));switch(v){case"min":return ce;case"base":return $e(ce,1,ge);case"cover":return J("cover");case"full":return Math.min(ge,J("full"));case"max":return ge}}function X(){return $("min")}function Y(){return $("base")}function E(){return $("cover")}function j(){return $("full")}function G(){return $("max")}function U(v){const g={x:[0,0],y:[0,0]},N=e==null?void 0:e.getBoundingClientRect();if(!N)return g;const F=V(),O=N.width,J=N.height;let H=F.width,te=F.height,ce=v=v===void 0?u.scale:v,ge=v;if(M()&&v>1){const xe=b("mouseMoveFactor");xe>1&&(H*v>O+.01&&(ce*=xe),te*v>J+.01&&(ge*=xe))}return H*=ce,te*=ge,v>1&&(H>O&&(g.x[0]=.5*(O-H),g.x[1]=.5*(H-O)),g.x[0]-=.5*(F.left-N.left),g.x[1]-=.5*(F.left-N.left),g.x[0]-=.5*(F.left+F.width-N.right),g.x[1]-=.5*(F.left+F.width-N.right),te>J&&(g.y[0]=.5*(J-te),g.y[1]=.5*(te-J)),g.y[0]-=.5*(F.top-N.top),g.y[1]-=.5*(F.top-N.top),g.y[0]-=.5*(F.top+F.height-N.bottom),g.y[1]-=.5*(F.top+F.height-N.bottom)),g}function de(){if(!b("bounds")||f!==3||!(e!=null&&e.parentElement)||!s)return;const v=X(),g=G(),N=$e(v,u.scale,g);if(u.scale<v-.01||u.scale>g+.01)return void _(we.ZoomTo,{scale:N});if(s.isRunning()||l!=null&&l.isPointerDown())return;const F=U(N);u.x<F.x[0]||u.x>F.x[1]||u.y<F.y[0]||u.y>F.y[1]?(u.x=$e(F.x[0],u.x,F.x[1]),u.y=$e(F.y[0],u.y,F.y[1]),s.spring({tension:170,friction:17,restDelta:.001,restSpeed:.001,maxSpeed:1/0,velocity:s.getCurrentVelocities()}),s.from(m).to(u).start()):ie()}function W(){if(!e||!e.parentElement||!r)return;const v=R(),g=ye(),N=Z(),F=me(),O=K(),J=S();r.classList.toggle("is-fullsize",F),r.classList.toggle("is-expanded",N),r.classList.toggle("is-dragging",g),r.classList.toggle("can-drag",v),r.classList.toggle("will-zoom-in",O),r.classList.toggle("will-zoom-out",J);const H=Q(),te=fe(),ce=f!==3;for(const ge of(e==null?void 0:e.querySelectorAll("[data-panzoom-action]"))||[]){const xe=ge.dataset.panzoomAction;let ue=!1;if(ce)ue=!0;else switch(xe){case we.ZoomIn:H||(ue=!0);break;case we.ZoomOut:te||(ue=!0);break;case we.ToggleFull:H||te||(ue=!0);const Me=ge.querySelector("g");Me&&(Me.style.display=F?"none":"");break;case we.ToggleCover:case we.ToggleMax:H||te||(ue=!0)}ue?(ge.setAttribute("aria-disabled",""),ge.setAttribute("tabindex","-1")):(ge.removeAttribute("aria-disabled"),ge.removeAttribute("tabindex"))}}function _(v,g){var N;if(!e||!o||!s||v===we.Swipe&&Math.abs(s.getCurrentVelocities().scale)>.01)return;let F=Object.assign({},u),O=U(M()?u.scale:m.scale);const J=s.getCurrentVelocities(),H=V(),te=(((N=(g=g||{}).currentTouch)===null||N===void 0?void 0:N.length)||0)>1,ce=g.velocityX||0,ge=g.velocityY||0;let xe=g.center;!xe&&g.srcEvent&&(xe=ga(us(g.srcEvent)));let ue=g.deltaX||0,Me=g.deltaY||0;switch(v){case we.MoveRight:ue=g.deltaX||100;break;case we.MoveLeft:ue=g.deltaX||-100;break;case we.MoveUp:Me=g.deltaY||-100;break;case we.MoveDown:Me=g.deltaY||100}let _e=[];switch(v){case we.Reset:u=Object.assign({},Dt),u.scale=Y();break;case we.Pan:case we.Move:case we.MoveLeft:case we.MoveRight:case we.MoveUp:case we.MoveDown:if(l!=null&&l.isPointerDown()){let Le=1,Be=1;u.x<=O.x[0]&&ce<=0&&(Le=Math.max(.01,1-Math.abs(1/H.width*Math.abs(u.x-O.x[0]))),Le*=.2),u.x>=O.x[1]&&ce>=0&&(Le=Math.max(.01,1-Math.abs(1/H.width*Math.abs(u.x-O.x[1]))),Le*=.2),u.y<=O.y[0]&&ge<=0&&(Be=Math.max(.01,1-Math.abs(1/H.height*Math.abs(u.y-O.y[0]))),Be*=.2),u.y>=O.y[1]&&ge>=0&&(Be=Math.max(.01,1-Math.abs(1/H.height*Math.abs(u.y-O.y[1]))),Be*=.2),u.x+=ue*Le,u.y+=Me*Be}else u.x=$e(O.x[0],u.x+ue,O.x[1]),u.y=$e(O.y[0],u.y+Me,O.y[1]);break;case we.Swipe:const Ne=(Le=0)=>Math.sign(Le)*Math.pow(Math.abs(Le),1.5);u.x+=$e(-1e3,Ne(ce),1e3),u.y+=$e(-1e3,Ne(ge),1e3),ge&&!ce&&(u.x=$e(O.x[0],u.x,O.x[1])),!ge&&ce&&(u.y=$e(O.y[0],u.y,O.y[1])),J.x=ce,J.y=ge;break;case we.ZoomTo:u.scale=g.scale||1;break;case we.ZoomIn:u.scale=u.scale*(g.scale||2),te||(u.scale=Math.min(u.scale,G()));break;case we.ZoomOut:u.scale=u.scale*(g.scale||.5),te||(u.scale=Math.max(u.scale,X()));break;case we.ToggleCover:_e=[Y(),E()];break;case we.ToggleFull:_e=[Y(),j()];break;case we.ToggleMax:_e=[Y(),G()];break;case we.IterateZoom:_e=[Y(),j(),G()];break;case we.Zoom:const Se=j();u.scale>=Se-.05?u.scale=Y():u.scale=Math.min(Se,u.scale*(g.scale||2));break;case we.RotateCW:u.angle+=90;break;case we.RotateCCW:u.angle-=90;break;case we.FlipX:u.flipX*=-1;break;case we.FlipY:u.flipY*=-1}if(m.angle!==void 0&&Math.abs(m.angle)>=360&&(u.angle-=360*Math.floor(m.angle/360),m.angle-=360*Math.floor(m.angle/360)),_e.length){const Ne=_e.findIndex(Se=>Se>u.scale+1e-4);u.scale=_e[Ne]||_e[0]}if(te&&(u.scale=$e(X()*(te?.8:1),u.scale,G()*(te?1.6:1))),M()){const Ne=I(u.scale);if(Ne){const{x:Se,y:Le}=Ne;u.x=Se,u.y=Le}}else if(u.scale!==F.scale){let Ne=0,Se=0;if(xe)Ne=xe.x,Se=xe.y;else{const re=e.getBoundingClientRect();Ne=re.x+.5*re.width,Se=re.y+.5*re.height}let Le=Ne-H.left,Be=Se-H.top;Le-=.5*H.width,Be-=.5*H.height;const q=(Le-F.x)/F.scale,ae=(Be-F.y)/F.scale;u.x=Le-q*u.scale,u.y=Be-ae*u.scale,!te&&b("bounds")&&(O=U(u.scale),u.x=$e(O.x[0],u.x,O.x[1]),u.y=$e(O.y[0],u.y,O.y[1]))}if(v===we.Swipe){let Ne=94,Se=17,Le=500*u.scale,Be=J;s.spring({tension:Ne,friction:Se,maxSpeed:Le,restDelta:.1,restSpeed:.1,velocity:Be})}else v===we.Pan||te?s.spring({tension:750,friction:17,restDelta:.01,restSpeed:.01,maxSpeed:1}):s.spring({tension:170,friction:17,restDelta:.001,restSpeed:.001,maxSpeed:1/0,velocity:J});v===we.Reset&&g.velocity===0?m=Object.assign({},u):s.from(m).to(u).start(),w("action",v)}function ie(){if(!r||!o)return;if(o instanceof HTMLImageElement){const{width:te,height:ce}=C();r.style.maxWidth=`min(${te}px, 100%)`,r.style.maxHeight=`min(${ce}px, 100%)`}let{x:v,y:g,scale:N,angle:F,flipX:O,flipY:J}=m;const H=function(){const te=V(),ce=te.width,ge=te.height,{width:xe,height:ue}=C();if(!e)return{x:0,y:0,width:0,height:0,scale:0,flipX:0,flipY:0,angle:0,fitWidth:ce,fitHeight:ge,fullWidth:xe,fullHeight:ue};let{x:Me,y:_e,scale:Ne,angle:Se,flipX:Le,flipY:Be}=m,q=1/j(),ae=xe,re=ue,se=m.scale*q,Ee=u.scale*q;const he=Math.max(ce,ge),ke=Math.min(ce,ge);xe>ue?(ae=he,re=ke):(ae=ke,re=he),se=xe>ue?he*Ne/xe||1:he*Ne/ue||1;let z=ae?xe*Ee:0,P=re?ue*Ee:0;return Me=Me+.5*ae-.5*z,_e=_e+.5*re-.5*P,{x:Me,y:_e,width:z,height:P,scale:ae&&re?xe*se/z:0,flipX:Le,flipY:Be,angle:Se,fitWidth:ce,fitHeight:ge,fullWidth:xe,fullHeight:ue}}();if(r&&H){const{x:te,y:ce,width:ge,height:xe,scale:ue,flipX:Me,flipY:_e}=H;let Ne=`translate(${St(te)}px, ${St(ce)}px)`;Ne+=Me!==1||_e!==1?` scaleX(${St(ue*Me)}) scaleY(${St(ue*_e)})`:` scale(${St(ue)})`,F!==0&&(Ne+=` rotate(${F}deg)`),i&&(i.style.width=`${St(ge)}px`,i.style.height=`${St(xe)}px`,i.style.transform=`${Ne}`)}w("render")}function ne(){let v=u.scale;const g=b("clickAction");let N=Y();if(g){let F=[];switch(g){case we.ZoomIn:N=2*v;break;case we.ZoomOut:N=.5*v;break;case we.ToggleCover:F=[Y(),E()];break;case we.ToggleFull:F=[Y(),j()];break;case we.ToggleMax:F=[Y(),G()];break;case we.IterateZoom:F=[Y(),j(),G()];break;case we.Zoom:const O=j();N=v>=O-.05?Y():Math.min(O,2*v)}if(F.length){const O=F.findIndex(J=>J>v+1e-4);N=F[O]||Y()}}return N=$e(X(),N,G()),N}function K(){return f===3&&ne()>u.scale}function S(){return f===3&&ne()<u.scale}function Q(){return f===3&&u.scale<G()}function fe(){return f===3&&u.scale>X()}function R(){return f===3&&Z()&&!!l&&!M()}function ye(){return f===3&&(l==null?void 0:l.isPointerDown())&&!M()}function Z(){return f===3&&u.scale>Y()}function me(){return f===3&&u.scale>=j()}const L={canDrag:R,canZoomIn:Q,canZoomOut:fe,destroy:function(){w("destroy");for(const v of Object.values(c))v==null||v.destroy(L);for(const v of y)v();return r&&(r.style.aspectRatio="",r.style.maxWidth="",r.style.maxHeight=""),i&&(i.style.width="",i.style.height="",i.style.transform=""),r=void 0,o=void 0,i=void 0,m=Object.assign({},Dt),u=Object.assign({},Dt),s==null||s.destroy(),s=void 0,l==null||l.destroy(),l=void 0,f=4,L},emit:w,execute:_,getBoundaries:U,getContainer:function(){return e},getFullDim:C,getGestures:function(){return l},getMousemovePos:I,getOptions:function(){return h},getScale:$,getState:function(){return f},getTransform:function(v){return v===!0?u:m},getTween:function(){return s},getViewport:function(){return i},getWrapper:function(){return r},init:function(){return f=0,w("init"),function(){for(const[v,g]of Object.entries(Object.assign(Object.assign({},n),h.plugins||{})))if(v&&!c[v]&&g instanceof Function){const N=g();N.init(L),c[v]=N}w("initPlugins")}(),function(){if(!e)return;const v=Object.assign(Object.assign({},wo.classes),b("classes"));if(ze(e,v.container),o=e.querySelector("."+v.content),!!o&&(o.setAttribute("draggable","false"),r=e.querySelector("."+v.wrapper),r||(r=document.createElement("div"),ze(r,v.wrapper),o.insertAdjacentElement("beforebegin",r),r.insertAdjacentElement("afterbegin",o)),o instanceof HTMLImageElement||o instanceof HTMLPictureElement)){if(i=e.querySelector("."+v.viewport),!i){i=document.createElement("div"),ze(i,v.viewport);const g=o.cloneNode(!0);g.classList.remove("is-lazyloading"),g.classList.remove("is-lazyloaded"),i.insertAdjacentElement("afterbegin",g),r.insertAdjacentElement("beforeend",i)}if(o instanceof HTMLPictureElement&&(o=o.querySelector("img")),i instanceof HTMLPictureElement&&(i=i.querySelector("img")),i.style.visibility="hidden",b("protected")){i.addEventListener("contextmenu",N=>{N.preventDefault()});const g=document.createElement("div");ze(g,"f-panzoom__protected"),i.appendChild(g)}w("initLayout")}}(),function(){if(!(o&&o instanceof HTMLImageElement))return;f=1,w("loading");const v=()=>{o&&o instanceof HTMLImageElement&&o.decode().then(()=>{requestAnimationFrame(()=>{D()})}).catch(()=>{D()})};if(o.src&&o.complete)return void v();(function(){const g=e==null?void 0:e.querySelector(".f-spinner");if(!e||g)return;const N=b("spinnerTpl"),F=fa(N);F&&(F.classList.add("f-spinner"),e.classList.add("is-loading"),r==null||r.insertAdjacentElement("afterbegin",F))})(),o.addEventListener("load",v,!1),o.addEventListener("error",v,!1),y.push(()=>{o==null||o.removeEventListener("load",v,!1),o==null||o.removeEventListener("error",v,!1)})}(),function(){if(e&&r&&!d){let v=null;d=new ResizeObserver(()=>{v||(v=requestAnimationFrame(()=>{e&&e.parentElement&&f===3&&(W(),de(),w("refresh")),v=null}))}),d.observe(r),y.push(()=>{d==null||d.disconnect(),d=void 0,v&&(cancelAnimationFrame(v),v=null)})}}(),L},isDragging:ye,isExpanded:Z,isFullsize:me,localize:function(v,g=[]){const N=b("l10n")||{};v=String(v).replace(/\{\{(\w+)\}\}/g,(F,O)=>N[O]||F);for(let F=0;F<g.length;F++)v=v.split(g[F][0]).join(g[F][1]);return v=v.replace(/\{\{(.*?)\}\}/g,(F,O)=>O)},off:function(v,g){for(const N of v instanceof Array?v:[v])x.has(N)&&x.set(N,x.get(N).filter(F=>F!==g));return L},on:function(v,g){for(const N of v instanceof Array?v:[v])x.set(N,[...x.get(N)||[],g]);return L},version:"6.0.16",willZoomIn:K,willZoomOut:S};return L};vo.l10n={en_EN:bo},vo.getDefaults=()=>wo;/*! License details at fancyapps.com/license */const Eo=(e,a)=>{let n=[];return e.childNodes.forEach(r=>{r.nodeType!==Node.ELEMENT_NODE||a&&!r.matches(a)||n.push(r)}),n};/*! License details at fancyapps.com/license */const Tt=(e,...a)=>{const n=a.length;for(let r=0;r<n;r++){const o=a[r]||{};Object.entries(o).forEach(([i,l])=>{const s=Array.isArray(l)?[]:{};e[i]||Object.assign(e,{[i]:s}),Et(l)?Object.assign(e[i],Tt(s,l)):Array.isArray(l)?Object.assign(e,{[i]:[...l]}):Object.assign(e,{[i]:l})})}return e};/*! License details at fancyapps.com/license */const Co=function(e=0,a=0,n=0,r=0,o=0,i=!1){const l=(e-a)/(n-a)*(o-r)+r;return i?r<o?$e(r,l,o):$e(o,l,r):l};/*! License details at fancyapps.com/license */const Jt=(e,a="")=>{e&&e.classList&&a.split(" ").forEach(n=>{n&&e.classList.remove(n)})};/*! License details at fancyapps.com/license */const ka=(e,a="",n)=>{e&&e.classList&&a.split(" ").forEach(r=>{r&&e.classList.toggle(r,n||!1)})};/*! License details at fancyapps.com/license */const So=Object.assign(Object.assign({},bo),{ERROR:"Something went wrong. <br /> Please try again later.",NEXT:"Next page",PREV:"Previous page",GOTO:"Go to page #%d",DOWNLOAD:"Download",TOGGLE_FULLSCREEN:"Toggle full-screen mode",TOGGLE_EXPAND:"Toggle full-size mode",TOGGLE_THUMBS:"Toggle thumbnails",TOGGLE_AUTOPLAY:"Toggle slideshow"});/*! License details at fancyapps.com/license */const Qa=e=>{e.cancelable&&e.preventDefault()},Ka={adaptiveHeight:!1,center:!0,classes:{container:"f-carousel",isEnabled:"is-enabled",isLTR:"is-ltr",isRTL:"is-rtl",isHorizontal:"is-horizontal",isVertical:"is-vertical",hasAdaptiveHeight:"has-adaptive-height",viewport:"f-carousel__viewport",slide:"f-carousel__slide",isSelected:"is-selected"},dragFree:!1,enabled:!0,errorTpl:'<div class="f-html">{{ERROR}}</div>',fill:!1,infinite:!0,initialPage:0,l10n:So,rtl:!1,slides:[],slidesPerPage:"auto",spinnerTpl:'<div class="f-spinner"></div>',transition:"fade",tween:{clamp:!0,mass:1,tension:200,friction:25,restDelta:1,restSpeed:1,velocity:0},vertical:!1};let gs,ys=0;const rr=(e,a={},n={})=>{ys++;let r,o,i,l,s,d=0,p=Object.assign({},Ka),f=Object.assign({},Ka),h={},c=null,m=null,u=!1,y=!1,b=!1,x=!1,w="height",k=0,B=!0,A=0,D=0,V=0,C=0,M="*",I=[],$=[];const X=new Set;let Y=[],E=[],j=0,G=0;function U(q,...ae){let re=f[q];return re&&re instanceof Function?re(Be,...ae):re}function de(q,ae=[]){const re=U("l10n")||{};q=String(q).replace(/\{\{(\w+)\}\}/g,(se,Ee)=>re[Ee]||se);for(let se=0;se<ae.length;se++)q=q.split(ae[se][0]).join(ae[se][1]);return q=q.replace(/\{\{(.*?)\}\}/g,(se,Ee)=>Ee)}const W=new Map;function _(q,...ae){const re=W.get(q)||[];f.on&&re.push(f.on[q]);for(const se of re)se&&se instanceof Function&&se(Be,...ae);q!=="*"&&_("*",q,...ae)}function ie(){var q,ae;const re=Tt({},Ka,p);Tt(re,Ka,p);let se="";const Ee=p.breakpoints||{};if(Ee)for(const[he,ke]of Object.entries(Ee))window.matchMedia(he).matches&&(se+=he,Tt(re,ke));if(s===void 0||se!==s){if(s=se,d!==0){let he=(ae=(q=E[A])===null||q===void 0?void 0:q.slides[0])===null||ae===void 0?void 0:ae.index;he===void 0&&(he=f.initialSlide),re.initialSlide=he,re.slides=[];for(const ke of I)ke.isVirtual&&re.slides.push(ke)}Le(),f=re,f.enabled!==!1&&(d=0,_("init"),function(){for(const[he,ke]of Object.entries(Object.assign(Object.assign({},n),f.plugins||{})))if(he&&!h[he]&&ke instanceof Function){const z=ke();z.init(Be,rr),h[he]=z}_("initPlugins")}(),function(){if(!c)return;const he=U("classes")||{};ze(c,he.container),ze(c,he.isEnabled);const ke=U("style");if(ke&&Et(ke))for(const[z,P]of Object.entries(ke))c.style.setProperty(z,P);m=c.querySelector(`.${he.viewport}`),m||(m=document.createElement("div"),ze(m,he.viewport),m.append(...Eo(c,`.${he.slide}`)),c.insertAdjacentElement("afterbegin",m)),u=window.getComputedStyle(m).getPropertyValue("overflow")==="visible",c.carousel=Be,_("initLayout")}(),function(){if(!m)return;const he=U("classes")||{};I=[],[...Eo(m,`.${he.slide}`)].forEach(ke=>{ke.parentElement&&(I.push(g(Object.assign({el:ke,isVirtual:!1},ke.dataset||{}))),ke.parentElement.removeChild(ke))}),v(U("slides"));for(const ke of I)_("addSlide",ke);_("initSlides")}(),o=pa().on("start",()=>{B=!1,r&&r.isPointerDown()||(S(),Se())}).on("step",he=>{k=he.pos,Se()}).on("end",he=>{r!=null&&r.isPointerDown()||(k=he.pos,o&&!y&&(k<V||k>C)?o.spring({clamp:!0,mass:1,tension:200,friction:25,velocity:0,restDelta:1,restSpeed:1}).from({pos:k}).to({pos:$e(V,k,C)}).start():B||(B=!0,_("settle")))}),function(){const he=U("gestures");m&&he!==!1&&(r=xn(m,he).on("start",ke=>{var z,P;if(!o)return;const{srcEvent:T}=ke;function ee(be){const Ae=window.getComputedStyle(be),De=new DOMMatrixReadOnly(Ae.transform);return{width:De.m41||0,height:De.m42||0}}x&&Qa(T),o.pause(),o.getCurrentVelocities().pos=0;const le=(z=E[A])===null||z===void 0?void 0:z.slides[0];le&&X.has(le.index)&&le.el&&(k=le.offset||0,k+=(ee(le.el)[w]||0)*(b&&!x?1:-1)),ce(),y||(k<V||k>C)&&o.spring({clamp:!0,mass:1,tension:500,friction:25,velocity:((P=o.getCurrentVelocities())===null||P===void 0?void 0:P.pos)||0,restDelta:1,restSpeed:1}).from({pos:k}).to({pos:$e(V,k,C)}).start()}).on("move",ke=>{const{srcEvent:z,axis:P}=ke,T=ke.srcEvent.target;T&&yn(T)||(P||(z.stopPropagation(),z.stopImmediatePropagation()),(P==="y"&&x||P==="x"&&!x)&&(Qa(z),z.stopPropagation()))}).on("panstart",ke=>{(ke==null?void 0:ke.axis)===(x?"y":"x")&&ze(m,"is-dragging")}).on("panend",()=>{Jt(m,"is-dragging")}).on("pan",ke=>{var z;const{deltaX:P,deltaY:T,currentTouch:ee,axis:le}=ke;if(!o||ee.length>1||le==="y"&&!x||le==="x"&&x)return;const be=b&&!x?1:-1;let Ae=x?T:P,De=o!=null&&o.isRunning()?o.getEndValues().pos:k,Pe=1;y||(De<=V&&Ae*be<0?(Pe=Math.max(.01,1-Math.abs(1/Z()*Math.abs(De-V))),Pe*=.2):De>=C&&Ae*be>0&&(Pe=Math.max(.01,1-Math.abs(1/Z()*Math.abs(De-C))),Pe*=.2)),De+=Ae*Pe*be,o.spring({clamp:!0,mass:1,tension:700,friction:25,velocity:((z=o.getCurrentVelocities())===null||z===void 0?void 0:z.pos)||0,restDelta:1,restSpeed:1}).from({pos:k}).to({pos:De}).start()}).on("end",ke=>{var z,P;const{axis:T,velocityX:ee,velocityY:le,currentTouch:be}=ke,Ae=E.length,De=U("dragFree");if(be.length>0||!o||!Ae)return;const Pe=U("vertical")?le:ee;let je=o!=null&&o.isRunning()?o.getEndValues().pos:k;const nt=b&&!x?1:-1;if(je+=Pe*(De?5:1)*nt,!y&&(Pe*nt<=0&&je<V||Pe*nt>=0&&je>C)){let st=0;return Math.abs(Pe)>0&&(st=2*Math.abs(Pe),st=Math.min(.3*Z(),st)),je=$e(V+-1*st,je,C+st),void o.spring({clamp:!0,mass:1,tension:380,friction:25,velocity:-1*Pe,restDelta:1,restSpeed:1}).from({pos:k}).to({pos:je}).start()}if(De||!((z=h.Autoscroll)===null||z===void 0)&&z.isEnabled())return void(Math.abs(Pe)>10?o.spring({clamp:!0,mass:1,tension:150,friction:25,velocity:-1*Pe,restDelta:1,restSpeed:1}).from({pos:k}).to({pos:je}).start():o.isRunning()||B||(B=!0,_("settle")));if(!De&&!(!((P=h.Autoscroll)===null||P===void 0)&&P.isEnabled())&&(!ke.offsetX&&!ke.offsetY||T==="y"&&!x||T==="x"&&x))return void Ne(A,{transition:"tween"});let xt=R(je);Math.abs(Pe)>10&&xt===A&&(xt+=Pe>0?b&&!x?1:-1:b&&!x?-1:1),Ne(xt,{transition:"tween",tween:{tension:160,friction:25,velocity:-1*Pe}})}).init())}(),H(),function(){if(c&&(c.addEventListener("click",xe,{passive:!1}),document.addEventListener("mousemove",ne),!i)){let he=null;i=new ResizeObserver(ke=>{he||(he=requestAnimationFrame(()=>{(function(z){if(!c)return;let P=z[0].contentBoxSize[0].blockSize,T=z[0].contentBoxSize[0].inlineSize;if(d===0)return j=P,G=T,d=1,Se(),Q(),void _("ready");if(d!==1)return;const ee=E.length;H();const le=c.getBoundingClientRect();P=le.height,T=le.width,ee>1&&(x&&Math.abs(P-j)<.5||!x&&Math.abs(T-G)<.5)||(j=P,G=T,x&&!P||!x&&!T||c&&m&&(ee===E.length&&(r!=null&&r.isPointerDown())||(U("dragFree")&&(y||k>V&&k<C)?(S(),Se()):Ne(A,{transition:!1}))))})(ke),he=null}))}),i.observe(c)}}())}}function ne(q){gs=q}function K(q="*"){var ae;const re=[];for(const se of I)(q==="*"||se.class&&se.class.includes(q)||se.el&&(!((ae=se.el)===null||ae===void 0)&&ae.classList.contains(q)))&&re.push(se);l=void 0,M=q,$=[...re]}function S(){if(!o)return;const q=R(o!=null&&o.isRunning()?o.getEndValues().pos:k);q!==A&&(l=A,A=q,_e(),Q(),fe(),_("change",A,l))}function Q(){var q;if(!c)return;ka(m,"is-draggable",!!r&&E.length>0);for(const se of c.querySelectorAll("[data-carousel-index]"))se.innerHTML=A+"";for(const se of c.querySelectorAll("[data-carousel-page]"))se.innerHTML=A+1+"";for(const se of c.querySelectorAll("[data-carousel-pages]"))se.innerHTML=E.length+"";let ae=!1;const re=(q=E[A])===null||q===void 0?void 0:q.slides[0];re&&(re.downloadSrc||re.type==="image"&&re.src)&&(ae=!0);for(const se of c.querySelectorAll("[data-carousel-download]"))se.toggleAttribute("aria-disabled",!ae)}function fe(q){var ae;if(!c)return;q||(q=(ae=E[A])===null||ae===void 0?void 0:ae.slides[0]);const re=q.el;if(re)for(const se of re.querySelectorAll("[data-slide-index]"))se.innerHTML=q.index+1+""}function R(q){if(!E.length||!o)return 0;const ae=me();let re=q;y?re-=Math.floor((q-E[0].pos)/ae)*ae:re=$e(E[0].pos,q,E[E.length-1].pos);const se=new Map;let Ee=0;for(const ke of E){const z=Math.abs(ke.pos-re),P=Math.abs(ke.pos-re-ae),T=Math.abs(ke.pos-re+ae),ee=Math.min(z,P,T);se.set(Ee,ee),Ee++}const he=se.size>0?[...se.entries()].reduce((ke,z)=>z[1]<ke[1]?z:ke):[A,0];return parseInt(he[0])}function ye(){return m&&parseFloat(getComputedStyle(m).getPropertyValue("--f-carousel-gap"))||0}function Z(){return m&&m.getBoundingClientRect()[w]||0}function me(q=!0){const ae=ye();return $.reduce((re,se)=>re+se.dim,0)+($.length-(y&&q?0:1))*ae}function L(q){const ae=ye(),re=me();let se=Z();if(!m)return[];const Ee=[];if(!re||!se)return[];q=q===void 0?k:q,y&&(q-=Math.floor(q/re)*re);let he=0,ke=0;if(u){const P=m.getBoundingClientRect();he=P.left,ke=P.right-P.width}let z=0;for(let P of $){const T=(ee=0)=>{Ee.indexOf(P)>-1||(P.pos=z-q+ee||0,P.offset+ee>q-P.dim-he+.51&&P.offset+ee<q+se+ke-.51&&Ee.push(P))};if(P.offset=z,y)for(let ee=-1;ee<=1;ee++)T(re*ee);else T();z+=P.dim+ae}return Ee}function v(q,ae){const re=[];for(const se of Array.isArray(q)?q:[q]){const Ee=g(Object.assign(Object.assign({},se),{isVirtual:!0}));re.push(Ee)}I.splice(ae===void 0?I.length:ae,0,...re),J();for(const se of re)N(se);return K(M),re}function g(q){return(ft(q)||q instanceof HTMLElement)&&(q={html:q}),Object.assign({index:-1,el:void 0,class:"",isVirtual:!0,dim:0,pos:0,offset:0,html:"",src:""},q)}function N(q){if(!q)return;let ae=q.el;ae||(ae=document.createElement("div"),q.el=ae);const re=q.html?q.html instanceof HTMLElement?q.html:fa(q.html):void 0;re&&(ze(re,"f-html"),q.htmlEl=re,ze(ae,"has-html"),ae.append(re),_("contentReady",q))}function F(q){if(!m||!q)return;let ae=q.el;if(ae){if(ae.setAttribute("index",q.index+""),ae.parentElement!==m){let re;ze(ae,f.classes.slide),ze(ae,q.class),_e(q);for(const se of I)if(se.index>q.index){re=se.el;break}m.insertBefore(ae,re&&m.contains(re)?re:null),_("attachSlideEl",q)}return ae}}function O(q){const ae=q==null?void 0:q.el;ae&&(ae.remove(),te(ae),_("detachSlideEl",q))}function J(){for(let q=0;q<I.length;q++){const ae=I[q],re=ae.el;re&&(ae.index!==q&&te(re),re.setAttribute("index",`${q}`)),ae.index=q}}function H(){var q,ae,re,se;if(!c||!m)return;b=U("rtl"),x=U("vertical"),w=x?"height":"width";const Ee=U("classes");ka(c,Ee.isLTR,!b),ka(c,Ee.isRTL,b),ka(c,Ee.isHorizontal,!x),ka(c,Ee.isVertical,x),ka(c,Ee.hasAdaptiveHeight,U("adaptiveHeight"));const he=m.getBoundingClientRect();if(!he.width&&!he.height)return;const ke=function(){let P=0;if(m){let T=document.createElement("div");ze(T,f.classes.slide),m.appendChild(T),P=T.getBoundingClientRect()[w],T.remove(),T=void 0}return P}();for(const P of $){const T=P.el;let ee=0;if(!P.isVirtual&&T&&Ua(T)){let le=!1;T.parentElement&&T.parentElement===m||(m.appendChild(T),le=!0),ee=T.getBoundingClientRect()[w],le&&((q=T.parentElement)===null||q===void 0||q.removeChild(T))}else ee=ke;P.dim=ee}(function(){if(!c)return;J();const P=Z(),T=ye(),ee=me(!1);let le=U("slidesPerPage");le=le==="auto"?1/0:parseFloat(le+""),E=[];let be=0,Ae=0;for(const Je of $)(!E.length||be+Je.dim-P>.05||Ae>=le)&&(E.push({index:E.length,slides:[],dim:0,offset:0,pos:0}),be=0,Ae=0),E[E.length-1].slides.push(Je),be+=Je.dim+T,Ae++;const De=U("center"),Pe=U("fill"),je=U("infinite");let nt=0;for(const Je of E){Je.dim=(Je.slides.length-1)*T;for(const ba of Je.slides)Je.dim+=ba.dim;Je.offset=nt,Je.pos=nt,De!==!1&&(Je.pos-=.5*(P-Je.dim)),Pe&&!je&&ee>P&&(Je.pos=$e(0,Je.pos,ee-P)),nt+=Je.dim+T}const xt=[];let st;for(const Je of E){const ba=Object.assign({},Je);st&&ba.pos===st.pos?(st.dim+=ba.dim,st.slides=[...st.slides,...ba.slides]):(st=ba,ba.index=xt.length,xt.push(ba))}E=xt,Q()})();let z=Z();if(u){const P=m.getBoundingClientRect();z+=P.left,z+=P.right-P.width}if(y=U("infinite")&&E.length>1&&me()-(z+(((ae=$[0])===null||ae===void 0?void 0:ae.dim)||0))>-.5,V=((re=E[0])===null||re===void 0?void 0:re.pos)||0,C=((se=E[E.length-1])===null||se===void 0?void 0:se.pos)||0,d===0)(function(){var P;l=void 0,A=U("initialPage");const T=U("initialSlide")||void 0;T!==void 0&&(A=Be.getPageIndex(T)||0),A=$e(0,A,E.length-1),k=((P=E[A])===null||P===void 0?void 0:P.pos)||0,D=k})();else{const P=o!=null&&o.isRunning()?o.getEndValues().pos:k;(P<V||P>C)&&(A=$e(0,A,E.length-1),D=E[A||0].pos||0)}_("refresh")}function te(q){if(!q||!Ua(q))return;const ae=parseInt(q.getAttribute("index")||"-1");let re="";for(const Ee of Array.from(q.classList)){const he=Ee.match(/^f-(\w+)(Out|In)$/);he&&he[1]&&(re=he[1]+"")}if(!q||!re)return;const se=[`f-${re}Out`,`f-${re}In`,"to-prev","to-next","from-prev","from-next"];q.removeEventListener("animationend",ge),Jt(q,se.join(" ")),X.delete(ae)}function ce(){if(!m)return;const q=X.size;for(const ae of $)te(ae.el);X.clear(),q&&Se()}function ge(q){q.animationName.substring(0,2)==="f-"&&(te(q.target),X.size||(Jt(c,"in-transition"),!B&&Math.abs(Be.getPosition(!0)-D)<.5&&(B=!0,_("settle"))),Se())}function xe(q){if(q.defaultPrevented)return;const ae=q.composedPath()[0];if(ae.closest("[data-carousel-go-prev]"))return Qa(q),void Be.prev();if(ae.closest("[data-carousel-go-next]"))return Qa(q),void Be.next();const re=ae.closest("[data-carousel-go-to]");if(re)return Qa(q),void Be.goTo(parseFloat(re.dataset.carouselGoTo||"")||0);if(ae.closest("[data-carousel-download]")){Qa(q);const se=E[A].slides[0];if(se.downloadSrc||se.type==="image"&&se.src){const Ee=se.downloadFilename,he=document.createElement("a"),ke=se.downloadSrc||se.src||"";he.href=ke,he.target="_blank",he.download=Ee||ke,he.click()}}else _("click",q)}function ue(q){var ae;const re=q.el;re&&((ae=re.querySelector(".f-spinner"))===null||ae===void 0||ae.remove(),Jt(re,"is-loading"))}function Me(q){var ae;const re=q.el;re&&((ae=re.querySelector(".f-html.is-error"))===null||ae===void 0||ae.remove(),Jt(re,"has-error"))}function _e(q){var ae;q||(q=(ae=E[A])===null||ae===void 0?void 0:ae.slides[0]);const re=q==null?void 0:q.el;if(!re)return;let se=U("formatCaption",q);se===void 0&&(se=q.caption),se=se||"";const Ee=U("captionEl");if(Ee&&Ee instanceof HTMLElement){if(q.index!==A)return;if(ft(se)&&(Ee.innerHTML=de(se+"")),se instanceof HTMLElement){if(se.parentElement===Ee)return;Ee.innerHTML="",se.parentElement&&(se=se.cloneNode(!0)),Ee.append(se)}return}if(!se)return;let he=q.captionEl||re.querySelector(".f-caption");!he&&se instanceof HTMLElement&&se.classList.contains("f-caption")&&(he=se),he||(he=document.createElement("div"),ze(he,"f-caption"),ft(se)?he.innerHTML=de(se+""):se instanceof HTMLElement&&(se.parentElement&&(se=se.cloneNode(!0)),he.append(se)));const ke=`f-caption-${ys}_${q.index}`;he.setAttribute("id",ke),he.dataset.selectable="true",ze(re,"has-caption"),re.setAttribute("aria-labelledby",ke),q.captionEl=he,re.insertAdjacentElement("beforeend",he)}function Ne(q,ae){let{transition:re,tween:se}=Object.assign({transition:f.transition,tween:f.tween},ae||{});if(!c||!o)return;const Ee=E.length;if(!Ee||function(ke,z){var P,T,ee,le;if(!(c&&o&&z&&ft(z)&&z!=="tween")||((P=E[A])===null||P===void 0?void 0:P.slides.length)>1)return!1;const be=E.length;let Ae=ke>A?1:-1;ke=y?(ke%be+be)%be:$e(0,ke,be-1),b&&(Ae*=-1);const De=(T=E[A])===null||T===void 0?void 0:T.slides[0],Pe=De==null?void 0:De.index,je=(ee=E[ke])===null||ee===void 0?void 0:ee.slides[0],nt=je==null?void 0:je.index,xt=(le=E[ke])===null||le===void 0?void 0:le.pos;if(nt===void 0||Pe===void 0||Pe===nt||k===xt||Math.abs(Z()-((je==null?void 0:je.dim)||0))>1)return!1;B=!1,o.pause(),ce(),ze(c,"in-transition"),k=D=xt;const st=F(De),Je=F(je);return S(),st&&(X.add(Pe),st.style.transform="",st.addEventListener("animationend",ge),Jt(st,f.classes.isSelected),ze(st,`f-${z}Out to-${Ae>0?"next":"prev"}`)),Je&&(X.add(nt),Je.style.transform="",Je.addEventListener("animationend",ge),ze(Je,f.classes.isSelected),ze(Je,`f-${z}In from-${Ae>0?"prev":"next"}`)),Se(),!0}(q,re))return;q=y?(q%Ee+Ee)%Ee:$e(0,q,Ee-1),D=E[q||0].pos||0;const he=o.isRunning()?o.getEndValues().pos:k;if(Math.abs(D-he)<1)return k=D,A!==q&&(_e(),Q(),fe(),l=A,A=q,_("change",A,l)),Se(),void(B||(B=!0,_("settle")));if(o.pause(),ce(),y){const ke=me(),z=Math.floor((he-E[0].pos)/ke),P=D+z*ke;D=[P+ke,P,P-ke].reduce(function(T,ee){return Math.abs(ee-he)<Math.abs(T-he)?ee:T})}re!==!1&&Et(se)?o.spring(se).from({pos:k}).to({pos:D}).start():(k=D,S(),Se(),B||(B=!0,_("settle")))}function Se(){var q;if(!c||!m)return;const ae=E[A];Y=L();const re=new Set;let se;const Ee=[];for(const he of $){if(he.isVirtual&&!X.has(he.index)&&Y.indexOf(he)<0)continue;let ke=F(he);if(!ke)continue;Ee.push(he);const z=((q=ae==null?void 0:ae.slides)===null||q===void 0?void 0:q.indexOf(he))>-1;if(z&&re.add(ke),!X.has(he.index)){const P=he.pos?Math.round(1e4*he.pos)/1e4:0,T=x?0:b?-1*P:P,ee=x?P:0,le=Co(T,0,he.dim,0,100),be=Co(ee,0,he.dim,0,100),Ae=f.setTransform||void 0;Ae instanceof Function?Ae(Be,he,{x:T,y:ee,xPercent:le,yPercent:be}):ke.style.transform=T||ee?`translate3d(${le}%, ${be}%,0)`:""}if(U("adaptiveHeight")&&z){const P=(ke.firstElementChild||ke).getBoundingClientRect().height;se=se==null?P:Math.max(se,P)}}[...Eo(m,`.${f.classes.slide}`)].forEach(he=>{const ke=parseInt(he.getAttribute("index")||"-1"),z=I[ke];z||he.remove(),ka(he,f.classes.isSelected,re.has(he)),z.isVirtual&&!X.has(z.index)&&Y.indexOf(z)<0&&O(z)}),m&&se&&(m.style.height=`${se}px`),_("render",Ee)}function Le(){var q;c==null||c.removeEventListener("click",xe),ce(),document.removeEventListener("mousemove",ne),i==null||i.disconnect(),i=void 0;for(const ae of I)ae.el&&Ua(ae.el)&&(ae.state=void 0,ue(ae),Me(ae),O(ae),ae.isVirtual?((q=ae.el)===null||q===void 0||q.remove(),ae.el=void 0):(ae.el.style.transform="",m==null||m.appendChild(ae.el)));for(const ae of Object.values(h))ae==null||ae.destroy();h={},r==null||r.destroy(),r=void 0,o==null||o.destroy(),o=void 0;for(const ae of Object.values(f.classes||{}))Jt(c,ae);Jt(m,"is-draggable")}const Be={add:function(q,ae){const re=k,se=D,Ee=v(q,ae);for(const he of Ee)_("addSlide",he);return K(M),H(),o&&se!==D&&o.spring({clamp:!0,mass:1,tension:300,friction:25,restDelta:1,restSpeed:1}).from({pos:re}).to({pos:D}).start(),Se(),Be},canGoPrev:function(){return y||A>0},canGoNext:function(){return y||A<E.length-1},destroy:function(){return _("destroy"),window.removeEventListener("resize",ie),Le(),W.clear(),c=null,E=[],I=[],f=Object.assign({},Ka),h={},$=[],s="",M="*",d=2,Be},emit:_,filter:function(q="*"){return K(q),H(),Se(),_("filter",q),Be},getContainer:function(){return c},getGapDim:ye,getGestures:function(){return r},getLastMouseMove:function(){return gs},getOptions:function(){return f},getPage:function(){return E[A]},getPageIndex:function(q){if(q!==void 0){for(const ae of E||[])for(const re of ae.slides)if(re.index===q)return ae.index;return-1}return A},getPageProgress:function(q,ae){q===void 0&&(q=A);const re=E[q];if(!re)return q>A?-1:1;const se=me(),Ee=ye();let he=re.pos,ke=Be.getPosition();if(y&&ae!==!0){const z=Math.floor((ke-E[0].pos)/se);ke-=z*se,he=[he+se,he,he-se].reduce(function(P,T){return Math.abs(T-ke)<Math.abs(P-ke)?T:P})}return(ke-he)/(re.dim+Ee)},getPageVisibility:function(q){q===void 0&&(q=A);const ae=E[q];if(!ae)return q>A?-1:1;const re=Be.getPosition(),se=Z();let Ee=ae.pos;if(y){const he=Be.getPosition(),ke=me(),z=Ee+Math.floor((he-E[0].pos)/ke)*ke;Ee=[z+ke,z,z-ke].reduce(function(P,T){return Math.abs(T-he)<Math.abs(P-he)?T:P})}return Ee>re&&Ee+ae.dim<re+se?1:Ee<re?(Ee+ae.dim-re)/ae.dim:Ee+ae.dim>re+se?(re+se-Ee)/ae.dim:0},getPages:function(){return E},getPlugins:function(){return h},getPosition:function(q){var ae;let re=k;if(y&&q!==!0){const se=me();re-=Math.floor((k-((ae=E[0])===null||ae===void 0?void 0:ae.pos)||0)/se)*se}return re},getSlides:function(){return I},getState:function(){return d},getTotalSlideDim:me,getTween:function(){return o},getViewport:function(){return m},getViewportDim:Z,getVisibleSlides:function(q){return q===void 0?Y:L(q)},goTo:Ne,hasNavigated:function(){return l!==void 0},hideError:Me,hideLoading:ue,init:function(){if(!e||!Ua(e))throw new Error("No Element found");return d!==0&&(Le(),d=0),c=e,p=a,window.removeEventListener("resize",ie),p.breakpoints&&window.addEventListener("resize",ie),ie(),Be},isInfinite:function(){return y},isInTransition:function(){return X.size>0},isRTL:function(){return b},isSettled:function(){return B},localize:function(q,ae=[]){return de(q,ae)},next:function(q={}){return Ne(A+1,q),Be},off:function(q,ae){for(const re of q instanceof Array?q:[q])W.has(re)&&W.set(re,W.get(re).filter(se=>se!==ae));return Be},on:function(q,ae){for(const re of q instanceof Array?q:[q])W.set(re,[...W.get(re)||[],ae]);return Be},prev:function(q={}){return Ne(A-1,q),Be},remove:function(q){q===void 0&&(q=I.length-1);const ae=I[q];return ae&&(_("removeSlide",ae),ae.el&&(te(ae.el),ae.el.remove(),ae.el=void 0),I.splice(q,1),K(M),H(),Se()),Be},setPosition:function(q){k=q,S(),Se()},showError:function(q,ae){ue(q),Me(q);const re=q.el;if(re){const se=document.createElement("div");ze(se,"f-html"),ze(se,"is-error"),se.innerHTML=de(ae||"<p>{{ERROR}}</p>"),q.htmlEl=se,ze(re,"has-html"),ze(re,"has-error"),re.insertAdjacentElement("afterbegin",se),_("contentReady",q)}return Be},showLoading:function(q){const ae=q.el,re=ae==null?void 0:ae.querySelector(".f-spinner");if(!ae||re)return Be;const se=U("spinnerTpl"),Ee=fa(se);return Ee&&(ze(Ee,"f-spinner"),ze(ae,"is-loading"),ae.insertAdjacentElement("beforeend",Ee)),Be},version:"6.0.16"};return Be};rr.l10n={en_EN:So},rr.getDefaults=()=>Ka;/*! License details at fancyapps.com/license */const ks=(e=!0,a="--f-scrollbar-compensate",n="--f-body-margin",r="hide-scrollbar")=>{const o=document,i=o.body,l=o.documentElement;if(e){if(i.classList.contains(r))return;let s=window.innerWidth-l.getBoundingClientRect().width;s<0&&(s=0),l.style.setProperty(a,`${s}px`);const d=parseFloat(window.getComputedStyle(i).marginRight);d&&i.style.setProperty(n,`${d}px`),i.classList.add(r)}else i.classList.remove(r),i.style.setProperty(n,""),o.documentElement.style.setProperty(a,"")};/*! License details at fancyapps.com/license */function xs(){return!(typeof window>"u"||!window.document||!window.document.createElement)}/*! License details at fancyapps.com/license */const xa=function(e="",a="",n=""){return e.split(a).join(n)};/*! License details at fancyapps.com/license */const bs={tpl:e=>`<img class="f-panzoom__content"
|
|
1
|
+
(function(ut,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("vue"),require("pinia")):typeof define=="function"&&define.amd?define(["exports","vue","pinia"],t):(ut=typeof globalThis<"u"?globalThis:ut||self,t(ut["sm-click-library-ui"]={},ut.Vue,ut.Pinia))})(this,function(ut,t,It){"use strict";var Pv=Object.defineProperty;var Ov=(ut,t,It)=>t in ut?Pv(ut,t,{enumerable:!0,configurable:!0,writable:!0,value:It}):ut[t]=It;var ve=(ut,t,It)=>Ov(ut,typeof t!="symbol"?t+"":t,It);function l0(e){return t.getCurrentScope()?(t.onScopeDispose(e),!0):!1}function ri(e){return typeof e=="function"?e():t.unref(e)}const oi=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const c0=Object.prototype.toString,d0=e=>c0.call(e)==="[object Object]",_n=()=>{},u0=f0();function f0(){var e,a;return oi&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((a=window==null?void 0:window.navigator)==null?void 0:a.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function nn(e){var a;const n=ri(e);return(a=n==null?void 0:n.$el)!=null?a:n}const ii=oi?window:void 0;function Cr(...e){let a,n,r,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,o]=e,a=ii):[a,n,r,o]=e,!a)return _n;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const i=[],s=()=>{i.forEach(u=>u()),i.length=0},l=(u,m,d,h)=>(u.addEventListener(m,d,h),()=>u.removeEventListener(m,d,h)),c=t.watch(()=>[nn(a),ri(o)],([u,m])=>{if(s(),!u)return;const d=d0(m)?{...m}:m;i.push(...n.flatMap(h=>r.map(f=>l(u,h,f,d))))},{immediate:!0,flush:"post"}),p=()=>{c(),s()};return l0(p),p}let si=!1;function li(e,a,n={}){const{window:r=ii,ignore:o=[],capture:i=!0,detectIframe:s=!1}=n;if(!r)return _n;u0&&!si&&(si=!0,Array.from(r.document.body.children).forEach(d=>d.addEventListener("click",_n)),r.document.documentElement.addEventListener("click",_n));let l=!0;const c=d=>o.some(h=>{if(typeof h=="string")return Array.from(r.document.querySelectorAll(h)).some(f=>f===d.target||d.composedPath().includes(f));{const f=nn(h);return f&&(d.target===f||d.composedPath().includes(f))}}),u=[Cr(r,"click",d=>{const h=nn(e);if(!(!h||h===d.target||d.composedPath().includes(h))){if(d.detail===0&&(l=!c(d)),!l){l=!0;return}a(d)}},{passive:!0,capture:i}),Cr(r,"pointerdown",d=>{const h=nn(e);l=!c(d)&&!!(h&&!d.composedPath().includes(h))},{passive:!0}),s&&Cr(r,"blur",d=>{setTimeout(()=>{var h;const f=nn(e);((h=r.document.activeElement)==null?void 0:h.tagName)==="IFRAME"&&!(f!=null&&f.contains(r.document.activeElement))&&a(d)},0)})].filter(Boolean);return()=>u.forEach(d=>d())}const je=(e,a)=>{const n=e.__vccOpts||e;for(const[r,o]of a)n[r]=o;return n},m0={class:"line-clamp-2 uppercase text-xs truncate text-white"},h0={key:0,class:"select_widget_lib"},ci=je({__name:"primary_select",props:{config:{type:Object,default:{title:"select_primary"}}},emits:["closeSelect"],setup(e,{emit:a}){const n=e,r=t.ref(!1),o=t.ref(null);t.computed(()=>n.selectConfig.some(l=>l.freeSlot));const i=()=>{r.value=!r.value};return li(o,()=>{r.value&&(r.value=!1)}),(l,c)=>(t.openBlock(),t.createElementBlock("div",{ref_key:"target",ref:o,class:"relative w-full"},[t.createElementVNode("button",{onClick:i,class:"bg-base-100 z-10 truncate flex items-center justify-between gap-6 p-2 rounded-md lg:mt-0 w-full shadow-md shadow-base-300"},[t.createElementVNode("div",null,[t.createElementVNode("p",m0,t.toDisplayString(e.config.title),1)]),t.createElementVNode("div",null,[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass([r.value?"rotate-180 transition-transform ease-in-out":"","w-3 h-3 text-white"]),xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},c[0]||(c[0]=[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M18.4 10.3A2 2 0 0 0 17 7H7a2 2 0 0 0-1.5 3.3l4.9 5.9a2 2 0 0 0 3 0l5-6Z","clip-rule":"evenodd"},null,-1)]),2))])]),r.value?(t.openBlock(),t.createElementBlock("section",h0,[t.createElementVNode("div",null,[t.renderSlot(l.$slots,"free-slot",{},void 0,!0)])])):t.createCommentVNode("",!0)],512))}},[["__scopeId","data-v-970e6830"]]),p0={key:0,class:"modal_head"},g0={class:"modal_responsive"},y0={class:"flex min-h-full items-center justify-center text-center sm:p-0"},k0={class:"modal_tittle text-current"},b0={class:"flex items-center gap-3"},x0=["innerHTML"],w0={class:"text-xl font-semibold flex items-center gap-2"},v0={class:"bg-base-200"},E0={class:"text-center"},C0={class:"modal_end_button"},di=je({__name:"simple_modal",props:{isOpen:{type:Boolean,default:!1},header:{type:Object,default:{title:"title",svg:"<svg class='w-5 mr-2 text-primary inline-block' aria-hidden='true' xmlns='http://www.w3.org/2000/svg' fill='currentColor' viewBox='0 0 24 24'> <path d='M18 3h-5.7a2 2 0 0 0-1.4.6L3.6 11a2 2 0 0 0 0 2.8l6.6 6.6a2 2 0 0 0 2.8 0l7.4-7.5a2 2 0 0 0 .6-1.4V6a3 3 0 0 0-3-3Zm-2.4 6.4a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z' /> </svg>"}},size:{type:String,default:"md:w-1/2 xl:w-1/3"}},emits:["update:isOpen","close"],setup(e,{emit:a}){const n=e,r=a,o=()=>{r("update:isOpen",!n.isOpen),n.isOpen&&r("close")};return(i,s)=>{var l,c;return e.isOpen?(t.openBlock(),t.createElementBlock("div",p0,[s[2]||(s[2]=t.createElementVNode("div",{class:"modal-overlay absolute h-full w-full bg-gray-600 opacity-50"},null,-1)),t.createElementVNode("div",g0,[t.createElementVNode("div",y0,[t.createElementVNode("div",{class:t.normalizeClass(["z-50 w-full shadow rounded-2xl shadow-black",e.size])},[t.createElementVNode("div",k0,[t.createElementVNode("section",b0,[t.createElementVNode("div",{innerHTML:(l=e.header)==null?void 0:l.svg},null,8,x0),t.createElementVNode("div",null,[t.createElementVNode("h3",w0,[t.createElementVNode("p",null,t.toDisplayString((c=e.header)==null?void 0:c.title),1)]),t.createElementVNode("div",null,[t.renderSlot(i.$slots,"header",{},void 0,!0)])])]),t.createElementVNode("button",{onClick:s[0]||(s[0]=p=>o()),class:"modal_close_button"},s[1]||(s[1]=[t.createElementVNode("svg",{class:"h-5 w-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1)]))]),t.createElementVNode("div",v0,[t.createElementVNode("div",E0,[t.renderSlot(i.$slots,"body",{},void 0,!0)])]),t.createElementVNode("div",C0,[t.renderSlot(i.$slots,"footer",{},void 0,!0)])],2)])])])):t.createCommentVNode("",!0)}}},[["__scopeId","data-v-3fe54e4c"]]),S0={class:"simple_card_header"},M0={key:0,class:"simple_card_icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22 22",fill:"none"},B0={key:1,class:"simple_card_icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22 22",fill:"none"},A0={key:2,class:"simple_card_icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22 22",fill:"none"},V0={key:3,class:"simple_card_icon","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 23 23"},_0={class:"simple_card_title"},N0={class:"simple_card_descripiton"},ui={__name:"simple_card",props:{content:{type:Object,default:{title:"Title",description:"Coloque aqui a descrição"}},typeCard:{type:String,default:"default"}},setup(e){const a=e,n=t.computed(()=>({simple_card_success:a.typeCard==="success",simple_card_info:a.typeCard==="info",simple_card_alert:a.typeCard==="alert",simple_card_error:a.typeCard==="error"}));return(r,o)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass([n.value,"simple_card"])},[t.createElementVNode("div",S0,[e.typeCard==="success"?(t.openBlock(),t.createElementBlock("svg",M0,o[0]||(o[0]=[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0.25 10C0.25 4.61522 4.61522 0.25 10 0.25C15.3848 0.25 19.75 4.61522 19.75 10C19.75 15.3848 15.3848 19.75 10 19.75C4.61522 19.75 0.25 15.3848 0.25 10ZM13.6103 8.18593C13.8511 7.84887 13.773 7.38046 13.4359 7.1397C13.0989 6.89894 12.6305 6.97701 12.3897 7.31407L9.1543 11.8436L7.53033 10.2197C7.23744 9.92678 6.76256 9.92678 6.46967 10.2197C6.17678 10.5126 6.17678 10.9874 6.46967 11.2803L8.71967 13.5303C8.87556 13.6862 9.09215 13.7656 9.31186 13.7474C9.53157 13.7293 9.73216 13.6153 9.8603 13.4359L13.6103 8.18593Z",fill:"currentColor"},null,-1)]))):t.createCommentVNode("",!0),e.typeCard==="info"?(t.openBlock(),t.createElementBlock("svg",B0,o[1]||(o[1]=[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0.25 10C0.25 4.61522 4.61522 0.25 10 0.25C15.3848 0.25 19.75 4.61522 19.75 10C19.75 15.3848 15.3848 19.75 10 19.75C4.61522 19.75 0.25 15.3848 0.25 10ZM10 6.25C10.4142 6.25 10.75 6.58579 10.75 7V10.75C10.75 11.1642 10.4142 11.5 10 11.5C9.58579 11.5 9.25 11.1642 9.25 10.75V7C9.25 6.58579 9.58579 6.25 10 6.25ZM10 14.5C10.4142 14.5 10.75 14.1642 10.75 13.75C10.75 13.3358 10.4142 13 10 13C9.58579 13 9.25 13.3358 9.25 13.75C9.25 14.1642 9.58579 14.5 10 14.5Z",fill:"currentColor"},null,-1)]))):t.createCommentVNode("",!0),e.typeCard==="alert"?(t.openBlock(),t.createElementBlock("svg",A0,o[2]||(o[2]=[t.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.40123 2.0034C9.55572 0.0022862 12.4439 0.0022856 13.5983 2.0034L20.9527 14.7509C22.1065 16.7509 20.6631 19.2501 18.3541 19.2501H3.64546C1.33649 19.2501 -0.106939 16.7509 1.04691 14.7509L8.40123 2.0034ZM11 7.25C11.4142 7.25 11.75 7.58579 11.75 8V11.75C11.75 12.1642 11.4142 12.5 11 12.5C10.5858 12.5 10.25 12.1642 10.25 11.75V8C10.25 7.58579 10.5858 7.25 11 7.25ZM11 15.5C11.4142 15.5 11.75 15.1642 11.75 14.75C11.75 14.3358 11.4142 14 11 14C10.5858 14 10.25 14.3358 10.25 14.75C10.25 15.1642 10.5858 15.5 11 15.5Z",fill:"currentColor"},null,-1)]))):t.createCommentVNode("",!0),e.typeCard==="error"?(t.openBlock(),t.createElementBlock("svg",V0,o[3]||(o[3]=[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm7.707-3.707a1 1 0 0 0-1.414 1.414L10.586 12l-2.293 2.293a1 1 0 1 0 1.414 1.414L12 13.414l2.293 2.293a1 1 0 0 0 1.414-1.414L13.414 12l2.293-2.293a1 1 0 0 0-1.414-1.414L12 10.586 9.707 8.293Z","clip-rule":"evenodd"},null,-1)]))):t.createCommentVNode("",!0),t.createElementVNode("p",_0,t.toDisplayString(e.content.title),1)]),t.createElementVNode("section",N0,[t.createElementVNode("p",null,t.toDisplayString(e.content.description),1)])],2))}};function fi(e,a){return function(){return e.apply(a,arguments)}}const{toString:D0}=Object.prototype,{getPrototypeOf:Sr}=Object,{iterator:Nn,toStringTag:mi}=Symbol,Dn=(e=>a=>{const n=D0.call(a);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Pt=e=>(e=e.toLowerCase(),a=>Dn(a)===e),Tn=e=>a=>typeof a===e,{isArray:Fa}=Array,rn=Tn("undefined");function T0(e){return e!==null&&!rn(e)&&e.constructor!==null&&!rn(e.constructor)&&Mt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const hi=Pt("ArrayBuffer");function P0(e){let a;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?a=ArrayBuffer.isView(e):a=e&&e.buffer&&hi(e.buffer),a}const O0=Tn("string"),Mt=Tn("function"),pi=Tn("number"),Pn=e=>e!==null&&typeof e=="object",F0=e=>e===!0||e===!1,On=e=>{if(Dn(e)!=="object")return!1;const a=Sr(e);return(a===null||a===Object.prototype||Object.getPrototypeOf(a)===null)&&!(mi in e)&&!(Nn in e)},L0=Pt("Date"),$0=Pt("File"),R0=Pt("Blob"),H0=Pt("FileList"),z0=e=>Pn(e)&&Mt(e.pipe),I0=e=>{let a;return e&&(typeof FormData=="function"&&e instanceof FormData||Mt(e.append)&&((a=Dn(e))==="formdata"||a==="object"&&Mt(e.toString)&&e.toString()==="[object FormData]"))},G0=Pt("URLSearchParams"),[j0,q0,W0,Y0]=["ReadableStream","Request","Response","Headers"].map(Pt),U0=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function on(e,a,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),Fa(e))for(r=0,o=e.length;r<o;r++)a.call(null,e[r],r,e);else{const i=n?Object.getOwnPropertyNames(e):Object.keys(e),s=i.length;let l;for(r=0;r<s;r++)l=i[r],a.call(null,e[l],l,e)}}function gi(e,a){a=a.toLowerCase();const n=Object.keys(e);let r=n.length,o;for(;r-- >0;)if(o=n[r],a===o.toLowerCase())return o;return null}const Ea=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,yi=e=>!rn(e)&&e!==Ea;function Mr(){const{caseless:e}=yi(this)&&this||{},a={},n=(r,o)=>{const i=e&&gi(a,o)||o;On(a[i])&&On(r)?a[i]=Mr(a[i],r):On(r)?a[i]=Mr({},r):Fa(r)?a[i]=r.slice():a[i]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&on(arguments[r],n);return a}const X0=(e,a,n,{allOwnKeys:r}={})=>(on(a,(o,i)=>{n&&Mt(o)?e[i]=fi(o,n):e[i]=o},{allOwnKeys:r}),e),Z0=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Q0=(e,a,n,r)=>{e.prototype=Object.create(a.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:a.prototype}),n&&Object.assign(e.prototype,n)},K0=(e,a,n,r)=>{let o,i,s;const l={};if(a=a||{},e==null)return a;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)s=o[i],(!r||r(s,e,a))&&!l[s]&&(a[s]=e[s],l[s]=!0);e=n!==!1&&Sr(e)}while(e&&(!n||n(e,a))&&e!==Object.prototype);return a},J0=(e,a,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=a.length;const r=e.indexOf(a,n);return r!==-1&&r===n},ec=e=>{if(!e)return null;if(Fa(e))return e;let a=e.length;if(!pi(a))return null;const n=new Array(a);for(;a-- >0;)n[a]=e[a];return n},tc=(e=>a=>e&&a instanceof e)(typeof Uint8Array<"u"&&Sr(Uint8Array)),ac=(e,a)=>{const r=(e&&e[Nn]).call(e);let o;for(;(o=r.next())&&!o.done;){const i=o.value;a.call(e,i[0],i[1])}},nc=(e,a)=>{let n;const r=[];for(;(n=e.exec(a))!==null;)r.push(n);return r},rc=Pt("HTMLFormElement"),oc=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),ki=(({hasOwnProperty:e})=>(a,n)=>e.call(a,n))(Object.prototype),ic=Pt("RegExp"),bi=(e,a)=>{const n=Object.getOwnPropertyDescriptors(e),r={};on(n,(o,i)=>{let s;(s=a(o,i,e))!==!1&&(r[i]=s||o)}),Object.defineProperties(e,r)},sc=e=>{bi(e,(a,n)=>{if(Mt(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Mt(r)){if(a.enumerable=!1,"writable"in a){a.writable=!1;return}a.set||(a.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},lc=(e,a)=>{const n={},r=o=>{o.forEach(i=>{n[i]=!0})};return Fa(e)?r(e):r(String(e).split(a)),n},cc=()=>{},dc=(e,a)=>e!=null&&Number.isFinite(e=+e)?e:a;function uc(e){return!!(e&&Mt(e.append)&&e[mi]==="FormData"&&e[Nn])}const fc=e=>{const a=new Array(10),n=(r,o)=>{if(Pn(r)){if(a.indexOf(r)>=0)return;if(!("toJSON"in r)){a[o]=r;const i=Fa(r)?[]:{};return on(r,(s,l)=>{const c=n(s,o+1);!rn(c)&&(i[l]=c)}),a[o]=void 0,i}}return r};return n(e,0)},mc=Pt("AsyncFunction"),hc=e=>e&&(Pn(e)||Mt(e))&&Mt(e.then)&&Mt(e.catch),xi=((e,a)=>e?setImmediate:a?((n,r)=>(Ea.addEventListener("message",({source:o,data:i})=>{o===Ea&&i===n&&r.length&&r.shift()()},!1),o=>{r.push(o),Ea.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Mt(Ea.postMessage)),pc=typeof queueMicrotask<"u"?queueMicrotask.bind(Ea):typeof process<"u"&&process.nextTick||xi,se={isArray:Fa,isArrayBuffer:hi,isBuffer:T0,isFormData:I0,isArrayBufferView:P0,isString:O0,isNumber:pi,isBoolean:F0,isObject:Pn,isPlainObject:On,isReadableStream:j0,isRequest:q0,isResponse:W0,isHeaders:Y0,isUndefined:rn,isDate:L0,isFile:$0,isBlob:R0,isRegExp:ic,isFunction:Mt,isStream:z0,isURLSearchParams:G0,isTypedArray:tc,isFileList:H0,forEach:on,merge:Mr,extend:X0,trim:U0,stripBOM:Z0,inherits:Q0,toFlatObject:K0,kindOf:Dn,kindOfTest:Pt,endsWith:J0,toArray:ec,forEachEntry:ac,matchAll:nc,isHTMLForm:rc,hasOwnProperty:ki,hasOwnProp:ki,reduceDescriptors:bi,freezeMethods:sc,toObjectSet:lc,toCamelCase:oc,noop:cc,toFiniteNumber:dc,findKey:gi,global:Ea,isContextDefined:yi,isSpecCompliantForm:uc,toJSONObject:fc,isAsyncFn:mc,isThenable:hc,setImmediate:xi,asap:pc,isIterable:e=>e!=null&&Mt(e[Nn])};function Te(e,a,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",a&&(this.code=a),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}se.inherits(Te,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:se.toJSONObject(this.config),code:this.code,status:this.status}}});const wi=Te.prototype,vi={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{vi[e]={value:e}}),Object.defineProperties(Te,vi),Object.defineProperty(wi,"isAxiosError",{value:!0}),Te.from=(e,a,n,r,o,i)=>{const s=Object.create(wi);return se.toFlatObject(e,s,function(c){return c!==Error.prototype},l=>l!=="isAxiosError"),Te.call(s,e.message,a,n,r,o),s.cause=e,s.name=e.name,i&&Object.assign(s,i),s};const gc=null;function Br(e){return se.isPlainObject(e)||se.isArray(e)}function Ei(e){return se.endsWith(e,"[]")?e.slice(0,-2):e}function Ci(e,a,n){return e?e.concat(a).map(function(o,i){return o=Ei(o),!n&&i?"["+o+"]":o}).join(n?".":""):a}function yc(e){return se.isArray(e)&&!e.some(Br)}const kc=se.toFlatObject(se,{},null,function(a){return/^is[A-Z]/.test(a)});function Fn(e,a,n){if(!se.isObject(e))throw new TypeError("target must be an object");a=a||new FormData,n=se.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,b){return!se.isUndefined(b[g])});const r=n.metaTokens,o=n.visitor||u,i=n.dots,s=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&se.isSpecCompliantForm(a);if(!se.isFunction(o))throw new TypeError("visitor must be a function");function p(f){if(f===null)return"";if(se.isDate(f))return f.toISOString();if(se.isBoolean(f))return f.toString();if(!c&&se.isBlob(f))throw new Te("Blob is not supported. Use a Buffer instead.");return se.isArrayBuffer(f)||se.isTypedArray(f)?c&&typeof Blob=="function"?new Blob([f]):Buffer.from(f):f}function u(f,g,b){let x=f;if(f&&!b&&typeof f=="object"){if(se.endsWith(g,"{}"))g=r?g:g.slice(0,-2),f=JSON.stringify(f);else if(se.isArray(f)&&yc(f)||(se.isFileList(f)||se.endsWith(g,"[]"))&&(x=se.toArray(f)))return g=Ei(g),x.forEach(function(k,V){!(se.isUndefined(k)||k===null)&&a.append(s===!0?Ci([g],V,i):s===null?g:g+"[]",p(k))}),!1}return Br(f)?!0:(a.append(Ci(b,g,i),p(f)),!1)}const m=[],d=Object.assign(kc,{defaultVisitor:u,convertValue:p,isVisitable:Br});function h(f,g){if(!se.isUndefined(f)){if(m.indexOf(f)!==-1)throw Error("Circular reference detected in "+g.join("."));m.push(f),se.forEach(f,function(x,w){(!(se.isUndefined(x)||x===null)&&o.call(a,x,se.isString(w)?w.trim():w,g,d))===!0&&h(x,g?g.concat(w):[w])}),m.pop()}}if(!se.isObject(e))throw new TypeError("data must be an object");return h(e),a}function Si(e){const a={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return a[r]})}function Ar(e,a){this._pairs=[],e&&Fn(e,this,a)}const Mi=Ar.prototype;Mi.append=function(a,n){this._pairs.push([a,n])},Mi.toString=function(a){const n=a?function(r){return a.call(this,r,Si)}:Si;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function bc(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Bi(e,a,n){if(!a)return e;const r=n&&n.encode||bc;se.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let i;if(o?i=o(a,n):i=se.isURLSearchParams(a)?a.toString():new Ar(a,n).toString(r),i){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Ai{constructor(){this.handlers=[]}use(a,n,r){return this.handlers.push({fulfilled:a,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(a){this.handlers[a]&&(this.handlers[a]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(a){se.forEach(this.handlers,function(r){r!==null&&a(r)})}}const Vi={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},xc={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:Ar,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},Vr=typeof window<"u"&&typeof document<"u",_r=typeof navigator=="object"&&navigator||void 0,wc=Vr&&(!_r||["ReactNative","NativeScript","NS"].indexOf(_r.product)<0),vc=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Ec=Vr&&window.location.href||"http://localhost",gt={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Vr,hasStandardBrowserEnv:wc,hasStandardBrowserWebWorkerEnv:vc,navigator:_r,origin:Ec},Symbol.toStringTag,{value:"Module"})),...xc};function Cc(e,a){return Fn(e,new gt.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,i){return gt.isNode&&se.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},a))}function Sc(e){return se.matchAll(/\w+|\[(\w*)]/g,e).map(a=>a[0]==="[]"?"":a[1]||a[0])}function Mc(e){const a={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],a[i]=e[i];return a}function _i(e){function a(n,r,o,i){let s=n[i++];if(s==="__proto__")return!0;const l=Number.isFinite(+s),c=i>=n.length;return s=!s&&se.isArray(o)?o.length:s,c?(se.hasOwnProp(o,s)?o[s]=[o[s],r]:o[s]=r,!l):((!o[s]||!se.isObject(o[s]))&&(o[s]=[]),a(n,r,o[s],i)&&se.isArray(o[s])&&(o[s]=Mc(o[s])),!l)}if(se.isFormData(e)&&se.isFunction(e.entries)){const n={};return se.forEachEntry(e,(r,o)=>{a(Sc(r),o,n,0)}),n}return null}function Bc(e,a,n){if(se.isString(e))try{return(a||JSON.parse)(e),se.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const sn={transitional:Vi,adapter:["xhr","http","fetch"],transformRequest:[function(a,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,i=se.isObject(a);if(i&&se.isHTMLForm(a)&&(a=new FormData(a)),se.isFormData(a))return o?JSON.stringify(_i(a)):a;if(se.isArrayBuffer(a)||se.isBuffer(a)||se.isStream(a)||se.isFile(a)||se.isBlob(a)||se.isReadableStream(a))return a;if(se.isArrayBufferView(a))return a.buffer;if(se.isURLSearchParams(a))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),a.toString();let l;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Cc(a,this.formSerializer).toString();if((l=se.isFileList(a))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Fn(l?{"files[]":a}:a,c&&new c,this.formSerializer)}}return i||o?(n.setContentType("application/json",!1),Bc(a)):a}],transformResponse:[function(a){const n=this.transitional||sn.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(se.isResponse(a)||se.isReadableStream(a))return a;if(a&&se.isString(a)&&(r&&!this.responseType||o)){const s=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(a)}catch(l){if(s)throw l.name==="SyntaxError"?Te.from(l,Te.ERR_BAD_RESPONSE,this,null,this.response):l}}return a}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:gt.classes.FormData,Blob:gt.classes.Blob},validateStatus:function(a){return a>=200&&a<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};se.forEach(["delete","get","head","post","put","patch"],e=>{sn.headers[e]={}});const Ac=se.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Vc=e=>{const a={};let n,r,o;return e&&e.split(`
|
|
2
|
+
`).forEach(function(s){o=s.indexOf(":"),n=s.substring(0,o).trim().toLowerCase(),r=s.substring(o+1).trim(),!(!n||a[n]&&Ac[n])&&(n==="set-cookie"?a[n]?a[n].push(r):a[n]=[r]:a[n]=a[n]?a[n]+", "+r:r)}),a},Ni=Symbol("internals");function ln(e){return e&&String(e).trim().toLowerCase()}function Ln(e){return e===!1||e==null?e:se.isArray(e)?e.map(Ln):String(e)}function _c(e){const a=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)a[r[1]]=r[2];return a}const Nc=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Nr(e,a,n,r,o){if(se.isFunction(r))return r.call(this,a,n);if(o&&(a=n),!!se.isString(a)){if(se.isString(r))return a.indexOf(r)!==-1;if(se.isRegExp(r))return r.test(a)}}function Dc(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(a,n,r)=>n.toUpperCase()+r)}function Tc(e,a){const n=se.toCamelCase(" "+a);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,i,s){return this[r].call(this,a,o,i,s)},configurable:!0})})}let Bt=class{constructor(a){a&&this.set(a)}set(a,n,r){const o=this;function i(l,c,p){const u=ln(c);if(!u)throw new Error("header name must be a non-empty string");const m=se.findKey(o,u);(!m||o[m]===void 0||p===!0||p===void 0&&o[m]!==!1)&&(o[m||c]=Ln(l))}const s=(l,c)=>se.forEach(l,(p,u)=>i(p,u,c));if(se.isPlainObject(a)||a instanceof this.constructor)s(a,n);else if(se.isString(a)&&(a=a.trim())&&!Nc(a))s(Vc(a),n);else if(se.isObject(a)&&se.isIterable(a)){let l={},c,p;for(const u of a){if(!se.isArray(u))throw TypeError("Object iterator must return a key-value pair");l[p=u[0]]=(c=l[p])?se.isArray(c)?[...c,u[1]]:[c,u[1]]:u[1]}s(l,n)}else a!=null&&i(n,a,r);return this}get(a,n){if(a=ln(a),a){const r=se.findKey(this,a);if(r){const o=this[r];if(!n)return o;if(n===!0)return _c(o);if(se.isFunction(n))return n.call(this,o,r);if(se.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(a,n){if(a=ln(a),a){const r=se.findKey(this,a);return!!(r&&this[r]!==void 0&&(!n||Nr(this,this[r],r,n)))}return!1}delete(a,n){const r=this;let o=!1;function i(s){if(s=ln(s),s){const l=se.findKey(r,s);l&&(!n||Nr(r,r[l],l,n))&&(delete r[l],o=!0)}}return se.isArray(a)?a.forEach(i):i(a),o}clear(a){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const i=n[r];(!a||Nr(this,this[i],i,a,!0))&&(delete this[i],o=!0)}return o}normalize(a){const n=this,r={};return se.forEach(this,(o,i)=>{const s=se.findKey(r,i);if(s){n[s]=Ln(o),delete n[i];return}const l=a?Dc(i):String(i).trim();l!==i&&delete n[i],n[l]=Ln(o),r[l]=!0}),this}concat(...a){return this.constructor.concat(this,...a)}toJSON(a){const n=Object.create(null);return se.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=a&&se.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([a,n])=>a+": "+n).join(`
|
|
3
|
+
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(a){return a instanceof this?a:new this(a)}static concat(a,...n){const r=new this(a);return n.forEach(o=>r.set(o)),r}static accessor(a){const r=(this[Ni]=this[Ni]={accessors:{}}).accessors,o=this.prototype;function i(s){const l=ln(s);r[l]||(Tc(o,s),r[l]=!0)}return se.isArray(a)?a.forEach(i):i(a),this}};Bt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),se.reduceDescriptors(Bt.prototype,({value:e},a)=>{let n=a[0].toUpperCase()+a.slice(1);return{get:()=>e,set(r){this[n]=r}}}),se.freezeMethods(Bt);function Dr(e,a){const n=this||sn,r=a||n,o=Bt.from(r.headers);let i=r.data;return se.forEach(e,function(l){i=l.call(n,i,o.normalize(),a?a.status:void 0)}),o.normalize(),i}function Di(e){return!!(e&&e.__CANCEL__)}function La(e,a,n){Te.call(this,e??"canceled",Te.ERR_CANCELED,a,n),this.name="CanceledError"}se.inherits(La,Te,{__CANCEL__:!0});function Ti(e,a,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):a(new Te("Request failed with status code "+n.status,[Te.ERR_BAD_REQUEST,Te.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Pc(e){const a=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return a&&a[1]||""}function Oc(e,a){e=e||10;const n=new Array(e),r=new Array(e);let o=0,i=0,s;return a=a!==void 0?a:1e3,function(c){const p=Date.now(),u=r[i];s||(s=p),n[o]=c,r[o]=p;let m=i,d=0;for(;m!==o;)d+=n[m++],m=m%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),p-s<a)return;const h=u&&p-u;return h?Math.round(d*1e3/h):void 0}}function Fc(e,a){let n=0,r=1e3/a,o,i;const s=(p,u=Date.now())=>{n=u,o=null,i&&(clearTimeout(i),i=null),e.apply(null,p)};return[(...p)=>{const u=Date.now(),m=u-n;m>=r?s(p,u):(o=p,i||(i=setTimeout(()=>{i=null,s(o)},r-m)))},()=>o&&s(o)]}const $n=(e,a,n=3)=>{let r=0;const o=Oc(50,250);return Fc(i=>{const s=i.loaded,l=i.lengthComputable?i.total:void 0,c=s-r,p=o(c),u=s<=l;r=s;const m={loaded:s,total:l,progress:l?s/l:void 0,bytes:c,rate:p||void 0,estimated:p&&l&&u?(l-s)/p:void 0,event:i,lengthComputable:l!=null,[a?"download":"upload"]:!0};e(m)},n)},Pi=(e,a)=>{const n=e!=null;return[r=>a[0]({lengthComputable:n,total:e,loaded:r}),a[1]]},Oi=e=>(...a)=>se.asap(()=>e(...a)),Lc=gt.hasStandardBrowserEnv?((e,a)=>n=>(n=new URL(n,gt.origin),e.protocol===n.protocol&&e.host===n.host&&(a||e.port===n.port)))(new URL(gt.origin),gt.navigator&&/(msie|trident)/i.test(gt.navigator.userAgent)):()=>!0,$c=gt.hasStandardBrowserEnv?{write(e,a,n,r,o,i){const s=[e+"="+encodeURIComponent(a)];se.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),se.isString(r)&&s.push("path="+r),se.isString(o)&&s.push("domain="+o),i===!0&&s.push("secure"),document.cookie=s.join("; ")},read(e){const a=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return a?decodeURIComponent(a[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Rc(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Hc(e,a){return a?e.replace(/\/?\/$/,"")+"/"+a.replace(/^\/+/,""):e}function Fi(e,a,n){let r=!Rc(a);return e&&(r||n==!1)?Hc(e,a):a}const Li=e=>e instanceof Bt?{...e}:e;function Ca(e,a){a=a||{};const n={};function r(p,u,m,d){return se.isPlainObject(p)&&se.isPlainObject(u)?se.merge.call({caseless:d},p,u):se.isPlainObject(u)?se.merge({},u):se.isArray(u)?u.slice():u}function o(p,u,m,d){if(se.isUndefined(u)){if(!se.isUndefined(p))return r(void 0,p,m,d)}else return r(p,u,m,d)}function i(p,u){if(!se.isUndefined(u))return r(void 0,u)}function s(p,u){if(se.isUndefined(u)){if(!se.isUndefined(p))return r(void 0,p)}else return r(void 0,u)}function l(p,u,m){if(m in a)return r(p,u);if(m in e)return r(void 0,p)}const c={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l,headers:(p,u,m)=>o(Li(p),Li(u),m,!0)};return se.forEach(Object.keys(Object.assign({},e,a)),function(u){const m=c[u]||o,d=m(e[u],a[u],u);se.isUndefined(d)&&m!==l||(n[u]=d)}),n}const $i=e=>{const a=Ca({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:i,headers:s,auth:l}=a;a.headers=s=Bt.from(s),a.url=Bi(Fi(a.baseURL,a.url,a.allowAbsoluteUrls),e.params,e.paramsSerializer),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let c;if(se.isFormData(n)){if(gt.hasStandardBrowserEnv||gt.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if((c=s.getContentType())!==!1){const[p,...u]=c?c.split(";").map(m=>m.trim()).filter(Boolean):[];s.setContentType([p||"multipart/form-data",...u].join("; "))}}if(gt.hasStandardBrowserEnv&&(r&&se.isFunction(r)&&(r=r(a)),r||r!==!1&&Lc(a.url))){const p=o&&i&&$c.read(i);p&&s.set(o,p)}return a},zc=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(n,r){const o=$i(e);let i=o.data;const s=Bt.from(o.headers).normalize();let{responseType:l,onUploadProgress:c,onDownloadProgress:p}=o,u,m,d,h,f;function g(){h&&h(),f&&f(),o.cancelToken&&o.cancelToken.unsubscribe(u),o.signal&&o.signal.removeEventListener("abort",u)}let b=new XMLHttpRequest;b.open(o.method.toUpperCase(),o.url,!0),b.timeout=o.timeout;function x(){if(!b)return;const k=Bt.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders()),_={data:!l||l==="text"||l==="json"?b.responseText:b.response,status:b.status,statusText:b.statusText,headers:k,config:e,request:b};Ti(function(N){n(N),g()},function(N){r(N),g()},_),b=null}"onloadend"in b?b.onloadend=x:b.onreadystatechange=function(){!b||b.readyState!==4||b.status===0&&!(b.responseURL&&b.responseURL.indexOf("file:")===0)||setTimeout(x)},b.onabort=function(){b&&(r(new Te("Request aborted",Te.ECONNABORTED,e,b)),b=null)},b.onerror=function(){r(new Te("Network Error",Te.ERR_NETWORK,e,b)),b=null},b.ontimeout=function(){let V=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const _=o.transitional||Vi;o.timeoutErrorMessage&&(V=o.timeoutErrorMessage),r(new Te(V,_.clarifyTimeoutError?Te.ETIMEDOUT:Te.ECONNABORTED,e,b)),b=null},i===void 0&&s.setContentType(null),"setRequestHeader"in b&&se.forEach(s.toJSON(),function(V,_){b.setRequestHeader(_,V)}),se.isUndefined(o.withCredentials)||(b.withCredentials=!!o.withCredentials),l&&l!=="json"&&(b.responseType=o.responseType),p&&([d,f]=$n(p,!0),b.addEventListener("progress",d)),c&&b.upload&&([m,h]=$n(c),b.upload.addEventListener("progress",m),b.upload.addEventListener("loadend",h)),(o.cancelToken||o.signal)&&(u=k=>{b&&(r(!k||k.type?new La(null,e,b):k),b.abort(),b=null)},o.cancelToken&&o.cancelToken.subscribe(u),o.signal&&(o.signal.aborted?u():o.signal.addEventListener("abort",u)));const w=Pc(o.url);if(w&>.protocols.indexOf(w)===-1){r(new Te("Unsupported protocol "+w+":",Te.ERR_BAD_REQUEST,e));return}b.send(i||null)})},Ic=(e,a)=>{const{length:n}=e=e?e.filter(Boolean):[];if(a||n){let r=new AbortController,o;const i=function(p){if(!o){o=!0,l();const u=p instanceof Error?p:this.reason;r.abort(u instanceof Te?u:new La(u instanceof Error?u.message:u))}};let s=a&&setTimeout(()=>{s=null,i(new Te(`timeout ${a} of ms exceeded`,Te.ETIMEDOUT))},a);const l=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(p=>{p.unsubscribe?p.unsubscribe(i):p.removeEventListener("abort",i)}),e=null)};e.forEach(p=>p.addEventListener("abort",i));const{signal:c}=r;return c.unsubscribe=()=>se.asap(l),c}},Gc=function*(e,a){let n=e.byteLength;if(n<a){yield e;return}let r=0,o;for(;r<n;)o=r+a,yield e.slice(r,o),r=o},jc=async function*(e,a){for await(const n of qc(e))yield*Gc(n,a)},qc=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const a=e.getReader();try{for(;;){const{done:n,value:r}=await a.read();if(n)break;yield r}}finally{await a.cancel()}},Ri=(e,a,n,r)=>{const o=jc(e,a);let i=0,s,l=c=>{s||(s=!0,r&&r(c))};return new ReadableStream({async pull(c){try{const{done:p,value:u}=await o.next();if(p){l(),c.close();return}let m=u.byteLength;if(n){let d=i+=m;n(d)}c.enqueue(new Uint8Array(u))}catch(p){throw l(p),p}},cancel(c){return l(c),o.return()}},{highWaterMark:2})},Rn=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Hi=Rn&&typeof ReadableStream=="function",Wc=Rn&&(typeof TextEncoder=="function"?(e=>a=>e.encode(a))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),zi=(e,...a)=>{try{return!!e(...a)}catch{return!1}},Yc=Hi&&zi(()=>{let e=!1;const a=new Request(gt.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!a}),Ii=64*1024,Tr=Hi&&zi(()=>se.isReadableStream(new Response("").body)),Hn={stream:Tr&&(e=>e.body)};Rn&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(a=>{!Hn[a]&&(Hn[a]=se.isFunction(e[a])?n=>n[a]():(n,r)=>{throw new Te(`Response type '${a}' is not supported`,Te.ERR_NOT_SUPPORT,r)})})})(new Response);const Uc=async e=>{if(e==null)return 0;if(se.isBlob(e))return e.size;if(se.isSpecCompliantForm(e))return(await new Request(gt.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(se.isArrayBufferView(e)||se.isArrayBuffer(e))return e.byteLength;if(se.isURLSearchParams(e)&&(e=e+""),se.isString(e))return(await Wc(e)).byteLength},Xc=async(e,a)=>{const n=se.toFiniteNumber(e.getContentLength());return n??Uc(a)},Pr={http:gc,xhr:zc,fetch:Rn&&(async e=>{let{url:a,method:n,data:r,signal:o,cancelToken:i,timeout:s,onDownloadProgress:l,onUploadProgress:c,responseType:p,headers:u,withCredentials:m="same-origin",fetchOptions:d}=$i(e);p=p?(p+"").toLowerCase():"text";let h=Ic([o,i&&i.toAbortSignal()],s),f;const g=h&&h.unsubscribe&&(()=>{h.unsubscribe()});let b;try{if(c&&Yc&&n!=="get"&&n!=="head"&&(b=await Xc(u,r))!==0){let _=new Request(a,{method:"POST",body:r,duplex:"half"}),T;if(se.isFormData(r)&&(T=_.headers.get("content-type"))&&u.setContentType(T),_.body){const[N,S]=Pi(b,$n(Oi(c)));r=Ri(_.body,Ii,N,S)}}se.isString(m)||(m=m?"include":"omit");const x="credentials"in Request.prototype;f=new Request(a,{...d,signal:h,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",credentials:x?m:void 0});let w=await fetch(f,d);const k=Tr&&(p==="stream"||p==="response");if(Tr&&(l||k&&g)){const _={};["status","statusText","headers"].forEach(B=>{_[B]=w[B]});const T=se.toFiniteNumber(w.headers.get("content-length")),[N,S]=l&&Pi(T,$n(Oi(l),!0))||[];w=new Response(Ri(w.body,Ii,N,()=>{S&&S(),g&&g()}),_)}p=p||"text";let V=await Hn[se.findKey(Hn,p)||"text"](w,e);return!k&&g&&g(),await new Promise((_,T)=>{Ti(_,T,{data:V,headers:Bt.from(w.headers),status:w.status,statusText:w.statusText,config:e,request:f})})}catch(x){throw g&&g(),x&&x.name==="TypeError"&&/Load failed|fetch/i.test(x.message)?Object.assign(new Te("Network Error",Te.ERR_NETWORK,e,f),{cause:x.cause||x}):Te.from(x,x&&x.code,e,f)}})};se.forEach(Pr,(e,a)=>{if(e){try{Object.defineProperty(e,"name",{value:a})}catch{}Object.defineProperty(e,"adapterName",{value:a})}});const Gi=e=>`- ${e}`,Zc=e=>se.isFunction(e)||e===null||e===!1,ji={getAdapter:e=>{e=se.isArray(e)?e:[e];const{length:a}=e;let n,r;const o={};for(let i=0;i<a;i++){n=e[i];let s;if(r=n,!Zc(n)&&(r=Pr[(s=String(n)).toLowerCase()],r===void 0))throw new Te(`Unknown adapter '${s}'`);if(r)break;o[s||"#"+i]=r}if(!r){const i=Object.entries(o).map(([l,c])=>`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let s=a?i.length>1?`since :
|
|
4
|
+
`+i.map(Gi).join(`
|
|
5
|
+
`):" "+Gi(i[0]):"as no adapter specified";throw new Te("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r},adapters:Pr};function Or(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new La(null,e)}function qi(e){return Or(e),e.headers=Bt.from(e.headers),e.data=Dr.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ji.getAdapter(e.adapter||sn.adapter)(e).then(function(r){return Or(e),r.data=Dr.call(e,e.transformResponse,r),r.headers=Bt.from(r.headers),r},function(r){return Di(r)||(Or(e),r&&r.response&&(r.response.data=Dr.call(e,e.transformResponse,r.response),r.response.headers=Bt.from(r.response.headers))),Promise.reject(r)})}const Wi="1.10.0",zn={};["object","boolean","number","function","string","symbol"].forEach((e,a)=>{zn[e]=function(r){return typeof r===e||"a"+(a<1?"n ":" ")+e}});const Yi={};zn.transitional=function(a,n,r){function o(i,s){return"[Axios v"+Wi+"] Transitional option '"+i+"'"+s+(r?". "+r:"")}return(i,s,l)=>{if(a===!1)throw new Te(o(s," has been removed"+(n?" in "+n:"")),Te.ERR_DEPRECATED);return n&&!Yi[s]&&(Yi[s]=!0,console.warn(o(s," has been deprecated since v"+n+" and will be removed in the near future"))),a?a(i,s,l):!0}},zn.spelling=function(a){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${a}`),!0)};function Qc(e,a,n){if(typeof e!="object")throw new Te("options must be an object",Te.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],s=a[i];if(s){const l=e[i],c=l===void 0||s(l,i,e);if(c!==!0)throw new Te("option "+i+" must be "+c,Te.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Te("Unknown option "+i,Te.ERR_BAD_OPTION)}}const In={assertOptions:Qc,validators:zn},Gt=In.validators;let Sa=class{constructor(a){this.defaults=a||{},this.interceptors={request:new Ai,response:new Ai}}async request(a,n){try{return await this._request(a,n)}catch(r){if(r instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const i=o.stack?o.stack.replace(/^.+\n/,""):"";try{r.stack?i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
|
6
|
+
`+i):r.stack=i}catch{}}throw r}}_request(a,n){typeof a=="string"?(n=n||{},n.url=a):n=a||{},n=Ca(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:i}=n;r!==void 0&&In.assertOptions(r,{silentJSONParsing:Gt.transitional(Gt.boolean),forcedJSONParsing:Gt.transitional(Gt.boolean),clarifyTimeoutError:Gt.transitional(Gt.boolean)},!1),o!=null&&(se.isFunction(o)?n.paramsSerializer={serialize:o}:In.assertOptions(o,{encode:Gt.function,serialize:Gt.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),In.assertOptions(n,{baseUrl:Gt.spelling("baseURL"),withXsrfToken:Gt.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=i&&se.merge(i.common,i[n.method]);i&&se.forEach(["delete","get","head","post","put","patch","common"],f=>{delete i[f]}),n.headers=Bt.concat(s,i);const l=[];let c=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(n)===!1||(c=c&&g.synchronous,l.unshift(g.fulfilled,g.rejected))});const p=[];this.interceptors.response.forEach(function(g){p.push(g.fulfilled,g.rejected)});let u,m=0,d;if(!c){const f=[qi.bind(this),void 0];for(f.unshift.apply(f,l),f.push.apply(f,p),d=f.length,u=Promise.resolve(n);m<d;)u=u.then(f[m++],f[m++]);return u}d=l.length;let h=n;for(m=0;m<d;){const f=l[m++],g=l[m++];try{h=f(h)}catch(b){g.call(this,b);break}}try{u=qi.call(this,h)}catch(f){return Promise.reject(f)}for(m=0,d=p.length;m<d;)u=u.then(p[m++],p[m++]);return u}getUri(a){a=Ca(this.defaults,a);const n=Fi(a.baseURL,a.url,a.allowAbsoluteUrls);return Bi(n,a.params,a.paramsSerializer)}};se.forEach(["delete","get","head","options"],function(a){Sa.prototype[a]=function(n,r){return this.request(Ca(r||{},{method:a,url:n,data:(r||{}).data}))}}),se.forEach(["post","put","patch"],function(a){function n(r){return function(i,s,l){return this.request(Ca(l||{},{method:a,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:s}))}}Sa.prototype[a]=n(),Sa.prototype[a+"Form"]=n(!0)});let Kc=class i0{constructor(a){if(typeof a!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(o=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](o);r._listeners=null}),this.promise.then=o=>{let i;const s=new Promise(l=>{r.subscribe(l),i=l}).then(o);return s.cancel=function(){r.unsubscribe(i)},s},a(function(i,s,l){r.reason||(r.reason=new La(i,s,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(a){if(this.reason){a(this.reason);return}this._listeners?this._listeners.push(a):this._listeners=[a]}unsubscribe(a){if(!this._listeners)return;const n=this._listeners.indexOf(a);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const a=new AbortController,n=r=>{a.abort(r)};return this.subscribe(n),a.signal.unsubscribe=()=>this.unsubscribe(n),a.signal}static source(){let a;return{token:new i0(function(o){a=o}),cancel:a}}};function Jc(e){return function(n){return e.apply(null,n)}}function e2(e){return se.isObject(e)&&e.isAxiosError===!0}const Fr={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Fr).forEach(([e,a])=>{Fr[a]=e});function Ui(e){const a=new Sa(e),n=fi(Sa.prototype.request,a);return se.extend(n,Sa.prototype,a,{allOwnKeys:!0}),se.extend(n,a,null,{allOwnKeys:!0}),n.create=function(o){return Ui(Ca(e,o))},n}const Qe=Ui(sn);Qe.Axios=Sa,Qe.CanceledError=La,Qe.CancelToken=Kc,Qe.isCancel=Di,Qe.VERSION=Wi,Qe.toFormData=Fn,Qe.AxiosError=Te,Qe.Cancel=Qe.CanceledError,Qe.all=function(a){return Promise.all(a)},Qe.spread=Jc,Qe.isAxiosError=e2,Qe.mergeConfig=Ca,Qe.AxiosHeaders=Bt,Qe.formToJSON=e=>_i(se.isHTMLForm(e)?new FormData(e):e),Qe.getAdapter=ji.getAdapter,Qe.HttpStatusCode=Fr,Qe.default=Qe;const{Axios:qv,AxiosError:Wv,CanceledError:Yv,isCancel:Uv,CancelToken:Xv,VERSION:Zv,all:Qv,Cancel:Kv,isAxiosError:Jv,spread:eE,toFormData:tE,AxiosHeaders:aE,HttpStatusCode:nE,formToJSON:rE,getAdapter:oE,mergeConfig:iE}=Qe,Xi=It.defineStore("auth",{state:()=>({jwtToken:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzQwMDY5MzIyLCJpYXQiOjE3Mzk5ODI5MjIsImp0aSI6IjcyZjcxYjgzY2I5YTQ1MWFhMmYyODQ0OTlmZGFkZWIxIiwidXNlcl9pZCI6ImU4YTAwNWZhLTk0YjUtNDRiOC05ZDkwLWZjNzJmYzI0NjRhOSJ9.IOzqjqDpRRfqsvqhzEsGDLhQOKWapjzFycNG3Qv8k0U"}),actions:{setToken(e){this.jwtToken=e},clearToken(){this.jwtToken=null}},getters:{getToken:e=>e.jwtToken}}),ra=Qe.create({baseURL:"https://back.dev-smclick.com.br/"});ra.interceptors.request.use(e=>{const n=Xi().getToken;return n&&(e.headers.Authorization=`Bearer ${n}`),e},e=>Promise.reject(e));const t2="v1/api/attendances/attendant/",a2="v1/api/attendances/department/",Lr="v1/api/attendances/internal_chat/",n2="v1/api/instances/instance/",$r=It.defineStore("instance",{state:()=>({instances:[],count:null,loaded:!1}),actions:{async fetchInstances(e=""){try{let a=`${n2}`;const n=await ra.get(a);this.instances=n.data,await Promise.all(this.instances.map(async r=>{r.isLoading=!0;try{const o=r.last_instance_status;o==="DISCONNECTED"||o==="UNDEFINED"?r.status=!1:r.status=!0}catch(o){console.log(o),r.status="Offline"}r.isLoading=!1})),this.count=this.instances.length,this.loaded=!0}catch(a){console.log("Erro ao buscar instâncias:",a),this.loaded=!0}},removeInstance(e){this.instances=this.instances.filter(a=>a.id!==e),this.count=this.instances.length},addInstance(e){const a=this.instances.findIndex(n=>n.id===e.id);a!==-1?this.instances[a]=e:this.instances.push(e),this.count=this.instances.length}}}),r2={class:"w-full relative text-current"},o2={class:"flex cursor-pointer justify-between items-center"},i2={key:0},s2={key:0},l2={key:1,class:"flex items-center gap-2"},c2={class:"flex gap-3 items-center flex-shrink-0"},d2={key:0,xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",class:"w-5 h-5 text-green-400",viewBox:"0 0 16 16"},u2={key:1,class:"relative"},f2={style:{color:"#0081FB"},xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",class:"w-5 h-5 absolute -bottom-2 -right-2 rounded-full bi bi-meta",viewBox:"0 0 16 16"},m2={class:"my-auto text-center mx-auto group-hover:inline-block"},h2={key:1,class:"flex justify-center"},p2={class:"w-full"},g2={key:1,class:"flex items-center gap-2 justify-center"},y2={class:"flex px-4 items-center gap-2"},k2={key:0,class:"absolute top-[48px] w-full z-20 text-sm"},b2={class:"gap-2 rounded-b-lg flex overflow-y-auto p-2 shadow shadow-black dark:shadow-gray-400 bg-base-300 max-h-[200px] flex-col"},x2={class:"select-none cursor-pointer w-full"},w2=["onClick","disabled"],v2={class:"flex w-full items-center pl-2 gap-3"},E2={key:0,xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",class:"w-4 h-4 flex-shrink-0 text-green-400",viewBox:"0 0 16 16"},C2={key:1,class:"relative"},S2={style:{color:"#0081FB"},xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",class:"w-4 h-4 absolute flex-shrink-0 -bottom-2 -right-2 rounded-full bi bi-meta",viewBox:"0 0 16 16"},M2={key:0,class:"w-6 h-6 flex-shrink-0","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},B2={class:"w-full text-center"},A2={class:"my-auto text-center mx-auto group-hover:inline-block"},V2={key:1,class:"flex justify-center"},_2={class:"flex min-w-[50px] text-sm text-center items-center my-auto flex-shrink-0 px-1 justify-center"},N2={key:1,class:"p-4"},Zi={__name:"index",props:{modelValue:{type:Object,default:null},type:{type:String},webhooks:{type:Boolean,default:void 0}},emits:["update:modelValue","function","component-mounted"],setup(e,{emit:a}){const n=$r(),r=t.ref(!1),o=t.ref(null),i=e,s=a;function l(c){o.value=c,s("function",c)}return t.watch(()=>i.modelValue,c=>{o.value=c},{immediate:!0}),t.watch(o,c=>{s("update:modelValue",c)}),t.onMounted(async()=>{if(o.value){const c=n.instances.find(p=>p.id===o.value.id);c&&(o.value.status=c.status)}s("component-mounted")}),(c,p)=>{const u=t.resolveComponent("Popper");return t.openBlock(),t.createElementBlock("main",r2,[t.createElementVNode("div",{class:t.normalizeClass([{"rounded-b-none":r.value},"rounded-lg shadow dark:shadow-gray-400 shadow-gray-900 dark:bg-base-100 bg-base-100 text-center"])},[t.createElementVNode("div",o2,[t.createElementVNode("p",{onClick:p[0]||(p[0]=m=>r.value=!r.value),class:"w-full p-3 px-4 select-none"},[t.unref(n).loaded?(t.openBlock(),t.createElementBlock("div",i2,[o.value?(t.openBlock(),t.createElementBlock("span",l2,[t.createElementVNode("header",c2,[o.value.type==="whatsapp-qrcode"?(t.openBlock(),t.createElementBlock("svg",d2,p[3]||(p[3]=[t.createElementVNode("path",{d:"M13.601 2.326A7.854 7.854 0 0 0 7.994 0C3.627 0 .068 3.558.064 7.926c0 1.399.366 2.76 1.057 3.965L0 16l4.204-1.102a7.933 7.933 0 0 0 3.79.965h.004c4.368 0 7.926-3.558 7.93-7.93A7.898 7.898 0 0 0 13.6 2.326zM7.994 14.521a6.573 6.573 0 0 1-3.356-.92l-.24-.144-2.494.654.666-2.433-.156-.251a6.56 6.56 0 0 1-1.007-3.505c0-3.626 2.957-6.584 6.591-6.584a6.56 6.56 0 0 1 4.66 1.931 6.557 6.557 0 0 1 1.928 4.66c-.004 3.639-2.961 6.592-6.592 6.592zm3.615-4.934c-.197-.099-1.17-.578-1.353-.646-.182-.065-.315-.099-.445.099-.133.197-.513.646-.627.775-.114.133-.232.148-.43.05-.197-.1-.836-.308-1.592-.985-.59-.525-.985-1.175-1.103-1.372-.114-.198-.011-.304.088-.403.087-.088.197-.232.296-.346.1-.114.133-.198.198-.33.065-.134.034-.248-.015-.347-.05-.099-.445-1.076-.612-1.47-.16-.389-.323-.335-.445-.34-.114-.007-.247-.007-.38-.007a.729.729 0 0 0-.529.247c-.182.198-.691.677-.691 1.654 0 .977.71 1.916.81 2.049.098.133 1.394 2.132 3.383 2.992.47.205.84.326 1.129.418.475.152.904.129 1.246.08.38-.058 1.171-.48 1.338-.943.164-.464.164-.86.114-.943-.049-.084-.182-.133-.38-.232z"},null,-1)]))):o.value.type==="whatsapp-api-official"?(t.openBlock(),t.createElementBlock("div",u2,[p[5]||(p[5]=t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",class:"w-5 h-5 text-green-400",viewBox:"0 0 16 16"},[t.createElementVNode("path",{d:"M13.601 2.326A7.854 7.854 0 0 0 7.994 0C3.627 0 .068 3.558.064 7.926c0 1.399.366 2.76 1.057 3.965L0 16l4.204-1.102a7.933 7.933 0 0 0 3.79.965h.004c4.368 0 7.926-3.558 7.93-7.93A7.898 7.898 0 0 0 13.6 2.326zM7.994 14.521a6.573 6.573 0 0 1-3.356-.92l-.24-.144-2.494.654.666-2.433-.156-.251a6.56 6.56 0 0 1-1.007-3.505c0-3.626 2.957-6.584 6.591-6.584a6.56 6.56 0 0 1 4.66 1.931 6.557 6.557 0 0 1 1.928 4.66c-.004 3.639-2.961 6.592-6.592 6.592zm3.615-4.934c-.197-.099-1.17-.578-1.353-.646-.182-.065-.315-.099-.445.099-.133.197-.513.646-.627.775-.114.133-.232.148-.43.05-.197-.1-.836-.308-1.592-.985-.59-.525-.985-1.175-1.103-1.372-.114-.198-.011-.304.088-.403.087-.088.197-.232.296-.346.1-.114.133-.198.198-.33.065-.134.034-.248-.015-.347-.05-.099-.445-1.076-.612-1.47-.16-.389-.323-.335-.445-.34-.114-.007-.247-.007-.38-.007a.729.729 0 0 0-.529.247c-.182.198-.691.677-.691 1.654 0 .977.71 1.916.81 2.049.098.133 1.394 2.132 3.383 2.992.47.205.84.326 1.129.418.475.152.904.129 1.246.08.38-.058 1.171-.48 1.338-.943.164-.464.164-.86.114-.943-.049-.084-.182-.133-.38-.232z"})],-1)),(t.openBlock(),t.createElementBlock("svg",f2,p[4]||(p[4]=[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M8.217 5.243C9.145 3.988 10.171 3 11.483 3 13.96 3 16 6.153 16.001 9.907c0 2.29-.986 3.725-2.757 3.725-1.543 0-2.395-.866-3.924-3.424l-.667-1.123-.118-.197a54.944 54.944 0 0 0-.53-.877l-1.178 2.08c-1.673 2.925-2.615 3.541-3.923 3.541C1.086 13.632 0 12.217 0 9.973 0 6.388 1.995 3 4.598 3c.319 0 .625.039.924.122.31.086.611.22.913.407.577.359 1.154.915 1.782 1.714Zm1.516 2.224c-.252-.41-.494-.787-.727-1.133L9 6.326c.845-1.305 1.543-1.954 2.372-1.954 1.723 0 3.102 2.537 3.102 5.653 0 1.188-.39 1.877-1.195 1.877-.773 0-1.142-.51-2.61-2.87l-.937-1.565ZM4.846 4.756c.725.1 1.385.634 2.34 2.001A212.13 212.13 0 0 0 5.551 9.3c-1.357 2.126-1.826 2.603-2.581 2.603-.777 0-1.24-.682-1.24-1.9 0-2.602 1.298-5.264 2.846-5.264.091 0 .181.006.27.018Z"},null,-1)])))])):t.createCommentVNode("",!0),o.value&&o.value.status!==void 0?(t.openBlock(),t.createBlock(u,{key:2,class:"dark:popper-light popper-dark",hover:!0,placement:"top"},{content:t.withCtx(()=>[t.createElementVNode("main",{class:t.normalizeClass(["p-1 rounded text-sm px-3",{"bg-red-500":o.value.status===!1,"bg-green-500":o.value.status===!0,"bg-purple-500":o.value.status==="Offline"}])},[t.createElementVNode("div",m2,t.toDisplayString(o.value.status===!0?"Conectada":o.value.status===!1?"Desconectada":"Indefinida"),1)],2)]),default:t.withCtx(()=>[o.value.isLoading?(t.openBlock(),t.createElementBlock("div",h2,p[6]||(p[6]=[t.createElementVNode("div",{class:"h-5 w-5 border-t-transparent border-solid animate-spin rounded-full border-white border-4"},null,-1)]))):(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass([{"bg-red-500":o.value.status===!1,"bg-green-500":o.value.status===!0,"bg-purple-500":o.value.status==="Offline"},"text-xs w-5 h-5 py-1 shadow flex justify-start shadow-gray-900 dark:shadow-gray-400 rounded-full cursor-pointer transition-all duration-200 ease-in-out"])},null,2))]),_:1})):t.createCommentVNode("",!0)]),t.createElementVNode("div",p2,t.toDisplayString(o.value.name),1)])):(t.openBlock(),t.createElementBlock("span",s2,t.toDisplayString(t.unref(n).instances?t.unref(n).instances.length:"Sem")+" Instâncias disponíveis",1))])):(t.openBlock(),t.createElementBlock("div",g2,p[7]||(p[7]=[t.createElementVNode("svg",{"aria-hidden":"true",class:"inline w-5 h-5 text-blue-300 animate-spin fill-gray-600",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t.createElementVNode("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),t.createElementVNode("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})],-1),t.createTextVNode("Inicializando instâncias...")])))]),t.createElementVNode("footer",y2,[t.createElementVNode("button",{onClick:p[1]||(p[1]=m=>(o.value=null,r.value=!1))},p[8]||(p[8]=[t.createElementVNode("svg",{class:"w-4 h-4","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},[t.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18 17.94 6M18 18 6.06 6"})],-1)])),t.createElementVNode("button",{onClick:p[2]||(p[2]=m=>r.value=!r.value)},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass([{"rotate-180":r.value},"w-4 h-4 ease-out transition"]),"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},p[9]||(p[9]=[t.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m19 9-7 7-7-7"},null,-1)]),2))])])])],2),r.value?(t.openBlock(),t.createElementBlock("nav",k2,[t.createElementVNode("ul",b2,[t.unref(n).instances.length>0?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(t.unref(n).instances,(m,d)=>(t.openBlock(),t.createElementBlock("li",x2,[t.createElementVNode("button",{class:t.normalizeClass([o.value&&o.value.id===m.id?"bg-base-100":"bg-base-200 hover:bg-base-100","flex rounded-md justify-between items-center p-2 px-1 w-full"]),onClick:h=>(o.value=m,r.value=!1,l(m)),disabled:o.value&&o.value.id===m.id||e.type&&m.type!==e.type||e.webhooks!==void 0&&e.webhooks!==m.webhooks},[t.createElementVNode("div",v2,[m.type==="whatsapp-qrcode"?(t.openBlock(),t.createElementBlock("svg",E2,p[10]||(p[10]=[t.createElementVNode("path",{d:"M13.601 2.326A7.854 7.854 0 0 0 7.994 0C3.627 0 .068 3.558.064 7.926c0 1.399.366 2.76 1.057 3.965L0 16l4.204-1.102a7.933 7.933 0 0 0 3.79.965h.004c4.368 0 7.926-3.558 7.93-7.93A7.898 7.898 0 0 0 13.6 2.326zM7.994 14.521a6.573 6.573 0 0 1-3.356-.92l-.24-.144-2.494.654.666-2.433-.156-.251a6.56 6.56 0 0 1-1.007-3.505c0-3.626 2.957-6.584 6.591-6.584a6.56 6.56 0 0 1 4.66 1.931 6.557 6.557 0 0 1 1.928 4.66c-.004 3.639-2.961 6.592-6.592 6.592zm3.615-4.934c-.197-.099-1.17-.578-1.353-.646-.182-.065-.315-.099-.445.099-.133.197-.513.646-.627.775-.114.133-.232.148-.43.05-.197-.1-.836-.308-1.592-.985-.59-.525-.985-1.175-1.103-1.372-.114-.198-.011-.304.088-.403.087-.088.197-.232.296-.346.1-.114.133-.198.198-.33.065-.134.034-.248-.015-.347-.05-.099-.445-1.076-.612-1.47-.16-.389-.323-.335-.445-.34-.114-.007-.247-.007-.38-.007a.729.729 0 0 0-.529.247c-.182.198-.691.677-.691 1.654 0 .977.71 1.916.81 2.049.098.133 1.394 2.132 3.383 2.992.47.205.84.326 1.129.418.475.152.904.129 1.246.08.38-.058 1.171-.48 1.338-.943.164-.464.164-.86.114-.943-.049-.084-.182-.133-.38-.232z"},null,-1)]))):m.type==="whatsapp-api-official"?(t.openBlock(),t.createElementBlock("div",C2,[p[12]||(p[12]=t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",class:"w-4 h-4 flex-shrink-0 text-green-400",viewBox:"0 0 16 16"},[t.createElementVNode("path",{d:"M13.601 2.326A7.854 7.854 0 0 0 7.994 0C3.627 0 .068 3.558.064 7.926c0 1.399.366 2.76 1.057 3.965L0 16l4.204-1.102a7.933 7.933 0 0 0 3.79.965h.004c4.368 0 7.926-3.558 7.93-7.93A7.898 7.898 0 0 0 13.6 2.326zM7.994 14.521a6.573 6.573 0 0 1-3.356-.92l-.24-.144-2.494.654.666-2.433-.156-.251a6.56 6.56 0 0 1-1.007-3.505c0-3.626 2.957-6.584 6.591-6.584a6.56 6.56 0 0 1 4.66 1.931 6.557 6.557 0 0 1 1.928 4.66c-.004 3.639-2.961 6.592-6.592 6.592zm3.615-4.934c-.197-.099-1.17-.578-1.353-.646-.182-.065-.315-.099-.445.099-.133.197-.513.646-.627.775-.114.133-.232.148-.43.05-.197-.1-.836-.308-1.592-.985-.59-.525-.985-1.175-1.103-1.372-.114-.198-.011-.304.088-.403.087-.088.197-.232.296-.346.1-.114.133-.198.198-.33.065-.134.034-.248-.015-.347-.05-.099-.445-1.076-.612-1.47-.16-.389-.323-.335-.445-.34-.114-.007-.247-.007-.38-.007a.729.729 0 0 0-.529.247c-.182.198-.691.677-.691 1.654 0 .977.71 1.916.81 2.049.098.133 1.394 2.132 3.383 2.992.47.205.84.326 1.129.418.475.152.904.129 1.246.08.38-.058 1.171-.48 1.338-.943.164-.464.164-.86.114-.943-.049-.084-.182-.133-.38-.232z"})],-1)),(t.openBlock(),t.createElementBlock("svg",S2,p[11]||(p[11]=[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M8.217 5.243C9.145 3.988 10.171 3 11.483 3 13.96 3 16 6.153 16.001 9.907c0 2.29-.986 3.725-2.757 3.725-1.543 0-2.395-.866-3.924-3.424l-.667-1.123-.118-.197a54.944 54.944 0 0 0-.53-.877l-1.178 2.08c-1.673 2.925-2.615 3.541-3.923 3.541C1.086 13.632 0 12.217 0 9.973 0 6.388 1.995 3 4.598 3c.319 0 .625.039.924.122.31.086.611.22.913.407.577.359 1.154.915 1.782 1.714Zm1.516 2.224c-.252-.41-.494-.787-.727-1.133L9 6.326c.845-1.305 1.543-1.954 2.372-1.954 1.723 0 3.102 2.537 3.102 5.653 0 1.188-.39 1.877-1.195 1.877-.773 0-1.142-.51-2.61-2.87l-.937-1.565ZM4.846 4.756c.725.1 1.385.634 2.34 2.001A212.13 212.13 0 0 0 5.551 9.3c-1.357 2.126-1.826 2.603-2.581 2.603-.777 0-1.24-.682-1.24-1.9 0-2.602 1.298-5.264 2.846-5.264.091 0 .181.006.27.018Z"},null,-1)])))])):t.createCommentVNode("",!0),t.createVNode(u,{class:"dark:popper-light popper-dark",hover:!0,placement:"top"},{content:t.withCtx(()=>[t.createElementVNode("span",null,t.toDisplayString(e.type&&m.type!==e.type?"Não é possível utilizar esse tipo de Instância neste recurso":e.webhooks===!0?"Essa instância está com o Atendimento desabilitado":"Essa aplicação é somente para instâncias sem atendimento habilitado."),1)]),default:t.withCtx(()=>[e.type&&m.type!==e.type||e.webhooks!==void 0&&e.webhooks!==m.webhooks?(t.openBlock(),t.createElementBlock("svg",M2,p[13]||(p[13]=[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M8 10V7a4 4 0 1 1 8 0v3h1a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h1Zm2-3a2 2 0 1 1 4 0v3h-4V7Zm2 6a1 1 0 0 1 1 1v3a1 1 0 1 1-2 0v-3a1 1 0 0 1 1-1Z","clip-rule":"evenodd"},null,-1)]))):t.createCommentVNode("",!0)]),_:2},1024),t.createElementVNode("p",B2,t.toDisplayString(m.name),1),t.createVNode(u,{class:"dark:popper-light popper-dark",hover:!0,placement:"top"},{content:t.withCtx(()=>[t.createElementVNode("main",{class:t.normalizeClass(["p-1 rounded px-3",{"bg-red-500":m.status===!1,"bg-green-500":m.status===!0,"bg-purple-500":m.status==="Offline"}])},[t.createElementVNode("div",A2,t.toDisplayString(m.status===!0?"Conectada":m.status===!1?"Desconectada":"Indefinida"),1)],2)]),default:t.withCtx(()=>[m.isLoading?(t.openBlock(),t.createElementBlock("div",V2,p[14]||(p[14]=[t.createElementVNode("div",{class:"h-5 w-5 border-t-transparent border-solid animate-spin rounded-full border-white border-4"},null,-1)]))):(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass([{"bg-red-500":m.status===!1,"bg-green-500":m.status===!0,"bg-purple-500":m.status==="Offline"},"text-xs w-5 h-5 py-1 shadow flex justify-start shadow-gray-900 dark:shadow-gray-400 rounded-full cursor-pointer transition-all duration-200 ease-in-out"])},null,2))]),_:2},1024)]),t.createElementVNode("div",_2,[m.telephone?(t.openBlock(),t.createBlock(u,{key:0,class:"dark:popper-light popper-dark",hover:!0,placement:"top"},{content:t.withCtx(()=>[t.createElementVNode("div",null,t.toDisplayString(m.telephone?`${m.telephone}`:""),1)]),default:t.withCtx(()=>[p[15]||(p[15]=t.createElementVNode("svg",{class:"w-6 h-6","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{d:"M7.978 4a2.553 2.553 0 0 0-1.926.877C4.233 6.7 3.699 8.751 4.153 10.814c.44 1.995 1.778 3.893 3.456 5.572 1.68 1.679 3.577 3.018 5.57 3.459 2.062.456 4.115-.073 5.94-1.885a2.556 2.556 0 0 0 .001-3.861l-1.21-1.21a2.689 2.689 0 0 0-3.802 0l-.617.618a.806.806 0 0 1-1.14 0l-1.854-1.855a.807.807 0 0 1 0-1.14l.618-.62a2.692 2.692 0 0 0 0-3.803l-1.21-1.211A2.555 2.555 0 0 0 7.978 4Z"})],-1))]),_:2,__:[15]},1024)):t.createCommentVNode("",!0)])],10,w2)]))),256)):(t.openBlock(),t.createElementBlock("div",N2," Sem instâncias disponíveis"))])])):t.createCommentVNode("",!0)])}}};function Ce(e){const a=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&a==="[object Date]"?new e.constructor(+e):typeof e=="number"||a==="[object Number]"||typeof e=="string"||a==="[object String]"?new Date(e):new Date(NaN)}function Re(e,a){return e instanceof Date?new e.constructor(a):new Date(a)}function Ot(e,a){const n=Ce(e);return isNaN(a)?Re(e,NaN):(a&&n.setDate(n.getDate()+a),n)}function Ft(e,a){const n=Ce(e);if(isNaN(a))return Re(e,NaN);if(!a)return n;const r=n.getDate(),o=Re(e,n.getTime());o.setMonth(n.getMonth()+a+1,0);const i=o.getDate();return r>=i?o:(n.setFullYear(o.getFullYear(),o.getMonth(),r),n)}function Qi(e,a){const{years:n=0,months:r=0,weeks:o=0,days:i=0,hours:s=0,minutes:l=0,seconds:c=0}=a,p=Ce(e),u=r||n?Ft(p,r+n*12):p,m=i||o?Ot(u,i+o*7):u,d=l+s*60,f=(c+d*60)*1e3;return Re(e,m.getTime()+f)}function D2(e,a){const n=+Ce(e);return Re(e,n+a)}const Ki=6048e5,T2=864e5,P2=6e4,Ji=36e5,O2=1e3;function F2(e,a){return D2(e,a*Ji)}let L2={};function Ma(){return L2}function Lt(e,a){var l,c,p,u;const n=Ma(),r=(a==null?void 0:a.weekStartsOn)??((c=(l=a==null?void 0:a.locale)==null?void 0:l.options)==null?void 0:c.weekStartsOn)??n.weekStartsOn??((u=(p=n.locale)==null?void 0:p.options)==null?void 0:u.weekStartsOn)??0,o=Ce(e),i=o.getDay(),s=(i<r?7:0)+i-r;return o.setDate(o.getDate()-s),o.setHours(0,0,0,0),o}function $a(e){return Lt(e,{weekStartsOn:1})}function es(e){const a=Ce(e),n=a.getFullYear(),r=Re(e,0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);const o=$a(r),i=Re(e,0);i.setFullYear(n,0,4),i.setHours(0,0,0,0);const s=$a(i);return a.getTime()>=o.getTime()?n+1:a.getTime()>=s.getTime()?n:n-1}function ts(e){const a=Ce(e);return a.setHours(0,0,0,0),a}function Gn(e){const a=Ce(e),n=new Date(Date.UTC(a.getFullYear(),a.getMonth(),a.getDate(),a.getHours(),a.getMinutes(),a.getSeconds(),a.getMilliseconds()));return n.setUTCFullYear(a.getFullYear()),+e-+n}function as(e,a){const n=ts(e),r=ts(a),o=+n-Gn(n),i=+r-Gn(r);return Math.round((o-i)/T2)}function $2(e){const a=es(e),n=Re(e,0);return n.setFullYear(a,0,4),n.setHours(0,0,0,0),$a(n)}function R2(e,a){const n=a*3;return Ft(e,n)}function Rr(e,a){return Ft(e,a*12)}function ns(e,a){const n=Ce(e),r=Ce(a),o=n.getTime()-r.getTime();return o<0?-1:o>0?1:o}function rs(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function cn(e){if(!rs(e)&&typeof e!="number")return!1;const a=Ce(e);return!isNaN(Number(a))}function os(e){const a=Ce(e);return Math.trunc(a.getMonth()/3)+1}function H2(e,a){const n=Ce(e),r=Ce(a);return n.getFullYear()-r.getFullYear()}function z2(e,a){const n=Ce(e),r=Ce(a),o=ns(n,r),i=Math.abs(H2(n,r));n.setFullYear(1584),r.setFullYear(1584);const s=ns(n,r)===-o,l=o*(i-+s);return l===0?0:l}function is(e,a){const n=Ce(e.start),r=Ce(e.end);let o=+n>+r;const i=o?+n:+r,s=o?r:n;s.setHours(0,0,0,0);let l=1;const c=[];for(;+s<=i;)c.push(Ce(s)),s.setDate(s.getDate()+l),s.setHours(0,0,0,0);return o?c.reverse():c}function Ba(e){const a=Ce(e),n=a.getMonth(),r=n-n%3;return a.setMonth(r,1),a.setHours(0,0,0,0),a}function I2(e,a){const n=Ce(e.start),r=Ce(e.end);let o=+n>+r;const i=o?+Ba(n):+Ba(r);let s=Ba(o?r:n),l=1;const c=[];for(;+s<=i;)c.push(Ce(s)),s=R2(s,l);return o?c.reverse():c}function G2(e){const a=Ce(e);return a.setDate(1),a.setHours(0,0,0,0),a}function ss(e){const a=Ce(e),n=a.getFullYear();return a.setFullYear(n+1,0,0),a.setHours(23,59,59,999),a}function dn(e){const a=Ce(e),n=Re(e,0);return n.setFullYear(a.getFullYear(),0,1),n.setHours(0,0,0,0),n}function ls(e,a){var l,c,p,u;const n=Ma(),r=(a==null?void 0:a.weekStartsOn)??((c=(l=a==null?void 0:a.locale)==null?void 0:l.options)==null?void 0:c.weekStartsOn)??n.weekStartsOn??((u=(p=n.locale)==null?void 0:p.options)==null?void 0:u.weekStartsOn)??0,o=Ce(e),i=o.getDay(),s=(i<r?-7:0)+6-(i-r);return o.setDate(o.getDate()+s),o.setHours(23,59,59,999),o}function cs(e){const a=Ce(e),n=a.getMonth(),r=n-n%3+3;return a.setMonth(r,0),a.setHours(23,59,59,999),a}const j2={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},q2=(e,a,n)=>{let r;const o=j2[e];return typeof o=="string"?r=o:a===1?r=o.one:r=o.other.replace("{{count}}",a.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function Hr(e){return(a={})=>{const n=a.width?String(a.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const W2={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Y2={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},U2={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},X2={date:Hr({formats:W2,defaultWidth:"full"}),time:Hr({formats:Y2,defaultWidth:"full"}),dateTime:Hr({formats:U2,defaultWidth:"full"})},Z2={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Q2=(e,a,n,r)=>Z2[e];function un(e){return(a,n)=>{const r=n!=null&&n.context?String(n.context):"standalone";let o;if(r==="formatting"&&e.formattingValues){const s=e.defaultFormattingWidth||e.defaultWidth,l=n!=null&&n.width?String(n.width):s;o=e.formattingValues[l]||e.formattingValues[s]}else{const s=e.defaultWidth,l=n!=null&&n.width?String(n.width):e.defaultWidth;o=e.values[l]||e.values[s]}const i=e.argumentCallback?e.argumentCallback(a):a;return o[i]}}const K2={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},J2={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},ed={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},td={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},ad={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},nd={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},rd={ordinalNumber:(e,a)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:un({values:K2,defaultWidth:"wide"}),quarter:un({values:J2,defaultWidth:"wide",argumentCallback:e=>e-1}),month:un({values:ed,defaultWidth:"wide"}),day:un({values:td,defaultWidth:"wide"}),dayPeriod:un({values:ad,defaultWidth:"wide",formattingValues:nd,defaultFormattingWidth:"wide"})};function fn(e){return(a,n={})=>{const r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=a.match(o);if(!i)return null;const s=i[0],l=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(l)?id(l,m=>m.test(s)):od(l,m=>m.test(s));let p;p=e.valueCallback?e.valueCallback(c):c,p=n.valueCallback?n.valueCallback(p):p;const u=a.slice(s.length);return{value:p,rest:u}}}function od(e,a){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&a(e[n]))return n}function id(e,a){for(let n=0;n<e.length;n++)if(a(e[n]))return n}function sd(e){return(a,n={})=>{const r=a.match(e.matchPattern);if(!r)return null;const o=r[0],i=a.match(e.parsePattern);if(!i)return null;let s=e.valueCallback?e.valueCallback(i[0]):i[0];s=n.valueCallback?n.valueCallback(s):s;const l=a.slice(o.length);return{value:s,rest:l}}}const ld=/^(\d+)(th|st|nd|rd)?/i,cd=/\d+/i,dd={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},ud={any:[/^b/i,/^(a|c)/i]},fd={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},md={any:[/1/i,/2/i,/3/i,/4/i]},hd={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},pd={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},gd={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},yd={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},kd={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},bd={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},xd={ordinalNumber:sd({matchPattern:ld,parsePattern:cd,valueCallback:e=>parseInt(e,10)}),era:fn({matchPatterns:dd,defaultMatchWidth:"wide",parsePatterns:ud,defaultParseWidth:"any"}),quarter:fn({matchPatterns:fd,defaultMatchWidth:"wide",parsePatterns:md,defaultParseWidth:"any",valueCallback:e=>e+1}),month:fn({matchPatterns:hd,defaultMatchWidth:"wide",parsePatterns:pd,defaultParseWidth:"any"}),day:fn({matchPatterns:gd,defaultMatchWidth:"wide",parsePatterns:yd,defaultParseWidth:"any"}),dayPeriod:fn({matchPatterns:kd,defaultMatchWidth:"any",parsePatterns:bd,defaultParseWidth:"any"})},ds={code:"en-US",formatDistance:q2,formatLong:X2,formatRelative:Q2,localize:rd,match:xd,options:{weekStartsOn:0,firstWeekContainsDate:1}};function wd(e){const a=Ce(e);return as(a,dn(a))+1}function zr(e){const a=Ce(e),n=+$a(a)-+$2(a);return Math.round(n/Ki)+1}function Ir(e,a){var u,m,d,h;const n=Ce(e),r=n.getFullYear(),o=Ma(),i=(a==null?void 0:a.firstWeekContainsDate)??((m=(u=a==null?void 0:a.locale)==null?void 0:u.options)==null?void 0:m.firstWeekContainsDate)??o.firstWeekContainsDate??((h=(d=o.locale)==null?void 0:d.options)==null?void 0:h.firstWeekContainsDate)??1,s=Re(e,0);s.setFullYear(r+1,0,i),s.setHours(0,0,0,0);const l=Lt(s,a),c=Re(e,0);c.setFullYear(r,0,i),c.setHours(0,0,0,0);const p=Lt(c,a);return n.getTime()>=l.getTime()?r+1:n.getTime()>=p.getTime()?r:r-1}function vd(e,a){var l,c,p,u;const n=Ma(),r=(a==null?void 0:a.firstWeekContainsDate)??((c=(l=a==null?void 0:a.locale)==null?void 0:l.options)==null?void 0:c.firstWeekContainsDate)??n.firstWeekContainsDate??((u=(p=n.locale)==null?void 0:p.options)==null?void 0:u.firstWeekContainsDate)??1,o=Ir(e,a),i=Re(e,0);return i.setFullYear(o,0,r),i.setHours(0,0,0,0),Lt(i,a)}function Gr(e,a){const n=Ce(e),r=+Lt(n,a)-+vd(n,a);return Math.round(r/Ki)+1}function Ie(e,a){const n=e<0?"-":"",r=Math.abs(e).toString().padStart(a,"0");return n+r}const oa={y(e,a){const n=e.getFullYear(),r=n>0?n:1-n;return Ie(a==="yy"?r%100:r,a.length)},M(e,a){const n=e.getMonth();return a==="M"?String(n+1):Ie(n+1,2)},d(e,a){return Ie(e.getDate(),a.length)},a(e,a){const n=e.getHours()/12>=1?"pm":"am";switch(a){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,a){return Ie(e.getHours()%12||12,a.length)},H(e,a){return Ie(e.getHours(),a.length)},m(e,a){return Ie(e.getMinutes(),a.length)},s(e,a){return Ie(e.getSeconds(),a.length)},S(e,a){const n=a.length,r=e.getMilliseconds(),o=Math.trunc(r*Math.pow(10,n-3));return Ie(o,a.length)}},Ra={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},us={G:function(e,a,n){const r=e.getFullYear()>0?1:0;switch(a){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(e,a,n){if(a==="yo"){const r=e.getFullYear(),o=r>0?r:1-r;return n.ordinalNumber(o,{unit:"year"})}return oa.y(e,a)},Y:function(e,a,n,r){const o=Ir(e,r),i=o>0?o:1-o;if(a==="YY"){const s=i%100;return Ie(s,2)}return a==="Yo"?n.ordinalNumber(i,{unit:"year"}):Ie(i,a.length)},R:function(e,a){const n=es(e);return Ie(n,a.length)},u:function(e,a){const n=e.getFullYear();return Ie(n,a.length)},Q:function(e,a,n){const r=Math.ceil((e.getMonth()+1)/3);switch(a){case"Q":return String(r);case"QQ":return Ie(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,a,n){const r=Math.ceil((e.getMonth()+1)/3);switch(a){case"q":return String(r);case"qq":return Ie(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,a,n){const r=e.getMonth();switch(a){case"M":case"MM":return oa.M(e,a);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,a,n){const r=e.getMonth();switch(a){case"L":return String(r+1);case"LL":return Ie(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,a,n,r){const o=Gr(e,r);return a==="wo"?n.ordinalNumber(o,{unit:"week"}):Ie(o,a.length)},I:function(e,a,n){const r=zr(e);return a==="Io"?n.ordinalNumber(r,{unit:"week"}):Ie(r,a.length)},d:function(e,a,n){return a==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):oa.d(e,a)},D:function(e,a,n){const r=wd(e);return a==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):Ie(r,a.length)},E:function(e,a,n){const r=e.getDay();switch(a){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,a,n,r){const o=e.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(a){case"e":return String(i);case"ee":return Ie(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});case"eeee":default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,a,n,r){const o=e.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(a){case"c":return String(i);case"cc":return Ie(i,a.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});case"cccc":default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,a,n){const r=e.getDay(),o=r===0?7:r;switch(a){case"i":return String(o);case"ii":return Ie(o,a.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,a,n){const o=e.getHours()/12>=1?"pm":"am";switch(a){case"a":case"aa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,a,n){const r=e.getHours();let o;switch(r===12?o=Ra.noon:r===0?o=Ra.midnight:o=r/12>=1?"pm":"am",a){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,a,n){const r=e.getHours();let o;switch(r>=17?o=Ra.evening:r>=12?o=Ra.afternoon:r>=4?o=Ra.morning:o=Ra.night,a){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,a,n){if(a==="ho"){let r=e.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return oa.h(e,a)},H:function(e,a,n){return a==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):oa.H(e,a)},K:function(e,a,n){const r=e.getHours()%12;return a==="Ko"?n.ordinalNumber(r,{unit:"hour"}):Ie(r,a.length)},k:function(e,a,n){let r=e.getHours();return r===0&&(r=24),a==="ko"?n.ordinalNumber(r,{unit:"hour"}):Ie(r,a.length)},m:function(e,a,n){return a==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):oa.m(e,a)},s:function(e,a,n){return a==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):oa.s(e,a)},S:function(e,a){return oa.S(e,a)},X:function(e,a,n){const r=e.getTimezoneOffset();if(r===0)return"Z";switch(a){case"X":return ms(r);case"XXXX":case"XX":return Aa(r);case"XXXXX":case"XXX":default:return Aa(r,":")}},x:function(e,a,n){const r=e.getTimezoneOffset();switch(a){case"x":return ms(r);case"xxxx":case"xx":return Aa(r);case"xxxxx":case"xxx":default:return Aa(r,":")}},O:function(e,a,n){const r=e.getTimezoneOffset();switch(a){case"O":case"OO":case"OOO":return"GMT"+fs(r,":");case"OOOO":default:return"GMT"+Aa(r,":")}},z:function(e,a,n){const r=e.getTimezoneOffset();switch(a){case"z":case"zz":case"zzz":return"GMT"+fs(r,":");case"zzzz":default:return"GMT"+Aa(r,":")}},t:function(e,a,n){const r=Math.trunc(e.getTime()/1e3);return Ie(r,a.length)},T:function(e,a,n){const r=e.getTime();return Ie(r,a.length)}};function fs(e,a=""){const n=e>0?"-":"+",r=Math.abs(e),o=Math.trunc(r/60),i=r%60;return i===0?n+String(o):n+String(o)+a+Ie(i,2)}function ms(e,a){return e%60===0?(e>0?"-":"+")+Ie(Math.abs(e)/60,2):Aa(e,a)}function Aa(e,a=""){const n=e>0?"-":"+",r=Math.abs(e),o=Ie(Math.trunc(r/60),2),i=Ie(r%60,2);return n+o+a+i}const hs=(e,a)=>{switch(e){case"P":return a.date({width:"short"});case"PP":return a.date({width:"medium"});case"PPP":return a.date({width:"long"});case"PPPP":default:return a.date({width:"full"})}},ps=(e,a)=>{switch(e){case"p":return a.time({width:"short"});case"pp":return a.time({width:"medium"});case"ppp":return a.time({width:"long"});case"pppp":default:return a.time({width:"full"})}},jr={p:ps,P:(e,a)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],o=n[2];if(!o)return hs(e,a);let i;switch(r){case"P":i=a.dateTime({width:"short"});break;case"PP":i=a.dateTime({width:"medium"});break;case"PPP":i=a.dateTime({width:"long"});break;case"PPPP":default:i=a.dateTime({width:"full"});break}return i.replace("{{date}}",hs(r,a)).replace("{{time}}",ps(o,a))}},Ed=/^D+$/,Cd=/^Y+$/,Sd=["D","DD","YY","YYYY"];function gs(e){return Ed.test(e)}function ys(e){return Cd.test(e)}function qr(e,a,n){const r=Md(e,a,n);if(console.warn(r),Sd.includes(e))throw new RangeError(r)}function Md(e,a,n){const r=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${a}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const Bd=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Ad=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Vd=/^'([^]*?)'?$/,_d=/''/g,Nd=/[a-zA-Z]/;function jt(e,a,n){var u,m,d,h,f,g,b,x;const r=Ma(),o=(n==null?void 0:n.locale)??r.locale??ds,i=(n==null?void 0:n.firstWeekContainsDate)??((m=(u=n==null?void 0:n.locale)==null?void 0:u.options)==null?void 0:m.firstWeekContainsDate)??r.firstWeekContainsDate??((h=(d=r.locale)==null?void 0:d.options)==null?void 0:h.firstWeekContainsDate)??1,s=(n==null?void 0:n.weekStartsOn)??((g=(f=n==null?void 0:n.locale)==null?void 0:f.options)==null?void 0:g.weekStartsOn)??r.weekStartsOn??((x=(b=r.locale)==null?void 0:b.options)==null?void 0:x.weekStartsOn)??0,l=Ce(e);if(!cn(l))throw new RangeError("Invalid time value");let c=a.match(Ad).map(w=>{const k=w[0];if(k==="p"||k==="P"){const V=jr[k];return V(w,o.formatLong)}return w}).join("").match(Bd).map(w=>{if(w==="''")return{isToken:!1,value:"'"};const k=w[0];if(k==="'")return{isToken:!1,value:Dd(w)};if(us[k])return{isToken:!0,value:w};if(k.match(Nd))throw new RangeError("Format string contains an unescaped latin alphabet character `"+k+"`");return{isToken:!1,value:w}});o.localize.preprocessor&&(c=o.localize.preprocessor(l,c));const p={firstWeekContainsDate:i,weekStartsOn:s,locale:o};return c.map(w=>{if(!w.isToken)return w.value;const k=w.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&ys(k)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&gs(k))&&qr(k,a,String(e));const V=us[k[0]];return V(l,k,o.localize,p)}).join("")}function Dd(e){const a=e.match(Vd);return a?a[1].replace(_d,"'"):e}function Td(e){return Ce(e).getDay()}function Pd(e){const a=Ce(e),n=a.getFullYear(),r=a.getMonth(),o=Re(e,0);return o.setFullYear(n,r+1,0),o.setHours(0,0,0,0),o.getDate()}function Od(){return Object.assign({},Ma())}function Qt(e){return Ce(e).getHours()}function Fd(e){let n=Ce(e).getDay();return n===0&&(n=7),n}function ia(e){return Ce(e).getMinutes()}function Oe(e){return Ce(e).getMonth()}function Ha(e){return Ce(e).getSeconds()}function Ve(e){return Ce(e).getFullYear()}function za(e,a){const n=Ce(e),r=Ce(a);return n.getTime()>r.getTime()}function mn(e,a){const n=Ce(e),r=Ce(a);return+n<+r}function Ia(e,a){const n=Ce(e),r=Ce(a);return+n==+r}function Ld(e,a){const n=a instanceof Date?Re(a,0):new a(0);return n.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),n}const $d=10;class ks{constructor(){ve(this,"subPriority",0)}validate(a,n){return!0}}class Rd extends ks{constructor(a,n,r,o,i){super(),this.value=a,this.validateValue=n,this.setValue=r,this.priority=o,i&&(this.subPriority=i)}validate(a,n){return this.validateValue(a,this.value,n)}set(a,n,r){return this.setValue(a,n,this.value,r)}}class Hd extends ks{constructor(){super(...arguments);ve(this,"priority",$d);ve(this,"subPriority",-1)}set(n,r){return r.timestampIsSet?n:Re(n,Ld(n,Date))}}class He{run(a,n,r,o){const i=this.parse(a,n,r,o);return i?{setter:new Rd(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(a,n,r){return!0}}class zd extends He{constructor(){super(...arguments);ve(this,"priority",140);ve(this,"incompatibleTokens",["R","u","t","T"])}parse(n,r,o){switch(r){case"G":case"GG":case"GGG":return o.era(n,{width:"abbreviated"})||o.era(n,{width:"narrow"});case"GGGGG":return o.era(n,{width:"narrow"});case"GGGG":default:return o.era(n,{width:"wide"})||o.era(n,{width:"abbreviated"})||o.era(n,{width:"narrow"})}}set(n,r,o){return r.era=o,n.setFullYear(o,0,1),n.setHours(0,0,0,0),n}}const rt={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},qt={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function ot(e,a){return e&&{value:a(e.value),rest:e.rest}}function Ke(e,a){const n=a.match(e);return n?{value:parseInt(n[0],10),rest:a.slice(n[0].length)}:null}function Wt(e,a){const n=a.match(e);if(!n)return null;if(n[0]==="Z")return{value:0,rest:a.slice(1)};const r=n[1]==="+"?1:-1,o=n[2]?parseInt(n[2],10):0,i=n[3]?parseInt(n[3],10):0,s=n[5]?parseInt(n[5],10):0;return{value:r*(o*Ji+i*P2+s*O2),rest:a.slice(n[0].length)}}function bs(e){return Ke(rt.anyDigitsSigned,e)}function et(e,a){switch(e){case 1:return Ke(rt.singleDigit,a);case 2:return Ke(rt.twoDigits,a);case 3:return Ke(rt.threeDigits,a);case 4:return Ke(rt.fourDigits,a);default:return Ke(new RegExp("^\\d{1,"+e+"}"),a)}}function jn(e,a){switch(e){case 1:return Ke(rt.singleDigitSigned,a);case 2:return Ke(rt.twoDigitsSigned,a);case 3:return Ke(rt.threeDigitsSigned,a);case 4:return Ke(rt.fourDigitsSigned,a);default:return Ke(new RegExp("^-?\\d{1,"+e+"}"),a)}}function Wr(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function xs(e,a){const n=a>0,r=n?a:1-a;let o;if(r<=50)o=e||100;else{const i=r+50,s=Math.trunc(i/100)*100,l=e>=i%100;o=e+s-(l?100:0)}return n?o:1-o}function ws(e){return e%400===0||e%4===0&&e%100!==0}class Id extends He{constructor(){super(...arguments);ve(this,"priority",130);ve(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(n,r,o){const i=s=>({year:s,isTwoDigitYear:r==="yy"});switch(r){case"y":return ot(et(4,n),i);case"yo":return ot(o.ordinalNumber(n,{unit:"year"}),i);default:return ot(et(r.length,n),i)}}validate(n,r){return r.isTwoDigitYear||r.year>0}set(n,r,o){const i=n.getFullYear();if(o.isTwoDigitYear){const l=xs(o.year,i);return n.setFullYear(l,0,1),n.setHours(0,0,0,0),n}const s=!("era"in r)||r.era===1?o.year:1-o.year;return n.setFullYear(s,0,1),n.setHours(0,0,0,0),n}}class Gd extends He{constructor(){super(...arguments);ve(this,"priority",130);ve(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(n,r,o){const i=s=>({year:s,isTwoDigitYear:r==="YY"});switch(r){case"Y":return ot(et(4,n),i);case"Yo":return ot(o.ordinalNumber(n,{unit:"year"}),i);default:return ot(et(r.length,n),i)}}validate(n,r){return r.isTwoDigitYear||r.year>0}set(n,r,o,i){const s=Ir(n,i);if(o.isTwoDigitYear){const c=xs(o.year,s);return n.setFullYear(c,0,i.firstWeekContainsDate),n.setHours(0,0,0,0),Lt(n,i)}const l=!("era"in r)||r.era===1?o.year:1-o.year;return n.setFullYear(l,0,i.firstWeekContainsDate),n.setHours(0,0,0,0),Lt(n,i)}}class jd extends He{constructor(){super(...arguments);ve(this,"priority",130);ve(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(n,r){return jn(r==="R"?4:r.length,n)}set(n,r,o){const i=Re(n,0);return i.setFullYear(o,0,4),i.setHours(0,0,0,0),$a(i)}}class qd extends He{constructor(){super(...arguments);ve(this,"priority",130);ve(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(n,r){return jn(r==="u"?4:r.length,n)}set(n,r,o){return n.setFullYear(o,0,1),n.setHours(0,0,0,0),n}}class Wd extends He{constructor(){super(...arguments);ve(this,"priority",120);ve(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(n,r,o){switch(r){case"Q":case"QQ":return et(r.length,n);case"Qo":return o.ordinalNumber(n,{unit:"quarter"});case"QQQ":return o.quarter(n,{width:"abbreviated",context:"formatting"})||o.quarter(n,{width:"narrow",context:"formatting"});case"QQQQQ":return o.quarter(n,{width:"narrow",context:"formatting"});case"QQQQ":default:return o.quarter(n,{width:"wide",context:"formatting"})||o.quarter(n,{width:"abbreviated",context:"formatting"})||o.quarter(n,{width:"narrow",context:"formatting"})}}validate(n,r){return r>=1&&r<=4}set(n,r,o){return n.setMonth((o-1)*3,1),n.setHours(0,0,0,0),n}}class Yd extends He{constructor(){super(...arguments);ve(this,"priority",120);ve(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(n,r,o){switch(r){case"q":case"qq":return et(r.length,n);case"qo":return o.ordinalNumber(n,{unit:"quarter"});case"qqq":return o.quarter(n,{width:"abbreviated",context:"standalone"})||o.quarter(n,{width:"narrow",context:"standalone"});case"qqqqq":return o.quarter(n,{width:"narrow",context:"standalone"});case"qqqq":default:return o.quarter(n,{width:"wide",context:"standalone"})||o.quarter(n,{width:"abbreviated",context:"standalone"})||o.quarter(n,{width:"narrow",context:"standalone"})}}validate(n,r){return r>=1&&r<=4}set(n,r,o){return n.setMonth((o-1)*3,1),n.setHours(0,0,0,0),n}}class Ud extends He{constructor(){super(...arguments);ve(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);ve(this,"priority",110)}parse(n,r,o){const i=s=>s-1;switch(r){case"M":return ot(Ke(rt.month,n),i);case"MM":return ot(et(2,n),i);case"Mo":return ot(o.ordinalNumber(n,{unit:"month"}),i);case"MMM":return o.month(n,{width:"abbreviated",context:"formatting"})||o.month(n,{width:"narrow",context:"formatting"});case"MMMMM":return o.month(n,{width:"narrow",context:"formatting"});case"MMMM":default:return o.month(n,{width:"wide",context:"formatting"})||o.month(n,{width:"abbreviated",context:"formatting"})||o.month(n,{width:"narrow",context:"formatting"})}}validate(n,r){return r>=0&&r<=11}set(n,r,o){return n.setMonth(o,1),n.setHours(0,0,0,0),n}}class Xd extends He{constructor(){super(...arguments);ve(this,"priority",110);ve(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(n,r,o){const i=s=>s-1;switch(r){case"L":return ot(Ke(rt.month,n),i);case"LL":return ot(et(2,n),i);case"Lo":return ot(o.ordinalNumber(n,{unit:"month"}),i);case"LLL":return o.month(n,{width:"abbreviated",context:"standalone"})||o.month(n,{width:"narrow",context:"standalone"});case"LLLLL":return o.month(n,{width:"narrow",context:"standalone"});case"LLLL":default:return o.month(n,{width:"wide",context:"standalone"})||o.month(n,{width:"abbreviated",context:"standalone"})||o.month(n,{width:"narrow",context:"standalone"})}}validate(n,r){return r>=0&&r<=11}set(n,r,o){return n.setMonth(o,1),n.setHours(0,0,0,0),n}}function Zd(e,a,n){const r=Ce(e),o=Gr(r,n)-a;return r.setDate(r.getDate()-o*7),r}class Qd extends He{constructor(){super(...arguments);ve(this,"priority",100);ve(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(n,r,o){switch(r){case"w":return Ke(rt.week,n);case"wo":return o.ordinalNumber(n,{unit:"week"});default:return et(r.length,n)}}validate(n,r){return r>=1&&r<=53}set(n,r,o,i){return Lt(Zd(n,o,i),i)}}function Kd(e,a){const n=Ce(e),r=zr(n)-a;return n.setDate(n.getDate()-r*7),n}class Jd extends He{constructor(){super(...arguments);ve(this,"priority",100);ve(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(n,r,o){switch(r){case"I":return Ke(rt.week,n);case"Io":return o.ordinalNumber(n,{unit:"week"});default:return et(r.length,n)}}validate(n,r){return r>=1&&r<=53}set(n,r,o){return $a(Kd(n,o))}}const e3=[31,28,31,30,31,30,31,31,30,31,30,31],t3=[31,29,31,30,31,30,31,31,30,31,30,31];class a3 extends He{constructor(){super(...arguments);ve(this,"priority",90);ve(this,"subPriority",1);ve(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(n,r,o){switch(r){case"d":return Ke(rt.date,n);case"do":return o.ordinalNumber(n,{unit:"date"});default:return et(r.length,n)}}validate(n,r){const o=n.getFullYear(),i=ws(o),s=n.getMonth();return i?r>=1&&r<=t3[s]:r>=1&&r<=e3[s]}set(n,r,o){return n.setDate(o),n.setHours(0,0,0,0),n}}class n3 extends He{constructor(){super(...arguments);ve(this,"priority",90);ve(this,"subpriority",1);ve(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(n,r,o){switch(r){case"D":case"DD":return Ke(rt.dayOfYear,n);case"Do":return o.ordinalNumber(n,{unit:"date"});default:return et(r.length,n)}}validate(n,r){const o=n.getFullYear();return ws(o)?r>=1&&r<=366:r>=1&&r<=365}set(n,r,o){return n.setMonth(0,o),n.setHours(0,0,0,0),n}}function Yr(e,a,n){var m,d,h,f;const r=Ma(),o=(n==null?void 0:n.weekStartsOn)??((d=(m=n==null?void 0:n.locale)==null?void 0:m.options)==null?void 0:d.weekStartsOn)??r.weekStartsOn??((f=(h=r.locale)==null?void 0:h.options)==null?void 0:f.weekStartsOn)??0,i=Ce(e),s=i.getDay(),c=(a%7+7)%7,p=7-o,u=a<0||a>6?a-(s+p)%7:(c+p)%7-(s+p)%7;return Ot(i,u)}class r3 extends He{constructor(){super(...arguments);ve(this,"priority",90);ve(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(n,r,o){switch(r){case"E":case"EE":case"EEE":return o.day(n,{width:"abbreviated",context:"formatting"})||o.day(n,{width:"short",context:"formatting"})||o.day(n,{width:"narrow",context:"formatting"});case"EEEEE":return o.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return o.day(n,{width:"short",context:"formatting"})||o.day(n,{width:"narrow",context:"formatting"});case"EEEE":default:return o.day(n,{width:"wide",context:"formatting"})||o.day(n,{width:"abbreviated",context:"formatting"})||o.day(n,{width:"short",context:"formatting"})||o.day(n,{width:"narrow",context:"formatting"})}}validate(n,r){return r>=0&&r<=6}set(n,r,o,i){return n=Yr(n,o,i),n.setHours(0,0,0,0),n}}class o3 extends He{constructor(){super(...arguments);ve(this,"priority",90);ve(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(n,r,o,i){const s=l=>{const c=Math.floor((l-1)/7)*7;return(l+i.weekStartsOn+6)%7+c};switch(r){case"e":case"ee":return ot(et(r.length,n),s);case"eo":return ot(o.ordinalNumber(n,{unit:"day"}),s);case"eee":return o.day(n,{width:"abbreviated",context:"formatting"})||o.day(n,{width:"short",context:"formatting"})||o.day(n,{width:"narrow",context:"formatting"});case"eeeee":return o.day(n,{width:"narrow",context:"formatting"});case"eeeeee":return o.day(n,{width:"short",context:"formatting"})||o.day(n,{width:"narrow",context:"formatting"});case"eeee":default:return o.day(n,{width:"wide",context:"formatting"})||o.day(n,{width:"abbreviated",context:"formatting"})||o.day(n,{width:"short",context:"formatting"})||o.day(n,{width:"narrow",context:"formatting"})}}validate(n,r){return r>=0&&r<=6}set(n,r,o,i){return n=Yr(n,o,i),n.setHours(0,0,0,0),n}}class i3 extends He{constructor(){super(...arguments);ve(this,"priority",90);ve(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(n,r,o,i){const s=l=>{const c=Math.floor((l-1)/7)*7;return(l+i.weekStartsOn+6)%7+c};switch(r){case"c":case"cc":return ot(et(r.length,n),s);case"co":return ot(o.ordinalNumber(n,{unit:"day"}),s);case"ccc":return o.day(n,{width:"abbreviated",context:"standalone"})||o.day(n,{width:"short",context:"standalone"})||o.day(n,{width:"narrow",context:"standalone"});case"ccccc":return o.day(n,{width:"narrow",context:"standalone"});case"cccccc":return o.day(n,{width:"short",context:"standalone"})||o.day(n,{width:"narrow",context:"standalone"});case"cccc":default:return o.day(n,{width:"wide",context:"standalone"})||o.day(n,{width:"abbreviated",context:"standalone"})||o.day(n,{width:"short",context:"standalone"})||o.day(n,{width:"narrow",context:"standalone"})}}validate(n,r){return r>=0&&r<=6}set(n,r,o,i){return n=Yr(n,o,i),n.setHours(0,0,0,0),n}}function s3(e,a){const n=Ce(e),r=Fd(n),o=a-r;return Ot(n,o)}class l3 extends He{constructor(){super(...arguments);ve(this,"priority",90);ve(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(n,r,o){const i=s=>s===0?7:s;switch(r){case"i":case"ii":return et(r.length,n);case"io":return o.ordinalNumber(n,{unit:"day"});case"iii":return ot(o.day(n,{width:"abbreviated",context:"formatting"})||o.day(n,{width:"short",context:"formatting"})||o.day(n,{width:"narrow",context:"formatting"}),i);case"iiiii":return ot(o.day(n,{width:"narrow",context:"formatting"}),i);case"iiiiii":return ot(o.day(n,{width:"short",context:"formatting"})||o.day(n,{width:"narrow",context:"formatting"}),i);case"iiii":default:return ot(o.day(n,{width:"wide",context:"formatting"})||o.day(n,{width:"abbreviated",context:"formatting"})||o.day(n,{width:"short",context:"formatting"})||o.day(n,{width:"narrow",context:"formatting"}),i)}}validate(n,r){return r>=1&&r<=7}set(n,r,o){return n=s3(n,o),n.setHours(0,0,0,0),n}}class c3 extends He{constructor(){super(...arguments);ve(this,"priority",80);ve(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(n,r,o){switch(r){case"a":case"aa":case"aaa":return o.dayPeriod(n,{width:"abbreviated",context:"formatting"})||o.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaaa":return o.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaa":default:return o.dayPeriod(n,{width:"wide",context:"formatting"})||o.dayPeriod(n,{width:"abbreviated",context:"formatting"})||o.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,r,o){return n.setHours(Wr(o),0,0,0),n}}class d3 extends He{constructor(){super(...arguments);ve(this,"priority",80);ve(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(n,r,o){switch(r){case"b":case"bb":case"bbb":return o.dayPeriod(n,{width:"abbreviated",context:"formatting"})||o.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbbb":return o.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbb":default:return o.dayPeriod(n,{width:"wide",context:"formatting"})||o.dayPeriod(n,{width:"abbreviated",context:"formatting"})||o.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,r,o){return n.setHours(Wr(o),0,0,0),n}}class u3 extends He{constructor(){super(...arguments);ve(this,"priority",80);ve(this,"incompatibleTokens",["a","b","t","T"])}parse(n,r,o){switch(r){case"B":case"BB":case"BBB":return o.dayPeriod(n,{width:"abbreviated",context:"formatting"})||o.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBBB":return o.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBB":default:return o.dayPeriod(n,{width:"wide",context:"formatting"})||o.dayPeriod(n,{width:"abbreviated",context:"formatting"})||o.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,r,o){return n.setHours(Wr(o),0,0,0),n}}class f3 extends He{constructor(){super(...arguments);ve(this,"priority",70);ve(this,"incompatibleTokens",["H","K","k","t","T"])}parse(n,r,o){switch(r){case"h":return Ke(rt.hour12h,n);case"ho":return o.ordinalNumber(n,{unit:"hour"});default:return et(r.length,n)}}validate(n,r){return r>=1&&r<=12}set(n,r,o){const i=n.getHours()>=12;return i&&o<12?n.setHours(o+12,0,0,0):!i&&o===12?n.setHours(0,0,0,0):n.setHours(o,0,0,0),n}}class m3 extends He{constructor(){super(...arguments);ve(this,"priority",70);ve(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(n,r,o){switch(r){case"H":return Ke(rt.hour23h,n);case"Ho":return o.ordinalNumber(n,{unit:"hour"});default:return et(r.length,n)}}validate(n,r){return r>=0&&r<=23}set(n,r,o){return n.setHours(o,0,0,0),n}}class h3 extends He{constructor(){super(...arguments);ve(this,"priority",70);ve(this,"incompatibleTokens",["h","H","k","t","T"])}parse(n,r,o){switch(r){case"K":return Ke(rt.hour11h,n);case"Ko":return o.ordinalNumber(n,{unit:"hour"});default:return et(r.length,n)}}validate(n,r){return r>=0&&r<=11}set(n,r,o){return n.getHours()>=12&&o<12?n.setHours(o+12,0,0,0):n.setHours(o,0,0,0),n}}class p3 extends He{constructor(){super(...arguments);ve(this,"priority",70);ve(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(n,r,o){switch(r){case"k":return Ke(rt.hour24h,n);case"ko":return o.ordinalNumber(n,{unit:"hour"});default:return et(r.length,n)}}validate(n,r){return r>=1&&r<=24}set(n,r,o){const i=o<=24?o%24:o;return n.setHours(i,0,0,0),n}}class g3 extends He{constructor(){super(...arguments);ve(this,"priority",60);ve(this,"incompatibleTokens",["t","T"])}parse(n,r,o){switch(r){case"m":return Ke(rt.minute,n);case"mo":return o.ordinalNumber(n,{unit:"minute"});default:return et(r.length,n)}}validate(n,r){return r>=0&&r<=59}set(n,r,o){return n.setMinutes(o,0,0),n}}class y3 extends He{constructor(){super(...arguments);ve(this,"priority",50);ve(this,"incompatibleTokens",["t","T"])}parse(n,r,o){switch(r){case"s":return Ke(rt.second,n);case"so":return o.ordinalNumber(n,{unit:"second"});default:return et(r.length,n)}}validate(n,r){return r>=0&&r<=59}set(n,r,o){return n.setSeconds(o,0),n}}class k3 extends He{constructor(){super(...arguments);ve(this,"priority",30);ve(this,"incompatibleTokens",["t","T"])}parse(n,r){const o=i=>Math.trunc(i*Math.pow(10,-r.length+3));return ot(et(r.length,n),o)}set(n,r,o){return n.setMilliseconds(o),n}}class b3 extends He{constructor(){super(...arguments);ve(this,"priority",10);ve(this,"incompatibleTokens",["t","T","x"])}parse(n,r){switch(r){case"X":return Wt(qt.basicOptionalMinutes,n);case"XX":return Wt(qt.basic,n);case"XXXX":return Wt(qt.basicOptionalSeconds,n);case"XXXXX":return Wt(qt.extendedOptionalSeconds,n);case"XXX":default:return Wt(qt.extended,n)}}set(n,r,o){return r.timestampIsSet?n:Re(n,n.getTime()-Gn(n)-o)}}class x3 extends He{constructor(){super(...arguments);ve(this,"priority",10);ve(this,"incompatibleTokens",["t","T","X"])}parse(n,r){switch(r){case"x":return Wt(qt.basicOptionalMinutes,n);case"xx":return Wt(qt.basic,n);case"xxxx":return Wt(qt.basicOptionalSeconds,n);case"xxxxx":return Wt(qt.extendedOptionalSeconds,n);case"xxx":default:return Wt(qt.extended,n)}}set(n,r,o){return r.timestampIsSet?n:Re(n,n.getTime()-Gn(n)-o)}}class w3 extends He{constructor(){super(...arguments);ve(this,"priority",40);ve(this,"incompatibleTokens","*")}parse(n){return bs(n)}set(n,r,o){return[Re(n,o*1e3),{timestampIsSet:!0}]}}class v3 extends He{constructor(){super(...arguments);ve(this,"priority",20);ve(this,"incompatibleTokens","*")}parse(n){return bs(n)}set(n,r,o){return[Re(n,o),{timestampIsSet:!0}]}}const E3={G:new zd,y:new Id,Y:new Gd,R:new jd,u:new qd,Q:new Wd,q:new Yd,M:new Ud,L:new Xd,w:new Qd,I:new Jd,d:new a3,D:new n3,E:new r3,e:new o3,c:new i3,i:new l3,a:new c3,b:new d3,B:new u3,h:new f3,H:new m3,K:new h3,k:new p3,m:new g3,s:new y3,S:new k3,X:new b3,x:new x3,t:new w3,T:new v3},C3=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,S3=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,M3=/^'([^]*?)'?$/,B3=/''/g,A3=/\S/,V3=/[a-zA-Z]/;function Ur(e,a,n,r){var g,b,x,w,k,V,_,T;const o=Od(),i=(r==null?void 0:r.locale)??o.locale??ds,s=(r==null?void 0:r.firstWeekContainsDate)??((b=(g=r==null?void 0:r.locale)==null?void 0:g.options)==null?void 0:b.firstWeekContainsDate)??o.firstWeekContainsDate??((w=(x=o.locale)==null?void 0:x.options)==null?void 0:w.firstWeekContainsDate)??1,l=(r==null?void 0:r.weekStartsOn)??((V=(k=r==null?void 0:r.locale)==null?void 0:k.options)==null?void 0:V.weekStartsOn)??o.weekStartsOn??((T=(_=o.locale)==null?void 0:_.options)==null?void 0:T.weekStartsOn)??0;if(a==="")return e===""?Ce(n):Re(n,NaN);const c={firstWeekContainsDate:s,weekStartsOn:l,locale:i},p=[new Hd],u=a.match(S3).map(N=>{const S=N[0];if(S in jr){const B=jr[S];return B(N,i.formatLong)}return N}).join("").match(C3),m=[];for(let N of u){!(r!=null&&r.useAdditionalWeekYearTokens)&&ys(N)&&qr(N,a,e),!(r!=null&&r.useAdditionalDayOfYearTokens)&&gs(N)&&qr(N,a,e);const S=N[0],B=E3[S];if(B){const{incompatibleTokens:G}=B;if(Array.isArray(G)){const Q=m.find(U=>G.includes(U.token)||U.token===S);if(Q)throw new RangeError(`The format string mustn't contain \`${Q.fullToken}\` and \`${N}\` at the same time`)}else if(B.incompatibleTokens==="*"&&m.length>0)throw new RangeError(`The format string mustn't contain \`${N}\` and any other token at the same time`);m.push({token:S,fullToken:N});const O=B.run(e,N,i.match,c);if(!O)return Re(n,NaN);p.push(O.setter),e=O.rest}else{if(S.match(V3))throw new RangeError("Format string contains an unescaped latin alphabet character `"+S+"`");if(N==="''"?N="'":S==="'"&&(N=_3(N)),e.indexOf(N)===0)e=e.slice(N.length);else return Re(n,NaN)}}if(e.length>0&&A3.test(e))return Re(n,NaN);const d=p.map(N=>N.priority).sort((N,S)=>S-N).filter((N,S,B)=>B.indexOf(N)===S).map(N=>p.filter(S=>S.priority===N).sort((S,B)=>B.subPriority-S.subPriority)).map(N=>N[0]);let h=Ce(n);if(isNaN(h.getTime()))return Re(n,NaN);const f={};for(const N of d){if(!N.validate(h,c))return Re(n,NaN);const S=N.set(h,f,c);Array.isArray(S)?(h=S[0],Object.assign(f,S[1])):h=S}return Re(n,h)}function _3(e){return e.match(M3)[1].replace(B3,"'")}function vs(e,a){const n=Ba(e),r=Ba(a);return+n==+r}function N3(e,a){return Ot(e,-a)}function Es(e,a){const n=Ce(e),r=n.getFullYear(),o=n.getDate(),i=Re(e,0);i.setFullYear(r,a,15),i.setHours(0,0,0,0);const s=Pd(i);return n.setMonth(a,Math.min(o,s)),n}function We(e,a){let n=Ce(e);return isNaN(+n)?Re(e,NaN):(a.year!=null&&n.setFullYear(a.year),a.month!=null&&(n=Es(n,a.month)),a.date!=null&&n.setDate(a.date),a.hours!=null&&n.setHours(a.hours),a.minutes!=null&&n.setMinutes(a.minutes),a.seconds!=null&&n.setSeconds(a.seconds),a.milliseconds!=null&&n.setMilliseconds(a.milliseconds),n)}function D3(e,a){const n=Ce(e);return n.setHours(a),n}function Cs(e,a){const n=Ce(e);return n.setMilliseconds(a),n}function T3(e,a){const n=Ce(e);return n.setMinutes(a),n}function Ss(e,a){const n=Ce(e);return n.setSeconds(a),n}function Yt(e,a){const n=Ce(e);return isNaN(+n)?Re(e,NaN):(n.setFullYear(a),n)}function Ga(e,a){return Ft(e,-a)}function P3(e,a){const{years:n=0,months:r=0,weeks:o=0,days:i=0,hours:s=0,minutes:l=0,seconds:c=0}=a,p=Ga(e,r+n*12),u=N3(p,i+o*7),m=l+s*60,h=(c+m*60)*1e3;return Re(e,u.getTime()-h)}function Ms(e,a){return Rr(e,-a)}function ja(){const e=t.useAttrs();return t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img",...e},[t.createElementVNode("path",{d:"M29.333 8c0-2.208-1.792-4-4-4h-18.667c-2.208 0-4 1.792-4 4v18.667c0 2.208 1.792 4 4 4h18.667c2.208 0 4-1.792 4-4v-18.667zM26.667 8v18.667c0 0.736-0.597 1.333-1.333 1.333 0 0-18.667 0-18.667 0-0.736 0-1.333-0.597-1.333-1.333 0 0 0-18.667 0-18.667 0-0.736 0.597-1.333 1.333-1.333 0 0 18.667 0 18.667 0 0.736 0 1.333 0.597 1.333 1.333z"}),t.createElementVNode("path",{d:"M20 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"}),t.createElementVNode("path",{d:"M9.333 2.667v5.333c0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333v-5.333c0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"}),t.createElementVNode("path",{d:"M4 14.667h24c0.736 0 1.333-0.597 1.333-1.333s-0.597-1.333-1.333-1.333h-24c-0.736 0-1.333 0.597-1.333 1.333s0.597 1.333 1.333 1.333z"})])}ja.compatConfig={MODE:3};function Bs(){return t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[t.createElementVNode("path",{d:"M23.057 7.057l-16 16c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l16-16c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0z"}),t.createElementVNode("path",{d:"M7.057 8.943l16 16c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885l-16-16c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z"})])}Bs.compatConfig={MODE:3};function Xr(){return t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[t.createElementVNode("path",{d:"M20.943 23.057l-7.057-7.057c0 0 7.057-7.057 7.057-7.057 0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-8 8c-0.521 0.521-0.521 1.365 0 1.885l8 8c0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"})])}Xr.compatConfig={MODE:3};function Zr(){return t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[t.createElementVNode("path",{d:"M12.943 24.943l8-8c0.521-0.521 0.521-1.365 0-1.885l-8-8c-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885l7.057 7.057c0 0-7.057 7.057-7.057 7.057-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0z"})])}Zr.compatConfig={MODE:3};function Qr(){return t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[t.createElementVNode("path",{d:"M16 1.333c-8.095 0-14.667 6.572-14.667 14.667s6.572 14.667 14.667 14.667c8.095 0 14.667-6.572 14.667-14.667s-6.572-14.667-14.667-14.667zM16 4c6.623 0 12 5.377 12 12s-5.377 12-12 12c-6.623 0-12-5.377-12-12s5.377-12 12-12z"}),t.createElementVNode("path",{d:"M14.667 8v8c0 0.505 0.285 0.967 0.737 1.193l5.333 2.667c0.658 0.329 1.46 0.062 1.789-0.596s0.062-1.46-0.596-1.789l-4.596-2.298c0 0 0-7.176 0-7.176 0-0.736-0.597-1.333-1.333-1.333s-1.333 0.597-1.333 1.333z"})])}Qr.compatConfig={MODE:3};function Kr(){return t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[t.createElementVNode("path",{d:"M24.943 19.057l-8-8c-0.521-0.521-1.365-0.521-1.885 0l-8 8c-0.52 0.52-0.52 1.365 0 1.885s1.365 0.52 1.885 0l7.057-7.057c0 0 7.057 7.057 7.057 7.057 0.52 0.52 1.365 0.52 1.885 0s0.52-1.365 0-1.885z"})])}Kr.compatConfig={MODE:3};function Jr(){return t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor","aria-hidden":"true",class:"dp__icon",role:"img"},[t.createElementVNode("path",{d:"M7.057 12.943l8 8c0.521 0.521 1.365 0.521 1.885 0l8-8c0.52-0.52 0.52-1.365 0-1.885s-1.365-0.52-1.885 0l-7.057 7.057c0 0-7.057-7.057-7.057-7.057-0.52-0.52-1.365-0.52-1.885 0s-0.52 1.365 0 1.885z"})])}Jr.compatConfig={MODE:3};const At=(e,a)=>a?new Date(e.toLocaleString("en-US",{timeZone:a})):new Date(e),eo=(e,a,n)=>to(e,a,n)||ge(),O3=(e,a,n)=>{const r=a.dateInTz?At(new Date(e),a.dateInTz):ge(e);return n?vt(r,!0):r},to=(e,a,n)=>{if(!e)return null;const r=n?vt(ge(e),!0):ge(e);return a?a.exactMatch?O3(e,a,n):At(r,a.timezone):r},F3=e=>{if(!e)return 0;const a=new Date,n=new Date(a.toLocaleString("en-US",{timeZone:"UTC"})),r=new Date(a.toLocaleString("en-US",{timeZone:e})),o=r.getTimezoneOffset()/60;return(+n-+r)/(1e3*60*60)-o};var $t=(e=>(e.month="month",e.year="year",e))($t||{}),Va=(e=>(e.top="top",e.bottom="bottom",e))(Va||{}),_a=(e=>(e.header="header",e.calendar="calendar",e.timePicker="timePicker",e))(_a||{}),yt=(e=>(e.month="month",e.year="year",e.calendar="calendar",e.time="time",e.minutes="minutes",e.hours="hours",e.seconds="seconds",e))(yt||{});const L3=["timestamp","date","iso"];var xt=(e=>(e.up="up",e.down="down",e.left="left",e.right="right",e))(xt||{}),Ue=(e=>(e.arrowUp="ArrowUp",e.arrowDown="ArrowDown",e.arrowLeft="ArrowLeft",e.arrowRight="ArrowRight",e.enter="Enter",e.space=" ",e.esc="Escape",e.tab="Tab",e.home="Home",e.end="End",e.pageUp="PageUp",e.pageDown="PageDown",e))(Ue||{});function As(e){return a=>new Intl.DateTimeFormat(e,{weekday:"short",timeZone:"UTC"}).format(new Date(`2017-01-0${a}T00:00:00+00:00`)).slice(0,2)}function $3(e){return a=>jt(At(new Date(`2017-01-0${a}T00:00:00+00:00`),"UTC"),"EEEEEE",{locale:e})}const R3=(e,a,n)=>{const r=[1,2,3,4,5,6,7];let o;if(e!==null)try{o=r.map($3(e))}catch{o=r.map(As(a))}else o=r.map(As(a));const i=o.slice(0,n),s=o.slice(n+1,o.length);return[o[n]].concat(...s).concat(...i)},ao=(e,a,n)=>{const r=[];for(let o=+e[0];o<=+e[1];o++)r.push({value:+o,text:Ps(o,a)});return n?r.reverse():r},Vs=(e,a,n)=>{const r=[1,2,3,4,5,6,7,8,9,10,11,12].map(i=>{const s=i<10?`0${i}`:i;return new Date(`2017-${s}-01T00:00:00+00:00`)});if(e!==null)try{const i=n==="long"?"LLLL":"LLL";return r.map((s,l)=>{const c=jt(At(s,"UTC"),i,{locale:e});return{text:c.charAt(0).toUpperCase()+c.substring(1),value:l}})}catch{}const o=new Intl.DateTimeFormat(a,{month:n,timeZone:"UTC"});return r.map((i,s)=>{const l=o.format(i);return{text:l.charAt(0).toUpperCase()+l.substring(1),value:s}})},H3=e=>[12,1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11][e],ct=e=>{const a=t.unref(e);return a!=null&&a.$el?a==null?void 0:a.$el:a},z3=e=>({type:"dot",...e??{}}),_s=e=>Array.isArray(e)?!!e[0]&&!!e[1]:!1,no={prop:e=>`"${e}" prop must be enabled!`,dateArr:e=>`You need to use array as "model-value" binding in order to support "${e}"`},ft=e=>e,Ns=e=>e===0?e:!e||isNaN(+e)?null:+e,Ds=e=>e===null,Ts=e=>{if(e)return[...e.querySelectorAll("input, button, select, textarea, a[href]")][0]},I3=e=>{const a=[],n=r=>r.filter(o=>o);for(let r=0;r<e.length;r+=3){const o=[e[r],e[r+1],e[r+2]];a.push(n(o))}return a},hn=(e,a,n)=>{const r=n!=null,o=a!=null;if(!r&&!o)return!1;const i=+n,s=+a;return r&&o?+e>i||+e<s:r?+e>i:o?+e<s:!1},qa=(e,a)=>I3(e).map(n=>n.map(r=>{const{active:o,disabled:i,isBetween:s,highlighted:l}=a(r);return{...r,active:o,disabled:i,className:{dp__overlay_cell_active:o,dp__overlay_cell:!o,dp__overlay_cell_disabled:i,dp__overlay_cell_pad:!0,dp__overlay_cell_active_disabled:i&&o,dp__cell_in_between:s,"dp--highlighted":l}}})),sa=(e,a,n=!1)=>{e&&a.allowStopPropagation&&(n&&e.stopImmediatePropagation(),e.stopPropagation())},G3=()=>["a[href]","area[href]","input:not([disabled]):not([type='hidden'])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","[tabindex]:not([tabindex='-1'])","[data-datepicker-instance]"].join(", ");function j3(e,a){let n=[...document.querySelectorAll(G3())];n=n.filter(o=>!e.contains(o)||o.hasAttribute("data-datepicker-instance"));const r=n.indexOf(e);if(r>=0&&(a?r-1>=0:r+1<=n.length))return n[r+(a?-1:1)]}const ro=(e,a)=>e==null?void 0:e.querySelector(`[data-dp-element="${a}"]`),Ps=(e,a)=>new Intl.NumberFormat(a,{useGrouping:!1,style:"decimal"}).format(e),oo=e=>jt(e,"dd-MM-yyyy"),io=e=>Array.isArray(e),qn=(e,a)=>a.get(oo(e)),q3=(e,a)=>e?a?a instanceof Map?!!qn(e,a):a(ge(e)):!1:!0,wt=(e,a,n=!1,r)=>{if(e.key===Ue.enter||e.key===Ue.space)return n&&e.preventDefault(),a();if(r)return r(e)},Os=()=>["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].some(e=>navigator.userAgent.includes(e))||navigator.userAgent.includes("Mac")&&"ontouchend"in document,Fs=(e,a,n,r,o,i)=>{const s=Ur(e,a.slice(0,e.length),new Date,{locale:i});return cn(s)&&rs(s)?r||o?s:We(s,{hours:+n.hours,minutes:+(n==null?void 0:n.minutes),seconds:+(n==null?void 0:n.seconds),milliseconds:0}):null},W3=(e,a,n,r,o,i)=>{const s=Array.isArray(n)?n[0]:n;if(typeof a=="string")return Fs(e,a,s,r,o,i);if(Array.isArray(a)){let l=null;for(const c of a)if(l=Fs(e,c,s,r,o,i),l)break;return l}return typeof a=="function"?a(e):null},ge=e=>e?new Date(e):new Date,Y3=(e,a,n)=>{if(a){const o=(e.getMonth()+1).toString().padStart(2,"0"),i=e.getDate().toString().padStart(2,"0"),s=e.getHours().toString().padStart(2,"0"),l=e.getMinutes().toString().padStart(2,"0"),c=n?e.getSeconds().toString().padStart(2,"0"):"00";return`${e.getFullYear()}-${o}-${i}T${s}:${l}:${c}.000Z`}const r=Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds());return new Date(r).toISOString()},vt=(e,a)=>{const n=ge(JSON.parse(JSON.stringify(e))),r=We(n,{hours:0,minutes:0,seconds:0,milliseconds:0});return a?G2(r):r},la=(e,a,n,r)=>{let o=e?ge(e):ge();return(a||a===0)&&(o=D3(o,+a)),(n||n===0)&&(o=T3(o,+n)),(r||r===0)&&(o=Ss(o,+r)),Cs(o,0)},tt=(e,a)=>!e||!a?!1:mn(vt(e),vt(a)),Fe=(e,a)=>!e||!a?!1:Ia(vt(e),vt(a)),it=(e,a)=>!e||!a?!1:za(vt(e),vt(a)),Wn=(e,a,n)=>e!=null&&e[0]&&e!=null&&e[1]?it(n,e[0])&&tt(n,e[1]):e!=null&&e[0]&&a?it(n,e[0])&&tt(n,a)||tt(n,e[0])&&it(n,a):!1,Rt=e=>{const a=We(new Date(e),{date:1});return vt(a)},so=(e,a,n)=>a&&(n||n===0)?Object.fromEntries(["hours","minutes","seconds"].map(r=>r===a?[r,n]:[r,isNaN(+e[r])?void 0:+e[r]])):{hours:isNaN(+e.hours)?void 0:+e.hours,minutes:isNaN(+e.minutes)?void 0:+e.minutes,seconds:isNaN(+e.seconds)?void 0:+e.seconds},Na=e=>({hours:Qt(e),minutes:ia(e),seconds:Ha(e)}),Ls=(e,a)=>{if(a){const n=Ve(ge(a));if(n>e)return 12;if(n===e)return Oe(ge(a))}},$s=(e,a)=>{if(a){const n=Ve(ge(a));return n<e?-1:n===e?Oe(ge(a)):void 0}},Wa=e=>{if(e)return Ve(ge(e))},Rs=(e,a)=>{const n=it(e,a)?a:e,r=it(a,e)?a:e;return is({start:n,end:r})},U3=e=>{const a=Ft(e,1);return{month:Oe(a),year:Ve(a)}},Kt=(e,a)=>{const n=Lt(e,{weekStartsOn:+a}),r=ls(e,{weekStartsOn:+a});return[n,r]},Hs=(e,a)=>{const n={hours:Qt(ge()),minutes:ia(ge()),seconds:a?Ha(ge()):0};return Object.assign(n,e)},ca=(e,a,n)=>[We(ge(e),{date:1}),We(ge(),{month:a,year:n,date:1})],Jt=(e,a,n)=>{let r=e?ge(e):ge();return(a||a===0)&&(r=Es(r,a)),n&&(r=Yt(r,n)),r},zs=(e,a,n,r,o)=>{if(!r||o&&!a||!o&&!n)return!1;const i=o?Ft(e,1):Ga(e,1),s=[Oe(i),Ve(i)];return o?!Z3(...s,a):!X3(...s,n)},X3=(e,a,n)=>tt(...ca(n,e,a))||Fe(...ca(n,e,a)),Z3=(e,a,n)=>it(...ca(n,e,a))||Fe(...ca(n,e,a)),Is=(e,a,n,r,o,i,s)=>{if(typeof a=="function"&&!s)return a(e);const l=n?{locale:n}:void 0;return Array.isArray(e)?`${jt(e[0],i,l)}${o&&!e[1]?"":r}${e[1]?jt(e[1],i,l):""}`:jt(e,i,l)},Ya=e=>{if(e)return null;throw new Error(no.prop("partial-range"))},Yn=(e,a)=>{if(a)return e();throw new Error(no.prop("range"))},lo=e=>Array.isArray(e)?cn(e[0])&&(e[1]?cn(e[1]):!0):e?cn(e):!1,Q3=(e,a)=>We(a??ge(),{hours:+e.hours||0,minutes:+e.minutes||0,seconds:+e.seconds||0}),co=(e,a,n,r)=>{if(!e)return!0;if(r){const o=n==="max"?mn(e,a):za(e,a),i={seconds:0,milliseconds:0};return o||Ia(We(e,i),We(a,i))}return n==="max"?e.getTime()<=a.getTime():e.getTime()>=a.getTime()},uo=(e,a,n)=>e?Q3(e,a):ge(n??a),Gs=(e,a,n,r,o)=>{if(Array.isArray(r)){const s=uo(e,r[0],a),l=uo(e,r[1],a);return co(r[0],s,n,!!a)&&co(r[1],l,n,!!a)&&o}const i=uo(e,r,a);return co(r,i,n,!!a)&&o},fo=e=>We(ge(),Na(e)),K3=(e,a)=>e instanceof Map?Array.from(e.values()).filter(n=>Ve(ge(n))===a).map(n=>Oe(n)):[],js=(e,a,n)=>typeof e=="function"?e({month:a,year:n}):!!e.months.find(r=>r.month===a&&r.year===n),mo=(e,a)=>typeof e=="function"?e(a):e.years.includes(a),qs=e=>jt(e,"yyyy-MM-dd"),pn=t.reactive({menuFocused:!1,shiftKeyInMenu:!1}),Ws=()=>{const e=n=>{pn.menuFocused=n},a=n=>{pn.shiftKeyInMenu!==n&&(pn.shiftKeyInMenu=n)};return{control:t.computed(()=>({shiftKeyInMenu:pn.shiftKeyInMenu,menuFocused:pn.menuFocused})),setMenuFocused:e,setShiftKey:a}},Xe=t.reactive({monthYear:[],calendar:[],time:[],actionRow:[],selectionGrid:[],timePicker:{0:[],1:[]},monthPicker:[]}),ho=t.ref(null),Un=t.ref(!1),po=t.ref(!1),go=t.ref(!1),yo=t.ref(!1),kt=t.ref(0),st=t.ref(0),da=()=>{const e=t.computed(()=>Un.value?[...Xe.selectionGrid,Xe.actionRow].filter(m=>m.length):po.value?[...Xe.timePicker[0],...Xe.timePicker[1],yo.value?[]:[ho.value],Xe.actionRow].filter(m=>m.length):go.value?[...Xe.monthPicker,Xe.actionRow]:[Xe.monthYear,...Xe.calendar,Xe.time,Xe.actionRow].filter(m=>m.length)),a=m=>{kt.value=m?kt.value+1:kt.value-1;let d=null;e.value[st.value]&&(d=e.value[st.value][kt.value]),!d&&e.value[st.value+(m?1:-1)]?(st.value=st.value+(m?1:-1),kt.value=m?0:e.value[st.value].length-1):d||(kt.value=m?kt.value-1:kt.value+1)},n=m=>{st.value===0&&!m||st.value===e.value.length&&m||(st.value=m?st.value+1:st.value-1,e.value[st.value]?e.value[st.value]&&!e.value[st.value][kt.value]&&kt.value!==0&&(kt.value=e.value[st.value].length-1):st.value=m?st.value-1:st.value+1)},r=m=>{let d=null;e.value[st.value]&&(d=e.value[st.value][kt.value]),d?d.focus({preventScroll:!Un.value}):kt.value=m?kt.value-1:kt.value+1},o=()=>{a(!0),r(!0)},i=()=>{a(!1),r(!1)},s=()=>{n(!1),r(!0)},l=()=>{n(!0),r(!0)},c=(m,d)=>{Xe[d]=m},p=(m,d)=>{Xe[d]=m},u=()=>{kt.value=0,st.value=0};return{buildMatrix:c,buildMultiLevelMatrix:p,setTimePickerBackRef:m=>{ho.value=m},setSelectionGrid:m=>{Un.value=m,u(),m||(Xe.selectionGrid=[])},setTimePicker:(m,d=!1)=>{po.value=m,yo.value=d,u(),m||(Xe.timePicker[0]=[],Xe.timePicker[1]=[])},setTimePickerElements:(m,d=0)=>{Xe.timePicker[d]=m},arrowRight:o,arrowLeft:i,arrowUp:s,arrowDown:l,clearArrowNav:()=>{Xe.monthYear=[],Xe.calendar=[],Xe.time=[],Xe.actionRow=[],Xe.selectionGrid=[],Xe.timePicker[0]=[],Xe.timePicker[1]=[],Un.value=!1,po.value=!1,yo.value=!1,go.value=!1,u(),ho.value=null},setMonthPicker:m=>{go.value=m,u()},refSets:Xe}},Ys=e=>({menuAppearTop:"dp-menu-appear-top",menuAppearBottom:"dp-menu-appear-bottom",open:"dp-slide-down",close:"dp-slide-up",next:"calendar-next",previous:"calendar-prev",vNext:"dp-slide-up",vPrevious:"dp-slide-down",...e??{}}),J3=e=>({toggleOverlay:"Toggle overlay",menu:"Datepicker menu",input:"Datepicker input",openTimePicker:"Open time picker",closeTimePicker:"Close time Picker",incrementValue:a=>`Increment ${a}`,decrementValue:a=>`Decrement ${a}`,openTpOverlay:a=>`Open ${a} overlay`,amPmButton:"Switch AM/PM mode",openYearsOverlay:"Open years overlay",openMonthsOverlay:"Open months overlay",nextMonth:"Next month",prevMonth:"Previous month",nextYear:"Next year",prevYear:"Previous year",day:void 0,weekDay:void 0,clearInput:"Clear value",calendarIcon:"Calendar icon",timePicker:"Time picker",monthPicker:a=>`Month picker${a?" overlay":""}`,yearPicker:a=>`Year picker${a?" overlay":""}`,timeOverlay:a=>`${a} overlay`,...e??{}}),Us=e=>e?typeof e=="boolean"?e?2:0:+e>=2?+e:2:0,eu=e=>{const a=typeof e=="object"&&e,n={static:!0,solo:!1};if(!e)return{...n,count:Us(!1)};const r=a?e:{},o=a?r.count??!0:e,i=Us(o);return Object.assign(n,r,{count:i})},tu=(e,a,n)=>e||(typeof n=="string"?n:a),au=e=>typeof e=="boolean"?e?Ys({}):!1:Ys(e),nu=e=>{const a={enterSubmit:!0,tabSubmit:!0,openMenu:"open",selectOnFocus:!1,rangeSeparator:" - "};return typeof e=="object"?{...a,...e??{},enabled:!0}:{...a,enabled:e}},ru=e=>({months:[],years:[],times:{hours:[],minutes:[],seconds:[]},...e??{}}),ou=e=>({showSelect:!0,showCancel:!0,showNow:!1,showPreview:!0,...e??{}}),iu=e=>{const a={input:!1};return typeof e=="object"?{...a,...e??{},enabled:!0}:{enabled:e,...a}},su=e=>({allowStopPropagation:!0,closeOnScroll:!1,modeHeight:255,allowPreventDefault:!1,closeOnClearValue:!0,closeOnAutoApply:!0,noSwipe:!1,keepActionRow:!1,onClickOutside:void 0,tabOutClosesMenu:!0,arrowLeft:void 0,keepViewOnOffsetClick:!1,timeArrowHoldThreshold:0,shadowDom:!1,...e??{}}),lu=e=>{const a={dates:Array.isArray(e)?e.map(n=>ge(n)):[],years:[],months:[],quarters:[],weeks:[],weekdays:[],options:{highlightDisabled:!1}};return typeof e=="function"?e:{...a,...e??{}}},cu=e=>typeof e=="object"?{type:(e==null?void 0:e.type)??"local",hideOnOffsetDates:(e==null?void 0:e.hideOnOffsetDates)??!1}:{type:e,hideOnOffsetDates:!1},du=e=>{const a={noDisabledRange:!1,showLastInRange:!0,minMaxRawRange:!1,partialRange:!0,disableTimeRangeValidation:!1,maxRange:void 0,minRange:void 0,autoRange:void 0,fixedStart:!1,fixedEnd:!1};return typeof e=="object"?{enabled:!0,...a,...e}:{enabled:e,...a}},uu=e=>e?typeof e=="string"?{timezone:e,exactMatch:!1,dateInTz:void 0,emitTimezone:void 0,convertModel:!0}:{timezone:e.timezone,exactMatch:e.exactMatch??!1,dateInTz:e.dateInTz??void 0,emitTimezone:e.emitTimezone??void 0,convertModel:e.convertModel??!0}:{timezone:void 0,exactMatch:!1,emitTimezone:void 0},ko=(e,a,n)=>new Map(e.map(r=>{const o=eo(r,a,n);return[oo(o),o]})),fu=(e,a)=>e.length?new Map(e.map(n=>{const r=eo(n.date,a);return[oo(r),n]})):null,mu=e=>{var a;return{minDate:to(e.minDate,e.timezone,e.isSpecific),maxDate:to(e.maxDate,e.timezone,e.isSpecific),disabledDates:io(e.disabledDates)?ko(e.disabledDates,e.timezone,e.isSpecific):e.disabledDates,allowedDates:io(e.allowedDates)?ko(e.allowedDates,e.timezone,e.isSpecific):null,highlight:typeof e.highlight=="object"&&io((a=e.highlight)==null?void 0:a.dates)?ko(e.highlight.dates,e.timezone):e.highlight,markers:fu(e.markers,e.timezone)}},hu=e=>typeof e=="boolean"?{enabled:e,dragSelect:!0,limit:null}:{enabled:!!e,limit:e.limit?+e.limit:null,dragSelect:e.dragSelect??!0},pu=e=>({...Object.fromEntries(Object.keys(e).map(a=>{const n=a,r=e[n],o=typeof e[n]=="string"?{[r]:!0}:Object.fromEntries(r.map(i=>[i,!0]));return[a,o]}))}),Ze=e=>{const a=()=>{const T=e.enableSeconds?":ss":"",N=e.enableMinutes?":mm":"";return e.is24?`HH${N}${T}`:`hh${N}${T} aa`},n=()=>{var T;return e.format?e.format:e.monthPicker?"MM/yyyy":e.timePicker?a():e.weekPicker?`${((T=b.value)==null?void 0:T.type)==="iso"?"RR":"ww"}-yyyy`:e.yearPicker?"yyyy":e.quarterPicker?"QQQ/yyyy":e.enableTimePicker?`MM/dd/yyyy, ${a()}`:"MM/dd/yyyy"},r=T=>Hs(T,e.enableSeconds),o=()=>V.value.enabled?e.startTime&&Array.isArray(e.startTime)?[r(e.startTime[0]),r(e.startTime[1])]:null:e.startTime&&!Array.isArray(e.startTime)?r(e.startTime):null,i=t.computed(()=>eu(e.multiCalendars)),s=t.computed(()=>o()),l=t.computed(()=>J3(e.ariaLabels)),c=t.computed(()=>ru(e.filters)),p=t.computed(()=>au(e.transitions)),u=t.computed(()=>ou(e.actionRow)),m=t.computed(()=>tu(e.previewFormat,e.format,n())),d=t.computed(()=>nu(e.textInput)),h=t.computed(()=>iu(e.inline)),f=t.computed(()=>su(e.config)),g=t.computed(()=>lu(e.highlight)),b=t.computed(()=>cu(e.weekNumbers)),x=t.computed(()=>uu(e.timezone)),w=t.computed(()=>hu(e.multiDates)),k=t.computed(()=>mu({minDate:e.minDate,maxDate:e.maxDate,disabledDates:e.disabledDates,allowedDates:e.allowedDates,highlight:g.value,markers:e.markers,timezone:x.value,isSpecific:e.monthPicker||e.yearPicker||e.quarterPicker})),V=t.computed(()=>du(e.range)),_=t.computed(()=>pu(e.ui));return{defaultedTransitions:p,defaultedMultiCalendars:i,defaultedStartTime:s,defaultedAriaLabels:l,defaultedFilters:c,defaultedActionRow:u,defaultedPreviewFormat:m,defaultedTextInput:d,defaultedInline:h,defaultedConfig:f,defaultedHighlight:g,defaultedWeekNumbers:b,defaultedRange:V,propDates:k,defaultedTz:x,defaultedMultiDates:w,defaultedUI:_,getDefaultPattern:n,getDefaultStartTime:o}},gu=(e,a,n)=>{const r=t.ref(),{defaultedTextInput:o,defaultedRange:i,defaultedTz:s,defaultedMultiDates:l,getDefaultPattern:c}=Ze(a),p=t.ref(""),u=t.toRef(a,"format"),m=t.toRef(a,"formatLocale");t.watch(r,()=>{typeof a.onInternalModelChange=="function"&&e("internal-model-change",r.value,ce(!0))},{deep:!0}),t.watch(i,(z,he)=>{z.enabled!==he.enabled&&(r.value=null)}),t.watch(u,()=>{oe()});const d=z=>s.value.timezone&&s.value.convertModel?At(z,s.value.timezone):z,h=z=>{if(s.value.timezone&&s.value.convertModel){const he=F3(s.value.timezone);return F2(z,he)}return z},f=(z,he,ee=!1)=>Is(z,a.format,a.formatLocale,o.value.rangeSeparator,a.modelAuto,he??c(),ee),g=z=>z?a.modelType?v(z):{hours:Qt(z),minutes:ia(z),seconds:a.enableSeconds?Ha(z):0}:null,b=z=>a.modelType?v(z):{month:Oe(z),year:Ve(z)},x=z=>Array.isArray(z)?l.value.enabled?z.map(he=>w(he,Yt(ge(),he))):Yn(()=>[Yt(ge(),z[0]),z[1]?Yt(ge(),z[1]):Ya(i.value.partialRange)],i.value.enabled):Yt(ge(),+z),w=(z,he)=>(typeof z=="string"||typeof z=="number")&&a.modelType?A(z):he,k=z=>Array.isArray(z)?[w(z[0],la(null,+z[0].hours,+z[0].minutes,z[0].seconds)),w(z[1],la(null,+z[1].hours,+z[1].minutes,z[1].seconds))]:w(z,la(null,z.hours,z.minutes,z.seconds)),V=z=>{const he=We(ge(),{date:1});return Array.isArray(z)?l.value.enabled?z.map(ee=>w(ee,Jt(he,+ee.month,+ee.year))):Yn(()=>[w(z[0],Jt(he,+z[0].month,+z[0].year)),w(z[1],z[1]?Jt(he,+z[1].month,+z[1].year):Ya(i.value.partialRange))],i.value.enabled):w(z,Jt(he,+z.month,+z.year))},_=z=>{if(Array.isArray(z))return z.map(he=>A(he));throw new Error(no.dateArr("multi-dates"))},T=z=>{if(Array.isArray(z)&&i.value.enabled){const he=z[0],ee=z[1];return[ge(Array.isArray(he)?he[0]:null),Array.isArray(ee)&&ee.length?ge(ee[0]):null]}return ge(z[0])},N=z=>a.modelAuto?Array.isArray(z)?[A(z[0]),A(z[1])]:a.autoApply?[A(z)]:[A(z),null]:Array.isArray(z)?Yn(()=>z[1]?[A(z[0]),z[1]?A(z[1]):Ya(i.value.partialRange)]:[A(z[0])],i.value.enabled):A(z),S=()=>{Array.isArray(r.value)&&i.value.enabled&&r.value.length===1&&r.value.push(Ya(i.value.partialRange))},B=()=>{const z=r.value;return[v(z[0]),z[1]?v(z[1]):Ya(i.value.partialRange)]},G=()=>r.value[1]?B():v(ft(r.value[0])),O=()=>(r.value||[]).map(z=>v(z)),Q=(z=!1)=>(z||S(),a.modelAuto?G():l.value.enabled?O():Array.isArray(r.value)?Yn(()=>B(),i.value.enabled):v(ft(r.value))),U=z=>!z||Array.isArray(z)&&!z.length?null:a.timePicker?k(ft(z)):a.monthPicker?V(ft(z)):a.yearPicker?x(ft(z)):l.value.enabled?_(ft(z)):a.weekPicker?T(ft(z)):N(ft(z)),E=z=>{const he=U(z);lo(ft(he))?(r.value=ft(he),oe()):(r.value=null,p.value="")},D=()=>{const z=he=>jt(he,o.value.format);return`${z(r.value[0])} ${o.value.rangeSeparator} ${r.value[1]?z(r.value[1]):""}`},R=()=>n.value&&r.value?Array.isArray(r.value)?D():jt(r.value,o.value.format):f(r.value),Y=()=>r.value?l.value.enabled?r.value.map(z=>f(z)).join("; "):o.value.enabled&&typeof o.value.format=="string"?R():f(r.value):"",oe=()=>{!a.format||typeof a.format=="string"||o.value.enabled&&typeof o.value.format=="string"?p.value=Y():p.value=a.format(r.value)},A=z=>{if(a.utc){const he=new Date(z);return a.utc==="preserve"?new Date(he.getTime()+he.getTimezoneOffset()*6e4):he}return a.modelType?L3.includes(a.modelType)?d(new Date(z)):a.modelType==="format"&&(typeof a.format=="string"||!a.format)?d(Ur(z,c(),new Date,{locale:m.value})):d(Ur(z,a.modelType,new Date,{locale:m.value})):d(new Date(z))},v=z=>z?a.utc?Y3(z,a.utc==="preserve",a.enableSeconds):a.modelType?a.modelType==="timestamp"?+h(z):a.modelType==="iso"?h(z).toISOString():a.modelType==="format"&&(typeof a.format=="string"||!a.format)?f(h(z)):f(h(z),a.modelType,!0):h(z):"",X=(z,he=!1,ee=!1)=>{if(ee)return z;if(e("update:model-value",z),s.value.emitTimezone&&he){const fe=Array.isArray(z)?z.map(F=>At(ft(F),s.value.emitTimezone)):At(ft(z),s.value.emitTimezone);e("update:model-timezone-value",fe)}},K=z=>Array.isArray(r.value)?l.value.enabled?r.value.map(he=>z(he)):[z(r.value[0]),r.value[1]?z(r.value[1]):Ya(i.value.partialRange)]:z(ft(r.value)),q=()=>{if(Array.isArray(r.value)){const z=Kt(r.value[0],a.weekStart),he=r.value[1]?Kt(r.value[1],a.weekStart):[];return[z.map(ee=>ge(ee)),he.map(ee=>ge(ee))]}return Kt(r.value,a.weekStart).map(z=>ge(z))},M=(z,he)=>X(ft(K(z)),!1,he),J=z=>{const he=q();return z?he:e("update:model-value",q())},ce=(z=!1)=>(z||oe(),a.monthPicker?M(b,z):a.timePicker?M(g,z):a.yearPicker?M(Ve,z):a.weekPicker?J(z):X(Q(z),!0,z));return{inputValue:p,internalModelValue:r,checkBeforeEmit:()=>r.value?i.value.enabled?i.value.partialRange?r.value.length>=1:r.value.length===2:!!r.value:!1,parseExternalModelValue:E,formatInputValue:oe,emitModelValue:ce}},yu=(e,a)=>{const{defaultedFilters:n,propDates:r}=Ze(e),{validateMonthYearInRange:o}=fa(e),i=(u,m)=>{let d=u;return n.value.months.includes(Oe(d))?(d=m?Ft(u,1):Ga(u,1),i(d,m)):d},s=(u,m)=>{let d=u;return n.value.years.includes(Ve(d))?(d=m?Rr(u,1):Ms(u,1),s(d,m)):d},l=(u,m=!1)=>{const d=We(ge(),{month:e.month,year:e.year});let h=u?Ft(d,1):Ga(d,1);e.disableYearSelect&&(h=Yt(h,e.year));let f=Oe(h),g=Ve(h);n.value.months.includes(f)&&(h=i(h,u),f=Oe(h),g=Ve(h)),n.value.years.includes(g)&&(h=s(h,u),g=Ve(h)),o(f,g,u,e.preventMinMaxNavigation)&&c(f,g,m)},c=(u,m,d)=>{a("update-month-year",{month:u,year:m,fromNav:d})},p=t.computed(()=>u=>zs(We(ge(),{month:e.month,year:e.year}),r.value.maxDate,r.value.minDate,e.preventMinMaxNavigation,u));return{handleMonthYearChange:l,isDisabled:p,updateMonthYear:c}},Xn={multiCalendars:{type:[Boolean,Number,String,Object],default:void 0},modelValue:{type:[String,Date,Array,Object,Number],default:null},modelType:{type:String,default:null},position:{type:String,default:"center"},dark:{type:Boolean,default:!1},format:{type:[String,Function],default:()=>null},autoPosition:{type:Boolean,default:!0},altPosition:{type:Function,default:null},transitions:{type:[Boolean,Object],default:!0},formatLocale:{type:Object,default:null},utc:{type:[Boolean,String],default:!1},ariaLabels:{type:Object,default:()=>({})},offset:{type:[Number,String],default:10},hideNavigation:{type:Array,default:()=>[]},timezone:{type:[String,Object],default:null},vertical:{type:Boolean,default:!1},disableMonthYearSelect:{type:Boolean,default:!1},disableYearSelect:{type:Boolean,default:!1},dayClass:{type:Function,default:null},yearRange:{type:Array,default:()=>[1900,2100]},enableTimePicker:{type:Boolean,default:!0},autoApply:{type:Boolean,default:!1},disabledDates:{type:[Array,Function],default:()=>[]},monthNameFormat:{type:String,default:"short"},startDate:{type:[Date,String],default:null},startTime:{type:[Object,Array],default:null},hideOffsetDates:{type:Boolean,default:!1},noToday:{type:Boolean,default:!1},disabledWeekDays:{type:Array,default:()=>[]},allowedDates:{type:Array,default:null},nowButtonLabel:{type:String,default:"Now"},markers:{type:Array,default:()=>[]},escClose:{type:Boolean,default:!0},spaceConfirm:{type:Boolean,default:!0},monthChangeOnArrows:{type:Boolean,default:!0},presetDates:{type:Array,default:()=>[]},flow:{type:Array,default:()=>[]},partialFlow:{type:Boolean,default:!1},preventMinMaxNavigation:{type:Boolean,default:!1},reverseYears:{type:Boolean,default:!1},weekPicker:{type:Boolean,default:!1},filters:{type:Object,default:()=>({})},arrowNavigation:{type:Boolean,default:!1},highlight:{type:[Function,Object],default:null},teleport:{type:[Boolean,String,Object],default:null},teleportCenter:{type:Boolean,default:!1},locale:{type:String,default:"en-Us"},weekNumName:{type:String,default:"W"},weekStart:{type:[Number,String],default:1},weekNumbers:{type:[String,Function,Object],default:null},monthChangeOnScroll:{type:[Boolean,String],default:!0},dayNames:{type:[Function,Array],default:null},monthPicker:{type:Boolean,default:!1},customProps:{type:Object,default:null},yearPicker:{type:Boolean,default:!1},modelAuto:{type:Boolean,default:!1},selectText:{type:String,default:"Select"},cancelText:{type:String,default:"Cancel"},previewFormat:{type:[String,Function],default:()=>""},multiDates:{type:[Object,Boolean],default:!1},ignoreTimeValidation:{type:Boolean,default:!1},minDate:{type:[Date,String],default:null},maxDate:{type:[Date,String],default:null},minTime:{type:Object,default:null},maxTime:{type:Object,default:null},name:{type:String,default:null},placeholder:{type:String,default:""},hideInputIcon:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},state:{type:Boolean,default:null},required:{type:Boolean,default:!1},autocomplete:{type:String,default:"off"},timePicker:{type:Boolean,default:!1},enableSeconds:{type:Boolean,default:!1},is24:{type:Boolean,default:!0},noHoursOverlay:{type:Boolean,default:!1},noMinutesOverlay:{type:Boolean,default:!1},noSecondsOverlay:{type:Boolean,default:!1},hoursGridIncrement:{type:[String,Number],default:1},minutesGridIncrement:{type:[String,Number],default:5},secondsGridIncrement:{type:[String,Number],default:5},hoursIncrement:{type:[Number,String],default:1},minutesIncrement:{type:[Number,String],default:1},secondsIncrement:{type:[Number,String],default:1},range:{type:[Boolean,Object],default:!1},uid:{type:String,default:null},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},inline:{type:[Boolean,Object],default:!1},textInput:{type:[Boolean,Object],default:!1},sixWeeks:{type:[Boolean,String],default:!1},actionRow:{type:Object,default:()=>({})},focusStartDate:{type:Boolean,default:!1},disabledTimes:{type:[Function,Array],default:void 0},timePickerInline:{type:Boolean,default:!1},calendar:{type:Function,default:null},config:{type:Object,default:void 0},quarterPicker:{type:Boolean,default:!1},yearFirst:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},onInternalModelChange:{type:[Function,Object],default:null},enableMinutes:{type:Boolean,default:!0},ui:{type:Object,default:()=>({})}},Ht={...Xn,shadow:{type:Boolean,default:!1},flowStep:{type:Number,default:0},internalModelValue:{type:[Date,Array],default:null},noOverlayFocus:{type:Boolean,default:!1},collapse:{type:Boolean,default:!1},menuWrapRef:{type:Object,default:null},getInputRect:{type:Function,default:()=>({})},isTextInputDate:{type:Boolean,default:!1}},ku=["title"],bu=["disabled"],xu=t.defineComponent({compatConfig:{MODE:3},__name:"ActionRow",props:{menuMount:{type:Boolean,default:!1},calendarWidth:{type:Number,default:0},...Ht},emits:["close-picker","select-date","select-now","invalid-select"],setup(e,{emit:a}){const n=a,r=e,{defaultedActionRow:o,defaultedPreviewFormat:i,defaultedMultiCalendars:s,defaultedTextInput:l,defaultedInline:c,defaultedRange:p,defaultedMultiDates:u}=Ze(r),{isTimeValid:m,isMonthValid:d}=fa(r),{buildMatrix:h}=da(),f=t.ref(null),g=t.ref(null),b=t.ref(!1),x=t.ref({}),w=t.ref(null),k=t.ref(null);t.onMounted(()=>{r.arrowNavigation&&h([ct(f),ct(g)],"actionRow"),V(),window.addEventListener("resize",V)}),t.onUnmounted(()=>{window.removeEventListener("resize",V)});const V=()=>{b.value=!1,setTimeout(()=>{var E,D;const R=(E=w.value)==null?void 0:E.getBoundingClientRect(),Y=(D=k.value)==null?void 0:D.getBoundingClientRect();R&&Y&&(x.value.maxWidth=`${Y.width-R.width-20}px`),b.value=!0},0)},_=t.computed(()=>p.value.enabled&&!p.value.partialRange&&r.internalModelValue?r.internalModelValue.length===2:!0),T=t.computed(()=>!m.value(r.internalModelValue)||!d.value(r.internalModelValue)||!_.value),N=()=>{const E=i.value;return r.timePicker||r.monthPicker,E(ft(r.internalModelValue))},S=()=>{const E=r.internalModelValue;return s.value.count>0?`${B(E[0])} - ${B(E[1])}`:[B(E[0]),B(E[1])]},B=E=>Is(E,i.value,r.formatLocale,l.value.rangeSeparator,r.modelAuto,i.value),G=t.computed(()=>!r.internalModelValue||!r.menuMount?"":typeof i.value=="string"?Array.isArray(r.internalModelValue)?r.internalModelValue.length===2&&r.internalModelValue[1]?S():u.value.enabled?r.internalModelValue.map(E=>`${B(E)}`):r.modelAuto?`${B(r.internalModelValue[0])}`:`${B(r.internalModelValue[0])} -`:B(r.internalModelValue):N()),O=()=>u.value.enabled?"; ":" - ",Q=t.computed(()=>Array.isArray(G.value)?G.value.join(O()):G.value),U=()=>{m.value(r.internalModelValue)&&d.value(r.internalModelValue)&&_.value?n("select-date"):n("invalid-select")};return(E,D)=>(t.openBlock(),t.createElementBlock("div",{ref_key:"actionRowRef",ref:k,class:"dp__action_row"},[E.$slots["action-row"]?t.renderSlot(E.$slots,"action-row",t.normalizeProps(t.mergeProps({key:0},{internalModelValue:E.internalModelValue,disabled:T.value,selectDate:()=>E.$emit("select-date"),closePicker:()=>E.$emit("close-picker")}))):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.unref(o).showPreview?(t.openBlock(),t.createElementBlock("div",{key:0,class:"dp__selection_preview",title:Q.value,style:t.normalizeStyle(x.value)},[E.$slots["action-preview"]&&b.value?t.renderSlot(E.$slots,"action-preview",{key:0,value:E.internalModelValue}):t.createCommentVNode("",!0),!E.$slots["action-preview"]&&b.value?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(Q.value),1)],64)):t.createCommentVNode("",!0)],12,ku)):t.createCommentVNode("",!0),t.createElementVNode("div",{ref_key:"actionBtnContainer",ref:w,class:"dp__action_buttons","data-dp-element":"action-row"},[E.$slots["action-buttons"]?t.renderSlot(E.$slots,"action-buttons",{key:0,value:E.internalModelValue}):t.createCommentVNode("",!0),E.$slots["action-buttons"]?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[!t.unref(c).enabled&&t.unref(o).showCancel?(t.openBlock(),t.createElementBlock("button",{key:0,ref_key:"cancelButtonRef",ref:f,type:"button",class:"dp__action_button dp__action_cancel",onClick:D[0]||(D[0]=R=>E.$emit("close-picker")),onKeydown:D[1]||(D[1]=R=>t.unref(wt)(R,()=>E.$emit("close-picker")))},t.toDisplayString(E.cancelText),545)):t.createCommentVNode("",!0),t.unref(o).showNow?(t.openBlock(),t.createElementBlock("button",{key:1,type:"button",class:"dp__action_button dp__action_cancel",onClick:D[2]||(D[2]=R=>E.$emit("select-now")),onKeydown:D[3]||(D[3]=R=>t.unref(wt)(R,()=>E.$emit("select-now")))},t.toDisplayString(E.nowButtonLabel),33)):t.createCommentVNode("",!0),t.unref(o).showSelect?(t.openBlock(),t.createElementBlock("button",{key:2,ref_key:"selectButtonRef",ref:g,type:"button",class:"dp__action_button dp__action_select",disabled:T.value,"data-test":"select-button",onKeydown:D[4]||(D[4]=R=>t.unref(wt)(R,()=>U())),onClick:U},t.toDisplayString(E.selectText),41,bu)):t.createCommentVNode("",!0)],64))],512)],64))],512))}}),wu=["role","aria-label","tabindex"],vu={class:"dp__selection_grid_header"},Eu=["aria-selected","aria-disabled","data-test","onClick","onKeydown","onMouseover"],Cu=["aria-label"],gn=t.defineComponent({__name:"SelectionOverlay",props:{items:{},type:{},isLast:{type:Boolean},arrowNavigation:{type:Boolean},skipButtonRef:{type:Boolean},headerRefs:{},hideNavigation:{},escClose:{type:Boolean},useRelative:{type:Boolean},height:{},textInput:{type:[Boolean,Object]},config:{},noOverlayFocus:{type:Boolean},focusValue:{},menuWrapRef:{},ariaLabels:{},overlayLabel:{}},emits:["selected","toggle","reset-flow","hover-value"],setup(e,{expose:a,emit:n}){const{setSelectionGrid:r,buildMultiLevelMatrix:o,setMonthPicker:i}=da(),s=n,l=e,{defaultedAriaLabels:c,defaultedTextInput:p,defaultedConfig:u}=Ze(l),{hideNavigationButtons:m}=Kn(),d=t.ref(!1),h=t.ref(null),f=t.ref(null),g=t.ref([]),b=t.ref(),x=t.ref(null),w=t.ref(0),k=t.ref(null);t.onBeforeUpdate(()=>{h.value=null}),t.onMounted(()=>{t.nextTick().then(()=>O()),l.noOverlayFocus||_(),V(!0)}),t.onUnmounted(()=>V(!1));const V=K=>{var q;l.arrowNavigation&&((q=l.headerRefs)!=null&&q.length?i(K):r(K))},_=()=>{var K;const q=ct(f);q&&(p.value.enabled||(h.value?(K=h.value)==null||K.focus({preventScroll:!0}):q.focus({preventScroll:!0})),d.value=q.clientHeight<q.scrollHeight)},T=t.computed(()=>({dp__overlay:!0,"dp--overlay-absolute":!l.useRelative,"dp--overlay-relative":l.useRelative})),N=t.computed(()=>l.useRelative?{height:`${l.height}px`,width:"var(--dp-menu-min-width)"}:void 0),S=t.computed(()=>({dp__overlay_col:!0})),B=t.computed(()=>({dp__btn:!0,dp__button:!0,dp__overlay_action:!0,dp__over_action_scroll:d.value,dp__button_bottom:l.isLast})),G=t.computed(()=>{var K,q;return{dp__overlay_container:!0,dp__container_flex:((K=l.items)==null?void 0:K.length)<=6,dp__container_block:((q=l.items)==null?void 0:q.length)>6}});t.watch(()=>l.items,()=>O(!1),{deep:!0});const O=(K=!0)=>{t.nextTick().then(()=>{const q=ct(h),M=ct(f),J=ct(x),ce=ct(k),z=J?J.getBoundingClientRect().height:0;M&&(M.getBoundingClientRect().height?w.value=M.getBoundingClientRect().height-z:w.value=u.value.modeHeight-z),q&&ce&&K&&(ce.scrollTop=q.offsetTop-ce.offsetTop-(w.value/2-q.getBoundingClientRect().height)-z)})},Q=K=>{K.disabled||s("selected",K.value)},U=()=>{s("toggle"),s("reset-flow")},E=()=>{l.escClose&&U()},D=(K,q,M,J)=>{K&&((q.active||q.value===l.focusValue)&&(h.value=K),l.arrowNavigation&&(Array.isArray(g.value[M])?g.value[M][J]=K:g.value[M]=[K],R()))},R=()=>{var K,q;const M=(K=l.headerRefs)!=null&&K.length?[l.headerRefs].concat(g.value):g.value.concat([l.skipButtonRef?[]:[x.value]]);o(ft(M),(q=l.headerRefs)!=null&&q.length?"monthPicker":"selectionGrid")},Y=K=>{l.arrowNavigation||sa(K,u.value,!0)},oe=K=>{b.value=K,s("hover-value",K)},A=()=>{if(U(),!l.isLast){const K=ro(l.menuWrapRef??null,"action-row");if(K){const q=Ts(K);q==null||q.focus()}}},v=K=>{switch(K.key){case Ue.esc:return E();case Ue.arrowLeft:return Y(K);case Ue.arrowRight:return Y(K);case Ue.arrowUp:return Y(K);case Ue.arrowDown:return Y(K);default:return}},X=K=>{if(K.key===Ue.enter)return U();if(K.key===Ue.tab)return A()};return a({focusGrid:_}),(K,q)=>{var M;return t.openBlock(),t.createElementBlock("div",{ref_key:"gridWrapRef",ref:f,class:t.normalizeClass(T.value),style:t.normalizeStyle(N.value),role:K.useRelative?void 0:"dialog","aria-label":K.overlayLabel,tabindex:K.useRelative?void 0:"0",onKeydown:v,onClick:q[0]||(q[0]=t.withModifiers(()=>{},["prevent"]))},[t.createElementVNode("div",{ref_key:"containerRef",ref:k,class:t.normalizeClass(G.value),style:t.normalizeStyle({"--dp-overlay-height":`${w.value}px`}),role:"grid"},[t.createElementVNode("div",vu,[t.renderSlot(K.$slots,"header")]),K.$slots.overlay?t.renderSlot(K.$slots,"overlay",{key:0}):(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(K.items,(J,ce)=>(t.openBlock(),t.createElementBlock("div",{key:ce,class:t.normalizeClass(["dp__overlay_row",{dp__flex_row:K.items.length>=3}]),role:"row"},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(J,(z,he)=>(t.openBlock(),t.createElementBlock("div",{key:z.value,ref_for:!0,ref:ee=>D(ee,z,ce,he),role:"gridcell",class:t.normalizeClass(S.value),"aria-selected":z.active||void 0,"aria-disabled":z.disabled||void 0,tabindex:"0","data-test":z.text,onClick:t.withModifiers(ee=>Q(z),["prevent"]),onKeydown:ee=>t.unref(wt)(ee,()=>Q(z),!0),onMouseover:ee=>oe(z.value)},[t.createElementVNode("div",{class:t.normalizeClass(z.className)},[K.$slots.item?t.renderSlot(K.$slots,"item",{key:0,item:z}):t.createCommentVNode("",!0),K.$slots.item?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(z.text),1)],64))],2)],42,Eu))),128))],2))),128))],6),K.$slots["button-icon"]?t.withDirectives((t.openBlock(),t.createElementBlock("button",{key:0,ref_key:"toggleButton",ref:x,type:"button","aria-label":(M=t.unref(c))==null?void 0:M.toggleOverlay,class:t.normalizeClass(B.value),tabindex:"0",onClick:U,onKeydown:X},[t.renderSlot(K.$slots,"button-icon")],42,Cu)),[[t.vShow,!t.unref(m)(K.hideNavigation,K.type)]]):t.createCommentVNode("",!0)],46,wu)}}}),Zn=t.defineComponent({__name:"InstanceWrap",props:{multiCalendars:{},stretch:{type:Boolean},collapse:{type:Boolean}},setup(e){const a=e,n=t.computed(()=>a.multiCalendars>0?[...Array(a.multiCalendars).keys()]:[0]),r=t.computed(()=>({dp__instance_calendar:a.multiCalendars>0}));return(o,i)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass({dp__menu_inner:!o.stretch,"dp--menu--inner-stretched":o.stretch,dp__flex_display:o.multiCalendars>0,"dp--flex-display-collapsed":o.collapse})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(n.value,(s,l)=>(t.openBlock(),t.createElementBlock("div",{key:s,class:t.normalizeClass(r.value)},[t.renderSlot(o.$slots,"default",{instance:s,index:l})],2))),128))],2))}}),Su=["data-dp-element","aria-label","aria-disabled"],yn=t.defineComponent({compatConfig:{MODE:3},__name:"ArrowBtn",props:{ariaLabel:{},elName:{},disabled:{type:Boolean}},emits:["activate","set-ref"],setup(e,{emit:a}){const n=a,r=t.ref(null);return t.onMounted(()=>n("set-ref",r)),(o,i)=>(t.openBlock(),t.createElementBlock("button",{ref_key:"elRef",ref:r,type:"button","data-dp-element":o.elName,class:"dp__btn dp--arrow-btn-nav",tabindex:"0","aria-label":o.ariaLabel,"aria-disabled":o.disabled||void 0,onClick:i[0]||(i[0]=s=>o.$emit("activate")),onKeydown:i[1]||(i[1]=s=>t.unref(wt)(s,()=>o.$emit("activate"),!0))},[t.createElementVNode("span",{class:t.normalizeClass(["dp__inner_nav",{dp__inner_nav_disabled:o.disabled}])},[t.renderSlot(o.$slots,"default")],2)],40,Su))}}),Mu=["aria-label","data-test"],Xs=t.defineComponent({__name:"YearModePicker",props:{...Ht,showYearPicker:{type:Boolean,default:!1},items:{type:Array,default:()=>[]},instance:{type:Number,default:0},year:{type:Number,default:0},isDisabled:{type:Function,default:()=>!1}},emits:["toggle-year-picker","year-select","handle-year"],setup(e,{emit:a}){const n=a,r=e,{showRightIcon:o,showLeftIcon:i}=Kn(),{defaultedConfig:s,defaultedMultiCalendars:l,defaultedAriaLabels:c,defaultedTransitions:p,defaultedUI:u}=Ze(r),{showTransition:m,transitionName:d}=kn(p),h=t.ref(!1),f=(x=!1,w)=>{h.value=!h.value,n("toggle-year-picker",{flow:x,show:w})},g=x=>{h.value=!1,n("year-select",x)},b=(x=!1)=>{n("handle-year",x)};return(x,w)=>{var k,V,_,T,N;return t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("div",{class:t.normalizeClass(["dp--year-mode-picker",{"dp--hidden-el":h.value}])},[t.unref(i)(t.unref(l),e.instance)?(t.openBlock(),t.createBlock(yn,{key:0,ref:"mpPrevIconRef","aria-label":(k=t.unref(c))==null?void 0:k.prevYear,disabled:e.isDisabled(!1),class:t.normalizeClass((V=t.unref(u))==null?void 0:V.navBtnPrev),onActivate:w[0]||(w[0]=S=>b(!1))},{default:t.withCtx(()=>[x.$slots["arrow-left"]?t.renderSlot(x.$slots,"arrow-left",{key:0}):t.createCommentVNode("",!0),x.$slots["arrow-left"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref(Xr),{key:1}))]),_:3},8,["aria-label","disabled","class"])):t.createCommentVNode("",!0),t.createElementVNode("button",{ref:"mpYearButtonRef",class:"dp__btn dp--year-select",type:"button","aria-label":`${e.year}-${(_=t.unref(c))==null?void 0:_.openYearsOverlay}`,"data-test":`year-mode-btn-${e.instance}`,onClick:w[1]||(w[1]=()=>f(!1)),onKeydown:w[2]||(w[2]=t.withKeys(()=>f(!1),["enter"]))},[x.$slots.year?t.renderSlot(x.$slots,"year",{key:0,year:e.year}):t.createCommentVNode("",!0),x.$slots.year?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(e.year),1)],64))],40,Mu),t.unref(o)(t.unref(l),e.instance)?(t.openBlock(),t.createBlock(yn,{key:1,ref:"mpNextIconRef","aria-label":(T=t.unref(c))==null?void 0:T.nextYear,disabled:e.isDisabled(!0),class:t.normalizeClass((N=t.unref(u))==null?void 0:N.navBtnNext),onActivate:w[3]||(w[3]=S=>b(!0))},{default:t.withCtx(()=>[x.$slots["arrow-right"]?t.renderSlot(x.$slots,"arrow-right",{key:0}):t.createCommentVNode("",!0),x.$slots["arrow-right"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref(Zr),{key:1}))]),_:3},8,["aria-label","disabled","class"])):t.createCommentVNode("",!0)],2),t.createVNode(t.Transition,{name:t.unref(d)(e.showYearPicker),css:t.unref(m)},{default:t.withCtx(()=>{var S,B;return[e.showYearPicker?(t.openBlock(),t.createBlock(gn,{key:0,items:e.items,"text-input":x.textInput,"esc-close":x.escClose,config:x.config,"is-last":x.autoApply&&!t.unref(s).keepActionRow,"hide-navigation":x.hideNavigation,"aria-labels":x.ariaLabels,"overlay-label":(B=(S=t.unref(c))==null?void 0:S.yearPicker)==null?void 0:B.call(S,!0),type:"year",onToggle:f,onSelected:w[4]||(w[4]=G=>g(G))},t.createSlots({"button-icon":t.withCtx(()=>[x.$slots["calendar-icon"]?t.renderSlot(x.$slots,"calendar-icon",{key:0}):t.createCommentVNode("",!0),x.$slots["calendar-icon"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref(ja),{key:1}))]),_:2},[x.$slots["year-overlay-value"]?{name:"item",fn:t.withCtx(({item:G})=>[t.renderSlot(x.$slots,"year-overlay-value",{text:G.text,value:G.value})]),key:"0"}:void 0]),1032,["items","text-input","esc-close","config","is-last","hide-navigation","aria-labels","overlay-label"])):t.createCommentVNode("",!0)]}),_:3},8,["name","css"])],64)}}}),bo=(e,a,n)=>{if(a.value&&Array.isArray(a.value))if(a.value.some(r=>Fe(e,r))){const r=a.value.filter(o=>!Fe(o,e));a.value=r.length?r:null}else(n&&+n>a.value.length||!n)&&a.value.push(e);else a.value=[e]},xo=(e,a,n)=>{let r=e.value?e.value.slice():[];return r.length===2&&r[1]!==null&&(r=[]),r.length?tt(a,r[0])?(r.unshift(a),n("range-start",r[0]),n("range-start",r[1])):(r[1]=a,n("range-end",a)):(r=[a],n("range-start",a)),r},Qn=(e,a,n,r)=>{e&&(e[0]&&e[1]&&n&&a("auto-apply"),e[0]&&!e[1]&&r&&n&&a("auto-apply"))},Zs=e=>{Array.isArray(e.value)&&e.value.length<=2&&e.range?e.modelValue.value=e.value.map(a=>At(ge(a),e.timezone)):Array.isArray(e.value)||(e.modelValue.value=At(ge(e.value),e.timezone))},Qs=(e,a,n,r)=>Array.isArray(a.value)&&(a.value.length===2||a.value.length===1&&r.value.partialRange)?r.value.fixedStart&&(it(e,a.value[0])||Fe(e,a.value[0]))?[a.value[0],e]:r.value.fixedEnd&&(tt(e,a.value[1])||Fe(e,a.value[1]))?[e,a.value[1]]:(n("invalid-fixed-range",e),a.value):[],Ks=({multiCalendars:e,range:a,highlight:n,propDates:r,calendars:o,modelValue:i,props:s,filters:l,year:c,month:p,emit:u})=>{const m=t.computed(()=>ao(s.yearRange,s.locale,s.reverseYears)),d=t.ref([!1]),h=t.computed(()=>(G,O)=>{const Q=We(Rt(new Date),{month:p.value(G),year:c.value(G)}),U=O?ss(Q):dn(Q);return zs(U,r.value.maxDate,r.value.minDate,s.preventMinMaxNavigation,O)}),f=()=>Array.isArray(i.value)&&e.value.solo&&i.value[1],g=()=>{for(let G=0;G<e.value.count;G++)if(G===0)o.value[G]=o.value[0];else if(G===e.value.count-1&&f())o.value[G]={month:Oe(i.value[1]),year:Ve(i.value[1])};else{const O=We(ge(),o.value[G-1]);o.value[G]={month:Oe(O),year:Ve(Rr(O,1))}}},b=G=>{if(!G)return g();const O=We(ge(),o.value[G]);return o.value[0].year=Ve(Ms(O,e.value.count-1)),g()},x=(G,O)=>{const Q=z2(O,G);return a.value.showLastInRange&&Q>1?O:G},w=G=>s.focusStartDate||e.value.solo?G[0]:G[1]?x(G[0],G[1]):G[0],k=()=>{if(i.value){const G=Array.isArray(i.value)?w(i.value):i.value;o.value[0]={month:Oe(G),year:Ve(G)}}},V=()=>{k(),e.value.count&&g()};t.watch(i,(G,O)=>{s.isTextInputDate&&JSON.stringify(G??{})!==JSON.stringify(O??{})&&V()}),t.onMounted(()=>{V()});const _=(G,O)=>{o.value[O].year=G,u("update-month-year",{instance:O,year:G,month:o.value[O].month}),e.value.count&&!e.value.solo&&b(O)},T=t.computed(()=>G=>qa(m.value,O=>{var Q;const U=c.value(G)===O.value,E=hn(O.value,Wa(r.value.minDate),Wa(r.value.maxDate))||((Q=l.value.years)==null?void 0:Q.includes(c.value(G))),D=mo(n.value,O.value);return{active:U,disabled:E,highlighted:D}})),N=(G,O)=>{_(G,O),B(O)},S=(G,O=!1)=>{if(!h.value(G,O)){const Q=O?c.value(G)+1:c.value(G)-1;_(Q,G)}},B=(G,O=!1,Q)=>{O||u("reset-flow"),Q!==void 0?d.value[G]=Q:d.value[G]=!d.value[G],d.value[G]?u("overlay-toggle",{open:!0,overlay:yt.year}):(u("overlay-closed"),u("overlay-toggle",{open:!1,overlay:yt.year}))};return{isDisabled:h,groupedYears:T,showYearPicker:d,selectYear:_,toggleYearPicker:B,handleYearSelect:N,handleYear:S}},Bu=(e,a)=>{const{defaultedMultiCalendars:n,defaultedAriaLabels:r,defaultedTransitions:o,defaultedConfig:i,defaultedRange:s,defaultedHighlight:l,propDates:c,defaultedTz:p,defaultedFilters:u,defaultedMultiDates:m}=Ze(e),d=()=>{e.isTextInputDate&&V(Ve(ge(e.startDate)),0)},{modelValue:h,year:f,month:g,calendars:b}=bn(e,a,d),x=t.computed(()=>Vs(e.formatLocale,e.locale,e.monthNameFormat)),w=t.ref(null),{checkMinMaxRange:k}=fa(e),{selectYear:V,groupedYears:_,showYearPicker:T,toggleYearPicker:N,handleYearSelect:S,handleYear:B,isDisabled:G}=Ks({modelValue:h,multiCalendars:n,range:s,highlight:l,calendars:b,year:f,propDates:c,month:g,filters:u,props:e,emit:a});t.onMounted(()=>{e.startDate&&(h.value&&e.focusStartDate||!h.value)&&V(Ve(ge(e.startDate)),0)});const O=M=>M?{month:Oe(M),year:Ve(M)}:{month:null,year:null},Q=()=>h.value?Array.isArray(h.value)?h.value.map(M=>O(M)):O(h.value):O(),U=(M,J)=>{const ce=b.value[M],z=Q();return Array.isArray(z)?z.some(he=>he.year===(ce==null?void 0:ce.year)&&he.month===J):(ce==null?void 0:ce.year)===z.year&&J===z.month},E=(M,J,ce)=>{var z,he;const ee=Q();return Array.isArray(ee)?f.value(J)===((z=ee[ce])==null?void 0:z.year)&&M===((he=ee[ce])==null?void 0:he.month):!1},D=(M,J)=>{if(s.value.enabled){const ce=Q();if(Array.isArray(h.value)&&Array.isArray(ce)){const z=E(M,J,0)||E(M,J,1),he=Jt(Rt(ge()),M,f.value(J));return Wn(h.value,w.value,he)&&!z}return!1}return!1},R=t.computed(()=>M=>qa(x.value,J=>{var ce;const z=U(M,J.value),he=hn(J.value,Ls(f.value(M),c.value.minDate),$s(f.value(M),c.value.maxDate))||K3(c.value.disabledDates,f.value(M)).includes(J.value)||((ce=u.value.months)==null?void 0:ce.includes(J.value)),ee=D(J.value,M),fe=js(l.value,J.value,f.value(M));return{active:z,disabled:he,isBetween:ee,highlighted:fe}})),Y=(M,J)=>Jt(Rt(ge()),M,f.value(J)),oe=(M,J)=>{const ce=h.value?h.value:Rt(new Date);h.value=Jt(ce,M,f.value(J)),a("auto-apply"),a("update-flow-step")},A=(M,J)=>{const ce=Y(M,J);s.value.fixedEnd||s.value.fixedStart?h.value=Qs(ce,h,a,s):h.value?k(ce,h.value)&&(h.value=xo(h,Y(M,J),a)):h.value=[Y(M,J)],t.nextTick().then(()=>{Qn(h.value,a,e.autoApply,e.modelAuto)})},v=(M,J)=>{bo(Y(M,J),h,m.value.limit),a("auto-apply",!0)},X=(M,J)=>(b.value[J].month=M,q(J,b.value[J].year,M),m.value.enabled?v(M,J):s.value.enabled?A(M,J):oe(M,J)),K=(M,J)=>{V(M,J),q(J,M,null)},q=(M,J,ce)=>{let z=ce;if(!z&&z!==0){const he=Q();z=Array.isArray(he)?he[M].month:he.month}a("update-month-year",{instance:M,year:J,month:z})};return{groupedMonths:R,groupedYears:_,year:f,isDisabled:G,defaultedMultiCalendars:n,defaultedAriaLabels:r,defaultedTransitions:o,defaultedConfig:i,showYearPicker:T,modelValue:h,presetDate:(M,J)=>{Zs({value:M,modelValue:h,range:s.value.enabled,timezone:J?void 0:p.value.timezone}),a("auto-apply")},setHoverDate:(M,J)=>{w.value=Y(M,J)},selectMonth:X,selectYear:K,toggleYearPicker:N,handleYearSelect:S,handleYear:B,getModelMonthYear:Q}},Au=t.defineComponent({compatConfig:{MODE:3},__name:"MonthPicker",props:{...Ht},emits:["update:internal-model-value","overlay-closed","reset-flow","range-start","range-end","auto-apply","update-month-year","update-flow-step","mount","invalid-fixed-range","overlay-toggle"],setup(e,{expose:a,emit:n}){const r=n,o=t.useSlots(),i=Vt(o,"yearMode"),s=e;t.onMounted(()=>{s.shadow||r("mount",null)});const{groupedMonths:l,groupedYears:c,year:p,isDisabled:u,defaultedMultiCalendars:m,defaultedConfig:d,showYearPicker:h,modelValue:f,presetDate:g,setHoverDate:b,selectMonth:x,selectYear:w,toggleYearPicker:k,handleYearSelect:V,handleYear:_,getModelMonthYear:T}=Bu(s,r);return a({getSidebarProps:()=>({modelValue:f,year:p,getModelMonthYear:T,selectMonth:x,selectYear:w,handleYear:_}),presetDate:g,toggleYearPicker:N=>k(0,N)}),(N,S)=>(t.openBlock(),t.createBlock(Zn,{"multi-calendars":t.unref(m).count,collapse:N.collapse,stretch:""},{default:t.withCtx(({instance:B})=>[N.$slots["top-extra"]?t.renderSlot(N.$slots,"top-extra",{key:0,value:N.internalModelValue}):t.createCommentVNode("",!0),N.$slots["month-year"]?t.renderSlot(N.$slots,"month-year",t.normalizeProps(t.mergeProps({key:1},{year:t.unref(p),months:t.unref(l)(B),years:t.unref(c)(B),selectMonth:t.unref(x),selectYear:t.unref(w),instance:B}))):(t.openBlock(),t.createBlock(gn,{key:2,items:t.unref(l)(B),"arrow-navigation":N.arrowNavigation,"is-last":N.autoApply&&!t.unref(d).keepActionRow,"esc-close":N.escClose,height:t.unref(d).modeHeight,config:N.config,"no-overlay-focus":!!(N.noOverlayFocus||N.textInput),"use-relative":"",type:"month",onSelected:G=>t.unref(x)(G,B),onHoverValue:G=>t.unref(b)(G,B)},t.createSlots({header:t.withCtx(()=>[t.createVNode(Xs,t.mergeProps(N.$props,{items:t.unref(c)(B),instance:B,"show-year-picker":t.unref(h)[B],year:t.unref(p)(B),"is-disabled":G=>t.unref(u)(B,G),onHandleYear:G=>t.unref(_)(B,G),onYearSelect:G=>t.unref(V)(G,B),onToggleYearPicker:G=>t.unref(k)(B,G==null?void 0:G.flow,G==null?void 0:G.show)}),t.createSlots({_:2},[t.renderList(t.unref(i),(G,O)=>({name:G,fn:t.withCtx(Q=>[t.renderSlot(N.$slots,G,t.normalizeProps(t.guardReactiveProps(Q)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),_:2},[N.$slots["month-overlay-value"]?{name:"item",fn:t.withCtx(({item:G})=>[t.renderSlot(N.$slots,"month-overlay-value",{text:G.text,value:G.value})]),key:"0"}:void 0]),1032,["items","arrow-navigation","is-last","esc-close","height","config","no-overlay-focus","onSelected","onHoverValue"]))]),_:3},8,["multi-calendars","collapse"]))}}),Vu=(e,a)=>{const n=()=>{e.isTextInputDate&&(u.value=Ve(ge(e.startDate)))},{modelValue:r}=bn(e,a,n),o=t.ref(null),{defaultedHighlight:i,defaultedMultiDates:s,defaultedFilters:l,defaultedRange:c,propDates:p}=Ze(e),u=t.ref();t.onMounted(()=>{e.startDate&&(r.value&&e.focusStartDate||!r.value)&&(u.value=Ve(ge(e.startDate)))});const m=g=>Array.isArray(r.value)?r.value.some(b=>Ve(b)===g):r.value?Ve(r.value)===g:!1,d=g=>c.value.enabled&&Array.isArray(r.value)?Wn(r.value,o.value,f(g)):!1,h=t.computed(()=>qa(ao(e.yearRange,e.locale,e.reverseYears),g=>{const b=m(g.value),x=hn(g.value,Wa(p.value.minDate),Wa(p.value.maxDate))||l.value.years.includes(g.value),w=d(g.value)&&!b,k=mo(i.value,g.value);return{active:b,disabled:x,isBetween:w,highlighted:k}})),f=g=>Yt(Rt(dn(new Date)),g);return{groupedYears:h,modelValue:r,focusYear:u,setHoverValue:g=>{o.value=Yt(Rt(new Date),g)},selectYear:g=>{var b;if(a("update-month-year",{instance:0,year:g}),s.value.enabled)return r.value?Array.isArray(r.value)&&(((b=r.value)==null?void 0:b.map(x=>Ve(x))).includes(g)?r.value=r.value.filter(x=>Ve(x)!==g):r.value.push(Yt(vt(ge()),g))):r.value=[Yt(vt(dn(ge())),g)],a("auto-apply",!0);c.value.enabled?(r.value=xo(r,f(g),a),t.nextTick().then(()=>{Qn(r.value,a,e.autoApply,e.modelAuto)})):(r.value=f(g),a("auto-apply"))}}},_u=t.defineComponent({compatConfig:{MODE:3},__name:"YearPicker",props:{...Ht},emits:["update:internal-model-value","reset-flow","range-start","range-end","auto-apply","update-month-year"],setup(e,{expose:a,emit:n}){const r=n,o=e,{groupedYears:i,modelValue:s,focusYear:l,selectYear:c,setHoverValue:p}=Vu(o,r),{defaultedConfig:u}=Ze(o);return a({getSidebarProps:()=>({modelValue:s,selectYear:c})}),(m,d)=>(t.openBlock(),t.createElementBlock("div",null,[m.$slots["top-extra"]?t.renderSlot(m.$slots,"top-extra",{key:0,value:m.internalModelValue}):t.createCommentVNode("",!0),m.$slots["month-year"]?t.renderSlot(m.$slots,"month-year",t.normalizeProps(t.mergeProps({key:1},{years:t.unref(i),selectYear:t.unref(c)}))):(t.openBlock(),t.createBlock(gn,{key:2,items:t.unref(i),"is-last":m.autoApply&&!t.unref(u).keepActionRow,height:t.unref(u).modeHeight,config:m.config,"no-overlay-focus":!!(m.noOverlayFocus||m.textInput),"focus-value":t.unref(l),type:"year","use-relative":"",onSelected:t.unref(c),onHoverValue:t.unref(p)},t.createSlots({_:2},[m.$slots["year-overlay-value"]?{name:"item",fn:t.withCtx(({item:h})=>[t.renderSlot(m.$slots,"year-overlay-value",{text:h.text,value:h.value})]),key:"0"}:void 0]),1032,["items","is-last","height","config","no-overlay-focus","focus-value","onSelected","onHoverValue"]))]))}}),Nu={key:0,class:"dp__time_input"},Du=["data-test","aria-label","onKeydown","onClick","onMousedown"],Tu=["aria-label","disabled","data-test","onKeydown","onClick"],Pu=["data-test","aria-label","onKeydown","onClick","onMousedown"],Ou={key:0},Fu=["aria-label"],Lu=t.defineComponent({compatConfig:{MODE:3},__name:"TimeInput",props:{hours:{type:Number,default:0},minutes:{type:Number,default:0},seconds:{type:Number,default:0},closeTimePickerBtn:{type:Object,default:null},order:{type:Number,default:0},disabledTimesConfig:{type:Function,default:null},validateTime:{type:Function,default:()=>!1},...Ht},emits:["set-hours","set-minutes","update:hours","update:minutes","update:seconds","reset-flow","mounted","overlay-closed","overlay-opened","am-pm-change"],setup(e,{expose:a,emit:n}){const r=n,o=e,{setTimePickerElements:i,setTimePickerBackRef:s}=da(),{defaultedAriaLabels:l,defaultedTransitions:c,defaultedFilters:p,defaultedConfig:u,defaultedRange:m}=Ze(o),{transitionName:d,showTransition:h}=kn(c),f=t.reactive({hours:!1,minutes:!1,seconds:!1}),g=t.ref("AM"),b=t.ref(null),x=t.ref([]),w=t.ref(),k=t.ref(!1);t.onMounted(()=>{r("mounted")});const V=y=>We(new Date,{hours:y.hours,minutes:y.minutes,seconds:o.enableSeconds?y.seconds:0,milliseconds:0}),_=t.computed(()=>y=>Y(y,o[y])||N(y,o[y])),T=t.computed(()=>({hours:o.hours,minutes:o.minutes,seconds:o.seconds})),N=(y,P)=>m.value.enabled&&!m.value.disableTimeRangeValidation?!o.validateTime(y,P):!1,S=(y,P)=>{if(m.value.enabled&&!m.value.disableTimeRangeValidation){const I=P?+o[`${y}Increment`]:-+o[`${y}Increment`],H=o[y]+I;return!o.validateTime(y,H)}return!1},B=t.computed(()=>y=>!K(+o[y]+ +o[`${y}Increment`],y)||S(y,!0)),G=t.computed(()=>y=>!K(+o[y]-+o[`${y}Increment`],y)||S(y,!1)),O=(y,P)=>Qi(We(ge(),y),P),Q=(y,P)=>P3(We(ge(),y),P),U=t.computed(()=>({dp__time_col:!0,dp__time_col_block:!o.timePickerInline,dp__time_col_reg_block:!o.enableSeconds&&o.is24&&!o.timePickerInline,dp__time_col_reg_inline:!o.enableSeconds&&o.is24&&o.timePickerInline,dp__time_col_reg_with_button:!o.enableSeconds&&!o.is24,dp__time_col_sec:o.enableSeconds&&o.is24,dp__time_col_sec_with_button:o.enableSeconds&&!o.is24})),E=t.computed(()=>{const y=[{type:"hours"}];return o.enableMinutes&&y.push({type:"",separator:!0},{type:"minutes"}),o.enableSeconds&&y.push({type:"",separator:!0},{type:"seconds"}),y}),D=t.computed(()=>E.value.filter(y=>!y.separator)),R=t.computed(()=>y=>{if(y==="hours"){const P=he(+o.hours);return{text:P<10?`0${P}`:`${P}`,value:P}}return{text:o[y]<10?`0${o[y]}`:`${o[y]}`,value:o[y]}}),Y=(y,P)=>{var I;if(!o.disabledTimesConfig)return!1;const H=o.disabledTimesConfig(o.order,y==="hours"?P:void 0);return H[y]?!!((I=H[y])!=null&&I.includes(P)):!0},oe=(y,P)=>P!=="hours"||g.value==="AM"?y:y+12,A=y=>{const P=o.is24?24:12,I=y==="hours"?P:60,H=+o[`${y}GridIncrement`],te=y==="hours"&&!o.is24?H:0,j=[];for(let ne=te;ne<I;ne+=H)j.push({value:o.is24?ne:oe(ne,y),text:ne<10?`0${ne}`:`${ne}`});return y==="hours"&&!o.is24&&j.unshift({value:g.value==="PM"?12:0,text:"12"}),qa(j,ne=>({active:!1,disabled:p.value.times[y].includes(ne.value)||!K(ne.value,y)||Y(y,ne.value)||N(y,ne.value)}))},v=y=>y>=0?y:59,X=y=>y>=0?y:23,K=(y,P)=>{const I=o.minTime?V(so(o.minTime)):null,H=o.maxTime?V(so(o.maxTime)):null,te=V(so(T.value,P,P==="minutes"||P==="seconds"?v(y):X(y)));return I&&H?(mn(te,H)||Ia(te,H))&&(za(te,I)||Ia(te,I)):I?za(te,I)||Ia(te,I):H?mn(te,H)||Ia(te,H):!0},q=y=>o[`no${y[0].toUpperCase()+y.slice(1)}Overlay`],M=y=>{q(y)||(f[y]=!f[y],f[y]?(k.value=!0,r("overlay-opened",y)):(k.value=!1,r("overlay-closed",y)))},J=y=>y==="hours"?Qt:y==="minutes"?ia:Ha,ce=()=>{w.value&&clearTimeout(w.value)},z=(y,P=!0,I)=>{const H=P?O:Q,te=P?+o[`${y}Increment`]:-+o[`${y}Increment`];K(+o[y]+te,y)&&r(`update:${y}`,J(y)(H({[y]:+o[y]},{[y]:+o[`${y}Increment`]}))),!(I!=null&&I.keyboard)&&u.value.timeArrowHoldThreshold&&(w.value=setTimeout(()=>{z(y,P)},u.value.timeArrowHoldThreshold))},he=y=>o.is24?y:(y>=12?g.value="PM":g.value="AM",H3(y)),ee=()=>{g.value==="PM"?(g.value="AM",r("update:hours",o.hours-12)):(g.value="PM",r("update:hours",o.hours+12)),r("am-pm-change",g.value)},fe=y=>{f[y]=!0},F=(y,P,I)=>{if(y&&o.arrowNavigation){Array.isArray(x.value[P])?x.value[P][I]=y:x.value[P]=[y];const H=x.value.reduce((te,j)=>j.map((ne,ue)=>[...te[ue]||[],j[ue]]),[]);s(o.closeTimePickerBtn),b.value&&(H[1]=H[1].concat(b.value)),i(H,o.order)}},C=(y,P)=>(M(y),r(`update:${y}`,P));return a({openChildCmp:fe}),(y,P)=>{var I;return y.disabled?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",Nu,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(E.value,(H,te)=>{var j,ne,ue;return t.openBlock(),t.createElementBlock("div",{key:te,class:t.normalizeClass(U.value)},[H.separator?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[k.value?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createTextVNode(":")],64))],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createElementVNode("button",{ref_for:!0,ref:ye=>F(ye,te,0),type:"button",class:t.normalizeClass({dp__btn:!0,dp__inc_dec_button:!y.timePickerInline,dp__inc_dec_button_inline:y.timePickerInline,dp__tp_inline_btn_top:y.timePickerInline,dp__inc_dec_button_disabled:B.value(H.type),"dp--hidden-el":k.value}),"data-test":`${H.type}-time-inc-btn-${o.order}`,"aria-label":(j=t.unref(l))==null?void 0:j.incrementValue(H.type),tabindex:"0",onKeydown:ye=>t.unref(wt)(ye,()=>z(H.type,!0,{keyboard:!0}),!0),onClick:ye=>t.unref(u).timeArrowHoldThreshold?void 0:z(H.type,!0),onMousedown:ye=>t.unref(u).timeArrowHoldThreshold?z(H.type,!0):void 0,onMouseup:ce},[o.timePickerInline?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[y.$slots["tp-inline-arrow-up"]?t.renderSlot(y.$slots,"tp-inline-arrow-up",{key:0}):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[P[2]||(P[2]=t.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1)),P[3]||(P[3]=t.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1))],64))],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[y.$slots["arrow-up"]?t.renderSlot(y.$slots,"arrow-up",{key:0}):t.createCommentVNode("",!0),y.$slots["arrow-up"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref(Kr),{key:1}))],64))],42,Du),t.createElementVNode("button",{ref_for:!0,ref:ye=>F(ye,te,1),type:"button","aria-label":`${R.value(H.type).text}-${(ne=t.unref(l))==null?void 0:ne.openTpOverlay(H.type)}`,class:t.normalizeClass({dp__time_display:!0,dp__time_display_block:!y.timePickerInline,dp__time_display_inline:y.timePickerInline,"dp--time-invalid":_.value(H.type),"dp--time-overlay-btn":!_.value(H.type),"dp--hidden-el":k.value}),disabled:q(H.type),tabindex:"0","data-test":`${H.type}-toggle-overlay-btn-${o.order}`,onKeydown:ye=>t.unref(wt)(ye,()=>M(H.type),!0),onClick:ye=>M(H.type)},[y.$slots[H.type]?t.renderSlot(y.$slots,H.type,{key:0,text:R.value(H.type).text,value:R.value(H.type).value}):t.createCommentVNode("",!0),y.$slots[H.type]?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(R.value(H.type).text),1)],64))],42,Tu),t.createElementVNode("button",{ref_for:!0,ref:ye=>F(ye,te,2),type:"button",class:t.normalizeClass({dp__btn:!0,dp__inc_dec_button:!y.timePickerInline,dp__inc_dec_button_inline:y.timePickerInline,dp__tp_inline_btn_bottom:y.timePickerInline,dp__inc_dec_button_disabled:G.value(H.type),"dp--hidden-el":k.value}),"data-test":`${H.type}-time-dec-btn-${o.order}`,"aria-label":(ue=t.unref(l))==null?void 0:ue.decrementValue(H.type),tabindex:"0",onKeydown:ye=>t.unref(wt)(ye,()=>z(H.type,!1,{keyboard:!0}),!0),onClick:ye=>t.unref(u).timeArrowHoldThreshold?void 0:z(H.type,!1),onMousedown:ye=>t.unref(u).timeArrowHoldThreshold?z(H.type,!1):void 0,onMouseup:ce},[o.timePickerInline?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[y.$slots["tp-inline-arrow-down"]?t.renderSlot(y.$slots,"tp-inline-arrow-down",{key:0}):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[P[4]||(P[4]=t.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_l"},null,-1)),P[5]||(P[5]=t.createElementVNode("span",{class:"dp__tp_inline_btn_bar dp__tp_btn_in_r"},null,-1))],64))],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[y.$slots["arrow-down"]?t.renderSlot(y.$slots,"arrow-down",{key:0}):t.createCommentVNode("",!0),y.$slots["arrow-down"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref(Jr),{key:1}))],64))],42,Pu)],64))],2)}),128)),y.is24?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",Ou,[y.$slots["am-pm-button"]?t.renderSlot(y.$slots,"am-pm-button",{key:0,toggle:ee,value:g.value}):t.createCommentVNode("",!0),y.$slots["am-pm-button"]?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("button",{key:1,ref_key:"amPmButton",ref:b,type:"button",class:"dp__pm_am_button",role:"button","aria-label":(I=t.unref(l))==null?void 0:I.amPmButton,tabindex:"0",onClick:ee,onKeydown:P[0]||(P[0]=H=>t.unref(wt)(H,()=>ee(),!0))},t.toDisplayString(g.value),41,Fu))])),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(D.value,(H,te)=>(t.openBlock(),t.createBlock(t.Transition,{key:te,name:t.unref(d)(f[H.type]),css:t.unref(h)},{default:t.withCtx(()=>{var j,ne;return[f[H.type]?(t.openBlock(),t.createBlock(gn,{key:0,items:A(H.type),"is-last":y.autoApply&&!t.unref(u).keepActionRow,"esc-close":y.escClose,type:H.type,"text-input":y.textInput,config:y.config,"arrow-navigation":y.arrowNavigation,"aria-labels":y.ariaLabels,"overlay-label":(ne=(j=t.unref(l)).timeOverlay)==null?void 0:ne.call(j,H.type),onSelected:ue=>C(H.type,ue),onToggle:ue=>M(H.type),onResetFlow:P[1]||(P[1]=ue=>y.$emit("reset-flow"))},t.createSlots({"button-icon":t.withCtx(()=>[y.$slots["clock-icon"]?t.renderSlot(y.$slots,"clock-icon",{key:0}):t.createCommentVNode("",!0),y.$slots["clock-icon"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.resolveDynamicComponent(y.timePickerInline?t.unref(ja):t.unref(Qr)),{key:1}))]),_:2},[y.$slots[`${H.type}-overlay-value`]?{name:"item",fn:t.withCtx(({item:ue})=>[t.renderSlot(y.$slots,`${H.type}-overlay-value`,{text:ue.text,value:ue.value})]),key:"0"}:void 0,y.$slots[`${H.type}-overlay-header`]?{name:"header",fn:t.withCtx(()=>[t.renderSlot(y.$slots,`${H.type}-overlay-header`,{toggle:()=>M(H.type)})]),key:"1"}:void 0]),1032,["items","is-last","esc-close","type","text-input","config","arrow-navigation","aria-labels","overlay-label","onSelected","onToggle"])):t.createCommentVNode("",!0)]}),_:2},1032,["name","css"]))),128))]))}}}),$u={class:"dp--tp-wrap"},Ru=["aria-label","tabindex"],Hu=["role","aria-label","tabindex"],zu=["aria-label"],Js=t.defineComponent({compatConfig:{MODE:3},__name:"TimePicker",props:{hours:{type:[Number,Array],default:0},minutes:{type:[Number,Array],default:0},seconds:{type:[Number,Array],default:0},disabledTimesConfig:{type:Function,default:null},validateTime:{type:Function,default:()=>!1},...Ht},emits:["update:hours","update:minutes","update:seconds","mount","reset-flow","overlay-opened","overlay-closed","am-pm-change"],setup(e,{expose:a,emit:n}){const r=n,o=e,{buildMatrix:i,setTimePicker:s}=da(),l=t.useSlots(),{defaultedTransitions:c,defaultedAriaLabels:p,defaultedTextInput:u,defaultedConfig:m,defaultedRange:d}=Ze(o),{transitionName:h,showTransition:f}=kn(c),{hideNavigationButtons:g}=Kn(),b=t.ref(null),x=t.ref(null),w=t.ref([]),k=t.ref(null),V=t.ref(!1);t.onMounted(()=>{r("mount"),!o.timePicker&&o.arrowNavigation?i([ct(b.value)],"time"):s(!0,o.timePicker)});const _=t.computed(()=>d.value.enabled&&o.modelAuto?_s(o.internalModelValue):!0),T=t.ref(!1),N=A=>({hours:Array.isArray(o.hours)?o.hours[A]:o.hours,minutes:Array.isArray(o.minutes)?o.minutes[A]:o.minutes,seconds:Array.isArray(o.seconds)?o.seconds[A]:o.seconds}),S=t.computed(()=>{const A=[];if(d.value.enabled)for(let v=0;v<2;v++)A.push(N(v));else A.push(N(0));return A}),B=(A,v=!1,X="")=>{v||r("reset-flow"),T.value=A,r(A?"overlay-opened":"overlay-closed",yt.time),o.arrowNavigation&&s(A),t.nextTick(()=>{X!==""&&w.value[0]&&w.value[0].openChildCmp(X)})},G=t.computed(()=>({dp__btn:!0,dp__button:!0,dp__button_bottom:o.autoApply&&!m.value.keepActionRow})),O=Vt(l,"timePicker"),Q=(A,v,X)=>d.value.enabled?v===0?[A,S.value[1][X]]:[S.value[0][X],A]:A,U=A=>{r("update:hours",A)},E=A=>{r("update:minutes",A)},D=A=>{r("update:seconds",A)},R=()=>{if(k.value&&!u.value.enabled&&!o.noOverlayFocus){const A=Ts(k.value);A&&A.focus({preventScroll:!0})}},Y=A=>{V.value=!1,r("overlay-closed",A)},oe=A=>{V.value=!0,r("overlay-opened",A)};return a({toggleTimePicker:B}),(A,v)=>{var X;return t.openBlock(),t.createElementBlock("div",$u,[!A.timePicker&&!A.timePickerInline?t.withDirectives((t.openBlock(),t.createElementBlock("button",{key:0,ref_key:"openTimePickerBtn",ref:b,type:"button",class:t.normalizeClass({...G.value,"dp--hidden-el":T.value}),"aria-label":(X=t.unref(p))==null?void 0:X.openTimePicker,tabindex:A.noOverlayFocus?void 0:0,"data-test":"open-time-picker-btn",onKeydown:v[0]||(v[0]=K=>t.unref(wt)(K,()=>B(!0))),onClick:v[1]||(v[1]=K=>B(!0))},[A.$slots["clock-icon"]?t.renderSlot(A.$slots,"clock-icon",{key:0}):t.createCommentVNode("",!0),A.$slots["clock-icon"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref(Qr),{key:1}))],42,Ru)),[[t.vShow,!t.unref(g)(A.hideNavigation,"time")]]):t.createCommentVNode("",!0),t.createVNode(t.Transition,{name:t.unref(h)(T.value),css:t.unref(f)&&!A.timePickerInline},{default:t.withCtx(()=>{var K,q;return[T.value||A.timePicker||A.timePickerInline?(t.openBlock(),t.createElementBlock("div",{key:0,ref_key:"overlayRef",ref:k,role:A.timePickerInline?void 0:"dialog",class:t.normalizeClass({dp__overlay:!A.timePickerInline,"dp--overlay-absolute":!o.timePicker&&!A.timePickerInline,"dp--overlay-relative":o.timePicker}),style:t.normalizeStyle(A.timePicker?{height:`${t.unref(m).modeHeight}px`}:void 0),"aria-label":(K=t.unref(p))==null?void 0:K.timePicker,tabindex:A.timePickerInline?void 0:0},[t.createElementVNode("div",{class:t.normalizeClass(A.timePickerInline?"dp__time_picker_inline_container":"dp__overlay_container dp__container_flex dp__time_picker_overlay_container"),style:{display:"flex"}},[A.$slots["time-picker-overlay"]?t.renderSlot(A.$slots,"time-picker-overlay",{key:0,hours:e.hours,minutes:e.minutes,seconds:e.seconds,setHours:U,setMinutes:E,setSeconds:D}):t.createCommentVNode("",!0),A.$slots["time-picker-overlay"]?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(A.timePickerInline?"dp__flex":"dp__overlay_row dp__flex_row")},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(S.value,(M,J)=>t.withDirectives((t.openBlock(),t.createBlock(Lu,t.mergeProps({key:J,ref_for:!0},{...A.$props,order:J,hours:M.hours,minutes:M.minutes,seconds:M.seconds,closeTimePickerBtn:x.value,disabledTimesConfig:e.disabledTimesConfig,disabled:J===0?t.unref(d).fixedStart:t.unref(d).fixedEnd},{ref_for:!0,ref_key:"timeInputRefs",ref:w,"validate-time":(ce,z)=>e.validateTime(ce,Q(z,J,ce)),"onUpdate:hours":ce=>U(Q(ce,J,"hours")),"onUpdate:minutes":ce=>E(Q(ce,J,"minutes")),"onUpdate:seconds":ce=>D(Q(ce,J,"seconds")),onMounted:R,onOverlayClosed:Y,onOverlayOpened:oe,onAmPmChange:v[2]||(v[2]=ce=>A.$emit("am-pm-change",ce))}),t.createSlots({_:2},[t.renderList(t.unref(O),(ce,z)=>({name:ce,fn:t.withCtx(he=>[t.renderSlot(A.$slots,ce,t.mergeProps({ref_for:!0},he))])}))]),1040,["validate-time","onUpdate:hours","onUpdate:minutes","onUpdate:seconds"])),[[t.vShow,J===0?!0:_.value]])),128))],2)),!A.timePicker&&!A.timePickerInline?t.withDirectives((t.openBlock(),t.createElementBlock("button",{key:2,ref_key:"closeTimePickerBtn",ref:x,type:"button",class:t.normalizeClass({...G.value,"dp--hidden-el":V.value}),"aria-label":(q=t.unref(p))==null?void 0:q.closeTimePicker,tabindex:"0",onKeydown:v[3]||(v[3]=M=>t.unref(wt)(M,()=>B(!1))),onClick:v[4]||(v[4]=M=>B(!1))},[A.$slots["calendar-icon"]?t.renderSlot(A.$slots,"calendar-icon",{key:0}):t.createCommentVNode("",!0),A.$slots["calendar-icon"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref(ja),{key:1}))],42,zu)),[[t.vShow,!t.unref(g)(A.hideNavigation,"time")]]):t.createCommentVNode("",!0)],2)],14,Hu)):t.createCommentVNode("",!0)]}),_:3},8,["name","css"])])}}}),el=(e,a,n,r)=>{const{defaultedRange:o}=Ze(e),i=(k,V)=>Array.isArray(a[k])?a[k][V]:a[k],s=k=>e.enableSeconds?Array.isArray(a.seconds)?a.seconds[k]:a.seconds:0,l=(k,V)=>k?V!==void 0?la(k,i("hours",V),i("minutes",V),s(V)):la(k,a.hours,a.minutes,s()):Ss(ge(),s(V)),c=(k,V)=>{a[k]=V},p=t.computed(()=>e.modelAuto&&o.value.enabled?Array.isArray(n.value)?n.value.length>1:!1:o.value.enabled),u=(k,V)=>{const _=Object.fromEntries(Object.keys(a).map(T=>T===k?[T,V]:[T,a[T]].slice()));if(p.value&&!o.value.disableTimeRangeValidation){const T=S=>n.value?la(n.value[S],_.hours[S],_.minutes[S],_.seconds[S]):null,N=S=>Cs(n.value[S],0);return!(Fe(T(0),T(1))&&(za(T(0),N(1))||mn(T(1),N(0))))}return!0},m=(k,V)=>{u(k,V)&&(c(k,V),r&&r())},d=k=>{m("hours",k)},h=k=>{m("minutes",k)},f=k=>{m("seconds",k)},g=(k,V,_,T)=>{V&&d(k),!V&&!_&&h(k),_&&f(k),n.value&&T(n.value)},b=k=>{if(k){const V=Array.isArray(k),_=V?[+k[0].hours,+k[1].hours]:+k.hours,T=V?[+k[0].minutes,+k[1].minutes]:+k.minutes,N=V?[+k[0].seconds,+k[1].seconds]:+k.seconds;c("hours",_),c("minutes",T),e.enableSeconds&&c("seconds",N)}},x=(k,V)=>{const _={hours:Array.isArray(a.hours)?a.hours[k]:a.hours,disabledArr:[]};return(V||V===0)&&(_.hours=V),Array.isArray(e.disabledTimes)&&(_.disabledArr=o.value.enabled&&Array.isArray(e.disabledTimes[k])?e.disabledTimes[k]:e.disabledTimes),_},w=t.computed(()=>(k,V)=>{var _;if(Array.isArray(e.disabledTimes)){const{disabledArr:T,hours:N}=x(k,V),S=T.filter(B=>+B.hours===N);return((_=S[0])==null?void 0:_.minutes)==="*"?{hours:[N],minutes:void 0,seconds:void 0}:{hours:[],minutes:(S==null?void 0:S.map(B=>+B.minutes))??[],seconds:(S==null?void 0:S.map(B=>B.seconds?+B.seconds:void 0))??[]}}return{hours:[],minutes:[],seconds:[]}});return{setTime:c,updateHours:d,updateMinutes:h,updateSeconds:f,getSetDateTime:l,updateTimeValues:g,getSecondsValue:s,assignStartTime:b,validateTime:u,disabledTimesConfig:w}},Iu=(e,a)=>{const n=()=>{e.isTextInputDate&&V()},{modelValue:r,time:o}=bn(e,a,n),{defaultedStartTime:i,defaultedRange:s,defaultedTz:l}=Ze(e),{updateTimeValues:c,getSetDateTime:p,setTime:u,assignStartTime:m,disabledTimesConfig:d,validateTime:h}=el(e,o,r,f);function f(){a("update-flow-step")}const g=T=>{const{hours:N,minutes:S,seconds:B}=T;return{hours:+N,minutes:+S,seconds:B?+B:0}},b=()=>{if(e.startTime){if(Array.isArray(e.startTime)){const N=g(e.startTime[0]),S=g(e.startTime[1]);return[We(ge(),N),We(ge(),S)]}const T=g(e.startTime);return We(ge(),T)}return s.value.enabled?[null,null]:null},x=()=>{if(s.value.enabled){const[T,N]=b();r.value=[At(p(T,0),l.value.timezone),At(p(N,1),l.value.timezone)]}else r.value=At(p(b()),l.value.timezone)},w=T=>Array.isArray(T)?[Na(ge(T[0])),Na(ge(T[1]))]:[Na(T??ge())],k=(T,N,S)=>{u("hours",T),u("minutes",N),u("seconds",e.enableSeconds?S:0)},V=()=>{const[T,N]=w(r.value);return s.value.enabled?k([T.hours,N.hours],[T.minutes,N.minutes],[T.seconds,N.seconds]):k(T.hours,T.minutes,T.seconds)};t.onMounted(()=>{if(!e.shadow)return m(i.value),r.value?V():x()});const _=()=>{Array.isArray(r.value)?r.value=r.value.map((T,N)=>T&&p(T,N)):r.value=p(r.value),a("time-update")};return{modelValue:r,time:o,disabledTimesConfig:d,updateTime:(T,N=!0,S=!1)=>{c(T,N,S,_)},validateTime:h}},Gu=t.defineComponent({compatConfig:{MODE:3},__name:"TimePickerSolo",props:{...Ht},emits:["update:internal-model-value","time-update","am-pm-change","mount","reset-flow","update-flow-step","overlay-toggle"],setup(e,{expose:a,emit:n}){const r=n,o=e,i=t.useSlots(),s=Vt(i,"timePicker"),l=t.ref(null),{time:c,modelValue:p,disabledTimesConfig:u,updateTime:m,validateTime:d}=Iu(o,r);return t.onMounted(()=>{o.shadow||r("mount",null)}),a({getSidebarProps:()=>({modelValue:p,time:c,updateTime:m}),toggleTimePicker:(h,f=!1,g="")=>{var b;(b=l.value)==null||b.toggleTimePicker(h,f,g)}}),(h,f)=>(t.openBlock(),t.createBlock(Zn,{"multi-calendars":0,stretch:""},{default:t.withCtx(()=>[t.createVNode(Js,t.mergeProps({ref_key:"tpRef",ref:l},h.$props,{hours:t.unref(c).hours,minutes:t.unref(c).minutes,seconds:t.unref(c).seconds,"internal-model-value":h.internalModelValue,"disabled-times-config":t.unref(u),"validate-time":t.unref(d),"onUpdate:hours":f[0]||(f[0]=g=>t.unref(m)(g)),"onUpdate:minutes":f[1]||(f[1]=g=>t.unref(m)(g,!1)),"onUpdate:seconds":f[2]||(f[2]=g=>t.unref(m)(g,!1,!0)),onAmPmChange:f[3]||(f[3]=g=>h.$emit("am-pm-change",g)),onResetFlow:f[4]||(f[4]=g=>h.$emit("reset-flow")),onOverlayClosed:f[5]||(f[5]=g=>h.$emit("overlay-toggle",{open:!1,overlay:g})),onOverlayOpened:f[6]||(f[6]=g=>h.$emit("overlay-toggle",{open:!0,overlay:g}))}),t.createSlots({_:2},[t.renderList(t.unref(s),(g,b)=>({name:g,fn:t.withCtx(x=>[t.renderSlot(h.$slots,g,t.normalizeProps(t.guardReactiveProps(x)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"])]),_:3}))}}),ju={class:"dp--header-wrap"},qu={key:0,class:"dp__month_year_wrap"},Wu={key:0},Yu={class:"dp__month_year_wrap"},Uu=["data-dp-element","aria-label","data-test","onClick","onKeydown"],Xu=t.defineComponent({compatConfig:{MODE:3},__name:"DpHeader",props:{month:{type:Number,default:0},year:{type:Number,default:0},instance:{type:Number,default:0},years:{type:Array,default:()=>[]},months:{type:Array,default:()=>[]},...Ht},emits:["update-month-year","mount","reset-flow","overlay-closed","overlay-opened"],setup(e,{expose:a,emit:n}){const r=n,o=e,{defaultedTransitions:i,defaultedAriaLabels:s,defaultedMultiCalendars:l,defaultedFilters:c,defaultedConfig:p,defaultedHighlight:u,propDates:m,defaultedUI:d}=Ze(o),{transitionName:h,showTransition:f}=kn(i),{buildMatrix:g}=da(),{handleMonthYearChange:b,isDisabled:x,updateMonthYear:w}=yu(o,r),{showLeftIcon:k,showRightIcon:V}=Kn(),_=t.ref(!1),T=t.ref(!1),N=t.ref(!1),S=t.ref([null,null,null,null]);t.onMounted(()=>{r("mount")});const B=q=>({get:()=>o[q],set:M=>{const J=q===$t.month?$t.year:$t.month;r("update-month-year",{[q]:M,[J]:o[J]}),q===$t.month?Y(!0):oe(!0)}}),G=t.computed(B($t.month)),O=t.computed(B($t.year)),Q=t.computed(()=>q=>({month:o.month,year:o.year,items:q===$t.month?o.months:o.years,instance:o.instance,updateMonthYear:w,toggle:q===$t.month?Y:oe})),U=t.computed(()=>o.months.find(M=>M.value===o.month)||{text:"",value:0}),E=t.computed(()=>qa(o.months,q=>{const M=o.month===q.value,J=hn(q.value,Ls(o.year,m.value.minDate),$s(o.year,m.value.maxDate))||c.value.months.includes(q.value),ce=js(u.value,q.value,o.year);return{active:M,disabled:J,highlighted:ce}})),D=t.computed(()=>qa(o.years,q=>{const M=o.year===q.value,J=hn(q.value,Wa(m.value.minDate),Wa(m.value.maxDate))||c.value.years.includes(q.value),ce=mo(u.value,q.value);return{active:M,disabled:J,highlighted:ce}})),R=(q,M,J)=>{J!==void 0?q.value=J:q.value=!q.value,q.value?(N.value=!0,r("overlay-opened",M)):(N.value=!1,r("overlay-closed",M))},Y=(q=!1,M)=>{A(q),R(_,yt.month,M)},oe=(q=!1,M)=>{A(q),R(T,yt.year,M)},A=q=>{q||r("reset-flow")},v=(q,M)=>{o.arrowNavigation&&(S.value[M]=ct(q),g(S.value,"monthYear"))},X=t.computed(()=>{var q,M,J,ce,z,he;return[{type:$t.month,index:1,toggle:Y,modelValue:G.value,updateModelValue:ee=>G.value=ee,text:U.value.text,showSelectionGrid:_.value,items:E.value,ariaLabel:(q=s.value)==null?void 0:q.openMonthsOverlay,overlayLabel:((J=(M=s.value).monthPicker)==null?void 0:J.call(M,!0))??void 0},{type:$t.year,index:2,toggle:oe,modelValue:O.value,updateModelValue:ee=>O.value=ee,text:Ps(o.year,o.locale),showSelectionGrid:T.value,items:D.value,ariaLabel:(ce=s.value)==null?void 0:ce.openYearsOverlay,overlayLabel:((he=(z=s.value).yearPicker)==null?void 0:he.call(z,!0))??void 0}]}),K=t.computed(()=>o.disableYearSelect?[X.value[0]]:o.yearFirst?[...X.value].reverse():X.value);return a({toggleMonthPicker:Y,toggleYearPicker:oe,handleMonthYearChange:b}),(q,M)=>{var J,ce,z,he,ee,fe;return t.openBlock(),t.createElementBlock("div",ju,[q.$slots["month-year"]?(t.openBlock(),t.createElementBlock("div",qu,[t.renderSlot(q.$slots,"month-year",t.normalizeProps(t.guardReactiveProps({month:e.month,year:e.year,months:e.months,years:e.years,updateMonthYear:t.unref(w),handleMonthYearChange:t.unref(b),instance:e.instance})))])):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[q.$slots["top-extra"]?(t.openBlock(),t.createElementBlock("div",Wu,[t.renderSlot(q.$slots,"top-extra",{value:q.internalModelValue})])):t.createCommentVNode("",!0),t.createElementVNode("div",Yu,[t.unref(k)(t.unref(l),e.instance)&&!q.vertical?(t.openBlock(),t.createBlock(yn,{key:0,"aria-label":(J=t.unref(s))==null?void 0:J.prevMonth,disabled:t.unref(x)(!1),class:t.normalizeClass((ce=t.unref(d))==null?void 0:ce.navBtnPrev),"el-name":"action-prev",onActivate:M[0]||(M[0]=F=>t.unref(b)(!1,!0)),onSetRef:M[1]||(M[1]=F=>v(F,0))},{default:t.withCtx(()=>[q.$slots["arrow-left"]?t.renderSlot(q.$slots,"arrow-left",{key:0}):t.createCommentVNode("",!0),q.$slots["arrow-left"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref(Xr),{key:1}))]),_:3},8,["aria-label","disabled","class"])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(["dp__month_year_wrap",{dp__year_disable_select:q.disableYearSelect}])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(K.value,(F,C)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:F.type},[t.createElementVNode("button",{ref_for:!0,ref:y=>v(y,C+1),type:"button","data-dp-element":`overlay-${F.type}`,class:t.normalizeClass(["dp__btn dp__month_year_select",{"dp--hidden-el":N.value}]),"aria-label":`${F.text}-${F.ariaLabel}`,"data-test":`${F.type}-toggle-overlay-${e.instance}`,onClick:F.toggle,onKeydown:y=>t.unref(wt)(y,()=>F.toggle(),!0)},[q.$slots[F.type]?t.renderSlot(q.$slots,F.type,{key:0,text:F.text,value:o[F.type]}):t.createCommentVNode("",!0),q.$slots[F.type]?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(F.text),1)],64))],42,Uu),t.createVNode(t.Transition,{name:t.unref(h)(F.showSelectionGrid),css:t.unref(f)},{default:t.withCtx(()=>[F.showSelectionGrid?(t.openBlock(),t.createBlock(gn,{key:0,items:F.items,"arrow-navigation":q.arrowNavigation,"hide-navigation":q.hideNavigation,"is-last":q.autoApply&&!t.unref(p).keepActionRow,"skip-button-ref":!1,config:q.config,type:F.type,"header-refs":[],"esc-close":q.escClose,"menu-wrap-ref":q.menuWrapRef,"text-input":q.textInput,"aria-labels":q.ariaLabels,"overlay-label":F.overlayLabel,onSelected:F.updateModelValue,onToggle:F.toggle},t.createSlots({"button-icon":t.withCtx(()=>[q.$slots["calendar-icon"]?t.renderSlot(q.$slots,"calendar-icon",{key:0}):t.createCommentVNode("",!0),q.$slots["calendar-icon"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref(ja),{key:1}))]),_:2},[q.$slots[`${F.type}-overlay-value`]?{name:"item",fn:t.withCtx(({item:y})=>[t.renderSlot(q.$slots,`${F.type}-overlay-value`,{text:y.text,value:y.value})]),key:"0"}:void 0,q.$slots[`${F.type}-overlay`]?{name:"overlay",fn:t.withCtx(()=>[t.renderSlot(q.$slots,`${F.type}-overlay`,t.mergeProps({ref_for:!0},Q.value(F.type)))]),key:"1"}:void 0,q.$slots[`${F.type}-overlay-header`]?{name:"header",fn:t.withCtx(()=>[t.renderSlot(q.$slots,`${F.type}-overlay-header`,{toggle:F.toggle})]),key:"2"}:void 0]),1032,["items","arrow-navigation","hide-navigation","is-last","config","type","esc-close","menu-wrap-ref","text-input","aria-labels","overlay-label","onSelected","onToggle"])):t.createCommentVNode("",!0)]),_:2},1032,["name","css"])],64))),128))],2),t.unref(k)(t.unref(l),e.instance)&&q.vertical?(t.openBlock(),t.createBlock(yn,{key:1,"aria-label":(z=t.unref(s))==null?void 0:z.prevMonth,"el-name":"action-prev",disabled:t.unref(x)(!1),class:t.normalizeClass((he=t.unref(d))==null?void 0:he.navBtnPrev),onActivate:M[2]||(M[2]=F=>t.unref(b)(!1,!0))},{default:t.withCtx(()=>[q.$slots["arrow-up"]?t.renderSlot(q.$slots,"arrow-up",{key:0}):t.createCommentVNode("",!0),q.$slots["arrow-up"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.unref(Kr),{key:1}))]),_:3},8,["aria-label","disabled","class"])):t.createCommentVNode("",!0),t.unref(V)(t.unref(l),e.instance)?(t.openBlock(),t.createBlock(yn,{key:2,ref:"rightIcon","el-name":"action-next",disabled:t.unref(x)(!0),"aria-label":(ee=t.unref(s))==null?void 0:ee.nextMonth,class:t.normalizeClass((fe=t.unref(d))==null?void 0:fe.navBtnNext),onActivate:M[3]||(M[3]=F=>t.unref(b)(!0,!0)),onSetRef:M[4]||(M[4]=F=>v(F,q.disableYearSelect?2:3))},{default:t.withCtx(()=>[q.$slots[q.vertical?"arrow-down":"arrow-right"]?t.renderSlot(q.$slots,q.vertical?"arrow-down":"arrow-right",{key:0}):t.createCommentVNode("",!0),q.$slots[q.vertical?"arrow-down":"arrow-right"]?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(t.resolveDynamicComponent(q.vertical?t.unref(Jr):t.unref(Zr)),{key:1}))]),_:3},8,["disabled","aria-label","class"])):t.createCommentVNode("",!0)])],64))])}}}),Zu={class:"dp__calendar_header",role:"row"},Qu={key:0,class:"dp__calendar_header_item",role:"gridcell"},Ku=["aria-label"],Ju={key:0,class:"dp__calendar_item dp__week_num",role:"gridcell"},e4={class:"dp__cell_inner"},t4=["id","aria-pressed","aria-disabled","aria-label","tabindex","data-test","onClick","onTouchend","onKeydown","onMouseenter","onMouseleave","onMousedown"],a4=t.defineComponent({compatConfig:{MODE:3},__name:"DpCalendar",props:{mappedDates:{type:Array,default:()=>[]},instance:{type:Number,default:0},month:{type:Number,default:0},year:{type:Number,default:0},...Ht},emits:["select-date","set-hover-date","handle-scroll","mount","handle-swipe","handle-space","tooltip-open","tooltip-close"],setup(e,{expose:a,emit:n}){const r=n,o=e,{buildMultiLevelMatrix:i}=da(),{defaultedTransitions:s,defaultedConfig:l,defaultedAriaLabels:c,defaultedMultiCalendars:p,defaultedWeekNumbers:u,defaultedMultiDates:m,defaultedUI:d}=Ze(o),h=t.ref(null),f=t.ref({bottom:"",left:"",transform:""}),g=t.ref([]),b=t.ref(null),x=t.ref(!0),w=t.ref(""),k=t.ref({startX:0,endX:0,startY:0,endY:0}),V=t.ref([]),_=t.ref({left:"50%"}),T=t.ref(!1),N=t.computed(()=>o.calendar?o.calendar(o.mappedDates):o.mappedDates),S=t.computed(()=>o.dayNames?Array.isArray(o.dayNames)?o.dayNames:o.dayNames(o.locale,+o.weekStart):R3(o.formatLocale,o.locale,+o.weekStart));t.onMounted(()=>{r("mount",{cmp:"calendar",refs:g}),l.value.noSwipe||b.value&&(b.value.addEventListener("touchstart",v,{passive:!1}),b.value.addEventListener("touchend",X,{passive:!1}),b.value.addEventListener("touchmove",K,{passive:!1})),o.monthChangeOnScroll&&b.value&&b.value.addEventListener("wheel",J,{passive:!1})});const B=F=>F?o.vertical?"vNext":"next":o.vertical?"vPrevious":"previous",G=(F,C)=>{if(o.transitions){const y=vt(Jt(ge(),o.month,o.year));w.value=it(vt(Jt(ge(),F,C)),y)?s.value[B(!0)]:s.value[B(!1)],x.value=!1,t.nextTick(()=>{x.value=!0})}},O=t.computed(()=>({...d.value.calendar??{}})),Q=t.computed(()=>F=>{const C=z3(F);return{dp__marker_dot:C.type==="dot",dp__marker_line:C.type==="line"}}),U=t.computed(()=>F=>Fe(F,h.value)),E=t.computed(()=>({dp__calendar:!0,dp__calendar_next:p.value.count>0&&o.instance!==0})),D=t.computed(()=>F=>o.hideOffsetDates?F.current:!0),R=async(F,C)=>{const{width:y,height:P}=F.getBoundingClientRect();h.value=C.value;let I={left:`${y/2}px`},H=-50;if(await t.nextTick(),V.value[0]){const{left:te,width:j}=V.value[0].getBoundingClientRect();te<0&&(I={left:"0"},H=0,_.value.left=`${y/2}px`),window.innerWidth<te+j&&(I={right:"0"},H=0,_.value.left=`${j-y/2}px`)}f.value={bottom:`${P}px`,...I,transform:`translateX(${H}%)`}},Y=async(F,C,y)=>{var P,I,H;const te=ct(g.value[C][y]);te&&((P=F.marker)!=null&&P.customPosition&&(H=(I=F.marker)==null?void 0:I.tooltip)!=null&&H.length?f.value=F.marker.customPosition(te):await R(te,F),r("tooltip-open",F.marker))},oe=async(F,C,y)=>{var P,I;if(T.value&&m.value.enabled&&m.value.dragSelect)return r("select-date",F);r("set-hover-date",F),(I=(P=F.marker)==null?void 0:P.tooltip)!=null&&I.length&&await Y(F,C,y)},A=F=>{h.value&&(h.value=null,f.value=JSON.parse(JSON.stringify({bottom:"",left:"",transform:""})),r("tooltip-close",F.marker))},v=F=>{k.value.startX=F.changedTouches[0].screenX,k.value.startY=F.changedTouches[0].screenY},X=F=>{k.value.endX=F.changedTouches[0].screenX,k.value.endY=F.changedTouches[0].screenY,q()},K=F=>{o.vertical&&!o.inline&&F.preventDefault()},q=()=>{const F=o.vertical?"Y":"X";Math.abs(k.value[`start${F}`]-k.value[`end${F}`])>10&&r("handle-swipe",k.value[`start${F}`]>k.value[`end${F}`]?"right":"left")},M=(F,C,y)=>{F&&(Array.isArray(g.value[C])?g.value[C][y]=F:g.value[C]=[F]),o.arrowNavigation&&i(g.value,"calendar")},J=F=>{o.monthChangeOnScroll&&(F.preventDefault(),r("handle-scroll",F))},ce=F=>u.value.type==="local"?Gr(F.value,{weekStartsOn:+o.weekStart}):u.value.type==="iso"?zr(F.value):typeof u.value.type=="function"?u.value.type(F.value):"",z=F=>{const C=F[0];return u.value.hideOnOffsetDates?F.some(y=>y.current)?ce(C):"":ce(C)},he=(F,C,y=!0)=>{y&&Os()||!y&&!Os()||m.value.enabled||(sa(F,l.value),r("select-date",C))},ee=F=>{sa(F,l.value)},fe=F=>{m.value.enabled&&m.value.dragSelect?(T.value=!0,r("select-date",F)):m.value.enabled&&r("select-date",F)};return a({triggerTransition:G}),(F,C)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(E.value)},[t.createElementVNode("div",{ref_key:"calendarWrapRef",ref:b,class:t.normalizeClass(O.value),role:"grid"},[t.createElementVNode("div",Zu,[F.weekNumbers?(t.openBlock(),t.createElementBlock("div",Qu,t.toDisplayString(F.weekNumName),1)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(S.value,(y,P)=>{var I,H;return t.openBlock(),t.createElementBlock("div",{key:P,class:"dp__calendar_header_item",role:"gridcell","data-test":"calendar-header","aria-label":(H=(I=t.unref(c))==null?void 0:I.weekDay)==null?void 0:H.call(I,P)},[F.$slots["calendar-header"]?t.renderSlot(F.$slots,"calendar-header",{key:0,day:y,index:P}):t.createCommentVNode("",!0),F.$slots["calendar-header"]?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(y),1)],64))],8,Ku)}),128))]),C[2]||(C[2]=t.createElementVNode("div",{class:"dp__calendar_header_separator"},null,-1)),t.createVNode(t.Transition,{name:w.value,css:!!F.transitions},{default:t.withCtx(()=>[x.value?(t.openBlock(),t.createElementBlock("div",{key:0,class:"dp__calendar",role:"rowgroup",onMouseleave:C[1]||(C[1]=y=>T.value=!1)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(N.value,(y,P)=>(t.openBlock(),t.createElementBlock("div",{key:P,class:"dp__calendar_row",role:"row"},[F.weekNumbers?(t.openBlock(),t.createElementBlock("div",Ju,[t.createElementVNode("div",e4,t.toDisplayString(z(y.days)),1)])):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(y.days,(I,H)=>{var te,j,ne;return t.openBlock(),t.createElementBlock("div",{id:t.unref(qs)(I.value),ref_for:!0,ref:ue=>M(ue,P,H),key:H+P,role:"gridcell",class:"dp__calendar_item","aria-pressed":(I.classData.dp__active_date||I.classData.dp__range_start||I.classData.dp__range_start)??void 0,"aria-disabled":I.classData.dp__cell_disabled||void 0,"aria-label":(j=(te=t.unref(c))==null?void 0:te.day)==null?void 0:j.call(te,I),tabindex:!I.current&&F.hideOffsetDates?void 0:0,"data-test":I.value,onClick:t.withModifiers(ue=>he(ue,I),["prevent"]),onTouchend:ue=>he(ue,I,!1),onKeydown:ue=>t.unref(wt)(ue,()=>F.$emit("select-date",I)),onMouseenter:ue=>oe(I,P,H),onMouseleave:ue=>A(I),onMousedown:ue=>fe(I),onMouseup:C[0]||(C[0]=ue=>T.value=!1)},[t.createElementVNode("div",{class:t.normalizeClass(["dp__cell_inner",I.classData])},[F.$slots.day&&D.value(I)?t.renderSlot(F.$slots,"day",{key:0,day:+I.text,date:I.value}):t.createCommentVNode("",!0),F.$slots.day?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(I.text),1)],64)),I.marker&&D.value(I)?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[F.$slots.marker?t.renderSlot(F.$slots,"marker",{key:0,marker:I.marker,day:+I.text,date:I.value}):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(Q.value(I.marker)),style:t.normalizeStyle(I.marker.color?{backgroundColor:I.marker.color}:{})},null,6))],64)):t.createCommentVNode("",!0),U.value(I.value)?(t.openBlock(),t.createElementBlock("div",{key:3,ref_for:!0,ref_key:"activeTooltip",ref:V,class:"dp__marker_tooltip",style:t.normalizeStyle(f.value)},[(ne=I.marker)!=null&&ne.tooltip?(t.openBlock(),t.createElementBlock("div",{key:0,class:"dp__tooltip_content",onClick:ee},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(I.marker.tooltip,(ue,ye)=>(t.openBlock(),t.createElementBlock("div",{key:ye,class:"dp__tooltip_text"},[F.$slots["marker-tooltip"]?t.renderSlot(F.$slots,"marker-tooltip",{key:0,tooltip:ue,day:I.value}):t.createCommentVNode("",!0),F.$slots["marker-tooltip"]?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createElementVNode("div",{class:"dp__tooltip_mark",style:t.normalizeStyle(ue.color?{backgroundColor:ue.color}:{})},null,4),t.createElementVNode("div",null,t.toDisplayString(ue.text),1)],64))]))),128)),t.createElementVNode("div",{class:"dp__arrow_bottom_tp",style:t.normalizeStyle(_.value)},null,4)])):t.createCommentVNode("",!0)],4)):t.createCommentVNode("",!0)],2)],40,t4)}),128))]))),128))],32)):t.createCommentVNode("",!0)]),_:3},8,["name","css"])],2)],2))}}),tl=e=>Array.isArray(e),n4=(e,a,n,r)=>{const o=t.ref([]),i=t.ref(new Date),s=t.ref(),l=()=>v(e.isTextInputDate),{modelValue:c,calendars:p,time:u,today:m}=bn(e,a,l),{defaultedMultiCalendars:d,defaultedStartTime:h,defaultedRange:f,defaultedConfig:g,defaultedTz:b,propDates:x,defaultedMultiDates:w}=Ze(e),{validateMonthYearInRange:k,isDisabled:V,isDateRangeAllowed:_,checkMinMaxRange:T}=fa(e),{updateTimeValues:N,getSetDateTime:S,setTime:B,assignStartTime:G,validateTime:O,disabledTimesConfig:Q}=el(e,u,c,r),U=t.computed(()=>W=>p.value[W]?p.value[W].month:0),E=t.computed(()=>W=>p.value[W]?p.value[W].year:0),D=W=>!g.value.keepViewOnOffsetClick||W?!0:!s.value,R=(W,$,L,ae=!1)=>{var le,xe;D(ae)&&(p.value[W]||(p.value[W]={month:0,year:0}),p.value[W].month=Ds($)?(le=p.value[W])==null?void 0:le.month:$,p.value[W].year=Ds(L)?(xe=p.value[W])==null?void 0:xe.year:L)},Y=()=>{e.autoApply&&a("select-date")};t.onMounted(()=>{e.shadow||(c.value||(F(),h.value&&G(h.value)),v(!0),e.focusStartDate&&e.startDate&&F())});const oe=t.computed(()=>{var W;return(W=e.flow)!=null&&W.length&&!e.partialFlow?e.flowStep===e.flow.length:!0}),A=()=>{e.autoApply&&oe.value&&a("auto-apply",e.partialFlow?e.flowStep!==e.flow.length:!1)},v=(W=!1)=>{if(c.value)return Array.isArray(c.value)?(o.value=c.value,z(W)):q(c.value,W);if(d.value.count&&W&&!e.startDate)return K(ge(),W)},X=()=>Array.isArray(c.value)&&f.value.enabled?Oe(c.value[0])===Oe(c.value[1]??c.value[0]):!1,K=(W=new Date,$=!1)=>{if((!d.value.count||!d.value.static||$)&&R(0,Oe(W),Ve(W)),d.value.count&&(!d.value.solo||!c.value||X()))for(let L=1;L<d.value.count;L++){const ae=We(ge(),{month:U.value(L-1),year:E.value(L-1)}),le=Qi(ae,{months:1});p.value[L]={month:Oe(le),year:Ve(le)}}},q=(W,$)=>{K(W),B("hours",Qt(W)),B("minutes",ia(W)),B("seconds",Ha(W)),d.value.count&&$&&fe()},M=W=>{if(d.value.count){if(d.value.solo)return 0;const $=Oe(W[0]),L=Oe(W[1]);return Math.abs(L-$)<d.value.count?0:1}return 1},J=(W,$)=>{W[1]&&f.value.showLastInRange?K(W[M(W)],$):K(W[0],$);const L=(ae,le)=>[ae(W[0]),W[1]?ae(W[1]):u[le][1]];B("hours",L(Qt,"hours")),B("minutes",L(ia,"minutes")),B("seconds",L(Ha,"seconds"))},ce=(W,$)=>{if((f.value.enabled||e.weekPicker)&&!w.value.enabled)return J(W,$);if(w.value.enabled&&$){const L=W[W.length-1];return q(L,$)}},z=W=>{const $=c.value;ce($,W),d.value.count&&d.value.solo&&fe()},he=(W,$)=>{const L=We(ge(),{month:U.value($),year:E.value($)}),ae=W<0?Ft(L,1):Ga(L,1);k(Oe(ae),Ve(ae),W<0,e.preventMinMaxNavigation)&&(R($,Oe(ae),Ve(ae)),a("update-month-year",{instance:$,month:Oe(ae),year:Ve(ae)}),d.value.count&&!d.value.solo&&ee($),n())},ee=W=>{for(let $=W-1;$>=0;$--){const L=Ga(We(ge(),{month:U.value($+1),year:E.value($+1)}),1);R($,Oe(L),Ve(L))}for(let $=W+1;$<=d.value.count-1;$++){const L=Ft(We(ge(),{month:U.value($-1),year:E.value($-1)}),1);R($,Oe(L),Ve(L))}},fe=()=>{if(Array.isArray(c.value)&&c.value.length===2){const W=ge(ge(c.value[1]?c.value[1]:Ft(c.value[0],1))),[$,L]=[Oe(c.value[0]),Ve(c.value[0])],[ae,le]=[Oe(c.value[1]),Ve(c.value[1])];($!==ae||$===ae&&L!==le)&&d.value.solo&&R(1,Oe(W),Ve(W))}else c.value&&!Array.isArray(c.value)&&(R(0,Oe(c.value),Ve(c.value)),K(ge()))},F=()=>{e.startDate&&(R(0,Oe(ge(e.startDate)),Ve(ge(e.startDate))),d.value.count&&ee(0))},C=(W,$)=>{if(e.monthChangeOnScroll){const L=new Date().getTime()-i.value.getTime(),ae=Math.abs(W.deltaY);let le=500;ae>1&&(le=100),ae>100&&(le=0),L>le&&(i.value=new Date,he(e.monthChangeOnScroll!=="inverse"?-W.deltaY:W.deltaY,$))}},y=(W,$,L=!1)=>{e.monthChangeOnArrows&&e.vertical===L&&P(W,$)},P=(W,$)=>{he(W==="right"?-1:1,$)},I=W=>{if(x.value.markers)return qn(W.value,x.value.markers)},H=(W,$)=>{switch(e.sixWeeks===!0?"append":e.sixWeeks){case"prepend":return[!0,!1];case"center":return[W==0,!0];case"fair":return[W==0||$>W,!0];case"append":return[!1,!1];default:return[!1,!1]}},te=(W,$,L,ae)=>{if(e.sixWeeks&&W.length<6){const le=6-W.length,xe=($.getDay()+7-ae)%7,Ae=6-(L.getDay()+7-ae)%7,[De,Pe]=H(xe,Ae);for(let qe=1;qe<=le;qe++)if(Pe?!!(qe%2)==De:De){const nt=W[0].days[0],bt=j(Ot(nt.value,-7),Oe($));W.unshift({days:bt})}else{const nt=W[W.length-1],bt=nt.days[nt.days.length-1],lt=j(Ot(bt.value,1),Oe($));W.push({days:lt})}}return W},j=(W,$)=>{const L=ge(W),ae=[];for(let le=0;le<7;le++){const xe=Ot(L,le),Ae=Oe(xe)!==$;ae.push({text:e.hideOffsetDates&&Ae?"":xe.getDate(),value:xe,current:!Ae,classData:{}})}return ae},ne=(W,$)=>{const L=[],ae=new Date($,W),le=new Date($,W+1,0),xe=e.weekStart,Ae=Lt(ae,{weekStartsOn:xe}),De=Pe=>{const qe=j(Pe,W);if(L.push({days:qe}),!L[L.length-1].days.some(nt=>Fe(vt(nt.value),vt(le)))){const nt=Ot(Pe,7);De(nt)}};return De(Ae),te(L,ae,le,xe)},ue=W=>{const $=la(ge(W.value),u.hours,u.minutes,Se());a("date-update",$),w.value.enabled?bo($,c,w.value.limit):c.value=$,r(),t.nextTick().then(()=>{A()})},ye=W=>f.value.noDisabledRange?Rs(o.value[0],W).some($=>V($)):!1,be=()=>{o.value=c.value?c.value.slice():[],o.value.length===2&&!(f.value.fixedStart||f.value.fixedEnd)&&(o.value=[])},me=(W,$)=>{const L=[ge(W.value),Ot(ge(W.value),+f.value.autoRange)];_(L)?($&&Me(W.value),o.value=L):a("invalid-date",W.value)},Me=W=>{const $=Oe(ge(W)),L=Ve(ge(W));if(R(0,$,L),d.value.count>0)for(let ae=1;ae<d.value.count;ae++){const le=U3(We(ge(W),{year:E.value(ae-1),month:U.value(ae-1)}));R(ae,le.month,le.year)}},_e=W=>{if(ye(W.value)||!T(W.value,c.value,f.value.fixedStart?0:1))return a("invalid-date",W.value);o.value=Qs(ge(W.value),c,a,f)},Ne=(W,$)=>{if(be(),f.value.autoRange)return me(W,$);if(f.value.fixedStart||f.value.fixedEnd)return _e(W);o.value[0]?T(ge(W.value),c.value)&&!ye(W.value)?tt(ge(W.value),ge(o.value[0]))?(o.value.unshift(ge(W.value)),a("range-end",o.value[0])):(o.value[1]=ge(W.value),a("range-end",o.value[1])):(e.autoApply&&a("auto-apply-invalid",W.value),a("invalid-date",W.value)):(o.value[0]=ge(W.value),a("range-start",o.value[0]))},Se=(W=!0)=>e.enableSeconds?Array.isArray(u.seconds)?W?u.seconds[0]:u.seconds[1]:u.seconds:0,Le=W=>{o.value[W]=la(o.value[W],u.hours[W],u.minutes[W],Se(W!==1))},Be=()=>{var W,$;o.value[0]&&o.value[1]&&+((W=o.value)==null?void 0:W[0])>+(($=o.value)==null?void 0:$[1])&&(o.value.reverse(),a("range-start",o.value[0]),a("range-end",o.value[1]))},Z=()=>{o.value.length&&(o.value[0]&&!o.value[1]?Le(0):(Le(0),Le(1),r()),Be(),c.value=o.value.slice(),Qn(o.value,a,e.autoApply,e.modelAuto))},re=(W,$=!1)=>{if(V(W.value)||!W.current&&e.hideOffsetDates)return a("invalid-date",W.value);if(s.value=JSON.parse(JSON.stringify(W)),!f.value.enabled)return ue(W);tl(u.hours)&&tl(u.minutes)&&!w.value.enabled&&(Ne(W,$),Z())},ie=(W,$)=>{var L;R(W,$.month,$.year,!0),d.value.count&&!d.value.solo&&ee(W),a("update-month-year",{instance:W,month:$.month,year:$.year}),n(d.value.solo?W:void 0);const ae=(L=e.flow)!=null&&L.length?e.flow[e.flowStep]:void 0;!$.fromNav&&(ae===yt.month||ae===yt.year)&&r()},de=(W,$)=>{Zs({value:W,modelValue:c,range:f.value.enabled,timezone:$?void 0:b.value.timezone}),Y(),e.multiCalendars&&t.nextTick().then(()=>v(!0))},Ee=()=>{const W=eo(ge(),b.value);f.value.enabled?c.value&&Array.isArray(c.value)&&c.value[0]?c.value=tt(W,c.value[0])?[W,c.value[0]]:[c.value[0],W]:c.value=[W]:c.value=W,Y()},pe=()=>{if(Array.isArray(c.value))if(w.value.enabled){const W=ke();c.value[c.value.length-1]=S(W)}else c.value=c.value.map((W,$)=>W&&S(W,$));else c.value=S(c.value);a("time-update")},ke=()=>Array.isArray(c.value)&&c.value.length?c.value[c.value.length-1]:null;return{calendars:p,modelValue:c,month:U,year:E,time:u,disabledTimesConfig:Q,today:m,validateTime:O,getCalendarDays:ne,getMarker:I,handleScroll:C,handleSwipe:P,handleArrow:y,selectDate:re,updateMonthYear:ie,presetDate:de,selectCurrentDate:Ee,updateTime:(W,$=!0,L=!1)=>{N(W,$,L,pe)},assignMonthAndYear:K}},r4={key:0},o4=t.defineComponent({__name:"DatePicker",props:{...Ht},emits:["tooltip-open","tooltip-close","mount","update:internal-model-value","update-flow-step","reset-flow","auto-apply","focus-menu","select-date","range-start","range-end","invalid-fixed-range","time-update","am-pm-change","time-picker-open","time-picker-close","recalculate-position","update-month-year","auto-apply-invalid","date-update","invalid-date","overlay-toggle"],setup(e,{expose:a,emit:n}){const r=n,o=e,{calendars:i,month:s,year:l,modelValue:c,time:p,disabledTimesConfig:u,today:m,validateTime:d,getCalendarDays:h,getMarker:f,handleArrow:g,handleScroll:b,handleSwipe:x,selectDate:w,updateMonthYear:k,presetDate:V,selectCurrentDate:_,updateTime:T,assignMonthAndYear:N}=n4(o,r,X,K),S=t.useSlots(),{setHoverDate:B,getDayClassData:G,clearHoverDate:O}=x4(c,o),{defaultedMultiCalendars:Q}=Ze(o),U=t.ref([]),E=t.ref([]),D=t.ref(null),R=Vt(S,"calendar"),Y=Vt(S,"monthYear"),oe=Vt(S,"timePicker"),A=C=>{o.shadow||r("mount",C)};t.watch(i,()=>{o.shadow||setTimeout(()=>{r("recalculate-position")},0)},{deep:!0}),t.watch(Q,(C,y)=>{C.count-y.count>0&&N()},{deep:!0});const v=t.computed(()=>C=>h(s.value(C),l.value(C)).map(y=>({...y,days:y.days.map(P=>(P.marker=f(P),P.classData=G(P),P))})));function X(C){var y;C||C===0?(y=E.value[C])==null||y.triggerTransition(s.value(C),l.value(C)):E.value.forEach((P,I)=>P.triggerTransition(s.value(I),l.value(I)))}function K(){r("update-flow-step")}const q=(C,y=!1)=>{w(C,y),o.spaceConfirm&&r("select-date")},M=(C,y,P=0)=>{var I;(I=U.value[P])==null||I.toggleMonthPicker(C,y)},J=(C,y,P=0)=>{var I;(I=U.value[P])==null||I.toggleYearPicker(C,y)},ce=(C,y,P)=>{var I;(I=D.value)==null||I.toggleTimePicker(C,y,P)},z=(C,y)=>{var P;if(!o.range){const I=c.value?c.value:m,H=y?new Date(y):I,te=C?Lt(H,{weekStartsOn:1}):ls(H,{weekStartsOn:1});w({value:te,current:Oe(H)===s.value(0),text:"",classData:{}}),(P=document.getElementById(qs(te)))==null||P.focus()}},he=C=>{var y;(y=U.value[0])==null||y.handleMonthYearChange(C,!0)},ee=C=>{k(0,{month:s.value(0),year:l.value(0)+(C?1:-1),fromNav:!0})},fe=(C,y)=>{C===yt.time&&r(`time-picker-${y?"open":"close"}`),r("overlay-toggle",{open:y,overlay:C})},F=C=>{r("overlay-toggle",{open:!1,overlay:C}),r("focus-menu")};return a({clearHoverDate:O,presetDate:V,selectCurrentDate:_,toggleMonthPicker:M,toggleYearPicker:J,toggleTimePicker:ce,handleArrow:g,updateMonthYear:k,getSidebarProps:()=>({modelValue:c,month:s,year:l,time:p,updateTime:T,updateMonthYear:k,selectDate:w,presetDate:V}),changeMonth:he,changeYear:ee,selectWeekDate:z}),(C,y)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createVNode(Zn,{"multi-calendars":t.unref(Q).count,collapse:C.collapse},{default:t.withCtx(({instance:P,index:I})=>[C.disableMonthYearSelect?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(Xu,t.mergeProps({key:0,ref:H=>{H&&(U.value[I]=H)},months:t.unref(Vs)(C.formatLocale,C.locale,C.monthNameFormat),years:t.unref(ao)(C.yearRange,C.locale,C.reverseYears),month:t.unref(s)(P),year:t.unref(l)(P),instance:P},C.$props,{onMount:y[0]||(y[0]=H=>A(t.unref(_a).header)),onResetFlow:y[1]||(y[1]=H=>C.$emit("reset-flow")),onUpdateMonthYear:H=>t.unref(k)(P,H),onOverlayClosed:F,onOverlayOpened:y[2]||(y[2]=H=>C.$emit("overlay-toggle",{open:!0,overlay:H}))}),t.createSlots({_:2},[t.renderList(t.unref(Y),(H,te)=>({name:H,fn:t.withCtx(j=>[t.renderSlot(C.$slots,H,t.normalizeProps(t.guardReactiveProps(j)))])}))]),1040,["months","years","month","year","instance","onUpdateMonthYear"])),t.createVNode(a4,t.mergeProps({ref:H=>{H&&(E.value[I]=H)},"mapped-dates":v.value(P),month:t.unref(s)(P),year:t.unref(l)(P),instance:P},C.$props,{onSelectDate:H=>t.unref(w)(H,P!==1),onHandleSpace:H=>q(H,P!==1),onSetHoverDate:y[3]||(y[3]=H=>t.unref(B)(H)),onHandleScroll:H=>t.unref(b)(H,P),onHandleSwipe:H=>t.unref(x)(H,P),onMount:y[4]||(y[4]=H=>A(t.unref(_a).calendar)),onResetFlow:y[5]||(y[5]=H=>C.$emit("reset-flow")),onTooltipOpen:y[6]||(y[6]=H=>C.$emit("tooltip-open",H)),onTooltipClose:y[7]||(y[7]=H=>C.$emit("tooltip-close",H))}),t.createSlots({_:2},[t.renderList(t.unref(R),(H,te)=>({name:H,fn:t.withCtx(j=>[t.renderSlot(C.$slots,H,t.normalizeProps(t.guardReactiveProps({...j})))])}))]),1040,["mapped-dates","month","year","instance","onSelectDate","onHandleSpace","onHandleScroll","onHandleSwipe"])]),_:3},8,["multi-calendars","collapse"]),C.enableTimePicker?(t.openBlock(),t.createElementBlock("div",r4,[C.$slots["time-picker"]?t.renderSlot(C.$slots,"time-picker",t.normalizeProps(t.mergeProps({key:0},{time:t.unref(p),updateTime:t.unref(T)}))):(t.openBlock(),t.createBlock(Js,t.mergeProps({key:1,ref_key:"timePickerRef",ref:D},C.$props,{hours:t.unref(p).hours,minutes:t.unref(p).minutes,seconds:t.unref(p).seconds,"internal-model-value":C.internalModelValue,"disabled-times-config":t.unref(u),"validate-time":t.unref(d),onMount:y[8]||(y[8]=P=>A(t.unref(_a).timePicker)),"onUpdate:hours":y[9]||(y[9]=P=>t.unref(T)(P)),"onUpdate:minutes":y[10]||(y[10]=P=>t.unref(T)(P,!1)),"onUpdate:seconds":y[11]||(y[11]=P=>t.unref(T)(P,!1,!0)),onResetFlow:y[12]||(y[12]=P=>C.$emit("reset-flow")),onOverlayClosed:y[13]||(y[13]=P=>fe(P,!1)),onOverlayOpened:y[14]||(y[14]=P=>fe(P,!0)),onAmPmChange:y[15]||(y[15]=P=>C.$emit("am-pm-change",P))}),t.createSlots({_:2},[t.renderList(t.unref(oe),(P,I)=>({name:P,fn:t.withCtx(H=>[t.renderSlot(C.$slots,P,t.normalizeProps(t.guardReactiveProps(H)))])}))]),1040,["hours","minutes","seconds","internal-model-value","disabled-times-config","validate-time"]))])):t.createCommentVNode("",!0)],64))}}),i4=(e,a)=>{const n=t.ref(),{defaultedMultiCalendars:r,defaultedConfig:o,defaultedHighlight:i,defaultedRange:s,propDates:l,defaultedFilters:c,defaultedMultiDates:p}=Ze(e),{modelValue:u,year:m,month:d,calendars:h}=bn(e,a),{isDisabled:f}=fa(e),{selectYear:g,groupedYears:b,showYearPicker:x,isDisabled:w,toggleYearPicker:k,handleYearSelect:V,handleYear:_}=Ks({modelValue:u,multiCalendars:r,range:s,highlight:i,calendars:h,propDates:l,month:d,year:m,filters:c,props:e,emit:a}),T=(D,R)=>[D,R].map(Y=>jt(Y,"MMMM",{locale:e.formatLocale})).join("-"),N=t.computed(()=>D=>u.value?Array.isArray(u.value)?u.value.some(R=>vs(D,R)):vs(u.value,D):!1),S=D=>{if(s.value.enabled){if(Array.isArray(u.value)){const R=Fe(D,u.value[0])||Fe(D,u.value[1]);return Wn(u.value,n.value,D)&&!R}return!1}return!1},B=(D,R)=>D.quarter===os(R)&&D.year===Ve(R),G=D=>typeof i.value=="function"?i.value({quarter:os(D),year:Ve(D)}):!!i.value.quarters.find(R=>B(R,D)),O=t.computed(()=>D=>{const R=We(new Date,{year:m.value(D)});return I2({start:dn(R),end:ss(R)}).map(Y=>{const oe=Ba(Y),A=cs(Y),v=f(Y),X=S(oe),K=G(oe);return{text:T(oe,A),value:oe,active:N.value(oe),highlighted:K,disabled:v,isBetween:X}})}),Q=D=>{bo(D,u,p.value.limit),a("auto-apply",!0)},U=D=>{u.value=xo(u,D,a),Qn(u.value,a,e.autoApply,e.modelAuto)},E=D=>{u.value=D,a("auto-apply")};return{defaultedConfig:o,defaultedMultiCalendars:r,groupedYears:b,year:m,isDisabled:w,quarters:O,showYearPicker:x,modelValue:u,setHoverDate:D=>{n.value=D},selectYear:g,selectQuarter:(D,R,Y)=>{if(!Y)return h.value[R].month=Oe(cs(D)),p.value.enabled?Q(D):s.value.enabled?U(D):E(D)},toggleYearPicker:k,handleYearSelect:V,handleYear:_}},s4={class:"dp--quarter-items"},l4=["data-test","disabled","onClick","onMouseover"],c4=t.defineComponent({compatConfig:{MODE:3},__name:"QuarterPicker",props:{...Ht},emits:["update:internal-model-value","reset-flow","overlay-closed","auto-apply","range-start","range-end","overlay-toggle","update-month-year"],setup(e,{expose:a,emit:n}){const r=n,o=e,i=t.useSlots(),s=Vt(i,"yearMode"),{defaultedMultiCalendars:l,defaultedConfig:c,groupedYears:p,year:u,isDisabled:m,quarters:d,modelValue:h,showYearPicker:f,setHoverDate:g,selectQuarter:b,toggleYearPicker:x,handleYearSelect:w,handleYear:k}=i4(o,r);return a({getSidebarProps:()=>({modelValue:h,year:u,selectQuarter:b,handleYearSelect:w,handleYear:k})}),(V,_)=>(t.openBlock(),t.createBlock(Zn,{"multi-calendars":t.unref(l).count,collapse:V.collapse,stretch:""},{default:t.withCtx(({instance:T})=>[t.createElementVNode("div",{class:"dp-quarter-picker-wrap",style:t.normalizeStyle({minHeight:`${t.unref(c).modeHeight}px`})},[V.$slots["top-extra"]?t.renderSlot(V.$slots,"top-extra",{key:0,value:V.internalModelValue}):t.createCommentVNode("",!0),t.createElementVNode("div",null,[t.createVNode(Xs,t.mergeProps(V.$props,{items:t.unref(p)(T),instance:T,"show-year-picker":t.unref(f)[T],year:t.unref(u)(T),"is-disabled":N=>t.unref(m)(T,N),onHandleYear:N=>t.unref(k)(T,N),onYearSelect:N=>t.unref(w)(N,T),onToggleYearPicker:N=>t.unref(x)(T,N==null?void 0:N.flow,N==null?void 0:N.show)}),t.createSlots({_:2},[t.renderList(t.unref(s),(N,S)=>({name:N,fn:t.withCtx(B=>[t.renderSlot(V.$slots,N,t.normalizeProps(t.guardReactiveProps(B)))])}))]),1040,["items","instance","show-year-picker","year","is-disabled","onHandleYear","onYearSelect","onToggleYearPicker"])]),t.createElementVNode("div",s4,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(t.unref(d)(T),(N,S)=>(t.openBlock(),t.createElementBlock("div",{key:S},[t.createElementVNode("button",{type:"button",class:t.normalizeClass(["dp--qr-btn",{"dp--qr-btn-active":N.active,"dp--qr-btn-between":N.isBetween,"dp--qr-btn-disabled":N.disabled,"dp--highlighted":N.highlighted}]),"data-test":N.value,disabled:N.disabled,onClick:B=>t.unref(b)(N.value,T,N.disabled),onMouseover:B=>t.unref(g)(N.value)},[V.$slots.quarter?t.renderSlot(V.$slots,"quarter",{key:0,value:N.value,text:N.text}):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(N.text),1)],64))],42,l4)]))),128))])],4)]),_:3},8,["multi-calendars","collapse"]))}}),d4=["id","tabindex","role","aria-label"],u4={key:0,class:"dp--menu-load-container"},f4={key:1,class:"dp--menu-header"},m4={key:0,class:"dp__sidebar_left"},h4=["data-test","onClick","onKeydown"],p4={key:2,class:"dp__sidebar_right"},g4={key:3,class:"dp__action_extra"},al=t.defineComponent({compatConfig:{MODE:3},__name:"DatepickerMenu",props:{...Xn,shadow:{type:Boolean,default:!1},openOnTop:{type:Boolean,default:!1},internalModelValue:{type:[Date,Array],default:null},noOverlayFocus:{type:Boolean,default:!1},collapse:{type:Boolean,default:!1},getInputRect:{type:Function,default:()=>({})},isTextInputDate:{type:Boolean,default:!1}},emits:["close-picker","select-date","auto-apply","time-update","flow-step","update-month-year","invalid-select","update:internal-model-value","recalculate-position","invalid-fixed-range","tooltip-open","tooltip-close","time-picker-open","time-picker-close","am-pm-change","range-start","range-end","auto-apply-invalid","date-update","invalid-date","overlay-toggle"],setup(e,{expose:a,emit:n}){const r=n,o=e,i=t.ref(null),s=t.computed(()=>{const{openOnTop:j,...ne}=o;return{...ne,flowStep:B.value,collapse:o.collapse,noOverlayFocus:o.noOverlayFocus,menuWrapRef:i.value}}),{setMenuFocused:l,setShiftKey:c,control:p}=Ws(),u=t.useSlots(),{defaultedTextInput:m,defaultedInline:d,defaultedConfig:h,defaultedUI:f}=Ze(o),g=t.ref(null),b=t.ref(0),x=t.ref(null),w=t.ref(!1),k=t.ref(null);t.onMounted(()=>{if(!o.shadow){w.value=!0,V(),window.addEventListener("resize",V);const j=ct(i);if(j&&!m.value.enabled&&!d.value.enabled&&(l(!0),R()),j){const ne=ue=>{h.value.allowPreventDefault&&ue.preventDefault(),sa(ue,h.value,!0)};j.addEventListener("pointerdown",ne),j.addEventListener("mousedown",ne)}}}),t.onUnmounted(()=>{window.removeEventListener("resize",V)});const V=()=>{const j=ct(x);j&&(b.value=j.getBoundingClientRect().width)},{arrowRight:_,arrowLeft:T,arrowDown:N,arrowUp:S}=da(),{flowStep:B,updateFlowStep:G,childMount:O,resetFlow:Q,handleFlow:U}=w4(o,r,k),E=t.computed(()=>o.monthPicker?Au:o.yearPicker?_u:o.timePicker?Gu:o.quarterPicker?c4:o4),D=t.computed(()=>{var j;if(h.value.arrowLeft)return h.value.arrowLeft;const ne=(j=i.value)==null?void 0:j.getBoundingClientRect(),ue=o.getInputRect();return(ue==null?void 0:ue.width)<(b==null?void 0:b.value)&&(ue==null?void 0:ue.left)<=((ne==null?void 0:ne.left)??0)?`${(ue==null?void 0:ue.width)/2}px`:(ue==null?void 0:ue.right)>=((ne==null?void 0:ne.right)??0)&&(ue==null?void 0:ue.width)<(b==null?void 0:b.value)?`${(b==null?void 0:b.value)-(ue==null?void 0:ue.width)/2}px`:"50%"}),R=()=>{const j=ct(i);j&&j.focus({preventScroll:!0})},Y=t.computed(()=>{var j;return((j=k.value)==null?void 0:j.getSidebarProps())||{}}),oe=()=>{o.openOnTop&&r("recalculate-position")},A=Vt(u,"action"),v=t.computed(()=>o.monthPicker||o.yearPicker?Vt(u,"monthYear"):o.timePicker?Vt(u,"timePicker"):Vt(u,"shared")),X=t.computed(()=>o.openOnTop?"dp__arrow_bottom":"dp__arrow_top"),K=t.computed(()=>({dp__menu_disabled:o.disabled,dp__menu_readonly:o.readonly,"dp-menu-loading":o.loading})),q=t.computed(()=>({dp__menu:!0,dp__menu_index:!d.value.enabled,dp__relative:d.value.enabled,...f.value.menu??{}})),M=j=>{sa(j,h.value,!0)},J=()=>{o.escClose&&r("close-picker")},ce=j=>{if(o.arrowNavigation){if(j===xt.up)return S();if(j===xt.down)return N();if(j===xt.left)return T();if(j===xt.right)return _()}else j===xt.left||j===xt.up?F("handleArrow",xt.left,0,j===xt.up):F("handleArrow",xt.right,0,j===xt.down)},z=j=>{c(j.shiftKey),!o.disableMonthYearSelect&&j.code===Ue.tab&&j.target.classList.contains("dp__menu")&&p.value.shiftKeyInMenu&&(j.preventDefault(),sa(j,h.value,!0),r("close-picker"))},he=()=>{R(),r("time-picker-close")},ee=j=>{var ne,ue,ye;(ne=k.value)==null||ne.toggleTimePicker(!1,!1),(ue=k.value)==null||ue.toggleMonthPicker(!1,!1,j),(ye=k.value)==null||ye.toggleYearPicker(!1,!1,j)},fe=(j,ne=0)=>{var ue,ye,be;return j==="month"?(ue=k.value)==null?void 0:ue.toggleMonthPicker(!1,!0,ne):j==="year"?(ye=k.value)==null?void 0:ye.toggleYearPicker(!1,!0,ne):j==="time"?(be=k.value)==null?void 0:be.toggleTimePicker(!0,!1):ee(ne)},F=(j,...ne)=>{var ue,ye;(ue=k.value)!=null&&ue[j]&&((ye=k.value)==null||ye[j](...ne))},C=()=>{F("selectCurrentDate")},y=(j,ne)=>{F("presetDate",j,ne)},P=()=>{F("clearHoverDate")},I=(j,ne)=>{F("updateMonthYear",j,ne)},H=(j,ne)=>{j.preventDefault(),ce(ne)},te=j=>{var ne,ue,ye;if(z(j),j.key===Ue.home||j.key===Ue.end)return F("selectWeekDate",j.key===Ue.home,j.target.getAttribute("id"));switch((j.key===Ue.pageUp||j.key===Ue.pageDown)&&(j.shiftKey?(F("changeYear",j.key===Ue.pageUp),(ne=ro(i.value,"overlay-year"))==null||ne.focus()):(F("changeMonth",j.key===Ue.pageUp),(ue=ro(i.value,j.key===Ue.pageUp?"action-prev":"action-next"))==null||ue.focus()),j.target.getAttribute("id")&&((ye=i.value)==null||ye.focus({preventScroll:!0}))),j.key){case Ue.esc:return J();case Ue.arrowLeft:return H(j,xt.left);case Ue.arrowRight:return H(j,xt.right);case Ue.arrowUp:return H(j,xt.up);case Ue.arrowDown:return H(j,xt.down);default:return}};return a({updateMonthYear:I,switchView:fe,handleFlow:U}),(j,ne)=>{var ue,ye,be;return t.openBlock(),t.createElementBlock("div",{id:j.uid?`dp-menu-${j.uid}`:void 0,ref_key:"dpMenuRef",ref:i,tabindex:t.unref(d).enabled?void 0:"0",role:t.unref(d).enabled?void 0:"dialog","aria-label":(ue=j.ariaLabels)==null?void 0:ue.menu,class:t.normalizeClass(q.value),style:t.normalizeStyle({"--dp-arrow-left":D.value}),onMouseleave:P,onClick:M,onKeydown:te},[(j.disabled||j.readonly)&&t.unref(d).enabled||j.loading?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(K.value)},[j.loading?(t.openBlock(),t.createElementBlock("div",u4,ne[19]||(ne[19]=[t.createElementVNode("span",{class:"dp--menu-loader"},null,-1)]))):t.createCommentVNode("",!0)],2)):t.createCommentVNode("",!0),j.$slots["menu-header"]?(t.openBlock(),t.createElementBlock("div",f4,[t.renderSlot(j.$slots,"menu-header")])):t.createCommentVNode("",!0),!t.unref(d).enabled&&!j.teleportCenter?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(X.value)},null,2)):t.createCommentVNode("",!0),t.createElementVNode("div",{ref_key:"innerMenuRef",ref:x,class:t.normalizeClass({dp__menu_content_wrapper:((ye=j.presetDates)==null?void 0:ye.length)||!!j.$slots["left-sidebar"]||!!j.$slots["right-sidebar"],"dp--menu-content-wrapper-collapsed":e.collapse&&(((be=j.presetDates)==null?void 0:be.length)||!!j.$slots["left-sidebar"]||!!j.$slots["right-sidebar"])}),style:t.normalizeStyle({"--dp-menu-width":`${b.value}px`})},[j.$slots["left-sidebar"]?(t.openBlock(),t.createElementBlock("div",m4,[t.renderSlot(j.$slots,"left-sidebar",t.normalizeProps(t.guardReactiveProps(Y.value)))])):t.createCommentVNode("",!0),j.presetDates.length?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass({"dp--preset-dates-collapsed":e.collapse,"dp--preset-dates":!0})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(j.presetDates,(me,Me)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:Me},[me.slot?t.renderSlot(j.$slots,me.slot,{key:0,presetDate:y,label:me.label,value:me.value}):(t.openBlock(),t.createElementBlock("button",{key:1,type:"button",style:t.normalizeStyle(me.style||{}),class:t.normalizeClass(["dp__btn dp--preset-range",{"dp--preset-range-collapsed":e.collapse}]),"data-test":me.testId??void 0,onClick:t.withModifiers(_e=>y(me.value,me.noTz),["prevent"]),onKeydown:_e=>t.unref(wt)(_e,()=>y(me.value,me.noTz),!0)},t.toDisplayString(me.label),47,h4))],64))),128))],2)):t.createCommentVNode("",!0),t.createElementVNode("div",{ref_key:"calendarWrapperRef",ref:g,class:"dp__instance_calendar",role:"document"},[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(E.value),t.mergeProps({ref_key:"dynCmpRef",ref:k},s.value,{"flow-step":t.unref(B),onMount:t.unref(O),onUpdateFlowStep:t.unref(G),onResetFlow:t.unref(Q),onFocusMenu:R,onSelectDate:ne[0]||(ne[0]=me=>j.$emit("select-date")),onDateUpdate:ne[1]||(ne[1]=me=>j.$emit("date-update",me)),onTooltipOpen:ne[2]||(ne[2]=me=>j.$emit("tooltip-open",me)),onTooltipClose:ne[3]||(ne[3]=me=>j.$emit("tooltip-close",me)),onAutoApply:ne[4]||(ne[4]=me=>j.$emit("auto-apply",me)),onRangeStart:ne[5]||(ne[5]=me=>j.$emit("range-start",me)),onRangeEnd:ne[6]||(ne[6]=me=>j.$emit("range-end",me)),onInvalidFixedRange:ne[7]||(ne[7]=me=>j.$emit("invalid-fixed-range",me)),onTimeUpdate:ne[8]||(ne[8]=me=>j.$emit("time-update")),onAmPmChange:ne[9]||(ne[9]=me=>j.$emit("am-pm-change",me)),onTimePickerOpen:ne[10]||(ne[10]=me=>j.$emit("time-picker-open",me)),onTimePickerClose:he,onRecalculatePosition:oe,onUpdateMonthYear:ne[11]||(ne[11]=me=>j.$emit("update-month-year",me)),onAutoApplyInvalid:ne[12]||(ne[12]=me=>j.$emit("auto-apply-invalid",me)),onInvalidDate:ne[13]||(ne[13]=me=>j.$emit("invalid-date",me)),onOverlayToggle:ne[14]||(ne[14]=me=>j.$emit("overlay-toggle",me)),"onUpdate:internalModelValue":ne[15]||(ne[15]=me=>j.$emit("update:internal-model-value",me))}),t.createSlots({_:2},[t.renderList(v.value,(me,Me)=>({name:me,fn:t.withCtx(_e=>[t.renderSlot(j.$slots,me,t.normalizeProps(t.guardReactiveProps({..._e})))])}))]),1040,["flow-step","onMount","onUpdateFlowStep","onResetFlow"]))],512),j.$slots["right-sidebar"]?(t.openBlock(),t.createElementBlock("div",p4,[t.renderSlot(j.$slots,"right-sidebar",t.normalizeProps(t.guardReactiveProps(Y.value)))])):t.createCommentVNode("",!0),j.$slots["action-extra"]?(t.openBlock(),t.createElementBlock("div",g4,[j.$slots["action-extra"]?t.renderSlot(j.$slots,"action-extra",{key:0,selectCurrentDate:C}):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)],6),!j.autoApply||t.unref(h).keepActionRow?(t.openBlock(),t.createBlock(xu,t.mergeProps({key:3,"menu-mount":w.value},s.value,{"calendar-width":b.value,onClosePicker:ne[16]||(ne[16]=me=>j.$emit("close-picker")),onSelectDate:ne[17]||(ne[17]=me=>j.$emit("select-date")),onInvalidSelect:ne[18]||(ne[18]=me=>j.$emit("invalid-select")),onSelectNow:C}),t.createSlots({_:2},[t.renderList(t.unref(A),(me,Me)=>({name:me,fn:t.withCtx(_e=>[t.renderSlot(j.$slots,me,t.normalizeProps(t.guardReactiveProps({..._e})))])}))]),1040,["menu-mount","calendar-width"])):t.createCommentVNode("",!0)],46,d4)}}});var Ua=(e=>(e.center="center",e.left="left",e.right="right",e))(Ua||{});const y4=({menuRef:e,menuRefInner:a,inputRef:n,pickerWrapperRef:r,inline:o,emit:i,props:s,slots:l})=>{const{defaultedConfig:c}=Ze(s),p=t.ref({}),u=t.ref(!1),m=t.ref({top:"0",left:"0"}),d=t.ref(!1),h=t.toRef(s,"teleportCenter");t.watch(h,()=>{m.value=JSON.parse(JSON.stringify({})),_()});const f=R=>{if(s.teleport){const Y=R.getBoundingClientRect();return{left:Y.left+window.scrollX,top:Y.top+window.scrollY}}return{top:0,left:0}},g=(R,Y)=>{m.value.left=`${R+Y-p.value.width}px`},b=R=>{m.value.left=`${R}px`},x=(R,Y)=>{s.position===Ua.left&&b(R),s.position===Ua.right&&g(R,Y),s.position===Ua.center&&(m.value.left=`${R+Y/2-p.value.width/2}px`)},w=R=>{const{width:Y,height:oe}=R.getBoundingClientRect(),{top:A,left:v}=s.altPosition?s.altPosition(R):f(R);return{top:+A,left:+v,width:Y,height:oe}},k=()=>{m.value.left="50%",m.value.top="50%",m.value.transform="translate(-50%, -50%)",m.value.position="fixed",delete m.value.opacity},V=()=>{const R=ct(n),{top:Y,left:oe,transform:A}=s.altPosition(R);m.value={top:`${Y}px`,left:`${oe}px`,transform:A??""}},_=(R=!0)=>{var Y;if(!o.value.enabled){if(h.value)return k();if(s.altPosition!==null)return V();if(R){const oe=s.teleport?(Y=a.value)==null?void 0:Y.$el:e.value;oe&&(p.value=oe.getBoundingClientRect()),i("recalculate-position")}return Q()}},T=({inputEl:R,left:Y,width:oe})=>{window.screen.width>768&&!u.value&&x(Y,oe),B(R)},N=R=>{const{top:Y,left:oe,height:A,width:v}=w(R);m.value.top=`${A+Y+ +s.offset}px`,d.value=!1,u.value||(m.value.left=`${oe+v/2-p.value.width/2}px`),T({inputEl:R,left:oe,width:v})},S=R=>{const{top:Y,left:oe,width:A}=w(R);m.value.top=`${Y-+s.offset-p.value.height}px`,d.value=!0,T({inputEl:R,left:oe,width:A})},B=R=>{if(s.autoPosition){const{left:Y,width:oe}=w(R),{left:A,right:v}=p.value;if(!u.value){if(Math.abs(A)!==Math.abs(v)){if(A<=0)return u.value=!0,b(Y);if(v>=document.documentElement.clientWidth)return u.value=!0,g(Y,oe)}return x(Y,oe)}}},G=()=>{const R=ct(n);if(R){const{height:Y}=p.value,{top:oe,height:A}=R.getBoundingClientRect(),v=window.innerHeight-oe-A,X=oe;return Y<=v?Va.bottom:Y>v&&Y<=X?Va.top:v>=X?Va.bottom:Va.top}return Va.bottom},O=R=>G()===Va.bottom?N(R):S(R),Q=()=>{const R=ct(n);if(R)return s.autoPosition?O(R):N(R)},U=function(R){if(R){const Y=R.scrollHeight>R.clientHeight,oe=window.getComputedStyle(R).overflowY.indexOf("hidden")!==-1;return Y&&!oe}return!0},E=function(R){return!R||R===document.body||R.nodeType===Node.DOCUMENT_FRAGMENT_NODE?window:U(R)?R:E(R.assignedSlot&&c.value.shadowDom?R.assignedSlot.parentNode:R.parentNode)},D=R=>{if(R)switch(s.position){case Ua.left:return{left:0,transform:"translateX(0)"};case Ua.right:return{left:`${R.width}px`,transform:"translateX(-100%)"};default:return{left:`${R.width/2}px`,transform:"translateX(-50%)"}}return{}};return{openOnTop:d,menuStyle:m,xCorrect:u,setMenuPosition:_,getScrollableParent:E,shadowRender:(R,Y)=>{var oe,A,v;const X=document.createElement("div"),K=(oe=ct(n))==null?void 0:oe.getBoundingClientRect();X.setAttribute("id","dp--temp-container");const q=(A=r.value)!=null&&A.clientWidth?r.value:document.body;q.append(X);const M=D(K),J=c.value.shadowDom?Object.keys(l).filter(z=>["right-sidebar","left-sidebar","top-extra","action-extra"].includes(z)):Object.keys(l),ce=t.h(R,{...Y,shadow:!0,style:{opacity:0,position:"absolute",...M}},Object.fromEntries(J.map(z=>[z,l[z]])));t.render(ce,X),p.value=(v=ce.el)==null?void 0:v.getBoundingClientRect(),t.render(null,X),q.removeChild(X)}}},ua=[{name:"clock-icon",use:["time","calendar","shared"]},{name:"arrow-left",use:["month-year","calendar","shared","year-mode"]},{name:"arrow-right",use:["month-year","calendar","shared","year-mode"]},{name:"arrow-up",use:["time","calendar","month-year","shared"]},{name:"arrow-down",use:["time","calendar","month-year","shared"]},{name:"calendar-icon",use:["month-year","time","calendar","shared","year-mode"]},{name:"day",use:["calendar","shared"]},{name:"month-overlay-value",use:["calendar","month-year","shared"]},{name:"year-overlay-value",use:["calendar","month-year","shared","year-mode"]},{name:"year-overlay",use:["month-year","shared"]},{name:"month-overlay",use:["month-year","shared"]},{name:"month-overlay-header",use:["month-year","shared"]},{name:"year-overlay-header",use:["month-year","shared"]},{name:"hours-overlay-value",use:["calendar","time","shared"]},{name:"hours-overlay-header",use:["calendar","time","shared"]},{name:"minutes-overlay-value",use:["calendar","time","shared"]},{name:"minutes-overlay-header",use:["calendar","time","shared"]},{name:"seconds-overlay-value",use:["calendar","time","shared"]},{name:"seconds-overlay-header",use:["calendar","time","shared"]},{name:"hours",use:["calendar","time","shared"]},{name:"minutes",use:["calendar","time","shared"]},{name:"month",use:["calendar","month-year","shared"]},{name:"year",use:["calendar","month-year","shared","year-mode"]},{name:"action-buttons",use:["action"]},{name:"action-preview",use:["action"]},{name:"calendar-header",use:["calendar","shared"]},{name:"marker-tooltip",use:["calendar","shared"]},{name:"action-extra",use:["menu"]},{name:"time-picker-overlay",use:["calendar","time","shared"]},{name:"am-pm-button",use:["calendar","time","shared"]},{name:"left-sidebar",use:["menu"]},{name:"right-sidebar",use:["menu"]},{name:"month-year",use:["month-year","shared"]},{name:"time-picker",use:["menu","shared"]},{name:"action-row",use:["action"]},{name:"marker",use:["calendar","shared"]},{name:"quarter",use:["shared"]},{name:"top-extra",use:["shared","month-year"]},{name:"tp-inline-arrow-up",use:["shared","time"]},{name:"tp-inline-arrow-down",use:["shared","time"]},{name:"menu-header",use:["menu"]}],k4=[{name:"trigger"},{name:"input-icon"},{name:"clear-icon"},{name:"dp-input"}],b4={all:()=>ua,monthYear:()=>ua.filter(e=>e.use.includes("month-year")),input:()=>k4,timePicker:()=>ua.filter(e=>e.use.includes("time")),action:()=>ua.filter(e=>e.use.includes("action")),calendar:()=>ua.filter(e=>e.use.includes("calendar")),menu:()=>ua.filter(e=>e.use.includes("menu")),shared:()=>ua.filter(e=>e.use.includes("shared")),yearMode:()=>ua.filter(e=>e.use.includes("year-mode"))},Vt=(e,a,n)=>{const r=[];return b4[a]().forEach(o=>{e[o.name]&&r.push(o.name)}),n!=null&&n.length&&n.forEach(o=>{o.slot&&r.push(o.slot)}),r},kn=e=>{const a=t.computed(()=>r=>e.value?r?e.value.open:e.value.close:""),n=t.computed(()=>r=>e.value?r?e.value.menuAppearTop:e.value.menuAppearBottom:"");return{transitionName:a,showTransition:!!e.value,menuTransition:n}},bn=(e,a,n)=>{const{defaultedRange:r,defaultedTz:o}=Ze(e),i=ge(At(ge(),o.value.timezone)),s=t.ref([{month:Oe(i),year:Ve(i)}]),l=d=>{const h={hours:Qt(i),minutes:ia(i),seconds:0};return r.value.enabled?[h[d],h[d]]:h[d]},c=t.reactive({hours:l("hours"),minutes:l("minutes"),seconds:l("seconds")});t.watch(r,(d,h)=>{d.enabled!==h.enabled&&(c.hours=l("hours"),c.minutes=l("minutes"),c.seconds=l("seconds"))},{deep:!0});const p=t.computed({get:()=>e.internalModelValue,set:d=>{!e.readonly&&!e.disabled&&a("update:internal-model-value",d)}}),u=t.computed(()=>d=>s.value[d]?s.value[d].month:0),m=t.computed(()=>d=>s.value[d]?s.value[d].year:0);return t.watch(p,(d,h)=>{n&&JSON.stringify(d??{})!==JSON.stringify(h??{})&&n()},{deep:!0}),{calendars:s,time:c,modelValue:p,month:u,year:m,today:i}},x4=(e,a)=>{const{defaultedMultiCalendars:n,defaultedMultiDates:r,defaultedUI:o,defaultedHighlight:i,defaultedTz:s,propDates:l,defaultedRange:c}=Ze(a),{isDisabled:p}=fa(a),u=t.ref(null),m=t.ref(At(new Date,s.value.timezone)),d=M=>{!M.current&&a.hideOffsetDates||(u.value=M.value)},h=()=>{u.value=null},f=M=>Array.isArray(e.value)&&c.value.enabled&&e.value[0]&&u.value?M?it(u.value,e.value[0]):tt(u.value,e.value[0]):!0,g=(M,J)=>{const ce=()=>e.value?J?e.value[0]||null:e.value[1]:null,z=e.value&&Array.isArray(e.value)?ce():null;return Fe(ge(M.value),z)},b=M=>{const J=Array.isArray(e.value)?e.value[0]:null;return M?!tt(u.value??null,J):!0},x=(M,J=!0)=>(c.value.enabled||a.weekPicker)&&Array.isArray(e.value)&&e.value.length===2?a.hideOffsetDates&&!M.current?!1:Fe(ge(M.value),e.value[J?0:1]):c.value.enabled?g(M,J)&&b(J)||Fe(M.value,Array.isArray(e.value)?e.value[0]:null)&&f(J):!1,w=(M,J)=>{if(Array.isArray(e.value)&&e.value[0]&&e.value.length===1){const ce=Fe(M.value,u.value);return J?it(e.value[0],M.value)&&ce:tt(e.value[0],M.value)&&ce}return!1},k=M=>!e.value||a.hideOffsetDates&&!M.current?!1:c.value.enabled?a.modelAuto&&Array.isArray(e.value)?Fe(M.value,e.value[0]?e.value[0]:m.value):!1:r.value.enabled&&Array.isArray(e.value)?e.value.some(J=>Fe(J,M.value)):Fe(M.value,e.value?e.value:m.value),V=M=>{if(c.value.autoRange||a.weekPicker){if(u.value){if(a.hideOffsetDates&&!M.current)return!1;const J=Ot(u.value,+c.value.autoRange),ce=Kt(ge(u.value),a.weekStart);return a.weekPicker?Fe(ce[1],ge(M.value)):Fe(J,ge(M.value))}return!1}return!1},_=M=>{if(c.value.autoRange||a.weekPicker){if(u.value){const J=Ot(u.value,+c.value.autoRange);if(a.hideOffsetDates&&!M.current)return!1;const ce=Kt(ge(u.value),a.weekStart);return a.weekPicker?it(M.value,ce[0])&&tt(M.value,ce[1]):it(M.value,u.value)&&tt(M.value,J)}return!1}return!1},T=M=>{if(c.value.autoRange||a.weekPicker){if(u.value){if(a.hideOffsetDates&&!M.current)return!1;const J=Kt(ge(u.value),a.weekStart);return a.weekPicker?Fe(J[0],M.value):Fe(u.value,M.value)}return!1}return!1},N=M=>Wn(e.value,u.value,M.value),S=()=>a.modelAuto&&Array.isArray(a.internalModelValue)?!!a.internalModelValue[0]:!1,B=()=>a.modelAuto?_s(a.internalModelValue):!0,G=M=>{if(a.weekPicker)return!1;const J=c.value.enabled?!x(M)&&!x(M,!1):!0;return!p(M.value)&&!k(M)&&!(!M.current&&a.hideOffsetDates)&&J},O=M=>c.value.enabled?a.modelAuto?S()&&k(M):!1:k(M),Q=M=>i.value?q3(M.value,l.value.highlight):!1,U=M=>{const J=p(M.value);return J&&(typeof i.value=="function"?!i.value(M.value,J):!i.value.options.highlightDisabled)},E=M=>{var J;return typeof i.value=="function"?i.value(M.value):(J=i.value.weekdays)==null?void 0:J.includes(M.value.getDay())},D=M=>(c.value.enabled||a.weekPicker)&&(!(n.value.count>0)||M.current)&&B()&&!(!M.current&&a.hideOffsetDates)&&!k(M)?N(M):!1,R=M=>{const{isRangeStart:J,isRangeEnd:ce}=v(M),z=c.value.enabled?J||ce:!1;return{dp__cell_offset:!M.current,dp__pointer:!a.disabled&&!(!M.current&&a.hideOffsetDates)&&!p(M.value),dp__cell_disabled:p(M.value),dp__cell_highlight:!U(M)&&(Q(M)||E(M))&&!O(M)&&!z&&!T(M)&&!(D(M)&&a.weekPicker)&&!ce,dp__cell_highlight_active:!U(M)&&(Q(M)||E(M))&&O(M),dp__today:!a.noToday&&Fe(M.value,m.value)&&M.current,"dp--past":tt(M.value,m.value),"dp--future":it(M.value,m.value)}},Y=M=>({dp__active_date:O(M),dp__date_hover:G(M)}),oe=M=>{if(e.value&&!Array.isArray(e.value)){const J=Kt(e.value,a.weekStart);return{...K(M),dp__range_start:Fe(J[0],M.value),dp__range_end:Fe(J[1],M.value),dp__range_between_week:it(M.value,J[0])&&tt(M.value,J[1])}}return{...K(M)}},A=M=>{if(e.value&&Array.isArray(e.value)){const J=Kt(e.value[0],a.weekStart),ce=e.value[1]?Kt(e.value[1],a.weekStart):[];return{...K(M),dp__range_start:Fe(J[0],M.value)||Fe(ce[0],M.value),dp__range_end:Fe(J[1],M.value)||Fe(ce[1],M.value),dp__range_between_week:it(M.value,J[0])&&tt(M.value,J[1])||it(M.value,ce[0])&&tt(M.value,ce[1]),dp__range_between:it(M.value,J[1])&&tt(M.value,ce[0])}}return{...K(M)}},v=M=>{const J=n.value.count>0?M.current&&x(M)&&B():x(M)&&B(),ce=n.value.count>0?M.current&&x(M,!1)&&B():x(M,!1)&&B();return{isRangeStart:J,isRangeEnd:ce}},X=M=>{const{isRangeStart:J,isRangeEnd:ce}=v(M);return{dp__range_start:J,dp__range_end:ce,dp__range_between:D(M),dp__date_hover:Fe(M.value,u.value)&&!J&&!ce&&!a.weekPicker,dp__date_hover_start:w(M,!0),dp__date_hover_end:w(M,!1)}},K=M=>({...X(M),dp__cell_auto_range:_(M),dp__cell_auto_range_start:T(M),dp__cell_auto_range_end:V(M)}),q=M=>c.value.enabled?c.value.autoRange?K(M):a.modelAuto?{...Y(M),...X(M)}:a.weekPicker?A(M):X(M):a.weekPicker?oe(M):Y(M);return{setHoverDate:d,clearHoverDate:h,getDayClassData:M=>a.hideOffsetDates&&!M.current?{}:{...R(M),...q(M),[a.dayClass?a.dayClass(M.value,a.internalModelValue):""]:!0,...o.value.calendarCell??{}}}},fa=e=>{const{defaultedFilters:a,defaultedRange:n,propDates:r,defaultedMultiDates:o}=Ze(e),i=E=>r.value.disabledDates?typeof r.value.disabledDates=="function"?r.value.disabledDates(ge(E)):!!qn(E,r.value.disabledDates):!1,s=E=>r.value.maxDate?e.yearPicker?Ve(E)>Ve(r.value.maxDate):it(E,r.value.maxDate):!1,l=E=>r.value.minDate?e.yearPicker?Ve(E)<Ve(r.value.minDate):tt(E,r.value.minDate):!1,c=E=>{const D=s(E),R=l(E),Y=i(E),oe=a.value.months.map(q=>+q).includes(Oe(E)),A=e.disabledWeekDays.length?e.disabledWeekDays.some(q=>+q===Td(E)):!1,v=h(E),X=Ve(E),K=X<+e.yearRange[0]||X>+e.yearRange[1];return!(D||R||Y||oe||K||A||v)},p=(E,D)=>tt(...ca(r.value.minDate,E,D))||Fe(...ca(r.value.minDate,E,D)),u=(E,D)=>it(...ca(r.value.maxDate,E,D))||Fe(...ca(r.value.maxDate,E,D)),m=(E,D,R)=>{let Y=!1;return r.value.maxDate&&R&&u(E,D)&&(Y=!0),r.value.minDate&&!R&&p(E,D)&&(Y=!0),Y},d=(E,D,R,Y)=>{let oe=!1;return Y&&(r.value.minDate||r.value.maxDate)?r.value.minDate&&r.value.maxDate?oe=m(E,D,R):(r.value.minDate&&p(E,D)||r.value.maxDate&&u(E,D))&&(oe=!0):oe=!0,oe},h=E=>Array.isArray(r.value.allowedDates)&&!r.value.allowedDates.length?!0:r.value.allowedDates?!qn(E,r.value.allowedDates):!1,f=E=>!c(E),g=E=>n.value.noDisabledRange?!is({start:E[0],end:E[1]}).some(D=>f(D)):!0,b=E=>{if(E){const D=Ve(E);return D>=+e.yearRange[0]&&D<=e.yearRange[1]}return!0},x=(E,D)=>!!(Array.isArray(E)&&E[D]&&(n.value.maxRange||n.value.minRange)&&b(E[D])),w=(E,D,R=0)=>{if(x(D,R)&&b(E)){const Y=as(E,D[R]),oe=Rs(D[R],E),A=oe.length===1?0:oe.filter(X=>f(X)).length,v=Math.abs(Y)-(n.value.minMaxRawRange?0:A);if(n.value.minRange&&n.value.maxRange)return v>=+n.value.minRange&&v<=+n.value.maxRange;if(n.value.minRange)return v>=+n.value.minRange;if(n.value.maxRange)return v<=+n.value.maxRange}return!0},k=()=>!e.enableTimePicker||e.monthPicker||e.yearPicker||e.ignoreTimeValidation,V=E=>Array.isArray(E)?[E[0]?fo(E[0]):null,E[1]?fo(E[1]):null]:fo(E),_=(E,D,R)=>E.find(Y=>+Y.hours===Qt(D)&&Y.minutes==="*"?!0:+Y.minutes===ia(D)&&+Y.hours===Qt(D))&&R,T=(E,D,R)=>{const[Y,oe]=E,[A,v]=D;return!_(Y,A,R)&&!_(oe,v,R)&&R},N=(E,D)=>{const R=Array.isArray(D)?D:[D];return Array.isArray(e.disabledTimes)?Array.isArray(e.disabledTimes[0])?T(e.disabledTimes,R,E):!R.some(Y=>_(e.disabledTimes,Y,E)):E},S=(E,D)=>{const R=Array.isArray(D)?[Na(D[0]),D[1]?Na(D[1]):void 0]:Na(D),Y=!e.disabledTimes(R);return E&&Y},B=(E,D)=>e.disabledTimes?Array.isArray(e.disabledTimes)?N(D,E):S(D,E):D,G=E=>{let D=!0;if(!E||k())return!0;const R=!r.value.minDate&&!r.value.maxDate?V(E):E;return(e.maxTime||r.value.maxDate)&&(D=Gs(e.maxTime,r.value.maxDate,"max",ft(R),D)),(e.minTime||r.value.minDate)&&(D=Gs(e.minTime,r.value.minDate,"min",ft(R),D)),B(E,D)},O=E=>{if(!e.monthPicker)return!0;let D=!0;const R=ge(Rt(E));if(r.value.minDate&&r.value.maxDate){const Y=ge(Rt(r.value.minDate)),oe=ge(Rt(r.value.maxDate));return it(R,Y)&&tt(R,oe)||Fe(R,Y)||Fe(R,oe)}if(r.value.minDate){const Y=ge(Rt(r.value.minDate));D=it(R,Y)||Fe(R,Y)}if(r.value.maxDate){const Y=ge(Rt(r.value.maxDate));D=tt(R,Y)||Fe(R,Y)}return D},Q=t.computed(()=>E=>!e.enableTimePicker||e.ignoreTimeValidation?!0:G(E)),U=t.computed(()=>E=>e.monthPicker?Array.isArray(E)&&(n.value.enabled||o.value.enabled)?!E.filter(D=>!O(D)).length:O(E):!0);return{isDisabled:f,validateDate:c,validateMonthYearInRange:d,isDateRangeAllowed:g,checkMinMaxRange:w,isValidTime:G,isTimeValid:Q,isMonthValid:U}},Kn=()=>{const e=t.computed(()=>(r,o)=>r==null?void 0:r.includes(o)),a=t.computed(()=>(r,o)=>r.count?r.solo?!0:o===0:!0),n=t.computed(()=>(r,o)=>r.count?r.solo?!0:o===r.count-1:!0);return{hideNavigationButtons:e,showLeftIcon:a,showRightIcon:n}},w4=(e,a,n)=>{const r=t.ref(0),o=t.reactive({[_a.timePicker]:!e.enableTimePicker||e.timePicker||e.monthPicker,[_a.calendar]:!1,[_a.header]:!1}),i=t.computed(()=>e.monthPicker||e.timePicker),s=m=>{var d;if((d=e.flow)!=null&&d.length){if(!m&&i.value)return u();o[m]=!0,Object.keys(o).filter(h=>!o[h]).length||u()}},l=()=>{var m,d;(m=e.flow)!=null&&m.length&&r.value!==-1&&(r.value+=1,a("flow-step",r.value),u()),((d=e.flow)==null?void 0:d.length)===r.value&&t.nextTick().then(()=>c())},c=()=>{r.value=-1},p=(m,d,...h)=>{var f,g;e.flow[r.value]===m&&n.value&&((g=(f=n.value)[d])==null||g.call(f,...h))},u=(m=0)=>{m&&(r.value+=m),p(yt.month,"toggleMonthPicker",!0),p(yt.year,"toggleYearPicker",!0),p(yt.calendar,"toggleTimePicker",!1,!0),p(yt.time,"toggleTimePicker",!0,!0);const d=e.flow[r.value];(d===yt.hours||d===yt.minutes||d===yt.seconds)&&p(d,"toggleTimePicker",!0,!0,d)};return{childMount:s,updateFlowStep:l,resetFlow:c,handleFlow:u,flowStep:r}},v4={key:1,class:"dp__input_wrap"},E4=["id","name","inputmode","placeholder","disabled","readonly","required","value","autocomplete","aria-label","aria-disabled","aria-invalid"],C4={key:2,class:"dp--clear-btn"},S4=["aria-label"],M4=t.defineComponent({compatConfig:{MODE:3},__name:"DatepickerInput",props:{isMenuOpen:{type:Boolean,default:!1},inputValue:{type:String,default:""},...Xn},emits:["clear","open","update:input-value","set-input-date","close","select-date","set-empty-date","toggle","focus-prev","focus","blur","real-blur","text-input"],setup(e,{expose:a,emit:n}){const r=n,o=e,{defaultedTextInput:i,defaultedAriaLabels:s,defaultedInline:l,defaultedConfig:c,defaultedRange:p,defaultedMultiDates:u,defaultedUI:m,getDefaultPattern:d,getDefaultStartTime:h}=Ze(o),{checkMinMaxRange:f}=fa(o),g=t.ref(),b=t.ref(null),x=t.ref(!1),w=t.ref(!1),k=t.computed(()=>({dp__pointer:!o.disabled&&!o.readonly&&!i.value.enabled,dp__disabled:o.disabled,dp__input_readonly:!i.value.enabled,dp__input:!0,dp__input_icon_pad:!o.hideInputIcon,dp__input_valid:typeof o.state=="boolean"?o.state:!1,dp__input_invalid:typeof o.state=="boolean"?!o.state:!1,dp__input_focus:x.value||o.isMenuOpen,dp__input_reg:!i.value.enabled,...m.value.input??{}})),V=()=>{r("set-input-date",null),o.clearable&&o.autoApply&&(r("set-empty-date"),g.value=null)},_=v=>{const X=h();return W3(v,i.value.format??d(),X??Hs({},o.enableSeconds),o.inputValue,w.value,o.formatLocale)},T=v=>{const{rangeSeparator:X}=i.value,[K,q]=v.split(`${X}`);if(K){const M=_(K.trim()),J=q?_(q.trim()):null;if(za(M,J))return;const ce=M&&J?[M,J]:[M];f(J,ce,0)&&(g.value=M?ce:null)}},N=()=>{w.value=!0},S=v=>{if(p.value.enabled)T(v);else if(u.value.enabled){const X=v.split(";");g.value=X.map(K=>_(K.trim())).filter(K=>K)}else g.value=_(v)},B=v=>{var X;const K=typeof v=="string"?v:(X=v.target)==null?void 0:X.value;K!==""?(i.value.openMenu&&!o.isMenuOpen&&r("open"),S(K),r("set-input-date",g.value)):V(),w.value=!1,r("update:input-value",K),r("text-input",v,g.value)},G=v=>{i.value.enabled?(S(v.target.value),i.value.enterSubmit&&lo(g.value)&&o.inputValue!==""?(r("set-input-date",g.value,!0),g.value=null):i.value.enterSubmit&&o.inputValue===""&&(g.value=null,r("clear"))):U(v)},O=(v,X)=>{i.value.enabled&&i.value.tabSubmit&&!X&&S(v.target.value),i.value.tabSubmit&&lo(g.value)&&o.inputValue!==""?(r("set-input-date",g.value,!0,!0),g.value=null):i.value.tabSubmit&&o.inputValue===""&&(g.value=null,r("clear",!0))},Q=()=>{x.value=!0,r("focus"),t.nextTick().then(()=>{var v;i.value.enabled&&i.value.selectOnFocus&&((v=b.value)==null||v.select())})},U=v=>{if(sa(v,c.value,!0),i.value.enabled&&i.value.openMenu&&!l.value.input){if(i.value.openMenu==="open"&&!o.isMenuOpen)return r("open");if(i.value.openMenu==="toggle")return r("toggle")}else i.value.enabled||r("toggle")},E=()=>{r("real-blur"),x.value=!1,(!o.isMenuOpen||l.value.enabled&&l.value.input)&&r("blur"),o.autoApply&&i.value.enabled&&g.value&&!o.isMenuOpen&&(r("set-input-date",g.value),r("select-date"),g.value=null)},D=v=>{sa(v,c.value,!0),r("clear")},R=v=>{if(v.key==="Tab"&&O(v),v.key==="Enter"&&G(v),!i.value.enabled){if(v.code==="Tab")return;v.preventDefault()}},Y=()=>{var v;(v=b.value)==null||v.focus({preventScroll:!0})},oe=v=>{g.value=v},A=v=>{v.key===Ue.tab&&O(v,!0)};return a({focusInput:Y,setParsedDate:oe}),(v,X)=>{var K,q,M;return t.openBlock(),t.createElementBlock("div",{onClick:U},[v.$slots.trigger&&!v.$slots["dp-input"]&&!t.unref(l).enabled?t.renderSlot(v.$slots,"trigger",{key:0}):t.createCommentVNode("",!0),!v.$slots.trigger&&(!t.unref(l).enabled||t.unref(l).input)?(t.openBlock(),t.createElementBlock("div",v4,[v.$slots["dp-input"]&&!v.$slots.trigger&&(!t.unref(l).enabled||t.unref(l).enabled&&t.unref(l).input)?t.renderSlot(v.$slots,"dp-input",{key:0,value:e.inputValue,isMenuOpen:e.isMenuOpen,onInput:B,onEnter:G,onTab:O,onClear:D,onBlur:E,onKeypress:R,onPaste:N,onFocus:Q,openMenu:()=>v.$emit("open"),closeMenu:()=>v.$emit("close"),toggleMenu:()=>v.$emit("toggle")}):t.createCommentVNode("",!0),v.$slots["dp-input"]?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("input",{key:1,id:v.uid?`dp-input-${v.uid}`:void 0,ref_key:"inputRef",ref:b,"data-test":"dp-input",name:v.name,class:t.normalizeClass(k.value),inputmode:t.unref(i).enabled?"text":"none",placeholder:v.placeholder,disabled:v.disabled,readonly:v.readonly,required:v.required,value:e.inputValue,autocomplete:v.autocomplete,"aria-label":(K=t.unref(s))==null?void 0:K.input,"aria-disabled":v.disabled||void 0,"aria-invalid":v.state===!1?!0:void 0,onInput:B,onBlur:E,onFocus:Q,onKeypress:R,onKeydown:X[0]||(X[0]=J=>R(J)),onPaste:N},null,42,E4)),t.createElementVNode("div",{onClick:X[3]||(X[3]=J=>r("toggle"))},[v.$slots["input-icon"]&&!v.hideInputIcon?(t.openBlock(),t.createElementBlock("span",{key:0,class:"dp__input_icon",onClick:X[1]||(X[1]=J=>r("toggle"))},[t.renderSlot(v.$slots,"input-icon")])):t.createCommentVNode("",!0),!v.$slots["input-icon"]&&!v.hideInputIcon&&!v.$slots["dp-input"]?(t.openBlock(),t.createBlock(t.unref(ja),{key:1,"aria-label":(q=t.unref(s))==null?void 0:q.calendarIcon,class:"dp__input_icon dp__input_icons",onClick:X[2]||(X[2]=J=>r("toggle"))},null,8,["aria-label"])):t.createCommentVNode("",!0)]),v.$slots["clear-icon"]&&e.inputValue&&v.clearable&&!v.disabled&&!v.readonly?(t.openBlock(),t.createElementBlock("span",C4,[t.renderSlot(v.$slots,"clear-icon",{clear:D})])):t.createCommentVNode("",!0),v.clearable&&!v.$slots["clear-icon"]&&e.inputValue&&!v.disabled&&!v.readonly?(t.openBlock(),t.createElementBlock("button",{key:3,"aria-label":(M=t.unref(s))==null?void 0:M.clearInput,class:"dp--clear-btn",type:"button",onKeydown:X[4]||(X[4]=J=>t.unref(wt)(J,()=>D(J),!0,A)),onClick:X[5]||(X[5]=t.withModifiers(J=>D(J),["prevent"]))},[t.createVNode(t.unref(Bs),{class:"dp__input_icons","data-test":"clear-icon"})],40,S4)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)])}}}),B4=typeof window<"u"?window:void 0,wo=()=>{},A4=e=>t.getCurrentScope()?(t.onScopeDispose(e),!0):!1,V4=(e,a,n,r)=>{if(!e)return wo;let o=wo;const i=t.watch(()=>t.unref(e),l=>{o(),l&&(l.addEventListener(a,n,r),o=()=>{l.removeEventListener(a,n,r),o=wo})},{immediate:!0,flush:"post"}),s=()=>{i(),o()};return A4(s),s},_4=(e,a,n,r={})=>{const{window:o=B4,event:i="pointerdown"}=r;return o?V4(o,i,s=>{const l=ct(e),c=ct(a);!l||!c||l===s.target||s.composedPath().includes(l)||s.composedPath().includes(c)||n(s)},{passive:!0}):void 0},N4=t.defineComponent({compatConfig:{MODE:3},__name:"VueDatePicker",props:{...Xn},emits:["update:model-value","update:model-timezone-value","text-submit","closed","cleared","open","focus","blur","internal-model-change","recalculate-position","flow-step","update-month-year","invalid-select","invalid-fixed-range","tooltip-open","tooltip-close","time-picker-open","time-picker-close","am-pm-change","range-start","range-end","date-update","invalid-date","overlay-toggle","text-input"],setup(e,{expose:a,emit:n}){const r=n,o=e,i=t.useSlots(),s=t.ref(!1),l=t.toRef(o,"modelValue"),c=t.toRef(o,"timezone"),p=t.ref(null),u=t.ref(null),m=t.ref(null),d=t.ref(!1),h=t.ref(null),f=t.ref(!1),g=t.ref(!1),b=t.ref(!1),x=t.ref(!1),{setMenuFocused:w,setShiftKey:k}=Ws(),{clearArrowNav:V}=da(),{validateDate:_,isValidTime:T}=fa(o),{defaultedTransitions:N,defaultedTextInput:S,defaultedInline:B,defaultedConfig:G,defaultedRange:O,defaultedMultiDates:Q}=Ze(o),{menuTransition:U,showTransition:E}=kn(N);t.onMounted(()=>{J(o.modelValue),t.nextTick().then(()=>{if(!B.value.enabled){const L=X(h.value);L==null||L.addEventListener("scroll",I),window==null||window.addEventListener("resize",H)}}),B.value.enabled&&(s.value=!0),window==null||window.addEventListener("keyup",te),window==null||window.addEventListener("keydown",j)}),t.onUnmounted(()=>{if(!B.value.enabled){const L=X(h.value);L==null||L.removeEventListener("scroll",I),window==null||window.removeEventListener("resize",H)}window==null||window.removeEventListener("keyup",te),window==null||window.removeEventListener("keydown",j)});const D=Vt(i,"all",o.presetDates),R=Vt(i,"input");t.watch([l,c],()=>{J(l.value)},{deep:!0});const{openOnTop:Y,menuStyle:oe,xCorrect:A,setMenuPosition:v,getScrollableParent:X,shadowRender:K}=y4({menuRef:p,menuRefInner:u,inputRef:m,pickerWrapperRef:h,inline:B,emit:r,props:o,slots:i}),{inputValue:q,internalModelValue:M,parseExternalModelValue:J,emitModelValue:ce,formatInputValue:z,checkBeforeEmit:he}=gu(r,o,d),ee=t.computed(()=>({dp__main:!0,dp__theme_dark:o.dark,dp__theme_light:!o.dark,dp__flex_display:B.value.enabled,"dp--flex-display-collapsed":b.value,dp__flex_display_with_input:B.value.input})),fe=t.computed(()=>o.dark?"dp__theme_dark":"dp__theme_light"),F=t.computed(()=>o.teleport?{to:typeof o.teleport=="boolean"?"body":o.teleport,disabled:!o.teleport||B.value.enabled}:{}),C=t.computed(()=>({class:"dp__outer_menu_wrap"})),y=t.computed(()=>B.value.enabled&&(o.timePicker||o.monthPicker||o.yearPicker||o.quarterPicker)),P=()=>{var L,ae;return(ae=(L=m.value)==null?void 0:L.$el)==null?void 0:ae.getBoundingClientRect()},I=()=>{s.value&&(G.value.closeOnScroll?Se():v())},H=()=>{var L;s.value&&v();const ae=(L=u.value)==null?void 0:L.$el.getBoundingClientRect().width;b.value=document.body.offsetWidth<=ae},te=L=>{L.key==="Tab"&&!B.value.enabled&&!o.teleport&&G.value.tabOutClosesMenu&&(h.value.contains(document.activeElement)||Se()),g.value=L.shiftKey},j=L=>{g.value=L.shiftKey},ne=()=>{!o.disabled&&!o.readonly&&(K(al,o),v(!1),s.value=!0,s.value&&r("open"),s.value||Ne(),J(o.modelValue))},ue=()=>{var L;q.value="",Ne(),(L=m.value)==null||L.setParsedDate(null),r("update:model-value",null),r("update:model-timezone-value",null),r("cleared"),G.value.closeOnClearValue&&Se()},ye=()=>{const L=M.value;return!L||!Array.isArray(L)&&_(L)?!0:Array.isArray(L)?Q.value.enabled||L.length===2&&_(L[0])&&_(L[1])?!0:O.value.partialRange&&!o.timePicker?_(L[0]):!1:!1},be=()=>{he()&&ye()?(ce(),Se()):r("invalid-select",M.value)},me=L=>{Me(),ce(),G.value.closeOnAutoApply&&!L&&Se()},Me=()=>{m.value&&S.value.enabled&&m.value.setParsedDate(M.value)},_e=(L=!1)=>{o.autoApply&&T(M.value)&&ye()&&(O.value.enabled&&Array.isArray(M.value)?(O.value.partialRange||M.value.length===2)&&me(L):me(L))},Ne=()=>{S.value.enabled||(M.value=null)},Se=()=>{B.value.enabled||(s.value&&(s.value=!1,A.value=!1,w(!1),k(!1),V(),r("closed"),q.value&&J(l.value)),Ne(),r("blur"))},Le=(L,ae,le=!1)=>{if(!L){M.value=null;return}const xe=Array.isArray(L)?!L.some(De=>!_(De)):_(L),Ae=T(L);xe&&Ae?(x.value=!0,M.value=L,ae&&(f.value=le,be(),r("text-submit")),t.nextTick().then(()=>{x.value=!1})):r("invalid-date",L)},Be=()=>{o.autoApply&&T(M.value)&&ce(),Me()},Z=()=>s.value?Se():ne(),re=L=>{M.value=L},ie=()=>{S.value.enabled&&(d.value=!0,z()),r("focus")},de=()=>{if(S.value.enabled&&(d.value=!1,J(o.modelValue),f.value)){const L=j3(h.value,g.value);L==null||L.focus()}r("blur")},Ee=L=>{u.value&&u.value.updateMonthYear(0,{month:Ns(L.month),year:Ns(L.year)})},pe=L=>{J(L??o.modelValue)},ke=(L,ae)=>{var le;(le=u.value)==null||le.switchView(L,ae)},W=L=>G.value.onClickOutside?G.value.onClickOutside(L):Se(),$=(L=0)=>{var ae;(ae=u.value)==null||ae.handleFlow(L)};return _4(p,m,()=>W(ye)),a({closeMenu:Se,selectDate:be,clearValue:ue,openMenu:ne,onScroll:I,formatInputValue:z,updateInternalModelValue:re,setMonthYear:Ee,parseModel:pe,switchView:ke,toggleMenu:Z,handleFlow:$,dpWrapMenuRef:p}),(L,ae)=>(t.openBlock(),t.createElementBlock("div",{ref_key:"pickerWrapperRef",ref:h,class:t.normalizeClass(ee.value),"data-datepicker-instance":""},[t.createVNode(M4,t.mergeProps({ref_key:"inputRef",ref:m,"input-value":t.unref(q),"onUpdate:inputValue":ae[0]||(ae[0]=le=>t.isRef(q)?q.value=le:null),"is-menu-open":s.value},L.$props,{onClear:ue,onOpen:ne,onSetInputDate:Le,onSetEmptyDate:t.unref(ce),onSelectDate:be,onToggle:Z,onClose:Se,onFocus:ie,onBlur:de,onRealBlur:ae[1]||(ae[1]=le=>d.value=!1),onTextInput:ae[2]||(ae[2]=le=>L.$emit("text-input",le))}),t.createSlots({_:2},[t.renderList(t.unref(R),(le,xe)=>({name:le,fn:t.withCtx(Ae=>[t.renderSlot(L.$slots,le,t.normalizeProps(t.guardReactiveProps(Ae)))])}))]),1040,["input-value","is-menu-open","onSetEmptyDate"]),(t.openBlock(),t.createBlock(t.resolveDynamicComponent(L.teleport?t.Teleport:"div"),t.normalizeProps(t.guardReactiveProps(F.value)),{default:t.withCtx(()=>[t.createVNode(t.Transition,{name:t.unref(U)(t.unref(Y)),css:t.unref(E)&&!t.unref(B).enabled},{default:t.withCtx(()=>[s.value?(t.openBlock(),t.createElementBlock("div",t.mergeProps({key:0,ref_key:"dpWrapMenuRef",ref:p},C.value,{class:{"dp--menu-wrapper":!t.unref(B).enabled},style:t.unref(B).enabled?void 0:t.unref(oe)}),[t.createVNode(al,t.mergeProps({ref_key:"dpMenuRef",ref:u},L.$props,{"internal-model-value":t.unref(M),"onUpdate:internalModelValue":ae[3]||(ae[3]=le=>t.isRef(M)?M.value=le:null),class:{[fe.value]:!0,"dp--menu-wrapper":L.teleport},"open-on-top":t.unref(Y),"no-overlay-focus":y.value,collapse:b.value,"get-input-rect":P,"is-text-input-date":x.value,onClosePicker:Se,onSelectDate:be,onAutoApply:_e,onTimeUpdate:Be,onFlowStep:ae[4]||(ae[4]=le=>L.$emit("flow-step",le)),onUpdateMonthYear:ae[5]||(ae[5]=le=>L.$emit("update-month-year",le)),onInvalidSelect:ae[6]||(ae[6]=le=>L.$emit("invalid-select",t.unref(M))),onAutoApplyInvalid:ae[7]||(ae[7]=le=>L.$emit("invalid-select",le)),onInvalidFixedRange:ae[8]||(ae[8]=le=>L.$emit("invalid-fixed-range",le)),onRecalculatePosition:t.unref(v),onTooltipOpen:ae[9]||(ae[9]=le=>L.$emit("tooltip-open",le)),onTooltipClose:ae[10]||(ae[10]=le=>L.$emit("tooltip-close",le)),onTimePickerOpen:ae[11]||(ae[11]=le=>L.$emit("time-picker-open",le)),onTimePickerClose:ae[12]||(ae[12]=le=>L.$emit("time-picker-close",le)),onAmPmChange:ae[13]||(ae[13]=le=>L.$emit("am-pm-change",le)),onRangeStart:ae[14]||(ae[14]=le=>L.$emit("range-start",le)),onRangeEnd:ae[15]||(ae[15]=le=>L.$emit("range-end",le)),onDateUpdate:ae[16]||(ae[16]=le=>L.$emit("date-update",le)),onInvalidDate:ae[17]||(ae[17]=le=>L.$emit("invalid-date",le)),onOverlayToggle:ae[18]||(ae[18]=le=>L.$emit("overlay-toggle",le))}),t.createSlots({_:2},[t.renderList(t.unref(D),(le,xe)=>({name:le,fn:t.withCtx(Ae=>[t.renderSlot(L.$slots,le,t.normalizeProps(t.guardReactiveProps({...Ae})))])}))]),1040,["internal-model-value","class","open-on-top","no-overlay-focus","collapse","is-text-input-date","onRecalculatePosition"])],16)):t.createCommentVNode("",!0)]),_:3},8,["name","css"])]),_:3},16))],2))}}),xn=(()=>{const e=N4;return e.install=a=>{a.component("Vue3DatePicker",e)},e})();Object.entries(Object.freeze(Object.defineProperty({__proto__:null,default:xn},Symbol.toStringTag,{value:"Module"}))).forEach(([e,a])=>{e!=="default"&&(xn[e]=a)});const D4={name:"ModalComponent",props:{modelValue:{type:Boolean,required:!0}},methods:{closeModal(){this.$emit("update:modelValue",!1)}}},T4={key:0,class:"modal-head text-white"},P4={class:"modal_responsive"},O4={class:"flex min-h-full items-center justify-center text-center"},F4={class:"modal-size w-full"},L4={class:"modal-background bg-base-200"},$4={class:"modal-title"},R4={class:"modal-body bg-base-300"},H4={class:"modal-footer"};function z4(e,a,n,r,o,i){return n.modelValue?(t.openBlock(),t.createElementBlock("div",T4,[a[2]||(a[2]=t.createElementVNode("div",{class:"modal-overlay"},null,-1)),t.createElementVNode("div",P4,[t.createElementVNode("div",O4,[t.createElementVNode("div",F4,[t.createElementVNode("div",L4,[t.createElementVNode("header",$4,[t.renderSlot(e.$slots,"title",{},void 0,!0),t.createElementVNode("button",{class:"close-button",onClick:a[0]||(a[0]=(...s)=>i.closeModal&&i.closeModal(...s))},a[1]||(a[1]=[t.createElementVNode("svg",{class:"w-6 h-6","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},[t.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18 17.94 6M18 18 6.06 6"})],-1)]))]),t.createElementVNode("div",R4,[t.renderSlot(e.$slots,"body",{},void 0,!0)]),t.createElementVNode("footer",H4,[t.renderSlot(e.$slots,"footer",{},void 0,!0)])])])])])])):t.createCommentVNode("",!0)}const nl=je(D4,[["render",z4],["__scopeId","data-v-e2c896dc"]]),I4={class:"container"},G4={class:"form-group"},j4={class:"form-group"},q4={class:"form-group"},W4=je({__name:"reminder",props:{currentChat:{type:Object,default:{id:null,contact:{segmentation_fields:[]}}},theme:{type:Boolean,default:!0},date:Date,token:String},setup(e){const a=e,n=t.ref({schedule:{time:a.date,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone,type:"unique"},title:"",content:"",type:"reminders"});return(r,o)=>(t.openBlock(),t.createElementBlock("div",I4,[t.createElementVNode("div",G4,[o[4]||(o[4]=t.createElementVNode("label",{for:"contentInput"},"Horário",-1)),t.createVNode(t.unref(xn),{format:"HH:mm","auto-apply":"true","time-picker":!0,locale:"pt-BR","cancel-text":"Cancelar","select-text":"Confirmar","enable-time-picker":!0,"min-date":new Date,"text-input":"",dark:e.theme,modelValue:n.value.schedule.time,"onUpdate:modelValue":o[0]||(o[0]=i=>n.value.schedule.time=i)},{"clear-icon":t.withCtx(({clear:i})=>o[3]||(o[3]=[])),_:1},8,["min-date","dark","modelValue"])]),t.createElementVNode("div",j4,[o[5]||(o[5]=t.createElementVNode("label",{for:"titleInput"},"Título",-1)),t.withDirectives(t.createElementVNode("input",{"onUpdate:modelValue":o[1]||(o[1]=i=>n.value.title=i),id:"titleInput",placeholder:"Remédio",class:"input bg-base-200"},null,512),[[t.vModelText,n.value.title]])]),t.createElementVNode("div",q4,[o[6]||(o[6]=t.createElementVNode("label",{for:"contentInput"},"Conteúdo",-1)),t.withDirectives(t.createElementVNode("textarea",{"onUpdate:modelValue":o[2]||(o[2]=i=>n.value.content=i),id:"contentInput",placeholder:"Não esquecer do remédio de alzheimer",class:"areaInput bg-base-200"},null,512),[[t.vModelText,n.value.content]])]),o[7]||(o[7]=t.createElementVNode("div",{class:"button-container"},[t.createElementVNode("button",{class:"save-button"},"Salvar")],-1))]))}},[["__scopeId","data-v-2727b591"]]);function Y4(e){return{all:e=e||new Map,on:function(a,n){var r=e.get(a);r?r.push(n):e.set(a,[n])},off:function(a,n){var r=e.get(a);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(a,[]))},emit:function(a,n){var r=e.get(a);r&&r.slice().map(function(o){o(n)}),(r=e.get("*"))&&r.slice().map(function(o){o(a,n)})}}}const rl=Y4();let ol=0;const U4=()=>{const e=ol;return ol+=1,e},Jn=(e,a)=>{const n={...e,id:U4(),group:e.group||""};return rl.emit("notify",{notification:n,timeout:a}),()=>rl.emit("close",n.id)},X4={class:"container"},Z4={class:"form-group"},Q4={class:"form-group"},K4={key:0,class:"custom-fields-container border border-base-100"},J4={class:"custom-fields-header bg-base-300"},e5={class:"custom-fields-list"},t5=["onClick"],a5={key:1,class:"file-container bg-base-100"},n5={class:"file-actions"},r5={class:"button-container"},o5=["disabled"],i5={key:0,class:"inline-block h-4 w-4 animate-spin rounded-full border-2 border-solid border-current border-e-transparent motion-reduce:animate-[spin_1.5s_linear_infinite]"},s5=je({__name:"sheduledMessage",props:{currentChat:{type:Object,default:{id:null,contact:{segmentation_fields:[]}}},theme:{type:Boolean,default:!0},date:{type:Date,required:!0},token:String,event:Object||null},emits:["close"],setup(e,{emit:a}){const n=e,r=t.ref(!1),o=a,i=t.ref("post"),s=t.ref({message:[{type:"text",content:""}],schedule:{time:n.date,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone,type:"unique"},chat_id:n.currentChat.id||null});t.onMounted(()=>{n.event?(s.value=n.event.params,i.value="patch"):s.value.schedule.time=u(n.date,s.value.schedule.time)});const l=t.ref(null);function c(d){s.value.message[0].content+=` {${d.name}} `,t.nextTick(()=>{l.value.focus()})}t.ref(null);function p(d){const h=d.getFullYear(),f=String(d.getMonth()+1).padStart(2,"0"),g=String(d.getDate()).padStart(2,"0"),b=String(d.getHours()).padStart(2,"0"),x=String(d.getMinutes()).padStart(2,"0");return`${h}-${f}-${g} ${b}:${x}`}function u(d,h){const f=new Date(d);return f.setHours(h.hours),f.setMinutes(h.minutes),f.setSeconds(h.seconds||0),p(f)}async function m(){r.value=!0;try{const d=JSON.parse(JSON.stringify(s.value));d.schedule.time=u(n.date,d.schedule.time);const h=await Qe[i.value](`http://localhost:8000/v1/api/crm/event/scheduled_message/${s.value.event_id?`${s.value.event_id}/`:""}`,{...d},{headers:{Authorization:`Bearer ${n.token}`}});Jn({group:"success",title:"Sucesso",text:h.data.message},2e3),o("close",!1)}catch(d){Jn({group:"error",title:"Erro",text:d.response.data.message},2e3)}finally{r.value=!1}}return(d,h)=>{const f=t.resolveComponent("Popper");return t.openBlock(),t.createElementBlock("div",X4,[t.createTextVNode(t.toDisplayString(s.value.schedule.time)+" ",1),t.createElementVNode("div",Z4,[h[4]||(h[4]=t.createElementVNode("label",{for:"contentInput"},"Horário",-1)),t.createVNode(t.unref(xn),{"auto-apply":"true","time-picker":!0,locale:"pt-BR","cancel-text":"Cancelar","select-text":"Confirmar","enable-time-picker":!0,"min-date":new Date,"text-input":"",dark:e.theme,modelValue:s.value.schedule.time,"onUpdate:modelValue":h[0]||(h[0]=g=>s.value.schedule.time=g)},{"clear-icon":t.withCtx(({clear:g})=>h[3]||(h[3]=[])),_:1},8,["min-date","dark","modelValue"])]),t.createElementVNode("div",Q4,[h[5]||(h[5]=t.createElementVNode("label",{for:"contentInput"},"Conteúdo",-1)),t.withDirectives(t.createElementVNode("textarea",{id:"sheduleMessageArea",ref_key:"textareaRef",ref:l,autofocus:"","onUpdate:modelValue":h[1]||(h[1]=g=>s.value.message[0].content=g),placeholder:"Olá cliente, tudo bem?",class:"input bg-base-200"},null,512),[[t.vModelText,s.value.message[0].content]])]),e.currentChat.contact&&e.currentChat.contact.segmentation_fields.length>0?(t.openBlock(),t.createElementBlock("div",K4,[t.createElementVNode("div",J4,[h[8]||(h[8]=t.createTextVNode(" Campos personalizáveis disponíveis ")),t.createVNode(f,{placement:"top",arrow:!0,hover:!0,class:"info",content:""},{content:t.withCtx(()=>h[6]||(h[6]=[t.createElementVNode("p",{class:"info-content"}," Ao enviar a mensagem para o cliente o valor deste campo será substituído pelo valor correspondente no momento do envio ",-1)])),default:t.withCtx(()=>[h[7]||(h[7]=t.createElementVNode("svg",{class:"info-icon","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M2 12a10 10 0 1 1 20 0 10 10 0 0 1-20 0Zm9.4-5.5a1 1 0 1 0 0 2 1 1 0 1 0 0-2ZM10 10a1 1 0 1 0 0 2h1v3h-1a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2h-1v-4c0-.6-.4-1-1-1h-2Z","clip-rule":"evenodd"})],-1))]),_:1,__:[7]})]),t.createElementVNode("div",e5,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(d.globalStore.messageStore.currentChat.contact.segmentation_fields,g=>(t.openBlock(),t.createElementBlock("div",{onClick:b=>c(g),key:g,class:"custom-field bg-primary"},t.toDisplayString(g.name),9,t5))),128))])])):t.createCommentVNode("",!0),s.value.file?(t.openBlock(),t.createElementBlock("div",a5,[t.createElementVNode("p",null,t.toDisplayString(s.value.fileName),1),t.createElementVNode("div",n5,[t.createElementVNode("button",{onClick:h[2]||(h[2]=g=>s.value.file=""),class:"file-remove-button"},h[9]||(h[9]=[t.createElementVNode("svg",{class:"file-remove-icon","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M8.586 2.586A2 2 0 0 1 10 2h4a2 2 0 0 1 2 2v2h3a1 1 0 1 1 0 2v12a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V8a1 1 0 0 1 0-2h3V4a2 2 0 0 1 .586-1.414ZM10 6h4V4h-4v2Zm1 4a1 1 0 1 0-2 0v8a1 1 0 1 0 2 0v-8Zm4 0a1 1 0 1 0-2 0v8a1 1 0 1 0 2 0v-8Z","clip-rule":"evenodd"})],-1)]))])])):t.createCommentVNode("",!0),t.createElementVNode("div",r5,[t.createElementVNode("button",{disabled:r.value,onClick:m,class:"save-button text-white"},[r.value?(t.openBlock(),t.createElementBlock("div",i5)):t.createCommentVNode("",!0),h[10]||(h[10]=t.createTextVNode(" Salvar "))],8,o5)])])}}},[["__scopeId","data-v-1d2f0f94"]]),l5={key:0},c5={key:1},d5={class:"main-container"},u5={key:0,class:"select-container"},f5=["value"],m5=je({__name:"createEvents",props:{modal:Boolean,date:Date,token:String,currentChat:Object,currentEvent:Object||null},emits:["close"],setup(e,{emit:a}){const n=[{type:"scheduled_messages",name:"Mensagens programadas"},{type:"reminders",name:"Lembrete"}],r=t.ref("reminders"),o=t.ref(null),i=e;t.onMounted(()=>{i.currentEvent&&(r.value=i.currentEvent.function)});const s=a;function l(u){const m={day:"numeric",month:"long",year:"numeric"};return u.toLocaleDateString("pt-BR",m)}const c=t.ref(i.modal);t.watch(()=>i.modal,u=>{c.value=u}),t.watch(c,u=>{u||s("close")});function p(u){o.value=u}return(u,m)=>(t.openBlock(),t.createBlock(nl,{modelValue:c.value,"onUpdate:modelValue":m[3]||(m[3]=d=>c.value=d)},{title:t.withCtx(()=>[e.currentEvent===null?(t.openBlock(),t.createElementBlock("div",l5," Novo evento "+t.toDisplayString(l(e.date)),1)):(t.openBlock(),t.createElementBlock("div",c5,t.toDisplayString(e.currentEvent.title)+" - "+t.toDisplayString(e.currentEvent.date.split("-").reverse().join("/"))+" "+t.toDisplayString(e.currentEvent.hours),1))]),body:t.withCtx(()=>[t.createElementVNode("main",d5,[e.currentEvent===null?(t.openBlock(),t.createElementBlock("div",u5,[t.withDirectives(t.createElementVNode("select",{"onUpdate:modelValue":m[0]||(m[0]=d=>r.value=d),class:"custom-select bg-base-100"},[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(n,d=>t.createElementVNode("option",{value:d.type,key:d.type},t.toDisplayString(d.name),9,f5)),64))],512),[[t.vModelSelect,r.value]]),m[4]||(m[4]=t.createElementVNode("svg",{class:"select-icon","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M18.425 10.271C19.499 8.967 18.57 7 16.88 7H7.12c-1.69 0-2.618 1.967-1.544 3.271l4.881 5.927a2 2 0 0 0 3.088 0l4.88-5.927Z","clip-rule":"evenodd"})],-1))])):t.createCommentVNode("",!0),r.value==="reminders"?(t.openBlock(),t.createBlock(W4,{key:1,onClose:m[1]||(m[1]=d=>c.value=!1),token:e.token,date:e.date,onConfig:p},null,8,["token","date"])):r.value==="scheduled_messages"?(t.openBlock(),t.createBlock(s5,{key:2,event:e.currentEvent,currentChat:e.currentChat,onClose:m[2]||(m[2]=d=>c.value=!1),token:e.token,date:e.date},null,8,["event","currentChat","token","date"])):t.createCommentVNode("",!0)])]),_:1},8,["modelValue"]))}},[["__scopeId","data-v-5dd1aceb"]]),h5={class:"calendar-container text-white"},p5={class:"calendar-header bg-base-300"},g5={class:"calendar"},y5={class:"date-container"},k5={class:"date"},b5=["disabled","onClick"],x5=["onClick"],w5={class:"event-main"},v5={class:"event-title"},E5={class:"text-center w-full"},C5={class:"flex flex-col gap- text-sm items-center align-middle overflow-y-scroll w-full",style:{height:"50vh"}},S5={class:"w-[40%]"},M5={class:"p- w-1/4"},B5={class:"p- w-1/4"},A5={class:"p- w-1/4"},V5=["onClick"],il=je({__name:"calendar",props:{theme:{type:Boolean,default:!0},token:{type:String,default:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzI1MTEwNzY3LCJpYXQiOjE3MjUwMjQzNjcsImp0aSI6ImRiY2E3MjIzZTE2NzRmODJiZjQzOWQyNjYwZDIyYTRhIiwidXNlcl9pZCI6IjYyNGRmZTIzLTkyZDAtNDNmMS04MDYxLWEyMzIxZjJiNWViYiJ9.MMlinTjeEFJcIqzYkM3SgPzJrLafE-GLiZn1wQi4ggs"},currentChat:Object},setup(e){const a=t.ref({seeEvents:!1,events:null,date:new Date}),n=t.ref({date:new Date,modal:!1}),r=t.ref(null);function o(S){r.value=S,n.value={date:S.date,modal:!0},a.value.seeEvents=!1}function i(S){n.value.modal=S,r.value=null}function s(S){a.value.events=S.events,a.value.seeEvents=!0;const B={day:"numeric",month:"long",year:"numeric"};a.value.date=S.date.toLocaleDateString("pt-BR",B)}const l=e,c=new Date,p=t.ref(c.getMonth()),u=t.ref(c.getFullYear()),m=t.ref(new Date(u.value,p.value)),d=t.ref([]),h=S=>{S&&typeof S.year=="number"&&typeof S.month=="number"?(p.value=S.month,u.value=S.year,_()):console.error("Data inválida selecionada:",S)},f=new Array(7).fill(null).map((S,B)=>{const G=new Date(2021,0,B+3);return new Intl.DateTimeFormat("pt-BR",{weekday:"short"}).format(G)}),g=S=>{if(S instanceof Date){const B={month:"long",year:"numeric"};return new Intl.DateTimeFormat("pt-BR",B).format(S)}else return console.error("Data inválida fornecida ao formatador:",S),""},b=S=>{const B={scheduled_messages:"Mensagens Programadas",another_function:"Outro Título",default:"Evento Desconhecido"};return B[S]||B.default},x=async(S="http://localhost:8000/v1/api/crm/event/")=>{try{const G=(await Qe.get(S,{headers:{Authorization:`Bearer ${l.token}`}})).data,O=G.results.map(Q=>({...Q,title:b(Q.function),date:Q.params.schedule.time.split(" ")[0],hours:Q.params.schedule.time.split(" ")[1],color:"#cce5ff",tag:"blue"}));d.value.push(...O),G.next&&await x(G.next)}catch(B){console.error("Erro ao buscar eventos:",B)}},w=S=>d.value.filter(B=>{const G=new Date(B.date+"T00:00:00"),O=new Date(S.getFullYear(),S.getMonth(),S.getDate());return G.getTime()===O.getTime()}),k=(S,B)=>{const G=[],O=new Date(S,B,1),Q=new Date(S,B+1,0),U=O.getDay(),D=new Date(S,B,0).getDate();for(let Y=U-1;Y>=0;Y--){const oe=new Date(S,B-1,D-Y);G.push({date:oe,events:w(oe),isPrevMonth:!0})}for(let Y=O;Y<=Q;Y.setDate(Y.getDate()+1))G.push({date:new Date(Y),events:w(new Date(Y)),isPrevMonth:!1,isNextMonth:!1});const R=42-G.length;for(let Y=1;Y<=R;Y++){const oe=new Date(S,B+1,Y);G.push({date:oe,events:w(oe),isNextMonth:!0})}return G},V=t.ref([]),_=()=>{V.value=k(u.value,p.value)};t.onMounted(async()=>{await x(),_()});const T=()=>{p.value===0?(p.value=11,u.value--):p.value--,m.value={year:u.value,month:p.value},_()},N=()=>{p.value===11?(p.value=0,u.value++):p.value++,m.value={year:u.value,month:p.value},_()};return(S,B)=>{const G=t.resolveComponent("Popper");return t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("div",h5,[t.createElementVNode("div",p5,[t.renderSlot(S.$slots,"backButton",{},void 0,!0),t.createElementVNode("button",{onClick:T,class:"calendar-button"},B[2]||(B[2]=[t.createElementVNode("svg",{class:"icon","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[t.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M5 12h14M5 12l4-4m-4 4 4 4"})],-1)])),t.createElementVNode("div",null,[t.createVNode(t.unref(xn),{dark:e.theme,"cancel-text":"Cancelar","select-text":"Selecionar",locale:"pt-BR",modelValue:m.value,"onUpdate:modelValue":[B[0]||(B[0]=O=>m.value=O),h],format:g,"only-month-picker":!0,"month-picker":!0},{"clear-icon":t.withCtx(({clear:O})=>B[3]||(B[3]=[])),_:1},8,["dark","modelValue"])]),t.createElementVNode("button",{onClick:N,class:"calendar-button"},B[4]||(B[4]=[t.createElementVNode("svg",{class:"icon","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[t.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 12H5m14 0-4 4m4-4-4-4"})],-1)]))]),t.createElementVNode("div",g5,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(t.unref(f),(O,Q)=>(t.openBlock(),t.createElementBlock("div",{key:Q,class:"day-name shadow shadow-black/90 dark:shadow-gray-400 bg-base-200 border border-base-100"},t.toDisplayString(O),1))),128)),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(V.value,(O,Q)=>(t.openBlock(),t.createElementBlock("div",{key:Q,class:t.normalizeClass([{"empty-day":!O.date,"prev-month-day":O.isPrevMonth,"next-month-day":O.isNextMonth},"day group h-full shadow shadow-black/90 dark:shadow-gray-400 bg-base-300 hover:bg-base-200 border border-base-200"])},[t.createElementVNode("div",y5,[t.createElementVNode("div",k5,t.toDisplayString(O.date.getDate()),1),t.createElementVNode("button",{disabled:O.date<new Date(new Date().setHours(0,0,0,0)),onClick:U=>(n.value.modal=!0,n.value.date=O.date),class:"add-event-button hidden group-hover:inline-block"},B[5]||(B[5]=[t.createElementVNode("svg",{class:"w-5 h-5","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},[t.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M5 12h14m-7 7V5"})],-1)]),8,b5)]),O.events.length>0?(t.openBlock(),t.createElementBlock("footer",{key:0,onClick:U=>s(O),class:"events-container cursor-pointer"},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(O.events,U=>(t.openBlock(),t.createElementBlock("div",{key:U.title,class:"event"},[t.createElementVNode("main",w5,[t.createVNode(G,{placement:"top",class:"dark:popper-light popper-dark",hover:!0,content:U.hours},{default:t.withCtx(()=>B[6]||(B[6]=[t.createElementVNode("svg",{class:"event-icon","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm11-4a1 1 0 1 0-2 0v4a1 1 0 0 0 .293.707l3 3a1 1 0 0 0 1.414-1.414L13 11.586V8Z","clip-rule":"evenodd"})],-1)])),_:2,__:[6]},1032,["content"]),t.createElementVNode("p",v5,t.toDisplayString(U.title),1)])]))),128))],8,x5)):t.createCommentVNode("",!0)],2))),128))])]),t.createVNode(nl,{modelValue:a.value.seeEvents,"onUpdate:modelValue":B[1]||(B[1]=O=>a.value.seeEvents=O)},{title:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(a.value.date),1)]),body:t.withCtx(()=>[t.createElementVNode("table",E5,[B[8]||(B[8]=t.createElementVNode("thead",{class:"bg-base-200 rounded-md flex text-white w-full"},[t.createElementVNode("tr",{class:"flex font-normal w-full"},[t.createElementVNode("th",{class:"p-2 w-[40%]"},"Evento"),t.createElementVNode("th",{class:"p-2 w-1/4"},"Horário"),t.createElementVNode("th",{class:"p-2 w-1/4"},"Paramêtros"),t.createElementVNode("th",{class:"p-2 w-1/4"},"Ações")])],-1)),t.createElementVNode("tbody",C5,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.value.events,O=>(t.openBlock(),t.createElementBlock("tr",{key:O.title,class:"flex mt-1 hover:bg-base-200 align-middle items-center rounded-xl py-2 w-full"},[t.createElementVNode("td",S5,t.toDisplayString(O.title),1),t.createElementVNode("td",M5,t.toDisplayString(O.hours),1),t.createElementVNode("td",B5,t.toDisplayString(O.date),1),t.createElementVNode("td",A5,[t.createElementVNode("button",{onClick:Q=>o(O),class:"bg-green-500 hover:bg-green-400 rounded-md p-1"},B[7]||(B[7]=[t.createElementVNode("svg",{class:"w-5 h-5","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M14 4.182A4.136 4.136 0 0 1 16.9 3c1.087 0 2.13.425 2.899 1.182A4.01 4.01 0 0 1 21 7.037c0 1.068-.43 2.092-1.194 2.849L18.5 11.214l-5.8-5.71 1.287-1.31.012-.012Zm-2.717 2.763L6.186 12.13l2.175 2.141 5.063-5.218-2.141-2.108Zm-6.25 6.886-1.98 5.849a.992.992 0 0 0 .245 1.026 1.03 1.03 0 0 0 1.043.242L10.282 19l-5.25-5.168Zm6.954 4.01 5.096-5.186-2.218-2.183-5.063 5.218 2.185 2.15Z","clip-rule":"evenodd"})],-1)]),8,V5)])]))),128))])])]),_:1},8,["modelValue"]),n.value.modal?(t.openBlock(),t.createBlock(m5,{key:0,currentEvent:r.value,currentChat:e.currentChat,token:e.token,onClose:i,modal:n.value.modal,date:n.value.date},null,8,["currentEvent","currentChat","token","modal","date"])):t.createCommentVNode("",!0)],64)}}},[["__scopeId","data-v-972e6756"]]),_5={class:"flex flex-col text-center"},N5={class:"flex flex-col space-y-3 justify-center"},D5={class:"space-x-4 flex-col text-black justify-center"},T5=["onUpdate:modelValue","onInput","onKeydown"],sl={__name:"mfa",props:{eventHandling:{type:String,default:null}},emits:["filled","reset"],setup(e,{emit:a}){t.onMounted(()=>{o.value[0].focus()});const n=a,r=t.ref(Array(6).fill("")),o=t.ref([]);t.ref(!1);const i=p=>{const u=r.value[p];r.value[0]<1&&n("reset"),/^\d$/.test(u)?s(p):r.value[p]="",p===r.value.length-1&&r.value.every(m=>m!=="")&&c()},s=p=>{p<r.value.length-1&&r.value[p]&&o.value[p+1].focus()},l=(p,u)=>{u.key==="Backspace"&&!r.value[p]&&p>0&&o.value[p-1].focus()},c=()=>{const p=r.value.join("");n("filled",p)};return(p,u)=>(t.openBlock(),t.createElementBlock("section",_5,[t.createElementVNode("div",N5,[t.createElementVNode("div",D5,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.value,(m,d)=>t.withDirectives((t.openBlock(),t.createElementBlock("input",{key:d,"onUpdate:modelValue":h=>r.value[d]=h,class:t.normalizeClass([e.eventHandling==="check"?"checked_mfa":e.eventHandling==="err"?"err_mfa":"reset_input","inline-block w-10 h-10 rounded-md text-center"]),type:"text",maxlength:"1",onInput:h=>i(d),onKeydown:t.withKeys(h=>l(d,h),["backspace"]),ref_for:!0,ref_key:"inputs",ref:o},null,42,T5)),[[t.vModelText,r.value[d]]])),128))])])]))}},P5={class:"text-center flex gap-3"},O5={class:"flex justify-center gap-2 relative bg-base-200 p-2 rounded-lg shadow-md shadow-black"},F5={key:0,class:"items-center justify-center inline-flex"},L5=["src"],$5={__name:"mfaQrCode",props:{base64:{type:String,default:""},dimensions:{type:Array,default:null},loading:{type:Boolean,default:!1},generated:{type:Boolean,default:!1}},emits:["generateQR"],setup(e,{emit:a}){const n=a;t.ref(!1);const r=e,o=()=>{n("generateQR")},i=t.computed(()=>r.base64?r.base64:l.value),s=t.computed(()=>`w-${r.dimensions[0]} h-${r.dimensions[1]}`),l=t.ref("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAABgAAAAYADwa0LPAAARGUlEQVR42u3dsZLbxhKFYejGpAOp9Jb7ACo9gMqx9JYbKOA6pwNfuly2yJ5lz5nuA/xfFSILwGAwanuxxz0frtfrdQMAA/+rHgAAjKJgAbBBwQJgg4IFwAYFC4ANChYAGxQsADYoWABsULAA2KBgAbBBwQJgg4IFwAYFC4ANChYAGxQsADYoWABsULAA2KBgAbBBwQJgg4IFwAYFC4ANChYAGxQsADYoWABsULAA2KBgAbBBwQJgg4IFwAYFC4ANChYAGxQsADYoWABsULAA2GhTsD59+rR9+PBht0fkx48f2/l8/s955/N5+/HjR/XruTu+6Bgdv/r51dc/+vpd5cP1er1WD2Lb/nrhP3/+rB6GTDTN5/N5++OPP375z06n0/b29lY6/kfji4yMX/386usfff2uQsFaJJrm6N9i1a8p+2/Z6udXX//o63eVNj8SAkCEggXABgULgA0KFkIzPvhH1zidTk/9s07PCD0KFh56e3vbvnz5kr7O169fHxaFb9++/bIwnU6n7ffff5c/ZzQ+NHFt4uPHj9dt2+4er6+v1UNMjT/y6NwZr+n79+/X0+kU3mf1cTqdrt+/f396/KPnq8d39PW7ik2s4fX1dfv8+XP1MJ8efzTN6l+7Z3JUaityWplYxsj1j75+V+FHwoPoWqxGx/boz6ifrfPcHQ0FC4ANChYAGxQsADYoWCayv3JfkWVSjq06p4UeKFgmsjmhezmnaqM5q+qcFpqozlXcZHMsmyAjtL0jh6LOYd07RnNC91wul+vLy0t4n5eXl+vlcpl+/irV73/v63eV3eSw1E3GomlS57AeyfZzent723777beHf+ZyuWzn81ly/grq9jhHX7+r8CPhDmRzQiOF5NGfyZ4PjKJgAbBBwQJgg4IFwAYFayeqW6N0z0l1GAPyKFg7Ud3PqXtOqmsODe9Unau4OXqORTXuWf2i1FT9uqLnH82RZd//3tfvKuSwBkXTVJnDiszoF6VeJsp+XdHzj+TIsu9/7+t3FX4kPACHfk7KMUbXJiPmg4IFwAYFC4ANChYAGxSsJo7+K/fq5++eI8NfKFhNHD0nVP383XNk+L/qXMUNOZZfG80JZcefPb/KrBxVFut3Df4Lq7nz+bx9+/atehhtMT/HQsEyQE7oMebnOChYAGxQsADYoGABsEHBMrCibYx7Dsl9/BhDwWru7e1t+/Lli/w+7jkk9/FjUHWu4iabY6mWzbGo+kGN3r+7e/OT3Zdx1vWPvn5X2U0/rGrZfkLKflAj9+/u0fxk92Wccf2jr99V+JGwCYeeVZUezc+MuVNfH3NQsADYoGABsEHBAmCDggUL5KywbRQsmCBnhW3b+gQsohyI+xGJzn95ebleLpf/nDerH1Q2h+R+fnb+jr5+V7HJYbmLpjnal+5yudxtozJjX71sDsn9/Oy+jEdfv6tQsBbJFizO733+0dfvKnzDAmCDggXABgULgA0KVhPqnFH00Tl7/8z5M/p9VY4f61CwmlDnjL5+/fqwMGTv/+z5s/p9VY0fi1XnKjDH9mS+pjonNXpkqftpYY02sQbkRL+Wf6Q6JzUiu0zV/bSwBgVrJzIFa9vqc07Z8UWy40cPfMMCYIOCBcAGBQuADQoWynNSanxQ3w8K1sFV56TUVu3riEWqcxU3z+Z01PvSZY9VOZ9oHPf6ac16/mep+3mpxz+qOsfWff2OahNryOR01PvSZa3I+WT6ac14/swyUvfzUo9/RHWOLaNTTq1Nweqe08lST/PRc1LV4+/+fFlNygTfsAD4oGABsEHBAmBjFwUr++ty9QfFFb/OV/aDGpGdw+rxqzk/X6e5tS9Y2X5F6pzOqn5Kqn5Qo6J+W93Hr+b6fO36gVXnKm624hxR9ojGF+nar2k0J3XvcBl/xP39ZNdnFzaxBnWOKCsaX6Rzv6aRnNQjDuOP/hq4v5/s+uzCpmBFw3TPqXTv19Q955Qdf3Z9uT+fC/tvWACOg4IFwAYFC4ANCtYk1TkktcwYqsffYd/D7s/ngoI1SXUOSe3ZHFD1+Lvse9j9+WxU5yputmROJjq/66Huh1SdE1o1/up+WNU5wOzzdc2Z/RuxhgbU/ZCqc0Irxl/dD6s6B5h9vs45s3+iYDWhfr7q11y9b2L2+urnU8vOX/X6ueEbFgAbFCwANihYAGy0KVjO/YK66zA36hxX535e1bLz1+nZ2hQs135B3VXnhG7UOa6u/byqZeevy/r5W3WuYtSzOZFsP6fR416/oVn9mJ69v3p+Z53f9f1X55CO1u8q0ibWEMnkRLL9nEY86jc0ox9Ttl9YRLlvnnrfSPX7r84hHanfVcSmYHXPaWXvrz4/cvTxRar/mrjkpNTafMMCgAgFC4ANChYAGxYFq8v/eHnPipyLOieTuf6K91M5vo5xhdnP6KJ9were72dVzkWdk3n2+qveT9X42uWQ7sjmyGxU5ypu1P2Mnr3uNphz2WuOadX7UT3fXt5vdv3eO6pzZu/VJtag7meU/bV2Zl9E9xxTdP4I9TLLjq/7+1XGcqpzZu/RpmC590six/SYepnt/f1W5wi7aP8NCwBuKFgAbFCwANhoU7Dc+yWpc1LV+x5235ewcv2seL/KOXTImd20KVju/ZLUOanqfQ+770tYtX5WvV9Vvy2XnNnfqnMVs7j3S3r2/rPG1z0H5k71/o7WL6tNrCHLvV9Sdc6mew7MXeb9zli/e+mXtZuCVZ1zyU5jdc6mew7MXfecmIs237AAIELBAmCDggXAxmEKVvTRMqN6T7zs+Ebunxnj3j+oj1CuEfX76+QwBetezqW6X5K6n9SsflHP5sC69zNbRZUDVL+/dqpzFbNsohzTNphjyfZjyt4/oh5f9sh69vmqc2ar9s1UP/8qh4k1ZGX6Ja24f0Q9vqzsMsw8X3XObMW+mernX4WCNSiapur7R9Tjc38+9f2r14/6+Vc5zDcsAP4oWABsULAA2NhNwaruF9S5p1D3D6odcmzO/caOZDcFq7pfkOr+Wd1zUF1ybK79xg6nOldxo+qX1L1f0Oj4np2/0ePe83eZv6ocmVtO6d9mra8u2sQalP2SuvcLGhlf9JqU+/J1mL/KHJlTTulXZqyvLtoUrKP3Y6rO8WSvr54/cko51e9vlt18wwKwfxQsADYoWABstClY6n3f1NfPmPFBV7kvX/UH5+r7V6+PrOr5m6lNwVLv+6a+/rNm5YhU+/JV57iq71+9PrKq52+66lzFqOp+R6rxjR7dx199/+zxbL8zdT+tVYeLNrGGSHW/I+X4RqhfU3b82fFV9+vK9DtT99NawaQM9MlhhQMt7nekHp/7+LPj656zqs4JVj9/F22+YQFAhIIFwAYFC4ANi4LVod9RpLofV/U9qvd2VN9bmePbU05KrX3B6tLvKFLdj6t6/Kp+UmrZflVd+nkdRnWu4qY6h3Lv6NKPqyqHlt03z6WfVPecVbZfWXS4aBNrqM6hPNKhH1dlDi27b55DP6nuOatsv7JIkzIQalOwqnMokew0de93lR2/+v5q3XNW3dfHKu2/YQHADQULgA0KFgAbbQpW955D2Y/W2T9TPT/KflsdVPZjG/FofTjkFGdpU7C678v2bM5oNGcTXb96flT9trqo6sc26t76cMkpTlOdq8jK5pxm5VhUR5QD2su+c9kclDpHpbq/+/pbrU2sISObc5qRY1GKckB72Hcum4NS56iU43dffyvtomBtW33OSS07/u6vWf3+1M9/9PW3SptvWAAQoWABsEHBAmBjNwUrm6PpHKk4AuX7q+4n5r7+Oo1tNwUrm6Opzjkdner9VfcTc19/7XJ01bmKVdQ5mep+Rdnz3XNQz44ve3R5vntm9WPrYjexhog6J1Pdryj7a3X3HFRE2W+tw/M9MqMfWxeHKVjVOZ/qfkjdz1dz3zdS/fzdx3+zm29YAPaPggXABgULgI3DFCx1TkfZrygan7rf1oz77133OajOqc1ymIKlzumo+hVF41P325p1/73r3k+qOqc2TXWu4qZq371R7x3Xew/VvoSz5i97/+r3r35/qqN7zmu1NrGGyn33Rqh/La7clzCSzVmNiJaZ+v13b9+Sfb6jaFOwuu+rVp3jcb+/+/WrNflrWu4w37AA+KNgAbBBwQJgo03B6r7vnfIe1f2S1PdXv58j5MT28AwztClY3fe9U/Urqu6XpL6/+v0cJSfWPee1THWuAn+p7idVff8tyCNV5dRG7/8s9b6Ee8txtYk1HF11P6nq+0exg8qc2sj9M9T7Eu4px0XBaqK6X5H7/atzaurn7z7+Vdp8wwKACAULgA0KFgAbFKwmKvsVzeinpb4/sG0UrDaq+hXN6qelvj+wbVufHNbHjx/Lew8pjyzVvoEuR6T6/tn34z7+VdrEGj59+rT9/Pmzehgy2WlW7hvoIJq/6lhA9v24j38VCtYi2WnunlNSq36+7P33Pv5V+IYFwAYFC4ANChYAGxQsA10+eFap7heWHWP12LZNuy/lShSs5o6eU6ruFzaq+75/qn0pl6vOVdxEOazX19fqIabGH1Hv+xedf6/f02i/JlW/qKxZ/abU1O/n3tEtZxWxiTW8vr5unz9/rh7m0+OPplm971+m39RIvyZlv6isGf2m1H9N1O/nkU45qwg/EjZRHeqMmuNlzq/WeWwzniH7fNVr7z0oWABsULAA2KBgAbBBwdqBbE7pCPv6ZSMP1f3AMjmqSKecVYSCZS6bUzrKvn7ZnFZ1P7Bnc1SRdjmrSHWu4iabw9qSOZvoyI4/Et1fnXNS58BU98/miNT7AqqPWTkq+mG9UzaHVd2eI5vDyu7Ll6XOgSnvn80RqfcFVJuRo3Lph8WPhCbUWaLqLE7m/tmxu+e0Zry7R9eoXhv/RMECYIOCBcAGBQuADQpWE9X9iDrnlNRjn3WNStn5r15/oyhYTVT3I+qaU4rMmp/qflpZ2fmvXn/DqnMVN0fPYUWqcjKr+i1F18nm0J6dv2w/sFXnq99PF+SwBkXTlM1hRSpzMiv6LalzaJn5y/YDW3F+RqecVYSCNai6YFXvG5ed32h86udT7xtYfX5WkzIQ4hsWABsULAA2KFgAbFCwMETdb0mdA8pev/P5M7h8dKdgYYi635I6B5S9ftfzZ6nK0b1bda7ihhzWY9nxVVPnyKr7OWXvr86JPXt0y2kRaxgUTdPeYw1Z6hxZdT+n7P3VObGMTjktfiTEEup+S9X9nLL3z5y/915p/0TBAmCDggXABgULgA0KloEuHzwzuues1KKP5urzMzrM3w0Fq7m97wvYJWeldi/nlN2XUL0+uszf36pzFTfZHFa1bA6r676A6hzRqvGpr//se1t1qPe1XGU3Oaxq2RxW530B1TmiFeNTX1+dA8xS72u5Cj8SNlGddanMEa0YX/X1q+2hWG0bBQuAEQoWABsULAA2KFg7UJ1jUueAOly/MgeV1SlHlUXBMledY1LngLpcvyoHldUuR5VVnau4iXJM7kckOj/K0Tyb48rmrGY9f/frZw/VvoWjqvuFzWKTw3IXTXN2X75Mjiubs5rx/N2vn6Xct3BEdb+wWShYi2QLVvZ89fj2fv0s9fuPuDeAvOEbFgAbFCwANihYAGxQsJqo3LeO62vtYV/GLihYTVTtW8f1tfayL2MXbX5LCAAR/gsLgA0KFgAbFCwANihYAGxQsADYoGABsEHBAmCDggXABgULgA0KFgAbFCwANihYAGxQsADYoGABsEHBAmCDggXABgULgA0KFgAbFCwANihYAGxQsADYoGABsEHBAmCDggXABgULgA0KFgAbFCwANihYAGxQsADYoGABsEHBAmCDggXABgULgI0/AXRl5K/bYs25AAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIxLTAyLTExVDIwOjQzOjIzKzAwOjAwj4NP3QAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0wMi0xMVQyMDo0MzoyMyswMDowMP7e92EAAAAASUVORK5CYII=");return(c,p)=>(t.openBlock(),t.createElementBlock("div",P5,[t.createElementVNode("section",O5,[e.generated?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass([s.value,"btnQrCode"])},[e.loading?(t.openBlock(),t.createElementBlock("div",F5,p[0]||(p[0]=[t.createElementVNode("div",{class:"loaderMFA"},null,-1)]))):(t.openBlock(),t.createElementBlock("button",{key:1,class:"uppercase bg-base-300 p-2 z-40",onClick:o}," Gerar QR "))],2)),t.createElementVNode("img",{class:t.normalizeClass([[s.value,e.generated?"rounded-md":"rounded-none"],""]),src:i.value,alt:"QRCode"},null,10,L5)])]))}},er=It.defineStore("attendant",{state:()=>({attendants:[],count:null,loaded:!1}),actions:{async fetchAttendants(){try{this.attendants=[];let e=`${t2}`;const a=await ra.get(e);this.attendants=a.data,this.count=this.attendants.length}catch(e){console.log("Erro ao buscar atendentes:",e)}},removeAttendants(e){this.attendants=this.attendants.filter(a=>a.id!==e)},addAttendants(e){const a=this.attendants.findIndex(n=>n.id===e.id);a!==-1?this.attendants[a]=e:this.attendants.push(e)}}});for(var ht=[],vo=0;vo<256;++vo)ht.push((vo+256).toString(16).slice(1));function R5(e,a=0){return(ht[e[a+0]]+ht[e[a+1]]+ht[e[a+2]]+ht[e[a+3]]+"-"+ht[e[a+4]]+ht[e[a+5]]+"-"+ht[e[a+6]]+ht[e[a+7]]+"-"+ht[e[a+8]]+ht[e[a+9]]+"-"+ht[e[a+10]]+ht[e[a+11]]+ht[e[a+12]]+ht[e[a+13]]+ht[e[a+14]]+ht[e[a+15]]).toLowerCase()}var tr,H5=new Uint8Array(16);function z5(){if(!tr&&(tr=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!tr))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return tr(H5)}var I5=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);const ll={randomUUID:I5};function G5(e,a,n){if(ll.randomUUID&&!e)return ll.randomUUID();e=e||{};var r=e.random||(e.rng||z5)();return r[6]=r[6]&15|64,r[8]=r[8]&63|128,R5(r)}function cl(){const e=er(),a=async l=>{const c=e.attendants.find(p=>p.id===l);if(c)try{const p=await ra.get(`${Lr}?attendant=${l}&page=1`);c.messages=p.data.results.reverse(),c.hasNextPage=p.data.next!==null,c.currentPage=2,c.internal_chat={channel_id:p.data.channel_id,unread:0}}catch(p){console.error("Erro ao buscar mensagens:",p)}},n=async l=>{const c=e.attendants.find(p=>p.id===l);if(!(!c||!c.hasNextPage))try{const p=await ra.get(`${Lr}?attendant=${l}&page=${c.currentPage}`);c.messages=[...p.data.results.reverse(),...c.messages],c.hasNextPage=p.data.next!==null,c.currentPage++}catch(p){console.error("Erro ao carregar mais mensagens:",p)}},r=(l,c,p)=>{const u=l==null?void 0:l.message;if(!u)return;const m=e.attendants.find(d=>{var h;return((h=d.internal_chat)==null?void 0:h.channel_id)===u.channel_id});m?(m.messages=m.messages||[],m.messages.find(h=>h.id===u.id)||(m.messages.push(u),(!c||m.id!==p)&&(m.internal_chat.unread=(m.internal_chat.unread||0)+1))):console.error("Atendente não encontrado para o canal especificado.")},o=l=>{const c=e.attendants.find(p=>p.id===l);c&&(c.internal_chat.unread=0)},i=async(l,c,p,u=!1)=>{var f;const m=e.attendants.find(g=>g.id===l);if(!m||!((f=m.internal_chat)!=null&&f.channel_id))return;let d;u?d=c:d={type:"text",content:c};const h={id:G5(),content:d,created_at:new Date().toISOString(),sender:p};m.messages.push(h);try{await ra.post(`${Lr}${m.internal_chat.channel_id}/message/`,{id:h.id,content:h.content})}catch(g){console.error("Erro ao enviar mensagem:",g)}},s=l=>{const c=e.attendants.find(p=>p.id===l);return c?c.hasNextPage:!1};return{attendants:t.computed(()=>e.attendants),count:t.computed(()=>e.count),fetchMessagesForAtendente:a,loadMessagesForAtendente:n,addMessageToAtendente:r,sendMessageToAtendente:i,hasNextPageForAtendente:s,resetUnreadMessages:o}}const j5={class:"avatar bg-[#404857] shadow shadow-gray-900 dark:shadow-gray-700 dark:bg-gray-300 text-gray-100 dark:text-gray-500"},q5={key:0,style:{"padding-top":"0.5rem"},xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},W5=["src"],Eo=je({__name:"Avatar",props:{url:{type:String}},setup(e){return(a,n)=>(t.openBlock(),t.createElementBlock("div",j5,[e.url?(t.openBlock(),t.createElementBlock("img",{key:1,style:{"object-fit":"scale-down"},src:e.url},null,8,W5)):(t.openBlock(),t.createElementBlock("svg",q5,n[0]||(n[0]=[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 6a3.75 3.75 0 11-7.5 0 3.75 3.75 0 017.5 0zM4.501 20.118a7.5 7.5 0 0114.998 0A17.933 17.933 0 0112 21.75c-2.676 0-5.216-.584-7.499-1.632z"},null,-1)])))]))}},[["__scopeId","data-v-7d8b2820"]]),Y5={class:"attendants-container"},U5={class:"atendentes-list bg-base-300"},X5={key:0,class:"empty-message bg-base-200"},Z5=["onClick"],Q5={class:"atendente-main"},K5={class:"atendente-name"},J5={class:"flex items-center gap-4"},e6={key:0,class:"message-indicator"},t6={key:0,class:"chat-footer bg-base-200"},dl=je({__name:"ChatList",props:{atendentes:{type:Array,required:!0},attendant:{required:!0},mobile:{type:Boolean,default:!1}},emits:["atendenteSelecionado"],setup(e,{emit:a}){const n=e,r=a,o=t.ref(""),i=c=>{r("atendenteSelecionado",c)},s=c=>{switch(c){case"Busy":return"bg-red-500";case"Online":return"bg-green-500";case"Away":return"bg-yellow-500";case"Offline":return"bg-gray-500";default:return"bg-purple-500"}},l=t.computed(()=>o.value?n.atendentes.filter(c=>c.name.toLowerCase().includes(o.value.toLowerCase())&&c.id!==n.attendant.id):n.atendentes.filter(c=>c.id!==n.attendant.id));return(c,p)=>(t.openBlock(),t.createElementBlock("div",Y5,[t.withDirectives(t.createElementVNode("input",{"onUpdate:modelValue":p[0]||(p[0]=u=>o.value=u),class:t.normalizeClass(e.mobile?"search-input-mobile bg-base-300 border-b border-base-200":"search-input bg-base-300 border-b border-base-200"),placeholder:"Pesquise entre os atendentes..."},null,2),[[t.vModelText,o.value]]),t.createElementVNode("ul",U5,[l.value.length===0?(t.openBlock(),t.createElementBlock("li",X5,t.toDisplayString(e.atendentes.length===0?"Não há atendentes disponíveis":"Não há atendentes com esse nome"),1)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.value,u=>(t.openBlock(),t.createElementBlock("li",{key:u.id,onClick:m=>i(u),class:t.normalizeClass([["atendente-item",u.isMoved?"moved":""],"border-b even:bg-base-300 bg-blue-400/10 border-base-200 hover:bg-base-200 relative"])},[t.createElementVNode("main",Q5,[t.createVNode(Eo,{url:u.photo},null,8,["url"]),t.createElementVNode("span",K5,t.toDisplayString(u.name),1)]),t.createElementVNode("footer",J5,[u.internal_chat.unread>0?(t.openBlock(),t.createElementBlock("span",e6,t.toDisplayString(u.internal_chat.unread),1)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(["status-indicator",s(u.login_status)])},null,2)]),p[1]||(p[1]=t.createElementVNode("div",{class:"hover-action"},"Conversar",-1))],10,Z5))),128))]),e.mobile?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("footer",t6))]))}},[["__scopeId","data-v-dc8950e9"]]);function a6(e,a=null){if(!e)return!1;const n=e.getBoundingClientRect(),r=a?a.getBoundingClientRect():{top:0,left:0,bottom:window.innerHeight,right:window.innerWidth};return n.bottom>=r.top&&n.top<=r.bottom&&n.right>=r.left&&n.left<=r.right}async function n6(e){return e?(await t.nextTick(),e.value instanceof HTMLElement?e.value:e.value?document.querySelector(e.value):null):null}function r6(e){let a=`0px 0px ${e.distance}px 0px`;e.top&&(a=`${e.distance}px 0px 0px 0px`);const n=new IntersectionObserver(r=>{r[0].isIntersecting&&(e.firstload&&e.emit(),e.firstload=!0)},{root:e.parentEl,rootMargin:a});return e.infiniteLoading.value&&n.observe(e.infiniteLoading.value),n}async function ul(e,a){if(await t.nextTick(),!e.top)return;const n=e.parentEl||document.documentElement;n.scrollTop=n.scrollHeight-a}const fl=(e,a)=>{const n=e.__vccOpts||e;for(const[r,o]of a)n[r]=o;return n},o6={},i6=e=>(t.pushScopeId("data-v-d3e37633"),e=e(),t.popScopeId(),e),s6={class:"container"},l6=i6(()=>t.createElementVNode("div",{class:"spinner"},null,-1)),c6=[l6];function d6(e,a){return t.openBlock(),t.createElementBlock("div",s6,c6)}const u6=fl(o6,[["render",d6],["__scopeId","data-v-d3e37633"]]),f6={class:"state-error"},Co=fl(t.defineComponent({__name:"InfiniteLoading",props:{top:{type:Boolean,default:!1},target:{},distance:{default:0},identifier:{},firstload:{type:Boolean,default:!0},slots:{}},emits:["infinite"],setup(e,{emit:a}){const n=e;let r=null,o=0;const i=t.ref(null),s=t.ref(""),{top:l,firstload:c,distance:p}=n,{identifier:u,target:m}=t.toRefs(n),d={infiniteLoading:i,top:l,firstload:c,distance:p,parentEl:null,emit(){o=(d.parentEl||document.documentElement).scrollHeight,h.loading(),a("infinite",h)}},h={loading(){s.value="loading"},async loaded(){s.value="loaded",await ul(d,o),a6(i.value,d.parentEl)&&d.emit()},async complete(){s.value="complete",await ul(d,o),r==null||r.disconnect()},error(){s.value="error"}};function f(){r==null||r.disconnect(),r=r6(d)}return t.watch(u,f),t.onMounted(async()=>{d.parentEl=await n6(m),f()}),t.onUnmounted(()=>r==null?void 0:r.disconnect()),(g,b)=>(t.openBlock(),t.createElementBlock("div",{ref_key:"infiniteLoading",ref:i,class:"v3-infinite-loading"},[t.withDirectives(t.createElementVNode("div",null,[t.renderSlot(g.$slots,"spinner",{},()=>[t.createVNode(u6)],!0)],512),[[t.vShow,s.value=="loading"]]),s.value=="complete"?t.renderSlot(g.$slots,"complete",{key:0},()=>{var x;return[t.createElementVNode("span",null,t.toDisplayString(((x=g.slots)==null?void 0:x.complete)||"No more results!"),1)]},!0):t.createCommentVNode("",!0),s.value=="error"?t.renderSlot(g.$slots,"error",{key:1,retry:d.emit},()=>{var x;return[t.createElementVNode("span",f6,[t.createElementVNode("span",null,t.toDisplayString(((x=g.slots)==null?void 0:x.error)||"Oops something went wrong!"),1),t.createElementVNode("button",{class:"retry",onClick:b[0]||(b[0]=(...w)=>d.emit&&d.emit(...w))},"retry")])]},!0):t.createCommentVNode("",!0)],512))}}),[["__scopeId","data-v-4bdee133"]]),ml=6048e5,m6=864e5,hl=Symbol.for("constructDateFrom");function _t(e,a){return typeof e=="function"?e(a):e&&typeof e=="object"&&hl in e?e[hl](a):e instanceof Date?new e.constructor(a):new Date(a)}function Nt(e,a){return _t(a||e,e)}function h6(e,a,n){const r=Nt(e,n==null?void 0:n.in);return isNaN(a)?_t(e,NaN):(r.setDate(r.getDate()+a),r)}let p6={};function ar(){return p6}function Da(e,a){var l,c,p,u;const n=ar(),r=(a==null?void 0:a.weekStartsOn)??((c=(l=a==null?void 0:a.locale)==null?void 0:l.options)==null?void 0:c.weekStartsOn)??n.weekStartsOn??((u=(p=n.locale)==null?void 0:p.options)==null?void 0:u.weekStartsOn)??0,o=Nt(e,a==null?void 0:a.in),i=o.getDay(),s=(i<r?7:0)+i-r;return o.setDate(o.getDate()-s),o.setHours(0,0,0,0),o}function nr(e,a){return Da(e,{...a,weekStartsOn:1})}function pl(e,a){const n=Nt(e,a==null?void 0:a.in),r=n.getFullYear(),o=_t(n,0);o.setFullYear(r+1,0,4),o.setHours(0,0,0,0);const i=nr(o),s=_t(n,0);s.setFullYear(r,0,4),s.setHours(0,0,0,0);const l=nr(s);return n.getTime()>=i.getTime()?r+1:n.getTime()>=l.getTime()?r:r-1}function gl(e){const a=Nt(e),n=new Date(Date.UTC(a.getFullYear(),a.getMonth(),a.getDate(),a.getHours(),a.getMinutes(),a.getSeconds(),a.getMilliseconds()));return n.setUTCFullYear(a.getFullYear()),+e-+n}function So(e,...a){const n=_t.bind(null,a.find(r=>typeof r=="object"));return a.map(n)}function rr(e,a){const n=Nt(e,a==null?void 0:a.in);return n.setHours(0,0,0,0),n}function g6(e,a,n){const[r,o]=So(n==null?void 0:n.in,e,a),i=rr(r),s=rr(o),l=+i-gl(i),c=+s-gl(s);return Math.round((l-c)/m6)}function y6(e,a){const n=pl(e,a),r=_t(e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),nr(r)}function Mo(e){return _t(e,Date.now())}function yl(e,a,n){const[r,o]=So(n==null?void 0:n.in,e,a);return+rr(r)==+rr(o)}function k6(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function b6(e){return!(!k6(e)&&typeof e!="number"||isNaN(+Nt(e)))}function x6(e,a){const n=Nt(e,a==null?void 0:a.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}const w6={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},v6=(e,a,n)=>{let r;const o=w6[e];return typeof o=="string"?r=o:a===1?r=o.one:r=o.other.replace("{{count}}",a.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function Xa(e){return(a={})=>{const n=a.width?String(a.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const E6={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},C6={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},S6={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},M6={date:Xa({formats:E6,defaultWidth:"full"}),time:Xa({formats:C6,defaultWidth:"full"}),dateTime:Xa({formats:S6,defaultWidth:"full"})},B6={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},A6=(e,a,n,r)=>B6[e];function Ut(e){return(a,n)=>{const r=n!=null&&n.context?String(n.context):"standalone";let o;if(r==="formatting"&&e.formattingValues){const s=e.defaultFormattingWidth||e.defaultWidth,l=n!=null&&n.width?String(n.width):s;o=e.formattingValues[l]||e.formattingValues[s]}else{const s=e.defaultWidth,l=n!=null&&n.width?String(n.width):e.defaultWidth;o=e.values[l]||e.values[s]}const i=e.argumentCallback?e.argumentCallback(a):a;return o[i]}}const V6={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},_6={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},N6={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},D6={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},T6={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},P6={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},O6={ordinalNumber:(e,a)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:Ut({values:V6,defaultWidth:"wide"}),quarter:Ut({values:_6,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Ut({values:N6,defaultWidth:"wide"}),day:Ut({values:D6,defaultWidth:"wide"}),dayPeriod:Ut({values:T6,defaultWidth:"wide",formattingValues:P6,defaultFormattingWidth:"wide"})};function Xt(e){return(a,n={})=>{const r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=a.match(o);if(!i)return null;const s=i[0],l=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(l)?L6(l,m=>m.test(s)):F6(l,m=>m.test(s));let p;p=e.valueCallback?e.valueCallback(c):c,p=n.valueCallback?n.valueCallback(p):p;const u=a.slice(s.length);return{value:p,rest:u}}}function F6(e,a){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&a(e[n]))return n}function L6(e,a){for(let n=0;n<e.length;n++)if(a(e[n]))return n}function kl(e){return(a,n={})=>{const r=a.match(e.matchPattern);if(!r)return null;const o=r[0],i=a.match(e.parsePattern);if(!i)return null;let s=e.valueCallback?e.valueCallback(i[0]):i[0];s=n.valueCallback?n.valueCallback(s):s;const l=a.slice(o.length);return{value:s,rest:l}}}const $6=/^(\d+)(th|st|nd|rd)?/i,R6=/\d+/i,H6={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},z6={any:[/^b/i,/^(a|c)/i]},I6={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},G6={any:[/1/i,/2/i,/3/i,/4/i]},j6={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},q6={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},W6={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Y6={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},U6={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},X6={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Z6={ordinalNumber:kl({matchPattern:$6,parsePattern:R6,valueCallback:e=>parseInt(e,10)}),era:Xt({matchPatterns:H6,defaultMatchWidth:"wide",parsePatterns:z6,defaultParseWidth:"any"}),quarter:Xt({matchPatterns:I6,defaultMatchWidth:"wide",parsePatterns:G6,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Xt({matchPatterns:j6,defaultMatchWidth:"wide",parsePatterns:q6,defaultParseWidth:"any"}),day:Xt({matchPatterns:W6,defaultMatchWidth:"wide",parsePatterns:Y6,defaultParseWidth:"any"}),dayPeriod:Xt({matchPatterns:U6,defaultMatchWidth:"any",parsePatterns:X6,defaultParseWidth:"any"})},Q6={code:"en-US",formatDistance:v6,formatLong:M6,formatRelative:A6,localize:O6,match:Z6,options:{weekStartsOn:0,firstWeekContainsDate:1}};function K6(e,a){const n=Nt(e,a==null?void 0:a.in);return g6(n,x6(n))+1}function J6(e,a){const n=Nt(e,a==null?void 0:a.in),r=+nr(n)-+y6(n);return Math.round(r/ml)+1}function bl(e,a){var u,m,d,h;const n=Nt(e,a==null?void 0:a.in),r=n.getFullYear(),o=ar(),i=(a==null?void 0:a.firstWeekContainsDate)??((m=(u=a==null?void 0:a.locale)==null?void 0:u.options)==null?void 0:m.firstWeekContainsDate)??o.firstWeekContainsDate??((h=(d=o.locale)==null?void 0:d.options)==null?void 0:h.firstWeekContainsDate)??1,s=_t((a==null?void 0:a.in)||e,0);s.setFullYear(r+1,0,i),s.setHours(0,0,0,0);const l=Da(s,a),c=_t((a==null?void 0:a.in)||e,0);c.setFullYear(r,0,i),c.setHours(0,0,0,0);const p=Da(c,a);return+n>=+l?r+1:+n>=+p?r:r-1}function e7(e,a){var l,c,p,u;const n=ar(),r=(a==null?void 0:a.firstWeekContainsDate)??((c=(l=a==null?void 0:a.locale)==null?void 0:l.options)==null?void 0:c.firstWeekContainsDate)??n.firstWeekContainsDate??((u=(p=n.locale)==null?void 0:p.options)==null?void 0:u.firstWeekContainsDate)??1,o=bl(e,a),i=_t((a==null?void 0:a.in)||e,0);return i.setFullYear(o,0,r),i.setHours(0,0,0,0),Da(i,a)}function t7(e,a){const n=Nt(e,a==null?void 0:a.in),r=+Da(n,a)-+e7(n,a);return Math.round(r/ml)+1}function Ge(e,a){const n=e<0?"-":"",r=Math.abs(e).toString().padStart(a,"0");return n+r}const ma={y(e,a){const n=e.getFullYear(),r=n>0?n:1-n;return Ge(a==="yy"?r%100:r,a.length)},M(e,a){const n=e.getMonth();return a==="M"?String(n+1):Ge(n+1,2)},d(e,a){return Ge(e.getDate(),a.length)},a(e,a){const n=e.getHours()/12>=1?"pm":"am";switch(a){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,a){return Ge(e.getHours()%12||12,a.length)},H(e,a){return Ge(e.getHours(),a.length)},m(e,a){return Ge(e.getMinutes(),a.length)},s(e,a){return Ge(e.getSeconds(),a.length)},S(e,a){const n=a.length,r=e.getMilliseconds(),o=Math.trunc(r*Math.pow(10,n-3));return Ge(o,a.length)}},Za={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},xl={G:function(e,a,n){const r=e.getFullYear()>0?1:0;switch(a){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(e,a,n){if(a==="yo"){const r=e.getFullYear(),o=r>0?r:1-r;return n.ordinalNumber(o,{unit:"year"})}return ma.y(e,a)},Y:function(e,a,n,r){const o=bl(e,r),i=o>0?o:1-o;if(a==="YY"){const s=i%100;return Ge(s,2)}return a==="Yo"?n.ordinalNumber(i,{unit:"year"}):Ge(i,a.length)},R:function(e,a){const n=pl(e);return Ge(n,a.length)},u:function(e,a){const n=e.getFullYear();return Ge(n,a.length)},Q:function(e,a,n){const r=Math.ceil((e.getMonth()+1)/3);switch(a){case"Q":return String(r);case"QQ":return Ge(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,a,n){const r=Math.ceil((e.getMonth()+1)/3);switch(a){case"q":return String(r);case"qq":return Ge(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,a,n){const r=e.getMonth();switch(a){case"M":case"MM":return ma.M(e,a);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,a,n){const r=e.getMonth();switch(a){case"L":return String(r+1);case"LL":return Ge(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,a,n,r){const o=t7(e,r);return a==="wo"?n.ordinalNumber(o,{unit:"week"}):Ge(o,a.length)},I:function(e,a,n){const r=J6(e);return a==="Io"?n.ordinalNumber(r,{unit:"week"}):Ge(r,a.length)},d:function(e,a,n){return a==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):ma.d(e,a)},D:function(e,a,n){const r=K6(e);return a==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):Ge(r,a.length)},E:function(e,a,n){const r=e.getDay();switch(a){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,a,n,r){const o=e.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(a){case"e":return String(i);case"ee":return Ge(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});case"eeee":default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,a,n,r){const o=e.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(a){case"c":return String(i);case"cc":return Ge(i,a.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});case"cccc":default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,a,n){const r=e.getDay(),o=r===0?7:r;switch(a){case"i":return String(o);case"ii":return Ge(o,a.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,a,n){const o=e.getHours()/12>=1?"pm":"am";switch(a){case"a":case"aa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,a,n){const r=e.getHours();let o;switch(r===12?o=Za.noon:r===0?o=Za.midnight:o=r/12>=1?"pm":"am",a){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,a,n){const r=e.getHours();let o;switch(r>=17?o=Za.evening:r>=12?o=Za.afternoon:r>=4?o=Za.morning:o=Za.night,a){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,a,n){if(a==="ho"){let r=e.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return ma.h(e,a)},H:function(e,a,n){return a==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):ma.H(e,a)},K:function(e,a,n){const r=e.getHours()%12;return a==="Ko"?n.ordinalNumber(r,{unit:"hour"}):Ge(r,a.length)},k:function(e,a,n){let r=e.getHours();return r===0&&(r=24),a==="ko"?n.ordinalNumber(r,{unit:"hour"}):Ge(r,a.length)},m:function(e,a,n){return a==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):ma.m(e,a)},s:function(e,a,n){return a==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):ma.s(e,a)},S:function(e,a){return ma.S(e,a)},X:function(e,a,n){const r=e.getTimezoneOffset();if(r===0)return"Z";switch(a){case"X":return vl(r);case"XXXX":case"XX":return Ta(r);case"XXXXX":case"XXX":default:return Ta(r,":")}},x:function(e,a,n){const r=e.getTimezoneOffset();switch(a){case"x":return vl(r);case"xxxx":case"xx":return Ta(r);case"xxxxx":case"xxx":default:return Ta(r,":")}},O:function(e,a,n){const r=e.getTimezoneOffset();switch(a){case"O":case"OO":case"OOO":return"GMT"+wl(r,":");case"OOOO":default:return"GMT"+Ta(r,":")}},z:function(e,a,n){const r=e.getTimezoneOffset();switch(a){case"z":case"zz":case"zzz":return"GMT"+wl(r,":");case"zzzz":default:return"GMT"+Ta(r,":")}},t:function(e,a,n){const r=Math.trunc(+e/1e3);return Ge(r,a.length)},T:function(e,a,n){return Ge(+e,a.length)}};function wl(e,a=""){const n=e>0?"-":"+",r=Math.abs(e),o=Math.trunc(r/60),i=r%60;return i===0?n+String(o):n+String(o)+a+Ge(i,2)}function vl(e,a){return e%60===0?(e>0?"-":"+")+Ge(Math.abs(e)/60,2):Ta(e,a)}function Ta(e,a=""){const n=e>0?"-":"+",r=Math.abs(e),o=Ge(Math.trunc(r/60),2),i=Ge(r%60,2);return n+o+a+i}const El=(e,a)=>{switch(e){case"P":return a.date({width:"short"});case"PP":return a.date({width:"medium"});case"PPP":return a.date({width:"long"});case"PPPP":default:return a.date({width:"full"})}},Cl=(e,a)=>{switch(e){case"p":return a.time({width:"short"});case"pp":return a.time({width:"medium"});case"ppp":return a.time({width:"long"});case"pppp":default:return a.time({width:"full"})}},a7={p:Cl,P:(e,a)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],o=n[2];if(!o)return El(e,a);let i;switch(r){case"P":i=a.dateTime({width:"short"});break;case"PP":i=a.dateTime({width:"medium"});break;case"PPP":i=a.dateTime({width:"long"});break;case"PPPP":default:i=a.dateTime({width:"full"});break}return i.replace("{{date}}",El(r,a)).replace("{{time}}",Cl(o,a))}},n7=/^D+$/,r7=/^Y+$/,o7=["D","DD","YY","YYYY"];function i7(e){return n7.test(e)}function s7(e){return r7.test(e)}function l7(e,a,n){const r=c7(e,a,n);if(console.warn(r),o7.includes(e))throw new RangeError(r)}function c7(e,a,n){const r=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${a}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const d7=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,u7=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,f7=/^'([^]*?)'?$/,m7=/''/g,h7=/[a-zA-Z]/;function Sl(e,a,n){var u,m,d,h,f,g,b,x;const r=ar(),o=(n==null?void 0:n.locale)??r.locale??Q6,i=(n==null?void 0:n.firstWeekContainsDate)??((m=(u=n==null?void 0:n.locale)==null?void 0:u.options)==null?void 0:m.firstWeekContainsDate)??r.firstWeekContainsDate??((h=(d=r.locale)==null?void 0:d.options)==null?void 0:h.firstWeekContainsDate)??1,s=(n==null?void 0:n.weekStartsOn)??((g=(f=n==null?void 0:n.locale)==null?void 0:f.options)==null?void 0:g.weekStartsOn)??r.weekStartsOn??((x=(b=r.locale)==null?void 0:b.options)==null?void 0:x.weekStartsOn)??0,l=Nt(e,n==null?void 0:n.in);if(!b6(l))throw new RangeError("Invalid time value");let c=a.match(u7).map(w=>{const k=w[0];if(k==="p"||k==="P"){const V=a7[k];return V(w,o.formatLong)}return w}).join("").match(d7).map(w=>{if(w==="''")return{isToken:!1,value:"'"};const k=w[0];if(k==="'")return{isToken:!1,value:p7(w)};if(xl[k])return{isToken:!0,value:w};if(k.match(h7))throw new RangeError("Format string contains an unescaped latin alphabet character `"+k+"`");return{isToken:!1,value:w}});o.localize.preprocessor&&(c=o.localize.preprocessor(l,c));const p={firstWeekContainsDate:i,weekStartsOn:s,locale:o};return c.map(w=>{if(!w.isToken)return w.value;const k=w.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&s7(k)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&i7(k))&&l7(k,a,String(e));const V=xl[k[0]];return V(l,k,o.localize,p)}).join("")}function p7(e){const a=e.match(f7);return a?a[1].replace(m7,"'"):e}function g7(e,a,n){const[r,o]=So(n==null?void 0:n.in,e,a);return+Da(r,n)==+Da(o,n)}function y7(e,a){return g7(_t(e,e),Mo(e),a)}function k7(e,a){return yl(_t(e,e),Mo(e))}function b7(e,a,n){return h6(e,-1,n)}function x7(e,a){return yl(_t(e,e),b7(Mo(e)))}const w7={lessThanXSeconds:{one:"menos de um segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"meio minuto",lessThanXMinutes:{one:"menos de um minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"cerca de 1 hora",other:"cerca de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 dia",other:"{{count}} dias"},aboutXWeeks:{one:"cerca de 1 semana",other:"cerca de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"cerca de 1 mês",other:"cerca de {{count}} meses"},xMonths:{one:"1 mês",other:"{{count}} meses"},aboutXYears:{one:"cerca de 1 ano",other:"cerca de {{count}} anos"},xYears:{one:"1 ano",other:"{{count}} anos"},overXYears:{one:"mais de 1 ano",other:"mais de {{count}} anos"},almostXYears:{one:"quase 1 ano",other:"quase {{count}} anos"}},v7=(e,a,n)=>{let r;const o=w7[e];return typeof o=="string"?r=o:a===1?r=o.one:r=o.other.replace("{{count}}",String(a)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"em "+r:"há "+r:r},E7={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/yyyy"},C7={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},S7={full:"{{date}} 'às' {{time}}",long:"{{date}} 'às' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},M7={date:Xa({formats:E7,defaultWidth:"full"}),time:Xa({formats:C7,defaultWidth:"full"}),dateTime:Xa({formats:S7,defaultWidth:"full"})},B7={lastWeek:e=>{const a=e.getDay();return"'"+(a===0||a===6?"último":"última")+"' eeee 'às' p"},yesterday:"'ontem às' p",today:"'hoje às' p",tomorrow:"'amanhã às' p",nextWeek:"eeee 'às' p",other:"P"},A7=(e,a,n,r)=>{const o=B7[e];return typeof o=="function"?o(a):o},V7={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","depois de cristo"]},_7={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},N7={narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez"],wide:["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]},D7={narrow:["D","S","T","Q","Q","S","S"],short:["dom","seg","ter","qua","qui","sex","sab"],abbreviated:["domingo","segunda","terça","quarta","quinta","sexta","sábado"],wide:["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"]},T7={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"manhã",afternoon:"tarde",evening:"tarde",night:"noite"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"tarde",night:"noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"meia-noite",noon:"meio-dia",morning:"manhã",afternoon:"tarde",evening:"tarde",night:"noite"}},P7={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"da manhã",afternoon:"da tarde",evening:"da tarde",night:"da noite"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da tarde",night:"da noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"meia-noite",noon:"meio-dia",morning:"da manhã",afternoon:"da tarde",evening:"da tarde",night:"da noite"}},O7={ordinalNumber:(e,a)=>{const n=Number(e);return(a==null?void 0:a.unit)==="week"?n+"ª":n+"º"},era:Ut({values:V7,defaultWidth:"wide"}),quarter:Ut({values:_7,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Ut({values:N7,defaultWidth:"wide"}),day:Ut({values:D7,defaultWidth:"wide"}),dayPeriod:Ut({values:T7,defaultWidth:"wide",formattingValues:P7,defaultFormattingWidth:"wide"})},F7=/^(\d+)[ºªo]?/i,L7=/\d+/i,$7={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|d\.?\s?c\.?)/i,wide:/^(antes de cristo|depois de cristo)/i},R7={any:[/^ac/i,/^dc/i],wide:[/^antes de cristo/i,/^depois de cristo/i]},H7={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},z7={any:[/1/i,/2/i,/3/i,/4/i]},I7={narrow:/^[jfmajsond]/i,abbreviated:/^(jan|fev|mar|abr|mai|jun|jul|ago|set|out|nov|dez)/i,wide:/^(janeiro|fevereiro|março|abril|maio|junho|julho|agosto|setembro|outubro|novembro|dezembro)/i},G7={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^fev/i,/^mar/i,/^abr/i,/^mai/i,/^jun/i,/^jul/i,/^ago/i,/^set/i,/^out/i,/^nov/i,/^dez/i]},j7={narrow:/^(dom|[23456]ª?|s[aá]b)/i,short:/^(dom|[23456]ª?|s[aá]b)/i,abbreviated:/^(dom|seg|ter|qua|qui|sex|s[aá]b)/i,wide:/^(domingo|(segunda|ter[cç]a|quarta|quinta|sexta)([- ]feira)?|s[aá]bado)/i},q7={short:[/^d/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^s[aá]/i],narrow:[/^d/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^s[aá]/i],any:[/^d/i,/^seg/i,/^t/i,/^qua/i,/^qui/i,/^sex/i,/^s[aá]b/i]},W7={narrow:/^(a|p|mn|md|(da) (manhã|tarde|noite))/i,any:/^([ap]\.?\s?m\.?|meia[-\s]noite|meio[-\s]dia|(da) (manhã|tarde|noite))/i},Y7={any:{am:/^a/i,pm:/^p/i,midnight:/^mn|^meia[-\s]noite/i,noon:/^md|^meio[-\s]dia/i,morning:/manhã/i,afternoon:/tarde/i,evening:/tarde/i,night:/noite/i}},U7={ordinalNumber:kl({matchPattern:F7,parsePattern:L7,valueCallback:e=>parseInt(e,10)}),era:Xt({matchPatterns:$7,defaultMatchWidth:"wide",parsePatterns:R7,defaultParseWidth:"any"}),quarter:Xt({matchPatterns:H7,defaultMatchWidth:"wide",parsePatterns:z7,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Xt({matchPatterns:I7,defaultMatchWidth:"wide",parsePatterns:G7,defaultParseWidth:"any"}),day:Xt({matchPatterns:j7,defaultMatchWidth:"wide",parsePatterns:q7,defaultParseWidth:"any"}),dayPeriod:Xt({matchPatterns:W7,defaultMatchWidth:"any",parsePatterns:Y7,defaultParseWidth:"any"})},Ml={code:"pt-BR",formatDistance:v7,formatLong:M7,formatRelative:A7,localize:O7,match:U7,options:{weekStartsOn:0,firstWeekContainsDate:1}};/*! License details at fancyapps.com/license */const mt=e=>typeof e=="string";/*! License details at fancyapps.com/license */const Qa=e=>e&&e!==null&&e instanceof Element&&"nodeType"in e;/*! License details at fancyapps.com/license */const X7=function(e){if(!(e&&e instanceof Element&&e.offsetParent))return!1;const a=e.scrollHeight>e.clientHeight,n=window.getComputedStyle(e).overflowY,r=n.indexOf("hidden")!==-1,o=n.indexOf("visible")!==-1;return a&&!r&&!o},wn=function(e,a=void 0){return!e||e===document.body||a&&e===a?null:X7(e)?e:wn(e.parentElement,a)};/*! License details at fancyapps.com/license */const ha=function(e){var a=new DOMParser().parseFromString(e,"text/html").body;if(a.childElementCount>1){for(var n=document.createElement("div");a.firstChild;)n.appendChild(a.firstChild);return n}let r=a.firstChild;return!r||r instanceof HTMLElement?r:((n=document.createElement("div")).appendChild(r),n)};/*! License details at fancyapps.com/license */const $e=function(e=0,a=0,n=0){return Math.max(Math.min(a,n),e)};/*! License details at fancyapps.com/license */const Et=e=>typeof e=="object"&&e!==null&&e.constructor===Object&&Object.prototype.toString.call(e)==="[object Object]";/*! License details at fancyapps.com/license */function Bl(e){return Et(e)||Array.isArray(e)}function Bo(e,a){const n=Object.keys(e),r=Object.keys(a);return n.length===r.length&&n.every(o=>{const i=e[o],s=a[o];return typeof i=="function"?`${i}`==`${s}`:Bl(i)&&Bl(s)?Bo(i,s):i===s})}/*! License details at fancyapps.com/license */const Al=function(e){for(const a of or)a.getState()===Ct.Running&&a.tick(Ao?e-Ao:0);Ao=e,Ja=window.requestAnimationFrame(Al)};var Ct,pa,Ka;(function(e){e[e.Initializing=0]="Initializing",e[e.Running=1]="Running",e[e.Paused=2]="Paused",e[e.Completed=3]="Completed",e[e.Destroyed=4]="Destroyed"})(Ct||(Ct={})),function(e){e[e.Spring=0]="Spring",e[e.Ease=1]="Ease"}(pa||(pa={})),function(e){e[e.Loop=0]="Loop",e[e.Reverse=1]="Reverse"}(Ka||(Ka={}));const or=new Set;let Ja=null,Ao=0;function ga(){let e=Ct.Initializing,a=pa.Ease,n=0,r=0,o=ga.Easings.Linear,i=500,s=0,l=0,c=0,p=0,u=1/0,m=.01,d=.01,h=!1,f={},g=null,b={},x={},w={},k=0,V=0,_=Ka.Loop,T=ga.Easings.Linear;const N=new Map;function S(U,...E){for(const D of N.get(U)||[])D(...E)}function B(U){return r=0,U?g=setTimeout(()=>{G()},U):G(),Q}function G(){e=Ct.Running,S("start",b,x)}function O(){if(e=Ct.Completed,w={},S("end",b),e===Ct.Completed)if(n<k){if(n++,_===Ka.Reverse){const U=Object.assign({},f);f=Object.assign({},x),x=U}B(V)}else n=0;return Q}const Q={getState:function(){return e},easing:function(U){return o=U,a=pa.Ease,w={},Q},duration:function(U){return i=U,Q},spring:function(U={}){a=pa.Spring;const E={velocity:0,mass:1,tension:170,friction:26,restDelta:.1,restSpeed:.1,maxSpeed:1/0,clamp:!0},{velocity:D,mass:R,tension:Y,friction:oe,restDelta:A,restSpeed:v,maxSpeed:X,clamp:K}=Object.assign(Object.assign({},E),U);return s=D,l=R,c=Y,p=oe,d=A,m=v,u=X,h=K,w={},Q},isRunning:function(){return e===Ct.Running},isSpring:function(){return a===pa.Spring},from:function(U){return b=Object.assign({},U),Q},to:function(U){return x=U,Q},repeat:function(U,E=0,D=Ka.Loop,R){return k=U,V=E,_=D,T=R||o,Q},on:function(U,E){var D,R;return D=U,R=E,N.set(D,[...N.get(D)||[],R]),Q},off:function(U,E){var D,R;return D=U,R=E,N.has(D)&&N.set(D,N.get(D).filter(Y=>Y!==R)),Q},start:function(U){return e=Ct.Initializing,f=Object.assign({},b),Bo(f,x)||(or.add(this),Ja||(Ja=window.requestAnimationFrame(Al)),B(U)),Q},pause:function(){return g&&(clearTimeout(g),g=null),e===Ct.Running&&(e=Ct.Paused,S("pause",b)),Q},end:O,tick:function(U){U>50&&(U=50),r+=U;let E=0,D=!1;if(e!==Ct.Running)return Q;if(a===pa.Ease){E=$e(0,r/i,1),D=E===1;const Y=_===Ka.Reverse?T:o;for(const oe in b)b[oe]=f[oe]+(x[oe]-f[oe])*Y(E)}if(a===pa.Spring){const Y=.001*U;let oe=0;for(const A in b){const v=x[A];let X=b[A];if(typeof v!="number"||isNaN(v)||typeof X!="number"||isNaN(X))continue;if(Math.abs(v-X)<=d){b[A]=v,w[A]=0;continue}w[A]||(typeof s=="object"&&typeof s[A]=="number"?w[A]=s[A]:w[A]=typeof s=="number"?s:0);let K=w[A];K=$e(-1*Math.abs(u),K,Math.abs(u));const q=K*l*p;K+=((X>v?-1:1)*(Math.abs(v-X)*c)-q)/l*Y,X+=K*Y;const M=b[A]>v?X<v:X>v;let J=Math.abs(K)<m&&Math.abs(v-X)<=d;h&&M&&(J=!0),J?(X=v,K=0):oe++,b[A]=X,w[A]=K}D=!oe}const R=Object.assign({},x);return S("step",b,f,x,E),D&&e===Ct.Running&&Bo(x,R)&&(e=Ct.Completed,O()),Q},getStartValues:function(){return f},getCurrentValues:function(){return b},getCurrentVelocities:function(){return w},getEndValues:function(){return x},destroy:function(){e=Ct.Destroyed,g&&(clearTimeout(g),g=null),f=b=x={},or.delete(this)}};return Q}ga.destroy=()=>{for(const e of or)e.destroy();Ja&&(cancelAnimationFrame(Ja),Ja=null)},ga.Easings={Linear:function(e){return e},EaseIn:function(e){return e===0?0:Math.pow(2,10*e-10)},EaseOut:function(e){return e===1?1:1-Math.pow(2,-10*e)},EaseInOut:function(e){return e===0?0:e===1?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2}};/*! License details at fancyapps.com/license */function Vo(e){const a=[],n=typeof TouchEvent<"u"&&e instanceof TouchEvent?e.touches:e instanceof MouseEvent&&e.type!=="mouseup"?[e]:[];for(const r of n)a.push({x:r.clientX,y:r.clientY,ts:Date.now()});return a}function Vl(e){const a=[],n=typeof TouchEvent<"u"&&e instanceof TouchEvent?e.changedTouches:e instanceof MouseEvent?[e]:[];for(const r of n)a.push({x:r.clientX,y:r.clientY,ts:Date.now()});return a}function ya(e){const a=e[0],n=e[1]||a;return{x:(a.x+n.x)/2,y:(a.y+n.y)/2,ts:n.ts}}function ir(e){const a=e[0],n=e[1]||e[0];return a&&n?-1*Math.sqrt((n.x-a.x)*(n.x-a.x)+(n.y-a.y)*(n.y-a.y)):0}const _l=e=>{e.cancelable&&e.preventDefault()},ka={passive:!1},Z7={panThreshold:5,swipeThreshold:3,ignore:["textarea","input","select","[contenteditable]","[data-selectable]","[data-draggable]"]};let _o=!1,vn=!0;const En=(e,a)=>{let n,r,o,i=Object.assign(Object.assign({},Z7),a),s=[],l=[],c=[],p=!1,u=!1,m=!1,d=0,h=0,f=0,g=0,b=0,x=0,w=0,k=0,V=0,_=[],T=0,N=0;const S=new Map;function B(A){const v=ir(l),X=ir(c),K=v&&X?v/X:0,q=Math.abs(w)>Math.abs(k)?w:k,M={srcEvent:n,isPanRecognized:p,isSwipeRecognized:u,firstTouch:s,previousTouch:c,currentTouch:l,deltaX:f,deltaY:g,offsetX:b,offsetY:x,velocityX:w,velocityY:k,velocity:q,angle:V,axis:o,scale:K,center:r};for(const J of S.get(A)||[])J(M)}function G(A){const v=Date.now();_=_.filter(X=>!X.ts||X.ts>v-100),A&&_.push(A)}function O(){if(w=0,k=0,_.length>3){const A=_[0],v=_[_.length-1];if(A&&v){const X=v.x-A.x,K=v.y-A.y,q=A.ts&&v.ts?v.ts-A.ts:0;q>0&&(w=Math.abs(X)>3?X/(q/30):0,k=Math.abs(K)>3?K/(q/30):0)}}}function Q(A){if(A instanceof MouseEvent){if(_o)return}else _o=!0;const v=A.composedPath()[0],X=i.ignore.join(",");if(v.matches(X)||v.closest(X)||typeof MouseEvent<"u"&&A instanceof MouseEvent&&(!A.buttons||A.button!==0))return;A instanceof MouseEvent&&_l(A);const K=Date.now(),q=K-(d||K);m=q>0&&q<=250,d=K,clearTimeout(T),n=A,A instanceof MouseEvent&&(window.addEventListener("mousemove",U),window.addEventListener("mouseup",E)),window.addEventListener("blur",D),l=Vo(A),s=[...l],c=[],h=l.length,r=ya(l),h===1&&(p=!1,u=!1),h&&G(ya(l)),B("start")}function U(A){var v;if(!s.length||A.defaultPrevented)return;n=A,c=[...l],l=Vo(A),h=l.length,r=ya(l);const X=r,K=ya(c);if(f=X.x-K.x,g=X.y-K.y,G(X),O(),B("move"),l.length>1){const q=ir(l),M=ir(c);Math.abs(q-M)>=.1&&B("pinch")}if(!p&&s.length){const q=ya(s);b=X.x-q.x,x=X.y-q.y,p=Math.abs(b)>i.panThreshold||Math.abs(x)>i.panThreshold,p&&(vn=!1,clearTimeout(N),N=0,V=Math.abs(180*Math.atan2(x,b)/Math.PI),o=V>45&&V<135?"y":"x",s=[...l],c=[...l],(v=window.getSelection())===null||v===void 0||v.removeAllRanges(),B("panstart"))}p&&(f||g)&&B("pan")}function E(A){if(n=A,!s.length)return;const v=Vo(A),X=Vl(A);if(h=v.length,r=ya(X),X.length&&G(ya(X)),O(),c=[...l],l=[...v],s=[...v],v.length>0)B("end"),p=!1,u=!1,_=[];else{const K=i.swipeThreshold;(Math.abs(w)>K||Math.abs(k)>K)&&(u=!0),p&&B("panend"),u&&B("swipe"),p||u||(B("tap"),m?B("doubleTap"):T=setTimeout(function(){B("singleTap")},250)),B("end"),R()}}function D(){clearTimeout(T),R(),p&&B("panend"),B("end")}function R(){p=!1,u=!1,m=!1,h=0,_=[],l=[],c=[],s=[],f=0,g=0,b=0,x=0,w=0,k=0,V=0,o=void 0,window.removeEventListener("mousemove",U),window.removeEventListener("mouseup",E),window.removeEventListener("blur",D),vn||N||(N=setTimeout(()=>{vn=!0,N=0},100))}function Y(A){const v=A.target;_o=!1,v&&!A.defaultPrevented&&(vn||(_l(A),A.stopPropagation()))}const oe={init:function(){if(e)return e.addEventListener("click",Y,ka),e.addEventListener("mousedown",Q,ka),e.addEventListener("touchstart",Q,ka),e.addEventListener("touchmove",U,ka),e.addEventListener("touchend",E),e.addEventListener("touchcancel",E),oe},on:function(A,v){return function(X,K){S.set(X,[...S.get(X)||[],K])}(A,v),oe},off:function(A,v){return S.has(A)&&S.set(A,S.get(A).filter(X=>X!==v)),oe},isPointerDown:()=>h>0,destroy:function(){clearTimeout(T),clearTimeout(N),N=0,e&&(e.removeEventListener("click",Y,ka),e.removeEventListener("mousedown",Q,ka),e.removeEventListener("touchstart",Q,ka),e.removeEventListener("touchmove",U,ka),e.removeEventListener("touchend",E),e.removeEventListener("touchcancel",E)),e=null,R()}};return oe};En.isClickAllowed=()=>vn;/*! License details at fancyapps.com/license */const No={IMAGE_ERROR:"This image couldn't be loaded. <br /> Please try again later.",MOVE_UP:"Move up",MOVE_DOWN:"Move down",MOVE_LEFT:"Move left",MOVE_RIGHT:"Move right",ZOOM_IN:"Zoom in",ZOOM_OUT:"Zoom out",TOGGLE_FULL:"Toggle zoom level",TOGGLE_1TO1:"Toggle zoom level",ITERATE_ZOOM:"Toggle zoom level",ROTATE_CCW:"Rotate counterclockwise",ROTATE_CW:"Rotate clockwise",FLIP_X:"Flip horizontally",FLIP_Y:"Flip vertically",RESET:"Reset"};/*! License details at fancyapps.com/license */const ze=(e,a="")=>{e&&e.classList&&a.split(" ").forEach(n=>{n&&e.classList.add(n)})};/*! License details at fancyapps.com/license */const sr=e=>{e.cancelable&&e.preventDefault()},St=(e,a=1e4)=>(e=parseFloat(e+"")||0,Math.round((e+Number.EPSILON)*a)/a);var we,Nl;(function(e){e.Reset="reset",e.Zoom="zoom",e.ZoomIn="zoomIn",e.ZoomOut="zoomOut",e.ZoomTo="zoomTo",e.ToggleCover="toggleCover",e.ToggleFull="toggleFull",e.ToggleMax="toggleMax",e.IterateZoom="iterateZoom",e.Pan="pan",e.Swipe="swipe",e.Move="move",e.MoveLeft="moveLeft",e.MoveRight="moveRight",e.MoveUp="moveUp",e.MoveDown="moveDown",e.RotateCCW="rotateCCW",e.RotateCW="rotateCW",e.FlipX="flipX",e.FlipY="flipY"})(we||(we={})),function(e){e.Cover="cover",e.Full="full",e.Max="max"}(Nl||(Nl={}));const Dt={x:0,y:0,scale:1,angle:0,flipX:1,flipY:1},Do={bounds:!0,classes:{container:"f-panzoom",wrapper:"f-panzoom__wrapper",content:"f-panzoom__content",viewport:"f-panzoom__viewport"},clickAction:we.ToggleFull,dblClickAction:!1,gestures:{},height:"auto",l10n:No,maxScale:4,minScale:1,mouseMoveFactor:1,panMode:"drag",protected:!1,singleClickAction:!1,spinnerTpl:'<div class="f-spinner"></div>',wheelAction:we.Zoom,width:"auto"};let lr,Dl=0,Tl=0,cr=0;const To=(e,a={},n={})=>{let r,o,i,s,l,c,p,u=0,m=Object.assign(Object.assign({},Do),a),d={},h=Object.assign({},Dt),f=Object.assign({},Dt);const g=[];function b(C){let y=m[C];return y&&typeof y=="function"?y(F):y}const x=new Map;function w(C,...y){const P=x.get(C)||[];m.on&&P.push(m.on[C]);for(const I of P)I&&I instanceof Function&&I(F,...y);C!=="*"&&w("*",C,...y)}function k(C){if(u!==3)return;const y=C.target;if(wn(y))return;const P=Date.now(),I=[-C.deltaX||0,-C.deltaY||0,-C.detail||0].reduce(function(ue,ye){return Math.abs(ye)>Math.abs(ue)?ye:ue}),H=$e(-1,I,1);w("wheel",C,H);const te=b("wheelAction");if(!te||C.defaultPrevented)return;const j=f.scale;let ne=j*(H>0?1.5:.5);if(te===we.Zoom){const ue=Math.abs(C.deltaY)<100&&Math.abs(C.deltaX)<100;if(P-Tl<(ue?200:45))return void sr(C);Tl=P;const ye=Q(),be=R();if(St(ne)<St(ye)&&St(j)<=St(ye)?(cr+=Math.abs(H),ne=ye):St(ne)>St(be)&&St(j)>=St(be)?(cr+=Math.abs(H),ne=be):(cr=0,ne=$e(ye,ne,be)),cr>7)return}switch(sr(C),te){case we.Pan:v(te,{srcEvent:C,deltaX:2*-C.deltaX,deltaY:2*-C.deltaY});break;case we.Zoom:v(we.ZoomTo,{srcEvent:C,scale:ne,center:{x:C.clientX,y:C.clientY}});break;default:v(te,{srcEvent:C})}}function V(C){var y,P;const I=C.composedPath()[0];if(!En.isClickAllowed()||!Qa(I)||C.defaultPrevented||!(e!=null&&e.contains(I))||I.hasAttribute("disabled")||I.hasAttribute("aria-disabled"))return;const H=I.closest("[data-panzoom-action]"),te=(y=H==null?void 0:H.dataset)===null||y===void 0?void 0:y.panzoomAction,j=((P=H==null?void 0:H.dataset)===null||P===void 0?void 0:P.panzoomValue)||"";if(te){switch(te){case we.ZoomTo:case we.ZoomIn:case we.ZoomOut:v(te,{scale:parseFloat(j||"")||void 0});break;case we.MoveLeft:case we.MoveRight:v(te,{deltaX:parseFloat(j||"")||void 0});break;case we.MoveUp:case we.MoveDown:v(te,{deltaY:parseFloat(j||"")||void 0});break;default:v(te)}return}if(!(r!=null&&r.contains(I)))return;const ne={srcEvent:C};if(v(b("clickAction"),ne),b("dblClickAction")){const ue=Date.now(),ye=ue-(Dl||ue);Dl=ue,ye>0&&ye<=250?(lr&&(clearTimeout(lr),lr=void 0),v(b("dblClickAction"),ne)):lr=setTimeout(()=>{v(b("singleClickAction"),ne)},250)}}function _(C){if(p=C,!B()||u!==3||h.scale<=1||f.scale<=1||((r==null?void 0:r.dataset.animationName)||"").indexOf("zoom")>-1)return;const y=G(f.scale);if(!y)return;const{x:P,y:I}=y;v(we.Pan,{deltaX:P-f.x,deltaY:I-f.y})}function T(){var C;if(e&&((C=e.querySelector(".f-spinner"))===null||C===void 0||C.remove(),e.classList.remove("is-loading")),!e||!r)return;if(o instanceof HTMLImageElement&&(!o.complete||!o.naturalWidth))return u=2,r==null||r.classList.add("has-error"),void w("error");w("loaded");const{width:y,height:P}=S();o&&(o.setAttribute("width",y+""),o.setAttribute("height",P+"")),r&&(r.classList.remove("has-error"),r.setAttribute("width",y+""),r.setAttribute("height",P+""),r.style.aspectRatio=`${y/P||""}`),l=ga().on("start",(H,te)=>{f=Object.assign(Object.assign({},Dt),te),te.angle!==void 0&&(te.angle=90*Math.round(te.angle/90)),te.flipX!==void 0&&(te.flipX=te.flipX>0?1:-1),te.flipY!==void 0&&(te.flipY=te.flipY>0?1:-1),A(),w("animationStart")}).on("pause",H=>{f=Object.assign(Object.assign({},Dt),H)}).on("step",H=>{if(u!==3||!l)return;if(!e||!e.parentElement)return void l.end();if(h=Object.assign(Object.assign({},Dt),H),B()||!b("bounds")||(s==null?void 0:s.isPointerDown())||f.scale>h.scale||f.scale<U())return void X();const te=Y(f.scale);let j=!1,ne=!1,ue=!1,ye=!1;h.x<te.x[0]&&(j=!0),h.x>te.x[1]&&(ne=!0),h.y<te.y[0]&&(ye=!0),h.y>te.y[1]&&(ue=!0);let be=!1,me=!1,Me=!1,_e=!1;f.x<te.x[0]&&(be=!0),f.x>te.x[1]&&(me=!0),f.y<te.y[0]&&(_e=!0),f.y>te.y[1]&&(Me=!0);let Ne=!1;(ne&&me||j&&be)&&(f.x=$e(te.x[0],f.x,te.x[1]),Ne=!0),(ue&&Me||ye&&_e)&&(f.y=$e(te.y[0],f.y,te.y[1]),Ne=!0),Ne&&l.spring({tension:94,friction:17,maxSpeed:555*f.scale,restDelta:.1,restSpeed:.1,velocity:l.getCurrentVelocities()}).from(h).to(f).start(),X()}).on("end",()=>{oe(),l!=null&&l.isRunning()||(A(),w("animationEnd"))}),function(){const H=b("gestures");H&&i&&o&&(s=En(i,H).on("start",te=>{if(!l)return;const j=te.srcEvent;B()||((h.scale>1||te.currentTouch.length>1)&&(j==null||j.stopPropagation(),l.pause()),te.currentTouch.length===1&&w("touchStart"))}).on("move",te=>{B()||(f.scale!==1||te.currentTouch.length>1)&&(te.srcEvent.preventDefault(),te.srcEvent.stopPropagation())}).on("pan",te=>{if(B())return;const j=te.srcEvent;(f.scale!==1||te.currentTouch.length>1)&&(sr(j),v(we.Pan,te))}).on("swipe",te=>{B()||f.scale>1&&v(we.Swipe,te)}).on("tap",te=>{w("click",te)}).on("singleTap",te=>{w("singleClick",te)}).on("doubleTap",te=>{w("dblClick",te)}).on("pinch",te=>{B()||(te.scale>U()?v(we.ZoomIn,te):te.scale<U()?v(we.ZoomOut,te):v(we.Pan,te))}).on("end",te=>{B()||(te.currentTouch.length?(te.srcEvent.stopPropagation(),sr(te.srcEvent),l==null||l.end()):(A(),oe(),w("touchEnd")))}).init())}(),i&&(i.addEventListener("wheel",k,{passive:!1}),g.push(()=>{i==null||i.removeEventListener("wheel",k,{passive:!1})})),e==null||e.addEventListener("click",V),document==null||document.addEventListener("mousemove",_),g.push(()=>{e==null||e.removeEventListener("click",V),document==null||document.removeEventListener("mousemove",_)});const I=Object.assign(Object.assign({},b("startPos")||{}),{scale:U()});if(h=Object.assign(Object.assign({},Dt),I),f=Object.assign(Object.assign({},Dt),I),B()){const H=G(f.scale);if(H){const{x:te,y:j}=H;h.x=te,h.y=j,f.x=te,f.y=j}}u=3,X(),A(),w("ready"),requestAnimationFrame(()=>{i&&(i.style.visibility="")})}function N(){const C={top:0,left:0,width:0,height:0};if(r){const y=r.getBoundingClientRect();f.angle%180==90?(C.top=y.top+.5*y.height-.5*y.width,C.left=y.left+.5*y.width-.5*y.height,C.width=y.height,C.height=y.width):(C.top=y.top,C.left=y.left,C.width=y.width,C.height=y.height)}return C}function S(){let C=b("width"),y=b("height");if(o&&C==="auto"){const P=o.getAttribute("width");C=P?parseFloat(P+""):o.dataset.width!==void 0?parseFloat(o.dataset.width+""):i instanceof HTMLImageElement?i.naturalWidth:o instanceof HTMLImageElement?o.naturalWidth:o.getBoundingClientRect().width}else C=mt(C)?parseFloat(C):C;if(o&&y==="auto"){const P=o.getAttribute("height");y=P?parseFloat(P+""):o.dataset.height!==void 0?parseFloat(o.dataset.height+""):i instanceof HTMLImageElement?i.naturalHeight:o instanceof HTMLImageElement?o.naturalHeight:o.getBoundingClientRect().height}else y=mt(y)?parseFloat(y):y;return{width:C,height:y}}function B(){return b("panMode")==="mousemove"&&matchMedia("(hover: hover)").matches}function G(C){const y=p||b("event"),P=r==null?void 0:r.getBoundingClientRect();if(!y||!P||C<=1)return{x:0,y:0};const I=(y.clientX||0)-P.left,H=(y.clientY||0)-P.top,te=P.width,j=P.height,ne=Y(C);if(C>1){const Me=b("mouseMoveFactor");Me>1&&(C*=Me)}let ue=te*C,ye=j*C,be=.5*(ue-te)-I/te*100/100*(ue-te),me=.5*(ye-j)-H/j*100/100*(ye-j);return be=$e(ne.x[0],be,ne.x[1]),me=$e(ne.y[0],me,ne.y[1]),{x:be,y:me}}function O(C="base"){if(!e)return 1;const y=e.getBoundingClientRect(),P=N(),{width:I,height:H}=S(),te=be=>{if(typeof be=="number")return be;switch(be){case"min":case"base":return 1;case"cover":return Math.max(y.height/P.height,y.width/P.width)||1;case"full":case"max":{const me=f.angle%180==90?H:I;return me&&P.width?me/P.width:1}}},j=b("minScale"),ne=b("maxScale"),ue=Math.min(te("full"),te(j)),ye=typeof ne=="number"?te("full")*ne:Math.min(te("full"),te(ne));switch(C){case"min":return ue;case"base":return $e(ue,1,ye);case"cover":return te("cover");case"full":return Math.min(ye,te("full"));case"max":return ye}}function Q(){return O("min")}function U(){return O("base")}function E(){return O("cover")}function D(){return O("full")}function R(){return O("max")}function Y(C){const y={x:[0,0],y:[0,0]},P=e==null?void 0:e.getBoundingClientRect();if(!P)return y;const I=N(),H=P.width,te=P.height;let j=I.width,ne=I.height,ue=C=C===void 0?f.scale:C,ye=C;if(B()&&C>1){const be=b("mouseMoveFactor");be>1&&(j*C>H+.01&&(ue*=be),ne*C>te+.01&&(ye*=be))}return j*=ue,ne*=ye,C>1&&(j>H&&(y.x[0]=.5*(H-j),y.x[1]=.5*(j-H)),y.x[0]-=.5*(I.left-P.left),y.x[1]-=.5*(I.left-P.left),y.x[0]-=.5*(I.left+I.width-P.right),y.x[1]-=.5*(I.left+I.width-P.right),ne>te&&(y.y[0]=.5*(te-ne),y.y[1]=.5*(ne-te)),y.y[0]-=.5*(I.top-P.top),y.y[1]-=.5*(I.top-P.top),y.y[0]-=.5*(I.top+I.height-P.bottom),y.y[1]-=.5*(I.top+I.height-P.bottom)),y}function oe(){if(!b("bounds")||u!==3||!(e!=null&&e.parentElement)||!l)return;const C=Q(),y=R(),P=$e(C,f.scale,y);if(f.scale<C-.01||f.scale>y+.01)return void v(we.ZoomTo,{scale:P});if(l.isRunning()||s!=null&&s.isPointerDown())return;const I=Y(P);f.x<I.x[0]||f.x>I.x[1]||f.y<I.y[0]||f.y>I.y[1]?(f.x=$e(I.x[0],f.x,I.x[1]),f.y=$e(I.y[0],f.y,I.y[1]),l.spring({tension:170,friction:17,restDelta:.001,restSpeed:.001,maxSpeed:1/0,velocity:l.getCurrentVelocities()}),l.from(h).to(f).start()):X()}function A(){if(!e||!e.parentElement||!r)return;const C=z(),y=he(),P=ee(),I=fe(),H=q(),te=M();r.classList.toggle("is-fullsize",I),r.classList.toggle("is-expanded",P),r.classList.toggle("is-dragging",y),r.classList.toggle("can-drag",C),r.classList.toggle("will-zoom-in",H),r.classList.toggle("will-zoom-out",te);const j=J(),ne=ce(),ue=u!==3;for(const ye of(e==null?void 0:e.querySelectorAll("[data-panzoom-action]"))||[]){const be=ye.dataset.panzoomAction;let me=!1;if(ue)me=!0;else switch(be){case we.ZoomIn:j||(me=!0);break;case we.ZoomOut:ne||(me=!0);break;case we.ToggleFull:j||ne||(me=!0);const Me=ye.querySelector("g");Me&&(Me.style.display=I?"none":"");break;case we.ToggleCover:case we.ToggleMax:j||ne||(me=!0)}me?(ye.setAttribute("aria-disabled",""),ye.setAttribute("tabindex","-1")):(ye.removeAttribute("aria-disabled"),ye.removeAttribute("tabindex"))}}function v(C,y){var P;if(!e||!o||!l||C===we.Swipe&&Math.abs(l.getCurrentVelocities().scale)>.01)return;let I=Object.assign({},f),H=Y(B()?f.scale:h.scale);const te=l.getCurrentVelocities(),j=N(),ne=(((P=(y=y||{}).currentTouch)===null||P===void 0?void 0:P.length)||0)>1,ue=y.velocityX||0,ye=y.velocityY||0;let be=y.center;!be&&y.srcEvent&&(be=ya(Vl(y.srcEvent)));let me=y.deltaX||0,Me=y.deltaY||0;switch(C){case we.MoveRight:me=y.deltaX||100;break;case we.MoveLeft:me=y.deltaX||-100;break;case we.MoveUp:Me=y.deltaY||-100;break;case we.MoveDown:Me=y.deltaY||100}let _e=[];switch(C){case we.Reset:f=Object.assign({},Dt),f.scale=U();break;case we.Pan:case we.Move:case we.MoveLeft:case we.MoveRight:case we.MoveUp:case we.MoveDown:if(s!=null&&s.isPointerDown()){let Le=1,Be=1;f.x<=H.x[0]&&ue<=0&&(Le=Math.max(.01,1-Math.abs(1/j.width*Math.abs(f.x-H.x[0]))),Le*=.2),f.x>=H.x[1]&&ue>=0&&(Le=Math.max(.01,1-Math.abs(1/j.width*Math.abs(f.x-H.x[1]))),Le*=.2),f.y<=H.y[0]&&ye<=0&&(Be=Math.max(.01,1-Math.abs(1/j.height*Math.abs(f.y-H.y[0]))),Be*=.2),f.y>=H.y[1]&&ye>=0&&(Be=Math.max(.01,1-Math.abs(1/j.height*Math.abs(f.y-H.y[1]))),Be*=.2),f.x+=me*Le,f.y+=Me*Be}else f.x=$e(H.x[0],f.x+me,H.x[1]),f.y=$e(H.y[0],f.y+Me,H.y[1]);break;case we.Swipe:const Ne=(Le=0)=>Math.sign(Le)*Math.pow(Math.abs(Le),1.5);f.x+=$e(-1e3,Ne(ue),1e3),f.y+=$e(-1e3,Ne(ye),1e3),ye&&!ue&&(f.x=$e(H.x[0],f.x,H.x[1])),!ye&&ue&&(f.y=$e(H.y[0],f.y,H.y[1])),te.x=ue,te.y=ye;break;case we.ZoomTo:f.scale=y.scale||1;break;case we.ZoomIn:f.scale=f.scale*(y.scale||2),ne||(f.scale=Math.min(f.scale,R()));break;case we.ZoomOut:f.scale=f.scale*(y.scale||.5),ne||(f.scale=Math.max(f.scale,Q()));break;case we.ToggleCover:_e=[U(),E()];break;case we.ToggleFull:_e=[U(),D()];break;case we.ToggleMax:_e=[U(),R()];break;case we.IterateZoom:_e=[U(),D(),R()];break;case we.Zoom:const Se=D();f.scale>=Se-.05?f.scale=U():f.scale=Math.min(Se,f.scale*(y.scale||2));break;case we.RotateCW:f.angle+=90;break;case we.RotateCCW:f.angle-=90;break;case we.FlipX:f.flipX*=-1;break;case we.FlipY:f.flipY*=-1}if(h.angle!==void 0&&Math.abs(h.angle)>=360&&(f.angle-=360*Math.floor(h.angle/360),h.angle-=360*Math.floor(h.angle/360)),_e.length){const Ne=_e.findIndex(Se=>Se>f.scale+1e-4);f.scale=_e[Ne]||_e[0]}if(ne&&(f.scale=$e(Q()*(ne?.8:1),f.scale,R()*(ne?1.6:1))),B()){const Ne=G(f.scale);if(Ne){const{x:Se,y:Le}=Ne;f.x=Se,f.y=Le}}else if(f.scale!==I.scale){let Ne=0,Se=0;if(be)Ne=be.x,Se=be.y;else{const ie=e.getBoundingClientRect();Ne=ie.x+.5*ie.width,Se=ie.y+.5*ie.height}let Le=Ne-j.left,Be=Se-j.top;Le-=.5*j.width,Be-=.5*j.height;const Z=(Le-I.x)/I.scale,re=(Be-I.y)/I.scale;f.x=Le-Z*f.scale,f.y=Be-re*f.scale,!ne&&b("bounds")&&(H=Y(f.scale),f.x=$e(H.x[0],f.x,H.x[1]),f.y=$e(H.y[0],f.y,H.y[1]))}if(C===we.Swipe){let Ne=94,Se=17,Le=500*f.scale,Be=te;l.spring({tension:Ne,friction:Se,maxSpeed:Le,restDelta:.1,restSpeed:.1,velocity:Be})}else C===we.Pan||ne?l.spring({tension:750,friction:17,restDelta:.01,restSpeed:.01,maxSpeed:1}):l.spring({tension:170,friction:17,restDelta:.001,restSpeed:.001,maxSpeed:1/0,velocity:te});C===we.Reset&&y.velocity===0?h=Object.assign({},f):l.from(h).to(f).start(),w("action",C)}function X(){if(!r||!o)return;if(o instanceof HTMLImageElement){const{width:ne,height:ue}=S();r.style.maxWidth=`min(${ne}px, 100%)`,r.style.maxHeight=`min(${ue}px, 100%)`}let{x:C,y,scale:P,angle:I,flipX:H,flipY:te}=h;const j=function(){const ne=N(),ue=ne.width,ye=ne.height,{width:be,height:me}=S();if(!e)return{x:0,y:0,width:0,height:0,scale:0,flipX:0,flipY:0,angle:0,fitWidth:ue,fitHeight:ye,fullWidth:be,fullHeight:me};let{x:Me,y:_e,scale:Ne,angle:Se,flipX:Le,flipY:Be}=h,Z=1/D(),re=be,ie=me,de=h.scale*Z,Ee=f.scale*Z;const pe=Math.max(ue,ye),ke=Math.min(ue,ye);be>me?(re=pe,ie=ke):(re=ke,ie=pe),de=be>me?pe*Ne/be||1:pe*Ne/me||1;let W=re?be*Ee:0,$=ie?me*Ee:0;return Me=Me+.5*re-.5*W,_e=_e+.5*ie-.5*$,{x:Me,y:_e,width:W,height:$,scale:re&&ie?be*de/W:0,flipX:Le,flipY:Be,angle:Se,fitWidth:ue,fitHeight:ye,fullWidth:be,fullHeight:me}}();if(r&&j){const{x:ne,y:ue,width:ye,height:be,scale:me,flipX:Me,flipY:_e}=j;let Ne=`translate(${St(ne)}px, ${St(ue)}px)`;Ne+=Me!==1||_e!==1?` scaleX(${St(me*Me)}) scaleY(${St(me*_e)})`:` scale(${St(me)})`,I!==0&&(Ne+=` rotate(${I}deg)`),i&&(i.style.width=`${St(ye)}px`,i.style.height=`${St(be)}px`,i.style.transform=`${Ne}`)}w("render")}function K(){let C=f.scale;const y=b("clickAction");let P=U();if(y){let I=[];switch(y){case we.ZoomIn:P=2*C;break;case we.ZoomOut:P=.5*C;break;case we.ToggleCover:I=[U(),E()];break;case we.ToggleFull:I=[U(),D()];break;case we.ToggleMax:I=[U(),R()];break;case we.IterateZoom:I=[U(),D(),R()];break;case we.Zoom:const H=D();P=C>=H-.05?U():Math.min(H,2*C)}if(I.length){const H=I.findIndex(te=>te>C+1e-4);P=I[H]||U()}}return P=$e(Q(),P,R()),P}function q(){return u===3&&K()>f.scale}function M(){return u===3&&K()<f.scale}function J(){return u===3&&f.scale<R()}function ce(){return u===3&&f.scale>Q()}function z(){return u===3&&ee()&&!!s&&!B()}function he(){return u===3&&(s==null?void 0:s.isPointerDown())&&!B()}function ee(){return u===3&&f.scale>U()}function fe(){return u===3&&f.scale>=D()}const F={canDrag:z,canZoomIn:J,canZoomOut:ce,destroy:function(){w("destroy");for(const C of Object.values(d))C==null||C.destroy(F);for(const C of g)C();return r&&(r.style.aspectRatio="",r.style.maxWidth="",r.style.maxHeight=""),i&&(i.style.width="",i.style.height="",i.style.transform=""),r=void 0,o=void 0,i=void 0,h=Object.assign({},Dt),f=Object.assign({},Dt),l==null||l.destroy(),l=void 0,s==null||s.destroy(),s=void 0,u=4,F},emit:w,execute:v,getBoundaries:Y,getContainer:function(){return e},getFullDim:S,getGestures:function(){return s},getMousemovePos:G,getOptions:function(){return m},getScale:O,getState:function(){return u},getTransform:function(C){return C===!0?f:h},getTween:function(){return l},getViewport:function(){return i},getWrapper:function(){return r},init:function(){return u=0,w("init"),function(){for(const[C,y]of Object.entries(Object.assign(Object.assign({},n),m.plugins||{})))if(C&&!d[C]&&y instanceof Function){const P=y();P.init(F),d[C]=P}w("initPlugins")}(),function(){if(!e)return;const C=Object.assign(Object.assign({},Do.classes),b("classes"));if(ze(e,C.container),o=e.querySelector("."+C.content),!!o&&(o.setAttribute("draggable","false"),r=e.querySelector("."+C.wrapper),r||(r=document.createElement("div"),ze(r,C.wrapper),o.insertAdjacentElement("beforebegin",r),r.insertAdjacentElement("afterbegin",o)),o instanceof HTMLImageElement||o instanceof HTMLPictureElement)){if(i=e.querySelector("."+C.viewport),!i){i=document.createElement("div"),ze(i,C.viewport);const y=o.cloneNode(!0);y.classList.remove("is-lazyloading"),y.classList.remove("is-lazyloaded"),i.insertAdjacentElement("afterbegin",y),r.insertAdjacentElement("beforeend",i)}if(o instanceof HTMLPictureElement&&(o=o.querySelector("img")),i instanceof HTMLPictureElement&&(i=i.querySelector("img")),i.style.visibility="hidden",b("protected")){i.addEventListener("contextmenu",P=>{P.preventDefault()});const y=document.createElement("div");ze(y,"f-panzoom__protected"),i.appendChild(y)}w("initLayout")}}(),function(){if(!(o&&o instanceof HTMLImageElement))return;u=1,w("loading");const C=()=>{o&&o instanceof HTMLImageElement&&o.decode().then(()=>{requestAnimationFrame(()=>{T()})}).catch(()=>{T()})};if(o.src&&o.complete)return void C();(function(){const y=e==null?void 0:e.querySelector(".f-spinner");if(!e||y)return;const P=b("spinnerTpl"),I=ha(P);I&&(I.classList.add("f-spinner"),e.classList.add("is-loading"),r==null||r.insertAdjacentElement("afterbegin",I))})(),o.addEventListener("load",C,!1),o.addEventListener("error",C,!1),g.push(()=>{o==null||o.removeEventListener("load",C,!1),o==null||o.removeEventListener("error",C,!1)})}(),function(){if(e&&r&&!c){let C=null;c=new ResizeObserver(()=>{C||(C=requestAnimationFrame(()=>{e&&e.parentElement&&u===3&&(A(),oe(),w("refresh")),C=null}))}),c.observe(r),g.push(()=>{c==null||c.disconnect(),c=void 0,C&&(cancelAnimationFrame(C),C=null)})}}(),F},isDragging:he,isExpanded:ee,isFullsize:fe,localize:function(C,y=[]){const P=b("l10n")||{};C=String(C).replace(/\{\{(\w+)\}\}/g,(I,H)=>P[H]||I);for(let I=0;I<y.length;I++)C=C.split(y[I][0]).join(y[I][1]);return C=C.replace(/\{\{(.*?)\}\}/g,(I,H)=>H)},off:function(C,y){for(const P of C instanceof Array?C:[C])x.has(P)&&x.set(P,x.get(P).filter(I=>I!==y));return F},on:function(C,y){for(const P of C instanceof Array?C:[C])x.set(P,[...x.get(P)||[],y]);return F},version:"6.0.16",willZoomIn:q,willZoomOut:M};return F};To.l10n={en_EN:No},To.getDefaults=()=>Do;/*! License details at fancyapps.com/license */const Po=(e,a)=>{let n=[];return e.childNodes.forEach(r=>{r.nodeType!==Node.ELEMENT_NODE||a&&!r.matches(a)||n.push(r)}),n};/*! License details at fancyapps.com/license */const Tt=(e,...a)=>{const n=a.length;for(let r=0;r<n;r++){const o=a[r]||{};Object.entries(o).forEach(([i,s])=>{const l=Array.isArray(s)?[]:{};e[i]||Object.assign(e,{[i]:l}),Et(s)?Object.assign(e[i],Tt(l,s)):Array.isArray(s)?Object.assign(e,{[i]:[...s]}):Object.assign(e,{[i]:s})})}return e};/*! License details at fancyapps.com/license */const Oo=function(e=0,a=0,n=0,r=0,o=0,i=!1){const s=(e-a)/(n-a)*(o-r)+r;return i?r<o?$e(r,s,o):$e(o,s,r):s};/*! License details at fancyapps.com/license */const ea=(e,a="")=>{e&&e.classList&&a.split(" ").forEach(n=>{n&&e.classList.remove(n)})};/*! License details at fancyapps.com/license */const ba=(e,a="",n)=>{e&&e.classList&&a.split(" ").forEach(r=>{r&&e.classList.toggle(r,n||!1)})};/*! License details at fancyapps.com/license */const Fo=Object.assign(Object.assign({},No),{ERROR:"Something went wrong. <br /> Please try again later.",NEXT:"Next page",PREV:"Previous page",GOTO:"Go to page #%d",DOWNLOAD:"Download",TOGGLE_FULLSCREEN:"Toggle full-screen mode",TOGGLE_EXPAND:"Toggle full-size mode",TOGGLE_THUMBS:"Toggle thumbnails",TOGGLE_AUTOPLAY:"Toggle slideshow"});/*! License details at fancyapps.com/license */const en=e=>{e.cancelable&&e.preventDefault()},tn={adaptiveHeight:!1,center:!0,classes:{container:"f-carousel",isEnabled:"is-enabled",isLTR:"is-ltr",isRTL:"is-rtl",isHorizontal:"is-horizontal",isVertical:"is-vertical",hasAdaptiveHeight:"has-adaptive-height",viewport:"f-carousel__viewport",slide:"f-carousel__slide",isSelected:"is-selected"},dragFree:!1,enabled:!0,errorTpl:'<div class="f-html">{{ERROR}}</div>',fill:!1,infinite:!0,initialPage:0,l10n:Fo,rtl:!1,slides:[],slidesPerPage:"auto",spinnerTpl:'<div class="f-spinner"></div>',transition:"fade",tween:{clamp:!0,mass:1,tension:200,friction:25,restDelta:1,restSpeed:1,velocity:0},vertical:!1};let Pl,Ol=0;const dr=(e,a={},n={})=>{Ol++;let r,o,i,s,l,c=0,p=Object.assign({},tn),u=Object.assign({},tn),m={},d=null,h=null,f=!1,g=!1,b=!1,x=!1,w="height",k=0,V=!0,_=0,T=0,N=0,S=0,B="*",G=[],O=[];const Q=new Set;let U=[],E=[],D=0,R=0;function Y(Z,...re){let ie=u[Z];return ie&&ie instanceof Function?ie(Be,...re):ie}function oe(Z,re=[]){const ie=Y("l10n")||{};Z=String(Z).replace(/\{\{(\w+)\}\}/g,(de,Ee)=>ie[Ee]||de);for(let de=0;de<re.length;de++)Z=Z.split(re[de][0]).join(re[de][1]);return Z=Z.replace(/\{\{(.*?)\}\}/g,(de,Ee)=>Ee)}const A=new Map;function v(Z,...re){const ie=A.get(Z)||[];u.on&&ie.push(u.on[Z]);for(const de of ie)de&&de instanceof Function&&de(Be,...re);Z!=="*"&&v("*",Z,...re)}function X(){var Z,re;const ie=Tt({},tn,p);Tt(ie,tn,p);let de="";const Ee=p.breakpoints||{};if(Ee)for(const[pe,ke]of Object.entries(Ee))window.matchMedia(pe).matches&&(de+=pe,Tt(ie,ke));if(l===void 0||de!==l){if(l=de,c!==0){let pe=(re=(Z=E[_])===null||Z===void 0?void 0:Z.slides[0])===null||re===void 0?void 0:re.index;pe===void 0&&(pe=u.initialSlide),ie.initialSlide=pe,ie.slides=[];for(const ke of G)ke.isVirtual&&ie.slides.push(ke)}Le(),u=ie,u.enabled!==!1&&(c=0,v("init"),function(){for(const[pe,ke]of Object.entries(Object.assign(Object.assign({},n),u.plugins||{})))if(pe&&!m[pe]&&ke instanceof Function){const W=ke();W.init(Be,dr),m[pe]=W}v("initPlugins")}(),function(){if(!d)return;const pe=Y("classes")||{};ze(d,pe.container),ze(d,pe.isEnabled);const ke=Y("style");if(ke&&Et(ke))for(const[W,$]of Object.entries(ke))d.style.setProperty(W,$);h=d.querySelector(`.${pe.viewport}`),h||(h=document.createElement("div"),ze(h,pe.viewport),h.append(...Po(d,`.${pe.slide}`)),d.insertAdjacentElement("afterbegin",h)),f=window.getComputedStyle(h).getPropertyValue("overflow")==="visible",d.carousel=Be,v("initLayout")}(),function(){if(!h)return;const pe=Y("classes")||{};G=[],[...Po(h,`.${pe.slide}`)].forEach(ke=>{ke.parentElement&&(G.push(y(Object.assign({el:ke,isVirtual:!1},ke.dataset||{}))),ke.parentElement.removeChild(ke))}),C(Y("slides"));for(const ke of G)v("addSlide",ke);v("initSlides")}(),o=ga().on("start",()=>{V=!1,r&&r.isPointerDown()||(M(),Se())}).on("step",pe=>{k=pe.pos,Se()}).on("end",pe=>{r!=null&&r.isPointerDown()||(k=pe.pos,o&&!g&&(k<N||k>S)?o.spring({clamp:!0,mass:1,tension:200,friction:25,velocity:0,restDelta:1,restSpeed:1}).from({pos:k}).to({pos:$e(N,k,S)}).start():V||(V=!0,v("settle")))}),function(){const pe=Y("gestures");h&&pe!==!1&&(r=En(h,pe).on("start",ke=>{var W,$;if(!o)return;const{srcEvent:L}=ke;function ae(xe){const Ae=window.getComputedStyle(xe),De=new DOMMatrixReadOnly(Ae.transform);return{width:De.m41||0,height:De.m42||0}}x&&en(L),o.pause(),o.getCurrentVelocities().pos=0;const le=(W=E[_])===null||W===void 0?void 0:W.slides[0];le&&Q.has(le.index)&&le.el&&(k=le.offset||0,k+=(ae(le.el)[w]||0)*(b&&!x?1:-1)),ue(),g||(k<N||k>S)&&o.spring({clamp:!0,mass:1,tension:500,friction:25,velocity:(($=o.getCurrentVelocities())===null||$===void 0?void 0:$.pos)||0,restDelta:1,restSpeed:1}).from({pos:k}).to({pos:$e(N,k,S)}).start()}).on("move",ke=>{const{srcEvent:W,axis:$}=ke,L=ke.srcEvent.target;L&&wn(L)||($||(W.stopPropagation(),W.stopImmediatePropagation()),($==="y"&&x||$==="x"&&!x)&&(en(W),W.stopPropagation()))}).on("panstart",ke=>{(ke==null?void 0:ke.axis)===(x?"y":"x")&&ze(h,"is-dragging")}).on("panend",()=>{ea(h,"is-dragging")}).on("pan",ke=>{var W;const{deltaX:$,deltaY:L,currentTouch:ae,axis:le}=ke;if(!o||ae.length>1||le==="y"&&!x||le==="x"&&x)return;const xe=b&&!x?1:-1;let Ae=x?L:$,De=o!=null&&o.isRunning()?o.getEndValues().pos:k,Pe=1;g||(De<=N&&Ae*xe<0?(Pe=Math.max(.01,1-Math.abs(1/ee()*Math.abs(De-N))),Pe*=.2):De>=S&&Ae*xe>0&&(Pe=Math.max(.01,1-Math.abs(1/ee()*Math.abs(De-S))),Pe*=.2)),De+=Ae*Pe*xe,o.spring({clamp:!0,mass:1,tension:700,friction:25,velocity:((W=o.getCurrentVelocities())===null||W===void 0?void 0:W.pos)||0,restDelta:1,restSpeed:1}).from({pos:k}).to({pos:De}).start()}).on("end",ke=>{var W,$;const{axis:L,velocityX:ae,velocityY:le,currentTouch:xe}=ke,Ae=E.length,De=Y("dragFree");if(xe.length>0||!o||!Ae)return;const Pe=Y("vertical")?le:ae;let qe=o!=null&&o.isRunning()?o.getEndValues().pos:k;const nt=b&&!x?1:-1;if(qe+=Pe*(De?5:1)*nt,!g&&(Pe*nt<=0&&qe<N||Pe*nt>=0&&qe>S)){let lt=0;return Math.abs(Pe)>0&&(lt=2*Math.abs(Pe),lt=Math.min(.3*ee(),lt)),qe=$e(N+-1*lt,qe,S+lt),void o.spring({clamp:!0,mass:1,tension:380,friction:25,velocity:-1*Pe,restDelta:1,restSpeed:1}).from({pos:k}).to({pos:qe}).start()}if(De||!((W=m.Autoscroll)===null||W===void 0)&&W.isEnabled())return void(Math.abs(Pe)>10?o.spring({clamp:!0,mass:1,tension:150,friction:25,velocity:-1*Pe,restDelta:1,restSpeed:1}).from({pos:k}).to({pos:qe}).start():o.isRunning()||V||(V=!0,v("settle")));if(!De&&!(!(($=m.Autoscroll)===null||$===void 0)&&$.isEnabled())&&(!ke.offsetX&&!ke.offsetY||L==="y"&&!x||L==="x"&&x))return void Ne(_,{transition:"tween"});let bt=z(qe);Math.abs(Pe)>10&&bt===_&&(bt+=Pe>0?b&&!x?1:-1:b&&!x?-1:1),Ne(bt,{transition:"tween",tween:{tension:160,friction:25,velocity:-1*Pe}})}).init())}(),j(),function(){if(d&&(d.addEventListener("click",be,{passive:!1}),document.addEventListener("mousemove",K),!i)){let pe=null;i=new ResizeObserver(ke=>{pe||(pe=requestAnimationFrame(()=>{(function(W){if(!d)return;let $=W[0].contentBoxSize[0].blockSize,L=W[0].contentBoxSize[0].inlineSize;if(c===0)return D=$,R=L,c=1,Se(),J(),void v("ready");if(c!==1)return;const ae=E.length;j();const le=d.getBoundingClientRect();$=le.height,L=le.width,ae>1&&(x&&Math.abs($-D)<.5||!x&&Math.abs(L-R)<.5)||(D=$,R=L,x&&!$||!x&&!L||d&&h&&(ae===E.length&&(r!=null&&r.isPointerDown())||(Y("dragFree")&&(g||k>N&&k<S)?(M(),Se()):Ne(_,{transition:!1}))))})(ke),pe=null}))}),i.observe(d)}}())}}function K(Z){Pl=Z}function q(Z="*"){var re;const ie=[];for(const de of G)(Z==="*"||de.class&&de.class.includes(Z)||de.el&&(!((re=de.el)===null||re===void 0)&&re.classList.contains(Z)))&&ie.push(de);s=void 0,B=Z,O=[...ie]}function M(){if(!o)return;const Z=z(o!=null&&o.isRunning()?o.getEndValues().pos:k);Z!==_&&(s=_,_=Z,_e(),J(),ce(),v("change",_,s))}function J(){var Z;if(!d)return;ba(h,"is-draggable",!!r&&E.length>0);for(const de of d.querySelectorAll("[data-carousel-index]"))de.innerHTML=_+"";for(const de of d.querySelectorAll("[data-carousel-page]"))de.innerHTML=_+1+"";for(const de of d.querySelectorAll("[data-carousel-pages]"))de.innerHTML=E.length+"";let re=!1;const ie=(Z=E[_])===null||Z===void 0?void 0:Z.slides[0];ie&&(ie.downloadSrc||ie.type==="image"&&ie.src)&&(re=!0);for(const de of d.querySelectorAll("[data-carousel-download]"))de.toggleAttribute("aria-disabled",!re)}function ce(Z){var re;if(!d)return;Z||(Z=(re=E[_])===null||re===void 0?void 0:re.slides[0]);const ie=Z.el;if(ie)for(const de of ie.querySelectorAll("[data-slide-index]"))de.innerHTML=Z.index+1+""}function z(Z){if(!E.length||!o)return 0;const re=fe();let ie=Z;g?ie-=Math.floor((Z-E[0].pos)/re)*re:ie=$e(E[0].pos,Z,E[E.length-1].pos);const de=new Map;let Ee=0;for(const ke of E){const W=Math.abs(ke.pos-ie),$=Math.abs(ke.pos-ie-re),L=Math.abs(ke.pos-ie+re),ae=Math.min(W,$,L);de.set(Ee,ae),Ee++}const pe=de.size>0?[...de.entries()].reduce((ke,W)=>W[1]<ke[1]?W:ke):[_,0];return parseInt(pe[0])}function he(){return h&&parseFloat(getComputedStyle(h).getPropertyValue("--f-carousel-gap"))||0}function ee(){return h&&h.getBoundingClientRect()[w]||0}function fe(Z=!0){const re=he();return O.reduce((ie,de)=>ie+de.dim,0)+(O.length-(g&&Z?0:1))*re}function F(Z){const re=he(),ie=fe();let de=ee();if(!h)return[];const Ee=[];if(!ie||!de)return[];Z=Z===void 0?k:Z,g&&(Z-=Math.floor(Z/ie)*ie);let pe=0,ke=0;if(f){const $=h.getBoundingClientRect();pe=$.left,ke=$.right-$.width}let W=0;for(let $ of O){const L=(ae=0)=>{Ee.indexOf($)>-1||($.pos=W-Z+ae||0,$.offset+ae>Z-$.dim-pe+.51&&$.offset+ae<Z+de+ke-.51&&Ee.push($))};if($.offset=W,g)for(let ae=-1;ae<=1;ae++)L(ie*ae);else L();W+=$.dim+re}return Ee}function C(Z,re){const ie=[];for(const de of Array.isArray(Z)?Z:[Z]){const Ee=y(Object.assign(Object.assign({},de),{isVirtual:!0}));ie.push(Ee)}G.splice(re===void 0?G.length:re,0,...ie),te();for(const de of ie)P(de);return q(B),ie}function y(Z){return(mt(Z)||Z instanceof HTMLElement)&&(Z={html:Z}),Object.assign({index:-1,el:void 0,class:"",isVirtual:!0,dim:0,pos:0,offset:0,html:"",src:""},Z)}function P(Z){if(!Z)return;let re=Z.el;re||(re=document.createElement("div"),Z.el=re);const ie=Z.html?Z.html instanceof HTMLElement?Z.html:ha(Z.html):void 0;ie&&(ze(ie,"f-html"),Z.htmlEl=ie,ze(re,"has-html"),re.append(ie),v("contentReady",Z))}function I(Z){if(!h||!Z)return;let re=Z.el;if(re){if(re.setAttribute("index",Z.index+""),re.parentElement!==h){let ie;ze(re,u.classes.slide),ze(re,Z.class),_e(Z);for(const de of G)if(de.index>Z.index){ie=de.el;break}h.insertBefore(re,ie&&h.contains(ie)?ie:null),v("attachSlideEl",Z)}return re}}function H(Z){const re=Z==null?void 0:Z.el;re&&(re.remove(),ne(re),v("detachSlideEl",Z))}function te(){for(let Z=0;Z<G.length;Z++){const re=G[Z],ie=re.el;ie&&(re.index!==Z&&ne(ie),ie.setAttribute("index",`${Z}`)),re.index=Z}}function j(){var Z,re,ie,de;if(!d||!h)return;b=Y("rtl"),x=Y("vertical"),w=x?"height":"width";const Ee=Y("classes");ba(d,Ee.isLTR,!b),ba(d,Ee.isRTL,b),ba(d,Ee.isHorizontal,!x),ba(d,Ee.isVertical,x),ba(d,Ee.hasAdaptiveHeight,Y("adaptiveHeight"));const pe=h.getBoundingClientRect();if(!pe.width&&!pe.height)return;const ke=function(){let $=0;if(h){let L=document.createElement("div");ze(L,u.classes.slide),h.appendChild(L),$=L.getBoundingClientRect()[w],L.remove(),L=void 0}return $}();for(const $ of O){const L=$.el;let ae=0;if(!$.isVirtual&&L&&Qa(L)){let le=!1;L.parentElement&&L.parentElement===h||(h.appendChild(L),le=!0),ae=L.getBoundingClientRect()[w],le&&((Z=L.parentElement)===null||Z===void 0||Z.removeChild(L))}else ae=ke;$.dim=ae}(function(){if(!d)return;te();const $=ee(),L=he(),ae=fe(!1);let le=Y("slidesPerPage");le=le==="auto"?1/0:parseFloat(le+""),E=[];let xe=0,Ae=0;for(const Je of O)(!E.length||xe+Je.dim-$>.05||Ae>=le)&&(E.push({index:E.length,slides:[],dim:0,offset:0,pos:0}),xe=0,Ae=0),E[E.length-1].slides.push(Je),xe+=Je.dim+L,Ae++;const De=Y("center"),Pe=Y("fill"),qe=Y("infinite");let nt=0;for(const Je of E){Je.dim=(Je.slides.length-1)*L;for(const va of Je.slides)Je.dim+=va.dim;Je.offset=nt,Je.pos=nt,De!==!1&&(Je.pos-=.5*($-Je.dim)),Pe&&!qe&&ae>$&&(Je.pos=$e(0,Je.pos,ae-$)),nt+=Je.dim+L}const bt=[];let lt;for(const Je of E){const va=Object.assign({},Je);lt&&va.pos===lt.pos?(lt.dim+=va.dim,lt.slides=[...lt.slides,...va.slides]):(lt=va,va.index=bt.length,bt.push(va))}E=bt,J()})();let W=ee();if(f){const $=h.getBoundingClientRect();W+=$.left,W+=$.right-$.width}if(g=Y("infinite")&&E.length>1&&fe()-(W+(((re=O[0])===null||re===void 0?void 0:re.dim)||0))>-.5,N=((ie=E[0])===null||ie===void 0?void 0:ie.pos)||0,S=((de=E[E.length-1])===null||de===void 0?void 0:de.pos)||0,c===0)(function(){var $;s=void 0,_=Y("initialPage");const L=Y("initialSlide")||void 0;L!==void 0&&(_=Be.getPageIndex(L)||0),_=$e(0,_,E.length-1),k=(($=E[_])===null||$===void 0?void 0:$.pos)||0,T=k})();else{const $=o!=null&&o.isRunning()?o.getEndValues().pos:k;($<N||$>S)&&(_=$e(0,_,E.length-1),T=E[_||0].pos||0)}v("refresh")}function ne(Z){if(!Z||!Qa(Z))return;const re=parseInt(Z.getAttribute("index")||"-1");let ie="";for(const Ee of Array.from(Z.classList)){const pe=Ee.match(/^f-(\w+)(Out|In)$/);pe&&pe[1]&&(ie=pe[1]+"")}if(!Z||!ie)return;const de=[`f-${ie}Out`,`f-${ie}In`,"to-prev","to-next","from-prev","from-next"];Z.removeEventListener("animationend",ye),ea(Z,de.join(" ")),Q.delete(re)}function ue(){if(!h)return;const Z=Q.size;for(const re of O)ne(re.el);Q.clear(),Z&&Se()}function ye(Z){Z.animationName.substring(0,2)==="f-"&&(ne(Z.target),Q.size||(ea(d,"in-transition"),!V&&Math.abs(Be.getPosition(!0)-T)<.5&&(V=!0,v("settle"))),Se())}function be(Z){if(Z.defaultPrevented)return;const re=Z.composedPath()[0];if(re.closest("[data-carousel-go-prev]"))return en(Z),void Be.prev();if(re.closest("[data-carousel-go-next]"))return en(Z),void Be.next();const ie=re.closest("[data-carousel-go-to]");if(ie)return en(Z),void Be.goTo(parseFloat(ie.dataset.carouselGoTo||"")||0);if(re.closest("[data-carousel-download]")){en(Z);const de=E[_].slides[0];if(de.downloadSrc||de.type==="image"&&de.src){const Ee=de.downloadFilename,pe=document.createElement("a"),ke=de.downloadSrc||de.src||"";pe.href=ke,pe.target="_blank",pe.download=Ee||ke,pe.click()}}else v("click",Z)}function me(Z){var re;const ie=Z.el;ie&&((re=ie.querySelector(".f-spinner"))===null||re===void 0||re.remove(),ea(ie,"is-loading"))}function Me(Z){var re;const ie=Z.el;ie&&((re=ie.querySelector(".f-html.is-error"))===null||re===void 0||re.remove(),ea(ie,"has-error"))}function _e(Z){var re;Z||(Z=(re=E[_])===null||re===void 0?void 0:re.slides[0]);const ie=Z==null?void 0:Z.el;if(!ie)return;let de=Y("formatCaption",Z);de===void 0&&(de=Z.caption),de=de||"";const Ee=Y("captionEl");if(Ee&&Ee instanceof HTMLElement){if(Z.index!==_)return;if(mt(de)&&(Ee.innerHTML=oe(de+"")),de instanceof HTMLElement){if(de.parentElement===Ee)return;Ee.innerHTML="",de.parentElement&&(de=de.cloneNode(!0)),Ee.append(de)}return}if(!de)return;let pe=Z.captionEl||ie.querySelector(".f-caption");!pe&&de instanceof HTMLElement&&de.classList.contains("f-caption")&&(pe=de),pe||(pe=document.createElement("div"),ze(pe,"f-caption"),mt(de)?pe.innerHTML=oe(de+""):de instanceof HTMLElement&&(de.parentElement&&(de=de.cloneNode(!0)),pe.append(de)));const ke=`f-caption-${Ol}_${Z.index}`;pe.setAttribute("id",ke),pe.dataset.selectable="true",ze(ie,"has-caption"),ie.setAttribute("aria-labelledby",ke),Z.captionEl=pe,ie.insertAdjacentElement("beforeend",pe)}function Ne(Z,re){let{transition:ie,tween:de}=Object.assign({transition:u.transition,tween:u.tween},re||{});if(!d||!o)return;const Ee=E.length;if(!Ee||function(ke,W){var $,L,ae,le;if(!(d&&o&&W&&mt(W)&&W!=="tween")||(($=E[_])===null||$===void 0?void 0:$.slides.length)>1)return!1;const xe=E.length;let Ae=ke>_?1:-1;ke=g?(ke%xe+xe)%xe:$e(0,ke,xe-1),b&&(Ae*=-1);const De=(L=E[_])===null||L===void 0?void 0:L.slides[0],Pe=De==null?void 0:De.index,qe=(ae=E[ke])===null||ae===void 0?void 0:ae.slides[0],nt=qe==null?void 0:qe.index,bt=(le=E[ke])===null||le===void 0?void 0:le.pos;if(nt===void 0||Pe===void 0||Pe===nt||k===bt||Math.abs(ee()-((qe==null?void 0:qe.dim)||0))>1)return!1;V=!1,o.pause(),ue(),ze(d,"in-transition"),k=T=bt;const lt=I(De),Je=I(qe);return M(),lt&&(Q.add(Pe),lt.style.transform="",lt.addEventListener("animationend",ye),ea(lt,u.classes.isSelected),ze(lt,`f-${W}Out to-${Ae>0?"next":"prev"}`)),Je&&(Q.add(nt),Je.style.transform="",Je.addEventListener("animationend",ye),ze(Je,u.classes.isSelected),ze(Je,`f-${W}In from-${Ae>0?"prev":"next"}`)),Se(),!0}(Z,ie))return;Z=g?(Z%Ee+Ee)%Ee:$e(0,Z,Ee-1),T=E[Z||0].pos||0;const pe=o.isRunning()?o.getEndValues().pos:k;if(Math.abs(T-pe)<1)return k=T,_!==Z&&(_e(),J(),ce(),s=_,_=Z,v("change",_,s)),Se(),void(V||(V=!0,v("settle")));if(o.pause(),ue(),g){const ke=fe(),W=Math.floor((pe-E[0].pos)/ke),$=T+W*ke;T=[$+ke,$,$-ke].reduce(function(L,ae){return Math.abs(ae-pe)<Math.abs(L-pe)?ae:L})}ie!==!1&&Et(de)?o.spring(de).from({pos:k}).to({pos:T}).start():(k=T,M(),Se(),V||(V=!0,v("settle")))}function Se(){var Z;if(!d||!h)return;const re=E[_];U=F();const ie=new Set;let de;const Ee=[];for(const pe of O){if(pe.isVirtual&&!Q.has(pe.index)&&U.indexOf(pe)<0)continue;let ke=I(pe);if(!ke)continue;Ee.push(pe);const W=((Z=re==null?void 0:re.slides)===null||Z===void 0?void 0:Z.indexOf(pe))>-1;if(W&&ie.add(ke),!Q.has(pe.index)){const $=pe.pos?Math.round(1e4*pe.pos)/1e4:0,L=x?0:b?-1*$:$,ae=x?$:0,le=Oo(L,0,pe.dim,0,100),xe=Oo(ae,0,pe.dim,0,100),Ae=u.setTransform||void 0;Ae instanceof Function?Ae(Be,pe,{x:L,y:ae,xPercent:le,yPercent:xe}):ke.style.transform=L||ae?`translate3d(${le}%, ${xe}%,0)`:""}if(Y("adaptiveHeight")&&W){const $=(ke.firstElementChild||ke).getBoundingClientRect().height;de=de==null?$:Math.max(de,$)}}[...Po(h,`.${u.classes.slide}`)].forEach(pe=>{const ke=parseInt(pe.getAttribute("index")||"-1"),W=G[ke];W||pe.remove(),ba(pe,u.classes.isSelected,ie.has(pe)),W.isVirtual&&!Q.has(W.index)&&U.indexOf(W)<0&&H(W)}),h&&de&&(h.style.height=`${de}px`),v("render",Ee)}function Le(){var Z;d==null||d.removeEventListener("click",be),ue(),document.removeEventListener("mousemove",K),i==null||i.disconnect(),i=void 0;for(const re of G)re.el&&Qa(re.el)&&(re.state=void 0,me(re),Me(re),H(re),re.isVirtual?((Z=re.el)===null||Z===void 0||Z.remove(),re.el=void 0):(re.el.style.transform="",h==null||h.appendChild(re.el)));for(const re of Object.values(m))re==null||re.destroy();m={},r==null||r.destroy(),r=void 0,o==null||o.destroy(),o=void 0;for(const re of Object.values(u.classes||{}))ea(d,re);ea(h,"is-draggable")}const Be={add:function(Z,re){const ie=k,de=T,Ee=C(Z,re);for(const pe of Ee)v("addSlide",pe);return q(B),j(),o&&de!==T&&o.spring({clamp:!0,mass:1,tension:300,friction:25,restDelta:1,restSpeed:1}).from({pos:ie}).to({pos:T}).start(),Se(),Be},canGoPrev:function(){return g||_>0},canGoNext:function(){return g||_<E.length-1},destroy:function(){return v("destroy"),window.removeEventListener("resize",X),Le(),A.clear(),d=null,E=[],G=[],u=Object.assign({},tn),m={},O=[],l="",B="*",c=2,Be},emit:v,filter:function(Z="*"){return q(Z),j(),Se(),v("filter",Z),Be},getContainer:function(){return d},getGapDim:he,getGestures:function(){return r},getLastMouseMove:function(){return Pl},getOptions:function(){return u},getPage:function(){return E[_]},getPageIndex:function(Z){if(Z!==void 0){for(const re of E||[])for(const ie of re.slides)if(ie.index===Z)return re.index;return-1}return _},getPageProgress:function(Z,re){Z===void 0&&(Z=_);const ie=E[Z];if(!ie)return Z>_?-1:1;const de=fe(),Ee=he();let pe=ie.pos,ke=Be.getPosition();if(g&&re!==!0){const W=Math.floor((ke-E[0].pos)/de);ke-=W*de,pe=[pe+de,pe,pe-de].reduce(function($,L){return Math.abs(L-ke)<Math.abs($-ke)?L:$})}return(ke-pe)/(ie.dim+Ee)},getPageVisibility:function(Z){Z===void 0&&(Z=_);const re=E[Z];if(!re)return Z>_?-1:1;const ie=Be.getPosition(),de=ee();let Ee=re.pos;if(g){const pe=Be.getPosition(),ke=fe(),W=Ee+Math.floor((pe-E[0].pos)/ke)*ke;Ee=[W+ke,W,W-ke].reduce(function($,L){return Math.abs(L-pe)<Math.abs($-pe)?L:$})}return Ee>ie&&Ee+re.dim<ie+de?1:Ee<ie?(Ee+re.dim-ie)/re.dim:Ee+re.dim>ie+de?(ie+de-Ee)/re.dim:0},getPages:function(){return E},getPlugins:function(){return m},getPosition:function(Z){var re;let ie=k;if(g&&Z!==!0){const de=fe();ie-=Math.floor((k-((re=E[0])===null||re===void 0?void 0:re.pos)||0)/de)*de}return ie},getSlides:function(){return G},getState:function(){return c},getTotalSlideDim:fe,getTween:function(){return o},getViewport:function(){return h},getViewportDim:ee,getVisibleSlides:function(Z){return Z===void 0?U:F(Z)},goTo:Ne,hasNavigated:function(){return s!==void 0},hideError:Me,hideLoading:me,init:function(){if(!e||!Qa(e))throw new Error("No Element found");return c!==0&&(Le(),c=0),d=e,p=a,window.removeEventListener("resize",X),p.breakpoints&&window.addEventListener("resize",X),X(),Be},isInfinite:function(){return g},isInTransition:function(){return Q.size>0},isRTL:function(){return b},isSettled:function(){return V},localize:function(Z,re=[]){return oe(Z,re)},next:function(Z={}){return Ne(_+1,Z),Be},off:function(Z,re){for(const ie of Z instanceof Array?Z:[Z])A.has(ie)&&A.set(ie,A.get(ie).filter(de=>de!==re));return Be},on:function(Z,re){for(const ie of Z instanceof Array?Z:[Z])A.set(ie,[...A.get(ie)||[],re]);return Be},prev:function(Z={}){return Ne(_-1,Z),Be},remove:function(Z){Z===void 0&&(Z=G.length-1);const re=G[Z];return re&&(v("removeSlide",re),re.el&&(ne(re.el),re.el.remove(),re.el=void 0),G.splice(Z,1),q(B),j(),Se()),Be},setPosition:function(Z){k=Z,M(),Se()},showError:function(Z,re){me(Z),Me(Z);const ie=Z.el;if(ie){const de=document.createElement("div");ze(de,"f-html"),ze(de,"is-error"),de.innerHTML=oe(re||"<p>{{ERROR}}</p>"),Z.htmlEl=de,ze(ie,"has-html"),ze(ie,"has-error"),ie.insertAdjacentElement("afterbegin",de),v("contentReady",Z)}return Be},showLoading:function(Z){const re=Z.el,ie=re==null?void 0:re.querySelector(".f-spinner");if(!re||ie)return Be;const de=Y("spinnerTpl"),Ee=ha(de);return Ee&&(ze(Ee,"f-spinner"),ze(re,"is-loading"),re.insertAdjacentElement("beforeend",Ee)),Be},version:"6.0.16"};return Be};dr.l10n={en_EN:Fo},dr.getDefaults=()=>tn;/*! License details at fancyapps.com/license */const Fl=(e=!0,a="--f-scrollbar-compensate",n="--f-body-margin",r="hide-scrollbar")=>{const o=document,i=o.body,s=o.documentElement;if(e){if(i.classList.contains(r))return;let l=window.innerWidth-s.getBoundingClientRect().width;l<0&&(l=0),s.style.setProperty(a,`${l}px`);const c=parseFloat(window.getComputedStyle(i).marginRight);c&&i.style.setProperty(n,`${c}px`),i.classList.add(r)}else i.classList.remove(r),i.style.setProperty(n,""),o.documentElement.style.setProperty(a,"")};/*! License details at fancyapps.com/license */function Ll(){return!(typeof window>"u"||!window.document||!window.document.createElement)}/*! License details at fancyapps.com/license */const xa=function(e="",a="",n=""){return e.split(a).join(n)};/*! License details at fancyapps.com/license */const $l={tpl:e=>`<img class="f-panzoom__content"
|
|
7
7
|
${e.srcset?'data-lazy-srcset="{{srcset}}"':""}
|
|
8
8
|
${e.sizes?'data-lazy-sizes="{{sizes}}"':""}
|
|
9
|
-
data-lazy-src="{{src}}" alt="{{alt}}" />`},g7=()=>{let e;function a(f,h){const c=e==null?void 0:e.getOptions().Zoomable;let m=(Et(c)?Object.assign(Object.assign({},bs),c):bs)[f];return m&&typeof m=="function"&&h?m(h):m}function n(){e&&(e.on("addSlide",i),e.on("removeSlide",l),e.on("attachSlideEl",s),e.on("click",o),e.on("change",r))}function r(){d()}function o(f,h){const c=h.target;c&&!h.defaultPrevented&&c.dataset.panzoomAction&&p(c.dataset.panzoomAction)}function i(f,h){if(!e)return;const c=h.el;if(!c)return;const m=h.src||h.lazySrc||"",u=h.alt||h.caption||`Image #${h.index}`,y=h.srcset||h.lazySrcset||"",b=h.sizes||h.lazySizes||"";if(m&&ft(m)&&!h.html&&(!h.type||h.type==="image")){h.type="image";let B=a("tpl",h);B=xa(B,"{{src}}",m+""),B=xa(B,"{{alt}}",u+""),B=xa(B,"{{srcset}}",y+""),B=xa(B,"{{sizes}}",b+""),c.insertAdjacentHTML("afterbegin",B)}if(!c.querySelector(".f-panzoom__content"))return;const x=h.width&&h.width!=="auto"?parseFloat(h.width+""):"auto",w=h.height&&h.height!=="auto"?parseFloat(h.height+""):"auto",k=vo(c,Object.assign({width:x,height:w,event:()=>e==null?void 0:e.getLastMouseMove(),classes:{container:"f-zoomable"}},a("Panzoom")));k.on("*",(B,A,...D)=>{e&&(A==="loading"&&(h.state=0),A==="loaded"&&(h.state=1),A==="error"&&(h.state=2,e==null||e.showError(h,"{{IMAGE_ERROR}}")),e.emit(`panzoom:${A}`,h,...D),A==="ready"&&e.emit("contentReady",h),h.index===e.getPageIndex()&&d())}),h.panzoomRef=k}function l(f,h){h.panzoomRef&&(h.panzoomRef.destroy(),h.panzoomRef=void 0)}function s(f,h){const c=h.panzoomRef;if(c)switch(c.getState()){case 0:c.init();break;case 3:c.execute(we.Reset,{velocity:0})}}function d(){var f;const h=e==null?void 0:e.getContainer();if(!h)return;const c=(f=e==null?void 0:e.getPage())===null||f===void 0?void 0:f.slides[0].panzoomRef,m=(c==null?void 0:c.canZoomIn())||!1,u=(c==null?void 0:c.canZoomOut())||!1,y=(c==null?void 0:c.isFullsize())||!1,b=!c||(c==null?void 0:c.getState())!==3;for(const x of(h==null?void 0:h.querySelectorAll("[data-panzoom-action]"))||[]){const w=x.dataset.panzoomAction;let k=!1;if(b)k=!0;else switch(w){case we.ZoomIn:m||(k=!0);break;case we.ZoomOut:u||(k=!0);break;case we.ToggleFull:m||u||(k=!0);const B=x.querySelector("g");B&&(B.style.display=y?"none":"");break;case we.ToggleCover:case we.ToggleMax:m||u||(k=!0)}k?(x.setAttribute("aria-disabled",""),x.setAttribute("tabindex","-1")):(x.removeAttribute("aria-disabled"),x.removeAttribute("tabindex"))}}function p(f,...h){var c;(c=e==null?void 0:e.getPage().slides[0].panzoomRef)===null||c===void 0||c.execute(f,...h)}return{init:function(f){e=f,e.getOptions().Zoomable!==!1&&e.on("initPlugins",n)},destroy:function(){if(e){e.off("addSlide",i),e.off("removeSlide",l),e.off("attachSlideEl",s),e.off("change",r);for(const f of e.getSlides())l(0,f)}e=void 0},execute:p}};/*! License details at fancyapps.com/license */const ws={syncOnChange:!1,syncOnClick:!0,syncOnHover:!1},vs=()=>{let e,a;function n(){const m=e==null?void 0:e.getOptions().Sync;return Et(m)?Object.assign(Object.assign({},ws),m):ws}function r(m){var u,y,b;e&&m&&(a=m,e.getOptions().classes=Object.assign(Object.assign({},e.getOptions().classes),{isSelected:""}),e.getOptions().initialSlide=((y=(u=a.getPage())===null||u===void 0?void 0:u.slides[0])===null||y===void 0?void 0:y.index)||0,n().syncOnChange&&e.on("change",l),n().syncOnClick&&e.on("click",d),n().syncOnHover&&((b=e.getViewport())===null||b===void 0||b.addEventListener("mouseover",p)),function(){!e||!a||(e.on("ready",i),e.on("refresh",f),a.on("change",s),a.on("filter",h))}())}function o(){const m=n().target;e&&m&&r(m)}function i(){c()}function l(){var m;if(e&&a){const u=((m=e.getPage())===null||m===void 0?void 0:m.slides)||[],y=a.getPageIndex(u[0].index||0);y>-1&&a.goTo(y,e.hasNavigated()?void 0:{tween:!1,transition:!1}),c()}}function s(){var m;if(e&&a){const u=e.getPageIndex(((m=a.getPage())===null||m===void 0?void 0:m.slides[0].index)||0);u>-1&&e.goTo(u,a.hasNavigated()?void 0:{tween:!1,transition:!1}),c()}}function d(m,u){var y;if(!e||!a||!((y=e.getTween())===null||y===void 0)&&y.isRunning())return;const b=e==null?void 0:e.getOptions().classes.slide;if(!b)return;const x=b?u.target.closest(`.${b}`):null;if(x){const w=parseInt(x.getAttribute("index")||"")||0,k=a.getPageIndex(w);a.goTo(k)}}function p(m){e&&d(0,m)}function f(){var m;if(e&&a){const u=e.getPageIndex(((m=a.getPage())===null||m===void 0?void 0:m.slides[0].index)||0);u>-1&&e.goTo(u,{tween:!1,transition:!1}),c()}}function h(m,u){e&&a&&(e.filter(u),s())}function c(){var m,u,y;if(!a)return;const b=((u=(m=a.getPage())===null||m===void 0?void 0:m.slides[0])===null||u===void 0?void 0:u.index)||0;for(const x of(e==null?void 0:e.getSlides())||[])(y=x.el)===null||y===void 0||y.classList.toggle("is-selected",x.index===b)}return{init:function(m){e=m,e.on("initSlides",o)},destroy:function(){var m;e==null||e.off("ready",i),e==null||e.off("refresh",f),e==null||e.off("change",l),e==null||e.off("click",d),(m=e==null?void 0:e.getViewport())===null||m===void 0||m.removeEventListener("mouseover",p),a==null||a.off("change",s),a==null||a.off("filter",h),a=void 0,e==null||e.off("initSlides",o),e=void 0},getTarget:function(){return a}}};/*! License details at fancyapps.com/license */const Es={showLoading:!0,preload:1},or="is-lazyloading",Cs="is-lazyloaded",Ss=()=>{let e;function a(){const o=e==null?void 0:e.getOptions().Lazyload;return Et(o)?Object.assign(Object.assign({},Es),o):Es}function n(o){const i=o.el;if(!i)return;const l="[data-lazy-src],[data-lazy-srcset],[data-lazy-bg]",s=Array.from(i.querySelectorAll(l));i.matches(l)&&s.push(i);for(const d of s){const p=d.dataset.lazySrc,f=d.dataset.lazySrcset,h=d.dataset.lazySizes,c=d.dataset.lazyBg,m=(d instanceof HTMLImageElement||d instanceof HTMLSourceElement)&&(p||f),u=d instanceof HTMLElement&&c;if(!m&&!u)continue;const y=p||f||c;y&&(m&&y?(a().showLoading&&(e==null||e.showLoading(o)),d.addEventListener("load",()=>{e==null||e.hideLoading(o),d instanceof HTMLImageElement?d.decode().then(()=>{d.classList.remove(or),d.classList.add(Cs)}):(d.classList.remove(or),d.classList.add(Cs)),e==null||e.emit("lazyLoad:loaded",o,d,y)}),d.addEventListener("error",()=>{e==null||e.hideLoading(o),d.classList.remove(or),d.classList.add("has-lazyerror"),e==null||e.emit("lazyLoad:error",o,d,y)}),d.classList.add("f-lazyload"),d.classList.add(or),e==null||e.emit("lazyLoad:load",o,d,y),p&&(d.src=p),f&&(d.srcset=f),h&&(d.sizes=h)):u&&(document.body.contains(d)||(document.createElement("img").src=c),d.style.backgroundImage=`url('${c}')`),delete d.dataset.lazySrc,delete d.dataset.lazySrcset,delete d.dataset.lazySizes)}}function r(){if(!e)return;const o=a().preload,i=[...e.getVisibleSlides()],l=e.getPosition(),s=e.getViewportDim();i.push(...e.getVisibleSlides(l+s*o),...e.getVisibleSlides(l-s*o));for(const d of i||[])n(d)}return{init:function(o){e=o,e.on("render",r)},destroy:function(){e==null||e.off("render",r),e=void 0}}};/*! License details at fancyapps.com/license */const Ms={prevTpl:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" tabindex="-1"><path d="M15 3l-9 9 9 9"></path></svg>',nextTpl:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" tabindex="-1"><path d="M9 3l9 9-9 9"></path></svg>'},y7=()=>{let e,a,n;function r(l){if(!e)return;const s=`<button data-carousel-go-${l} tabindex="0" class="f-button is-arrow is-${l}" title="{{${l.toUpperCase()}}}">`+function(){const d=e==null?void 0:e.getOptions().Arrows;return Et(d)?Object.assign(Object.assign({},Ms),d):Ms}()[`${l}Tpl`]+"</button";return fa(e.localize(s))||void 0}function o(){var l;a==null||a.remove(),a=void 0,n==null||n.remove(),n=void 0,(l=e==null?void 0:e.getContainer())===null||l===void 0||l.classList.remove("has-arrows")}function i(){e&&e.getOptions().Arrows!==!1&&e.getPages().length>1?(function(){if(!e)return;const l=e.getViewport();l&&(a||(a=r("prev"),a&&l.insertAdjacentElement("beforebegin",a)),n||(n=r("next"),n&&l.insertAdjacentElement("afterend",n)),ka(e.getContainer(),"has-arrows",!(!a&&!n)))}(),e&&(a==null||a.toggleAttribute("aria-disabled",!e.canGoPrev()),n==null||n.toggleAttribute("aria-disabled",!e.canGoNext()))):o()}return{init:function(l){e=l.on(["change","refresh"],i)},destroy:function(){o(),e==null||e.off(["change","refresh"],i),e=void 0}}};/*! License details at fancyapps.com/license */const Bs={moveLeft:{tpl:'<button data-panzoom-action="moveLeft" class="f-button" title="{{MOVE_LEFT}}"><svg><path d="M5 12h14M5 12l6 6M5 12l6-6"/></svg></button>'},moveRight:{tpl:'<button data-panzoom-action="moveRight" class="f-button" title="{{MOVE_RIGHT}}"><svg><path d="M5 12h14M13 18l6-6M13 6l6 6"/></svg></button>'},moveUp:{tpl:'<button data-panzoom-action="moveUp" class="f-button" title="{{MOVE_UP}}"><svg><path d="M12 5v14M18 11l-6-6M6 11l6-6"/></svg></button>'},moveDown:{tpl:'<button data-panzoom-action="moveDown" class="f-button" title="{{MOVE_DOWN}}"><svg><path d="M12 5v14M18 13l-6 6M6 13l6 6"/></svg></button>'},zoomIn:{tpl:'<button data-panzoom-action="zoomIn" class="f-button" title="{{ZOOM_IN}}"><svg><circle cx="11" cy="11" r="7.5"/><path d="m21 21-4.35-4.35M11 8v6M8 11h6"/></svg></button>'},zoomOut:{tpl:'<button data-panzoom-action="zoomOut" class="f-button" title="{{ZOOM_OUT}}"><svg><circle cx="11" cy="11" r="7.5"/><path d="m21 21-4.35-4.35M8 11h6"/></svg></button>'},toggle1to1:{tpl:'<button data-panzoom-action="toggleFull" class="f-button" title="{{TOGGLE_FULL}}"><svg><path d="M3.51 3.07c5.74.02 11.48-.02 17.22.02 1.37.1 2.34 1.64 2.18 3.13 0 4.08.02 8.16 0 12.23-.1 1.54-1.47 2.64-2.79 2.46-5.61-.01-11.24.02-16.86-.01-1.36-.12-2.33-1.65-2.17-3.14 0-4.07-.02-8.16 0-12.23.1-1.36 1.22-2.48 2.42-2.46Z"/><path d="M5.65 8.54h1.49v6.92m8.94-6.92h1.49v6.92M11.5 9.4v.02m0 5.18v0"/></svg></button>'},toggleFull:{tpl:'<button data-panzoom-action="toggleFull" class="f-button" title="{{TOGGLE_FULL}}"><svg><g><line x1="11" y1="8" x2="11" y2="14"></line></g><circle cx="11" cy="11" r="7.5"/><path d="m21 21-4.35-4.35M8 11h6"/></svg></button>'},rotateCCW:{tpl:'<button data-panzoom-action="rotateCCW" class="f-button" title="{{ROTATE_CCW}}"><svg><path d="M15 4.55a8 8 0 0 0-6 14.9M9 15v5H4M18.37 7.16v.01M13 19.94v.01M16.84 18.37v.01M19.37 15.1v.01M19.94 11v.01"/></svg></button>'},rotateCW:{tpl:'<button data-panzoom-action="rotateCW" class="f-button" title="{{ROTATE_CW}}"><svg><path d="M9 4.55a8 8 0 0 1 6 14.9M15 15v5h5M5.63 7.16v.01M4.06 11v.01M4.63 15.1v.01M7.16 18.37v.01M11 19.94v.01"/></svg></button>'},flipX:{tpl:'<button data-panzoom-action="flipX" class="f-button" title="{{FLIP_X}}"><svg><path d="M12 3v18M16 7v10h5L16 7M8 7v10H3L8 7"/></svg></button>'},flipY:{tpl:'<button data-panzoom-action="flipY" class="f-button" title="{{FLIP_Y}}"><svg><path d="M3 12h18M7 16h10L7 21v-5M7 8h10L7 3v5"/></svg></button>'},reset:{tpl:'<button data-panzoom-action="reset" class="f-button" title="{{RESET}}"><svg><path d="M20 11A8.1 8.1 0 0 0 4.5 9M4 5v4h4M4 13a8.1 8.1 0 0 0 15.5 2m.5 4v-4h-4"/></svg></button>'}};/*! License details at fancyapps.com/license */var As;(function(e){e.Left="left",e.middle="middle",e.right="right"})(As||(As={}));const Vs=Object.assign({counter:{tpl:'<div class="f-carousel__counter"><span data-carousel-page></span>/<span data-carousel-pages></span></div>'},download:{tpl:'<button data-carousel-download class="f-button" title="{{DOWNLOAD}}"><svg><path d="M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2M7 11l5 5 5-5M12 4v12"/></svg></button>'},autoplay:{tpl:'<button data-autoplay-action="toggle" class="f-button" title="{{TOGGLE_AUTOPLAY}}"><svg><g><path d="M5 3.5 19 12 5 20.5Z"/></g><g><path d="M8 4v15M17 4v15"/></g></svg></button>'},thumbs:{tpl:'<button data-thumbs-action="toggle" class="f-button" title="{{TOGGLE_THUMBS}}"><svg><rect width="18" height="14" x="3" y="3" rx="2"/><path d="M4 21h1M9 21h1M14 21h1M19 21h1"/></svg></button>'}},Bs),_s={absolute:!1,display:{left:[],middle:["zoomIn","zoomOut","toggle1to1","rotateCCW","rotateCW","flipX","flipY","reset"],right:[]},enabled:"auto",items:{}},Ns=()=>{let e,a;function n(){const o=e==null?void 0:e.getOptions().Toolbar;return Et(o)?Object.assign(Object.assign({},_s),o):_s}function r(){var o,i,l;if(!(e!=null&&e.getOptions().Toolbar)||!e||a)return;let s=n().enabled;if(!s)return;let d=n().absolute;const p=e.getSlides().length>1;let f=!1,h=!1;for(const x of e.getSlides())x.panzoomRef&&(f=!0),(x.downloadSrc||x.type==="image"&&x.src)&&(h=!0);let c=((o=e.getPlugins().Thumbs)===null||o===void 0?void 0:o.isEnabled())||!1,m=p&&e.getPlugins().Autoplay||!1,u=e.getPlugins().Fullscreen&&(document.fullscreenEnabled||document.webkitFullscreenEnabled);if(s==="auto"&&(s=f),!s)return;a=document.createElement("div"),a.classList.add("f-carousel__toolbar");const y=n().display,b=Tt({},Vs,n().items);for(const x of["left","middle","right"]){const w=y[x]||[],k=document.createElement("div");k.classList.add("f-carousel__toolbar__column"),k.classList.add(`is-${x}`);for(const B of w){let A;if(ft(B)){if(B==="counter"&&!p||B==="autoplay"&&!m||Bs[B]&&!f||B==="fullscreen"&&!u||B==="thumbs"&&!c||B==="download"&&!h)continue;A=b[B]}if(typeof B=="object"&&(A=B),A&&A.tpl){let D=e.localize(A.tpl);D=D.split("<svg>").join('<svg tabindex="-1" width="24" height="24" viewBox="0 0 24 24">');const V=fa(D);V&&(typeof A.click=="function"&&e&&V.addEventListener("click",C=>{C.preventDefault(),C.stopPropagation(),typeof A.click=="function"&&e&&A.click(e,C)}),k.append(V))}}a.append(k)}a.childElementCount&&(d===!0&&a.classList.add("is-absolute"),(i=e.getContainer())===null||i===void 0||i.classList.add("has-toolbar"),(l=e.getViewport())===null||l===void 0||l.insertAdjacentElement("beforebegin",a))}return{init:function(o){e=o,e.on("initSlides",r)},destroy:function(){var o;e==null||e.off("initSlides",r),(o=e==null?void 0:e.getContainer())===null||o===void 0||o.classList.remove("has-toolbar"),a==null||a.remove(),a=void 0},add:function(o,i){Vs[o]=i},isEnabled:function(){return!!a}}};/*! License details at fancyapps.com/license */const Ds={autoStart:!0,pauseOnHover:!0,showProgressbar:!0,timeout:2e3},k7=()=>{let e,a,n=!1,r=!1,o=!1,i=null;function l(D){const V=e==null?void 0:e.getOptions().Autoplay;let C=(Et(V)?Object.assign(Object.assign({},Ds),V):Ds)[D];return C&&typeof C=="function"&&e?C(e):C}function s(){var D;const V=((D=e==null?void 0:e.getPage())===null||D===void 0?void 0:D.slides)||[];for(const C of V)if(C.state===0)return!0;return!1}function d(){clearTimeout(a),a=void 0}function p(){if(a||o||s()||!(e!=null&&e.isSettled()))return;(function(){var V,C,M,I;if(!e||(c(),!l("showProgressbar")))return;let $=l("progressbarParentEl");if(!$&&(!((V=e.getPlugins().Toolbar)===null||V===void 0)&&V.isEnabled())&&($=e.getContainer()),!$&&((C=e.getPlugins().Toolbar)===null||C===void 0?void 0:C.isEnabled())!==!0){const Y=((M=e.getPages()[0])===null||M===void 0?void 0:M.slides)||[],E=((I=e.getPage())===null||I===void 0?void 0:I.slides)||[];Y.length===1&&E.length===1&&($=E[0].el)}if($||($=e.getViewport()),!$)return;i=document.createElement("div"),i.classList.add("f-progressbar"),$.prepend(i);const X=l("timeout")||1e3;i.style.animationDuration=`${X}ms`})();const D=l("timeout");a=setTimeout(()=>{e&&n&&!r&&(e.isInfinite()||e.getPageIndex()!==e.getPages().length-1?e.next():e.goTo(0))},D)}function f(){var D,V;if(!e||e.getPages().length<2||e.getOptions().Autoplay===!1||n)return;n=!0,e.emit("autoplay:start",l("timeout")),(D=e.getContainer())===null||D===void 0||D.classList.add("has-autoplay"),(V=e.getTween())===null||V===void 0||V.on("start",w);const C=e==null?void 0:e.getContainer();C&&l("pauseOnHover")&&matchMedia("(hover: hover)").matches&&(C.addEventListener("mouseenter",k,!1),C.addEventListener("mouseleave",B,!1)),e.on("change",b),e.on("settle",x),e.on("contentReady",u),e.on("panzoom:animationStart",h),e.isSettled()&&p()}function h(){var D,V;if(d(),c(),n&&e){e.emit("autoplay:end"),(D=e.getContainer())===null||D===void 0||D.classList.remove("has-autoplay"),(V=e.getTween())===null||V===void 0||V.off("start",w);const C=e==null?void 0:e.getContainer();C&&(C.removeEventListener("mouseenter",k,!1),C.removeEventListener("mouseleave",B,!1))}e&&(e.off("change",b),e.off("settle",x),e.off("contentReady",u),e.off("panzoom:animationStart",h)),n=!1,r=!1}function c(){i&&(i.remove(),i=null)}function m(){e&&e.getPages().length>1&&l("autoStart")&&f()}function u(D){e&&e.getPageIndex(D.index)===e.getPageIndex()&&(!n||o||s()||p())}function y(D,V){const C=V.target;C&&!V.defaultPrevented&&C.dataset.autoplayAction==="toggle"&&A.toggle()}function b(){!e||!(e!=null&&e.isInfinite())&&e.getPageIndex()===e.getPages().length-1?h():(c(),d())}function x(){!n||o||r||p()}function w(){d(),c()}function k(){o=!0,n&&(c(),d())}function B(){o=!1,n&&!r&&(e!=null&&e.isSettled())&&p()}const A={init:function(D){e=D,e.on("ready",m),e.on("click",y)},destroy:function(){h(),e==null||e.off("ready",m),e==null||e.off("click",y),e=void 0},isEnabled:()=>n,pause:function(){r=!0,d()},resume:function(){r=!1,n&&!o&&p()},start(){f()},stop(){h()},toggle(){n?h():f()}};return A};/*! License details at fancyapps.com/license */const Mo={Carousel:{Lazyload:{showLoading:!1}},minCount:2,showOnStart:!0,thumbTpl:'<button aria-label="Slide to #{{page}}"><img draggable="false" alt="{{alt}}" data-lazy-src="{{src}}" /></button>',type:"modern"};let Bo;const x7=()=>{let e,a,n,r=0,o=0,i=!0;function l(k){const B=e==null?void 0:e.getOptions().Thumbs;let A=(Et(B)?Object.assign(Object.assign({},Mo),B):Mo)[k];return A&&typeof A=="function"?A():A}function s(){if(!e||(e==null?void 0:e.getOptions().Thumbs)===!1)return!1;let k=0;for(const B of e.getSlides())B.thumbSrc&&k++;return k>=l("minCount")}function d(){return l("type")==="modern"}function p(k=!1){const B=e==null?void 0:e.getContainer();if(e&&B&&!n&&s()){if(!n){const A=B.nextElementSibling;A!=null&&A.classList.contains("f-thumbs")&&(n=A)}if(!n){n=document.createElement("div"),n.classList.add("f-thumbs");const A=l("parentEl");A?A.insertAdjacentElement("beforeend",n):B.insertAdjacentElement("afterend",n)}n.classList.add(`is-${l("type")}`),n.classList.add("is-syncing"),k&&(n.style.maxHeight="0px")}}function f(k){let B=k.thumb?k.thumb instanceof HTMLImageElement?k.thumb.src:k.thumb:k.thumbSrc||void 0,A=l("thumbTpl");return A=xa(A,"{{alt}}",`Thumbnail #${k.index}`),A=xa(A,"{{src}}",B+""),A=xa(A,"{{index}}",`${k.index}`),A=xa(A,"{{page}}",`${k.index||1}`),{html:A,class:k.thumbClass}}function h(){var k,B;if(!Bo||!e||!n||a)return;const A=[];for(const D of e.getSlides())A.push(f(D));A.length&&(a=Bo(n,Tt({},{Sync:{target:e},Lazyload:{preload:1},slides:A,classes:{container:"f-thumbs",viewport:"f-thumbs__viewport",slide:"f-thumbs__slide"},initialSlide:e.getOptions().initialPage,center:!0,fill:!d(),infinite:!1,dragFree:!0,rtl:e.getOptions().rtl||!1,slidesPerPage:D=>{let V=0;return d()&&(function(){if(!d()||!n)return;const C=M=>n&&parseFloat(getComputedStyle(n).getPropertyValue("--f-thumb-"+M))||0;r=C("width"),o=C("clip-width")}(),V=4*(r-o)),D&&D.getTotalSlideDim()<=D.getViewportDim()-V?1/0:1}},Mo.Carousel||{},l("Carousel")||{}),{Sync:vs,Lazyload:Ss}).init(),(k=a.getGestures())===null||k===void 0||k.on("start",()=>{i=!1}),a.on("click",(D,V)=>{const C=V.target;if(C){const M=C.matches("button")?C:C.firstElementChild;M&&M.matches("button")&&M.focus({})}}),(B=e.getContainer())===null||B===void 0||B.classList.add("has-thumbs"),w())}function c(){var k;s()&&(l("showOnStart")&&(p(),h()),(k=e==null?void 0:e.getGestures())===null||k===void 0||k.on("start",m),e==null||e.on("addSlide",b),e==null||e.on("click",x))}function m(){var k,B;i=!0,!((k=document.activeElement)===null||k===void 0)&&k.closest(".f-thumbs")&&((B=document.activeElement)===null||B===void 0||B.blur())}function u(){var k,B;n==null||n.classList.toggle("is-syncing",(e==null?void 0:e.hasNavigated())===!1||((k=e==null?void 0:e.getTween())===null||k===void 0?void 0:k.isRunning())),w(),!((B=e==null?void 0:e.getGestures())===null||B===void 0)&&B.isPointerDown()&&function(){if(!d()||!e||!a||!i)return;const A=a.getTween(),D=a.getPages(),V=e.getPageIndex()||0,C=e.getPageProgress()||0;if(!(e&&D&&D[V]&&A))return;const M=A.isRunning()?A.getCurrentValues().pos:a.getPosition();if(M===void 0)return;let I=D[V].pos+C*(r-o);I=$e(D[0].pos,I,D[D.length-1].pos),A.from({pos:M}).to({pos:I}).start()}()}function y(){i=!0}function b(k,B){a==null||a.add(f(B),B.index)}function x(k,B){const A=B.target;A&&!B.defaultPrevented&&A.dataset.thumbsAction==="toggle"&&function(){if(n||(p(!0),h()),!n)return;const D=n.style.maxHeight;n.style.maxHeight=D?"":"0px"}()}function w(){if(!d()||!e||!a)return;const k=(a==null?void 0:a.getSlides())||[];let B=-.5*r;for(const A of k){const D=A.el;if(!D)continue;let V=e.getPageProgress(A.index)||0;V=Math.max(-1,Math.min(1,V)),V>-1&&V<1&&(B+=.5*r*(1-Math.abs(V))),V=Math.round(1e4*V)/1e4,B=Math.round(1e4*B)/1e4,D.style.setProperty("--progress",`${Math.abs(V)}`),D.style.setProperty("--shift",`${e!=null&&e.isRTL()?-1*B:B}px`),V>-1&&V<1&&(B+=.5*r*(1-Math.abs(V)))}}return{init:function(k,B){Bo=B,e=k,e.on("ready",c),e.on("render",u),e.on("change",y)},destroy:function(){var k,B;e==null||e.off("ready",c),e==null||e.off("render",u),e==null||e.off("change",y),e==null||e.off("addSlide",b),e==null||e.off("click",x),(k=e==null?void 0:e.getGestures())===null||k===void 0||k.off("start",m),(B=e==null?void 0:e.getContainer())===null||B===void 0||B.classList.remove("has-thumbs"),e=void 0,a==null||a.destroy(),a=void 0,n==null||n.remove(),n=void 0},getContainer:function(){return n},isEnabled:function(){return s()}}};/*! License details at fancyapps.com/license */const Ts={iframeAttr:{allow:"autoplay; fullscreen",scrolling:"auto"}},b7=()=>{let e;function a(o,i){let l=i.src;if(!ft(l))return;let s=i.type;if(!s){if(s||(l.charAt(0)==="#"?s="inline":l.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.((a)?png|avif|gif|jp(g|eg)|pjp(eg)?|jfif|svg|webp|bmp|ico|tif(f)?)((\?|#).*)?$)/i)?s="image":l.match(/\.(pdf)((\?|#).*)?$/i)?s="pdf":l.match(/\.(html|php)((\?|#).*)?$/i)&&(s="iframe")),!s){const d=l.match(/(?:maps\.)?google\.([a-z]{2,3}(?:\.[a-z]{2})?)\/(?:(?:(?:maps\/(?:place\/(?:.*)\/)?\@(.*),(\d+.?\d+?)z))|(?:\?ll=))(.*)?/i);d&&(l=`https://maps.google.${d[1]}/?ll=${(d[2]?d[2]+"&z="+Math.floor(parseFloat(d[3]))+(d[4]?d[4].replace(/^\//,"&"):""):d[4]+"").replace(/\?/,"&")}&output=${d[4]&&d[4].indexOf("layer=c")>0?"svembed":"embed"}`,s="gmap")}if(!s){const d=l.match(/(?:maps\.)?google\.([a-z]{2,3}(?:\.[a-z]{2})?)\/(?:maps\/search\/)(.*)/i);d&&(l=`https://maps.google.${d[1]}/maps?q=${d[2].replace("query=","q=").replace("api=1","")}&output=embed`,s="gmap")}i.src=l,i.type=s}}function n(o,i){i.type!=="iframe"&&i.type!=="pdf"&&i.type!=="gmap"||function(l){if(!e||!l.el||!l.src)return;const s=document.createElement("iframe");s.classList.add("f-iframe");for(const[p,f]of Object.entries(function(){const h=e==null?void 0:e.getOptions().Html;return Et(h)?Object.assign(Object.assign({},Ts),h):Ts}().iframeAttr||{}))s.setAttribute(p,f);s.onerror=()=>{e&&e.getState()===1&&e.showError(l,"{{IFRAME_ERROR}}")},s.src=l.src;const d=document.createElement("div");if(d.classList.add("f-html"),d.append(s),l.width){let p=`${l.width}`;p.match(/^\d+$/)&&(p+="px"),d.style.maxWidth=`${p}`}if(l.height){let p=`${l.height}`;p.match(/^\d+$/)&&(p+="px"),d.style.maxHeight=`${p}`}if(l.aspectRatio){const p=l.el.getBoundingClientRect();d.style.aspectRatio=`${l.aspectRatio}`,d.style[p.width>p.height?"width":"height"]="auto",d.style[p.width>p.height?"maxWidth":"maxHeight"]="none"}l.contentEl=s,l.htmlEl=d,l.el.classList.add("has-html"),l.el.classList.add("has-iframe"),l.el.classList.add(`has-${l.type}`),l.el.prepend(d),e.emit("contentReady",l)}(i)}function r(o,i){var l,s;i.type!=="iframe"&&i.type!=="pdf"&&i.type!=="gmap"||(e==null||e.hideError(i),(l=i.contentEl)===null||l===void 0||l.remove(),i.contentEl=void 0,(s=i.htmlEl)===null||s===void 0||s.remove(),i.htmlEl=void 0)}return{init:function(o){e=o,e.on("addSlide",a),e.on("attachSlideEl",n),e.on("detachSlideEl",r)},destroy:function(){e==null||e.off("addSlide",a),e==null||e.off("attachSlideEl",n),e==null||e.off("detachSlideEl",r),e=void 0}}};/*! License details at fancyapps.com/license */const Ps=(e,a={})=>{const n=new URL(e),r=new URLSearchParams(n.search),o=new URLSearchParams;for(const[s,d]of[...r,...Object.entries(a)]){let p=d+"";if(s==="t"){let f=p.match(/((\d*)m)?(\d*)s?/);f&&o.set("start",60*parseInt(f[2]||"0")+parseInt(f[3]||"0")+"")}else o.set(s,p)}let i=o+"",l=e.match(/#t=((.*)?\d+s)/);return l&&(i+=`#t=${l[1]}`),i},Os={autoplay:!1,html5videoTpl:`<video class="f-html5video" playsinline controls controlsList="nodownload" poster="{{poster}}">
|
|
10
|
-
<source src="{{src}}" type="{{format}}" />Sorry, your browser doesn't support embedded videos.</video>`,iframeAttr:{allow:"autoplay; fullscreen",scrolling:"auto",credentialless:""},vimeo:{byline:1,color:"00adef",controls:1,dnt:1,muted:0},youtube:{controls:1,enablejsapi:1,nocookie:1,rel:0,fs:1}},w7=()=>{let e,a=!1;function n(){const c=e==null?void 0:e.getOptions().Video;return Et(c)?Object.assign(Object.assign({},Os),c):Os}function r(){var c;return(c=e==null?void 0:e.getPage())===null||c===void 0?void 0:c.slides[0]}const o=c=>{var m;try{let u=JSON.parse(c.data);if(c.origin==="https://player.vimeo.com"){if(u.event==="ready")for(let y of Array.from(((m=e==null?void 0:e.getContainer())===null||m===void 0?void 0:m.getElementsByClassName("f-iframe"))||[]))y instanceof HTMLIFrameElement&&y.contentWindow===c.source&&(y.dataset.ready="true")}else if(c.origin.match(/^https:\/\/(www.)?youtube(-nocookie)?.com$/)&&u.event==="onReady"){const y=document.getElementById(u.id);y&&(y.dataset.ready="true")}}catch{}};function i(c,m){const u=m.src;if(!ft(u))return;let y=m.type;if(!y||y==="html5video"){const b=u.match(/\.(mp4|mov|ogv|webm)((\?|#).*)?$/i);b&&(y="html5video",m.html5videoFormat=m.html5videoFormat||"video/"+(b[1]==="ogv"?"ogg":b[1]))}if(!y||y==="youtube"){const b=u.match(/(youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(?:watch\?(?:.*&)?v=|v\/|u\/|shorts\/|embed\/?)?(videoseries\?list=(?:.*)|[\w-]{11}|\?listType=(?:.*)&list=(?:.*))(?:.*)/i);if(b){const x=Object.assign(Object.assign({},n().youtube),m.youtube||{}),w=`www.youtube${x.nocookie?"-nocookie":""}.com`,k=Ps(u,x),B=encodeURIComponent(b[2]);m.videoId=B,m.src=`https://${w}/embed/${B}?${k}`,m.thumb=m.thumb||`https://i.ytimg.com/vi/${B}/mqdefault.jpg`,y="youtube"}}if(!y||y==="vimeo"){const b=u.match(/^.+vimeo.com\/(?:\/)?(video\/)?([\d]+)((\/|\?h=)([a-z0-9]+))?(.*)?/);if(b){const x=Object.assign(Object.assign({},n().vimeo),m.vimeo||{}),w=Ps(u,x),k=encodeURIComponent(b[2]),B=b[5]||"";m.videoId=k,m.src=`https://player.vimeo.com/video/${k}?${B?`h=${B}${w?"&":""}`:""}${w}`,y="vimeo"}}m.type=y}function l(c,m){m.type==="html5video"&&function(u){if(!e||!u.el||!u.src)return;const{el:y,src:b}=u;if(!y||!b)return;const x=u.html5videoTpl||n().html5videoTpl,w=u.html5videoFormat||n().html5videoFormat;if(!x)return;const k=u.poster||(u.thumb&&ft(u.thumb)?u.thumb:""),B=fa(x.replace(/\{\{src\}\}/gi,b+"").replace(/\{\{format\}\}/gi,w||"").replace(/\{\{poster\}\}/gi,k+""));if(!B)return;const A=document.createElement("div");A.classList.add("f-html"),A.append(B),u.contentEl=B,u.htmlEl=A,y.classList.add(`has-${u.type}`),y.prepend(A),f(u),e.emit("contentReady",u)}(m),m.type!=="youtube"&&m.type!=="vimeo"||function(u){if(!e||!u.el||!u.src)return;const y=document.createElement("iframe");y.classList.add("f-iframe"),y.setAttribute("id",`f-iframe_${u.videoId}`);for(const[x,w]of Object.entries(n().iframeAttr||{}))y.setAttribute(x,w);y.onload=()=>{var x;e&&e.getState()===1&&u.type==="youtube"&&((x=y.contentWindow)===null||x===void 0||x.postMessage(JSON.stringify({event:"listening",id:y.getAttribute("id")}),"*"))},y.onerror=()=>{e&&e.getState()===1&&(e==null||e.showError(u,"{{IFRAME_ERROR}}"))},y.src=u.src;const b=document.createElement("div");b.classList.add("f-html"),b.append(y),u.contentEl=y,u.htmlEl=b,u.el.classList.add("has-html"),u.el.classList.add("has-iframe"),u.el.classList.add(`has-${u.type}`),u.el.prepend(b),f(u),e.emit("contentReady",u)}(m)}function s(c,m){var u,y;m.type!=="html5video"&&m.type!=="youtube"&&m.type!=="vimeo"||((u=m.contentEl)===null||u===void 0||u.remove(),m.contentEl=void 0,(y=m.htmlEl)===null||y===void 0||y.remove(),m.htmlEl=void 0),m.poller&&clearTimeout(m.poller)}function d(){a=!1}function p(){if(a)return;a=!0;const c=r();(c&&c.autoplay!==void 0?c.autoplay:n().autoplay)&&(function(){var m;const u=r(),y=u==null?void 0:u.el;if(y&&(u==null?void 0:u.type)==="html5video")try{const x=y.querySelector("video");if(x){const w=x.play();w!==void 0&&w.then(()=>{}).catch(k=>{x.muted=!0,x.play()})}}catch{}const b=u==null?void 0:u.htmlEl;b instanceof HTMLIFrameElement&&((m=b.contentWindow)===null||m===void 0||m.postMessage('{"event":"command","func":"stopVideo","args":""}',"*"))}(),function(){const m=r(),u=m==null?void 0:m.type;if(!(m!=null&&m.el)||u!=="youtube"&&u!=="vimeo")return;const y=()=>{if(m.contentEl&&m.contentEl instanceof HTMLIFrameElement&&m.contentEl.contentWindow){let b;if(m.contentEl.dataset.ready==="true")return b=m.type==="youtube"?{event:"command",func:"playVideo"}:{method:"play",value:"true"},b&&m.contentEl.contentWindow.postMessage(JSON.stringify(b),"*"),void(m.poller=void 0);m.type==="youtube"&&(b={event:"listening",id:m.contentEl.getAttribute("id")},m.contentEl.contentWindow.postMessage(JSON.stringify(b),"*"))}m.poller=setTimeout(y,250)};y()}())}function f(c){const m=c==null?void 0:c.htmlEl;if(c&&m&&(c.type==="html5video"||c.type==="youtube"||c.type==="vimeo")){if(m.style.aspectRatio="",m.style.width="",m.style.height="",m.style.maxWidth="",m.style.maxHeight="",c.width){let u=`${c.width}`;u.match(/^\d+$/)&&(u+="px"),m.style.maxWidth=`${u}`}if(c.height){let u=`${c.height}`;u.match(/^\d+$/)&&(u+="px"),m.style.maxHeight=`${u}`}if(c.aspectRatio){const u=c.aspectRatio.split("/"),y=parseFloat(u[0].trim()),b=u[1]?parseFloat(u[1].trim()):0,x=y&&b?y/b:y;m.offsetHeight;const w=m.getBoundingClientRect(),k=x<(w.width||1)/(w.height||1);m.style.aspectRatio=`${c.aspectRatio}`,m.style.width=k?"auto":"",m.style.height=k?"":"auto"}}}function h(){f(r())}return{init:function(c){e=c,e.on("addSlide",i),e.on("attachSlideEl",l),e.on("detachSlideEl",s),e.on("ready",p),e.on("change",d),e.on("settle",p),e.on("refresh",h),window.addEventListener("message",o)},destroy:function(){e==null||e.off("addSlide",i),e==null||e.off("attachSlideEl",l),e==null||e.off("detachSlideEl",s),e==null||e.off("ready",p),e==null||e.off("change",d),e==null||e.off("settle",p),e==null||e.off("refresh",h),window.removeEventListener("message",o),e=void 0}}};/*! License details at fancyapps.com/license */const Fs={autoStart:!1,btnTpl:'<button data-fullscreen-action="toggle" class="f-button" title="{{TOGGLE_FULLSCREEN}}"><svg><g><path d="M8 3H5a2 2 0 0 0-2 2v3M21 8V5a2 2 0 0 0-2-2h-3M3 16v3a2 2 0 0 0 2 2h3M16 21h3a2 2 0 0 0 2-2v-3"/></g><g><path d="M15 19v-2a2 2 0 0 1 2-2h2M15 5v2a2 2 0 0 0 2 2h2M5 15h2a2 2 0 0 1 2 2v2M5 9h2a2 2 0 0 0 2-2V5"/></g></svg></button>'},Ls="in-fullscreen-mode",v7=()=>{let e;function a(h){const c=e==null?void 0:e.getOptions().Fullscreen;let m=(Et(c)?Object.assign(Object.assign({},Fs),c):Fs)[h];return m&&typeof m=="function"&&e?m(e):m}function n(){var h;(h=e==null?void 0:e.getPlugins().Toolbar)===null||h===void 0||h.add("fullscreen",{tpl:a("btnTpl")})}function r(){if(a("autoStart")){const h=l();h&&d(h)}}function o(h,c){const m=c.target;m&&!c.defaultPrevented&&m.dataset.fullscreenAction==="toggle"&&f()}function i(h){l()&&h.key==="Escape"&&!h.defaultPrevented&&f()}function l(){return a("el")||(e==null?void 0:e.getContainer())||void 0}function s(){const h=document;return h.fullscreenEnabled?!!h.fullscreenElement:!!h.webkitFullscreenEnabled&&!!h.webkitFullscreenElement}function d(h){const c=document;let m;return h||(h=c.documentElement),c.fullscreenEnabled?m=h.requestFullscreen():c.webkitFullscreenEnabled&&(m=h.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT)),m&&m.then(()=>{h.classList.add(Ls)}),m}function p(){const h=document;let c;return h.fullscreenEnabled?c=h.fullscreenElement&&h.exitFullscreen():h.webkitFullscreenEnabled&&(c=h.webkitFullscreenElement&&h.webkitExitFullscreen()),c&&c.then(()=>{var m;(m=l())===null||m===void 0||m.classList.remove(Ls)}),c}function f(){const h=l();h&&(s()?p():d(h))}return{init:function(h){e=h,e.on("initPlugins",n),e.on("ready",r),e.on("click",o)},destroy:function(){e==null||e.off("initPlugins",n),e==null||e.off("ready",r),e==null||e.off("click",o),document.removeEventListener("keydown",i,!0)},exit:p,inFullscreen:s,request:d,toggle:f}};/*! License details at fancyapps.com/license */let Xt,ir=!1,$s=!1,bn=!1,Ao=!1;const lr=()=>{const e=new URL(document.URL).hash,a=e.slice(1).split("-"),n=a[a.length-1],r=n&&/^\+?\d+$/.test(n)&&parseInt(a.pop()||"1",10)||1;return{hash:e,slug:a.join("-"),index:r}},Vo=()=>{if(!Xt||Xt.getInstance())return;const{slug:e,index:a}=lr();if(!e)return;let n=document.querySelector(`[data-slug="${e}"]`);if(n&&n.dispatchEvent(new CustomEvent("click",{bubbles:!0,cancelable:!0})),!Xt||Xt.getInstance())return;const r=document.querySelectorAll(`[data-fancybox="${e}"]`);r.length&&(n=r[a-1],n&&n.dispatchEvent(new CustomEvent("click",{bubbles:!0,cancelable:!0})))},E7=()=>{var e,a,n;if(!Xt||bn)return;const r=Xt==null?void 0:Xt.getInstance();if((r==null?void 0:r.getOptions().Hash)===!1)return;const{slug:o,index:i}=lr(),l=((e=r==null?void 0:r.getSlide())===null||e===void 0?void 0:e.fancybox)||((a=r==null?void 0:r.getSlide())===null||a===void 0?void 0:a.slug)||void 0;r&&l&&(o===l?(n=r.getCarousel())===null||n===void 0||n.goTo(i-1):(Ao=!0,r.close(),Ao=!1)),Vo()},Hs=()=>{Xt&&setTimeout(()=>{ir=!0,Vo(),ir=!1,window.addEventListener("hashchange",E7,!1)},300)},_o=()=>{let e,a="auto",n="";function r(){if(!e||!e.isTopMost()||e.getOptions().Hash===!1)return;const l=e.getCarousel();if(!l)return;const{hash:s,slug:d}=lr(),p=e.getSlide();if(!p)return;let f=p.fancybox||"",h=parseInt(p.index+"",10)+1;if(!f)return;let c=`#${f}-${h}`;if(s!==c&&(n=s),history.scrollRestoration&&(a=history.scrollRestoration,history.scrollRestoration="manual"),l.on("change",o),!ir)if(f===d)try{window.history.replaceState({},document.title,window.location.pathname+window.location.search+c)}catch{}else try{window.history.pushState({},document.title,window.location.pathname+window.location.search+c),$s=!0}catch{}}function o(){if(!e||!e.isTopMost()||e.getOptions().Hash===!1)return;const{slug:l}=lr(),s=e.getSlide();if(!s)return;let d=s.fancybox||"",p=`#${d}-${s.index+1}`;if(d===l){bn=!0;try{window.history.replaceState({},document.title,window.location.pathname+window.location.search+p)}catch{}bn=!1}}function i(){if(Ao||!e||!e.isTopMost()||e.getOptions().Hash===!1)return;const l=e.getSlide();if(l&&l.fancybox){bn=!0;try{!$s||ir||function(){if(window.parent===window)return!1;try{var s=window.frameElement}catch{s=null}return s===null?location.protocol==="data:":s.hasAttribute("sandbox")}()?window.history.replaceState({},document.title,window.location.pathname+window.location.search+n):window.history.back()}catch{}bn=!1}}return{init:function(l){e=l,e.on("ready",r),e.on("close",i)},destroy:function(){e==null||e.off("ready",r),e==null||e.off("close",i);const l=e==null?void 0:e.getCarousel();l&&l.off("change",o),e=void 0,history.scrollRestoration&&a&&(history.scrollRestoration=a)}}};_o.startFromUrl=Vo,_o.setup=function(e){Xt||(Xt=e,xs()&&(/complete|interactive|loaded/.test(document.readyState)?Hs():document.addEventListener("DOMContentLoaded",Hs)))};/*! License details at fancyapps.com/license */const C7=Object.assign(Object.assign({},So),{CLOSE:"Close",NEXT:"Next",PREV:"Previous",MODAL:"You can close this modal content with the ESC key",ELEMENT_NOT_FOUND:"HTML Element Not Found",IFRAME_ERROR:"Error Loading Page"});/*! License details at fancyapps.com/license */const Rs='<button class="f-button" title="{{CLOSE}}" data-fancybox-close><svg><path d="M19.286 4.714 4.714 19.286M4.714 4.714l14.572 14.572" /></svg></button>';Ns().add("close",{tpl:Rs});const zs=e=>{e&&e.dispatchEvent(new CustomEvent("animationend",{bubbles:!1,cancelable:!0,currentTarget:e}))},Is=(e=null,a="",n)=>{if(!e||!e.parentElement||!a)return void(n&&n());zs(e);const r=o=>{o.target===e&&e.dataset.animationName&&(e.removeEventListener("animationend",r),delete e.dataset.animationName,n&&n(),e.classList.remove(a))};e.dataset.animationName=a,e.addEventListener("animationend",r),ze(e,a)};var dt;(function(e){e[e.Init=0]="Init",e[e.Ready=1]="Ready",e[e.Closing=2]="Closing",e[e.Destroyed=3]="Destroyed"})(dt||(dt={}));const wn={ajax:null,backdropClick:"close",Carousel:{},closeButton:"auto",closeExisting:!1,delegateEl:void 0,dragToClose:!0,fadeEffect:!0,groupAll:!1,groupAttr:"data-fancybox",hideClass:"f-fadeOut",hideScrollbar:!0,id:void 0,idle:!1,keyboard:{Escape:"close",Delete:"close",Backspace:"close",PageUp:"next",PageDown:"prev",ArrowUp:"prev",ArrowDown:"next",ArrowRight:"next",ArrowLeft:"prev"},l10n:C7,mainClass:"",mainStyle:{},mainTpl:`<dialog class="fancybox__dialog">
|
|
9
|
+
data-lazy-src="{{src}}" alt="{{alt}}" />`},Q7=()=>{let e;function a(u,m){const d=e==null?void 0:e.getOptions().Zoomable;let h=(Et(d)?Object.assign(Object.assign({},$l),d):$l)[u];return h&&typeof h=="function"&&m?h(m):h}function n(){e&&(e.on("addSlide",i),e.on("removeSlide",s),e.on("attachSlideEl",l),e.on("click",o),e.on("change",r))}function r(){c()}function o(u,m){const d=m.target;d&&!m.defaultPrevented&&d.dataset.panzoomAction&&p(d.dataset.panzoomAction)}function i(u,m){if(!e)return;const d=m.el;if(!d)return;const h=m.src||m.lazySrc||"",f=m.alt||m.caption||`Image #${m.index}`,g=m.srcset||m.lazySrcset||"",b=m.sizes||m.lazySizes||"";if(h&&mt(h)&&!m.html&&(!m.type||m.type==="image")){m.type="image";let V=a("tpl",m);V=xa(V,"{{src}}",h+""),V=xa(V,"{{alt}}",f+""),V=xa(V,"{{srcset}}",g+""),V=xa(V,"{{sizes}}",b+""),d.insertAdjacentHTML("afterbegin",V)}if(!d.querySelector(".f-panzoom__content"))return;const x=m.width&&m.width!=="auto"?parseFloat(m.width+""):"auto",w=m.height&&m.height!=="auto"?parseFloat(m.height+""):"auto",k=To(d,Object.assign({width:x,height:w,event:()=>e==null?void 0:e.getLastMouseMove(),classes:{container:"f-zoomable"}},a("Panzoom")));k.on("*",(V,_,...T)=>{e&&(_==="loading"&&(m.state=0),_==="loaded"&&(m.state=1),_==="error"&&(m.state=2,e==null||e.showError(m,"{{IMAGE_ERROR}}")),e.emit(`panzoom:${_}`,m,...T),_==="ready"&&e.emit("contentReady",m),m.index===e.getPageIndex()&&c())}),m.panzoomRef=k}function s(u,m){m.panzoomRef&&(m.panzoomRef.destroy(),m.panzoomRef=void 0)}function l(u,m){const d=m.panzoomRef;if(d)switch(d.getState()){case 0:d.init();break;case 3:d.execute(we.Reset,{velocity:0})}}function c(){var u;const m=e==null?void 0:e.getContainer();if(!m)return;const d=(u=e==null?void 0:e.getPage())===null||u===void 0?void 0:u.slides[0].panzoomRef,h=(d==null?void 0:d.canZoomIn())||!1,f=(d==null?void 0:d.canZoomOut())||!1,g=(d==null?void 0:d.isFullsize())||!1,b=!d||(d==null?void 0:d.getState())!==3;for(const x of(m==null?void 0:m.querySelectorAll("[data-panzoom-action]"))||[]){const w=x.dataset.panzoomAction;let k=!1;if(b)k=!0;else switch(w){case we.ZoomIn:h||(k=!0);break;case we.ZoomOut:f||(k=!0);break;case we.ToggleFull:h||f||(k=!0);const V=x.querySelector("g");V&&(V.style.display=g?"none":"");break;case we.ToggleCover:case we.ToggleMax:h||f||(k=!0)}k?(x.setAttribute("aria-disabled",""),x.setAttribute("tabindex","-1")):(x.removeAttribute("aria-disabled"),x.removeAttribute("tabindex"))}}function p(u,...m){var d;(d=e==null?void 0:e.getPage().slides[0].panzoomRef)===null||d===void 0||d.execute(u,...m)}return{init:function(u){e=u,e.getOptions().Zoomable!==!1&&e.on("initPlugins",n)},destroy:function(){if(e){e.off("addSlide",i),e.off("removeSlide",s),e.off("attachSlideEl",l),e.off("change",r);for(const u of e.getSlides())s(0,u)}e=void 0},execute:p}};/*! License details at fancyapps.com/license */const Rl={syncOnChange:!1,syncOnClick:!0,syncOnHover:!1},Hl=()=>{let e,a;function n(){const h=e==null?void 0:e.getOptions().Sync;return Et(h)?Object.assign(Object.assign({},Rl),h):Rl}function r(h){var f,g,b;e&&h&&(a=h,e.getOptions().classes=Object.assign(Object.assign({},e.getOptions().classes),{isSelected:""}),e.getOptions().initialSlide=((g=(f=a.getPage())===null||f===void 0?void 0:f.slides[0])===null||g===void 0?void 0:g.index)||0,n().syncOnChange&&e.on("change",s),n().syncOnClick&&e.on("click",c),n().syncOnHover&&((b=e.getViewport())===null||b===void 0||b.addEventListener("mouseover",p)),function(){!e||!a||(e.on("ready",i),e.on("refresh",u),a.on("change",l),a.on("filter",m))}())}function o(){const h=n().target;e&&h&&r(h)}function i(){d()}function s(){var h;if(e&&a){const f=((h=e.getPage())===null||h===void 0?void 0:h.slides)||[],g=a.getPageIndex(f[0].index||0);g>-1&&a.goTo(g,e.hasNavigated()?void 0:{tween:!1,transition:!1}),d()}}function l(){var h;if(e&&a){const f=e.getPageIndex(((h=a.getPage())===null||h===void 0?void 0:h.slides[0].index)||0);f>-1&&e.goTo(f,a.hasNavigated()?void 0:{tween:!1,transition:!1}),d()}}function c(h,f){var g;if(!e||!a||!((g=e.getTween())===null||g===void 0)&&g.isRunning())return;const b=e==null?void 0:e.getOptions().classes.slide;if(!b)return;const x=b?f.target.closest(`.${b}`):null;if(x){const w=parseInt(x.getAttribute("index")||"")||0,k=a.getPageIndex(w);a.goTo(k)}}function p(h){e&&c(0,h)}function u(){var h;if(e&&a){const f=e.getPageIndex(((h=a.getPage())===null||h===void 0?void 0:h.slides[0].index)||0);f>-1&&e.goTo(f,{tween:!1,transition:!1}),d()}}function m(h,f){e&&a&&(e.filter(f),l())}function d(){var h,f,g;if(!a)return;const b=((f=(h=a.getPage())===null||h===void 0?void 0:h.slides[0])===null||f===void 0?void 0:f.index)||0;for(const x of(e==null?void 0:e.getSlides())||[])(g=x.el)===null||g===void 0||g.classList.toggle("is-selected",x.index===b)}return{init:function(h){e=h,e.on("initSlides",o)},destroy:function(){var h;e==null||e.off("ready",i),e==null||e.off("refresh",u),e==null||e.off("change",s),e==null||e.off("click",c),(h=e==null?void 0:e.getViewport())===null||h===void 0||h.removeEventListener("mouseover",p),a==null||a.off("change",l),a==null||a.off("filter",m),a=void 0,e==null||e.off("initSlides",o),e=void 0},getTarget:function(){return a}}};/*! License details at fancyapps.com/license */const zl={showLoading:!0,preload:1},ur="is-lazyloading",Il="is-lazyloaded",Gl=()=>{let e;function a(){const o=e==null?void 0:e.getOptions().Lazyload;return Et(o)?Object.assign(Object.assign({},zl),o):zl}function n(o){const i=o.el;if(!i)return;const s="[data-lazy-src],[data-lazy-srcset],[data-lazy-bg]",l=Array.from(i.querySelectorAll(s));i.matches(s)&&l.push(i);for(const c of l){const p=c.dataset.lazySrc,u=c.dataset.lazySrcset,m=c.dataset.lazySizes,d=c.dataset.lazyBg,h=(c instanceof HTMLImageElement||c instanceof HTMLSourceElement)&&(p||u),f=c instanceof HTMLElement&&d;if(!h&&!f)continue;const g=p||u||d;g&&(h&&g?(a().showLoading&&(e==null||e.showLoading(o)),c.addEventListener("load",()=>{e==null||e.hideLoading(o),c instanceof HTMLImageElement?c.decode().then(()=>{c.classList.remove(ur),c.classList.add(Il)}):(c.classList.remove(ur),c.classList.add(Il)),e==null||e.emit("lazyLoad:loaded",o,c,g)}),c.addEventListener("error",()=>{e==null||e.hideLoading(o),c.classList.remove(ur),c.classList.add("has-lazyerror"),e==null||e.emit("lazyLoad:error",o,c,g)}),c.classList.add("f-lazyload"),c.classList.add(ur),e==null||e.emit("lazyLoad:load",o,c,g),p&&(c.src=p),u&&(c.srcset=u),m&&(c.sizes=m)):f&&(document.body.contains(c)||(document.createElement("img").src=d),c.style.backgroundImage=`url('${d}')`),delete c.dataset.lazySrc,delete c.dataset.lazySrcset,delete c.dataset.lazySizes)}}function r(){if(!e)return;const o=a().preload,i=[...e.getVisibleSlides()],s=e.getPosition(),l=e.getViewportDim();i.push(...e.getVisibleSlides(s+l*o),...e.getVisibleSlides(s-l*o));for(const c of i||[])n(c)}return{init:function(o){e=o,e.on("render",r)},destroy:function(){e==null||e.off("render",r),e=void 0}}};/*! License details at fancyapps.com/license */const jl={prevTpl:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" tabindex="-1"><path d="M15 3l-9 9 9 9"></path></svg>',nextTpl:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" tabindex="-1"><path d="M9 3l9 9-9 9"></path></svg>'},K7=()=>{let e,a,n;function r(s){if(!e)return;const l=`<button data-carousel-go-${s} tabindex="0" class="f-button is-arrow is-${s}" title="{{${s.toUpperCase()}}}">`+function(){const c=e==null?void 0:e.getOptions().Arrows;return Et(c)?Object.assign(Object.assign({},jl),c):jl}()[`${s}Tpl`]+"</button";return ha(e.localize(l))||void 0}function o(){var s;a==null||a.remove(),a=void 0,n==null||n.remove(),n=void 0,(s=e==null?void 0:e.getContainer())===null||s===void 0||s.classList.remove("has-arrows")}function i(){e&&e.getOptions().Arrows!==!1&&e.getPages().length>1?(function(){if(!e)return;const s=e.getViewport();s&&(a||(a=r("prev"),a&&s.insertAdjacentElement("beforebegin",a)),n||(n=r("next"),n&&s.insertAdjacentElement("afterend",n)),ba(e.getContainer(),"has-arrows",!(!a&&!n)))}(),e&&(a==null||a.toggleAttribute("aria-disabled",!e.canGoPrev()),n==null||n.toggleAttribute("aria-disabled",!e.canGoNext()))):o()}return{init:function(s){e=s.on(["change","refresh"],i)},destroy:function(){o(),e==null||e.off(["change","refresh"],i),e=void 0}}};/*! License details at fancyapps.com/license */const ql={moveLeft:{tpl:'<button data-panzoom-action="moveLeft" class="f-button" title="{{MOVE_LEFT}}"><svg><path d="M5 12h14M5 12l6 6M5 12l6-6"/></svg></button>'},moveRight:{tpl:'<button data-panzoom-action="moveRight" class="f-button" title="{{MOVE_RIGHT}}"><svg><path d="M5 12h14M13 18l6-6M13 6l6 6"/></svg></button>'},moveUp:{tpl:'<button data-panzoom-action="moveUp" class="f-button" title="{{MOVE_UP}}"><svg><path d="M12 5v14M18 11l-6-6M6 11l6-6"/></svg></button>'},moveDown:{tpl:'<button data-panzoom-action="moveDown" class="f-button" title="{{MOVE_DOWN}}"><svg><path d="M12 5v14M18 13l-6 6M6 13l6 6"/></svg></button>'},zoomIn:{tpl:'<button data-panzoom-action="zoomIn" class="f-button" title="{{ZOOM_IN}}"><svg><circle cx="11" cy="11" r="7.5"/><path d="m21 21-4.35-4.35M11 8v6M8 11h6"/></svg></button>'},zoomOut:{tpl:'<button data-panzoom-action="zoomOut" class="f-button" title="{{ZOOM_OUT}}"><svg><circle cx="11" cy="11" r="7.5"/><path d="m21 21-4.35-4.35M8 11h6"/></svg></button>'},toggle1to1:{tpl:'<button data-panzoom-action="toggleFull" class="f-button" title="{{TOGGLE_FULL}}"><svg><path d="M3.51 3.07c5.74.02 11.48-.02 17.22.02 1.37.1 2.34 1.64 2.18 3.13 0 4.08.02 8.16 0 12.23-.1 1.54-1.47 2.64-2.79 2.46-5.61-.01-11.24.02-16.86-.01-1.36-.12-2.33-1.65-2.17-3.14 0-4.07-.02-8.16 0-12.23.1-1.36 1.22-2.48 2.42-2.46Z"/><path d="M5.65 8.54h1.49v6.92m8.94-6.92h1.49v6.92M11.5 9.4v.02m0 5.18v0"/></svg></button>'},toggleFull:{tpl:'<button data-panzoom-action="toggleFull" class="f-button" title="{{TOGGLE_FULL}}"><svg><g><line x1="11" y1="8" x2="11" y2="14"></line></g><circle cx="11" cy="11" r="7.5"/><path d="m21 21-4.35-4.35M8 11h6"/></svg></button>'},rotateCCW:{tpl:'<button data-panzoom-action="rotateCCW" class="f-button" title="{{ROTATE_CCW}}"><svg><path d="M15 4.55a8 8 0 0 0-6 14.9M9 15v5H4M18.37 7.16v.01M13 19.94v.01M16.84 18.37v.01M19.37 15.1v.01M19.94 11v.01"/></svg></button>'},rotateCW:{tpl:'<button data-panzoom-action="rotateCW" class="f-button" title="{{ROTATE_CW}}"><svg><path d="M9 4.55a8 8 0 0 1 6 14.9M15 15v5h5M5.63 7.16v.01M4.06 11v.01M4.63 15.1v.01M7.16 18.37v.01M11 19.94v.01"/></svg></button>'},flipX:{tpl:'<button data-panzoom-action="flipX" class="f-button" title="{{FLIP_X}}"><svg><path d="M12 3v18M16 7v10h5L16 7M8 7v10H3L8 7"/></svg></button>'},flipY:{tpl:'<button data-panzoom-action="flipY" class="f-button" title="{{FLIP_Y}}"><svg><path d="M3 12h18M7 16h10L7 21v-5M7 8h10L7 3v5"/></svg></button>'},reset:{tpl:'<button data-panzoom-action="reset" class="f-button" title="{{RESET}}"><svg><path d="M20 11A8.1 8.1 0 0 0 4.5 9M4 5v4h4M4 13a8.1 8.1 0 0 0 15.5 2m.5 4v-4h-4"/></svg></button>'}};/*! License details at fancyapps.com/license */var Wl;(function(e){e.Left="left",e.middle="middle",e.right="right"})(Wl||(Wl={}));const Yl=Object.assign({counter:{tpl:'<div class="f-carousel__counter"><span data-carousel-page></span>/<span data-carousel-pages></span></div>'},download:{tpl:'<button data-carousel-download class="f-button" title="{{DOWNLOAD}}"><svg><path d="M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2M7 11l5 5 5-5M12 4v12"/></svg></button>'},autoplay:{tpl:'<button data-autoplay-action="toggle" class="f-button" title="{{TOGGLE_AUTOPLAY}}"><svg><g><path d="M5 3.5 19 12 5 20.5Z"/></g><g><path d="M8 4v15M17 4v15"/></g></svg></button>'},thumbs:{tpl:'<button data-thumbs-action="toggle" class="f-button" title="{{TOGGLE_THUMBS}}"><svg><rect width="18" height="14" x="3" y="3" rx="2"/><path d="M4 21h1M9 21h1M14 21h1M19 21h1"/></svg></button>'}},ql),Ul={absolute:!1,display:{left:[],middle:["zoomIn","zoomOut","toggle1to1","rotateCCW","rotateCW","flipX","flipY","reset"],right:[]},enabled:"auto",items:{}},Xl=()=>{let e,a;function n(){const o=e==null?void 0:e.getOptions().Toolbar;return Et(o)?Object.assign(Object.assign({},Ul),o):Ul}function r(){var o,i,s;if(!(e!=null&&e.getOptions().Toolbar)||!e||a)return;let l=n().enabled;if(!l)return;let c=n().absolute;const p=e.getSlides().length>1;let u=!1,m=!1;for(const x of e.getSlides())x.panzoomRef&&(u=!0),(x.downloadSrc||x.type==="image"&&x.src)&&(m=!0);let d=((o=e.getPlugins().Thumbs)===null||o===void 0?void 0:o.isEnabled())||!1,h=p&&e.getPlugins().Autoplay||!1,f=e.getPlugins().Fullscreen&&(document.fullscreenEnabled||document.webkitFullscreenEnabled);if(l==="auto"&&(l=u),!l)return;a=document.createElement("div"),a.classList.add("f-carousel__toolbar");const g=n().display,b=Tt({},Yl,n().items);for(const x of["left","middle","right"]){const w=g[x]||[],k=document.createElement("div");k.classList.add("f-carousel__toolbar__column"),k.classList.add(`is-${x}`);for(const V of w){let _;if(mt(V)){if(V==="counter"&&!p||V==="autoplay"&&!h||ql[V]&&!u||V==="fullscreen"&&!f||V==="thumbs"&&!d||V==="download"&&!m)continue;_=b[V]}if(typeof V=="object"&&(_=V),_&&_.tpl){let T=e.localize(_.tpl);T=T.split("<svg>").join('<svg tabindex="-1" width="24" height="24" viewBox="0 0 24 24">');const N=ha(T);N&&(typeof _.click=="function"&&e&&N.addEventListener("click",S=>{S.preventDefault(),S.stopPropagation(),typeof _.click=="function"&&e&&_.click(e,S)}),k.append(N))}}a.append(k)}a.childElementCount&&(c===!0&&a.classList.add("is-absolute"),(i=e.getContainer())===null||i===void 0||i.classList.add("has-toolbar"),(s=e.getViewport())===null||s===void 0||s.insertAdjacentElement("beforebegin",a))}return{init:function(o){e=o,e.on("initSlides",r)},destroy:function(){var o;e==null||e.off("initSlides",r),(o=e==null?void 0:e.getContainer())===null||o===void 0||o.classList.remove("has-toolbar"),a==null||a.remove(),a=void 0},add:function(o,i){Yl[o]=i},isEnabled:function(){return!!a}}};/*! License details at fancyapps.com/license */const Zl={autoStart:!0,pauseOnHover:!0,showProgressbar:!0,timeout:2e3},J7=()=>{let e,a,n=!1,r=!1,o=!1,i=null;function s(T){const N=e==null?void 0:e.getOptions().Autoplay;let S=(Et(N)?Object.assign(Object.assign({},Zl),N):Zl)[T];return S&&typeof S=="function"&&e?S(e):S}function l(){var T;const N=((T=e==null?void 0:e.getPage())===null||T===void 0?void 0:T.slides)||[];for(const S of N)if(S.state===0)return!0;return!1}function c(){clearTimeout(a),a=void 0}function p(){if(a||o||l()||!(e!=null&&e.isSettled()))return;(function(){var N,S,B,G;if(!e||(d(),!s("showProgressbar")))return;let O=s("progressbarParentEl");if(!O&&(!((N=e.getPlugins().Toolbar)===null||N===void 0)&&N.isEnabled())&&(O=e.getContainer()),!O&&((S=e.getPlugins().Toolbar)===null||S===void 0?void 0:S.isEnabled())!==!0){const U=((B=e.getPages()[0])===null||B===void 0?void 0:B.slides)||[],E=((G=e.getPage())===null||G===void 0?void 0:G.slides)||[];U.length===1&&E.length===1&&(O=E[0].el)}if(O||(O=e.getViewport()),!O)return;i=document.createElement("div"),i.classList.add("f-progressbar"),O.prepend(i);const Q=s("timeout")||1e3;i.style.animationDuration=`${Q}ms`})();const T=s("timeout");a=setTimeout(()=>{e&&n&&!r&&(e.isInfinite()||e.getPageIndex()!==e.getPages().length-1?e.next():e.goTo(0))},T)}function u(){var T,N;if(!e||e.getPages().length<2||e.getOptions().Autoplay===!1||n)return;n=!0,e.emit("autoplay:start",s("timeout")),(T=e.getContainer())===null||T===void 0||T.classList.add("has-autoplay"),(N=e.getTween())===null||N===void 0||N.on("start",w);const S=e==null?void 0:e.getContainer();S&&s("pauseOnHover")&&matchMedia("(hover: hover)").matches&&(S.addEventListener("mouseenter",k,!1),S.addEventListener("mouseleave",V,!1)),e.on("change",b),e.on("settle",x),e.on("contentReady",f),e.on("panzoom:animationStart",m),e.isSettled()&&p()}function m(){var T,N;if(c(),d(),n&&e){e.emit("autoplay:end"),(T=e.getContainer())===null||T===void 0||T.classList.remove("has-autoplay"),(N=e.getTween())===null||N===void 0||N.off("start",w);const S=e==null?void 0:e.getContainer();S&&(S.removeEventListener("mouseenter",k,!1),S.removeEventListener("mouseleave",V,!1))}e&&(e.off("change",b),e.off("settle",x),e.off("contentReady",f),e.off("panzoom:animationStart",m)),n=!1,r=!1}function d(){i&&(i.remove(),i=null)}function h(){e&&e.getPages().length>1&&s("autoStart")&&u()}function f(T){e&&e.getPageIndex(T.index)===e.getPageIndex()&&(!n||o||l()||p())}function g(T,N){const S=N.target;S&&!N.defaultPrevented&&S.dataset.autoplayAction==="toggle"&&_.toggle()}function b(){!e||!(e!=null&&e.isInfinite())&&e.getPageIndex()===e.getPages().length-1?m():(d(),c())}function x(){!n||o||r||p()}function w(){c(),d()}function k(){o=!0,n&&(d(),c())}function V(){o=!1,n&&!r&&(e!=null&&e.isSettled())&&p()}const _={init:function(T){e=T,e.on("ready",h),e.on("click",g)},destroy:function(){m(),e==null||e.off("ready",h),e==null||e.off("click",g),e=void 0},isEnabled:()=>n,pause:function(){r=!0,c()},resume:function(){r=!1,n&&!o&&p()},start(){u()},stop(){m()},toggle(){n?m():u()}};return _};/*! License details at fancyapps.com/license */const Lo={Carousel:{Lazyload:{showLoading:!1}},minCount:2,showOnStart:!0,thumbTpl:'<button aria-label="Slide to #{{page}}"><img draggable="false" alt="{{alt}}" data-lazy-src="{{src}}" /></button>',type:"modern"};let $o;const ef=()=>{let e,a,n,r=0,o=0,i=!0;function s(k){const V=e==null?void 0:e.getOptions().Thumbs;let _=(Et(V)?Object.assign(Object.assign({},Lo),V):Lo)[k];return _&&typeof _=="function"?_():_}function l(){if(!e||(e==null?void 0:e.getOptions().Thumbs)===!1)return!1;let k=0;for(const V of e.getSlides())V.thumbSrc&&k++;return k>=s("minCount")}function c(){return s("type")==="modern"}function p(k=!1){const V=e==null?void 0:e.getContainer();if(e&&V&&!n&&l()){if(!n){const _=V.nextElementSibling;_!=null&&_.classList.contains("f-thumbs")&&(n=_)}if(!n){n=document.createElement("div"),n.classList.add("f-thumbs");const _=s("parentEl");_?_.insertAdjacentElement("beforeend",n):V.insertAdjacentElement("afterend",n)}n.classList.add(`is-${s("type")}`),n.classList.add("is-syncing"),k&&(n.style.maxHeight="0px")}}function u(k){let V=k.thumb?k.thumb instanceof HTMLImageElement?k.thumb.src:k.thumb:k.thumbSrc||void 0,_=s("thumbTpl");return _=xa(_,"{{alt}}",`Thumbnail #${k.index}`),_=xa(_,"{{src}}",V+""),_=xa(_,"{{index}}",`${k.index}`),_=xa(_,"{{page}}",`${k.index||1}`),{html:_,class:k.thumbClass}}function m(){var k,V;if(!$o||!e||!n||a)return;const _=[];for(const T of e.getSlides())_.push(u(T));_.length&&(a=$o(n,Tt({},{Sync:{target:e},Lazyload:{preload:1},slides:_,classes:{container:"f-thumbs",viewport:"f-thumbs__viewport",slide:"f-thumbs__slide"},initialSlide:e.getOptions().initialPage,center:!0,fill:!c(),infinite:!1,dragFree:!0,rtl:e.getOptions().rtl||!1,slidesPerPage:T=>{let N=0;return c()&&(function(){if(!c()||!n)return;const S=B=>n&&parseFloat(getComputedStyle(n).getPropertyValue("--f-thumb-"+B))||0;r=S("width"),o=S("clip-width")}(),N=4*(r-o)),T&&T.getTotalSlideDim()<=T.getViewportDim()-N?1/0:1}},Lo.Carousel||{},s("Carousel")||{}),{Sync:Hl,Lazyload:Gl}).init(),(k=a.getGestures())===null||k===void 0||k.on("start",()=>{i=!1}),a.on("click",(T,N)=>{const S=N.target;if(S){const B=S.matches("button")?S:S.firstElementChild;B&&B.matches("button")&&B.focus({})}}),(V=e.getContainer())===null||V===void 0||V.classList.add("has-thumbs"),w())}function d(){var k;l()&&(s("showOnStart")&&(p(),m()),(k=e==null?void 0:e.getGestures())===null||k===void 0||k.on("start",h),e==null||e.on("addSlide",b),e==null||e.on("click",x))}function h(){var k,V;i=!0,!((k=document.activeElement)===null||k===void 0)&&k.closest(".f-thumbs")&&((V=document.activeElement)===null||V===void 0||V.blur())}function f(){var k,V;n==null||n.classList.toggle("is-syncing",(e==null?void 0:e.hasNavigated())===!1||((k=e==null?void 0:e.getTween())===null||k===void 0?void 0:k.isRunning())),w(),!((V=e==null?void 0:e.getGestures())===null||V===void 0)&&V.isPointerDown()&&function(){if(!c()||!e||!a||!i)return;const _=a.getTween(),T=a.getPages(),N=e.getPageIndex()||0,S=e.getPageProgress()||0;if(!(e&&T&&T[N]&&_))return;const B=_.isRunning()?_.getCurrentValues().pos:a.getPosition();if(B===void 0)return;let G=T[N].pos+S*(r-o);G=$e(T[0].pos,G,T[T.length-1].pos),_.from({pos:B}).to({pos:G}).start()}()}function g(){i=!0}function b(k,V){a==null||a.add(u(V),V.index)}function x(k,V){const _=V.target;_&&!V.defaultPrevented&&_.dataset.thumbsAction==="toggle"&&function(){if(n||(p(!0),m()),!n)return;const T=n.style.maxHeight;n.style.maxHeight=T?"":"0px"}()}function w(){if(!c()||!e||!a)return;const k=(a==null?void 0:a.getSlides())||[];let V=-.5*r;for(const _ of k){const T=_.el;if(!T)continue;let N=e.getPageProgress(_.index)||0;N=Math.max(-1,Math.min(1,N)),N>-1&&N<1&&(V+=.5*r*(1-Math.abs(N))),N=Math.round(1e4*N)/1e4,V=Math.round(1e4*V)/1e4,T.style.setProperty("--progress",`${Math.abs(N)}`),T.style.setProperty("--shift",`${e!=null&&e.isRTL()?-1*V:V}px`),N>-1&&N<1&&(V+=.5*r*(1-Math.abs(N)))}}return{init:function(k,V){$o=V,e=k,e.on("ready",d),e.on("render",f),e.on("change",g)},destroy:function(){var k,V;e==null||e.off("ready",d),e==null||e.off("render",f),e==null||e.off("change",g),e==null||e.off("addSlide",b),e==null||e.off("click",x),(k=e==null?void 0:e.getGestures())===null||k===void 0||k.off("start",h),(V=e==null?void 0:e.getContainer())===null||V===void 0||V.classList.remove("has-thumbs"),e=void 0,a==null||a.destroy(),a=void 0,n==null||n.remove(),n=void 0},getContainer:function(){return n},isEnabled:function(){return l()}}};/*! License details at fancyapps.com/license */const Ql={iframeAttr:{allow:"autoplay; fullscreen",scrolling:"auto"}},tf=()=>{let e;function a(o,i){let s=i.src;if(!mt(s))return;let l=i.type;if(!l){if(l||(s.charAt(0)==="#"?l="inline":s.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.((a)?png|avif|gif|jp(g|eg)|pjp(eg)?|jfif|svg|webp|bmp|ico|tif(f)?)((\?|#).*)?$)/i)?l="image":s.match(/\.(pdf)((\?|#).*)?$/i)?l="pdf":s.match(/\.(html|php)((\?|#).*)?$/i)&&(l="iframe")),!l){const c=s.match(/(?:maps\.)?google\.([a-z]{2,3}(?:\.[a-z]{2})?)\/(?:(?:(?:maps\/(?:place\/(?:.*)\/)?\@(.*),(\d+.?\d+?)z))|(?:\?ll=))(.*)?/i);c&&(s=`https://maps.google.${c[1]}/?ll=${(c[2]?c[2]+"&z="+Math.floor(parseFloat(c[3]))+(c[4]?c[4].replace(/^\//,"&"):""):c[4]+"").replace(/\?/,"&")}&output=${c[4]&&c[4].indexOf("layer=c")>0?"svembed":"embed"}`,l="gmap")}if(!l){const c=s.match(/(?:maps\.)?google\.([a-z]{2,3}(?:\.[a-z]{2})?)\/(?:maps\/search\/)(.*)/i);c&&(s=`https://maps.google.${c[1]}/maps?q=${c[2].replace("query=","q=").replace("api=1","")}&output=embed`,l="gmap")}i.src=s,i.type=l}}function n(o,i){i.type!=="iframe"&&i.type!=="pdf"&&i.type!=="gmap"||function(s){if(!e||!s.el||!s.src)return;const l=document.createElement("iframe");l.classList.add("f-iframe");for(const[p,u]of Object.entries(function(){const m=e==null?void 0:e.getOptions().Html;return Et(m)?Object.assign(Object.assign({},Ql),m):Ql}().iframeAttr||{}))l.setAttribute(p,u);l.onerror=()=>{e&&e.getState()===1&&e.showError(s,"{{IFRAME_ERROR}}")},l.src=s.src;const c=document.createElement("div");if(c.classList.add("f-html"),c.append(l),s.width){let p=`${s.width}`;p.match(/^\d+$/)&&(p+="px"),c.style.maxWidth=`${p}`}if(s.height){let p=`${s.height}`;p.match(/^\d+$/)&&(p+="px"),c.style.maxHeight=`${p}`}if(s.aspectRatio){const p=s.el.getBoundingClientRect();c.style.aspectRatio=`${s.aspectRatio}`,c.style[p.width>p.height?"width":"height"]="auto",c.style[p.width>p.height?"maxWidth":"maxHeight"]="none"}s.contentEl=l,s.htmlEl=c,s.el.classList.add("has-html"),s.el.classList.add("has-iframe"),s.el.classList.add(`has-${s.type}`),s.el.prepend(c),e.emit("contentReady",s)}(i)}function r(o,i){var s,l;i.type!=="iframe"&&i.type!=="pdf"&&i.type!=="gmap"||(e==null||e.hideError(i),(s=i.contentEl)===null||s===void 0||s.remove(),i.contentEl=void 0,(l=i.htmlEl)===null||l===void 0||l.remove(),i.htmlEl=void 0)}return{init:function(o){e=o,e.on("addSlide",a),e.on("attachSlideEl",n),e.on("detachSlideEl",r)},destroy:function(){e==null||e.off("addSlide",a),e==null||e.off("attachSlideEl",n),e==null||e.off("detachSlideEl",r),e=void 0}}};/*! License details at fancyapps.com/license */const Kl=(e,a={})=>{const n=new URL(e),r=new URLSearchParams(n.search),o=new URLSearchParams;for(const[l,c]of[...r,...Object.entries(a)]){let p=c+"";if(l==="t"){let u=p.match(/((\d*)m)?(\d*)s?/);u&&o.set("start",60*parseInt(u[2]||"0")+parseInt(u[3]||"0")+"")}else o.set(l,p)}let i=o+"",s=e.match(/#t=((.*)?\d+s)/);return s&&(i+=`#t=${s[1]}`),i},Jl={autoplay:!1,html5videoTpl:`<video class="f-html5video" playsinline controls controlsList="nodownload" poster="{{poster}}">
|
|
10
|
+
<source src="{{src}}" type="{{format}}" />Sorry, your browser doesn't support embedded videos.</video>`,iframeAttr:{allow:"autoplay; fullscreen",scrolling:"auto",credentialless:""},vimeo:{byline:1,color:"00adef",controls:1,dnt:1,muted:0},youtube:{controls:1,enablejsapi:1,nocookie:1,rel:0,fs:1}},af=()=>{let e,a=!1;function n(){const d=e==null?void 0:e.getOptions().Video;return Et(d)?Object.assign(Object.assign({},Jl),d):Jl}function r(){var d;return(d=e==null?void 0:e.getPage())===null||d===void 0?void 0:d.slides[0]}const o=d=>{var h;try{let f=JSON.parse(d.data);if(d.origin==="https://player.vimeo.com"){if(f.event==="ready")for(let g of Array.from(((h=e==null?void 0:e.getContainer())===null||h===void 0?void 0:h.getElementsByClassName("f-iframe"))||[]))g instanceof HTMLIFrameElement&&g.contentWindow===d.source&&(g.dataset.ready="true")}else if(d.origin.match(/^https:\/\/(www.)?youtube(-nocookie)?.com$/)&&f.event==="onReady"){const g=document.getElementById(f.id);g&&(g.dataset.ready="true")}}catch{}};function i(d,h){const f=h.src;if(!mt(f))return;let g=h.type;if(!g||g==="html5video"){const b=f.match(/\.(mp4|mov|ogv|webm)((\?|#).*)?$/i);b&&(g="html5video",h.html5videoFormat=h.html5videoFormat||"video/"+(b[1]==="ogv"?"ogg":b[1]))}if(!g||g==="youtube"){const b=f.match(/(youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(?:watch\?(?:.*&)?v=|v\/|u\/|shorts\/|embed\/?)?(videoseries\?list=(?:.*)|[\w-]{11}|\?listType=(?:.*)&list=(?:.*))(?:.*)/i);if(b){const x=Object.assign(Object.assign({},n().youtube),h.youtube||{}),w=`www.youtube${x.nocookie?"-nocookie":""}.com`,k=Kl(f,x),V=encodeURIComponent(b[2]);h.videoId=V,h.src=`https://${w}/embed/${V}?${k}`,h.thumb=h.thumb||`https://i.ytimg.com/vi/${V}/mqdefault.jpg`,g="youtube"}}if(!g||g==="vimeo"){const b=f.match(/^.+vimeo.com\/(?:\/)?(video\/)?([\d]+)((\/|\?h=)([a-z0-9]+))?(.*)?/);if(b){const x=Object.assign(Object.assign({},n().vimeo),h.vimeo||{}),w=Kl(f,x),k=encodeURIComponent(b[2]),V=b[5]||"";h.videoId=k,h.src=`https://player.vimeo.com/video/${k}?${V?`h=${V}${w?"&":""}`:""}${w}`,g="vimeo"}}h.type=g}function s(d,h){h.type==="html5video"&&function(f){if(!e||!f.el||!f.src)return;const{el:g,src:b}=f;if(!g||!b)return;const x=f.html5videoTpl||n().html5videoTpl,w=f.html5videoFormat||n().html5videoFormat;if(!x)return;const k=f.poster||(f.thumb&&mt(f.thumb)?f.thumb:""),V=ha(x.replace(/\{\{src\}\}/gi,b+"").replace(/\{\{format\}\}/gi,w||"").replace(/\{\{poster\}\}/gi,k+""));if(!V)return;const _=document.createElement("div");_.classList.add("f-html"),_.append(V),f.contentEl=V,f.htmlEl=_,g.classList.add(`has-${f.type}`),g.prepend(_),u(f),e.emit("contentReady",f)}(h),h.type!=="youtube"&&h.type!=="vimeo"||function(f){if(!e||!f.el||!f.src)return;const g=document.createElement("iframe");g.classList.add("f-iframe"),g.setAttribute("id",`f-iframe_${f.videoId}`);for(const[x,w]of Object.entries(n().iframeAttr||{}))g.setAttribute(x,w);g.onload=()=>{var x;e&&e.getState()===1&&f.type==="youtube"&&((x=g.contentWindow)===null||x===void 0||x.postMessage(JSON.stringify({event:"listening",id:g.getAttribute("id")}),"*"))},g.onerror=()=>{e&&e.getState()===1&&(e==null||e.showError(f,"{{IFRAME_ERROR}}"))},g.src=f.src;const b=document.createElement("div");b.classList.add("f-html"),b.append(g),f.contentEl=g,f.htmlEl=b,f.el.classList.add("has-html"),f.el.classList.add("has-iframe"),f.el.classList.add(`has-${f.type}`),f.el.prepend(b),u(f),e.emit("contentReady",f)}(h)}function l(d,h){var f,g;h.type!=="html5video"&&h.type!=="youtube"&&h.type!=="vimeo"||((f=h.contentEl)===null||f===void 0||f.remove(),h.contentEl=void 0,(g=h.htmlEl)===null||g===void 0||g.remove(),h.htmlEl=void 0),h.poller&&clearTimeout(h.poller)}function c(){a=!1}function p(){if(a)return;a=!0;const d=r();(d&&d.autoplay!==void 0?d.autoplay:n().autoplay)&&(function(){var h;const f=r(),g=f==null?void 0:f.el;if(g&&(f==null?void 0:f.type)==="html5video")try{const x=g.querySelector("video");if(x){const w=x.play();w!==void 0&&w.then(()=>{}).catch(k=>{x.muted=!0,x.play()})}}catch{}const b=f==null?void 0:f.htmlEl;b instanceof HTMLIFrameElement&&((h=b.contentWindow)===null||h===void 0||h.postMessage('{"event":"command","func":"stopVideo","args":""}',"*"))}(),function(){const h=r(),f=h==null?void 0:h.type;if(!(h!=null&&h.el)||f!=="youtube"&&f!=="vimeo")return;const g=()=>{if(h.contentEl&&h.contentEl instanceof HTMLIFrameElement&&h.contentEl.contentWindow){let b;if(h.contentEl.dataset.ready==="true")return b=h.type==="youtube"?{event:"command",func:"playVideo"}:{method:"play",value:"true"},b&&h.contentEl.contentWindow.postMessage(JSON.stringify(b),"*"),void(h.poller=void 0);h.type==="youtube"&&(b={event:"listening",id:h.contentEl.getAttribute("id")},h.contentEl.contentWindow.postMessage(JSON.stringify(b),"*"))}h.poller=setTimeout(g,250)};g()}())}function u(d){const h=d==null?void 0:d.htmlEl;if(d&&h&&(d.type==="html5video"||d.type==="youtube"||d.type==="vimeo")){if(h.style.aspectRatio="",h.style.width="",h.style.height="",h.style.maxWidth="",h.style.maxHeight="",d.width){let f=`${d.width}`;f.match(/^\d+$/)&&(f+="px"),h.style.maxWidth=`${f}`}if(d.height){let f=`${d.height}`;f.match(/^\d+$/)&&(f+="px"),h.style.maxHeight=`${f}`}if(d.aspectRatio){const f=d.aspectRatio.split("/"),g=parseFloat(f[0].trim()),b=f[1]?parseFloat(f[1].trim()):0,x=g&&b?g/b:g;h.offsetHeight;const w=h.getBoundingClientRect(),k=x<(w.width||1)/(w.height||1);h.style.aspectRatio=`${d.aspectRatio}`,h.style.width=k?"auto":"",h.style.height=k?"":"auto"}}}function m(){u(r())}return{init:function(d){e=d,e.on("addSlide",i),e.on("attachSlideEl",s),e.on("detachSlideEl",l),e.on("ready",p),e.on("change",c),e.on("settle",p),e.on("refresh",m),window.addEventListener("message",o)},destroy:function(){e==null||e.off("addSlide",i),e==null||e.off("attachSlideEl",s),e==null||e.off("detachSlideEl",l),e==null||e.off("ready",p),e==null||e.off("change",c),e==null||e.off("settle",p),e==null||e.off("refresh",m),window.removeEventListener("message",o),e=void 0}}};/*! License details at fancyapps.com/license */const e1={autoStart:!1,btnTpl:'<button data-fullscreen-action="toggle" class="f-button" title="{{TOGGLE_FULLSCREEN}}"><svg><g><path d="M8 3H5a2 2 0 0 0-2 2v3M21 8V5a2 2 0 0 0-2-2h-3M3 16v3a2 2 0 0 0 2 2h3M16 21h3a2 2 0 0 0 2-2v-3"/></g><g><path d="M15 19v-2a2 2 0 0 1 2-2h2M15 5v2a2 2 0 0 0 2 2h2M5 15h2a2 2 0 0 1 2 2v2M5 9h2a2 2 0 0 0 2-2V5"/></g></svg></button>'},t1="in-fullscreen-mode",nf=()=>{let e;function a(m){const d=e==null?void 0:e.getOptions().Fullscreen;let h=(Et(d)?Object.assign(Object.assign({},e1),d):e1)[m];return h&&typeof h=="function"&&e?h(e):h}function n(){var m;(m=e==null?void 0:e.getPlugins().Toolbar)===null||m===void 0||m.add("fullscreen",{tpl:a("btnTpl")})}function r(){if(a("autoStart")){const m=s();m&&c(m)}}function o(m,d){const h=d.target;h&&!d.defaultPrevented&&h.dataset.fullscreenAction==="toggle"&&u()}function i(m){s()&&m.key==="Escape"&&!m.defaultPrevented&&u()}function s(){return a("el")||(e==null?void 0:e.getContainer())||void 0}function l(){const m=document;return m.fullscreenEnabled?!!m.fullscreenElement:!!m.webkitFullscreenEnabled&&!!m.webkitFullscreenElement}function c(m){const d=document;let h;return m||(m=d.documentElement),d.fullscreenEnabled?h=m.requestFullscreen():d.webkitFullscreenEnabled&&(h=m.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT)),h&&h.then(()=>{m.classList.add(t1)}),h}function p(){const m=document;let d;return m.fullscreenEnabled?d=m.fullscreenElement&&m.exitFullscreen():m.webkitFullscreenEnabled&&(d=m.webkitFullscreenElement&&m.webkitExitFullscreen()),d&&d.then(()=>{var h;(h=s())===null||h===void 0||h.classList.remove(t1)}),d}function u(){const m=s();m&&(l()?p():c(m))}return{init:function(m){e=m,e.on("initPlugins",n),e.on("ready",r),e.on("click",o)},destroy:function(){e==null||e.off("initPlugins",n),e==null||e.off("ready",r),e==null||e.off("click",o),document.removeEventListener("keydown",i,!0)},exit:p,inFullscreen:l,request:c,toggle:u}};/*! License details at fancyapps.com/license */let Zt,fr=!1,a1=!1,Cn=!1,Ro=!1;const mr=()=>{const e=new URL(document.URL).hash,a=e.slice(1).split("-"),n=a[a.length-1],r=n&&/^\+?\d+$/.test(n)&&parseInt(a.pop()||"1",10)||1;return{hash:e,slug:a.join("-"),index:r}},Ho=()=>{if(!Zt||Zt.getInstance())return;const{slug:e,index:a}=mr();if(!e)return;let n=document.querySelector(`[data-slug="${e}"]`);if(n&&n.dispatchEvent(new CustomEvent("click",{bubbles:!0,cancelable:!0})),!Zt||Zt.getInstance())return;const r=document.querySelectorAll(`[data-fancybox="${e}"]`);r.length&&(n=r[a-1],n&&n.dispatchEvent(new CustomEvent("click",{bubbles:!0,cancelable:!0})))},rf=()=>{var e,a,n;if(!Zt||Cn)return;const r=Zt==null?void 0:Zt.getInstance();if((r==null?void 0:r.getOptions().Hash)===!1)return;const{slug:o,index:i}=mr(),s=((e=r==null?void 0:r.getSlide())===null||e===void 0?void 0:e.fancybox)||((a=r==null?void 0:r.getSlide())===null||a===void 0?void 0:a.slug)||void 0;r&&s&&(o===s?(n=r.getCarousel())===null||n===void 0||n.goTo(i-1):(Ro=!0,r.close(),Ro=!1)),Ho()},n1=()=>{Zt&&setTimeout(()=>{fr=!0,Ho(),fr=!1,window.addEventListener("hashchange",rf,!1)},300)},zo=()=>{let e,a="auto",n="";function r(){if(!e||!e.isTopMost()||e.getOptions().Hash===!1)return;const s=e.getCarousel();if(!s)return;const{hash:l,slug:c}=mr(),p=e.getSlide();if(!p)return;let u=p.fancybox||"",m=parseInt(p.index+"",10)+1;if(!u)return;let d=`#${u}-${m}`;if(l!==d&&(n=l),history.scrollRestoration&&(a=history.scrollRestoration,history.scrollRestoration="manual"),s.on("change",o),!fr)if(u===c)try{window.history.replaceState({},document.title,window.location.pathname+window.location.search+d)}catch{}else try{window.history.pushState({},document.title,window.location.pathname+window.location.search+d),a1=!0}catch{}}function o(){if(!e||!e.isTopMost()||e.getOptions().Hash===!1)return;const{slug:s}=mr(),l=e.getSlide();if(!l)return;let c=l.fancybox||"",p=`#${c}-${l.index+1}`;if(c===s){Cn=!0;try{window.history.replaceState({},document.title,window.location.pathname+window.location.search+p)}catch{}Cn=!1}}function i(){if(Ro||!e||!e.isTopMost()||e.getOptions().Hash===!1)return;const s=e.getSlide();if(s&&s.fancybox){Cn=!0;try{!a1||fr||function(){if(window.parent===window)return!1;try{var l=window.frameElement}catch{l=null}return l===null?location.protocol==="data:":l.hasAttribute("sandbox")}()?window.history.replaceState({},document.title,window.location.pathname+window.location.search+n):window.history.back()}catch{}Cn=!1}}return{init:function(s){e=s,e.on("ready",r),e.on("close",i)},destroy:function(){e==null||e.off("ready",r),e==null||e.off("close",i);const s=e==null?void 0:e.getCarousel();s&&s.off("change",o),e=void 0,history.scrollRestoration&&a&&(history.scrollRestoration=a)}}};zo.startFromUrl=Ho,zo.setup=function(e){Zt||(Zt=e,Ll()&&(/complete|interactive|loaded/.test(document.readyState)?n1():document.addEventListener("DOMContentLoaded",n1)))};/*! License details at fancyapps.com/license */const of=Object.assign(Object.assign({},Fo),{CLOSE:"Close",NEXT:"Next",PREV:"Previous",MODAL:"You can close this modal content with the ESC key",ELEMENT_NOT_FOUND:"HTML Element Not Found",IFRAME_ERROR:"Error Loading Page"});/*! License details at fancyapps.com/license */const r1='<button class="f-button" title="{{CLOSE}}" data-fancybox-close><svg><path d="M19.286 4.714 4.714 19.286M4.714 4.714l14.572 14.572" /></svg></button>';Xl().add("close",{tpl:r1});const o1=e=>{e&&e.dispatchEvent(new CustomEvent("animationend",{bubbles:!1,cancelable:!0,currentTarget:e}))},i1=(e=null,a="",n)=>{if(!e||!e.parentElement||!a)return void(n&&n());o1(e);const r=o=>{o.target===e&&e.dataset.animationName&&(e.removeEventListener("animationend",r),delete e.dataset.animationName,n&&n(),e.classList.remove(a))};e.dataset.animationName=a,e.addEventListener("animationend",r),ze(e,a)};var dt;(function(e){e[e.Init=0]="Init",e[e.Ready=1]="Ready",e[e.Closing=2]="Closing",e[e.Destroyed=3]="Destroyed"})(dt||(dt={}));const Sn={ajax:null,backdropClick:"close",Carousel:{},closeButton:"auto",closeExisting:!1,delegateEl:void 0,dragToClose:!0,fadeEffect:!0,groupAll:!1,groupAttr:"data-fancybox",hideClass:"f-fadeOut",hideScrollbar:!0,id:void 0,idle:!1,keyboard:{Escape:"close",Delete:"close",Backspace:"close",PageUp:"next",PageDown:"prev",ArrowUp:"prev",ArrowDown:"next",ArrowRight:"next",ArrowLeft:"prev"},l10n:of,mainClass:"",mainStyle:{},mainTpl:`<dialog class="fancybox__dialog">
|
|
11
11
|
<div class="fancybox__container" tabindex="0" aria-label="{{MODAL}}">
|
|
12
12
|
<div class="fancybox__backdrop"></div>
|
|
13
13
|
<div class="fancybox__carousel"></div>
|
|
14
14
|
</div>
|
|
15
|
-
</dialog>`,on:{},parentEl:void 0,placeFocusBack:!0,showClass:"f-zoomInUp",startIndex:0,sync:void 0,theme:"dark",triggerEl:void 0,triggerEvent:void 0,zoomEffect:!0},ea=new Map;let S7=0;const Gs="with-fancybox",M7=()=>{let e,a,n,r,o,i=dt.Init,l=Object.assign({},wn),s=-1,d={},p=[],f=!1,h=!0;function c(Z,...me){let L=l[Z];return L&&typeof L=="function"?L(ye,...me):L}function m(Z,me=[]){const L=c("l10n")||{};Z=String(Z).replace(/\{\{(\w+)\}\}/g,(v,g)=>L[g]||v);for(let v=0;v<me.length;v++)Z=Z.split(me[v][0]).join(me[v][1]);return Z=Z.replace(/\{\{(.*?)\}\}/g,(v,g)=>g)}const u=new Map;function y(Z,...me){const L=u.get(Z)||[];for(const[v,g]of Object.entries(l.on||{}))(v===Z||v.split(" ").indexOf(Z)>-1)&&L.push(g);for(const v of L)v&&typeof v=="function"&&v(ye,...me);Z!=="*"&&y("*",Z,...me)}function b(Z=[],me={}){i!==dt.Init&&(ye.destroy(),i=dt.Init),l=Tt({},wn,me),s=c("id")||"fancybox-"+ ++S7;const L=ea.get(s);if(L&&L.destroy(),ea.set(s,ye),y("init"),function(){for(const[v,g]of Object.entries(Object.assign(Object.assign({},Ye.Plugins),l.plugins||{})))if(v&&!d[v]&&g instanceof Function){const N=g();N.init(ye),d[v]=N}y("initPlugins")}(),function(v=[]){y("initSlides",v),p=[...v]}(Z),function(){const v=c("parentEl")||document.body;if(!(v&&v instanceof HTMLElement))return;const g=m(c("mainTpl")||"");if(e=fa(g)||void 0,!(e&&e instanceof HTMLDialogElement)||(a=e.querySelector(".fancybox__container"),!(a&&a instanceof HTMLElement)))return;const N=c("mainClass");N&&ze(a,N);const F=c("mainStyle");if(F&&Et(F))for(const[H,te]of Object.entries(F))a.style.setProperty(H,te);const O=c("theme"),J=O==="auto"?window.matchMedia("(prefers-color-scheme:light)").matches:O==="light";a.setAttribute("theme",J?"light":"dark"),e.setAttribute("id",`${s}`),e.addEventListener("keydown",H=>{H.key==="Escape"&&H.preventDefault()}),e.addEventListener("cancel",H=>{Q(H)}),v.append(e),ea.size===1&&(c("hideScrollbar")&&ks(!0),document.documentElement.classList.add(Gs)),e.showModal(),y("initLayout")}(),function(){if(n=(e==null?void 0:e.querySelector(".fancybox__carousel"))||void 0,!n)return;const v=Tt({Autoplay:{autoStart:!1,pauseOnHover:!1,progressbarParentEl:g=>{const N=g.getContainer();return(N==null?void 0:N.querySelector(".f-carousel__toolbar [data-autoplay-action]"))||N}},Fullscreen:{el:a},Toolbar:{absolute:!0,display:{left:["counter"],right:["toggleFull","autoplay","fullscreen","thumbs","close"]}},Video:{autoplay:!0},Zoomable:{Panzoom:{event:c("triggerEvent")}},classes:{container:"fancybox__carousel",viewport:"fancybox__viewport",slide:"fancybox__slide"},spinnerTpl:'<div class="f-spinner" data-fancybox-close></div>',dragFree:!1,slidesPerPage:1,plugins:{Sync:vs,Arrows:y7,Lazyload:Ss,Zoomable:g7,Html:b7,Video:w7,Autoplay:k7,Fullscreen:v7,Thumbs:x7,Toolbar:Ns}},c("Carousel")||{},{slides:p,enabled:!0,initialPage:c("startIndex")||0,l10n:c("l10n")});r=rr(n,v),y("initCarousel",r),r.on("*",(g,N,...F)=>{y(`Carousel.${N}`,g,...F)}),r==null||r.on("addSlide",A),r.on("attachSlideEl",D),r.on("detachSlideEl",V),r.on("contentReady",Y),r.on("ready",I),r.on("change",M),r.on("settle",$),r.init()}(),e&&a){if(c("closeExisting"))for(const[v,g]of ea.entries())v!==s&&g.close();c("fadeEffect")?(setTimeout(()=>{x()},500),ze(a,"is-revealing")):x(),a.classList.add("is-ready"),i=dt.Ready,y("ready")}}function x(){Jt(a,"is-revealing");try{document.activeElement===e&&((a==null?void 0:a.querySelector("[autofocus]"))||a).focus()}catch{}}function w(Z){if(!G())return;if(i!==dt.Ready)return Z.preventDefault(),void Z.stopPropagation();if(Z.defaultPrevented||!xn.isClickAllowed())return;const me=Z.composedPath()[0];me.closest(".fancybox__carousel")&&me.classList.contains("fancybox__slide")&&k(Z)}function k(Z){if(Z.composedPath()[0].closest("[data-fancybox-close]"))return void Q(Z);y("backdropClick",Z),!Z.defaultPrevented&&c("backdropClick")&&Q(Z)}function B(Z){if(!G()||i!==dt.Ready||(K(),Z.defaultPrevented))return;const me=Z.composedPath()[0],L=!!me.closest("[data-fancybox-close]"),v=me.classList.contains("fancybox__backdrop");(L||v)&&k(Z)}function A(Z,me){var L;(L=me.el)===null||L===void 0||L.addEventListener("click",w)}function D(Z,me){C(me),me.type!=="inline"&&me.type!=="clone"||function(L){if(!r||!L||!L.el)return;let v=null;if(ft(L.src)){const g=L.src.split("#",2).pop();v=g?document.getElementById(g):null}if(v){if(ze(v,"f-html"),L.type==="clone"||v.closest(".fancybox__carousel")){v=v.cloneNode(!0);const g=v.dataset.animationName;g&&(v.classList.remove(g),delete v.dataset.animationName);let N=v.getAttribute("id");N=N?`${N}--clone`:`clone-${s}-${L.index}`,v.setAttribute("id",N)}else if(v.parentNode){const g=document.createElement("div");g.inert=!0,v.parentNode.insertBefore(g,v),L.placeholderEl=g}L.htmlEl=v,ze(L.el,"has-html"),L.el.prepend(v),v.classList.remove("hidden"),v.style.display==="none"&&(v.style.display=""),getComputedStyle(v).getPropertyValue("display")==="none"&&(v.style.display=v.dataset.display||"flex"),r==null||r.emit("contentReady",L)}else r==null||r.showError(L,"{{ELEMENT_NOT_FOUND}}")}(me),me.type==="ajax"&&function(L){const v=L.el;if(!v||L.htmlEl||L.xhr)return;r==null||r.showLoading(L),L.state=0;const g=new XMLHttpRequest;g.onreadystatechange=function(){if(g.readyState===XMLHttpRequest.DONE&&i===dt.Ready)if(r==null||r.hideLoading(L),L.state=1,g.status===200){let F=g.responseText+"",O=null,J=null;if(L.filter){const H=document.createElement("div");H.innerHTML=F,J=H.querySelector(L.filter+"")}J&&J instanceof HTMLElement?O=J:(O=document.createElement("div"),O.innerHTML=F),O.classList.add("f-html"),L.htmlEl=O,v.classList.add("has-html"),v.classList.add("has-ajax"),v.prepend(O),r==null||r.emit("contentReady",L)}else r==null||r.showError(L)};const N=c("ajax")||null;g.open(N?"POST":"GET",L.src+""),g.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),g.setRequestHeader("X-Requested-With","XMLHttpRequest"),g.send(N),L.xhr=g}(me)}function V(Z,me){(function(L){L.closeButtonEl&&(L.closeButtonEl.remove(),L.closeButtonEl=void 0)})(me),me.type!=="inline"&&me.type!=="clone"||function(L){const v=L.htmlEl,g=L.placeholderEl;v&&(getComputedStyle(v).getPropertyValue("display")!=="none"&&(v.style.display="none"),v.offsetHeight),g&&(v&&g.parentNode&&g.parentNode.insertBefore(v,g),g.remove()),L.htmlEl=void 0,L.placeholderEl=void 0}(me),me.xhr&&(me.xhr.abort(),me.xhr=void 0)}function C(Z){var me;const{el:L,htmlEl:v,closeButtonEl:g}=Z;if(!L||!v||g)return;let N=c("closeButton");if(N==="auto"&&(N=((me=r==null?void 0:r.getPlugins().Toolbar)===null||me===void 0?void 0:me.isEnabled())!==!0),N){const F=fa(m(Rs));F&&(Z.closeButtonEl=v.insertAdjacentElement("afterbegin",F),L.classList.add("has-close-btn"))}}function M(){h=!1,a&&r&&a.classList.remove("is-revealing");const Z=c("sync");if(r&&Z){const me=Z.getPageIndex(r.getPageIndex())||0;Z.goTo(me,{transition:!1})}}function I(){var Z;if(i!==dt.Ready)return;X(U()),function(){if(!c("dragToClose")||!r||!r.getViewport())return;const L=r.getGestures();if(!L)return;let v=0,g=0,N=pa().on("step",F=>{v=F.y;const O=r==null?void 0:r.getViewport();if(a&&O){const J=Co(Math.abs(v),0,.5*O.getBoundingClientRect().height,1,.5);a.style.setProperty("--f-drag-opacity",J+""),a.style.setProperty("--f-drag-offset",v+"px")}}).on("end",()=>{if(!v){a&&a.style.removeProperty("--f-opacity");const F=r==null?void 0:r.getViewport();F&&(F.style.transform="")}});L.on("start",function(){N.pause()}).on("panstart",F=>{var O;const J=F.srcEvent.target;J&&!yn(J)&&((O=r==null?void 0:r.getViewport())===null||O===void 0||O.classList.add("is-dragging"))}).on("pan",function(F){const O=F.srcEvent.target;O&&yn(O)||r!=null&&r.getViewport()&&F.axis==="y"&&(g+=F.deltaY,N.spring({clamp:!0,mass:1,tension:860,friction:17,restDelta:.01,restSpeed:.01}).from({y:v}).to({y:g}).start())}).on("end",function(F){N.pause(),F.axis==="y"&&Math.abs(F.velocityY)>5&&Math.abs(g)>0?Q(F.srcEvent,"f-throwOut"+(F.velocityY>0?"Down":"Up")):g!==0&&(g=0,N.spring({clamp:!0,mass:1,tension:140,friction:25,restDelta:.1,restSpeed:.1,maxSpeed:1/0}).from({y:v}).to({y:g}).start())})}(),document.body.addEventListener("click",B),document.body.addEventListener("keydown",j,{passive:!1,capture:!0}),ie();const me=c("sync");me&&((Z=me.getTween())===null||Z===void 0||Z.start())}function $(){r!=null&&r.canGoNext()?ie():S()}function X(Z){if(!(h&&r&&r.getState()===1&&Z&&Z.index===r.getOptions().initialPage&&Z.el&&Z.el.parentElement)||Z.state!==void 0&&Z.state!==1)return;h=!1;const me=Z.panzoomRef,L=me==null?void 0:me.getTween(),v=c("zoomEffect")?W(Z):void 0;if(me&&L&&v){const N=me.getScale("base")||1,{x:F,y:O}=me.getMousemovePos(N)||{x:0,y:0};return void L.spring({tension:225,friction:25,restDelta:.001,restSpeed:.001,maxSpeed:1/0}).from(v).to({x:F,y:O,scale:N}).start()}const g=(me==null?void 0:me.getWrapper())||Z.htmlEl;g&&Is(g,c("showClass",Z))}function Y(Z,me){C(me),X(me)}function E(){K()}function j(Z){if(!G()||i!==dt.Ready)return;const me=Z.key,L=c("keyboard");if(!L||Z.ctrlKey||Z.altKey||Z.shiftKey)return;const v=Z.composedPath()[0];if(!Ua(v)||me!=="Escape"&&(N=>{const F=["input","textarea","select","option","video","iframe","[contenteditable]","[data-selectable]","[data-draggable]"].join(",");return N.matches(F)||N.closest(F)})(v)||(y("keydown",Z),Z.defaultPrevented))return;const g=L[me];if(g)switch(g){case"close":Q(Z);break;case"next":Z.preventDefault(),r==null||r.next();break;case"prev":Z.preventDefault(),r==null||r.prev()}}function G(){var Z;return((Z=Ye.getInstance())===null||Z===void 0?void 0:Z.getId())===s}function U(){var Z;return(Z=r==null?void 0:r.getPage())===null||Z===void 0?void 0:Z.slides[0]}function de(){const Z=U();return Z?Z.triggerEl||c("triggerEl"):void 0}function W(Z){var me,L;const v=(L=(me=Z.panzoomRef)===null||me===void 0?void 0:me.getWrapper())===null||L===void 0?void 0:L.getBoundingClientRect(),g=v==null?void 0:v.width,N=v==null?void 0:v.height;if(!g||!N)return;const F=Z.thumbEl;if(!F)return;const O=F.getBoundingClientRect();let J=O.width,H=O.height,te=O.left,ce=O.top;if(!(!O||!J||!H)&&(ge=>{const xe=ge.getBoundingClientRect(),ue=ge.closest("[style]"),Me=ue==null?void 0:ue.parentElement;if(ue&&ue.style.transform&&Me){const Se=Me.getBoundingClientRect();if(xe.left<Se.left||xe.left>Se.left+Se.width-xe.width||xe.top<Se.top||xe.top>Se.top+Se.height-xe.height)return!1}const _e=Math.max(document.documentElement.clientHeight,window.innerHeight),Ne=Math.max(document.documentElement.clientWidth,window.innerWidth);return!(xe.bottom<0||xe.top-_e>=0||xe.right<0||xe.left-Ne>=0)})(F)){if(F instanceof HTMLImageElement){const ge=window.getComputedStyle(F).getPropertyValue("object-fit");if(ge==="contain"||ge==="scale-down"){const{width:xe,height:ue}=((Me,_e,Ne,Se,Le="contain")=>{if(Le==="contain"||Me>Ne||_e>Se){const Be=Ne/Me,q=Se/_e,ae=Math.min(Be,q);Me*=ae,_e*=ae}return{width:Me,height:_e}})(F.naturalWidth,F.naturalHeight,J,H,ge);te+=.5*(J-xe),ce+=.5*(H-ue),J=xe,H=ue}}if(!(Math.abs(g/N-J/H)>.1))return{x:te+.5*J-(v.left+.5*g),y:ce+.5*H-(v.top+.5*N),scale:J/g}}}function _(){o&&clearTimeout(o),o=void 0,document.removeEventListener("mousemove",E)}function ie(){if(f||o)return;const Z=c("idle");Z&&(o=setTimeout(ne,Z))}function ne(){a&&(_(),ze(a,"is-idle"),document.addEventListener("mousemove",E),f=!0)}function K(){f&&(S(),ie())}function S(){_(),a==null||a.classList.remove("is-idle"),f=!1}function Q(Z,me){var L,v,g,N,F,O;if(i===dt.Closing||i===dt.Destroyed)return;if(i=dt.Closing,_(),Z){if(Z.defaultPrevented)return;Z.cancelable&&Z.preventDefault(),Z.stopPropagation(),Z.stopImmediatePropagation()}if(r){(L=r.getGestures())===null||L===void 0||L.destroy(),(v=r.getTween())===null||v===void 0||v.pause();const H=U(),te=H==null?void 0:H.panzoomRef;H&&te&&Tt(te.getOptions(),{clickAction:!1,wheelAction:!1,bounds:!1,minScale:0,maxScale:1/0});for(const ce of r.getSlides())(N=(g=ce.panzoomRef)===null||g===void 0?void 0:g.getGestures())===null||N===void 0||N.destroy(),(O=(F=ce.panzoomRef)===null||F===void 0?void 0:F.getTween())===null||O===void 0||O.pause()}const J=r==null?void 0:r.getPlugins().fullscreen;J&&J.inFullscreen()?Promise.resolve(J.exit()).then(()=>{setTimeout(()=>{fe(Z,me)},150)}):fe(Z,me)}function fe(Z,me){var L,v,g,N,F;if(i!==dt.Closing)return;if(y("close",Z),c("placeFocusBack")){const ue=de();!ue||(F=ue.getBoundingClientRect()).bottom>0&&F.right>0&&F.left<(window.innerWidth||document.documentElement.clientWidth)&&F.top<(window.innerHeight||document.documentElement.clientHeight)||ue.scrollIntoView({behavior:"instant",block:"center",inline:"center"})}c("fadeEffect")&&(a==null||a.classList.remove("is-ready"),a==null||a.classList.add("is-hiding")),a==null||a.classList.add("is-closing");const O=U(),J=O==null?void 0:O.panzoomRef,H=(L=O==null?void 0:O.panzoomRef)===null||L===void 0?void 0:L.getTween(),te=me||c("hideClass");let ce=!1,ge=!1;if(r&&O&&J&&H){let ue;c("zoomEffect")&&(((g=(v=r.getTween())===null||v===void 0?void 0:v.getCurrentVelocities())===null||g===void 0?void 0:g.pos)||0)<700&&O.state===1&&(ue=W(O)),ue&&(ce=!0,r.on("refresh",()=>{const Me=W(O);Me&&H.to(Object.assign(Object.assign({},Dt),Me))}),H.easing(pa.Easings.EaseOut).duration(350).from(Object.assign({},J.getTransform())).to(Object.assign(Object.assign({},Dt),ue)).start())}const xe=(O==null?void 0:O.htmlEl)||((N=O==null?void 0:O.panzoomRef)===null||N===void 0?void 0:N.getWrapper());xe&&zs(xe),!ce&&te&&xe&&(ge=!0,Is(xe,te,()=>{R()})),ce||ge?setTimeout(()=>{R()},350):R()}function R(){var Z,me,L,v,g;if(i===dt.Destroyed)return;i=dt.Destroyed,document.body.removeEventListener("click",B),document.body.removeEventListener("keydown",j,{passive:!1,capture:!0});const N=de();y("destroy"),(me=(Z=c("sync"))===null||Z===void 0?void 0:Z.getPlugins().Autoplay)===null||me===void 0||me.resume(),(v=(L=c("sync"))===null||L===void 0?void 0:L.getPlugins().Autoscroll)===null||v===void 0||v.resume(),e instanceof HTMLDialogElement&&e.close(),(g=r==null?void 0:r.getContainer())===null||g===void 0||g.classList.remove("is-idle"),r==null||r.destroy();for(const F of Object.values(d))F==null||F.destroy();if(d={},e==null||e.remove(),e=void 0,a=void 0,r=void 0,ea.delete(s),!ea.size&&(ks(!1),document.documentElement.classList.remove(Gs),c("placeFocusBack")))try{N==null||N.focus({preventScroll:!0})}catch{}}const ye={close:Q,destroy:R,getCarousel:function(){return r},getContainer:function(){return a},getId:function(){return s},getOptions:function(){return l},getPlugins:function(){return d},getSlide:function(){return U()},getState:function(){return i},init:function(Z=[],me={}){return b(Z,me),ye},isCurrentSlide:function(Z){const me=U();return!(!Z||!me)&&me.index===Z.index},isTopMost:function(){return G()},off:function(Z,me){return u.has(Z)&&u.set(Z,u.get(Z).filter(L=>L!==me)),ye},on:function(Z,me){return u.set(Z,[...u.get(Z)||[],me]),ye},toggleIdle(Z){(f||Z===!0)&&ne(),f&&Z!==!1||S()}};return ye},Ye={Plugins:{Hash:_o},version:"6.0.16",openers:new Map,bind:function(e,a,n){if(!xs())return;let r=document.body,o="[data-fancybox]",i={};if(ft(e)?(r=document.body,o=e,typeof a=="object"&&(i=a||{})):e instanceof Element&&(r=e,ft(a)&&(o=a),typeof n=="object"&&(i=n||{})),!(r&&r instanceof Element&&o))return!1;const l=Ye.openers.get(r)||new Map;if(l.set(o,i),Ye.openers.set(r,l),l.size===1){r.addEventListener("click",Ye.fromEvent);for(const s of Object.values(Ye.Plugins)){const d=s.setup;typeof d=="function"&&d(Ye)}}return!0},close:function(e=!0,...a){if(e)for(const n of ea.values())n.close(...a);else{const n=Ye.getInstance();n&&n.close(...a)}},destroy:function(){let e;for(;e=Ye.getInstance();)e.destroy();for(const a of Ye.openers.keys())a.removeEventListener("click",Ye.fromEvent);Ye.openers.clear()},fromEvent:function(e){var a,n,r;if(e.defaultPrevented||e.button&&e.button!==0||e.ctrlKey||e.metaKey||e.shiftKey)return;let o=e.composedPath()[0];if(o.closest(".fancybox__container.is-hiding"))return e.preventDefault(),void e.stopPropagation();const i=o.closest("[data-fancybox-delegate]")||void 0;if(i){const b=i.dataset.fancyboxDelegate||"",x=document.querySelectorAll(`[data-fancybox="${b}"]`);o=x[parseInt(i.dataset.fancyboxIndex||"",10)||0]||x[0]}if(!(o&&o instanceof Element))return;let l,s,d;for(const b of Array.from(Ye.openers.keys()).reverse()){const x=Ye.openers.get(b);if(x&&b.contains(o))for(const w of Array.from(x.keys()).reverse()){let k=null;try{k=o.closest(w)}catch{}if(k){o=k,l=b,s=w,d=x.get(w);break}}}if(!(l&&s&&d))return;e.preventDefault();const p=Tt({},wn,{triggerEvent:e,triggerEl:o,delegateEl:i},d),f=p.groupAll,h=p.groupAttr,c=h&&o?o.getAttribute(`${h}`):"";let m=[];const u=(a=o.closest(".f-carousel"))===null||a===void 0?void 0:a.carousel;if(u){const b=[];for(const x of u==null?void 0:u.getSlides()){const w=x.el;w&&(w.matches(s)?b.push(w):b.push(...[].slice.call(w.querySelectorAll(s))))}b.length&&(m=[...b],(n=u.getPlugins().Autoplay)===null||n===void 0||n.pause(),(r=u.getPlugins().Autoscroll)===null||r===void 0||r.pause(),p.sync=u)}else(!o||c||f)&&(m=[].slice.call(l.querySelectorAll(s)));if(o&&!f&&(m=c?m.filter(b=>b.getAttribute(`${h}`)===c):[o]),!m.length)return;const y=Ye.getInstance();if(y){const b=y.getOptions().triggerEl;if(b&&m.indexOf(b)>-1)return}return Object.assign({},p.Carousel||{}).rtl&&(m=m.reverse()),o&&(p.startIndex=m.indexOf(o)),Ye.fromNodes(m,p)},fromNodes:function(e,a){a=Tt({},wn,a||{});const n=[],r=o=>o instanceof HTMLImageElement?o:o instanceof HTMLElement?o.querySelector("img:not([aria-hidden])"):void 0;for(const o of e){const i=o.dataset||{},l=a.delegateEl&&e.indexOf(o)===a.startIndex?a.delegateEl:void 0,s=r(l)||r(o)||void 0,d=i.src||o.getAttribute("href")||o.getAttribute("currentSrc")||o.getAttribute("src")||void 0,p=i.thumb||i.thumbSrc||(s==null?void 0:s.getAttribute("currentSrc"))||(s==null?void 0:s.getAttribute("src"))||(s==null?void 0:s.dataset.lazySrc)||void 0,f={src:d,alt:i.alt||(s==null?void 0:s.getAttribute("alt"))||void 0,thumbSrc:p,thumbEl:s,triggerEl:o,delegateEl:l};for(const h in i){let c=i[h]+"";c=c!=="false"&&(c==="true"||c),f[h]=c}n.push(f)}return Ye.show(n,a)},fromSelector:function(e,a,n){let r=document.body,o="",i={};if(ft(e)?o=e:e instanceof Element&&(r=e,ft(a)&&(o=a),typeof n=="object"&&(i=n||{})),!(r&&r instanceof Element&&o))return;const l=Ye.openers.get(r);return l?(i=Tt({},l.get(o)||{},i),i?Ye.fromNodes(Array.from(r.querySelectorAll(o)),i):void 0):void 0},getCarousel:function(){var e;return((e=Ye.getInstance())===null||e===void 0?void 0:e.getCarousel())||void 0},getDefaults:function(){return wn},getInstance:function(e){if(e){const a=ea.get(e);return a&&a.getState()!==dt.Destroyed?a:void 0}return Array.from(ea.values()).reverse().find(a=>{if(a.getState()!==dt.Destroyed)return a})||void 0},getSlide:function(){var e;return((e=Ye.getInstance())===null||e===void 0?void 0:e.getSlide())||void 0},show:function(e=[],a={}){return M7().init(e,a)},unbind:function(e,a){let n=document.body,r="";if(ft(e)?r=e:e instanceof Element&&(n=e,ft(a)&&(r=a)),n){const o=Ye.openers.get(n);o&&r&&o.delete(r),o!=null&&o.size&&r||Ye.openers.delete(n),n.removeEventListener("click",Ye.fromEvent)}}};function pt(e,a,n,r){return new(n||(n=Promise))(function(o,i){function l(p){try{d(r.next(p))}catch(f){i(f)}}function s(p){try{d(r.throw(p))}catch(f){i(f)}}function d(p){var f;p.done?o(p.value):(f=p.value,f instanceof n?f:new n(function(h){h(f)})).then(l,s)}d((r=r.apply(e,a||[])).next())})}typeof SuppressedError=="function"&&SuppressedError;class vn{constructor(){this.listeners={}}on(a,n,r){if(this.listeners[a]||(this.listeners[a]=new Set),this.listeners[a].add(n),r==null?void 0:r.once){const o=()=>{this.un(a,o),this.un(a,n)};return this.on(a,o),o}return()=>this.un(a,n)}un(a,n){var r;(r=this.listeners[a])===null||r===void 0||r.delete(n)}once(a,n){return this.on(a,n,{once:!0})}unAll(){this.listeners={}}emit(a,...n){this.listeners[a]&&this.listeners[a].forEach(r=>r(...n))}}const sr={decode:function(e,a){return pt(this,void 0,void 0,function*(){const n=new AudioContext({sampleRate:a});return n.decodeAudioData(e).finally(()=>n.close())})},createBuffer:function(e,a){return typeof e[0]=="number"&&(e=[e]),function(n){const r=n[0];if(r.some(o=>o>1||o<-1)){const o=r.length;let i=0;for(let l=0;l<o;l++){const s=Math.abs(r[l]);s>i&&(i=s)}for(const l of n)for(let s=0;s<o;s++)l[s]/=i}}(e),{duration:a,length:e[0].length,sampleRate:e[0].length/a,numberOfChannels:e.length,getChannelData:n=>e==null?void 0:e[n],copyFromChannel:AudioBuffer.prototype.copyFromChannel,copyToChannel:AudioBuffer.prototype.copyToChannel}}};function js(e,a){const n=a.xmlns?document.createElementNS(a.xmlns,e):document.createElement(e);for(const[r,o]of Object.entries(a))if(r==="children"&&o)for(const[i,l]of Object.entries(o))l instanceof Node?n.appendChild(l):typeof l=="string"?n.appendChild(document.createTextNode(l)):n.appendChild(js(i,l));else r==="style"?Object.assign(n.style,o):r==="textContent"?n.textContent=o:n.setAttribute(r,o.toString());return n}function qs(e,a,n){const r=js(e,a||{});return n==null||n.appendChild(r),r}var B7=Object.freeze({__proto__:null,createElement:qs,default:qs});const A7={fetchBlob:function(e,a,n){return pt(this,void 0,void 0,function*(){const r=yield fetch(e,n);if(r.status>=400)throw new Error(`Failed to fetch ${e}: ${r.status} (${r.statusText})`);return function(o,i){pt(this,void 0,void 0,function*(){if(!o.body||!o.headers)return;const l=o.body.getReader(),s=Number(o.headers.get("Content-Length"))||0;let d=0;const p=h=>pt(this,void 0,void 0,function*(){d+=(h==null?void 0:h.length)||0;const c=Math.round(d/s*100);i(c)}),f=()=>pt(this,void 0,void 0,function*(){let h;try{h=yield l.read()}catch{return}h.done||(p(h.value),yield f())});f()})}(r.clone(),a),r.blob()})}};class V7 extends vn{constructor(a){super(),this.isExternalMedia=!1,a.media?(this.media=a.media,this.isExternalMedia=!0):this.media=document.createElement("audio"),a.mediaControls&&(this.media.controls=!0),a.autoplay&&(this.media.autoplay=!0),a.playbackRate!=null&&this.onMediaEvent("canplay",()=>{a.playbackRate!=null&&(this.media.playbackRate=a.playbackRate)},{once:!0})}onMediaEvent(a,n,r){return this.media.addEventListener(a,n,r),()=>this.media.removeEventListener(a,n,r)}getSrc(){return this.media.currentSrc||this.media.src||""}revokeSrc(){const a=this.getSrc();a.startsWith("blob:")&&URL.revokeObjectURL(a)}canPlayType(a){return this.media.canPlayType(a)!==""}setSrc(a,n){const r=this.getSrc();if(a&&r===a)return;this.revokeSrc();const o=n instanceof Blob&&(this.canPlayType(n.type)||!a)?URL.createObjectURL(n):a;if(r&&this.media.removeAttribute("src"),o||a)try{this.media.src=o}catch{this.media.src=a}}destroy(){this.isExternalMedia||(this.media.pause(),this.media.remove(),this.revokeSrc(),this.media.removeAttribute("src"),this.media.load())}setMediaElement(a){this.media=a}play(){return pt(this,void 0,void 0,function*(){try{return yield this.media.play()}catch(a){if(a instanceof DOMException&&a.name==="AbortError")return;throw a}})}pause(){this.media.pause()}isPlaying(){return!this.media.paused&&!this.media.ended}setTime(a){this.media.currentTime=Math.max(0,Math.min(a,this.getDuration()))}getDuration(){return this.media.duration}getCurrentTime(){return this.media.currentTime}getVolume(){return this.media.volume}setVolume(a){this.media.volume=a}getMuted(){return this.media.muted}setMuted(a){this.media.muted=a}getPlaybackRate(){return this.media.playbackRate}isSeeking(){return this.media.seeking}setPlaybackRate(a,n){n!=null&&(this.media.preservesPitch=n),this.media.playbackRate=a}getMediaElement(){return this.media}setSinkId(a){return this.media.setSinkId(a)}}let No=class $o extends vn{constructor(a,n){super(),this.timeouts=[],this.isScrollable=!1,this.audioData=null,this.resizeObserver=null,this.lastContainerWidth=0,this.isDragging=!1,this.subscriptions=[],this.unsubscribeOnScroll=[],this.subscriptions=[],this.options=a;const r=this.parentFromOptionsContainer(a.container);this.parent=r;const[o,i]=this.initHtml();r.appendChild(o),this.container=o,this.scrollContainer=i.querySelector(".scroll"),this.wrapper=i.querySelector(".wrapper"),this.canvasWrapper=i.querySelector(".canvases"),this.progressWrapper=i.querySelector(".progress"),this.cursor=i.querySelector(".cursor"),n&&i.appendChild(n),this.initEvents()}parentFromOptionsContainer(a){let n;if(typeof a=="string"?n=document.querySelector(a):a instanceof HTMLElement&&(n=a),!n)throw new Error("Container not found");return n}initEvents(){const a=n=>{const r=this.wrapper.getBoundingClientRect(),o=n.clientX-r.left,i=n.clientY-r.top;return[o/r.width,i/r.height]};if(this.wrapper.addEventListener("click",n=>{const[r,o]=a(n);this.emit("click",r,o)}),this.wrapper.addEventListener("dblclick",n=>{const[r,o]=a(n);this.emit("dblclick",r,o)}),this.options.dragToSeek!==!0&&typeof this.options.dragToSeek!="object"||this.initDrag(),this.scrollContainer.addEventListener("scroll",()=>{const{scrollLeft:n,scrollWidth:r,clientWidth:o}=this.scrollContainer,i=n/r,l=(n+o)/r;this.emit("scroll",i,l,n,n+o)}),typeof ResizeObserver=="function"){const n=this.createDelay(100);this.resizeObserver=new ResizeObserver(()=>{n().then(()=>this.onContainerResize()).catch(()=>{})}),this.resizeObserver.observe(this.scrollContainer)}}onContainerResize(){const a=this.parent.clientWidth;a===this.lastContainerWidth&&this.options.height!=="auto"||(this.lastContainerWidth=a,this.reRender())}initDrag(){this.subscriptions.push(function(a,n,r,o,i=3,l=0,s=100){if(!a)return()=>{};const d=matchMedia("(pointer: coarse)").matches;let p=()=>{};const f=h=>{if(h.button!==l)return;h.preventDefault(),h.stopPropagation();let c=h.clientX,m=h.clientY,u=!1;const y=Date.now(),b=A=>{if(A.preventDefault(),A.stopPropagation(),d&&Date.now()-y<s)return;const D=A.clientX,V=A.clientY,C=D-c,M=V-m;if(u||Math.abs(C)>i||Math.abs(M)>i){const I=a.getBoundingClientRect(),{left:$,top:X}=I;u||(r==null||r(c-$,m-X),u=!0),n(C,M,D-$,V-X),c=D,m=V}},x=A=>{if(u){const D=A.clientX,V=A.clientY,C=a.getBoundingClientRect(),{left:M,top:I}=C;o==null||o(D-M,V-I)}p()},w=A=>{A.relatedTarget&&A.relatedTarget!==document.documentElement||x(A)},k=A=>{u&&(A.stopPropagation(),A.preventDefault())},B=A=>{u&&A.preventDefault()};document.addEventListener("pointermove",b),document.addEventListener("pointerup",x),document.addEventListener("pointerout",w),document.addEventListener("pointercancel",w),document.addEventListener("touchmove",B,{passive:!1}),document.addEventListener("click",k,{capture:!0}),p=()=>{document.removeEventListener("pointermove",b),document.removeEventListener("pointerup",x),document.removeEventListener("pointerout",w),document.removeEventListener("pointercancel",w),document.removeEventListener("touchmove",B),setTimeout(()=>{document.removeEventListener("click",k,{capture:!0})},10)}};return a.addEventListener("pointerdown",f),()=>{p(),a.removeEventListener("pointerdown",f)}}(this.wrapper,(a,n,r)=>{this.emit("drag",Math.max(0,Math.min(1,r/this.wrapper.getBoundingClientRect().width)))},a=>{this.isDragging=!0,this.emit("dragstart",Math.max(0,Math.min(1,a/this.wrapper.getBoundingClientRect().width)))},a=>{this.isDragging=!1,this.emit("dragend",Math.max(0,Math.min(1,a/this.wrapper.getBoundingClientRect().width)))}))}getHeight(a,n){var r;const o=((r=this.audioData)===null||r===void 0?void 0:r.numberOfChannels)||1;if(a==null)return 128;if(!isNaN(Number(a)))return Number(a);if(a==="auto"){const i=this.parent.clientHeight||128;return n!=null&&n.every(l=>!l.overlay)?i/o:i}return 128}initHtml(){const a=document.createElement("div"),n=a.attachShadow({mode:"open"}),r=this.options.cspNonce&&typeof this.options.cspNonce=="string"?this.options.cspNonce.replace(/"/g,""):"";return n.innerHTML=`
|
|
15
|
+
</dialog>`,on:{},parentEl:void 0,placeFocusBack:!0,showClass:"f-zoomInUp",startIndex:0,sync:void 0,theme:"dark",triggerEl:void 0,triggerEvent:void 0,zoomEffect:!0},ta=new Map;let sf=0;const s1="with-fancybox",lf=()=>{let e,a,n,r,o,i=dt.Init,s=Object.assign({},Sn),l=-1,c={},p=[],u=!1,m=!0;function d(ee,...fe){let F=s[ee];return F&&typeof F=="function"?F(he,...fe):F}function h(ee,fe=[]){const F=d("l10n")||{};ee=String(ee).replace(/\{\{(\w+)\}\}/g,(C,y)=>F[y]||C);for(let C=0;C<fe.length;C++)ee=ee.split(fe[C][0]).join(fe[C][1]);return ee=ee.replace(/\{\{(.*?)\}\}/g,(C,y)=>y)}const f=new Map;function g(ee,...fe){const F=f.get(ee)||[];for(const[C,y]of Object.entries(s.on||{}))(C===ee||C.split(" ").indexOf(ee)>-1)&&F.push(y);for(const C of F)C&&typeof C=="function"&&C(he,...fe);ee!=="*"&&g("*",ee,...fe)}function b(ee=[],fe={}){i!==dt.Init&&(he.destroy(),i=dt.Init),s=Tt({},Sn,fe),l=d("id")||"fancybox-"+ ++sf;const F=ta.get(l);if(F&&F.destroy(),ta.set(l,he),g("init"),function(){for(const[C,y]of Object.entries(Object.assign(Object.assign({},Ye.Plugins),s.plugins||{})))if(C&&!c[C]&&y instanceof Function){const P=y();P.init(he),c[C]=P}g("initPlugins")}(),function(C=[]){g("initSlides",C),p=[...C]}(ee),function(){const C=d("parentEl")||document.body;if(!(C&&C instanceof HTMLElement))return;const y=h(d("mainTpl")||"");if(e=ha(y)||void 0,!(e&&e instanceof HTMLDialogElement)||(a=e.querySelector(".fancybox__container"),!(a&&a instanceof HTMLElement)))return;const P=d("mainClass");P&&ze(a,P);const I=d("mainStyle");if(I&&Et(I))for(const[j,ne]of Object.entries(I))a.style.setProperty(j,ne);const H=d("theme"),te=H==="auto"?window.matchMedia("(prefers-color-scheme:light)").matches:H==="light";a.setAttribute("theme",te?"light":"dark"),e.setAttribute("id",`${l}`),e.addEventListener("keydown",j=>{j.key==="Escape"&&j.preventDefault()}),e.addEventListener("cancel",j=>{J(j)}),C.append(e),ta.size===1&&(d("hideScrollbar")&&Fl(!0),document.documentElement.classList.add(s1)),e.showModal(),g("initLayout")}(),function(){if(n=(e==null?void 0:e.querySelector(".fancybox__carousel"))||void 0,!n)return;const C=Tt({Autoplay:{autoStart:!1,pauseOnHover:!1,progressbarParentEl:y=>{const P=y.getContainer();return(P==null?void 0:P.querySelector(".f-carousel__toolbar [data-autoplay-action]"))||P}},Fullscreen:{el:a},Toolbar:{absolute:!0,display:{left:["counter"],right:["toggleFull","autoplay","fullscreen","thumbs","close"]}},Video:{autoplay:!0},Zoomable:{Panzoom:{event:d("triggerEvent")}},classes:{container:"fancybox__carousel",viewport:"fancybox__viewport",slide:"fancybox__slide"},spinnerTpl:'<div class="f-spinner" data-fancybox-close></div>',dragFree:!1,slidesPerPage:1,plugins:{Sync:Hl,Arrows:K7,Lazyload:Gl,Zoomable:Q7,Html:tf,Video:af,Autoplay:J7,Fullscreen:nf,Thumbs:ef,Toolbar:Xl}},d("Carousel")||{},{slides:p,enabled:!0,initialPage:d("startIndex")||0,l10n:d("l10n")});r=dr(n,C),g("initCarousel",r),r.on("*",(y,P,...I)=>{g(`Carousel.${P}`,y,...I)}),r==null||r.on("addSlide",_),r.on("attachSlideEl",T),r.on("detachSlideEl",N),r.on("contentReady",U),r.on("ready",G),r.on("change",B),r.on("settle",O),r.init()}(),e&&a){if(d("closeExisting"))for(const[C,y]of ta.entries())C!==l&&y.close();d("fadeEffect")?(setTimeout(()=>{x()},500),ze(a,"is-revealing")):x(),a.classList.add("is-ready"),i=dt.Ready,g("ready")}}function x(){ea(a,"is-revealing");try{document.activeElement===e&&((a==null?void 0:a.querySelector("[autofocus]"))||a).focus()}catch{}}function w(ee){if(!R())return;if(i!==dt.Ready)return ee.preventDefault(),void ee.stopPropagation();if(ee.defaultPrevented||!En.isClickAllowed())return;const fe=ee.composedPath()[0];fe.closest(".fancybox__carousel")&&fe.classList.contains("fancybox__slide")&&k(ee)}function k(ee){if(ee.composedPath()[0].closest("[data-fancybox-close]"))return void J(ee);g("backdropClick",ee),!ee.defaultPrevented&&d("backdropClick")&&J(ee)}function V(ee){if(!R()||i!==dt.Ready||(q(),ee.defaultPrevented))return;const fe=ee.composedPath()[0],F=!!fe.closest("[data-fancybox-close]"),C=fe.classList.contains("fancybox__backdrop");(F||C)&&k(ee)}function _(ee,fe){var F;(F=fe.el)===null||F===void 0||F.addEventListener("click",w)}function T(ee,fe){S(fe),fe.type!=="inline"&&fe.type!=="clone"||function(F){if(!r||!F||!F.el)return;let C=null;if(mt(F.src)){const y=F.src.split("#",2).pop();C=y?document.getElementById(y):null}if(C){if(ze(C,"f-html"),F.type==="clone"||C.closest(".fancybox__carousel")){C=C.cloneNode(!0);const y=C.dataset.animationName;y&&(C.classList.remove(y),delete C.dataset.animationName);let P=C.getAttribute("id");P=P?`${P}--clone`:`clone-${l}-${F.index}`,C.setAttribute("id",P)}else if(C.parentNode){const y=document.createElement("div");y.inert=!0,C.parentNode.insertBefore(y,C),F.placeholderEl=y}F.htmlEl=C,ze(F.el,"has-html"),F.el.prepend(C),C.classList.remove("hidden"),C.style.display==="none"&&(C.style.display=""),getComputedStyle(C).getPropertyValue("display")==="none"&&(C.style.display=C.dataset.display||"flex"),r==null||r.emit("contentReady",F)}else r==null||r.showError(F,"{{ELEMENT_NOT_FOUND}}")}(fe),fe.type==="ajax"&&function(F){const C=F.el;if(!C||F.htmlEl||F.xhr)return;r==null||r.showLoading(F),F.state=0;const y=new XMLHttpRequest;y.onreadystatechange=function(){if(y.readyState===XMLHttpRequest.DONE&&i===dt.Ready)if(r==null||r.hideLoading(F),F.state=1,y.status===200){let I=y.responseText+"",H=null,te=null;if(F.filter){const j=document.createElement("div");j.innerHTML=I,te=j.querySelector(F.filter+"")}te&&te instanceof HTMLElement?H=te:(H=document.createElement("div"),H.innerHTML=I),H.classList.add("f-html"),F.htmlEl=H,C.classList.add("has-html"),C.classList.add("has-ajax"),C.prepend(H),r==null||r.emit("contentReady",F)}else r==null||r.showError(F)};const P=d("ajax")||null;y.open(P?"POST":"GET",F.src+""),y.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),y.setRequestHeader("X-Requested-With","XMLHttpRequest"),y.send(P),F.xhr=y}(fe)}function N(ee,fe){(function(F){F.closeButtonEl&&(F.closeButtonEl.remove(),F.closeButtonEl=void 0)})(fe),fe.type!=="inline"&&fe.type!=="clone"||function(F){const C=F.htmlEl,y=F.placeholderEl;C&&(getComputedStyle(C).getPropertyValue("display")!=="none"&&(C.style.display="none"),C.offsetHeight),y&&(C&&y.parentNode&&y.parentNode.insertBefore(C,y),y.remove()),F.htmlEl=void 0,F.placeholderEl=void 0}(fe),fe.xhr&&(fe.xhr.abort(),fe.xhr=void 0)}function S(ee){var fe;const{el:F,htmlEl:C,closeButtonEl:y}=ee;if(!F||!C||y)return;let P=d("closeButton");if(P==="auto"&&(P=((fe=r==null?void 0:r.getPlugins().Toolbar)===null||fe===void 0?void 0:fe.isEnabled())!==!0),P){const I=ha(h(r1));I&&(ee.closeButtonEl=C.insertAdjacentElement("afterbegin",I),F.classList.add("has-close-btn"))}}function B(){m=!1,a&&r&&a.classList.remove("is-revealing");const ee=d("sync");if(r&&ee){const fe=ee.getPageIndex(r.getPageIndex())||0;ee.goTo(fe,{transition:!1})}}function G(){var ee;if(i!==dt.Ready)return;Q(Y()),function(){if(!d("dragToClose")||!r||!r.getViewport())return;const F=r.getGestures();if(!F)return;let C=0,y=0,P=ga().on("step",I=>{C=I.y;const H=r==null?void 0:r.getViewport();if(a&&H){const te=Oo(Math.abs(C),0,.5*H.getBoundingClientRect().height,1,.5);a.style.setProperty("--f-drag-opacity",te+""),a.style.setProperty("--f-drag-offset",C+"px")}}).on("end",()=>{if(!C){a&&a.style.removeProperty("--f-opacity");const I=r==null?void 0:r.getViewport();I&&(I.style.transform="")}});F.on("start",function(){P.pause()}).on("panstart",I=>{var H;const te=I.srcEvent.target;te&&!wn(te)&&((H=r==null?void 0:r.getViewport())===null||H===void 0||H.classList.add("is-dragging"))}).on("pan",function(I){const H=I.srcEvent.target;H&&wn(H)||r!=null&&r.getViewport()&&I.axis==="y"&&(y+=I.deltaY,P.spring({clamp:!0,mass:1,tension:860,friction:17,restDelta:.01,restSpeed:.01}).from({y:C}).to({y}).start())}).on("end",function(I){P.pause(),I.axis==="y"&&Math.abs(I.velocityY)>5&&Math.abs(y)>0?J(I.srcEvent,"f-throwOut"+(I.velocityY>0?"Down":"Up")):y!==0&&(y=0,P.spring({clamp:!0,mass:1,tension:140,friction:25,restDelta:.1,restSpeed:.1,maxSpeed:1/0}).from({y:C}).to({y}).start())})}(),document.body.addEventListener("click",V),document.body.addEventListener("keydown",D,{passive:!1,capture:!0}),X();const fe=d("sync");fe&&((ee=fe.getTween())===null||ee===void 0||ee.start())}function O(){r!=null&&r.canGoNext()?X():M()}function Q(ee){if(!(m&&r&&r.getState()===1&&ee&&ee.index===r.getOptions().initialPage&&ee.el&&ee.el.parentElement)||ee.state!==void 0&&ee.state!==1)return;m=!1;const fe=ee.panzoomRef,F=fe==null?void 0:fe.getTween(),C=d("zoomEffect")?A(ee):void 0;if(fe&&F&&C){const P=fe.getScale("base")||1,{x:I,y:H}=fe.getMousemovePos(P)||{x:0,y:0};return void F.spring({tension:225,friction:25,restDelta:.001,restSpeed:.001,maxSpeed:1/0}).from(C).to({x:I,y:H,scale:P}).start()}const y=(fe==null?void 0:fe.getWrapper())||ee.htmlEl;y&&i1(y,d("showClass",ee))}function U(ee,fe){S(fe),Q(fe)}function E(){q()}function D(ee){if(!R()||i!==dt.Ready)return;const fe=ee.key,F=d("keyboard");if(!F||ee.ctrlKey||ee.altKey||ee.shiftKey)return;const C=ee.composedPath()[0];if(!Qa(C)||fe!=="Escape"&&(P=>{const I=["input","textarea","select","option","video","iframe","[contenteditable]","[data-selectable]","[data-draggable]"].join(",");return P.matches(I)||P.closest(I)})(C)||(g("keydown",ee),ee.defaultPrevented))return;const y=F[fe];if(y)switch(y){case"close":J(ee);break;case"next":ee.preventDefault(),r==null||r.next();break;case"prev":ee.preventDefault(),r==null||r.prev()}}function R(){var ee;return((ee=Ye.getInstance())===null||ee===void 0?void 0:ee.getId())===l}function Y(){var ee;return(ee=r==null?void 0:r.getPage())===null||ee===void 0?void 0:ee.slides[0]}function oe(){const ee=Y();return ee?ee.triggerEl||d("triggerEl"):void 0}function A(ee){var fe,F;const C=(F=(fe=ee.panzoomRef)===null||fe===void 0?void 0:fe.getWrapper())===null||F===void 0?void 0:F.getBoundingClientRect(),y=C==null?void 0:C.width,P=C==null?void 0:C.height;if(!y||!P)return;const I=ee.thumbEl;if(!I)return;const H=I.getBoundingClientRect();let te=H.width,j=H.height,ne=H.left,ue=H.top;if(!(!H||!te||!j)&&(ye=>{const be=ye.getBoundingClientRect(),me=ye.closest("[style]"),Me=me==null?void 0:me.parentElement;if(me&&me.style.transform&&Me){const Se=Me.getBoundingClientRect();if(be.left<Se.left||be.left>Se.left+Se.width-be.width||be.top<Se.top||be.top>Se.top+Se.height-be.height)return!1}const _e=Math.max(document.documentElement.clientHeight,window.innerHeight),Ne=Math.max(document.documentElement.clientWidth,window.innerWidth);return!(be.bottom<0||be.top-_e>=0||be.right<0||be.left-Ne>=0)})(I)){if(I instanceof HTMLImageElement){const ye=window.getComputedStyle(I).getPropertyValue("object-fit");if(ye==="contain"||ye==="scale-down"){const{width:be,height:me}=((Me,_e,Ne,Se,Le="contain")=>{if(Le==="contain"||Me>Ne||_e>Se){const Be=Ne/Me,Z=Se/_e,re=Math.min(Be,Z);Me*=re,_e*=re}return{width:Me,height:_e}})(I.naturalWidth,I.naturalHeight,te,j,ye);ne+=.5*(te-be),ue+=.5*(j-me),te=be,j=me}}if(!(Math.abs(y/P-te/j)>.1))return{x:ne+.5*te-(C.left+.5*y),y:ue+.5*j-(C.top+.5*P),scale:te/y}}}function v(){o&&clearTimeout(o),o=void 0,document.removeEventListener("mousemove",E)}function X(){if(u||o)return;const ee=d("idle");ee&&(o=setTimeout(K,ee))}function K(){a&&(v(),ze(a,"is-idle"),document.addEventListener("mousemove",E),u=!0)}function q(){u&&(M(),X())}function M(){v(),a==null||a.classList.remove("is-idle"),u=!1}function J(ee,fe){var F,C,y,P,I,H;if(i===dt.Closing||i===dt.Destroyed)return;if(i=dt.Closing,v(),ee){if(ee.defaultPrevented)return;ee.cancelable&&ee.preventDefault(),ee.stopPropagation(),ee.stopImmediatePropagation()}if(r){(F=r.getGestures())===null||F===void 0||F.destroy(),(C=r.getTween())===null||C===void 0||C.pause();const j=Y(),ne=j==null?void 0:j.panzoomRef;j&&ne&&Tt(ne.getOptions(),{clickAction:!1,wheelAction:!1,bounds:!1,minScale:0,maxScale:1/0});for(const ue of r.getSlides())(P=(y=ue.panzoomRef)===null||y===void 0?void 0:y.getGestures())===null||P===void 0||P.destroy(),(H=(I=ue.panzoomRef)===null||I===void 0?void 0:I.getTween())===null||H===void 0||H.pause()}const te=r==null?void 0:r.getPlugins().fullscreen;te&&te.inFullscreen()?Promise.resolve(te.exit()).then(()=>{setTimeout(()=>{ce(ee,fe)},150)}):ce(ee,fe)}function ce(ee,fe){var F,C,y,P,I;if(i!==dt.Closing)return;if(g("close",ee),d("placeFocusBack")){const me=oe();!me||(I=me.getBoundingClientRect()).bottom>0&&I.right>0&&I.left<(window.innerWidth||document.documentElement.clientWidth)&&I.top<(window.innerHeight||document.documentElement.clientHeight)||me.scrollIntoView({behavior:"instant",block:"center",inline:"center"})}d("fadeEffect")&&(a==null||a.classList.remove("is-ready"),a==null||a.classList.add("is-hiding")),a==null||a.classList.add("is-closing");const H=Y(),te=H==null?void 0:H.panzoomRef,j=(F=H==null?void 0:H.panzoomRef)===null||F===void 0?void 0:F.getTween(),ne=fe||d("hideClass");let ue=!1,ye=!1;if(r&&H&&te&&j){let me;d("zoomEffect")&&(((y=(C=r.getTween())===null||C===void 0?void 0:C.getCurrentVelocities())===null||y===void 0?void 0:y.pos)||0)<700&&H.state===1&&(me=A(H)),me&&(ue=!0,r.on("refresh",()=>{const Me=A(H);Me&&j.to(Object.assign(Object.assign({},Dt),Me))}),j.easing(ga.Easings.EaseOut).duration(350).from(Object.assign({},te.getTransform())).to(Object.assign(Object.assign({},Dt),me)).start())}const be=(H==null?void 0:H.htmlEl)||((P=H==null?void 0:H.panzoomRef)===null||P===void 0?void 0:P.getWrapper());be&&o1(be),!ue&&ne&&be&&(ye=!0,i1(be,ne,()=>{z()})),ue||ye?setTimeout(()=>{z()},350):z()}function z(){var ee,fe,F,C,y;if(i===dt.Destroyed)return;i=dt.Destroyed,document.body.removeEventListener("click",V),document.body.removeEventListener("keydown",D,{passive:!1,capture:!0});const P=oe();g("destroy"),(fe=(ee=d("sync"))===null||ee===void 0?void 0:ee.getPlugins().Autoplay)===null||fe===void 0||fe.resume(),(C=(F=d("sync"))===null||F===void 0?void 0:F.getPlugins().Autoscroll)===null||C===void 0||C.resume(),e instanceof HTMLDialogElement&&e.close(),(y=r==null?void 0:r.getContainer())===null||y===void 0||y.classList.remove("is-idle"),r==null||r.destroy();for(const I of Object.values(c))I==null||I.destroy();if(c={},e==null||e.remove(),e=void 0,a=void 0,r=void 0,ta.delete(l),!ta.size&&(Fl(!1),document.documentElement.classList.remove(s1),d("placeFocusBack")))try{P==null||P.focus({preventScroll:!0})}catch{}}const he={close:J,destroy:z,getCarousel:function(){return r},getContainer:function(){return a},getId:function(){return l},getOptions:function(){return s},getPlugins:function(){return c},getSlide:function(){return Y()},getState:function(){return i},init:function(ee=[],fe={}){return b(ee,fe),he},isCurrentSlide:function(ee){const fe=Y();return!(!ee||!fe)&&fe.index===ee.index},isTopMost:function(){return R()},off:function(ee,fe){return f.has(ee)&&f.set(ee,f.get(ee).filter(F=>F!==fe)),he},on:function(ee,fe){return f.set(ee,[...f.get(ee)||[],fe]),he},toggleIdle(ee){(u||ee===!0)&&K(),u&&ee!==!1||M()}};return he},Ye={Plugins:{Hash:zo},version:"6.0.16",openers:new Map,bind:function(e,a,n){if(!Ll())return;let r=document.body,o="[data-fancybox]",i={};if(mt(e)?(r=document.body,o=e,typeof a=="object"&&(i=a||{})):e instanceof Element&&(r=e,mt(a)&&(o=a),typeof n=="object"&&(i=n||{})),!(r&&r instanceof Element&&o))return!1;const s=Ye.openers.get(r)||new Map;if(s.set(o,i),Ye.openers.set(r,s),s.size===1){r.addEventListener("click",Ye.fromEvent);for(const l of Object.values(Ye.Plugins)){const c=l.setup;typeof c=="function"&&c(Ye)}}return!0},close:function(e=!0,...a){if(e)for(const n of ta.values())n.close(...a);else{const n=Ye.getInstance();n&&n.close(...a)}},destroy:function(){let e;for(;e=Ye.getInstance();)e.destroy();for(const a of Ye.openers.keys())a.removeEventListener("click",Ye.fromEvent);Ye.openers.clear()},fromEvent:function(e){var a,n,r;if(e.defaultPrevented||e.button&&e.button!==0||e.ctrlKey||e.metaKey||e.shiftKey)return;let o=e.composedPath()[0];if(o.closest(".fancybox__container.is-hiding"))return e.preventDefault(),void e.stopPropagation();const i=o.closest("[data-fancybox-delegate]")||void 0;if(i){const b=i.dataset.fancyboxDelegate||"",x=document.querySelectorAll(`[data-fancybox="${b}"]`);o=x[parseInt(i.dataset.fancyboxIndex||"",10)||0]||x[0]}if(!(o&&o instanceof Element))return;let s,l,c;for(const b of Array.from(Ye.openers.keys()).reverse()){const x=Ye.openers.get(b);if(x&&b.contains(o))for(const w of Array.from(x.keys()).reverse()){let k=null;try{k=o.closest(w)}catch{}if(k){o=k,s=b,l=w,c=x.get(w);break}}}if(!(s&&l&&c))return;e.preventDefault();const p=Tt({},Sn,{triggerEvent:e,triggerEl:o,delegateEl:i},c),u=p.groupAll,m=p.groupAttr,d=m&&o?o.getAttribute(`${m}`):"";let h=[];const f=(a=o.closest(".f-carousel"))===null||a===void 0?void 0:a.carousel;if(f){const b=[];for(const x of f==null?void 0:f.getSlides()){const w=x.el;w&&(w.matches(l)?b.push(w):b.push(...[].slice.call(w.querySelectorAll(l))))}b.length&&(h=[...b],(n=f.getPlugins().Autoplay)===null||n===void 0||n.pause(),(r=f.getPlugins().Autoscroll)===null||r===void 0||r.pause(),p.sync=f)}else(!o||d||u)&&(h=[].slice.call(s.querySelectorAll(l)));if(o&&!u&&(h=d?h.filter(b=>b.getAttribute(`${m}`)===d):[o]),!h.length)return;const g=Ye.getInstance();if(g){const b=g.getOptions().triggerEl;if(b&&h.indexOf(b)>-1)return}return Object.assign({},p.Carousel||{}).rtl&&(h=h.reverse()),o&&(p.startIndex=h.indexOf(o)),Ye.fromNodes(h,p)},fromNodes:function(e,a){a=Tt({},Sn,a||{});const n=[],r=o=>o instanceof HTMLImageElement?o:o instanceof HTMLElement?o.querySelector("img:not([aria-hidden])"):void 0;for(const o of e){const i=o.dataset||{},s=a.delegateEl&&e.indexOf(o)===a.startIndex?a.delegateEl:void 0,l=r(s)||r(o)||void 0,c=i.src||o.getAttribute("href")||o.getAttribute("currentSrc")||o.getAttribute("src")||void 0,p=i.thumb||i.thumbSrc||(l==null?void 0:l.getAttribute("currentSrc"))||(l==null?void 0:l.getAttribute("src"))||(l==null?void 0:l.dataset.lazySrc)||void 0,u={src:c,alt:i.alt||(l==null?void 0:l.getAttribute("alt"))||void 0,thumbSrc:p,thumbEl:l,triggerEl:o,delegateEl:s};for(const m in i){let d=i[m]+"";d=d!=="false"&&(d==="true"||d),u[m]=d}n.push(u)}return Ye.show(n,a)},fromSelector:function(e,a,n){let r=document.body,o="",i={};if(mt(e)?o=e:e instanceof Element&&(r=e,mt(a)&&(o=a),typeof n=="object"&&(i=n||{})),!(r&&r instanceof Element&&o))return;const s=Ye.openers.get(r);return s?(i=Tt({},s.get(o)||{},i),i?Ye.fromNodes(Array.from(r.querySelectorAll(o)),i):void 0):void 0},getCarousel:function(){var e;return((e=Ye.getInstance())===null||e===void 0?void 0:e.getCarousel())||void 0},getDefaults:function(){return Sn},getInstance:function(e){if(e){const a=ta.get(e);return a&&a.getState()!==dt.Destroyed?a:void 0}return Array.from(ta.values()).reverse().find(a=>{if(a.getState()!==dt.Destroyed)return a})||void 0},getSlide:function(){var e;return((e=Ye.getInstance())===null||e===void 0?void 0:e.getSlide())||void 0},show:function(e=[],a={}){return lf().init(e,a)},unbind:function(e,a){let n=document.body,r="";if(mt(e)?r=e:e instanceof Element&&(n=e,mt(a)&&(r=a)),n){const o=Ye.openers.get(n);o&&r&&o.delete(r),o!=null&&o.size&&r||Ye.openers.delete(n),n.removeEventListener("click",Ye.fromEvent)}}};function pt(e,a,n,r){return new(n||(n=Promise))(function(o,i){function s(p){try{c(r.next(p))}catch(u){i(u)}}function l(p){try{c(r.throw(p))}catch(u){i(u)}}function c(p){var u;p.done?o(p.value):(u=p.value,u instanceof n?u:new n(function(m){m(u)})).then(s,l)}c((r=r.apply(e,a||[])).next())})}typeof SuppressedError=="function"&&SuppressedError;class Mn{constructor(){this.listeners={}}on(a,n,r){if(this.listeners[a]||(this.listeners[a]=new Set),this.listeners[a].add(n),r==null?void 0:r.once){const o=()=>{this.un(a,o),this.un(a,n)};return this.on(a,o),o}return()=>this.un(a,n)}un(a,n){var r;(r=this.listeners[a])===null||r===void 0||r.delete(n)}once(a,n){return this.on(a,n,{once:!0})}unAll(){this.listeners={}}emit(a,...n){this.listeners[a]&&this.listeners[a].forEach(r=>r(...n))}}const hr={decode:function(e,a){return pt(this,void 0,void 0,function*(){const n=new AudioContext({sampleRate:a});return n.decodeAudioData(e).finally(()=>n.close())})},createBuffer:function(e,a){return typeof e[0]=="number"&&(e=[e]),function(n){const r=n[0];if(r.some(o=>o>1||o<-1)){const o=r.length;let i=0;for(let s=0;s<o;s++){const l=Math.abs(r[s]);l>i&&(i=l)}for(const s of n)for(let l=0;l<o;l++)s[l]/=i}}(e),{duration:a,length:e[0].length,sampleRate:e[0].length/a,numberOfChannels:e.length,getChannelData:n=>e==null?void 0:e[n],copyFromChannel:AudioBuffer.prototype.copyFromChannel,copyToChannel:AudioBuffer.prototype.copyToChannel}}};function l1(e,a){const n=a.xmlns?document.createElementNS(a.xmlns,e):document.createElement(e);for(const[r,o]of Object.entries(a))if(r==="children"&&o)for(const[i,s]of Object.entries(o))s instanceof Node?n.appendChild(s):typeof s=="string"?n.appendChild(document.createTextNode(s)):n.appendChild(l1(i,s));else r==="style"?Object.assign(n.style,o):r==="textContent"?n.textContent=o:n.setAttribute(r,o.toString());return n}function c1(e,a,n){const r=l1(e,a||{});return n==null||n.appendChild(r),r}var cf=Object.freeze({__proto__:null,createElement:c1,default:c1});const df={fetchBlob:function(e,a,n){return pt(this,void 0,void 0,function*(){const r=yield fetch(e,n);if(r.status>=400)throw new Error(`Failed to fetch ${e}: ${r.status} (${r.statusText})`);return function(o,i){pt(this,void 0,void 0,function*(){if(!o.body||!o.headers)return;const s=o.body.getReader(),l=Number(o.headers.get("Content-Length"))||0;let c=0;const p=m=>pt(this,void 0,void 0,function*(){c+=(m==null?void 0:m.length)||0;const d=Math.round(c/l*100);i(d)}),u=()=>pt(this,void 0,void 0,function*(){let m;try{m=yield s.read()}catch{return}m.done||(p(m.value),yield u())});u()})}(r.clone(),a),r.blob()})}};class uf extends Mn{constructor(a){super(),this.isExternalMedia=!1,a.media?(this.media=a.media,this.isExternalMedia=!0):this.media=document.createElement("audio"),a.mediaControls&&(this.media.controls=!0),a.autoplay&&(this.media.autoplay=!0),a.playbackRate!=null&&this.onMediaEvent("canplay",()=>{a.playbackRate!=null&&(this.media.playbackRate=a.playbackRate)},{once:!0})}onMediaEvent(a,n,r){return this.media.addEventListener(a,n,r),()=>this.media.removeEventListener(a,n,r)}getSrc(){return this.media.currentSrc||this.media.src||""}revokeSrc(){const a=this.getSrc();a.startsWith("blob:")&&URL.revokeObjectURL(a)}canPlayType(a){return this.media.canPlayType(a)!==""}setSrc(a,n){const r=this.getSrc();if(a&&r===a)return;this.revokeSrc();const o=n instanceof Blob&&(this.canPlayType(n.type)||!a)?URL.createObjectURL(n):a;if(r&&this.media.removeAttribute("src"),o||a)try{this.media.src=o}catch{this.media.src=a}}destroy(){this.isExternalMedia||(this.media.pause(),this.media.remove(),this.revokeSrc(),this.media.removeAttribute("src"),this.media.load())}setMediaElement(a){this.media=a}play(){return pt(this,void 0,void 0,function*(){try{return yield this.media.play()}catch(a){if(a instanceof DOMException&&a.name==="AbortError")return;throw a}})}pause(){this.media.pause()}isPlaying(){return!this.media.paused&&!this.media.ended}setTime(a){this.media.currentTime=Math.max(0,Math.min(a,this.getDuration()))}getDuration(){return this.media.duration}getCurrentTime(){return this.media.currentTime}getVolume(){return this.media.volume}setVolume(a){this.media.volume=a}getMuted(){return this.media.muted}setMuted(a){this.media.muted=a}getPlaybackRate(){return this.media.playbackRate}isSeeking(){return this.media.seeking}setPlaybackRate(a,n){n!=null&&(this.media.preservesPitch=n),this.media.playbackRate=a}getMediaElement(){return this.media}setSinkId(a){return this.media.setSinkId(a)}}let Io=class ni extends Mn{constructor(a,n){super(),this.timeouts=[],this.isScrollable=!1,this.audioData=null,this.resizeObserver=null,this.lastContainerWidth=0,this.isDragging=!1,this.subscriptions=[],this.unsubscribeOnScroll=[],this.subscriptions=[],this.options=a;const r=this.parentFromOptionsContainer(a.container);this.parent=r;const[o,i]=this.initHtml();r.appendChild(o),this.container=o,this.scrollContainer=i.querySelector(".scroll"),this.wrapper=i.querySelector(".wrapper"),this.canvasWrapper=i.querySelector(".canvases"),this.progressWrapper=i.querySelector(".progress"),this.cursor=i.querySelector(".cursor"),n&&i.appendChild(n),this.initEvents()}parentFromOptionsContainer(a){let n;if(typeof a=="string"?n=document.querySelector(a):a instanceof HTMLElement&&(n=a),!n)throw new Error("Container not found");return n}initEvents(){const a=n=>{const r=this.wrapper.getBoundingClientRect(),o=n.clientX-r.left,i=n.clientY-r.top;return[o/r.width,i/r.height]};if(this.wrapper.addEventListener("click",n=>{const[r,o]=a(n);this.emit("click",r,o)}),this.wrapper.addEventListener("dblclick",n=>{const[r,o]=a(n);this.emit("dblclick",r,o)}),this.options.dragToSeek!==!0&&typeof this.options.dragToSeek!="object"||this.initDrag(),this.scrollContainer.addEventListener("scroll",()=>{const{scrollLeft:n,scrollWidth:r,clientWidth:o}=this.scrollContainer,i=n/r,s=(n+o)/r;this.emit("scroll",i,s,n,n+o)}),typeof ResizeObserver=="function"){const n=this.createDelay(100);this.resizeObserver=new ResizeObserver(()=>{n().then(()=>this.onContainerResize()).catch(()=>{})}),this.resizeObserver.observe(this.scrollContainer)}}onContainerResize(){const a=this.parent.clientWidth;a===this.lastContainerWidth&&this.options.height!=="auto"||(this.lastContainerWidth=a,this.reRender())}initDrag(){this.subscriptions.push(function(a,n,r,o,i=3,s=0,l=100){if(!a)return()=>{};const c=matchMedia("(pointer: coarse)").matches;let p=()=>{};const u=m=>{if(m.button!==s)return;m.preventDefault(),m.stopPropagation();let d=m.clientX,h=m.clientY,f=!1;const g=Date.now(),b=_=>{if(_.preventDefault(),_.stopPropagation(),c&&Date.now()-g<l)return;const T=_.clientX,N=_.clientY,S=T-d,B=N-h;if(f||Math.abs(S)>i||Math.abs(B)>i){const G=a.getBoundingClientRect(),{left:O,top:Q}=G;f||(r==null||r(d-O,h-Q),f=!0),n(S,B,T-O,N-Q),d=T,h=N}},x=_=>{if(f){const T=_.clientX,N=_.clientY,S=a.getBoundingClientRect(),{left:B,top:G}=S;o==null||o(T-B,N-G)}p()},w=_=>{_.relatedTarget&&_.relatedTarget!==document.documentElement||x(_)},k=_=>{f&&(_.stopPropagation(),_.preventDefault())},V=_=>{f&&_.preventDefault()};document.addEventListener("pointermove",b),document.addEventListener("pointerup",x),document.addEventListener("pointerout",w),document.addEventListener("pointercancel",w),document.addEventListener("touchmove",V,{passive:!1}),document.addEventListener("click",k,{capture:!0}),p=()=>{document.removeEventListener("pointermove",b),document.removeEventListener("pointerup",x),document.removeEventListener("pointerout",w),document.removeEventListener("pointercancel",w),document.removeEventListener("touchmove",V),setTimeout(()=>{document.removeEventListener("click",k,{capture:!0})},10)}};return a.addEventListener("pointerdown",u),()=>{p(),a.removeEventListener("pointerdown",u)}}(this.wrapper,(a,n,r)=>{this.emit("drag",Math.max(0,Math.min(1,r/this.wrapper.getBoundingClientRect().width)))},a=>{this.isDragging=!0,this.emit("dragstart",Math.max(0,Math.min(1,a/this.wrapper.getBoundingClientRect().width)))},a=>{this.isDragging=!1,this.emit("dragend",Math.max(0,Math.min(1,a/this.wrapper.getBoundingClientRect().width)))}))}getHeight(a,n){var r;const o=((r=this.audioData)===null||r===void 0?void 0:r.numberOfChannels)||1;if(a==null)return 128;if(!isNaN(Number(a)))return Number(a);if(a==="auto"){const i=this.parent.clientHeight||128;return n!=null&&n.every(s=>!s.overlay)?i/o:i}return 128}initHtml(){const a=document.createElement("div"),n=a.attachShadow({mode:"open"}),r=this.options.cspNonce&&typeof this.options.cspNonce=="string"?this.options.cspNonce.replace(/"/g,""):"";return n.innerHTML=`
|
|
16
16
|
<style${r?` nonce="${r}"`:""}>
|
|
17
17
|
:host {
|
|
18
18
|
user-select: none;
|
|
@@ -84,16 +84,16 @@
|
|
|
84
84
|
<div class="cursor" part="cursor"></div>
|
|
85
85
|
</div>
|
|
86
86
|
</div>
|
|
87
|
-
`,[a,n]}setOptions(a){if(this.options.container!==a.container){const n=this.parentFromOptionsContainer(a.container);n.appendChild(this.container),this.parent=n}a.dragToSeek!==!0&&typeof this.options.dragToSeek!="object"||this.initDrag(),this.options=a,this.reRender()}getWrapper(){return this.wrapper}getWidth(){return this.scrollContainer.clientWidth}getScroll(){return this.scrollContainer.scrollLeft}setScroll(a){this.scrollContainer.scrollLeft=a}setScrollPercentage(a){const{scrollWidth:n}=this.scrollContainer,r=n*a;this.setScroll(r)}destroy(){var a,n;this.subscriptions.forEach(r=>r()),this.container.remove(),(a=this.resizeObserver)===null||a===void 0||a.disconnect(),(n=this.unsubscribeOnScroll)===null||n===void 0||n.forEach(r=>r()),this.unsubscribeOnScroll=[]}createDelay(a=10){let n,r;const o=()=>{n&&clearTimeout(n),r&&r()};return this.timeouts.push(o),()=>new Promise((i,l)=>{o(),r=l,n=setTimeout(()=>{n=void 0,r=void 0,i()},a)})}convertColorValues(a){if(!Array.isArray(a))return a||"";if(a.length<2)return a[0]||"";const n=document.createElement("canvas"),r=n.getContext("2d"),o=n.height*(window.devicePixelRatio||1),i=r.createLinearGradient(0,0,0,o),l=1/(a.length-1);return a.forEach((s,d)=>{const p=d*l;i.addColorStop(p,s)}),i}getPixelRatio(){return Math.max(1,window.devicePixelRatio||1)}renderBarWaveform(a,n,r,o){const i=a[0],l=a[1]||a[0],s=i.length,{width:d,height:p}=r.canvas,f=p/2,h=this.getPixelRatio(),c=n.barWidth?n.barWidth*h:1,m=n.barGap?n.barGap*h:n.barWidth?c/2:0,u=n.barRadius||0,y=d/(c+m)/s,b=u&&"roundRect"in r?"roundRect":"rect";r.beginPath();let x=0,w=0,k=0;for(let B=0;B<=s;B++){const A=Math.round(B*y);if(A>x){const C=Math.round(w*f*o),M=C+Math.round(k*f*o)||1;let I=f-C;n.barAlign==="top"?I=0:n.barAlign==="bottom"&&(I=p-M),r[b](x*(c+m),I,c,M,u),x=A,w=0,k=0}const D=Math.abs(i[B]||0),V=Math.abs(l[B]||0);D>w&&(w=D),V>k&&(k=V)}r.fill(),r.closePath()}renderLineWaveform(a,n,r,o){const i=l=>{const s=a[l]||a[0],d=s.length,{height:p}=r.canvas,f=p/2,h=r.canvas.width/d;r.moveTo(0,f);let c=0,m=0;for(let u=0;u<=d;u++){const y=Math.round(u*h);if(y>c){const x=f+(Math.round(m*f*o)||1)*(l===0?-1:1);r.lineTo(c,x),c=y,m=0}const b=Math.abs(s[u]||0);b>m&&(m=b)}r.lineTo(c,f)};r.beginPath(),i(0),i(1),r.fill(),r.closePath()}renderWaveform(a,n,r){if(r.fillStyle=this.convertColorValues(n.waveColor),n.renderFunction)return void n.renderFunction(a,r);let o=n.barHeight||1;if(n.normalize){const i=Array.from(a[0]).reduce((l,s)=>Math.max(l,Math.abs(s)),0);o=i?1/i:1}n.barWidth||n.barGap||n.barAlign?this.renderBarWaveform(a,n,r,o):this.renderLineWaveform(a,n,r,o)}renderSingleCanvas(a,n,r,o,i,l,s){const d=this.getPixelRatio(),p=document.createElement("canvas");p.width=Math.round(r*d),p.height=Math.round(o*d),p.style.width=`${r}px`,p.style.height=`${o}px`,p.style.left=`${Math.round(i)}px`,l.appendChild(p);const f=p.getContext("2d");if(this.renderWaveform(a,n,f),p.width>0&&p.height>0){const h=p.cloneNode(),c=h.getContext("2d");c.drawImage(p,0,0),c.globalCompositeOperation="source-in",c.fillStyle=this.convertColorValues(n.progressColor),c.fillRect(0,0,p.width,p.height),s.appendChild(h)}}renderMultiCanvas(a,n,r,o,i,l){const s=this.getPixelRatio(),{clientWidth:d}=this.scrollContainer,p=r/s;let f=Math.min($o.MAX_CANVAS_WIDTH,d,p),h={};if(n.barWidth||n.barGap){const b=n.barWidth||.5,x=b+(n.barGap||b/2);f%x!=0&&(f=Math.floor(f/x)*x)}if(f===0)return;const c=b=>{if(b<0||b>=m||h[b])return;h[b]=!0;const x=b*f;let w=Math.min(p-x,f);if(n.barWidth||n.barGap){const B=n.barWidth||.5,A=B+(n.barGap||B/2);w=Math.floor(w/A)*A}if(w<=0)return;const k=a.map(B=>{const A=Math.floor(x/p*B.length),D=Math.floor((x+w)/p*B.length);return B.slice(A,D)});this.renderSingleCanvas(k,n,w,o,x,i,l)},m=Math.ceil(p/f);if(!this.isScrollable){for(let b=0;b<m;b++)c(b);return}const u=this.scrollContainer.scrollLeft/p,y=Math.floor(u*m);if(c(y-1),c(y),c(y+1),m>1){const b=this.on("scroll",()=>{const{scrollLeft:x}=this.scrollContainer,w=Math.floor(x/p*m);Object.keys(h).length>$o.MAX_NODES&&(i.innerHTML="",l.innerHTML="",h={}),c(w-1),c(w),c(w+1)});this.unsubscribeOnScroll.push(b)}}renderChannel(a,n,r,o){var{overlay:i}=n,l=function(f,h){var c={};for(var m in f)Object.prototype.hasOwnProperty.call(f,m)&&h.indexOf(m)<0&&(c[m]=f[m]);if(f!=null&&typeof Object.getOwnPropertySymbols=="function"){var u=0;for(m=Object.getOwnPropertySymbols(f);u<m.length;u++)h.indexOf(m[u])<0&&Object.prototype.propertyIsEnumerable.call(f,m[u])&&(c[m[u]]=f[m[u]])}return c}(n,["overlay"]);const s=document.createElement("div"),d=this.getHeight(l.height,l.splitChannels);s.style.height=`${d}px`,i&&o>0&&(s.style.marginTop=`-${d}px`),this.canvasWrapper.style.minHeight=`${d}px`,this.canvasWrapper.appendChild(s);const p=s.cloneNode();this.progressWrapper.appendChild(p),this.renderMultiCanvas(a,l,r,d,s,p)}render(a){return pt(this,void 0,void 0,function*(){var n;this.timeouts.forEach(d=>d()),this.timeouts=[],this.canvasWrapper.innerHTML="",this.progressWrapper.innerHTML="",this.options.width!=null&&(this.scrollContainer.style.width=typeof this.options.width=="number"?`${this.options.width}px`:this.options.width);const r=this.getPixelRatio(),o=this.scrollContainer.clientWidth,i=Math.ceil(a.duration*(this.options.minPxPerSec||0));this.isScrollable=i>o;const l=this.options.fillParent&&!this.isScrollable,s=(l?o:i)*r;if(this.wrapper.style.width=l?"100%":`${i}px`,this.scrollContainer.style.overflowX=this.isScrollable?"auto":"hidden",this.scrollContainer.classList.toggle("noScrollbar",!!this.options.hideScrollbar),this.cursor.style.backgroundColor=`${this.options.cursorColor||this.options.progressColor}`,this.cursor.style.width=`${this.options.cursorWidth}px`,this.audioData=a,this.emit("render"),this.options.splitChannels)for(let d=0;d<a.numberOfChannels;d++){const p=Object.assign(Object.assign({},this.options),(n=this.options.splitChannels)===null||n===void 0?void 0:n[d]);this.renderChannel([a.getChannelData(d)],p,s,d)}else{const d=[a.getChannelData(0)];a.numberOfChannels>1&&d.push(a.getChannelData(1)),this.renderChannel(d,this.options,s,0)}Promise.resolve().then(()=>this.emit("rendered"))})}reRender(){if(this.unsubscribeOnScroll.forEach(r=>r()),this.unsubscribeOnScroll=[],!this.audioData)return;const{scrollWidth:a}=this.scrollContainer,{right:n}=this.progressWrapper.getBoundingClientRect();if(this.render(this.audioData),this.isScrollable&&a!==this.scrollContainer.scrollWidth){const{right:r}=this.progressWrapper.getBoundingClientRect();let o=r-n;o*=2,o=o<0?Math.floor(o):Math.ceil(o),o/=2,this.scrollContainer.scrollLeft+=o}}zoom(a){this.options.minPxPerSec=a,this.reRender()}scrollIntoView(a,n=!1){const{scrollLeft:r,scrollWidth:o,clientWidth:i}=this.scrollContainer,l=a*o,s=r,d=r+i,p=i/2;if(this.isDragging)l+30>d?this.scrollContainer.scrollLeft+=30:l-30<s&&(this.scrollContainer.scrollLeft-=30);else{(l<s||l>d)&&(this.scrollContainer.scrollLeft=l-(this.options.autoCenter?p:0));const f=l-r-p;n&&this.options.autoCenter&&f>0&&(this.scrollContainer.scrollLeft+=Math.min(f,10))}{const f=this.scrollContainer.scrollLeft,h=f/o,c=(f+i)/o;this.emit("scroll",h,c,f,f+i)}}renderProgress(a,n){if(isNaN(a))return;const r=100*a;this.canvasWrapper.style.clipPath=`polygon(${r}% 0%, 100% 0%, 100% 100%, ${r}% 100%)`,this.progressWrapper.style.width=`${r}%`,this.cursor.style.left=`${r}%`,this.cursor.style.transform=this.options.cursorWidth?`translateX(-${a*this.options.cursorWidth}px)`:"",this.isScrollable&&this.options.autoScroll&&this.scrollIntoView(a,n)}exportImage(a,n,r){return pt(this,void 0,void 0,function*(){const o=this.canvasWrapper.querySelectorAll("canvas");if(!o.length)throw new Error("No waveform data");if(r==="dataURL"){const i=Array.from(o).map(l=>l.toDataURL(a,n));return Promise.resolve(i)}return Promise.all(Array.from(o).map(i=>new Promise((l,s)=>{i.toBlob(d=>{d?l(d):s(new Error("Could not export image"))},a,n)})))})}};No.MAX_CANVAS_WIDTH=8e3,No.MAX_NODES=10;class _7 extends vn{constructor(){super(...arguments),this.unsubscribe=()=>{}}start(){this.unsubscribe=this.on("tick",()=>{requestAnimationFrame(()=>{this.emit("tick")})}),this.emit("tick")}stop(){this.unsubscribe()}destroy(){this.unsubscribe()}}class Do extends vn{constructor(a=new AudioContext){super(),this.bufferNode=null,this.playStartTime=0,this.playedDuration=0,this._muted=!1,this._playbackRate=1,this._duration=void 0,this.buffer=null,this.currentSrc="",this.paused=!0,this.crossOrigin=null,this.seeking=!1,this.autoplay=!1,this.addEventListener=this.on,this.removeEventListener=this.un,this.audioContext=a,this.gainNode=this.audioContext.createGain(),this.gainNode.connect(this.audioContext.destination)}load(){return pt(this,void 0,void 0,function*(){})}get src(){return this.currentSrc}set src(a){if(this.currentSrc=a,this._duration=void 0,!a)return this.buffer=null,void this.emit("emptied");fetch(a).then(n=>{if(n.status>=400)throw new Error(`Failed to fetch ${a}: ${n.status} (${n.statusText})`);return n.arrayBuffer()}).then(n=>this.currentSrc!==a?null:this.audioContext.decodeAudioData(n)).then(n=>{this.currentSrc===a&&(this.buffer=n,this.emit("loadedmetadata"),this.emit("canplay"),this.autoplay&&this.play())})}_play(){var a;if(!this.paused)return;this.paused=!1,(a=this.bufferNode)===null||a===void 0||a.disconnect(),this.bufferNode=this.audioContext.createBufferSource(),this.buffer&&(this.bufferNode.buffer=this.buffer),this.bufferNode.playbackRate.value=this._playbackRate,this.bufferNode.connect(this.gainNode);let n=this.playedDuration*this._playbackRate;(n>=this.duration||n<0)&&(n=0,this.playedDuration=0),this.bufferNode.start(this.audioContext.currentTime,n),this.playStartTime=this.audioContext.currentTime,this.bufferNode.onended=()=>{this.currentTime>=this.duration&&(this.pause(),this.emit("ended"))}}_pause(){var a;this.paused=!0,(a=this.bufferNode)===null||a===void 0||a.stop(),this.playedDuration+=this.audioContext.currentTime-this.playStartTime}play(){return pt(this,void 0,void 0,function*(){this.paused&&(this._play(),this.emit("play"))})}pause(){this.paused||(this._pause(),this.emit("pause"))}stopAt(a){const n=a-this.currentTime,r=this.bufferNode;r==null||r.stop(this.audioContext.currentTime+n),r==null||r.addEventListener("ended",()=>{r===this.bufferNode&&(this.bufferNode=null,this.pause())},{once:!0})}setSinkId(a){return pt(this,void 0,void 0,function*(){return this.audioContext.setSinkId(a)})}get playbackRate(){return this._playbackRate}set playbackRate(a){this._playbackRate=a,this.bufferNode&&(this.bufferNode.playbackRate.value=a)}get currentTime(){return(this.paused?this.playedDuration:this.playedDuration+(this.audioContext.currentTime-this.playStartTime))*this._playbackRate}set currentTime(a){const n=!this.paused;n&&this._pause(),this.playedDuration=a/this._playbackRate,n&&this._play(),this.emit("seeking"),this.emit("timeupdate")}get duration(){var a,n;return(a=this._duration)!==null&&a!==void 0?a:((n=this.buffer)===null||n===void 0?void 0:n.duration)||0}set duration(a){this._duration=a}get volume(){return this.gainNode.gain.value}set volume(a){this.gainNode.gain.value=a,this.emit("volumechange")}get muted(){return this._muted}set muted(a){this._muted!==a&&(this._muted=a,this._muted?this.gainNode.disconnect():this.gainNode.connect(this.audioContext.destination))}canPlayType(a){return/^(audio|video)\//.test(a)}getGainNode(){return this.gainNode}getChannelData(){const a=[];if(!this.buffer)return a;const n=this.buffer.numberOfChannels;for(let r=0;r<n;r++)a.push(this.buffer.getChannelData(r));return a}removeAttribute(a){switch(a){case"src":this.src="";break;case"playbackRate":this.playbackRate=0;break;case"currentTime":this.currentTime=0;break;case"duration":this.duration=0;break;case"volume":this.volume=0;break;case"muted":this.muted=!1}}}const N7={waveColor:"#999",progressColor:"#555",cursorWidth:1,minPxPerSec:0,fillParent:!0,interact:!0,dragToSeek:!1,autoScroll:!0,autoCenter:!0,sampleRate:8e3};class En extends V7{static create(a){return new En(a)}constructor(a){const n=a.media||(a.backend==="WebAudio"?new Do:void 0);super({media:n,mediaControls:a.mediaControls,autoplay:a.autoplay,playbackRate:a.audioRate}),this.plugins=[],this.decodedData=null,this.stopAtPosition=null,this.subscriptions=[],this.mediaSubscriptions=[],this.abortController=null,this.options=Object.assign({},N7,a),this.timer=new _7;const r=n?void 0:this.getMediaElement();this.renderer=new No(this.options,r),this.initPlayerEvents(),this.initRendererEvents(),this.initTimerEvents(),this.initPlugins();const o=this.options.url||this.getSrc()||"";Promise.resolve().then(()=>{this.emit("init");const{peaks:i,duration:l}=this.options;(o||i&&l)&&this.load(o,i,l).catch(()=>null)})}updateProgress(a=this.getCurrentTime()){return this.renderer.renderProgress(a/this.getDuration(),this.isPlaying()),a}initTimerEvents(){this.subscriptions.push(this.timer.on("tick",()=>{if(!this.isSeeking()){const a=this.updateProgress();this.emit("timeupdate",a),this.emit("audioprocess",a),this.stopAtPosition!=null&&this.isPlaying()&&a>=this.stopAtPosition&&this.pause()}}))}initPlayerEvents(){this.isPlaying()&&(this.emit("play"),this.timer.start()),this.mediaSubscriptions.push(this.onMediaEvent("timeupdate",()=>{const a=this.updateProgress();this.emit("timeupdate",a)}),this.onMediaEvent("play",()=>{this.emit("play"),this.timer.start()}),this.onMediaEvent("pause",()=>{this.emit("pause"),this.timer.stop(),this.stopAtPosition=null}),this.onMediaEvent("emptied",()=>{this.timer.stop(),this.stopAtPosition=null}),this.onMediaEvent("ended",()=>{this.emit("timeupdate",this.getDuration()),this.emit("finish"),this.stopAtPosition=null}),this.onMediaEvent("seeking",()=>{this.emit("seeking",this.getCurrentTime())}),this.onMediaEvent("error",()=>{var a;this.emit("error",(a=this.getMediaElement().error)!==null&&a!==void 0?a:new Error("Media error")),this.stopAtPosition=null}))}initRendererEvents(){this.subscriptions.push(this.renderer.on("click",(a,n)=>{this.options.interact&&(this.seekTo(a),this.emit("interaction",a*this.getDuration()),this.emit("click",a,n))}),this.renderer.on("dblclick",(a,n)=>{this.emit("dblclick",a,n)}),this.renderer.on("scroll",(a,n,r,o)=>{const i=this.getDuration();this.emit("scroll",a*i,n*i,r,o)}),this.renderer.on("render",()=>{this.emit("redraw")}),this.renderer.on("rendered",()=>{this.emit("redrawcomplete")}),this.renderer.on("dragstart",a=>{this.emit("dragstart",a)}),this.renderer.on("dragend",a=>{this.emit("dragend",a)}));{let a;this.subscriptions.push(this.renderer.on("drag",n=>{if(!this.options.interact)return;let r;this.renderer.renderProgress(n),clearTimeout(a),this.isPlaying()?r=0:this.options.dragToSeek===!0?r=200:typeof this.options.dragToSeek=="object"&&this.options.dragToSeek!==void 0&&(r=this.options.dragToSeek.debounceTime),a=setTimeout(()=>{this.seekTo(n)},r),this.emit("interaction",n*this.getDuration()),this.emit("drag",n)}))}}initPlugins(){var a;!((a=this.options.plugins)===null||a===void 0)&&a.length&&this.options.plugins.forEach(n=>{this.registerPlugin(n)})}unsubscribePlayerEvents(){this.mediaSubscriptions.forEach(a=>a()),this.mediaSubscriptions=[]}setOptions(a){this.options=Object.assign({},this.options,a),a.duration&&!a.peaks&&(this.decodedData=sr.createBuffer(this.exportPeaks(),a.duration)),a.peaks&&a.duration&&(this.decodedData=sr.createBuffer(a.peaks,a.duration)),this.renderer.setOptions(this.options),a.audioRate&&this.setPlaybackRate(a.audioRate),a.mediaControls!=null&&(this.getMediaElement().controls=a.mediaControls)}registerPlugin(a){if(this.plugins.includes(a))return a;a._init(this),this.plugins.push(a);const n=a.once("destroy",()=>{this.plugins=this.plugins.filter(r=>r!==a),this.subscriptions=this.subscriptions.filter(r=>r!==n)});return this.subscriptions.push(n),a}unregisterPlugin(a){this.plugins=this.plugins.filter(n=>n!==a),a.destroy()}getWrapper(){return this.renderer.getWrapper()}getWidth(){return this.renderer.getWidth()}getScroll(){return this.renderer.getScroll()}setScroll(a){return this.renderer.setScroll(a)}setScrollTime(a){const n=a/this.getDuration();this.renderer.setScrollPercentage(n)}getActivePlugins(){return this.plugins}loadAudio(a,n,r,o){return pt(this,void 0,void 0,function*(){var i;if(this.emit("load",a),!this.options.media&&this.isPlaying()&&this.pause(),this.decodedData=null,this.stopAtPosition=null,!n&&!r){const s=this.options.fetchParams||{};window.AbortController&&!s.signal&&(this.abortController=new AbortController,s.signal=(i=this.abortController)===null||i===void 0?void 0:i.signal);const d=f=>this.emit("loading",f);n=yield A7.fetchBlob(a,d,s);const p=this.options.blobMimeType;p&&(n=new Blob([n],{type:p}))}this.setSrc(a,n);const l=yield new Promise(s=>{const d=o||this.getDuration();d?s(d):this.mediaSubscriptions.push(this.onMediaEvent("loadedmetadata",()=>s(this.getDuration()),{once:!0}))});if(!a&&!n){const s=this.getMediaElement();s instanceof Do&&(s.duration=l)}if(r)this.decodedData=sr.createBuffer(r,l||0);else if(n){const s=yield n.arrayBuffer();this.decodedData=yield sr.decode(s,this.options.sampleRate)}this.decodedData&&(this.emit("decode",this.getDuration()),this.renderer.render(this.decodedData)),this.emit("ready",this.getDuration())})}load(a,n,r){return pt(this,void 0,void 0,function*(){try{return yield this.loadAudio(a,void 0,n,r)}catch(o){throw this.emit("error",o),o}})}loadBlob(a,n,r){return pt(this,void 0,void 0,function*(){try{return yield this.loadAudio("",a,n,r)}catch(o){throw this.emit("error",o),o}})}zoom(a){if(!this.decodedData)throw new Error("No audio loaded");this.renderer.zoom(a),this.emit("zoom",a)}getDecodedData(){return this.decodedData}exportPeaks({channels:a=2,maxLength:n=8e3,precision:r=1e4}={}){if(!this.decodedData)throw new Error("The audio has not been decoded yet");const o=Math.min(a,this.decodedData.numberOfChannels),i=[];for(let l=0;l<o;l++){const s=this.decodedData.getChannelData(l),d=[],p=s.length/n;for(let f=0;f<n;f++){const h=s.slice(Math.floor(f*p),Math.ceil((f+1)*p));let c=0;for(let m=0;m<h.length;m++){const u=h[m];Math.abs(u)>Math.abs(c)&&(c=u)}d.push(Math.round(c*r)/r)}i.push(d)}return i}getDuration(){let a=super.getDuration()||0;return a!==0&&a!==1/0||!this.decodedData||(a=this.decodedData.duration),a}toggleInteraction(a){this.options.interact=a}setTime(a){this.stopAtPosition=null,super.setTime(a),this.updateProgress(a),this.emit("timeupdate",a)}seekTo(a){const n=this.getDuration()*a;this.setTime(n)}play(a,n){const r=Object.create(null,{play:{get:()=>super.play}});return pt(this,void 0,void 0,function*(){a!=null&&this.setTime(a);const o=yield r.play.call(this);return n!=null&&(this.media instanceof Do?this.media.stopAt(n):this.stopAtPosition=n),o})}playPause(){return pt(this,void 0,void 0,function*(){return this.isPlaying()?this.pause():this.play()})}stop(){this.pause(),this.setTime(0)}skip(a){this.setTime(this.getCurrentTime()+a)}empty(){this.load("",[[0]],.001)}setMediaElement(a){this.unsubscribePlayerEvents(),super.setMediaElement(a),this.initPlayerEvents()}exportImage(){return pt(this,arguments,void 0,function*(a="image/png",n=1,r="dataURL"){return this.renderer.exportImage(a,n,r)})}destroy(){var a;this.emit("destroy"),(a=this.abortController)===null||a===void 0||a.abort(),this.plugins.forEach(n=>n.destroy()),this.subscriptions.forEach(n=>n()),this.unsubscribePlayerEvents(),this.timer.destroy(),this.renderer.destroy(),super.destroy()}}En.BasePlugin=class extends vn{constructor(e){super(),this.subscriptions=[],this.isDestroyed=!1,this.options=e}onInit(){}_init(e){this.isDestroyed&&(this.subscriptions=[],this.isDestroyed=!1),this.wavesurfer=e,this.onInit()}destroy(){this.emit("destroy"),this.subscriptions.forEach(e=>e()),this.subscriptions=[],this.isDestroyed=!0,this.wavesurfer=void 0}},En.dom=B7;const D7={components:{Avatar:mo},props:{audio:{type:String,required:!0},avatar:{type:[String,null],required:!0},isOwner:{type:Boolean}},emits:["duration","currentTime"],data(){return{wavesurfer:null,audioData:null,isPlaying:!1,duration:0,currentTime:0,isLoading:!0,playbackRate:1}},watch:{audio(e){this.loadAudio(e)}},mounted(){this.wavesurfer=En.create({container:this.$refs.waveform,waveColor:"#165CF3",progressColor:"#AFAFAF",height:70,cursorWidth:14,cursorColor:"#fff",barWidth:4,barRadius:30,barHeight:.7,barGap:3,hideScrollbar:!0}),this.wavesurfer.on("ready",()=>{this.duration=this.wavesurfer.getDuration(),this.$emit("duration",this.duration),this.isLoading=!1}),this.wavesurfer.on("play",()=>{this.isPlaying=!0}),this.wavesurfer.on("pause",()=>{this.isPlaying=!1}),this.wavesurfer.on("finish",()=>{this.isPlaying=!1}),this.wavesurfer.on("audioprocess",()=>{this.currentTime=this.wavesurfer.getCurrentTime(),this.$emit("currentTime",this.currentTime)}),this.loadAudio(this.audio)},methods:{changeValue(){this.playbackRate===2?this.playbackRate=1:this.playbackRate+=.5,this.changePlaybackRate()},changePlaybackRate(){this.wavesurfer.setPlaybackRate(this.playbackRate)},loadAudio(e){if(this.isBase64(e)){const a=this.base64ToBlob(e);this.wavesurfer.loadBlob(a)}else this.wavesurfer.load(e)},isBase64(e){try{return btoa(atob(e))==e}catch{return!1}},base64ToBlob(e){const a=atob(e),n=new Array(a.length);for(let o=0;o<a.length;o++)n[o]=a.charCodeAt(o);const r=new Uint8Array(n);return new Blob([r],{type:"audio/mp3"})},playPause(){this.wavesurfer.playPause()}}},T7={class:"flex size-full min-w-[220px] select-none items-center justify-center space-x-2 pr-2 text-gray-200 dark:text-gray-700"},P7={key:0,class:"w-20"},O7={class:"fade relative"},F7={key:0,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-8 fill-current"},L7={key:1,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-10"},$7={class:"flex h-20 w-full items-center justify-center text-center"},H7={key:0,class:"loader-dots relative mx-auto flex h-5 w-full items-center justify-center"},R7={id:"waveform",ref:"waveform",style:{display:"block"},class:"w-full"},z7={key:1,class:"w-24 pl-3"},I7={class:"fade relative"};function G7(e,a,n,r,o,i){const l=t.resolveComponent("Avatar");return t.openBlock(),t.createElementBlock("div",T7,[n.isOwner?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("section",P7,[t.withDirectives(t.createElementVNode("main",O7,[t.createVNode(l,{url:n.avatar,class:"xl:size-[50px]"},null,8,["url"]),a[3]||(a[3]=t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"absolute -bottom-1 -right-1 w-5 rounded-full bg-emerald-500 p-1 text-white"},[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 18.75a6 6 0 006-6v-1.5m-6 7.5a6 6 0 01-6-6v-1.5m6 7.5v3.75m-3.75 0h7.5M12 15.75a3 3 0 01-3-3V4.5a3 3 0 116 0v8.25a3 3 0 01-3 3z"})],-1))],512),[[t.vShow,!o.isPlaying]]),t.withDirectives(t.createElementVNode("div",{class:"fade header relative flex size-12 cursor-pointer items-center justify-center rounded-full border-2 border-light dark:border-light",onClick:a[0]||(a[0]=(...s)=>i.changeValue&&i.changeValue(...s))},[t.createTextVNode(t.toDisplayString(o.playbackRate.toFixed(1))+"x ",1),a[4]||(a[4]=t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",class:"absolute bottom-[-11px] left-[28px] w-5 rounded-full bg-emerald-500 p-[4px] text-white",viewBox:"0 0 16 16"},[t.createElementVNode("path",{d:"M12.5 4a.5.5 0 0 0-1 0v3.248L5.233 3.612C4.693 3.3 4 3.678 4 4.308v7.384c0 .63.692 1.01 1.233.697L11.5 8.753V12a.5.5 0 0 0 1 0V4z"})],-1))],512),[[t.vShow,o.isPlaying]])])),t.createElementVNode("button",{class:"",onClick:a[1]||(a[1]=(...s)=>i.playPause&&i.playPause(...s))},[o.isPlaying?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("svg",F7,a[5]||(a[5]=[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M5.25 5.653c0-.856.917-1.398 1.667-.986l11.54 6.348a1.125 1.125 0 010 1.971l-11.54 6.347a1.125 1.125 0 01-1.667-.985V5.653z"},null,-1)]))),o.isPlaying?(t.openBlock(),t.createElementBlock("svg",L7,a[6]||(a[6]=[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 5.25v13.5m-7.5-13.5v13.5"},null,-1)]))):t.createCommentVNode("",!0)]),t.createElementVNode("section",$7,[o.isLoading?(t.openBlock(),t.createElementBlock("div",H7,a[7]||(a[7]=[t.createElementVNode("div",{class:"absolute ml-5 mt-1 size-3 rounded-full bg-[#0FB2D6]"},null,-1),t.createElementVNode("div",{class:"absolute top-0 ml-5 mt-1 size-3 rounded-full bg-[#0FB2D6]"},null,-1),t.createElementVNode("div",{class:"absolute top-0 ml-5 mt-1 size-3 rounded-full bg-[#0FB2D6]"},null,-1),t.createElementVNode("div",{class:"absolute top-0 ml-5 mt-1 size-3 rounded-full bg-[#0FB2D6]"},null,-1)]))):t.createCommentVNode("",!0),t.withDirectives(t.createElementVNode("div",R7,null,512),[[t.vShow,!o.isLoading]])]),n.isOwner?(t.openBlock(),t.createElementBlock("section",z7,[t.withDirectives(t.createElementVNode("main",I7,[t.createVNode(l,{url:n.avatar,class:"xl:size-[50px]"},null,8,["url"]),a[8]||(a[8]=t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"absolute -bottom-2 -left-2 w-7 rounded-full bg-emerald-500 p-1 text-white"},[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 18.75a6 6 0 006-6v-1.5m-6 7.5a6 6 0 01-6-6v-1.5m6 7.5v3.75m-3.75 0h7.5M12 15.75a3 3 0 01-3-3V4.5a3 3 0 116 0v8.25a3 3 0 01-3 3z"})],-1))],512),[[t.vShow,!o.isPlaying]]),t.withDirectives(t.createElementVNode("div",{class:"fade header relative flex size-12 cursor-pointer items-center justify-center rounded-full border-2 border-light dark:border-light",onClick:a[2]||(a[2]=(...s)=>i.changeValue&&i.changeValue(...s))},[t.createTextVNode(t.toDisplayString(o.playbackRate.toFixed(1))+"x ",1),a[9]||(a[9]=t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",class:"absolute bottom-[-10px] right-[26px] w-7 rounded-full bg-emerald-500 p-[4px] text-white",viewBox:"0 0 16 16"},[t.createElementVNode("path",{d:"M12.5 4a.5.5 0 0 0-1 0v3.248L5.233 3.612C4.693 3.3 4 3.678 4 4.308v7.384c0 .63.692 1.01 1.233.697L11.5 8.753V12a.5.5 0 0 0 1 0V4z"})],-1))],512),[[t.vShow,o.isPlaying]])])):t.createCommentVNode("",!0)])}const Ws=qe(D7,[["render",G7]]),j7={key:0},q7=["src"],W7={key:1,class:"size-12 text-white","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},Y7={class:"flex gap-2 items-center text-primary"},U7={class:"truncate text-xs text-primary"},X7={key:0,class:"flex gap-2"},Z7={class:"video_message_preview"},Q7={class:"label_video_hover"},K7={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2",class:"absolute left-2 top-2 size-6",style:{transform:"rotate(135deg)"}},J7={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2",class:"absolute right-2 top-2 size-6",style:{transform:"rotate(-135deg)"}},e8={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2",class:"absolute bottom-2 left-2 size-6",style:{transform:"rotate(45deg)"}},t8={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2",class:"absolute bottom-2 right-2 size-6",style:{transform:"rotate(-45deg)"}},a8=["src"],n8={key:3},r8=["src"],o8=["src","type"],i8={key:1,class:"size-12 text-white","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},l8={key:0},s8={class:"video_message_preview"},c8={class:"label_video_hover"},d8={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2",class:"absolute left-2 top-2 size-6",style:{transform:"rotate(135deg)"}},u8={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2",class:"absolute right-2 top-2 size-6",style:{transform:"rotate(-135deg)"}},m8={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2",class:"absolute bottom-2 left-2 size-6",style:{transform:"rotate(45deg)"}},f8={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2",class:"absolute bottom-2 right-2 size-6",style:{transform:"rotate(-45deg)"}},h8=["src"],p8={key:1,class:"size-full"},g8={key:4},y8={key:0,class:"w-full px-4"},k8={key:1,class:"size-12 text-white","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},x8={key:0,class:"span_generic_files"},b8={class:"truncate"},w8={key:6,class:"flex flex-col w-full"},v8={key:0,class:"preview_audio_time"},To=qe({__name:"previewFiles",props:{isMobile:{type:Boolean,default:!1},base64:{type:String},mimetype:{type:String},mode:{type:String,default:"message"},fileName:{type:String},avatar:{type:[String,null],required:!0}},setup(e){const a=e,n=t.ref(null),r=t.ref(null),o=t.ref(0),i=t.computed(()=>a.mimetype==="application/pdf"),l=t.computed(()=>["image/png","image/jpeg","image/svg+xml"].includes(a.mimetype)),s=t.computed(()=>["audio/mpeg","application/octet-stream"].includes(a.mimetype)),d=m=>m?m.startsWith("video/"):void 0,p=async(m,u,y="")=>{a.mode!=="miniature"&&(d(u)?Ye.show([{type:"html",src:m,html:`
|
|
87
|
+
`,[a,n]}setOptions(a){if(this.options.container!==a.container){const n=this.parentFromOptionsContainer(a.container);n.appendChild(this.container),this.parent=n}a.dragToSeek!==!0&&typeof this.options.dragToSeek!="object"||this.initDrag(),this.options=a,this.reRender()}getWrapper(){return this.wrapper}getWidth(){return this.scrollContainer.clientWidth}getScroll(){return this.scrollContainer.scrollLeft}setScroll(a){this.scrollContainer.scrollLeft=a}setScrollPercentage(a){const{scrollWidth:n}=this.scrollContainer,r=n*a;this.setScroll(r)}destroy(){var a,n;this.subscriptions.forEach(r=>r()),this.container.remove(),(a=this.resizeObserver)===null||a===void 0||a.disconnect(),(n=this.unsubscribeOnScroll)===null||n===void 0||n.forEach(r=>r()),this.unsubscribeOnScroll=[]}createDelay(a=10){let n,r;const o=()=>{n&&clearTimeout(n),r&&r()};return this.timeouts.push(o),()=>new Promise((i,s)=>{o(),r=s,n=setTimeout(()=>{n=void 0,r=void 0,i()},a)})}convertColorValues(a){if(!Array.isArray(a))return a||"";if(a.length<2)return a[0]||"";const n=document.createElement("canvas"),r=n.getContext("2d"),o=n.height*(window.devicePixelRatio||1),i=r.createLinearGradient(0,0,0,o),s=1/(a.length-1);return a.forEach((l,c)=>{const p=c*s;i.addColorStop(p,l)}),i}getPixelRatio(){return Math.max(1,window.devicePixelRatio||1)}renderBarWaveform(a,n,r,o){const i=a[0],s=a[1]||a[0],l=i.length,{width:c,height:p}=r.canvas,u=p/2,m=this.getPixelRatio(),d=n.barWidth?n.barWidth*m:1,h=n.barGap?n.barGap*m:n.barWidth?d/2:0,f=n.barRadius||0,g=c/(d+h)/l,b=f&&"roundRect"in r?"roundRect":"rect";r.beginPath();let x=0,w=0,k=0;for(let V=0;V<=l;V++){const _=Math.round(V*g);if(_>x){const S=Math.round(w*u*o),B=S+Math.round(k*u*o)||1;let G=u-S;n.barAlign==="top"?G=0:n.barAlign==="bottom"&&(G=p-B),r[b](x*(d+h),G,d,B,f),x=_,w=0,k=0}const T=Math.abs(i[V]||0),N=Math.abs(s[V]||0);T>w&&(w=T),N>k&&(k=N)}r.fill(),r.closePath()}renderLineWaveform(a,n,r,o){const i=s=>{const l=a[s]||a[0],c=l.length,{height:p}=r.canvas,u=p/2,m=r.canvas.width/c;r.moveTo(0,u);let d=0,h=0;for(let f=0;f<=c;f++){const g=Math.round(f*m);if(g>d){const x=u+(Math.round(h*u*o)||1)*(s===0?-1:1);r.lineTo(d,x),d=g,h=0}const b=Math.abs(l[f]||0);b>h&&(h=b)}r.lineTo(d,u)};r.beginPath(),i(0),i(1),r.fill(),r.closePath()}renderWaveform(a,n,r){if(r.fillStyle=this.convertColorValues(n.waveColor),n.renderFunction)return void n.renderFunction(a,r);let o=n.barHeight||1;if(n.normalize){const i=Array.from(a[0]).reduce((s,l)=>Math.max(s,Math.abs(l)),0);o=i?1/i:1}n.barWidth||n.barGap||n.barAlign?this.renderBarWaveform(a,n,r,o):this.renderLineWaveform(a,n,r,o)}renderSingleCanvas(a,n,r,o,i,s,l){const c=this.getPixelRatio(),p=document.createElement("canvas");p.width=Math.round(r*c),p.height=Math.round(o*c),p.style.width=`${r}px`,p.style.height=`${o}px`,p.style.left=`${Math.round(i)}px`,s.appendChild(p);const u=p.getContext("2d");if(this.renderWaveform(a,n,u),p.width>0&&p.height>0){const m=p.cloneNode(),d=m.getContext("2d");d.drawImage(p,0,0),d.globalCompositeOperation="source-in",d.fillStyle=this.convertColorValues(n.progressColor),d.fillRect(0,0,p.width,p.height),l.appendChild(m)}}renderMultiCanvas(a,n,r,o,i,s){const l=this.getPixelRatio(),{clientWidth:c}=this.scrollContainer,p=r/l;let u=Math.min(ni.MAX_CANVAS_WIDTH,c,p),m={};if(n.barWidth||n.barGap){const b=n.barWidth||.5,x=b+(n.barGap||b/2);u%x!=0&&(u=Math.floor(u/x)*x)}if(u===0)return;const d=b=>{if(b<0||b>=h||m[b])return;m[b]=!0;const x=b*u;let w=Math.min(p-x,u);if(n.barWidth||n.barGap){const V=n.barWidth||.5,_=V+(n.barGap||V/2);w=Math.floor(w/_)*_}if(w<=0)return;const k=a.map(V=>{const _=Math.floor(x/p*V.length),T=Math.floor((x+w)/p*V.length);return V.slice(_,T)});this.renderSingleCanvas(k,n,w,o,x,i,s)},h=Math.ceil(p/u);if(!this.isScrollable){for(let b=0;b<h;b++)d(b);return}const f=this.scrollContainer.scrollLeft/p,g=Math.floor(f*h);if(d(g-1),d(g),d(g+1),h>1){const b=this.on("scroll",()=>{const{scrollLeft:x}=this.scrollContainer,w=Math.floor(x/p*h);Object.keys(m).length>ni.MAX_NODES&&(i.innerHTML="",s.innerHTML="",m={}),d(w-1),d(w),d(w+1)});this.unsubscribeOnScroll.push(b)}}renderChannel(a,n,r,o){var{overlay:i}=n,s=function(u,m){var d={};for(var h in u)Object.prototype.hasOwnProperty.call(u,h)&&m.indexOf(h)<0&&(d[h]=u[h]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function"){var f=0;for(h=Object.getOwnPropertySymbols(u);f<h.length;f++)m.indexOf(h[f])<0&&Object.prototype.propertyIsEnumerable.call(u,h[f])&&(d[h[f]]=u[h[f]])}return d}(n,["overlay"]);const l=document.createElement("div"),c=this.getHeight(s.height,s.splitChannels);l.style.height=`${c}px`,i&&o>0&&(l.style.marginTop=`-${c}px`),this.canvasWrapper.style.minHeight=`${c}px`,this.canvasWrapper.appendChild(l);const p=l.cloneNode();this.progressWrapper.appendChild(p),this.renderMultiCanvas(a,s,r,c,l,p)}render(a){return pt(this,void 0,void 0,function*(){var n;this.timeouts.forEach(c=>c()),this.timeouts=[],this.canvasWrapper.innerHTML="",this.progressWrapper.innerHTML="",this.options.width!=null&&(this.scrollContainer.style.width=typeof this.options.width=="number"?`${this.options.width}px`:this.options.width);const r=this.getPixelRatio(),o=this.scrollContainer.clientWidth,i=Math.ceil(a.duration*(this.options.minPxPerSec||0));this.isScrollable=i>o;const s=this.options.fillParent&&!this.isScrollable,l=(s?o:i)*r;if(this.wrapper.style.width=s?"100%":`${i}px`,this.scrollContainer.style.overflowX=this.isScrollable?"auto":"hidden",this.scrollContainer.classList.toggle("noScrollbar",!!this.options.hideScrollbar),this.cursor.style.backgroundColor=`${this.options.cursorColor||this.options.progressColor}`,this.cursor.style.width=`${this.options.cursorWidth}px`,this.audioData=a,this.emit("render"),this.options.splitChannels)for(let c=0;c<a.numberOfChannels;c++){const p=Object.assign(Object.assign({},this.options),(n=this.options.splitChannels)===null||n===void 0?void 0:n[c]);this.renderChannel([a.getChannelData(c)],p,l,c)}else{const c=[a.getChannelData(0)];a.numberOfChannels>1&&c.push(a.getChannelData(1)),this.renderChannel(c,this.options,l,0)}Promise.resolve().then(()=>this.emit("rendered"))})}reRender(){if(this.unsubscribeOnScroll.forEach(r=>r()),this.unsubscribeOnScroll=[],!this.audioData)return;const{scrollWidth:a}=this.scrollContainer,{right:n}=this.progressWrapper.getBoundingClientRect();if(this.render(this.audioData),this.isScrollable&&a!==this.scrollContainer.scrollWidth){const{right:r}=this.progressWrapper.getBoundingClientRect();let o=r-n;o*=2,o=o<0?Math.floor(o):Math.ceil(o),o/=2,this.scrollContainer.scrollLeft+=o}}zoom(a){this.options.minPxPerSec=a,this.reRender()}scrollIntoView(a,n=!1){const{scrollLeft:r,scrollWidth:o,clientWidth:i}=this.scrollContainer,s=a*o,l=r,c=r+i,p=i/2;if(this.isDragging)s+30>c?this.scrollContainer.scrollLeft+=30:s-30<l&&(this.scrollContainer.scrollLeft-=30);else{(s<l||s>c)&&(this.scrollContainer.scrollLeft=s-(this.options.autoCenter?p:0));const u=s-r-p;n&&this.options.autoCenter&&u>0&&(this.scrollContainer.scrollLeft+=Math.min(u,10))}{const u=this.scrollContainer.scrollLeft,m=u/o,d=(u+i)/o;this.emit("scroll",m,d,u,u+i)}}renderProgress(a,n){if(isNaN(a))return;const r=100*a;this.canvasWrapper.style.clipPath=`polygon(${r}% 0%, 100% 0%, 100% 100%, ${r}% 100%)`,this.progressWrapper.style.width=`${r}%`,this.cursor.style.left=`${r}%`,this.cursor.style.transform=this.options.cursorWidth?`translateX(-${a*this.options.cursorWidth}px)`:"",this.isScrollable&&this.options.autoScroll&&this.scrollIntoView(a,n)}exportImage(a,n,r){return pt(this,void 0,void 0,function*(){const o=this.canvasWrapper.querySelectorAll("canvas");if(!o.length)throw new Error("No waveform data");if(r==="dataURL"){const i=Array.from(o).map(s=>s.toDataURL(a,n));return Promise.resolve(i)}return Promise.all(Array.from(o).map(i=>new Promise((s,l)=>{i.toBlob(c=>{c?s(c):l(new Error("Could not export image"))},a,n)})))})}};Io.MAX_CANVAS_WIDTH=8e3,Io.MAX_NODES=10;class ff extends Mn{constructor(){super(...arguments),this.unsubscribe=()=>{}}start(){this.unsubscribe=this.on("tick",()=>{requestAnimationFrame(()=>{this.emit("tick")})}),this.emit("tick")}stop(){this.unsubscribe()}destroy(){this.unsubscribe()}}class Go extends Mn{constructor(a=new AudioContext){super(),this.bufferNode=null,this.playStartTime=0,this.playedDuration=0,this._muted=!1,this._playbackRate=1,this._duration=void 0,this.buffer=null,this.currentSrc="",this.paused=!0,this.crossOrigin=null,this.seeking=!1,this.autoplay=!1,this.addEventListener=this.on,this.removeEventListener=this.un,this.audioContext=a,this.gainNode=this.audioContext.createGain(),this.gainNode.connect(this.audioContext.destination)}load(){return pt(this,void 0,void 0,function*(){})}get src(){return this.currentSrc}set src(a){if(this.currentSrc=a,this._duration=void 0,!a)return this.buffer=null,void this.emit("emptied");fetch(a).then(n=>{if(n.status>=400)throw new Error(`Failed to fetch ${a}: ${n.status} (${n.statusText})`);return n.arrayBuffer()}).then(n=>this.currentSrc!==a?null:this.audioContext.decodeAudioData(n)).then(n=>{this.currentSrc===a&&(this.buffer=n,this.emit("loadedmetadata"),this.emit("canplay"),this.autoplay&&this.play())})}_play(){var a;if(!this.paused)return;this.paused=!1,(a=this.bufferNode)===null||a===void 0||a.disconnect(),this.bufferNode=this.audioContext.createBufferSource(),this.buffer&&(this.bufferNode.buffer=this.buffer),this.bufferNode.playbackRate.value=this._playbackRate,this.bufferNode.connect(this.gainNode);let n=this.playedDuration*this._playbackRate;(n>=this.duration||n<0)&&(n=0,this.playedDuration=0),this.bufferNode.start(this.audioContext.currentTime,n),this.playStartTime=this.audioContext.currentTime,this.bufferNode.onended=()=>{this.currentTime>=this.duration&&(this.pause(),this.emit("ended"))}}_pause(){var a;this.paused=!0,(a=this.bufferNode)===null||a===void 0||a.stop(),this.playedDuration+=this.audioContext.currentTime-this.playStartTime}play(){return pt(this,void 0,void 0,function*(){this.paused&&(this._play(),this.emit("play"))})}pause(){this.paused||(this._pause(),this.emit("pause"))}stopAt(a){const n=a-this.currentTime,r=this.bufferNode;r==null||r.stop(this.audioContext.currentTime+n),r==null||r.addEventListener("ended",()=>{r===this.bufferNode&&(this.bufferNode=null,this.pause())},{once:!0})}setSinkId(a){return pt(this,void 0,void 0,function*(){return this.audioContext.setSinkId(a)})}get playbackRate(){return this._playbackRate}set playbackRate(a){this._playbackRate=a,this.bufferNode&&(this.bufferNode.playbackRate.value=a)}get currentTime(){return(this.paused?this.playedDuration:this.playedDuration+(this.audioContext.currentTime-this.playStartTime))*this._playbackRate}set currentTime(a){const n=!this.paused;n&&this._pause(),this.playedDuration=a/this._playbackRate,n&&this._play(),this.emit("seeking"),this.emit("timeupdate")}get duration(){var a,n;return(a=this._duration)!==null&&a!==void 0?a:((n=this.buffer)===null||n===void 0?void 0:n.duration)||0}set duration(a){this._duration=a}get volume(){return this.gainNode.gain.value}set volume(a){this.gainNode.gain.value=a,this.emit("volumechange")}get muted(){return this._muted}set muted(a){this._muted!==a&&(this._muted=a,this._muted?this.gainNode.disconnect():this.gainNode.connect(this.audioContext.destination))}canPlayType(a){return/^(audio|video)\//.test(a)}getGainNode(){return this.gainNode}getChannelData(){const a=[];if(!this.buffer)return a;const n=this.buffer.numberOfChannels;for(let r=0;r<n;r++)a.push(this.buffer.getChannelData(r));return a}removeAttribute(a){switch(a){case"src":this.src="";break;case"playbackRate":this.playbackRate=0;break;case"currentTime":this.currentTime=0;break;case"duration":this.duration=0;break;case"volume":this.volume=0;break;case"muted":this.muted=!1}}}const mf={waveColor:"#999",progressColor:"#555",cursorWidth:1,minPxPerSec:0,fillParent:!0,interact:!0,dragToSeek:!1,autoScroll:!0,autoCenter:!0,sampleRate:8e3};let jo=class s0 extends uf{static create(a){return new s0(a)}constructor(a){const n=a.media||(a.backend==="WebAudio"?new Go:void 0);super({media:n,mediaControls:a.mediaControls,autoplay:a.autoplay,playbackRate:a.audioRate}),this.plugins=[],this.decodedData=null,this.stopAtPosition=null,this.subscriptions=[],this.mediaSubscriptions=[],this.abortController=null,this.options=Object.assign({},mf,a),this.timer=new ff;const r=n?void 0:this.getMediaElement();this.renderer=new Io(this.options,r),this.initPlayerEvents(),this.initRendererEvents(),this.initTimerEvents(),this.initPlugins();const o=this.options.url||this.getSrc()||"";Promise.resolve().then(()=>{this.emit("init");const{peaks:i,duration:s}=this.options;(o||i&&s)&&this.load(o,i,s).catch(()=>null)})}updateProgress(a=this.getCurrentTime()){return this.renderer.renderProgress(a/this.getDuration(),this.isPlaying()),a}initTimerEvents(){this.subscriptions.push(this.timer.on("tick",()=>{if(!this.isSeeking()){const a=this.updateProgress();this.emit("timeupdate",a),this.emit("audioprocess",a),this.stopAtPosition!=null&&this.isPlaying()&&a>=this.stopAtPosition&&this.pause()}}))}initPlayerEvents(){this.isPlaying()&&(this.emit("play"),this.timer.start()),this.mediaSubscriptions.push(this.onMediaEvent("timeupdate",()=>{const a=this.updateProgress();this.emit("timeupdate",a)}),this.onMediaEvent("play",()=>{this.emit("play"),this.timer.start()}),this.onMediaEvent("pause",()=>{this.emit("pause"),this.timer.stop(),this.stopAtPosition=null}),this.onMediaEvent("emptied",()=>{this.timer.stop(),this.stopAtPosition=null}),this.onMediaEvent("ended",()=>{this.emit("timeupdate",this.getDuration()),this.emit("finish"),this.stopAtPosition=null}),this.onMediaEvent("seeking",()=>{this.emit("seeking",this.getCurrentTime())}),this.onMediaEvent("error",()=>{var a;this.emit("error",(a=this.getMediaElement().error)!==null&&a!==void 0?a:new Error("Media error")),this.stopAtPosition=null}))}initRendererEvents(){this.subscriptions.push(this.renderer.on("click",(a,n)=>{this.options.interact&&(this.seekTo(a),this.emit("interaction",a*this.getDuration()),this.emit("click",a,n))}),this.renderer.on("dblclick",(a,n)=>{this.emit("dblclick",a,n)}),this.renderer.on("scroll",(a,n,r,o)=>{const i=this.getDuration();this.emit("scroll",a*i,n*i,r,o)}),this.renderer.on("render",()=>{this.emit("redraw")}),this.renderer.on("rendered",()=>{this.emit("redrawcomplete")}),this.renderer.on("dragstart",a=>{this.emit("dragstart",a)}),this.renderer.on("dragend",a=>{this.emit("dragend",a)}));{let a;this.subscriptions.push(this.renderer.on("drag",n=>{if(!this.options.interact)return;let r;this.renderer.renderProgress(n),clearTimeout(a),this.isPlaying()?r=0:this.options.dragToSeek===!0?r=200:typeof this.options.dragToSeek=="object"&&this.options.dragToSeek!==void 0&&(r=this.options.dragToSeek.debounceTime),a=setTimeout(()=>{this.seekTo(n)},r),this.emit("interaction",n*this.getDuration()),this.emit("drag",n)}))}}initPlugins(){var a;!((a=this.options.plugins)===null||a===void 0)&&a.length&&this.options.plugins.forEach(n=>{this.registerPlugin(n)})}unsubscribePlayerEvents(){this.mediaSubscriptions.forEach(a=>a()),this.mediaSubscriptions=[]}setOptions(a){this.options=Object.assign({},this.options,a),a.duration&&!a.peaks&&(this.decodedData=hr.createBuffer(this.exportPeaks(),a.duration)),a.peaks&&a.duration&&(this.decodedData=hr.createBuffer(a.peaks,a.duration)),this.renderer.setOptions(this.options),a.audioRate&&this.setPlaybackRate(a.audioRate),a.mediaControls!=null&&(this.getMediaElement().controls=a.mediaControls)}registerPlugin(a){if(this.plugins.includes(a))return a;a._init(this),this.plugins.push(a);const n=a.once("destroy",()=>{this.plugins=this.plugins.filter(r=>r!==a),this.subscriptions=this.subscriptions.filter(r=>r!==n)});return this.subscriptions.push(n),a}unregisterPlugin(a){this.plugins=this.plugins.filter(n=>n!==a),a.destroy()}getWrapper(){return this.renderer.getWrapper()}getWidth(){return this.renderer.getWidth()}getScroll(){return this.renderer.getScroll()}setScroll(a){return this.renderer.setScroll(a)}setScrollTime(a){const n=a/this.getDuration();this.renderer.setScrollPercentage(n)}getActivePlugins(){return this.plugins}loadAudio(a,n,r,o){return pt(this,void 0,void 0,function*(){var i;if(this.emit("load",a),!this.options.media&&this.isPlaying()&&this.pause(),this.decodedData=null,this.stopAtPosition=null,!n&&!r){const l=this.options.fetchParams||{};window.AbortController&&!l.signal&&(this.abortController=new AbortController,l.signal=(i=this.abortController)===null||i===void 0?void 0:i.signal);const c=u=>this.emit("loading",u);n=yield df.fetchBlob(a,c,l);const p=this.options.blobMimeType;p&&(n=new Blob([n],{type:p}))}this.setSrc(a,n);const s=yield new Promise(l=>{const c=o||this.getDuration();c?l(c):this.mediaSubscriptions.push(this.onMediaEvent("loadedmetadata",()=>l(this.getDuration()),{once:!0}))});if(!a&&!n){const l=this.getMediaElement();l instanceof Go&&(l.duration=s)}if(r)this.decodedData=hr.createBuffer(r,s||0);else if(n){const l=yield n.arrayBuffer();this.decodedData=yield hr.decode(l,this.options.sampleRate)}this.decodedData&&(this.emit("decode",this.getDuration()),this.renderer.render(this.decodedData)),this.emit("ready",this.getDuration())})}load(a,n,r){return pt(this,void 0,void 0,function*(){try{return yield this.loadAudio(a,void 0,n,r)}catch(o){throw this.emit("error",o),o}})}loadBlob(a,n,r){return pt(this,void 0,void 0,function*(){try{return yield this.loadAudio("",a,n,r)}catch(o){throw this.emit("error",o),o}})}zoom(a){if(!this.decodedData)throw new Error("No audio loaded");this.renderer.zoom(a),this.emit("zoom",a)}getDecodedData(){return this.decodedData}exportPeaks({channels:a=2,maxLength:n=8e3,precision:r=1e4}={}){if(!this.decodedData)throw new Error("The audio has not been decoded yet");const o=Math.min(a,this.decodedData.numberOfChannels),i=[];for(let s=0;s<o;s++){const l=this.decodedData.getChannelData(s),c=[],p=l.length/n;for(let u=0;u<n;u++){const m=l.slice(Math.floor(u*p),Math.ceil((u+1)*p));let d=0;for(let h=0;h<m.length;h++){const f=m[h];Math.abs(f)>Math.abs(d)&&(d=f)}c.push(Math.round(d*r)/r)}i.push(c)}return i}getDuration(){let a=super.getDuration()||0;return a!==0&&a!==1/0||!this.decodedData||(a=this.decodedData.duration),a}toggleInteraction(a){this.options.interact=a}setTime(a){this.stopAtPosition=null,super.setTime(a),this.updateProgress(a),this.emit("timeupdate",a)}seekTo(a){const n=this.getDuration()*a;this.setTime(n)}play(a,n){const r=Object.create(null,{play:{get:()=>super.play}});return pt(this,void 0,void 0,function*(){a!=null&&this.setTime(a);const o=yield r.play.call(this);return n!=null&&(this.media instanceof Go?this.media.stopAt(n):this.stopAtPosition=n),o})}playPause(){return pt(this,void 0,void 0,function*(){return this.isPlaying()?this.pause():this.play()})}stop(){this.pause(),this.setTime(0)}skip(a){this.setTime(this.getCurrentTime()+a)}empty(){this.load("",[[0]],.001)}setMediaElement(a){this.unsubscribePlayerEvents(),super.setMediaElement(a),this.initPlayerEvents()}exportImage(){return pt(this,arguments,void 0,function*(a="image/png",n=1,r="dataURL"){return this.renderer.exportImage(a,n,r)})}destroy(){var a;this.emit("destroy"),(a=this.abortController)===null||a===void 0||a.abort(),this.plugins.forEach(n=>n.destroy()),this.subscriptions.forEach(n=>n()),this.unsubscribePlayerEvents(),this.timer.destroy(),this.renderer.destroy(),super.destroy()}};jo.BasePlugin=class extends Mn{constructor(e){super(),this.subscriptions=[],this.isDestroyed=!1,this.options=e}onInit(){}_init(e){this.isDestroyed&&(this.subscriptions=[],this.isDestroyed=!1),this.wavesurfer=e,this.onInit()}destroy(){this.emit("destroy"),this.subscriptions.forEach(e=>e()),this.subscriptions=[],this.isDestroyed=!0,this.wavesurfer=void 0}},jo.dom=cf;const hf={components:{Avatar:Eo},props:{audio:{type:String,required:!0},avatar:{type:[String,null],required:!0},isOwner:{type:Boolean}},emits:["duration","currentTime"],data(){return{wavesurfer:null,audioData:null,isPlaying:!1,duration:0,currentTime:0,isLoading:!0,playbackRate:1}},watch:{audio(e){this.loadAudio(e)}},mounted(){this.wavesurfer=jo.create({container:this.$refs.waveform,waveColor:"#165CF3",progressColor:"#AFAFAF",height:70,cursorWidth:14,cursorColor:"#fff",barWidth:4,barRadius:30,barHeight:.7,barGap:3,hideScrollbar:!0}),this.wavesurfer.on("ready",()=>{this.duration=this.wavesurfer.getDuration(),this.$emit("duration",this.duration),this.isLoading=!1}),this.wavesurfer.on("play",()=>{this.isPlaying=!0}),this.wavesurfer.on("pause",()=>{this.isPlaying=!1}),this.wavesurfer.on("finish",()=>{this.isPlaying=!1}),this.wavesurfer.on("audioprocess",()=>{this.currentTime=this.wavesurfer.getCurrentTime(),this.$emit("currentTime",this.currentTime)}),this.loadAudio(this.audio)},methods:{changeValue(){this.playbackRate===2?this.playbackRate=1:this.playbackRate+=.5,this.changePlaybackRate()},changePlaybackRate(){this.wavesurfer.setPlaybackRate(this.playbackRate)},loadAudio(e){if(this.isBase64(e)){const a=this.base64ToBlob(e);this.wavesurfer.loadBlob(a)}else this.wavesurfer.load(e)},isBase64(e){try{return btoa(atob(e))==e}catch{return!1}},base64ToBlob(e){const a=atob(e),n=new Array(a.length);for(let o=0;o<a.length;o++)n[o]=a.charCodeAt(o);const r=new Uint8Array(n);return new Blob([r],{type:"audio/mp3"})},playPause(){this.wavesurfer.playPause()}}},pf={class:"flex size-full min-w-[220px] select-none items-center justify-center space-x-2 pr-2 text-gray-200 dark:text-gray-700"},gf={key:0,class:"w-20"},yf={class:"fade relative"},kf={key:0,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-8 fill-current"},bf={key:1,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-10"},xf={class:"flex h-20 w-full items-center justify-center text-center"},wf={key:0,class:"loader-dots relative mx-auto flex h-5 w-full items-center justify-center"},vf={id:"waveform",ref:"waveform",style:{display:"block"},class:"w-full"},Ef={key:1,class:"w-24 pl-3"},Cf={class:"fade relative"};function Sf(e,a,n,r,o,i){const s=t.resolveComponent("Avatar");return t.openBlock(),t.createElementBlock("div",pf,[n.isOwner?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("section",gf,[t.withDirectives(t.createElementVNode("main",yf,[t.createVNode(s,{url:n.avatar,class:"xl:size-[50px]"},null,8,["url"]),a[3]||(a[3]=t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"absolute -bottom-1 -right-1 w-5 rounded-full bg-emerald-500 p-1 text-white"},[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 18.75a6 6 0 006-6v-1.5m-6 7.5a6 6 0 01-6-6v-1.5m6 7.5v3.75m-3.75 0h7.5M12 15.75a3 3 0 01-3-3V4.5a3 3 0 116 0v8.25a3 3 0 01-3 3z"})],-1))],512),[[t.vShow,!o.isPlaying]]),t.withDirectives(t.createElementVNode("div",{class:"fade header relative flex size-12 cursor-pointer items-center justify-center rounded-full border-2 border-light dark:border-light",onClick:a[0]||(a[0]=(...l)=>i.changeValue&&i.changeValue(...l))},[t.createTextVNode(t.toDisplayString(o.playbackRate.toFixed(1))+"x ",1),a[4]||(a[4]=t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",class:"absolute bottom-[-11px] left-[28px] w-5 rounded-full bg-emerald-500 p-[4px] text-white",viewBox:"0 0 16 16"},[t.createElementVNode("path",{d:"M12.5 4a.5.5 0 0 0-1 0v3.248L5.233 3.612C4.693 3.3 4 3.678 4 4.308v7.384c0 .63.692 1.01 1.233.697L11.5 8.753V12a.5.5 0 0 0 1 0V4z"})],-1))],512),[[t.vShow,o.isPlaying]])])),t.createElementVNode("button",{class:"",onClick:a[1]||(a[1]=(...l)=>i.playPause&&i.playPause(...l))},[o.isPlaying?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("svg",kf,a[5]||(a[5]=[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M5.25 5.653c0-.856.917-1.398 1.667-.986l11.54 6.348a1.125 1.125 0 010 1.971l-11.54 6.347a1.125 1.125 0 01-1.667-.985V5.653z"},null,-1)]))),o.isPlaying?(t.openBlock(),t.createElementBlock("svg",bf,a[6]||(a[6]=[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 5.25v13.5m-7.5-13.5v13.5"},null,-1)]))):t.createCommentVNode("",!0)]),t.createElementVNode("section",xf,[o.isLoading?(t.openBlock(),t.createElementBlock("div",wf,a[7]||(a[7]=[t.createElementVNode("div",{class:"absolute ml-5 mt-1 size-3 rounded-full bg-[#0FB2D6]"},null,-1),t.createElementVNode("div",{class:"absolute top-0 ml-5 mt-1 size-3 rounded-full bg-[#0FB2D6]"},null,-1),t.createElementVNode("div",{class:"absolute top-0 ml-5 mt-1 size-3 rounded-full bg-[#0FB2D6]"},null,-1),t.createElementVNode("div",{class:"absolute top-0 ml-5 mt-1 size-3 rounded-full bg-[#0FB2D6]"},null,-1)]))):t.createCommentVNode("",!0),t.withDirectives(t.createElementVNode("div",vf,null,512),[[t.vShow,!o.isLoading]])]),n.isOwner?(t.openBlock(),t.createElementBlock("section",Ef,[t.withDirectives(t.createElementVNode("main",Cf,[t.createVNode(s,{url:n.avatar,class:"xl:size-[50px]"},null,8,["url"]),a[8]||(a[8]=t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"absolute -bottom-2 -left-2 w-7 rounded-full bg-emerald-500 p-1 text-white"},[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 18.75a6 6 0 006-6v-1.5m-6 7.5a6 6 0 01-6-6v-1.5m6 7.5v3.75m-3.75 0h7.5M12 15.75a3 3 0 01-3-3V4.5a3 3 0 116 0v8.25a3 3 0 01-3 3z"})],-1))],512),[[t.vShow,!o.isPlaying]]),t.withDirectives(t.createElementVNode("div",{class:"fade header relative flex size-12 cursor-pointer items-center justify-center rounded-full border-2 border-light dark:border-light",onClick:a[2]||(a[2]=(...l)=>i.changeValue&&i.changeValue(...l))},[t.createTextVNode(t.toDisplayString(o.playbackRate.toFixed(1))+"x ",1),a[9]||(a[9]=t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",class:"absolute bottom-[-10px] right-[26px] w-7 rounded-full bg-emerald-500 p-[4px] text-white",viewBox:"0 0 16 16"},[t.createElementVNode("path",{d:"M12.5 4a.5.5 0 0 0-1 0v3.248L5.233 3.612C4.693 3.3 4 3.678 4 4.308v7.384c0 .63.692 1.01 1.233.697L11.5 8.753V12a.5.5 0 0 0 1 0V4z"})],-1))],512),[[t.vShow,o.isPlaying]])])):t.createCommentVNode("",!0)])}const d1=je(hf,[["render",Sf]]),Mf={key:0},Bf=["src"],Af={key:1,class:"size-12 text-white","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},Vf={class:"flex gap-2 items-center text-primary max-w-xs"},_f={class:"truncate text-xs text-primary w-40 flex"},Nf={key:0,class:"flex gap-2"},Df={class:"video_message_preview"},Tf={class:"label_video_hover"},Pf={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2",class:"absolute left-2 top-2 size-6",style:{transform:"rotate(135deg)"}},Of={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2",class:"absolute right-2 top-2 size-6",style:{transform:"rotate(-135deg)"}},Ff={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2",class:"absolute bottom-2 left-2 size-6",style:{transform:"rotate(45deg)"}},Lf={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2",class:"absolute bottom-2 right-2 size-6",style:{transform:"rotate(-45deg)"}},$f=["src"],Rf={key:3},Hf=["src"],zf=["src","type"],If={key:1,class:"size-12 text-white","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},Gf={key:0},jf={class:"video_message_preview"},qf={class:"label_video_hover"},Wf={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2",class:"absolute left-2 top-2 size-6",style:{transform:"rotate(135deg)"}},Yf={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2",class:"absolute right-2 top-2 size-6",style:{transform:"rotate(-135deg)"}},Uf={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2",class:"absolute bottom-2 left-2 size-6",style:{transform:"rotate(45deg)"}},Xf={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2",class:"absolute bottom-2 right-2 size-6",style:{transform:"rotate(-45deg)"}},Zf=["src"],Qf={key:1,class:"size-full"},Kf={key:4},Jf={key:0,class:"w-full px-4"},em={key:1,class:"size-12 text-white","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},tm={key:0,class:"span_generic_files"},am={class:"truncate"},nm={key:6,class:"flex flex-col w-full"},rm={key:0,class:"preview_audio_time"},qo=je({__name:"previewFiles",props:{isMobile:{type:Boolean,default:!1},base64:{type:String},mimetype:{type:String},mode:{type:String,default:"message"},fileName:{type:String},avatar:{type:[String,null],required:!0}},setup(e){const a=e,n=t.ref(null),r=t.ref(null),o=t.ref(0),i=t.computed(()=>a.mimetype==="application/pdf"),s=t.computed(()=>["image/png","image/jpeg","image/svg+xml"].includes(a.mimetype)),l=t.computed(()=>["audio/mpeg","audio/mp4","audio/mp3"].includes(a.mimetype)),c=h=>h?h.startsWith("video/"):void 0,p=async(h,f,g="")=>{a.mode!=="miniature"&&(c(f)?Ye.show([{type:"html",src:h,html:`
|
|
88
88
|
<video controls autoplay style="width:100%;height:auto;max-height:80vh">
|
|
89
|
-
<source src="${
|
|
89
|
+
<source src="${h}" type="${f}" />
|
|
90
90
|
Seu navegador não suporta vídeo.
|
|
91
91
|
</video>
|
|
92
|
-
`,caption:y}]):Ye.show([{src:m,type:"image",caption:y}]))};function f(m,u=1){return new Promise((y,b)=>{const x=document.createElement("video");x.src=m,x.crossOrigin="anonymous",x.muted=!0,x.playsInline=!0,x.preload="auto",x.addEventListener("loadeddata",()=>{x.readyState>=2&&(x.currentTime=u)}),x.addEventListener("seeked",()=>{const w=document.createElement("canvas");w.width=x.videoWidth,w.height=x.videoHeight,w.getContext("2d").drawImage(x,0,0,w.width,w.height);const B=w.toDataURL("image/png");y(B)}),x.addEventListener("error",w=>{const k=document.createElement("canvas"),B=320,A=180;k.width=B,k.height=A;const D=k.getContext("2d");D.fillStyle="black",D.fillRect(0,0,B,A);const V=k.toDataURL("image/png");y(V)})})}const h=m=>typeof m=="string"&&m.startsWith("data:")&&m.includes(";base64,"),c=m=>{const u=Math.floor(m/60),y=(m%60).toFixed(0),b=u.toString().padStart(2,"0"),x=y.toString().padStart(2,"0");return`${b}:${x}`};return t.onMounted(async()=>{try{n.value=await f(a.base64)}catch(m){console.error(m)}}),(m,u)=>(t.openBlock(),t.createElementBlock("main",{class:t.normalizeClass({main_preview_files_container_message:e.mode==="message",main_preview_files_container_miniature:e.mode==="miniature","main_preview_files_container_preview bg-base-200":e.mode==="preview"})},[!e.isMobile&&i.value?(t.openBlock(),t.createElementBlock("section",j7,[e.mode!=="miniature"?(t.openBlock(),t.createElementBlock("iframe",{key:0,class:"iframe_preview_files",src:e.base64,frameborder:"0"},null,8,q7)):(t.openBlock(),t.createElementBlock("svg",W7,u[6]||(u[6]=[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M9 2.221V7H4.221a2 2 0 0 1 .365-.5L8.5 2.586A2 2 0 0 1 9 2.22ZM11 2v5a2 2 0 0 1-2 2H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2 2 2 0 0 0 2 2h12a2 2 0 0 0 2-2 2 2 0 0 0 2-2v-7a2 2 0 0 0-2-2V4a2 2 0 0 0-2-2h-7Zm-6 9a1 1 0 0 0-1 1v5a1 1 0 1 0 2 0v-1h.5a2.5 2.5 0 0 0 0-5H5Zm1.5 3H6v-1h.5a.5.5 0 0 1 0 1Zm4.5-3a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h1.376A2.626 2.626 0 0 0 15 15.375v-1.75A2.626 2.626 0 0 0 12.375 11H11Zm1 5v-3h.375a.626.626 0 0 1 .625.626v1.748a.625.625 0 0 1-.626.626H12Zm5-5a1 1 0 0 0-1 1v5a1 1 0 1 0 2 0v-1h1a1 1 0 1 0 0-2h-1v-1h1a1 1 0 1 0 0-2h-2Z","clip-rule":"evenodd"},null,-1)])))])):t.createCommentVNode("",!0),e.isMobile&&i.value?(t.openBlock(),t.createElementBlock("section",{key:1,class:t.normalizeClass(e.mode==="message"?"flex flex-col bg-base-300 p-2 rounded-md gap-2":"")},[t.createElementVNode("span",Y7,[u[7]||(u[7]=t.createElementVNode("svg",{class:"size-8 text-primary","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M9 2.221V7H4.221a2 2 0 0 1 .365-.5L8.5 2.586A2 2 0 0 1 9 2.22ZM11 2v5a2 2 0 0 1-2 2H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2 2 2 0 0 0 2 2h12a2 2 0 0 0 2-2 2 2 0 0 0 2-2v-7a2 2 0 0 0-2-2V4a2 2 0 0 0-2-2h-7Zm-6 9a1 1 0 0 0-1 1v5a1 1 0 1 0 2 0v-1h.5a2.5 2.5 0 0 0 0-5H5Zm1.5 3H6v-1h.5a.5.5 0 0 1 0 1Zm4.5-3a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h1.376A2.626 2.626 0 0 0 15 15.375v-1.75A2.626 2.626 0 0 0 12.375 11H11Zm1 5v-3h.375a.626.626 0 0 1 .625.626v1.748a.625.625 0 0 1-.626.626H12Zm5-5a1 1 0 0 0-1 1v5a1 1 0 1 0 2 0v-1h1a1 1 0 1 0 0-2h-1v-1h1a1 1 0 1 0 0-2h-2Z","clip-rule":"evenodd"})],-1)),t.createElementVNode("p",U7,t.toDisplayString(e.fileName),1)]),e.mode==="message"?(t.openBlock(),t.createElementBlock("div",X7,[t.createElementVNode("button",{class:"bg-base-200 p-2 w-full text-white text-xs rounded-md hover:bg-base-100",onClick:u[0]||(u[0]=y=>m.$emit("open-mobile-pdf"))}," Abrir PDF ")])):t.createCommentVNode("",!0)],2)):l.value?(t.openBlock(),t.createElementBlock("button",{key:2,onClick:u[1]||(u[1]=y=>p(e.base64,e.mimetype)),class:"video_message_preview_container"},[t.createElementVNode("div",Z7,[t.createElementVNode("div",Q7,[(t.openBlock(),t.createElementBlock("svg",K7,u[8]||(u[8]=[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m19 9-7 7-7-7"},null,-1)]))),(t.openBlock(),t.createElementBlock("svg",J7,u[9]||(u[9]=[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m19 9-7 7-7-7"},null,-1)]))),(t.openBlock(),t.createElementBlock("svg",e8,u[10]||(u[10]=[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m19 9-7 7-7-7"},null,-1)]))),(t.openBlock(),t.createElementBlock("svg",t8,u[11]||(u[11]=[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m19 9-7 7-7-7"},null,-1)])))])]),t.createElementVNode("img",{class:t.normalizeClass(["preview_img",e.mode]),src:h(e.base64)?e.base64:e.base64.replace("+","%2B")},null,10,a8)])):d(e.mimetype)?(t.openBlock(),t.createElementBlock("section",n8,[e.mode==="preview"?(t.openBlock(),t.createElementBlock("video",{key:0,width:"300",height:"150",controls:"",src:e.base64},[t.createElementVNode("source",{src:e.base64,type:e.mimetype},null,8,o8)],8,r8)):e.mode==="miniature"?(t.openBlock(),t.createElementBlock("svg",i8,u[12]||(u[12]=[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M14 7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V7Zm2 9.387 4.684 1.562A1 1 0 0 0 22 17V7a1 1 0 0 0-1.316-.949L16 7.613v8.774Z","clip-rule":"evenodd"},null,-1)]))):e.mode==="message"?(t.openBlock(),t.createElementBlock("button",{key:2,onClick:u[2]||(u[2]=y=>p(e.base64,e.mimetype)),class:"video_message_preview_container"},[n.value?(t.openBlock(),t.createElementBlock("section",l8,[t.createElementVNode("div",s8,[u[17]||(u[17]=t.createElementVNode("svg",{class:"size-12 text-white","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M8.6 5.2A1 1 0 0 0 7 6v12a1 1 0 0 0 1.6.8l8-6a1 1 0 0 0 0-1.6l-8-6Z","clip-rule":"evenodd"})],-1)),t.createElementVNode("div",c8,[(t.openBlock(),t.createElementBlock("svg",d8,u[13]||(u[13]=[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m19 9-7 7-7-7"},null,-1)]))),(t.openBlock(),t.createElementBlock("svg",u8,u[14]||(u[14]=[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m19 9-7 7-7-7"},null,-1)]))),(t.openBlock(),t.createElementBlock("svg",m8,u[15]||(u[15]=[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m19 9-7 7-7-7"},null,-1)]))),(t.openBlock(),t.createElementBlock("svg",f8,u[16]||(u[16]=[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m19 9-7 7-7-7"},null,-1)])))])]),t.createElementVNode("img",{class:t.normalizeClass(["preview_img",e.mode]),src:n.value},null,10,h8)])):(t.openBlock(),t.createElementBlock("span",p8,u[18]||(u[18]=[t.createElementVNode("span",{class:"loader-preview-lib"},null,-1)])))])):t.createCommentVNode("",!0)])):s.value?(t.openBlock(),t.createElementBlock("section",g8,[e.mode!=="miniature"?(t.openBlock(),t.createElementBlock("section",y8,[t.createVNode(Ws,{avatar:e.avatar,audio:e.base64,onDuration:u[3]||(u[3]=y=>r.value=y),onCurrentTime:u[4]||(u[4]=y=>o.value=y)},null,8,["avatar","audio"])])):(t.openBlock(),t.createElementBlock("svg",k8,u[19]||(u[19]=[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M5 8a1 1 0 0 1 1 1v3a4.006 4.006 0 0 0 4 4h4a4.006 4.006 0 0 0 4-4V9a1 1 0 1 1 2 0v3.001A6.006 6.006 0 0 1 14.001 18H13v2h2a1 1 0 1 1 0 2H9a1 1 0 1 1 0-2h2v-2H9.999A6.006 6.006 0 0 1 4 12.001V9a1 1 0 0 1 1-1Z","clip-rule":"evenodd"},null,-1),t.createElementVNode("path",{d:"M7 6a4 4 0 0 1 4-4h2a4 4 0 0 1 4 4v5a4 4 0 0 1-4 4h-2a4 4 0 0 1-4-4V6Z"},null,-1)])))])):(t.openBlock(),t.createElementBlock("div",{key:5,class:t.normalizeClass(e.mode==="message"?"generic_files":"")},[u[20]||(u[20]=t.createElementVNode("div",null,[t.createElementVNode("svg",{class:"size-8 text-white","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M9 2.221V7H4.221a2 2 0 0 1 .365-.5L8.5 2.586A2 2 0 0 1 9 2.22ZM11 2v5a2 2 0 0 1-2 2H4v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2h-7Z","clip-rule":"evenodd"})])],-1)),e.mode==="message"?(t.openBlock(),t.createElementBlock("span",x8,[t.createElementVNode("p",b8,t.toDisplayString(e.fileName),1),t.createElementVNode("button",{class:"download_btn_generic_files",onClick:u[5]||(u[5]=y=>m.$emit("download"))}," Baixar arquivo ")])):t.createCommentVNode("",!0)],2)),e.mode==="message"?(t.openBlock(),t.createElementBlock("div",w8,[t.renderSlot(m.$slots,"content-message",{},void 0,!0),t.createElementVNode("div",{class:t.normalizeClass([r.value?"justify-between":" justify-end","flex w-full"])},[s.value&&r.value?(t.openBlock(),t.createElementBlock("p",v8,t.toDisplayString(c(r.value))+" - "+t.toDisplayString(o.value?c(o.value):"00:00"),1)):t.createCommentVNode("",!0),t.renderSlot(m.$slots,"time-message",{},void 0,!0)],2)])):t.createCommentVNode("",!0)],2))}},[["__scopeId","data-v-308b725a"]]),E8={props:{audioStream:MediaStream},data(){return{audioContext:null,analyser:null}},mounted(){this.initializeAudio()},methods:{initializeAudio(){this.audioContext=new(window.AudioContext||window.webkitAudioContext),this.analyser=this.audioContext.createAnalyser();const e=this.$refs.canvas,a=e.getContext("2d");this.audioContext.createMediaStreamSource(this.audioStream).connect(this.analyser),this.analyser.fftSize=256;const r=this.analyser.frequencyBinCount,o=new Uint8Array(r),i=()=>{this.analyser.getByteFrequencyData(o),a.clearRect(0,0,e.width,e.height);const l=e.width/r*2.5,s=e.height/2;let d=0;a.strokeStyle="green",a.lineWidth=2,a.beginPath(),a.moveTo(0,s),a.lineTo(e.width,s),a.stroke(),o.forEach(p=>{const f=p;a.fillStyle=`rgb(50, ${f+100}, 50)`,a.fillRect(d,s-f/2,l,f),d+=l+1}),this.audioStream.active&&requestAnimationFrame(i)};i()}}},C8={ref:"canvas",width:"200",height:"40",class:"mx-auto flex items-center rounded"};function S8(e,a,n,r,o,i){return t.openBlock(),t.createElementBlock("div",null,[t.createElementVNode("canvas",C8,null,512)])}const M8=qe(E8,[["render",S8],["__scopeId","data-v-d91f4ade"]]),B8={key:0,class:"flex w-full items-center space-x-3 text-white dark:text-black"},A8=["disabled"],V8=["disabled"],_8={key:0,class:"size-4 hover:text-red-500","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 10 16"},N8={key:1,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-5 hover:text-emerald-500"},D8={key:5,class:"flex w-full items-center space-x-2"},T8={class:"text-xs"},P8={key:0},O8={key:1,class:"flex items-center px-2 pr-[21px]"},F8=qe({__name:"audioRecorder",props:{canSendMessage:Boolean,sendAudioToAttendant:{type:Function,required:!0},selectedAttendant:{type:Object,required:!0},attendant:{required:!0}},emits:["audio-sent","recording","b64Audio"],setup(e,{emit:a}){const n=e,r=a,o=t.ref(null),i=t.ref(!1),l=t.ref(!1),s=t.ref(0),d=t.ref(0),p=t.ref(null),f=t.ref(null),h=t.ref(null),c=t.ref(null),m=t.ref(0),u=t.ref(0),y=t.ref(null),b=t.ref(!1),x=t.ref(!1),w=Y=>{m.value=Y},k=Y=>{u.value=Y},B=Y=>{const E=Math.floor(Y/60),j=(Y%60).toFixed(0),G=E.toString().padStart(2,"0"),U=j.toString().padStart(2,"0");return`${G}:${U}`},A=async()=>{try{f.value=null,c.value=await navigator.mediaDevices.getUserMedia({audio:!0}),o.value=new MediaRecorder(c.value),o.value.ondataavailable=D,o.value.start(),V(),i.value=!0,r("recording",!0)}catch(Y){console.error("Erro ao iniciar a gravação:",Y)}},D=Y=>{Y.data.size>0&&!b.value&&(p.value=new Blob([Y.data]),y.value=URL.createObjectURL(p.value),I())},V=()=>{let Y=Date.now();h.value=setInterval(()=>{s.value=d.value+Math.floor((Date.now()-Y)/1e3)},1e3)},C=async()=>{f.value=null,o.value&&i.value&&(l.value?(o.value.resume(),V()):(o.value.pause(),clearInterval(h.value),d.value=s.value),l.value=!l.value)},M=async()=>{o.value&&i.value&&(await o.value.stop(),clearInterval(h.value),i.value=!1,l.value=!1,I()),c.value&&c.value.getTracks().forEach(Y=>Y.stop())},I=async()=>{if(p.value){const Y=new Blob([p.value],{type:"audio/mpeg"}),E=new FileReader;E.onload=()=>{f.value=E.result},E.readAsDataURL(Y)}},$=async()=>{x.value=!0,r("b64Audio",f.value);const E={type:"file",media:{name:"audio",mimetype:(j=>j?j.split(";")[0].split(":")[1]:null)(f.value),data:f.value}};await n.sendAudioToAttendant(n.selectedAttendant.id,E,n.attendant,!0),r("recording",!1),x.value=!1,c.value=null,f.value=null,p.value=null,i.value=!1,l.value=!1,s.value=0},X=async()=>{b.value=!0,i.value=!1,r("recording",!1),await o.value.stop(),c.value&&(c.value.getTracks().forEach(Y=>Y.stop()),c.value=null),p.value=null,clearInterval(h.value),f.value=null,l.value=!1,s.value=0};return(Y,E)=>{var j;return x.value?(t.openBlock(),t.createElementBlock("div",O8,E[9]||(E[9]=[t.createElementVNode("span",{class:"loader-audio-recorder"},null,-1)]))):(t.openBlock(),t.createElementBlock("div",B8,[!i.value&&!f.value?(t.openBlock(),t.createElementBlock("button",{key:0,class:t.normalizeClass(["send-audio-button",{recording:i.value}]),disabled:i.value||!e.canSendMessage,onClick:E[0]||(E[0]=G=>(A(),d.value=0,b.value=!1))},E[3]||(E[3]=[t.createElementVNode("svg",{class:"start-recording-icon","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 19"},[t.createElementVNode("path",{d:"M15 5a1 1 0 0 0-1 1v3a4 4 0 0 1-4 4H6a4 4 0 0 1-4-4V6a1 1 0 0 0-2 0v3a6.006 6.006 0 0 0 6 6h1v2H5a1 1 0 0 0 0 2h6a1 1 0 0 0 0-2H9v-2h1a6.006 6.006 0 0 0 6-6V6a1 1 0 0 0-1-1Z"}),t.createElementVNode("path",{d:"M9 0H7a3 3 0 0 0-3 3v5a3 3 0 0 0 3 3h2a3 3 0 0 0 3-3V3a3 3 0 0 0-3-3Z"})],-1)]),10,A8)):t.createCommentVNode("",!0),c.value?(t.openBlock(),t.createElementBlock("button",{key:1,class:"rounded-full bg-red-500 p-1.5 hover:bg-red-600",onClick:E[1]||(E[1]=G=>X())},E[4]||(E[4]=[t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-4"},[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M14.74 9l-.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 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0"})],-1)]))):t.createCommentVNode("",!0),i.value?(t.openBlock(),t.createElementBlock("button",{key:2,disabled:!i.value&&!l.value,onClick:C},[l.value?(t.openBlock(),t.createElementBlock("svg",N8,E[6]||(E[6]=[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M21 7.5V18M15 7.5V18M3 16.811V8.69c0-.864.933-1.406 1.683-.977l7.108 4.061a1.125 1.125 0 010 1.954l-7.108 4.061A1.125 1.125 0 013 16.811z"},null,-1)]))):(t.openBlock(),t.createElementBlock("svg",_8,E[5]||(E[5]=[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M0 .8C0 .358.32 0 .714 0h1.429c.394 0 .714.358.714.8v14.4c0 .442-.32.8-.714.8H.714a.678.678 0 0 1-.505-.234A.851.851 0 0 1 0 15.2V.8Zm7.143 0c0-.442.32-.8.714-.8h1.429c.19 0 .37.084.505.234.134.15.209.354.209.566v14.4c0 .442-.32.8-.714.8H7.857c-.394 0-.714-.358-.714-.8V.8Z","clip-rule":"evenodd"},null,-1)])))],8,V8)):t.createCommentVNode("",!0),(i.value||p.value)&&!f.value?(t.openBlock(),t.createElementBlock("button",{key:3,class:"rounded-full p-1.5 hover:bg-gray-100 hover:text-light",onClick:M},E[7]||(E[7]=[t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-4"},[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M5.25 7.5A2.25 2.25 0 017.5 5.25h9a2.25 2.25 0 012.25 2.25v9a2.25 2.25 0 01-2.25 2.25h-9a2.25 2.25 0 01-2.25-2.25v-9z"})],-1)]))):t.createCommentVNode("",!0),c.value&&i.value&&!l.value?(t.openBlock(),t.createBlock(M8,{key:4,"audio-stream":c.value},null,8,["audio-stream"])):t.createCommentVNode("",!0),f.value?(t.openBlock(),t.createElementBlock("div",D8,[t.createVNode(Ws,{avatar:((j=e.attendant)==null?void 0:j.photo)||null,audio:f.value,onDuration:w,onCurrentTime:k},null,8,["avatar","audio"]),t.createElementVNode("main",T8,[t.createElementVNode("div",null,t.toDisplayString(B(u.value)),1),i.value||p.value?(t.openBlock(),t.createElementBlock("div",P8,t.toDisplayString(B(s.value)),1)):t.createCommentVNode("",!0)])])):t.createCommentVNode("",!0),f.value?(t.openBlock(),t.createElementBlock("button",{key:6,class:"rounded-full p-2 hover:bg-base-100",onClick:E[2]||(E[2]=G=>$())},E[8]||(E[8]=[t.createElementVNode("svg",{class:"size-5 text-base-200 rotate-90","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M12 2a1 1 0 0 1 .932.638l7 18a1 1 0 0 1-1.326 1.281L13 19.517V13a1 1 0 1 0-2 0v6.517l-5.606 2.402a1 1 0 0 1-1.326-1.281l7-18A1 1 0 0 1 12 2Z","clip-rule":"evenodd"})],-1)]))):t.createCommentVNode("",!0)]))}}},[["__scopeId","data-v-b0d32109"]]),L8={class:"messages-container bg-base-300"},$8={class:"header-intern bg-base-300"},H8={class:"atendente-name"},R8={key:0,class:"date-separator bg-base-100/50"},z8={class:"date-separator-text"},I8={key:0,class:"dropdown-container-internal-messages"},G8=["onClick"],j8={class:"message-time"},q8={key:1},W8={class:"message-time"},Y8={class:"input-area"},Ys=qe({__name:"ChatMessages",props:{isMobile:{type:Boolean,default:!1},selectedAtendente:{type:Object,required:!0},attendant:{required:!0},loadMessagesForAtendente:{type:Function,required:!0},sendMessageToAtendente:{type:Function,required:!0},hasNextPageForAtendente:{type:Function,required:!0},downloadFilesMobile:{type:Function},openMobilePdf:{type:Function}},emits:["send-files","voltar"],setup(e,{emit:a}){const n=e,r=a,o=t.ref(""),i=t.ref(null),l=t.ref(!1),s=t.ref(!1),d=t.ref(!1),p=t.computed(()=>{var C;return((C=n.selectedAtendente)==null?void 0:C.messages)||[]}),f=C=>{n.isMobile&&n.openMobilePdf(C)},h=(C,M)=>{if(C)if(n.isMobile){const $=C.mimetype.split("/")[1],X={url:C.mimetype==="image/svg+xml"?C.data.replace("+","%2B"):C.data,type:$,title:C.name};n.downloadFilesMobile(X,M)}else V(C.data,M)},c=t.computed(()=>n.hasNextPageForAtendente(n.selectedAtendente.id)),m=C=>{const M=new Date(C),I=M.getHours(),$=M.getMinutes();return`${I.toString().padStart(2,"0")}:${$.toString().padStart(2,"0")}`},u=C=>{const M=new Date(C);return L6(M)?"Hoje":H6(M)?"Ontem":F6(M)?ls(M,"EEEE",{locale:ss}):ls(M,"dd 'de' MMMM 'de' yyyy",{locale:ss})},y=C=>{if(C===0)return!0;const M=new Date(p.value[C].created_at),I=new Date(p.value[C-1].created_at);return M.toDateString()!==I.toDateString()},b=C=>{C.key==="Enter"&&!C.shiftKey&&(C.preventDefault(),k())},x=()=>{i.value&&i.value.scrollTo({top:i.value.scrollHeight,behavior:"instant"})},w=async C=>{try{if(!c.value){C.complete();return}const M=i.value.scrollHeight,I=i.value.scrollTop;await n.loadMessagesForAtendente(n.selectedAtendente.id),await t.nextTick(),i.value.scrollTop=i.value.scrollHeight-M+I-32,C.loaded()}catch(M){console.error(M),C.complete()}},k=async()=>{if(o.value.trim()!=="")try{const C=JSON.parse(JSON.stringify(o.value));o.value="",await n.sendMessageToAtendente(n.selectedAtendente.id,C,n.attendant),await t.nextTick(),x()}catch(C){console.error("Erro ao enviar mensagem:",C)}},B=()=>{k();const C=document.querySelector(".send-button");C.classList.add("clicked"),setTimeout(()=>{C.classList.remove("clicked")},200)},A=()=>{r("send-files");const C=document.querySelector(".send-files-button");C.classList.add("clicked"),setTimeout(()=>{C.classList.remove("clicked")},200)};t.onMounted(async()=>{await t.nextTick(()=>{x(),l.value=!0})}),t.watch(()=>{var C;return(C=p.value)==null?void 0:C.length},(C,M)=>{p.value&&D()&&setTimeout(()=>{i.value.scrollTo({top:i.value.scrollHeight,behavior:"instant"})},100)});function D(){const M=i.value.scrollTop+i.value.clientHeight;return i.value.scrollHeight-M<=80}const V=async(C,M="undefined")=>{const I=C.endsWith("svg+xml");try{const $=await fetch(I?C.replace("+","%2B"):C);if(!$.ok)throw new Error("Erro ao baixar o arquivo");const X=await $.blob(),Y=window.URL.createObjectURL(X),E=document.createElement("a");E.href=Y,E.download=M,document.body.appendChild(E),E.click(),document.body.removeChild(E),window.URL.revokeObjectURL(Y)}catch($){console.error("Erro no download:",$)}};return(C,M)=>{const I=t.resolveComponent("Popper");return t.openBlock(),t.createElementBlock("div",L8,[t.createElementVNode("div",$8,[t.createElementVNode("button",{onClick:M[0]||(M[0]=$=>r("voltar")),class:"back-button"},M[3]||(M[3]=[t.createElementVNode("svg",{class:"w-6 h-6","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{d:"M14.502 7.046h-2.5v-.928a2.122 2.122 0 0 0-1.199-1.954 1.827 1.827 0 0 0-1.984.311L3.71 8.965a2.2 2.2 0 0 0 0 3.24L8.82 16.7a1.829 1.829 0 0 0 1.985.31 2.121 2.121 0 0 0 1.199-1.959v-.928h1a2.025 2.025 0 0 1 1.999 2.047V19a1 1 0 0 0 1.275.961 6.59 6.59 0 0 0 4.662-7.22 6.593 6.593 0 0 0-6.437-5.695Z"})],-1)])),t.createVNode(mo,{url:e.selectedAtendente.photo},null,8,["url"]),t.createElementVNode("h3",H8,t.toDisplayString(e.selectedAtendente.name),1)]),t.createElementVNode("div",{class:"message-area",ref_key:"chatArea",ref:i},[!d.value&&c.value&&l.value?(t.openBlock(),t.createBlock(t.unref(fo),{key:0,onInfinite:w,distance:30,top:!0,direction:"top",class:"p-3"},{complete:t.withCtx(()=>M[4]||(M[4]=[t.createElementVNode("span",null,null,-1)])),spinner:t.withCtx(()=>M[5]||(M[5]=[t.createElementVNode("div",{class:"loading"},[t.createElementVNode("svg",{class:"spinner",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[t.createElementVNode("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),t.createElementVNode("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"})])],-1)])),_:1})):t.createCommentVNode("",!0),t.createElementVNode("div",null,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(p.value,($,X)=>(t.openBlock(),t.createElementBlock("div",{key:X},[y(X)?(t.openBlock(),t.createElementBlock("div",R8,[M[6]||(M[6]=t.createElementVNode("div",{class:"date-separator-line"},null,-1)),t.createElementVNode("div",z8,t.toDisplayString(u($.created_at)),1),M[7]||(M[7]=t.createElementVNode("div",{class:"date-separator-line"},null,-1))])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(["message",{me:$.sender.id===e.attendant.id,"not-me":$.sender.id!==e.attendant.id,"new-message":X===p.value.length-1}])},[t.createElementVNode("div",{class:t.normalizeClass(["relative",$.sender.id===e.attendant.id?"text-right":"text-left"])},[$.content&&$.content.media&&$.content.media.data?(t.openBlock(),t.createElementBlock("div",I8,[t.createVNode(I,{hover:"",class:"label-popper-internal-messages",placement:"left"},{content:t.withCtx(()=>[t.createElementVNode("button",{class:"download-button-internal-messages",onClick:Y=>h($.content.media,$.content.media.name)}," Baixar ",8,G8)]),default:t.withCtx(()=>[M[8]||(M[8]=t.createElementVNode("button",{class:"dropdown-toggle-internal-messages"},[t.createElementVNode("svg",{class:"dropdown-icon-internal-messages","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},[t.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m19 9-7 7-7-7"})])],-1))]),_:2,__:[8]},1024)])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(["shadow shadow-gray-900 dark:shadow-gray-500",["message-content",{me:$.sender.id===e.attendant.id,"not-me":$.sender.id!==e.attendant.id}]])},[$.content&&$.content.media&&$.content.media.data?(t.openBlock(),t.createBlock(To,{key:0,mode:"message",isMobile:e.isMobile,onDownload:Y=>h($.content.media,$.content.media.name),onOpenMobilePdf:Y=>f($.content.media.data),avatar:$.sender.id===e.attendant.id?e.attendant.photo:$.sender.photo,fileName:$.content.media.name,base64:$.content.media.data,mimetype:$.content.media.mimetype},{"content-message":t.withCtx(()=>[t.createElementVNode("p",null,t.toDisplayString($.content.content),1)]),"time-message":t.withCtx(()=>[t.createElementVNode("div",j8,t.toDisplayString(m($.created_at)),1)]),_:2},1032,["isMobile","onDownload","onOpenMobilePdf","avatar","fileName","base64","mimetype"])):(t.openBlock(),t.createElementBlock("section",q8,[t.createElementVNode("p",null,t.toDisplayString($.content.content),1),t.createElementVNode("div",W8,t.toDisplayString(m($.created_at)),1)]))],2)],2)],2)]))),128))])],512),t.createElementVNode("div",Y8,[t.withDirectives(t.createElementVNode("textarea",{type:"text","onUpdate:modelValue":M[1]||(M[1]=$=>o.value=$),class:"message-input bg-base-300 focus:ring-0",placeholder:"Digite sua mensagem...",onKeydown:b},null,544),[[t.vModelText,o.value]]),t.createElementVNode("button",{onClick:A,class:"send-files-button"},M[9]||(M[9]=[t.createElementVNode("svg",{class:"size-5 text-white","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},[t.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M7 8v8a5 5 0 1 0 10 0V6.5a3.5 3.5 0 1 0-7 0V15a2 2 0 0 0 4 0V8"})],-1)])),o.value.length>0?(t.openBlock(),t.createElementBlock("button",{key:0,onClick:B,class:"send-button"},M[10]||(M[10]=[t.createElementVNode("svg",{class:"size-5 text-white rotate-90","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M12 2a1 1 0 0 1 .932.638l7 18a1 1 0 0 1-1.326 1.281L13 19.517V13a1 1 0 1 0-2 0v6.517l-5.606 2.402a1 1 0 0 1-1.326-1.281l7-18A1 1 0 0 1 12 2Z","clip-rule":"evenodd"})],-1)]))):(t.openBlock(),t.createElementBlock("section",{key:1,class:t.normalizeClass(["bg-base-300",["send-audio-button",{recording:s.value}]])},[t.createVNode(F8,{"can-send-message":!0,attendant:e.attendant,selectedAttendant:e.selectedAtendente,sendAudioToAttendant:e.sendMessageToAtendente,onRecording:M[2]||(M[2]=$=>s.value=$)},null,8,["attendant","selectedAttendant","sendAudioToAttendant"])],2))])])}}},[["__scopeId","data-v-564d0776"]]),U8={},X8={class:"loading"};function Z8(e,a){return t.openBlock(),t.createElementBlock("div",X8,a[0]||(a[0]=[t.createElementVNode("svg",{class:"spinner",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[t.createElementVNode("circle",{class:"opacity-30",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),t.createElementVNode("path",{class:"opacity-90",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"})],-1)]))}const Us=qe(U8,[["render",Z8],["__scopeId","data-v-bd52ddea"]]);/**
|
|
92
|
+
`,caption:g}]):Ye.show([{src:h,type:"image",caption:g}]))};function u(h,f=1){return new Promise((g,b)=>{const x=document.createElement("video");x.src=h,x.crossOrigin="anonymous",x.muted=!0,x.playsInline=!0,x.preload="auto",x.addEventListener("loadeddata",()=>{x.readyState>=2&&(x.currentTime=f)}),x.addEventListener("seeked",()=>{const w=document.createElement("canvas");w.width=x.videoWidth,w.height=x.videoHeight,w.getContext("2d").drawImage(x,0,0,w.width,w.height);const V=w.toDataURL("image/png");g(V)}),x.addEventListener("error",w=>{const k=document.createElement("canvas"),V=320,_=180;k.width=V,k.height=_;const T=k.getContext("2d");T.fillStyle="black",T.fillRect(0,0,V,_);const N=k.toDataURL("image/png");g(N)})})}const m=h=>typeof h=="string"&&h.startsWith("data:")&&h.includes(";base64,"),d=h=>{const f=Math.floor(h/60),g=(h%60).toFixed(0),b=f.toString().padStart(2,"0"),x=g.toString().padStart(2,"0");return`${b}:${x}`};return t.onMounted(async()=>{try{n.value=await u(a.base64)}catch(h){console.error(h)}}),(h,f)=>(t.openBlock(),t.createElementBlock("main",{class:t.normalizeClass({main_preview_files_container_message:e.mode==="message",main_preview_files_container_miniature:e.mode==="miniature","main_preview_files_container_preview bg-base-200":e.mode==="preview"})},[!e.isMobile&&i.value?(t.openBlock(),t.createElementBlock("section",Mf,[e.mode!=="miniature"?(t.openBlock(),t.createElementBlock("iframe",{key:0,class:"iframe_preview_files",src:e.base64,frameborder:"0"},null,8,Bf)):(t.openBlock(),t.createElementBlock("svg",Af,f[6]||(f[6]=[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M9 2.221V7H4.221a2 2 0 0 1 .365-.5L8.5 2.586A2 2 0 0 1 9 2.22ZM11 2v5a2 2 0 0 1-2 2H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2 2 2 0 0 0 2 2h12a2 2 0 0 0 2-2 2 2 0 0 0 2-2v-7a2 2 0 0 0-2-2V4a2 2 0 0 0-2-2h-7Zm-6 9a1 1 0 0 0-1 1v5a1 1 0 1 0 2 0v-1h.5a2.5 2.5 0 0 0 0-5H5Zm1.5 3H6v-1h.5a.5.5 0 0 1 0 1Zm4.5-3a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h1.376A2.626 2.626 0 0 0 15 15.375v-1.75A2.626 2.626 0 0 0 12.375 11H11Zm1 5v-3h.375a.626.626 0 0 1 .625.626v1.748a.625.625 0 0 1-.626.626H12Zm5-5a1 1 0 0 0-1 1v5a1 1 0 1 0 2 0v-1h1a1 1 0 1 0 0-2h-1v-1h1a1 1 0 1 0 0-2h-2Z","clip-rule":"evenodd"},null,-1)])))])):e.isMobile&&i.value?(t.openBlock(),t.createElementBlock("section",{key:1,class:t.normalizeClass(e.mode==="message"?"flex flex-col bg-base-300 p-2 rounded-md gap-2":"")},[t.createElementVNode("span",Vf,[f[7]||(f[7]=t.createElementVNode("svg",{class:"size-8 text-primary","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M9 2.221V7H4.221a2 2 0 0 1 .365-.5L8.5 2.586A2 2 0 0 1 9 2.22ZM11 2v5a2 2 0 0 1-2 2H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2 2 2 0 0 0 2 2h12a2 2 0 0 0 2-2 2 2 0 0 0 2-2v-7a2 2 0 0 0-2-2V4a2 2 0 0 0-2-2h-7Zm-6 9a1 1 0 0 0-1 1v5a1 1 0 1 0 2 0v-1h.5a2.5 2.5 0 0 0 0-5H5Zm1.5 3H6v-1h.5a.5.5 0 0 1 0 1Zm4.5-3a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h1.376A2.626 2.626 0 0 0 15 15.375v-1.75A2.626 2.626 0 0 0 12.375 11H11Zm1 5v-3h.375a.626.626 0 0 1 .625.626v1.748a.625.625 0 0 1-.626.626H12Zm5-5a1 1 0 0 0-1 1v5a1 1 0 1 0 2 0v-1h1a1 1 0 1 0 0-2h-1v-1h1a1 1 0 1 0 0-2h-2Z","clip-rule":"evenodd"})],-1)),t.createElementVNode("p",_f,t.toDisplayString(e.fileName),1)]),e.mode==="message"?(t.openBlock(),t.createElementBlock("div",Nf,[t.createElementVNode("button",{class:"bg-base-200 p-2 text-primary w-full text-xs rounded-md hover:bg-base-100",onClick:f[0]||(f[0]=g=>h.$emit("open-mobile-pdf"))}," Abrir PDF ")])):t.createCommentVNode("",!0)],2)):s.value?(t.openBlock(),t.createElementBlock("button",{key:2,onClick:f[1]||(f[1]=g=>p(e.base64,e.mimetype)),class:"video_message_preview_container"},[t.createElementVNode("div",Df,[t.createElementVNode("div",Tf,[(t.openBlock(),t.createElementBlock("svg",Pf,f[8]||(f[8]=[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m19 9-7 7-7-7"},null,-1)]))),(t.openBlock(),t.createElementBlock("svg",Of,f[9]||(f[9]=[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m19 9-7 7-7-7"},null,-1)]))),(t.openBlock(),t.createElementBlock("svg",Ff,f[10]||(f[10]=[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m19 9-7 7-7-7"},null,-1)]))),(t.openBlock(),t.createElementBlock("svg",Lf,f[11]||(f[11]=[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m19 9-7 7-7-7"},null,-1)])))])]),t.createElementVNode("img",{class:t.normalizeClass(["preview_img",e.mode]),src:m(e.base64)?e.base64:e.base64.replace("+","%2B")},null,10,$f)])):c(e.mimetype)?(t.openBlock(),t.createElementBlock("section",Rf,[e.mode==="preview"?(t.openBlock(),t.createElementBlock("video",{key:0,width:"300",height:"150",controls:"",src:e.base64},[t.createElementVNode("source",{src:e.base64,type:e.mimetype},null,8,zf)],8,Hf)):e.mode==="miniature"?(t.openBlock(),t.createElementBlock("svg",If,f[12]||(f[12]=[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M14 7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V7Zm2 9.387 4.684 1.562A1 1 0 0 0 22 17V7a1 1 0 0 0-1.316-.949L16 7.613v8.774Z","clip-rule":"evenodd"},null,-1)]))):e.mode==="message"?(t.openBlock(),t.createElementBlock("button",{key:2,onClick:f[2]||(f[2]=g=>p(e.base64,e.mimetype)),class:"video_message_preview_container"},[n.value?(t.openBlock(),t.createElementBlock("section",Gf,[t.createElementVNode("div",jf,[f[17]||(f[17]=t.createElementVNode("svg",{class:"size-12 text-white","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M8.6 5.2A1 1 0 0 0 7 6v12a1 1 0 0 0 1.6.8l8-6a1 1 0 0 0 0-1.6l-8-6Z","clip-rule":"evenodd"})],-1)),t.createElementVNode("div",qf,[(t.openBlock(),t.createElementBlock("svg",Wf,f[13]||(f[13]=[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m19 9-7 7-7-7"},null,-1)]))),(t.openBlock(),t.createElementBlock("svg",Yf,f[14]||(f[14]=[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m19 9-7 7-7-7"},null,-1)]))),(t.openBlock(),t.createElementBlock("svg",Uf,f[15]||(f[15]=[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m19 9-7 7-7-7"},null,-1)]))),(t.openBlock(),t.createElementBlock("svg",Xf,f[16]||(f[16]=[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m19 9-7 7-7-7"},null,-1)])))])]),t.createElementVNode("img",{class:t.normalizeClass(["preview_img",e.mode]),src:n.value},null,10,Zf)])):(t.openBlock(),t.createElementBlock("span",Qf,f[18]||(f[18]=[t.createElementVNode("span",{class:"loader-preview-lib"},null,-1)])))])):t.createCommentVNode("",!0)])):l.value?(t.openBlock(),t.createElementBlock("section",Kf,[e.mode!=="miniature"?(t.openBlock(),t.createElementBlock("section",Jf,[t.createVNode(d1,{avatar:e.avatar,audio:e.base64,onDuration:f[3]||(f[3]=g=>r.value=g),onCurrentTime:f[4]||(f[4]=g=>o.value=g)},null,8,["avatar","audio"])])):(t.openBlock(),t.createElementBlock("svg",em,f[19]||(f[19]=[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M5 8a1 1 0 0 1 1 1v3a4.006 4.006 0 0 0 4 4h4a4.006 4.006 0 0 0 4-4V9a1 1 0 1 1 2 0v3.001A6.006 6.006 0 0 1 14.001 18H13v2h2a1 1 0 1 1 0 2H9a1 1 0 1 1 0-2h2v-2H9.999A6.006 6.006 0 0 1 4 12.001V9a1 1 0 0 1 1-1Z","clip-rule":"evenodd"},null,-1),t.createElementVNode("path",{d:"M7 6a4 4 0 0 1 4-4h2a4 4 0 0 1 4 4v5a4 4 0 0 1-4 4h-2a4 4 0 0 1-4-4V6Z"},null,-1)])))])):(t.openBlock(),t.createElementBlock("div",{key:5,class:t.normalizeClass(e.mode==="message"?"generic_files":"")},[f[20]||(f[20]=t.createElementVNode("div",null,[t.createElementVNode("svg",{class:"size-8 text-white","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M9 2.221V7H4.221a2 2 0 0 1 .365-.5L8.5 2.586A2 2 0 0 1 9 2.22ZM11 2v5a2 2 0 0 1-2 2H4v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2h-7Z","clip-rule":"evenodd"})])],-1)),e.mode==="message"?(t.openBlock(),t.createElementBlock("span",tm,[t.createElementVNode("p",am,t.toDisplayString(e.fileName),1),t.createElementVNode("button",{class:"download_btn_generic_files",onClick:f[5]||(f[5]=g=>h.$emit("download"))}," Baixar arquivo ")])):t.createCommentVNode("",!0)],2)),e.mode==="message"?(t.openBlock(),t.createElementBlock("div",nm,[t.renderSlot(h.$slots,"content-message",{},void 0,!0),t.createElementVNode("div",{class:t.normalizeClass([r.value?"justify-between":" justify-end","flex w-full"])},[l.value&&r.value?(t.openBlock(),t.createElementBlock("p",rm,t.toDisplayString(d(r.value))+" - "+t.toDisplayString(o.value?d(o.value):"00:00"),1)):t.createCommentVNode("",!0),t.renderSlot(h.$slots,"time-message",{},void 0,!0)],2)])):t.createCommentVNode("",!0)],2))}},[["__scopeId","data-v-df4d5a1a"]]),om={props:{audioStream:MediaStream},data(){return{audioContext:null,analyser:null}},mounted(){this.initializeAudio()},methods:{initializeAudio(){this.audioContext=new(window.AudioContext||window.webkitAudioContext),this.analyser=this.audioContext.createAnalyser();const e=this.$refs.canvas,a=e.getContext("2d");this.audioContext.createMediaStreamSource(this.audioStream).connect(this.analyser),this.analyser.fftSize=256;const r=this.analyser.frequencyBinCount,o=new Uint8Array(r),i=()=>{this.analyser.getByteFrequencyData(o),a.clearRect(0,0,e.width,e.height);const s=e.width/r*2.5,l=e.height/2;let c=0;a.strokeStyle="green",a.lineWidth=2,a.beginPath(),a.moveTo(0,l),a.lineTo(e.width,l),a.stroke(),o.forEach(p=>{const u=p;a.fillStyle=`rgb(50, ${u+100}, 50)`,a.fillRect(c,l-u/2,s,u),c+=s+1}),this.audioStream.active&&requestAnimationFrame(i)};i()}}},im={ref:"canvas",width:"200",height:"40",class:"mx-auto flex items-center rounded"};function sm(e,a,n,r,o,i){return t.openBlock(),t.createElementBlock("div",null,[t.createElementVNode("canvas",im,null,512)])}const lm=je(om,[["render",sm],["__scopeId","data-v-d91f4ade"]]),cm={key:0,class:"flex w-full items-center space-x-3 text-white dark:text-black"},dm=["disabled"],um=["disabled"],fm={key:0,class:"size-4 hover:text-red-500","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 10 16"},mm={key:1,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-5 hover:text-emerald-500"},hm={key:5,class:"flex w-full items-center space-x-2"},pm={class:"text-xs"},gm={key:0},ym={key:1,class:"flex items-center px-2 pr-[21px]"},km=je({__name:"audioRecorder",props:{canSendMessage:Boolean,sendAudioToAttendant:{type:Function,required:!0},selectedAttendant:{type:Object,required:!0},attendant:{required:!0}},emits:["audio-sent","recording","b64Audio"],setup(e,{emit:a}){const n=e,r=a,o=t.ref(null),i=t.ref(!1),s=t.ref(!1),l=t.ref(0),c=t.ref(0),p=t.ref(null),u=t.ref(null),m=t.ref(null),d=t.ref(null),h=t.ref(0),f=t.ref(0),g=t.ref(null),b=t.ref(!1),x=t.ref(!1),w=U=>{h.value=U},k=U=>{f.value=U},V=U=>{const E=Math.floor(U/60),D=(U%60).toFixed(0),R=E.toString().padStart(2,"0"),Y=D.toString().padStart(2,"0");return`${R}:${Y}`},_=async()=>{try{u.value=null,d.value=await navigator.mediaDevices.getUserMedia({audio:!0}),o.value=new MediaRecorder(d.value),o.value.ondataavailable=T,o.value.start(),N(),i.value=!0,r("recording",!0)}catch(U){console.error("Erro ao iniciar a gravação:",U)}},T=U=>{U.data.size>0&&!b.value&&(p.value=new Blob([U.data]),g.value=URL.createObjectURL(p.value),G())},N=()=>{let U=Date.now();m.value=setInterval(()=>{l.value=c.value+Math.floor((Date.now()-U)/1e3)},1e3)},S=async()=>{u.value=null,o.value&&i.value&&(s.value?(o.value.resume(),N()):(o.value.pause(),clearInterval(m.value),c.value=l.value),s.value=!s.value)},B=async()=>{o.value&&i.value&&(await o.value.stop(),clearInterval(m.value),i.value=!1,s.value=!1,G()),d.value&&d.value.getTracks().forEach(U=>U.stop())},G=async()=>{if(p.value){const U=new Blob([p.value],{type:"audio/mpeg"}),E=new FileReader;E.onload=()=>{u.value=E.result},E.readAsDataURL(U)}},O=async()=>{x.value=!0,r("b64Audio",u.value);const E={type:"file",media:{name:"audio",mimetype:(D=>D?D.split(";")[0].split(":")[1]:null)(u.value),data:u.value}};await n.sendAudioToAttendant(n.selectedAttendant.id,E,n.attendant,!0),r("recording",!1),x.value=!1,d.value=null,u.value=null,p.value=null,i.value=!1,s.value=!1,l.value=0},Q=async()=>{b.value=!0,i.value=!1,r("recording",!1),await o.value.stop(),d.value&&(d.value.getTracks().forEach(U=>U.stop()),d.value=null),p.value=null,clearInterval(m.value),u.value=null,s.value=!1,l.value=0};return(U,E)=>{var D;return x.value?(t.openBlock(),t.createElementBlock("div",ym,E[9]||(E[9]=[t.createElementVNode("span",{class:"loader-audio-recorder"},null,-1)]))):(t.openBlock(),t.createElementBlock("div",cm,[!i.value&&!u.value?(t.openBlock(),t.createElementBlock("button",{key:0,class:t.normalizeClass(["send-audio-button",{recording:i.value}]),disabled:i.value||!e.canSendMessage,onClick:E[0]||(E[0]=R=>(_(),c.value=0,b.value=!1))},E[3]||(E[3]=[t.createElementVNode("svg",{class:"start-recording-icon","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 19"},[t.createElementVNode("path",{d:"M15 5a1 1 0 0 0-1 1v3a4 4 0 0 1-4 4H6a4 4 0 0 1-4-4V6a1 1 0 0 0-2 0v3a6.006 6.006 0 0 0 6 6h1v2H5a1 1 0 0 0 0 2h6a1 1 0 0 0 0-2H9v-2h1a6.006 6.006 0 0 0 6-6V6a1 1 0 0 0-1-1Z"}),t.createElementVNode("path",{d:"M9 0H7a3 3 0 0 0-3 3v5a3 3 0 0 0 3 3h2a3 3 0 0 0 3-3V3a3 3 0 0 0-3-3Z"})],-1)]),10,dm)):t.createCommentVNode("",!0),d.value?(t.openBlock(),t.createElementBlock("button",{key:1,class:"rounded-full bg-red-500 p-1.5 hover:bg-red-600",onClick:E[1]||(E[1]=R=>Q())},E[4]||(E[4]=[t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-4"},[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M14.74 9l-.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 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0"})],-1)]))):t.createCommentVNode("",!0),i.value?(t.openBlock(),t.createElementBlock("button",{key:2,disabled:!i.value&&!s.value,onClick:S},[s.value?(t.openBlock(),t.createElementBlock("svg",mm,E[6]||(E[6]=[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M21 7.5V18M15 7.5V18M3 16.811V8.69c0-.864.933-1.406 1.683-.977l7.108 4.061a1.125 1.125 0 010 1.954l-7.108 4.061A1.125 1.125 0 013 16.811z"},null,-1)]))):(t.openBlock(),t.createElementBlock("svg",fm,E[5]||(E[5]=[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M0 .8C0 .358.32 0 .714 0h1.429c.394 0 .714.358.714.8v14.4c0 .442-.32.8-.714.8H.714a.678.678 0 0 1-.505-.234A.851.851 0 0 1 0 15.2V.8Zm7.143 0c0-.442.32-.8.714-.8h1.429c.19 0 .37.084.505.234.134.15.209.354.209.566v14.4c0 .442-.32.8-.714.8H7.857c-.394 0-.714-.358-.714-.8V.8Z","clip-rule":"evenodd"},null,-1)])))],8,um)):t.createCommentVNode("",!0),(i.value||p.value)&&!u.value?(t.openBlock(),t.createElementBlock("button",{key:3,class:"rounded-full p-1.5 hover:bg-gray-100 hover:text-light",onClick:B},E[7]||(E[7]=[t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"size-4"},[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M5.25 7.5A2.25 2.25 0 017.5 5.25h9a2.25 2.25 0 012.25 2.25v9a2.25 2.25 0 01-2.25 2.25h-9a2.25 2.25 0 01-2.25-2.25v-9z"})],-1)]))):t.createCommentVNode("",!0),d.value&&i.value&&!s.value?(t.openBlock(),t.createBlock(lm,{key:4,"audio-stream":d.value},null,8,["audio-stream"])):t.createCommentVNode("",!0),u.value?(t.openBlock(),t.createElementBlock("div",hm,[t.createVNode(d1,{avatar:((D=e.attendant)==null?void 0:D.photo)||null,audio:u.value,onDuration:w,onCurrentTime:k},null,8,["avatar","audio"]),t.createElementVNode("main",pm,[t.createElementVNode("div",null,t.toDisplayString(V(f.value)),1),i.value||p.value?(t.openBlock(),t.createElementBlock("div",gm,t.toDisplayString(V(l.value)),1)):t.createCommentVNode("",!0)])])):t.createCommentVNode("",!0),u.value?(t.openBlock(),t.createElementBlock("button",{key:6,class:"rounded-full p-2 hover:bg-base-100",onClick:E[2]||(E[2]=R=>O())},E[8]||(E[8]=[t.createElementVNode("svg",{class:"size-5 text-base-200 rotate-90","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M12 2a1 1 0 0 1 .932.638l7 18a1 1 0 0 1-1.326 1.281L13 19.517V13a1 1 0 1 0-2 0v6.517l-5.606 2.402a1 1 0 0 1-1.326-1.281l7-18A1 1 0 0 1 12 2Z","clip-rule":"evenodd"})],-1)]))):t.createCommentVNode("",!0)]))}}},[["__scopeId","data-v-b0d32109"]]);/*! Capacitor: https://capacitorjs.com/ - MIT License */var an;(function(e){e.Unimplemented="UNIMPLEMENTED",e.Unavailable="UNAVAILABLE"})(an||(an={}));class Wo extends Error{constructor(a,n,r){super(a),this.message=a,this.code=n,this.data=r}}const bm=e=>{var a,n;return e!=null&&e.androidBridge?"android":!((n=(a=e==null?void 0:e.webkit)===null||a===void 0?void 0:a.messageHandlers)===null||n===void 0)&&n.bridge?"ios":"web"},xm=e=>{const a=e.CapacitorCustomPlatform||null,n=e.Capacitor||{},r=n.Plugins=n.Plugins||{},o=()=>a!==null?a.name:bm(e),i=()=>o()!=="web",s=m=>{const d=p.get(m);return!!(d!=null&&d.platforms.has(o())||l(m))},l=m=>{var d;return(d=n.PluginHeaders)===null||d===void 0?void 0:d.find(h=>h.name===m)},c=m=>e.console.error(m),p=new Map,u=(m,d={})=>{const h=p.get(m);if(h)return console.warn(`Capacitor plugin "${m}" already registered. Cannot register plugins twice.`),h.proxy;const f=o(),g=l(m);let b;const x=async()=>(!b&&f in d?b=typeof d[f]=="function"?b=await d[f]():b=d[f]:a!==null&&!b&&"web"in d&&(b=typeof d.web=="function"?b=await d.web():b=d.web),b),w=(S,B)=>{var G,O;if(g){const Q=g==null?void 0:g.methods.find(U=>B===U.name);if(Q)return Q.rtype==="promise"?U=>n.nativePromise(m,B.toString(),U):(U,E)=>n.nativeCallback(m,B.toString(),U,E);if(S)return(G=S[B])===null||G===void 0?void 0:G.bind(S)}else{if(S)return(O=S[B])===null||O===void 0?void 0:O.bind(S);throw new Wo(`"${m}" plugin is not implemented on ${f}`,an.Unimplemented)}},k=S=>{let B;const G=(...O)=>{const Q=x().then(U=>{const E=w(U,S);if(E){const D=E(...O);return B=D==null?void 0:D.remove,D}else throw new Wo(`"${m}.${S}()" is not implemented on ${f}`,an.Unimplemented)});return S==="addListener"&&(Q.remove=async()=>B()),Q};return G.toString=()=>`${S.toString()}() { [capacitor code] }`,Object.defineProperty(G,"name",{value:S,writable:!1,configurable:!1}),G},V=k("addListener"),_=k("removeListener"),T=(S,B)=>{const G=V({eventName:S},B),O=async()=>{const U=await G;_({eventName:S,callbackId:U},B)},Q=new Promise(U=>G.then(()=>U({remove:O})));return Q.remove=async()=>{console.warn("Using addListener() without 'await' is deprecated."),await O()},Q},N=new Proxy({},{get(S,B){switch(B){case"$$typeof":return;case"toJSON":return()=>({});case"addListener":return g?T:V;case"removeListener":return _;default:return k(B)}}});return r[m]=N,p.set(m,{name:m,proxy:N,platforms:new Set([...Object.keys(d),...g?[f]:[]])}),N};return n.convertFileSrc||(n.convertFileSrc=m=>m),n.getPlatform=o,n.handleError=c,n.isNativePlatform=i,n.isPluginAvailable=s,n.registerPlugin=u,n.Exception=Wo,n.DEBUG=!!n.DEBUG,n.isLoggingEnabled=!!n.isLoggingEnabled,n},pr=(e=>e.Capacitor=xm(e))(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),Bn=pr.registerPlugin;class gr{constructor(){this.listeners={},this.retainedEventArguments={},this.windowListeners={}}addListener(a,n){let r=!1;this.listeners[a]||(this.listeners[a]=[],r=!0),this.listeners[a].push(n);const i=this.windowListeners[a];i&&!i.registered&&this.addWindowListener(i),r&&this.sendRetainedArgumentsForEvent(a);const s=async()=>this.removeListener(a,n);return Promise.resolve({remove:s})}async removeAllListeners(){this.listeners={};for(const a in this.windowListeners)this.removeWindowListener(this.windowListeners[a]);this.windowListeners={}}notifyListeners(a,n,r){const o=this.listeners[a];if(!o){if(r){let i=this.retainedEventArguments[a];i||(i=[]),i.push(n),this.retainedEventArguments[a]=i}return}o.forEach(i=>i(n))}hasListeners(a){var n;return!!(!((n=this.listeners[a])===null||n===void 0)&&n.length)}registerWindowListener(a,n){this.windowListeners[n]={registered:!1,windowEventName:a,pluginEventName:n,handler:r=>{this.notifyListeners(n,r)}}}unimplemented(a="not implemented"){return new pr.Exception(a,an.Unimplemented)}unavailable(a="not available"){return new pr.Exception(a,an.Unavailable)}async removeListener(a,n){const r=this.listeners[a];if(!r)return;const o=r.indexOf(n);this.listeners[a].splice(o,1),this.listeners[a].length||this.removeWindowListener(this.windowListeners[a])}addWindowListener(a){window.addEventListener(a.windowEventName,a.handler),a.registered=!0}removeWindowListener(a){a&&(window.removeEventListener(a.windowEventName,a.handler),a.registered=!1)}sendRetainedArgumentsForEvent(a){const n=this.retainedEventArguments[a];n&&(delete this.retainedEventArguments[a],n.forEach(r=>{this.notifyListeners(a,r)}))}}const u1=e=>encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape),f1=e=>e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent);class wm extends gr{async getCookies(){const a=document.cookie,n={};return a.split(";").forEach(r=>{if(r.length<=0)return;let[o,i]=r.replace(/=/,"CAP_COOKIE").split("CAP_COOKIE");o=f1(o).trim(),i=f1(i).trim(),n[o]=i}),n}async setCookie(a){try{const n=u1(a.key),r=u1(a.value),o=`; expires=${(a.expires||"").replace("expires=","")}`,i=(a.path||"/").replace("path=",""),s=a.url!=null&&a.url.length>0?`domain=${a.url}`:"";document.cookie=`${n}=${r||""}${o}; path=${i}; ${s};`}catch(n){return Promise.reject(n)}}async deleteCookie(a){try{document.cookie=`${a.key}=; Max-Age=0`}catch(n){return Promise.reject(n)}}async clearCookies(){try{const a=document.cookie.split(";")||[];for(const n of a)document.cookie=n.replace(/^ +/,"").replace(/=.*/,`=;expires=${new Date().toUTCString()};path=/`)}catch(a){return Promise.reject(a)}}async clearAllCookies(){try{await this.clearCookies()}catch(a){return Promise.reject(a)}}}Bn("CapacitorCookies",{web:()=>new wm});const vm=async e=>new Promise((a,n)=>{const r=new FileReader;r.onload=()=>{const o=r.result;a(o.indexOf(",")>=0?o.split(",")[1]:o)},r.onerror=o=>n(o),r.readAsDataURL(e)}),Em=(e={})=>{const a=Object.keys(e);return Object.keys(e).map(o=>o.toLocaleLowerCase()).reduce((o,i,s)=>(o[i]=e[a[s]],o),{})},Cm=(e,a=!0)=>e?Object.entries(e).reduce((r,o)=>{const[i,s]=o;let l,c;return Array.isArray(s)?(c="",s.forEach(p=>{l=a?encodeURIComponent(p):p,c+=`${i}=${l}&`}),c.slice(0,-1)):(l=a?encodeURIComponent(s):s,c=`${i}=${l}`),`${r}&${c}`},"").substr(1):null,m1=(e,a={})=>{const n=Object.assign({method:e.method||"GET",headers:e.headers},a),o=Em(e.headers)["content-type"]||"";if(typeof e.data=="string")n.body=e.data;else if(o.includes("application/x-www-form-urlencoded")){const i=new URLSearchParams;for(const[s,l]of Object.entries(e.data||{}))i.set(s,l);n.body=i.toString()}else if(o.includes("multipart/form-data")||e.data instanceof FormData){const i=new FormData;if(e.data instanceof FormData)e.data.forEach((l,c)=>{i.append(c,l)});else for(const l of Object.keys(e.data))i.append(l,e.data[l]);n.body=i;const s=new Headers(n.headers);s.delete("content-type"),n.headers=s}else(o.includes("application/json")||typeof e.data=="object")&&(n.body=JSON.stringify(e.data));return n};class Sm extends gr{async request(a){const n=m1(a,a.webFetchExtra),r=Cm(a.params,a.shouldEncodeUrlParams),o=r?`${a.url}?${r}`:a.url,i=await fetch(o,n),s=i.headers.get("content-type")||"";let{responseType:l="text"}=i.ok?a:{};s.includes("application/json")&&(l="json");let c,p;switch(l){case"arraybuffer":case"blob":p=await i.blob(),c=await vm(p);break;case"json":c=await i.json();break;case"document":case"text":default:c=await i.text()}const u={};return i.headers.forEach((m,d)=>{u[d]=m}),{data:c,headers:u,status:i.status,url:i.url}}async get(a){return this.request(Object.assign(Object.assign({},a),{method:"GET"}))}async post(a){return this.request(Object.assign(Object.assign({},a),{method:"POST"}))}async put(a){return this.request(Object.assign(Object.assign({},a),{method:"PUT"}))}async patch(a){return this.request(Object.assign(Object.assign({},a),{method:"PATCH"}))}async delete(a){return this.request(Object.assign(Object.assign({},a),{method:"DELETE"}))}}Bn("CapacitorHttp",{web:()=>new Sm});const yr={RECORDING:"RECORDING",PAUSED:"PAUSED",NONE:"NONE"},Pa=Bn("VoiceRecorder",{web:()=>Promise.resolve().then(()=>Nv).then(e=>new e.VoiceRecorderWeb)});function h1(e,a){return t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[t.createElementVNode("path",{d:"M8.25 4.5a3.75 3.75 0 1 1 7.5 0v8.25a3.75 3.75 0 1 1-7.5 0V4.5Z"}),t.createElementVNode("path",{d:"M6 10.5a.75.75 0 0 1 .75.75v1.5a5.25 5.25 0 1 0 10.5 0v-1.5a.75.75 0 0 1 1.5 0v1.5a6.751 6.751 0 0 1-6 6.709v2.291h3a.75.75 0 0 1 0 1.5h-7.5a.75.75 0 0 1 0-1.5h3v-2.291a6.751 6.751 0 0 1-6-6.709v-1.5A.75.75 0 0 1 6 10.5Z"})])}function Mm(e,a){return t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[t.createElementVNode("path",{d:"M3.478 2.404a.75.75 0 0 0-.926.941l2.432 7.905H13.5a.75.75 0 0 1 0 1.5H4.984l-2.432 7.905a.75.75 0 0 0 .926.94 60.519 60.519 0 0 0 18.445-8.986.75.75 0 0 0 0-1.218A60.517 60.517 0 0 0 3.478 2.404Z"})])}function p1(e,a){return t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M6.75 5.25a.75.75 0 0 1 .75-.75H9a.75.75 0 0 1 .75.75v13.5a.75.75 0 0 1-.75.75H7.5a.75.75 0 0 1-.75-.75V5.25Zm7.5 0A.75.75 0 0 1 15 4.5h1.5a.75.75 0 0 1 .75.75v13.5a.75.75 0 0 1-.75.75H15a.75.75 0 0 1-.75-.75V5.25Z","clip-rule":"evenodd"})])}function Bm(e,a){return t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M4.5 5.653c0-1.427 1.529-2.33 2.779-1.643l11.54 6.347c1.295.712 1.295 2.573 0 3.286L7.28 19.99c-1.25.687-2.779-.217-2.779-1.643V5.653Z","clip-rule":"evenodd"})])}function Am(e,a){return t.openBlock(),t.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[t.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"})])}const Vm={key:0,class:"bg-base-300 absolute bottom-14 left-0 z-50 flex w-full items-center justify-between rounded-t-2xl p-3"},_m={class:"flex h-11 items-center"},Nm={key:0},Dm={key:0},Tm={key:1,class:"flex w-full justify-between rounded-lg border-2 border-gray-500 p-2 px-4"},Pm={key:1},Om={class:"flex w-full items-center justify-between gap-2"},Fm=["disabled"],Lm=["disabled"],$m={key:1,class:"loader-mobile-audio-recorder"},Rm=je({__name:"mobileAudioRecorder",props:{disableBtn:{type:Boolean,default:!1},sendAudioToAttendant:{type:Function,required:!0},selectedAttendant:{type:Object,required:!0},attendant:{required:!0}},emits:["audio-sent","recording","paused"],setup(e,{emit:a}){const n=a,r=e,o=t.ref(null),i=t.ref(!1),s=t.ref(0),l=t.ref(null),c=t.ref([]),p=t.ref(null),u=t.ref("00:00"),m=t.ref(!1),d=t.ref(null);let h=0;t.onUnmounted(()=>{N()});const f=()=>{let E;try{if(c.value.length>0){const D=c.value.map(oe=>{const A=atob(oe),v=new Array(A.length);for(let K=0;K<A.length;K++)v[K]=A.charCodeAt(K);const X=new Uint8Array(v);return new Blob([X],{type:p.value})}),R=new Blob(D,{type:p.value}),Y=URL.createObjectURL(R);return E=new Audio(Y),E}}catch(D){console.error("Erro ao criar o objeto Audio:",D)}},g=E=>{E==="play"?(d.value.currentTime=h,d.value.oncanplay=()=>{d.value.play().then(()=>{m.value=!0}).catch(D=>{console.error("Erro ao tentar reproduzir o áudio:",D)})},d.value.onended=()=>{m.value=!1,h=0},d.value.onerror=D=>{console.error("Erro ao carregar o áudio:",D)},d.value.load()):E==="pause"&&(d.value&&!d.value.paused?(m.value=!1,d.value.pause()):console.error("Nenhum áudio está tocando no momento"))},b=E=>{const D=Math.floor(E/60),R=(E%60).toFixed(0),Y=D.toString().padStart(2,"0"),oe=R.toString().padStart(2,"0");return`${Y}:${oe}`},x=()=>{s.value++,u.value=b(s.value)},w=()=>{l.value&&clearInterval(l.value),l.value=setInterval(x,1e3)},k=()=>{l.value&&clearInterval(l.value)},V=async()=>{let{value:E}=await Pa.hasAudioRecordingPermission();if(E)try{Pa.startRecording(),n("recording",!0),o.value="started",w()}catch(D){console.error(D)}else Jn({group:"error",title:"Erro",text:"Permissões de microfone desativadas, ajuste nas configurações do dispositivo"},4e3)},_=()=>{try{n("paused",!0),o.value="paused",N(),k()}catch(E){console.error(E)}},T=()=>{try{d.value&&(d.value.pause(),m.value=!1),n("paused",!1),o.value="started",V(),w()}catch(E){console.error(E)}},N=async()=>{(await Pa.getCurrentStatus()).status!=="NONE"&&await Pa.stopRecording().then(D=>{p.value=D.value.mimeType,c.value.push(D.value.recordDataBase64),d.value=f(),k()})},S=async()=>{const E=await Pa.getCurrentStatus();E.status==="RECORDING"?(await N(),n("paused",!1),n("recording",!1),o.value=null,c.value=[],i.value=!1,s.value=0,u.value=b(0)):E.status==="NONE"&&(n("recording",!1),n("paused",!1),o.value=null,i.value=!1,c.value=[],s.value=0,u.value=b(0))},B=async()=>{await Pa.getCurrentStatus(),d.value&&(d.value.pause(),m.value=!1),S()};function G(E){const D=atob(E),R=D.length,Y=new Uint8Array(R);for(let oe=0;oe<R;oe++)Y[oe]=D.charCodeAt(oe);return Y}function O(E){let D=E.reduce((oe,A)=>oe+A.length,0),R=new Uint8Array(D),Y=0;return E.forEach(oe=>{R.set(oe,Y),Y+=oe.length}),R}function Q(E){let D="",R=E.byteLength;for(let Y=0;Y<R;Y++)D+=String.fromCharCode(E[Y]);return btoa(D)}const U=async()=>{i.value=!0,(await Pa.getCurrentStatus()).status==="RECORDING"&&await N();try{const D=c.value.map(G),R=O(D),Y=Q(R),oe=`data:${p.value};base64,${Y}`,v={type:"file",media:{name:"audio",mimetype:(X=>X?X.split(";")[0].split(":")[1]:null)(oe),data:oe}};console.log("payload",v);return}catch(D){S(),console.error("Erro ao enviar áudio:",D),Jn({group:"error",title:"Erro",text:"Erro ao enviar áudio, tente novamente."},4e3);return}};return(E,D)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createVNode(t.Transition,{name:"bounce"},{default:t.withCtx(()=>[o.value?(t.openBlock(),t.createElementBlock("div",Vm,[t.createElementVNode("div",_m,[o.value!="paused"?(t.openBlock(),t.createElementBlock("section",Nm,"Gravando")):t.createCommentVNode("",!0)]),o.value!="paused"?(t.openBlock(),t.createElementBlock("section",Dm,t.toDisplayString(u.value),1)):t.createCommentVNode("",!0),o.value==="paused"?(t.openBlock(),t.createElementBlock("section",Tm,[m.value?(t.openBlock(),t.createElementBlock("button",Pm,[t.createVNode(t.unref(p1),{class:"size-6 cursor-pointer",onClick:D[1]||(D[1]=R=>g("pause"))})])):(t.openBlock(),t.createElementBlock("button",{key:0,onClick:D[0]||(D[0]=R=>g("play"))},[t.createVNode(t.unref(Bm),{class:"size-6 cursor-pointer"})])),D[7]||(D[7]=t.createElementVNode("div",null,null,-1)),t.createTextVNode(" "+t.toDisplayString(u.value),1)])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)]),_:1}),t.createElementVNode("div",Om,[o.value?(t.openBlock(),t.createElementBlock("button",{key:0,onClick:D[2]||(D[2]=R=>B())},[t.createVNode(t.unref(Am),{class:"ml-2 size-6 cursor-pointer text-red-500/80 drop-shadow-md"})])):t.createCommentVNode("",!0),o.value==="paused"?(t.openBlock(),t.createElementBlock("button",{key:1,onClick:D[3]||(D[3]=R=>T())},[t.createVNode(t.unref(h1),{class:"size-7 cursor-pointer text-green-500/90 drop-shadow-md"})])):t.createCommentVNode("",!0),o.value==="started"?(t.openBlock(),t.createElementBlock("button",{key:2,onClick:D[4]||(D[4]=R=>_())},[t.createVNode(t.unref(p1),{class:"size-7 cursor-pointer text-green-500 drop-shadow-md"})])):t.createCommentVNode("",!0),o.value?(t.openBlock(),t.createElementBlock("button",{key:4,disabled:i.value,class:"mr-2 flex items-center justify-center rounded-full bg-primary p-2 drop-shadow-md",onClick:D[6]||(D[6]=R=>U())},[i.value?(t.openBlock(),t.createElementBlock("span",$m)):(t.openBlock(),t.createBlock(t.unref(Mm),{key:0,class:"size-5 cursor-pointer"}))],8,Lm)):(t.openBlock(),t.createElementBlock("button",{key:3,class:"rounded-full bg-primary p-2 send-audio-button",disabled:e.disableBtn,onClick:D[5]||(D[5]=R=>V())},[t.createVNode(t.unref(h1),{class:"hover:text-white size-5"})],8,Fm))])],64))}},[["__scopeId","data-v-016b0766"]]),Hm={class:"messages-container bg-base-300"},zm={class:"header-intern bg-base-300"},Im={class:"atendente-name"},Gm={key:0,class:"date-separator bg-base-100/50"},jm={class:"date-separator-text"},qm={key:0,class:"dropdown-container-internal-messages"},Wm=["onClick"],Ym={class:"message-time"},Um={key:1},Xm={class:"message-time"},Zm={class:"input-area"},g1=je({__name:"ChatMessages",props:{isMobile:{type:Boolean,default:!1},selectedAtendente:{type:Object,required:!0},attendant:{required:!0},loadMessagesForAtendente:{type:Function,required:!0},sendMessageToAtendente:{type:Function,required:!0},hasNextPageForAtendente:{type:Function,required:!0},downloadFilesMobile:{type:Function},openMobilePdf:{type:Function}},emits:["send-files","voltar"],setup(e,{emit:a}){const n=e,r=a,o=t.ref(""),i=t.ref(null),s=t.ref(!1),l=t.ref(!1),c=t.ref(!1),p=t.computed(()=>{var S;return((S=n.selectedAtendente)==null?void 0:S.messages)||[]}),u=S=>{n.isMobile&&n.openMobilePdf(S)},m=(S,B)=>{if(S)if(n.isMobile){const O=S.mimetype.split("/")[1],Q={url:S.mimetype==="image/svg+xml"?S.data.replace("+","%2B"):S.data,type:O,title:S.name};n.downloadFilesMobile(Q,B)}else N(S.data,B)},d=t.computed(()=>n.hasNextPageForAtendente(n.selectedAtendente.id)),h=S=>{const B=new Date(S),G=B.getHours(),O=B.getMinutes();return`${G.toString().padStart(2,"0")}:${O.toString().padStart(2,"0")}`},f=S=>{const B=new Date(S);return k7(B)?"Hoje":x7(B)?"Ontem":y7(B)?Sl(B,"EEEE",{locale:Ml}):Sl(B,"dd 'de' MMMM 'de' yyyy",{locale:Ml})},g=S=>{if(S===0)return!0;const B=new Date(p.value[S].created_at),G=new Date(p.value[S-1].created_at);return B.toDateString()!==G.toDateString()},b=S=>{S.key==="Enter"&&!S.shiftKey&&(S.preventDefault(),k())},x=()=>{i.value&&i.value.scrollTo({top:i.value.scrollHeight,behavior:"instant"})},w=async S=>{try{if(!d.value){S.complete();return}const B=i.value.scrollHeight,G=i.value.scrollTop;await n.loadMessagesForAtendente(n.selectedAtendente.id),await t.nextTick(),i.value.scrollTop=i.value.scrollHeight-B+G-32,S.loaded()}catch(B){console.error(B),S.complete()}},k=async()=>{if(o.value.trim()!=="")try{const S=JSON.parse(JSON.stringify(o.value));o.value="",await n.sendMessageToAtendente(n.selectedAtendente.id,S,n.attendant),await t.nextTick(),x()}catch(S){console.error("Erro ao enviar mensagem:",S)}},V=()=>{k();const S=document.querySelector(".send-button");S.classList.add("clicked"),setTimeout(()=>{S.classList.remove("clicked")},200)},_=()=>{r("send-files");const S=document.querySelector(".send-files-button");S.classList.add("clicked"),setTimeout(()=>{S.classList.remove("clicked")},200)};t.onMounted(async()=>{await t.nextTick(()=>{x(),s.value=!0})}),t.watch(()=>{var S;return(S=p.value)==null?void 0:S.length},(S,B)=>{p.value&&T()&&setTimeout(()=>{i.value.scrollTo({top:i.value.scrollHeight,behavior:"instant"})},100)});function T(){const B=i.value.scrollTop+i.value.clientHeight;return i.value.scrollHeight-B<=80}const N=async(S,B="undefined")=>{const G=S.endsWith("svg+xml");try{const O=await fetch(G?S.replace("+","%2B"):S);if(!O.ok)throw new Error("Erro ao baixar o arquivo");const Q=await O.blob(),U=window.URL.createObjectURL(Q),E=document.createElement("a");E.href=U,E.download=B,document.body.appendChild(E),E.click(),document.body.removeChild(E),window.URL.revokeObjectURL(U)}catch(O){console.error("Erro no download:",O)}};return(S,B)=>{const G=t.resolveComponent("Popper");return t.openBlock(),t.createElementBlock("div",Hm,[t.createElementVNode("div",zm,[t.createElementVNode("button",{onClick:B[0]||(B[0]=O=>r("voltar")),class:"back-button"},B[4]||(B[4]=[t.createElementVNode("svg",{class:"w-6 h-6","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{d:"M14.502 7.046h-2.5v-.928a2.122 2.122 0 0 0-1.199-1.954 1.827 1.827 0 0 0-1.984.311L3.71 8.965a2.2 2.2 0 0 0 0 3.24L8.82 16.7a1.829 1.829 0 0 0 1.985.31 2.121 2.121 0 0 0 1.199-1.959v-.928h1a2.025 2.025 0 0 1 1.999 2.047V19a1 1 0 0 0 1.275.961 6.59 6.59 0 0 0 4.662-7.22 6.593 6.593 0 0 0-6.437-5.695Z"})],-1)])),t.createVNode(Eo,{url:e.selectedAtendente.photo},null,8,["url"]),t.createElementVNode("h3",Im,t.toDisplayString(e.selectedAtendente.name),1)]),t.createElementVNode("div",{class:"message-area",ref_key:"chatArea",ref:i},[!c.value&&d.value&&s.value?(t.openBlock(),t.createBlock(t.unref(Co),{key:0,onInfinite:w,distance:30,top:!0,direction:"top",class:"p-3"},{complete:t.withCtx(()=>B[5]||(B[5]=[t.createElementVNode("span",null,null,-1)])),spinner:t.withCtx(()=>B[6]||(B[6]=[t.createElementVNode("div",{class:"loading"},[t.createElementVNode("svg",{class:"spinner",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[t.createElementVNode("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),t.createElementVNode("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"})])],-1)])),_:1})):t.createCommentVNode("",!0),t.createElementVNode("div",null,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(p.value,(O,Q)=>(t.openBlock(),t.createElementBlock("div",{key:Q},[g(Q)?(t.openBlock(),t.createElementBlock("div",Gm,[B[7]||(B[7]=t.createElementVNode("div",{class:"date-separator-line"},null,-1)),t.createElementVNode("div",jm,t.toDisplayString(f(O.created_at)),1),B[8]||(B[8]=t.createElementVNode("div",{class:"date-separator-line"},null,-1))])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(["message",{me:O.sender.id===e.attendant.id,"not-me":O.sender.id!==e.attendant.id,"new-message":Q===p.value.length-1}])},[t.createElementVNode("div",{class:t.normalizeClass(["relative",O.sender.id===e.attendant.id?"text-right":"text-left"])},[O.content&&O.content.media&&O.content.media.data?(t.openBlock(),t.createElementBlock("div",qm,[t.createVNode(G,{hover:"",class:"label-popper-internal-messages",placement:"left"},{content:t.withCtx(()=>[t.createElementVNode("button",{class:"download-button-internal-messages",onClick:U=>m(O.content.media,O.content.media.name)}," Baixar ",8,Wm)]),default:t.withCtx(()=>[B[9]||(B[9]=t.createElementVNode("button",{class:"dropdown-toggle-internal-messages"},[t.createElementVNode("svg",{class:"dropdown-icon-internal-messages","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},[t.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m19 9-7 7-7-7"})])],-1))]),_:2,__:[9]},1024)])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass(["shadow shadow-gray-900 dark:shadow-gray-500",["message-content",{me:O.sender.id===e.attendant.id,"not-me":O.sender.id!==e.attendant.id}]])},[O.content&&O.content.media&&O.content.media.data?(t.openBlock(),t.createBlock(qo,{key:0,mode:"message",isMobile:e.isMobile,onDownload:U=>m(O.content.media,O.content.media.name),onOpenMobilePdf:U=>u(O.content.media.data),avatar:O.sender.id===e.attendant.id?e.attendant.photo:O.sender.photo,fileName:O.content.media.name,base64:O.content.media.data,mimetype:O.content.media.mimetype},{"content-message":t.withCtx(()=>[t.createElementVNode("p",null,t.toDisplayString(O.content.content),1)]),"time-message":t.withCtx(()=>[t.createElementVNode("div",Ym,t.toDisplayString(h(O.created_at)),1)]),_:2},1032,["isMobile","onDownload","onOpenMobilePdf","avatar","fileName","base64","mimetype"])):(t.openBlock(),t.createElementBlock("section",Um,[t.createElementVNode("p",null,t.toDisplayString(O.content.content),1),t.createElementVNode("div",Xm,t.toDisplayString(h(O.created_at)),1)]))],2)],2)],2)]))),128))])],512),t.createElementVNode("div",Zm,[t.withDirectives(t.createElementVNode("textarea",{type:"text","onUpdate:modelValue":B[1]||(B[1]=O=>o.value=O),class:"message-input bg-base-300 focus:ring-0",placeholder:"Digite sua mensagem...",onKeydown:b},null,544),[[t.vModelText,o.value]]),t.createElementVNode("button",{onClick:_,class:"send-files-button"},B[10]||(B[10]=[t.createElementVNode("svg",{class:"size-5 text-white","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},[t.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M7 8v8a5 5 0 1 0 10 0V6.5a3.5 3.5 0 1 0-7 0V15a2 2 0 0 0 4 0V8"})],-1)])),o.value.length>0?(t.openBlock(),t.createElementBlock("button",{key:0,onClick:V,class:"send-button"},B[11]||(B[11]=[t.createElementVNode("svg",{class:"size-5 text-white rotate-90","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M12 2a1 1 0 0 1 .932.638l7 18a1 1 0 0 1-1.326 1.281L13 19.517V13a1 1 0 1 0-2 0v6.517l-5.606 2.402a1 1 0 0 1-1.326-1.281l7-18A1 1 0 0 1 12 2Z","clip-rule":"evenodd"})],-1)]))):(t.openBlock(),t.createElementBlock("section",{key:1,class:t.normalizeClass(["bg-base-300",["send-audio-button",{recording:l.value}]])},[e.isMobile?(t.openBlock(),t.createBlock(Rm,{key:0,"can-send-message":!0,attendant:e.attendant,selectedAttendant:e.selectedAtendente,sendAudioToAttendant:e.sendMessageToAtendente,onRecording:B[2]||(B[2]=O=>l.value=O)},null,8,["attendant","selectedAttendant","sendAudioToAttendant"])):(t.openBlock(),t.createBlock(km,{key:1,"can-send-message":!0,attendant:e.attendant,selectedAttendant:e.selectedAtendente,sendAudioToAttendant:e.sendMessageToAtendente,onRecording:B[3]||(B[3]=O=>l.value=O)},null,8,["attendant","selectedAttendant","sendAudioToAttendant"]))],2))])])}}},[["__scopeId","data-v-8742c0bb"]]),Qm={},Km={class:"loading"};function Jm(e,a){return t.openBlock(),t.createElementBlock("div",Km,a[0]||(a[0]=[t.createElementVNode("svg",{class:"spinner",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[t.createElementVNode("circle",{class:"opacity-30",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),t.createElementVNode("path",{class:"opacity-90",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"})],-1)]))}const y1=je(Qm,[["render",Jm],["__scopeId","data-v-bd52ddea"]]);/**
|
|
93
93
|
* Vue 3 Carousel 0.16.0
|
|
94
94
|
* (c) 2025
|
|
95
95
|
* @license MIT
|
|
96
|
-
*/const Xs=["viewport","carousel"],cr={"bottom-to-top":"btt","left-to-right":"ltr","right-to-left":"rtl","top-to-bottom":"ttb"},Zs=["ltr","left-to-right","rtl","right-to-left","ttb","top-to-bottom","btt","bottom-to-top"],Q8={ariaGallery:"Gallery",ariaNavigateToPage:"Navigate to page {slideNumber}",ariaNavigateToSlide:"Navigate to slide {slideNumber}",ariaNextSlide:"Navigate to next slide",ariaPreviousSlide:"Navigate to previous slide",iconArrowDown:"Arrow pointing downwards",iconArrowLeft:"Arrow pointing to the left",iconArrowRight:"Arrow pointing to the right",iconArrowUp:"Arrow pointing upwards",itemXofY:"Item {currentSlide} of {slidesCount}"},Qs=["slide","fade"],Ks=["center","start","end","center-even","center-odd"],Js=10,dr=.08,at={autoplay:0,breakpointMode:Xs[0],breakpoints:void 0,dir:Zs[0],enabled:!0,gap:0,height:"auto",i18n:Q8,ignoreAnimations:!1,itemsToScroll:1,itemsToShow:1,modelValue:0,mouseDrag:!0,mouseWheel:!1,pauseAutoplayOnHover:!1,preventExcessiveDragging:!1,slideEffect:Qs[0],snapAlign:Ks[0],touchDrag:!0,transition:300,wrapAround:!1},Da=Symbol("carousel"),K8=e=>{const a=t.shallowReactive([]),n=r=>{r!==void 0?a.slice(r).forEach((o,i)=>{var l;(l=o.exposed)===null||l===void 0||l.setIndex(r+i)}):a.forEach((o,i)=>{var l;(l=o.exposed)===null||l===void 0||l.setIndex(i)})};return{cleanup:()=>{a.splice(0,a.length)},getSlides:()=>a,registerSlide:(r,o)=>{if(!r||r.props.isClone)return;const i=o??a.length;a.splice(i,0,r),n(i),e("slide-registered",{slide:r,index:i})},unregisterSlide:r=>{const o=a.indexOf(r);o!==-1&&(e("slide-unregistered",{slide:r,index:o}),a.splice(o,1),n(o))}}};function J8(e){return e.length===0?0:e.reduce((n,r)=>n+r,0)/e.length}function e1({slides:e,position:a,toShow:n}){const r=[],o=a==="before",i=o?-n:0,l=o?0:n;if(e.length<=0)return r;for(let s=i;s<l;s++){const p={index:o?s:s+e.length,isClone:!0,id:void 0,key:`clone-${a}-${s}`},f=e[(s%e.length+e.length)%e.length].vnode,h=t.cloneVNode(f,p);h.el=null,r.push(h)}return r}const e9='a[href], button, input, textarea, select, details, [tabindex]:not([tabindex="-1"])';function t1(e){if(!e.el||!(e.el instanceof Element))return;const a=e.el.querySelectorAll(e9);for(const n of a)n instanceof HTMLElement&&!n.hasAttribute("disabled")&&n.getAttribute("aria-hidden")!=="true"&&n.setAttribute("tabindex","-1")}function t9(e,a){return Object.keys(e).filter(n=>!a.includes(n)).reduce((n,r)=>(n[r]=e[r],n),{})}function a9(e){const{isVertical:a,isReversed:n,dragged:r,effectiveSlideSize:o,threshold:i}=e,l=a?r.y:r.x;if(l===0)return 0;const s=l/o,d=Math.abs(s);if(d<i)return 0;const p=d<1?Math.sign(s):Math.round(s);return n?p:-p}function ta({val:e,max:a,min:n}){return a<n?e:Math.min(Math.max(e,isNaN(n)?e:n),isNaN(a)?e:a)}function n9(e){const{transform:a}=window.getComputedStyle(e);return a.split(/[(,)]/).slice(1,-1).map(n=>parseFloat(n))}function r9(e){let a=1,n=1;return e.forEach(r=>{const o=n9(r);o.length===6&&(a/=o[0],n/=o[3])}),{widthMultiplier:a,heightMultiplier:n}}function o9(e,a){switch(e){case"start":return 0;case"center":case"center-odd":return(a-1)/2;case"center-even":return(a-2)/2;case"end":return a-1;default:return 0}}function i9(e,a,n){switch(e){case"start":return 0;case"center":case"center-odd":return(n-a)/2;case"center-even":return n/2-a;case"end":return n-a;default:return 0}}function Po({slideSize:e,viewportSize:a,align:n,itemsToShow:r}){return r!==void 0?o9(n,r):e!==void 0&&a!==void 0?i9(n,e,a):0}function a1(e="",a={}){return Object.entries(a).reduce((n,[r,o])=>n.replace(`{${r}}`,String(o)),e)}function n1({val:e,max:a,min:n=0}){const r=a-n+1;return((e-n)%r+r)%r+n}function Oo(e,a=0){let n=!1,r=0,o=null;function i(...l){if(n)return;n=!0;const s=()=>{o=requestAnimationFrame(d=>{d-r>a?(r=d,e(...l),n=!1):s()})};s()}return i.cancel=()=>{o&&(cancelAnimationFrame(o),o=null,n=!1)},i}function ur(e,a="px"){if(!(e==null||e===""))return typeof e=="number"||parseFloat(e).toString()===e?`${e}${a}`:e}const l9=t.defineComponent({name:"CarouselAria",setup(){const e=t.inject(Da);return e?()=>t.h("div",{class:["carousel__liveregion","carousel__sr-only"],"aria-live":"polite","aria-atomic":"true"},a1(e.config.i18n.itemXofY,{currentSlide:e.currentSlide+1,slidesCount:e.slidesCount})):()=>""}});function s9(e){let a=!1;const n={x:0,y:0},r=t.reactive({x:0,y:0}),o=t.ref(!1),{isSliding:i}=e,l=t.computed(()=>typeof i=="boolean"?i:i.value),s=f=>{var h;const c=f.target.tagName;if(["INPUT","TEXTAREA","SELECT"].includes(c)||l.value||(a=f.type==="touchstart",a&&f.touches.length>1))return;if(!a&&(f.preventDefault(),f.button!==0))return;n.x=a?f.touches[0].clientX:f.clientX,n.y=a?f.touches[0].clientY:f.clientY;const m=a?"touchmove":"mousemove",u=a?"touchend":"mouseup";document.addEventListener(m,d,{passive:!1}),document.addEventListener(u,p,{passive:!0}),(h=e.onDragStart)===null||h===void 0||h.call(e)},d=Oo(f=>{var h;if(a&&f.touches.length>1)return;o.value=!0;const c=a?f.touches[0].clientX:f.clientX,m=a?f.touches[0].clientY:f.clientY;r.x=c-n.x,r.y=m-n.y,(h=e.onDrag)===null||h===void 0||h.call(e,{deltaX:r.x,deltaY:r.y,isTouch:a})}),p=()=>{var f;d.cancel();const h=Math.abs(r.x)+Math.abs(r.y);!a&&h>10&&window.addEventListener("click",u=>{u.preventDefault(),u.stopPropagation()},{once:!0,capture:!0}),(f=e.onDragEnd)===null||f===void 0||f.call(e),r.x=0,r.y=0,o.value=!1;const c=a?"touchmove":"mousemove",m=a?"touchend":"mouseup";document.removeEventListener(c,d),document.removeEventListener(m,p)};return{dragged:r,isDragging:o,handleDragStart:s}}function c9(){const e=t.ref(!1);return{isHover:e,handleMouseEnter:()=>{e.value=!0},handleMouseLeave:()=>{e.value=!1}}}function d9(e){const{isVertical:a,isSliding:n,config:r}=e,o=t.computed(()=>typeof a=="boolean"?a:a.value),i=t.computed(()=>typeof n=="boolean"?n:n.value);return{handleScroll:s=>{var d,p;if(s.preventDefault(),!r.mouseWheel||i.value)return;const f=typeof r.mouseWheel=="object"&&(d=r.mouseWheel.threshold)!==null&&d!==void 0?d:Js,h=Math.abs(s.deltaY)>f?s.deltaY:0,c=Math.abs(s.deltaX)>f?s.deltaX:0;if(h===0&&c===0)return;const m=o.value?h:c,y=(m!==0?m:o.value?c:h)>0;(p=e.onWheel)===null||p===void 0||p.call(e,{deltaX:c,deltaY:h,isScrollingForward:y})}}}const u9={autoplay:{default:at.autoplay,type:Number},breakpoints:{default:at.breakpoints,type:Object},breakpointMode:{default:at.breakpointMode,validator(e){return Xs.includes(e)}},clamp:{type:Boolean},dir:{type:String,default:at.dir,validator(e,a){if(!Zs.includes(e))return!1;const n=e in cr?cr[e]:e;return["ttb","btt"].includes(n)&&(!a.height||a.height==="auto")&&console.warn(`[vue3-carousel]: The dir "${e}" is not supported with height "auto".`),!0}},enabled:{default:at.enabled,type:Boolean},gap:{default:at.gap,type:Number},height:{default:at.height,type:[Number,String]},i18n:{default:at.i18n,type:Object},ignoreAnimations:{default:!1,type:[Array,Boolean,String]},itemsToScroll:{default:at.itemsToScroll,type:Number},itemsToShow:{default:at.itemsToShow,type:[Number,String]},modelValue:{default:void 0,type:Number},mouseDrag:{default:at.mouseDrag,type:[Boolean,Object]},mouseWheel:{default:at.mouseWheel,type:[Boolean,Object]},mouseScrollThreshold:{default:at.mouseScrollThreshold,type:Number},pauseAutoplayOnHover:{default:at.pauseAutoplayOnHover,type:Boolean},preventExcessiveDragging:{default:!1,type:Boolean,validator(e,a){return e&&a.wrapAround&&console.warn('[vue3-carousel]: "preventExcessiveDragging" cannot be used with wrapAround. The setting will be ignored.'),!0}},slideEffect:{type:String,default:at.slideEffect,validator(e){return Qs.includes(e)}},snapAlign:{default:at.snapAlign,validator(e){return Ks.includes(e)}},touchDrag:{default:at.touchDrag,type:[Boolean,Object]},transition:{default:at.transition,type:Number},wrapAround:{default:at.wrapAround,type:Boolean}},m9=t.defineComponent({name:"VueCarousel",props:u9,emits:["before-init","drag","init","loop","slide-end","slide-registered","slide-start","slide-unregistered","update:modelValue","wheel"],setup(e,{slots:a,emit:n,expose:r}){var o;const i=K8(n),l=i.getSlides(),s=t.computed(()=>l.length),d=t.ref(null),p=t.ref(null),f=t.ref(0),h=t.computed(()=>Object.assign(Object.assign(Object.assign({},at),t9(e,["breakpoints","modelValue"])),{i18n:Object.assign(Object.assign({},at.i18n),e.i18n)})),c=t.shallowReactive(Object.assign({},h.value)),m=t.ref((o=e.modelValue)!==null&&o!==void 0?o:0),u=t.ref(m.value);t.watch(m,P=>u.value=P);const y=t.ref(0),b=t.computed(()=>Math.ceil((s.value-1)/2)),x=t.computed(()=>s.value-1),w=t.computed(()=>0);let k=null,B=null,A=null;const D=t.computed(()=>f.value+c.gap),V=t.computed(()=>{const P=c.dir||"ltr";return P in cr?cr[P]:P}),C=t.computed(()=>["rtl","btt"].includes(V.value)),M=t.computed(()=>["ttb","btt"].includes(V.value)),I=t.computed(()=>c.itemsToShow==="auto"),$=t.computed(()=>M.value?"height":"width");function X(){var P;if(!Q.value)return;const T=(h.value.breakpointMode==="carousel"?(P=d.value)===null||P===void 0?void 0:P.getBoundingClientRect().width:typeof window<"u"?window.innerWidth:0)||0,ee=Object.keys(e.breakpoints||{}).map(be=>Number(be)).sort((be,Ae)=>+Ae-+be),le={};ee.some(be=>T>=be?(Object.assign(le,e.breakpoints[be]),le.i18n&&Object.assign(le.i18n,h.value.i18n,e.breakpoints[be].i18n),!0):!1),Object.assign(c,h.value,le),I.value||(c.itemsToShow=ta({val:Number(c.itemsToShow),max:e.clamp?s.value:1/0,min:1}))}const Y=Oo(()=>{X(),_(),W()}),E=t.shallowReactive(new Set),j=t.ref([]);function G({widthMultiplier:P,heightMultiplier:T}){j.value=l.map(ee=>{var le;const be=(le=ee.exposed)===null||le===void 0?void 0:le.getBoundingRect();return{width:be.width*P,height:be.height*T}})}const U=t.ref({width:0,height:0});function de({widthMultiplier:P,heightMultiplier:T}){var ee;const le=((ee=p.value)===null||ee===void 0?void 0:ee.getBoundingClientRect())||{width:0,height:0};U.value={width:le.width*P,height:le.height*T}}function W(){if(!p.value)return;const P=r9(E);if(de(P),G(P),I.value)f.value=J8(j.value.map(T=>T[$.value]));else{const T=Number(c.itemsToShow),ee=(T-1)*c.gap;f.value=(U.value[$.value]-ee)/T}}function _(){!c.wrapAround&&s.value>0&&(m.value=ta({val:m.value,max:x.value,min:w.value}))}const ie=t.computed(()=>typeof e.ignoreAnimations=="string"?e.ignoreAnimations.split(","):Array.isArray(e.ignoreAnimations)?e.ignoreAnimations:e.ignoreAnimations?!1:[]);t.watchEffect(()=>_()),t.watchEffect(()=>{W()});let ne;const K=P=>{const T=P.target;if(!(!(T!=null&&T.contains(d.value))||Array.isArray(ie.value)&&ie.value.includes(P.animationName))&&(E.add(T),!ne)){const ee=()=>{ne=requestAnimationFrame(()=>{W(),ee()})};ee()}},S=P=>{const T=P.target;T&&E.delete(T),ne&&E.size===0&&(cancelAnimationFrame(ne),W())},Q=t.ref(!1);typeof document<"u"&&t.watchEffect(()=>{Q.value&&ie.value!==!1?(document.addEventListener("animationstart",K),document.addEventListener("animationend",S)):(document.removeEventListener("animationstart",K),document.removeEventListener("animationend",S))}),t.onMounted(()=>{Q.value=!0,X(),v(),d.value&&(A=new ResizeObserver(Y),A.observe(d.value)),n("init")}),t.onBeforeUnmount(()=>{Q.value=!1,i.cleanup(),B&&clearTimeout(B),ne&&cancelAnimationFrame(ne),k&&clearInterval(k),A&&(A.disconnect(),A=null),typeof document<"u"&&me(),d.value&&(d.value.removeEventListener("transitionend",W),d.value.removeEventListener("animationiteration",W))});const{isHover:fe,handleMouseEnter:R,handleMouseLeave:ye}=c9(),Z=Oo(P=>{if(!P.ctrlKey)switch(P.key){case"ArrowLeft":case"ArrowUp":M.value===P.key.endsWith("Up")&&(C.value?ue(!0):Me(!0));break;case"ArrowRight":case"ArrowDown":M.value===P.key.endsWith("Down")&&(C.value?Me(!0):ue(!0));break}},200),me=()=>{document.removeEventListener("keydown",Z)},L=()=>{document.addEventListener("keydown",Z)};function v(){!c.autoplay||c.autoplay<=0||(k=setInterval(()=>{c.pauseAutoplayOnHover&&fe.value||ue()},c.autoplay))}function g(){N(),v()}function N(){k&&(clearInterval(k),k=null)}const F=t.ref(!1),O=({deltaX:P,deltaY:T,isTouch:ee})=>{var le,be,Ae,De;n("drag",{deltaX:P,deltaY:T});const Pe=ee?typeof c.touchDrag=="object"&&(be=(le=c.touchDrag)===null||le===void 0?void 0:le.threshold)!==null&&be!==void 0?be:dr:typeof c.mouseDrag=="object"&&(De=(Ae=c.mouseDrag)===null||Ae===void 0?void 0:Ae.threshold)!==null&&De!==void 0?De:dr,je=a9({isVertical:M.value,isReversed:C.value,dragged:{x:P,y:T},effectiveSlideSize:D.value,threshold:Pe});je!==0&&(u.value=c.wrapAround?m.value+je:ta({val:m.value+je,max:x.value,min:w.value}))},J=()=>_e(u.value),{dragged:H,isDragging:te,handleDragStart:ce}=s9({isSliding:F,onDrag:O,onDragEnd:J}),ge=({deltaX:P,deltaY:T,isScrollingForward:ee})=>{n("wheel",{deltaX:P,deltaY:T}),ee?C.value?Me():ue():C.value?ue():Me()},{handleScroll:xe}=d9({isVertical:M,isSliding:F,config:c,onWheel:ge});function ue(P=!1){_e(m.value+c.itemsToScroll,P)}function Me(P=!1){_e(m.value-c.itemsToScroll,P)}function _e(P,T=!1){if(!T&&F.value)return;const ee=(c.wrapAround?n1:ta)({val:P,max:x.value,min:w.value});if(m.value===ee)return;y.value=m.value,n("slide-start",{slidingToIndex:P,currentSlideIndex:m.value,prevSlideIndex:y.value,slidesCount:s.value}),N(),F.value=!0,m.value=P,ee!==P&&Se.pause(),n("update:modelValue",ee),B=setTimeout(()=>{c.wrapAround&&ee!==P&&(Se.resume(),m.value=ee,n("loop",{currentSlideIndex:m.value,slidingToIndex:P})),n("slide-end",{currentSlideIndex:m.value,prevSlideIndex:y.value,slidesCount:s.value}),F.value=!1,g()},c.transition)}function Ne(){X(),_(),W(),g()}t.watch(()=>[h.value,e.breakpoints],()=>X(),{deep:!0}),t.watch(()=>e.autoplay,()=>g());const Se=t.watch(()=>e.modelValue,P=>{P!==m.value&&_e(Number(P),!0)});n("before-init");const Le=t.computed(()=>{if(!c.wrapAround)return{before:0,after:0};if(I.value)return{before:l.length,after:l.length};const P=Number(c.itemsToShow),T=Math.ceil(P+(c.itemsToScroll-1)),ee=T-u.value,le=T-(s.value-(u.value+1));return{before:Math.max(0,ee),after:Math.max(0,le)}}),Be=t.computed(()=>Le.value.before?I.value?j.value.slice(-1*Le.value.before).reduce((P,T)=>P+T[$.value]+c.gap,0)*-1:Le.value.before*D.value*-1:0),q=t.computed(()=>{var P;if(I.value){const T=(m.value%l.length+l.length)%l.length;return Po({slideSize:(P=j.value[T])===null||P===void 0?void 0:P[$.value],viewportSize:U.value[$.value],align:c.snapAlign})}return Po({align:c.snapAlign,itemsToShow:+c.itemsToShow})}),ae=t.computed(()=>{let P=0;if(I.value){if(m.value<0?P=j.value.slice(m.value).reduce((T,ee)=>T+ee[$.value]+c.gap,0)*-1:P=j.value.slice(0,m.value).reduce((T,ee)=>T+ee[$.value]+c.gap,0),P-=q.value,!c.wrapAround){const T=j.value.reduce((ee,le)=>ee+le[$.value]+c.gap,0)-U.value[$.value]-c.gap;P=ta({val:P,max:T,min:0})}}else{let T=m.value-q.value;c.wrapAround||(T=ta({val:T,max:s.value-+c.itemsToShow,min:0})),P=T*D.value}return P*(C.value?1:-1)}),re=t.computed(()=>{var P,T;if(!I.value){const be=m.value-q.value;return c.wrapAround?{min:Math.floor(be),max:Math.ceil(be+Number(c.itemsToShow)-1)}:{min:Math.floor(ta({val:be,max:s.value-Number(c.itemsToShow),min:0})),max:Math.ceil(ta({val:be+Number(c.itemsToShow)-1,max:s.value-1,min:0}))}}let ee=0;{let be=0,Ae=0-Le.value.before;const De=Math.abs(ae.value+Be.value);for(;be<=De;){const Pe=(Ae%l.length+l.length)%l.length;be+=((P=j.value[Pe])===null||P===void 0?void 0:P[$.value])+c.gap,Ae++}ee=Ae-1}let le=0;{let be=ee,Ae=0;for(be<0?Ae=j.value.slice(0,be).reduce((De,Pe)=>De+Pe[$.value]+c.gap,0)-Math.abs(ae.value+Be.value):Ae=j.value.slice(0,be).reduce((De,Pe)=>De+Pe[$.value]+c.gap,0)-Math.abs(ae.value);Ae<U.value[$.value];){const De=(be%l.length+l.length)%l.length;Ae+=((T=j.value[De])===null||T===void 0?void 0:T[$.value])+c.gap,be++}le=be-1}return{min:Math.floor(ee),max:Math.ceil(le)}}),se=t.computed(()=>{if(c.slideEffect==="fade")return;const P=M.value?"Y":"X",T=M.value?H.y:H.x;let ee=ae.value+T;if(!c.wrapAround&&c.preventExcessiveDragging){let le=0;I.value?le=j.value.reduce((De,Pe)=>De+Pe[$.value],0):le=(s.value-Number(c.itemsToShow))*D.value;const be=C.value?0:-1*le,Ae=C.value?le:0;ee=ta({val:ee,min:be,max:Ae})}return`translate${P}(${ee}px)`}),Ee=t.computed(()=>({"--vc-carousel-height":ur(c.height),"--vc-cloned-offset":ur(Be.value),"--vc-slide-gap":ur(c.gap),"--vc-transition-duration":F.value?ur(c.transition,"ms"):void 0})),he={slideTo:_e,next:ue,prev:Me},ke=t.reactive({activeSlide:u,config:c,currentSlide:m,isSliding:F,isVertical:M,maxSlide:x,minSlide:w,nav:he,normalizedDir:V,slideRegistry:i,slideSize:f,slides:l,slidesCount:s,viewport:p,visibleRange:re});t.provide(Da,ke);const z=t.reactive({config:c,currentSlide:m,maxSlide:x,middleSlide:b,minSlide:w,slideSize:f,slidesCount:s});return r(t.reactive(Object.assign({data:z,next:ue,prev:Me,restartCarousel:Ne,slideTo:_e,updateBreakpointsConfig:X,updateSlideSize:W,updateSlidesData:_},t.toRefs(ke)))),()=>{var P;const T=a.default||a.slides,ee=(T==null?void 0:T(z))||[],{before:le,after:be}=Le.value,Ae=e1({slides:l,position:"before",toShow:le}),De=e1({slides:l,position:"after",toShow:be}),Pe=[...Ae,...ee,...De];if(!c.enabled||!Pe.length)return t.h("section",{ref:d,class:["carousel","is-disabled"]},Pe);const je=((P=a.addons)===null||P===void 0?void 0:P.call(a,z))||[],nt=t.h("ol",{class:"carousel__track",onMousedownCapture:c.mouseDrag?ce:null,onTouchstartPassiveCapture:c.touchDrag?ce:null,onWheel:c.mouseWheel?xe:null,style:{transform:se.value}},Pe),xt=t.h("div",{class:"carousel__viewport",ref:p},nt);return t.h("section",{ref:d,class:["carousel",`is-${V.value}`,`is-effect-${c.slideEffect}`,{"is-dragging":te.value,"is-hover":fe.value,"is-sliding":F.value,"is-vertical":M.value}],dir:V.value,style:Ee.value,"aria-label":c.i18n.ariaGallery,tabindex:"0",onBlur:me,onFocus:L,onMouseenter:R,onMouseleave:ye},[xt,je,t.h(l9)])}}});var Fo;(function(e){e.arrowDown="arrowDown",e.arrowLeft="arrowLeft",e.arrowRight="arrowRight",e.arrowUp="arrowUp"})(Fo||(Fo={}));const r1=e=>`icon${e.charAt(0).toUpperCase()+e.slice(1)}`,f9={arrowDown:"M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z",arrowLeft:"M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z",arrowRight:"M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z",arrowUp:"M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z"};function h9(e){return e in Fo}const o1=e=>e&&h9(e),i1=t.defineComponent({props:{name:{type:String,required:!0,validator:o1},title:{type:String,default:e=>e.name?at.i18n[r1(e.name)]:""}},setup(e){const a=t.inject(Da,null);return()=>{const n=e.name;if(!n||!o1(n))return;const r=f9[n],o=t.h("path",{d:r}),i=(a==null?void 0:a.config.i18n[r1(n)])||e.title,l=t.h("title",i);return t.h("svg",{class:"carousel__icon",viewBox:"0 0 24 24",role:"img","aria-label":i},[l,o])}}}),p9=t.defineComponent({name:"CarouselNavigation",inheritAttrs:!1,props:{carousel:{type:Object}},setup(e,{slots:a,attrs:n}){let r=t.inject(Da,null);const{next:o,prev:i}=a,l=()=>({btt:"arrowDown",ltr:"arrowLeft",rtl:"arrowRight",ttb:"arrowUp"})[r.normalizedDir],s=()=>({btt:"arrowUp",ltr:"arrowRight",rtl:"arrowLeft",ttb:"arrowDown"})[r.normalizedDir],d=t.computed(()=>!r.config.wrapAround&&r.currentSlide<=r.minSlide),p=t.computed(()=>!r.config.wrapAround&&r.currentSlide>=r.maxSlide);return()=>{if(e.carousel&&(r=e.carousel),!r)return console.warn("[vue3-carousel]: A carousel component must be provided for the navigation component to display"),"";const{i18n:f}=r.config,h=t.h("button",Object.assign(Object.assign({type:"button",disabled:d.value,"aria-label":f.ariaPreviousSlide,title:f.ariaPreviousSlide,onClick:r.nav.prev},n),{class:["carousel__prev",{"carousel__prev--disabled":d.value},n.class]}),(i==null?void 0:i())||t.h(i1,{name:l()})),c=t.h("button",Object.assign(Object.assign({type:"button",disabled:p.value,"aria-label":f.ariaNextSlide,title:f.ariaNextSlide,onClick:r.nav.next},n),{class:["carousel__next",{"carousel__next--disabled":p.value},n.class]}),(o==null?void 0:o())||t.h(i1,{name:s()}));return[h,c]}}});t.defineComponent({name:"CarouselPagination",props:{disableOnClick:{type:Boolean},paginateByItemsToShow:{type:Boolean},carousel:{type:Object}},setup(e){let a=t.inject(Da,null);const n=t.computed(()=>a.config.itemsToShow),r=t.computed(()=>Po({align:a.config.snapAlign,itemsToShow:n.value})),o=t.computed(()=>e.paginateByItemsToShow&&n.value>1),i=t.computed(()=>Math.ceil((a.activeSlide-r.value)/n.value)),l=t.computed(()=>Math.ceil(a.slidesCount/n.value)),s=d=>n1(o.value?{val:i.value,max:l.value-1,min:0}:{val:a.activeSlide,max:a.maxSlide,min:a.minSlide})===d;return()=>{var d,p;if(e.carousel&&(a=e.carousel),!a)return console.warn("[vue3-carousel]: A carousel component must be provided for the pagination component to display"),"";const f=[];for(let h=o.value?0:a.minSlide;h<=(o.value?l.value-1:a.maxSlide);h++){const c=a1(a.config.i18n[o.value?"ariaNavigateToPage":"ariaNavigateToSlide"],{slideNumber:h+1}),m=s(h),u=t.h("button",{type:"button",class:{"carousel__pagination-button":!0,"carousel__pagination-button--active":m},"aria-label":c,"aria-pressed":m,"aria-controls":(p=(d=a.slides[h])===null||d===void 0?void 0:d.exposed)===null||p===void 0?void 0:p.id,title:c,disabled:e.disableOnClick,onClick:()=>a.nav.slideTo(o.value?Math.floor(h*+a.config.itemsToShow+r.value):h)}),y=t.h("li",{class:"carousel__pagination-item",key:h},u);f.push(y)}return t.h("ol",{class:"carousel__pagination"},f)}}});const g9=t.defineComponent({name:"CarouselSlide",props:{id:{type:String,default:e=>e.isClone?void 0:t.useId()},index:{type:Number,default:void 0},isClone:{type:Boolean,default:!1}},setup(e,{attrs:a,slots:n,expose:r}){const o=t.inject(Da);if(t.provide(Da,void 0),!o)return()=>"";const i=t.ref(e.index),l=u=>{i.value=u},s=t.getCurrentInstance(),d=()=>{const u=s.vnode.el;return u?u.getBoundingClientRect():{width:0,height:0}};r({id:e.id,setIndex:l,getBoundingRect:d});const p=t.computed(()=>i.value===o.activeSlide),f=t.computed(()=>i.value===o.activeSlide-1),h=t.computed(()=>i.value===o.activeSlide+1),c=t.computed(()=>i.value>=o.visibleRange.min&&i.value<=o.visibleRange.max),m=t.computed(()=>{if(o.config.itemsToShow==="auto")return;const u=o.config.itemsToShow,y=o.config.gap>0&&u>1?`calc(${100/u}% - ${o.config.gap*(u-1)/u}px)`:`${100/u}%`;return o.isVertical?{height:y}:{width:y}});return o.slideRegistry.registerSlide(s,e.index),t.onUnmounted(()=>{o.slideRegistry.unregisterSlide(s)}),e.isClone&&(t.onMounted(()=>{t1(s.vnode)}),t.onUpdated(()=>{t1(s.vnode)})),()=>{var u,y;return o.config.enabled?t.h("li",{style:[a.style,Object.assign({},m.value)],class:{carousel__slide:!0,"carousel__slide--clone":e.isClone,"carousel__slide--visible":c.value,"carousel__slide--active":p.value,"carousel__slide--prev":f.value,"carousel__slide--next":h.value,"carousel__slide--sliding":o.isSliding},onFocusin:()=>{o.viewport&&(o.viewport.scrollLeft=0),o.nav.slideTo(i.value)},id:e.isClone?void 0:e.id,"aria-hidden":e.isClone||void 0},(y=n.default)===null||y===void 0?void 0:y.call(n,{currentIndex:i.value,isActive:p.value,isClone:e.isClone,isPrev:f.value,isNext:h.value,isSliding:o.isSliding,isVisible:c.value})):(u=n.default)===null||u===void 0?void 0:u.call(n)}}}),y9={key:0,class:"preview-overlay bg-base-300"},k9={class:"preview-info"},x9={class:"text-black"},b9={class:"queue-info"},w9={class:"carousel-container bg-base-200"},v9={class:"carousel-item"},E9=["onClick"],C9=["onClick"],S9={class:"send-footer"},M9={key:1,class:"toast-loader-files"},l1=qe({__name:"dropFilesArea",props:{sendFilesToAttendant:{type:Function,required:!0},selectedAttendant:{type:Object,required:!0},attendant:{required:!0},isMobile:{type:Boolean,default:!1}},setup(e,{expose:a}){const n=e,r={itemsToShow:6,wrapAround:!1,gap:8,mouseDrag:!0,touchDrag:!0,mouseWheel:!0,snapAlign:"start",breakpoints:{1024:{itemsToShow:4},768:{itemsToShow:4},480:{itemsToShow:4},320:{itemsToShow:2},0:{itemsToShow:1}}},o=t.ref(!1),i=t.ref(""),l=t.ref(null),s=t.ref([]),d=t.ref([]),p=t.ref(null),f=t.ref(0),h=t.ref(!1),c=t.ref(0),m=t.ref(0),u=X=>new Promise((Y,E)=>{const j=new FileReader;j.readAsDataURL(X),j.onload=()=>{Y(j.result)},j.onerror=G=>{E(G)}}),y=()=>{o.value=!0},b=()=>{o.value=!1},x=()=>{d.value=[],s.value=[],i.value="",p.value=null,f.value=0},w=X=>{if(!(X<0||X>=d.value.length)){if(d.value.splice(X,1),s.value.splice(X,1),d.value.length===0){p.value=null,f.value=0;return}if(X===f.value){const Y=X>0?X-1:0;p.value=d.value[Y],f.value=Y}else X<f.value&&(f.value-=1)}},k=()=>{l.value.click()},B=async X=>{const Y=Array.from(X.target.files);s.value=Y,d.value=await Promise.all(Y.map(async E=>({name:E.name,base64:await u(E)}))),p.value=d.value[0],t.nextTick(()=>{M()})},A=async X=>{o.value=!1;const Y=Array.from(X.dataTransfer.files);s.value.push(...Y);const E=await Promise.all(Y.map(async j=>({name:j.name,base64:await u(j)})));d.value.push(...E),p.value||(p.value=d.value[0],f.value=0),t.nextTick(()=>{M()})},D=X=>X?X.split(";")[0].split(":")[1]:null,V=async()=>{try{h.value=!0,c.value=s.value.length,m.value=0;for(let X=0;X<s.value.length;X++){const Y=X===s.value.length-1,E={type:"file",media:{name:d.value[X].name,mimetype:D(d.value[X].base64),data:d.value[X].base64}};Y&&(E.content=i.value),await n.sendFilesToAttendant(n.selectedAttendant.id,E,n.attendant,!0),m.value++}await t.nextTick()}catch(X){console.error(X)}finally{h.value=!1,x(),b()}},C=t.ref(null),M=()=>{C.value&&C.value.focus()},I=(X,Y)=>{p.value=X,f.value=Y},$=async X=>{var j;const Y=(j=X.clipboardData)==null?void 0:j.items;if(!Y)return;const E=[];for(const G of Y)if(G.kind==="file"){const U=G.getAsFile();U&&E.push(U)}if(E.length>0){const G=new Set(s.value.map(W=>W.name));if(E.filter(W=>!G.has(W.name)).length===0)return;s.value.push(...E);const de=await Promise.all(E.map(async W=>({name:W.name,base64:await u(W)})));d.value.push(...de),p.value||(p.value=de[0],f.value=0)}t.nextTick(()=>{M()})};return t.watch(f,(X,Y)=>{p.value=d.value[X]}),t.onMounted(()=>{window.addEventListener("paste",$)}),t.onUnmounted(()=>{window.removeEventListener("paste",$)}),a({chooseFiles:k}),(X,Y)=>{var E,j,G;return t.openBlock(),t.createElementBlock("main",{onDragover:t.withModifiers(y,["prevent"]),onDragleave:b,onDrop:t.withModifiers(A,["prevent"])},[t.createElementVNode("section",{class:t.normalizeClass(["dropzone-container ",{"dropzone-active":o.value}])},[!h.value&&d.value.length>0&&!o.value?(t.openBlock(),t.createElementBlock("div",y9,[t.createElementVNode("button",{onClick:Y[0]||(Y[0]=U=>x()),class:"close-button"},Y[6]||(Y[6]=[t.createElementVNode("svg",{"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14"},[t.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"})],-1)])),t.createElementVNode("section",k9,[t.createElementVNode("p",x9,t.toDisplayString((E=p.value)==null?void 0:E.name),1),t.createVNode(To,{isMobile:e.isMobile,avatar:null,mode:"preview",base64:(j=p.value)==null?void 0:j.base64,mimetype:D((G=p.value)==null?void 0:G.base64)},null,8,["isMobile","base64","mimetype"]),t.withDirectives(t.createElementVNode("input",{ref_key:"textInput",ref:C,onKeydown:Y[1]||(Y[1]=t.withKeys(U=>V(),["enter"])),placeholder:"Digite uma mensagem para acompanhar o arquivo",class:"input-drop-files-area bg-base-200","onUpdate:modelValue":Y[2]||(Y[2]=U=>i.value=U),type:"text"},null,544),[[t.vModelText,i.value]])]),t.createElementVNode("div",b9,[Y[8]||(Y[8]=t.createElementVNode("p",null,"fila de envio",-1)),t.createElementVNode("section",w9,[t.createVNode(t.unref(m9),t.mergeProps({modelValue:f.value,"onUpdate:modelValue":Y[4]||(Y[4]=U=>f.value=U)},r),t.createSlots({default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(d.value,(U,de)=>(t.openBlock(),t.createBlock(t.unref(g9),{key:de},{default:t.withCtx(()=>[t.createElementVNode("section",v9,[f.value===de?(t.openBlock(),t.createElementBlock("button",{key:0,onClick:W=>w(de),class:"remove-file-btn"},Y[7]||(Y[7]=[t.createElementVNode("svg",{"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M8.586 2.586A2 2 0 0 1 10 2h4a2 2 0 0 1 2 2v2h3a1 1 0 1 1 0 2v12a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V8a1 1 0 0 1 0-2h3V4a2 2 0 0 1 .586-1.414ZM10 6h4V4h-4v2Zm1 4a1 1 0 1 0-2 0v8a1 1 0 1 0 2 0v-8Zm4 0a1 1 0 1 0-2 0v8a1 1 0 1 0 2 0v-8Z","clip-rule":"evenodd"})],-1)]),8,E9)):t.createCommentVNode("",!0),t.createElementVNode("button",{class:t.normalizeClass(["bg-base-100",["carousel-preview",{active:f.value===de}]]),onDragstart:Y[3]||(Y[3]=t.withModifiers(()=>{},["prevent"])),onClick:W=>I(U,de)},[t.createVNode(To,{isMobile:e.isMobile,avatar:null,mode:"miniature",base64:U.base64,mimetype:D(U.base64)},null,8,["isMobile","base64","mimetype"])],42,C9)])]),_:2},1024))),128))]),_:2},[e.isMobile?{name:"addons",fn:t.withCtx(()=>[t.createVNode(t.unref(p9))]),key:"0"}:void 0]),1040,["modelValue"])])]),t.createElementVNode("footer",S9,[t.createElementVNode("button",{class:"send-button",onClick:Y[5]||(Y[5]=U=>V())},Y[9]||(Y[9]=[t.createElementVNode("svg",{"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M12 2a1 1 0 0 1 .932.638l7 18a1 1 0 0 1-1.326 1.281L13 19.517V13a1 1 0 1 0-2 0v6.517l-5.606 2.402a1 1 0 0 1-1.326-1.281l7-18A1 1 0 0 1 12 2Z","clip-rule":"evenodd"})],-1)]))])])):t.createCommentVNode("",!0),h.value?(t.openBlock(),t.createElementBlock("section",M9," Enviando Arquivos... ("+t.toDisplayString(m.value)+" / "+t.toDisplayString(c.value)+") ",1)):t.createCommentVNode("",!0),t.renderSlot(X.$slots,"default",{},void 0,!0)],2),t.createElementVNode("input",{onChange:B,multiple:"",ref_key:"manualFile",ref:l,type:"file",hidden:""},null,544)],32)}}},[["__scopeId","data-v-5c29b067"]]),B9={key:0,class:"chat-icon"},A9={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512"},V9={key:0,class:"unread-count"},_9={key:0,class:"chat-content"},N9={key:1,class:"h-full"},s1=qe({__name:"chatWindow",props:{attendant:{default:{id:"dea5c13f-4464-4cc6-8653-8c8524acdd3b",name:"Joao Pedro Souto Santos",photo:"https://sm-click.s3.us-east-1.amazonaws.com/clients/624dfe23-92d0-43f1-8061-a2321f2b5ebb/attendants/dea5c13f-4464-4cc6-8653-8c8524acdd3b.png"}},socketMessage:{default:{id:"6170e5cd-a06f-4184-83a4-debd4bfaab35",channel_id:"e10b7177-3400-4457-bb43-b6c9d4a6faa1",sender:{id:"dea5c13f-4464-4cc6-8653-8c8524acdd3b",name:"Joao Pedro Souto Santos",photo:"https://sm-click.s3.us-east-1.amazonaws.com/clients/624dfe23-92d0-43f1-8061-a2321f2b5ebb/attendants/dea5c13f-4464-4cc6-8653-8c8524acdd3b.png"},content:{type:"text",content:"teste sockdet 3"},created_at:"2024-09-17T09:45:19.286087Z"}},countMessages:{type:Number,default:null},mode:{type:String,default:"dark"}},emits:["unreadMessagesEmit"],setup(e,{emit:a}){const n=e,{attendants:r,loadingMessages:o,fetchMessagesForAtendente:i,addMessageToAtendente:l,hasNextPageForAtendente:s,sendMessageToAtendente:d,loadMessagesForAtendente:p,resetUnreadMessages:f,loadingAttendants:h}=ql(),c=t.ref(!1),m=t.ref(!1),u=t.ref(null),y=t.ref(null),b=a,x=t.ref(null),w=()=>{var $;($=x.value)==null||$.chooseFiles()},k=t.computed(()=>{if(u.value){const $=r.value.find(X=>X.id===u.value.id);return $?$.internal_chat.unread:0}return 0}),B=$=>{var E;const X=(E=y.value)==null?void 0:E.contains($.target),Y=$.target.closest(".fancybox__container");!X&&!Y&&c.value&&C()};t.onMounted(()=>{document.addEventListener("click",B)}),t.onBeforeUnmount(()=>{document.removeEventListener("click",B)});const A=t.ref(!1),D=t.ref(!1),V=t.computed(()=>D.value?{position:"absolute",width:"42px",height:"42px",transition:"width 0.2s ease-in, height 0.2s ease-out"}:A.value||c.value?{position:"absolute",width:"400px",height:"65vh",transition:"width 0.2s ease-in, height 0.2s ease-out"}:{position:"relative",width:"42px",height:"42px",transition:"none"}),C=()=>{c.value?(D.value=!0,setTimeout(()=>{c.value=!1,D.value=!1},200)):(c.value=!0,A.value=!0,setTimeout(()=>{A.value=!1},200))},M=()=>{c.value||C()},I=async $=>{const X=r.value.find(E=>E.id===$.id),Y=X?X.internal_chat.unread:0;b("unreadMessagesEmit",Y),u.value=$,f($.id),$.hasNextPage||await i($.id)};return t.watch(()=>n.socketMessage,($,X)=>{var Y;$!==X&&l($,c.value,(Y=u.value)==null?void 0:Y.id)}),t.watch(c,$=>{$&&setTimeout(()=>{m.value=!0},400)}),($,X)=>(t.openBlock(),t.createElementBlock("div",{class:"chat-container",ref_key:"chatContainer",ref:y},[c.value?(t.openBlock(),t.createElementBlock("div",{key:0,onClick:t.withModifiers(C,["stop"]),style:{width:"42px",height:"42px","border-radius":"50%","background-color":"#02a9db",display:"flex","justify-content":"center"}},X[1]||(X[1]=[t.createElementVNode("span",{style:{"margin-top":"auto","margin-bottom":"auto"},class:"chat-icon my-auto"},[t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512"},[t.createElementVNode("path",{fill:"currentColor",d:"M208 352c114.9 0 208-78.8 208-176S322.9 0 208 0S0 78.8 0 176c0 38.6 14.7 74.3 39.6 103.4c-3.5 9.4-8.7 17.7-14.2 24.7c-4.8 6.2-9.7 11-13.3 14.3c-1.8 1.6-3.3 2.9-4.3 3.7c-.5 .4-.9 .7-1.1 .8l-.2 .2s0 0 0 0s0 0 0 0C1 327.2-1.4 334.4 .8 340.9S9.1 352 16 352c21.8 0 43.8-5.6 62.1-12.5c9.2-3.5 17.8-7.4 25.2-11.4C134.1 343.3 169.8 352 208 352zM448 176c0 112.3-99.1 196.9-216.5 207C255.8 457.4 336.4 512 432 512c38.2 0 73.9-8.7 104.7-23.9c7.5 4 16 7.9 25.2 11.4c18.3 6.9 40.3 12.5 62.1 12.5c6.9 0 13.1-4.5 15.2-11.1c2.1-6.6-.2-13.8-5.8-17.9c0 0 0 0 0 0s0 0 0 0l-.2-.2c-.2-.2-.6-.4-1.1-.8c-1-.8-2.5-2-4.3-3.7c-3.6-3.3-8.5-8.1-13.3-14.3c-5.5-7-10.7-15.4-14.2-24.7c24.9-29 39.6-64.7 39.6-103.4c0-92.8-84.9-168.9-192.6-175.5c.4 5.1 .6 10.3 .6 15.5z"})])],-1)]))):t.createCommentVNode("",!0),!c.value&&e.countMessages>0?(t.openBlock(),t.createElementBlock("section",{key:1,style:t.normalizeStyle(e.countMessages>10?"padding: 0.2rem 0.500rem;":"padding: 0.2rem 0.625rem;"),class:"chat-count"},t.toDisplayString(e.countMessages),5)):t.createCommentVNode("",!0),t.createElementVNode("div",{onClick:t.withModifiers(M,["stop"]),class:t.normalizeClass(["group relative",c.value?"chat-box border-base-200 open bg-base-200":"chat-box closed"]),style:t.normalizeStyle(V.value)},[c.value?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",B9,[(t.openBlock(),t.createElementBlock("svg",A9,[t.createElementVNode("path",{class:t.normalizeClass(e.mode==="dark"?"dark-chat-window-icon":"chat-window-icon"),fill:"currentColor",d:"M208 352c114.9 0 208-78.8 208-176S322.9 0 208 0S0 78.8 0 176c0 38.6 14.7 74.3 39.6 103.4c-3.5 9.4-8.7 17.7-14.2 24.7c-4.8 6.2-9.7 11-13.3 14.3c-1.8 1.6-3.3 2.9-4.3 3.7c-.5 .4-.9 .7-1.1 .8l-.2 .2s0 0 0 0s0 0 0 0C1 327.2-1.4 334.4 .8 340.9S9.1 352 16 352c21.8 0 43.8-5.6 62.1-12.5c9.2-3.5 17.8-7.4 25.2-11.4C134.1 343.3 169.8 352 208 352zM448 176c0 112.3-99.1 196.9-216.5 207C255.8 457.4 336.4 512 432 512c38.2 0 73.9-8.7 104.7-23.9c7.5 4 16 7.9 25.2 11.4c18.3 6.9 40.3 12.5 62.1 12.5c6.9 0 13.1-4.5 15.2-11.1c2.1-6.6-.2-13.8-5.8-17.9c0 0 0 0 0 0s0 0 0 0l-.2-.2c-.2-.2-.6-.4-1.1-.8c-1-.8-2.5-2-4.3-3.7c-3.6-3.3-8.5-8.1-13.3-14.3c-5.5-7-10.7-15.4-14.2-24.7c24.9-29 39.6-64.7 39.6-103.4c0-92.8-84.9-168.9-192.6-175.5c.4 5.1 .6 10.3 .6 15.5z"},null,2)])),k.value>0?(t.openBlock(),t.createElementBlock("span",V9,t.toDisplayString(k.value),1)):t.createCommentVNode("",!0),X[2]||(X[2]=t.createElementVNode("div",{class:"chat-tooltip"},[t.createElementVNode("div",{class:"text-sm my-auto text-center"},"Chat interno")],-1))])),t.createVNode(t.Transition,{name:"fade"},{default:t.withCtx(()=>[c.value&&!D.value?(t.openBlock(),t.createElementBlock("div",_9,[t.createElementVNode("button",{onClick:t.withModifiers(C,["stop"]),class:"close-button"},X[3]||(X[3]=[t.createElementVNode("svg",{class:"w-5 h-5",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},[t.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L17.94 6M18 18L6.06 6"})],-1)])),t.unref(o)||t.unref(h)?(t.openBlock(),t.createBlock(Us,{key:0})):u.value&&!t.unref(o)?(t.openBlock(),t.createElementBlock("div",N9,[t.createVNode(l1,{ref_key:"dropFilesRef",ref:x,attendant:e.attendant,selectedAttendant:u.value,sendFilesToAttendant:t.unref(d)},{default:t.withCtx(()=>[t.createVNode(Ys,{isMobile:!1,onSendFiles:w,attendant:e.attendant,selectedAtendente:u.value,onVoltar:X[0]||(X[0]=Y=>u.value=null),loadMessagesForAtendente:t.unref(p),sendMessageToAtendente:t.unref(d),hasNextPageForAtendente:t.unref(s)},null,8,["attendant","selectedAtendente","loadMessagesForAtendente","sendMessageToAtendente","hasNextPageForAtendente"])]),_:1},8,["attendant","selectedAttendant","sendFilesToAttendant"])])):t.createCommentVNode("",!0),!u.value&&!t.unref(h)?(t.openBlock(),t.createBlock(Wl,{key:2,attendant:e.attendant,atendentes:t.unref(r),onAtendenteSelecionado:I},null,8,["attendant","atendentes"])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)]),_:1})],6)],512))}},[["__scopeId","data-v-f69203ed"]]),D9={class:"chat-content"},T9={key:1,class:"h-full"},c1=qe({__name:"mobileChatWindow",props:{attendant:{default:{id:"dea5c13f-4464-4cc6-8653-8c8524acdd3b",name:"Joao Pedro Souto Santos",photo:"https://sm-click.s3.us-east-1.amazonaws.com/clients/624dfe23-92d0-43f1-8061-a2321f2b5ebb/attendants/dea5c13f-4464-4cc6-8653-8c8524acdd3b.png"}},socketMessage:{default:{id:"6170e5cd-a06f-4184-83a4-debd4bfaab35",channel_id:"e10b7177-3400-4457-bb43-b6c9d4a6faa1",sender:{id:"dea5c13f-4464-4cc6-8653-8c8524acdd3b",name:"Joao Pedro Souto Santos",photo:"https://sm-click.s3.us-east-1.amazonaws.com/clients/624dfe23-92d0-43f1-8061-a2321f2b5ebb/attendants/dea5c13f-4464-4cc6-8653-8c8524acdd3b.png"},content:{type:"text",content:"teste sockdet 3"},created_at:"2024-09-17T09:45:19.286087Z"}},countMessages:{type:Number,default:null},downloadFilesMobile:{type:Function,required:!0},openMobilePdf:{type:Function}},emits:["unreadMessagesEmit"],setup(e,{emit:a}){const n=e,{attendants:r,loadingMessages:o,fetchMessagesForAtendente:i,addMessageToAtendente:l,hasNextPageForAtendente:s,sendMessageToAtendente:d,loadMessagesForAtendente:p,resetUnreadMessages:f,loadingAttendants:h}=ql(),c=t.ref(!1),m=t.ref(!1),u=t.ref(null),y=t.ref(null),b=a,x=t.ref(null),w=()=>{var C;(C=x.value)==null||C.chooseFiles()};t.computed(()=>{if(u.value){const C=r.value.find(M=>M.id===u.value.id);return C?C.internal_chat.unread:0}return 0});const k=C=>{y.value&&!y.value.contains(C.target)&&c.value&&D()};t.onMounted(()=>{document.addEventListener("click",k)}),t.onBeforeUnmount(()=>{document.removeEventListener("click",k)});const B=t.ref(!1),A=t.ref(!1),D=()=>{c.value?(A.value=!0,setTimeout(()=>{c.value=!1,A.value=!1},200)):(c.value=!0,B.value=!0,setTimeout(()=>{B.value=!1},200))},V=async C=>{const M=r.value.find($=>$.id===C.id),I=M?M.internal_chat.unread:0;b("unreadMessagesEmit",I),u.value=C,f(C.id),C.hasNextPage||await i(C.id)};return t.watch(()=>n.socketMessage,(C,M)=>{var I;C!==M&&l(C,c.value,(I=u.value)==null?void 0:I.id)}),t.watch(c,C=>{C&&setTimeout(()=>{m.value=!0},400)}),(C,M)=>(t.openBlock(),t.createElementBlock("div",D9,[t.unref(o)||t.unref(h)?(t.openBlock(),t.createBlock(Us,{key:0})):u.value&&!t.unref(o)?(t.openBlock(),t.createElementBlock("div",T9,[t.createVNode(l1,{ref_key:"dropFilesRef",ref:x,isMobile:"",attendant:e.attendant,selectedAttendant:u.value,sendFilesToAttendant:t.unref(d)},{default:t.withCtx(()=>[t.createVNode(Ys,{isMobile:"",attendant:e.attendant,selectedAtendente:u.value,loadMessagesForAtendente:t.unref(p),sendMessageToAtendente:t.unref(d),hasNextPageForAtendente:t.unref(s),downloadFilesMobile:e.downloadFilesMobile,openMobilePdf:e.openMobilePdf,onVoltar:M[0]||(M[0]=I=>u.value=null),onSendFiles:w},null,8,["attendant","selectedAtendente","loadMessagesForAtendente","sendMessageToAtendente","hasNextPageForAtendente","downloadFilesMobile","openMobilePdf"])]),_:1},8,["attendant","selectedAttendant","sendFilesToAttendant"])])):t.createCommentVNode("",!0),!u.value&&!t.unref(h)?(t.openBlock(),t.createBlock(Wl,{key:2,mobile:!0,attendant:e.attendant,atendentes:t.unref(r),onAtendenteSelecionado:V},null,8,["attendant","atendentes"])):t.createCommentVNode("",!0)]))}},[["__scopeId","data-v-a1f8f1b3"]]),Lo=zt.defineStore("department",{state:()=>({departments:[],count:null,loaded:!1}),actions:{async fetchDepartments(e=""){try{let a=`${wc}`;const n=await na.get(a);this.departments=n.data,this.count=this.departments.length}catch(a){console.log("Erro ao buscar departamentos:",a)}},removeDepartments(e){this.departments=this.departments.filter(a=>a.id!==e)},addDepartments(e){const a=this.departments.findIndex(n=>n.id===e.id);a!==-1?this.departments[a]=e:this.departments.push(e)}}}),P9={class:"depart-select-container"},O9={class:"search-container relative shadow shadow-gray-900 dark:shadow-gray-500"},F9=["placeholder"],L9={key:0,class:"selection-container bg-base-300 border-b border-base-200"},$9=["onClick"],H9={class:"department-list"},R9=["onClick"],z9={key:0,style:{width:"150px"}},I9=["onUpdate:modelValue","onChange"],G9={key:0,class:"no-departments bg-base-300"},j9={key:1,class:"library-loading-spinner"},d1=qe({__name:"departSelect",props:{department:{type:[Array,String],default:null},modal_filter:{type:String,default:null},multiSelect:{type:Boolean,default:!0},permissions:{type:Boolean,default:!1},externalDepartments:{type:Array,default:null},attDel:{type:String,default:null},hiddenDepartment:{type:String,default:null}},emits:["depart","component-mounted"],setup(e,{emit:a}){const n=e,r=a,o=Lo(),i=t.ref(""),l=t.ref([]),s=t.ref(!1),d=t.ref(!1),p=t.computed(()=>(n.externalDepartments||o.departments).filter(w=>!(n.hiddenDepartment&&w.id===n.hiddenDepartment)).filter(w=>!i.value||w.name.toLowerCase().includes(i.value.toLowerCase())));t.onMounted(async()=>{await c(),await h(),r("component-mounted")}),t.watch(()=>o.departments.length,async()=>{await c(),await t.nextTick(),await h()},{immediate:!0}),t.watch(()=>n.attDel,x=>x&&f(x),{immediate:!0});function f(x){const k=(n.externalDepartments||o.departments).findIndex(B=>B.id===x);k!==-1&&(l.value=l.value.filter(B=>B.id!==x),n.externalDepartments?n.externalDepartments.splice(k,1):o.removeDepartments(x),r("depart",l.value))}async function h(){d.value=!0;const x=n.externalDepartments||o.departments;n.permissions&&x.forEach(w=>{w.permission||(w.permission="normal")}),await m(),d.value=!1}async function c(){(n.externalDepartments||o.departments).forEach(w=>w.selected=!1),l.value=[]}async function m(){const x=n.externalDepartments||o.departments;if(!(x!=null&&x.length))return;(Array.isArray(n.department)?n.department:n.department?[n.department]:[]).forEach(k=>{const B=typeof k=="object"?k.id:k,A=typeof k=="object"?k.permission:void 0,D=x.find(V=>V.id===B);D&&(D.selected=!0,A&&(D.permission=A),l.value.some(V=>V.id===B)||l.value.push(D))}),r("depart",l.value)}function u(x){const w=l.value.findIndex(k=>k.id===x.id);w!==-1?(x.selected=!1,l.value.splice(w,1)):(n.multiSelect||c(),x.selected=!0,l.value.push(x)),r("depart",l.value)}function y(){r("depart",l.value)}function b(x,w){x.selected=!1,l.value.splice(w,1),r("depart",l.value)}return(x,w)=>(t.openBlock(),t.createElementBlock("div",P9,[t.createElementVNode("div",O9,[t.createElementVNode("div",{class:t.normalizeClass(["input-wrapper bg-base-300 border-b border-base-200",{expanded:s.value||l.value.length>0}]),onClick:w[1]||(w[1]=k=>s.value=!s.value)},[t.withDirectives(t.createElementVNode("input",{"onUpdate:modelValue":w[0]||(w[0]=k=>i.value=k),placeholder:l.value.length>0?e.multiSelect?`Selecionados: ${l.value.length}`:`Selecionado: ${l.value[0].name}`:"Pesquise por nome.",class:"select-depart-input"},null,8,F9),[[t.vModelText,i.value]]),w[2]||(w[2]=t.createElementVNode("div",{class:"icon-container"},[t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"search-icon"},[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z"})])],-1))],2),l.value.length>0&&e.multiSelect&&t.unref(o).loaded?(t.openBlock(),t.createElementBlock("main",L9,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.value,(k,B)=>(t.openBlock(),t.createElementBlock("div",{key:k.id,class:"selection-item"},[t.createTextVNode(t.toDisplayString(k.name)+" ",1),t.createElementVNode("button",{onClick:A=>b(k,B),class:"close-btn"},w[3]||(w[3]=[t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"close-icon"},[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18L18 6M6 6l12 12"})],-1)]),8,$9)]))),128))])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass([l.value.length>0&&e.multiSelect?"dropdown-depart-expanded":"dropdown-depart","dropdown-depart bg-base-300"])},[t.createElementVNode("div",H9,[t.createElementVNode("div",{class:t.normalizeClass([{"two-columns":p.value.length>4},"grid-container"])},[t.unref(o).loaded?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(p.value,k=>(t.openBlock(),t.createElementBlock("div",{key:k.id,class:t.normalizeClass([{selected:k.selected},"department-item line-clamp-1 bg-slate-500/20 hover:bg-teal-600"])},[t.createElementVNode("span",{onClick:B=>u(k),class:"department-name h-full w-full"},t.toDisplayString(k.name),9,R9),e.multiSelect&&e.permissions?(t.openBlock(),t.createElementBlock("div",z9,[t.withDirectives(t.createElementVNode("select",{"onUpdate:modelValue":B=>k.permission=B,onChange:B=>y(),class:"select-dropdown-depart bg-base-300"},w[4]||(w[4]=[t.createElementVNode("option",{value:"normal"},"normal",-1),t.createElementVNode("option",{value:"supervisor"},"supervisor",-1)]),40,I9),[[t.vModelSelect,k.permission]])])):t.createCommentVNode("",!0)],2))),128)):t.createCommentVNode("",!0)],2)]),t.unref(o).loaded&&p.value.length===0?(t.openBlock(),t.createElementBlock("div",G9," Nenhum departamento disponível. ")):t.createCommentVNode("",!0),t.unref(o).loaded?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",j9,w[5]||(w[5]=[t.createTextVNode(" Inicializando departamentos "),t.createElementVNode("div",{class:"library-loader"},null,-1)])))],2)])]))}},[["__scopeId","data-v-8a5440e8"]]),q9={class:"depart-select-container"},W9={class:"search-container relative shadow shadow-gray-900 dark:shadow-gray-500"},Y9=["placeholder"],U9={key:0,class:"selection-container bg-base-300 border-b border-base-200"},X9=["onClick"],Z9={class:"department-list"},Q9={style:{"padding-left":"5px"}},K9=["src"],J9={key:1,style:{"pointer-events":"none","border-radius":"100%",width:"24px",height:"24px"},class:"bg-base-300","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",fill:"currentColor",viewBox:"0 0 24 24"},em=["onClick"],tm={key:0,class:"no-departments bg-base-300"},am={key:1,class:"library-loading-spinner"},u1=qe({__name:"attendantSelect",props:{attendance:{type:[Array,String],default:null},multiSelect:{type:Boolean,default:!0},department:{type:Array,default:[]},modal_filter:{type:String,default:null},attDel:{type:Object,default:{id:null}},method:{type:String,default:null}},emits:["attend","component-mounted"],setup(e,{emit:a}){const n=e,r=a,o=Un(),i=t.ref(""),l=t.ref(!1),s=t.ref([]),d=t.computed(()=>{const b=o.attendants.filter(w=>w.status===!0),x=i.value?b.filter(w=>w.name.toLowerCase().includes(i.value.toLowerCase())):b;return f(p(x))});function p(b){return n.method==="remove"?(Array.isArray(n.attendance)?n.attendance:n.attendance?[n.attendance]:b).filter(w=>{var B;return(typeof w=="object"?w.id:w)!==((B=n==null?void 0:n.attDel)==null?void 0:B.id)}):n.method==="addParticipant"?b.filter(x=>{var w;return(x==null?void 0:x.id)!==((w=n==null?void 0:n.attDel)==null?void 0:w.id)}):b}function f(b){return Array.isArray(n.department)&&n.department.length>0?b.filter(x=>x.department.some(w=>n.department.some(k=>k.id===w.id))):b}t.onMounted(()=>{h(),r("component-mounted")}),t.watch(()=>o.attendants.length,async()=>{await t.nextTick(),h()},{immediate:!0}),t.watch(()=>n.modal_filter,()=>{!n.modal_filter&&n.multiSelect&&c()},{immediate:!0}),t.watch(()=>n.department,()=>h(),{deep:!0});function h(){c(),m()}function c(){o.attendants.forEach(b=>b.selected=!1),s.value=[]}function m(){const b=o.attendants;if(!(b!=null&&b.length))return;(Array.isArray(n.attendance)?n.attendance:n.attendance?[n.attendance]:[]).forEach(w=>{const k=typeof w=="object"?w.id:w,B=b.find(A=>A.id===k);B&&!s.value.some(A=>A.id===k)&&(B.selected=!0,s.value.push(B))}),r("attend",s.value)}function u(b){const x=s.value.findIndex(w=>w.id===b.id);x!==-1?(b.selected=!1,s.value.splice(x,1)):(n.multiSelect||c(),b.selected=!0,s.value.push(b)),r("attend",s.value)}function y(b,x){b.selected=!1,s.value.splice(x,1),r("attend",s.value)}return(b,x)=>(t.openBlock(),t.createElementBlock("div",q9,[t.createElementVNode("div",W9,[t.createElementVNode("div",{class:t.normalizeClass(["input-wrapper bg-base-300 border-b border-base-200",{expanded:l.value||s.value.length>0}]),onClick:x[1]||(x[1]=w=>l.value=!l.value)},[t.withDirectives(t.createElementVNode("input",{"onUpdate:modelValue":x[0]||(x[0]=w=>i.value=w),placeholder:s.value.length>0?e.multiSelect?`Selecionados: ${s.value.length}`:`Selecionado: ${s.value[0].name}`:"Pesquise por nome.",class:"select-depart-input"},null,8,Y9),[[t.vModelText,i.value]]),x[2]||(x[2]=t.createElementVNode("div",{class:"icon-container"},[t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"search-icon"},[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z"})])],-1))],2),s.value.length>0&&e.multiSelect&&t.unref(o).loaded?(t.openBlock(),t.createElementBlock("main",U9,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.value,(w,k)=>(t.openBlock(),t.createElementBlock("div",{key:w,class:"selection-item"},[t.createTextVNode(t.toDisplayString(w.name)+" ",1),t.createElementVNode("button",{onClick:B=>y(w,k),class:"close-btn"},x[3]||(x[3]=[t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"close-icon"},[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18L18 6M6 6l12 12"})],-1)]),8,X9)]))),128))])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass([s.value.length>0&&e.multiSelect?"dropdown-attendance-expanded":"dropdown-attendance","dropdown-attendance bg-base-300"])},[t.createElementVNode("div",Z9,[t.createElementVNode("div",{class:t.normalizeClass([{"two-columns":d.value.length>4},"grid-container"])},[t.unref(o).loaded?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(d.value,w=>(t.openBlock(),t.createElementBlock("div",{key:w,class:t.normalizeClass([{selected:w.selected},"department-item line-clamp-1 bg-slate-500/20 hover:bg-teal-600"])},[t.createElementVNode("div",Q9,[w.photo?(t.openBlock(),t.createElementBlock("img",{key:0,src:w.photo,style:{"pointer-events":"none","border-radius":"100%",width:"24px",height:"24px"}},null,8,K9)):(t.openBlock(),t.createElementBlock("svg",J9,x[4]||(x[4]=[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M12 4a4 4 0 1 0 0 8 4 4 0 0 0 0-8Zm-2 9a4 4 0 0 0-4 4v1a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2v-1a4 4 0 0 0-4-4h-4Z","clip-rule":"evenodd"},null,-1)])))]),t.createElementVNode("span",{onClick:k=>u(w),class:"department-name h-full w-full"},t.toDisplayString(w.name),9,em)],2))),128)):t.createCommentVNode("",!0)],2)]),t.unref(o).loaded&&d.value.length===0?(t.openBlock(),t.createElementBlock("div",tm," Nenhum atendente disponível. ")):t.createCommentVNode("",!0),t.unref(o).loaded?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",am,x[5]||(x[5]=[t.createTextVNode(" Inicializando atendentes "),t.createElementVNode("div",{class:"library-loader"},null,-1)])))],2)])]))}},[["__scopeId","data-v-75e7fdd4"]]),nm={class:""},rm={class:"flex justify-between mb-3"},om={class:""},m1=qe({__name:"filterSelect",props:{title:{type:String,default:"Filtros"},modelValue:{default:null}},setup(e){const a=t.ref(!0);return(n,r)=>{const o=t.resolveComponent("Popper");return t.openBlock(),t.createBlock(o,{placement:"bottom",arrow:!1,class:"dark:popper-light popper-dark"},{content:t.withCtx(({close:i})=>[t.createElementVNode("section",nm,[t.createElementVNode("div",null,[t.createElementVNode("div",rm,[t.createElementVNode("p",null,t.toDisplayString(e.title),1),r[1]||(r[1]=t.createElementVNode("svg",{class:"w-4 h-4 text-white","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{d:"M5 3a2 2 0 0 0-1.5 3.3l5.4 6v5c0 .4.3.9.6 1.1l3.1 2.3c1 .7 2.5 0 2.5-1.2v-7.1l5.4-6C21.6 5 20.7 3 19 3H5Z"})],-1))]),t.createElementVNode("div",om,[t.renderSlot(n.$slots,"default",{},void 0,!0)])])])]),default:t.withCtx(()=>[t.createElementVNode("button",{onClick:r[0]||(r[0]=i=>a.value=!a.value),class:"group max-w-max relative flex p-0.5 flex-col items-center justify-center cursor-pointer rounded-md text-xs font-semibold"},r[2]||(r[2]=[t.createElementVNode("svg",{class:"w-3 h-3","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M18.4 10.3A2 2 0 0 0 17 7H7a2 2 0 0 0-1.5 3.3l4.9 5.9a2 2 0 0 0 3 0l5-6Z","clip-rule":"evenodd"})],-1)]))]),_:3})}}},[["__scopeId","data-v-1dfa2696"]]);function im(e,a){return t.openBlock(),t.createElementBlock("svg")}const lm={render:im},sm=t.createStaticVNode('<g id="Top/_Resources/Prescription-01" fill="none" transform="translate(62 85)"><defs><filter id="filter1" width="101.5%" height="109.8%" x="-.8%" y="-2.4%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" result="shadowMatrixOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"></feColorMatrix><feMerge><feMergeNode in="shadowMatrixOuter1"></feMergeNode><feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter></defs><g id="Glasses" fill="#D6EAF2" filter="url('#filter1')" transform="translate(8 8)"><path id="Frame-Stuff" d="M46.25 7.275c2.37.022 3.492.417 3.896 2.89.41 2.506.011 5.322-.46 7.79-.721 3.768-1.92 7.46-4.708 10.214-1.47 1.45-3.261 2.606-5.167 3.395-1.012.42-2.081.722-3.15.952-.312.067-2.979.434-1.343.248-3.817.435-7.958.418-11.146-2.012-3.532-2.692-5.952-6.952-7.015-11.196-.623-2.483-1.93-8.422.459-10.407 2.737-2.274 28.633-1.874 28.633-1.874M22.217.491c-5.44.187-9.071 1.143-11.755 6.578-4.917 9.961 3.5 24.9 12.89 28.97 10.976 4.76 23.24-.507 29.043-10.033 3.073-5.044 4.626-12.683 4.526-18.502C56.795.077 51.607-.13 45.51.034zM79.68 7.273c-2.371.022-3.492.416-3.896 2.89-.41 2.505-.012 5.322.46 7.79.72 3.767 1.919 7.459 4.708 10.213 1.47 1.45 3.261 2.606 5.167 3.396 1.012.419 2.08.722 3.15.951.312.067 2.978.435 1.343.248 3.817.436 7.958.418 11.145-2.011 3.533-2.692 5.952-6.952 7.016-11.196.623-2.483 1.93-8.422-.46-10.407-2.737-2.275-28.632-1.874-28.632-1.874M103.713.488c5.44.187 9.071 1.144 11.754 6.579 4.918 9.96-3.5 24.9-12.889 28.97-10.977 4.76-23.24-.508-29.043-10.033C70.46 20.96 68.907 13.32 69.007 7.5 69.135.074 74.323-.132 80.42.031z"></path><path id="Frame-Stuff" d="M13.197 4.927c-3.412.191-7.31.237-10.507 1.712-3.385 1.562-3.908 5.1.36 5.587 1.92.22 3.845-.143 5.737-.481 1.55-.277 3.655-.187 5.12-.78 2.729-1.103 2.553-6.225-.71-6.038m99.538 0c3.412.191 7.31.237 10.507 1.712 3.384 1.562 3.907 5.1-.36 5.587-1.921.22-3.845-.143-5.738-.481-1.55-.277-3.654-.187-5.119-.78-2.73-1.103-2.554-6.225.71-6.038M73.11 7.013c-1.947-2.3-7.019-3.628-10.219-3.628s-8.123 1.328-10.069 3.628c-.981 1.16-1.015 2.711.686 3.438 2.118.906 4.01-.737 5.705-1.596 2.168-1.098 5.499-.978 7.506 0 1.708.833 3.586 2.502 5.704 1.596 1.701-.727 1.668-2.279.686-3.438"></path></g></g>',1),cm=[sm];function dm(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...cm])}const um={render:dm},mm=t.createStaticVNode('<g id="Top/_Resources/Round" fill="none" transform="translate(62 85)"><defs><filter id="filter1" width="101.6%" height="108.3%" x="-.8%" y="-2.1%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"></feColorMatrix></filter><path id="Round-path1" d="M80.465 16.394C84.38 8.46 92.553 3 102 3c8.92 0 16.703 4.866 20.84 12.088q.316-.087.66-.088h8a2.5 2.5 0 1 1 0 5h-6.537A24 24 0 0 1 126 27c0 13.255-10.745 24-24 24S78 40.255 78 27c0-1.422.124-2.815.36-4.169C78.277 18.455 74.915 15 70.863 15c-3.736 0-6.887 2.94-7.42 6.83.365 1.665.558 3.395.558 5.17 0 13.255-10.745 24-24 24S16 40.255 16 27c0-2.435.363-4.785 1.037-7H10.5a2.5 2.5 0 1 1 0-5h8q.343 0 .66.088C23.297 7.866 31.08 3 40 3c9.352 0 17.455 5.35 21.416 13.155C63.493 13.039 66.949 11 70.862 11c4.013 0 7.545 2.144 9.603 5.394M40 47c11.046 0 20-8.954 20-20S51.046 7 40 7s-20 8.954-20 20 8.954 20 20 20m62 0c11.046 0 20-8.954 20-20s-8.954-20-20-20-20 8.954-20 20 8.954 20 20 20"></path></defs><g id="Lennon-Glasses"><use fill="#000" filter="url('#filter1')" href="#Round-path1"></use><use fill="#252C2F" href="#Round-path1"></use></g></g>',1),fm=[mm];function hm(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...fm])}const pm={render:hm},gm=t.createStaticVNode('<g id="Top/_Resources/Wayfarers" fill="none" stroke-width="1" transform="translate(62 85)"><defs><path id="react-path-1157" d="M44.918 17.571c0 9.703-8.25 17.572-21.998 17.572h-2.75C6.423 35.143.923 27.27.923 17.57.923 7.866 2.207 0 21.455 0h2.931c19.248 0 20.532 7.866 20.532 17.571"></path><path id="react-path-1158" d="M106.486 17.571c0 9.703-8.247 17.572-21.997 17.572h-2.75c-13.748 0-19.248-7.872-19.248-17.572C62.491 7.866 63.775 0 83.023 0h2.932c19.244 0 20.531 7.866 20.531 17.571"></path><linearGradient id="react-linear-gradient-1160" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#FFF" stop-opacity=".5"></stop><stop offset="70.506%" stop-opacity=".5"></stop></linearGradient><filter id="react-filter-1159" width="101.6%" height="109.8%" x="-.8%" y="-2.4%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" result="shadowMatrixOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"></feColorMatrix><feMerge><feMergeNode in="shadowMatrixOuter1"></feMergeNode><feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter></defs><g id="Wayfarers" filter="url(#react-filter-1159)" transform="translate(7 7)"><g id="Shades" fill-rule="evenodd" transform="translate(10.795 2.929)"><g id="Shade"><use fill="#000" fill-opacity=".7" href="#react-path-1157"></use><use fill="url(#react-linear-gradient-1160)" href="#react-path-1157" style="mix-blend-mode:screen;"></use></g><g id="Shade"><use fill="#000" fill-opacity=".7" href="#react-path-1158"></use><use fill="url(#react-linear-gradient-1160)" href="#react-path-1158" style="mix-blend-mode:screen;"></use></g></g><path id="Left" fill="#252C2F" fill-rule="nonzero" d="M33.716 41h-2.75c-13.888 0-22.18-7.664-22.18-20.5C8.787 10.127 10.6 0 32.25 0h2.932c21.651 0 23.463 10.127 23.463 20.5 0 12.069-10.25 20.5-24.93 20.5M32.25 5.854c-17.6 0-17.6 6.464-17.6 14.646 0 6.68 2.83 14.643 16.316 14.643h2.75c11.226 0 19.066-6.021 19.066-14.643 0-8.182 0-14.646-17.6-14.646z"></path><path id="Right" fill="#252C2F" fill-rule="nonzero" d="M95.284 41h-2.75c-13.888 0-22.18-7.664-22.18-20.5 0-10.373 1.813-20.5 23.464-20.5h2.932c21.651 0 23.463 10.127 23.463 20.5 0 12.069-10.25 20.5-24.929 20.5M93.818 5.854c-17.6 0-17.6 6.464-17.6 14.646 0 6.68 2.833 14.643 16.316 14.643h2.75c11.226 0 19.066-6.021 19.066-14.643 0-8.182 0-14.646-17.6-14.646z"></path><path id="Stuff" fill="#252C2F" fill-rule="nonzero" d="M2.932 5.857C3.618 5.172 11.123 0 32.25 0c17.714 0 21.464 1.88 27.14 4.72l.415.21c.395.143 2.413.844 4.773.921a16.5 16.5 0 0 0 4.528-.881C75.584 1.748 81.926 0 96.75 0c21.127 0 28.632 5.172 29.318 5.857A2.93 2.93 0 0 1 129 8.786v2.928c0 1.62-1.31 2.929-2.932 2.929 0 0-5.863 0-5.863 2.928s-2.932-4.237-2.932-5.857V8.862c-3.576-1.4-9.976-3.005-20.523-3.005-11.75 0-17.602 1.131-22.622 3.247l.056.139-2.496 1.007 2.493 1.008-2.2 5.43-2.717-1.1a13 13 0 0 0-1.493-.457c-2.024-.51-4.106-.666-5.946-.28a7.7 7.7 0 0 0-1.877.642l-2.622 1.31-2.623-5.238 2.622-1.31.006-.003-2.512-1.015.08-.198C50.57 6.976 46.58 5.857 32.25 5.857c-10.546 0-16.947 1.604-20.523 3.004v2.853c0 1.62-2.932 8.786-2.932 5.857s-5.863-2.928-5.863-2.928A2.93 2.93 0 0 1 0 11.714V8.786a2.93 2.93 0 0 1 2.932-2.929"></path></g></g>',1),ym=[gm];function km(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...ym])}const xm={render:km},bm=t.createStaticVNode('<g id="Top/_Resources/Kurt" fill="none" transform="translate(62 85)"><defs><filter id="filter1" width="101.5%" height="108%" x="-.8%" y="-2%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" result="shadowMatrixOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"></feColorMatrix><feMerge><feMergeNode in="shadowMatrixOuter1"></feMergeNode><feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter></defs><g id="Kurts" filter="url('#filter1')" transform="translate(5 2)"><path id="It!" fill="#F4F4F4" d="M66 11.111c-11.037 0-12.63-9.084-35.33-10.37C7.987-.283.816 6.449.777 11.11c.037 4.293-1.128 15.45 13.589 28.519 14.772 15.512 29.905 10.252 35.33 5.185C55.134 42.473 61.34 21.46 66 21.48s10.865 20.992 16.306 23.334c5.424 5.067 20.557 10.327 35.33-5.185 14.716-13.069 13.55-24.226 13.588-28.519-.04-4.662-7.21-11.394-29.895-10.37C78.63 2.027 77.037 11.11 66 11.11"></path><path id="Did" fill="#2F383B" d="M55.13 21.481c.38-7.658-12.914-15.839-27.177-15.555-14.256.299-16.111 9.453-16.306 12.963-.349 8.133 8.367 26.415 24.459 25.926 16.091-.51 18.803-18.28 19.023-23.334"></path><path id="Courtney" fill="#2F383B" d="M120.353 21.481c.38-7.658-12.914-15.839-27.177-15.555-14.255.299-16.11 9.453-16.305 12.963-.35 8.133 8.367 26.415 24.458 25.926 16.092-.51 18.804-18.28 19.024-23.334" transform="matrix(-1 0 0 1 197.224 0)"></path></g></g>',1),wm=[bm];function vm(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...wm])}const Em={render:vm},Cm=t.createStaticVNode('<g id="Top/_Resources/Prescription-02" fill="none" stroke-width="1" transform="translate(62 85)"><defs><filter id="react-filter-1166" width="101.5%" height="109.8%" x="-.8%" y="-2.4%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" result="shadowMatrixOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"></feColorMatrix><feMerge><feMergeNode in="shadowMatrixOuter1"></feMergeNode><feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter></defs><g id="Wayfarers" fill="#252C2F" fill-rule="nonzero" filter="url(#react-filter-1166)" transform="translate(6 7)"><path id="Left" d="M34 41h-2.758C17.315 41 9 33.336 9 20.5 9 10.127 10.817 0 32.53 0h2.94C57.183 0 59 10.127 59 20.5 59 32.569 48.721 41 34 41M32.385 6C13 6 13 12.841 13 21.502 13 28.572 16.116 37 30.97 37H34c12.365 0 21-6.373 21-15.498C55 12.84 55 6 35.615 6z"></path><path id="Right" d="M96 41h-2.758C79.315 41 71 33.336 71 20.5 71 10.127 72.817 0 94.53 0h2.94C119.183 0 121 10.127 121 20.5 121 32.569 110.721 41 96 41M94.385 6C75 6 75 12.841 75 21.502 75 28.572 78.12 37 92.97 37H96c12.365 0 21-6.373 21-15.498C117 12.84 117 6 97.615 6z"></path><path id="Stuff" d="M2.955 5.772C3.645 5.096 11.21 0 32.5 0c17.851 0 21.63 1.853 27.35 4.652l.419.207c.398.14 2.431.83 4.81.907a17 17 0 0 0 4.563-.869C76.17 1.722 82.562 0 97.5 0c21.29 0 28.854 5.096 29.545 5.772 1.634 0 2.955 1.29 2.955 2.885v2.886c0 1.596-1.32 2.886-2.955 2.886 0 0-6.901 0-6.901 2.886 0 2.885-1.962-4.176-1.962-5.772v-2.81c-3.603-1.38-10.054-3.947-20.682-3.947-11.842 0-17.739 2.1-22.798 4.185l.057.137-.003 1.986-2.217 5.35L69.8 15.36c-.244-.097-.772-.27-1.504-.451-2.04-.503-4.137-.656-5.992-.276q-1.021.21-1.891.633l-2.643 1.29-2.643-5.16.117-2.295.08-.195c-4.362-2.033-8.385-4.12-22.824-4.12-10.628 0-17.078 2.565-20.682 3.944v2.812c0 1.596-2.954 8.657-2.954 5.772 0-2.886-5.91-2.886-5.91-2.886-1.63 0-2.954-1.29-2.954-2.886V8.657c0-1.595 1.324-2.885 2.955-2.885"></path></g></g>',1),Sm=[Cm];function Mm(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Sm])}const Bm={render:Mm},Am=t.createStaticVNode('<g id="Top/_Resources/Sunglasses" fill="none" stroke-width="1" transform="translate(62 85)"><defs><linearGradient id="react-linear-gradient-1164" x1="50%" x2="50%" y1="0%" y2="70.506%"><stop offset="0%" stop-color="#FFF" stop-opacity=".5"></stop><stop offset="100%" stop-opacity=".5"></stop></linearGradient><linearGradient id="react-linear-gradient-1165" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#FFF" stop-opacity=".5"></stop><stop offset="70.506%" stop-opacity=".5"></stop></linearGradient><path id="react-path-1161" d="M47.01 6.277c2.511.024 3.698.45 4.126 3.115.433 2.7.012 5.736-.488 8.395-.762 4.06-2.031 8.04-4.984 11.007-1.555 1.564-3.452 2.81-5.47 3.66-1.071.452-2.203.778-3.334 1.026-.33.072-3.154.468-1.422.267-4.041.47-8.425.45-11.8-2.168-3.74-2.901-6.301-7.493-7.427-12.066-.66-2.676-2.044-9.076.486-11.216 2.898-2.452 30.313-2.02 30.313-2.02"></path><path id="react-path-1162" d="M78.92 6.275c-2.512.024-3.699.449-4.126 3.114-.434 2.7-.012 5.736.487 8.395.763 4.061 2.032 8.04 4.984 11.008 1.556 1.563 3.453 2.809 5.47 3.66 1.072.451 2.204.778 3.335 1.025.33.072 3.153.469 1.422.267 4.04.47 8.425.45 11.8-2.167 3.74-2.902 6.3-7.493 7.427-12.066.66-2.677 2.043-9.077-.486-11.217-2.898-2.451-30.314-2.02-30.314-2.02"></path><filter id="react-filter-1163" width="101.6%" height="110.5%" x="-.8%" y="-2.6%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" result="shadowMatrixOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"></feColorMatrix><feMerge><feMergeNode in="shadowMatrixOuter1"></feMergeNode><feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter></defs><g id="Sunglasses" filter="url(#react-filter-1163)" transform="translate(8 8)"><g id="shades"><use fill="#000" fill-opacity=".7" href="#react-path-1161"></use><use fill="url(#react-linear-gradient-1164)" href="#react-path-1161" style="mix-blend-mode:screen;"></use></g><g id="shades"><use fill="#000" fill-opacity=".7" href="#react-path-1162"></use><use fill="url(#react-linear-gradient-1165)" href="#react-path-1162" style="mix-blend-mode:screen;"></use></g><g id="Glasses" fill="#252C2F"><path id="Frame" d="M46.25 7.275c2.37.022 3.492.417 3.896 2.89.41 2.506.011 5.322-.46 7.79-.721 3.768-1.92 7.46-4.708 10.214-1.47 1.45-3.261 2.606-5.167 3.395-1.012.42-2.081.722-3.15.952-.312.067-2.979.434-1.343.248-3.817.435-7.958.418-11.146-2.012-3.532-2.692-5.952-6.952-7.015-11.196-.623-2.483-1.93-8.422.459-10.407 2.737-2.274 28.633-1.874 28.633-1.874M22.217.491c-5.44.187-9.071 1.143-11.755 6.578-4.917 9.961 3.5 24.9 12.89 28.97 10.976 4.76 23.24-.507 29.043-10.033 3.073-5.044 4.626-12.683 4.526-18.502C56.795.077 51.607-.13 45.51.034zM79.68 7.273c-2.371.022-3.492.416-3.896 2.89-.41 2.505-.012 5.322.46 7.79.72 3.767 1.919 7.459 4.708 10.213 1.47 1.45 3.261 2.606 5.167 3.396 1.012.419 2.08.722 3.15.951.312.067 2.978.435 1.343.248 3.817.436 7.958.418 11.145-2.011 3.533-2.692 5.952-6.952 7.016-11.196.623-2.483 1.93-8.422-.46-10.407-2.737-2.275-28.632-1.874-28.632-1.874M103.713.488c5.44.187 9.071 1.144 11.754 6.579 4.918 9.96-3.5 24.9-12.889 28.97-10.977 4.76-23.24-.508-29.043-10.033C70.46 20.96 68.907 13.32 69.007 7.5 69.135.074 74.323-.132 80.42.031z"></path><path id="Frame" d="M13.197 4.927c-3.412.191-7.31.237-10.507 1.712-3.385 1.562-3.908 5.1.36 5.587 1.92.22 3.845-.143 5.737-.481 1.55-.277 3.655-.187 5.12-.78 2.729-1.103 2.553-6.225-.71-6.038m99.538 0c3.412.191 7.31.237 10.507 1.712 3.384 1.562 3.907 5.1-.36 5.587-1.921.22-3.845-.143-5.738-.481-1.55-.277-3.654-.187-5.119-.78-2.73-1.103-2.554-6.225.71-6.038M73.11 7.013c-1.947-2.3-7.019-3.628-10.219-3.628s-8.123 1.328-10.069 3.628c-.981 1.16-1.015 2.711.686 3.438 2.118.906 4.01-.737 5.705-1.596 2.168-1.098 5.499-.978 7.506 0 1.708.833 3.586 2.502 5.704 1.596 1.701-.727 1.668-2.279.686-3.438"></path></g></g></g>',1),Vm=[Am];function _m(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Vm])}const Nm={render:_m},Dm={Blank:lm,Prescription01:um,Round:pm,Wayfarers:xm,Kurt:Em,Prescription02:Bm,Sunglasses:Nm},Tm=t.createStaticVNode('<g id="Clothing/Blazer-+-Shirt" transform="translate(0 170)"><defs><path id="BlazerShirt-path1" d="M133.96.295c36.976 3.03 66.04 34 66.04 71.757V81H0v-8.948C0 33.952 29.592 2.765 67.045.22Q67 .78 67 1.348c0 11.863 14.998 21.48 33.5 21.48S134 13.211 134 1.348q0-.53-.04-1.053"></path></defs><g id="Shirt" transform="translate(32 29)"><mask id="BlazerShirt-mask1" fill="#fff"><use href="#BlazerShirt-path1"></use></mask><use fill="#E6E6E6" class="CustomColor" href="#BlazerShirt-path1"></use><g id="Color/Palette/Black" fill="#262E33" mask="url('#BlazerShirt-mask1')"><path id="Color" d="M0 0h264v110H0z" transform="translate(-32 -29)"></path></g><g id="Shadowy" fill="#000" mask="url('#BlazerShirt-mask1')" opacity=".16"><ellipse id="Hola" cx="40.5" cy="27.848" rx="39.635" ry="26.914" transform="translate(60 -25)"></ellipse></g></g><g id="Blazer" transform="translate(32 28)"><path id="Saco" fill="#3A4C5A" d="M68.785 1.122C30.512 2.804 0 34.365 0 73.052V82h69.362C65.96 69.92 64 55.709 64 40.5c0-14.327 1.74-27.769 4.785-39.378M131.638 82H200v-8.948c0-38.345-29.975-69.69-67.771-71.878C135.265 12.77 137 26.194 137 40.5c0 15.209-1.96 29.42-5.362 41.5"></path><path id="Pocket-hanky" fill="#E6E6E6" d="m149 58 9.556-7.167a4 4 0 0 1 4.856.043L170 56z"></path><path id="Wing" fill="#2F4351" d="M69 0q-6 29 5 82H58L44 46l6-9-6-6L63 1q3.042-.945 6-1"></path><path id="Wing" fill="#2F4351" d="M151 0q-6 29 5 82h-16l-14-36 6-9-6-6 19-30q3.042-.945 6-1" transform="matrix(-1 0 0 1 282 0)"></path></g></g>',1),Pm=[Tm];function Om(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Pm])}const Fm={render:Om},Lm=t.createStaticVNode('<g id="Clothing/Blazer-+-Sweater" transform="translate(0 170)"><defs><path id="BlazerSweater-path1" d="M105.192 29.052H104c-39.765 0-72 32.235-72 72V110h200v-8.948c0-39.765-32.235-72-72-72h-1.192q.191 1.475.192 3c0 13.807-12.088 25-27 25s-27-11.193-27-25q0-1.525.192-3"></path></defs><mask id="BlazerSweater-mask1" fill="#fff"><use href="#BlazerSweater-path1"></use></mask><use fill="#E6E6E6" class="CustomColor" href="#BlazerSweater-path1"></use><g id="Color/Palette/Black" fill="#262E33" mask="url('#BlazerSweater-mask1')"><path id="Color" d="M0 0h264v110H0z"></path></g><g id="Blazer" transform="translate(32 28)"><path id="Saco" fill="#3A4C5A" d="M68.785 1.122C30.512 2.804 0 34.365 0 73.052V82h69.362C65.96 69.92 64 55.709 64 40.5c0-14.327 1.74-27.769 4.785-39.378M131.638 82H200v-8.948c0-38.345-29.975-69.69-67.771-71.878C135.265 12.77 137 26.194 137 40.5c0 15.209-1.96 29.42-5.362 41.5"></path><path id="Pocket-hanky" fill="#E6E6E6" d="m149 58 9.556-7.167a4 4 0 0 1 4.856.043L170 56z"></path><path id="Wing" fill="#2F4351" d="M69 0q-6 29 5 82H58L44 46l6-9-6-6L63 1q3.042-.945 6-1"></path><path id="Wing" fill="#2F4351" d="M151 0q-6 29 5 82h-16l-14-36 6-9-6-6 19-30q3.042-.945 6-1" transform="matrix(-1 0 0 1 282 0)"></path></g><path id="Collar" fill="#F2F2F2" d="M156 21.539c6.772 4.597 11 11.117 11 18.349 0 7.4-4.428 14.057-11.48 18.668l-5.94-4.68-4.58.332 1-3.151-.078-.061C152.022 47.853 156 42.7 156 36.876zm-48 0c-6.772 4.597-11 11.117-11 18.349 0 7.4 4.428 14.057 11.48 18.668l5.94-4.68 4.58.332-1-3.151.078-.061C111.978 47.853 108 42.7 108 36.876z"></path></g>',1),$m=[Lm];function Hm(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...$m])}const Rm={render:Hm},zm=t.createElementVNode("g",{id:"Clothing/Collar-+-Sweater",transform:"translate(0 170)"},[t.createElementVNode("defs",null,[t.createElementVNode("path",{id:"CollarSweater-path1",d:"M105.192 29.052H104c-39.765 0-72 32.235-72 72V110h200v-8.948c0-39.765-32.235-72-72-72h-1.192q.191 1.475.192 3c0 13.807-12.088 25-27 25s-27-11.193-27-25q0-1.525.192-3"})]),t.createElementVNode("use",{fill:"var(--avataaar-shirt-color)",class:"CustomColor",href:"#CollarSweater-path1"}),t.createElementVNode("path",{id:"Collar",fill:"#F2F2F2",d:"M156 22.28c6.182 4.555 10 10.826 10 17.748 0 7.205-4.137 13.705-10.771 18.3l-5.65-4.452-4.579.332 1-3.151-.078-.061C152.022 47.853 156 42.7 156 36.876zm-48-.709c-6.767 4.603-11 11.169-11 18.457 0 7.398 4.362 14.052 11.308 18.664l6.113-4.816 4.579.332-1-3.151.078-.061C111.978 47.853 108 42.7 108 36.876z"})],-1),Im=[zm];function Gm(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Im])}const jm={render:Gm},qm=t.createStaticVNode('<g id="Clothing/Hoodie" transform="translate(0 170)"><defs><path id="Hoodie-path1" d="M108 13.07c-17.919 2.006-31.72 7.482-31.996 21.575C50.146 45.568 32 71.165 32 100.999V110h200v-9c0-29.835-18.146-55.432-44.004-66.355-.276-14.093-14.077-19.57-31.996-21.574V32c0 13.255-10.745 24-24 24s-24-10.745-24-24z"></path></defs><mask id="Hoodie-mask1" fill="#fff"><use href="#Hoodie-path1"></use></mask><use fill="var(--avataaar-shirt-color)" class="CustomColor" href="#Hoodie-path1"></use><path id="Straps" fill="#F4F4F4" d="M102 61.74V110h-7V58.15a65 65 0 0 0 7 3.59m67-3.59V98.5a3.5 3.5 0 1 1-7 0V61.74a65 65 0 0 0 7-3.59" mask="url('#Hoodie-mask1')"></path><path id="Shadow" fill="#000" d="M90.96 12.724C75.91 15.571 65.5 21.243 65.5 32.308 65.5 52.02 98.538 68 132 68s66.5-15.98 66.5-35.692c0-11.065-10.41-16.737-25.46-19.584 9.085 3.35 14.96 8.982 14.96 18.353C188 51.469 160.179 68 132 68S76 51.469 76 31.077c0-9.37 5.875-15.003 14.96-18.353" mask="url('#Hoodie-mask1')" opacity=".16"></path></g>',1),Wm=[qm];function Ym(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Wm])}const Um={render:Ym},Xm=t.createElementVNode("g",{id:"Clothing/Graphic-Shirt",transform:"translate(0 170)"},[t.createElementVNode("defs",null,[t.createElementVNode("path",{id:"GraphicShirt-path1",d:"M165.624 29.268C202.76 32.138 232 63.18 232 101.052V110H32v-8.948c0-38.217 29.775-69.48 67.393-71.855A14 14 0 0 0 99 32.5C99 44.374 113.998 54 132.5 54S166 44.374 166 32.5c0-1.098-.128-2.178-.376-3.232"})]),t.createElementVNode("use",{fill:"#E6E6E6",class:"CustomColor",href:"#GraphicShirt-path1"})],-1),Zm=[Xm];function Qm(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Zm])}const Km={render:Qm},Jm=t.createStaticVNode('<g id="Clothing/Overall" transform="translate(0 170)"><defs><path id="Overall-path1" d="M94 29.688V74h76V29.688a71.5 71.5 0 0 1 26 8.944V110H68V38.632a71.5 71.5 0 0 1 26-8.944"></path></defs><use fill="var(--avataaar-shirt-color)" class="CustomColor" href="#Overall-path1"></use><circle id="Button" cx="81" cy="83" r="5" fill="#F4F4F4"></circle><circle id="Button" cx="183" cy="83" r="5" fill="#F4F4F4"></circle></g>',1),ef=[Jm];function tf(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...ef])}const af={render:tf},nf=t.createStaticVNode('<g id="Clothing/Shirt-Crew-Neck" transform="translate(0 170)"><defs><path id="ShirtCrewNeck-path1" d="M165.96 29.295c36.976 3.03 66.04 34 66.04 71.757V110H32v-8.948c0-38.1 29.592-69.287 67.045-71.832Q99 29.78 99 30.348c0 11.863 14.998 21.48 33.5 21.48s33.5-9.617 33.5-21.48q0-.53-.04-1.053"></path></defs><mask id="ShirtCrewNeck-mask1" fill="#fff"><use href="#ShirtCrewNeck-path1"></use></mask><use fill="var(--avataaar-shirt-color)" class="CustomColor" href="#ShirtCrewNeck-path1"></use><g id="Shadowy" fill="#000" mask="url('#ShirtCrewNeck-mask1')" opacity=".16"><ellipse id="Hola" cx="40.5" cy="27.848" rx="39.635" ry="26.914" transform="translate(92 4)"></ellipse></g></g>',1),rf=[nf];function of(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...rf])}const lf={render:of},sf=t.createElementVNode("g",{id:"Clothing/Shirt-V-Neck",transform:"translate(0 170)"},[t.createElementVNode("defs",null,[t.createElementVNode("path",{id:"ShirtVNeck-path1",d:"M171.32 29.936C205.706 35.366 232 65.14 232 101.052V110H32v-8.948c0-35.914 26.294-65.686 60.682-71.116a23.9 23.9 0 0 0 7.554 13.603l29.085 26.229a4 4 0 0 0 5.358 0l29.085-26.229a24 24 0 0 0 1.234-1.196 23.9 23.9 0 0 0 6.322-12.407"})]),t.createElementVNode("use",{fill:"var(--avataaar-shirt-color)",class:"CustomColor",href:"#ShirtVNeck-path1"})],-1),cf=[sf];function df(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...cf])}const uf={render:df},mf=t.createElementVNode("g",{id:"Clothing/Shirt-Scoop-Neck",transform:"translate(0 170)"},[t.createElementVNode("defs",null,[t.createElementVNode("path",{id:"ShirtScoopNeck-path1",d:"M181.544 32.33C210.784 41.488 232 68.792 232 101.052V110H32v-8.948c0-32.655 21.739-60.232 51.534-69.05A18 18 0 0 0 83 36.348c0 16.281 22.162 29.48 49.5 29.48S182 52.629 182 36.348c0-1.363-.155-2.704-.456-4.018"})]),t.createElementVNode("use",{fill:"var(--avataaar-shirt-color)",class:"CustomColor",href:"#ShirtScoopNeck-path1"})],-1),ff=[mf];function hf(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...ff])}const pf={render:hf},gf={BlazerShirt:Fm,CollarSweater:jm,BlazerSweater:Rm,Hoodie:Um,GraphicShirt:Km,Overall:af,ShirtCrewNeck:lf,ShirtVNeck:uf,ShirtScoopNeck:pf},yf=t.createStaticVNode('<g id="Top"><defs><path id="Eyepatch-path1" d="M0 0h264v280H0z"></path></defs><mask id="Eyepatch-mask1" fill="#fff"><use href="#Eyepatch-path1"></use></mask><g id="Top/Accesories/Eyepatch" mask="url('#Eyepatch-mask1')"><path fill="#28354B" d="M159.395 39.781c-3.077-3.088-6.276 3.858-7.772 5.647-3.61 4.32-7.083 8.755-10.755 13.024-7.252 8.43-14.429 16.922-21.634 25.388-1.094 1.286-.961 1.425-2.397 1.549-.951.082-2.274-.409-3.263-.463-2.75-.151-5.462.309-8.138.897-5.345 1.173-11.01 3.106-15.647 6.075-1.217.78-2.002 1.7-3.322 1.943-1.149.212-2.673-.211-3.845-.322-2.08-.195-5.084-1.046-7.127-.605-2.592.56-3.578 3.697-.935 5.086 2.01 1.056 6.01.476 8.264.645 2.573.192 1.788.06 1.423 2.52-.523 3.533.352 7.481 1.842 10.713 3.46 7.505 13.034 15.457 21.766 14.725 7.287-.61 13.672-7.19 16.664-13.503 1.532-3.231 2.436-6.908 2.731-10.472.189-2.266.084-4.67-.566-6.865-.321-1.085-.83-2.208-1.376-3.193-.442-.799-2.4-2.65-2.52-3.453-.232-1.557 4.185-5.73 5.028-6.773 3.973-4.916 7.964-9.812 11.906-14.755 3.881-4.869 7.784-9.725 11.768-14.51 1.804-2.17 10.828-10.364 7.905-13.298" class="CustomColor"></path></g></g>',1),kf=[yf];function xf(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...kf])}const bf={render:xf},wf=t.createStaticVNode('<g id="Top"><defs><path id="LongHairMiaWallace-path1" d="M0 0h264v280H0z"></path><path id="LongHairMiaWallace-path2" d="M148.86 69q.14 1.982.14 4v38c0 22.34-13.08 41.623-32 50.611v8.706c18.146 1.499 35.721 4.018 46 6.683 9.953-13.56 22.885-26.2 23-51 .085-18.985-27.676-95.572-40-111-8.138-10.188-28.695-13.55-53-14S48.923 6.509 41 16C30.319 28.795-.085 107.015 0 126c.116 24.8 13.048 37.44 23 51 10.279-2.665 27.854-5.184 46-6.683v-8.706C50.08 152.623 37 133.339 37 111V73q0-2.018.14-4h28.234l3.879-21.444L72.058 69h76.801Z"></path></defs><mask id="LongHairMiaWallace-mask1" fill="#fff"><use href="#LongHairMiaWallace-path1"></use></mask><g id="Top/Long-Hair/Mia-Wallace" mask="url('#LongHairMiaWallace-mask1')"><g transform="translate(-1)"><path id="Shadow" fill="#000" d="M69.033 76.213q19.407-49.626 41.025-49.626c.539 0 29.253-.238 48.055-.36C178.767 35.585 193 55.304 193 78.115V93h-82.942l-2.805-23.18-3.88 23.18H69V78.115q0-.955.033-1.902" opacity=".16"></path><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairMiaWallace-path2" transform="translate(40 19)"></use></g></g></g>',1),vf=[wf];function Ef(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...vf])}const Cf={render:Ef},Sf=t.createStaticVNode('<g id="Top"><defs><path id="ShortHairShortCurly-path2" d="M0 0h264v280H0z"></path><path id="ShortHairShortCurly-path1" d="M94.252 52.022q.185-.081-.916-.062 1.338-.003.916.062m-8.135-15.72c-.002-.02.017.15 0 0m107.648 34.464c-.264-3.317-.732-6.614-1.518-9.855-.625-2.576-1.478-5.033-2.487-7.491-.61-1.485-2.032-3.524-2.2-5.126-.165-1.577 1.067-3.325 1.33-5.162a16 16 0 0 0-.156-5.438c-.833-4.023-3.594-7.764-7.857-8.813-.952-.234-2.964.055-3.636-.5-.771-.635-1.308-2.8-2.006-3.669-1.99-2.476-5.095-4.07-8.37-3.514-2.41.409-1.026.907-2.833-.512-1.005-.788-1.756-1.993-2.732-2.847-1.467-1.283-3.15-2.38-4.892-3.282-4.557-2.358-9.754-4.072-14.844-4.908-9.285-1.524-19.195-.195-28.195 2.22-4.479 1.201-8.987 2.726-13.147 4.743-1.783.864-2.813 1.582-4.673 1.808-2.928.357-5.409.339-8.183 1.581-8.536 3.822-12.381 12.689-9.06 21.174a14.6 14.6 0 0 0 2.82 4.584c1.521 1.68 2.072 1.35.762 3.282a53 53 0 0 0-4.955 9.172c-3.529 8.402-4.12 17.864-3.89 26.824.081 3.137.216 6.313.71 9.42.214 1.344.274 3.872 1.282 4.87.512.506 1.241.788 1.969.587 1.71-.474 1.121-1.735 1.161-2.906.2-5.884-.07-11.089 1.33-16.902 1.033-4.294 2.755-8.195 4.988-12.035 2.838-4.884 5.903-9.173 9.807-13.355.917-.984 1.118-1.4 2.349-1.472.932-.054 2.295.584 3.2.805 1.999.487 4 .968 6.034 1.296 3.74.603 7.444.644 11.217.525 7.426-.232 14.885-.753 22.085-2.623 4.782-1.242 9.022-3.47 13.602-5.105.082-.029 1.23-.847 1.43-.814.282.047 1.978 1.826 2.264 2.05 2.226 1.746 4.667 2.479 7.07 3.83 2.964 1.667.094-.718 1.728 1.359.477.605.72 1.726 1.103 2.411a18.1 18.1 0 0 0 4.93 5.624c1.956 1.47 4.894 2.18 5.891 4.095.769 1.477 1.028 3.484 1.648 5.06 1.628 4.136 3.777 7.992 5.926 11.887 1.732 3.14 3.625 5.881 3.818 9.468.067 1.248-1.121 8.737 1.773 6.46.429-.338 1.353-4.156 1.543-4.804.772-2.633 1.046-5.381 1.395-8.086.694-5.38.923-10.498.47-15.916"></path></defs><mask id="ShortHairShortCurly-mask2" fill="#fff"><use href="#ShortHairShortCurly-path2"></use></mask><g id="Top/Short-Hair/Short-Curly" mask="url('#ShortHairShortCurly-mask2')"><use fill="var(--avataaar-hair-color)" class="CustomColor" href="#ShortHairShortCurly-path1" transform="translate(-1)"></use></g></g>',1),Mf=[Sf];function Bf(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Mf])}const Af={render:Bf},Vf=t.createStaticVNode('<g id="Top"><defs><path id="Hat-path2" d="M0 0h264v280H0z"></path><path id="Hat-path1" d="M156 180.611c17.53-8.328 30.048-25.496 31.791-45.744C193.57 134.002 198 129.02 198 123v-13c0-5.946-4.325-10.882-10-11.834V92a55.8 55.8 0 0 0-4.638-22.35C173.435 53 89.312 53.802 80.71 69.484A55.8 55.8 0 0 0 76 92v6.166c-5.675.952-10 5.888-10 11.834v13c0 6.019 4.43 11.002 10.209 11.867 1.743 20.248 14.26 37.416 31.791 45.744V199h-4c-39.765 0-72 32.235-72 72v9h200v-9c0-39.765-32.235-72-72-72h-4zM0 0h264v280H0z"></path></defs><mask id="Hat-mask1" fill="#fff"><use href="#Hat-path2"></use></mask><g id="Top/Accesories/Hat" mask="url('#Hat-mask1')"><g transform="translate(-1)"><g id="Hat" transform="translate(1)"><mask id="Hat-mask2" fill="#fff"><use href="#Hat-path1"></use></mask><path fill="var(--avataaar-top-color)" d="M123.182 2h18.636c18.791 0 35.049 13.08 39.072 31.436L190 75H75l9.11-41.564C88.133 15.08 104.39 2 123.182 2" mask="url('#Hat-mask2')" style="fill-opacity:.6;"></path><ellipse id="Hipster" cx="132" cy="87.5" fill="var(--avataaar-top-color)" mask="url('#Hat-mask2')" rx="122" ry="57.5"></ellipse><ellipse id="Hipster" cx="132" cy="87.5" fill="#2e2e2e" mask="url('#Hat-mask2')" rx="122" ry="57.5" style="fill-opacity:.1;"></ellipse><ellipse id="Very" cx="132" cy="82" fill="var(--avataaar-top-color)" mask="url('#Hat-mask2')" rx="62" ry="25"></ellipse><ellipse id="Very" cx="132" cy="82" fill="#2e2e2e" mask="url('#Hat-mask2')" rx="62" ry="25" style="fill-opacity:.5;"></ellipse></g></g></g></g>',1),_f=[Vf];function Nf(e,a){return t.openBlock(),t.createElementBlock("svg",null,[..._f])}const Df={render:Nf},Tf=t.createStaticVNode('<g id="Top"><defs><path id="LongHairNotTooLong-path1" d="M0 0h264v280H0z"></path><path id="LongHairNotTooLong-path2" d="M59 102.34V182a8 8 0 0 0 8 8h42v-9.389c-17.53-8.328-30.048-25.496-31.791-45.744C71.43 134.002 67 129.02 67 123v-13c0-3.49 1.49-6.633 3.87-8.826 11.539-2.619 24.1-7.536 36.472-14.679 12.131-7.004 22.502-15.237 30.479-23.743q-5.14 11.862-12.449 20.783 19.013-8.285 25.892-26.639.565 1.383 1.18 2.762c10.256 23.035 27.874 39.36 45.762 44.745.513 2.11.794 4.08.794 5.597v13c0 6.019-4.43 11.002-10.209 11.867-1.743 20.248-14.26 37.416-31.791 45.744V190h18c17.673 0 32-14.327 32-32v-54.125q0-.1-.028-.26-.216-18.391-.612-21.39C201.577 45.977 170.556 18 133 18c-36.085 0-66.137 25.828-73 60-5.523 0-10 5.596-10 12.5 0 4.55 1.695 8.643 4.853 10.773.905.61 2.47.925 4.147 1.067"></path></defs><mask id="LongHairNotTooLong-mask1" fill="#fff"><use href="#LongHairNotTooLong-path1"></use></mask><g id="Top/Long-Hair/Long-but-not-too-long" mask="url('#LongHairNotTooLong-mask1')"><g transform="translate(-1)"><use id="Behind" fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairNotTooLong-path2"></use><g id="Top" opacity=".16" transform="translate(50 18)"><path id="Combined-Shape" fill="#FFF" d="M11.899 84.775c13.812-1.76 29.78-7.237 45.443-16.28 12.131-7.004 22.502-15.237 30.479-23.743q-5.14 11.862-12.449 20.783 19.013-8.285 25.892-26.639.565 1.383 1.18 2.762C114.382 68.471 136.296 86.194 157 88.151V74c0-40.87-33.13-74-74-74-36.085 0-66.137 25.828-72.679 60.006A8 8 0 0 0 10 60C4.477 60 0 65.596 0 72.5c0 6.482 3.947 11.811 9 12.438v.155q.474-.044.953-.093a8.2 8.2 0 0 0 1.946-.225"></path></g></g></g></g>',1),Pf=[Tf];function Of(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Pf])}const Ff={render:Of},Lf=t.createStaticVNode('<g id="Top"><defs><path id="ShortHairShortFlat-path2" d="M0 0h264v280H0z"></path><path id="ShortHairShortFlat-path1" d="M180.15 39.92c-2.76-2.82-5.964-5.213-9.08-7.613-.688-.53-1.387-1.046-2.06-1.595-.152-.125-1.718-1.246-1.905-1.659-.451-.993-.19-.22-.128-1.404.079-1.498 3.134-5.73.854-6.7-1.003-.427-2.791.709-3.753 1.084a60 60 0 0 1-5.731 1.9c.932-1.857 2.708-5.574-.631-4.579-2.602.775-5.026 2.768-7.64 3.705.865-1.417 4.324-5.811 1.198-6.057-.972-.076-3.803 1.748-4.85 2.138-3.137 1.165-6.34 1.92-9.634 2.513-11.198 2.018-24.293 1.442-34.653 6.54-7.988 3.93-15.874 10.029-20.489 17.795-4.447 7.485-6.11 15.676-7.041 24.253-.683 6.295-.739 12.802-.42 19.119.105 2.07.338 11.61 3.345 8.721 1.498-1.44 1.487-7.253 1.864-9.22.751-3.916 1.474-7.848 2.726-11.638 2.206-6.68 4.809-13.793 10.305-18.393 3.527-2.952 6.004-6.941 9.379-9.919 1.516-1.337.36-1.198 2.797-1.022 1.638.117 3.282.162 4.923.205 3.796.099 7.598.074 11.395.087 7.647.028 15.258.136 22.898-.265 3.395-.177 6.799-.274 10.185-.588 1.891-.175 5.247-1.387 6.804-.461 1.425.847 2.905 3.615 3.928 4.748 2.418 2.679 5.3 4.724 8.126 6.92 5.895 4.58 8.87 10.332 10.66 17.488 1.784 7.13 1.284 13.745 3.491 20.762.389 1.233 1.416 3.36 2.682 1.454.235-.354.175-2.3.175-3.42 0-4.52 1.144-7.91 1.13-12.46-.056-13.832-.504-31.868-10.85-42.439"></path></defs><mask id="ShortHairShortFlat-mask2" fill="#fff"><use href="#ShortHairShortFlat-path2"></use></mask><g id="Top/Short-Hair/Short-Flat" mask="url('#ShortHairShortFlat-mask2')"><use fill="var(--avataaar-hair-color)" class="CustomColor" href="#ShortHairShortFlat-path1" transform="translate(-1)"></use></g></g>',1),$f=[Lf];function Hf(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...$f])}const Rf={render:Hf},zf=t.createStaticVNode('<g id="Top"><defs><path id="Hijab-path1" d="M0 0h264v280H0z"></path><path id="Hijab-path2" d="M66.042 77.075C71.68 45.205 99.513 21 133 21c37.555 0 68 30.445 68 68v30.751q1.313 14.705 2.456 20.603c1.377 7.104 5.694 4.761 5.694 14.866s-4.328 13.5-4.347 22.485c-.019 8.986 15.397 16.131 15.397 27.538s-7.074 65.233-77.622 65.233q-22.605 0-38.51-12.862Q105.091 267.349 106 280H59c.932-23.771-7.284-37.064-7.284-63.554S65.353 151.428 65 142q.03-.873.062-2.068A69 69 0 0 1 65 137V89c0-3.976.341-7.872.996-11.661L66 77zM132.5 53C102.4 53 78 77.4 78 107.5v23c0 30.1 24.4 54.5 54.5 54.5h1c30.1 0 54.5-24.4 54.5-54.5v-23c0-30.1-24.4-54.5-54.5-54.5z"></path></defs><mask id="Hijab-mask1" fill="#fff"><use href="#Hijab-path1"></use></mask><g id="Top/Accesories/Hijab" mask="url('#Hijab-mask1')"><g transform="translate(-1)"><mask id="Hijab-mask2" fill="#fff"><use href="#Hijab-path2"></use></mask><use fill="var(--avataaar-top-color)" class="CustomColor" href="#Hijab-path2"></use><path id="Band" fill="#FFF" stroke="none" d="M72.074 104.96A61.4 61.4 0 0 1 71 93.5C71 59.534 98.758 32 133 32s62 27.534 62 61.5c0 3.916-.369 7.747-1.074 11.46C192.34 72.683 165.67 47 133 47s-59.341 25.683-60.926 57.96" mask="url('#Hijab-mask2')" opacity=".5"></path><path id="Shadows" fill="#000" stroke="none" d="M187.93 104.695A55 55 0 0 1 189 115.5v23c0 30.1-24.4 54.5-54.5 54.5h-3c-30.1 0-54.5-24.4-54.5-54.5v-23c0-3.7.369-7.312 1.07-10.805Q78 106.089 78 107.5v23c0 30.1 24.4 54.5 54.5 54.5h1c30.1 0 54.5-24.4 54.5-54.5v-23q0-1.41-.07-2.805m-73.763 102.3c6.484 4.986 21.496 6.713 38.238 3.761 16.74-2.951 30.257-9.71 34.645-16.612q.102.379.171.767c1.71 9.695-13.236 20.434-33.38 23.987-20.146 3.552-37.863-1.428-39.573-11.123a9 9 0 0 1-.101-.78m11.868 28.926c8.192 5.654 24.387 5.923 41.069-.149s28.915-16.687 31.556-26.284q.215.48.396.98c4.527 12.436-8.077 28.441-28.151 35.748s-40.017 3.147-44.544-9.29q-.181-.498-.326-1.005" mask="url('#Hijab-mask2')" opacity=".16"></path></g></g></g>',1),If=[zf];function Gf(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...If])}const jf={render:Gf},qf=t.createStaticVNode('<g id="Top"><defs><path id="LongHairShavedSides-path2" d="M0 0h264v280H0z"></path><path id="LongHairShavedSides-path3" d="M156 180.611c17.53-8.328 30.048-25.496 31.791-45.744C193.57 134.002 198 129.02 198 123v-13c0-5.946-4.325-10.882-10-11.834V92c0-30.928-25.072-56-56-56S76 61.072 76 92v6.166c-5.675.952-10 5.888-10 11.834v13c0 6.019 4.43 11.002 10.209 11.867 1.743 20.248 14.26 37.416 31.791 45.744V199h-4c-39.765 0-72 32.235-72 72v9h200v-9c0-39.765-32.235-72-72-72h-4zM0 0h264v280H0z"></path><path id="LongHairShavedSides-path1" d="M65.18 77.737c2.183-1.632 15.227-2.258 17.578-3.648.734-.434 1.303-.873 1.742-1.309.439.436 1.009.875 1.742 1.31 2.351 1.389 15.395 2.015 17.578 3.647 2.21 1.654 3.824 5.448 3.647 8.414-.212 3.56-4.106 12.052-13.795 13.03-2.114-2.353-5.435-3.87-9.172-3.87s-7.058 1.517-9.172 3.87c-9.69-.978-13.583-9.47-13.795-13.03-.176-2.966 1.437-6.76 3.647-8.414m.665 17.164.017.007zm79.018-38.916c-.389-5.955-1.585-11.833-2.629-17.699-.281-1.579-1.81-12.286-2.5-12.286-.232 9.11-1.032 18.08-2.064 27.14-.309 2.708-.632 5.416-.845 8.134-.171 2.196.135 4.848-.397 6.972-.679 2.706-4.08 5.232-6.725 6.165-6.6 2.326-12.105-7.303-17.742-10.12-7.318-3.656-19.897-4.527-27.38.239-7.645-4.766-20.224-3.895-27.542-.239-5.637 2.817-11.142 12.446-17.742 10.12-2.645-.933-6.047-3.459-6.725-6.165-.532-2.124-.226-4.776-.397-6.972-.213-2.718-.536-5.426-.845-8.135C30.298 44.08 29.497 35.11 29.265 26c-.689 0-2.218 10.707-2.5 12.286-1.043 5.866-2.24 11.744-2.627 17.7-.4 6.119.077 12.181 1.332 18.177a165 165 0 0 0 2.049 8.541c.834 3.143-.32 9.262.053 12.488.707 6.104 3.582 18.008 6.811 23.259 1.561 2.538 3.39 4.123 5.433 6.168 1.967 1.97 2.788 5.021 4.91 7.118 3.956 3.908 9.72 6.234 15.64 6.806C65.677 143.05 74.506 146 84.5 146s18.823-2.95 24.135-7.457c5.919-.572 11.683-2.898 15.64-6.806 2.121-2.097 2.942-5.149 4.909-7.118 2.042-2.045 3.872-3.63 5.433-6.168 3.229-5.251 6.104-17.155 6.81-23.259.374-3.226-.78-9.345.054-12.488.75-2.828 1.45-5.676 2.05-8.54 1.254-5.997 1.73-12.06 1.332-18.179"></path><rect id="LongHairShavedSides-path4" width="112" height="150" x="0" y="0" rx="56"></rect></defs><mask id="LongHairShavedSides-mask2" fill="#fff"><use href="#LongHairShavedSides-path2"></use></mask><g id="Top/Long-Hair/Shaved-Sides" mask="url('#LongHairShavedSides-mask2')"><g transform="translate(-1)"><g id="Behind" fill="none" transform="translate(1)"><mask id="LongHairShavedSides-mask3" fill="#fff"><use href="#LongHairShavedSides-path3"></use></mask><path fill="var(--avataaar-hair-color)" d="M116.18 40H146c25.405 0 46 20.595 46 46v68.109c0 26.541 18.759 50.24 30.61 71.943s-7.355 42.19-26.84 50.717A38.5 38.5 0 0 1 180.332 280h-45.068c-56.352 0-65.046-63.69-67.566-133.496l2.52-62.36C71.213 59.48 91.497 40 116.179 40Z" class="CustomColor" mask="url('#LongHairShavedSides-mask3')"></path></g><g id="Top" fill="none" transform="translate(77 36)"><mask id="LongHairShavedSides-mask1" fill="#fff"><use href="#LongHairShavedSides-path4"></use></mask><path id="Shadow" fill="#000" d="M98.801 19.94C107.027 29.484 112 41.91 112 55.5v10-4c0-15.74-6.672-29.92-17.342-39.87q-46.107 16.57-77.717.378C6.505 31.937 0 45.958 0 61.5v4-10c0-13.607 4.987-26.05 13.233-35.6-3.834-3.04-4.974-11.713 6.234-15.023 11.845-3.499 9.84-18.079 27.99-20.803C65.61-18.65 63.972-11.375 81.03-12.35c17.057-.974 22.607-16.763 25.82-12.724 12.74 16.01 9.572 34.414-8.048 45.014Z" mask="url('#LongHairShavedSides-mask1')" opacity=".16"></path></g><path fill="#E0C863" d="M90.878 52.361q33.225 19.299 83.366 0c14.53-7.772 25.087-23.319 8.707-43.398-2.169-2.658-10.707 6.713-27.6 7.687s-13.271-3.3-31.248-.576-15.991 17.304-27.722 20.803c-11.73 3.498-9.803 12.987-5.503 15.484" class="CustomColor"></path></g></g></g>',1),Wf=[qf];function Yf(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Wf])}const Uf={render:Yf},Xf=t.createStaticVNode('<g id="Top"><defs><path id="ShortHairShortRound-path2" d="M0 0h264v280H0z"></path><path id="ShortHairShortRound-path1" d="M167.309 35.006c-20.188-11.7-40.18-9.784-55.272-5.976s-24.02 14.621-31.68 30.618c-3.761 7.855-5.991 17.143-6.334 25.833-.135 3.412.325 6.934 1.245 10.22.337 1.205 2.155 5.386 2.654 2.008.167-1.125-.442-2.676-.5-3.871-.078-1.569.005-3.157.112-4.723.2-2.928.722-5.8 1.65-8.59 1.328-3.988 3.017-8.312 5.603-11.677 6.401-8.327 17.482-8.802 26.28-13.384-.764 1.405-3.707 3.68-2.688 5.263.705 1.094 3.37.762 4.643.727 3.349-.092 6.713-.674 10.02-1.147 5.214-.745 10.099-2.255 15.005-4.089 4.016-1.502 8.603-2.892 11.622-6.078 4.87 5.048 11.14 9.795 17.401 13.003 5.618 2.88 14.679 4.318 18.113 10.158 4.065 6.914 2.195 15.406 3.436 22.9.472 2.85 1.545 2.786 2.132.237.997-4.33 1.468-8.828 1.151-13.279-.718-10.048-4.405-36.453-24.593-48.153"></path></defs><mask id="ShortHairShortRound-mask2" fill="#fff"><use href="#ShortHairShortRound-path2"></use></mask><g id="Top/Short-Hair/Short-Round" mask="url('#ShortHairShortRound-mask2')"><use fill="var(--avataaar-hair-color)" class="CustomColor" href="#ShortHairShortRound-path1" transform="translate(-1)"></use></g></g>',1),Zf=[Xf];function Qf(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Zf])}const Kf={render:Qf},Jf=t.createStaticVNode('<g id="Top"><defs><path id="LongHairBigHair-path1" d="M0 0h264v280H0z"></path><path id="LongHairBigHair-path2" d="M222.385 182.806c-5.374 5.712-10.737 9.322-10.554 15.194.317 11.889 43.608 47.051 5.169 69H16.005c-38.439-21.949 4.852-57.111 5.17-69 .182-5.872-5.18-9.482-10.555-15.194C5.247 177.094-.137 169.28.003 155c.941-29.028 31.369-26.412 31.2-46 .169-19-11.39-26.84 0-63C42.84 9.54 72.917.768 116.003.016V0l.5.008.5-.008v.016c43.086.752 73.163 9.523 84.8 45.984 11.388 36.16-.17 44 0 63-.17 19.588 30.258 16.972 31.2 46 .14 14.28-5.245 22.094-10.618 27.806m-39.501-87.481c-21.52-11.588-39.994-28.18-52.038-47.023C112.764 73.924 76.53 78.535 51.224 94.68A12 12 0 0 0 51 97v13c0 6.019 4.43 11.002 10.209 11.867 1.743 20.248 14.26 37.416 31.791 45.744V186h-4c-39.765 0-72 32.235-72 72v9h200v-9c0-39.765-32.235-72-72-72h-4v-18.389c17.53-8.328 30.048-25.496 31.791-45.744C178.57 121.002 183 116.02 183 110V97q-.001-.853-.116-1.675"></path><path id="LongHairBigHair-path3" d="M222.385 182.806c-5.374 5.712-10.737 9.322-10.554 15.194.317 11.889 43.608 47.051 5.169 69H16.005c-38.439-21.949 4.852-57.111 5.17-69 .182-5.872-5.18-9.482-10.555-15.194C5.247 177.094-.137 169.28.003 155c.941-29.028 31.369-26.412 31.2-46 .169-19-11.39-26.84 0-63C42.84 9.54 72.917.768 116.003.016V0l.5.008.5-.008v.016c43.086.752 73.163 9.523 84.8 45.984 11.388 36.16-.17 44 0 63-.17 19.588 30.258 16.972 31.2 46 .14 14.28-5.245 22.094-10.618 27.806M93 186h-4c-39.765 0-72 32.235-72 72v9h200v-9c0-39.765-32.235-72-72-72h-4v-46H93z"></path></defs><mask id="LongHairBigHair-mask2" fill="#fff"><use href="#LongHairBigHair-path1"></use></mask><g id="Top/Long-Hair/Big-Hair" mask="url('#LongHairBigHair-mask2')"><g transform="translate(-1)"><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairBigHair-path2" transform="translate(16 13)"></use><g id="Shadow" fill="none" transform="translate(16 13)"><mask id="LongHairBigHair-mask1" fill="#fff"><use href="#LongHairBigHair-path3"></use></mask><path id="Shadow-Mask" fill="#000" d="M30.099 115.057c-2.374 3.026-5.57 7.471-5.737 7.137 1.873-2.383 3.013-5.182 2.979-8.758.177-18.101-11.904-25.569 0-60.017.669-1.91 1.766-3.715 3.245-5.414-10.343 34.454.783 42.35.617 60.995.02 2.295-.38 4.285-1.104 6.057m172.32-67.052c1.48 1.7 2.577 3.504 3.245 5.414 10.158 29.394 2.852 39.144.6 52.617-.3.805-.069 1.754-.384 2.567-30.673-10.458-58.29-30.043-74.385-52.991-22.784 29.424-73.14 29.761-97.821 55.324.387-.544.754-1.051 1.084-1.49 22.536-29.919 73.489-29.122 96.088-61.144 15.398 24.088 41.818 44.648 71.163 55.625.301-.854.08-1.85.367-2.694 2.108-13.833 8.84-23.926.043-53.228" mask="url('#LongHairBigHair-mask1')" opacity=".16"></path></g><path id="Light" fill="#FFF" d="M50.758 122.446c22.536-29.919 73.489-29.122 96.088-61.144 15.398 24.088 41.818 44.648 71.163 55.625.301-.854.08-1.85.367-2.694 2.155-14.144 9.144-24.378-.573-55.233-11.637-36.46-41.714-45.232-84.8-45.984l-1-.016c-43.086.768-73.163 9.54-84.8 46-11.39 36.16.169 44 0 63 .032 3.753-1.059 6.691-2.85 9.193.183.402 4.153-5.756 6.405-8.747" opacity=".1"></path></g></g></g>',1),eh=[Jf];function th(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...eh])}const ah={render:th},nh=t.createStaticVNode('<g id="Top"><defs><path id="LongHairStraight-path1" d="M0 0h264v280H0z"></path><path id="LongHairStraight-path2" d="M133.506 81.335A12 12 0 0 1 140 92v13c0 6.019-4.43 11.002-10.209 11.867-1.743 20.248-14.26 37.416-31.791 45.744V181h4c17.49 0 33.525 6.237 46 16.608V74c0-20.435-8.283-38.935-21.674-52.326S94.435 0 74 0C33.13 0 0 33.13 0 74v183.716c13.57-1.94 24-13.61 24-27.716v-45.577A72 72 0 0 1 46 181h4v-18.389a56.23 56.23 0 0 1-26-25.365v-61.98c9.147-2.975 18.778-7.249 28.342-12.77 15.403-8.894 28.09-19.555 36.724-30.099a87 87 0 0 0 7.044 15.488c8.768 15.186 21.114 26.349 33.89 32.032v.249q.6.1 1.18.26 1.162.484 2.326.91Z"></path></defs><mask id="LongHairStraight-mask1" fill="#fff"><use href="#LongHairStraight-path1"></use></mask><g id="Top/Long-Hair/Straight" mask="url('#LongHairStraight-mask1')"><g transform="translate(-1)"><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairStraight-path2" transform="translate(59 18)"></use><path id="Shadow" fill="#000" d="M192.506 99.335c4.869 1.773 9.757 2.737 14.494 2.813V92c0-20.435-8.283-38.935-21.674-52.326C198.717 53.065 207 71.565 207 92v123.608C194.525 205.237 178.49 199 161 199h-4v-18.389c17.53-8.328 30.048-25.496 31.791-45.744C194.57 134.002 199 129.02 199 123v-13a12 12 0 0 0-6.494-10.665m-2.326-.91a12 12 0 0 0-1.18-.26v-.248q.59.262 1.18.509ZM83 155.246a56.23 56.23 0 0 0 26 25.366V199h-4c-7.673 0-15.065 1.2-22 3.423z" opacity=".24"></path></g></g></g>',1),rh=[nh];function oh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...rh])}const ih={render:oh},lh=t.createStaticVNode('<g id="Top"><defs><path id="ShortHairShortWaved-path2" d="M0 0h264v280H0z"></path><path id="ShortHairShortWaved-path1" d="M183.68 38.949c5.406-4.95 6.707-14.987 3.638-21.5-3.769-7.995-11.417-8.997-18.746-5.48-6.908 3.315-13.057 4.419-20.622 2.813-7.258-1.541-14.144-4.26-21.647-4.706-12.325-.733-24.3 3.839-32.7 13.053-1.603 1.758-2.894 3.768-4.115 5.805-.976 1.63-2.077 3.38-2.493 5.258-.198.894.17 3.098-.275 3.83-.48.79-2.296 1.515-3.069 2.102-1.567 1.189-2.924 2.53-4.18 4.047-2.666 3.222-4.133 6.587-5.368 10.572-4.102 13.245-4.45 28.998.854 42.004.707 1.734 2.898 5.352 4.186 1.638.255-.734-.334-3.194-.333-3.935.005-2.72 1.506-20.729 8.047-30.817 2.13-3.284 11.973-15.58 13.984-15.68 1.065 1.693 11.88 12.51 39.942 11.242 12.662-.572 22.4-6.26 24.738-8.727 1.028 5.533 12.992 13.816 14.815 17.224 5.267 9.846 6.435 30.304 8.445 30.265s3.453-5.237 3.867-6.23c3.072-7.375 3.595-16.632 3.267-24.559-.427-10.202-4.638-21.226-12.235-28.22Z"></path></defs><mask id="ShortHairShortWaved-mask2" fill="#fff"><use href="#ShortHairShortWaved-path2"></use></mask><g id="Top/Short-Hair/Short-Waved" mask="url('#ShortHairShortWaved-mask2')"><use fill="var(--avataaar-hair-color)" class="CustomColor" href="#ShortHairShortWaved-path1" transform="translate(-1)"></use></g></g>',1),sh=[lh];function ch(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...sh])}const dh={render:ch},uh=t.createStaticVNode('<g id="Top"><defs><path id="LongHairBob-path1" d="M0 0h264v280H0z"></path><path id="LongHairBob-path2" d="M38 79.36V111c0 22.34 13.08 41.623 32 50.611v13.135c-19.637 2.688-35.359 7.418-46.615 6.254C9.162 179.53 1.496 150.796 1 126 .383 95.164 29.319 30.795 40 18 47.923 8.509 69.695.55 94 1s46.862 5.812 55 16c12.324 15.428 37.869 74.079 38 109 .094 24.8-9.537 49.66-23 51-11.08 1.103-26.524-1.489-46-3.003v-12.386c18.92-8.988 32-28.272 32-50.611V82.988q-14.282-7.286-25.846-17.647 4.812 7.944 10.46 13.532-40.526-11.37-64.473-38.528Q58.169 65.042 38 79.36"></path></defs><mask id="LongHairBob-mask1" fill="#fff"><use href="#LongHairBob-path1"></use></mask><g id="Top/Long-Hair/Bob" mask="url('#LongHairBob-mask1')"><g transform="translate(-1)"><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairBob-path2" transform="translate(39 19)"></use></g></g></g>',1),mh=[uh];function fh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...mh])}const hh={render:fh},ph=t.createStaticVNode('<g id="Top"><defs><path id="LongHairStraight2-path1" d="M0 0h264v280H0z"></path><path id="LongHairStraight2-path2" d="M21 157.54V69.047c0-3.532.398-6.971 1.152-10.275C25.205 38.731 36.775 22.811 50 13c19.905-14.76 53.442-19.018 65.047-1.478C123.698 7.681 136.52 11.182 146 20c9.565 9.415 17.2 30.197 12.657 47.204q.158 1.898.158 3.837v21.851A12.01 12.01 0 0 0 149 83.166V83c-6.036-21.536-23.77-31.42-34.57-41.223C97.535 60.673 44.823 60.74 27 98v10c0 6.019 4.43 11.002 10.209 11.867 1.743 20.248 14.26 37.416 31.791 45.744V166c2.93 43.855-6.642 98.797-69 82 13.606-7.962 20.808-58.944 21-90.46m96 8.071c17.53-8.328 30.048-25.496 31.791-45.744a12.01 12.01 0 0 0 10.024-9.76v1.363a100 100 0 0 0 10.963 45.524l26.949 52.707c6.963 13.619 4.919 29.473-3.936 40.768C189.966 213.289 158.903 184 121 184h-4z"></path><path id="LongHairStraight2-path3" d="M65.18 77.737c2.183-1.632 15.227-2.258 17.578-3.648.734-.434 1.303-.873 1.742-1.309.439.436 1.009.875 1.742 1.31 2.351 1.389 15.395 2.015 17.578 3.647 2.21 1.654 3.824 5.448 3.647 8.414-.212 3.56-4.106 12.052-13.795 13.03-2.114-2.353-5.435-3.87-9.172-3.87s-7.058 1.517-9.172 3.87c-9.69-.978-13.583-9.47-13.795-13.03-.176-2.966 1.437-6.76 3.647-8.414m.665 17.164.017.007zm79.018-38.916c-.389-5.955-1.585-11.833-2.629-17.699-.281-1.579-1.81-12.286-2.5-12.286-.232 9.11-1.032 18.08-2.064 27.14-.309 2.708-.632 5.416-.845 8.134-.171 2.196.135 4.848-.397 6.972-.679 2.706-4.08 5.232-6.725 6.165-6.6 2.326-12.105-7.303-17.742-10.12-7.318-3.656-19.897-4.527-27.38.239-7.645-4.766-20.224-3.895-27.542-.239-5.637 2.817-11.142 12.446-17.742 10.12-2.645-.933-6.047-3.459-6.725-6.165-.532-2.124-.226-4.776-.397-6.972-.213-2.718-.536-5.426-.845-8.135C30.298 44.08 29.497 35.11 29.265 26c-.689 0-2.218 10.707-2.5 12.286-1.043 5.866-2.24 11.744-2.627 17.7-.4 6.119.077 12.181 1.332 18.177a165 165 0 0 0 2.049 8.541c.834 3.143-.32 9.262.053 12.488.707 6.104 3.582 18.008 6.811 23.259 1.561 2.538 3.39 4.123 5.433 6.168 1.967 1.97 2.788 5.021 4.91 7.118 3.956 3.908 9.72 6.234 15.64 6.806C65.677 143.05 74.506 146 84.5 146s18.823-2.95 24.135-7.457c5.919-.572 11.683-2.898 15.64-6.806 2.121-2.097 2.942-5.149 4.909-7.118 2.042-2.045 3.872-3.63 5.433-6.168 3.229-5.251 6.104-17.155 6.81-23.259.374-3.226-.78-9.345.054-12.488.75-2.828 1.45-5.676 2.05-8.54 1.254-5.997 1.73-12.06 1.332-18.179"></path></defs><mask id="LongHairStraight2-mask1" fill="#fff"><use href="#LongHairStraight2-path1"></use></mask><g id="Top/Long-Hair/Straight" mask="url('#LongHairStraight2-mask1')"><g transform="translate(-1)"><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairStraight2-path2" transform="translate(40 15)"></use><path id="Shadow" fill="#000" d="M67 113c17.823-32.335 70.535-32.393 87.43-48.792 10.778 8.49 28.462 15.059 34.533 33.66-6.071-21.444-23.755-31.308-34.533-41.09C137.535 75.672 84.823 75.74 67 113" opacity=".16"></path></g></g></g>',1),gh=[ph];function yh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...gh])}const kh={render:yh},xh=t.createStaticVNode('<g id="Top"><defs><path id="ShortHairSides-path1" d="M0 0h264v280H0z"></path><path id="ShortHairSides-path2" d="M65.18 77.737c2.183-1.632 15.227-2.258 17.578-3.648.734-.434 1.303-.873 1.742-1.309.439.436 1.009.875 1.742 1.31 2.351 1.389 15.395 2.015 17.578 3.647 2.21 1.654 3.824 5.448 3.647 8.414-.212 3.56-4.106 12.052-13.795 13.03-2.114-2.353-5.435-3.87-9.172-3.87s-7.058 1.517-9.172 3.87c-9.69-.978-13.583-9.47-13.795-13.03-.176-2.966 1.437-6.76 3.647-8.414m.665 17.164.017.007zm79.018-38.916c-.389-5.955-1.585-11.833-2.629-17.699-.281-1.579-1.81-12.286-2.5-12.286-.232 9.11-1.032 18.08-2.064 27.14-.309 2.708-.632 5.416-.845 8.134-.171 2.196.135 4.848-.397 6.972-.679 2.706-4.08 5.232-6.725 6.165-6.6 2.326-12.105-7.303-17.742-10.12-7.318-3.656-19.897-4.527-27.38.239-7.645-4.766-20.224-3.895-27.542-.239-5.637 2.817-11.142 12.446-17.742 10.12-2.645-.933-6.047-3.459-6.725-6.165-.532-2.124-.226-4.776-.397-6.972-.213-2.718-.536-5.426-.845-8.135C30.298 44.08 29.497 35.11 29.265 26c-.689 0-2.218 10.707-2.5 12.286-1.043 5.866-2.24 11.744-2.627 17.7-.4 6.119.077 12.181 1.332 18.177a165 165 0 0 0 2.049 8.541c.834 3.143-.32 9.262.053 12.488.707 6.104 3.582 18.008 6.811 23.259 1.561 2.538 3.39 4.123 5.433 6.168 1.967 1.97 2.788 5.021 4.91 7.118 3.956 3.908 9.72 6.234 15.64 6.806C65.677 143.05 74.506 146 84.5 146s18.823-2.95 24.135-7.457c5.919-.572 11.683-2.898 15.64-6.806 2.121-2.097 2.942-5.149 4.909-7.118 2.042-2.045 3.872-3.63 5.433-6.168 3.229-5.251 6.104-17.155 6.81-23.259.374-3.226-.78-9.345.054-12.488.75-2.828 1.45-5.676 2.05-8.54 1.254-5.997 1.73-12.06 1.332-18.179"></path><path id="ShortHairSides-path3" d="M6 28c-5.076.071-6-1.006-6-5C0 17.344 4.04 6.778 8 2c1.176-2.17 3.619-3.432 3 1-2.66 8.477.417 24.914-5 25m114 0c-5.417-.086-2.34-16.523-5-25-.619-4.432 1.824-3.17 3-1 3.96 4.778 8 15.344 8 21 0 3.994-.924 5.071-6 5"></path></defs><mask id="ShortHairSides-mask2" fill="#fff"><use href="#ShortHairSides-path1"></use></mask><g id="Top/Short-Hair/Sides" mask="url('#ShortHairSides-mask2')"><g transform="translate(-1)"><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#ShortHairSides-path3" transform="translate(70 74)"></use></g></g></g>',1),bh=[xh];function wh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...bh])}const vh={render:wh},Eh=t.createStaticVNode('<g id="Top"><defs><path id="LongHairBun-path2" d="M0 0h264v280H0z"></path><path id="LongHairBun-path1" d="M114.94 28.337q-1.48.334-2.903.693c-15.092 3.808-24.02 14.621-31.68 30.618-3.761 7.855-5.991 17.143-6.334 25.833-.135 3.412.325 6.934 1.245 10.22.337 1.205 2.155 5.386 2.654 2.008.167-1.125-.442-2.676-.5-3.871-.078-1.569.005-3.157.112-4.723.2-2.928.722-5.8 1.65-8.59 1.328-3.988 3.017-8.312 5.603-11.677C91.188 60.521 95.765 43.206 133 41.671s48.749 25.79 52.183 31.63c4.065 6.914 2.195 15.406 3.436 22.9.472 2.85 1.545 2.786 2.132.237.997-4.33 1.468-8.828 1.151-13.279-.718-10.048-4.405-36.453-24.593-48.153-5.443-3.154-10.87-5.319-16.192-6.723C154.177 25.31 156 21.568 156 17.5 156 7.835 145.703 0 133 0s-23 7.835-23 17.5c0 4.092 1.846 7.857 4.94 10.837"></path></defs><mask id="LongHairBun-mask2" fill="#fff"><use href="#LongHairBun-path2"></use></mask><g id="Top/Long-Hair/Bun" mask="url('#LongHairBun-mask2')"><use fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairBun-path1" transform="translate(-1)"></use></g></g>',1),Ch=[Eh];function Sh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ch])}const Mh={render:Sh},Bh=t.createStaticVNode('<g id="Top"><defs><path id="LongHairStraightStrand-path1" d="M0 0h264v280H0z"></path><path id="LongHairStraightStrand-path2" d="M8.461 88.694C8.161 89.744 8 90.854 8 92v13c0 6.019 4.43 11.002 10.209 11.867 1.743 20.248 14.26 37.416 31.791 45.744V181h-4c-15.619 0-30.076 4.973-41.875 13.423A73.9 73.9 0 0 1 0 170V74C0 33.13 33.13 0 74 0s74 33.13 74 74v96a73.9 73.9 0 0 1-4.125 24.423C132.076 185.973 117.619 181 102 181h-4v-18.389c17.53-8.328 30.048-25.496 31.791-45.744C135.57 116.002 140 111.02 140 105V92c0-1.69-.349-3.297-.979-4.755-12.956-2.188-27.542-7.476-41.872-15.75-12.132-7.004-22.503-15.237-30.48-23.743q5.14 11.862 12.45 20.783-19.013-8.285-25.892-26.639a100 100 0 0 1-1.18 2.762c-9.84 22.1-26.456 38.024-43.586 44.036"></path><path id="LongHairStraightStrand-path3" d="M65.18 77.737c2.183-1.632 15.227-2.258 17.578-3.648.734-.434 1.303-.873 1.742-1.309.439.436 1.009.875 1.742 1.31 2.351 1.389 15.395 2.015 17.578 3.647 2.21 1.654 3.824 5.448 3.647 8.414-.212 3.56-4.106 12.052-13.795 13.03-2.114-2.353-5.435-3.87-9.172-3.87s-7.058 1.517-9.172 3.87c-9.69-.978-13.583-9.47-13.795-13.03-.176-2.966 1.437-6.76 3.647-8.414m.665 17.164.017.007zm79.018-38.916c-.389-5.955-1.585-11.833-2.629-17.699-.281-1.579-1.81-12.286-2.5-12.286-.232 9.11-1.032 18.08-2.064 27.14-.309 2.708-.632 5.416-.845 8.134-.171 2.196.135 4.848-.397 6.972-.679 2.706-4.08 5.232-6.725 6.165-6.6 2.326-12.105-7.303-17.742-10.12-7.318-3.656-19.897-4.527-27.38.239-7.645-4.766-20.224-3.895-27.542-.239-5.637 2.817-11.142 12.446-17.742 10.12-2.645-.933-6.047-3.459-6.725-6.165-.532-2.124-.226-4.776-.397-6.972-.213-2.718-.536-5.426-.845-8.135C30.298 44.08 29.497 35.11 29.265 26c-.689 0-2.218 10.707-2.5 12.286-1.043 5.866-2.24 11.744-2.627 17.7-.4 6.119.077 12.181 1.332 18.177a165 165 0 0 0 2.049 8.541c.834 3.143-.32 9.262.053 12.488.707 6.104 3.582 18.008 6.811 23.259 1.561 2.538 3.39 4.123 5.433 6.168 1.967 1.97 2.788 5.021 4.91 7.118 3.956 3.908 9.72 6.234 15.64 6.806C65.677 143.05 74.506 146 84.5 146s18.823-2.95 24.135-7.457c5.919-.572 11.683-2.898 15.64-6.806 2.121-2.097 2.942-5.149 4.909-7.118 2.042-2.045 3.872-3.63 5.433-6.168 3.229-5.251 6.104-17.155 6.81-23.259.374-3.226-.78-9.345.054-12.488.75-2.828 1.45-5.676 2.05-8.54 1.254-5.997 1.73-12.06 1.332-18.179"></path></defs><mask id="LongHairStraightStrand-mask1" fill="#fff"><use href="#LongHairStraightStrand-path1"></use></mask><g id="Top/Long-Hair/Straight-+-Strand" mask="url('#LongHairStraightStrand-mask1')"><g transform="translate(-1)"><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairStraightStrand-path2" transform="translate(59 18)"></use><path id="Shadow" fill="#000" d="M59 102.419v6.419c19.945-3.088 40.59-20.448 52.046-46.18q.615-1.38 1.18-2.762 6.008 16.029 21.27 24.378a78 78 0 0 0 4.622 6.261q-19.012-8.285-25.891-26.639a101 101 0 0 1-1.18 2.762C99.59 92.39 78.944 109.75 59 112.838zm148-1.279v9.14c-14.953-.867-33.099-6.535-50.851-16.785-10.273-5.93-19.283-12.743-26.646-19.855a99 99 0 0 1-3.833-7.888c7.976 8.506 18.347 16.74 30.479 23.743 17.752 10.25 35.898 15.918 50.851 16.786z" opacity=".16"></path></g></g></g>',1),Ah=[Bh];function Vh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ah])}const _h={render:Vh},Nh=t.createStaticVNode('<g id="Top"><defs><path id="ShortHairTheCaesar-path1" d="M0 0h264v280H0z"></path><path id="ShortHairTheCaesar-path2" d="M1 64c.347 1.488 1.673 1.223 2 0-.463-1.554 3.296-28.752 13-36 3.618-2.517 23.008-4.768 42.313-4.754C77.409 23.259 96.42 25.51 100 28c9.704 7.248 13.463 34.446 13 36 .327 1.223 1.653 1.488 2 0 .72-10.298 0-63.726-57-63S.28 53.702 1 64"></path></defs><mask id="ShortHairTheCaesar-mask1" fill="#fff"><use href="#ShortHairTheCaesar-path1"></use></mask><g id="Top/Short-Hair/The-Caesar" mask="url('#ShortHairTheCaesar-mask1')"><g transform="translate(-1)"><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#ShortHairTheCaesar-path2" transform="translate(75 34)"></use></g></g></g>',1),Dh=[Nh];function Th(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Dh])}const Ph={render:Th},Oh=t.createStaticVNode('<g id="Top"><defs><path id="LongHairCurly-path1" d="M0 0h264v280H0z"></path><path id="LongHairCurly-path2" d="M48.725 89.219A12 12 0 0 0 42 100v13c0 6.019 4.43 11.002 10.209 11.867 1.743 20.248 14.26 37.416 31.791 45.744V189h-4q-2.38 0-4.721.152a72 72 0 0 1-13.689-9.103A48 48 0 0 1 48 182c-26.51 0-48-21.49-48-48 0-14.41 6.349-27.335 16.402-36.134A43.8 43.8 0 0 1 8 72c0-21.84 15.911-39.962 36.774-43.41C51.019 11.89 67.12 0 86 0a43.8 43.8 0 0 1 22 5.886A43.8 43.8 0 0 1 130 0c18.88 0 34.981 11.89 41.226 28.59C192.09 32.039 208 50.16 208 72a43.8 43.8 0 0 1-8.402 25.866C209.65 106.665 216 119.591 216 134c0 26.51-21.49 48-48 48-4.72 0-9.281-.681-13.59-1.951a72 72 0 0 1-13.689 9.103A73 73 0 0 0 136 189h-4v-18.389c17.53-8.328 30.048-25.496 31.791-45.744C169.57 124.002 174 119.02 174 113v-13a11.99 11.99 0 0 0-5.476-10.073 24 24 0 0 1-3.235-1.47q-.63-.18-1.289-.291v-.453c-8.68-5.303-17.235-16.538-22.55-30.914C131.312 58.835 119.547 60 107 60c-11.961 0-23.212-1.059-33.02-2.921C68.756 71.064 60.465 82.043 52 87.423v.743a12 12 0 0 0-3.275 1.053"></path></defs><mask id="LongHairCurly-mask1" fill="#fff"><use href="#LongHairCurly-path1"></use></mask><g id="Top/Long-Hair/Curly" mask="url('#LongHairCurly-mask1')"><g transform="translate(-1)"><path id="Shadow" fill="#000" d="M105.985 27.764C114.013 26.627 122.796 26 132 26c10.358 0 20.183.794 29 2.216C183.451 38.75 199 61.56 199 88v17.044c-11.538-.371-25.169-14.28-32.55-34.245C156.312 72.835 144.547 74 132 74c-11.961 0-23.212-1.059-33.02-2.921-7.304 19.548-20.597 33.223-31.98 33.943V88c0-26.825 16.004-49.913 38.985-60.236" opacity=".16"></path><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairCurly-path2" transform="translate(25 10)"></use></g></g></g>',1),Fh=[Oh];function Lh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Fh])}const $h={render:Lh};function Hh(e,a){return t.openBlock(),t.createElementBlock("svg")}const Rh={render:Hh},zh=t.createStaticVNode('<g id="Top"><defs><path id="ShortHairTheCaesarSidePart-path1" d="M0 0h264v280H0z"></path><path id="ShortHairTheCaesarSidePart-path2" d="M82.018 24.378c-7.032-.693-15.36-1.127-23.705-1.132C39.008 23.232 19.618 25.483 16 28 6.296 35.248 2.537 62.446 3 64c-.327 1.223-1.653 1.488-2 0C.28 53.702 1 1.726 58 1s57.72 52.702 57 63c-.347 1.488-1.673 1.223-2 0 .463-1.554-3.296-28.752-13-36-1.76-1.224-7.247-2.39-14.641-3.261L89 16z"></path></defs><mask id="ShortHairTheCaesarSidePart-mask1" fill="#fff"><use href="#ShortHairTheCaesarSidePart-path1"></use></mask><g id="Top/Short-Hair/The-Caesar-+-Side-Part" mask="url('#ShortHairTheCaesarSidePart-mask1')"><g transform="translate(-1)"><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#ShortHairTheCaesarSidePart-path2" transform="translate(75 34)"></use></g></g></g>',1),Ih=[zh];function Gh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ih])}const jh={render:Gh},qh=t.createStaticVNode('<g id="Top"><defs><path id="LongHairCurvy-path1" d="M0 0h264v280H0z"></path><path id="LongHairCurvy-path2" d="M162.831 71.618A57 57 0 0 1 163 76v38c0 22.34-13.08 41.623-32 50.611V183h4c1.524 0 2.038.047 3.539.14-14.913 27.356-18.715 50.434-1.067 64.403 1.698 1.203 2.924 1.786 3.135 1.885 2.373 1.118 4.837 2.34 7.467 2.955 4.623 1.08 9.933-.373 14.557-.953 2.112-.266 4.217-.43 6.346-.436 2.565-.009 5.211.084 7.142 1.697 1.884 1.574 1.644 7.198-3.875 9.833 4.1 1.855 9.012-2.453 10.688-5.177 1.466-2.385 2.594-4.968 3.214-7.605.772-3.283.822-6.725.218-10.014-1.258-6.848-4.176-13.432-6.163-20.122-.732-2.466-1.686-5.165-2.102-7.69-.113-.684-.247-3.215-.141-3.744.078-.393.059-.797 1.415-1.176 3.916-1.096 8.007-2.933 10.852-5.52 3.365-3.058 5.119-7.03 6.533-10.979 2.24-6.252 3.523-12.947 4.113-19.44.122-1.349.191-2.695.215-4.047.015-.817-.085-1.747.008-2.565.153-1.34-.054-.987 1.248-1.874 4.257-2.9 7.58-7.122 9.71-11.37 3.346-6.672 3.782-13.708 1.066-20.467-2.253-5.607-5.827-11.235-11.392-14.846-2.137-1.386-4.392-2.643-6.61-3.93-1.21-.7-4.048-1.615-4.906-2.517-.6-.63.355-3.792.476-4.858.528-4.648-.08-9.157-1.165-13.696-2.394-10.008-12.033-26.149-15.903-35.662-3.325-8.172-8.136-55.3-65.031-55.026C51.69.473 41.419 50.438 33.716 59.774c-8.365 10.138-16.809 29.402-11.113 47.262-5.504 6.922-18.058 17.008-21.218 27.09-1.982 6.325-1.897 13.37.644 19.507 1.437 3.471 3.496 6.618 5.911 9.64 2.117 2.646 4.468 5.15 6.518 7.837 1.237 1.622 1.568 2.02 1.102 4.018-.92 3.94-2.819 7.725-4.466 11.475-2.552 5.81-4.697 11.22-5.014 17.413-.302 5.896 1.324 22.673 18.261 32.56a63 63 0 0 0 6.042 3.11c-1.09-3.396.146-15.524 2.343-20.032.56 1.55 1.511 3.043 2.536 4.398 1.6 2.115 5.374 7.409 10.147 7.655-1.937-2.984-4.02-4.998-4.624-8.598 3.977 1.96 9.634 3.747 14.262 3.582 3.404-.12 8.424-1.82 10.953-3.943-8.372 1.327-16.321-1.433-19.518-7.329-.667-1.23-1.174-2.52-1.468-3.86-.417-1.9-1.076-4.944-.191-6.697.215-.426.566-.86.984-1.29l-.197-.235c5.694-4.787 12.84-12.404 16.665-17.97q.106-.183.21-.367h.04l.085-.126A72.2 72.2 0 0 1 79 183h4v-18.389C64.08 155.623 51 136.339 51 114V76c0-2.463.159-4.888.467-7.267 3.942-1.263 7.898-2.455 11.932-3.528 4.456-1.186 14.399-3.114 18.29-4.01l2.736-2.98 1.063 1.955c2.158-.166 14.078-1.957 14.078-1.957l1.33-3.223c1.717 1.763 2.939 2.679 2.939 2.679 2.556-.209 13.653-.458 16.285-.426 0 0 7.34.258 9.12.328l1.668-.638.548 1.077c1.454.591 10.243 3.59 11.978 4.128l2.547-.906c1.12 2.694 3.94 2.354 6.276 4.481 2.503 2.279 7.226 4.024 10.574 5.905"></path></defs><mask id="LongHairCurvy-mask1" fill="#fff"><use href="#LongHairCurvy-path1"></use></mask><g id="Top/Long-Hair/Curvy" mask="url('#LongHairCurvy-mask1')"><g transform="translate(-1)"><path id="Top-Shadow" fill="#000" d="M100.9 42.465c-9.798 6.007-18.514 13.862-24.313 22.895-2.762 4.303-5.034 8.84-7.15 13.398a136 136 0 0 0-2.961 6.931c-.587 1.47-1.487 3.056-.64 4.599.517-.302.713-.194.388.347 2.692.734 6.434-1.335 8.767-2.099 4.763-1.56 9.53-3.033 14.408-4.331 4.456-1.186 14.399-3.114 18.29-4.01l2.736-2.98 1.063 1.955c2.158-.166 14.078-1.957 14.078-1.957l1.33-3.223c1.717 1.763 2.939 2.679 2.939 2.679 2.556-.209 13.653-.458 16.285-.426 0 0 7.34.258 9.12.328l1.668-.638.548 1.077c1.454.591 10.243 3.59 11.978 4.128l2.547-.906c1.12 2.694 3.94 2.354 6.276 4.481 3.092 2.814 9.569 4.816 12.66 7.263 1.108.876 2.143 1.792 3.183 2.726 1.156 1.037.985 1.188 1.36 2.378.113.356 1.256 2.199 1.743 2.35 1.733.536-10.154-30.486-13.417-34.453-3.368-4.094-25.211-31.654-54.174-30.752" opacity=".16"></path><g id="Hair" fill="none" transform="translate(26 16)"><mask id="LongHairCurvy-mask2" fill="#fff"><use href="#LongHairCurvy-path2"></use></mask><use fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairCurvy-path2"></use><path id="Shadow" fill="#000" d="M62.68 184.462c7.075-9.707-.531-36.675-6.552-46.661q25.256-11.495 99.746 4.247-7.192 13.279-5.868 23.71-6.806 8.363-11.246 17.383l-34.871 8.606q-33.054 3.98-41.21-7.285Z" mask="url('#LongHairCurvy-mask2')" opacity=".24"></path></g><path id="Lights" fill="#FFF" d="M79.04 170.094c-.059-.201-.205-.427-.405-.665q.205.331.405.665m-22.63-49.719a88.6 88.6 0 0 0 4.456 18.002c2.062 5.721 4.42 11.46 7.813 16.69 3.161 4.876 6.924 9.425 9.956 14.362-.797-.948-2.472-2.1-3.114-2.778a50 50 0 0 1-2.984-3.458c-1.923-2.443-3.637-5-5.294-7.583-3.252-5.073-5.69-10.576-7.803-16.08-4.15-10.807-8.313-23.913-4.666-35.33-.282.735.459 2.488.575 3.297.204 1.414.386 2.837.478 4.26.185 2.883.184 5.749.583 8.618m12.445 44.666c-1.358-1.731-3.881-3.097-5.442-4.762-1.415-1.51-2.511-3.2-3.506-4.94-2.255-3.94-3.737-7.964-4.217-12.37.11.523.918 1.427 1.173 1.856a85 85 0 0 1 1.788 3.124c1.097 2.04 2.013 4.15 3.122 6.187 2.038 3.74 4.63 7.36 7.082 10.905m4.677 18.458c1.115 1.962 2.04 3.966 2.625 6.102a42 42 0 0 1 .77 3.413c.07.369.082 1.696.258 2.27-2.215-4.291-3.905-8.835-6.543-12.942-2.604-4.054-5.947-7.781-9.446-11.281-3.695-3.695-7.41-7.182-9.392-11.847-1.725-4.06-2.391-8.218-1.99-12.556.002 1.911 1.757 4.622 2.363 6.469.83 2.527 1.489 5.105 2.737 7.507 2.126 4.089 5.959 7.243 9.165 10.688 3.553 3.816 6.946 7.762 9.453 12.177m-14.303-9.32a22 22 0 0 1 2.806 3.275c.898 1.285 1.556 2.636 2.145 4.05.507 1.217.73 3.482 1.527 4.498-2.578-3.146-5.233-6.117-7.011-9.69-.607-1.222-1.548-3.023-2.243-4.495.231.593 2.253 1.86 2.776 2.362m-10.326 6.349c2.838 4.25 6.548 8.081 8.974 12.528 2.83 5.187 4.075 10.807 4.326 16.54.119 2.711.112 5.465-.253 8.168-.196 1.448-.51 2.886-.869 4.312-.136.54-.84 1.926-.977 2.77-.29-10.54 1.454-21.082-4.027-30.903-2.596-4.65-6.586-8.616-9.679-13.018-2.782-3.959-5.498-7.841-7.713-12.074 1.356 1.716 3.8 3.065 5.316 4.769 1.899 2.134 3.348 4.58 4.902 6.908m11.2 44.319c-.032.204-.033.377.014.5l-.013-.5Zm-9.543-22.353c.001.496.816 1.518 1.04 2.035.52 1.209.946 2.478 1.157 3.76.418 2.529-.13 5.14-1.067 7.561-1.9 4.907-4.874 9.253-8.613 13.3 1.335-1.748 1.867-4.589 2.806-6.538.965-2 2-3.97 2.85-6.011 1.92-4.605 1.75-9.311 1.827-14.107M41.917 221.2c.401-.548.193-3.183.405-3.872.392-1.273 1.07-2.502 1.849-3.635-.416.699.198 2.466-.005 3.373-.332 1.489-1.17 2.932-2.249 4.134m57.69-178.453a.9.9 0 0 0-.239.297zm-14.76 21.584c1.42-1.246 2.177-4.19 3.156-5.78 1.125-1.825 2.418-3.579 3.645-5.356 2.432-3.524 4.726-6.984 7.72-10.19-.622.934-1.173 3.768-1.514 4.513a34.6 34.6 0 0 1-3.221 5.605c-2.86 4.044-5.93 7.803-9.786 11.208m-.535-10.21c.75-1.327 1.894-2.448 3.18-3.414-.573.503-.831 2.575-1.225 3.275-.795 1.412-1.953 2.63-3.196 3.772.664-.582.772-2.803 1.24-3.633Zm119.194 98.006-.041.31c-.002-1.525-.68-3.2-.76-4.769-.113-2.19.202-4.315 1.082-6.392 1.74-4.101 5.003-7.207 9.164-9.638-1.145.674-2.267 3.213-3.001 4.268-1.103 1.586-2.282 3.187-3.214 4.85-1.943 3.469-2.506 7.618-3.23 11.371m-1.508-21.646a23 23 0 0 1-.989 3.626c-.474 1.279-1.093 2.523-1.783 3.728-.43.75-1.98 2.327-1.978 3.157-.083-4.898 1.728-9.335 5.172-13.257-.378.657-.283 2.03-.422 2.746m-.801 35.238c3.656-.517 7.105 1.261 9.421 3.551 1.238 1.224 2.338 2.63 3.065 4.133.547 1.13.546 2.983 1.28 3.92-1.797-2.419-4.076-4.373-6.324-6.464-1.564-1.455-4.688-5.181-7.442-5.14m-.778 10.377c-.192-.065-1.934-.558-2.337-.32.597-.267 1.33-.592 1.987-.679 4.284-.569 9.492 3.141 10.067 6.721-.478-1.226-3.025-2.24-4.176-2.85-1.823-.967-3.564-2.137-5.541-2.872m1.809 7.811c.742.182 2.32 1.176 3.047 1.165-2.929.07-5.572-.255-8.391-.914.152.041 1.759-.456 1.811-.463 1.215-.172 2.357-.076 3.533.212m-11.345 13.857c4.288-.242 9.336.384 13.431 1.417a22.3 22.3 0 0 1 5.692 2.295c1.414.814 3.93 1.932 4.876 3.137-3.74-6.452-11.85-9.803-20.16-8.14-1.107.222-2.808 1.276-3.84 1.291Zm-.96 12.433c2.688-.965 5.661-1.894 8.583-2.029 2.771-.127 5.845.29 8.41 1.173-.883-.24-2.993.332-3.92.437-1.297.147-2.596.299-3.896.418a52 52 0 0 1-4.801.222c-1.14-.002-3.32-.54-4.376-.221M179.46 227.41c.253 3.972 2.552 7.434 5.931 10.08 3.583 2.805 8.379 4.082 10.98 7.829 1.267 1.825 1.943 3.95 1.834 6.098-.056 1.106-.334 2.218-.635 3.294-.197.708-.902 1.868-.901 2.559.031-3.887.084-8.412-2.636-11.673-2.731-3.274-7.493-4.427-10.829-7.115-3.278-2.642-5.765-6.094-6.325-9.985-.452-3.144-.23-8.626 3.03-10.76-.662.39-.53 2.374-.547 2.931a74 74 0 0 0 .098 6.742m-2.453 15.262c.396.52 2.57 1.151 3.208 1.51 1.456.817 2.865 1.746 4.02 2.877 2.317 2.266 3.81 5.445 3.918 8.494 0-.72-1.646-2.457-2.109-3.073-.768-1.022-1.635-1.969-2.518-2.917-2.154-2.31-4.39-4.564-6.52-6.891Zm52.162-88.882c1.204 1.05 2.01 2.357 2.675 3.709 1.53 3.12 1.815 6.717.589 10 .203-.704-.401-2.184-.571-2.898-.373-1.563-.955-3.04-1.563-4.542-1.18-2.916-2.134-5.648-4.184-8.202.53.668 2.328 1.3 3.054 1.933M171.51 41.983c0 .332.917 1.293 1.123 1.654.517.902.924 1.849 1.064 2.855.158 1.142-.035 2.259-.381 3.369-.206.66-1.184 1.934-1.184 2.528-.16-3.498-.933-6.86-.622-10.406m7.637 6.822c.165 1.243-.24 2.644-.964 3.742.132-.31-.454-2.383-.473-2.762-.059-1.173.07-2.38.146-3.552.001.64 1.183 1.763 1.291 2.572m-60.77 1.568a35 35 0 0 1-4.15 4.243c-1.023.89-2.984 1.89-3.764 2.91 3.501-5.711 7.546-10.638 12.302-15.63-.716.92-.903 2.916-1.428 3.993-.774 1.587-1.81 3.076-2.96 4.484m5.898 2.479c.57-.336 1.104-1.993 1.538-2.55a17 17 0 0 1 2.578-2.63c-.205.22-.602 2.044-.825 2.402-.723 1.16-2 2.107-3.29 2.778Z" opacity=".6"></path></g></g></g>',1),Wh=[qh];function Yh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Wh])}const Uh={render:Yh},Xh=t.createStaticVNode('<g id="Top"><defs><path id="ShortHairDreads01-path1" d="M0 0h264v280H0z"></path><path id="ShortHairDreads01-path2" d="M65.18 77.737c2.183-1.632 15.227-2.258 17.578-3.648.734-.434 1.303-.873 1.742-1.309.439.436 1.009.875 1.742 1.31 2.351 1.389 15.395 2.015 17.578 3.647 2.21 1.654 3.824 5.448 3.647 8.414-.212 3.56-4.106 12.052-13.795 13.03-2.114-2.353-5.435-3.87-9.172-3.87s-7.058 1.517-9.172 3.87c-9.69-.978-13.583-9.47-13.795-13.03-.176-2.966 1.437-6.76 3.647-8.414m.665 17.164.017.007zm79.018-38.916c-.389-5.955-1.585-11.833-2.629-17.699-.281-1.579-1.81-12.286-2.5-12.286-.232 9.11-1.032 18.08-2.064 27.14-.309 2.708-.632 5.416-.845 8.134-.171 2.196.135 4.848-.397 6.972-.679 2.706-4.08 5.232-6.725 6.165-6.6 2.326-12.105-7.303-17.742-10.12-7.318-3.656-19.897-4.527-27.38.239-7.645-4.766-20.224-3.895-27.542-.239-5.637 2.817-11.142 12.446-17.742 10.12-2.645-.933-6.047-3.459-6.725-6.165-.532-2.124-.226-4.776-.397-6.972-.213-2.718-.536-5.426-.845-8.135C30.298 44.08 29.497 35.11 29.265 26c-.689 0-2.218 10.707-2.5 12.286-1.043 5.866-2.24 11.744-2.627 17.7-.4 6.119.077 12.181 1.332 18.177a165 165 0 0 0 2.049 8.541c.834 3.143-.32 9.262.053 12.488.707 6.104 3.582 18.008 6.811 23.259 1.561 2.538 3.39 4.123 5.433 6.168 1.967 1.97 2.788 5.021 4.91 7.118 3.956 3.908 9.72 6.234 15.64 6.806C65.677 143.05 74.506 146 84.5 146s18.823-2.95 24.135-7.457c5.919-.572 11.683-2.898 15.64-6.806 2.121-2.097 2.942-5.149 4.909-7.118 2.042-2.045 3.872-3.63 5.433-6.168 3.229-5.251 6.104-17.155 6.81-23.259.374-3.226-.78-9.345.054-12.488.75-2.828 1.45-5.676 2.05-8.54 1.254-5.997 1.73-12.06 1.332-18.179"></path><path id="ShortHairDreads01-path3" d="M185.832 73.929c1.757.988 3.148 10.899 3.216 14.689.042 2.338.08 11.256-2.394 10.485-.753-.235-1.902-4.956-2.066-7.719s-1.733-12.164-4.141-16.49c-.55-.988-2.126-2.723-1.445-3.56.844-1.036 1.664-.434 2.695-.02 1.115.45 3.937 2.504 4.135 2.615m.805-2.972c-.746.962-5.841-1.74-7.966-2.913-17.845-9.86-21.31-12.995-49.425-12.586-28.116.409-47.379 13.582-48.462 14.93-.754.937-1.716 3.44-2.508 10.413-.791 6.972.22 19.477-2.646 19.462-2.438-.013-2.97-23.786-1.916-33.217.161-1.448.784-4.038.333-5.34-.394-1.138-2.322-1.135-2.014-3.03.35-2.159 2.525-1.087 3.473-2.119 1.795-1.954-.974-2.417-1.433-4.126-.682-2.542 1.29-3.197 3.067-4 1.966-.887 1.71-.108 3.306-1.846-2.131-1.563-2.902-3.691.016-4.833 1.24-.485 4.465.157 5.436-.572.253-.19.353-1.28.51-1.502 1.55-2.219 1.168-3.825 1.01-6.316-.129-2.038-.112-3.909 2.329-4.112 1.628-.136 2.952 1.194 4.411 1.586 1.619.435 1.01.752 2.279-.121 2.226-1.533.711-4.52 2.476-6.303 2.423-2.446 4.01 1.14 5.956 1.41 4.222.588 2.867-3.7 5.367-5.272 2.988-1.876 3.277 2.251 5.143 2.398 1.617.127 4.529-2.993 5.938-3.575 4.183-1.726 6.255 3.13 10.237 2.511 2.89-.45 3.67-.816 6.277.828 2.53 1.595 3.132.454 5.998.432 2.025-.016 3.265 1.676 4.959 1.853.844.088 1.653-.792 2.56-.737 3.237.197 3.442 4.383 6.014 5.536 2.35 1.053 5.112-.427 7.445-.7 5.69-.668 1.793 4.647 1.954 7.819 2.233.52 4.5-1.564 6.724-1.18 3.502.604 2.18 4.233 1.368 6.68 2.427-.044 8.76-2.737 10.332.707.81 1.776-1.078 4.147-1.047 5.952.043 2.542 1.91 4.645 2.571 7.05.892 3.247 2.163 11.95-.072 14.833"></path></defs><mask id="ShortHairDreads01-mask2" fill="#fff"><use href="#ShortHairDreads01-path1"></use></mask><g id="Top/Short-Hair/Dreads-01" mask="url('#ShortHairDreads01-mask2')"><g transform="translate(-1)"><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#ShortHairDreads01-path3" transform="translate(1)"></use></g></g></g>',1),Zh=[Xh];function Qh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Zh])}const Kh={render:Qh},Jh=t.createStaticVNode('<g id="Top"><defs><path id="Turban-path1" d="M0 0h264v280H0z"></path><path id="Turban-path2" d="M156 180.611c17.53-8.328 30.048-25.496 31.791-45.744C193.57 134.002 198 129.02 198 123v-13c0-5.946-4.325-10.882-10-11.834V92c0-30.928-25.072-56-56-56S76 61.072 76 92v6.166c-5.675.952-10 5.888-10 11.834v13c0 6.019 4.43 11.002 10.209 11.867 1.743 20.248 14.26 37.416 31.791 45.744V199h-4c-39.765 0-72 32.235-72 72v9h200v-9c0-39.765-32.235-72-72-72h-4zM0 0h264v280H0z"></path><path id="Turban-path3" d="M83.972 55.817C107.404 69.414 145.115 82.111 139 138q29.066-8.46 29-46.676C167.918 44.148 115.85 0 86 0q-1.012 0-2.008.088A23 23 0 0 0 82 0C52.074 0 .08 44.148 0 91.324Q-.067 130.498 29 138c-6.138-55.889 31.51-68.586 54.972-82.183"></path></defs><mask id="Turban-mask1" fill="#fff"><use href="#Turban-path1"></use></mask><g id="Top/Accesories/Turban" mask="url('#Turban-mask1')"><g id="Turban"><path id="Band" fill="#EDECE3" d="M74.53 97.5c-1-2.41-1.53-4.92-1.53-7.5 0-18.225 26.415-33 59-33s59 14.775 59 33c0 2.58-.53 5.09-1.53 7.5C183.398 82.888 159.972 72 132 72S80.602 82.888 74.53 97.5"></path><use fill="var(--avataaar-top-color)" class="CustomColor" href="#Turban-path3" transform="translate(48 3)"></use><path id="Shadow" fill="#000" d="M48.011 96.012q.555 37.65 28.99 44.988-29.068-7.066-29-43.97 0-.51.01-1.018m104.635-65.544c.744 5.727-.52 12.421-4.646 19.668-11.153 21.43-71.439 21.868-71.666 79.544-.229-61.919 60.471-62.3 71.666-85.136 2.67-4.977 4.141-9.709 4.646-14.076" opacity=".16"></path></g></g></g>',1),ep=[Jh];function tp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...ep])}const ap={render:tp},np=t.createStaticVNode('<g id="Top"><defs><path id="LongHairDreads-path1" d="M0 0h264v280H0z"></path><path id="LongHairDreads-path2" d="M85.718 185.073A73 73 0 0 1 89 185h4v-18.389a56.22 56.22 0 0 1-26.789-26.99c-2.764-8.607-2.6-17.934-3.21-26.795-.805-11.68-.112-23.078 2.536-34.578 2.39-10.376 5.824-15.941 13.626-24.255 4.36-4.646 10.905-4.915 17.42-6.564 6.593-1.67 12.611-4.21 16.735-8.99 9.083 10.41 33.354 6.664 42.236 18.01 10.802 13.798 10.923 22.7 12.193 38.643.953 11.951-.528 33.564-.943 46.538A56.24 56.24 0 0 1 141 166.611V185h4c6.636 0 13.062.898 19.163 2.578-2.05 3.174-4.494 6.18-7.051 8.973-3.831 4.188-7.681 8.52-12 12.367-4.941 4.401-9.668 7.597-12.668 13.082-1.358 2.483-3.737 5.094-1.22 7.817 2.3 2.487 5.925 1.975 8.386.175 3.637-2.66 6.338-6.858 9.69-9.915-3.238 5.815-7.742 14.484-5.43 21.005.787 2.217 1.586 2.173 2.802 3.65q2.88.066 2.276 2.606l.54 1.451c1.456 2.594 4.243 4.41 7.78 3.188 11.56-3.994-1.775-21.961 10.953-27.302 2.278 2.83-1.086 10.779-1.177 14.256-.111 4.287.122 14.013 6.642 15.179 8.496 1.52 5.22-6.597 5.555-10.05.39-4.016 2.86-9.312 4.87-12.869-1.222 3.78-3.508 12.154 2.817 13.87 7.317 1.986 6.481-6.586 7.592-10.15.229 5.275 7.045 17.749 13.205 7.896 3.173-5.076 1.009-13.441.66-18.854 4.414 4.56 7.94-1.35 7.84-4.63 1.677 4.752 7.982 18.002 13.57 7.485 3.398-6.395-.226-14.985-2.483-21.16 5.944.52 4.75-5.236 3.864-8.095-1.307-4.222-.61-4.841-.34-9.206 8.25 4.805 7.997-8.234 7.542-11.432-1.146-8.051-7.409-15.261-12.243-22.052-3.466-4.871-9.935-13.352-8.038-19.226 1.957 2.468 6.507 2.442 8.316-.142 1.532-2.188-.091-5.796-.83-7.982-2.021-5.98-6.06-9.844-9.711-14.981-7.108-10.001-6.086-23.133-6.743-34.313-.82-13.949-3.814-27.68-16.48-37.827-6.787-5.437-15.058-9.914-21.37-15.682-1.722-1.573-2.45-3.521-4.066-5.038-1.813-1.701-2.66-1.298-4.158-3.72-2.668-4.315-5.802-8.355-12.25-8.558-4.22-.132-9.556 3.43-13.359 2.909-3.122-.427-5.094-4.879-7.656-6.373-3.966-2.312-6.734-1.414-10.972-.075-6.31 1.994-10.33 2.689-16.755.306C97.69 2.539 93.565-.846 88.402.357c-4.05.945-5.858 4.213-8.244 6.718-2.46 2.586-1.271 1.73-4.87 2.305-3.68.588-6.586 1.122-9.378 3.532-4.512 3.895-1.386 9.955-4.953 13.389-1.925 1.854-5.935 2.737-8.165 4.654-2.434 2.092-4.424 4.635-6.248 7.11-3.551 4.823-5.976 10.079-8.58 15.281-4.843 9.681-9.161 19.671-11.002 30.072-.945 5.347-2.538 10.577-3.512 15.912-.75 4.115-.43 8.622-1.896 12.617-1.74 4.74-5.899 9.096-8.152 13.757-2.988 6.183-4.994 12.115-5.63 18.771-.624 6.544 1.113 12.311 1.879 18.727.443 3.717-.324 4.139-2.88 7.647-1.967 2.7-3.96 5.373-5.225 8.378-2.361 5.615-2.23 11.077 1.879 16.013 2.82 3.388 12.299 6.933 11.523-.618-.36-3.508-4.772-5.095-3.93-9.12.584-2.787 3.425-4.715 6.874-5.577 2.436-.608 3.636-.582 4.735 2.09.996 2.42-.325 7.706-.63 10.25-.123 1.023-.305 1.92-.428 2.867-.868 6.674-1.028 12.815-4.682 18.944-2.244 3.766-6.636 9.073-1.628 12.703 3.959 2.87 10.79 1.121 13.877-1.882 3.256 4.027 2.532 8.423 1.314 12.869-.756 2.76-2.824 6.802.431 9.033 4.408 3.021 11.603-1.738 14.908-4.14 1.91 4.268 3.703 19.827 11.235 10.552 2.198-2.705 5.858-5.344 6.555-8.534 1.156-5.29.326-10.858.804-16.202 2.404 6.997 4.038 9.787 5.51 16.97.884 4.321 1.231 18.82 10.174 16.91 6.88-1.47 2.48-10.524 1.601-14.215-1.683-7.07-2.496-10.063-4.122-17.14 2.533 4.626 4.746 9.371 7.18 14.034 2.39 4.58 13.078 14.027 16.205 10.05 3.127-3.978-4.496-9.645-6.23-14.46-3.609-10.024-7.98-20.006-9.017-30.508-.499-5.049.436-9.712.846-14.703.28-3.41-.141-6.902-.812-10.34"></path></defs><mask id="LongHairDreads-mask2" fill="#fff"><use href="#LongHairDreads-path1"></use></mask><g id="Top/Long-Hair/Dreads" mask="url('#LongHairDreads-mask2')"><g transform="translate(-1)"><g id="Hair" transform="translate(16 14)"><mask id="LongHairDreads-mask1" fill="#fff"><use href="#LongHairDreads-path2"></use></mask><use fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairDreads-path2"></use><path id="Shadows" fill="#000" d="M85.718 185.073A73 73 0 0 1 89 185h4v-18.389a56.22 56.22 0 0 1-26.789-26.99 37 37 0 0 0 1.95 4.888c5.756 11.833 13.257 22.412 16.327 35.08.435 1.798.869 3.633 1.23 5.484m78.445 2.505A72 72 0 0 0 145 185h-4v-18.389a56.24 56.24 0 0 0 25.502-24.404c-.077 2.994-.01 5.972.373 8.849 1.07 8.044 4.001 15.31 2.64 23.58-.744 4.532-2.725 8.875-5.352 12.942" mask="url('#LongHairDreads-mask1')" opacity=".24"></path><path id="Highlights" fill="#FFF" d="M49.36 108.248c-.124-2.422-1.98-10.537.329-11.939 2.53-1.537 2.002 7.707 2.028 8.654.044 1.537 1.211 13.135-.927 13.084-2.132-.051-1.347-8.219-1.43-9.799m8.435 57.75c-.009 1.014-1.072.953-1.832.688-.937-.328-.363-2.484-.413-3.191-.13-1.86-1.023-7.338.34-8.873 2.726-3.069 1.916 9.948 1.905 11.376m-25.674 13.163c1.93-.054.144-37.832-2.821-37.79-2.083.03 1.361 37.827 2.821 37.79m2.232 19.355c-2.397 0-1.957 8.462-.545 9.139 2.14 1.025 3.227-9.139.545-9.139m15.237 3.539c.021 1.058-1.179 1.074-1.98.744-.908-.376-.528-3.506-.563-4.2-.114-2.188-2.017-10.672-.286-12.231 1.974-1.778 2.017.173 2.548 1.498 1.564 3.903.197 10.032.28 14.189Zm140.652-79.722c.11 1.463 1.069 11.018-.524 11.746-2.742 1.254-1.561-4.65-1.55-5.413.107-7.437-.969-14.812-1.787-22.21-.155-1.404-2.625-12.224-.816-13.12 2.707-1.342 2.303 2.245 2.458 3.41 1.129 8.468 1.628 17.078 2.22 25.587Zm-3.219 33.254c-2.532-.502-3.858 8.094-2.702 9.016 1.917 1.53 5.35-8.49 2.702-9.016m-.268 37.798c-1.139-.226-9.433 15.733-8.75 16.635 1.299 1.719 12.829-15.82 8.75-16.635m-20.422 7.374c-1.782-.803-9.334 10.75-7.406 11.619 1.748.786 9.561-10.652 7.406-11.62Zm42.092-43.312c-2.15 0-2.055 11.822-.4 12.568 1.711.77 2.942-12.568.4-12.568M178.14 48.844c-.609-.87-7.175-8.62-2.472-7.513 2.291.539 5.448 7.352 6.481 9.41.594 1.183 3.985 6.46.392 6.086-.977-.101-3.59-6.82-4.401-7.983m-23.092-15.488q-1.27.572.042 1.072 1.27-.57-.042-1.072m-84.43 8.13c-2.004 1.844-9.542 12.519-12.125 12.626-4.707.195 4.278-9.025 5.297-10.198.455-.527 2.486-3.092 3.722-3.723 1.261-.643 5.444-.859 3.107 1.295ZM43.255 69.981c-2.183-.43-5.835 10.264-4.56 11.555 1.923 1.95 7.007-11.07 4.56-11.555m24.939 119.011c.412 1.341 4.631 11.08 3.571 12.361-1.621 1.958-2.087-.817-2.617-1.967-1.178-2.555-4.238-8.846-3.746-11.536.477-2.608 2.375-.201 2.792 1.142m-8.207 22.824c-2.295 0-2.03 9.802-.663 10.385 2.116.902 3.478-10.385.663-10.385m161.805-8.37c.137.604 2.054 5.563-.663 4.845-1.562-.413-1.802-4.785-2.201-6.11-1.23-4.086-5.28-9.163-5.632-13.194-.34-3.897 1.84-2.412 3.515.889 2.236 4.407 3.913 8.87 4.981 13.57m-19.702-.495c-2.132-.01-2.235 10.773-.902 11.402 1.864.878 3.621-11.402.902-11.402m6.16-88.297c1.582-.412-3.41-13.325-5.177-13.183-2.695.217 2.776 13.803 5.178 13.183Zm-26.815 56.093q-1.27.57.043 1.071 1.27-.57-.043-1.071m-24.218 55.24c.794 0 1.121-1.223-.051-1.25-.775.006-1.184 1.25.051 1.25M58.684 170.63c.03-1.909-2.469-.51-2.453 1.101.032 3.214 2.4 1.746 2.453-1.101m-6.165-47.746c-.804 0-1.134 1.236.05 1.266.785-.006 1.198-1.266-.05-1.266m-19.132 62.51c-.078-1.941-1.7.043-1.61.046.288.007 1.67 1.417 1.61-.046M37.6 84.063c-2.368 0-2.025 5.754-.514 6.123 2.52.616 2.865-6.123.514-6.123m12.613 124.263c-2.286 0-2.44 7.814-.863 8.3 2.451.754 3.243-8.3.863-8.3m-18.756 5.606q-1.308.587.042 1.103 1.309-.585-.042-1.103m169.999 3.35c-2.32 0-2.23 9.554-.805 10.2 1.99.902 3.488-10.2.805-10.2m-23.51 8.88c-2.411-.482-3.674 7.405-2.55 8.29 1.852 1.459 5.025-7.796 2.55-8.29m-20.48 7.29c-1.998 0-1.508 3.574-.355 4.106 1.994.92 2.583-4.107.354-4.107ZM86.48 19.508c-1.672 0-12.16 4.744-8.24 6.15 2.396.859 12.497-6.15 8.24-6.15" mask="url('#LongHairDreads-mask1')" opacity=".3"></path></g></g></g></g>',1),rp=[np];function op(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...rp])}const ip={render:op},lp=t.createStaticVNode('<g id="Top"><defs><path id="ShortHairDreads02-path1" d="M0 0h264v280H0z"></path><path id="ShortHairDreads02-path2" d="M65.18 77.737c2.183-1.632 15.227-2.258 17.578-3.648.734-.434 1.303-.873 1.742-1.309.439.436 1.009.875 1.742 1.31 2.351 1.389 15.395 2.015 17.578 3.647 2.21 1.654 3.824 5.448 3.647 8.414-.212 3.56-4.106 12.052-13.795 13.03-2.114-2.353-5.435-3.87-9.172-3.87s-7.058 1.517-9.172 3.87c-9.69-.978-13.583-9.47-13.795-13.03-.176-2.966 1.437-6.76 3.647-8.414m.665 17.164.017.007zm79.018-38.916c-.389-5.955-1.585-11.833-2.629-17.699-.281-1.579-1.81-12.286-2.5-12.286-.232 9.11-1.032 18.08-2.064 27.14-.309 2.708-.632 5.416-.845 8.134-.171 2.196.135 4.848-.397 6.972-.679 2.706-4.08 5.232-6.725 6.165-6.6 2.326-12.105-7.303-17.742-10.12-7.318-3.656-19.897-4.527-27.38.239-7.645-4.766-20.224-3.895-27.542-.239-5.637 2.817-11.142 12.446-17.742 10.12-2.645-.933-6.047-3.459-6.725-6.165-.532-2.124-.226-4.776-.397-6.972-.213-2.718-.536-5.426-.845-8.135C30.298 44.08 29.497 35.11 29.265 26c-.689 0-2.218 10.707-2.5 12.286-1.043 5.866-2.24 11.744-2.627 17.7-.4 6.119.077 12.181 1.332 18.177a165 165 0 0 0 2.049 8.541c.834 3.143-.32 9.262.053 12.488.707 6.104 3.582 18.008 6.811 23.259 1.561 2.538 3.39 4.123 5.433 6.168 1.967 1.97 2.788 5.021 4.91 7.118 3.956 3.908 9.72 6.234 15.64 6.806C65.677 143.05 74.506 146 84.5 146s18.823-2.95 24.135-7.457c5.919-.572 11.683-2.898 15.64-6.806 2.121-2.097 2.942-5.149 4.909-7.118 2.042-2.045 3.872-3.63 5.433-6.168 3.229-5.251 6.104-17.155 6.81-23.259.374-3.226-.78-9.345.054-12.488.75-2.828 1.45-5.676 2.05-8.54 1.254-5.997 1.73-12.06 1.332-18.179"></path><path id="ShortHairDreads02-path3" d="M153.503 98.874C157.9 100.654 161 104.965 161 110v13c0 5.288-3.42 9.776-8.168 11.375a55.7 55.7 0 0 1-11.076 29.29c.209.807.41 1.625.556 2.503.55 3.327-.12 6.093 1.645 9.093.457.78 1.183 1.247 1.522 2.144.533 1.415-.232 4.594 1.95 4.595 3.106 0 1.374-5.966.596-7.384-1.525-2.772-2.462-3.45-2.383-7.044 1.745 1.16 7.53 3.376 9.448 2.316 4.432-2.448-6.662-4.936-7.438-5.453 1.704-1.666 3.656-2.55 5.197-4.746 1.26-1.793 2.406-4.397 4.55-4.501 1.186-.058 4.657 2.884 5.71.866.964-1.85-1.115-2.122-1.928-2.777-1.502-1.21-1.84-.006-1.474-2.134 1.085 1.165 2.789.429 3.244-1.015.49-1.559-1.127-2.024-1.097-3.014-.012.387.834-5.115.7-4.938.86-1.135 3.908-.784 5.413-.62 2.296.248 2.164.317 3.255 2.436.882 1.715 3.198 5.178 3.707.641.121-1.085-.869-3.404-1.45-4.338-.627-1.007-2.517-1.643-2.912-2.427-.944-1.87 2.165-6.034 1.639-8.854 1.093.418 3.857 6.927 5.198 1.599.707-2.8-6.505-8.945-3.514-9.894 2.289-.726 4.612 2.225 5.25 4.044.473 1.348.26 4.238 1.068 5.353 3.036 4.203 3.41-2.74 3.157-4.572-.559-4.026-1.984-6.988-5.623-8.51 1.295-1.607-.345-2.887-1.275-3.893 1.528-1.657 11.437.104 9.208-4.327-.538-1.072-2.481-1.262-3.467-1.655-2.49-.992-4.985-3.01-6.257-5.562 1.841-.46 7.28.798 6.565-2.996-.563-2.982-5.403-2.067-7.278-1.61 1.692-1.016 4.973-.174 5.434-2.941.531-3.183-3.288-3.076-5.08-2.402-.422-3.358 5.53-5.83 7.213-8.4.568-.867 1.47-1.164.746-2.633-1.306-2.643-4.68 1.086-5.792 2.09.876-1.628 3.32-8.403 2.95-10.122-.546-2.526-2.353-2.615-3.79-.568-.93 1.33-1.19 4.703-1.68 6.427-2.04-1.537-2.143.246-2.248-2.191-.068-1.58 2.002-4.701 2.532-6.248.456-1.329 1.668-3.76.943-5.046-1.776-3.143-3.473 1.172-3.94 2.652-.789-3.411 2.214-6.057 3.103-9.431.541-2.048 1.976-7.578-.51-8.561-3.394-1.341-2.2 4.956-2.678 7-.365 1.559-.922 4.077-2.139 4.845-.176.111-2.82.343-2.948.193-1.734-2.021 3.038-6.447 3.284-8.351.223-1.73-.44-2.825-2.061-2.929-.81-.051-2.12 1.2-2.495 1.119-1.48-.322.447-7.089.587-8.967.15-2.003-.094-7.172-3.483-4.785.227-2.697.364-5.236.734-7.891.195-1.4 1.398-2.645-.374-3.767-2.156-1.365-3.35 1.492-3.842 3.168-.846 2.885.9 7.375-3.158 7.466-4.665.106-1.444-4.73-1.215-7.868.128-1.74-1.012-6.421-3.262-3.263-.896 1.259-.587 5.694-1.084 7.183-1.106-.493.733-4.515-.23-5.564-2.06-2.247-3.788 1.026-5.099 1.692-.086-1.445-.187-2.891-.248-4.338-.093-2.2 1.255-6.83-.113-8.347-2.337-2.59-3.823.431-4.506 2.523-.613 1.884-.697 3.744-3.233 4 .208-2.717-2.258-8.436-1.035-10.727.553-1.035 1.679-.301 2.179-1.46.821-1.902-.524-2.71-1.986-2.771-6.792-.286-1.562 9.134-3.969 11.491-1.099-1.04.072-2.113-1.065-3.596-1.223-1.595-3.173-1.46-4.918-.738-.056-1.613 2.364-12.92-3.08-7.817-1.352 1.271-.974 3.393-1.693 4.886-.696 1.445-2.39 3.598-3.341 4.771-.51-2.067.272-4.63.82-6.666.38-1.415 2.931-5.805 2.387-7.244-1.58-4.167-6.323 2.72-7.572 3.832-1.582 1.41-7.88 6.045-9.901 4.64-.701-.487-.07-2.29-1.027-3.128-.47-.41-2.477-.6-3.05-.548.358-1.494-.346-3.427-2.055-2.91-2.149.65-1.219 3.838-2.58 5.002-2.53 2.164-5.535-2.112-8.245-1.992.414-1.755 3.485-8.062-1.399-6.144-1.246.49-2.13 3.351-2.44 4.54-.792 3.036-.222 3.593-3.509 4.45.257-1.76-.2-3.948.649-5.521.696-1.289 4.305-4.645.462-5.063-4.74-.516-4.274 7.672-4.855 10.44-4.206-2.549-6.974 1.098-9.48 4.252.447-1.419 1.553-15.557-2.965-11.237-1.292 1.237.138 3.066.05 4.478-.078 1.28-.5 2.422-.995 3.618-.796 1.921-1.72 3.887-2.974 5.524-1.573 2.059-1.015 2.22-2.82.823-2.425-1.873-3.577-6.624-3.457-9.525.09-2.16 1.196-6.548-2.384-5.531-3.507.996-1.649 7.974-1.296 10.453.381 2.687.635 5.436.183 8.173-2.984-3.05-3.42 3.302-4.017 4.385-.98 1.777-2.868 2.647-4.335 3.86-.8-2.794 2.405-5.157 1.77-7.38-1.194-4.165-4.571 1.716-5.313 2.87-.619.963-2.635 6.442-3.365 6.933-1.023.69-7.605-2.527-8.27-3.14-1.223-1.125-.778-4.272-2.316-4.99-4.72-2.197-1.932 5.735-1.005 7.375 2.419 4.284 3.516 9.456 2.949 14.504-.858-.302-1.915-1.312-2.468-2.077-1.076-1.49-.685-3.865-1.808-4.987-3.288-3.28-3.673 2.878-3.406 4.791.5 3.588 2.291 4.75 3.778 7.734 1.368 2.75-.445 6.069-.828 9.125-3.429-3.3-18.195-.543-14.396 4.502 1.978 2.633 4.318-2.377 6.598-2.25 4.083.225 6.235 5.295 5.967 8.846-.497-1.898-2.422-3.761-3.746-1.444-.897 1.573.635 4.26 1.374 5.823-.906-.444-5.372-2.52-6.246-2.161-3.44 1.414 1.3 4.151 2.537 4.698 4.224 1.868 6.887 3.92 8.2 8.992-2.367-.757-1.955-1.878-3.552-3.043-1.466-1.07-1.74-.518-3.09-.868-2.362-.611-5.441-1.427-8.11-.318-1.97.819-5.287 3.31-5.906 5.65-.757 2.874.844 3.606 2.904 2.143 2.45-1.739 2.897-5.105 6.583-4.96 1.769.068 3.52.995 4.64 2.325.835.993 1.323 2.43 2.12 3.495.703.94 2.564 2.259 2.957 3.254 1.418 3.595-1.276 6.795-3.083 9.314-.419-.554-3.477-1.758-4.11-1.878-2.94-.561-4.037.798-2.199 3.512.58.856 1.798 1.216 2.436 1.994.711.87 1.112 2.2 1.818 3.144 1.393 1.863 3.115 2.822 4.778 4.322-.613.41-.546-.624-1.102-.41-.404.156-1.107-.155-1.617.014-.828.275-.718 1.717-1.248 1.929-3.299 1.314-6.627-3.615-9.586-3.775-1.614-.088-2.975.994-2.2 3.022.538 1.412 2.87 2.178 4.036 2.767 3.246 1.644 6.478 2.868 9.948 1.607 2.797 2.438 6.159 3.64 9.674 3.675-2.011.998-4 2.235-4.702 4.721-1.189-1.23-4.108-6.952-5.633-2.462-1.045 3.087 3.723 6.871 5.92 8.262-2.555.755-4.677.907-7.277.607-1.357-.156-4.337-1.974-3.238 1.748 1.182 4.016 8.24 2.21 10.48 1.516.083-1.198-10.77 12.108-3.158 9.489 2.176-.748 2.385-5 5.418-5.373 3.503-.43 3.855 3.077 5.882 5.646 1.01 1.282 5.67 4.165 5.449 5.265-.191.952-2.75 1.496-3.293 2.828-.633 1.55-.347 2.746.532 4.078 1.538 2.333 4.36 2.691 6.592 3.604 3.164 1.295 4.31 2.867 5.73 6.217-2.502.12-9.62 7.36-5.258 8.648 1.625.48 1.372-.966 2.049-1.765l.821-1.545q.687-1.797 1.52-.22c.123-.031 1.61.388 1.947.409 1.708.105 2.85-1.192 4.266-1.893 1.023-.506 2.024-.418 2.795-1.586-.089.135.554-2.51.565-2.536.276-.637.985-.547 1.31-1.234-8.749-9.085-14.457-21.119-15.489-34.464C36.42 132.776 33 128.288 33 123v-13c0-5.035 3.1-9.345 7.497-11.126.531.374 1.27 0 1.503-.842-.463-1.506 3.296-27.854 13-34.876 3.618-2.438 23.008-2.619 42.313-2.606 19.096.014 38.108.195 41.687 2.606 9.704 7.022 13.463 33.37 13 34.876.233.843.972 1.216 1.503.842"></path></defs><mask id="ShortHairDreads02-mask2" fill="#fff"><use href="#ShortHairDreads02-path1"></use></mask><g id="Top/Short-Hair/Dreads-02" mask="url('#ShortHairDreads02-mask2')"><g transform="translate(-1)"><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#ShortHairDreads02-path3" transform="translate(36)"></use></g></g></g>',1),sp=[lp];function cp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...sp])}const dp={render:cp},up=t.createStaticVNode('<g id="Top"><defs><path id="WinterHat1-path3" d="M0 0h264v280H0z"></path><path id="WinterHat1-path1" d="M120 54H20v101c0 5.523-4.477 10-10 10s-10-4.477-10-10V44C0 19.7 19.7 0 44 0h52c24.3 0 44 19.7 44 44v111c0 5.523-4.477 10-10 10s-10-4.477-10-10z"></path><rect id="WinterHat1-path2" width="118" height="36" x="74" y="50" rx="8"></rect></defs><g id="Top/Accessories/Winter-Hat-1" transform="translate(-1)"><g id="hat" transform="translate(63 20)"><path id="inside" fill="#F4F4F4" d="M1 48h22.671v105.664c0 6.26-5.075 11.336-11.335 11.336S1 159.925 1 153.664zm115.329 0H139v105.664c0 6.26-5.075 11.336-11.336 11.336-6.26 0-11.335-5.075-11.335-11.336z"></path><use fill="var(--avataaar-top-color)" class="CustomColor" href="#WinterHat1-path1"></use></g><g id="hat-front"><use filter="url('#WinterHat1-path2')" href="#WinterHat1-path2"></use><use fill="#F4F4F4" href="#WinterHat1-path2"></use></g></g></g>',1),mp=[up];function fp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...mp])}const hp={render:fp},pp=t.createStaticVNode('<g id="Top"><defs><filter id="filter5" width="107.7%" height="126.7%" x="-3.8%" y="-6.7%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" result="shadowMatrixOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"></feColorMatrix><feMerge><feMergeNode in="shadowMatrixOuter1"></feMergeNode><feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter><filter id="filter6" width="113.3%" height="113.8%" x="-6.7%" y="-3.4%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" result="shadowMatrixOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"></feColorMatrix><feMerge><feMergeNode in="shadowMatrixOuter1"></feMergeNode><feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter><filter id="filter7" width="113.3%" height="113.8%" x="-6.7%" y="-3.4%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" result="shadowMatrixOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"></feColorMatrix><feMerge><feMergeNode in="shadowMatrixOuter1"></feMergeNode><feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter><filter id="filter1" width="107.7%" height="115.4%" x="-3.8%" y="-3.8%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" result="shadowMatrixOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"></feColorMatrix><feMerge><feMergeNode in="shadowMatrixOuter1"></feMergeNode><feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter><filter id="filter2" width="105%" height="110%" x="-2.5%" y="-2.5%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" result="shadowMatrixOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"></feColorMatrix><feMerge><feMergeNode in="shadowMatrixOuter1"></feMergeNode><feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter><filter id="filter3" width="105.4%" height="110.8%" x="-2.7%" y="-2.7%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" result="shadowMatrixOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"></feColorMatrix><feMerge><feMergeNode in="shadowMatrixOuter1"></feMergeNode><feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter><filter id="filter4" width="103.6%" height="107.4%" x="-1.8%" y="-1.9%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" result="shadowMatrixOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"></feColorMatrix><feMerge><feMergeNode in="shadowMatrixOuter1"></feMergeNode><feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter><path id="LongHairFrida-path2" d="M0 0h264v280H0z"></path><path id="LongHairFrida-path1" d="M65.18 77.737c2.183-1.632 15.227-2.258 17.578-3.648.734-.434 1.303-.873 1.742-1.309.439.436 1.009.875 1.742 1.31 2.351 1.389 15.395 2.015 17.578 3.647 2.21 1.654 3.824 5.448 3.647 8.414-.212 3.56-4.106 12.052-13.795 13.03-2.114-2.353-5.435-3.87-9.172-3.87s-7.058 1.517-9.172 3.87c-9.69-.978-13.583-9.47-13.795-13.03-.176-2.966 1.437-6.76 3.647-8.414m.665 17.164.017.007zm79.018-38.916c-.389-5.955-1.585-11.833-2.629-17.699-.281-1.579-1.81-12.286-2.5-12.286-.232 9.11-1.032 18.08-2.064 27.14-.309 2.708-.632 5.416-.845 8.134-.171 2.196.135 4.848-.397 6.972-.679 2.706-4.08 5.232-6.725 6.165-6.6 2.326-12.105-7.303-17.742-10.12-7.318-3.656-19.897-4.527-27.38.239-7.645-4.766-20.224-3.895-27.542-.239-5.637 2.817-11.142 12.446-17.742 10.12-2.645-.933-6.047-3.459-6.725-6.165-.532-2.124-.226-4.776-.397-6.972-.213-2.718-.536-5.426-.845-8.135C30.298 44.08 29.497 35.11 29.265 26c-.689 0-2.218 10.707-2.5 12.286-1.043 5.866-2.24 11.744-2.627 17.7-.4 6.119.077 12.181 1.332 18.177a165 165 0 0 0 2.049 8.541c.834 3.143-.32 9.262.053 12.488.707 6.104 3.582 18.008 6.811 23.259 1.561 2.538 3.39 4.123 5.433 6.168 1.967 1.97 2.788 5.021 4.91 7.118 3.956 3.908 9.72 6.234 15.64 6.806C65.677 143.05 74.506 146 84.5 146s18.823-2.95 24.135-7.457c5.919-.572 11.683-2.898 15.64-6.806 2.121-2.097 2.942-5.149 4.909-7.118 2.042-2.045 3.872-3.63 5.433-6.168 3.229-5.251 6.104-17.155 6.81-23.259.374-3.226-.78-9.345.054-12.488.75-2.828 1.45-5.676 2.05-8.54 1.254-5.997 1.73-12.06 1.332-18.179"></path></defs><mask id="LongHairFrida-mask1" fill="#fff"><use href="#LongHairFrida-path2"></use></mask><g id="Top/Long-Hair/Frida" mask="url('#LongHairFrida-mask1')"><g transform="translate(-1)"><path fill="var(--avataaar-hair-color)" d="M189 97.937v.229a12.01 12.01 0 0 1 9.893 10.227A16.44 16.44 0 0 0 203 97.5c0-2.13-.404-4.166-1.138-6.035A16.45 16.45 0 0 0 207 79.5c0-5.836-3.03-10.964-7.602-13.898A16.4 16.4 0 0 0 201 58.5c0-7.635-5.185-14.058-12.227-15.941q.226-1.499.227-3.059c0-11.322-9.178-20.5-20.5-20.5-2.63 0-5.143.495-7.453 1.397C157.317 15.306 151.295 12 144.5 12c-4.262 0-8.22 1.3-11.5 3.527A20.4 20.4 0 0 0 121.5 12c-6.795 0-12.817 3.306-16.547 8.397A20.5 20.5 0 0 0 97.5 19C86.178 19 77 28.178 77 39.5q.001 1.56.227 3.059C70.185 44.442 65 50.865 65 58.5c0 2.192.427 4.284 1.203 6.197C60.75 67.39 57 73.007 57 79.5c0 5.438 2.63 10.261 6.689 13.267A16.5 16.5 0 0 0 63 97.5c0 4.175 1.55 7.987 4.107 10.893A12.01 12.01 0 0 1 77 98.166v-.23l.083.064c2.903-47.147 48.47-30.258 55.917-56.664 7.447 26.406 53.014 9.517 55.917 56.664zm-80 82.674v4.2a16.6 16.6 0 0 1-2.5.189c-6.82 0-12.675-4.139-15.188-10.042C82.754 174.348 76 167.213 76 158.5c0-1.471.192-2.897.554-4.254C69.858 152.144 65 145.889 65 138.5c0-3.744 1.247-7.198 3.35-9.967a12.01 12.01 0 0 0 8.859 6.334c1.743 20.248 14.26 37.416 31.791 45.744m48 0v4.2q1.224.188 2.5.189c6.82 0 12.675-4.139 15.188-10.042 8.558-.61 15.312-7.745 15.312-16.458 0-1.471-.192-2.897-.554-4.254C196.142 152.144 201 145.889 201 138.5c0-3.744-1.247-7.198-3.35-9.967a12.01 12.01 0 0 1-8.859 6.334c-1.743 20.248-14.26 37.416-31.791 45.744" class="CustomColor"></path><g id="Ornamentos" transform="translate(67)"><g id="hoja" filter="url('#filter5')" opacity=".9" transform="scale(1 -1)rotate(-20 -137.666 -331.914)"><path id="leaf" fill="#5DD362" d="M3.611 10S1.95 0 13 0c7.222 0 12.278 5.714 12.278 5.714s-5.417 8.572-13.722 8.572C5.056 14.286 3.61 10 3.61 10Z"></path><path id="leaf" fill="#42BC53" d="M25.278 5.714s-5.417 8.572-13.722 8.572c-4.334 0-6.428-1.929-7.367-3.215-2.095 1.786-2.817 3.429-2.817 3.5-.072.286-.36.429-.65.429-.072 0-.216 0-.289-.071-.36-.143-.505-.572-.36-.929.071-.214 1.877-4.143 7.366-6.714 7.944-4.143 17.839-1.572 17.839-1.572"></path></g><g id="hoja" filter="url('#filter6')" transform="rotate(60 44.13 92.434)"><path id="leaf" fill="#5DD362" d="M15 12C15 5.9 9 0 9 0S1.7 4.3 1 13s5.8 10.7 5.8 10.7S15 20.8 15 12"></path><path id="leaf" fill="#42BC53" d="M8 29c.1 0 .2 0 .3-.1.5-.2.8-.8.6-1.3-.5-1.5-.9-2.9-1.1-4.4C10 22.2 15 18.9 15 12 15 5.9 9 0 9 0s-.4 1.1-1 3c-.2.5-5.2 13.6-.9 25.3.1.4.5.7.9.7"></path></g><g id="hoja" filter="url('#filter7')" transform="rotate(-120 31.465 30.827)"><path id="leaf" fill="#5DD362" d="M15 12C15 5.9 9 0 9 0S1.7 4.3 1 13s5.8 10.7 5.8 10.7S15 20.8 15 12"></path><path id="leaf" fill="#42BC53" d="M8 29c.1 0 .2 0 .3-.1.5-.2.8-.8.6-1.3-.5-1.5-.9-2.9-1.1-4.4C10 22.2 15 18.9 15 12 15 5.9 9 0 9 0s-.4 1.1-1 3c-.2.5-5.2 13.6-.9 25.3.1.4.5.7.9.7"></path></g><g id="Flor" filter="url('#filter1')" transform="matrix(-1 0 0 1 26 29)"><path fill="#4ACAD3" d="M24.424 20.956a5.17 5.17 0 0 0 .997-3.853 5.17 5.17 0 0 0-2.02-3.43c-.299-.225-.693-.41-1.141-.567.453-.141.854-.313 1.16-.527a5.206 5.206 0 0 0 1.277-7.243 5.206 5.206 0 0 0-7.242-1.277c-.306.215-.604.533-.893.911.006-.475-.033-.909-.143-1.267a5.16 5.16 0 0 0-2.532-3.07A5.17 5.17 0 0 0 9.926.25a5.207 5.207 0 0 0-3.453 6.493c.11.356.314.735.582 1.124-.448-.151-.869-.243-1.241-.25a5.206 5.206 0 0 0-5.29 5.11 5.18 5.18 0 0 0 .937 3.066 5.2 5.2 0 0 0 4.171 2.223c.373.006.796-.071 1.25-.206-.283.38-.5.75-.621 1.103a5.2 5.2 0 0 0 .662 4.68 5.17 5.17 0 0 0 2.561 1.93 5.206 5.206 0 0 0 6.61-3.225c.12-.352.178-.779.19-1.252.273.386.56.708.857.932a5.17 5.17 0 0 0 3.853.997 5.16 5.16 0 0 0 3.43-2.02Z"></path><path fill="#FFF" d="M11.178 8.64a1.444 1.444 0 1 1 2.763-.845c.233.763-.232 4.182-.232 4.182s-2.298-2.574-2.53-3.337Zm-2.242 5.797a1.444 1.444 0 1 1 .05-2.888c.798.014 3.905 1.513 3.905 1.513s-3.158 1.389-3.955 1.375m6.057-2.018s1.738-2.98 2.392-3.438a1.444 1.444 0 1 1 1.657 2.366c-.654.458-4.049 1.072-4.049 1.072m-3.073 6.838a1.444 1.444 0 0 1-.895-1.836c.26-.755 2.646-3.246 2.646-3.246s.345 3.432.086 4.187a1.445 1.445 0 0 1-1.837.895m5.32-1.96c-.638-.48-2.27-3.52-2.27-3.52s3.37.732 4.008 1.212a1.444 1.444 0 1 1-1.738 2.307Z"></path></g><g id="Flor" filter="url('#filter2')" transform="translate(20 16)"><path fill="#FDB599" d="m30.526 33.098.258-2.314 2.314-.26c2.847-.319 5.11-2.116 6.054-4.81 1.066-3.042.065-6.359-2.547-8.281l-1.874-1.38.932-2.134c1.229-2.806.645-5.895-1.52-8.061-2.167-2.166-5.256-2.75-8.063-1.522l-2.133.933-1.38-1.875C20.644.786 17.327-.218 14.284.848c-2.692.943-4.49 3.207-4.809 6.054l-.26 2.313-2.313.26c-2.847.319-5.11 2.117-6.054 4.81-.938 2.676-.298 5.56 1.669 7.528a8 8 0 0 0 .877.753l1.875 1.38-.934 2.134c-1.226 2.807-.643 5.896 1.523 8.062s5.255 2.749 8.062 1.523l2.134-.934 1.38 1.875c1.917 2.61 5.24 3.612 8.283 2.547 2.693-.945 4.49-3.208 4.809-6.055"></path><path fill="#FFF" d="M22.882 25.19a1.44 1.44 0 0 1-2.782.746C19.894 25.17 20 20 20 20s-2.492 4.529-3.055 5.091a1.44 1.44 0 0 1-2.036-2.036C15.47 22.492 20 20 20 20s-5.168.106-5.936-.1a1.44 1.44 0 0 1 .745-2.782C15.577 17.324 20 20 20 20s-2.676-4.423-2.882-5.19a1.44 1.44 0 0 1 2.782-.746c.206.768.1 5.936.1 5.936s2.492-4.529 3.055-5.091a1.44 1.44 0 0 1 2.036 2.036C24.53 17.508 20 20 20 20s5.169-.106 5.936.1a1.44 1.44 0 0 1-.745 2.782C24.423 22.676 20 20 20 20s2.675 4.422 2.882 5.19"></path></g><g id="Flor" filter="url('#filter3')" transform="translate(89 26)"><path fill="#F7D30C" d="M34.758 29.822a7.36 7.36 0 0 0 1.418-5.483 7.35 7.35 0 0 0-2.874-4.88c-.426-.321-.987-.584-1.625-.808.645-.201 1.216-.445 1.652-.75 3.342-2.34 4.158-6.964 1.817-10.307-2.34-3.342-6.964-4.157-10.306-1.817-.436.306-.86.758-1.27 1.296.008-.676-.048-1.294-.204-1.803A7.35 7.35 0 0 0 19.763.9a7.36 7.36 0 0 0-5.638-.543C10.223 1.55 8.019 5.695 9.21 9.597c.156.507.447 1.046.83 1.6-.638-.216-1.237-.346-1.768-.355-4.08-.071-7.456 3.19-7.528 7.27a7.37 7.37 0 0 0 1.334 4.363 7.4 7.4 0 0 0 5.936 3.164c.53.01 1.133-.1 1.777-.293-.4.54-.71 1.069-.883 1.57a7.4 7.4 0 0 0 .943 6.66 7.36 7.36 0 0 0 3.645 2.746c3.858 1.329 8.077-.73 9.405-4.588.173-.502.255-1.109.271-1.782.39.549.797 1.007 1.22 1.326a7.35 7.35 0 0 0 5.484 1.418 7.35 7.35 0 0 0 4.88-2.874Z"></path><path fill="#FFF" d="M15.908 12.295a2.055 2.055 0 1 1 3.93-1.202c.332 1.086-.33 5.95-.33 5.95s-3.269-3.662-3.6-4.748m-3.192 8.25a2.055 2.055 0 1 1 .072-4.11c1.135.02 5.558 2.153 5.558 2.153s-4.495 1.977-5.63 1.957m8.62-2.872s2.474-4.241 3.404-4.892a2.055 2.055 0 1 1 2.358 3.367c-.93.651-5.762 1.525-5.762 1.525m-4.373 9.731a2.055 2.055 0 0 1-1.274-2.613c.37-1.073 3.765-4.62 3.765-4.62s.492 4.886.123 5.96a2.056 2.056 0 0 1-2.614 1.273m7.57-2.79c-.907-.683-3.23-5.008-3.23-5.008s4.797 1.042 5.704 1.725a2.055 2.055 0 1 1-2.474 3.283"></path></g><g id="Flor" filter="url('#filter4')" transform="translate(48)"><path fill="#FF7398" d="M54.138 31.546c1.825-6.983-5.994-12.414-8.953-14.184.514-2.934 1.672-12.561-4.468-16.116C34.612-2.288 26.924 3.45 24.6 5.394q-.3-.189-.703-.423C20.83 3.196 13.13-.381 7.85 4.736 2.205 10.204 5.537 18.74 6.805 21.434c-2.16 2.01-8.384 8.592-5.818 15.59.706 1.929 2.011 3.456 3.882 4.538 4.03 2.334 9.607 1.958 11.723 1.707.993 1.88 3.83 6.712 7.888 9.061 1.67.967 3.375 1.413 5.07 1.325 6.905-.358 9.916-9.995 10.67-12.912 2.861-.396 12.086-2.199 13.918-9.197"></path><path fill="#FFF" d="M27.764 25.603s3.685 8.188.354 8.71c-3.334.521-1.46-8.591-1.46-8.591s-7.112 6.007-8.15 3.028c-1.04-2.979 7.7-4.048 7.7-4.048s-7.987-4.692-5.393-6.836 6.216 6.092 6.216 6.092 1.945-8.92 4.82-7.254c2.876 1.664-3.857 7.811-3.857 7.811s8.877-.99 8.37 2.352c-.505 3.342-8.6-1.264-8.6-1.264"></path></g></g><g id="Arete" transform="translate(182 129)"><rect id="Cadenita" width="2" height="39" x="9" y="0" fill="#E6E6E6" rx="1"></rect><path id="Rayo" fill="#9177FF" d="M20 37h-9.43L17 20H6L0 41h8.636L4 60z"></path></g></g></g></g>',1),gp=[pp];function yp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...gp])}const kp={render:yp},xp=t.createStaticVNode('<g id="Top"><defs><path id="ShortHairFrizzle-path2" d="M0 0h264v280H0z"></path><path id="ShortHairFrizzle-path1" d="M90.91 55.361h84.176c18.247-10.527 21.673-29.21 8.764-45.435-3.214-4.04-8.764 11.75-25.821 12.724s-15.42-6.3-33.571-3.576c-18.152 2.724-16.146 17.304-27.99 20.803q-11.846 3.499-5.558 15.484"></path></defs><mask id="ShortHairFrizzle-mask2" fill="#fff"><use href="#ShortHairFrizzle-path2"></use></mask><g id="Top/Short-Hair/Frizzle" mask="url('#ShortHairFrizzle-mask2')"><use fill="var(--avataaar-hair-color)" class="CustomColor" href="#ShortHairFrizzle-path1" transform="translate(-1)"></use></g></g>',1),bp=[xp];function wp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...bp])}const vp={render:wp},Ep=t.createStaticVNode('<g id="Top"><defs><path id="WinterHat2-path3" d="M0 0h264v280H0z"></path><path id="WinterHat2-path1" d="M72 21c54.773 0 72 47.803 72 82.045v73.865c0 19.495-22.633 19.537-22.633-10.921V86.535c0-6.075-3.732-9-9.816-9H32.45c-6.084 0-9.816 2.925-9.816 9v79.454C22.633 196.447 0 196.405 0 176.91v-73.865C0 68.803 17.227 21 72 21"></path><path id="WinterHat2-path2" d="M101.428 98.169c-2.513 2.294-5.19 3.325-8.575 2.604-.582-.124-2.957-4.538-8.853-4.538-5.897 0-8.27 4.414-8.853 4.538-3.385.721-6.062-.31-8.576-2.604-4.725-4.313-8.654-10.26-6.293-16.75 1.23-3.382 3.232-7.095 6.873-8.173 3.887-1.15 9.346-.002 13.264-.788 1.27-.254 2.656-.707 3.585-1.458.929.75 2.316 1.204 3.585 1.458 3.918.786 9.376-.362 13.264.788 3.64 1.078 5.642 4.79 6.873 8.173 2.361 6.49-1.568 12.437-6.294 16.75M140.081 26c-3.41 8.4-2.093 18.858-2.724 27.676-.513 7.167-2.02 17.91-8.384 22.539-3.255 2.367-9.179 6.345-13.431 5.235-2.927-.764-3.24-9.16-7.087-12.303-4.363-3.565-9.812-5.131-15.306-4.89-2.37.105-7.165.08-9.15 1.903-1.983-1.823-6.777-1.798-9.148-1.902-5.494-.242-10.943 1.324-15.306 4.889-3.847 3.143-4.16 11.54-7.087 12.303-4.252 1.11-10.176-2.868-13.431-5.235-6.365-4.63-7.87-15.372-8.384-22.54-.63-8.817.686-19.275-2.724-27.675-1.66 0-.565 16.129-.565 16.129v20.356c.032 15.288 9.581 38.17 30.754 46.908C63.286 111.53 75.015 115 84 115s20.714-3.14 25.892-5.277c21.173-8.737 30.722-31.95 30.754-47.238V42.13S141.74 26 140.081 26"></path></defs><g id="Top/Accessories/Winter-Hat-2" transform="translate(-1)"><g id="hat" transform="translate(61)"><g id="string" fill="#F4F4F4" transform="translate(0 176)"><circle id="puff" cx="9" cy="65" r="9"></circle><path d="M8 0h2v58H8z"></path></g><g id="string" fill="#F4F4F4" transform="translate(126 168)"><circle id="puff" cx="9" cy="65" r="9"></circle><path d="M8 0h2v58H8z"></path></g><circle id="puff" cx="72" cy="20" r="20" fill="#F4F4F4"></circle><mask id="WinterHat2-mask2" fill="#fff"><use href="#WinterHat2-path1"></use></mask><use fill="var(--avataaar-top-color)" class="CustomColor" href="#WinterHat2-path1"></use><path id="color-dark" fill="#000" d="M-1 21h146v46H-1z" mask="url('#WinterHat2-mask2')" opacity=".2"></path><g id="light-triangles" fill="#FFF" opacity=".5" transform="translate(29 32)"><path id="Triangle" d="M12.5 0 25 18H0z" transform="rotate(180 12.5 9)"></path><path id="Triangle" d="M43.5 0 56 18H31z" transform="rotate(180 43.5 9)"></path><path id="Triangle" d="M74.5 0 87 18H62z" transform="rotate(180 74.5 9)"></path></g><g id="dark-triangles" fill="#000" opacity=".5" transform="translate(13 41)"><path id="Triangle" d="M12.5 0 25 18H0zm31 0L56 18H31zm31 0L87 18H62zm31 0L118 18H93z"></path></g></g></g></g>',1),Cp=[Ep];function Sp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Cp])}const Mp={render:Sp},Bp=t.createStaticVNode('<g id="Top"><defs><path id="LongHairFro-path1" d="M0 0h264v280H0z"></path><path id="LongHairFro-path2" d="M180.666 104.495A11.95 11.95 0 0 1 182 110v13c0 6.019-4.43 11.002-10.209 11.867-1.743 20.248-14.26 37.416-31.791 45.744v9.443c3.832 1.896 8.059 2.946 12.5 2.946 7.621 0 14.61-3.093 20.059-8.242q2.193.241 4.441.242c18.39 0 34.26-12.316 41.622-30.116C224.9 149.814 229 141.454 229 132a32 32 0 0 0-.426-5.223C230.786 120.339 232 113.33 232 106c0-12.866-3.739-24.736-10.046-34.275Q222 70.869 222 70c0-10.957-5.507-20.443-13.53-25.043-7.31-17.588-22.73-29.966-40.773-30.9C163.274 9.075 157.201 6 150.5 6q-1.427.001-2.812.182C137.91 2.196 127.211 0 116 0S94.09 2.196 84.312 6.182A22 22 0 0 0 81.5 6c-6.701 0-12.774 3.075-17.197 8.057-18.044.934-33.463 13.312-40.774 30.9C15.507 49.557 10 59.043 10 70q0 .87.046 1.725C3.739 81.265 0 93.135 0 106c0 7.331 1.214 14.34 3.426 20.777A32 32 0 0 0 3 132c0 9.454 4.1 17.814 10.378 22.884C20.74 172.684 36.61 185 55 185q2.248-.001 4.441-.242C64.889 189.907 71.879 193 79.5 193c4.441 0 8.668-1.05 12.5-2.946v-9.443c-17.53-8.328-30.048-25.496-31.791-45.744C54.43 134.002 50 129.02 50 123v-13c0-1.983.481-3.854 1.333-5.502 2.702-.802 5.677-3.053 8.658-6.33l.009-.002v-.009c6.866-7.556 13.755-20.555 17.37-33.822 11.116 1.737 24.535 2.752 38.984 2.752 14.159 0 27.33-.975 38.314-2.649 3.62 13.226 10.486 26.172 17.332 33.71v.018l.02.003c2.976 3.272 5.947 5.522 8.646 6.326"></path><path id="LongHairFro-path3" d="M65.18 77.737c2.183-1.632 15.227-2.258 17.578-3.648.734-.434 1.303-.873 1.742-1.309.439.436 1.009.875 1.742 1.31 2.351 1.389 15.395 2.015 17.578 3.647 2.21 1.654 3.824 5.448 3.647 8.414-.212 3.56-4.106 12.052-13.795 13.03-2.114-2.353-5.435-3.87-9.172-3.87s-7.058 1.517-9.172 3.87c-9.69-.978-13.583-9.47-13.795-13.03-.176-2.966 1.437-6.76 3.647-8.414m.665 17.164.017.007zm79.018-38.916c-.389-5.955-1.585-11.833-2.629-17.699-.281-1.579-1.81-12.286-2.5-12.286-.232 9.11-1.032 18.08-2.064 27.14-.309 2.708-.632 5.416-.845 8.134-.171 2.196.135 4.848-.397 6.972-.679 2.706-4.08 5.232-6.725 6.165-6.6 2.326-12.105-7.303-17.742-10.12-7.318-3.656-19.897-4.527-27.38.239-7.645-4.766-20.224-3.895-27.542-.239-5.637 2.817-11.142 12.446-17.742 10.12-2.645-.933-6.047-3.459-6.725-6.165-.532-2.124-.226-4.776-.397-6.972-.213-2.718-.536-5.426-.845-8.135C30.298 44.08 29.497 35.11 29.265 26c-.689 0-2.218 10.707-2.5 12.286-1.043 5.866-2.24 11.744-2.627 17.7-.4 6.119.077 12.181 1.332 18.177a165 165 0 0 0 2.049 8.541c.834 3.143-.32 9.262.053 12.488.707 6.104 3.582 18.008 6.811 23.259 1.561 2.538 3.39 4.123 5.433 6.168 1.967 1.97 2.788 5.021 4.91 7.118 3.956 3.908 9.72 6.234 15.64 6.806C65.677 143.05 74.506 146 84.5 146s18.823-2.95 24.135-7.457c5.919-.572 11.683-2.898 15.64-6.806 2.121-2.097 2.942-5.149 4.909-7.118 2.042-2.045 3.872-3.63 5.433-6.168 3.229-5.251 6.104-17.155 6.81-23.259.374-3.226-.78-9.345.054-12.488.75-2.828 1.45-5.676 2.05-8.54 1.254-5.997 1.73-12.06 1.332-18.179"></path></defs><mask id="LongHairFro-mask1" fill="#fff"><use href="#LongHairFro-path1"></use></mask><g id="Top/Long-Hair/Fro" mask="url('#LongHairFro-mask1')"><g transform="translate(-1)"><path id="Shadow" fill="#000" d="M67 109.778c9.038-1.06 21.922-20.447 27.37-40.443 11.116 1.737 24.535 2.752 38.984 2.752 14.159 0 27.33-.975 38.314-2.649 5.462 19.953 18.31 39.269 27.332 40.339V89c0-22.884-11.647-43.048-29.336-54.887-.528 2.482-.88 5.222-1.04 8.184-10.34-1.404-22.396-2.21-35.27-2.21-13.164 0-25.472.842-35.964 2.306-.158-3-.512-5.775-1.047-8.286C78.65 45.947 67 66.113 67 89z" opacity=".16"></path><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairFro-path2" transform="translate(17)"></use></g></g></g>',1),Ap=[Bp];function Vp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ap])}const _p={render:Vp},Np=t.createStaticVNode('<g id="Top"><defs><path id="ShortHairShaggy-path2" d="M0 0h264v280H0z"></path><path id="ShortHairShaggy-path1" d="M198.747 37.856c-5.14-3.832-11.219-7.116-17.56-8.378-6.446-1.282-10.358-1.593-16.704-.073-1.633.392-2.184.78-3.62-.148-1.212-.783-9.663-9.49-35.421-4.657-26.035 4.885-33.77 44.075-43.427 45.566-3.48.537-7.781-.384-7.916-2.527-3.963 6.034-5.008 14.007-3.327 21.074 1.447 6.086 4.497 11.804 9.989 15.137 4.726 2.867 11.26 4.116 16.72 3.587 2.486-.24 4.746-.763 7.033-1.766 2.759-1.21 4.957-3.39 7.664-4.543a54 54 0 0 1-9.176 6.418c-1.64.907-3.304 1.532-5.113 2.024-1.236.336-3.761 1.481-4.956 1.182 7.807 1.396 15.16.18 22.32-3.163 3.23-1.508 6.338-3.332 9.19-5.476 2.833-2.13 6.095-4.307 8.31-7.11-.93 1.204.698-.586.913-.805a67 67 0 0 0 1.787-1.895c1.002-1.104 1.998-2.228 2.93-3.391 1.995-2.486 3.852-5.082 5.508-7.803 1.678-2.756 8.359-13.873 10.375-16.49-1.905 5.708-3.98 11.418-6.407 16.925 4.713-1.47 9.284-5.544 12.295-9.34 3.392-4.276 5.4-9.268 6.108-14.666 3.826 10.416 12.785 18.63 22.032 24.295-2.003-3.73-5.055-6.885-7.052-10.678 9.191 9.329 24.568 13.893 28.595 27.574 1.033-4.758 4.353-8.58 5.348-13.433 1.104-5.389 1.896-11.11 1.72-16.616-.396-12.242-8.631-23.723-18.158-30.824"></path></defs><mask id="ShortHairShaggy-mask2" fill="#fff"><use href="#ShortHairShaggy-path2"></use></mask><g id="Top/Short-Hair/Shaggy" mask="url('#ShortHairShaggy-mask2')"><use fill="var(--avataaar-hair-color)" class="CustomColor" href="#ShortHairShaggy-path1" transform="matrix(-1 0 0 1 285.93 0)"></use></g></g>',1),Dp=[Np];function Tp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Dp])}const Pp={render:Tp},Op=t.createStaticVNode('<g id="Top"><defs><path id="WinterHat3-path3" d="M0 0h264v280H0z"></path><path id="WinterHat3-path1" d="M66 0c36.45 0 66 29.55 66 66v5H0v-5C0 29.55 29.55 0 66 0"></path><path id="WinterHat3-path2" d="M67.285 61.451Q91.202 44 133.073 44q41.869 0 65.659 17.45A8 8 0 0 1 202 67.9v30.47a4 4 0 0 1-6.135 3.383Q170.902 85.999 133.805 86q-37.383 0-63.73 15.994A4 4 0 0 1 64 98.575V67.914a8 8 0 0 1 3.285-6.463"></path></defs><g id="Top/Accessories/Winter-Hat-3" transform="translate(-1)"><g id="hat" transform="translate(67 12)"><circle id="puff" cx="66" cy="8" r="20" fill="#F4F4F4"></circle><use fill="var(--avataaar-top-color)" class="CustomColor" href="#WinterHat3-path1"></use></g><g id="hat-front"><use filter="url('#WinterHat3-path2')" href="#WinterHat3-path2"></use><use fill="#F4F4F4" href="#WinterHat3-path2"></use></g></g></g>',1),Fp=[Op];function Lp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Fp])}const $p={render:Lp},Hp=t.createStaticVNode('<g id="Top"><defs><path id="LongHairFroBand-path1" d="M0 0h264v280H0z"></path><path id="LongHairFroBand-path2" d="M80.02 73.81A55.9 55.9 0 0 0 77 92v6.166c-5.675.952-10 5.888-10 11.834v13c0 6.019 4.43 11.002 10.209 11.867 1.743 20.248 14.26 37.416 31.791 45.744v10.944A36.4 36.4 0 0 1 93.5 195a36.35 36.35 0 0 1-23.19-8.312 54 54 0 0 1-5.81.312c-21.094 0-39.337-12.208-48.049-29.945C8.934 151.924 4 143.288 4 133.5c0-2.115.23-4.175.667-6.159A57.9 57.9 0 0 1 1 107c0-12.756 4.118-24.55 11.097-34.127A29 29 0 0 1 12 70.5c0-11.297 6.573-21.06 16.104-25.67 8.433-18.128 26.454-30.894 47.546-31.78A28.4 28.4 0 0 1 95.5 5c2.327 0 4.589.279 6.754.805C111.776 2.058 122.148 0 133 0c10.346 0 20.255 1.87 29.408 5.292A29 29 0 0 1 166.5 5a28.4 28.4 0 0 1 19.85 8.05c21.092.886 39.113 13.652 47.546 31.78C243.426 49.44 250 59.203 250 70.5q0 1.2-.097 2.373C256.882 82.45 261 94.243 261 107a57.9 57.9 0 0 1-3.667 20.341A28.6 28.6 0 0 1 258 133.5c0 9.788-4.934 18.424-12.451 23.555C236.837 174.792 218.594 187 197.5 187a54 54 0 0 1-5.81-.312A36.35 36.35 0 0 1 168.5 195c-4.018 0-7.884-.65-11.5-1.849v-12.54c17.53-8.328 30.048-25.496 31.791-45.744C194.57 134.002 199 129.02 199 123v-13c0-5.946-4.325-10.882-10-11.834V92c0-5.441-.776-10.702-2.224-15.676l1.377 12.87-11.34-24-45.136-19.523-30.114 10.557L80.065 76.42l-.045-2.609Z"></path></defs><mask id="LongHairFroBand-mask1" fill="#fff"><use href="#LongHairFroBand-path1"></use></mask><g id="Top/Long-Hair/Fro-+-Band" mask="url('#LongHairFroBand-mask1')"><g transform="translate(-1)"><use fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairFroBand-path2"></use><path id="Band" fill="#92D9FF" stroke="none" d="M76.631 98.975A48.6 48.6 0 0 1 76 91.152C76 62.35 101.296 39 132.5 39S189 62.35 189 91.152c0 2.659-.216 5.271-.631 7.823-4.09-25.092-27.545-44.33-55.869-44.33s-51.78 19.238-55.869 44.33"></path></g></g></g>',1),Rp=[Hp];function zp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Rp])}const Ip={render:zp},Gp=t.createStaticVNode('<g id="Top"><defs><path id="ShortHairShaggyMullet-path1" d="M0 0h264v280H0z"></path><path id="ShortHairShaggyMullet-path2" d="M175.126 166.898c.715 2.24 1.749 4.333 3.43 5.788 1.62 1.404 4.512 1.06 6.543 1.117 1.672.048 3.346.053 5.016-.02.839-.036 1.213 1.015.534 1.499q-.195.139-.39.262a39 39 0 0 1-3.25 1.812c-2.524 1.258-5.188 2.244-7.982 2.734-1.916.337-3.816.4-5.654.177a9.8 9.8 0 0 0 1.699 1.94c1.73 1.501 4.816 1.133 6.983 1.194 1.784.052 3.57.057 5.353-.02.895-.039 1.295 1.084.57 1.601a8 8 0 0 1-.416.28 42 42 0 0 1-3.469 1.937c-2.693 1.345-5.536 2.398-8.518 2.922-5.5.966-10.87-.177-15.194-3.708a25 25 0 0 1-3.381-3.36v-2.442a56.2 56.2 0 0 0 18.126-13.713m-93.81-15.304a140 140 0 0 1-2.31 4.597c-4.795 9.11-10.764 20.602-22.507 21.405-1.088.075-1.519 1.347-.67 1.992 11.12 8.453 36.432 13.6 45.445 11.982a54 54 0 0 0 7.726-1.96v-8.999a56.2 56.2 0 0 1-27.685-29.017Zm114.59-82.914c.175 5.507-.617 11.227-1.721 16.616-.995 4.852-4.315 8.675-5.348 13.433-4.027-13.68-19.404-18.245-28.595-27.574 1.997 3.793 5.049 6.948 7.052 10.678-9.247-5.665-18.206-13.88-22.032-24.295-.707 5.398-2.716 10.39-6.108 14.666-3.011 3.796-7.582 7.87-12.295 9.34 2.428-5.507 4.502-11.217 6.407-16.925-2.016 2.617-8.697 13.734-10.375 16.49-1.656 2.72-3.513 5.317-5.507 7.803-.933 1.163-1.929 2.287-2.93 3.391a67 67 0 0 1-1.788 1.895c-.215.219-1.842 2.01-.912.806-2.216 2.802-5.478 4.979-8.31 7.109-2.853 2.144-5.96 3.968-9.192 5.476-7.159 3.343-14.512 4.56-22.32 3.163 1.196.299 3.721-.846 4.957-1.182 1.809-.492 3.474-1.117 5.113-2.024a54 54 0 0 0 9.176-6.418c-2.707 1.152-4.905 3.334-7.664 4.543-2.287 1.003-4.547 1.526-7.032 1.766-5.462.529-11.995-.72-16.721-3.587-5.492-3.333-8.542-9.051-9.99-15.137-1.68-7.067-.635-15.04 3.328-21.074.135 2.143 4.436 3.064 7.916 2.527 9.658-1.49 15.403-38.048 40.427-44.566 19.961-5.2 34.21 3.874 35.42 4.657 1.437.928 1.988.54 3.621.148 6.346-1.52 13.258-2.209 19.705-.927 6.34 1.262 12.418 4.546 17.559 8.378 9.527 7.101 17.762 18.582 18.159 30.824"></path><path id="ShortHairShaggyMullet-path3" d="M65.18 77.737c2.183-1.632 15.227-2.258 17.578-3.648.734-.434 1.303-.873 1.742-1.309.439.436 1.009.875 1.742 1.31 2.351 1.389 15.395 2.015 17.578 3.647 2.21 1.654 3.824 5.448 3.647 8.414-.212 3.56-4.106 12.052-13.795 13.03-2.114-2.353-5.435-3.87-9.172-3.87s-7.058 1.517-9.172 3.87c-9.69-.978-13.583-9.47-13.795-13.03-.176-2.966 1.437-6.76 3.647-8.414m.665 17.164.017.007zm79.018-38.916c-.389-5.955-1.585-11.833-2.629-17.699-.281-1.579-1.81-12.286-2.5-12.286-.232 9.11-1.032 18.08-2.064 27.14-.309 2.708-.632 5.416-.845 8.134-.171 2.196.135 4.848-.397 6.972-.679 2.706-4.08 5.232-6.725 6.165-6.6 2.326-12.105-7.303-17.742-10.12-7.318-3.656-19.897-4.527-27.38.239-7.645-4.766-20.224-3.895-27.542-.239-5.637 2.817-11.142 12.446-17.742 10.12-2.645-.933-6.047-3.459-6.725-6.165-.532-2.124-.226-4.776-.397-6.972-.213-2.718-.536-5.426-.845-8.135C30.298 44.08 29.497 35.11 29.265 26c-.689 0-2.218 10.707-2.5 12.286-1.043 5.866-2.24 11.744-2.627 17.7-.4 6.119.077 12.181 1.332 18.177a165 165 0 0 0 2.049 8.541c.834 3.143-.32 9.262.053 12.488.707 6.104 3.582 18.008 6.811 23.259 1.561 2.538 3.39 4.123 5.433 6.168 1.967 1.97 2.788 5.021 4.91 7.118 3.956 3.908 9.72 6.234 15.64 6.806C65.677 143.05 74.506 146 84.5 146s18.823-2.95 24.135-7.457c5.919-.572 11.683-2.898 15.64-6.806 2.121-2.097 2.942-5.149 4.909-7.118 2.042-2.045 3.872-3.63 5.433-6.168 3.229-5.251 6.104-17.155 6.81-23.259.374-3.226-.78-9.345.054-12.488.75-2.828 1.45-5.676 2.05-8.54 1.254-5.997 1.73-12.06 1.332-18.179"></path></defs><mask id="ShortHairShaggyMullet-mask1" fill="#fff"><use href="#ShortHairShaggyMullet-path1"></use></mask><g id="Top/Short-Hair/Shaggy-Mullet" mask="url('#ShortHairShaggyMullet-mask1')"><g transform="translate(-1)"><use fill="var(--avataaar-hair-color)" class="CustomColor" href="#ShortHairShaggyMullet-path2"></use><path id="Shadow" fill="#000" stroke="none" d="M175.126 166.898c.715 2.24 1.749 4.333 3.43 5.788 1.62 1.404 4.512 1.06 6.543 1.117 1.672.048 3.346.053 5.016-.02.839-.036 1.213 1.015.534 1.499q-.195.139-.39.262a39 39 0 0 1-3.25 1.812c-2.524 1.258-5.188 2.244-7.982 2.734-1.916.337-3.816.4-5.654.177a9.8 9.8 0 0 0 1.699 1.94c1.73 1.501 4.816 1.133 6.983 1.194 1.784.052 3.57.057 5.353-.02.895-.039 1.295 1.084.57 1.601a8 8 0 0 1-.416.28 42 42 0 0 1-3.469 1.937c-2.693 1.345-5.536 2.398-8.518 2.922-5.5.966-10.87-.177-15.194-3.708a25 25 0 0 1-3.381-3.36v-2.442a56.2 56.2 0 0 0 18.126-13.713m-93.81-15.304a140 140 0 0 1-2.31 4.597c-4.795 9.11-10.764 20.602-22.507 21.405-1.088.075-1.519 1.347-.67 1.992 11.12 8.453 36.432 13.6 45.445 11.982a54 54 0 0 0 7.726-1.96v-8.999a56.2 56.2 0 0 1-27.685-29.017Z" opacity=".16"></path></g></g></g>',1),jp=[Gp];function qp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...jp])}const Wp={render:qp},Yp=t.createStaticVNode('<g id="Top"><defs><path id="WinterHat4-path5" d="M0 0h264v280H0z"></path><path id="WinterHat4-path1" d="M129.66 38.357A60.8 60.8 0 0 1 134 61v8H2v-8c0-8.025 1.55-15.688 4.366-22.707Q-3.238 18.099 2.636 5.12q11.257-3.414 26.08 5.419C38.486 3.888 50.289 0 63 0h10c12.722 0 24.535 3.895 34.31 10.557q14.84-8.856 26.11-5.437 5.883 12.999-3.76 33.237"></path><path id="WinterHat4-path2" d="M28.716 10.539c-9.957 6.778-17.804 16.426-22.35 27.754Q-3.238 18.099 2.636 5.12q11.257-3.414 26.08 5.419m100.943 27.818c-4.538-11.346-12.386-21.01-22.349-27.8q14.84-8.856 26.11-5.437 5.883 12.999-3.76 33.237Z"></path><path id="WinterHat4-path3" d="M21.862 15.96a61.3 61.3 0 0 0-11.433 14.08Q6.041 17.878 8.927 13.208q3.977-1.72 12.935 2.751Zm103.49 13.714a61.3 61.3 0 0 0-11.274-13.77q8.704-4.278 12.608-2.59 2.83 4.58-1.333 16.36Z"></path><path id="WinterHat4-path4" d="M67.285 61.451Q91.202 44 133.073 44q41.869 0 65.659 17.45A8 8 0 0 1 202 67.9v30.47a4 4 0 0 1-6.135 3.383Q170.902 85.999 133.805 86q-37.383 0-63.73 15.994A4 4 0 0 1 64 98.575V67.914a8 8 0 0 1 3.285-6.463"></path></defs><g id="Top/Accessories/Winter-Hat-4" transform="translate(-1)"><g id="hat" transform="translate(65 4)"><use fill="var(--avataaar-top-color)" class="CustomColor" href="#WinterHat4-path1"></use><use id="shadow" fill="#000" href="#WinterHat4-path2" opacity=".24"></use><use id="light" fill="#FFF" href="#WinterHat4-path3" opacity=".3"></use></g><g id="hat-front"><use filter="url('#WinterHat4-path4')" href="#WinterHat4-path4"></use><use fill="#F4F4F4" href="#WinterHat4-path4"></use></g></g></g>',1),Up=[Yp];function Xp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Up])}const Zp={render:Xp},Qp={Eyepatch:bf,Hat:Df,Hijab:jf,LongHairBigHair:ah,LongHairBob:hh,LongHairBun:Mh,LongHairCurly:$h,LongHairCurvy:Uh,LongHairDreads:ip,LongHairFrida:kp,LongHairFro:_p,LongHairFroBand:Ip,LongHairMiaWallace:Cf,LongHairNotTooLong:Ff,LongHairShavedSides:Uf,LongHairStraight:ih,LongHairStraight2:kh,LongHairStraightStrand:_h,NoHair:Rh,ShortHairDreads01:Kh,ShortHairDreads02:dp,ShortHairFrizzle:vp,ShortHairShaggy:Pp,ShortHairShaggyMullet:Wp,ShortHairShortCurly:Af,ShortHairShortFlat:Rf,ShortHairShortRound:Kf,ShortHairShortWaved:dh,ShortHairSides:vh,ShortHairTheCaesar:Ph,ShortHairTheCaesarSidePart:jh,Turban:ap,WinterHat1:hp,WinterHat2:Mp,WinterHat3:$p,WinterHat4:Zp},Kp=t.createElementVNode("g",{id:"Facial-Hair/Beard-Light",transform:"translate(49 72)"},[t.createElementVNode("defs",null,[t.createElementVNode("path",{id:"BeardLight-path1",d:"M101.428 98.169c-2.513 2.294-5.19 3.325-8.575 2.604-.582-.124-2.957-4.538-8.853-4.538-5.897 0-8.27 4.414-8.853 4.538-3.385.721-6.062-.31-8.576-2.604-4.725-4.313-8.654-10.26-6.293-16.75 1.23-3.382 3.232-7.095 6.873-8.173 3.887-1.15 9.346-.002 13.264-.788 1.27-.254 2.656-.707 3.585-1.458.929.75 2.316 1.204 3.585 1.458 3.918.786 9.376-.362 13.264.788 3.64 1.078 5.642 4.79 6.873 8.173 2.361 6.49-1.568 12.437-6.294 16.75M140.081 26c-3.41 8.4-2.093 18.858-2.724 27.676-.513 7.167-2.02 17.91-8.384 22.539-3.255 2.367-9.179 6.345-13.431 5.235-2.927-.764-3.24-9.16-7.087-12.303-4.363-3.565-9.812-5.131-15.306-4.89-2.37.105-7.165.08-9.15 1.903-1.983-1.823-6.777-1.798-9.148-1.902-5.494-.242-10.943 1.324-15.306 4.889-3.847 3.143-4.16 11.54-7.087 12.303-4.252 1.11-10.176-2.868-13.431-5.235-6.365-4.63-7.87-15.372-8.384-22.54-.63-8.817.686-19.275-2.724-27.675-1.66 0-.565 16.129-.565 16.129v20.356c.032 15.288 9.581 38.17 30.754 46.908C63.286 111.53 75.015 115 84 115s20.714-3.14 25.892-5.277c21.173-8.737 30.722-31.95 30.754-47.238V42.13S141.74 26 140.081 26"})]),t.createElementVNode("use",{fill:"var(--avataaar-facial-hair-color)",class:"CustomColor",href:"#BeardLight-path1"})],-1),Jp=[Kp];function eg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Jp])}const tg={render:eg},ag=t.createElementVNode("g",{id:"Facial-Hair/Beard-Majestic",transform:"translate(49 72)"},[t.createElementVNode("defs",null,[t.createElementVNode("path",{id:"BeardMajestic-path1",d:"M65.18 77.737c2.183-1.632 15.227-2.258 17.578-3.648.734-.434 1.303-.873 1.742-1.309.439.436 1.009.875 1.742 1.31 2.351 1.389 15.395 2.015 17.578 3.647 2.21 1.654 3.824 5.448 3.647 8.414-.212 3.56-4.106 12.052-13.795 13.03-2.114-2.353-5.435-3.87-9.172-3.87s-7.058 1.517-9.172 3.87c-9.69-.978-13.583-9.47-13.795-13.03-.176-2.966 1.437-6.76 3.647-8.414m.665 17.164.017.007zm79.018-38.916c-.389-5.955-1.585-11.833-2.629-17.699-.281-1.579-1.81-12.286-2.5-12.286-.232 9.11-1.032 18.08-2.064 27.14-.309 2.708-.632 5.416-.845 8.134-.171 2.196.135 4.848-.397 6.972-.679 2.706-4.08 5.232-6.725 6.165-6.6 2.326-12.105-7.303-17.742-10.12-7.318-3.656-19.897-4.527-27.38.239-7.645-4.766-20.224-3.895-27.542-.239-5.637 2.817-11.142 12.446-17.742 10.12-2.645-.933-6.047-3.459-6.725-6.165-.532-2.124-.226-4.776-.397-6.972-.213-2.718-.536-5.426-.845-8.135C30.298 44.08 29.497 35.11 29.265 26c-.689 0-2.218 10.707-2.5 12.286-1.043 5.866-2.24 11.744-2.627 17.7-.4 6.119.077 12.181 1.332 18.177a165 165 0 0 0 2.049 8.541c.834 3.143-.32 9.262.053 12.488.707 6.104 3.582 18.008 6.811 23.259 1.561 2.538 3.39 4.123 5.433 6.168 1.967 1.97 2.788 5.021 4.91 7.118 3.956 3.908 9.72 6.234 15.64 6.806C65.677 143.05 74.506 146 84.5 146s18.823-2.95 24.135-7.457c5.919-.572 11.683-2.898 15.64-6.806 2.121-2.097 2.942-5.149 4.909-7.118 2.042-2.045 3.872-3.63 5.433-6.168 3.229-5.251 6.104-17.155 6.81-23.259.374-3.226-.78-9.345.054-12.488.75-2.828 1.45-5.676 2.05-8.54 1.254-5.997 1.73-12.06 1.332-18.179"})]),t.createElementVNode("use",{fill:"var(--avataaar-facial-hair-color)",class:"CustomColor",href:"#BeardMajestic-path1"})],-1),ng=[ag];function rg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...ng])}const og={render:rg},ig=t.createElementVNode("g",{id:"Facial-Hair/Moustache-Fancy",transform:"translate(49 72)"},[t.createElementVNode("defs",null,[t.createElementVNode("path",{id:"MoustacheFancy-path1",d:"M84 69.297c-6.792-3.586-16.422-4.148-21.611-2.165-5.775 2.205-10.884 8.451-19.75 5.696-.37-.114-.73.217-.619.58 1.374 4.51 9.008 7.599 11.602 7.7 11.34.442 20.473-8.278 30.378-8.947 9.906.67 19.04 9.389 30.379 8.947 2.594-.101 10.228-3.19 11.601-7.7.111-.363-.25-.694-.618-.58-8.867 2.755-13.976-3.49-19.75-5.696-5.19-1.983-14.82-1.42-21.612 2.165"})]),t.createElementVNode("use",{fill:"var(--avataaar-facial-hair-color)",class:"CustomColor",href:"#MoustacheFancy-path1"})],-1),lg=[ig];function sg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...lg])}const cg={render:sg},dg=t.createElementVNode("g",{id:"Facial-Hair/Beard-Medium",transform:"translate(49 72)"},[t.createElementVNode("defs",null,[t.createElementVNode("path",{id:"BeardMedium-path1",d:"M105.018 94.13c-3.868 5.591-6.76 1.817-10.88-1.254-2.481-1.849-6.177-4.148-9.634-4.035-3.456-.113-7.152 2.186-9.633 4.035-4.12 3.07-7.013 6.845-10.88 1.254-2.903-4.198-1.688-11.256 1.024-15.227 3.859-5.652 9.094-2.918 14.947-3.563 1.592-.175 3.19-.617 4.542-1.34 1.352.723 2.95 1.165 4.542 1.34 5.854.645 11.089-2.089 14.948 3.563 2.712 3.97 3.926 11.03 1.024 15.227M140.39 26c-3.424 14.075-4.998 28.434-7.481 42.671a319 319 0 0 1-1.685 8.879c-.127.62-.251 2.923-.862 3.214-1.851.884-5.624-3.817-6.633-4.879-2.533-2.666-5.045-5.356-8.13-7.448-6.235-4.227-13.535-6.726-21.13-7.32-3.178-.248-7.475.186-10.47 1.993-2.995-1.807-7.292-2.24-10.47-1.992-7.596.593-14.895 3.092-21.13 7.32-3.085 2.091-5.597 4.781-8.13 7.447-1.01 1.062-4.782 5.763-6.633 4.88-.61-.292-.735-2.595-.862-3.215a319 319 0 0 1-1.685-8.879C32.607 54.434 31.034 40.075 27.61 26c-.997 0-1.871 18.748-1.983 20.495-.452 7.094-.98 14.03-.305 21.131 1.164 12.249 2.377 27.608 11.71 36.962 8.434 8.451 20.678 10.218 31.24 15.553 1.36.687 3.163 1.535 5.108 2.23 2.049 1.563 6.113 2.629 10.794 2.629 4.91 0 9.142-1.173 11.08-2.862a47 47 0 0 0 4.475-1.997c10.56-5.336 22.805-7.102 31.238-15.553 9.334-9.354 10.547-24.713 11.712-36.962.674-7.1.146-14.037-.306-21.131C142.26 44.748 141.387 26 140.39 26"})]),t.createElementVNode("use",{fill:"var(--avataaar-facial-hair-color)",class:"CustomColor",href:"#BeardMedium-path1"})],-1),ug=[dg];function mg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...ug])}const fg={render:mg};function hg(e,a){return t.openBlock(),t.createElementBlock("svg")}const pg={render:hg},gg=t.createElementVNode("g",{id:"Facial-Hair/Moustache-Magnum",transform:"translate(49 72)"},[t.createElementVNode("defs",null,[t.createElementVNode("path",{id:"MoustacheMagnum-path1",d:"M83.998 74.84a6.04 6.04 0 0 1-2.048 1.85c-8.902 4.82-18.073.642-23.074.94-2.416.144-5.535 1.785-6.66.05-1.24-1.913 2.852-12.46 12.505-14.216 7.01-1.275 16.776.138 19.277 3.474 2.5-3.336 12.267-4.749 19.276-3.474 9.654 1.757 13.745 12.303 12.506 14.215-1.125 1.736-4.244.095-6.66-.05-5.001-.297-14.172 3.881-23.074-.94a6.04 6.04 0 0 1-2.048-1.85Z"})]),t.createElementVNode("use",{fill:"var(--avataaar-facial-hair-color)",class:"CustomColor",href:"#MoustacheMagnum-path1"})],-1),yg=[gg];function kg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...yg])}const xg={render:kg},bg={BeardMajestic:og,BeardLight:tg,MoustacheFancy:cg,BeardMedium:fg,Blank:pg,MoustacheMagnum:xg},wg=t.createStaticVNode('<g id="Clothing/Graphic-Shirt" transform="translate(0 170)"><defs><path id="react-path-1153" d="M165.624 29.268C202.76 32.138 232 63.18 232 101.052V110H32v-8.948c0-38.217 29.775-69.48 67.393-71.855A14 14 0 0 0 99 32.5C99 44.374 113.998 54 132.5 54S166 44.374 166 32.5c0-1.098-.128-2.178-.376-3.232"></path></defs><mask id="react-mask-1154" fill="#fff"><use href="#react-path-1153"></use></mask><use id="Clothes" fill="#E6E6E6" fill-rule="evenodd" href="#react-path-1153"></use><g id="Color/Palette/" fill="var(--avataaar-shirt-color)" fill-rule="evenodd" mask="url(#react-mask-1154)"><path id="Color" d="M0 0h264v110H0z"></path></g><g id="Clothing/Graphic/Bat" fill="#FFF" fill-rule="evenodd"><path id="Batman!" d="M87.685 13.403c-1.393-6.431-6.21-10.15-12.5-11.586-2.526-.577-10.913-2.387-9.607 2.408.593 2.172.263 3.964-1.553 5.766-1.77 1.755-5.231 2.2-6.952-.011-1.474-1.895.427-4.721-.721-6.567-.446-.717-1.216-1.083-2.028-.732-1.141.494-.534 1.555-1.073 2.318-.849 1.203-1.245.826-2.01-.373-.48-.754-.008-1.575-1.246-1.897-1.433-.372-1.903.828-2.032 1.923-.082.687.322 1.792.336 2.488.027 1.364-.09 3.323-.725 4.529-1.125 2.137-2.704 1.453-4.383.096-1.98-1.602-2.561-3.385-2.178-5.817.459-2.917.292-5.709-3.28-3.884-5.02 2.564-9.68 7.135-12.588 11.919-2.445 4.02-4.37 8.893-2.203 13.473 2.21 4.675 5.862 8.69 10.966 9.883 1.321.31 5.092 1.811 6.345.552 1.947-1.957-2.548-3.783-3.435-4.975-1.258-1.69-2.337-4.915-.957-6.822 1.76-2.427 3.6-1.074 5.045.644 1.136 1.348 2.75 4.826 4.506 2.022 1.21-1.931 1.101-5.102 4.4-3.717 4.715 1.978 4.86 11.112 5.7 15.291.367 1.83 2.035 4.064 3.47 1.525.79-1.396.364-4.421.22-5.863-.296-2.985-1.08-5.92-.11-8.877.562-1.71 2.001-4.16 4.13-2.844 1.725 1.066 1.006 5.816 3.353 5.807 2.066-.007 1.502-3.791 2.603-5.039 1.68-1.904 4.916-.999 5.91 1.249 1.336 3.025-2.203 5.126-2.044 7.785.154 2.591 3.494 1.58 4.89.923 2.872-1.35 5.119-3.853 6.676-6.571 2.407-4.204 4.125-10.222 3.075-15.026" transform="translate(77 58)"></path></g></g>',1),vg=[wg];function Eg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...vg])}const Cg={render:Eg},Sg=t.createStaticVNode('<g id="Clothing/Graphic-Shirt" transform="translate(0 170)"><defs><path id="react-path-1153" d="M165.624 29.268C202.76 32.138 232 63.18 232 101.052V110H32v-8.948c0-38.217 29.775-69.48 67.393-71.855A14 14 0 0 0 99 32.5C99 44.374 113.998 54 132.5 54S166 44.374 166 32.5c0-1.098-.128-2.178-.376-3.232"></path></defs><mask id="react-mask-1154" fill="#fff"><use href="#react-path-1153"></use></mask><use id="Clothes" fill="#E6E6E6" fill-rule="evenodd" href="#react-path-1153"></use><g id="Color/Palette/" fill="var(--avataaar-shirt-color)" fill-rule="evenodd" mask="url(#react-mask-1154)"><path id="Color" d="M0 0h264v110H0z"></path></g><g id="Clothing/Graphic/Cumbia" fill-rule="evenodd" stroke-width="1"><g id="Group" fill="#FFF" transform="translate(77 64)"><path id="Fill-1" d="M10.272 24.132c3.273-.559 5.73-3.554 5.18-6.788-.464-2.724-1.745-.343-2.976.853-1.335 1.298-2.45 2.574-4.536 2.054-3.607-.9-4.858-5.4-3.84-8.48a5.94 5.94 0 0 1 3.478-3.696c1.852-.746 3.204.09 4.748 1.094.289.187 1.73 1.37 1.994 1.25.462-.211.115-2.43.045-2.725-.338-1.421-1.266-2.575-2.617-3.238-3.333-1.635-7.514.489-9.64 3.055-4.884 5.897-.92 18.164 8.164 16.62"></path><path id="Fill-5" d="M20.283 5.038q0 .003 0 0m-1.594 12.865c.503 3.474 2.977 6.5 6.952 6.357 4.278-.155 6.056-4.098 7.008-7.486.957-3.399 2.052-7.683.664-11.093-.42-1.032-.685-2.38-1.716-1.53-1.252 1.033-1.409 4.039-1.515 5.442-.2 2.647-.781 9.97-4.108 10.944-4.179 1.222-4.048-5.847-4-7.977.04-1.896.246-3.734-.342-5.584-.313-.985-.59-2.44-1.528-1.634-1.29 1.108-1.453 3.828-1.544 5.327-.144 2.405-.214 4.842.129 7.234"></path><path id="Fill-7" d="M37.783 20.746c.188.412.624 1.402 1.02 1.679.944.66-.055.708.8-.059.813-.729 1.13-2.717 1.254-3.67.385-2.96-.12-6.108-.087-9.093 1.024 2.218 1.584 4.584 2.386 6.874.554 1.582 1.396 4.804 3.654 4.753 2.443-.055 2.57-3.145 2.894-4.819.461-2.37.97-4.721 1.676-7.037.092 3.91-1.427 10.995 2.108 13.92.014.013 1.432-4.15 1.467-4.406.223-1.691.083-3.444.107-5.148.051-3.597.718-8.003-.3-11.506C54.435 1.1 53.788-.03 52.354.001c-1.825.04-2.233 1.985-2.698 3.298-1.28 3.614-2.445 7.224-3.357 10.94-.548-1.68-5.339-16.421-8.789-10.901-.555.888-.315 2.218-.338 3.196-.044 1.879-.155 3.756-.196 5.635-.061 2.843-.41 5.907.808 8.577"></path><path id="Fill-9" d="M62.02 7.71c.72-.135 5.735-1.727 5.523-.136-.223 1.675-4.633 3.309-5.816 3.876a10.6 10.6 0 0 0-.643-3.567zm5.717-.64s-.027-.035 0 0m.122 8.341c2.272 1.22 1.287 3.417-.426 4.608-.649.45-6.53 1.802-6.513 1.663q.001.005-.004.005c.18-1.694-.257-5.018 1-6.02 1.304-1.04 4.5-.808 5.943-.256m.062-7.995c.009.022.001.002 0 0M57.944 24.26c.224.551.86 1.912 1.566 1.945.86.04.794-1.043.929-1.71 3.441 1.721 8.498-.047 10.907-3.03 2.787-3.45 1.348-8.27-2.579-9.745 2.113-1.688 4.026-5.399 1.255-7.49-2.196-1.655-5.828-1.747-8.123-.302-2.735 1.723-3.85 5.833-4.09 9.006-.255 3.382-1.158 8.125.135 11.326"></path><path id="Fill-11" d="M76.05 15.871c.074 2.07-.15 4.287.332 6.306.171.717.433 1.511.76 2.162.611 1.215.31 1.05 1.032.36 2.172-2.083 1.209-8.575 1.157-11.249-.041-2.078.064-4.28-.513-6.283-.162-.562-1.123-3.348-1.655-3.284-.816.098-1.376 3.93-1.423 4.693-.148 2.396.226 4.895.31 7.295"></path><path id="Fill-13" d="M94.748 16.43c-1.582-.137-3.622.075-5.117.557.697-1.916 1.475-4.054 2.238-5.79q.711-1.635 1.494-3.24c1.278 2.686 1.992 5.828 2.832 8.666q-.72-.13-1.447-.193m5.44.725c-.727-2.78-1.579-5.532-2.426-8.28-.538-1.743-1.13-3.911-2.6-5.168C91 .146 88.635 9.557 87.614 11.94c-.985 2.296-2.216 4.634-2.85 7.049a9.5 9.5 0 0 0-.244 3.652c.205 1.519-.004 1.741 1.294.914 1-.636 1.414-1.792 2.227-2.562.144-.136.218-.668.39-.755.188-.096 1.504.253 1.815.274 2.17.151 4.712-.218 6.715-1.054.205.842 1.627 5.962 2.977 5.773.597-.083.965-3.064.992-3.537.087-1.553-.352-3.049-.742-4.538"></path><path id="Fill-15" d="M109.302 3.432c-.264-1.203-.814-3.292-1.842-2.112-1.39 1.596-1.09 5.173-1.111 7.177-.015 1.451-1.552 12.062.556 11.883-.09 0 .845-1.668.98-1.922.815-1.524 1.131-2.97 1.329-4.722.365-3.237.783-7.111.088-10.304"></path><path id="Fill-17" d="M108.164 24.301c-2.24-2.728-6.311.658-5.041 3.374 1.729 3.7 7.331-.56 5.041-3.374"></path><path id="Fill-19" d="M94.898 28.545c-2.891-.738-6.297-.24-9.249-.152-3.081.092-6.16.264-9.24.357-6.568.198-13.124.092-19.692.038-12.454-.103-24.935.69-37.383.168-2.672-.112-5.545-.713-8.198-.209-.727.139-3.009.543-3.329 1.266-.336.76 1.402 1.555 2.331 1.955 2.422 1.044 5.329.858 7.9.964 2.93.12 5.887.058 8.819-.014 12.075-.297 24.089-1.343 36.18-1.165 6.976.103 13.937.038 20.912.001 3.32-.017 7 .526 10.273-.062.552-.1 3.763-.854 3.807-1.836.02-.453-2.806-1.228-3.13-1.311"></path></g></g></g>',1),Mg=[Sg];function Bg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Mg])}const Ag={render:Bg},Vg=t.createStaticVNode('<g id="Clothing/Graphic-Shirt" transform="translate(0 170)"><defs><path id="react-path-1153" d="M165.624 29.268C202.76 32.138 232 63.18 232 101.052V110H32v-8.948c0-38.217 29.775-69.48 67.393-71.855A14 14 0 0 0 99 32.5C99 44.374 113.998 54 132.5 54S166 44.374 166 32.5c0-1.098-.128-2.178-.376-3.232"></path></defs><mask id="react-mask-1154" fill="#fff"><use href="#react-path-1153"></use></mask><use id="Clothes" fill="#E6E6E6" fill-rule="evenodd" href="#react-path-1153"></use><g id="Color/Palette/" fill="var(--avataaar-shirt-color)" fill-rule="evenodd" mask="url(#react-mask-1154)"><path id="Color" d="M0 0h264v110H0z"></path></g><g id="Clothing/Graphic/Diamond" fill-rule="evenodd" stroke-width="1"><g id="Diamond" fill="#FFF" transform="translate(106 60)"><path id="Fill-21" d="M34.78 27.737c-2.389 2.656-4.857 5.243-7.335 7.82.985-3.553 1.74-7.578 3.204-10.958.417-.962.1-1.084.927-1.493.609-.301 2.078.043 2.807.062 1.557.039 3.15.192 4.696-.05a222 222 0 0 0-4.299 4.619m-15.264 4.061c-2.699-3.282-5.384-6.568-8.658-9.317 1.289.137 2.696-.043 3.958.206 1.944.384 1.837.99 2.82 2.959 1.45 2.906 2.889 5.789 4.05 8.823-.711-.9-1.441-1.785-2.17-2.67m-9.098-12.532c.963-1.575 1.144-2.972 2.92-3.78 2.06-.939 5.3-.742 7.488-.916-1.37 1.523-3.037 3.103-3.604 5.122-.874-1.718-1.962-3.174-3.67-4.17-.215-.107 1.158 4.55 1.338 4.87-1.716-.096-3.522-.408-5.225-.092zm16.406-5.008c1.591.036 3.17.16 4.74.42-1.267 1.674-1.649 3.631-2.099 5.63-.478-2.258-2.209-4.362-3.734-6.048zm-3.498 1.074c.234-.158 4.457 5.086 5.066 5.556-3.312-.008-6.618-.17-9.926-.315 1.907-1.487 3.023-3.688 4.86-5.24m2.686 17.095c-.401 1.349-.777 2.708-1.214 4.047-1.555-4.732-3.862-9.188-6.008-13.674 3.34.088 6.676.209 10.016.256-.82 3.158-1.862 6.245-2.794 9.37m7.23-17.462c1.277 1.128 3.097 3.44 3.686 4.217a10 10 0 0 0 .179.23c.21.261.966 1.255 1.263 1.644-2.227-.226-4.545-.13-6.78-.15.498-2.054 1.104-4.012.584-6.128q.536.086 1.068.187m7.648 5.617c-2.158-2.676-4.37-7.258-7.864-8.077-3.472-.814-7.548-.454-11.074-.23-3.075.194-8.083-.204-10.795 1.593-1.393.923-2.425 3.005-2.908 4.551-.434 1.393.266 2.285-1.246 2.285-.096 0 2.504 3.673 2.81 3.962 2.272 2.14 4.444 4.202 6.457 6.597 2.835 3.374 5.405 8.338 9.145 9.736-.686-.339 2.792-2.967 3.21-3.419 2.11-2.288 4.246-4.554 6.372-6.83 1.938-2.073 4.05-4.03 5.93-6.15 1.435-1.619 1.439-2.175-.037-4.018"></path><path id="Fill-23" d="M6.999 12c.043.014-.909-2.045-.825-1.919-.475-.719-1.046-1.24-1.738-1.727C3.708 7.843.127 7.254 0 7c1.494 2.652 4.167 4.128 6.999 5"></path><path id="Fill-25" d="M22.355 7.196A6.2 6.2 0 0 0 23.15 9c.07.078.859-4.184.85-4.547C23.988 3.832 23.613 0 22.815 0c-1.337 0-.674 6.47-.459 7.196"></path><path id="Fill-27" d="M48.97 5c-2.992 0-9.68 5.854-8.908 9 .005.01.447-.35.35-.283l.057-.043c1.272-1.025 2.718-2.02 3.992-3.206.911-.85 1.987-1.612 2.816-2.54C47.362 7.832 49.263 5 48.97 5"></path></g></g></g>',1),_g=[Vg];function Ng(e,a){return t.openBlock(),t.createElementBlock("svg",null,[..._g])}const Dg={render:Ng},Tg=t.createStaticVNode('<g id="Clothing/Graphic-Shirt" transform="translate(0 170)"><defs><path id="react-path-1153" d="M165.624 29.268C202.76 32.138 232 63.18 232 101.052V110H32v-8.948c0-38.217 29.775-69.48 67.393-71.855A14 14 0 0 0 99 32.5C99 44.374 113.998 54 132.5 54S166 44.374 166 32.5c0-1.098-.128-2.178-.376-3.232"></path></defs><mask id="react-mask-1154" fill="#fff"><use href="#react-path-1153"></use></mask><use id="Clothes" fill="#E6E6E6" fill-rule="evenodd" href="#react-path-1153"></use><g id="Color/Palette/" fill="var(--avataaar-shirt-color)" fill-rule="evenodd" mask="url(#react-mask-1154)"><path id="Color" d="M0 0h264v110H0z"></path></g><g id="Clothing/Graphic/Pizza" fill-rule="evenodd" stroke-width="1"><g id="Group-2" fill="#FFF" transform="translate(112 59)"><path id="Fill-29" d="M30.933 24.391c-4.082 1.38-8.55 3.324-10.905 7.074-1.847 2.942-1.971-.455-4.55.593-2.508 1.019-1.822 5.223-2.733 7.301-.708-1.191-1.043-2.516-1.935-3.604a6.6 6.6 0 0 0 1.814-1.724c.156-.32-4.792.348-5.076.43-1.411.401-2.74.77-4.088 1.429a79 79 0 0 0 1.965-2.989q.31-1.02 1.108-.006c.748.036 1.178.357 1.962.177 2.915-.667 3.843-6.223.25-5.987a93 93 0 0 0 4.253-8.802c.502 4.291 6.08 2.813 7.719.525 2.14-2.989-.604-8.662-4.484-8.112.581-1.375 1.17-2.762 1.65-4.178 1.092 1.61 3.001 2.39 4.538 3.457a18.2 18.2 0 0 1 4.163 4.006c2.386 3.14 3.793 7.007 6.215 10.052a7 7 0 0 0-1.866.358m9.006-4.388c-.632-5.757-5.15-11.601-9.44-15.176-2.55-2.125-10.24-7.385-13.306-3.34 2.472 1.071 5.2 1.33 7.65 2.489 3.32 1.572 5.922 4.16 8.168 7.055 3.137 4.045 7.97 12.283.474 14.386.518-.338.819-.709 1.228-1.308-1.007-.233-.6-1.878-.954-2.952-.412-1.25-1.21-2.467-1.884-3.582a57 57 0 0 0-3.504-5.171c-1.678-2.186-3.686-3.907-5.977-5.396-.907-.589-1.775-1.11-2.817-1.415-1.349-.394-.907.086-1.276-1.146-.232-.773-.024-1.763-.246-2.592-1.973 1.658-2.615 4.055-3.5 6.381-1.02 2.684-2.122 5.335-3.196 7.997-2.635 6.535-6.034 12.395-9.891 18.247-.672 1.02-2.165 2.95-1.09 4.174.96 1.095 2.33.306 3.386-.139 1.436-.604 3.385-2.164 4.935-1.347 1.998 1.054 1.054 4.984 4.214 4.827 3.114-.154 2.527-5.28 3.527-7.317 2.311 1.685 4.175.64 5.579-1.611 1.626-2.61 3.775-3.657 6.513-4.938 1.12-.524 3.034-1.94 4.2-2.115.966-.145 1.893.883 3.184.837 3.098-.113 4.392-4.253 4.023-6.848"></path><path id="Fill-31" d="M18.537 22.834c-2.425-.445-5.807-.074-6.029 3.153-.136 1.978 1.41 3.848 3.082 4.664 5.122 2.5 9.109-6.688 2.947-7.817"></path><path id="Fill-33" d="M28.336 19.158c-.65-.706-1.703-1.24-2.675-.993.31-.214.568-.6.864-.839-3.156-2.286-5.14 3.479-3.346 5.748 2.717 3.44 8.037-.766 5.157-3.916"></path></g></g></g>',1),Pg=[Tg];function Og(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Pg])}const Fg={render:Og},Lg=t.createStaticVNode('<g id="Clothing/Graphic-Shirt" transform="translate(0 170)"><defs><path id="react-path-1153" d="M165.624 29.268C202.76 32.138 232 63.18 232 101.052V110H32v-8.948c0-38.217 29.775-69.48 67.393-71.855A14 14 0 0 0 99 32.5C99 44.374 113.998 54 132.5 54S166 44.374 166 32.5c0-1.098-.128-2.178-.376-3.232"></path></defs><mask id="react-mask-1154" fill="#fff"><use href="#react-path-1153"></use></mask><use id="Clothes" fill="#E6E6E6" fill-rule="evenodd" href="#react-path-1153"></use><g id="Color/Palette/" fill="var(--avataaar-shirt-color)" fill-rule="evenodd" mask="url(#react-mask-1154)"><path id="Color" d="M0 0h264v110H0z"></path></g><g id="Clothing/Graphic/Selena" fill-rule="evenodd" stroke-width="1"><g id="Selena" fill="#FFF" transform="translate(94 58)"><path id="Bom-Bom" d="M65.303 7.568c-.156.93-1.922 5.089-3.229 2.95-.509-.832.402-3.46.685-4.209.558-1.472.974-1.638 2.263-2.33.109 1.188.411 2.398.281 3.589m-2.984 3.319c.03.012.158.132 0 0m-.008-.007c-.006-.004 0 0 0 0M55.03 6.205c.01.008.053.042 0 0M42.555 11.16c-.207 1.22-.475 2.439-.904 3.6-.17-1.732.103-3.456 1-4.95q-.015.676-.096 1.35m-.01-2.502c-.004-.016-.159-.24 0 0M25.908 18.803c.153-1.533.768-3.017 1.906-4.044-.277 1.625-1.072 2.67-1.906 4.044m49.93-13.506c0 .637-2.06 2.335-2.574 2.803-.879.799-1.815 1.44-3.077 1.254-3.462-.51-2.09-4.206-2.641-6.481-.434-1.788-.879-1.114-2.082-1.227-1.118-.104-1.518-.656-2.682.187-2.096 1.519-3.766 3.496-4.659 5.98-.324-1.695-1.245-4.503-3.452-4.093-1.632.303-2.984 2.926-3.663 4.243-.052-1.198-.668-3.076-2.175-2.218-1.036.589-.991 3.381-1.218 4.41-.465 2.111-1.379 7.617-4.644 6.901 1.029-1.918 3.28-7.97 1.35-9.937-2.712-2.762-4.775 4.156-4.886 5.84-.08 1.205.806 3.944.329 4.692-.585.918-2.428 1.313-3.303.641-1.405-1.078-.85-2.83-.53-4.199.422-1.794.62-3.597.734-5.437.085-1.38 1.286-7.548-1.028-7.632-2.095-.075-2.309 5.138-2.458 6.563-.185 1.751-.296 3.525-.235 5.288.062 1.782.394 2.97-.297 4.643-.74 1.793-4.264 7.17-6.373 3.6 2.24-.983 4.911-5.518 3.71-8.067-1.667-3.534-5.416 1.85-5.96 3.656-.877 2.915-.491 6.722 2.864 7.671 3.493.989 6.19-2.286 7.421-5.18 1.002 1.588 2.845 1.986 4.55 1.505a5.8 5.8 0 0 0 1.89-.947c1.07-.81.444-.509 1.58-.542 3.297-.094 5.096-1.153 6.332-4.545-.015.934.343 2.36 1.598 1.849.974-.397.968-2.01 1.148-2.87.57-2.713 1.466-5.541 3.599-7.422 1.84 2.002.48 5.427 1.69 7.56 1.868 3.288 2.808-2.532 3.1-3.654.057 4.882 5.861 3.084 7.118-.157 3.3 3.515 10.234.349 8.923-4.678"></path><path id="Bidi" d="M69.434 15.349c-3.63 0-7.605 1.026-11.127 1.817a98 98 0 0 0-10.502 2.97c-3.871 1.339-7.812 2.554-11.59 4.122-3.276 1.36-7.508 2.353-9.512 5.416-.004.008 2.102-.088 2.272-.117 1.05-.174 1.952-.543 2.917-.956 1.747-.746 3.482-1.519 5.224-2.276 3.904-1.698 7.98-3.095 11.988-4.554 3.996-1.453 8.095-2.685 12.255-3.625 3.39-.767 7.182-.914 10.303-2.273q-.176.066.23-.091c-.079.038-2.221-.433-2.458-.433m-47.317 5.476c-2.27-.998-5.477-.558-7.835-.239-2.143.29-5.496.935-6.833 1.108-1.106.14-4.406 1.04-5.01-.197-.649-1.331 2.72-5.403 3.456-6.363 3.315-4.32 7.3-9.12 12.08-11.923-.44 1.95-.825 3.918-1.227 5.876-.166.808-.95 5.164.486 5.508.59.14 1.772-2.783 1.87-3.044.823-2.19 1.012-4.71 1.391-7.002.217-1.311 1.2-4.05-.694-4.502-1.629-.389-3.836 1.727-4.923 2.619-3.282 2.692-6.127 5.947-8.787 9.22-1.31 1.613-2.615 3.234-3.714 4.997-.904 1.45-3.09 4.49-2.145 6.282 1.698 3.221 9.84.398 12.432-.032 2.045-.339 4.152-.66 6.227-.376 2.162.295 2.057 1.27 1.339 3.196-1.478 3.96-4.776 7.36-7.724 10.32-1.299 1.303-6.38 7.419-7.66 4.091-.87-2.26-.1-5.035.9-7.114.468-.973 1.089-1.861 1.577-2.824.133-.263.802-2.425.947-2.473-3.87 1.35-6.117 6.585-6.332 10.287-.102 1.741.136 4.324 1.8 5.368s3.226-.227 4.549-1.185c3.642-2.64 6.891-5.998 9.865-9.335 1.626-1.824 8.453-10.287 3.965-12.263"></path></g></g></g>',1),$g=[Lg];function Hg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...$g])}const Rg={render:Hg},zg=t.createStaticVNode('<g id="Clothing/Graphic-Shirt" transform="translate(0 170)"><defs><path id="react-path-1153" d="M165.624 29.268C202.76 32.138 232 63.18 232 101.052V110H32v-8.948c0-38.217 29.775-69.48 67.393-71.855A14 14 0 0 0 99 32.5C99 44.374 113.998 54 132.5 54S166 44.374 166 32.5c0-1.098-.128-2.178-.376-3.232"></path></defs><mask id="react-mask-1154" fill="#fff"><use href="#react-path-1153"></use></mask><use id="Clothes" fill="#E6E6E6" fill-rule="evenodd" href="#react-path-1153"></use><g id="Color/Palette/" fill="var(--avataaar-shirt-color)" fill-rule="evenodd" mask="url(#react-mask-1154)"><path id="Color" d="M0 0h264v110H0z"></path></g><g id="Clothing/Graphic/Skull-Outline" fill-rule="evenodd" stroke-width="1"><g id="Skull" fill="#FFF" transform="translate(113 59)"><path id="Boo!" d="M36.335 17.04c-.18 1.038-.442 2.069-.988 2.989-.72 1.211-2.026 1.707-2.783 2.818-1.193 1.752.392 4.276-.786 5.837-1.266 1.68-4.142.663-5.262 2.892-1.18 2.35.538 5.492-.943 7.83-1.47-.37-1.922-5.886-4.189-2.367-1.452 2.254-.471 3.475-2.649.235-.756-1.125-1.61-2.136-3.096-1.393-1.043.521-1.258 2.837-2.21 3.086-2.333.612-2.418-5.617-3.212-6.796-.436-.648-.842-1.032-1.617-1.277-.672-.213-1.869.215-2.425-.1-1.045-.592-1.186-2.556-1.225-3.598-.074-1.939.575-3.919.04-5.838-.451-1.612-1.887-2.603-2.357-4.183C.1 8.64 11.683 3.895 18.3 3.63c7.74-.31 19.037 4.222 18.036 13.41m1.838-5.316c-1.456-3.441-4.655-6.177-7.915-8.013a18.5 18.5 0 0 0-5.085-1.94c-1.641-.36-3.558-.123-5.125-.576C18.728.812 17.91-.048 16.356.002c-2.118.068-4.319 1.172-6.168 2.086-3.66 1.807-6.771 4.148-8.726 7.743-2.098 3.859-1.9 7.356.349 10.952 2.145 3.434-.974 8.262 2.167 11.526C5.3 33.68 6.6 32.68 7.85 33.34c.962.508.921 3.462 1.188 4.328 1.2 3.893 5.514 5.4 7.506 1.191.94 2.353 4.655 4.764 6.385 1.686 1.082 1.4 2.954 1.995 4.383.795 1.344-1.128 1.492-3.755 1.56-5.343.054-1.238-.497-2.764.454-3.658 1.047-.984 3.194-.57 4.37-1.839 1.34-1.45.789-3.146.892-4.872.104-1.746.416-1.301 1.71-2.562 2.885-2.81 3.374-7.807 1.875-11.343"></path><path id="Boo!" d="M14.42 28.121c2.02-1.822 1.591-7.397 1.424-9.959-.316-4.86-3.355-3.408-5.206-.38-1.4 2.29-4.766 5.994-3.257 8.876 1.202 2.296 5.18 3.136 7.039 1.463m13.37-8.847c-1.034-1.92-1.42-2.212-2.65-3.785-.791-1.011-1.9-2.802-3.404-2.442-2.582.62-1.528 6.612-1.498 8.402.024 1.358-.277 2.765.851 3.728 1.155.986 3.053.897 4.44.69 4.259-.633 4.062-3.253 2.262-6.593M19.24 31.83c-.284-.036.077-.362.12-.587.187.614.326.643-.12.587m1.045-4.31c-2.617-2.77-7.574 6.397-4.08 7.425.805.237 1.4-.363 2.155-.468 1.1-.153 2.024.487 2.973-.522 1.491-1.584.187-5.098-1.048-6.436"></path></g></g></g>',1),Ig=[zg];function Gg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ig])}const jg={render:Gg},qg=t.createStaticVNode('<g id="Clothing/Graphic-Shirt" transform="translate(0 170)"><defs><path id="react-path-1153" d="M165.624 29.268C202.76 32.138 232 63.18 232 101.052V110H32v-8.948c0-38.217 29.775-69.48 67.393-71.855A14 14 0 0 0 99 32.5C99 44.374 113.998 54 132.5 54S166 44.374 166 32.5c0-1.098-.128-2.178-.376-3.232"></path></defs><mask id="react-mask-1154" fill="#fff"><use href="#react-path-1153"></use></mask><use id="Clothes" fill="#E6E6E6" fill-rule="evenodd" href="#react-path-1153"></use><g id="Color/Palette/" fill="var(--avataaar-shirt-color)" fill-rule="evenodd" mask="url(#react-mask-1154)"><path id="Color" d="M0 0h264v110H0z"></path></g><g id="Clothing/Graphic/Bear" fill-rule="evenodd" stroke-width="1"><defs><path id="poly-1" d="M47.892.43v41.49H.453V.43z"></path></defs><g id="Group-76" transform="translate(108 59)"><path id="Fill-74" fill="#FFF" d="M34.447 31.586c-.479 2.816-4.08 7.345-7.147 4.384-3.467-3.344 4.225-4.81 1.481-7.594-1.184-1.2-4.412-.537-6.002-.41-1.49.117-3.866.454-3.296 2.624.433 1.65 1.71.944 2.389 1.892.535.748.308 3.507-.49 4.267-1.002.956-2.189.663-3.584.05-3.192-1.4-4.677-5.312-2.575-8.216 4.155-5.741 20.067-7.059 19.224 3.003M14.985 14.724c.985-.443 2.148-.203 2.732.787.802 1.356-.357 3.173-1.975 2.956-1.707-.23-2.57-2.919-.757-3.743m17.962 1.655c-.856 3.006-5.636-.378-2.936-2.29 1.552-1.099 3.447.491 2.936 2.29m14.88 6.79c-.236-2.38-.9-4.646-2.088-6.73-.623-1.093-1.393-2.111-2.19-3.081-.3-.365-.906-1.008-1.023-1.213-.709-1.24-.638-.362-.247-1.785.616-2.243 1.947-4.08.884-6.49-.99-2.24-3.655-3.293-5.984-3.426a8.2 8.2 0 0 0-3.207.449c-1.035.368-2.001 1.64-2.9 1.9-.698.204-2.685-.46-3.441-.508-1.395-.089-2.798-.05-4.192.034-1.63.096-5.376 1.263-6.913.877-1.015-.255-2.209-1.781-3.381-2.164C11.853.61 10.467.468 9.178.954c-2.285.864-4 3.552-4.053 5.942-.028 1.255.655 2.115.79 3.25.203 1.716.437.357-.487 1.726-.47.697-1.295 1.31-1.824 1.982C.779 17.44-.28 22.732.974 27.074c3.159 10.94 13.668 15.394 24.44 14.793 9.25-.516 23.564-7.718 22.413-18.698"></path></g></g></g>',1),Wg=[qg];function Yg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Wg])}const Ug={render:Yg},Xg=t.createStaticVNode('<g id="Clothing/Graphic-Shirt" transform="translate(0 170)"><defs><path id="react-path-1153" d="M165.624 29.268C202.76 32.138 232 63.18 232 101.052V110H32v-8.948c0-38.217 29.775-69.48 67.393-71.855A14 14 0 0 0 99 32.5C99 44.374 113.998 54 132.5 54S166 44.374 166 32.5c0-1.098-.128-2.178-.376-3.232"></path></defs><mask id="react-mask-1154" fill="#fff"><use href="#react-path-1153"></use></mask><use id="Clothes" fill="#E6E6E6" fill-rule="evenodd" href="#react-path-1153"></use><g id="Color/Palette/" fill="var(--avataaar-shirt-color)" fill-rule="evenodd" mask="url(#react-mask-1154)"><path id="Color" d="M0 0h264v110H0z"></path></g><g id="Clothing/Graphic/Deer" fill="#FFF" fill-rule="evenodd"><path id="oh,-deer!" d="M76.96 16.235c.395 1.425-2.228 2.67-3.106 3.419-1.507 1.283-3.065 2.634-4.825 3.547-.748.388-1.553.703-2.362.935-1.247.357-1.104.107-1.58 1.165-.838 1.86-1.055 4.334-1.812 6.312-1.704 4.454-5.767 14.8-12.267 10.259-2.068-1.445-3.197-4.247-4.36-6.436-1.335-2.512-2.613-5.508-3.381-8.25-.375-1.336-.137-1.79-1.13-2.415-.622-.392-1.679-.493-2.383-.78-1.5-.61-2.813-1.436-4.088-2.43-1.238-.966-6.11-4.951-2.132-5.691 1.825-.34 4.217-.214 6.067-.12 2.027.102 4.073.57 5.876 1.535 1.841.987 1.301.701 3.21.15-3.322-1.126-6.649-2.998-8.884-5.781-1.207-1.503-4-7.654-1.9-9.065 2.52-1.696 2.73 5.346 3.439 6.567 1.592 2.744 4.508 3.78 7.042 5.299-1.74-1.668-3.04-3.505-3.673-5.868-.275-1.025-1.026-3.489-.519-4.486.529-1.04 1.772-1.106 2.458-.22.618.797.462 2.63.674 3.591.35 1.589.921 2.81 1.982 4.04 1.505 1.747 3.417 3.175 5.669 3.728 5.127 1.258 6.92-4.108 7.608-8.245.168-1.013-.08-2.693 1.05-3.18 1.367-.588 1.896.747 1.936 1.782.087 2.314-1.056 5.857-2.166 7.845 2.79-1.732 5.003-4.478 5.899-7.688.33-1.188.062-3.836 1.174-4.503 1.54-.924 2.029.917 1.975 2.022-.319 6.515-5.298 12.44-11.488 14.069 1.518.759 1.318.93 2.848.023.885-.525 1.845-.93 2.827-1.23 1.47-.452 3.055-.682 4.58-.817 1.22-.107 5.274-.817 5.742.917m-18.1 8.386c.86-2.138-2.496-2.216-2.822.095-.416 2.945 2.755 3.176 2.822-.095m-1.93 9.016c.659-2.196-3.526-2.112-3.896-.17-.436 2.291 3.406 1.73 3.896.17M51.702 27c2.324 0 3.272-3.065.997-3.861-2.89-1.013-3.815 3.861-.997 3.861" transform="translate(77 58)"></path></g></g>',1),Zg=[Xg];function Qg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Zg])}const Kg={render:Qg},Jg=t.createStaticVNode('<g id="Clothing/Graphic-Shirt" transform="translate(0 170)"><defs><path id="react-path-1153" d="M165.624 29.268C202.76 32.138 232 63.18 232 101.052V110H32v-8.948c0-38.217 29.775-69.48 67.393-71.855A14 14 0 0 0 99 32.5C99 44.374 113.998 54 132.5 54S166 44.374 166 32.5c0-1.098-.128-2.178-.376-3.232"></path></defs><mask id="react-mask-1154" fill="#fff"><use href="#react-path-1153"></use></mask><use id="Clothes" fill="#E6E6E6" fill-rule="evenodd" href="#react-path-1153"></use><g id="Color/Palette/" fill="var(--avataaar-shirt-color)" fill-rule="evenodd" mask="url(#react-mask-1154)"><path id="Color" d="M0 0h264v110H0z"></path></g><g id="Clothing/Graphic/Hola" fill="#FFF" fill-rule="evenodd"><path id="Hola" d="M74.637 16.948c1.28 5.762-.904 11.244-5.33 15.004-2.08 1.768-4.434 3.074-7.056 3.835a25 25 0 0 1-4.497.87c-1.136.111-2.784-.4-3.79-.111-1.12.321-2.559 1.865-3.757 2.362a20 20 0 0 1-2.068.727c-1.506.438-3.065.734-4.613.977-1.602.25-8.283 1.302-7.455-1.637.284-1.01 3.11-2.504 3.724-3.184.454-.502 3.145-3.364 3.019-4.295-.04-.294-1.747-1.63-2.148-2.08-.909-1.019-1.762-2.058-2.245-3.351-.829-2.216-.786-4.998-.51-7.32.688-5.804 3.566-9.659 8.602-12.55 2.855-1.637 5.96-2.538 9.205-2.934 3.956-.483 7.11-.498 10.467 1.75 4.42 2.96 7.275 6.668 8.452 11.937m-5.131 6.988c1.086-.3-.308-3.053-1.079-1.72-.277.48.463 1.889 1.079 1.72m-1.821-5.322c.088.36.434.47.748.427.75-.104.28-.981.301-1.373.04-.749.107-2.639-.172-3.32-.513-1.254-.975-1.014-1.274.214-.267 1.1.123 2.947.397 4.052m-1.048 4.279c.843-.498-1.38-6.176-1.868-6.988-1.892-3.145-2.504 2.431-2.794 3.81-.125.596-1.518 6.781.339 4.787.99-1.064-.558-4.602 2.243-3.78.984.29.272.207.874 1.11.22.33.458 1.5 1.206 1.06Zm-6.342-1.294c.786-1.35-2.665-.721-3.062-.697.094-1.8.445-3.623.44-5.422 0-.475.165-2.191-.958-1.381-.454.327-.298 1.83-.336 2.28-.09 1.057-.948 4.707-.108 5.56.595.603 3.693.22 4.024-.34m-4.799-2.44c.338-1.344-.084-4.253-1.845-4.28-.613-.008-.335.831-.487.92-1.065.621-1.528.542-2.16 1.646-2.486 4.35 3.067 7.445 4.492 1.714m-6.027 3.83c.761-.21.546-9.977-.331-9.983-1.51-.008-.063 4.84-.635 5.49-.17.196-1.026.015-1.25.056-1.14.212-1.89.092-2.24-.606-.312-.62.36-4.88-1.258-2.79q.023 1.107.035 2.213.504 1.072-.376 1.306c-.03.47.392.864.397 1.017.025.771-.484 4.231.9 4.064.885-.107.32-3.481.317-4.03 1.143.027 2.34.155 3.475.008.006.427-.288 3.603.966 3.256ZM63.837 17A19 19 0 0 1 65 18.842q-.999.086-2 .158c.272-.668.544-1.335.837-2m-9.914 0c.145.423.256 3.288-1.355 2.976-.92-.177-.507-1.764-.246-2.091.55-.69.873-.448 1.601-.885" transform="translate(77 58)"></path></g></g>',1),ey=[Jg];function ty(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...ey])}const ay={render:ty},ny=t.createStaticVNode('<g id="Clothing/Graphic-Shirt" transform="translate(0 170)"><defs><path id="react-path-1153" d="M165.624 29.268C202.76 32.138 232 63.18 232 101.052V110H32v-8.948c0-38.217 29.775-69.48 67.393-71.855A14 14 0 0 0 99 32.5C99 44.374 113.998 54 132.5 54S166 44.374 166 32.5c0-1.098-.128-2.178-.376-3.232"></path></defs><mask id="react-mask-1154" fill="#fff"><use href="#react-path-1153"></use></mask><use id="Clothes" fill="#E6E6E6" fill-rule="evenodd" href="#react-path-1153"></use><g id="Color/Palette/" fill="var(--avataaar-shirt-color)" fill-rule="evenodd" mask="url(#react-mask-1154)"><path id="Color" d="M0 0h264v110H0z"></path></g><g id="Clothing/Graphic/Resist" fill-rule="evenodd" stroke-width="1"><g id="Resist" fill="#FFF" transform="translate(80 67)"><path id="!" d="M102.565 21.071c-3.082-.666-5.192 3.535-1.912 4.784 2.815 1.072 4.845-4.145 1.912-4.784"></path><path id="H" d="M101.191 18c3.657 0 2.308-5.981 2.321-7.965.014-2.137 1.545-8.596-.89-9.734-4.216-1.971-3.06 6.325-3.034 7.968.028 1.816.167 3.72-.229 5.508-.35 1.58-1.129 4.223 1.832 4.223"></path><path id="C" d="M96.058 1.974c-1.082-.622-2.801-.32-3.987-.374-1.349-.06-2.69-.195-4.035-.293-2.177-.16-4.956-.563-7.118-.068-1.226.28-2.338 1.225-1.761 2.608.62 1.49 2.303 1.105 3.58 1.03.585-.035 2.033-.29 2.605-.089.997.35.573-.108.801 1.067.349 1.807.14 4 .125 5.838-.026 3.174-.036 6.364-.103 9.536-.026 1.236-.44 2.632.757 3.448.998.68 2.216.225 2.733-.793.514-1.013.026-3.067-.029-4.196-.066-1.347-.136-2.676-.097-4.025.104-3.585.282-7.167.368-10.754.943.046 1.922.018 2.856.15.683.095 1.665.535 2.322.5 1.9-.1 2.694-2.587.983-3.585"></path><path id="A" d="M67.722 8.813c-.012-.053-.082-.644 0 0m-.037-.276c.004.025 0 .008 0 0m1.432-3.11c3.416-3.981 4.583 4.347 7.246 3.995 4.26-.564-.941-6.953-2.669-7.776-3.515-1.675-6.605.08-8.277 3.267-2.098 4-.77 6.708 3.258 8.444 1.471.635 7.04 2.528 5.53 4.959-.76 1.224-3.526 1.329-4.7 1.086-2.356-.486-1.989-2.086-3.135-3.573-1.033-1.34-3.03-.947-3.342.781-.245 1.358 1.17 3.425 2.115 4.38 2.233 2.256 6.04 2.437 8.887 1.41 4.386-1.583 4.917-5.71 1.806-8.905-1.749-1.795-3.933-2.34-6.113-3.418-2.645-1.306-2.15-2.39-.606-4.65"></path><path id="E" d="M58.75 20.568c-.564-4.825-.696-9.717-.78-14.563-.027-1.554.706-5.206-1.453-5.865-2.915-.89-2.528 2.692-2.467 4.164.205 4.913.842 9.789 1.071 14.696.073 1.557-.429 4.574 1.831 4.946 2.75.454 2.008-2.081 1.798-3.378"></path><path id="P" d="M49.472 4.68c-2.36-3.159-7.154-3.669-10.09-.758-2.072 2.054-3.377 6.92-1.416 9.403 2.124 2.691 7.355.332 8.725 3.383 1.682 3.743-2.73 5.148-5.074 2.663-.843-.894-.659-2.454-1.9-3.007-1.763-.785-2.864.928-2.517 2.359.848 3.5 4.652 5.39 8.101 5.272 3.768-.13 5.402-2.977 5.163-6.4-.33-4.735-3.985-5.476-7.99-5.998-1.698-.22-1.92-.2-1.816-1.952.128-2.118 1.37-4.567 3.991-4.063 2.106.405 2.294 3.571 4.455 3.718 3.496.239 1.256-3.433.368-4.62"></path><path id="M" d="M31.721 20.438c-1.337.32-2.963.098-4.327.073-1.053-.019-4.574.427-5.261-.296-.76-.8-.513-3.247-.545-4.286-.046-1.454-.404-1.67.872-2 .749-.193 1.907-.096 2.682-.131 1.515-.07 3.465.21 4.93-.088 1.37-.28 2.502-1.751 1.25-3.004-.886-.888-2.542-.411-3.631-.386-2.034.046-4.069.036-6.103.072.008-1.568-.043-3.147.079-4.71 2.847.14 5.812.881 8.659.745 1.44-.07 3.04-.992 2.31-2.73-.624-1.49-2.521-1.287-3.843-1.346-1.653-.075-3.308-.113-4.962-.17-1.224-.042-3.005-.445-4.159.107-2.362 1.13-1.55 5.01-1.485 7.112.084 2.666.085 5.268.177 7.956.084 2.433-.037 5.641 2.852 6.325 2.89.684 6.245.033 9.192.176 1.209.058 2.861.41 3.455-.996.569-1.349-.73-2.774-2.142-2.423"></path><path id="I" d="M8.41 5.88c2.321.5 2.942 3.014 3.02 5.149.054 1.46.183 1.373-1.003 1.74-1.19.368-2.92.169-4.139.116-2.543-.11-2.235-.278-2.284-2.945-.012-.625-.475-3.504-.108-3.91.476-.528 3.839-.203 4.514-.15m5.077 14.838c-1.29-1.504-2.586-2.94-4.034-4.286 2.158-.06 4.503-.473 5.27-2.819.648-1.982.085-5-.668-6.872-.994-2.47-3.062-4.119-5.635-4.478-1.796-.251-6.278-.673-7.62.71C-.665 4.482.352 8.623.442 10.47c.16 3.271.044 6.518-.157 9.785-.064 1.055-.582 2.787-.041 3.737.6 1.054 2.059 1.317 2.969.537.984-.844.529-1.878.468-2.961-.093-1.676.075-3.404.174-5.074 1.608 1.312 3.25 2.591 4.762 4.022 1.493 1.414 2.564 3.202 3.99 4.627 1.011 1.01 2.82 1.425 3.331-.448.44-1.608-1.571-2.951-2.451-3.977"></path></g></g></g>',1),ry=[ny];function oy(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...ry])}const iy={render:oy},ly=t.createStaticVNode('<g id="Clothing/Graphic-Shirt" transform="translate(0 170)"><defs><path id="react-path-1153" d="M165.624 29.268C202.76 32.138 232 63.18 232 101.052V110H32v-8.948c0-38.217 29.775-69.48 67.393-71.855A14 14 0 0 0 99 32.5C99 44.374 113.998 54 132.5 54S166 44.374 166 32.5c0-1.098-.128-2.178-.376-3.232"></path></defs><mask id="react-mask-1154" fill="#fff"><use href="#react-path-1153"></use></mask><use id="Clothes" fill="#E6E6E6" fill-rule="evenodd" href="#react-path-1153"></use><g id="Color/Palette/" fill="var(--avataaar-shirt-color)" fill-rule="evenodd" mask="url(#react-mask-1154)"><path id="Color" d="M0 0h264v110H0z"></path></g><g id="Clothing/Graphic/Skull" fill="#FFF" fill-rule="evenodd" mask="url(#react-mask-1154)"><path id="Fill-49" d="M65.282 19.929c-.298 2.777-5.693 4.274-7.672 2.448-.912-.842-.927-2.574-1.128-3.702-.38-2.133-.656-4.258-.751-6.423-.058-1.325-.406-2.385 1.044-2.582.883-.12 1.793.468 2.515.933 2.447 1.573 6.33 6.138 5.992 9.326m-12.4-5.853c.284 2.825 1.32 7.739-.936 10.105-2.016 2.115-6.16.018-6.783-2.473-.773-3.09 2.275-6.78 4.145-8.87.574-.641 1.844-2.412 2.836-1.82.382.228.693 2.612.737 3.058m1.44 11.03c.647-1.523 6.913 3.019 3.953 5.18-.482.352-4.16 1.465-4.864.941-1.485-1.103.43-4.964.911-6.12m19.004-7.58c-.443-15.476-20.26-19.84-30.85-11.023-4.048 3.372-6.362 7.5-6.468 12.779-.09 4.471.619 8.689 4.034 11.764 1.481 1.333 2.46 2.149 3.245 3.97.824 1.906 1.2 4.335 2.742 5.833.85.825 2.09 1.492 3.266.96 2.162-.98 1.47-3.978 2.125-5.65 2.037 4.97 7.211 6.554 8.15.25 1.031 1.819 3.726 4.2 5.7 2.21.812-.82.934-2.15 1.072-3.227.245-1.912-.18-2.664 1.355-3.975 4.039-3.45 5.773-8.672 5.63-13.891" transform="translate(77 58)"></path></g></g>',1),sy=[ly];function cy(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...sy])}const dy={render:cy},uy={Bat:Cg,Cumbia:Ag,Diamond:Dg,Pizza:Fg,Selena:Rg,SkullOutline:jg,Bear:Ug,Deer:Kg,Hola:ay,Resist:iy,Skull:dy},my=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("g",{id:"Eyes/Closed",opacity:".6",transform:"translate(0 8)"},[t.createElementVNode("path",{id:"Closed-Eye",d:"M16.16 32.447C18.007 28.65 22.164 26 26.998 26c4.816 0 8.961 2.63 10.817 6.407.552 1.122-.233 2.04-1.024 1.36-2.451-2.107-5.932-3.423-9.793-3.423-3.74 0-7.124 1.235-9.56 3.228-.891.728-1.818-.014-1.278-1.125m58 0C76.007 28.65 80.164 26 84.998 26c4.816 0 8.961 2.63 10.817 6.407.552 1.122-.233 2.04-1.024 1.36-2.451-2.107-5.932-3.423-9.793-3.423-3.74 0-7.124 1.235-9.56 3.228-.891.728-1.818-.014-1.278-1.125",transform:"matrix(1 0 0 -1 0 60)"})])],-1),fy=[my];function hy(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...fy])}const py={render:hy},gy=t.createElementVNode("g",{class:"CustomColor",opacity:".6",transform:"translate(76 90)"},[t.createElementVNode("circle",{id:"Eye",cx:"30",cy:"22",r:"6"}),t.createElementVNode("circle",{id:"Eye",cx:"82",cy:"22",r:"6"})],-1),yy=[gy];function ky(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...yy])}const xy={render:ky},by=t.createStaticVNode('<g transform="translate(76 82)"><g id="Eyes/Eye-Roll" transform="translate(0 8)"><circle id="Eyeball" cx="30" cy="22" r="14" fill="#FFF"></circle><circle id="The-white-stuff" cx="82" cy="22" r="14" fill="#FFF"></circle><circle cx="30" cy="14" r="6" class="CustomColor" opacity=".7"></circle><circle cx="82" cy="14" r="6" class="CustomColor" opacity=".7"></circle></g></g>',1),wy=[by];function vy(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...wy])}const Ey={render:vy},Cy=t.createElementVNode("g",{fill:"#FF5353",class:"CustomColor",opacity:".8",transform:"translate(76 90)"},[t.createElementVNode("path",{id:"Heart",d:"M35.958 10c-2.55 0-5.074 1.98-6.458 3.82-1.39-1.84-3.907-3.82-6.458-3.82C17.552 10 14 13.334 14 17.641c0 5.73 4.412 9.13 9.042 12.736 1.653 1.236 4.78 4.4 5.166 5.094.386.693 2.106.718 2.584 0 .477-.718 3.51-3.858 5.166-5.094C40.585 26.77 45 23.37 45 17.64c0-4.306-3.552-7.64-9.042-7.64m53 0c-2.55 0-5.074 1.98-6.458 3.82-1.39-1.84-3.907-3.82-6.458-3.82C70.552 10 67 13.334 67 17.641c0 5.73 4.412 9.13 9.042 12.736 1.653 1.236 4.78 4.4 5.166 5.094.386.693 2.106.718 2.584 0 .477-.718 3.51-3.858 5.166-5.094C93.585 26.77 98 23.37 98 17.64c0-4.306-3.552-7.64-9.042-7.64"})],-1),Sy=[Cy];function My(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Sy])}const By={render:My},Ay=t.createStaticVNode('<g transform="translate(76 82)"><g id="Eyes/Squint" transform="translate(0 8)"><defs><path id="Eye1" d="M14 14.048c9.61 0 14 4.451 14-2.486C28 4.624 21.732 0 14 0S0 4.624 0 11.562s4.39 2.486 14 2.486"></path><path id="Eye2" d="M14 14.048c9.61 0 14 4.451 14-2.486C28 4.624 21.732 0 14 0S0 4.624 0 11.562s4.39 2.486 14 2.486"></path></defs><g id="Eye" transform="translate(16 13)"><mask id="EyeMask1" fill="#fff"><use href="#Eye1"></use></mask><use id="The-white-stuff" fill="#FFF" href="#Eye1"></use><circle cx="14" cy="10" r="6" class="CustomColor" mask="url('#EyeMask1')" opacity=".7"></circle></g><g id="Eye" transform="translate(68 13)"><mask id="EyeMask2" fill="#fff"><use href="#Eye2"></use></mask><use id="Eyeball-Mask" fill="#FFF" href="#Eye2"></use><circle cx="14" cy="10" r="6" class="CustomColor" mask="url('#EyeMask2')" opacity=".7"></circle></g></g></g>',1),Vy=[Ay];function _y(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Vy])}const Ny={render:_y},Dy=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("g",{id:"Eyes/Wink",opacity:".6",transform:"translate(0 8)"},[t.createElementVNode("circle",{id:"Eye",cx:"30",cy:"22",r:"6"}),t.createElementVNode("path",{id:"Winky-Wink",d:"M70.412 24.205c1.847-3.799 6.005-6.447 10.838-6.447 4.816 0 8.961 2.63 10.818 6.407.551 1.122-.234 2.04-1.025 1.36-2.451-2.108-5.932-3.424-9.793-3.424-3.74 0-7.124 1.235-9.56 3.228-.891.729-1.818-.013-1.278-1.124",transform:"rotate(-4 81.252 21.758)"})])],-1),Ty=[Dy];function Py(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ty])}const Oy={render:Py},Fy=t.createStaticVNode('<g transform="translate(76 82)"><g id="Eyes/Cry" transform="translate(0 8)"><circle cx="30" cy="22" r="6" class="CustomColor" opacity=".6"></circle><path id="Drop" fill="#92D9FF" d="M25 27s-6 7.27-6 11.27a6 6 0 1 0 12 0c0-4-6-11.27-6-11.27"></path><circle cx="82" cy="22" r="6" class="CustomColor" opacity=".6"></circle></g></g>',1),Ly=[Fy];function $y(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ly])}const Hy={render:$y},Ry=t.createElementVNode("g",{class:"CustomColor",opacity:".6",transform:"translate(76 90)"},[t.createElementVNode("path",{id:"Eye",d:"m29 25.2 5.5 5.5c.5.4 1.2.4 1.6 0l1.6-1.6c.4-.5.4-1.2 0-1.6L32.2 22l5.5-5.5c.4-.5.4-1.2 0-1.6l-1.6-1.6c-.5-.4-1.2-.4-1.6 0L29 18.8l-5.5-5.5c-.5-.4-1.2-.4-1.6 0l-1.6 1.6c-.4.4-.4 1.1 0 1.6l5.5 5.5-5.5 5.5c-.4.5-.4 1.2 0 1.6l1.6 1.6c.5.4 1.2.4 1.6 0zm54 0 5.5 5.5c.5.4 1.2.4 1.6 0l1.6-1.6c.4-.5.4-1.2 0-1.6L86.2 22l5.5-5.5c.4-.5.4-1.2 0-1.6l-1.6-1.6c-.5-.4-1.2-.4-1.6 0L83 18.8l-5.5-5.5c-.5-.4-1.2-.4-1.6 0l-1.6 1.6c-.4.4-.4 1.1 0 1.6l5.5 5.5-5.5 5.5c-.4.5-.4 1.2 0 1.6l1.6 1.6c.5.4 1.2.4 1.6 0z"})],-1),zy=[Ry];function Iy(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...zy])}const Gy={render:Iy},jy=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("g",{id:"Eyes/Happy",opacity:".6",transform:"translate(0 8)"},[t.createElementVNode("path",{id:"Squint",d:"M16.16 22.447C18.007 18.65 22.164 16 26.998 16c4.816 0 8.961 2.63 10.817 6.407.552 1.122-.233 2.04-1.024 1.36-2.451-2.107-5.932-3.423-9.793-3.423-3.74 0-7.124 1.235-9.56 3.228-.891.728-1.818-.014-1.278-1.125m58 0C76.007 18.65 80.164 16 84.998 16c4.816 0 8.961 2.63 10.817 6.407.552 1.122-.233 2.04-1.024 1.36-2.451-2.107-5.932-3.423-9.793-3.423-3.74 0-7.124 1.235-9.56 3.228-.891.728-1.818-.014-1.278-1.125"})])],-1),qy=[jy];function Wy(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...qy])}const Yy={render:Wy},Uy=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("g",{id:"Eyes/Side",opacity:".6",transform:"translate(0 8)"},[t.createElementVNode("path",{id:"Eye",d:"M27.241 20.346a6 6 0 1 0 10.699 2.8 2 2 0 0 0-.125-.739 8 8 0 0 0-.144-.372 6 6 0 0 0-1.646-2.484C33.9 17.317 30.506 16 26.998 16c-4.834 0-8.991 2.649-10.838 6.447-.54 1.111.387 1.853 1.278 1.125 2.436-1.993 5.82-3.228 9.56-3.228zm58 0a6 6 0 1 0 10.699 2.8 2 2 0 0 0-.125-.739 8 8 0 0 0-.144-.372 6 6 0 0 0-1.646-2.484C91.9 17.317 88.506 16 84.998 16c-4.834 0-8.991 2.649-10.838 6.447-.54 1.111.387 1.853 1.278 1.125 2.436-1.993 5.82-3.228 9.56-3.228z"})])],-1),Xy=[Uy];function Zy(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Xy])}const Qy={render:Zy},Ky=t.createStaticVNode('<g transform="translate(76 82)"><g id="Eyes/Surprised" transform="translate(0 8)"><circle id="The-White-Stuff" cx="30" cy="22" r="14" fill="#FFF"></circle><circle id="Eye-Ball" cx="82" cy="22" r="14" fill="#FFF"></circle><circle cx="30" cy="22" r="6" class="CustomColor" opacity=".7"></circle><circle cx="82" cy="22" r="6" class="CustomColor" opacity=".7"></circle></g></g>',1),Jy=[Ky];function ek(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Jy])}const tk={render:ek},ak=t.createStaticVNode('<g transform="translate(76 82)"><g id="Eyes/Wink-Wacky" transform="translate(0 8)"><circle id="cornea" cx="82" cy="22" r="12" fill="#FFF"></circle><circle cx="82" cy="22" r="6" class="CustomColor" opacity=".7"></circle><path id="Winky-Doodle" fill="#000" d="M16.16 25.447C18.007 21.65 22.164 19 26.998 19c4.816 0 8.961 2.63 10.817 6.407.552 1.122-.233 2.04-1.024 1.36-2.451-2.107-5.932-3.423-9.793-3.423-3.74 0-7.124 1.235-9.56 3.228-.891.728-1.818-.014-1.278-1.125" opacity=".6"></path></g></g>',1),nk=[ak];function rk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...nk])}const ok={render:rk},ik={Close:py,Default:xy,EyeRoll:Ey,Hearts:By,Squint:Ny,Wink:Oy,Cry:Hy,Dizzy:Gy,Happy:Yy,Side:Qy,Surprised:tk,WinkWacky:ok},lk=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("path",{id:"Eyebrow/Outline/Angry",d:"M15.611 15.185c4.24-5.769 6.878-5.484 13.313-.629l.67.508C34.422 18.726 36.708 20 40 20a2 2 0 1 0 0-4c-2.066 0-3.901-1.022-7.989-4.123-.375-.285-.492-.373-.678-.513-3.76-2.837-5.959-4.077-8.695-4.372-3.684-.398-7.058 1.482-10.25 5.823a2 2 0 0 0 3.223 2.37m80.777 0c-4.24-5.769-6.877-5.484-13.312-.629l-.67.508C77.578 18.726 75.292 20 72 20a2 2 0 1 1 0-4c2.066 0 3.901-1.022 7.989-4.123.375-.285.492-.373.678-.513 3.76-2.837 5.959-4.077 8.695-4.372 3.684-.398 7.058 1.482 10.25 5.823a2 2 0 0 1-3.224 2.37",class:"CustomColor",opacity:".6"})],-1),sk=[lk];function ck(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...sk])}const dk={render:ck},uk=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("path",{id:"Eyebrow/Natural/Flat-Natural",d:"M38.66 11.09c-4.998.362-9.923.086-14.918-.122-3.83-.158-7.717-.681-11.374 1.012-.7.324-4.53 2.28-4.44 3.349.07.855 3.935 2.191 4.63 2.436 3.67 1.29 7.181.896 10.954.67 4.628-.278 9.236-.074 13.861-.214 3.116-.093 7.917-.62 9.457-4.398.464-1.137.105-3.413-.36-4.657-.185-.496-.72-.683-1.125-.397-1.45 1.023-4.261 2.146-6.685 2.321m34.68 0c4.998.362 9.923.086 14.918-.122 3.83-.158 7.717-.681 11.374 1.012.7.324 4.53 2.28 4.44 3.349-.07.855-3.935 2.191-4.63 2.436-3.67 1.29-7.181.896-10.954.67-4.628-.278-9.236-.074-13.861-.214-3.116-.093-7.917-.62-9.457-4.398-.464-1.137-.105-3.413.36-4.657.185-.496.72-.683 1.125-.397 1.45 1.023 4.261 2.146 6.685 2.321",class:"CustomColor",opacity:".6"})],-1),mk=[uk];function fk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...mk])}const hk={render:fk},pk=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("path",{id:"Eyebrow/Outline/Sad-Concerned",d:"M38.028 5.591c-1.48 8.389-14.09 14.18-23.238 10.432-1.015-.416-2.19.031-2.627.999s.033 2.09 1.048 2.505c11.444 4.69 26.835-2.38 28.762-13.303.183-1.039-.551-2.023-1.64-2.197-1.09-.175-2.122.525-2.305 1.564m35.945 0c1.48 8.389 14.09 14.18 23.238 10.432 1.014-.416 2.19.031 2.627.999s-.033 2.09-1.048 2.505c-11.444 4.69-26.835-2.38-28.762-13.303-.183-1.039.551-2.023 1.64-2.197 1.09-.175 2.121.525 2.305 1.564",class:"CustomColor",opacity:".6"})],-1),gk=[pk];function yk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...gk])}const kk={render:yk},xk=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("path",{id:"Eyebrow/Natural/Up-Down-Natural",d:"m22.766 1.578.911-.402C28.92-.905 36.865-.033 41.723 2.299c.567.272.18 1.153-.402 1.108-14.919-1.151-24.963 8.146-28.375 14.44-.101.187-.407.208-.482.034-2.308-5.319 4.45-13.985 10.302-16.303M86.993 12.07c5.761.773 14.746 5.795 13.994 11.607-.024.19-.312.25-.436.091-2.487-3.188-21.712-7.872-28.714-6.894-.64.09-1.063-.571-.626-.984 3.744-3.535 10.62-4.518 15.782-3.82",class:"CustomColor",opacity:".6"})],-1),bk=[xk];function wk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...bk])}const vk={render:wk},Ek=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("path",{id:"Eyebrow/Natural/Angry-Natural",d:"M44.095 17.125q.006-.014 0 0M19.284 5.005c-2.368-.266-4.858.497-6.427 2.434-.59.728-1.553 2.48-1.509 3.417.017.356.225.375 1.124.59 1.646.392 4.5-1.114 6.355-.972 2.582.198 5.047 1.395 7.283 2.679 3.838 2.202 8.354 6.84 13.093 6.598.353-.018 5.42-1.739 4.41-2.723-.316-.484-3.034-1.128-3.501-1.361-2.172-1.084-4.367-2.448-6.443-3.718-4.528-2.772-8.944-6.338-14.385-6.944m48.746 12.12q-.006-.014 0 0m24.876-12.12c2.368-.266 4.857.497 6.426 2.434.59.728 1.554 2.48 1.509 3.417-.017.356-.225.375-1.124.59-1.645.392-4.5-1.114-6.355-.972-2.582.198-5.046 1.395-7.282 2.679-3.839 2.202-8.355 6.84-13.093 6.598-.353-.018-5.42-1.739-4.411-2.723.317-.484 3.034-1.128 3.502-1.361 2.171-1.084 4.367-2.448 6.442-3.718 4.528-2.772 8.945-6.338 14.386-6.944",class:"CustomColor",opacity:".6"})],-1),Ck=[Ek];function Sk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ck])}const Mk={render:Sk},Bk=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("path",{id:"Eyebrow/Natural/Frown-Natural",d:"M36.37 6.876c-1.97 2.905-5.546 4.64-8.738 5.684-3.943 1.29-18.552 3.38-15.112 11.348a.147.147 0 0 0 .272.002c1.153-2.645 17.465-5.123 18.973-5.704 4.445-1.709 8.393-5.49 9.162-10.543.352-2.317-.637-6.049-1.548-7.55-.11-.18-.374-.136-.43.069-.36 1.331-1.41 4.971-2.58 6.694m39.261 0c1.97 2.905 5.546 4.64 8.738 5.684 3.943 1.29 18.551 3.379 15.112 11.348a.147.147 0 0 1-.272.002c-1.153-2.645-17.465-5.123-18.973-5.704-4.445-1.709-8.393-5.49-9.162-10.543-.352-2.317.637-6.049 1.548-7.55.11-.18.374-.136.43.069.36 1.331 1.41 4.971 2.58 6.694",class:"CustomColor",opacity:".6"})],-1),Ak=[Bk];function Vk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ak])}const _k={render:Vk},Nk=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("path",{id:"Eyebrow/Natural/Sad-Concerned-Natural",d:"m31.234 20.422-.911.402c-5.242 2.081-13.188 1.209-18.046-1.123-.567-.272-.18-1.153.402-1.108 14.919 1.151 24.963-8.146 28.375-14.44.101-.187.407-.208.482-.034 2.308 5.319-4.45 13.985-10.302 16.303m49.532 0 .911.402c5.242 2.081 13.188 1.209 18.046-1.123.567-.272.18-1.153-.402-1.108-14.919 1.151-24.963-8.146-28.375-14.44-.101-.187-.407-.208-.482-.034-2.308 5.319 4.45 13.985 10.302 16.303",class:"CustomColor",opacity:".6"})],-1),Dk=[Nk];function Tk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Dk])}const Pk={render:Tk},Ok=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("g",{id:"Eyebrow/Outline/Default",opacity:".6"},[t.createElementVNode("path",{id:"I-Browse",d:"M15.63 17.159c3.915-5.51 14.648-8.598 23.893-6.328a2 2 0 0 0 .954-3.884C29.74 4.31 17.312 7.887 12.37 14.84a2 2 0 0 0 3.26 2.318Zm80.74 0c-3.915-5.51-14.648-8.598-23.893-6.328a2 2 0 0 1-.954-3.884c10.737-2.637 23.165.94 28.108 7.894a2 2 0 0 1-3.26 2.318Z",class:"CustomColor"})])],-1),Fk=[Ok];function Lk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Fk])}const $k={render:Lk},Hk=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("g",{id:"Eyebrow/Outline/Raised-Excited",opacity:".6"},[t.createElementVNode("path",{id:"I-Browse",d:"M15.976 17.128C17.47 7.605 30.059 1.108 39.164 5.3a2 2 0 0 0 1.672-3.633c-11.487-5.29-26.9 2.664-28.812 14.84a2 2 0 1 0 3.952.62Zm80.048 0C94.53 7.605 81.942 1.108 72.837 5.3a2 2 0 0 1-1.673-3.633c11.487-5.29 26.9 2.664 28.812 14.84a2 2 0 0 1-3.952.62Z",class:"CustomColor"})])],-1),Rk=[Hk];function zk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Rk])}const Ik={render:zk},Gk=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("g",{id:"Eyebrow/Natural/Unibrow-Natural",opacity:".6"},[t.createElementVNode("path",{d:"M56.997 12.82q0-.005 0 0m2.559 2.805c1.892 1.101 4.717 1.734 6.315 1.94 6.277.807 12.266-1.535 18.386-2.68 5.432-1.015 11.625-1.925 16.73.91.13.072 1.162.667 1.707 1.184a.81.81 0 0 0 1.291-.224c1.325-2.726-6.402-8.594-7.865-9.153-6.627-2.528-15.176.704-21.796 2.001-3.717.728-7.462 1.252-11.115 2.29-1.31.373-2.58 1.007-3.862 1.218-.162-.224-.362-.36-.588-.352-1.17.04-2.796 3.557-.56 3.676.7.038 1.13-.312 1.357-.81",class:"CustomColor"}),t.createElementVNode("path",{d:"M55.003 12.79q.002-.005 0 0M15.881 7.573c6.626-2.528 15.176.705 21.796 2.001 3.716.729 7.461 1.253 11.114 2.291 1.47.418 2.887 1.165 4.33 1.274.7.053 1.106.903.635 1.435-1.545 1.74-5.586 2.7-7.626 2.962-6.278.807-12.267-1.534-18.387-2.679-5.432-1.016-11.624-1.925-16.73.91-.13.071-1.161.666-1.707 1.184a.81.81 0 0 1-1.29-.224C6.69 14 14.417 8.133 15.881 7.573m39.092 4.217c1.17.041 2.762 4.5.525 4.674-2.237.173-1.696-4.715-.525-4.674",class:"CustomColor"})])],-1),jk=[Gk];function qk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...jk])}const Wk={render:qk},Yk=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("path",{id:"Eyebrow/Natural/Default-Natural",d:"M26.547 6.148c-5.807.269-15.195 4.488-14.953 10.344.008.192.29.276.427.129 2.755-2.96 22.316-5.95 29.205-4.365.63.145 1.11-.477.71-.927-3.422-3.848-10.186-5.426-15.389-5.18m59.906-.001c5.807.269 15.195 4.488 14.953 10.344-.008.192-.29.276-.427.129-2.755-2.96-22.316-5.95-29.205-4.365-.63.145-1.11-.477-.71-.927 3.422-3.848 10.186-5.426 15.389-5.18",class:"CustomColor",opacity:".6"})],-1),Uk=[Yk];function Xk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Uk])}const Zk={render:Xk},Qk=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("path",{id:"Eyebrow/Natural/Raised-Excited-Natural",d:"m22.766 1.578.911-.402C28.92-.905 36.865-.033 41.723 2.299c.567.272.18 1.153-.402 1.108-14.919-1.151-24.963 8.146-28.375 14.44-.101.187-.407.208-.482.034-2.308-5.319 4.45-13.985 10.302-16.303m66.468 0-.911-.402C83.08-.905 75.135-.033 70.277 2.299c-.567.272-.18 1.153.402 1.108 14.919-1.151 24.963 8.146 28.375 14.44.101.187.407.208.482.034 2.308-5.319-4.45-13.985-10.302-16.303",class:"CustomColor",opacity:".6"})],-1),Kk=[Qk];function Jk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Kk])}const ex={render:Jk},tx=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("path",{id:"Eyebrow/Outline/Up-Down",d:"M15.591 14.162c4.496-6.326 14.012-9.508 23.756-6.366a2 2 0 1 0 1.228-3.807c-11.408-3.68-22.74.11-28.244 7.856a2 2 0 1 0 3.26 2.317m80.786 6.996c-3.914-5.509-14.647-8.598-23.892-6.328a2 2 0 0 1-.954-3.884c10.736-2.637 23.165.94 28.107 7.895a2 2 0 1 1-3.26 2.317Z",class:"CustomColor",opacity:".6"})],-1),ax=[tx];function nx(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...ax])}const rx={render:nx},ox={Angry:dk,FlatNatural:hk,SadConcerned:kk,UpDownNatural:vk,AngryNatural:Mk,FrownNatural:_k,SadConcernedNatural:Pk,Default:$k,RaisedExcited:Ik,UnibrowNatural:Wk,DefaultNatural:Zk,RaisedExcitedNatural:ex,UpDown:rx},ix=t.createStaticVNode('<g transform="translate(76 82)"><g id="Mouth/Concerned" transform="translate(2 52)"><defs><path id="Mouth1" d="M35.118 15.128C36.176 24.62 44.226 32 54 32c9.804 0 17.874-7.426 18.892-16.96.082-.767-.775-2.04-1.85-2.04H37.088c-1.08 0-2.075 1.178-1.97 2.128"></path></defs><mask id="MouthMask1" fill="#fff"><use href="#Mouth1" transform="matrix(1 0 0 -1 0 45)"></use></mask><use id="Mouth" fill="#000" href="#Mouth1" opacity=".7" transform="matrix(1 0 0 -1 0 45)"></use><rect id="Teeth" width="31" height="16" x="39" y="2" fill="#FFF" mask="url('#MouthMask1')" rx="5"></rect><g id="Tongue" fill="#FF4F6D" mask="url('#MouthMask1')"><g transform="translate(38 24)"><circle id="friend?" cx="11" cy="11" r="11"></circle><circle id="How-you-doing" cx="21" cy="11" r="11"></circle></g></g></g></g>',1),lx=[ix];function sx(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...lx])}const cx={render:sx},dx=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("g",{id:"Mouth/Disbelief",fill:"#000",opacity:".7",transform:"translate(2 52)"},[t.createElementVNode("path",{id:"Mouth",d:"M40 15c0 7.732 6.268 14 14 14s14-6.268 14-14",transform:"matrix(1 0 0 -1 0 44)"})])],-1),ux=[dx];function mx(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...ux])}const fx={render:mx},hx=t.createStaticVNode('<g transform="translate(76 82)"><g id="Mouth/Grimace" transform="translate(2 52)"><defs><rect id="Grimace-path1" width="60" height="22" x="24" y="9" rx="11"></rect></defs><rect id="Mouth" width="64" height="26" x="22" y="7" fill="#000" opacity=".6" rx="13"></rect><mask id="Grimace-mask1" fill="#fff"><use href="#Grimace-path1"></use></mask><use id="Mouth" fill="#FFF" href="#Grimace-path1"></use><path id="Grimace-Teeth" fill="#E6E6E6" d="M71 22h-9v12h-4V22h-9v12h-4V22h-9v12h-4V22h-8v-4h8V6h4v12h9V6h4v12h9V6h4v12h9V6h4v12h8.867v4H75v12h-4z" mask="url('#Grimace-mask1')"></path></g></g>',1),px=[hx];function gx(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...px])}const yx={render:gx},kx=t.createStaticVNode('<g transform="translate(76 82)"><g id="Mouth/Scream-Open" transform="translate(2 52)"><defs><path id="ScreamOpen-path1" d="M34.008 15.136C35.128 29.124 38.235 40.993 53.996 41c15.762.007 18.92-11.943 19.998-25.994.087-1.13-.82-2.006-1.957-2.006-6.686 0-9.367 1.994-18.048 2s-13.232-2-17.897-2c-1.143 0-2.196.737-2.084 2.136"></path></defs><mask id="ScreamOpen-mask1" fill="#fff"><use href="#ScreamOpen-path1" transform="matrix(1 0 0 -1 0 54)"></use></mask><use id="Mouth" fill="#000" href="#ScreamOpen-path1" opacity=".7" transform="matrix(1 0 0 -1 0 54)"></use><rect id="Teeth" width="31" height="16" x="39" y="2" fill="#FFF" mask="url('#ScreamOpen-mask1')" rx="5"></rect><g id="Tongue" fill="#FF4F6D" mask="url('#ScreamOpen-mask1')"><g id="Say-ahhhh" transform="translate(38 32)"><circle cx="11" cy="11" r="11"></circle><circle cx="21" cy="11" r="11"></circle></g></g></g></g>',1),xx=[kx];function bx(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...xx])}const wx={render:bx},vx=t.createStaticVNode('<g transform="translate(76 82)"><g id="Mouth/Smile" transform="translate(2 52)"><defs><path id="Smile-path1" d="M35.118 15.128C36.176 24.62 44.226 32 54 32c9.804 0 17.874-7.426 18.892-16.96.082-.767-.775-2.04-1.85-2.04H37.088c-1.08 0-2.075 1.178-1.97 2.128"></path></defs><mask id="Smile-mask1" fill="#fff"><use href="#Smile-path1"></use></mask><use id="Mouth" fill="#000" href="#Smile-path1" opacity=".7"></use><rect id="Teeth" width="31" height="16" x="39" y="2" fill="#FFF" mask="url('#Smile-mask1')" rx="5"></rect><g id="Tongue" fill="#FF4F6D" mask="url('#Smile-mask1')"><g transform="translate(38 24)"><circle cx="11" cy="11" r="11"></circle><circle cx="21" cy="11" r="11"></circle></g></g></g></g>',1),Ex=[vx];function Cx(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ex])}const Sx={render:Cx},Mx=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("g",{id:"Mouth/Twinkle",fill:"#000",opacity:".6",transform:"translate(2 52)"},[t.createElementVNode("path",{id:"Mouth",d:"M40 16c0 5.372 6.158 9 14 9s14-3.628 14-9c0-1.105-.95-2-2-2-1.293 0-1.87.905-2 2-1.242 2.938-4.317 4.716-10 5-5.683-.284-8.758-2.062-10-5-.13-1.095-.707-2-2-2-1.05 0-2 .895-2 2"})])],-1),Bx=[Mx];function Ax(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Bx])}const Vx={render:Ax},_x=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("g",{id:"Mouth/Default",opacity:".7",transform:"translate(2 52)"},[t.createElementVNode("path",{id:"Mouth",d:"M40 15c0 7.732 6.268 14 14 14s14-6.268 14-14"})])],-1),Nx=[_x];function Dx(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Nx])}const Tx={render:Dx},Px=t.createStaticVNode('<g transform="translate(76 82)"><g id="Mouth/Eating" transform="translate(2 52)"><g id="Om-Nom-Nom" fill="#000" opacity=".6" transform="translate(28 6)"><path id="Delicious" d="M16.19 10.106C16.019 4.996 11.793.797 6.295 0 9.66 1.959 11.98 5.495 11.98 9.677c0 5.668-5.473 10.568-11.803 10.568H0A13 13 0 0 0 4.392 21c5.322 0 9.821-3.153 11.294-7.486 2.475 2.156 6.177 3.525 10.314 3.525s7.84-1.37 10.314-3.525C37.787 17.847 42.286 21 47.608 21c1.552 0 3.034-.268 4.392-.756l-.177.001c-6.33 0-11.803-4.9-11.803-10.568 0-4.182 2.32-7.718 5.686-9.677-5.498.797-9.724 4.996-9.897 10.106-2.564 1.736-6.014 2.8-9.809 2.8s-7.245-1.064-9.81-2.8"></path></g><circle id="Redish" cx="17" cy="15" r="9" fill="#FF4646" opacity=".2"></circle><circle id="Redish" cx="91" cy="15" r="9" fill="#FF4646" opacity=".2"></circle></g></g>',1),Ox=[Px];function Fx(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ox])}const Lx={render:Fx},$x=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("g",{id:"Mouth/Sad",fill:"#000",opacity:".7",transform:"translate(2 52)"},[t.createElementVNode("path",{id:"Mouth",d:"M40.058 16.654c.65 7.03 6.644 11.723 13.942 11.723 7.342 0 13.363-4.75 13.953-11.848.031-.378-.876-.676-1.324-.452q-8.308 4.16-12.629 4.16-4.266 0-12.446-4.069c-.507-.252-1.534.068-1.496.486",transform:"matrix(1 0 0 -1 0 44.377)"})])],-1),Hx=[$x];function Rx(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Hx])}const zx={render:Rx},Ix=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("g",{id:"Mouth/Serious",fill:"#000",opacity:".7",transform:"translate(2 52)"},[t.createElementVNode("rect",{id:"Why-so-serious?",width:"24",height:"6",x:"42",y:"18",rx:"3"})])],-1),Gx=[Ix];function jx(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Gx])}const qx={render:jx},Wx=t.createStaticVNode('<g transform="translate(76 82)"><g id="Mouth/Tongue" transform="translate(2 52)"><defs><path id="Tongue-path1" d="M29 15.609C30.41 25.23 41.062 33 54 33c12.968 0 23.646-7.817 25-18.26.101-.4-.225-1.74-2.174-1.74H31.174c-1.79 0-2.304 1.24-2.174 2.609"></path></defs><mask id="Tongue-mask1" fill="#fff"><use href="#Tongue-path1"></use></mask><use id="Mouth" fill="#000" href="#Tongue-path1" opacity=".7"></use><rect id="Teeth" width="31" height="16" x="39" y="2" fill="#FFF" mask="url('#Tongue-mask1')" rx="5"></rect><path id="Tongue" fill="#FF4F6D" d="M65.984 23.747Q66 23.871 66 24v9c0 6.075-4.925 11-11 11h-1c-6.075 0-11-4.925-11-11v-9q0-.129.016-.253A2 2 0 0 1 43 23.5c0-1.933 2.91-3.5 6.5-3.5 2.01 0 3.808.491 5 1.263 1.192-.772 2.99-1.263 5-1.263 3.59 0 6.5 1.567 6.5 3.5q0 .124-.016.247"></path></g></g>',1),Yx=[Wx];function Ux(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Yx])}const Xx={render:Ux},Zx=t.createStaticVNode('<g transform="translate(76 82)"><g id="Mouth/Vomit" transform="translate(2 52)"><defs><path id="Vomit-path1" d="M34.008 12.602c1.12 10.49 4.227 19.392 19.988 19.398 15.762.006 18.92-8.958 19.998-19.495.087-.848-.82-1.505-1.957-1.505-6.686 0-9.367 1.495-18.048 1.5S40.757 11 36.092 11c-1.143 0-2.196.552-2.084 1.602"></path><path id="Vomit-path2" d="M59.917 36H60a6 6 0 1 0 12 0v-5a6 6 0 0 0-6-6H42a6 6 0 0 0-6 6v7a6 6 0 1 0 12 0v-2h.083a6.002 6.002 0 0 1 11.834 0"></path><filter id="filter1" width="102.8%" height="105.3%" x="-1.4%" y="-2.6%" filterUnits="objectBoundingBox"><feOffset dy="-1" in="SourceAlpha" result="shadowOffsetInner1"></feOffset><feComposite in="shadowOffsetInner1" in2="SourceAlpha" k2="-1" k3="1" operator="arithmetic" result="shadowInnerInner1"></feComposite><feColorMatrix in="shadowInnerInner1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"></feColorMatrix></filter></defs><mask id="Vomit-mask1" fill="#fff"><use href="#Vomit-path1" transform="matrix(1 0 0 -1 0 43)"></use></mask><use id="Mouth" fill="#000" href="#Vomit-path1" opacity=".7" transform="matrix(1 0 0 -1 0 43)"></use><rect id="Teeth" width="31" height="16" x="39" y="0" fill="#FFF" mask="url('#Vomit-mask1')" rx="5"></rect><g id="Vomit-Stuff"><use fill="#88C553" href="#Vomit-path2"></use><use filter="url('#filter1')" href="#Vomit-path2"></use></g></g></g>',1),Qx=[Zx];function Kx(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Qx])}const Jx={render:Kx},eb={Concerned:cx,Disbelief:fx,Grimace:yx,ScreamOpen:wx,Smile:Sx,Twinkle:Vx,Default:Tx,Eating:Lx,Sad:zx,Serious:qx,Tongue:Xx,Vomit:Jx},tb=(e="#6fb8e0")=>[t.h("g",{id:"Circle","stroke-width":"1","fill-rule":"evenodd",transform:"translate(12.000000, 40.000000)"},[t.h("mask",{id:"mask-1",fill:"white"},[t.h("use",{href:"#path-1"})]),t.h("use",{id:"Circle-Background",fill:"#E6E6E6",href:"#path-1"}),t.h("g",{id:"Color/Palette/Blue-01",mask:"url(#mask-1)",fill:e},[t.h("rect",{id:"Color",x:"0",y:"0",width:"240",height:"240"})])]),t.h("mask",{id:"mask-2",fill:"white"},[t.h("use",{href:"#path-2"})])],ab=e=>{const a={"--avataaar-hair-color":e.hairColor,"--avataaar-facial-hair-color":e.facialHairColor,"--avataaar-top-color":e.topColor,"--avataaar-shirt-color":e.clothesColor};return t.h("svg",{viewBox:"0 0 264 280",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t.h("desc","vue3-avataaars"),t.h("defs",[t.h("circle",{id:"path-1",cx:"120",cy:"120",r:"120"}),t.h("path",{id:"path-2",d:"M12,160 C12,226.27417 65.72583,280 132,280 C198.27417,280 252,226.27417 252,160 L264,160 L264,-1.42108547e-14 L-3.19744231e-14,-1.42108547e-14 L-3.19744231e-14,160 L12,160 Z"}),t.h("path",{id:"path-silhouette",d:"M124,144.610951 L124,163 L128,163 L128,163 C167.764502,163 200,195.235498 200,235 L200,244 L0,244 L0,235 C-4.86974701e-15,195.235498 32.235498,163 72,163 L72,163 L76,163 L76,144.610951 C58.7626345,136.422372 46.3722246,119.687011 44.3051388,99.8812385 C38.4803105,99.0577866 34,94.0521096 34,88 L34,74 C34,68.0540074 38.3245733,63.1180731 44,62.1659169 L44,56 L44,56 C44,25.072054 69.072054,5.68137151e-15 100,0 L100,0 L100,0 C130.927946,-5.68137151e-15 156,25.072054 156,56 L156,62.1659169 C161.675427,63.1180731 166,68.0540074 166,74 L166,88 C166,94.0521096 161.51969,99.0577866 155.694861,99.8812385 C153.627775,119.687011 141.237365,136.422372 124,144.610951 Z"})]),t.h("g",{id:"Avataaar",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t.h("g",{id:"Avataaar/Circle",transform:"translate(-825.000000, -1100.000000)"},[t.h("g",{transform:"translate(825.000000, 1100.000000)"},[e.isCircle?tb(e.circleColor):null,t.h("g",{id:"Mask"}),t.h("g",{id:"Avataaar","stroke-width":"1","fill-rule":"evenodd",fill:"black",mask:"url(#mask-2)",style:a},[t.h("g",{id:"Body",transform:"translate(32.000000, 36.000000)"},[t.h("mask",{id:"mask-silhouette",fill:"white"},[t.h("use",{href:"#path-silhouette"})]),t.h("use",{fill:e.skinColor,href:"#path-silhouette"}),t.h("path",{id:"Neck-Shadow",d:"M156,79 L156,102 C156,132.927946 130.927946,158 100,158 C69.072054,158 44,132.927946 44,102 L44,79 L44,94 C44,124.927946 69.072054,150 100,150 C130.927946,150 156,124.927946 156,94 L156,79 Z","fill-opacity":"0.100000001",fill:"#000000",mask:"url(#mask-silhouette)"})]),t.h(gf[e.clothes]),e.clothes==="GraphicShirt"?t.h(uy[e.graphicShirt]):null,t.h(ik[e.eyes]),t.h(ox[e.eyebrows]),t.h(eb[e.mouth]),t.h("svg",[t.h("g",{fill:"black",transform:"translate(76.000000, 82.000000)"},[t.h("g",{id:"Nose/Default",transform:"translate(28.000000, 40.000000)",opacity:"0.16"},[t.h("path",{id:"Nose",d:"M16,8 C16,12.418278 21.372583,16 28,16 L28,16 C34.627417,16 40,12.418278 40,8"})])])]),t.h(Qp[e.top]),t.h(bg[e.facialHair]),t.h(Dm[e.accessories])])])])])])};function aa(e){return e[Math.floor(Math.random()*e.length)]}function nb(e){return aa(Object.keys(e))}function Cn(e){return e[nb(e)]}const f1={Black:"#262E33",Blue01:"#65C9FF",Blue02:"#5199E4",Blue03:"#25557C",Gray01:"#E6E6E6",Gray02:"#929598",Heather:"#3C4F5C",PastelBlue:"#B1E2FF",PastelGreen:"#A7FFC4",PastelOrange:"#FFBC69",PastelRed:"#FFAFB9",PastelYellow:"#FFFFB1",Pink:"#FF488E",Red:"#FF5C5C",White:"#FFFFFF"},h1={Auburn:"#A55728",Black:"#2C1B18",Blonde:"#B58143",BlondeGolden:"#D6B370",Brown:"#724133",BrownDark:"#4A312C",PastelPink:"#F59797",Platinum:"#ECDCBF",Red:"#C93305",SilverGray:"#E8E1E1"},rb={Tanned:"#FD9841",Yellow:"#F8D25C",Pale:"#FFDBB4",Light:"#EDB98A",Brown:"#D08B5B",DarkBrown:"#AE5D29",Black:"#614335"},ob=["Blank","Prescription01","Round","Wayfarers","Kurt","Prescription02","Sunglasses"],ib=["Close","Default","EyeRoll","Hearts","Squint","Wink","Cry","Dizzy","Happy","Side","Surprised","WinkWacky"],lb=["Angry","FlatNatural","SadConcerned","UpDownNatural","AngryNatural","FrownNatural","SadConcernedNatural","Default","RaisedExcited","UnibrowNatural","DefaultNatural","RaisedExcitedNatural","UpDown"],sb=["BeardMajestic","BeardLight","MoustacheFancy","BeardMedium","Blank","MoustacheMagnum"],cb=["Concerned","Disbelief","Grimace","ScreamOpen","Smile","Twinkle","Default","Eating","Sad","Serious","Tongue","Vomit"],db=["Eyepatch","Hat","Hijab","LongHairBigHair","LongHairBob","LongHairBun","LongHairCurly","LongHairCurvy","LongHairDreads","LongHairFrida","LongHairFro","LongHairFroBand","LongHairMiaWallace","LongHairNotTooLong","LongHairShavedSides","LongHairStraight","LongHairStraight2","LongHairStraightStrand","NoHair","ShortHairDreads01","ShortHairDreads02","ShortHairFrizzle","ShortHairShaggy","ShortHairShaggyMullet","ShortHairShortCurly","ShortHairShortFlat","ShortHairShortRound","ShortHairShortWaved","ShortHairSides","ShortHairTheCaesar","ShortHairTheCaesarSidePart","Turban","WinterHat1","WinterHat2","WinterHat3","WinterHat4"],ub=["BlazerShirt","CollarSweater","BlazerSweater","Hoodie","GraphicShirt","Overall","ShirtCrewNeck","ShirtVNeck","ShirtScoopNeck"],mb=["Bat","Cumbia","Diamond","Pizza","Selena","SkullOutline","Bear","Deer","Hola","Resist","Skull"],mr=(e={})=>{var a,n,r,o,i,l,s,d,p,f,h,c,m,u;return{isCircle:e.isCircle===void 0?!1:e.isCircle,circleColor:(a=e.circleColor)!=null?a:void 0,skinColor:(n=e.skinColor)!=null?n:Cn(rb),hairColor:(r=e.hairColor)!=null?r:Cn(h1),topColor:(o=e.topColor)!=null?o:Cn(f1),clothesColor:(i=e.clothesColor)!=null?i:Cn(f1),facialHairColor:(l=e.facialHairColor)!=null?l:Cn(h1),accessories:(s=e.accessories)!=null?s:aa(ob),eyes:(d=e.eyes)!=null?d:aa(ib),eyebrows:(p=e.eyebrows)!=null?p:aa(lb),mouth:(f=e.mouth)!=null?f:aa(cb),top:(h=e.top)!=null?h:aa(db),clothes:(c=e.clothes)!=null?c:aa(ub),graphicShirt:(m=e.graphicShirt)!=null?m:aa(mb),facialHair:(u=e.facialHair)!=null?u:aa(sb)}},p1={isCircle:!0,circleColor:"#22c55e",skinColor:"#D08B5B",hairColor:"#E8E1E1",topColor:"#E6E6E6",clothesColor:"blue",facialHairColor:"#E8E1E1",accessories:"Blank",eyes:"Default",eyebrows:"DefaultNatural",mouth:"Default",top:"NoHair",clothes:"GraphicShirt",graphicShirt:"Pizza",facialHair:"Blank"},fb={class:"main-container"},hb=["src"],pb={key:1,class:"avatar-section flex flex-col"},gb={id:"avatar-container",class:"avatar-container"},yb={class:"controls"},kb={class:"checkbox-label checkbox-wrapper-2",for:"avatarLabel"},g1=qe({__name:"randomAvatar",props:{content:{type:String,default:null}},emits:["base64","random"],setup(e,{emit:a}){const n=t.ref(p1),r=t.ref(p1),o=t.ref(!1);t.onMounted(async()=>{n.value=mr(n.value),await t.nextTick(),p()});const i=a,l=e,s=async()=>{if(o.value)n.value=mr(r.value);else{const f={...r.value,facialHair:"Blank"};n.value=mr(f)}await t.nextTick(),p()},d=async()=>{n.value=mr({isCircle:!0,circleColor:"#22c55e",facialHair:o.value?"Blank":null});const f=n.value;r.value=f,await t.nextTick(),p()},p=()=>{const f=document.querySelector("#avatar-container svg");if(!f){console.error("Avatar não encontrado!");return}let c=new XMLSerializer().serializeToString(f);const u=`data:image/svg+xml;base64,${window.btoa(unescape(encodeURIComponent(c)))}`;i("base64",u)};return(f,h)=>(t.openBlock(),t.createElementBlock("main",fb,[l.content?(t.openBlock(),t.createElementBlock("img",{key:0,class:"max-w-[45%] max-h-[45%] flex items-center justify-center mx-auto",src:l.content},null,8,hb)):(t.openBlock(),t.createElementBlock("section",pb,[t.createElementVNode("div",gb,[t.createVNode(t.unref(ab),t.normalizeProps(t.guardReactiveProps(n.value)),null,16)]),t.createElementVNode("div",yb,[t.createElementVNode("label",kb,[t.withDirectives(t.createElementVNode("input",{id:"avatarLabel","onUpdate:modelValue":h[0]||(h[0]=c=>o.value=c),type:"checkbox",onInput:s,class:"sc-gJwTLC ikxBAC"},null,544),[[t.vModelCheckbox,o.value]]),h[1]||(h[1]=t.createTextVNode(" Remover barba "))]),t.createElementVNode("button",{onClick:d,class:"generate-button"}," Gerar Avatar ")])]))]))}},[["__scopeId","data-v-a1b7ef69"]]),xb={class:"modal_container"},bb={class:"modal_box"},wb={class:"modal_header"},y1=qe({__name:"min_modal",props:{defineWidth:{type:String,default:"max-width-md"}},emits:["close"],setup(e,{emit:a}){const n=a,r=()=>{n("close")};return(o,i)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("div",{class:"min_modal"},[t.createElementVNode("div",{class:"modal_overlay",onClick:r})]),t.createElementVNode("div",xb,[t.createElementVNode("div",{class:t.normalizeClass(["modal_content ",e.defineWidth])},[t.createElementVNode("div",bb,[t.createElementVNode("div",wb,[t.renderSlot(o.$slots,"header",{},void 0,!0),t.createElementVNode("button",{class:"modal_close",onClick:i[0]||(i[0]=l=>r())},i[1]||(i[1]=[t.createElementVNode("svg",{class:"modal_close_icon","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14"},[t.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"})],-1)]))]),t.createElementVNode("div",null,[t.renderSlot(o.$slots,"body",{},void 0,!0)])])],2)])],64))}},[["__scopeId","data-v-172c0a39"]]),vb={v:"5.4.4",fr:30,ip:0,op:110,w:800,h:600,nm:"Comp 1",ddd:0,assets:[{id:"comp_0",layers:[{ddd:0,ind:1,ty:4,nm:"Sub Rocket 01",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:0,s:[219.02,362.805,0],e:[358.52,362.805,0],to:[23.25,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:15,s:[358.52,362.805,0],e:[219.02,362.805,0],to:[0,0,0],ti:[23.25,0,0]},{t:30}],ix:2,x:`var $bm_rt;
|
|
96
|
+
*/const k1=["viewport","carousel"],kr={"bottom-to-top":"btt","left-to-right":"ltr","right-to-left":"rtl","top-to-bottom":"ttb"},b1=["ltr","left-to-right","rtl","right-to-left","ttb","top-to-bottom","btt","bottom-to-top"],e8={ariaGallery:"Gallery",ariaNavigateToPage:"Navigate to page {slideNumber}",ariaNavigateToSlide:"Navigate to slide {slideNumber}",ariaNextSlide:"Navigate to next slide",ariaPreviousSlide:"Navigate to previous slide",iconArrowDown:"Arrow pointing downwards",iconArrowLeft:"Arrow pointing to the left",iconArrowRight:"Arrow pointing to the right",iconArrowUp:"Arrow pointing upwards",itemXofY:"Item {currentSlide} of {slidesCount}"},x1=["slide","fade"],w1=["center","start","end","center-even","center-odd"],v1=10,br=.08,at={autoplay:0,breakpointMode:k1[0],breakpoints:void 0,dir:b1[0],enabled:!0,gap:0,height:"auto",i18n:e8,ignoreAnimations:!1,itemsToScroll:1,itemsToShow:1,modelValue:0,mouseDrag:!0,mouseWheel:!1,pauseAutoplayOnHover:!1,preventExcessiveDragging:!1,slideEffect:x1[0],snapAlign:w1[0],touchDrag:!0,transition:300,wrapAround:!1},Oa=Symbol("carousel"),t8=e=>{const a=t.shallowReactive([]),n=r=>{r!==void 0?a.slice(r).forEach((o,i)=>{var s;(s=o.exposed)===null||s===void 0||s.setIndex(r+i)}):a.forEach((o,i)=>{var s;(s=o.exposed)===null||s===void 0||s.setIndex(i)})};return{cleanup:()=>{a.splice(0,a.length)},getSlides:()=>a,registerSlide:(r,o)=>{if(!r||r.props.isClone)return;const i=o??a.length;a.splice(i,0,r),n(i),e("slide-registered",{slide:r,index:i})},unregisterSlide:r=>{const o=a.indexOf(r);o!==-1&&(e("slide-unregistered",{slide:r,index:o}),a.splice(o,1),n(o))}}};function a8(e){return e.length===0?0:e.reduce((n,r)=>n+r,0)/e.length}function E1({slides:e,position:a,toShow:n}){const r=[],o=a==="before",i=o?-n:0,s=o?0:n;if(e.length<=0)return r;for(let l=i;l<s;l++){const p={index:o?l:l+e.length,isClone:!0,id:void 0,key:`clone-${a}-${l}`},u=e[(l%e.length+e.length)%e.length].vnode,m=t.cloneVNode(u,p);m.el=null,r.push(m)}return r}const n8='a[href], button, input, textarea, select, details, [tabindex]:not([tabindex="-1"])';function C1(e){if(!e.el||!(e.el instanceof Element))return;const a=e.el.querySelectorAll(n8);for(const n of a)n instanceof HTMLElement&&!n.hasAttribute("disabled")&&n.getAttribute("aria-hidden")!=="true"&&n.setAttribute("tabindex","-1")}function r8(e,a){return Object.keys(e).filter(n=>!a.includes(n)).reduce((n,r)=>(n[r]=e[r],n),{})}function o8(e){const{isVertical:a,isReversed:n,dragged:r,effectiveSlideSize:o,threshold:i}=e,s=a?r.y:r.x;if(s===0)return 0;const l=s/o,c=Math.abs(l);if(c<i)return 0;const p=c<1?Math.sign(l):Math.round(l);return n?p:-p}function aa({val:e,max:a,min:n}){return a<n?e:Math.min(Math.max(e,isNaN(n)?e:n),isNaN(a)?e:a)}function i8(e){const{transform:a}=window.getComputedStyle(e);return a.split(/[(,)]/).slice(1,-1).map(n=>parseFloat(n))}function s8(e){let a=1,n=1;return e.forEach(r=>{const o=i8(r);o.length===6&&(a/=o[0],n/=o[3])}),{widthMultiplier:a,heightMultiplier:n}}function l8(e,a){switch(e){case"start":return 0;case"center":case"center-odd":return(a-1)/2;case"center-even":return(a-2)/2;case"end":return a-1;default:return 0}}function c8(e,a,n){switch(e){case"start":return 0;case"center":case"center-odd":return(n-a)/2;case"center-even":return n/2-a;case"end":return n-a;default:return 0}}function Yo({slideSize:e,viewportSize:a,align:n,itemsToShow:r}){return r!==void 0?l8(n,r):e!==void 0&&a!==void 0?c8(n,e,a):0}function S1(e="",a={}){return Object.entries(a).reduce((n,[r,o])=>n.replace(`{${r}}`,String(o)),e)}function M1({val:e,max:a,min:n=0}){const r=a-n+1;return((e-n)%r+r)%r+n}function Uo(e,a=0){let n=!1,r=0,o=null;function i(...s){if(n)return;n=!0;const l=()=>{o=requestAnimationFrame(c=>{c-r>a?(r=c,e(...s),n=!1):l()})};l()}return i.cancel=()=>{o&&(cancelAnimationFrame(o),o=null,n=!1)},i}function xr(e,a="px"){if(!(e==null||e===""))return typeof e=="number"||parseFloat(e).toString()===e?`${e}${a}`:e}const d8=t.defineComponent({name:"CarouselAria",setup(){const e=t.inject(Oa);return e?()=>t.h("div",{class:["carousel__liveregion","carousel__sr-only"],"aria-live":"polite","aria-atomic":"true"},S1(e.config.i18n.itemXofY,{currentSlide:e.currentSlide+1,slidesCount:e.slidesCount})):()=>""}});function u8(e){let a=!1;const n={x:0,y:0},r=t.reactive({x:0,y:0}),o=t.ref(!1),{isSliding:i}=e,s=t.computed(()=>typeof i=="boolean"?i:i.value),l=u=>{var m;const d=u.target.tagName;if(["INPUT","TEXTAREA","SELECT"].includes(d)||s.value||(a=u.type==="touchstart",a&&u.touches.length>1))return;if(!a&&(u.preventDefault(),u.button!==0))return;n.x=a?u.touches[0].clientX:u.clientX,n.y=a?u.touches[0].clientY:u.clientY;const h=a?"touchmove":"mousemove",f=a?"touchend":"mouseup";document.addEventListener(h,c,{passive:!1}),document.addEventListener(f,p,{passive:!0}),(m=e.onDragStart)===null||m===void 0||m.call(e)},c=Uo(u=>{var m;if(a&&u.touches.length>1)return;o.value=!0;const d=a?u.touches[0].clientX:u.clientX,h=a?u.touches[0].clientY:u.clientY;r.x=d-n.x,r.y=h-n.y,(m=e.onDrag)===null||m===void 0||m.call(e,{deltaX:r.x,deltaY:r.y,isTouch:a})}),p=()=>{var u;c.cancel();const m=Math.abs(r.x)+Math.abs(r.y);!a&&m>10&&window.addEventListener("click",f=>{f.preventDefault(),f.stopPropagation()},{once:!0,capture:!0}),(u=e.onDragEnd)===null||u===void 0||u.call(e),r.x=0,r.y=0,o.value=!1;const d=a?"touchmove":"mousemove",h=a?"touchend":"mouseup";document.removeEventListener(d,c),document.removeEventListener(h,p)};return{dragged:r,isDragging:o,handleDragStart:l}}function f8(){const e=t.ref(!1);return{isHover:e,handleMouseEnter:()=>{e.value=!0},handleMouseLeave:()=>{e.value=!1}}}function m8(e){const{isVertical:a,isSliding:n,config:r}=e,o=t.computed(()=>typeof a=="boolean"?a:a.value),i=t.computed(()=>typeof n=="boolean"?n:n.value);return{handleScroll:l=>{var c,p;if(l.preventDefault(),!r.mouseWheel||i.value)return;const u=typeof r.mouseWheel=="object"&&(c=r.mouseWheel.threshold)!==null&&c!==void 0?c:v1,m=Math.abs(l.deltaY)>u?l.deltaY:0,d=Math.abs(l.deltaX)>u?l.deltaX:0;if(m===0&&d===0)return;const h=o.value?m:d,g=(h!==0?h:o.value?d:m)>0;(p=e.onWheel)===null||p===void 0||p.call(e,{deltaX:d,deltaY:m,isScrollingForward:g})}}}const h8={autoplay:{default:at.autoplay,type:Number},breakpoints:{default:at.breakpoints,type:Object},breakpointMode:{default:at.breakpointMode,validator(e){return k1.includes(e)}},clamp:{type:Boolean},dir:{type:String,default:at.dir,validator(e,a){if(!b1.includes(e))return!1;const n=e in kr?kr[e]:e;return["ttb","btt"].includes(n)&&(!a.height||a.height==="auto")&&console.warn(`[vue3-carousel]: The dir "${e}" is not supported with height "auto".`),!0}},enabled:{default:at.enabled,type:Boolean},gap:{default:at.gap,type:Number},height:{default:at.height,type:[Number,String]},i18n:{default:at.i18n,type:Object},ignoreAnimations:{default:!1,type:[Array,Boolean,String]},itemsToScroll:{default:at.itemsToScroll,type:Number},itemsToShow:{default:at.itemsToShow,type:[Number,String]},modelValue:{default:void 0,type:Number},mouseDrag:{default:at.mouseDrag,type:[Boolean,Object]},mouseWheel:{default:at.mouseWheel,type:[Boolean,Object]},mouseScrollThreshold:{default:at.mouseScrollThreshold,type:Number},pauseAutoplayOnHover:{default:at.pauseAutoplayOnHover,type:Boolean},preventExcessiveDragging:{default:!1,type:Boolean,validator(e,a){return e&&a.wrapAround&&console.warn('[vue3-carousel]: "preventExcessiveDragging" cannot be used with wrapAround. The setting will be ignored.'),!0}},slideEffect:{type:String,default:at.slideEffect,validator(e){return x1.includes(e)}},snapAlign:{default:at.snapAlign,validator(e){return w1.includes(e)}},touchDrag:{default:at.touchDrag,type:[Boolean,Object]},transition:{default:at.transition,type:Number},wrapAround:{default:at.wrapAround,type:Boolean}},p8=t.defineComponent({name:"VueCarousel",props:h8,emits:["before-init","drag","init","loop","slide-end","slide-registered","slide-start","slide-unregistered","update:modelValue","wheel"],setup(e,{slots:a,emit:n,expose:r}){var o;const i=t8(n),s=i.getSlides(),l=t.computed(()=>s.length),c=t.ref(null),p=t.ref(null),u=t.ref(0),m=t.computed(()=>Object.assign(Object.assign(Object.assign({},at),r8(e,["breakpoints","modelValue"])),{i18n:Object.assign(Object.assign({},at.i18n),e.i18n)})),d=t.shallowReactive(Object.assign({},m.value)),h=t.ref((o=e.modelValue)!==null&&o!==void 0?o:0),f=t.ref(h.value);t.watch(h,$=>f.value=$);const g=t.ref(0),b=t.computed(()=>Math.ceil((l.value-1)/2)),x=t.computed(()=>l.value-1),w=t.computed(()=>0);let k=null,V=null,_=null;const T=t.computed(()=>u.value+d.gap),N=t.computed(()=>{const $=d.dir||"ltr";return $ in kr?kr[$]:$}),S=t.computed(()=>["rtl","btt"].includes(N.value)),B=t.computed(()=>["ttb","btt"].includes(N.value)),G=t.computed(()=>d.itemsToShow==="auto"),O=t.computed(()=>B.value?"height":"width");function Q(){var $;if(!J.value)return;const L=(m.value.breakpointMode==="carousel"?($=c.value)===null||$===void 0?void 0:$.getBoundingClientRect().width:typeof window<"u"?window.innerWidth:0)||0,ae=Object.keys(e.breakpoints||{}).map(xe=>Number(xe)).sort((xe,Ae)=>+Ae-+xe),le={};ae.some(xe=>L>=xe?(Object.assign(le,e.breakpoints[xe]),le.i18n&&Object.assign(le.i18n,m.value.i18n,e.breakpoints[xe].i18n),!0):!1),Object.assign(d,m.value,le),G.value||(d.itemsToShow=aa({val:Number(d.itemsToShow),max:e.clamp?l.value:1/0,min:1}))}const U=Uo(()=>{Q(),v(),A()}),E=t.shallowReactive(new Set),D=t.ref([]);function R({widthMultiplier:$,heightMultiplier:L}){D.value=s.map(ae=>{var le;const xe=(le=ae.exposed)===null||le===void 0?void 0:le.getBoundingRect();return{width:xe.width*$,height:xe.height*L}})}const Y=t.ref({width:0,height:0});function oe({widthMultiplier:$,heightMultiplier:L}){var ae;const le=((ae=p.value)===null||ae===void 0?void 0:ae.getBoundingClientRect())||{width:0,height:0};Y.value={width:le.width*$,height:le.height*L}}function A(){if(!p.value)return;const $=s8(E);if(oe($),R($),G.value)u.value=a8(D.value.map(L=>L[O.value]));else{const L=Number(d.itemsToShow),ae=(L-1)*d.gap;u.value=(Y.value[O.value]-ae)/L}}function v(){!d.wrapAround&&l.value>0&&(h.value=aa({val:h.value,max:x.value,min:w.value}))}const X=t.computed(()=>typeof e.ignoreAnimations=="string"?e.ignoreAnimations.split(","):Array.isArray(e.ignoreAnimations)?e.ignoreAnimations:e.ignoreAnimations?!1:[]);t.watchEffect(()=>v()),t.watchEffect(()=>{A()});let K;const q=$=>{const L=$.target;if(!(!(L!=null&&L.contains(c.value))||Array.isArray(X.value)&&X.value.includes($.animationName))&&(E.add(L),!K)){const ae=()=>{K=requestAnimationFrame(()=>{A(),ae()})};ae()}},M=$=>{const L=$.target;L&&E.delete(L),K&&E.size===0&&(cancelAnimationFrame(K),A())},J=t.ref(!1);typeof document<"u"&&t.watchEffect(()=>{J.value&&X.value!==!1?(document.addEventListener("animationstart",q),document.addEventListener("animationend",M)):(document.removeEventListener("animationstart",q),document.removeEventListener("animationend",M))}),t.onMounted(()=>{J.value=!0,Q(),C(),c.value&&(_=new ResizeObserver(U),_.observe(c.value)),n("init")}),t.onBeforeUnmount(()=>{J.value=!1,i.cleanup(),V&&clearTimeout(V),K&&cancelAnimationFrame(K),k&&clearInterval(k),_&&(_.disconnect(),_=null),typeof document<"u"&&fe(),c.value&&(c.value.removeEventListener("transitionend",A),c.value.removeEventListener("animationiteration",A))});const{isHover:ce,handleMouseEnter:z,handleMouseLeave:he}=f8(),ee=Uo($=>{if(!$.ctrlKey)switch($.key){case"ArrowLeft":case"ArrowUp":B.value===$.key.endsWith("Up")&&(S.value?me(!0):Me(!0));break;case"ArrowRight":case"ArrowDown":B.value===$.key.endsWith("Down")&&(S.value?Me(!0):me(!0));break}},200),fe=()=>{document.removeEventListener("keydown",ee)},F=()=>{document.addEventListener("keydown",ee)};function C(){!d.autoplay||d.autoplay<=0||(k=setInterval(()=>{d.pauseAutoplayOnHover&&ce.value||me()},d.autoplay))}function y(){P(),C()}function P(){k&&(clearInterval(k),k=null)}const I=t.ref(!1),H=({deltaX:$,deltaY:L,isTouch:ae})=>{var le,xe,Ae,De;n("drag",{deltaX:$,deltaY:L});const Pe=ae?typeof d.touchDrag=="object"&&(xe=(le=d.touchDrag)===null||le===void 0?void 0:le.threshold)!==null&&xe!==void 0?xe:br:typeof d.mouseDrag=="object"&&(De=(Ae=d.mouseDrag)===null||Ae===void 0?void 0:Ae.threshold)!==null&&De!==void 0?De:br,qe=o8({isVertical:B.value,isReversed:S.value,dragged:{x:$,y:L},effectiveSlideSize:T.value,threshold:Pe});qe!==0&&(f.value=d.wrapAround?h.value+qe:aa({val:h.value+qe,max:x.value,min:w.value}))},te=()=>_e(f.value),{dragged:j,isDragging:ne,handleDragStart:ue}=u8({isSliding:I,onDrag:H,onDragEnd:te}),ye=({deltaX:$,deltaY:L,isScrollingForward:ae})=>{n("wheel",{deltaX:$,deltaY:L}),ae?S.value?Me():me():S.value?me():Me()},{handleScroll:be}=m8({isVertical:B,isSliding:I,config:d,onWheel:ye});function me($=!1){_e(h.value+d.itemsToScroll,$)}function Me($=!1){_e(h.value-d.itemsToScroll,$)}function _e($,L=!1){if(!L&&I.value)return;const ae=(d.wrapAround?M1:aa)({val:$,max:x.value,min:w.value});if(h.value===ae)return;g.value=h.value,n("slide-start",{slidingToIndex:$,currentSlideIndex:h.value,prevSlideIndex:g.value,slidesCount:l.value}),P(),I.value=!0,h.value=$,ae!==$&&Se.pause(),n("update:modelValue",ae),V=setTimeout(()=>{d.wrapAround&&ae!==$&&(Se.resume(),h.value=ae,n("loop",{currentSlideIndex:h.value,slidingToIndex:$})),n("slide-end",{currentSlideIndex:h.value,prevSlideIndex:g.value,slidesCount:l.value}),I.value=!1,y()},d.transition)}function Ne(){Q(),v(),A(),y()}t.watch(()=>[m.value,e.breakpoints],()=>Q(),{deep:!0}),t.watch(()=>e.autoplay,()=>y());const Se=t.watch(()=>e.modelValue,$=>{$!==h.value&&_e(Number($),!0)});n("before-init");const Le=t.computed(()=>{if(!d.wrapAround)return{before:0,after:0};if(G.value)return{before:s.length,after:s.length};const $=Number(d.itemsToShow),L=Math.ceil($+(d.itemsToScroll-1)),ae=L-f.value,le=L-(l.value-(f.value+1));return{before:Math.max(0,ae),after:Math.max(0,le)}}),Be=t.computed(()=>Le.value.before?G.value?D.value.slice(-1*Le.value.before).reduce(($,L)=>$+L[O.value]+d.gap,0)*-1:Le.value.before*T.value*-1:0),Z=t.computed(()=>{var $;if(G.value){const L=(h.value%s.length+s.length)%s.length;return Yo({slideSize:($=D.value[L])===null||$===void 0?void 0:$[O.value],viewportSize:Y.value[O.value],align:d.snapAlign})}return Yo({align:d.snapAlign,itemsToShow:+d.itemsToShow})}),re=t.computed(()=>{let $=0;if(G.value){if(h.value<0?$=D.value.slice(h.value).reduce((L,ae)=>L+ae[O.value]+d.gap,0)*-1:$=D.value.slice(0,h.value).reduce((L,ae)=>L+ae[O.value]+d.gap,0),$-=Z.value,!d.wrapAround){const L=D.value.reduce((ae,le)=>ae+le[O.value]+d.gap,0)-Y.value[O.value]-d.gap;$=aa({val:$,max:L,min:0})}}else{let L=h.value-Z.value;d.wrapAround||(L=aa({val:L,max:l.value-+d.itemsToShow,min:0})),$=L*T.value}return $*(S.value?1:-1)}),ie=t.computed(()=>{var $,L;if(!G.value){const xe=h.value-Z.value;return d.wrapAround?{min:Math.floor(xe),max:Math.ceil(xe+Number(d.itemsToShow)-1)}:{min:Math.floor(aa({val:xe,max:l.value-Number(d.itemsToShow),min:0})),max:Math.ceil(aa({val:xe+Number(d.itemsToShow)-1,max:l.value-1,min:0}))}}let ae=0;{let xe=0,Ae=0-Le.value.before;const De=Math.abs(re.value+Be.value);for(;xe<=De;){const Pe=(Ae%s.length+s.length)%s.length;xe+=(($=D.value[Pe])===null||$===void 0?void 0:$[O.value])+d.gap,Ae++}ae=Ae-1}let le=0;{let xe=ae,Ae=0;for(xe<0?Ae=D.value.slice(0,xe).reduce((De,Pe)=>De+Pe[O.value]+d.gap,0)-Math.abs(re.value+Be.value):Ae=D.value.slice(0,xe).reduce((De,Pe)=>De+Pe[O.value]+d.gap,0)-Math.abs(re.value);Ae<Y.value[O.value];){const De=(xe%s.length+s.length)%s.length;Ae+=((L=D.value[De])===null||L===void 0?void 0:L[O.value])+d.gap,xe++}le=xe-1}return{min:Math.floor(ae),max:Math.ceil(le)}}),de=t.computed(()=>{if(d.slideEffect==="fade")return;const $=B.value?"Y":"X",L=B.value?j.y:j.x;let ae=re.value+L;if(!d.wrapAround&&d.preventExcessiveDragging){let le=0;G.value?le=D.value.reduce((De,Pe)=>De+Pe[O.value],0):le=(l.value-Number(d.itemsToShow))*T.value;const xe=S.value?0:-1*le,Ae=S.value?le:0;ae=aa({val:ae,min:xe,max:Ae})}return`translate${$}(${ae}px)`}),Ee=t.computed(()=>({"--vc-carousel-height":xr(d.height),"--vc-cloned-offset":xr(Be.value),"--vc-slide-gap":xr(d.gap),"--vc-transition-duration":I.value?xr(d.transition,"ms"):void 0})),pe={slideTo:_e,next:me,prev:Me},ke=t.reactive({activeSlide:f,config:d,currentSlide:h,isSliding:I,isVertical:B,maxSlide:x,minSlide:w,nav:pe,normalizedDir:N,slideRegistry:i,slideSize:u,slides:s,slidesCount:l,viewport:p,visibleRange:ie});t.provide(Oa,ke);const W=t.reactive({config:d,currentSlide:h,maxSlide:x,middleSlide:b,minSlide:w,slideSize:u,slidesCount:l});return r(t.reactive(Object.assign({data:W,next:me,prev:Me,restartCarousel:Ne,slideTo:_e,updateBreakpointsConfig:Q,updateSlideSize:A,updateSlidesData:v},t.toRefs(ke)))),()=>{var $;const L=a.default||a.slides,ae=(L==null?void 0:L(W))||[],{before:le,after:xe}=Le.value,Ae=E1({slides:s,position:"before",toShow:le}),De=E1({slides:s,position:"after",toShow:xe}),Pe=[...Ae,...ae,...De];if(!d.enabled||!Pe.length)return t.h("section",{ref:c,class:["carousel","is-disabled"]},Pe);const qe=(($=a.addons)===null||$===void 0?void 0:$.call(a,W))||[],nt=t.h("ol",{class:"carousel__track",onMousedownCapture:d.mouseDrag?ue:null,onTouchstartPassiveCapture:d.touchDrag?ue:null,onWheel:d.mouseWheel?be:null,style:{transform:de.value}},Pe),bt=t.h("div",{class:"carousel__viewport",ref:p},nt);return t.h("section",{ref:c,class:["carousel",`is-${N.value}`,`is-effect-${d.slideEffect}`,{"is-dragging":ne.value,"is-hover":ce.value,"is-sliding":I.value,"is-vertical":B.value}],dir:N.value,style:Ee.value,"aria-label":d.i18n.ariaGallery,tabindex:"0",onBlur:fe,onFocus:F,onMouseenter:z,onMouseleave:he},[bt,qe,t.h(d8)])}}});var Xo;(function(e){e.arrowDown="arrowDown",e.arrowLeft="arrowLeft",e.arrowRight="arrowRight",e.arrowUp="arrowUp"})(Xo||(Xo={}));const B1=e=>`icon${e.charAt(0).toUpperCase()+e.slice(1)}`,g8={arrowDown:"M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z",arrowLeft:"M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z",arrowRight:"M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z",arrowUp:"M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z"};function y8(e){return e in Xo}const A1=e=>e&&y8(e),V1=t.defineComponent({props:{name:{type:String,required:!0,validator:A1},title:{type:String,default:e=>e.name?at.i18n[B1(e.name)]:""}},setup(e){const a=t.inject(Oa,null);return()=>{const n=e.name;if(!n||!A1(n))return;const r=g8[n],o=t.h("path",{d:r}),i=(a==null?void 0:a.config.i18n[B1(n)])||e.title,s=t.h("title",i);return t.h("svg",{class:"carousel__icon",viewBox:"0 0 24 24",role:"img","aria-label":i},[s,o])}}}),k8=t.defineComponent({name:"CarouselNavigation",inheritAttrs:!1,props:{carousel:{type:Object}},setup(e,{slots:a,attrs:n}){let r=t.inject(Oa,null);const{next:o,prev:i}=a,s=()=>({btt:"arrowDown",ltr:"arrowLeft",rtl:"arrowRight",ttb:"arrowUp"})[r.normalizedDir],l=()=>({btt:"arrowUp",ltr:"arrowRight",rtl:"arrowLeft",ttb:"arrowDown"})[r.normalizedDir],c=t.computed(()=>!r.config.wrapAround&&r.currentSlide<=r.minSlide),p=t.computed(()=>!r.config.wrapAround&&r.currentSlide>=r.maxSlide);return()=>{if(e.carousel&&(r=e.carousel),!r)return console.warn("[vue3-carousel]: A carousel component must be provided for the navigation component to display"),"";const{i18n:u}=r.config,m=t.h("button",Object.assign(Object.assign({type:"button",disabled:c.value,"aria-label":u.ariaPreviousSlide,title:u.ariaPreviousSlide,onClick:r.nav.prev},n),{class:["carousel__prev",{"carousel__prev--disabled":c.value},n.class]}),(i==null?void 0:i())||t.h(V1,{name:s()})),d=t.h("button",Object.assign(Object.assign({type:"button",disabled:p.value,"aria-label":u.ariaNextSlide,title:u.ariaNextSlide,onClick:r.nav.next},n),{class:["carousel__next",{"carousel__next--disabled":p.value},n.class]}),(o==null?void 0:o())||t.h(V1,{name:l()}));return[m,d]}}});t.defineComponent({name:"CarouselPagination",props:{disableOnClick:{type:Boolean},paginateByItemsToShow:{type:Boolean},carousel:{type:Object}},setup(e){let a=t.inject(Oa,null);const n=t.computed(()=>a.config.itemsToShow),r=t.computed(()=>Yo({align:a.config.snapAlign,itemsToShow:n.value})),o=t.computed(()=>e.paginateByItemsToShow&&n.value>1),i=t.computed(()=>Math.ceil((a.activeSlide-r.value)/n.value)),s=t.computed(()=>Math.ceil(a.slidesCount/n.value)),l=c=>M1(o.value?{val:i.value,max:s.value-1,min:0}:{val:a.activeSlide,max:a.maxSlide,min:a.minSlide})===c;return()=>{var c,p;if(e.carousel&&(a=e.carousel),!a)return console.warn("[vue3-carousel]: A carousel component must be provided for the pagination component to display"),"";const u=[];for(let m=o.value?0:a.minSlide;m<=(o.value?s.value-1:a.maxSlide);m++){const d=S1(a.config.i18n[o.value?"ariaNavigateToPage":"ariaNavigateToSlide"],{slideNumber:m+1}),h=l(m),f=t.h("button",{type:"button",class:{"carousel__pagination-button":!0,"carousel__pagination-button--active":h},"aria-label":d,"aria-pressed":h,"aria-controls":(p=(c=a.slides[m])===null||c===void 0?void 0:c.exposed)===null||p===void 0?void 0:p.id,title:d,disabled:e.disableOnClick,onClick:()=>a.nav.slideTo(o.value?Math.floor(m*+a.config.itemsToShow+r.value):m)}),g=t.h("li",{class:"carousel__pagination-item",key:m},f);u.push(g)}return t.h("ol",{class:"carousel__pagination"},u)}}});const b8=t.defineComponent({name:"CarouselSlide",props:{id:{type:String,default:e=>e.isClone?void 0:t.useId()},index:{type:Number,default:void 0},isClone:{type:Boolean,default:!1}},setup(e,{attrs:a,slots:n,expose:r}){const o=t.inject(Oa);if(t.provide(Oa,void 0),!o)return()=>"";const i=t.ref(e.index),s=f=>{i.value=f},l=t.getCurrentInstance(),c=()=>{const f=l.vnode.el;return f?f.getBoundingClientRect():{width:0,height:0}};r({id:e.id,setIndex:s,getBoundingRect:c});const p=t.computed(()=>i.value===o.activeSlide),u=t.computed(()=>i.value===o.activeSlide-1),m=t.computed(()=>i.value===o.activeSlide+1),d=t.computed(()=>i.value>=o.visibleRange.min&&i.value<=o.visibleRange.max),h=t.computed(()=>{if(o.config.itemsToShow==="auto")return;const f=o.config.itemsToShow,g=o.config.gap>0&&f>1?`calc(${100/f}% - ${o.config.gap*(f-1)/f}px)`:`${100/f}%`;return o.isVertical?{height:g}:{width:g}});return o.slideRegistry.registerSlide(l,e.index),t.onUnmounted(()=>{o.slideRegistry.unregisterSlide(l)}),e.isClone&&(t.onMounted(()=>{C1(l.vnode)}),t.onUpdated(()=>{C1(l.vnode)})),()=>{var f,g;return o.config.enabled?t.h("li",{style:[a.style,Object.assign({},h.value)],class:{carousel__slide:!0,"carousel__slide--clone":e.isClone,"carousel__slide--visible":d.value,"carousel__slide--active":p.value,"carousel__slide--prev":u.value,"carousel__slide--next":m.value,"carousel__slide--sliding":o.isSliding},onFocusin:()=>{o.viewport&&(o.viewport.scrollLeft=0),o.nav.slideTo(i.value)},id:e.isClone?void 0:e.id,"aria-hidden":e.isClone||void 0},(g=n.default)===null||g===void 0?void 0:g.call(n,{currentIndex:i.value,isActive:p.value,isClone:e.isClone,isPrev:u.value,isNext:m.value,isSliding:o.isSliding,isVisible:d.value})):(f=n.default)===null||f===void 0?void 0:f.call(n)}}}),x8={key:0,class:"preview-overlay bg-base-300"},w8={class:"preview-info"},v8={class:"text-black"},E8={class:"queue-info"},C8={class:"carousel-container bg-base-200"},S8={class:"carousel-item"},M8=["onClick"],B8=["onClick"],A8={class:"send-footer"},V8={key:1,class:"toast-loader-files"},_1=je({__name:"dropFilesArea",props:{sendFilesToAttendant:{type:Function,required:!0},selectedAttendant:{type:Object,required:!0},attendant:{required:!0},isMobile:{type:Boolean,default:!1}},setup(e,{expose:a}){const n=e,r={itemsToShow:6,wrapAround:!1,gap:8,mouseDrag:!0,touchDrag:!0,mouseWheel:!0,snapAlign:"start",breakpoints:{1024:{itemsToShow:4},768:{itemsToShow:4},480:{itemsToShow:4},320:{itemsToShow:2},0:{itemsToShow:1}}},o=t.ref(!1),i=t.ref(""),s=t.ref(null),l=t.ref([]),c=t.ref([]),p=t.ref(null),u=t.ref(0),m=t.ref(!1),d=t.ref(0),h=t.ref(0),f=Q=>new Promise((U,E)=>{const D=new FileReader;D.readAsDataURL(Q),D.onload=()=>{U(D.result)},D.onerror=R=>{E(R)}}),g=()=>{o.value=!0},b=()=>{o.value=!1},x=()=>{c.value=[],l.value=[],i.value="",p.value=null,u.value=0},w=Q=>{if(!(Q<0||Q>=c.value.length)){if(c.value.splice(Q,1),l.value.splice(Q,1),c.value.length===0){p.value=null,u.value=0;return}if(Q===u.value){const U=Q>0?Q-1:0;p.value=c.value[U],u.value=U}else Q<u.value&&(u.value-=1)}},k=()=>{s.value.click()},V=async Q=>{const U=Array.from(Q.target.files);l.value=U,c.value=await Promise.all(U.map(async E=>({name:E.name,base64:await f(E)}))),p.value=c.value[0],t.nextTick(()=>{B()})},_=async Q=>{o.value=!1;const U=Array.from(Q.dataTransfer.files);l.value.push(...U);const E=await Promise.all(U.map(async D=>({name:D.name,base64:await f(D)})));c.value.push(...E),p.value||(p.value=c.value[0],u.value=0),console.log("b64files",c.value),t.nextTick(()=>{B()})},T=Q=>Q?Q.split(";")[0].split(":")[1]:null,N=async()=>{try{m.value=!0,d.value=l.value.length,h.value=0;for(let Q=0;Q<l.value.length;Q++){const U=Q===l.value.length-1,E={type:"file",media:{name:c.value[Q].name,mimetype:T(c.value[Q].base64),data:c.value[Q].base64}};U&&(E.content=i.value),await n.sendFilesToAttendant(n.selectedAttendant.id,E,n.attendant,!0),h.value++}await t.nextTick()}catch(Q){console.error(Q)}finally{m.value=!1,x(),b()}},S=t.ref(null),B=()=>{S.value&&S.value.focus()},G=(Q,U)=>{p.value=Q,u.value=U},O=async Q=>{var D;const U=(D=Q.clipboardData)==null?void 0:D.items;if(!U)return;const E=[];for(const R of U)if(R.kind==="file"){const Y=R.getAsFile();Y&&E.push(Y)}if(E.length>0){const R=new Set(l.value.map(A=>A.name));if(E.filter(A=>!R.has(A.name)).length===0)return;l.value.push(...E);const oe=await Promise.all(E.map(async A=>({name:A.name,base64:await f(A)})));c.value.push(...oe),p.value||(p.value=oe[0],u.value=0)}t.nextTick(()=>{B()})};return t.watch(u,(Q,U)=>{p.value=c.value[Q]}),t.onMounted(()=>{window.addEventListener("paste",O)}),t.onUnmounted(()=>{window.removeEventListener("paste",O)}),a({chooseFiles:k}),(Q,U)=>{var E,D,R;return t.openBlock(),t.createElementBlock("main",{onDragover:t.withModifiers(g,["prevent"]),onDragleave:b,onDrop:t.withModifiers(_,["prevent"])},[t.createElementVNode("section",{class:t.normalizeClass(["dropzone-container ",{"dropzone-active":o.value}])},[!m.value&&c.value.length>0&&!o.value?(t.openBlock(),t.createElementBlock("div",x8,[t.createElementVNode("button",{onClick:U[0]||(U[0]=Y=>x()),class:"close-button"},U[6]||(U[6]=[t.createElementVNode("svg",{"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14"},[t.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"})],-1)])),t.createElementVNode("section",w8,[t.createElementVNode("p",v8,t.toDisplayString((E=p.value)==null?void 0:E.name),1),t.createVNode(qo,{isMobile:e.isMobile,avatar:null,mode:"preview",base64:(D=p.value)==null?void 0:D.base64,mimetype:T((R=p.value)==null?void 0:R.base64)},null,8,["isMobile","base64","mimetype"]),t.withDirectives(t.createElementVNode("input",{ref_key:"textInput",ref:S,onKeydown:U[1]||(U[1]=t.withKeys(Y=>N(),["enter"])),placeholder:"Digite uma mensagem para acompanhar o arquivo",class:"input-drop-files-area bg-base-200","onUpdate:modelValue":U[2]||(U[2]=Y=>i.value=Y),type:"text"},null,544),[[t.vModelText,i.value]])]),t.createElementVNode("div",E8,[U[8]||(U[8]=t.createElementVNode("p",null,"fila de envio",-1)),t.createElementVNode("section",C8,[t.createVNode(t.unref(p8),t.mergeProps({modelValue:u.value,"onUpdate:modelValue":U[4]||(U[4]=Y=>u.value=Y)},r),t.createSlots({default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(c.value,(Y,oe)=>(t.openBlock(),t.createBlock(t.unref(b8),{key:oe},{default:t.withCtx(()=>[t.createElementVNode("section",S8,[u.value===oe?(t.openBlock(),t.createElementBlock("button",{key:0,onClick:A=>w(oe),class:"remove-file-btn"},U[7]||(U[7]=[t.createElementVNode("svg",{"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M8.586 2.586A2 2 0 0 1 10 2h4a2 2 0 0 1 2 2v2h3a1 1 0 1 1 0 2v12a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V8a1 1 0 0 1 0-2h3V4a2 2 0 0 1 .586-1.414ZM10 6h4V4h-4v2Zm1 4a1 1 0 1 0-2 0v8a1 1 0 1 0 2 0v-8Zm4 0a1 1 0 1 0-2 0v8a1 1 0 1 0 2 0v-8Z","clip-rule":"evenodd"})],-1)]),8,M8)):t.createCommentVNode("",!0),t.createElementVNode("button",{class:t.normalizeClass(["bg-base-100",["carousel-preview",{active:u.value===oe}]]),onDragstart:U[3]||(U[3]=t.withModifiers(()=>{},["prevent"])),onClick:A=>G(Y,oe)},[t.createVNode(qo,{isMobile:e.isMobile,avatar:null,mode:"miniature",base64:Y.base64,mimetype:T(Y.base64)},null,8,["isMobile","base64","mimetype"])],42,B8)])]),_:2},1024))),128))]),_:2},[e.isMobile?{name:"addons",fn:t.withCtx(()=>[t.createVNode(t.unref(k8))]),key:"0"}:void 0]),1040,["modelValue"])])]),t.createElementVNode("footer",A8,[t.createElementVNode("button",{class:"send-button",onClick:U[5]||(U[5]=Y=>N())},U[9]||(U[9]=[t.createElementVNode("svg",{"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M12 2a1 1 0 0 1 .932.638l7 18a1 1 0 0 1-1.326 1.281L13 19.517V13a1 1 0 1 0-2 0v6.517l-5.606 2.402a1 1 0 0 1-1.326-1.281l7-18A1 1 0 0 1 12 2Z","clip-rule":"evenodd"})],-1)]))])])):t.createCommentVNode("",!0),m.value?(t.openBlock(),t.createElementBlock("section",V8," Enviando Arquivos... ("+t.toDisplayString(h.value)+" / "+t.toDisplayString(d.value)+") ",1)):t.createCommentVNode("",!0),t.renderSlot(Q.$slots,"default",{},void 0,!0)],2),t.createElementVNode("input",{onChange:V,multiple:"",ref_key:"manualFile",ref:s,type:"file",hidden:""},null,544)],32)}}},[["__scopeId","data-v-39301230"]]),_8={key:0,class:"chat-icon"},N8={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512"},D8={key:0,class:"unread-count"},T8={key:0,class:"chat-content"},P8={key:1,class:"h-full"},N1=je({__name:"chatWindow",props:{attendant:{default:{id:"dea5c13f-4464-4cc6-8653-8c8524acdd3b",name:"Joao Pedro Souto Santos",photo:"https://sm-click.s3.us-east-1.amazonaws.com/clients/624dfe23-92d0-43f1-8061-a2321f2b5ebb/attendants/dea5c13f-4464-4cc6-8653-8c8524acdd3b.png"}},socketMessage:{default:{id:"6170e5cd-a06f-4184-83a4-debd4bfaab35",channel_id:"e10b7177-3400-4457-bb43-b6c9d4a6faa1",sender:{id:"dea5c13f-4464-4cc6-8653-8c8524acdd3b",name:"Joao Pedro Souto Santos",photo:"https://sm-click.s3.us-east-1.amazonaws.com/clients/624dfe23-92d0-43f1-8061-a2321f2b5ebb/attendants/dea5c13f-4464-4cc6-8653-8c8524acdd3b.png"},content:{type:"text",content:"teste sockdet 3"},created_at:"2024-09-17T09:45:19.286087Z"}},countMessages:{type:Number,default:null},mode:{type:String,default:"dark"}},emits:["unreadMessagesEmit"],setup(e,{emit:a}){const n=e,{attendants:r,loadingMessages:o,fetchMessagesForAtendente:i,addMessageToAtendente:s,hasNextPageForAtendente:l,sendMessageToAtendente:c,loadMessagesForAtendente:p,resetUnreadMessages:u,loadingAttendants:m}=cl(),d=t.ref(!1),h=t.ref(!1),f=t.ref(null),g=t.ref(null),b=a,x=t.ref(null),w=()=>{var O;(O=x.value)==null||O.chooseFiles()},k=t.computed(()=>{if(f.value){const O=r.value.find(Q=>Q.id===f.value.id);return O?O.internal_chat.unread:0}return 0}),V=O=>{var E;const Q=(E=g.value)==null?void 0:E.contains(O.target),U=O.target.closest(".fancybox__container");!Q&&!U&&d.value&&S()};t.onMounted(()=>{document.addEventListener("click",V)}),t.onBeforeUnmount(()=>{document.removeEventListener("click",V)});const _=t.ref(!1),T=t.ref(!1),N=t.computed(()=>T.value?{position:"absolute",width:"42px",height:"42px",transition:"width 0.2s ease-in, height 0.2s ease-out"}:_.value||d.value?{position:"absolute",width:"400px",height:"65vh",transition:"width 0.2s ease-in, height 0.2s ease-out"}:{position:"relative",width:"42px",height:"42px",transition:"none"}),S=()=>{d.value?(T.value=!0,setTimeout(()=>{d.value=!1,T.value=!1},200)):(d.value=!0,_.value=!0,setTimeout(()=>{_.value=!1},200))},B=()=>{d.value||S()},G=async O=>{const Q=r.value.find(E=>E.id===O.id),U=Q?Q.internal_chat.unread:0;b("unreadMessagesEmit",U),f.value=O,u(O.id),O.hasNextPage||await i(O.id)};return t.watch(()=>n.socketMessage,(O,Q)=>{var U;O!==Q&&s(O,d.value,(U=f.value)==null?void 0:U.id)}),t.watch(d,O=>{O&&setTimeout(()=>{h.value=!0},400)}),(O,Q)=>(t.openBlock(),t.createElementBlock("div",{class:"chat-container",ref_key:"chatContainer",ref:g},[d.value?(t.openBlock(),t.createElementBlock("div",{key:0,onClick:t.withModifiers(S,["stop"]),style:{width:"42px",height:"42px","border-radius":"50%","background-color":"#02a9db",display:"flex","justify-content":"center"}},Q[1]||(Q[1]=[t.createElementVNode("span",{style:{"margin-top":"auto","margin-bottom":"auto"},class:"chat-icon my-auto"},[t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512"},[t.createElementVNode("path",{fill:"currentColor",d:"M208 352c114.9 0 208-78.8 208-176S322.9 0 208 0S0 78.8 0 176c0 38.6 14.7 74.3 39.6 103.4c-3.5 9.4-8.7 17.7-14.2 24.7c-4.8 6.2-9.7 11-13.3 14.3c-1.8 1.6-3.3 2.9-4.3 3.7c-.5 .4-.9 .7-1.1 .8l-.2 .2s0 0 0 0s0 0 0 0C1 327.2-1.4 334.4 .8 340.9S9.1 352 16 352c21.8 0 43.8-5.6 62.1-12.5c9.2-3.5 17.8-7.4 25.2-11.4C134.1 343.3 169.8 352 208 352zM448 176c0 112.3-99.1 196.9-216.5 207C255.8 457.4 336.4 512 432 512c38.2 0 73.9-8.7 104.7-23.9c7.5 4 16 7.9 25.2 11.4c18.3 6.9 40.3 12.5 62.1 12.5c6.9 0 13.1-4.5 15.2-11.1c2.1-6.6-.2-13.8-5.8-17.9c0 0 0 0 0 0s0 0 0 0l-.2-.2c-.2-.2-.6-.4-1.1-.8c-1-.8-2.5-2-4.3-3.7c-3.6-3.3-8.5-8.1-13.3-14.3c-5.5-7-10.7-15.4-14.2-24.7c24.9-29 39.6-64.7 39.6-103.4c0-92.8-84.9-168.9-192.6-175.5c.4 5.1 .6 10.3 .6 15.5z"})])],-1)]))):t.createCommentVNode("",!0),!d.value&&e.countMessages>0?(t.openBlock(),t.createElementBlock("section",{key:1,style:t.normalizeStyle(e.countMessages>10?"padding: 0.2rem 0.500rem;":"padding: 0.2rem 0.625rem;"),class:"chat-count"},t.toDisplayString(e.countMessages),5)):t.createCommentVNode("",!0),t.createElementVNode("div",{onClick:t.withModifiers(B,["stop"]),class:t.normalizeClass(["group relative",d.value?"chat-box border-base-200 open bg-base-200":"chat-box closed"]),style:t.normalizeStyle(N.value)},[d.value?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",_8,[(t.openBlock(),t.createElementBlock("svg",N8,[t.createElementVNode("path",{class:t.normalizeClass(e.mode==="dark"?"dark-chat-window-icon":"chat-window-icon"),fill:"currentColor",d:"M208 352c114.9 0 208-78.8 208-176S322.9 0 208 0S0 78.8 0 176c0 38.6 14.7 74.3 39.6 103.4c-3.5 9.4-8.7 17.7-14.2 24.7c-4.8 6.2-9.7 11-13.3 14.3c-1.8 1.6-3.3 2.9-4.3 3.7c-.5 .4-.9 .7-1.1 .8l-.2 .2s0 0 0 0s0 0 0 0C1 327.2-1.4 334.4 .8 340.9S9.1 352 16 352c21.8 0 43.8-5.6 62.1-12.5c9.2-3.5 17.8-7.4 25.2-11.4C134.1 343.3 169.8 352 208 352zM448 176c0 112.3-99.1 196.9-216.5 207C255.8 457.4 336.4 512 432 512c38.2 0 73.9-8.7 104.7-23.9c7.5 4 16 7.9 25.2 11.4c18.3 6.9 40.3 12.5 62.1 12.5c6.9 0 13.1-4.5 15.2-11.1c2.1-6.6-.2-13.8-5.8-17.9c0 0 0 0 0 0s0 0 0 0l-.2-.2c-.2-.2-.6-.4-1.1-.8c-1-.8-2.5-2-4.3-3.7c-3.6-3.3-8.5-8.1-13.3-14.3c-5.5-7-10.7-15.4-14.2-24.7c24.9-29 39.6-64.7 39.6-103.4c0-92.8-84.9-168.9-192.6-175.5c.4 5.1 .6 10.3 .6 15.5z"},null,2)])),k.value>0?(t.openBlock(),t.createElementBlock("span",D8,t.toDisplayString(k.value),1)):t.createCommentVNode("",!0),Q[2]||(Q[2]=t.createElementVNode("div",{class:"chat-tooltip"},[t.createElementVNode("div",{class:"text-sm my-auto text-center"},"Chat interno")],-1))])),t.createVNode(t.Transition,{name:"fade"},{default:t.withCtx(()=>[d.value&&!T.value?(t.openBlock(),t.createElementBlock("div",T8,[t.createElementVNode("button",{onClick:t.withModifiers(S,["stop"]),class:"close-button"},Q[3]||(Q[3]=[t.createElementVNode("svg",{class:"w-5 h-5",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},[t.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L17.94 6M18 18L6.06 6"})],-1)])),t.unref(o)||t.unref(m)?(t.openBlock(),t.createBlock(y1,{key:0})):f.value&&!t.unref(o)?(t.openBlock(),t.createElementBlock("div",P8,[t.createVNode(_1,{ref_key:"dropFilesRef",ref:x,attendant:e.attendant,selectedAttendant:f.value,sendFilesToAttendant:t.unref(c)},{default:t.withCtx(()=>[t.createVNode(g1,{isMobile:!1,onSendFiles:w,attendant:e.attendant,selectedAtendente:f.value,onVoltar:Q[0]||(Q[0]=U=>f.value=null),loadMessagesForAtendente:t.unref(p),sendMessageToAtendente:t.unref(c),hasNextPageForAtendente:t.unref(l)},null,8,["attendant","selectedAtendente","loadMessagesForAtendente","sendMessageToAtendente","hasNextPageForAtendente"])]),_:1},8,["attendant","selectedAttendant","sendFilesToAttendant"])])):t.createCommentVNode("",!0),!f.value&&!t.unref(m)?(t.openBlock(),t.createBlock(dl,{key:2,attendant:e.attendant,atendentes:t.unref(r),onAtendenteSelecionado:G},null,8,["attendant","atendentes"])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)]),_:1})],6)],512))}},[["__scopeId","data-v-f69203ed"]]),O8={class:"chat-content"},F8={key:1,class:"h-full"},D1=je({__name:"mobileChatWindow",props:{attendant:{default:{id:"dea5c13f-4464-4cc6-8653-8c8524acdd3b",name:"Joao Pedro Souto Santos",photo:"https://sm-click.s3.us-east-1.amazonaws.com/clients/624dfe23-92d0-43f1-8061-a2321f2b5ebb/attendants/dea5c13f-4464-4cc6-8653-8c8524acdd3b.png"}},socketMessage:{default:{id:"6170e5cd-a06f-4184-83a4-debd4bfaab35",channel_id:"e10b7177-3400-4457-bb43-b6c9d4a6faa1",sender:{id:"dea5c13f-4464-4cc6-8653-8c8524acdd3b",name:"Joao Pedro Souto Santos",photo:"https://sm-click.s3.us-east-1.amazonaws.com/clients/624dfe23-92d0-43f1-8061-a2321f2b5ebb/attendants/dea5c13f-4464-4cc6-8653-8c8524acdd3b.png"},content:{type:"text",content:"teste sockdet 3"},created_at:"2024-09-17T09:45:19.286087Z"}},countMessages:{type:Number,default:null},downloadFilesMobile:{type:Function,required:!0},openMobilePdf:{type:Function}},emits:["unreadMessagesEmit"],setup(e,{emit:a}){const n=e,{attendants:r,loadingMessages:o,fetchMessagesForAtendente:i,addMessageToAtendente:s,hasNextPageForAtendente:l,sendMessageToAtendente:c,loadMessagesForAtendente:p,resetUnreadMessages:u,loadingAttendants:m}=cl(),d=t.ref(!1),h=t.ref(!1),f=t.ref(null),g=t.ref(null),b=a,x=t.ref(null),w=()=>{var S;(S=x.value)==null||S.chooseFiles()};t.computed(()=>{if(f.value){const S=r.value.find(B=>B.id===f.value.id);return S?S.internal_chat.unread:0}return 0});const k=S=>{g.value&&!g.value.contains(S.target)&&d.value&&T()};t.onMounted(()=>{document.addEventListener("click",k)}),t.onBeforeUnmount(()=>{document.removeEventListener("click",k)});const V=t.ref(!1),_=t.ref(!1),T=()=>{d.value?(_.value=!0,setTimeout(()=>{d.value=!1,_.value=!1},200)):(d.value=!0,V.value=!0,setTimeout(()=>{V.value=!1},200))},N=async S=>{const B=r.value.find(O=>O.id===S.id),G=B?B.internal_chat.unread:0;b("unreadMessagesEmit",G),f.value=S,u(S.id),S.hasNextPage||await i(S.id)};return t.watch(()=>n.socketMessage,(S,B)=>{var G;S!==B&&s(S,d.value,(G=f.value)==null?void 0:G.id)}),t.watch(d,S=>{S&&setTimeout(()=>{h.value=!0},400)}),(S,B)=>(t.openBlock(),t.createElementBlock("div",O8,[t.unref(o)||t.unref(m)?(t.openBlock(),t.createBlock(y1,{key:0})):f.value&&!t.unref(o)?(t.openBlock(),t.createElementBlock("div",F8,[t.createVNode(_1,{ref_key:"dropFilesRef",ref:x,isMobile:"",attendant:e.attendant,selectedAttendant:f.value,sendFilesToAttendant:t.unref(c)},{default:t.withCtx(()=>[t.createVNode(g1,{isMobile:"",attendant:e.attendant,selectedAtendente:f.value,loadMessagesForAtendente:t.unref(p),sendMessageToAtendente:t.unref(c),hasNextPageForAtendente:t.unref(l),downloadFilesMobile:e.downloadFilesMobile,openMobilePdf:e.openMobilePdf,onVoltar:B[0]||(B[0]=G=>f.value=null),onSendFiles:w},null,8,["attendant","selectedAtendente","loadMessagesForAtendente","sendMessageToAtendente","hasNextPageForAtendente","downloadFilesMobile","openMobilePdf"])]),_:1},8,["attendant","selectedAttendant","sendFilesToAttendant"])])):t.createCommentVNode("",!0),!f.value&&!t.unref(m)?(t.openBlock(),t.createBlock(dl,{key:2,mobile:!0,attendant:e.attendant,atendentes:t.unref(r),onAtendenteSelecionado:N},null,8,["attendant","atendentes"])):t.createCommentVNode("",!0)]))}},[["__scopeId","data-v-a1f8f1b3"]]),Zo=It.defineStore("department",{state:()=>({departments:[],count:null,loaded:!1}),actions:{async fetchDepartments(e=""){try{let a=`${a2}`;const n=await ra.get(a);this.departments=n.data,this.count=this.departments.length}catch(a){console.log("Erro ao buscar departamentos:",a)}},removeDepartments(e){this.departments=this.departments.filter(a=>a.id!==e)},addDepartments(e){const a=this.departments.findIndex(n=>n.id===e.id);a!==-1?this.departments[a]=e:this.departments.push(e)}}}),L8={class:"depart-select-container"},$8={class:"search-container relative shadow shadow-gray-900 dark:shadow-gray-500"},R8=["placeholder"],H8={key:0,class:"selection-container bg-base-300 border-b border-base-200"},z8=["onClick"],I8={class:"department-list"},G8=["onClick"],j8={key:0,style:{width:"150px"}},q8=["onUpdate:modelValue","onChange"],W8={key:0,class:"no-departments bg-base-300"},Y8={key:1,class:"library-loading-spinner"},T1=je({__name:"departSelect",props:{department:{type:[Array,String],default:null},modal_filter:{type:String,default:null},multiSelect:{type:Boolean,default:!0},permissions:{type:Boolean,default:!1},externalDepartments:{type:Array,default:null},attDel:{type:String,default:null},hiddenDepartment:{type:String,default:null}},emits:["depart","component-mounted"],setup(e,{emit:a}){const n=e,r=a,o=Zo(),i=t.ref(""),s=t.ref([]),l=t.ref(!1),c=t.ref(!1),p=t.computed(()=>(n.externalDepartments||o.departments).filter(w=>!(n.hiddenDepartment&&w.id===n.hiddenDepartment)).filter(w=>!i.value||w.name.toLowerCase().includes(i.value.toLowerCase())));t.onMounted(async()=>{await d(),await m(),r("component-mounted")}),t.watch(()=>o.departments.length,async()=>{await d(),await t.nextTick(),await m()},{immediate:!0}),t.watch(()=>n.attDel,x=>x&&u(x),{immediate:!0});function u(x){const k=(n.externalDepartments||o.departments).findIndex(V=>V.id===x);k!==-1&&(s.value=s.value.filter(V=>V.id!==x),n.externalDepartments?n.externalDepartments.splice(k,1):o.removeDepartments(x),r("depart",s.value))}async function m(){c.value=!0;const x=n.externalDepartments||o.departments;n.permissions&&x.forEach(w=>{w.permission||(w.permission="normal")}),await h(),c.value=!1}async function d(){(n.externalDepartments||o.departments).forEach(w=>w.selected=!1),s.value=[]}async function h(){const x=n.externalDepartments||o.departments;if(!(x!=null&&x.length))return;(Array.isArray(n.department)?n.department:n.department?[n.department]:[]).forEach(k=>{const V=typeof k=="object"?k.id:k,_=typeof k=="object"?k.permission:void 0,T=x.find(N=>N.id===V);T&&(T.selected=!0,_&&(T.permission=_),s.value.some(N=>N.id===V)||s.value.push(T))}),r("depart",s.value)}function f(x){const w=s.value.findIndex(k=>k.id===x.id);w!==-1?(x.selected=!1,s.value.splice(w,1)):(n.multiSelect||d(),x.selected=!0,s.value.push(x)),r("depart",s.value)}function g(){r("depart",s.value)}function b(x,w){x.selected=!1,s.value.splice(w,1),r("depart",s.value)}return(x,w)=>(t.openBlock(),t.createElementBlock("div",L8,[t.createElementVNode("div",$8,[t.createElementVNode("div",{class:t.normalizeClass(["input-wrapper bg-base-300 border-b border-base-200",{expanded:l.value||s.value.length>0}]),onClick:w[1]||(w[1]=k=>l.value=!l.value)},[t.withDirectives(t.createElementVNode("input",{"onUpdate:modelValue":w[0]||(w[0]=k=>i.value=k),placeholder:s.value.length>0?e.multiSelect?`Selecionados: ${s.value.length}`:`Selecionado: ${s.value[0].name}`:"Pesquise por nome.",class:"select-depart-input"},null,8,R8),[[t.vModelText,i.value]]),w[2]||(w[2]=t.createElementVNode("div",{class:"icon-container"},[t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"search-icon"},[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z"})])],-1))],2),s.value.length>0&&e.multiSelect&&t.unref(o).loaded?(t.openBlock(),t.createElementBlock("main",H8,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.value,(k,V)=>(t.openBlock(),t.createElementBlock("div",{key:k.id,class:"selection-item"},[t.createTextVNode(t.toDisplayString(k.name)+" ",1),t.createElementVNode("button",{onClick:_=>b(k,V),class:"close-btn"},w[3]||(w[3]=[t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"close-icon"},[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18L18 6M6 6l12 12"})],-1)]),8,z8)]))),128))])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass([s.value.length>0&&e.multiSelect?"dropdown-depart-expanded":"dropdown-depart","dropdown-depart bg-base-300"])},[t.createElementVNode("div",I8,[t.createElementVNode("div",{class:t.normalizeClass([{"two-columns":p.value.length>4},"grid-container"])},[t.unref(o).loaded?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(p.value,k=>(t.openBlock(),t.createElementBlock("div",{key:k.id,class:t.normalizeClass([{selected:k.selected},"department-item line-clamp-1 bg-slate-500/20 hover:bg-teal-600"])},[t.createElementVNode("span",{onClick:V=>f(k),class:"department-name h-full w-full"},t.toDisplayString(k.name),9,G8),e.multiSelect&&e.permissions?(t.openBlock(),t.createElementBlock("div",j8,[t.withDirectives(t.createElementVNode("select",{"onUpdate:modelValue":V=>k.permission=V,onChange:V=>g(),class:"select-dropdown-depart bg-base-300"},w[4]||(w[4]=[t.createElementVNode("option",{value:"normal"},"normal",-1),t.createElementVNode("option",{value:"supervisor"},"supervisor",-1)]),40,q8),[[t.vModelSelect,k.permission]])])):t.createCommentVNode("",!0)],2))),128)):t.createCommentVNode("",!0)],2)]),t.unref(o).loaded&&p.value.length===0?(t.openBlock(),t.createElementBlock("div",W8," Nenhum departamento disponível. ")):t.createCommentVNode("",!0),t.unref(o).loaded?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",Y8,w[5]||(w[5]=[t.createTextVNode(" Inicializando departamentos "),t.createElementVNode("div",{class:"library-loader"},null,-1)])))],2)])]))}},[["__scopeId","data-v-8a5440e8"]]),U8={class:"depart-select-container"},X8={class:"search-container relative shadow shadow-gray-900 dark:shadow-gray-500"},Z8=["placeholder"],Q8={key:0,class:"selection-container bg-base-300 border-b border-base-200"},K8=["onClick"],J8={class:"department-list"},e9={style:{"padding-left":"5px"}},t9=["src"],a9={key:1,style:{"pointer-events":"none","border-radius":"100%",width:"24px",height:"24px"},class:"bg-base-300","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",fill:"currentColor",viewBox:"0 0 24 24"},n9=["onClick"],r9={key:0,class:"no-departments bg-base-300"},o9={key:1,class:"library-loading-spinner"},P1=je({__name:"attendantSelect",props:{attendance:{type:[Array,String],default:null},multiSelect:{type:Boolean,default:!0},department:{type:Array,default:[]},modal_filter:{type:String,default:null},attDel:{type:Object,default:{id:null}},method:{type:String,default:null}},emits:["attend","component-mounted"],setup(e,{emit:a}){const n=e,r=a,o=er(),i=t.ref(""),s=t.ref(!1),l=t.ref([]),c=t.computed(()=>{const b=o.attendants.filter(w=>w.status===!0),x=i.value?b.filter(w=>w.name.toLowerCase().includes(i.value.toLowerCase())):b;return u(p(x))});function p(b){return n.method==="remove"?(Array.isArray(n.attendance)?n.attendance:n.attendance?[n.attendance]:b).filter(w=>{var V;return(typeof w=="object"?w.id:w)!==((V=n==null?void 0:n.attDel)==null?void 0:V.id)}):n.method==="addParticipant"?b.filter(x=>{var w;return(x==null?void 0:x.id)!==((w=n==null?void 0:n.attDel)==null?void 0:w.id)}):b}function u(b){return Array.isArray(n.department)&&n.department.length>0?b.filter(x=>x.department.some(w=>n.department.some(k=>k.id===w.id))):b}t.onMounted(()=>{m(),r("component-mounted")}),t.watch(()=>o.attendants.length,async()=>{await t.nextTick(),m()},{immediate:!0}),t.watch(()=>n.modal_filter,()=>{!n.modal_filter&&n.multiSelect&&d()},{immediate:!0}),t.watch(()=>n.department,()=>m(),{deep:!0});function m(){d(),h()}function d(){o.attendants.forEach(b=>b.selected=!1),l.value=[]}function h(){const b=o.attendants;if(!(b!=null&&b.length))return;(Array.isArray(n.attendance)?n.attendance:n.attendance?[n.attendance]:[]).forEach(w=>{const k=typeof w=="object"?w.id:w,V=b.find(_=>_.id===k);V&&!l.value.some(_=>_.id===k)&&(V.selected=!0,l.value.push(V))}),r("attend",l.value)}function f(b){const x=l.value.findIndex(w=>w.id===b.id);x!==-1?(b.selected=!1,l.value.splice(x,1)):(n.multiSelect||d(),b.selected=!0,l.value.push(b)),r("attend",l.value)}function g(b,x){b.selected=!1,l.value.splice(x,1),r("attend",l.value)}return(b,x)=>(t.openBlock(),t.createElementBlock("div",U8,[t.createElementVNode("div",X8,[t.createElementVNode("div",{class:t.normalizeClass(["input-wrapper bg-base-300 border-b border-base-200",{expanded:s.value||l.value.length>0}]),onClick:x[1]||(x[1]=w=>s.value=!s.value)},[t.withDirectives(t.createElementVNode("input",{"onUpdate:modelValue":x[0]||(x[0]=w=>i.value=w),placeholder:l.value.length>0?e.multiSelect?`Selecionados: ${l.value.length}`:`Selecionado: ${l.value[0].name}`:"Pesquise por nome.",class:"select-depart-input"},null,8,Z8),[[t.vModelText,i.value]]),x[2]||(x[2]=t.createElementVNode("div",{class:"icon-container"},[t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"search-icon"},[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z"})])],-1))],2),l.value.length>0&&e.multiSelect&&t.unref(o).loaded?(t.openBlock(),t.createElementBlock("main",Q8,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.value,(w,k)=>(t.openBlock(),t.createElementBlock("div",{key:w,class:"selection-item"},[t.createTextVNode(t.toDisplayString(w.name)+" ",1),t.createElementVNode("button",{onClick:V=>g(w,k),class:"close-btn"},x[3]||(x[3]=[t.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"close-icon"},[t.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18L18 6M6 6l12 12"})],-1)]),8,K8)]))),128))])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass([l.value.length>0&&e.multiSelect?"dropdown-attendance-expanded":"dropdown-attendance","dropdown-attendance bg-base-300"])},[t.createElementVNode("div",J8,[t.createElementVNode("div",{class:t.normalizeClass([{"two-columns":c.value.length>4},"grid-container"])},[t.unref(o).loaded?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(c.value,w=>(t.openBlock(),t.createElementBlock("div",{key:w,class:t.normalizeClass([{selected:w.selected},"department-item line-clamp-1 bg-slate-500/20 hover:bg-teal-600"])},[t.createElementVNode("div",e9,[w.photo?(t.openBlock(),t.createElementBlock("img",{key:0,src:w.photo,style:{"pointer-events":"none","border-radius":"100%",width:"24px",height:"24px"}},null,8,t9)):(t.openBlock(),t.createElementBlock("svg",a9,x[4]||(x[4]=[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M12 4a4 4 0 1 0 0 8 4 4 0 0 0 0-8Zm-2 9a4 4 0 0 0-4 4v1a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2v-1a4 4 0 0 0-4-4h-4Z","clip-rule":"evenodd"},null,-1)])))]),t.createElementVNode("span",{onClick:k=>f(w),class:"department-name h-full w-full"},t.toDisplayString(w.name),9,n9)],2))),128)):t.createCommentVNode("",!0)],2)]),t.unref(o).loaded&&c.value.length===0?(t.openBlock(),t.createElementBlock("div",r9," Nenhum atendente disponível. ")):t.createCommentVNode("",!0),t.unref(o).loaded?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",o9,x[5]||(x[5]=[t.createTextVNode(" Inicializando atendentes "),t.createElementVNode("div",{class:"library-loader"},null,-1)])))],2)])]))}},[["__scopeId","data-v-75e7fdd4"]]),i9={class:""},s9={class:"flex justify-between mb-3"},l9={class:""},O1=je({__name:"filterSelect",props:{title:{type:String,default:"Filtros"},modelValue:{default:null}},setup(e){const a=t.ref(!0);return(n,r)=>{const o=t.resolveComponent("Popper");return t.openBlock(),t.createBlock(o,{placement:"bottom",arrow:!1,class:"dark:popper-light popper-dark"},{content:t.withCtx(({close:i})=>[t.createElementVNode("section",i9,[t.createElementVNode("div",null,[t.createElementVNode("div",s9,[t.createElementVNode("p",null,t.toDisplayString(e.title),1),r[1]||(r[1]=t.createElementVNode("svg",{class:"w-4 h-4 text-white","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{d:"M5 3a2 2 0 0 0-1.5 3.3l5.4 6v5c0 .4.3.9.6 1.1l3.1 2.3c1 .7 2.5 0 2.5-1.2v-7.1l5.4-6C21.6 5 20.7 3 19 3H5Z"})],-1))]),t.createElementVNode("div",l9,[t.renderSlot(n.$slots,"default",{},void 0,!0)])])])]),default:t.withCtx(()=>[t.createElementVNode("button",{onClick:r[0]||(r[0]=i=>a.value=!a.value),class:"group max-w-max relative flex p-0.5 flex-col items-center justify-center cursor-pointer rounded-md text-xs font-semibold"},r[2]||(r[2]=[t.createElementVNode("svg",{class:"w-3 h-3","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"},[t.createElementVNode("path",{"fill-rule":"evenodd",d:"M18.4 10.3A2 2 0 0 0 17 7H7a2 2 0 0 0-1.5 3.3l4.9 5.9a2 2 0 0 0 3 0l5-6Z","clip-rule":"evenodd"})],-1)]))]),_:3})}}},[["__scopeId","data-v-1dfa2696"]]);function c9(e,a){return t.openBlock(),t.createElementBlock("svg")}const d9={render:c9},u9=t.createStaticVNode('<g id="Top/_Resources/Prescription-01" fill="none" transform="translate(62 85)"><defs><filter id="filter1" width="101.5%" height="109.8%" x="-.8%" y="-2.4%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" result="shadowMatrixOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"></feColorMatrix><feMerge><feMergeNode in="shadowMatrixOuter1"></feMergeNode><feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter></defs><g id="Glasses" fill="#D6EAF2" filter="url('#filter1')" transform="translate(8 8)"><path id="Frame-Stuff" d="M46.25 7.275c2.37.022 3.492.417 3.896 2.89.41 2.506.011 5.322-.46 7.79-.721 3.768-1.92 7.46-4.708 10.214-1.47 1.45-3.261 2.606-5.167 3.395-1.012.42-2.081.722-3.15.952-.312.067-2.979.434-1.343.248-3.817.435-7.958.418-11.146-2.012-3.532-2.692-5.952-6.952-7.015-11.196-.623-2.483-1.93-8.422.459-10.407 2.737-2.274 28.633-1.874 28.633-1.874M22.217.491c-5.44.187-9.071 1.143-11.755 6.578-4.917 9.961 3.5 24.9 12.89 28.97 10.976 4.76 23.24-.507 29.043-10.033 3.073-5.044 4.626-12.683 4.526-18.502C56.795.077 51.607-.13 45.51.034zM79.68 7.273c-2.371.022-3.492.416-3.896 2.89-.41 2.505-.012 5.322.46 7.79.72 3.767 1.919 7.459 4.708 10.213 1.47 1.45 3.261 2.606 5.167 3.396 1.012.419 2.08.722 3.15.951.312.067 2.978.435 1.343.248 3.817.436 7.958.418 11.145-2.011 3.533-2.692 5.952-6.952 7.016-11.196.623-2.483 1.93-8.422-.46-10.407-2.737-2.275-28.632-1.874-28.632-1.874M103.713.488c5.44.187 9.071 1.144 11.754 6.579 4.918 9.96-3.5 24.9-12.889 28.97-10.977 4.76-23.24-.508-29.043-10.033C70.46 20.96 68.907 13.32 69.007 7.5 69.135.074 74.323-.132 80.42.031z"></path><path id="Frame-Stuff" d="M13.197 4.927c-3.412.191-7.31.237-10.507 1.712-3.385 1.562-3.908 5.1.36 5.587 1.92.22 3.845-.143 5.737-.481 1.55-.277 3.655-.187 5.12-.78 2.729-1.103 2.553-6.225-.71-6.038m99.538 0c3.412.191 7.31.237 10.507 1.712 3.384 1.562 3.907 5.1-.36 5.587-1.921.22-3.845-.143-5.738-.481-1.55-.277-3.654-.187-5.119-.78-2.73-1.103-2.554-6.225.71-6.038M73.11 7.013c-1.947-2.3-7.019-3.628-10.219-3.628s-8.123 1.328-10.069 3.628c-.981 1.16-1.015 2.711.686 3.438 2.118.906 4.01-.737 5.705-1.596 2.168-1.098 5.499-.978 7.506 0 1.708.833 3.586 2.502 5.704 1.596 1.701-.727 1.668-2.279.686-3.438"></path></g></g>',1),f9=[u9];function m9(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...f9])}const h9={render:m9},p9=t.createStaticVNode('<g id="Top/_Resources/Round" fill="none" transform="translate(62 85)"><defs><filter id="filter1" width="101.6%" height="108.3%" x="-.8%" y="-2.1%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"></feColorMatrix></filter><path id="Round-path1" d="M80.465 16.394C84.38 8.46 92.553 3 102 3c8.92 0 16.703 4.866 20.84 12.088q.316-.087.66-.088h8a2.5 2.5 0 1 1 0 5h-6.537A24 24 0 0 1 126 27c0 13.255-10.745 24-24 24S78 40.255 78 27c0-1.422.124-2.815.36-4.169C78.277 18.455 74.915 15 70.863 15c-3.736 0-6.887 2.94-7.42 6.83.365 1.665.558 3.395.558 5.17 0 13.255-10.745 24-24 24S16 40.255 16 27c0-2.435.363-4.785 1.037-7H10.5a2.5 2.5 0 1 1 0-5h8q.343 0 .66.088C23.297 7.866 31.08 3 40 3c9.352 0 17.455 5.35 21.416 13.155C63.493 13.039 66.949 11 70.862 11c4.013 0 7.545 2.144 9.603 5.394M40 47c11.046 0 20-8.954 20-20S51.046 7 40 7s-20 8.954-20 20 8.954 20 20 20m62 0c11.046 0 20-8.954 20-20s-8.954-20-20-20-20 8.954-20 20 8.954 20 20 20"></path></defs><g id="Lennon-Glasses"><use fill="#000" filter="url('#filter1')" href="#Round-path1"></use><use fill="#252C2F" href="#Round-path1"></use></g></g>',1),g9=[p9];function y9(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...g9])}const k9={render:y9},b9=t.createStaticVNode('<g id="Top/_Resources/Wayfarers" fill="none" stroke-width="1" transform="translate(62 85)"><defs><path id="react-path-1157" d="M44.918 17.571c0 9.703-8.25 17.572-21.998 17.572h-2.75C6.423 35.143.923 27.27.923 17.57.923 7.866 2.207 0 21.455 0h2.931c19.248 0 20.532 7.866 20.532 17.571"></path><path id="react-path-1158" d="M106.486 17.571c0 9.703-8.247 17.572-21.997 17.572h-2.75c-13.748 0-19.248-7.872-19.248-17.572C62.491 7.866 63.775 0 83.023 0h2.932c19.244 0 20.531 7.866 20.531 17.571"></path><linearGradient id="react-linear-gradient-1160" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#FFF" stop-opacity=".5"></stop><stop offset="70.506%" stop-opacity=".5"></stop></linearGradient><filter id="react-filter-1159" width="101.6%" height="109.8%" x="-.8%" y="-2.4%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" result="shadowMatrixOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"></feColorMatrix><feMerge><feMergeNode in="shadowMatrixOuter1"></feMergeNode><feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter></defs><g id="Wayfarers" filter="url(#react-filter-1159)" transform="translate(7 7)"><g id="Shades" fill-rule="evenodd" transform="translate(10.795 2.929)"><g id="Shade"><use fill="#000" fill-opacity=".7" href="#react-path-1157"></use><use fill="url(#react-linear-gradient-1160)" href="#react-path-1157" style="mix-blend-mode:screen;"></use></g><g id="Shade"><use fill="#000" fill-opacity=".7" href="#react-path-1158"></use><use fill="url(#react-linear-gradient-1160)" href="#react-path-1158" style="mix-blend-mode:screen;"></use></g></g><path id="Left" fill="#252C2F" fill-rule="nonzero" d="M33.716 41h-2.75c-13.888 0-22.18-7.664-22.18-20.5C8.787 10.127 10.6 0 32.25 0h2.932c21.651 0 23.463 10.127 23.463 20.5 0 12.069-10.25 20.5-24.93 20.5M32.25 5.854c-17.6 0-17.6 6.464-17.6 14.646 0 6.68 2.83 14.643 16.316 14.643h2.75c11.226 0 19.066-6.021 19.066-14.643 0-8.182 0-14.646-17.6-14.646z"></path><path id="Right" fill="#252C2F" fill-rule="nonzero" d="M95.284 41h-2.75c-13.888 0-22.18-7.664-22.18-20.5 0-10.373 1.813-20.5 23.464-20.5h2.932c21.651 0 23.463 10.127 23.463 20.5 0 12.069-10.25 20.5-24.929 20.5M93.818 5.854c-17.6 0-17.6 6.464-17.6 14.646 0 6.68 2.833 14.643 16.316 14.643h2.75c11.226 0 19.066-6.021 19.066-14.643 0-8.182 0-14.646-17.6-14.646z"></path><path id="Stuff" fill="#252C2F" fill-rule="nonzero" d="M2.932 5.857C3.618 5.172 11.123 0 32.25 0c17.714 0 21.464 1.88 27.14 4.72l.415.21c.395.143 2.413.844 4.773.921a16.5 16.5 0 0 0 4.528-.881C75.584 1.748 81.926 0 96.75 0c21.127 0 28.632 5.172 29.318 5.857A2.93 2.93 0 0 1 129 8.786v2.928c0 1.62-1.31 2.929-2.932 2.929 0 0-5.863 0-5.863 2.928s-2.932-4.237-2.932-5.857V8.862c-3.576-1.4-9.976-3.005-20.523-3.005-11.75 0-17.602 1.131-22.622 3.247l.056.139-2.496 1.007 2.493 1.008-2.2 5.43-2.717-1.1a13 13 0 0 0-1.493-.457c-2.024-.51-4.106-.666-5.946-.28a7.7 7.7 0 0 0-1.877.642l-2.622 1.31-2.623-5.238 2.622-1.31.006-.003-2.512-1.015.08-.198C50.57 6.976 46.58 5.857 32.25 5.857c-10.546 0-16.947 1.604-20.523 3.004v2.853c0 1.62-2.932 8.786-2.932 5.857s-5.863-2.928-5.863-2.928A2.93 2.93 0 0 1 0 11.714V8.786a2.93 2.93 0 0 1 2.932-2.929"></path></g></g>',1),x9=[b9];function w9(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...x9])}const v9={render:w9},E9=t.createStaticVNode('<g id="Top/_Resources/Kurt" fill="none" transform="translate(62 85)"><defs><filter id="filter1" width="101.5%" height="108%" x="-.8%" y="-2%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" result="shadowMatrixOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.16 0"></feColorMatrix><feMerge><feMergeNode in="shadowMatrixOuter1"></feMergeNode><feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter></defs><g id="Kurts" filter="url('#filter1')" transform="translate(5 2)"><path id="It!" fill="#F4F4F4" d="M66 11.111c-11.037 0-12.63-9.084-35.33-10.37C7.987-.283.816 6.449.777 11.11c.037 4.293-1.128 15.45 13.589 28.519 14.772 15.512 29.905 10.252 35.33 5.185C55.134 42.473 61.34 21.46 66 21.48s10.865 20.992 16.306 23.334c5.424 5.067 20.557 10.327 35.33-5.185 14.716-13.069 13.55-24.226 13.588-28.519-.04-4.662-7.21-11.394-29.895-10.37C78.63 2.027 77.037 11.11 66 11.11"></path><path id="Did" fill="#2F383B" d="M55.13 21.481c.38-7.658-12.914-15.839-27.177-15.555-14.256.299-16.111 9.453-16.306 12.963-.349 8.133 8.367 26.415 24.459 25.926 16.091-.51 18.803-18.28 19.023-23.334"></path><path id="Courtney" fill="#2F383B" d="M120.353 21.481c.38-7.658-12.914-15.839-27.177-15.555-14.255.299-16.11 9.453-16.305 12.963-.35 8.133 8.367 26.415 24.458 25.926 16.092-.51 18.804-18.28 19.024-23.334" transform="matrix(-1 0 0 1 197.224 0)"></path></g></g>',1),C9=[E9];function S9(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...C9])}const M9={render:S9},B9=t.createStaticVNode('<g id="Top/_Resources/Prescription-02" fill="none" stroke-width="1" transform="translate(62 85)"><defs><filter id="react-filter-1166" width="101.5%" height="109.8%" x="-.8%" y="-2.4%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" result="shadowMatrixOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"></feColorMatrix><feMerge><feMergeNode in="shadowMatrixOuter1"></feMergeNode><feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter></defs><g id="Wayfarers" fill="#252C2F" fill-rule="nonzero" filter="url(#react-filter-1166)" transform="translate(6 7)"><path id="Left" d="M34 41h-2.758C17.315 41 9 33.336 9 20.5 9 10.127 10.817 0 32.53 0h2.94C57.183 0 59 10.127 59 20.5 59 32.569 48.721 41 34 41M32.385 6C13 6 13 12.841 13 21.502 13 28.572 16.116 37 30.97 37H34c12.365 0 21-6.373 21-15.498C55 12.84 55 6 35.615 6z"></path><path id="Right" d="M96 41h-2.758C79.315 41 71 33.336 71 20.5 71 10.127 72.817 0 94.53 0h2.94C119.183 0 121 10.127 121 20.5 121 32.569 110.721 41 96 41M94.385 6C75 6 75 12.841 75 21.502 75 28.572 78.12 37 92.97 37H96c12.365 0 21-6.373 21-15.498C117 12.84 117 6 97.615 6z"></path><path id="Stuff" d="M2.955 5.772C3.645 5.096 11.21 0 32.5 0c17.851 0 21.63 1.853 27.35 4.652l.419.207c.398.14 2.431.83 4.81.907a17 17 0 0 0 4.563-.869C76.17 1.722 82.562 0 97.5 0c21.29 0 28.854 5.096 29.545 5.772 1.634 0 2.955 1.29 2.955 2.885v2.886c0 1.596-1.32 2.886-2.955 2.886 0 0-6.901 0-6.901 2.886 0 2.885-1.962-4.176-1.962-5.772v-2.81c-3.603-1.38-10.054-3.947-20.682-3.947-11.842 0-17.739 2.1-22.798 4.185l.057.137-.003 1.986-2.217 5.35L69.8 15.36c-.244-.097-.772-.27-1.504-.451-2.04-.503-4.137-.656-5.992-.276q-1.021.21-1.891.633l-2.643 1.29-2.643-5.16.117-2.295.08-.195c-4.362-2.033-8.385-4.12-22.824-4.12-10.628 0-17.078 2.565-20.682 3.944v2.812c0 1.596-2.954 8.657-2.954 5.772 0-2.886-5.91-2.886-5.91-2.886-1.63 0-2.954-1.29-2.954-2.886V8.657c0-1.595 1.324-2.885 2.955-2.885"></path></g></g>',1),A9=[B9];function V9(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...A9])}const _9={render:V9},N9=t.createStaticVNode('<g id="Top/_Resources/Sunglasses" fill="none" stroke-width="1" transform="translate(62 85)"><defs><linearGradient id="react-linear-gradient-1164" x1="50%" x2="50%" y1="0%" y2="70.506%"><stop offset="0%" stop-color="#FFF" stop-opacity=".5"></stop><stop offset="100%" stop-opacity=".5"></stop></linearGradient><linearGradient id="react-linear-gradient-1165" x1="50%" x2="50%" y1="0%" y2="100%"><stop offset="0%" stop-color="#FFF" stop-opacity=".5"></stop><stop offset="70.506%" stop-opacity=".5"></stop></linearGradient><path id="react-path-1161" d="M47.01 6.277c2.511.024 3.698.45 4.126 3.115.433 2.7.012 5.736-.488 8.395-.762 4.06-2.031 8.04-4.984 11.007-1.555 1.564-3.452 2.81-5.47 3.66-1.071.452-2.203.778-3.334 1.026-.33.072-3.154.468-1.422.267-4.041.47-8.425.45-11.8-2.168-3.74-2.901-6.301-7.493-7.427-12.066-.66-2.676-2.044-9.076.486-11.216 2.898-2.452 30.313-2.02 30.313-2.02"></path><path id="react-path-1162" d="M78.92 6.275c-2.512.024-3.699.449-4.126 3.114-.434 2.7-.012 5.736.487 8.395.763 4.061 2.032 8.04 4.984 11.008 1.556 1.563 3.453 2.809 5.47 3.66 1.072.451 2.204.778 3.335 1.025.33.072 3.153.469 1.422.267 4.04.47 8.425.45 11.8-2.167 3.74-2.902 6.3-7.493 7.427-12.066.66-2.677 2.043-9.077-.486-11.217-2.898-2.451-30.314-2.02-30.314-2.02"></path><filter id="react-filter-1163" width="101.6%" height="110.5%" x="-.8%" y="-2.6%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" result="shadowMatrixOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"></feColorMatrix><feMerge><feMergeNode in="shadowMatrixOuter1"></feMergeNode><feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter></defs><g id="Sunglasses" filter="url(#react-filter-1163)" transform="translate(8 8)"><g id="shades"><use fill="#000" fill-opacity=".7" href="#react-path-1161"></use><use fill="url(#react-linear-gradient-1164)" href="#react-path-1161" style="mix-blend-mode:screen;"></use></g><g id="shades"><use fill="#000" fill-opacity=".7" href="#react-path-1162"></use><use fill="url(#react-linear-gradient-1165)" href="#react-path-1162" style="mix-blend-mode:screen;"></use></g><g id="Glasses" fill="#252C2F"><path id="Frame" d="M46.25 7.275c2.37.022 3.492.417 3.896 2.89.41 2.506.011 5.322-.46 7.79-.721 3.768-1.92 7.46-4.708 10.214-1.47 1.45-3.261 2.606-5.167 3.395-1.012.42-2.081.722-3.15.952-.312.067-2.979.434-1.343.248-3.817.435-7.958.418-11.146-2.012-3.532-2.692-5.952-6.952-7.015-11.196-.623-2.483-1.93-8.422.459-10.407 2.737-2.274 28.633-1.874 28.633-1.874M22.217.491c-5.44.187-9.071 1.143-11.755 6.578-4.917 9.961 3.5 24.9 12.89 28.97 10.976 4.76 23.24-.507 29.043-10.033 3.073-5.044 4.626-12.683 4.526-18.502C56.795.077 51.607-.13 45.51.034zM79.68 7.273c-2.371.022-3.492.416-3.896 2.89-.41 2.505-.012 5.322.46 7.79.72 3.767 1.919 7.459 4.708 10.213 1.47 1.45 3.261 2.606 5.167 3.396 1.012.419 2.08.722 3.15.951.312.067 2.978.435 1.343.248 3.817.436 7.958.418 11.145-2.011 3.533-2.692 5.952-6.952 7.016-11.196.623-2.483 1.93-8.422-.46-10.407-2.737-2.275-28.632-1.874-28.632-1.874M103.713.488c5.44.187 9.071 1.144 11.754 6.579 4.918 9.96-3.5 24.9-12.889 28.97-10.977 4.76-23.24-.508-29.043-10.033C70.46 20.96 68.907 13.32 69.007 7.5 69.135.074 74.323-.132 80.42.031z"></path><path id="Frame" d="M13.197 4.927c-3.412.191-7.31.237-10.507 1.712-3.385 1.562-3.908 5.1.36 5.587 1.92.22 3.845-.143 5.737-.481 1.55-.277 3.655-.187 5.12-.78 2.729-1.103 2.553-6.225-.71-6.038m99.538 0c3.412.191 7.31.237 10.507 1.712 3.384 1.562 3.907 5.1-.36 5.587-1.921.22-3.845-.143-5.738-.481-1.55-.277-3.654-.187-5.119-.78-2.73-1.103-2.554-6.225.71-6.038M73.11 7.013c-1.947-2.3-7.019-3.628-10.219-3.628s-8.123 1.328-10.069 3.628c-.981 1.16-1.015 2.711.686 3.438 2.118.906 4.01-.737 5.705-1.596 2.168-1.098 5.499-.978 7.506 0 1.708.833 3.586 2.502 5.704 1.596 1.701-.727 1.668-2.279.686-3.438"></path></g></g></g>',1),D9=[N9];function T9(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...D9])}const P9={render:T9},O9={Blank:d9,Prescription01:h9,Round:k9,Wayfarers:v9,Kurt:M9,Prescription02:_9,Sunglasses:P9},F9=t.createStaticVNode('<g id="Clothing/Blazer-+-Shirt" transform="translate(0 170)"><defs><path id="BlazerShirt-path1" d="M133.96.295c36.976 3.03 66.04 34 66.04 71.757V81H0v-8.948C0 33.952 29.592 2.765 67.045.22Q67 .78 67 1.348c0 11.863 14.998 21.48 33.5 21.48S134 13.211 134 1.348q0-.53-.04-1.053"></path></defs><g id="Shirt" transform="translate(32 29)"><mask id="BlazerShirt-mask1" fill="#fff"><use href="#BlazerShirt-path1"></use></mask><use fill="#E6E6E6" class="CustomColor" href="#BlazerShirt-path1"></use><g id="Color/Palette/Black" fill="#262E33" mask="url('#BlazerShirt-mask1')"><path id="Color" d="M0 0h264v110H0z" transform="translate(-32 -29)"></path></g><g id="Shadowy" fill="#000" mask="url('#BlazerShirt-mask1')" opacity=".16"><ellipse id="Hola" cx="40.5" cy="27.848" rx="39.635" ry="26.914" transform="translate(60 -25)"></ellipse></g></g><g id="Blazer" transform="translate(32 28)"><path id="Saco" fill="#3A4C5A" d="M68.785 1.122C30.512 2.804 0 34.365 0 73.052V82h69.362C65.96 69.92 64 55.709 64 40.5c0-14.327 1.74-27.769 4.785-39.378M131.638 82H200v-8.948c0-38.345-29.975-69.69-67.771-71.878C135.265 12.77 137 26.194 137 40.5c0 15.209-1.96 29.42-5.362 41.5"></path><path id="Pocket-hanky" fill="#E6E6E6" d="m149 58 9.556-7.167a4 4 0 0 1 4.856.043L170 56z"></path><path id="Wing" fill="#2F4351" d="M69 0q-6 29 5 82H58L44 46l6-9-6-6L63 1q3.042-.945 6-1"></path><path id="Wing" fill="#2F4351" d="M151 0q-6 29 5 82h-16l-14-36 6-9-6-6 19-30q3.042-.945 6-1" transform="matrix(-1 0 0 1 282 0)"></path></g></g>',1),L9=[F9];function $9(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...L9])}const R9={render:$9},H9=t.createStaticVNode('<g id="Clothing/Blazer-+-Sweater" transform="translate(0 170)"><defs><path id="BlazerSweater-path1" d="M105.192 29.052H104c-39.765 0-72 32.235-72 72V110h200v-8.948c0-39.765-32.235-72-72-72h-1.192q.191 1.475.192 3c0 13.807-12.088 25-27 25s-27-11.193-27-25q0-1.525.192-3"></path></defs><mask id="BlazerSweater-mask1" fill="#fff"><use href="#BlazerSweater-path1"></use></mask><use fill="#E6E6E6" class="CustomColor" href="#BlazerSweater-path1"></use><g id="Color/Palette/Black" fill="#262E33" mask="url('#BlazerSweater-mask1')"><path id="Color" d="M0 0h264v110H0z"></path></g><g id="Blazer" transform="translate(32 28)"><path id="Saco" fill="#3A4C5A" d="M68.785 1.122C30.512 2.804 0 34.365 0 73.052V82h69.362C65.96 69.92 64 55.709 64 40.5c0-14.327 1.74-27.769 4.785-39.378M131.638 82H200v-8.948c0-38.345-29.975-69.69-67.771-71.878C135.265 12.77 137 26.194 137 40.5c0 15.209-1.96 29.42-5.362 41.5"></path><path id="Pocket-hanky" fill="#E6E6E6" d="m149 58 9.556-7.167a4 4 0 0 1 4.856.043L170 56z"></path><path id="Wing" fill="#2F4351" d="M69 0q-6 29 5 82H58L44 46l6-9-6-6L63 1q3.042-.945 6-1"></path><path id="Wing" fill="#2F4351" d="M151 0q-6 29 5 82h-16l-14-36 6-9-6-6 19-30q3.042-.945 6-1" transform="matrix(-1 0 0 1 282 0)"></path></g><path id="Collar" fill="#F2F2F2" d="M156 21.539c6.772 4.597 11 11.117 11 18.349 0 7.4-4.428 14.057-11.48 18.668l-5.94-4.68-4.58.332 1-3.151-.078-.061C152.022 47.853 156 42.7 156 36.876zm-48 0c-6.772 4.597-11 11.117-11 18.349 0 7.4 4.428 14.057 11.48 18.668l5.94-4.68 4.58.332-1-3.151.078-.061C111.978 47.853 108 42.7 108 36.876z"></path></g>',1),z9=[H9];function I9(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...z9])}const G9={render:I9},j9=t.createElementVNode("g",{id:"Clothing/Collar-+-Sweater",transform:"translate(0 170)"},[t.createElementVNode("defs",null,[t.createElementVNode("path",{id:"CollarSweater-path1",d:"M105.192 29.052H104c-39.765 0-72 32.235-72 72V110h200v-8.948c0-39.765-32.235-72-72-72h-1.192q.191 1.475.192 3c0 13.807-12.088 25-27 25s-27-11.193-27-25q0-1.525.192-3"})]),t.createElementVNode("use",{fill:"var(--avataaar-shirt-color)",class:"CustomColor",href:"#CollarSweater-path1"}),t.createElementVNode("path",{id:"Collar",fill:"#F2F2F2",d:"M156 22.28c6.182 4.555 10 10.826 10 17.748 0 7.205-4.137 13.705-10.771 18.3l-5.65-4.452-4.579.332 1-3.151-.078-.061C152.022 47.853 156 42.7 156 36.876zm-48-.709c-6.767 4.603-11 11.169-11 18.457 0 7.398 4.362 14.052 11.308 18.664l6.113-4.816 4.579.332-1-3.151.078-.061C111.978 47.853 108 42.7 108 36.876z"})],-1),q9=[j9];function W9(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...q9])}const Y9={render:W9},U9=t.createStaticVNode('<g id="Clothing/Hoodie" transform="translate(0 170)"><defs><path id="Hoodie-path1" d="M108 13.07c-17.919 2.006-31.72 7.482-31.996 21.575C50.146 45.568 32 71.165 32 100.999V110h200v-9c0-29.835-18.146-55.432-44.004-66.355-.276-14.093-14.077-19.57-31.996-21.574V32c0 13.255-10.745 24-24 24s-24-10.745-24-24z"></path></defs><mask id="Hoodie-mask1" fill="#fff"><use href="#Hoodie-path1"></use></mask><use fill="var(--avataaar-shirt-color)" class="CustomColor" href="#Hoodie-path1"></use><path id="Straps" fill="#F4F4F4" d="M102 61.74V110h-7V58.15a65 65 0 0 0 7 3.59m67-3.59V98.5a3.5 3.5 0 1 1-7 0V61.74a65 65 0 0 0 7-3.59" mask="url('#Hoodie-mask1')"></path><path id="Shadow" fill="#000" d="M90.96 12.724C75.91 15.571 65.5 21.243 65.5 32.308 65.5 52.02 98.538 68 132 68s66.5-15.98 66.5-35.692c0-11.065-10.41-16.737-25.46-19.584 9.085 3.35 14.96 8.982 14.96 18.353C188 51.469 160.179 68 132 68S76 51.469 76 31.077c0-9.37 5.875-15.003 14.96-18.353" mask="url('#Hoodie-mask1')" opacity=".16"></path></g>',1),X9=[U9];function Z9(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...X9])}const Q9={render:Z9},K9=t.createElementVNode("g",{id:"Clothing/Graphic-Shirt",transform:"translate(0 170)"},[t.createElementVNode("defs",null,[t.createElementVNode("path",{id:"GraphicShirt-path1",d:"M165.624 29.268C202.76 32.138 232 63.18 232 101.052V110H32v-8.948c0-38.217 29.775-69.48 67.393-71.855A14 14 0 0 0 99 32.5C99 44.374 113.998 54 132.5 54S166 44.374 166 32.5c0-1.098-.128-2.178-.376-3.232"})]),t.createElementVNode("use",{fill:"#E6E6E6",class:"CustomColor",href:"#GraphicShirt-path1"})],-1),J9=[K9];function eh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...J9])}const th={render:eh},ah=t.createStaticVNode('<g id="Clothing/Overall" transform="translate(0 170)"><defs><path id="Overall-path1" d="M94 29.688V74h76V29.688a71.5 71.5 0 0 1 26 8.944V110H68V38.632a71.5 71.5 0 0 1 26-8.944"></path></defs><use fill="var(--avataaar-shirt-color)" class="CustomColor" href="#Overall-path1"></use><circle id="Button" cx="81" cy="83" r="5" fill="#F4F4F4"></circle><circle id="Button" cx="183" cy="83" r="5" fill="#F4F4F4"></circle></g>',1),nh=[ah];function rh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...nh])}const oh={render:rh},ih=t.createStaticVNode('<g id="Clothing/Shirt-Crew-Neck" transform="translate(0 170)"><defs><path id="ShirtCrewNeck-path1" d="M165.96 29.295c36.976 3.03 66.04 34 66.04 71.757V110H32v-8.948c0-38.1 29.592-69.287 67.045-71.832Q99 29.78 99 30.348c0 11.863 14.998 21.48 33.5 21.48s33.5-9.617 33.5-21.48q0-.53-.04-1.053"></path></defs><mask id="ShirtCrewNeck-mask1" fill="#fff"><use href="#ShirtCrewNeck-path1"></use></mask><use fill="var(--avataaar-shirt-color)" class="CustomColor" href="#ShirtCrewNeck-path1"></use><g id="Shadowy" fill="#000" mask="url('#ShirtCrewNeck-mask1')" opacity=".16"><ellipse id="Hola" cx="40.5" cy="27.848" rx="39.635" ry="26.914" transform="translate(92 4)"></ellipse></g></g>',1),sh=[ih];function lh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...sh])}const ch={render:lh},dh=t.createElementVNode("g",{id:"Clothing/Shirt-V-Neck",transform:"translate(0 170)"},[t.createElementVNode("defs",null,[t.createElementVNode("path",{id:"ShirtVNeck-path1",d:"M171.32 29.936C205.706 35.366 232 65.14 232 101.052V110H32v-8.948c0-35.914 26.294-65.686 60.682-71.116a23.9 23.9 0 0 0 7.554 13.603l29.085 26.229a4 4 0 0 0 5.358 0l29.085-26.229a24 24 0 0 0 1.234-1.196 23.9 23.9 0 0 0 6.322-12.407"})]),t.createElementVNode("use",{fill:"var(--avataaar-shirt-color)",class:"CustomColor",href:"#ShirtVNeck-path1"})],-1),uh=[dh];function fh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...uh])}const mh={render:fh},hh=t.createElementVNode("g",{id:"Clothing/Shirt-Scoop-Neck",transform:"translate(0 170)"},[t.createElementVNode("defs",null,[t.createElementVNode("path",{id:"ShirtScoopNeck-path1",d:"M181.544 32.33C210.784 41.488 232 68.792 232 101.052V110H32v-8.948c0-32.655 21.739-60.232 51.534-69.05A18 18 0 0 0 83 36.348c0 16.281 22.162 29.48 49.5 29.48S182 52.629 182 36.348c0-1.363-.155-2.704-.456-4.018"})]),t.createElementVNode("use",{fill:"var(--avataaar-shirt-color)",class:"CustomColor",href:"#ShirtScoopNeck-path1"})],-1),ph=[hh];function gh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...ph])}const yh={render:gh},kh={BlazerShirt:R9,CollarSweater:Y9,BlazerSweater:G9,Hoodie:Q9,GraphicShirt:th,Overall:oh,ShirtCrewNeck:ch,ShirtVNeck:mh,ShirtScoopNeck:yh},bh=t.createStaticVNode('<g id="Top"><defs><path id="Eyepatch-path1" d="M0 0h264v280H0z"></path></defs><mask id="Eyepatch-mask1" fill="#fff"><use href="#Eyepatch-path1"></use></mask><g id="Top/Accesories/Eyepatch" mask="url('#Eyepatch-mask1')"><path fill="#28354B" d="M159.395 39.781c-3.077-3.088-6.276 3.858-7.772 5.647-3.61 4.32-7.083 8.755-10.755 13.024-7.252 8.43-14.429 16.922-21.634 25.388-1.094 1.286-.961 1.425-2.397 1.549-.951.082-2.274-.409-3.263-.463-2.75-.151-5.462.309-8.138.897-5.345 1.173-11.01 3.106-15.647 6.075-1.217.78-2.002 1.7-3.322 1.943-1.149.212-2.673-.211-3.845-.322-2.08-.195-5.084-1.046-7.127-.605-2.592.56-3.578 3.697-.935 5.086 2.01 1.056 6.01.476 8.264.645 2.573.192 1.788.06 1.423 2.52-.523 3.533.352 7.481 1.842 10.713 3.46 7.505 13.034 15.457 21.766 14.725 7.287-.61 13.672-7.19 16.664-13.503 1.532-3.231 2.436-6.908 2.731-10.472.189-2.266.084-4.67-.566-6.865-.321-1.085-.83-2.208-1.376-3.193-.442-.799-2.4-2.65-2.52-3.453-.232-1.557 4.185-5.73 5.028-6.773 3.973-4.916 7.964-9.812 11.906-14.755 3.881-4.869 7.784-9.725 11.768-14.51 1.804-2.17 10.828-10.364 7.905-13.298" class="CustomColor"></path></g></g>',1),xh=[bh];function wh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...xh])}const vh={render:wh},Eh=t.createStaticVNode('<g id="Top"><defs><path id="LongHairMiaWallace-path1" d="M0 0h264v280H0z"></path><path id="LongHairMiaWallace-path2" d="M148.86 69q.14 1.982.14 4v38c0 22.34-13.08 41.623-32 50.611v8.706c18.146 1.499 35.721 4.018 46 6.683 9.953-13.56 22.885-26.2 23-51 .085-18.985-27.676-95.572-40-111-8.138-10.188-28.695-13.55-53-14S48.923 6.509 41 16C30.319 28.795-.085 107.015 0 126c.116 24.8 13.048 37.44 23 51 10.279-2.665 27.854-5.184 46-6.683v-8.706C50.08 152.623 37 133.339 37 111V73q0-2.018.14-4h28.234l3.879-21.444L72.058 69h76.801Z"></path></defs><mask id="LongHairMiaWallace-mask1" fill="#fff"><use href="#LongHairMiaWallace-path1"></use></mask><g id="Top/Long-Hair/Mia-Wallace" mask="url('#LongHairMiaWallace-mask1')"><g transform="translate(-1)"><path id="Shadow" fill="#000" d="M69.033 76.213q19.407-49.626 41.025-49.626c.539 0 29.253-.238 48.055-.36C178.767 35.585 193 55.304 193 78.115V93h-82.942l-2.805-23.18-3.88 23.18H69V78.115q0-.955.033-1.902" opacity=".16"></path><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairMiaWallace-path2" transform="translate(40 19)"></use></g></g></g>',1),Ch=[Eh];function Sh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ch])}const Mh={render:Sh},Bh=t.createStaticVNode('<g id="Top"><defs><path id="ShortHairShortCurly-path2" d="M0 0h264v280H0z"></path><path id="ShortHairShortCurly-path1" d="M94.252 52.022q.185-.081-.916-.062 1.338-.003.916.062m-8.135-15.72c-.002-.02.017.15 0 0m107.648 34.464c-.264-3.317-.732-6.614-1.518-9.855-.625-2.576-1.478-5.033-2.487-7.491-.61-1.485-2.032-3.524-2.2-5.126-.165-1.577 1.067-3.325 1.33-5.162a16 16 0 0 0-.156-5.438c-.833-4.023-3.594-7.764-7.857-8.813-.952-.234-2.964.055-3.636-.5-.771-.635-1.308-2.8-2.006-3.669-1.99-2.476-5.095-4.07-8.37-3.514-2.41.409-1.026.907-2.833-.512-1.005-.788-1.756-1.993-2.732-2.847-1.467-1.283-3.15-2.38-4.892-3.282-4.557-2.358-9.754-4.072-14.844-4.908-9.285-1.524-19.195-.195-28.195 2.22-4.479 1.201-8.987 2.726-13.147 4.743-1.783.864-2.813 1.582-4.673 1.808-2.928.357-5.409.339-8.183 1.581-8.536 3.822-12.381 12.689-9.06 21.174a14.6 14.6 0 0 0 2.82 4.584c1.521 1.68 2.072 1.35.762 3.282a53 53 0 0 0-4.955 9.172c-3.529 8.402-4.12 17.864-3.89 26.824.081 3.137.216 6.313.71 9.42.214 1.344.274 3.872 1.282 4.87.512.506 1.241.788 1.969.587 1.71-.474 1.121-1.735 1.161-2.906.2-5.884-.07-11.089 1.33-16.902 1.033-4.294 2.755-8.195 4.988-12.035 2.838-4.884 5.903-9.173 9.807-13.355.917-.984 1.118-1.4 2.349-1.472.932-.054 2.295.584 3.2.805 1.999.487 4 .968 6.034 1.296 3.74.603 7.444.644 11.217.525 7.426-.232 14.885-.753 22.085-2.623 4.782-1.242 9.022-3.47 13.602-5.105.082-.029 1.23-.847 1.43-.814.282.047 1.978 1.826 2.264 2.05 2.226 1.746 4.667 2.479 7.07 3.83 2.964 1.667.094-.718 1.728 1.359.477.605.72 1.726 1.103 2.411a18.1 18.1 0 0 0 4.93 5.624c1.956 1.47 4.894 2.18 5.891 4.095.769 1.477 1.028 3.484 1.648 5.06 1.628 4.136 3.777 7.992 5.926 11.887 1.732 3.14 3.625 5.881 3.818 9.468.067 1.248-1.121 8.737 1.773 6.46.429-.338 1.353-4.156 1.543-4.804.772-2.633 1.046-5.381 1.395-8.086.694-5.38.923-10.498.47-15.916"></path></defs><mask id="ShortHairShortCurly-mask2" fill="#fff"><use href="#ShortHairShortCurly-path2"></use></mask><g id="Top/Short-Hair/Short-Curly" mask="url('#ShortHairShortCurly-mask2')"><use fill="var(--avataaar-hair-color)" class="CustomColor" href="#ShortHairShortCurly-path1" transform="translate(-1)"></use></g></g>',1),Ah=[Bh];function Vh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ah])}const _h={render:Vh},Nh=t.createStaticVNode('<g id="Top"><defs><path id="Hat-path2" d="M0 0h264v280H0z"></path><path id="Hat-path1" d="M156 180.611c17.53-8.328 30.048-25.496 31.791-45.744C193.57 134.002 198 129.02 198 123v-13c0-5.946-4.325-10.882-10-11.834V92a55.8 55.8 0 0 0-4.638-22.35C173.435 53 89.312 53.802 80.71 69.484A55.8 55.8 0 0 0 76 92v6.166c-5.675.952-10 5.888-10 11.834v13c0 6.019 4.43 11.002 10.209 11.867 1.743 20.248 14.26 37.416 31.791 45.744V199h-4c-39.765 0-72 32.235-72 72v9h200v-9c0-39.765-32.235-72-72-72h-4zM0 0h264v280H0z"></path></defs><mask id="Hat-mask1" fill="#fff"><use href="#Hat-path2"></use></mask><g id="Top/Accesories/Hat" mask="url('#Hat-mask1')"><g transform="translate(-1)"><g id="Hat" transform="translate(1)"><mask id="Hat-mask2" fill="#fff"><use href="#Hat-path1"></use></mask><path fill="var(--avataaar-top-color)" d="M123.182 2h18.636c18.791 0 35.049 13.08 39.072 31.436L190 75H75l9.11-41.564C88.133 15.08 104.39 2 123.182 2" mask="url('#Hat-mask2')" style="fill-opacity:.6;"></path><ellipse id="Hipster" cx="132" cy="87.5" fill="var(--avataaar-top-color)" mask="url('#Hat-mask2')" rx="122" ry="57.5"></ellipse><ellipse id="Hipster" cx="132" cy="87.5" fill="#2e2e2e" mask="url('#Hat-mask2')" rx="122" ry="57.5" style="fill-opacity:.1;"></ellipse><ellipse id="Very" cx="132" cy="82" fill="var(--avataaar-top-color)" mask="url('#Hat-mask2')" rx="62" ry="25"></ellipse><ellipse id="Very" cx="132" cy="82" fill="#2e2e2e" mask="url('#Hat-mask2')" rx="62" ry="25" style="fill-opacity:.5;"></ellipse></g></g></g></g>',1),Dh=[Nh];function Th(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Dh])}const Ph={render:Th},Oh=t.createStaticVNode('<g id="Top"><defs><path id="LongHairNotTooLong-path1" d="M0 0h264v280H0z"></path><path id="LongHairNotTooLong-path2" d="M59 102.34V182a8 8 0 0 0 8 8h42v-9.389c-17.53-8.328-30.048-25.496-31.791-45.744C71.43 134.002 67 129.02 67 123v-13c0-3.49 1.49-6.633 3.87-8.826 11.539-2.619 24.1-7.536 36.472-14.679 12.131-7.004 22.502-15.237 30.479-23.743q-5.14 11.862-12.449 20.783 19.013-8.285 25.892-26.639.565 1.383 1.18 2.762c10.256 23.035 27.874 39.36 45.762 44.745.513 2.11.794 4.08.794 5.597v13c0 6.019-4.43 11.002-10.209 11.867-1.743 20.248-14.26 37.416-31.791 45.744V190h18c17.673 0 32-14.327 32-32v-54.125q0-.1-.028-.26-.216-18.391-.612-21.39C201.577 45.977 170.556 18 133 18c-36.085 0-66.137 25.828-73 60-5.523 0-10 5.596-10 12.5 0 4.55 1.695 8.643 4.853 10.773.905.61 2.47.925 4.147 1.067"></path></defs><mask id="LongHairNotTooLong-mask1" fill="#fff"><use href="#LongHairNotTooLong-path1"></use></mask><g id="Top/Long-Hair/Long-but-not-too-long" mask="url('#LongHairNotTooLong-mask1')"><g transform="translate(-1)"><use id="Behind" fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairNotTooLong-path2"></use><g id="Top" opacity=".16" transform="translate(50 18)"><path id="Combined-Shape" fill="#FFF" d="M11.899 84.775c13.812-1.76 29.78-7.237 45.443-16.28 12.131-7.004 22.502-15.237 30.479-23.743q-5.14 11.862-12.449 20.783 19.013-8.285 25.892-26.639.565 1.383 1.18 2.762C114.382 68.471 136.296 86.194 157 88.151V74c0-40.87-33.13-74-74-74-36.085 0-66.137 25.828-72.679 60.006A8 8 0 0 0 10 60C4.477 60 0 65.596 0 72.5c0 6.482 3.947 11.811 9 12.438v.155q.474-.044.953-.093a8.2 8.2 0 0 0 1.946-.225"></path></g></g></g></g>',1),Fh=[Oh];function Lh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Fh])}const $h={render:Lh},Rh=t.createStaticVNode('<g id="Top"><defs><path id="ShortHairShortFlat-path2" d="M0 0h264v280H0z"></path><path id="ShortHairShortFlat-path1" d="M180.15 39.92c-2.76-2.82-5.964-5.213-9.08-7.613-.688-.53-1.387-1.046-2.06-1.595-.152-.125-1.718-1.246-1.905-1.659-.451-.993-.19-.22-.128-1.404.079-1.498 3.134-5.73.854-6.7-1.003-.427-2.791.709-3.753 1.084a60 60 0 0 1-5.731 1.9c.932-1.857 2.708-5.574-.631-4.579-2.602.775-5.026 2.768-7.64 3.705.865-1.417 4.324-5.811 1.198-6.057-.972-.076-3.803 1.748-4.85 2.138-3.137 1.165-6.34 1.92-9.634 2.513-11.198 2.018-24.293 1.442-34.653 6.54-7.988 3.93-15.874 10.029-20.489 17.795-4.447 7.485-6.11 15.676-7.041 24.253-.683 6.295-.739 12.802-.42 19.119.105 2.07.338 11.61 3.345 8.721 1.498-1.44 1.487-7.253 1.864-9.22.751-3.916 1.474-7.848 2.726-11.638 2.206-6.68 4.809-13.793 10.305-18.393 3.527-2.952 6.004-6.941 9.379-9.919 1.516-1.337.36-1.198 2.797-1.022 1.638.117 3.282.162 4.923.205 3.796.099 7.598.074 11.395.087 7.647.028 15.258.136 22.898-.265 3.395-.177 6.799-.274 10.185-.588 1.891-.175 5.247-1.387 6.804-.461 1.425.847 2.905 3.615 3.928 4.748 2.418 2.679 5.3 4.724 8.126 6.92 5.895 4.58 8.87 10.332 10.66 17.488 1.784 7.13 1.284 13.745 3.491 20.762.389 1.233 1.416 3.36 2.682 1.454.235-.354.175-2.3.175-3.42 0-4.52 1.144-7.91 1.13-12.46-.056-13.832-.504-31.868-10.85-42.439"></path></defs><mask id="ShortHairShortFlat-mask2" fill="#fff"><use href="#ShortHairShortFlat-path2"></use></mask><g id="Top/Short-Hair/Short-Flat" mask="url('#ShortHairShortFlat-mask2')"><use fill="var(--avataaar-hair-color)" class="CustomColor" href="#ShortHairShortFlat-path1" transform="translate(-1)"></use></g></g>',1),Hh=[Rh];function zh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Hh])}const Ih={render:zh},Gh=t.createStaticVNode('<g id="Top"><defs><path id="Hijab-path1" d="M0 0h264v280H0z"></path><path id="Hijab-path2" d="M66.042 77.075C71.68 45.205 99.513 21 133 21c37.555 0 68 30.445 68 68v30.751q1.313 14.705 2.456 20.603c1.377 7.104 5.694 4.761 5.694 14.866s-4.328 13.5-4.347 22.485c-.019 8.986 15.397 16.131 15.397 27.538s-7.074 65.233-77.622 65.233q-22.605 0-38.51-12.862Q105.091 267.349 106 280H59c.932-23.771-7.284-37.064-7.284-63.554S65.353 151.428 65 142q.03-.873.062-2.068A69 69 0 0 1 65 137V89c0-3.976.341-7.872.996-11.661L66 77zM132.5 53C102.4 53 78 77.4 78 107.5v23c0 30.1 24.4 54.5 54.5 54.5h1c30.1 0 54.5-24.4 54.5-54.5v-23c0-30.1-24.4-54.5-54.5-54.5z"></path></defs><mask id="Hijab-mask1" fill="#fff"><use href="#Hijab-path1"></use></mask><g id="Top/Accesories/Hijab" mask="url('#Hijab-mask1')"><g transform="translate(-1)"><mask id="Hijab-mask2" fill="#fff"><use href="#Hijab-path2"></use></mask><use fill="var(--avataaar-top-color)" class="CustomColor" href="#Hijab-path2"></use><path id="Band" fill="#FFF" stroke="none" d="M72.074 104.96A61.4 61.4 0 0 1 71 93.5C71 59.534 98.758 32 133 32s62 27.534 62 61.5c0 3.916-.369 7.747-1.074 11.46C192.34 72.683 165.67 47 133 47s-59.341 25.683-60.926 57.96" mask="url('#Hijab-mask2')" opacity=".5"></path><path id="Shadows" fill="#000" stroke="none" d="M187.93 104.695A55 55 0 0 1 189 115.5v23c0 30.1-24.4 54.5-54.5 54.5h-3c-30.1 0-54.5-24.4-54.5-54.5v-23c0-3.7.369-7.312 1.07-10.805Q78 106.089 78 107.5v23c0 30.1 24.4 54.5 54.5 54.5h1c30.1 0 54.5-24.4 54.5-54.5v-23q0-1.41-.07-2.805m-73.763 102.3c6.484 4.986 21.496 6.713 38.238 3.761 16.74-2.951 30.257-9.71 34.645-16.612q.102.379.171.767c1.71 9.695-13.236 20.434-33.38 23.987-20.146 3.552-37.863-1.428-39.573-11.123a9 9 0 0 1-.101-.78m11.868 28.926c8.192 5.654 24.387 5.923 41.069-.149s28.915-16.687 31.556-26.284q.215.48.396.98c4.527 12.436-8.077 28.441-28.151 35.748s-40.017 3.147-44.544-9.29q-.181-.498-.326-1.005" mask="url('#Hijab-mask2')" opacity=".16"></path></g></g></g>',1),jh=[Gh];function qh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...jh])}const Wh={render:qh},Yh=t.createStaticVNode('<g id="Top"><defs><path id="LongHairShavedSides-path2" d="M0 0h264v280H0z"></path><path id="LongHairShavedSides-path3" d="M156 180.611c17.53-8.328 30.048-25.496 31.791-45.744C193.57 134.002 198 129.02 198 123v-13c0-5.946-4.325-10.882-10-11.834V92c0-30.928-25.072-56-56-56S76 61.072 76 92v6.166c-5.675.952-10 5.888-10 11.834v13c0 6.019 4.43 11.002 10.209 11.867 1.743 20.248 14.26 37.416 31.791 45.744V199h-4c-39.765 0-72 32.235-72 72v9h200v-9c0-39.765-32.235-72-72-72h-4zM0 0h264v280H0z"></path><path id="LongHairShavedSides-path1" d="M65.18 77.737c2.183-1.632 15.227-2.258 17.578-3.648.734-.434 1.303-.873 1.742-1.309.439.436 1.009.875 1.742 1.31 2.351 1.389 15.395 2.015 17.578 3.647 2.21 1.654 3.824 5.448 3.647 8.414-.212 3.56-4.106 12.052-13.795 13.03-2.114-2.353-5.435-3.87-9.172-3.87s-7.058 1.517-9.172 3.87c-9.69-.978-13.583-9.47-13.795-13.03-.176-2.966 1.437-6.76 3.647-8.414m.665 17.164.017.007zm79.018-38.916c-.389-5.955-1.585-11.833-2.629-17.699-.281-1.579-1.81-12.286-2.5-12.286-.232 9.11-1.032 18.08-2.064 27.14-.309 2.708-.632 5.416-.845 8.134-.171 2.196.135 4.848-.397 6.972-.679 2.706-4.08 5.232-6.725 6.165-6.6 2.326-12.105-7.303-17.742-10.12-7.318-3.656-19.897-4.527-27.38.239-7.645-4.766-20.224-3.895-27.542-.239-5.637 2.817-11.142 12.446-17.742 10.12-2.645-.933-6.047-3.459-6.725-6.165-.532-2.124-.226-4.776-.397-6.972-.213-2.718-.536-5.426-.845-8.135C30.298 44.08 29.497 35.11 29.265 26c-.689 0-2.218 10.707-2.5 12.286-1.043 5.866-2.24 11.744-2.627 17.7-.4 6.119.077 12.181 1.332 18.177a165 165 0 0 0 2.049 8.541c.834 3.143-.32 9.262.053 12.488.707 6.104 3.582 18.008 6.811 23.259 1.561 2.538 3.39 4.123 5.433 6.168 1.967 1.97 2.788 5.021 4.91 7.118 3.956 3.908 9.72 6.234 15.64 6.806C65.677 143.05 74.506 146 84.5 146s18.823-2.95 24.135-7.457c5.919-.572 11.683-2.898 15.64-6.806 2.121-2.097 2.942-5.149 4.909-7.118 2.042-2.045 3.872-3.63 5.433-6.168 3.229-5.251 6.104-17.155 6.81-23.259.374-3.226-.78-9.345.054-12.488.75-2.828 1.45-5.676 2.05-8.54 1.254-5.997 1.73-12.06 1.332-18.179"></path><rect id="LongHairShavedSides-path4" width="112" height="150" x="0" y="0" rx="56"></rect></defs><mask id="LongHairShavedSides-mask2" fill="#fff"><use href="#LongHairShavedSides-path2"></use></mask><g id="Top/Long-Hair/Shaved-Sides" mask="url('#LongHairShavedSides-mask2')"><g transform="translate(-1)"><g id="Behind" fill="none" transform="translate(1)"><mask id="LongHairShavedSides-mask3" fill="#fff"><use href="#LongHairShavedSides-path3"></use></mask><path fill="var(--avataaar-hair-color)" d="M116.18 40H146c25.405 0 46 20.595 46 46v68.109c0 26.541 18.759 50.24 30.61 71.943s-7.355 42.19-26.84 50.717A38.5 38.5 0 0 1 180.332 280h-45.068c-56.352 0-65.046-63.69-67.566-133.496l2.52-62.36C71.213 59.48 91.497 40 116.179 40Z" class="CustomColor" mask="url('#LongHairShavedSides-mask3')"></path></g><g id="Top" fill="none" transform="translate(77 36)"><mask id="LongHairShavedSides-mask1" fill="#fff"><use href="#LongHairShavedSides-path4"></use></mask><path id="Shadow" fill="#000" d="M98.801 19.94C107.027 29.484 112 41.91 112 55.5v10-4c0-15.74-6.672-29.92-17.342-39.87q-46.107 16.57-77.717.378C6.505 31.937 0 45.958 0 61.5v4-10c0-13.607 4.987-26.05 13.233-35.6-3.834-3.04-4.974-11.713 6.234-15.023 11.845-3.499 9.84-18.079 27.99-20.803C65.61-18.65 63.972-11.375 81.03-12.35c17.057-.974 22.607-16.763 25.82-12.724 12.74 16.01 9.572 34.414-8.048 45.014Z" mask="url('#LongHairShavedSides-mask1')" opacity=".16"></path></g><path fill="#E0C863" d="M90.878 52.361q33.225 19.299 83.366 0c14.53-7.772 25.087-23.319 8.707-43.398-2.169-2.658-10.707 6.713-27.6 7.687s-13.271-3.3-31.248-.576-15.991 17.304-27.722 20.803c-11.73 3.498-9.803 12.987-5.503 15.484" class="CustomColor"></path></g></g></g>',1),Uh=[Yh];function Xh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Uh])}const Zh={render:Xh},Qh=t.createStaticVNode('<g id="Top"><defs><path id="ShortHairShortRound-path2" d="M0 0h264v280H0z"></path><path id="ShortHairShortRound-path1" d="M167.309 35.006c-20.188-11.7-40.18-9.784-55.272-5.976s-24.02 14.621-31.68 30.618c-3.761 7.855-5.991 17.143-6.334 25.833-.135 3.412.325 6.934 1.245 10.22.337 1.205 2.155 5.386 2.654 2.008.167-1.125-.442-2.676-.5-3.871-.078-1.569.005-3.157.112-4.723.2-2.928.722-5.8 1.65-8.59 1.328-3.988 3.017-8.312 5.603-11.677 6.401-8.327 17.482-8.802 26.28-13.384-.764 1.405-3.707 3.68-2.688 5.263.705 1.094 3.37.762 4.643.727 3.349-.092 6.713-.674 10.02-1.147 5.214-.745 10.099-2.255 15.005-4.089 4.016-1.502 8.603-2.892 11.622-6.078 4.87 5.048 11.14 9.795 17.401 13.003 5.618 2.88 14.679 4.318 18.113 10.158 4.065 6.914 2.195 15.406 3.436 22.9.472 2.85 1.545 2.786 2.132.237.997-4.33 1.468-8.828 1.151-13.279-.718-10.048-4.405-36.453-24.593-48.153"></path></defs><mask id="ShortHairShortRound-mask2" fill="#fff"><use href="#ShortHairShortRound-path2"></use></mask><g id="Top/Short-Hair/Short-Round" mask="url('#ShortHairShortRound-mask2')"><use fill="var(--avataaar-hair-color)" class="CustomColor" href="#ShortHairShortRound-path1" transform="translate(-1)"></use></g></g>',1),Kh=[Qh];function Jh(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Kh])}const ep={render:Jh},tp=t.createStaticVNode('<g id="Top"><defs><path id="LongHairBigHair-path1" d="M0 0h264v280H0z"></path><path id="LongHairBigHair-path2" d="M222.385 182.806c-5.374 5.712-10.737 9.322-10.554 15.194.317 11.889 43.608 47.051 5.169 69H16.005c-38.439-21.949 4.852-57.111 5.17-69 .182-5.872-5.18-9.482-10.555-15.194C5.247 177.094-.137 169.28.003 155c.941-29.028 31.369-26.412 31.2-46 .169-19-11.39-26.84 0-63C42.84 9.54 72.917.768 116.003.016V0l.5.008.5-.008v.016c43.086.752 73.163 9.523 84.8 45.984 11.388 36.16-.17 44 0 63-.17 19.588 30.258 16.972 31.2 46 .14 14.28-5.245 22.094-10.618 27.806m-39.501-87.481c-21.52-11.588-39.994-28.18-52.038-47.023C112.764 73.924 76.53 78.535 51.224 94.68A12 12 0 0 0 51 97v13c0 6.019 4.43 11.002 10.209 11.867 1.743 20.248 14.26 37.416 31.791 45.744V186h-4c-39.765 0-72 32.235-72 72v9h200v-9c0-39.765-32.235-72-72-72h-4v-18.389c17.53-8.328 30.048-25.496 31.791-45.744C178.57 121.002 183 116.02 183 110V97q-.001-.853-.116-1.675"></path><path id="LongHairBigHair-path3" d="M222.385 182.806c-5.374 5.712-10.737 9.322-10.554 15.194.317 11.889 43.608 47.051 5.169 69H16.005c-38.439-21.949 4.852-57.111 5.17-69 .182-5.872-5.18-9.482-10.555-15.194C5.247 177.094-.137 169.28.003 155c.941-29.028 31.369-26.412 31.2-46 .169-19-11.39-26.84 0-63C42.84 9.54 72.917.768 116.003.016V0l.5.008.5-.008v.016c43.086.752 73.163 9.523 84.8 45.984 11.388 36.16-.17 44 0 63-.17 19.588 30.258 16.972 31.2 46 .14 14.28-5.245 22.094-10.618 27.806M93 186h-4c-39.765 0-72 32.235-72 72v9h200v-9c0-39.765-32.235-72-72-72h-4v-46H93z"></path></defs><mask id="LongHairBigHair-mask2" fill="#fff"><use href="#LongHairBigHair-path1"></use></mask><g id="Top/Long-Hair/Big-Hair" mask="url('#LongHairBigHair-mask2')"><g transform="translate(-1)"><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairBigHair-path2" transform="translate(16 13)"></use><g id="Shadow" fill="none" transform="translate(16 13)"><mask id="LongHairBigHair-mask1" fill="#fff"><use href="#LongHairBigHair-path3"></use></mask><path id="Shadow-Mask" fill="#000" d="M30.099 115.057c-2.374 3.026-5.57 7.471-5.737 7.137 1.873-2.383 3.013-5.182 2.979-8.758.177-18.101-11.904-25.569 0-60.017.669-1.91 1.766-3.715 3.245-5.414-10.343 34.454.783 42.35.617 60.995.02 2.295-.38 4.285-1.104 6.057m172.32-67.052c1.48 1.7 2.577 3.504 3.245 5.414 10.158 29.394 2.852 39.144.6 52.617-.3.805-.069 1.754-.384 2.567-30.673-10.458-58.29-30.043-74.385-52.991-22.784 29.424-73.14 29.761-97.821 55.324.387-.544.754-1.051 1.084-1.49 22.536-29.919 73.489-29.122 96.088-61.144 15.398 24.088 41.818 44.648 71.163 55.625.301-.854.08-1.85.367-2.694 2.108-13.833 8.84-23.926.043-53.228" mask="url('#LongHairBigHair-mask1')" opacity=".16"></path></g><path id="Light" fill="#FFF" d="M50.758 122.446c22.536-29.919 73.489-29.122 96.088-61.144 15.398 24.088 41.818 44.648 71.163 55.625.301-.854.08-1.85.367-2.694 2.155-14.144 9.144-24.378-.573-55.233-11.637-36.46-41.714-45.232-84.8-45.984l-1-.016c-43.086.768-73.163 9.54-84.8 46-11.39 36.16.169 44 0 63 .032 3.753-1.059 6.691-2.85 9.193.183.402 4.153-5.756 6.405-8.747" opacity=".1"></path></g></g></g>',1),ap=[tp];function np(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...ap])}const rp={render:np},op=t.createStaticVNode('<g id="Top"><defs><path id="LongHairStraight-path1" d="M0 0h264v280H0z"></path><path id="LongHairStraight-path2" d="M133.506 81.335A12 12 0 0 1 140 92v13c0 6.019-4.43 11.002-10.209 11.867-1.743 20.248-14.26 37.416-31.791 45.744V181h4c17.49 0 33.525 6.237 46 16.608V74c0-20.435-8.283-38.935-21.674-52.326S94.435 0 74 0C33.13 0 0 33.13 0 74v183.716c13.57-1.94 24-13.61 24-27.716v-45.577A72 72 0 0 1 46 181h4v-18.389a56.23 56.23 0 0 1-26-25.365v-61.98c9.147-2.975 18.778-7.249 28.342-12.77 15.403-8.894 28.09-19.555 36.724-30.099a87 87 0 0 0 7.044 15.488c8.768 15.186 21.114 26.349 33.89 32.032v.249q.6.1 1.18.26 1.162.484 2.326.91Z"></path></defs><mask id="LongHairStraight-mask1" fill="#fff"><use href="#LongHairStraight-path1"></use></mask><g id="Top/Long-Hair/Straight" mask="url('#LongHairStraight-mask1')"><g transform="translate(-1)"><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairStraight-path2" transform="translate(59 18)"></use><path id="Shadow" fill="#000" d="M192.506 99.335c4.869 1.773 9.757 2.737 14.494 2.813V92c0-20.435-8.283-38.935-21.674-52.326C198.717 53.065 207 71.565 207 92v123.608C194.525 205.237 178.49 199 161 199h-4v-18.389c17.53-8.328 30.048-25.496 31.791-45.744C194.57 134.002 199 129.02 199 123v-13a12 12 0 0 0-6.494-10.665m-2.326-.91a12 12 0 0 0-1.18-.26v-.248q.59.262 1.18.509ZM83 155.246a56.23 56.23 0 0 0 26 25.366V199h-4c-7.673 0-15.065 1.2-22 3.423z" opacity=".24"></path></g></g></g>',1),ip=[op];function sp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...ip])}const lp={render:sp},cp=t.createStaticVNode('<g id="Top"><defs><path id="ShortHairShortWaved-path2" d="M0 0h264v280H0z"></path><path id="ShortHairShortWaved-path1" d="M183.68 38.949c5.406-4.95 6.707-14.987 3.638-21.5-3.769-7.995-11.417-8.997-18.746-5.48-6.908 3.315-13.057 4.419-20.622 2.813-7.258-1.541-14.144-4.26-21.647-4.706-12.325-.733-24.3 3.839-32.7 13.053-1.603 1.758-2.894 3.768-4.115 5.805-.976 1.63-2.077 3.38-2.493 5.258-.198.894.17 3.098-.275 3.83-.48.79-2.296 1.515-3.069 2.102-1.567 1.189-2.924 2.53-4.18 4.047-2.666 3.222-4.133 6.587-5.368 10.572-4.102 13.245-4.45 28.998.854 42.004.707 1.734 2.898 5.352 4.186 1.638.255-.734-.334-3.194-.333-3.935.005-2.72 1.506-20.729 8.047-30.817 2.13-3.284 11.973-15.58 13.984-15.68 1.065 1.693 11.88 12.51 39.942 11.242 12.662-.572 22.4-6.26 24.738-8.727 1.028 5.533 12.992 13.816 14.815 17.224 5.267 9.846 6.435 30.304 8.445 30.265s3.453-5.237 3.867-6.23c3.072-7.375 3.595-16.632 3.267-24.559-.427-10.202-4.638-21.226-12.235-28.22Z"></path></defs><mask id="ShortHairShortWaved-mask2" fill="#fff"><use href="#ShortHairShortWaved-path2"></use></mask><g id="Top/Short-Hair/Short-Waved" mask="url('#ShortHairShortWaved-mask2')"><use fill="var(--avataaar-hair-color)" class="CustomColor" href="#ShortHairShortWaved-path1" transform="translate(-1)"></use></g></g>',1),dp=[cp];function up(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...dp])}const fp={render:up},mp=t.createStaticVNode('<g id="Top"><defs><path id="LongHairBob-path1" d="M0 0h264v280H0z"></path><path id="LongHairBob-path2" d="M38 79.36V111c0 22.34 13.08 41.623 32 50.611v13.135c-19.637 2.688-35.359 7.418-46.615 6.254C9.162 179.53 1.496 150.796 1 126 .383 95.164 29.319 30.795 40 18 47.923 8.509 69.695.55 94 1s46.862 5.812 55 16c12.324 15.428 37.869 74.079 38 109 .094 24.8-9.537 49.66-23 51-11.08 1.103-26.524-1.489-46-3.003v-12.386c18.92-8.988 32-28.272 32-50.611V82.988q-14.282-7.286-25.846-17.647 4.812 7.944 10.46 13.532-40.526-11.37-64.473-38.528Q58.169 65.042 38 79.36"></path></defs><mask id="LongHairBob-mask1" fill="#fff"><use href="#LongHairBob-path1"></use></mask><g id="Top/Long-Hair/Bob" mask="url('#LongHairBob-mask1')"><g transform="translate(-1)"><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairBob-path2" transform="translate(39 19)"></use></g></g></g>',1),hp=[mp];function pp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...hp])}const gp={render:pp},yp=t.createStaticVNode('<g id="Top"><defs><path id="LongHairStraight2-path1" d="M0 0h264v280H0z"></path><path id="LongHairStraight2-path2" d="M21 157.54V69.047c0-3.532.398-6.971 1.152-10.275C25.205 38.731 36.775 22.811 50 13c19.905-14.76 53.442-19.018 65.047-1.478C123.698 7.681 136.52 11.182 146 20c9.565 9.415 17.2 30.197 12.657 47.204q.158 1.898.158 3.837v21.851A12.01 12.01 0 0 0 149 83.166V83c-6.036-21.536-23.77-31.42-34.57-41.223C97.535 60.673 44.823 60.74 27 98v10c0 6.019 4.43 11.002 10.209 11.867 1.743 20.248 14.26 37.416 31.791 45.744V166c2.93 43.855-6.642 98.797-69 82 13.606-7.962 20.808-58.944 21-90.46m96 8.071c17.53-8.328 30.048-25.496 31.791-45.744a12.01 12.01 0 0 0 10.024-9.76v1.363a100 100 0 0 0 10.963 45.524l26.949 52.707c6.963 13.619 4.919 29.473-3.936 40.768C189.966 213.289 158.903 184 121 184h-4z"></path><path id="LongHairStraight2-path3" d="M65.18 77.737c2.183-1.632 15.227-2.258 17.578-3.648.734-.434 1.303-.873 1.742-1.309.439.436 1.009.875 1.742 1.31 2.351 1.389 15.395 2.015 17.578 3.647 2.21 1.654 3.824 5.448 3.647 8.414-.212 3.56-4.106 12.052-13.795 13.03-2.114-2.353-5.435-3.87-9.172-3.87s-7.058 1.517-9.172 3.87c-9.69-.978-13.583-9.47-13.795-13.03-.176-2.966 1.437-6.76 3.647-8.414m.665 17.164.017.007zm79.018-38.916c-.389-5.955-1.585-11.833-2.629-17.699-.281-1.579-1.81-12.286-2.5-12.286-.232 9.11-1.032 18.08-2.064 27.14-.309 2.708-.632 5.416-.845 8.134-.171 2.196.135 4.848-.397 6.972-.679 2.706-4.08 5.232-6.725 6.165-6.6 2.326-12.105-7.303-17.742-10.12-7.318-3.656-19.897-4.527-27.38.239-7.645-4.766-20.224-3.895-27.542-.239-5.637 2.817-11.142 12.446-17.742 10.12-2.645-.933-6.047-3.459-6.725-6.165-.532-2.124-.226-4.776-.397-6.972-.213-2.718-.536-5.426-.845-8.135C30.298 44.08 29.497 35.11 29.265 26c-.689 0-2.218 10.707-2.5 12.286-1.043 5.866-2.24 11.744-2.627 17.7-.4 6.119.077 12.181 1.332 18.177a165 165 0 0 0 2.049 8.541c.834 3.143-.32 9.262.053 12.488.707 6.104 3.582 18.008 6.811 23.259 1.561 2.538 3.39 4.123 5.433 6.168 1.967 1.97 2.788 5.021 4.91 7.118 3.956 3.908 9.72 6.234 15.64 6.806C65.677 143.05 74.506 146 84.5 146s18.823-2.95 24.135-7.457c5.919-.572 11.683-2.898 15.64-6.806 2.121-2.097 2.942-5.149 4.909-7.118 2.042-2.045 3.872-3.63 5.433-6.168 3.229-5.251 6.104-17.155 6.81-23.259.374-3.226-.78-9.345.054-12.488.75-2.828 1.45-5.676 2.05-8.54 1.254-5.997 1.73-12.06 1.332-18.179"></path></defs><mask id="LongHairStraight2-mask1" fill="#fff"><use href="#LongHairStraight2-path1"></use></mask><g id="Top/Long-Hair/Straight" mask="url('#LongHairStraight2-mask1')"><g transform="translate(-1)"><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairStraight2-path2" transform="translate(40 15)"></use><path id="Shadow" fill="#000" d="M67 113c17.823-32.335 70.535-32.393 87.43-48.792 10.778 8.49 28.462 15.059 34.533 33.66-6.071-21.444-23.755-31.308-34.533-41.09C137.535 75.672 84.823 75.74 67 113" opacity=".16"></path></g></g></g>',1),kp=[yp];function bp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...kp])}const xp={render:bp},wp=t.createStaticVNode('<g id="Top"><defs><path id="ShortHairSides-path1" d="M0 0h264v280H0z"></path><path id="ShortHairSides-path2" d="M65.18 77.737c2.183-1.632 15.227-2.258 17.578-3.648.734-.434 1.303-.873 1.742-1.309.439.436 1.009.875 1.742 1.31 2.351 1.389 15.395 2.015 17.578 3.647 2.21 1.654 3.824 5.448 3.647 8.414-.212 3.56-4.106 12.052-13.795 13.03-2.114-2.353-5.435-3.87-9.172-3.87s-7.058 1.517-9.172 3.87c-9.69-.978-13.583-9.47-13.795-13.03-.176-2.966 1.437-6.76 3.647-8.414m.665 17.164.017.007zm79.018-38.916c-.389-5.955-1.585-11.833-2.629-17.699-.281-1.579-1.81-12.286-2.5-12.286-.232 9.11-1.032 18.08-2.064 27.14-.309 2.708-.632 5.416-.845 8.134-.171 2.196.135 4.848-.397 6.972-.679 2.706-4.08 5.232-6.725 6.165-6.6 2.326-12.105-7.303-17.742-10.12-7.318-3.656-19.897-4.527-27.38.239-7.645-4.766-20.224-3.895-27.542-.239-5.637 2.817-11.142 12.446-17.742 10.12-2.645-.933-6.047-3.459-6.725-6.165-.532-2.124-.226-4.776-.397-6.972-.213-2.718-.536-5.426-.845-8.135C30.298 44.08 29.497 35.11 29.265 26c-.689 0-2.218 10.707-2.5 12.286-1.043 5.866-2.24 11.744-2.627 17.7-.4 6.119.077 12.181 1.332 18.177a165 165 0 0 0 2.049 8.541c.834 3.143-.32 9.262.053 12.488.707 6.104 3.582 18.008 6.811 23.259 1.561 2.538 3.39 4.123 5.433 6.168 1.967 1.97 2.788 5.021 4.91 7.118 3.956 3.908 9.72 6.234 15.64 6.806C65.677 143.05 74.506 146 84.5 146s18.823-2.95 24.135-7.457c5.919-.572 11.683-2.898 15.64-6.806 2.121-2.097 2.942-5.149 4.909-7.118 2.042-2.045 3.872-3.63 5.433-6.168 3.229-5.251 6.104-17.155 6.81-23.259.374-3.226-.78-9.345.054-12.488.75-2.828 1.45-5.676 2.05-8.54 1.254-5.997 1.73-12.06 1.332-18.179"></path><path id="ShortHairSides-path3" d="M6 28c-5.076.071-6-1.006-6-5C0 17.344 4.04 6.778 8 2c1.176-2.17 3.619-3.432 3 1-2.66 8.477.417 24.914-5 25m114 0c-5.417-.086-2.34-16.523-5-25-.619-4.432 1.824-3.17 3-1 3.96 4.778 8 15.344 8 21 0 3.994-.924 5.071-6 5"></path></defs><mask id="ShortHairSides-mask2" fill="#fff"><use href="#ShortHairSides-path1"></use></mask><g id="Top/Short-Hair/Sides" mask="url('#ShortHairSides-mask2')"><g transform="translate(-1)"><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#ShortHairSides-path3" transform="translate(70 74)"></use></g></g></g>',1),vp=[wp];function Ep(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...vp])}const Cp={render:Ep},Sp=t.createStaticVNode('<g id="Top"><defs><path id="LongHairBun-path2" d="M0 0h264v280H0z"></path><path id="LongHairBun-path1" d="M114.94 28.337q-1.48.334-2.903.693c-15.092 3.808-24.02 14.621-31.68 30.618-3.761 7.855-5.991 17.143-6.334 25.833-.135 3.412.325 6.934 1.245 10.22.337 1.205 2.155 5.386 2.654 2.008.167-1.125-.442-2.676-.5-3.871-.078-1.569.005-3.157.112-4.723.2-2.928.722-5.8 1.65-8.59 1.328-3.988 3.017-8.312 5.603-11.677C91.188 60.521 95.765 43.206 133 41.671s48.749 25.79 52.183 31.63c4.065 6.914 2.195 15.406 3.436 22.9.472 2.85 1.545 2.786 2.132.237.997-4.33 1.468-8.828 1.151-13.279-.718-10.048-4.405-36.453-24.593-48.153-5.443-3.154-10.87-5.319-16.192-6.723C154.177 25.31 156 21.568 156 17.5 156 7.835 145.703 0 133 0s-23 7.835-23 17.5c0 4.092 1.846 7.857 4.94 10.837"></path></defs><mask id="LongHairBun-mask2" fill="#fff"><use href="#LongHairBun-path2"></use></mask><g id="Top/Long-Hair/Bun" mask="url('#LongHairBun-mask2')"><use fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairBun-path1" transform="translate(-1)"></use></g></g>',1),Mp=[Sp];function Bp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Mp])}const Ap={render:Bp},Vp=t.createStaticVNode('<g id="Top"><defs><path id="LongHairStraightStrand-path1" d="M0 0h264v280H0z"></path><path id="LongHairStraightStrand-path2" d="M8.461 88.694C8.161 89.744 8 90.854 8 92v13c0 6.019 4.43 11.002 10.209 11.867 1.743 20.248 14.26 37.416 31.791 45.744V181h-4c-15.619 0-30.076 4.973-41.875 13.423A73.9 73.9 0 0 1 0 170V74C0 33.13 33.13 0 74 0s74 33.13 74 74v96a73.9 73.9 0 0 1-4.125 24.423C132.076 185.973 117.619 181 102 181h-4v-18.389c17.53-8.328 30.048-25.496 31.791-45.744C135.57 116.002 140 111.02 140 105V92c0-1.69-.349-3.297-.979-4.755-12.956-2.188-27.542-7.476-41.872-15.75-12.132-7.004-22.503-15.237-30.48-23.743q5.14 11.862 12.45 20.783-19.013-8.285-25.892-26.639a100 100 0 0 1-1.18 2.762c-9.84 22.1-26.456 38.024-43.586 44.036"></path><path id="LongHairStraightStrand-path3" d="M65.18 77.737c2.183-1.632 15.227-2.258 17.578-3.648.734-.434 1.303-.873 1.742-1.309.439.436 1.009.875 1.742 1.31 2.351 1.389 15.395 2.015 17.578 3.647 2.21 1.654 3.824 5.448 3.647 8.414-.212 3.56-4.106 12.052-13.795 13.03-2.114-2.353-5.435-3.87-9.172-3.87s-7.058 1.517-9.172 3.87c-9.69-.978-13.583-9.47-13.795-13.03-.176-2.966 1.437-6.76 3.647-8.414m.665 17.164.017.007zm79.018-38.916c-.389-5.955-1.585-11.833-2.629-17.699-.281-1.579-1.81-12.286-2.5-12.286-.232 9.11-1.032 18.08-2.064 27.14-.309 2.708-.632 5.416-.845 8.134-.171 2.196.135 4.848-.397 6.972-.679 2.706-4.08 5.232-6.725 6.165-6.6 2.326-12.105-7.303-17.742-10.12-7.318-3.656-19.897-4.527-27.38.239-7.645-4.766-20.224-3.895-27.542-.239-5.637 2.817-11.142 12.446-17.742 10.12-2.645-.933-6.047-3.459-6.725-6.165-.532-2.124-.226-4.776-.397-6.972-.213-2.718-.536-5.426-.845-8.135C30.298 44.08 29.497 35.11 29.265 26c-.689 0-2.218 10.707-2.5 12.286-1.043 5.866-2.24 11.744-2.627 17.7-.4 6.119.077 12.181 1.332 18.177a165 165 0 0 0 2.049 8.541c.834 3.143-.32 9.262.053 12.488.707 6.104 3.582 18.008 6.811 23.259 1.561 2.538 3.39 4.123 5.433 6.168 1.967 1.97 2.788 5.021 4.91 7.118 3.956 3.908 9.72 6.234 15.64 6.806C65.677 143.05 74.506 146 84.5 146s18.823-2.95 24.135-7.457c5.919-.572 11.683-2.898 15.64-6.806 2.121-2.097 2.942-5.149 4.909-7.118 2.042-2.045 3.872-3.63 5.433-6.168 3.229-5.251 6.104-17.155 6.81-23.259.374-3.226-.78-9.345.054-12.488.75-2.828 1.45-5.676 2.05-8.54 1.254-5.997 1.73-12.06 1.332-18.179"></path></defs><mask id="LongHairStraightStrand-mask1" fill="#fff"><use href="#LongHairStraightStrand-path1"></use></mask><g id="Top/Long-Hair/Straight-+-Strand" mask="url('#LongHairStraightStrand-mask1')"><g transform="translate(-1)"><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairStraightStrand-path2" transform="translate(59 18)"></use><path id="Shadow" fill="#000" d="M59 102.419v6.419c19.945-3.088 40.59-20.448 52.046-46.18q.615-1.38 1.18-2.762 6.008 16.029 21.27 24.378a78 78 0 0 0 4.622 6.261q-19.012-8.285-25.891-26.639a101 101 0 0 1-1.18 2.762C99.59 92.39 78.944 109.75 59 112.838zm148-1.279v9.14c-14.953-.867-33.099-6.535-50.851-16.785-10.273-5.93-19.283-12.743-26.646-19.855a99 99 0 0 1-3.833-7.888c7.976 8.506 18.347 16.74 30.479 23.743 17.752 10.25 35.898 15.918 50.851 16.786z" opacity=".16"></path></g></g></g>',1),_p=[Vp];function Np(e,a){return t.openBlock(),t.createElementBlock("svg",null,[..._p])}const Dp={render:Np},Tp=t.createStaticVNode('<g id="Top"><defs><path id="ShortHairTheCaesar-path1" d="M0 0h264v280H0z"></path><path id="ShortHairTheCaesar-path2" d="M1 64c.347 1.488 1.673 1.223 2 0-.463-1.554 3.296-28.752 13-36 3.618-2.517 23.008-4.768 42.313-4.754C77.409 23.259 96.42 25.51 100 28c9.704 7.248 13.463 34.446 13 36 .327 1.223 1.653 1.488 2 0 .72-10.298 0-63.726-57-63S.28 53.702 1 64"></path></defs><mask id="ShortHairTheCaesar-mask1" fill="#fff"><use href="#ShortHairTheCaesar-path1"></use></mask><g id="Top/Short-Hair/The-Caesar" mask="url('#ShortHairTheCaesar-mask1')"><g transform="translate(-1)"><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#ShortHairTheCaesar-path2" transform="translate(75 34)"></use></g></g></g>',1),Pp=[Tp];function Op(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Pp])}const Fp={render:Op},Lp=t.createStaticVNode('<g id="Top"><defs><path id="LongHairCurly-path1" d="M0 0h264v280H0z"></path><path id="LongHairCurly-path2" d="M48.725 89.219A12 12 0 0 0 42 100v13c0 6.019 4.43 11.002 10.209 11.867 1.743 20.248 14.26 37.416 31.791 45.744V189h-4q-2.38 0-4.721.152a72 72 0 0 1-13.689-9.103A48 48 0 0 1 48 182c-26.51 0-48-21.49-48-48 0-14.41 6.349-27.335 16.402-36.134A43.8 43.8 0 0 1 8 72c0-21.84 15.911-39.962 36.774-43.41C51.019 11.89 67.12 0 86 0a43.8 43.8 0 0 1 22 5.886A43.8 43.8 0 0 1 130 0c18.88 0 34.981 11.89 41.226 28.59C192.09 32.039 208 50.16 208 72a43.8 43.8 0 0 1-8.402 25.866C209.65 106.665 216 119.591 216 134c0 26.51-21.49 48-48 48-4.72 0-9.281-.681-13.59-1.951a72 72 0 0 1-13.689 9.103A73 73 0 0 0 136 189h-4v-18.389c17.53-8.328 30.048-25.496 31.791-45.744C169.57 124.002 174 119.02 174 113v-13a11.99 11.99 0 0 0-5.476-10.073 24 24 0 0 1-3.235-1.47q-.63-.18-1.289-.291v-.453c-8.68-5.303-17.235-16.538-22.55-30.914C131.312 58.835 119.547 60 107 60c-11.961 0-23.212-1.059-33.02-2.921C68.756 71.064 60.465 82.043 52 87.423v.743a12 12 0 0 0-3.275 1.053"></path></defs><mask id="LongHairCurly-mask1" fill="#fff"><use href="#LongHairCurly-path1"></use></mask><g id="Top/Long-Hair/Curly" mask="url('#LongHairCurly-mask1')"><g transform="translate(-1)"><path id="Shadow" fill="#000" d="M105.985 27.764C114.013 26.627 122.796 26 132 26c10.358 0 20.183.794 29 2.216C183.451 38.75 199 61.56 199 88v17.044c-11.538-.371-25.169-14.28-32.55-34.245C156.312 72.835 144.547 74 132 74c-11.961 0-23.212-1.059-33.02-2.921-7.304 19.548-20.597 33.223-31.98 33.943V88c0-26.825 16.004-49.913 38.985-60.236" opacity=".16"></path><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairCurly-path2" transform="translate(25 10)"></use></g></g></g>',1),$p=[Lp];function Rp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...$p])}const Hp={render:Rp};function zp(e,a){return t.openBlock(),t.createElementBlock("svg")}const Ip={render:zp},Gp=t.createStaticVNode('<g id="Top"><defs><path id="ShortHairTheCaesarSidePart-path1" d="M0 0h264v280H0z"></path><path id="ShortHairTheCaesarSidePart-path2" d="M82.018 24.378c-7.032-.693-15.36-1.127-23.705-1.132C39.008 23.232 19.618 25.483 16 28 6.296 35.248 2.537 62.446 3 64c-.327 1.223-1.653 1.488-2 0C.28 53.702 1 1.726 58 1s57.72 52.702 57 63c-.347 1.488-1.673 1.223-2 0 .463-1.554-3.296-28.752-13-36-1.76-1.224-7.247-2.39-14.641-3.261L89 16z"></path></defs><mask id="ShortHairTheCaesarSidePart-mask1" fill="#fff"><use href="#ShortHairTheCaesarSidePart-path1"></use></mask><g id="Top/Short-Hair/The-Caesar-+-Side-Part" mask="url('#ShortHairTheCaesarSidePart-mask1')"><g transform="translate(-1)"><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#ShortHairTheCaesarSidePart-path2" transform="translate(75 34)"></use></g></g></g>',1),jp=[Gp];function qp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...jp])}const Wp={render:qp},Yp=t.createStaticVNode('<g id="Top"><defs><path id="LongHairCurvy-path1" d="M0 0h264v280H0z"></path><path id="LongHairCurvy-path2" d="M162.831 71.618A57 57 0 0 1 163 76v38c0 22.34-13.08 41.623-32 50.611V183h4c1.524 0 2.038.047 3.539.14-14.913 27.356-18.715 50.434-1.067 64.403 1.698 1.203 2.924 1.786 3.135 1.885 2.373 1.118 4.837 2.34 7.467 2.955 4.623 1.08 9.933-.373 14.557-.953 2.112-.266 4.217-.43 6.346-.436 2.565-.009 5.211.084 7.142 1.697 1.884 1.574 1.644 7.198-3.875 9.833 4.1 1.855 9.012-2.453 10.688-5.177 1.466-2.385 2.594-4.968 3.214-7.605.772-3.283.822-6.725.218-10.014-1.258-6.848-4.176-13.432-6.163-20.122-.732-2.466-1.686-5.165-2.102-7.69-.113-.684-.247-3.215-.141-3.744.078-.393.059-.797 1.415-1.176 3.916-1.096 8.007-2.933 10.852-5.52 3.365-3.058 5.119-7.03 6.533-10.979 2.24-6.252 3.523-12.947 4.113-19.44.122-1.349.191-2.695.215-4.047.015-.817-.085-1.747.008-2.565.153-1.34-.054-.987 1.248-1.874 4.257-2.9 7.58-7.122 9.71-11.37 3.346-6.672 3.782-13.708 1.066-20.467-2.253-5.607-5.827-11.235-11.392-14.846-2.137-1.386-4.392-2.643-6.61-3.93-1.21-.7-4.048-1.615-4.906-2.517-.6-.63.355-3.792.476-4.858.528-4.648-.08-9.157-1.165-13.696-2.394-10.008-12.033-26.149-15.903-35.662-3.325-8.172-8.136-55.3-65.031-55.026C51.69.473 41.419 50.438 33.716 59.774c-8.365 10.138-16.809 29.402-11.113 47.262-5.504 6.922-18.058 17.008-21.218 27.09-1.982 6.325-1.897 13.37.644 19.507 1.437 3.471 3.496 6.618 5.911 9.64 2.117 2.646 4.468 5.15 6.518 7.837 1.237 1.622 1.568 2.02 1.102 4.018-.92 3.94-2.819 7.725-4.466 11.475-2.552 5.81-4.697 11.22-5.014 17.413-.302 5.896 1.324 22.673 18.261 32.56a63 63 0 0 0 6.042 3.11c-1.09-3.396.146-15.524 2.343-20.032.56 1.55 1.511 3.043 2.536 4.398 1.6 2.115 5.374 7.409 10.147 7.655-1.937-2.984-4.02-4.998-4.624-8.598 3.977 1.96 9.634 3.747 14.262 3.582 3.404-.12 8.424-1.82 10.953-3.943-8.372 1.327-16.321-1.433-19.518-7.329-.667-1.23-1.174-2.52-1.468-3.86-.417-1.9-1.076-4.944-.191-6.697.215-.426.566-.86.984-1.29l-.197-.235c5.694-4.787 12.84-12.404 16.665-17.97q.106-.183.21-.367h.04l.085-.126A72.2 72.2 0 0 1 79 183h4v-18.389C64.08 155.623 51 136.339 51 114V76c0-2.463.159-4.888.467-7.267 3.942-1.263 7.898-2.455 11.932-3.528 4.456-1.186 14.399-3.114 18.29-4.01l2.736-2.98 1.063 1.955c2.158-.166 14.078-1.957 14.078-1.957l1.33-3.223c1.717 1.763 2.939 2.679 2.939 2.679 2.556-.209 13.653-.458 16.285-.426 0 0 7.34.258 9.12.328l1.668-.638.548 1.077c1.454.591 10.243 3.59 11.978 4.128l2.547-.906c1.12 2.694 3.94 2.354 6.276 4.481 2.503 2.279 7.226 4.024 10.574 5.905"></path></defs><mask id="LongHairCurvy-mask1" fill="#fff"><use href="#LongHairCurvy-path1"></use></mask><g id="Top/Long-Hair/Curvy" mask="url('#LongHairCurvy-mask1')"><g transform="translate(-1)"><path id="Top-Shadow" fill="#000" d="M100.9 42.465c-9.798 6.007-18.514 13.862-24.313 22.895-2.762 4.303-5.034 8.84-7.15 13.398a136 136 0 0 0-2.961 6.931c-.587 1.47-1.487 3.056-.64 4.599.517-.302.713-.194.388.347 2.692.734 6.434-1.335 8.767-2.099 4.763-1.56 9.53-3.033 14.408-4.331 4.456-1.186 14.399-3.114 18.29-4.01l2.736-2.98 1.063 1.955c2.158-.166 14.078-1.957 14.078-1.957l1.33-3.223c1.717 1.763 2.939 2.679 2.939 2.679 2.556-.209 13.653-.458 16.285-.426 0 0 7.34.258 9.12.328l1.668-.638.548 1.077c1.454.591 10.243 3.59 11.978 4.128l2.547-.906c1.12 2.694 3.94 2.354 6.276 4.481 3.092 2.814 9.569 4.816 12.66 7.263 1.108.876 2.143 1.792 3.183 2.726 1.156 1.037.985 1.188 1.36 2.378.113.356 1.256 2.199 1.743 2.35 1.733.536-10.154-30.486-13.417-34.453-3.368-4.094-25.211-31.654-54.174-30.752" opacity=".16"></path><g id="Hair" fill="none" transform="translate(26 16)"><mask id="LongHairCurvy-mask2" fill="#fff"><use href="#LongHairCurvy-path2"></use></mask><use fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairCurvy-path2"></use><path id="Shadow" fill="#000" d="M62.68 184.462c7.075-9.707-.531-36.675-6.552-46.661q25.256-11.495 99.746 4.247-7.192 13.279-5.868 23.71-6.806 8.363-11.246 17.383l-34.871 8.606q-33.054 3.98-41.21-7.285Z" mask="url('#LongHairCurvy-mask2')" opacity=".24"></path></g><path id="Lights" fill="#FFF" d="M79.04 170.094c-.059-.201-.205-.427-.405-.665q.205.331.405.665m-22.63-49.719a88.6 88.6 0 0 0 4.456 18.002c2.062 5.721 4.42 11.46 7.813 16.69 3.161 4.876 6.924 9.425 9.956 14.362-.797-.948-2.472-2.1-3.114-2.778a50 50 0 0 1-2.984-3.458c-1.923-2.443-3.637-5-5.294-7.583-3.252-5.073-5.69-10.576-7.803-16.08-4.15-10.807-8.313-23.913-4.666-35.33-.282.735.459 2.488.575 3.297.204 1.414.386 2.837.478 4.26.185 2.883.184 5.749.583 8.618m12.445 44.666c-1.358-1.731-3.881-3.097-5.442-4.762-1.415-1.51-2.511-3.2-3.506-4.94-2.255-3.94-3.737-7.964-4.217-12.37.11.523.918 1.427 1.173 1.856a85 85 0 0 1 1.788 3.124c1.097 2.04 2.013 4.15 3.122 6.187 2.038 3.74 4.63 7.36 7.082 10.905m4.677 18.458c1.115 1.962 2.04 3.966 2.625 6.102a42 42 0 0 1 .77 3.413c.07.369.082 1.696.258 2.27-2.215-4.291-3.905-8.835-6.543-12.942-2.604-4.054-5.947-7.781-9.446-11.281-3.695-3.695-7.41-7.182-9.392-11.847-1.725-4.06-2.391-8.218-1.99-12.556.002 1.911 1.757 4.622 2.363 6.469.83 2.527 1.489 5.105 2.737 7.507 2.126 4.089 5.959 7.243 9.165 10.688 3.553 3.816 6.946 7.762 9.453 12.177m-14.303-9.32a22 22 0 0 1 2.806 3.275c.898 1.285 1.556 2.636 2.145 4.05.507 1.217.73 3.482 1.527 4.498-2.578-3.146-5.233-6.117-7.011-9.69-.607-1.222-1.548-3.023-2.243-4.495.231.593 2.253 1.86 2.776 2.362m-10.326 6.349c2.838 4.25 6.548 8.081 8.974 12.528 2.83 5.187 4.075 10.807 4.326 16.54.119 2.711.112 5.465-.253 8.168-.196 1.448-.51 2.886-.869 4.312-.136.54-.84 1.926-.977 2.77-.29-10.54 1.454-21.082-4.027-30.903-2.596-4.65-6.586-8.616-9.679-13.018-2.782-3.959-5.498-7.841-7.713-12.074 1.356 1.716 3.8 3.065 5.316 4.769 1.899 2.134 3.348 4.58 4.902 6.908m11.2 44.319c-.032.204-.033.377.014.5l-.013-.5Zm-9.543-22.353c.001.496.816 1.518 1.04 2.035.52 1.209.946 2.478 1.157 3.76.418 2.529-.13 5.14-1.067 7.561-1.9 4.907-4.874 9.253-8.613 13.3 1.335-1.748 1.867-4.589 2.806-6.538.965-2 2-3.97 2.85-6.011 1.92-4.605 1.75-9.311 1.827-14.107M41.917 221.2c.401-.548.193-3.183.405-3.872.392-1.273 1.07-2.502 1.849-3.635-.416.699.198 2.466-.005 3.373-.332 1.489-1.17 2.932-2.249 4.134m57.69-178.453a.9.9 0 0 0-.239.297zm-14.76 21.584c1.42-1.246 2.177-4.19 3.156-5.78 1.125-1.825 2.418-3.579 3.645-5.356 2.432-3.524 4.726-6.984 7.72-10.19-.622.934-1.173 3.768-1.514 4.513a34.6 34.6 0 0 1-3.221 5.605c-2.86 4.044-5.93 7.803-9.786 11.208m-.535-10.21c.75-1.327 1.894-2.448 3.18-3.414-.573.503-.831 2.575-1.225 3.275-.795 1.412-1.953 2.63-3.196 3.772.664-.582.772-2.803 1.24-3.633Zm119.194 98.006-.041.31c-.002-1.525-.68-3.2-.76-4.769-.113-2.19.202-4.315 1.082-6.392 1.74-4.101 5.003-7.207 9.164-9.638-1.145.674-2.267 3.213-3.001 4.268-1.103 1.586-2.282 3.187-3.214 4.85-1.943 3.469-2.506 7.618-3.23 11.371m-1.508-21.646a23 23 0 0 1-.989 3.626c-.474 1.279-1.093 2.523-1.783 3.728-.43.75-1.98 2.327-1.978 3.157-.083-4.898 1.728-9.335 5.172-13.257-.378.657-.283 2.03-.422 2.746m-.801 35.238c3.656-.517 7.105 1.261 9.421 3.551 1.238 1.224 2.338 2.63 3.065 4.133.547 1.13.546 2.983 1.28 3.92-1.797-2.419-4.076-4.373-6.324-6.464-1.564-1.455-4.688-5.181-7.442-5.14m-.778 10.377c-.192-.065-1.934-.558-2.337-.32.597-.267 1.33-.592 1.987-.679 4.284-.569 9.492 3.141 10.067 6.721-.478-1.226-3.025-2.24-4.176-2.85-1.823-.967-3.564-2.137-5.541-2.872m1.809 7.811c.742.182 2.32 1.176 3.047 1.165-2.929.07-5.572-.255-8.391-.914.152.041 1.759-.456 1.811-.463 1.215-.172 2.357-.076 3.533.212m-11.345 13.857c4.288-.242 9.336.384 13.431 1.417a22.3 22.3 0 0 1 5.692 2.295c1.414.814 3.93 1.932 4.876 3.137-3.74-6.452-11.85-9.803-20.16-8.14-1.107.222-2.808 1.276-3.84 1.291Zm-.96 12.433c2.688-.965 5.661-1.894 8.583-2.029 2.771-.127 5.845.29 8.41 1.173-.883-.24-2.993.332-3.92.437-1.297.147-2.596.299-3.896.418a52 52 0 0 1-4.801.222c-1.14-.002-3.32-.54-4.376-.221M179.46 227.41c.253 3.972 2.552 7.434 5.931 10.08 3.583 2.805 8.379 4.082 10.98 7.829 1.267 1.825 1.943 3.95 1.834 6.098-.056 1.106-.334 2.218-.635 3.294-.197.708-.902 1.868-.901 2.559.031-3.887.084-8.412-2.636-11.673-2.731-3.274-7.493-4.427-10.829-7.115-3.278-2.642-5.765-6.094-6.325-9.985-.452-3.144-.23-8.626 3.03-10.76-.662.39-.53 2.374-.547 2.931a74 74 0 0 0 .098 6.742m-2.453 15.262c.396.52 2.57 1.151 3.208 1.51 1.456.817 2.865 1.746 4.02 2.877 2.317 2.266 3.81 5.445 3.918 8.494 0-.72-1.646-2.457-2.109-3.073-.768-1.022-1.635-1.969-2.518-2.917-2.154-2.31-4.39-4.564-6.52-6.891Zm52.162-88.882c1.204 1.05 2.01 2.357 2.675 3.709 1.53 3.12 1.815 6.717.589 10 .203-.704-.401-2.184-.571-2.898-.373-1.563-.955-3.04-1.563-4.542-1.18-2.916-2.134-5.648-4.184-8.202.53.668 2.328 1.3 3.054 1.933M171.51 41.983c0 .332.917 1.293 1.123 1.654.517.902.924 1.849 1.064 2.855.158 1.142-.035 2.259-.381 3.369-.206.66-1.184 1.934-1.184 2.528-.16-3.498-.933-6.86-.622-10.406m7.637 6.822c.165 1.243-.24 2.644-.964 3.742.132-.31-.454-2.383-.473-2.762-.059-1.173.07-2.38.146-3.552.001.64 1.183 1.763 1.291 2.572m-60.77 1.568a35 35 0 0 1-4.15 4.243c-1.023.89-2.984 1.89-3.764 2.91 3.501-5.711 7.546-10.638 12.302-15.63-.716.92-.903 2.916-1.428 3.993-.774 1.587-1.81 3.076-2.96 4.484m5.898 2.479c.57-.336 1.104-1.993 1.538-2.55a17 17 0 0 1 2.578-2.63c-.205.22-.602 2.044-.825 2.402-.723 1.16-2 2.107-3.29 2.778Z" opacity=".6"></path></g></g></g>',1),Up=[Yp];function Xp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Up])}const Zp={render:Xp},Qp=t.createStaticVNode('<g id="Top"><defs><path id="ShortHairDreads01-path1" d="M0 0h264v280H0z"></path><path id="ShortHairDreads01-path2" d="M65.18 77.737c2.183-1.632 15.227-2.258 17.578-3.648.734-.434 1.303-.873 1.742-1.309.439.436 1.009.875 1.742 1.31 2.351 1.389 15.395 2.015 17.578 3.647 2.21 1.654 3.824 5.448 3.647 8.414-.212 3.56-4.106 12.052-13.795 13.03-2.114-2.353-5.435-3.87-9.172-3.87s-7.058 1.517-9.172 3.87c-9.69-.978-13.583-9.47-13.795-13.03-.176-2.966 1.437-6.76 3.647-8.414m.665 17.164.017.007zm79.018-38.916c-.389-5.955-1.585-11.833-2.629-17.699-.281-1.579-1.81-12.286-2.5-12.286-.232 9.11-1.032 18.08-2.064 27.14-.309 2.708-.632 5.416-.845 8.134-.171 2.196.135 4.848-.397 6.972-.679 2.706-4.08 5.232-6.725 6.165-6.6 2.326-12.105-7.303-17.742-10.12-7.318-3.656-19.897-4.527-27.38.239-7.645-4.766-20.224-3.895-27.542-.239-5.637 2.817-11.142 12.446-17.742 10.12-2.645-.933-6.047-3.459-6.725-6.165-.532-2.124-.226-4.776-.397-6.972-.213-2.718-.536-5.426-.845-8.135C30.298 44.08 29.497 35.11 29.265 26c-.689 0-2.218 10.707-2.5 12.286-1.043 5.866-2.24 11.744-2.627 17.7-.4 6.119.077 12.181 1.332 18.177a165 165 0 0 0 2.049 8.541c.834 3.143-.32 9.262.053 12.488.707 6.104 3.582 18.008 6.811 23.259 1.561 2.538 3.39 4.123 5.433 6.168 1.967 1.97 2.788 5.021 4.91 7.118 3.956 3.908 9.72 6.234 15.64 6.806C65.677 143.05 74.506 146 84.5 146s18.823-2.95 24.135-7.457c5.919-.572 11.683-2.898 15.64-6.806 2.121-2.097 2.942-5.149 4.909-7.118 2.042-2.045 3.872-3.63 5.433-6.168 3.229-5.251 6.104-17.155 6.81-23.259.374-3.226-.78-9.345.054-12.488.75-2.828 1.45-5.676 2.05-8.54 1.254-5.997 1.73-12.06 1.332-18.179"></path><path id="ShortHairDreads01-path3" d="M185.832 73.929c1.757.988 3.148 10.899 3.216 14.689.042 2.338.08 11.256-2.394 10.485-.753-.235-1.902-4.956-2.066-7.719s-1.733-12.164-4.141-16.49c-.55-.988-2.126-2.723-1.445-3.56.844-1.036 1.664-.434 2.695-.02 1.115.45 3.937 2.504 4.135 2.615m.805-2.972c-.746.962-5.841-1.74-7.966-2.913-17.845-9.86-21.31-12.995-49.425-12.586-28.116.409-47.379 13.582-48.462 14.93-.754.937-1.716 3.44-2.508 10.413-.791 6.972.22 19.477-2.646 19.462-2.438-.013-2.97-23.786-1.916-33.217.161-1.448.784-4.038.333-5.34-.394-1.138-2.322-1.135-2.014-3.03.35-2.159 2.525-1.087 3.473-2.119 1.795-1.954-.974-2.417-1.433-4.126-.682-2.542 1.29-3.197 3.067-4 1.966-.887 1.71-.108 3.306-1.846-2.131-1.563-2.902-3.691.016-4.833 1.24-.485 4.465.157 5.436-.572.253-.19.353-1.28.51-1.502 1.55-2.219 1.168-3.825 1.01-6.316-.129-2.038-.112-3.909 2.329-4.112 1.628-.136 2.952 1.194 4.411 1.586 1.619.435 1.01.752 2.279-.121 2.226-1.533.711-4.52 2.476-6.303 2.423-2.446 4.01 1.14 5.956 1.41 4.222.588 2.867-3.7 5.367-5.272 2.988-1.876 3.277 2.251 5.143 2.398 1.617.127 4.529-2.993 5.938-3.575 4.183-1.726 6.255 3.13 10.237 2.511 2.89-.45 3.67-.816 6.277.828 2.53 1.595 3.132.454 5.998.432 2.025-.016 3.265 1.676 4.959 1.853.844.088 1.653-.792 2.56-.737 3.237.197 3.442 4.383 6.014 5.536 2.35 1.053 5.112-.427 7.445-.7 5.69-.668 1.793 4.647 1.954 7.819 2.233.52 4.5-1.564 6.724-1.18 3.502.604 2.18 4.233 1.368 6.68 2.427-.044 8.76-2.737 10.332.707.81 1.776-1.078 4.147-1.047 5.952.043 2.542 1.91 4.645 2.571 7.05.892 3.247 2.163 11.95-.072 14.833"></path></defs><mask id="ShortHairDreads01-mask2" fill="#fff"><use href="#ShortHairDreads01-path1"></use></mask><g id="Top/Short-Hair/Dreads-01" mask="url('#ShortHairDreads01-mask2')"><g transform="translate(-1)"><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#ShortHairDreads01-path3" transform="translate(1)"></use></g></g></g>',1),Kp=[Qp];function Jp(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Kp])}const eg={render:Jp},tg=t.createStaticVNode('<g id="Top"><defs><path id="Turban-path1" d="M0 0h264v280H0z"></path><path id="Turban-path2" d="M156 180.611c17.53-8.328 30.048-25.496 31.791-45.744C193.57 134.002 198 129.02 198 123v-13c0-5.946-4.325-10.882-10-11.834V92c0-30.928-25.072-56-56-56S76 61.072 76 92v6.166c-5.675.952-10 5.888-10 11.834v13c0 6.019 4.43 11.002 10.209 11.867 1.743 20.248 14.26 37.416 31.791 45.744V199h-4c-39.765 0-72 32.235-72 72v9h200v-9c0-39.765-32.235-72-72-72h-4zM0 0h264v280H0z"></path><path id="Turban-path3" d="M83.972 55.817C107.404 69.414 145.115 82.111 139 138q29.066-8.46 29-46.676C167.918 44.148 115.85 0 86 0q-1.012 0-2.008.088A23 23 0 0 0 82 0C52.074 0 .08 44.148 0 91.324Q-.067 130.498 29 138c-6.138-55.889 31.51-68.586 54.972-82.183"></path></defs><mask id="Turban-mask1" fill="#fff"><use href="#Turban-path1"></use></mask><g id="Top/Accesories/Turban" mask="url('#Turban-mask1')"><g id="Turban"><path id="Band" fill="#EDECE3" d="M74.53 97.5c-1-2.41-1.53-4.92-1.53-7.5 0-18.225 26.415-33 59-33s59 14.775 59 33c0 2.58-.53 5.09-1.53 7.5C183.398 82.888 159.972 72 132 72S80.602 82.888 74.53 97.5"></path><use fill="var(--avataaar-top-color)" class="CustomColor" href="#Turban-path3" transform="translate(48 3)"></use><path id="Shadow" fill="#000" d="M48.011 96.012q.555 37.65 28.99 44.988-29.068-7.066-29-43.97 0-.51.01-1.018m104.635-65.544c.744 5.727-.52 12.421-4.646 19.668-11.153 21.43-71.439 21.868-71.666 79.544-.229-61.919 60.471-62.3 71.666-85.136 2.67-4.977 4.141-9.709 4.646-14.076" opacity=".16"></path></g></g></g>',1),ag=[tg];function ng(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...ag])}const rg={render:ng},og=t.createStaticVNode('<g id="Top"><defs><path id="LongHairDreads-path1" d="M0 0h264v280H0z"></path><path id="LongHairDreads-path2" d="M85.718 185.073A73 73 0 0 1 89 185h4v-18.389a56.22 56.22 0 0 1-26.789-26.99c-2.764-8.607-2.6-17.934-3.21-26.795-.805-11.68-.112-23.078 2.536-34.578 2.39-10.376 5.824-15.941 13.626-24.255 4.36-4.646 10.905-4.915 17.42-6.564 6.593-1.67 12.611-4.21 16.735-8.99 9.083 10.41 33.354 6.664 42.236 18.01 10.802 13.798 10.923 22.7 12.193 38.643.953 11.951-.528 33.564-.943 46.538A56.24 56.24 0 0 1 141 166.611V185h4c6.636 0 13.062.898 19.163 2.578-2.05 3.174-4.494 6.18-7.051 8.973-3.831 4.188-7.681 8.52-12 12.367-4.941 4.401-9.668 7.597-12.668 13.082-1.358 2.483-3.737 5.094-1.22 7.817 2.3 2.487 5.925 1.975 8.386.175 3.637-2.66 6.338-6.858 9.69-9.915-3.238 5.815-7.742 14.484-5.43 21.005.787 2.217 1.586 2.173 2.802 3.65q2.88.066 2.276 2.606l.54 1.451c1.456 2.594 4.243 4.41 7.78 3.188 11.56-3.994-1.775-21.961 10.953-27.302 2.278 2.83-1.086 10.779-1.177 14.256-.111 4.287.122 14.013 6.642 15.179 8.496 1.52 5.22-6.597 5.555-10.05.39-4.016 2.86-9.312 4.87-12.869-1.222 3.78-3.508 12.154 2.817 13.87 7.317 1.986 6.481-6.586 7.592-10.15.229 5.275 7.045 17.749 13.205 7.896 3.173-5.076 1.009-13.441.66-18.854 4.414 4.56 7.94-1.35 7.84-4.63 1.677 4.752 7.982 18.002 13.57 7.485 3.398-6.395-.226-14.985-2.483-21.16 5.944.52 4.75-5.236 3.864-8.095-1.307-4.222-.61-4.841-.34-9.206 8.25 4.805 7.997-8.234 7.542-11.432-1.146-8.051-7.409-15.261-12.243-22.052-3.466-4.871-9.935-13.352-8.038-19.226 1.957 2.468 6.507 2.442 8.316-.142 1.532-2.188-.091-5.796-.83-7.982-2.021-5.98-6.06-9.844-9.711-14.981-7.108-10.001-6.086-23.133-6.743-34.313-.82-13.949-3.814-27.68-16.48-37.827-6.787-5.437-15.058-9.914-21.37-15.682-1.722-1.573-2.45-3.521-4.066-5.038-1.813-1.701-2.66-1.298-4.158-3.72-2.668-4.315-5.802-8.355-12.25-8.558-4.22-.132-9.556 3.43-13.359 2.909-3.122-.427-5.094-4.879-7.656-6.373-3.966-2.312-6.734-1.414-10.972-.075-6.31 1.994-10.33 2.689-16.755.306C97.69 2.539 93.565-.846 88.402.357c-4.05.945-5.858 4.213-8.244 6.718-2.46 2.586-1.271 1.73-4.87 2.305-3.68.588-6.586 1.122-9.378 3.532-4.512 3.895-1.386 9.955-4.953 13.389-1.925 1.854-5.935 2.737-8.165 4.654-2.434 2.092-4.424 4.635-6.248 7.11-3.551 4.823-5.976 10.079-8.58 15.281-4.843 9.681-9.161 19.671-11.002 30.072-.945 5.347-2.538 10.577-3.512 15.912-.75 4.115-.43 8.622-1.896 12.617-1.74 4.74-5.899 9.096-8.152 13.757-2.988 6.183-4.994 12.115-5.63 18.771-.624 6.544 1.113 12.311 1.879 18.727.443 3.717-.324 4.139-2.88 7.647-1.967 2.7-3.96 5.373-5.225 8.378-2.361 5.615-2.23 11.077 1.879 16.013 2.82 3.388 12.299 6.933 11.523-.618-.36-3.508-4.772-5.095-3.93-9.12.584-2.787 3.425-4.715 6.874-5.577 2.436-.608 3.636-.582 4.735 2.09.996 2.42-.325 7.706-.63 10.25-.123 1.023-.305 1.92-.428 2.867-.868 6.674-1.028 12.815-4.682 18.944-2.244 3.766-6.636 9.073-1.628 12.703 3.959 2.87 10.79 1.121 13.877-1.882 3.256 4.027 2.532 8.423 1.314 12.869-.756 2.76-2.824 6.802.431 9.033 4.408 3.021 11.603-1.738 14.908-4.14 1.91 4.268 3.703 19.827 11.235 10.552 2.198-2.705 5.858-5.344 6.555-8.534 1.156-5.29.326-10.858.804-16.202 2.404 6.997 4.038 9.787 5.51 16.97.884 4.321 1.231 18.82 10.174 16.91 6.88-1.47 2.48-10.524 1.601-14.215-1.683-7.07-2.496-10.063-4.122-17.14 2.533 4.626 4.746 9.371 7.18 14.034 2.39 4.58 13.078 14.027 16.205 10.05 3.127-3.978-4.496-9.645-6.23-14.46-3.609-10.024-7.98-20.006-9.017-30.508-.499-5.049.436-9.712.846-14.703.28-3.41-.141-6.902-.812-10.34"></path></defs><mask id="LongHairDreads-mask2" fill="#fff"><use href="#LongHairDreads-path1"></use></mask><g id="Top/Long-Hair/Dreads" mask="url('#LongHairDreads-mask2')"><g transform="translate(-1)"><g id="Hair" transform="translate(16 14)"><mask id="LongHairDreads-mask1" fill="#fff"><use href="#LongHairDreads-path2"></use></mask><use fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairDreads-path2"></use><path id="Shadows" fill="#000" d="M85.718 185.073A73 73 0 0 1 89 185h4v-18.389a56.22 56.22 0 0 1-26.789-26.99 37 37 0 0 0 1.95 4.888c5.756 11.833 13.257 22.412 16.327 35.08.435 1.798.869 3.633 1.23 5.484m78.445 2.505A72 72 0 0 0 145 185h-4v-18.389a56.24 56.24 0 0 0 25.502-24.404c-.077 2.994-.01 5.972.373 8.849 1.07 8.044 4.001 15.31 2.64 23.58-.744 4.532-2.725 8.875-5.352 12.942" mask="url('#LongHairDreads-mask1')" opacity=".24"></path><path id="Highlights" fill="#FFF" d="M49.36 108.248c-.124-2.422-1.98-10.537.329-11.939 2.53-1.537 2.002 7.707 2.028 8.654.044 1.537 1.211 13.135-.927 13.084-2.132-.051-1.347-8.219-1.43-9.799m8.435 57.75c-.009 1.014-1.072.953-1.832.688-.937-.328-.363-2.484-.413-3.191-.13-1.86-1.023-7.338.34-8.873 2.726-3.069 1.916 9.948 1.905 11.376m-25.674 13.163c1.93-.054.144-37.832-2.821-37.79-2.083.03 1.361 37.827 2.821 37.79m2.232 19.355c-2.397 0-1.957 8.462-.545 9.139 2.14 1.025 3.227-9.139.545-9.139m15.237 3.539c.021 1.058-1.179 1.074-1.98.744-.908-.376-.528-3.506-.563-4.2-.114-2.188-2.017-10.672-.286-12.231 1.974-1.778 2.017.173 2.548 1.498 1.564 3.903.197 10.032.28 14.189Zm140.652-79.722c.11 1.463 1.069 11.018-.524 11.746-2.742 1.254-1.561-4.65-1.55-5.413.107-7.437-.969-14.812-1.787-22.21-.155-1.404-2.625-12.224-.816-13.12 2.707-1.342 2.303 2.245 2.458 3.41 1.129 8.468 1.628 17.078 2.22 25.587Zm-3.219 33.254c-2.532-.502-3.858 8.094-2.702 9.016 1.917 1.53 5.35-8.49 2.702-9.016m-.268 37.798c-1.139-.226-9.433 15.733-8.75 16.635 1.299 1.719 12.829-15.82 8.75-16.635m-20.422 7.374c-1.782-.803-9.334 10.75-7.406 11.619 1.748.786 9.561-10.652 7.406-11.62Zm42.092-43.312c-2.15 0-2.055 11.822-.4 12.568 1.711.77 2.942-12.568.4-12.568M178.14 48.844c-.609-.87-7.175-8.62-2.472-7.513 2.291.539 5.448 7.352 6.481 9.41.594 1.183 3.985 6.46.392 6.086-.977-.101-3.59-6.82-4.401-7.983m-23.092-15.488q-1.27.572.042 1.072 1.27-.57-.042-1.072m-84.43 8.13c-2.004 1.844-9.542 12.519-12.125 12.626-4.707.195 4.278-9.025 5.297-10.198.455-.527 2.486-3.092 3.722-3.723 1.261-.643 5.444-.859 3.107 1.295ZM43.255 69.981c-2.183-.43-5.835 10.264-4.56 11.555 1.923 1.95 7.007-11.07 4.56-11.555m24.939 119.011c.412 1.341 4.631 11.08 3.571 12.361-1.621 1.958-2.087-.817-2.617-1.967-1.178-2.555-4.238-8.846-3.746-11.536.477-2.608 2.375-.201 2.792 1.142m-8.207 22.824c-2.295 0-2.03 9.802-.663 10.385 2.116.902 3.478-10.385.663-10.385m161.805-8.37c.137.604 2.054 5.563-.663 4.845-1.562-.413-1.802-4.785-2.201-6.11-1.23-4.086-5.28-9.163-5.632-13.194-.34-3.897 1.84-2.412 3.515.889 2.236 4.407 3.913 8.87 4.981 13.57m-19.702-.495c-2.132-.01-2.235 10.773-.902 11.402 1.864.878 3.621-11.402.902-11.402m6.16-88.297c1.582-.412-3.41-13.325-5.177-13.183-2.695.217 2.776 13.803 5.178 13.183Zm-26.815 56.093q-1.27.57.043 1.071 1.27-.57-.043-1.071m-24.218 55.24c.794 0 1.121-1.223-.051-1.25-.775.006-1.184 1.25.051 1.25M58.684 170.63c.03-1.909-2.469-.51-2.453 1.101.032 3.214 2.4 1.746 2.453-1.101m-6.165-47.746c-.804 0-1.134 1.236.05 1.266.785-.006 1.198-1.266-.05-1.266m-19.132 62.51c-.078-1.941-1.7.043-1.61.046.288.007 1.67 1.417 1.61-.046M37.6 84.063c-2.368 0-2.025 5.754-.514 6.123 2.52.616 2.865-6.123.514-6.123m12.613 124.263c-2.286 0-2.44 7.814-.863 8.3 2.451.754 3.243-8.3.863-8.3m-18.756 5.606q-1.308.587.042 1.103 1.309-.585-.042-1.103m169.999 3.35c-2.32 0-2.23 9.554-.805 10.2 1.99.902 3.488-10.2.805-10.2m-23.51 8.88c-2.411-.482-3.674 7.405-2.55 8.29 1.852 1.459 5.025-7.796 2.55-8.29m-20.48 7.29c-1.998 0-1.508 3.574-.355 4.106 1.994.92 2.583-4.107.354-4.107ZM86.48 19.508c-1.672 0-12.16 4.744-8.24 6.15 2.396.859 12.497-6.15 8.24-6.15" mask="url('#LongHairDreads-mask1')" opacity=".3"></path></g></g></g></g>',1),ig=[og];function sg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...ig])}const lg={render:sg},cg=t.createStaticVNode('<g id="Top"><defs><path id="ShortHairDreads02-path1" d="M0 0h264v280H0z"></path><path id="ShortHairDreads02-path2" d="M65.18 77.737c2.183-1.632 15.227-2.258 17.578-3.648.734-.434 1.303-.873 1.742-1.309.439.436 1.009.875 1.742 1.31 2.351 1.389 15.395 2.015 17.578 3.647 2.21 1.654 3.824 5.448 3.647 8.414-.212 3.56-4.106 12.052-13.795 13.03-2.114-2.353-5.435-3.87-9.172-3.87s-7.058 1.517-9.172 3.87c-9.69-.978-13.583-9.47-13.795-13.03-.176-2.966 1.437-6.76 3.647-8.414m.665 17.164.017.007zm79.018-38.916c-.389-5.955-1.585-11.833-2.629-17.699-.281-1.579-1.81-12.286-2.5-12.286-.232 9.11-1.032 18.08-2.064 27.14-.309 2.708-.632 5.416-.845 8.134-.171 2.196.135 4.848-.397 6.972-.679 2.706-4.08 5.232-6.725 6.165-6.6 2.326-12.105-7.303-17.742-10.12-7.318-3.656-19.897-4.527-27.38.239-7.645-4.766-20.224-3.895-27.542-.239-5.637 2.817-11.142 12.446-17.742 10.12-2.645-.933-6.047-3.459-6.725-6.165-.532-2.124-.226-4.776-.397-6.972-.213-2.718-.536-5.426-.845-8.135C30.298 44.08 29.497 35.11 29.265 26c-.689 0-2.218 10.707-2.5 12.286-1.043 5.866-2.24 11.744-2.627 17.7-.4 6.119.077 12.181 1.332 18.177a165 165 0 0 0 2.049 8.541c.834 3.143-.32 9.262.053 12.488.707 6.104 3.582 18.008 6.811 23.259 1.561 2.538 3.39 4.123 5.433 6.168 1.967 1.97 2.788 5.021 4.91 7.118 3.956 3.908 9.72 6.234 15.64 6.806C65.677 143.05 74.506 146 84.5 146s18.823-2.95 24.135-7.457c5.919-.572 11.683-2.898 15.64-6.806 2.121-2.097 2.942-5.149 4.909-7.118 2.042-2.045 3.872-3.63 5.433-6.168 3.229-5.251 6.104-17.155 6.81-23.259.374-3.226-.78-9.345.054-12.488.75-2.828 1.45-5.676 2.05-8.54 1.254-5.997 1.73-12.06 1.332-18.179"></path><path id="ShortHairDreads02-path3" d="M153.503 98.874C157.9 100.654 161 104.965 161 110v13c0 5.288-3.42 9.776-8.168 11.375a55.7 55.7 0 0 1-11.076 29.29c.209.807.41 1.625.556 2.503.55 3.327-.12 6.093 1.645 9.093.457.78 1.183 1.247 1.522 2.144.533 1.415-.232 4.594 1.95 4.595 3.106 0 1.374-5.966.596-7.384-1.525-2.772-2.462-3.45-2.383-7.044 1.745 1.16 7.53 3.376 9.448 2.316 4.432-2.448-6.662-4.936-7.438-5.453 1.704-1.666 3.656-2.55 5.197-4.746 1.26-1.793 2.406-4.397 4.55-4.501 1.186-.058 4.657 2.884 5.71.866.964-1.85-1.115-2.122-1.928-2.777-1.502-1.21-1.84-.006-1.474-2.134 1.085 1.165 2.789.429 3.244-1.015.49-1.559-1.127-2.024-1.097-3.014-.012.387.834-5.115.7-4.938.86-1.135 3.908-.784 5.413-.62 2.296.248 2.164.317 3.255 2.436.882 1.715 3.198 5.178 3.707.641.121-1.085-.869-3.404-1.45-4.338-.627-1.007-2.517-1.643-2.912-2.427-.944-1.87 2.165-6.034 1.639-8.854 1.093.418 3.857 6.927 5.198 1.599.707-2.8-6.505-8.945-3.514-9.894 2.289-.726 4.612 2.225 5.25 4.044.473 1.348.26 4.238 1.068 5.353 3.036 4.203 3.41-2.74 3.157-4.572-.559-4.026-1.984-6.988-5.623-8.51 1.295-1.607-.345-2.887-1.275-3.893 1.528-1.657 11.437.104 9.208-4.327-.538-1.072-2.481-1.262-3.467-1.655-2.49-.992-4.985-3.01-6.257-5.562 1.841-.46 7.28.798 6.565-2.996-.563-2.982-5.403-2.067-7.278-1.61 1.692-1.016 4.973-.174 5.434-2.941.531-3.183-3.288-3.076-5.08-2.402-.422-3.358 5.53-5.83 7.213-8.4.568-.867 1.47-1.164.746-2.633-1.306-2.643-4.68 1.086-5.792 2.09.876-1.628 3.32-8.403 2.95-10.122-.546-2.526-2.353-2.615-3.79-.568-.93 1.33-1.19 4.703-1.68 6.427-2.04-1.537-2.143.246-2.248-2.191-.068-1.58 2.002-4.701 2.532-6.248.456-1.329 1.668-3.76.943-5.046-1.776-3.143-3.473 1.172-3.94 2.652-.789-3.411 2.214-6.057 3.103-9.431.541-2.048 1.976-7.578-.51-8.561-3.394-1.341-2.2 4.956-2.678 7-.365 1.559-.922 4.077-2.139 4.845-.176.111-2.82.343-2.948.193-1.734-2.021 3.038-6.447 3.284-8.351.223-1.73-.44-2.825-2.061-2.929-.81-.051-2.12 1.2-2.495 1.119-1.48-.322.447-7.089.587-8.967.15-2.003-.094-7.172-3.483-4.785.227-2.697.364-5.236.734-7.891.195-1.4 1.398-2.645-.374-3.767-2.156-1.365-3.35 1.492-3.842 3.168-.846 2.885.9 7.375-3.158 7.466-4.665.106-1.444-4.73-1.215-7.868.128-1.74-1.012-6.421-3.262-3.263-.896 1.259-.587 5.694-1.084 7.183-1.106-.493.733-4.515-.23-5.564-2.06-2.247-3.788 1.026-5.099 1.692-.086-1.445-.187-2.891-.248-4.338-.093-2.2 1.255-6.83-.113-8.347-2.337-2.59-3.823.431-4.506 2.523-.613 1.884-.697 3.744-3.233 4 .208-2.717-2.258-8.436-1.035-10.727.553-1.035 1.679-.301 2.179-1.46.821-1.902-.524-2.71-1.986-2.771-6.792-.286-1.562 9.134-3.969 11.491-1.099-1.04.072-2.113-1.065-3.596-1.223-1.595-3.173-1.46-4.918-.738-.056-1.613 2.364-12.92-3.08-7.817-1.352 1.271-.974 3.393-1.693 4.886-.696 1.445-2.39 3.598-3.341 4.771-.51-2.067.272-4.63.82-6.666.38-1.415 2.931-5.805 2.387-7.244-1.58-4.167-6.323 2.72-7.572 3.832-1.582 1.41-7.88 6.045-9.901 4.64-.701-.487-.07-2.29-1.027-3.128-.47-.41-2.477-.6-3.05-.548.358-1.494-.346-3.427-2.055-2.91-2.149.65-1.219 3.838-2.58 5.002-2.53 2.164-5.535-2.112-8.245-1.992.414-1.755 3.485-8.062-1.399-6.144-1.246.49-2.13 3.351-2.44 4.54-.792 3.036-.222 3.593-3.509 4.45.257-1.76-.2-3.948.649-5.521.696-1.289 4.305-4.645.462-5.063-4.74-.516-4.274 7.672-4.855 10.44-4.206-2.549-6.974 1.098-9.48 4.252.447-1.419 1.553-15.557-2.965-11.237-1.292 1.237.138 3.066.05 4.478-.078 1.28-.5 2.422-.995 3.618-.796 1.921-1.72 3.887-2.974 5.524-1.573 2.059-1.015 2.22-2.82.823-2.425-1.873-3.577-6.624-3.457-9.525.09-2.16 1.196-6.548-2.384-5.531-3.507.996-1.649 7.974-1.296 10.453.381 2.687.635 5.436.183 8.173-2.984-3.05-3.42 3.302-4.017 4.385-.98 1.777-2.868 2.647-4.335 3.86-.8-2.794 2.405-5.157 1.77-7.38-1.194-4.165-4.571 1.716-5.313 2.87-.619.963-2.635 6.442-3.365 6.933-1.023.69-7.605-2.527-8.27-3.14-1.223-1.125-.778-4.272-2.316-4.99-4.72-2.197-1.932 5.735-1.005 7.375 2.419 4.284 3.516 9.456 2.949 14.504-.858-.302-1.915-1.312-2.468-2.077-1.076-1.49-.685-3.865-1.808-4.987-3.288-3.28-3.673 2.878-3.406 4.791.5 3.588 2.291 4.75 3.778 7.734 1.368 2.75-.445 6.069-.828 9.125-3.429-3.3-18.195-.543-14.396 4.502 1.978 2.633 4.318-2.377 6.598-2.25 4.083.225 6.235 5.295 5.967 8.846-.497-1.898-2.422-3.761-3.746-1.444-.897 1.573.635 4.26 1.374 5.823-.906-.444-5.372-2.52-6.246-2.161-3.44 1.414 1.3 4.151 2.537 4.698 4.224 1.868 6.887 3.92 8.2 8.992-2.367-.757-1.955-1.878-3.552-3.043-1.466-1.07-1.74-.518-3.09-.868-2.362-.611-5.441-1.427-8.11-.318-1.97.819-5.287 3.31-5.906 5.65-.757 2.874.844 3.606 2.904 2.143 2.45-1.739 2.897-5.105 6.583-4.96 1.769.068 3.52.995 4.64 2.325.835.993 1.323 2.43 2.12 3.495.703.94 2.564 2.259 2.957 3.254 1.418 3.595-1.276 6.795-3.083 9.314-.419-.554-3.477-1.758-4.11-1.878-2.94-.561-4.037.798-2.199 3.512.58.856 1.798 1.216 2.436 1.994.711.87 1.112 2.2 1.818 3.144 1.393 1.863 3.115 2.822 4.778 4.322-.613.41-.546-.624-1.102-.41-.404.156-1.107-.155-1.617.014-.828.275-.718 1.717-1.248 1.929-3.299 1.314-6.627-3.615-9.586-3.775-1.614-.088-2.975.994-2.2 3.022.538 1.412 2.87 2.178 4.036 2.767 3.246 1.644 6.478 2.868 9.948 1.607 2.797 2.438 6.159 3.64 9.674 3.675-2.011.998-4 2.235-4.702 4.721-1.189-1.23-4.108-6.952-5.633-2.462-1.045 3.087 3.723 6.871 5.92 8.262-2.555.755-4.677.907-7.277.607-1.357-.156-4.337-1.974-3.238 1.748 1.182 4.016 8.24 2.21 10.48 1.516.083-1.198-10.77 12.108-3.158 9.489 2.176-.748 2.385-5 5.418-5.373 3.503-.43 3.855 3.077 5.882 5.646 1.01 1.282 5.67 4.165 5.449 5.265-.191.952-2.75 1.496-3.293 2.828-.633 1.55-.347 2.746.532 4.078 1.538 2.333 4.36 2.691 6.592 3.604 3.164 1.295 4.31 2.867 5.73 6.217-2.502.12-9.62 7.36-5.258 8.648 1.625.48 1.372-.966 2.049-1.765l.821-1.545q.687-1.797 1.52-.22c.123-.031 1.61.388 1.947.409 1.708.105 2.85-1.192 4.266-1.893 1.023-.506 2.024-.418 2.795-1.586-.089.135.554-2.51.565-2.536.276-.637.985-.547 1.31-1.234-8.749-9.085-14.457-21.119-15.489-34.464C36.42 132.776 33 128.288 33 123v-13c0-5.035 3.1-9.345 7.497-11.126.531.374 1.27 0 1.503-.842-.463-1.506 3.296-27.854 13-34.876 3.618-2.438 23.008-2.619 42.313-2.606 19.096.014 38.108.195 41.687 2.606 9.704 7.022 13.463 33.37 13 34.876.233.843.972 1.216 1.503.842"></path></defs><mask id="ShortHairDreads02-mask2" fill="#fff"><use href="#ShortHairDreads02-path1"></use></mask><g id="Top/Short-Hair/Dreads-02" mask="url('#ShortHairDreads02-mask2')"><g transform="translate(-1)"><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#ShortHairDreads02-path3" transform="translate(36)"></use></g></g></g>',1),dg=[cg];function ug(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...dg])}const fg={render:ug},mg=t.createStaticVNode('<g id="Top"><defs><path id="WinterHat1-path3" d="M0 0h264v280H0z"></path><path id="WinterHat1-path1" d="M120 54H20v101c0 5.523-4.477 10-10 10s-10-4.477-10-10V44C0 19.7 19.7 0 44 0h52c24.3 0 44 19.7 44 44v111c0 5.523-4.477 10-10 10s-10-4.477-10-10z"></path><rect id="WinterHat1-path2" width="118" height="36" x="74" y="50" rx="8"></rect></defs><g id="Top/Accessories/Winter-Hat-1" transform="translate(-1)"><g id="hat" transform="translate(63 20)"><path id="inside" fill="#F4F4F4" d="M1 48h22.671v105.664c0 6.26-5.075 11.336-11.335 11.336S1 159.925 1 153.664zm115.329 0H139v105.664c0 6.26-5.075 11.336-11.336 11.336-6.26 0-11.335-5.075-11.335-11.336z"></path><use fill="var(--avataaar-top-color)" class="CustomColor" href="#WinterHat1-path1"></use></g><g id="hat-front"><use filter="url('#WinterHat1-path2')" href="#WinterHat1-path2"></use><use fill="#F4F4F4" href="#WinterHat1-path2"></use></g></g></g>',1),hg=[mg];function pg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...hg])}const gg={render:pg},yg=t.createStaticVNode('<g id="Top"><defs><filter id="filter5" width="107.7%" height="126.7%" x="-3.8%" y="-6.7%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" result="shadowMatrixOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"></feColorMatrix><feMerge><feMergeNode in="shadowMatrixOuter1"></feMergeNode><feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter><filter id="filter6" width="113.3%" height="113.8%" x="-6.7%" y="-3.4%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" result="shadowMatrixOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"></feColorMatrix><feMerge><feMergeNode in="shadowMatrixOuter1"></feMergeNode><feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter><filter id="filter7" width="113.3%" height="113.8%" x="-6.7%" y="-3.4%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" result="shadowMatrixOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"></feColorMatrix><feMerge><feMergeNode in="shadowMatrixOuter1"></feMergeNode><feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter><filter id="filter1" width="107.7%" height="115.4%" x="-3.8%" y="-3.8%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" result="shadowMatrixOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"></feColorMatrix><feMerge><feMergeNode in="shadowMatrixOuter1"></feMergeNode><feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter><filter id="filter2" width="105%" height="110%" x="-2.5%" y="-2.5%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" result="shadowMatrixOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"></feColorMatrix><feMerge><feMergeNode in="shadowMatrixOuter1"></feMergeNode><feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter><filter id="filter3" width="105.4%" height="110.8%" x="-2.7%" y="-2.7%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" result="shadowMatrixOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"></feColorMatrix><feMerge><feMergeNode in="shadowMatrixOuter1"></feMergeNode><feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter><filter id="filter4" width="103.6%" height="107.4%" x="-1.8%" y="-1.9%" filterUnits="objectBoundingBox"><feOffset dy="2" in="SourceAlpha" result="shadowOffsetOuter1"></feOffset><feColorMatrix in="shadowOffsetOuter1" result="shadowMatrixOuter1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"></feColorMatrix><feMerge><feMergeNode in="shadowMatrixOuter1"></feMergeNode><feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter><path id="LongHairFrida-path2" d="M0 0h264v280H0z"></path><path id="LongHairFrida-path1" d="M65.18 77.737c2.183-1.632 15.227-2.258 17.578-3.648.734-.434 1.303-.873 1.742-1.309.439.436 1.009.875 1.742 1.31 2.351 1.389 15.395 2.015 17.578 3.647 2.21 1.654 3.824 5.448 3.647 8.414-.212 3.56-4.106 12.052-13.795 13.03-2.114-2.353-5.435-3.87-9.172-3.87s-7.058 1.517-9.172 3.87c-9.69-.978-13.583-9.47-13.795-13.03-.176-2.966 1.437-6.76 3.647-8.414m.665 17.164.017.007zm79.018-38.916c-.389-5.955-1.585-11.833-2.629-17.699-.281-1.579-1.81-12.286-2.5-12.286-.232 9.11-1.032 18.08-2.064 27.14-.309 2.708-.632 5.416-.845 8.134-.171 2.196.135 4.848-.397 6.972-.679 2.706-4.08 5.232-6.725 6.165-6.6 2.326-12.105-7.303-17.742-10.12-7.318-3.656-19.897-4.527-27.38.239-7.645-4.766-20.224-3.895-27.542-.239-5.637 2.817-11.142 12.446-17.742 10.12-2.645-.933-6.047-3.459-6.725-6.165-.532-2.124-.226-4.776-.397-6.972-.213-2.718-.536-5.426-.845-8.135C30.298 44.08 29.497 35.11 29.265 26c-.689 0-2.218 10.707-2.5 12.286-1.043 5.866-2.24 11.744-2.627 17.7-.4 6.119.077 12.181 1.332 18.177a165 165 0 0 0 2.049 8.541c.834 3.143-.32 9.262.053 12.488.707 6.104 3.582 18.008 6.811 23.259 1.561 2.538 3.39 4.123 5.433 6.168 1.967 1.97 2.788 5.021 4.91 7.118 3.956 3.908 9.72 6.234 15.64 6.806C65.677 143.05 74.506 146 84.5 146s18.823-2.95 24.135-7.457c5.919-.572 11.683-2.898 15.64-6.806 2.121-2.097 2.942-5.149 4.909-7.118 2.042-2.045 3.872-3.63 5.433-6.168 3.229-5.251 6.104-17.155 6.81-23.259.374-3.226-.78-9.345.054-12.488.75-2.828 1.45-5.676 2.05-8.54 1.254-5.997 1.73-12.06 1.332-18.179"></path></defs><mask id="LongHairFrida-mask1" fill="#fff"><use href="#LongHairFrida-path2"></use></mask><g id="Top/Long-Hair/Frida" mask="url('#LongHairFrida-mask1')"><g transform="translate(-1)"><path fill="var(--avataaar-hair-color)" d="M189 97.937v.229a12.01 12.01 0 0 1 9.893 10.227A16.44 16.44 0 0 0 203 97.5c0-2.13-.404-4.166-1.138-6.035A16.45 16.45 0 0 0 207 79.5c0-5.836-3.03-10.964-7.602-13.898A16.4 16.4 0 0 0 201 58.5c0-7.635-5.185-14.058-12.227-15.941q.226-1.499.227-3.059c0-11.322-9.178-20.5-20.5-20.5-2.63 0-5.143.495-7.453 1.397C157.317 15.306 151.295 12 144.5 12c-4.262 0-8.22 1.3-11.5 3.527A20.4 20.4 0 0 0 121.5 12c-6.795 0-12.817 3.306-16.547 8.397A20.5 20.5 0 0 0 97.5 19C86.178 19 77 28.178 77 39.5q.001 1.56.227 3.059C70.185 44.442 65 50.865 65 58.5c0 2.192.427 4.284 1.203 6.197C60.75 67.39 57 73.007 57 79.5c0 5.438 2.63 10.261 6.689 13.267A16.5 16.5 0 0 0 63 97.5c0 4.175 1.55 7.987 4.107 10.893A12.01 12.01 0 0 1 77 98.166v-.23l.083.064c2.903-47.147 48.47-30.258 55.917-56.664 7.447 26.406 53.014 9.517 55.917 56.664zm-80 82.674v4.2a16.6 16.6 0 0 1-2.5.189c-6.82 0-12.675-4.139-15.188-10.042C82.754 174.348 76 167.213 76 158.5c0-1.471.192-2.897.554-4.254C69.858 152.144 65 145.889 65 138.5c0-3.744 1.247-7.198 3.35-9.967a12.01 12.01 0 0 0 8.859 6.334c1.743 20.248 14.26 37.416 31.791 45.744m48 0v4.2q1.224.188 2.5.189c6.82 0 12.675-4.139 15.188-10.042 8.558-.61 15.312-7.745 15.312-16.458 0-1.471-.192-2.897-.554-4.254C196.142 152.144 201 145.889 201 138.5c0-3.744-1.247-7.198-3.35-9.967a12.01 12.01 0 0 1-8.859 6.334c-1.743 20.248-14.26 37.416-31.791 45.744" class="CustomColor"></path><g id="Ornamentos" transform="translate(67)"><g id="hoja" filter="url('#filter5')" opacity=".9" transform="scale(1 -1)rotate(-20 -137.666 -331.914)"><path id="leaf" fill="#5DD362" d="M3.611 10S1.95 0 13 0c7.222 0 12.278 5.714 12.278 5.714s-5.417 8.572-13.722 8.572C5.056 14.286 3.61 10 3.61 10Z"></path><path id="leaf" fill="#42BC53" d="M25.278 5.714s-5.417 8.572-13.722 8.572c-4.334 0-6.428-1.929-7.367-3.215-2.095 1.786-2.817 3.429-2.817 3.5-.072.286-.36.429-.65.429-.072 0-.216 0-.289-.071-.36-.143-.505-.572-.36-.929.071-.214 1.877-4.143 7.366-6.714 7.944-4.143 17.839-1.572 17.839-1.572"></path></g><g id="hoja" filter="url('#filter6')" transform="rotate(60 44.13 92.434)"><path id="leaf" fill="#5DD362" d="M15 12C15 5.9 9 0 9 0S1.7 4.3 1 13s5.8 10.7 5.8 10.7S15 20.8 15 12"></path><path id="leaf" fill="#42BC53" d="M8 29c.1 0 .2 0 .3-.1.5-.2.8-.8.6-1.3-.5-1.5-.9-2.9-1.1-4.4C10 22.2 15 18.9 15 12 15 5.9 9 0 9 0s-.4 1.1-1 3c-.2.5-5.2 13.6-.9 25.3.1.4.5.7.9.7"></path></g><g id="hoja" filter="url('#filter7')" transform="rotate(-120 31.465 30.827)"><path id="leaf" fill="#5DD362" d="M15 12C15 5.9 9 0 9 0S1.7 4.3 1 13s5.8 10.7 5.8 10.7S15 20.8 15 12"></path><path id="leaf" fill="#42BC53" d="M8 29c.1 0 .2 0 .3-.1.5-.2.8-.8.6-1.3-.5-1.5-.9-2.9-1.1-4.4C10 22.2 15 18.9 15 12 15 5.9 9 0 9 0s-.4 1.1-1 3c-.2.5-5.2 13.6-.9 25.3.1.4.5.7.9.7"></path></g><g id="Flor" filter="url('#filter1')" transform="matrix(-1 0 0 1 26 29)"><path fill="#4ACAD3" d="M24.424 20.956a5.17 5.17 0 0 0 .997-3.853 5.17 5.17 0 0 0-2.02-3.43c-.299-.225-.693-.41-1.141-.567.453-.141.854-.313 1.16-.527a5.206 5.206 0 0 0 1.277-7.243 5.206 5.206 0 0 0-7.242-1.277c-.306.215-.604.533-.893.911.006-.475-.033-.909-.143-1.267a5.16 5.16 0 0 0-2.532-3.07A5.17 5.17 0 0 0 9.926.25a5.207 5.207 0 0 0-3.453 6.493c.11.356.314.735.582 1.124-.448-.151-.869-.243-1.241-.25a5.206 5.206 0 0 0-5.29 5.11 5.18 5.18 0 0 0 .937 3.066 5.2 5.2 0 0 0 4.171 2.223c.373.006.796-.071 1.25-.206-.283.38-.5.75-.621 1.103a5.2 5.2 0 0 0 .662 4.68 5.17 5.17 0 0 0 2.561 1.93 5.206 5.206 0 0 0 6.61-3.225c.12-.352.178-.779.19-1.252.273.386.56.708.857.932a5.17 5.17 0 0 0 3.853.997 5.16 5.16 0 0 0 3.43-2.02Z"></path><path fill="#FFF" d="M11.178 8.64a1.444 1.444 0 1 1 2.763-.845c.233.763-.232 4.182-.232 4.182s-2.298-2.574-2.53-3.337Zm-2.242 5.797a1.444 1.444 0 1 1 .05-2.888c.798.014 3.905 1.513 3.905 1.513s-3.158 1.389-3.955 1.375m6.057-2.018s1.738-2.98 2.392-3.438a1.444 1.444 0 1 1 1.657 2.366c-.654.458-4.049 1.072-4.049 1.072m-3.073 6.838a1.444 1.444 0 0 1-.895-1.836c.26-.755 2.646-3.246 2.646-3.246s.345 3.432.086 4.187a1.445 1.445 0 0 1-1.837.895m5.32-1.96c-.638-.48-2.27-3.52-2.27-3.52s3.37.732 4.008 1.212a1.444 1.444 0 1 1-1.738 2.307Z"></path></g><g id="Flor" filter="url('#filter2')" transform="translate(20 16)"><path fill="#FDB599" d="m30.526 33.098.258-2.314 2.314-.26c2.847-.319 5.11-2.116 6.054-4.81 1.066-3.042.065-6.359-2.547-8.281l-1.874-1.38.932-2.134c1.229-2.806.645-5.895-1.52-8.061-2.167-2.166-5.256-2.75-8.063-1.522l-2.133.933-1.38-1.875C20.644.786 17.327-.218 14.284.848c-2.692.943-4.49 3.207-4.809 6.054l-.26 2.313-2.313.26c-2.847.319-5.11 2.117-6.054 4.81-.938 2.676-.298 5.56 1.669 7.528a8 8 0 0 0 .877.753l1.875 1.38-.934 2.134c-1.226 2.807-.643 5.896 1.523 8.062s5.255 2.749 8.062 1.523l2.134-.934 1.38 1.875c1.917 2.61 5.24 3.612 8.283 2.547 2.693-.945 4.49-3.208 4.809-6.055"></path><path fill="#FFF" d="M22.882 25.19a1.44 1.44 0 0 1-2.782.746C19.894 25.17 20 20 20 20s-2.492 4.529-3.055 5.091a1.44 1.44 0 0 1-2.036-2.036C15.47 22.492 20 20 20 20s-5.168.106-5.936-.1a1.44 1.44 0 0 1 .745-2.782C15.577 17.324 20 20 20 20s-2.676-4.423-2.882-5.19a1.44 1.44 0 0 1 2.782-.746c.206.768.1 5.936.1 5.936s2.492-4.529 3.055-5.091a1.44 1.44 0 0 1 2.036 2.036C24.53 17.508 20 20 20 20s5.169-.106 5.936.1a1.44 1.44 0 0 1-.745 2.782C24.423 22.676 20 20 20 20s2.675 4.422 2.882 5.19"></path></g><g id="Flor" filter="url('#filter3')" transform="translate(89 26)"><path fill="#F7D30C" d="M34.758 29.822a7.36 7.36 0 0 0 1.418-5.483 7.35 7.35 0 0 0-2.874-4.88c-.426-.321-.987-.584-1.625-.808.645-.201 1.216-.445 1.652-.75 3.342-2.34 4.158-6.964 1.817-10.307-2.34-3.342-6.964-4.157-10.306-1.817-.436.306-.86.758-1.27 1.296.008-.676-.048-1.294-.204-1.803A7.35 7.35 0 0 0 19.763.9a7.36 7.36 0 0 0-5.638-.543C10.223 1.55 8.019 5.695 9.21 9.597c.156.507.447 1.046.83 1.6-.638-.216-1.237-.346-1.768-.355-4.08-.071-7.456 3.19-7.528 7.27a7.37 7.37 0 0 0 1.334 4.363 7.4 7.4 0 0 0 5.936 3.164c.53.01 1.133-.1 1.777-.293-.4.54-.71 1.069-.883 1.57a7.4 7.4 0 0 0 .943 6.66 7.36 7.36 0 0 0 3.645 2.746c3.858 1.329 8.077-.73 9.405-4.588.173-.502.255-1.109.271-1.782.39.549.797 1.007 1.22 1.326a7.35 7.35 0 0 0 5.484 1.418 7.35 7.35 0 0 0 4.88-2.874Z"></path><path fill="#FFF" d="M15.908 12.295a2.055 2.055 0 1 1 3.93-1.202c.332 1.086-.33 5.95-.33 5.95s-3.269-3.662-3.6-4.748m-3.192 8.25a2.055 2.055 0 1 1 .072-4.11c1.135.02 5.558 2.153 5.558 2.153s-4.495 1.977-5.63 1.957m8.62-2.872s2.474-4.241 3.404-4.892a2.055 2.055 0 1 1 2.358 3.367c-.93.651-5.762 1.525-5.762 1.525m-4.373 9.731a2.055 2.055 0 0 1-1.274-2.613c.37-1.073 3.765-4.62 3.765-4.62s.492 4.886.123 5.96a2.056 2.056 0 0 1-2.614 1.273m7.57-2.79c-.907-.683-3.23-5.008-3.23-5.008s4.797 1.042 5.704 1.725a2.055 2.055 0 1 1-2.474 3.283"></path></g><g id="Flor" filter="url('#filter4')" transform="translate(48)"><path fill="#FF7398" d="M54.138 31.546c1.825-6.983-5.994-12.414-8.953-14.184.514-2.934 1.672-12.561-4.468-16.116C34.612-2.288 26.924 3.45 24.6 5.394q-.3-.189-.703-.423C20.83 3.196 13.13-.381 7.85 4.736 2.205 10.204 5.537 18.74 6.805 21.434c-2.16 2.01-8.384 8.592-5.818 15.59.706 1.929 2.011 3.456 3.882 4.538 4.03 2.334 9.607 1.958 11.723 1.707.993 1.88 3.83 6.712 7.888 9.061 1.67.967 3.375 1.413 5.07 1.325 6.905-.358 9.916-9.995 10.67-12.912 2.861-.396 12.086-2.199 13.918-9.197"></path><path fill="#FFF" d="M27.764 25.603s3.685 8.188.354 8.71c-3.334.521-1.46-8.591-1.46-8.591s-7.112 6.007-8.15 3.028c-1.04-2.979 7.7-4.048 7.7-4.048s-7.987-4.692-5.393-6.836 6.216 6.092 6.216 6.092 1.945-8.92 4.82-7.254c2.876 1.664-3.857 7.811-3.857 7.811s8.877-.99 8.37 2.352c-.505 3.342-8.6-1.264-8.6-1.264"></path></g></g><g id="Arete" transform="translate(182 129)"><rect id="Cadenita" width="2" height="39" x="9" y="0" fill="#E6E6E6" rx="1"></rect><path id="Rayo" fill="#9177FF" d="M20 37h-9.43L17 20H6L0 41h8.636L4 60z"></path></g></g></g></g>',1),kg=[yg];function bg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...kg])}const xg={render:bg},wg=t.createStaticVNode('<g id="Top"><defs><path id="ShortHairFrizzle-path2" d="M0 0h264v280H0z"></path><path id="ShortHairFrizzle-path1" d="M90.91 55.361h84.176c18.247-10.527 21.673-29.21 8.764-45.435-3.214-4.04-8.764 11.75-25.821 12.724s-15.42-6.3-33.571-3.576c-18.152 2.724-16.146 17.304-27.99 20.803q-11.846 3.499-5.558 15.484"></path></defs><mask id="ShortHairFrizzle-mask2" fill="#fff"><use href="#ShortHairFrizzle-path2"></use></mask><g id="Top/Short-Hair/Frizzle" mask="url('#ShortHairFrizzle-mask2')"><use fill="var(--avataaar-hair-color)" class="CustomColor" href="#ShortHairFrizzle-path1" transform="translate(-1)"></use></g></g>',1),vg=[wg];function Eg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...vg])}const Cg={render:Eg},Sg=t.createStaticVNode('<g id="Top"><defs><path id="WinterHat2-path3" d="M0 0h264v280H0z"></path><path id="WinterHat2-path1" d="M72 21c54.773 0 72 47.803 72 82.045v73.865c0 19.495-22.633 19.537-22.633-10.921V86.535c0-6.075-3.732-9-9.816-9H32.45c-6.084 0-9.816 2.925-9.816 9v79.454C22.633 196.447 0 196.405 0 176.91v-73.865C0 68.803 17.227 21 72 21"></path><path id="WinterHat2-path2" d="M101.428 98.169c-2.513 2.294-5.19 3.325-8.575 2.604-.582-.124-2.957-4.538-8.853-4.538-5.897 0-8.27 4.414-8.853 4.538-3.385.721-6.062-.31-8.576-2.604-4.725-4.313-8.654-10.26-6.293-16.75 1.23-3.382 3.232-7.095 6.873-8.173 3.887-1.15 9.346-.002 13.264-.788 1.27-.254 2.656-.707 3.585-1.458.929.75 2.316 1.204 3.585 1.458 3.918.786 9.376-.362 13.264.788 3.64 1.078 5.642 4.79 6.873 8.173 2.361 6.49-1.568 12.437-6.294 16.75M140.081 26c-3.41 8.4-2.093 18.858-2.724 27.676-.513 7.167-2.02 17.91-8.384 22.539-3.255 2.367-9.179 6.345-13.431 5.235-2.927-.764-3.24-9.16-7.087-12.303-4.363-3.565-9.812-5.131-15.306-4.89-2.37.105-7.165.08-9.15 1.903-1.983-1.823-6.777-1.798-9.148-1.902-5.494-.242-10.943 1.324-15.306 4.889-3.847 3.143-4.16 11.54-7.087 12.303-4.252 1.11-10.176-2.868-13.431-5.235-6.365-4.63-7.87-15.372-8.384-22.54-.63-8.817.686-19.275-2.724-27.675-1.66 0-.565 16.129-.565 16.129v20.356c.032 15.288 9.581 38.17 30.754 46.908C63.286 111.53 75.015 115 84 115s20.714-3.14 25.892-5.277c21.173-8.737 30.722-31.95 30.754-47.238V42.13S141.74 26 140.081 26"></path></defs><g id="Top/Accessories/Winter-Hat-2" transform="translate(-1)"><g id="hat" transform="translate(61)"><g id="string" fill="#F4F4F4" transform="translate(0 176)"><circle id="puff" cx="9" cy="65" r="9"></circle><path d="M8 0h2v58H8z"></path></g><g id="string" fill="#F4F4F4" transform="translate(126 168)"><circle id="puff" cx="9" cy="65" r="9"></circle><path d="M8 0h2v58H8z"></path></g><circle id="puff" cx="72" cy="20" r="20" fill="#F4F4F4"></circle><mask id="WinterHat2-mask2" fill="#fff"><use href="#WinterHat2-path1"></use></mask><use fill="var(--avataaar-top-color)" class="CustomColor" href="#WinterHat2-path1"></use><path id="color-dark" fill="#000" d="M-1 21h146v46H-1z" mask="url('#WinterHat2-mask2')" opacity=".2"></path><g id="light-triangles" fill="#FFF" opacity=".5" transform="translate(29 32)"><path id="Triangle" d="M12.5 0 25 18H0z" transform="rotate(180 12.5 9)"></path><path id="Triangle" d="M43.5 0 56 18H31z" transform="rotate(180 43.5 9)"></path><path id="Triangle" d="M74.5 0 87 18H62z" transform="rotate(180 74.5 9)"></path></g><g id="dark-triangles" fill="#000" opacity=".5" transform="translate(13 41)"><path id="Triangle" d="M12.5 0 25 18H0zm31 0L56 18H31zm31 0L87 18H62zm31 0L118 18H93z"></path></g></g></g></g>',1),Mg=[Sg];function Bg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Mg])}const Ag={render:Bg},Vg=t.createStaticVNode('<g id="Top"><defs><path id="LongHairFro-path1" d="M0 0h264v280H0z"></path><path id="LongHairFro-path2" d="M180.666 104.495A11.95 11.95 0 0 1 182 110v13c0 6.019-4.43 11.002-10.209 11.867-1.743 20.248-14.26 37.416-31.791 45.744v9.443c3.832 1.896 8.059 2.946 12.5 2.946 7.621 0 14.61-3.093 20.059-8.242q2.193.241 4.441.242c18.39 0 34.26-12.316 41.622-30.116C224.9 149.814 229 141.454 229 132a32 32 0 0 0-.426-5.223C230.786 120.339 232 113.33 232 106c0-12.866-3.739-24.736-10.046-34.275Q222 70.869 222 70c0-10.957-5.507-20.443-13.53-25.043-7.31-17.588-22.73-29.966-40.773-30.9C163.274 9.075 157.201 6 150.5 6q-1.427.001-2.812.182C137.91 2.196 127.211 0 116 0S94.09 2.196 84.312 6.182A22 22 0 0 0 81.5 6c-6.701 0-12.774 3.075-17.197 8.057-18.044.934-33.463 13.312-40.774 30.9C15.507 49.557 10 59.043 10 70q0 .87.046 1.725C3.739 81.265 0 93.135 0 106c0 7.331 1.214 14.34 3.426 20.777A32 32 0 0 0 3 132c0 9.454 4.1 17.814 10.378 22.884C20.74 172.684 36.61 185 55 185q2.248-.001 4.441-.242C64.889 189.907 71.879 193 79.5 193c4.441 0 8.668-1.05 12.5-2.946v-9.443c-17.53-8.328-30.048-25.496-31.791-45.744C54.43 134.002 50 129.02 50 123v-13c0-1.983.481-3.854 1.333-5.502 2.702-.802 5.677-3.053 8.658-6.33l.009-.002v-.009c6.866-7.556 13.755-20.555 17.37-33.822 11.116 1.737 24.535 2.752 38.984 2.752 14.159 0 27.33-.975 38.314-2.649 3.62 13.226 10.486 26.172 17.332 33.71v.018l.02.003c2.976 3.272 5.947 5.522 8.646 6.326"></path><path id="LongHairFro-path3" d="M65.18 77.737c2.183-1.632 15.227-2.258 17.578-3.648.734-.434 1.303-.873 1.742-1.309.439.436 1.009.875 1.742 1.31 2.351 1.389 15.395 2.015 17.578 3.647 2.21 1.654 3.824 5.448 3.647 8.414-.212 3.56-4.106 12.052-13.795 13.03-2.114-2.353-5.435-3.87-9.172-3.87s-7.058 1.517-9.172 3.87c-9.69-.978-13.583-9.47-13.795-13.03-.176-2.966 1.437-6.76 3.647-8.414m.665 17.164.017.007zm79.018-38.916c-.389-5.955-1.585-11.833-2.629-17.699-.281-1.579-1.81-12.286-2.5-12.286-.232 9.11-1.032 18.08-2.064 27.14-.309 2.708-.632 5.416-.845 8.134-.171 2.196.135 4.848-.397 6.972-.679 2.706-4.08 5.232-6.725 6.165-6.6 2.326-12.105-7.303-17.742-10.12-7.318-3.656-19.897-4.527-27.38.239-7.645-4.766-20.224-3.895-27.542-.239-5.637 2.817-11.142 12.446-17.742 10.12-2.645-.933-6.047-3.459-6.725-6.165-.532-2.124-.226-4.776-.397-6.972-.213-2.718-.536-5.426-.845-8.135C30.298 44.08 29.497 35.11 29.265 26c-.689 0-2.218 10.707-2.5 12.286-1.043 5.866-2.24 11.744-2.627 17.7-.4 6.119.077 12.181 1.332 18.177a165 165 0 0 0 2.049 8.541c.834 3.143-.32 9.262.053 12.488.707 6.104 3.582 18.008 6.811 23.259 1.561 2.538 3.39 4.123 5.433 6.168 1.967 1.97 2.788 5.021 4.91 7.118 3.956 3.908 9.72 6.234 15.64 6.806C65.677 143.05 74.506 146 84.5 146s18.823-2.95 24.135-7.457c5.919-.572 11.683-2.898 15.64-6.806 2.121-2.097 2.942-5.149 4.909-7.118 2.042-2.045 3.872-3.63 5.433-6.168 3.229-5.251 6.104-17.155 6.81-23.259.374-3.226-.78-9.345.054-12.488.75-2.828 1.45-5.676 2.05-8.54 1.254-5.997 1.73-12.06 1.332-18.179"></path></defs><mask id="LongHairFro-mask1" fill="#fff"><use href="#LongHairFro-path1"></use></mask><g id="Top/Long-Hair/Fro" mask="url('#LongHairFro-mask1')"><g transform="translate(-1)"><path id="Shadow" fill="#000" d="M67 109.778c9.038-1.06 21.922-20.447 27.37-40.443 11.116 1.737 24.535 2.752 38.984 2.752 14.159 0 27.33-.975 38.314-2.649 5.462 19.953 18.31 39.269 27.332 40.339V89c0-22.884-11.647-43.048-29.336-54.887-.528 2.482-.88 5.222-1.04 8.184-10.34-1.404-22.396-2.21-35.27-2.21-13.164 0-25.472.842-35.964 2.306-.158-3-.512-5.775-1.047-8.286C78.65 45.947 67 66.113 67 89z" opacity=".16"></path><use id="Hair" fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairFro-path2" transform="translate(17)"></use></g></g></g>',1),_g=[Vg];function Ng(e,a){return t.openBlock(),t.createElementBlock("svg",null,[..._g])}const Dg={render:Ng},Tg=t.createStaticVNode('<g id="Top"><defs><path id="ShortHairShaggy-path2" d="M0 0h264v280H0z"></path><path id="ShortHairShaggy-path1" d="M198.747 37.856c-5.14-3.832-11.219-7.116-17.56-8.378-6.446-1.282-10.358-1.593-16.704-.073-1.633.392-2.184.78-3.62-.148-1.212-.783-9.663-9.49-35.421-4.657-26.035 4.885-33.77 44.075-43.427 45.566-3.48.537-7.781-.384-7.916-2.527-3.963 6.034-5.008 14.007-3.327 21.074 1.447 6.086 4.497 11.804 9.989 15.137 4.726 2.867 11.26 4.116 16.72 3.587 2.486-.24 4.746-.763 7.033-1.766 2.759-1.21 4.957-3.39 7.664-4.543a54 54 0 0 1-9.176 6.418c-1.64.907-3.304 1.532-5.113 2.024-1.236.336-3.761 1.481-4.956 1.182 7.807 1.396 15.16.18 22.32-3.163 3.23-1.508 6.338-3.332 9.19-5.476 2.833-2.13 6.095-4.307 8.31-7.11-.93 1.204.698-.586.913-.805a67 67 0 0 0 1.787-1.895c1.002-1.104 1.998-2.228 2.93-3.391 1.995-2.486 3.852-5.082 5.508-7.803 1.678-2.756 8.359-13.873 10.375-16.49-1.905 5.708-3.98 11.418-6.407 16.925 4.713-1.47 9.284-5.544 12.295-9.34 3.392-4.276 5.4-9.268 6.108-14.666 3.826 10.416 12.785 18.63 22.032 24.295-2.003-3.73-5.055-6.885-7.052-10.678 9.191 9.329 24.568 13.893 28.595 27.574 1.033-4.758 4.353-8.58 5.348-13.433 1.104-5.389 1.896-11.11 1.72-16.616-.396-12.242-8.631-23.723-18.158-30.824"></path></defs><mask id="ShortHairShaggy-mask2" fill="#fff"><use href="#ShortHairShaggy-path2"></use></mask><g id="Top/Short-Hair/Shaggy" mask="url('#ShortHairShaggy-mask2')"><use fill="var(--avataaar-hair-color)" class="CustomColor" href="#ShortHairShaggy-path1" transform="matrix(-1 0 0 1 285.93 0)"></use></g></g>',1),Pg=[Tg];function Og(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Pg])}const Fg={render:Og},Lg=t.createStaticVNode('<g id="Top"><defs><path id="WinterHat3-path3" d="M0 0h264v280H0z"></path><path id="WinterHat3-path1" d="M66 0c36.45 0 66 29.55 66 66v5H0v-5C0 29.55 29.55 0 66 0"></path><path id="WinterHat3-path2" d="M67.285 61.451Q91.202 44 133.073 44q41.869 0 65.659 17.45A8 8 0 0 1 202 67.9v30.47a4 4 0 0 1-6.135 3.383Q170.902 85.999 133.805 86q-37.383 0-63.73 15.994A4 4 0 0 1 64 98.575V67.914a8 8 0 0 1 3.285-6.463"></path></defs><g id="Top/Accessories/Winter-Hat-3" transform="translate(-1)"><g id="hat" transform="translate(67 12)"><circle id="puff" cx="66" cy="8" r="20" fill="#F4F4F4"></circle><use fill="var(--avataaar-top-color)" class="CustomColor" href="#WinterHat3-path1"></use></g><g id="hat-front"><use filter="url('#WinterHat3-path2')" href="#WinterHat3-path2"></use><use fill="#F4F4F4" href="#WinterHat3-path2"></use></g></g></g>',1),$g=[Lg];function Rg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...$g])}const Hg={render:Rg},zg=t.createStaticVNode('<g id="Top"><defs><path id="LongHairFroBand-path1" d="M0 0h264v280H0z"></path><path id="LongHairFroBand-path2" d="M80.02 73.81A55.9 55.9 0 0 0 77 92v6.166c-5.675.952-10 5.888-10 11.834v13c0 6.019 4.43 11.002 10.209 11.867 1.743 20.248 14.26 37.416 31.791 45.744v10.944A36.4 36.4 0 0 1 93.5 195a36.35 36.35 0 0 1-23.19-8.312 54 54 0 0 1-5.81.312c-21.094 0-39.337-12.208-48.049-29.945C8.934 151.924 4 143.288 4 133.5c0-2.115.23-4.175.667-6.159A57.9 57.9 0 0 1 1 107c0-12.756 4.118-24.55 11.097-34.127A29 29 0 0 1 12 70.5c0-11.297 6.573-21.06 16.104-25.67 8.433-18.128 26.454-30.894 47.546-31.78A28.4 28.4 0 0 1 95.5 5c2.327 0 4.589.279 6.754.805C111.776 2.058 122.148 0 133 0c10.346 0 20.255 1.87 29.408 5.292A29 29 0 0 1 166.5 5a28.4 28.4 0 0 1 19.85 8.05c21.092.886 39.113 13.652 47.546 31.78C243.426 49.44 250 59.203 250 70.5q0 1.2-.097 2.373C256.882 82.45 261 94.243 261 107a57.9 57.9 0 0 1-3.667 20.341A28.6 28.6 0 0 1 258 133.5c0 9.788-4.934 18.424-12.451 23.555C236.837 174.792 218.594 187 197.5 187a54 54 0 0 1-5.81-.312A36.35 36.35 0 0 1 168.5 195c-4.018 0-7.884-.65-11.5-1.849v-12.54c17.53-8.328 30.048-25.496 31.791-45.744C194.57 134.002 199 129.02 199 123v-13c0-5.946-4.325-10.882-10-11.834V92c0-5.441-.776-10.702-2.224-15.676l1.377 12.87-11.34-24-45.136-19.523-30.114 10.557L80.065 76.42l-.045-2.609Z"></path></defs><mask id="LongHairFroBand-mask1" fill="#fff"><use href="#LongHairFroBand-path1"></use></mask><g id="Top/Long-Hair/Fro-+-Band" mask="url('#LongHairFroBand-mask1')"><g transform="translate(-1)"><use fill="var(--avataaar-hair-color)" class="CustomColor" href="#LongHairFroBand-path2"></use><path id="Band" fill="#92D9FF" stroke="none" d="M76.631 98.975A48.6 48.6 0 0 1 76 91.152C76 62.35 101.296 39 132.5 39S189 62.35 189 91.152c0 2.659-.216 5.271-.631 7.823-4.09-25.092-27.545-44.33-55.869-44.33s-51.78 19.238-55.869 44.33"></path></g></g></g>',1),Ig=[zg];function Gg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ig])}const jg={render:Gg},qg=t.createStaticVNode('<g id="Top"><defs><path id="ShortHairShaggyMullet-path1" d="M0 0h264v280H0z"></path><path id="ShortHairShaggyMullet-path2" d="M175.126 166.898c.715 2.24 1.749 4.333 3.43 5.788 1.62 1.404 4.512 1.06 6.543 1.117 1.672.048 3.346.053 5.016-.02.839-.036 1.213 1.015.534 1.499q-.195.139-.39.262a39 39 0 0 1-3.25 1.812c-2.524 1.258-5.188 2.244-7.982 2.734-1.916.337-3.816.4-5.654.177a9.8 9.8 0 0 0 1.699 1.94c1.73 1.501 4.816 1.133 6.983 1.194 1.784.052 3.57.057 5.353-.02.895-.039 1.295 1.084.57 1.601a8 8 0 0 1-.416.28 42 42 0 0 1-3.469 1.937c-2.693 1.345-5.536 2.398-8.518 2.922-5.5.966-10.87-.177-15.194-3.708a25 25 0 0 1-3.381-3.36v-2.442a56.2 56.2 0 0 0 18.126-13.713m-93.81-15.304a140 140 0 0 1-2.31 4.597c-4.795 9.11-10.764 20.602-22.507 21.405-1.088.075-1.519 1.347-.67 1.992 11.12 8.453 36.432 13.6 45.445 11.982a54 54 0 0 0 7.726-1.96v-8.999a56.2 56.2 0 0 1-27.685-29.017Zm114.59-82.914c.175 5.507-.617 11.227-1.721 16.616-.995 4.852-4.315 8.675-5.348 13.433-4.027-13.68-19.404-18.245-28.595-27.574 1.997 3.793 5.049 6.948 7.052 10.678-9.247-5.665-18.206-13.88-22.032-24.295-.707 5.398-2.716 10.39-6.108 14.666-3.011 3.796-7.582 7.87-12.295 9.34 2.428-5.507 4.502-11.217 6.407-16.925-2.016 2.617-8.697 13.734-10.375 16.49-1.656 2.72-3.513 5.317-5.507 7.803-.933 1.163-1.929 2.287-2.93 3.391a67 67 0 0 1-1.788 1.895c-.215.219-1.842 2.01-.912.806-2.216 2.802-5.478 4.979-8.31 7.109-2.853 2.144-5.96 3.968-9.192 5.476-7.159 3.343-14.512 4.56-22.32 3.163 1.196.299 3.721-.846 4.957-1.182 1.809-.492 3.474-1.117 5.113-2.024a54 54 0 0 0 9.176-6.418c-2.707 1.152-4.905 3.334-7.664 4.543-2.287 1.003-4.547 1.526-7.032 1.766-5.462.529-11.995-.72-16.721-3.587-5.492-3.333-8.542-9.051-9.99-15.137-1.68-7.067-.635-15.04 3.328-21.074.135 2.143 4.436 3.064 7.916 2.527 9.658-1.49 15.403-38.048 40.427-44.566 19.961-5.2 34.21 3.874 35.42 4.657 1.437.928 1.988.54 3.621.148 6.346-1.52 13.258-2.209 19.705-.927 6.34 1.262 12.418 4.546 17.559 8.378 9.527 7.101 17.762 18.582 18.159 30.824"></path><path id="ShortHairShaggyMullet-path3" d="M65.18 77.737c2.183-1.632 15.227-2.258 17.578-3.648.734-.434 1.303-.873 1.742-1.309.439.436 1.009.875 1.742 1.31 2.351 1.389 15.395 2.015 17.578 3.647 2.21 1.654 3.824 5.448 3.647 8.414-.212 3.56-4.106 12.052-13.795 13.03-2.114-2.353-5.435-3.87-9.172-3.87s-7.058 1.517-9.172 3.87c-9.69-.978-13.583-9.47-13.795-13.03-.176-2.966 1.437-6.76 3.647-8.414m.665 17.164.017.007zm79.018-38.916c-.389-5.955-1.585-11.833-2.629-17.699-.281-1.579-1.81-12.286-2.5-12.286-.232 9.11-1.032 18.08-2.064 27.14-.309 2.708-.632 5.416-.845 8.134-.171 2.196.135 4.848-.397 6.972-.679 2.706-4.08 5.232-6.725 6.165-6.6 2.326-12.105-7.303-17.742-10.12-7.318-3.656-19.897-4.527-27.38.239-7.645-4.766-20.224-3.895-27.542-.239-5.637 2.817-11.142 12.446-17.742 10.12-2.645-.933-6.047-3.459-6.725-6.165-.532-2.124-.226-4.776-.397-6.972-.213-2.718-.536-5.426-.845-8.135C30.298 44.08 29.497 35.11 29.265 26c-.689 0-2.218 10.707-2.5 12.286-1.043 5.866-2.24 11.744-2.627 17.7-.4 6.119.077 12.181 1.332 18.177a165 165 0 0 0 2.049 8.541c.834 3.143-.32 9.262.053 12.488.707 6.104 3.582 18.008 6.811 23.259 1.561 2.538 3.39 4.123 5.433 6.168 1.967 1.97 2.788 5.021 4.91 7.118 3.956 3.908 9.72 6.234 15.64 6.806C65.677 143.05 74.506 146 84.5 146s18.823-2.95 24.135-7.457c5.919-.572 11.683-2.898 15.64-6.806 2.121-2.097 2.942-5.149 4.909-7.118 2.042-2.045 3.872-3.63 5.433-6.168 3.229-5.251 6.104-17.155 6.81-23.259.374-3.226-.78-9.345.054-12.488.75-2.828 1.45-5.676 2.05-8.54 1.254-5.997 1.73-12.06 1.332-18.179"></path></defs><mask id="ShortHairShaggyMullet-mask1" fill="#fff"><use href="#ShortHairShaggyMullet-path1"></use></mask><g id="Top/Short-Hair/Shaggy-Mullet" mask="url('#ShortHairShaggyMullet-mask1')"><g transform="translate(-1)"><use fill="var(--avataaar-hair-color)" class="CustomColor" href="#ShortHairShaggyMullet-path2"></use><path id="Shadow" fill="#000" stroke="none" d="M175.126 166.898c.715 2.24 1.749 4.333 3.43 5.788 1.62 1.404 4.512 1.06 6.543 1.117 1.672.048 3.346.053 5.016-.02.839-.036 1.213 1.015.534 1.499q-.195.139-.39.262a39 39 0 0 1-3.25 1.812c-2.524 1.258-5.188 2.244-7.982 2.734-1.916.337-3.816.4-5.654.177a9.8 9.8 0 0 0 1.699 1.94c1.73 1.501 4.816 1.133 6.983 1.194 1.784.052 3.57.057 5.353-.02.895-.039 1.295 1.084.57 1.601a8 8 0 0 1-.416.28 42 42 0 0 1-3.469 1.937c-2.693 1.345-5.536 2.398-8.518 2.922-5.5.966-10.87-.177-15.194-3.708a25 25 0 0 1-3.381-3.36v-2.442a56.2 56.2 0 0 0 18.126-13.713m-93.81-15.304a140 140 0 0 1-2.31 4.597c-4.795 9.11-10.764 20.602-22.507 21.405-1.088.075-1.519 1.347-.67 1.992 11.12 8.453 36.432 13.6 45.445 11.982a54 54 0 0 0 7.726-1.96v-8.999a56.2 56.2 0 0 1-27.685-29.017Z" opacity=".16"></path></g></g></g>',1),Wg=[qg];function Yg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Wg])}const Ug={render:Yg},Xg=t.createStaticVNode('<g id="Top"><defs><path id="WinterHat4-path5" d="M0 0h264v280H0z"></path><path id="WinterHat4-path1" d="M129.66 38.357A60.8 60.8 0 0 1 134 61v8H2v-8c0-8.025 1.55-15.688 4.366-22.707Q-3.238 18.099 2.636 5.12q11.257-3.414 26.08 5.419C38.486 3.888 50.289 0 63 0h10c12.722 0 24.535 3.895 34.31 10.557q14.84-8.856 26.11-5.437 5.883 12.999-3.76 33.237"></path><path id="WinterHat4-path2" d="M28.716 10.539c-9.957 6.778-17.804 16.426-22.35 27.754Q-3.238 18.099 2.636 5.12q11.257-3.414 26.08 5.419m100.943 27.818c-4.538-11.346-12.386-21.01-22.349-27.8q14.84-8.856 26.11-5.437 5.883 12.999-3.76 33.237Z"></path><path id="WinterHat4-path3" d="M21.862 15.96a61.3 61.3 0 0 0-11.433 14.08Q6.041 17.878 8.927 13.208q3.977-1.72 12.935 2.751Zm103.49 13.714a61.3 61.3 0 0 0-11.274-13.77q8.704-4.278 12.608-2.59 2.83 4.58-1.333 16.36Z"></path><path id="WinterHat4-path4" d="M67.285 61.451Q91.202 44 133.073 44q41.869 0 65.659 17.45A8 8 0 0 1 202 67.9v30.47a4 4 0 0 1-6.135 3.383Q170.902 85.999 133.805 86q-37.383 0-63.73 15.994A4 4 0 0 1 64 98.575V67.914a8 8 0 0 1 3.285-6.463"></path></defs><g id="Top/Accessories/Winter-Hat-4" transform="translate(-1)"><g id="hat" transform="translate(65 4)"><use fill="var(--avataaar-top-color)" class="CustomColor" href="#WinterHat4-path1"></use><use id="shadow" fill="#000" href="#WinterHat4-path2" opacity=".24"></use><use id="light" fill="#FFF" href="#WinterHat4-path3" opacity=".3"></use></g><g id="hat-front"><use filter="url('#WinterHat4-path4')" href="#WinterHat4-path4"></use><use fill="#F4F4F4" href="#WinterHat4-path4"></use></g></g></g>',1),Zg=[Xg];function Qg(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Zg])}const Kg={render:Qg},Jg={Eyepatch:vh,Hat:Ph,Hijab:Wh,LongHairBigHair:rp,LongHairBob:gp,LongHairBun:Ap,LongHairCurly:Hp,LongHairCurvy:Zp,LongHairDreads:lg,LongHairFrida:xg,LongHairFro:Dg,LongHairFroBand:jg,LongHairMiaWallace:Mh,LongHairNotTooLong:$h,LongHairShavedSides:Zh,LongHairStraight:lp,LongHairStraight2:xp,LongHairStraightStrand:Dp,NoHair:Ip,ShortHairDreads01:eg,ShortHairDreads02:fg,ShortHairFrizzle:Cg,ShortHairShaggy:Fg,ShortHairShaggyMullet:Ug,ShortHairShortCurly:_h,ShortHairShortFlat:Ih,ShortHairShortRound:ep,ShortHairShortWaved:fp,ShortHairSides:Cp,ShortHairTheCaesar:Fp,ShortHairTheCaesarSidePart:Wp,Turban:rg,WinterHat1:gg,WinterHat2:Ag,WinterHat3:Hg,WinterHat4:Kg},ey=t.createElementVNode("g",{id:"Facial-Hair/Beard-Light",transform:"translate(49 72)"},[t.createElementVNode("defs",null,[t.createElementVNode("path",{id:"BeardLight-path1",d:"M101.428 98.169c-2.513 2.294-5.19 3.325-8.575 2.604-.582-.124-2.957-4.538-8.853-4.538-5.897 0-8.27 4.414-8.853 4.538-3.385.721-6.062-.31-8.576-2.604-4.725-4.313-8.654-10.26-6.293-16.75 1.23-3.382 3.232-7.095 6.873-8.173 3.887-1.15 9.346-.002 13.264-.788 1.27-.254 2.656-.707 3.585-1.458.929.75 2.316 1.204 3.585 1.458 3.918.786 9.376-.362 13.264.788 3.64 1.078 5.642 4.79 6.873 8.173 2.361 6.49-1.568 12.437-6.294 16.75M140.081 26c-3.41 8.4-2.093 18.858-2.724 27.676-.513 7.167-2.02 17.91-8.384 22.539-3.255 2.367-9.179 6.345-13.431 5.235-2.927-.764-3.24-9.16-7.087-12.303-4.363-3.565-9.812-5.131-15.306-4.89-2.37.105-7.165.08-9.15 1.903-1.983-1.823-6.777-1.798-9.148-1.902-5.494-.242-10.943 1.324-15.306 4.889-3.847 3.143-4.16 11.54-7.087 12.303-4.252 1.11-10.176-2.868-13.431-5.235-6.365-4.63-7.87-15.372-8.384-22.54-.63-8.817.686-19.275-2.724-27.675-1.66 0-.565 16.129-.565 16.129v20.356c.032 15.288 9.581 38.17 30.754 46.908C63.286 111.53 75.015 115 84 115s20.714-3.14 25.892-5.277c21.173-8.737 30.722-31.95 30.754-47.238V42.13S141.74 26 140.081 26"})]),t.createElementVNode("use",{fill:"var(--avataaar-facial-hair-color)",class:"CustomColor",href:"#BeardLight-path1"})],-1),ty=[ey];function ay(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...ty])}const ny={render:ay},ry=t.createElementVNode("g",{id:"Facial-Hair/Beard-Majestic",transform:"translate(49 72)"},[t.createElementVNode("defs",null,[t.createElementVNode("path",{id:"BeardMajestic-path1",d:"M65.18 77.737c2.183-1.632 15.227-2.258 17.578-3.648.734-.434 1.303-.873 1.742-1.309.439.436 1.009.875 1.742 1.31 2.351 1.389 15.395 2.015 17.578 3.647 2.21 1.654 3.824 5.448 3.647 8.414-.212 3.56-4.106 12.052-13.795 13.03-2.114-2.353-5.435-3.87-9.172-3.87s-7.058 1.517-9.172 3.87c-9.69-.978-13.583-9.47-13.795-13.03-.176-2.966 1.437-6.76 3.647-8.414m.665 17.164.017.007zm79.018-38.916c-.389-5.955-1.585-11.833-2.629-17.699-.281-1.579-1.81-12.286-2.5-12.286-.232 9.11-1.032 18.08-2.064 27.14-.309 2.708-.632 5.416-.845 8.134-.171 2.196.135 4.848-.397 6.972-.679 2.706-4.08 5.232-6.725 6.165-6.6 2.326-12.105-7.303-17.742-10.12-7.318-3.656-19.897-4.527-27.38.239-7.645-4.766-20.224-3.895-27.542-.239-5.637 2.817-11.142 12.446-17.742 10.12-2.645-.933-6.047-3.459-6.725-6.165-.532-2.124-.226-4.776-.397-6.972-.213-2.718-.536-5.426-.845-8.135C30.298 44.08 29.497 35.11 29.265 26c-.689 0-2.218 10.707-2.5 12.286-1.043 5.866-2.24 11.744-2.627 17.7-.4 6.119.077 12.181 1.332 18.177a165 165 0 0 0 2.049 8.541c.834 3.143-.32 9.262.053 12.488.707 6.104 3.582 18.008 6.811 23.259 1.561 2.538 3.39 4.123 5.433 6.168 1.967 1.97 2.788 5.021 4.91 7.118 3.956 3.908 9.72 6.234 15.64 6.806C65.677 143.05 74.506 146 84.5 146s18.823-2.95 24.135-7.457c5.919-.572 11.683-2.898 15.64-6.806 2.121-2.097 2.942-5.149 4.909-7.118 2.042-2.045 3.872-3.63 5.433-6.168 3.229-5.251 6.104-17.155 6.81-23.259.374-3.226-.78-9.345.054-12.488.75-2.828 1.45-5.676 2.05-8.54 1.254-5.997 1.73-12.06 1.332-18.179"})]),t.createElementVNode("use",{fill:"var(--avataaar-facial-hair-color)",class:"CustomColor",href:"#BeardMajestic-path1"})],-1),oy=[ry];function iy(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...oy])}const sy={render:iy},ly=t.createElementVNode("g",{id:"Facial-Hair/Moustache-Fancy",transform:"translate(49 72)"},[t.createElementVNode("defs",null,[t.createElementVNode("path",{id:"MoustacheFancy-path1",d:"M84 69.297c-6.792-3.586-16.422-4.148-21.611-2.165-5.775 2.205-10.884 8.451-19.75 5.696-.37-.114-.73.217-.619.58 1.374 4.51 9.008 7.599 11.602 7.7 11.34.442 20.473-8.278 30.378-8.947 9.906.67 19.04 9.389 30.379 8.947 2.594-.101 10.228-3.19 11.601-7.7.111-.363-.25-.694-.618-.58-8.867 2.755-13.976-3.49-19.75-5.696-5.19-1.983-14.82-1.42-21.612 2.165"})]),t.createElementVNode("use",{fill:"var(--avataaar-facial-hair-color)",class:"CustomColor",href:"#MoustacheFancy-path1"})],-1),cy=[ly];function dy(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...cy])}const uy={render:dy},fy=t.createElementVNode("g",{id:"Facial-Hair/Beard-Medium",transform:"translate(49 72)"},[t.createElementVNode("defs",null,[t.createElementVNode("path",{id:"BeardMedium-path1",d:"M105.018 94.13c-3.868 5.591-6.76 1.817-10.88-1.254-2.481-1.849-6.177-4.148-9.634-4.035-3.456-.113-7.152 2.186-9.633 4.035-4.12 3.07-7.013 6.845-10.88 1.254-2.903-4.198-1.688-11.256 1.024-15.227 3.859-5.652 9.094-2.918 14.947-3.563 1.592-.175 3.19-.617 4.542-1.34 1.352.723 2.95 1.165 4.542 1.34 5.854.645 11.089-2.089 14.948 3.563 2.712 3.97 3.926 11.03 1.024 15.227M140.39 26c-3.424 14.075-4.998 28.434-7.481 42.671a319 319 0 0 1-1.685 8.879c-.127.62-.251 2.923-.862 3.214-1.851.884-5.624-3.817-6.633-4.879-2.533-2.666-5.045-5.356-8.13-7.448-6.235-4.227-13.535-6.726-21.13-7.32-3.178-.248-7.475.186-10.47 1.993-2.995-1.807-7.292-2.24-10.47-1.992-7.596.593-14.895 3.092-21.13 7.32-3.085 2.091-5.597 4.781-8.13 7.447-1.01 1.062-4.782 5.763-6.633 4.88-.61-.292-.735-2.595-.862-3.215a319 319 0 0 1-1.685-8.879C32.607 54.434 31.034 40.075 27.61 26c-.997 0-1.871 18.748-1.983 20.495-.452 7.094-.98 14.03-.305 21.131 1.164 12.249 2.377 27.608 11.71 36.962 8.434 8.451 20.678 10.218 31.24 15.553 1.36.687 3.163 1.535 5.108 2.23 2.049 1.563 6.113 2.629 10.794 2.629 4.91 0 9.142-1.173 11.08-2.862a47 47 0 0 0 4.475-1.997c10.56-5.336 22.805-7.102 31.238-15.553 9.334-9.354 10.547-24.713 11.712-36.962.674-7.1.146-14.037-.306-21.131C142.26 44.748 141.387 26 140.39 26"})]),t.createElementVNode("use",{fill:"var(--avataaar-facial-hair-color)",class:"CustomColor",href:"#BeardMedium-path1"})],-1),my=[fy];function hy(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...my])}const py={render:hy};function gy(e,a){return t.openBlock(),t.createElementBlock("svg")}const yy={render:gy},ky=t.createElementVNode("g",{id:"Facial-Hair/Moustache-Magnum",transform:"translate(49 72)"},[t.createElementVNode("defs",null,[t.createElementVNode("path",{id:"MoustacheMagnum-path1",d:"M83.998 74.84a6.04 6.04 0 0 1-2.048 1.85c-8.902 4.82-18.073.642-23.074.94-2.416.144-5.535 1.785-6.66.05-1.24-1.913 2.852-12.46 12.505-14.216 7.01-1.275 16.776.138 19.277 3.474 2.5-3.336 12.267-4.749 19.276-3.474 9.654 1.757 13.745 12.303 12.506 14.215-1.125 1.736-4.244.095-6.66-.05-5.001-.297-14.172 3.881-23.074-.94a6.04 6.04 0 0 1-2.048-1.85Z"})]),t.createElementVNode("use",{fill:"var(--avataaar-facial-hair-color)",class:"CustomColor",href:"#MoustacheMagnum-path1"})],-1),by=[ky];function xy(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...by])}const wy={render:xy},vy={BeardMajestic:sy,BeardLight:ny,MoustacheFancy:uy,BeardMedium:py,Blank:yy,MoustacheMagnum:wy},Ey=t.createStaticVNode('<g id="Clothing/Graphic-Shirt" transform="translate(0 170)"><defs><path id="react-path-1153" d="M165.624 29.268C202.76 32.138 232 63.18 232 101.052V110H32v-8.948c0-38.217 29.775-69.48 67.393-71.855A14 14 0 0 0 99 32.5C99 44.374 113.998 54 132.5 54S166 44.374 166 32.5c0-1.098-.128-2.178-.376-3.232"></path></defs><mask id="react-mask-1154" fill="#fff"><use href="#react-path-1153"></use></mask><use id="Clothes" fill="#E6E6E6" fill-rule="evenodd" href="#react-path-1153"></use><g id="Color/Palette/" fill="var(--avataaar-shirt-color)" fill-rule="evenodd" mask="url(#react-mask-1154)"><path id="Color" d="M0 0h264v110H0z"></path></g><g id="Clothing/Graphic/Bat" fill="#FFF" fill-rule="evenodd"><path id="Batman!" d="M87.685 13.403c-1.393-6.431-6.21-10.15-12.5-11.586-2.526-.577-10.913-2.387-9.607 2.408.593 2.172.263 3.964-1.553 5.766-1.77 1.755-5.231 2.2-6.952-.011-1.474-1.895.427-4.721-.721-6.567-.446-.717-1.216-1.083-2.028-.732-1.141.494-.534 1.555-1.073 2.318-.849 1.203-1.245.826-2.01-.373-.48-.754-.008-1.575-1.246-1.897-1.433-.372-1.903.828-2.032 1.923-.082.687.322 1.792.336 2.488.027 1.364-.09 3.323-.725 4.529-1.125 2.137-2.704 1.453-4.383.096-1.98-1.602-2.561-3.385-2.178-5.817.459-2.917.292-5.709-3.28-3.884-5.02 2.564-9.68 7.135-12.588 11.919-2.445 4.02-4.37 8.893-2.203 13.473 2.21 4.675 5.862 8.69 10.966 9.883 1.321.31 5.092 1.811 6.345.552 1.947-1.957-2.548-3.783-3.435-4.975-1.258-1.69-2.337-4.915-.957-6.822 1.76-2.427 3.6-1.074 5.045.644 1.136 1.348 2.75 4.826 4.506 2.022 1.21-1.931 1.101-5.102 4.4-3.717 4.715 1.978 4.86 11.112 5.7 15.291.367 1.83 2.035 4.064 3.47 1.525.79-1.396.364-4.421.22-5.863-.296-2.985-1.08-5.92-.11-8.877.562-1.71 2.001-4.16 4.13-2.844 1.725 1.066 1.006 5.816 3.353 5.807 2.066-.007 1.502-3.791 2.603-5.039 1.68-1.904 4.916-.999 5.91 1.249 1.336 3.025-2.203 5.126-2.044 7.785.154 2.591 3.494 1.58 4.89.923 2.872-1.35 5.119-3.853 6.676-6.571 2.407-4.204 4.125-10.222 3.075-15.026" transform="translate(77 58)"></path></g></g>',1),Cy=[Ey];function Sy(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Cy])}const My={render:Sy},By=t.createStaticVNode('<g id="Clothing/Graphic-Shirt" transform="translate(0 170)"><defs><path id="react-path-1153" d="M165.624 29.268C202.76 32.138 232 63.18 232 101.052V110H32v-8.948c0-38.217 29.775-69.48 67.393-71.855A14 14 0 0 0 99 32.5C99 44.374 113.998 54 132.5 54S166 44.374 166 32.5c0-1.098-.128-2.178-.376-3.232"></path></defs><mask id="react-mask-1154" fill="#fff"><use href="#react-path-1153"></use></mask><use id="Clothes" fill="#E6E6E6" fill-rule="evenodd" href="#react-path-1153"></use><g id="Color/Palette/" fill="var(--avataaar-shirt-color)" fill-rule="evenodd" mask="url(#react-mask-1154)"><path id="Color" d="M0 0h264v110H0z"></path></g><g id="Clothing/Graphic/Cumbia" fill-rule="evenodd" stroke-width="1"><g id="Group" fill="#FFF" transform="translate(77 64)"><path id="Fill-1" d="M10.272 24.132c3.273-.559 5.73-3.554 5.18-6.788-.464-2.724-1.745-.343-2.976.853-1.335 1.298-2.45 2.574-4.536 2.054-3.607-.9-4.858-5.4-3.84-8.48a5.94 5.94 0 0 1 3.478-3.696c1.852-.746 3.204.09 4.748 1.094.289.187 1.73 1.37 1.994 1.25.462-.211.115-2.43.045-2.725-.338-1.421-1.266-2.575-2.617-3.238-3.333-1.635-7.514.489-9.64 3.055-4.884 5.897-.92 18.164 8.164 16.62"></path><path id="Fill-5" d="M20.283 5.038q0 .003 0 0m-1.594 12.865c.503 3.474 2.977 6.5 6.952 6.357 4.278-.155 6.056-4.098 7.008-7.486.957-3.399 2.052-7.683.664-11.093-.42-1.032-.685-2.38-1.716-1.53-1.252 1.033-1.409 4.039-1.515 5.442-.2 2.647-.781 9.97-4.108 10.944-4.179 1.222-4.048-5.847-4-7.977.04-1.896.246-3.734-.342-5.584-.313-.985-.59-2.44-1.528-1.634-1.29 1.108-1.453 3.828-1.544 5.327-.144 2.405-.214 4.842.129 7.234"></path><path id="Fill-7" d="M37.783 20.746c.188.412.624 1.402 1.02 1.679.944.66-.055.708.8-.059.813-.729 1.13-2.717 1.254-3.67.385-2.96-.12-6.108-.087-9.093 1.024 2.218 1.584 4.584 2.386 6.874.554 1.582 1.396 4.804 3.654 4.753 2.443-.055 2.57-3.145 2.894-4.819.461-2.37.97-4.721 1.676-7.037.092 3.91-1.427 10.995 2.108 13.92.014.013 1.432-4.15 1.467-4.406.223-1.691.083-3.444.107-5.148.051-3.597.718-8.003-.3-11.506C54.435 1.1 53.788-.03 52.354.001c-1.825.04-2.233 1.985-2.698 3.298-1.28 3.614-2.445 7.224-3.357 10.94-.548-1.68-5.339-16.421-8.789-10.901-.555.888-.315 2.218-.338 3.196-.044 1.879-.155 3.756-.196 5.635-.061 2.843-.41 5.907.808 8.577"></path><path id="Fill-9" d="M62.02 7.71c.72-.135 5.735-1.727 5.523-.136-.223 1.675-4.633 3.309-5.816 3.876a10.6 10.6 0 0 0-.643-3.567zm5.717-.64s-.027-.035 0 0m.122 8.341c2.272 1.22 1.287 3.417-.426 4.608-.649.45-6.53 1.802-6.513 1.663q.001.005-.004.005c.18-1.694-.257-5.018 1-6.02 1.304-1.04 4.5-.808 5.943-.256m.062-7.995c.009.022.001.002 0 0M57.944 24.26c.224.551.86 1.912 1.566 1.945.86.04.794-1.043.929-1.71 3.441 1.721 8.498-.047 10.907-3.03 2.787-3.45 1.348-8.27-2.579-9.745 2.113-1.688 4.026-5.399 1.255-7.49-2.196-1.655-5.828-1.747-8.123-.302-2.735 1.723-3.85 5.833-4.09 9.006-.255 3.382-1.158 8.125.135 11.326"></path><path id="Fill-11" d="M76.05 15.871c.074 2.07-.15 4.287.332 6.306.171.717.433 1.511.76 2.162.611 1.215.31 1.05 1.032.36 2.172-2.083 1.209-8.575 1.157-11.249-.041-2.078.064-4.28-.513-6.283-.162-.562-1.123-3.348-1.655-3.284-.816.098-1.376 3.93-1.423 4.693-.148 2.396.226 4.895.31 7.295"></path><path id="Fill-13" d="M94.748 16.43c-1.582-.137-3.622.075-5.117.557.697-1.916 1.475-4.054 2.238-5.79q.711-1.635 1.494-3.24c1.278 2.686 1.992 5.828 2.832 8.666q-.72-.13-1.447-.193m5.44.725c-.727-2.78-1.579-5.532-2.426-8.28-.538-1.743-1.13-3.911-2.6-5.168C91 .146 88.635 9.557 87.614 11.94c-.985 2.296-2.216 4.634-2.85 7.049a9.5 9.5 0 0 0-.244 3.652c.205 1.519-.004 1.741 1.294.914 1-.636 1.414-1.792 2.227-2.562.144-.136.218-.668.39-.755.188-.096 1.504.253 1.815.274 2.17.151 4.712-.218 6.715-1.054.205.842 1.627 5.962 2.977 5.773.597-.083.965-3.064.992-3.537.087-1.553-.352-3.049-.742-4.538"></path><path id="Fill-15" d="M109.302 3.432c-.264-1.203-.814-3.292-1.842-2.112-1.39 1.596-1.09 5.173-1.111 7.177-.015 1.451-1.552 12.062.556 11.883-.09 0 .845-1.668.98-1.922.815-1.524 1.131-2.97 1.329-4.722.365-3.237.783-7.111.088-10.304"></path><path id="Fill-17" d="M108.164 24.301c-2.24-2.728-6.311.658-5.041 3.374 1.729 3.7 7.331-.56 5.041-3.374"></path><path id="Fill-19" d="M94.898 28.545c-2.891-.738-6.297-.24-9.249-.152-3.081.092-6.16.264-9.24.357-6.568.198-13.124.092-19.692.038-12.454-.103-24.935.69-37.383.168-2.672-.112-5.545-.713-8.198-.209-.727.139-3.009.543-3.329 1.266-.336.76 1.402 1.555 2.331 1.955 2.422 1.044 5.329.858 7.9.964 2.93.12 5.887.058 8.819-.014 12.075-.297 24.089-1.343 36.18-1.165 6.976.103 13.937.038 20.912.001 3.32-.017 7 .526 10.273-.062.552-.1 3.763-.854 3.807-1.836.02-.453-2.806-1.228-3.13-1.311"></path></g></g></g>',1),Ay=[By];function Vy(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ay])}const _y={render:Vy},Ny=t.createStaticVNode('<g id="Clothing/Graphic-Shirt" transform="translate(0 170)"><defs><path id="react-path-1153" d="M165.624 29.268C202.76 32.138 232 63.18 232 101.052V110H32v-8.948c0-38.217 29.775-69.48 67.393-71.855A14 14 0 0 0 99 32.5C99 44.374 113.998 54 132.5 54S166 44.374 166 32.5c0-1.098-.128-2.178-.376-3.232"></path></defs><mask id="react-mask-1154" fill="#fff"><use href="#react-path-1153"></use></mask><use id="Clothes" fill="#E6E6E6" fill-rule="evenodd" href="#react-path-1153"></use><g id="Color/Palette/" fill="var(--avataaar-shirt-color)" fill-rule="evenodd" mask="url(#react-mask-1154)"><path id="Color" d="M0 0h264v110H0z"></path></g><g id="Clothing/Graphic/Diamond" fill-rule="evenodd" stroke-width="1"><g id="Diamond" fill="#FFF" transform="translate(106 60)"><path id="Fill-21" d="M34.78 27.737c-2.389 2.656-4.857 5.243-7.335 7.82.985-3.553 1.74-7.578 3.204-10.958.417-.962.1-1.084.927-1.493.609-.301 2.078.043 2.807.062 1.557.039 3.15.192 4.696-.05a222 222 0 0 0-4.299 4.619m-15.264 4.061c-2.699-3.282-5.384-6.568-8.658-9.317 1.289.137 2.696-.043 3.958.206 1.944.384 1.837.99 2.82 2.959 1.45 2.906 2.889 5.789 4.05 8.823-.711-.9-1.441-1.785-2.17-2.67m-9.098-12.532c.963-1.575 1.144-2.972 2.92-3.78 2.06-.939 5.3-.742 7.488-.916-1.37 1.523-3.037 3.103-3.604 5.122-.874-1.718-1.962-3.174-3.67-4.17-.215-.107 1.158 4.55 1.338 4.87-1.716-.096-3.522-.408-5.225-.092zm16.406-5.008c1.591.036 3.17.16 4.74.42-1.267 1.674-1.649 3.631-2.099 5.63-.478-2.258-2.209-4.362-3.734-6.048zm-3.498 1.074c.234-.158 4.457 5.086 5.066 5.556-3.312-.008-6.618-.17-9.926-.315 1.907-1.487 3.023-3.688 4.86-5.24m2.686 17.095c-.401 1.349-.777 2.708-1.214 4.047-1.555-4.732-3.862-9.188-6.008-13.674 3.34.088 6.676.209 10.016.256-.82 3.158-1.862 6.245-2.794 9.37m7.23-17.462c1.277 1.128 3.097 3.44 3.686 4.217a10 10 0 0 0 .179.23c.21.261.966 1.255 1.263 1.644-2.227-.226-4.545-.13-6.78-.15.498-2.054 1.104-4.012.584-6.128q.536.086 1.068.187m7.648 5.617c-2.158-2.676-4.37-7.258-7.864-8.077-3.472-.814-7.548-.454-11.074-.23-3.075.194-8.083-.204-10.795 1.593-1.393.923-2.425 3.005-2.908 4.551-.434 1.393.266 2.285-1.246 2.285-.096 0 2.504 3.673 2.81 3.962 2.272 2.14 4.444 4.202 6.457 6.597 2.835 3.374 5.405 8.338 9.145 9.736-.686-.339 2.792-2.967 3.21-3.419 2.11-2.288 4.246-4.554 6.372-6.83 1.938-2.073 4.05-4.03 5.93-6.15 1.435-1.619 1.439-2.175-.037-4.018"></path><path id="Fill-23" d="M6.999 12c.043.014-.909-2.045-.825-1.919-.475-.719-1.046-1.24-1.738-1.727C3.708 7.843.127 7.254 0 7c1.494 2.652 4.167 4.128 6.999 5"></path><path id="Fill-25" d="M22.355 7.196A6.2 6.2 0 0 0 23.15 9c.07.078.859-4.184.85-4.547C23.988 3.832 23.613 0 22.815 0c-1.337 0-.674 6.47-.459 7.196"></path><path id="Fill-27" d="M48.97 5c-2.992 0-9.68 5.854-8.908 9 .005.01.447-.35.35-.283l.057-.043c1.272-1.025 2.718-2.02 3.992-3.206.911-.85 1.987-1.612 2.816-2.54C47.362 7.832 49.263 5 48.97 5"></path></g></g></g>',1),Dy=[Ny];function Ty(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Dy])}const Py={render:Ty},Oy=t.createStaticVNode('<g id="Clothing/Graphic-Shirt" transform="translate(0 170)"><defs><path id="react-path-1153" d="M165.624 29.268C202.76 32.138 232 63.18 232 101.052V110H32v-8.948c0-38.217 29.775-69.48 67.393-71.855A14 14 0 0 0 99 32.5C99 44.374 113.998 54 132.5 54S166 44.374 166 32.5c0-1.098-.128-2.178-.376-3.232"></path></defs><mask id="react-mask-1154" fill="#fff"><use href="#react-path-1153"></use></mask><use id="Clothes" fill="#E6E6E6" fill-rule="evenodd" href="#react-path-1153"></use><g id="Color/Palette/" fill="var(--avataaar-shirt-color)" fill-rule="evenodd" mask="url(#react-mask-1154)"><path id="Color" d="M0 0h264v110H0z"></path></g><g id="Clothing/Graphic/Pizza" fill-rule="evenodd" stroke-width="1"><g id="Group-2" fill="#FFF" transform="translate(112 59)"><path id="Fill-29" d="M30.933 24.391c-4.082 1.38-8.55 3.324-10.905 7.074-1.847 2.942-1.971-.455-4.55.593-2.508 1.019-1.822 5.223-2.733 7.301-.708-1.191-1.043-2.516-1.935-3.604a6.6 6.6 0 0 0 1.814-1.724c.156-.32-4.792.348-5.076.43-1.411.401-2.74.77-4.088 1.429a79 79 0 0 0 1.965-2.989q.31-1.02 1.108-.006c.748.036 1.178.357 1.962.177 2.915-.667 3.843-6.223.25-5.987a93 93 0 0 0 4.253-8.802c.502 4.291 6.08 2.813 7.719.525 2.14-2.989-.604-8.662-4.484-8.112.581-1.375 1.17-2.762 1.65-4.178 1.092 1.61 3.001 2.39 4.538 3.457a18.2 18.2 0 0 1 4.163 4.006c2.386 3.14 3.793 7.007 6.215 10.052a7 7 0 0 0-1.866.358m9.006-4.388c-.632-5.757-5.15-11.601-9.44-15.176-2.55-2.125-10.24-7.385-13.306-3.34 2.472 1.071 5.2 1.33 7.65 2.489 3.32 1.572 5.922 4.16 8.168 7.055 3.137 4.045 7.97 12.283.474 14.386.518-.338.819-.709 1.228-1.308-1.007-.233-.6-1.878-.954-2.952-.412-1.25-1.21-2.467-1.884-3.582a57 57 0 0 0-3.504-5.171c-1.678-2.186-3.686-3.907-5.977-5.396-.907-.589-1.775-1.11-2.817-1.415-1.349-.394-.907.086-1.276-1.146-.232-.773-.024-1.763-.246-2.592-1.973 1.658-2.615 4.055-3.5 6.381-1.02 2.684-2.122 5.335-3.196 7.997-2.635 6.535-6.034 12.395-9.891 18.247-.672 1.02-2.165 2.95-1.09 4.174.96 1.095 2.33.306 3.386-.139 1.436-.604 3.385-2.164 4.935-1.347 1.998 1.054 1.054 4.984 4.214 4.827 3.114-.154 2.527-5.28 3.527-7.317 2.311 1.685 4.175.64 5.579-1.611 1.626-2.61 3.775-3.657 6.513-4.938 1.12-.524 3.034-1.94 4.2-2.115.966-.145 1.893.883 3.184.837 3.098-.113 4.392-4.253 4.023-6.848"></path><path id="Fill-31" d="M18.537 22.834c-2.425-.445-5.807-.074-6.029 3.153-.136 1.978 1.41 3.848 3.082 4.664 5.122 2.5 9.109-6.688 2.947-7.817"></path><path id="Fill-33" d="M28.336 19.158c-.65-.706-1.703-1.24-2.675-.993.31-.214.568-.6.864-.839-3.156-2.286-5.14 3.479-3.346 5.748 2.717 3.44 8.037-.766 5.157-3.916"></path></g></g></g>',1),Fy=[Oy];function Ly(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Fy])}const $y={render:Ly},Ry=t.createStaticVNode('<g id="Clothing/Graphic-Shirt" transform="translate(0 170)"><defs><path id="react-path-1153" d="M165.624 29.268C202.76 32.138 232 63.18 232 101.052V110H32v-8.948c0-38.217 29.775-69.48 67.393-71.855A14 14 0 0 0 99 32.5C99 44.374 113.998 54 132.5 54S166 44.374 166 32.5c0-1.098-.128-2.178-.376-3.232"></path></defs><mask id="react-mask-1154" fill="#fff"><use href="#react-path-1153"></use></mask><use id="Clothes" fill="#E6E6E6" fill-rule="evenodd" href="#react-path-1153"></use><g id="Color/Palette/" fill="var(--avataaar-shirt-color)" fill-rule="evenodd" mask="url(#react-mask-1154)"><path id="Color" d="M0 0h264v110H0z"></path></g><g id="Clothing/Graphic/Selena" fill-rule="evenodd" stroke-width="1"><g id="Selena" fill="#FFF" transform="translate(94 58)"><path id="Bom-Bom" d="M65.303 7.568c-.156.93-1.922 5.089-3.229 2.95-.509-.832.402-3.46.685-4.209.558-1.472.974-1.638 2.263-2.33.109 1.188.411 2.398.281 3.589m-2.984 3.319c.03.012.158.132 0 0m-.008-.007c-.006-.004 0 0 0 0M55.03 6.205c.01.008.053.042 0 0M42.555 11.16c-.207 1.22-.475 2.439-.904 3.6-.17-1.732.103-3.456 1-4.95q-.015.676-.096 1.35m-.01-2.502c-.004-.016-.159-.24 0 0M25.908 18.803c.153-1.533.768-3.017 1.906-4.044-.277 1.625-1.072 2.67-1.906 4.044m49.93-13.506c0 .637-2.06 2.335-2.574 2.803-.879.799-1.815 1.44-3.077 1.254-3.462-.51-2.09-4.206-2.641-6.481-.434-1.788-.879-1.114-2.082-1.227-1.118-.104-1.518-.656-2.682.187-2.096 1.519-3.766 3.496-4.659 5.98-.324-1.695-1.245-4.503-3.452-4.093-1.632.303-2.984 2.926-3.663 4.243-.052-1.198-.668-3.076-2.175-2.218-1.036.589-.991 3.381-1.218 4.41-.465 2.111-1.379 7.617-4.644 6.901 1.029-1.918 3.28-7.97 1.35-9.937-2.712-2.762-4.775 4.156-4.886 5.84-.08 1.205.806 3.944.329 4.692-.585.918-2.428 1.313-3.303.641-1.405-1.078-.85-2.83-.53-4.199.422-1.794.62-3.597.734-5.437.085-1.38 1.286-7.548-1.028-7.632-2.095-.075-2.309 5.138-2.458 6.563-.185 1.751-.296 3.525-.235 5.288.062 1.782.394 2.97-.297 4.643-.74 1.793-4.264 7.17-6.373 3.6 2.24-.983 4.911-5.518 3.71-8.067-1.667-3.534-5.416 1.85-5.96 3.656-.877 2.915-.491 6.722 2.864 7.671 3.493.989 6.19-2.286 7.421-5.18 1.002 1.588 2.845 1.986 4.55 1.505a5.8 5.8 0 0 0 1.89-.947c1.07-.81.444-.509 1.58-.542 3.297-.094 5.096-1.153 6.332-4.545-.015.934.343 2.36 1.598 1.849.974-.397.968-2.01 1.148-2.87.57-2.713 1.466-5.541 3.599-7.422 1.84 2.002.48 5.427 1.69 7.56 1.868 3.288 2.808-2.532 3.1-3.654.057 4.882 5.861 3.084 7.118-.157 3.3 3.515 10.234.349 8.923-4.678"></path><path id="Bidi" d="M69.434 15.349c-3.63 0-7.605 1.026-11.127 1.817a98 98 0 0 0-10.502 2.97c-3.871 1.339-7.812 2.554-11.59 4.122-3.276 1.36-7.508 2.353-9.512 5.416-.004.008 2.102-.088 2.272-.117 1.05-.174 1.952-.543 2.917-.956 1.747-.746 3.482-1.519 5.224-2.276 3.904-1.698 7.98-3.095 11.988-4.554 3.996-1.453 8.095-2.685 12.255-3.625 3.39-.767 7.182-.914 10.303-2.273q-.176.066.23-.091c-.079.038-2.221-.433-2.458-.433m-47.317 5.476c-2.27-.998-5.477-.558-7.835-.239-2.143.29-5.496.935-6.833 1.108-1.106.14-4.406 1.04-5.01-.197-.649-1.331 2.72-5.403 3.456-6.363 3.315-4.32 7.3-9.12 12.08-11.923-.44 1.95-.825 3.918-1.227 5.876-.166.808-.95 5.164.486 5.508.59.14 1.772-2.783 1.87-3.044.823-2.19 1.012-4.71 1.391-7.002.217-1.311 1.2-4.05-.694-4.502-1.629-.389-3.836 1.727-4.923 2.619-3.282 2.692-6.127 5.947-8.787 9.22-1.31 1.613-2.615 3.234-3.714 4.997-.904 1.45-3.09 4.49-2.145 6.282 1.698 3.221 9.84.398 12.432-.032 2.045-.339 4.152-.66 6.227-.376 2.162.295 2.057 1.27 1.339 3.196-1.478 3.96-4.776 7.36-7.724 10.32-1.299 1.303-6.38 7.419-7.66 4.091-.87-2.26-.1-5.035.9-7.114.468-.973 1.089-1.861 1.577-2.824.133-.263.802-2.425.947-2.473-3.87 1.35-6.117 6.585-6.332 10.287-.102 1.741.136 4.324 1.8 5.368s3.226-.227 4.549-1.185c3.642-2.64 6.891-5.998 9.865-9.335 1.626-1.824 8.453-10.287 3.965-12.263"></path></g></g></g>',1),Hy=[Ry];function zy(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Hy])}const Iy={render:zy},Gy=t.createStaticVNode('<g id="Clothing/Graphic-Shirt" transform="translate(0 170)"><defs><path id="react-path-1153" d="M165.624 29.268C202.76 32.138 232 63.18 232 101.052V110H32v-8.948c0-38.217 29.775-69.48 67.393-71.855A14 14 0 0 0 99 32.5C99 44.374 113.998 54 132.5 54S166 44.374 166 32.5c0-1.098-.128-2.178-.376-3.232"></path></defs><mask id="react-mask-1154" fill="#fff"><use href="#react-path-1153"></use></mask><use id="Clothes" fill="#E6E6E6" fill-rule="evenodd" href="#react-path-1153"></use><g id="Color/Palette/" fill="var(--avataaar-shirt-color)" fill-rule="evenodd" mask="url(#react-mask-1154)"><path id="Color" d="M0 0h264v110H0z"></path></g><g id="Clothing/Graphic/Skull-Outline" fill-rule="evenodd" stroke-width="1"><g id="Skull" fill="#FFF" transform="translate(113 59)"><path id="Boo!" d="M36.335 17.04c-.18 1.038-.442 2.069-.988 2.989-.72 1.211-2.026 1.707-2.783 2.818-1.193 1.752.392 4.276-.786 5.837-1.266 1.68-4.142.663-5.262 2.892-1.18 2.35.538 5.492-.943 7.83-1.47-.37-1.922-5.886-4.189-2.367-1.452 2.254-.471 3.475-2.649.235-.756-1.125-1.61-2.136-3.096-1.393-1.043.521-1.258 2.837-2.21 3.086-2.333.612-2.418-5.617-3.212-6.796-.436-.648-.842-1.032-1.617-1.277-.672-.213-1.869.215-2.425-.1-1.045-.592-1.186-2.556-1.225-3.598-.074-1.939.575-3.919.04-5.838-.451-1.612-1.887-2.603-2.357-4.183C.1 8.64 11.683 3.895 18.3 3.63c7.74-.31 19.037 4.222 18.036 13.41m1.838-5.316c-1.456-3.441-4.655-6.177-7.915-8.013a18.5 18.5 0 0 0-5.085-1.94c-1.641-.36-3.558-.123-5.125-.576C18.728.812 17.91-.048 16.356.002c-2.118.068-4.319 1.172-6.168 2.086-3.66 1.807-6.771 4.148-8.726 7.743-2.098 3.859-1.9 7.356.349 10.952 2.145 3.434-.974 8.262 2.167 11.526C5.3 33.68 6.6 32.68 7.85 33.34c.962.508.921 3.462 1.188 4.328 1.2 3.893 5.514 5.4 7.506 1.191.94 2.353 4.655 4.764 6.385 1.686 1.082 1.4 2.954 1.995 4.383.795 1.344-1.128 1.492-3.755 1.56-5.343.054-1.238-.497-2.764.454-3.658 1.047-.984 3.194-.57 4.37-1.839 1.34-1.45.789-3.146.892-4.872.104-1.746.416-1.301 1.71-2.562 2.885-2.81 3.374-7.807 1.875-11.343"></path><path id="Boo!" d="M14.42 28.121c2.02-1.822 1.591-7.397 1.424-9.959-.316-4.86-3.355-3.408-5.206-.38-1.4 2.29-4.766 5.994-3.257 8.876 1.202 2.296 5.18 3.136 7.039 1.463m13.37-8.847c-1.034-1.92-1.42-2.212-2.65-3.785-.791-1.011-1.9-2.802-3.404-2.442-2.582.62-1.528 6.612-1.498 8.402.024 1.358-.277 2.765.851 3.728 1.155.986 3.053.897 4.44.69 4.259-.633 4.062-3.253 2.262-6.593M19.24 31.83c-.284-.036.077-.362.12-.587.187.614.326.643-.12.587m1.045-4.31c-2.617-2.77-7.574 6.397-4.08 7.425.805.237 1.4-.363 2.155-.468 1.1-.153 2.024.487 2.973-.522 1.491-1.584.187-5.098-1.048-6.436"></path></g></g></g>',1),jy=[Gy];function qy(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...jy])}const Wy={render:qy},Yy=t.createStaticVNode('<g id="Clothing/Graphic-Shirt" transform="translate(0 170)"><defs><path id="react-path-1153" d="M165.624 29.268C202.76 32.138 232 63.18 232 101.052V110H32v-8.948c0-38.217 29.775-69.48 67.393-71.855A14 14 0 0 0 99 32.5C99 44.374 113.998 54 132.5 54S166 44.374 166 32.5c0-1.098-.128-2.178-.376-3.232"></path></defs><mask id="react-mask-1154" fill="#fff"><use href="#react-path-1153"></use></mask><use id="Clothes" fill="#E6E6E6" fill-rule="evenodd" href="#react-path-1153"></use><g id="Color/Palette/" fill="var(--avataaar-shirt-color)" fill-rule="evenodd" mask="url(#react-mask-1154)"><path id="Color" d="M0 0h264v110H0z"></path></g><g id="Clothing/Graphic/Bear" fill-rule="evenodd" stroke-width="1"><defs><path id="poly-1" d="M47.892.43v41.49H.453V.43z"></path></defs><g id="Group-76" transform="translate(108 59)"><path id="Fill-74" fill="#FFF" d="M34.447 31.586c-.479 2.816-4.08 7.345-7.147 4.384-3.467-3.344 4.225-4.81 1.481-7.594-1.184-1.2-4.412-.537-6.002-.41-1.49.117-3.866.454-3.296 2.624.433 1.65 1.71.944 2.389 1.892.535.748.308 3.507-.49 4.267-1.002.956-2.189.663-3.584.05-3.192-1.4-4.677-5.312-2.575-8.216 4.155-5.741 20.067-7.059 19.224 3.003M14.985 14.724c.985-.443 2.148-.203 2.732.787.802 1.356-.357 3.173-1.975 2.956-1.707-.23-2.57-2.919-.757-3.743m17.962 1.655c-.856 3.006-5.636-.378-2.936-2.29 1.552-1.099 3.447.491 2.936 2.29m14.88 6.79c-.236-2.38-.9-4.646-2.088-6.73-.623-1.093-1.393-2.111-2.19-3.081-.3-.365-.906-1.008-1.023-1.213-.709-1.24-.638-.362-.247-1.785.616-2.243 1.947-4.08.884-6.49-.99-2.24-3.655-3.293-5.984-3.426a8.2 8.2 0 0 0-3.207.449c-1.035.368-2.001 1.64-2.9 1.9-.698.204-2.685-.46-3.441-.508-1.395-.089-2.798-.05-4.192.034-1.63.096-5.376 1.263-6.913.877-1.015-.255-2.209-1.781-3.381-2.164C11.853.61 10.467.468 9.178.954c-2.285.864-4 3.552-4.053 5.942-.028 1.255.655 2.115.79 3.25.203 1.716.437.357-.487 1.726-.47.697-1.295 1.31-1.824 1.982C.779 17.44-.28 22.732.974 27.074c3.159 10.94 13.668 15.394 24.44 14.793 9.25-.516 23.564-7.718 22.413-18.698"></path></g></g></g>',1),Uy=[Yy];function Xy(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Uy])}const Zy={render:Xy},Qy=t.createStaticVNode('<g id="Clothing/Graphic-Shirt" transform="translate(0 170)"><defs><path id="react-path-1153" d="M165.624 29.268C202.76 32.138 232 63.18 232 101.052V110H32v-8.948c0-38.217 29.775-69.48 67.393-71.855A14 14 0 0 0 99 32.5C99 44.374 113.998 54 132.5 54S166 44.374 166 32.5c0-1.098-.128-2.178-.376-3.232"></path></defs><mask id="react-mask-1154" fill="#fff"><use href="#react-path-1153"></use></mask><use id="Clothes" fill="#E6E6E6" fill-rule="evenodd" href="#react-path-1153"></use><g id="Color/Palette/" fill="var(--avataaar-shirt-color)" fill-rule="evenodd" mask="url(#react-mask-1154)"><path id="Color" d="M0 0h264v110H0z"></path></g><g id="Clothing/Graphic/Deer" fill="#FFF" fill-rule="evenodd"><path id="oh,-deer!" d="M76.96 16.235c.395 1.425-2.228 2.67-3.106 3.419-1.507 1.283-3.065 2.634-4.825 3.547-.748.388-1.553.703-2.362.935-1.247.357-1.104.107-1.58 1.165-.838 1.86-1.055 4.334-1.812 6.312-1.704 4.454-5.767 14.8-12.267 10.259-2.068-1.445-3.197-4.247-4.36-6.436-1.335-2.512-2.613-5.508-3.381-8.25-.375-1.336-.137-1.79-1.13-2.415-.622-.392-1.679-.493-2.383-.78-1.5-.61-2.813-1.436-4.088-2.43-1.238-.966-6.11-4.951-2.132-5.691 1.825-.34 4.217-.214 6.067-.12 2.027.102 4.073.57 5.876 1.535 1.841.987 1.301.701 3.21.15-3.322-1.126-6.649-2.998-8.884-5.781-1.207-1.503-4-7.654-1.9-9.065 2.52-1.696 2.73 5.346 3.439 6.567 1.592 2.744 4.508 3.78 7.042 5.299-1.74-1.668-3.04-3.505-3.673-5.868-.275-1.025-1.026-3.489-.519-4.486.529-1.04 1.772-1.106 2.458-.22.618.797.462 2.63.674 3.591.35 1.589.921 2.81 1.982 4.04 1.505 1.747 3.417 3.175 5.669 3.728 5.127 1.258 6.92-4.108 7.608-8.245.168-1.013-.08-2.693 1.05-3.18 1.367-.588 1.896.747 1.936 1.782.087 2.314-1.056 5.857-2.166 7.845 2.79-1.732 5.003-4.478 5.899-7.688.33-1.188.062-3.836 1.174-4.503 1.54-.924 2.029.917 1.975 2.022-.319 6.515-5.298 12.44-11.488 14.069 1.518.759 1.318.93 2.848.023.885-.525 1.845-.93 2.827-1.23 1.47-.452 3.055-.682 4.58-.817 1.22-.107 5.274-.817 5.742.917m-18.1 8.386c.86-2.138-2.496-2.216-2.822.095-.416 2.945 2.755 3.176 2.822-.095m-1.93 9.016c.659-2.196-3.526-2.112-3.896-.17-.436 2.291 3.406 1.73 3.896.17M51.702 27c2.324 0 3.272-3.065.997-3.861-2.89-1.013-3.815 3.861-.997 3.861" transform="translate(77 58)"></path></g></g>',1),Ky=[Qy];function Jy(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ky])}const ek={render:Jy},tk=t.createStaticVNode('<g id="Clothing/Graphic-Shirt" transform="translate(0 170)"><defs><path id="react-path-1153" d="M165.624 29.268C202.76 32.138 232 63.18 232 101.052V110H32v-8.948c0-38.217 29.775-69.48 67.393-71.855A14 14 0 0 0 99 32.5C99 44.374 113.998 54 132.5 54S166 44.374 166 32.5c0-1.098-.128-2.178-.376-3.232"></path></defs><mask id="react-mask-1154" fill="#fff"><use href="#react-path-1153"></use></mask><use id="Clothes" fill="#E6E6E6" fill-rule="evenodd" href="#react-path-1153"></use><g id="Color/Palette/" fill="var(--avataaar-shirt-color)" fill-rule="evenodd" mask="url(#react-mask-1154)"><path id="Color" d="M0 0h264v110H0z"></path></g><g id="Clothing/Graphic/Hola" fill="#FFF" fill-rule="evenodd"><path id="Hola" d="M74.637 16.948c1.28 5.762-.904 11.244-5.33 15.004-2.08 1.768-4.434 3.074-7.056 3.835a25 25 0 0 1-4.497.87c-1.136.111-2.784-.4-3.79-.111-1.12.321-2.559 1.865-3.757 2.362a20 20 0 0 1-2.068.727c-1.506.438-3.065.734-4.613.977-1.602.25-8.283 1.302-7.455-1.637.284-1.01 3.11-2.504 3.724-3.184.454-.502 3.145-3.364 3.019-4.295-.04-.294-1.747-1.63-2.148-2.08-.909-1.019-1.762-2.058-2.245-3.351-.829-2.216-.786-4.998-.51-7.32.688-5.804 3.566-9.659 8.602-12.55 2.855-1.637 5.96-2.538 9.205-2.934 3.956-.483 7.11-.498 10.467 1.75 4.42 2.96 7.275 6.668 8.452 11.937m-5.131 6.988c1.086-.3-.308-3.053-1.079-1.72-.277.48.463 1.889 1.079 1.72m-1.821-5.322c.088.36.434.47.748.427.75-.104.28-.981.301-1.373.04-.749.107-2.639-.172-3.32-.513-1.254-.975-1.014-1.274.214-.267 1.1.123 2.947.397 4.052m-1.048 4.279c.843-.498-1.38-6.176-1.868-6.988-1.892-3.145-2.504 2.431-2.794 3.81-.125.596-1.518 6.781.339 4.787.99-1.064-.558-4.602 2.243-3.78.984.29.272.207.874 1.11.22.33.458 1.5 1.206 1.06Zm-6.342-1.294c.786-1.35-2.665-.721-3.062-.697.094-1.8.445-3.623.44-5.422 0-.475.165-2.191-.958-1.381-.454.327-.298 1.83-.336 2.28-.09 1.057-.948 4.707-.108 5.56.595.603 3.693.22 4.024-.34m-4.799-2.44c.338-1.344-.084-4.253-1.845-4.28-.613-.008-.335.831-.487.92-1.065.621-1.528.542-2.16 1.646-2.486 4.35 3.067 7.445 4.492 1.714m-6.027 3.83c.761-.21.546-9.977-.331-9.983-1.51-.008-.063 4.84-.635 5.49-.17.196-1.026.015-1.25.056-1.14.212-1.89.092-2.24-.606-.312-.62.36-4.88-1.258-2.79q.023 1.107.035 2.213.504 1.072-.376 1.306c-.03.47.392.864.397 1.017.025.771-.484 4.231.9 4.064.885-.107.32-3.481.317-4.03 1.143.027 2.34.155 3.475.008.006.427-.288 3.603.966 3.256ZM63.837 17A19 19 0 0 1 65 18.842q-.999.086-2 .158c.272-.668.544-1.335.837-2m-9.914 0c.145.423.256 3.288-1.355 2.976-.92-.177-.507-1.764-.246-2.091.55-.69.873-.448 1.601-.885" transform="translate(77 58)"></path></g></g>',1),ak=[tk];function nk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...ak])}const rk={render:nk},ok=t.createStaticVNode('<g id="Clothing/Graphic-Shirt" transform="translate(0 170)"><defs><path id="react-path-1153" d="M165.624 29.268C202.76 32.138 232 63.18 232 101.052V110H32v-8.948c0-38.217 29.775-69.48 67.393-71.855A14 14 0 0 0 99 32.5C99 44.374 113.998 54 132.5 54S166 44.374 166 32.5c0-1.098-.128-2.178-.376-3.232"></path></defs><mask id="react-mask-1154" fill="#fff"><use href="#react-path-1153"></use></mask><use id="Clothes" fill="#E6E6E6" fill-rule="evenodd" href="#react-path-1153"></use><g id="Color/Palette/" fill="var(--avataaar-shirt-color)" fill-rule="evenodd" mask="url(#react-mask-1154)"><path id="Color" d="M0 0h264v110H0z"></path></g><g id="Clothing/Graphic/Resist" fill-rule="evenodd" stroke-width="1"><g id="Resist" fill="#FFF" transform="translate(80 67)"><path id="!" d="M102.565 21.071c-3.082-.666-5.192 3.535-1.912 4.784 2.815 1.072 4.845-4.145 1.912-4.784"></path><path id="H" d="M101.191 18c3.657 0 2.308-5.981 2.321-7.965.014-2.137 1.545-8.596-.89-9.734-4.216-1.971-3.06 6.325-3.034 7.968.028 1.816.167 3.72-.229 5.508-.35 1.58-1.129 4.223 1.832 4.223"></path><path id="C" d="M96.058 1.974c-1.082-.622-2.801-.32-3.987-.374-1.349-.06-2.69-.195-4.035-.293-2.177-.16-4.956-.563-7.118-.068-1.226.28-2.338 1.225-1.761 2.608.62 1.49 2.303 1.105 3.58 1.03.585-.035 2.033-.29 2.605-.089.997.35.573-.108.801 1.067.349 1.807.14 4 .125 5.838-.026 3.174-.036 6.364-.103 9.536-.026 1.236-.44 2.632.757 3.448.998.68 2.216.225 2.733-.793.514-1.013.026-3.067-.029-4.196-.066-1.347-.136-2.676-.097-4.025.104-3.585.282-7.167.368-10.754.943.046 1.922.018 2.856.15.683.095 1.665.535 2.322.5 1.9-.1 2.694-2.587.983-3.585"></path><path id="A" d="M67.722 8.813c-.012-.053-.082-.644 0 0m-.037-.276c.004.025 0 .008 0 0m1.432-3.11c3.416-3.981 4.583 4.347 7.246 3.995 4.26-.564-.941-6.953-2.669-7.776-3.515-1.675-6.605.08-8.277 3.267-2.098 4-.77 6.708 3.258 8.444 1.471.635 7.04 2.528 5.53 4.959-.76 1.224-3.526 1.329-4.7 1.086-2.356-.486-1.989-2.086-3.135-3.573-1.033-1.34-3.03-.947-3.342.781-.245 1.358 1.17 3.425 2.115 4.38 2.233 2.256 6.04 2.437 8.887 1.41 4.386-1.583 4.917-5.71 1.806-8.905-1.749-1.795-3.933-2.34-6.113-3.418-2.645-1.306-2.15-2.39-.606-4.65"></path><path id="E" d="M58.75 20.568c-.564-4.825-.696-9.717-.78-14.563-.027-1.554.706-5.206-1.453-5.865-2.915-.89-2.528 2.692-2.467 4.164.205 4.913.842 9.789 1.071 14.696.073 1.557-.429 4.574 1.831 4.946 2.75.454 2.008-2.081 1.798-3.378"></path><path id="P" d="M49.472 4.68c-2.36-3.159-7.154-3.669-10.09-.758-2.072 2.054-3.377 6.92-1.416 9.403 2.124 2.691 7.355.332 8.725 3.383 1.682 3.743-2.73 5.148-5.074 2.663-.843-.894-.659-2.454-1.9-3.007-1.763-.785-2.864.928-2.517 2.359.848 3.5 4.652 5.39 8.101 5.272 3.768-.13 5.402-2.977 5.163-6.4-.33-4.735-3.985-5.476-7.99-5.998-1.698-.22-1.92-.2-1.816-1.952.128-2.118 1.37-4.567 3.991-4.063 2.106.405 2.294 3.571 4.455 3.718 3.496.239 1.256-3.433.368-4.62"></path><path id="M" d="M31.721 20.438c-1.337.32-2.963.098-4.327.073-1.053-.019-4.574.427-5.261-.296-.76-.8-.513-3.247-.545-4.286-.046-1.454-.404-1.67.872-2 .749-.193 1.907-.096 2.682-.131 1.515-.07 3.465.21 4.93-.088 1.37-.28 2.502-1.751 1.25-3.004-.886-.888-2.542-.411-3.631-.386-2.034.046-4.069.036-6.103.072.008-1.568-.043-3.147.079-4.71 2.847.14 5.812.881 8.659.745 1.44-.07 3.04-.992 2.31-2.73-.624-1.49-2.521-1.287-3.843-1.346-1.653-.075-3.308-.113-4.962-.17-1.224-.042-3.005-.445-4.159.107-2.362 1.13-1.55 5.01-1.485 7.112.084 2.666.085 5.268.177 7.956.084 2.433-.037 5.641 2.852 6.325 2.89.684 6.245.033 9.192.176 1.209.058 2.861.41 3.455-.996.569-1.349-.73-2.774-2.142-2.423"></path><path id="I" d="M8.41 5.88c2.321.5 2.942 3.014 3.02 5.149.054 1.46.183 1.373-1.003 1.74-1.19.368-2.92.169-4.139.116-2.543-.11-2.235-.278-2.284-2.945-.012-.625-.475-3.504-.108-3.91.476-.528 3.839-.203 4.514-.15m5.077 14.838c-1.29-1.504-2.586-2.94-4.034-4.286 2.158-.06 4.503-.473 5.27-2.819.648-1.982.085-5-.668-6.872-.994-2.47-3.062-4.119-5.635-4.478-1.796-.251-6.278-.673-7.62.71C-.665 4.482.352 8.623.442 10.47c.16 3.271.044 6.518-.157 9.785-.064 1.055-.582 2.787-.041 3.737.6 1.054 2.059 1.317 2.969.537.984-.844.529-1.878.468-2.961-.093-1.676.075-3.404.174-5.074 1.608 1.312 3.25 2.591 4.762 4.022 1.493 1.414 2.564 3.202 3.99 4.627 1.011 1.01 2.82 1.425 3.331-.448.44-1.608-1.571-2.951-2.451-3.977"></path></g></g></g>',1),ik=[ok];function sk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...ik])}const lk={render:sk},ck=t.createStaticVNode('<g id="Clothing/Graphic-Shirt" transform="translate(0 170)"><defs><path id="react-path-1153" d="M165.624 29.268C202.76 32.138 232 63.18 232 101.052V110H32v-8.948c0-38.217 29.775-69.48 67.393-71.855A14 14 0 0 0 99 32.5C99 44.374 113.998 54 132.5 54S166 44.374 166 32.5c0-1.098-.128-2.178-.376-3.232"></path></defs><mask id="react-mask-1154" fill="#fff"><use href="#react-path-1153"></use></mask><use id="Clothes" fill="#E6E6E6" fill-rule="evenodd" href="#react-path-1153"></use><g id="Color/Palette/" fill="var(--avataaar-shirt-color)" fill-rule="evenodd" mask="url(#react-mask-1154)"><path id="Color" d="M0 0h264v110H0z"></path></g><g id="Clothing/Graphic/Skull" fill="#FFF" fill-rule="evenodd" mask="url(#react-mask-1154)"><path id="Fill-49" d="M65.282 19.929c-.298 2.777-5.693 4.274-7.672 2.448-.912-.842-.927-2.574-1.128-3.702-.38-2.133-.656-4.258-.751-6.423-.058-1.325-.406-2.385 1.044-2.582.883-.12 1.793.468 2.515.933 2.447 1.573 6.33 6.138 5.992 9.326m-12.4-5.853c.284 2.825 1.32 7.739-.936 10.105-2.016 2.115-6.16.018-6.783-2.473-.773-3.09 2.275-6.78 4.145-8.87.574-.641 1.844-2.412 2.836-1.82.382.228.693 2.612.737 3.058m1.44 11.03c.647-1.523 6.913 3.019 3.953 5.18-.482.352-4.16 1.465-4.864.941-1.485-1.103.43-4.964.911-6.12m19.004-7.58c-.443-15.476-20.26-19.84-30.85-11.023-4.048 3.372-6.362 7.5-6.468 12.779-.09 4.471.619 8.689 4.034 11.764 1.481 1.333 2.46 2.149 3.245 3.97.824 1.906 1.2 4.335 2.742 5.833.85.825 2.09 1.492 3.266.96 2.162-.98 1.47-3.978 2.125-5.65 2.037 4.97 7.211 6.554 8.15.25 1.031 1.819 3.726 4.2 5.7 2.21.812-.82.934-2.15 1.072-3.227.245-1.912-.18-2.664 1.355-3.975 4.039-3.45 5.773-8.672 5.63-13.891" transform="translate(77 58)"></path></g></g>',1),dk=[ck];function uk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...dk])}const fk={render:uk},mk={Bat:My,Cumbia:_y,Diamond:Py,Pizza:$y,Selena:Iy,SkullOutline:Wy,Bear:Zy,Deer:ek,Hola:rk,Resist:lk,Skull:fk},hk=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("g",{id:"Eyes/Closed",opacity:".6",transform:"translate(0 8)"},[t.createElementVNode("path",{id:"Closed-Eye",d:"M16.16 32.447C18.007 28.65 22.164 26 26.998 26c4.816 0 8.961 2.63 10.817 6.407.552 1.122-.233 2.04-1.024 1.36-2.451-2.107-5.932-3.423-9.793-3.423-3.74 0-7.124 1.235-9.56 3.228-.891.728-1.818-.014-1.278-1.125m58 0C76.007 28.65 80.164 26 84.998 26c4.816 0 8.961 2.63 10.817 6.407.552 1.122-.233 2.04-1.024 1.36-2.451-2.107-5.932-3.423-9.793-3.423-3.74 0-7.124 1.235-9.56 3.228-.891.728-1.818-.014-1.278-1.125",transform:"matrix(1 0 0 -1 0 60)"})])],-1),pk=[hk];function gk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...pk])}const yk={render:gk},kk=t.createElementVNode("g",{class:"CustomColor",opacity:".6",transform:"translate(76 90)"},[t.createElementVNode("circle",{id:"Eye",cx:"30",cy:"22",r:"6"}),t.createElementVNode("circle",{id:"Eye",cx:"82",cy:"22",r:"6"})],-1),bk=[kk];function xk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...bk])}const wk={render:xk},vk=t.createStaticVNode('<g transform="translate(76 82)"><g id="Eyes/Eye-Roll" transform="translate(0 8)"><circle id="Eyeball" cx="30" cy="22" r="14" fill="#FFF"></circle><circle id="The-white-stuff" cx="82" cy="22" r="14" fill="#FFF"></circle><circle cx="30" cy="14" r="6" class="CustomColor" opacity=".7"></circle><circle cx="82" cy="14" r="6" class="CustomColor" opacity=".7"></circle></g></g>',1),Ek=[vk];function Ck(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ek])}const Sk={render:Ck},Mk=t.createElementVNode("g",{fill:"#FF5353",class:"CustomColor",opacity:".8",transform:"translate(76 90)"},[t.createElementVNode("path",{id:"Heart",d:"M35.958 10c-2.55 0-5.074 1.98-6.458 3.82-1.39-1.84-3.907-3.82-6.458-3.82C17.552 10 14 13.334 14 17.641c0 5.73 4.412 9.13 9.042 12.736 1.653 1.236 4.78 4.4 5.166 5.094.386.693 2.106.718 2.584 0 .477-.718 3.51-3.858 5.166-5.094C40.585 26.77 45 23.37 45 17.64c0-4.306-3.552-7.64-9.042-7.64m53 0c-2.55 0-5.074 1.98-6.458 3.82-1.39-1.84-3.907-3.82-6.458-3.82C70.552 10 67 13.334 67 17.641c0 5.73 4.412 9.13 9.042 12.736 1.653 1.236 4.78 4.4 5.166 5.094.386.693 2.106.718 2.584 0 .477-.718 3.51-3.858 5.166-5.094C93.585 26.77 98 23.37 98 17.64c0-4.306-3.552-7.64-9.042-7.64"})],-1),Bk=[Mk];function Ak(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Bk])}const Vk={render:Ak},_k=t.createStaticVNode('<g transform="translate(76 82)"><g id="Eyes/Squint" transform="translate(0 8)"><defs><path id="Eye1" d="M14 14.048c9.61 0 14 4.451 14-2.486C28 4.624 21.732 0 14 0S0 4.624 0 11.562s4.39 2.486 14 2.486"></path><path id="Eye2" d="M14 14.048c9.61 0 14 4.451 14-2.486C28 4.624 21.732 0 14 0S0 4.624 0 11.562s4.39 2.486 14 2.486"></path></defs><g id="Eye" transform="translate(16 13)"><mask id="EyeMask1" fill="#fff"><use href="#Eye1"></use></mask><use id="The-white-stuff" fill="#FFF" href="#Eye1"></use><circle cx="14" cy="10" r="6" class="CustomColor" mask="url('#EyeMask1')" opacity=".7"></circle></g><g id="Eye" transform="translate(68 13)"><mask id="EyeMask2" fill="#fff"><use href="#Eye2"></use></mask><use id="Eyeball-Mask" fill="#FFF" href="#Eye2"></use><circle cx="14" cy="10" r="6" class="CustomColor" mask="url('#EyeMask2')" opacity=".7"></circle></g></g></g>',1),Nk=[_k];function Dk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Nk])}const Tk={render:Dk},Pk=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("g",{id:"Eyes/Wink",opacity:".6",transform:"translate(0 8)"},[t.createElementVNode("circle",{id:"Eye",cx:"30",cy:"22",r:"6"}),t.createElementVNode("path",{id:"Winky-Wink",d:"M70.412 24.205c1.847-3.799 6.005-6.447 10.838-6.447 4.816 0 8.961 2.63 10.818 6.407.551 1.122-.234 2.04-1.025 1.36-2.451-2.108-5.932-3.424-9.793-3.424-3.74 0-7.124 1.235-9.56 3.228-.891.729-1.818-.013-1.278-1.124",transform:"rotate(-4 81.252 21.758)"})])],-1),Ok=[Pk];function Fk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ok])}const Lk={render:Fk},$k=t.createStaticVNode('<g transform="translate(76 82)"><g id="Eyes/Cry" transform="translate(0 8)"><circle cx="30" cy="22" r="6" class="CustomColor" opacity=".6"></circle><path id="Drop" fill="#92D9FF" d="M25 27s-6 7.27-6 11.27a6 6 0 1 0 12 0c0-4-6-11.27-6-11.27"></path><circle cx="82" cy="22" r="6" class="CustomColor" opacity=".6"></circle></g></g>',1),Rk=[$k];function Hk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Rk])}const zk={render:Hk},Ik=t.createElementVNode("g",{class:"CustomColor",opacity:".6",transform:"translate(76 90)"},[t.createElementVNode("path",{id:"Eye",d:"m29 25.2 5.5 5.5c.5.4 1.2.4 1.6 0l1.6-1.6c.4-.5.4-1.2 0-1.6L32.2 22l5.5-5.5c.4-.5.4-1.2 0-1.6l-1.6-1.6c-.5-.4-1.2-.4-1.6 0L29 18.8l-5.5-5.5c-.5-.4-1.2-.4-1.6 0l-1.6 1.6c-.4.4-.4 1.1 0 1.6l5.5 5.5-5.5 5.5c-.4.5-.4 1.2 0 1.6l1.6 1.6c.5.4 1.2.4 1.6 0zm54 0 5.5 5.5c.5.4 1.2.4 1.6 0l1.6-1.6c.4-.5.4-1.2 0-1.6L86.2 22l5.5-5.5c.4-.5.4-1.2 0-1.6l-1.6-1.6c-.5-.4-1.2-.4-1.6 0L83 18.8l-5.5-5.5c-.5-.4-1.2-.4-1.6 0l-1.6 1.6c-.4.4-.4 1.1 0 1.6l5.5 5.5-5.5 5.5c-.4.5-.4 1.2 0 1.6l1.6 1.6c.5.4 1.2.4 1.6 0z"})],-1),Gk=[Ik];function jk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Gk])}const qk={render:jk},Wk=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("g",{id:"Eyes/Happy",opacity:".6",transform:"translate(0 8)"},[t.createElementVNode("path",{id:"Squint",d:"M16.16 22.447C18.007 18.65 22.164 16 26.998 16c4.816 0 8.961 2.63 10.817 6.407.552 1.122-.233 2.04-1.024 1.36-2.451-2.107-5.932-3.423-9.793-3.423-3.74 0-7.124 1.235-9.56 3.228-.891.728-1.818-.014-1.278-1.125m58 0C76.007 18.65 80.164 16 84.998 16c4.816 0 8.961 2.63 10.817 6.407.552 1.122-.233 2.04-1.024 1.36-2.451-2.107-5.932-3.423-9.793-3.423-3.74 0-7.124 1.235-9.56 3.228-.891.728-1.818-.014-1.278-1.125"})])],-1),Yk=[Wk];function Uk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Yk])}const Xk={render:Uk},Zk=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("g",{id:"Eyes/Side",opacity:".6",transform:"translate(0 8)"},[t.createElementVNode("path",{id:"Eye",d:"M27.241 20.346a6 6 0 1 0 10.699 2.8 2 2 0 0 0-.125-.739 8 8 0 0 0-.144-.372 6 6 0 0 0-1.646-2.484C33.9 17.317 30.506 16 26.998 16c-4.834 0-8.991 2.649-10.838 6.447-.54 1.111.387 1.853 1.278 1.125 2.436-1.993 5.82-3.228 9.56-3.228zm58 0a6 6 0 1 0 10.699 2.8 2 2 0 0 0-.125-.739 8 8 0 0 0-.144-.372 6 6 0 0 0-1.646-2.484C91.9 17.317 88.506 16 84.998 16c-4.834 0-8.991 2.649-10.838 6.447-.54 1.111.387 1.853 1.278 1.125 2.436-1.993 5.82-3.228 9.56-3.228z"})])],-1),Qk=[Zk];function Kk(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Qk])}const Jk={render:Kk},eb=t.createStaticVNode('<g transform="translate(76 82)"><g id="Eyes/Surprised" transform="translate(0 8)"><circle id="The-White-Stuff" cx="30" cy="22" r="14" fill="#FFF"></circle><circle id="Eye-Ball" cx="82" cy="22" r="14" fill="#FFF"></circle><circle cx="30" cy="22" r="6" class="CustomColor" opacity=".7"></circle><circle cx="82" cy="22" r="6" class="CustomColor" opacity=".7"></circle></g></g>',1),tb=[eb];function ab(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...tb])}const nb={render:ab},rb=t.createStaticVNode('<g transform="translate(76 82)"><g id="Eyes/Wink-Wacky" transform="translate(0 8)"><circle id="cornea" cx="82" cy="22" r="12" fill="#FFF"></circle><circle cx="82" cy="22" r="6" class="CustomColor" opacity=".7"></circle><path id="Winky-Doodle" fill="#000" d="M16.16 25.447C18.007 21.65 22.164 19 26.998 19c4.816 0 8.961 2.63 10.817 6.407.552 1.122-.233 2.04-1.024 1.36-2.451-2.107-5.932-3.423-9.793-3.423-3.74 0-7.124 1.235-9.56 3.228-.891.728-1.818-.014-1.278-1.125" opacity=".6"></path></g></g>',1),ob=[rb];function ib(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...ob])}const sb={render:ib},lb={Close:yk,Default:wk,EyeRoll:Sk,Hearts:Vk,Squint:Tk,Wink:Lk,Cry:zk,Dizzy:qk,Happy:Xk,Side:Jk,Surprised:nb,WinkWacky:sb},cb=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("path",{id:"Eyebrow/Outline/Angry",d:"M15.611 15.185c4.24-5.769 6.878-5.484 13.313-.629l.67.508C34.422 18.726 36.708 20 40 20a2 2 0 1 0 0-4c-2.066 0-3.901-1.022-7.989-4.123-.375-.285-.492-.373-.678-.513-3.76-2.837-5.959-4.077-8.695-4.372-3.684-.398-7.058 1.482-10.25 5.823a2 2 0 0 0 3.223 2.37m80.777 0c-4.24-5.769-6.877-5.484-13.312-.629l-.67.508C77.578 18.726 75.292 20 72 20a2 2 0 1 1 0-4c2.066 0 3.901-1.022 7.989-4.123.375-.285.492-.373.678-.513 3.76-2.837 5.959-4.077 8.695-4.372 3.684-.398 7.058 1.482 10.25 5.823a2 2 0 0 1-3.224 2.37",class:"CustomColor",opacity:".6"})],-1),db=[cb];function ub(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...db])}const fb={render:ub},mb=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("path",{id:"Eyebrow/Natural/Flat-Natural",d:"M38.66 11.09c-4.998.362-9.923.086-14.918-.122-3.83-.158-7.717-.681-11.374 1.012-.7.324-4.53 2.28-4.44 3.349.07.855 3.935 2.191 4.63 2.436 3.67 1.29 7.181.896 10.954.67 4.628-.278 9.236-.074 13.861-.214 3.116-.093 7.917-.62 9.457-4.398.464-1.137.105-3.413-.36-4.657-.185-.496-.72-.683-1.125-.397-1.45 1.023-4.261 2.146-6.685 2.321m34.68 0c4.998.362 9.923.086 14.918-.122 3.83-.158 7.717-.681 11.374 1.012.7.324 4.53 2.28 4.44 3.349-.07.855-3.935 2.191-4.63 2.436-3.67 1.29-7.181.896-10.954.67-4.628-.278-9.236-.074-13.861-.214-3.116-.093-7.917-.62-9.457-4.398-.464-1.137-.105-3.413.36-4.657.185-.496.72-.683 1.125-.397 1.45 1.023 4.261 2.146 6.685 2.321",class:"CustomColor",opacity:".6"})],-1),hb=[mb];function pb(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...hb])}const gb={render:pb},yb=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("path",{id:"Eyebrow/Outline/Sad-Concerned",d:"M38.028 5.591c-1.48 8.389-14.09 14.18-23.238 10.432-1.015-.416-2.19.031-2.627.999s.033 2.09 1.048 2.505c11.444 4.69 26.835-2.38 28.762-13.303.183-1.039-.551-2.023-1.64-2.197-1.09-.175-2.122.525-2.305 1.564m35.945 0c1.48 8.389 14.09 14.18 23.238 10.432 1.014-.416 2.19.031 2.627.999s-.033 2.09-1.048 2.505c-11.444 4.69-26.835-2.38-28.762-13.303-.183-1.039.551-2.023 1.64-2.197 1.09-.175 2.121.525 2.305 1.564",class:"CustomColor",opacity:".6"})],-1),kb=[yb];function bb(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...kb])}const xb={render:bb},wb=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("path",{id:"Eyebrow/Natural/Up-Down-Natural",d:"m22.766 1.578.911-.402C28.92-.905 36.865-.033 41.723 2.299c.567.272.18 1.153-.402 1.108-14.919-1.151-24.963 8.146-28.375 14.44-.101.187-.407.208-.482.034-2.308-5.319 4.45-13.985 10.302-16.303M86.993 12.07c5.761.773 14.746 5.795 13.994 11.607-.024.19-.312.25-.436.091-2.487-3.188-21.712-7.872-28.714-6.894-.64.09-1.063-.571-.626-.984 3.744-3.535 10.62-4.518 15.782-3.82",class:"CustomColor",opacity:".6"})],-1),vb=[wb];function Eb(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...vb])}const Cb={render:Eb},Sb=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("path",{id:"Eyebrow/Natural/Angry-Natural",d:"M44.095 17.125q.006-.014 0 0M19.284 5.005c-2.368-.266-4.858.497-6.427 2.434-.59.728-1.553 2.48-1.509 3.417.017.356.225.375 1.124.59 1.646.392 4.5-1.114 6.355-.972 2.582.198 5.047 1.395 7.283 2.679 3.838 2.202 8.354 6.84 13.093 6.598.353-.018 5.42-1.739 4.41-2.723-.316-.484-3.034-1.128-3.501-1.361-2.172-1.084-4.367-2.448-6.443-3.718-4.528-2.772-8.944-6.338-14.385-6.944m48.746 12.12q-.006-.014 0 0m24.876-12.12c2.368-.266 4.857.497 6.426 2.434.59.728 1.554 2.48 1.509 3.417-.017.356-.225.375-1.124.59-1.645.392-4.5-1.114-6.355-.972-2.582.198-5.046 1.395-7.282 2.679-3.839 2.202-8.355 6.84-13.093 6.598-.353-.018-5.42-1.739-4.411-2.723.317-.484 3.034-1.128 3.502-1.361 2.171-1.084 4.367-2.448 6.442-3.718 4.528-2.772 8.945-6.338 14.386-6.944",class:"CustomColor",opacity:".6"})],-1),Mb=[Sb];function Bb(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Mb])}const Ab={render:Bb},Vb=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("path",{id:"Eyebrow/Natural/Frown-Natural",d:"M36.37 6.876c-1.97 2.905-5.546 4.64-8.738 5.684-3.943 1.29-18.552 3.38-15.112 11.348a.147.147 0 0 0 .272.002c1.153-2.645 17.465-5.123 18.973-5.704 4.445-1.709 8.393-5.49 9.162-10.543.352-2.317-.637-6.049-1.548-7.55-.11-.18-.374-.136-.43.069-.36 1.331-1.41 4.971-2.58 6.694m39.261 0c1.97 2.905 5.546 4.64 8.738 5.684 3.943 1.29 18.551 3.379 15.112 11.348a.147.147 0 0 1-.272.002c-1.153-2.645-17.465-5.123-18.973-5.704-4.445-1.709-8.393-5.49-9.162-10.543-.352-2.317.637-6.049 1.548-7.55.11-.18.374-.136.43.069.36 1.331 1.41 4.971 2.58 6.694",class:"CustomColor",opacity:".6"})],-1),_b=[Vb];function Nb(e,a){return t.openBlock(),t.createElementBlock("svg",null,[..._b])}const Db={render:Nb},Tb=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("path",{id:"Eyebrow/Natural/Sad-Concerned-Natural",d:"m31.234 20.422-.911.402c-5.242 2.081-13.188 1.209-18.046-1.123-.567-.272-.18-1.153.402-1.108 14.919 1.151 24.963-8.146 28.375-14.44.101-.187.407-.208.482-.034 2.308 5.319-4.45 13.985-10.302 16.303m49.532 0 .911.402c5.242 2.081 13.188 1.209 18.046-1.123.567-.272.18-1.153-.402-1.108-14.919 1.151-24.963-8.146-28.375-14.44-.101-.187-.407-.208-.482-.034-2.308 5.319 4.45 13.985 10.302 16.303",class:"CustomColor",opacity:".6"})],-1),Pb=[Tb];function Ob(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Pb])}const Fb={render:Ob},Lb=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("g",{id:"Eyebrow/Outline/Default",opacity:".6"},[t.createElementVNode("path",{id:"I-Browse",d:"M15.63 17.159c3.915-5.51 14.648-8.598 23.893-6.328a2 2 0 0 0 .954-3.884C29.74 4.31 17.312 7.887 12.37 14.84a2 2 0 0 0 3.26 2.318Zm80.74 0c-3.915-5.51-14.648-8.598-23.893-6.328a2 2 0 0 1-.954-3.884c10.737-2.637 23.165.94 28.108 7.894a2 2 0 0 1-3.26 2.318Z",class:"CustomColor"})])],-1),$b=[Lb];function Rb(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...$b])}const Hb={render:Rb},zb=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("g",{id:"Eyebrow/Outline/Raised-Excited",opacity:".6"},[t.createElementVNode("path",{id:"I-Browse",d:"M15.976 17.128C17.47 7.605 30.059 1.108 39.164 5.3a2 2 0 0 0 1.672-3.633c-11.487-5.29-26.9 2.664-28.812 14.84a2 2 0 1 0 3.952.62Zm80.048 0C94.53 7.605 81.942 1.108 72.837 5.3a2 2 0 0 1-1.673-3.633c11.487-5.29 26.9 2.664 28.812 14.84a2 2 0 0 1-3.952.62Z",class:"CustomColor"})])],-1),Ib=[zb];function Gb(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Ib])}const jb={render:Gb},qb=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("g",{id:"Eyebrow/Natural/Unibrow-Natural",opacity:".6"},[t.createElementVNode("path",{d:"M56.997 12.82q0-.005 0 0m2.559 2.805c1.892 1.101 4.717 1.734 6.315 1.94 6.277.807 12.266-1.535 18.386-2.68 5.432-1.015 11.625-1.925 16.73.91.13.072 1.162.667 1.707 1.184a.81.81 0 0 0 1.291-.224c1.325-2.726-6.402-8.594-7.865-9.153-6.627-2.528-15.176.704-21.796 2.001-3.717.728-7.462 1.252-11.115 2.29-1.31.373-2.58 1.007-3.862 1.218-.162-.224-.362-.36-.588-.352-1.17.04-2.796 3.557-.56 3.676.7.038 1.13-.312 1.357-.81",class:"CustomColor"}),t.createElementVNode("path",{d:"M55.003 12.79q.002-.005 0 0M15.881 7.573c6.626-2.528 15.176.705 21.796 2.001 3.716.729 7.461 1.253 11.114 2.291 1.47.418 2.887 1.165 4.33 1.274.7.053 1.106.903.635 1.435-1.545 1.74-5.586 2.7-7.626 2.962-6.278.807-12.267-1.534-18.387-2.679-5.432-1.016-11.624-1.925-16.73.91-.13.071-1.161.666-1.707 1.184a.81.81 0 0 1-1.29-.224C6.69 14 14.417 8.133 15.881 7.573m39.092 4.217c1.17.041 2.762 4.5.525 4.674-2.237.173-1.696-4.715-.525-4.674",class:"CustomColor"})])],-1),Wb=[qb];function Yb(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Wb])}const Ub={render:Yb},Xb=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("path",{id:"Eyebrow/Natural/Default-Natural",d:"M26.547 6.148c-5.807.269-15.195 4.488-14.953 10.344.008.192.29.276.427.129 2.755-2.96 22.316-5.95 29.205-4.365.63.145 1.11-.477.71-.927-3.422-3.848-10.186-5.426-15.389-5.18m59.906-.001c5.807.269 15.195 4.488 14.953 10.344-.008.192-.29.276-.427.129-2.755-2.96-22.316-5.95-29.205-4.365-.63.145-1.11-.477-.71-.927 3.422-3.848 10.186-5.426 15.389-5.18",class:"CustomColor",opacity:".6"})],-1),Zb=[Xb];function Qb(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Zb])}const Kb={render:Qb},Jb=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("path",{id:"Eyebrow/Natural/Raised-Excited-Natural",d:"m22.766 1.578.911-.402C28.92-.905 36.865-.033 41.723 2.299c.567.272.18 1.153-.402 1.108-14.919-1.151-24.963 8.146-28.375 14.44-.101.187-.407.208-.482.034-2.308-5.319 4.45-13.985 10.302-16.303m66.468 0-.911-.402C83.08-.905 75.135-.033 70.277 2.299c-.567.272-.18 1.153.402 1.108 14.919-1.151 24.963 8.146 28.375 14.44.101.187.407.208.482.034 2.308-5.319-4.45-13.985-10.302-16.303",class:"CustomColor",opacity:".6"})],-1),ex=[Jb];function tx(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...ex])}const ax={render:tx},nx=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("path",{id:"Eyebrow/Outline/Up-Down",d:"M15.591 14.162c4.496-6.326 14.012-9.508 23.756-6.366a2 2 0 1 0 1.228-3.807c-11.408-3.68-22.74.11-28.244 7.856a2 2 0 1 0 3.26 2.317m80.786 6.996c-3.914-5.509-14.647-8.598-23.892-6.328a2 2 0 0 1-.954-3.884c10.736-2.637 23.165.94 28.107 7.895a2 2 0 1 1-3.26 2.317Z",class:"CustomColor",opacity:".6"})],-1),rx=[nx];function ox(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...rx])}const ix={render:ox},sx={Angry:fb,FlatNatural:gb,SadConcerned:xb,UpDownNatural:Cb,AngryNatural:Ab,FrownNatural:Db,SadConcernedNatural:Fb,Default:Hb,RaisedExcited:jb,UnibrowNatural:Ub,DefaultNatural:Kb,RaisedExcitedNatural:ax,UpDown:ix},lx=t.createStaticVNode('<g transform="translate(76 82)"><g id="Mouth/Concerned" transform="translate(2 52)"><defs><path id="Mouth1" d="M35.118 15.128C36.176 24.62 44.226 32 54 32c9.804 0 17.874-7.426 18.892-16.96.082-.767-.775-2.04-1.85-2.04H37.088c-1.08 0-2.075 1.178-1.97 2.128"></path></defs><mask id="MouthMask1" fill="#fff"><use href="#Mouth1" transform="matrix(1 0 0 -1 0 45)"></use></mask><use id="Mouth" fill="#000" href="#Mouth1" opacity=".7" transform="matrix(1 0 0 -1 0 45)"></use><rect id="Teeth" width="31" height="16" x="39" y="2" fill="#FFF" mask="url('#MouthMask1')" rx="5"></rect><g id="Tongue" fill="#FF4F6D" mask="url('#MouthMask1')"><g transform="translate(38 24)"><circle id="friend?" cx="11" cy="11" r="11"></circle><circle id="How-you-doing" cx="21" cy="11" r="11"></circle></g></g></g></g>',1),cx=[lx];function dx(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...cx])}const ux={render:dx},fx=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("g",{id:"Mouth/Disbelief",fill:"#000",opacity:".7",transform:"translate(2 52)"},[t.createElementVNode("path",{id:"Mouth",d:"M40 15c0 7.732 6.268 14 14 14s14-6.268 14-14",transform:"matrix(1 0 0 -1 0 44)"})])],-1),mx=[fx];function hx(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...mx])}const px={render:hx},gx=t.createStaticVNode('<g transform="translate(76 82)"><g id="Mouth/Grimace" transform="translate(2 52)"><defs><rect id="Grimace-path1" width="60" height="22" x="24" y="9" rx="11"></rect></defs><rect id="Mouth" width="64" height="26" x="22" y="7" fill="#000" opacity=".6" rx="13"></rect><mask id="Grimace-mask1" fill="#fff"><use href="#Grimace-path1"></use></mask><use id="Mouth" fill="#FFF" href="#Grimace-path1"></use><path id="Grimace-Teeth" fill="#E6E6E6" d="M71 22h-9v12h-4V22h-9v12h-4V22h-9v12h-4V22h-8v-4h8V6h4v12h9V6h4v12h9V6h4v12h9V6h4v12h8.867v4H75v12h-4z" mask="url('#Grimace-mask1')"></path></g></g>',1),yx=[gx];function kx(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...yx])}const bx={render:kx},xx=t.createStaticVNode('<g transform="translate(76 82)"><g id="Mouth/Scream-Open" transform="translate(2 52)"><defs><path id="ScreamOpen-path1" d="M34.008 15.136C35.128 29.124 38.235 40.993 53.996 41c15.762.007 18.92-11.943 19.998-25.994.087-1.13-.82-2.006-1.957-2.006-6.686 0-9.367 1.994-18.048 2s-13.232-2-17.897-2c-1.143 0-2.196.737-2.084 2.136"></path></defs><mask id="ScreamOpen-mask1" fill="#fff"><use href="#ScreamOpen-path1" transform="matrix(1 0 0 -1 0 54)"></use></mask><use id="Mouth" fill="#000" href="#ScreamOpen-path1" opacity=".7" transform="matrix(1 0 0 -1 0 54)"></use><rect id="Teeth" width="31" height="16" x="39" y="2" fill="#FFF" mask="url('#ScreamOpen-mask1')" rx="5"></rect><g id="Tongue" fill="#FF4F6D" mask="url('#ScreamOpen-mask1')"><g id="Say-ahhhh" transform="translate(38 32)"><circle cx="11" cy="11" r="11"></circle><circle cx="21" cy="11" r="11"></circle></g></g></g></g>',1),wx=[xx];function vx(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...wx])}const Ex={render:vx},Cx=t.createStaticVNode('<g transform="translate(76 82)"><g id="Mouth/Smile" transform="translate(2 52)"><defs><path id="Smile-path1" d="M35.118 15.128C36.176 24.62 44.226 32 54 32c9.804 0 17.874-7.426 18.892-16.96.082-.767-.775-2.04-1.85-2.04H37.088c-1.08 0-2.075 1.178-1.97 2.128"></path></defs><mask id="Smile-mask1" fill="#fff"><use href="#Smile-path1"></use></mask><use id="Mouth" fill="#000" href="#Smile-path1" opacity=".7"></use><rect id="Teeth" width="31" height="16" x="39" y="2" fill="#FFF" mask="url('#Smile-mask1')" rx="5"></rect><g id="Tongue" fill="#FF4F6D" mask="url('#Smile-mask1')"><g transform="translate(38 24)"><circle cx="11" cy="11" r="11"></circle><circle cx="21" cy="11" r="11"></circle></g></g></g></g>',1),Sx=[Cx];function Mx(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Sx])}const Bx={render:Mx},Ax=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("g",{id:"Mouth/Twinkle",fill:"#000",opacity:".6",transform:"translate(2 52)"},[t.createElementVNode("path",{id:"Mouth",d:"M40 16c0 5.372 6.158 9 14 9s14-3.628 14-9c0-1.105-.95-2-2-2-1.293 0-1.87.905-2 2-1.242 2.938-4.317 4.716-10 5-5.683-.284-8.758-2.062-10-5-.13-1.095-.707-2-2-2-1.05 0-2 .895-2 2"})])],-1),Vx=[Ax];function _x(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Vx])}const Nx={render:_x},Dx=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("g",{id:"Mouth/Default",opacity:".7",transform:"translate(2 52)"},[t.createElementVNode("path",{id:"Mouth",d:"M40 15c0 7.732 6.268 14 14 14s14-6.268 14-14"})])],-1),Tx=[Dx];function Px(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Tx])}const Ox={render:Px},Fx=t.createStaticVNode('<g transform="translate(76 82)"><g id="Mouth/Eating" transform="translate(2 52)"><g id="Om-Nom-Nom" fill="#000" opacity=".6" transform="translate(28 6)"><path id="Delicious" d="M16.19 10.106C16.019 4.996 11.793.797 6.295 0 9.66 1.959 11.98 5.495 11.98 9.677c0 5.668-5.473 10.568-11.803 10.568H0A13 13 0 0 0 4.392 21c5.322 0 9.821-3.153 11.294-7.486 2.475 2.156 6.177 3.525 10.314 3.525s7.84-1.37 10.314-3.525C37.787 17.847 42.286 21 47.608 21c1.552 0 3.034-.268 4.392-.756l-.177.001c-6.33 0-11.803-4.9-11.803-10.568 0-4.182 2.32-7.718 5.686-9.677-5.498.797-9.724 4.996-9.897 10.106-2.564 1.736-6.014 2.8-9.809 2.8s-7.245-1.064-9.81-2.8"></path></g><circle id="Redish" cx="17" cy="15" r="9" fill="#FF4646" opacity=".2"></circle><circle id="Redish" cx="91" cy="15" r="9" fill="#FF4646" opacity=".2"></circle></g></g>',1),Lx=[Fx];function $x(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Lx])}const Rx={render:$x},Hx=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("g",{id:"Mouth/Sad",fill:"#000",opacity:".7",transform:"translate(2 52)"},[t.createElementVNode("path",{id:"Mouth",d:"M40.058 16.654c.65 7.03 6.644 11.723 13.942 11.723 7.342 0 13.363-4.75 13.953-11.848.031-.378-.876-.676-1.324-.452q-8.308 4.16-12.629 4.16-4.266 0-12.446-4.069c-.507-.252-1.534.068-1.496.486",transform:"matrix(1 0 0 -1 0 44.377)"})])],-1),zx=[Hx];function Ix(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...zx])}const Gx={render:Ix},jx=t.createElementVNode("g",{transform:"translate(76 82)"},[t.createElementVNode("g",{id:"Mouth/Serious",fill:"#000",opacity:".7",transform:"translate(2 52)"},[t.createElementVNode("rect",{id:"Why-so-serious?",width:"24",height:"6",x:"42",y:"18",rx:"3"})])],-1),qx=[jx];function Wx(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...qx])}const Yx={render:Wx},Ux=t.createStaticVNode('<g transform="translate(76 82)"><g id="Mouth/Tongue" transform="translate(2 52)"><defs><path id="Tongue-path1" d="M29 15.609C30.41 25.23 41.062 33 54 33c12.968 0 23.646-7.817 25-18.26.101-.4-.225-1.74-2.174-1.74H31.174c-1.79 0-2.304 1.24-2.174 2.609"></path></defs><mask id="Tongue-mask1" fill="#fff"><use href="#Tongue-path1"></use></mask><use id="Mouth" fill="#000" href="#Tongue-path1" opacity=".7"></use><rect id="Teeth" width="31" height="16" x="39" y="2" fill="#FFF" mask="url('#Tongue-mask1')" rx="5"></rect><path id="Tongue" fill="#FF4F6D" d="M65.984 23.747Q66 23.871 66 24v9c0 6.075-4.925 11-11 11h-1c-6.075 0-11-4.925-11-11v-9q0-.129.016-.253A2 2 0 0 1 43 23.5c0-1.933 2.91-3.5 6.5-3.5 2.01 0 3.808.491 5 1.263 1.192-.772 2.99-1.263 5-1.263 3.59 0 6.5 1.567 6.5 3.5q0 .124-.016.247"></path></g></g>',1),Xx=[Ux];function Zx(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Xx])}const Qx={render:Zx},Kx=t.createStaticVNode('<g transform="translate(76 82)"><g id="Mouth/Vomit" transform="translate(2 52)"><defs><path id="Vomit-path1" d="M34.008 12.602c1.12 10.49 4.227 19.392 19.988 19.398 15.762.006 18.92-8.958 19.998-19.495.087-.848-.82-1.505-1.957-1.505-6.686 0-9.367 1.495-18.048 1.5S40.757 11 36.092 11c-1.143 0-2.196.552-2.084 1.602"></path><path id="Vomit-path2" d="M59.917 36H60a6 6 0 1 0 12 0v-5a6 6 0 0 0-6-6H42a6 6 0 0 0-6 6v7a6 6 0 1 0 12 0v-2h.083a6.002 6.002 0 0 1 11.834 0"></path><filter id="filter1" width="102.8%" height="105.3%" x="-1.4%" y="-2.6%" filterUnits="objectBoundingBox"><feOffset dy="-1" in="SourceAlpha" result="shadowOffsetInner1"></feOffset><feComposite in="shadowOffsetInner1" in2="SourceAlpha" k2="-1" k3="1" operator="arithmetic" result="shadowInnerInner1"></feComposite><feColorMatrix in="shadowInnerInner1" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"></feColorMatrix></filter></defs><mask id="Vomit-mask1" fill="#fff"><use href="#Vomit-path1" transform="matrix(1 0 0 -1 0 43)"></use></mask><use id="Mouth" fill="#000" href="#Vomit-path1" opacity=".7" transform="matrix(1 0 0 -1 0 43)"></use><rect id="Teeth" width="31" height="16" x="39" y="0" fill="#FFF" mask="url('#Vomit-mask1')" rx="5"></rect><g id="Vomit-Stuff"><use fill="#88C553" href="#Vomit-path2"></use><use filter="url('#filter1')" href="#Vomit-path2"></use></g></g></g>',1),Jx=[Kx];function ew(e,a){return t.openBlock(),t.createElementBlock("svg",null,[...Jx])}const tw={render:ew},aw={Concerned:ux,Disbelief:px,Grimace:bx,ScreamOpen:Ex,Smile:Bx,Twinkle:Nx,Default:Ox,Eating:Rx,Sad:Gx,Serious:Yx,Tongue:Qx,Vomit:tw},nw=(e="#6fb8e0")=>[t.h("g",{id:"Circle","stroke-width":"1","fill-rule":"evenodd",transform:"translate(12.000000, 40.000000)"},[t.h("mask",{id:"mask-1",fill:"white"},[t.h("use",{href:"#path-1"})]),t.h("use",{id:"Circle-Background",fill:"#E6E6E6",href:"#path-1"}),t.h("g",{id:"Color/Palette/Blue-01",mask:"url(#mask-1)",fill:e},[t.h("rect",{id:"Color",x:"0",y:"0",width:"240",height:"240"})])]),t.h("mask",{id:"mask-2",fill:"white"},[t.h("use",{href:"#path-2"})])],rw=e=>{const a={"--avataaar-hair-color":e.hairColor,"--avataaar-facial-hair-color":e.facialHairColor,"--avataaar-top-color":e.topColor,"--avataaar-shirt-color":e.clothesColor};return t.h("svg",{viewBox:"0 0 264 280",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},[t.h("desc","vue3-avataaars"),t.h("defs",[t.h("circle",{id:"path-1",cx:"120",cy:"120",r:"120"}),t.h("path",{id:"path-2",d:"M12,160 C12,226.27417 65.72583,280 132,280 C198.27417,280 252,226.27417 252,160 L264,160 L264,-1.42108547e-14 L-3.19744231e-14,-1.42108547e-14 L-3.19744231e-14,160 L12,160 Z"}),t.h("path",{id:"path-silhouette",d:"M124,144.610951 L124,163 L128,163 L128,163 C167.764502,163 200,195.235498 200,235 L200,244 L0,244 L0,235 C-4.86974701e-15,195.235498 32.235498,163 72,163 L72,163 L76,163 L76,144.610951 C58.7626345,136.422372 46.3722246,119.687011 44.3051388,99.8812385 C38.4803105,99.0577866 34,94.0521096 34,88 L34,74 C34,68.0540074 38.3245733,63.1180731 44,62.1659169 L44,56 L44,56 C44,25.072054 69.072054,5.68137151e-15 100,0 L100,0 L100,0 C130.927946,-5.68137151e-15 156,25.072054 156,56 L156,62.1659169 C161.675427,63.1180731 166,68.0540074 166,74 L166,88 C166,94.0521096 161.51969,99.0577866 155.694861,99.8812385 C153.627775,119.687011 141.237365,136.422372 124,144.610951 Z"})]),t.h("g",{id:"Avataaar",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},[t.h("g",{id:"Avataaar/Circle",transform:"translate(-825.000000, -1100.000000)"},[t.h("g",{transform:"translate(825.000000, 1100.000000)"},[e.isCircle?nw(e.circleColor):null,t.h("g",{id:"Mask"}),t.h("g",{id:"Avataaar","stroke-width":"1","fill-rule":"evenodd",fill:"black",mask:"url(#mask-2)",style:a},[t.h("g",{id:"Body",transform:"translate(32.000000, 36.000000)"},[t.h("mask",{id:"mask-silhouette",fill:"white"},[t.h("use",{href:"#path-silhouette"})]),t.h("use",{fill:e.skinColor,href:"#path-silhouette"}),t.h("path",{id:"Neck-Shadow",d:"M156,79 L156,102 C156,132.927946 130.927946,158 100,158 C69.072054,158 44,132.927946 44,102 L44,79 L44,94 C44,124.927946 69.072054,150 100,150 C130.927946,150 156,124.927946 156,94 L156,79 Z","fill-opacity":"0.100000001",fill:"#000000",mask:"url(#mask-silhouette)"})]),t.h(kh[e.clothes]),e.clothes==="GraphicShirt"?t.h(mk[e.graphicShirt]):null,t.h(lb[e.eyes]),t.h(sx[e.eyebrows]),t.h(aw[e.mouth]),t.h("svg",[t.h("g",{fill:"black",transform:"translate(76.000000, 82.000000)"},[t.h("g",{id:"Nose/Default",transform:"translate(28.000000, 40.000000)",opacity:"0.16"},[t.h("path",{id:"Nose",d:"M16,8 C16,12.418278 21.372583,16 28,16 L28,16 C34.627417,16 40,12.418278 40,8"})])])]),t.h(Jg[e.top]),t.h(vy[e.facialHair]),t.h(O9[e.accessories])])])])])])};function na(e){return e[Math.floor(Math.random()*e.length)]}function ow(e){return na(Object.keys(e))}function An(e){return e[ow(e)]}const F1={Black:"#262E33",Blue01:"#65C9FF",Blue02:"#5199E4",Blue03:"#25557C",Gray01:"#E6E6E6",Gray02:"#929598",Heather:"#3C4F5C",PastelBlue:"#B1E2FF",PastelGreen:"#A7FFC4",PastelOrange:"#FFBC69",PastelRed:"#FFAFB9",PastelYellow:"#FFFFB1",Pink:"#FF488E",Red:"#FF5C5C",White:"#FFFFFF"},L1={Auburn:"#A55728",Black:"#2C1B18",Blonde:"#B58143",BlondeGolden:"#D6B370",Brown:"#724133",BrownDark:"#4A312C",PastelPink:"#F59797",Platinum:"#ECDCBF",Red:"#C93305",SilverGray:"#E8E1E1"},iw={Tanned:"#FD9841",Yellow:"#F8D25C",Pale:"#FFDBB4",Light:"#EDB98A",Brown:"#D08B5B",DarkBrown:"#AE5D29",Black:"#614335"},sw=["Blank","Prescription01","Round","Wayfarers","Kurt","Prescription02","Sunglasses"],lw=["Close","Default","EyeRoll","Hearts","Squint","Wink","Cry","Dizzy","Happy","Side","Surprised","WinkWacky"],cw=["Angry","FlatNatural","SadConcerned","UpDownNatural","AngryNatural","FrownNatural","SadConcernedNatural","Default","RaisedExcited","UnibrowNatural","DefaultNatural","RaisedExcitedNatural","UpDown"],dw=["BeardMajestic","BeardLight","MoustacheFancy","BeardMedium","Blank","MoustacheMagnum"],uw=["Concerned","Disbelief","Grimace","ScreamOpen","Smile","Twinkle","Default","Eating","Sad","Serious","Tongue","Vomit"],fw=["Eyepatch","Hat","Hijab","LongHairBigHair","LongHairBob","LongHairBun","LongHairCurly","LongHairCurvy","LongHairDreads","LongHairFrida","LongHairFro","LongHairFroBand","LongHairMiaWallace","LongHairNotTooLong","LongHairShavedSides","LongHairStraight","LongHairStraight2","LongHairStraightStrand","NoHair","ShortHairDreads01","ShortHairDreads02","ShortHairFrizzle","ShortHairShaggy","ShortHairShaggyMullet","ShortHairShortCurly","ShortHairShortFlat","ShortHairShortRound","ShortHairShortWaved","ShortHairSides","ShortHairTheCaesar","ShortHairTheCaesarSidePart","Turban","WinterHat1","WinterHat2","WinterHat3","WinterHat4"],mw=["BlazerShirt","CollarSweater","BlazerSweater","Hoodie","GraphicShirt","Overall","ShirtCrewNeck","ShirtVNeck","ShirtScoopNeck"],hw=["Bat","Cumbia","Diamond","Pizza","Selena","SkullOutline","Bear","Deer","Hola","Resist","Skull"],wr=(e={})=>{var a,n,r,o,i,s,l,c,p,u,m,d,h,f;return{isCircle:e.isCircle===void 0?!1:e.isCircle,circleColor:(a=e.circleColor)!=null?a:void 0,skinColor:(n=e.skinColor)!=null?n:An(iw),hairColor:(r=e.hairColor)!=null?r:An(L1),topColor:(o=e.topColor)!=null?o:An(F1),clothesColor:(i=e.clothesColor)!=null?i:An(F1),facialHairColor:(s=e.facialHairColor)!=null?s:An(L1),accessories:(l=e.accessories)!=null?l:na(sw),eyes:(c=e.eyes)!=null?c:na(lw),eyebrows:(p=e.eyebrows)!=null?p:na(cw),mouth:(u=e.mouth)!=null?u:na(uw),top:(m=e.top)!=null?m:na(fw),clothes:(d=e.clothes)!=null?d:na(mw),graphicShirt:(h=e.graphicShirt)!=null?h:na(hw),facialHair:(f=e.facialHair)!=null?f:na(dw)}},$1={isCircle:!0,circleColor:"#22c55e",skinColor:"#D08B5B",hairColor:"#E8E1E1",topColor:"#E6E6E6",clothesColor:"blue",facialHairColor:"#E8E1E1",accessories:"Blank",eyes:"Default",eyebrows:"DefaultNatural",mouth:"Default",top:"NoHair",clothes:"GraphicShirt",graphicShirt:"Pizza",facialHair:"Blank"},pw={class:"main-container"},gw=["src"],yw={key:1,class:"avatar-section flex flex-col"},kw={id:"avatar-container",class:"avatar-container"},bw={class:"controls"},xw={class:"checkbox-label checkbox-wrapper-2",for:"avatarLabel"},R1=je({__name:"randomAvatar",props:{content:{type:String,default:null}},emits:["base64","random"],setup(e,{emit:a}){const n=t.ref($1),r=t.ref($1),o=t.ref(!1);t.onMounted(async()=>{n.value=wr(n.value),await t.nextTick(),p()});const i=a,s=e,l=async()=>{if(o.value)n.value=wr(r.value);else{const u={...r.value,facialHair:"Blank"};n.value=wr(u)}await t.nextTick(),p()},c=async()=>{n.value=wr({isCircle:!0,circleColor:"#22c55e",facialHair:o.value?"Blank":null});const u=n.value;r.value=u,await t.nextTick(),p()},p=()=>{const u=document.querySelector("#avatar-container svg");if(!u){console.error("Avatar não encontrado!");return}let d=new XMLSerializer().serializeToString(u);const f=`data:image/svg+xml;base64,${window.btoa(unescape(encodeURIComponent(d)))}`;i("base64",f)};return(u,m)=>(t.openBlock(),t.createElementBlock("main",pw,[s.content?(t.openBlock(),t.createElementBlock("img",{key:0,class:"max-w-[45%] max-h-[45%] flex items-center justify-center mx-auto",src:s.content},null,8,gw)):(t.openBlock(),t.createElementBlock("section",yw,[t.createElementVNode("div",kw,[t.createVNode(t.unref(rw),t.normalizeProps(t.guardReactiveProps(n.value)),null,16)]),t.createElementVNode("div",bw,[t.createElementVNode("label",xw,[t.withDirectives(t.createElementVNode("input",{id:"avatarLabel","onUpdate:modelValue":m[0]||(m[0]=d=>o.value=d),type:"checkbox",onInput:l,class:"sc-gJwTLC ikxBAC"},null,544),[[t.vModelCheckbox,o.value]]),m[1]||(m[1]=t.createTextVNode(" Remover barba "))]),t.createElementVNode("button",{onClick:c,class:"generate-button"}," Gerar Avatar ")])]))]))}},[["__scopeId","data-v-a1b7ef69"]]),ww={class:"modal_container"},vw={class:"modal_box"},Ew={class:"modal_header"},H1=je({__name:"min_modal",props:{defineWidth:{type:String,default:"max-width-md"}},emits:["close"],setup(e,{emit:a}){const n=a,r=()=>{n("close")};return(o,i)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("div",{class:"min_modal"},[t.createElementVNode("div",{class:"modal_overlay",onClick:r})]),t.createElementVNode("div",ww,[t.createElementVNode("div",{class:t.normalizeClass(["modal_content ",e.defineWidth])},[t.createElementVNode("div",vw,[t.createElementVNode("div",Ew,[t.renderSlot(o.$slots,"header",{},void 0,!0),t.createElementVNode("button",{class:"modal_close",onClick:i[0]||(i[0]=s=>r())},i[1]||(i[1]=[t.createElementVNode("svg",{class:"modal_close_icon","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14"},[t.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"})],-1)]))]),t.createElementVNode("div",null,[t.renderSlot(o.$slots,"body",{},void 0,!0)])])],2)])],64))}},[["__scopeId","data-v-172c0a39"]]),Cw={v:"5.4.4",fr:30,ip:0,op:110,w:800,h:600,nm:"Comp 1",ddd:0,assets:[{id:"comp_0",layers:[{ddd:0,ind:1,ty:4,nm:"Sub Rocket 01",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:0,s:[219.02,362.805,0],e:[358.52,362.805,0],to:[23.25,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:15,s:[358.52,362.805,0],e:[219.02,362.805,0],to:[0,0,0],ti:[23.25,0,0]},{t:30}],ix:2,x:`var $bm_rt;
|
|
97
97
|
$bm_rt = loopOut('cycle', 0);`},a:{a:0,k:[250,400,0],ix:1},s:{a:0,k:[12.773,12.773,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[10.363,-.002],[6.523,-9.638],[0,0],[0,0],[0,0]],o:[[-6.525,-9.644],[-10.359,.002],[0,0],[0,0],[0,0],[0,0]],v:[[27.251,-647.527],[-.003,-661.989],[-27.243,-647.53],[-49.314,-614.918],[-.003,-614.918],[49.314,-614.918]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.328999986836,.430999995213,.477999997606,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[307.689,67.302],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 6",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[17.804,26.312],[0,0],[0,0],[0,0],[0,-31.776],[0,0],[-9.442,0],[0,0],[0,0],[0,9.441],[0,0]],o:[[0,0],[0,0],[0,0],[-17.81,26.316],[0,0],[0,9.441],[0,0],[0,0],[9.442,0],[0,0],[0,-31.769]],v:[[49.321,-774.672],[49.318,-774.677],[0,-774.677],[-49.31,-774.677],[-76.639,-685.538],[-76.639,118.392],[-59.543,135.488],[0,135.488],[59.543,135.488],[76.639,118.392],[76.639,-685.549]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.560553696576,.605397961186,.635294117647,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[307.685,226.327],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 7",np:2,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[2.731,0],[0,0],[0,2.731],[-2.731,0],[0,0],[0,-2.731]],o:[[0,0],[-2.731,0],[0,-2.731],[0,0],[2.731,0],[0,2.731]],v:[[74.921,16.932],[-74.92,16.932],[-79.885,11.967],[-74.92,7.002],[74.921,7.002],[79.885,11.967]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.270999983245,.352999997606,.39199999641,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[307.698,377.35],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 9",np:2,cix:2,bm:0,ix:3,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[58.922,-4.853],[55.933,-16.807],[-54.757,-16.807],[-58.068,-4.853],[-66.808,26.697],[66.809,26.697]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.328999986836,.430999995213,.477999997606,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[307.699,357.655],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 10",np:2,cix:2,bm:0,ix:4,mn:"ADBE Vector Group",hd:!1}],ip:0,op:15,st:0,bm:0},{ddd:0,ind:2,ty:4,nm:"Sub Rocket 09",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:0,s:[219.02,362.805,0],e:[358.52,362.805,0],to:[23.25,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:15,s:[358.52,362.805,0],e:[219.02,362.805,0],to:[0,0,0],ti:[23.25,0,0]},{t:30}],ix:2,x:`var $bm_rt;
|
|
98
98
|
$bm_rt = loopOut('cycle', 0);`},a:{a:0,k:[250,400,0],ix:1},s:{a:0,k:[12.773,12.773,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[10.363,-.002],[6.523,-9.638],[0,0],[0,0],[0,0]],o:[[-6.525,-9.644],[-10.359,.002],[0,0],[0,0],[0,0],[0,0]],v:[[27.251,-647.527],[-.003,-661.989],[-27.243,-647.53],[-49.314,-614.918],[-.003,-614.918],[49.314,-614.918]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.328999986836,.430999995213,.477999997606,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[307.689,67.302],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 6",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[17.804,26.312],[0,0],[0,0],[0,0],[0,-31.776],[0,0],[-9.442,0],[0,0],[0,0],[0,9.441],[0,0]],o:[[0,0],[0,0],[0,0],[-17.81,26.316],[0,0],[0,9.441],[0,0],[0,0],[9.442,0],[0,0],[0,-31.769]],v:[[49.321,-774.672],[49.318,-774.677],[0,-774.677],[-49.31,-774.677],[-76.639,-685.538],[-76.639,118.392],[-59.543,135.488],[0,135.488],[59.543,135.488],[76.639,118.392],[76.639,-685.549]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.560553696576,.605397961186,.635294117647,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[307.685,226.327],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 7",np:2,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[2.731,0],[0,0],[0,2.731],[-2.731,0],[0,0],[0,-2.731]],o:[[0,0],[-2.731,0],[0,-2.731],[0,0],[2.731,0],[0,2.731]],v:[[74.921,16.932],[-74.92,16.932],[-79.885,11.967],[-74.92,7.002],[74.921,7.002],[79.885,11.967]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.270999983245,.352999997606,.39199999641,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[307.698,377.35],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 9",np:2,cix:2,bm:0,ix:3,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[58.922,-4.853],[55.933,-16.807],[-54.757,-16.807],[-58.068,-4.853],[-66.808,26.697],[66.809,26.697]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.328999986836,.430999995213,.477999997606,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[307.699,357.655],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 10",np:2,cix:2,bm:0,ix:4,mn:"ADBE Vector Group",hd:!1}],ip:90,op:105,st:0,bm:0},{ddd:0,ind:3,ty:4,nm:"Sub Rocket 07",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:0,s:[219.02,362.805,0],e:[358.52,362.805,0],to:[23.25,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:15,s:[358.52,362.805,0],e:[219.02,362.805,0],to:[0,0,0],ti:[23.25,0,0]},{t:30}],ix:2,x:`var $bm_rt;
|
|
99
99
|
$bm_rt = loopOut('cycle', 0);`},a:{a:0,k:[250,400,0],ix:1},s:{a:0,k:[12.773,12.773,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[10.363,-.002],[6.523,-9.638],[0,0],[0,0],[0,0]],o:[[-6.525,-9.644],[-10.359,.002],[0,0],[0,0],[0,0],[0,0]],v:[[27.251,-647.527],[-.003,-661.989],[-27.243,-647.53],[-49.314,-614.918],[-.003,-614.918],[49.314,-614.918]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.328999986836,.430999995213,.477999997606,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[307.689,67.302],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 6",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[17.804,26.312],[0,0],[0,0],[0,0],[0,-31.776],[0,0],[-9.442,0],[0,0],[0,0],[0,9.441],[0,0]],o:[[0,0],[0,0],[0,0],[-17.81,26.316],[0,0],[0,9.441],[0,0],[0,0],[9.442,0],[0,0],[0,-31.769]],v:[[49.321,-774.672],[49.318,-774.677],[0,-774.677],[-49.31,-774.677],[-76.639,-685.538],[-76.639,118.392],[-59.543,135.488],[0,135.488],[59.543,135.488],[76.639,118.392],[76.639,-685.549]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.560553696576,.605397961186,.635294117647,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[307.685,226.327],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 7",np:2,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[2.731,0],[0,0],[0,2.731],[-2.731,0],[0,0],[0,-2.731]],o:[[0,0],[-2.731,0],[0,-2.731],[0,0],[2.731,0],[0,2.731]],v:[[74.921,16.932],[-74.92,16.932],[-79.885,11.967],[-74.92,7.002],[74.921,7.002],[79.885,11.967]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.270999983245,.352999997606,.39199999641,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[307.698,377.35],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 9",np:2,cix:2,bm:0,ix:3,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],v:[[58.922,-4.853],[55.933,-16.807],[-54.757,-16.807],[-58.068,-4.853],[-66.808,26.697],[66.809,26.697]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.328999986836,.430999995213,.477999997606,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[307.699,357.655],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 10",np:2,cix:2,bm:0,ix:4,mn:"ADBE Vector Group",hd:!1}],ip:60,op:75,st:0,bm:0},{ddd:0,ind:4,ty:4,nm:"Sub Rocket 05",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:0,s:[219.02,362.805,0],e:[358.52,362.805,0],to:[23.25,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:15,s:[358.52,362.805,0],e:[219.02,362.805,0],to:[0,0,0],ti:[23.25,0,0]},{t:30}],ix:2,x:`var $bm_rt;
|
|
@@ -117,4 +117,4 @@ $bm_rt = loopOut('cycle', 0);`},a:{a:0,k:[0,0],ix:1},s:{a:1,k:[{i:{x:[.833,.833]
|
|
|
117
117
|
$bm_rt = loopOut('cycle', 0);`},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 11",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:132,st:0,bm:0},{ddd:0,ind:36,ty:4,nm:"Sub Rocket 01 Joint",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:0,s:[219.02,362.805,0],e:[358.52,362.805,0],to:[23.25,0,0],ti:[0,0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:15,s:[358.52,362.805,0],e:[219.02,362.805,0],to:[0,0,0],ti:[23.25,0,0]},{t:30}],ix:2,x:`var $bm_rt;
|
|
118
118
|
$bm_rt = loopOut('cycle', 0);`},a:{a:0,k:[250,400,0],ix:1},s:{a:0,k:[12.773,12.773,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0],[0,0],[0,0]],o:[[0,0],[0,0],[0,0],[0,0]],v:[[520.1,-144.585],[290.744,84.771],[288.864,289.211],[520.1,57.975]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:0,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"fl",c:{a:0,k:[.270588235294,.352941176471,.392156862745,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:1,k:[{i:{x:.833,y:.833},o:{x:.167,y:.167},t:0,s:[57.36,0],e:[556.36,0],to:[83.167,0],ti:[0,0]},{i:{x:.833,y:.833},o:{x:.167,y:.167},t:15,s:[556.36,0],e:[57.36,0],to:[0,0],ti:[83.167,0]},{t:30}],ix:2,x:`var $bm_rt;
|
|
119
119
|
$bm_rt = loopOut('cycle', 0);`},a:{a:0,k:[0,0],ix:1},s:{a:1,k:[{i:{x:[.833,.833],y:[.833,.833]},o:{x:[.167,.167],y:[.167,.167]},t:0,s:[100,100],e:[-100,100]},{i:{x:[.833,.833],y:[.833,.833]},o:{x:[.167,.167],y:[.167,.167]},t:15,s:[-100,100],e:[100,100]},{t:30}],ix:3,x:`var $bm_rt;
|
|
120
|
-
$bm_rt = loopOut('cycle', 0);`},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 11",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:132,st:0,bm:0}]}],layers:[{ddd:0,ind:1,ty:3,nm:"Position Control",sr:1,ks:{o:{a:0,k:0,ix:11},r:{a:0,k:0,ix:10},p:{s:!0,x:{a:0,k:400,ix:3},y:{a:1,k:[{i:{x:[.349],y:[1]},o:{x:[.039],y:[.602]},t:0,s:[840],e:[300]},{i:{x:[.65],y:[1]},o:{x:[.333],y:[0]},t:30,s:[300],e:[460]},{i:{x:[.818],y:[.968]},o:{x:[.023],y:[.564]},t:80,s:[460],e:[-420]},{t:96}],ix:4}},a:{a:0,k:[0,0,0],ix:1},s:{a:1,k:[{i:{x:[.49,.49,.49],y:[1,1,1]},o:{x:[.49,.49,.49],y:[0,0,0]},t:15,s:[70,70,100],e:[40,40,100]},{t:80}],ix:6}},ao:0,ef:[{ty:5,nm:"Wiggle Rate",np:3,mn:"ADBE Slider Control",ix:1,en:1,ef:[{ty:0,nm:"Slider",mn:"ADBE Slider Control-0001",ix:1,v:{a:0,k:0,ix:1}}]}],ip:0,op:100,st:0,bm:0},{ddd:0,ind:2,ty:0,nm:"Rocket",parent:1,refId:"comp_0",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[5.833,0,0],ix:2},a:{a:0,k:[300,300,0],ix:1},s:{a:0,k:[148.754,148.754,100],ix:6}},ao:0,tm:{a:1,k:[{i:{x:[.21],y:[.928]},o:{x:[.04],y:[.361]},t:0,s:[.667],e:[2]},{i:{x:[.38],y:[1]},o:{x:[.49],y:[0]},t:30.062,s:[2],e:[3.2]},{i:{x:[.82],y:[.986]},o:{x:[.49],y:[0]},t:80,s:[3.2],e:[4.333]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:96,s:[4.333],e:[4.333]},{t:130}],ix:2},w:600,h:600,ip:0,op:110,st:0,bm:0},{ddd:0,ind:3,ty:4,nm:"Fire 1",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[-.118,101.791,0],ix:2},a:{a:0,k:[250,380.848,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:1,k:[{i:{x:.35,y:1},o:{x:.04,y:.6},t:9,s:[{i:[[7.185,19.04],[0,0],[0,0],[-4.257,-5.66],[0,0],[-10.521,-10.232],[0,11.755],[0,0]],o:[[0,0],[0,0],[-7.186,19.04],[0,0],[0,11.755],[10.52,-10.232],[0,0],[4.257,-5.66]],v:[[32.583,-41.739],[.001,-41.739],[-32.581,-41.739],[-28.786,191.098],[-24.746,185.22],[0,227.453],[24.746,185.22],[28.785,191.098]],c:!0}],e:[{i:[[7.185,19.04],[0,0],[0,0],[-4.257,-5.66],[0,0],[-10.521,-10.232],[0,11.755],[0,0]],o:[[0,0],[0,0],[-7.186,19.04],[0,0],[0,11.755],[10.52,-10.232],[0,0],[4.257,-5.66]],v:[[32.583,-41.739],[.001,-41.739],[-32.581,-41.739],[-28.786,5.384],[-24.745,-.494],[.001,41.739],[24.746,-.494],[28.785,5.384]],c:!0}]},{t:30}],ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.995999983245,.788000009574,.156999999402,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[250.338,422.749],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 11",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:30,st:0,bm:0},{ddd:0,ind:4,ty:4,nm:"Fire 2",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[-.118,103.916,0],ix:2},a:{a:0,k:[250,385.497,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:1,k:[{i:{x:.35,y:1},o:{x:.04,y:.6},t:9,s:[{i:[[11.317,29.988],[0,0],[0,0],[-6.705,-8.915],[0,0],[-16.571,-16.115],[0,18.516],[0,0]],o:[[0,0],[0,0],[-11.316,29.988],[0,0],[0,18.516],[16.57,-16.115],[0,0],[6.706,-8.915]],v:[[51.318,-65.74],[.001,-65.74],[-51.318,-65.74],[-45.338,329.554],[-38.976,320.296],[.001,386.814],[38.976,320.296],[45.339,329.554]],c:!0}],e:[{i:[[11.317,29.988],[0,0],[0,0],[-6.705,-8.915],[0,0],[-16.571,-16.115],[0,18.516],[0,0]],o:[[0,0],[0,0],[-11.316,29.988],[0,0],[0,18.516],[16.57,-16.115],[0,0],[6.706,-8.915]],v:[[51.318,-65.74],[.001,-65.74],[-51.318,-65.74],[-45.339,8.48],[-38.977,-.778],[.001,65.74],[38.975,-.778],[45.339,8.48]],c:!0}]},{t:30}],ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.995999983245,.340999977261,.13300000359,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[250.339,446.75],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 12",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:30,st:0,bm:0},{ddd:0,ind:5,ty:4,nm:"Fire 1 Wiggle",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[-.118,101.791,0],ix:2},a:{a:0,k:[250,380.848,0],ix:1},s:{a:1,k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:30,s:[100,100,100],e:[100,136.488,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:50,s:[100,136.488,100],e:[100,101,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:71,s:[100,101,100],e:[100,124,100]},{t:80}],ix:6}},ao:0,ef:[{ty:5,nm:"Scale Wiggle",np:3,mn:"ADBE Slider Control",ix:1,en:1,ef:[{ty:0,nm:"Slider",mn:"ADBE Slider Control-0001",ix:1,v:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:29,s:[0],e:[1]},{t:30}],ix:1}}]}],shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:1,k:[{i:{x:.35,y:1},o:{x:.04,y:.6},t:9,s:[{i:[[7.185,19.04],[0,0],[0,0],[-4.257,-5.66],[0,0],[-10.521,-10.232],[0,11.755],[0,0]],o:[[0,0],[0,0],[-7.186,19.04],[0,0],[0,11.755],[10.52,-10.232],[0,0],[4.257,-5.66]],v:[[32.583,-41.739],[.001,-41.739],[-32.581,-41.739],[-28.786,191.098],[-24.746,185.22],[0,227.453],[24.746,185.22],[28.785,191.098]],c:!0}],e:[{i:[[7.185,19.04],[0,0],[0,0],[-4.257,-5.66],[0,0],[-10.521,-10.232],[0,11.755],[0,0]],o:[[0,0],[0,0],[-7.186,19.04],[0,0],[0,11.755],[10.52,-10.232],[0,0],[4.257,-5.66]],v:[[32.583,-41.739],[.001,-41.739],[-32.581,-41.739],[-28.786,5.384],[-24.745,-.494],[.001,41.739],[24.746,-.494],[28.785,5.384]],c:!0}]},{i:{x:.833,y:1},o:{x:.04,y:0},t:30,s:[{i:[[7.185,19.04],[0,0],[0,0],[-4.257,-5.66],[0,0],[-10.521,-10.232],[0,11.755],[0,0]],o:[[0,0],[0,0],[-7.186,19.04],[0,0],[0,11.755],[10.52,-10.232],[0,0],[4.257,-5.66]],v:[[32.583,-41.739],[.001,-41.739],[-32.581,-41.739],[-28.786,5.384],[-24.745,-.494],[.001,41.739],[24.746,-.494],[28.785,5.384]],c:!0}],e:[{i:[[7.185,19.04],[0,0],[0,0],[-4.257,-5.66],[0,0],[-10.521,-10.232],[0,11.755],[0,0]],o:[[0,0],[0,0],[-7.186,19.04],[0,0],[0,11.755],[10.52,-10.232],[0,0],[4.257,-5.66]],v:[[32.583,-41.739],[.001,-41.739],[-32.581,-41.739],[-28.786,5.384],[-24.745,-.494],[.001,41.739],[24.746,-.494],[28.785,5.384]],c:!0}]},{i:{x:.833,y:1},o:{x:.167,y:0},t:80,s:[{i:[[7.185,19.04],[0,0],[0,0],[-4.257,-5.66],[0,0],[-10.521,-10.232],[0,11.755],[0,0]],o:[[0,0],[0,0],[-7.186,19.04],[0,0],[0,11.755],[10.52,-10.232],[0,0],[4.257,-5.66]],v:[[32.583,-41.739],[.001,-41.739],[-32.581,-41.739],[-28.786,5.384],[-24.745,-.494],[.001,41.739],[24.746,-.494],[28.785,5.384]],c:!0}],e:[{i:[[7.185,19.04],[0,0],[0,0],[-4.257,-5.66],[0,0],[-10.521,-10.232],[0,11.755],[0,0]],o:[[0,0],[0,0],[-7.186,19.04],[0,0],[0,11.755],[10.52,-10.232],[0,0],[4.257,-5.66]],v:[[32.583,-41.739],[.001,-41.739],[-32.581,-41.739],[-28.785,534.199],[-24.745,528.322],[.001,570.555],[24.746,528.322],[28.785,534.199]],c:!0}]},{i:{x:.833,y:1},o:{x:.167,y:0},t:81,s:[{i:[[7.185,19.04],[0,0],[0,0],[-4.257,-5.66],[0,0],[-10.521,-10.232],[0,11.755],[0,0]],o:[[0,0],[0,0],[-7.186,19.04],[0,0],[0,11.755],[10.52,-10.232],[0,0],[4.257,-5.66]],v:[[32.583,-41.739],[.001,-41.739],[-32.581,-41.739],[-28.785,534.199],[-24.745,528.322],[.001,570.555],[24.746,528.322],[28.785,534.199]],c:!0}],e:[{i:[[7.185,19.04],[0,0],[0,0],[-4.257,-5.66],[0,0],[-10.521,-10.232],[0,11.755],[0,0]],o:[[0,0],[0,0],[-7.186,19.04],[0,0],[0,11.755],[10.52,-10.232],[0,0],[4.257,-5.66]],v:[[32.583,-41.739],[.001,-41.739],[-32.581,-41.739],[-28.786,534.199],[-24.745,528.322],[.001,570.555],[24.746,528.322],[28.785,534.199]],c:!0}]},{i:{x:.833,y:1},o:{x:.167,y:0},t:82,s:[{i:[[7.185,19.04],[0,0],[0,0],[-4.257,-5.66],[0,0],[-10.521,-10.232],[0,11.755],[0,0]],o:[[0,0],[0,0],[-7.186,19.04],[0,0],[0,11.755],[10.52,-10.232],[0,0],[4.257,-5.66]],v:[[32.583,-41.739],[.001,-41.739],[-32.581,-41.739],[-28.786,534.199],[-24.745,528.322],[.001,570.555],[24.746,528.322],[28.785,534.199]],c:!0}],e:[{i:[[7.185,19.04],[0,0],[0,0],[-4.257,-5.66],[0,0],[-10.521,-10.232],[0,11.755],[0,0]],o:[[0,0],[0,0],[-7.186,19.04],[0,0],[0,11.755],[10.52,-10.232],[0,0],[4.257,-5.66]],v:[[32.583,-41.739],[.001,-41.739],[-32.581,-41.739],[-28.786,107.501],[-24.746,101.624],[0,143.856],[24.746,101.624],[28.785,107.501]],c:!0}]},{t:83}],ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.995999983245,.788000009574,.156999999402,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[250.338,422.749],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 11",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:30,op:110,st:0,bm:0},{ddd:0,ind:6,ty:4,nm:"Fire 2 Wiggle",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[-.118,103.916,0],ix:2},a:{a:0,k:[250,385.497,0],ix:1},s:{a:1,k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:30,s:[100,100,100],e:[100,144.049,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:50,s:[100,144.049,100],e:[100,96,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:71,s:[100,96,100],e:[100,124,100]},{t:80}],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:1,k:[{i:{x:.35,y:1},o:{x:.04,y:.6},t:9,s:[{i:[[11.317,29.988],[0,0],[0,0],[-6.705,-8.915],[0,0],[-16.571,-16.115],[0,18.516],[0,0]],o:[[0,0],[0,0],[-11.316,29.988],[0,0],[0,18.516],[16.57,-16.115],[0,0],[6.706,-8.915]],v:[[51.318,-65.74],[.001,-65.74],[-51.318,-65.74],[-45.338,169.194],[-38.976,159.936],[.001,226.454],[38.976,159.936],[45.339,169.194]],c:!0}],e:[{i:[[11.317,29.988],[0,0],[0,0],[-6.705,-8.915],[0,0],[-16.571,-16.115],[0,18.516],[0,0]],o:[[0,0],[0,0],[-11.316,29.988],[0,0],[0,18.516],[16.57,-16.115],[0,0],[6.706,-8.915]],v:[[51.318,-65.74],[.001,-65.74],[-51.318,-65.74],[-45.339,8.48],[-38.977,-.778],[.001,65.74],[38.975,-.778],[45.339,8.48]],c:!0}]},{i:{x:.833,y:1},o:{x:.04,y:0},t:30,s:[{i:[[11.317,29.988],[0,0],[0,0],[-6.705,-8.915],[0,0],[-16.571,-16.115],[0,18.516],[0,0]],o:[[0,0],[0,0],[-11.316,29.988],[0,0],[0,18.516],[16.57,-16.115],[0,0],[6.706,-8.915]],v:[[51.318,-65.74],[.001,-65.74],[-51.318,-65.74],[-45.339,8.48],[-38.977,-.778],[.001,65.74],[38.975,-.778],[45.339,8.48]],c:!0}],e:[{i:[[11.317,29.988],[0,0],[0,0],[-6.705,-8.915],[0,0],[-16.571,-16.115],[0,18.516],[0,0]],o:[[0,0],[0,0],[-11.316,29.988],[0,0],[0,18.516],[16.57,-16.115],[0,0],[6.706,-8.915]],v:[[51.318,-65.74],[.001,-65.74],[-51.318,-65.74],[-45.339,8.48],[-38.977,-.778],[.001,65.74],[38.975,-.778],[45.339,8.48]],c:!0}]},{i:{x:.833,y:1},o:{x:.167,y:0},t:80,s:[{i:[[11.317,29.988],[0,0],[0,0],[-6.705,-8.915],[0,0],[-16.571,-16.115],[0,18.516],[0,0]],o:[[0,0],[0,0],[-11.316,29.988],[0,0],[0,18.516],[16.57,-16.115],[0,0],[6.706,-8.915]],v:[[51.318,-65.74],[.001,-65.74],[-51.318,-65.74],[-45.339,8.48],[-38.977,-.778],[.001,65.74],[38.975,-.778],[45.339,8.48]],c:!0}],e:[{i:[[11.317,29.988],[0,0],[0,0],[-6.705,-8.915],[0,0],[-16.571,-16.115],[0,18.516],[0,0]],o:[[0,0],[0,0],[-11.316,29.988],[0,0],[0,18.516],[16.57,-16.115],[0,0],[6.706,-8.915]],v:[[51.318,-65.74],[.001,-65.74],[-51.318,-65.74],[-45.339,514.557],[-38.977,505.299],[0,571.817],[38.975,505.299],[45.338,514.557]],c:!0}]},{i:{x:.833,y:1},o:{x:.167,y:0},t:81,s:[{i:[[11.317,29.988],[0,0],[0,0],[-6.705,-8.915],[0,0],[-16.571,-16.115],[0,18.516],[0,0]],o:[[0,0],[0,0],[-11.316,29.988],[0,0],[0,18.516],[16.57,-16.115],[0,0],[6.706,-8.915]],v:[[51.318,-65.74],[.001,-65.74],[-51.318,-65.74],[-45.339,514.557],[-38.977,505.299],[0,571.817],[38.975,505.299],[45.338,514.557]],c:!0}],e:[{i:[[11.317,29.988],[0,0],[0,0],[-6.705,-8.915],[0,0],[-16.571,-16.115],[0,18.516],[0,0]],o:[[0,0],[0,0],[-11.316,29.988],[0,0],[0,18.516],[16.57,-16.115],[0,0],[6.706,-8.915]],v:[[51.318,-65.74],[.001,-65.74],[-51.318,-65.74],[-45.338,514.557],[-38.976,505.299],[.001,571.817],[38.976,505.299],[45.339,514.557]],c:!0}]},{i:{x:.833,y:1},o:{x:.167,y:0},t:82,s:[{i:[[11.317,29.988],[0,0],[0,0],[-6.705,-8.915],[0,0],[-16.571,-16.115],[0,18.516],[0,0]],o:[[0,0],[0,0],[-11.316,29.988],[0,0],[0,18.516],[16.57,-16.115],[0,0],[6.706,-8.915]],v:[[51.318,-65.74],[.001,-65.74],[-51.318,-65.74],[-45.338,514.557],[-38.976,505.299],[.001,571.817],[38.976,505.299],[45.339,514.557]],c:!0}],e:[{i:[[11.317,29.988],[0,0],[0,0],[-6.705,-8.915],[0,0],[-16.571,-16.115],[0,18.516],[0,0]],o:[[0,0],[0,0],[-11.316,29.988],[0,0],[0,18.516],[16.57,-16.115],[0,0],[6.706,-8.915]],v:[[51.318,-65.74],[.001,-65.74],[-51.318,-65.74],[-45.338,168.845],[-38.976,159.587],[.001,226.105],[38.976,159.587],[45.339,168.845]],c:!0}]},{t:83}],ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.995999983245,.340999977261,.13300000359,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[250.339,446.75],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 12",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:30,op:110,st:0,bm:0},{ddd:0,ind:7,ty:4,nm:"Line 11",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:-142,ix:10},p:{a:0,k:[401.5,412,0],ix:2},a:{a:0,k:[-2.5,200,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[390.439,-149.673],[-1.75,200.25]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:74,s:[0],e:[100]},{t:78}],ix:1},e:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:71,s:[6],e:[100]},{t:75}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:71,s:[5],e:[0]},{t:78}],ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"fl",c:{a:0,k:[.270588235294,.352941176471,.392156862745,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:4,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:71,op:110,st:71,bm:0},{ddd:0,ind:8,ty:4,nm:"Line 10",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:-7,ix:10},p:{a:0,k:[405.5,406,0],ix:2},a:{a:0,k:[-2.5,200,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[390.439,-149.673],[-1.75,200.25]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:71,s:[0],e:[100]},{t:75}],ix:1},e:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:68,s:[6],e:[100]},{t:72}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:68,s:[5],e:[0]},{t:75}],ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"fl",c:{a:0,k:[.270588235294,.352941176471,.392156862745,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:4,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:68,op:110,st:68,bm:0},{ddd:0,ind:9,ty:4,nm:"Line 9",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:-88,ix:10},p:{a:0,k:[399.5,400,0],ix:2},a:{a:0,k:[-2.5,200,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[390.439,-149.673],[-1.75,200.25]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:69,s:[0],e:[100]},{t:73}],ix:1},e:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:66,s:[6],e:[100]},{t:70}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:66,s:[5],e:[0]},{t:73}],ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"fl",c:{a:0,k:[.270588235294,.352941176471,.392156862745,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:4,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:66,op:110,st:66,bm:0},{ddd:0,ind:10,ty:4,nm:"Line 4",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:-197,ix:10},p:{a:0,k:[395.5,400,0],ix:2},a:{a:0,k:[-2.5,200,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[344,-100],[-1.75,200.25]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:66,s:[0],e:[100]},{t:70}],ix:1},e:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:63,s:[6],e:[100]},{t:67}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:63,s:[5],e:[0]},{t:70}],ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"fl",c:{a:0,k:[.270588235294,.352941176471,.392156862745,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:4,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:63,op:110,st:63,bm:0},{ddd:0,ind:11,ty:4,nm:"Line 6",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:98,ix:10},p:{a:0,k:[393.5,418,0],ix:2},a:{a:0,k:[-2.5,200,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[344,-100],[-1.75,200.25]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:55,s:[0],e:[100]},{t:59}],ix:1},e:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:52,s:[6],e:[100]},{t:56}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:52,s:[5],e:[0]},{t:59}],ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"fl",c:{a:0,k:[.270588235294,.352941176471,.392156862745,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:4,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:52,op:110,st:52,bm:0},{ddd:0,ind:12,ty:4,nm:"Line 12",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:68,ix:10},p:{a:0,k:[411.5,320,0],ix:2},a:{a:0,k:[-2.5,200,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[344,-100],[-1.75,200.25]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:37,s:[0],e:[100]},{t:41}],ix:1},e:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:34,s:[6],e:[100]},{t:38}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:34,s:[5],e:[0]},{t:41}],ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"fl",c:{a:0,k:[.270588235294,.352941176471,.392156862745,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:4,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:34,op:110,st:34,bm:0},{ddd:0,ind:13,ty:4,nm:"Blasting Circle 4",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[400.5,855,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{d:1,ty:"el",s:{a:1,k:[{i:{x:[.37,.37],y:[1,1]},o:{x:[.42,.42],y:[0,0]},t:78,s:[0,0],e:[1127,1127]},{t:94}],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Ellipse Path 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:1,k:[{i:{x:[.37],y:[1]},o:{x:[.42],y:[0]},t:78,s:[5],e:[0]},{t:94}],ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1}],ip:78,op:110,st:78,bm:0},{ddd:0,ind:14,ty:4,nm:"Blasting Circle 3",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[400.5,615,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{d:1,ty:"el",s:{a:1,k:[{i:{x:[.37,.37],y:[1,1]},o:{x:[.42,.42],y:[0,0]},t:78,s:[0,0],e:[1127,1127]},{t:94}],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Ellipse Path 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:1,k:[{i:{x:[.37],y:[1]},o:{x:[.42],y:[0]},t:78,s:[5],e:[0]},{t:94}],ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1}],ip:78,op:110,st:78,bm:0},{ddd:0,ind:15,ty:4,nm:"Blasting Circle 2",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[400.5,415,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{d:1,ty:"el",s:{a:1,k:[{i:{x:[.667,.667],y:[1,1]},o:{x:[.333,.333],y:[0,0]},t:61,s:[1007,1007],e:[0,0]},{t:71}],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Ellipse Path 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:61,s:[5],e:[0]},{t:71}],ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1}],ip:61,op:110,st:61,bm:0},{ddd:0,ind:16,ty:4,nm:"Blasting Circle ",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[399,320,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{d:1,ty:"el",s:{a:1,k:[{i:{x:[.667,.667],y:[1,1]},o:{x:[.333,.333],y:[0,0]},t:40,s:[1007,1007],e:[0,0]},{t:50}],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Ellipse Path 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:40,s:[5],e:[0]},{t:50}],ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1}],ip:40,op:110,st:40,bm:0},{ddd:0,ind:17,ty:4,nm:"BG",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[400,300,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"rc",d:1,s:{a:0,k:[800,600],ix:2},p:{a:0,k:[0,0],ix:3},r:{a:0,k:0,ix:4},nm:"Rectangle Path 1",mn:"ADBE Vector Shape - Rect",hd:!1},{ty:"fl",c:{a:0,k:[.03137254902,.101960784314,.149019607843,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1}],ip:110,op:110,st:0,bm:0,hidden:0}],markers:[]},Eb={class:"main-send-suggestion"},Cb={key:0,class:"sent-suggestion-section"},Sb={class:"sent-suggestion-content"},Mb={class:"container-send-suggestion"},Bb={key:0,class:"tool_tip_suggestion_error"},Ab={key:0,class:"loader-suggestion"},Vb={key:1},_b=qe({__name:"sendSuggestion",props:{loader:{type:Boolean,default:!1},sentSuccess:{type:Boolean,default:!1}},emits:["postSuccess"],setup(e,{emit:a}){const n=a,r=t.ref(""),o=t.ref(!1),i=()=>{if(o.value=!1,!r.value){o.value=!0;return}n("postSuccess",r.value)};return(l,s)=>{const d=t.resolveComponent("Vue3Lottie");return t.openBlock(),t.createElementBlock("main",Eb,[e.sentSuccess?(t.openBlock(),t.createElementBlock("section",Cb,[t.createElementVNode("div",Sb,[s[2]||(s[2]=t.createElementVNode("p",{class:"text-lg font-semibold uppercase"}," Sua sugestão foi recebida com sucesso ",-1)),t.createVNode(d,{"animation-data":t.unref(vb),height:200,width:200,"auto-play":!0,loop:!0},null,8,["animation-data"]),s[3]||(s[3]=t.createElementVNode("span",{class:"flex flex-col gap-3 lg:text-justify"},[t.createElementVNode("p",{class:"font-semibold"}," Nossa equipe irá avaliá-la com atenção e considerar sua implementação. "),t.createElementVNode("p",{class:"text-[12px]"}," Você irá receber um e-mail com as informações da solicitação e nossa equipe irá responder em até 30 dias ")],-1)),s[4]||(s[4]=t.createElementVNode("p",{class:"font-bold"},"Agradecemos sua colaboração",-1))])])):t.createCommentVNode("",!0),t.createElementVNode("section",Mb,[s[5]||(s[5]=t.createElementVNode("h1",{class:"header_send_suggestion"},"Envie sua sugestão para nós",-1)),t.withDirectives(t.createElementVNode("textarea",{"onUpdate:modelValue":s[0]||(s[0]=p=>r.value=p),class:"input_send_suggestion textarea-send-suggestion",placeholder:"Gostaria que vocês adicionassem...",type:"text"},null,512),[[t.vModelText,r.value]]),o.value?(t.openBlock(),t.createElementBlock("span",Bb," Por favor, preencha o campo antes de continuar ")):t.createCommentVNode("",!0),t.createElementVNode("button",{onClick:s[1]||(s[1]=p=>i()),class:"submit-button-send-suggestion"},[e.loader?(t.openBlock(),t.createElementBlock("div",Ab)):(t.openBlock(),t.createElementBlock("p",Vb,"Enviar"))])])])}}},[["__scopeId","data-v-839ab724"]]),Nb=e=>`<svg class="${e}" aria-hidden="true" fill="none" viewBox="0 0 24 24" > <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M18 14v4.833A1.166 1.166 0 0 1 16.833 20H5.167A1.167 1.167 0 0 1 4 18.833V7.167A1.166 1.166 0 0 1 5.167 6h4.618m4.447-2H20v5.768m-7.889 2.121 7.778-7.778" /> </svg>`,Db=e=>`<svg class="${e}" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24" > <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 10h16m-8-3V4M7 7V4m10 3V4M5 20h14a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Zm3-7h.01v.01H8V13Zm4 0h.01v.01H12V13Zm4 0h.01v.01H16V13Zm-8 4h.01v.01H8V17Zm4 0h.01v.01H12V17Zm4 0h.01v.01H16V17Z" /> </svg>`,Tb=["innerHTML"],k1={__name:"svg",props:{svgContent:{type:String,required:!0}},setup(e){return(a,n)=>(t.openBlock(),t.createElementBlock("div",{innerHTML:e.svgContent},null,8,Tb))}},Pb={class:"feature-card__header"},Ob={class:"feature-card__title"},Fb={class:"flex items-center gap-2"},Lb={key:0,class:"sparkle-badge"},$b={key:0},Hb={class:"feature-card__content"},Rb={class:"feature-card__description scroll_area_feature_card"},zb=["innerHTML"],Ib=["href"],Gb={class:"feature-card__footer"},jb={class:"feature-card__footer-section"},x1=qe({__name:"feature_card",props:{state:{type:String,required:!0,default:"updated"},title:{type:String,required:!0},description:{type:String,required:!0},date:{type:[String,null],required:!0},tutorial:{type:String,default:null},flag:{type:String,required:!0},sparkles:{type:Boolean,default:!1}},setup(e){const a=t.ref(!1),n=t.ref(null),r=e;Go(n,()=>{a.value=!1});const i=t.computed(()=>({"arrow-icon-patch-notes":!0,rotate:!a.value})),l=t.computed(()=>({"feature-card":!0,"feature-card--updated":r.state==="updated","feature-card--future":r.state==="future-update","feature-card--other":r.state!=="updated"&&r.state!=="future-update"})),s=t.computed(()=>({"pill-flag":!0,"pill-flag--new-feature":r.flag==="new-feature","pill-flag--improvement":r.flag==="improvement","pill-flag--bug-fix":r.flag==="bug-fix"})),d=t.computed(()=>r.flag==="improvement"?"Melhorias":r.flag==="new-feature"?"Novo Recurso":"correção de erros"),p=t.computed(()=>({"pill-date":!0,"pill-date--updated":r.state==="updated","pill-date--future":r.state!=="updated"}));return(f,h)=>{const c=t.resolveComponent("Popper");return t.openBlock(),t.createElementBlock("main",{class:t.normalizeClass(["feature_style relative",l.value]),ref_key:"targetFeatureCard",ref:n,onClick:h[0]||(h[0]=m=>a.value=!a.value)},[t.createElementVNode("header",Pb,[t.createElementVNode("h1",Ob,t.toDisplayString(e.title),1),t.createElementVNode("section",Fb,[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(i.value),viewBox:"0 0 24 24",fill:"none"},h[1]||(h[1]=[t.createElementVNode("g",null,[t.createElementVNode("path",{d:"M15 11L12 8M12 8L9 11M12 8V16M21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21C16.9706 21 21 16.9706 21 12Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1)]),2)),e.sparkles?(t.openBlock(),t.createElementBlock("div",Lb,h[2]||(h[2]=[t.createStaticVNode('<svg class="size-4" viewBox="0 0 128 128" data-v-252b53a7><path d="M121.59 60.83l-13.93-4.49c-8.91-2.94-14.13-10.15-16.58-19.21L84.95 7.27c-.16-.59-.55-1.38-1.75-1.38c-1.01 0-1.59.79-1.75 1.38l-6.13 29.87c-2.46 9.06-7.67 16.27-16.58 19.21l-13.93 4.49c-1.97.64-2 3.42-.04 4.09l14.03 4.83c8.88 2.95 14.06 10.15 16.52 19.17l6.14 29.53c.16.59.49 1.65 1.75 1.65c1.33 0 1.59-1.06 1.75-1.65l6.14-29.53c2.46-9.03 7.64-16.23 16.52-19.17l14.03-4.83c1.94-.68 1.91-3.46-.06-4.1z" fill="#fdd835" data-v-252b53a7></path><path d="M122.91 62.08c-.22-.55-.65-1.03-1.32-1.25l-13.93-4.49c-8.91-2.94-14.13-10.15-16.58-19.21L84.95 7.27c-.09-.34-.41-.96-.78-1.14l1.98 29.97c1.47 13.68 2.73 20.12 13.65 22c9.38 1.62 20.23 3.48 23.11 3.98z" fill="#ffee58" data-v-252b53a7></path><path d="M122.94 63.64l-24.16 5.54c-8.51 2.16-13.2 7.09-13.2 19.99l-2.37 30.94c.81-.08 1.47-.52 1.75-1.65l6.14-29.53c2.46-9.03 7.64-16.23 16.52-19.17l14.03-4.83c.66-.24 1.08-.73 1.29-1.29z" fill="#f4b400" data-v-252b53a7></path><g data-v-252b53a7><path d="M41.81 86.81c-8.33-2.75-9.09-5.85-10.49-11.08l-3.49-12.24c-.21-.79-2.27-.79-2.49 0L22.97 74.8c-1.41 5.21-4.41 9.35-9.53 11.04l-8.16 3.54c-1.13.37-1.15 1.97-.02 2.35l8.22 2.91c5.1 1.69 8.08 5.83 9.5 11.02l2.37 10.82c.22.79 2.27.79 2.48 0l2.78-10.77c1.41-5.22 3.57-9.37 10.5-11.07l7.72-2.91c1.13-.39 1.12-1.99-.02-2.36l-7-2.56z" fill="#fdd835" data-v-252b53a7></path><path d="M28.49 75.55c.85 7.86 1.28 10.04 7.65 11.67l13.27 2.59c-.14-.19-.34-.35-.61-.43l-7-2.57c-7.31-2.5-9.33-5.68-10.7-12.04c-1.37-6.36-2.83-10.51-2.83-10.51c-.51-1.37-1.24-1.3-1.24-1.3l1.46 12.59z" fill="#ffee58" data-v-252b53a7></path><path d="M28.73 102.99c0-7.41 4.05-11.08 10.49-11.08l10.02-.41s-.58.77-1.59 1.01l-6.54 2.13c-5.55 2.23-8.08 3.35-9.8 10.94c0 0-2.22 8.83-2.64 9.76c-.58 1.3-1.27 1.57-1.27 1.57l1.33-13.92z" fill="#f4b400" data-v-252b53a7></path></g><path d="M59.74 28.14c.56-.19.54-.99-.03-1.15l-7.72-2.08a4.77 4.77 0 0 1-3.34-3.3L45.61 9.06c-.15-.61-1.02-.61-1.17.01l-2.86 12.5a4.734 4.734 0 0 1-3.4 3.37l-7.67 1.99c-.57.15-.61.95-.05 1.15l8.09 2.8c1.45.5 2.57 1.68 3.01 3.15l2.89 11.59c.15.6 1.01.61 1.16 0l2.99-11.63a4.773 4.773 0 0 1 3.04-3.13l8.1-2.72z" fill="#f4b400" stroke="#f4b400" stroke-miterlimit="10" data-v-252b53a7></path></svg>',1)]))):t.createCommentVNode("",!0)])]),t.createVNode(t.Transition,{name:"fade-slide"},{default:t.withCtx(()=>[a.value?(t.openBlock(),t.createElementBlock("div",$b,[h[4]||(h[4]=t.createElementVNode("hr",{class:"feature-card__divider"},null,-1)),t.createElementVNode("section",Hb,[t.createElementVNode("span",Rb,[t.createElementVNode("p",{class:"feature-card__paragraph",innerHTML:e.description.replace(/\n/g,"<br>")},null,8,zb)]),e.tutorial?(t.openBlock(),t.createElementBlock("a",{key:0,class:"feature-card__tutorial-button",href:e.tutorial,target:"__blank"},[h[3]||(h[3]=t.createTextVNode(" Veja o tutorial ")),t.createVNode(k1,{svgContent:t.unref(Nb)("size-4 text-blue-900")},null,8,["svgContent"])],8,Ib)):t.createCommentVNode("",!0)])])):t.createCommentVNode("",!0)]),_:1}),t.createElementVNode("footer",Gb,[t.createElementVNode("section",jb,[t.createElementVNode("span",{class:t.normalizeClass(s.value)},t.toDisplayString(d.value),3),t.createVNode(c,{class:"pill_date_popper",hover:"",disabled:e.state==="updated",arrow:!0,content:"Essa é uma data prevista para o lançamento deste recurso, a mesma está sujeita a mudanças a qualquer momento"},{default:t.withCtx(()=>[t.createElementVNode("div",{class:t.normalizeClass(p.value)},[t.createVNode(k1,{svgContent:t.unref(Db)("size-4 text-white")},null,8,["svgContent"]),t.createElementVNode("p",null,t.toDisplayString(new Intl.DateTimeFormat("pt-BR",{day:"2-digit",month:"short",year:"numeric"}).format(new Date(e.date+"T12:00:00")).replace(/ de /g," ")),1)],2)]),_:1},8,["disabled"])])])],2)}}},[["__scopeId","data-v-252b53a7"]]),qb={class:"modal-container-patch-notes"},Wb={class:"modal-content-patch-notes scroll_area_patch_notes_latest_update"},Yb={class:"modal-header-patch-notes"},Ub={class:"modal-body-patch-notes"},Xb={class:"modal-body-control"},Zb={class:"modal-section-patch-notes updates-section-patch-notes"},Qb={key:0,class:"sections-skeleton-loader"},Kb={class:"skeleton-loader skeleton-color-latest_update"},Jb={key:1,class:"text-not-patchs"},ew={class:"modal-section-patch-notes future-section-patch-notes"},tw={key:0,class:"sections-skeleton-loader"},aw={class:"skeleton-loader skeleton-color-latest_update"},nw={key:1,class:"text-not-patchs"},b1=qe({__name:"patchNotes",props:{future_updates:{type:[Object,null],required:!0},latest_update:{type:[Object,null],required:!0},loader:{type:Boolean,default:!1},sentSuccess:{type:Boolean,default:!1}},emits:["close","postSuggestion","loadMoreFutureUpdates","loadMoreLatestUpdates"],setup(e,{emit:a}){const n=t.ref(1),r=t.ref(1),o=t.ref(null),i=t.ref(null),l=a,s=c=>{l("postSuggestion",c)},d=()=>{l("close"),n.value=1,r.value=1},p=({loaded:c,complete:m})=>{l("loadMoreFutureUpdates",{loaded:c,complete:m,page:n.value}),n.value++},f=({loaded:c,complete:m})=>{l("loadMoreLatestUpdates",{loaded:c,complete:m,page:r.value}),r.value++},h=c=>{if(!c)return!1;const m=new Date,u=new Date(c+"T12:00:00");return Math.abs(m-u)/(1e3*60*60*24)<=3};return(c,m)=>(t.openBlock(),t.createElementBlock("main",null,[m[8]||(m[8]=t.createElementVNode("div",{class:"modal-overlay-patch-notes"},[t.createElementVNode("div",{class:"modal-backdrop-patch-notes"})],-1)),t.createElementVNode("div",qb,[t.createElementVNode("div",Wb,[t.createElementVNode("div",Yb,[t.createElementVNode("button",{onClick:m[0]||(m[0]=u=>d()),class:"modal-close-btn-patch-notes"},m[1]||(m[1]=[t.createElementVNode("svg",{class:"modal-close-icon-patch-notes","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14"},[t.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"})],-1)]))]),t.createElementVNode("div",Ub,[t.createElementVNode("div",Xb,[t.createElementVNode("section",Zb,[m[4]||(m[4]=t.createElementVNode("h1",{class:"header_latest_update"},"Ultimas Atualizações",-1)),t.createElementVNode("div",{ref_key:"scrollLasContainer",ref:i,class:"features-list scrollable-section scroll_area_patch_notes_latest_update"},[e.latest_update?e.latest_update<=0?(t.openBlock(),t.createElementBlock("span",Jb," Nenhuma atualização programada ")):t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("section",Qb,[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(15,u=>t.createElementVNode("div",Kb)),64))])),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.latest_update,(u,y)=>(t.openBlock(),t.createBlock(x1,{key:y,state:"updated",title:u.title,description:u.description,date:u.launched_at,tutorial:u.tutorial,flag:u.flag,sparkles:h(u.launched_at)},null,8,["title","description","date","tutorial","flag","sparkles"]))),128)),t.createVNode(t.unref(fo),{distance:20,target:i.value,onInfinite:f},{complete:t.withCtx(()=>m[2]||(m[2]=[t.createElementVNode("span",{class:""},null,-1)])),spinner:t.withCtx(()=>m[3]||(m[3]=[t.createElementVNode("section",{class:"sections-skeleton-loader"},[t.createElementVNode("div",{class:"skeleton-loader skeleton-color-latest_update"},[t.createElementVNode("div",{class:"infinite-loader-spin"})])],-1)])),_:1},8,["target"])],512)]),t.createElementVNode("section",ew,[m[7]||(m[7]=t.createElementVNode("h1",{class:"header_future_updates"},"Futuras Atualizações",-1)),t.createElementVNode("div",{ref_key:"scrollFutContainer",ref:o,class:"features-list scrollable-section scroll_area_patch_notes_future_updates"},[e.future_updates?e.future_updates<=0?(t.openBlock(),t.createElementBlock("span",nw," Nenhuma atualização programada ")):(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:2},t.renderList(e.future_updates,(u,y)=>(t.openBlock(),t.createBlock(x1,{key:y,state:"future-update",title:u.title,description:u.description,date:u.launched_at,tutorial:u.tutorial,flag:u.flag},null,8,["title","description","date","tutorial","flag"]))),128)):(t.openBlock(),t.createElementBlock("section",tw,[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(15,u=>t.createElementVNode("div",aw)),64))])),t.createVNode(t.unref(fo),{distance:20,target:o.value,onInfinite:p},{complete:t.withCtx(()=>m[5]||(m[5]=[t.createElementVNode("span",{class:""},null,-1)])),spinner:t.withCtx(()=>m[6]||(m[6]=[t.createElementVNode("section",{class:"sections-skeleton-loader"},[t.createElementVNode("div",{class:"skeleton-loader skeleton-color-future_updates"},[t.createElementVNode("div",{class:"infinite-loader-spin"})])],-1)])),_:1},8,["target"])],512)])]),t.createVNode(_b,{loader:e.loader,sentSuccess:e.sentSuccess,onPostSuccess:s},null,8,["loader","sentSuccess"])])])])]))}},[["__scopeId","data-v-f7b5b5bc"]]),rw={key:0,class:"sparkle-badge"},ow={key:0,class:"text-white text-center flex-1"},iw={key:1,class:"sparkle-badge"},w1=qe({__name:"btnNewUpdates",props:{type:{type:String,default:"attendant",required:!0},mode:{type:String,default:"dark"},sparkles:{type:Boolean,default:!1}},emits:["openNewUpdates"],setup(e,{emit:a}){const n=a,r=e,o=(s,d)=>{const p={attendant:{container:"main-container-new-update",button:"update-button",tooltip:"tooltip-new-update",iconSize:"size-4",usePopper:!1,text:null},managerSideBarClose:{container:"main-container-new-update-manager-close",button:"new_update-button ",tooltip:null,iconSize:"size-6",usePopper:!0,text:null},managerSideBarOpen:{container:"main-container-new-update-manager-open",button:"new_update-button-open-side open-width",tooltip:null,iconSize:"size-6",usePopper:!1,text:"Notas de atualização"}};return p[s]||p.attendant},i=t.computed(()=>o(r.type,r.sparkles)),l=()=>{n("openNewUpdates")};return(s,d)=>(t.openBlock(),t.createElementBlock("main",{class:t.normalizeClass(["relative",i.value.container]),onClick:l},[i.value.usePopper?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("button",{class:t.normalizeClass(i.value.button)},d[0]||(d[0]=[t.createElementVNode("svg",{class:"new_update-icon",fill:"currentColor",viewBox:"0 0 420.827 420.827"},[t.createElementVNode("g",null,[t.createElementVNode("g",null,[t.createElementVNode("path",{d:"M210.29,0C156,0,104.43,20.693,65.077,58.269C25.859,95.715,2.794,146.022,0.134,199.921 c-0.135,2.734,0.857,5.404,2.744,7.388c1.889,1.983,4.507,3.105,7.244,3.105h45.211c5.275,0,9.644-4.098,9.979-9.362 c4.871-76.214,68.553-135.914,144.979-135.914c80.105,0,145.275,65.171,145.275,145.276c0,80.105-65.17,145.276-145.275,145.276 c-18.109,0-35.772-3.287-52.501-9.771l17.366-15.425c2.686-2.354,3.912-5.964,3.217-9.468c-0.696-3.506-3.209-6.371-6.592-7.521 l-113-32.552c-3.387-1.149-7.122-0.407-9.81,1.948c-2.686,2.354-3.913,5.963-3.218,9.467L69.71,403.157 c0.696,3.505,3.209,6.372,6.591,7.521c3.383,1.147,7.122,0.408,9.81-1.946l18.599-16.298 c31.946,18.574,68.456,28.394,105.581,28.394c116.021,0,210.414-94.392,210.414-210.414C420.705,94.391,326.312,0,210.29,0z"}),t.createElementVNode("path",{d:"M195.112,237.9h118.5c2.757,0,5-2.242,5-5v-30c0-2.757-2.243-5-5-5h-83.5v-91c0-2.757-2.243-5-5-5h-30 c-2.757,0-5,2.243-5,5v126C190.112,235.658,192.355,237.9,195.112,237.9z"})])])],-1)]),2),e.sparkles?(t.openBlock(),t.createElementBlock("div",rw,[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(i.value.iconSize),viewBox:"0 0 128 128"},d[1]||(d[1]=[t.createStaticVNode('<path d="M121.59 60.83l-13.93-4.49c-8.91-2.94-14.13-10.15-16.58-19.21L84.95 7.27c-.16-.59-.55-1.38-1.75-1.38c-1.01 0-1.59.79-1.75 1.38l-6.13 29.87c-2.46 9.06-7.67 16.27-16.58 19.21l-13.93 4.49c-1.97.64-2 3.42-.04 4.09l14.03 4.83c8.88 2.95 14.06 10.15 16.52 19.17l6.14 29.53c.16.59.49 1.65 1.75 1.65c1.33 0 1.59-1.06 1.75-1.65l6.14-29.53c2.46-9.03 7.64-16.23 16.52-19.17l14.03-4.83c1.94-.68 1.91-3.46-.06-4.1z" fill="#fdd835" data-v-b6196bab></path><path d="M122.91 62.08c-.22-.55-.65-1.03-1.32-1.25l-13.93-4.49c-8.91-2.94-14.13-10.15-16.58-19.21L84.95 7.27c-.09-.34-.41-.96-.78-1.14l1.98 29.97c1.47 13.68 2.73 20.12 13.65 22c9.38 1.62 20.23 3.48 23.11 3.98z" fill="#ffee58" data-v-b6196bab></path><path d="M122.94 63.64l-24.16 5.54c-8.51 2.16-13.2 7.09-13.2 19.99l-2.37 30.94c.81-.08 1.47-.52 1.75-1.65l6.14-29.53c2.46-9.03 7.64-16.23 16.52-19.17l14.03-4.83c.66-.24 1.08-.73 1.29-1.29z" fill="#f4b400" data-v-b6196bab></path><g data-v-b6196bab><path d="M41.81 86.81c-8.33-2.75-9.09-5.85-10.49-11.08l-3.49-12.24c-.21-.79-2.27-.79-2.49 0L22.97 74.8c-1.41 5.21-4.41 9.35-9.53 11.04l-8.16 3.54c-1.13.37-1.15 1.97-.02 2.35l8.22 2.91c5.1 1.69 8.08 5.83 9.5 11.02l2.37 10.82c.22.79 2.27.79 2.48 0l2.78-10.77c1.41-5.22 3.57-9.37 10.5-11.07l7.72-2.91c1.13-.39 1.12-1.99-.02-2.36l-7-2.56z" fill="#fdd835" data-v-b6196bab></path><path d="M28.49 75.55c.85 7.86 1.28 10.04 7.65 11.67l13.27 2.59c-.14-.19-.34-.35-.61-.43l-7-2.57c-7.31-2.5-9.33-5.68-10.7-12.04c-1.37-6.36-2.83-10.51-2.83-10.51c-.51-1.37-1.24-1.3-1.24-1.3l1.46 12.59z" fill="#ffee58" data-v-b6196bab></path><path d="M28.73 102.99c0-7.41 4.05-11.08 10.49-11.08l10.02-.41s-.58.77-1.59 1.01l-6.54 2.13c-5.55 2.23-8.08 3.35-9.8 10.94c0 0-2.22 8.83-2.64 9.76c-.58 1.3-1.27 1.57-1.27 1.57l1.33-13.92z" fill="#f4b400" data-v-b6196bab></path></g><path d="M59.74 28.14c.56-.19.54-.99-.03-1.15l-7.72-2.08a4.77 4.77 0 0 1-3.34-3.3L45.61 9.06c-.15-.61-1.02-.61-1.17.01l-2.86 12.5a4.734 4.734 0 0 1-3.4 3.37l-7.67 1.99c-.57.15-.61.95-.05 1.15l8.09 2.8c1.45.5 2.57 1.68 3.01 3.15l2.89 11.59c.15.6 1.01.61 1.16 0l2.99-11.63a4.773 4.773 0 0 1 3.04-3.13l8.1-2.72z" fill="#f4b400" stroke="#f4b400" stroke-miterlimit="10" data-v-b6196bab></path>',5)]),2))])):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createElementVNode("button",{class:t.normalizeClass(["relative",i.value.button])},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(r.mode==="dark"?"dark_new_update-icon":"new_update-icon"),fill:"currentColor",viewBox:"0 0 420.827 420.827"},d[2]||(d[2]=[t.createElementVNode("g",null,[t.createElementVNode("g",null,[t.createElementVNode("path",{d:"M210.29,0C156,0,104.43,20.693,65.077,58.269C25.859,95.715,2.794,146.022,0.134,199.921 c-0.135,2.734,0.857,5.404,2.744,7.388c1.889,1.983,4.507,3.105,7.244,3.105h45.211c5.275,0,9.644-4.098,9.979-9.362 c4.871-76.214,68.553-135.914,144.979-135.914c80.105,0,145.275,65.171,145.275,145.276c0,80.105-65.17,145.276-145.275,145.276 c-18.109,0-35.772-3.287-52.501-9.771l17.366-15.425c2.686-2.354,3.912-5.964,3.217-9.468c-0.696-3.506-3.209-6.371-6.592-7.521 l-113-32.552c-3.387-1.149-7.122-0.407-9.81,1.948c-2.686,2.354-3.913,5.963-3.218,9.467L69.71,403.157 c0.696,3.505,3.209,6.372,6.591,7.521c3.383,1.147,7.122,0.408,9.81-1.946l18.599-16.298 c31.946,18.574,68.456,28.394,105.581,28.394c116.021,0,210.414-94.392,210.414-210.414C420.705,94.391,326.312,0,210.29,0z"}),t.createElementVNode("path",{d:"M195.112,237.9h118.5c2.757,0,5-2.242,5-5v-30c0-2.757-2.243-5-5-5h-83.5v-91c0-2.757-2.243-5-5-5h-30 c-2.757,0-5,2.243-5,5v126C190.112,235.658,192.355,237.9,195.112,237.9z"})])],-1)]),2)),i.value.text?(t.openBlock(),t.createElementBlock("span",ow,t.toDisplayString(i.value.text),1)):t.createCommentVNode("",!0),e.sparkles?(t.openBlock(),t.createElementBlock("div",iw,[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(i.value.iconSize),viewBox:"0 0 128 128"},d[3]||(d[3]=[t.createStaticVNode('<path d="M121.59 60.83l-13.93-4.49c-8.91-2.94-14.13-10.15-16.58-19.21L84.95 7.27c-.16-.59-.55-1.38-1.75-1.38c-1.01 0-1.59.79-1.75 1.38l-6.13 29.87c-2.46 9.06-7.67 16.27-16.58 19.21l-13.93 4.49c-1.97.64-2 3.42-.04 4.09l14.03 4.83c8.88 2.95 14.06 10.15 16.52 19.17l6.14 29.53c.16.59.49 1.65 1.75 1.65c1.33 0 1.59-1.06 1.75-1.65l6.14-29.53c2.46-9.03 7.64-16.23 16.52-19.17l14.03-4.83c1.94-.68 1.91-3.46-.06-4.1z" fill="#fdd835" data-v-b6196bab></path><path d="M122.91 62.08c-.22-.55-.65-1.03-1.32-1.25l-13.93-4.49c-8.91-2.94-14.13-10.15-16.58-19.21L84.95 7.27c-.09-.34-.41-.96-.78-1.14l1.98 29.97c1.47 13.68 2.73 20.12 13.65 22c9.38 1.62 20.23 3.48 23.11 3.98z" fill="#ffee58" data-v-b6196bab></path><path d="M122.94 63.64l-24.16 5.54c-8.51 2.16-13.2 7.09-13.2 19.99l-2.37 30.94c.81-.08 1.47-.52 1.75-1.65l6.14-29.53c2.46-9.03 7.64-16.23 16.52-19.17l14.03-4.83c.66-.24 1.08-.73 1.29-1.29z" fill="#f4b400" data-v-b6196bab></path><g data-v-b6196bab><path d="M41.81 86.81c-8.33-2.75-9.09-5.85-10.49-11.08l-3.49-12.24c-.21-.79-2.27-.79-2.49 0L22.97 74.8c-1.41 5.21-4.41 9.35-9.53 11.04l-8.16 3.54c-1.13.37-1.15 1.97-.02 2.35l8.22 2.91c5.1 1.69 8.08 5.83 9.5 11.02l2.37 10.82c.22.79 2.27.79 2.48 0l2.78-10.77c1.41-5.22 3.57-9.37 10.5-11.07l7.72-2.91c1.13-.39 1.12-1.99-.02-2.36l-7-2.56z" fill="#fdd835" data-v-b6196bab></path><path d="M28.49 75.55c.85 7.86 1.28 10.04 7.65 11.67l13.27 2.59c-.14-.19-.34-.35-.61-.43l-7-2.57c-7.31-2.5-9.33-5.68-10.7-12.04c-1.37-6.36-2.83-10.51-2.83-10.51c-.51-1.37-1.24-1.3-1.24-1.3l1.46 12.59z" fill="#ffee58" data-v-b6196bab></path><path d="M28.73 102.99c0-7.41 4.05-11.08 10.49-11.08l10.02-.41s-.58.77-1.59 1.01l-6.54 2.13c-5.55 2.23-8.08 3.35-9.8 10.94c0 0-2.22 8.83-2.64 9.76c-.58 1.3-1.27 1.57-1.27 1.57l1.33-13.92z" fill="#f4b400" data-v-b6196bab></path></g><path d="M59.74 28.14c.56-.19.54-.99-.03-1.15l-7.72-2.08a4.77 4.77 0 0 1-3.34-3.3L45.61 9.06c-.15-.61-1.02-.61-1.17.01l-2.86 12.5a4.734 4.734 0 0 1-3.4 3.37l-7.67 1.99c-.57.15-.61.95-.05 1.15l8.09 2.8c1.45.5 2.57 1.68 3.01 3.15l2.89 11.59c.15.6 1.01.61 1.16 0l2.99-11.63a4.773 4.773 0 0 1 3.04-3.13l8.1-2.72z" fill="#f4b400" stroke="#f4b400" stroke-miterlimit="10" data-v-b6196bab></path>',5)]),2))])):t.createCommentVNode("",!0)],2),t.withDirectives(t.createElementVNode("p",{class:t.normalizeClass(i.value.tooltip)}," Notas de atualização ",2),[[t.vShow,i.value.tooltip]])],64))],2))}},[["__scopeId","data-v-b6196bab"]]);zt.defineStore("debug",{state:()=>({message:"Debug store initialized"}),actions:{logMessage(){console.log(this.message)}}});function lw(e){e.component("primarySelect",jo),e.component("departSelect",d1),e.component("attendantSelect",u1),e.component("SimpleModal",qo),e.component("simpleCard",Wo),e.component("instanceSelect",Ni),e.component("calendar",Il),e.component("MFA",Gl),e.component("MfaQrCode",n5),e.component("chatWindow",s1),e.component("FilterSelectLib",m1),e.component("MobileInternalChat",c1),e.component("RandomAvatar",g1),e.component("MinModal",y1),e.component("LibPatchNotes",b1),e.component("BtnNewUpdates",w1)}function v1(e,a="add"){const n=Lo();a==="add"?n.addDepartments(e):a==="delete"?n.removeDepartments(e):a==="update"?(n.departments=e,n.loaded=!0):console.error(`Ação "${a}" não suportada em attLibDeparts.`)}function E1(e,a="add"){const n=Un();a==="add"?n.addAttendants(e):a==="delete"?n.removeAttendants(e):a==="update"?(n.attendants=e,n.loaded=!0):console.error(`Ação "${a}" não suportada em attLibAttendants.`)}function C1(e,a="add"){const n=Br();a==="add"?n.addInstance(e):a==="delete"?n.removeInstance(e):a==="update"?(n.instances=e,n.loaded=!0):console.error(`Ação "${a}" não suportada em attLibInstances.`)}async function S1(e,a,n,r=[],o=[],i=[]){try{const l=await _i(e);a&&await l.setToken(a),n&&(na.defaults.baseURL=n);const s=Lo(e);o.length>0&&(s.departments=o,s.count=o.length);const d=Un(e);r.length>0&&(d.attendants=r,d.count=r.length),await Br(e).fetchInstances()}catch(l){console.error("Erro no setupLibrary:",l)}}const sw={install:lw,setupLibrary:S1,attLibDeparts:v1,attLibAttendants:E1,attLibInstances:C1,primarySelect:jo,simpleModal:qo,simpleCard:Wo,instanceSelect:Ni,calendar:Il,MFA:Gl,chatWindow:s1,departSelect:d1,attendantSelect:u1,FilterSelectLib:m1,MobileInternalChat:c1,RandomAvatar:g1,MinModal:y1,libPatchNotes:b1,btnNewUpdates:w1};ut.attLibAttendants=E1,ut.attLibDeparts=v1,ut.attLibInstances=C1,ut.default=sw,ut.setupLibrary=S1,Object.defineProperties(ut,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
120
|
+
$bm_rt = loopOut('cycle', 0);`},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 11",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:132,st:0,bm:0}]}],layers:[{ddd:0,ind:1,ty:3,nm:"Position Control",sr:1,ks:{o:{a:0,k:0,ix:11},r:{a:0,k:0,ix:10},p:{s:!0,x:{a:0,k:400,ix:3},y:{a:1,k:[{i:{x:[.349],y:[1]},o:{x:[.039],y:[.602]},t:0,s:[840],e:[300]},{i:{x:[.65],y:[1]},o:{x:[.333],y:[0]},t:30,s:[300],e:[460]},{i:{x:[.818],y:[.968]},o:{x:[.023],y:[.564]},t:80,s:[460],e:[-420]},{t:96}],ix:4}},a:{a:0,k:[0,0,0],ix:1},s:{a:1,k:[{i:{x:[.49,.49,.49],y:[1,1,1]},o:{x:[.49,.49,.49],y:[0,0,0]},t:15,s:[70,70,100],e:[40,40,100]},{t:80}],ix:6}},ao:0,ef:[{ty:5,nm:"Wiggle Rate",np:3,mn:"ADBE Slider Control",ix:1,en:1,ef:[{ty:0,nm:"Slider",mn:"ADBE Slider Control-0001",ix:1,v:{a:0,k:0,ix:1}}]}],ip:0,op:100,st:0,bm:0},{ddd:0,ind:2,ty:0,nm:"Rocket",parent:1,refId:"comp_0",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[5.833,0,0],ix:2},a:{a:0,k:[300,300,0],ix:1},s:{a:0,k:[148.754,148.754,100],ix:6}},ao:0,tm:{a:1,k:[{i:{x:[.21],y:[.928]},o:{x:[.04],y:[.361]},t:0,s:[.667],e:[2]},{i:{x:[.38],y:[1]},o:{x:[.49],y:[0]},t:30.062,s:[2],e:[3.2]},{i:{x:[.82],y:[.986]},o:{x:[.49],y:[0]},t:80,s:[3.2],e:[4.333]},{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:96,s:[4.333],e:[4.333]},{t:130}],ix:2},w:600,h:600,ip:0,op:110,st:0,bm:0},{ddd:0,ind:3,ty:4,nm:"Fire 1",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[-.118,101.791,0],ix:2},a:{a:0,k:[250,380.848,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:1,k:[{i:{x:.35,y:1},o:{x:.04,y:.6},t:9,s:[{i:[[7.185,19.04],[0,0],[0,0],[-4.257,-5.66],[0,0],[-10.521,-10.232],[0,11.755],[0,0]],o:[[0,0],[0,0],[-7.186,19.04],[0,0],[0,11.755],[10.52,-10.232],[0,0],[4.257,-5.66]],v:[[32.583,-41.739],[.001,-41.739],[-32.581,-41.739],[-28.786,191.098],[-24.746,185.22],[0,227.453],[24.746,185.22],[28.785,191.098]],c:!0}],e:[{i:[[7.185,19.04],[0,0],[0,0],[-4.257,-5.66],[0,0],[-10.521,-10.232],[0,11.755],[0,0]],o:[[0,0],[0,0],[-7.186,19.04],[0,0],[0,11.755],[10.52,-10.232],[0,0],[4.257,-5.66]],v:[[32.583,-41.739],[.001,-41.739],[-32.581,-41.739],[-28.786,5.384],[-24.745,-.494],[.001,41.739],[24.746,-.494],[28.785,5.384]],c:!0}]},{t:30}],ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.995999983245,.788000009574,.156999999402,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[250.338,422.749],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 11",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:30,st:0,bm:0},{ddd:0,ind:4,ty:4,nm:"Fire 2",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[-.118,103.916,0],ix:2},a:{a:0,k:[250,385.497,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:1,k:[{i:{x:.35,y:1},o:{x:.04,y:.6},t:9,s:[{i:[[11.317,29.988],[0,0],[0,0],[-6.705,-8.915],[0,0],[-16.571,-16.115],[0,18.516],[0,0]],o:[[0,0],[0,0],[-11.316,29.988],[0,0],[0,18.516],[16.57,-16.115],[0,0],[6.706,-8.915]],v:[[51.318,-65.74],[.001,-65.74],[-51.318,-65.74],[-45.338,329.554],[-38.976,320.296],[.001,386.814],[38.976,320.296],[45.339,329.554]],c:!0}],e:[{i:[[11.317,29.988],[0,0],[0,0],[-6.705,-8.915],[0,0],[-16.571,-16.115],[0,18.516],[0,0]],o:[[0,0],[0,0],[-11.316,29.988],[0,0],[0,18.516],[16.57,-16.115],[0,0],[6.706,-8.915]],v:[[51.318,-65.74],[.001,-65.74],[-51.318,-65.74],[-45.339,8.48],[-38.977,-.778],[.001,65.74],[38.975,-.778],[45.339,8.48]],c:!0}]},{t:30}],ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.995999983245,.340999977261,.13300000359,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[250.339,446.75],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 12",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:30,st:0,bm:0},{ddd:0,ind:5,ty:4,nm:"Fire 1 Wiggle",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[-.118,101.791,0],ix:2},a:{a:0,k:[250,380.848,0],ix:1},s:{a:1,k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:30,s:[100,100,100],e:[100,136.488,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:50,s:[100,136.488,100],e:[100,101,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:71,s:[100,101,100],e:[100,124,100]},{t:80}],ix:6}},ao:0,ef:[{ty:5,nm:"Scale Wiggle",np:3,mn:"ADBE Slider Control",ix:1,en:1,ef:[{ty:0,nm:"Slider",mn:"ADBE Slider Control-0001",ix:1,v:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:29,s:[0],e:[1]},{t:30}],ix:1}}]}],shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:1,k:[{i:{x:.35,y:1},o:{x:.04,y:.6},t:9,s:[{i:[[7.185,19.04],[0,0],[0,0],[-4.257,-5.66],[0,0],[-10.521,-10.232],[0,11.755],[0,0]],o:[[0,0],[0,0],[-7.186,19.04],[0,0],[0,11.755],[10.52,-10.232],[0,0],[4.257,-5.66]],v:[[32.583,-41.739],[.001,-41.739],[-32.581,-41.739],[-28.786,191.098],[-24.746,185.22],[0,227.453],[24.746,185.22],[28.785,191.098]],c:!0}],e:[{i:[[7.185,19.04],[0,0],[0,0],[-4.257,-5.66],[0,0],[-10.521,-10.232],[0,11.755],[0,0]],o:[[0,0],[0,0],[-7.186,19.04],[0,0],[0,11.755],[10.52,-10.232],[0,0],[4.257,-5.66]],v:[[32.583,-41.739],[.001,-41.739],[-32.581,-41.739],[-28.786,5.384],[-24.745,-.494],[.001,41.739],[24.746,-.494],[28.785,5.384]],c:!0}]},{i:{x:.833,y:1},o:{x:.04,y:0},t:30,s:[{i:[[7.185,19.04],[0,0],[0,0],[-4.257,-5.66],[0,0],[-10.521,-10.232],[0,11.755],[0,0]],o:[[0,0],[0,0],[-7.186,19.04],[0,0],[0,11.755],[10.52,-10.232],[0,0],[4.257,-5.66]],v:[[32.583,-41.739],[.001,-41.739],[-32.581,-41.739],[-28.786,5.384],[-24.745,-.494],[.001,41.739],[24.746,-.494],[28.785,5.384]],c:!0}],e:[{i:[[7.185,19.04],[0,0],[0,0],[-4.257,-5.66],[0,0],[-10.521,-10.232],[0,11.755],[0,0]],o:[[0,0],[0,0],[-7.186,19.04],[0,0],[0,11.755],[10.52,-10.232],[0,0],[4.257,-5.66]],v:[[32.583,-41.739],[.001,-41.739],[-32.581,-41.739],[-28.786,5.384],[-24.745,-.494],[.001,41.739],[24.746,-.494],[28.785,5.384]],c:!0}]},{i:{x:.833,y:1},o:{x:.167,y:0},t:80,s:[{i:[[7.185,19.04],[0,0],[0,0],[-4.257,-5.66],[0,0],[-10.521,-10.232],[0,11.755],[0,0]],o:[[0,0],[0,0],[-7.186,19.04],[0,0],[0,11.755],[10.52,-10.232],[0,0],[4.257,-5.66]],v:[[32.583,-41.739],[.001,-41.739],[-32.581,-41.739],[-28.786,5.384],[-24.745,-.494],[.001,41.739],[24.746,-.494],[28.785,5.384]],c:!0}],e:[{i:[[7.185,19.04],[0,0],[0,0],[-4.257,-5.66],[0,0],[-10.521,-10.232],[0,11.755],[0,0]],o:[[0,0],[0,0],[-7.186,19.04],[0,0],[0,11.755],[10.52,-10.232],[0,0],[4.257,-5.66]],v:[[32.583,-41.739],[.001,-41.739],[-32.581,-41.739],[-28.785,534.199],[-24.745,528.322],[.001,570.555],[24.746,528.322],[28.785,534.199]],c:!0}]},{i:{x:.833,y:1},o:{x:.167,y:0},t:81,s:[{i:[[7.185,19.04],[0,0],[0,0],[-4.257,-5.66],[0,0],[-10.521,-10.232],[0,11.755],[0,0]],o:[[0,0],[0,0],[-7.186,19.04],[0,0],[0,11.755],[10.52,-10.232],[0,0],[4.257,-5.66]],v:[[32.583,-41.739],[.001,-41.739],[-32.581,-41.739],[-28.785,534.199],[-24.745,528.322],[.001,570.555],[24.746,528.322],[28.785,534.199]],c:!0}],e:[{i:[[7.185,19.04],[0,0],[0,0],[-4.257,-5.66],[0,0],[-10.521,-10.232],[0,11.755],[0,0]],o:[[0,0],[0,0],[-7.186,19.04],[0,0],[0,11.755],[10.52,-10.232],[0,0],[4.257,-5.66]],v:[[32.583,-41.739],[.001,-41.739],[-32.581,-41.739],[-28.786,534.199],[-24.745,528.322],[.001,570.555],[24.746,528.322],[28.785,534.199]],c:!0}]},{i:{x:.833,y:1},o:{x:.167,y:0},t:82,s:[{i:[[7.185,19.04],[0,0],[0,0],[-4.257,-5.66],[0,0],[-10.521,-10.232],[0,11.755],[0,0]],o:[[0,0],[0,0],[-7.186,19.04],[0,0],[0,11.755],[10.52,-10.232],[0,0],[4.257,-5.66]],v:[[32.583,-41.739],[.001,-41.739],[-32.581,-41.739],[-28.786,534.199],[-24.745,528.322],[.001,570.555],[24.746,528.322],[28.785,534.199]],c:!0}],e:[{i:[[7.185,19.04],[0,0],[0,0],[-4.257,-5.66],[0,0],[-10.521,-10.232],[0,11.755],[0,0]],o:[[0,0],[0,0],[-7.186,19.04],[0,0],[0,11.755],[10.52,-10.232],[0,0],[4.257,-5.66]],v:[[32.583,-41.739],[.001,-41.739],[-32.581,-41.739],[-28.786,107.501],[-24.746,101.624],[0,143.856],[24.746,101.624],[28.785,107.501]],c:!0}]},{t:83}],ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.995999983245,.788000009574,.156999999402,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[250.338,422.749],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 11",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:30,op:110,st:0,bm:0},{ddd:0,ind:6,ty:4,nm:"Fire 2 Wiggle",parent:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[-.118,103.916,0],ix:2},a:{a:0,k:[250,385.497,0],ix:1},s:{a:1,k:[{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:30,s:[100,100,100],e:[100,144.049,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:50,s:[100,144.049,100],e:[100,96,100]},{i:{x:[.833,.833,.833],y:[.833,.833,.833]},o:{x:[.167,.167,.167],y:[.167,.167,.167]},t:71,s:[100,96,100],e:[100,124,100]},{t:80}],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:1,k:[{i:{x:.35,y:1},o:{x:.04,y:.6},t:9,s:[{i:[[11.317,29.988],[0,0],[0,0],[-6.705,-8.915],[0,0],[-16.571,-16.115],[0,18.516],[0,0]],o:[[0,0],[0,0],[-11.316,29.988],[0,0],[0,18.516],[16.57,-16.115],[0,0],[6.706,-8.915]],v:[[51.318,-65.74],[.001,-65.74],[-51.318,-65.74],[-45.338,169.194],[-38.976,159.936],[.001,226.454],[38.976,159.936],[45.339,169.194]],c:!0}],e:[{i:[[11.317,29.988],[0,0],[0,0],[-6.705,-8.915],[0,0],[-16.571,-16.115],[0,18.516],[0,0]],o:[[0,0],[0,0],[-11.316,29.988],[0,0],[0,18.516],[16.57,-16.115],[0,0],[6.706,-8.915]],v:[[51.318,-65.74],[.001,-65.74],[-51.318,-65.74],[-45.339,8.48],[-38.977,-.778],[.001,65.74],[38.975,-.778],[45.339,8.48]],c:!0}]},{i:{x:.833,y:1},o:{x:.04,y:0},t:30,s:[{i:[[11.317,29.988],[0,0],[0,0],[-6.705,-8.915],[0,0],[-16.571,-16.115],[0,18.516],[0,0]],o:[[0,0],[0,0],[-11.316,29.988],[0,0],[0,18.516],[16.57,-16.115],[0,0],[6.706,-8.915]],v:[[51.318,-65.74],[.001,-65.74],[-51.318,-65.74],[-45.339,8.48],[-38.977,-.778],[.001,65.74],[38.975,-.778],[45.339,8.48]],c:!0}],e:[{i:[[11.317,29.988],[0,0],[0,0],[-6.705,-8.915],[0,0],[-16.571,-16.115],[0,18.516],[0,0]],o:[[0,0],[0,0],[-11.316,29.988],[0,0],[0,18.516],[16.57,-16.115],[0,0],[6.706,-8.915]],v:[[51.318,-65.74],[.001,-65.74],[-51.318,-65.74],[-45.339,8.48],[-38.977,-.778],[.001,65.74],[38.975,-.778],[45.339,8.48]],c:!0}]},{i:{x:.833,y:1},o:{x:.167,y:0},t:80,s:[{i:[[11.317,29.988],[0,0],[0,0],[-6.705,-8.915],[0,0],[-16.571,-16.115],[0,18.516],[0,0]],o:[[0,0],[0,0],[-11.316,29.988],[0,0],[0,18.516],[16.57,-16.115],[0,0],[6.706,-8.915]],v:[[51.318,-65.74],[.001,-65.74],[-51.318,-65.74],[-45.339,8.48],[-38.977,-.778],[.001,65.74],[38.975,-.778],[45.339,8.48]],c:!0}],e:[{i:[[11.317,29.988],[0,0],[0,0],[-6.705,-8.915],[0,0],[-16.571,-16.115],[0,18.516],[0,0]],o:[[0,0],[0,0],[-11.316,29.988],[0,0],[0,18.516],[16.57,-16.115],[0,0],[6.706,-8.915]],v:[[51.318,-65.74],[.001,-65.74],[-51.318,-65.74],[-45.339,514.557],[-38.977,505.299],[0,571.817],[38.975,505.299],[45.338,514.557]],c:!0}]},{i:{x:.833,y:1},o:{x:.167,y:0},t:81,s:[{i:[[11.317,29.988],[0,0],[0,0],[-6.705,-8.915],[0,0],[-16.571,-16.115],[0,18.516],[0,0]],o:[[0,0],[0,0],[-11.316,29.988],[0,0],[0,18.516],[16.57,-16.115],[0,0],[6.706,-8.915]],v:[[51.318,-65.74],[.001,-65.74],[-51.318,-65.74],[-45.339,514.557],[-38.977,505.299],[0,571.817],[38.975,505.299],[45.338,514.557]],c:!0}],e:[{i:[[11.317,29.988],[0,0],[0,0],[-6.705,-8.915],[0,0],[-16.571,-16.115],[0,18.516],[0,0]],o:[[0,0],[0,0],[-11.316,29.988],[0,0],[0,18.516],[16.57,-16.115],[0,0],[6.706,-8.915]],v:[[51.318,-65.74],[.001,-65.74],[-51.318,-65.74],[-45.338,514.557],[-38.976,505.299],[.001,571.817],[38.976,505.299],[45.339,514.557]],c:!0}]},{i:{x:.833,y:1},o:{x:.167,y:0},t:82,s:[{i:[[11.317,29.988],[0,0],[0,0],[-6.705,-8.915],[0,0],[-16.571,-16.115],[0,18.516],[0,0]],o:[[0,0],[0,0],[-11.316,29.988],[0,0],[0,18.516],[16.57,-16.115],[0,0],[6.706,-8.915]],v:[[51.318,-65.74],[.001,-65.74],[-51.318,-65.74],[-45.338,514.557],[-38.976,505.299],[.001,571.817],[38.976,505.299],[45.339,514.557]],c:!0}],e:[{i:[[11.317,29.988],[0,0],[0,0],[-6.705,-8.915],[0,0],[-16.571,-16.115],[0,18.516],[0,0]],o:[[0,0],[0,0],[-11.316,29.988],[0,0],[0,18.516],[16.57,-16.115],[0,0],[6.706,-8.915]],v:[[51.318,-65.74],[.001,-65.74],[-51.318,-65.74],[-45.338,168.845],[-38.976,159.587],[.001,226.105],[38.976,159.587],[45.339,168.845]],c:!0}]},{t:83}],ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"fl",c:{a:0,k:[.995999983245,.340999977261,.13300000359,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[250.339,446.75],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 12",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:30,op:110,st:0,bm:0},{ddd:0,ind:7,ty:4,nm:"Line 11",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:-142,ix:10},p:{a:0,k:[401.5,412,0],ix:2},a:{a:0,k:[-2.5,200,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[390.439,-149.673],[-1.75,200.25]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:74,s:[0],e:[100]},{t:78}],ix:1},e:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:71,s:[6],e:[100]},{t:75}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:71,s:[5],e:[0]},{t:78}],ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"fl",c:{a:0,k:[.270588235294,.352941176471,.392156862745,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:4,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:71,op:110,st:71,bm:0},{ddd:0,ind:8,ty:4,nm:"Line 10",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:-7,ix:10},p:{a:0,k:[405.5,406,0],ix:2},a:{a:0,k:[-2.5,200,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[390.439,-149.673],[-1.75,200.25]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:71,s:[0],e:[100]},{t:75}],ix:1},e:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:68,s:[6],e:[100]},{t:72}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:68,s:[5],e:[0]},{t:75}],ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"fl",c:{a:0,k:[.270588235294,.352941176471,.392156862745,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:4,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:68,op:110,st:68,bm:0},{ddd:0,ind:9,ty:4,nm:"Line 9",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:-88,ix:10},p:{a:0,k:[399.5,400,0],ix:2},a:{a:0,k:[-2.5,200,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[390.439,-149.673],[-1.75,200.25]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:69,s:[0],e:[100]},{t:73}],ix:1},e:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:66,s:[6],e:[100]},{t:70}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:66,s:[5],e:[0]},{t:73}],ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"fl",c:{a:0,k:[.270588235294,.352941176471,.392156862745,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:4,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:66,op:110,st:66,bm:0},{ddd:0,ind:10,ty:4,nm:"Line 4",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:-197,ix:10},p:{a:0,k:[395.5,400,0],ix:2},a:{a:0,k:[-2.5,200,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[344,-100],[-1.75,200.25]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:66,s:[0],e:[100]},{t:70}],ix:1},e:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:63,s:[6],e:[100]},{t:67}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:63,s:[5],e:[0]},{t:70}],ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"fl",c:{a:0,k:[.270588235294,.352941176471,.392156862745,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:4,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:63,op:110,st:63,bm:0},{ddd:0,ind:11,ty:4,nm:"Line 6",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:98,ix:10},p:{a:0,k:[393.5,418,0],ix:2},a:{a:0,k:[-2.5,200,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[344,-100],[-1.75,200.25]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:55,s:[0],e:[100]},{t:59}],ix:1},e:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:52,s:[6],e:[100]},{t:56}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:52,s:[5],e:[0]},{t:59}],ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"fl",c:{a:0,k:[.270588235294,.352941176471,.392156862745,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:4,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:52,op:110,st:52,bm:0},{ddd:0,ind:12,ty:4,nm:"Line 12",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:68,ix:10},p:{a:0,k:[411.5,320,0],ix:2},a:{a:0,k:[-2.5,200,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[0,0],[0,0]],o:[[0,0],[0,0]],v:[[344,-100],[-1.75,200.25]],c:!1},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:37,s:[0],e:[100]},{t:41}],ix:1},e:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:34,s:[6],e:[100]},{t:38}],ix:2},o:{a:0,k:0,ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:34,s:[5],e:[0]},{t:41}],ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"fl",c:{a:0,k:[.270588235294,.352941176471,.392156862745,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Shape 1",np:4,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:34,op:110,st:34,bm:0},{ddd:0,ind:13,ty:4,nm:"Blasting Circle 4",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[400.5,855,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{d:1,ty:"el",s:{a:1,k:[{i:{x:[.37,.37],y:[1,1]},o:{x:[.42,.42],y:[0,0]},t:78,s:[0,0],e:[1127,1127]},{t:94}],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Ellipse Path 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:1,k:[{i:{x:[.37],y:[1]},o:{x:[.42],y:[0]},t:78,s:[5],e:[0]},{t:94}],ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1}],ip:78,op:110,st:78,bm:0},{ddd:0,ind:14,ty:4,nm:"Blasting Circle 3",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[400.5,615,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{d:1,ty:"el",s:{a:1,k:[{i:{x:[.37,.37],y:[1,1]},o:{x:[.42,.42],y:[0,0]},t:78,s:[0,0],e:[1127,1127]},{t:94}],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Ellipse Path 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:1,k:[{i:{x:[.37],y:[1]},o:{x:[.42],y:[0]},t:78,s:[5],e:[0]},{t:94}],ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1}],ip:78,op:110,st:78,bm:0},{ddd:0,ind:15,ty:4,nm:"Blasting Circle 2",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[400.5,415,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{d:1,ty:"el",s:{a:1,k:[{i:{x:[.667,.667],y:[1,1]},o:{x:[.333,.333],y:[0,0]},t:61,s:[1007,1007],e:[0,0]},{t:71}],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Ellipse Path 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:61,s:[5],e:[0]},{t:71}],ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1}],ip:61,op:110,st:61,bm:0},{ddd:0,ind:16,ty:4,nm:"Blasting Circle ",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[399,320,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{d:1,ty:"el",s:{a:1,k:[{i:{x:[.667,.667],y:[1,1]},o:{x:[.333,.333],y:[0,0]},t:40,s:[1007,1007],e:[0,0]},{t:50}],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Ellipse Path 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:1,k:[{i:{x:[.667],y:[1]},o:{x:[.333],y:[0]},t:40,s:[5],e:[0]},{t:50}],ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1}],ip:40,op:110,st:40,bm:0},{ddd:0,ind:17,ty:4,nm:"BG",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[400,300,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"rc",d:1,s:{a:0,k:[800,600],ix:2},p:{a:0,k:[0,0],ix:3},r:{a:0,k:0,ix:4},nm:"Rectangle Path 1",mn:"ADBE Vector Shape - Rect",hd:!1},{ty:"fl",c:{a:0,k:[.03137254902,.101960784314,.149019607843,1],ix:4},o:{a:0,k:100,ix:5},r:1,bm:0,nm:"Fill 1",mn:"ADBE Vector Graphic - Fill",hd:!1}],ip:110,op:110,st:0,bm:0,hidden:0}],markers:[]},Sw={class:"main-send-suggestion"},Mw={key:0,class:"sent-suggestion-section"},Bw={class:"sent-suggestion-content"},Aw={class:"container-send-suggestion"},Vw={key:0,class:"tool_tip_suggestion_error"},_w={key:0,class:"loader-suggestion"},Nw={key:1},Dw=je({__name:"sendSuggestion",props:{loader:{type:Boolean,default:!1},sentSuccess:{type:Boolean,default:!1}},emits:["postSuccess"],setup(e,{emit:a}){const n=a,r=t.ref(""),o=t.ref(!1),i=()=>{if(o.value=!1,!r.value){o.value=!0;return}n("postSuccess",r.value)};return(s,l)=>{const c=t.resolveComponent("Vue3Lottie");return t.openBlock(),t.createElementBlock("main",Sw,[e.sentSuccess?(t.openBlock(),t.createElementBlock("section",Mw,[t.createElementVNode("div",Bw,[l[2]||(l[2]=t.createElementVNode("p",{class:"text-lg font-semibold uppercase"}," Sua sugestão foi recebida com sucesso ",-1)),t.createVNode(c,{"animation-data":t.unref(Cw),height:200,width:200,"auto-play":!0,loop:!0},null,8,["animation-data"]),l[3]||(l[3]=t.createElementVNode("span",{class:"flex flex-col gap-3 lg:text-justify"},[t.createElementVNode("p",{class:"font-semibold"}," Nossa equipe irá avaliá-la com atenção e considerar sua implementação. "),t.createElementVNode("p",{class:"text-[12px]"}," Você irá receber um e-mail com as informações da solicitação e nossa equipe irá responder em até 30 dias ")],-1)),l[4]||(l[4]=t.createElementVNode("p",{class:"font-bold"},"Agradecemos sua colaboração",-1))])])):t.createCommentVNode("",!0),t.createElementVNode("section",Aw,[l[5]||(l[5]=t.createElementVNode("h1",{class:"header_send_suggestion"},"Envie sua sugestão para nós",-1)),t.withDirectives(t.createElementVNode("textarea",{"onUpdate:modelValue":l[0]||(l[0]=p=>r.value=p),class:"input_send_suggestion textarea-send-suggestion",placeholder:"Gostaria que vocês adicionassem...",type:"text"},null,512),[[t.vModelText,r.value]]),o.value?(t.openBlock(),t.createElementBlock("span",Vw," Por favor, preencha o campo antes de continuar ")):t.createCommentVNode("",!0),t.createElementVNode("button",{onClick:l[1]||(l[1]=p=>i()),class:"submit-button-send-suggestion"},[e.loader?(t.openBlock(),t.createElementBlock("div",_w)):(t.openBlock(),t.createElementBlock("p",Nw,"Enviar"))])])])}}},[["__scopeId","data-v-839ab724"]]),Tw=e=>`<svg class="${e}" aria-hidden="true" fill="none" viewBox="0 0 24 24" > <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M18 14v4.833A1.166 1.166 0 0 1 16.833 20H5.167A1.167 1.167 0 0 1 4 18.833V7.167A1.166 1.166 0 0 1 5.167 6h4.618m4.447-2H20v5.768m-7.889 2.121 7.778-7.778" /> </svg>`,Pw=e=>`<svg class="${e}" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24" > <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 10h16m-8-3V4M7 7V4m10 3V4M5 20h14a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Zm3-7h.01v.01H8V13Zm4 0h.01v.01H12V13Zm4 0h.01v.01H16V13Zm-8 4h.01v.01H8V17Zm4 0h.01v.01H12V17Zm4 0h.01v.01H16V17Z" /> </svg>`,Ow=["innerHTML"],z1={__name:"svg",props:{svgContent:{type:String,required:!0}},setup(e){return(a,n)=>(t.openBlock(),t.createElementBlock("div",{innerHTML:e.svgContent},null,8,Ow))}},Fw={class:"feature-card__header"},Lw={class:"feature-card__title"},$w={class:"flex items-center gap-2"},Rw={key:0,class:"sparkle-badge"},Hw={key:0},zw={class:"feature-card__content"},Iw={class:"feature-card__description scroll_area_feature_card"},Gw=["innerHTML"],jw=["href"],qw={class:"feature-card__footer"},Ww={class:"feature-card__footer-section"},I1=je({__name:"feature_card",props:{state:{type:String,required:!0,default:"updated"},title:{type:String,required:!0},description:{type:String,required:!0},date:{type:[String,null],required:!0},tutorial:{type:String,default:null},flag:{type:String,required:!0},sparkles:{type:Boolean,default:!1}},setup(e){const a=t.ref(!1),n=t.ref(null),r=e;li(n,()=>{a.value=!1});const i=t.computed(()=>({"arrow-icon-patch-notes":!0,rotate:!a.value})),s=t.computed(()=>({"feature-card":!0,"feature-card--updated":r.state==="updated","feature-card--future":r.state==="future-update","feature-card--other":r.state!=="updated"&&r.state!=="future-update"})),l=t.computed(()=>({"pill-flag":!0,"pill-flag--new-feature":r.flag==="new-feature","pill-flag--improvement":r.flag==="improvement","pill-flag--bug-fix":r.flag==="bug-fix"})),c=t.computed(()=>r.flag==="improvement"?"Melhorias":r.flag==="new-feature"?"Novo Recurso":"correção de erros"),p=t.computed(()=>({"pill-date":!0,"pill-date--updated":r.state==="updated","pill-date--future":r.state!=="updated"}));return(u,m)=>{const d=t.resolveComponent("Popper");return t.openBlock(),t.createElementBlock("main",{class:t.normalizeClass(["feature_style relative",s.value]),ref_key:"targetFeatureCard",ref:n,onClick:m[0]||(m[0]=h=>a.value=!a.value)},[t.createElementVNode("header",Fw,[t.createElementVNode("h1",Lw,t.toDisplayString(e.title),1),t.createElementVNode("section",$w,[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(i.value),viewBox:"0 0 24 24",fill:"none"},m[1]||(m[1]=[t.createElementVNode("g",null,[t.createElementVNode("path",{d:"M15 11L12 8M12 8L9 11M12 8V16M21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21C16.9706 21 21 16.9706 21 12Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1)]),2)),e.sparkles?(t.openBlock(),t.createElementBlock("div",Rw,m[2]||(m[2]=[t.createStaticVNode('<svg class="size-4" viewBox="0 0 128 128" data-v-252b53a7><path d="M121.59 60.83l-13.93-4.49c-8.91-2.94-14.13-10.15-16.58-19.21L84.95 7.27c-.16-.59-.55-1.38-1.75-1.38c-1.01 0-1.59.79-1.75 1.38l-6.13 29.87c-2.46 9.06-7.67 16.27-16.58 19.21l-13.93 4.49c-1.97.64-2 3.42-.04 4.09l14.03 4.83c8.88 2.95 14.06 10.15 16.52 19.17l6.14 29.53c.16.59.49 1.65 1.75 1.65c1.33 0 1.59-1.06 1.75-1.65l6.14-29.53c2.46-9.03 7.64-16.23 16.52-19.17l14.03-4.83c1.94-.68 1.91-3.46-.06-4.1z" fill="#fdd835" data-v-252b53a7></path><path d="M122.91 62.08c-.22-.55-.65-1.03-1.32-1.25l-13.93-4.49c-8.91-2.94-14.13-10.15-16.58-19.21L84.95 7.27c-.09-.34-.41-.96-.78-1.14l1.98 29.97c1.47 13.68 2.73 20.12 13.65 22c9.38 1.62 20.23 3.48 23.11 3.98z" fill="#ffee58" data-v-252b53a7></path><path d="M122.94 63.64l-24.16 5.54c-8.51 2.16-13.2 7.09-13.2 19.99l-2.37 30.94c.81-.08 1.47-.52 1.75-1.65l6.14-29.53c2.46-9.03 7.64-16.23 16.52-19.17l14.03-4.83c.66-.24 1.08-.73 1.29-1.29z" fill="#f4b400" data-v-252b53a7></path><g data-v-252b53a7><path d="M41.81 86.81c-8.33-2.75-9.09-5.85-10.49-11.08l-3.49-12.24c-.21-.79-2.27-.79-2.49 0L22.97 74.8c-1.41 5.21-4.41 9.35-9.53 11.04l-8.16 3.54c-1.13.37-1.15 1.97-.02 2.35l8.22 2.91c5.1 1.69 8.08 5.83 9.5 11.02l2.37 10.82c.22.79 2.27.79 2.48 0l2.78-10.77c1.41-5.22 3.57-9.37 10.5-11.07l7.72-2.91c1.13-.39 1.12-1.99-.02-2.36l-7-2.56z" fill="#fdd835" data-v-252b53a7></path><path d="M28.49 75.55c.85 7.86 1.28 10.04 7.65 11.67l13.27 2.59c-.14-.19-.34-.35-.61-.43l-7-2.57c-7.31-2.5-9.33-5.68-10.7-12.04c-1.37-6.36-2.83-10.51-2.83-10.51c-.51-1.37-1.24-1.3-1.24-1.3l1.46 12.59z" fill="#ffee58" data-v-252b53a7></path><path d="M28.73 102.99c0-7.41 4.05-11.08 10.49-11.08l10.02-.41s-.58.77-1.59 1.01l-6.54 2.13c-5.55 2.23-8.08 3.35-9.8 10.94c0 0-2.22 8.83-2.64 9.76c-.58 1.3-1.27 1.57-1.27 1.57l1.33-13.92z" fill="#f4b400" data-v-252b53a7></path></g><path d="M59.74 28.14c.56-.19.54-.99-.03-1.15l-7.72-2.08a4.77 4.77 0 0 1-3.34-3.3L45.61 9.06c-.15-.61-1.02-.61-1.17.01l-2.86 12.5a4.734 4.734 0 0 1-3.4 3.37l-7.67 1.99c-.57.15-.61.95-.05 1.15l8.09 2.8c1.45.5 2.57 1.68 3.01 3.15l2.89 11.59c.15.6 1.01.61 1.16 0l2.99-11.63a4.773 4.773 0 0 1 3.04-3.13l8.1-2.72z" fill="#f4b400" stroke="#f4b400" stroke-miterlimit="10" data-v-252b53a7></path></svg>',1)]))):t.createCommentVNode("",!0)])]),t.createVNode(t.Transition,{name:"fade-slide"},{default:t.withCtx(()=>[a.value?(t.openBlock(),t.createElementBlock("div",Hw,[m[4]||(m[4]=t.createElementVNode("hr",{class:"feature-card__divider"},null,-1)),t.createElementVNode("section",zw,[t.createElementVNode("span",Iw,[t.createElementVNode("p",{class:"feature-card__paragraph",innerHTML:e.description.replace(/\n/g,"<br>")},null,8,Gw)]),e.tutorial?(t.openBlock(),t.createElementBlock("a",{key:0,class:"feature-card__tutorial-button",href:e.tutorial,target:"__blank"},[m[3]||(m[3]=t.createTextVNode(" Veja o tutorial ")),t.createVNode(z1,{svgContent:t.unref(Tw)("size-4 text-blue-900")},null,8,["svgContent"])],8,jw)):t.createCommentVNode("",!0)])])):t.createCommentVNode("",!0)]),_:1}),t.createElementVNode("footer",qw,[t.createElementVNode("section",Ww,[t.createElementVNode("span",{class:t.normalizeClass(l.value)},t.toDisplayString(c.value),3),t.createVNode(d,{class:"pill_date_popper",hover:"",disabled:e.state==="updated",arrow:!0,content:"Essa é uma data prevista para o lançamento deste recurso, a mesma está sujeita a mudanças a qualquer momento"},{default:t.withCtx(()=>[t.createElementVNode("div",{class:t.normalizeClass(p.value)},[t.createVNode(z1,{svgContent:t.unref(Pw)("size-4 text-white")},null,8,["svgContent"]),t.createElementVNode("p",null,t.toDisplayString(new Intl.DateTimeFormat("pt-BR",{day:"2-digit",month:"short",year:"numeric"}).format(new Date(e.date+"T12:00:00")).replace(/ de /g," ")),1)],2)]),_:1},8,["disabled"])])])],2)}}},[["__scopeId","data-v-252b53a7"]]),Yw={class:"modal-container-patch-notes"},Uw={class:"modal-content-patch-notes scroll_area_patch_notes_latest_update"},Xw={class:"modal-header-patch-notes"},Zw={class:"modal-body-patch-notes"},Qw={class:"modal-body-control"},Kw={class:"modal-section-patch-notes updates-section-patch-notes"},Jw={key:0,class:"sections-skeleton-loader"},ev={class:"skeleton-loader skeleton-color-latest_update"},tv={key:1,class:"text-not-patchs"},av={class:"modal-section-patch-notes future-section-patch-notes"},nv={key:0,class:"sections-skeleton-loader"},rv={class:"skeleton-loader skeleton-color-latest_update"},ov={key:1,class:"text-not-patchs"},G1=je({__name:"patchNotes",props:{future_updates:{type:[Object,null],required:!0},latest_update:{type:[Object,null],required:!0},loader:{type:Boolean,default:!1},sentSuccess:{type:Boolean,default:!1}},emits:["close","postSuggestion","loadMoreFutureUpdates","loadMoreLatestUpdates"],setup(e,{emit:a}){const n=t.ref(1),r=t.ref(1),o=t.ref(null),i=t.ref(null),s=a,l=d=>{s("postSuggestion",d)},c=()=>{s("close"),n.value=1,r.value=1},p=({loaded:d,complete:h})=>{s("loadMoreFutureUpdates",{loaded:d,complete:h,page:n.value}),n.value++},u=({loaded:d,complete:h})=>{s("loadMoreLatestUpdates",{loaded:d,complete:h,page:r.value}),r.value++},m=d=>{if(!d)return!1;const h=new Date,f=new Date(d+"T12:00:00");return Math.abs(h-f)/(1e3*60*60*24)<=3};return(d,h)=>(t.openBlock(),t.createElementBlock("main",null,[h[8]||(h[8]=t.createElementVNode("div",{class:"modal-overlay-patch-notes"},[t.createElementVNode("div",{class:"modal-backdrop-patch-notes"})],-1)),t.createElementVNode("div",Yw,[t.createElementVNode("div",Uw,[t.createElementVNode("div",Xw,[t.createElementVNode("button",{onClick:h[0]||(h[0]=f=>c()),class:"modal-close-btn-patch-notes"},h[1]||(h[1]=[t.createElementVNode("svg",{class:"modal-close-icon-patch-notes","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14"},[t.createElementVNode("path",{stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"})],-1)]))]),t.createElementVNode("div",Zw,[t.createElementVNode("div",Qw,[t.createElementVNode("section",Kw,[h[4]||(h[4]=t.createElementVNode("h1",{class:"header_latest_update"},"Ultimas Atualizações",-1)),t.createElementVNode("div",{ref_key:"scrollLasContainer",ref:i,class:"features-list scrollable-section scroll_area_patch_notes_latest_update"},[e.latest_update?e.latest_update<=0?(t.openBlock(),t.createElementBlock("span",tv," Nenhuma atualização programada ")):t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("section",Jw,[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(15,f=>t.createElementVNode("div",ev)),64))])),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.latest_update,(f,g)=>(t.openBlock(),t.createBlock(I1,{key:g,state:"updated",title:f.title,description:f.description,date:f.launched_at,tutorial:f.tutorial,flag:f.flag,sparkles:m(f.launched_at)},null,8,["title","description","date","tutorial","flag","sparkles"]))),128)),t.createVNode(t.unref(Co),{distance:20,target:i.value,onInfinite:u},{complete:t.withCtx(()=>h[2]||(h[2]=[t.createElementVNode("span",{class:""},null,-1)])),spinner:t.withCtx(()=>h[3]||(h[3]=[t.createElementVNode("section",{class:"sections-skeleton-loader"},[t.createElementVNode("div",{class:"skeleton-loader skeleton-color-latest_update"},[t.createElementVNode("div",{class:"infinite-loader-spin"})])],-1)])),_:1},8,["target"])],512)]),t.createElementVNode("section",av,[h[7]||(h[7]=t.createElementVNode("h1",{class:"header_future_updates"},"Futuras Atualizações",-1)),t.createElementVNode("div",{ref_key:"scrollFutContainer",ref:o,class:"features-list scrollable-section scroll_area_patch_notes_future_updates"},[e.future_updates?e.future_updates<=0?(t.openBlock(),t.createElementBlock("span",ov," Nenhuma atualização programada ")):(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:2},t.renderList(e.future_updates,(f,g)=>(t.openBlock(),t.createBlock(I1,{key:g,state:"future-update",title:f.title,description:f.description,date:f.launched_at,tutorial:f.tutorial,flag:f.flag},null,8,["title","description","date","tutorial","flag"]))),128)):(t.openBlock(),t.createElementBlock("section",nv,[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(15,f=>t.createElementVNode("div",rv)),64))])),t.createVNode(t.unref(Co),{distance:20,target:o.value,onInfinite:p},{complete:t.withCtx(()=>h[5]||(h[5]=[t.createElementVNode("span",{class:""},null,-1)])),spinner:t.withCtx(()=>h[6]||(h[6]=[t.createElementVNode("section",{class:"sections-skeleton-loader"},[t.createElementVNode("div",{class:"skeleton-loader skeleton-color-future_updates"},[t.createElementVNode("div",{class:"infinite-loader-spin"})])],-1)])),_:1},8,["target"])],512)])]),t.createVNode(Dw,{loader:e.loader,sentSuccess:e.sentSuccess,onPostSuccess:l},null,8,["loader","sentSuccess"])])])])]))}},[["__scopeId","data-v-f7b5b5bc"]]),iv={key:0,class:"sparkle-badge"},sv={key:0,class:"text-white text-center flex-1"},lv={key:1,class:"sparkle-badge"},j1=je({__name:"btnNewUpdates",props:{type:{type:String,default:"attendant",required:!0},mode:{type:String,default:"dark"},sparkles:{type:Boolean,default:!1}},emits:["openNewUpdates"],setup(e,{emit:a}){const n=a,r=e,o=(l,c)=>{const p={attendant:{container:"main-container-new-update",button:"update-button",tooltip:"tooltip-new-update",iconSize:"size-4",usePopper:!1,text:null},managerSideBarClose:{container:"main-container-new-update-manager-close",button:"new_update-button ",tooltip:null,iconSize:"size-6",usePopper:!0,text:null},managerSideBarOpen:{container:"main-container-new-update-manager-open",button:"new_update-button-open-side open-width",tooltip:null,iconSize:"size-6",usePopper:!1,text:"Notas de atualização"}};return p[l]||p.attendant},i=t.computed(()=>o(r.type,r.sparkles)),s=()=>{n("openNewUpdates")};return(l,c)=>(t.openBlock(),t.createElementBlock("main",{class:t.normalizeClass(["relative",i.value.container]),onClick:s},[i.value.usePopper?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("button",{class:t.normalizeClass(i.value.button)},c[0]||(c[0]=[t.createElementVNode("svg",{class:"new_update-icon",fill:"currentColor",viewBox:"0 0 420.827 420.827"},[t.createElementVNode("g",null,[t.createElementVNode("g",null,[t.createElementVNode("path",{d:"M210.29,0C156,0,104.43,20.693,65.077,58.269C25.859,95.715,2.794,146.022,0.134,199.921 c-0.135,2.734,0.857,5.404,2.744,7.388c1.889,1.983,4.507,3.105,7.244,3.105h45.211c5.275,0,9.644-4.098,9.979-9.362 c4.871-76.214,68.553-135.914,144.979-135.914c80.105,0,145.275,65.171,145.275,145.276c0,80.105-65.17,145.276-145.275,145.276 c-18.109,0-35.772-3.287-52.501-9.771l17.366-15.425c2.686-2.354,3.912-5.964,3.217-9.468c-0.696-3.506-3.209-6.371-6.592-7.521 l-113-32.552c-3.387-1.149-7.122-0.407-9.81,1.948c-2.686,2.354-3.913,5.963-3.218,9.467L69.71,403.157 c0.696,3.505,3.209,6.372,6.591,7.521c3.383,1.147,7.122,0.408,9.81-1.946l18.599-16.298 c31.946,18.574,68.456,28.394,105.581,28.394c116.021,0,210.414-94.392,210.414-210.414C420.705,94.391,326.312,0,210.29,0z"}),t.createElementVNode("path",{d:"M195.112,237.9h118.5c2.757,0,5-2.242,5-5v-30c0-2.757-2.243-5-5-5h-83.5v-91c0-2.757-2.243-5-5-5h-30 c-2.757,0-5,2.243-5,5v126C190.112,235.658,192.355,237.9,195.112,237.9z"})])])],-1)]),2),e.sparkles?(t.openBlock(),t.createElementBlock("div",iv,[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(i.value.iconSize),viewBox:"0 0 128 128"},c[1]||(c[1]=[t.createStaticVNode('<path d="M121.59 60.83l-13.93-4.49c-8.91-2.94-14.13-10.15-16.58-19.21L84.95 7.27c-.16-.59-.55-1.38-1.75-1.38c-1.01 0-1.59.79-1.75 1.38l-6.13 29.87c-2.46 9.06-7.67 16.27-16.58 19.21l-13.93 4.49c-1.97.64-2 3.42-.04 4.09l14.03 4.83c8.88 2.95 14.06 10.15 16.52 19.17l6.14 29.53c.16.59.49 1.65 1.75 1.65c1.33 0 1.59-1.06 1.75-1.65l6.14-29.53c2.46-9.03 7.64-16.23 16.52-19.17l14.03-4.83c1.94-.68 1.91-3.46-.06-4.1z" fill="#fdd835" data-v-b6196bab></path><path d="M122.91 62.08c-.22-.55-.65-1.03-1.32-1.25l-13.93-4.49c-8.91-2.94-14.13-10.15-16.58-19.21L84.95 7.27c-.09-.34-.41-.96-.78-1.14l1.98 29.97c1.47 13.68 2.73 20.12 13.65 22c9.38 1.62 20.23 3.48 23.11 3.98z" fill="#ffee58" data-v-b6196bab></path><path d="M122.94 63.64l-24.16 5.54c-8.51 2.16-13.2 7.09-13.2 19.99l-2.37 30.94c.81-.08 1.47-.52 1.75-1.65l6.14-29.53c2.46-9.03 7.64-16.23 16.52-19.17l14.03-4.83c.66-.24 1.08-.73 1.29-1.29z" fill="#f4b400" data-v-b6196bab></path><g data-v-b6196bab><path d="M41.81 86.81c-8.33-2.75-9.09-5.85-10.49-11.08l-3.49-12.24c-.21-.79-2.27-.79-2.49 0L22.97 74.8c-1.41 5.21-4.41 9.35-9.53 11.04l-8.16 3.54c-1.13.37-1.15 1.97-.02 2.35l8.22 2.91c5.1 1.69 8.08 5.83 9.5 11.02l2.37 10.82c.22.79 2.27.79 2.48 0l2.78-10.77c1.41-5.22 3.57-9.37 10.5-11.07l7.72-2.91c1.13-.39 1.12-1.99-.02-2.36l-7-2.56z" fill="#fdd835" data-v-b6196bab></path><path d="M28.49 75.55c.85 7.86 1.28 10.04 7.65 11.67l13.27 2.59c-.14-.19-.34-.35-.61-.43l-7-2.57c-7.31-2.5-9.33-5.68-10.7-12.04c-1.37-6.36-2.83-10.51-2.83-10.51c-.51-1.37-1.24-1.3-1.24-1.3l1.46 12.59z" fill="#ffee58" data-v-b6196bab></path><path d="M28.73 102.99c0-7.41 4.05-11.08 10.49-11.08l10.02-.41s-.58.77-1.59 1.01l-6.54 2.13c-5.55 2.23-8.08 3.35-9.8 10.94c0 0-2.22 8.83-2.64 9.76c-.58 1.3-1.27 1.57-1.27 1.57l1.33-13.92z" fill="#f4b400" data-v-b6196bab></path></g><path d="M59.74 28.14c.56-.19.54-.99-.03-1.15l-7.72-2.08a4.77 4.77 0 0 1-3.34-3.3L45.61 9.06c-.15-.61-1.02-.61-1.17.01l-2.86 12.5a4.734 4.734 0 0 1-3.4 3.37l-7.67 1.99c-.57.15-.61.95-.05 1.15l8.09 2.8c1.45.5 2.57 1.68 3.01 3.15l2.89 11.59c.15.6 1.01.61 1.16 0l2.99-11.63a4.773 4.773 0 0 1 3.04-3.13l8.1-2.72z" fill="#f4b400" stroke="#f4b400" stroke-miterlimit="10" data-v-b6196bab></path>',5)]),2))])):t.createCommentVNode("",!0)],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createElementVNode("button",{class:t.normalizeClass(["relative",i.value.button])},[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(r.mode==="dark"?"dark_new_update-icon":"new_update-icon"),fill:"currentColor",viewBox:"0 0 420.827 420.827"},c[2]||(c[2]=[t.createElementVNode("g",null,[t.createElementVNode("g",null,[t.createElementVNode("path",{d:"M210.29,0C156,0,104.43,20.693,65.077,58.269C25.859,95.715,2.794,146.022,0.134,199.921 c-0.135,2.734,0.857,5.404,2.744,7.388c1.889,1.983,4.507,3.105,7.244,3.105h45.211c5.275,0,9.644-4.098,9.979-9.362 c4.871-76.214,68.553-135.914,144.979-135.914c80.105,0,145.275,65.171,145.275,145.276c0,80.105-65.17,145.276-145.275,145.276 c-18.109,0-35.772-3.287-52.501-9.771l17.366-15.425c2.686-2.354,3.912-5.964,3.217-9.468c-0.696-3.506-3.209-6.371-6.592-7.521 l-113-32.552c-3.387-1.149-7.122-0.407-9.81,1.948c-2.686,2.354-3.913,5.963-3.218,9.467L69.71,403.157 c0.696,3.505,3.209,6.372,6.591,7.521c3.383,1.147,7.122,0.408,9.81-1.946l18.599-16.298 c31.946,18.574,68.456,28.394,105.581,28.394c116.021,0,210.414-94.392,210.414-210.414C420.705,94.391,326.312,0,210.29,0z"}),t.createElementVNode("path",{d:"M195.112,237.9h118.5c2.757,0,5-2.242,5-5v-30c0-2.757-2.243-5-5-5h-83.5v-91c0-2.757-2.243-5-5-5h-30 c-2.757,0-5,2.243-5,5v126C190.112,235.658,192.355,237.9,195.112,237.9z"})])],-1)]),2)),i.value.text?(t.openBlock(),t.createElementBlock("span",sv,t.toDisplayString(i.value.text),1)):t.createCommentVNode("",!0),e.sparkles?(t.openBlock(),t.createElementBlock("div",lv,[(t.openBlock(),t.createElementBlock("svg",{class:t.normalizeClass(i.value.iconSize),viewBox:"0 0 128 128"},c[3]||(c[3]=[t.createStaticVNode('<path d="M121.59 60.83l-13.93-4.49c-8.91-2.94-14.13-10.15-16.58-19.21L84.95 7.27c-.16-.59-.55-1.38-1.75-1.38c-1.01 0-1.59.79-1.75 1.38l-6.13 29.87c-2.46 9.06-7.67 16.27-16.58 19.21l-13.93 4.49c-1.97.64-2 3.42-.04 4.09l14.03 4.83c8.88 2.95 14.06 10.15 16.52 19.17l6.14 29.53c.16.59.49 1.65 1.75 1.65c1.33 0 1.59-1.06 1.75-1.65l6.14-29.53c2.46-9.03 7.64-16.23 16.52-19.17l14.03-4.83c1.94-.68 1.91-3.46-.06-4.1z" fill="#fdd835" data-v-b6196bab></path><path d="M122.91 62.08c-.22-.55-.65-1.03-1.32-1.25l-13.93-4.49c-8.91-2.94-14.13-10.15-16.58-19.21L84.95 7.27c-.09-.34-.41-.96-.78-1.14l1.98 29.97c1.47 13.68 2.73 20.12 13.65 22c9.38 1.62 20.23 3.48 23.11 3.98z" fill="#ffee58" data-v-b6196bab></path><path d="M122.94 63.64l-24.16 5.54c-8.51 2.16-13.2 7.09-13.2 19.99l-2.37 30.94c.81-.08 1.47-.52 1.75-1.65l6.14-29.53c2.46-9.03 7.64-16.23 16.52-19.17l14.03-4.83c.66-.24 1.08-.73 1.29-1.29z" fill="#f4b400" data-v-b6196bab></path><g data-v-b6196bab><path d="M41.81 86.81c-8.33-2.75-9.09-5.85-10.49-11.08l-3.49-12.24c-.21-.79-2.27-.79-2.49 0L22.97 74.8c-1.41 5.21-4.41 9.35-9.53 11.04l-8.16 3.54c-1.13.37-1.15 1.97-.02 2.35l8.22 2.91c5.1 1.69 8.08 5.83 9.5 11.02l2.37 10.82c.22.79 2.27.79 2.48 0l2.78-10.77c1.41-5.22 3.57-9.37 10.5-11.07l7.72-2.91c1.13-.39 1.12-1.99-.02-2.36l-7-2.56z" fill="#fdd835" data-v-b6196bab></path><path d="M28.49 75.55c.85 7.86 1.28 10.04 7.65 11.67l13.27 2.59c-.14-.19-.34-.35-.61-.43l-7-2.57c-7.31-2.5-9.33-5.68-10.7-12.04c-1.37-6.36-2.83-10.51-2.83-10.51c-.51-1.37-1.24-1.3-1.24-1.3l1.46 12.59z" fill="#ffee58" data-v-b6196bab></path><path d="M28.73 102.99c0-7.41 4.05-11.08 10.49-11.08l10.02-.41s-.58.77-1.59 1.01l-6.54 2.13c-5.55 2.23-8.08 3.35-9.8 10.94c0 0-2.22 8.83-2.64 9.76c-.58 1.3-1.27 1.57-1.27 1.57l1.33-13.92z" fill="#f4b400" data-v-b6196bab></path></g><path d="M59.74 28.14c.56-.19.54-.99-.03-1.15l-7.72-2.08a4.77 4.77 0 0 1-3.34-3.3L45.61 9.06c-.15-.61-1.02-.61-1.17.01l-2.86 12.5a4.734 4.734 0 0 1-3.4 3.37l-7.67 1.99c-.57.15-.61.95-.05 1.15l8.09 2.8c1.45.5 2.57 1.68 3.01 3.15l2.89 11.59c.15.6 1.01.61 1.16 0l2.99-11.63a4.773 4.773 0 0 1 3.04-3.13l8.1-2.72z" fill="#f4b400" stroke="#f4b400" stroke-miterlimit="10" data-v-b6196bab></path>',5)]),2))])):t.createCommentVNode("",!0)],2),t.withDirectives(t.createElementVNode("p",{class:t.normalizeClass(i.value.tooltip)}," Notas de atualização ",2),[[t.vShow,i.value.tooltip]])],64))],2))}},[["__scopeId","data-v-b6196bab"]]);It.defineStore("debug",{state:()=>({message:"Debug store initialized"}),actions:{logMessage(){console.log(this.message)}}});function cv(e){e.component("primarySelect",ci),e.component("departSelect",T1),e.component("attendantSelect",P1),e.component("SimpleModal",di),e.component("simpleCard",ui),e.component("instanceSelect",Zi),e.component("calendar",il),e.component("MFA",sl),e.component("MfaQrCode",$5),e.component("chatWindow",N1),e.component("FilterSelectLib",O1),e.component("MobileInternalChat",D1),e.component("RandomAvatar",R1),e.component("MinModal",H1),e.component("LibPatchNotes",G1),e.component("BtnNewUpdates",j1)}function q1(e,a="add"){const n=Zo();a==="add"?n.addDepartments(e):a==="delete"?n.removeDepartments(e):a==="update"?(n.departments=e,n.loaded=!0):console.error(`Ação "${a}" não suportada em attLibDeparts.`)}function W1(e,a="add"){const n=er();a==="add"?n.addAttendants(e):a==="delete"?n.removeAttendants(e):a==="update"?(n.attendants=e,n.loaded=!0):console.error(`Ação "${a}" não suportada em attLibAttendants.`)}function Y1(e,a="add"){const n=$r();a==="add"?n.addInstance(e):a==="delete"?n.removeInstance(e):a==="update"?(n.instances=e,n.loaded=!0):console.error(`Ação "${a}" não suportada em attLibInstances.`)}async function U1(e,a,n,r=[],o=[],i=[]){try{const s=await Xi(e);a&&await s.setToken(a),n&&(ra.defaults.baseURL=n);const l=Zo(e);o.length>0&&(l.departments=o,l.count=o.length);const c=er(e);r.length>0&&(c.attendants=r,c.count=r.length),await $r(e).fetchInstances()}catch(s){console.error("Erro no setupLibrary:",s)}}const dv={install:cv,setupLibrary:U1,attLibDeparts:q1,attLibAttendants:W1,attLibInstances:Y1,primarySelect:ci,simpleModal:di,simpleCard:ui,instanceSelect:Zi,calendar:il,MFA:sl,chatWindow:N1,departSelect:T1,attendantSelect:P1,FilterSelectLib:O1,MobileInternalChat:D1,RandomAvatar:R1,MinModal:H1,libPatchNotes:G1,btnNewUpdates:j1};function uv(e){e.CapacitorUtils.Synapse=new Proxy({},{get(a,n){return new Proxy({},{get(r,o){return(i,s,l)=>{const c=e.Capacitor.Plugins[n];if(c===void 0){l(new Error(`Capacitor plugin ${n} not found`));return}if(typeof c[o]!="function"){l(new Error(`Method ${o} not found in Capacitor plugin ${n}`));return}(async()=>{try{const p=await c[o](i);s(p)}catch(p){l(p)}})()}}})}})}function fv(e){e.CapacitorUtils.Synapse=new Proxy({},{get(a,n){return e.cordova.plugins[n]}})}function mv(e=!1){typeof window>"u"||(window.CapacitorUtils=window.CapacitorUtils||{},window.Capacitor!==void 0&&!e?uv(window):window.cordova!==void 0&&fv(window))}var X1;(function(e){e.Documents="DOCUMENTS",e.Data="DATA",e.Library="LIBRARY",e.Cache="CACHE",e.External="EXTERNAL",e.ExternalStorage="EXTERNAL_STORAGE",e.ExternalCache="EXTERNAL_CACHE",e.LibraryNoCloud="LIBRARY_NO_CLOUD",e.Temporary="TEMPORARY"})(X1||(X1={}));var Qo;(function(e){e.UTF8="utf8",e.ASCII="ascii",e.UTF16="utf16"})(Qo||(Qo={}));const vr=Bn("Filesystem",{web:()=>Promise.resolve().then(()=>Tv).then(e=>new e.FilesystemWeb)});mv();const hv=Bn("BlobWriter");function pv(e){return window.btoa(Array.from(new Uint8Array(e)).map(function(a){return String.fromCharCode(a)}).join(""))}function gv({path:e,directory:a,blob:n,recursive:r}){return vr.writeFile({directory:a,path:e,recursive:r,data:""}).then(function(){return new Promise(function(o,i){function s(c){i(c.target.error)}const l=window.indexedDB.open("Disc");l.onerror=s,l.onsuccess=function(){const p=l.result.transaction("FileStorage","readwrite");p.onerror=s;const u=p.objectStore("FileStorage"),m=`/${a}/${e.replace(/^\//,"")}`,d=u.get(m);d.onsuccess=function(){d.result.size=n.size,d.result.content=n;const h=u.put(d.result);h.onsuccess=function(){o(void 0)}}}})})}function Z1({path:e,directory:a,blob:n,recursive:r}){return vr.writeFile({directory:a,path:e,recursive:r,data:""}).then(function o(){if(n.size===0)return Promise.resolve();const i=3*128*1024,s=n.slice(0,i);return n=n.slice(i),new Response(s).arrayBuffer().then(function(c){return vr.appendFile({directory:a,path:e,data:pv(c)})}).then(o)})}function yv(e){const{path:a,directory:n,blob:r,fast_mode:o=!1,recursive:i,on_fallback:s}=e;return!r||!Number.isSafeInteger(r.size)||typeof r.type!="string"?Promise.reject(new Error("Not a Blob.")):pr.getPlatform()==="web"?o?gv(e):Z1(e):Promise.all([hv.get_config(),vr.getUri({path:a,directory:n})]).then(function([l,c]){const p=c.uri.replace("file://","");return(window.CapacitorWebFetch||window.fetch)(l.base_url+p+(i?"?recursive=true":""),{headers:{authorization:l.auth_token},method:"put",body:r}).then(function(m){if(m.status!==204)throw new Error("Bad HTTP status: "+m.status);return c.uri})}).catch(function(c){return s!==void 0&&s(c),Z1(e)})}const kv=Object.freeze(yv);function bv(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Q1={};function xv(e){return e&&e.__esModule?e:{default:e}}var wv=xv,Ko={exports:{}},K1;function vv(){return K1||(K1=1,function(e){var a=function(n){var r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(A,v,X){A[v]=X.value},s,l=typeof Symbol=="function"?Symbol:{},c=l.iterator||"@@iterator",p=l.asyncIterator||"@@asyncIterator",u=l.toStringTag||"@@toStringTag";function m(A,v,X){return Object.defineProperty(A,v,{value:X,enumerable:!0,configurable:!0,writable:!0}),A[v]}try{m({},"")}catch{m=function(v,X,K){return v[X]=K}}function d(A,v,X,K){var q=v&&v.prototype instanceof k?v:k,M=Object.create(q.prototype),J=new R(K||[]);return i(M,"_invoke",{value:Q(A,X,J)}),M}n.wrap=d;function h(A,v,X){try{return{type:"normal",arg:A.call(v,X)}}catch(K){return{type:"throw",arg:K}}}var f="suspendedStart",g="suspendedYield",b="executing",x="completed",w={};function k(){}function V(){}function _(){}var T={};m(T,c,function(){return this});var N=Object.getPrototypeOf,S=N&&N(N(Y([])));S&&S!==r&&o.call(S,c)&&(T=S);var B=_.prototype=k.prototype=Object.create(T);V.prototype=_,i(B,"constructor",{value:_,configurable:!0}),i(_,"constructor",{value:V,configurable:!0}),V.displayName=m(_,u,"GeneratorFunction");function G(A){["next","throw","return"].forEach(function(v){m(A,v,function(X){return this._invoke(v,X)})})}n.isGeneratorFunction=function(A){var v=typeof A=="function"&&A.constructor;return v?v===V||(v.displayName||v.name)==="GeneratorFunction":!1},n.mark=function(A){return Object.setPrototypeOf?Object.setPrototypeOf(A,_):(A.__proto__=_,m(A,u,"GeneratorFunction")),A.prototype=Object.create(B),A},n.awrap=function(A){return{__await:A}};function O(A,v){function X(M,J,ce,z){var he=h(A[M],A,J);if(he.type==="throw")z(he.arg);else{var ee=he.arg,fe=ee.value;return fe&&typeof fe=="object"&&o.call(fe,"__await")?v.resolve(fe.__await).then(function(F){X("next",F,ce,z)},function(F){X("throw",F,ce,z)}):v.resolve(fe).then(function(F){ee.value=F,ce(ee)},function(F){return X("throw",F,ce,z)})}}var K;function q(M,J){function ce(){return new v(function(z,he){X(M,J,z,he)})}return K=K?K.then(ce,ce):ce()}i(this,"_invoke",{value:q})}G(O.prototype),m(O.prototype,p,function(){return this}),n.AsyncIterator=O,n.async=function(A,v,X,K,q){q===void 0&&(q=Promise);var M=new O(d(A,v,X,K),q);return n.isGeneratorFunction(v)?M:M.next().then(function(J){return J.done?J.value:M.next()})};function Q(A,v,X){var K=f;return function(M,J){if(K===b)throw new Error("Generator is already running");if(K===x){if(M==="throw")throw J;return oe()}for(X.method=M,X.arg=J;;){var ce=X.delegate;if(ce){var z=U(ce,X);if(z){if(z===w)continue;return z}}if(X.method==="next")X.sent=X._sent=X.arg;else if(X.method==="throw"){if(K===f)throw K=x,X.arg;X.dispatchException(X.arg)}else X.method==="return"&&X.abrupt("return",X.arg);K=b;var he=h(A,v,X);if(he.type==="normal"){if(K=X.done?x:g,he.arg===w)continue;return{value:he.arg,done:X.done}}else he.type==="throw"&&(K=x,X.method="throw",X.arg=he.arg)}}}function U(A,v){var X=v.method,K=A.iterator[X];if(K===s)return v.delegate=null,X==="throw"&&A.iterator.return&&(v.method="return",v.arg=s,U(A,v),v.method==="throw")||X!=="return"&&(v.method="throw",v.arg=new TypeError("The iterator does not provide a '"+X+"' method")),w;var q=h(K,A.iterator,v.arg);if(q.type==="throw")return v.method="throw",v.arg=q.arg,v.delegate=null,w;var M=q.arg;if(!M)return v.method="throw",v.arg=new TypeError("iterator result is not an object"),v.delegate=null,w;if(M.done)v[A.resultName]=M.value,v.next=A.nextLoc,v.method!=="return"&&(v.method="next",v.arg=s);else return M;return v.delegate=null,w}G(B),m(B,u,"Generator"),m(B,c,function(){return this}),m(B,"toString",function(){return"[object Generator]"});function E(A){var v={tryLoc:A[0]};1 in A&&(v.catchLoc=A[1]),2 in A&&(v.finallyLoc=A[2],v.afterLoc=A[3]),this.tryEntries.push(v)}function D(A){var v=A.completion||{};v.type="normal",delete v.arg,A.completion=v}function R(A){this.tryEntries=[{tryLoc:"root"}],A.forEach(E,this),this.reset(!0)}n.keys=function(A){var v=Object(A),X=[];for(var K in v)X.push(K);return X.reverse(),function q(){for(;X.length;){var M=X.pop();if(M in v)return q.value=M,q.done=!1,q}return q.done=!0,q}};function Y(A){if(A){var v=A[c];if(v)return v.call(A);if(typeof A.next=="function")return A;if(!isNaN(A.length)){var X=-1,K=function q(){for(;++X<A.length;)if(o.call(A,X))return q.value=A[X],q.done=!1,q;return q.value=s,q.done=!0,q};return K.next=K}}return{next:oe}}n.values=Y;function oe(){return{value:s,done:!0}}return R.prototype={constructor:R,reset:function(A){if(this.prev=0,this.next=0,this.sent=this._sent=s,this.done=!1,this.delegate=null,this.method="next",this.arg=s,this.tryEntries.forEach(D),!A)for(var v in this)v.charAt(0)==="t"&&o.call(this,v)&&!isNaN(+v.slice(1))&&(this[v]=s)},stop:function(){this.done=!0;var A=this.tryEntries[0],v=A.completion;if(v.type==="throw")throw v.arg;return this.rval},dispatchException:function(A){if(this.done)throw A;var v=this;function X(z,he){return M.type="throw",M.arg=A,v.next=z,he&&(v.method="next",v.arg=s),!!he}for(var K=this.tryEntries.length-1;K>=0;--K){var q=this.tryEntries[K],M=q.completion;if(q.tryLoc==="root")return X("end");if(q.tryLoc<=this.prev){var J=o.call(q,"catchLoc"),ce=o.call(q,"finallyLoc");if(J&&ce){if(this.prev<q.catchLoc)return X(q.catchLoc,!0);if(this.prev<q.finallyLoc)return X(q.finallyLoc)}else if(J){if(this.prev<q.catchLoc)return X(q.catchLoc,!0)}else if(ce){if(this.prev<q.finallyLoc)return X(q.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(A,v){for(var X=this.tryEntries.length-1;X>=0;--X){var K=this.tryEntries[X];if(K.tryLoc<=this.prev&&o.call(K,"finallyLoc")&&this.prev<K.finallyLoc){var q=K;break}}q&&(A==="break"||A==="continue")&&q.tryLoc<=v&&v<=q.finallyLoc&&(q=null);var M=q?q.completion:{};return M.type=A,M.arg=v,q?(this.method="next",this.next=q.finallyLoc,w):this.complete(M)},complete:function(A,v){if(A.type==="throw")throw A.arg;return A.type==="break"||A.type==="continue"?this.next=A.arg:A.type==="return"?(this.rval=this.arg=A.arg,this.method="return",this.next="end"):A.type==="normal"&&v&&(this.next=v),w},finish:function(A){for(var v=this.tryEntries.length-1;v>=0;--v){var X=this.tryEntries[v];if(X.finallyLoc===A)return this.complete(X.completion,X.afterLoc),D(X),w}},catch:function(A){for(var v=this.tryEntries.length-1;v>=0;--v){var X=this.tryEntries[v];if(X.tryLoc===A){var K=X.completion;if(K.type==="throw"){var q=K.arg;D(X)}return q}}throw new Error("illegal catch attempt")},delegateYield:function(A,v,X){return this.delegate={iterator:Y(A),resultName:v,nextLoc:X},this.method==="next"&&(this.arg=s),w}},n}(e.exports);try{regeneratorRuntime=a}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=a:Function("r","regeneratorRuntime = r")(a)}}(Ko)),Ko.exports}var Jo,J1;function Ev(){return J1||(J1=1,Jo=vv()),Jo}var ei,e0;function Cv(){if(e0)return ei;e0=1;function e(n,r,o,i,s,l,c){try{var p=n[l](c),u=p.value}catch(m){o(m);return}p.done?r(u):Promise.resolve(u).then(i,s)}function a(n){return function(){var r=this,o=arguments;return new Promise(function(i,s){var l=n.apply(r,o);function c(u){e(l,i,s,c,p,"next",u)}function p(u){e(l,i,s,c,p,"throw",u)}c(void 0)})}}return ei=a,ei}(function(e){var a=wv;Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var n=a(Ev()),r=a(Cv());function o(s){return i.apply(this,arguments)}function i(){return(i=(0,r.default)(n.default.mark(function s(l){var c,p;return n.default.wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return c=document.createElement("video"),p=new Promise(function(m,d){c.addEventListener("loadedmetadata",function(){c.duration===1/0?(c.currentTime=Number.MAX_SAFE_INTEGER,c.ontimeupdate=function(){c.ontimeupdate=null,m(c.duration),c.currentTime=0}):m(c.duration)}),c.onerror=function(h){return d(h.target.error)}}),c.src=typeof l=="string"||l instanceof String?l:window.URL.createObjectURL(l),u.abrupt("return",p);case 4:case"end":return u.stop()}},s)}))).apply(this,arguments)}})(Q1);const Sv=bv(Q1),wa=()=>({value:!0}),Vn=()=>({value:!1}),Mv=()=>new Error("MISSING_PERMISSION"),Bv=()=>new Error("ALREADY_RECORDING"),Av=()=>new Error("DEVICE_CANNOT_VOICE_RECORD"),t0=()=>new Error("FAILED_TO_RECORD"),Vv=()=>new Error("EMPTY_RECORDING"),ti=()=>new Error("RECORDING_HAS_NOT_STARTED"),a0=()=>new Error("FAILED_TO_FETCH_RECORDING"),ai=()=>new Error("COULD_NOT_QUERY_PERMISSION_STATUS"),n0={"audio/aac":".aac","audio/mp4":".mp3","audio/webm;codecs=opus":".ogg","audio/webm":".ogg","audio/ogg;codecs=opus":".ogg"},r0=()=>new Promise(()=>{});class zt{constructor(){this.mediaRecorder=null,this.chunks=[],this.pendingResult=r0()}static async canDeviceVoiceRecord(){var a;return((a=navigator==null?void 0:navigator.mediaDevices)===null||a===void 0?void 0:a.getUserMedia)==null||zt.getSupportedMimeType()==null?Vn():wa()}async startRecording(a){if(this.mediaRecorder!=null)throw Bv();if(!(await zt.canDeviceVoiceRecord()).value)throw Av();if(!(await zt.hasAudioRecordingPermission().catch(()=>wa())).value)throw Mv();return navigator.mediaDevices.getUserMedia({audio:!0}).then(o=>this.onSuccessfullyStartedRecording(o,a)).catch(this.onFailedToStartRecording.bind(this))}async stopRecording(){if(this.mediaRecorder==null)throw ti();try{return this.mediaRecorder.stop(),this.mediaRecorder.stream.getTracks().forEach(a=>a.stop()),this.pendingResult}catch{throw a0()}finally{this.prepareInstanceForNextOperation()}}static async hasAudioRecordingPermission(){return navigator.permissions.query==null?navigator.mediaDevices==null?Promise.reject(ai()):navigator.mediaDevices.getUserMedia({audio:!0}).then(()=>wa()).catch(()=>{throw ai()}):navigator.permissions.query({name:"microphone"}).then(a=>({value:a.state==="granted"})).catch(()=>{throw ai()})}static async requestAudioRecordingPermission(){return(await zt.hasAudioRecordingPermission().catch(()=>Vn())).value?wa():navigator.mediaDevices.getUserMedia({audio:!0}).then(()=>wa()).catch(()=>Vn())}pauseRecording(){if(this.mediaRecorder==null)throw ti();return this.mediaRecorder.state==="recording"?(this.mediaRecorder.pause(),Promise.resolve(wa())):Promise.resolve(Vn())}resumeRecording(){if(this.mediaRecorder==null)throw ti();return this.mediaRecorder.state==="paused"?(this.mediaRecorder.resume(),Promise.resolve(wa())):Promise.resolve(Vn())}getCurrentStatus(){return this.mediaRecorder==null?Promise.resolve({status:yr.NONE}):this.mediaRecorder.state==="recording"?Promise.resolve({status:yr.RECORDING}):this.mediaRecorder.state==="paused"?Promise.resolve({status:yr.PAUSED}):Promise.resolve({status:yr.NONE})}static getSupportedMimeType(){if((MediaRecorder==null?void 0:MediaRecorder.isTypeSupported)==null)return null;const a=Object.keys(n0).find(n=>MediaRecorder.isTypeSupported(n));return a??null}onSuccessfullyStartedRecording(a,n){return this.pendingResult=new Promise((r,o)=>{this.mediaRecorder=new MediaRecorder(a),this.mediaRecorder.onerror=()=>{this.prepareInstanceForNextOperation(),o(t0())},this.mediaRecorder.onstop=async()=>{var i,s,l;const c=zt.getSupportedMimeType();if(c==null){this.prepareInstanceForNextOperation(),o(a0());return}const p=new Blob(this.chunks,{type:c});if(p.size<=0){this.prepareInstanceForNextOperation(),o(Vv());return}let u,m;n!=null?(u=`${(l=(s=(i=n.subDirectory)===null||i===void 0?void 0:i.match(/^\/?(.+[^/])\/?$/))===null||s===void 0?void 0:s[1])!==null&&l!==void 0?l:""}/recording-${new Date().getTime()}${n0[c]}`,await kv({blob:p,directory:n.directory,fast_mode:!0,path:u,recursive:!0})):m=await zt.blobToBase64(p);const d=await Sv(p);this.prepareInstanceForNextOperation(),r({value:{recordDataBase64:m,mimeType:c,msDuration:d*1e3,path:u}})},this.mediaRecorder.ondataavailable=i=>this.chunks.push(i.data),this.mediaRecorder.start()}),wa()}onFailedToStartRecording(){throw this.prepareInstanceForNextOperation(),t0()}static blobToBase64(a){return new Promise(n=>{const r=new FileReader;r.onloadend=()=>{const o=String(r.result),i=o.split("base64,"),s=i.length>1?i[1]:o;n(s.trim())},r.readAsDataURL(a)})}prepareInstanceForNextOperation(){if(this.mediaRecorder!=null&&this.mediaRecorder.state==="recording")try{this.mediaRecorder.stop()}catch(a){console.warn("While trying to stop a media recorder, an error was thrown",a)}this.pendingResult=r0(),this.mediaRecorder=null,this.chunks=[]}}class _v extends gr{constructor(){super(...arguments),this.voiceRecorderInstance=new zt}canDeviceVoiceRecord(){return zt.canDeviceVoiceRecord()}hasAudioRecordingPermission(){return zt.hasAudioRecordingPermission()}requestAudioRecordingPermission(){return zt.requestAudioRecordingPermission()}startRecording(a){return this.voiceRecorderInstance.startRecording(a)}stopRecording(){return this.voiceRecorderInstance.stopRecording()}pauseRecording(){return this.voiceRecorderInstance.pauseRecording()}resumeRecording(){return this.voiceRecorderInstance.resumeRecording()}getCurrentStatus(){return this.voiceRecorderInstance.getCurrentStatus()}}const Nv=Object.freeze(Object.defineProperty({__proto__:null,VoiceRecorderWeb:_v},Symbol.toStringTag,{value:"Module"}));function o0(e){const a=e.split("/").filter(r=>r!=="."),n=[];return a.forEach(r=>{r===".."&&n.length>0&&n[n.length-1]!==".."?n.pop():n.push(r)}),n.join("/")}function Dv(e,a){e=o0(e),a=o0(a);const n=e.split("/"),r=a.split("/");return e!==a&&n.every((o,i)=>o===r[i])}class Er extends gr{constructor(){super(...arguments),this.DB_VERSION=1,this.DB_NAME="Disc",this._writeCmds=["add","put","delete"],this.downloadFile=async a=>{var n,r;const o=m1(a,a.webFetchExtra),i=await fetch(a.url,o);let s;if(!a.progress)s=await i.blob();else if(!(i!=null&&i.body))s=new Blob;else{const c=i.body.getReader();let p=0;const u=[],m=i.headers.get("content-type"),d=parseInt(i.headers.get("content-length")||"0",10);for(;;){const{done:g,value:b}=await c.read();if(g)break;u.push(b),p+=(b==null?void 0:b.length)||0;const x={url:a.url,bytes:p,contentLength:d};this.notifyListeners("progress",x)}const h=new Uint8Array(p);let f=0;for(const g of u)typeof g>"u"||(h.set(g,f),f+=g.length);s=new Blob([h.buffer],{type:m||void 0})}return{path:(await this.writeFile({path:a.path,directory:(n=a.directory)!==null&&n!==void 0?n:void 0,recursive:(r=a.recursive)!==null&&r!==void 0?r:!1,data:s})).uri,blob:s}}}readFileInChunks(a,n){throw this.unavailable("Method not implemented.")}async initDb(){if(this._db!==void 0)return this._db;if(!("indexedDB"in window))throw this.unavailable("This browser doesn't support IndexedDB");return new Promise((a,n)=>{const r=indexedDB.open(this.DB_NAME,this.DB_VERSION);r.onupgradeneeded=Er.doUpgrade,r.onsuccess=()=>{this._db=r.result,a(r.result)},r.onerror=()=>n(r.error),r.onblocked=()=>{console.warn("db blocked")}})}static doUpgrade(a){const r=a.target.result;switch(a.oldVersion){case 0:case 1:default:r.objectStoreNames.contains("FileStorage")&&r.deleteObjectStore("FileStorage"),r.createObjectStore("FileStorage",{keyPath:"path"}).createIndex("by_folder","folder")}}async dbRequest(a,n){const r=this._writeCmds.indexOf(a)!==-1?"readwrite":"readonly";return this.initDb().then(o=>new Promise((i,s)=>{const p=o.transaction(["FileStorage"],r).objectStore("FileStorage")[a](...n);p.onsuccess=()=>i(p.result),p.onerror=()=>s(p.error)}))}async dbIndexRequest(a,n,r){const o=this._writeCmds.indexOf(n)!==-1?"readwrite":"readonly";return this.initDb().then(i=>new Promise((s,l)=>{const m=i.transaction(["FileStorage"],o).objectStore("FileStorage").index(a)[n](...r);m.onsuccess=()=>s(m.result),m.onerror=()=>l(m.error)}))}getPath(a,n){const r=n!==void 0?n.replace(/^[/]+|[/]+$/g,""):"";let o="";return a!==void 0&&(o+="/"+a),n!==""&&(o+="/"+r),o}async clear(){(await this.initDb()).transaction(["FileStorage"],"readwrite").objectStore("FileStorage").clear()}async readFile(a){const n=this.getPath(a.directory,a.path),r=await this.dbRequest("get",[n]);if(r===void 0)throw Error("File does not exist.");return{data:r.content?r.content:""}}async writeFile(a){const n=this.getPath(a.directory,a.path);let r=a.data;const o=a.encoding,i=a.recursive,s=await this.dbRequest("get",[n]);if(s&&s.type==="directory")throw Error("The supplied path is a directory.");const l=n.substr(0,n.lastIndexOf("/"));if(await this.dbRequest("get",[l])===void 0){const m=l.indexOf("/",1);if(m!==-1){const d=l.substr(m);await this.mkdir({path:d,directory:a.directory,recursive:i})}}if(!o&&!(r instanceof Blob)&&(r=r.indexOf(",")>=0?r.split(",")[1]:r,!this.isBase64String(r)))throw Error("The supplied data is not valid base64 content.");const p=Date.now(),u={path:n,folder:l,type:"file",size:r instanceof Blob?r.size:r.length,ctime:p,mtime:p,content:r};return await this.dbRequest("put",[u]),{uri:u.path}}async appendFile(a){const n=this.getPath(a.directory,a.path);let r=a.data;const o=a.encoding,i=n.substr(0,n.lastIndexOf("/")),s=Date.now();let l=s;const c=await this.dbRequest("get",[n]);if(c&&c.type==="directory")throw Error("The supplied path is a directory.");if(await this.dbRequest("get",[i])===void 0){const m=i.indexOf("/",1);if(m!==-1){const d=i.substr(m);await this.mkdir({path:d,directory:a.directory,recursive:!0})}}if(!o&&!this.isBase64String(r))throw Error("The supplied data is not valid base64 content.");if(c!==void 0){if(c.content instanceof Blob)throw Error("The occupied entry contains a Blob object which cannot be appended to.");c.content!==void 0&&!o?r=btoa(atob(c.content)+atob(r)):r=c.content+r,l=c.ctime}const u={path:n,folder:i,type:"file",size:r.length,ctime:l,mtime:s,content:r};await this.dbRequest("put",[u])}async deleteFile(a){const n=this.getPath(a.directory,a.path);if(await this.dbRequest("get",[n])===void 0)throw Error("File does not exist.");if((await this.dbIndexRequest("by_folder","getAllKeys",[IDBKeyRange.only(n)])).length!==0)throw Error("Folder is not empty.");await this.dbRequest("delete",[n])}async mkdir(a){const n=this.getPath(a.directory,a.path),r=a.recursive,o=n.substr(0,n.lastIndexOf("/")),i=(n.match(/\//g)||[]).length,s=await this.dbRequest("get",[o]),l=await this.dbRequest("get",[n]);if(i===1)throw Error("Cannot create Root directory");if(l!==void 0)throw Error("Current directory does already exist.");if(!r&&i!==2&&s===void 0)throw Error("Parent directory must exist");if(r&&i!==2&&s===void 0){const u=o.substr(o.indexOf("/",1));await this.mkdir({path:u,directory:a.directory,recursive:r})}const c=Date.now(),p={path:n,folder:o,type:"directory",size:0,ctime:c,mtime:c};await this.dbRequest("put",[p])}async rmdir(a){const{path:n,directory:r,recursive:o}=a,i=this.getPath(r,n),s=await this.dbRequest("get",[i]);if(s===void 0)throw Error("Folder does not exist.");if(s.type!=="directory")throw Error("Requested path is not a directory");const l=await this.readdir({path:n,directory:r});if(l.files.length!==0&&!o)throw Error("Folder is not empty");for(const c of l.files){const p=`${n}/${c.name}`;(await this.stat({path:p,directory:r})).type==="file"?await this.deleteFile({path:p,directory:r}):await this.rmdir({path:p,directory:r,recursive:o})}await this.dbRequest("delete",[i])}async readdir(a){const n=this.getPath(a.directory,a.path),r=await this.dbRequest("get",[n]);if(a.path!==""&&r===void 0)throw Error("Folder does not exist.");const o=await this.dbIndexRequest("by_folder","getAllKeys",[IDBKeyRange.only(n)]);return{files:await Promise.all(o.map(async s=>{let l=await this.dbRequest("get",[s]);return l===void 0&&(l=await this.dbRequest("get",[s+"/"])),{name:s.substring(n.length+1),type:l.type,size:l.size,ctime:l.ctime,mtime:l.mtime,uri:l.path}}))}}async getUri(a){const n=this.getPath(a.directory,a.path);let r=await this.dbRequest("get",[n]);return r===void 0&&(r=await this.dbRequest("get",[n+"/"])),{uri:(r==null?void 0:r.path)||n}}async stat(a){const n=this.getPath(a.directory,a.path);let r=await this.dbRequest("get",[n]);if(r===void 0&&(r=await this.dbRequest("get",[n+"/"])),r===void 0)throw Error("Entry does not exist.");return{name:r.path.substring(n.length+1),type:r.type,size:r.size,ctime:r.ctime,mtime:r.mtime,uri:r.path}}async rename(a){await this._copy(a,!0)}async copy(a){return this._copy(a,!1)}async requestPermissions(){return{publicStorage:"granted"}}async checkPermissions(){return{publicStorage:"granted"}}async _copy(a,n=!1){let{toDirectory:r}=a;const{to:o,from:i,directory:s}=a;if(!o||!i)throw Error("Both to and from must be provided");r||(r=s);const l=this.getPath(s,i),c=this.getPath(r,o);if(l===c)return{uri:c};if(Dv(l,c))throw Error("To path cannot contain the from path");let p;try{p=await this.stat({path:o,directory:r})}catch{const f=o.split("/");f.pop();const g=f.join("/");if(f.length>0&&(await this.stat({path:g,directory:r})).type!=="directory")throw new Error("Parent directory of the to path is a file")}if(p&&p.type==="directory")throw new Error("Cannot overwrite a directory with a file");const u=await this.stat({path:i,directory:s}),m=async(h,f,g)=>{const b=this.getPath(r,h),x=await this.dbRequest("get",[b]);x.ctime=f,x.mtime=g,await this.dbRequest("put",[x])},d=u.ctime?u.ctime:Date.now();switch(u.type){case"file":{const h=await this.readFile({path:i,directory:s});n&&await this.deleteFile({path:i,directory:s});let f;!(h.data instanceof Blob)&&!this.isBase64String(h.data)&&(f=Qo.UTF8);const g=await this.writeFile({path:o,directory:r,data:h.data,encoding:f});return n&&await m(o,d,u.mtime),g}case"directory":{if(p)throw Error("Cannot move a directory over an existing object");try{await this.mkdir({path:o,directory:r,recursive:!1}),n&&await m(o,d,u.mtime)}catch{}const h=(await this.readdir({path:i,directory:s})).files;for(const f of h)await this._copy({from:`${i}/${f.name}`,to:`${o}/${f.name}`,directory:s,toDirectory:r},n);n&&await this.rmdir({path:i,directory:s})}}return{uri:c}}isBase64String(a){try{return btoa(atob(a))==a}catch{return!1}}}Er._debug=!0;const Tv=Object.freeze(Object.defineProperty({__proto__:null,FilesystemWeb:Er},Symbol.toStringTag,{value:"Module"}));ut.attLibAttendants=W1,ut.attLibDeparts=q1,ut.attLibInstances=Y1,ut.default=dv,ut.setupLibrary=U1,Object.defineProperties(ut,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|