Files
Simon bea288e414 feat: 2026-07-11 全量更新 - 代办集成+会议室预定+知识迭代修复+UI统一+Bug修复
== 已部署上线 (9项) ==
- 代办事项真实数据源集成 (企微审批API 8bug修复链)
- H5/坐席端 Logo样式统一+绿色背景
- 视频引导页修复 (localStorage key v2)
- 坐席端 v9 Vue版本修复 (ElMessage._context)
- 截图按钮 v10 修复 (getDisplayMedia user gesture)
- 扫码样式恢复+H5扫码登录跳转修复
- H5截图快捷键提示

== 代码完成待部署 (3项) ==
- 知识迭代3Bug修复 (#8 POST端点/#7 MERGE幂等/#6 过期检查)
- 会议室预定-小鱼易联终端 (40文件, 40/40测试通过)
- IT资产升级审批推送 (asset_service.py)

== 需求文档 (2项) ==
- 坐席端AI辅助消息框-PRD (4项新功能确认)
- 坐席端布局优化建议 v2.0 (7天计划)

== 新增文档 ==
- 日报-2026-07-11.md
- 知识迭代Bug修复报告-20260711.md
- 会议室预定-部署指南.md
- CHANGELOG.md 更新

== 测试 ==
- test_todo_integration.py: 40/40
- test_meetingroom.py: 40/40
- test_bugfix_ki_suggestions.py: 21/21
2026-07-11 23:13:10 +08:00

21 lines
97 KiB
Plaintext

lue)==null||P.focus()})),!O&&o&&(o=!1,t("close"))}),Ko({popupRef:l}),Bm(l,()=>e.show&&e.lockScroll),Wo("popstate",()=>{e.closeOnPopstate&&(f(),r=!1)}),mt(()=>{e.show&&u()}),Mo(()=>{r&&(t("update:show",!0),r=!1)}),Us(()=>{e.show&&e.teleport&&(f(),r=!0)}),gn(ku,()=>e.show),()=>e.teleport?A(Ei,{to:e.teleport},{default:()=>[h(),g()]}):A(Re,null,[h(),g()])}});const Ws=ft(Um);let Hm=0;function Nu(){const e=Vt(),{name:t="unknown"}=(e==null?void 0:e.type)||{};return`${t}-${++Hm}`}function qm(){const e=K([]),t=[];return Nc(()=>{e.value=[]}),[e,s=>(t[s]||(t[s]=o=>{e.value[s]=o}),t[s])]}const[zm,$n]=ut("cell"),Lu={tag:Oe("div"),icon:String,size:String,title:De,value:De,label:De,center:Boolean,isLink:Boolean,border:yt,iconPrefix:String,valueClass:sn,labelClass:sn,titleClass:sn,titleStyle:null,arrowDirection:String,required:{type:[Boolean,String],default:null},clickable:{type:Boolean,default:null}},Wm=Ke({},Lu,Oi);var Km=Se({name:zm,props:Wm,setup(e,{slots:t}){const n=Pi(),s=()=>{if(t.label||Ge(e.label))return A("div",{class:[$n("label"),e.labelClass]},[t.label?t.label():e.label])},o=()=>{var a;if(t.title||Ge(e.title)){const c=(a=t.title)==null?void 0:a.call(t);return Array.isArray(c)&&c.length===0?void 0:A("div",{class:[$n("title"),e.titleClass],style:e.titleStyle},[c||A("span",null,[e.title]),s()])}},r=()=>{const a=t.value||t.default;if(a||Ge(e.value))return A("div",{class:[$n("value"),e.valueClass]},[a?a():A("span",null,[e.value])])},i=()=>{if(t.icon)return t.icon();if(e.icon)return A(Rt,{name:e.icon,class:$n("left-icon"),classPrefix:e.iconPrefix},null)},l=()=>{if(t["right-icon"])return t["right-icon"]();if(e.isLink){const a=e.arrowDirection&&e.arrowDirection!=="right"?`arrow-${e.arrowDirection}`:"arrow";return A(Rt,{name:a,class:$n("right-icon")},null)}};return()=>{var a;const{tag:c,size:u,center:f,border:d,isLink:h,required:x}=e,_=(a=e.clickable)!=null?a:h,m={center:f,required:!!x,clickable:_,borderless:!d};return u&&(m[u]=!!u),A(c,{class:$n(m),role:_?"button":void 0,tabindex:_?0:void 0,onClick:n},{default:()=>{var v;return[i(),o(),r(),l(),(v=t.extra)==null?void 0:v.call(t)]}})}}});const Gm=ft(Km);function Mu(e){return Array.isArray(e)?!e.length:e===0?!1:!e}function Jm(e,t){if(Mu(e)){if(t.required)return!1;if(t.validateEmpty===!1)return!0}return!(t.pattern&&!t.pattern.test(String(e)))}function Xm(e,t){return new Promise(n=>{const s=t.validator(e,t);if(mu(s)){s.then(n);return}n(s)})}function Gl(e,t){const{message:n}=t;return $s(n)?n(e,t):n||""}function Ym({target:e}){e.composing=!0}function Jl({target:e}){e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}function Qm(e,t){const n=Su();e.style.height="auto";let s=e.scrollHeight;if(qs(t)){const{maxHeight:o,minHeight:r}=t;o!==void 0&&(s=Math.min(s,o)),r!==void 0&&(s=Math.max(s,r))}s&&(e.style.height=`${s}px`,xu(n))}function Zm(e,t){return e==="number"&&(e="text",t??(t="decimal")),e==="digit"&&(e="tel",t??(t="numeric")),{type:e,inputmode:t}}function cs(e){return[...e].length}function _r(e,t){return[...e].slice(0,t).join("")}const[eg,xt]=ut("field"),tg={id:String,name:String,leftIcon:String,rightIcon:String,autofocus:Boolean,clearable:Boolean,maxlength:De,max:Number,min:Number,formatter:Function,clearIcon:Oe("clear"),modelValue:yu(""),inputAlign:String,placeholder:String,autocomplete:String,autocapitalize:String,autocorrect:String,errorMessage:String,enterkeyhint:String,clearTrigger:Oe("focus"),formatTrigger:Oe("onChange"),spellcheck:{type:Boolean,default:null},error:{type:Boolean,default:null},disabled:{type:Boolean,default:null},readonly:{type:Boolean,default:null},inputmode:String},ng=Ke({},Lu,tg,{rows:De,type:Oe("text"),rules:Array,autosize:[Boolean,Object],labelWidth:De,labelClass:sn,labelAlign:String,showWordLimit:Boolean,errorMessageAlign:String,colon:{type:Boolean,default:null}});var sg=Se({name:eg,props:ng,emits:["blur","focus","clear","keypress","clickInput","endValidate","startValidate","clickLeftIcon","clickRightIcon","update:modelValue"],setup(e,{emit:t,slots:n}){const s=Nu(),o=bt({status:"unvalidated",focused:!1,validateMessage:""}),r=K(),i=K(),l=K(),{parent:a}=wu(Yh),c=()=>{var E;return String((E=e.modelValue)!=null?E:"")},u=E=>{if(Ge(e[E]))return e[E];if(a&&Ge(a.props[E]))return a.props[E]},f=oe(()=>{const E=u("readonly");if(e.clearable&&!E){const $=c()!=="",V=e.clearTrigger==="always"||e.clearTrigger==="focus"&&o.focused;return $&&V}return!1}),d=oe(()=>l.value&&n.input?l.value():e.modelValue),h=oe(()=>{var E;const $=u("required");return $==="auto"?(E=e.rules)==null?void 0:E.some(V=>V.required):$}),x=E=>E.reduce(($,V)=>$.then(()=>{if(o.status==="failed")return;let{value:Q}=d;if(V.formatter&&(Q=V.formatter(Q,V)),!Jm(Q,V)){o.status="failed",o.validateMessage=Gl(Q,V);return}if(V.validator)return Mu(Q)&&V.validateEmpty===!1?void 0:Xm(Q,V).then(le=>{le&&typeof le=="string"?(o.status="failed",o.validateMessage=le):le===!1&&(o.status="failed",o.validateMessage=Gl(Q,V))})}),Promise.resolve()),_=()=>{o.status="unvalidated",o.validateMessage=""},m=()=>t("endValidate",{status:o.status,message:o.validateMessage}),v=(E=e.rules)=>new Promise($=>{_(),E?(t("startValidate"),x(E).then(()=>{o.status==="failed"?($({name:e.name,message:o.validateMessage}),m()):(o.status="passed",$(),m())})):$()}),S=E=>{if(a&&e.rules){const{validateTrigger:$}=a.props,V=Fl($).includes(E),Q=e.rules.filter(le=>le.trigger?Fl(le.trigger).includes(E):V);Q.length&&v(Q)}},T=E=>{var $;const{maxlength:V}=e;if(Ge(V)&&cs(E)>+V){const Q=c();if(Q&&cs(Q)===+V)return Q;let le=($=r.value)==null?void 0:$.selectionEnd;if(o.focused&&le){const y=[...E],w=y.length-+V;return le=cs(E.slice(0,le)),y.splice(le-w,w),y.join("")}return _r(E,+V)}return E},C=(E,$="onChange")=>{var V,Q;const le=E;E=T(E);const y=le.length-E.length;if(e.type==="number"||e.type==="digit"){const R=e.type==="number";if(E=Mh(E,R,R),$==="onBlur"&&E!==""&&(e.min!==void 0||e.max!==void 0)){const N=Lh(+E,(V=e.min)!=null?V:-1/0,(Q=e.max)!=null?Q:1/0);+E!==N&&(E=N.toString())}}let w=0;if(e.formatter&&$===e.formatTrigger){const{formatter:R,maxlength:N}=e;if(E=R(E),Ge(N)&&cs(E)>+N&&(E=_r(E,+N)),r.value&&o.focused){const{selectionEnd:U}=r.value,L=_r(le,U);w=R(L).length-L.length}}if(r.value&&r.value.value!==E)if(o.focused){let{selectionStart:R,selectionEnd:N}=r.value;if(r.value.value=E,Ge(R)&&Ge(N)){const U=E.length;y?(R-=y,N-=y):w&&(R+=w,N+=w),r.value.setSelectionRange(Math.min(R,U),Math.min(N,U))}}else r.value.value=E;E!==e.modelValue&&t("update:modelValue",E)},g=E=>{E.target.composing||C(E.target.value)},O=()=>{var E;return(E=r.value)==null?void 0:E.blur()},P=()=>{var E;return(E=r.value)==null?void 0:E.focus()},z=()=>{const E=r.value;e.type==="textarea"&&e.autosize&&E&&Qm(E,e.autosize)},D=E=>{o.focused=!0,t("focus",E),_t(z),u("readonly")&&O()},J=E=>{o.focused=!1,C(c(),"onBlur"),t("blur",E),!u("readonly")&&(S("onBlur"),_t(z),Ph())},se=E=>t("clickInput",E),H=E=>t("clickLeftIcon",E),j=E=>t("clickRightIcon",E),W=E=>{On(E),t("update:modelValue",""),t("clear",E)},ee=oe(()=>{if(typeof e.error=="boolean")return e.error;if(a&&a.props.showError&&o.status==="failed")return!0}),G=oe(()=>{const E=u("labelWidth"),$=u("labelAlign");if(E&&$!=="top")return{width:lt(E)}}),X=E=>{E.keyCode===13&&(!(a&&a.props.submitOnEnter)&&e.type!=="textarea"&&On(E),e.type==="search"&&O()),t("keypress",E)},ae=()=>e.id||`${s}-input`,xe=()=>o.status,we=()=>{const E=xt("control",[u("inputAlign"),{error:ee.value,custom:!!n.input,"min-height":e.type==="textarea"&&!e.autosize}]);if(n.input)return A("div",{class:E,onClick:se},[n.input()]);const $={id:ae(),ref:r,name:e.name,rows:e.rows!==void 0?+e.rows:void 0,class:E,disabled:u("disabled"),readonly:u("readonly"),autofocus:e.autofocus,placeholder:e.placeholder,autocomplete:e.autocomplete,autocapitalize:e.autocapitalize,autocorrect:e.autocorrect,enterkeyhint:e.enterkeyhint,spellcheck:e.spellcheck,"aria-labelledby":e.label?`${s}-label`:void 0,"data-allow-mismatch":"attribute",onBlur:J,onFocus:D,onInput:g,onClick:se,onChange:Jl,onKeypress:X,onCompositionend:Jl,onCompositionstart:Ym};return e.type==="textarea"?A("textarea",Lt($,{inputmode:e.inputmode}),null):A("input",Lt(Zm(e.type,e.inputmode),$),null)},be=()=>{const E=n["left-icon"];if(e.leftIcon||E)return A("div",{class:xt("left-icon"),onClick:H},[E?E():A(Rt,{name:e.leftIcon,classPrefix:e.iconPrefix},null)])},Be=()=>{const E=n["right-icon"];if(e.rightIcon||E)return A("div",{class:xt("right-icon"),onClick:j},[E?E():A(Rt,{name:e.rightIcon,classPrefix:e.iconPrefix},null)])},ye=()=>{if(e.showWordLimit&&e.maxlength){const E=cs(c());return A("div",{class:xt("word-limit")},[A("span",{class:xt("word-num")},[E]),Xe("/"),e.maxlength])}},Ue=()=>{if(a&&a.props.showErrorMessage===!1)return;const E=e.errorMessage||o.validateMessage;if(E){const $=n["error-message"],V=u("errorMessageAlign");return A("div",{class:xt("error-message",V)},[$?$({message:E}):E])}},Ve=()=>{const E=u("labelWidth"),$=u("labelAlign"),V=u("colon")?":":"";if(n.label)return[n.label(),V];if(e.label)return A("label",{id:`${s}-label`,for:n.input?void 0:ae(),"data-allow-mismatch":"attribute",onClick:Q=>{On(Q),P()},style:$==="top"&&E?{width:lt(E)}:void 0},[e.label+V])},He=()=>[A("div",{class:xt("body")},[we(),f.value&&A(Rt,{ref:i,name:e.clearIcon,class:xt("clear")},null),Be(),n.button&&A("div",{class:xt("button")},[n.button()])]),ye(),Ue()];return Ko({blur:O,focus:P,validate:v,formValue:d,resetValidation:_,getValidationStatus:xe}),gn(Eu,{customValue:l,resetValidation:_,validateWithTrigger:S}),Ie(()=>e.modelValue,()=>{C(c()),_(),S("onChange"),_t(z)}),mt(()=>{C(c(),e.formatTrigger),_t(z)}),Wo("touchstart",W,{target:oe(()=>{var E;return(E=i.value)==null?void 0:E.$el})}),()=>{const E=u("disabled"),$=u("labelAlign"),V=be(),Q=()=>{const le=Ve();return $==="top"?[V,le].filter(Boolean):le||[]};return A(Gm,{size:e.size,class:xt({error:ee.value,disabled:E,[`label-${$}`]:$}),center:e.center,border:e.border,isLink:e.isLink,clickable:e.clickable,titleStyle:G.value,valueClass:xt("value"),titleClass:[xt("label",[$,{required:h.value}]),e.labelClass],arrowDirection:e.arrowDirection},{icon:V&&$!=="top"?()=>V:null,title:Q,value:He,extra:n.extra})}}});const Fi=ft(sg);let us=0;function og(e){e?(us||document.body.classList.add("van-toast--unclickable"),us++):us&&(us--,us||document.body.classList.remove("van-toast--unclickable"))}const[rg,Nn]=ut("toast"),ig=["show","overlay","teleport","transition","overlayClass","overlayStyle","closeOnClickOverlay","zIndex"],lg={icon:String,show:Boolean,type:Oe("text"),overlay:Boolean,message:De,iconSize:De,duration:vu(2e3),position:Oe("middle"),teleport:[String,Object],wordBreak:String,className:sn,iconPrefix:String,transition:Oe("van-fade"),loadingType:String,forbidClick:Boolean,overlayClass:sn,overlayStyle:Object,closeOnClick:Boolean,closeOnClickOverlay:Boolean,zIndex:De};var Vu=Se({name:rg,props:lg,emits:["update:show"],setup(e,{emit:t,slots:n}){let s,o=!1;const r=()=>{const f=e.show&&e.forbidClick;o!==f&&(o=f,og(o))},i=f=>t("update:show",f),l=()=>{e.closeOnClick&&i(!1)},a=()=>clearTimeout(s),c=()=>{const{icon:f,type:d,iconSize:h,iconPrefix:x,loadingType:_}=e;if(f||d==="success"||d==="fail")return A(Rt,{name:f||d,size:h,class:Nn("icon"),classPrefix:x},null);if(d==="loading")return A(Go,{class:Nn("loading"),size:h,type:_},null)},u=()=>{const{type:f,message:d}=e;if(n.message)return A("div",{class:Nn("text")},[n.message()]);if(Ge(d)&&d!=="")return f==="html"?A("div",{key:0,class:Nn("text"),innerHTML:String(d)},null):A("div",{class:Nn("text")},[d])};return Ie(()=>[e.show,e.forbidClick],r),Ie(()=>[e.show,e.type,e.message,e.duration],()=>{a(),e.show&&e.duration>0&&(s=setTimeout(()=>{i(!1)},e.duration))}),mt(r),Fn(r),()=>A(Ws,Lt({class:[Nn([e.position,e.wordBreak==="normal"?"break-normal":e.wordBreak,{[e.type]:!e.icon}]),e.className],lockScroll:!1,onClick:l,onClosed:a,"onUpdate:show":i},_u(e,ig)),{default:()=>[c(),u()]})}});function ju(){const e=bt({show:!1}),t=o=>{e.show=o},n=o=>{Ke(e,o,{transitionAppear:!0}),t(!0)},s=()=>t(!1);return Ko({open:n,close:s,toggle:t}),{open:n,close:s,state:e,toggle:t}}function Uu(e){const t=hu(e),n=document.createElement("div");return document.body.appendChild(n),{instance:t.mount(n),unmount(){t.unmount(),document.body.removeChild(n)}}}const ag={icon:"",type:"text",message:"",className:"",overlay:!1,onClose:void 0,onOpened:void 0,duration:2e3,teleport:"body",iconSize:void 0,iconPrefix:void 0,position:"middle",transition:"van-fade",forbidClick:!1,loadingType:void 0,overlayClass:"",overlayStyle:void 0,closeOnClick:!1,closeOnClickOverlay:!1};let oo=[],cg=!1,Xl=Ke({},ag);const ug=new Map;function Hu(e){return qs(e)?e:{message:e}}function fg(){const{instance:e}=Uu({setup(){const t=K(""),{open:n,state:s,close:o,toggle:r}=ju(),i=()=>{},l=()=>A(Vu,Lt(s,{onClosed:i,"onUpdate:show":r}),null);return Ie(t,a=>{s.message=a}),Vt().render=l,{open:n,close:o,message:t}}});return e}function dg(){if(!oo.length||cg){const e=fg();oo.push(e)}return oo[oo.length-1]}function ve(e={}){if(!zo)return{};const t=dg(),n=Hu(e);return t.open(Ke({},Xl,ug.get(n.type||Xl.type),n)),t}const qu=e=>t=>ve(Ke({type:e},Hu(t))),OE=qu("success"),pg=qu("fail");ft(Vu);const hg=ft(mm),[mg,ro]=ut("empty"),gg={image:Oe("default"),imageSize:[Number,String,Array],description:String};var _g=Se({name:mg,props:gg,setup(e,{slots:t}){const n=()=>{const v=t.description?t.description():e.description;if(v)return A("p",{class:ro("description")},[v])},s=()=>{if(t.default)return A("div",{class:ro("bottom")},[t.default()])},o=Nu(),r=v=>`${o}-${v}`,i=v=>`url(#${r(v)})`,l=(v,S,T)=>A("stop",{"stop-color":v,offset:`${S}%`,"stop-opacity":T},null),a=(v,S)=>[l(v,0),l(S,100)],c=v=>[A("defs",null,[A("radialGradient",{id:r(v),cx:"50%",cy:"54%",fx:"50%",fy:"54%",r:"297%",gradientTransform:"matrix(-.16 0 0 -.33 .58 .72)","data-allow-mismatch":"attribute"},[l("#EBEDF0",0),l("#F2F3F5",100,.3)])]),A("ellipse",{fill:i(v),opacity:".8",cx:"80",cy:"140",rx:"46",ry:"8","data-allow-mismatch":"attribute"},null)],u=()=>[A("defs",null,[A("linearGradient",{id:r("a"),x1:"64%",y1:"100%",x2:"64%","data-allow-mismatch":"attribute"},[l("#FFF",0,.5),l("#F2F3F5",100)])]),A("g",{opacity:".8","data-allow-mismatch":"children"},[A("path",{d:"M36 131V53H16v20H2v58h34z",fill:i("a")},null),A("path",{d:"M123 15h22v14h9v77h-31V15z",fill:i("a")},null)])],f=()=>[A("defs",null,[A("linearGradient",{id:r("b"),x1:"64%",y1:"97%",x2:"64%",y2:"0%","data-allow-mismatch":"attribute"},[l("#F2F3F5",0,.3),l("#F2F3F5",100)])]),A("g",{opacity:".8","data-allow-mismatch":"children"},[A("path",{d:"M87 6c3 0 7 3 8 6a8 8 0 1 1-1 16H80a7 7 0 0 1-8-6c0-4 3-7 6-7 0-5 4-9 9-9Z",fill:i("b")},null),A("path",{d:"M19 23c2 0 3 1 4 3 2 0 4 2 4 4a4 4 0 0 1-4 3v1h-7v-1l-1 1c-2 0-3-2-3-4 0-1 1-3 3-3 0-2 2-4 4-4Z",fill:i("b")},null)])],d=()=>A("svg",{viewBox:"0 0 160 160"},[A("defs",{"data-allow-mismatch":"children"},[A("linearGradient",{id:r(1),x1:"64%",y1:"100%",x2:"64%"},[l("#FFF",0,.5),l("#F2F3F5",100)]),A("linearGradient",{id:r(2),x1:"50%",x2:"50%",y2:"84%"},[l("#EBEDF0",0),l("#DCDEE0",100,0)]),A("linearGradient",{id:r(3),x1:"100%",x2:"100%",y2:"100%"},[a("#EAEDF0","#DCDEE0")]),A("radialGradient",{id:r(4),cx:"50%",cy:"0%",fx:"50%",fy:"0%",r:"100%",gradientTransform:"matrix(0 1 -.54 0 .5 -.5)"},[l("#EBEDF0",0),l("#FFF",100,0)])]),A("g",{fill:"none"},[u(),A("path",{fill:i(4),d:"M0 139h160v21H0z","data-allow-mismatch":"attribute"},null),A("path",{d:"M80 54a7 7 0 0 1 3 13v27l-2 2h-2a2 2 0 0 1-2-2V67a7 7 0 0 1 3-13z",fill:i(2),"data-allow-mismatch":"attribute"},null),A("g",{opacity:".6","stroke-linecap":"round","stroke-width":"7","data-allow-mismatch":"children"},[A("path",{d:"M64 47a19 19 0 0 0-5 13c0 5 2 10 5 13",stroke:i(3)},null),A("path",{d:"M53 36a34 34 0 0 0 0 48",stroke:i(3)},null),A("path",{d:"M95 73a19 19 0 0 0 6-13c0-5-2-9-6-13",stroke:i(3)},null),A("path",{d:"M106 84a34 34 0 0 0 0-48",stroke:i(3)},null)]),A("g",{transform:"translate(31 105)"},[A("rect",{fill:"#EBEDF0",width:"98",height:"34",rx:"2"},null),A("rect",{fill:"#FFF",x:"9",y:"8",width:"80",height:"18",rx:"1.1"},null),A("rect",{fill:"#EBEDF0",x:"15",y:"12",width:"18",height:"6",rx:"1.1"},null)])])]),h=()=>A("svg",{viewBox:"0 0 160 160"},[A("defs",{"data-allow-mismatch":"children"},[A("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:r(5)},[a("#F2F3F5","#DCDEE0")]),A("linearGradient",{x1:"95%",y1:"48%",x2:"5.5%",y2:"51%",id:r(6)},[a("#EAEDF1","#DCDEE0")]),A("linearGradient",{y1:"45%",x2:"100%",y2:"54%",id:r(7)},[a("#EAEDF1","#DCDEE0")])]),u(),f(),A("g",{transform:"translate(36 50)",fill:"none"},[A("g",{transform:"translate(8)"},[A("rect",{fill:"#EBEDF0",opacity:".6",x:"38",y:"13",width:"36",height:"53",rx:"2"},null),A("rect",{fill:i(5),width:"64",height:"66",rx:"2","data-allow-mismatch":"attribute"},null),A("rect",{fill:"#FFF",x:"6",y:"6",width:"52",height:"55",rx:"1"},null),A("g",{transform:"translate(15 17)",fill:i(6),"data-allow-mismatch":"attribute"},[A("rect",{width:"34",height:"6",rx:"1"},null),A("path",{d:"M0 14h34v6H0z"},null),A("rect",{y:"28",width:"34",height:"6",rx:"1"},null)])]),A("rect",{fill:i(7),y:"61",width:"88",height:"28",rx:"1","data-allow-mismatch":"attribute"},null),A("rect",{fill:"#F7F8FA",x:"29",y:"72",width:"30",height:"6",rx:"1"},null)])]),x=()=>A("svg",{viewBox:"0 0 160 160"},[A("defs",null,[A("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:r(8),"data-allow-mismatch":"attribute"},[a("#EAEDF1","#DCDEE0")])]),u(),f(),c("c"),A("path",{d:"m59 60 21 21 21-21h3l9 9v3L92 93l21 21v3l-9 9h-3l-21-21-21 21h-3l-9-9v-3l21-21-21-21v-3l9-9h3Z",fill:i(8),"data-allow-mismatch":"attribute"},null)]),_=()=>A("svg",{viewBox:"0 0 160 160"},[A("defs",{"data-allow-mismatch":"children"},[A("linearGradient",{x1:"50%",y1:"100%",x2:"50%",id:r(9)},[a("#EEE","#D8D8D8")]),A("linearGradient",{x1:"100%",y1:"50%",y2:"50%",id:r(10)},[a("#F2F3F5","#DCDEE0")]),A("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:r(11)},[a("#F2F3F5","#DCDEE0")]),A("linearGradient",{x1:"50%",x2:"50%",y2:"100%",id:r(12)},[a("#FFF","#F7F8FA")])]),u(),f(),c("d"),A("g",{transform:"rotate(-45 113 -4)",fill:"none","data-allow-mismatch":"children"},[A("rect",{fill:i(9),x:"24",y:"52.8",width:"5.8",height:"19",rx:"1"},null),A("rect",{fill:i(10),x:"22.1",y:"67.3",width:"9.9",height:"28",rx:"1"},null),A("circle",{stroke:i(11),"stroke-width":"8",cx:"27",cy:"27",r:"27"},null),A("circle",{fill:i(12),cx:"27",cy:"27",r:"16"},null),A("path",{d:"M37 7c-8 0-15 5-16 12",stroke:i(11),"stroke-width":"3",opacity:".5","stroke-linecap":"round",transform:"rotate(45 29 13)"},null)])]),m=()=>{var v;if(t.image)return t.image();const S={error:x,search:_,network:d,default:h};return((v=S[e.image])==null?void 0:v.call(S))||A("img",{src:e.image},null)};return()=>A("div",{class:ro()},[A("div",{class:ro("image"),style:Cu(e.imageSize)},[m()]),n(),s()])}});const vg=ft(_g),[yg,Ot,io]=ut("dialog"),wg=Ke({},Ii,{title:String,theme:String,width:De,message:[String,Function],callback:Function,allowHtml:Boolean,className:sn,transition:Oe("van-dialog-bounce"),messageAlign:String,closeOnPopstate:yt,showCancelButton:Boolean,cancelButtonText:String,cancelButtonColor:String,cancelButtonDisabled:Boolean,confirmButtonText:String,confirmButtonColor:String,confirmButtonDisabled:Boolean,showConfirmButton:yt,closeOnClickOverlay:Boolean,keyboardEnabled:yt,destroyOnClose:Boolean}),bg=[...Im,"transition","closeOnPopstate","destroyOnClose"];var zu=Se({name:yg,props:wg,emits:["confirm","cancel","keydown","update:show"],setup(e,{emit:t,slots:n}){const s=K(),o=bt({confirm:!1,cancel:!1}),r=v=>t("update:show",v),i=v=>{var S;r(!1),(S=e.callback)==null||S.call(e,v)},l=v=>()=>{e.show&&(t(v),e.beforeClose?(o[v]=!0,Tu(e.beforeClose,{args:[v],done(){i(v),o[v]=!1},canceled(){o[v]=!1}})):i(v))},a=l("cancel"),c=l("confirm"),u=pu(v=>{var S,T;if(!e.keyboardEnabled||v.target!==((T=(S=s.value)==null?void 0:S.popupRef)==null?void 0:T.value))return;({Enter:e.showConfirmButton?c:Kr,Escape:e.showCancelButton?a:Kr})[v.key](),t("keydown",v)},["enter","esc"]),f=()=>{const v=n.title?n.title():e.title;if(v)return A("div",{class:Ot("header",{isolated:!e.message&&!n.default})},[v])},d=v=>{const{message:S,allowHtml:T,messageAlign:C}=e,g=Ot("message",{"has-title":v,[C]:C}),O=$s(S)?S():S;return T&&typeof O=="string"?A("div",{class:g,innerHTML:O},null):A("div",{class:g},[O])},h=()=>{if(n.default)return A("div",{class:Ot("content")},[n.default()]);const{title:v,message:S,allowHtml:T}=e;if(S){const C=!!(v||n.title);return A("div",{key:T?1:0,class:Ot("content",{isolated:!C})},[d(C)])}},x=()=>A("div",{class:[Kh,Ot("footer")]},[e.showCancelButton&&A(Ns,{size:"large",text:e.cancelButtonText||io("cancel"),class:Ot("cancel"),style:{color:e.cancelButtonColor},loading:o.cancel,disabled:e.cancelButtonDisabled,onClick:a},null),e.showConfirmButton&&A(Ns,{size:"large",text:e.confirmButtonText||io("confirm"),class:[Ot("confirm"),{[Gh]:e.showCancelButton}],style:{color:e.confirmButtonColor},loading:o.confirm,disabled:e.confirmButtonDisabled,onClick:c},null)]),_=()=>A(sm,{class:Ot("footer")},{default:()=>[e.showCancelButton&&A(ql,{type:"warning",text:e.cancelButtonText||io("cancel"),class:Ot("cancel"),color:e.cancelButtonColor,loading:o.cancel,disabled:e.cancelButtonDisabled,onClick:a},null),e.showConfirmButton&&A(ql,{type:"danger",text:e.confirmButtonText||io("confirm"),class:Ot("confirm"),color:e.confirmButtonColor,loading:o.confirm,disabled:e.confirmButtonDisabled,onClick:c},null)]}),m=()=>n.footer?n.footer():e.theme==="round-button"?_():x();return()=>{const{width:v,title:S,theme:T,message:C,className:g}=e;return A(Ws,Lt({ref:s,role:"dialog",class:[Ot([T]),g],style:{width:lt(v)},tabindex:0,"aria-labelledby":S||C,onKeydown:u,"onUpdate:show":r},_u(e,bg)),{default:()=>[f(),h(),m()]})}}});let Xr;const Eg={title:"",width:"",theme:null,message:"",overlay:!0,callback:null,teleport:"body",className:"",allowHtml:!1,lockScroll:!0,transition:void 0,beforeClose:null,overlayClass:"",overlayStyle:void 0,messageAlign:"",cancelButtonText:"",cancelButtonColor:null,cancelButtonDisabled:!1,confirmButtonText:"",confirmButtonColor:null,confirmButtonDisabled:!1,showConfirmButton:!0,showCancelButton:!1,closeOnPopstate:!0,closeOnClickOverlay:!1,destroyOnClose:!1};let Sg=Ke({},Eg);function xg(){({instance:Xr}=Uu({setup(){const{state:t,toggle:n}=ju();return()=>A(zu,Lt(t,{"onUpdate:show":n}),null)}}))}function Cg(e){return zo?new Promise((t,n)=>{Xr||xg(),Xr.open(Ke({},Sg,e,{callback:s=>{(s==="confirm"?t:n)(s)}}))}):Promise.resolve(void 0)}const Ag=e=>Cg(Ke({showCancelButton:!0},e)),Rg=ft(zu),[Tg,lo]=ut("rate");function kg(e,t,n,s){return e>=t?{status:"full",value:1}:e+.5>=t&&n&&!s?{status:"half",value:.5}:e+1>=t&&n&&s?{status:"half",value:Math.round((e-t+1)*1e10)/1e10}:{status:"void",value:0}}const Og={size:De,icon:Oe("star"),color:String,count:yu(5),gutter:De,clearable:Boolean,readonly:Boolean,disabled:Boolean,voidIcon:Oe("star-o"),allowHalf:Boolean,voidColor:String,touchable:yt,iconPrefix:String,modelValue:vu(0),disabledColor:String};var Pg=Se({name:Tg,props:Og,emits:["change","update:modelValue"],setup(e,{emit:t}){const n=Du(),[s,o]=qm(),r=K(),i=oe(()=>e.readonly||e.disabled),l=oe(()=>i.value||!e.touchable),a=oe(()=>Array(+e.count).fill("").map((T,C)=>kg(e.modelValue,C+1,e.allowHalf,e.readonly)));let c,u,f=Number.MAX_SAFE_INTEGER,d=Number.MIN_SAFE_INTEGER;const h=()=>{u=Gr(r);const T=s.value.map(Gr);c=[],T.forEach((C,g)=>{f=Math.min(C.top,f),d=Math.max(C.top,d),e.allowHalf?c.push({score:g+.5,left:C.left,top:C.top,height:C.height},{score:g+1,left:C.left+C.width/2,top:C.top,height:C.height}):c.push({score:g+1,left:C.left,top:C.top,height:C.height})})},x=(T,C)=>{for(let g=c.length-1;g>0;g--)if(C>=u.top&&C<=u.bottom){if(T>c[g].left&&C>=c[g].top&&C<=c[g].top+c[g].height)return c[g].score}else{const O=C<u.top?f:d;if(T>c[g].left&&c[g].top===O)return c[g].score}return e.allowHalf?.5:1},_=T=>{i.value||T===e.modelValue||(t("update:modelValue",T),t("change",T))},m=T=>{l.value||(n.start(T),h())},v=T=>{if(!l.value&&(n.move(T),n.isHorizontal()&&!n.isTap.value)){const{clientX:C,clientY:g}=T.touches[0];On(T),_(x(C,g))}},S=(T,C)=>{const{icon:g,size:O,color:P,count:z,gutter:D,voidIcon:J,disabled:se,voidColor:H,allowHalf:j,iconPrefix:W,disabledColor:ee}=e,G=C+1,X=T.status==="full",ae=T.status==="void",xe=j&&T.value>0&&T.value<1;let we;D&&G!==+z&&(we={paddingRight:lt(D)});const be=Be=>{h();let ye=j?x(Be.clientX,Be.clientY):G;e.clearable&&n.isTap.value&&ye===e.modelValue&&(ye=0),_(ye)};return A("div",{key:C,ref:o(C),role:"radio",style:we,class:lo("item"),tabindex:se?void 0:0,"aria-setsize":z,"aria-posinset":G,"aria-checked":!ae,onClick:be},[A(Rt,{size:O,name:X?g:J,class:lo("icon",{disabled:se,full:X}),color:se?ee:X?P:H,classPrefix:W},null),xe&&A(Rt,{size:O,style:{width:T.value+"em"},name:ae?J:g,class:lo("icon",["half",{disabled:se,full:!ae}]),color:se?ee:ae?H:P,classPrefix:W},null)])};return kh(()=>e.modelValue),Wo("touchmove",v,{target:r}),()=>A("div",{ref:r,role:"radiogroup",class:lo({readonly:e.readonly,disabled:e.disabled}),tabindex:e.disabled?void 0:0,"aria-disabled":e.disabled,"aria-readonly":e.readonly,onTouchstartPassive:m},[a.value.map(S)])}});const Ig=ft(Pg);/*!
* pinia v2.3.1
* (c) 2025 Eduardo San Martin Morote
* @license MIT
*/let Wu;const Jo=e=>Wu=e,Ku=Symbol();function Yr(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Rs;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Rs||(Rs={}));function Fg(){const e=ec(!0),t=e.run(()=>K({}));let n=[],s=[];const o=yi({install(r){Jo(o),o._a=r,r.provide(Ku,o),r.config.globalProperties.$pinia=o,s.forEach(i=>n.push(i)),s=[]},use(r){return this._a?n.push(r):s.push(r),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}const Gu=()=>{};function Yl(e,t,n,s=Gu){e.push(t);const o=()=>{const r=e.indexOf(t);r>-1&&(e.splice(r,1),s())};return!n&&hi()&&tc(o),o}function Ln(e,...t){e.slice().forEach(n=>{n(...t)})}const Bg=e=>e(),Ql=Symbol(),vr=Symbol();function Qr(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,s)=>e.set(s,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const s=t[n],o=e[n];Yr(o)&&Yr(s)&&e.hasOwnProperty(n)&&!Le(s)&&!nn(s)?e[n]=Qr(o,s):e[n]=s}return e}const Dg=Symbol();function $g(e){return!Yr(e)||!e.hasOwnProperty(Dg)}const{assign:dn}=Object;function Ng(e){return!!(Le(e)&&e.effect)}function Lg(e,t,n,s){const{state:o,actions:r,getters:i}=t,l=n.state.value[e];let a;function c(){l||(n.state.value[e]=o?o():{});const u=wd(n.state.value[e]);return dn(u,r,Object.keys(i||{}).reduce((f,d)=>(f[d]=yi(oe(()=>{Jo(n);const h=n._s.get(e);return i[d].call(h,h)})),f),{}))}return a=Ju(e,c,t,n,s,!0),a}function Ju(e,t,n={},s,o,r){let i;const l=dn({actions:{}},n),a={deep:!0};let c,u,f=[],d=[],h;const x=s.state.value[e];!r&&!x&&(s.state.value[e]={});let _;function m(z){let D;c=u=!1,typeof z=="function"?(z(s.state.value[e]),D={type:Rs.patchFunction,storeId:e,events:h}):(Qr(s.state.value[e],z),D={type:Rs.patchObject,payload:z,storeId:e,events:h});const J=_=Symbol();_t().then(()=>{_===J&&(c=!0)}),u=!0,Ln(f,D,s.state.value[e])}const v=r?function(){const{state:D}=n,J=D?D():{};this.$patch(se=>{dn(se,J)})}:Gu;function S(){i.stop(),f=[],d=[],s._s.delete(e)}const T=(z,D="")=>{if(Ql in z)return z[vr]=D,z;const J=function(){Jo(s);const se=Array.from(arguments),H=[],j=[];function W(X){H.push(X)}function ee(X){j.push(X)}Ln(d,{args:se,name:J[vr],store:g,after:W,onError:ee});let G;try{G=z.apply(this&&this.$id===e?this:g,se)}catch(X){throw Ln(j,X),X}return G instanceof Promise?G.then(X=>(Ln(H,X),X)).catch(X=>(Ln(j,X),Promise.reject(X))):(Ln(H,G),G)};return J[Ql]=!0,J[vr]=D,J},C={_p:s,$id:e,$onAction:Yl.bind(null,d),$patch:m,$reset:v,$subscribe(z,D={}){const J=Yl(f,z,D.detached,()=>se()),se=i.run(()=>Ie(()=>s.state.value[e],H=>{(D.flush==="sync"?u:c)&&z({storeId:e,type:Rs.direct,events:h},H)},dn({},a,D)));return J},$dispose:S},g=bt(C);s._s.set(e,g);const P=(s._a&&s._a.runWithContext||Bg)(()=>s._e.run(()=>(i=ec()).run(()=>t({action:T}))));for(const z in P){const D=P[z];if(Le(D)&&!Ng(D)||nn(D))r||(x&&$g(D)&&(Le(D)?D.value=x[z]:Qr(D,x[z])),s.state.value[e][z]=D);else if(typeof D=="function"){const J=T(D,z);P[z]=J,l.actions[z]=D}}return dn(g,P),dn(_e(g),P),Object.defineProperty(g,"$state",{get:()=>s.state.value[e],set:z=>{m(D=>{dn(D,z)})}}),s._p.forEach(z=>{dn(g,i.run(()=>z({store:g,app:s._a,pinia:s,options:l})))}),x&&r&&n.hydrate&&n.hydrate(g.$state,x),c=!0,u=!0,g}/*! #__NO_SIDE_EFFECTS__ */function Bi(e,t,n){let s,o;const r=typeof t=="function";typeof e=="string"?(s=e,o=r?n:t):(o=e,s=e.id);function i(l,a){const c=kd();return l=l||(c?tt(Ku,null):null),l&&Jo(l),l=Wu,l._s.has(s)||(r?Ju(s,t,o,l):Lg(s,o,l)),l._s.get(s)}return i.$id=s,i}const Xu="it_desk_h5_theme";function Zl(e){document.documentElement.setAttribute("data-theme",e),localStorage.setItem(Xu,e)}function Mg(){const e=localStorage.getItem(Xu);return e==="dark"||e==="light"?e:window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}const Yu=Bi("theme",()=>{const e=K("light");function t(){const s=e.value==="light"?"dark":"light";e.value=s,Zl(s)}function n(){const s=Mg();e.value=s,Zl(s)}return{currentTheme:e,toggleTheme:t,initTheme:n}}),Vg={class:"app-loading"},jg={key:1,class:"app-loading"},Ug=Se({__name:"App",setup(e){const t=Yu(),n=K(!1);return mt(()=>{t.initTheme(),n.value=!0}),(s,o)=>{const r=Go,i=Kd("router-view"),l=hg;return B(),Bt(l,{theme:de(t).currentTheme},{default:dt(()=>[n.value?(B(),Bt(i,{key:0},{default:dt(({Component:a})=>[(B(),Bt(bp,null,{fallback:dt(()=>[p("div",Vg,[A(r,{type:"spinner",color:"#1989fa",size:"36"}),o[0]||(o[0]=p("div",{class:"app-loading__text"},"正在加载...",-1))])]),default:dt(()=>[(B(),Bt(Gd(a)))]),_:2},1024))]),_:1})):(B(),M("div",jg,[A(r,{type:"spinner",color:"#1989fa",size:"36"}),o[1]||(o[1]=p("div",{class:"app-loading__text"},"正在加载...",-1))]))]),_:1},8,["theme"])}}}),Hg="modulepreload",qg=function(e){return"/h5/"+e},ea={},Hn=function(t,n,s){let o=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),l=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));o=Promise.allSettled(n.map(a=>{if(a=qg(a),a in ea)return;ea[a]=!0;const c=a.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${a}"]${u}`))return;const f=document.createElement("link");if(f.rel=c?"stylesheet":Hg,c||(f.as="script"),f.crossOrigin="",f.href=a,l&&f.setAttribute("nonce",l),document.head.appendChild(f),c)return new Promise((d,h)=>{f.addEventListener("load",d),f.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${a}`)))})}))}function r(i){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=i,window.dispatchEvent(l),!l.defaultPrevented)throw i}return o.then(i=>{for(const l of i||[])l.status==="rejected"&&r(l.reason);return t().catch(r)})};/*!
* vue-router v4.6.4
* (c) 2025 Eduardo San Martin Morote
* @license MIT
*/const Un=typeof document<"u";function Qu(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function zg(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Qu(e.default)}const Ce=Object.assign;function yr(e,t){const n={};for(const s in t){const o=t[s];n[s]=Mt(o)?o.map(e):e(o)}return n}const Ts=()=>{},Mt=Array.isArray;function ta(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}const Zu=/#/g,Wg=/&/g,Kg=/\//g,Gg=/=/g,Jg=/\?/g,ef=/\+/g,Xg=/%5B/g,Yg=/%5D/g,tf=/%5E/g,Qg=/%60/g,nf=/%7B/g,Zg=/%7C/g,sf=/%7D/g,e_=/%20/g;function Di(e){return e==null?"":encodeURI(""+e).replace(Zg,"|").replace(Xg,"[").replace(Yg,"]")}function t_(e){return Di(e).replace(nf,"{").replace(sf,"}").replace(tf,"^")}function Zr(e){return Di(e).replace(ef,"%2B").replace(e_,"+").replace(Zu,"%23").replace(Wg,"%26").replace(Qg,"`").replace(nf,"{").replace(sf,"}").replace(tf,"^")}function n_(e){return Zr(e).replace(Gg,"%3D")}function s_(e){return Di(e).replace(Zu,"%23").replace(Jg,"%3F")}function o_(e){return s_(e).replace(Kg,"%2F")}function Ls(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const r_=/\/$/,i_=e=>e.replace(r_,"");function wr(e,t,n="/"){let s,o={},r="",i="";const l=t.indexOf("#");let a=t.indexOf("?");return a=l>=0&&a>l?-1:a,a>=0&&(s=t.slice(0,a),r=t.slice(a,l>0?l:t.length),o=e(r.slice(1))),l>=0&&(s=s||t.slice(0,l),i=t.slice(l,t.length)),s=u_(s??t,n),{fullPath:s+r+i,path:s,query:o,hash:Ls(i)}}function l_(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function na(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function a_(e,t,n){const s=t.matched.length-1,o=n.matched.length-1;return s>-1&&s===o&&Qn(t.matched[s],n.matched[o])&&of(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Qn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function of(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!c_(e[n],t[n]))return!1;return!0}function c_(e,t){return Mt(e)?sa(e,t):Mt(t)?sa(t,e):(e==null?void 0:e.valueOf())===(t==null?void 0:t.valueOf())}function sa(e,t){return Mt(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function u_(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),o=s[s.length-1];(o===".."||o===".")&&s.push("");let r=n.length-1,i,l;for(i=0;i<s.length;i++)if(l=s[i],l!==".")if(l==="..")r>1&&r--;else break;return n.slice(0,r).join("/")+"/"+s.slice(i).join("/")}const un={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let ei=function(e){return e.pop="pop",e.push="push",e}({}),br=function(e){return e.back="back",e.forward="forward",e.unknown="",e}({});function f_(e){if(!e)if(Un){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),i_(e)}const d_=/^[^#]+#/;function p_(e,t){return e.replace(d_,"#")+t}function h_(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const Xo=()=>({left:window.scrollX,top:window.scrollY});function m_(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=h_(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function oa(e,t){return(history.state?history.state.position-t:-1)+e}const ti=new Map;function g_(e,t){ti.set(e,t)}function __(e){const t=ti.get(e);return ti.delete(e),t}function v_(e){return typeof e=="string"||e&&typeof e=="object"}function rf(e){return typeof e=="string"||typeof e=="symbol"}let je=function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e}({});const lf=Symbol("");je.MATCHER_NOT_FOUND+"",je.NAVIGATION_GUARD_REDIRECT+"",je.NAVIGATION_ABORTED+"",je.NAVIGATION_CANCELLED+"",je.NAVIGATION_DUPLICATED+"";function Zn(e,t){return Ce(new Error,{type:e,[lf]:!0},t)}function Yt(e,t){return e instanceof Error&&lf in e&&(t==null||!!(e.type&t))}const y_=["params","query","hash"];function w_(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of y_)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function b_(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<n.length;++s){const o=n[s].replace(ef," "),r=o.indexOf("="),i=Ls(r<0?o:o.slice(0,r)),l=r<0?null:Ls(o.slice(r+1));if(i in t){let a=t[i];Mt(a)||(a=t[i]=[a]),a.push(l)}else t[i]=l}return t}function ra(e){let t="";for(let n in e){const s=e[n];if(n=n_(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(Mt(s)?s.map(o=>o&&Zr(o)):[s&&Zr(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function E_(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Mt(s)?s.map(o=>o==null?null:""+o):s==null?s:""+s)}return t}const S_=Symbol(""),ia=Symbol(""),Yo=Symbol(""),$i=Symbol(""),ni=Symbol("");function fs(){let e=[];function t(s){return e.push(s),()=>{const o=e.indexOf(s);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function hn(e,t,n,s,o,r=i=>i()){const i=s&&(s.enterCallbacks[o]=s.enterCallbacks[o]||[]);return()=>new Promise((l,a)=>{const c=d=>{d===!1?a(Zn(je.NAVIGATION_ABORTED,{from:n,to:t})):d instanceof Error?a(d):v_(d)?a(Zn(je.NAVIGATION_GUARD_REDIRECT,{from:t,to:d})):(i&&s.enterCallbacks[o]===i&&typeof d=="function"&&i.push(d),l())},u=r(()=>e.call(s&&s.instances[o],t,n,c));let f=Promise.resolve(u);e.length<3&&(f=f.then(c)),f.catch(d=>a(d))})}function Er(e,t,n,s,o=r=>r()){const r=[];for(const i of e)for(const l in i.components){let a=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(Qu(a)){const c=(a.__vccOpts||a)[t];c&&r.push(hn(c,n,s,i,l,o))}else{let c=a();r.push(()=>c.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${l}" at "${i.path}"`);const f=zg(u)?u.default:u;i.mods[l]=u,i.components[l]=f;const d=(f.__vccOpts||f)[t];return d&&hn(d,n,s,i,l,o)()}))}}return r}function x_(e,t){const n=[],s=[],o=[],r=Math.max(t.matched.length,e.matched.length);for(let i=0;i<r;i++){const l=t.matched[i];l&&(e.matched.find(c=>Qn(c,l))?s.push(l):n.push(l));const a=e.matched[i];a&&(t.matched.find(c=>Qn(c,a))||o.push(a))}return[n,s,o]}/*!
* vue-router v4.6.4
* (c) 2025 Eduardo San Martin Morote
* @license MIT
*/let C_=()=>location.protocol+"//"+location.host;function af(e,t){const{pathname:n,search:s,hash:o}=t,r=e.indexOf("#");if(r>-1){let i=o.includes(e.slice(r))?e.slice(r).length:1,l=o.slice(i);return l[0]!=="/"&&(l="/"+l),na(l,"")}return na(n,e)+s+o}function A_(e,t,n,s){let o=[],r=[],i=null;const l=({state:d})=>{const h=af(e,location),x=n.value,_=t.value;let m=0;if(d){if(n.value=h,t.value=d,i&&i===x){i=null;return}m=_?d.position-_.position:0}else s(h);o.forEach(v=>{v(n.value,x,{delta:m,type:ei.pop,direction:m?m>0?br.forward:br.back:br.unknown})})};function a(){i=n.value}function c(d){o.push(d);const h=()=>{const x=o.indexOf(d);x>-1&&o.splice(x,1)};return r.push(h),h}function u(){if(document.visibilityState==="hidden"){const{history:d}=window;if(!d.state)return;d.replaceState(Ce({},d.state,{scroll:Xo()}),"")}}function f(){for(const d of r)d();r=[],window.removeEventListener("popstate",l),window.removeEventListener("pagehide",u),document.removeEventListener("visibilitychange",u)}return window.addEventListener("popstate",l),window.addEventListener("pagehide",u),document.addEventListener("visibilitychange",u),{pauseListeners:a,listen:c,destroy:f}}function la(e,t,n,s=!1,o=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:o?Xo():null}}function R_(e){const{history:t,location:n}=window,s={value:af(e,n)},o={value:t.state};o.value||r(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function r(a,c,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+a:C_()+e+a;try{t[u?"replaceState":"pushState"](c,"",d),o.value=c}catch(h){console.error(h),n[u?"replace":"assign"](d)}}function i(a,c){r(a,Ce({},t.state,la(o.value.back,a,o.value.forward,!0),c,{position:o.value.position}),!0),s.value=a}function l(a,c){const u=Ce({},o.value,t.state,{forward:a,scroll:Xo()});r(u.current,u,!0),r(a,Ce({},la(s.value,a,null),{position:u.position+1},c),!1),s.value=a}return{location:s,state:o,push:l,replace:i}}function T_(e){e=f_(e);const t=R_(e),n=A_(e,t.state,t.location,t.replace);function s(r,i=!0){i||n.pauseListeners(),history.go(r)}const o=Ce({location:"",base:e,go:s,createHref:p_.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}let An=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e}({});var qe=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e}(qe||{});const k_={type:An.Static,value:""},O_=/[a-zA-Z0-9_]/;function P_(e){if(!e)return[[]];if(e==="/")return[[k_]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${c}": ${h}`)}let n=qe.Static,s=n;const o=[];let r;function i(){r&&o.push(r),r=[]}let l=0,a,c="",u="";function f(){c&&(n===qe.Static?r.push({type:An.Static,value:c}):n===qe.Param||n===qe.ParamRegExp||n===qe.ParamRegExpEnd?(r.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),r.push({type:An.Param,value:c,regexp:u,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),c="")}function d(){c+=a}for(;l<e.length;){if(a=e[l++],a==="\\"&&n!==qe.ParamRegExp){s=n,n=qe.EscapeNext;continue}switch(n){case qe.Static:a==="/"?(c&&f(),i()):a===":"?(f(),n=qe.Param):d();break;case qe.EscapeNext:d(),n=s;break;case qe.Param:a==="("?n=qe.ParamRegExp:O_.test(a)?d():(f(),n=qe.Static,a!=="*"&&a!=="?"&&a!=="+"&&l--);break;case qe.ParamRegExp:a===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+a:n=qe.ParamRegExpEnd:u+=a;break;case qe.ParamRegExpEnd:f(),n=qe.Static,a!=="*"&&a!=="?"&&a!=="+"&&l--,u="";break;default:t("Unknown state");break}}return n===qe.ParamRegExp&&t(`Unfinished custom RegExp for param "${c}"`),f(),i(),o}const aa="[^/]+?",I_={sensitive:!1,strict:!1,start:!0,end:!0};var rt=function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e}(rt||{});const F_=/[.+*?^${}()[\]/\\]/g;function B_(e,t){const n=Ce({},I_,t),s=[];let o=n.start?"^":"";const r=[];for(const c of e){const u=c.length?[]:[rt.Root];n.strict&&!c.length&&(o+="/");for(let f=0;f<c.length;f++){const d=c[f];let h=rt.Segment+(n.sensitive?rt.BonusCaseSensitive:0);if(d.type===An.Static)f||(o+="/"),o+=d.value.replace(F_,"\\$&"),h+=rt.Static;else if(d.type===An.Param){const{value:x,repeatable:_,optional:m,regexp:v}=d;r.push({name:x,repeatable:_,optional:m});const S=v||aa;if(S!==aa){h+=rt.BonusCustomRegExp;try{`${S}`}catch(C){throw new Error(`Invalid custom RegExp for param "${x}" (${S}): `+C.message)}}let T=_?`((?:${S})(?:/(?:${S}))*)`:`(${S})`;f||(T=m&&c.length<2?`(?:/${T})`:"/"+T),m&&(T+="?"),o+=T,h+=rt.Dynamic,m&&(h+=rt.BonusOptional),_&&(h+=rt.BonusRepeatable),S===".*"&&(h+=rt.BonusWildcard)}u.push(h)}s.push(u)}if(n.strict&&n.end){const c=s.length-1;s[c][s[c].length-1]+=rt.BonusStrict}n.strict||(o+="/?"),n.end?o+="$":n.strict&&!o.endsWith("/")&&(o+="(?:/|$)");const i=new RegExp(o,n.sensitive?"":"i");function l(c){const u=c.match(i),f={};if(!u)return null;for(let d=1;d<u.length;d++){const h=u[d]||"",x=r[d-1];f[x.name]=h&&x.repeatable?h.split("/"):h}return f}function a(c){let u="",f=!1;for(const d of e){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const h of d)if(h.type===An.Static)u+=h.value;else if(h.type===An.Param){const{value:x,repeatable:_,optional:m}=h,v=x in c?c[x]:"";if(Mt(v)&&!_)throw new Error(`Provided param "${x}" is an array but it is not repeatable (* or + modifiers)`);const S=Mt(v)?v.join("/"):v;if(!S)if(m)d.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${x}"`);u+=S}}return u||"/"}return{re:i,score:s,keys:r,parse:l,stringify:a}}function D_(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;n++}return e.length<t.length?e.length===1&&e[0]===rt.Static+rt.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===rt.Static+rt.Segment?1:-1:0}function cf(e,t){let n=0;const s=e.score,o=t.score;for(;n<s.length&&n<o.length;){const r=D_(s[n],o[n]);if(r)return r;n++}if(Math.abs(o.length-s.length)===1){if(ca(s))return 1;if(ca(o))return-1}return o.length-s.length}function ca(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const $_={strict:!1,end:!0,sensitive:!1};function N_(e,t,n){const s=B_(P_(e.path),n),o=Ce(s,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function L_(e,t){const n=[],s=new Map;t=ta($_,t);function o(f){return s.get(f)}function r(f,d,h){const x=!h,_=fa(f);_.aliasOf=h&&h.record;const m=ta(t,f),v=[_];if("alias"in f){const C=typeof f.alias=="string"?[f.alias]:f.alias;for(const g of C)v.push(fa(Ce({},_,{components:h?h.record.components:_.components,path:g,aliasOf:h?h.record:_})))}let S,T;for(const C of v){const{path:g}=C;if(d&&g[0]!=="/"){const O=d.record.path,P=O[O.length-1]==="/"?"":"/";C.path=d.record.path+(g&&P+g)}if(S=N_(C,d,m),h?h.alias.push(S):(T=T||S,T!==S&&T.alias.push(S),x&&f.name&&!da(S)&&i(f.name)),uf(S)&&a(S),_.children){const O=_.children;for(let P=0;P<O.length;P++)r(O[P],S,h&&h.children[P])}h=h||S}return T?()=>{i(T)}:Ts}function i(f){if(rf(f)){const d=s.get(f);d&&(s.delete(f),n.splice(n.indexOf(d),1),d.children.forEach(i),d.alias.forEach(i))}else{const d=n.indexOf(f);d>-1&&(n.splice(d,1),f.record.name&&s.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function l(){return n}function a(f){const d=j_(f,n);n.splice(d,0,f),f.record.name&&!da(f)&&s.set(f.record.name,f)}function c(f,d){let h,x={},_,m;if("name"in f&&f.name){if(h=s.get(f.name),!h)throw Zn(je.MATCHER_NOT_FOUND,{location:f});m=h.record.name,x=Ce(ua(d.params,h.keys.filter(T=>!T.optional).concat(h.parent?h.parent.keys.filter(T=>T.optional):[]).map(T=>T.name)),f.params&&ua(f.params,h.keys.map(T=>T.name))),_=h.stringify(x)}else if(f.path!=null)_=f.path,h=n.find(T=>T.re.test(_)),h&&(x=h.parse(_),m=h.record.name);else{if(h=d.name?s.get(d.name):n.find(T=>T.re.test(d.path)),!h)throw Zn(je.MATCHER_NOT_FOUND,{location:f,currentLocation:d});m=h.record.name,x=Ce({},d.params,f.params),_=h.stringify(x)}const v=[];let S=h;for(;S;)v.unshift(S.record),S=S.parent;return{name:m,path:_,params:x,matched:v,meta:V_(v)}}e.forEach(f=>r(f));function u(){n.length=0,s.clear()}return{addRoute:r,resolve:c,removeRoute:i,clearRoutes:u,getRoutes:l,getRecordMatcher:o}}function ua(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function fa(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:M_(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function M_(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function da(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function V_(e){return e.reduce((t,n)=>Ce(t,n.meta),{})}function j_(e,t){let n=0,s=t.length;for(;n!==s;){const r=n+s>>1;cf(e,t[r])<0?s=r:n=r+1}const o=U_(e);return o&&(s=t.lastIndexOf(o,s-1)),s}function U_(e){let t=e;for(;t=t.parent;)if(uf(t)&&cf(e,t)===0)return t}function uf({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function pa(e){const t=tt(Yo),n=tt($i),s=oe(()=>{const a=de(e.to);return t.resolve(a)}),o=oe(()=>{const{matched:a}=s.value,{length:c}=a,u=a[c-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(Qn.bind(null,u));if(d>-1)return d;const h=ha(a[c-2]);return c>1&&ha(u)===h&&f[f.length-1].path!==h?f.findIndex(Qn.bind(null,a[c-2])):d}),r=oe(()=>o.value>-1&&K_(n.params,s.value.params)),i=oe(()=>o.value>-1&&o.value===n.matched.length-1&&of(n.params,s.value.params));function l(a={}){if(W_(a)){const c=t[de(e.replace)?"replace":"push"](de(e.to)).catch(Ts);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:s,href:oe(()=>s.value.href),isActive:r,isExactActive:i,navigate:l}}function H_(e){return e.length===1?e[0]:e}const q_=Se({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:pa,setup(e,{slots:t}){const n=bt(pa(e)),{options:s}=tt(Yo),o=oe(()=>({[ma(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[ma(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=t.default&&H_(t.default(n));return e.custom?r:Ti("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},r)}}}),z_=q_;function W_(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function K_(e,t){for(const n in t){const s=t[n],o=e[n];if(typeof s=="string"){if(s!==o)return!1}else if(!Mt(o)||o.length!==s.length||s.some((r,i)=>r.valueOf()!==o[i].valueOf()))return!1}return!0}function ha(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ma=(e,t,n)=>e??t??n,G_=Se({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=tt(ni),o=oe(()=>e.route||s.value),r=tt(ia,0),i=oe(()=>{let c=de(r);const{matched:u}=o.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),l=oe(()=>o.value.matched[i.value]);gn(ia,oe(()=>i.value+1)),gn(S_,l),gn(ni,o);const a=K();return Ie(()=>[a.value,l.value,e.name],([c,u,f],[d,h,x])=>{u&&(u.instances[f]=c,h&&h!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),c&&u&&(!h||!Qn(u,h)||!d)&&(u.enterCallbacks[f]||[]).forEach(_=>_(c))},{flush:"post"}),()=>{const c=o.value,u=e.name,f=l.value,d=f&&f.components[u];if(!d)return ga(n.default,{Component:d,route:c});const h=f.props[u],x=h?h===!0?c.params:typeof h=="function"?h(c):h:null,m=Ti(d,Ce({},x,t,{onVnodeUnmounted:v=>{v.component.isUnmounted&&(f.instances[u]=null)},ref:a}));return ga(n.default,{Component:m,route:c})||m}}});function ga(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const J_=G_;function X_(e){const t=L_(e.routes,e),n=e.parseQuery||b_,s=e.stringifyQuery||ra,o=e.history,r=fs(),i=fs(),l=fs(),a=mn(un);let c=un;Un&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=yr.bind(null,E=>""+E),f=yr.bind(null,o_),d=yr.bind(null,Ls);function h(E,$){let V,Q;return rf(E)?(V=t.getRecordMatcher(E),Q=$):Q=E,t.addRoute(Q,V)}function x(E){const $=t.getRecordMatcher(E);$&&t.removeRoute($)}function _(){return t.getRoutes().map(E=>E.record)}function m(E){return!!t.getRecordMatcher(E)}function v(E,$){if($=Ce({},$||a.value),typeof E=="string"){const R=wr(n,E,$.path),N=t.resolve({path:R.path},$),U=o.createHref(R.fullPath);return Ce(R,N,{params:d(N.params),hash:Ls(R.hash),redirectedFrom:void 0,href:U})}let V;if(E.path!=null)V=Ce({},E,{path:wr(n,E.path,$.path).path});else{const R=Ce({},E.params);for(const N in R)R[N]==null&&delete R[N];V=Ce({},E,{params:f(R)}),$.params=f($.params)}const Q=t.resolve(V,$),le=E.hash||"";Q.params=u(d(Q.params));const y=l_(s,Ce({},E,{hash:t_(le),path:Q.path})),w=o.createHref(y);return Ce({fullPath:y,hash:le,query:s===ra?E_(E.query):E.query||{}},Q,{redirectedFrom:void 0,href:w})}function S(E){return typeof E=="string"?wr(n,E,a.value.path):Ce({},E)}function T(E,$){if(c!==E)return Zn(je.NAVIGATION_CANCELLED,{from:$,to:E})}function C(E){return P(E)}function g(E){return C(Ce(S(E),{replace:!0}))}function O(E,$){const V=E.matched[E.matched.length-1];if(V&&V.redirect){const{redirect:Q}=V;let le=typeof Q=="function"?Q(E,$):Q;return typeof le=="string"&&(le=le.includes("?")||le.includes("#")?le=S(le):{path:le},le.params={}),Ce({query:E.query,hash:E.hash,params:le.path!=null?{}:E.params},le)}}function P(E,$){const V=c=v(E),Q=a.value,le=E.state,y=E.force,w=E.replace===!0,R=O(V,Q);if(R)return P(Ce(S(R),{state:typeof R=="object"?Ce({},le,R.state):le,force:y,replace:w}),$||V);const N=V;N.redirectedFrom=$;let U;return!y&&a_(s,Q,V)&&(U=Zn(je.NAVIGATION_DUPLICATED,{to:N,from:Q}),be(Q,Q,!0,!1)),(U?Promise.resolve(U):J(N,Q)).catch(L=>Yt(L)?Yt(L,je.NAVIGATION_GUARD_REDIRECT)?L:we(L):ae(L,N,Q)).then(L=>{if(L){if(Yt(L,je.NAVIGATION_GUARD_REDIRECT))return P(Ce({replace:w},S(L.to),{state:typeof L.to=="object"?Ce({},le,L.to.state):le,force:y}),$||N)}else L=H(N,Q,!0,w,le);return se(N,Q,L),L})}function z(E,$){const V=T(E,$);return V?Promise.reject(V):Promise.resolve()}function D(E){const $=Ue.values().next().value;return $&&typeof $.runWithContext=="function"?$.runWithContext(E):E()}function J(E,$){let V;const[Q,le,y]=x_(E,$);V=Er(Q.reverse(),"beforeRouteLeave",E,$);for(const R of Q)R.leaveGuards.forEach(N=>{V.push(hn(N,E,$))});const w=z.bind(null,E,$);return V.push(w),He(V).then(()=>{V=[];for(const R of r.list())V.push(hn(R,E,$));return V.push(w),He(V)}).then(()=>{V=Er(le,"beforeRouteUpdate",E,$);for(const R of le)R.updateGuards.forEach(N=>{V.push(hn(N,E,$))});return V.push(w),He(V)}).then(()=>{V=[];for(const R of y)if(R.beforeEnter)if(Mt(R.beforeEnter))for(const N of R.beforeEnter)V.push(hn(N,E,$));else V.push(hn(R.beforeEnter,E,$));return V.push(w),He(V)}).then(()=>(E.matched.forEach(R=>R.enterCallbacks={}),V=Er(y,"beforeRouteEnter",E,$,D),V.push(w),He(V))).then(()=>{V=[];for(const R of i.list())V.push(hn(R,E,$));return V.push(w),He(V)}).catch(R=>Yt(R,je.NAVIGATION_CANCELLED)?R:Promise.reject(R))}function se(E,$,V){l.list().forEach(Q=>D(()=>Q(E,$,V)))}function H(E,$,V,Q,le){const y=T(E,$);if(y)return y;const w=$===un,R=Un?history.state:{};V&&(Q||w?o.replace(E.fullPath,Ce({scroll:w&&R&&R.scroll},le)):o.push(E.fullPath,le)),a.value=E,be(E,$,V,w),we()}let j;function W(){j||(j=o.listen((E,$,V)=>{if(!Ve.listening)return;const Q=v(E),le=O(Q,Ve.currentRoute.value);if(le){P(Ce(le,{replace:!0,force:!0}),Q).catch(Ts);return}c=Q;const y=a.value;Un&&g_(oa(y.fullPath,V.delta),Xo()),J(Q,y).catch(w=>Yt(w,je.NAVIGATION_ABORTED|je.NAVIGATION_CANCELLED)?w:Yt(w,je.NAVIGATION_GUARD_REDIRECT)?(P(Ce(S(w.to),{force:!0}),Q).then(R=>{Yt(R,je.NAVIGATION_ABORTED|je.NAVIGATION_DUPLICATED)&&!V.delta&&V.type===ei.pop&&o.go(-1,!1)}).catch(Ts),Promise.reject()):(V.delta&&o.go(-V.delta,!1),ae(w,Q,y))).then(w=>{w=w||H(Q,y,!1),w&&(V.delta&&!Yt(w,je.NAVIGATION_CANCELLED)?o.go(-V.delta,!1):V.type===ei.pop&&Yt(w,je.NAVIGATION_ABORTED|je.NAVIGATION_DUPLICATED)&&o.go(-1,!1)),se(Q,y,w)}).catch(Ts)}))}let ee=fs(),G=fs(),X;function ae(E,$,V){we(E);const Q=G.list();return Q.length?Q.forEach(le=>le(E,$,V)):console.error(E),Promise.reject(E)}function xe(){return X&&a.value!==un?Promise.resolve():new Promise((E,$)=>{ee.add([E,$])})}function we(E){return X||(X=!E,W(),ee.list().forEach(([$,V])=>E?V(E):$()),ee.reset()),E}function be(E,$,V,Q){const{scrollBehavior:le}=e;if(!Un||!le)return Promise.resolve();const y=!V&&__(oa(E.fullPath,0))||(Q||!V)&&history.state&&history.state.scroll||null;return _t().then(()=>le(E,$,y)).then(w=>w&&m_(w)).catch(w=>ae(w,E,$))}const Be=E=>o.go(E);let ye;const Ue=new Set,Ve={currentRoute:a,listening:!0,addRoute:h,removeRoute:x,clearRoutes:t.clearRoutes,hasRoute:m,getRoutes:_,resolve:v,options:e,push:C,replace:g,go:Be,back:()=>Be(-1),forward:()=>Be(1),beforeEach:r.add,beforeResolve:i.add,afterEach:l.add,onError:G.add,isReady:xe,install(E){E.component("RouterLink",z_),E.component("RouterView",J_),E.config.globalProperties.$router=Ve,Object.defineProperty(E.config.globalProperties,"$route",{enumerable:!0,get:()=>de(a)}),Un&&!ye&&a.value===un&&(ye=!0,C(o.location).catch(Q=>{}));const $={};for(const Q in un)Object.defineProperty($,Q,{get:()=>a.value[Q],enumerable:!0});E.provide(Yo,Ve),E.provide($i,vc($)),E.provide(ni,a);const V=E.unmount;Ue.add(E),E.unmount=function(){Ue.delete(E),Ue.size<1&&(c=un,j&&j(),j=null,a.value=un,ye=!1,X=!1),V()}}};function He(E){return E.reduce(($,V)=>$.then(()=>D(V)),Promise.resolve())}return Ve}function ff(){return tt(Yo)}function df(e){return tt($i)}function pf(e,t){return function(){return e.apply(t,arguments)}}const{toString:Y_}=Object.prototype,{getPrototypeOf:Qo}=Object,{iterator:Zo,toStringTag:hf}=Symbol,er=(e=>t=>{const n=Y_.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),jt=e=>(e=e.toLowerCase(),t=>er(t)===e),tr=e=>t=>typeof t===e,{isArray:ns}=Array,es=tr("undefined");function Ks(e){return e!==null&&!es(e)&&e.constructor!==null&&!es(e.constructor)&&ht(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const mf=jt("ArrayBuffer");function Q_(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&mf(e.buffer),t}const Z_=tr("string"),ht=tr("function"),gf=tr("number"),Gs=e=>e!==null&&typeof e=="object",ev=e=>e===!0||e===!1,ho=e=>{if(er(e)!=="object")return!1;const t=Qo(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(hf in e)&&!(Zo in e)},tv=e=>{if(!Gs(e)||Ks(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},nv=jt("Date"),sv=jt("File"),ov=e=>!!(e&&typeof e.uri<"u"),rv=e=>e&&typeof e.getParts<"u",iv=jt("Blob"),lv=jt("FileList"),av=e=>Gs(e)&&ht(e.pipe);function cv(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const _a=cv(),va=typeof _a.FormData<"u"?_a.FormData:void 0,uv=e=>{if(!e)return!1;if(va&&e instanceof va)return!0;const t=Qo(e);if(!t||t===Object.prototype||!ht(e.append))return!1;const n=er(e);return n==="formdata"||n==="object"&&ht(e.toString)&&e.toString()==="[object FormData]"},fv=jt("URLSearchParams"),[dv,pv,hv,mv]=["ReadableStream","Request","Response","Headers"].map(jt),gv=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Js(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let s,o;if(typeof e!="object"&&(e=[e]),ns(e))for(s=0,o=e.length;s<o;s++)t.call(null,e[s],s,e);else{if(Ks(e))return;const r=n?Object.getOwnPropertyNames(e):Object.keys(e),i=r.length;let l;for(s=0;s<i;s++)l=r[s],t.call(null,e[l],l,e)}}function _f(e,t){if(Ks(e))return null;t=t.toLowerCase();const n=Object.keys(e);let s=n.length,o;for(;s-- >0;)if(o=n[s],t===o.toLowerCase())return o;return null}const Rn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,vf=e=>!es(e)&&e!==Rn;function si(...e){const{caseless:t,skipUndefined:n}=vf(this)&&this||{},s={},o=(r,i)=>{if(i==="__proto__"||i==="constructor"||i==="prototype")return;const l=t&&_f(s,i)||i,a=oi(s,l)?s[l]:void 0;ho(a)&&ho(r)?s[l]=si(a,r):ho(r)?s[l]=si({},r):ns(r)?s[l]=r.slice():(!n||!es(r))&&(s[l]=r)};for(let r=0,i=e.length;r<i;r++)e[r]&&Js(e[r],o);return s}const _v=(e,t,n,{allOwnKeys:s}={})=>(Js(t,(o,r)=>{n&&ht(o)?Object.defineProperty(e,r,{__proto__:null,value:pf(o,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,r,{__proto__:null,value:o,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:s}),e),vv=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),yv=(e,t,n,s)=>{e.prototype=Object.create(t.prototype,s),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),n&&Object.assign(e.prototype,n)},wv=(e,t,n,s)=>{let o,r,i;const l={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),r=o.length;r-- >0;)i=o[r],(!s||s(i,e,t))&&!l[i]&&(t[i]=e[i],l[i]=!0);e=n!==!1&&Qo(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},bv=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const s=e.indexOf(t,n);return s!==-1&&s===n},Ev=e=>{if(!e)return null;if(ns(e))return e;let t=e.length;if(!gf(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Sv=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Qo(Uint8Array)),xv=(e,t)=>{const s=(e&&e[Zo]).call(e);let o;for(;(o=s.next())&&!o.done;){const r=o.value;t.call(e,r[0],r[1])}},Cv=(e,t)=>{let n;const s=[];for(;(n=e.exec(t))!==null;)s.push(n);return s},Av=jt("HTMLFormElement"),Rv=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,o){return s.toUpperCase()+o}),oi=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Tv=jt("RegExp"),yf=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),s={};Js(n,(o,r)=>{let i;(i=t(o,r,e))!==!1&&(s[r]=i||o)}),Object.defineProperties(e,s)},kv=e=>{yf(e,(t,n)=>{if(ht(e)&&["arguments","caller","callee"].includes(n))return!1;const s=e[n];if(ht(s)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Ov=(e,t)=>{const n={},s=o=>{o.forEach(r=>{n[r]=!0})};return ns(e)?s(e):s(String(e).split(t)),n},Pv=()=>{},Iv=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function Fv(e){return!!(e&&ht(e.append)&&e[hf]==="FormData"&&e[Zo])}const Bv=e=>{const t=new WeakSet,n=s=>{if(Gs(s)){if(t.has(s))return;if(Ks(s))return s;if(!("toJSON"in s)){t.add(s);const o=ns(s)?[]:{};return Js(s,(r,i)=>{const l=n(r);!es(l)&&(o[i]=l)}),t.delete(s),o}}return s};return n(e)},Dv=jt("AsyncFunction"),$v=e=>e&&(Gs(e)||ht(e))&&ht(e.then)&&ht(e.catch),wf=((e,t)=>e?setImmediate:t?((n,s)=>(Rn.addEventListener("message",({source:o,data:r})=>{o===Rn&&r===n&&s.length&&s.shift()()},!1),o=>{s.push(o),Rn.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",ht(Rn.postMessage)),Nv=typeof queueMicrotask<"u"?queueMicrotask.bind(Rn):typeof process<"u"&&process.nextTick||wf,Lv=e=>e!=null&&ht(e[Zo]),k={isArray:ns,isArrayBuffer:mf,isBuffer:Ks,isFormData:uv,isArrayBufferView:Q_,isString:Z_,isNumber:gf,isBoolean:ev,isObject:Gs,isPlainObject:ho,isEmptyObject:tv,isReadableStream:dv,isRequest:pv,isResponse:hv,isHeaders:mv,isUndefined:es,isDate:nv,isFile:sv,isReactNativeBlob:ov,isReactNative:rv,isBlob:iv,isRegExp:Tv,isFunction:ht,isStream:av,isURLSearchParams:fv,isTypedArray:Sv,isFileList:lv,forEach:Js,merge:si,extend:_v,trim:gv,stripBOM:vv,inherits:yv,toFlatObject:wv,kindOf:er,kindOfTest:jt,endsWith:bv,toArray:Ev,forEachEntry:xv,matchAll:Cv,isHTMLForm:Av,hasOwnProperty:oi,hasOwnProp:oi,reduceDescriptors:yf,freezeMethods:kv,toObjectSet:Ov,toCamelCase:Rv,noop:Pv,toFiniteNumber:Iv,findKey:_f,global:Rn,isContextDefined:vf,isSpecCompliantForm:Fv,toJSONObject:Bv,isAsyncFn:Dv,isThenable:$v,setImmediate:wf,asap:Nv,isIterable:Lv},Mv=k.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"]),Vv=e=>{const t={};let n,s,o;return e&&e.split(`
`).forEach(function(i){o=i.indexOf(":"),n=i.substring(0,o).trim().toLowerCase(),s=i.substring(o+1).trim(),!(!n||t[n]&&Mv[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t};function jv(e){let t=0,n=e.length;for(;t<n;){const s=e.charCodeAt(t);if(s!==9&&s!==32)break;t+=1}for(;n>t;){const s=e.charCodeAt(n-1);if(s!==9&&s!==32)break;n-=1}return t===0&&n===e.length?e:e.slice(t,n)}const Uv=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),Hv=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function Ni(e,t){return k.isArray(e)?e.map(n=>Ni(n,t)):jv(String(e).replace(t,""))}const qv=e=>Ni(e,Uv),zv=e=>Ni(e,Hv);function bf(e){const t=Object.create(null);return k.forEach(e.toJSON(),(n,s)=>{t[s]=zv(n)}),t}const ya=Symbol("internals");function ds(e){return e&&String(e).trim().toLowerCase()}function mo(e){return e===!1||e==null?e:k.isArray(e)?e.map(mo):qv(String(e))}function Wv(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(e);)t[s[1]]=s[2];return t}const Kv=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Sr(e,t,n,s,o){if(k.isFunction(s))return s.call(this,t,n);if(o&&(t=n),!!k.isString(t)){if(k.isString(s))return t.indexOf(s)!==-1;if(k.isRegExp(s))return s.test(t)}}function Gv(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function Jv(e,t){const n=k.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+n,{__proto__:null,value:function(o,r,i){return this[s].call(this,t,o,r,i)},configurable:!0})})}let ct=class{constructor(t){t&&this.set(t)}set(t,n,s){const o=this;function r(l,a,c){const u=ds(a);if(!u)throw new Error("header name must be a non-empty string");const f=k.findKey(o,u);(!f||o[f]===void 0||c===!0||c===void 0&&o[f]!==!1)&&(o[f||a]=mo(l))}const i=(l,a)=>k.forEach(l,(c,u)=>r(c,u,a));if(k.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(k.isString(t)&&(t=t.trim())&&!Kv(t))i(Vv(t),n);else if(k.isObject(t)&&k.isIterable(t)){let l={},a,c;for(const u of t){if(!k.isArray(u))throw TypeError("Object iterator must return a key-value pair");l[c=u[0]]=(a=l[c])?k.isArray(a)?[...a,u[1]]:[a,u[1]]:u[1]}i(l,n)}else t!=null&&r(n,t,s);return this}get(t,n){if(t=ds(t),t){const s=k.findKey(this,t);if(s){const o=this[s];if(!n)return o;if(n===!0)return Wv(o);if(k.isFunction(n))return n.call(this,o,s);if(k.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=ds(t),t){const s=k.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||Sr(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let o=!1;function r(i){if(i=ds(i),i){const l=k.findKey(s,i);l&&(!n||Sr(s,s[l],l,n))&&(delete s[l],o=!0)}}return k.isArray(t)?t.forEach(r):r(t),o}clear(t){const n=Object.keys(this);let s=n.length,o=!1;for(;s--;){const r=n[s];(!t||Sr(this,this[r],r,t,!0))&&(delete this[r],o=!0)}return o}normalize(t){const n=this,s={};return k.forEach(this,(o,r)=>{const i=k.findKey(s,r);if(i){n[i]=mo(o),delete n[r];return}const l=t?Gv(r):String(r).trim();l!==r&&delete n[r],n[l]=mo(o),s[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return k.forEach(this,(s,o)=>{s!=null&&s!==!1&&(n[o]=t&&k.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const s=new this(t);return n.forEach(o=>s.set(o)),s}static accessor(t){const s=(this[ya]=this[ya]={accessors:{}}).accessors,o=this.prototype;function r(i){const l=ds(i);s[l]||(Jv(o,i),s[l]=!0)}return k.isArray(t)?t.forEach(r):r(t),this}};ct.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);k.reduceDescriptors(ct.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[n]=s}}});k.freezeMethods(ct);const Xv="[REDACTED ****]";function Yv(e){if(k.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(k.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}function Qv(e,t){const n=new Set(t.map(r=>String(r).toLowerCase())),s=[],o=r=>{if(r===null||typeof r!="object"||k.isBuffer(r))return r;if(s.indexOf(r)!==-1)return;r instanceof ct&&(r=r.toJSON()),s.push(r);let i;if(k.isArray(r))i=[],r.forEach((l,a)=>{const c=o(l);k.isUndefined(c)||(i[a]=c)});else{if(!k.isPlainObject(r)&&Yv(r))return s.pop(),r;i=Object.create(null);for(const[l,a]of Object.entries(r)){const c=n.has(l.toLowerCase())?Xv:o(a);k.isUndefined(c)||(i[l]=c)}}return s.pop(),i};return o(e)}let re=class Ef extends Error{static from(t,n,s,o,r,i){const l=new Ef(t.message,n||t.code,s,o,r);return l.cause=t,l.name=t.name,t.status!=null&&l.status==null&&(l.status=t.status),i&&Object.assign(l,i),l}constructor(t,n,s,o,r){super(t),Object.defineProperty(this,"message",{__proto__:null,value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),s&&(this.config=s),o&&(this.request=o),r&&(this.response=r,this.status=r.status)}toJSON(){const t=this.config,n=t&&k.hasOwnProp(t,"redact")?t.redact:void 0,s=k.isArray(n)&&n.length>0?Qv(t,n):k.toJSONObject(t);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:s,code:this.code,status:this.status}}};re.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";re.ERR_BAD_OPTION="ERR_BAD_OPTION";re.ECONNABORTED="ECONNABORTED";re.ETIMEDOUT="ETIMEDOUT";re.ECONNREFUSED="ECONNREFUSED";re.ERR_NETWORK="ERR_NETWORK";re.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";re.ERR_DEPRECATED="ERR_DEPRECATED";re.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";re.ERR_BAD_REQUEST="ERR_BAD_REQUEST";re.ERR_CANCELED="ERR_CANCELED";re.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";re.ERR_INVALID_URL="ERR_INVALID_URL";re.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const Zv=null;function ri(e){return k.isPlainObject(e)||k.isArray(e)}function Sf(e){return k.endsWith(e,"[]")?e.slice(0,-2):e}function xr(e,t,n){return e?e.concat(t).map(function(o,r){return o=Sf(o),!n&&r?"["+o+"]":o}).join(n?".":""):t}function ey(e){return k.isArray(e)&&!e.some(ri)}const ty=k.toFlatObject(k,{},null,function(t){return/^is[A-Z]/.test(t)});function nr(e,t,n){if(!k.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=k.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,v){return!k.isUndefined(v[m])});const s=n.metaTokens,o=n.visitor||f,r=n.dots,i=n.indexes,l=n.Blob||typeof Blob<"u"&&Blob,a=n.maxDepth===void 0?100:n.maxDepth,c=l&&k.isSpecCompliantForm(t);if(!k.isFunction(o))throw new TypeError("visitor must be a function");function u(_){if(_===null)return"";if(k.isDate(_))return _.toISOString();if(k.isBoolean(_))return _.toString();if(!c&&k.isBlob(_))throw new re("Blob is not supported. Use a Buffer instead.");return k.isArrayBuffer(_)||k.isTypedArray(_)?c&&typeof Blob=="function"?new Blob([_]):Buffer.from(_):_}function f(_,m,v){let S=_;if(k.isReactNative(t)&&k.isReactNativeBlob(_))return t.append(xr(v,m,r),u(_)),!1;if(_&&!v&&typeof _=="object"){if(k.endsWith(m,"{}"))m=s?m:m.slice(0,-2),_=JSON.stringify(_);else if(k.isArray(_)&&ey(_)||(k.isFileList(_)||k.endsWith(m,"[]"))&&(S=k.toArray(_)))return m=Sf(m),S.forEach(function(C,g){!(k.isUndefined(C)||C===null)&&t.append(i===!0?xr([m],g,r):i===null?m:m+"[]",u(C))}),!1}return ri(_)?!0:(t.append(xr(v,m,r),u(_)),!1)}const d=[],h=Object.assign(ty,{defaultVisitor:f,convertValue:u,isVisitable:ri});function x(_,m,v=0){if(!k.isUndefined(_)){if(v>a)throw new re("Object is too deeply nested ("+v+" levels). Max depth: "+a,re.ERR_FORM_DATA_DEPTH_EXCEEDED);if(d.indexOf(_)!==-1)throw Error("Circular reference detected in "+m.join("."));d.push(_),k.forEach(_,function(T,C){(!(k.isUndefined(T)||T===null)&&o.call(t,T,k.isString(C)?C.trim():C,m,h))===!0&&x(T,m?m.concat(C):[C],v+1)}),d.pop()}}if(!k.isObject(e))throw new TypeError("data must be an object");return x(e),t}function wa(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(s){return t[s]})}function Li(e,t){this._pairs=[],e&&nr(e,this,t)}const xf=Li.prototype;xf.append=function(t,n){this._pairs.push([t,n])};xf.toString=function(t){const n=t?function(s){return t.call(this,s,wa)}:wa;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function ny(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Cf(e,t,n){if(!t)return e;const s=n&&n.encode||ny,o=k.isFunction(n)?{serialize:n}:n,r=o&&o.serialize;let i;if(r?i=r(t,o):i=k.isURLSearchParams(t)?t.toString():new Li(t,o).toString(s),i){const l=e.indexOf("#");l!==-1&&(e=e.slice(0,l)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class ba{constructor(){this.handlers=[]}use(t,n,s){return this.handlers.push({fulfilled:t,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){k.forEach(this.handlers,function(s){s!==null&&t(s)})}}const Mi={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},sy=typeof URLSearchParams<"u"?URLSearchParams:Li,oy=typeof FormData<"u"?FormData:null,ry=typeof Blob<"u"?Blob:null,iy={isBrowser:!0,classes:{URLSearchParams:sy,FormData:oy,Blob:ry},protocols:["http","https","file","blob","url","data"]},Vi=typeof window<"u"&&typeof document<"u",ii=typeof navigator=="object"&&navigator||void 0,ly=Vi&&(!ii||["ReactNative","NativeScript","NS"].indexOf(ii.product)<0),ay=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",cy=Vi&&window.location.href||"http://localhost",uy=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Vi,hasStandardBrowserEnv:ly,hasStandardBrowserWebWorkerEnv:ay,navigator:ii,origin:cy},Symbol.toStringTag,{value:"Module"})),et={...uy,...iy};function fy(e,t){return nr(e,new et.classes.URLSearchParams,{visitor:function(n,s,o,r){return et.isNode&&k.isBuffer(n)?(this.append(s,n.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)},...t})}function dy(e){return k.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function py(e){const t={},n=Object.keys(e);let s;const o=n.length;let r;for(s=0;s<o;s++)r=n[s],t[r]=e[r];return t}function Af(e){function t(n,s,o,r){let i=n[r++];if(i==="__proto__")return!0;const l=Number.isFinite(+i),a=r>=n.length;return i=!i&&k.isArray(o)?o.length:i,a?(k.hasOwnProp(o,i)?o[i]=k.isArray(o[i])?o[i].concat(s):[o[i],s]:o[i]=s,!l):((!k.hasOwnProp(o,i)||!k.isObject(o[i]))&&(o[i]=[]),t(n,s,o[i],r)&&k.isArray(o[i])&&(o[i]=py(o[i])),!l)}if(k.isFormData(e)&&k.isFunction(e.entries)){const n={};return k.forEachEntry(e,(s,o)=>{t(dy(s),o,n,0)}),n}return null}const Mn=(e,t)=>e!=null&&k.hasOwnProp(e,t)?e[t]:void 0;function hy(e,t,n){if(k.isString(e))try{return(t||JSON.parse)(e),k.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(e)}const Xs={transitional:Mi,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const s=n.getContentType()||"",o=s.indexOf("application/json")>-1,r=k.isObject(t);if(r&&k.isHTMLForm(t)&&(t=new FormData(t)),k.isFormData(t))return o?JSON.stringify(Af(t)):t;if(k.isArrayBuffer(t)||k.isBuffer(t)||k.isStream(t)||k.isFile(t)||k.isBlob(t)||k.isReadableStream(t))return t;if(k.isArrayBufferView(t))return t.buffer;if(k.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(r){const a=Mn(this,"formSerializer");if(s.indexOf("application/x-www-form-urlencoded")>-1)return fy(t,a).toString();if((l=k.isFileList(t))||s.indexOf("multipart/form-data")>-1){const c=Mn(this,"env"),u=c&&c.FormData;return nr(l?{"files[]":t}:t,u&&new u,a)}}return r||o?(n.setContentType("application/json",!1),hy(t)):t}],transformResponse:[function(t){const n=Mn(this,"transitional")||Xs.transitional,s=n&&n.forcedJSONParsing,o=Mn(this,"responseType"),r=o==="json";if(k.isResponse(t)||k.isReadableStream(t))return t;if(t&&k.isString(t)&&(s&&!o||r)){const l=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(t,Mn(this,"parseReviver"))}catch(a){if(l)throw a.name==="SyntaxError"?re.from(a,re.ERR_BAD_RESPONSE,this,null,Mn(this,"response")):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:et.classes.FormData,Blob:et.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};k.forEach(["delete","get","head","post","put","patch","query"],e=>{Xs.headers[e]={}});function Cr(e,t){const n=this||Xs,s=t||n,o=ct.from(s.headers);let r=s.data;return k.forEach(e,function(l){r=l.call(n,r,o.normalize(),t?t.status:void 0)}),o.normalize(),r}function Rf(e){return!!(e&&e.__CANCEL__)}let Ys=class extends re{constructor(t,n,s){super(t??"canceled",re.ERR_CANCELED,n,s),this.name="CanceledError",this.__CANCEL__=!0}};function Tf(e,t,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new re("Request failed with status code "+n.status,n.status>=400&&n.status<500?re.ERR_BAD_REQUEST:re.ERR_BAD_RESPONSE,n.config,n.request,n))}function my(e){const t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}function gy(e,t){e=e||10;const n=new Array(e),s=new Array(e);let o=0,r=0,i;return t=t!==void 0?t:1e3,function(a){const c=Date.now(),u=s[r];i||(i=c),n[o]=a,s[o]=c;let f=r,d=0;for(;f!==o;)d+=n[f++],f=f%e;if(o=(o+1)%e,o===r&&(r=(r+1)%e),c-i<t)return;const h=u&&c-u;return h?Math.round(d*1e3/h):void 0}}function _y(e,t){let n=0,s=1e3/t,o,r;const i=(c,u=Date.now())=>{n=u,o=null,r&&(clearTimeout(r),r=null),e(...c)};return[(...c)=>{const u=Date.now(),f=u-n;f>=s?i(c,u):(o=c,r||(r=setTimeout(()=>{r=null,i(o)},s-f)))},()=>o&&i(o)]}const Ro=(e,t,n=3)=>{let s=0;const o=gy(50,250);return _y(r=>{if(!r||typeof r.loaded!="number")return;const i=r.loaded,l=r.lengthComputable?r.total:void 0,a=l!=null?Math.min(i,l):i,c=Math.max(0,a-s),u=o(c);s=Math.max(s,a);const f={loaded:a,total:l,progress:l?a/l:void 0,bytes:c,rate:u||void 0,estimated:u&&l?(l-a)/u:void 0,event:r,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(f)},n)},Ea=(e,t)=>{const n=e!=null;return[s=>t[0]({lengthComputable:n,total:e,loaded:s}),t[1]]},Sa=e=>(...t)=>k.asap(()=>e(...t)),vy=et.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,et.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(et.origin),et.navigator&&/(msie|trident)/i.test(et.navigator.userAgent)):()=>!0,yy=et.hasStandardBrowserEnv?{write(e,t,n,s,o,r,i){if(typeof document>"u")return;const l=[`${e}=${encodeURIComponent(t)}`];k.isNumber(n)&&l.push(`expires=${new Date(n).toUTCString()}`),k.isString(s)&&l.push(`path=${s}`),k.isString(o)&&l.push(`domain=${o}`),r===!0&&l.push("secure"),k.isString(i)&&l.push(`SameSite=${i}`),document.cookie=l.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.split(";");for(let n=0;n<t.length;n++){const s=t[n].replace(/^\s+/,""),o=s.indexOf("=");if(o!==-1&&s.slice(0,o)===e)return decodeURIComponent(s.slice(o+1))}return null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function wy(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function by(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function kf(e,t,n){let s=!wy(t);return e&&(s||n===!1)?by(e,t):t}const xa=e=>e instanceof ct?{...e}:e;function In(e,t){t=t||{};const n=Object.create(null);Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function s(c,u,f,d){return k.isPlainObject(c)&&k.isPlainObject(u)?k.merge.call({caseless:d},c,u):k.isPlainObject(u)?k.merge({},u):k.isArray(u)?u.slice():u}function o(c,u,f,d){if(k.isUndefined(u)){if(!k.isUndefined(c))return s(void 0,c,f,d)}else return s(c,u,f,d)}function r(c,u){if(!k.isUndefined(u))return s(void 0,u)}function i(c,u){if(k.isUndefined(u)){if(!k.isUndefined(c))return s(void 0,c)}else return s(void 0,u)}function l(c,u,f){if(k.hasOwnProp(t,f))return s(c,u);if(k.hasOwnProp(e,f))return s(void 0,c)}const a={url:r,method:r,data:r,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,allowedSocketPaths:i,responseEncoding:i,validateStatus:l,headers:(c,u,f)=>o(xa(c),xa(u),f,!0)};return k.forEach(Object.keys({...e,...t}),function(u){if(u==="__proto__"||u==="constructor"||u==="prototype")return;const f=k.hasOwnProp(a,u)?a[u]:o,d=k.hasOwnProp(e,u)?e[u]:void 0,h=k.hasOwnProp(t,u)?t[u]:void 0,x=f(d,h,u);k.isUndefined(x)&&f!==l||(n[u]=x)}),n}const Ey=["content-type","content-length"];function Sy(e,t,n){if(n!=="content-only"){e.set(t);return}Object.entries(t).forEach(([s,o])=>{Ey.includes(s.toLowerCase())&&e.set(s,o)})}const xy=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,n)=>String.fromCharCode(parseInt(n,16))),Of=e=>{const t=In({},e),n=d=>k.hasOwnProp(t,d)?t[d]:void 0,s=n("data");let o=n("withXSRFToken");const r=n("xsrfHeaderName"),i=n("xsrfCookieName");let l=n("headers");const a=n("auth"),c=n("baseURL"),u=n("allowAbsoluteUrls"),f=n("url");if(t.headers=l=ct.from(l),t.url=Cf(kf(c,f,u),e.params,e.paramsSerializer),a&&l.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?xy(a.password):""))),k.isFormData(s)&&(et.hasStandardBrowserEnv||et.hasStandardBrowserWebWorkerEnv?l.setContentType(void 0):k.isFunction(s.getHeaders)&&Sy(l,s.getHeaders(),n("formDataHeaderPolicy"))),et.hasStandardBrowserEnv&&(k.isFunction(o)&&(o=o(t)),o===!0||o==null&&vy(t.url))){const h=r&&i&&yy.read(i);h&&l.set(r,h)}return t},Cy=typeof XMLHttpRequest<"u",Ay=Cy&&function(e){return new Promise(function(n,s){const o=Of(e);let r=o.data;const i=ct.from(o.headers).normalize();let{responseType:l,onUploadProgress:a,onDownloadProgress:c}=o,u,f,d,h,x;function _(){h&&h(),x&&x(),o.cancelToken&&o.cancelToken.unsubscribe(u),o.signal&&o.signal.removeEventListener("abort",u)}let m=new XMLHttpRequest;m.open(o.method.toUpperCase(),o.url,!0),m.timeout=o.timeout;function v(){if(!m)return;const T=ct.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),g={data:!l||l==="text"||l==="json"?m.responseText:m.response,status:m.status,statusText:m.statusText,headers:T,config:e,request:m};Tf(function(P){n(P),_()},function(P){s(P),_()},g),m=null}"onloadend"in m?m.onloadend=v:m.onreadystatechange=function(){!m||m.readyState!==4||m.status===0&&!(m.responseURL&&m.responseURL.startsWith("file:"))||setTimeout(v)},m.onabort=function(){m&&(s(new re("Request aborted",re.ECONNABORTED,e,m)),_(),m=null)},m.onerror=function(C){const g=C&&C.message?C.message:"Network Error",O=new re(g,re.ERR_NETWORK,e,m);O.event=C||null,s(O),_(),m=null},m.ontimeout=function(){let C=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const g=o.transitional||Mi;o.timeoutErrorMessage&&(C=o.timeoutErrorMessage),s(new re(C,g.clarifyTimeoutError?re.ETIMEDOUT:re.ECONNABORTED,e,m)),_(),m=null},r===void 0&&i.setContentType(null),"setRequestHeader"in m&&k.forEach(bf(i),function(C,g){m.setRequestHeader(g,C)}),k.isUndefined(o.withCredentials)||(m.withCredentials=!!o.withCredentials),l&&l!=="json"&&(m.responseType=o.responseType),c&&([d,x]=Ro(c,!0),m.addEventListener("progress",d)),a&&m.upload&&([f,h]=Ro(a),m.upload.addEventListener("progress",f),m.upload.addEventListener("loadend",h)),(o.cancelToken||o.signal)&&(u=T=>{m&&(s(!T||T.type?new Ys(null,e,m):T),m.abort(),_(),m=null)},o.cancelToken&&o.cancelToken.subscribe(u),o.signal&&(o.signal.aborted?u():o.signal.addEventListener("abort",u)));const S=my(o.url);if(S&&!et.protocols.includes(S)){s(new re("Unsupported protocol "+S+":",re.ERR_BAD_REQUEST,e));return}m.send(r||null)})},Ry=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;const n=new AbortController;let s=!1;const o=function(a){if(!s){s=!0,i();const c=a instanceof Error?a:this.reason;n.abort(c instanceof re?c:new Ys(c instanceof Error?c.message:c))}};let r=t&&setTimeout(()=>{r=null,o(new re(`timeout of ${t}ms exceeded`,re.ETIMEDOUT))},t);const i=()=>{e&&(r&&clearTimeout(r),r=null,e.forEach(a=>{a.unsubscribe?a.unsubscribe(o):a.removeEventListener("abort",o)}),e=null)};e.forEach(a=>a.addEventListener("abort",o));const{signal:l}=n;return l.unsubscribe=()=>k.asap(i),l},Ty=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let s=0,o;for(;s<n;)o=s+t,yield e.slice(s,o),s=o},ky=async function*(e,t){for await(const n of Oy(e))yield*Ty(n,t)},Oy=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:s}=await t.read();if(n)break;yield s}}finally{await t.cancel()}},Ca=(e,t,n,s)=>{const o=ky(e,t);let r=0,i,l=a=>{i||(i=!0,s&&s(a))};return new ReadableStream({async pull(a){try{const{done:c,value:u}=await o.next();if(c){l(),a.close();return}let f=u.byteLength;if(n){let d=r+=f;n(d)}a.enqueue(new Uint8Array(u))}catch(c){throw l(c),c}},cancel(a){return l(a),o.return()}},{highWaterMark:2})};function Py(e){if(!e||typeof e!="string"||!e.startsWith("data:"))return 0;const t=e.indexOf(",");if(t<0)return 0;const n=e.slice(5,t),s=e.slice(t+1);if(/;base64/i.test(n)){let i=s.length;const l=s.length;for(let h=0;h<l;h++)if(s.charCodeAt(h)===37&&h+2<l){const x=s.charCodeAt(h+1),_=s.charCodeAt(h+2);(x>=48&&x<=57||x>=65&&x<=70||x>=97&&x<=102)&&(_>=48&&_<=57||_>=65&&_<=70||_>=97&&_<=102)&&(i-=2,h+=2)}let a=0,c=l-1;const u=h=>h>=2&&s.charCodeAt(h-2)===37&&s.charCodeAt(h-1)===51&&(s.charCodeAt(h)===68||s.charCodeAt(h)===100);c>=0&&(s.charCodeAt(c)===61?(a++,c--):u(c)&&(a++,c-=3)),a===1&&c>=0&&(s.charCodeAt(c)===61||u(c))&&a++;const d=Math.floor(i/4)*3-(a||0);return d>0?d:0}if(typeof Buffer<"u"&&typeof Buffer.byteLength=="function")return Buffer.byteLength(s,"utf8");let r=0;for(let i=0,l=s.length;i<l;i++){const a=s.charCodeAt(i);if(a<128)r+=1;else if(a<2048)r+=2;else if(a>=55296&&a<=56319&&i+1<l){const c=s.charCodeAt(i+1);c>=56320&&c<=57343?(r+=4,i++):r+=3}else r+=3}return r}const ji="1.16.1",Aa=64*1024,{isFunction:ao}=k,Ra=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Iy=e=>{const t=k.global!==void 0&&k.global!==null?k.global:globalThis,{ReadableStream:n,TextEncoder:s}=t;e=k.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);const{fetch:o,Request:r,Response:i}=e,l=o?ao(o):typeof fetch=="function",a=ao(r),c=ao(i);if(!l)return!1;const u=l&&ao(n),f=l&&(typeof s=="function"?(v=>S=>v.encode(S))(new s):async v=>new Uint8Array(await new r(v).arrayBuffer())),d=a&&u&&Ra(()=>{let v=!1;const S=new r(et.origin,{body:new n,method:"POST",get duplex(){return v=!0,"half"}}),T=S.headers.has("Content-Type");return S.body!=null&&S.body.cancel(),v&&!T}),h=c&&u&&Ra(()=>k.isReadableStream(new i("").body)),x={stream:h&&(v=>v.body)};l&&["text","arrayBuffer","blob","formData","stream"].forEach(v=>{!x[v]&&(x[v]=(S,T)=>{let C=S&&S[v];if(C)return C.call(S);throw new re(`Response type '${v}' is not supported`,re.ERR_NOT_SUPPORT,T)})});const _=async v=>{if(v==null)return 0;if(k.isBlob(v))return v.size;if(k.isSpecCompliantForm(v))return(await new r(et.origin,{method:"POST",body:v}).arrayBuffer()).byteLength;if(k.isArrayBufferView(v)||k.isArrayBuffer(v))return v.byteLength;if(k.isURLSearchParams(v)&&(v=v+""),k.isString(v))return(await f(v)).byteLength},m=async(v,S)=>{const T=k.toFiniteNumber(v.getContentLength());return T??_(S)};return async v=>{let{url:S,method:T,data:C,signal:g,cancelToken:O,timeout:P,onDownloadProgress:z,onUploadProgress:D,responseType:J,headers:se,withCredentials:H="same-origin",fetchOptions:j,maxContentLength:W,maxBodyLength:ee}=Of(v);const G=k.isNumber(W)&&W>-1,X=k.isNumber(ee)&&ee>-1;let ae=o||fetch;J=J?(J+"").toLowerCase():"text";let xe=Ry([g,O&&O.toAbortSignal()],P),we=null;const be=xe&&xe.unsubscribe&&(()=>{xe.unsubscribe()});let Be;try{if(G&&typeof S=="string"&&S.startsWith("data:")&&Py(S)>W)throw new re("maxContentLength size of "+W+" exceeded",re.ERR_BAD_RESPONSE,v,we);if(X&&T!=="get"&&T!=="head"){const $=await m(se,C);if(typeof $=="number"&&isFinite($)&&$>ee)throw new re("Request body larger than maxBodyLength limit",re.ERR_BAD_REQUEST,v,we)}if(D&&d&&T!=="get"&&T!=="head"&&(Be=await m(se,C))!==0){let $=new r(S,{method:"POST",body:C,duplex:"half"}),V;if(k.isFormData(C)&&(V=$.headers.get("content-type"))&&se.setContentType(V),$.body){const[Q,le]=Ea(Be,Ro(Sa(D)));C=Ca($.body,Aa,Q,le)}}k.isString(H)||(H=H?"include":"omit");const ye=a&&"credentials"in r.prototype;if(k.isFormData(C)){const $=se.getContentType();$&&/^multipart\/form-data/i.test($)&&!/boundary=/i.test($)&&se.delete("content-type")}se.set("User-Agent","axios/"+ji,!1);const Ue={...j,signal:xe,method:T.toUpperCase(),headers:bf(se.normalize()),body:C,duplex:"half",credentials:ye?H:void 0};we=a&&new r(S,Ue);let Ve=await(a?ae(we,j):ae(S,Ue));if(G){const $=k.toFiniteNumber(Ve.headers.get("content-length"));if($!=null&&$>W)throw new re("maxContentLength size of "+W+" exceeded",re.ERR_BAD_RESPONSE,v,we)}const He=h&&(J==="stream"||J==="response");if(h&&Ve.body&&(z||G||He&&be)){const $={};["status","statusText","headers"].forEach(R=>{$[R]=Ve[R]});const V=k.toFiniteNumber(Ve.headers.get("content-length")),[Q,le]=z&&Ea(V,Ro(Sa(z),!0))||[];let y=0;const w=R=>{if(G&&(y=R,y>W))throw new re("maxContentLength size of "+W+" exceeded",re.ERR_BAD_RESPONSE,v,we);Q&&Q(R)};Ve=new i(Ca(Ve.body,Aa,w,()=>{le&&le(),be&&be()}),$)}J=J||"text";let E=await x[k.findKey(x,J)||"text"](Ve,v);if(G&&!h&&!He){let $;if(E!=null&&(typeof E.byteLength=="number"?$=E.byteLength:typeof E.size=="number"?$=E.size:typeof E=="string"&&($=typeof s=="function"?new s().encode(E).byteLength:E.length)),typeof $=="number"&&$>W)throw new re("maxContentLength size of "+W+" exceeded",re.ERR_BAD_RESPONSE,v,we)}return!He&&be&&be(),await new Promise(($,V)=>{Tf($,V,{data:E,headers:ct.from(Ve.headers),status:Ve.status,statusText:Ve.statusText,config:v,request:we})})}catch(ye){if(be&&be(),xe&&xe.aborted&&xe.reason instanceof re){const Ue=xe.reason;throw Ue.config=v,we&&(Ue.request=we),ye!==Ue&&(Ue.cause=ye),Ue}throw ye&&ye.name==="TypeError"&&/Load failed|fetch/i.test(ye.message)?Object.assign(new re("Network Error",re.ERR_NETWORK,v,we,ye&&ye.response),{cause:ye.cause||ye}):re.from(ye,ye&&ye.code,v,we,ye&&ye.response)}}},Fy=new Map,Pf=e=>{let t=e&&e.env||{};const{fetch:n,Request:s,Response:o}=t,r=[s,o,n];let i=r.length,l=i,a,c,u=Fy;for(;l--;)a=r[l],c=u.get(a),c===void 0&&u.set(a,c=l?new Map:Iy(t)),u=c;return c};Pf();const Ui={http:Zv,xhr:Ay,fetch:{get:Pf}};k.forEach(Ui,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch{}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});const Ta=e=>`- ${e}`,By=e=>k.isFunction(e)||e===null||e===!1;function Dy(e,t){e=k.isArray(e)?e:[e];const{length:n}=e;let s,o;const r={};for(let i=0;i<n;i++){s=e[i];let l;if(o=s,!By(s)&&(o=Ui[(l=String(s)).toLowerCase()],o===void 0))throw new re(`Unknown adapter '${l}'`);if(o&&(k.isFunction(o)||(o=o.get(t))))break;r[l||"#"+i]=o}if(!o){const i=Object.entries(r).map(([a,c])=>`adapter ${a} `+(c===!1?"is not supported by the environment":"is not available in the build"));let l=n?i.length>1?`since :
`+i.map(Ta).join(`
`):" "+Ta(i[0]):"as no adapter specified";throw new re("There is no suitable adapter to dispatch the request "+l,"ERR_NOT_SUPPORT")}return o}const If={getAdapter:Dy,adapters:Ui};function Ar(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ys(null,e)}function ka(e){return Ar(e),e.headers=ct.from(e.headers),e.data=Cr.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),If.getAdapter(e.adapter||Xs.adapter,e)(e).then(function(s){Ar(e),e.response=s;try{s.data=Cr.call(e,e.transformResponse,s)}finally{delete e.response}return s.headers=ct.from(s.headers),s},function(s){if(!Rf(s)&&(Ar(e),s&&s.response)){e.response=s.response;try{s.response.data=Cr.call(e,e.transformResponse,s.response)}finally{delete e.response}s.response.headers=ct.from(s.response.headers)}return Promise.reject(s)})}const sr={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{sr[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const Oa={};sr.transitional=function(t,n,s){function o(r,i){return"[Axios v"+ji+"] Transitional option '"+r+"'"+i+(s?". "+s:"")}return(r,i,l)=>{if(t===!1)throw new re(o(i," has been removed"+(n?" in "+n:"")),re.ERR_DEPRECATED);return n&&!Oa[i]&&(Oa[i]=!0,console.warn(o(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(r,i,l):!0}};sr.spelling=function(t){return(n,s)=>(console.warn(`${s} is likely a misspelling of ${t}`),!0)};function $y(e,t,n){if(typeof e!="object")throw new re("options must be an object",re.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let o=s.length;for(;o-- >0;){const r=s[o],i=Object.prototype.hasOwnProperty.call(t,r)?t[r]:void 0;if(i){const l=e[r],a=l===void 0||i(l,r,e);if(a!==!0)throw new re("option "+r+" must be "+a,re.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new re("Unknown option "+r,re.ERR_BAD_OPTION)}}const go={assertOptions:$y,validators:sr},Ct=go.validators;let Pn=class{constructor(t){this.defaults=t||{},this.interceptors={request:new ba,response:new ba}}async request(t,n){try{return await this._request(t,n)}catch(s){if(s instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const r=(()=>{if(!o.stack)return"";const i=o.stack.indexOf(`
`);return i===-1?"":o.stack.slice(i+1)})();try{if(!s.stack)s.stack=r;else if(r){const i=r.indexOf(`
`),l=i===-1?-1:r.indexOf(`
`,i+1),a=l===-1?"":r.slice(l+1);String(s.stack).endsWith(a)||(s.stack+=`
`+r)}}catch{}}throw s}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=In(this.defaults,n);const{transitional:s,paramsSerializer:o,headers:r}=n;s!==void 0&&go.assertOptions(s,{silentJSONParsing:Ct.transitional(Ct.boolean),forcedJSONParsing:Ct.transitional(Ct.boolean),clarifyTimeoutError:Ct.transitional(Ct.boolean),legacyInterceptorReqResOrdering:Ct.transitional(Ct.boolean)},!1),o!=null&&(k.isFunction(o)?n.paramsSerializer={serialize:o}:go.assertOptions(o,{encode:Ct.function,serialize:Ct.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),go.assertOptions(n,{baseUrl:Ct.spelling("baseURL"),withXsrfToken:Ct.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=r&&k.merge(r.common,r[n.method]);r&&k.forEach(["delete","get","head","post","put","patch","query","common"],x=>{delete r[x]}),n.headers=ct.concat(i,r);const l=[];let a=!0;this.interceptors.request.forEach(function(_){if(typeof _.runWhen=="function"&&_.runWhen(n)===!1)return;a=a&&_.synchronous;const m=n.transitional||Mi;m&&m.legacyInterceptorReqResOrdering?l.unshift(_.fulfilled,_.rejected):l.push(_.fulfilled,_.rejected)});const c=[];this.interceptors.response.forEach(function(_){c.push(_.fulfilled,_.rejected)});let u,f=0,d;if(!a){const x=[ka.bind(this),void 0];for(x.unshift(...l),x.push(...c),d=x.length,u=Promise.resolve(n);f<d;)u=u.then(x[f++],x[f++]);return u}d=l.length;let h=n;for(;f<d;){const x=l[f++],_=l[f++];try{h=x(h)}catch(m){_.call(this,m);break}}try{u=ka.call(this,h)}catch(x){return Promise.reject(x)}for(f=0,d=c.length;f<d;)u=u.then(c[f++],c[f++]);return u}getUri(t){t=In(this.defaults,t);const n=kf(t.baseURL,t.url,t.allowAbsoluteUrls);return Cf(n,t.params,t.paramsSerializer)}};k.forEach(["delete","get","head","options"],function(t){Pn.prototype[t]=function(n,s){return this.request(In(s||{},{method:t,url:n,data:(s||{}).data}))}});k.forEach(["post","put","patch","query"],function(t){function n(s){return function(r,i,l){return this.request(In(l||{},{method:t,headers:s?{"Content-Type":"multipart/form-data"}:{},url:r,data:i}))}}Pn.prototype[t]=n(),t!=="query"&&(Pn.prototype[t+"Form"]=n(!0))});let Ny=class Ff{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(r){n=r});const s=this;this.promise.then(o=>{if(!s._listeners)return;let r=s._listeners.length;for(;r-- >0;)s._listeners[r](o);s._listeners=null}),this.promise.then=o=>{let r;const i=new Promise(l=>{s.subscribe(l),r=l}).then(o);return i.cancel=function(){s.unsubscribe(r)},i},t(function(r,i,l){s.reason||(s.reason=new Ys(r,i,l),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=s=>{t.abort(s)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Ff(function(o){t=o}),cancel:t}}};function Ly(e){return function(n){return e.apply(null,n)}}function My(e){return k.isObject(e)&&e.isAxiosError===!0}const li={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,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(li).forEach(([e,t])=>{li[t]=e});function Bf(e){const t=new Pn(e),n=pf(Pn.prototype.request,t);return k.extend(n,Pn.prototype,t,{allOwnKeys:!0}),k.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return Bf(In(e,o))},n}const Me=Bf(Xs);Me.Axios=Pn;Me.CanceledError=Ys;Me.CancelToken=Ny;Me.isCancel=Rf;Me.VERSION=ji;Me.toFormData=nr;Me.AxiosError=re;Me.Cancel=Me.CanceledError;Me.all=function(t){return Promise.all(t)};Me.spread=Ly;Me.isAxiosError=My;Me.mergeConfig=In;Me.AxiosHeaders=ct;Me.formToJSON=e=>Af(k.isHTMLForm(e)?new FormData(e):e);Me.getAdapter=If.getAdapter;Me.HttpStatusCode=li;Me.default=Me;const{Axios:BE,Axi