converse.min.js.LICENSE.txt 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371
  1. /*!
  2. MIT License
  3. Copyright (c) 2018 Arturas Molcanovas <a.molcanovas@gmail.com>
  4. Permission is hereby granted, free of charge, to any person obtaining a copy
  5. of this software and associated documentation files (the "Software"), to deal
  6. in the Software without restriction, including without limitation the rights
  7. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  8. copies of the Software, and to permit persons to whom the Software is
  9. furnished to do so, subject to the following conditions:
  10. The above copyright notice and this permission notice shall be included in all
  11. copies or substantial portions of the Software.
  12. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  13. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  14. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  15. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  16. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  17. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  18. SOFTWARE.
  19. */
  20. /*!
  21. localForage -- Offline Storage, Improved
  22. Version 1.10.0
  23. https://localforage.github.io/localForage
  24. (c) 2013-2017 Mozilla, Apache License 2.0
  25. */
  26. /*!
  27. * Sizzle CSS Selector Engine v2.3.6
  28. * https://sizzlejs.com/
  29. *
  30. * Copyright JS Foundation and other contributors
  31. * Released under the MIT license
  32. * https://js.foundation/
  33. *
  34. * Date: 2021-02-16
  35. */
  36. /*!
  37. * URI.js - Mutating URLs
  38. *
  39. * Version: 1.19.11
  40. *
  41. * Author: Rodney Rehm
  42. * Web: http://medialize.github.io/URI.js/
  43. *
  44. * Licensed under
  45. * MIT License http://www.opensource.org/licenses/mit-license
  46. *
  47. */
  48. /*!
  49. * URI.js - Mutating URLs
  50. * IPv6 Support
  51. *
  52. * Version: 1.19.11
  53. *
  54. * Author: Rodney Rehm
  55. * Web: http://medialize.github.io/URI.js/
  56. *
  57. * Licensed under
  58. * MIT License http://www.opensource.org/licenses/mit-license
  59. *
  60. */
  61. /*!
  62. * URI.js - Mutating URLs
  63. * Second Level Domain (SLD) Support
  64. *
  65. * Version: 1.19.11
  66. *
  67. * Author: Rodney Rehm
  68. * Web: http://medialize.github.io/URI.js/
  69. *
  70. * Licensed under
  71. * MIT License http://www.opensource.org/licenses/mit-license
  72. *
  73. */
  74. /*!
  75. 2020 Jason Mulligan <jason.mulligan@avoidwork.com>
  76. @version 7.0.0
  77. */
  78. /*!
  79. MIT License
  80. Copyright (c) 2018 Arturas Molcanovas <a.molcanovas@gmail.com>
  81. Permission is hereby granted, free of charge, to any person obtaining a copy
  82. of this software and associated documentation files (the "Software"), to deal
  83. in the Software without restriction, including without limitation the rights
  84. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  85. copies of the Software, and to permit persons to whom the Software is
  86. furnished to do so, subject to the following conditions:
  87. The above copyright notice and this permission notice shall be included in all
  88. copies or substantial portions of the Software.
  89. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  90. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  91. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  92. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  93. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  94. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  95. SOFTWARE.
  96. */
  97. /*! *****************************************************************************
  98. Copyright (c) Microsoft Corporation. All rights reserved.
  99. Licensed under the Apache License, Version 2.0 (the "License"); you may not use
  100. this file except in compliance with the License. You may obtain a copy of the
  101. License at http://www.apache.org/licenses/LICENSE-2.0
  102. THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  103. KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
  104. WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
  105. MERCHANTABLITY OR NON-INFRINGEMENT.
  106. See the Apache Version 2.0 License for specific language governing permissions
  107. and limitations under the License.
  108. ***************************************************************************** */
  109. /*! @license DOMPurify 2.3.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.3.6/LICENSE */
  110. /*! https://mths.be/punycode v1.4.0 by @mathias */
  111. /**
  112. * @copyright 2022, the Converse.js contributors
  113. * @license Mozilla Public License (MPLv2)
  114. * @description This is the form utilities module.
  115. */
  116. /**
  117. * @copyright 2022, the Converse.js contributors
  118. * @license Mozilla Public License (MPLv2)
  119. */
  120. /**
  121. * @copyright Alfredo Medrano Sánchez and the Converse.js contributors
  122. * @description
  123. * Component inspired by the one from fa-icons
  124. * https://github.com/obsidiansoft-io/fa-icons/blob/master/LICENSE
  125. * @license Mozilla Public License (MPLv2)
  126. */
  127. /**
  128. * @copyright JC Brand
  129. * @license Mozilla Public License (MPLv2)
  130. * @description A plugin which restricts Converse to only one chat.
  131. */
  132. /**
  133. * @copyright Shachaf Ben-Kiki and the Converse.js contributors
  134. * @description
  135. * Started as a fork of Shachaf Ben-Kiki's jsgif library
  136. * https://github.com/shachaf/jsgif
  137. * @license MIT License
  138. */
  139. /**
  140. * @copyright The Converse.js contributors
  141. * @license Mozilla Public License (MPLv2)
  142. * @description Converse.js plugin which add support for XEP-0206: XMPP Over BOSH
  143. */
  144. /**
  145. * @copyright The Converse.js contributors
  146. * @license Mozilla Public License (MPLv2)
  147. * @description Converse.js plugin which adds support for XEP-0198: Stream Management
  148. */
  149. /**
  150. * @copyright The Converse.js contributors
  151. * @license Mozilla Public License (MPLv2)
  152. * @description This is the core utilities module.
  153. */
  154. /**
  155. * @copyright The Converse.js contributors
  156. * @license Mozilla Public License (MPLv2)
  157. */
  158. /**
  159. * @description
  160. * Converse.js plugin which shows a list of currently open
  161. * rooms in the "Rooms Panel" of the ControlBox.
  162. * @copyright 2022, the Converse.js contributors
  163. * @license Mozilla Public License (MPLv2)
  164. */
  165. /**
  166. * @description
  167. * Converse.js plugin which add support for registering
  168. * an "App Server" as defined in XEP-0357
  169. * @copyright 2021, the Converse.js contributors
  170. * @license Mozilla Public License (MPLv2)
  171. */
  172. /**
  173. * @description
  174. * Converse.js plugin which adds views for bookmarks specified in XEP-0048.
  175. * @copyright 2022, the Converse.js contributors
  176. * @license Mozilla Public License (MPLv2)
  177. */
  178. /**
  179. * @description Converse.js (A browser based XMPP chat client)
  180. * @copyright 2021, The Converse developers
  181. * @license Mozilla Public License (MPLv2)
  182. */
  183. /**
  184. * @description Converse.js plugin which adds views for XEP-0048 bookmarks
  185. * @copyright 2022, the Converse.js contributors
  186. * @license Mozilla Public License (MPLv2)
  187. */
  188. /**
  189. * @description UI code XEP-0313 Message Archive Management
  190. * @copyright 2021, the Converse.js contributors
  191. * @license Mozilla Public License (MPLv2)
  192. */
  193. /**
  194. * @description XEP-0313 Message Archive Management
  195. * @copyright 2022, the Converse.js contributors
  196. * @license Mozilla Public License (MPLv2)
  197. */
  198. /**
  199. * @license
  200. * Copyright 2017 Google LLC
  201. * SPDX-License-Identifier: BSD-3-Clause
  202. */
  203. /**
  204. * @license
  205. * Copyright 2019 Google LLC
  206. * SPDX-License-Identifier: BSD-3-Clause
  207. */
  208. /**
  209. * @license
  210. * Copyright 2020 Google LLC
  211. * SPDX-License-Identifier: BSD-3-Clause
  212. */
  213. /**
  214. * @license MIT or GPL-2.0
  215. * @fileOverview Favico animations
  216. * @author Miroslav Magda, http://blog.ejci.net
  217. * @source: https://github.com/ejci/favico.js
  218. * @version 0.3.10
  219. */
  220. /**
  221. * @module converse-carbons
  222. * @copyright The Converse.js contributors
  223. * @license Mozilla Public License (MPLv2)
  224. * @description Implements support for XEP-0280 Message Carbons
  225. */
  226. /**
  227. * @module converse-chatboxviews
  228. * @copyright 2022, the Converse.js contributors
  229. * @license Mozilla Public License (MPLv2)
  230. */
  231. /**
  232. * @module converse-dragresize
  233. * @copyright 2022, the Converse.js contributors
  234. * @license Mozilla Public License (MPLv2)
  235. */
  236. /**
  237. * @module converse-emoji
  238. * @copyright 2022, the Converse.js contributors
  239. * @license Mozilla Public License (MPLv2)
  240. */
  241. /**
  242. * @module converse-fullscreen
  243. * @license Mozilla Public License (MPLv2)
  244. * @copyright 2022, the Converse.js contributors
  245. */
  246. /**
  247. * @module converse-headlines-view
  248. * @copyright 2022, the Converse.js contributors
  249. * @license Mozilla Public License (MPLv2)
  250. */
  251. /**
  252. * @module converse-minimize
  253. * @copyright 2022, the Converse.js contributors
  254. * @license Mozilla Public License (MPLv2)
  255. */
  256. /**
  257. * @module converse-notification
  258. * @copyright 2022, the Converse.js contributors
  259. * @license Mozilla Public License (MPLv2)
  260. */
  261. /**
  262. * @module converse-pubsub
  263. * @copyright The Converse.js contributors
  264. * @license Mozilla Public License (MPLv2)
  265. */
  266. /**
  267. * @module converse-register
  268. * @description
  269. * This is a Converse.js plugin which add support for in-band registration
  270. * as specified in XEP-0077.
  271. * @copyright 2022, the Converse.js contributors
  272. * @license Mozilla Public License (MPLv2)
  273. */
  274. /**
  275. * @module converse-rsm
  276. * @copyright The Converse.js contributors
  277. * @license Mozilla Public License (MPLv2)
  278. * @description XEP-0059 Result Set Management
  279. * Some code taken from the Strophe RSM plugin, licensed under the MIT License
  280. * Copyright 2006-2017 Strophe (https://github.com/strophe/strophejs)
  281. */
  282. /**
  283. * @module i18n
  284. * @copyright 2022, the Converse.js contributors
  285. * @license Mozilla Public License (MPLv2)
  286. * @description This is the internationalization module
  287. */
  288. /**
  289. * @preserve jed.js https://github.com/SlexAxton/Jed
  290. */
  291. /**
  292. * Clears the specified timeout and interval.
  293. * @method u#clearTimers
  294. * @param {number} timeout - Id if the timeout to clear.
  295. * @param {number} interval - Id of the interval to clear.
  296. * @private
  297. * @copyright Simen Bekkhus 2016
  298. * @license MIT
  299. */
  300. /**
  301. * Creates a {@link Promise} that resolves if the passed in function returns a truthy value.
  302. * Rejects if it throws or does not return truthy within the given max_wait.
  303. * @method u#waitUntil
  304. * @param {Function} func - The function called every check_delay,
  305. * and the result of which is the resolved value of the promise.
  306. * @param {number} [max_wait=300] - The time to wait before rejecting the promise.
  307. * @param {number} [check_delay=3] - The time to wait before each invocation of {func}.
  308. * @returns {Promise} A promise resolved with the value of func,
  309. * or rejected with the exception thrown by it or it times out.
  310. * @copyright Simen Bekkhus 2016
  311. * @license MIT
  312. */
  313. /*@cc_on!@*/