@abtnode/webapp 1.8.63-beta-a36b5e1a → 1.8.63
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/blocklet.yml +6 -3
- package/build/asset-manifest.json +93 -0
- package/build/favicon.ico +0 -0
- package/build/icons/css/all.css +5919 -0
- package/build/icons/css/brands.css +14 -0
- package/build/icons/css/brands.min.css +12 -0
- package/build/icons/css/fontawesome.css +7816 -0
- package/build/icons/css/fontawesome.min.css +5864 -0
- package/build/icons/css/light.css +15 -0
- package/build/icons/css/light.min.css +13 -0
- package/build/icons/webfonts/fa-brands-400.eot +0 -0
- package/build/icons/webfonts/fa-brands-400.svg +1256 -0
- package/build/icons/webfonts/fa-brands-400.ttf +0 -0
- package/build/icons/webfonts/fa-brands-400.woff +0 -0
- package/build/icons/webfonts/fa-brands-400.woff2 +0 -0
- package/build/icons/webfonts/fa-light-300.eot +0 -0
- package/build/icons/webfonts/fa-light-300.svg +4445 -0
- package/build/icons/webfonts/fa-light-300.ttf +0 -0
- package/build/icons/webfonts/fa-light-300.woff +0 -0
- package/build/icons/webfonts/fa-light-300.woff2 +0 -0
- package/build/images/blocklet.png +0 -0
- package/build/images/blocklets-00c2c4.png +0 -0
- package/build/images/blocklets-222222.png +0 -0
- package/build/images/celebrate.png +0 -0
- package/build/images/community.svg +6 -0
- package/build/images/console-00c2c4.png +0 -0
- package/build/images/console-222222.png +0 -0
- package/build/images/dashboard-00c2c4.png +0 -0
- package/build/images/dashboard-222222.png +0 -0
- package/build/images/doc-222222.png +0 -0
- package/build/images/hourglass-222222.png +0 -0
- package/build/images/https-certificate-icon.png +0 -0
- package/build/images/labs-00c2c4.png +0 -0
- package/build/images/labs-222222.png +0 -0
- package/build/images/log-00c2c4.png +0 -0
- package/build/images/log-222222.png +0 -0
- package/build/images/member-222222.png +0 -0
- package/build/images/node.png +0 -0
- package/build/images/official.svg +1 -0
- package/build/images/private-222222.png +0 -0
- package/build/images/public-222222.png +0 -0
- package/build/images/public_avatar.png +0 -0
- package/build/images/router-00c2c4.png +0 -0
- package/build/images/router-222222.png +0 -0
- package/build/images/settings-00c2c4.png +0 -0
- package/build/images/settings-222222.png +0 -0
- package/build/images/slack.png +0 -0
- package/build/images/storage-222222.png +0 -0
- package/build/images/store-00c2c4.png +0 -0
- package/build/images/store-222222.png +0 -0
- package/build/images/team-00c2c4.png +0 -0
- package/build/images/team-222222.png +0 -0
- package/build/images/time-222222.png +0 -0
- package/build/images/upgrade.png +0 -0
- package/build/index.html +1 -0
- package/build/manifest.json +15 -0
- package/build/static/css/4381.5ade355d.chunk.css +1 -0
- package/build/static/css/4691.56c2f951.chunk.css +1 -0
- package/build/static/css/5245.5d6e9197.chunk.css +1 -0
- package/build/static/css/8213.f696fdbf.chunk.css +1 -0
- package/build/static/css/9779.f696fdbf.chunk.css +1 -0
- package/build/static/css/main.c9e90622.css +1 -0
- package/build/static/images/logo.png +0 -0
- package/build/static/js/1057.8280393f.chunk.js +1 -0
- package/build/static/js/1361.85e46159.chunk.js +1 -0
- package/build/static/js/1366.2f174c9b.chunk.js +2 -0
- package/build/static/js/1366.2f174c9b.chunk.js.LICENSE.txt +37 -0
- package/build/static/js/154.94956824.chunk.js +1 -0
- package/build/static/js/1826.07c285de.chunk.js +1 -0
- package/build/static/js/2129.120e36ae.chunk.js +1 -0
- package/build/static/js/2308.b65bc299.chunk.js +1 -0
- package/build/static/js/2564.eef717f3.chunk.js +1 -0
- package/build/static/js/2657.d3c62d57.chunk.js +1 -0
- package/build/static/js/2720.26eb1788.chunk.js +1 -0
- package/build/static/js/2828.4f318970.chunk.js +1 -0
- package/build/static/js/2878.5626558d.chunk.js +1 -0
- package/build/static/js/3111.84e02823.chunk.js +1 -0
- package/build/static/js/3476.c0b3411b.chunk.js +1 -0
- package/build/static/js/3633.8c7cf02d.chunk.js +1 -0
- package/build/static/js/3732.f5d8b39b.chunk.js +1 -0
- package/build/static/js/3776.1490b0f7.chunk.js +1 -0
- package/build/static/js/3829.b6d6cf45.chunk.js +1 -0
- package/build/static/js/4074.19db40ec.chunk.js +1 -0
- package/build/static/js/4104.b47ae0e1.chunk.js +1 -0
- package/build/static/js/4241.83e4f741.chunk.js +1 -0
- package/build/static/js/4274.e18ffddd.chunk.js +1 -0
- package/build/static/js/4349.7c2f6507.chunk.js +1 -0
- package/build/static/js/4381.631ef61d.chunk.js +2 -0
- package/build/static/js/4381.631ef61d.chunk.js.LICENSE.txt +22 -0
- package/build/static/js/4557.3907550e.chunk.js +1 -0
- package/build/static/js/4590.5a14012c.chunk.js +1 -0
- package/build/static/js/4633.9f946ed5.chunk.js +1 -0
- package/build/static/js/4691.550fcb40.chunk.js +2 -0
- package/build/static/js/4691.550fcb40.chunk.js.LICENSE.txt +8 -0
- package/build/static/js/5074.9ea094a9.chunk.js +1 -0
- package/build/static/js/5082.18d16cb9.chunk.js +1 -0
- package/build/static/js/519.adae6e43.chunk.js +1 -0
- package/build/static/js/556.381dcbd8.chunk.js +1 -0
- package/build/static/js/5984.25af6288.chunk.js +1 -0
- package/build/static/js/6158.8a43296d.chunk.js +1 -0
- package/build/static/js/6189.d6d74d14.chunk.js +1 -0
- package/build/static/js/6239.5a873a03.chunk.js +2 -0
- package/build/static/js/6239.5a873a03.chunk.js.LICENSE.txt +14 -0
- package/build/static/js/629.1a7f2553.chunk.js +1 -0
- package/build/static/js/6413.ab4a8e01.chunk.js +1 -0
- package/build/static/js/6602.c417a217.chunk.js +1 -0
- package/build/static/js/6780.64314507.chunk.js +1 -0
- package/build/static/js/6830.88b993a0.chunk.js +1 -0
- package/build/static/js/6866.2131ea60.chunk.js +2 -0
- package/build/static/js/6866.2131ea60.chunk.js.LICENSE.txt +8 -0
- package/build/static/js/6898.6fe0c32d.chunk.js +2 -0
- package/build/static/js/6898.6fe0c32d.chunk.js.LICENSE.txt +5 -0
- package/build/static/js/7016.835958ef.chunk.js +1 -0
- package/build/static/js/7298.a7286c09.chunk.js +1 -0
- package/build/static/js/7327.56a5e016.chunk.js +1 -0
- package/build/static/js/744.8b656dd2.chunk.js +1 -0
- package/build/static/js/7652.722b9180.chunk.js +1 -0
- package/build/static/js/8034.c4dcdeff.chunk.js +1 -0
- package/build/static/js/8058.0b2d4727.chunk.js +1 -0
- package/build/static/js/8213.09f25083.chunk.js +1 -0
- package/build/static/js/8235.add24931.chunk.js +1 -0
- package/build/static/js/8249.63c55b3a.chunk.js +1 -0
- package/build/static/js/8262.869cc799.chunk.js +1 -0
- package/build/static/js/8352.b57b0e44.chunk.js +1 -0
- package/build/static/js/8464.b4b82828.chunk.js +1 -0
- package/build/static/js/8606.66db67e2.chunk.js +1 -0
- package/build/static/js/9038.2908c176.chunk.js +1 -0
- package/build/static/js/9076.c77366bc.chunk.js +1 -0
- package/build/static/js/9301.a65db324.chunk.js +2 -0
- package/build/static/js/9301.a65db324.chunk.js.LICENSE.txt +8 -0
- package/build/static/js/9575.36f3de5b.chunk.js +2 -0
- package/build/static/js/9575.36f3de5b.chunk.js.LICENSE.txt +194 -0
- package/build/static/js/9779.bbf0dd81.chunk.js +1 -0
- package/build/static/js/main.cb5d8d67.js +2 -0
- package/build/static/js/main.cb5d8d67.js.LICENSE.txt +159 -0
- package/build/static/media/iconify.32b54549e843e448ee9b.cjs +2 -0
- package/build/static/media/iconify.32b54549e843e448ee9b.cjs.LICENSE.txt +13 -0
- package/build/static/media/lato-all-400-normal.3dc1eff492ab1f598560.woff +0 -0
- package/build/static/media/lato-all-700-normal.1e7707c9ec98d9b97e7f.woff +0 -0
- package/build/static/media/lato-latin-400-normal.be36596da218e1eec01c.woff2 +0 -0
- package/build/static/media/lato-latin-700-normal.8f28e0e1fdb195149f1c.woff2 +0 -0
- package/build/static/media/lato-latin-ext-400-normal.361f3dbb9db6a5980326.woff2 +0 -0
- package/build/static/media/lato-latin-ext-700-normal.9c8812eaec45956201e1.woff2 +0 -0
- package/build/static/media/logo.60f66bbe1ce9674a4df4e374c9d97fc4.svg +16 -0
- package/build/static/media/ubuntu-mono-all-400-normal.c879328bc62e9c68268f.woff +0 -0
- package/build/static/media/ubuntu-mono-cyrillic-400-normal.c367f416832eb8f1b846.woff2 +0 -0
- package/build/static/media/ubuntu-mono-cyrillic-ext-400-normal.eda1c4946b1f7bf58386.woff2 +0 -0
- package/build/static/media/ubuntu-mono-greek-400-normal.22f3bfc91f79c342bdf4.woff2 +0 -0
- package/build/static/media/ubuntu-mono-greek-ext-400-normal.b3459900ea8a25d1f7c2.woff2 +0 -0
- package/build/static/media/ubuntu-mono-latin-400-normal.18e32d9d743af28f913e.woff2 +0 -0
- package/build/static/media/ubuntu-mono-latin-ext-400-normal.b56e2315611d10838ad5.woff2 +0 -0
- package/package.json +1 -1
- package/api/gql/config.js +0 -392
- package/api/gql/index.js +0 -102
- package/api/gql/middlewares/create-audit-log.js +0 -3
- package/api/gql/middlewares/get-blocklet-list.js +0 -14
- package/api/gql/middlewares/install-blocklet.js +0 -13
- package/api/gql/middlewares/verify-blocklet.js +0 -21
- package/api/gql/middlewares/verify-team.js +0 -9
- package/api/index.js +0 -249
- package/api/libs/auth.js +0 -78
- package/api/libs/env.js +0 -3
- package/api/libs/login.js +0 -212
- package/api/libs/security.js +0 -90
- package/api/libs/storage.js +0 -69
- package/api/middlewares/mutate-blocklet-permission.js +0 -18
- package/api/routes/auth/accept-server.js +0 -28
- package/api/routes/auth/connect-owner.js +0 -143
- package/api/routes/auth/delegate-transfer-owner-nft.js +0 -86
- package/api/routes/auth/invite.js +0 -93
- package/api/routes/auth/issue-passport.js +0 -61
- package/api/routes/auth/launch-free-blocklet-by-nft.js +0 -9
- package/api/routes/auth/launch-free-blocklet.js +0 -9
- package/api/routes/auth/launch-paid-blocklet-by-nft.js +0 -9
- package/api/routes/auth/launch-paid-blocklet.js +0 -9
- package/api/routes/auth/login.js +0 -63
- package/api/routes/auth/lost-passport-issue.js +0 -5
- package/api/routes/auth/lost-passport-list.js +0 -5
- package/api/routes/auth/switch-passport.js +0 -47
- package/api/routes/auth/switch-profile.js +0 -69
- package/api/routes/auth/util.js +0 -135
- package/api/routes/auth/verify-owner.js +0 -39
- package/api/routes/auth/verify-purchase.js +0 -185
- package/api/routes/blocklet-info.js +0 -246
- package/api/routes/blocklet-preference.js +0 -161
- package/api/routes/blocklet-proxy.js +0 -220
- package/api/routes/did-resolver.js +0 -38
- package/api/routes/dns-resolver.js +0 -73
- package/api/routes/log.js +0 -31
- package/api/routes/passport.js +0 -19
- package/api/routes/session.js +0 -61
- package/api/routes/user.js +0 -38
- package/api/util/find-routing-rule.js +0 -95
- package/api/util/get-configs.js +0 -31
- package/api/util/index.js +0 -5
- package/api/util/navigation.js +0 -84
- package/api/webpack.blocklet.js +0 -43
- package/api/ws/index.js +0 -146
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
/*
|
|
2
|
+
object-assign
|
|
3
|
+
(c) Sindre Sorhus
|
|
4
|
+
@license MIT
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/*!
|
|
8
|
+
* EventEmitter v5.2.9 - git.io/ee
|
|
9
|
+
* Unlicense - http://unlicense.org/
|
|
10
|
+
* Oliver Caldwell - https://oli.me.uk/
|
|
11
|
+
* @preserve
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
/*!
|
|
15
|
+
* JavaScript Cookie v2.2.1
|
|
16
|
+
* https://github.com/js-cookie/js-cookie
|
|
17
|
+
*
|
|
18
|
+
* Copyright 2006, 2015 Klaus Hartl & Fagner Brack
|
|
19
|
+
* Released under the MIT license
|
|
20
|
+
*/
|
|
21
|
+
|
|
22
|
+
/*!
|
|
23
|
+
* The buffer module from node.js, for the browser.
|
|
24
|
+
*
|
|
25
|
+
* @author Feross Aboukhadijeh <https://feross.org>
|
|
26
|
+
* @license MIT
|
|
27
|
+
*/
|
|
28
|
+
|
|
29
|
+
/*!
|
|
30
|
+
2020 Jason Mulligan <jason.mulligan@avoidwork.com>
|
|
31
|
+
@version 6.4.0
|
|
32
|
+
*/
|
|
33
|
+
|
|
34
|
+
/*! https://mths.be/punycode v1.3.2 by @mathias */
|
|
35
|
+
|
|
36
|
+
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
37
|
+
|
|
38
|
+
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
39
|
+
|
|
40
|
+
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* @license React
|
|
44
|
+
* react-dom.production.min.js
|
|
45
|
+
*
|
|
46
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
47
|
+
*
|
|
48
|
+
* This source code is licensed under the MIT license found in the
|
|
49
|
+
* LICENSE file in the root directory of this source tree.
|
|
50
|
+
*/
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* @license React
|
|
54
|
+
* react-is.production.min.js
|
|
55
|
+
*
|
|
56
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
57
|
+
*
|
|
58
|
+
* This source code is licensed under the MIT license found in the
|
|
59
|
+
* LICENSE file in the root directory of this source tree.
|
|
60
|
+
*/
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* @license React
|
|
64
|
+
* react-jsx-runtime.production.min.js
|
|
65
|
+
*
|
|
66
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
67
|
+
*
|
|
68
|
+
* This source code is licensed under the MIT license found in the
|
|
69
|
+
* LICENSE file in the root directory of this source tree.
|
|
70
|
+
*/
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* @license React
|
|
74
|
+
* react.production.min.js
|
|
75
|
+
*
|
|
76
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
77
|
+
*
|
|
78
|
+
* This source code is licensed under the MIT license found in the
|
|
79
|
+
* LICENSE file in the root directory of this source tree.
|
|
80
|
+
*/
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* @license React
|
|
84
|
+
* scheduler.production.min.js
|
|
85
|
+
*
|
|
86
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
87
|
+
*
|
|
88
|
+
* This source code is licensed under the MIT license found in the
|
|
89
|
+
* LICENSE file in the root directory of this source tree.
|
|
90
|
+
*/
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* @remix-run/router v1.2.1
|
|
94
|
+
*
|
|
95
|
+
* Copyright (c) Remix Software Inc.
|
|
96
|
+
*
|
|
97
|
+
* This source code is licensed under the MIT license found in the
|
|
98
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
99
|
+
*
|
|
100
|
+
* @license MIT
|
|
101
|
+
*/
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* A better abstraction over CSS.
|
|
105
|
+
*
|
|
106
|
+
* @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present
|
|
107
|
+
* @website https://github.com/cssinjs/jss
|
|
108
|
+
* @license MIT
|
|
109
|
+
*/
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* React Router DOM v6.6.1
|
|
113
|
+
*
|
|
114
|
+
* Copyright (c) Remix Software Inc.
|
|
115
|
+
*
|
|
116
|
+
* This source code is licensed under the MIT license found in the
|
|
117
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
118
|
+
*
|
|
119
|
+
* @license MIT
|
|
120
|
+
*/
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* React Router v6.6.1
|
|
124
|
+
*
|
|
125
|
+
* Copyright (c) Remix Software Inc.
|
|
126
|
+
*
|
|
127
|
+
* This source code is licensed under the MIT license found in the
|
|
128
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
129
|
+
*
|
|
130
|
+
* @license MIT
|
|
131
|
+
*/
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* [js-sha3]{@link https://github.com/emn178/js-sha3}
|
|
135
|
+
*
|
|
136
|
+
* @version 0.8.0
|
|
137
|
+
* @author Chen, Yi-Cyuan [emn178@gmail.com]
|
|
138
|
+
* @copyright Chen, Yi-Cyuan 2015-2018
|
|
139
|
+
* @license MIT
|
|
140
|
+
*/
|
|
141
|
+
|
|
142
|
+
/** @license MUI v5.11.0
|
|
143
|
+
*
|
|
144
|
+
* This source code is licensed under the MIT license found in the
|
|
145
|
+
* LICENSE file in the root directory of this source tree.
|
|
146
|
+
*/
|
|
147
|
+
|
|
148
|
+
/** @license React v16.13.1
|
|
149
|
+
* react-is.production.min.js
|
|
150
|
+
*
|
|
151
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
152
|
+
*
|
|
153
|
+
* This source code is licensed under the MIT license found in the
|
|
154
|
+
* LICENSE file in the root directory of this source tree.
|
|
155
|
+
*/
|
|
156
|
+
|
|
157
|
+
//! moment.js
|
|
158
|
+
|
|
159
|
+
//! moment.js locale configuration
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see iconify.32b54549e843e448ee9b.cjs.LICENSE.txt */
|
|
2
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const matchName=/^[a-z0-9]+(-[a-z0-9]+)*$/,iconDefaults=Object.freeze({left:0,top:0,width:16,height:16,rotate:0,vFlip:!1,hFlip:!1});function fullIcon(e){return{...iconDefaults,...e}}function mergeIconData(e,t){const n={...e};for(const o in iconDefaults){const e=o;if(void 0!==t[e]){const o=t[e];if(void 0===n[e]){n[e]=o;continue}switch(e){case"rotate":n[e]=(n[e]+o)%4;break;case"hFlip":case"vFlip":n[e]=o!==n[e];break;default:n[e]=o}}}return n}function getIconData$1(e,t,n=!1){const o=function t(n,o){if(void 0!==e.icons[n])return Object.assign({},e.icons[n]);if(o>5)return null;const r=e.aliases;if(r&&void 0!==r[n]){const e=r[n],i=t(e.parent,o+1);return i?mergeIconData(i,e):i}const i=e.chars;return!o&&i&&void 0!==i[n]?t(i[n],o+1):null}(t,0);if(o)for(const r in iconDefaults)void 0===o[r]&&void 0!==e[r]&&(o[r]=e[r]);return o&&n?fullIcon(o):o}function isVariation(e){for(const t in iconDefaults)if(void 0!==e[t])return!0;return!1}function parseIconSet(e,t,n){n=n||{};const o=[];if("object"!==typeof e||"object"!==typeof e.icons)return o;e.not_found instanceof Array&&e.not_found.forEach((e=>{t(e,null),o.push(e)}));const r=e.icons;Object.keys(r).forEach((n=>{const r=getIconData$1(e,n,!0);r&&(t(n,r),o.push(n))}));const i=n.aliases||"all";if("none"!==i&&"object"===typeof e.aliases){const n=e.aliases;Object.keys(n).forEach((r=>{if("variations"===i&&isVariation(n[r]))return;const c=getIconData$1(e,r,!0);c&&(t(r,c),o.push(r))}))}return o}const optionalProperties={provider:"string",aliases:"object",not_found:"object"};for(const t in iconDefaults)optionalProperties[t]=typeof iconDefaults[t];function quicklyValidateIconSet(e){if("object"!==typeof e||null===e)return null;const t=e;if("string"!==typeof t.prefix||!e.icons||"object"!==typeof e.icons)return null;for(const r in optionalProperties)if(void 0!==e[r]&&typeof e[r]!==optionalProperties[r])return null;const n=t.icons;for(const r in n){const e=n[r];if(!r.match(matchName)||"string"!==typeof e.body)return null;for(const t in iconDefaults)if(void 0!==e[t]&&typeof e[t]!==typeof iconDefaults[t])return null}const o=t.aliases;if(o)for(const r in o){const e=o[r],t=e.parent;if(!r.match(matchName)||"string"!==typeof t||!n[t]&&!o[t])return null;for(const n in iconDefaults)if(void 0!==e[n]&&typeof e[n]!==typeof iconDefaults[n])return null}return t}const stringToIcon=(e,t,n,o="")=>{const r=e.split(":");if("@"===e.slice(0,1)){if(r.length<2||r.length>3)return null;o=r.shift().slice(1)}if(r.length>3||!r.length)return null;if(r.length>1){const e=r.pop(),n=r.pop(),i={provider:r.length>0?r[0]:o,prefix:n,name:e};return t&&!validateIcon(i)?null:i}const i=r[0],c=i.split("-");if(c.length>1){const e={provider:o,prefix:c.shift(),name:c.join("-")};return t&&!validateIcon(e)?null:e}if(n&&""===o){const e={provider:o,prefix:"",name:i};return t&&!validateIcon(e,n)?null:e}return null},validateIcon=(e,t)=>!!e&&!(""!==e.provider&&!e.provider.match(matchName)||!(t&&""===e.prefix||e.prefix.match(matchName))||!e.name.match(matchName)),storageVersion=1;let storage$1=Object.create(null);try{const e=window||self;e&&1===e._iconifyStorage.version&&(storage$1=e._iconifyStorage.storage)}catch(err){}function shareStorage(){try{const e=window||self;e&&!e._iconifyStorage&&(e._iconifyStorage={version:1,storage:storage$1})}catch(err){}}function newStorage(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:Object.create(null)}}function getStorage(e,t){void 0===storage$1[e]&&(storage$1[e]=Object.create(null));const n=storage$1[e];return void 0===n[t]&&(n[t]=newStorage(e,t)),n[t]}function addIconSet(e,t){if(!quicklyValidateIconSet(t))return[];const n=Date.now();return parseIconSet(t,((t,o)=>{o?e.icons[t]=o:e.missing[t]=n}))}function addIconToStorage(e,t,n){try{if("string"===typeof n.body)return e.icons[t]=Object.freeze(fullIcon(n)),!0}catch(err){}return!1}function getIconFromStorage(e,t){const n=e.icons[t];return void 0===n?null:n}function listIcons(e,t){let n,o=[];return n="string"===typeof e?[e]:Object.keys(storage$1),n.forEach((e=>{let n;n="string"===typeof e&&"string"===typeof t?[t]:void 0===storage$1[e]?[]:Object.keys(storage$1[e]),n.forEach((t=>{const n=getStorage(e,t),r=Object.keys(n.icons).map((n=>(""!==e?"@"+e+":":"")+t+":"+n));o=o.concat(r)}))})),o}let simpleNames=!1;function allowSimpleNames(e){return"boolean"===typeof e&&(simpleNames=e),simpleNames}function getIconData(e){const t="string"===typeof e?stringToIcon(e,!0,simpleNames):e;return t?getIconFromStorage(getStorage(t.provider,t.prefix),t.name):null}function addIcon(e,t){const n=stringToIcon(e,!0,simpleNames);if(!n)return!1;return addIconToStorage(getStorage(n.provider,n.prefix),n.name,t)}function addCollection(e,t){if("object"!==typeof e)return!1;if("string"!==typeof t&&(t="string"===typeof e.provider?e.provider:""),simpleNames&&""===t&&("string"!==typeof e.prefix||""===e.prefix)){let t=!1;return quicklyValidateIconSet(e)&&(e.prefix="",parseIconSet(e,((e,n)=>{n&&addIcon(e,n)&&(t=!0)}))),t}if("string"!==typeof e.prefix||!validateIcon({provider:t,prefix:e.prefix,name:"a"}))return!1;return!!addIconSet(getStorage(t,e.prefix),e)}function iconExists(e){return null!==getIconData(e)}function getIcon(e){const t=getIconData(e);return t?{...t}:null}const defaults=Object.freeze({inline:!1,width:null,height:null,hAlign:"center",vAlign:"middle",slice:!1,hFlip:!1,vFlip:!1,rotate:0});function mergeCustomisations(e,t){const n={};for(const o in e){const r=o;if(n[r]=e[r],void 0===t[r])continue;const i=t[r];switch(r){case"inline":case"slice":"boolean"===typeof i&&(n[r]=i);break;case"hFlip":case"vFlip":!0===i&&(n[r]=!n[r]);break;case"hAlign":case"vAlign":"string"===typeof i&&""!==i&&(n[r]=i);break;case"width":case"height":("string"===typeof i&&""!==i||"number"===typeof i&&i||null===i)&&(n[r]=i);break;case"rotate":"number"===typeof i&&(n[r]+=i)}}return n}const unitsSplit=/(-?[0-9.]*[0-9]+[0-9.]*)/g,unitsTest=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function calculateSize(e,t,n){if(1===t)return e;if(n=void 0===n?100:n,"number"===typeof e)return Math.ceil(e*t*n)/n;if("string"!==typeof e)return e;const o=e.split(unitsSplit);if(null===o||!o.length)return e;const r=[];let i=o.shift(),c=unitsTest.test(i);for(;;){if(c){const e=parseFloat(i);isNaN(e)?r.push(i):r.push(Math.ceil(e*t*n)/n)}else r.push(i);if(i=o.shift(),void 0===i)return r.join("");c=!c}}function preserveAspectRatio(e){let t="";switch(e.hAlign){case"left":t+="xMin";break;case"right":t+="xMax";break;default:t+="xMid"}switch(e.vAlign){case"top":t+="YMin";break;case"bottom":t+="YMax";break;default:t+="YMid"}return t+=e.slice?" slice":" meet",t}function iconToSVG(e,t){const n={left:e.left,top:e.top,width:e.width,height:e.height};let o,r,i=e.body;[e,t].forEach((e=>{const t=[],o=e.hFlip,r=e.vFlip;let c,s=e.rotate;switch(o?r?s+=2:(t.push("translate("+(n.width+n.left).toString()+" "+(0-n.top).toString()+")"),t.push("scale(-1 1)"),n.top=n.left=0):r&&(t.push("translate("+(0-n.left).toString()+" "+(n.height+n.top).toString()+")"),t.push("scale(1 -1)"),n.top=n.left=0),s<0&&(s-=4*Math.floor(s/4)),s%=4,s){case 1:c=n.height/2+n.top,t.unshift("rotate(90 "+c.toString()+" "+c.toString()+")");break;case 2:t.unshift("rotate(180 "+(n.width/2+n.left).toString()+" "+(n.height/2+n.top).toString()+")");break;case 3:c=n.width/2+n.left,t.unshift("rotate(-90 "+c.toString()+" "+c.toString()+")")}s%2===1&&(0===n.left&&0===n.top||(c=n.left,n.left=n.top,n.top=c),n.width!==n.height&&(c=n.width,n.width=n.height,n.height=c)),t.length&&(i='<g transform="'+t.join(" ")+'">'+i+"</g>")})),null===t.width&&null===t.height?(r="1em",o=calculateSize(r,n.width/n.height)):null!==t.width&&null!==t.height?(o=t.width,r=t.height):null!==t.height?(r=t.height,o=calculateSize(r,n.width/n.height)):(o=t.width,r=calculateSize(o,n.height/n.width)),"auto"===o&&(o=n.width),"auto"===r&&(r=n.height),o="string"===typeof o?o:o.toString()+"",r="string"===typeof r?r:r.toString()+"";const c={attributes:{width:o,height:r,preserveAspectRatio:preserveAspectRatio(t),viewBox:n.left.toString()+" "+n.top.toString()+" "+n.width.toString()+" "+n.height.toString()},body:i};return t.inline&&(c.inline=!0),c}function buildIcon(e,t){return iconToSVG(fullIcon(e),t?mergeCustomisations(defaults,t):defaults)}const regex=/\sid="(\S+)"/g,randomPrefix="IconifyId"+Date.now().toString(16)+(16777216*Math.random()|0).toString(16);let counter=0;function replaceIDs(e,t=randomPrefix){const n=[];let o;for(;o=regex.exec(e);)n.push(o[1]);return n.length?(n.forEach((n=>{const o="function"===typeof t?t(n):t+(counter++).toString(),r=n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+r+')([")]|\\.[a-z])',"g"),"$1"+o+"$3")})),e):e}const cacheVersion="iconify2",cachePrefix="iconify",countKey="iconify-count",versionKey="iconify-version",hour=36e5,cacheExpiration=168,config={local:!0,session:!0};let loaded=!1;const count={local:0,session:0},emptyList={local:[],session:[]};let _window="undefined"===typeof window?{}:window;function getGlobal(e){const t=e+"Storage";try{if(_window&&_window[t]&&"number"===typeof _window[t].length)return _window[t]}catch(err){}return config[e]=!1,null}function setCount(e,t,n){try{return e.setItem(countKey,n.toString()),count[t]=n,!0}catch(err){return!1}}function getCount(e){const t=e.getItem(countKey);if(t){const e=parseInt(t);return e||0}return 0}function initCache(e,t){try{e.setItem(versionKey,"iconify2")}catch(err){}setCount(e,t,0)}function destroyCache(e){try{const t=getCount(e);for(let n=0;n<t;n++)e.removeItem("iconify"+n.toString())}catch(err){}}const loadCache=()=>{if(loaded)return;loaded=!0;const e=Math.floor(Date.now()/hour)-168;function t(t){const n=getGlobal(t);if(!n)return;const o=t=>{const o="iconify"+t.toString(),r=n.getItem(o);if("string"!==typeof r)return!1;let i=!0;try{const t=JSON.parse(r);if("object"!==typeof t||"number"!==typeof t.cached||t.cached<e||"string"!==typeof t.provider||"object"!==typeof t.data||"string"!==typeof t.data.prefix)i=!1;else{const e=t.provider,n=t.data.prefix;i=addIconSet(getStorage(e,n),t.data).length>0}}catch(err){i=!1}return i||n.removeItem(o),i};try{const e=n.getItem(versionKey);if("iconify2"!==e)return e&&destroyCache(n),void initCache(n,t);let r=getCount(n);for(let n=r-1;n>=0;n--)o(n)||(n===r-1?r--:emptyList[t].push(n));setCount(n,t,r)}catch(err){}}for(const n in config)t(n)},storeCache=(e,t)=>{function n(n){if(!config[n])return!1;const o=getGlobal(n);if(!o)return!1;let r=emptyList[n].shift();if(void 0===r&&(r=count[n],!setCount(o,n,r+1)))return!1;try{const n={cached:Math.floor(Date.now()/hour),provider:e,data:t};o.setItem("iconify"+r.toString(),JSON.stringify(n))}catch(err){return!1}return!0}loaded||loadCache(),Object.keys(t.icons).length&&(t.not_found&&delete(t=Object.assign({},t)).not_found,n("local")||n("session"))},cache={};function toggleBrowserCache(e,t){switch(e){case"local":case"session":config[e]=t;break;case"all":for(const e in config)config[e]=t}}const storage=Object.create(null);function setAPIModule(e,t){storage[e]=t}function getAPIModule(e){return storage[e]||storage[""]}function createAPIConfig(e){let t;if("string"===typeof e.resources)t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:void 0===e.path?"/":e.path,maxURL:e.maxURL?e.maxURL:500,rotate:e.rotate?e.rotate:750,timeout:e.timeout?e.timeout:5e3,random:!0===e.random,index:e.index?e.index:0,dataAfterTimeout:!1!==e.dataAfterTimeout}}const configStorage=Object.create(null),fallBackAPISources=["https://api.simplesvg.com","https://api.unisvg.com"],fallBackAPI=[];for(;fallBackAPISources.length>0;)1===fallBackAPISources.length||Math.random()>.5?fallBackAPI.push(fallBackAPISources.shift()):fallBackAPI.push(fallBackAPISources.pop());function addAPIProvider(e,t){const n=createAPIConfig(t);return null!==n&&(configStorage[e]=n,!0)}function getAPIConfig(e){return configStorage[e]}function listAPIProviders(){return Object.keys(configStorage)}configStorage[""]=createAPIConfig({resources:["https://api.iconify.design"].concat(fallBackAPI)});const mergeParams=(e,t)=>{let n=e,o=-1!==n.indexOf("?");return Object.keys(t).forEach((e=>{let r;try{r=function(e){switch(typeof e){case"boolean":return e?"true":"false";case"number":case"string":return encodeURIComponent(e);default:throw new Error("Invalid parameter")}}(t[e])}catch(err){return}n+=(o?"&":"?")+encodeURIComponent(e)+"="+r,o=!0})),n},maxLengthCache={},pathCache={},detectFetch=()=>{let e;try{if(e=fetch,"function"===typeof e)return e}catch(err){}return null};let fetchModule=detectFetch();function setFetch(e){fetchModule=e}function getFetch(){return fetchModule}function calculateMaxLength(e,t){const n=getAPIConfig(e);if(!n)return 0;let o;if(n.maxURL){let e=0;n.resources.forEach((t=>{const n=t;e=Math.max(e,n.length)}));const r=mergeParams(t+".json",{icons:""});o=n.maxURL-e-n.path.length-r.length}else o=0;const r=e+":"+t;return pathCache[e]=n.path,maxLengthCache[r]=o,o}function shouldAbort(e){return 404===e}const prepare=(e,t,n)=>{const o=[];let r=maxLengthCache[t];void 0===r&&(r=calculateMaxLength(e,t));const i="icons";let c={type:i,provider:e,prefix:t,icons:[]},s=0;return n.forEach(((n,a)=>{s+=n.length+1,s>=r&&a>0&&(o.push(c),c={type:i,provider:e,prefix:t,icons:[]},s=n.length),c.icons.push(n)})),o.push(c),o};function getPath(e){if("string"===typeof e){if(void 0===pathCache[e]){const t=getAPIConfig(e);if(!t)return"/";pathCache[e]=t.path}return pathCache[e]}return"/"}const send=(e,t,n)=>{if(!fetchModule)return void n("abort",424);let o=getPath(t.provider);switch(t.type){case"icons":{const e=t.prefix,n=t.icons.join(",");o+=mergeParams(e+".json",{icons:n});break}case"custom":{const e=t.uri;o+="/"===e.slice(0,1)?e.slice(1):e;break}default:return void n("abort",400)}let r=503;fetchModule(e+o).then((e=>{const t=e.status;if(200===t)return r=501,e.json();setTimeout((()=>{n(shouldAbort(t)?"abort":"next",t)}))})).then((e=>{"object"===typeof e&&null!==e?setTimeout((()=>{n("success",e)})):setTimeout((()=>{n("next",r)}))})).catch((()=>{n("next",r)}))},fetchAPIModule={prepare:prepare,send:send};function sortIcons(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort(((e,t)=>e.provider!==t.provider?e.provider.localeCompare(t.provider):e.prefix!==t.prefix?e.prefix.localeCompare(t.prefix):e.name.localeCompare(t.name)));let o={provider:"",prefix:"",name:""};return e.forEach((e=>{if(o.name===e.name&&o.prefix===e.prefix&&o.provider===e.provider)return;o=e;const r=e.provider,i=e.prefix,c=e.name;void 0===n[r]&&(n[r]=Object.create(null));const s=n[r];void 0===s[i]&&(s[i]=getStorage(r,i));const a=s[i];let l;l=void 0!==a.icons[c]?t.loaded:""===i||void 0!==a.missing[c]?t.missing:t.pending;const u={provider:r,prefix:i,name:c};l.push(u)})),t}const callbacks=Object.create(null),pendingUpdates=Object.create(null);function removeCallback(e,t){e.forEach((e=>{const n=e.provider;if(void 0===callbacks[n])return;const o=callbacks[n],r=e.prefix,i=o[r];i&&(o[r]=i.filter((e=>e.id!==t)))}))}function updateCallbacks(e,t){void 0===pendingUpdates[e]&&(pendingUpdates[e]=Object.create(null));const n=pendingUpdates[e];n[t]||(n[t]=!0,setTimeout((()=>{if(n[t]=!1,void 0===callbacks[e]||void 0===callbacks[e][t])return;const o=callbacks[e][t].slice(0);if(!o.length)return;const r=getStorage(e,t);let i=!1;o.forEach((n=>{const o=n.icons,c=o.pending.length;o.pending=o.pending.filter((n=>{if(n.prefix!==t)return!0;const c=n.name;if(void 0!==r.icons[c])o.loaded.push({provider:e,prefix:t,name:c});else{if(void 0===r.missing[c])return i=!0,!0;o.missing.push({provider:e,prefix:t,name:c})}return!1})),o.pending.length!==c&&(i||removeCallback([{provider:e,prefix:t}],n.id),n.callback(o.loaded.slice(0),o.missing.slice(0),o.pending.slice(0),n.abort))}))})))}let idCounter=0;function storeCallback(e,t,n){const o=idCounter++,r=removeCallback.bind(null,n,o);if(!t.pending.length)return r;const i={id:o,icons:t,callback:e,abort:r};return n.forEach((e=>{const t=e.provider,n=e.prefix;void 0===callbacks[t]&&(callbacks[t]=Object.create(null));const o=callbacks[t];void 0===o[n]&&(o[n]=[]),o[n].push(i)})),r}function listToIcons(e,t=!0,n=!1){const o=[];return e.forEach((e=>{const r="string"===typeof e?stringToIcon(e,!1,n):e;t&&!validateIcon(r,n)||o.push({provider:r.provider,prefix:r.prefix,name:r.name})})),o}var defaultConfig={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function sendQuery(e,t,n,o){const r=e.resources.length,i=e.random?Math.floor(Math.random()*r):e.index;let c;if(e.random){let t=e.resources.slice(0);for(c=[];t.length>1;){const e=Math.floor(Math.random()*t.length);c.push(t[e]),t=t.slice(0,e).concat(t.slice(e+1))}c=c.concat(t)}else c=e.resources.slice(i).concat(e.resources.slice(0,i));const s=Date.now();let a,l="pending",u=0,d=null,f=[],p=[];function g(){d&&(clearTimeout(d),d=null)}function h(){"pending"===l&&(l="aborted"),g(),f.forEach((e=>{"pending"===e.status&&(e.status="aborted")})),f=[]}function m(e,t){t&&(p=[]),"function"===typeof e&&p.push(e)}function b(){l="failed",p.forEach((e=>{e(void 0,a)}))}function v(){f.forEach((e=>{"pending"===e.status&&(e.status="aborted")})),f=[]}function y(){if("pending"!==l)return;g();const o=c.shift();if(void 0===o)return f.length?void(d=setTimeout((()=>{g(),"pending"===l&&(v(),b())}),e.timeout)):void b();const r={status:"pending",resource:o,callback:(t,n)=>{!function(t,n,o){const r="success"!==n;switch(f=f.filter((e=>e!==t)),l){case"pending":break;case"failed":if(r||!e.dataAfterTimeout)return;break;default:return}if("abort"===n)return a=o,void b();if(r)return a=o,void(f.length||(c.length?y():b()));if(g(),v(),!e.random){const n=e.resources.indexOf(t.resource);-1!==n&&n!==e.index&&(e.index=n)}l="completed",p.forEach((e=>{e(o)}))}(r,t,n)}};f.push(r),u++,d=setTimeout(y,e.rotate),n(o,t,r.callback)}return"function"===typeof o&&p.push(o),setTimeout(y),function(){return{startTime:s,payload:t,status:l,queriesSent:u,queriesPending:f.length,subscribe:m,abort:h}}}function setConfig(e){if("object"!==typeof e||"object"!==typeof e.resources||!(e.resources instanceof Array)||!e.resources.length)throw new Error("Invalid Reduncancy configuration");const t=Object.create(null);let n;for(n in defaultConfig)void 0!==e[n]?t[n]=e[n]:t[n]=defaultConfig[n];return t}function initRedundancy(e){const t=setConfig(e);let n=[];function o(){n=n.filter((e=>"pending"===e().status))}const r={query:function(e,r,i){const c=sendQuery(t,e,r,((e,t)=>{o(),i&&i(e,t)}));return n.push(c),c},find:function(e){const t=n.find((t=>e(t)));return void 0!==t?t:null},setIndex:e=>{t.index=e},getIndex:()=>t.index,cleanup:o};return r}function emptyCallback$1(){}const redundancyCache=Object.create(null);function getRedundancyCache(e){if(void 0===redundancyCache[e]){const t=getAPIConfig(e);if(!t)return;const n={config:t,redundancy:initRedundancy(t)};redundancyCache[e]=n}return redundancyCache[e]}function sendAPIQuery(e,t,n){let o,r;if("string"===typeof e){const t=getAPIModule(e);if(!t)return n(void 0,424),emptyCallback$1;r=t.send;const i=getRedundancyCache(e);i&&(o=i.redundancy)}else{const t=createAPIConfig(e);if(t){o=initRedundancy(t);const n=getAPIModule(e.resources?e.resources[0]:"");n&&(r=n.send)}}return o&&r?o.query(t,r,n)().abort:(n(void 0,424),emptyCallback$1)}function emptyCallback(){}const pendingIcons=Object.create(null),iconsToLoad=Object.create(null),loaderFlags=Object.create(null),queueFlags=Object.create(null);function loadedNewIcons(e,t){void 0===loaderFlags[e]&&(loaderFlags[e]=Object.create(null));const n=loaderFlags[e];n[t]||(n[t]=!0,setTimeout((()=>{n[t]=!1,updateCallbacks(e,t)})))}const errorsCache=Object.create(null);function loadNewIcons(e,t,n){void 0===iconsToLoad[e]&&(iconsToLoad[e]=Object.create(null));const o=iconsToLoad[e];void 0===queueFlags[e]&&(queueFlags[e]=Object.create(null));const r=queueFlags[e];void 0===pendingIcons[e]&&(pendingIcons[e]=Object.create(null));const i=pendingIcons[e];void 0===o[t]?o[t]=n:o[t]=o[t].concat(n).sort(),r[t]||(r[t]=!0,setTimeout((()=>{r[t]=!1;const n=o[t];delete o[t];const c=getAPIModule(e);if(!c)return void function(){const n=(""===e?"":"@"+e+":")+t,o=Math.floor(Date.now()/6e4);errorsCache[n]<o&&(errorsCache[n]=o,console.error('Unable to retrieve icons for "'+n+'" because API is not configured properly.'))}();c.prepare(e,t,n).forEach((n=>{sendAPIQuery(e,n,((o,r)=>{const c=getStorage(e,t);if("object"!==typeof o){if(404!==r)return;const e=Date.now();n.icons.forEach((t=>{c.missing[t]=e}))}else try{const n=addIconSet(c,o);if(!n.length)return;const r=i[t];n.forEach((e=>{delete r[e]})),cache.store&&cache.store(e,o)}catch(s){console.error(s)}loadedNewIcons(e,t)}))}))})))}const isPending=e=>{const t=e.provider,n=e.prefix;return pendingIcons[t]&&pendingIcons[t][n]&&void 0!==pendingIcons[t][n][e.name]},loadIcons=(e,t)=>{const n=sortIcons(listToIcons(e,!0,allowSimpleNames()));if(!n.pending.length){let e=!0;return t&&setTimeout((()=>{e&&t(n.loaded,n.missing,n.pending,emptyCallback)})),()=>{e=!1}}const o=Object.create(null),r=[];let i,c;n.pending.forEach((e=>{const t=e.provider,n=e.prefix;if(n===c&&t===i)return;i=t,c=n,r.push({provider:t,prefix:n}),void 0===pendingIcons[t]&&(pendingIcons[t]=Object.create(null));const s=pendingIcons[t];void 0===s[n]&&(s[n]=Object.create(null)),void 0===o[t]&&(o[t]=Object.create(null));const a=o[t];void 0===a[n]&&(a[n]=[])}));const s=Date.now();return n.pending.forEach((e=>{const t=e.provider,n=e.prefix,r=e.name,i=pendingIcons[t][n];void 0===i[r]&&(i[r]=s,o[t][n].push(r))})),r.forEach((e=>{const t=e.provider,n=e.prefix;o[t][n].length&&loadNewIcons(t,n,o[t][n])})),t?storeCallback(t,n,r):emptyCallback},loadIcon=e=>new Promise(((t,n)=>{const o="string"===typeof e?stringToIcon(e):e;loadIcons([o||e],(r=>{if(r.length&&o){const e=getIconFromStorage(getStorage(o.provider,o.prefix),o.name);if(e)return void t(e)}n(e)}))})),elementFinderProperty="iconifyFinder"+Date.now(),elementDataProperty="iconifyData"+Date.now();function renderIconInPlaceholder(e,t,n,o){let r;try{r=document.createElement("span")}catch(err){return o?"":null}const i=iconToSVG(n,mergeCustomisations(defaults,t)),c=e.element,s=e.finder,a=e.name,l=c?c.getAttribute("class"):"",u=s?s.classFilter(l?l.split(/\s+/):[]):[],d='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="'+("iconify iconify--"+a.prefix+(""===a.provider?"":" iconify--"+a.provider)+(u.length?" "+u.join(" "):""))+'">'+replaceIDs(i.body)+"</svg>";r.innerHTML=d;const f=r.childNodes[0],p=f.style,g=i.attributes;if(Object.keys(g).forEach((e=>{f.setAttribute(e,g[e])})),i.inline&&(p.verticalAlign="-0.125em"),c){const e=c.attributes;for(let n=0;n<e.length;n++){const t=e.item(n);if(t){const e=t.name;if("class"!==e&&"style"!==e&&void 0===g[e])try{f.setAttribute(e,t.value)}catch(err){}}}const t=c.style;for(let n=0;n<t.length;n++){const e=t[n];p[e]=t[e]}}if(s){const e={name:a,status:"loaded",customisations:t};f[elementDataProperty]=e,f[elementFinderProperty]=s}const h=o?r.innerHTML:f;return c&&c.parentNode?c.parentNode.replaceChild(f,c):r.removeChild(f),h}let nodes=[];function findRootNode(e){for(let t=0;t<nodes.length;t++){const n=nodes[t];if(("function"===typeof n.node?n.node():n.node)===e)return n}}function addRootNode(e,t=!1){let n=findRootNode(e);return n?(n.temporary&&(n.temporary=t),n):(n={node:e,temporary:t},nodes.push(n),n)}function addBodyNode(){if(document.documentElement)return addRootNode(document.documentElement);nodes.push({node:()=>document.documentElement})}function removeRootNode(e){nodes=nodes.filter((t=>{const n="function"===typeof t.node?t.node():t.node;return e!==n}))}function listRootNodes(){return nodes}function onReady(e){const t=document;"complete"===t.readyState||"loading"!==t.readyState&&!t.documentElement.doScroll?e():(t.addEventListener("DOMContentLoaded",e),window.addEventListener("load",e))}let callback=null;const observerParams={childList:!0,subtree:!0,attributes:!0};function queueScan(e){if(!e.observer)return;const t=e.observer;t.pendingScan||(t.pendingScan=setTimeout((()=>{delete t.pendingScan,callback&&callback(e)})))}function checkMutations(e,t){if(!e.observer)return;const n=e.observer;if(!n.pendingScan)for(let o=0;o<t.length;o++){const r=t[o];if(r.addedNodes&&r.addedNodes.length>0||"attributes"===r.type&&void 0!==r.target[elementFinderProperty])return void(n.paused||queueScan(e))}}function continueObserving(e,t){e.observer.instance.observe(t,observerParams)}function startObserver(e){let t=e.observer;if(t&&t.instance)return;const n="function"===typeof e.node?e.node():e.node;n&&(t||(t={paused:0},e.observer=t),t.instance=new MutationObserver(checkMutations.bind(null,e)),continueObserving(e,n),t.paused||queueScan(e))}function startObservers(){listRootNodes().forEach(startObserver)}function stopObserver(e){if(!e.observer)return;const t=e.observer;t.pendingScan&&(clearTimeout(t.pendingScan),delete t.pendingScan),t.instance&&(t.instance.disconnect(),delete t.instance)}function initObserver(e){const t=null!==callback;callback!==e&&(callback=e,t&&listRootNodes().forEach(stopObserver)),t?startObservers():onReady(startObservers)}function pauseObservingNode(e){(e?[e]:listRootNodes()).forEach((e=>{if(!e.observer)return void(e.observer={paused:1});const t=e.observer;if(t.paused++,t.paused>1||!t.instance)return;t.instance.disconnect()}))}function pauseObserver(e){if(e){const t=findRootNode(e);t&&pauseObservingNode(t)}else pauseObservingNode()}function resumeObservingNode(e){(e?[e]:listRootNodes()).forEach((e=>{if(!e.observer)return void startObserver(e);const t=e.observer;if(t.paused&&(t.paused--,!t.paused)){const n="function"===typeof e.node?e.node():e.node;if(!n)return;t.instance?continueObserving(e,n):startObserver(e)}}))}function resumeObserver(e){if(e){const t=findRootNode(e);t&&resumeObservingNode(t)}else resumeObservingNode()}function observe(e,t=!1){const n=addRootNode(e,t);return startObserver(n),n}function stopObserving(e){const t=findRootNode(e);t&&(stopObserver(t),removeRootNode(e))}const finders=[];function addFinder(e){-1===finders.indexOf(e)&&finders.push(e)}function cleanIconName(e){return"string"===typeof e&&(e=stringToIcon(e)),null!==e&&validateIcon(e)?e:null}function compareCustomisations(e,t){const n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(let r=0;r<n.length;r++){const o=n[r];if(t[o]!==e[o])return!1}return!0}function findPlaceholders(e){const t=[];finders.forEach((n=>{const o=n.find(e);Array.prototype.forEach.call(o,(e=>{const o=e;if(void 0!==o[elementFinderProperty]&&o[elementFinderProperty]!==n)return;const r=cleanIconName(n.name(o));if(null===r)return;o[elementFinderProperty]=n;const i={element:o,finder:n,name:r};t.push(i)}))}));const n=e.querySelectorAll("svg.iconify");return Array.prototype.forEach.call(n,(e=>{const n=e,o=n[elementFinderProperty],r=n[elementDataProperty];if(!o||!r)return;const i=cleanIconName(o.name(n));if(null===i)return;let c,s=!1;if(i.prefix!==r.name.prefix||i.name!==r.name.name?s=!0:(c=o.customisations(n),compareCustomisations(r.customisations,c)||(s=!0)),s){const e={element:n,finder:o,name:i,customisations:c};t.push(e)}})),t}let scanQueued=!1;function checkPendingIcons(){scanQueued||(scanQueued=!0,setTimeout((()=>{scanQueued&&(scanQueued=!1,scanDOM())})))}const compareIcons=(e,t)=>null!==e&&null!==t&&e.name===t.name&&e.prefix===t.prefix;function scanElement(e){const t=findRootNode(e);t?scanDOM(t):scanDOM({node:e,temporary:!0},!0)}function scanDOM(e,t=!1){scanQueued=!1;const n=Object.create(null);(e?[e]:listRootNodes()).forEach((e=>{const o="function"===typeof e.node?e.node():e.node;if(!o||!o.querySelectorAll)return;let r=!1,i=!1;findPlaceholders(o).forEach((t=>{const o=t.element,c=t.name,s=c.provider,a=c.prefix,l=c.name;let u=o[elementDataProperty];if(void 0!==u&&(d=u.name,f=c,null!==d&&null!==f&&d.name===f.name&&d.prefix===f.prefix))switch(u.status){case"missing":return;case"loading":if(isPending({provider:s,prefix:a,name:l}))return void(r=!0)}var d,f;const p=getStorage(s,a);if(void 0===p.icons[l]){if(p.missing[l])return u={name:c,status:"missing",customisations:{}},void(o[elementDataProperty]=u);if(!isPending({provider:s,prefix:a,name:l})){void 0===n[s]&&(n[s]=Object.create(null));const e=n[s];void 0===e[a]&&(e[a]=Object.create(null)),e[a][l]=!0}u={name:c,status:"loading",customisations:{}},o[elementDataProperty]=u,r=!0}else{!i&&e.observer&&(pauseObservingNode(e),i=!0);const n=void 0!==t.customisations?t.customisations:t.finder.customisations(o);renderIconInPlaceholder(t,n,getIconFromStorage(p,l))}})),e.temporary&&!r?stopObserving(o):t&&r?observe(o,!0):i&&e.observer&&resumeObservingNode(e)})),Object.keys(n).forEach((e=>{const t=n[e];Object.keys(t).forEach((n=>{loadIcons(Object.keys(t[n]).map((t=>({provider:e,prefix:n,name:t}))),checkPendingIcons)}))}))}function rotateFromString(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function o(e){for(;e<0;)e+=4;return e%4}if(""===n){const t=parseInt(e);return isNaN(t)?0:o(t)}if(n!==e){let t=0;switch(n){case"%":t=25;break;case"deg":t=90}if(t){let r=parseFloat(e.slice(0,e.length-n.length));return isNaN(r)?0:(r/=t,r%1===0?o(r):0)}}return t}const separator=/[\s,]+/;function flipFromString(e,t){t.split(separator).forEach((t=>{switch(t.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0}}))}function alignmentFromString(e,t){t.split(separator).forEach((t=>{const n=t.trim();switch(n){case"left":case"center":case"right":e.hAlign=n;break;case"top":case"middle":case"bottom":e.vAlign=n;break;case"slice":case"crop":e.slice=!0;break;case"meet":e.slice=!1}}))}function hasAttribute(e,t){return e.hasAttribute(t)}function getAttribute(e,t){return e.getAttribute(t)}function getBooleanAttribute(e,t){const n=e.getAttribute(t);return n===t||"true"===n||""!==n&&"false"!==n&&null}const booleanAttributes=["inline","hFlip","vFlip"],stringAttributes=["width","height"],mainClass="iconify",inlineClass="iconify-inline",selector="i.iconify, span.iconify, i.iconify-inline, span."+inlineClass,finder={find:e=>e.querySelectorAll(selector),name:e=>hasAttribute(e,"data-icon")?getAttribute(e,"data-icon"):null,customisations:(e,t={inline:!1})=>{const n=t,o=e.getAttribute("class");if(-1!==(o?o.split(/\s+/):[]).indexOf(inlineClass)&&(n.inline=!0),hasAttribute(e,"data-rotate")){const t=rotateFromString(getAttribute(e,"data-rotate"));t&&(n.rotate=t)}return hasAttribute(e,"data-flip")&&flipFromString(n,getAttribute(e,"data-flip")),hasAttribute(e,"data-align")&&alignmentFromString(n,getAttribute(e,"data-align")),booleanAttributes.forEach((t=>{if(hasAttribute(e,"data-"+t)){const o=getBooleanAttribute(e,"data-"+t);"boolean"===typeof o&&(n[t]=o)}})),stringAttributes.forEach((t=>{if(hasAttribute(e,"data-"+t)){const o=getAttribute(e,"data-"+t);""!==o&&(n[t]=o)}})),n},classFilter:e=>{const t=[];return e.forEach((e=>{"iconify"!==e&&""!==e&&"iconify--"!==e.slice(0,9)&&t.push(e)})),t}};function generateIcon(e,t,n){const o=getIconData(e);if(!o)return null;return renderIconInPlaceholder({name:stringToIcon(e)},mergeCustomisations(defaults,"object"===typeof t?t:{}),o,n)}function getVersion(){return"2.2.1"}function renderSVG(e,t){return generateIcon(e,t,!1)}function renderHTML(e,t){return generateIcon(e,t,!0)}function renderIcon(e,t){const n=getIconData(e);if(!n)return null;return iconToSVG(n,mergeCustomisations(defaults,"object"===typeof t?t:{}))}function scan(e){e?scanElement(e):scanDOM()}if("undefined"!==typeof document&&"undefined"!==typeof window){addBodyNode(),addFinder(finder);const e=window;if(void 0!==e.IconifyPreload){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";"object"===typeof t&&null!==t&&(t instanceof Array?t:[t]).forEach((e=>{try{("object"!==typeof e||null===e||e instanceof Array||"object"!==typeof e.icons||"string"!==typeof e.prefix||!addCollection(e))&&console.error(n)}catch(t){console.error(n)}}))}setTimeout((()=>{initObserver(scanDOM),scanDOM()}))}function enableCache(e,t){toggleBrowserCache(e,!1!==t)}function disableCache(e){toggleBrowserCache(e,!0)}if(setAPIModule("",fetchAPIModule),"undefined"!==typeof document&&"undefined"!==typeof window){cache.store=storeCache,loadCache();const t=window;if(void 0!==t.IconifyProviders){const n=t.IconifyProviders;if("object"===typeof n&&null!==n)for(const t in n){const o="IconifyProviders["+t+"] is invalid.";try{const e=n[t];if("object"!==typeof e||!e||void 0===e.resources)continue;addAPIProvider(t,e)||console.error(o)}catch(e){console.error(o)}}}}const _api={getAPIConfig:getAPIConfig,setAPIModule:setAPIModule,sendAPIQuery:sendAPIQuery,setFetch:setFetch,getFetch:getFetch,listAPIProviders:listAPIProviders,mergeParams:mergeParams},Iconify={_api:_api,addAPIProvider:addAPIProvider,loadIcons:loadIcons,loadIcon:loadIcon,iconExists:iconExists,getIcon:getIcon,listIcons:listIcons,addIcon:addIcon,addCollection:addCollection,shareStorage:shareStorage,replaceIDs:replaceIDs,calculateSize:calculateSize,buildIcon:buildIcon,getVersion:getVersion,renderSVG:renderSVG,renderHTML:renderHTML,renderIcon:renderIcon,scan:scan,observe:observe,stopObserving:stopObserving,pauseObserver:pauseObserver,resumeObserver:resumeObserver,enableCache:enableCache,disableCache:disableCache};exports._api=_api,exports.addAPIProvider=addAPIProvider,exports.addCollection=addCollection,exports.addIcon=addIcon,exports.buildIcon=buildIcon,exports.calculateSize=calculateSize,exports.default=Iconify,exports.disableCache=disableCache,exports.enableCache=enableCache,exports.getIcon=getIcon,exports.getVersion=getVersion,exports.iconExists=iconExists,exports.listIcons=listIcons,exports.loadIcon=loadIcon,exports.loadIcons=loadIcons,exports.observe=observe,exports.pauseObserver=pauseObserver,exports.renderHTML=renderHTML,exports.renderIcon=renderIcon,exports.renderSVG=renderSVG,exports.replaceIDs=replaceIDs,exports.resumeObserver=resumeObserver,exports.scan=scan,exports.shareStorage=shareStorage,exports.stopObserving=stopObserving;try{void 0===self.Iconify&&(self.Iconify=Iconify)}catch(err){}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* (c) Iconify
|
|
3
|
+
*
|
|
4
|
+
* For the full copyright and license information, please view the license.txt or license.gpl.txt
|
|
5
|
+
* files at https://github.com/iconify/iconify
|
|
6
|
+
*
|
|
7
|
+
* Licensed under Apache 2.0 or GPL 2.0 at your option.
|
|
8
|
+
* If derivative product is not compatible with one of licenses, you can pick one of licenses.
|
|
9
|
+
*
|
|
10
|
+
* @license Apache 2.0
|
|
11
|
+
* @license GPL 2.0
|
|
12
|
+
* @version 2.2.1
|
|
13
|
+
*/
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<svg width="64" height="64" viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M50.152 10.6417L31.72 0L13.288 10.6417V24.7942L1 31.8887V53.1722L19.432 63.8139L31.6902 56.7366L31.72 56.7538L31.7498 56.7366L44.008 63.8139L62.44 53.1722V31.8887L50.152 24.7942V10.6417ZM60.52 32.9972L48.232 25.9027V11.7502L31.72 2.21703L15.208 11.7502V25.9028L2.92 32.9972V52.0636L19.432 61.5968L31.6902 54.5196L31.72 54.5368L31.7498 54.5196L44.008 61.5968L60.52 52.0636V32.9972Z" fill="url(#paint0_linear_606_96)"/>
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M50.1521 24.8307L31.7201 14.189L13.2881 24.8307V46.1141L31.7201 56.7558L50.1521 46.1141V24.8307ZM15.2081 25.9392L31.7201 16.406L48.2321 25.9392V45.0056L31.7201 54.5388L15.2081 45.0056V25.9392ZM28.5464 23.0464C28.6641 22.6342 29.0408 22.3501 29.4695 22.3501H33.9707C34.3993 22.3501 34.776 22.6342 34.8938 23.0464L35.7504 26.0447L37.8696 27.2681L40.8945 26.5109C41.3103 26.4068 41.7447 26.591 41.959 26.9622L44.2096 30.8604C44.424 31.2316 44.3662 31.6998 44.0682 32.0079L41.8999 34.2489V36.6959L44.0682 38.9369C44.3662 39.245 44.424 39.7133 44.2096 40.0845L41.959 43.9827C41.7447 44.3539 41.3103 44.538 40.8945 44.4339L37.8696 43.6767L35.7504 44.9002L34.8938 47.8984C34.776 48.3106 34.3993 48.5947 33.9707 48.5947H29.4695C29.0408 48.5947 28.6641 48.3106 28.5464 47.8984L27.6897 44.9002L25.5706 43.6767L22.5457 44.4339C22.1299 44.538 21.6955 44.3539 21.4812 43.9827L19.2305 40.0845C19.0162 39.7133 19.0739 39.245 19.372 38.9369L21.5402 36.6959V34.2489L19.372 32.0079C19.0739 31.6998 19.0162 31.2316 19.2305 30.8604L21.4812 26.9622C21.6955 26.591 22.1299 26.4068 22.5457 26.5109L25.5706 27.2681L27.6897 26.0447L28.5464 23.0464ZM28.9861 27.5132C29.2018 27.3887 29.3607 27.1851 29.4292 26.9456L30.1936 24.2701H33.2466L34.011 26.9456C34.0794 27.1851 34.2383 27.3887 34.4541 27.5132L37.2459 29.1251C37.4617 29.2497 37.7174 29.2855 37.9591 29.225L40.6583 28.5493L42.1848 31.1932L40.25 33.193C40.0768 33.372 39.9799 33.6114 39.9799 33.8605V37.0843C39.9799 37.3334 40.0768 37.5728 40.25 37.7518L42.1848 39.7516L40.6583 42.3955L37.9591 41.7198C37.7174 41.6593 37.4617 41.6951 37.2459 41.8197L34.4541 43.4316C34.2383 43.5561 34.0794 43.7597 34.011 43.9992L33.2466 46.6747H30.1936L29.4292 43.9992C29.3607 43.7597 29.2018 43.5561 28.9861 43.4316L26.1942 41.8197C25.9785 41.6951 25.7228 41.6593 25.4811 41.7198L22.7819 42.3955L21.2554 39.7516L23.1902 37.7518C23.3634 37.5728 23.4602 37.3334 23.4602 37.0843V33.8605C23.4602 33.6114 23.3634 33.372 23.1902 33.193L21.2554 31.1932L22.7819 28.5493L25.4811 29.225C25.7228 29.2855 25.9785 29.2497 26.1942 29.1251L28.9861 27.5132ZM31.7201 41.6407C28.3134 41.6407 25.5517 38.8791 25.5517 35.4724C25.5517 32.0657 28.3134 29.3041 31.7201 29.3041C35.1268 29.3041 37.8884 32.0657 37.8884 35.4724C37.8884 38.8791 35.1268 41.6407 31.7201 41.6407ZM35.9684 35.4724C35.9684 37.8187 34.0664 39.7207 31.7201 39.7207C29.3738 39.7207 27.4717 37.8187 27.4717 35.4724C27.4717 33.1261 29.3738 31.2241 31.7201 31.2241C34.0664 31.2241 35.9684 33.1261 35.9684 35.4724Z" fill="url(#paint1_linear_606_96)"/>
|
|
4
|
+
<defs>
|
|
5
|
+
<linearGradient id="paint0_linear_606_96" x1="31.72" y1="95.7208" x2="95.488" y2="34.3249" gradientUnits="userSpaceOnUse">
|
|
6
|
+
<stop stop-color="#0FA4B7"/>
|
|
7
|
+
<stop offset="0.494757" stop-color="#1DC1C7"/>
|
|
8
|
+
<stop offset="1" stop-color="#2BE0D7"/>
|
|
9
|
+
</linearGradient>
|
|
10
|
+
<linearGradient id="paint1_linear_606_96" x1="28.4374" y1="99.2464" x2="98.7613" y2="44.9372" gradientUnits="userSpaceOnUse">
|
|
11
|
+
<stop stop-color="#0FA4B7"/>
|
|
12
|
+
<stop offset="0.494757" stop-color="#1DC1C7"/>
|
|
13
|
+
<stop offset="1" stop-color="#2BE0D7"/>
|
|
14
|
+
</linearGradient>
|
|
15
|
+
</defs>
|
|
16
|
+
</svg>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|