Files
wecom_it_smart_desk/frontend-h5/dist-clean/assets/index-Yb6N__5M.js
T

44 lines
332 KiB
JavaScript
Raw Normal View History

const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-BHGKpyi1.js","assets/index-CBTj24VR.js","assets/index-B0ezQQt8.js","assets/index-DDElvLol.js","assets/Login-DyNoXiTS.js","assets/auth-BDitiLN6.js","assets/Login-miag2zlw.css","assets/Bind-DEWAOJFG.js","assets/Bind-Dnw4b3CT.css","assets/index-p_Y1ee2a.css","assets/WeworkOnly-BDScN169.js","assets/WeworkOnly-TGfgboZe.css","assets/AutomationProgress-bxHBdrMZ.js","assets/AutomationProgress-5xKDZdIh.css","assets/VideoIntro-DHQD2fbv.js","assets/VideoIntro-Dm0MpeQ3.css"])))=>i.map(i=>d[i]);
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))s(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const r of i.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&s(r)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function s(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();/**
* @vue/shared v3.5.35
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function Lr(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Le={},es=[],Qt=()=>{},Tc=()=>!1,Qo=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Zo=e=>e.startsWith("onUpdate:"),tt=Object.assign,Mr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},$f=Object.prototype.hasOwnProperty,Fe=(e,t)=>$f.call(e,t),ge=Array.isArray,ts=e=>so(e)==="[object Map]",kc=e=>so(e)==="[object Set]",Oa=e=>so(e)==="[object Date]",ve=e=>typeof e=="function",Me=e=>typeof e=="string",Bt=e=>typeof e=="symbol",De=e=>e!==null&&typeof e=="object",Rc=e=>(De(e)||ve(e))&&ve(e.then)&&ve(e.catch),Ic=Object.prototype.toString,so=e=>Ic.call(e),Bf=e=>so(e).slice(8,-1),Oc=e=>so(e)==="[object Object]",ei=e=>Me(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ns=Lr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ti=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ff=/-\w/g,_t=ti(e=>e.replace(Ff,t=>t.slice(1).toUpperCase())),Df=/\B([A-Z])/g,pn=ti(e=>e.replace(Df,"-$1").toLowerCase()),ni=ti(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ri=ti(e=>e?`on${ni(e)}`:""),Jt=(e,t)=>!Object.is(e,t),Ii=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Pc=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Nf=e=>{const t=parseFloat(e);return isNaN(t)?e:t},$c=e=>{const t=Me(e)?Number(e):NaN;return isNaN(t)?e:t};let Pa;const si=()=>Pa||(Pa=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Vn(e){if(ge(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],o=Me(s)?jf(s):Vn(s);if(o)for(const i in o)t[i]=o[i]}return t}else if(Me(e)||De(e))return e}const Lf=/;(?![^(]*\))/g,Mf=/:([^]+)/,Vf=/\/\*[^]*?\*\//g;function jf(e){const t={};return e.replace(Vf,"").split(Lf).forEach(n=>{if(n){const s=n.split(Mf);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Uf(e){if(!e)return"";if(Me(e))return e;let t="";for(const n in e){const s=e[n];if(Me(s)||typeof s=="number"){const o=n.startsWith("--")?n:pn(n);t+=`${o}:${s};`}}return t}function $e(e){let t="";if(Me(e))t=e;else if(ge(e))for(let n=0;n<e.length;n++){const s=$e(e[n]);s&&(t+=s+" ")}else if(De(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Hf="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",zf=Lr(Hf);function Bc(e){return!!e||e===""}function qf(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=Vr(e[s],t[s]);return n}function Vr(e,t){if(e===t)return!0;let n=Oa(e),s=Oa(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=Bt(e),s=Bt(t),n||s)return e===t;if(n=ge(e),s=ge(t),n||s)return n&&s?qf(e,t):!1;if(n=De(e),s=De(t),n||s){if(!n||!s)return!1;const o=Object.keys(e).length,i=Object.keys(t).length;if(o!==i)return!1;for(const r in e){const a=e.hasOwnProperty(r),l=t.hasOwnProperty(r);if(a&&!l||!a&&l||!Vr(e[r],t[r]))return!1}}return String(e)===String(t)}const Fc=e=>!!(e&&e.__v_isRef===!0),ne=e=>Me(e)?e:e==null?"":ge(e)||De(e)&&(e.toString===Ic||!ve(e.toString))?Fc(e)?ne(e.value):JSON.stringify(e,Dc,2):String(e),Dc=(e,t)=>Fc(t)?Dc(e,t.value):ts(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o],i)=>(n[Oi(s,i)+" =>"]=o,n),{})}:kc(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Oi(n))}:Bt(t)?Oi(t):De(t)&&!ge(t)&&!Oc(t)?String(t):t,Oi=(e,t="")=>{var n;return Bt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
* @vue/reactivity v3.5.35
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let et;class Nc{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&et&&(et.active?(this.parent=et,this.index=(et.scopes||(et.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=et;try{return et=this,t()}finally{et=n}}}on(){++this._on===1&&(this.prevScope=et,et=this)}off(){if(this._on>0&&--this._on===0){if(et===this)et=this.prevScope;else{let t=et;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0}}}function Lc(e){return new Nc(e)}function jr(){return et}function Mc(e,t=!1){et&&et.cleanups.push(e)}let Ue;const Pi=new WeakSet;class Vc{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,et&&(et.active?et.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Pi.has(this)&&(Pi.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Uc(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,$a(this),Hc(this);const t=Ue,n=Vt;Ue=this,Vt=!0;try{return this.fn()}finally{zc(this),Ue=t,Vt=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)zr(t);this.deps=this.depsTail=void 0,$a(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Pi.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){sr(this)&&this.run()}get dirty(){return sr(this)}}let jc=0,Ls,Ms;function Uc(e,t=!1){if(e.flags|=8,t){e.next=Ms,Ms=e;return}e.next=Ls,Ls=e}function Ur(){jc++}function Hr(){if(--jc>0)return;if(Ms){let t=Ms;for(Ms=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Ls;){let t=Ls;for(Ls=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function Hc(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function zc(e){let t,n=e.depsTail,s=n;for(;s;){const o=s.prevDep;s.version===-1?(s===n&&(n=o),zr(s),Wf(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=o}e.deps=t,e.depsTail=n}function sr(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(qc(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function qc(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Ks)||(e.globalVersion=Ks,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!sr(e))))return;e.flags|=2;const t=e.dep,n=Ue,s=Vt;Ue=e,Vt=!0;try{Hc(e);const o=e.fn(e._value);(t.version===0||Jt(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{Ue=n,Vt=s,zc(e),e.flags&=-3}}function zr(e,t=!1){const{dep:n,prevSub:s,nextSub:o}=e;if(s&&(s.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)zr(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Wf(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Vt=!0;const Wc=[];func
* @vue/runtime-core v3.5.35
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function oo(e,t,n,s){try{return s?e(...s):e()}catch(o){io(o,t,n)}}function Ft(e,t,n,s){if(ve(e)){const o=oo(e,t,n,s);return o&&Rc(o)&&o.catch(i=>{io(i,t,n)}),o}if(ge(e)){const o=[];for(let i=0;i<e.length;i++)o.push(Ft(e[i],t,n,s));return o}}function io(e,t,n,s=!0){const o=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:r}=t&&t.appContext.config||Le;if(t){let a=t.parent;const l=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const c=a.ec;if(c){for(let d=0;d<c.length;d++)if(c[d](e,l,u)===!1)return}a=a.parent}if(i){un(),oo(i,null,10,[e,l,u]),dn();return}}yh(e,n,o,s,r)}function yh(e,t,n,s=!0,o=!1){if(o)throw e;console.error(e)}const mt=[];let Kt=-1;const ss=[];let wn=null,Yn=0;const iu=Promise.resolve();let Ho=null;function We(e){const t=Ho||iu;return e?t.then(this?e.bind(this):e):t}function bh(e){let t=Kt+1,n=mt.length;for(;t<n;){const s=t+n>>>1,o=mt[s],i=Js(o);i<e||i===e&&o.flags&2?t=s+1:n=s}return t}function Kr(e){if(!(e.flags&1)){const t=Js(e),n=mt[mt.length-1];!n||!(e.flags&2)&&t>=Js(n)?mt.push(e):mt.splice(bh(t),0,e),e.flags|=1,ru()}}function ru(){Ho||(Ho=iu.then(lu))}function ar(e){ge(e)?ss.push(...e):wn&&e.id===-1?wn.splice(Yn+1,0,e):e.flags&1||(ss.push(e),e.flags|=1),ru()}function Fa(e,t,n=Kt+1){for(;n<mt.length;n++){const s=mt[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;mt.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function au(e){if(ss.length){const t=[...new Set(ss)].sort((n,s)=>Js(n)-Js(s));if(ss.length=0,wn){wn.push(...t);return}for(wn=t,Yn=0;Yn<wn.length;Yn++){const n=wn[Yn];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}wn=null,Yn=0}}const Js=e=>e.id==null?e.flags&2?-1:1/0:e.id;function lu(e){try{for(Kt=0;Kt<mt.length;Kt++){const t=mt[Kt];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),oo(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Kt<mt.length;Kt++){const t=mt[Kt];t&&(t.flags&=-2)}Kt=-1,mt.length=0,au(),Ho=null,(mt.length||ss.length)&&lu()}}let Ct=null,cu=null;function zo(e){const t=Ct;return Ct=e,cu=e&&e.type.__scopeId||null,t}function qe(e,t=Ct,n){if(!t||e._n)return e;const s=(...o)=>{s._d&&Ko(-1);const i=zo(t);let r;try{r=e(...o)}finally{zo(i),s._d&&Ko(1)}return r};return s._n=!0,s._c=!0,s._d=!0,s}function li(e,t){if(Ct===null)return e;const n=hi(Ct),s=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,r,a,l=Le]=t[o];i&&(ve(i)&&(i={mounted:i,updated:i}),i.deep&&an(r),s.push({dir:i,instance:n,value:r,oldValue:void 0,arg:a,modifiers:l}))}return e}function Cn(e,t,n,s){const o=e.dirs,i=t&&t.dirs;for(let r=0;r<o.length;r++){const a=o[r];i&&(a.oldValue=i[r].value);let l=a.dir[s];l&&(un(),Ft(l,n,8,[e.el,a,e,t]),dn())}}function Zt(e,t){if(at){let n=at.provides;const s=at.parent&&at.parent.provides;s===n&&(n=at.provides=Object.create(s)),n[e]=t}}function ot(e,t,n=!1){const s=Dt();if(s||Dn){let o=Dn?Dn._context.provides:s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&ve(t)?t.call(s&&s.proxy):t}}function wh(){return!!(Dt()||Dn)}const Eh=Symbol.for("v-scx"),Sh=()=>ot(Eh);function uu(e,t){return Gr(e,null,t)}function be(e,t,n){return Gr(e,t,n)}function Gr(e,t,n=Le){const{immediate:s,deep:o,flush:i,once:r}=n,a=tt({},n),l=t&&s||!t&&i!=="post";let u;if(Qs){if(i==="sync"){const h=Sh();u=h.__watcherHandles||(h.__watcherHandles=[])}else if(!l){const h=()=>{};return h.stop=Qt,h.resume=Qt,h.pause=Qt,h}}const c=at;a.call=(h,_,g)=>Ft(h,c,_,g);let d=!1;i==="post"?a.scheduler=h=>{it(h,c&&c.suspense)}:i!=="sync"&&(d=!0,a.scheduler=(h,_)=>{_?h():Kr(h)}),a.augmentJob=h=>{t&&(h.flags|=4),d&&(h.flags|=2,c&&(h.id=c.uid,h.i=c))};const f=_h(e,t,a);return Qs&&(u?u.push(f):l&&f()),f}function xh(e,t,n){const s=this.proxy,o=Me(e)?e.includes(".")?du(s,e):()=>s[e]:e.bind(s,s);let i;ve(t)?i=t:(i=t.handler,n=t);const r=ro(this),a=Gr(o,i.bind(s),n);return r(),a}function du(e,t){const n=t.split(".");return()=>{let s=e;for(let o=0;o<n.length&&s;o++)s=s[n[o]];return s}}const yn=new WeakMap,fu=Symbol("_vte"),hu=e=>e.__isTeleport,On=e=>e&&(e.disabled||e.disabled
* @vue/runtime-dom v3.5.35
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let yr;const Ya=typeof window<"u"&&window.trustedTypes;if(Ya)try{yr=Ya.createPolicy("vue",{createHTML:e=>e})}catch{}const qu=yr?e=>yr.createHTML(e):e=>e,$p="http://www.w3.org/2000/svg",Bp="http://www.w3.org/1998/Math/MathML",sn=typeof document<"u"?document:null,Qa=sn&&sn.createElement("template"),Fp={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const o=t==="svg"?sn.createElementNS($p,e):t==="mathml"?sn.createElementNS(Bp,e):n?sn.createElement(e,{is:n}):sn.createElement(e);return e==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:e=>sn.createTextNode(e),createComment:e=>sn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>sn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,o,i){const r=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{Qa.innerHTML=qu(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const a=Qa.content;if(s==="svg"||s==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[r?r.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},gn="transition",Ss="animation",Zs=Symbol("_vtc"),Wu={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Dp=tt({},pu,Wu),Np=e=>(e.displayName="Transition",e.props=Dp,e),Jo=Np((e,{slots:t})=>sa(Ih,Lp(e),t)),Tn=(e,t=[])=>{ge(e)?e.forEach(n=>n(...t)):e&&e(...t)},Za=e=>e?ge(e)?e.some(t=>t.length>1):e.length>1:!1;function Lp(e){const t={};for(const j in e)j in Wu||(t[j]=e[j]);if(e.css===!1)return t;const{name:n="v",type:s,duration:o,enterFromClass:i=`${n}-enter-from`,enterActiveClass:r=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:u=r,appearToClass:c=a,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,_=Mp(o),g=_&&_[0],m=_&&_[1],{onBeforeEnter:v,onEnter:b,onEnterCancelled:T,onLeave:A,onLeaveCancelled:y,onBeforeAppear:O=v,onAppear:P=b,onAppearCancelled:K=T}=t,F=(j,le,fe,we)=>{j._enterCancelled=we,kn(j,le?c:a),kn(j,le?u:r),fe&&fe()},D=(j,le)=>{j._isLeaving=!1,kn(j,d),kn(j,h),kn(j,f),le&&le()},J=j=>(le,fe)=>{const we=j?P:b,ue=()=>F(le,j,fe);Tn(we,[le,ue]),el(()=>{kn(le,j?l:i),tn(le,j?c:a),Za(we)||tl(le,s,g,ue)})};return tt(t,{onBeforeEnter(j){Tn(v,[j]),tn(j,i),tn(j,r)},onBeforeAppear(j){Tn(O,[j]),tn(j,l),tn(j,u)},onEnter:J(!1),onAppear:J(!0),onLeave(j,le){j._isLeaving=!0;const fe=()=>D(j,le);tn(j,d),j._enterCancelled?(tn(j,f),ol(j)):(ol(j),tn(j,f)),el(()=>{j._isLeaving&&(kn(j,d),tn(j,h),Za(A)||tl(j,s,m,fe))}),Tn(A,[j,fe])},onEnterCancelled(j){F(j,!1,void 0,!0),Tn(T,[j])},onAppearCancelled(j){F(j,!0,void 0,!0),Tn(K,[j])},onLeaveCancelled(j){D(j),Tn(y,[j])}})}function Mp(e){if(e==null)return null;if(De(e))return[Li(e.enter),Li(e.leave)];{const t=Li(e);return[t,t]}}function Li(e){return $c(e)}function tn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Zs]||(e[Zs]=new Set)).add(t)}function kn(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Zs];n&&(n.delete(t),n.size||(e[Zs]=void 0))}function el(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Vp=0;function tl(e,t,n,s){const o=e._endId=++Vp,i=()=>{o===e._endId&&s()};if(n!=null)return setTimeout(i,n);const{type:r,timeout:a,propCount:l}=jp(e,t);if(!r)return s();const u=r+"end";let c=0;const d=()=>{e.removeEventListener(u,f),i()},f=h=>{h.target===e&&++c>=l&&d()};setTimeout(()=>{c<l&&d()},a+1),e.addEventListener(u,f)}function jp(e,t){const n=window.getComputedStyle(e),s=_=>(n[_]||"").split(", "),o=s(`${gn}Delay`),i=s(`${gn}Duration`),r=nl(o,i),a=s(`
* pinia v2.3.1
* (c) 2025 Eduardo San Martin Morote
* @license MIT
*/let Ld;const bi=e=>Ld=e,Md=Symbol();function xr(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var qs;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(qs||(qs={}));function u_(){const e=Lc(!0),t=e.run(()=>U({}));let n=[],s=[];const o=Wr({install(i){bi(o),o._a=i,i.provide(Md,o),i.config.globalProperties.$pinia=o,s.forEach(r=>n.push(r)),s=[]},use(i){return this._a?n.push(i):s.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}const Vd=()=>{};function Fl(e,t,n,s=Vd){e.push(t);const o=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),s())};return!n&&jr()&&Mc(o),o}function Gn(e,...t){e.slice().forEach(n=>{n(...t)})}const d_=e=>e(),Dl=Symbol(),qi=Symbol();function Cr(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];xr(o)&&xr(s)&&e.hasOwnProperty(n)&&!Ke(s)&&!ln(s)?e[n]=Cr(o,s):e[n]=s}return e}const f_=Symbol();function h_(e){return!xr(e)||!e.hasOwnProperty(f_)}const{assign:bn}=Object;function p_(e){return!!(Ke(e)&&e.effect)}function m_(e,t,n,s){const{state:o,actions:i,getters:r}=t,a=n.state.value[e];let l;function u(){a||(n.state.value[e]=o?o():{});const c=fh(n.state.value[e]);return bn(c,i,Object.keys(r||{}).reduce((d,f)=>(d[f]=Wr(z(()=>{bi(n);const h=n._s.get(e);return r[f].call(h,h)})),d),{}))}return l=jd(e,u,t,n,s,!0),l}function jd(e,t,n={},s,o,i){let r;const a=bn({actions:{}},n),l={deep:!0};let u,c,d=[],f=[],h;const _=s.state.value[e];!i&&!_&&(s.state.value[e]={});let g;function m(K){let F;u=c=!1,typeof K=="function"?(K(s.state.value[e]),F={type:qs.patchFunction,storeId:e,events:h}):(Cr(s.state.value[e],K),F={type:qs.patchObject,payload:K,storeId:e,events:h});const D=g=Symbol();We().then(()=>{g===D&&(u=!0)}),c=!0,Gn(d,F,s.state.value[e])}const v=i?function(){const{state:F}=n,D=F?F():{};this.$patch(J=>{bn(J,D)})}:Vd;function b(){r.stop(),d=[],f=[],s._s.delete(e)}const T=(K,F="")=>{if(Dl in K)return K[qi]=F,K;const D=function(){bi(s);const J=Array.from(arguments),j=[],le=[];function fe(ae){j.push(ae)}function we(ae){le.push(ae)}Gn(f,{args:J,name:D[qi],store:y,after:fe,onError:we});let ue;try{ue=K.apply(this&&this.$id===e?this:y,J)}catch(ae){throw Gn(le,ae),ae}return ue instanceof Promise?ue.then(ae=>(Gn(j,ae),ae)).catch(ae=>(Gn(le,ae),Promise.reject(ae))):(Gn(j,ue),ue)};return D[Dl]=!0,D[qi]=F,D},A={_p:s,$id:e,$onAction:Fl.bind(null,f),$patch:m,$reset:v,$subscribe(K,F={}){const D=Fl(d,K,F.detached,()=>J()),J=r.run(()=>be(()=>s.state.value[e],j=>{(F.flush==="sync"?c:u)&&K({storeId:e,type:qs.direct,events:h},j)},bn({},l,F)));return D},$dispose:b},y=ct(A);s._s.set(e,y);const P=(s._a&&s._a.runWithContext||d_)(()=>s._e.run(()=>(r=Lc()).run(()=>t({action:T}))));for(const K in P){const F=P[K];if(Ke(F)&&!p_(F)||ln(F))i||(_&&h_(F)&&(Ke(F)?F.value=_[K]:Cr(F,_[K])),s.state.value[e][K]=F);else if(typeof F=="function"){const D=T(F,K);P[K]=D,a.actions[K]=F}}return bn(y,P),bn(Re(y),P),Object.defineProperty(y,"$state",{get:()=>s.state.value[e],set:K=>{m(F=>{bn(F,K)})}}),s._p.forEach(K=>{bn(y,r.run(()=>K({store:y,app:s._a,pinia:s,options:a})))}),_&&i&&n.hydrate&&n.hydrate(y.$state,_),u=!0,c=!0,y}/*! #__NO_SIDE_EFFECTS__ */function ma(e,t,n){let s,o;const i=typeof t=="function";typeof e=="string"?(s=e,o=i?n:t):(o=e,s=e.id);function r(a,l){const u=wh();return a=a||(u?ot(Md,null):null),a&&bi(a),a=Ld,a._s.has(s)||(i?jd(s,t,o,a):m_(s,o,a)),a._s.get(s)}return r.$id=s,r}const Ud="it_desk_h5_theme";function Nl(e){document.documentElement.setAttribute("data-theme",e),localStorage.setItem(Ud,e)}function g_(){const e=localStorage.getItem(Ud);return e==="dark"||e==="light"?e:window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}const Hd=ma("theme",()=>{const e=U("light");function t(){const s=e.value==="light"?"dark":"light";e.value=s,Nl(s)}function n(){const s=g_();e.value=s,Nl(s)}return{currentTheme:e,toggleTheme:t,initTheme:n}}),v_={class:"app-l
* vue-router v4.6.4
* (c) 2025 Eduardo San Martin Morote
* @license MIT
*/const Qn=typeof document<"u";function zd(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function E_(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&zd(e.default)}const Be=Object.assign;function Wi(e,t){const n={};for(const s in t){const o=t[s];n[s]=Ht(o)?o.map(e):e(o)}return n}const Ws=()=>{},Ht=Array.isArray;function Ml(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}const qd=/#/g,S_=/&/g,x_=/\//g,C_=/=/g,A_=/\?/g,Wd=/\+/g,T_=/%5B/g,k_=/%5D/g,Kd=/%5E/g,R_=/%60/g,Gd=/%7B/g,I_=/%7C/g,Jd=/%7D/g,O_=/%20/g;function ga(e){return e==null?"":encodeURI(""+e).replace(I_,"|").replace(T_,"[").replace(k_,"]")}function P_(e){return ga(e).replace(Gd,"{").replace(Jd,"}").replace(Kd,"^")}function Ar(e){return ga(e).replace(Wd,"%2B").replace(O_,"+").replace(qd,"%23").replace(S_,"%26").replace(R_,"`").replace(Gd,"{").replace(Jd,"}").replace(Kd,"^")}function $_(e){return Ar(e).replace(C_,"%3D")}function B_(e){return ga(e).replace(qd,"%23").replace(A_,"%3F")}function F_(e){return B_(e).replace(x_,"%2F")}function no(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const D_=/\/$/,N_=e=>e.replace(D_,"");function Ki(e,t,n="/"){let s,o={},i="",r="";const a=t.indexOf("#");let l=t.indexOf("?");return l=a>=0&&l>a?-1:l,l>=0&&(s=t.slice(0,l),i=t.slice(l,a>0?a:t.length),o=e(i.slice(1))),a>=0&&(s=s||t.slice(0,a),r=t.slice(a,t.length)),s=j_(s??t,n),{fullPath:s+i+r,path:s,query:o,hash:no(r)}}function L_(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Vl(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function M_(e,t,n){const s=t.matched.length-1,o=n.matched.length-1;return s>-1&&s===o&&us(t.matched[s],n.matched[o])&&Xd(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function us(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Xd(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!V_(e[n],t[n]))return!1;return!0}function V_(e,t){return Ht(e)?jl(e,t):Ht(t)?jl(t,e):(e==null?void 0:e.valueOf())===(t==null?void 0:t.valueOf())}function jl(e,t){return Ht(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function j_(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 i=n.length-1,r,a;for(r=0;r<s.length;r++)if(a=s[r],a!==".")if(a==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+s.slice(r).join("/")}const vn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Tr=function(e){return e.pop="pop",e.push="push",e}({}),Gi=function(e){return e.back="back",e.forward="forward",e.unknown="",e}({});function U_(e){if(!e)if(Qn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),N_(e)}const H_=/^[^#]+#/;function z_(e,t){return e.replace(H_,"#")+t}function q_(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 wi=()=>({left:window.scrollX,top:window.scrollY});function W_(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=q_(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 Ul(e,t){return(history.state?history.state.position-t:-1)+e}const kr=new Map;function K_(e,t){kr.set(e,t)}function G_(e){const t=kr.get(e);return kr.delete(e),t}function J_(e){return typeof e=="string"||e&&typeof e=="object"}function Yd(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]="
* vue-router v4.6.4
* (c) 2025 Eduardo San Martin Morote
* @license MIT
*/let ny=()=>location.protocol+"//"+location.host;function Zd(e,t){const{pathname:n,search:s,hash:o}=t,i=e.indexOf("#");if(i>-1){let r=o.includes(e.slice(i))?e.slice(i).length:1,a=o.slice(r);return a[0]!=="/"&&(a="/"+a),Vl(a,"")}return Vl(n,e)+s+o}function sy(e,t,n,s){let o=[],i=[],r=null;const a=({state:f})=>{const h=Zd(e,location),_=n.value,g=t.value;let m=0;if(f){if(n.value=h,t.value=f,r&&r===_){r=null;return}m=g?f.position-g.position:0}else s(h);o.forEach(v=>{v(n.value,_,{delta:m,type:Tr.pop,direction:m?m>0?Gi.forward:Gi.back:Gi.unknown})})};function l(){r=n.value}function u(f){o.push(f);const h=()=>{const _=o.indexOf(f);_>-1&&o.splice(_,1)};return i.push(h),h}function c(){if(document.visibilityState==="hidden"){const{history:f}=window;if(!f.state)return;f.replaceState(Be({},f.state,{scroll:wi()}),"")}}function d(){for(const f of i)f();i=[],window.removeEventListener("popstate",a),window.removeEventListener("pagehide",c),document.removeEventListener("visibilitychange",c)}return window.addEventListener("popstate",a),window.addEventListener("pagehide",c),document.addEventListener("visibilitychange",c),{pauseListeners:l,listen:u,destroy:d}}function ql(e,t,n,s=!1,o=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:o?wi():null}}function oy(e){const{history:t,location:n}=window,s={value:Zd(e,n)},o={value:t.state};o.value||i(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(l,u,c){const d=e.indexOf("#"),f=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+l:ny()+e+l;try{t[c?"replaceState":"pushState"](u,"",f),o.value=u}catch(h){console.error(h),n[c?"replace":"assign"](f)}}function r(l,u){i(l,Be({},t.state,ql(o.value.back,l,o.value.forward,!0),u,{position:o.value.position}),!0),s.value=l}function a(l,u){const c=Be({},o.value,t.state,{forward:l,scroll:wi()});i(c.current,c,!0),i(l,Be({},ql(s.value,l,null),{position:c.position+1},u),!1),s.value=l}return{location:s,state:o,push:a,replace:r}}function iy(e){e=U_(e);const t=oy(e),n=sy(e,t.state,t.location,t.replace);function s(i,r=!0){r||n.pauseListeners(),history.go(i)}const o=Be({location:"",base:e,go:s,createHref:z_.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 $n=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e}({});var Ze=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}(Ze||{});const ry={type:$n.Static,value:""},ay=/[a-zA-Z0-9_]/;function ly(e){if(!e)return[[]];if(e==="/")return[[ry]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${u}": ${h}`)}let n=Ze.Static,s=n;const o=[];let i;function r(){i&&o.push(i),i=[]}let a=0,l,u="",c="";function d(){u&&(n===Ze.Static?i.push({type:$n.Static,value:u}):n===Ze.Param||n===Ze.ParamRegExp||n===Ze.ParamRegExpEnd?(i.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),i.push({type:$n.Param,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function f(){u+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==Ze.ParamRegExp){s=n,n=Ze.EscapeNext;continue}switch(n){case Ze.Static:l==="/"?(u&&d(),r()):l===":"?(d(),n=Ze.Param):f();break;case Ze.EscapeNext:f(),n=s;break;case Ze.Param:l==="("?n=Ze.ParamRegExp:ay.test(l)?f():(d(),n=Ze.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case Ze.ParamRegExp:l===")"?c[c.length-1]=="\\"?c=c.slice(0,-1)+l:n=Ze.ParamRegExpEnd:c+=l;break;case Ze.ParamRegExpEnd:d(),n=Ze.Static,l!=="*"&&l!=="?"&&l!=="+"&&a--,c="";break;default:t("Unknown state");break}}return n===Ze.ParamRegExp&&t(`Unfinished custom RegExp for param "${u}"`),d(),r(),o}const Wl="[^/]+?",cy={sensitive:!1,strict:!1,start:!0,end:!0};var pt=function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=
`).forEach(function(r){o=r.indexOf(":"),n=r.substring(0,o).trim().toLowerCase(),s=r.substring(o+1).trim(),!(!n||t[n]&&gb[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t};function _b(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 yb=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),bb=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function ya(e,t){return R.isArray(e)?e.map(n=>ya(n,t)):_b(String(e).replace(t,""))}const wb=e=>ya(e,yb),Eb=e=>ya(e,bb);function ff(e){const t=Object.create(null);return R.forEach(e.toJSON(),(n,s)=>{t[s]=Eb(n)}),t}const sc=Symbol("internals");function Is(e){return e&&String(e).trim().toLowerCase()}function Mo(e){return e===!1||e==null?e:R.isArray(e)?e.map(Mo):wb(String(e))}function Sb(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 xb=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Xi(e,t,n,s,o){if(R.isFunction(s))return s.call(this,t,n);if(o&&(t=n),!!R.isString(t)){if(R.isString(s))return t.indexOf(s)!==-1;if(R.isRegExp(s))return s.test(t)}}function Cb(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function Ab(e,t){const n=R.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+n,{__proto__:null,value:function(o,i,r){return this[s].call(this,t,o,i,r)},configurable:!0})})}let yt=class{constructor(t){t&&this.set(t)}set(t,n,s){const o=this;function i(a,l,u){const c=Is(l);if(!c)throw new Error("header name must be a non-empty string");const d=R.findKey(o,c);(!d||o[d]===void 0||u===!0||u===void 0&&o[d]!==!1)&&(o[d||l]=Mo(a))}const r=(a,l)=>R.forEach(a,(u,c)=>i(u,c,l));if(R.isPlainObject(t)||t instanceof this.constructor)r(t,n);else if(R.isString(t)&&(t=t.trim())&&!xb(t))r(vb(t),n);else if(R.isObject(t)&&R.isIterable(t)){let a={},l,u;for(const c of t){if(!R.isArray(c))throw TypeError("Object iterator must return a key-value pair");a[u=c[0]]=(l=a[u])?R.isArray(l)?[...l,c[1]]:[l,c[1]]:c[1]}r(a,n)}else t!=null&&i(n,t,s);return this}get(t,n){if(t=Is(t),t){const s=R.findKey(this,t);if(s){const o=this[s];if(!n)return o;if(n===!0)return Sb(o);if(R.isFunction(n))return n.call(this,o,s);if(R.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Is(t),t){const s=R.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||Xi(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let o=!1;function i(r){if(r=Is(r),r){const a=R.findKey(s,r);a&&(!n||Xi(s,s[a],a,n))&&(delete s[a],o=!0)}}return R.isArray(t)?t.forEach(i):i(t),o}clear(t){const n=Object.keys(this);let s=n.length,o=!1;for(;s--;){const i=n[s];(!t||Xi(this,this[i],i,t,!0))&&(delete this[i],o=!0)}return o}normalize(t){const n=this,s={};return R.forEach(this,(o,i)=>{const r=R.findKey(s,i);if(r){n[r]=Mo(o),delete n[i];return}const a=t?Cb(i):String(i).trim();a!==i&&delete n[i],n[a]=Mo(o),s[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return R.forEach(this,(s,o)=>{s!=null&&s!==!1&&(n[o]=t&&R.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[sc]=this[sc]={accessors:{}}).accessors,o=this.prototype;function i(r){const a=Is(r);s[a]||(Ab(o,r),s[a]=!0)}return R.isArray(t)?t.forEach(i):i(t),this}};yt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);R.reduceDescriptors(yt.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[n]=s}}});R.freezeMethods(yt);const Tb="[REDACTED ****]";function kb(e){if(R.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(R.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}function Rb(e,t){const n=new Set(t.map(i=>String(i).toLowerCase())),s=[],o=i=>{if(i===null||typeof i!="object"||R.isBuffer(i))return i;if(s.indexOf(i)!==-1)return;i instanceof yt&&(i=i.toJSON()),s.push(i);let r;if(R.isArray(i))r=[],i.forEach((a,l)=>{const u=o(a);R.isUndefined(u)||(r[l]=u)});else{if(!R.isPlainObject(i)&&kb(i))return s.pop(),i;r=Object.create(null);for(const[a,l]of Object.entries(i)){const u=n.has(a.toLowerCase())?Tb:o(l);R.isUndefined(u)||(r[a]=u)}}return s.pop(),r};return o(e)}let de=class hf extends Error{static from(t,n,s,o,i,r){const a=new hf(t.message,n||t.code,s,o,i);return a.cause=t,a.name=t.name,t.status!=null&&a.status==null&&(a.status=t.status),r&&Object.assign(a,r),a}constructor(t,n,s,o,i){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),i&&(this.response=i,this.status=i.status)}toJSON(){const t=this.config,n=t&&R.hasOwnProp(t,"redact")?t.redact:void 0,s=R.isArray(n)&&n.length>0?Rb(t,n):R.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}}};de.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";de.ERR_BAD_OPTION="ERR_BAD_OPTION";de.ECONNABORTED="ECONNABORTED";de.ETIMEDOUT="ETIMEDOUT";de.ECONNREFUSED="ECONNREFUSED";de.ERR_NETWORK="ERR_NETWORK";de.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";de.ERR_DEPRECATED="ERR_DEPRECATED";de.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";de.ERR_BAD_REQUEST="ERR_BAD_REQUEST";de.ERR_CANCELED="ERR_CANCELED";de.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";de.ERR_INVALID_URL="ERR_INVALID_URL";de.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const Ib=null;function Pr(e){return R.isPlainObject(e)||R.isArray(e)}function pf(e){return R.endsWith(e,"[]")?e.slice(0,-2):e}function Yi(e,t,n){return e?e.concat(t).map(function(o,i){return o=pf(o),!n&&i?"["+o+"]":o}).join(n?".":""):t}function Ob(e){return R.isArray(e)&&!e.some(Pr)}const Pb=R.toFlatObject(R,{},null,function(t){return/^is[A-Z]/.test(t)});function Ti(e,t,n){if(!R.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=R.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,v){return!R.isUndefined(v[m])});const s=n.metaTokens,o=n.visitor||d,i=n.dots,r=n.indexes,a=n.Blob||typeof Blob<"u"&&Blob,l=n.maxDepth===void 0?100:n.maxDepth,u=a&&R.isSpecCompliantForm(t);if(!R.isFunction(o))throw new TypeError("visitor must be a function");function c(g){if(g===null)return"";if(R.isDate(g))return g.toISOString();if(R.isBoolean(g))return g.toString();if(!u&&R.isBlob(g))throw new de("Blob is not supported. Use a Buffer instead.");return R.isArrayBuffer(g)||R.isTypedArray(g)?u&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function d(g,m,v){let b=g;if(R.isReactNative(t)&&R.isReactNativeBlob(g))return t.append(Yi(v,m,i),c(g)),!1;if(g&&!v&&typeof g=="object"){if(R.endsWith(m,"{}"))m=s?m:m.slice(0,-2),g=JSON.stringify(g);else if(R.isArray(g)&&Ob(g)||(R.isFileList(g)||R.endsWith(m,"[]"
`+r.map(fc).join(`
`):" "+fc(r[0]):"as no adapter specified";throw new de("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return o}const Sf={getAdapter:f0,adapters:xa};function Zi(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new vo(null,e)}function hc(e){return Zi(e),e.headers=yt.from(e.headers),e.data=Qi.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Sf.getAdapter(e.adapter||go.adapter,e)(e).then(function(s){Zi(e),e.response=s;try{s.data=Qi.call(e,e.transformResponse,s)}finally{delete e.response}return s.headers=yt.from(s.headers),s},function(s){if(!_f(s)&&(Zi(e),s&&s.response)){e.response=s.response;try{s.response.data=Qi.call(e,e.transformResponse,s.response)}finally{delete e.response}s.response.headers=yt.from(s.response.headers)}return Promise.reject(s)})}const ki={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ki[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const pc={};ki.transitional=function(t,n,s){function o(i,r){return"[Axios v"+Sa+"] Transitional option '"+i+"'"+r+(s?". "+s:"")}return(i,r,a)=>{if(t===!1)throw new de(o(r," has been removed"+(n?" in "+n:"")),de.ERR_DEPRECATED);return n&&!pc[r]&&(pc[r]=!0,console.warn(o(r," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,r,a):!0}};ki.spelling=function(t){return(n,s)=>(console.warn(`${s} is likely a misspelling of ${t}`),!0)};function h0(e,t,n){if(typeof e!="object")throw new de("options must be an object",de.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let o=s.length;for(;o-- >0;){const i=s[o],r=Object.prototype.hasOwnProperty.call(t,i)?t[i]:void 0;if(r){const a=e[i],l=a===void 0||r(a,i,e);if(l!==!0)throw new de("option "+i+" must be "+l,de.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new de("Unknown option "+i,de.ERR_BAD_OPTION)}}const Vo={assertOptions:h0,validators:ki},It=Vo.validators;let Ln=class{constructor(t){this.defaults=t||{},this.interceptors={request:new ic,response:new ic}}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 i=(()=>{if(!o.stack)return"";const r=o.stack.indexOf(`
`);return r===-1?"":o.stack.slice(r+1)})();try{if(!s.stack)s.stack=i;else if(i){const r=i.indexOf(`
`),a=r===-1?-1:i.indexOf(`
`,r+1),l=a===-1?"":i.slice(a+1);String(s.stack).endsWith(l)||(s.stack+=`
`+i)}}catch{}}throw s}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Mn(this.defaults,n);const{transitional:s,paramsSerializer:o,headers:i}=n;s!==void 0&&Vo.assertOptions(s,{silentJSONParsing:It.transitional(It.boolean),forcedJSONParsing:It.transitional(It.boolean),clarifyTimeoutError:It.transitional(It.boolean),legacyInterceptorReqResOrdering:It.transitional(It.boolean)},!1),o!=null&&(R.isFunction(o)?n.paramsSerializer={serialize:o}:Vo.assertOptions(o,{encode:It.function,serialize:It.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Vo.assertOptions(n,{baseUrl:It.spelling("baseURL"),withXsrfToken:It.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let r=i&&R.merge(i.common,i[n.method]);i&&R.forEach(["delete","get","head","post","put","patch","query","common"],_=>{delete i[_]}),n.headers=yt.concat(r,i);const a=[];let l=!0;this.interceptors.request.forEach(function(g){if(typeof g.runWhen=="function"&&g.runWhen(n)===!1)return;l=l&&g.synchronous;const m=n.transitional||wa;m&&m.legacyInterceptorReqResOrdering?a.unshift(g.fulfilled,g.rejected):a.push(g.fulfilled,g.rejected)});const u=[];this.interceptors.response.forEach(function(g){u.push(g.fulfilled,g.rejected)});let c,d=0,f;if(!l){const _=[hc.bind(this),void 0];for(_.unshift(...a),_.push(...u),f=_.length,c=Promise.resolve(n);d<f;)c=c.then(_[d++],_[d++]);return c}f=a.length;let h=n;for(;d<f;){const _=a[d++],g=a[d++];try{h=_(h)}catch(m){g.call(this,m);break}}try{c=hc.call(this,h)}catch(_){return Promise.reject(_)}for(d=0,f=u.length;d<f;)c=c.then(u[d++],u[d++]);return c}getUri(t){t=Mn(this.defaults,t);const n=bf(t.baseURL,t.url,t.allowAbsoluteUrls);return gf(n,t.params,t.paramsSerializer)}};R.forEach(["delete","get","head","options"],function(t){Ln.prototype[t]=function(n,s){return this.request(Mn(s||{},{method:t,url:n,data:(s||{}).data}))}});R.forEach(["post","put","patch","query"],function(t){function n(s){return function(i,r,a){return this.request(Mn(a||{},{method:t,headers:s?{"Content-Type":"multipart/form-data"}:{},url:i,data:r}))}}Ln.prototype[t]=n(),t!=="query"&&(Ln.prototype[t+"Form"]=n(!0))});let p0=class xf{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const s=this;this.promise.then(o=>{if(!s._listeners)return;let i=s._listeners.length;for(;i-- >0;)s._listeners[i](o);s._listeners=null}),this.promise.then=o=>{let i;const r=new Promise(a=>{s.subscribe(a),i=a}).then(o);return r.cancel=function(){s.unsubscribe(i)},r},t(function(i,r,a){s.reason||(s.reason=new vo(i,r,a),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 xf(function(o){t=o}),cancel:t}}};function m0(e){return function(n){return e.apply(null,n)}}function g0(e){return R.isObject(e)&&e.isAxiosError===!0}const Br={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,Misdirec
🎉 坐席已为您服务,请稍候...`,t.value&&(t.value.status="serving")):X.assign_result==="queued"&&(ie.content=`${X.funny_phrase}
⏳ 当前无空闲坐席,您已进入排队,请耐心等待...`),((N=X.conversation)==null?void 0:N.status)==="serving"&&await ue(),X.assign_result||"queued"}catch(L){return console.error("[Store] 招手失败:",L),"error"}finally{o.value=!1}}async function Z(){try{const C=await C0();u.value=C,console.log("[Store] 获取审批链接成功:",C.length,"")}catch(C){console.error("[Store] 获取审批链接失败:",C)}}async function ye(C){var N;try{const L=await k0(C);if(console.log("[Store] 审批意图检测结果:",L),L.is_approval_request){const X={message_id:`approval_card_${Date.now()}`,conversation_id:((N=t.value)==null?void 0:N.conversation_id)||"",message_type:"system",msg_type:"approval_card",content:"",sender_name:"",created_at:new Date().toISOString(),extra_data:{approval_type:L.approval_type,confidence:L.confidence}};n.value.push(X),console.log("[Store] 已插入审批卡片消息, approval_type:",L.approval_type)}}catch(L){console.warn("[Store] 审批意图检测失败:",L)}}function te(){c.value=!1,d.value=""}function he(C=""){var L;const N={message_id:`approval_card_${Date.now()}`,conversation_id:((L=t.value)==null?void 0:L.conversation_id)||"",message_type:"system",msg_type:"approval_card",content:"",sender_name:"",created_at:new Date().toISOString(),extra_data:{approval_type:"",confidence:0}};n.value.push(N),console.log("[Store] 手动插入审批卡片消息快捷按钮触发")}async function E(){try{const C=await R0();f.value=C,console.log("[Store] 获取软件下载列表成功:",C.length,"")}catch(C){console.error("[Store] 获取软件下载列表失败:",C)}}function B(){l.value=!l.value}async function M(C){try{await ue();const N=t.value;N&&N.conversation_id!==C&&console.warn("[Store] 当前会话ID不匹配, 期望:",C,"实际:",N.conversation_id),n.value=[],h.value="",await Q(),console.log("[Store] 已切换到邀请会话:",C)}catch(N){console.error("[Store] 切换会话失败:",N)}}async function ee(){if(!t.value)return;const C=t.value.conversation_id;try{await O0(C),console.log("[Store] 已退出会话:",C),t.value=null,b.value=[],n.value=[],h.value="",q()}catch(N){throw console.error("[Store] 退出会话失败:",N),N}}function ce(){T.value=!T.value}async function w(C){const N=n.value.findIndex(ie=>ie.message_id===C);if(N===-1){console.warn("[Store] 重试消息找不到:",C);return}const L=n.value[N];if(L.status!=="failed"){console.warn("[Store] 消息状态不是 failed无法重试:",C);return}const X=L.content;n.value.splice(N,1),console.log("[Store] 删除失败消息:",C),await ae(X,{msg_type:L.msg_type,media_url:L.media_url,file_name:L.file_name,file_size:L.file_size})}function x(C){b.value=C,t.value&&(t.value.participants=C),console.log("[Store] 参与者列表已通过WS更新:",C.length,"")}function k(){console.log("[Store] 当前用户被移除会话清空状态"),t.value=null,b.value=[],n.value=[],h.value="",T.value=!1,q()}function V(C){var L;if(((L=t.value)==null?void 0:L.conversation_id)!==C.conversation_id||!C.chunk)return;if(!A.value){const X=`ai_stream_${C.conversation_id}_${Date.now()}`;A.value=X,n.value.push({message_id:X,conversation_id:C.conversation_id,message_type:"ai",msg_type:"text",content:"",sender_name:"Duckula达寇拉",created_at:new Date().toISOString()})}const N=n.value.findIndex(X=>X.message_id===A.value);N!==-1&&(n.value[N].content+=C.chunk)}function G(C){var ie,Ee;if(((ie=t.value)==null?void 0:ie.conversation_id)!==C.conversation_id)return;const N={message_id:C.message_id,conversation_id:C.conversation_id,message_type:C.sender_type||"ai",msg_type:C.msg_type||"text",content:C.content,sender_name:C.sender_name||"Duckula达寇拉",created_at:new Date().toISOString(),status:"sent"},L=A.value?n.value.findIndex(ke=>ke.message_id===A.value):-1;if(L!==-1?n.value[L]=N:n.value.push(N),A.value=null,j(C.message_id),h.value=C.message_id,i.value=C.can_call_agent??!1,t.value){t.value.can_call_agent=C.can_call_agent??!1,t.value.ai_substantive_reply_count=C.ai_reply_count??0;const ke={ai_handling:"waiting",queued:"waiting",serving:"serving"
`)}nt(()=>{document.addEventListener("paste",y),document.addEventListener("keydown",ae),h()&&c().catch(Q=>{console.warn("[InputBar] 企微 JS-SDK 初始化失败:",Q)})}),Un(()=>{document.removeEventListener("paste",y),document.removeEventListener("keydown",ae),m.isRecording.value&&m.stop()});async function y(Q){var W;const Y=Q.target;if(Y.tagName==="TEXTAREA"||Y.isContentEditable)return;const q=(W=Q.clipboardData)==null?void 0:W.items;if(q){for(const Z of Array.from(q))if(Z.kind==="file"){Q.preventDefault();const ye=Z.getAsFile();if(!ye)continue;ye.type.startsWith("image/")?await J(ye):await j(ye);return}}}const O=["😀","😃","😄","😁","😆","😅","🤣","😂","🙂","😊","😇","🥰","😍","🤩","😘","😗","😚","😙","😋","😛","😜","🤪","😝","🤑","🤗","🤭","🤫","🤔","🤐","🤨","😐","😑","😶","😏","😒","🙄","😬","😮","🤯","😲","😳","🥺","😢","😭","😤","😠","😡","🤬","👍","👎","👏","🙌","🤝","💪","","🤞","","🧡","💛","💚","💙","💜","💯",""];function P(Q){s.value+=Q,l.value=!1,We(()=>{var q,W;const Y=(W=(q=o.value)==null?void 0:q.$el)==null?void 0:W.querySelector("textarea");Y==null||Y.focus()})}function K(Q){/Android|iPhone|iPad|iPod/i.test(navigator.userAgent)||Q.shiftKey||(Q.preventDefault(),F())}async function F(){const Q=s.value.trim();!Q||n.loading||(s.value="",await n.sendNewMessage(Q))}async function D(Q){var q;const Y=(q=Q.clipboardData)==null?void 0:q.items;if(Y){for(const W of Array.from(Y))if(W.kind==="file"){Q.preventDefault();const Z=W.getAsFile();if(!Z)continue;Z.type.startsWith("image/")?await J(Z):await j(Z);return}}}async function J(Q){var Y,q;try{xe("图片上传中...");const W=await nr(Q),Z=Q instanceof File?Q.name:"截图";await n.sendNewMessage(`[图片] ${Z}`,{msg_type:"image",media_url:W.url,file_name:W.filename,file_size:W.file_size}),xe("图片发送成功")}catch(W){console.error("图片上传失败:",W),xe(t((q=(Y=W==null?void 0:W.response)==null?void 0:Y.data)==null?void 0:q.detail)||(W==null?void 0:W.message)||"图片上传失败请重试")}}async function j(Q){var Y,q;try{const W=Q instanceof File?Q.name:"文件";xe(`文件上传中: ${W}`);const Z=await nr(Q);await n.sendNewMessage(`[文件] ${Z.filename}`,{msg_type:"file",media_url:Z.url,file_name:Z.filename,file_size:Z.file_size}),xe("文件发送成功")}catch(W){console.error("文件上传失败:",W),xe(t((q=(Y=W==null?void 0:W.response)==null?void 0:Y.data)==null?void 0:q.detail)||(W==null?void 0:W.message)||"文件上传失败请重试")}}async function le(Q){const Y=Q.target,q=Y.files;if(!(!q||q.length===0)){for(const W of Array.from(q))try{xe(`正在上传: ${W.name}`);const Z=await nr(W);xe(`${W.name} 上传成功`),console.log("[InputBar] 文件上传成功:",Z.url)}catch(Z){console.error("文件上传失败:",Z),xe(`${W.name} 上传失败`)}Y.value=""}}function fe(){l.value=!l.value}function we(){i.value&&(i.value.accept="",i.value.multiple=!0,i.value.click())}async function ue(Q){if(Q==null||Q.preventDefault(),Q==null||Q.stopPropagation(),_.value!=="none"){if(_.value==="wecom")try{if(u.isRecording){const Y=await f();Y?(A(s.value)&&(s.value+=" "),s.value+=Y,xe("语音识别完成")):xe("未识别到语音内容")}else await d(),xe("正在录音点击停止")}catch(Y){const q=u.error||(Y==null?void 0:Y.message)||"语音识别失败";xe(q),console.error("[InputBar] 企微语音识别错误:",Y)}else if(_.value==="baidu")if(v.value){const Y=m.stop();if(Y.size<1600){xe("录音过短请说更多内容");return}b.value=!0;try{const q=await V1(Y);q.error?xe(q.error):q.text?(A(s.value)&&(s.value+=" "),s.value+=q.text,xe("语音识别完成")):xe("未识别到语音内容")}catch(q){xe((q==null?void 0:q.message)||"语音识别失败"),console.error("[InputBar] 百度ASR识别错误:",q)}finally{b.value=!1}}else try{await m.start(),xe("开始语音输入")}catch(Y){xe((Y==null?void 0:Y.message)||"录音启动失败"),console.error("[InputBar] 百度录音启动失败:",Y)}}}function ae(Q){if(Q.ctrlKey&&(Q.k