permissionx 1.0.0

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/LICENSE ADDED
@@ -0,0 +1,194 @@
1
+ 木兰宽松许可证,第2版
2
+
3
+ 木兰宽松许可证,第2版
4
+
5
+ 2020年1月 http://license.coscl.org.cn/MulanPSL2
6
+
7
+ 您对“软件”的复制、使用、修改及分发受木兰宽松许可证,第2版(“本许可证”)的如下条款的约束:
8
+
9
+ 0. 定义
10
+
11
+ “软件” 是指由“贡献”构成的许可在“本许可证”下的程序和相关文档的集合。
12
+
13
+ “贡献” 是指由任一“贡献者”许可在“本许可证”下的受版权法保护的作品。
14
+
15
+ “贡献者” 是指将受版权法保护的作品许可在“本许可证”下的自然人或“法人实体”。
16
+
17
+ “法人实体” 是指提交贡献的机构及其“关联实体”。
18
+
19
+ “关联实体” 是指,对“本许可证”下的行为方而言,控制、受控制或与其共同受控制的机构,此处的控制是
20
+ 指有受控方或共同受控方至少50%直接或间接的投票权、资金或其他有价证券。
21
+
22
+ 1. 授予版权许可
23
+
24
+ 每个“贡献者”根据“本许可证”授予您永久性的、全球性的、免费的、非独占的、不可撤销的版权许可,您可
25
+ 以复制、使用、修改、分发其“贡献”,不论修改与否。
26
+
27
+ 2. 授予专利许可
28
+
29
+ 每个“贡献者”根据“本许可证”授予您永久性的、全球性的、免费的、非独占的、不可撤销的(根据本条规定
30
+ 撤销除外)专利许可,供您制造、委托制造、使用、许诺销售、销售、进口其“贡献”或以其他方式转移其“贡
31
+ 献”。前述专利许可仅限于“贡献者”现在或将来拥有或控制的其“贡献”本身或其“贡献”与许可“贡献”时的“软
32
+ 件”结合而将必然会侵犯的专利权利要求,不包括对“贡献”的修改或包含“贡献”的其他结合。如果您或您的“
33
+ 关联实体”直接或间接地,就“软件”或其中的“贡献”对任何人发起专利侵权诉讼(包括反诉或交叉诉讼)或
34
+ 其他专利维权行动,指控其侵犯专利权,则“本许可证”授予您对“软件”的专利许可自您提起诉讼或发起维权
35
+ 行动之日终止。
36
+
37
+ 3. 无商标许可
38
+
39
+ “本许可证”不提供对“贡献者”的商品名称、商标、服务标志或产品名称的商标许可,但您为满足第4条规定
40
+ 的声明义务而必须使用除外。
41
+
42
+ 4. 分发限制
43
+
44
+ 您可以在任何媒介中将“软件”以源程序形式或可执行形式重新分发,不论修改与否,但您必须向接收者提供“
45
+ 本许可证”的副本,并保留“软件”中的版权、商标、专利及免责声明。
46
+
47
+ 5. 免责声明与责任限制
48
+
49
+ “软件”及其中的“贡献”在提供时不带任何明示或默示的担保。在任何情况下,“贡献者”或版权所有者不对
50
+ 任何人因使用“软件”或其中的“贡献”而引发的任何直接或间接损失承担责任,不论因何种原因导致或者基于
51
+ 何种法律理论,即使其曾被建议有此种损失的可能性。
52
+
53
+ 6. 语言
54
+
55
+ “本许可证”以中英文双语表述,中英文版本具有同等法律效力。如果中英文版本存在任何冲突不一致,以中文
56
+ 版为准。
57
+
58
+ 条款结束
59
+
60
+ 如何将木兰宽松许可证,第2版,应用到您的软件
61
+
62
+ 如果您希望将木兰宽松许可证,第2版,应用到您的新软件,为了方便接收者查阅,建议您完成如下三步:
63
+
64
+ 1, 请您补充如下声明中的空白,包括软件名、软件的首次发表年份以及您作为版权人的名字;
65
+
66
+ 2, 请您在软件包的一级目录下创建以“LICENSE”为名的文件,将整个许可证文本放入该文件中;
67
+
68
+ 3, 请将如下声明文本放入每个源文件的头部注释中。
69
+
70
+ Copyright (c) [Year] [name of copyright holder]
71
+ [Software Name] is licensed under Mulan PSL v2.
72
+ You can use this software according to the terms and conditions of the Mulan
73
+ PSL v2.
74
+ You may obtain a copy of Mulan PSL v2 at:
75
+ http://license.coscl.org.cn/MulanPSL2
76
+ THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY
77
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
78
+ NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
79
+ See the Mulan PSL v2 for more details.
80
+
81
+ Mulan Permissive Software License,Version 2
82
+
83
+ Mulan Permissive Software License,Version 2 (Mulan PSL v2)
84
+
85
+ January 2020 http://license.coscl.org.cn/MulanPSL2
86
+
87
+ Your reproduction, use, modification and distribution of the Software shall
88
+ be subject to Mulan PSL v2 (this License) with the following terms and
89
+ conditions:
90
+
91
+ 0. Definition
92
+
93
+ Software means the program and related documents which are licensed under
94
+ this License and comprise all Contribution(s).
95
+
96
+ Contribution means the copyrightable work licensed by a particular
97
+ Contributor under this License.
98
+
99
+ Contributor means the Individual or Legal Entity who licenses its
100
+ copyrightable work under this License.
101
+
102
+ Legal Entity means the entity making a Contribution and all its
103
+ Affiliates.
104
+
105
+ Affiliates means entities that control, are controlled by, or are under
106
+ common control with the acting entity under this License, ‘control’ means
107
+ direct or indirect ownership of at least fifty percent (50%) of the voting
108
+ power, capital or other securities of controlled or commonly controlled
109
+ entity.
110
+
111
+ 1. Grant of Copyright License
112
+
113
+ Subject to the terms and conditions of this License, each Contributor hereby
114
+ grants to you a perpetual, worldwide, royalty-free, non-exclusive,
115
+ irrevocable copyright license to reproduce, use, modify, or distribute its
116
+ Contribution, with modification or not.
117
+
118
+ 2. Grant of Patent License
119
+
120
+ Subject to the terms and conditions of this License, each Contributor hereby
121
+ grants to you a perpetual, worldwide, royalty-free, non-exclusive,
122
+ irrevocable (except for revocation under this Section) patent license to
123
+ make, have made, use, offer for sale, sell, import or otherwise transfer its
124
+ Contribution, where such patent license is only limited to the patent claims
125
+ owned or controlled by such Contributor now or in future which will be
126
+ necessarily infringed by its Contribution alone, or by combination of the
127
+ Contribution with the Software to which the Contribution was contributed.
128
+ The patent license shall not apply to any modification of the Contribution,
129
+ and any other combination which includes the Contribution. If you or your
130
+ Affiliates directly or indirectly institute patent litigation (including a
131
+ cross claim or counterclaim in a litigation) or other patent enforcement
132
+ activities against any individual or entity by alleging that the Software or
133
+ any Contribution in it infringes patents, then any patent license granted to
134
+ you under this License for the Software shall terminate as of the date such
135
+ litigation or activity is filed or taken.
136
+
137
+ 3. No Trademark License
138
+
139
+ No trademark license is granted to use the trade names, trademarks, service
140
+ marks, or product names of Contributor, except as required to fulfill notice
141
+ requirements in section 4.
142
+
143
+ 4. Distribution Restriction
144
+
145
+ You may distribute the Software in any medium with or without modification,
146
+ whether in source or executable forms, provided that you provide recipients
147
+ with a copy of this License and retain copyright, patent, trademark and
148
+ disclaimer statements in the Software.
149
+
150
+ 5. Disclaimer of Warranty and Limitation of Liability
151
+
152
+ THE SOFTWARE AND CONTRIBUTION IN IT ARE PROVIDED WITHOUT WARRANTIES OF ANY
153
+ KIND, EITHER EXPRESS OR IMPLIED. IN NO EVENT SHALL ANY CONTRIBUTOR OR
154
+ COPYRIGHT HOLDER BE LIABLE TO YOU FOR ANY DAMAGES, INCLUDING, BUT NOT
155
+ LIMITED TO ANY DIRECT, OR INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING
156
+ FROM YOUR USE OR INABILITY TO USE THE SOFTWARE OR THE CONTRIBUTION IN IT, NO
157
+ MATTER HOW IT’S CAUSED OR BASED ON WHICH LEGAL THEORY, EVEN IF ADVISED OF
158
+ THE POSSIBILITY OF SUCH DAMAGES.
159
+
160
+ 6. Language
161
+
162
+ THIS LICENSE IS WRITTEN IN BOTH CHINESE AND ENGLISH, AND THE CHINESE VERSION
163
+ AND ENGLISH VERSION SHALL HAVE THE SAME LEGAL EFFECT. IN THE CASE OF
164
+ DIVERGENCE BETWEEN THE CHINESE AND ENGLISH VERSIONS, THE CHINESE VERSION
165
+ SHALL PREVAIL.
166
+
167
+ END OF THE TERMS AND CONDITIONS
168
+
169
+ How to Apply the Mulan Permissive Software License,Version 2
170
+ (Mulan PSL v2) to Your Software
171
+
172
+ To apply the Mulan PSL v2 to your work, for easy identification by
173
+ recipients, you are suggested to complete following three steps:
174
+
175
+ i. Fill in the blanks in following statement, including insert your software
176
+ name, the year of the first publication of your software, and your name
177
+ identified as the copyright owner;
178
+
179
+ ii. Create a file named "LICENSE" which contains the whole context of this
180
+ License in the first directory of your software package;
181
+
182
+ iii. Attach the statement to the appropriate annotated syntax at the
183
+ beginning of each source file.
184
+
185
+ Copyright (c) [Year] [name of copyright holder]
186
+ [Software Name] is licensed under Mulan PSL v2.
187
+ You can use this software according to the terms and conditions of the Mulan
188
+ PSL v2.
189
+ You may obtain a copy of Mulan PSL v2 at:
190
+ http://license.coscl.org.cn/MulanPSL2
191
+ THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY
192
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
193
+ NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
194
+ See the Mulan PSL v2 for more details.
package/README.md ADDED
@@ -0,0 +1,57 @@
1
+ # permission
2
+
3
+ ## Installation
4
+
5
+ ```bash
6
+ npm i permission
7
+ ```
8
+
9
+ ## Features
10
+
11
+ - ✅ **按需引入**:支持ES模块tree-shaking
12
+ - ✅ **多种格式**:CJS、ESM、UMD
13
+ - ✅ **Vue 3友好**:兼容Vue 3项目
14
+ - ✅ **类型安全**:良好的类型提示
15
+
16
+ ## Usage
17
+
18
+ ### 整体引入
19
+
20
+ ```javascript
21
+ import * as utils from 'permission';
22
+
23
+ // 使用工具函数
24
+
25
+ ```
26
+
27
+ ### 按需引入(推荐)
28
+
29
+ ```javascript
30
+ import { } from 'permission';
31
+
32
+ // 只引入需要的函数
33
+
34
+ handleViewFile('https://example.com/file.pdf');
35
+ ```
36
+
37
+ <br />
38
+
39
+ ## API
40
+
41
+ ### 工具函
42
+
43
+ <br />
44
+
45
+ ## Build
46
+
47
+ ```bash
48
+ # 构建生产版本
49
+ npm run build
50
+
51
+ # 开发模式(监听文件变化)
52
+ npm run dev
53
+ ```
54
+
55
+ ## License
56
+
57
+ MIT
@@ -0,0 +1,23 @@
1
+ export declare const CacheKey: {
2
+ TOKEN: string;
3
+ USER_INFO: string;
4
+ COMPANYCODE: string;
5
+ COMPANYNAME: string;
6
+ };
7
+ export declare const publicKey = "MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBAL/EwnX/3BaH5gJXJiv7qKhuKKol5JSgayGyYMWDdRO8KKAtOFrniXp/iAGGoV6Y0GF9Z8iY3xHOiU3rHeSJ3G6wFDY87Qr4k2m48/6YRX+s/iMGJ5j5obdCFiDkFUzoR/EHTqC6PM3h6bhDNNIXQpqVbQrg28tW5Y57+yxqRrUjAgMBAAECgYAHlgB9S3xI1eJm6Eylw8RFuWnZZTtYF8p1IEnMtmkMuU5AG9nVWsBo/J+EM++xPslLefr/h/CXEz0CPJFHp551HucLlRA7EOXSPfwLGODlz5rMnXyM8jD3ZMACXsRLvLEiNt+0nP+G7M+Dxuf6SLkmvqYa/NdJACb5/16E2P+pNQJBAO0hgUcKYfvJSXVolonVQNpR8Hu/4LH+5bBVLef+D6JNP6x0hr9U/ce+nI7I5wIPbBgFknvCWfVbgz16tPZhmC0CQQDPBzLArfdUfMs2h/3cxQAeZnX0ybt3F6CR3K9dliDJRn1p3ovdK0OmyggpKfx94KH+VRcJSaWTHLeFvub8KgSPAkEAhUWcY7HZKeqSB5OVb7fT8B+3OcW4YjFxI+5rk4Q9gylJTQJcrPH2g6mEUddlxcmnJcUT88xiRLx/ATGSvRpSrQJAJSfTkgUm6IDlL8pEY4TvuoUFEoPKI1uYM9V5m8A/7h+6jm+khnMnVx3XTRv99tGEAVNgKQiQsNBsl5JlfkhEPQJBAJ2nPXpGolp/R5usP+LP314snwj93G54+HaZnuOoIB0ApusErnpWCSHXbQtvXKo1n6SE3ccp010CPJBnOm/LRaA=";
8
+ export declare const svgSjPath: {
9
+ d: string;
10
+ fill: string;
11
+ };
12
+ export declare const svgConst: {
13
+ viewBox: string;
14
+ version: string;
15
+ xmlns: string;
16
+ width: string;
17
+ height: string;
18
+ };
19
+ export declare const phoneRegex: RegExp;
20
+ export declare const unclosablePaths: string[];
21
+ export declare const WHITE_LIST: string[];
22
+ export declare const MENU_DATA_KEY = "user_menu_data";
23
+ export declare function getGlobalProperties(): {};
@@ -0,0 +1,4 @@
1
+ export declare const version = "1.0.0";
2
+ export * from './utils';
3
+ export * from './constants';
4
+ export * from './whiteList';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ /**
3
+ * @vue/shared v3.5.38
4
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
5
+ * @license MIT
6
+ **/
7
+ function e(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return e=>e in t}const t="production"!==process.env.NODE_ENV?Object.freeze({}):{};"production"===process.env.NODE_ENV||Object.freeze([]);const n=()=>{},o=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),r=e=>e.startsWith("onUpdate:"),s=Object.assign,i=Object.prototype.hasOwnProperty,c=(e,t)=>i.call(e,t),a=Array.isArray,l=e=>"[object Map]"===v(e),u=e=>"function"==typeof e,p=e=>"string"==typeof e,d=e=>"symbol"==typeof e,f=e=>null!==e&&"object"==typeof e,h=Object.prototype.toString,v=e=>h.call(e),g=e=>v(e).slice(8,-1),_=e=>p(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,y=(e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))})(e=>e.charAt(0).toUpperCase()+e.slice(1)),E=(e,t)=>!Object.is(e,t);let b;const m=()=>b||(b="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function N(e){if(a(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=p(o)?S(o):N(o);if(r)for(const e in r)t[e]=r[e]}return t}if(p(e)||f(e))return e}const w=/;(?![^(]*\))/g,O=/:([^]+)/,x=/\/\*[^]*?\*\//g;function S(e){const t={};return e.replace(x,"").split(w).forEach(e=>{if(e){const n=e.split(O);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function D(e){let t="";if(p(e))t=e;else if(a(e))for(let n=0;n<e.length;n++){const o=D(e[n]);o&&(t+=o+" ")}else if(f(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}
8
+ /**
9
+ * @vue/reactivity v3.5.38
10
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
11
+ * @license MIT
12
+ **/function k(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let V;const C=new WeakSet;class A{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0}pause(){this.flags|=64}resume(){64&this.flags&&(this.flags&=-65,C.has(this)&&(C.delete(this),this.trigger()))}notify(){2&this.flags&&!(32&this.flags)||8&this.flags||function(e,t=!1){if(e.flags|=8,t)return e.next=T,void(T=e);e.next=P,P=e}(this)}run(){if(!(1&this.flags))return this.fn();this.flags|=2,G(this),j(this);const e=V,t=J;V=this,J=!0;try{return this.fn()}finally{"production"!==process.env.NODE_ENV&&V!==this&&k("Active effect was not restored correctly - this is likely a Vue internal bug."),M(this),V=e,J=t,this.flags&=-3}}stop(){if(1&this.flags){for(let e=this.deps;e;e=e.nextDep)U(e);this.deps=this.depsTail=void 0,G(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){64&this.flags?C.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){F(this)&&this.run()}get dirty(){return F(this)}}let P,T,I=0;function R(){I++}function $(){if(--I>0)return;if(T){let e=T;for(T=void 0;e;){const t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;P;){let t=P;for(P=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,1&t.flags)try{t.trigger()}catch(t){e||(e=t)}t=n}}if(e)throw e}function j(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function M(e){let t,n=e.depsTail,o=n;for(;o;){const e=o.prevDep;-1===o.version?(o===n&&(n=e),U(o),H(o)):t=o,o.dep.activeLink=o.prevActiveLink,o.prevActiveLink=void 0,o=e}e.deps=t,e.depsTail=n}function F(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(L(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function L(e){if(4&e.flags&&!(16&e.flags))return;if(e.flags&=-17,e.globalVersion===Y)return;if(e.globalVersion=Y,!e.isSSR&&128&e.flags&&(!e.deps&&!e._dirty||!F(e)))return;e.flags|=2;const t=e.dep,n=V,o=J;V=e,J=!0;try{j(e);const n=e.fn(e._value);(0===t.version||E(n,e._value))&&(e.flags|=128,e._value=n,t.version++)}catch(e){throw t.version++,e}finally{V=n,J=o,M(e),e.flags&=-3}}function U(e,t=!1){const{dep:n,prevSub:o,nextSub:r}=e;if(o&&(o.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=o,e.nextSub=void 0),"production"!==process.env.NODE_ENV&&n.subsHead===e&&(n.subsHead=r),n.subs===e&&(n.subs=o,!o&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)U(e,!0)}t||--n.sc||!n.map||n.map.delete(n.key)}function H(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let J=!0;const W=[];function K(){W.push(J),J=!1}function B(){const e=W.pop();J=void 0===e||e}function G(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const e=V;V=void 0;try{t()}finally{V=e}}}let Y=0;class Q{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class X{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0,"production"!==process.env.NODE_ENV&&(this.subsHead=void 0)}track(e){if(!V||!J||V===this.computed)return;let t=this.activeLink;if(void 0===t||t.sub!==V)t=this.activeLink=new Q(V,this),V.deps?(t.prevDep=V.depsTail,V.depsTail.nextDep=t,V.depsTail=t):V.deps=V.depsTail=t,z(t);else if(-1===t.version&&(t.version=this.version,t.nextDep)){const e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=V.depsTail,t.nextDep=void 0,V.depsTail.nextDep=t,V.depsTail=t,V.deps===t&&(V.deps=e)}return"production"!==process.env.NODE_ENV&&V.onTrack&&V.onTrack(s({effect:V},e)),t}trigger(e){this.version++,Y++,this.notify(e)}notify(e){R();try{if("production"!==process.env.NODE_ENV)for(let t=this.subsHead;t;t=t.nextSub)!t.sub.onTrigger||8&t.sub.flags||t.sub.onTrigger(s({effect:t.sub},e));for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{$()}}}function z(e){if(e.dep.sc++,4&e.sub.flags){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)z(e)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),"production"!==process.env.NODE_ENV&&void 0===e.dep.subsHead&&(e.dep.subsHead=e),e.dep.subs=e}}const q=new WeakMap,Z=Symbol("production"!==process.env.NODE_ENV?"Object iterate":""),ee=Symbol("production"!==process.env.NODE_ENV?"Map keys iterate":""),te=Symbol("production"!==process.env.NODE_ENV?"Array iterate":"");function ne(e,t,n){if(J&&V){let o=q.get(e);o||q.set(e,o=new Map);let r=o.get(n);r||(o.set(n,r=new X),r.map=o,r.key=n),"production"!==process.env.NODE_ENV?r.track({target:e,type:t,key:n}):r.track()}}function oe(e,t,n,o,r,s){const i=q.get(e);if(!i)return void Y++;const c=i=>{i&&("production"!==process.env.NODE_ENV?i.trigger({target:e,type:t,key:n,newValue:o,oldValue:r,oldTarget:s}):i.trigger())};if(R(),"clear"===t)i.forEach(c);else{const r=a(e),s=r&&_(n);if(r&&"length"===n){const e=Number(o);i.forEach((t,n)=>{("length"===n||n===te||!d(n)&&n>=e)&&c(t)})}else switch((void 0!==n||i.has(void 0))&&c(i.get(n)),s&&c(i.get(te)),t){case"add":r?s&&c(i.get("length")):(c(i.get(Z)),l(e)&&c(i.get(ee)));break;case"delete":r||(c(i.get(Z)),l(e)&&c(i.get(ee)));break;case"set":l(e)&&c(i.get(Z))}}$()}function re(e){const t=We(e);return t===e?t:(ne(t,"iterate",te),He(e)?t:t.map(Be))}function se(e){return ne(e=We(e),"iterate",te),e}function ie(e,t){return Ue(e)?Le(e)?Ge(Be(t)):Ge(t):Be(t)}const ce={__proto__:null,[Symbol.iterator](){return ae(this,Symbol.iterator,e=>ie(this,e))},concat(...e){return re(this).concat(...e.map(e=>a(e)?re(e):e))},entries(){return ae(this,"entries",e=>(e[1]=ie(this,e[1]),e))},every(e,t){return ue(this,"every",e,t,void 0,arguments)},filter(e,t){return ue(this,"filter",e,t,e=>e.map(e=>ie(this,e)),arguments)},find(e,t){return ue(this,"find",e,t,e=>ie(this,e),arguments)},findIndex(e,t){return ue(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return ue(this,"findLast",e,t,e=>ie(this,e),arguments)},findLastIndex(e,t){return ue(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return ue(this,"forEach",e,t,void 0,arguments)},includes(...e){return de(this,"includes",e)},indexOf(...e){return de(this,"indexOf",e)},join(e){return re(this).join(e)},lastIndexOf(...e){return de(this,"lastIndexOf",e)},map(e,t){return ue(this,"map",e,t,void 0,arguments)},pop(){return fe(this,"pop")},push(...e){return fe(this,"push",e)},reduce(e,...t){return pe(this,"reduce",e,t)},reduceRight(e,...t){return pe(this,"reduceRight",e,t)},shift(){return fe(this,"shift")},some(e,t){return ue(this,"some",e,t,void 0,arguments)},splice(...e){return fe(this,"splice",e)},toReversed(){return re(this).toReversed()},toSorted(e){return re(this).toSorted(e)},toSpliced(...e){return re(this).toSpliced(...e)},unshift(...e){return fe(this,"unshift",e)},values(){return ae(this,"values",e=>ie(this,e))}};function ae(e,t,n){const o=se(e),r=o[t]();return o===e||He(e)||(r._next=r.next,r.next=()=>{const e=r._next();return e.done||(e.value=n(e.value)),e}),r}const le=Array.prototype;function ue(e,t,n,o,r,s){const i=se(e),c=i!==e&&!He(e),a=i[t];if(a!==le[t]){const t=a.apply(e,s);return c?Be(t):t}let l=n;i!==e&&(c?l=function(t,o){return n.call(this,ie(e,t),o,e)}:n.length>2&&(l=function(t,o){return n.call(this,t,o,e)}));const u=a.call(i,l,o);return c&&r?r(u):u}function pe(e,t,n,o){const r=se(e),s=r!==e&&!He(e);let i=n,c=!1;r!==e&&(s?(c=0===o.length,i=function(t,o,r){return c&&(c=!1,t=ie(e,t)),n.call(this,t,ie(e,o),r,e)}):n.length>3&&(i=function(t,o,r){return n.call(this,t,o,r,e)}));const a=r[t](i,...o);return c?ie(e,a):a}function de(e,t,n){const o=We(e);ne(o,"iterate",te);const r=o[t](...n);return-1!==r&&!1!==r||!Je(n[0])?r:(n[0]=We(n[0]),o[t](...n))}function fe(e,t,n=[]){K(),R();const o=We(e)[t].apply(e,n);return $(),B(),o}const he=e("__proto__,__v_isRef,__isVue"),ve=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter(d));function ge(e){d(e)||(e=String(e));const t=We(this);return ne(t,"has",e),t.hasOwnProperty(e)}class _e{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if("__v_skip"===t)return e.__v_skip;const o=this._isReadonly,r=this._isShallow;if("__v_isReactive"===t)return!o;if("__v_isReadonly"===t)return o;if("__v_isShallow"===t)return r;if("__v_raw"===t)return n===(o?r?Re:Ie:r?Te:Pe).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const s=a(e);if(!o){let e;if(s&&(e=ce[t]))return e;if("hasOwnProperty"===t)return ge}const i=Reflect.get(e,t,Ye(e)?e:n);if(d(t)?ve.has(t):he(t))return i;if(o||ne(e,"get",t),r)return i;if(Ye(i)){const e=s&&_(t)?i:i.value;return o&&f(e)?je(e):e}return f(i)?o?je(i):$e(i):i}}class ye extends _e{constructor(e=!1){super(!1,e)}set(e,t,n,o){let r=e[t];const s=a(e)&&_(t);if(!this._isShallow){const o=Ue(r);if(He(n)||Ue(n)||(r=We(r),n=We(n)),!s&&Ye(r)&&!Ye(n))return o?("production"!==process.env.NODE_ENV&&k(`Set operation on key "${String(t)}" failed: target is readonly.`,e[t]),!0):(r.value=n,!0)}const i=s?Number(t)<e.length:c(e,t),l=Reflect.set(e,t,n,Ye(e)?e:o);return e===We(o)&&(i?E(n,r)&&oe(e,"set",t,n,r):oe(e,"add",t,n)),l}deleteProperty(e,t){const n=c(e,t),o=e[t],r=Reflect.deleteProperty(e,t);return r&&n&&oe(e,"delete",t,void 0,o),r}has(e,t){const n=Reflect.has(e,t);return d(t)&&ve.has(t)||ne(e,"has",t),n}ownKeys(e){return ne(e,"iterate",a(e)?"length":Z),Reflect.ownKeys(e)}}class Ee extends _e{constructor(e=!1){super(!0,e)}set(e,t){return"production"!==process.env.NODE_ENV&&k(`Set operation on key "${String(t)}" failed: target is readonly.`,e),!0}deleteProperty(e,t){return"production"!==process.env.NODE_ENV&&k(`Delete operation on key "${String(t)}" failed: target is readonly.`,e),!0}}const be=new ye,me=new Ee,Ne=new Ee(!0),we=e=>e,Oe=e=>Reflect.getPrototypeOf(e);function xe(e){return function(...t){if("production"!==process.env.NODE_ENV){const n=t[0]?`on key "${t[0]}" `:"";k(`${y(e)} operation ${n}failed: target is readonly.`,We(this))}return"delete"!==e&&("clear"===e?void 0:this)}}function Se(e,t){const n={get(n){const o=this.__v_raw,r=We(o),s=We(n);e||(E(n,s)&&ne(r,"get",n),ne(r,"get",s));const{has:i}=Oe(r),c=t?we:e?Ge:Be;return i.call(r,n)?c(o.get(n)):i.call(r,s)?c(o.get(s)):void(o!==r&&o.get(n))},get size(){const t=this.__v_raw;return!e&&ne(We(t),"iterate",Z),t.size},has(t){const n=this.__v_raw,o=We(n),r=We(t);return e||(E(t,r)&&ne(o,"has",t),ne(o,"has",r)),t===r?n.has(t):n.has(t)||n.has(r)},forEach(n,o){const r=this,s=r.__v_raw,i=We(s),c=t?we:e?Ge:Be;return!e&&ne(i,"iterate",Z),s.forEach((e,t)=>n.call(o,c(e),c(t),r))}};s(n,e?{add:xe("add"),set:xe("set"),delete:xe("delete"),clear:xe("clear")}:{add(e){const n=We(this),o=Oe(n),r=We(e),s=t||He(e)||Ue(e)?e:r;return o.has.call(n,s)||E(e,s)&&o.has.call(n,e)||E(r,s)&&o.has.call(n,r)||(n.add(s),oe(n,"add",s,s)),this},set(e,n){t||He(n)||Ue(n)||(n=We(n));const o=We(this),{has:r,get:s}=Oe(o);let i=r.call(o,e);i?"production"!==process.env.NODE_ENV&&Ae(o,r,e):(e=We(e),i=r.call(o,e));const c=s.call(o,e);return o.set(e,n),i?E(n,c)&&oe(o,"set",e,n,c):oe(o,"add",e,n),this},delete(e){const t=We(this),{has:n,get:o}=Oe(t);let r=n.call(t,e);r?"production"!==process.env.NODE_ENV&&Ae(t,n,e):(e=We(e),r=n.call(t,e));const s=o?o.call(t,e):void 0,i=t.delete(e);return r&&oe(t,"delete",e,void 0,s),i},clear(){const e=We(this),t=0!==e.size,n="production"!==process.env.NODE_ENV?l(e)?new Map(e):new Set(e):void 0,o=e.clear();return t&&oe(e,"clear",void 0,void 0,n),o}});return["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=function(e,t,n){return function(...o){const r=this.__v_raw,i=We(r),c=l(i),a="entries"===e||e===Symbol.iterator&&c,u="keys"===e&&c,p=r[e](...o),d=n?we:t?Ge:Be;return!t&&ne(i,"iterate",u?ee:Z),s(Object.create(p),{next(){const{value:e,done:t}=p.next();return t?{value:e,done:t}:{value:a?[d(e[0]),d(e[1])]:d(e),done:t}}})}}(o,e,t)}),n}function De(e,t){const n=Se(e,t);return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(c(n,o)&&o in t?n:t,o,r)}const ke={get:De(!1,!1)},Ve={get:De(!0,!1)},Ce={get:De(!0,!0)};function Ae(e,t,n){const o=We(n);if(o!==n&&t.call(e,o)){const t=g(e);k(`Reactive ${t} contains both the raw and reactive versions of the same object${"Map"===t?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const Pe=new WeakMap,Te=new WeakMap,Ie=new WeakMap,Re=new WeakMap;function $e(e){return Ue(e)?e:Fe(e,!1,be,ke,Pe)}function je(e){return Fe(e,!0,me,Ve,Ie)}function Me(e){return Fe(e,!0,Ne,Ce,Re)}function Fe(e,t,n,o,r){if(!f(e))return"production"!==process.env.NODE_ENV&&k(`value cannot be made ${t?"readonly":"reactive"}: ${String(e)}`),e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;if(e.__v_skip||!Object.isExtensible(e))return e;const s=r.get(e);if(s)return s;const i=function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(g(e));if(0===i)return e;const c=new Proxy(e,2===i?o:n);return r.set(e,c),c}function Le(e){return Ue(e)?Le(e.__v_raw):!(!e||!e.__v_isReactive)}function Ue(e){return!(!e||!e.__v_isReadonly)}function He(e){return!(!e||!e.__v_isShallow)}function Je(e){return!!e&&!!e.__v_raw}function We(e){const t=e&&e.__v_raw;return t?We(t):e}function Ke(e){return!c(e,"__v_skip")&&Object.isExtensible(e)&&((e,t,n,o=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:o,value:n})})(e,"__v_skip",!0),e}const Be=e=>f(e)?$e(e):e,Ge=e=>f(e)?je(e):e;function Ye(e){return!!e&&!0===e.__v_isRef}const Qe={get:(e,t,n)=>{return"__v_raw"===t?e:Ye(o=Reflect.get(e,t,n))?o.value:o;var o},set:(e,t,n,o)=>{const r=e[t];return Ye(r)&&!Ye(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};const Xe={},ze=new WeakMap;let qe;function Ze(e,o,r=t){const{immediate:s,deep:i,once:c,scheduler:l,augmentJob:p,call:d}=r,f=e=>{(r.onWarn||k)("Invalid watch source: ",e,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},h=e=>i?e:He(e)||!1===i||0===i?et(e,1):et(e);let v,g,_,y,b=!1,m=!1;if(Ye(e)?(g=()=>e.value,b=He(e)):Le(e)?(g=()=>h(e),b=!0):a(e)?(m=!0,b=e.some(e=>Le(e)||He(e)),g=()=>e.map(e=>Ye(e)?e.value:Le(e)?h(e):u(e)?d?d(e,2):e():void("production"!==process.env.NODE_ENV&&f(e)))):u(e)?g=o?d?()=>d(e,2):e:()=>{if(_){K();try{_()}finally{B()}}const t=qe;qe=v;try{return d?d(e,3,[y]):e(y)}finally{qe=t}}:(g=n,"production"!==process.env.NODE_ENV&&f(e)),o&&i){const e=g,t=!0===i?1/0:i;g=()=>et(e(),t)}const N=()=>{v.stop()};if(c&&o){const e=o;o=(...t)=>{const n=e(...t);return N(),n}}let w=m?new Array(e.length).fill(Xe):Xe;const O=e=>{if(1&v.flags&&(v.dirty||e))if(o){const t=v.run();if(e||i||b||(m?t.some((e,t)=>E(e,w[t])):E(t,w))){_&&_();const e=qe;qe=v;try{const e=[t,w===Xe?void 0:m&&w[0]===Xe?[]:w,y];w=t,d?d(o,3,e):o(...e)}finally{qe=e}}}else v.run()};return p&&p(O),v=new A(g),v.scheduler=l?()=>l(O,!1):O,y=e=>function(e,t=!1,n=qe){if(n){let t=ze.get(n);t||ze.set(n,t=[]),t.push(e)}else"production"===process.env.NODE_ENV||t||k("onWatcherCleanup() was called when there was no active watcher to associate with.")}(e,!1,v),_=v.onStop=()=>{const e=ze.get(v);if(e){if(d)d(e,4);else for(const t of e)t();ze.delete(v)}},"production"!==process.env.NODE_ENV&&(v.onTrack=r.onTrack,v.onTrigger=r.onTrigger),o?s?O(!0):w=v.run():l?l(O.bind(null,!0),!0):v.run(),N.pause=v.pause.bind(v),N.resume=v.resume.bind(v),N.stop=N,N}function et(e,t=1/0,n){if(t<=0||!f(e)||e.__v_skip)return e;if(((n=n||new Map).get(e)||0)>=t)return e;if(n.set(e,t),t--,Ye(e))et(e.value,t,n);else if(a(e))for(let o=0;o<e.length;o++)et(e[o],t,n);else if("[object Set]"===v(e)||l(e))e.forEach(e=>{et(e,t,n)});else if((e=>"[object Object]"===v(e))(e)){for(const o in e)et(e[o],t,n);for(const o of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,o)&&et(e[o],t,n)}return e}
13
+ /**
14
+ * @vue/runtime-core v3.5.38
15
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
16
+ * @license MIT
17
+ **/const tt=[];let nt=!1;function ot(e,...t){if(nt)return;nt=!0,K();const n=tt.length?tt[tt.length-1].component:null,o=n&&n.appContext.config.warnHandler,r=function(){let e=tt[tt.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}();if(o)ct(o,n,11,[e+t.map(e=>{var t,n;return null!=(n=null==(t=e.toString)?void 0:t.call(e))?n:JSON.stringify(e)}).join(""),n&&n.proxy,r.map(({vnode:e})=>`at <${yn(n,e.type)}>`).join("\n"),r]);else{const n=[`[Vue warn]: ${e}`,...t];r.length&&n.push("\n",...function(e){const t=[];return e.forEach((e,n)=>{t.push(...0===n?[]:["\n"],...function({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=!!e.component&&null==e.component.parent,r=` at <${yn(e.component,e.type,o)}`,s=">"+n;return e.props?[r,...rt(e.props),s]:[r+s]}(e))}),t}(r)),console.warn(...n)}B(),nt=!1}function rt(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(n=>{t.push(...st(n,e[n]))}),n.length>3&&t.push(" ..."),t}function st(e,t,n){return p(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:[`${e}=${t}`]:Ye(t)?(t=st(e,We(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):u(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=We(t),n?t:[`${e}=`,t])}const it={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function ct(e,t,n,o){try{return o?e(...o):e()}catch(e){lt(e,t,n)}}function at(e,t,n,o){if(u(e)){const s=ct(e,t,n,o);return s&&((f(r=s)||u(r))&&u(r.then)&&u(r.catch))&&s.catch(e=>{lt(e,t,n)}),s}var r;if(a(e)){const r=[];for(let s=0;s<e.length;s++)r.push(at(e[s],t,n,o));return r}"production"!==process.env.NODE_ENV&&ot("Invalid value type passed to callWithAsyncErrorHandling(): "+typeof e)}function lt(e,n,o,r=!0){const s=n?n.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:c}=n&&n.appContext.config||t;if(n){let t=n.parent;const r=n.proxy,s="production"!==process.env.NODE_ENV?it[o]:`https://vuejs.org/error-reference/#runtime-${o}`;for(;t;){const n=t.ec;if(n)for(let t=0;t<n.length;t++)if(!1===n[t](e,r,s))return;t=t.parent}if(i)return K(),ct(i,null,10,[e,r,s]),void B()}!function(e,t,n,o=!0,r=!1){if("production"!==process.env.NODE_ENV){const r=it[t];if(n&&(s=n,tt.push(s)),ot("Unhandled error"+(r?` during execution of ${r}`:"")),n&&tt.pop(),o)throw e;console.error(e)}else{if(r)throw e;console.error(e)}var s}(e,o,s,r,c)}const ut=[];let pt=-1;const dt=[];let ft=null,ht=0;const vt=Promise.resolve();let gt=null;function _t(e){const t=gt||vt;return e?t.then(this?e.bind(this):e):t}function yt(e){if(!(1&e.flags)){const t=mt(e),n=ut[ut.length-1];!n||!(2&e.flags)&&t>=mt(n)?ut.push(e):ut.splice(function(e){let t=pt+1,n=ut.length;for(;t<n;){const o=t+n>>>1,r=ut[o],s=mt(r);s<e||s===e&&2&r.flags?t=o+1:n=o}return t}(t),0,e),e.flags|=1,Et()}}function Et(){gt||(gt=vt.then(Nt))}function bt(e){a(e)?dt.push(...e):ft&&-1===e.id?ft.splice(ht+1,0,e):1&e.flags||(dt.push(e),e.flags|=1),Et()}const mt=e=>null==e.id?2&e.flags?-1:1/0:e.id;function Nt(e){"production"!==process.env.NODE_ENV&&(e=e||new Map);const t="production"!==process.env.NODE_ENV?t=>wt(e,t):n;try{for(pt=0;pt<ut.length;pt++){const e=ut[pt];if(e&&!(8&e.flags)){if("production"!==process.env.NODE_ENV&&t(e))continue;4&e.flags&&(e.flags&=-2),ct(e,e.i,e.i?15:14),4&e.flags||(e.flags&=-2)}}}finally{for(;pt<ut.length;pt++){const e=ut[pt];e&&(e.flags&=-2)}pt=-1,ut.length=0,function(e){if(dt.length){const t=[...new Set(dt)].sort((e,t)=>mt(e)-mt(t));if(dt.length=0,ft)return void ft.push(...t);for(ft=t,"production"!==process.env.NODE_ENV&&(e=e||new Map),ht=0;ht<ft.length;ht++){const t=ft[ht];"production"!==process.env.NODE_ENV&&wt(e,t)||(4&t.flags&&(t.flags&=-2),8&t.flags||t(),t.flags&=-2)}ft=null,ht=0}}(e),gt=null,(ut.length||dt.length)&&Nt(e)}}function wt(e,t){const n=e.get(t)||0;if(n>100){const e=t.i,n=e&&_n(e.type);return lt(`Maximum recursive updates exceeded${n?` in component <${n}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}return e.set(t,n+1),!1}const Ot=new Map;"production"!==process.env.NODE_ENV&&(m().__VUE_HMR_RUNTIME__={createRecord:kt(function(e,t){if(xt.has(e))return!1;return xt.set(e,{initialDef:St(t),instances:new Set}),!0}),rerender:kt(function(e,t){const n=xt.get(e);if(!n)return;n.initialDef.render=t,[...n.instances].forEach(e=>{t&&(e.render=t,St(e.type).render=t),e.renderCache=[],8&e.job.flags||e.update()})}),reload:kt(function(e,t){const n=xt.get(e);if(!n)return;t=St(t),Dt(n.initialDef,t);const o=[...n.instances];for(let e=0;e<o.length;e++){const r=o[e],s=St(r.type);let i=Ot.get(s);i||(s!==n.initialDef&&Dt(s,t),Ot.set(s,i=new Set)),i.add(r),r.appContext.propsCache.delete(r.type),r.appContext.emitsCache.delete(r.type),r.appContext.optionsCache.delete(r.type),r.ceReload?(i.add(r),r.ceReload(t.styles),i.delete(r)):r.parent?yt(()=>{8&r.job.flags||(r.parent.update(),i.delete(r))}):r.appContext.reload?r.appContext.reload():"undefined"!=typeof window?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required."),r.root.ce&&r!==r.root&&r.root.ce._removeChildStyle(s)}bt(()=>{Ot.clear()})})});const xt=new Map;function St(e){return En(e)?e.__vccOpts:e}function Dt(e,t){s(e,t);for(const n in e)"__file"===n||n in t||delete e[n]}function kt(e){return(t,n)=>{try{return e(t,n)}catch(e){console.error(e),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let Vt=null;const Ct=Symbol.for("v-scx"),At=()=>{{const e=function(e,t,n=!1){const o=pn();if(o||Yt){let r=o?null==o.parent||o.ce?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&u(t)?t.call(o&&o.proxy):t;"production"!==process.env.NODE_ENV&&ot(`injection "${String(e)}" not found.`)}else"production"!==process.env.NODE_ENV&&ot("inject() can only be used inside setup() or functional components.")}(Ct);return e||"production"!==process.env.NODE_ENV&&ot("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function Pt(e,o,r){const i=this.proxy,c=p(e)?e.includes(".")?function(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}(i,e):()=>i[e]:e.bind(i,i);let a;u(o)?a=o:(a=o.handler,r=o);const l=fn(this),d=function(e,o,r=t){const{immediate:i,deep:c,flush:a,once:l}=r;"production"===process.env.NODE_ENV||o||(void 0!==i&&ot('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),void 0!==c&&ot('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),void 0!==l&&ot('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const u=s({},r);"production"!==process.env.NODE_ENV&&(u.onWarn=ot);const p=o&&i||!o&&"post"!==a;let d;if(hn)if("sync"===a){const e=At();d=e.__watcherHandles||(e.__watcherHandles=[])}else if(!p){const e=()=>{};return e.stop=n,e.resume=n,e.pause=n,e}const f=un;u.call=(e,t,n)=>at(e,f,t,n);let h=!1;"post"===a?u.scheduler=e=>{zt(e,f&&f.suspense)}:"sync"!==a&&(h=!0,u.scheduler=(e,t)=>{t?e():yt(e)}),u.augmentJob=e=>{o&&(e.flags|=4),h&&(e.flags|=2,f&&(e.id=f.uid,e.i=f))};const v=Ze(e,o,u);return hn&&(d?d.push(v):p&&v()),v}(c,a.bind(i),r);return l(),d}function Tt(e,t){6&e.shapeFlag&&e.component?(e.transition=t,Tt(e.component.subTree,t)):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}m().requestIdleCallback,m().cancelIdleCallback;const It=Symbol.for("v-ndc"),Rt=e=>e?4&e.vnode.shapeFlag?function(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Le(t=Ke(e.exposed))?t:new Proxy(t,Qe),{get:(t,n)=>n in t?t[n]:n in $t?$t[n](e):void 0,has:(e,t)=>t in e||t in $t})):e.proxy;var t}(e):Rt(e.parent):null,$t=s(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>"production"!==process.env.NODE_ENV?Me(e.props):e.props,$attrs:e=>"production"!==process.env.NODE_ENV?Me(e.attrs):e.attrs,$slots:e=>"production"!==process.env.NODE_ENV?Me(e.slots):e.slots,$refs:e=>"production"!==process.env.NODE_ENV?Me(e.refs):e.refs,$parent:e=>Rt(e.parent),$root:e=>Rt(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>__VUE_OPTIONS_API__?function(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,c=s.get(t);let a;c?a=c:r.length||n||o?(a={},r.length&&r.forEach(e=>Ut(a,e,i,!0)),Ut(a,t,i)):a=t;f(t)&&s.set(t,a);return a}(e):e.type,$forceUpdate:e=>e.f||(e.f=()=>{yt(e.update)}),$nextTick:e=>e.n||(e.n=_t.bind(e.proxy)),$watch:e=>__VUE_OPTIONS_API__?Pt.bind(e):n}),jt=(e,n)=>e!==t&&!e.__isScriptSetup&&c(e,n),Mt={get({_:e},n){if("__v_skip"===n)return!0;const{ctx:o,setupState:r,data:s,props:i,accessCache:a,type:l,appContext:u}=e;if("production"!==process.env.NODE_ENV&&"__isVue"===n)return!0;if("$"!==n[0]){const e=a[n];if(void 0!==e)switch(e){case 1:return r[n];case 2:return s[n];case 4:return o[n];case 3:return i[n]}else{if(jt(r,n))return a[n]=1,r[n];if(__VUE_OPTIONS_API__&&s!==t&&c(s,n))return a[n]=2,s[n];if(c(i,n))return a[n]=3,i[n];if(o!==t&&c(o,n))return a[n]=4,o[n];__VUE_OPTIONS_API__&&!Lt||(a[n]=0)}}const p=$t[n];let d,f;return p?("$attrs"===n?(ne(e.attrs,"get",""),process.env.NODE_ENV):"production"!==process.env.NODE_ENV&&"$slots"===n&&ne(e,"get",n),p(e)):(d=l.__cssModules)&&(d=d[n])?d:o!==t&&c(o,n)?(a[n]=4,o[n]):(f=u.config.globalProperties,c(f,n)?f[n]:void process.env.NODE_ENV)},set({_:e},n,o){const{data:r,setupState:s,ctx:i}=e;return jt(s,n)?(s[n]=o,!0):"production"!==process.env.NODE_ENV&&s.__isScriptSetup&&c(s,n)?(ot(`Cannot mutate <script setup> binding "${n}" from Options API.`),!1):__VUE_OPTIONS_API__&&r!==t&&c(r,n)?(r[n]=o,!0):c(e.props,n)?("production"!==process.env.NODE_ENV&&ot(`Attempting to mutate prop "${n}". Props are readonly.`),!1):"$"===n[0]&&n.slice(1)in e?("production"!==process.env.NODE_ENV&&ot(`Attempting to mutate public property "${n}". Properties starting with $ are reserved and readonly.`),!1):("production"!==process.env.NODE_ENV&&n in e.appContext.config.globalProperties?Object.defineProperty(i,n,{enumerable:!0,configurable:!0,value:o}):i[n]=o,!0)},has({_:{data:e,setupState:n,accessCache:o,ctx:r,appContext:s,props:i,type:a}},l){let u;return!!(o[l]||__VUE_OPTIONS_API__&&e!==t&&"$"!==l[0]&&c(e,l)||jt(n,l)||c(i,l)||c(r,l)||c($t,l)||c(s.config.globalProperties,l)||(u=a.__cssModules)&&u[l])},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:c(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ft(e){return a(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}"production"!==process.env.NODE_ENV&&(Mt.ownKeys=e=>(ot("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e)));let Lt=!0;function Ut(e,t,n,o=!1){const{mixins:r,extends:s}=t;s&&Ut(e,s,n,!0),r&&r.forEach(t=>Ut(e,t,n,!0));for(const r in t)if(o&&"expose"===r)"production"!==process.env.NODE_ENV&&ot('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const o=Ht[r]||n&&n[r];e[r]=o?o(e[r],t[r]):t[r]}return e}const Ht={data:Jt,props:Gt,emits:Gt,methods:Bt,computed:Bt,beforeCreate:Kt,created:Kt,beforeMount:Kt,mounted:Kt,beforeUpdate:Kt,updated:Kt,beforeDestroy:Kt,beforeUnmount:Kt,destroyed:Kt,unmounted:Kt,activated:Kt,deactivated:Kt,errorCaptured:Kt,serverPrefetch:Kt,components:Bt,directives:Bt,watch:function(e,t){if(!e)return t;if(!t)return e;const n=s(Object.create(null),e);for(const o in t)n[o]=Kt(e[o],t[o]);return n},provide:Jt,inject:function(e,t){return Bt(Wt(e),Wt(t))}};function Jt(e,t){return t?e?function(){return s(u(e)?e.call(this,this):e,u(t)?t.call(this,this):t)}:t:e}function Wt(e){if(a(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Kt(e,t){return e?[...new Set([].concat(e,t))]:t}function Bt(e,t){return e?s(Object.create(null),e,t):t}function Gt(e,t){return e?a(e)&&a(t)?[...new Set([...e,...t])]:s(Object.create(null),Ft(e),Ft(null!=t?t:{})):t}let Yt=null;const Qt={},Xt=e=>Object.getPrototypeOf(e)===Qt,zt=function(e,t){t&&t.pendingBranch?a(e)?t.effects.push(...e):t.effects.push(e):bt(e)};const qt=Symbol.for("v-fgt"),Zt=Symbol.for("v-txt"),en=Symbol.for("v-cmt");const tn=({key:e})=>null!=e?e:null,nn=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?p(e)||Ye(e)||u(e)?{i:Vt,r:e,k:t,f:!!n}:e:null);const on="production"!==process.env.NODE_ENV?(...e)=>rn(...e):rn;function rn(e,t=null,n=null,o=0,r=null,i=!1){if(e&&e!==It||("production"===process.env.NODE_ENV||e||ot(`Invalid vnode type when creating vnode: ${e}.`),e=en),(c=e)&&!0===c.__v_isVNode){const o=sn(e,t,!0);return n&&ln(o,n),o.patchFlag=-2,o}var c;if(En(e)&&(e=e.__vccOpts),t){t=function(e){return e?Je(e)||Xt(e)?s({},e):e:null}(t);let{class:e,style:n}=t;e&&!p(e)&&(t.class=D(e)),f(n)&&(Je(n)&&!a(n)&&(n=s({},n)),t.style=N(n))}const l=p(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:f(e)?4:u(e)?2:0;return"production"!==process.env.NODE_ENV&&4&l&&Je(e)&&ot("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.","\nComponent that was made reactive: ",e=We(e)),function(e,t=null,n=null,o=0,r=null,s=(e===qt?0:1),i=!1,c=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&tn(t),ref:t&&nn(t),scopeId:null,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Vt};return c?(ln(a,n),128&s&&e.normalize(a)):n&&(a.shapeFlag|=p(n)?8:16),"production"!==process.env.NODE_ENV&&a.key!=a.key&&ot("VNode created with invalid key (NaN). VNode type:",a.type),a}(e,t,n,o,r,l,i,!0)}function sn(e,t,n=!1,s=!1){const{props:i,ref:c,patchFlag:l,children:u,transition:p}=e,d=t?function(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const e in s)if("class"===e)t.class!==s.class&&(t.class=D([t.class,s.class]));else if("style"===e)t.style=N([t.style,s.style]);else if(o(e)){const n=t[e],o=s[e];!o||n===o||a(n)&&n.includes(o)?null!=o||null!=n||r(e)||(t[e]=o):t[e]=n?[].concat(n,o):o}else""!==e&&(t[e]=s[e])}return t}(i||{},t):i,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&tn(d),ref:t&&t.ref?n&&c?a(c)?c.concat(nn(t)):[c,nn(t)]:nn(t):c,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:"production"!==process.env.NODE_ENV&&-1===l&&a(u)?u.map(cn):u,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==qt?-1===l?16:16|l:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:p,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&sn(e.ssContent),ssFallback:e.ssFallback&&sn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return p&&s&&Tt(f,p.clone(f)),f}function cn(e){const t=sn(e);return a(e.children)&&(t.children=e.children.map(cn)),t}function an(e=" ",t=0){return on(Zt,null,e,t)}function ln(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(a(t))n=16;else if("object"==typeof t){if(65&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),ln(e,n()),n._c&&(n._d=!0)))}{n=32;const e=t._;e||Xt(t)||(t._ctx=Vt)}}else u(t)?(t={default:t,_ctx:Vt},n=32):(t=String(t),64&o?(n=16,t=[an(t)]):n=8);e.children=t,e.shapeFlag|=n}let un=null;const pn=()=>un||Vt;let dn;{const e=m(),t=(t,n)=>{let o;return(o=e[t])||(o=e[t]=[]),o.push(n),e=>{o.length>1?o.forEach(t=>t(e)):o[0](e)}};dn=t("__VUE_INSTANCE_SETTERS__",e=>un=e),t("__VUE_SSR_SETTERS__",e=>hn=e)}const fn=e=>{const t=un;return dn(e),e.scope.on(),()=>{e.scope.off(),dn(t)}};let hn=!1;process.env.NODE_ENV;const vn=/(?:^|[-_])\w/g,gn=e=>e.replace(vn,e=>e.toUpperCase()).replace(/[-_]/g,"");function _n(e,t=!0){return u(e)?e.displayName||e.name:e.name||t&&e.__name}function yn(e,t,n=!1){let o=_n(t);if(!o&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(o=e[1])}if(!o&&e){const n=e=>{for(const n in e)if(e[n]===t)return n};o=n(e.components)||e.parent&&n(e.parent.type.components)||n(e.appContext.components)}return o?gn(o):n?"App":"Anonymous"}function En(e){return u(e)&&"__vccOpts"in e}process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV;exports.AUDIT_WHITE_LIST=["/login","/404","/403","/register","/pay","/file-views","/iitc","/users/info"],exports.CLIENT_WHITE_LIST=["/login","/404","/403","/register","/file-views","/iitc","/account"],exports.CacheKey={TOKEN:"token",USER_INFO:"userInfo",COMPANYCODE:"companyCode",COMPANYNAME:"companyName"},exports.MENU_DATA_KEY="user_menu_data",exports.WHITE_LIST=["/login","/404","/403","/register","/file-views","/iitc","/account"],exports.addOperation=(e,t)=>{e.operations.includes(t)||e.operations.push(t)},exports.getGlobalProperties=function(){const e=pn();return e?e.appContext.config.globalProperties:(console.error("请在 setup 中使用 getGlobalProperties"),{})},exports.isOperationSelected=(e,t)=>e.operations.includes(t),exports.phoneRegex=/^1[3-9]\d{9}$/,exports.publicKey="MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBAL/EwnX/3BaH5gJXJiv7qKhuKKol5JSgayGyYMWDdRO8KKAtOFrniXp/iAGGoV6Y0GF9Z8iY3xHOiU3rHeSJ3G6wFDY87Qr4k2m48/6YRX+s/iMGJ5j5obdCFiDkFUzoR/EHTqC6PM3h6bhDNNIXQpqVbQrg28tW5Y57+yxqRrUjAgMBAAECgYAHlgB9S3xI1eJm6Eylw8RFuWnZZTtYF8p1IEnMtmkMuU5AG9nVWsBo/J+EM++xPslLefr/h/CXEz0CPJFHp551HucLlRA7EOXSPfwLGODlz5rMnXyM8jD3ZMACXsRLvLEiNt+0nP+G7M+Dxuf6SLkmvqYa/NdJACb5/16E2P+pNQJBAO0hgUcKYfvJSXVolonVQNpR8Hu/4LH+5bBVLef+D6JNP6x0hr9U/ce+nI7I5wIPbBgFknvCWfVbgz16tPZhmC0CQQDPBzLArfdUfMs2h/3cxQAeZnX0ybt3F6CR3K9dliDJRn1p3ovdK0OmyggpKfx94KH+VRcJSaWTHLeFvub8KgSPAkEAhUWcY7HZKeqSB5OVb7fT8B+3OcW4YjFxI+5rk4Q9gylJTQJcrPH2g6mEUddlxcmnJcUT88xiRLx/ATGSvRpSrQJAJSfTkgUm6IDlL8pEY4TvuoUFEoPKI1uYM9V5m8A/7h+6jm+khnMnVx3XTRv99tGEAVNgKQiQsNBsl5JlfkhEPQJBAJ2nPXpGolp/R5usP+LP314snwj93G54+HaZnuOoIB0ApusErnpWCSHXbQtvXKo1n6SE3ccp010CPJBnOm/LRaA=",exports.svgConst={viewBox:"0 0 1536 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em"},exports.svgSjPath={d:"M73.75498878 312.79929781L689.59344939 960.31767875A98.63975344 98.63975344 0 0 0 762.55326659 991.9976a98.63975344 98.63975344 0 0 0 72.71981813-31.67992125L1451.3515444 312.79929781a106.55973375 106.55973375 0 0 0 23.99994-114.23971406 113.75971594 113.75971594 0 0 0-96.95975719-70.55982375l-1231.19692219 0a113.27971688 113.27971688 0 0 0-97.19975718 70.31982375 106.55973375 106.55973375 0 0 0 23.75994094 114.47971406z",fill:"#001533"},exports.unclosablePaths=["/accounting/accounting-voucher-detail","/accounting/accounting-voucher-add","/accounting/accounting-voucher-red"],exports.version="1.0.0",exports.whiteList=["/login","/404","/403","/register","/pay","/file-views","/iitc","/users/info"];
18
+ //# sourceMappingURL=permission.cjs.js.map