vue-stack-tabs 0.1.38 → 0.1.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/vue-stack-tabs.es.js +1 -1
- package/dist/vue-stack-tabs.umd.js +1 -1
- package/package.json +1 -1
- package/src/lib/assets/style/common/mixins.scss +4 -4
- package/src/lib/assets/style/common/var.scss +29 -28
- package/src/lib/assets/style/icon.scss +1 -1
- package/src/lib/assets/style/index.scss +4 -4
- package/src/lib/assets/style/stackTab.scss +64 -64
|
@@ -2268,7 +2268,7 @@ const tr = (t) => t.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" :
|
|
|
2268
2268
|
return { openTabLoading: n, closeTabLoading: s };
|
|
2269
2269
|
}, mr = {
|
|
2270
2270
|
install(t, e) {
|
|
2271
|
-
cr("0.1.
|
|
2271
|
+
cr("0.1.39"), t.component("VueStackTabs", Qs).use(fs).use(Wn().getI18n(e));
|
|
2272
2272
|
}
|
|
2273
2273
|
};
|
|
2274
2274
|
export {
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* vue-i18n-lite v1.0.2
|
|
3
3
|
* (c) 2021 Erik Pham
|
|
4
4
|
* @license MIT
|
|
5
|
-
*/const qt=["__proto__","prototype","constructor"];function Ft(t){const e=typeof t;return t!==null&&(e==="object"||e==="function")}function jt(t){return!(Array.isArray(t)?t.length:Object.keys(t).length)}function Ht(t){return!t.some(e=>qt.indexOf(e)!==-1)}function Zt(t){const e=t.split("."),n=[];for(let o=0;o<e.length;o++){let s=e[o];for(;s[s.length-1]==="\\"&&e[o+1]!==void 0;)s=s.slice(0,-1)+".",s+=e[++o];n.push(s)}return Ht(n)?n:[]}function Ke(t,e){if(!Ft(t))return"";const n=Zt(e);if(n.length===0)return"";let o=Object.assign({},t);for(let s=0;s<n.length;s++){if(typeof o[n[s]]=="string")return o[n[s]];if(o=o[n[s]],o==null){if(s!==n.length-1)return"";break}}return""}function Xt(t,e){if(Array.isArray(e)){const n={},o=[...t.matchAll(/{(.+?)}/g)];return o&&o.forEach((s,i)=>{e[i]&&(n[s[1]]=e[i])}),n}return e}function Gt(t,e){for(const n in e)t=t.replace(`{${n}}`,String(e[n]));return t}function Je(t,e){return Object.keys(e).forEach(n=>{e[n]instanceof Object&&n in t&&(e[n]={...e[n],...Je(t[n],e[n])})}),{...t||{},...e}}const Yt=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",Qe=(t=>Yt?Symbol(t):"_vt_"+t)("i18n");function de(){return r.inject(Qe)}function Kt(t){const e=Object.assign({locale:"en",fallbackLocale:"en",messages:{}},t),n=r.ref(e.locale),o=r.reactive({});return Object.entries(e.messages).forEach(([s,i])=>{o[s]=i}),{t(s,i){if(!s)return"";const a=typeof i=="string"&&i?i:n.value;let d=Ke(o[a],s)||Ke(o[e.fallbackLocale],s);if(i&&typeof i!="string"){const c=Xt(d,i);jt(c)||(d=Gt(d,c))}return d||s},current:r.readonly(n),options:r.readonly(t||{}),install(s){const i=this;s.config.globalProperties.$t=i.t,s.provide(Qe,i)},changeLocale(s){n.value=s},setLocaleMessage(s,i){o[s]=Je(r.toRaw(o[s]||{}),i)},getLocaleMessage(s){return o[s]||{}}}}const Jt=()=>{const t=Object.assign({"./lang/en.ts":Wt,"./lang/zh-CN.ts":Ut});function e(s,i){for(const a in s)if(s[a].default){const d=a.substring(a.lastIndexOf("/")+1,a.lastIndexOf("."));i[d]?i[d]={...s[d],...s[a].default}:i[d]=s[a].default}}const n=()=>{const s={};return e(t,s),s};return{getI18n:s=>{const i={...n()};if(s)for(const a of s)i[a.locale]=a.messages;return Kt({locale:"zh-CN",fallbackLocale:"en",messages:i})}}},et=({wrap:t,left:e=0,top:n=0,smooth:o=!0})=>{t&&(t.scrollTo?t.scrollTo({left:e,top:n,behavior:o?"smooth":"auto"}):(t.scrollLeft=e,t.scrollTop=n))};function Qt({el:t,wrap:e,block:n="start",inline:o="nearest"}){if(!(!t||!e))if(t.scrollIntoView)t.scrollIntoView({behavior:"smooth",block:n,inline:o});else{const{offsetLeft:s,offsetTop:i}=t;let a,d;n==="center"?d=i+(t.clientHeight-e.clientHeight)/2:d=i,o==="center"?a=s+(t.clientWidth-e.clientWidth)/2:a=s,et({wrap:e,left:a,top:d})}}const tt=(t=".stack-tab__container *")=>{const e=Array.from(document.querySelectorAll(t)).map(n=>+window.getComputedStyle(n).zIndex||0);return e.length?Math.max(...e.filter(n=>n<9e4))+1:1};var Q=(t=>(t.WHEEL="wheel",t.BUTTON="button",t.BOTH="both",t))(Q||{});class we{constructor(e){Pt(this,"items");if(this.items=new Map,e)for(const n of e)this.push(n)}push(e){this.items.set(this.items.size,e)}pop(){if(this.isEmpty())return;const e=this.items.get(this.items.size-1);return this.items.delete(this.items.size-1),e}peek(){if(!this.isEmpty())return this.items.get(this.items.size-1)}isEmpty(){return this.items.size===0}size(){return this.items.size}clear(){this.items.clear()}list(){return Array.from(this.items.values())}toString(){if(this.isEmpty())return"";let e="";return this.items.forEach((n,o)=>{e=`${e}${o===0?"":", "}${n}`}),e}toJSON(){return Array.from(this.items.values())}}function ve(t){var e=new Error(t);return e.source="ulid",e}var Le="0123456789ABCDEFGHJKMNPQRSTVWXYZ",he=Le.length,nt=Math.pow(2,48)-1,en=10,tn=16;function nn(t){var e=Math.floor(t()*he);return e===he&&(e=he-1),Le.charAt(e)}function rn(t,e){if(isNaN(t))throw new Error(t+" must be a number");if(t>nt)throw ve("cannot encode time greater than "+nt);if(t<0)throw ve("time must be positive");if(Number.isInteger(t)===!1)throw ve("time must be an integer");for(var n=void 0,o="";e>0;e--)n=t%he,o=Le.charAt(n)+o,t=(t-n)/he;return o}function on(t,e){for(var n="";t>0;t--)n=nn(e)+n;return n}function sn(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,e=arguments[1];e||(e=typeof window<"u"?window:null);var n=e&&(e.crypto||e.msCrypto);if(n)return function(){var s=new Uint8Array(1);return n.getRandomValues(s),s[0]/255};try{var o=require("crypto");return function(){return o.randomBytes(1).readUInt8()/255}}catch{}if(t){try{}catch{}return function(){return Math.random()}}throw ve("secure crypto unusable, insecure Math.random not allowed")}function an(t){return t||(t=sn()),function(n){return isNaN(n)&&(n=Date.now()),rn(n,en)+on(tn,t)}}var ze=an(),Ne={exports:{}};Ne.exports,function(t){var e=function(){var n=String.fromCharCode,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",i={};function a(c,l){if(!i[c]){i[c]={};for(var b=0;b<c.length;b++)i[c][c.charAt(b)]=b}return i[c][l]}var d={compressToBase64:function(c){if(c==null)return"";var l=d._compress(c,6,function(b){return o.charAt(b)});switch(l.length%4){default:case 0:return l;case 1:return l+"===";case 2:return l+"==";case 3:return l+"="}},decompressFromBase64:function(c){return c==null?"":c==""?null:d._decompress(c.length,32,function(l){return a(o,c.charAt(l))})},compressToUTF16:function(c){return c==null?"":d._compress(c,15,function(l){return n(l+32)})+" "},decompressFromUTF16:function(c){return c==null?"":c==""?null:d._decompress(c.length,16384,function(l){return c.charCodeAt(l)-32})},compressToUint8Array:function(c){for(var l=d.compress(c),b=new Uint8Array(l.length*2),f=0,u=l.length;f<u;f++){var _=l.charCodeAt(f);b[f*2]=_>>>8,b[f*2+1]=_%256}return b},decompressFromUint8Array:function(c){if(c==null)return d.decompress(c);for(var l=new Array(c.length/2),b=0,f=l.length;b<f;b++)l[b]=c[b*2]*256+c[b*2+1];var u=[];return l.forEach(function(_){u.push(n(_))}),d.decompress(u.join(""))},compressToEncodedURIComponent:function(c){return c==null?"":d._compress(c,6,function(l){return s.charAt(l)})},decompressFromEncodedURIComponent:function(c){return c==null?"":c==""?null:(c=c.replace(/ /g,"+"),d._decompress(c.length,32,function(l){return a(s,c.charAt(l))}))},compress:function(c){return d._compress(c,16,function(l){return n(l)})},_compress:function(c,l,b){if(c==null)return"";var f,u,_={},S={},C="",A="",w="",k=2,T=3,m=2,E=[],p=0,x=0,v;for(v=0;v<c.length;v+=1)if(C=c.charAt(v),Object.prototype.hasOwnProperty.call(_,C)||(_[C]=T++,S[C]=!0),A=w+C,Object.prototype.hasOwnProperty.call(_,A))w=A;else{if(Object.prototype.hasOwnProperty.call(S,w)){if(w.charCodeAt(0)<256){for(f=0;f<m;f++)p=p<<1,x==l-1?(x=0,E.push(b(p)),p=0):x++;for(u=w.charCodeAt(0),f=0;f<8;f++)p=p<<1|u&1,x==l-1?(x=0,E.push(b(p)),p=0):x++,u=u>>1}else{for(u=1,f=0;f<m;f++)p=p<<1|u,x==l-1?(x=0,E.push(b(p)),p=0):x++,u=0;for(u=w.charCodeAt(0),f=0;f<16;f++)p=p<<1|u&1,x==l-1?(x=0,E.push(b(p)),p=0):x++,u=u>>1}k--,k==0&&(k=Math.pow(2,m),m++),delete S[w]}else for(u=_[w],f=0;f<m;f++)p=p<<1|u&1,x==l-1?(x=0,E.push(b(p)),p=0):x++,u=u>>1;k--,k==0&&(k=Math.pow(2,m),m++),_[A]=T++,w=String(C)}if(w!==""){if(Object.prototype.hasOwnProperty.call(S,w)){if(w.charCodeAt(0)<256){for(f=0;f<m;f++)p=p<<1,x==l-1?(x=0,E.push(b(p)),p=0):x++;for(u=w.charCodeAt(0),f=0;f<8;f++)p=p<<1|u&1,x==l-1?(x=0,E.push(b(p)),p=0):x++,u=u>>1}else{for(u=1,f=0;f<m;f++)p=p<<1|u,x==l-1?(x=0,E.push(b(p)),p=0):x++,u=0;for(u=w.charCodeAt(0),f=0;f<16;f++)p=p<<1|u&1,x==l-1?(x=0,E.push(b(p)),p=0):x++,u=u>>1}k--,k==0&&(k=Math.pow(2,m),m++),delete S[w]}else for(u=_[w],f=0;f<m;f++)p=p<<1|u&1,x==l-1?(x=0,E.push(b(p)),p=0):x++,u=u>>1;k--,k==0&&(k=Math.pow(2,m),m++)}for(u=2,f=0;f<m;f++)p=p<<1|u&1,x==l-1?(x=0,E.push(b(p)),p=0):x++,u=u>>1;for(;;)if(p=p<<1,x==l-1){E.push(b(p));break}else x++;return E.join("")},decompress:function(c){return c==null?"":c==""?null:d._decompress(c.length,32768,function(l){return c.charCodeAt(l)})},_decompress:function(c,l,b){var f=[],u=4,_=4,S=3,C="",A=[],w,k,T,m,E,p,x,v={val:b(0),position:l,index:1};for(w=0;w<3;w+=1)f[w]=w;for(T=0,E=Math.pow(2,2),p=1;p!=E;)m=v.val&v.position,v.position>>=1,v.position==0&&(v.position=l,v.val=b(v.index++)),T|=(m>0?1:0)*p,p<<=1;switch(T){case 0:for(T=0,E=Math.pow(2,8),p=1;p!=E;)m=v.val&v.position,v.position>>=1,v.position==0&&(v.position=l,v.val=b(v.index++)),T|=(m>0?1:0)*p,p<<=1;x=n(T);break;case 1:for(T=0,E=Math.pow(2,16),p=1;p!=E;)m=v.val&v.position,v.position>>=1,v.position==0&&(v.position=l,v.val=b(v.index++)),T|=(m>0?1:0)*p,p<<=1;x=n(T);break;case 2:return""}for(f[3]=x,k=x,A.push(x);;){if(v.index>c)return"";for(T=0,E=Math.pow(2,S),p=1;p!=E;)m=v.val&v.position,v.position>>=1,v.position==0&&(v.position=l,v.val=b(v.index++)),T|=(m>0?1:0)*p,p<<=1;switch(x=T){case 0:for(T=0,E=Math.pow(2,8),p=1;p!=E;)m=v.val&v.position,v.position>>=1,v.position==0&&(v.position=l,v.val=b(v.index++)),T|=(m>0?1:0)*p,p<<=1;f[_++]=n(T),x=_-1,u--;break;case 1:for(T=0,E=Math.pow(2,16),p=1;p!=E;)m=v.val&v.position,v.position>>=1,v.position==0&&(v.position=l,v.val=b(v.index++)),T|=(m>0?1:0)*p,p<<=1;f[_++]=n(T),x=_-1,u--;break;case 2:return A.join("")}if(u==0&&(u=Math.pow(2,S),S++),f[x])C=f[x];else if(x===_)C=k+k.charAt(0);else return null;A.push(C),f[_++]=k+C.charAt(0),u--,k=C,u==0&&(u=Math.pow(2,S),S++)}}};return d}();t!=null?t.exports=e:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return e})}(Ne);var rt=Ne.exports;const cn=new TextEncoder,ln=new TextDecoder("utf-8",{ignoreBOM:!0}),ot={encode:t=>cn.encode(t),decode:t=>ln.decode(t)},st=(()=>{const e=[..."0123456789abcdef"],n=new Array(256);for(let o=0;o<256;o++)n[o]=`${e[o>>>4&15]}${e[o&15]}`;return n})(),fn=(()=>{const t={};for(let e=0;e<256;e++){const n=st[e],o=n[0],s=o.toUpperCase(),i=n[1],a=i.toUpperCase();t[n]=e,t[`${o}${a}`]=e,t[`${s}${i}`]=e,t[`${s}${a}`]=e}return t})(),Ve={encode:t=>{let e="";for(let n=0,o=t.length;n<o;n++)e+=st[t[n]];return e},encodeStr:t=>Ve.encode(ot.encode(t)),decode:t=>{const e=t.length/2,n=new Uint8Array(e);for(let o=0;o<e;o++)n[o]=fn[t.slice(o*2,o*2+2)];return n},decodeStr:t=>ot.decode(Ve.decode(t)),is:t=>!(t.length%2||!/^[a-fA-F0-9]*$/.test(t))};function pe(t){if(!Number.isSafeInteger(t)||t<0)throw new Error(`positive integer expected, not ${t}`)}function un(t){return t instanceof Uint8Array||t!=null&&typeof t=="object"&&t.constructor.name==="Uint8Array"}function Re(t,...e){if(!un(t))throw new Error("Uint8Array expected");if(e.length>0&&!e.includes(t.length))throw new Error(`Uint8Array expected of length ${e}, not of length=${t.length}`)}function De(t,e=!0){if(t.destroyed)throw new Error("Hash instance has been destroyed");if(e&&t.finished)throw new Error("Hash#digest() has already been called")}function it(t,e){Re(t);const n=e.outputLen;if(t.length<n)throw new Error(`digestInto() expects output buffer of length at least ${n}`)}const _e=BigInt(2**32-1),at=BigInt(32);function ct(t,e=!1){return e?{h:Number(t&_e),l:Number(t>>at&_e)}:{h:Number(t>>at&_e)|0,l:Number(t&_e)|0}}/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */const dn=t=>new Uint8Array(t.buffer,t.byteOffset,t.byteLength),xe=t=>new Uint32Array(t.buffer,t.byteOffset,Math.floor(t.byteLength/4)),Te=(t,e)=>t<<32-e|t>>>e,$=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68,lt=t=>t<<24&4278190080|t<<8&16711680|t>>>8&65280|t>>>24&255,hn=$?t=>t:t=>lt(t);function P(t){for(let e=0;e<t.length;e++)t[e]=lt(t[e])}function pn(t){if(typeof t!="string")throw new Error(`utf8ToBytes expected string, got ${typeof t}`);return new Uint8Array(new TextEncoder().encode(t))}function $e(t){return typeof t=="string"&&(t=pn(t)),Re(t),t}class bn{clone(){return this._cloneInto()}}function mn(t){const e=(o,s)=>t(s).update($e(o)).digest(),n=t({});return e.outputLen=n.outputLen,e.blockLen=n.blockLen,e.create=o=>t(o),e}class gn extends bn{constructor(e,n,o={},s,i,a){if(super(),this.blockLen=e,this.outputLen=n,this.length=0,this.pos=0,this.finished=!1,this.destroyed=!1,pe(e),pe(n),pe(s),n<0||n>s)throw new Error("outputLen bigger than keyLen");if(o.key!==void 0&&(o.key.length<1||o.key.length>s))throw new Error(`key must be up 1..${s} byte long or undefined`);if(o.salt!==void 0&&o.salt.length!==i)throw new Error(`salt must be ${i} byte long or undefined`);if(o.personalization!==void 0&&o.personalization.length!==a)throw new Error(`personalization must be ${a} byte long or undefined`);this.buffer32=xe(this.buffer=new Uint8Array(e))}update(e){De(this);const{blockLen:n,buffer:o,buffer32:s}=this;e=$e(e);const i=e.length,a=e.byteOffset,d=e.buffer;for(let c=0;c<i;){this.pos===n&&($||P(s),this.compress(s,0,!1),$||P(s),this.pos=0);const l=Math.min(n-this.pos,i-c),b=a+c;if(l===n&&!(b%4)&&c+l<i){const f=new Uint32Array(d,b,Math.floor((i-c)/4));$||P(f);for(let u=0;c+n<i;u+=s.length,c+=n)this.length+=n,this.compress(f,u,!1);$||P(f);continue}o.set(e.subarray(c,c+l),this.pos),this.pos+=l,this.length+=l,c+=l}return this}digestInto(e){De(this),it(e,this);const{pos:n,buffer32:o}=this;this.finished=!0,this.buffer.subarray(n).fill(0),$||P(o),this.compress(o,0,!0),$||P(o);const s=xe(e);this.get().forEach((i,a)=>s[a]=hn(i))}digest(){const{buffer:e,outputLen:n}=this;this.digestInto(e);const o=e.slice(0,n);return this.destroy(),o}_cloneInto(e){const{buffer:n,length:o,finished:s,destroyed:i,outputLen:a,pos:d}=this;return e||(e=new this.constructor({dkLen:a})),e.set(...this.get()),e.length=o,e.finished=s,e.destroyed=i,e.outputLen=a,e.buffer.set(n),e.pos=d,e}}const K=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]);function ee(t,e,n,o,s){return t=t+e+s|0,o=Te(o^t,16),n=n+o|0,e=Te(e^n,12),{a:t,b:e,c:n,d:o}}function te(t,e,n,o,s){return t=t+e+s|0,o=Te(o^t,8),n=n+o|0,e=Te(e^n,7),{a:t,b:e,c:n,d:o}}function ft(t,e,n,o,s,i,a,d,c,l,b,f,u,_,S,C,A,w,k,T){let m=0;for(let E=0;E<o;E++)({a:s,b:c,c:u,d:A}=ee(s,c,u,A,n[e+t[m++]])),{a:s,b:c,c:u,d:A}=te(s,c,u,A,n[e+t[m++]]),{a:i,b:l,c:_,d:w}=ee(i,l,_,w,n[e+t[m++]]),{a:i,b:l,c:_,d:w}=te(i,l,_,w,n[e+t[m++]]),{a,b,c:S,d:k}=ee(a,b,S,k,n[e+t[m++]]),{a,b,c:S,d:k}=te(a,b,S,k,n[e+t[m++]]),{a:d,b:f,c:C,d:T}=ee(d,f,C,T,n[e+t[m++]]),{a:d,b:f,c:C,d:T}=te(d,f,C,T,n[e+t[m++]]),{a:s,b:l,c:S,d:T}=ee(s,l,S,T,n[e+t[m++]]),{a:s,b:l,c:S,d:T}=te(s,l,S,T,n[e+t[m++]]),{a:i,b,c:C,d:A}=ee(i,b,C,A,n[e+t[m++]]),{a:i,b,c:C,d:A}=te(i,b,C,A,n[e+t[m++]]),{a,b:f,c:u,d:w}=ee(a,f,u,w,n[e+t[m++]]),{a,b:f,c:u,d:w}=te(a,f,u,w,n[e+t[m++]]),{a:d,b:c,c:_,d:k}=ee(d,c,_,k,n[e+t[m++]]),{a:d,b:c,c:_,d:k}=te(d,c,_,k,n[e+t[m++]]);return{v0:s,v1:i,v2:a,v3:d,v4:c,v5:l,v6:b,v7:f,v8:u,v9:_,v10:S,v11:C,v12:A,v13:w,v14:k,v15:T}}const ut=(()=>{const t=Array.from({length:16},(o,s)=>s),e=o=>[2,6,3,10,7,0,4,13,1,11,12,5,9,14,15,8].map(s=>o[s]),n=[];for(let o=0,s=t;o<7;o++,s=e(s))n.push(...s);return Uint8Array.from(n)})();class Pe extends gn{constructor(e={},n=0){if(super(64,e.dkLen===void 0?32:e.dkLen,{},Number.MAX_SAFE_INTEGER,0,0),this.flags=0,this.chunkPos=0,this.chunksDone=0,this.stack=[],this.posOut=0,this.bufferOut32=new Uint32Array(16),this.chunkOut=0,this.enableXOF=!0,this.outputLen=e.dkLen===void 0?32:e.dkLen,pe(this.outputLen),e.key!==void 0&&e.context!==void 0)throw new Error("Blake3: only key or context can be specified at same time");if(e.key!==void 0){const o=$e(e.key).slice();if(o.length!==32)throw new Error("Blake3: key should be 32 byte");this.IV=xe(o),$||P(this.IV),this.flags=n|16}else if(e.context!==void 0){const o=new Pe({dkLen:32},32).update(e.context).digest();this.IV=xe(o),$||P(this.IV),this.flags=n|64}else this.IV=K.slice(),this.flags=n;this.state=this.IV.slice(),this.bufferOut=dn(this.bufferOut32)}get(){return[]}set(){}b2Compress(e,n,o,s=0){const{state:i,pos:a}=this,{h:d,l:c}=ct(BigInt(e),!0),{v0:l,v1:b,v2:f,v3:u,v4:_,v5:S,v6:C,v7:A,v8:w,v9:k,v10:T,v11:m,v12:E,v13:p,v14:x,v15:v}=ft(ut,s,o,7,i[0],i[1],i[2],i[3],i[4],i[5],i[6],i[7],K[0],K[1],K[2],K[3],d,c,a,n);i[0]=l^w,i[1]=b^k,i[2]=f^T,i[3]=u^m,i[4]=_^E,i[5]=S^p,i[6]=C^x,i[7]=A^v}compress(e,n=0,o=!1){let s=this.flags;if(this.chunkPos||(s|=1),(this.chunkPos===15||o)&&(s|=2),o||(this.pos=this.blockLen),this.b2Compress(this.chunksDone,s,e,n),this.chunkPos+=1,this.chunkPos===16||o){let i=this.state;this.state=this.IV.slice();for(let a,d=this.chunksDone+1;(o||!(d&1))&&(a=this.stack.pop());d>>=1)this.buffer32.set(a,0),this.buffer32.set(i,8),this.pos=this.blockLen,this.b2Compress(0,this.flags|4,this.buffer32,0),i=this.state,this.state=this.IV.slice();this.chunksDone++,this.chunkPos=0,this.stack.push(i)}this.pos=0}_cloneInto(e){e=super._cloneInto(e);const{IV:n,flags:o,state:s,chunkPos:i,posOut:a,chunkOut:d,stack:c,chunksDone:l}=this;return e.state.set(s.slice()),e.stack=c.map(b=>Uint32Array.from(b)),e.IV.set(n),e.flags=o,e.chunkPos=i,e.chunksDone=l,e.posOut=a,e.chunkOut=d,e.enableXOF=this.enableXOF,e.bufferOut32.set(this.bufferOut32),e}destroy(){this.destroyed=!0,this.state.fill(0),this.buffer32.fill(0),this.IV.fill(0),this.bufferOut32.fill(0);for(let e of this.stack)e.fill(0)}b2CompressOut(){const{state:e,pos:n,flags:o,buffer32:s,bufferOut32:i}=this,{h:a,l:d}=ct(BigInt(this.chunkOut++));$||P(s);const{v0:c,v1:l,v2:b,v3:f,v4:u,v5:_,v6:S,v7:C,v8:A,v9:w,v10:k,v11:T,v12:m,v13:E,v14:p,v15:x}=ft(ut,0,s,7,e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],K[0],K[1],K[2],K[3],d,a,n,o);i[0]=c^A,i[1]=l^w,i[2]=b^k,i[3]=f^T,i[4]=u^m,i[5]=_^E,i[6]=S^p,i[7]=C^x,i[8]=e[0]^A,i[9]=e[1]^w,i[10]=e[2]^k,i[11]=e[3]^T,i[12]=e[4]^m,i[13]=e[5]^E,i[14]=e[6]^p,i[15]=e[7]^x,$||(P(s),P(i)),this.posOut=0}finish(){if(this.finished)return;this.finished=!0,this.buffer.fill(0,this.pos);let e=this.flags|8;this.stack.length?(e|=4,$||P(this.buffer32),this.compress(this.buffer32,0,!0),$||P(this.buffer32),this.chunksDone=0,this.pos=this.blockLen):e|=(this.chunkPos?0:1)|2,this.flags=e,this.b2CompressOut()}writeInto(e){De(this,!1),Re(e),this.finish();const{blockLen:n,bufferOut:o}=this;for(let s=0,i=e.length;s<i;){this.posOut>=n&&this.b2CompressOut();const a=Math.min(n-this.posOut,i-s);e.set(o.subarray(this.posOut,this.posOut+a),s),this.posOut+=a,s+=a}return e}xofInto(e){if(!this.enableXOF)throw new Error("XOF is not possible after digest call");return this.writeInto(e)}xof(e){return pe(e),this.xofInto(new Uint8Array(e))}digestInto(e){if(it(e,this),this.finished)throw new Error("digest() was already called");return this.enableXOF=!1,this.writeInto(e),this.destroy(),e}digest(){return this.digestInto(new Uint8Array(this.outputLen))}}const yn=mn(t=>new Pe(t)),We=t=>{const e=`${t.id}|${t.title}|${t.iframe?"Y":"N"}|${t.closable?"Y":"N"}|${t.refreshable?"Y":"N"}`;return rt.compressToEncodedURIComponent(e)},kn=t=>{const n=rt.decompressFromEncodedURIComponent(t).split("|");return{id:n[0],title:n[1],iframe:n[2]==="Y",closable:n[3]==="Y",refreshable:n[4]==="Y"}},dt=(t,e,n)=>{const o=[];for(const i in n)i.startsWith("__")||o.push({key:i,value:n[i]});o.sort((i,a)=>{let d=0;return i.key>a.key?d=1:i.key<a.key&&(d=-1),d});const s=yn(`${t}|${e}|${JSON.stringify(o)}`);return Ve.encode(s)};function Ue(t){if(t===null||typeof t!="object")return!1;const e=Object.getPrototypeOf(t);return e!==null&&e!==Object.prototype&&Object.getPrototypeOf(e)!==null||Symbol.iterator in t?!1:Symbol.toStringTag in t?Object.prototype.toString.call(t)==="[object Module]":!0}function qe(t,e,n=".",o){if(!Ue(e))return qe(t,{},n,o);const s=Object.assign({},e);for(const i in t){if(i==="__proto__"||i==="constructor")continue;const a=t[i];a!=null&&(o&&o(s,i,a,n)||(Array.isArray(a)&&Array.isArray(s[i])?s[i]=[...a,...s[i]]:Ue(a)&&Ue(s[i])?s[i]=qe(a,s[i],(n?`${n}.`:"")+i.toString(),o):s[i]=a))}return s}function wn(t){return(...e)=>e.reduce((n,o)=>qe(n,o,"",t),{})}const J=wn(),Fe=t=>{const e=t.split("?");if(e.length<=1)return{path:e[0],query:{}};{const n=e[1].split("&"),o={};for(const s of n){const i=s.split("=");i[1]!==null&&i[1]!==void 0&&i[1]!==""&&(o[i[0]]=i[1])}return{path:e[0],query:o}}};function vn(t){return{all:t=t||new Map,on:function(e,n){var o=t.get(e);o?o.push(n):t.set(e,[n])},off:function(e,n){var o=t.get(e);o&&(n?o.splice(o.indexOf(n)>>>0,1):t.set(e,[]))},emit:function(e,n){var o=t.get(e);o&&o.slice().map(function(s){s(n)}),(o=t.get("*"))&&o.slice().map(function(s){s(e,n)})}}}const _n=vn(),xn={install(t){t.provide("tabEmitter",_n)}},oe=()=>r.inject("tabEmitter");var W=(t=>(t.PAGE_LOADING="PAGE_LOADING",t.TAB_ACTIVE="TAB_ACTIVE",t))(W||{});const Tn={key:0,class:"stack-tab-loading-mask"},Sn=r.defineComponent({__name:"PageLoading",props:{tId:{}},setup(t){const e=t,n=oe(),o=r.ref(!1);return n.on(W.PAGE_LOADING,({tId:s,value:i})=>{s===e.tId&&(o.value=i)}),(s,i)=>o.value?(r.openBlock(),r.createElementBlock("div",Tn,i[0]||(i[0]=[r.createElementVNode("div",{class:"stack-tab-loading--spin turn"},null,-1)]))):r.createCommentVNode("",!0)}}),I=r.ref([]),je=[],V=r.ref([]),se=new Map,Se=new Set,U=new Set,ie=r.ref(!0),ht="stacktab-active-tab",ae=new Map;let pt=!1,Ee=0,bt=!1;const be=()=>{const t=Y.useRouter(),e=oe(),{t:n}=de(),o=()=>I.value.length,s=y=>{for(const O of y){const h=J(O,{id:ze(),refreshable:!0,closable:!0,iframe:!1}),L=We(h),F=Fe(h.path),D=J(h,{closable:!0,refreshable:!0,iframe:!1}),Me=dt(h.id,F.path,F.query),j={id:Me,tabId:h.id,path:F.path,query:J(F.query,{__tab:L})},ue=new we;ue.push(j);const G={id:h.id,title:D.title,closable:D.closable,refreshable:D.refreshable,iframe:D.iframe,active:!1,pages:ue};V.value.push(Me),je.push(G),I.value.push({...G})}const g=window.sessionStorage.getItem(ht);if(g!=null){const O=JSON.parse(g,(L,F)=>L==="pages"?new we(F):F);let h=!1;for(const L of I.value)if(L.id===O.id){h=!0;break}h||I.value.push(O)}pt=!0},i=y=>{for(const g of I.value)if(g.id===y)return!0;return!1},a=()=>Ee<=0||Ee>0&&Ee>I.value.length,d=y=>new Promise(g=>{I.value.push(y),g(!0)}),c=y=>{for(const g of I.value)if(g.id===y)return g;return null},l=(y,g)=>{let O,h;if(y.query.__tab?h=kn(y.query.__tab):(h={id:ze(),title:n("VueStackTab.undefined"),closable:!0,refreshable:!0,iframe:!1},y.query.__tab=We(h)),U.has(h.id)||!g)return;const L=y.matched[y.matched.length-1].path,F=y.path.endsWith("/")?y.path.substring(0,y.path.length-1):y.path,D=dt(h.id,L===F?F:y.path,y.query.valueOf()),Me=y.query.__src;let j=null;for(const G of r.unref(I))G.active=!1,G.id===h.id&&(j=G);const ue={id:D,tabId:h.id,path:y.path,query:y.query};if(j===null){const G=new we;G.push(ue),j={id:h.id,title:h.title,closable:h.closable,refreshable:h.refreshable,iframe:h.iframe,url:decodeURIComponent(Me),active:!0,pages:G},d(j).then(()=>{e.emit(W.TAB_ACTIVE,{id:h.id,isRoute:!1})})}else j.active=!0,(j.pages.isEmpty()||j.pages.peek().id!==ue.id)&&j.pages.push(ue);return q(j),se.has(D)?O=se.get(D):(O=r.defineComponent({name:D,components:{DynamicComponent:g},emits:{onLoaded:null},setup(G,$t){return r.onMounted(()=>{$t.emit("onLoaded"),_(D,".cache-page-wrapper")}),r.onDeactivated(()=>{f(D)}),r.onActivated(()=>{$t.emit("onLoaded"),b(D),R(),U.clear(),g.props=null}),r.onUnmounted(()=>{u(D)}),()=>r.createVNode("div",{class:"cache-page-wrapper",id:"W-"+h.id,style:[bt?"overflow:auto":"overflow:hidden"]},[r.createVNode(r.resolveComponent("dynamic-component"),{tId:h.id,pId:D},null),r.createVNode(Sn,{tId:h.id},null)])}}),se.set(D,O)),B(D),O},b=y=>{const g=ae.get(y);if(g){for(const O of g.keys())if(document.querySelector(O)){const h=g.get(O);document.querySelector(O).scrollTop=h.top,document.querySelector(O).scrollLeft=h.left}}},f=y=>{var O,h;const g=ae.get(y);if(g)for(const L of g.keys()){const F={top:((O=document.querySelector(L))==null?void 0:O.scrollTop)??0,left:((h=document.querySelector(L))==null?void 0:h.scrollLeft)??0};g.set(L,F)}},u=y=>{const g=ae.get(y);g&&(g.clear(),ae.delete(y))},_=(y,...g)=>{ae.has(y)||ae.set(y,new Map);const O=ae.get(y);for(const h of g)O.set(h,{top:0,left:0})},S=y=>{const g=c(y.id);for(const O of g.pages.list())v(O.id),N(O.id);R(),g.pages.clear()},C=y=>{let g="";const O=c(y);for(let h=I.value.length-1;h>=0;h--)if(y===r.unref(I)[h].id){if(!r.unref(I)[h].closable)return y;for(const L of r.unref(I)[h].pages.list())v(L.id),N(L.id),U.add(r.unref(I)[h].id);r.unref(I)[h].pages.clear(),I.value.length>1&&r.unref(I)[h].active&&(h===0?g=r.unref(I)[h+1].id:g=r.unref(I)[h-1].id),r.unref(I).splice(h,1);break}return g!==""&&e.emit(W.TAB_ACTIVE,{id:g}),O!=null&&O.active||(R(),U.clear()),g},A=()=>{const y=r.unref(I);for(let g=y.length-1;g>=0;g--)if(y[g].closable){for(const O of y[g].pages.list())v(O.id),N(O.id),U.add(y[g].id);r.unref(I)[g].pages.clear(),r.unref(I).splice(g,1)}for(const g of y)if(g.active){R(),U.clear();return}e.emit(W.TAB_ACTIVE,{id:y[y.length-1].id})},w=y=>{const g=r.unref(I);let O;for(let h=g.length-1;h>=0;h--)if(g[h].id===y)O=g[h];else if(g[h].closable&&g[h].id!==y){for(const L of g[h].pages.list())v(L.id),N(L.id),U.add(g[h].id);r.unref(I)[h].pages.clear(),r.unref(I).splice(h,1)}O.active?(R(),U.clear()):e.emit(W.TAB_ACTIVE,{id:y})},k=y=>{let g=-1;const O=r.unref(I);for(let h=0;h<O.length;h++)if(O[h].id===y){g=h-1;break}for(let h=g;h>=0;h--)if(O[h].closable){for(const L of O[h].pages.list())v(L.id),N(L.id),U.add(O[h].id);r.unref(I)[h].pages.clear(),r.unref(I).splice(h,1)}for(const h of O)if(h.active){R(),U.clear();return}e.emit(W.TAB_ACTIVE,{id:O[0].id})},T=y=>{const g=r.unref(I);let O=g.length;for(let h=0;h<g.length;h++)if(g[h].id===y){O=h+1;break}for(let h=g.length-1;h>=O;h--)if(g[h].closable){for(const L of g[h].pages.list())v(L.id),N(L.id),U.add(g[h].id);r.unref(I)[h].pages.clear(),r.unref(I).splice(h,1)}for(const h of g)if(h.active){R(),U.clear();return}e.emit(W.TAB_ACTIVE,{id:g[g.length-1].id})},m=y=>{var g;for(const O of r.unref(I))if(O.id===y){const h=(g=O.pages.peek())==null?void 0:g.id;for(let L=V.value.length-1;L>=0;L--)if(V.value[L]===h){V.value.splice(L,1),O.active&&(ie.value=!1,r.nextTick(()=>{ie.value=!0}));break}break}},E=()=>{const y=new Set;I.value.forEach(g=>{y.add(g.pages.peek().id)});for(let g=V.value.length-1;g>=0;g--){const O=V.value[g];y.has(O)&&V.value.splice(g,1)}r.nextTick(()=>{ie.value=!1,r.nextTick(()=>{setTimeout(()=>{ie.value=!0},300)})})},p=(y,g)=>{se.set(y,g)},x=y=>se.get(y),v=y=>{se.delete(y)},N=y=>{Se.add(y)},R=()=>{for(let y=V.value.length-1;y>=0;y--)Se.has(V.value[y])&&r.unref(V).splice(y,1);Se.clear()},X=y=>{for(let g=V.value.length-1;g>=0;g--)y===V.value[g]&&r.unref(V).splice(g,1)},B=y=>{new Set(V.value).has(y)||V.value.push(y)},M=(y,g=!0)=>{e.emit("FORWARD");for(let O=I.value.length-1;O>=0;O--){const h=I.value[O];if(h.id===y){if(h.active)break;if(h.active=!0,q(h),g){const L=h.pages.peek();t.push({path:L.path,query:L.query})}}else I.value[O].active=!1}},q=y=>{window.sessionStorage.setItem(ht,JSON.stringify(y))},re=()=>{ie.value=!1,ke(),r.nextTick(()=>{r.unref(I).push(...je),e.emit(W.TAB_ACTIVE,{id:je[0].id}),r.nextTick(()=>{ie.value=!0})})},ke=()=>{r.unref(I).splice(0),se.clear(),Se.clear(),U.clear(),r.unref(V).splice(0)};return{tabs:I,caches:V,pageShown:ie,initialed:pt,setMaxSize:y=>{Ee=y},canAddTab:a,initial:s,size:o,active:M,destroy:ke,reset:re,addCache:B,removeCache:X,getTab:c,addTab:d,removeTab:C,removeAllTabs:A,removeLeftTabs:k,removeRightTabs:T,removeOtherTabs:w,hasTab:i,renewTab:S,addPage:l,addComponent:p,getComponent:x,removeComponent:v,markDeletableCache:N,removeDeletableCache:R,refreshTab:m,refreshAllTabs:E,addPageScroller:_,setGlobalScroll:y=>{bt=y}}},En={class:"stack-tab__contextmenu-item"},ne=r.defineComponent({__name:"ContextMenuItem",props:{icon:{},title:{}},setup(t){return(e,n)=>(r.openBlock(),r.createElementBlock("div",En,[r.createElementVNode("div",{class:r.normalizeClass(["stack-tab__contextmenu-icon",e.icon])},null,2),r.createElementVNode("div",{style:{"margin-left":"8px"},onContextmenu:n[0]||(n[0]=r.withModifiers(()=>{},["prevent"]))},r.toDisplayString(e.title),33)]))}}),Bn={key:0,class:"divider div-transparent"},On=((t,e)=>{const n=t.__vccOpts||t;for(const[o,s]of e)n[o]=s;return n})(r.defineComponent({__name:"index",props:{index:{},left:{default:0},top:{default:0},contextMenu:{},tabItem:{},max:{}},setup(t){const e=t,{t:n}=de(),o=r.ref(),s=r.reactive({left:e.left,top:e.top}),{removeTab:i,removeAllTabs:a,removeLeftTabs:d,removeRightTabs:c,refreshTab:l,refreshAllTabs:b,removeOtherTabs:f}=be();return r.onMounted(()=>{const u=o.value?o.value.clientWidth:0,_=window.innerWidth;s.left+u>_&&(s.left=_-u-5)}),(u,_)=>(r.openBlock(),r.createElementBlock("div",{ref_key:"contextmenu",ref:o,class:"stack-tab__contextmenu",style:r.normalizeStyle({left:`${s.left}px`,top:`${s.top}px`,"z-index":r.unref(tt)(".stack-tab,.stack-tab *")})},[r.createVNode(ne,{icon:"stack-tab__icon-reload svg-mask",title:r.unref(n)("VueStackTab.reload"),onClick:_[0]||(_[0]=S=>r.unref(l)(u.tabItem.id))},null,8,["title"]),r.createVNode(ne,{icon:"stack-tab__icon-reload-all svg-mask",title:r.unref(n)("VueStackTab.reloadAll"),onClick:r.unref(b)},null,8,["title","onClick"]),r.createVNode(ne,{icon:"stack-tab__icon-close svg-mask",title:r.unref(n)("VueStackTab.close"),disabled:u.tabItem.closable?null:"disabled",onClick:_[1]||(_[1]=S=>r.unref(i)(u.tabItem.id))},null,8,["title","disabled"]),r.createVNode(ne,{icon:"stack-tab__icon-close-lefts svg-mask",title:r.unref(n)("VueStackTab.closeLeft"),disabled:u.index<=0?"disabled":null,onClick:_[2]||(_[2]=S=>r.unref(d)(u.tabItem.id))},null,8,["title","disabled"]),r.createVNode(ne,{icon:"stack-tab__icon-close-rights svg-mask",title:r.unref(n)("VueStackTab.closeRight"),disabled:u.index>=u.max-1?"disabled":null,onClick:_[3]||(_[3]=S=>r.unref(c)(u.tabItem.id))},null,8,["title","disabled"]),r.createVNode(ne,{icon:"stack-tab__icon-close-others svg-mask",title:r.unref(n)("VueStackTab.closeOthers"),onClick:_[4]||(_[4]=S=>r.unref(f)(u.tabItem.id))},null,8,["title"]),r.createVNode(ne,{icon:"stack-tab__icon-close-all svg-mask",title:r.unref(n)("VueStackTab.closeAll"),onClick:r.unref(a)},null,8,["title","onClick"]),u.contextMenu!==void 0&&u.contextMenu.length>0?(r.openBlock(),r.createElementBlock("div",Bn)):r.createCommentVNode("",!0),(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(u.contextMenu,(S,C)=>(r.openBlock(),r.createBlock(ne,{key:C,icon:S.icon,title:S.title,disabled:S.disabled(u.tabItem)?"disabled":null,onClick:A=>!S.disabled&&S.callback(u.tabItem.id)},null,8,["icon","title","disabled","onClick"]))),128))],4))}}),[["__scopeId","data-v-d598be6e"]]),An=()=>{const t=r.reactive({item:{},index:-1,left:0,top:0,max:0}),e=r.ref(!1);r.onMounted(()=>{document.addEventListener("click",o)}),r.onUnmounted(()=>{document.removeEventListener("click",o)});const n=async(s,i,a,d)=>{e.value=!1,await r.nextTick(()=>{const{clientY:c,clientX:l}=s;e.value=!0,Object.assign(t,{item:i,index:a,top:c,left:l,max:d})})},o=s=>{s.target.classList.contains("stack-tab__contextmenu")||(e.value=!1)};return{shown:e,contextMenuData:t,showContextMenu:n}},Cn={class:"stack-tab__item-title"},In=["title"],Mn=["title"],Ln=r.defineComponent({__name:"TabHeaderItem",props:{item:{}},emits:["close","active"],setup(t,{emit:e}){const n=e,o=oe(),{t:s}=de(),i=r.ref(),a=t;o.on(W.TAB_ACTIVE,({id:b,isRoute:f})=>{a.item.id===b&&l(f)});const d=r.computed(()=>a.item.title||s("undefined")),c=()=>{n("close",a.item)},l=(b=!0)=>{n("active",a.item,i,b)};return(b,f)=>(r.openBlock(),r.createElementBlock("li",{ref_key:"curtab",ref:i,class:r.normalizeClass(["stack-tab__item",{"is-active":b.item.active,"is-icon":b.item.closable}]),onClick:f[0]||(f[0]=u=>l(!0))},[r.createElementVNode("div",Cn,[r.createElementVNode("div",{class:"stack-tab__item-title-content",title:d.value},r.toDisplayString(d.value),9,In)]),b.item.closable?(r.openBlock(),r.createElementBlock("div",{key:0,class:"stack-tab__icon-close-fill stack-tab__item-button",title:r.unref(s)("VueStackTab.close"),onClick:r.withModifiers(c,["stop"])},null,8,Mn)):r.createCommentVNode("",!0)],2))}});var ce=[],zn=function(){return ce.some(function(t){return t.activeTargets.length>0})},Nn=function(){return ce.some(function(t){return t.skippedTargets.length>0})},mt="ResizeObserver loop completed with undelivered notifications.",Vn=function(){var t;typeof ErrorEvent=="function"?t=new ErrorEvent("error",{message:mt}):(t=document.createEvent("Event"),t.initEvent("error",!1,!1),t.message=mt),window.dispatchEvent(t)},me;(function(t){t.BORDER_BOX="border-box",t.CONTENT_BOX="content-box",t.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(me||(me={}));var le=function(t){return Object.freeze(t)},Rn=function(){function t(e,n){this.inlineSize=e,this.blockSize=n,le(this)}return t}(),gt=function(){function t(e,n,o,s){return this.x=e,this.y=n,this.width=o,this.height=s,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,le(this)}return t.prototype.toJSON=function(){var e=this,n=e.x,o=e.y,s=e.top,i=e.right,a=e.bottom,d=e.left,c=e.width,l=e.height;return{x:n,y:o,top:s,right:i,bottom:a,left:d,width:c,height:l}},t.fromRect=function(e){return new t(e.x,e.y,e.width,e.height)},t}(),He=function(t){return t instanceof SVGElement&&"getBBox"in t},yt=function(t){if(He(t)){var e=t.getBBox(),n=e.width,o=e.height;return!n&&!o}var s=t,i=s.offsetWidth,a=s.offsetHeight;return!(i||a||t.getClientRects().length)},kt=function(t){var e;if(t instanceof Element)return!0;var n=(e=t==null?void 0:t.ownerDocument)===null||e===void 0?void 0:e.defaultView;return!!(n&&t instanceof n.Element)},Dn=function(t){switch(t.tagName){case"INPUT":if(t.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},ge=typeof window<"u"?window:{},Be=new WeakMap,wt=/auto|scroll/,$n=/^tb|vertical/,Pn=/msie|trident/i.test(ge.navigator&&ge.navigator.userAgent),H=function(t){return parseFloat(t||"0")},fe=function(t,e,n){return t===void 0&&(t=0),e===void 0&&(e=0),n===void 0&&(n=!1),new Rn((n?e:t)||0,(n?t:e)||0)},vt=le({devicePixelContentBoxSize:fe(),borderBoxSize:fe(),contentBoxSize:fe(),contentRect:new gt(0,0,0,0)}),_t=function(t,e){if(e===void 0&&(e=!1),Be.has(t)&&!e)return Be.get(t);if(yt(t))return Be.set(t,vt),vt;var n=getComputedStyle(t),o=He(t)&&t.ownerSVGElement&&t.getBBox(),s=!Pn&&n.boxSizing==="border-box",i=$n.test(n.writingMode||""),a=!o&&wt.test(n.overflowY||""),d=!o&&wt.test(n.overflowX||""),c=o?0:H(n.paddingTop),l=o?0:H(n.paddingRight),b=o?0:H(n.paddingBottom),f=o?0:H(n.paddingLeft),u=o?0:H(n.borderTopWidth),_=o?0:H(n.borderRightWidth),S=o?0:H(n.borderBottomWidth),C=o?0:H(n.borderLeftWidth),A=f+l,w=c+b,k=C+_,T=u+S,m=d?t.offsetHeight-T-t.clientHeight:0,E=a?t.offsetWidth-k-t.clientWidth:0,p=s?A+k:0,x=s?w+T:0,v=o?o.width:H(n.width)-p-E,N=o?o.height:H(n.height)-x-m,R=v+A+E+k,X=N+w+m+T,B=le({devicePixelContentBoxSize:fe(Math.round(v*devicePixelRatio),Math.round(N*devicePixelRatio),i),borderBoxSize:fe(R,X,i),contentBoxSize:fe(v,N,i),contentRect:new gt(f,c,v,N)});return Be.set(t,B),B},xt=function(t,e,n){var o=_t(t,n),s=o.borderBoxSize,i=o.contentBoxSize,a=o.devicePixelContentBoxSize;switch(e){case me.DEVICE_PIXEL_CONTENT_BOX:return a;case me.BORDER_BOX:return s;default:return i}},Wn=function(){function t(e){var n=_t(e);this.target=e,this.contentRect=n.contentRect,this.borderBoxSize=le([n.borderBoxSize]),this.contentBoxSize=le([n.contentBoxSize]),this.devicePixelContentBoxSize=le([n.devicePixelContentBoxSize])}return t}(),Tt=function(t){if(yt(t))return 1/0;for(var e=0,n=t.parentNode;n;)e+=1,n=n.parentNode;return e},Un=function(){var t=1/0,e=[];ce.forEach(function(a){if(a.activeTargets.length!==0){var d=[];a.activeTargets.forEach(function(l){var b=new Wn(l.target),f=Tt(l.target);d.push(b),l.lastReportedSize=xt(l.target,l.observedBox),f<t&&(t=f)}),e.push(function(){a.callback.call(a.observer,d,a.observer)}),a.activeTargets.splice(0,a.activeTargets.length)}});for(var n=0,o=e;n<o.length;n++){var s=o[n];s()}return t},St=function(t){ce.forEach(function(n){n.activeTargets.splice(0,n.activeTargets.length),n.skippedTargets.splice(0,n.skippedTargets.length),n.observationTargets.forEach(function(s){s.isActive()&&(Tt(s.target)>t?n.activeTargets.push(s):n.skippedTargets.push(s))})})},qn=function(){var t=0;for(St(t);zn();)t=Un(),St(t);return Nn()&&Vn(),t>0},Ze,Et=[],Fn=function(){return Et.splice(0).forEach(function(t){return t()})},jn=function(t){if(!Ze){var e=0,n=document.createTextNode(""),o={characterData:!0};new MutationObserver(function(){return Fn()}).observe(n,o),Ze=function(){n.textContent="".concat(e?e--:e++)}}Et.push(t),Ze()},Hn=function(t){jn(function(){requestAnimationFrame(t)})},Oe=0,Zn=function(){return!!Oe},Xn=250,Gn={attributes:!0,characterData:!0,childList:!0,subtree:!0},Bt=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],Ot=function(t){return t===void 0&&(t=0),Date.now()+t},Xe=!1,Yn=function(){function t(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return t.prototype.run=function(e){var n=this;if(e===void 0&&(e=Xn),!Xe){Xe=!0;var o=Ot(e);Hn(function(){var s=!1;try{s=qn()}finally{if(Xe=!1,e=o-Ot(),!Zn())return;s?n.run(1e3):e>0?n.run(e):n.start()}})}},t.prototype.schedule=function(){this.stop(),this.run()},t.prototype.observe=function(){var e=this,n=function(){return e.observer&&e.observer.observe(document.body,Gn)};document.body?n():ge.addEventListener("DOMContentLoaded",n)},t.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),Bt.forEach(function(n){return ge.addEventListener(n,e.listener,!0)}))},t.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),Bt.forEach(function(n){return ge.removeEventListener(n,e.listener,!0)}),this.stopped=!0)},t}(),Ge=new Yn,At=function(t){!Oe&&t>0&&Ge.start(),Oe+=t,!Oe&&Ge.stop()},Kn=function(t){return!He(t)&&!Dn(t)&&getComputedStyle(t).display==="inline"},Jn=function(){function t(e,n){this.target=e,this.observedBox=n||me.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return t.prototype.isActive=function(){var e=xt(this.target,this.observedBox,!0);return Kn(this.target)&&(this.lastReportedSize=e),this.lastReportedSize.inlineSize!==e.inlineSize||this.lastReportedSize.blockSize!==e.blockSize},t}(),Qn=function(){function t(e,n){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=n}return t}(),Ae=new WeakMap,Ct=function(t,e){for(var n=0;n<t.length;n+=1)if(t[n].target===e)return n;return-1},Ce=function(){function t(){}return t.connect=function(e,n){var o=new Qn(e,n);Ae.set(e,o)},t.observe=function(e,n,o){var s=Ae.get(e),i=s.observationTargets.length===0;Ct(s.observationTargets,n)<0&&(i&&ce.push(s),s.observationTargets.push(new Jn(n,o&&o.box)),At(1),Ge.schedule())},t.unobserve=function(e,n){var o=Ae.get(e),s=Ct(o.observationTargets,n),i=o.observationTargets.length===1;s>=0&&(i&&ce.splice(ce.indexOf(o),1),o.observationTargets.splice(s,1),At(-1))},t.disconnect=function(e){var n=this,o=Ae.get(e);o.observationTargets.slice().forEach(function(s){return n.unobserve(e,s.target)}),o.activeTargets.splice(0,o.activeTargets.length)},t}(),It=function(){function t(e){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof e!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");Ce.connect(this,e)}return t.prototype.observe=function(e,n){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!kt(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Ce.observe(this,e,n)},t.prototype.unobserve=function(e){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!kt(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Ce.unobserve(this,e)},t.prototype.disconnect=function(){Ce.disconnect(this)},t.toString=function(){return"function ResizeObserver () { [polyfill code] }"},t}();const er=["disabled","title"],tr={key:1,class:"stack-tab__button"},Ie=r.defineComponent({__name:"TabHeaderButton",props:{disabled:{type:Boolean,default:!1},shadow:{default:null},iconClass:{default:""},title:{}},setup(t){return(e,n)=>(r.openBlock(),r.createElementBlock("div",{class:r.normalizeClass(["stack-tab__header-button",{"stack-tab__shadow-right":e.shadow==="right","stack-tab__shadow-left":e.shadow==="left"}]),disabled:e.disabled?"disabled":null,title:e.title},["icon"in e.$slots?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",{key:0,class:r.normalizeClass(["stack-tab__mask-button",e.iconClass])},null,2)),"icon"in e.$slots?(r.openBlock(),r.createElementBlock("div",tr,[r.renderSlot(e.$slots,"icon")])):r.createCommentVNode("",!0)],10,er))}}),nr=r.defineComponent({__name:"TabHeaderScroll",props:{space:{default:300},isScrollWheel:{type:Boolean,default:!0},isScrollButton:{type:Boolean,default:!0}},setup(t,{expose:e}){const n=r.ref(null),o=r.ref(null),s=r.ref(null),i=r.ref(!1),a=r.ref(!1),d=r.ref(!1),c=r.ref(!0),l=r.ref(),b=t,f=r.reactive({clientWidth:0,scrollWidth:0,scrollLeft:0}),u=r.reactive({thumbLeft:0,startScrollLeft:0,startThumbLeft:0,startPageX:0});r.watch(f,B=>{_(B)});const _=B=>{a.value=B.scrollLeft<=10,d.value=B.clientWidth+B.scrollLeft-B.scrollWidth>=-10,c.value=B.scrollWidth!==B.clientWidth},S=r.computed(()=>f.scrollWidth>f.clientWidth),C=r.computed(()=>{if(!S.value)return 0;const{clientWidth:B,scrollWidth:M}=f;return B/M*B}),A=r.computed(()=>{if(!S.value)return 0;const{clientWidth:B,scrollWidth:M,scrollLeft:q}=f;return(B-C.value)*(q/(M-B))}),w=()=>{if(n.value===null||n.value===void 0)return;const{clientWidth:B,scrollWidth:M,scrollLeft:q}=n.value;Object.assign(f,{clientWidth:B,scrollWidth:M,scrollLeft:q})},k=new It(()=>{var M;w();const B=(M=n.value)==null?void 0:M.querySelector(".stack-tab__item.is-active");B&&(X(B)||R(B))}),T=new It(()=>{var B;if(!S.value){const M=(B=n.value)==null?void 0:B.querySelector(".stack-tab__item.is-active");M&&(X(M)||R(M))}w()}),m=(B,M=!0)=>{et({wrap:n.value,left:B,smooth:M})},E=B=>{m(n.value.scrollLeft+B)},p=B=>{const M=B.deltaY<0;m(n.value.scrollLeft+(M?-b.space:b.space))},x=B=>{var M;Object.assign(u,{startPageX:B.pageX,startScrollLeft:(M=n.value)==null?void 0:M.scrollLeft,startThumbLeft:A.value,thumbLeft:A.value}),i.value=!0,document.addEventListener("mousemove",v),document.addEventListener("mouseup",N)},v=B=>{const{clientWidth:M,scrollWidth:q}=f;let re=u.startThumbLeft+B.pageX-u.startPageX;const ke=M-C.value;re<0?re=0:re>ke&&(re=ke),u.thumbLeft=re,m(re*(q-M)/(M-C.value),!1),B.preventDefault()},N=B=>{i.value=!1,document.removeEventListener("mousemove",v),document.removeEventListener("mouseup",N),B.preventDefault()};r.onMounted(()=>{var M;k.observe(l.value);const B=(M=n.value)==null?void 0:M.querySelector(".stack-tab__nav");T.observe(B)}),r.onUnmounted(()=>{k.disconnect(),T.disconnect()});const R=B=>{Qt({el:B,wrap:n,block:"end",inline:"center"})},X=B=>{if(!S.value)return!0;const M=B.offsetLeft,q=n.value.scrollLeft;return!(M<q||M+B.clientWidth>q+n.value.clientWidth)};return e({scrollIntoView:R,isInView:X}),(B,M)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[c.value?(r.openBlock(),r.createBlock(Ie,{key:0,"icon-class":"stack-tab__icon-left-arrow",disabled:a.value,onClick:M[0]||(M[0]=q=>!a.value&&E(-1*B.space))},null,8,["disabled"])):r.createCommentVNode("",!0),r.createElementVNode("div",{ref_key:"headerScroll",ref:l,class:"stack-tab__scroll",onWheel:r.withModifiers(p,["prevent"])},[r.createElementVNode("div",{ref_key:"container",ref:n,class:r.normalizeClass(["stack-tab__scroll-container",{"stack-tab__shadow-inset-left":!a.value&&d.value,"stack-tab__shadow-inset-right":!d.value&&a.value,"stack-tab__shadow-inset-all":!a.value&&!d.value}]),onScrollPassive:w},[r.renderSlot(B.$slots,"default")],34),r.withDirectives(r.createElementVNode("div",{ref_key:"bar",ref:o,class:r.normalizeClass(["stack-tab__scrollbar",{"is-dragging":i.value}])},[r.createElementVNode("div",{ref_key:"thumb",ref:s,class:r.normalizeClass(["stack-tab__scrollbar-thumb",{"is-dragging":i.value}]),style:r.normalizeStyle({width:`${C.value}px`,transform:`translateX(${A.value}px)`}),onMousedown:r.withModifiers(x,["prevent"])},null,38)],2),[[r.vShow,S.value]])],544),c.value?(r.openBlock(),r.createBlock(Ie,{key:1,"icon-class":"stack-tab__icon-right-arrow",disabled:d.value,onClick:M[1]||(M[1]=q=>!d.value&&E(B.space))},null,8,["disabled"])):r.createCommentVNode("",!0)],64))}}),rr={class:"stack-tab__header"},or=r.defineComponent({__name:"index",props:{space:{},tabScrollMode:{default:Q.BOTH},tabTransition:{default:()=>({name:"stack-tab-zoom"})},contextmenu:{type:[Boolean,Object],default:!0},max:{default:20}},emits:["active"],setup(t,{emit:e}){const{t:n}=de(),o=r.inject("maximum"),s=e,i=r.ref(),{shown:a,contextMenuData:d,showContextMenu:c}=An(),l=t,{removeTab:b,active:f,tabs:u}=be(),_=r.computed(()=>typeof l.tabTransition=="string"?{name:l.tabTransition}:l.tabTransition),S=r.computed(()=>l.tabScrollMode===Q.BOTH||l.tabScrollMode===Q.BUTTON),C=l.tabScrollMode===Q.BOTH||l.tabScrollMode===Q.WHEEL,A=k=>{k.closable&&b(k.id),a.value=!1},w=(k,T,m)=>{i.value&&(r.nextTick(()=>{i.value.isInView(T.value)||i.value.scrollIntoView(T.value)}),f(k.id,m),s("active",k.id))};return(k,T)=>(r.openBlock(),r.createElementBlock("div",rr,[r.renderSlot(k.$slots,"leftButton"),r.createVNode(nr,{ref_key:"scroll",ref:i,space:k.space,"is-scroll-wheel":r.unref(C),"is-scroll-button":S.value},{default:r.withCtx(()=>[r.createVNode(r.TransitionGroup,r.mergeProps({key:"tabItemTrans",tag:"ul",class:"stack-tab__nav"},_.value,{appear:""}),{default:r.withCtx(()=>[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(r.unref(u),(m,E)=>(r.openBlock(),r.createBlock(Ln,{key:m.id,contextmenu:k.contextmenu,item:m,onContextmenu:r.withModifiers(p=>r.unref(c)(p,m,E,r.unref(u).length),["prevent"]),onMouseup:r.withModifiers(p=>A(m),["middle","prevent"]),onClose:A,onActive:w},null,8,["contextmenu","item","onContextmenu","onMouseup"]))),128))]),_:1},16)]),_:1},8,["space","is-scroll-wheel","is-scroll-button"]),r.renderSlot(k.$slots,"rightButton"),r.createVNode(Ie,{"icon-class":r.unref(o)?"stack-tab__icon-restore":"stack-tab__icon-fullscreen",title:r.unref(n)("VueStackTab.maximum"),onClick:T[0]||(T[0]=m=>o.value=!r.unref(o))},null,8,["icon-class","title"]),r.createVNode(r.Transition,{name:"stack-tab-zoom",appear:""},{default:r.withCtx(()=>[r.unref(a)?(r.openBlock(),r.createBlock(On,{key:"tabMenuTrans",left:r.unref(d).left,top:r.unref(d).top,"tab-item":r.unref(d).item,max:r.unref(d).max,index:r.unref(d).index},null,8,["left","top","tab-item","max","index"])):r.createCommentVNode("",!0)]),_:1})]))}});function sr(t,e,n){var o={},s=o.noTrailing,i=s===void 0?!1:s,a=o.noLeading,d=a===void 0?!1:a,c=o.debounceMode,l=c===void 0?void 0:c,b,f=!1,u=0;function _(){b&&clearTimeout(b)}function S(A){var w=A||{},k=w.upcomingOnly,T=k===void 0?!1:k;_(),f=!T}function C(){for(var A=arguments.length,w=new Array(A),k=0;k<A;k++)w[k]=arguments[k];var T=this,m=Date.now()-u;if(f)return;function E(){u=Date.now(),e.apply(T,w)}function p(){b=void 0}!d&&l&&!b&&E(),_(),l===void 0&&m>t?d?(u=Date.now(),i||(b=setTimeout(l?p:E,t))):E():i!==!0&&(b=setTimeout(l?p:E,l===void 0?t-m:t))}return C.cancel=S,C}let Mt;const Lt=()=>{const t=Y.useRouter(),{active:e,hasTab:n,pageShown:o,reset:s,canAddTab:i,renewTab:a,getTab:d}=be(),c=oe(),l=sr(500,(_,S=!1)=>new Promise((C,A)=>{if(!o.value){A();return}const w=J(_,{refreshable:!0,closable:!0,iframe:!1});if(w.id&&S&&n(w.id)){a(_);const k=d(_.id);k!=null&&k.active&&(o.value=!1,r.nextTick(()=>{o.value=!0}))}if(n(w.id)&&!S){c.emit(W.TAB_ACTIVE,{id:w.id}),C(w.id);return}if(w.id||(w.id=ze()),!i()){A("Max Size");return}b(_,w),C(w.id)})),b=(_,S)=>{const C=We(S);let A=J({__tab:C},_.query),w;if(_.iframe){const k=encodeURIComponent(_.path);w=Mt,A.__src=k}else{const k=Fe(_.path);w=k.path,A=J(k.query,A)}t.push({path:w,query:A})};return{openNewTab:l,setIFramePath:_=>{Mt=_},active:e,reset:s,getWrapper:()=>document.getElementsByClassName("cache-page-wrapper")[0]}},ir={class:"stack-tab__container"},ar=["src"],zt=r.defineComponent({__name:"StackTabs",props:{defaultTabs:{default:()=>[]},max:{default:20},append:{default:"last"},contextmenu:{type:[Boolean,Object],default:!0},pageTransition:{default:"stack-tab-swap"},pageTransitionBack:{default:"stack-tab-swap-back"},tabTransition:{default:"stack-tab-zoom"},tabScrollMode:{default:Q.BOTH},width:{default:"100%"},height:{default:"100%"},i18n:{default:"zh-CN"},space:{default:300},globalScroll:{type:Boolean,default:!1},iframePath:{}},emits:["onActive","onPageLoaded"],setup(t,{emit:e}){const{tabs:n,pageShown:o,caches:s,destroy:i,addPage:a,initial:d,setMaxSize:c,setGlobalScroll:l}=be(),b=e,f=t,{changeLocale:u}=de(),_=r.ref(!1);r.provide("maximum",_);const{setIFramePath:S}=Lt();S(f.iframePath),l(f.globalScroll),u(f.i18n),r.onBeforeMount(()=>{d(f.defaultTabs)});const C=(m,E)=>a(m,E),A=m=>{b("onActive",m)};c(f.max),r.onBeforeUnmount(()=>{i()});const w=()=>{b("onPageLoaded")},k=r.ref(f.pageTransition),T=oe();return T.on("FORWARD",()=>{k.value=f.pageTransition}),T.on("BACKWARD",()=>{k.value=f.pageTransitionBack}),(m,E)=>{const p=r.resolveComponent("router-view");return r.openBlock(),r.createElementBlock("div",{class:r.normalizeClass(["stack-tab",{"stack-tab__maximum":_.value}]),style:r.normalizeStyle({width:m.width,height:m.height,"z-index":_.value?r.unref(tt)("body *:not(.stack-tab,.stack-tab *)"):void 0})},[r.createVNode(or,{space:m.space,onActive:A,"tab-transition":m.tabTransition,max:m.max},{leftButton:r.withCtx(()=>[r.renderSlot(m.$slots,"leftButton")]),rightButton:r.withCtx(()=>[r.renderSlot(m.$slots,"rightButton")]),_:3},8,["space","tab-transition","max"]),r.createElementVNode("div",ir,[r.createVNode(p,null,{default:r.withCtx(({Component:x,route:v})=>[r.createVNode(r.Transition,{name:k.value,appear:"",mode:"out-in"},{default:r.withCtx(()=>[(r.openBlock(),r.createBlock(r.KeepAlive,{include:r.unref(s)},[r.unref(o)?(r.openBlock(),r.createBlock(r.resolveDynamicComponent(C(v,x)),{key:v.fullPath,onOnLoaded:w},null,32)):r.createCommentVNode("",!0)],1032,["include"]))]),_:2},1032,["name"])]),_:1}),r.createVNode(r.TransitionGroup,{name:m.pageTransition,appear:""},{default:r.withCtx(()=>[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(r.unref(n).filter(x=>x.iframe),x=>r.withDirectives((r.openBlock(),r.createElementBlock("iframe",{key:x.id,class:"stack-tab__iframe",src:/^(javascript|data):/i.test(x.url??"")?"about:blank":x.url,frameborder:"0"},null,8,ar)),[[r.vShow,x.active]])),128))]),_:1},8,["name"])])],6)}}}),Ye=typeof Buffer=="function";typeof TextDecoder=="function"&&new TextDecoder;const Nt=typeof TextEncoder=="function"?new TextEncoder:void 0,ye=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=");(t=>{let e={};return t.forEach((n,o)=>e[n]=o),e})(ye);const Z=String.fromCharCode.bind(String);typeof Uint8Array.from=="function"&&Uint8Array.from.bind(Uint8Array);const cr=t=>t.replace(/=/g,"").replace(/[+\/]/g,e=>e=="+"?"-":"_"),Vt=typeof btoa=="function"?t=>btoa(t):Ye?t=>Buffer.from(t,"binary").toString("base64"):t=>{let e,n,o,s,i="";const a=t.length%3;for(let d=0;d<t.length;){if((n=t.charCodeAt(d++))>255||(o=t.charCodeAt(d++))>255||(s=t.charCodeAt(d++))>255)throw new TypeError("invalid character found");e=n<<16|o<<8|s,i+=ye[e>>18&63]+ye[e>>12&63]+ye[e>>6&63]+ye[e&63]}return a?i.slice(0,a-3)+"===".substring(a):i},lr=Ye?t=>Buffer.from(t).toString("base64"):t=>{let n=[];for(let o=0,s=t.length;o<s;o+=4096)n.push(Z.apply(null,t.subarray(o,o+4096)));return Vt(n.join(""))},fr=t=>{if(t.length<2){var e=t.charCodeAt(0);return e<128?t:e<2048?Z(192|e>>>6)+Z(128|e&63):Z(224|e>>>12&15)+Z(128|e>>>6&63)+Z(128|e&63)}else{var e=65536+(t.charCodeAt(0)-55296)*1024+(t.charCodeAt(1)-56320);return Z(240|e>>>18&7)+Z(128|e>>>12&63)+Z(128|e>>>6&63)+Z(128|e&63)}},ur=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,dr=t=>t.replace(ur,fr),Rt=Ye?t=>Buffer.from(t,"utf8").toString("base64"):Nt?t=>lr(Nt.encode(t)):t=>Vt(dr(t)),hr=(t,e=!1)=>e?cr(Rt(t)):Rt(t),pr=t=>{const o=`<?xml version="1.0" encoding="UTF-8"?><svg id="a" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1167.06 237.75"><path d="M79.24,19.73h108.91v29.7h-108.91v-29.7Z" style="fill:#79a7ff; stroke-width:0px;"/><path d="M179.24,199.67H20.26c-11.21-.07-20.26-9.17-20.26-20.38V20.39C0,9.18,9.05.07,20.26,0h59.49c3.51.07,6.34,2.9,6.41,6.42v44.36c0,3.54-2.87,6.41-6.41,6.41s-6.41-2.86-6.42-6.4V12.36H20.25c-4.13.07-7.44,3.44-7.44,7.56v159.41c0,4.13,3.31,7.49,7.44,7.56h158.98c4.13-.07,7.44-3.44,7.44-7.56V51.84c0-3.54,2.87-6.41,6.41-6.42,3.55,0,6.42,2.87,6.42,6.42v127.45c0,11.21-9.05,20.32-20.26,20.39h0Z" style="fill:#377dff; stroke-width:0px;"/><path d="M192.8,60.77c-3.66-.07-6.61-3.02-6.68-6.68v-18.23c.09-4.29-3.32-7.83-7.6-7.92h-96.43c-3.69,0-6.69-2.99-6.69-6.69s2.99-6.69,6.69-6.69h96.27c11.69.08,21.13,9.58,21.13,21.27v18.25c0,3.69-2.99,6.68-6.68,6.68h0Z" style="fill:#377dff; stroke-width:0px;"/><path d="M193.08,58.67H10.15c-3.61-.08-6.48-3.07-6.41-6.68-.08-3.62,2.79-6.61,6.4-6.69,0,0,0,0,0,0h182.93c3.62.08,6.48,3.08,6.41,6.69.07,3.61-2.79,6.6-6.41,6.68h0Z" style="fill:#377dff; stroke-width:0px;"/><path d="M137.2,58.67c-3.42.24-6.4-2.32-6.68-5.74v-28.15c.55-3.69,4-6.24,7.69-5.69,2.94.44,5.24,2.75,5.69,5.69v28.15c-.28,3.42-3.26,5.98-6.68,5.74h-.02Z" style="fill:#377dff; stroke-width:0px;"/><path d="M99.78,100.48l-12.83-22.22h-18.39l31.22,54.05,31.22-54.05h-18.39l-12.83,22.22Z" style="fill:#00d797; stroke-width:0px;"/><path d="M135.28,78.26l-35.49,61.43-35.44-61.43h-20.11l55.55,96.2,55.55-96.2s-20.06,0-20.06,0ZM313.33,59.95c0,.52-.67,1.84-2,3.95s-3.3,5.2-5.9,9.28-5.75,9.28-9.46,15.61c-3.7,6.33-7.52,13.34-11.45,21.04-4.51,8.85-7.76,15.8-9.76,20.86s-2.99,9.41-2.99,13.05c0,2.89,1.53,5.44,4.6,7.63,3.7-2.89,7.34-6.33,10.93-10.32,3.58-3.99,7.13-8.44,10.63-13.36s7.55-11.13,12.14-18.65c4.6-7.52,8.69-14.43,12.27-20.73-.17-.52-.36-1.04-.56-1.56s-.3-.95-.3-1.3c0-2.72.55-5.26,1.65-7.63,1.1-2.37,2.47-4.68,4.12-6.94s4.12-5.44,7.42-9.54c.87-1.1,1.94-1.65,3.21-1.65,2.08,0,3.12,1.33,3.12,3.99s-1.08,6.84-3.25,12.53c-2.17,5.7-5.37,12.39-9.59,20.08s-9.47,16.29-15.74,25.81c-6.28,9.51-13.37,19.45-21.3,29.8-8.04,10.47-13.79,15.7-17.26,15.7-1.97,0-4.19-1.08-6.68-3.25s-4.63-5.13-6.42-8.89-2.69-7.78-2.69-12.06c0-2.54.53-5.81,1.6-9.8s2.75-8.78,5.03-14.36,4.87-11.09,7.76-16.53c3.01-5.72,5.65-10.47,7.94-14.23,2.28-3.76,4.87-7.94,7.76-12.53,2.89-4.6,4.34-7.1,4.34-7.5,0-.87-.58-1.3-1.73-1.3-3.35,0-7.82,1.71-13.4,5.12s-12.85,8.59-21.82,15.53c-3.41,2.66-5.57,4.38-6.46,5.16s-1.34,1.43-1.34,1.95c0,.69.55,1.04,1.65,1.04.46,0,2.02-.17,4.68-.52s4.77-.52,6.33-.52c2.6,0,3.9.46,3.9,1.39,0,.81-.54,1.45-1.61,1.91-1.07.46-2.54.93-4.42,1.39s-4.44,1.1-7.68,1.91c-3.47.93-7.16,2.25-11.06,3.99-3.9,1.73-6.14,2.6-6.72,2.6-1.1,0-1.78-.4-2.04-1.21s-.39-2.14-.39-3.99c0-8.21,1.36-14.56,4.08-19.04s7.58-9.15,14.57-14.01c7.98-5.55,15.61-10.16,22.9-13.84,7.29-3.67,13.58-6.36,18.87-8.07s9.18-2.56,11.67-2.56,4.84,1.56,7.24,4.68,3.6,6.42,3.6,9.89h0ZM366.34,124.75c-8.39,11.1-14.76,19-19.13,23.68s-7.94,7.03-10.71,7.03c-2.2,0-4.22-.91-6.07-2.73-1.85-1.82-3.28-4.28-4.29-7.37s-1.52-6.4-1.52-9.93c0-2.31.22-4.39.65-6.25.43-1.85,1.26-3.89,2.47-6.12s2.82-4.64,4.81-7.24c2-2.6,4.44-5.55,7.33-8.85,1.73-2.02,3.19-3.73,4.38-5.12,1.18-1.39,2.34-2.33,3.47-2.82s2.96-.74,5.51-.74c1.85,0,3.61.25,5.29.74,1.68.49,2.52,1,2.52,1.52,0,1.04-.85,2.92-2.56,5.64s-4.45,6.03-8.24,9.93c-3.79,3.9-8.17,7.74-13.14,11.49-1.1,3.41-1.65,6.01-1.65,7.81,0,2.49.95,3.73,2.86,3.73.69,0,1.85-.59,3.47-1.78,1.62-1.18,4.35-3.47,8.2-6.85,3.84-3.38,7.3-6.38,10.37-8.98,2.25-1.97,4.87-4.9,7.85-8.8s5.39-6.84,7.24-8.8c4.28-4.51,7.2-7.44,8.76-8.8s3.06-2.04,4.51-2.04,2.33.43,2.82,1.3c.49.87.74,2.63.74,5.29,0,1.21-.12,2.2-.35,2.95s-.71,1.72-1.43,2.91-2.18,3.37-4.38,6.55-4.8,6.94-7.81,11.28c-1.66,2.38-3.09,4.93-4.25,7.59-1.21,2.75-1.82,4.81-1.82,6.2,0,3.01,1.18,4.51,3.56,4.51,1.96,0,4.25-.81,6.85-2.43s6.59-4.54,11.97-8.76v5.81c-6.77,6.25-11.77,10.79-15.01,13.62s-6.04,4.97-8.41,6.42-4.63,2.17-6.77,2.17c-4.86,0-7.29-2.89-7.29-8.67,0-2.2.72-5.16,2.17-8.89,1.44-3.73,3.79-9.12,7.03-16.18v-.02Z" style="fill:#306fff; stroke-width:0px;"/><path d="M407.71,133.77v2.17c0,3.41.84,6.07,2.52,7.98,1.68,1.91,3.87,2.86,6.59,2.86s5.77-.66,8.8-2c3.04-1.33,6.06-3.09,9.07-5.29s6.68-5.15,11.02-8.85v5.29c-6.54,7.87-12.67,13.89-18.39,18.09-5.72,4.19-11.54,6.29-17.44,6.29-5.15,0-9.22-2-12.23-5.99s-4.51-9.46-4.51-16.39c0-6.07,1.42-11.58,4.25-16.52s7.46-10.16,13.88-15.66c4.39-3.76,8.76-6.59,13.1-8.5s8.21-2.86,11.62-2.86c2.72,0,4.87.62,6.46,1.86s2.39,3.11,2.39,5.59c0,3.64-1.36,7.27-4.08,10.89s-6.87,7.2-12.45,10.76c-5.58,3.56-12.45,6.98-20.6,10.28h0ZM408.58,128.13c5.2-2.02,9.66-4.54,13.36-7.55,3.7-3.01,6.43-5.88,8.2-8.63,1.76-2.75,2.65-4.76,2.65-6.03s-.61-2-1.82-2c-1.04,0-2.73.67-5.07,2s-4.71,3.07-7.11,5.21-4.55,4.66-6.46,7.55c-1.9,2.86-3.17,6.08-3.73,9.46h-.02ZM585.37,132.9c-1.45-2.66-3.61-5.06-6.51-7.2-2.89-2.14-6.15-3.86-9.76-5.16s-7.39-2.27-11.32-2.91c-11.68-1.74-22.58-5.52-32.7-11.36-.87-.46-1.79-1.44-2.78-2.95-.98-1.5-1.47-2.95-1.47-4.34,0-5.09.85-10.19,2.56-15.31,1.71-5.12,3.89-9.12,6.55-12.01,4.28-4.8,11.98-8.99,23.12-12.58,11.13-3.58,23.67-5.38,37.6-5.38,8.33,0,14.76.64,19.3,1.91s6.81,3.24,6.81,5.9c0,4.34-.59,7.69-1.78,10.06s-2.46,3.95-3.82,4.73c-1.36.78-3.75,1.84-7.16,3.17-3.64,1.27-6.81,2.6-9.5,3.99s-4.99,2.72-6.9,3.99c-1.91,1.27-3.09,1.91-3.56,1.91-.58,0-.87-.23-.87-.69,0-.98,1.03-2.47,3.08-4.47s4.58-3.74,7.59-5.25c3.18-1.68,4.77-2.75,4.77-3.21,0-.75-1.76-1.13-5.29-1.13-10.7,0-20.59.95-29.67,2.86s-16.24,4.42-21.47,7.55c-5.23,3.12-7.85,6.3-7.85,9.54,0,2.02,1.08,3.46,3.25,4.29,2.17.84,6.95,2.24,14.36,4.21,7.4,1.97,14.02,4.22,19.86,6.77,8.38,3.59,14.6,7.32,18.65,11.19,4.05,3.88,6.07,8.21,6.07,13.01,0,3.3-.8,6.61-2.39,9.93-1.59,3.33-3.92,6.38-6.98,9.15-3.07,2.78-6.59,5.06-10.58,6.85-3.41,1.45-7.71,2.8-12.88,4.08-5.18,1.27-10.79,2.27-16.83,2.99-6.04.72-11.81,1.08-17.31,1.08-10.12,0-18.26-.95-24.42-2.86s-9.24-4.8-9.24-8.67c0-1.74,1.04-4.44,3.12-8.11s4.54-6.14,7.37-7.42c2.49-.98,4.89-1.55,7.2-1.69,2.31-.14,3.47.13,3.47.82,0,.17-.09.35-.26.52s-.38.32-.61.43c-.23.12-.46.23-.69.35-1.16.46-2.1.82-2.82,1.08-.72.26-1.3.52-1.74.78-.43.26-.65.62-.65,1.08,0,1.21,5.99,1.82,17.96,1.82,10.41,0,18.94-.38,25.59-1.13s12.52-2.11,17.61-4.08c5.09-1.97,9.71-4.68,13.88-8.15l.04.02ZM640.8,85.63h3.73c3.06-5.49,5.84-9.38,8.33-11.67,2.49-2.28,5.32-3.43,8.5-3.43s4.77.72,4.77,2.17c0,.69-1.24,2.57-3.73,5.64s-4.37,5.64-5.64,7.72c1.96.23,3.71.43,5.25.61,1.53.17,2.73.32,3.6.43-3.3,6.13-7.43,12.4-12.4,18.82l-4.08-.3c-1.1-.09-2.21-.17-3.34-.26s-2.5-.19-4.12-.3c-3.12,5.03-5.74,9.53-7.85,13.49s-3.73,7.59-4.86,10.89-1.69,6.42-1.69,9.37c0,3.99,1.59,5.99,4.77,5.99,2.2,0,5.07-1.17,8.63-3.51s8.31-5.94,14.27-10.8v5.81c-15.61,16.95-27.15,25.42-34.61,25.42-2.6,0-4.7-1.01-6.29-3.04-1.59-2.02-2.38-4.63-2.38-7.81,0-2.14.45-4.68,1.34-7.63.9-2.95,2.5-7.4,4.81-13.36-.81.69-1.58,1.37-2.3,2.04s-1.39,1.27-2,1.82-1.26,1.13-1.95,1.73c-.69.61-1.39,1.23-2.08,1.87v-5.99c6.07-5.09,13.42-14.02,22.03-26.8-.87-.06-1.68-.1-2.43-.13s-1.65-.04-2.69-.04c-3.41,0-5.96.23-7.63.69-.69.17-1.34.36-1.95.56s-1.03.3-1.26.3-.35-.17-.35-.52c0-1.91,1.18-4.77,3.56-8.59,1.91-3.24,3.72-5.64,5.42-7.2,1.71-1.56,3.79-2.62,6.25-3.17,2.46-.55,5.91-.82,10.37-.82h0Z" style="fill:#306fff; stroke-width:0px;"/><path d="M664.91,115.12c8.79-7.98,17.32-13.91,25.59-17.78s14.66-5.81,19.17-5.81c1.21,0,2.34.51,3.38,1.52,1.04,1,1.88,2.19,2.47,3.51.61,1.33.91,2.31.91,2.95,0,1.04-.41,1.81-1.21,2.3-.81.49-2.23,1.08-4.25,1.78.4.93.92,2.11,1.56,3.56s1.13,2.62,1.47,3.51c.35.9.52,1.69.52,2.39,0,1.39-1.4,3.98-4.21,7.76-2.81,3.79-4.77,6.58-5.9,8.37-1.13,1.79-1.69,3.99-1.69,6.59,0,4.28,1.96,6.42,5.9,6.42s10.38-3.79,19-11.36v5.29c-14.63,16.25-25.1,24.38-31.4,24.38-2.26,0-3.86-.74-4.81-2.21s-1.43-3.66-1.43-6.55c0-4.57,1.65-11.19,4.94-19.86-8.44,9.37-14.72,16.03-18.82,20-4.11,3.96-7.49,5.94-10.15,5.94-1.27,0-2.86-1.1-4.77-3.3-1.91-2.2-3.6-5.04-5.07-8.54-1.47-3.5-2.21-7.13-2.21-10.89,0-2.72.26-4.99.78-6.81s1.53-3.69,3.04-5.59c1.5-1.91,3.9-4.42,7.2-7.55v-.02ZM706.46,105.58c-15.04,6.88-25.75,12.72-32.14,17.52s-9.59,9.75-9.59,14.83c0,1.85.32,3.37.95,4.55.64,1.19,1.5,1.78,2.6,1.78.64,0,1.76-.4,3.38-1.21,6.07-3.58,11.62-8.25,16.66-14.01,5.03-5.75,11.07-13.58,18.13-23.46h.01Z" style="fill:#306fff; stroke-width:0px;"/><path d="M779.07,130.82v5.81c-6.19,6.07-11.23,10.79-15.14,14.14-3.9,3.35-7.55,5.96-10.93,7.81-3.38,1.85-6.69,2.78-9.93,2.78s-6.1-1.26-8.76-3.77c-2.66-2.52-4.74-5.81-6.25-9.89-1.5-4.08-2.26-8.4-2.26-12.97,0-3.93.87-7.43,2.6-10.5,1.74-3.07,5.09-7.03,10.06-11.88,5.9-5.78,11.38-10.25,16.44-13.4s9.04-4.73,11.93-4.73c2.08,0,3.85.72,5.29,2.17s2.17,3.27,2.17,5.46c0,1.85-.95,4.48-2.86,7.89-1.91,3.41-4.05,6.38-6.42,8.89-2.37,2.52-4.25,3.77-5.64,3.77-1.5,0-2.25-.81-2.25-2.43.06-.46.1-.9.13-1.3s.04-.81.04-1.21c0-.69-.25-1.08-.74-1.17s-1.08.13-1.78.65c-5.78,4.05-9.75,6.9-11.88,8.54-2.14,1.65-3.83,3.31-5.07,4.99s-1.87,3.44-1.87,5.29c0,3.41,1.1,6.19,3.3,8.33s5.06,3.21,8.59,3.21,8.02-1.4,13.14-4.21c5.12-2.8,11.15-6.9,18.09-12.27h0Z" style="fill:#306fff; stroke-width:0px;"/><path d="M844.13,130.65v5.81c-6.48,7.58-11.91,13.32-16.31,17.22s-8.07,5.86-11.02,5.86-5.39-.84-7.68-2.52c-2.29-1.68-4.34-3.99-6.16-6.94-1.82-2.95-3.98-7.05-6.46-12.32-2.95,3.64-5.61,7.04-7.98,10.19-2.37,3.15-4.02,5.25-4.94,6.29-.93,1.04-1.77,1.56-2.52,1.56-1.56,0-2.69-1-3.38-2.99-.69-2-1.04-4.9-1.04-8.72,0-5.21.62-10.22,1.87-15.05,1.24-4.83,3.04-9.53,5.38-14.1s5.35-9.5,9.02-14.79c3.67-5.29,7.79-10.83,12.36-16.61,6.3-7.98,11.74-14.5,16.31-19.56,4.57-5.06,8.54-8.88,11.93-11.45,3.38-2.57,6.2-3.86,8.46-3.86,2.78,0,4.16,1.24,4.16,3.73,0,2.14-5.12,9.85-15.35,23.12-10.24,13.27-25.16,31.39-44.76,54.35v7.46c13.13-14.05,23.69-24.49,31.71-31.31,8.01-6.82,14.21-10.24,18.61-10.24,1.79,0,3.18,1.06,4.16,3.17s1.47,4.55,1.47,7.33c0,5.67-2.43,10.92-7.29,15.74-4.86,4.83-12.32,10.37-22.38,16.61,1.74,2.6,3.27,4.5,4.6,5.68,1.33,1.19,3.01,1.78,5.03,1.78,1.79,0,3.73-.61,5.81-1.82s4.21-2.75,6.38-4.6,5.51-4.86,10.02-9.02h-.01ZM809.86,135.07c2.2-1.45,4.93-3.69,8.2-6.72,3.27-3.04,6.06-6.19,8.37-9.46s3.47-6,3.47-8.2c0-.92-.41-1.39-1.21-1.39-2.2,0-5.97,2.11-11.32,6.33-5.35,4.22-10.57,9.63-15.66,16.22,2.2,0,4.92,1.07,8.15,3.21h0ZM951.78,140.71l2.86,2.17c-.75,1.62-1.47,3.04-2.17,4.25-.69,1.21-1.53,2.69-2.52,4.42-.98,1.73-1.73,3.04-2.25,3.9-4.34,7.58-8.41,11.36-12.23,11.36-1.62,0-3.01-.64-4.16-1.91-1.16-1.27-1.73-3.01-1.73-5.2,0-3.12,1.11-7.4,3.34-12.84,2.23-5.43,5.67-12.13,10.32-20.08s10.51-16.96,17.57-27.02c7.05-10.06,15.01-20.67,23.85-31.84-5.09-.75-11.13-1.13-18.13-1.13-8.04,0-16.99.9-26.85,2.69s-18.45,3.86-25.76,6.2c-7.32,2.34-10.97,4.06-10.97,5.16,0,.41.14.68.43.82.29.15.77.26,1.43.35s1.52.19,2.56.3c6.77.93,10.15,1.97,10.15,3.12,0,.58-1.47.85-4.42.82s-6.51-.04-10.67-.04c-3.3,0-5.68-.13-7.16-.39s-2.46-.75-2.95-1.47-.74-1.84-.74-3.34c0-.98.29-3.12.87-6.42,1.1-6.13,2.79-11.04,5.07-14.75,2.28-3.7,5.78-6.72,10.5-9.06,4.71-2.34,11.2-4.21,19.47-5.59,13.88-2.37,25.36-3.56,34.44-3.56,6.71,0,12,.27,15.88.82,3.87.55,6.72,1.34,8.54,2.39,1.82,1.04,2.98,2.07,3.47,3.08s1.14,2.76,1.95,5.25l2.69,7.98c.17.52.32.94.43,1.26.12.32.22.65.3,1,.09.35.13.67.13.95,0,2.26-.51,4.28-1.52,6.07s-2.86,4.48-5.55,8.07-4.67,6.39-5.94,8.41c-14.92,24.23-25.1,42.16-30.53,53.78v.02ZM991.94,115.12c8.79-7.98,17.32-13.91,25.59-17.78s14.66-5.81,19.17-5.81c1.21,0,2.34.51,3.38,1.52,1.04,1,1.88,2.19,2.47,3.51.61,1.33.91,2.31.91,2.95,0,1.04-.41,1.81-1.21,2.3-.81.49-2.23,1.08-4.25,1.78.4.93.92,2.11,1.56,3.56s1.13,2.62,1.47,3.51c.35.9.52,1.69.52,2.39,0,1.39-1.4,3.98-4.21,7.76-2.81,3.79-4.77,6.58-5.9,8.37-1.13,1.79-1.69,3.99-1.69,6.59,0,4.28,1.96,6.42,5.9,6.42s10.38-3.79,19-11.36v5.29c-14.63,16.25-25.1,24.38-31.4,24.38-2.26,0-3.86-.74-4.81-2.21s-1.43-3.66-1.43-6.55c0-4.57,1.65-11.19,4.94-19.86-8.44,9.37-14.72,16.03-18.82,20-4.11,3.96-7.49,5.94-10.15,5.94-1.27,0-2.86-1.1-4.77-3.3-1.91-2.2-3.6-5.04-5.07-8.54-1.47-3.5-2.21-7.13-2.21-10.89,0-2.72.26-4.99.78-6.81s1.53-3.69,3.04-5.59c1.5-1.91,3.9-4.42,7.2-7.55v-.02ZM1033.49,105.58c-15.04,6.88-25.75,12.72-32.14,17.52s-9.59,9.75-9.59,14.83c0,1.85.32,3.37.95,4.55.64,1.19,1.5,1.78,2.6,1.78.64,0,1.76-.4,3.38-1.21,6.07-3.58,11.62-8.25,16.66-14.01,5.03-5.75,11.07-13.58,18.13-23.46h.01Z" style="fill:#306fff; stroke-width:0px;"/><path d="M1111.3,130.82v5.64c-6.02,3.82-10.76,5.72-14.23,5.72-1.91,0-3.93-.32-6.07-.95-5.2,6.59-9.67,11.42-13.4,14.49s-7.47,4.6-11.23,4.6c-4.34,0-7.68-2.29-10.02-6.85-2.34-4.57-3.51-10.24-3.51-17,0-9.2,2.78-19.21,8.33-30.06,5.56-10.85,12.29-21.07,20.08-30.45,7.84-9.46,15.43-17.28,22.77-23.46,7.34-6.19,12.32-9.28,14.92-9.28s3.73,1.71,3.73,5.12c0,15.15-19.43,41.58-58.29,79.29-.12,1.04-.17,3.09-.17,6.16,0,7.98,2.14,11.97,6.42,11.97,1.68,0,3.37-.68,5.07-2.04,1.71-1.36,4.32-3.95,7.85-7.76-1.39-3.12-2.08-5.44-2.08-6.94,0-3.18,1.3-6.62,3.9-10.32s5.57-6.9,8.89-9.59c3.33-2.69,5.74-4.03,7.24-4.03,2.37,0,3.56,1.71,3.56,5.12,0,2.6-.68,5.72-2.04,9.37-1.36,3.64-3.34,7.81-5.94,12.49.98.81,1.76,1.4,2.34,1.78s1.45.56,2.6.56c2.66,0,5.75-1.18,9.28-3.56v-.02ZM1067.24,117.81c3.01-2.6,6.03-5.68,9.06-9.24s7.47-9.01,13.32-16.35c5.61-7.05,10.02-12.94,13.23-17.65s5.62-8.63,7.24-11.75c1.62-3.12,2.43-5.26,2.43-6.42,0-.87-.23-1.3-.69-1.3-1.27,0-3.92,2.1-7.94,6.29-4.02,4.19-8.6,9.93-13.75,17.22-7.11,10.06-12.26,17.64-15.44,22.73-3.18,5.09-5.67,10.58-7.46,16.48h0Z" style="fill:#306fff; stroke-width:0px;"/><path d="M1110.96,133.08v-2.08c14.92-15.73,25.18-26.75,30.79-33.05,1.27-7.11,4.34-10.67,9.19-10.67,1.21,0,2.52.35,3.9,1.04l.52,1.65c-.23.69-.35,1.68-.35,2.95,0,1.1.42,3.14,1.26,6.12s1.49,5.48,1.95,7.5.69,4.31.69,6.85c0,3.82-.87,7.48-2.6,10.97-1.73,3.5-4.25,6.85-7.55,10.06-3.3,3.21-7.55,6.49-12.75,9.85,2.08.35,3.73.52,4.94.52,2.37,0,4.93-.59,7.68-1.78,2.75-1.18,5.55-2.78,8.41-4.77,2.86-2,6.2-4.58,10.02-7.76v5.81c-7.4,7.23-14.02,12.71-19.86,16.44s-10.87,5.59-15.09,5.59c-5.44,0-10.47-2.31-15.09-6.94-2.72-2.78-4.41-5.43-5.08-7.98-.67-2.54-1-5.99-1-10.32h.02ZM1143.31,119.8l-1.56-12.66c-3.59,4.05-11.25,11.83-22.99,23.33,3.47.75,5.84,1.76,7.11,3.04,1.27,1.27,3.06,3.73,5.38,7.37,3.93-1.62,6.95-3.83,9.07-6.64,2.11-2.8,3.17-6.64,3.17-11.49,0-.58-.01-1.1-.04-1.56s-.07-.92-.13-1.39h0Z" style="fill:#306fff; stroke-width:0px;"/><g style="isolation:isolate;"><text transform="translate(943.45 229.96)" style="fill:#00d797; font-family:ArialMT, Arial; font-size:24px; isolation:isolate;"><tspan x="0" y="0">version: ${t}</tspan></text></g></svg>`,a="data:image/svg+xml;base64,"+hr(o),d="font-size: 1px; padding: "+Math.floor(100/4)+"px "+Math.floor(580/2)+"px; line-height: "+Math.floor(100/2)+"px;";window.console.log("%c+",d+`background-image: url(${a});background-size: 580px 100px;background-repeat: norepeat; color: transparent;`)},Dt=()=>{const{attrs:t,props:e}=r.getCurrentInstance(),{pageShown:n,getTab:o,markDeletableCache:s,removeComponent:i,getComponent:a,addPageScroller:d}=be(),c=Y.useRoute(),l=Y.useRouter(),b=oe();let f="",u="";f=t.tId||e.tId;const _=t.pId||e.pId;return u=c.query.__tab,{forward:w=>{const k=J({__tab:u},w.query);b.emit("FORWARD"),l.push({path:w.path,query:k})},backward:(w,k)=>{const T=o(f);if(!T)return;const m=T.pages;let E=0;if(typeof w=="number")E=Math.abs(w);else{let v=1,N=!1;const R=m.list(),X=Fe(w);k=J(X.query,k);for(let B=m.size()-2;B>=0;B--){if(R[B].path===X.path){N=!0;break}v+=1}N&&(E=v)}if(E===0||m.size()<=E)return;for(let v=0;v<E;v++){const N=m.pop();i(N.id),s(N.id)}const p=m==null?void 0:m.peek(),x=a(p.id);if(x!=null){const v=x.components.DynamicComponent;v.props=J(k,v.props)}b.emit("BACKWARD"),l.push({path:p.path,query:p.query})},addScroller:(...w)=>{d(_,...w)}}},br=r.defineComponent({__name:"iframe",setup(t){return Dt(),()=>{}}}),mr=()=>{const t=oe(),{attrs:e}=r.getCurrentInstance();r.onUnmounted(()=>{o()});const n=()=>{t.emit(W.PAGE_LOADING,{tId:e.tId,value:!0})},o=()=>{t.emit(W.PAGE_LOADING,{tId:e.tId,value:!1})};return{openTabLoading:n,closeTabLoading:o}},gr={install(t,e){pr("0.1.38"),t.component("VueStackTabs",zt).use(xn).use(Jt().getI18n(e))}};z.IFrame=br,z.Stack=we,z.StackTab=zt,z.TabHeaderButton=Ie,z.TabScrollMode=Q,z.default=gr,z.useStackTab=Lt,z.useTabLoading=mr,z.useTabRouter=Dt,Object.defineProperties(z,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
5
|
+
*/const qt=["__proto__","prototype","constructor"];function Ft(t){const e=typeof t;return t!==null&&(e==="object"||e==="function")}function jt(t){return!(Array.isArray(t)?t.length:Object.keys(t).length)}function Ht(t){return!t.some(e=>qt.indexOf(e)!==-1)}function Zt(t){const e=t.split("."),n=[];for(let o=0;o<e.length;o++){let s=e[o];for(;s[s.length-1]==="\\"&&e[o+1]!==void 0;)s=s.slice(0,-1)+".",s+=e[++o];n.push(s)}return Ht(n)?n:[]}function Ke(t,e){if(!Ft(t))return"";const n=Zt(e);if(n.length===0)return"";let o=Object.assign({},t);for(let s=0;s<n.length;s++){if(typeof o[n[s]]=="string")return o[n[s]];if(o=o[n[s]],o==null){if(s!==n.length-1)return"";break}}return""}function Xt(t,e){if(Array.isArray(e)){const n={},o=[...t.matchAll(/{(.+?)}/g)];return o&&o.forEach((s,i)=>{e[i]&&(n[s[1]]=e[i])}),n}return e}function Gt(t,e){for(const n in e)t=t.replace(`{${n}}`,String(e[n]));return t}function Je(t,e){return Object.keys(e).forEach(n=>{e[n]instanceof Object&&n in t&&(e[n]={...e[n],...Je(t[n],e[n])})}),{...t||{},...e}}const Yt=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",Qe=(t=>Yt?Symbol(t):"_vt_"+t)("i18n");function de(){return r.inject(Qe)}function Kt(t){const e=Object.assign({locale:"en",fallbackLocale:"en",messages:{}},t),n=r.ref(e.locale),o=r.reactive({});return Object.entries(e.messages).forEach(([s,i])=>{o[s]=i}),{t(s,i){if(!s)return"";const a=typeof i=="string"&&i?i:n.value;let d=Ke(o[a],s)||Ke(o[e.fallbackLocale],s);if(i&&typeof i!="string"){const c=Xt(d,i);jt(c)||(d=Gt(d,c))}return d||s},current:r.readonly(n),options:r.readonly(t||{}),install(s){const i=this;s.config.globalProperties.$t=i.t,s.provide(Qe,i)},changeLocale(s){n.value=s},setLocaleMessage(s,i){o[s]=Je(r.toRaw(o[s]||{}),i)},getLocaleMessage(s){return o[s]||{}}}}const Jt=()=>{const t=Object.assign({"./lang/en.ts":Wt,"./lang/zh-CN.ts":Ut});function e(s,i){for(const a in s)if(s[a].default){const d=a.substring(a.lastIndexOf("/")+1,a.lastIndexOf("."));i[d]?i[d]={...s[d],...s[a].default}:i[d]=s[a].default}}const n=()=>{const s={};return e(t,s),s};return{getI18n:s=>{const i={...n()};if(s)for(const a of s)i[a.locale]=a.messages;return Kt({locale:"zh-CN",fallbackLocale:"en",messages:i})}}},et=({wrap:t,left:e=0,top:n=0,smooth:o=!0})=>{t&&(t.scrollTo?t.scrollTo({left:e,top:n,behavior:o?"smooth":"auto"}):(t.scrollLeft=e,t.scrollTop=n))};function Qt({el:t,wrap:e,block:n="start",inline:o="nearest"}){if(!(!t||!e))if(t.scrollIntoView)t.scrollIntoView({behavior:"smooth",block:n,inline:o});else{const{offsetLeft:s,offsetTop:i}=t;let a,d;n==="center"?d=i+(t.clientHeight-e.clientHeight)/2:d=i,o==="center"?a=s+(t.clientWidth-e.clientWidth)/2:a=s,et({wrap:e,left:a,top:d})}}const tt=(t=".stack-tab__container *")=>{const e=Array.from(document.querySelectorAll(t)).map(n=>+window.getComputedStyle(n).zIndex||0);return e.length?Math.max(...e.filter(n=>n<9e4))+1:1};var Q=(t=>(t.WHEEL="wheel",t.BUTTON="button",t.BOTH="both",t))(Q||{});class we{constructor(e){Pt(this,"items");if(this.items=new Map,e)for(const n of e)this.push(n)}push(e){this.items.set(this.items.size,e)}pop(){if(this.isEmpty())return;const e=this.items.get(this.items.size-1);return this.items.delete(this.items.size-1),e}peek(){if(!this.isEmpty())return this.items.get(this.items.size-1)}isEmpty(){return this.items.size===0}size(){return this.items.size}clear(){this.items.clear()}list(){return Array.from(this.items.values())}toString(){if(this.isEmpty())return"";let e="";return this.items.forEach((n,o)=>{e=`${e}${o===0?"":", "}${n}`}),e}toJSON(){return Array.from(this.items.values())}}function ve(t){var e=new Error(t);return e.source="ulid",e}var Le="0123456789ABCDEFGHJKMNPQRSTVWXYZ",he=Le.length,nt=Math.pow(2,48)-1,en=10,tn=16;function nn(t){var e=Math.floor(t()*he);return e===he&&(e=he-1),Le.charAt(e)}function rn(t,e){if(isNaN(t))throw new Error(t+" must be a number");if(t>nt)throw ve("cannot encode time greater than "+nt);if(t<0)throw ve("time must be positive");if(Number.isInteger(t)===!1)throw ve("time must be an integer");for(var n=void 0,o="";e>0;e--)n=t%he,o=Le.charAt(n)+o,t=(t-n)/he;return o}function on(t,e){for(var n="";t>0;t--)n=nn(e)+n;return n}function sn(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,e=arguments[1];e||(e=typeof window<"u"?window:null);var n=e&&(e.crypto||e.msCrypto);if(n)return function(){var s=new Uint8Array(1);return n.getRandomValues(s),s[0]/255};try{var o=require("crypto");return function(){return o.randomBytes(1).readUInt8()/255}}catch{}if(t){try{}catch{}return function(){return Math.random()}}throw ve("secure crypto unusable, insecure Math.random not allowed")}function an(t){return t||(t=sn()),function(n){return isNaN(n)&&(n=Date.now()),rn(n,en)+on(tn,t)}}var ze=an(),Ne={exports:{}};Ne.exports,function(t){var e=function(){var n=String.fromCharCode,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",i={};function a(c,l){if(!i[c]){i[c]={};for(var b=0;b<c.length;b++)i[c][c.charAt(b)]=b}return i[c][l]}var d={compressToBase64:function(c){if(c==null)return"";var l=d._compress(c,6,function(b){return o.charAt(b)});switch(l.length%4){default:case 0:return l;case 1:return l+"===";case 2:return l+"==";case 3:return l+"="}},decompressFromBase64:function(c){return c==null?"":c==""?null:d._decompress(c.length,32,function(l){return a(o,c.charAt(l))})},compressToUTF16:function(c){return c==null?"":d._compress(c,15,function(l){return n(l+32)})+" "},decompressFromUTF16:function(c){return c==null?"":c==""?null:d._decompress(c.length,16384,function(l){return c.charCodeAt(l)-32})},compressToUint8Array:function(c){for(var l=d.compress(c),b=new Uint8Array(l.length*2),f=0,u=l.length;f<u;f++){var _=l.charCodeAt(f);b[f*2]=_>>>8,b[f*2+1]=_%256}return b},decompressFromUint8Array:function(c){if(c==null)return d.decompress(c);for(var l=new Array(c.length/2),b=0,f=l.length;b<f;b++)l[b]=c[b*2]*256+c[b*2+1];var u=[];return l.forEach(function(_){u.push(n(_))}),d.decompress(u.join(""))},compressToEncodedURIComponent:function(c){return c==null?"":d._compress(c,6,function(l){return s.charAt(l)})},decompressFromEncodedURIComponent:function(c){return c==null?"":c==""?null:(c=c.replace(/ /g,"+"),d._decompress(c.length,32,function(l){return a(s,c.charAt(l))}))},compress:function(c){return d._compress(c,16,function(l){return n(l)})},_compress:function(c,l,b){if(c==null)return"";var f,u,_={},S={},C="",A="",w="",k=2,T=3,m=2,E=[],p=0,x=0,v;for(v=0;v<c.length;v+=1)if(C=c.charAt(v),Object.prototype.hasOwnProperty.call(_,C)||(_[C]=T++,S[C]=!0),A=w+C,Object.prototype.hasOwnProperty.call(_,A))w=A;else{if(Object.prototype.hasOwnProperty.call(S,w)){if(w.charCodeAt(0)<256){for(f=0;f<m;f++)p=p<<1,x==l-1?(x=0,E.push(b(p)),p=0):x++;for(u=w.charCodeAt(0),f=0;f<8;f++)p=p<<1|u&1,x==l-1?(x=0,E.push(b(p)),p=0):x++,u=u>>1}else{for(u=1,f=0;f<m;f++)p=p<<1|u,x==l-1?(x=0,E.push(b(p)),p=0):x++,u=0;for(u=w.charCodeAt(0),f=0;f<16;f++)p=p<<1|u&1,x==l-1?(x=0,E.push(b(p)),p=0):x++,u=u>>1}k--,k==0&&(k=Math.pow(2,m),m++),delete S[w]}else for(u=_[w],f=0;f<m;f++)p=p<<1|u&1,x==l-1?(x=0,E.push(b(p)),p=0):x++,u=u>>1;k--,k==0&&(k=Math.pow(2,m),m++),_[A]=T++,w=String(C)}if(w!==""){if(Object.prototype.hasOwnProperty.call(S,w)){if(w.charCodeAt(0)<256){for(f=0;f<m;f++)p=p<<1,x==l-1?(x=0,E.push(b(p)),p=0):x++;for(u=w.charCodeAt(0),f=0;f<8;f++)p=p<<1|u&1,x==l-1?(x=0,E.push(b(p)),p=0):x++,u=u>>1}else{for(u=1,f=0;f<m;f++)p=p<<1|u,x==l-1?(x=0,E.push(b(p)),p=0):x++,u=0;for(u=w.charCodeAt(0),f=0;f<16;f++)p=p<<1|u&1,x==l-1?(x=0,E.push(b(p)),p=0):x++,u=u>>1}k--,k==0&&(k=Math.pow(2,m),m++),delete S[w]}else for(u=_[w],f=0;f<m;f++)p=p<<1|u&1,x==l-1?(x=0,E.push(b(p)),p=0):x++,u=u>>1;k--,k==0&&(k=Math.pow(2,m),m++)}for(u=2,f=0;f<m;f++)p=p<<1|u&1,x==l-1?(x=0,E.push(b(p)),p=0):x++,u=u>>1;for(;;)if(p=p<<1,x==l-1){E.push(b(p));break}else x++;return E.join("")},decompress:function(c){return c==null?"":c==""?null:d._decompress(c.length,32768,function(l){return c.charCodeAt(l)})},_decompress:function(c,l,b){var f=[],u=4,_=4,S=3,C="",A=[],w,k,T,m,E,p,x,v={val:b(0),position:l,index:1};for(w=0;w<3;w+=1)f[w]=w;for(T=0,E=Math.pow(2,2),p=1;p!=E;)m=v.val&v.position,v.position>>=1,v.position==0&&(v.position=l,v.val=b(v.index++)),T|=(m>0?1:0)*p,p<<=1;switch(T){case 0:for(T=0,E=Math.pow(2,8),p=1;p!=E;)m=v.val&v.position,v.position>>=1,v.position==0&&(v.position=l,v.val=b(v.index++)),T|=(m>0?1:0)*p,p<<=1;x=n(T);break;case 1:for(T=0,E=Math.pow(2,16),p=1;p!=E;)m=v.val&v.position,v.position>>=1,v.position==0&&(v.position=l,v.val=b(v.index++)),T|=(m>0?1:0)*p,p<<=1;x=n(T);break;case 2:return""}for(f[3]=x,k=x,A.push(x);;){if(v.index>c)return"";for(T=0,E=Math.pow(2,S),p=1;p!=E;)m=v.val&v.position,v.position>>=1,v.position==0&&(v.position=l,v.val=b(v.index++)),T|=(m>0?1:0)*p,p<<=1;switch(x=T){case 0:for(T=0,E=Math.pow(2,8),p=1;p!=E;)m=v.val&v.position,v.position>>=1,v.position==0&&(v.position=l,v.val=b(v.index++)),T|=(m>0?1:0)*p,p<<=1;f[_++]=n(T),x=_-1,u--;break;case 1:for(T=0,E=Math.pow(2,16),p=1;p!=E;)m=v.val&v.position,v.position>>=1,v.position==0&&(v.position=l,v.val=b(v.index++)),T|=(m>0?1:0)*p,p<<=1;f[_++]=n(T),x=_-1,u--;break;case 2:return A.join("")}if(u==0&&(u=Math.pow(2,S),S++),f[x])C=f[x];else if(x===_)C=k+k.charAt(0);else return null;A.push(C),f[_++]=k+C.charAt(0),u--,k=C,u==0&&(u=Math.pow(2,S),S++)}}};return d}();t!=null?t.exports=e:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return e})}(Ne);var rt=Ne.exports;const cn=new TextEncoder,ln=new TextDecoder("utf-8",{ignoreBOM:!0}),ot={encode:t=>cn.encode(t),decode:t=>ln.decode(t)},st=(()=>{const e=[..."0123456789abcdef"],n=new Array(256);for(let o=0;o<256;o++)n[o]=`${e[o>>>4&15]}${e[o&15]}`;return n})(),fn=(()=>{const t={};for(let e=0;e<256;e++){const n=st[e],o=n[0],s=o.toUpperCase(),i=n[1],a=i.toUpperCase();t[n]=e,t[`${o}${a}`]=e,t[`${s}${i}`]=e,t[`${s}${a}`]=e}return t})(),Ve={encode:t=>{let e="";for(let n=0,o=t.length;n<o;n++)e+=st[t[n]];return e},encodeStr:t=>Ve.encode(ot.encode(t)),decode:t=>{const e=t.length/2,n=new Uint8Array(e);for(let o=0;o<e;o++)n[o]=fn[t.slice(o*2,o*2+2)];return n},decodeStr:t=>ot.decode(Ve.decode(t)),is:t=>!(t.length%2||!/^[a-fA-F0-9]*$/.test(t))};function pe(t){if(!Number.isSafeInteger(t)||t<0)throw new Error(`positive integer expected, not ${t}`)}function un(t){return t instanceof Uint8Array||t!=null&&typeof t=="object"&&t.constructor.name==="Uint8Array"}function Re(t,...e){if(!un(t))throw new Error("Uint8Array expected");if(e.length>0&&!e.includes(t.length))throw new Error(`Uint8Array expected of length ${e}, not of length=${t.length}`)}function De(t,e=!0){if(t.destroyed)throw new Error("Hash instance has been destroyed");if(e&&t.finished)throw new Error("Hash#digest() has already been called")}function it(t,e){Re(t);const n=e.outputLen;if(t.length<n)throw new Error(`digestInto() expects output buffer of length at least ${n}`)}const _e=BigInt(2**32-1),at=BigInt(32);function ct(t,e=!1){return e?{h:Number(t&_e),l:Number(t>>at&_e)}:{h:Number(t>>at&_e)|0,l:Number(t&_e)|0}}/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */const dn=t=>new Uint8Array(t.buffer,t.byteOffset,t.byteLength),xe=t=>new Uint32Array(t.buffer,t.byteOffset,Math.floor(t.byteLength/4)),Te=(t,e)=>t<<32-e|t>>>e,$=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68,lt=t=>t<<24&4278190080|t<<8&16711680|t>>>8&65280|t>>>24&255,hn=$?t=>t:t=>lt(t);function P(t){for(let e=0;e<t.length;e++)t[e]=lt(t[e])}function pn(t){if(typeof t!="string")throw new Error(`utf8ToBytes expected string, got ${typeof t}`);return new Uint8Array(new TextEncoder().encode(t))}function $e(t){return typeof t=="string"&&(t=pn(t)),Re(t),t}class bn{clone(){return this._cloneInto()}}function mn(t){const e=(o,s)=>t(s).update($e(o)).digest(),n=t({});return e.outputLen=n.outputLen,e.blockLen=n.blockLen,e.create=o=>t(o),e}class gn extends bn{constructor(e,n,o={},s,i,a){if(super(),this.blockLen=e,this.outputLen=n,this.length=0,this.pos=0,this.finished=!1,this.destroyed=!1,pe(e),pe(n),pe(s),n<0||n>s)throw new Error("outputLen bigger than keyLen");if(o.key!==void 0&&(o.key.length<1||o.key.length>s))throw new Error(`key must be up 1..${s} byte long or undefined`);if(o.salt!==void 0&&o.salt.length!==i)throw new Error(`salt must be ${i} byte long or undefined`);if(o.personalization!==void 0&&o.personalization.length!==a)throw new Error(`personalization must be ${a} byte long or undefined`);this.buffer32=xe(this.buffer=new Uint8Array(e))}update(e){De(this);const{blockLen:n,buffer:o,buffer32:s}=this;e=$e(e);const i=e.length,a=e.byteOffset,d=e.buffer;for(let c=0;c<i;){this.pos===n&&($||P(s),this.compress(s,0,!1),$||P(s),this.pos=0);const l=Math.min(n-this.pos,i-c),b=a+c;if(l===n&&!(b%4)&&c+l<i){const f=new Uint32Array(d,b,Math.floor((i-c)/4));$||P(f);for(let u=0;c+n<i;u+=s.length,c+=n)this.length+=n,this.compress(f,u,!1);$||P(f);continue}o.set(e.subarray(c,c+l),this.pos),this.pos+=l,this.length+=l,c+=l}return this}digestInto(e){De(this),it(e,this);const{pos:n,buffer32:o}=this;this.finished=!0,this.buffer.subarray(n).fill(0),$||P(o),this.compress(o,0,!0),$||P(o);const s=xe(e);this.get().forEach((i,a)=>s[a]=hn(i))}digest(){const{buffer:e,outputLen:n}=this;this.digestInto(e);const o=e.slice(0,n);return this.destroy(),o}_cloneInto(e){const{buffer:n,length:o,finished:s,destroyed:i,outputLen:a,pos:d}=this;return e||(e=new this.constructor({dkLen:a})),e.set(...this.get()),e.length=o,e.finished=s,e.destroyed=i,e.outputLen=a,e.buffer.set(n),e.pos=d,e}}const K=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]);function ee(t,e,n,o,s){return t=t+e+s|0,o=Te(o^t,16),n=n+o|0,e=Te(e^n,12),{a:t,b:e,c:n,d:o}}function te(t,e,n,o,s){return t=t+e+s|0,o=Te(o^t,8),n=n+o|0,e=Te(e^n,7),{a:t,b:e,c:n,d:o}}function ft(t,e,n,o,s,i,a,d,c,l,b,f,u,_,S,C,A,w,k,T){let m=0;for(let E=0;E<o;E++)({a:s,b:c,c:u,d:A}=ee(s,c,u,A,n[e+t[m++]])),{a:s,b:c,c:u,d:A}=te(s,c,u,A,n[e+t[m++]]),{a:i,b:l,c:_,d:w}=ee(i,l,_,w,n[e+t[m++]]),{a:i,b:l,c:_,d:w}=te(i,l,_,w,n[e+t[m++]]),{a,b,c:S,d:k}=ee(a,b,S,k,n[e+t[m++]]),{a,b,c:S,d:k}=te(a,b,S,k,n[e+t[m++]]),{a:d,b:f,c:C,d:T}=ee(d,f,C,T,n[e+t[m++]]),{a:d,b:f,c:C,d:T}=te(d,f,C,T,n[e+t[m++]]),{a:s,b:l,c:S,d:T}=ee(s,l,S,T,n[e+t[m++]]),{a:s,b:l,c:S,d:T}=te(s,l,S,T,n[e+t[m++]]),{a:i,b,c:C,d:A}=ee(i,b,C,A,n[e+t[m++]]),{a:i,b,c:C,d:A}=te(i,b,C,A,n[e+t[m++]]),{a,b:f,c:u,d:w}=ee(a,f,u,w,n[e+t[m++]]),{a,b:f,c:u,d:w}=te(a,f,u,w,n[e+t[m++]]),{a:d,b:c,c:_,d:k}=ee(d,c,_,k,n[e+t[m++]]),{a:d,b:c,c:_,d:k}=te(d,c,_,k,n[e+t[m++]]);return{v0:s,v1:i,v2:a,v3:d,v4:c,v5:l,v6:b,v7:f,v8:u,v9:_,v10:S,v11:C,v12:A,v13:w,v14:k,v15:T}}const ut=(()=>{const t=Array.from({length:16},(o,s)=>s),e=o=>[2,6,3,10,7,0,4,13,1,11,12,5,9,14,15,8].map(s=>o[s]),n=[];for(let o=0,s=t;o<7;o++,s=e(s))n.push(...s);return Uint8Array.from(n)})();class Pe extends gn{constructor(e={},n=0){if(super(64,e.dkLen===void 0?32:e.dkLen,{},Number.MAX_SAFE_INTEGER,0,0),this.flags=0,this.chunkPos=0,this.chunksDone=0,this.stack=[],this.posOut=0,this.bufferOut32=new Uint32Array(16),this.chunkOut=0,this.enableXOF=!0,this.outputLen=e.dkLen===void 0?32:e.dkLen,pe(this.outputLen),e.key!==void 0&&e.context!==void 0)throw new Error("Blake3: only key or context can be specified at same time");if(e.key!==void 0){const o=$e(e.key).slice();if(o.length!==32)throw new Error("Blake3: key should be 32 byte");this.IV=xe(o),$||P(this.IV),this.flags=n|16}else if(e.context!==void 0){const o=new Pe({dkLen:32},32).update(e.context).digest();this.IV=xe(o),$||P(this.IV),this.flags=n|64}else this.IV=K.slice(),this.flags=n;this.state=this.IV.slice(),this.bufferOut=dn(this.bufferOut32)}get(){return[]}set(){}b2Compress(e,n,o,s=0){const{state:i,pos:a}=this,{h:d,l:c}=ct(BigInt(e),!0),{v0:l,v1:b,v2:f,v3:u,v4:_,v5:S,v6:C,v7:A,v8:w,v9:k,v10:T,v11:m,v12:E,v13:p,v14:x,v15:v}=ft(ut,s,o,7,i[0],i[1],i[2],i[3],i[4],i[5],i[6],i[7],K[0],K[1],K[2],K[3],d,c,a,n);i[0]=l^w,i[1]=b^k,i[2]=f^T,i[3]=u^m,i[4]=_^E,i[5]=S^p,i[6]=C^x,i[7]=A^v}compress(e,n=0,o=!1){let s=this.flags;if(this.chunkPos||(s|=1),(this.chunkPos===15||o)&&(s|=2),o||(this.pos=this.blockLen),this.b2Compress(this.chunksDone,s,e,n),this.chunkPos+=1,this.chunkPos===16||o){let i=this.state;this.state=this.IV.slice();for(let a,d=this.chunksDone+1;(o||!(d&1))&&(a=this.stack.pop());d>>=1)this.buffer32.set(a,0),this.buffer32.set(i,8),this.pos=this.blockLen,this.b2Compress(0,this.flags|4,this.buffer32,0),i=this.state,this.state=this.IV.slice();this.chunksDone++,this.chunkPos=0,this.stack.push(i)}this.pos=0}_cloneInto(e){e=super._cloneInto(e);const{IV:n,flags:o,state:s,chunkPos:i,posOut:a,chunkOut:d,stack:c,chunksDone:l}=this;return e.state.set(s.slice()),e.stack=c.map(b=>Uint32Array.from(b)),e.IV.set(n),e.flags=o,e.chunkPos=i,e.chunksDone=l,e.posOut=a,e.chunkOut=d,e.enableXOF=this.enableXOF,e.bufferOut32.set(this.bufferOut32),e}destroy(){this.destroyed=!0,this.state.fill(0),this.buffer32.fill(0),this.IV.fill(0),this.bufferOut32.fill(0);for(let e of this.stack)e.fill(0)}b2CompressOut(){const{state:e,pos:n,flags:o,buffer32:s,bufferOut32:i}=this,{h:a,l:d}=ct(BigInt(this.chunkOut++));$||P(s);const{v0:c,v1:l,v2:b,v3:f,v4:u,v5:_,v6:S,v7:C,v8:A,v9:w,v10:k,v11:T,v12:m,v13:E,v14:p,v15:x}=ft(ut,0,s,7,e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],K[0],K[1],K[2],K[3],d,a,n,o);i[0]=c^A,i[1]=l^w,i[2]=b^k,i[3]=f^T,i[4]=u^m,i[5]=_^E,i[6]=S^p,i[7]=C^x,i[8]=e[0]^A,i[9]=e[1]^w,i[10]=e[2]^k,i[11]=e[3]^T,i[12]=e[4]^m,i[13]=e[5]^E,i[14]=e[6]^p,i[15]=e[7]^x,$||(P(s),P(i)),this.posOut=0}finish(){if(this.finished)return;this.finished=!0,this.buffer.fill(0,this.pos);let e=this.flags|8;this.stack.length?(e|=4,$||P(this.buffer32),this.compress(this.buffer32,0,!0),$||P(this.buffer32),this.chunksDone=0,this.pos=this.blockLen):e|=(this.chunkPos?0:1)|2,this.flags=e,this.b2CompressOut()}writeInto(e){De(this,!1),Re(e),this.finish();const{blockLen:n,bufferOut:o}=this;for(let s=0,i=e.length;s<i;){this.posOut>=n&&this.b2CompressOut();const a=Math.min(n-this.posOut,i-s);e.set(o.subarray(this.posOut,this.posOut+a),s),this.posOut+=a,s+=a}return e}xofInto(e){if(!this.enableXOF)throw new Error("XOF is not possible after digest call");return this.writeInto(e)}xof(e){return pe(e),this.xofInto(new Uint8Array(e))}digestInto(e){if(it(e,this),this.finished)throw new Error("digest() was already called");return this.enableXOF=!1,this.writeInto(e),this.destroy(),e}digest(){return this.digestInto(new Uint8Array(this.outputLen))}}const yn=mn(t=>new Pe(t)),We=t=>{const e=`${t.id}|${t.title}|${t.iframe?"Y":"N"}|${t.closable?"Y":"N"}|${t.refreshable?"Y":"N"}`;return rt.compressToEncodedURIComponent(e)},kn=t=>{const n=rt.decompressFromEncodedURIComponent(t).split("|");return{id:n[0],title:n[1],iframe:n[2]==="Y",closable:n[3]==="Y",refreshable:n[4]==="Y"}},dt=(t,e,n)=>{const o=[];for(const i in n)i.startsWith("__")||o.push({key:i,value:n[i]});o.sort((i,a)=>{let d=0;return i.key>a.key?d=1:i.key<a.key&&(d=-1),d});const s=yn(`${t}|${e}|${JSON.stringify(o)}`);return Ve.encode(s)};function Ue(t){if(t===null||typeof t!="object")return!1;const e=Object.getPrototypeOf(t);return e!==null&&e!==Object.prototype&&Object.getPrototypeOf(e)!==null||Symbol.iterator in t?!1:Symbol.toStringTag in t?Object.prototype.toString.call(t)==="[object Module]":!0}function qe(t,e,n=".",o){if(!Ue(e))return qe(t,{},n,o);const s=Object.assign({},e);for(const i in t){if(i==="__proto__"||i==="constructor")continue;const a=t[i];a!=null&&(o&&o(s,i,a,n)||(Array.isArray(a)&&Array.isArray(s[i])?s[i]=[...a,...s[i]]:Ue(a)&&Ue(s[i])?s[i]=qe(a,s[i],(n?`${n}.`:"")+i.toString(),o):s[i]=a))}return s}function wn(t){return(...e)=>e.reduce((n,o)=>qe(n,o,"",t),{})}const J=wn(),Fe=t=>{const e=t.split("?");if(e.length<=1)return{path:e[0],query:{}};{const n=e[1].split("&"),o={};for(const s of n){const i=s.split("=");i[1]!==null&&i[1]!==void 0&&i[1]!==""&&(o[i[0]]=i[1])}return{path:e[0],query:o}}};function vn(t){return{all:t=t||new Map,on:function(e,n){var o=t.get(e);o?o.push(n):t.set(e,[n])},off:function(e,n){var o=t.get(e);o&&(n?o.splice(o.indexOf(n)>>>0,1):t.set(e,[]))},emit:function(e,n){var o=t.get(e);o&&o.slice().map(function(s){s(n)}),(o=t.get("*"))&&o.slice().map(function(s){s(e,n)})}}}const _n=vn(),xn={install(t){t.provide("tabEmitter",_n)}},oe=()=>r.inject("tabEmitter");var W=(t=>(t.PAGE_LOADING="PAGE_LOADING",t.TAB_ACTIVE="TAB_ACTIVE",t))(W||{});const Tn={key:0,class:"stack-tab-loading-mask"},Sn=r.defineComponent({__name:"PageLoading",props:{tId:{}},setup(t){const e=t,n=oe(),o=r.ref(!1);return n.on(W.PAGE_LOADING,({tId:s,value:i})=>{s===e.tId&&(o.value=i)}),(s,i)=>o.value?(r.openBlock(),r.createElementBlock("div",Tn,i[0]||(i[0]=[r.createElementVNode("div",{class:"stack-tab-loading--spin turn"},null,-1)]))):r.createCommentVNode("",!0)}}),I=r.ref([]),je=[],V=r.ref([]),se=new Map,Se=new Set,U=new Set,ie=r.ref(!0),ht="stacktab-active-tab",ae=new Map;let pt=!1,Ee=0,bt=!1;const be=()=>{const t=Y.useRouter(),e=oe(),{t:n}=de(),o=()=>I.value.length,s=y=>{for(const O of y){const h=J(O,{id:ze(),refreshable:!0,closable:!0,iframe:!1}),L=We(h),F=Fe(h.path),D=J(h,{closable:!0,refreshable:!0,iframe:!1}),Me=dt(h.id,F.path,F.query),j={id:Me,tabId:h.id,path:F.path,query:J(F.query,{__tab:L})},ue=new we;ue.push(j);const G={id:h.id,title:D.title,closable:D.closable,refreshable:D.refreshable,iframe:D.iframe,active:!1,pages:ue};V.value.push(Me),je.push(G),I.value.push({...G})}const g=window.sessionStorage.getItem(ht);if(g!=null){const O=JSON.parse(g,(L,F)=>L==="pages"?new we(F):F);let h=!1;for(const L of I.value)if(L.id===O.id){h=!0;break}h||I.value.push(O)}pt=!0},i=y=>{for(const g of I.value)if(g.id===y)return!0;return!1},a=()=>Ee<=0||Ee>0&&Ee>I.value.length,d=y=>new Promise(g=>{I.value.push(y),g(!0)}),c=y=>{for(const g of I.value)if(g.id===y)return g;return null},l=(y,g)=>{let O,h;if(y.query.__tab?h=kn(y.query.__tab):(h={id:ze(),title:n("VueStackTab.undefined"),closable:!0,refreshable:!0,iframe:!1},y.query.__tab=We(h)),U.has(h.id)||!g)return;const L=y.matched[y.matched.length-1].path,F=y.path.endsWith("/")?y.path.substring(0,y.path.length-1):y.path,D=dt(h.id,L===F?F:y.path,y.query.valueOf()),Me=y.query.__src;let j=null;for(const G of r.unref(I))G.active=!1,G.id===h.id&&(j=G);const ue={id:D,tabId:h.id,path:y.path,query:y.query};if(j===null){const G=new we;G.push(ue),j={id:h.id,title:h.title,closable:h.closable,refreshable:h.refreshable,iframe:h.iframe,url:decodeURIComponent(Me),active:!0,pages:G},d(j).then(()=>{e.emit(W.TAB_ACTIVE,{id:h.id,isRoute:!1})})}else j.active=!0,(j.pages.isEmpty()||j.pages.peek().id!==ue.id)&&j.pages.push(ue);return q(j),se.has(D)?O=se.get(D):(O=r.defineComponent({name:D,components:{DynamicComponent:g},emits:{onLoaded:null},setup(G,$t){return r.onMounted(()=>{$t.emit("onLoaded"),_(D,".cache-page-wrapper")}),r.onDeactivated(()=>{f(D)}),r.onActivated(()=>{$t.emit("onLoaded"),b(D),R(),U.clear(),g.props=null}),r.onUnmounted(()=>{u(D)}),()=>r.createVNode("div",{class:"cache-page-wrapper",id:"W-"+h.id,style:[bt?"overflow:auto":"overflow:hidden"]},[r.createVNode(r.resolveComponent("dynamic-component"),{tId:h.id,pId:D},null),r.createVNode(Sn,{tId:h.id},null)])}}),se.set(D,O)),B(D),O},b=y=>{const g=ae.get(y);if(g){for(const O of g.keys())if(document.querySelector(O)){const h=g.get(O);document.querySelector(O).scrollTop=h.top,document.querySelector(O).scrollLeft=h.left}}},f=y=>{var O,h;const g=ae.get(y);if(g)for(const L of g.keys()){const F={top:((O=document.querySelector(L))==null?void 0:O.scrollTop)??0,left:((h=document.querySelector(L))==null?void 0:h.scrollLeft)??0};g.set(L,F)}},u=y=>{const g=ae.get(y);g&&(g.clear(),ae.delete(y))},_=(y,...g)=>{ae.has(y)||ae.set(y,new Map);const O=ae.get(y);for(const h of g)O.set(h,{top:0,left:0})},S=y=>{const g=c(y.id);for(const O of g.pages.list())v(O.id),N(O.id);R(),g.pages.clear()},C=y=>{let g="";const O=c(y);for(let h=I.value.length-1;h>=0;h--)if(y===r.unref(I)[h].id){if(!r.unref(I)[h].closable)return y;for(const L of r.unref(I)[h].pages.list())v(L.id),N(L.id),U.add(r.unref(I)[h].id);r.unref(I)[h].pages.clear(),I.value.length>1&&r.unref(I)[h].active&&(h===0?g=r.unref(I)[h+1].id:g=r.unref(I)[h-1].id),r.unref(I).splice(h,1);break}return g!==""&&e.emit(W.TAB_ACTIVE,{id:g}),O!=null&&O.active||(R(),U.clear()),g},A=()=>{const y=r.unref(I);for(let g=y.length-1;g>=0;g--)if(y[g].closable){for(const O of y[g].pages.list())v(O.id),N(O.id),U.add(y[g].id);r.unref(I)[g].pages.clear(),r.unref(I).splice(g,1)}for(const g of y)if(g.active){R(),U.clear();return}e.emit(W.TAB_ACTIVE,{id:y[y.length-1].id})},w=y=>{const g=r.unref(I);let O;for(let h=g.length-1;h>=0;h--)if(g[h].id===y)O=g[h];else if(g[h].closable&&g[h].id!==y){for(const L of g[h].pages.list())v(L.id),N(L.id),U.add(g[h].id);r.unref(I)[h].pages.clear(),r.unref(I).splice(h,1)}O.active?(R(),U.clear()):e.emit(W.TAB_ACTIVE,{id:y})},k=y=>{let g=-1;const O=r.unref(I);for(let h=0;h<O.length;h++)if(O[h].id===y){g=h-1;break}for(let h=g;h>=0;h--)if(O[h].closable){for(const L of O[h].pages.list())v(L.id),N(L.id),U.add(O[h].id);r.unref(I)[h].pages.clear(),r.unref(I).splice(h,1)}for(const h of O)if(h.active){R(),U.clear();return}e.emit(W.TAB_ACTIVE,{id:O[0].id})},T=y=>{const g=r.unref(I);let O=g.length;for(let h=0;h<g.length;h++)if(g[h].id===y){O=h+1;break}for(let h=g.length-1;h>=O;h--)if(g[h].closable){for(const L of g[h].pages.list())v(L.id),N(L.id),U.add(g[h].id);r.unref(I)[h].pages.clear(),r.unref(I).splice(h,1)}for(const h of g)if(h.active){R(),U.clear();return}e.emit(W.TAB_ACTIVE,{id:g[g.length-1].id})},m=y=>{var g;for(const O of r.unref(I))if(O.id===y){const h=(g=O.pages.peek())==null?void 0:g.id;for(let L=V.value.length-1;L>=0;L--)if(V.value[L]===h){V.value.splice(L,1),O.active&&(ie.value=!1,r.nextTick(()=>{ie.value=!0}));break}break}},E=()=>{const y=new Set;I.value.forEach(g=>{y.add(g.pages.peek().id)});for(let g=V.value.length-1;g>=0;g--){const O=V.value[g];y.has(O)&&V.value.splice(g,1)}r.nextTick(()=>{ie.value=!1,r.nextTick(()=>{setTimeout(()=>{ie.value=!0},300)})})},p=(y,g)=>{se.set(y,g)},x=y=>se.get(y),v=y=>{se.delete(y)},N=y=>{Se.add(y)},R=()=>{for(let y=V.value.length-1;y>=0;y--)Se.has(V.value[y])&&r.unref(V).splice(y,1);Se.clear()},X=y=>{for(let g=V.value.length-1;g>=0;g--)y===V.value[g]&&r.unref(V).splice(g,1)},B=y=>{new Set(V.value).has(y)||V.value.push(y)},M=(y,g=!0)=>{e.emit("FORWARD");for(let O=I.value.length-1;O>=0;O--){const h=I.value[O];if(h.id===y){if(h.active)break;if(h.active=!0,q(h),g){const L=h.pages.peek();t.push({path:L.path,query:L.query})}}else I.value[O].active=!1}},q=y=>{window.sessionStorage.setItem(ht,JSON.stringify(y))},re=()=>{ie.value=!1,ke(),r.nextTick(()=>{r.unref(I).push(...je),e.emit(W.TAB_ACTIVE,{id:je[0].id}),r.nextTick(()=>{ie.value=!0})})},ke=()=>{r.unref(I).splice(0),se.clear(),Se.clear(),U.clear(),r.unref(V).splice(0)};return{tabs:I,caches:V,pageShown:ie,initialed:pt,setMaxSize:y=>{Ee=y},canAddTab:a,initial:s,size:o,active:M,destroy:ke,reset:re,addCache:B,removeCache:X,getTab:c,addTab:d,removeTab:C,removeAllTabs:A,removeLeftTabs:k,removeRightTabs:T,removeOtherTabs:w,hasTab:i,renewTab:S,addPage:l,addComponent:p,getComponent:x,removeComponent:v,markDeletableCache:N,removeDeletableCache:R,refreshTab:m,refreshAllTabs:E,addPageScroller:_,setGlobalScroll:y=>{bt=y}}},En={class:"stack-tab__contextmenu-item"},ne=r.defineComponent({__name:"ContextMenuItem",props:{icon:{},title:{}},setup(t){return(e,n)=>(r.openBlock(),r.createElementBlock("div",En,[r.createElementVNode("div",{class:r.normalizeClass(["stack-tab__contextmenu-icon",e.icon])},null,2),r.createElementVNode("div",{style:{"margin-left":"8px"},onContextmenu:n[0]||(n[0]=r.withModifiers(()=>{},["prevent"]))},r.toDisplayString(e.title),33)]))}}),Bn={key:0,class:"divider div-transparent"},On=((t,e)=>{const n=t.__vccOpts||t;for(const[o,s]of e)n[o]=s;return n})(r.defineComponent({__name:"index",props:{index:{},left:{default:0},top:{default:0},contextMenu:{},tabItem:{},max:{}},setup(t){const e=t,{t:n}=de(),o=r.ref(),s=r.reactive({left:e.left,top:e.top}),{removeTab:i,removeAllTabs:a,removeLeftTabs:d,removeRightTabs:c,refreshTab:l,refreshAllTabs:b,removeOtherTabs:f}=be();return r.onMounted(()=>{const u=o.value?o.value.clientWidth:0,_=window.innerWidth;s.left+u>_&&(s.left=_-u-5)}),(u,_)=>(r.openBlock(),r.createElementBlock("div",{ref_key:"contextmenu",ref:o,class:"stack-tab__contextmenu",style:r.normalizeStyle({left:`${s.left}px`,top:`${s.top}px`,"z-index":r.unref(tt)(".stack-tab,.stack-tab *")})},[r.createVNode(ne,{icon:"stack-tab__icon-reload svg-mask",title:r.unref(n)("VueStackTab.reload"),onClick:_[0]||(_[0]=S=>r.unref(l)(u.tabItem.id))},null,8,["title"]),r.createVNode(ne,{icon:"stack-tab__icon-reload-all svg-mask",title:r.unref(n)("VueStackTab.reloadAll"),onClick:r.unref(b)},null,8,["title","onClick"]),r.createVNode(ne,{icon:"stack-tab__icon-close svg-mask",title:r.unref(n)("VueStackTab.close"),disabled:u.tabItem.closable?null:"disabled",onClick:_[1]||(_[1]=S=>r.unref(i)(u.tabItem.id))},null,8,["title","disabled"]),r.createVNode(ne,{icon:"stack-tab__icon-close-lefts svg-mask",title:r.unref(n)("VueStackTab.closeLeft"),disabled:u.index<=0?"disabled":null,onClick:_[2]||(_[2]=S=>r.unref(d)(u.tabItem.id))},null,8,["title","disabled"]),r.createVNode(ne,{icon:"stack-tab__icon-close-rights svg-mask",title:r.unref(n)("VueStackTab.closeRight"),disabled:u.index>=u.max-1?"disabled":null,onClick:_[3]||(_[3]=S=>r.unref(c)(u.tabItem.id))},null,8,["title","disabled"]),r.createVNode(ne,{icon:"stack-tab__icon-close-others svg-mask",title:r.unref(n)("VueStackTab.closeOthers"),onClick:_[4]||(_[4]=S=>r.unref(f)(u.tabItem.id))},null,8,["title"]),r.createVNode(ne,{icon:"stack-tab__icon-close-all svg-mask",title:r.unref(n)("VueStackTab.closeAll"),onClick:r.unref(a)},null,8,["title","onClick"]),u.contextMenu!==void 0&&u.contextMenu.length>0?(r.openBlock(),r.createElementBlock("div",Bn)):r.createCommentVNode("",!0),(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(u.contextMenu,(S,C)=>(r.openBlock(),r.createBlock(ne,{key:C,icon:S.icon,title:S.title,disabled:S.disabled(u.tabItem)?"disabled":null,onClick:A=>!S.disabled&&S.callback(u.tabItem.id)},null,8,["icon","title","disabled","onClick"]))),128))],4))}}),[["__scopeId","data-v-d598be6e"]]),An=()=>{const t=r.reactive({item:{},index:-1,left:0,top:0,max:0}),e=r.ref(!1);r.onMounted(()=>{document.addEventListener("click",o)}),r.onUnmounted(()=>{document.removeEventListener("click",o)});const n=async(s,i,a,d)=>{e.value=!1,await r.nextTick(()=>{const{clientY:c,clientX:l}=s;e.value=!0,Object.assign(t,{item:i,index:a,top:c,left:l,max:d})})},o=s=>{s.target.classList.contains("stack-tab__contextmenu")||(e.value=!1)};return{shown:e,contextMenuData:t,showContextMenu:n}},Cn={class:"stack-tab__item-title"},In=["title"],Mn=["title"],Ln=r.defineComponent({__name:"TabHeaderItem",props:{item:{}},emits:["close","active"],setup(t,{emit:e}){const n=e,o=oe(),{t:s}=de(),i=r.ref(),a=t;o.on(W.TAB_ACTIVE,({id:b,isRoute:f})=>{a.item.id===b&&l(f)});const d=r.computed(()=>a.item.title||s("undefined")),c=()=>{n("close",a.item)},l=(b=!0)=>{n("active",a.item,i,b)};return(b,f)=>(r.openBlock(),r.createElementBlock("li",{ref_key:"curtab",ref:i,class:r.normalizeClass(["stack-tab__item",{"is-active":b.item.active,"is-icon":b.item.closable}]),onClick:f[0]||(f[0]=u=>l(!0))},[r.createElementVNode("div",Cn,[r.createElementVNode("div",{class:"stack-tab__item-title-content",title:d.value},r.toDisplayString(d.value),9,In)]),b.item.closable?(r.openBlock(),r.createElementBlock("div",{key:0,class:"stack-tab__icon-close-fill stack-tab__item-button",title:r.unref(s)("VueStackTab.close"),onClick:r.withModifiers(c,["stop"])},null,8,Mn)):r.createCommentVNode("",!0)],2))}});var ce=[],zn=function(){return ce.some(function(t){return t.activeTargets.length>0})},Nn=function(){return ce.some(function(t){return t.skippedTargets.length>0})},mt="ResizeObserver loop completed with undelivered notifications.",Vn=function(){var t;typeof ErrorEvent=="function"?t=new ErrorEvent("error",{message:mt}):(t=document.createEvent("Event"),t.initEvent("error",!1,!1),t.message=mt),window.dispatchEvent(t)},me;(function(t){t.BORDER_BOX="border-box",t.CONTENT_BOX="content-box",t.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(me||(me={}));var le=function(t){return Object.freeze(t)},Rn=function(){function t(e,n){this.inlineSize=e,this.blockSize=n,le(this)}return t}(),gt=function(){function t(e,n,o,s){return this.x=e,this.y=n,this.width=o,this.height=s,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,le(this)}return t.prototype.toJSON=function(){var e=this,n=e.x,o=e.y,s=e.top,i=e.right,a=e.bottom,d=e.left,c=e.width,l=e.height;return{x:n,y:o,top:s,right:i,bottom:a,left:d,width:c,height:l}},t.fromRect=function(e){return new t(e.x,e.y,e.width,e.height)},t}(),He=function(t){return t instanceof SVGElement&&"getBBox"in t},yt=function(t){if(He(t)){var e=t.getBBox(),n=e.width,o=e.height;return!n&&!o}var s=t,i=s.offsetWidth,a=s.offsetHeight;return!(i||a||t.getClientRects().length)},kt=function(t){var e;if(t instanceof Element)return!0;var n=(e=t==null?void 0:t.ownerDocument)===null||e===void 0?void 0:e.defaultView;return!!(n&&t instanceof n.Element)},Dn=function(t){switch(t.tagName){case"INPUT":if(t.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},ge=typeof window<"u"?window:{},Be=new WeakMap,wt=/auto|scroll/,$n=/^tb|vertical/,Pn=/msie|trident/i.test(ge.navigator&&ge.navigator.userAgent),H=function(t){return parseFloat(t||"0")},fe=function(t,e,n){return t===void 0&&(t=0),e===void 0&&(e=0),n===void 0&&(n=!1),new Rn((n?e:t)||0,(n?t:e)||0)},vt=le({devicePixelContentBoxSize:fe(),borderBoxSize:fe(),contentBoxSize:fe(),contentRect:new gt(0,0,0,0)}),_t=function(t,e){if(e===void 0&&(e=!1),Be.has(t)&&!e)return Be.get(t);if(yt(t))return Be.set(t,vt),vt;var n=getComputedStyle(t),o=He(t)&&t.ownerSVGElement&&t.getBBox(),s=!Pn&&n.boxSizing==="border-box",i=$n.test(n.writingMode||""),a=!o&&wt.test(n.overflowY||""),d=!o&&wt.test(n.overflowX||""),c=o?0:H(n.paddingTop),l=o?0:H(n.paddingRight),b=o?0:H(n.paddingBottom),f=o?0:H(n.paddingLeft),u=o?0:H(n.borderTopWidth),_=o?0:H(n.borderRightWidth),S=o?0:H(n.borderBottomWidth),C=o?0:H(n.borderLeftWidth),A=f+l,w=c+b,k=C+_,T=u+S,m=d?t.offsetHeight-T-t.clientHeight:0,E=a?t.offsetWidth-k-t.clientWidth:0,p=s?A+k:0,x=s?w+T:0,v=o?o.width:H(n.width)-p-E,N=o?o.height:H(n.height)-x-m,R=v+A+E+k,X=N+w+m+T,B=le({devicePixelContentBoxSize:fe(Math.round(v*devicePixelRatio),Math.round(N*devicePixelRatio),i),borderBoxSize:fe(R,X,i),contentBoxSize:fe(v,N,i),contentRect:new gt(f,c,v,N)});return Be.set(t,B),B},xt=function(t,e,n){var o=_t(t,n),s=o.borderBoxSize,i=o.contentBoxSize,a=o.devicePixelContentBoxSize;switch(e){case me.DEVICE_PIXEL_CONTENT_BOX:return a;case me.BORDER_BOX:return s;default:return i}},Wn=function(){function t(e){var n=_t(e);this.target=e,this.contentRect=n.contentRect,this.borderBoxSize=le([n.borderBoxSize]),this.contentBoxSize=le([n.contentBoxSize]),this.devicePixelContentBoxSize=le([n.devicePixelContentBoxSize])}return t}(),Tt=function(t){if(yt(t))return 1/0;for(var e=0,n=t.parentNode;n;)e+=1,n=n.parentNode;return e},Un=function(){var t=1/0,e=[];ce.forEach(function(a){if(a.activeTargets.length!==0){var d=[];a.activeTargets.forEach(function(l){var b=new Wn(l.target),f=Tt(l.target);d.push(b),l.lastReportedSize=xt(l.target,l.observedBox),f<t&&(t=f)}),e.push(function(){a.callback.call(a.observer,d,a.observer)}),a.activeTargets.splice(0,a.activeTargets.length)}});for(var n=0,o=e;n<o.length;n++){var s=o[n];s()}return t},St=function(t){ce.forEach(function(n){n.activeTargets.splice(0,n.activeTargets.length),n.skippedTargets.splice(0,n.skippedTargets.length),n.observationTargets.forEach(function(s){s.isActive()&&(Tt(s.target)>t?n.activeTargets.push(s):n.skippedTargets.push(s))})})},qn=function(){var t=0;for(St(t);zn();)t=Un(),St(t);return Nn()&&Vn(),t>0},Ze,Et=[],Fn=function(){return Et.splice(0).forEach(function(t){return t()})},jn=function(t){if(!Ze){var e=0,n=document.createTextNode(""),o={characterData:!0};new MutationObserver(function(){return Fn()}).observe(n,o),Ze=function(){n.textContent="".concat(e?e--:e++)}}Et.push(t),Ze()},Hn=function(t){jn(function(){requestAnimationFrame(t)})},Oe=0,Zn=function(){return!!Oe},Xn=250,Gn={attributes:!0,characterData:!0,childList:!0,subtree:!0},Bt=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],Ot=function(t){return t===void 0&&(t=0),Date.now()+t},Xe=!1,Yn=function(){function t(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return t.prototype.run=function(e){var n=this;if(e===void 0&&(e=Xn),!Xe){Xe=!0;var o=Ot(e);Hn(function(){var s=!1;try{s=qn()}finally{if(Xe=!1,e=o-Ot(),!Zn())return;s?n.run(1e3):e>0?n.run(e):n.start()}})}},t.prototype.schedule=function(){this.stop(),this.run()},t.prototype.observe=function(){var e=this,n=function(){return e.observer&&e.observer.observe(document.body,Gn)};document.body?n():ge.addEventListener("DOMContentLoaded",n)},t.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),Bt.forEach(function(n){return ge.addEventListener(n,e.listener,!0)}))},t.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),Bt.forEach(function(n){return ge.removeEventListener(n,e.listener,!0)}),this.stopped=!0)},t}(),Ge=new Yn,At=function(t){!Oe&&t>0&&Ge.start(),Oe+=t,!Oe&&Ge.stop()},Kn=function(t){return!He(t)&&!Dn(t)&&getComputedStyle(t).display==="inline"},Jn=function(){function t(e,n){this.target=e,this.observedBox=n||me.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return t.prototype.isActive=function(){var e=xt(this.target,this.observedBox,!0);return Kn(this.target)&&(this.lastReportedSize=e),this.lastReportedSize.inlineSize!==e.inlineSize||this.lastReportedSize.blockSize!==e.blockSize},t}(),Qn=function(){function t(e,n){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=n}return t}(),Ae=new WeakMap,Ct=function(t,e){for(var n=0;n<t.length;n+=1)if(t[n].target===e)return n;return-1},Ce=function(){function t(){}return t.connect=function(e,n){var o=new Qn(e,n);Ae.set(e,o)},t.observe=function(e,n,o){var s=Ae.get(e),i=s.observationTargets.length===0;Ct(s.observationTargets,n)<0&&(i&&ce.push(s),s.observationTargets.push(new Jn(n,o&&o.box)),At(1),Ge.schedule())},t.unobserve=function(e,n){var o=Ae.get(e),s=Ct(o.observationTargets,n),i=o.observationTargets.length===1;s>=0&&(i&&ce.splice(ce.indexOf(o),1),o.observationTargets.splice(s,1),At(-1))},t.disconnect=function(e){var n=this,o=Ae.get(e);o.observationTargets.slice().forEach(function(s){return n.unobserve(e,s.target)}),o.activeTargets.splice(0,o.activeTargets.length)},t}(),It=function(){function t(e){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof e!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");Ce.connect(this,e)}return t.prototype.observe=function(e,n){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!kt(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Ce.observe(this,e,n)},t.prototype.unobserve=function(e){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!kt(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Ce.unobserve(this,e)},t.prototype.disconnect=function(){Ce.disconnect(this)},t.toString=function(){return"function ResizeObserver () { [polyfill code] }"},t}();const er=["disabled","title"],tr={key:1,class:"stack-tab__button"},Ie=r.defineComponent({__name:"TabHeaderButton",props:{disabled:{type:Boolean,default:!1},shadow:{default:null},iconClass:{default:""},title:{}},setup(t){return(e,n)=>(r.openBlock(),r.createElementBlock("div",{class:r.normalizeClass(["stack-tab__header-button",{"stack-tab__shadow-right":e.shadow==="right","stack-tab__shadow-left":e.shadow==="left"}]),disabled:e.disabled?"disabled":null,title:e.title},["icon"in e.$slots?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",{key:0,class:r.normalizeClass(["stack-tab__mask-button",e.iconClass])},null,2)),"icon"in e.$slots?(r.openBlock(),r.createElementBlock("div",tr,[r.renderSlot(e.$slots,"icon")])):r.createCommentVNode("",!0)],10,er))}}),nr=r.defineComponent({__name:"TabHeaderScroll",props:{space:{default:300},isScrollWheel:{type:Boolean,default:!0},isScrollButton:{type:Boolean,default:!0}},setup(t,{expose:e}){const n=r.ref(null),o=r.ref(null),s=r.ref(null),i=r.ref(!1),a=r.ref(!1),d=r.ref(!1),c=r.ref(!0),l=r.ref(),b=t,f=r.reactive({clientWidth:0,scrollWidth:0,scrollLeft:0}),u=r.reactive({thumbLeft:0,startScrollLeft:0,startThumbLeft:0,startPageX:0});r.watch(f,B=>{_(B)});const _=B=>{a.value=B.scrollLeft<=10,d.value=B.clientWidth+B.scrollLeft-B.scrollWidth>=-10,c.value=B.scrollWidth!==B.clientWidth},S=r.computed(()=>f.scrollWidth>f.clientWidth),C=r.computed(()=>{if(!S.value)return 0;const{clientWidth:B,scrollWidth:M}=f;return B/M*B}),A=r.computed(()=>{if(!S.value)return 0;const{clientWidth:B,scrollWidth:M,scrollLeft:q}=f;return(B-C.value)*(q/(M-B))}),w=()=>{if(n.value===null||n.value===void 0)return;const{clientWidth:B,scrollWidth:M,scrollLeft:q}=n.value;Object.assign(f,{clientWidth:B,scrollWidth:M,scrollLeft:q})},k=new It(()=>{var M;w();const B=(M=n.value)==null?void 0:M.querySelector(".stack-tab__item.is-active");B&&(X(B)||R(B))}),T=new It(()=>{var B;if(!S.value){const M=(B=n.value)==null?void 0:B.querySelector(".stack-tab__item.is-active");M&&(X(M)||R(M))}w()}),m=(B,M=!0)=>{et({wrap:n.value,left:B,smooth:M})},E=B=>{m(n.value.scrollLeft+B)},p=B=>{const M=B.deltaY<0;m(n.value.scrollLeft+(M?-b.space:b.space))},x=B=>{var M;Object.assign(u,{startPageX:B.pageX,startScrollLeft:(M=n.value)==null?void 0:M.scrollLeft,startThumbLeft:A.value,thumbLeft:A.value}),i.value=!0,document.addEventListener("mousemove",v),document.addEventListener("mouseup",N)},v=B=>{const{clientWidth:M,scrollWidth:q}=f;let re=u.startThumbLeft+B.pageX-u.startPageX;const ke=M-C.value;re<0?re=0:re>ke&&(re=ke),u.thumbLeft=re,m(re*(q-M)/(M-C.value),!1),B.preventDefault()},N=B=>{i.value=!1,document.removeEventListener("mousemove",v),document.removeEventListener("mouseup",N),B.preventDefault()};r.onMounted(()=>{var M;k.observe(l.value);const B=(M=n.value)==null?void 0:M.querySelector(".stack-tab__nav");T.observe(B)}),r.onUnmounted(()=>{k.disconnect(),T.disconnect()});const R=B=>{Qt({el:B,wrap:n,block:"end",inline:"center"})},X=B=>{if(!S.value)return!0;const M=B.offsetLeft,q=n.value.scrollLeft;return!(M<q||M+B.clientWidth>q+n.value.clientWidth)};return e({scrollIntoView:R,isInView:X}),(B,M)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[c.value?(r.openBlock(),r.createBlock(Ie,{key:0,"icon-class":"stack-tab__icon-left-arrow",disabled:a.value,onClick:M[0]||(M[0]=q=>!a.value&&E(-1*B.space))},null,8,["disabled"])):r.createCommentVNode("",!0),r.createElementVNode("div",{ref_key:"headerScroll",ref:l,class:"stack-tab__scroll",onWheel:r.withModifiers(p,["prevent"])},[r.createElementVNode("div",{ref_key:"container",ref:n,class:r.normalizeClass(["stack-tab__scroll-container",{"stack-tab__shadow-inset-left":!a.value&&d.value,"stack-tab__shadow-inset-right":!d.value&&a.value,"stack-tab__shadow-inset-all":!a.value&&!d.value}]),onScrollPassive:w},[r.renderSlot(B.$slots,"default")],34),r.withDirectives(r.createElementVNode("div",{ref_key:"bar",ref:o,class:r.normalizeClass(["stack-tab__scrollbar",{"is-dragging":i.value}])},[r.createElementVNode("div",{ref_key:"thumb",ref:s,class:r.normalizeClass(["stack-tab__scrollbar-thumb",{"is-dragging":i.value}]),style:r.normalizeStyle({width:`${C.value}px`,transform:`translateX(${A.value}px)`}),onMousedown:r.withModifiers(x,["prevent"])},null,38)],2),[[r.vShow,S.value]])],544),c.value?(r.openBlock(),r.createBlock(Ie,{key:1,"icon-class":"stack-tab__icon-right-arrow",disabled:d.value,onClick:M[1]||(M[1]=q=>!d.value&&E(B.space))},null,8,["disabled"])):r.createCommentVNode("",!0)],64))}}),rr={class:"stack-tab__header"},or=r.defineComponent({__name:"index",props:{space:{},tabScrollMode:{default:Q.BOTH},tabTransition:{default:()=>({name:"stack-tab-zoom"})},contextmenu:{type:[Boolean,Object],default:!0},max:{default:20}},emits:["active"],setup(t,{emit:e}){const{t:n}=de(),o=r.inject("maximum"),s=e,i=r.ref(),{shown:a,contextMenuData:d,showContextMenu:c}=An(),l=t,{removeTab:b,active:f,tabs:u}=be(),_=r.computed(()=>typeof l.tabTransition=="string"?{name:l.tabTransition}:l.tabTransition),S=r.computed(()=>l.tabScrollMode===Q.BOTH||l.tabScrollMode===Q.BUTTON),C=l.tabScrollMode===Q.BOTH||l.tabScrollMode===Q.WHEEL,A=k=>{k.closable&&b(k.id),a.value=!1},w=(k,T,m)=>{i.value&&(r.nextTick(()=>{i.value.isInView(T.value)||i.value.scrollIntoView(T.value)}),f(k.id,m),s("active",k.id))};return(k,T)=>(r.openBlock(),r.createElementBlock("div",rr,[r.renderSlot(k.$slots,"leftButton"),r.createVNode(nr,{ref_key:"scroll",ref:i,space:k.space,"is-scroll-wheel":r.unref(C),"is-scroll-button":S.value},{default:r.withCtx(()=>[r.createVNode(r.TransitionGroup,r.mergeProps({key:"tabItemTrans",tag:"ul",class:"stack-tab__nav"},_.value,{appear:""}),{default:r.withCtx(()=>[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(r.unref(u),(m,E)=>(r.openBlock(),r.createBlock(Ln,{key:m.id,contextmenu:k.contextmenu,item:m,onContextmenu:r.withModifiers(p=>r.unref(c)(p,m,E,r.unref(u).length),["prevent"]),onMouseup:r.withModifiers(p=>A(m),["middle","prevent"]),onClose:A,onActive:w},null,8,["contextmenu","item","onContextmenu","onMouseup"]))),128))]),_:1},16)]),_:1},8,["space","is-scroll-wheel","is-scroll-button"]),r.renderSlot(k.$slots,"rightButton"),r.createVNode(Ie,{"icon-class":r.unref(o)?"stack-tab__icon-restore":"stack-tab__icon-fullscreen",title:r.unref(n)("VueStackTab.maximum"),onClick:T[0]||(T[0]=m=>o.value=!r.unref(o))},null,8,["icon-class","title"]),r.createVNode(r.Transition,{name:"stack-tab-zoom",appear:""},{default:r.withCtx(()=>[r.unref(a)?(r.openBlock(),r.createBlock(On,{key:"tabMenuTrans",left:r.unref(d).left,top:r.unref(d).top,"tab-item":r.unref(d).item,max:r.unref(d).max,index:r.unref(d).index},null,8,["left","top","tab-item","max","index"])):r.createCommentVNode("",!0)]),_:1})]))}});function sr(t,e,n){var o={},s=o.noTrailing,i=s===void 0?!1:s,a=o.noLeading,d=a===void 0?!1:a,c=o.debounceMode,l=c===void 0?void 0:c,b,f=!1,u=0;function _(){b&&clearTimeout(b)}function S(A){var w=A||{},k=w.upcomingOnly,T=k===void 0?!1:k;_(),f=!T}function C(){for(var A=arguments.length,w=new Array(A),k=0;k<A;k++)w[k]=arguments[k];var T=this,m=Date.now()-u;if(f)return;function E(){u=Date.now(),e.apply(T,w)}function p(){b=void 0}!d&&l&&!b&&E(),_(),l===void 0&&m>t?d?(u=Date.now(),i||(b=setTimeout(l?p:E,t))):E():i!==!0&&(b=setTimeout(l?p:E,l===void 0?t-m:t))}return C.cancel=S,C}let Mt;const Lt=()=>{const t=Y.useRouter(),{active:e,hasTab:n,pageShown:o,reset:s,canAddTab:i,renewTab:a,getTab:d}=be(),c=oe(),l=sr(500,(_,S=!1)=>new Promise((C,A)=>{if(!o.value){A();return}const w=J(_,{refreshable:!0,closable:!0,iframe:!1});if(w.id&&S&&n(w.id)){a(_);const k=d(_.id);k!=null&&k.active&&(o.value=!1,r.nextTick(()=>{o.value=!0}))}if(n(w.id)&&!S){c.emit(W.TAB_ACTIVE,{id:w.id}),C(w.id);return}if(w.id||(w.id=ze()),!i()){A("Max Size");return}b(_,w),C(w.id)})),b=(_,S)=>{const C=We(S);let A=J({__tab:C},_.query),w;if(_.iframe){const k=encodeURIComponent(_.path);w=Mt,A.__src=k}else{const k=Fe(_.path);w=k.path,A=J(k.query,A)}t.push({path:w,query:A})};return{openNewTab:l,setIFramePath:_=>{Mt=_},active:e,reset:s,getWrapper:()=>document.getElementsByClassName("cache-page-wrapper")[0]}},ir={class:"stack-tab__container"},ar=["src"],zt=r.defineComponent({__name:"StackTabs",props:{defaultTabs:{default:()=>[]},max:{default:20},append:{default:"last"},contextmenu:{type:[Boolean,Object],default:!0},pageTransition:{default:"stack-tab-swap"},pageTransitionBack:{default:"stack-tab-swap-back"},tabTransition:{default:"stack-tab-zoom"},tabScrollMode:{default:Q.BOTH},width:{default:"100%"},height:{default:"100%"},i18n:{default:"zh-CN"},space:{default:300},globalScroll:{type:Boolean,default:!1},iframePath:{}},emits:["onActive","onPageLoaded"],setup(t,{emit:e}){const{tabs:n,pageShown:o,caches:s,destroy:i,addPage:a,initial:d,setMaxSize:c,setGlobalScroll:l}=be(),b=e,f=t,{changeLocale:u}=de(),_=r.ref(!1);r.provide("maximum",_);const{setIFramePath:S}=Lt();S(f.iframePath),l(f.globalScroll),u(f.i18n),r.onBeforeMount(()=>{d(f.defaultTabs)});const C=(m,E)=>a(m,E),A=m=>{b("onActive",m)};c(f.max),r.onBeforeUnmount(()=>{i()});const w=()=>{b("onPageLoaded")},k=r.ref(f.pageTransition),T=oe();return T.on("FORWARD",()=>{k.value=f.pageTransition}),T.on("BACKWARD",()=>{k.value=f.pageTransitionBack}),(m,E)=>{const p=r.resolveComponent("router-view");return r.openBlock(),r.createElementBlock("div",{class:r.normalizeClass(["stack-tab",{"stack-tab__maximum":_.value}]),style:r.normalizeStyle({width:m.width,height:m.height,"z-index":_.value?r.unref(tt)("body *:not(.stack-tab,.stack-tab *)"):void 0})},[r.createVNode(or,{space:m.space,onActive:A,"tab-transition":m.tabTransition,max:m.max},{leftButton:r.withCtx(()=>[r.renderSlot(m.$slots,"leftButton")]),rightButton:r.withCtx(()=>[r.renderSlot(m.$slots,"rightButton")]),_:3},8,["space","tab-transition","max"]),r.createElementVNode("div",ir,[r.createVNode(p,null,{default:r.withCtx(({Component:x,route:v})=>[r.createVNode(r.Transition,{name:k.value,appear:"",mode:"out-in"},{default:r.withCtx(()=>[(r.openBlock(),r.createBlock(r.KeepAlive,{include:r.unref(s)},[r.unref(o)?(r.openBlock(),r.createBlock(r.resolveDynamicComponent(C(v,x)),{key:v.fullPath,onOnLoaded:w},null,32)):r.createCommentVNode("",!0)],1032,["include"]))]),_:2},1032,["name"])]),_:1}),r.createVNode(r.TransitionGroup,{name:m.pageTransition,appear:""},{default:r.withCtx(()=>[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(r.unref(n).filter(x=>x.iframe),x=>r.withDirectives((r.openBlock(),r.createElementBlock("iframe",{key:x.id,class:"stack-tab__iframe",src:/^(javascript|data):/i.test(x.url??"")?"about:blank":x.url,frameborder:"0"},null,8,ar)),[[r.vShow,x.active]])),128))]),_:1},8,["name"])])],6)}}}),Ye=typeof Buffer=="function";typeof TextDecoder=="function"&&new TextDecoder;const Nt=typeof TextEncoder=="function"?new TextEncoder:void 0,ye=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=");(t=>{let e={};return t.forEach((n,o)=>e[n]=o),e})(ye);const Z=String.fromCharCode.bind(String);typeof Uint8Array.from=="function"&&Uint8Array.from.bind(Uint8Array);const cr=t=>t.replace(/=/g,"").replace(/[+\/]/g,e=>e=="+"?"-":"_"),Vt=typeof btoa=="function"?t=>btoa(t):Ye?t=>Buffer.from(t,"binary").toString("base64"):t=>{let e,n,o,s,i="";const a=t.length%3;for(let d=0;d<t.length;){if((n=t.charCodeAt(d++))>255||(o=t.charCodeAt(d++))>255||(s=t.charCodeAt(d++))>255)throw new TypeError("invalid character found");e=n<<16|o<<8|s,i+=ye[e>>18&63]+ye[e>>12&63]+ye[e>>6&63]+ye[e&63]}return a?i.slice(0,a-3)+"===".substring(a):i},lr=Ye?t=>Buffer.from(t).toString("base64"):t=>{let n=[];for(let o=0,s=t.length;o<s;o+=4096)n.push(Z.apply(null,t.subarray(o,o+4096)));return Vt(n.join(""))},fr=t=>{if(t.length<2){var e=t.charCodeAt(0);return e<128?t:e<2048?Z(192|e>>>6)+Z(128|e&63):Z(224|e>>>12&15)+Z(128|e>>>6&63)+Z(128|e&63)}else{var e=65536+(t.charCodeAt(0)-55296)*1024+(t.charCodeAt(1)-56320);return Z(240|e>>>18&7)+Z(128|e>>>12&63)+Z(128|e>>>6&63)+Z(128|e&63)}},ur=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,dr=t=>t.replace(ur,fr),Rt=Ye?t=>Buffer.from(t,"utf8").toString("base64"):Nt?t=>lr(Nt.encode(t)):t=>Vt(dr(t)),hr=(t,e=!1)=>e?cr(Rt(t)):Rt(t),pr=t=>{const o=`<?xml version="1.0" encoding="UTF-8"?><svg id="a" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1167.06 237.75"><path d="M79.24,19.73h108.91v29.7h-108.91v-29.7Z" style="fill:#79a7ff; stroke-width:0px;"/><path d="M179.24,199.67H20.26c-11.21-.07-20.26-9.17-20.26-20.38V20.39C0,9.18,9.05.07,20.26,0h59.49c3.51.07,6.34,2.9,6.41,6.42v44.36c0,3.54-2.87,6.41-6.41,6.41s-6.41-2.86-6.42-6.4V12.36H20.25c-4.13.07-7.44,3.44-7.44,7.56v159.41c0,4.13,3.31,7.49,7.44,7.56h158.98c4.13-.07,7.44-3.44,7.44-7.56V51.84c0-3.54,2.87-6.41,6.41-6.42,3.55,0,6.42,2.87,6.42,6.42v127.45c0,11.21-9.05,20.32-20.26,20.39h0Z" style="fill:#377dff; stroke-width:0px;"/><path d="M192.8,60.77c-3.66-.07-6.61-3.02-6.68-6.68v-18.23c.09-4.29-3.32-7.83-7.6-7.92h-96.43c-3.69,0-6.69-2.99-6.69-6.69s2.99-6.69,6.69-6.69h96.27c11.69.08,21.13,9.58,21.13,21.27v18.25c0,3.69-2.99,6.68-6.68,6.68h0Z" style="fill:#377dff; stroke-width:0px;"/><path d="M193.08,58.67H10.15c-3.61-.08-6.48-3.07-6.41-6.68-.08-3.62,2.79-6.61,6.4-6.69,0,0,0,0,0,0h182.93c3.62.08,6.48,3.08,6.41,6.69.07,3.61-2.79,6.6-6.41,6.68h0Z" style="fill:#377dff; stroke-width:0px;"/><path d="M137.2,58.67c-3.42.24-6.4-2.32-6.68-5.74v-28.15c.55-3.69,4-6.24,7.69-5.69,2.94.44,5.24,2.75,5.69,5.69v28.15c-.28,3.42-3.26,5.98-6.68,5.74h-.02Z" style="fill:#377dff; stroke-width:0px;"/><path d="M99.78,100.48l-12.83-22.22h-18.39l31.22,54.05,31.22-54.05h-18.39l-12.83,22.22Z" style="fill:#00d797; stroke-width:0px;"/><path d="M135.28,78.26l-35.49,61.43-35.44-61.43h-20.11l55.55,96.2,55.55-96.2s-20.06,0-20.06,0ZM313.33,59.95c0,.52-.67,1.84-2,3.95s-3.3,5.2-5.9,9.28-5.75,9.28-9.46,15.61c-3.7,6.33-7.52,13.34-11.45,21.04-4.51,8.85-7.76,15.8-9.76,20.86s-2.99,9.41-2.99,13.05c0,2.89,1.53,5.44,4.6,7.63,3.7-2.89,7.34-6.33,10.93-10.32,3.58-3.99,7.13-8.44,10.63-13.36s7.55-11.13,12.14-18.65c4.6-7.52,8.69-14.43,12.27-20.73-.17-.52-.36-1.04-.56-1.56s-.3-.95-.3-1.3c0-2.72.55-5.26,1.65-7.63,1.1-2.37,2.47-4.68,4.12-6.94s4.12-5.44,7.42-9.54c.87-1.1,1.94-1.65,3.21-1.65,2.08,0,3.12,1.33,3.12,3.99s-1.08,6.84-3.25,12.53c-2.17,5.7-5.37,12.39-9.59,20.08s-9.47,16.29-15.74,25.81c-6.28,9.51-13.37,19.45-21.3,29.8-8.04,10.47-13.79,15.7-17.26,15.7-1.97,0-4.19-1.08-6.68-3.25s-4.63-5.13-6.42-8.89-2.69-7.78-2.69-12.06c0-2.54.53-5.81,1.6-9.8s2.75-8.78,5.03-14.36,4.87-11.09,7.76-16.53c3.01-5.72,5.65-10.47,7.94-14.23,2.28-3.76,4.87-7.94,7.76-12.53,2.89-4.6,4.34-7.1,4.34-7.5,0-.87-.58-1.3-1.73-1.3-3.35,0-7.82,1.71-13.4,5.12s-12.85,8.59-21.82,15.53c-3.41,2.66-5.57,4.38-6.46,5.16s-1.34,1.43-1.34,1.95c0,.69.55,1.04,1.65,1.04.46,0,2.02-.17,4.68-.52s4.77-.52,6.33-.52c2.6,0,3.9.46,3.9,1.39,0,.81-.54,1.45-1.61,1.91-1.07.46-2.54.93-4.42,1.39s-4.44,1.1-7.68,1.91c-3.47.93-7.16,2.25-11.06,3.99-3.9,1.73-6.14,2.6-6.72,2.6-1.1,0-1.78-.4-2.04-1.21s-.39-2.14-.39-3.99c0-8.21,1.36-14.56,4.08-19.04s7.58-9.15,14.57-14.01c7.98-5.55,15.61-10.16,22.9-13.84,7.29-3.67,13.58-6.36,18.87-8.07s9.18-2.56,11.67-2.56,4.84,1.56,7.24,4.68,3.6,6.42,3.6,9.89h0ZM366.34,124.75c-8.39,11.1-14.76,19-19.13,23.68s-7.94,7.03-10.71,7.03c-2.2,0-4.22-.91-6.07-2.73-1.85-1.82-3.28-4.28-4.29-7.37s-1.52-6.4-1.52-9.93c0-2.31.22-4.39.65-6.25.43-1.85,1.26-3.89,2.47-6.12s2.82-4.64,4.81-7.24c2-2.6,4.44-5.55,7.33-8.85,1.73-2.02,3.19-3.73,4.38-5.12,1.18-1.39,2.34-2.33,3.47-2.82s2.96-.74,5.51-.74c1.85,0,3.61.25,5.29.74,1.68.49,2.52,1,2.52,1.52,0,1.04-.85,2.92-2.56,5.64s-4.45,6.03-8.24,9.93c-3.79,3.9-8.17,7.74-13.14,11.49-1.1,3.41-1.65,6.01-1.65,7.81,0,2.49.95,3.73,2.86,3.73.69,0,1.85-.59,3.47-1.78,1.62-1.18,4.35-3.47,8.2-6.85,3.84-3.38,7.3-6.38,10.37-8.98,2.25-1.97,4.87-4.9,7.85-8.8s5.39-6.84,7.24-8.8c4.28-4.51,7.2-7.44,8.76-8.8s3.06-2.04,4.51-2.04,2.33.43,2.82,1.3c.49.87.74,2.63.74,5.29,0,1.21-.12,2.2-.35,2.95s-.71,1.72-1.43,2.91-2.18,3.37-4.38,6.55-4.8,6.94-7.81,11.28c-1.66,2.38-3.09,4.93-4.25,7.59-1.21,2.75-1.82,4.81-1.82,6.2,0,3.01,1.18,4.51,3.56,4.51,1.96,0,4.25-.81,6.85-2.43s6.59-4.54,11.97-8.76v5.81c-6.77,6.25-11.77,10.79-15.01,13.62s-6.04,4.97-8.41,6.42-4.63,2.17-6.77,2.17c-4.86,0-7.29-2.89-7.29-8.67,0-2.2.72-5.16,2.17-8.89,1.44-3.73,3.79-9.12,7.03-16.18v-.02Z" style="fill:#306fff; stroke-width:0px;"/><path d="M407.71,133.77v2.17c0,3.41.84,6.07,2.52,7.98,1.68,1.91,3.87,2.86,6.59,2.86s5.77-.66,8.8-2c3.04-1.33,6.06-3.09,9.07-5.29s6.68-5.15,11.02-8.85v5.29c-6.54,7.87-12.67,13.89-18.39,18.09-5.72,4.19-11.54,6.29-17.44,6.29-5.15,0-9.22-2-12.23-5.99s-4.51-9.46-4.51-16.39c0-6.07,1.42-11.58,4.25-16.52s7.46-10.16,13.88-15.66c4.39-3.76,8.76-6.59,13.1-8.5s8.21-2.86,11.62-2.86c2.72,0,4.87.62,6.46,1.86s2.39,3.11,2.39,5.59c0,3.64-1.36,7.27-4.08,10.89s-6.87,7.2-12.45,10.76c-5.58,3.56-12.45,6.98-20.6,10.28h0ZM408.58,128.13c5.2-2.02,9.66-4.54,13.36-7.55,3.7-3.01,6.43-5.88,8.2-8.63,1.76-2.75,2.65-4.76,2.65-6.03s-.61-2-1.82-2c-1.04,0-2.73.67-5.07,2s-4.71,3.07-7.11,5.21-4.55,4.66-6.46,7.55c-1.9,2.86-3.17,6.08-3.73,9.46h-.02ZM585.37,132.9c-1.45-2.66-3.61-5.06-6.51-7.2-2.89-2.14-6.15-3.86-9.76-5.16s-7.39-2.27-11.32-2.91c-11.68-1.74-22.58-5.52-32.7-11.36-.87-.46-1.79-1.44-2.78-2.95-.98-1.5-1.47-2.95-1.47-4.34,0-5.09.85-10.19,2.56-15.31,1.71-5.12,3.89-9.12,6.55-12.01,4.28-4.8,11.98-8.99,23.12-12.58,11.13-3.58,23.67-5.38,37.6-5.38,8.33,0,14.76.64,19.3,1.91s6.81,3.24,6.81,5.9c0,4.34-.59,7.69-1.78,10.06s-2.46,3.95-3.82,4.73c-1.36.78-3.75,1.84-7.16,3.17-3.64,1.27-6.81,2.6-9.5,3.99s-4.99,2.72-6.9,3.99c-1.91,1.27-3.09,1.91-3.56,1.91-.58,0-.87-.23-.87-.69,0-.98,1.03-2.47,3.08-4.47s4.58-3.74,7.59-5.25c3.18-1.68,4.77-2.75,4.77-3.21,0-.75-1.76-1.13-5.29-1.13-10.7,0-20.59.95-29.67,2.86s-16.24,4.42-21.47,7.55c-5.23,3.12-7.85,6.3-7.85,9.54,0,2.02,1.08,3.46,3.25,4.29,2.17.84,6.95,2.24,14.36,4.21,7.4,1.97,14.02,4.22,19.86,6.77,8.38,3.59,14.6,7.32,18.65,11.19,4.05,3.88,6.07,8.21,6.07,13.01,0,3.3-.8,6.61-2.39,9.93-1.59,3.33-3.92,6.38-6.98,9.15-3.07,2.78-6.59,5.06-10.58,6.85-3.41,1.45-7.71,2.8-12.88,4.08-5.18,1.27-10.79,2.27-16.83,2.99-6.04.72-11.81,1.08-17.31,1.08-10.12,0-18.26-.95-24.42-2.86s-9.24-4.8-9.24-8.67c0-1.74,1.04-4.44,3.12-8.11s4.54-6.14,7.37-7.42c2.49-.98,4.89-1.55,7.2-1.69,2.31-.14,3.47.13,3.47.82,0,.17-.09.35-.26.52s-.38.32-.61.43c-.23.12-.46.23-.69.35-1.16.46-2.1.82-2.82,1.08-.72.26-1.3.52-1.74.78-.43.26-.65.62-.65,1.08,0,1.21,5.99,1.82,17.96,1.82,10.41,0,18.94-.38,25.59-1.13s12.52-2.11,17.61-4.08c5.09-1.97,9.71-4.68,13.88-8.15l.04.02ZM640.8,85.63h3.73c3.06-5.49,5.84-9.38,8.33-11.67,2.49-2.28,5.32-3.43,8.5-3.43s4.77.72,4.77,2.17c0,.69-1.24,2.57-3.73,5.64s-4.37,5.64-5.64,7.72c1.96.23,3.71.43,5.25.61,1.53.17,2.73.32,3.6.43-3.3,6.13-7.43,12.4-12.4,18.82l-4.08-.3c-1.1-.09-2.21-.17-3.34-.26s-2.5-.19-4.12-.3c-3.12,5.03-5.74,9.53-7.85,13.49s-3.73,7.59-4.86,10.89-1.69,6.42-1.69,9.37c0,3.99,1.59,5.99,4.77,5.99,2.2,0,5.07-1.17,8.63-3.51s8.31-5.94,14.27-10.8v5.81c-15.61,16.95-27.15,25.42-34.61,25.42-2.6,0-4.7-1.01-6.29-3.04-1.59-2.02-2.38-4.63-2.38-7.81,0-2.14.45-4.68,1.34-7.63.9-2.95,2.5-7.4,4.81-13.36-.81.69-1.58,1.37-2.3,2.04s-1.39,1.27-2,1.82-1.26,1.13-1.95,1.73c-.69.61-1.39,1.23-2.08,1.87v-5.99c6.07-5.09,13.42-14.02,22.03-26.8-.87-.06-1.68-.1-2.43-.13s-1.65-.04-2.69-.04c-3.41,0-5.96.23-7.63.69-.69.17-1.34.36-1.95.56s-1.03.3-1.26.3-.35-.17-.35-.52c0-1.91,1.18-4.77,3.56-8.59,1.91-3.24,3.72-5.64,5.42-7.2,1.71-1.56,3.79-2.62,6.25-3.17,2.46-.55,5.91-.82,10.37-.82h0Z" style="fill:#306fff; stroke-width:0px;"/><path d="M664.91,115.12c8.79-7.98,17.32-13.91,25.59-17.78s14.66-5.81,19.17-5.81c1.21,0,2.34.51,3.38,1.52,1.04,1,1.88,2.19,2.47,3.51.61,1.33.91,2.31.91,2.95,0,1.04-.41,1.81-1.21,2.3-.81.49-2.23,1.08-4.25,1.78.4.93.92,2.11,1.56,3.56s1.13,2.62,1.47,3.51c.35.9.52,1.69.52,2.39,0,1.39-1.4,3.98-4.21,7.76-2.81,3.79-4.77,6.58-5.9,8.37-1.13,1.79-1.69,3.99-1.69,6.59,0,4.28,1.96,6.42,5.9,6.42s10.38-3.79,19-11.36v5.29c-14.63,16.25-25.1,24.38-31.4,24.38-2.26,0-3.86-.74-4.81-2.21s-1.43-3.66-1.43-6.55c0-4.57,1.65-11.19,4.94-19.86-8.44,9.37-14.72,16.03-18.82,20-4.11,3.96-7.49,5.94-10.15,5.94-1.27,0-2.86-1.1-4.77-3.3-1.91-2.2-3.6-5.04-5.07-8.54-1.47-3.5-2.21-7.13-2.21-10.89,0-2.72.26-4.99.78-6.81s1.53-3.69,3.04-5.59c1.5-1.91,3.9-4.42,7.2-7.55v-.02ZM706.46,105.58c-15.04,6.88-25.75,12.72-32.14,17.52s-9.59,9.75-9.59,14.83c0,1.85.32,3.37.95,4.55.64,1.19,1.5,1.78,2.6,1.78.64,0,1.76-.4,3.38-1.21,6.07-3.58,11.62-8.25,16.66-14.01,5.03-5.75,11.07-13.58,18.13-23.46h.01Z" style="fill:#306fff; stroke-width:0px;"/><path d="M779.07,130.82v5.81c-6.19,6.07-11.23,10.79-15.14,14.14-3.9,3.35-7.55,5.96-10.93,7.81-3.38,1.85-6.69,2.78-9.93,2.78s-6.1-1.26-8.76-3.77c-2.66-2.52-4.74-5.81-6.25-9.89-1.5-4.08-2.26-8.4-2.26-12.97,0-3.93.87-7.43,2.6-10.5,1.74-3.07,5.09-7.03,10.06-11.88,5.9-5.78,11.38-10.25,16.44-13.4s9.04-4.73,11.93-4.73c2.08,0,3.85.72,5.29,2.17s2.17,3.27,2.17,5.46c0,1.85-.95,4.48-2.86,7.89-1.91,3.41-4.05,6.38-6.42,8.89-2.37,2.52-4.25,3.77-5.64,3.77-1.5,0-2.25-.81-2.25-2.43.06-.46.1-.9.13-1.3s.04-.81.04-1.21c0-.69-.25-1.08-.74-1.17s-1.08.13-1.78.65c-5.78,4.05-9.75,6.9-11.88,8.54-2.14,1.65-3.83,3.31-5.07,4.99s-1.87,3.44-1.87,5.29c0,3.41,1.1,6.19,3.3,8.33s5.06,3.21,8.59,3.21,8.02-1.4,13.14-4.21c5.12-2.8,11.15-6.9,18.09-12.27h0Z" style="fill:#306fff; stroke-width:0px;"/><path d="M844.13,130.65v5.81c-6.48,7.58-11.91,13.32-16.31,17.22s-8.07,5.86-11.02,5.86-5.39-.84-7.68-2.52c-2.29-1.68-4.34-3.99-6.16-6.94-1.82-2.95-3.98-7.05-6.46-12.32-2.95,3.64-5.61,7.04-7.98,10.19-2.37,3.15-4.02,5.25-4.94,6.29-.93,1.04-1.77,1.56-2.52,1.56-1.56,0-2.69-1-3.38-2.99-.69-2-1.04-4.9-1.04-8.72,0-5.21.62-10.22,1.87-15.05,1.24-4.83,3.04-9.53,5.38-14.1s5.35-9.5,9.02-14.79c3.67-5.29,7.79-10.83,12.36-16.61,6.3-7.98,11.74-14.5,16.31-19.56,4.57-5.06,8.54-8.88,11.93-11.45,3.38-2.57,6.2-3.86,8.46-3.86,2.78,0,4.16,1.24,4.16,3.73,0,2.14-5.12,9.85-15.35,23.12-10.24,13.27-25.16,31.39-44.76,54.35v7.46c13.13-14.05,23.69-24.49,31.71-31.31,8.01-6.82,14.21-10.24,18.61-10.24,1.79,0,3.18,1.06,4.16,3.17s1.47,4.55,1.47,7.33c0,5.67-2.43,10.92-7.29,15.74-4.86,4.83-12.32,10.37-22.38,16.61,1.74,2.6,3.27,4.5,4.6,5.68,1.33,1.19,3.01,1.78,5.03,1.78,1.79,0,3.73-.61,5.81-1.82s4.21-2.75,6.38-4.6,5.51-4.86,10.02-9.02h-.01ZM809.86,135.07c2.2-1.45,4.93-3.69,8.2-6.72,3.27-3.04,6.06-6.19,8.37-9.46s3.47-6,3.47-8.2c0-.92-.41-1.39-1.21-1.39-2.2,0-5.97,2.11-11.32,6.33-5.35,4.22-10.57,9.63-15.66,16.22,2.2,0,4.92,1.07,8.15,3.21h0ZM951.78,140.71l2.86,2.17c-.75,1.62-1.47,3.04-2.17,4.25-.69,1.21-1.53,2.69-2.52,4.42-.98,1.73-1.73,3.04-2.25,3.9-4.34,7.58-8.41,11.36-12.23,11.36-1.62,0-3.01-.64-4.16-1.91-1.16-1.27-1.73-3.01-1.73-5.2,0-3.12,1.11-7.4,3.34-12.84,2.23-5.43,5.67-12.13,10.32-20.08s10.51-16.96,17.57-27.02c7.05-10.06,15.01-20.67,23.85-31.84-5.09-.75-11.13-1.13-18.13-1.13-8.04,0-16.99.9-26.85,2.69s-18.45,3.86-25.76,6.2c-7.32,2.34-10.97,4.06-10.97,5.16,0,.41.14.68.43.82.29.15.77.26,1.43.35s1.52.19,2.56.3c6.77.93,10.15,1.97,10.15,3.12,0,.58-1.47.85-4.42.82s-6.51-.04-10.67-.04c-3.3,0-5.68-.13-7.16-.39s-2.46-.75-2.95-1.47-.74-1.84-.74-3.34c0-.98.29-3.12.87-6.42,1.1-6.13,2.79-11.04,5.07-14.75,2.28-3.7,5.78-6.72,10.5-9.06,4.71-2.34,11.2-4.21,19.47-5.59,13.88-2.37,25.36-3.56,34.44-3.56,6.71,0,12,.27,15.88.82,3.87.55,6.72,1.34,8.54,2.39,1.82,1.04,2.98,2.07,3.47,3.08s1.14,2.76,1.95,5.25l2.69,7.98c.17.52.32.94.43,1.26.12.32.22.65.3,1,.09.35.13.67.13.95,0,2.26-.51,4.28-1.52,6.07s-2.86,4.48-5.55,8.07-4.67,6.39-5.94,8.41c-14.92,24.23-25.1,42.16-30.53,53.78v.02ZM991.94,115.12c8.79-7.98,17.32-13.91,25.59-17.78s14.66-5.81,19.17-5.81c1.21,0,2.34.51,3.38,1.52,1.04,1,1.88,2.19,2.47,3.51.61,1.33.91,2.31.91,2.95,0,1.04-.41,1.81-1.21,2.3-.81.49-2.23,1.08-4.25,1.78.4.93.92,2.11,1.56,3.56s1.13,2.62,1.47,3.51c.35.9.52,1.69.52,2.39,0,1.39-1.4,3.98-4.21,7.76-2.81,3.79-4.77,6.58-5.9,8.37-1.13,1.79-1.69,3.99-1.69,6.59,0,4.28,1.96,6.42,5.9,6.42s10.38-3.79,19-11.36v5.29c-14.63,16.25-25.1,24.38-31.4,24.38-2.26,0-3.86-.74-4.81-2.21s-1.43-3.66-1.43-6.55c0-4.57,1.65-11.19,4.94-19.86-8.44,9.37-14.72,16.03-18.82,20-4.11,3.96-7.49,5.94-10.15,5.94-1.27,0-2.86-1.1-4.77-3.3-1.91-2.2-3.6-5.04-5.07-8.54-1.47-3.5-2.21-7.13-2.21-10.89,0-2.72.26-4.99.78-6.81s1.53-3.69,3.04-5.59c1.5-1.91,3.9-4.42,7.2-7.55v-.02ZM1033.49,105.58c-15.04,6.88-25.75,12.72-32.14,17.52s-9.59,9.75-9.59,14.83c0,1.85.32,3.37.95,4.55.64,1.19,1.5,1.78,2.6,1.78.64,0,1.76-.4,3.38-1.21,6.07-3.58,11.62-8.25,16.66-14.01,5.03-5.75,11.07-13.58,18.13-23.46h.01Z" style="fill:#306fff; stroke-width:0px;"/><path d="M1111.3,130.82v5.64c-6.02,3.82-10.76,5.72-14.23,5.72-1.91,0-3.93-.32-6.07-.95-5.2,6.59-9.67,11.42-13.4,14.49s-7.47,4.6-11.23,4.6c-4.34,0-7.68-2.29-10.02-6.85-2.34-4.57-3.51-10.24-3.51-17,0-9.2,2.78-19.21,8.33-30.06,5.56-10.85,12.29-21.07,20.08-30.45,7.84-9.46,15.43-17.28,22.77-23.46,7.34-6.19,12.32-9.28,14.92-9.28s3.73,1.71,3.73,5.12c0,15.15-19.43,41.58-58.29,79.29-.12,1.04-.17,3.09-.17,6.16,0,7.98,2.14,11.97,6.42,11.97,1.68,0,3.37-.68,5.07-2.04,1.71-1.36,4.32-3.95,7.85-7.76-1.39-3.12-2.08-5.44-2.08-6.94,0-3.18,1.3-6.62,3.9-10.32s5.57-6.9,8.89-9.59c3.33-2.69,5.74-4.03,7.24-4.03,2.37,0,3.56,1.71,3.56,5.12,0,2.6-.68,5.72-2.04,9.37-1.36,3.64-3.34,7.81-5.94,12.49.98.81,1.76,1.4,2.34,1.78s1.45.56,2.6.56c2.66,0,5.75-1.18,9.28-3.56v-.02ZM1067.24,117.81c3.01-2.6,6.03-5.68,9.06-9.24s7.47-9.01,13.32-16.35c5.61-7.05,10.02-12.94,13.23-17.65s5.62-8.63,7.24-11.75c1.62-3.12,2.43-5.26,2.43-6.42,0-.87-.23-1.3-.69-1.3-1.27,0-3.92,2.1-7.94,6.29-4.02,4.19-8.6,9.93-13.75,17.22-7.11,10.06-12.26,17.64-15.44,22.73-3.18,5.09-5.67,10.58-7.46,16.48h0Z" style="fill:#306fff; stroke-width:0px;"/><path d="M1110.96,133.08v-2.08c14.92-15.73,25.18-26.75,30.79-33.05,1.27-7.11,4.34-10.67,9.19-10.67,1.21,0,2.52.35,3.9,1.04l.52,1.65c-.23.69-.35,1.68-.35,2.95,0,1.1.42,3.14,1.26,6.12s1.49,5.48,1.95,7.5.69,4.31.69,6.85c0,3.82-.87,7.48-2.6,10.97-1.73,3.5-4.25,6.85-7.55,10.06-3.3,3.21-7.55,6.49-12.75,9.85,2.08.35,3.73.52,4.94.52,2.37,0,4.93-.59,7.68-1.78,2.75-1.18,5.55-2.78,8.41-4.77,2.86-2,6.2-4.58,10.02-7.76v5.81c-7.4,7.23-14.02,12.71-19.86,16.44s-10.87,5.59-15.09,5.59c-5.44,0-10.47-2.31-15.09-6.94-2.72-2.78-4.41-5.43-5.08-7.98-.67-2.54-1-5.99-1-10.32h.02ZM1143.31,119.8l-1.56-12.66c-3.59,4.05-11.25,11.83-22.99,23.33,3.47.75,5.84,1.76,7.11,3.04,1.27,1.27,3.06,3.73,5.38,7.37,3.93-1.62,6.95-3.83,9.07-6.64,2.11-2.8,3.17-6.64,3.17-11.49,0-.58-.01-1.1-.04-1.56s-.07-.92-.13-1.39h0Z" style="fill:#306fff; stroke-width:0px;"/><g style="isolation:isolate;"><text transform="translate(943.45 229.96)" style="fill:#00d797; font-family:ArialMT, Arial; font-size:24px; isolation:isolate;"><tspan x="0" y="0">version: ${t}</tspan></text></g></svg>`,a="data:image/svg+xml;base64,"+hr(o),d="font-size: 1px; padding: "+Math.floor(100/4)+"px "+Math.floor(580/2)+"px; line-height: "+Math.floor(100/2)+"px;";window.console.log("%c+",d+`background-image: url(${a});background-size: 580px 100px;background-repeat: norepeat; color: transparent;`)},Dt=()=>{const{attrs:t,props:e}=r.getCurrentInstance(),{pageShown:n,getTab:o,markDeletableCache:s,removeComponent:i,getComponent:a,addPageScroller:d}=be(),c=Y.useRoute(),l=Y.useRouter(),b=oe();let f="",u="";f=t.tId||e.tId;const _=t.pId||e.pId;return u=c.query.__tab,{forward:w=>{const k=J({__tab:u},w.query);b.emit("FORWARD"),l.push({path:w.path,query:k})},backward:(w,k)=>{const T=o(f);if(!T)return;const m=T.pages;let E=0;if(typeof w=="number")E=Math.abs(w);else{let v=1,N=!1;const R=m.list(),X=Fe(w);k=J(X.query,k);for(let B=m.size()-2;B>=0;B--){if(R[B].path===X.path){N=!0;break}v+=1}N&&(E=v)}if(E===0||m.size()<=E)return;for(let v=0;v<E;v++){const N=m.pop();i(N.id),s(N.id)}const p=m==null?void 0:m.peek(),x=a(p.id);if(x!=null){const v=x.components.DynamicComponent;v.props=J(k,v.props)}b.emit("BACKWARD"),l.push({path:p.path,query:p.query})},addScroller:(...w)=>{d(_,...w)}}},br=r.defineComponent({__name:"iframe",setup(t){return Dt(),()=>{}}}),mr=()=>{const t=oe(),{attrs:e}=r.getCurrentInstance();r.onUnmounted(()=>{o()});const n=()=>{t.emit(W.PAGE_LOADING,{tId:e.tId,value:!0})},o=()=>{t.emit(W.PAGE_LOADING,{tId:e.tId,value:!1})};return{openTabLoading:n,closeTabLoading:o}},gr={install(t,e){pr("0.1.39"),t.component("VueStackTabs",zt).use(xn).use(Jt().getI18n(e))}};z.IFrame=br,z.Stack=we,z.StackTab=zt,z.TabHeaderButton=Ie,z.TabScrollMode=Q,z.default=gr,z.useStackTab=Lt,z.useTabLoading=mr,z.useTabRouter=Dt,Object.defineProperties(z,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use 'var' as *;
|
|
2
2
|
/*
|
|
3
3
|
icon按钮特效
|
|
4
4
|
*/
|
|
@@ -6,13 +6,13 @@ icon按钮特效
|
|
|
6
6
|
width: $icon-size;
|
|
7
7
|
height: $icon-size;
|
|
8
8
|
margin-left: $icon-margin;
|
|
9
|
-
background-color:
|
|
9
|
+
background-color: $stack-tab-text-color;
|
|
10
10
|
mask: url($icon-url) no-repeat center center;
|
|
11
11
|
mask-size: contain;
|
|
12
12
|
|
|
13
13
|
&:hover {
|
|
14
14
|
cursor: pointer;
|
|
15
|
-
background-color:
|
|
15
|
+
background-color: $stack-tab-color-primary;
|
|
16
16
|
animation: rotate-center 0.3s ease-in-out both;
|
|
17
17
|
mask:
|
|
18
18
|
url($icon-url),
|
|
@@ -25,7 +25,7 @@ icon按钮特效
|
|
|
25
25
|
/*
|
|
26
26
|
cursor: pointer;
|
|
27
27
|
*/
|
|
28
|
-
background-color:
|
|
28
|
+
background-color: $stack-tab-color-primary-activate;
|
|
29
29
|
mask:
|
|
30
30
|
url($icon-url),
|
|
31
31
|
url('./image/mask.svg') no-repeat center center;
|
|
@@ -1,65 +1,66 @@
|
|
|
1
|
+
@use "sass:color";
|
|
1
2
|
/*
|
|
2
3
|
主色调
|
|
3
4
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
$stack-tab-color-primary: #409eff !default;
|
|
6
|
+
$stack-tab-color-primary-invert: #ffac30 !default;
|
|
6
7
|
/*
|
|
7
8
|
大红色
|
|
8
9
|
*/
|
|
9
|
-
|
|
10
|
+
$stack-tab-color-danger: #ef4f4f !default;
|
|
10
11
|
/*
|
|
11
12
|
白色
|
|
12
13
|
*/
|
|
13
|
-
|
|
14
|
+
$stack-tab-color-white: #fff !default;
|
|
14
15
|
/*
|
|
15
16
|
黑色
|
|
16
17
|
*/
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
$stack-tab-color-black: #000 !default;
|
|
19
|
+
$stack-tab-color-grey: #4d4d4d !default;
|
|
20
|
+
$stack-tab-color-disabled: #aaa !default;
|
|
20
21
|
/*
|
|
21
22
|
ICON点击颜色
|
|
22
23
|
*/
|
|
23
|
-
|
|
24
|
+
$stack-tab-color-primary-activate: color.mix($stack-tab-color-primary, #000, 80%) !default;
|
|
24
25
|
/*
|
|
25
26
|
背景颜色
|
|
26
27
|
*/
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
$stack-tab-background-color-base: #fff !default;
|
|
29
|
+
$stack-tab-background-color-inactive: #fafafa !default;
|
|
29
30
|
/*
|
|
30
31
|
tab边框颜色
|
|
31
32
|
*/
|
|
32
|
-
|
|
33
|
-
|
|
33
|
+
$stack-tab-border-color: #f0f0f0;
|
|
34
|
+
$stack-tab-border: 1px solid $stack-tab-border-color;
|
|
34
35
|
/*
|
|
35
36
|
tab文本颜色
|
|
36
37
|
*/
|
|
37
|
-
|
|
38
|
+
$stack-tab-text-color: $stack-tab-color-grey;
|
|
38
39
|
/*
|
|
39
40
|
tab文本大小
|
|
40
41
|
*/
|
|
41
|
-
|
|
42
|
+
$stack-tab-font-size: 14px;
|
|
42
43
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
$stack-tab-padding: 24px;
|
|
45
|
+
$stack-tab-icon-margin: 4px;
|
|
46
|
+
$stack-tab-icon-size: 14px;
|
|
46
47
|
|
|
47
|
-
|
|
48
|
+
$stack-tab-button-size: 20px;
|
|
48
49
|
/*
|
|
49
50
|
tab头高度
|
|
50
51
|
*/
|
|
51
|
-
|
|
52
|
-
|
|
52
|
+
$stack-tab-head-height: 40px;
|
|
53
|
+
$stack-tab-head-invalid-height: $stack-tab-head-height -3px;
|
|
53
54
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
55
|
+
$stack-tab-scroll-height: 6px;
|
|
56
|
+
$stack-tab-scroll-border-radius: $stack-tab-scroll-height;
|
|
57
|
+
$stack-tab__trans: all 0.15s ease-in-out;
|
|
57
58
|
|
|
58
59
|
/*
|
|
59
60
|
阴影
|
|
60
61
|
*/
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
62
|
+
$stack-tab-shadow-left: -5px 0 5px -5px rgb(0 0 0 / 60%); //#ccc;
|
|
63
|
+
$stack-tab-shadow-right: 5px 0 5px -5px rgb(0 0 0 / 60%); //#ccc;
|
|
64
|
+
$stack-tab-shadow-right-inset: inset -5px 0 5px -5px rgb(0 0 0 / 60%); //#ccc;
|
|
65
|
+
$stack-tab-shadow-left-inset: inset 5px 0 5px -5px rgb(0 0 0 / 60%); //#ccc;
|
|
66
|
+
$stack-tab-shadow-context-menu: 5px 5px 5px rgb(0 0 0 / 10%);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@
|
|
2
|
-
@
|
|
3
|
-
@
|
|
4
|
-
@
|
|
1
|
+
@use 'stackTab.scss';
|
|
2
|
+
@use 'icon.scss';
|
|
3
|
+
@use 'transition.scss';
|
|
4
|
+
@use 'overlayer.scss';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
@use 'sass:math';
|
|
2
|
-
@
|
|
3
|
-
@
|
|
2
|
+
@use 'common/var' as *;
|
|
3
|
+
@use 'common/mixins';
|
|
4
4
|
|
|
5
5
|
.stack-tab {
|
|
6
6
|
display: flex;
|
|
7
7
|
min-height: 300px;
|
|
8
|
-
background-color:
|
|
8
|
+
background-color: $stack-tab-background-color-base;
|
|
9
9
|
flex-direction: column;
|
|
10
10
|
grid-gap: 5px;
|
|
11
11
|
|
|
@@ -30,29 +30,29 @@
|
|
|
30
30
|
//蒙版按钮
|
|
31
31
|
&__mask-button {
|
|
32
32
|
height: 100%;
|
|
33
|
-
width:
|
|
34
|
-
background-color:
|
|
33
|
+
width: $stack-tab-button-size;
|
|
34
|
+
background-color: $stack-tab-text-color;
|
|
35
35
|
margin: 0 5px;
|
|
36
|
-
transition:
|
|
36
|
+
transition: $stack-tab__trans;
|
|
37
37
|
|
|
38
38
|
.stack-tab__header-button[disabled] & {
|
|
39
39
|
cursor: not-allowed;
|
|
40
|
-
background-color:
|
|
40
|
+
background-color: $stack-tab-color-disabled;
|
|
41
41
|
transition: none;
|
|
42
42
|
//pointer-events: none;
|
|
43
43
|
}
|
|
44
44
|
&:hover {
|
|
45
|
-
background-color:
|
|
45
|
+
background-color: $stack-tab-color-primary;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
&:active {
|
|
49
49
|
// cursor: pointer;
|
|
50
|
-
background-color:
|
|
50
|
+
background-color: $stack-tab-color-primary-activate;
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
&__button {
|
|
54
|
-
height:
|
|
55
|
-
width:
|
|
54
|
+
height: $stack-tab-button-size;
|
|
55
|
+
width: $stack-tab-button-size;
|
|
56
56
|
margin: 0 5px;
|
|
57
57
|
}
|
|
58
58
|
|
|
@@ -60,25 +60,25 @@
|
|
|
60
60
|
position: relative;
|
|
61
61
|
display: flex;
|
|
62
62
|
width: 100%;
|
|
63
|
-
height:
|
|
64
|
-
border-bottom: 1px solid
|
|
63
|
+
height: $stack-tab-head-height;
|
|
64
|
+
border-bottom: 1px solid $stack-tab-border-color;
|
|
65
65
|
box-sizing: border-box;
|
|
66
66
|
//user-select: none;
|
|
67
67
|
|
|
68
68
|
//tab header上面的按钮
|
|
69
69
|
&-button {
|
|
70
70
|
z-index: 2;
|
|
71
|
-
height:
|
|
71
|
+
height: $stack-tab-head-height;
|
|
72
72
|
width: fit-content;
|
|
73
73
|
overflow: hidden;
|
|
74
|
-
background-color:
|
|
74
|
+
background-color: $stack-tab-background-color-base;
|
|
75
75
|
cursor: pointer;
|
|
76
76
|
display: flex;
|
|
77
77
|
align-items: center;
|
|
78
78
|
|
|
79
79
|
//按钮禁用样式
|
|
80
80
|
&[disabled] {
|
|
81
|
-
background-color:
|
|
81
|
+
background-color: $stack-tab-background-color-inactive;
|
|
82
82
|
box-shadow: none;
|
|
83
83
|
cursor: not-allowed;
|
|
84
84
|
}
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
&__scroll {
|
|
89
89
|
position: relative;
|
|
90
90
|
flex: 1 1 0;
|
|
91
|
-
height:
|
|
91
|
+
height: $stack-tab-head-height;
|
|
92
92
|
overflow: hidden;
|
|
93
93
|
|
|
94
94
|
&-container {
|
|
@@ -109,11 +109,11 @@
|
|
|
109
109
|
bottom: 0;
|
|
110
110
|
left: 0;
|
|
111
111
|
/*z-index: 2;*/
|
|
112
|
-
height:
|
|
112
|
+
height: $stack-tab-scroll-height;
|
|
113
113
|
background-color: rgb(0 0 0 / 10%);
|
|
114
|
-
border-radius:
|
|
114
|
+
border-radius: $stack-tab-scroll-border-radius;
|
|
115
115
|
opacity: 0;
|
|
116
|
-
transition:
|
|
116
|
+
transition: $stack-tab__trans;
|
|
117
117
|
|
|
118
118
|
.stack-tab__scroll:hover &,
|
|
119
119
|
&.is-dragging {
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
height: 100%;
|
|
128
128
|
background-color: rgba(0, 0, 0, 0.1);
|
|
129
129
|
|
|
130
|
-
border-radius:
|
|
130
|
+
border-radius: $stack-tab-scroll-border-radius;
|
|
131
131
|
transition: background-color 0.3s ease-in-out;
|
|
132
132
|
|
|
133
133
|
&:hover {
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
|
|
140
140
|
.stack-tab__scrollbar.is-dragging &,
|
|
141
141
|
&:hover {
|
|
142
|
-
background-color:
|
|
142
|
+
background-color: $stack-tab-color-primary !important;
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
145
|
|
|
@@ -163,15 +163,15 @@
|
|
|
163
163
|
&__item {
|
|
164
164
|
position: relative;
|
|
165
165
|
display: flex;
|
|
166
|
-
padding: 0
|
|
167
|
-
font-size:
|
|
168
|
-
color:
|
|
166
|
+
padding: 0 $stack-tab-padding;
|
|
167
|
+
font-size: $stack-tab-font-size;
|
|
168
|
+
color: $stack-tab-text-color;
|
|
169
169
|
cursor: pointer;
|
|
170
|
-
background-color:
|
|
171
|
-
border:
|
|
170
|
+
background-color: $stack-tab-background-color-inactive;
|
|
171
|
+
border: $stack-tab-border;
|
|
172
172
|
border-left: none;
|
|
173
173
|
border-radius: 8px 8px 0 0;
|
|
174
|
-
transition:
|
|
174
|
+
transition: $stack-tab__trans;
|
|
175
175
|
user-select: none;
|
|
176
176
|
flex: none;
|
|
177
177
|
align-items: center;
|
|
@@ -180,7 +180,7 @@
|
|
|
180
180
|
margin-top: 5px;
|
|
181
181
|
|
|
182
182
|
&:first-child {
|
|
183
|
-
border-left:
|
|
183
|
+
border-left: $stack-tab-border;
|
|
184
184
|
}
|
|
185
185
|
|
|
186
186
|
/*
|
|
@@ -195,23 +195,23 @@
|
|
|
195
195
|
*/
|
|
196
196
|
&.is-active {
|
|
197
197
|
z-index: 1;
|
|
198
|
-
background-color:
|
|
198
|
+
background-color: $stack-tab-background-color-base;
|
|
199
199
|
border-bottom-color: #fff;
|
|
200
|
-
box-shadow:
|
|
200
|
+
box-shadow: $stack-tab-shadow-left, $stack-tab-shadow-right;
|
|
201
201
|
margin-top: unset;
|
|
202
202
|
}
|
|
203
203
|
|
|
204
204
|
&:hover,
|
|
205
205
|
&.is-active {
|
|
206
|
-
color:
|
|
206
|
+
color: $stack-tab-color-primary;
|
|
207
207
|
|
|
208
208
|
&.is-icon {
|
|
209
209
|
padding: 0
|
|
210
|
-
(
|
|
210
|
+
($stack-tab-padding - math.div($stack-tab-button-size + $stack-tab-icon-margin, 2));
|
|
211
211
|
|
|
212
212
|
.stack-tab__item-button {
|
|
213
|
-
width:
|
|
214
|
-
margin-left:
|
|
213
|
+
width: $stack-tab-button-size;
|
|
214
|
+
margin-left: $stack-tab-icon-margin;
|
|
215
215
|
}
|
|
216
216
|
}
|
|
217
217
|
}
|
|
@@ -245,18 +245,18 @@
|
|
|
245
245
|
&-button {
|
|
246
246
|
height: 100%;
|
|
247
247
|
width: 0;
|
|
248
|
-
background-color:
|
|
249
|
-
transition:
|
|
248
|
+
background-color: $stack-tab-text-color;
|
|
249
|
+
transition: $stack-tab__trans;
|
|
250
250
|
|
|
251
251
|
&:hover {
|
|
252
|
-
background-color:
|
|
252
|
+
background-color: $stack-tab-color-primary;
|
|
253
253
|
}
|
|
254
254
|
|
|
255
255
|
&:active {
|
|
256
256
|
/*
|
|
257
257
|
cursor: pointer;
|
|
258
258
|
*/
|
|
259
|
-
background-color:
|
|
259
|
+
background-color: $stack-tab-color-primary-activate;
|
|
260
260
|
}
|
|
261
261
|
}
|
|
262
262
|
}
|
|
@@ -278,17 +278,17 @@
|
|
|
278
278
|
line-height: 0.4rem;
|
|
279
279
|
color: #fff;
|
|
280
280
|
text-align: center;
|
|
281
|
-
border: 1px solid
|
|
281
|
+
border: 1px solid $stack-tab-background-color-base;
|
|
282
282
|
border-radius: 0.5rem;
|
|
283
283
|
transform: translateX(100%) translateY(-50%);
|
|
284
284
|
box-sizing: border-box;
|
|
285
285
|
|
|
286
286
|
&.default {
|
|
287
|
-
background:
|
|
287
|
+
background: $stack-tab-color-danger;
|
|
288
288
|
}
|
|
289
289
|
|
|
290
290
|
&.primary {
|
|
291
|
-
background:
|
|
291
|
+
background: $stack-tab-color-primary;
|
|
292
292
|
}
|
|
293
293
|
}
|
|
294
294
|
}
|
|
@@ -312,11 +312,11 @@
|
|
|
312
312
|
z-index: 999;
|
|
313
313
|
min-width: 120px;
|
|
314
314
|
padding: 8px;
|
|
315
|
-
font-size:
|
|
315
|
+
font-size: $stack-tab-font-size;
|
|
316
316
|
background: #fff;
|
|
317
|
-
border:
|
|
317
|
+
border: $stack-tab-border;
|
|
318
318
|
border-radius: 10px 0;
|
|
319
|
-
box-shadow:
|
|
319
|
+
box-shadow: $stack-tab-shadow-context-menu;
|
|
320
320
|
transform-origin: left top;
|
|
321
321
|
transition: all 0.25s ease-in;
|
|
322
322
|
|
|
@@ -326,7 +326,7 @@
|
|
|
326
326
|
align-items: center;
|
|
327
327
|
padding: 0 10px;
|
|
328
328
|
line-height: 30px;
|
|
329
|
-
color:
|
|
329
|
+
color: $stack-tab-text-color;
|
|
330
330
|
cursor: pointer;
|
|
331
331
|
border-radius: 10px 0;
|
|
332
332
|
transition: all 0.2s ease-in-out;
|
|
@@ -334,46 +334,46 @@
|
|
|
334
334
|
|
|
335
335
|
&:hover,
|
|
336
336
|
&:active {
|
|
337
|
-
color:
|
|
338
|
-
background-color:
|
|
337
|
+
color: $stack-tab-color-white;
|
|
338
|
+
background-color: $stack-tab-color-primary;
|
|
339
339
|
|
|
340
340
|
.svg-mask {
|
|
341
|
-
background-color:
|
|
341
|
+
background-color: $stack-tab-color-white;
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
344
|
|
|
345
345
|
&[disabled] {
|
|
346
|
-
color:
|
|
346
|
+
color: $stack-tab-color-disabled;
|
|
347
347
|
pointer-events: none;
|
|
348
348
|
cursor: default;
|
|
349
349
|
background: none;
|
|
350
350
|
|
|
351
351
|
.svg-mask {
|
|
352
|
-
background-color:
|
|
352
|
+
background-color: $stack-tab-color-disabled;
|
|
353
353
|
}
|
|
354
354
|
}
|
|
355
355
|
}
|
|
356
356
|
|
|
357
357
|
&-icon {
|
|
358
|
-
width:
|
|
359
|
-
height:
|
|
358
|
+
width: $stack-tab-font-size;
|
|
359
|
+
height: $stack-tab-font-size;
|
|
360
360
|
transition: all 0.2s ease-in-out;
|
|
361
361
|
|
|
362
362
|
&.svg-mask {
|
|
363
|
-
width:
|
|
364
|
-
height:
|
|
365
|
-
background-color:
|
|
363
|
+
width: $stack-tab-font-size;
|
|
364
|
+
height: $stack-tab-font-size;
|
|
365
|
+
background-color: $stack-tab-text-color;
|
|
366
366
|
}
|
|
367
367
|
}
|
|
368
368
|
}
|
|
369
369
|
}
|
|
370
370
|
|
|
371
371
|
.stack-tab__shadow-left {
|
|
372
|
-
box-shadow:
|
|
372
|
+
box-shadow: $stack-tab-shadow-left;
|
|
373
373
|
}
|
|
374
374
|
|
|
375
375
|
.stack-tab__shadow-right {
|
|
376
|
-
box-shadow:
|
|
376
|
+
box-shadow: $stack-tab-shadow-right;
|
|
377
377
|
}
|
|
378
378
|
|
|
379
379
|
/**
|
|
@@ -381,15 +381,15 @@
|
|
|
381
381
|
*/
|
|
382
382
|
.stack-tab__shadow-inset {
|
|
383
383
|
&-left::after {
|
|
384
|
-
@include insetShadow();
|
|
385
|
-
box-shadow:
|
|
384
|
+
@include mixins.insetShadow();
|
|
385
|
+
box-shadow: $stack-tab-shadow-left-inset;
|
|
386
386
|
}
|
|
387
387
|
&-right::after {
|
|
388
|
-
@include insetShadow();
|
|
389
|
-
box-shadow:
|
|
388
|
+
@include mixins.insetShadow();
|
|
389
|
+
box-shadow: $stack-tab-shadow-right-inset;
|
|
390
390
|
}
|
|
391
391
|
&-all::after {
|
|
392
|
-
@include insetShadow();
|
|
393
|
-
box-shadow:
|
|
392
|
+
@include mixins.insetShadow();
|
|
393
|
+
box-shadow: $stack-tab-shadow-left-inset, $stack-tab-shadow-right-inset;
|
|
394
394
|
}
|
|
395
395
|
}
|