shared-ritm 1.0.75 → 1.0.76

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7366,7 +7366,7 @@ const Yd = /* @__PURE__ */ He({
7366
7366
  },
7367
7367
  setup(e) {
7368
7368
  const t = Gd(), n = (r) => {
7369
- o.main || (window.location.href = r), t.push(r);
7369
+ o.main || (window.location.href = r), t.push({ path: r });
7370
7370
  }, o = e;
7371
7371
  return (r, i) => (G(), ie("div", {
7372
7372
  class: he(r.$style.wrapper)
@@ -3,7 +3,7 @@
3
3
  * vue-router v4.5.0
4
4
  * (c) 2024 Eduardo San Martin Morote
5
5
  * @license MIT
6
- */var ri;(function(e){e.pop="pop",e.push="push"})(ri||(ri={}));var ii;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ii||(ii={})),Symbol(process.env.NODE_ENV!=="production"?"navigation failure":"");var li;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(li||(li={})),Symbol(process.env.NODE_ENV!=="production"?"router view location matched":""),Symbol(process.env.NODE_ENV!=="production"?"router view depth":"");const Ec=Symbol(process.env.NODE_ENV!=="production"?"router":"");Symbol(process.env.NODE_ENV!=="production"?"route location":""),Symbol(process.env.NODE_ENV!=="production"?"router view location":"");function qc(){return n.inject(Ec)}const Vc=G(n.defineComponent({__name:"SidebarMenu",props:{menuItems:{},minify:{type:Boolean},main:{type:Boolean}},setup(e){const t=qc(),o=i=>{r.main||(window.location.href=i),t.push(i)},r=e;return(i,l)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(i.$style.wrapper)},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(i.menuItems,(a,s)=>(n.openBlock(),n.createBlock(Bc,{key:s,item:a,minify:i.minify,onGoToRoute:o},null,8,["item","minify"]))),128))],2))}}),[["__cssModules",{$style:{wrapper:"_wrapper_oo3ij_1"}}]]);function Tc(){return n.inject(ra)}const $c=G(n.defineComponent({__name:"AppSidebar",props:{isDrawer:{type:Boolean},minify:{type:Boolean},menuItems:{},main:{type:Boolean,default:!1}},emits:["logout"],setup(e,{emit:t}){const o=t,r=Tc(),i=n.ref(!0),l=n.ref(!0),a=n.ref(!1),s=n.computed(()=>r.screen.lt.lg),d=n.computed(()=>l.value?"menu":"close"),c=n.computed(()=>s.value?250:275),u=n.computed(()=>s.value?47:72);function f(m){!a.value&&!s.value&&(l.value=m)}function v(){a.value=!a.value,l.value=!l.value}function g(){o("logout")}return n.watch(()=>s.value,m=>{a.value=m}),(m,w)=>(n.openBlock(),n.createBlock(ls,{key:`${i.value}`,modelValue:i.value,"onUpdate:modelValue":w[3]||(w[3]=p=>i.value=p),class:n.normalizeClass(m.$style.drawer),mini:l.value,overlay:!a.value,width:c.value,"mini-width":u.value,breakpoint:960,"show-if-above":"",onMouseover:w[4]||(w[4]=p=>f(!1)),onMouseout:w[5]||(w[5]=p=>f(!0))},{default:n.withCtx(()=>[s.value?(n.openBlock(),n.createBlock(ze,{key:0,class:n.normalizeClass(m.$style["tablet-logo"])},{default:n.withCtx(()=>[n.createVNode(be,{avatar:""},{default:n.withCtx(()=>[n.createVNode(Un,{round:"",unelevated:"",class:n.normalizeClass(m.$style["tablet-logo__btn"]),icon:d.value,onClick:w[0]||(w[0]=p=>v())},null,8,["class","icon"])]),_:1}),n.createVNode(be,{class:n.normalizeClass(m.$style.logo__text)},{default:n.withCtx(()=>w[6]||(w[6]=[n.createTextVNode("РИТМ")])),_:1},8,["class"])]),_:1},8,["class"])):(n.openBlock(),n.createElementBlock(n.Fragment,{key:1},[n.createVNode(ze,{class:n.normalizeClass(m.$style.logo)},{default:n.withCtx(()=>[n.createVNode(be,{avatar:""},{default:n.withCtx(()=>[n.createVNode(mn,{name:"logo-icon"})]),_:1}),n.createVNode(be,{class:n.normalizeClass(m.$style.logo__text)},{default:n.withCtx(()=>w[7]||(w[7]=[n.createTextVNode("РИТМ")])),_:1},8,["class"])]),_:1},8,["class"]),n.createVNode(Un,{dense:"",round:"",unelevated:"",class:n.normalizeClass(["q-mini-drawer-hide",m.$style["minify-btn"]]),icon:"chevron_left",onClick:w[1]||(w[1]=p=>a.value=!a.value)},{default:n.withCtx(()=>[n.createVNode(Gt,null,{default:n.withCtx(()=>w[8]||(w[8]=[n.createTextVNode("Закрепить сайдбар")])),_:1})]),_:1},8,["class"])],64)),n.createVNode(Vc,{main:m.main,"menu-items":m.menuItems,minify:l.value},null,8,["main","menu-items","minify"]),n.withDirectives((n.openBlock(),n.createBlock(ze,{class:n.normalizeClass(m.$style["menu-exit"]),clickable:"",onClick:w[2]||(w[2]=p=>g())},{default:n.withCtx(()=>[n.createVNode(be,{avatar:""},{default:n.withCtx(()=>[n.createVNode(mn,{name:"logout-icon",color:"white",size:"24px"})]),_:1}),n.createVNode(be,{class:n.normalizeClass(m.$style["menu-exit__label"])},{default:n.withCtx(()=>w[9]||(w[9]=[n.createTextVNode("Выход")])),_:1},8,["class"])]),_:1},8,["class"])),[[en]])]),_:1},8,["modelValue","class","mini","overlay","width","mini-width"]))}}),[["__cssModules",{$style:{drawer:"_drawer_1q4rd_1",logo:"_logo_1q4rd_17",logo__text:"_logo__text_1q4rd_22","tablet-logo":"_tablet-logo_1q4rd_28","tablet-logo__btn":"_tablet-logo__btn_1q4rd_31","minify-btn":"_minify-btn_1q4rd_35","menu-exit":"_menu-exit_1q4rd_46","menu-exit__label":"_menu-exit__label_1q4rd_52"}}]]),Mc=oe({name:"QToolbar",props:{inset:Boolean},setup(e,{slots:t}){const o=n.computed(()=>"q-toolbar row no-wrap items-center"+(e.inset===!0?" q-toolbar--inset":""));return()=>n.h("div",{class:o.value,role:"toolbar"},ve(t.default))}}),Lc=oe({name:"QHeader",props:{modelValue:{type:Boolean,default:!0},reveal:Boolean,revealOffset:{type:Number,default:250},bordered:Boolean,elevated:Boolean,heightHint:{type:[String,Number],default:50}},emits:["reveal","focusin"],setup(e,{slots:t,emit:o}){const{proxy:{$q:r}}=n.getCurrentInstance(),i=n.inject(Vt,ye);if(i===ye)return console.error("QHeader needs to be child of QLayout"),ye;const l=n.ref(parseInt(e.heightHint,10)),a=n.ref(!0),s=n.computed(()=>e.reveal===!0||i.view.value.indexOf("H")!==-1||r.platform.is.ios&&i.isContainer.value===!0),d=n.computed(()=>{if(e.modelValue!==!0)return 0;if(s.value===!0)return a.value===!0?l.value:0;const y=l.value-i.scroll.value.position;return y>0?y:0}),c=n.computed(()=>e.modelValue!==!0||s.value===!0&&a.value!==!0),u=n.computed(()=>e.modelValue===!0&&c.value===!0&&e.reveal===!0),f=n.computed(()=>"q-header q-layout__section--marginal "+(s.value===!0?"fixed":"absolute")+"-top"+(e.bordered===!0?" q-header--bordered":"")+(c.value===!0?" q-header--hidden":"")+(e.modelValue!==!0?" q-layout--prevent-focus":"")),v=n.computed(()=>{const y=i.rows.value.top,B={};return y[0]==="l"&&i.left.space===!0&&(B[r.lang.rtl===!0?"right":"left"]=`${i.left.size}px`),y[2]==="r"&&i.right.space===!0&&(B[r.lang.rtl===!0?"left":"right"]=`${i.right.size}px`),B});function g(y,B){i.update("header",y,B)}function m(y,B){y.value!==B&&(y.value=B)}function w({height:y}){m(l,y),g("size",y)}function p(y){u.value===!0&&m(a,!0),o("focusin",y)}n.watch(()=>e.modelValue,y=>{g("space",y),m(a,!0),i.animate()}),n.watch(d,y=>{g("offset",y)}),n.watch(()=>e.reveal,y=>{y===!1&&m(a,e.modelValue)}),n.watch(a,y=>{i.animate(),o("reveal",y)}),n.watch(i.scroll,y=>{e.reveal===!0&&m(a,y.direction==="up"||y.position<=e.revealOffset||y.position-y.inflectionPoint<100)});const x={};return i.instances.header=x,e.modelValue===!0&&g("size",l.value),g("space",e.modelValue),g("offset",d.value),n.onBeforeUnmount(()=>{i.instances.header===x&&(i.instances.header=void 0,g("size",0),g("offset",0),g("space",!1))}),()=>{const y=Oo(t.default,[]);return e.elevated===!0&&y.push(n.h("div",{class:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),y.push(n.h(Yn,{debounce:0,onResize:w})),n.h("header",{class:f.value,style:v.value,onFocusin:p},y)}}}),Rc=G(n.defineComponent({__name:"AppLayoutHeader",props:{userData:{}},setup(e){const t=e,o=n.computed(()=>{var r,i,l,a,s,d,c;return`${(r=t.userData)==null?void 0:r.last_name} ${(l=(i=t.userData)==null?void 0:i.first_name)==null?void 0:l[0]}. ${((s=(a=t.userData)==null?void 0:a.patronymic)==null?void 0:s[0])||""} ${(c=(d=t.userData)==null?void 0:d.patronymic)!=null&&c[0]?".":""}`});return(r,i)=>(n.openBlock(),n.createBlock(Lc,{class:n.normalizeClass(r.$style.header)},{default:n.withCtx(()=>[n.createVNode(Mc,{class:n.normalizeClass(r.$style.toolbar)},{default:n.withCtx(()=>[n.createElementVNode("div",{class:n.normalizeClass(r.$style["action-buttons"])},[n.renderSlot(r.$slots,"filters-actions")],2),n.createElementVNode("div",{class:n.normalizeClass(r.$style["action-buttons"])},[n.renderSlot(r.$slots,"action-buttons"),n.createVNode(gr,{icon:"person","text-color":"black",label:o.value,rounded:"",class:n.normalizeClass(r.$style["button-person"])},null,8,["label","class"])],2)]),_:3},8,["class"])]),_:3},8,["class"]))}}),[["__cssModules",{$style:{header:"_header_yvgb5_1",toolbar:"_toolbar_yvgb5_8","header-search":"_header-search_yvgb5_13","action-buttons":"_action-buttons_yvgb5_18",button:"_button_yvgb5_27","button-person":"_button-person_yvgb5_33"}}]]);function ai(e,t){return function(){return e.apply(t,arguments)}}const{toString:Ac}=Object.prototype,{getPrototypeOf:co}=Object,hn=(e=>t=>{const o=Ac.call(t);return e[o]||(e[o]=o.slice(8,-1).toLowerCase())})(Object.create(null)),Le=e=>(e=e.toLowerCase(),t=>hn(t)===e),pn=e=>t=>typeof t===e,{isArray:mt}=Array,Rt=pn("undefined");function Oc(e){return e!==null&&!Rt(e)&&e.constructor!==null&&!Rt(e.constructor)&&Be(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const si=Le("ArrayBuffer");function Pc(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&si(e.buffer),t}const jc=pn("string"),Be=pn("function"),ui=pn("number"),gn=e=>e!==null&&typeof e=="object",Ic=e=>e===!0||e===!1,vn=e=>{if(hn(e)!=="object")return!1;const t=co(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Nc=Le("Date"),zc=Le("File"),Fc=Le("Blob"),Hc=Le("FileList"),Dc=e=>gn(e)&&Be(e.pipe),Uc=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Be(e.append)&&((t=hn(e))==="formdata"||t==="object"&&Be(e.toString)&&e.toString()==="[object FormData]"))},Wc=Le("URLSearchParams"),[Kc,Qc,Zc,Xc]=["ReadableStream","Request","Response","Headers"].map(Le),Gc=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function At(e,t,{allOwnKeys:o=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),mt(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const l=o?Object.getOwnPropertyNames(e):Object.keys(e),a=l.length;let s;for(r=0;r<a;r++)s=l[r],t.call(null,e[s],s,e)}}function ci(e,t){t=t.toLowerCase();const o=Object.keys(e);let r=o.length,i;for(;r-- >0;)if(i=o[r],t===i.toLowerCase())return i;return null}const tt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,di=e=>!Rt(e)&&e!==tt;function fo(){const{caseless:e}=di(this)&&this||{},t={},o=(r,i)=>{const l=e&&ci(t,i)||i;vn(t[l])&&vn(r)?t[l]=fo(t[l],r):vn(r)?t[l]=fo({},r):mt(r)?t[l]=r.slice():t[l]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&At(arguments[r],o);return t}const Yc=(e,t,o,{allOwnKeys:r}={})=>(At(t,(i,l)=>{o&&Be(i)?e[l]=ai(i,o):e[l]=i},{allOwnKeys:r}),e),Jc=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),ed=(e,t,o,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),o&&Object.assign(e.prototype,o)},td=(e,t,o,r)=>{let i,l,a;const s={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),l=i.length;l-- >0;)a=i[l],(!r||r(a,e,t))&&!s[a]&&(t[a]=e[a],s[a]=!0);e=o!==!1&&co(e)}while(e&&(!o||o(e,t))&&e!==Object.prototype);return t},nd=(e,t,o)=>{e=String(e),(o===void 0||o>e.length)&&(o=e.length),o-=t.length;const r=e.indexOf(t,o);return r!==-1&&r===o},od=e=>{if(!e)return null;if(mt(e))return e;let t=e.length;if(!ui(t))return null;const o=new Array(t);for(;t-- >0;)o[t]=e[t];return o},rd=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&co(Uint8Array)),id=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const l=i.value;t.call(e,l[0],l[1])}},ld=(e,t)=>{let o;const r=[];for(;(o=e.exec(t))!==null;)r.push(o);return r},ad=Le("HTMLFormElement"),sd=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(o,r,i){return r.toUpperCase()+i}),fi=(({hasOwnProperty:e})=>(t,o)=>e.call(t,o))(Object.prototype),ud=Le("RegExp"),mi=(e,t)=>{const o=Object.getOwnPropertyDescriptors(e),r={};At(o,(i,l)=>{let a;(a=t(i,l,e))!==!1&&(r[l]=a||i)}),Object.defineProperties(e,r)},cd=e=>{mi(e,(t,o)=>{if(Be(e)&&["arguments","caller","callee"].indexOf(o)!==-1)return!1;const r=e[o];if(Be(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+o+"'")})}})},dd=(e,t)=>{const o={},r=i=>{i.forEach(l=>{o[l]=!0})};return mt(e)?r(e):r(String(e).split(t)),o},fd=()=>{},md=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,mo="abcdefghijklmnopqrstuvwxyz",hi="0123456789",pi={DIGIT:hi,ALPHA:mo,ALPHA_DIGIT:mo+mo.toUpperCase()+hi},hd=(e=16,t=pi.ALPHA_DIGIT)=>{let o="";const{length:r}=t;for(;e--;)o+=t[Math.random()*r|0];return o};function pd(e){return!!(e&&Be(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const gd=e=>{const t=new Array(10),o=(r,i)=>{if(gn(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const l=mt(r)?[]:{};return At(r,(a,s)=>{const d=o(a,i+1);!Rt(d)&&(l[s]=d)}),t[i]=void 0,l}}return r};return o(e,0)},vd=Le("AsyncFunction"),wd=e=>e&&(gn(e)||Be(e))&&Be(e.then)&&Be(e.catch),gi=((e,t)=>e?setImmediate:t?((o,r)=>(tt.addEventListener("message",({source:i,data:l})=>{i===tt&&l===o&&r.length&&r.shift()()},!1),i=>{r.push(i),tt.postMessage(o,"*")}))(`axios@${Math.random()}`,[]):o=>setTimeout(o))(typeof setImmediate=="function",Be(tt.postMessage)),kd=typeof queueMicrotask<"u"?queueMicrotask.bind(tt):typeof process<"u"&&process.nextTick||gi,C={isArray:mt,isArrayBuffer:si,isBuffer:Oc,isFormData:Uc,isArrayBufferView:Pc,isString:jc,isNumber:ui,isBoolean:Ic,isObject:gn,isPlainObject:vn,isReadableStream:Kc,isRequest:Qc,isResponse:Zc,isHeaders:Xc,isUndefined:Rt,isDate:Nc,isFile:zc,isBlob:Fc,isRegExp:ud,isFunction:Be,isStream:Dc,isURLSearchParams:Wc,isTypedArray:rd,isFileList:Hc,forEach:At,merge:fo,extend:Yc,trim:Gc,stripBOM:Jc,inherits:ed,toFlatObject:td,kindOf:hn,kindOfTest:Le,endsWith:nd,toArray:od,forEachEntry:id,matchAll:ld,isHTMLForm:ad,hasOwnProperty:fi,hasOwnProp:fi,reduceDescriptors:mi,freezeMethods:cd,toObjectSet:dd,toCamelCase:sd,noop:fd,toFiniteNumber:md,findKey:ci,global:tt,isContextDefined:di,ALPHABET:pi,generateString:hd,isSpecCompliantForm:pd,toJSONObject:gd,isAsyncFn:vd,isThenable:wd,setImmediate:gi,asap:kd};function Y(e,t,o,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),o&&(this.config=o),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}C.inherits(Y,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:C.toJSONObject(this.config),code:this.code,status:this.status}}});const vi=Y.prototype,wi={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{wi[e]={value:e}}),Object.defineProperties(Y,wi),Object.defineProperty(vi,"isAxiosError",{value:!0}),Y.from=(e,t,o,r,i,l)=>{const a=Object.create(vi);return C.toFlatObject(e,a,function(d){return d!==Error.prototype},s=>s!=="isAxiosError"),Y.call(a,e.message,t,o,r,i),a.cause=e,a.name=e.name,l&&Object.assign(a,l),a};const yd=null;function ho(e){return C.isPlainObject(e)||C.isArray(e)}function ki(e){return C.endsWith(e,"[]")?e.slice(0,-2):e}function yi(e,t,o){return e?e.concat(t).map(function(i,l){return i=ki(i),!o&&l?"["+i+"]":i}).join(o?".":""):t}function bd(e){return C.isArray(e)&&!e.some(ho)}const _d=C.toFlatObject(C,{},null,function(t){return/^is[A-Z]/.test(t)});function wn(e,t,o){if(!C.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,o=C.toFlatObject(o,{metaTokens:!0,dots:!1,indexes:!1},!1,function(w,p){return!C.isUndefined(p[w])});const r=o.metaTokens,i=o.visitor||u,l=o.dots,a=o.indexes,d=(o.Blob||typeof Blob<"u"&&Blob)&&C.isSpecCompliantForm(t);if(!C.isFunction(i))throw new TypeError("visitor must be a function");function c(m){if(m===null)return"";if(C.isDate(m))return m.toISOString();if(!d&&C.isBlob(m))throw new Y("Blob is not supported. Use a Buffer instead.");return C.isArrayBuffer(m)||C.isTypedArray(m)?d&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function u(m,w,p){let x=m;if(m&&!p&&typeof m=="object"){if(C.endsWith(w,"{}"))w=r?w:w.slice(0,-2),m=JSON.stringify(m);else if(C.isArray(m)&&bd(m)||(C.isFileList(m)||C.endsWith(w,"[]"))&&(x=C.toArray(m)))return w=ki(w),x.forEach(function(B,T){!(C.isUndefined(B)||B===null)&&t.append(a===!0?yi([w],T,l):a===null?w:w+"[]",c(B))}),!1}return ho(m)?!0:(t.append(yi(p,w,l),c(m)),!1)}const f=[],v=Object.assign(_d,{defaultVisitor:u,convertValue:c,isVisitable:ho});function g(m,w){if(!C.isUndefined(m)){if(f.indexOf(m)!==-1)throw Error("Circular reference detected in "+w.join("."));f.push(m),C.forEach(m,function(x,y){(!(C.isUndefined(x)||x===null)&&i.call(t,x,C.isString(y)?y.trim():y,w,v))===!0&&g(x,w?w.concat(y):[y])}),f.pop()}}if(!C.isObject(e))throw new TypeError("data must be an object");return g(e),t}function bi(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function po(e,t){this._pairs=[],e&&wn(e,this,t)}const _i=po.prototype;_i.append=function(t,o){this._pairs.push([t,o])},_i.toString=function(t){const o=t?function(r){return t.call(this,r,bi)}:bi;return this._pairs.map(function(i){return o(i[0])+"="+o(i[1])},"").join("&")};function Cd(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ci(e,t,o){if(!t)return e;const r=o&&o.encode||Cd,i=o&&o.serialize;let l;if(i?l=i(t,o):l=C.isURLSearchParams(t)?t.toString():new po(t,o).toString(r),l){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+l}return e}class Si{constructor(){this.handlers=[]}use(t,o,r){return this.handlers.push({fulfilled:t,rejected:o,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){C.forEach(this.handlers,function(r){r!==null&&t(r)})}}const xi={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Sd={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:po,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},go=typeof window<"u"&&typeof document<"u",vo=typeof navigator=="object"&&navigator||void 0,xd=go&&(!vo||["ReactNative","NativeScript","NS"].indexOf(vo.product)<0),Bd=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Ed=go&&window.location.href||"http://localhost",_e={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:go,hasStandardBrowserEnv:xd,hasStandardBrowserWebWorkerEnv:Bd,navigator:vo,origin:Ed},Symbol.toStringTag,{value:"Module"})),...Sd};function qd(e,t){return wn(e,new _e.classes.URLSearchParams,Object.assign({visitor:function(o,r,i,l){return _e.isNode&&C.isBuffer(o)?(this.append(r,o.toString("base64")),!1):l.defaultVisitor.apply(this,arguments)}},t))}function Vd(e){return C.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Td(e){const t={},o=Object.keys(e);let r;const i=o.length;let l;for(r=0;r<i;r++)l=o[r],t[l]=e[l];return t}function Bi(e){function t(o,r,i,l){let a=o[l++];if(a==="__proto__")return!0;const s=Number.isFinite(+a),d=l>=o.length;return a=!a&&C.isArray(i)?i.length:a,d?(C.hasOwnProp(i,a)?i[a]=[i[a],r]:i[a]=r,!s):((!i[a]||!C.isObject(i[a]))&&(i[a]=[]),t(o,r,i[a],l)&&C.isArray(i[a])&&(i[a]=Td(i[a])),!s)}if(C.isFormData(e)&&C.isFunction(e.entries)){const o={};return C.forEachEntry(e,(r,i)=>{t(Vd(r),i,o,0)}),o}return null}function $d(e,t,o){if(C.isString(e))try{return(t||JSON.parse)(e),C.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(0,JSON.stringify)(e)}const Ot={transitional:xi,adapter:["xhr","http","fetch"],transformRequest:[function(t,o){const r=o.getContentType()||"",i=r.indexOf("application/json")>-1,l=C.isObject(t);if(l&&C.isHTMLForm(t)&&(t=new FormData(t)),C.isFormData(t))return i?JSON.stringify(Bi(t)):t;if(C.isArrayBuffer(t)||C.isBuffer(t)||C.isStream(t)||C.isFile(t)||C.isBlob(t)||C.isReadableStream(t))return t;if(C.isArrayBufferView(t))return t.buffer;if(C.isURLSearchParams(t))return o.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(l){if(r.indexOf("application/x-www-form-urlencoded")>-1)return qd(t,this.formSerializer).toString();if((s=C.isFileList(t))||r.indexOf("multipart/form-data")>-1){const d=this.env&&this.env.FormData;return wn(s?{"files[]":t}:t,d&&new d,this.formSerializer)}}return l||i?(o.setContentType("application/json",!1),$d(t)):t}],transformResponse:[function(t){const o=this.transitional||Ot.transitional,r=o&&o.forcedJSONParsing,i=this.responseType==="json";if(C.isResponse(t)||C.isReadableStream(t))return t;if(t&&C.isString(t)&&(r&&!this.responseType||i)){const a=!(o&&o.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?Y.from(s,Y.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:_e.classes.FormData,Blob:_e.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};C.forEach(["delete","get","head","post","put","patch"],e=>{Ot.headers[e]={}});const Md=C.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"]),Ld=e=>{const t={};let o,r,i;return e&&e.split(`
6
+ */var ri;(function(e){e.pop="pop",e.push="push"})(ri||(ri={}));var ii;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ii||(ii={})),Symbol(process.env.NODE_ENV!=="production"?"navigation failure":"");var li;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(li||(li={})),Symbol(process.env.NODE_ENV!=="production"?"router view location matched":""),Symbol(process.env.NODE_ENV!=="production"?"router view depth":"");const Ec=Symbol(process.env.NODE_ENV!=="production"?"router":"");Symbol(process.env.NODE_ENV!=="production"?"route location":""),Symbol(process.env.NODE_ENV!=="production"?"router view location":"");function qc(){return n.inject(Ec)}const Vc=G(n.defineComponent({__name:"SidebarMenu",props:{menuItems:{},minify:{type:Boolean},main:{type:Boolean}},setup(e){const t=qc(),o=i=>{r.main||(window.location.href=i),t.push({path:i})},r=e;return(i,l)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(i.$style.wrapper)},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(i.menuItems,(a,s)=>(n.openBlock(),n.createBlock(Bc,{key:s,item:a,minify:i.minify,onGoToRoute:o},null,8,["item","minify"]))),128))],2))}}),[["__cssModules",{$style:{wrapper:"_wrapper_oo3ij_1"}}]]);function Tc(){return n.inject(ra)}const $c=G(n.defineComponent({__name:"AppSidebar",props:{isDrawer:{type:Boolean},minify:{type:Boolean},menuItems:{},main:{type:Boolean,default:!1}},emits:["logout"],setup(e,{emit:t}){const o=t,r=Tc(),i=n.ref(!0),l=n.ref(!0),a=n.ref(!1),s=n.computed(()=>r.screen.lt.lg),d=n.computed(()=>l.value?"menu":"close"),c=n.computed(()=>s.value?250:275),u=n.computed(()=>s.value?47:72);function f(m){!a.value&&!s.value&&(l.value=m)}function v(){a.value=!a.value,l.value=!l.value}function g(){o("logout")}return n.watch(()=>s.value,m=>{a.value=m}),(m,w)=>(n.openBlock(),n.createBlock(ls,{key:`${i.value}`,modelValue:i.value,"onUpdate:modelValue":w[3]||(w[3]=p=>i.value=p),class:n.normalizeClass(m.$style.drawer),mini:l.value,overlay:!a.value,width:c.value,"mini-width":u.value,breakpoint:960,"show-if-above":"",onMouseover:w[4]||(w[4]=p=>f(!1)),onMouseout:w[5]||(w[5]=p=>f(!0))},{default:n.withCtx(()=>[s.value?(n.openBlock(),n.createBlock(ze,{key:0,class:n.normalizeClass(m.$style["tablet-logo"])},{default:n.withCtx(()=>[n.createVNode(be,{avatar:""},{default:n.withCtx(()=>[n.createVNode(Un,{round:"",unelevated:"",class:n.normalizeClass(m.$style["tablet-logo__btn"]),icon:d.value,onClick:w[0]||(w[0]=p=>v())},null,8,["class","icon"])]),_:1}),n.createVNode(be,{class:n.normalizeClass(m.$style.logo__text)},{default:n.withCtx(()=>w[6]||(w[6]=[n.createTextVNode("РИТМ")])),_:1},8,["class"])]),_:1},8,["class"])):(n.openBlock(),n.createElementBlock(n.Fragment,{key:1},[n.createVNode(ze,{class:n.normalizeClass(m.$style.logo)},{default:n.withCtx(()=>[n.createVNode(be,{avatar:""},{default:n.withCtx(()=>[n.createVNode(mn,{name:"logo-icon"})]),_:1}),n.createVNode(be,{class:n.normalizeClass(m.$style.logo__text)},{default:n.withCtx(()=>w[7]||(w[7]=[n.createTextVNode("РИТМ")])),_:1},8,["class"])]),_:1},8,["class"]),n.createVNode(Un,{dense:"",round:"",unelevated:"",class:n.normalizeClass(["q-mini-drawer-hide",m.$style["minify-btn"]]),icon:"chevron_left",onClick:w[1]||(w[1]=p=>a.value=!a.value)},{default:n.withCtx(()=>[n.createVNode(Gt,null,{default:n.withCtx(()=>w[8]||(w[8]=[n.createTextVNode("Закрепить сайдбар")])),_:1})]),_:1},8,["class"])],64)),n.createVNode(Vc,{main:m.main,"menu-items":m.menuItems,minify:l.value},null,8,["main","menu-items","minify"]),n.withDirectives((n.openBlock(),n.createBlock(ze,{class:n.normalizeClass(m.$style["menu-exit"]),clickable:"",onClick:w[2]||(w[2]=p=>g())},{default:n.withCtx(()=>[n.createVNode(be,{avatar:""},{default:n.withCtx(()=>[n.createVNode(mn,{name:"logout-icon",color:"white",size:"24px"})]),_:1}),n.createVNode(be,{class:n.normalizeClass(m.$style["menu-exit__label"])},{default:n.withCtx(()=>w[9]||(w[9]=[n.createTextVNode("Выход")])),_:1},8,["class"])]),_:1},8,["class"])),[[en]])]),_:1},8,["modelValue","class","mini","overlay","width","mini-width"]))}}),[["__cssModules",{$style:{drawer:"_drawer_1q4rd_1",logo:"_logo_1q4rd_17",logo__text:"_logo__text_1q4rd_22","tablet-logo":"_tablet-logo_1q4rd_28","tablet-logo__btn":"_tablet-logo__btn_1q4rd_31","minify-btn":"_minify-btn_1q4rd_35","menu-exit":"_menu-exit_1q4rd_46","menu-exit__label":"_menu-exit__label_1q4rd_52"}}]]),Mc=oe({name:"QToolbar",props:{inset:Boolean},setup(e,{slots:t}){const o=n.computed(()=>"q-toolbar row no-wrap items-center"+(e.inset===!0?" q-toolbar--inset":""));return()=>n.h("div",{class:o.value,role:"toolbar"},ve(t.default))}}),Lc=oe({name:"QHeader",props:{modelValue:{type:Boolean,default:!0},reveal:Boolean,revealOffset:{type:Number,default:250},bordered:Boolean,elevated:Boolean,heightHint:{type:[String,Number],default:50}},emits:["reveal","focusin"],setup(e,{slots:t,emit:o}){const{proxy:{$q:r}}=n.getCurrentInstance(),i=n.inject(Vt,ye);if(i===ye)return console.error("QHeader needs to be child of QLayout"),ye;const l=n.ref(parseInt(e.heightHint,10)),a=n.ref(!0),s=n.computed(()=>e.reveal===!0||i.view.value.indexOf("H")!==-1||r.platform.is.ios&&i.isContainer.value===!0),d=n.computed(()=>{if(e.modelValue!==!0)return 0;if(s.value===!0)return a.value===!0?l.value:0;const y=l.value-i.scroll.value.position;return y>0?y:0}),c=n.computed(()=>e.modelValue!==!0||s.value===!0&&a.value!==!0),u=n.computed(()=>e.modelValue===!0&&c.value===!0&&e.reveal===!0),f=n.computed(()=>"q-header q-layout__section--marginal "+(s.value===!0?"fixed":"absolute")+"-top"+(e.bordered===!0?" q-header--bordered":"")+(c.value===!0?" q-header--hidden":"")+(e.modelValue!==!0?" q-layout--prevent-focus":"")),v=n.computed(()=>{const y=i.rows.value.top,B={};return y[0]==="l"&&i.left.space===!0&&(B[r.lang.rtl===!0?"right":"left"]=`${i.left.size}px`),y[2]==="r"&&i.right.space===!0&&(B[r.lang.rtl===!0?"left":"right"]=`${i.right.size}px`),B});function g(y,B){i.update("header",y,B)}function m(y,B){y.value!==B&&(y.value=B)}function w({height:y}){m(l,y),g("size",y)}function p(y){u.value===!0&&m(a,!0),o("focusin",y)}n.watch(()=>e.modelValue,y=>{g("space",y),m(a,!0),i.animate()}),n.watch(d,y=>{g("offset",y)}),n.watch(()=>e.reveal,y=>{y===!1&&m(a,e.modelValue)}),n.watch(a,y=>{i.animate(),o("reveal",y)}),n.watch(i.scroll,y=>{e.reveal===!0&&m(a,y.direction==="up"||y.position<=e.revealOffset||y.position-y.inflectionPoint<100)});const x={};return i.instances.header=x,e.modelValue===!0&&g("size",l.value),g("space",e.modelValue),g("offset",d.value),n.onBeforeUnmount(()=>{i.instances.header===x&&(i.instances.header=void 0,g("size",0),g("offset",0),g("space",!1))}),()=>{const y=Oo(t.default,[]);return e.elevated===!0&&y.push(n.h("div",{class:"q-layout__shadow absolute-full overflow-hidden no-pointer-events"})),y.push(n.h(Yn,{debounce:0,onResize:w})),n.h("header",{class:f.value,style:v.value,onFocusin:p},y)}}}),Rc=G(n.defineComponent({__name:"AppLayoutHeader",props:{userData:{}},setup(e){const t=e,o=n.computed(()=>{var r,i,l,a,s,d,c;return`${(r=t.userData)==null?void 0:r.last_name} ${(l=(i=t.userData)==null?void 0:i.first_name)==null?void 0:l[0]}. ${((s=(a=t.userData)==null?void 0:a.patronymic)==null?void 0:s[0])||""} ${(c=(d=t.userData)==null?void 0:d.patronymic)!=null&&c[0]?".":""}`});return(r,i)=>(n.openBlock(),n.createBlock(Lc,{class:n.normalizeClass(r.$style.header)},{default:n.withCtx(()=>[n.createVNode(Mc,{class:n.normalizeClass(r.$style.toolbar)},{default:n.withCtx(()=>[n.createElementVNode("div",{class:n.normalizeClass(r.$style["action-buttons"])},[n.renderSlot(r.$slots,"filters-actions")],2),n.createElementVNode("div",{class:n.normalizeClass(r.$style["action-buttons"])},[n.renderSlot(r.$slots,"action-buttons"),n.createVNode(gr,{icon:"person","text-color":"black",label:o.value,rounded:"",class:n.normalizeClass(r.$style["button-person"])},null,8,["label","class"])],2)]),_:3},8,["class"])]),_:3},8,["class"]))}}),[["__cssModules",{$style:{header:"_header_yvgb5_1",toolbar:"_toolbar_yvgb5_8","header-search":"_header-search_yvgb5_13","action-buttons":"_action-buttons_yvgb5_18",button:"_button_yvgb5_27","button-person":"_button-person_yvgb5_33"}}]]);function ai(e,t){return function(){return e.apply(t,arguments)}}const{toString:Ac}=Object.prototype,{getPrototypeOf:co}=Object,hn=(e=>t=>{const o=Ac.call(t);return e[o]||(e[o]=o.slice(8,-1).toLowerCase())})(Object.create(null)),Le=e=>(e=e.toLowerCase(),t=>hn(t)===e),pn=e=>t=>typeof t===e,{isArray:mt}=Array,Rt=pn("undefined");function Oc(e){return e!==null&&!Rt(e)&&e.constructor!==null&&!Rt(e.constructor)&&Be(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const si=Le("ArrayBuffer");function Pc(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&si(e.buffer),t}const jc=pn("string"),Be=pn("function"),ui=pn("number"),gn=e=>e!==null&&typeof e=="object",Ic=e=>e===!0||e===!1,vn=e=>{if(hn(e)!=="object")return!1;const t=co(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Nc=Le("Date"),zc=Le("File"),Fc=Le("Blob"),Hc=Le("FileList"),Dc=e=>gn(e)&&Be(e.pipe),Uc=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Be(e.append)&&((t=hn(e))==="formdata"||t==="object"&&Be(e.toString)&&e.toString()==="[object FormData]"))},Wc=Le("URLSearchParams"),[Kc,Qc,Zc,Xc]=["ReadableStream","Request","Response","Headers"].map(Le),Gc=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function At(e,t,{allOwnKeys:o=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),mt(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const l=o?Object.getOwnPropertyNames(e):Object.keys(e),a=l.length;let s;for(r=0;r<a;r++)s=l[r],t.call(null,e[s],s,e)}}function ci(e,t){t=t.toLowerCase();const o=Object.keys(e);let r=o.length,i;for(;r-- >0;)if(i=o[r],t===i.toLowerCase())return i;return null}const tt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,di=e=>!Rt(e)&&e!==tt;function fo(){const{caseless:e}=di(this)&&this||{},t={},o=(r,i)=>{const l=e&&ci(t,i)||i;vn(t[l])&&vn(r)?t[l]=fo(t[l],r):vn(r)?t[l]=fo({},r):mt(r)?t[l]=r.slice():t[l]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&At(arguments[r],o);return t}const Yc=(e,t,o,{allOwnKeys:r}={})=>(At(t,(i,l)=>{o&&Be(i)?e[l]=ai(i,o):e[l]=i},{allOwnKeys:r}),e),Jc=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),ed=(e,t,o,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),o&&Object.assign(e.prototype,o)},td=(e,t,o,r)=>{let i,l,a;const s={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),l=i.length;l-- >0;)a=i[l],(!r||r(a,e,t))&&!s[a]&&(t[a]=e[a],s[a]=!0);e=o!==!1&&co(e)}while(e&&(!o||o(e,t))&&e!==Object.prototype);return t},nd=(e,t,o)=>{e=String(e),(o===void 0||o>e.length)&&(o=e.length),o-=t.length;const r=e.indexOf(t,o);return r!==-1&&r===o},od=e=>{if(!e)return null;if(mt(e))return e;let t=e.length;if(!ui(t))return null;const o=new Array(t);for(;t-- >0;)o[t]=e[t];return o},rd=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&co(Uint8Array)),id=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const l=i.value;t.call(e,l[0],l[1])}},ld=(e,t)=>{let o;const r=[];for(;(o=e.exec(t))!==null;)r.push(o);return r},ad=Le("HTMLFormElement"),sd=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(o,r,i){return r.toUpperCase()+i}),fi=(({hasOwnProperty:e})=>(t,o)=>e.call(t,o))(Object.prototype),ud=Le("RegExp"),mi=(e,t)=>{const o=Object.getOwnPropertyDescriptors(e),r={};At(o,(i,l)=>{let a;(a=t(i,l,e))!==!1&&(r[l]=a||i)}),Object.defineProperties(e,r)},cd=e=>{mi(e,(t,o)=>{if(Be(e)&&["arguments","caller","callee"].indexOf(o)!==-1)return!1;const r=e[o];if(Be(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+o+"'")})}})},dd=(e,t)=>{const o={},r=i=>{i.forEach(l=>{o[l]=!0})};return mt(e)?r(e):r(String(e).split(t)),o},fd=()=>{},md=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,mo="abcdefghijklmnopqrstuvwxyz",hi="0123456789",pi={DIGIT:hi,ALPHA:mo,ALPHA_DIGIT:mo+mo.toUpperCase()+hi},hd=(e=16,t=pi.ALPHA_DIGIT)=>{let o="";const{length:r}=t;for(;e--;)o+=t[Math.random()*r|0];return o};function pd(e){return!!(e&&Be(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const gd=e=>{const t=new Array(10),o=(r,i)=>{if(gn(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const l=mt(r)?[]:{};return At(r,(a,s)=>{const d=o(a,i+1);!Rt(d)&&(l[s]=d)}),t[i]=void 0,l}}return r};return o(e,0)},vd=Le("AsyncFunction"),wd=e=>e&&(gn(e)||Be(e))&&Be(e.then)&&Be(e.catch),gi=((e,t)=>e?setImmediate:t?((o,r)=>(tt.addEventListener("message",({source:i,data:l})=>{i===tt&&l===o&&r.length&&r.shift()()},!1),i=>{r.push(i),tt.postMessage(o,"*")}))(`axios@${Math.random()}`,[]):o=>setTimeout(o))(typeof setImmediate=="function",Be(tt.postMessage)),kd=typeof queueMicrotask<"u"?queueMicrotask.bind(tt):typeof process<"u"&&process.nextTick||gi,C={isArray:mt,isArrayBuffer:si,isBuffer:Oc,isFormData:Uc,isArrayBufferView:Pc,isString:jc,isNumber:ui,isBoolean:Ic,isObject:gn,isPlainObject:vn,isReadableStream:Kc,isRequest:Qc,isResponse:Zc,isHeaders:Xc,isUndefined:Rt,isDate:Nc,isFile:zc,isBlob:Fc,isRegExp:ud,isFunction:Be,isStream:Dc,isURLSearchParams:Wc,isTypedArray:rd,isFileList:Hc,forEach:At,merge:fo,extend:Yc,trim:Gc,stripBOM:Jc,inherits:ed,toFlatObject:td,kindOf:hn,kindOfTest:Le,endsWith:nd,toArray:od,forEachEntry:id,matchAll:ld,isHTMLForm:ad,hasOwnProperty:fi,hasOwnProp:fi,reduceDescriptors:mi,freezeMethods:cd,toObjectSet:dd,toCamelCase:sd,noop:fd,toFiniteNumber:md,findKey:ci,global:tt,isContextDefined:di,ALPHABET:pi,generateString:hd,isSpecCompliantForm:pd,toJSONObject:gd,isAsyncFn:vd,isThenable:wd,setImmediate:gi,asap:kd};function Y(e,t,o,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),o&&(this.config=o),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}C.inherits(Y,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:C.toJSONObject(this.config),code:this.code,status:this.status}}});const vi=Y.prototype,wi={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{wi[e]={value:e}}),Object.defineProperties(Y,wi),Object.defineProperty(vi,"isAxiosError",{value:!0}),Y.from=(e,t,o,r,i,l)=>{const a=Object.create(vi);return C.toFlatObject(e,a,function(d){return d!==Error.prototype},s=>s!=="isAxiosError"),Y.call(a,e.message,t,o,r,i),a.cause=e,a.name=e.name,l&&Object.assign(a,l),a};const yd=null;function ho(e){return C.isPlainObject(e)||C.isArray(e)}function ki(e){return C.endsWith(e,"[]")?e.slice(0,-2):e}function yi(e,t,o){return e?e.concat(t).map(function(i,l){return i=ki(i),!o&&l?"["+i+"]":i}).join(o?".":""):t}function bd(e){return C.isArray(e)&&!e.some(ho)}const _d=C.toFlatObject(C,{},null,function(t){return/^is[A-Z]/.test(t)});function wn(e,t,o){if(!C.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,o=C.toFlatObject(o,{metaTokens:!0,dots:!1,indexes:!1},!1,function(w,p){return!C.isUndefined(p[w])});const r=o.metaTokens,i=o.visitor||u,l=o.dots,a=o.indexes,d=(o.Blob||typeof Blob<"u"&&Blob)&&C.isSpecCompliantForm(t);if(!C.isFunction(i))throw new TypeError("visitor must be a function");function c(m){if(m===null)return"";if(C.isDate(m))return m.toISOString();if(!d&&C.isBlob(m))throw new Y("Blob is not supported. Use a Buffer instead.");return C.isArrayBuffer(m)||C.isTypedArray(m)?d&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function u(m,w,p){let x=m;if(m&&!p&&typeof m=="object"){if(C.endsWith(w,"{}"))w=r?w:w.slice(0,-2),m=JSON.stringify(m);else if(C.isArray(m)&&bd(m)||(C.isFileList(m)||C.endsWith(w,"[]"))&&(x=C.toArray(m)))return w=ki(w),x.forEach(function(B,T){!(C.isUndefined(B)||B===null)&&t.append(a===!0?yi([w],T,l):a===null?w:w+"[]",c(B))}),!1}return ho(m)?!0:(t.append(yi(p,w,l),c(m)),!1)}const f=[],v=Object.assign(_d,{defaultVisitor:u,convertValue:c,isVisitable:ho});function g(m,w){if(!C.isUndefined(m)){if(f.indexOf(m)!==-1)throw Error("Circular reference detected in "+w.join("."));f.push(m),C.forEach(m,function(x,y){(!(C.isUndefined(x)||x===null)&&i.call(t,x,C.isString(y)?y.trim():y,w,v))===!0&&g(x,w?w.concat(y):[y])}),f.pop()}}if(!C.isObject(e))throw new TypeError("data must be an object");return g(e),t}function bi(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function po(e,t){this._pairs=[],e&&wn(e,this,t)}const _i=po.prototype;_i.append=function(t,o){this._pairs.push([t,o])},_i.toString=function(t){const o=t?function(r){return t.call(this,r,bi)}:bi;return this._pairs.map(function(i){return o(i[0])+"="+o(i[1])},"").join("&")};function Cd(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ci(e,t,o){if(!t)return e;const r=o&&o.encode||Cd,i=o&&o.serialize;let l;if(i?l=i(t,o):l=C.isURLSearchParams(t)?t.toString():new po(t,o).toString(r),l){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+l}return e}class Si{constructor(){this.handlers=[]}use(t,o,r){return this.handlers.push({fulfilled:t,rejected:o,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){C.forEach(this.handlers,function(r){r!==null&&t(r)})}}const xi={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Sd={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:po,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},go=typeof window<"u"&&typeof document<"u",vo=typeof navigator=="object"&&navigator||void 0,xd=go&&(!vo||["ReactNative","NativeScript","NS"].indexOf(vo.product)<0),Bd=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Ed=go&&window.location.href||"http://localhost",_e={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:go,hasStandardBrowserEnv:xd,hasStandardBrowserWebWorkerEnv:Bd,navigator:vo,origin:Ed},Symbol.toStringTag,{value:"Module"})),...Sd};function qd(e,t){return wn(e,new _e.classes.URLSearchParams,Object.assign({visitor:function(o,r,i,l){return _e.isNode&&C.isBuffer(o)?(this.append(r,o.toString("base64")),!1):l.defaultVisitor.apply(this,arguments)}},t))}function Vd(e){return C.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Td(e){const t={},o=Object.keys(e);let r;const i=o.length;let l;for(r=0;r<i;r++)l=o[r],t[l]=e[l];return t}function Bi(e){function t(o,r,i,l){let a=o[l++];if(a==="__proto__")return!0;const s=Number.isFinite(+a),d=l>=o.length;return a=!a&&C.isArray(i)?i.length:a,d?(C.hasOwnProp(i,a)?i[a]=[i[a],r]:i[a]=r,!s):((!i[a]||!C.isObject(i[a]))&&(i[a]=[]),t(o,r,i[a],l)&&C.isArray(i[a])&&(i[a]=Td(i[a])),!s)}if(C.isFormData(e)&&C.isFunction(e.entries)){const o={};return C.forEachEntry(e,(r,i)=>{t(Vd(r),i,o,0)}),o}return null}function $d(e,t,o){if(C.isString(e))try{return(t||JSON.parse)(e),C.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(0,JSON.stringify)(e)}const Ot={transitional:xi,adapter:["xhr","http","fetch"],transformRequest:[function(t,o){const r=o.getContentType()||"",i=r.indexOf("application/json")>-1,l=C.isObject(t);if(l&&C.isHTMLForm(t)&&(t=new FormData(t)),C.isFormData(t))return i?JSON.stringify(Bi(t)):t;if(C.isArrayBuffer(t)||C.isBuffer(t)||C.isStream(t)||C.isFile(t)||C.isBlob(t)||C.isReadableStream(t))return t;if(C.isArrayBufferView(t))return t.buffer;if(C.isURLSearchParams(t))return o.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(l){if(r.indexOf("application/x-www-form-urlencoded")>-1)return qd(t,this.formSerializer).toString();if((s=C.isFileList(t))||r.indexOf("multipart/form-data")>-1){const d=this.env&&this.env.FormData;return wn(s?{"files[]":t}:t,d&&new d,this.formSerializer)}}return l||i?(o.setContentType("application/json",!1),$d(t)):t}],transformResponse:[function(t){const o=this.transitional||Ot.transitional,r=o&&o.forcedJSONParsing,i=this.responseType==="json";if(C.isResponse(t)||C.isReadableStream(t))return t;if(t&&C.isString(t)&&(r&&!this.responseType||i)){const a=!(o&&o.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?Y.from(s,Y.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:_e.classes.FormData,Blob:_e.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};C.forEach(["delete","get","head","post","put","patch"],e=>{Ot.headers[e]={}});const Md=C.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"]),Ld=e=>{const t={};let o,r,i;return e&&e.split(`
7
7
  `).forEach(function(a){i=a.indexOf(":"),o=a.substring(0,i).trim().toLowerCase(),r=a.substring(i+1).trim(),!(!o||t[o]&&Md[o])&&(o==="set-cookie"?t[o]?t[o].push(r):t[o]=[r]:t[o]=t[o]?t[o]+", "+r:r)}),t},Ei=Symbol("internals");function Pt(e){return e&&String(e).trim().toLowerCase()}function kn(e){return e===!1||e==null?e:C.isArray(e)?e.map(kn):String(e)}function Rd(e){const t=Object.create(null),o=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=o.exec(e);)t[r[1]]=r[2];return t}const Ad=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function wo(e,t,o,r,i){if(C.isFunction(r))return r.call(this,t,o);if(i&&(t=o),!!C.isString(t)){if(C.isString(r))return t.indexOf(r)!==-1;if(C.isRegExp(r))return r.test(t)}}function Od(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,o,r)=>o.toUpperCase()+r)}function Pd(e,t){const o=C.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+o,{value:function(i,l,a){return this[r].call(this,t,i,l,a)},configurable:!0})})}class Ce{constructor(t){t&&this.set(t)}set(t,o,r){const i=this;function l(s,d,c){const u=Pt(d);if(!u)throw new Error("header name must be a non-empty string");const f=C.findKey(i,u);(!f||i[f]===void 0||c===!0||c===void 0&&i[f]!==!1)&&(i[f||d]=kn(s))}const a=(s,d)=>C.forEach(s,(c,u)=>l(c,u,d));if(C.isPlainObject(t)||t instanceof this.constructor)a(t,o);else if(C.isString(t)&&(t=t.trim())&&!Ad(t))a(Ld(t),o);else if(C.isHeaders(t))for(const[s,d]of t.entries())l(d,s,r);else t!=null&&l(o,t,r);return this}get(t,o){if(t=Pt(t),t){const r=C.findKey(this,t);if(r){const i=this[r];if(!o)return i;if(o===!0)return Rd(i);if(C.isFunction(o))return o.call(this,i,r);if(C.isRegExp(o))return o.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,o){if(t=Pt(t),t){const r=C.findKey(this,t);return!!(r&&this[r]!==void 0&&(!o||wo(this,this[r],r,o)))}return!1}delete(t,o){const r=this;let i=!1;function l(a){if(a=Pt(a),a){const s=C.findKey(r,a);s&&(!o||wo(r,r[s],s,o))&&(delete r[s],i=!0)}}return C.isArray(t)?t.forEach(l):l(t),i}clear(t){const o=Object.keys(this);let r=o.length,i=!1;for(;r--;){const l=o[r];(!t||wo(this,this[l],l,t,!0))&&(delete this[l],i=!0)}return i}normalize(t){const o=this,r={};return C.forEach(this,(i,l)=>{const a=C.findKey(r,l);if(a){o[a]=kn(i),delete o[l];return}const s=t?Od(l):String(l).trim();s!==l&&delete o[l],o[s]=kn(i),r[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const o=Object.create(null);return C.forEach(this,(r,i)=>{r!=null&&r!==!1&&(o[i]=t&&C.isArray(r)?r.join(", "):r)}),o}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,o])=>t+": "+o).join(`
8
8
  `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...o){const r=new this(t);return o.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[Ei]=this[Ei]={accessors:{}}).accessors,i=this.prototype;function l(a){const s=Pt(a);r[s]||(Pd(i,a),r[s]=!0)}return C.isArray(t)?t.forEach(l):l(t),this}}Ce.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),C.reduceDescriptors(Ce.prototype,({value:e},t)=>{let o=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[o]=r}}}),C.freezeMethods(Ce);function ko(e,t){const o=this||Ot,r=t||o,i=Ce.from(r.headers);let l=r.data;return C.forEach(e,function(s){l=s.call(o,l,i.normalize(),t?t.status:void 0)}),i.normalize(),l}function qi(e){return!!(e&&e.__CANCEL__)}function ht(e,t,o){Y.call(this,e??"canceled",Y.ERR_CANCELED,t,o),this.name="CanceledError"}C.inherits(ht,Y,{__CANCEL__:!0});function Vi(e,t,o){const r=o.config.validateStatus;!o.status||!r||r(o.status)?e(o):t(new Y("Request failed with status code "+o.status,[Y.ERR_BAD_REQUEST,Y.ERR_BAD_RESPONSE][Math.floor(o.status/100)-4],o.config,o.request,o))}function jd(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Id(e,t){e=e||10;const o=new Array(e),r=new Array(e);let i=0,l=0,a;return t=t!==void 0?t:1e3,function(d){const c=Date.now(),u=r[l];a||(a=c),o[i]=d,r[i]=c;let f=l,v=0;for(;f!==i;)v+=o[f++],f=f%e;if(i=(i+1)%e,i===l&&(l=(l+1)%e),c-a<t)return;const g=u&&c-u;return g?Math.round(v*1e3/g):void 0}}function Nd(e,t){let o=0,r=1e3/t,i,l;const a=(c,u=Date.now())=>{o=u,i=null,l&&(clearTimeout(l),l=null),e.apply(null,c)};return[(...c)=>{const u=Date.now(),f=u-o;f>=r?a(c,u):(i=c,l||(l=setTimeout(()=>{l=null,a(i)},r-f)))},()=>i&&a(i)]}const yn=(e,t,o=3)=>{let r=0;const i=Id(50,250);return Nd(l=>{const a=l.loaded,s=l.lengthComputable?l.total:void 0,d=a-r,c=i(d),u=a<=s;r=a;const f={loaded:a,total:s,progress:s?a/s:void 0,bytes:d,rate:c||void 0,estimated:c&&s&&u?(s-a)/c:void 0,event:l,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(f)},o)},Ti=(e,t)=>{const o=e!=null;return[r=>t[0]({lengthComputable:o,total:e,loaded:r}),t[1]]},$i=e=>(...t)=>C.asap(()=>e(...t)),zd=_e.hasStandardBrowserEnv?function(){const t=_e.navigator&&/(msie|trident)/i.test(_e.navigator.userAgent),o=document.createElement("a");let r;function i(l){let a=l;return t&&(o.setAttribute("href",a),a=o.href),o.setAttribute("href",a),{href:o.href,protocol:o.protocol?o.protocol.replace(/:$/,""):"",host:o.host,search:o.search?o.search.replace(/^\?/,""):"",hash:o.hash?o.hash.replace(/^#/,""):"",hostname:o.hostname,port:o.port,pathname:o.pathname.charAt(0)==="/"?o.pathname:"/"+o.pathname}}return r=i(window.location.href),function(a){const s=C.isString(a)?i(a):a;return s.protocol===r.protocol&&s.host===r.host}}():function(){return function(){return!0}}(),Fd=_e.hasStandardBrowserEnv?{write(e,t,o,r,i,l){const a=[e+"="+encodeURIComponent(t)];C.isNumber(o)&&a.push("expires="+new Date(o).toGMTString()),C.isString(r)&&a.push("path="+r),C.isString(i)&&a.push("domain="+i),l===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Hd(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Dd(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Mi(e,t){return e&&!Hd(t)?Dd(e,t):t}const Li=e=>e instanceof Ce?{...e}:e;function nt(e,t){t=t||{};const o={};function r(c,u,f){return C.isPlainObject(c)&&C.isPlainObject(u)?C.merge.call({caseless:f},c,u):C.isPlainObject(u)?C.merge({},u):C.isArray(u)?u.slice():u}function i(c,u,f){if(C.isUndefined(u)){if(!C.isUndefined(c))return r(void 0,c,f)}else return r(c,u,f)}function l(c,u){if(!C.isUndefined(u))return r(void 0,u)}function a(c,u){if(C.isUndefined(u)){if(!C.isUndefined(c))return r(void 0,c)}else return r(void 0,u)}function s(c,u,f){if(f in t)return r(c,u);if(f in e)return r(void 0,c)}const d={url:l,method:l,data:l,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(c,u)=>i(Li(c),Li(u),!0)};return C.forEach(Object.keys(Object.assign({},e,t)),function(u){const f=d[u]||i,v=f(e[u],t[u],u);C.isUndefined(v)&&f!==s||(o[u]=v)}),o}const Ri=e=>{const t=nt({},e);let{data:o,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:l,headers:a,auth:s}=t;t.headers=a=Ce.from(a),t.url=Ci(Mi(t.baseURL,t.url),e.params,e.paramsSerializer),s&&a.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let d;if(C.isFormData(o)){if(_e.hasStandardBrowserEnv||_e.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((d=a.getContentType())!==!1){const[c,...u]=d?d.split(";").map(f=>f.trim()).filter(Boolean):[];a.setContentType([c||"multipart/form-data",...u].join("; "))}}if(_e.hasStandardBrowserEnv&&(r&&C.isFunction(r)&&(r=r(t)),r||r!==!1&&zd(t.url))){const c=i&&l&&Fd.read(l);c&&a.set(i,c)}return t},Ud=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(o,r){const i=Ri(e);let l=i.data;const a=Ce.from(i.headers).normalize();let{responseType:s,onUploadProgress:d,onDownloadProgress:c}=i,u,f,v,g,m;function w(){g&&g(),m&&m(),i.cancelToken&&i.cancelToken.unsubscribe(u),i.signal&&i.signal.removeEventListener("abort",u)}let p=new XMLHttpRequest;p.open(i.method.toUpperCase(),i.url,!0),p.timeout=i.timeout;function x(){if(!p)return;const B=Ce.from("getAllResponseHeaders"in p&&p.getAllResponseHeaders()),q={data:!s||s==="text"||s==="json"?p.responseText:p.response,status:p.status,statusText:p.statusText,headers:B,config:e,request:p};Vi(function(M){o(M),w()},function(M){r(M),w()},q),p=null}"onloadend"in p?p.onloadend=x:p.onreadystatechange=function(){!p||p.readyState!==4||p.status===0&&!(p.responseURL&&p.responseURL.indexOf("file:")===0)||setTimeout(x)},p.onabort=function(){p&&(r(new Y("Request aborted",Y.ECONNABORTED,e,p)),p=null)},p.onerror=function(){r(new Y("Network Error",Y.ERR_NETWORK,e,p)),p=null},p.ontimeout=function(){let T=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const q=i.transitional||xi;i.timeoutErrorMessage&&(T=i.timeoutErrorMessage),r(new Y(T,q.clarifyTimeoutError?Y.ETIMEDOUT:Y.ECONNABORTED,e,p)),p=null},l===void 0&&a.setContentType(null),"setRequestHeader"in p&&C.forEach(a.toJSON(),function(T,q){p.setRequestHeader(q,T)}),C.isUndefined(i.withCredentials)||(p.withCredentials=!!i.withCredentials),s&&s!=="json"&&(p.responseType=i.responseType),c&&([v,m]=yn(c,!0),p.addEventListener("progress",v)),d&&p.upload&&([f,g]=yn(d),p.upload.addEventListener("progress",f),p.upload.addEventListener("loadend",g)),(i.cancelToken||i.signal)&&(u=B=>{p&&(r(!B||B.type?new ht(null,e,p):B),p.abort(),p=null)},i.cancelToken&&i.cancelToken.subscribe(u),i.signal&&(i.signal.aborted?u():i.signal.addEventListener("abort",u)));const y=jd(i.url);if(y&&_e.protocols.indexOf(y)===-1){r(new Y("Unsupported protocol "+y+":",Y.ERR_BAD_REQUEST,e));return}p.send(l||null)})},Wd=(e,t)=>{const{length:o}=e=e?e.filter(Boolean):[];if(t||o){let r=new AbortController,i;const l=function(c){if(!i){i=!0,s();const u=c instanceof Error?c:this.reason;r.abort(u instanceof Y?u:new ht(u instanceof Error?u.message:u))}};let a=t&&setTimeout(()=>{a=null,l(new Y(`timeout ${t} of ms exceeded`,Y.ETIMEDOUT))},t);const s=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(l):c.removeEventListener("abort",l)}),e=null)};e.forEach(c=>c.addEventListener("abort",l));const{signal:d}=r;return d.unsubscribe=()=>C.asap(s),d}},Kd=function*(e,t){let o=e.byteLength;if(o<t){yield e;return}let r=0,i;for(;r<o;)i=r+t,yield e.slice(r,i),r=i},Qd=async function*(e,t){for await(const o of Zd(e))yield*Kd(o,t)},Zd=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:o,value:r}=await t.read();if(o)break;yield r}}finally{await t.cancel()}},Ai=(e,t,o,r)=>{const i=Qd(e,t);let l=0,a,s=d=>{a||(a=!0,r&&r(d))};return new ReadableStream({async pull(d){try{const{done:c,value:u}=await i.next();if(c){s(),d.close();return}let f=u.byteLength;if(o){let v=l+=f;o(v)}d.enqueue(new Uint8Array(u))}catch(c){throw s(c),c}},cancel(d){return s(d),i.return()}},{highWaterMark:2})},bn=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Oi=bn&&typeof ReadableStream=="function",Xd=bn&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Pi=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Gd=Oi&&Pi(()=>{let e=!1;const t=new Request(_e.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),ji=64*1024,yo=Oi&&Pi(()=>C.isReadableStream(new Response("").body)),_n={stream:yo&&(e=>e.body)};bn&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!_n[t]&&(_n[t]=C.isFunction(e[t])?o=>o[t]():(o,r)=>{throw new Y(`Response type '${t}' is not supported`,Y.ERR_NOT_SUPPORT,r)})})})(new Response);const Yd=async e=>{if(e==null)return 0;if(C.isBlob(e))return e.size;if(C.isSpecCompliantForm(e))return(await new Request(_e.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(C.isArrayBufferView(e)||C.isArrayBuffer(e))return e.byteLength;if(C.isURLSearchParams(e)&&(e=e+""),C.isString(e))return(await Xd(e)).byteLength},Jd=async(e,t)=>{const o=C.toFiniteNumber(e.getContentLength());return o??Yd(t)},bo={http:yd,xhr:Ud,fetch:bn&&(async e=>{let{url:t,method:o,data:r,signal:i,cancelToken:l,timeout:a,onDownloadProgress:s,onUploadProgress:d,responseType:c,headers:u,withCredentials:f="same-origin",fetchOptions:v}=Ri(e);c=c?(c+"").toLowerCase():"text";let g=Wd([i,l&&l.toAbortSignal()],a),m;const w=g&&g.unsubscribe&&(()=>{g.unsubscribe()});let p;try{if(d&&Gd&&o!=="get"&&o!=="head"&&(p=await Jd(u,r))!==0){let q=new Request(t,{method:"POST",body:r,duplex:"half"}),$;if(C.isFormData(r)&&($=q.headers.get("content-type"))&&u.setContentType($),q.body){const[M,z]=Ti(p,yn($i(d)));r=Ai(q.body,ji,M,z)}}C.isString(f)||(f=f?"include":"omit");const x="credentials"in Request.prototype;m=new Request(t,{...v,signal:g,method:o.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",credentials:x?f:void 0});let y=await fetch(m);const B=yo&&(c==="stream"||c==="response");if(yo&&(s||B&&w)){const q={};["status","statusText","headers"].forEach(S=>{q[S]=y[S]});const $=C.toFiniteNumber(y.headers.get("content-length")),[M,z]=s&&Ti($,yn($i(s),!0))||[];y=new Response(Ai(y.body,ji,M,()=>{z&&z(),w&&w()}),q)}c=c||"text";let T=await _n[C.findKey(_n,c)||"text"](y,e);return!B&&w&&w(),await new Promise((q,$)=>{Vi(q,$,{data:T,headers:Ce.from(y.headers),status:y.status,statusText:y.statusText,config:e,request:m})})}catch(x){throw w&&w(),x&&x.name==="TypeError"&&/fetch/i.test(x.message)?Object.assign(new Y("Network Error",Y.ERR_NETWORK,e,m),{cause:x.cause||x}):Y.from(x,x&&x.code,e,m)}})};C.forEach(bo,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Ii=e=>`- ${e}`,ef=e=>C.isFunction(e)||e===null||e===!1,Ni={getAdapter:e=>{e=C.isArray(e)?e:[e];const{length:t}=e;let o,r;const i={};for(let l=0;l<t;l++){o=e[l];let a;if(r=o,!ef(o)&&(r=bo[(a=String(o)).toLowerCase()],r===void 0))throw new Y(`Unknown adapter '${a}'`);if(r)break;i[a||"#"+l]=r}if(!r){const l=Object.entries(i).map(([s,d])=>`adapter ${s} `+(d===!1?"is not supported by the environment":"is not available in the build"));let a=t?l.length>1?`since :
9
9
  `+l.map(Ii).join(`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shared-ritm",
3
- "version": "1.0.75",
3
+ "version": "1.0.76",
4
4
  "private": false,
5
5
  "files": [
6
6
  "dist",
@@ -25,7 +25,7 @@ const router = useRouter()
25
25
 
26
26
  const goToRoute = (to: string) => {
27
27
  if (!props.main) window.location.href = to
28
- router.push(to)
28
+ router.push({ path: to })
29
29
  }
30
30
 
31
31
  const props = defineProps<Props>()