1import{w as Zt,A as Qs,h as ot,B as cc,C as Qe,D as ce,v as fc,o as Y,f as J,g as z,y as Pt,E as Vr,x as nt,k as bt,t as Q,p as vt,j as Rt,G as ta,i as ae,T as Di,F as Ve,l as Yr,n as Kt,q as St,H as ea,z as pt,u as dn,I as Re,J as hc,K as Xr,L as Xh,M as Jh,N as dc,O as pc,P as no,Q as mc,R as Kh,S as gr,U as gc,V as Zh,W as _c,X as Qh,Y as vc,Z as td,_ as ed,$ as nd}from"./index-TZn8Vg6F.js";function xr(t){return dc()?(pc(t),!0):!1}function un(t){return typeof t=="function"?t():nt(t)}const na=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const bc=t=>t!=null,rd=Object.prototype.toString,yc=t=>rd.call(t)==="[object Object]",cn=()=>{},hs=id();function id(){var t,e;return na&&((t=window?.navigator)==null?void 0:t.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((e=window?.navigator)==null?void 0:e.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}const fl={mounted:"mounted",unmounted:"unmounted"};function od(t){return gr()}function sd(...t){if(t.length!==1)return hc(...t);const e=t[0];return typeof e=="function"?Xh(Jh(()=>({get:e,set:cn}))):ot(e)}function wc(t,e=!0,n){od()?no(t,n):e?t():mc(t)}function fr(t,e,n){return Zt(t,(r,i,o)=>{r&&e(r,i,o)},{...n,once:!1})}function Ce(t){var e;const n=un(t);return(e=n?.$el)!=null?e:n}const fi=na?window:void 0;function ds(...t){let e,n,r,i;if(typeof t[0]=="string"||Array.isArray(t[0])?([n,r,i]=t,e=fi):[e,n,r,i]=t,!e)return cn;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],s=()=>{o.forEach(c=>c()),o.length=0},a=(c,f,p,d)=>(c.addEventListener(f,p,d),()=>c.removeEventListener(f,p,d)),l=Zt(()=>[Ce(e),un(i)],([c,f])=>{if(s(),!c)return;const p=yc(f)?{...f}:f;o.push(...n.flatMap(d=>r.map(h=>a(c,d,h,p))))},{immediate:!0,flush:"post"}),u=()=>{l(),s()};return xr(u),u}function ad(){const t=ot(!1),e=gr();return e&&no(()=>{t.value=!0},e),t}function ra(t){const e=ad();return pt(()=>(e.value,!!t()))}function ld(t,e,n={}){const{window:r=fi,...i}=n;let o;const s=ra(()=>r&&"MutationObserver"in r),a=()=>{o&&(o.disconnect(),o=void 0)},l=pt(()=>{const p=un(t),d=(Array.isArray(p)?p:[p]).map(Ce).filter(bc);return new Set(d)}),u=Zt(()=>l.value,p=>{a(),s.value&&p.size&&(o=new MutationObserver(e),p.forEach(d=>o.observe(d,i)))},{immediate:!0,flush:"post"}),c=()=>o?.takeRecords(),f=()=>{a(),u()};return xr(f),{isSupported:s,stop:f,takeRecords:c}}function Cc(t,e,n={}){const{window:r=fi,...i}=n;let o;const s=ra(()=>r&&"ResizeObserver"in r),a=()=>{o&&(o.disconnect(),o=void 0)},l=pt(()=>Array.isArray(t)?t.map(f=>Ce(f)):[Ce(t)]),u=Zt(l,f=>{if(a(),s.value&&r){o=new ResizeObserver(e);for(const p of f)p&&o.observe(p,i)}},{immediate:!0,flush:"post"}),c=()=>{a(),u()};return xr(c),{isSupported:s,stop:c}}function Ui(t,e={}){const{reset:n=!0,windowResize:r=!0,windowScroll:i=!0,immediate:o=!0}=e,s=ot(0),a=ot(0),l=ot(0),u=ot(0),c=ot(0),f=ot(0),p=ot(0),d=ot(0);function h(){const _=Ce(t);if(!_){n&&(s.value=0,a.value=0,l.value=0,u.value=0,c.value=0,f.value=0,p.value=0,d.value=0);return}const T=_.getBoundingClientRect();s.value=T.height,a.value=T.bottom,l.value=T.left,u.value=T.right,c.value=T.top,f.value=T.width,p.value=T.x,d.value=T.y}return Cc(t,h),Zt(()=>Ce(t),_=>!_&&h()),ld(t,h,{attributeFilter:["style","class"]}),i&&ds("scroll",h,{capture:!0,passive:!0}),r&&ds("resize",h,{passive:!0}),wc(()=>{o&&h()}),{height:s,bottom:a,left:l,right:u,top:c,width:f,x:p,y:d,update:h}}function Sc(t,e={width:0,height:0},n={}){const{window:r=fi,box:i="content-box"}=n,o=pt(()=>{var f,p;return(p=(f=Ce(t))==null?void 0:f.namespaceURI)==null?void 0:p.includes("svg")}),s=ot(e.width),a=ot(e.height),{stop:l}=Cc(t,([f])=>{const p=i==="border-box"?f.borderBoxSize:i==="content-box"?f.contentBoxSize:f.devicePixelContentBoxSize;if(r&&o.value){const d=Ce(t);if(d){const h=d.getBoundingClientRect();s.value=h.width,a.value=h.height}}else if(p){const d=Array.isArray(p)?p:[p];s.value=d.reduce((h,{inlineSize:_})=>h+_,0),a.value=d.reduce((h,{blockSize:_})=>h+_,0)}else s.value=f.contentRect.width,a.value=f.contentRect.height},n);wc(()=>{const f=Ce(t);f&&(s.value="offsetWidth"in f?f.offsetWidth:e.width,a.value="offsetHeight"in f?f.offsetHeight:e.height)});const u=Zt(()=>Ce(t),f=>{s.value=f?e.width:0,a.value=f?e.height:0});function c(){l(),u()}return{width:s,height:a,stop:c}}function ud(t,e,n={}){const{root:r,rootMargin:i="0px",threshold:o=.1,window:s=fi,immediate:a=!0}=n,l=ra(()=>s&&"IntersectionObserver"in s),u=pt(()=>{const h=un(t);return(Array.isArray(h)?h:[h]).map(Ce).filter(bc)});let c=cn;const f=ot(a),p=l.value?Zt(()=>[u.value,Ce(r),f.value],([h,_])=>{if(c(),!f.value||!h.length)return;const T=new IntersectionObserver(e,{root:Ce(_),rootMargin:i,threshold:o});h.forEach(b=>b&&T.observe(b)),c=()=>{T.disconnect(),c=cn}},{immediate:a,flush:"post"}):cn,d=()=>{c(),p(),f.value=!1};return xr(d),{isSupported:l,isActive:f,pause(){c(),f.value=!1},resume(){f.value=!0},stop:d}}function Ao(t){return typeof Window<"u"&&t instanceof Window?t.document.documentElement:typeof Document<"u"&&t instanceof Document?t.documentElement:t}function kc(t){const e=window.getComputedStyle(t);if(e.overflowX==="scroll"||e.overflowY==="scroll"||e.overflowX==="auto"&&t.clientWidth<t.scrollWidth||e.overflowY==="auto"&&t.clientHeight<t.scrollHeight)return!0;{const n=t.parentNode;return!n||n.tagName==="BODY"?!1:kc(n)}}function cd(t){const e=t||window.event,n=e.target;return kc(n)?!1:e.touches.length>1?!0:(e.preventDefault&&e.preventDefault(),!1)}const Po=new WeakMap;function ia(t,e=!1){const n=ot(e);let r=null,i="";Zt(sd(t),a=>{const l=Ao(un(a));if(l){const u=l;if(Po.get(u)||Po.set(u,u.style.overflow),u.style.overflow!=="hidden"&&(i=u.style.overflow),u.style.overflow==="hidden")return n.value=!0;if(n.value)return u.style.overflow="hidden"}},{immediate:!0});const o=()=>{const a=Ao(un(t));!a||n.value||(hs&&(r=ds(a,"touchmove",l=>{cd(l)},{passive:!1})),a.style.overflow="hidden",n.value=!0)},s=()=>{const a=Ao(un(t));!a||!n.value||(hs&&r?.(),a.style.overflow=i,Po.delete(a),n.value=!1)};return xr(s),pt({get(){return n.value},set(a){a?o():s()}})}function Ur(t){var e;const n=un(t);return(e=n?.$el)!=null?e:n}const Tc=na?window:void 0;function xo(...t){let e,n,r,i;if(typeof t[0]=="string"||Array.isArray(t[0])?([n,r,i]=t,e=Tc):[e,n,r,i]=t,!e)return cn;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],s=()=>{o.forEach(c=>c()),o.length=0},a=(c,f,p,d)=>(c.addEventListener(f,p,d),()=>c.removeEventListener(f,p,d)),l=Zt(()=>[Ur(e),un(i)],([c,f])=>
1{if(s(),!c)return;const p=yc(f)?{...f}:f;o.push(...n.flatMap(d=>r.map(h=>a(c,d,h,p))))},{immediate:!0,flush:"post"}),u=()=>{l(),s()};return xr(u),u}let hl=!1;function dl(t,e,n={}){const{window:r=Tc,ignore:i=[],capture:o=!0,detectIframe:s=!1}=n;if(!r)return cn;hs&&!hl&&(hl=!0,Array.from(r.document.body.children).forEach(c=>c.addEventListener("click",cn)),r.document.documentElement.addEventListener("click",cn));let a=!0;const l=c=>i.some(f=>{if(typeof f=="string")return Array.from(r.document.querySelectorAll(f)).some(p=>p===c.target||c.composedPath().includes(p));{const p=Ur(f);return p&&(c.target===p||c.composedPath().includes(p))}}),u=[xo(r,"click",c=>{const f=Ur(t);if(!(!f||f===c.target||c.composedPath().includes(f))){if(c.detail===0&&(a=!l(c)),!a){a=!0;return}e(c)}},{passive:!0,capture:o}),xo(r,"pointerdown",c=>{const f=Ur(t);a=!l(c)&&!!(f&&!c.composedPath().includes(f))},{passive:!0}),s&&xo(r,"blur",c=>{setTimeout(()=>{var f;const p=Ur(t);((f=r.document.activeElement)==null?void 0:f.tagName)==="IFRAME"&&!(p!=null&&p.contains(r.document.activeElement))&&e(c)},0)})].filter(Boolean);return()=>u.forEach(c=>c())}const oa={[fl.mounted](t,e){const n=!e.modifiers.bubble;if(typeof e.value=="function")t.__onClickOutside_stop=dl(t,e.value,{capture:n});else{const[r,i]=e.value;t.__onClickOutside_stop=dl(t,r,Object.assign({capture:n},i))}},[fl.unmounted](t){t.__onClickOutside_stop()}};function Ec(t,e){return function(){return t.apply(e,arguments)}}const{toString:fd}=Object.prototype,{getPrototypeOf:sa}=Object,ro=(t=>e=>{const n=fd.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Fe=t=>(t=t.toLowerCase(),e=>ro(e)===t),io=t=>e=>typeof e===t,{isArray:Or}=Array,Jr=io("undefined");function hd(t){return t!==null&&!Jr(t)&&t.constructor!==null&&!Jr(t.constructor)&&Te(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const Ac=Fe("ArrayBuffer");function dd(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Ac(t.buffer),e}const pd=io("string"),Te=io("function"),Pc=io("number"),oo=t=>t!==null&&typeof t=="object",md=t=>t===!0||t===!1,ki=t=>{if(ro(t)!=="object")return!1;const e=sa(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},gd=Fe("Date"),_d=Fe("File"),vd=Fe("Blob"),bd=Fe("FileList"),yd=t=>oo(t)&&Te(t.pipe),wd=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||Te(t.append)&&((e=ro(t))==="formdata"||e==="object"&&Te(t.toString)&&t.toString()==="[object FormData]"))},Cd=Fe("URLSearchParams"),[Sd,kd,Td,Ed]=["ReadableStream","Request","Response","Headers"].map(Fe),Ad=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function hi(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let r,i;if(typeof t!="object"&&(t=[t]),Or(t))for(r=0,i=t.length;r<i;r++)e.call(null,t[r],r,t);else{const o=n?Object.getOwnPropertyNames(t):Object.keys(t),s=o.length;let a;for(r=0;r<s;r++)a=o[r],e.call(null,t[a],a,t)}}function xc(t,e){e=e.toLowerCase();const n=Object.keys(t);let r=n.length,i;for(;r-- >0;)if(i=n[r],e===i.toLowerCase())return i;return null}const Dn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Oc=t=>!Jr(t)&&t!==Dn;function ps(){const{caseless:t}=Oc(this)&&this||{},e={},n=(r,i)=>{const o=t&&xc(e,i)||i;ki(e[o])&&ki(r)?e[o]=ps(e[o],r):ki(r)?e[o]=ps({},r):Or(r)?e[o]=r.slice():e[o]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&hi(arguments[r],n);return e}const Pd=(t,e,n,{allOwnKeys:r}={})=>(hi(e,(i,o)=>{n&&Te(i)?t[o]=Ec(i,n):t[o]=i},{allOwnKeys:r}),t),xd=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),Od=(t,e,n,r)=>{t.prototype=Object.create(e.prototype,r),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},Id=(t,e,n,r)=>{let i,o,s;const a={};if(e=e||{},t==null)return e;do{for(i=Object.getOwnPropertyNames(t),o=i.length;o-- >0;)s=i[o],(!r||r(s,t,e))&&!a[s]&&(e[s]=t[s],a[s]=!0);t=n!==!1&&sa(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},Rd=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;const r=t.indexOf(e,n);return r!==-1&&r===n},Md=t=>{if(!t)return null;if(Or(t))return t;let e=t.length;if(!Pc(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},Ld=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&sa(Uint8Array)),Dd=(t,e)=>{const n=(t&&t[Symbol.iterator]).call(t);let r;for(;(r=n.next())&&!r.done;){const i=r.value;e.call(t,i[0],i[1])}},Ud=(t,e)=>{let n;const r=[];for(;(n=t.exec(e))!==null;)r.push(n);return r},Nd=Fe("HTMLFormElement"),Bd=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,n,r){return n.toUpperCase()+r}),pl=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),Fd=Fe("RegExp"),Ic=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};hi(n,(i,o)=>{let s;(s=e(i,o,t))!==!1&&(r[o]=s||i)}),Object.defineProperties(t,r)},jd=t=>{Ic(t,(e,n)=>{if(Te(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=t[n];if(Te(r)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},$d=(t,e)=>{const n={},r=i=>
vendor: 4,341 bytes, line 1
1{i.forEach(o=>{n[o]=!0})};return Or(t)?r(t):r(String(t).split(e)),n},zd=()=>{},qd=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e,Oo="abcdefghijklmnopqrstuvwxyz",ml="0123456789",Rc={DIGIT:ml,ALPHA:Oo,ALPHA_DIGIT:Oo+Oo.toUpperCase()+ml},Hd=(t=16,e=Rc.ALPHA_DIGIT)=>{let n="";const{length:r}=e;for(;t--;)n+=e[Math.random()*r|0];return n};function Wd(t){return!!(t&&Te(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const Gd=t=>{const e=new Array(10),n=(r,i)=>{if(oo(r)){if(e.indexOf(r)>=0)return;if(!("toJSON"in r)){e[i]=r;const o=Or(r)?[]:{};return hi(r,(s,a)=>{const l=n(s,i+1);!Jr(l)&&(o[a]=l)}),e[i]=void 0,o}}return r};return n(t,0)},Vd=Fe("AsyncFunction"),Yd=t=>t&&(oo(t)||Te(t))&&Te(t.then)&&Te(t.catch),Mc=((t,e)=>t?setImmediate:e?((n,r)=>(Dn.addEventListener("message",({source:i,data:o})=>{i===Dn&&o===n&&r.length&&r.shift()()},!1),i=>{r.push(i),Dn.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Te(Dn.postMessage)),Xd=typeof queueMicrotask<"u"?queueMicrotask.bind(Dn):typeof process<"u"&&process.nextTick||Mc,B={isArray:Or,isArrayBuffer:Ac,isBuffer:hd,isFormData:wd,isArrayBufferView:dd,isString:pd,isNumber:Pc,isBoolean:md,isObject:oo,isPlainObject:ki,isReadableStream:Sd,isRequest:kd,isResponse:Td,isHeaders:Ed,isUndefined:Jr,isDate:gd,isFile:_d,isBlob:vd,isRegExp:Fd,isFunction:Te,isStream:yd,isURLSearchParams:Cd,isTypedArray:Ld,isFileList:bd,forEach:hi,merge:ps,extend:Pd,trim:Ad,stripBOM:xd,inherits:Od,toFlatObject:Id,kindOf:ro,kindOfTest:Fe,endsWith:Rd,toArray:Md,forEachEntry:Dd,matchAll:Ud,isHTMLForm:Nd,hasOwnProperty:pl,hasOwnProp:pl,reduceDescriptors:Ic,freezeMethods:jd,toObjectSet:$d,toCamelCase:Bd,noop:zd,toFiniteNumber:qd,findKey:xc,global:Dn,isContextDefined:Oc,ALPHABET:Rc,generateString:Hd,isSpecCompliantForm:Wd,toJSONObject:Gd,isAsyncFn:Vd,isThenable:Yd,setImmediate:Mc,asap:Xd};function ut(t,e,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}B.inherits(ut,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:B.toJSONObject(this.config),code:this.code,status:this.status}}});const Lc=ut.prototype,Dc={};["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(t=>{Dc[t]={value:t}});Object.defineProperties(ut,Dc);Object.defineProperty(Lc,"isAxiosError",{value:!0});ut.from=(t,e,n,r,i,o)=>{const s=Object.create(Lc);return B.toFlatObject(t,s,function(a){return a!==Error.prototype},a=>a!=="isAxiosError"),ut.call(s,t.message,e,n,r,i),s.cause=t,s.name=t.name,o&&Object.assign(s,o),s};const Jd=null;function ms(t){return B.isPlainObject(t)||B.isArray(t)}function Uc(t){return B.endsWith(t,"[]")?t.slice(0,-2):t}function gl(t,e,n){return t?t.concat(e).map(function(r,i){return r=Uc(r),!n&&i?"["+r+"]":r}).join(n?".":""):e}function Kd(t){return B.isArray(t)&&!t.some(ms)}const Zd=B.toFlatObject(B,{},null,function(t){return/^is[A-Z]/.test(t)});function so(t,e,n){if(!B.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=B.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(d,h){return!B.isUndefined(h[d])});const r=n.metaTokens,i=n.visitor||u,o=n.dots,s=n.indexes,a=(n.Blob||typeof Blob<"u"&&Blob)&&B.isSpecCompliantForm(e);if(!B.isFunction(i))throw new TypeError("visitor must be a function");function l(d){if(d===null)return"";if(B.isDate(d))return d.toISOString();if(!a&&B.isBlob(d))throw new ut("Blob is not supported. Use a Buffer instead.");return B.isArrayBuffer(d)||B.isTypedArray(d)?a&&typeof Blob=="function"?new Blob([d]):Buffer.from(d):d}function u(d,h,_){let T=d;if(d&&!_&&typeof d=="object"){if(B.endsWith(h,"{}"))h=r?h:h.slice(0,-2),d=JSON.stringify(d);else if(B.isArray(d)&&Kd(d)||(B.isFileList(d)||B.endsWith(h,"[]"))&&(T=B.toArray(d)))return h=Uc(h),T.forEach(function(b,k){!(B.isUndefined(b)||b===null)&&e.append(s===!0?gl([h
vendor: 4,173 bytes, line 1
1],k,o):s===null?h:h+"[]",l(b))}),!1}return ms(d)?!0:(e.append(gl(_,h,o),l(d)),!1)}const c=[],f=Object.assign(Zd,{defaultVisitor:u,convertValue:l,isVisitable:ms});function p(d,h){if(!B.isUndefined(d)){if(c.indexOf(d)!==-1)throw Error("Circular reference detected in "+h.join("."));c.push(d),B.forEach(d,function(_,T){(!(B.isUndefined(_)||_===null)&&i.call(e,_,B.isString(T)?T.trim():T,h,f))===!0&&p(_,h?h.concat(T):[T])}),c.pop()}}if(!B.isObject(t))throw new TypeError("data must be an object");return p(t),e}function _l(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(n){return e[n]})}function aa(t,e){this._pairs=[],t&&so(t,this,e)}const Nc=aa.prototype;Nc.append=function(t,e){this._pairs.push([t,e])};Nc.toString=function(t){const e=t?function(n){return t.call(this,n,_l)}:_l;return this._pairs.map(function(n){return e(n[0])+"="+e(n[1])},"").join("&")};function Qd(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Bc(t,e,n){if(!e)return t;const r=n&&n.encode||Qd;B.isFunction(n)&&(n={serialize:n});const i=n&&n.serialize;let o;if(i?o=i(e,n):o=B.isURLSearchParams(e)?e.toString():new aa(e,n).toString(r),o){const s=t.indexOf("#");s!==-1&&(t=t.slice(0,s)),t+=(t.indexOf("?")===-1?"?":"&")+o}return t}let vl=class{constructor(){this.handlers=[]}use(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){B.forEach(this.handlers,function(e){e!==null&&t(e)})}};const Fc={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},tp=typeof URLSearchParams<"u"?URLSearchParams:aa,ep=typeof FormData<"u"?FormData:null,np=typeof Blob<"u"?Blob:null,rp={isBrowser:!0,classes:{URLSearchParams:tp,FormData:ep,Blob:np},protocols:["http","https","file","blob","url","data"]},la=typeof window<"u"&&typeof document<"u",gs=typeof navigator=="object"&&navigator||void 0,ip=la&&(!gs||["ReactNative","NativeScript","NS"].indexOf(gs.product)<0),op=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",sp=la&&window.location.href||"http://localhost",ap=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:la,hasStandardBrowserEnv:ip,hasStandardBrowserWebWorkerEnv:op,navigator:gs,origin:sp},Symbol.toStringTag,{value:"Module"})),ne={...ap,...rp};function lp(t,e){return so(t,new ne.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,o){return ne.isNode&&B.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},e))}function up(t){return B.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function cp(t){const e={},n=Object.keys(t);let r;const i=n.length;let o;for(r=0;r<i;r++)o=n[r],e[o]=t[o];return e}function jc(t){function e(n,r,i,o){let s=n[o++];if(s==="__proto__")return!0;const a=Number.isFinite(+s),l=o>=n.length;return s=!s&&B.isArray(i)?i.length:s,l?(B.hasOwnProp(i,s)?i[s]=[i[s],r]:i[s]=r,!a):((!i[s]||!B.isObject(i[s]))&&(i[s]=[]),e(n,r,i[s],o)&&B.isArray(i[s])&&(i[s]=cp(i[s])),!a)}if(B.isFormData(t)&&B.isFunction(t.entries)){const n={};return B.forEachEntry(t,(r,i)=>{e(up(r),i,n,0)}),n}return null}function fp(t,e,n){if(B.isString(t))try{return(e||JSON.parse)(t),B.trim(t)}catch(r){if(r.name!=="SyntaxError")throw r}return(0,JSON.stringify)(t)}const di={transitional:Fc,adapter:["xhr","http","fetch"],transformRequest:[function(t,e){const n=e.getContentType()||"",r=n.indexOf("application/json")>-1,i=B.isObject(t);if(i&&B.isHTMLForm(t)&&(t=new FormData(t)),B.isFormData(t))return r?JSON.stringify(jc(t)):t;if(B.isArrayBuffer(t)||B.isBuffer(t)||B.isStream(t)||B.isFile(t)||B.isBlob(t)||B.isReadableStream(t))return t;if(B.isArrayBufferView(t))return t.buffer;if(B.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let o;if(i){if(n.indexOf("application/x-www-form-urlencoded")>
vendor: 4,200 bytes, lines 1-3
1-1)return lp(t,this.formSerializer).toString();if((o=B.isFileList(t))||n.indexOf("multipart/form-data")>-1){const s=this.env&&this.env.FormData;return so(o?{"files[]":t}:t,s&&new s,this.formSerializer)}}return i||r?(e.setContentType("application/json",!1),fp(t)):t}],transformResponse:[function(t){const e=this.transitional||di.transitional,n=e&&e.forcedJSONParsing,r=this.responseType==="json";if(B.isResponse(t)||B.isReadableStream(t))return t;if(t&&B.isString(t)&&(n&&!this.responseType||r)){const i=!(e&&e.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(o){if(i)throw o.name==="SyntaxError"?ut.from(o,ut.ERR_BAD_RESPONSE,this,null,this.response):o}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ne.classes.FormData,Blob:ne.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};B.forEach(["delete","get","head","post","put","patch"],t=>{di.headers[t]={}});const hp=B.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"]),dp=t=>{const e={};let n,r,i;return t&&t.split(` 2`).forEach(function(o){i=o.indexOf(":"),n=o.substring(0,i).trim().toLowerCase(),r=o.substring(i+1).trim(),!(!n||e[n]&&hp[n])&&(n==="set-cookie"?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)}),e},bl=Symbol("internals");function Mr(t){return t&&String(t).trim().toLowerCase()}function Ti(t){return t===!1||t==null?t:B.isArray(t)?t.map(Ti):String(t)}function pp(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(t);)e[r[1]]=r[2];return e}const mp=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Io(t,e,n,r,i){if(B.isFunction(r))return r.call(this,e,n);if(i&&(e=n),!!B.isString(e)){if(B.isString(r))return e.indexOf(r)!==-1;if(B.isRegExp(r))return r.test(e)}}function gp(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,r)=>n.toUpperCase()+r)}function _p(t,e){const n=B.toCamelCase(" "+e);["get","set","has"].forEach(r=>{Object.defineProperty(t,r+n,{value:function(i,o,s){return this[r].call(this,e,i,o,s)},configurable:!0})})}class fe{constructor(e){e&&this.set(e)}set(e,n,r){const i=this;function o(a,l,u){const c=Mr(l);if(!c)throw new Error("header name must be a non-empty string");const f=B.findKey(i,c);(!f||i[f]===void 0||u===!0||u===void 0&&i[f]!==!1)&&(i[f||l]=Ti(a))}const s=(a,l)=>B.forEach(a,(u,c)=>o(u,c,l));if(B.isPlainObject(e)||e instanceof this.constructor)s(e,n);else if(B.isString(e)&&(e=e.trim())&&!mp(e))s(dp(e),n);else if(B.isHeaders(e))for(const[a,l]of e.entries())o(l,a,r);else e!=null&&o(n,e,r);return this}get(e,n){if(e=Mr(e),e){const r=B.findKey(this,e);if(r){const i=this[r];if(!n)return i;if(n===!0)return pp(i);if(B.isFunction(n))return n.call(this,i,r);if(B.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=Mr(e),e){const r=B.findKey(this,e);return!!(r&&this[r]!==void 0&&(!n||Io(this,this[r],r,n)))}return!1}delete(e,n){const r=this;let i=!1;function o(s){if(s=Mr(s),s){const a=B.findKey(r,s);a&&(!n||Io(r,r[a],a,n))&&(delete r[a],i=!0)}}return B.isArray(e)?e.forEach(o):o(e),i}clear(e){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const o=n[r];(!e||Io(this,this[o],o,e,!0))&&(delete this[o],i=!0)}return i}normalize(e){const n=this,r={};return B.forEach(this,(i,o)=>{const s=B.findKey(r,o);if(s){n[s]=Ti(i),delete n[o];return}const a=e?gp(o):String(o).trim();a!==o&&delete n[o],n[a]=Ti(i),r[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return B.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=e&&B.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(` 3`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const r=new this(e);
vendor: 8,436 bytes, line 3
3return n.forEach(i=>r.set(i)),r}static accessor(e){const n=(this[bl]=this[bl]={accessors:{}}).accessors,r=this.prototype;function i(o){const s=Mr(o);n[s]||(_p(r,o),n[s]=!0)}return B.isArray(e)?e.forEach(i):i(e),this}}fe.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);B.reduceDescriptors(fe.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(r){this[n]=r}}});B.freezeMethods(fe);function Ro(t,e){const n=this||di,r=e||n,i=fe.from(r.headers);let o=r.data;return B.forEach(t,function(s){o=s.call(n,o,i.normalize(),e?e.status:void 0)}),i.normalize(),o}function $c(t){return!!(t&&t.__CANCEL__)}function Ir(t,e,n){ut.call(this,t??"canceled",ut.ERR_CANCELED,e,n),this.name="CanceledError"}B.inherits(Ir,ut,{__CANCEL__:!0});function zc(t,e,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?t(n):e(new ut("Request failed with status code "+n.status,[ut.ERR_BAD_REQUEST,ut.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function vp(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function bp(t,e){t=t||10;const n=new Array(t),r=new Array(t);let i=0,o=0,s;return e=e!==void 0?e:1e3,function(a){const l=Date.now(),u=r[o];s||(s=l),n[i]=a,r[i]=l;let c=o,f=0;for(;c!==i;)f+=n[c++],c=c%t;if(i=(i+1)%t,i===o&&(o=(o+1)%t),l-s<e)return;const p=u&&l-u;return p?Math.round(f*1e3/p):void 0}}function yp(t,e){let n=0,r=1e3/e,i,o;const s=(a,l=Date.now())=>{n=l,i=null,o&&(clearTimeout(o),o=null),t.apply(null,a)};return[(...a)=>{const l=Date.now(),u=l-n;u>=r?s(a,l):(i=a,o||(o=setTimeout(()=>{o=null,s(i)},r-u)))},()=>i&&s(i)]}const Ni=(t,e,n=3)=>{let r=0;const i=bp(50,250);return yp(o=>{const s=o.loaded,a=o.lengthComputable?o.total:void 0,l=s-r,u=i(l),c=s<=a;r=s;const f={loaded:s,total:a,progress:a?s/a:void 0,bytes:l,rate:u||void 0,estimated:u&&a&&c?(a-s)/u:void 0,event:o,lengthComputable:a!=null,[e?"download":"upload"]:!0};t(f)},n)},yl=(t,e)=>{const n=t!=null;return[r=>e[0]({lengthComputable:n,total:t,loaded:r}),e[1]]},wl=t=>(...e)=>B.asap(()=>t(...e)),wp=ne.hasStandardBrowserEnv?((t,e)=>n=>(n=new URL(n,ne.origin),t.protocol===n.protocol&&t.host===n.host&&(e||t.port===n.port)))(new URL(ne.origin),ne.navigator&&/(msie|trident)/i.test(ne.navigator.userAgent)):()=>!0,Cp=ne.hasStandardBrowserEnv?{write(t,e,n,r,i,o){const s=[t+"="+encodeURIComponent(e)];B.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),B.isString(r)&&s.push("path="+r),B.isString(i)&&s.push("domain="+i),o===!0&&s.push("secure"),document.cookie=s.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Sp(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function kp(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function qc(t,e){return t&&!Sp(e)?kp(t,e):e}const Cl=t=>t instanceof fe?{...t}:t;function Gn(t,e){e=e||{};const n={};function r(u,c,f,p){return B.isPlainObject(u)&&B.isPlainObject(c)?B.merge.call({caseless:p},u,c):B.isPlainObject(c)?B.merge({},c):B.isArray(c)?c.slice():c}function i(u,c,f,p){if(B.isUndefined(c)){if(!B.isUndefined(u))return r(void 0,u,f,p)}else return r(u,c,f,p)}function o(u,c){if(!B.isUndefined(c))return r(void 0,c)}function s(u,c){if(B.isUndefined(c)){if(!B.isUndefined(u))return r(void 0,u)}else return r(void 0,c)}function a(u,c,f){if(f in e)return r(u,c);if(f in t)return r(void 0,u)}const l={url:o,method:o,data:o,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:a,headers:(u,c,f)=>i(Cl(u),Cl(c),f,!0)};return B.forEach(Object.keys(Object.assign({},t,e)),function(u){const c=l[u]||i,f=c(t[u],e[u],u);B.isUndefined(f)&&c!==a||(n[u]=f)}),n}const Hc=t=>{const e=Gn({},t);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:o,headers:s,auth:a}=e;e.headers=s=fe.from(s),e.url=Bc(qc(e.baseURL,e.url),t.params,t.paramsSerializer),a&&s.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let l;if(B.isFormData(n)){if(ne.hasStandardBrowserEnv||ne.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if((l=s.getContentType())!==!1){const[u,...c]=l?l.split(";").map(f=>f.trim()).filter(Boolean):[];s.setContentType([u||"multipart/form-data",...c].join("; "))}}if(ne.hasStandardBrowserEnv&&(r&&B.isFunction(r)&&(r=r(e)),r||r!==!1&&wp(e.url))){const u=i&&o&&Cp.read(o);u&&s.set(i,u)}return e},Tp=typeof XMLHttpRequest<"u",Ep=Tp&&function(t){return new Promise(function(e,n){const r=Hc(t);let i=r.data;const o=fe.from(r.headers).normalize();let{responseType:s,onUploadProgress:a,onDownloadProgress:l}=r,u,c,f,p,d;function h(){p&&p(),d&&d(),r.cancelToken&&r.cancelToken.unsubscribe(u),r.signal&&r.signal.removeEventListener("abort",u)}let _=new XMLHttpRequest;_.open(r.method.toUpperCase(),r.url,!0),_.timeout=r.timeout;function T(){if(!_)return;const k=fe.from("getAllResponseHeaders"in _&&_.getAllResponseHeaders()),S={data:!s||s==="text"||s==="json"?_.responseText:_.response,status:_.status,statusText:_.statusText,headers:k,config:t,request:_};zc(function(y){e(y),h()},function(y){n(y),h()},S),_=null}"onloadend"in _?_.onloadend=T:_.onreadystatechange=function(){!_||_.readyState!==4||_.status===0&&!(_.responseURL&&_.responseURL.indexOf("file:")===0)||setTimeout(T)},_.onabort=function(){_&&(n(new ut("Request aborted",ut.ECONNABORTED,t,_)),_=null)},_.onerror=function(){n(new ut("Network Error",ut.ERR_NETWORK,t,_)),_=null},_.ontimeout=function(){let k=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const S=r.transitional||Fc;r.timeoutErrorMessage&&(k=r.timeoutErrorMessage),n(new ut(k,S.clarifyTimeoutError?ut.ETIMEDOUT:ut.ECONNABORTED,t,_)),_=null},i===void 0&&o.setContentType(null),"setRequestHeader"in _&&B.forEach(o.toJSON(),function(k,S){_.setRequestHeader(S,k)}),B.isUndefined(r.withCredentials)||(_.withCredentials=!!r.withCredentials),s&&s!=="json"&&(_.responseType=r.responseType),l&&([f,d]=Ni(l,!0),_.addEventListener("progress",f)),a&&_.upload&&([c,p]=Ni(a),_.upload.addEventListener("progress",c),_.upload.addEventListener("loadend",p)),(r.cancelToken||r.signal)&&(u=k=>{_&&(n(!k||k.type?new Ir(null,t,_):k),_.abort(),_=null)},r.cancelToken&&r.cancelToken.subscribe(u),r.signal&&(r.signal.aborted?u():r.signal.addEventListener("abort",u)));const b=vp(r.url);if(b&&ne.protocols.indexOf(b)===-1){n(new ut("Unsupported protocol "+b+":",ut.ERR_BAD_REQUEST,t));return}_.send(i||null)})},Ap=(t,e)=>{const{length:n}=t=t?t.filter(Boolean):[];if(e||n){let r=new AbortController,i;const o=function(u){if(!i){i=!0,a();const c=u instanceof Error?u:this.reason;r.abort(c instanceof ut?c:new Ir(c instanceof Error?c.message:c))}};let s=e&&setTimeout(()=>{s=null,o(new ut(`timeout ${e} of ms exceeded`,ut.ETIMEDOUT))},e);const a=()=>{t&&(s&&clearTimeout(s),s=null,t.forEach(u=>{u.unsubscribe?u.unsubscribe(o):u.removeEventListener("abort",o)}),t=null)};t.forEach(u=>u.addEventListener("abort",o));const{signal:l}=r;return l.unsubscribe=()=>B.asap(a),l}},Pp=function*(t,e){let n=t.byteLength;if(n<e){yield t;return}let r=0,i;for(;r<n;)i=r+e,yield t.slice(r,i),r=i},xp=async function*(t,e){for await(const n of Op(t))yield*Pp(n,e)},Op=async function*(t){if(t[Symbol.asyncIterator]){yield*t;return}const e=t.getReader();try{for(;;){const{done:n,value:r}=await e.read();if(n)break;yield r}}finally{await e.cancel()}},Sl=(t,e,n,r)=>{const i=xp(t,e);let o=0,s,a=l=>{s||(s=!0,r&&r(l))};return new ReadableStream({async pull(l){try{const{done:u,value:c}=await i.next();if(u){a(),l.close();return}let f=c.byteLength;if(n){let p=o+=f;n(p)}l.enqueue(new Uint8Array(c))}catch(u){throw a(u),u}},cancel(l){return a(l),i.return()}},{highWaterMark:2})},ao=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Wc=ao&&typeof ReadableStream=="function",Ip=ao&&(typeof TextEncoder=="function"?(t=>e=>t.encode(e))(new TextEncoder):async t=>new Uint8Array(await new Response(t).arrayBuffer())),Gc=(t,...e)=>{try{return!!t(...e)}catch{return!1}},Rp=Wc&&Gc(()=>{let t=!1;
vendor: 1,657 bytes, line 3
3const e=new Request(ne.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e}),kl=64*1024,_s=Wc&&Gc(()=>B.isReadableStream(new Response("").body)),Bi={stream:_s&&(t=>t.body)};ao&&(t=>{["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!Bi[e]&&(Bi[e]=B.isFunction(t[e])?n=>n[e]():(n,r)=>{throw new ut(`Response type '${e}' is not supported`,ut.ERR_NOT_SUPPORT,r)})})})(new Response);const Mp=async t=>{if(t==null)return 0;if(B.isBlob(t))return t.size;if(B.isSpecCompliantForm(t))return(await new Request(ne.origin,{method:"POST",body:t}).arrayBuffer()).byteLength;if(B.isArrayBufferView(t)||B.isArrayBuffer(t))return t.byteLength;if(B.isURLSearchParams(t)&&(t=t+""),B.isString(t))return(await Ip(t)).byteLength},Lp=async(t,e)=>B.toFiniteNumber(t.getContentLength())??Mp(e),Dp=ao&&(async t=>{let{url:e,method:n,data:r,signal:i,cancelToken:o,timeout:s,onDownloadProgress:a,onUploadProgress:l,responseType:u,headers:c,withCredentials:f="same-origin",fetchOptions:p}=Hc(t);u=u?(u+"").toLowerCase():"text";let d=Ap([i,o&&o.toAbortSignal()],s),h;const _=d&&d.unsubscribe&&(()=>{d.unsubscribe()});let T;try{if(l&&Rp&&n!=="get"&&n!=="head"&&(T=await Lp(c,r))!==0){let x=new Request(e,{method:"POST",body:r,duplex:"half"}),M;if(B.isFormData(r)&&(M=x.headers.get("content-type"))&&c.setContentType(M),x.body){const[O,D]=yl(T,Ni(wl(l)));r=Sl(x.body,kl,O,D)}}B.isString(f)||(f=f?"include":"omit");const b="credentials"in Request.prototype;h=new Request(e,{...p,signal:d,method:n.toUpperCase(),headers:c.normalize().toJSON(),body:r,duplex:"half",credentials:b?f:void 0});let k=await fetch(h);
vendor: 5,979 bytes, lines 3-6
3const S=_s&&(u==="stream"||u==="response");if(_s&&(a||S&&_)){const x={};["status","statusText","headers"].forEach(F=>{x[F]=k[F]});const M=B.toFiniteNumber(k.headers.get("content-length")),[O,D]=a&&yl(M,Ni(wl(a),!0))||[];k=new Response(Sl(k.body,kl,O,()=>{D&&D(),_&&_()}),x)}u=u||"text";let y=await Bi[B.findKey(Bi,u)||"text"](k,t);return!S&&_&&_(),await new Promise((x,M)=>{zc(x,M,{data:y,headers:fe.from(k.headers),status:k.status,statusText:k.statusText,config:t,request:h})})}catch(b){throw _&&_(),b&&b.name==="TypeError"&&/fetch/i.test(b.message)?Object.assign(new ut("Network Error",ut.ERR_NETWORK,t,h),{cause:b.cause||b}):ut.from(b,b&&b.code,t,h)}}),vs={http:Jd,xhr:Ep,fetch:Dp};B.forEach(vs,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const Tl=t=>`- ${t}`,Up=t=>B.isFunction(t)||t===null||t===!1,Vc={getAdapter:t=>{t=B.isArray(t)?t:[t];const{length:e}=t;let n,r;const i={};for(let o=0;o<e;o++){n=t[o];let s;if(r=n,!Up(n)&&(r=vs[(s=String(n)).toLowerCase()],r===void 0))throw new ut(`Unknown adapter '${s}'`);if(r)break;i[s||"#"+o]=r}if(!r){const o=Object.entries(i).map(([a,l])=>`adapter ${a} `+(l===!1?"is not supported by the environment":"is not available in the build"));let s=e?o.length>1?`since : 4`+o.map(Tl).join(` 5`):" "+Tl(o[0]):"as no adapter specified";throw new ut("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r},adapters:vs};function Mo(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Ir(null,t)}function El(t){return Mo(t),t.headers=fe.from(t.headers),t.data=Ro.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),Vc.getAdapter(t.adapter||di.adapter)(t).then(function(e){return Mo(t),e.data=Ro.call(t,t.transformResponse,e),e.headers=fe.from(e.headers),e},function(e){return $c(e)||(Mo(t),e&&e.response&&(e.response.data=Ro.call(t,t.transformResponse,e.response),e.response.headers=fe.from(e.response.headers))),Promise.reject(e)})}const Yc="1.7.9",lo={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{lo[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}});const Al={};lo.transitional=function(t,e,n){function r(i,o){return"[Axios v"+Yc+"] Transitional option '"+i+"'"+o+(n?". "+n:"")}return(i,o,s)=>{if(t===!1)throw new ut(r(o," has been removed"+(e?" in "+e:"")),ut.ERR_DEPRECATED);return e&&!Al[o]&&(Al[o]=!0,console.warn(r(o," has been deprecated since v"+e+" and will be removed in the near future"))),t?t(i,o,s):!0}};lo.spelling=function(t){return(e,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function Np(t,e,n){if(typeof t!="object")throw new ut("options must be an object",ut.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let i=r.length;for(;i-- >0;){const o=r[i],s=e[o];if(s){const a=t[o],l=a===void 0||s(a,o,t);if(l!==!0)throw new ut("option "+o+" must be "+l,ut.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ut("Unknown option "+o,ut.ERR_BAD_OPTION)}}const Ei={assertOptions:Np,validators:lo},$e=Ei.validators;let Bn=class{constructor(t){this.defaults=t,this.interceptors={request:new vl,response:new vl}}async request(t,e){try{return await this._request(t,e)}catch(n){if(n instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;const i=r.stack?r.stack.replace(/^.+\n/,""):"";try{n.stack?i&&!String(n.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(n.stack+=` 6`+i):n.stack=i}catch{}}throw n}}_request(t,e){typeof t=="string"?(e=e||{},e.url=t):e=t||{},e=Gn(this.defaults,e);const{transitional:n,paramsSerializer:r,headers:i}=e;n!==void 0&&Ei.assertOptions(n,{silentJSONParsing:$e.transitional($e.boolean),forcedJSONParsing:$e.transitional($e.boolean),clarifyTimeoutError:$e.transitional($e.boolean)},!1),r!=null&&(B.isFunction(r)?e.paramsSerializer={serialize:r}:Ei.assertOptions(r,{encode:$e.function,serialize:$e.function},!0)),Ei.assertOptions(e,{baseUrl:$e.spelling("baseURL"),withXsrfToken:$e.spelling("withXSRFToken")},!0),e.method=(e.method||this.defaults.method||"get").toLowerCase();let o=i&&B.merge(i.common,i[e.method]);i&&B.forEach(["delete","get","head","post","put","patch","common"],d=>{delete i[d]}),e.headers=fe.concat(o,i);const s=[];let a=!0;this.interceptors.request.forEach(function(d){typeof d.runWhen=="function"&&d.runWhen(e)===!1||(a=a&&d.synchronous,s.unshift(d.fulfilled,d.rejected))});const l=[];this.interceptors.response.forEach(function(d){l.push(d.fulfilled,d.rejected)});let u,c=0,f;if(!a){const d=[El.bind(this),void 0];for(d.unshift.apply(d,s),d.push.apply(d,l),f=d.length,u=Promise.resolve(e);c<f;)u=u.then(d[c++],d[c++]);return u}f=s.length;let p=e;for(c=0;c<f;){const d=s[c++],h=s[c++];try{p=d(p)}catch(_){h.call(this,_);break}}try{u=El.call(this,p)}catch(d){return Promise.reject(d)}for(c=0,f=l.length;c<f;)u=u.then(l[c++],l[c++]);return u}getUri(t){t=Gn(this.defaults,t);const e=qc(t.baseURL,t.url);return Bc(e,t.params,t.paramsSerializer)}};B.forEach(["delete","get","head","options"],function(t){Bn.prototype[t]=function(e,n){return this.request(Gn(n||{},{method:t,url:e,data:(n||{}).data}))}});B.forEach(["post","put","patch"],function(t){function e(n){return function(r,i,o){return this.request(Gn(o||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:r,data:i}))}}Bn.prototype[t]=e(),Bn.prototype[t+"Form"]=e(!0)});class ua{constructor(e){if(typeof e!="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(i=>{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](i);r._listeners=null}),this.promise.then=i=>{let o;const s=new Promise(a=>{r.subscribe(a),o=a}).then(i);return s.cancel=function(){r.unsubscribe(o)},s},e(function(i,o,s){r.reason||(r.reason=new Ir(i,o,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}
6subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const e=new AbortController,n=r=>{e.abort(r)};return this.subscribe(n),e.signal.unsubscribe=()=>this.unsubscribe(n),e.signal}static source(){let e;return{token:new ua(function(n){e=n}),cancel:e}}}function Bp(t){return function(e){return t.apply(null,e)}}function Fp(t){return B.isObject(t)&&t.isAxiosError===!0}const bs={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(bs).forEach(([t,e])=>{bs[e]=t});function Xc(t){const e=new Bn(t),n=Ec(Bn.prototype.request,e);return B.extend(n,Bn.prototype,e,{allOwnKeys:!0}),B.extend(n,e,null,{allOwnKeys:!0}),n.create=function(r){return Xc(Gn(t,r))},n}const Ht=Xc(di);Ht.Axios=Bn;Ht.CanceledError=Ir;Ht.CancelToken=ua;Ht.isCancel=$c;Ht.VERSION=Yc;Ht.toFormData=so;Ht.AxiosError=ut;Ht.Cancel=Ht.CanceledError;Ht.all=function(t){return Promise.all(t)};Ht.spread=Bp;Ht.isAxiosError=Fp;Ht.mergeConfig=Gn;Ht.AxiosHeaders=fe;Ht.formToJSON=t=>jc(B.isHTMLForm(t)?new FormData(t):t);Ht.getAdapter=Vc.getAdapter;Ht.HttpStatusCode=bs;Ht.default=Ht;const Ai=Ht.create({baseURL:""}),jp=(t,e)=>(Ai.defaults.baseURL=e,Ai.interceptors.request.use(async n=>{try{t.token&&(await t.updateToken(),n.headers.Authorization=`Bearer ${t.token}`)}catch(r){console.info(r)}return n},n=>Promise.reject(n)),Ai);function rn(t){return new t(void 0,"",Ai)}var Ft=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},We={},Jc={},ca={exports:{}},Kc=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}},$p=Kc,fa=Object.prototype.toString,ha=(function(t){return function(e){var n=fa.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())}})(Object.create(null));function Zn(t){return t=t.toLowerCase(),function(e){return ha(e)===t}}function da(t){return Array.isArray(t)}function Fi(t){return typeof t>"u"}function zp(t){return t!==null&&!Fi(t)&&t.constructor!==null&&!Fi(t.constructor)&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}var Zc=Zn("ArrayBuffer");function qp(t){var e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Zc(t.buffer),e}function Hp(t){return typeof t=="string"}function Wp(t){return typeof t=="number"}function Qc(t){return t!==null&&typeof t=="object"}function Pi(t){if(ha(t)!=="object")return!1;var e=Object.getPrototypeOf(t);return e===null||e===Object.prototype}var Gp=Zn("Date"),Vp=Zn("File"),Yp=Zn("Blob"),Xp=Zn("FileList");function pa(t){return fa.call(t)==="[object Function]"}function Jp(t){return Qc(t)&&pa(t.pipe)}function Kp(t){var e="[object FormData]";return t&&(typeof FormData=="function"&&t instanceof FormData||fa.call(t)===e||pa(t.toString)&&t.toString()===e)}var Zp=Zn("URLSearchParams");function Qp(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function t1(){return typeof navigator<"u"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window<"u"&&typeof document<"u"}function ma(t,e){if(!(t===null||typeof t>"u"))if(typeof t!="object"&&(t=[t]),da(t))for(var n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.call(null,t[i],i,t)}function ys(){var t={};function e(i,o){Pi(t[o])&&Pi(i)?t[o]=ys(t[o],i):Pi(i)?t[o]=ys({}
6,i):da(i)?t[o]=i.slice():t[o]=i}for(var n=0,r=arguments.length;n<r;n++)ma(arguments[n],e);return t}function e1(t,e,n){return ma(e,function(r,i){n&&typeof r=="function"?t[i]=$p(r,n):t[i]=r}),t}function n1(t){return t.charCodeAt(0)===65279&&(t=t.slice(1)),t}function r1(t,e,n,r){t.prototype=Object.create(e.prototype,r),t.prototype.constructor=t,n&&Object.assign(t.prototype,n)}function i1(t,e,n){var r,i,o,s={};e=e||{};do{for(r=Object.getOwnPropertyNames(t),i=r.length;i-- >0;)o=r[i],s[o]||(e[o]=t[o],s[o]=!0);t=Object.getPrototypeOf(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e}function o1(t,e,n){t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;var r=t.indexOf(e,n);return r!==-1&&r===n}function s1(t){if(!t)return null;var e=t.length;if(Fi(e))return null;for(var n=new Array(e);e-- >0;)n[e]=t[e];return n}var a1=(function(t){return function(e){return t&&e instanceof t}})(typeof Uint8Array<"u"&&Object.getPrototypeOf(Uint8Array)),Qt={isArray:da,isArrayBuffer:Zc,isBuffer:zp,isFormData:Kp,isArrayBufferView:qp,isString:Hp,isNumber:Wp,isObject:Qc,isPlainObject:Pi,isUndefined:Fi,isDate:Gp,isFile:Vp,isBlob:Yp,isFunction:pa,isStream:Jp,isURLSearchParams:Zp,isStandardBrowserEnv:t1,forEach:ma,merge:ys,extend:e1,trim:Qp,stripBOM:n1,inherits:r1,toFlatObject:i1,kindOf:ha,kindOfTest:Zn,endsWith:o1,toArray:s1,isTypedArray:a1,isFileList:Xp},nr=Qt;function Pl(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var tf=function(t,e,n){if(!e)return t;var r;if(n)r=n(e);else if(nr.isURLSearchParams(e))r=e.toString();else{var i=[];nr.forEach(e,function(s,a){s===null||typeof s>"u"||(nr.isArray(s)?a=a+"[]":s=[s],nr.forEach(s,function(l){nr.isDate(l)?l=l.toISOString():nr.isObject(l)&&(l=JSON.stringify(l)),i.push(Pl(a)+"="+Pl(l))}))}),r=i.join("&")}if(r){var o=t.indexOf("#");o!==-1&&(t=t.slice(0,o)),t+=(t.indexOf("?")===-1?"?":"&")+r}return t},l1=Qt;function uo(){this.handlers=[]}uo.prototype.use=function(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1};uo.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)};uo.prototype.forEach=function(t){l1.forEach(this.handlers,function(e){e!==null&&t(e)})};var u1=uo,c1=Qt,f1=function(t,e){c1.forEach(t,function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])})},ef=Qt;function _r(t,e,n,r,i){Error.call(this),this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}ef.inherits(_r,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:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var nf=_r.prototype,rf={};["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"].forEach(function(t){rf[t]={value:t}});Object.defineProperties(_r,rf);Object.defineProperty(nf,"isAxiosError",{value:!0});_r.from=function(t,e,n,r,i,o){var s=Object.create(nf);return ef.toFlatObject(t,s,function(a){return a!==Error.prototype}),_r.call(s,t.message,e,n,r,i),s.name=t.name,o&&Object.assign(s,o),s};var Rr=_r,of={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Me=Qt;function h1(t,e){e=e||new FormData;var n=[];function r(o){return o===null?"":Me.isDate(o)?o.toISOString():Me.isArrayBuffer(o)||Me.isTypedArray(o)?typeof Blob=="function"?new Blob([o]):Buffer.from(o):o}function i(o,s){if(Me.isPlainObject(o)||Me.isArray(o)){if(n.indexOf(o)!==-1)throw Error("Circular reference detected in "+s);n.push(o),Me.forEach(o,function(a,l){if(!Me.isUndefined(a)){var u=s?s+"."+l:l,c;if(a&&!s&&typeof a=="object"){if(Me.endsWith(l,"{}"))a=JSON.stringify(a);else if(Me.endsWith(l,"[]")&&(c=Me.toArray(a))){c.forEach(function(f){!Me.isUndefined(f)&&e.append(u,r(f))});return}}i(a,u)}}),n.pop()}
6else e.append(s,r(o))}return i(t),e}var sf=h1,Lo,xl;function d1(){if(xl)return Lo;xl=1;var t=Rr;return Lo=function(e,n,r){var i=r.config.validateStatus;!r.status||!i||i(r.status)?e(r):n(new t("Request failed with status code "+r.status,[t.ERR_BAD_REQUEST,t.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))},Lo}var Do,Ol;function p1(){if(Ol)return Do;Ol=1;var t=Qt;return Do=t.isStandardBrowserEnv()?(function(){return{write:function(e,n,r,i,o,s){var a=[];a.push(e+"="+encodeURIComponent(n)),t.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),t.isString(i)&&a.push("path="+i),t.isString(o)&&a.push("domain="+o),s===!0&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var n=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return n?decodeURIComponent(n[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}})():(function(){return{write:function(){},read:function(){return null},remove:function(){}}})(),Do}var m1=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)},g1=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t},_1=m1,v1=g1,af=function(t,e){return t&&!_1(e)?v1(t,e):e},Uo,Il;function b1(){if(Il)return Uo;Il=1;var t=Qt,e=["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"];return Uo=function(n){var r={},i,o,s;return n&&t.forEach(n.split(` 7`),function(a){if(s=a.indexOf(":"),i=t.trim(a.substr(0,s)).toLowerCase(),o=t.trim(a.substr(s+1)),i){if(r[i]&&e.indexOf(i)>=0)return;i==="set-cookie"?r[i]=(r[i]?r[i]:[]).concat([o]):r[i]=r[i]?r[i]+", "+o:o}}),r},Uo}var No,Rl;function y1(){if(Rl)return No;Rl=1;var t=Qt;return No=t.isStandardBrowserEnv()?(function(){var e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),r;function i(o){var s=o;return e&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=i(window.location.href),function(o){var s=t.isString(o)?i(o):o;return s.protocol===r.protocol&&s.host===r.host}})():(function(){return function(){return!0}})(),No}var Bo,Ml;function co(){if(Ml)return Bo;Ml=1;var t=Rr,e=Qt;function n(r){t.call(this,r??"canceled",t.ERR_CANCELED),this.name="CanceledError"}return e.inherits(n,t,{__CANCEL__:!0}),Bo=n,Bo}var Ll,Dl;function w1(){return Dl||(Dl=1,Ll=function(t){var e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}),Ll}var Fo,Ul;function C1(){if(Ul)return Fo;Ul=1;var t=Qt,e=d1(),n=p1(),r=tf,i=af,o=b1(),s=y1(),a=of,l=Rr,u=co(),c=w1();return Fo=function(f){return new Promise(function(p,d){var h=f.data,_=f.headers,T=f.responseType,b;function k(){f.cancelToken&&f.cancelToken.unsubscribe(b),f.signal&&f.signal.removeEventListener("abort",b)}t.isFormData(h)&&t.isStandardBrowserEnv()&&delete _["Content-Type"];var S=new XMLHttpRequest;if(f.auth){var y=f.auth.username||"",x=f.auth.password?unescape(encodeURIComponent(f.auth.password)):"";_.Authorization="Basic "+btoa(y+":"+x)}var M=i(f.baseURL,f.url);S.open(f.method.toUpperCase(),r(M,f.params,f.paramsSerializer),!0),S.timeout=f.timeout;function O(){if(S){var X="getAllResponseHeaders"in S?o(S.getAllResponseHeaders()):null,V=!T||T==="text"||T==="json"?S.responseText:S.response,K={data:V,status:S.status,statusText:S.statusText,headers:X,config:f,request:S};e(function(rt){p(rt),k()},function(rt){d(rt),k()},K),S=null}}if("onloadend"in S?S.onloadend=O:S.onreadystatechange=function(){!S||S.readyState!==4||S.status===0&&!(S.responseURL&&S.responseURL.indexOf("file:")===0)||setTimeout(O)},S.onabort=function(){S&&(d(new l("Request aborted",l.ECONNABORTED,f,S)),S=null)},S.onerror=function(){d(new l("Network Error",l.ERR_NETWORK,f,S,S)),S=null},S.ontimeout=function(){var X=f.timeout?"timeout of "+f.timeout+"ms exceeded":"timeout exceeded",V=f.transitional||a;f.timeoutErrorMessage&&(X=f.timeoutErrorMessage),d(new l(X,V.clarifyTimeoutError?l.ETIMEDOUT:l.ECONNABORTED,f,S)),S=null},t.isStandardBrowserEnv()){var D=(f.withCredentials||s(M))&&f.xsrfCookieName?n.read(f.xsrfCookieName):void 0;D&&(_[f.xsrfHeaderName]=D)}"setRequestHeader"in S&&t.forEach(_,function(X,V){typeof h>"u"&&V.toLowerCase()==="content-type"?delete _[V]:S.setRequestHeader(V,X)}),t.isUndefined(f.withCredentials)||(S.withCredentials=!!f.withCredentials),T&&T!=="json"&&(S.responseType=f.responseType),typeof f.onDownloadProgress=="function"&&S.addEventListener("progress",f.onDownloadProgress),typeof f.onUploadProgress=="function"&&S.upload&&S.upload.addEventListener("progress",f.onUploadProgress),(f.cancelToken||f.signal)&&(b=function(X){S&&(d(!X||X&&X.type?new u:X),S.abort(),S=null)},f.cancelToken&&f.cancelToken.subscribe(b),f.signal&&(f.signal.aborted?b():f.signal.addEventListener("abort",b))),h||(h=null);var F=c(M);if(F&&["http","https","file"].indexOf(F)===-1){d(new l("Unsupported protocol "+F+":",l.ERR_BAD_REQUEST,f));return}S.send(h)})},Fo}var Nl,Bl;function S1(){return Bl||(Bl=1,Nl=null),Nl}var Gt=Qt,Fl=f1,jl=Rr,k1=of,T1=sf,E1={"Content-Type":"application/x-www-form-urlencoded"};function $l(t,e){!Gt.isUndefined(t)&&Gt.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function A1(){var t;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(t=C1()),t}function P1(t,e,n){if(Gt.isString(t))try{return(e||JSON.parse)(t),Gt.trim(t)}catch(r){if(r.name!=="SyntaxError")throw r}return(0,JSON.stringify)(t)}var fo={transitional:k1,adapter:A1(),transformRequest:[function(t,e){if(Fl(e,"Accept"),Fl(e,"Content-Type"),Gt.isFormData(t)||Gt.isArrayBuffer(t)||Gt.isBuffer(t)||Gt.isStream(t)||Gt.isFile(t)||Gt.isBlob(t))return t;if(Gt.isArrayBufferView(t))return t.buffer;
7if(Gt.isURLSearchParams(t))return $l(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString();var n=Gt.isObject(t),r=e&&e["Content-Type"],i;if((i=Gt.isFileList(t))||n&&r==="multipart/form-data"){var o=this.env&&this.env.FormData;return T1(i?{"files[]":t}:t,o&&new o)}else if(n||r==="application/json")return $l(e,"application/json"),P1(t);return t}],transformResponse:[function(t){var e=this.transitional||fo.transitional,n=e&&e.silentJSONParsing,r=e&&e.forcedJSONParsing,i=!n&&this.responseType==="json";if(i||r&&Gt.isString(t)&&t.length)try{return JSON.parse(t)}catch(o){if(i)throw o.name==="SyntaxError"?jl.from(o,jl.ERR_BAD_RESPONSE,this,null,this.response):o}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:S1()},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};Gt.forEach(["delete","get","head"],function(t){fo.headers[t]={}});Gt.forEach(["post","put","patch"],function(t){fo.headers[t]=Gt.merge(E1)});var ga=fo,x1=Qt,O1=ga,I1=function(t,e,n){var r=this||O1;return x1.forEach(n,function(i){t=i.call(r,t,e)}),t},zl,ql;function lf(){return ql||(ql=1,zl=function(t){return!!(t&&t.__CANCEL__)}),zl}var Hl=Qt,jo=I1,R1=lf(),M1=ga,L1=co();function $o(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new L1}var D1=function(t){$o(t),t.headers=t.headers||{},t.data=jo.call(t,t.data,t.headers,t.transformRequest),t.headers=Hl.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),Hl.forEach(["delete","get","head","post","put","patch","common"],function(n){delete t.headers[n]});var e=t.adapter||M1.adapter;return e(t).then(function(n){return $o(t),n.data=jo.call(t,n.data,n.headers,t.transformResponse),n},function(n){return R1(n)||($o(t),n&&n.response&&(n.response.data=jo.call(t,n.response.data,n.response.headers,t.transformResponse))),Promise.reject(n)})},be=Qt,uf=function(t,e){e=e||{};var n={};function r(u,c){return be.isPlainObject(u)&&be.isPlainObject(c)?be.merge(u,c):be.isPlainObject(c)?be.merge({},c):be.isArray(c)?c.slice():c}function i(u){if(be.isUndefined(e[u])){if(!be.isUndefined(t[u]))return r(void 0,t[u])}else return r(t[u],e[u])}function o(u){if(!be.isUndefined(e[u]))return r(void 0,e[u])}function s(u){if(be.isUndefined(e[u])){if(!be.isUndefined(t[u]))return r(void 0,t[u])}else return r(void 0,e[u])}function a(u){if(u in e)return r(t[u],e[u]);if(u in t)return r(void 0,t[u])}var l={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials: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:a};return be.forEach(Object.keys(t).concat(Object.keys(e)),function(u){var c=l[u]||i,f=c(u);be.isUndefined(f)&&c!==a||(n[u]=f)}),n},Wl,Gl;function cf(){return Gl||(Gl=1,Wl={version:"0.27.2"}),Wl}var U1=cf().version,gn=Rr,_a={};["object","boolean","number","function","string","symbol"].forEach(function(t,e){_a[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}});var Vl={};_a.transitional=function(t,e,n){function r(i,o){return"[Axios v"+U1+"] Transitional option '"+i+"'"+o+(n?". "+n:"")}return function(i,o,s){if(t===!1)throw new gn(r(o," has been removed"+(e?" in "+e:"")),gn.ERR_DEPRECATED);return e&&!Vl[o]&&(Vl[o]=!0,console.warn(r(o," has been deprecated since v"+e+" and will be removed in the near future"))),t?t(i,o,s):!0}};function N1(t,e,n){if(typeof t!="object")throw new gn("options must be an object",gn.ERR_BAD_OPTION_VALUE);for(var r=Object.keys(t),i=r.length;i-- >0;){var o=r[i],s=e[o];if(s){var a=t[o],l=a===void 0||s(a,o,t);if(l!==!0)throw new gn("option "+o+" must be "+l,gn.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new gn("Unknown option "+o,gn.ERR_BAD_OPTION)}}var B1={assertOptions:N1,validators:_a},ff=Qt,F1=tf,Yl=u1,Xl=D1,ho=uf,j1=af,hf=B1,rr=hf.validators;function vr(t){this.defaults=t,this.interceptors={request:new Yl,response:new Yl}}vr.prototype.request=function(t,e){typeof t=="string"?(e=e||{},e.url=t):e=t||{},e=ho(this.defaults,e),e.method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var n=e.transitional;n!==void 0&&hf.assertOptions(n,{silentJSONParsing:rr.transitional(rr.boolean),forcedJSONParsing:rr.transitional(rr.boolean),clarifyTimeoutError:rr.transitional(rr.boolean)},!1);var r=[],i=!0;this.interceptors.request.forEach(function(f){typeof f.runWhen=="function"&&f.runWhen(e)===!1||(i=i&&f.synchronous,r.unshift(f.fulfilled,f.rejected))});var o=[];this.interceptors.response.forEach(function(f){o.push(f.fulfilled,f.rejected)});var s;if(!i){var a=[Xl,void 0];for(Array.prototype.unshift.apply(a,r),a=a.concat(o),s=Promise.resolve(e);a.length;)s=s.then(a.shift(),a.shift());return s}for(var l=e;r.length;){var u=r.shift(),c=r.shift();try{l=u(l)}catch(f){c(f);break}}try{s=Xl(l)}catch(f){return Promise.reject(f)}for(;o.length;)s=s.then(o.shift(),o.shift());return s};vr.prototype.getUri=function(t){t=ho(this.defaults,t);var e=j1(t.baseURL,t.url);return F1(e,t.params,t.paramsSerializer)};ff.forEach(["delete","get","head","options"],function(t){vr.prototype[t]=function(e,n){return this.request(ho(n||{},{method:t,url:e,data:(n||{}).data}))}});ff.forEach(["post","put","patch"],function(t){function e(n){return function(r,i,o){return this.request(ho(o||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:r,data:i}))}}vr.prototype[t]=e(),vr.prototype[t+"Form"]=e(!0)});var $1=vr,zo,Jl;function z1(){if(Jl)return zo;Jl=1;var t=co();function e(n){if(typeof n!="function")throw new TypeError("executor must be a function.");var r;this.promise=new Promise(function(o){r=o});var i=this;
7this.promise.then(function(o){if(i._listeners){var s,a=i._listeners.length;for(s=0;s<a;s++)i._listeners[s](o);i._listeners=null}}),this.promise.then=function(o){var s,a=new Promise(function(l){i.subscribe(l),s=l}).then(o);return a.cancel=function(){i.unsubscribe(s)},a},n(function(o){i.reason||(i.reason=new t(o),r(i.reason))})}return e.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},e.prototype.subscribe=function(n){if(this.reason){n(this.reason);return}this._listeners?this._listeners.push(n):this._listeners=[n]},e.prototype.unsubscribe=function(n){if(this._listeners){var r=this._listeners.indexOf(n);r!==-1&&this._listeners.splice(r,1)}},e.source=function(){var n,r=new e(function(i){n=i});return{token:r,cancel:n}},zo=e,zo}var Kl,Zl;function q1(){return Zl||(Zl=1,Kl=function(t){return function(e){return t.apply(null,e)}}),Kl}var qo,Ql;function H1(){if(Ql)return qo;Ql=1;var t=Qt;return qo=function(e){return t.isObject(e)&&e.isAxiosError===!0},qo}var tu=Qt,W1=Kc,xi=$1,G1=uf,V1=ga;function df(t){var e=new xi(t),n=W1(xi.prototype.request,e);return tu.extend(n,xi.prototype,e),tu.extend(n,e),n.create=function(r){return df(G1(t,r))},n}var ge=df(V1);ge.Axios=xi;ge.CanceledError=co();ge.CancelToken=z1();ge.isCancel=lf();ge.VERSION=cf().version;ge.toFormData=sf;ge.AxiosError=Rr;ge.Cancel=ge.CanceledError;ge.all=function(t){return Promise.all(t)};ge.spread=q1();ge.isAxiosError=H1();ca.exports=ge;ca.exports.default=ge;var Y1=ca.exports,pf=Y1,Mt={},va={};(function(t){var e=Ft&&Ft.__extends||(function(){var o=function(s,a){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,u){l.__proto__=u}||function(l,u){for(var c in u)Object.prototype.hasOwnProperty.call(u,c)&&(l[c]=u[c])},o(s,a)};return function(s,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");o(s,a);function l(){this.constructor=s}s.prototype=a===null?Object.create(a):(l.prototype=a.prototype,new l)}})();Object.defineProperty(t,"__esModule",{value:!0}),t.RequiredError=t.BaseAPI=t.COLLECTION_FORMATS=t.BASE_PATH=void 0;var n=pf;t.BASE_PATH="http://localhost".replace(/\/+$/,""),t.COLLECTION_FORMATS={csv:",",ssv:" ",tsv:" ",pipes:"|"};var r=(function(){function o(s,a,l){a===void 0&&(a=t.BASE_PATH),l===void 0&&(l=n.default),this.basePath=a,this.axios=l,s&&(this.configuration=s,this.basePath=s.basePath||this.basePath)}return o})();t.BaseAPI=r;var i=(function(o){e(s,o);function s(a,l){var u=o.call(this,l)||this;return u.field=a,u.name="RequiredError",u}return s})(Error);t.RequiredError=i})(va);var ji=Ft&&Ft.__assign||function(){return ji=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++){e=arguments[n];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}return t},ji.apply(this,arguments)},ba=Ft&&Ft.__awaiter||function(t,e,n,r){function i(o){return o instanceof n?o:new n(function(s){s(o)})}return new(n||(n=Promise))(function(o,s){function a(c){try{u(r.next(c))}catch(f){s(f)}}function l(c){try{u(r.throw(c))}catch(f){s(f)}}function u(c){c.done?o(c.value):i(c.value).then(a,l)}u((r=r.apply(t,e||[])).next())})},ya=Ft&&Ft.__generator||function(t,e){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(u){return function(c){return l([u,c])}}function l(u){if(r)throw new TypeError("Generator is already executing.");for(;s&&(s=0,u[0]&&(n=0)),n;)try{if(r=1,i&&(o=u[0]&2?i.return:u[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,u[1])).done)return o;switch(i=0,o&&(u=[u[0]&2,o.value]),u[0]){case 0:case 1:o=u;break;case 4:return n.label++,{value:u[1],done:!1};case 5:n.label++,i=u[1],u=[0];continue;case 7:u=n.ops.pop(),n.trys.pop();continue;default:if(o=n.trys,!(o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){n.label=u[1];break}if(u[0]===6&&n.label<o[1]){n.label=o[1],o=u;break}if(o&&n.label<o[2]){n.label=o[2],n.ops.push(u);break}o[2]&&n.ops.pop(),n.trys.pop();continue}u=e.call(t,n)}catch(c){u=[6,c],i=0}finally{r=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}};
7Object.defineProperty(Mt,"__esModule",{value:!0});Mt.createRequestFunction=Mt.toPathString=Mt.serializeDataIfNeeded=Mt.setSearchParams=Mt.setOAuthToObject=Mt.setBearerAuthToObject=Mt.setBasicAuthToObject=Mt.setApiKeyToObject=Mt.assertParamExists=Mt.DUMMY_BASE_URL=void 0;var X1=va;Mt.DUMMY_BASE_URL="https://example.com";var J1=function(t,e,n){if(n==null)throw new X1.RequiredError(e,"Required parameter ".concat(e," was null or undefined when calling ").concat(t,"."))};Mt.assertParamExists=J1;var K1=function(t,e,n){return ba(this,void 0,void 0,function(){var r,i;return ya(this,function(o){switch(o.label){case 0:return n&&n.apiKey?typeof n.apiKey!="function"?[3,2]:[4,n.apiKey(e)]:[3,5];case 1:return i=o.sent(),[3,4];case 2:return[4,n.apiKey];case 3:i=o.sent(),o.label=4;case 4:r=i,t[e]=r,o.label=5;case 5:return[2]}})})};Mt.setApiKeyToObject=K1;var Z1=function(t,e){e&&(e.username||e.password)&&(t.auth={username:e.username,password:e.password})};Mt.setBasicAuthToObject=Z1;var Q1=function(t,e){return ba(this,void 0,void 0,function(){var n,r;return ya(this,function(i){switch(i.label){case 0:return e&&e.accessToken?typeof e.accessToken!="function"?[3,2]:[4,e.accessToken()]:[3,5];case 1:return r=i.sent(),[3,4];case 2:return[4,e.accessToken];case 3:r=i.sent(),i.label=4;case 4:n=r,t.Authorization="Bearer "+n,i.label=5;case 5:return[2]}})})};Mt.setBearerAuthToObject=Q1;var tm=function(t,e,n,r){return ba(this,void 0,void 0,function(){var i,o;return ya(this,function(s){switch(s.label){case 0:return r&&r.accessToken?typeof r.accessToken!="function"?[3,2]:[4,r.accessToken(e,n)]:[3,5];case 1:return o=s.sent(),[3,4];case 2:return[4,r.accessToken];case 3:o=s.sent(),s.label=4;case 4:i=o,t.Authorization="Bearer "+i,s.label=5;case 5:return[2]}})})};Mt.setOAuthToObject=tm;function ws(t,e,n){n===void 0&&(n=""),e!=null&&(typeof e=="object"?Array.isArray(e)?e.forEach(function(r){return ws(t,r,n)}):Object.keys(e).forEach(function(r){return ws(t,e[r],"".concat(n).concat(n!==""?".":"").concat(r))}):t.has(n)?t.append(n,e):t.set(n,e))}var em=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=new URLSearchParams(t.search);ws(r,e),t.search=r.toString()};Mt.setSearchParams=em;var nm=function(t,e,n){var r=typeof t!="string",i=r&&n&&n.isJsonMime?n.isJsonMime(e.headers["Content-Type"]):r;return i?JSON.stringify(t!==void 0?t:{}):t||""};Mt.serializeDataIfNeeded=nm;var rm=function(t){return t.pathname+t.search+t.hash};Mt.toPathString=rm;var im=function(t,e,n,r){return function(i,o){i===void 0&&(i=e),o===void 0&&(o=n);var s=ji(ji({},t.options),{url:(r?.basePath||o)+t.url});return i.request(s)}};Mt.createRequestFunction=im;(function(t){var e=Ft&&Ft.__extends||(function(){var A=function(R,w){return A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(C,g){C.__proto__=g}||function(C,g){for(var m in g)Object.prototype.hasOwnProperty.call(g,m)&&(C[m]=g[m])},A(R,w)};return function(R,w){if(typeof w!="function"&&w!==null)throw new TypeError("Class extends value "+String(w)+" is not a constructor or null");A(R,w);function C(){this.constructor=R}R.prototype=w===null?Object.create(w):(C.prototype=w.prototype,new C)}})(),n=Ft&&Ft.__assign||function(){return n=Object.assign||function(A){for(var R,w=1,C=arguments.length;w<C;w++){R=arguments[w];for(var g in R)Object.prototype.hasOwnProperty.call(R,g)&&(A[g]=R[g])}return A},n.apply(this,arguments)},r=Ft&&Ft.__awaiter||function(A,R,w,C){function g(m){return m instanceof w?m:new w(function(v){v(m)})}return new(w||(w=Promise))(function(m,v){function E(j){try{L(C.next(j))}catch(G){v(G)}}function U(j){try{L(C.throw(j))}catch(G){v(G)}}function L(j){j.done?m(j.value):g(j.value).then(E,U)}L((C=C.apply(A,R||[])).next())})},i=Ft&&Ft.__generator||function(A,R){var w={label:0,sent:function(){if(m[0]&1)throw m[1];return m[1]},trys:[],ops:[]},C,g,m,v;return v={next:E(0),throw:E(1),return:E(2)},typeof Symbol=="function"&&(v[Symbol.iterator]=function(){return this}),v;function E(L){return function(j){return U([L,j])}}function U(L){if(C)throw new TypeError("Generator is already executing.");for(;v&&(v=0,L[0]&&(w=0)),w;)try{if(C=1,g&&(m=L[0]&2?g.return:L[0]?g.throw||((m=g.return)&&m.call(g),0):g.next)&&!(m=m.call(g,L[1])).done)return m;switch(g=0,m&&(L=[L[0]&2,m.value]),L[0]){case 0:case 1:m=L;break;case 4:return w.label++,{value:L[1],done:!1};case 5:w.label++,g=L[1],L=[0];continue;case 7:L=w.ops.pop(),w.trys.pop();continue;default:if(m=w.trys,!(m=m.length>0&&m[m.length-1])&&(L[0]===6||L[0]===2)){w=0;continue}if(L[0]===3&&(!m||L[1]>m[0]&&L[1]<m[3])){w.label=L[1];break}if(L[0]===6&&w.label<m[1]){w.label=m[1],m=L;break}if(m&&w.label<m[2]){w.label=m[2],w.ops.push(L);break}m[2]&&w.ops.pop(),w.trys.pop();continue}
7L=R.call(A,w)}catch(j){L=[6,j],g=0}finally{C=m=0}if(L[0]&5)throw L[1];return{value:L[0]?L[1]:void 0,done:!0}}};Object.defineProperty(t,"__esModule",{value:!0}),t.TasklistApi=t.TasklistApiFactory=t.TasklistApiFp=t.TasklistApiAxiosParamCreator=t.SignalRApi=t.SignalRApiFactory=t.SignalRApiFp=t.SignalRApiAxiosParamCreator=t.NotificationApi=t.NotificationApiFactory=t.NotificationApiFp=t.NotificationApiAxiosParamCreator=t.MailApi=t.MailApiFactory=t.MailApiFp=t.MailApiAxiosParamCreator=t.InformationApi=t.InformationApiFactory=t.InformationApiFp=t.InformationApiAxiosParamCreator=t.FirebaseDeviceApi=t.FirebaseDeviceApiFactory=t.FirebaseDeviceApiFp=t.FirebaseDeviceApiAxiosParamCreator=t.AdminApi=t.AdminApiFactory=t.AdminApiFp=t.AdminApiAxiosParamCreator=void 0;var o=pf,s=Mt,a=va,l=function(A){var R=this;return{apiAdminInformationSearchPost:function(w,C,g){return g===void 0&&(g={}),r(R,void 0,void 0,function(){var m,v,E,U,L,j,G;return i(this,function(H){switch(H.label){case 0:return(0,s.assertParamExists)("apiAdminInformationSearchPost","xTenantID",w),m="/api/Admin/Information/Search",v=new URL(m,s.DUMMY_BASE_URL),A&&(E=A.baseOptions),U=n(n({method:"POST"},E),g),L={},j={},[4,(0,s.setOAuthToObject)(L,"oauth2",[],A)];case 1:return H.sent(),w!=null&&(L["X-Tenant-ID"]=String(w)),L["Content-Type"]="application/json",(0,s.setSearchParams)(v,j),G=E&&E.headers?E.headers:{},U.headers=n(n(n({},L),G),g.headers),U.data=(0,s.serializeDataIfNeeded)(C,U,A),[2,{url:(0,s.toPathString)(v),options:U}]}})})},apiAdminModuleModuleIdPatch:function(w,C,g,m){return m===void 0&&(m={}),r(R,void 0,void 0,function(){var v,E,U,L,j,G,H;return i(this,function(lt){switch(lt.label){case 0:return(0,s.assertParamExists)("apiAdminModuleModuleIdPatch","moduleId",w),(0,s.assertParamExists)("apiAdminModuleModuleIdPatch","xTenantID",C),v="/api/Admin/Module/{moduleId}".replace("{".concat("moduleId","}"),encodeURIComponent(String(w))),E=new URL(v,s.DUMMY_BASE_URL),A&&(U=A.baseOptions),L=n(n({method:"PATCH"},U),m),j={},G={},[4,(0,s.setOAuthToObject)(j,"oauth2",[],A)];case 1:return lt.sent(),C!=null&&(j["X-Tenant-ID"]=String(C)),j["Content-Type"]="application/json",(0,s.setSearchParams)(E,G),H=U&&U.headers?U.headers:{},L.headers=n(n(n({},j),H),m.headers),L.data=(0,s.serializeDataIfNeeded)(g,L,A),[2,{url:(0,s.toPathString)(E),options:L}]}})})},apiAdminModuleSearchPost:function(w,C,g){return g===void 0&&(g={}),r(R,void 0,void 0,function(){var m,v,E,U,L,j,G;return i(this,function(H){switch(H.label){case 0:return(0,s.assertParamExists)("apiAdminModuleSearchPost","xTenantID",w),m="/api/Admin/Module/Search",v=new URL(m,s.DUMMY_BASE_URL),A&&(E=A.baseOptions),U=n(n({method:"POST"},E),g),L={},j={},[4,(0,s.setOAuthToObject)(L,"oauth2",[],A)];case 1:return H.sent(),w!=null&&(L["X-Tenant-ID"]=String(w)),L["Content-Type"]="application/json",(0,s.setSearchParams)(v,j),G=E&&E.headers?E.headers:{},U.headers=n(n(n({},L),G),g.headers),U.data=(0,s.serializeDataIfNeeded)(C,U,A),[2,{url:(0,s.toPathString)(v),options:U}]}})})},apiAdminUnassignedTasksSearchPost:function(w,C,g){return g===void 0&&(g={}),r(R,void 0,void 0,function(){var m,v,E,U,L,j,G;return i(this,function(H){switch(H.label){case 0:return(0,s.assertParamExists)("apiAdminUnassignedTasksSearchPost","xTenantID",w),m="/api/Admin/UnassignedTasks/Search",v=new URL(m,s.DUMMY_BASE_URL),A&&(E=A.baseOptions),U=n(n({method:"POST"},E),g),L={},j={},[4,(0,s.setOAuthToObject)(L,"oauth2",[],A)];case 1:return H.sent(),w!=null&&(L["X-Tenant-ID"]=String(w)),L["Content-Type"]="application/json",(0,s.setSearchParams)(v,j),G=E&&E.headers?E.headers:{},U.headers=n(n(n({},L),G),g.headers),U.data=(0,s.serializeDataIfNeeded)(C,U,A),[2,{url:(0,s.toPathString)(v),options:U}]}})})},apiAdminUserUserIdEmailGet:function(w,C,g){return g===void 0&&(g={}),r(R,void 0,void 0,function(){var m,v,E,U,L,j,G;return i(this,function(H){switch(H.label){case 0:return(0,s.assertParamExists)("apiAdminUserUserIdEmailGet","userId",w),(0,s.assertParamExists)("apiAdminUserUserIdEmailGet","xTenantID",C),m="/api/Admin/User/{userId}/Email".replace("{".concat("userId","}"),encodeURIComponent(String(w))),v=new URL(m,s.DUMMY_BASE_URL),A&&(E=A.baseOptions),U=n(n({method:"GET"},E),g),L={},j={},[4,(0,s.setOAuthToObject)(L,"oauth2",[],A)];
7case 1:return H.sent(),C!=null&&(L["X-Tenant-ID"]=String(C)),(0,s.setSearchParams)(v,j),G=E&&E.headers?E.headers:{},U.headers=n(n(n({},L),G),g.headers),[2,{url:(0,s.toPathString)(v),options:U}]}})})},apiAdminUserUserIdInformationGet:function(w,C,g){return g===void 0&&(g={}),r(R,void 0,void 0,function(){var m,v,E,U,L,j,G;return i(this,function(H){switch(H.label){case 0:return(0,s.assertParamExists)("apiAdminUserUserIdInformationGet","userId",w),(0,s.assertParamExists)("apiAdminUserUserIdInformationGet","xTenantID",C),m="/api/Admin/User/{userId}/Information".replace("{".concat("userId","}"),encodeURIComponent(String(w))),v=new URL(m,s.DUMMY_BASE_URL),A&&(E=A.baseOptions),U=n(n({method:"GET"},E),g),L={},j={},[4,(0,s.setOAuthToObject)(L,"oauth2",[],A)];case 1:return H.sent(),C!=null&&(L["X-Tenant-ID"]=String(C)),(0,s.setSearchParams)(v,j),G=E&&E.headers?E.headers:{},U.headers=n(n(n({},L),G),g.headers),[2,{url:(0,s.toPathString)(v),options:U}]}})})},apiAdminUserUserIdNotificationsMarkAsReadAllPut:function(w,C,g,m){return m===void 0&&(m={}),r(R,void 0,void 0,function(){var v,E,U,L,j,G,H;return i(this,function(lt){switch(lt.label){case 0:return(0,s.assertParamExists)("apiAdminUserUserIdNotificationsMarkAsReadAllPut","userId",w),(0,s.assertParamExists)("apiAdminUserUserIdNotificationsMarkAsReadAllPut","xTenantID",C),v="/api/Admin/User/{userId}/Notifications/MarkAsReadAll".replace("{".concat("userId","}"),encodeURIComponent(String(w))),E=new URL(v,s.DUMMY_BASE_URL),A&&(U=A.baseOptions),L=n(n({method:"PUT"},U),m),j={},G={},[4,(0,s.setOAuthToObject)(j,"oauth2",[],A)];case 1:return lt.sent(),C!=null&&(j["X-Tenant-ID"]=String(C)),j["Content-Type"]="application/json",(0,s.setSearchParams)(E,G),H=U&&U.headers?U.headers:{},L.headers=n(n(n({},j),H),m.headers),L.data=(0,s.serializeDataIfNeeded)(g,L,A),[2,{url:(0,s.toPathString)(E),options:L}]}})})},apiAdminUserUserIdNotificationsSearchPost:function(w,C,g,m){return m===void 0&&(m={}),r(R,void 0,void 0,function(){var v,E,U,L,j,G,H;return i(this,function(lt){switch(lt.label){case 0:return(0,s.assertParamExists)("apiAdminUserUserIdNotificationsSearchPost","userId",w),(0,s.assertParamExists)("apiAdminUserUserIdNotificationsSearchPost","xTenantID",C),v="/api/Admin/User/{userId}/Notifications/Search".replace("{".concat("userId","}"),encodeURIComponent(String(w))),E=new URL(v,s.DUMMY_BASE_URL),A&&(U=A.baseOptions),L=n(n({method:"POST"},U),m),j={},G={},[4,(0,s.setOAuthToObject)(j,"oauth2",[],A)];case 1:return lt.sent(),C!=null&&(j["X-Tenant-ID"]=String(C)),j["Content-Type"]="application/json",(0,s.setSearchParams)(E,G),H=U&&U.headers?U.headers:{},L.headers=n(n(n({},j),H),m.headers),L.data=(0,s.serializeDataIfNeeded)(g,L,A),[2,{url:(0,s.toPathString)(E),options:L}]}})})},apiAdminUserUserIdUserTasksSearchPost:function(w,C,g,m){return m===void 0&&(m={}),r(R,void 0,void 0,function(){var v,E,U,L,j,G,H;return i(this,function(lt){switch(lt.label){case 0:return(0,s.assertParamExists)("apiAdminUserUserIdUserTasksSearchPost","userId",w),(0,s.assertParamExists)("apiAdminUserUserIdUserTasksSearchPost","xTenantID",C),v="/api/Admin/User/{userId}/UserTasks/Search".replace("{".concat("userId","}"),encodeURIComponent(String(w))),E=new URL(v,s.DUMMY_BASE_URL),A&&(U=A.baseOptions),L=n(n({method:"POST"},U),m),j={},G={},[4,(0,s.setOAuthToObject)(j,"oauth2",[],A)];case 1:return lt.sent(),C!=null&&(j["X-Tenant-ID"]=String(C)),j["Content-Type"]="application/json",(0,s.setSearchParams)(E,G),H=U&&U.headers?U.headers:{},L.headers=n(n(n({},j),H),m.headers),L.data=(0,s.serializeDataIfNeeded)(g,L,A),[2,{url:(0,s.toPathString)(E),options:L}]}})})},apiAdminUsersEmailsGet:function(w,C,g){return g===void 0&&(g={}),r(R,void 0,void 0,function(){var m,v,E,U,L,j,G;return i(this,function(H){switch(H.label){case 0:return(0,s.assertParamExists)("apiAdminUsersEmailsGet","xTenantID",w),m="/api/Admin/Users/Emails",v=new URL(m,s.DUMMY_BASE_URL),A&&(E=A.baseOptions),U=n(n({method:"GET"},E),g),L={},j={},[4,(0,s.setOAuthToObject)(L,"oauth2",[],A)];
7case 1:return H.sent(),C!==void 0&&(j.userId=C),w!=null&&(L["X-Tenant-ID"]=String(w)),(0,s.setSearchParams)(v,j),G=E&&E.headers?E.headers:{},U.headers=n(n(n({},L),G),g.headers),[2,{url:(0,s.toPathString)(v),options:U}]}})})}}};t.AdminApiAxiosParamCreator=l;var u=function(A){var R=(0,t.AdminApiAxiosParamCreator)(A);return{apiAdminInformationSearchPost:function(w,C,g){return r(this,void 0,void 0,function(){var m;return i(this,function(v){switch(v.label){case 0:return[4,R.apiAdminInformationSearchPost(w,C,g)];case 1:return m=v.sent(),[2,(0,s.createRequestFunction)(m,o.default,a.BASE_PATH,A)]}})})},apiAdminModuleModuleIdPatch:function(w,C,g,m){return r(this,void 0,void 0,function(){var v;return i(this,function(E){switch(E.label){case 0:return[4,R.apiAdminModuleModuleIdPatch(w,C,g,m)];case 1:return v=E.sent(),[2,(0,s.createRequestFunction)(v,o.default,a.BASE_PATH,A)]}})})},apiAdminModuleSearchPost:function(w,C,g){return r(this,void 0,void 0,function(){var m;return i(this,function(v){switch(v.label){case 0:return[4,R.apiAdminModuleSearchPost(w,C,g)];case 1:return m=v.sent(),[2,(0,s.createRequestFunction)(m,o.default,a.BASE_PATH,A)]}})})},apiAdminUnassignedTasksSearchPost:function(w,C,g){return r(this,void 0,void 0,function(){var m;return i(this,function(v){switch(v.label){case 0:return[4,R.apiAdminUnassignedTasksSearchPost(w,C,g)];case 1:return m=v.sent(),[2,(0,s.createRequestFunction)(m,o.default,a.BASE_PATH,A)]}})})},apiAdminUserUserIdEmailGet:function(w,C,g){return r(this,void 0,void 0,function(){var m;return i(this,function(v){switch(v.label){case 0:return[4,R.apiAdminUserUserIdEmailGet(w,C,g)];case 1:return m=v.sent(),[2,(0,s.createRequestFunction)(m,o.default,a.BASE_PATH,A)]}})})},apiAdminUserUserIdInformationGet:function(w,C,g){return r(this,void 0,void 0,function(){var m;return i(this,function(v){switch(v.label){case 0:return[4,R.apiAdminUserUserIdInformationGet(w,C,g)];case 1:return m=v.sent(),[2,(0,s.createRequestFunction)(m,o.default,a.BASE_PATH,A)]}})})},apiAdminUserUserIdNotificationsMarkAsReadAllPut:function(w,C,g,m){return r(this,void 0,void 0,function(){var v;return i(this,function(E){switch(E.label){case 0:return[4,R.apiAdminUserUserIdNotificationsMarkAsReadAllPut(w,C,g,m)];case 1:return v=E.sent(),[2,(0,s.createRequestFunction)(v,o.default,a.BASE_PATH,A)]}})})},apiAdminUserUserIdNotificationsSearchPost:function(w,C,g,m){return r(this,void 0,void 0,function(){var v;return i(this,function(E){switch(E.label){case 0:return[4,R.apiAdminUserUserIdNotificationsSearchPost(w,C,g,m)];case 1:return v=E.sent(),[2,(0,s.createRequestFunction)(v,o.default,a.BASE_PATH,A)]}})})},apiAdminUserUserIdUserTasksSearchPost:function(w,C,g,m){return r(this,void 0,void 0,function(){var v;return i(this,function(E){switch(E.label){case 0:return[4,R.apiAdminUserUserIdUserTasksSearchPost(w,C,g,m)];case 1:return v=E.sent(),[2,(0,s.createRequestFunction)(v,o.default,a.BASE_PATH,A)]}})})},apiAdminUsersEmailsGet:function(w,C,g){return r(this,void 0,void 0,function(){var m;return i(this,function(v){switch(v.label){case 0:return[4,R.apiAdminUsersEmailsGet(w,C,g)];case 1:return m=v.sent(),[2,(0,s.createRequestFunction)(m,o.default,a.BASE_PATH,A)]}})})}}};t.AdminApiFp=u;var c=function(A,R,w){var C=(0,t.AdminApiFp)(A);return{apiAdminInformationSearchPost:function(g,m,v){return C.apiAdminInformationSearchPost(g,m,v).then(function(E){return E(w,R)})},apiAdminModuleModuleIdPatch:function(g,m,v,E){return C.apiAdminModuleModuleIdPatch(g,m,v,E).then(function(U){return U(w,R)})},apiAdminModuleSearchPost:function(g,m,v){return C.apiAdminModuleSearchPost(g,m,v).then(function(E){return E(w,R)})},apiAdminUnassignedTasksSearchPost:function(g,m,v){return C.apiAdminUnassignedTasksSearchPost(g,m,v).then(function(E){return E(w,R)})},apiAdminUserUserIdEmailGet:function(g,m,v){return C.apiAdminUserUserIdEmailGet(g,m,v).then(function(E){return E(w,R)})},apiAdminUserUserIdInformationGet:function(g,m,v){return C.apiAdminUserUserIdInformationGet(g,m,v).then(function(E){return E(w,R)})},apiAdminUserUserIdNotificationsMarkAsReadAllPut:function(g,m,v,E){return C.apiAdminUserUserIdNotificationsMarkAsReadAllPut(g,m,v,E).then(function(U){return U(w,R)})},apiAdminUserUserIdNotificationsSearchPost:function(g,m,v,E){return C.apiAdminUserUserIdNotificationsSearchPost(g,m,v,E).then(function(U){return U(w,R)})},apiAdminUserUserIdUserTasksSearchPost:function(g,m,v,E){return C.apiAdminUserUserIdUserTasksSearchPost(g,m,v,E).then(function(U){return U(w,R)})},apiAdminUsersEmailsGet:function(g,m,v){return C.apiAdminUsersEmailsGet(g,m,v).then(function(E){return E(w,R)})}}};t.AdminApiFactory=c;var f=(function(A){e(R,A);function R(){return A!==null&&A.apply(this,arguments)||this}return R.prototype.apiAdminInformationSearchPost=function(w,C,g){var m=this;return(0,t.AdminApiFp)(this.configuration).apiAdminInformationSearchPost(w,C,g).then(function(v){return v(m.axios,m.basePath)})},R.prototype.apiAdminModuleModuleIdPatch=function(w,C,g,m){var v=this;return(0,t.AdminApiFp)(this.configuration).apiAdminModuleModuleIdPatch(w,C,g,m).then(function(E){return E(v.axios,v.basePath)})},R.prototype.apiAdminModuleSearchPost=function(w,C,g){var m=this;return(0,t.AdminApiFp)(this.configuration).apiAdminModuleSearchPost(w,C,g).then(function(v){return v(m.axios,m.basePath)})},R.prototype.apiAdminUnassignedTasksSearchPost=function(w,C,g){var m=this;return(0,t.AdminApiFp)(this.configuration).apiAdminUnassignedTasksSearchPost(w,C,g).then(function(v){return v(m.axios,m.basePath)})},R.prototype.apiAdminUserUserIdEmailGet=function(w,C,g){var m=this;return(0,t.AdminApiFp)(this.configuration).apiAdminUserUserIdEmailGet(w,C,g).then(function(v){return v(m.axios,m.basePath)})},R.prototype.apiAdminUserUserIdInformationGet=function(w,C,g){var m=this;return(0,t.AdminApiFp)(this.configuration).apiAdminUserUserIdInformationGet(w,C,g).then(function(v){return v(m.axios,m.basePath)})},R.prototype.apiAdminUserUserIdNotificationsMarkAsReadAllPut=function(w,C,g,m){var v=this;return(0,t.AdminApiFp)(this.configuration).apiAdminUserUserIdNotificationsMarkAsReadAllPut(w,C,g,m).then(function(E){return E(v.axios,v.basePath)})},R.prototype.apiAdminUserUserIdNotificationsSearchPost=function(w,C,g,m){var v=this;return(0,t.AdminApiFp)(this.configuration).apiAdminUserUserIdNotificationsSearchPost(w,C,g,m).then(function(E){return E(v.axios,v.basePath)})},R.prototype.apiAdminUserUserIdUserTasksSearchPost=function(w,C,g,m){var v=this;return(0,t.AdminApiFp)(this.configuration).apiAdminUserUserIdUserTasksSearchPost(w,C,g,m).then(function(E){return E(v.axios,v.basePath)})},R.prototype.apiAdminUsersEmailsGet=function(w,C,g){var m=this;return(0,t.AdminApiFp)(this.configuration).apiAdminUsersEmailsGet(w,C,g).then(function(v){return v(m.axios,m.basePath)})},R})(a.BaseAPI);t.AdminApi=f;var p=function(A){var R=this;return{apiFirebaseDevicePost:function(w,C,g){return g===void 0&&(g={}),r(R,void 0,void 0,function(){var m,v,E,U,L,j,G;return i(this,function(H){switch(H.label){case 0:return(0,s.assertParamExists)("apiFirebaseDevicePost","xTenantID",w),m="/api/FirebaseDevice",v=new URL(m,s.DUMMY_BASE_URL),A&&(E=A.baseOptions),U=n(n({method:"POST"},E),g),L={},j={},[4,(0,s.setOAuthToObject)(L,"oauth2",[],A)];case 1:return H.sent(),w!=null&&(L["X-Tenant-ID"]=String(w)),L["Content-Type"]="application/json",(0,s.setSearchParams)(v,j),G=E&&E.headers?E.headers:{},U.headers=n(n(n({},L),G),g.headers),U.data=(0,s.serializeDataIfNeeded)(C,U,A),[2,{url:(0,s.toPathString)(v),options:U}]}})})}}};t.FirebaseDeviceApiAxiosParamCreator=p;var d=function(A){var R=(0,t.FirebaseDeviceApiAxiosParamCreator)(A);return{apiFirebaseDevicePost:function(w,C,g){return r(this,void 0,void 0,function(){var m;
7return i(this,function(v){switch(v.label){case 0:return[4,R.apiFirebaseDevicePost(w,C,g)];case 1:return m=v.sent(),[2,(0,s.createRequestFunction)(m,o.default,a.BASE_PATH,A)]}})})}}};t.FirebaseDeviceApiFp=d;var h=function(A,R,w){var C=(0,t.FirebaseDeviceApiFp)(A);return{apiFirebaseDevicePost:function(g,m,v){return C.apiFirebaseDevicePost(g,m,v).then(function(E){return E(w,R)})}}};t.FirebaseDeviceApiFactory=h;var _=(function(A){e(R,A);function R(){return A!==null&&A.apply(this,arguments)||this}return R.prototype.apiFirebaseDevicePost=function(w,C,g){var m=this;return(0,t.FirebaseDeviceApiFp)(this.configuration).apiFirebaseDevicePost(w,C,g).then(function(v){return v(m.axios,m.basePath)})},R})(a.BaseAPI);t.FirebaseDeviceApi=_;var T=function(A){var R=this;return{apiInformationGet:function(w,C){return C===void 0&&(C={}),r(R,void 0,void 0,function(){var g,m,v,E,U,L,j;return i(this,function(G){switch(G.label){case 0:return(0,s.assertParamExists)("apiInformationGet","xTenantID",w),g="/api/Information",m=new URL(g,s.DUMMY_BASE_URL),A&&(v=A.baseOptions),E=n(n({method:"GET"},v),C),U={},L={},[4,(0,s.setOAuthToObject)(U,"oauth2",[],A)];case 1:return G.sent(),w!=null&&(U["X-Tenant-ID"]=String(w)),(0,s.setSearchParams)(m,L),j=v&&v.headers?v.headers:{},E.headers=n(n(n({},U),j),C.headers),[2,{url:(0,s.toPathString)(m),options:E}]}})})}}};t.InformationApiAxiosParamCreator=T;var b=function(A){var R=(0,t.InformationApiAxiosParamCreator)(A);return{apiInformationGet:function(w,C){return r(this,void 0,void 0,function(){var g;return i(this,function(m){switch(m.label){case 0:return[4,R.apiInformationGet(w,C)];case 1:return g=m.sent(),[2,(0,s.createRequestFunction)(g,o.default,a.BASE_PATH,A)]}})})}}};t.InformationApiFp=b;var k=function(A,R,w){var C=(0,t.InformationApiFp)(A);return{apiInformationGet:function(g,m){return C.apiInformationGet(g,m).then(function(v){return v(w,R)})}}};t.InformationApiFactory=k;var S=(function(A){e(R,A);function R(){return A!==null&&A.apply(this,arguments)||this}return R.prototype.apiInformationGet=function(w,C){var g=this;return(0,t.InformationApiFp)(this.configuration).apiInformationGet(w,C).then(function(m){return m(g.axios,g.basePath)})},R})(a.BaseAPI);t.InformationApi=S;var y=function(A){var R=this;return{apiMailSearchPost:function(w,C,g){return g===void 0&&(g={}),r(R,void 0,void 0,function(){var m,v,E,U,L,j,G;return i(this,function(H){switch(H.label){case 0:return(0,s.assertParamExists)("apiMailSearchPost","xTenantID",w),m="/api/Mail/Search",v=new URL(m,s.DUMMY_BASE_URL),A&&(E=A.baseOptions),U=n(n({method:"POST"},E),g),L={},j={},[4,(0,s.setOAuthToObject)(L,"oauth2",[],A)];case 1:return H.sent(),w!=null&&(L["X-Tenant-ID"]=String(w)),L["Content-Type"]="application/json",(0,s.setSearchParams)(v,j),G=E&&E.headers?E.headers:{},U.headers=n(n(n({},L),G),g.headers),U.data=(0,s.serializeDataIfNeeded)(C,U,A),[2,{url:(0,s.toPathString)(v),options:U}]}})})}}};t.MailApiAxiosParamCreator=y;var x=function(A){var R=(0,t.MailApiAxiosParamCreator)(A);return{apiMailSearchPost:function(w,C,g){return r(this,void 0,void 0,function(){var m;return i(this,function(v){switch(v.label){case 0:return[4,R.apiMailSearchPost(w,C,g)];case 1:return m=v.sent(),[2,(0,s.createRequestFunction)(m,o.default,a.BASE_PATH,A)]}})})}}};t.MailApiFp=x;var M=function(A,R,w){var C=(0,t.MailApiFp)(A);return{apiMailSearchPost:function(g,m,v){return C.apiMailSearchPost(g,m,v).then(function(E){return E(w,R)})}}};t.MailApiFactory=M;var O=(function(A){e(R,A);function R(){return A!==null&&A.apply(this,arguments)||this}return R.prototype.apiMailSearchPost=function(w,C,g){var m=this;return(0,t.MailApiFp)(this.configuration).apiMailSearchPost(w,C,g).then(function(v){return v(m.axios,m.basePath)})},R})(a.BaseAPI);t.MailApi=O;var D=function(A){var R=this;return{apiNotificationDirectPost:function(w,C,g){return g===void 0&&(g={}),r(R,void 0,void 0,function(){var m,v,E,U,L,j,G;return i(this,function(H){switch(H.label){case 0:return(0,s.assertParamExists)("apiNotificationDirectPost","xTenantID",w),m="/api/Notification/Direct",v=new URL(m,s.DUMMY_BASE_URL),A&&(E=A.baseOptions),U=n(n({method:"POST"},E),g),L={},j={},[4,(0,s.setOAuthToObject)(L,"oauth2",[],A)];case 1:return H.sent(),w!=null&&(L["X-Tenant-ID"]=String(w)),L["Content-Type"]="application/json",(0,s.setSearchParams)(v,j),G=E&&E.headers?E.headers:{},U.headers=n(n(n({},L),G),g.headers),U.data=(0,s.serializeDataIfNeeded)(C,U,A),[2,{url:(0,s.toPathString)(v),options:U}]}})})},apiNotificationMarkAsReadAllPut:function(w,C){return C===void 0&&(C={}),r(R,void 0,void 0,function(){var g,m,v,E,U,L,j;return i(this,function(G){switch(G.label){case 0:return(0,s.assertParamExists)("apiNotificationMarkAsReadAllPut","xTenantID",w),g="/api/Notification/MarkAsReadAll",m=ne
7w URL(g,s.DUMMY_BASE_URL),A&&(v=A.baseOptions),E=n(n({method:"PUT"},v),C),U={},L={},[4,(0,s.setOAuthToObject)(U,"oauth2",[],A)];case 1:return G.sent(),w!=null&&(U["X-Tenant-ID"]=String(w)),(0,s.setSearchParams)(m,L),j=v&&v.headers?v.headers:{},E.headers=n(n(n({},U),j),C.headers),[2,{url:(0,s.toPathString)(m),options:E}]}})})},apiNotificationNotificationIdMarkAsReadPut:function(w,C,g){return g===void 0&&(g={}),r(R,void 0,void 0,function(){var m,v,E,U,L,j,G;return i(this,function(H){switch(H.label){case 0:return(0,s.assertParamExists)("apiNotificationNotificationIdMarkAsReadPut","notificationId",w),(0,s.assertParamExists)("apiNotificationNotificationIdMarkAsReadPut","xTenantID",C),m="/api/Notification/{notificationId}/MarkAsRead".replace("{".concat("notificationId","}"),encodeURIComponent(String(w))),v=new URL(m,s.DUMMY_BASE_URL),A&&(E=A.baseOptions),U=n(n({method:"PUT"},E),g),L={},j={},[4,(0,s.setOAuthToObject)(L,"oauth2",[],A)];case 1:return H.sent(),C!=null&&(L["X-Tenant-ID"]=String(C)),(0,s.setSearchParams)(v,j),G=E&&E.headers?E.headers:{},U.headers=n(n(n({},L),G),g.headers),[2,{url:(0,s.toPathString)(v),options:U}]}})})},apiNotificationNotificationIdMarkAsUnreadPut:function(w,C,g){return g===void 0&&(g={}),r(R,void 0,void 0,function(){var m,v,E,U,L,j,G;return i(this,function(H){switch(H.label){case 0:return(0,s.assertParamExists)("apiNotificationNotificationIdMarkAsUnreadPut","notificationId",w),(0,s.assertParamExists)("apiNotificationNotificationIdMarkAsUnreadPut","xTenantID",C),m="/api/Notification/{notificationId}/MarkAsUnread".replace("{".concat("notificationId","}"),encodeURIComponent(String(w))),v=new URL(m,s.DUMMY_BASE_URL),A&&(E=A.baseOptions),U=n(n({method:"PUT"},E),g),L={},j={},[4,(0,s.setOAuthToObject)(L,"oauth2",[],A)];
7case 1:return H.sent(),C!=null&&(L["X-Tenant-ID"]=String(C)),(0,s.setSearchParams)(v,j),G=E&&E.headers?E.headers:{},U.headers=n(n(n({},L),G),g.headers),[2,{url:(0,s.toPathString)(v),options:U}]}})})},apiNotificationSearchPost:function(w,C,g){return g===void 0&&(g={}),r(R,void 0,void 0,function(){var m,v,E,U,L,j,G;return i(this,function(H){switch(H.label){case 0:return(0,s.assertParamExists)("apiNotificationSearchPost","xTenantID",w),m="/api/Notification/Search",v=new URL(m,s.DUMMY_BASE_URL),A&&(E=A.baseOptions),U=n(n({method:"POST"},E),g),L={},j={},[4,(0,s.setOAuthToObject)(L,"oauth2",[],A)];case 1:return H.sent(),w!=null&&(L["X-Tenant-ID"]=String(w)),L["Content-Type"]="application/json",(0,s.setSearchParams)(v,j),G=E&&E.headers?E.headers:{},U.headers=n(n(n({},L),G),g.headers),U.data=(0,s.serializeDataIfNeeded)(C,U,A),[2,{url:(0,s.toPathString)(v),options:U}]}})})},apiNotificationSubscriptionPost:function(w,C,g){return g===void 0&&(g={}),r(R,void 0,void 0,function(){var m,v,E,U,L,j,G;return i(this,function(H){switch(H.label){case 0:return(0,s.assertParamExists)("apiNotificationSubscriptionPost","xTenantID",w),m="/api/Notification/Subscription",v=new URL(m,s.DUMMY_BASE_URL),A&&(E=A.baseOptions),U=n(n({method:"POST"},E),g),L={},j={},[4,(0,s.setOAuthToObject)(L,"oauth2",[],A)];case 1:return H.sent(),w!=null&&(L["X-Tenant-ID"]=String(w)),L["Content-Type"]="application/json",(0,s.setSearchParams)(v,j),G=E&&E.headers?E.headers:{},U.headers=n(n(n({},L),G),g.headers),U.data=(0,s.serializeDataIfNeeded)(C,U,A),[2,{url:(0,s.toPathString)(v),options:U}]}})})},apiNotificationUnreadGet:function(w,C,g,m,v){return v===void 0&&(v={}),r(R,void 0,void 0,function(){var E,U,L,j,G,H,lt;return i(this,function(Jt){switch(Jt.label){case 0:return(0,s.assertParamExists)("apiNotificationUnreadGet","xTenantID",w),E="/api/Notification/Unread",U=new URL(E,s.DUMMY_BASE_URL),A&&(L=A.baseOptions),j=n(n({method:"GET"},L),v),G={},H={},[4,(0,s.setOAuthToObject)(G,"oauth2",[],A)];case 1:return Jt.sent(),C!==void 0&&(H.PageSize=C),g!==void 0&&(H.PageNumber=g),m!==void 0&&(H.Search=m),w!=null&&(G["X-Tenant-ID"]=String(w)),(0,s.setSearchParams)(U,H),lt=L&&L.headers?L.headers:{},j.headers=n(n(n({},G),lt),v.headers),[2,{url:(0,s.toPathString)(U),options:j}]}})})}}};t.NotificationApiAxiosParamCreator=D;var F=function(A){var R=(0,t.NotificationApiAxiosParamCreator)(A);return{apiNotificationDirectPost:function(w,C,g){return r(this,void 0,void 0,function(){var m;return i(this,function(v){switch(v.label){case 0:return[4,R.apiNotificationDirectPost(w,C,g)];case 1:return m=v.sent(),[2,(0,s.createRequestFunction)(m,o.default,a.BASE_PATH,A)]}})})},apiNotificationMarkAsReadAllPut:function(w,C){return r(this,void 0,void 0,function(){var g;return i(this,function(m){switch(m.label){case 0:return[4,R.apiNotificationMarkAsReadAllPut(w,C)];case 1:return g=m.sent(),[2,(0,s.createRequestFunction)(g,o.default,a.BASE_PATH,A)]}})})},apiNotificationNotificationIdMarkAsReadPut:function(w,C,g){return r(this,void 0,void 0,function(){var m;return i(this,function(v){switch(v.label){case 0:return[4,R.apiNotificationNotificationIdMarkAsReadPut(w,C,g)];case 1:return m=v.sent(),[2,(0,s.createRequestFunction)(m,o.default,a.BASE_PATH,A)]}})})},apiNotificationNotificationIdMarkAsUnreadPut:function(w,C,g){return r(this,void 0,void 0,function(){var m;return i(this,function(v){switch(v.label){case 0:return[4,R.apiNotificationNotificationIdMarkAsUnreadPut(w,C,g)];case 1:return m=v.sent(),[2,(0,s.createRequestFunction)(m,o.default,a.BASE_PATH,A)]}})})},apiNotificationSearchPost:function(w,C,g){return r(this,void 0,void 0,function(){var m;return i(this,function(v){switch(v.label){case 0:return[4,R.apiNotificationSearchPost(w,C,g)];case 1:return m=v.sent(),[2,(0,s.createRequestFunction)(m,o.default,a.BASE_PATH,A)]}})})},apiNotificationSubscriptionPost:function(w,C,g){return r(this,void 0,void 0,function(){var m;return i(this,function(v){switch(v.label){case 0:return[4,R.apiNotificationSubscriptionPost(w,C,g)];case 1:return m=v.sent(),[2,(0,s.createRequestFunction)(m,o.default,a.BASE_PATH,A)]}})})},apiNotificationUnreadGet:function(w,C,g,m,v){return r(this,void 0,void 0,function(){var E;return i(this,function(U){switch(U.label){case 0:return[4,R.apiNotificationUnreadGet(w,C,g,m,v)];case 1:return E=U.sent(),[2,(0,s.createRequestFunction)(E,o.default,a.BASE_PATH,A)]}})})}}};t.NotificationApiFp=F;var X=function(A,R,w){var C=(0,t.NotificationApiFp)(A);return{apiNotificationDirectPost:function(g,m,v){return C.apiNotificationDirectPost(g,m,v).then(function(E){return E(w,R)})},apiNotificationMarkAsReadAllPut:function(g,m){return C.apiNotificationMarkAsReadAllPut(g,m).then(function(v){return v(w,R)})},apiNotificationNotificationIdMarkAsReadPut:function(g,m,v){return C.apiNotificationNotificationIdMarkAsReadPut(g,m,v).then(function(E){return E(w,R)})},apiNotificationNotificationIdMarkAsUnreadPut:function(g,m,v){return C.apiNotificationNotificationIdMarkAsUnreadPut(g,m,v).then(function(E){return E(w,R)})},apiNotificationSearchPost:function(g,m,v){return C.apiNotificationSearchPost(g,m,v).then(function(E){return E(w,R)})},apiNotificationSubscriptionPost:function(g,m,v){return C.apiNotificationSubscriptionPost(g,m,v).then(function(E){return E(w,R)})},apiNotificationUnreadGet:function(g,m,v,E,U){return C.apiNotificationUnreadGet(g,m,v,E,U).then(function(L){return L(w,R)})}}};t.NotificationApiFactory=X;var V=(function(A){e(R,A);function R(){return A!==null&&A.apply(this,arguments)||this}return R.prototype.apiNotificationDirectPost=function(w,C,g){var m=this;return(0,t.NotificationApiFp)(this.configuration).apiNotificationDirectPost(w,C,g).then(function(v){return v(m.axios,m.basePath)})},R.prototype.apiNotificationMarkAsReadAllPut=function(w,C){var g=this;return(0,t.NotificationApiFp)(this.configuration).apiNotificationMarkAsReadAllPut(w,C).then(function(m){return m(g.axios,g.basePath)})},R.prototype.apiNotificationNotificationIdMarkAsReadPut=function(w,C,g){var m=this;return(0,t.NotificationApiFp)(this.configuration).apiNotificationNotificationIdMarkAsReadPut(w,C,g).then(function(v){return v(m.axios,m.basePath)})},R.prototype.apiNotificationNotificationIdMarkAsUnreadPut=function(w,C,g){var m=this;return(0,t.NotificationApiFp)(this.configuration).apiNotificationNotificationIdMarkAsUnreadPut(w,C,g).then(function(v){return v(m.axios,m.basePath)})},R.prototype.apiNotificationSearchPost=function(w,C,g){var m=this;return(0,t.NotificationApiFp)(this.configuration).apiNotificationSearchPost(w,C,g).then(function(v){return v(m.axios,m.basePath)})},R.prototype.apiNotificationSubscriptionPost=function(w,C,g){var m=this;return(0,t.NotificationApiFp)(this.configuration).apiNotificationSubscriptionPost(w,C,g).then(function(v){return v(m.axios,m.basePath)})},R.prototype.apiNotificationUnreadGet=function(w,C,g,m,v){var E=this;return(0,t.NotificationApiFp)(this.configuration).apiNotificationUnreadGet(w,C,g,m,v).then(function(U){return U(E.axios,E.basePath)})},R})(a.BaseAPI);t.NotificationApi=V;var K=function(A){var R=this;return{apiSignalRAuthenticateGet:function(w,C){return C===void 0&&(C={}),r(R,void 0,void 0,function(){var g,m,v,E,U,L,j;return i(this,function(G){switch(G.label){case 0:return(0,s.assertParamExists)("apiSignalRAuthenticateGet","xTenantID",w),g="/api/SignalR/Authenticate",m=ne
7w URL(g,s.DUMMY_BASE_URL),A&&(v=A.baseOptions),E=n(n({method:"GET"},v),C),U={},L={},[4,(0,s.setOAuthToObject)(U,"oauth2",[],A)];case 1:return G.sent(),w!=null&&(U["X-Tenant-ID"]=String(w)),(0,s.setSearchParams)(m,L),j=v&&v.headers?v.headers:{},E.headers=n(n(n({},U),j),C.headers),[2,{url:(0,s.toPathString)(m),options:E}]}})})},apiSignalRGetConnectionsGet:function(w,C,g){return g===void 0&&(g={}),r(R,void 0,void 0,function(){var m,v,E,U,L,j,G;return i(this,function(H){switch(H.label){case 0:return(0,s.assertParamExists)("apiSignalRGetConnectionsGet","xTenantID",w),m="/api/SignalR/GetConnections",v=new URL(m,s.DUMMY_BASE_URL),A&&(E=A.baseOptions),U=n(n({method:"GET"},E),g),L={},j={},[4,(0,s.setOAuthToObject)(L,"oauth2",[],A)];case 1:return H.sent(),C!==void 0&&(j.token=C),w!=null&&(L["X-Tenant-ID"]=String(w)),(0,s.setSearchParams)(v,j),G=E&&E.headers?E.headers:{},U.headers=n(n(n({},L),G),g.headers),[2,{url:(0,s.toPathString)(v),options:U}]}})})},apiSignalRValidateGet:function(w,C,g){return g===void 0&&(g={}),r(R,void 0,void 0,function(){var m,v,E,U,L,j,G;return i(this,function(H){switch(H.label){case 0:return(0,s.assertParamExists)("apiSignalRValidateGet","xTenantID",w),m="/api/SignalR/Validate",v=new URL(m,s.DUMMY_BASE_URL),A&&(E=A.baseOptions),U=n(n({method:"GET"},E),g),L={},j={},[4,(0,s.setOAuthToObject)(L,"oauth2",[],A)];
7case 1:return H.sent(),C!==void 0&&(j.token=C),w!=null&&(L["X-Tenant-ID"]=String(w)),(0,s.setSearchParams)(v,j),G=E&&E.headers?E.headers:{},U.headers=n(n(n({},L),G),g.headers),[2,{url:(0,s.toPathString)(v),options:U}]}})})}}};t.SignalRApiAxiosParamCreator=K;var rt=function(A){var R=(0,t.SignalRApiAxiosParamCreator)(A);return{apiSignalRAuthenticateGet:function(w,C){return r(this,void 0,void 0,function(){var g;return i(this,function(m){switch(m.label){case 0:return[4,R.apiSignalRAuthenticateGet(w,C)];case 1:return g=m.sent(),[2,(0,s.createRequestFunction)(g,o.default,a.BASE_PATH,A)]}})})},apiSignalRGetConnectionsGet:function(w,C,g){return r(this,void 0,void 0,function(){var m;return i(this,function(v){switch(v.label){case 0:return[4,R.apiSignalRGetConnectionsGet(w,C,g)];case 1:return m=v.sent(),[2,(0,s.createRequestFunction)(m,o.default,a.BASE_PATH,A)]}})})},apiSignalRValidateGet:function(w,C,g){return r(this,void 0,void 0,function(){var m;return i(this,function(v){switch(v.label){case 0:return[4,R.apiSignalRValidateGet(w,C,g)];case 1:return m=v.sent(),[2,(0,s.createRequestFunction)(m,o.default,a.BASE_PATH,A)]}})})}}};t.SignalRApiFp=rt;var et=function(A,R,w){var C=(0,t.SignalRApiFp)(A);return{apiSignalRAuthenticateGet:function(g,m){return C.apiSignalRAuthenticateGet(g,m).then(function(v){return v(w,R)})},apiSignalRGetConnectionsGet:function(g,m,v){return C.apiSignalRGetConnectionsGet(g,m,v).then(function(E){return E(w,R)})},apiSignalRValidateGet:function(g,m,v){return C.apiSignalRValidateGet(g,m,v).then(function(E){return E(w,R)})}}};t.SignalRApiFactory=et;var it=(function(A){e(R,A);function R(){return A!==null&&A.apply(this,arguments)||this}return R.prototype.apiSignalRAuthenticateGet=function(w,C){var g=this;return(0,t.SignalRApiFp)(this.configuration).apiSignalRAuthenticateGet(w,C).then(function(m){return m(g.axios,g.basePath)})},R.prototype.apiSignalRGetConnectionsGet=function(w,C,g){var m=this;return(0,t.SignalRApiFp)(this.configuration).apiSignalRGetConnectionsGet(w,C,g).then(function(v){return v(m.axios,m.basePath)})},R.prototype.apiSignalRValidateGet=function(w,C,g){var m=this;return(0,t.SignalRApiFp)(this.configuration).apiSignalRValidateGet(w,C,g).then(function(v){return v(m.axios,m.basePath)})},R})(a.BaseAPI);t.SignalRApi=it;var st=function(A){var R=this;return{apiTasklistUnassignedTaskGet:function(w,C,g,m,v){return v===void 0&&(v={}),r(R,void 0,void 0,function(){var E,U,L,j,G,H,lt;return i(this,function(Jt){switch(Jt.label){case 0:return(0,s.assertParamExists)("apiTasklistUnassignedTaskGet","xTenantID",w),E="/api/Tasklist/UnassignedTask",U=new URL(E,s.DUMMY_BASE_URL),A&&(L=A.baseOptions),j=n(n({method:"GET"},L),v),G={},H={},[4,(0,s.setOAuthToObject)(G,"oauth2",[],A)];case 1:return Jt.sent(),C!==void 0&&(H.PageSize=C),g!==void 0&&(H.PageNumber=g),m!==void 0&&(H.Search=m),w!=null&&(G["X-Tenant-ID"]=String(w)),(0,s.setSearchParams)(U,H),lt=L&&L.headers?L.headers:{},j.headers=n(n(n({},G),lt),v.headers),[2,{url:(0,s.toPathString)(U),options:j}]}})})},apiTasklistUserTaskGet:function(w,C,g,m,v){return v===void 0&&(v={}),r(R,void 0,void 0,function(){var E,U,L,j,G,H,lt;return i(this,function(Jt){switch(Jt.label){case 0:return(0,s.assertParamExists)("apiTasklistUserTaskGet","xTenantID",w),E="/api/Tasklist/UserTask",U=new URL(E,s.DUMMY_BASE_URL),A&&(L=A.baseOptions),j=n(n({method:"GET"},L),v),G={},H={},[4,(0,s.setOAuthToObject)(G,"oauth2",[],A)];case 1:return Jt.sent(),C!==void 0&&(H.PageSize=C),g!==void 0&&(H.PageNumber=g),m!==void 0&&(H.Search=m),w!=null&&(G["X-Tenant-ID"]=String(w)),(0,s.setSearchParams)(U,H),lt=L&&L.headers?L.headers:{},j.headers=n(n(n({},G),lt),v.headers),[2,{url:(0,s.toPathString)(U),options:j}]}})})}}};t.TasklistApiAxiosParamCreator=st;var Ct=function(A){var R=(0,t.TasklistApiAxiosParamCreator)(A);return{apiTasklistUnassignedTaskGet:function(w,C,g,m,v){return r(this,void 0,void 0,function(){var E;return i(this,function(U){switch(U.label){case 0:return[4,R.apiTasklistUnassignedTaskGet(w,C,g,m,v)];case 1:return E=U.sent(),[2,(0,s.createRequestFunction)(E,o.default,a.BASE_PATH,A)]}})})},apiTasklistUserTaskGet:function(w,C,g,m,v){return r(this,void 0,void 0,function(){var E;return i(this,function(U){switch(U.label){case 0:return[4,R.apiTasklistUserTaskGet(w,C,g,m,v)];case 1:return E=U.sent(),[2,(0,s.createRequestFunction)(E,o.default,a.BASE_PATH,A)]}})})}}};t.TasklistApiFp=Ct;var ct=function(A,R,w){var C=(0,t.TasklistApiFp)(A);return{apiTasklistUnassignedTaskGet:function(g,m,v,E,U){return C.apiTasklistUnassignedTaskGet(g,m,v,E,U).then(function(L){return L(w,R)})},apiTasklistUserTaskGet:function(g,m,v,E,U){return C.apiTasklistUserTaskGet(g,m,v,E,U).then(function(L){return L(w,R)})}}};t.TasklistApiFactory=ct;var Xt=(function(A){e(R,A);function R(){return A!==null&&A.apply(this,arguments)||this}return R.prototype.apiTasklistUnassignedTaskGet=function(w,C,g,m,v){var E=this;return(0,t.TasklistApiFp)(this.configuration).apiTasklistUnassignedTaskGet(w,C,g,m,v).then(function(U){return U(E.axios,E.basePath)})},R.prototype.apiTasklistUserTaskGet=function(w,C,g,m,v){var E=this;return(0,t.TasklistApiFp)(this.configuration).apiTasklistUserTaskGet(w,C,g,m,v).then(function(U){return U(E.axios,E.basePath)})},R})(a.BaseAPI);t.TasklistApi=Xt})(Jc);var po={};Object.defineProperty(po,"__esModule",{value:!0});po.Configuration=void 0;var om=(function(){function t(e){e===void 0&&(e={}),this.apiKey=e.apiKey,this.username=e.username,this.password=e.password,this.accessToken=e.accessToken,this.basePath=e.basePath,this.baseOptions=e.baseOptions,this.formDataCtor=e.formDataCtor}return t.prototype.isJsonMime=function(e){var n=new RegExp("^(application/json|[^;/ ]+/[^;/ ]+[+]json)[ ]*(;.*)?$","i");return e!==null&&(n.test(e)||e.toLowerCase()==="application/json-patch+json")},t})();po.Configuration=om;(function(t){var e=Ft&&Ft.__createBinding||(Object.create?function(r,i,o,s){s===void 0&&(s=o);var a=Object.getOwnPropertyDescriptor(i,o);(!a||("get"in a?!i.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return i[o]}}),Object.defineProperty(r,s,a)}:function(r,i,o,s){s===void 0&&(s=o),r[s]=i[o]}),n=Ft&&Ft.__exportStar||function(r,i){for(var o in r)o!=="default"&&!Object.prototype.hasOwnProperty.call(i,o)&&e(i,r,o)};
vendor: 13,850 bytes, line 7
7Object.defineProperty(t,"__esModule",{value:!0}),n(Jc,t),n(po,t)})(We);function en(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mf(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var Ee={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},br={duration:.5,overwrite:!1,delay:0},wa,oe,At,Ye=1e8,ie=1/Ye,Cs=Math.PI*2,sm=Cs/4,am=0,gf=Math.sqrt,lm=Math.cos,um=Math.sin,Yt=function(t){return typeof t=="string"},Lt=function(t){return typeof t=="function"},fn=function(t){return typeof t=="number"},Ca=function(t){return typeof t>"u"},Ke=function(t){return typeof t=="object"},he=function(t){return t!==!1},Sa=function(){return typeof window<"u"},gi=function(t){return Lt(t)||Yt(t)},_f=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},se=Array.isArray,Ss=/(?:-?\.?\d|\.)+/gi,vf=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,ar=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Ho=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,bf=/[+-]=-?[.\d]+/,yf=/[^,'"\[\]\s]+/gi,cm=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,xt,qe,ks,ka,Ae={},$i={},wf,Cf=function(t){return($i=Vn(t,Ae))&&_e},Ta=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},Kr=function(t,e){return!e&&console.warn(t)},Sf=function(t,e){return t&&(Ae[t]=e)&&$i&&($i[t]=e)||Ae},Zr=function(){return 0},fm={suppressEvents:!0,isStart:!0,kill:!1},Oi={suppressEvents:!0,kill:!1},hm={suppressEvents:!0},Ea={},wn=[],Ts={},kf,ye={},Wo={},eu=30,Ii=[],Aa="",Pa=function(t){var e=t[0],n,r;if(Ke(e)||Lt(e)||(t=[t]),!(n=(e._gsap||{}).harness)){for(r=Ii.length;r--&&!Ii[r].targetTest(e););n=Ii[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new Yf(t[r],n)))||t.splice(r,1);return t},Fn=function(t){return t._gsap||Pa(Oe(t))[0]._gsap},Tf=function(t,e,n){return(n=t[e])&&Lt(n)?t[e]():Ca(n)&&t.getAttribute&&t.getAttribute(e)||n},de=function(t,e){return(t=t.split(",")).forEach(e)||t},Ut=function(t){return Math.round(t*1e5)/1e5||0},Vt=function(t){return Math.round(t*1e7)/1e7||0},hr=function(t,e){var n=e.charAt(0),r=parseFloat(e.substr(2));return t=parseFloat(t),n==="+"?t+r:n==="-"?t-r:n==="*"?t*r:t/r},dm=function(t,e){for(var n=e.length,r=0;t.indexOf(e[r])<0&&++r<n;);return r<n},zi=function(){var t=wn.length,e=wn.slice(0),n,r;for(Ts={},wn.length=0,n=0;n<t;n++)r=e[n],r&&r._lazy&&(r.render(r._lazy[0],r._lazy[1],!0)._lazy=0)},Ef=function(t,e,n,r){wn.length&&!oe&&zi(),t.render(e,n,oe&&e<0&&(t._initted||t._startAt)),wn.length&&!oe&&zi()},Af=function(t){var e=parseFloat(t);return(e||e===0)&&(t+"").match(yf).length<2?e:Yt(t)?t.trim():t},Pf=function(t){return t},Ie=function(t,e){for(var n in e)n in t||(t[n]=e[n]);return t},pm=function(t){return function(e,n){for(var r in n)r in e||r==="duration"&&t||r==="ease"||(e[r]=n[r])}},Vn=function(t,e){for(var n in e)t[n]=e[n];return t},nu=function t(e,n){for(var r in n)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=Ke(n[r])?t(e[r]||(e[r]={}),n[r]):n[r]);return e},qi=function(t,e){var n={},r;for(r in t)r in e||(n[r]=t[r]);return n},jr=function(t){var e=t.parent||xt,n=t.keyframes?pm(se(t.keyframes)):Ie;if(he(t.inherit))for(;e;)n(t,e.vars.defaults),e=e.parent||e._dp;return t},mm=function(t,e){for(var n=t.length,r=n===e.length;r&&n--&&t[n]===e[n];);return n<0},xf=function(t,e,n,r,i){var o=t[r],s;if(i)for(s=e[i];o&&o[i]>s;)o=o._prev;return o?(e._next=o._next,o._next=e):(e._next=t[n],t[n]=e),e._next?e._next._prev=e:t[r]=e,e._prev=o,e.parent=e._dp=t,e},mo=function(t,e,n,r){n===void 0&&(n="_first"),r===void 0&&(r="_last");var i=e._prev,o=e._next;i?i._next=o:t[n]===e&&(t[n]=o),o?o._prev=i:t[r]===e&&(t[r]=i),e._next=e._prev=e.parent=null},Sn=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},jn=function(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var n=t;n;)n._dirty=1,n=n.parent;return t},gm=function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t},Es=function(t,e,n,r){return t._startAt&&(oe?t._startAt.revert(Oi):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,r))},_m=function t(e){return!e||e._ts&&t(e.parent)},ru=function(t){return t._repeat?yr(t._tTime,t=t.duration()+t._rDelay)*t:0},yr=function(t,e){var n=Math.floor(t/=e);return t&&n===t?n-1:n},Hi=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},go=function(t){return t._end=Vt(t._start+(t._tDur/Math.abs(t._ts||t._rts||ie)||0))},_o=function(t,e){var n=t._dp;return n&&n.smoothChildTiming&&t._ts&&(t._start=Vt(n._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),go(t),n._dirty||jn(n,t)),t},Of=function(t,e){var n;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(n=Hi(t.rawTime(),e),(!e._dur||pi(0,e.totalDuration(),n)-e._tTime>ie)&&e.render(n,!0)),jn(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(n=t;n._dp;)n.rawTime()>=0&&n.totalTime(n._tTime),n=n._dp;t._zTime=-1e-8}},He=function(t,e,n,r){return e.parent&&Sn(e),e._start=Vt((fn(n)?n:n||t!==xt?xe(t,n,e):t._time)+e._delay),e._end=Vt(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),xf(t,e,"_first","_last",t._sort?"_start":0),As(e)||(t._recent=e),r||Of(t,e),t._ts<0&&_o(t,t._tTime),t},If=function(t,e){return(Ae.ScrollTrigger||Ta("scrollTrigger",e))&&Ae.ScrollTrigger.create(e,t)},Rf=function(t,e,n,r,i){if(Oa(t,e,i),!t._initted)return 1;if(!n&&t._pt&&!oe&&(t._dur&&t.vars.lazy!==!1||!t._dur&&t.vars.lazy)&&kf!==we.frame)return wn.push(t),t._lazy=[i,r],1},vm=function t(e){var n=e.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||t(n))},As=function(t){var e=t.data;return e==="isFromStart"||e==="isStart"},bm=function(t,e,n,r){var i=t.ratio,o=e<0||!e&&(!t._start&&vm(t)&&!(!t._initted&&As(t))||(t._ts<0||t._dp._ts<0)&&!As(t))?0:1,s=t._rDelay,a=0,l,u,c;if(s&&t._repeat&&(a=pi(0,t._tDur,e),u=yr(a,s),t._yoyo&&u&1&&(o=1-o),u!==yr(t._tTime,s)&&(i=1-o,t.vars.repeatRefresh&&t._initted&&t.invalidate())),o!==i||oe||r||t._zTime===ie||!e&&t._zTime){if(!t._initted&&Rf(t,e,r,n,a))return;for(c=t._zTime,t._zTime=e||(n?ie:0),n||(n=e&&!c),t.ratio=o,t._from&&(o=1-o),t._time=0,t._tTime=a,l=t._pt;l;)l.r(o,l.d),l=l._next;e<0&&Es(t,e,n,!0),t._onUpdate&&!n&&Se(t,"onUpdate"),a&&t._repeat&&!n&&t.parent&&Se(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===o&&(o&&Sn(t,1),!n&&!oe&&(Se(t,o?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)},ym=function(t,e,n){var r;if(n>e)for(r=t._first;r&&r._start<=n;){if(r.data==="isPause"&&r._start>e)return r;r=r._next}else for(r=t._last;r&&r._start>=n;){if(r.data==="isPause"&&r._start<e)return r;r=r._prev}},wr=function(t,e,n,r){var i=t._repeat,o=Vt(e)||0,s=t._tTime/t._tDur;return s&&!r&&(t._time*=o/t._dur),t._dur=o,t._tDur=i?i<0?1e10:Vt(o*(i+1)+t._rDelay*i):o,s>0&&!r&&_o(t,t._tTime=t._tDur*s),t.parent&&go(t),n||jn(t.parent,t),t},iu=function(t){return t instanceof le?jn(t):wr(t,t._dur)},wm={_start:0,endTime:Zr,totalDuration:Zr},xe=function t(e,n,r){var i=e.labels,o=e._recent||wm,s=e.duration()>=Ye?o.endTime(!1):e._dur,a,l,u;return Yt(n)&&(isNaN(n)||n in i)?(l=n.charAt(0),u=n.substr(-1)==="%",a=n.indexOf("="),l==="<"||l===">"?(a>=0&&(n=n.replace(/=/,"")),(l==="<"?o._start:o.endTime(o._repeat>=0))+(parseFloat(n.substr(1))||0)*(u?(a<0?o:r).totalDuration()/100:1)):a<0?(n in i||(i[n]=s),i[n]):(l=parseFloat(n.charAt(a-1)+n.substr(a+1)),u&&r&&(l=l/100*(se(r)?r[0]:r).totalDuration()),a>1?t(e,n.substr(0,a-1),r)+l:s+l)):n==null?s:+n},$r=function(t,e,n){var r=fn(e[1]),i=(r?2:1)+(t<2?0:1),o=e[i],s,a;if(r&&(o.duration=e[1]),o.parent=n,t){for(s=o,a=n;a&&!("immediateRender"in s);)s=a.vars.defaults||{},a=he(a.vars.inherit)&&a.parent;o.immediateRender=he(s.immediateRender),t<2?o.runBackwards=1:o.startAt=e[i-1]}return new jt(e[0],o,e[i+1])},En=function(t,e){return t||t===0?e(t):e},pi=function(t,e,n){return n<t?t:n>e?e:n},re=function(t,e){return!Yt(t)||!(e=cm.exec(t))?"":e[1]},Cm=function(t,e,n){return En(n,function(r){return pi(t,e,r)})},Ps=[].slice,Mf=function(t,e){return t&&Ke(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&Ke(t[0]))&&!t.nodeType&&t!==qe},Sm=function(t,e,n){return n===void 0&&(n=[]),t.forEach(function(r){var i;return Yt(r)&&!e||Mf(r,1)?(i=n).push.apply(i,Oe(r)):n.push(r)})||n},Oe=function(t,e,n){return At&&!e&&At.selector?At.selector(t):Yt(t)&&!n&&(ks||!Cr())?Ps.call((e||ka).querySelectorAll(t),0):se(t)?Sm(t,n):Mf(t)?Ps.call(t,0):t?[t]:[]},xs=function(t){return t=Oe(t)[0]||Kr("Invalid scope")||{},function(e){var n=t.current||t.nativeElement||t;return Oe(e,n.querySelectorAll?n:n===t?Kr("Invalid scope")||ka.createElement("div"):t)}},Lf=function(t){return t.sort(function(){return .5-Math.random()})},Df=function(t){if(Lt(t))return t;var e=Ke(t)?t:{each:t},n=$n(e.ease),r=e.from||0,i=parseFloat(e.base)||0,o={},s=r>0&&r<1,a=isNaN(r)||s,l=e.axis,u=r,c=r;return Yt(r)?u=c={center:.5,edges:.5,end:1}[r]||0:!s&&a&&(u=r[0],c=r[1]),function(f,p,d){var h=(d||e).length,_=o[h],T,b,k,S,y,x,M,O,D;if(!_){if(D=e.grid==="auto"?0:(e.grid||[1,Ye])[1],!D){for(M=-1e8;M<(M=d[D++].getBoundingClientRect().left)&&D<h;);D<h&&D--}for(_=o[h]=[],T=a?Math.min(D,h)*u-.5:r%D,b=D===Ye?0:a?h*c/D-.5:r/D|0,M=0,O=Ye,x=0;x<h;x++)k=x%D-T,S=b-(x/D|0),_[x]=y=l?Math.abs(l==="y"?S:k):gf(k*k+S*S),y>M&&(M=y),y<O&&(O=y);r==="random"&&Lf(_),_.max=M-O,_.min=O,_.v=h=(parseFloat(e.amount)||parseFloat(e.each)*(D>h?h-1:l?l==="y"?h/D:D:Math.max(D,h/D))||0)*(r==="edges"?-1:1),_.b=h<0?i-h:i,_.u=re(e.amount||e.each)||0,n=n&&h<0?Wf(n):n}return h=(_[f]-_.min)/_.max||0,Vt(_.b+(n?n(h):h)*_.v)+_.u}},Os=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(n){var r=Vt(Math.round(parseFloat(n)/t)*t*e);return(r-r%1)/e+(fn(n)?0:re(n))}},Uf=function(t,e){var n=se(t),r,i;return!n&&Ke(t)&&(r=n=t.radius||Ye,t.values?(t=Oe(t.values),(i=!fn(t[0]))&&(r*=r)):t=Os(t.increment)),En(e,n?Lt(t)?function(o){return i=t(o),Math.abs(i-o)<=r?i:o}:function(o){for(var s=parseFloat(i?o.x:o),a=parseFloat(i?o.y:0),l=Ye,u=0,c=t.length,f,p;c--;)i?(f=t[c].x-s,p=t[c].y-a,f=f*f+p*p):f=Math.abs(t[c]-s),f<l&&(l=f,u=c);return u=!r||l<=r?t[u]:o,i||u===o||fn(o)?u:u+re(o)}:Os(t))},Nf=function(t,e,n,r){return En(se(t)?!e:n===!0?!!(n=0):!r,function(){return se(t)?t[~~(Math.random()*t.length)]:(n=n||1e-5)&&(r=n<1?Math.pow(10,(n+"").length-2):1)&&Math.floor(Math.round((t-n/2+Math.random()*(e-t+n*.99))/n)*n*r)/r})},km=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(r){return e.reduce(function(i,o){return o(i)},r)}},Tm=function(t,e){return function(n){return t(parseFloat(n))+(e||re(n))}},Em=function(t,e,n){return Ff(t,e,0,1,n)},Bf=function(t,e,n){return En(n,function(r){return t[~~e(r)]})},Am=function t(e,n,r){var i=n-e;return se(e)?Bf(e,t(0,e.length),n):En(r,function(o){return(i+(o-e)%i)%i+e})},Pm=function t(e,n,r){var i=n-e,o=i*2;return se(e)?Bf(e,t(0,e.length-1),n):En(r,function(s){return s=(o+(s-e)%o)%o||0,e+(s>i?o-s:s)})},Qr=function(t){for(var e=0,n="",r,i,o,s;~(r=t.indexOf("random(",e));)o=t.indexOf(")",r),s=t.charAt(r+7)==="[",i=t.substr(r+7,o-r-7).match(s?yf:Ss),n+=t.substr(e,r-e)+Nf(s?i:+i[0],s?0:+i[1],+i[2]||1e-5),e=o+1;return n+t.substr(e,t.length-e)},Ff=function(t,e,n,r,i){var o=e-t,s=r-n;return En(i,function(a){return n+((a-t)/o*s||0)})},xm=function t(e,n,r,i){var o=isNaN(e+n)?0:function(d){return(1-d)*e+d*n};if(!o){var s=Yt(e),a={},l,u,c,f,p;if(r===!0&&(i=1)&&(r=null),s)e={p:e},n={p:n};else if(se(e)&&!se(n)){for(c=[],f=e.length,p=f-2,u=1;u<f;u++)c.push(t(e[u-1],e[u]));f--,o=function(d){d*=f;var h=Math.min(p,~~d);return c[h](d-h)},r=n}else i||(e=Vn(se(e)?[]:{},e));if(!c){for(l in n)xa.call(a,e,l,"get",n[l]);o=function(d){return Ma(d,a)||(s?e.p:e)}}}return En(r,o)},ou=function(t,e,n){var r=t.labels,i=Ye,o,s,a;for(o in r)s=r[o]-e,s<0==!!n&&s&&i>(s=Math.abs(s))&&(a=o,i=s);return a},Se=function(t,e,n){var r=t.vars,i=r[e],o=At,s=t._ctx,a,l,u;if(i)return a=r[e+"Params"],l=r.callbackScope||t,n&&wn.length&&zi(),s&&(At=s),u=a?i.apply(l,a):i.call(l),At=o,u},Nr=function(t){return Sn(t),t.scrollTrigger&&t.scrollTrigger.kill(!!oe),t.progress()<1&&Se(t,"onInterrupt"),t},lr,jf=[],$f=function(t){if(t)if(t=!t.name&&t.default||t,Sa()||t.headless){var e=t.name,n=Lt(t),r=e&&!n&&t.init?function(){this._props=[]}:t,i={init:Zr,render:Ma,add:xa,kill:Wm,modifier:Hm,rawVars:0},o={targetTest:0,get:0,getSetter:Ra,aliases:{},register:0};if(Cr(),t!==r){if(ye[e])return;Ie(r,Ie(qi(t,i),o)),Vn(r.prototype,Vn(i,qi(t,o))),ye[r.prop=e]=r,t.targetTest&&(Ii.push(r),Ea[e]=1),e=(e==="css"?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}Sf(e,r),t.register&&t.register(_e,r,pe)}else jf.push(t)},wt=255,Br={aqua:[0,wt,wt],lime:[0,wt,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,wt],navy:[0,0,128],white:[wt,wt,wt],olive:[128,128,0],yellow:[wt,wt,0],orange:[wt,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[wt,0,0],pink:[wt,192,203],cyan:[0,wt,wt],transparent:[wt,wt,wt,0]},Go=function(t,e,n){return t+=t<0?1:t>1?-1:0,(t*6<1?e+(n-e)*t*6:t<.5?n:t*3<2?e+(n-e)*(2/3-t)*6:e)*wt+.5|0},zf=function(t,e,n){var r=t?fn(t)?[t>>16,t>>8&wt,t&wt]:0:Br.black,i,o,s,a,l,u,c,f,p,d;if(!r){if(t.substr(-1)===","&&(t=t.substr(0,t.length-1)),Br[t])r=Br[t];else if(t.charAt(0)==="#"){if(t.length<6&&(i=t.charAt(1),o=t.charAt(2),s=t.charAt(3),t="#"+i+i+o+o+s+s+(t.length===5?t.charAt(4)+t.charAt(4):"")),t.length===9)return r=parseInt(t.substr(1,6),16),[r>>16,r>>8&wt,r&wt,parseInt(t.substr(7),16)/255];t=parseInt(t.substr(1),16),r=[t>>16,t>>8&wt,t&wt]}else if(t.substr(0,3)==="hsl"){if(r=d=t.match(Ss),!e)a=+r[0]%360/360,l=+r[1]/100,u=+r[2]/100,o=u<=.5?u*(l+1):u+l-u*l,i=u*2-o,r.length>3&&(r[3]*=1),r[0]=Go(a+1/3,i,o),r[1]=Go(a,i,o),r[2]=Go(a-1/3,i,o);else if(~t.indexOf("="))return r=t.match(vf),n&&r.length<4&&(r[3]=1),r}else r=t.match(Ss)||Br.transparent;r=r.map(Number)}
vendor: 5,140 bytes, line 7
7return e&&!d&&(i=r[0]/wt,o=r[1]/wt,s=r[2]/wt,c=Math.max(i,o,s),f=Math.min(i,o,s),u=(c+f)/2,c===f?a=l=0:(p=c-f,l=u>.5?p/(2-c-f):p/(c+f),a=c===i?(o-s)/p+(o<s?6:0):c===o?(s-i)/p+2:(i-o)/p+4,a*=60),r[0]=~~(a+.5),r[1]=~~(l*100+.5),r[2]=~~(u*100+.5)),n&&r.length<4&&(r[3]=1),r},qf=function(t){var e=[],n=[],r=-1;return t.split(Cn).forEach(function(i){var o=i.match(ar)||[];e.push.apply(e,o),n.push(r+=o.length+1)}),e.c=n,e},su=function(t,e,n){var r="",i=(t+r).match(Cn),o=e?"hsla(":"rgba(",s=0,a,l,u,c;if(!i)return t;if(i=i.map(function(f){return(f=zf(f,e,1))&&o+(e?f[0]+","+f[1]+"%,"+f[2]+"%,"+f[3]:f.join(","))+")"}),n&&(u=qf(t),a=n.c,a.join(r)!==u.c.join(r)))for(l=t.replace(Cn,"1").split(ar),c=l.length-1;s<c;s++)r+=l[s]+(~a.indexOf(s)?i.shift()||o+"0,0,0,0)":(u.length?u:i.length?i:n).shift());if(!l)for(l=t.split(Cn),c=l.length-1;s<c;s++)r+=l[s]+i[s];return r+l[c]},Cn=(function(){var t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in Br)t+="|"+e+"\\b";return new RegExp(t+")","gi")})(),Om=/hsl[a]?\(/,Hf=function(t){var e=t.join(" "),n;if(Cn.lastIndex=0,Cn.test(e))return n=Om.test(e),t[1]=su(t[1],n),t[0]=su(t[0],n,qf(t[1])),!0},ti,we=(function(){var t=Date.now,e=500,n=33,r=t(),i=r,o=1e3/240,s=o,a=[],l,u,c,f,p,d,h=function _(T){var b=t()-i,k=T===!0,S,y,x,M;if((b>e||b<0)&&(r+=b-n),i+=b,x=i-r,S=x-s,(S>0||k)&&(M=++f.frame,p=x-f.time*1e3,f.time=x=x/1e3,s+=S+(S>=o?4:o-S),y=1),k||(l=u(_)),y)for(d=0;d<a.length;d++)a[d](x,p,M,T)};return f={time:0,frame:0,tick:function(){h(!0)},deltaRatio:function(_){return p/(1e3/(_||60))},wake:function(){wf&&(!ks&&Sa()&&(qe=ks=window,ka=qe.document||{},Ae.gsap=_e,(qe.gsapVersions||(qe.gsapVersions=[])).push(_e.version),Cf($i||qe.GreenSockGlobals||!qe.gsap&&qe||{}),jf.forEach($f)),c=typeof requestAnimationFrame<"u"&&requestAnimationFrame,l&&f.sleep(),u=c||function(_){return setTimeout(_,s-f.time*1e3+1|0)},ti=1,h(2))},sleep:function(){(c?cancelAnimationFrame:clearTimeout)(l),ti=0,u=Zr},lagSmoothing:function(_,T){e=_||1/0,n=Math.min(T||33,e)},fps:function(_){o=1e3/(_||240),s=f.time*1e3+o},add:function(_,T,b){var k=T?function(S,y,x,M){_(S,y,x,M),f.remove(k)}:_;return f.remove(_),a[b?"unshift":"push"](k),Cr(),k},remove:function(_,T){~(T=a.indexOf(_))&&a.splice(T,1)&&d>=T&&d--},_listeners:a},f})(),Cr=function(){return!ti&&we.wake()},dt={},Im=/^[\d.\-M][\d.\-,\s]/,Rm=/["']/g,Mm=function(t){for(var e={},n=t.substr(1,t.length-3).split(":"),r=n[0],i=1,o=n.length,s,a,l;i<o;i++)a=n[i],s=i!==o-1?a.lastIndexOf(","):a.length,l=a.substr(0,s),e[r]=isNaN(l)?l.replace(Rm,"").trim():+l,r=a.substr(s+1).trim();return e},Lm=function(t){var e=t.indexOf("(")+1,n=t.indexOf(")"),r=t.indexOf("(",e);return t.substring(e,~r&&r<n?t.indexOf(")",n+1):n)},Dm=function(t){var e=(t+"").split("("),n=dt[e[0]];return n&&e.length>1&&n.config?n.config.apply(null,~t.indexOf("{")?[Mm(e[1])]:Lm(t).split(",").map(Af)):dt._CE&&Im.test(t)?dt._CE("",t):n},Wf=function(t){return function(e){return 1-t(1-e)}},Gf=function t(e,n){for(var r=e._first,i;r;)r instanceof le?t(r,n):r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==n&&(r.timeline?t(r.timeline,n):(i=r._ease,r._ease=r._yEase,r._yEase=i,r._yoyo=n)),r=r._next},$n=function(t,e){return t&&(Lt(t)?t:dt[t]||Dm(t))||e},Qn=function(t,e,n,r){n===void 0&&(n=function(s){return 1-e(1-s)}),r===void 0&&(r=function(s){return s<.5?e(s*2)/2:1-e((1-s)*2)/2});var i={easeIn:e,easeOut:n,easeInOut:r},o;return de(t,function(s){dt[s]=Ae[s]=i,dt[o=s.toLowerCase()]=n;for(var a in i)dt[o+(a==="easeIn"?".in":a==="easeOut"?".out":".inOut")]=dt[s+"."+a]=i[a]}),i},Vf=function(t){return function(e){return e<.5?(1-t(1-e*2))/2:.5+t((e-.5)*2)/2}},Vo=function t(e,n,r){var i=n>=1?n:1,o=(r||(e?.3:.45))/(n<1?n:1),s=o/Cs*(Math.asin(1/i)||0),a=function(u){return u===1?1:i*Math.pow(2,-10*u)*um((u-s)*o)+1},l=e==="out"?a:e==="in"?function(u){return 1-a(1-u)}:Vf(a);return o=Cs/o,l.config=function(u,c){return t(e,u,c)},l},Yo=function t(e,n){n===void 0&&(n=1.70158);var r=function(o){return o?--o*o*((n+1)*o+n)+1:0},i=e==="out"?r:e==="in"?function(o){return 1-r(1-o)}:Vf(r);return i.config=function(o){return t(e,o)},i};de("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var n=e<5?e+1:e;Qn(t+",Power"+(n-1),e?function(r){return Math.pow(r,n)}:function(r){return r},function(r){return 1-Math.pow(1-r,n)},function(r){return r<.5?Math.pow(r*2,n)/2:1-Math.pow((1-r)*2,n)/2})});dt.Linear.easeNone=dt.none=dt.Linear.easeIn;Qn("Elastic",Vo("in"),Vo("out"),Vo());(function(t,e){var n=1/e,r=2*n,i=2.5*n,o=function(s){return s<n?t*s*s:s<r?t*Math.pow(s-1.5/e,2)+.75:s<i?t*(s-=2.25/e)*s+.9375:t*Math.pow(s-2.625/e,2)+.984375};Qn("Bounce",function(s){return 1-o(1-s)},o)})(7.5625,2.75);Qn("Expo",function(t){return t?Math.pow(2,10*(t-1)):0});Qn("Circ",function(t){return-(gf(1-t*t)-1)});Qn("Sine",function(t){return t===1?1:-lm(t*sm)+1});Qn("Back",Yo("in"),Yo("out"),Yo());dt.SteppedEase=dt.steps=Ae.SteppedEase={config:function(t,e){t===void 0&&(t=1);var n=1/t,r=t+(e?0:1),i=e?1:0,o=1-ie;return function(s){return((r*pi(0,o,s)|0)+i)*n}}};br.ease=dt["quad.out"];de("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return Aa+=t+","+t+"Param
7s,"});var Yf=function(t,e){this.id=am++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:Tf,this.set=e?e.getSetter:Ra},ei=(function(){function t(n){this.vars=n,this._delay=+n.delay||0,(this._repeat=n.repeat===1/0?-2:n.repeat||0)&&(this._rDelay=n.repeatDelay||0,this._yoyo=!!n.yoyo||!!n.yoyoEase),this._ts=1,wr(this,+n.duration,1,1),this.data=n.data,At&&(this._ctx=At,At.data.push(this)),ti||we.wake()}var e=t.prototype;return e.delay=function(n){return n||n===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+n-this._delay),this._delay=n,this):this._delay},e.duration=function(n){return arguments.length?this.totalDuration(this._repeat>0?n+(n+this._rDelay)*this._repeat:n):this.totalDuration()&&this._dur},e.totalDuration=function(n){return arguments.length?(this._dirty=0,wr(this,this._repeat<0?n:(n-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(n,r){if(Cr(),!arguments.length)return this._tTime;var i=this._dp;if(i&&i.smoothChildTiming&&this._ts){for(_o(this,n),!i._dp||i.parent||Of(i,this);i&&i.parent;)i.parent._time!==i._start+(i._ts>=0?i._tTime/i._ts:(i.totalDuration()-i._tTime)/-i._ts)&&i.totalTime(i._tTime,!0),i=i.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&n<this._tDur||this._ts<0&&n>0||!this._tDur&&!n)&&He(this._dp,this,this._start-this._delay)}return(this._tTime!==n||!this._dur&&!r||this._initted&&Math.abs(this._zTime)===ie||!n&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=n),Ef(this,n,r)),this},e.time=function(n,r){return arguments.length?this.totalTime(Math.min(this.totalDuration(),n+ru(this))%(this._dur+this._rDelay)||(n?this._dur:0),r):this._time},e.totalProgress=function(n,r){return arguments.length?this.totalTime(this.totalDuration()*n,r):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>0?1:0},e.progress=function(n,r){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-n:n)+ru(this),r):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(n,r){var i=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(n-1)*i,r):this._repeat?yr(this._tTime,i)+1:1},e.timeScale=function(n,r){if(!arguments.length)return this._rts===-1e-8?0:this._rts;if(this._rts===n)return this;var i=this.parent&&this._ts?Hi(this.parent._time,this):this._tTime;return this._rts=+n||0,this._ts=this._ps||n===-1e-8?0:this._rts,this.totalTime(pi(-Math.abs(this._delay),this._tDur,i),r!==!1),go(this),gm(this)},e.paused=function(n){return arguments.length?(this._ps!==n&&(this._ps=n,n?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Cr(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==ie&&(this._tTime-=ie)))),this):this._ps},e.startTime=function(n){if(arguments.length){this._start=n;var r=this.parent||this._dp;return r&&(r._sort||!this.parent)&&He(r,this,n-this._delay),this}return this._start},e.endTime=function(n){return this._start+(he(n)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(n){var r=this.parent||this._dp;return r?n&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Hi(r.rawTime(n),this):this._tTime:this._tTime},e.revert=function(n){n===void 0&&(n=hm);var r=oe;return oe=n,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(n),this.totalTime(-.01,n.suppressEvents)),this.data!=="nested"&&n.kill!==!1&&this.kill(),oe=r,this},e.globalTime=function(n){for(var r=this,i=arguments.length?n:r.rawTime();r;)i=r._start+i/(Math.abs(r._ts)||1),r=r._dp;return!this.parent&&this._sat?this._sat.globalTime(n):i},e.repeat=function(n){return arguments.length?(this._repeat=n===1/0?-2:n,iu(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(n){if(arguments.length){var r=this._time;return this._rDelay=n,iu(this),r?this.time(r):this}return this._rDelay},e.yoyo=function(n){return arguments.length?(this._yoyo=n,this):this._yoyo},e.seek=function(n,r){return this.totalTime(xe(this,n),he(r))},e.restart=function(n,r){return this.play().totalTime(n?-this._delay:0,he(r))},e.play=function(n,r){return n!=null&&this.seek(n,r),this.reversed(!1).paused(!1)},e.reverse=function(n,r){return n!=null&&this.seek(n||this.totalDuration(),r),this.reversed(!0).paused(!1)},e.pause=function(n,r){return n!=null&&this.seek(n,r),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(n){return arguments.length?(!!n!==this.reversed()&&this.timeScale(-this._rts||(n?-1e-8:0)),this):this._rts<0}
vendor: 20,934 bytes, line 7
7,e.invalidate=function(){return this._initted=this._act=0,this._zTime=-1e-8,this},e.isActive=function(){var n=this.parent||this._dp,r=this._start,i;return!!(!n||this._ts&&this._initted&&n.isActive()&&(i=n.rawTime(!0))>=r&&i<this.endTime(!0)-ie)},e.eventCallback=function(n,r,i){var o=this.vars;return arguments.length>1?(r?(o[n]=r,i&&(o[n+"Params"]=i),n==="onUpdate"&&(this._onUpdate=r)):delete o[n],this):o[n]},e.then=function(n){var r=this;return new Promise(function(i){var o=Lt(n)?n:Pf,s=function(){var a=r.then;r.then=null,Lt(o)&&(o=o(r))&&(o.then||o===r)&&(r.then=a),i(o),r.then=a};r._initted&&r.totalProgress()===1&&r._ts>=0||!r._tTime&&r._ts<0?s():r._prom=s})},e.kill=function(){Nr(this)},t})();Ie(ei.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-1e-8,_prom:0,_ps:!1,_rts:1});var le=(function(t){mf(e,t);function e(r,i){var o;return r===void 0&&(r={}),o=t.call(this,r)||this,o.labels={},o.smoothChildTiming=!!r.smoothChildTiming,o.autoRemoveChildren=!!r.autoRemoveChildren,o._sort=he(r.sortChildren),xt&&He(r.parent||xt,en(o),i),r.reversed&&o.reverse(),r.paused&&o.paused(!0),r.scrollTrigger&&If(en(o),r.scrollTrigger),o}var n=e.prototype;return n.to=function(r,i,o){return $r(0,arguments,this),this},n.from=function(r,i,o){return $r(1,arguments,this),this},n.fromTo=function(r,i,o,s){return $r(2,arguments,this),this},n.set=function(r,i,o){return i.duration=0,i.parent=this,jr(i).repeatDelay||(i.repeat=0),i.immediateRender=!!i.immediateRender,new jt(r,i,xe(this,o),1),this},n.call=function(r,i,o){return He(this,jt.delayedCall(0,r,i),o)},n.staggerTo=function(r,i,o,s,a,l,u){return o.duration=i,o.stagger=o.stagger||s,o.onComplete=l,o.onCompleteParams=u,o.parent=this,new jt(r,o,xe(this,a)),this},n.staggerFrom=function(r,i,o,s,a,l,u){return o.runBackwards=1,jr(o).immediateRender=he(o.immediateRender),this.staggerTo(r,i,o,s,a,l,u)},n.staggerFromTo=function(r,i,o,s,a,l,u,c){return s.startAt=o,jr(s).immediateRender=he(s.immediateRender),this.staggerTo(r,i,s,a,l,u,c)},n.render=function(r,i,o){var s=this._time,a=this._dirty?this.totalDuration():this._tDur,l=this._dur,u=r<=0?0:Vt(r),c=this._zTime<0!=r<0&&(this._initted||!l),f,p,d,h,_,T,b,k,S,y,x,M;if(this!==xt&&u>a&&r>=0&&(u=a),u!==this._tTime||o||c){if(s!==this._time&&l&&(u+=this._time-s,r+=this._time-s),f=u,S=this._start,k=this._ts,T=!k,c&&(l||(s=this._zTime),(r||!i)&&(this._zTime=r)),this._repeat){if(x=this._yoyo,_=l+this._rDelay,this._repeat<-1&&r<0)return this.totalTime(_*100+r,i,o);if(f=Vt(u%_),u===a?(h=this._repeat,f=l):(h=~~(u/_),h&&h===u/_&&(f=l,h--),f>l&&(f=l)),y=yr(this._tTime,_),!s&&this._tTime&&y!==h&&this._tTime-y*_-this._dur<=0&&(y=h),x&&h&1&&(f=l-f,M=1),h!==y&&!this._lock){var O=x&&y&1,D=O===(x&&h&1);if(h<y&&(O=!O),s=O?0:u%l?l:u,this._lock=1,this.render(s||(M?0:Vt(h*_)),i,!l)._lock=0,this._tTime=u,!i&&this.parent&&Se(this,"onRepeat"),this.vars.repeatRefresh&&!M&&(this.invalidate()._lock=1),s&&s!==this._time||T!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(l=this._dur,a=this._tDur,D&&(this._lock=2,s=O?l:-1e-4,this.render(s,!0),this.vars.repeatRefresh&&!M&&this.invalidate()),this._lock=0,!this._ts&&!T)return this;Gf(this,M)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(b=ym(this,Vt(s),Vt(f)),b&&(u-=f-(f=b._start))),this._tTime=u,this._time=f,this._act=!k,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=r,s=0),!s&&f&&!i&&!h&&(Se(this,"onStart"),this._tTime!==u))return this;if(f>=s&&r>=0)for(p=this._first;p;){if(d=p._next,(p._act||f>=p._start)&&p._ts&&b!==p){if(p.parent!==this)return this.render(r,i,o);if(p.render(p._ts>0?(f-p._start)*p._ts:(p._dirty?p.totalDuration():p._tDur)+(f-p._start)*p._ts,i,o),f!==this._time||!this._ts&&!T){b=0,d&&(u+=this._zTime=-1e-8);break}}p=d}else{p=this._last;for(var F=r<0?r:f;p;){if(d=p._prev,(p._act||F<=p._end)&&p._ts&&b!==p){if(p.parent!==this)return this.render(r,i,o);if(p.render(p._ts>0?(F-p._start)*p._ts:(p._dirty?p.totalDuration():p._tDur)+(F-p._start)*p._ts,i,o||oe&&(p._initted||p._startAt)),f!==this._time||!this._ts&&!T){b=0,d&&(u+=this._zTime=F?-1e-8:ie);break}}p=d}}if(b&&!i&&(this.pause(),b.render(f>=s?0:-1e-8)._zTime=f>=s?1:-1,this._ts))return this._start=S,go(this),this.render(r,i,o);this._onUpdate&&!i&&Se(this,"onUpdate",!0),(u===a&&this._tTime>=this.totalDuration()||!u&&s)&&(S===this._start||Math.abs(k)!==Math.abs(this._ts))&&(this._lock||((r||!l)&&(u===a&&this._ts>0||!u&&this._ts<0)&&Sn(this,1),!i&&!(r<0&&!s)&&(u||s||!a)&&(Se(this,u===a&&r>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(u<a&&this.timeScale()>0)&&this._prom())))}return this},n.add=function(r,i){var o=this;if(fn(i)||(i=xe(this,i,r)),!(r instanceof ei)){if(se(r))return r.forEach(function(s){return o.add(s,i)}),this;if(Yt(r))return this.addLabel(r,i);if(Lt(r))r=jt.delayedCall(0,r);else return this}return this!==r?He(this,r,i):this},n.getChildren=function(r,i,o,s){r===void 0&&(r=!0),i===void 0&&(i=!0),o===void 0&&(o=!0),s===void 0&&(s=-1e8);for(var a=[],l=this._first;l;)l._start>=s&&(l instanceof jt?i&&a.push(l):(o&&a.push(l),r&&a.push.apply(a,l.getChildren(!0,i,o)))),l=l._next;return a},n.getById=function(r){for(var i=this.getChildren(1,1,1),o=i.length;o--;)if(i[o].vars.id===r)return i[o]},n.remove=function(r){return Yt(r)?this.removeLabel(r):Lt(r)?this.killTweensOf(r):(mo(this,r),r===this._recent&&(this._recent=this._last),jn(this))},n.totalTime=function(r,i){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Vt(we.time-(this._ts>0?r/this._ts:(this.totalDuration()-r)/-this._ts))),t.prototype.totalTime.call(this,r,i),this._forcing=0,this):this._tTime},n.addLabel=function(r,i){return this.labels[r]=xe(this,i),this},n.removeLabel=function(r){return delete this.labels[r],this},n.addPause=function(r,i,o){var s=jt.delayedCall(0,i||Zr,o);return s.data="isPause",this._hasPause=1,He(this,s,xe(this,r))},n.removePause=function(r){var i=this._first;for(r=xe(this,r);i;)i._start===r&&i.data==="isPause"&&Sn(i),i=i._next},n.killTweensOf=function(r,i,o){for(var s=this.getTweensOf(r,o),a=s.length;a--;)vn!==s[a]&&s[a].kill(r,i);return this},n.getTweensOf=function(r,i){for(var o=[],s=Oe(r),a=this._first,l=fn(i),u;a;)a instanceof jt?dm(a._targets,s)&&(l?(!vn||a._initted&&a._ts)&&a.globalTime(0)<=i&&a.globalTime(a.totalDuration())>i:!i||a.isActive())&&o.push(a):(u=a.getTweensOf(s,i)).length&&o.push.apply(o,u),a=a._next;return o},n.tweenTo=function(r,i){i=i||{};var o=this,s=xe(o,r),a=i,l=a.startAt,u=a.onStart,c=a.onStartParams,f=a.immediateRender,p,d=jt.to(o,Ie({ease:i.ease||"none",lazy:!1,immediateRender:!1,time:s,overwrite:"auto",duration:i.duration||Math.abs((s-(l&&"time"in l?l.time:o._time))/o.timeScale())||ie,onStart:function(){if(o.pause(),!p){var h=i.duration||Math.abs((s-(l&&"time"in l?l.time:o._time))/o.timeScale());d._dur!==h&&wr(d,h,0,1).render(d._time,!0,!0),p=1}u&&u.apply(d,c||[])}},i));return f?d.render(0):d},n.tweenFromTo=function(r,i,o){return this.tweenTo(i,Ie({startAt:{time:xe(this,r)}},o))},n.recent=function(){return this._recent},n.nextLabel=function(r){return r===void 0&&(r=this._time),ou(this,xe(this,r))},n.previousLabel=function(r){return r===void 0&&(r=this._time),ou(this,xe(this,r),1)},n.currentLabel=function(r){return arguments.length?this.seek(r,!0):this.previousLabel(this._time+ie)},n.shiftChildren=function(r,i,o){o===void 0&&(o=0);for(var s=this._first,a=this.labels,l;s;)s._start>=o&&(s._start+=r,s._end+=r),s=s._next;if(i)for(l in a)a[l]>=o&&(a[l]+=r);return jn(this)},n.invalidate=function(r){var i=this._first;for(this._lock=0;i;)i.invalidate(r),i=i._next;return t.prototype.invalidate.call(this,r)},n.clear=function(r){r===void 0&&(r=!0);for(var i=this._first,o;i;)o=i._next,this.remove(i),i=o;return this._dp&&(this._time=this._tTime=this._pTime=0),r&&(this.labels={}),jn(this)},n.totalDuration=function(r){var i=0,o=this,s=o._last,a=Ye,l,u,c;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-r:r));if(o._dirty){for(c=o.parent;s;)l=s._prev,s._dirty&&s.totalDuration(),u=s._start,u>a&&o._sort&&s._ts&&!o._lock?(o._lock=1,He(o,s,u-s._delay,1)._lock=0):a=u,u<0&&s._ts&&(i-=u,(!c&&!o._dp||c&&c.smoothChildTiming)&&(o._start+=u/o._ts,o._time-=u,o._tTime-=u),o.shiftChildren(-u,!1,-1/0),a=0),s._end>i&&s._ts&&(i=s._end),s=l;wr(o,o===xt&&o._time>i?o._time:i,1,1),o._dirty=0}return o._tDur},e.updateRoot=function(r){if(xt._ts&&(Ef(xt,Hi(r,xt)),kf=we.frame),we.frame>=eu){eu+=Ee.autoSleep||120;var i=xt._first;if((!i||!i._ts)&&Ee.autoSleep&&we._listeners.length<2){for(;i&&!i._ts;)i=i._next;i||we.sleep()}}},e})(ei);Ie(le.prototype,{_lock:0,_hasPause:0,_forcing:0});var Um=function(t,e,n,r,i,o,s){var a=new pe(this._pt,t,e,0,1,th,null,i),l=0,u=0,c,f,p,d,h,_,T,b;for(a.b=n,a.e=r,n+="",r+="",(T=~r.indexOf("random("))&&(r=Qr(r)),o&&(b=[n,r],o(b,t,e),n=b[0],r=b[1]),f=n.match(Ho)||[];c=Ho.exec(r);)d=c[0],h=r.substring(l,c.index),p?p=(p+1)%5:h.substr(-5)==="rgba("&&(p=1),d!==f[u++]&&(_=parseFloat(f[u-1])||0,a._pt={_next:a._pt,p:h||u===1?h:",",s:_,c:d.charAt(1)==="="?hr(_,d)-_:parseFloat(d)-_,m:p&&p<4?Math.round:0},l=Ho.lastIndex);return a.c=l<r.length?r.substring(l,r.length):"",a.fp=s,(bf.test(r)||T)&&(a.e=0),this._pt=a,a},xa=function(t,e,n,r,i,o,s,a,l,u){Lt(r)&&(r=r(i||0,t,o));var c=t[e],f=n!=="get"?n:Lt(c)?l?t[e.indexOf("set")||!Lt(t["get"+e.substr(3)])?e:"get"+e.substr(3)](l):t[e]():c,p=Lt(c)?l?$m:Zf:Ia,d;if(Yt(r)&&(~r.indexOf("random(")&&(r=Qr(r)),r.charAt(1)==="="&&(d=hr(f,r)+(re(f)||0),(d||d===0)&&(r=d))),!u||f!==r||Is)return!isNaN(f*r)&&r!==""?(d=new pe(this._pt,t,e,+f||0,r-(f||0),typeof c=="boolean"?qm:Qf,0,p),l&&(d.fp=l),s&&d.modifier(s,this,t),this._pt=d):(!c&&!(e in t)&&Ta(e,r),Um.call(this,t,e,f,r,p,a||Ee.stringFilter,l))},Nm=function(t,e,n,r,i){if(Lt(t)&&(t=zr(t,i,e,n,r)),!Ke(t)||t.style&&t.nodeType||se(t)||_f(t))return Yt(t)?zr(t,i,e,n,r):t;var o={},s;for(s in t)o[s]=zr(t[s],i,e,n,r);return o},Xf=function(t,e,n,r,i,o){var s,a,l,u;if(ye[t]&&(s=new ye[t]).init(i,s.rawVars?e[t]:Nm(e[t],r,i,o,n),n,r,o)!==!1&&(n._pt=a=new pe(n._pt,i,t,0,1,s.render,s,0,s.priority),n!==lr))for(l=n._ptLookup[n._targets.indexOf(i)],u=s._props.length;u--;)l[s._props[u]]=a;return s},vn,Is,Oa=function t(e,n,r){var i=e.vars,o=i.ease,s=i.startAt,a=i.immediateRender,l=i.lazy,u=i.onUpdate,c=i.runBackwards,f=i.yoyoEase,p=i.keyframes,d=i.autoRevert,h=e._dur,_=e._startAt,T=e._targets,b=e.parent,k=b&&b.data==="nested"?b.vars.targets:T,S=e._overwrite==="auto"&&!wa,y=e.timeline,x,M,O,D,F,X,V,K,rt,et,it,st,Ct;if(y&&(!p||!o)&&(o="none"),e._ease=$n(o,br.ease),e._yEase=f?Wf($n(f===!0?o:f,br.ease)):0,f&&e._yoyo&&!e._repeat&&(f=e._yEase,e._yEase=e._ease,e._ease=f),e._from=!y&&!!i.runBackwards,!y||p&&!i.stagger){if(K=T[0]?Fn(T[0]).harness:0,st=K&&i[K.prop],x=qi(i,Ea),_&&(_._zTime<0&&_.progress(1),n<0&&c&&a&&!d?_.render(-1,!0):_.revert(c&&h?Oi:fm),_._lazy=0),s){if(Sn(e._startAt=jt.set(T,Ie({data:"isStart",overwrite:!1,parent:b,immediateRender:!0,lazy:!_&&he(l),startAt:null,delay:0,onUpdate:u&&function(){return Se(e,"onUpdate")},stagger:0},s))),e._startAt._dp=0,e._startAt._sat=e,n<0&&(oe||!a&&!d)&&e._startAt.revert(Oi),a&&h&&n<=0&&r<=0){n&&(e._zTime=n);return}}else if(c&&h&&!_){if(n&&(a=!1),O=Ie({overwrite:!1,data:"isFromStart",lazy:a&&!_&&he(l),immediateRender:a,stagger:0,parent:b},x),st&&(O[K.prop]=st),Sn(e._startAt=jt.set(T,O)),e._startAt._dp=0,e._startAt._sat=e,n<0&&(oe?e._startAt.revert(Oi):e._startAt.render(-1,!0)),e._zTime=n,!a)t(e._startAt,ie,ie);else if(!n)return}for(e._pt=e._ptCache=0,l=h&&he(l)||l&&!h,M=0;M<T.length;M++){if(F=T[M],V=F._gsap||Pa(T)[M]._gsap,e._ptLookup[M]=et={},Ts[V.id]&&wn.length&&zi(),it=k===T?M:k.indexOf(F),K&&(rt=new K).init(F,st||x,e,it,k)!==!1&&(e._pt=D=new pe(e._pt,F,rt.name,0,1,rt.render,rt,0,rt.priority),rt._props.forEach(function(ct){et[ct]=D}),rt.priority&&(X=1)),!K||st)for(O in x)ye[O]&&(rt=Xf(O,x,e,it,F,k))?rt.priority&&(X=1):et[O]=D=xa.call(e,F,O,"get",x[O],it,k,0,i.stringFilter);e._op&&e._op[M]&&e.kill(F,e._op[M]),S&&e._pt&&(vn=e,xt.killTweensOf(F,et,e.globalTime(n)),Ct=!e.parent,vn=0),e._pt&&l&&(Ts[V.id]=1)}X&&eh(e),e._onInit&&e._onInit(e)}e._onUpdate=u,e._initted=(!e._op||e._pt)&&!Ct,p&&n<=0&&y.render(Ye,!0,!0)},Bm=function(t,e,n,r,i,o,s,a){var l=(t._pt&&t._ptCache||(t._ptCache={}))[e],u,c,f,p;if(!l)for(l=t._ptCache[e]=[],f=t._ptLookup,p=t._targets.length;p--;){if(u=f[p][e],u&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==e&&u.fp!==e;)u=u._next;if(!u)return Is=1,t.vars[e]="+=0",Oa(t,s),Is=0,a?Kr(e+" not eligible for reset"):1;l.push(u)}for(p=l.length;p--;)c=l[p],u=c._pt||c,u.s=(r||r===0)&&!i?r:u.s+(r||0)+o*u.c,u.c=n-u.s,c.e&&(c.e=Ut(n)+re(c.e)),c.b&&(c.b=u.s+re(c.b))},Fm=function(t,e){var n=t[0]?Fn(t[0]).harness:0,r=n&&n.aliases,i,o,s,a;if(!r)return e;i=Vn({},e);for(o in r)if(o in i)for(a=r[o].split(","),s=a.length;s--;)i[a[s]]=i[o];return i},jm=function(t,e,n,r){var i=e.ease||r||"power1.inOut",o,s;if(se(e))s=n[t]||(n[t]=[]),e.forEach(function(a,l){return s.push({t:l/(e.length-1)*100,v:a,e:i})});else for(o in e)s=n[o]||(n[o]=[]),o==="ease"||s.push({t:parseFloat(t),v:e[o],e:i})},zr=function(t,e,n,r,i){return Lt(t)?t.call(e,n,r,i):Yt(t)&&~t.indexOf("random(")?Qr(t):t},Jf=Aa+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Kf={};de(Jf+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return Kf[t]=1});var jt=(function(t){mf(e,t);function e(r,i,o,s){var a;typeof i=="number"&&(o.duration=i,i=o,o=null),a=t.call(this,s?i:jr(i))||this;var l=a.vars,u=l.duration,c=l.delay,f=l.immediateRender,p=l.stagger,d=l.overwrite,h=l.keyframes,_=l.defaults,T=l.scrollTrigger,b=l.yoyoEase,k=i.parent||xt,S=(se(r)||_f(r)?fn(r[0]):"length"in i)?[r]:Oe(r),y,x,M,O,D,F,X,V;if(a._targets=S.length?Pa(S):Kr("GSAP target "+r+" not found. https://gsap.com",!Ee.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=d,h||p||gi(u)||gi(c)){if(i=a.vars,y=a.timeline=new le({data:"nested",defaults:_||{},targets:k&&k.data==="nested"?k.vars.targets:S}),y.kill(),y.parent=y._dp=en(a),y._start=0,p||gi(u)||gi(c)){if(O=S.length,X=p&&Df(p),Ke(p))for(D in p)~Jf.indexOf(D)&&(V||(V={}),V[D]=p[D]);for(x=0;x<O;x++)M=qi(i,Kf),M.stagger=0,b&&(M.yoyoEase=b),V&&Vn(M,V),F=S[x],M.duration=+zr(u,en(a),x,F,S),M.delay=(+zr(c,en(a),x,F,S)||0)-a._delay,!p&&O===1&&M.delay&&(a._delay=c=M.delay,a._start+=c,M.delay=0),y.to(F,M,X?X(x,F,S):0),y._ease=dt.none;y.duration()?u=c=0:a.timeline=0}else if(h){jr(Ie(y.vars.defaults,{ease:"none"})),y._ease=$n(h.ease||i.ease||"none");var K=0,rt,et,it;if(se(h))h.forEach(function(st){return y.to(S,st,">")}),y.duration();else{M={};for(D in h)D==="ease"||D==="easeEach"||jm(D,h[D],M,h.easeEach);for(D in M)for(rt=M[D].sort(function(st,Ct){return st.t-Ct.t}),K=0,x=0;x<rt.length;x++)et=rt[x],it={ease:et.e,duration:(et.t-(x?rt[x-1].t:0))/100*u},it[D]=et.v,y.to(S,it,K),K+=it.duration;y.duration()<u&&y.to({},{duration:u-y.duration()})}}u||a.duration(u=y.duration())}else a.timeline=0;return d===!0&&!wa&&(vn=en(a),xt.killTweensOf(S),vn=0),He(k,en(a),o),i.reversed&&a.reverse(),i.paused&&a.paused(!0),(f||!u&&!h&&a._start===Vt(k._time)&&he(f)&&_m(en(a))&&k.data!=="nested")&&(a._tTime=-1e-8,a.render(Math.max(0,-c)||0)),T&&If(en(a),T),a}var n=e.prototype;return n.render=function(r,i,o){var s=this._time,a=this._tDur,l=this._dur,u=r<0,c=r>a-ie&&!u?a:r<ie?0:r,f,p,d,h,_,T,b,k,S;if(!l)bm(this,r,i,o);else if(c!==this._tTime||!r||o||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==u){if(f=c,k=this.timeline,this._repeat){if(h=l+this._rDelay,this._repeat<-1&&u)return this.totalTime(h*100+r,i,o);if(f=Vt(c%h),c===a?(d=this._repeat,f=l):(d=~~(c/h),d&&d===Vt(c/h)&&(f=l,d--),f>l&&(f=l)),T=this._yoyo&&d&1,T&&(S=this._yEase,f=l-f),_=yr(this._tTime,h),f===s&&!o&&this._initted&&d===_)return this._tTime=c,this;d!==_&&(k&&this._yEase&&Gf(k,T),this.vars.repeatRefresh&&!T&&!this._lock&&this._time!==h&&this._initted&&(this._lock=o=1,this.render(Vt(h*d),!0).invalidate()._lock=0))}if(!this._initted){if(Rf(this,u?r:f,o,i,c))return this._tTime=0,this;if(s!==this._time&&!(o&&this.vars.repeatRefresh&&d!==_))return this;if(l!==this._dur)return this.render(r,i,o)}if(this._tTime=c,this._time=f,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=b=(S||this._ease)(f/l),this._from&&(this.ratio=b=1-b),f&&!s&&!i&&!d&&(Se(this,"onStart"),this._tTime!==c))return this;for(p=this._pt;p;)p.r(b,p.d),p=p._next;k&&k.render(r<0?r:k._dur*k._ease(f/this._dur),i,o)||this._startAt&&(this._zTime=r),this._onUpdate&&!i&&(u&&Es(this,r,i,o),Se(this,"onUpdate")),this._repeat&&d!==_&&this.vars.onRepeat&&!i&&this.parent&&Se(this,"onRepeat"),(c===this._tDur||!c)&&this._tTime===c&&(u&&!this._onUpdate&&Es(this,r,!0,!0),(r||!l)&&(c===this._tDur&&this._ts>0||!c&&this._ts<0)&&Sn(this,1),!i&&!(u&&!s)&&(c||s||T)&&(Se(this,c===a?"onComplete":"onReverseComplete",!0),this._prom&&!(c<a&&this.timeScale()>0)&&this._prom()))}return this},n.targets=function(){return this._targets},n.invalidate=function(r){return(!r||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(r),t.prototype.invalidate.call(this,r)},n.resetTo=function(r,i,o,s,a){ti||we.wake(),this._ts||this.play();var l=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||Oa(this,l),u=this._ease(l/this._dur),Bm(this,r,i,o,s,u,l,a)?this.resetTo(r,i,o,s,1):(_o(this,0),this.parent||xf(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},n.kill=function(r,i){if(i===void 0&&(i="all"),!r&&(!i||i==="all"))return this._lazy=this._pt=0,this.parent?Nr(this):this;if(this.timeline){var o=this.timeline.totalDuration();return this.timeline.killTweensOf(r,i,vn&&vn.vars.overwrite!==!0)._first||Nr(this),this.parent&&o!==this.timeline.totalDuration()&&wr(this,this._dur*this.timeline._tDur/o,0,1),this}var s=this._targets,a=r?Oe(r):s,l=this._ptLookup,u=this._pt,c,f,p,d,h,_,T;if((!i||i==="all")&&mm(s,a))return i==="all"&&(this._pt=0),Nr(this);for(c=this._op=this._op||[],i!=="all"&&(Yt(i)&&(h={},de(i,function(b){return h[b]=1}),i=h),i=Fm(s,i)),T=s.length;T--;)if(~a.indexOf(s[T])){f=l[T],i==="all"?(c[T]=i,d=f,p={}):(p=c[T]=c[T]||{},d=i);for(h in d)_=f&&f[h],_&&((!("kill"in _.d)||_.d.kill(h)===!0)&&mo(this,_,"_pt"),delete f[h]),p!=="all"&&(p[h]=1)}return this._initted&&!this._pt&&u&&Nr(this),this},e.to=function(r,i){return new e(r,i,arguments[2])},e.from=function(r,i){return $r(1,arguments)},e.delayedCall=function(r,i,o,s){return new e(i,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:r,onComplete:i,onReverseComplete:i,onCompleteParams:o,onReverseCompleteParams:o,callbackScope:s})},e.fromTo=function(r,i,o){return $r(2,arguments)},e.set=function(r,i){return i.duration=0,i.repeatDelay||(i.repeat=0),new e(r,i)},e.killTweensOf=function(r,i,o){return xt.killTweensOf(r,i,o)},e})(ei);Ie(jt.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});de("staggerTo,staggerFrom,staggerFromTo",function(t){jt[t]=function(){var e=new le,n=Ps.call(arguments,0);return n.splice(t==="staggerFromTo"?5:4,0,0),e[t].apply(e,n)}});var Ia=function(t,e,n){return t[e]=n},Zf=function(t,e,n){return t[e](n)},$m=function(t,e,n,r){return t[e](r.fp,n)},zm=function(t,e,n){return t.setAttribute(e,n)},Ra=function(t,e){return Lt(t[e])?Zf:Ca(t[e])&&t.setAttribute?zm:Ia},Qf=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e6)/1e6,e)},qm=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},th=function(t,e){var n=e._pt,r="";if(!t&&e.b)r=e.b;else if(t===1&&e.e)r=e.e;else{for(;n;)r=n.p+(n.m?n.m(n.s+n.c*t):Math.round((n.s+n.c*t)*1e4)/1e4)+r,n=n._next;r+=e.c}e.set(e.t,e.p,r,e)},Ma=function(t,e){for(var n=e._pt;n;)n.r(t,n.d),n=n._next},Hm=function(t,e,n,r){for(var i=this._pt,o;i;)o=i._next,i.p===r&&i.modifier(t,e,n),i=o},Wm=function(t){for(var e=this._pt,n,r;e;)r=e._next,e.p===t&&!e.op||e.op===t?mo(this,e,"_pt"):e.dep||(n=1),e=r;return!n},Gm=function(t,e,n,r){r.mSet(t,e,r.m.call(r.tween,n,r.mt),r)},eh=function(t){for(var e=t._pt,n,r,i,o;e;){for(n=e._next,r=i;r&&r.pr>e.pr;)r=r._next;(e._prev=r?r._prev:o)?e._prev._next=e:i=e,(e._next=r)?r._prev=e:o=e,e=n}t._pt=i},pe=(function(){function t(n,r,i,o,s,a,l,u,c){this.t=r,this.s=o,this.c=s,this.p=i,this.r=a||Qf,this.d=l||this,this.set=u||Ia,this.pr=c||0,this._next=n,n&&(n._prev=this)}var e=t.prototype;return e.modifier=function(n,r,i){this.mSet=this.mSet||this.set,this.set=Gm,this.m=n,this.mt=i,this.tween=r},t})();de(Aa+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(t){return Ea[t]=1});Ae.TweenMax=Ae.TweenLite=jt;Ae.TimelineLite=Ae.TimelineMax=le;xt=new le({sortChildren:!1,defaults:br,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});Ee.stringFilter=Hf;var zn=[],Ri={},Vm=[],au=0,Ym=0,Xo=function(t){return(Ri[t]||Vm).map(function(e){return e()})},Rs=function(){var t=Date.now(),e=[];
vendor: 2,458 bytes, line 7
7t-au>2&&(Xo("matchMediaInit"),zn.forEach(function(n){var r=n.queries,i=n.conditions,o,s,a,l;for(s in r)o=qe.matchMedia(r[s]).matches,o&&(a=1),o!==i[s]&&(i[s]=o,l=1);l&&(n.revert(),a&&e.push(n))}),Xo("matchMediaRevert"),e.forEach(function(n){return n.onMatch(n,function(r){return n.add(null,r)})}),au=t,Xo("matchMedia"))},nh=(function(){function t(n,r){this.selector=r&&xs(r),this.data=[],this._r=[],this.isReverted=!1,this.id=Ym++,n&&this.add(n)}var e=t.prototype;return e.add=function(n,r,i){Lt(n)&&(i=r,r=n,n=Lt);var o=this,s=function(){var a=At,l=o.selector,u;return a&&a!==o&&a.data.push(o),i&&(o.selector=xs(i)),At=o,u=r.apply(o,arguments),Lt(u)&&o._r.push(u),At=a,o.selector=l,o.isReverted=!1,u};return o.last=s,n===Lt?s(o,function(a){return o.add(null,a)}):n?o[n]=s:s},e.ignore=function(n){var r=At;At=null,n(this),At=r},e.getTweens=function(){var n=[];return this.data.forEach(function(r){return r instanceof t?n.push.apply(n,r.getTweens()):r instanceof jt&&!(r.parent&&r.parent.data==="nested")&&n.push(r)}),n},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(n,r){var i=this;if(n?(function(){for(var s=i.getTweens(),a=i.data.length,l;a--;)l=i.data[a],l.data==="isFlip"&&(l.revert(),l.getChildren(!0,!0,!1).forEach(function(u){return s.splice(s.indexOf(u),1)}));for(s.map(function(u){return{g:u._dur||u._delay||u._sat&&!u._sat.vars.immediateRender?u.globalTime(0):-1/0,t:u}}).sort(function(u,c){return c.g-u.g||-1/0}).forEach(function(u){return u.t.revert(n)}),a=i.data.length;a--;)l=i.data[a],l instanceof le?l.data!=="nested"&&(l.scrollTrigger&&l.scrollTrigger.revert(),l.kill()):!(l instanceof jt)&&l.revert&&l.revert(n);i._r.forEach(function(u){return u(n,i)}),i.isReverted=!0})():this.data.forEach(function(s){return s.kill&&s.kill()}),this.clear(),r)for(var o=zn.length;o--;)zn[o].id===this.id&&zn.splice(o,1)},e.revert=function(n){this.kill(n||{})},t})(),Xm=(function(){function t(n){this.contexts=[],this.scope=n,At&&At.data.push(this)}var e=t.prototype;return e.add=function(n,r,i){Ke(n)||(n={matches:n});var o=new nh(0,i||this.scope),s=o.conditions={},a,l,u;At&&!o.selector&&(o.selector=At.selector),this.contexts.push(o),r=o.add("onMatch",r),o.queries=n;for(l in n)l==="all"?u=1:(a=qe.matchMedia(n[l]),a&&(zn.indexOf(o)<0&&zn.push(o),(s[l]=a.matches)&&(u=1),a.addListener?a.addListener(Rs):a.addEventListener("change",Rs)));return u&&r(o,function(c){return o.add(null,c)}),this},e.revert=function(n){this.kill(n||{})}
vendor: 19,931 bytes, line 7
7,e.kill=function(n){this.contexts.forEach(function(r){return r.kill(n,!0)})},t})(),Wi={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];e.forEach(function(r){return $f(r)})},timeline:function(t){return new le(t)},getTweensOf:function(t,e){return xt.getTweensOf(t,e)},getProperty:function(t,e,n,r){Yt(t)&&(t=Oe(t)[0]);var i=Fn(t||{}).get,o=n?Pf:Af;return n==="native"&&(n=""),t&&(e?o((ye[e]&&ye[e].get||i)(t,e,n,r)):function(s,a,l){return o((ye[s]&&ye[s].get||i)(t,s,a,l))})},quickSetter:function(t,e,n){if(t=Oe(t),t.length>1){var r=t.map(function(u){return _e.quickSetter(u,e,n)}),i=r.length;return function(u){for(var c=i;c--;)r[c](u)}}t=t[0]||{};var o=ye[e],s=Fn(t),a=s.harness&&(s.harness.aliases||{})[e]||e,l=o?function(u){var c=new o;lr._pt=0,c.init(t,n?u+n:u,lr,0,[t]),c.render(1,c),lr._pt&&Ma(1,lr)}:s.set(t,a);return o?l:function(u){return l(t,a,n?u+n:u,s,1)}},quickTo:function(t,e,n){var r,i=_e.to(t,Vn((r={},r[e]="+=0.1",r.paused=!0,r),n||{})),o=function(s,a,l){return i.resetTo(e,s,a,l)};return o.tween=i,o},isTweening:function(t){return xt.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=$n(t.ease,br.ease)),nu(br,t||{})},config:function(t){return nu(Ee,t||{})},registerEffect:function(t){var e=t.name,n=t.effect,r=t.plugins,i=t.defaults,o=t.extendTimeline;(r||"").split(",").forEach(function(s){return s&&!ye[s]&&!Ae[s]&&Kr(e+" effect requires "+s+" plugin.")}),Wo[e]=function(s,a,l){return n(Oe(s),Ie(a||{},i),l)},o&&(le.prototype[e]=function(s,a,l){return this.add(Wo[e](s,Ke(a)?a:(l=a)&&{},this),l)})},registerEase:function(t,e){dt[t]=$n(e)},parseEase:function(t,e){return arguments.length?$n(t,e):dt},getById:function(t){return xt.getById(t)},exportRoot:function(t,e){t===void 0&&(t={});var n=new le(t),r,i;for(n.smoothChildTiming=he(t.smoothChildTiming),xt.remove(n),n._dp=0,n._time=n._tTime=xt._time,r=xt._first;r;)i=r._next,(e||!(!r._dur&&r instanceof jt&&r.vars.onComplete===r._targets[0]))&&He(n,r,r._start-r._delay),r=i;return He(xt,n,0),n},context:function(t,e){return t?new nh(t,e):At},matchMedia:function(t){return new Xm(t)},matchMediaRefresh:function(){return zn.forEach(function(t){var e=t.conditions,n,r;for(r in e)e[r]&&(e[r]=!1,n=1);n&&t.revert()})||Rs()},addEventListener:function(t,e){var n=Ri[t]||(Ri[t]=[]);~n.indexOf(e)||n.push(e)},removeEventListener:function(t,e){var n=Ri[t],r=n&&n.indexOf(e);r>=0&&n.splice(r,1)},utils:{wrap:Am,wrapYoyo:Pm,distribute:Df,random:Nf,snap:Uf,normalize:Em,getUnit:re,clamp:Cm,splitColor:zf,toArray:Oe,selector:xs,mapRange:Ff,pipe:km,unitize:Tm,interpolate:xm,shuffle:Lf},install:Cf,effects:Wo,ticker:we,updateRoot:le.updateRoot,plugins:ye,globalTimeline:xt,core:{PropTween:pe,globals:Sf,Tween:jt,Timeline:le,Animation:ei,getCache:Fn,_removeLinkedListItem:mo,reverting:function(){return oe},context:function(t){return t&&At&&(At.data.push(t),t._ctx=At),At},suppressOverwrites:function(t){return wa=t}}};de("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return Wi[t]=jt[t]});we.add(le.updateRoot);lr=Wi.to({},{duration:0});var Jm=function(t,e){for(var n=t._pt;n&&n.p!==e&&n.op!==e&&n.fp!==e;)n=n._next;return n},Km=function(t,e){var n=t._targets,r,i,o;for(r in e)for(i=n.length;i--;)o=t._ptLookup[i][r],o&&(o=o.d)&&(o._pt&&(o=Jm(o,r)),o&&o.modifier&&o.modifier(e[r],t,n[i],r))},Jo=function(t,e){return{name:t,rawVars:1,init:function(n,r,i){i._onInit=function(o){var s,a;if(Yt(r)&&(s={},de(r,function(l){return s[l]=1}),r=s),e){s={};for(a in r)s[a]=e(r[a]);r=s}Km(o,r)}}}},_e=Wi.registerPlugin({name:"attr",init:function(t,e,n,r,i){var o,s,a;this.tween=n;for(o in e)a=t.getAttribute(o)||"",s=this.add(t,"setAttribute",(a||0)+"",e[o],r,i,0,0,o),s.op=o,s.b=a,this._props.push(o)},render:function(t,e){for(var n=e._pt;n;)oe?n.set(n.t,n.p,n.b,n):n.r(t,n.d),n=n._next}},{name:"endArray",init:function(t,e){for(var n=e.length;n--;)this.add(t,n,t[n]||0,e[n],0,0,0,0,0,1)}},Jo("roundProps",Os),Jo("modifiers"),Jo("snap",Uf))||Wi;jt.version=le.version=_e.version="3.12.5";wf=1;Sa()&&Cr();dt.Power0;dt.Power1;dt.Power2;dt.Power3;dt.Power4;dt.Linear;dt.Quad;dt.Cubic;dt.Quart;dt.Quint;dt.Strong;dt.Elastic;dt.Back;dt.SteppedEase;dt.Bounce;dt.Sine;dt.Expo;dt.Circ;var lu,bn,dr,La,Un,uu,Da,Zm=function(){return typeof window<"u"},hn={},Ln=180/Math.PI,pr=Math.PI/180,ir=Math.atan2,cu=1e8,Ua=/([A-Z])/g,Qm=/(left|right|width|margin|padding|x)/i,tg=/[\s,\(]\S/,Ge={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Ms=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},eg=function(t,e){return e.set(e.t,e.p,t===1?e.e:Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},ng=function(t,e){return e.set(e.t,e.p,t?Math.round((e.s+e.c*t)*1e4)/1e4+e.u:e.b,e)},rg=function(t,e){var n=e.s+e.c*t;e.set(e.t,e.p,~~(n+(n<0?-.5:.5))+e.u,e)},rh=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},ih=function(t,e){return e.set(e.t,e.p,t!==1?e.b:e.e,e)},ig=function(t,e,n){return t.style[e]=n},og=function(t,e,n){return t.style.setProperty(e,n)},sg=function(t,e,n){return t._gsap[e]=n},ag=function(t,e,n){return t._gsap.scaleX=t._gsap.scaleY=n},lg=function(t,e,n,r,i){var o=t._gsap;o.scaleX=o.scaleY=n,o.renderTransform(i,o)},ug=function(t,e,n,r,i){var o=t._gsap;o[e]=n,o.renderTransform(i,o)},It="transform",me=It+"Origin",cg=function t(e,n){var r=this,i=this.target,o=i.style,s=i._gsap;if(e in hn&&o){if(this.tfm=this.tfm||{},e!=="transform")e=Ge[e]||e,~e.indexOf(",")?e.split(",").forEach(function(a){return r.tfm[a]=nn(i,a)}):this.tfm[e]=s.x?s[e]:nn(i,e),e===me&&(this.tfm.zOrigin=s.zOrigin);else return Ge.transform.split(",").forEach(function(a){return t.call(r,a,n)});if(this.props.indexOf(It)>=0)return;s.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(me,n,"")),e=It}(o||n)&&this.props.push(e,n,o[e])},oh=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},fg=function(){var t=this.props,e=this.target,n=e.style,r=e._gsap,i,o;for(i=0;i<t.length;i+=3)t[i+1]?e[t[i]]=t[i+2]:t[i+2]?n[t[i]]=t[i+2]:n.removeProperty(t[i].substr(0,2)==="--"?t[i]:t[i].replace(Ua,"-$1").toLowerCase());if(this.tfm){for(o in this.tfm)r[o]=this.tfm[o];r.svg&&(r.renderTransform(),e.setAttribute("data-svg-origin",this.svgo||"")),i=Da(),(!i||!i.isStart)&&!n[It]&&(oh(n),r.zOrigin&&n[me]&&(n[me]+=" "+r.zOrigin+"px",r.zOrigin=0,r.renderTransform()),r.uncache=1)}},sh=function(t,e){var n={target:t,props:[],revert:fg,save:cg};return t._gsap||_e.core.getCache(t),e&&e.split(",").forEach(function(r){return n.save(r)}),n},ah,Ls=function(t,e){var n=bn.createElementNS?bn.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):bn.createElement(t);return n&&n.style?n:bn.createElement(t)},Xe=function t(e,n,r){var i=getComputedStyle(e);return i[n]||i.getPropertyValue(n.replace(Ua,"-$1").toLowerCase())||i.getPropertyValue(n)||!r&&t(e,Sr(n)||n,1)||""},fu="O,Moz,ms,Ms,Webkit".split(","),Sr=function(t,e,n){var r=e||Un,i=r.style,o=5;if(t in i&&!n)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);o--&&!(fu[o]+t in i););return o<0?null:(o===3?"ms":o>=0?fu[o]:"")+t},Ds=function(){Zm()&&window.document&&(lu=window,bn=lu.document,dr=bn.documentElement,Un=Ls("div")||{style:{}},Ls("div"),It=Sr(It),me=It+"Origin",Un.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",ah=!!Sr("perspective"),Da=_e.core.reverting,La=1)},Ko=function t(e){var n=Ls("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=this.parentNode,i=this.nextSibling,o=this.style.cssText,s;if(dr.appendChild(n),n.appendChild(this),this.style.display="block",e)try{s=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=t}catch{}else this._gsapBBox&&(s=this._gsapBBox());return r&&(i?r.insertBefore(this,i):r.appendChild(this)),dr.removeChild(n),this.style.cssText=o,s},hu=function(t,e){for(var n=e.length;n--;)if(t.hasAttribute(e[n]))return t.getAttribute(e[n])},lh=function(t){var e;try{e=t.getBBox()}catch{e=Ko.call(t,!0)}return e&&(e.width||e.height)||t.getBBox===Ko||(e=Ko.call(t,!0)),e&&!e.width&&!e.x&&!e.y?{x:+hu(t,["x","cx","x1"])||0,y:+hu(t,["y","cy","y1"])||0,width:0,height:0}:e},uh=function(t){return!!(t.getCTM&&(!t.parentNode||t.ownerSVGElement)&&lh(t))},Yn=function(t,e){if(e){var n=t.style,r;e in hn&&e!==me&&(e=It),n.removeProperty?(r=e.substr(0,2),(r==="ms"||e.substr(0,6)==="webkit")&&(e="-"+e),n.removeProperty(r==="--"?e:e.replace(Ua,"-$1").toLowerCase())):n.removeAttribute(e)}},yn=function(t,e,n,r,i,o){var s=new pe(t._pt,e,n,0,1,o?ih:rh);return t._pt=s,s.b=r,s.e=i,t._props.push(n),s},du={deg:1,rad:1,turn:1},hg={grid:1,flex:1},kn=function t(e,n,r,i){var o=parseFloat(r)||0,s=(r+"").trim().substr((o+"").length)||"px",a=Un.style,l=Qm.test(n),u=e.tagName.toLowerCase()==="svg",c=(u?"client":"offset")+(l?"Width":"Height"),f=100,p=i==="px",d=i==="%",h,_,T,b;if(i===s||!o||du[i]||du[s])return o;if(s!=="px"&&!p&&(o=t(e,n,r,"px")),b=e.getCTM&&uh(e),(d||s==="%")&&(hn[n]||~n.indexOf("adius")))return h=b?e.getBBox()[l?"width":"height"]:e[c],Ut(d?o/h*f:o/100*h);if(a[l?"width":"height"]=f+(p?s:i),_=~n.indexOf("adius")||i==="em"&&e.appendChild&&!u?e:e.parentNode,b&&(_=(e.ownerSVGElement||{}).parentNode),(!_||_===bn||!_.appendChild)&&(_=bn.body),T=_._gsap,T&&d&&T.width&&l&&T.time===we.time&&!T.uncache)return Ut(o/T.width*f);if(d&&(n==="height"||n==="width")){var k=e.style[n];e.style[n]=f+i,h=e[c],k?e.style[n]=k:Yn(e,n)}else(d||s==="%")&&!hg[Xe(_,"display")]&&(a.position=Xe(e,"position")),_===e&&(a.position="static"),_.appendChild(Un),h=Un[c],_.removeChild(Un),a.position="absolute";return l&&d&&(T=Fn(_),T.time=we.time,T.width=_[c]),Ut(p?h*o/f:h&&o?f/h*o:0)},nn=function(t,e,n,r){var i;return La||Ds(),e in Ge&&e!=="transform"&&(e=Ge[e],~e.indexOf(",")&&(e=e.split(",")[0])),hn[e]&&e!=="transform"?(i=ri(t,r),i=e!=="transformOrigin"?i[e]:i.svg?i.origin:Vi(Xe(t,me))+" "+i.zOrigin+"px"):(i=t.style[e],(!i||i==="auto"||r||~(i+"").indexOf("calc("))&&(i=Gi[e]&&Gi[e](t,e,n)||Xe(t,e)||Tf(t,e)||(e==="opacity"?1:0))),n&&!~(i+"").trim().indexOf(" ")?kn(t,e,i,n)+n:i},dg=function(t,e,n,r){if(!n||n==="none"){var i=Sr(e,t,1),o=i&&Xe(t,i,1);o&&o!==n?(e=i,n=o):e==="borderColor"&&(n=Xe(t,"borderTopColor"))}var s=new pe(this._pt,t.style,e,0,1,th),a=0,l=0,u,c,f,p,d,h,_,T,b,k,S,y;if(s.b=n,s.e=r,n+="",r+="",r==="auto"&&(h=t.style[e],t.style[e]=r,r=Xe(t,e)||r,h?t.style[e]=h:Yn(t,e)),u=[n,r],Hf(u),n=u[0],r=u[1],f=n.match(ar)||[],y=r.match(ar)||[],y.length){for(;c=ar.exec(r);)_=c[0],b=r.substring(a,c.index),d?d=(d+1)%5:(b.substr(-5)==="rgba("||b.substr(-5)==="hsla(")&&(d=1),_!==(h=f[l++]||"")&&(p=parseFloat(h)||0,S=h.substr((p+"").length),_.charAt(1)==="="&&(_=hr(p,_)+S),T=parseFloat(_),k=_.substr((T+"").length),a=ar.lastIndex-k.length,k||(k=k||Ee.units[e]||S,a===r.length&&(r+=k,s.e+=k)),S!==k&&(p=kn(t,e,h,k)||0),s._pt={_next:s._pt,p:b||l===1?b:",",s:p,c:T-p,m:d&&d<4||e==="zIndex"?Math.round:0});s.c=a<r.length?r.substring(a,r.length):""}else s.r=e==="display"&&r==="none"?ih:rh;return bf.test(r)&&(s.e=0),this._pt=s,s},pu={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},pg=function(t){var e=t.split(" "),n=e[0],r=e[1]||"50%";return(n==="top"||n==="bottom"||r==="left"||r==="right")&&(t=n,n=r,r=t),e[0]=pu[n]||n,e[1]=pu[r]||r,e.join(" ")},mg=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var n=e.t,r=n.style,i=e.u,o=n._gsap,s,a,l;if(i==="all"||i===!0)r.cssText="",a=1;else for(i=i.split(","),l=i.length;--l>-1;)s=i[l],hn[s]&&(a=1,s=s==="transformOrigin"?me:It),Yn(n,s);a&&(Yn(n,It),o&&(o.svg&&n.removeAttribute("transform"),ri(n,1),o.uncache=1,oh(r)))}},Gi={clearProps:function(t,e,n,r,i){if(i.data!=="isFromStart"){var o=t._pt=new pe(t._pt,e,n,0,0,mg);return o.u=r,o.pr=-10,o.tween=i,t._props.push(n),1}}},ni=[1,0,0,1,0,0],ch={},fh=function(t){return t==="matrix(1, 0, 0, 1, 0, 0)"||t==="none"||!t},mu=function(t){var e=Xe(t,It);return fh(e)?ni:e.substr(7).match(vf).map(Ut)},Na=function(t,e){var n=t._gsap||Fn(t),r=t.style,i=mu(t),o,s,a,l;return n.svg&&t.getAttribute("transform")?(a=t.transform.baseVal.consolidate().matrix,i=[a.a,a.b,a.c,a.d,a.e,a.f],i.join(",")==="1,0,0,1,0,0"?ni:i):(i===ni&&!t.offsetParent&&t!==dr&&!n.svg&&(a=r.display,r.display="block",o=t.parentNode,(!o||!t.offsetParent)&&(l=1,s=t.nextElementSibling,dr.appendChild(t)),i=mu(t),a?r.display=a:Yn(t,"display"),l&&(s?o.insertBefore(t,s):o?o.appendChild(t):dr.removeChild(t))),e&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i)},Us=function(t,e,n,r,i,o){var s=t._gsap,a=i||Na(t,!0),l=s.xOrigin||0,u=s.yOrigin||0,c=s.xOffset||0,f=s.yOffset||0,p=a[0],d=a[1],h=a[2],_=a[3],T=a[4],b=a[5],k=e.split(" "),S=parseFloat(k[0])||0,y=parseFloat(k[1])||0,x,M,O,D;n?a!==ni&&(M=p*_-d*h)&&(O=S*(_/M)+y*(-h/M)+(h*b-_*T)/M,D=S*(-d/M)+y*(p/M)-(p*b-d*T)/M,S=O,y=D):(x=lh(t),S=x.x+(~k[0].indexOf("%")?S/100*x.width:S),y=x.y+(~(k[1]||k[0]).indexOf("%")?y/100*x.height:y)),r||r!==!1&&s.smooth?(T=S-l,b=y-u,s.xOffset=c+(T*p+b*h)-T,s.yOffset=f+(T*d+b*_)-b):s.xOffset=s.yOffset=0,s.xOrigin=S,s.yOrigin=y,s.smooth=!!r,s.origin=e,s.originIsAbsolute=!!n,t.style[me]="0px 0px",o&&(yn(o,s,"xOrigin",l,S),yn(o,s,"yOrigin",u,y),yn(o,s,"xOffset",c,s.xOffset),yn(o,s,"yOffset",f,s.yOffset)),t.setAttribute("data-svg-origin",S+" "+y)},ri=function(t,e){var n=t._gsap||new Yf(t);if("x"in n&&!e&&!n.uncache)return n;var r=t.style,i=n.scaleX<0,o="px",s="deg",a=getComputedStyle(t),l=Xe(t,me)||"0",u,c,f,p,d,h,_,T,b,k,S,y,x,M,O,D,F,X,V,K,rt,et,it,st,Ct,ct,Xt,A,R,w,C,g;return u=c=f=h=_=T=b=k=S=0,p=d=1,n.svg=!!(t.getCTM&&uh(t)),a.translate&&((a.translate!=="none"||a.scale!=="none"||a.rotate!=="none")&&(r[It]=(a.translate!=="none"?"translate3d("+(a.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(a.rotate!=="none"?"rotate("+a.rotate+") ":"")+(a.scale!=="none"?"scale("+a.scale.split(" ").join(",")+") ":"")+(a[It]!=="none"?a[It]:"")),r.scale=r.rotate=r.translate="none"),M=Na(t,n.svg),n.svg&&(n.uncache?(Ct=t.getBBox(),l=n.xOrigin-Ct.x+"px "+(n.yOrigin-Ct.y)+"px",st=""):st=!e&&t.getAttribute("data-svg-origin"),Us(t,st||l,!!st||n.originIsAbsolute,n.smooth!==!1,M)),y=n.xOrigin||0,x=n.yOrigin||0,M!==ni&&(X=M[0],V=M[1],K=M[2],rt=M[3],u=et=M[4],c=it=M[5],M.length===6?(p=Math.sqrt(X*X+V*V),d=Math.sqrt(rt*rt+K*K),h=X||V?ir(V,X)*Ln:0,b=K||rt?ir(K,rt)*Ln+h:0,b&&(d*=Math.abs(Math.cos(b*pr))),n.svg&&(u-=y-(y*X+x*K),c-=x-(y*V+x*rt))):(g=M[6],w=M[7],Xt=M[8],A=M[9],R=M[10],C=M[11],u=M[12],c=M[13],f=M[14],O=ir(g,R),_=O*Ln,O&&(D=Math.cos(-O),F=Math.sin(-O),st=et*D+Xt*F,Ct=it*D+A*F,ct=g*D+R*F,Xt=et*-F+Xt*D,A=it*-F+A*D,R=g*-F+R*D,C=w*-F+C*D,et=st,it=Ct,g=ct),O=ir(-K,R),T=O*Ln,O&&(D=Math.cos(-O),F=Math.sin(-O),st=X*D-Xt*F,Ct=V*D-A*F,ct=K*D-R*F,C=rt*F+C*D,X=st,V=Ct,K=ct),O=ir(V,X),h=O*Ln,O&&(D=Math.cos(O),F=Math.sin(O),st=X*D+V*F,Ct=et*D+it*F,V=V*D-X*F,it=it*D-et*F,X=st,et=Ct),_&&Math.abs(_)+Math.abs(h)>359.9&&(_=h=0,T=180-T),p=Ut(Math.sqrt(X*X+V*V+K*K)),d=Ut(Math.sqrt(it*it+g*g)),O=ir(et,it),b=Math.abs(O)>2e-4?O*Ln:0,S=C?1/(C<0?-C:C):0),n.svg&&(st=t.getAttribute("transform"),n.forceCSS=t.setAttribute("transform","")||!fh(Xe(t,It)),st&&t.setAttribute("transform",st))),Math.abs(b)>90&&Math.abs(b)<270&&(i?(p*=-1,b+=h<=0?180:-180,h+=h<=0?180:-180):(d*=-1,b+=b<=0?180:-180)),e=e||n.uncache,n.x=u-((n.xPercent=u&&(!e&&n.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-u)?-50:0)))?t.offsetWidth*n.xPercent/100:0)+o,n.y=c-((n.yPercent=c&&(!e&&n.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-c)?-50:0)))?t.offsetHeight*n.yPercent/100:0)+o,n.z=f+o,n.scaleX=Ut(p),n.scaleY=Ut(d),n.rotation=Ut(h)+s,n.rotationX=Ut(_)+s,n.rotationY=Ut(T)+s,n.skewX=b+s,n.skewY=k+s,n.transformPerspective=S+o,(n.zOrigin=parseFloat(l.split(" ")[2])||!e&&n.zOrigin||0)&&(r[me]=Vi(l)),n.xOffset=n.yOffset=0,n.force3D=Ee.force3D,n.renderTransform=n.svg?_g:ah?hh:gg,n.uncache=0,n},Vi=function(t){return(t=t.split(" "))[0]+" "+t[1]},Zo=function(t,e,n){var r=re(e);return Ut(parseFloat(e)+parseFloat(kn(t,"x",n+"px",r)))+r},gg=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,hh(t,e)},Rn="0deg",Lr="0px",Mn=") ",hh=function(t,e){var n=e||this,r=n.xPercent,i=n.yPercent,o=n.x,s=n.y,a=n.z,l=n.rotation,u=n.rotationY,c=n.rotationX,f=n.skewX,p=n.skewY,d=n.scaleX,h=n.scaleY,_=n.transformPerspective,T=n.force3D,b=n.target,k=n.zOrigin,S="",y=T==="auto"&&t&&t!==1||T===!0;if(k&&(c!==Rn||u!==Rn)){var x=parseFloat(u)*pr,M=Math.sin(x),O=Math.cos(x),D;x=parseFloat(c)*pr,D=Math.cos(x),o=Zo(b,o,M*D*-k),s=Zo(b,s,-Math.sin(x)*-k),a=Zo(b,a,O*D*-k+k)}_!==Lr&&(S+="perspective("+_+Mn),(r||i)&&(S+="translate("+r+"%, "+i+"%) "),(y||o!==Lr||s!==Lr||a!==Lr)&&(S+=a!==Lr||y?"translate3d("+o+", "+s+", "+a+") ":"translate("+o+", "+s+Mn),l!==Rn&&(S+="rotate("+l+Mn),u!==Rn&&(S+="rotateY("+u+Mn),c!==Rn&&(S+="rotateX("+c+Mn),(f!==Rn||p!==Rn)&&(S+="skew("+f+", "+p+Mn),(d!==1||h!==1)&&(S+="scale("+d+", "+h+Mn),b.style[It]=S||"translate(0, 0)"},_g=function(t,e){var n=e||this,r=n.xPercent,i=n.yPercent,o=n.x,s=n.y,a=n.rotation,l=n.skewX,u=n.skewY,c=n.scaleX,f=n.scaleY,p=n.target,d=n.xOrigin,h=n.yOrigin,_=n.xOffset,T=n.yOffset,b=n.forceCSS,k=parseFloat(o),S=parseFloat(s),y,x,M,O,D;a=parseFloat(a),l=parseFloat(l),u=parseFloat(u),u&&(u=parseFloat(u),l+=u,a+=u),a||l?(a*=pr,l*=pr,y=Math.cos(a)*c,x=Math.sin(a)*c,M=Math.sin(a-l)*-f,O=Math.cos(a-l)*f,l&&(u*=pr,D=Math.tan(l-u),D=Math.sqrt(1+D*D),M*=D,O*=D,u&&(D=Math.tan(u),D=Math.sqrt(1+D*D),y*=D,x*=D)),y=Ut(y),x=Ut(x),M=Ut(M),O=Ut(O)):(y=c,O=f,x=M=0),(k&&!~(o+"").indexOf("px")||S&&!~(s+"").indexOf("px"))&&(k=kn(p,"x",o,"px"),S=kn(p,"y",s,"px")),(d||h||_||T)&&(k=Ut(k+d-(d*y+h*M)+_),S=Ut(S+h-(d*x+h*O)+T)),(r||i)&&(D=p.getBBox(),k=Ut(k+r/100*D.width),S=Ut(S+i/100*D.height)),D="matrix("+y+","+x+","+M+","+O+","+k+","+S+")",p.setAttribute("transform",D),b&&(p.style[It]=D)},vg=function(t,e,n,r,i){var o=360,s=Yt(i),a=parseFloat(i)*(s&&~i.indexOf("rad")?Ln:1),l=a-r,u=r+l+"deg",c,f;return s&&(c=i.split("_")[1],c==="short"&&(l%=o,l!==l%(o/2)&&(l+=l<0?o:-360)),c==="cw"&&l<0?l=(l+o*cu)%o-~~(l/o)*o:c==="ccw"&&l>0&&(l=(l-o*cu)%o-~~(l/o)*o)),t._pt=f=new pe(t._pt,e,n,r,l,eg),f.e=u,f.u="deg",t._props.push(n),f},gu=function(t,e){for(var n in e)t[n]=e[n];return t},bg=function(t,e,n){var r=gu({},n._gsap),i="perspective,force3D,transformOrigin,svgOrigin",o=n.style,s,a,l,u,c,f,p,d;r.svg?(l=n.getAttribute("transform"),n.setAttribute("transform",""),o[It]=e,s=ri(n,1),Yn(n,It),n.setAttribute("transform",l)):(l=getComputedStyle(n)[It],o[It]=e,s=ri(n,1),o[It]=l);for(a in hn)l=r[a],u=s[a],l!==u&&i.indexOf(a)<0&&(p=re(l),d=re(u),c=p!==d?kn(n,a,l,d):parseFloat(l),f=parseFloat(u),t._pt=new pe(t._pt,s,a,c,f-c,Ms),t._pt.u=d||0,t._props.push(a));gu(s,r)};de("padding,margin,Width,Radius",function(t,e){var n="Top",r="Right",i="Bottom",o="Left",s=(e<3?[n,r,i,o]:[n+o,n+r,i+r,i+o]).map(function(a){return e<2?t+a:"border"+a+t});Gi[e>1?"border"+t:t]=function(a,l,u,c,f){var p,d;if(arguments.length<4)return p=s.map(function(h){return nn(a,h,u)}),d=p.join(" "),d.split(p[0]).length===5?p[0]:d;p=(c+"").split(" "),d={},s.forEach(function(h,_){return d[h]=p[_]=p[_]||p[(_-1)/2|0]}),a.init(l,d,f)}});var dh={name:"css",register:Ds,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,n,r,i){var o=this._props,s=t.style,a=n.vars.startAt,l,u,c,f,p,d,h,_,T,b,k,S,y,x,M,O;La||Ds(),this.styles=this.styles||sh(t),O=this.styles.props,this.tween=n;for(h in e)if(h!=="autoRound"&&(u=e[h],!(ye[h]&&Xf(h,e,n,r,t,i)))){if(p=typeof u,d=Gi[h],p==="function"&&(u=u.call(n,r,t,i),p=typeof u),p==="string"&&~u.indexOf("random(")&&(u=Qr(u)),d)d(this,t,h,u,n)&&(M=1);else if(h.substr(0,2)==="--")l=(getComputedStyle(t).getPropertyValue(h)+"").trim(),u+="",Cn.lastIndex=0,Cn.test(l)||(_=re(l),T=re(u)),T?_!==T&&(l=kn(t,h,l,T)+T):_&&(u+=_),this.add(s,"setProperty",l,u,r,i,0,0,h),o.push(h),O.push(h,0,s[h]);else if(p!=="undefined"){if(a&&h in a?(l=typeof a[h]=="function"?a[h].call(n,r,t,i):a[h],Yt(l)&&~l.indexOf("random(")&&(l=Qr(l)),re(l+"")||l==="auto"||(l+=Ee.units[h]||re(nn(t,h))||""),(l+"").charAt(1)==="="&&(l=nn(t,h))):l=nn(t,h),f=parseFloat(l),b=p==="str
7ing"&&u.charAt(1)==="="&&u.substr(0,2),b&&(u=u.substr(2)),c=parseFloat(u),h in Ge&&(h==="autoAlpha"&&(f===1&&nn(t,"visibility")==="hidden"&&c&&(f=0),O.push("visibility",0,s.visibility),yn(this,s,"visibility",f?"inherit":"hidden",c?"inherit":"hidden",!c)),h!=="scale"&&h!=="transform"&&(h=Ge[h],~h.indexOf(",")&&(h=h.split(",")[0]))),k=h in hn,k){if(this.styles.save(h),S||(y=t._gsap,y.renderTransform&&!e.parseTransform||ri(t,e.parseTransform),x=e.smoothOrigin!==!1&&y.smooth,S=this._pt=new pe(this._pt,s,It,0,1,y.renderTransform,y,0,-1),S.dep=1),h==="scale")this._pt=new pe(this._pt,y,"scaleY",y.scaleY,(b?hr(y.scaleY,b+c):c)-y.scaleY||0,Ms),this._pt.u=0,o.push("scaleY",h),h+="X";else if(h==="transformOrigin"){O.push(me,0,s[me]),u=pg(u),y.svg?Us(t,u,0,x,0,this):(T=parseFloat(u.split(" ")[2])||0,T!==y.zOrigin&&yn(this,y,"zOrigin",y.zOrigin,T),yn(this,s,h,Vi(l),Vi(u)));continue}else if(h==="svgOrigin"){Us(t,u,1,x,0,this);continue}else if(h in ch){vg(this,y,h,f,b?hr(f,b+u):u);continue}else if(h==="smoothOrigin"){yn(this,y,"smooth",y.smooth,u);continue}else if(h==="force3D"){y[h]=u;continue}else if(h==="transform"){bg(this,u,t);continue}}else h in s||(h=Sr(h)||h);if(k||(c||c===0)&&(f||f===0)&&!tg.test(u)&&h in s)_=(l+"").substr((f+"").length),c||(c=0),T=re(u)||(h in Ee.units?Ee.units[h]:_),_!==T&&(f=kn(t,h,l,T)),this._pt=new pe(this._pt,k?y:s,h,f,(b?hr(f,b+c):c)-f,!k&&(T==="px"||h==="zIndex")&&e.autoRound!==!1?rg:Ms),this._pt.u=T||0,_!==T&&T!=="%"&&(this._pt.b=l,this._pt.r=ng);else if(h in s)dg.call(this,t,h,l,b?b+u:u);else if(h in t)this.add(t,h,l||t[h],b?b+u:u,r,i);else if(h!=="parseTransform"){Ta(h,u);continue}
vendor: 5,226 bytes, line 7
7k||(h in s?O.push(h,0,s[h]):O.push(h,1,l||t[h])),o.push(h)}}M&&eh(this)},render:function(t,e){if(e.tween._time||!Da())for(var n=e._pt;n;)n.r(t,n.d),n=n._next;else e.styles.revert()},get:nn,aliases:Ge,getSetter:function(t,e,n){var r=Ge[e];return r&&r.indexOf(",")<0&&(e=r),e in hn&&e!==me&&(t._gsap.x||nn(t,"x"))?n&&uu===n?e==="scale"?ag:sg:(uu=n||{})&&(e==="scale"?lg:ug):t.style&&!Ca(t.style[e])?ig:~e.indexOf("-")?og:Ra(t,e)},core:{_removeProperty:Yn,_getMatrix:Na}};_e.utils.checkPrefix=Sr;_e.core.getStyleSaver=sh;(function(t,e,n,r){var i=de(t+","+e+","+n,function(o){hn[o]=1});de(e,function(o){Ee.units[o]="deg",ch[o]=1}),Ge[i[13]]=t+","+e,de(r,function(o){var s=o.split(":");Ge[s[1]]=i[s[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");de("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){Ee.units[t]="px"});_e.registerPlugin(dh);var vo=_e.registerPlugin(dh)||_e;vo.core.Tween;var on,qn,Ba,bo,Fr,Mi,Yi,qr,De="transform",Ns=De+"Origin",ph,Fa=function(t){var e=t.ownerDocument||t;for(!(De in t.style)&&("msTransform"in t.style)&&(De="msTransform",Ns=De+"Origin");e.parentNode&&(e=e.parentNode););if(qn=window,Yi=new Xn,e){on=e,Ba=e.documentElement,bo=e.body,qr=on.createElementNS("http://www.w3.org/2000/svg","g"),qr.style.transform="none";var n=e.createElement("div"),r=e.createElement("div"),i=e&&(e.body||e.firstElementChild);i&&i.appendChild&&(i.appendChild(n),n.appendChild(r),n.setAttribute("style","position:static;transform:translate3d(0,0,1px)"),ph=r.offsetParent!==n,i.removeChild(n))}return e},yg=function(t){for(var e,n;t&&t!==bo;)n=t._gsap,n&&n.uncache&&n.get(t,"x"),n&&!n.scaleX&&!n.scaleY&&n.renderTransform&&(n.scaleX=n.scaleY=1e-4,n.renderTransform(1,n),e?e.push(n):e=[n]),t=t.parentNode;return e},mh=[],gh=[],ja=function(){return qn.pageYOffset||on.scrollTop||Ba.scrollTop||bo.scrollTop||0},$a=function(){return qn.pageXOffset||on.scrollLeft||Ba.scrollLeft||bo.scrollLeft||0},za=function(t){return t.ownerSVGElement||((t.tagName+"").toLowerCase()==="svg"?t:null)},wg=function t(e){if(qn.getComputedStyle(e).position==="fixed")return!0;if(e=e.parentNode,e&&e.nodeType===1)return t(e)},Qo=function t(e,n){if(e.parentNode&&(on||Fa(e))){var r=za(e),i=r?r.getAttribute("xmlns")||"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o=r?n?"rect":"g":"div",s=n!==2?0:100,a=n===3?100:0,l="position:absolute;display:block;pointer-events:none;margin:0;padding:0;",u=on.createElementNS?on.createElementNS(i.replace(/^https/,"http"),o):on.createElement(o);return n&&(r?(Mi||(Mi=t(e)),u.setAttribute("width",.01),u.setAttribute("height",.01),u.setAttribute("transform","translate("+s+","+a+")"),Mi.appendChild(u)):(Fr||(Fr=t(e),Fr.style.cssText=l),u.style.cssText=l+"width:0.1px;height:0.1px;top:"+a+"px;left:"+s+"px",Fr.appendChild(u))),u}throw"Need document and parent."},Cg=function(t){for(var e=new Xn,n=0;n<t.numberOfItems;n++)e.multiply(t.getItem(n).matrix);return e},_h=function(t){var e=t.getCTM(),n;return e||(n=t.style[De],t.style[De]="none",t.appendChild(qr),e=qr.getCTM(),t.removeChild(qr),n?t.style[De]=n:t.style.removeProperty(De.replace(/([A-Z])/g,"-$1").toLowerCase())),e||Yi.clone()},Sg=function(t,e){var n=za(t),r=t===n,i=n?mh:gh,o=t.parentNode,s,a,l,u,c,f;if(t===qn)return t;if(i.length||i.push(Qo(t,1),Qo(t,2),Qo(t,3)),s=n?Mi:Fr,n)r?(l=_h(t),u=-l.e/l.a,c=-l.f/l.d,a=Yi):t.getBBox?(l=t.getBBox(),a=t.transform?t.transform.baseVal:{},a=a.numberOfItems?a.numberOfItems>1?Cg(a):a.getItem(0).matrix:Yi,u=a.a*l.x+a.c*l.y,c=a.b*l.x+a.d*l.y):(a=new Xn,u=c=0),e&&t.tagName.toLowerCase()==="g"&&(u=c=0),(r?n:o).appendChild(s),s.setAttribute("transform","matrix("+a.a+","+a.b+","+a.c+","+a.d+","+(a.e+u)+","+(a.f+c)+")");else{if(u=c=0,ph)for(a=t.offsetParent,l=t;l&&(l=l.parentNode)&&l!==a&&l.parentNode;)(qn.getComputedStyle(l)[De]+"").length>4&&(u=l.offsetLeft,c=l.offsetTop,l=0);if(f=qn.getComputedStyle(t),f.position!=="absolute"&&f.position!=="fixed")for(a=t.offsetParent;o&&o!==a;)u+=o.scrollLeft||0,c+=o.scrollTop||0,o=o.parentNode;l=s.style,l.top=t.offsetTop-c+"px",l.left=t.offsetLeft-u+"px",l[De]=f[De],l[Ns]=f[Ns],l.position=f.position==="fixed"?"fixed":"absolute",t.parentNode.appendChild(s)}return s},ts=function(t,e,n,r,i,o,s){return t.a=e,t.b=n,t.c=r,t.d=i,t.e=o,t.f=s,t},Xn=(function(){function t(n,r,i,o,s,a){n===void 0&&(n=1),r===void 0&&(r=0),i===void 0&&(i=0),o===void 0&&(o=1),s===void 0&&(s=0),a===void 0&&(a=0),ts(this,n,r,i,o,s,a)}var e=t.prototype;return e.inverse=function(){var n=this.a,r=this.b,i=this.c,o=this.d,s=this.e,a=this.f,l=n*o-r*i||1e-10;return ts(this,o/l,-r/l,-i/l,n/l,(i*a-o*s)/l,-(n*a-r*s)/l)},e.multiply=function(n){var r=this.a,i=this.b,o=this.c,s=this.d,a=this.e,l=this.f,u=n.a,c=n.c,f=n.b,p=n.d,d=n.e,h=n.f;return ts(this,u*r+f*o,u*i+f*s,c*r+p*o,c*i+p*s,a+d*r+h*o,l+d*i+h*s)},e.clone=function(){return new t(this.a,this.b,this.c,this.d,this.e,this.f)},e.equals=function(n){var r=this.a,i=this.b,o=this.c,s=this.d,a=this.e,l=this.f;return r===n.a&&i===n.b&&o===n.c&&s===n.d&&a===n.e&&l===n.f}
7,e.apply=function(n,r){r===void 0&&(r={});var i=n.x,o=n.y,s=this.a,a=this.b,l=this.c,u=this.d,c=this.e,f=this.f;return r.x=i*s+o*l+c||0,r.y=i*a+o*u+f||0,r},t})();function Ze(t,e,n,r){if(!t||!t.parentNode||(on||Fa(t)).documentElement===t)return new Xn;var i=yg(t),o=za(t),s=o?mh:gh,a=Sg(t,n),l=s[0].getBoundingClientRect(),u=s[1].getBoundingClientRect(),c=s[2].getBoundingClientRect(),f=a.parentNode,p=!r&&wg(t),d=new Xn((u.left-l.left)/100,(u.top-l.top)/100,(c.left-l.left)/100,(c.top-l.top)/100,l.left+(p?0:$a()),l.top+(p?0:ja()));if(f.removeChild(a),i)for(l=i.length;l--;)u=i[l],u.scaleX=u.scaleY=0,u.renderTransform(1,u);return e?d.inverse():d}var kg=1,kr,te,kt,Hr,_n,sn,Bs,_u=function(t,e){return t.actions.forEach(function(n){return n.vars[e]&&n.vars[e](n)})},Fs={},vu=180/Math.PI,Tg=Math.PI/180,Xi={},bu={},yo={},qa=function(t){return typeof t=="string"?t.split(" ").join("").split(","):t},Eg=qa("onStart,onUpdate,onComplete,onReverseComplete,onInterrupt"),wo=qa("transform,transformOrigin,width,height,position,top,left,opacity,zIndex,maxWidth,maxHeight,minWidth,minHeight"),Wr=function(t){return kr(t)[0]||console.warn("Element not found:",t)},ur=function(t){return Math.round(t*1e4)/1e4||0},es=function(t,e,n){return t.forEach(function(r){return r.classList[n](e)})},yu={zIndex:1,kill:1,simple:1,spin:1,clearProps:1,targets:1,toggleClass:1,onComplete:1,onUpdate:1,onInterrupt:1,onStart:1,delay:1,repeat:1,repeatDelay:1,yoyo:1,scale:1,fade:1,absolute:1,props:1,onEnter:1,onLeave:1,custom:1,paused:1,nested:1,prune:1,absoluteOnLeave:1},vh={zIndex:1,simple:1,clearProps:1,scale:1,absolute:1,fitChild:1,getVars:1,props:1},bh=function(t){return t.replace(/([A-Z])/g,"-$1").toLowerCase()},cr=function(t,e){var n={},r;for(r in t)e[r]||(n[r]=t[r]);return n},Ha={},yh=function(t){var e=Ha[t]=qa(t);return yo[t]=e.concat(wo),e},Ag=function(t){var e=t._gsap||te.core.getCache(t);return e.gmCache===te.ticker.frame?e.gMatrix:(e.gmCache=te.ticker.frame,e.gMatrix=Ze(t,!0,!1,!0))},Pg=function t(e,n,r){r===void 0&&(r=0);for(var i=e.parentNode,o=1e3*Math.pow(10,r)*(n?-1:1),s=n?-o*900:0;e;)s+=o,e=e.previousSibling;return i?s+t(i,n,r+1):s},Ji=function(t,e,n){return t.forEach(function(r){return r.d=Pg(n?r.element:r.t,e)}),t.sort(function(r,i){return r.d-i.d}),t},ii=function(t,e){for(var n=t.element.style,r=t.css=t.css||[],i=e.length,o,s;i--;)o=e[i],s=n[o]||n.getPropertyValue(o),r.push(s?o:bu[o]||(bu[o]=bh(o)),s);return n},Ki=function(t){var e=t.css,n=t.element.style,r=0;for(t.cache.uncache=1;r<e.length;r+=2)e[r+1]?n[e[r]]=e[r+1]:n.removeProperty(e[r]);!e[e.indexOf("transform")+1]&&n.translate&&(n.removeProperty("translate"),n.removeProperty("scale"),n.removeProperty("rotate"))},wu=function(t,e){t.forEach(function(n){return n.a.cache.uncache=1}),e||t.finalStates.forEach(Ki)},ns="paddingTop,paddingRight,paddingBottom,paddingLeft,gridArea,transition".split(","),Wa=function(t,e,n){var r=t.element,i=t.width,o=t.height,s=t.uncache,a=t.getProp,l=r.style,u=4,c,f,p;if(typeof e!="object"&&(e=t),kt&&n!==1)return kt._abs.push({t:r,b:t,a:t,sd:0}),kt._final.push(function(){return(t.cache.uncache=1)&&Ki(t)}),r;for(f=a("display")==="none",(!t.isVisible||f)&&(f&&(ii(t,["display"]).display=e.display),t.matrix=e.matrix,t.width=i=t.width||e.width,t.height=o=t.height||e.height),ii(t,ns),p=window.getComputedStyle(r);u--;)l[ns[u]]=p[ns[u]];if(l.gridArea="1 / 1 / 1 / 1",l.transition="none",l.position="absolute",l.width=i+"px",l.height=o+"px",l.top||(l.top="0px"),l.left||(l.left="0px"),s)c=new Jn(r);else if(c=cr(t,Xi),c.position="absolute",t.simple){var d=r.getBoundingClientRect();c.matrix=new Xn(1,0,0,1,d.left+$a(),d.top+ja())}else c.matrix=Ze(r,!1,!1,!0);return c=mr(c,t,!0),t.x=sn(c.x,.01),t.y=sn(c.y,.01),r},Cu=function(t,e){return e!==!0&&(e=kr(e),t=t.filter(function(n){if(e.indexOf((n.sd<0?n.b:n.a).element)!==-1)return!0;n.t._gsap.renderTransform(1),n.b.isVisible&&(n.t.style.width=n.b.width+"px",n.t.style.height=n.b.height+"px")})),t},wh=function(t){return Ji(t,!0).forEach(function(e){return(e.a.isVisible||e.b.isVisible)&&Wa(e.sd<0?e.b:e.a,e.b,1)})},xg=function(t,e){return e&&t.idLookup[js(e).id]||t.elementStates[0]}
7,js=function(t,e,n,r){return t instanceof Jn?t:t instanceof Be?xg(t,r):new Jn(typeof t=="string"?Wr(t)||console.warn(t+" not found"):t,e,n)},Og=function(t,e){for(var n=te.getProperty(t.element,null,"native"),r=t.props={},i=e.length;i--;)r[e[i]]=(n(e[i])+"").trim();return r.zIndex&&(r.zIndex=parseFloat(r.zIndex)||0),t},Ch=function(t,e){var n=t.style||t,r;for(r in e)n[r]=e[r]},Ig=function(t){var e=t.getAttribute("data-flip-id");return e||t.setAttribute("data-flip-id",e="auto-"+kg++),e},Sh=function(t){return t.map(function(e){return e.element})},Su=function(t,e,n){return t&&e.length&&n.add(t(Sh(e),n,new Be(e,0,!0)),0)},mr=function(t,e,n,r,i,o){var s=t.element,a=t.cache,l=t.parent,u=t.x,c=t.y,f=e.width,p=e.height,d=e.scaleX,h=e.scaleY,_=e.rotation,T=e.bounds,b=o&&Bs&&Bs(s,"transform"),k=t,S=e.matrix,y=S.e,x=S.f,M=t.bounds.width!==T.width||t.bounds.height!==T.height||t.scaleX!==d||t.scaleY!==h||t.rotation!==_,O=!M&&t.simple&&e.simple&&!i,D,F,X,V,K,rt,et;return O||!l?(d=h=1,_=D=0):(K=Ag(l),rt=K.clone().multiply(e.ctm?e.matrix.clone().multiply(e.ctm):e.matrix),_=ur(Math.atan2(rt.b,rt.a)*vu),D=ur(Math.atan2(rt.c,rt.d)*vu+_)%360,d=Math.sqrt(Math.pow(rt.a,2)+Math.pow(rt.b,2)),h=Math.sqrt(Math.pow(rt.c,2)+Math.pow(rt.d,2))*Math.cos(D*Tg),i&&(i=kr(i)[0],V=te.getProperty(i),et=i.getBBox&&typeof i.getBBox=="function"&&i.getBBox(),k={scaleX:V("scaleX"),scaleY:V("scaleY"),width:et?et.width:Math.ceil(parseFloat(V("width","px"))),height:et?et.height:parseFloat(V("height","px"))}),a.rotation=_+"deg",a.skewX=D+"deg"),n?(d*=f===k.width||!k.width?1:f/k.width,h*=p===k.height||!k.height?1:p/k.height,a.scaleX=d,a.scaleY=h):(f=sn(f*d/k.scaleX,0),p=sn(p*h/k.scaleY,0),s.style.width=f+"px",s.style.height=p+"px"),r&&Ch(s,e.props),O||!l?(u+=y-t.matrix.e,c+=x-t.matrix.f):M||l!==e.parent?(a.renderTransform(1,a),rt=Ze(i||s,!1,!1,
7!0),F=K.apply({x:rt.e,y:rt.f}),X=K.apply({x:y,y:x}),u+=X.x-F.x,c+=X.y-F.y):(K.e=K.f=0,X=K.apply({x:y-t.matrix.e,y:x-t.matrix.f}),u+=X.x,c+=X.y),u=sn(u,.02),c=sn(c,.02),o&&!(o instanceof Jn)?b&&b.revert():(a.x=u+"px",a.y=c+"px",a.renderTransform(1,a)),o&&(o.x=u,o.y=c,o.rotation=_,o.skewX=D,n?(o.scaleX=d,o.scaleY=h):(o.width=f,o.height=p)),o||a},rs=function(t,e){return t instanceof Be?t:new Be(t,e)},kh=function(t,e,n){var r=t.idLookup[n],i=t.alt[n];return i.isVisible&&(!(e.getElementState(i.element)||i).isVisible||!r.isVisible)?i:r},is=[],os="width,height,overflowX,overflowY".split(","),_i,ku=function(t){if(t!==_i){var e=_n.style,n=_n.clientWidth===window.outerWidth,r=_n.clientHeight===window.outerHeight,i=4;if(t&&(n||r)){for(;i--;)is[i]=e[os[i]];n&&(e.width=_n.clientWidth+"px",e.overflowY="hidden"),r&&(e.height=_n.clientHeight+"px",e.overflowX="hidden"),_i=t}else if(_i){for(;i--;)is[i]?e[os[i]]=is[i]:e.removeProperty(bh(os[i]));_i=t}}},ss=function(t,e,n,r){t instanceof Be&&e instanceof Be||console.warn("Not a valid state object."),n=n||{};var i=n,o=i.clearProps,s=i.onEnter,a=i.onLeave,l=i.absolute,u=i.absoluteOnLeave,c=i.custom,f=i.delay,p=i.paused,d=i.repeat,h=i.repeatDelay,_=i.yoyo,T=i.toggleClass,b=i.nested,k=i.zIndex,S=i.scale,y=i.fade,x=i.stagger,M=i.spin,O=i.prune,D=("props"in n?n:t).props,F=cr(n,yu),X=te.timeline({delay:f,paused:p,repeat:d,repeatDelay:h,yoyo:_,data:"isFlip"}),V=F,K=[],rt=[],et=[],it=[],st=M===!0?1:M||0,Ct=typeof M=="function"?M:function(){return st},ct=t.interrupted||e.interrupted,Xt=X[r!==1?"to":"from"],A,R,w,C,g,m,v,E,U,L,j,G,H,lt;for(R in e.idLookup)j=e.alt[R]?kh(e,t,R):e.idLookup[R],g=j.element,L=t.idLookup[R],t.alt[R]&&g===L.element&&(t.alt[R].isVisible||!j.isVisible)&&(L=t.alt[R]),L?(m={t:g,b:L,a:j,sd:L.element===g?0:j.isVisible?1:-1},et.push(m),m.sd&&(m.sd<0&&(m.b=j,m.a=L),ct&&ii(m.b,D?yo[D]:wo),y&&et.push(m.swap={t:L.element,b:m.b,a:m.a,sd:-m.sd,swap:m})),g._flip=L.element._flip=kt?kt.timeline:X):j.isVisible&&(et.push({t:g,b:cr(j,{isVisible:1}),a:j,sd:0,entering:1}),g._flip=kt?kt.timeline:X);if(D&&(Ha[D]||yh(D)).forEach(function(Nt){return F[Nt]=function(On){return et[On].a.props[Nt]}}),et.finalStates=U=[],G=function(){for(Ji(et),ku(!0),C=0;C<et.length;C++)m=et[C],H=m.a,lt=m.b,O&&!H.isDifferent(lt)&&!m.entering?et.splice(C--,1):(g=m.t,b&&!(m.sd<0)&&C&&(H.matrix=Ze(g,!1,!1,!0)),lt.isVisible&&H.isVisible?(m.sd<0?(v=new Jn(g,D,t.simple),mr(v,H,S,0,0,v),v.matrix=Ze(g,!1,!1,!0),v.css=m.b.css,m.a=H=v,y&&(g.style.opacity=ct?lt.opacity:H.opacity),x&&it.push(g)):m.sd>0&&y&&(g.style.opacity=ct?H.opacity-lt.opacity:"0"),mr(H,lt,S,D)):lt.isVisible!==H.isVisible&&(lt.isVisible?H.isVisible||(lt.css=H.css,rt.push(lt),et.splice(C--,1),l&&b&&mr(H,lt,S,D)):(H.isVisible&&K.push(H),et.splice(C--,1))),S||(g.style.maxWidth=Math.max(H.width,lt.width)+"px",g.style.maxHeight=Math.max(H.height,lt.height)+"px",g.style.minWidth=Math.min(H.width,lt.width)+"px",g.style.minHeight=Math.min(H.height,lt.height)+"px"),b&&T&&g.classList.add(T)),U.push(H);var Nt;if(T&&(Nt=U.map(function(P){return P.element}),b&&Nt.forEach(function(P){return P.classList.remove(T)})),ku(!1),S?(F.scaleX=function(P){return et[P].a.scaleX},F.scaleY=function(P){return et[P].a.scaleY}):(F.width=function(P){return et[P].a.width+"px"},F.height=function(P){return et[P].a.height+"px"},F.autoRound=n.autoRound||!1),F.x=function(P){return et[P].a.x+"px"},F.y=function(P){return et[P].a.y+"px"},F.rotation=function(P){return et[P].a.rotation+(M?Ct(P,E[P],E)*360:0)},F.skewX=function(P){return et[P].a.skewX},E=et.map(function(P){return P.t}),(k||k===0)&&(F.modifiers={zIndex:function(){return k}},F.zIndex=k,F.immediateRender=n.immediateRender!==!1),y&&(F.opacity=function(P){return et[P].sd<0?0:et[P].sd>0?et[P].a.opacity:"+=0"}),it.length){x=te.utils.distribute(x);var On=E.slice(it.length);F.stagger=function(P,W){return x(~it.indexOf(W)?E.indexOf(et[P].swap.t):P,W,On)}}if(Eg.forEach(function(P){return n[P]&&X.eventCallback(P,n[P],n[P+"Params"])}),c&&E.length){V=cr(F,yu),"scale"in c&&(c.scaleX=c.scaleY=c.scale,delete c.scale);for(R in c)A=cr(c[R],vh),A[R]=F[R],!("duration"in A)&&"duration"in F&&(A.duration=F.duration),A.stagger=F.stagger,Xt.call(X,E,A,0),delete V[R]}(E.length||rt.length||K.length)&&(T&&X.add(function(){return es(Nt,T,X._zTime<0?"remove":"add")},0)&&!p&&es(Nt,T,"add"),E.length&&Xt.call(X,E,V,0)),Su(s,K,X),Su(a,rt,X);var I=kt&&kt.timeline;
7I&&(I.add(X,0),kt._final.push(function(){return wu(et,!o)})),w=X.duration(),X.call(function(){var P=X.time()>=w;P&&!I&&wu(et,!o),T&&es(Nt,T,P?"remove":"add")})},u&&(l=et.filter(function(Nt){return!Nt.sd&&!Nt.a.isVisible&&Nt.b.isVisible}).map(function(Nt){return Nt.a.element})),kt){var Jt;l&&(Jt=kt._abs).push.apply(Jt,Cu(et,l)),kt._run.push(G)}else l&&wh(Cu(et,l)),G();var je=kt?kt.timeline:X;return je.revert=function(){return Ga(je,1,1)},je},Rg=function t(e){e.vars.onInterrupt&&e.vars.onInterrupt.apply(e,e.vars.onInterruptParams||[]),e.getChildren(!0,!1,!0).forEach(t)},Ga=function(t,e,n){if(t&&t.progress()<1&&(!t.paused()||n))return e&&(Rg(t),e<2&&t.progress(1),t.kill()),!0},vi=function(t){for(var e=t.idLookup={},n=t.alt={},r=t.elementStates,i=r.length,o;i--;)o=r[i],e[o.id]?n[o.id]=o:e[o.id]=o},Be=(function(){function t(n,r,i){if(this.props=r&&r.props,this.simple=!!(r&&r.simple),i)this.targets=Sh(n),this.elementStates=n,vi(this);else{this.targets=kr(n);var o=r&&(r.kill===!1||r.batch&&!r.kill);kt&&!o&&kt._kill.push(this),this.update(o||!!kt)}}var e=t.prototype;return e.update=function(n){var r=this;return this.elementStates=this.targets.map(function(i){return new Jn(i,r.props,r.simple)}),vi(this),this.interrupt(n),this.recordInlineStyles(),this},e.clear=function(){return this.targets.length=this.elementStates.length=0,vi(this),this},e.fit=function(n,r,i){for(var o=Ji(this.elementStates.slice(0),!1,!0),s=(n||this).idLookup,a=0,l,u;a<o.length;a++)l=o[a],i&&(l.matrix=Ze(l.element,!1,!1,!0)),u=s[l.id],u&&mr(l,u,r,!0,0,l),l.matrix=Ze(l.element,!1,!1,!0);return this},e.getProperty=function(n,r){var i=this.getElementState(n)||Xi;return(r in i?i:i.props||Xi)[r]},e.add=function(n){for(var r=n.targets.length,i=this.idLookup,o=this.alt,s,a,l;r--;)a=n.elementStates[r],l=i[a.id],l&&(a.element===l.element||o[a.id]&&o[a.id].element===a.element)?(s=this.elementStates.indexOf(a.element===l.element?l:o[a.id]),this.targets.splice(s,1,n.targets[r]),this.elementStates.splice(s,1,a)):(this.targets.push(n.targets[r]),this.elementStates.push(a));return n.interrupted&&(this.interrupted=!0),n.simple||(this.simple=!1),vi(this),this},e.compare=function(n){var r=n.idLookup,i=this.idLookup,o=[],s=[],a=[],l=[],u=[],c=n.alt,f=this.alt,p=function(M,O,D){return(M.isVisible!==O.isVisible?M.isVisible?a:l:M.isVisible?s:o).push(D)&&u.push(D)},d=function(M,O,D){return u.indexOf(D)<0&&p(M,O,D)},h,_,T,b,k,S,y,x;for(T in r)k=c[T],S=f[T],h=k?kh(n,this,T):r[T],b=h.element,_=i[T],S?(x=_.isVisible||!S.isVisible&&b===_.element?_:S,y=k&&!h.isVisible&&!k.isVisible&&x.element===k.element?k:h,y.isVisible&&x.isVisible&&y.element!==x.element?((y.isDifferent(x)?s:o).push(y.element,x.element),u.push(y.element,x.element)):p(y,x,y.element),k&&y.element===k.element&&(k=r[T]),d(y.element!==_.element&&k?k:y,_,_.element),d(k&&k.element===S.element?k:y,S,S.element),k&&d(k,S.element===k.element?S:_,k.element)):(_?_.isDifferent(h)?p(h,_,b):o.push(b):a.push(b),k&&d(k,_,k.element));for(T in i)r[T]||(l.push(i[T].element),f[T]&&l.push(f[T].element));return{changed:s,unchanged:o,enter:a,leave:l}},e.recordInlineStyles=function(){for(var n=yo[this.props]||wo,r=this.elementStates.length;r--;)ii(this.elementStates[r],n)},e.interrupt=function(n){var r=this,i=[];this.targets.forEach(function(o){var s=o._flip,a=Ga(s,n?0:1);n&&a&&i.indexOf(s)<0&&s.add(function(){return r.updateVisibility()}),a&&i.push(s)}),!n&&i.length&&this.updateVisibility(),this.interrupted||(this.interrupted=!!i.length)},e.updateVisibility=function(){this.elementStates.forEach(function(n){var r=n.element.getBoundingClientRect();n.isVisible=!!(r.width||r.height||r.top||r.left),n.uncache=1})},e.getElementState=function(n){return this.elementStates[this.targets.indexOf(Wr(n))]},e.makeAbsolute=function(){return Ji(this.elementStates.slice(0),!0,!0).map(Wa)},t})(),Jn=(function(){function t(n,r,i){this.element=n,this.update(r,i)}var e=t.prototype;return e.isDifferent=function(n){var r=this.bounds,i=n.bounds;return r.top!==i.top||r.left!==i.left||r.width!==i.width||r.height!==i.height||!this.matrix.equals(n.matrix)||this.opacity!==n.opacity||this.props&&n.props&&JSON.stringify(this.props)!==JSON.stringify(n.props)},e.update=function(n,r){var i=this,o=i.element,s=te.getProperty(o),a=te.core.getCache(o),l=o.getBoundingClientRect(),u=o.getBBox&&typeof o.getBBox=="function"&&o.nodeName.toLowerCase()!=="svg"&&o.getBBox(),c=r?new Xn(1,0,0,1,l.left+$a(),l.top+ja()):Ze(o,!1,!1,
7!0);i.getProp=s,i.element=o,i.id=Ig(o),i.matrix=c,i.cache=a,i.bounds=l,i.isVisible=!!(l.width||l.height||l.left||l.top),i.display=s("display"),i.position=s("position"),i.parent=o.parentNode,i.x=s("x"),i.y=s("y"),i.scaleX=a.scaleX,i.scaleY=a.scaleY,i.rotation=s("rotation"),i.skewX=s("skewX"),i.opacity=s("opacity"),i.width=u?u.width:sn(s("width","px"),.04),i.height=u?u.height:sn(s("height","px"),.04),n&&Og(i,Ha[n]||yh(n)),i.ctm=o.getCTM&&o.nodeName.toLowerCase()==="svg"&&_h(o).inverse(),i.simple=r||ur(c.a)===1&&!ur(c.b)&&!ur(c.c)&&ur(c.d)===1,i.uncache=0},t})(),Mg=(function(){function t(n,r){this.vars=n,this.batch=r,this.states=[],this.timeline=r.timeline}var e=t.prototype;return e.getStateById=function(n){for(var r=this.states.length;r--;)if(this.states[r].idLookup[n])return this.states[r]},e.kill=function(){this.batch.remove(this)},t})(),Lg=(function(){function t(n){this.id=n,this.actions=[],this._kill=[],this._final=[],this._abs=[],this._run=[],this.data={},this.state=new Be,this.timeline=te.timeline()}var e=t.prototype;return e.add=function(n){var r=this.actions.filter(function(i){return i.vars===n});return r.length?r[0]:(r=new Mg(typeof n=="function"?{animate:n}:n,this),this.actions.push(r),r)},e.remove=function(n){var r=this.actions.indexOf(n);return r>=0&&this.actions.splice(r,1),this},e.getState=function(n){var r=this,i=kt,o=Hr;return kt=this,this.state.clear(),this._kill.length=0,this.actions.forEach(function(s){s.vars.getState&&(s.states.length=0,Hr=s,s.state=s.vars.getState(s)),n&&s.states.forEach(function(a){return r.state.add(a)})}),Hr=o,kt=i,this.killConflicts(),this},e.animate=function(){var n=this,r=kt,i=this.timeline,o=this.actions.length,s,a;for(kt=this,i.clear(),this._abs.length=this._final.length=this._run.length=0,this.actions.forEach(function(l){l.vars.animate&&l.vars.animate(l);var u=l.vars.onEnter,c=l.vars.onLeave,f=l.targets,p,d;f&&f.length&&(u||c)&&(p=new Be,l.states.forEach(function(h){return p.add(h)}),d=p.compare(Je.getState(f)),d.enter.length&&u&&u(d.enter),d.leave.length&&c&&c(d.leave))}),wh(this._abs),this._run.forEach(function(l){return l()}),a=i.duration(),s=this._final.slice(0),i.add(function(){a<=i.time()&&(s.forEach(function(l){return l()}),_u(n,"onComplete"))}),kt=r;o--;)this.actions[o].vars.once&&this.actions[o].kill();return _u(this,"onStart"),i.restart(),this},e.loadState=function(n){n||(n=function(){return 0});var r=[];return this.actions.forEach(function(i){if(i.vars.loadState){var o,s=function a(l){l&&(i.targets=l),o=r.indexOf(a),~o&&(r.splice(o,1),r.length||n())};r.push(s),i.vars.loadState(s)}}),r.length||n(),this},e.setState=function(){return this.actions.forEach(function(n){return n.targets=n.vars.setState&&n.vars.setState(n)}),this},e.killConflicts=function(n){return this.state.interrupt(n),this._kill.forEach(function(r){return r.interrupt(n)}),this},e.run=function(n,r){var i=this;return this!==kt&&(n||this.getState(r),this.loadState(function(){i._killed||(i.setState(),i.animate())})),this},e.clear=function(n){this.state.clear(),n||(this.actions.length=0)},e.getStateById=function(n){for(var r=this.actions.length,i;r--;)if(i=this.actions[r].getStateById(n),i)return i;return this.state.idLookup[n]&&this.state},e.kill=function(){this._killed=1,this.clear(),delete Fs[this.id]},t})(),Je=(function(){function t(){}return t.getState=function(e,n){var r=rs(e,n);return Hr&&Hr.states.push(r),n&&n.batch&&t.batch(n.batch).state.add(r),r},t.from=function(e,n){return n=n||{},"clearProps"in n||(n.clearProps=!0),ss(e,rs(n.targets||e.targets,{props:n.props||e.props,simple:n.simple,kill:!!n.kill}),n,-1)},t.to=function(e,n){return ss(e,rs(n.targets||e.targets,{props:n.props||e.props,simple:n.simple,kill:!!n.kill}),n,1)},t.fromTo=function(e,n,r){return ss(e,n,r)},t.fit=function(e,n,r){var i=r?cr(r,vh):{},o=r||i,s=o.absolute,a=o.scale,l=o.getVars,u=o.props,c=o.runBackwards,f=o.onComplete,p=o.simple,d=r&&r.fitChild&&Wr(r.fitChild),h=js(n,u,p,e),_=js(e,0,p,h),T=u?yo[u]:wo,b=te.context();return u&&Ch(i,h.props),ii(_,T),c&&("immediateRender"in i||(i.immediateRender=!0),i.onComplete=function(){Ki(_),f&&f.apply(this,arguments)}),s&&Wa(_,h),i=mr(_,h,a||d,u,d,i.duration||l?i:0),b&&!l&&b.add(function(){return function(){return Ki(_)}}),l?i:i.duration?te.to(_.element,i):null},t.makeAbsolute=function(e,n){return(e instanceof Be?e:new Be(e,n)).makeAbsolute()},t.batch=function(e){return e||(e="default"),Fs[e]||(Fs[e]=new Lg(e))},t.killFlipsOf=function(e,n){(e instanceof Be?e.targets:kr(e)).forEac
vendor: 4,270 bytes, line 7
7h(function(r){return r&&Ga(r._flip,n!==!1?1:2)})},t.isFlipping=function(e){var n=t.getByTarget(e);return!!n&&n.isActive()},t.getByTarget=function(e){return(Wr(e)||Xi)._flip},t.getElementState=function(e,n){return new Jn(Wr(e),n)},t.convertCoordinates=function(e,n,r){var i=Ze(n,!0,!0).multiply(Ze(e));return r?i.apply(r):i},t.register=function(e){if(_n=typeof document<"u"&&document.body,_n){te=e,Fa(_n),kr=te.utils.toArray,Bs=te.core.getStyleSaver;var n=te.utils.snap(.1);sn=function(r,i){return n(parseFloat(r)+i)}}},t})();Je.version="3.12.5";typeof window<"u"&&window.gsap&&window.gsap.registerPlugin(Je);let Th;const Co=t=>Th=t,Eh=Symbol();function $s(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var Gr;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(Gr||(Gr={}));function Dg(){const t=Qs(!0),e=t.run(()=>ot({}));let n=[],r=[];const i=cc({install(o){Co(i),i._a=o,o.provide(Eh,i),o.config.globalProperties.$pinia=i,r.forEach(s=>n.push(s)),r=[]},use(o){return this._a?n.push(o):r.push(o),this},_p:n,_a:null,_e:t,_s:new Map,state:e});return i}const Ah=()=>{};function Tu(t,e,n,r=Ah){t.push(e);const i=()=>{const o=t.indexOf(e);o>-1&&(t.splice(o,1),r())};return!n&&dc()&&pc(i),i}function or(t,...e){t.slice().forEach(n=>{n(...e)})}const Ug=t=>t(),Eu=Symbol(),as=Symbol();function zs(t,e){t instanceof Map&&e instanceof Map?e.forEach((n,r)=>t.set(r,n)):t instanceof Set&&e instanceof Set&&e.forEach(t.add,t);for(const n in e){if(!e.hasOwnProperty(n))continue;const r=e[n],i=t[n];$s(i)&&$s(r)&&t.hasOwnProperty(n)&&!Xr(r)&&!_c(r)?t[n]=zs(i,r):t[n]=r}return t}const Ng=Symbol();function Bg(t){return!$s(t)||!t.hasOwnProperty(Ng)}const{assign:mn}=Object;function Fg(t){return!!(Xr(t)&&t.effect)}function jg(t,e,n,r){const{state:i,actions:o,getters:s}=e,a=n.state.value[t];let l;function u(){!a&&(n.state.value[t]=i?i():{});const c=ed(n.state.value[t]);return mn(c,o,Object.keys(s||{}).reduce((f,p)=>(f[p]=cc(pt(()=>{Co(n);const d=n._s.get(t);return s[p].call(d,d)})),f),{}))}return l=Ph(t,u,e,n,r,!0),l}function Ph(t,e,n={},r,i,o){let s;const a=mn({actions:{}},n),l={deep:!0};let u,c,f=[],p=[],d;const h=r.state.value[t];!o&&!h&&(r.state.value[t]={});let _;function T(O){let D;u=c=!1,typeof O=="function"?(O(r.state.value[t]),D={type:Gr.patchFunction,storeId:t,events:d}):(zs(r.state.value[t],O),D={type:Gr.patchObject,payload:O,storeId:t,events:d});const F=_=Symbol();mc().then(()=>{_===F&&(u=!0)}),c=!0,or(f,D,r.state.value[t])}const b=o?function(){const{state:O}=n,D=O?O():{};this.$patch(F=>{mn(F,D)})}:Ah;function k(){s.stop(),f=[],p=[],r._s.delete(t)}const S=(O,D="")=>{if(Eu in O)return O[as]=D,O;const F=function(){Co(r);const X=Array.from(arguments),V=[],K=[];function rt(st){V.push(st)}function et(st){K.push(st)}or(p,{args:X,name:F[as],store:x,after:rt,onError:et});let it;try{it=O.apply(this&&this.$id===t?this:x,X)}catch(st){throw or(K,st),st}return it instanceof Promise?it.then(st=>(or(V,st),st)).catch(st=>(or(K,st),Promise.reject(st))):(or(V,it),it)};return F[Eu]=!0,F[as]=D,F},y={_p:r,$id:t,$onAction:Tu.bind(null,p),$patch:T,$reset:b,$subscribe(O,D={}){const F=Tu(f,O,D.detached,()=>X()),X=s.run(()=>Zt(()=>r.state.value[t],V=>{(D.flush==="sync"?c:u)&&O({storeId:t,type:Gr.direct,events:d},V)},mn({},l,D)));return F},$dispose:k},x=td(y);r._s.set(t,x);const M=(r._a&&r._a.runWithContext||Ug)(()=>r._e.run(()=>(s=Qs()).run(()=>e({action:S}))));for(const O in M){const D=M[O];if(Xr(D)&&!Fg(D)||_c(D))o||(h&&Bg(D)&&(Xr(D)?D.value=h[O]:zs(D,h[O])),r.state.value[t][O]=D);else if(typeof D=="function"){const F=S(D,O);M[O]=F,a.actions[O]=D}}return mn(x,M),mn(Qh(x),M),Object.defineProperty(x,"$state",{get:()=>r.state.value[t],set:O=>{T(D=>{mn(D,O)})}}),r._p.forEach(O=>{mn(x,s.run(()=>O({store:x,app:r._a,pinia:r,options:a})))}),h&&o&&n.hydrate&&n.hydrate(x.$state,h),u=!0,c=!0,x}function xh(t,e,n){let r,i;const o=typeof e=="function";typeof t=="string"?(r=t,i=o?n:e):(i=t,r=t.id);function s(a,l){const u=Zh();return a=a||(u?ce(Eh,null):null),a&&Co(a),a=Th,a._s.has(r)||(o?Ph(r,e,i,a):jg(r,i,a)),a._s.get(r)}return s.$id=r,s}const Va=xh("menuStore",()=>{const t=ot(!1),e=ot(!1),n=ot(!1);return{notificationMenu:t,tasklistMenu:e,mailMenu:n}});
7class Hn extends Error{constructor(e,n){const r=new.target.prototype;super(`${e}: Status code '${n}'`),this.statusCode=n,this.__proto__=r}}class Ya extends Error{constructor(e="A timeout occurred."){const n=new.target.prototype;super(e),this.__proto__=n}}class Ue extends Error{constructor(e="An abort occurred."){const n=new.target.prototype;super(e),this.__proto__=n}}class $g extends Error{constructor(e,n){const r=new.target.prototype;super(e),this.transport=n,this.errorType="UnsupportedTransportError",this.__proto__=r}}class zg extends Error{constructor(e,n){const r=new.target.prototype;super(e),this.transport=n,this.errorType="DisabledTransportError",this.__proto__=r}}class qg extends Error{constructor(e,n){const r=new.target.prototype;super(e),this.transport=n,this.errorType="FailedToStartTransportError",this.__proto__=r}}class Au extends Error{constructor(e){const n=new.target.prototype;super(e),this.errorType="FailedToNegotiateWithServerError",this.__proto__=n}}class Hg extends Error{constructor(e,n){const r=new.target.prototype;super(e),this.innerErrors=n,this.__proto__=r}}class Oh{constructor(e,n,r){this.statusCode=e,this.statusText=n,this.content=r}}class So{get(e,n){return this.send({...n,method:"GET",url:e})}post(e,n){return this.send({...n,method:"POST",url:e})}delete(e,n){return this.send({...n,method:"DELETE",url:e})}getCookieString(e){return""}}var $;(function(t){t[t.Trace=0]="Trace",t[t.Debug=1]="Debug",t[t.Information=2]="Information",t[t.Warning=3]="Warning",t[t.Error=4]="Error",t[t.Critical=5]="Critical",t[t.None=6]="None"})($||($={}));class oi{constructor(){}log(e,n){}}oi.instance=new oi;const Wg="8.0.7";class $t{static isRequired(e,n){if(e==null)throw new Error(`The '${n}' argument is required.`)}static isNotEmpty(e,n){if(!e||e.match(/^\s*$/))throw new Error(`The '${n}' argument should not be empty.`)}static isIn(e,n,r){if(!(e in n))throw new Error(`Unknown ${r} value: ${e}.`)}}class Ot{static get isBrowser(){return!Ot.isNode&&typeof window=="object"&&typeof window.document=="object"}static get isWebWorker(){return!Ot.isNode&&typeof self=="object"&&"importScripts"in self}static get isReactNative(){return!Ot.isNode&&typeof window=="object"&&typeof window.document>"u"}static get isNode(){return typeof process<"u"&&process.release&&process.release.name==="node"}}function si(t,e){let n="";return Kn(t)?(n=`Binary data of length ${t.byteLength}`,e&&(n+=`. Content: '${Gg(t)}'`)):typeof t=="string"&&(n=`String data of length ${t.length}`,e&&(n+=`. Content: '${t}'`)),n}function Gg(t){const e=new Uint8Array(t);let n="";return e.forEach(r=>{const i=r<16?"0":"";n+=`0x${i}${r.toString(16)} `}),n.substr(0,n.length-1)}function Kn(t){return t&&typeof ArrayBuffer<"u"&&(t instanceof ArrayBuffer||t.constructor&&t.constructor.name==="ArrayBuffer")}async function Ih(t,e,n,r,i,o){const s={},[a,l]=Tr();s[a]=l,t.log($.Trace,`(${e} transport) sending data. ${si(i,o.logMessageContent)}.`);const u=Kn(i)?"arraybuffer":"text",c=await n.post(r,{content:i,headers:{...s,...o.headers},responseType:u,timeout:o.timeout,withCredentials:o.withCredentials});t.log($.Trace,`(${e} transport) request complete. Response status: ${c.statusCode}.`)}function Vg(t){return t===void 0?new Zi($.Information):t===null?oi.instance:t.log!==void 0?t:new Zi(t)}class Yg{constructor(e,n){this._subject=e,this._observer=n}dispose(){const e=this._subject.observers.indexOf(this._observer);e>-1&&this._subject.observers.splice(e,1),this._subject.observers.length===0&&this._subject.cancelCallback&&this._subject.cancelCallback().catch(n=>{})}}class Zi{constructor(e){this._minLevel=e,this.out=console}log(e,n){if(e>=this._minLevel){const r=`[${new Date().toISOString()}] ${$[e]}: ${n}`;switch(e){case $.Critical:case $.Error:this.out.error(r);break;case $.Warning:this.out.warn(r);break;case $.Information:this.out.info(r);break;default:this.out.log(r);break}}}}function Tr(){let t="X-SignalR-User-Agent";return Ot.isNode&&(t="User-Agent"),[t,Xg(Wg,Jg(),Zg(),Kg())]}function Xg(t,e,n,r){let i="Microsoft SignalR/";const o=t.split(".");return i+=`${o[0]}.${o[1]}`,i+=` (${t}; `,e&&e!==""?i+=`${e}; `:i+="Unknown OS; ",i+=`${n}`,r?i+=`; ${r}`:i+="; Unknown Runtime Version",i+=")",i}function Jg(){if(Ot.isNode)switch(process.platform){case"win32":return"Windows NT";case"darwin":return"macOS";case"linux":return"Linux";default:return process.platform}else return""}function Kg(){if(Ot.isNode)return process.versions.node}function Zg(){return Ot.isNode?"NodeJS":"Browser"}function ls(t){return t.stack?t.stack:t.message?t.message:`${t}`}function Qg(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("could not find global")}class t_ extends So{constructor(e){if(super(),this._logger=e,typeof fetch>"u"||Ot.isNode){const n=typeof __webpack_require__=="function"?__non_webpack_require__:require;this._jar=new(n("tough-cookie")).CookieJar,typeof fetch>"u"?this._fetchType=n("node-fetch"):this._fetchType=fetch,this._fetchType=n("fetch-cookie")(this._fetchType,this._jar)}else this._fetchType=fetch.bind(Qg());if(typeof AbortController>"u"){const n=typeof __webpack_require__=="function"?__non_webpack_require__:require;this._abortControllerType=n("abort-controller")}else this._abortControllerType=AbortController}async send(e){if(e.abortSignal&&e.abortSignal.aborted)throw new Ue;if(!e.method)throw new Error("No method defined.");if(!e.url)throw new Error("No url defined.");const n=new this._abortControllerType;let r;e.abortSignal&&(e.abortSignal.onabort=()=>
7{n.abort(),r=new Ue});let i=null;if(e.timeout){const a=e.timeout;i=setTimeout(()=>{n.abort(),this._logger.log($.Warning,"Timeout from HTTP request."),r=new Ya},a)}e.content===""&&(e.content=void 0),e.content&&(e.headers=e.headers||{},Kn(e.content)?e.headers["Content-Type"]="application/octet-stream":e.headers["Content-Type"]="text/plain;charset=UTF-8");let o;try{o=await this._fetchType(e.url,{body:e.content,cache:"no-cache",credentials:e.withCredentials===!0?"include":"same-origin",headers:{"X-Requested-With":"XMLHttpRequest",...e.headers},method:e.method,mode:"cors",redirect:"follow",signal:n.signal})}catch(a){throw r||(this._logger.log($.Warning,`Error from HTTP request. ${a}.`),a)}finally{i&&clearTimeout(i),e.abortSignal&&(e.abortSignal.onabort=null)}if(!o.ok){const a=await Pu(o,"text");throw new Hn(a||o.statusText,o.status)}const s=await Pu(o,e.responseType);return new Oh(o.status,o.statusText,s)}getCookieString(e){let n="";return Ot.isNode&&this._jar&&this._jar.getCookies(e,(r,i)=>n=i.join("; ")),n}}function Pu(t,e){let n;switch(e){case"arraybuffer":n=t.arrayBuffer();break;case"text":n=t.text();break;case"blob":case"document":case"json":throw new Error(`${e} is not supported.`);default:n=t.text();break}return n}class e_ extends So{constructor(e){super(),this._logger=e}send(e){return e.abortSignal&&e.abortSignal.aborted?Promise.reject(new Ue):e.method?e.url?new Promise((n,r)=>{const i=new XMLHttpRequest;i.open(e.method,e.url,!0),i.withCredentials=e.withCredentials===void 0?!0:e.withCredentials,i.setRequestHeader("X-Requested-With","XMLHttpRequest"),e.content===""&&(e.content=void 0),e.content&&(Kn(e.content)?i.setRequestHeader("Content-Type","application/octet-stream"):i.setRequestHeader("Content-Type","text/plain;charset=UTF-8"));const o=e.headers;o&&Object.keys(o).forEach(s=>{i.setRequestHeader(s,o[s])}),e.responseType&&(i.responseType=e.responseType),e.abortSignal&&(e.abortSignal.onabort=()=>{i.abort(),r(new Ue)}),e.timeout&&(i.timeout=e.timeout),i.onload=()=>{e.abortSignal&&(e.abortSignal.onabort=null),i.status>=200&&i.status<300?n(new Oh(i.status,i.statusText,i.response||i.responseText)):r(new Hn(i.response||i.responseText||i.statusText,i.status))},i.onerror=()=>{this._logger.log($.Warning,`Error from HTTP request. ${i.status}: ${i.statusText}.`),r(new Hn(i.statusText,i.status))},i.ontimeout=()=>{this._logger.log($.Warning,"Timeout from HTTP request."),r(new Ya)},i.send(e.content)}):Promise.reject(new Error("No url defined.")):Promise.reject(new Error("No method defined."))}}class n_ extends So{constructor(e){if(super(),typeof fetch<"u"||Ot.isNode)this._httpClient=new t_(e);else if(typeof XMLHttpRequest<"u")this._httpClient=new e_(e);else throw new Error("No usable HttpClient found.")}send(e){return e.abortSignal&&e.abortSignal.aborted?Promise.reject(new Ue):e.method?e.url?this._httpClient.send(e):Promise.reject(new Error("No url defined.")):Promise.reject(new Error("No method defined."))}getCookieString(e){return this._httpClient.getCookieString(e)}}class ke{static write(e){return`${e}${ke.RecordSeparator}`}static parse(e){if(e[e.length-1]!==ke.RecordSeparator)throw new Error("Message is incomplete.");const n=e.split(ke.RecordSeparator);return n.pop(),n}}ke.RecordSeparatorCode=30;ke.RecordSeparator=String.fromCharCode(ke.RecordSeparatorCode);class r_{writeHandshakeRequest(e){return ke.write(JSON.stringify(e))}parseHandshakeResponse(e){let n,r;if(Kn(e)){const s=new Uint8Array(e),a=s.indexOf(ke.RecordSeparatorCode);
7if(a===-1)throw new Error("Message is incomplete.");const l=a+1;n=String.fromCharCode.apply(null,Array.prototype.slice.call(s.slice(0,l))),r=s.byteLength>l?s.slice(l).buffer:null}else{const s=e,a=s.indexOf(ke.RecordSeparator);if(a===-1)throw new Error("Message is incomplete.");const l=a+1;n=s.substring(0,l),r=s.length>l?s.substring(l):null}const i=ke.parse(n),o=JSON.parse(i[0]);if(o.type)throw new Error("Expected a handshake response from the server.");return[r,o]}}var at;(function(t){t[t.Invocation=1]="Invocation",t[t.StreamItem=2]="StreamItem",t[t.Completion=3]="Completion",t[t.StreamInvocation=4]="StreamInvocation",t[t.CancelInvocation=5]="CancelInvocation",t[t.Ping=6]="Ping",t[t.Close=7]="Close",t[t.Ack=8]="Ack",t[t.Sequence=9]="Sequence"})(at||(at={}));class i_{constructor(){this.observers=[]}next(e){for(const n of this.observers)n.next(e)}error(e){for(const n of this.observers)n.error&&n.error(e)}complete(){for(const e of this.observers)e.complete&&e.complete()}subscribe(e){return this.observers.push(e),new Yg(this,e)}}class o_{constructor(e,n,r){this._bufferSize=1e5,this._messages=[],this._totalMessageCount=0,this._waitForSequenceMessage=!1,this._nextReceivingSequenceId=1,this._latestReceivedSequenceId=0,this._bufferedByteCount=0,this._reconnectInProgress=!1,this._protocol=e,this._connection=n,this._bufferSize=r}async _send(e){const n=this._protocol.writeMessage(e);let r=Promise.resolve();if(this._isInvocationMessage(e)){this._totalMessageCount++;let i=()=>{},o=()=>{};Kn(n)?this._bufferedByteCount+=n.byteLength:this._bufferedByteCount+=n.length,this._bufferedByteCount>=this._bufferSize&&(r=new Promise((s,a)=>{i=s,o=a})),this._messages.push(new s_(n,this._totalMessageCount,i,o))}try{this._reconnectInProgress||await this._connection.send(n)}catch{this._disconnected()}await r}_ack(e){let n=-1;for(let r=0;r<this._messages.length;r++){const i=this._messages[r];if(i._id<=e.sequenceId)n=r,Kn(i._message)?this._bufferedByteCount-=i._message.byteLength:this._bufferedByteCount-=i._message.length,i._resolver();else if(this._bufferedByteCount<this._bufferSize)i._resolver();else break}n!==-1&&(this._messages=this._messages.slice(n+1))}_shouldProcessMessage(e){if(this._waitForSequenceMessage)return e.type!==at.Sequence?!1:(this._waitForSequenceMessage=!1,!0);if(!this._isInvocationMessage(e))return!0;const n=this._nextReceivingSequenceId;return this._nextReceivingSequenceId++,n<=this._latestReceivedSequenceId?(n===this._latestReceivedSequenceId&&this._ackTimer(),!1):(this._latestReceivedSequenceId=n,this._ackTimer(),!0)}_resetSequence(e){if(e.sequenceId>this._nextReceivingSequenceId){this._connection.stop(new Error("Sequence ID greater than amount of messages we've received."));return}this._nextReceivingSequenceId=e.sequenceId}_disconnected(){this._reconnectInProgress=!0,this._waitForSequenceMessage=!0}async _resend(){const e=this._messages.length!==0?this._messages[0]._id:this._totalMessageCount+1;await this._connection.send(this._protocol.writeMessage({type:at.Sequence,sequenceId:e}));const n=this._messages;for(const r of n)await this._connection.send(r._message);this._reconnectInProgress=!1}_dispose(e){e??(e=new Error("Unable to reconnect to server."));for(const n of this._messages)n._rejector(e)}_isInvocationMessage(e){switch(e.type){case at.Invocation:case at.StreamItem:case at.Completion:case at.StreamInvocation:case at.CancelInvocation:return!0;case at.Close:case at.Sequence:case at.Ping:case at.Ack:return!1}}_ackTimer(){this._ackTimerHandle===void 0&&(this._ackTimerHandle=setTimeout(async()=>{try{this._reconnectInProgress||await this._connection.send(this._protocol.writeMessage({type:at.Ack,sequenceId:this._latestReceivedSequenceId}))}catch{}clearTimeout(this._ackTimerHandle),this._ackTimerHandle=void 0},1e3))}}class s_{constructor(e,n,r,i){this._message=e,this._id=n,this._resolver=r,this._rejector=i}}const a_=30*1e3,l_=15*1e3,u_=1e5;var Et;(function(t){t.Disconnected="Disconnected",t.Connecting="Connecting",t.Connected="Connected",t.Disconnecting="Disconnecting",t.Reconnecting="Reconnecting"})(Et||(Et={}));class Xa{static create(e,n,r,i,o,s,a){return new Xa(e,n,r,i,o,s,a)}constructor(e,n,r,i,o,s,a){this._nextKeepAlive=0,this._freezeEventListener=()=>{this._logger.log($.Warning,"The page is being frozen, this will likely lead to the connection being closed and messages being lost. For more information see the docs at https://learn.microsoft.com/aspnet/core/signalr/javascript-client#bsleep")},$t.isRequired(e,"connection"),$t.isRequired(n,"logger"),$t.isRequired(r,"protocol"),this.serverTimeoutInMilliseconds=o??a_,this.keepAliveIntervalInMilliseconds=s??l_,this._statefulReconnectBufferSize=a??u_,this._logger=n,this._protocol=r,this.connection=e,this._reconnectPolicy=i,this._handshakeProtocol=new r_,this.connection.onreceive=l=>
vendor: 7,912 bytes, line 7
7this._processIncomingData(l),this.connection.onclose=l=>this._connectionClosed(l),this._callbacks={},this._methods={},this._closedCallbacks=[],this._reconnectingCallbacks=[],this._reconnectedCallbacks=[],this._invocationId=0,this._receivedHandshakeResponse=!1,this._connectionState=Et.Disconnected,this._connectionStarted=!1,this._cachedPingMessage=this._protocol.writeMessage({type:at.Ping})}get state(){return this._connectionState}get connectionId(){return this.connection&&this.connection.connectionId||null}get baseUrl(){return this.connection.baseUrl||""}set baseUrl(e){if(this._connectionState!==Et.Disconnected&&this._connectionState!==Et.Reconnecting)throw new Error("The HubConnection must be in the Disconnected or Reconnecting state to change the url.");if(!e)throw new Error("The HubConnection url must be a valid url.");this.connection.baseUrl=e}start(){return this._startPromise=this._startWithStateTransitions(),this._startPromise}async _startWithStateTransitions(){if(this._connectionState!==Et.Disconnected)return Promise.reject(new Error("Cannot start a HubConnection that is not in the 'Disconnected' state."));this._connectionState=Et.Connecting,this._logger.log($.Debug,"Starting HubConnection.");try{await this._startInternal(),Ot.isBrowser&&window.document.addEventListener("freeze",this._freezeEventListener),this._connectionState=Et.Connected,this._connectionStarted=!0,this._logger.log($.Debug,"HubConnection connected successfully.")}catch(e){return this._connectionState=Et.Disconnected,this._logger.log($.Debug,`HubConnection failed to start successfully because of error '${e}'.`),Promise.reject(e)}}async _startInternal(){this._stopDuringStartError=void 0,this._receivedHandshakeResponse=!1;const e=new Promise((n,r)=>{this._handshakeResolver=n,this._handshakeRejecter=r});await this.connection.start(this._protocol.transferFormat);try{let n=this._protocol.version;this.connection.features.reconnect||(n=1);const r={protocol:this._protocol.name,version:n};if(this._logger.log($.Debug,"Sending handshake request."),await this._sendMessage(this._handshakeProtocol.writeHandshakeRequest(r)),this._logger.log($.Information,`Using HubProtocol '${this._protocol.name}'.`),this._cleanupTimeout(),this._resetTimeoutPeriod(),this._resetKeepAliveInterval(),await e,this._stopDuringStartError)throw this._stopDuringStartError;this.connection.features.reconnect&&(this._messageBuffer=new o_(this._protocol,this.connection,this._statefulReconnectBufferSize),this.connection.features.disconnected=this._messageBuffer._disconnected.bind(this._messageBuffer),this.connection.features.resend=()=>{if(this._messageBuffer)return this._messageBuffer._resend()}),this.connection.features.inherentKeepAlive||await this._sendMessage(this._cachedPingMessage)}catch(n){throw this._logger.log($.Debug,`Hub handshake failed with error '${n}' during start(). Stopping HubConnection.`),this._cleanupTimeout(),this._cleanupPingTimer(),await this.connection.stop(n),n}}async stop(){const e=this._startPromise;this.connection.features.reconnect=!1,this._stopPromise=this._stopInternal(),await this._stopPromise;try{await e}catch{}}_stopInternal(e){if(this._connectionState===Et.Disconnected)return this._logger.log($.Debug,`Call to HubConnection.stop(${e}) ignored because it is already in the disconnected state.`),Promise.resolve();if(this._connectionState===Et.Disconnecting)return this._logger.log($.Debug,`Call to HttpConnection.stop(${e}) ignored because the connection is already in the disconnecting state.`),this._stopPromise;const n=this._connectionState;return this._connectionState=Et.Disconnecting,this._logger.log($.Debug,"Stopping HubConnection."),this._reconnectDelayHandle?(this._logger.log($.Debug,"Connection stopped during reconnect delay. Done reconnecting."),clearTimeout(this._reconnectDelayHandle),this._reconnectDelayHandle=void 0,this._completeClose(),Promise.resolve()):(n===Et.Connected&&this._sendCloseMessage(),this._cleanupTimeout(),this._cleanupPingTimer(),this._stopDuringStartError=e||new Ue("The connection was stopped before the hub handshake could complete."),this.connection.stop(e))}async _sendCloseMessage(){try{await this._sendWithProtocol(this._createCloseMessage())}catch{}}stream(e,...n){const[r,i]=this._replaceStreamingParams(n),o=this._createStreamInvocation(e,n,i);let s;const a=new i_;return a.cancelCallback=()=>{const l=this._createCancelInvocation(o.invocationId);return delete this._callbacks[o.invocationId],s.then(()=>this._sendWithProtocol(l))},this._callbacks[o.invocationId]=(l,u)=>{if(u){a.error(u);return}else l&&(l.type===at.Completion?l.error?a.error(new Error(l.error)):a.complete():a.next(l.item))},s=this._sendWithProtocol(o).catch(l=>{a.error(l),delete this._callbacks[o.invocationId]}),this._launchStreams(r,s),a}_sendMessage(e){return this._resetKeepAliveInterval(),this.connection.send(e)}_sendWithProtocol(e){return this._messageBuffer?this._messageBuffer._send(e):this._sendMessage(this._protocol.writeMessage(e))}send(e,...n){const[r,i]=this._replaceStreamingParams(n),o=this._sendWithProtocol(this._createInvocation(e,n,!0,i));return this._launchStreams(r,o),o}invoke(e,...n){const[r,i]=this._replaceStreamingParams(n),o=this._createInvocation(e,n,!1,i);return new Promise((s,a)=>{this._callbacks[o.invocationId]=(u,c)=>{if(c){a(c);return}else u&&(u.type===at.Completion?u.error?a(new Error(u.error)):s(u.result):a(new Error(`Unexpected message type: ${u.type}`)))};const l=this._sendWithProtocol(o).catch(u=>{a(u),delete this._callbacks[o.invocationId]});this._launchStreams(r,l)})}on(e,n){!e||!n||(e=e.toLowerCase(),this._methods[e]||(this._methods[e]=[]),this._methods[e].indexOf(n)===-1&&this._methods[e].push(n))}off(e,n){if(!e)return;e=e.toLowerCase();const r=this._methods[e];if(r)if(n){const i=r.indexOf(n);i!==-1&&(r.splice(i,1),r.length===0&&delete this._methods[e])}else delete this._methods[e]}onclose(e){e&&this._closedCallbacks.push(e)}onreconnecting(e){e&&this._reconnectingCallbacks.push(e)}onreconnected(e){e&&this._reconnectedCallbacks.push(e)}_processIncomingData(e){if(this._cleanupTimeout(),this._receivedHandshakeResponse||(e=this._processHandshakeResponse(e),this._receivedHandshakeResponse=!0),e){const n=this._protocol.parseMessages(e,this._logger);for(const r of n)if(!(this._messageBuffer&&!this._messageBuffer._shouldProcessMessage(r)))switch(r.type){case at.Invocation:this._invokeClientMethod(r).catch(i=>{this._logger.log($.Error,`Invoke client method threw error: ${ls(i)}`)});break;case at.StreamItem:case at.Completion:{const i=this._callbacks[r.invocationId];if(i){r.type===at.Completion&&delete this._callbacks[r.invocationId];try{i(r)}catch(o){this._logger.log($.Error,`Stream callback threw error: ${ls(o)}`)}}break}case at.Ping:break;case at.Close:{this._logger.log($.Information,"Close message received from server.");const i=r.error?new Error("Server returned an error on close: "+r.error):void 0;r.allowReconnect===!0?this.connection.stop(i):this._stopPromise=this._stopInternal(i);break}case at.Ack:this._messageBuffer&&this._messageBuffer._ack(r);break;case at.Sequence:this._messageBuffer&&this._messageBuffer._resetSequence(r);break;default:this._logger.log($.Warning,`Invalid message type: ${r.type}.`);break}}this._resetTimeoutPeriod()}_processHandshakeResponse(e){let n,r;try{[r,n]=this._handshakeProtocol.parseHandshakeResponse(e)}catch(i){const o="Error parsing handshake response: "+i;this._logger.log($.Error,o);const s=new Error(o);throw this._handshakeRejecter(s),s}if(n.error){const i="Server returned handshake error: "+n.error;this._logger.log($.Error,i);const o=new Error(i);throw this._handshakeRejecter(o),o}else this._logger.log($.Debug,"Server handshake complete.");return this._handshakeResolver(),r}_resetKeepAliveInterval(){this.connection.features.inherentKeepAlive||(this._nextKeepAlive=new Date().getTime()+this.keepAliveIntervalInMilliseconds,this._cleanupPingTimer())}
7_resetTimeoutPeriod(){if((!this.connection.features||!this.connection.features.inherentKeepAlive)&&(this._timeoutHandle=setTimeout(()=>this.serverTimeout(),this.serverTimeoutInMilliseconds),this._pingServerHandle===void 0)){let e=this._nextKeepAlive-new Date().getTime();e<0&&(e=0),this._pingServerHandle=setTimeout(async()=>{if(this._connectionState===Et.Connected)try{await this._sendMessage(this._cachedPingMessage)}catch{this._cleanupPingTimer()}},e)}}serverTimeout(){this.connection.stop(new Error("Server timeout elapsed without receiving a message from the server."))}async _invokeClientMethod(e){const n=e.target.toLowerCase(),r=this._methods[n];if(!r){this._logger.log($.Warning,`No client method with the name '${n}' found.`),e.invocationId&&(this._logger.log($.Warning,`No result given for '${n}' method and invocation ID '${e.invocationId}'.`),await this._sendWithProtocol(this._createCompletionMessage(e.invocationId,"Client didn't provide a result.",null)));return}const i=r.slice(),o=!!e.invocationId;let s,a,l;for(const u of i)try{const c=s;s=await u.apply(this,e.arguments),o&&s&&c&&(this._logger.log($.Error,`Multiple results provided for '${n}'. Sending error to server.`),l=this._createCompletionMessage(e.invocationId,"Client provided multiple results.",null)),a=void 0}catch(c){a=c,this._logger.log($.Error,`A callback for the method '${n}' threw error '${c}'.`)}l?await this._sendWithProtocol(l):o?(a?l=this._createCompletionMessage(e.invocationId,`${a}`,null):s!==void 0?l=this._createCompletionMessage(e.invocationId,null,s):(this._logger.log($.Warning,`No result given for '${n}' method and invocation ID '${e.invocationId}'.`),l=this._createCompletionMessage(e.invocationId,"Client didn't provide a result.",null)),await this._sendWithProtocol(l)):s&&this._logger.log($.Error,`Result given for '${n}' method but server is not expecting a result.`)}_connectionClosed(e){this._logger.log($.Debug,`HubConnection.connectionClosed(${e}) called while in state ${this._connectionState}.`),this._stopDuringStartError=this._stopDuringStartError||e||new Ue("The underlying connection was closed before the hub handshake could complete."),this._handshakeResolver&&this._handshakeResolver(),this._cancelCallbacksWithError(e||new Error("Invocation canceled due to the underlying connection being closed.")),this._cleanupTimeout(),this._cleanupPingTimer(),this._connectionState===Et.Disconnecting?this._completeClose(e):this._connectionState===Et.Connected&&this._reconnectPolicy?this._reconnect(e):this._connectionState===Et.Connected&&this._completeClose(e)}_completeClose(e){if(this._connectionStarted){this._connectionState=Et.Disconnected,this._connectionStarted=!1,this._messageBuffer&&(this._messageBuffer._dispose(e??new Error("Connection closed.")),this._messageBuffer=void 0),Ot.isBrowser&&window.document.removeEventListener("freeze",this._freezeEventListener);try{this._closedCallbacks.forEach(n=>n.apply(this,[e]))}catch(n){this._logger.log($.Error,`An onclose callback called with error '${e}' threw error '${n}'.`)}}}async _reconnect(e){const n=Date.now();let r=0,i=e!==void 0?e:new Error("Attempting to reconnect due to a unknown error."),o=this._getNextRetryDelay(r++,0,i);if(o===null){this._logger.log($.Debug,"Connection not reconnecting because the IRetryPolicy returned null on the first reconnect attempt."),this._completeClose(e);return}if(this._connectionState=Et.Reconnecting,e?this._logger.log($.Information,`Connection reconnecting because of error '${e}'.`):this._logger.log($.Information,"Connection reconnecting."),this._reconnectingCallbacks.length!==0){try{this._reconnectingCallbacks.forEach(s=>s.apply(this,[e]))}catch(s){this._logger.log($.Error,`An onreconnecting callback called with error '${e}' threw error '${s}'.`)}if(this._connectionState!==Et.Reconnecting){this._logger.log($.Debug,"Connection left the reconnecting state in onreconnecting callback. Done reconnecting.");return}}for(;o!==null;){if(this._logger.log($.Information,`Reconnect attempt number ${r} will start in ${o} ms.`),await new Promise(s=>{this._reconnectDelayHandle=setTimeout(s,o)}),this._reconnectDelayHandle=void 0,this._connectionState!==Et.Reconnecting){this._logger.log($.Debug,"Connection left the reconnecting state during reconnect delay. Done reconnecting.");return}try{if(await this._startInternal(),this._connectionState=Et.Connected,this._logger.log($.Information,"HubConnection reconnected successfully."),this._reconnectedCallbacks.length!==0)try{this._reconnectedCallbacks.forEach(s=>s.apply(this,[this.connection.connectionId]))}catch(s){this._logger.log($.Error,`An onreconnected callback called with connectionId '${this.connection.connectionId}; threw error '${s}'.`)}return}catch(s){if(this._logger.log($.Information,`Reconnect attempt failed because of error '${s}'.`),this._connectionState!==Et.Reconnecting){this._logger.log($.Debug,`Connection moved to the '${this._connectionState}' from the reconnecting state during reconnect attempt. Done reconnecting.`),this._connectionState===Et.Disconnecting&&this._completeClose();return}i=s instanceof Error?s:new Error(s.toString()),o=this._getNextRetryDelay(r++,Date.now()-n,i)}}this._logger.log($.Information,`Reconnect retries have been exhausted after ${Date.now()-n} ms and ${r} failed attempts. Connection disconnecting.`),this._completeClose()}_getNextRetryDelay(e,n,r){try{return this._reconnectPolicy.nextRetryDelayInMilliseconds({elapsedMilliseconds:n,previousRetryCount:e,retryReason:r})}catch(i){return this._logger.log($.Error,`IRetryPolicy.nextRetryDelayInMilliseconds(${e}, ${n}) threw error '${i}'.`),null}}_cancelCallbacksWithError(e){const n=this._callbacks;this._callbacks={}
7,Object.keys(n).forEach(r=>{const i=n[r];try{i(null,e)}catch(o){this._logger.log($.Error,`Stream 'error' callback called with '${e}' threw error: ${ls(o)}`)}})}_cleanupPingTimer(){this._pingServerHandle&&(clearTimeout(this._pingServerHandle),this._pingServerHandle=void 0)}_cleanupTimeout(){this._timeoutHandle&&clearTimeout(this._timeoutHandle)}_createInvocation(e,n,r,i){if(r)return i.length!==0?{arguments:n,streamIds:i,target:e,type:at.Invocation}:{arguments:n,target:e,type:at.Invocation};{const o=this._invocationId;return this._invocationId++,i.length!==0?{arguments:n,invocationId:o.toString(),streamIds:i,target:e,type:at.Invocation}:{arguments:n,invocationId:o.toString(),target:e,type:at.Invocation}}}_launchStreams(e,n){if(e.length!==0){n||(n=Promise.resolve());for(const r in e)e[r].subscribe({complete:()=>{n=n.then(()=>this._sendWithProtocol(this._createCompletionMessage(r)))},error:i=>{let o;i instanceof Error?o=i.message:i&&i.toString?o=i.toString():o="Unknown error",n=n.then(()=>this._sendWithProtocol(this._createCompletionMessage(r,o)))},next:i=>{n=n.then(()=>this._sendWithProtocol(this._createStreamItemMessage(r,i)))}})}}_replaceStreamingParams(e){const n=[],r=[];for(let i=0;i<e.length;i++){const o=e[i];if(this._isObservable(o)){const s=this._invocationId;this._invocationId++,n[s]=o,r.push(s.toString()),e.splice(i,1)}}return[n,r]}_isObservable(e){return e&&e.subscribe&&typeof e.subscribe=="function"}_createStreamInvocation(e,n,r){const i=this._invocationId;return this._invocationId++,r.length!==0?{arguments:n,invocationId:i.toString(),streamIds:r,target:e,type:at.StreamInvocation}:{arguments:n,invocationId:i.toString(),target:e,type:at.StreamInvocation}}_createCancelInvocation(e){return{invocationId:e,type:at.CancelInvocation}}_createStreamItemMessage(e,n){return{invocationId:e,item:n,type:at.StreamItem}}_createCompletionMessage(e,n,r){return n?{error:n,invocationId:e,type:at.Completion}:{invocationId:e,result:r,type:at.Completion}}_createCloseMessage(){return{type:at.Close}}}const c_=[0,2e3,1e4,3e4,null];class xu{constructor(e){this._retryDelays=e!==void 0?[...e,null]:c_}nextRetryDelayInMilliseconds(e){return this._retryDelays[e.previousRetryCount]}}class Wn{}Wn.Authorization="Authorization";Wn.Cookie="Cookie";class f_ extends So{constructor(e,n){super(),this._innerClient=e,this._accessTokenFactory=n}async send(e){let n=!0;this._accessTokenFactory&&(!this._accessToken||e.url&&e.url.indexOf("/negotiate?")>0)&&(n=!1,this._accessToken=await this._accessTokenFactory()),this._setAuthorizationHeader(e);const r=await this._innerClient.send(e);return n&&r.statusCode===401&&this._accessTokenFactory?(this._accessToken=await this._accessTokenFactory(),this._setAuthorizationHeader(e),await this._innerClient.send(e)):r}_setAuthorizationHeader(e){e.headers||(e.headers={}),this._accessToken?e.headers[Wn.Authorization]=`Bearer ${this._accessToken}`:this._accessTokenFactory&&e.headers[Wn.Authorization]&&delete e.headers[Wn.Authorization]}getCookieString(e){return this._innerClient.getCookieString(e)}}var Bt;(function(t){t[t.None=0]="None",t[t.WebSockets=1]="WebSockets",t[t.ServerSentEvents=2]="ServerSentEvents",t[t.LongPolling=4]="LongPolling"})(Bt||(Bt={}));var ee;(function(t){t[t.Text=1]="Text",t[t.Binary=2]="Binary"})(ee||(ee={}));let h_=class{constructor(){this._isAborted=!1,this.onabort=null}abort(){this._isAborted||(this._isAborted=!0,this.onabort&&this.onabort())}get signal(){return this}get aborted(){return this._isAborted}};class Ou{get pollAborted(){return this._pollAbort.aborted}constructor(e,n,r){this._httpClient=e,this._logger=n,this._pollAbort=new h_,this._options=r,this._running=!1,this.onreceive=null,this.onclose=null}async connect(e,n){if($t.isRequired(e,"url"),$t.isRequired(n,"transferFormat"),$t.isIn(n,ee,"transferFormat"),this._url=e,this._logger.log($.Trace,"(LongPolling transport) Connecting."),n===ee.Binary&&typeof XMLHttpRequest<"u"&&typeof new XMLHttpRequest().responseType!="string")throw new Error("Binary protocols over XmlHttpRequest not implementing advanced features are not supported.");const[r,i]=Tr(),o={[r]:i,...this._options.headers},s={abortSignal:this._pollAbort.signal,headers:o,timeout:1e5,withCredentials:this._options.withCredentials};n===ee.Binary&&(s.responseType="arraybuffer");const a=`${e}&_=${Date.now()}`;this._logger.log($.Trace,`(LongPolling transport) polling: ${a}.`);const l=await this._httpClient.get(a,s);l.statusCode!==200?(this._logger.log($.Error,`(LongPolling transport) Unexpected response code: ${l.statusCode}.`),this._closeError=new Hn(l.statusText||"",l.statusCode),this._running=!1):this._running=!0,this._receiving=this._poll(this._url,s)}async _poll(e,n){try{for(;this._running;)try{const r=`${e}&_=${Date.now()}`;this._logger.log($.Trace,`(LongPolling transport) polling: ${r}.`);const i=await this._httpClient.get(r,n);i.statusCode===204?(this._logger.log($.Information,"(LongPolling transport) Poll terminated by server."),this._running=!1):i.statusCode!==200?(this._logger.log($.Error,`(LongPolling transport) Unexpected response code: ${i.statusCode}.`),this._closeError=new Hn(i.statusText||"",i.statusCode),this._running=!1):i.content?(this._logger.log($.Trace,`(LongPolling transport) data received. ${si(i.content,this._options.logMessageContent)}.`),this.onreceive&&this.onreceive(i.content)):this._logger.log($.Trace,"(LongPolling transport) Poll timed out, reissuing.")}catch(r){this._running?r instanceof Ya?this._logger.log($.Trace,"(LongPolling transport) Poll timed out, reissuing."):(this._closeError=r,this._running=!1):this._logger.log($.Trace,`(LongPolling transport) Poll errored after shutdown: ${r.message}`)}}finally{this._logger.log($.Trace,"(LongPolling transport) Polling complete."),this.pollAborted||this._raiseOnClose()}}async send(e){return this._running?Ih(this._logger,"LongPolling",this._httpClient,this._url,e,this._options):Promise.reject(new Error("Cannot send until the transport is connected"))}async stop(){this._logger.log($.Trace,"(LongPolling transport) Stopping polling."),this._running=!1,this._pollAbort.abort();try{await this._receiving,this._logger.log($.Trace,`(LongPolling transport) sending DELETE request to ${this._url}.`);const e={},[n,r]=Tr();e[n]=r;const i={headers:{...e,...this._options.headers},timeout:this._options.timeout,withCredentials:this._options.withCredentials};let o;try{await this._httpClient.delete(this._url,i)}catch(s){o=s}o?o instanceof Hn&&(o.statusCode===404?this._logger.log($.Trace,"(LongPolling transport) A 404 response was returned from sending a DELETE request."):this._logger.log($.Trace,`(LongPolling transport) Error sending a DELETE request: ${o}`)):this._logger.log($.Trace,"(LongPolling transport) DELETE request accepted.")}finally{this._logger.log($.Trace,"(LongPolling transport) Stop finished."),this._raiseOnClose()}}_raiseOnClose(){if(this.onclose){let e="(LongPolling transport) Firing onclose event.";this._closeError&&(e+=" Error: "+this._closeError),this._logger.log($.Trace,e),this.onclose(this._closeError)}}}class d_{constructor(e,n,r,i){this._httpClient=e,this._accessToken=n,this._logger=r,this._options=i,this.onreceive=null,this.onclose
7=null}async connect(e,n){return $t.isRequired(e,"url"),$t.isRequired(n,"transferFormat"),$t.isIn(n,ee,"transferFormat"),this._logger.log($.Trace,"(SSE transport) Connecting."),this._url=e,this._accessToken&&(e+=(e.indexOf("?")<0?"?":"&")+`access_token=${encodeURIComponent(this._accessToken)}`),new Promise((r,i)=>{let o=!1;if(n!==ee.Text){i(new Error("The Server-Sent Events transport only supports the 'Text' transfer format"));return}let s;if(Ot.isBrowser||Ot.isWebWorker)s=new this._options.EventSource(e,{withCredentials:this._options.withCredentials});else{const a=this._httpClient.getCookieString(e),l={};l.Cookie=a;const[u,c]=Tr();l[u]=c,s=new this._options.EventSource(e,{withCredentials:this._options.withCredentials,headers:{...l,...this._options.headers}})}try{s.onmessage=a=>{if(this.onreceive)try{this._logger.log($.Trace,`(SSE transport) data received. ${si(a.data,this._options.logMessageContent)}.`),this.onreceive(a.data)}catch(l){this._close(l);return}},s.onerror=a=>{o?this._close():i(new Error("EventSource failed to connect. The connection could not be found on the server, either the connection ID is not present on the server, or a proxy is refusing/buffering the connection. If you have multiple servers check that sticky sessions are enabled."))},s.onopen=()=>{this._logger.log($.Information,`SSE connected to ${this._url}`),this._eventSource=s,o=!0,r()}}catch(a){i(a);return}})}async send(e){return this._eventSource?Ih(this._logger,"SSE",this._httpClient,this._url,e,this._options):Promise.reject(new Error("Cannot send until the transport is connected"))}stop(){return this._close(),Promise.resolve()}_close(e){this._eventSource&&(this._eventSource.close(),this._eventSource=void 0,this.onclose&&this.onclose(e))}}class p_{constructor(e,n,r,i,o,s){this._logger=r,this._accessTokenFactory=n,this._logMessageContent=i,this._webSocketConstructor=o,this._httpClient=e,this.onreceive=null,this.onclose=null,this._headers=s}async connect(e,n){$t.isRequired(e,"url"),$t.isRequired(n,"transferFormat"),$t.isIn(n,ee,"transferFormat"),this._logger.log($.Trace,"(WebSockets transport) Connecting.");let r;return this._accessTokenFactory&&(r=await this._accessTokenFactory()),new Promise((i,o)=>{e=e.replace(/^http/,"ws");let s;const a=this._httpClient.getCookieString(e);let l=!1;if(Ot.isNode||Ot.isReactNative){const u={},[c,f]=Tr();u[c]=f,r&&(u[Wn.Authorization]=`Bearer ${r}`),a&&(u[Wn.Cookie]=a),s=new this._webSocketConstructor(e,void 0,{headers:{...u,...this._headers}})}else r&&(e+=(e.indexOf("?")<0?"?":"&")+`access_token=${encodeURIComponent(r)}`);s||(s=new this._webSocketConstructor(e)),n===ee.Binary&&(s.binaryType="arraybuffer"),s.onopen=u=>{this._logger.log($.Information,`WebSocket connected to ${e}.`),this._webSocket=s,l=!0,i()},s.onerror=u=>{let c=null;typeof ErrorEvent<"u"&&u instanceof ErrorEvent?c=u.error:c="There was an error with the transport",this._logger.log($.Information,`(WebSockets transport) ${c}.`)},s.onmessage=u=>{if(this._logger.log($.Trace,`(WebSockets transport) data received. ${si(u.data,this._logMessageContent)}.`),this.onreceive)try{this.onreceive(u.data)}catch(c){this._close(c);return}},s.onclose=u=>{if(l)this._close(u);else{let c=null;typeof ErrorEvent<"u"&&u instanceof ErrorEvent?c=u.error:c="WebSocket failed to connect. The connection could not be found on the server, either the endpoint may not be a SignalR endpoint, the connection ID is not present on the server, or there is a proxy blocking WebSockets. If you have multiple servers check that sticky sessions are enabled.",o(new Error(c))}}})}send(e){return this._webSocket&&this._webSocket.readyState===this._webSocketConstructor.OPEN?(this._logger.log($.Trace,`(WebSockets transport) sending data. ${si(e,this._logMessageContent)}.`),this._webSocket.send(e),Promise.resolve()):Promise.reject("WebSocket is not in the OPEN state")}stop(){return this._webSocket&&this._close(void 0),Promise.resolve()}_close(e){this._webSocket&&(this._webSocket.onclose=()=>{},this._webSocket.onmessage=()=>{},this._webSocket.onerror=()=>{},this._webSocket.close(),this._webSocket=void 0),this._logger.log($.Trace,"(WebSockets transport) socket closed."),this.onclose&&(this._isCloseEvent(e)&&(e.wasClean===!1||e.code!==1e3)?this.onclose(new Error(`WebSocket closed with status code: ${e.code} (${e.reason||"no reason given"}).`)):e instanceof Error?this.onclose(e):this.onclose())}_isCloseEvent(e){return e&&typeof e.wasClean=="boolean"&&typeof e.code=="number"}}const Iu=100;class m_{constructor(e,n={}){if(this._stopPromiseResolver=()=>{},this.features={},this._negotiateVersion=1,$t.isRequired(e,"url"),this._logger=Vg(n.logger),this.baseUrl=this._resolveUrl(e),n=n||{},n.logMessageContent=n.logMessageContent===void 0?!1:n.logMessageContent,typeof n.withCredentials=="boolean"||n.withCredentials===void 0)n.withCredentials=n.withCredentials===void 0?!0:n.withCredentials;else throw new Error("withCredentials option was not a 'boolean' or 'undefined' value");n.timeout=n.timeout===void 0?100*1e3:n.timeout;let r=null,i=null;if(Ot.isNode&&typeof require<"u"){const o=typeof __webpack_require__=="function"?__non_webpack_require__:require;r=o("ws"),i=o("eventsource")}!Ot.isNode&&typeof WebSocket<"u"&&!n.WebSocket?n.WebSocket=WebSocket:Ot.isNode&&!n.WebSocket&&r&&(n.WebSocket=r),!Ot.isNode&&typeof EventSource<"u"&&!n.EventSource?n.EventSource=EventSource:Ot.isNode&&!n.EventSource&&typeof i<"u"&&(n.EventSource=i),this._httpClient=new f_(n.httpClient||new n_(this._logger),n.accessTokenFactory),this._connectionState="Disconnected",this._connectionStarted=!1,this._options=n,this.onreceive=null,this.onclose
7=null}async start(e){if(e=e||ee.Binary,$t.isIn(e,ee,"transferFormat"),this._logger.log($.Debug,`Starting connection with transfer format '${ee[e]}'.`),this._connectionState!=="Disconnected")return Promise.reject(new Error("Cannot start an HttpConnection that is not in the 'Disconnected' state."));if(this._connectionState="Connecting",this._startInternalPromise=this._startInternal(e),await this._startInternalPromise,this._connectionState==="Disconnecting"){const n="Failed to start the HttpConnection before stop() was called.";return this._logger.log($.Error,n),await this._stopPromise,Promise.reject(new Ue(n))}else if(this._connectionState!=="Connected"){const n="HttpConnection.startInternal completed gracefully but didn't enter the connection into the connected state!";return this._logger.log($.Error,n),Promise.reject(new Ue(n))}this._connectionStarted=!0}send(e){return this._connectionState!=="Connected"?Promise.reject(new Error("Cannot send data if the connection is not in the 'Connected' State.")):(this._sendQueue||(this._sendQueue=new Ja(this.transport)),this._sendQueue.send(e))}async stop(e){if(this._connectionState==="Disconnected")return this._logger.log($.Debug,`Call to HttpConnection.stop(${e}) ignored because the connection is already in the disconnected state.`),Promise.resolve();if(this._connectionState==="Disconnecting")return this._logger.log($.Debug,`Call to HttpConnection.stop(${e}) ignored because the connection is already in the disconnecting state.`),this._stopPromise;this._connectionState="Disconnecting",this._stopPromise=new Promise(n=>{this._stopPromiseResolver=n}),await this._stopInternal(e),await this._stopPromise}async _stopInternal(e){this._stopError=e;try{await this._startInternalPromise}catch{}if(this.transport){try{await this.transport.stop()}catch(n){this._logger.log($.Error,`HttpConnection.transport.stop() threw error '${n}'.`),this._stopConnection()}this.transport=void 0}else this._logger.log($.Debug,"HttpConnection.transport is undefined in HttpConnection.stop() because start() failed.")}async _startInternal(e){let n=this.baseUrl;this._accessTokenFactory=this._options.accessTokenFactory,this._httpClient._accessTokenFactory=this._accessTokenFactory;try{if(this._options.skipNegotiation)if(this._options.transport===Bt.WebSockets)this.transport=this._constructTransport(Bt.WebSockets),await this._startTransport(n,e);else throw new Error("Negotiation can only be skipped when using the WebSocket transport directly.");else{let r=null,i=0;do{if(r=await this._getNegotiationResponse(n),this._connectionState==="Disconnecting"||this._connectionState==="Disconnected")throw new Ue("The connection was stopped during negotiation.");if(r.error)throw new Error(r.error);if(r.ProtocolVersion)throw new Error("Detected a connection attempt to an ASP.NET SignalR Server. This client only supports connecting to an ASP.NET Core SignalR Server. See https://aka.ms/signalr-core-differences for details.");if(r.url&&(n=r.url),r.accessToken){const o=r.accessToken;this._accessTokenFactory=()=>o,this._httpClient._accessToken=o,this._httpClient._accessTokenFactory=void 0}i++}while(r.url&&i<Iu);if(i===Iu&&r.url)throw new Error("Negotiate redirection limit exceeded.");await this._createTransport(n,this._options.transport,r,e)}this.transport instanceof Ou&&(this.features.inherentKeepAlive=!0),this._connectionState==="Connecting"&&(this._logger.log($.Debug,"The HttpConnection connected successfully."),this._connectionState="Connected")}catch(r){return this._logger.log($.Error,"Failed to start the connection: "+r),this._connectionState="Disconnected",this.transport=void 0,this._stopPromiseResolver(),Promise.reject(r)}}async _getNegotiationResponse(e){const n={},[r,i]=Tr();n[r]=i;const o=this._resolveNegotiateUrl(e);this._logger.log($.Debug,`Sending negotiation request: ${o}.`);try{const s=await this._httpClient.post(o,{content:"",headers:{...n,...this._options.headers},timeout:this._options.timeout,withCredentials:this._options.withCredentials});if(s.statusCode!==200)return Promise.reject(new Error(`Unexpected status code returned from negotiate '${s.statusCode}'`));const a=JSON.parse(s.content);return(!a.negotiateVersion||a.negotiateVersion<1)&&(a.connectionToken=a.connectionId),a.useStatefulReconnect&&this._options._useStatefulReconnect!==!0?Promise.reject(new Au("Client didn't negotiate Stateful Reconnect but the server did.")):a}catch(s){let a="Failed to complete negotiation with the server: "+s;return s instanceof Hn&&s.statusCode===404&&(a=a+" Either this is not a SignalR endpoint or there is a proxy blocking the connection."),this._logger.log($.Error,a),Promise.reject(new Au(a))}}_createConnectUrl(e,n){return n?e+(e.indexOf("?")===-1?"?":"&")+`id=${n}`:e}async _createTransport(e,n,r,i){let o=this._createConnectUrl(e,r.connectionToken);if(this._isITransport(n)){this._logger.log($.Debug,"Connection was provided an instance of ITransport, using that directly."),this.transport=n,await this._startTransport(o,i),this.connectionId=r.connectionId;return}const s=[],a=r.availableTransports||[];let l=r;
7for(const u of a){const c=this._resolveTransportOrError(u,n,i,l?.useStatefulReconnect===!0);if(c instanceof Error)s.push(`${u.transport} failed:`),s.push(c);else if(this._isITransport(c)){if(this.transport=c,!l){try{l=await this._getNegotiationResponse(e)}catch(f){return Promise.reject(f)}o=this._createConnectUrl(e,l.connectionToken)}try{await this._startTransport(o,i),this.connectionId=l.connectionId;return}catch(f){if(this._logger.log($.Error,`Failed to start the transport '${u.transport}': ${f}`),l=void 0,s.push(new qg(`${u.transport} failed: ${f}`,Bt[u.transport])),this._connectionState!=="Connecting"){const p="Failed to select transport before stop() was called.";return this._logger.log($.Debug,p),Promise.reject(new Ue(p))}}}}return s.length>0?Promise.reject(new Hg(`Unable to connect to the server with any of the available transports. ${s.join(" ")}`,s)):Promise.reject(new Error("None of the transports supported by the client are supported by the server."))}_constructTransport(e){switch(e){case Bt.WebSockets:if(!this._options.WebSocket)throw new Error("'WebSocket' is not supported in your environment.");return new p_(this._httpClient,this._accessTokenFactory,this._logger,this._options.logMessageContent,this._options.WebSocket,this._options.headers||{});case Bt.ServerSentEvents:if(!this._options.EventSource)throw new Error("'EventSource' is not supported in your environment.");return new d_(this._httpClient,this._httpClient._accessToken,this._logger,this._options);case Bt.LongPolling:return new Ou(this._httpClient,this._logger,this._options);default:throw new Error(`Unknown transport: ${e}.`)}}_startTransport(e,n){return this.transport.onreceive=this.onreceive,this.features.reconnect?this.transport.onclose=async r=>{let i=!1;if(this.features.reconnect)try{this.features.disconnected(),await this.transport.connect(e,n),await this.features.resend()}catch{i=!0}else{this._stopConnection(r);return}i&&this._stopConnection(r)}:this.transport.onclose=r=>this._stopConnection(r),this.transport.connect(e,n)}_resolveTransportOrError(e,n,r,i){const o=Bt[e.transport];if(o==null)return this._logger.log($.Debug,`Skipping transport '${e.transport}' because it is not supported by this client.`),new Error(`Skipping transport '${e.transport}' because it is not supported by this client.`);if(g_(n,o))if(e.transferFormats.map(s=>ee[s]).indexOf(r)>=0){if(o===Bt.WebSockets&&!this._options.WebSocket||o===Bt.ServerSentEvents&&!this._options.EventSource)return this._logger.log($.Debug,`Skipping transport '${Bt[o]}' because it is not supported in your environment.'`),new $g(`'${Bt[o]}' is not supported in your environment.`,o);this._logger.log($.Debug,`Selecting transport '${Bt[o]}'.`);try{return this.features.reconnect=o===Bt.WebSockets?i:void 0,this._constructTransport(o)}catch(s){return s}}else return this._logger.log($.Debug,`Skipping transport '${Bt[o]}' because it does not support the requested transfer format '${ee[r]}'.`),new Error(`'${Bt[o]}' does not support ${ee[r]}.`);else return this._logger.log($.Debug,`Skipping transport '${Bt[o]}' because it was disabled by the client.`),new zg(`'${Bt[o]}' is disabled by the client.`,o)}_isITransport(e){return e&&typeof e=="object"&&"connect"in e}_stopConnection(e){if(this._logger.log($.Debug,`HttpConnection.stopConnection(${e}) called while in state ${this._connectionState}.`),this.transport=void 0,e=this._stopError||e,this._stopError=void 0,this._connectionState==="Disconnected"){this._logger.log($.Debug,`Call to HttpConnection.stopConnection(${e}) was ignored because the connection is already in the disconnected state.`);return}if(this._connectionState==="Connecting")throw this._logger.log($.Warning,`Call to HttpConnection.stopConnection(${e}) was ignored because the connection is still in the connecting state.`),new Error(`HttpConnection.stopConnection(${e}) was called while the connection is still in the connecting state.`);if(this._connectionState==="Disconnecting"&&this._stopPromiseResolver(),e?this._logger.log($.Error,`Connection disconnected with error '${e}'.`):this._logger.log($.Information,"Connection disconnected."),this._sendQueue&&(this._sendQueue.stop().catch(n=>{this._logger.log($.Error,`TransportSendQueue.stop() threw error '${n}'.`)}),this._sendQueue=void 0),this.connectionId=void 0,this._connectionState="Disconnected",this._connectionStarted){this._connectionStarted=!1;try{this.onclose&&this.onclose(e)}catch(n){this._logger.log($.Error,`HttpConnection.onclose(${e}) threw error '${n}'.`)}}}_resolveUrl(e){if(e.lastIndexOf("https://",0)===0||e.lastIndexOf("http://",0)===0)return e;if(!Ot.isBrowser)throw new Error(`Cannot resolve '${e}'.`);const n=window.document.createElement("a");return n.href=e,this._logger.log($.Information,`Normalizing '${e}' to '${n.href}'.`),n.href}_resolveNegotiateUrl(e){const n=new URL(e);n.pathname.endsWith("/")?n.pathname+="negotiate":n.pathname+="/negotiate";
7const r=new URLSearchParams(n.searchParams);return r.has("negotiateVersion")||r.append("negotiateVersion",this._negotiateVersion.toString()),r.has("useStatefulReconnect")?r.get("useStatefulReconnect")==="true"&&(this._options._useStatefulReconnect=!0):this._options._useStatefulReconnect===!0&&r.append("useStatefulReconnect","true"),n.search=r.toString(),n.toString()}}function g_(t,e){return!t||(e&t)!==0}class Ja{constructor(e){this._transport=e,this._buffer=[],this._executing=!0,this._sendBufferedData=new bi,this._transportResult=new bi,this._sendLoopPromise=this._sendLoop()}send(e){return this._bufferData(e),this._transportResult||(this._transportResult=new bi),this._transportResult.promise}stop(){return this._executing=!1,this._sendBufferedData.resolve(),this._sendLoopPromise}_bufferData(e){if(this._buffer.length&&typeof this._buffer[0]!=typeof e)throw new Error(`Expected data to be of type ${typeof this._buffer} but was of type ${typeof e}`);this._buffer.push(e),this._sendBufferedData.resolve()}async _sendLoop(){for(;;){if(await this._sendBufferedData.promise,!this._executing){this._transportResult&&this._transportResult.reject("Connection stopped.");break}this._sendBufferedData=new bi;const e=this._transportResult;this._transportResult=void 0;const n=typeof this._buffer[0]=="string"?this._buffer.join(""):Ja._concatBuffers(this._buffer);this._buffer.length=0;try{await this._transport.send(n),e.resolve()}catch(r){e.reject(r)}}}static _concatBuffers(e){const n=e.map(o=>o.byteLength).reduce((o,s)=>o+s),r=new Uint8Array(n);let i=0;for(const o of e)r.set(new Uint8Array(o),i),i+=o.byteLength;return r.buffer}}class bi{constructor(){this.promise=new Promise((e,n)=>[this._resolver,this._rejecter]=[e,n])}resolve(){this._resolver()}reject(e){this._rejecter(e)}}const __="json";class v_{constructor(){this.name=__,this.version=2,this.transferFormat=ee.Text}parseMessages(e,n){if(typeof e!="string")throw new Error("Invalid input for JSON hub protocol. Expected a string.");if(!e)return[];n===null&&(n=oi.instance);const r=ke.parse(e),i=[];for(const o of r){const s=JSON.parse(o);if(typeof s.type!="number")throw new Error("Invalid payload.");switch(s.type){case at.Invocation:this._isInvocationMessage(s);break;case at.StreamItem:this._isStreamItemMessage(s);break;case at.Completion:this._isCompletionMessage(s);break;case at.Ping:break;case at.Close:break;case at.Ack:this._isAckMessage(s);break;case at.Sequence:this._isSequenceMessage(s);break;default:n.log($.Information,"Unknown message type '"+s.type+"' ignored.");continue}i.push(s)}return i}writeMessage(e){return ke.write(JSON.stringify(e))}_isInvocationMessage(e){this._assertNotEmptyString(e.target,"Invalid payload for Invocation message."),e.invocationId!==void 0&&this._assertNotEmptyString(e.invocationId,"Invalid payload for Invocation message.")}_isStreamItemMessage(e){if(this._assertNotEmptyString(e.invocationId,"Invalid payload for StreamItem message."),e.item===void 0)throw new Error("Invalid payload for StreamItem message.")}_isCompletionMessage(e){if(e.result&&e.error)throw new Error("Invalid payload for Completion message.");!e.result&&e.error&&this._assertNotEmptyString(e.error,"Invalid payload for Completion message."),this._assertNotEmptyString(e.invocationId,"Invalid payload for Completion message.")}_isAckMessage(e){if(typeof e.sequenceId!="number")throw new Error("Invalid SequenceId for Ack message.")}_isSequenceMessage(e){if(typeof e.sequenceId!="number")throw new Error("Invalid SequenceId for Sequence message.")}_assertNotEmptyString(e,n){if(typeof e!="string"||e==="")throw new Error(n)}}const b_={trace:$.Trace,debug:$.Debug,info:$.Information,information:$.Information,warn:$.Warning,warning:$.Warning,error:$.Error,critical:$.Critical,none:$.None};function y_(t){const e=b_[t.toLowerCase()];if(typeof e<"u")return e;throw new Error(`Unknown log level: ${t}`)}class w_{configureLogging(e){if($t.isRequired(e,"logging"),C_(e))this.logger=e;else if(typeof e=="string"){const n=y_(e);this.logger=new Zi(n)}else this.logger=new Zi(e);return this}withUrl(e,n){return $t.isRequired(e,"url"),$t.isNotEmpty(e,"url"),this.url=e,typeof n=="object"?this.httpConnectionOptions={...this.httpConnectionOptions,...n}:this.httpConnectionOptions={...this.httpConnectionOptions,transport:n},this}withHubProtocol(e){return $t.isRequired(e,"protocol"),this.protocol=e,this}withAutomaticReconnect(e){if(this.reconnectPolicy)throw new Error("A reconnectPolicy has already been set.");return e?Array.isArray(e)?this.reconnectPolicy=new xu(e):this.reconnectPolicy=e:this.reconnectPolicy=new xu,this}withServerTimeout(e){return $t.isRequired(e,"milliseconds"),this._serverTimeoutInMilliseconds=e,this}withKeepAliveInterval(e){return $t.isRequired(e,"milliseconds"),this._keepAliveIntervalInMilliseconds=e,this}withStatefulReconnect(e){return this.httpConnectionOptions===void 0&&(this.httpConnectionOptions={}),this.httpConnectionOptions._useStatefulReconnect=!0,this._statefulReconnectBufferSize=e?.bufferSize,this}build(){const e=this.httpConnectionOptions||{};if(e.logger===void 0&&(e.logger=this.logger),!this.url)throw new Error("The 'HubConnectionBuilder.withUrl' method must be called before building the connection.");const n=new m_(this.url,e);return Xa.create(n,this.logger||oi.instance,this.protocol||new v_,this.reconnectPolicy,this._serverTimeoutInMilliseconds,this._keepAliveIntervalInMilliseconds,this._statefulReconnectBufferSize)}}function C_(t){return t.log!==void 0}const Ka=xh("informationStore",()=>{const t=ot(0),e=ot(0),n=ot(0),r=ot(0),i=ot(0),o=ot(0),s=ot(!1),a=ot(!1),l=ce("baseUrl"),u=ce("tenant"),c=new w_().withUrl(`${l}/Notifications`,{skipNegotiation:!0,transport:Bt.WebSockets,accessTokenFactory:async()=>{try{const p=await rn(We.SignalRApi).apiSignalRAuthenticateGet(u);if(p.data)return p.data}catch{return s.value=!0,Promise.reject("error while getting access token")}}}).withAutomaticReconnect().build();c.on("InformationMessage",p=>{s.value=!1,a.value=!0;const d=JSON.parse(p);t.value=d.notifications,e.value=d.mails,n.value=d.tasks,r.value=d.userTasks,i.value=d.unassignedTasks,o.value=d.total}),c.onreconnected(()=>{s.value=!1,a.value=!0}),c.onclose(()=>{s.value=!0});async function f(){try{await c.start(),console.log("Connected to SignalR")}catch(p){console.log(p)}}return no(()=>{f()}),vc(()=>{c.stop()}),{notificationCount:t,mailCount:e,taskCount:n,userTaskCount:r,unassignedTasksCount:i,totalCount:o,socketError:s,connectionStatus:a}}),S_={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"18",viewBox:"0 0 20 18",fill:"none"},k_=["fill"],T_=Qe({__name:"TheNotificationSvg",props:{iconColor:{type:String,default:"#ffffff"}},setup(t){const e=t;return(n,r)=>
7(Y(),J("svg",S_,[z("path",{d:"M18.53 13.25C18.44 13.25 16.42 12.89 16.42 7C16.42 2.84 14 0.25 10 0.25C6 0.25 3.58 2.84 3.58 7C3.58 13 1.49 13.25 1.5 13.25C1.30109 13.25 1.11032 13.329 0.96967 13.4697C0.829018 13.6103 0.75 13.8011 0.75 14C0.75 14.1989 0.829018 14.3897 0.96967 14.5303C1.11032 14.671 1.30109 14.75 1.5 14.75H6.33C6.49694 15.6007 6.95423 16.367 7.62366 16.9178C8.29309 17.4686 9.13308 17.7698 10 17.7698C10.8669 17.7698 11.7069 17.4686 12.3763 16.9178C13.0458 16.367 13.5031 15.6007 13.67 14.75H18.51C18.7089 14.75 18.8997 14.671 19.0403 14.5303C19.181 14.3897 19.26 14.1989 19.26 14C19.26 13.8011 19.181 13.6103 19.0403 13.4697C18.8997 13.329 18.7089 13.25 18.51 13.25H18.53ZM10 16.25C9.5363 16.2491 9.0843 16.1044 8.70636 15.8357C8.32843 15.567 8.04319 15.1877 7.89 14.75H12.11C11.9568 15.1877 11.6716 15.567 11.2936 15.8357C10.9157 16.1044 10.4637 16.2491 10 16.25ZM3.76 13.25C4.48 12.16 5.08 10.25 5.08 7C5.08 3.75 6.88 1.75 10 1.75C13.12 1.75 14.92 3.66 14.92 7C14.92 10.34 15.52 12.16 16.24 13.25H3.76Z",fill:e.iconColor},null,8,k_)]))}}),tr=(t,e)=>{const n=t.__vccOpts||t;for(const[r,i]of e)n[r]=i;return n},E_={},A_={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none"},P_=z("path",{d:"M29.6001 23.5113L18.6689 4.52752C18.3957 4.06243 18.0057 3.67679 17.5376 3.40885C17.0695 3.1409 16.5395 2.99994 16.0001 2.99994C15.4607 2.99994 14.9307 3.1409 14.4626 3.40885C13.9945 3.67679 13.6045 4.06243 13.3314 4.52752L2.40012 23.5113C2.13729 23.9611 1.99878 24.4728 1.99878 24.9938C1.99878 25.5148 2.13729 26.0264 2.40012 26.4763C2.66978 26.9442 3.05908 27.3319 3.52807 27.5997C3.99706 27.8675 4.52885 28.0056 5.06887 28H26.9314C27.471 28.0052 28.0022 27.8668 28.4707 27.599C28.9393 27.3313 29.3282 26.9438 29.5976 26.4763C29.8608 26.0266 29.9998 25.5151 30.0002 24.9941C30.0007 24.4731 29.8626 23.9613 29.6001 23.5113ZM27.8664 25.475C27.7711 25.6376 27.6343 25.7719 27.47 25.8641C27.3057 25.9564 27.1198 26.0033 26.9314 26H5.06887C4.88047 26.0033 4.69458 25.9564 4.53028 25.8641C4.36598 25.7719 4.22917 25.6376 4.13387 25.475C4.04755 25.3289 4.00202 25.1623 4.00202 24.9925C4.00202 24.8228 4.04755 24.6562 4.13387 24.51L15.0651 5.52627C15.1623 5.36449 15.2998 5.23061 15.4641 5.13767C15.6283 5.04473 15.8139 4.99589 16.0026 4.99589C16.1914 4.99589 16.3769 5.04473 16.5412 5.13767C16.7055 5.23061 16.8429 5.36449 16.9401 5.52627L27.8714 24.51C27.9569 24.6566 28.0016 24.8235 28.0007 24.9932C27.9998 25.1629 27.9534 25.3293 27.8664 25.475ZM15.0001 18V13C15.0001 12.7348 15.1055 12.4805 15.293 12.2929C15.4805 12.1054 15.7349 12 16.0001 12C16.2653 12 16.5197 12.1054 16.7072 12.2929C16.8948 12.4805 17.0001 12.7348 17.0001 13V18C17.0001 18.2652 16.8948 18.5196 16.7072 18.7071C16.5197 18.8947 16.2653 19 16.0001 19C15.7349 19 15.4805 18.8947 15.293 18.7071C15.1055 18.5196 15.0001 18.2652 15.0001 18ZM17.5001 22.5C17.5001 22.7967 17.4121 23.0867 17.2473 23.3334C17.0825 23.58 16.8482 23.7723 16.5741 23.8858C16.3001 23.9994 15.9985 24.0291 15.7075 23.9712C15.4165 23.9133 15.1492 23.7705 14.9395 23.5607C14.7297 23.3509 14.5868 23.0836 14.5289 22.7927C14.4711 22.5017 14.5008 22.2001 14.6143 21.926C14.7278 21.6519 14.9201 21.4176 15.1668 21.2528C15.4134 21.088 15.7034 21 16.0001 21C16.3979 21 16.7795 21.1581 17.0608 21.4394C17.3421 21.7207 17.5001 22.1022 17.5001 22.5Z",fill:"#ffffff"},null,-1),x_=[P_];function O_(t,e){return Y(),J("svg",A_,x_)}const Za=tr(E_,[["render",O_]]),I_={},R_={xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none"},M_=z("path",{d:"M6.35301 5.99996L6.70657 5.64641L11.1266 1.2264L11.1328 1.22017L11.1393 1.21415C11.1638 1.19126 11.1835 1.16366 11.1972 1.133C11.2109 1.10233 11.2182 1.06923 11.2188 1.03566C11.2194 1.00209 11.2132 0.968748 11.2006 0.937619C11.1881 0.906494 11.1693 0.878215 11.1456 0.854473C11.1219 0.830734 11.0936 0.812019 11.0625 0.799446C11.0313 0.786871 10.998 0.780697 10.9644 0.781289C10.9309 0.781881 10.8977 0.789228 10.8671 0.802892C10.8364 0.816557 10.8088 0.836258 10.7859 0.860819L10.7799 0.867273L10.7737 0.873512L6.35367 5.29351L6.00012 5.64706L5.64657 5.29351L1.23448 0.881422C1.18769 0.840031 1.12703 0.817601 1.06442 0.818705C0.999653 0.819848 0.937857 0.846085 0.892053 0.89189C0.846248 0.937695 0.820011 0.99949 0.818868 1.06426C0.817763 1.12687 0.840194 1.18753 0.881584 1.23431L5.29367 5.64641L5.64723 5.99996L5.29367 6.35351L0.873894 10.7733L6.35301 5.99996ZM6.35301 5.99996L6.70657 6.35351M6.35301 5.99996L6.70657 6.35351M6.70657 6.35351L11.1263 10.7733L6.70657 6.35351ZM6.00012 6.35285L6.35367 6.70641L10.7735 11.1262L6.00012 6.35285ZM6.00012 6.35285L5.64657 6.70641M6.00012 6.35285L5.64657 6.70641M5.64657 6.70641L1.22679 11.1262L5.64657 6.70641ZM0.800781 10.95C0.800781 10.8838 0.826996 10.8204 0.873675 10.7735L1.22657 11.1264C1.17971 11.1731 1.11627 11.1993 1.05012 11.1993C0.983969 11.1993 0.920515 11.1731 0.873658 11.1264C0.826989 11.
70795 0.800781 11.0161 0.800781 10.95ZM10.9501 11.1993C10.884 11.1993 10.8205 11.1731 10.7737 11.1264L11.1266 10.7735C11.1732 10.8204 11.1995 10.8838 11.1995 10.95C11.1995 11.0161 11.1732 11.0795 11.1266 11.1264C11.0797 11.1731 11.0163 11.1993 10.9501 11.1993Z",fill:"#00387B",stroke:"#00387B"},null,-1),L_=[M_];function D_(t,e){return Y(),J("svg",R_,L_)}const Qi=tr(I_,[["render",D_]]),U_={},N_={xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",viewBox:"0 0 22 22",fill:"none"},B_=z("path",{d:"M10.5615 0C10.9137 0.00318909 11.2618 0.0761673 11.5859 0.213867C11.9101 0.351582 12.2043 0.551447 12.4512 0.802734C12.698 1.05407 12.8925 1.35203 13.0244 1.67871C13.1563 2.00539 13.2229 2.35476 13.2197 2.70703C13.2243 2.81758 13.258 2.92521 13.3174 3.01855C13.3767 3.11169 13.4597 3.18734 13.5576 3.23828C13.6643 3.27744 13.7805 3.28621 13.8916 3.2627C14.0026 3.23915 14.105 3.18438 14.1865 3.10547C14.6882 2.60774 15.3646 2.32596 16.0713 2.32031C16.4247 2.30924 16.777 2.37098 17.1055 2.50195C17.4339 2.63293 17.7317 2.83085 17.9805 3.08203C18.2295 3.33109 18.4277 3.62675 18.5625 3.95215C18.6973 4.27752 18.7666 4.62634 18.7666 4.97852C18.7666 5.33085 18.6974 5.68035 18.5625 6.00586C18.4276 6.33125 18.2296 6.62695 17.9805 6.87598C17.9041 6.96634 17.8514 7.07441 17.8281 7.19043C17.8049 7.30658 17.8119 7.42713 17.8477 7.54004C17.9055 7.64567 17.9887 7.73539 18.0898 7.80078C18.1911 7.86619 18.3075 7.90575 18.4277 7.91504C19.1343 7.92409 19.8103 8.20515 20.3145 8.7002C20.8187 9.19546 21.112 9.86677 21.1338 10.5732C21.1306 10.9254 21.0585 11.2735 20.9209 11.5977C20.7832 11.9219 20.5824 12.216 20.3311 12.4629C20.0797 12.7097 19.7827 12.9053 19.4561 13.0371C19.1295 13.1689 18.7799 13.2346 18.4277 13.2314C18.3172 13.236 18.2096 13.2697 18.1162 13.3291C18.0229 13.3885 17.9465 13.4721 17.8955 13.5703C17.8565 13.6768 17.8486 13.7923 17.8721 13.9033C17.8956 14.0143 17.9495 14.1167 18.0283 14.1982C18.5261 14.6999 18.8087 15.3763 18.8145 16.083C18.8206 16.4357 18.7566 16.7865 18.626 17.1143C18.4953 17.442 18.3 17.7404 18.0527 17.9922C17.8036 18.2414 17.5081 18.4394 17.1826 18.5742C16.8572 18.709 16.5084 18.7783 16.1562 18.7783C15.8039 18.7783 15.4544 18.7091 15.1289 18.5742C14.8035 18.4394 14.5079 18.2413 14.2588 17.9922C14.1772 17.9133 14.0749 17.8595 13.9639 17.8359C13.8529 17.8125 13.7374 17.8203 13.6309 17.8594C13.5289 17.9183 13.4431 18.0028 13.3838 18.1045C13.3245 18.2062 13.293 18.3218 13.292 18.4395C13.283 19.146 13.0019 19.8219 12.5068 20.3262C12.0116 20.8304 11.3403 21.1247 10.6338 21.1465C10.2806 21.1449 9.93105 21.0735 9.60547 20.9365C9.27985 20.7995 8.98445 20.5991 8.73633 20.3477C8.4882 20.0962 8.29181 19.7982 8.15918 19.4707C8.02657 19.1433 7.9597 18.7927 7.96289 18.4395C7.95812 18.3306 7.92315 18.2254 7.86133 18.1357C7.79937 18.046 7.71344 17.9747 7.61328 17.9316C7.5024 17.8807 7.37827 17.8644 7.25781 17.8838C7.13747 17.9032 7.0258 17.958 6.93652 18.041C6.43495 18.5388 5.75836 18.8204 5.05176 18.8262C4.34052 18.8307 3.65555 18.5571 3.14258 18.0645C2.8934 17.8154 2.6954 17.5198 2.56055 17.1943C2.42575 16.8689 2.35646 16.5202 2.35645 16.168C2.35645 15.8156 2.42569 15.4661 2.56055 15.1406C2.6954 14.8153 2.89352 14.5195 3.14258 14.2705C3.22756 14.1929 3.28841 14.0926 3.31836 13.9814C3.34831 13.8702 3.34616 13.7525 3.31152 13.6426C3.2527 13.5407 3.16801 13.4558 3.06641 13.3965C2.96473 13.3372 2.84915 13.3048 2.73145 13.3037C2.0205 13.3009 1.33854 13.0223 0.829102 12.5264C0.31966 12.0305 0.0219184 11.3561 0 10.6455C0.00161331 10.2934 0.0727706 9.94487 0.208984 9.62012C0.345237 9.29532 0.544759 9.00088 0.794922 8.75293C1.04514 8.50496 1.3419 8.30815 1.66797 8.1748C1.99393 8.04156 2.34318 7.974 2.69531 7.97559C2.80417 7.97077 2.90934 7.93495 2.99902 7.87305C3.08873 7.81111 3.15906 7.72513 3.20215 7.625C3.25298 7.51425 3.27022 7.39083 3.25098 7.27051C3.23162 7.15005 3.17683 7.0376 3.09375 6.94824C2.59593 6.44662 2.3
7143 5.77016 2.30859 5.06348C2.30242 4.71068 2.36639 4.35999 2.49707 4.03223C2.62772 3.70456 2.8222 3.40602 3.06934 3.1543C3.31844 2.90512 3.61492 2.70712 3.94043 2.57227C4.26581 2.43753 4.61462 2.36816 4.9668 2.36816C5.319 2.36818 5.66776 2.43749 5.99316 2.57227C6.31867 2.70712 6.61515 2.90512 6.86426 3.1543C6.95114 3.23684 7.05769 3.2956 7.17383 3.3252C7.29019 3.35481 7.41235 3.35433 7.52832 3.32324C7.63396 3.26539 7.72367 3.1822 7.78906 3.08105C7.85447 2.97978 7.89403 2.86336 7.90332 2.74316C7.903 2.03024 8.17968 1.345 8.67578 0.833008C9.17202 0.320975 9.84882 0.0219881 10.5615 0ZM10.5732 1.80078C10.3393 1.81635 10.1206 1.92223 9.96289 2.0957C9.80525 2.26919 9.72077 2.49713 9.72754 2.73145C9.71463 3.20434 9.57001 3.66464 9.30957 4.05957C9.04908 4.4545 8.68257 4.76872 8.25293 4.9668C7.80735 5.14748 7.31858 5.19477 6.84668 5.10254C6.37468 5.01025 5.9395 4.78257 5.59473 4.44727C5.51539 4.36793 5.42104 4.30465 5.31738 4.26172C5.21394 4.21894 5.10315 4.19633 4.99121 4.19629C4.87906 4.19629 4.76768 4.21882 4.66406 4.26172C4.5604 4.30466 4.46606 4.36793 4.38672 4.44727C4.30744 4.52658 4.24409 4.621 4.20117 4.72461C4.15841 4.82802 4.13677 4.93888 4.13672 5.05078C4.13672 5.16288 4.15831 5.27435 4.20117 5.37793C4.24411 5.48158 4.30739 5.57594 4.38672 5.65527C4.72003 5.99645 4.94504 6.42871 5.0332 6.89746C5.12133 7.3661 5.06832 7.85019 4.88184 8.28906C4.70194 8.72065 4.40071 9.09166 4.01465 9.35547C3.62868 9.6191 3.17433 9.76463 2.70703 9.77539C2.47399 9.77208 2.24836 9.86028 2.0791 10.0205C1.90999 10.1807 1.8102 10.401 1.80078 10.6338C1.81922 10.8666 1.92581 11.0841 2.09863 11.2412C2.27146 11.3982 2.49797 11.4833 2.73145 11.4795C3.20049 11.4824 3.65922 11.6179 4.05469 11.8701C4.45015 12.1224 4.76642 12.4811 4.9668 12.9053C5.1503 13.3464 5.19882 13.832 5.10645 14.3008C5.01399 14.7695 4.78447 15.2006 4.44727 15.5391C4.36797 15.6184 4.30466 15.7128 4.26172 15.8164C4.21879 15.92 4.19728 16.0314 4.19727 16.1436C4.19727 16.2558 4.21878 16.367 4.26172 16.4707C4.30466 16.5744 4.36793 16.6687 4.44727 16.748C4.52657 16.8273 4.62103 16.8897 4.72461 16.9326C4.82824 16.9755 4.93959 16.998 5.05176 16.998C5.16375 16.998 5.27445 16.9755 5.37793 16.9326C5.48151 16.8897 5.57598 16.8273 5.65527 16.748C6.11455 16.3096 6.7244 16.0625 7.35938 16.0586C7.6798 16.0549 7.99763 16.1209 8.29004 16.252C8.72149 16.4318 9.09171 16.7332 9.35547 17.1191C9.61927 17.5052 9.76462 17.9603 9.77539 18.4277C9.77214 18.6606 9.86044 18.8855 10.0205 19.0547C10.1808 19.224 10.4009 19.3246 10.6338 19.334C10.8667 19.3156 11.0841 19.209 11.2412 19.0361C11.3983 18.8633 11.4833 18.6369 11.4795 18.4033C11.4824 17.9343 11.6179 17.4756 11.8701 17.0801C12.1223 16.6846 12.4812 16.3684 12.9053 16.168C13.3465 15.9844 13.8329 15.9358 14.3018 16.0283C14.7705 16.1209 15.2016 16.3502 15.54 16.6875C15.7002 16.8475 15.9172 16.9374 16.1436 16.9375C16.3702 16.9375 16.5878 16.8477 16.748 16.6875C16.9083 16.5273 16.998 16.3096 16.998 16.083C16.998 15.8566 16.9081 15.6396 16.748 15.4795C16.4128 15.1397 16.1851 14.708 16.0947 14.2393C16.0044 13.7704 16.0552 13.2848 16.2402 12.8447C16.4308 12.4208 16.7398 12.0605 17.1299 11.8076C17.5199 11.5548 17.9747 11.4199 18.4395 11.4189C18.6693 11.4223 18.8916 11.3357 19.0586 11.
71777C19.2256 11.0198 19.3246 10.8029 19.334 10.5732C19.3185 10.3393 19.2125 10.1206 19.0391 9.96289C18.8656 9.80516 18.6377 9.72077 18.4033 9.72754C17.9304 9.71467 17.4702 9.57004 17.0752 9.30957C16.6802 9.04908 16.3661 8.68263 16.168 8.25293C15.9872 7.8073 15.94 7.31865 16.0322 6.84668C16.1245 6.37465 16.3522 5.93952 16.6875 5.59473C16.7668 5.5154 16.8301 5.42101 16.873 5.31738C16.9158 5.21397 16.9374 5.10312 16.9375 4.99121C16.9375 4.87913 16.9159 4.76762 16.873 4.66406C16.8301 4.56042 16.7668 4.46605 16.6875 4.38672C16.6082 4.30738 16.5138 4.24411 16.4102 4.20117C16.3066 4.15829 16.1951 4.13672 16.083 4.13672C15.9711 4.13677 15.8603 4.1584 15.7568 4.20117C15.6532 4.2441 15.5588 4.30741 15.4795 4.38672C15.1398 4.70225 14.7162 4.91355 14.2598 4.99512C13.8034 5.07667 13.3332 5.02494 12.9053 4.84668C12.4773 4.66835 12.1092 4.37078 11.8457 3.98926C11.5823 3.60785 11.4342 3.15857 11.4189 2.69531C11.4223 2.46544 11.3357 2.24319 11.1777 2.07617C11.0197 1.90916 10.8029 1.8102 10.5732 1.80078ZM9.87109 7.10059C10.5577 6.96411 11.2692 7.03484 11.916 7.30273C12.5629 7.5707 13.1159 8.02423 13.5049 8.60645C13.8939 9.18866 14.1016 9.87302 14.1016 10.5732C14.1016 11.5122 13.7284 12.4132 13.0645 13.0771C12.4006 13.7408 11.5003 14.1132 10.5615 14.1133C9.86131 14.1133 9.17694 13.9056 8.59473 13.5166C8.01251 13.1276 7.558 12.5747 7.29004 11.9277C7.02227 11.281 6.95236 10.5693 7.08887 9.88281C7.22547 9.19604 7.56248 8.56447 8.05762 8.06934C8.55274 7.57425 9.18436 7.23719 9.87109 7.10059ZM10.5615 8.8457C10.2198 8.8457 9.88571 8.94687 9.60156 9.13672C9.31741 9.32658 9.09563 9.59637 8.96484 9.91211C8.83414 10.2277 8.79962 10.5751 8.86621 10.9102C8.93288 11.2453 9.09819 11.5533 9.33984 11.7949C9.58149 12.0365 9.88946 12.2009 10.2246 12.2676C10.5597 12.3342 10.907 12.3007 11.2227 12.1699C11.5384 12.0391 11.8082 11.8174 11.998 11.5332C12.1879 11.2491 12.2891 10.915 12.2891 10.5732C12.2891 10.115 12.1072 9.6756 11.7832 9.35156C11.4592 9.02755 11.0197 8.84575 10.5615 8.8457Z",fill:"#3E7C94"},null,-1),F_=[B_];function j_(t,e){return Y(),J("svg",N_,F_)}const $_=tr(U_,[["render",j_]]),z_={},q_={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"12",viewBox:"0 0 16 12",fill:"none"},H_=z("path",{d:"M5.37505 11.4689C5.28693 11.4659 5.20034 11.445 5.1206 11.4074C5.04085 11.3698 4.96963 11.3163 4.9113 11.2501L0.536298 6.87514C0.452882 6.82106 0.382844 6.74873 0.331472 6.66362C0.2801 6.57851 0.248736 6.48284 0.239748 6.38383C0.23076 6.28482 0.244384 6.18507 0.27959 6.0921C0.314797 5.99912 0.370665 5.91537 0.442978 5.84715C0.515291 5.77893 0.602159 5.72803 0.697021 5.69829C0.791884 5.66856 0.892263 5.66076 0.990579 5.6755C1.08889 5.69023 1.18258 5.72711 1.26456 5.78335C1.34653 5.83959 1.41466 5.91372 1.4638 6.00014L5.37505 9.88514L14.5363 0.750141C14.6596 0.670174 14.8062 0.63393 14.9526 0.647219C15.099 0.660508 15.2367 0.722561 15.3436 0.82343C15.4506 0.924299 15.5205 1.05814 15.5423 1.20351C15.5641 1.34888 15.5365 1.49736 15.4638 1.62514L5.8388 11.2501C5.78046 11.3163 5.70924 11.3698 5.6295 11.4074C5.54975 11.445 5.46317 11.4659 5.37505 11.4689Z",fill:"#007CB0"},null,-1),W_=[H_];function G_(t,e){return Y(),J("svg",q_,W_)}const V_=tr(z_,[["render",G_]]),Y_={},X_={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},J_=z("g",{"clip-path":"url(#clip0_947_2807)"},[z("path",{d:"M7.50002 15.8337L8.67502 14.6587L4.85835 10.8337H18.3334V9.16699H4.85835L8.68335 5.34199L7.50002 4.16699L1.66669 10.0003L7.50002 15.8337Z",fill:"#007CB0"})],-1),K_=z("defs",null,[z("clipPath",{id:"clip0_947_2807"},[z("rect",{width:"20",height:"20",fill:"white"})])],-1),Z_=[J_,K_];function Q_(t,e){return Y(),J("svg",X_,Z_)}const Rh=tr(Y_,[["render",Q_]]),tv={},ev={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none"},nv=z("g",{"clip-path":"url(#clip0_947_2823)"},[z("path",{d:"M12.5 4.16699L11.325 5.34199L15.1417 9.16699H1.66666V10.8337H15.1417L11.3167 14.6587L12.5 15.8337L18.3333 10.0003L12.5 4.16699Z",fill:"#007CB0"})],-1),rv=z("defs",null,[z("clipPath",{id:"clip0_947_2823"},[z("rect",{width:"20",height:"20",fill:"white"})])],-1),iv=[nv,rv];function ov(t,e){return Y(),J("svg",ev,iv)}const to=tr(tv,[["render",ov]]),sv=["standard","standard-no-space","compact","month-name","month-name-genitive"],Tn="compact",Ru={sl:{nominative:["januar","februar","marec","april","maj","junij","julij","avgust","september","oktober","november","december"],genitive:["januarja","februarja","marca","aprila","maja","junija","julija","avgusta","septembra","oktobra","novembra","decembra"],dayPeriod:!0},hr:{nominative:["sijeÄanj","veljaÄa","ožujak","travanj","svibanj","lipanj","srpanj","kolovoz","rujan","listopad","studeni","prosinac"],genitive:["sijeÄnja","veljaÄe","ožujka","travnja","svibnja","lipnja","srpnja","kolovoza","rujna","listopada","studenoga","prosinca"],dayPeriod:!0},de:{nominative:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],genitive:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],dayPeriod:!0},en:{nominative:["January","February","March","April","May","June","July","August","September","October","November","December"],genitive:["January","February","March","April","May","June","July","August","September","October","November","December"],dayPeriod:!1}},av=t=>{const e=(t??"sl").toLowerCase().replace("_","-").split("-")[0];return Ru[e]??Ru.sl},Qa=t=>sv.includes(t),tl=(t,e=Tn,n)=>{const r=new Date(t);if(Number.isNaN(r.getTime()))return"/";const i=r.getDate(),o=r.getMonth()+1,s=r.getFullYear();let a;switch(e){case"standard":a=`${i}. ${o}. ${s}`;break;case"standard-no-space":a=`${i}.${o}.${s}`;break;case"month-name":case"month-name-genitive":{const c=av(n?.locale),f=(e==="month-name"?c.nominative:c.genitive)[o-1];a=`${i}${c.dayPeriod?".":""} ${f} ${s}`;break}default:a=`${String(i).padStart(2,"0")}.${String(o).padStart(2,"0")}.${s}`;break}if(!(n!=null&&n.withTime))return a;const l=String(r.getHours()).padStart(2,"0"),u=String(r.getMinutes()).padStart(2,"0");return`${a} ${l}:${u}`},lv={class:"notifications-icon"},uv={key:0,class:"badge error"},cv={key:1,class:"badge"},fv=z("div",{class:"loader"},null,-1),hv=[fv],dv={key:2,class:"badge"},pv={class:"notification-header"},mv={class:"notification-header-title flex items-center gap-1"},gv={class:"notification-title"},_v=["disabled"],vv={class:"notification-content"},bv={key:0,class:"zero-notification"},yv=z("img",{width:"180",height:"180",alt:"brez obvestil"},null,-1),wv={class:"notification-item-header"},Cv={key:0,class:"notification-item-indicator"},Sv={class:"notification-item-date"},kv={class:"notification-item-details"},Tv={key:0,class:"notification-item-info"},Ev={key:1,class:"notification-item-info"},Av={key:2,class:"notification-item-info"},Pv={class:"notification-item-footer"},xv=["onClick"],Ov=["href"],Iv={class:"notification-footer"},Rv={key:0,class:"notification-pagination-container"},Mv=Qe({__name:"TheNotificationBell",props:{iconColor:{type:String,default:"#ffffff"},backgroundColor:{type:String},top:{type:String,default:"4rem"},right:{type:String,default:"1rem"},dateFormat:{type:String,default:void 0,validator:t=>t===void 0||Qa(t)},showModuleName:{type:Boolean,default:!0},showSettingsRedirect:{type:Boolean,default:!1},showMarkAllAsRead:{type:Boolean,default:!1}},emits:["onSettingsRedirect"],setup(t,{emit:e}){const n=ce("pluginI18n"),r=n.global.t,i=ce("tenant"),o=t,s=e;vo.registerPlugin(Je);const a=Va(),l=Ka(),u=ia(document.body),{width:c}
7=Sc(document.body),f=ot([]),p=ot([]),d=ot(!1),h=ot(null),_=ot(0),T=ot(0),b=ot(1),k=ot(),S=ot(!1),y=ot(!1),x=pt(()=>d.value?p.value:f.value.slice(0,5)),M=pt(()=>c.value&&c.value<933?3:5);async function O(){try{const A=await rn(We.NotificationApi).apiNotificationUnreadGet(i);f.value=A.data,S.value=!1}catch(A){S.value=!0,console.log(A)}}async function D(){try{const A=await rn(We.NotificationApi).apiNotificationSearchPost(i,{pageSize:10,pageNumber:b.value});p.value=A.data.items??[],k.value=A.data.totalCount,S.value=!1}catch(A){S.value=!0,console.log(A)}}async function F(A){try{const R=await rn(We.NotificationApi).apiNotificationNotificationIdMarkAsReadPut(A,i);f.value=f.value.filter(w=>w.id!==R.data.id),p.value=p.value.map(w=>w.id===R.data.id?R.data:w)}catch(R){console.log(R)}}async function X(){if(!y.value){y.value=!0;try{await rn(We.NotificationApi).apiNotificationMarkAsReadAllPut(i),await O(),d.value&&await D()}catch(A){console.log(A)}finally{y.value=!1}}}function V(){if(!l.socketError){if(a.notificationMenu){K();return}a.$patch({notificationMenu:!0,tasklistMenu:!1,mailMenu:!1}),O(),u.value=!0}}function K(){st(),a.notificationMenu=!1}async function rt(){await D(),d.value=!d.value;const A=Je.getState(h.value);d.value?(_.value=Ui(h).top.value,T.value=Ui(h).left.value,h.value&&(h.value.style.position="fixed",h.value.style.top="4rem",h.value.style.left="1rem",h.value.style.right="1rem",h.value.style.bottom="6rem",h.value.style.maxWidth="none",h.value.style.width="auto")):h.value&&(h.value.style.top=_.value+"px",h.value.style.left=T.value+"px",h.value.style.right="",h.value.style.bottom="",h.value.style.maxWidth="450px",h.value.style.width="450px"),Je.from(A,{duration:.5,ease:"power1.inOut",onComplete:()=>{h.value&&!d.value&&(h.value.style.position="")}})}const et=A=>{if(!A)return!1;try{return!!new URL(A)}catch{return!1}};function it(){K(),s("onSettingsRedirect")}function st(){u.value=!1,d.value=!1,b.value=1,h.value&&(h.value.style.position="",h.value.style.top="",h.value.style.left="",h.value.style.right="",h.value.style.bottom="",h.value.style.maxWidth="",h.value.style.width="")}const Ct=ce("dateFormat",Tn),ct=pt(()=>o.dateFormat??Ct??Tn),Xt=A=>tl(A,ct.value,{withTime:!0,locale:n.global.locale.value});return Zt(()=>a.notificationMenu,A=>{A||st()},{flush:"post"}),fr(()=>l.notificationCount,()=>{if(a.notificationMenu){if(d.value)return;O()}}),fr(()=>S.value,()=>{S.value&&K()}),(A,R)=>{const w=fc("vue-awesome-paginate");return Y(),J(Ve,null,[z("div",lv,[z("button",{type:"button",class:"bell-button",style:Vr({background:o.backgroundColor??void 0}),onClick:R[0]||(R[0]=Pt(C=>V(),["stop"]))},[nt(l).socketError||S.value?(Y(),J("span",uv,[bt(Za)])):nt(l).connectionStatus?nt(l).notificationCount!==0?(Y(),J("span",dv,Q(nt(l).notificationCount),1)):vt("",!0):(Y(),J("span",cv,hv)),bt(T_,{"icon-color":o.iconColor},null,8,["icon-color"])],4)]),bt(ea,null,{default:Rt(()=>[nt(a).notificationMenu?ta((Y(),J("div",{key:0,class:"notification-container",ref_key:"notificationMenuRef",ref:h,style:Vr({top:o.top,right:o.right})},[z("div",pv,[z("div",mv,[z("span",gv,Q(nt(r)("notification.title"))+" ("+Q(nt(l).notificationCount)+") ",1),o.showSettingsRedirect?(Y(),J("button",{key:0,onClick:R[1]||(R[1]=Pt(C=>it(),["prevent"])),class:"settings-button"},[bt($_)])):vt("",!0)]),o.showMarkAllAsRead&&nt(l).notificationCount!==0?(Y(),J("button",{key:0,onClick:R[2]||(R[2]=Pt(C=>X(),["prevent"])),disabled:y.value,class:"mark-all-read-button"},Q(nt(r)("notification.mark-all-as-read")),9,_v)):vt("",!0),z("button",{onClick:Pt(K,["prevent"]),class:"close-all-button"},[bt(Qi)])]),z("div",vv,[x.value.length===0?(Y(),J("div",bv,[yv,z("span",null,Q(nt(r)("notification.empty-new")),1)])):(Y(),ae(Di,{key:1,tag:"ul",name:"fade",class:"notification-list"},{default:Rt(()=>[(Y(!0),J(Ve,null,Yr(x.value,C=>{var g;return Y(),J("li",{key:C.id,class:"notification-item"},[z("div",wv,[C.readAt?vt("",!0):(Y(),J("div",Cv)),z("span",{class:Kt(["notification-item-title",{small:!d.value,read:C.readAt}])},Q(C.title),3),z("span",Sv,Q(C.createdAtUtc?Xt(C.createdAtUtc):"/"),1)]),z("div",kv,[z("span",{class:Kt(["notification-item-message",{small:!d.value}])},Q(C.description),3),o.showModuleName?(Y(),J("div",Tv,[St(Q(nt(r)("notification.module-name"))+": ",1),z("span",null,Q((g=C.module)==null?void 0:g.name),1)])):vt("",!0),C.subscription?(Y(),J("div",Ev,[St(Q(nt(r)("notification.subscription"))+": ",1),z("span",null,Q(C.subscription.name),1)])):vt("",!0),C.senderUser?(Y(),J("div",Av,[St(Q(nt(r)("notification.author"))+": ",1),z("span",null,Q(C.senderUser.email),1)])):vt("",!0)]),z("div",Pv,[z("button",{onClick:Pt(m=>F(C.id),["prevent"]),class:Kt(["read-unread-button",{read:C.readAt}])},[bt(V_)],10,xv),C.redirectUrl&&et(C.redirectUrl)?(Y(),J("a",{key:0,href:C?.redirectUrl,target:"_blank",rel:"noopener noreferrer",class:"notification-detail
7s-button"},Q(nt(r)("notification.details")),9,Ov)):vt("",!0)])])}),128))]),_:1}))]),z("div",Iv,[d.value?(Y(),J("div",Rv,[z("span",null,Q(nt(r)("notification.together"))+" "+Q(k.value)+" "+Q(nt(r)("notification.content")),1),bt(w,{"total-items":k.value,"max-pages-shown":M.value,showBreakpointButtons:!1,"items-per-page":10,modelValue:b.value,"onUpdate:modelValue":R[3]||(R[3]=C=>b.value=C),onClick:D},{"prev-button":Rt(()=>[bt(Rh)]),"next-button":Rt(()=>[bt(to)]),_:1},8,["total-items","max-pages-shown","modelValue"])])):(Y(),J("button",{key:1,class:"notification-button-all",onClick:Pt(rt,["prevent"])},[St(Q(nt(r)("notification.all"))+" ",1),bt(to)]))])],4)),[[nt(oa),K,void 0,{bubble:!0}]]):vt("",!0)]),_:1})],64)}}}),Lv={xmlns:"http://www.w3.org/2000/svg",width:"14",height:"10",viewBox:"0 0 14 10",fill:"none"},Dv=["fill","stroke"],Uv=["fill","stroke"],Nv=["fill","stroke"],Bv=["fill","stroke"],Fv=["fill","stroke"],jv=["fill","stroke"],$v=Qe({__name:"TheTasklistSvg",props:{iconColor:{type:String,default:"#ffffff"}},setup(t){const e=t;return(n,r)=>(Y(),J("svg",Lv,[z("path",{d:"M13.125 5.15625H3.5C3.45856 5.15625 3.41882 5.13979 3.38951 5.11049C3.36021 5.08118 3.34375 5.04144 3.34375 5C3.34375 4.95856 3.36021 4.91882 3.38951 4.88951C3.41882 4.86021 3.45856 4.84375 3.5 4.84375H13.125C13.1664 4.84375 13.2062 4.86021 13.2355 4.88951L13.589 4.53596L13.2355 4.88952C13.2648 4.91882 13.2812 4.95856 13.2812 5C13.2812 5.04144 13.2648 5.08118 13.2355 5.11048L13.5857 5.46073L13.2355 5.11049C13.2062 5.13979 13.1664 5.15625 13.125 5.15625Z",fill:e.iconColor,stroke:e.iconColor},null,8,Dv),z("path",{d:"M13.125 1.21875H3.5C3.45856 1.21875 3.41882 1.20229 3.38951 1.17299C3.36021 1.14368 3.34375 1.10394 3.34375 1.0625C3.34375 1.02106 3.36021 0.981317 3.38951 0.952015C3.41882 0.922712 3.45856 0.90625 3.5 0.90625H13.125C13.1664 0.90625 13.2062 0.922712 13.2355 0.952014L13.589 0.598461L13.2355 0.952016C13.2648 0.981317 13.2812 1.02106 13.2812 1.0625C13.2812 1.10394 13.2648 1.14368 13.2355 1.17298L13.5857 1.52323L13.2355 1.17299C13.2062 1.20229 13.1664 1.21875 13.125 1.21875Z",fill:e.iconColor,stroke:e.iconColor},null,8,Uv),z("path",{d:"M13.125 9.09375H3.5C3.45856 9.09375 3.41882 9.07729 3.38951 9.04799C3.36021 9.01868 3.34375 8.97894 3.34375 8.9375C3.34375 8.89606 3.36021 8.85632 3.38951 8.82701C3.41882 8.79771 3.45856 8.78125 3.5 8.78125H13.125C13.1664 8.78125 13.2062 8.79771 13.2355 8.82701L13.589 8.47346L13.2355 8.82702C13.2648 8.85632 13.2812 8.89606 13.2812 8.9375C13.2812 8.97894 13.2648 9.01868 13.2355 9.04798L13.5857 9.39824L13.2355 9.04799C13.2062 9.07729 13.1664 9.09375 13.125 9.09375Z",fill:e.iconColor,stroke:e.iconColor},null,8,Nv),z("path",{d:"M0.88114 1.43751L0.881141 1.43736L0.86889 1.43751C0.825863 1.43804 0.783112 1.43115 0.742497 1.41721C0.691053 1.39055 0.642747 1.35822 0.598479 1.32083C0.568553 1.28816 0.544625 1.25041 0.527842 1.20933C0.509433 1.16425 0.499978 1.11604 0.5 1.06736C0.501925 0.965172 0.541156 0.867282 0.610181 0.792085C0.640756 0.7633 0.676817 0.740927 0.71624 0.72632L0.724433 0.723284L0.732515 0.719964C0.823813 0.682457 0.926217 0.682457 1.01751 0.719964L1.01748 0.720055L1.02676 0.723655C1.0693 0.740149 1.10844 0.764255 1.14228 0.794763C1.2098 0.869597 1.24813 0.966379 1.25003 1.06736C1.25005 1.11603 1.2406 1.16425 1.22219 1.20933C1.2054 1.25041 1.18148 1.28816 1.15155 1.32083C1.10728 1.35822 1.05898 1.39055 1.00753 1.41721C0.966918 1.43115 0.924166 1.43804 0.88114 1.43751Z",fill:e.iconColor,stroke:e.iconColor},null,8,Bv),z("path",{d:"M0.738559 5.34499L0.738564 5.34498L0.735303 5.34361C0.686107 5.32305 0.640494 5.29486 0.600135 5.26011C0.569435 5.22703 0.544933 5.18865 0.527842 5.14681C0.509433 5.10173 0.499978 5.05352 0.5 5.00484C0.501865 4.90583 0.538754 4.81085 0.603832 4.73664C0.643271 4.70333 0.687603 4.67622 0.735303 4.65629L0.744145 4.65259L0.75284 4.64856C0.810979 4.6216 0.874886 4.61007 0.938442 4.61481L1.01569 4.64056L1.10395 4.68469C1.11824 4.69559 1.13219 4.70692 1.14578 4.71868C1.21334 4.79552 1.25056 4.89463 1.25002 4.99734H1.25001V4.99995C1.25001 5.09941 1.21051 5.19479 1.14018 5.26512C1.07057 5.33473 0.976401 5.37415 0.878036 5.37494C0.830065 5.37397 0.782715 5.36381 0.738559 5.34499Z",fill:e.iconColor,stroke:e.iconColor},null,8,Fv),z("path",{d:"M0.87785 9.31251L0.87785 9.31243L0.868834 9.31254C0.825808 9.31306 0.783057 9.30618 0.742442 9.29224C0.694209 9.26724 0.648733 9.23727 0.606758 9.2028C0.575677 9.16485 0.550246 9.12255 0.531297 9.07721L0.531393 9.07717L0.527282 9.06787C0.509131 9.02
768 0.499756 8.9824 0.499756 8.9375C0.499756 8.8926 0.509131 8.8482 0.527282 8.80713L0.527377 8.80717L0.531297 8.79779C0.551769 8.7488 0.579807 8.70337 0.614362 8.66313C0.665539 8.61604 0.728879 8.58405 0.797338 8.57086C0.870084 8.55684 0.945352 8.56469 1.01364 8.59341L1.01357 8.59359L1.02671 8.59868C1.06753 8.61452 1.10523 8.63736 1.13812 8.66614C1.1715 8.70562 1.19866 8.75002 1.21862 8.79779L1.21853 8.79783L1.22264 8.80713C1.24079 8.8482 1.25016 8.8926 1.25016 8.9375C1.25016 8.9824 1.24079 9.0268 1.22264 9.06787L1.22254 9.06783L1.21862 9.07721C1.19806 9.12641 1.16987 9.17202 1.13511 9.21238C1.10203 9.24308 1.06366 9.26758 1.02181 9.28467C0.976127 9.30333 0.927204 9.31279 0.87785 9.31251Z",fill:e.iconColor,stroke:e.iconColor},null,8,jv)]))}}),zv={},qv={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},Hv=z("path",{d:"M18 20.75H6C5.27065 20.75 4.57118 20.4603 4.05546 19.9445C3.53973 19.4288 3.25 18.7293 3.25 18V6C3.25 5.27065 3.53973 4.57118 4.05546 4.05546C4.57118 3.53973 5.27065 3.25 6 3.25H12C12.1989 3.25 12.3897 3.32902 12.5303 3.46967C12.671 3.61032 12.75 3.80109 12.75 4C12.75 4.19891 12.671 4.38968 12.5303 4.53033C12.3897 4.67098 12.1989 4.75 12 4.75H6C5.66848 4.75 5.35054 4.8817 5.11612 5.11612C4.8817 5.35054 4.75 5.66848 4.75 6V18C4.75 18.3315 4.8817 18.6495 5.11612 18.8839C5.35054 19.1183 5.66848 19.25 6 19.25H18C18.3315 19.25 18.6495 19.1183 18.8839 18.8839C19.1183 18.6495 19.25 18.3315 19.25 18V12C19.25 11.8011 19.329 11.6103 19.4697 11.4697C19.6103 11.329 19.8011 11.25 20 11.25C20.1989 11.25 20.3897 11.329 20.5303 11.4697C20.671 11.6103 20.75 11.8011 20.75 12V18C20.75 18.7293 20.4603 19.4288 19.9445 19.9445C19.4288 20.4603 18.7293 20.75 18 20.75Z",fill:"#007CB0"},null,-1),Wv=z("path",{d:"M20 8.75C19.8019 8.74741 19.6126 8.66756 19.4725 8.52747C19.3324 8.38737 19.2526 8.19811 19.25 8V4.75H16C15.8011 4.75 15.6103 4.67098 15.4697 4.53033C15.329 4.38968 15.25 4.19891 15.25 4C15.25 3.80109 15.329 3.61032 15.4697 3.46967C15.6103 3.32902 15.8011 3.25 16 3.25H20C20.1981 3.25259 20.3874 3.33244 20.5275 3.47253C20.6676 3.61263 20.7474 3.80189 20.75 4V8C20.7474 8.19811 20.6676 8.38737 20.5275 8.52747C20.3874 8.66756 20.1981 8.74741 20 8.75Z",fill:"#007CB0"},null,-1),Gv=z("path",{d:"M13.5 11.25C13.3071 11.2352 13.1276 11.1455 13 11C12.877 10.8625 12.809 10.6845 12.809 10.5C12.809 10.3155 12.877 10.1375 13 10L19.5 3.5C19.5687 3.42631 19.6515 3.36721 19.7435 3.32622C19.8355 3.28523 19.9348 3.26319 20.0355 3.26141C20.1362 3.25963 20.2362 3.27816 20.3296 3.31588C20.423 3.3536 20.5078 3.40974 20.579 3.48096C20.6503 3.55218 20.7064 3.63701 20.7441 3.7304C20.7818 3.82379 20.8004 3.92382 20.7986 4.02452C20.7968 4.12523 20.7748 4.22454 20.7338 4.31654C20.6928 4.40854 20.6337 4.49134 20.56 4.56L14 11C13.8724 11.1455 13.6929 11.2352 13.5 11.25Z",fill:"#007CB0"},null,-1),Vv=[Hv,Wv,Gv];function Yv(t,e){return Y(),J("svg",qv,Vv)}const yi=tr(zv,[["render",Yv]]),Xv={class:"tasklist-icon"},Jv={key:0,class:"badge-error"},Kv={key:1},Zv={key:0,class:"badge-user"},Qv=z("div",{class:"loader"},null,-1),t0=[Qv],e0={key:1,class:"badge-user"},n0={key:0,class:"badge-unassigned"},r0=z("div",{class:"loader"},null,-1),i0=[r0],o0={key:1,class:"badge-unassigned"},s0={key:0,class:"tasklist-menu-wrapper"},a0={class:"tasklist-user"},l0={class:"tasklist-title"},u0={class:"tasklist-content"},c0={key:0,class:"zero-tasks"},f0=z("img",{width:"auto",height:"180",alt:"brez opravil"},null,-1),h0={class:"task-item-header"},d0=z("span",{class:"task-item-indicator"},null,-1),p0={class:"task-item-title small"},m0={class:"task-item-details"},g0={class:"task-item-info"},_0={class:"task-item-info"},v0={class:"task-item-footer"},b0=["href"],y0={class:"tasklist-unassigned"},w0={class:"tasklist-header"},C0={class:"tasklist-title"},S0={class:"tasklist-content"},k0={key:0,class:"zero-tasks"},T0=z("img",{width:"auto",height:"180",alt:"brez opravil"},null,-1),E0={class:"task-item-header"},A0=z("span",{class:"task-item-indicator"},null,-1),P0={class:"task-item-title small"},x0={class:"task-item-details"},O0={class:"task-item-info"},I0={class:"task-item-info"},R0={class:"task-item-footer"},M0=["href"],L0={class:"tasklist-footer"},D0=["href"],U0={key:1,class:"disabled"},N0=Qe({__name:"TheTasklist",props:{iconColor:{type:String,default:"#ffffff"},backgroundColor:{type:String},top:{type:String,default:"4rem"},right:{type:String,default:"1rem"},dateFormat:{type:String,default:void 0,validator:t=>t===void 0||Qa(t)}},setup(t){const e=ce("pluginI18n"),n=e.global.t,r=ce("tenant"),i=t,o=ot(null),s=ot(null),a=ot
7(!1);ud(s,([{isIntersecting:F}])=>{a.value=F},{root:o});const l=ia(document.body);vo.registerPlugin(Je);const u=ce("notificationTasklistUrl"),c=Va(),f=Ka(),p=ot([]),d=ot([]),h=ot(!1),_=pt(()=>p.value.slice(0,5)),T=pt(()=>d.value.slice(0,5));async function b(){try{const F=await rn(We.TasklistApi).apiTasklistUserTaskGet(r);p.value=F.data,h.value=!1}catch(F){h.value=!0,console.log(F)}}async function k(){try{const F=await rn(We.TasklistApi).apiTasklistUnassignedTaskGet(r);d.value=F.data,h.value=!1}catch(F){h.value=!0,console.log(F)}}function S(){if(!f.socketError){if(c.tasklistMenu){y();return}b(),k(),c.$patch({tasklistMenu:!0,notificationMenu:!1,mailMenu:!1}),l.value=!0}}function y(){x(),c.tasklistMenu=!1}function x(){l.value=!1,p.value=[],d.value=[]}const M=ce("dateFormat",Tn),O=pt(()=>i.dateFormat??M??Tn),D=F=>tl(F,O.value,{withTime:!1,locale:e.global.locale.value});return Zt(()=>c.tasklistMenu,F=>{F||x()},{flush:"post"}),fr(()=>f.userTaskCount,()=>{c.tasklistMenu&&b()}),fr(()=>f.unassignedTasksCount,()=>{c.tasklistMenu&&k()}),fr(()=>h.value,()=>{h.value&&y()}),(F,X)=>(Y(),J(Ve,null,[z("div",Xv,[z("button",{type:"button",class:"task-button",onClick:X[0]||(X[0]=Pt(V=>S(),["stop"])),style:Vr({background:i.backgroundColor??void 0})},[nt(f).socketError||h.value?(Y(),J("span",Jv,[bt(Za)])):(Y(),J("div",Kv,[z("div",null,[nt(f).connectionStatus?nt(f).userTaskCount!==0?(Y(),J("span",e0,Q(nt(f).userTaskCount),1)):vt("",!0):(Y(),J("span",Zv,t0))]),z("div",null,[nt(f).connectionStatus?nt(f).unassignedTasksCount!==0?(Y(),J("span",o0,Q(nt(f).unassignedTasksCount),1)):vt("",!0):(Y(),J("span",n0,i0))])])),bt($v,{"icon-color":i.iconColor},null,8,["icon-color"])],4)]),bt(ea,null,{default:Rt(()=>[nt(c).tasklistMenu?ta((Y(),J("div",s0,[z("div",{class:"tasklist-container",ref_key:"root",ref:o},[z("div",a0,[z("div",{class:"tasklist-header",ref_key:"target",ref:s},[z("span",l0,Q(nt(n)("tasks.mine"))+" ("+Q(nt(f).userTaskCount)+") ",1),a.value?(Y(),J("button",{key:0,onClick:Pt(y,["prevent"]),class:"close-tasklist-mobile"},[bt(Qi)])):vt("",!0)],512),z("div",u0,[p.value.length===0?(Y(),J("div",c0,[f0,z("span",null,Q(nt(n)("tasks.zero")),1)])):(Y(),ae(Di,{key:1,tag:"ul",name:"fade",class:"tasklist-list"},{default:Rt(()=>[(Y(!0),J(Ve,null,Yr(_.value,V=>(Y(),J("li",{key:V.id,class:"task-item"},[z("div",h0,[d0,z("span",p0,Q(V.title),1)]),z("div",m0,[z("div",g0,[St(Q(nt(n)("tasks.group"))+": ",1),z("span",null,Q(V.group),1)]),z("div",_0,[St(Q(nt(n)("tasks.due"))+": ",1),z("span",null,Q(V.dueAtUtc?D(V.dueAtUtc):"/"),1)])]),z("div",v0,[V.redirectUrl?(Y(),J("a",{key:0,class:"task-link",href:V.redirectUrl?V.redirectUrl:"#",target:"_blank"},[St(Q(nt(n)("tasks.goto"))+" ",1),bt(yi)],8,b0)):vt("",!0)])]))),128))]),_:1}))])]),z("div",y0,[z("div",w0,[z("span",C0,Q(nt(n)("tasks.open"))+" ("+Q(nt(f).unassignedTasksCount)+")",1),a.value?vt("",!0):(Y(),J("button",{key:0,onClick:Pt(y,["prevent"]),class:"close-tasklist-mobile"},[bt(Qi)]))]),z("div",S0,[d.value.length===0?(Y(),J("div",k0,[T0,z("span",null,Q(nt(n)("tasks.zero")),1)])):(Y(),ae(Di,{key:1,tag:"ul",name:"fade",class:"tasklist-list"},{default:Rt(()=>[(Y(!0),J(Ve,null,Yr(T.value,V=>(Y(),J("li",{key:V.id,class:"task-item"},[z("div",E0,[A0,z("span",P0,Q(V.title),1)]),z("div",x0,[z("div",O0,[St(Q(nt(n)("tasks.group"))+": ",1),z("span",null,Q(V.group),1)]),z("div",I0,[St(Q(nt(n)("tasks.due"))+": ",1),z("span",null,Q(V.dueAtUtc?D(V.dueAtUtc):"/"),1)])]),z("div",R0,[V.redirectUrl?(Y(),J("a",{key:0,class:"task-link",href:V.redirectUrl?V.redirectUrl:"#",target:"_blank"},[St(Q(nt(n)("tasks.goto"))+" ",1),bt(yi)],8,M0)):vt("",!0)])]))),128))]),_:1}))])])],512),z("div",L0,[nt(u)?(Y(),J("a",{key:0,class:"tasklist-link-all",href:nt(u),target:"_blank"},[St(Q(nt(n)("tasks.all"))+" ",1),bt(yi)],8,D0)):(Y(),J("div",U0,[St(Q(nt(n)("tasks.all"))+" ",1),bt(yi)]))])])),[[nt(oa),y,void 0,{bubble:!0}]]):vt("",!0)]),_:1})],64))}});const eo=typeof window<"u",An=(t,e=!1)=>e?Symbol.for(t):Symbol(t),B0=(t,e,n)=>F0({l:t,k:e,s:n}),F0=t=>JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),zt=t=>typeof t=="number"&&isFinite(t),j0=t=>el(t)==="[object Date]",Er=t=>el(t)==="[object RegExp]",ko=t=>ft(t)&&Object.keys(t).length===0,Wt=Object.assign,$0=Object.create,yt=(t=null)=>$0(t);let Mu;const Nn=()=>Mu||(Mu=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:yt());function Lu(t){return t.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const z0=Object.prototype.hasOwnProperty;function Ne(t,e){return z0.call(t,e)}const qt=Array.isArray,Tt=t=>typeof t=="function",tt=t=>typeof t=="string",mt=t=>typeof t=="boolean",gt=t=>t!==null&&typeof t=="object",q0=t=>gt(t)&&Tt(t.then)&&Tt(t.catch),Mh=Object.prototype.toString,el=t=>Mh.call(t),ft=t=>el(t)==="[object Object]",H0=t=>t==null?"":qt(t)||ft(t)&&t.toString===Mh?JSON.stringify(t,null,2):String(t);function nl(t,e=""){return t.reduce((n,r,i)=>i===0?n+r:n+e+r,"")}function W0(t,e){typeof console<"u"&&(console.warn("[intlify] "+t),e&&console.warn(e.stack))}const wi=t=>!gt(t)||qt(t);function Li(t,e){if(wi(t)||wi(e))throw new Error("Invalid value");
7const n=[{src:t,des:e}];for(;n.length;){const{src:r,des:i}=n.pop();Object.keys(r).forEach(o=>{o!=="__proto__"&&(gt(r[o])&&!gt(i[o])&&(i[o]=Array.isArray(r[o])?[]:yt()),wi(i[o])||wi(r[o])?i[o]=r[o]:n.push({src:r[o],des:i[o]}))})}}function G0(t,e,n){return{line:t,column:e,offset:n}}function qs(t,e,n){return{start:t,end:e}}const _t={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14},V0=17;function To(t,e,n={}){const{domain:r,messages:i,args:o}=n,s=t,a=new SyntaxError(String(s));return a.code=t,e&&(a.location=e),a.domain=r,a}function Y0(t){throw t}const tn=" ",X0="\r",ue=` 8`,J0="\u2028",K0="\u2029";function Z0(t){const e=t;let n=0,r=1,i=1,o=0;const s=O=>e[O]===X0&&e[O+1]===ue,a=O=>e[O]===ue,l=O=>e[O]===K0,u=O=>e[O]===J0,c=O=>s(O)||a(O)||l(O)||u(O),f=()=>n,p=()=>r,d=()=>i,h=()=>o,_=O=>s(O)||l(O)||u(O)?ue:e[O],T=()=>_(n),b=()=>_(n+o);function k(){return o=0,c(n)&&(r++,i=0),s(n)&&n++,n++,i++,e[n]}function S(){return s(n+o)&&o++,o++,e[n+o]}function y(){n=0,r=1,i=1,o=0}function x(O=0){o=O}function M(){const O=n+o;for(;O!==n;)k();o=0}return{index:f,line:p,column:d,peekOffset:h,charAt:_,currentChar:T,currentPeek:b,next:k,peek:S,reset:y,resetPeek:x,skipToPeek:M}}const pn=void 0,Du="'",Q0="tokenizer";function tb(t,e={}){const n=e.location!==!1,r=Z0(t),i=()=>r.index(),o=()=>G0(r.line(),r.column(),r.index()),s=o(),a=i(),l={currentType:13,offset:a,startLoc:s,endLoc:s,lastType:13,lastOffset:a,lastStartLoc:s,lastEndLoc:s,braceNest:0,inLinked:!1,text:""},u=()=>l,{onError:c}=e;function f(I,P,W,...Z){const N=u();if(P.column+=W,P.offset+=W,c){const q=n?qs(N.startLoc,P):null,ht=To(I,q,{domain:Q0,args:Z});c(ht)}}function p(I,P,W){I.endLoc=o(),I.currentType=P;const Z={type:P};return n&&(Z.loc=qs(I.startLoc,I.endLoc)),W!=null&&(Z.value=W),Z}const d=I=>p(I,13);function h(I,P){return I.currentChar()===P?(I.next(),P):(f(_t.EXPECTED_TOKEN,o(),0,P),"")}function _(I){let P="";for(;I.currentPeek()===tn||I.currentPeek()===ue;)P+=I.currentPeek(),I.peek();return P}function T(I){const P=_(I);return I.skipToPeek(),P}function b(I){if(I===pn)return!1;const P=I.charCodeAt(0);return P>=97&&P<=122||P>=65&&P<=90||P===95}
8function k(I){if(I===pn)return!1;const P=I.charCodeAt(0);return P>=48&&P<=57}function S(I,P){const{currentType:W}=P;if(W!==2)return!1;_(I);const Z=b(I.currentPeek());return I.resetPeek(),Z}function y(I,P){const{currentType:W}=P;if(W!==2)return!1;_(I);const Z=I.currentPeek()==="-"?I.peek():I.currentPeek(),N=k(Z);return I.resetPeek(),N}function x(I,P){const{currentType:W}=P;if(W!==2)return!1;_(I);const Z=I.currentPeek()===Du;return I.resetPeek(),Z}function M(I,P){const{currentType:W}=P;if(W!==7)return!1;_(I);const Z=I.currentPeek()===".";return I.resetPeek(),Z}function O(I,P){const{currentType:W}=P;if(W!==8)return!1;_(I);const Z=b(I.currentPeek());return I.resetPeek(),Z}function D(I,P){const{currentType:W}=P;if(!(W===7||W===11))return!1;_(I);const Z=I.currentPeek()===":";return I.resetPeek(),Z}function F(I,P){const{currentType:W}=P;if(W!==9)return!1;const Z=()=>{const q=I.currentPeek();return q==="{"?b(I.peek()):q==="@"||q==="|"||q===":"||q==="."||q===tn||!q?!1:q===ue?(I.peek(),Z()):V(I,!1)},N=Z();return I.resetPeek(),N}function X(I){_(I);const P=I.currentPeek()==="|";return I.resetPeek(),P}function V(I,P=!0){const W=(N=!1,q="")=>{const ht=I.currentPeek();return ht==="{"||ht==="@"||!ht?N:ht==="|"?!(q===tn||q===ue):ht===tn?(I.peek(),W(!0,tn)):ht===ue?(I.peek(),W(!0,ue)):!0},Z=W();return P&&I.resetPeek(),Z}function K(I,P){const W=I.currentChar();return W===pn?pn:P(W)?(I.next(),W):null}function rt(I){const P=I.charCodeAt(0);return P>=97&&P<=122||P>=65&&P<=90||P>=48&&P<=57||P===95||P===36}function et(I){return K(I,rt)}function it(I){const P=I.charCodeAt(0);return P>=97&&P<=122||P>=65&&P<=90||P>=48&&P<=57||P===95||P===36||P===45}function st(I){return K(I,it)}function Ct(I){const P=I.charCodeAt(0);return P>=48&&P<=57}function ct(I){return K(I,Ct)}function Xt(I){const P=I.charCodeAt(0);return P>=48&&P<=57||P>=65&&P<=70||P>=97&&P<=102}function A(I){return K(I,Xt)}function R(I){let P="",W="";for(;P=ct(I);)W+=P;return W}function w(I){let P="";for(;;){const W=I.currentChar();if(W==="{"||W==="}"||W==="@"||W==="|"||!W)break;if(W===tn||W===ue)if(V(I))P+=W,I.next();else{if(X(I))break;P+=W,I.next()}else P+=W,I.next()}return P}function C(I){T(I);let P="",W="";for(;P=st(I);)W+=P;return I.currentChar()===pn&&f(_t.UNTERMINATED_CLOSING_BRACE,o(),0),W}function g(I){T(I);let P="";return I.currentChar()==="-"?(I.next(),P+=`-${R(I)}`):P+=R(I),I.currentChar()===pn&&f(_t.UNTERMINATED_CLOSING_BRACE,o(),0),P}function m(I){return I!==Du&&I!==ue}function v(I){T(I),h(I,"'");let P="",W="";for(;P=K(I,m);)P==="\\"?W+=E(I):W+=P;const Z=I.currentChar();return Z===ue||Z===pn?(f(_t.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,o(),0),Z===ue&&(I.next(),h(I,"'")),W):(h(I,"'"),W)}function E(I){const P=I.currentChar();switch(P){case"\\":case"'":return I.next(),`\\${P}`;case"u":return U(I,P,4);case"U":return U(I,P,6);default:return f(_t.UNKNOWN_ESCAPE_SEQUENCE,o(),0,P),""}}function U(I,P,W){h(I,P);let Z="";for(let N=0;N<W;N++){const q=A(I);if(!q){f(_t.INVALID_UNICODE_ESCAPE_SEQUENCE,o(),0,`\\${P}${Z}${I.currentChar()}`);break}Z+=q}return`\\${P}${Z}`}function L(I){return I!=="{"&&I!=="}"&&I!==tn&&I!==ue}function j(I){T(I);let P="",W="";for(;P=K(I,L);)W+=P;return W}function G(I){let P="",W="";for(;P=et(I);)W+=P;return W}function H(I){const P=W=>{const Z=I.currentChar();return Z==="{"||Z==="@"||Z==="|"||Z==="("||Z===")"||!Z||Z===tn?W:(W+=Z,I.next(),P(W))};return P("")}function lt(I){T(I);const P=h(I,"|");return T(I),P}function Jt(I,P){let W=null;switch(I.currentChar()){case"{":return P.braceNest>=1&&f(_t.NOT_ALLOW_NEST_PLACEHOLDER,o(),0),I.next(),W=p(P,2,"{"),T(I),P.braceNest++,W;case"}":return P.braceNest>0&&P.currentType===2&&f(_t.EMPTY_PLACEHOLDER,o(),0),I.next(),W=p(P,3,"}"),P.braceNest--,P.braceNest>0&&T(I),P.inLinked&&P.braceNest===0&&(P.inLinked=!1),W;case"@":return P.braceNest>0&&f(_t.UNTERMINATED_CLOSING_BRACE,o(),0),W=je(I,P)||d(P),P.braceNest=0,W;default:{let Z=!0,N=!0,q=!0;if(X(I))return P.braceNest>0&&f(_t.UNTERMINATED_CLOSING_BRACE,o(),0),W=p(P,1,lt(I)),P.braceNest=0,P.inLinked=!1,W;if(P.braceNest>0&&(P.currentType===4||P.currentType===5||P.currentType===6))return f(_t.UNTERMINATED_CLOSING_BRACE,o(),0),P.braceNest=0,Nt
vendor: 5,045 bytes, line 8
8(I,P);if(Z=S(I,P))return W=p(P,4,C(I)),T(I),W;if(N=y(I,P))return W=p(P,5,g(I)),T(I),W;if(q=x(I,P))return W=p(P,6,v(I)),T(I),W;if(!Z&&!N&&!q)return W=p(P,12,j(I)),f(_t.INVALID_TOKEN_IN_PLACEHOLDER,o(),0,W.value),T(I),W;break}}return W}function je(I,P){const{currentType:W}=P;let Z=null;const N=I.currentChar();switch((W===7||W===8||W===11||W===9)&&(N===ue||N===tn)&&f(_t.INVALID_LINKED_FORMAT,o(),0),N){case"@":return I.next(),Z=p(P,7,"@"),P.inLinked=!0,Z;case".":return T(I),I.next(),p(P,8,".");case":":return T(I),I.next(),p(P,9,":");default:return X(I)?(Z=p(P,1,lt(I)),P.braceNest=0,P.inLinked=!1,Z):M(I,P)||D(I,P)?(T(I),je(I,P)):O(I,P)?(T(I),p(P,11,G(I))):F(I,P)?(T(I),N==="{"?Jt(I,P)||Z:p(P,10,H(I))):(W===7&&f(_t.INVALID_LINKED_FORMAT,o(),0),P.braceNest=0,P.inLinked=!1,Nt(I,P))}}function Nt(I,P){let W={type:13};if(P.braceNest>0)return Jt(I,P)||d(P);if(P.inLinked)return je(I,P)||d(P);switch(I.currentChar()){case"{":return Jt(I,P)||d(P);case"}":return f(_t.UNBALANCED_CLOSING_BRACE,o(),0),I.next(),p(P,3,"}");case"@":return je(I,P)||d(P);default:{if(X(I))return W=p(P,1,lt(I)),P.braceNest=0,P.inLinked=!1,W;if(V(I))return p(P,0,w(I));break}}return W}function On(){const{currentType:I,offset:P,startLoc:W,endLoc:Z}=l;return l.lastType=I,l.lastOffset=P,l.lastStartLoc=W,l.lastEndLoc=Z,l.offset=i(),l.startLoc=o(),r.currentChar()===pn?p(l,13):Nt(r,l)}return{nextToken:On,currentOffset:i,currentPosition:o,context:u}}const eb="parser",nb=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function rb(t,e,n){switch(t){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(e||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"�"}}}function ib(t={}){const e=t.location!==!1,{onError:n}=t;function r(b,k,S,y,...x){const M=b.currentPosition();if(M.offset+=y,M.column+=y,n){const O=e?qs(S,M):null,D=To(k,O,{domain:eb,args:x});n(D)}}function i(b,k,S){const y={type:b};return e&&(y.start=k,y.end=k,y.loc={start:S,end:S}),y}function o(b,k,S,y){e&&(b.end=k,b.loc&&(b.loc.end=S))}function s(b,k){const S=b.context(),y=i(3,S.offset,S.startLoc);return y.value=k,o(y,b.currentOffset(),b.currentPosition()),y}function a(b,k){const S=b.context(),{lastOffset:y,lastStartLoc:x}=S,M=i(5,y,x);return M.index=parseInt(k,10),b.nextToken(),o(M,b.currentOffset(),b.currentPosition()),M}function l(b,k){const S=b.context(),{lastOffset:y,lastStartLoc:x}=S,M=i(4,y,x);return M.key=k,b.nextToken(),o(M,b.currentOffset(),b.currentPosition()),M}function u(b,k){const S=b.context(),{lastOffset:y,lastStartLoc:x}=S,M=i(9,y,x);return M.value=k.replace(nb,rb),b.nextToken(),o(M,b.currentOffset(),b.currentPosition()),M}function c(b){const k=b.nextToken(),S=b.context(),{lastOffset:y,lastStartLoc:x}=S,M=i(8,y,x);return k.type!==11?(r(b,_t.UNEXPECTED_EMPTY_LINKED_MODIFIER,S.lastStartLoc,0),M.value="",o(M,y,x),{nextConsumeToken:k,node:M}):(k.value==null&&r(b,_t.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,ze(k)),M.value=k.value||"",o(M,b.currentOffset(),b.currentPosition()),{node:M})}function f(b,k){const S=b.context(),y=i(7,S.offset,S.startLoc);return y.value=k,o(y,b.currentOffset(),b.currentPosition()),y}function p(b){const k=b.context(),S=i(6,k.offset,k.startLoc);let y=b.nextToken();if(y.type===8){const x=c(b);S.modifier=x.node,y=x.nextConsumeToken||b.nextToken()}switch(y.type!==9&&r(b,_t.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,ze(y)),y=b.nextToken(),y.type===2&&(y=b.nextToken()),y.type){case 10:y.value==null&&r(b,_t.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,ze(y)),S.key=f(b,y.value||"");break;case 4:y.value==null&&r(b,_t.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,ze(y)),S.key=l(b,y.value||"");break;case 5:y.value==null&&r(b,_t.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,ze(y)),S.key=a(b,y.value||"");break;case 6:y.value==null&&r(b,_t.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,ze(y)),S.key=u(b,y.value||"");break;default:{r(b,_t.UNEXPECTED_EMPTY_LINKED_KEY,k.lastStartLoc,0);const x=b.context(),M=i(7,x.offset,x.startLoc);return M.value="",o(M,x.offset,x.startLoc),S.key=M,o(S,x.offset,x.startLoc),{nextConsumeToken:y,node:S}}}return o(S,b.currentOffset(),b.currentPosition()),{node:S}}function d(b){const k=b.context(),S=k.currentType===1?b.currentOffset():k.offset,y=k.currentType===1?k.endLoc:k.startLoc,x=i(2,S,y);x.items=[];let M=null;do{const F=M||b.nextToken();switch(M=null,F.type){case 0:F.value==null&&r(b,_t.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,ze(F)),x.items.push(s(b,F.value||""));break;case 5:F.value==null&&r(b,_t.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,ze(F)),x.items.push(a(b,F.value||""));break;case 4:F.value==null&&r(b,_t.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,ze(F)),x.items.push(l(b,F.value||""));break;case 6:F.value==null&&r(b,_t.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,ze(F)),x.items.push(u(b,F.value||""));break;case 7:{const X=p(b);x.items.push(X.node),M=X.nextConsumeToken||null;break}}}while(k.currentType!==13&&k.currentType!==1);const O=k.currentType===1?k.lastOffset:b.currentOffset(),D=k.currentType===1?k.lastEndLoc:b.currentPosition();return o(x,O,D),x}
8function h(b,k,S,y){const x=b.context();let M=y.items.length===0;const O=i(1,k,S);O.cases=[],O.cases.push(y);do{const D=d(b);M||(M=D.items.length===0),O.cases.push(D)}while(x.currentType!==13);return M&&r(b,_t.MUST_HAVE_MESSAGES_IN_PLURAL,S,0),o(O,b.currentOffset(),b.currentPosition()),O}function _(b){const k=b.context(),{offset:S,startLoc:y}=k,x=d(b);return k.currentType===13?x:h(b,S,y,x)}function T(b){const k=tb(b,Wt({},t)),S=k.context(),y=i(0,S.offset,S.startLoc);return e&&y.loc&&(y.loc.source=b),y.body=_(k),t.onCacheKey&&(y.cacheKey=t.onCacheKey(b)),S.currentType!==13&&r(k,_t.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,b[S.offset]||""),o(y,k.currentOffset(),k.currentPosition()),y}return{parse:T}}function ze(t){if(t.type===13)return"EOF";const e=(t.value||"").replace(/\r?\n/gu,"\\n");return e.length>10?e.slice(0,9)+"â¦":e}function ob(t,e={}){const n={ast:t,helpers:new Set};return{context:()=>n,helper:r=>(n.helpers.add(r),r)}}function Uu(t,e){for(let n=0;n<t.length;n++)rl(t[n],e)}function rl(t,e){switch(t.type){case 1:Uu(t.cases,e),e.helper("plural");break;case 2:Uu(t.items,e);break;case 6:{rl(t.key,e),e.helper("linked"),e.helper("type");break}case 5:e.helper("interpolate"),e.helper("list");break;case 4:e.helper("interpolate"),e.helper("named");break}}function sb(t,e={}){const n=ob(t);n.helper("normalize"),t.body&&rl(t.body,n);const r=n.context();t.helpers=Array.from(r.helpers)}function ab(t){const e=t.body;return e.type===2?Nu(e):e.cases.forEach(n=>Nu(n)),t}function Nu(t){if(t.items.length===1){const e=t.items[0];(e.type===3||e.type===9)&&(t.static=e.value,delete e.value)}else{const e=[];for(let n=0;n<t.items.length;n++){const r=t.items[n];if(!(r.type===3||r.type===9)||r.value==null)break;e.push(r.value)}if(e.length===t.items.length){t.static=nl(e);for(let n=0;n<t.items.length;n++){const r=t.items[n];(r.type===3||r.type===9)&&delete r.value}}}}function sr(t){switch(t.t=t.type,t.type){case 0:{const e=t;sr(e.body),e.b=e.body,delete e.body;break}case 1:{const e=t,n=e.cases;for(let r=0;r<n.length;r++)sr(n[r]);e.c=n,delete e.cases;break}case 2:{const e=t,n=e.items;for(let r=0;r<n.length;r++)sr(n[r]);e.i=n,delete e.items,e.static&&(e.s=e.static,delete e.static);break}case 3:case 9:case 8:case 7:{const e=t;e.value&&(e.v=e.value,delete e.value);break}case 6:{const e=t;sr(e.key),e.k=e.key,delete e.key,e.modifier&&(sr(e.modifier),e.m=e.modifier,delete e.modifier);break}case 5:{const e=t;e.i=e.index,delete e.index;break}case 4:{const e=t;e.k=e.key,delete e.key;break}}delete t.type}function lb(t,e){const{filename:n,breakLineCode:r,needIndent:i}=e,o=e.location!==!1,s={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:i,indentLevel:0};o&&t.loc&&(s.source=t.loc.source);const a=()=>s;function l(d,h){s.code+=d}function u(d,h=!0){const _=h?r:"";l(i?_+" ".repeat(d):_)}function c(d=!0){const h=++s.indentLevel;d&&u(h)}function f(d=!0){const h=--s.indentLevel;d&&u(h)}function p(){u(s.indentLevel)}return{context:a,push:l,indent:c,deindent:f,newline:p,helper:d=>`_${d}`,needIndent:()=>s.needIndent}}function ub(t,e){const{helper:n}=t;t.push(`${n("linked")}(`),Ar(t,e.key),e.modifier?(t.push(", "),Ar(t,e.modifier),t.push(", _type")):t.push(", undefined, _type"),t.push(")")}function cb(t,e){const{helper:n,needIndent:r}=t;t.push(`${n("normalize")}([`),t.indent(r());const i=e.items.length;for(let o=0;o<i&&(Ar(t,e.items[o]),o!==i-1);o++)t.push(", ");t.deindent(r()),t.push("])")}function fb(t,e){const{helper:n,needIndent:r}=t;if(e.cases.length>1){t.push(`${n("plural")}([`),t.indent(r());const i=e.cases.length;for(let o=0;o<i&&(Ar(t,e.cases[o]),o!==i-1);o++)t.push(", ");t.deindent(r()),t.push("])")}}function hb(t,e){e.body?Ar(t,e.body):t.push("null")}function Ar(t,e){const{helper:n}=t;switch(e.type){case 0:hb(t,e);break;case 1:fb(t,e);break;case 2:cb(t,e);break;case 6:ub(t,e);break;case 8:t.push(JSON.stringify(e.value),e);break;case 7:t.push(JSON.stringify(e.value),e);break;case 5:t.push(`${n("interpolate")}(${n("list")}(${e.index}))`,e);break;case 4:t.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(e.key)}))`,e);break;case 9:t.push(JSON.stringify(e.value),e);break;case 3:t.push(JSON.stringify(e.value),e);break}}const db=(t,e={})=>{const n=tt(e.mode)?e.mode:"normal",r=tt(e.filename)?e.filename:"message.intl";e.sourceMap;const i=e.breakLineCode!=null?e.breakLineCode:n==="arrow"?";":` 9`,o=e.needIndent?e.needIndent:n!=="arrow",s=t.helpers||[],a=lb(t,{filename:r,breakLineCode:i,needIndent:o});a.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(o),s.length>0&&(a.push(`const { ${nl(s.map(c=>`${c}: _${c}`),", ")} } = ctx`),a.newline()),a.push("return "),Ar(a,t),a.deindent(o),a.push("}"),delete t.helpers;const{code:l,map:u}=a.context();return{ast:t,code:l,map:u?u.toJSON():void 0}};function pb(t,e={}){const n=Wt({},e),r=!!n.jit,i=!!n.minify,o=n.optimize==null?!0:n.optimize,s=ib(n).parse(t);return r?(o&&ab(s),i&&sr(s),{ast:s,code:""}):(sb(s,n),db(s,n))}function mb(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Nn().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Nn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function us(t){return e=>gb(e,t)}function gb(t,e){const n=vb(e);if(n==null)throw ai(0);if(il(n)===1){const r=yb(n);return t.plural(r.reduce((i,o)=>[...i,Bu(t,o)],[]))}else return Bu(t,n)}const _b=["b","body"];function vb(t){return Pn(t,_b)}const bb=["c","cases"];function yb(t){return Pn(t,bb,[])}function Bu(t,e){const n=Cb(e);if(n!=null)return t.type==="text"?n:t.normalize([n]);
9{const r=kb(e).reduce((i,o)=>[...i,Hs(t,o)],[]);return t.normalize(r)}}const wb=["s","static"];function Cb(t){return Pn(t,wb)}const Sb=["i","items"];function kb(t){return Pn(t,Sb,[])}function Hs(t,e){const n=il(e);switch(n){case 3:return Ci(e,n);case 9:return Ci(e,n);case 4:{const r=e;if(Ne(r,"k")&&r.k)return t.interpolate(t.named(r.k));if(Ne(r,"key")&&r.key)return t.interpolate(t.named(r.key));throw ai(n)}case 5:{const r=e;if(Ne(r,"i")&&zt(r.i))return t.interpolate(t.list(r.i));if(Ne(r,"index")&&zt(r.index))return t.interpolate(t.list(r.index));throw ai(n)}case 6:{const r=e,i=Pb(r),o=Ob(r);return t.linked(Hs(t,o),i?Hs(t,i):void 0,t.type)}case 7:return Ci(e,n);case 8:return Ci(e,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const Tb=["t","type"];function il(t){return Pn(t,Tb)}const Eb=["v","value"];function Ci(t,e){const n=Pn(t,Eb);if(n)return n;throw ai(e)}const Ab=["m","modifier"];function Pb(t){return Pn(t,Ab)}const xb=["k","key"];function Ob(t){const e=Pn(t,xb);if(e)return e;throw ai(6)}function Pn(t,e,n){for(let r=0;r<e.length;r++){const i=e[r];if(Ne(t,i)&&t[i]!=null)return t[i]}return n}function ai(t){return new Error(`unhandled node type: ${t}`)}const Ib=t=>t;let Si=yt();function Pr(t){return gt(t)&&il(t)===0&&(Ne(t,"b")||Ne(t,"body"))}function Rb(t,e={}){let n=!1;const r=e.onError||Y0;return e.onError=i=>{n=!0,r(i)},{...pb(t,e),detectError:n}}function Mb(t,e){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&tt(t)){mt(e.warnHtmlMessage)&&e.warnHtmlMessage;const n=(e.onCacheKey||Ib)(t),r=Si[n];if(r)return r;const{ast:i,detectError:o}=Rb(t,{...e,location:!1,jit:!0}),s=us(i);return o?s:Si[n]=s}else{const n=t.cacheKey;return n?Si[n]||(Si[n]=us(t)):us(t)}}let li=null;function Lb(t){li=t}function Db(t,e,n){li&&li.emit("i18n:init",{timestamp:Date.now(),i18n:t,version:e,meta:n})}const Ub=Nb("function:translate");function Nb(t){return e=>li&&li.emit(t,e)}const an={INVALID_ARGUMENT:V0,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},Bb=24;function ln(t){return To(t,null,void 0)}function ol(t,e){return e.locale!=null?Fu(e.locale):Fu(t.locale)}let cs;function Fu(t){if(tt(t))return t;if(Tt(t)){if(t.resolvedOnce&&cs!=null)return cs;if(t.constructor.name==="Function"){const e=t();if(q0(e))throw ln(an.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return cs=e}else throw ln(an.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw ln(an.NOT_SUPPORT_LOCALE_TYPE)}function Fb(t,e,n){return[...new Set([n,...qt(e)?e:gt(e)?Object.keys(e):tt(e)?[e]:[n]])]}function Lh(t,e,n){const r=tt(n)?n:ui,i=t;i.__localeChainCache||(i.__localeChainCache=new Map);let o=i.__localeChainCache.get(r);if(!o){o=[];let s=[n];for(;qt(s);)s=ju(o,s,e);const a=qt(e)||!ft(e)?e:e.default?e.default:null;s=tt(a)?[a]:a,qt(s)&&ju(o,s,!1),i.__localeChainCache.set(r,o)}return o}function ju(t,e,n){let r=!0;for(let i=0;i<e.length&&mt(r);i++){const o=e[i];tt(o)&&(r=jb(t,e[i],n))}return r}function jb(t,e,n){let r;const i=e.split("-");do{const o=i.join("-");r=$b(t,o,n),i.splice(-1,1)}while(i.length&&r===!0);return r}function $b(t,e,n){let r=!1;if(!t.includes(e)&&(r=!0,e)){r=e[e.length-1]!=="!";const i=e.replace(/!/g,"");t.push(i),(qt(n)||ft(n))&&n[i]&&(r=n[i])}return r}const xn=[];xn[0]={w:[0],i:[3,0],"[":[4],o:[7]};xn[1]={w:[1],".":[2],"[":[4],o:[7]};xn[2]={w:[2],i:[3,0],0:[3,0]};xn[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};xn[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};xn[5]={"'":[4,0],o:8,l:[5,0]};xn[6]={'"':[4,0],o:8,l:[6,0]};const zb=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function qb(t){return zb.test(t)}function Hb(t){const e=t.charCodeAt(0),n=t.charCodeAt(t.length-1);return e===n&&(e===34||e===39)?t.slice(1,-1):t}function Wb(t){if(t==null)return"o";switch(t.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return t;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function Gb(t){const e=t.trim();return t.charAt(0)==="0"&&isNaN(parseInt(t))?!1:qb(e)?Hb(e):"*"+e}function Vb(t){const e=[];let n=-1,r=0,i=0,o,s,a,l,u,c,f;const p=[];p[0]=()=>{s===void 0?s=a:s+=a},p[1]=()=>{s!==void 0&&(e.push(s),s=void 0)},p[2]=()=>{p[0](),i++},p[3]=()=>
9{if(i>0)i--,r=4,p[0]();else{if(i=0,s===void 0||(s=Gb(s),s===!1))return!1;p[1]()}};function d(){const h=t[n+1];if(r===5&&h==="'"||r===6&&h==='"')return n++,a="\\"+h,p[0](),!0}for(;r!==null;)if(n++,o=t[n],!(o==="\\"&&d())){if(l=Wb(o),f=xn[r],u=f[l]||f.l||8,u===8||(r=u[0],u[1]!==void 0&&(c=p[u[1]],c&&(a=o,c()===!1))))return;if(r===7)return e}}const $u=new Map;function Yb(t,e){return gt(t)?t[e]:null}function Xb(t,e){if(!gt(t))return null;let n=$u.get(e);if(n||(n=Vb(e),n&&$u.set(e,n)),!n)return null;const r=n.length;let i=t,o=0;for(;o<r;){const s=i[n[o]];if(s===void 0||Tt(i))return null;i=s,o++}return i}const Jb="11.0.1",Eo=-1,ui="en-US",zu="",qu=t=>`${t.charAt(0).toLocaleUpperCase()}${t.substr(1)}`;function Kb(){return{upper:(t,e)=>e==="text"&&tt(t)?t.toUpperCase():e==="vnode"&>(t)&&"__v_isVNode"in t?t.children.toUpperCase():t,lower:(t,e)=>e==="text"&&tt(t)?t.toLowerCase():e==="vnode"&>(t)&&"__v_isVNode"in t?t.children.toLowerCase():t,capitalize:(t,e)=>e==="text"&&tt(t)?qu(t):e==="vnode"&>(t)&&"__v_isVNode"in t?qu(t.children):t}}let Dh;function Zb(t){Dh=t}let Uh;function Qb(t){Uh=t}let Nh;function ty(t){Nh=t}let Bh=null;const Hu=t=>{Bh=t},ey=()=>Bh;let Wu=0;function ny(t={}){const e=Tt(t.onWarn)?t.onWarn:W0,n=tt(t.version)?t.version:Jb,r=tt(t.locale)||Tt(t.locale)?t.locale:ui,i=Tt(r)?ui:r,o=qt(t.fallbackLocale)||ft(t.fallbackLocale)||tt(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:i,s=ft(t.messages)?t.messages:fs(i),a=ft(t.datetimeFormats)?t.datetimeFormats:fs(i),l=ft(t.numberFormats)?t.numberFormats:fs(i),u=Wt(yt(),t.modifiers,Kb()),c=t.pluralRules||yt(),f=Tt(t.missing)?t.missing:null,p=mt(t.missingWarn)||Er(t.missingWarn)?t.missingWarn:!0,d=mt(t.fallbackWarn)||Er(t.fallbackWarn)?t.fallbackWarn:!0,h=!!t.fallbackFormat,_=!!t.unresolving,T=Tt(t.postTranslation)?t.postTranslation:null,b=ft(t.processor)?t.processor:null,k=mt(t.warnHtmlMessage)?t.warnHtmlMessage:!0,S=!!t.escapeParameter,y=Tt(t.messageCompiler)?t.messageCompiler:Dh,x=Tt(t.messageResolver)?t.messageResolver:Uh||Yb,M=Tt(t.localeFallbacker)?t.localeFallbacker:Nh||Fb,O=gt(t.fallbackContext)?t.fallbackContext:void 0,D=t,F=gt(D.__datetimeFormatters)?D.__datetimeFormatters:new Map,X=gt(D.__numberFormatters)?D.__numberFormatters:new Map,V=gt(D.__meta)?D.__meta:{};Wu++;const K={version:n,cid:Wu,locale:r,fallbackLocale:o,messages:s,modifiers:u,pluralRules:c,missing:f,missingWarn:p,fallbackWarn:d,fallbackFormat:h,unresolving:_,postTranslation:T,processor:b,warnHtmlMessage:k,escapeParameter:S,messageCompiler:y,messageResolver:x,localeFallbacker:M,fallbackContext:O,onWarn:e,__meta:V};return K.datetimeFormats=a,K.numberFormats=l,K.__datetimeFormatters=F,K.__numberFormatters=X,__INTLIFY_PROD_DEVTOOLS__&&Db(K,n,V),K}const fs=t=>({[t]:yt()});function sl(t,e,n,r,i){const{missing:o,onWarn:s}=t;if(o!==null){const a=o(t,n,e,i);return tt(a)?a:e}else return e}function Dr(t,e,n){const r=t;r.__localeChainCache=new Map,t.localeFallbacker(t,n,e)}function ry(t,e){return t===e?!1:t.split("-")[0]===e.split("-")[0]}function iy(t,e){const n=e.indexOf(t);if(n===-1)return!1;for(let r=n+1;r<e.length;r++)if(ry(t,e[r]))return!0;return!1}function Gu(t,...e){const{datetimeFormats:n,unresolving:r,fallbackLocale:i,onWarn:o,localeFallbacker:s}=t,{__datetimeFormatters:a}=t,[l,u,c,f]=Ws(...e),p=mt(c.missingWarn)?c.missingWarn:t.missingWarn;mt(c.fallbackWarn)?c.fallbackWarn:t.fallbackWarn;const d=!!c.part,h=ol(t,c),_=s(t,i,h);if(!tt(l)||l==="")return new Intl.DateTimeFormat(h,f).format(u);let T={},b,k=null;const S="datetime format";for(let M=0;M<_.length&&(b=_[M],T=n[b]||{},k=T[l],!ft(k));M++)sl(t,l,b,p,S);if(!ft(k)||!tt(b))return r?Eo:l;let y=`${b}__${l}`;ko(f)||(y=`${y}__${JSON.stringify(f)}`);let x=a.get(y);return x||(x=new Intl.DateTimeFormat(b,Wt({},k,f)),a.set(y,x)),d?x.formatToParts(u):x.format(u)}const Fh=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Ws(...t){const[e,n,r,i]=t,o=yt();let s=yt(),a;if(tt(e)){const l=e.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw ln(an.INVALID_ISO_DATE_ARGUMENT);const u=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();a=new Date(u);try{a.toISOString()}catch{throw ln(an.INVALID_ISO_DATE_ARGUMENT)}}else if(j0(e)){if(isNaN(e.getTime()))throw ln(an.INVALID_DATE_ARGUMENT);a=e}else if(zt(e))a=e;else throw ln(an.INVALID_ARGUMENT);
9return tt(n)?o.key=n:ft(n)&&Object.keys(n).forEach(l=>{Fh.includes(l)?s[l]=n[l]:o[l]=n[l]}),tt(r)?o.locale=r:ft(r)&&(s=r),ft(i)&&(s=i),[o.key||"",a,o,s]}function Vu(t,e,n){const r=t;for(const i in n){const o=`${e}__${i}`;r.__datetimeFormatters.has(o)&&r.__datetimeFormatters.delete(o)}}function Yu(t,...e){const{numberFormats:n,unresolving:r,fallbackLocale:i,onWarn:o,localeFallbacker:s}=t,{__numberFormatters:a}=t,[l,u,c,f]=Gs(...e),p=mt(c.missingWarn)?c.missingWarn:t.missingWarn;mt(c.fallbackWarn)?c.fallbackWarn:t.fallbackWarn;const d=!!c.part,h=ol(t,c),_=s(t,i,h);if(!tt(l)||l==="")return new Intl.NumberFormat(h,f).format(u);let T={},b,k=null;const S="number format";for(let M=0;M<_.length&&(b=_[M],T=n[b]||{},k=T[l],!ft(k));M++)sl(t,l,b,p,S);if(!ft(k)||!tt(b))return r?Eo:l;let y=`${b}__${l}`;ko(f)||(y=`${y}__${JSON.stringify(f)}`);let x=a.get(y);return x||(x=new Intl.NumberFormat(b,Wt({},k,f)),a.set(y,x)),d?x.formatToParts(u):x.format(u)}const jh=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Gs(...t){const[e,n,r,i]=t,o=yt();let s=yt();if(!zt(e))throw ln(an.INVALID_ARGUMENT);const a=e;return tt(n)?o.key=n:ft(n)&&Object.keys(n).forEach(l=>{jh.includes(l)?s[l]=n[l]:o[l]=n[l]}),tt(r)?o.locale=r:ft(r)&&(s=r),ft(i)&&(s=i),[o.key||"",a,o,s]}function Xu(t,e,n){const r=t;for(const i in n){const o=`${e}__${i}`;r.__numberFormatters.has(o)&&r.__numberFormatters.delete(o)}}const oy=t=>t,sy=t=>"",ay="text",ly=t=>t.length===0?"":nl(t),uy=H0;function Ju(t,e){return t=Math.abs(t),e===2?t?t>1?1:0:1:t?Math.min(t,2):0}function cy(t){const e=zt(t.pluralIndex)?t.pluralIndex:-1;return t.named&&(zt(t.named.count)||zt(t.named.n))?zt(t.named.count)?t.named.count:zt(t.named.n)?t.named.n:e:e}function fy(t,e){e.count||(e.count=t),e.n||(e.n=t)}function hy(t={}){const e=t.locale,n=cy(t),r=gt(t.pluralRules)&&tt(e)&&Tt(t.pluralRules[e])?t.pluralRules[e]:Ju,i=gt(t.pluralRules)&&tt(e)&&Tt(t.pluralRules[e])?Ju:void 0,o=T=>T[r(n,T.length,i)],s=t.list||[],a=T=>s[T],l=t.named||yt();zt(t.pluralIndex)&&fy(n,l);const u=T=>l[T];function c(T,b){return(Tt(t.messages)?t.messages(T,!!b):gt(t.messages)?t.messages[T]:!1)||(t.parent?t.parent.message(T):sy)}const f=T=>t.modifiers?t.modifiers[T]:oy,p=ft(t.processor)&&Tt(t.processor.normalize)?t.processor.normalize:ly,d=ft(t.processor)&&Tt(t.processor.interpolate)?t.processor.interpolate:uy,h=ft(t.processor)&&tt(t.processor.type)?t.processor.type:ay,_={list:a,named:u,plural:o,linked:(T,...b)=>{const[k,S]=b;let y="text",x="";b.length===1?gt(k)?(x=k.modifier||x,y=k.type||y):tt(k)&&(x=k||x):b.length===2&&(tt(k)&&(x=k||x),tt(S)&&(y=S||y));const M=c(T,!0)(_),O=y==="vnode"&&qt(M)&&x?M[0]:M;return x?f(x)(O,y):O},message:c,type:h,interpolate:d,normalize:p,values:Wt(yt(),s,l)};return _}const Ku=()=>"",Le=t=>Tt(t);function Zu(t,...e){const{fallbackFormat:n,postTranslation:r,unresolving:i,messageCompiler:o,fallbackLocale:s,messages:a}=t,[l,u]=Vs(...e),c=mt(u.missingWarn)?u.missingWarn:t.missingWarn,f=mt(u.fallbackWarn)?u.fallbackWarn:t.fallbackWarn,p=mt(u.escapeParameter)?u.escapeParameter:t.escapeParameter,d=!!u.resolvedMessage,h=tt(u.default)||mt(u.default)?mt(u.default)?o?l:()=>l:u.default:n?o?l:()=>l:null,_=n||h!=null&&(tt(h)||Tt(h)),T=ol(t,u);p&&dy(u);let[b,k,S]=d?[l,T,a[T]||yt()]:$h(t,l,T,s,f,c),y=b,x=l;if(!d&&!(tt(y)||Pr(y)||Le(y))&&_&&(y=h,x=y),!d&&(!(tt(y)||Pr(y)||Le(y))||!tt(k)))return i?Eo:l;let M=!1;const O=()=>{M=!0},D=Le(y)?y:zh(t,l,k,y,x,O);if(M)return y;const F=gy(t,k,S,u),X=hy(F),V=py(t,D,X),K=r?r(V,l):V;if(__INTLIFY_PROD_DEVTOOLS__){const rt={timestamp:Date.now(),key:tt(l)?l:Le(y)?y.key:"",locale:k||(Le(y)?y.locale:""),format:tt(y)?y:Le(y)?y.source:"",message:K};rt.meta=Wt({},t.__meta,{}),Ub(rt)}return K}function dy(t){qt(t.list)?t.list=t.list.map(e=>tt(e)?Lu(e):e):gt(t.named)&&Object.keys(t.named).forEach(e=>{tt(t.named[e])&&(t.named[e]=Lu(t.named[e]))})}function $h(t,e,n,r,i,o){const{messages:s,onWarn:a,messageResolver:l,localeFallbacker:u}=t,c=u(t,r,n);let f=yt(),p,d=null;const h="translate";for(let _=0;_<c.length&&(p=c[_],f=s[p]||yt(),(d=l(f,e))===null&&(d=f[e]),!(tt(d)||Pr(d)||Le(d)));_++)if(!iy(p,c)){const T=sl(t,e,p,o,h);T!==e&&(d=T)}return[d,p,f]}function zh(t,e,n,r,i,o){const{messageCompiler:s,warnHtmlMessage:a}=t;if(Le(r)){const u=r;return u.locale=u.locale||n,u.key=u.key||e,u}if(s==null){const u=()=>r;return u.locale=n,u.key=e,u}const l=s(r,my(t,n,i,r,a,o));return l.locale=n,l.key=e,l.source=r,l}function py(t,e,n){return e(n)}function Vs(...t){const[e,n,r]=t,i=yt();if(!tt(e)&&!zt(e)&&!Le(e)&&!Pr(e))throw ln(an.INVALID_ARGUMENT);const o=zt(e)?String(e):e;return zt(n)?i.plural=n:tt(n)?i.default=n:ft(n)&&!ko(n)?i.named=n:qt(n)&&(i.list=n),zt(r)?i.plural=r:tt(r)?i.default=r:ft(r)&&Wt(i,r),[o,i]}function my(t,e,n,r,i,o){return{locale:e,key:n,warnHtmlMessage:i,onError:s=>{throw o&&o(s),s},onCacheKey:s=>B0(e,n,s)}}function gy(t,e,n,r){const{modifiers:i,pluralRules:o,messageResolver:s,fallbackLocale:a,fallbackWarn:l,missingWarn:u,fallbackContext:c}=t,f={locale:e,modifiers:i,pluralRules:o,messages:(p,d)=>{let h=s(n,p);if(h==null&&(c||d)){const[,,_]=$h(c||t,p,e,a,l,u);h=s(_,p)}if(tt(h)||Pr(h)){let _=!1;const T=zh(t,p,e,h,p,()=>{_=!0});return _?Ku:T}else return Le(h)?h:Ku}};return t.processor&&(f.processor=t.processor),r.list&&(f.list=r.list),r.named&&(f.named=r.named),zt(r.plural)&&(f.pluralIndex=r.plural),f}mb();
9const _y="11.0.1";function vy(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Nn().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Nn().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Nn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Nn().__INTLIFY_PROD_DEVTOOLS__=!1)}const ve={UNEXPECTED_RETURN_TYPE:Bb,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32};function Pe(t,...e){return To(t,null,void 0)}const Ys=An("__translateVNode"),Xs=An("__datetimeParts"),Js=An("__numberParts"),qh=An("__setPluralRules"),Hh=An("__injectWithOption"),Ks=An("__dispose");function ci(t){if(!gt(t))return t;for(const e in t)if(Ne(t,e))if(!e.includes("."))gt(t[e])&&ci(t[e]);else{const n=e.split("."),r=n.length-1;let i=t,o=!1;for(let s=0;s<r;s++){if(n[s]in i||(i[n[s]]=yt()),!gt(i[n[s]])){o=!0;break}i=i[n[s]]}o||(i[n[r]]=t[e],delete t[e]),gt(i[n[r]])&&ci(i[n[r]])}return t}function al(t,e){const{messages:n,__i18n:r,messageResolver:i,flatJson:o}
9=e,s=ft(n)?n:qt(r)?yt():{[t]:yt()};if(qt(r)&&r.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:u}=a;l?(s[l]=s[l]||yt(),Li(u,s[l])):Li(u,s)}else tt(a)&&Li(JSON.parse(a),s)}),i==null&&o)for(const a in s)Ne(s,a)&&ci(s[a]);return s}function by(t){return t.type}function Wh(t,e,n){let r=gt(e.messages)?e.messages:yt();"__i18nGlobal"in n&&(r=al(t.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const i=Object.keys(r);i.length&&i.forEach(o=>{t.mergeLocaleMessage(o,r[o])});{if(gt(e.datetimeFormats)){const o=Object.keys(e.datetimeFormats);o.length&&o.forEach(s=>{t.mergeDateTimeFormat(s,e.datetimeFormats[s])})}if(gt(e.numberFormats)){const o=Object.keys(e.numberFormats);o.length&&o.forEach(s=>{t.mergeNumberFormat(s,e.numberFormats[s])})}}}function Qu(t){return bt(nd,null,t,0)}const tc=()=>[],yy=()=>!1;let ec=0;function nc(t){return(e,n,r,i)=>t(n,r,gr()||void 0,i)}function ll(t={}){const{__root:e,__injectWithOption:n}=t,r=e===void 0,i=t.flatJson,o=eo?ot:Kh;let s=mt(t.inheritLocale)?t.inheritLocale:!0;const a=o(e&&s?e.locale.value:tt(t.locale)?t.locale:ui),l=o(e&&s?e.fallbackLocale.value:tt(t.fallbackLocale)||qt(t.fallbackLocale)||ft(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:a.value),u=o(al(a.value,t)),c=o(ft(t.datetimeFormats)?t.datetimeFormats:{[a.value]:{}}),f=o(ft(t.numberFormats)?t.numberFormats:{[a.value]:{}});let p=e?e.missingWarn:mt(t.missingWarn)||Er(t.missingWarn)?t.missingWarn:!0,d=e?e.fallbackWarn:mt(t.fallbackWarn)||Er(t.fallbackWarn)?t.fallbackWarn:!0,h=e?e.fallbackRoot:mt(t.fallbackRoot)?t.fallbackRoot:!0,_=!!t.fallbackFormat,T=Tt(t.missing)?t.missing:null,b=Tt(t.missing)?nc(t.missing):null,k=Tt(t.postTranslation)?t.postTranslation:null,S=e?e.warnHtmlMessage:mt(t.warnHtmlMessage)?t.warnHtmlMessage:!0,y=!!t.escapeParameter;const x=e?e.modifiers:ft(t.modifiers)?t.modifiers:{};let M=t.pluralRules||e&&e.pluralRules,O;O=(()=>{r&&Hu(null);const N={version:_y,locale:a.value,fallbackLocale:l.value,messages:u.value,modifiers:x,pluralRules:M,missing:b===null?void 0:b,missingWarn:p,fallbackWarn:d,fallbackFormat:_,unresolving:!0,postTranslation:k===null?void 0:k,warnHtmlMessage:S,escapeParameter:y,messageResolver:t.messageResolver,messageCompiler:t.messageCompiler,__meta:{framework:"vue"}};N.datetimeFormats=c.value,N.numberFormats=f.value,N.__datetimeFormatters=ft(O)?O.__datetimeFormatters:void 0,N.__numberFormatters=ft(O)?O.__numberFormatters:void 0;const q=ny(N);return r&&Hu(q),q})(),Dr(O,a.value,l.value);function D(){return[a.value,l.value,u.value,c.value,f.value]}const F=pt({get:()=>a.value,set:N=>{a.value=N,O.locale=a.value}}),X=pt({get:()=>l.value,set:N=>{l.value=N,O.fallbackLocale=l.value,Dr(O,a.value,N)}}),V=pt(()=>u.value),K=pt(()=>c.value),rt=pt(()=>f.value);function et(){return Tt(k)?k:null}function it(N){k=N,O.postTranslation=N}function st(){return T}function Ct(N){N!==null&&(b=nc(N)),T=N,O.missing=b}const ct=(N,q,ht,Dt,In,mi)=>{D();let er;try{__INTLIFY_PROD_DEVTOOLS__,r||(O.fallbackContext=e?ey():void 0),er=N(O)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(O.fallbackContext=void 0)}if(ht!=="translate exists"&&zt(er)&&er===Eo||ht==="translate exists"&&!er){const[Yh,z3]=q();return e&&h?Dt(e):In(Yh)}else{if(mi(er))return er;throw Pe(ve.UNEXPECTED_RETURN_TYPE)}};function Xt(...N){return ct(q=>Reflect.apply(Zu,null,[q,...N]),()=>Vs(...N),"translate",q=>Reflect.apply(q.t,q,[...N]),q=>q,q=>tt(q))}function A(...N){const[q,ht,Dt]=N;if(Dt&&!gt(Dt))throw Pe(ve.INVALID_ARGUMENT);return Xt(q,ht,Wt({resolvedMessage:!0},Dt||{}))}function R(...N){return ct(q=>Reflect.apply(Gu,null,[q,...N]),()=>Ws(...N),"datetime format",q=>Reflect.apply(q.d,q,[...N]),()=>zu,q=>tt(q))}function w(...N){return ct(q=>Reflect.apply(Yu,null,[q,...N]),()=>Gs(...N),"number format",q=>Reflect.apply(q.n,q,[...N]),()=>zu,q=>tt(q))}function C(N){return N.map(q=>tt(q)||zt(q)||mt(q)?Qu(String(q)):q)}const g={normalize:C,interpolate:N=>N,type:"vnode"};function m(...N){return ct(q=>{let ht;const Dt=q;try{Dt.processor=g,ht=Reflect.apply(Zu,null,[Dt,...N])}finally{Dt.processor=null}return ht},()=>Vs(...N),"translate",q=>q[Ys](...N),q=>[Qu(q)],q=>qt(q))}function v(...N){return ct(q=>Reflect.apply(Yu,null,[q,...N]),()=>Gs(...N),"number format",q=>q[Js](...N),tc,q=>tt(q)||qt(q))}function E(...N){return ct(q=>Reflect.apply(Gu,null,[q,...N]),()=>Ws(...N),"datetime format",q=>q[Xs](...N),tc,q=>tt(q)||qt(q))}function U(N){M=N,O.pluralRules=M}function L(N,q){return ct(()=>{if(!N)return!1;const ht=tt(q)?q:a.value,Dt=H(ht),In=O.messageResolver(Dt,N);return Pr(In)||Le(In)||tt(In)},()=>[N],"translate exists",ht=>Reflect.apply(ht.te,ht,[N,q]),yy,ht=>mt(ht))}function j(N){let q=null;const ht=Lh(O,l.value,a.value);for(let Dt=0;Dt<ht.length;Dt++){const In=u.value[ht[Dt]]||{},mi=O.messageResolver(In,N);if(mi!=null){q=mi;break}}return q}function G(N){return j(N)??(e?e.tm(N)||{}:{})}function H(N){return u.value[N]||{}}function lt(N,q){if(i){const ht={[N]:q};for(const Dt in ht)Ne(ht,Dt)&&ci(ht[Dt]);q=ht[N]}u.value[N]=q,O.messages=u.value}function Jt(N,q){u.value[N]=u.value[N]||{};const ht={[N]:q};if(i)for(const Dt in ht)Ne(ht,Dt)&&ci(ht[Dt]);q=ht[N],Li(q,u.value[N]),O.messages=u.value}function je(N){return c.value[N]||{}}function Nt(N,q){c.value[N]=q,O.datetimeFormats=c.value,Vu(O,N,q)}function On(N,q){c.value[N]=Wt(c.value[N]||{},q),O.datetimeFormats=c.value,Vu(O,N,q)}function I(N){return f.value[N]||{}}function P(N,q){f.value[N]=q,O.numberFormats=f.value,Xu(O,N,q)}function W(N,q){f.value[N]=Wt(f.value[N]||{},q),O.numberFormats=f.value,Xu(O,N,q)}ec++,e&&eo&&(Zt(e.locale,N=>{s&&(a.value=N,O.locale=N,Dr(O,a.value,l.value))}),Zt(e.fallbackLocale,N=>{s&&(l.value=N,O.fallbackLocale=N,Dr(O,a.value,l.value))}));const Z={id:ec,locale:F,fallbackLocale:X,get inheritLocale(){return s},set inheritLocale(N){s=N,N&&e&&(a.value=e.locale.value,l.value=e.fallbackLocale.value,Dr(O,a.value,l.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:V,get modifiers(){return x},get pluralRules(){return M||{}},get isGlobal(){return r},get missingWarn(){return p},set missingWarn(N){p=N,O.missingWarn=p},get fallbackWarn(){return d},set fallbackWarn(N){d=N,O.fallbackWarn=d},get fallbackRoot(){return h},set fallbackRoot(N){h=N},get fallbackFormat(){return _},set fallbackFormat(N){_=N,O.fallbackFormat=_},get warnHtmlMessage(){return S},set warnHtmlMessage(N){S=N,O.warnHtmlMessage=N},get escapeParameter(){return y},set escapeParameter(N){y=N,O.escapeParameter=N}
vendor: 5,555 bytes, line 9
9,t:Xt,getLocaleMessage:H,setLocaleMessage:lt,mergeLocaleMessage:Jt,getPostTranslationHandler:et,setPostTranslationHandler:it,getMissingHandler:st,setMissingHandler:Ct,[qh]:U};return Z.datetimeFormats=K,Z.numberFormats=rt,Z.rt=A,Z.te=L,Z.tm=G,Z.d=R,Z.n=w,Z.getDateTimeFormat=je,Z.setDateTimeFormat=Nt,Z.mergeDateTimeFormat=On,Z.getNumberFormat=I,Z.setNumberFormat=P,Z.mergeNumberFormat=W,Z[Hh]=n,Z[Ys]=m,Z[Xs]=E,Z[Js]=v,Z}function wy(t){const e=tt(t.locale)?t.locale:ui,n=tt(t.fallbackLocale)||qt(t.fallbackLocale)||ft(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:e,r=Tt(t.missing)?t.missing:void 0,i=mt(t.silentTranslationWarn)||Er(t.silentTranslationWarn)?!t.silentTranslationWarn:!0,o=mt(t.silentFallbackWarn)||Er(t.silentFallbackWarn)?!t.silentFallbackWarn:!0,s=mt(t.fallbackRoot)?t.fallbackRoot:!0,a=!!t.formatFallbackMessages,l=ft(t.modifiers)?t.modifiers:{},u=t.pluralizationRules,c=Tt(t.postTranslation)?t.postTranslation:void 0,f=tt(t.warnHtmlInMessage)?t.warnHtmlInMessage!=="off":!0,p=!!t.escapeParameterHtml,d=mt(t.sync)?t.sync:!0;let h=t.messages;if(ft(t.sharedMessages)){const x=t.sharedMessages;h=Object.keys(x).reduce((M,O)=>{const D=M[O]||(M[O]={});return Wt(D,x[O]),M},h||{})}const{__i18n:_,__root:T,__injectWithOption:b}=t,k=t.datetimeFormats,S=t.numberFormats,y=t.flatJson;return{locale:e,fallbackLocale:n,messages:h,flatJson:y,datetimeFormats:k,numberFormats:S,missing:r,missingWarn:i,fallbackWarn:o,fallbackRoot:s,fallbackFormat:a,modifiers:l,pluralRules:u,postTranslation:c,warnHtmlMessage:f,escapeParameter:p,messageResolver:t.messageResolver,inheritLocale:d,__i18n:_,__root:T,__injectWithOption:b}}function Zs(t={}){const e=ll(wy(t)),{__extender:n}=t,r={id:e.id,get locale(){return e.locale.value},set locale(i){e.locale.value=i},get fallbackLocale(){return e.fallbackLocale.value},set fallbackLocale(i){e.fallbackLocale.value=i},get messages(){return e.messages.value},get datetimeFormats(){return e.datetimeFormats.value},get numberFormats(){return e.numberFormats.value},get availableLocales(){return e.availableLocales},get missing(){return e.getMissingHandler()},set missing(i){e.setMissingHandler(i)},get silentTranslationWarn(){return mt(e.missingWarn)?!e.missingWarn:e.missingWarn},set silentTranslationWarn(i){e.missingWarn=mt(i)?!i:i},get silentFallbackWarn(){return mt(e.fallbackWarn)?!e.fallbackWarn:e.fallbackWarn},set silentFallbackWarn(i){e.fallbackWarn=mt(i)?!i:i},get modifiers(){return e.modifiers},get formatFallbackMessages(){return e.fallbackFormat},set formatFallbackMessages(i){e.fallbackFormat=i},get postTranslation(){return e.getPostTranslationHandler()},set postTranslation(i){e.setPostTranslationHandler(i)},get sync(){return e.inheritLocale},set sync(i){e.inheritLocale=i},get warnHtmlInMessage(){return e.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(i){e.warnHtmlMessage=i!=="off"},get escapeParameterHtml(){return e.escapeParameter},set escapeParameterHtml(i){e.escapeParameter=i},get pluralizationRules(){return e.pluralRules||{}},__composer:e,t(...i){return Reflect.apply(e.t,e,[...i])},rt(...i){return Reflect.apply(e.rt,e,[...i])},te(i,o){return e.te(i,o)},tm(i){return e.tm(i)},getLocaleMessage(i){return e.getLocaleMessage(i)},setLocaleMessage(i,o){e.setLocaleMessage(i,o)},mergeLocaleMessage(i,o){e.mergeLocaleMessage(i,o)},d(...i){return Reflect.apply(e.d,e,[...i])},getDateTimeFormat(i){return e.getDateTimeFormat(i)},setDateTimeFormat(i,o){e.setDateTimeFormat(i,o)},mergeDateTimeFormat(i,o){e.mergeDateTimeFormat(i,o)},n(...i){return Reflect.apply(e.n,e,[...i])},getNumberFormat(i){return e.getNumberFormat(i)},setNumberFormat(i,o){e.setNumberFormat(i,o)},mergeNumberFormat(i,o){e.mergeNumberFormat(i,o)}};return r.__extender=n,r}function Cy(t,e,n){return{beforeCreate(){const r=gr();if(!r)throw Pe(ve.UNEXPECTED_ERROR);const i=this.$options;if(i.i18n){const o=i.i18n;if(i.__i18n&&(o.__i18n=i.__i18n),o.__root=e,this===this.$root)this.$i18n=rc(t,o);else{o.__injectWithOption=!0,o.__extender=n.__vueI18nExtend,this.$i18n=Zs(o);const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}}else if(i.__i18n)if(this===this.$root)this.$i18n=rc(t,i);else{this.$i18n=Zs({__i18n:i.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:e});const o=this.$i18n;o.__extender&&(o.__disposer=o.__extender(this.$i18n))}else this.$i18n=t;i.__i18nGlobal&&Wh(e,i,i),this.$t=(...o)=>this.$i18n.t(...o),this.$rt=(...o)=>this.$i18n.rt(...o),this.$te=(o,s)=>this.$i18n.te(o,s),this.$d=(...o)=>this.$i18n.d(...o),this.$n=(...o)=>this.$i18n.n(...o),this.$tm=o=>this.$i18n.tm(o),n.__setInstance(r,this.$i18n)},mounted(){},unmounted(){const r=gr();if(!r)throw Pe(ve.UNEXPECTED_ERROR);const i=this.$i18n;delete this.$t,delete this.$rt,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,i.__disposer&&(i.__disposer(),delete i.__disposer,delete i.__extender),n.__deleteInstance(r),delete this.$i18n}}}function rc(t,e){t.locale=e.locale||t.locale,t.fallbackLocale=e.fallbackLocale||t.fallbackLocale,t.missing=e.missing||t.missing,t.silentTranslationWarn=e.silentTranslationWarn||t.silentFallbackWarn,t.silentFallbackWarn=e.silentFallbackWarn||t.silentFallbackWarn,t.formatFallbackMessages=e.formatFallbackMessages||t.formatFallbackMessages,t.postTranslation=e.postTranslation||t.postTranslation,t.warnHtmlInMessage=e.warnHtmlInMessage||t.warnHtmlInMessage,t.escapeParameterHtml=e.escapeParameterHtml||t.escapeParameterHtml,t.sync=e.sync||t.sync,t.__composer[qh](e.pluralizationRules||t.pluralizationRules);const n=al(t.locale,{messages:e.messages,__i18n:e.__i18n});
9return Object.keys(n).forEach(r=>t.mergeLocaleMessage(r,n[r])),e.datetimeFormats&&Object.keys(e.datetimeFormats).forEach(r=>t.mergeDateTimeFormat(r,e.datetimeFormats[r])),e.numberFormats&&Object.keys(e.numberFormats).forEach(r=>t.mergeNumberFormat(r,e.numberFormats[r])),t}const ul={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>t==="parent"||t==="global",default:"parent"},i18n:{type:Object}};function Sy({slots:t},e){return e.length===1&&e[0]==="default"?(t.default?t.default():[]).reduce((n,r)=>[...n,...r.type===Ve?r.children:[r]],[]):e.reduce((n,r)=>{const i=t[r];return i&&(n[r]=i()),n},yt())}function Gh(){return Ve}const ky=Qe({name:"i18n-t",props:Wt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>zt(t)||!isNaN(t)}},ul),setup(t,e){const{slots:n,attrs:r}=e,i=t.i18n||cl({useScope:t.scope,__useComponent:!0});return()=>{const o=Object.keys(n).filter(f=>f!=="_"),s=yt();t.locale&&(s.locale=t.locale),t.plural!==void 0&&(s.plural=tt(t.plural)?+t.plural:t.plural);const a=Sy(e,o),l=i[Ys](t.keypath,a,s),u=Wt(yt(),r),c=tt(t.tag)||gt(t.tag)?t.tag:Gh();return gc(c,u,l)}}}),ic=ky;function Ty(t){return qt(t)&&!tt(t[0])}function Vh(t,e,n,r){const{slots:i,attrs:o}=e;return()=>{const s={part:!0};let a=yt();t.locale&&(s.locale=t.locale),tt(t.format)?s.key=t.format:gt(t.format)&&(tt(t.format.key)&&(s.key=t.format.key),a=Object.keys(t.format).reduce((p,d)=>n.includes(d)?Wt(yt(),p,{[d]:t.format[d]}):p,yt()));const l=r(t.value,s,a);let u=[s.key];qt(l)?u=l.map((p,d)=>{const h=i[p.type],_=h?h({[p.type]:p.value,index:d,parts:l}):[p.value];return Ty(_)&&(_[0].key=`${p.type}-${d}`),_}):tt(l)&&(u=[l]);const c=Wt(yt(),o),f=tt(t.tag)||gt(t.tag)?t.tag:Gh();return gc(f,c,u)}}const Ey=Qe({name:"i18n-n",props:Wt({value:{type:Number,required:!0},format:{type:[String,Object]}},ul),setup(t,e){const n=t.i18n||cl({useScope:t.scope,__useComponent:!0});return Vh(t,e,jh,(...r)=>n[Js](...r))}}),oc=Ey;function Ay(t,e){const n=t;if(t.mode==="composition")return n.__getInstance(e)||t.global;{const r=n.__getInstance(e);return r!=null?r.__composer:t.global.__composer}}function Py(t){const e=n=>{const{instance:r,value:i}=n;if(!r||!r.$)throw Pe(ve.UNEXPECTED_ERROR);const o=Ay(t,r.$),s=sc(i);return[Reflect.apply(o.t,o,[...ac(s)]),o]};return{created:(n,r)=>{const[i,o]=e(r);eo&&t.global===o&&(n.__i18nWatcher=Zt(o.locale,()=>{r.instance&&r.instance.$forceUpdate()})),n.__composer=o,n.textContent=i},unmounted:n=>{eo&&n.__i18nWatcher&&(n.__i18nWatcher(),n.__i18nWatcher=void 0,delete n.__i18nWatcher),n.__composer&&(n.__composer=void 0,delete n.__composer)},beforeUpdate:(n,{value:r})=>{if(n.__composer){const i=n.__composer,o=sc(r);n.textContent=Reflect.apply(i.t,i,[...ac(o)])}},getSSRProps:n=>{const[r]=e(n);return{textContent:r}}}}function sc(t){if(tt(t))return{path:t};if(ft(t)){if(!("path"in t))throw Pe(ve.REQUIRED_VALUE,"path");return t}else throw Pe(ve.INVALID_VALUE)}function ac(t){const{path:e,locale:n,args:r,choice:i,plural:o}=t,s={},a=r||{};return tt(n)&&(s.locale=n),zt(i)&&(s.plural=i),zt(o)&&(s.plural=o),[e,a,s]}function xy(t,e,...n){const r=ft(n[0])?n[0]:{};(!mt(r.globalInstall)||r.globalInstall)&&([ic.name,"I18nT"].forEach(i=>t.component(i,ic)),[oc.name,"I18nN"].forEach(i=>t.component(i,oc)),[uc.name,"I18nD"].forEach(i=>t.component(i,uc))),t.directive("t",Py(e))}const Oy=An("global-vue-i18n");function Iy(t={}){const e=__VUE_I18N_LEGACY_API__&&mt(t.legacy)?t.legacy:__VUE_I18N_LEGACY_API__,n=mt(t.globalInjection)?t.globalInjection:!0,r=new Map,[i,o]=Ry(t,e),s=An("");function a(f){return r.get(f)||null}function l(f,p){r.set(f,p)}function u(f){r.delete(f)}const c={get mode(){return __VUE_I18N_LEGACY_API__&&e?"legacy":"composition"},async install(f,...p){if(f.__VUE_I18N_SYMBOL__=s,f.provide(f.__VUE_I18N_SYMBOL__,c),ft(p[0])){const _=p[0];c.__composerExtend=_.__composerExtend,c.__vueI18nExtend=_.__vueI18nExtend}let d=null;!e&&n&&(d=jy(f,c.global)),__VUE_I18N_FULL_INSTALL__&&xy(f,c,...p),__VUE_I18N_LEGACY_API__&&e&&f.mixin(Cy(o,o.__composer,c));const h=f.unmount;f.unmount=()=>{d&&d(),c.dispose(),h()}},get global(){return o},dispose(){i.stop()},__instances:r,__getInstance:a,__setInstance:l,__deleteInstance:u};return c}function cl(t={}){const e=gr();if(e==null)throw Pe(ve.MUST_BE_CALL_SETUP_TOP);if(!e.isCE&&e.appContext.app!=null&&!e.appContext.app.__VUE_I18N_SYMBOL__)throw Pe(ve.NOT_INSTALLED);const n=My(e),r=Dy(n),i=by(e),o=Ly(t,i);if(o==="global")return Wh(r,t,i),r;if(o==="parent"){let l=Uy(n,e,t.__useComponent);return l==null&&(l=r),l}const s=n;let a=s.__getInstance(e);if(a==null){const l=Wt({},t);"__i18n"in i&&(l.__i18n=i.__i18n),r&&(l.__root=r),a=ll(l),s.__composerExtend&&(a[Ks]=s.__composerExtend(a)),By(s,e,a),s.__setInstance(e,a)}return a}function Ry(t,e){const n=Qs(),r=__VUE_I18N_LEGACY_API__&&e?n.run(()=>Zs(t)):n.run(()=>ll(t));if(r==null)throw Pe(ve.UNEXPECTED_ERROR);return[n,r]}function My(t){const e=ce(t.isCE?Oy:t.appContext.app.__VUE_I18N_SYMBOL__);if(!e)throw Pe(t.isCE?ve.NOT_INSTALLED_WITH_PROVIDE:ve.UNEXPECTED_ERROR);return e}function Ly(t,e){return ko(t)?"__i18n"in e?"local":"global":t.useScope?t.useScope:"local"}function Dy(t){return t.mode==="composition"?t.global:t.global.__composer}function Uy(t,e,n=!1){let r=null;const i=e.root;let o=Ny(e,n);for(;o!=null;){const s=t;if(t.mode==="composition")r=s.__getInstance(o);else if(__VUE_I18N_LEGACY_API__){const a=s.__getInstance(o);a!=null&&(r=a.__composer,n&&r&&!r[Hh]&&(r=null))}if(r!=null||i===o)break;o=o.parent}return r}function Ny(t,e=!1){return t==null?null:e&&t.vnode.ctx||t.parent}function By(t,e,n){no(()=>{},e),vc(()=>{const r=n;t.__deleteInstance(e);const i=r[Ks];i&&(i(),delete r[Ks])},e)}const Fy=["locale","fallbackLocale","availableLocales"],lc=["t","rt","d","n","tm","te"];function jy(t,e){const n=Object.create(null);return Fy.forEach(r=>{const i=Object.getOwnPropertyDescriptor(e,r);if(!i)throw Pe(ve.UNEXPECTED_ERROR);const o=Xr(i.value)?{get(){return i.value.value},set(s){i.value.value=s}}:{get(){return i.get&&i.get()}};Object.defineProperty(n,r,o)}
9),t.config.globalProperties.$i18n=n,lc.forEach(r=>{const i=Object.getOwnPropertyDescriptor(e,r);if(!i||!i.value)throw Pe(ve.UNEXPECTED_ERROR);Object.defineProperty(t.config.globalProperties,`$${r}`,i)}),()=>{delete t.config.globalProperties.$i18n,lc.forEach(r=>{delete t.config.globalProperties[`$${r}`]})}}const $y=Qe({name:"i18n-d",props:Wt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},ul),setup(t,e){const n=t.i18n||cl({useScope:t.scope,__useComponent:!0});return Vh(t,e,Fh,(...r)=>n[Xs](...r))}}),uc=$y;vy();Zb(Mb);Qb(Xb);ty(Lh);if(__INTLIFY_PROD_DEVTOOLS__){const t=Nn();t.__INTLIFY__=!0,Lb(t.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const zy={key:0},qy={key:1},Hy={key:2},Wy={key:3},Gy={key:4},Vy={key:5},Yy={key:6},Xy={key:7},Jy={key:8},Ky={key:9},Zy=Qe({__name:"vue-awesome-paginate",props:{totalItems:{type:Number,required:!0},itemsPerPage:{type:Number,default:10,validator:t=>{if(t<=0){const e="itemsPerPage attribute must be greater than 0.";throw console.error(e),new TypeError(e)}return!0}},currentPage:{type:Number,default:1,validator:t=>{const e="currentPage attribute must be greater than 0.";if(t<=0)throw console.error(e),new TypeError(e);return!0}},modelValue:{type:Number,required:!0,validator:t=>{const e="v-model is required and must be greater than 0.";if(t<=0)throw console.error(e),new TypeError(e);return!0}},maxPagesShown:{type:Number,default:5,validator:t=>{const e="maxPagesShown attribute must be greater than 0.";if(t<=0)throw console.error(e),new TypeError(e);return!0}},dir:{type:String,default:"ltr",validator:t=>{const e='dir attribute must be either "ltr" or "rtl".';if(t!=="ltr"&&t!=="rtl")throw console.error(e),new TypeError(e);return!0}},type:{type:String,default:"button",validator:t=>{const e=["link","button"],n="type attribute must be one of the following: "+e.join(", ");if(e.indexOf(t)===-1)throw console.error(n),new TypeError(n);return!0}},onClick:{type:Function,default:()=>{}},locale:{type:String,default:"en",validator:t=>{const e=["en","ar","ir"],n="locale attribute must be one of the following: "+e.join(", ");if(e.indexOf(t)===-1)throw console.error(n),new TypeError(n);return!0}},prevButtonContent:{type:String,default:"<"},nextButtonContent:{type:String,default:">"},hidePrevNext:{type:Boolean,default:!1},hidePrevNextWhenEnds:{type:Boolean,default:!1},showBreakpointButtons:{type:Boolean,default:!0},disableBreakpointButtons:{type:Boolean,default:!1},startingBreakpointContent:{type:String,default:"..."},endingBreakpointButtonContent:{type:String,default:"..."},showJumpButtons:{type:Boolean,default:!1},linkUrl:{type:String,default:"#"},backwardJumpButtonContent:{type:String,default:"<<"},forwardJumpButtonContent:{type:String,default:">>"},disablePagination:{type:Boolean,default:!1},showEndingButtons:{type:Boolean,default:!1},firstPageContent:{type:String,default:"First"},lastPageContent:{type:String,default:"Last"},backButtonClass:{type:String,default:"back-button"},nextButtonClass:{type:String,default:"next-button"},firstButtonClass:{type:String,default:"first-button"},lastButtonClass:{type:String,default:"last-button"},numberButtonsClass:{type:String,default:"number-buttons"},startingBreakpointButtonClass:{type:String,default:"starting-breakpoint-button"},endingBreakPointButtonClass:{type:String,default:"ending-breakpoint-button"},firstPageButtonClass:{type:String,default:"first-page-button"},lastPageButtonClass:{type:String,default:"last-page-button"},paginateButtonsClass:{type:String,default:"paginate-buttons"},disabledPaginateButtonsClass:{type:String,default:"disabled-paginate-buttons"},activePageClass:{type:String,default:"active-page"},paginationContainerClass:{type:String,default:"pagination-container"},disabledBreakPointButtonClass:{type:String,default:"disabled-breakpoint-button"},backwardJumpButtonClass:{type:String,default:"backward-jump-button"},forwardJumpButtonClass:{type:String,default:"forward-jump-button"},disabledBackwardJumpButtonClass:{type:String,default:"disabled-backward-jump-button"},disabledBackButtonClass:{type:String,default:"disabled-back-button"},disabledFirstButtonClass:{type:String,default:"disabled-first-button"},disabledLastButtonClass:{type:String,default:"disabled-last-button"},disabledNextButtonClass:{type:String,default:"disabled-next-button"},disabledForwardJumpButtonClass:{type:String,default:"disabled-forward-jump-button"}},emits:["update:modelValue","click"],setup(t,{emit:e}){const n=t;if(n.currentPage&&!n.modelValue)throw new Error("currentPage/current-page is now deprecated, use v-model instead to set the current page.");if(!n.modelValue)throw new TypeError("v-model is required for the paginate component.");const r=hc(n,"modelValue"),i=e,o=S=>{S!==r.value&&(S>l.value||S<1||n.disablePagination||(i("update:modelValue",S),i("click",S)))},s=S=>{switch(n.locale){case"en":return S;
9case"ar":return S.toLocaleString("ar-SA");case"ir":return S.toLocaleString("fa-IR");default:return S}},a=S=>n.type!=="link"?"":n.linkUrl.replace("[page]",S.toString()),l=pt(()=>Math.ceil(n.totalItems/n.itemsPerPage)),u=pt(()=>{let S,y;if(l.value<=n.maxPagesShown)S=1,y=l.value;else{let M=Math.floor(n.maxPagesShown/2),O=Math.ceil(n.maxPagesShown/2)-1;r.value<=M?(S=1,y=n.maxPagesShown):r.value+O>=l.value?(S=l.value-n.maxPagesShown+1,y=l.value):(S=r.value-M,y=r.value+O)}let x=Array.from(Array(y+1-S).keys()).map(M=>S+M);return n.dir==="rtl"&&(x=x.reverse()),{totalItems:n.totalItems,currentPage:r.value,itemsPerPage:n.itemsPerPage,totalPages:l,startPage:S,endPage:y,pages:x}}),c=pt(()=>n.dir==="rtl"),f=pt(()=>c.value?!n.hidePrevNextWhenEnds||r.value!==l.value:!n.hidePrevNextWhenEnds||r.value!==1),p=pt(()=>c.value?!n.hidePrevNextWhenEnds||r.value!==1:!n.hidePrevNextWhenEnds||r.value!==l.value),d=pt(()=>c.value?u.value.pages[0]<l.value-1:u.value.pages[0]>=3),h=pt(()=>c.value?u.value.pages[u.value.pages.length-1]>=3:u.value.pages[u.value.pages.length-1]<l.value-1),_=pt(()=>c.value?u.value.pages[0]<l.value:u.value.pages[0]>=2),T=pt(()=>c.value?u.value.pages[u.value.pages.length-1]>=2:u.value.pages[u.value.pages.length-1]<l.value),b=pt(()=>r.value!==1),k=pt(()=>r.value!==l.value);if(n.type==="link"&&n.linkUrl==="#")throw console.error("linkUrl attribute is required if type attribute is 'link'"),new TypeError("linkUrl attribute is required if type attribute is 'link'");if(n.type==="link"&&!n.linkUrl.includes("[page]"))throw console.error("linkUrl attribute must contain '[page]' substring"),new TypeError("linkUrl attribute must contain '[page]' substring");return(S,y)=>(Y(),J("ul",{id:"componentContainer",class:Kt(t.paginationContainerClass)},[t.showEndingButtons&&b.value?(Y(),J("li",zy,[(Y(),ae(Re(t.type==="button"?"button":"a"),{href:a(c.value?l.value:1),onClick:y[0]||(y[0]=Pt(x=>o(c.value?l.value:1),["prevent"])),class:Kt([t.firstPageButtonClass,t.paginateButtonsClass,t.disablePagination?t.disabledPaginateButtonsClass:""]),disabled:t.disablePagination},{default:Rt(()=>[dn(S.$slots,"first-page-button",{},()=>[St(Q(t.firstPageContent),1)])]),_:3},8,["href","class","disabled"]))])):vt("",!0),t.showJumpButtons&&d.value?(Y(),J("li",qy,[(Y(),ae(Re(t.type==="button"?"button":"a"),{href:a(c.value?r.value+Math.ceil(t.maxPagesShown/2):r.value-Math.ceil(t.maxPagesShown/2)),onClick:y[1]||(y[1]=Pt(x=>o(c.value?r.value+Math.ceil(t.maxPagesShown/2):r.value-Math.ceil(t.maxPagesShown/2)),["prevent"])),class:Kt([t.backwardJumpButtonClass,t.paginateButtonsClass,t.disablePagination?t.disabledPaginateButtonsClass:"",t.disablePagination?t.disabledBackwardJumpButtonClass:""]),disabled:t.disablePagination},{default:Rt(()=>[dn(S.$slots,"backward-jump-button",{},()=>[St(Q(t.backwardJumpButtonContent),1)])]),_:3},8,["href","class","disabled"]))])):vt("",!0),!t.hidePrevNext&&f.value?(Y(),J("li",Hy,[(Y(),ae(Re(t.type==="button"?"button":"a"),{href:a(c.value?r.value+1:r.value-1),onClick:y[2]||(y[2]=Pt(x=>o(c.value?r.value+1:r.value-1),["prevent"])),class:Kt([t.backButtonClass,t.paginateButtonsClass,t.disablePagination?t.disabledPaginateButtonsClass:"",t.disablePagination?t.disabledBackButtonClass:""]),disabled:t.disablePagination},{default:Rt(()=>[dn(S.$slots,"prev-button",{},()=>[St(Q(t.prevButtonContent),1)])]),_:3},8,["href","class","disabled"]))])):vt("",!0),t.showBreakpointButtons&&_.value?(Y(),J("li",Wy,[(Y(),ae(Re(t.type==="button"?"button":"a"),{href:a(c.value?l.value:1),onClick:y[3]||(y[3]=Pt(x=>o(c.value?l.value:1),["prevent"])),class:Kt([t.firstButtonClass,t.paginateButtonsClass,t.disablePagination?t.disabledPaginateButtonsClass:"",t.disablePagination?t.disabledFirstButtonClass:""]),disabled:t.disablePagination},{default:Rt(()=>[St(Q(c.value?s(l.value):s(1)),1)]),_:1},8,["href","class","disabled"]))])):vt("",!0),t.showBreakpointButtons&&d.value?(Y(),J("li",Gy,[(Y(),ae(Re(t.type==="button"?"button":"a"),{href:a(t.disableBreakpointButtons?r.value:c.value?r.value+Math.ceil(t.maxPagesShown/2):r.value-Math.ceil(t.maxPagesShown/2)),onClick:y[4]||(y[4]=Pt(x=>o(t.disableBreakpointButtons?r.value:c.value?r.value+Math.ceil(t.maxPagesShown/2):r.value-Math.ceil(t.maxPagesShown/2)),["prevent"])),disabled:t.disableBreakpointButtons||t.disablePagination,class:Kt([t.startingBreakpointButtonClass,t.paginateButtonsClass,t.disableBreakpointButtons||t.disablePagination?`${t.disabledPaginateButtonsClass} ${t.disabledBreakPointButtonClass}`:""])},{default:Rt(()=>[dn(S.$slots,"starting-breakpoint-button",{},()=>[St(Q(t.startingBreakpointContent),1)])]),_:3},8,["href","disabled","class"]))])):vt("",!0),(Y(!0),J(Ve,null,Yr(u.value.pages,(x,M)=>(Y(),J("li",{key:M},[(Y(),ae(Re(t.type==="button"?"button":"a"),{href:a(x),onClick:Pt(()=>o(x),["prevent"]),class:Kt([t.paginateButtonsClass,t.numberButtonsClass,x===r.value?t.activePageClass:"",t.disablePagination?t.disabledPaginateButtonsClass:""]),disabled:t.disablePagination},{default:Rt(()=>
9[St(Q(s(x)),1)]),_:2},1032,["href","onClick","class","disabled"]))]))),128)),t.showBreakpointButtons&&h.value?(Y(),J("li",Vy,[(Y(),ae(Re(t.type==="button"?"button":"a"),{href:a(t.disableBreakpointButtons?r.value:c.value?r.value-Math.ceil(t.maxPagesShown/2):r.value+Math.ceil(t.maxPagesShown/2)),onClick:y[5]||(y[5]=Pt(x=>o(t.disableBreakpointButtons?r.value:c.value?r.value-Math.ceil(t.maxPagesShown/2):r.value+Math.ceil(t.maxPagesShown/2)),["prevent"])),disabled:t.disableBreakpointButtons||t.disablePagination,class:Kt([t.endingBreakPointButtonClass,t.paginateButtonsClass,t.disableBreakpointButtons||t.disablePagination?`${t.disabledPaginateButtonsClass} ${t.disabledBreakPointButtonClass}`:""])},{default:Rt(()=>[dn(S.$slots,"ending-breakpoint-button",{},()=>[St(Q(t.endingBreakpointButtonContent),1)])]),_:3},8,["href","disabled","class"]))])):vt("",!0),t.showBreakpointButtons&&T.value?(Y(),J("li",Yy,[(Y(),ae(Re(t.type==="button"?"button":"a"),{href:a(c.value?1:l.value),onClick:y[6]||(y[6]=Pt(x=>o(c.value?1:l.value),["prevent"])),class:Kt([t.lastButtonClass,t.paginateButtonsClass,t.disablePagination?t.disabledPaginateButtonsClass:"",t.disablePagination?t.disabledLastButtonClass:""]),disabled:t.disablePagination},{default:Rt(()=>[St(Q(c.value?s(1):s(l.value)),1)]),_:1},8,["href","class","disabled"]))])):vt("",!0),!t.hidePrevNext&&p.value?(Y(),J("li",Xy,[(Y(),ae(Re(t.type==="button"?"button":"a"),{href:a(c.value?r.value-1:r.value+1),onClick:y[7]||(y[7]=Pt(x=>o(c.value?r.value-1:r.value+1),["prevent"])),class:Kt([t.paginateButtonsClass,t.nextButtonClass,t.disablePagination?t.disabledPaginateButtonsClass:"",t.disablePagination?t.disabledNextButtonClass:""]),disabled:t.disablePagination},{default:Rt(()=>[dn(S.$slots,"next-button",{},()=>[St(Q(t.nextButtonContent),1)])]),_:3},8,["href","class","disabled"]))])):vt("",!0),t.showJumpButtons&&h.value?(Y(),J("li",Jy,[(Y(),ae(Re(t.type==="button"?"button":"a"),{href:a(c.value?r.value-Math.ceil(t.maxPagesShown/2):r.value+Math.ceil(t.maxPagesShown/2)),onClick:y[8]||(y[8]=Pt(x=>o(c.value?r.value-Math.ceil(t.maxPagesShown/2):r.value+Math.ceil(t.maxPagesShown/2)),["prevent"])),class:Kt([t.forwardJumpButtonClass,t.paginateButtonsClass,t.disablePagination?t.disabledPaginateButtonsClass:"",t.disablePagination?t.disabledForwardJumpButtonClass:""]),disabled:t.disablePagination},{default:Rt(()=>[dn(S.$slots,"forward-jump-button",{},()=>[St(Q(t.forwardJumpButtonContent),1)])]),_:3},8,["href","class","disabled"]))])):vt("",!0),t.showEndingButtons&&k.value?(Y(),J("li",Ky,[(Y(),ae(Re(t.type==="button"?"button":"a"),{href:a(c.value?1:l.value),onClick:y[9]||(y[9]=Pt(x=>o(c.value?1:l.value),["prevent"])),class:Kt([t.lastPageButtonClass,t.paginateButtonsClass,t.disablePagination?t.disabledPaginateButtonsClass:""]),disabled:t.disablePagination},{default:Rt(()=>[dn(S.$slots,"last-page-button",{},()=>[St(Q(t.lastPageContent),1)])]),_:3},8,["href","class","disabled"]))])):vt("",!0)],2))}});var Qy={install:t=>{t.component("VueAwesomePaginate",Zy)}};const t3={title:"Obvestila","empty-new":"Tukaj ni novih obvestil.","module-name":"Ime Modula",subscription:"NaroÄnina",author:"Avtor",details:"Ogled podrobnosti",together:"Skupaj",content:"vsebin",all:"Vsa obvestila","mark-all-as-read":"OznaÄi vse kot prebrane"},e3={mine:"Moja opravila",zero:"Super, tu ni novih opravil",group:"Skupina",due:"Datum poteka",goto:"Pojdi na opravilo",open:"Odprta opravila",all:"Vsa opravila"},n3={title:"E-poÅ¡ta","empty-new":"Tukaj ni novih obvestil.",details:"Ogled podrobnosti",from:"Od",mailbox:"Predal",together:"Skupaj",content:"vsebin",all:"Vsa e-poÅ¡ta"},r3={notification:t3,tasks:e3,mail:n3},i3={title:"Notifications","empty-new":"There are no new notifications here.","module-name":"Module Name",subscription:"Subscription",author:"Author",details:"View Details",together:"There are",content:"notifications",all:"All Notifications","mark-all-as-read":"Mark all as read"},o3={mine:"My Tasks",zero:"Great, there are no new tasks here",group:"Group",due:"Due Date",goto:"Go to Task",open:"Open Tasks",all:"All Tasks"},s3={title:"Mail","empty-new":"You have no new messages.",details:"View details",from:"From",mailbox:"Mailbox",together:"Total",content:"messages",all:"All mail"},a3={notification:i3,tasks:o3,mail:s3},l3={title:"Benachrichtigungen","empty-new":"Hier gibt es keine neuen Benachrichtigungen.","module-name":"Modulname",subscription:"Abonnement",author:"Autor",details:"Details anzeigen",together:"Gesamt",content:"Inhalt",all:"Alle Benachrichtigungen","mark-all-as-read":"Alle als gelesen markieren"},u3={mine:"Meine Aufgaben",zero:"Super, hier gibt es keine neuen Aufgaben",group:"Gruppe",due:"Fälligkeitsdatum",goto:"Zur Aufgabe",open:"Offene Aufgaben",all:"Alle Aufgaben"},c3={title:"E-Mail","empty-new":"Sie haben keine neuen Nachrichten.",details:"Details anzeigen",from:"Von",mailbox:"Postfach",together:"Insgesamt",content:"Nachrichten",all:"Alle E-Mails"},f3={notification:l3,tasks:u3,mail:c3}
9,h3={title:"Obavijesti","empty-new":"Ovdje nema novih obavijesti.","module-name":"Naziv modula",subscription:"Pretplata",author:"Autor",details:"Prikaži detalje",together:"Ukupno",content:"sadržaja",all:"Sve obavijesti","mark-all-as-read":"OznaÄi sve kao proÄitano"},d3={mine:"Moji zadaci",zero:"Super, nema novih zadataka",group:"Grupa",due:"Rok",goto:"Idi na zadatak",open:"Otvoreni zadaci",all:"Svi zadaci"},p3={title:"E-poÅ¡ta","empty-new":"Trenutno nema novih poruka.",details:"Pregled detalja",from:"Od",mailbox:"Pretinac",together:"Ukupno",content:"poruka",all:"Sva e-poÅ¡ta"},m3={notification:h3,tasks:d3,mail:p3},g3={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},_3=["fill"],v3=Qe({__name:"TheMailSvg",props:{iconColor:{type:String,default:"#ffffff"}},setup(t){const e=t;return(n,r)=>(Y(),J("svg",g3,[z("path",{fill:e.iconColor,d:"M5 5h13a3 3 0 0 1 3 3v9a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V8a3 3 0 0 1 3-3m0 1c-.5 0-.94.17-1.28.47l7.78 5.03l7.78-5.03C18.94 6.17 18.5 6 18 6zm6.5 6.71L3.13 7.28C3.05 7.5 3 7.75 3 8v9a2 2 0 0 0 2 2h13a2 2 0 0 0 2-2V8c0-.25-.05-.5-.13-.72z"},null,8,_3)]))}}),b3={class:"mail-icon"},y3={key:0,class:"badge error"},w3={key:1,class:"badge"},C3=z("div",{class:"loader"},null,-1),S3=[C3],k3={key:2,class:"badge"},T3={class:"mail-header"},E3={class:"flex items-center gap-1"},A3={class:"mail-title"},P3={class:"mail-content"},x3={key:0,class:"zero-mail"},O3=z("img",{width:"180",height:"180",alt:"brez e-poÅ¡te"},null,-1),I3={class:"mail-item-header"},R3=z("div",{class:"mail-item-indicator"},null,-1),M3={class:"mail-item-date"},L3={class:"mail-item-details"},D3={class:"mail-item-info"},U3={class:"mail-item-footer"},N3=["href"],B3={class:"mail-footer"},F3={key:0,class:"mail-pagination-container"},j3=Qe({__name:"TheMail",props:{iconColor:{type:String,default:"#ffffff"},backgroundColor:{type:String},top:{type:String,default:"4rem"},right:{type:String,default:"1rem"},dateFormat:{type:String,default:void 0,validator:t=>t===void 0||Qa(t)}},setup(t){const e=ce("pluginI18n"),n=e.global.t,r=ce("tenant"),i=t;vo.registerPlugin(Je);const o=Va(),s=Ka(),a=ia(document.body),{width:l}=Sc(document.body),u=ot([]),c=ot([]),f=ot(""),p=ot(!1),d=ot(null),h=ot(0),_=ot(0),T=ot(1),b=ot(),k=ot(!1),S=pt(()=>p.value?c.value:u.value.slice(0,5)),y=pt(()=>l.value&&l.value<933?3:5);async function x(){try{const it=await rn(We.MailApi).apiMailSearchPost(r);u.value=it.data.items??[],k.value=!1}catch(it){k.value=!0,console.log(it)}}async function M(){try{const it=await rn(We.MailApi).apiMailSearchPost(r,{pageSize:10,pageNumber:T.value,search:f.value});c.value=it.data.items??[],b.value=it.data.totalCount,k.value=!1}catch(it){k.value=!0,console.log(it)}}function O(){if(!s.socketError){if(o.mailMenu){p.value=!1,o.mailMenu=!1;return}o.$patch({mailMenu:!0,notificationMenu:!1,tasklistMenu:!1}),x(),a.value=!0}}function D(){V(),o.mailMenu=!1}async function F(){await M(),p.value=!p.value;const it=Je.getState(d.value);p.value?(h.value=Ui(d).top.value,_.value=Ui(d).left.value,d.value&&(d.value.style.position="fixed",d.value.style.top="4rem",d.value.style.left="1rem",d.value.style.right="1rem",d.value.style.bottom="6rem",d.value.style.maxWidth="none",d.value.style.width="auto")):d.value&&(d.value.style.top=h.value+"px",d.value.style.left=_.value+"px",d.value.style.right="",d.value.style.bottom="",d.value.style.maxWidth="450px",d.value.style.width="450px"),Je.from(it,{duration:.5,ease:"power1.inOut",onComplete:()=>{d.value&&!p.value&&(d.value.style.position="")}})}const X=it=>{if(!it)return!1;try{return!!new URL(it)}catch{return!1}};function V(){a.value=!1,p.value=!1,T.value=1,f.value="",d.value&&(d.value.style.position="",d.value.style.top="",d.value.style.left="",d.value.style.right="",d.value.style.bottom="",d.value.style.maxWidth="",d.value.style.width="")}const K=ce("dateFormat",Tn),rt=pt(()=>i.dateFormat??K??Tn),et=it=>tl(it,rt.value,{withTime:!0,locale:e.global.locale.value});return fr(()=>s.mailCount,()=>{if(o.mailMenu){if(p.value)return;x()}}),Zt(()=>o.mailMenu,it=>{it||V()}),(it,st)=>{const Ct=fc("vue-awesome-paginate");return Y(),J(Ve,null,[z("div",b3,[z("button",{type:"button",class:"mail-button",style:Vr({background:i.backgroundColor??void 0}),onClick:st[0]||(st[0]=Pt(ct=>O(),["stop"]))},[nt(s).socketError||k.value?(Y(),J("span",y3,[bt(Za)])):nt(s).c
9onnectionStatus?nt(s).mailCount!==0?(Y(),J("span",k3,Q(nt(s).mailCount),1)):vt("",!0):(Y(),J("span",w3,S3)),bt(v3,{"icon-color":i.iconColor},null,8,["icon-color"])],4)]),bt(ea,null,{default:Rt(()=>[nt(o).mailMenu?ta((Y(),J("div",{key:0,class:"mail-container",ref_key:"mailMenuRef",ref:d,style:Vr({top:i.top,right:i.right})},[z("div",T3,[z("div",E3,[z("span",A3,Q(nt(n)("mail.title"))+" ("+Q(nt(s).mailCount)+") ",1)]),z("button",{onClick:Pt(D,["prevent"]),class:"close-all-button"},[bt(Qi)])]),z("div",P3,[S.value.length===0?(Y(),J("div",x3,[O3,z("span",null,Q(nt(n)("mail.empty-new")),1)])):(Y(),ae(Di,{key:1,tag:"ul",name:"fade",class:"mail-list"},{default:Rt(()=>[(Y(!0),J(Ve,null,Yr(S.value,ct=>(Y(),J("li",{key:ct.id,class:"mail-item"},[z("div",I3,[R3,z("span",{class:Kt(["mail-item-title",{small:!p.value}])},Q(ct.subject),3),z("span",M3,Q(ct.dateAtUtc?et(ct.dateAtUtc):"/"),1)]),z("div",L3,[z("span",{class:Kt(["mail-item-snippet",{small:!p.value}])},Q(ct.snippet),3),z("div",D3,[z("span",null,[St(Q(nt(n)("mail.from"))+": ",1),z("strong",null,Q(ct.fromEmail),1)]),z("span",null,[St(Q(nt(n)("mail.mailbox"))+": ",1),z("strong",null,Q(ct.mailbox),1)])])]),z("div",U3,[ct.redirectUrl&&X(ct.redirectUrl)?(Y(),J("a",{key:0,href:ct?.redirectUrl,target:"_blank",rel:"noopener noreferrer",class:"mail-details-button"},Q(nt(n)("mail.details")),9,N3)):vt("",!0)])]))),128))]),_:1}))]),z("div",B3,[p.value?(Y(),J("div",F3,[z("span",null,Q(nt(n)("mail.together"))+" "+Q(b.value)+" "+Q(nt(n)("mail.content")),1),bt(Ct,{"total-items":b.value,"max-pages-shown":y.value,showBreakpointButtons:!1,"items-per-page":10,modelValue:T.value,"onUpdate:modelValue":st[1]||(st[1]=ct=>T.value=ct),onClick:M},{"prev-button":Rt(()=>[bt(Rh)]),"next-button":Rt(()=>[bt(to)]),_:1},8,["total-items","max-pages-shown","modelValue"])])):(Y(),J("button",{key:1,class:"mail-button-all",onClick:Pt(F,["prevent"])},[St(Q(nt(n)("mail.all"))+" ",1),bt(to)]))])],4)),[[nt(oa),D,void 0,{bubble:!0}]]):vt("",!0)]),_:1})],64)}}}),$3=["sl","en","de","hr"],H3=(t,e)=>{var n;jp(e.vueKeycloakInstance,e.baseUrl);const r={sl:r3,en:a3,de:f3,hr:m3,...e.messages??{}},i=Object.keys(e.messages??{}),o=u=>{if(!u)return"sl";const c=u.toLowerCase().replace("_","-"),f=c.split("-")[0];return $3.includes(f)||i.includes(f)?f:i.includes(c)?c:"sl"},s=o((n=e.locale)==null?void 0:n.value),a=Iy({legacy:!1,locale:s,fallbackLocale:"sl",messages:r});e.locale&&Zt(e.locale,u=>{a.global.locale.value=o(u)},{immediate:!0}),t.provide("vueKeycloakInstance",e.vueKeycloakInstance),t.provide("baseUrl",e.baseUrl),t.provide("notificationTasklistUrl",e.notificationTasklistUrl),t.provide("pluginI18n",a),t.provide("tenant",e.tenant),t.provide("dateFormat",e.dateFormat??Tn);const l=Dg();t.use(l),t.use(Qy),t.component("TheNotificationBell",Mv),t.component("TheTasklist",N0),t.component("TheMail",j3)};export{sv as DATE_FORMATS,Tn as DEFAULT_DATE_FORMAT,H3 as default,tl as formatDate};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.