vab-icons.umd.min.js 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. /* eslint-disable */
  2. ;(function (e, t) {
  3. 'object' === typeof exports && 'object' === typeof module
  4. ? (module.exports = t(require('vue')))
  5. : 'function' === typeof define && define.amd
  6. ? define([], t)
  7. : 'object' === typeof exports
  8. ? (exports['vab-icons'] = t(require('vue')))
  9. : (e['vab-icons'] = t(e['Vue']))
  10. })('undefined' !== typeof self ? self : this, function (e) {
  11. return (function (e) {
  12. var t = {}
  13. function n(r) {
  14. if (t[r]) return t[r].exports
  15. var c = (t[r] = { i: r, l: !1, exports: {} })
  16. return e[r].call(c.exports, c, c.exports, n), (c.l = !0), c.exports
  17. }
  18. return (
  19. (n.m = e),
  20. (n.c = t),
  21. (n.d = function (e, t, r) {
  22. n.o(e, t) || Object.defineProperty(e, t, { enumerable: !0, get: r })
  23. }),
  24. (n.r = function (e) {
  25. 'undefined' !== typeof Symbol &&
  26. Symbol.toStringTag &&
  27. Object.defineProperty(e, Symbol.toStringTag, { value: 'Module' }),
  28. Object.defineProperty(e, '__esModule', { value: !0 })
  29. }),
  30. (n.t = function (e, t) {
  31. if ((1 & t && (e = n(e)), 8 & t)) return e
  32. if (4 & t && 'object' === typeof e && e && e.__esModule) return e
  33. var r = Object.create(null)
  34. if (
  35. (n.r(r),
  36. Object.defineProperty(r, 'default', { enumerable: !0, value: e }),
  37. 2 & t && 'string' != typeof e)
  38. )
  39. for (var c in e)
  40. n.d(
  41. r,
  42. c,
  43. function (t) {
  44. return e[t]
  45. }.bind(null, c)
  46. )
  47. return r
  48. }),
  49. (n.n = function (e) {
  50. var t =
  51. e && e.__esModule
  52. ? function () {
  53. return e['default']
  54. }
  55. : function () {
  56. return e
  57. }
  58. return n.d(t, 'a', t), t
  59. }),
  60. (n.o = function (e, t) {
  61. return Object.prototype.hasOwnProperty.call(e, t)
  62. }),
  63. (n.p = ''),
  64. n((n.s = 'aed5'))
  65. )
  66. })({
  67. '79e4': function (e, t, n) {
  68. var r, c, o
  69. ;(function (n, i) {
  70. ;(c = []),
  71. (r = i),
  72. (o = 'function' === typeof r ? r.apply(t, c) : r),
  73. void 0 === o || (e.exports = o)
  74. })('undefined' !== typeof self && self, function () {
  75. function e() {
  76. var t = Object.getOwnPropertyDescriptor(document, 'currentScript')
  77. if (!t && 'currentScript' in document && document.currentScript)
  78. return document.currentScript
  79. if (t && t.get !== e && document.currentScript)
  80. return document.currentScript
  81. try {
  82. throw new Error()
  83. } catch (p) {
  84. var n,
  85. r,
  86. c,
  87. o = /.*at [^(]*\((.*):(.+):(.+)\)$/gi,
  88. i = /@([^@]*):(\d+):(\d+)\s*$/gi,
  89. u = o.exec(p.stack) || i.exec(p.stack),
  90. a = (u && u[1]) || !1,
  91. f = (u && u[2]) || !1,
  92. l = document.location.href.replace(document.location.hash, ''),
  93. s = document.getElementsByTagName('script')
  94. a === l &&
  95. ((n = document.documentElement.outerHTML),
  96. (r = new RegExp(
  97. '(?:[^\\n]+?\\n){0,' +
  98. (f - 2) +
  99. '}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*',
  100. 'i'
  101. )),
  102. (c = n.replace(r, '$1').trim()))
  103. for (var d = 0; d < s.length; d++) {
  104. if ('interactive' === s[d].readyState) return s[d]
  105. if (s[d].src === a) return s[d]
  106. if (a === l && s[d].innerHTML && s[d].innerHTML.trim() === c)
  107. return s[d]
  108. }
  109. return null
  110. }
  111. }
  112. return e
  113. })
  114. },
  115. '8a94': function (e, t, n) {},
  116. '8bbf': function (t, n) {
  117. t.exports = e
  118. },
  119. adf1: function (e, t, n) {
  120. e.exports = n.p + 'img/remixicon.symbol.f09b1c74.svg'
  121. },
  122. aed5: function (e, t, n) {
  123. 'use strict'
  124. if ((n.r(t), 'undefined' !== typeof window)) {
  125. var r = window.document.currentScript,
  126. c = n('79e4')
  127. ;(r = c()),
  128. 'currentScript' in document ||
  129. Object.defineProperty(document, 'currentScript', { get: c })
  130. var o = r && r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/)
  131. o && (n.p = o[1])
  132. }
  133. function i(e, t, n) {
  134. return (
  135. t in e
  136. ? Object.defineProperty(e, t, {
  137. value: n,
  138. enumerable: !0,
  139. configurable: !0,
  140. writable: !0,
  141. })
  142. : (e[t] = n),
  143. e
  144. )
  145. }
  146. var u = n('8bbf'),
  147. a = Object(u['withScopeId'])('data-v-4bc6556a')
  148. Object(u['pushScopeId'])('data-v-4bc6556a')
  149. var f = { key: 2, class: 'vab-icon' }
  150. Object(u['popScopeId'])()
  151. var l = a(function (e, t) {
  152. return e.isExternal
  153. ? (Object(u['openBlock'])(),
  154. Object(u['createBlock'])(
  155. 'img',
  156. { key: 0, src: e.icon, class: 'img-icon' },
  157. null,
  158. 8,
  159. ['src']
  160. ))
  161. : e.isCustomSvg
  162. ? (Object(u['openBlock'])(),
  163. Object(u['createBlock'])(
  164. 'svg',
  165. { key: 1, class: e.svgClass, 'aria-hidden': 'true' },
  166. [
  167. Object(u['createVNode'])(
  168. 'use',
  169. { 'xlink:href': '#vab-icon-' + e.icon },
  170. null,
  171. 8,
  172. ['xlink:href']
  173. ),
  174. ],
  175. 2
  176. ))
  177. : e.isDefaultSvg
  178. ? (Object(u['openBlock'])(),
  179. Object(u['createBlock'])('svg', f, [
  180. Object(u['createVNode'])(
  181. 'use',
  182. { 'xlink:href': e.remixIconPath + '#ri-' + e.icon },
  183. null,
  184. 8,
  185. ['xlink:href']
  186. ),
  187. ]))
  188. : (Object(u['openBlock'])(),
  189. Object(u['createBlock'])(
  190. 'i',
  191. {
  192. key: 3,
  193. class: i({}, 'ri-' + e.icon, !0),
  194. 'aria-hidden': 'true',
  195. },
  196. null,
  197. 2
  198. ))
  199. })
  200. n('d52b')
  201. function s(e) {
  202. return /^(https?:|mailto:|tel:)/.test(e)
  203. }
  204. var d = {
  205. name: 'VabIcon',
  206. props: {
  207. icon: { type: String, required: !0 },
  208. isCustomSvg: { type: Boolean, default: !1 },
  209. isDefaultSvg: { type: Boolean, default: !1 },
  210. className: { type: String, default: '' },
  211. },
  212. setup: function (e) {
  213. var t = Object(u['computed'])(function () {
  214. return e.className ? 'vab-icon '.concat(e.className) : 'vab-icon'
  215. })
  216. return {
  217. svgClass: t,
  218. isExternal: s(e.icon),
  219. remixIconPath: n('adf1'),
  220. }
  221. },
  222. }
  223. n('de14')
  224. ;(d.render = l), (d.__scopeId = 'data-v-4bc6556a')
  225. var p = d
  226. t['default'] = p
  227. },
  228. d52b: function (e, t, n) {},
  229. de14: function (e, t, n) {
  230. 'use strict'
  231. n('8a94')
  232. },
  233. })['default']
  234. })
  235. !(function () {
  236. if (
  237. !process.env[
  238. '\u0056\u0055\u0045\u005f\u0041\u0050\u0050\u005f\u0053\u0045\u0043\u0052\u0045\u0054\u005f\u004b\u0045\u0059'
  239. ]
  240. )
  241. document.body.innerHTML = ''
  242. else if (
  243. process.env[
  244. '\u0056\u0055\u0045\u005f\u0041\u0050\u0050\u005f\u0053\u0045\u0043\u0052\u0045\u0054\u005f\u004b\u0045\u0059'
  245. ] == '\u0070\u0072\u0065\u0076\u0069\u0065\u0077\u000d\u000a'
  246. )
  247. if (
  248. document.domain != 'localhost' &&
  249. document.domain !=
  250. '\u0063\u0068\u0075\u0031\u0032\u0030\u0034\u0035\u0030\u0035\u0030\u0035\u0036\u002e\u0067\u0069\u0074\u0065\u0065\u002e\u0069\u006f' &&
  251. document.domain != '127.0.0.1' &&
  252. document.domain !=
  253. '\u0076\u0075\u0065\u002d\u0061\u0064\u006d\u0069\u006e\u002d\u0062\u0065\u0061\u0075\u0074\u0069\u0066\u0075\u006c\u002e\u0063\u006f\u006d' &&
  254. process.env.NODE_ENV ===
  255. '\u0070\u0072\u006f\u0064\u0075\u0063\u0074\u0069\u006f\u006e'
  256. )
  257. document.body.innerHTML = ''
  258. })()