You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

core-common.js.LICENSE.txt 46KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285
  1. /*
  2. * @copyright 2018 Christoph Wurst <christoph@winzerhof-wurst.at>
  3. *
  4. * @author 2018 Christoph Wurst <christoph@winzerhof-wurst.at>
  5. *
  6. * @license GNU AGPL version 3 or any later version
  7. *
  8. * This program is free software: you can redistribute it and/or modify
  9. * it under the terms of the GNU Affero General Public License as
  10. * published by the Free Software Foundation, either version 3 of the
  11. * License, or (at your option) any later version.
  12. *
  13. * This program is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU Affero General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU Affero General Public License
  19. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  20. */
  21. /*
  22. * @copyright 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
  23. *
  24. * @author 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
  25. *
  26. * @license GNU AGPL version 3 or any later version
  27. *
  28. * This program is free software: you can redistribute it and/or modify
  29. * it under the terms of the GNU Affero General Public License as
  30. * published by the Free Software Foundation, either version 3 of the
  31. * License, or (at your option) any later version.
  32. *
  33. * This program is distributed in the hope that it will be useful,
  34. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  35. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  36. * GNU Affero General Public License for more details.
  37. *
  38. * You should have received a copy of the GNU Affero General Public License
  39. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  40. */
  41. /*
  42. * @copyright 2020 Georg Ehrke <oc.list@georgehrke.com>
  43. *
  44. * @author 2020 Georg Ehrke <oc.list@georgehrke.com>
  45. *
  46. * @license GNU AGPL version 3 or any later version
  47. *
  48. * This program is free software: you can redistribute it and/or modify
  49. * it under the terms of the GNU Affero General Public License as
  50. * published by the Free Software Foundation, either version 3 of the
  51. * License, or (at your option) any later version.
  52. *
  53. * This program is distributed in the hope that it will be useful,
  54. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  55. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  56. * GNU Affero General Public License for more details.
  57. *
  58. * You should have received a copy of the GNU Affero General Public License
  59. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  60. */
  61. /*!
  62. * Bootstrap tooltip.js v4.6.1 (https://getbootstrap.com/)
  63. * Copyright 2011-2021 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
  64. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
  65. */
  66. /*!
  67. * Bootstrap util.js v4.6.1 (https://getbootstrap.com/)
  68. * Copyright 2011-2021 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
  69. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
  70. */
  71. /*!
  72. * vue-router v3.5.3
  73. * (c) 2021 Evan You
  74. * @license MIT
  75. */
  76. /*!
  77. * Determine if an object is a Buffer
  78. *
  79. * @author Feross Aboukhadijeh <https://feross.org>
  80. * @license MIT
  81. */
  82. /*!
  83. * Sizzle CSS Selector Engine v2.3.6
  84. * https://sizzlejs.com/
  85. *
  86. * Copyright JS Foundation and other contributors
  87. * Released under the MIT license
  88. * https://js.foundation/
  89. *
  90. * Date: 2021-02-16
  91. */
  92. /*!
  93. * The buffer module from node.js, for the browser.
  94. *
  95. * @author Feross Aboukhadijeh <https://feross.org>
  96. * @license MIT
  97. */
  98. /*!
  99. * Vue.js v2.6.14
  100. * (c) 2014-2021 Evan You
  101. * Released under the MIT License.
  102. */
  103. /*!
  104. * clipboard.js v2.0.10
  105. * https://clipboardjs.com/
  106. *
  107. * Licensed MIT © Zeno Rocha
  108. */
  109. /*!
  110. * css-vars-ponyfill
  111. * v2.4.7
  112. * https://jhildenbiddle.github.io/css-vars-ponyfill/
  113. * (c) 2018-2021 John Hildenbiddle <http://hildenbiddle.com>
  114. * MIT license
  115. */
  116. /*!
  117. * escape-html
  118. * Copyright(c) 2012-2013 TJ Holowaychuk
  119. * Copyright(c) 2015 Andreas Lubbe
  120. * Copyright(c) 2015 Tiancheng "Timothy" Gu
  121. * MIT Licensed
  122. */
  123. /*!
  124. * get-css-data
  125. * v2.0.2
  126. * https://github.com/jhildenbiddle/get-css-data
  127. * (c) 2018-2021 John Hildenbiddle <http://hildenbiddle.com>
  128. * MIT license
  129. */
  130. /*!
  131. * jQuery JavaScript Library v3.6.0
  132. * https://jquery.com/
  133. *
  134. * Includes Sizzle.js
  135. * https://sizzlejs.com/
  136. *
  137. * Copyright OpenJS Foundation and other contributors
  138. * Released under the MIT license
  139. * https://jquery.org/license
  140. *
  141. * Date: 2021-03-02T17:08Z
  142. */
  143. /*!
  144. * jQuery UI :data 1.13.1
  145. * http://jqueryui.com
  146. *
  147. * Copyright jQuery Foundation and other contributors
  148. * Released under the MIT license.
  149. * http://jquery.org/license
  150. */
  151. /*!
  152. * jQuery UI Autocomplete 1.13.1
  153. * http://jqueryui.com
  154. *
  155. * Copyright jQuery Foundation and other contributors
  156. * Released under the MIT license.
  157. * http://jquery.org/license
  158. */
  159. /*!
  160. * jQuery UI Button 1.13.1
  161. * http://jqueryui.com
  162. *
  163. * Copyright jQuery Foundation and other contributors
  164. * Released under the MIT license.
  165. * http://jquery.org/license
  166. */
  167. /*!
  168. * jQuery UI Checkboxradio 1.13.1
  169. * http://jqueryui.com
  170. *
  171. * Copyright jQuery Foundation and other contributors
  172. * Released under the MIT license.
  173. * http://jquery.org/license
  174. */
  175. /*!
  176. * jQuery UI Controlgroup 1.13.1
  177. * http://jqueryui.com
  178. *
  179. * Copyright jQuery Foundation and other contributors
  180. * Released under the MIT license.
  181. * http://jquery.org/license
  182. */
  183. /*!
  184. * jQuery UI Datepicker 1.13.1
  185. * http://jqueryui.com
  186. *
  187. * Copyright jQuery Foundation and other contributors
  188. * Released under the MIT license.
  189. * http://jquery.org/license
  190. */
  191. /*!
  192. * jQuery UI Dialog 1.13.1
  193. * http://jqueryui.com
  194. *
  195. * Copyright jQuery Foundation and other contributors
  196. * Released under the MIT license.
  197. * http://jquery.org/license
  198. */
  199. /*!
  200. * jQuery UI Draggable 1.13.1
  201. * http://jqueryui.com
  202. *
  203. * Copyright jQuery Foundation and other contributors
  204. * Released under the MIT license.
  205. * http://jquery.org/license
  206. */
  207. /*!
  208. * jQuery UI Droppable 1.13.1
  209. * http://jqueryui.com
  210. *
  211. * Copyright jQuery Foundation and other contributors
  212. * Released under the MIT license.
  213. * http://jquery.org/license
  214. */
  215. /*!
  216. * jQuery UI Effects 1.13.1
  217. * http://jqueryui.com
  218. *
  219. * Copyright jQuery Foundation and other contributors
  220. * Released under the MIT license.
  221. * http://jquery.org/license
  222. */
  223. /*!
  224. * jQuery UI Focusable 1.13.1
  225. * http://jqueryui.com
  226. *
  227. * Copyright jQuery Foundation and other contributors
  228. * Released under the MIT license.
  229. * http://jquery.org/license
  230. */
  231. /*!
  232. * jQuery UI Form Reset Mixin 1.13.1
  233. * http://jqueryui.com
  234. *
  235. * Copyright jQuery Foundation and other contributors
  236. * Released under the MIT license.
  237. * http://jquery.org/license
  238. */
  239. /*!
  240. * jQuery UI Keycode 1.13.1
  241. * http://jqueryui.com
  242. *
  243. * Copyright jQuery Foundation and other contributors
  244. * Released under the MIT license.
  245. * http://jquery.org/license
  246. */
  247. /*!
  248. * jQuery UI Labels 1.13.1
  249. * http://jqueryui.com
  250. *
  251. * Copyright jQuery Foundation and other contributors
  252. * Released under the MIT license.
  253. * http://jquery.org/license
  254. */
  255. /*!
  256. * jQuery UI Position 1.13.1
  257. * http://jqueryui.com
  258. *
  259. * Copyright jQuery Foundation and other contributors
  260. * Released under the MIT license.
  261. * http://jquery.org/license
  262. *
  263. * http://api.jqueryui.com/position/
  264. */
  265. /*!
  266. * jQuery UI Resizable 1.13.1
  267. * http://jqueryui.com
  268. *
  269. * Copyright jQuery Foundation and other contributors
  270. * Released under the MIT license.
  271. * http://jquery.org/license
  272. */
  273. /*!
  274. * jQuery UI Spinner 1.13.1
  275. * http://jqueryui.com
  276. *
  277. * Copyright jQuery Foundation and other contributors
  278. * Released under the MIT license.
  279. * http://jquery.org/license
  280. */
  281. /*!
  282. * jQuery UI Support for jQuery core 1.8.x and newer 1.13.1
  283. * http://jqueryui.com
  284. *
  285. * Copyright jQuery Foundation and other contributors
  286. * Released under the MIT license.
  287. * http://jquery.org/license
  288. *
  289. */
  290. /*!
  291. * jQuery UI Tabs 1.13.1
  292. * http://jqueryui.com
  293. *
  294. * Copyright jQuery Foundation and other contributors
  295. * Released under the MIT license.
  296. * http://jquery.org/license
  297. */
  298. /*!
  299. * jQuery UI Tooltip 1.13.1
  300. * http://jqueryui.com
  301. *
  302. * Copyright jQuery Foundation and other contributors
  303. * Released under the MIT license.
  304. * http://jquery.org/license
  305. */
  306. /*!
  307. * jQuery UI Widget 1.13.1
  308. * http://jqueryui.com
  309. *
  310. * Copyright jQuery Foundation and other contributors
  311. * Released under the MIT license.
  312. * http://jquery.org/license
  313. */
  314. /*!
  315. * vue-infinite-loading v2.4.5
  316. * (c) 2016-2020 PeachScript
  317. * MIT License
  318. */
  319. /*!
  320. * vue-qrcode v1.0.2
  321. * https://fengyuanchen.github.io/vue-qrcode
  322. *
  323. * Copyright 2018-present Chen Fengyuan
  324. * Released under the MIT license
  325. *
  326. * Date: 2020-01-18T06:04:33.222Z
  327. */
  328. /*!
  329. * vuex v3.6.2
  330. * (c) 2021 Evan You
  331. * @license MIT
  332. */
  333. /*! @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 */
  334. /*! Hammer.JS - v2.0.7 - 2016-04-22
  335. * http://hammerjs.github.io/
  336. *
  337. * Copyright (c) 2016 Jorik Tangelder;
  338. * Licensed under the MIT license */
  339. /*! https://mths.be/base64 v1.0.0 by @mathias | MIT license */
  340. /*! https://mths.be/he v1.2.0 by @mathias | MIT license */
  341. /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
  342. /*! jQuery Migrate v3.3.2 | (c) OpenJS Foundation and other contributors | jquery.org/license */
  343. /*! jQuery UI - v1.13.1 - 2022-01-20
  344. * http://jqueryui.com
  345. * Includes: widget.js, position.js, data.js, disable-selection.js, effect.js, effects/effect-blind.js, effects/effect-bounce.js, effects/effect-clip.js, effects/effect-drop.js, effects/effect-explode.js, effects/effect-fade.js, effects/effect-fold.js, effects/effect-highlight.js, effects/effect-puff.js, effects/effect-pulsate.js, effects/effect-scale.js, effects/effect-shake.js, effects/effect-size.js, effects/effect-slide.js, effects/effect-transfer.js, focusable.js, form-reset-mixin.js, jquery-patch.js, keycode.js, labels.js, scroll-parent.js, tabbable.js, unique-id.js, widgets/accordion.js, widgets/autocomplete.js, widgets/button.js, widgets/checkboxradio.js, widgets/controlgroup.js, widgets/datepicker.js, widgets/dialog.js, widgets/draggable.js, widgets/droppable.js, widgets/menu.js, widgets/mouse.js, widgets/progressbar.js, widgets/resizable.js, widgets/selectable.js, widgets/selectmenu.js, widgets/slider.js, widgets/sortable.js, widgets/spinner.js, widgets/tabs.js, widgets/tooltip.js
  346. * Copyright jQuery Foundation and other contributors; Licensed MIT */
  347. /**
  348. *
  349. *
  350. * @author Jerry Bendy <jerry@icewingcc.com>
  351. * @licence MIT
  352. *
  353. */
  354. /**
  355. * @copyright 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
  356. *
  357. * @author 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
  358. *
  359. * @license GNU AGPL version 3 or any later version
  360. *
  361. * This program is free software: you can redistribute it and/or modify
  362. * it under the terms of the GNU Affero General Public License as
  363. * published by the Free Software Foundation, either version 3 of the
  364. * License, or (at your option) any later version.
  365. *
  366. * This program is distributed in the hope that it will be useful,
  367. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  368. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  369. * GNU Affero General Public License for more details.
  370. *
  371. * You should have received a copy of the GNU Affero General Public License
  372. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  373. */
  374. /**
  375. * @copyright 2021 Christoph Wurst <christoph@winzerhof-wurst.at>
  376. *
  377. * @author 2021 Christoph Wurst <christoph@winzerhof-wurst.at>
  378. *
  379. * @license GNU AGPL version 3 or any later version
  380. *
  381. * This program is free software: you can redistribute it and/or modify
  382. * it under the terms of the GNU Affero General Public License as
  383. * published by the Free Software Foundation, either version 3 of the
  384. * License, or (at your option) any later version.
  385. *
  386. * This program is distributed in the hope that it will be useful,
  387. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  388. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  389. * GNU Affero General Public License for more details.
  390. *
  391. * You should have received a copy of the GNU Affero General Public License
  392. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  393. */
  394. /**
  395. * @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>
  396. *
  397. * @author John Molakvoæ <skjnldsv@protonmail.com>
  398. *
  399. * @license GNU AGPL version 3 or any later version
  400. *
  401. * This program is free software: you can redistribute it and/or modify
  402. * it under the terms of the GNU Affero General Public License as
  403. * published by the Free Software Foundation, either version 3 of the
  404. * License, or (at your option) any later version.
  405. *
  406. * This program is distributed in the hope that it will be useful,
  407. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  408. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  409. * GNU Affero General Public License for more details.
  410. *
  411. * You should have received a copy of the GNU Affero General Public License
  412. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  413. *
  414. */
  415. /**
  416. * @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>
  417. *
  418. * @author John Molakvoæ <skjnldsv@protonmail.com>
  419. *
  420. * @license GNU AGPL version 3 or any later version
  421. *
  422. * This program is free software: you can redistribute it and/or modify
  423. * it under the terms of the GNU Affero General Public License as
  424. * published by the Free Software Foundation, either version 3 of the
  425. * License, or (at your option) any later version.
  426. *
  427. * This program is distributed in the hope that it will be useful,
  428. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  429. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  430. * GNU Affero General Public License for more details.
  431. *
  432. * You should have received a copy of the GNU Affero General Public License
  433. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  434. *
  435. */
  436. /**
  437. * @copyright Copyright (c) 2018 Julius Härtl <jus@bitgrid.net>
  438. *
  439. * @author Julius Härtl <jus@bitgrid.net>
  440. *
  441. * @license GNU AGPL version 3 or any later version
  442. *
  443. * This program is free software: you can redistribute it and/or modify
  444. * it under the terms of the GNU Affero General Public License as
  445. * published by the Free Software Foundation, either version 3 of the
  446. * License, or (at your option) any later version.
  447. *
  448. * This program is distributed in the hope that it will be useful,
  449. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  450. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  451. * GNU Affero General Public License for more details.
  452. *
  453. * You should have received a copy of the GNU Affero General Public License
  454. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  455. *
  456. */
  457. /**
  458. * @copyright Copyright (c) 2019 Georg Ehrke
  459. *
  460. * @author Georg Ehrke <georg-nextcloud@ehrke.email>
  461. *
  462. * @author Richard Steinmetz <richard@steinmetz.cloud>
  463. *
  464. * @license GNU AGPL version 3 or any later version
  465. *
  466. * This program is free software: you can redistribute it and/or modify
  467. * it under the terms of the GNU Affero General Public License as
  468. * published by the Free Software Foundation, either version 3 of the
  469. * License, or (at your option) any later version.
  470. *
  471. * This program is distributed in the hope that it will be useful,
  472. * but WITHOUT ANY WARRANTY without even the implied warranty of
  473. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  474. * GNU Affero General Public License for more details.
  475. *
  476. * You should have received a copy of the GNU Affero General Public License
  477. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  478. *
  479. */
  480. /**
  481. * @copyright Copyright (c) 2019 Georg Ehrke
  482. *
  483. * @author Georg Ehrke <georg-nextcloud@ehrke.email>
  484. *
  485. * @license GNU AGPL version 3 or any later version
  486. *
  487. * This program is free software: you can redistribute it and/or modify
  488. * it under the terms of the GNU Affero General Public License as
  489. * published by the Free Software Foundation, either version 3 of the
  490. * License, or (at your option) any later version.
  491. *
  492. * This program is distributed in the hope that it will be useful,
  493. * but WITHOUT ANY WARRANTY without even the implied warranty of
  494. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  495. * GNU Affero General Public License for more details.
  496. *
  497. * You should have received a copy of the GNU Affero General Public License
  498. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  499. *
  500. */
  501. /**
  502. * @copyright Copyright (c) 2019 Georg Ehrke
  503. *
  504. * @author Georg Ehrke <oc.list@georgehrke.com>
  505. *
  506. * @license GNU AGPL version 3 or any later version
  507. *
  508. * This program is free software: you can redistribute it and/or modify
  509. * it under the terms of the GNU Affero General Public License as
  510. * published by the Free Software Foundation, either version 3 of the
  511. * License, or (at your option) any later version.
  512. *
  513. * This program is distributed in the hope that it will be useful,
  514. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  515. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  516. * GNU Affero General Public License for more details.
  517. *
  518. * You should have received a copy of the GNU Affero General Public License
  519. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  520. *
  521. */
  522. /**
  523. * @copyright Copyright (c) 2019 Greta Doci <gretadoci@gmail.com>
  524. *
  525. * @author Greta Doci <gretadoci@gmail.com>
  526. *
  527. * @license GNU AGPL version 3 or any later version
  528. *
  529. * This program is free software: you can redistribute it and/or modify
  530. * it under the terms of the GNU Affero General Public License as
  531. * published by the Free Software Foundation, either version 3 of the
  532. * License, or (at your option) any later version.
  533. *
  534. * This program is distributed in the hope that it will be useful,
  535. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  536. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  537. * GNU Affero General Public License for more details.
  538. *
  539. * You should have received a copy of the GNU Affero General Public License
  540. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  541. *
  542. */
  543. /**
  544. * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
  545. *
  546. * @author John Molakvoæ <skjnldsv@protonmail.com>
  547. *
  548. * @license GNU AGPL version 3 or any later version
  549. *
  550. * This program is free software: you can redistribute it and/or modify
  551. * it under the terms of the GNU Affero General Public License as
  552. * published by the Free Software Foundation, either version 3 of the
  553. * License, or (at your option) any later version.
  554. *
  555. * This program is distributed in the hope that it will be useful,
  556. * but WITHOUT ANY WARRANTY without even the implied warranty of
  557. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  558. * GNU Affero General Public License for more details.
  559. *
  560. * You should have received a copy of the GNU Affero General Public License
  561. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  562. *
  563. */
  564. /**
  565. * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
  566. *
  567. * @author John Molakvoæ <skjnldsv@protonmail.com>
  568. *
  569. * @license GNU AGPL version 3 or any later version
  570. *
  571. * This program is free software: you can redistribute it and/or modify
  572. * it under the terms of the GNU Affero General Public License as
  573. * published by the Free Software Foundation, either version 3 of the
  574. * License, or (at your option) any later version.
  575. *
  576. * This program is distributed in the hope that it will be useful,
  577. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  578. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  579. * GNU Affero General Public License for more details.
  580. *
  581. * You should have received a copy of the GNU Affero General Public License
  582. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  583. */
  584. /**
  585. * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
  586. *
  587. * @author John Molakvoæ <skjnldsv@protonmail.com>
  588. *
  589. * @license GNU AGPL version 3 or any later version
  590. *
  591. * This program is free software: you can redistribute it and/or modify
  592. * it under the terms of the GNU Affero General Public License as
  593. * published by the Free Software Foundation, either version 3 of the
  594. * License, or (at your option) any later version.
  595. *
  596. * This program is distributed in the hope that it will be useful,
  597. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  598. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  599. * GNU Affero General Public License for more details.
  600. *
  601. * You should have received a copy of the GNU Affero General Public License
  602. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  603. *
  604. */
  605. /**
  606. * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>
  607. *
  608. * @author John Molakvoæ <skjnldsv@protonmail.com>
  609. *
  610. * @license GNU AGPL version 3 or any later version
  611. *
  612. * This program is free software: you can redistribute it and/or modify
  613. * it under the terms of the GNU Affero General Public License as
  614. * published by the Free Software Foundation, either version 3 of the
  615. * License, or (at your option) any later version.
  616. *
  617. * This program is distributed in the hope that it will be useful,
  618. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  619. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  620. * GNU Affero General Public License for more details.
  621. *
  622. * You should have received a copy of the GNU Affero General Public License
  623. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  624. *
  625. */
  626. /**
  627. * @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>
  628. *
  629. * @author Julius Härtl <jus@bitgrid.net>
  630. *
  631. * @license GNU AGPL version 3 or any later version
  632. *
  633. * This program is free software: you can redistribute it and/or modify
  634. * it under the terms of the GNU Affero General Public License as
  635. * published by the Free Software Foundation, either version 3 of the
  636. * License, or (at your option) any later version.
  637. *
  638. * This program is distributed in the hope that it will be useful,
  639. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  640. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  641. * GNU Affero General Public License for more details.
  642. *
  643. * You should have received a copy of the GNU Affero General Public License
  644. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  645. *
  646. */
  647. /**
  648. * @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>
  649. *
  650. * @author Julius Härtl <jus@bitgrid.net>
  651. * @author John Molakvoæ <skjnldsv@protonmail.com>
  652. *
  653. * @license GNU AGPL version 3 or any later version
  654. *
  655. * This program is free software: you can redistribute it and/or modify
  656. * it under the terms of the GNU Affero General Public License as
  657. * published by the Free Software Foundation, either version 3 of the
  658. * License, or (at your option) any later version.
  659. *
  660. * This program is distributed in the hope that it will be useful,
  661. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  662. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  663. * GNU Affero General Public License for more details.
  664. *
  665. * You should have received a copy of the GNU Affero General Public License
  666. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  667. *
  668. */
  669. /**
  670. * @copyright Copyright (c) 2019 Marco Ambrosini <marcoambrosini@pm.me>
  671. *
  672. * @author Marco Ambrosini <marcoambrosini@pm.me>
  673. *
  674. * @license GNU AGPL version 3 or any later version
  675. *
  676. * This program is free software: you can redistribute it and/or modify
  677. * it under the terms of the GNU Affero General Public License as
  678. * published by the Free Software Foundation, either version 3 of the
  679. * License, or (at your option) any later version.
  680. *
  681. * This program is distributed in the hope that it will be useful,
  682. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  683. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  684. * GNU Affero General Public License for more details.
  685. *
  686. * You should have received a copy of the GNU Affero General Public License
  687. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  688. *
  689. */
  690. /**
  691. * @copyright Copyright (c) 2019 Marco Ambrosini <marcoambrosini@pm.me>
  692. *
  693. * @author Marco Ambrosini <marcoambrosini@pm.me>
  694. *
  695. * @license GNU AGPL version 3 or any later version
  696. *
  697. * This program is free software: you can redistribute it and/or modify
  698. * it under the terms of the GNU Affero General Public License as
  699. * published by the Free Software Foundation, either version 3 of the
  700. * License, or (at your option) any later version.
  701. *
  702. * This program is distributed in the hope that it will be useful,
  703. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  704. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  705. * GNU Affero General Public License for more details.
  706. *
  707. * You should have received a copy of the GNU Affero General Public License
  708. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  709. *
  710. */
  711. /**
  712. * @copyright Copyright (c) 2020 Georg Ehrke
  713. *
  714. * @author Georg Ehrke <georg-nextcloud@ehrke.email>
  715. *
  716. * @license GNU AGPL version 3 or any later version
  717. *
  718. * This program is free software: you can redistribute it and/or modify
  719. * it under the terms of the GNU Affero General Public License as
  720. * published by the Free Software Foundation, either version 3 of the
  721. * License, or (at your option) any later version.
  722. *
  723. * This program is distributed in the hope that it will be useful,
  724. * but WITHOUT ANY WARRANTY without even the implied warranty of
  725. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  726. * GNU Affero General Public License for more details.
  727. *
  728. * You should have received a copy of the GNU Affero General Public License
  729. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  730. *
  731. */
  732. /**
  733. * @copyright Copyright (c) 2020 Georg Ehrke <georg-nextcloud@ehrke.email>
  734. *
  735. * @author Georg Ehrke <georg-nextcloud@ehrke.email>
  736. *
  737. * @license GNU AGPL version 3 or any later version
  738. *
  739. * This program is free software: you can redistribute it and/or modify
  740. * it under the terms of the GNU Affero General Public License as
  741. * published by the Free Software Foundation, either version 3 of the
  742. * License, or (at your option) any later version.
  743. *
  744. * This program is distributed in the hope that it will be useful,
  745. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  746. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  747. * GNU Affero General Public License for more details.
  748. *
  749. * You should have received a copy of the GNU Affero General Public License
  750. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  751. *
  752. */
  753. /**
  754. * @copyright Copyright (c) 2020 Greta Doci <gretadoci@gmail.com>
  755. *
  756. * @author 2020 Greta Doci <gretadoci@gmail.com>
  757. *
  758. * @license GNU AGPL version 3 or any later version
  759. *
  760. * This program is free software: you can redistribute it and/or modify
  761. * it under the terms of the GNU Affero General Public License as
  762. * published by the Free Software Foundation, either version 3 of the
  763. * License, or (at your option) any later version.
  764. *
  765. * This program is distributed in the hope that it will be useful,
  766. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  767. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  768. * GNU Affero General Public License for more details.
  769. *
  770. * You should have received a copy of the GNU Affero General Public License
  771. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  772. *
  773. */
  774. /**
  775. * @copyright Copyright (c) 2020 John Molakvoæ <skjnldsv@protonmail.com>
  776. *
  777. * @author John Molakvoæ <skjnldsv@protonmail.com>
  778. *
  779. * @license GNU AGPL version 3 or any later version
  780. *
  781. * This program is free software: you can redistribute it and/or modify
  782. * it under the terms of the GNU Affero General Public License as
  783. * published by the Free Software Foundation, either version 3 of the
  784. * License, or (at your option) any later version.
  785. *
  786. * This program is distributed in the hope that it will be useful,
  787. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  788. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  789. * GNU Affero General Public License for more details.
  790. *
  791. * You should have received a copy of the GNU Affero General Public License
  792. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  793. *
  794. */
  795. /**
  796. * @copyright Copyright (c) 2020 Marco Ambrosini <marcoambrosini@pm.me>
  797. *
  798. * @author Marco Ambrosini <marcoambrosini@pm.me>
  799. *
  800. * @license GNU AGPL version 3 or any later version
  801. *
  802. * This program is free software: you can redistribute it and/or modify
  803. * it under the terms of the GNU Affero General Public License as
  804. * published by the Free Software Foundation, either version 3 of the
  805. * License, or (at your option) any later version.
  806. *
  807. * This program is distributed in the hope that it will be useful,
  808. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  809. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  810. * GNU Affero General Public License for more details.
  811. *
  812. * You should have received a copy of the GNU Affero General Public License
  813. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  814. *
  815. */
  816. /**
  817. * @copyright Copyright (c) 2020 Raimund Schlüßler <raimund.schluessler@mailbox.org>
  818. *
  819. * @author Raimund Schlüßler <raimund.schluessler@mailbox.org>
  820. *
  821. * @license GNU AGPL version 3 or any later version
  822. *
  823. * This program is free software: you can redistribute it and/or modify
  824. * it under the terms of the GNU Affero General Public License as
  825. * published by the Free Software Foundation, either version 3 of the
  826. * License, or (at your option) any later version.
  827. *
  828. * This program is distributed in the hope that it will be useful,
  829. * but WITHOUT ANY WARRANTY without even the implied warranty of
  830. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  831. * GNU Affero General Public License for more details.
  832. *
  833. * You should have received a copy of the GNU Affero General Public License
  834. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  835. *
  836. */
  837. /**
  838. * @copyright Copyright (c) 2020 Raimund Schlüßler <raimund.schluessler@mailbox.org>
  839. *
  840. * @author Raimund Schlüßler <raimund.schluessler@mailbox.org>
  841. *
  842. * @license GNU AGPL version 3 or any later version
  843. *
  844. * This program is free software: you can redistribute it and/or modify
  845. * it under the terms of the GNU Affero General Public License as
  846. * published by the Free Software Foundation, either version 3 of the
  847. * License, or (at your option) any later version.
  848. *
  849. * This program is distributed in the hope that it will be useful,
  850. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  851. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  852. * GNU Affero General Public License for more details.
  853. *
  854. * You should have received a copy of the GNU Affero General Public License
  855. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  856. *
  857. */
  858. /**
  859. * @copyright Copyright (c) 2020 Raimund Schlüßler <raimund.schluessler@mailbox.org>
  860. *
  861. * @author Raimund Schlüßler <raimund.schluessler@mailbox.org>
  862. *
  863. * @license GNU AGPL version 3 or any later version
  864. *
  865. * This program is free software: you can redistribute it and/or modify
  866. * it under the terms of the GNU Affero General Public License as
  867. * published by the Free Software Foundation, either version 3 of the
  868. * License, or (at your option) any later version.
  869. *
  870. * This program is distributed in the hope that it will be useful,
  871. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  872. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  873. * GNU Affero General Public License for more details.
  874. *
  875. * You should have received a copy of the GNU Affero General Public License
  876. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  877. *
  878. */
  879. /**
  880. * @copyright Copyright (c) 2021 Christoph Wurst
  881. *
  882. * @author Christoph Wurst <christoph@winzerhof-wurst.at>
  883. *
  884. * @license GNU AGPL version 3 or any later version
  885. *
  886. * This program is free software: you can redistribute it and/or modify
  887. * it under the terms of the GNU Affero General Public License as
  888. * published by the Free Software Foundation, either version 3 of the
  889. * License, or (at your option) any later version.
  890. *
  891. * This program is distributed in the hope that it will be useful,
  892. * but WITHOUT ANY WARRANTY without even the implied warranty of
  893. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  894. * GNU Affero General Public License for more details.
  895. *
  896. * You should have received a copy of the GNU Affero General Public License
  897. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  898. *
  899. */
  900. /**
  901. * @copyright Copyright (c) 2021 John Molakvoæ <skjnldsv@protonmail.com>
  902. *
  903. * @author John Molakvoæ <skjnldsv@protonmail.com>
  904. *
  905. * @license GNU AGPL version 3 or any later version
  906. *
  907. * This program is free software: you can redistribute it and/or modify
  908. * it under the terms of the GNU Affero General Public License as
  909. * published by the Free Software Foundation, either version 3 of the
  910. * License, or (at your option) any later version.
  911. *
  912. * This program is distributed in the hope that it will be useful,
  913. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  914. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  915. * GNU Affero General Public License for more details.
  916. *
  917. * You should have received a copy of the GNU Affero General Public License
  918. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  919. *
  920. */
  921. /**
  922. * @copyright Copyright (c) 2021 Marco Ambrosini <marcoambrosini@pm.me>
  923. *
  924. * @author Marco Ambrosini <marcoambrosini@pm.me>
  925. *
  926. * @license GNU AGPL version 3 or any later version
  927. *
  928. * This program is free software: you can redistribute it and/or modify
  929. * it under the terms of the GNU Affero General Public License as
  930. * published by the Free Software Foundation, either version 3 of the
  931. * License, or (at your option) any later version.
  932. *
  933. * This program is distributed in the hope that it will be useful,
  934. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  935. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  936. * GNU Affero General Public License for more details.
  937. *
  938. * You should have received a copy of the GNU Affero General Public License
  939. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  940. *
  941. */
  942. /**
  943. * @copyright Copyright (c) 2021 Marco Ambrosini <marcoambrosini@pm.me>
  944. *
  945. * @author Marco Ambrosini <marcoambrosini@pm.me>
  946. *
  947. * @license GNU AGPL version 3 or any later version
  948. *
  949. * This program is free software: you can redistribute it and/or modify
  950. * it under the terms of the GNU Affero General Public License as
  951. * published by the Free Software Foundation, either version 3 of the
  952. * License, or (at your option) any later version.
  953. *
  954. * This program is distributed in the hope that it will be useful,
  955. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  956. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  957. * GNU Affero General Public License for more details.
  958. *
  959. * You should have received a copy of the GNU Affero General Public License
  960. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  961. *
  962. */
  963. /**
  964. * @copyright Copyright (c) 2021 Vincent Petry <vincent@nextcloud.com>
  965. *
  966. * @author Vincent Petry <vincent@nextcloud.com>
  967. *
  968. * @license GNU AGPL version 3 or any later version
  969. *
  970. * This program is free software: you can redistribute it and/or modify
  971. * it under the terms of the GNU Affero General Public License as
  972. * published by the Free Software Foundation, either version 3 of the
  973. * License, or (at your option) any later version.
  974. *
  975. * This program is distributed in the hope that it will be useful,
  976. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  977. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  978. * GNU Affero General Public License for more details.
  979. *
  980. * You should have received a copy of the GNU Affero General Public License
  981. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  982. *
  983. */
  984. /**
  985. * @license
  986. * Lodash <https://lodash.com/>
  987. * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
  988. * Released under MIT license <https://lodash.com/license>
  989. * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
  990. * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
  991. */
  992. /**
  993. * Fetches, parses, and transforms CSS custom properties from specified
  994. * <style> and <link> elements into static values, then appends a new <style>
  995. * element with static values to the DOM to provide CSS custom property
  996. * compatibility for legacy browsers. Also provides a single interface for
  997. * live updates of runtime values in both modern and legacy browsers.
  998. *
  999. * @preserve
  1000. * @param {object} [options] Options object
  1001. * @param {object} [options.rootElement=document] Root element to traverse for
  1002. * <link> and <style> nodes
  1003. * @param {boolean} [options.shadowDOM=false] Determines if shadow DOM <link>
  1004. * and <style> nodes will be processed.
  1005. * @param {string} [options.include="style,link[rel=stylesheet]"] CSS selector
  1006. * matching <link re="stylesheet"> and <style> nodes to
  1007. * process
  1008. * @param {string} [options.exclude] CSS selector matching <link
  1009. * rel="stylehseet"> and <style> nodes to exclude from those
  1010. * matches by options.include
  1011. * @param {object} [options.variables] A map of custom property name/value
  1012. * pairs. Property names can omit or include the leading
  1013. * double-hyphen (—), and values specified will override
  1014. * previous values
  1015. * @param {boolean} [options.onlyLegacy=true] Determines if the ponyfill will
  1016. * only generate legacy-compatible CSS in browsers that lack
  1017. * native support (i.e., legacy browsers)
  1018. * @param {boolean} [options.preserveStatic=true] Determines if CSS
  1019. * declarations that do not reference a custom property will
  1020. * be preserved in the transformed CSS
  1021. * @param {boolean} [options.preserveVars=false] Determines if CSS custom
  1022. * property declarations will be preserved in the transformed
  1023. * CSS
  1024. * @param {boolean} [options.silent=false] Determines if warning and error
  1025. * messages will be displayed on the console
  1026. * @param {boolean} [options.updateDOM=true] Determines if the ponyfill will
  1027. * update the DOM after processing CSS custom properties
  1028. * @param {boolean} [options.updateURLs=true] Determines if relative url()
  1029. * paths will be converted to absolute urls in external CSS
  1030. * @param {boolean} [options.watch=false] Determines if a MutationObserver will
  1031. * be created that will execute the ponyfill when a <link> or
  1032. * <style> DOM mutation is observed
  1033. * @param {function} [options.onBeforeSend] Callback before XHR is sent. Passes
  1034. * 1) the XHR object, 2) source node reference, and 3) the
  1035. * source URL as arguments
  1036. * @param {function} [options.onError] Callback after a CSS parsing error has
  1037. * occurred or an XHR request has failed. Passes 1) an error
  1038. * message, and 2) source node reference, 3) xhr, and 4 url as
  1039. * arguments.
  1040. * @param {function} [options.onWarning] Callback after each CSS parsing warning
  1041. * has occurred. Passes 1) a warning message as an argument.
  1042. * @param {function} [options.onSuccess] Callback after CSS data has been
  1043. * collected from each node and before CSS custom properties
  1044. * have been transformed. Allows modifying the CSS data before
  1045. * it is transformed by returning any string value (or false
  1046. * to skip). Passes 1) CSS text, 2) source node reference, and
  1047. * 3) the source URL as arguments.
  1048. * @param {function} [options.onComplete] Callback after all CSS has been
  1049. * processed, legacy-compatible CSS has been generated, and
  1050. * (optionally) the DOM has been updated. Passes 1) a CSS
  1051. * string with CSS variable values resolved, 2) an array of
  1052. * output <style> node references that have been appended to
  1053. * the DOM, 3) an object containing all custom properies names
  1054. * and values, and 4) the ponyfill execution time in
  1055. * milliseconds.
  1056. * @param {function} [options.onFinally] Callback in modern and legacy browsers
  1057. * after the ponyfill has finished all tasks. Passes 1) a
  1058. * boolean indicating if the last ponyfill call resulted in a
  1059. * style change, 2) a boolean indicating if the current
  1060. * browser provides native support for CSS custom properties,
  1061. * and 3) the ponyfill execution time in milliseconds.
  1062. * @example
  1063. *
  1064. * cssVars({
  1065. * rootElement : document,
  1066. * shadowDOM : false,
  1067. * include : 'style,link[rel="stylesheet"]',
  1068. * exclude : '',
  1069. * variables : {},
  1070. * onlyLegacy : true,
  1071. * preserveStatic: true,
  1072. * preserveVars : false,
  1073. * silent : false,
  1074. * updateDOM : true,
  1075. * updateURLs : true,
  1076. * watch : false,
  1077. * onBeforeSend(xhr, node, url) {},
  1078. * onError(message, node, xhr, url) {},
  1079. * onWarning(message) {},
  1080. * onSuccess(cssText, node, url) {},
  1081. * onComplete(cssText, styleNode, cssVariables, benchmark) {},
  1082. * onFinally(hasChanged, hasNativeSupport, benchmark)
  1083. * });
  1084. */
  1085. /**
  1086. * Gets CSS data from <style> and <link> nodes (including @imports), then
  1087. * returns data in order processed by DOM. Allows specifying nodes to
  1088. * include/exclude and filtering CSS data using RegEx.
  1089. *
  1090. * @preserve
  1091. * @param {object} [options] The options object
  1092. * @param {object} [options.rootElement=document] Root element to traverse for
  1093. * <link> and <style> nodes.
  1094. * @param {string} [options.include] CSS selector matching <link> and <style>
  1095. * nodes to include
  1096. * @param {string} [options.exclude] CSS selector matching <link> and <style>
  1097. * nodes to exclude
  1098. * @param {object} [options.filter] Regular expression used to filter node CSS
  1099. * data. Each block of CSS data is tested against the filter,
  1100. * and only matching data is included.
  1101. * @param {boolean} [options.skipDisabled=true] Determines if disabled
  1102. * stylesheets will be skipped while collecting CSS data.
  1103. * @param {boolean} [options.useCSSOM=false] Determines if CSS data will be
  1104. * collected from a stylesheet's runtime values instead of its
  1105. * text content. This is required to get accurate CSS data
  1106. * when a stylesheet has been modified using the deleteRule()
  1107. * or insertRule() methods because these modifications will
  1108. * not be reflected in the stylesheet's text content.
  1109. * @param {function} [options.onBeforeSend] Callback before XHR is sent. Passes
  1110. * 1) the XHR object, 2) source node reference, and 3) the
  1111. * source URL as arguments.
  1112. * @param {function} [options.onSuccess] Callback on each CSS node read. Passes
  1113. * 1) CSS text, 2) source node reference, and 3) the source
  1114. * URL as arguments.
  1115. * @param {function} [options.onError] Callback on each error. Passes 1) the XHR
  1116. * object for inspection, 2) soure node reference, and 3) the
  1117. * source URL that failed (either a <link> href or an @import)
  1118. * as arguments
  1119. * @param {function} [options.onComplete] Callback after all nodes have been
  1120. * processed. Passes 1) concatenated CSS text, 2) an array of
  1121. * CSS text in DOM order, and 3) an array of nodes in DOM
  1122. * order as arguments.
  1123. *
  1124. * @example
  1125. *
  1126. * getCssData({
  1127. * rootElement : document,
  1128. * include : 'style,link[rel="stylesheet"]',
  1129. * exclude : '[href="skip.css"]',
  1130. * filter : /red/,
  1131. * skipDisabled: true,
  1132. * useCSSOM : false,
  1133. * onBeforeSend(xhr, node, url) {
  1134. * // ...
  1135. * }
  1136. * onSuccess(cssText, node, url) {
  1137. * // ...
  1138. * }
  1139. * onError(xhr, node, url) {
  1140. * // ...
  1141. * },
  1142. * onComplete(cssText, cssArray, nodeArray) {
  1143. * // ...
  1144. * }
  1145. * });
  1146. */
  1147. /**
  1148. * vue-local-storage v0.6.0
  1149. * (c) 2017 Alexander Avakov
  1150. * @license MIT
  1151. */
  1152. /**
  1153. * @license nested-property https://github.com/cosmosio/nested-property
  1154. *
  1155. * The MIT License (MIT)
  1156. *
  1157. * Copyright (c) 2014-2020 Olivier Scherrer <pode.fr@gmail.com>
  1158. */
  1159. /**!
  1160. * @fileOverview Kickass library to create and place poppers near their reference elements.
  1161. * @version 1.16.1
  1162. * @license
  1163. * Copyright (c) 2016 Federico Zivolo and contributors
  1164. *
  1165. * Permission is hereby granted, free of charge, to any person obtaining a copy
  1166. * of this software and associated documentation files (the "Software"), to deal
  1167. * in the Software without restriction, including without limitation the rights
  1168. * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  1169. * copies of the Software, and to permit persons to whom the Software is
  1170. * furnished to do so, subject to the following conditions:
  1171. *
  1172. * The above copyright notice and this permission notice shall be included in all
  1173. * copies or substantial portions of the Software.
  1174. *
  1175. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  1176. * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  1177. * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  1178. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  1179. * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  1180. * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  1181. * SOFTWARE.
  1182. */
  1183. /**!
  1184. * Sortable 1.10.2
  1185. * @author RubaXa <trash@rubaxa.org>
  1186. * @author owenm <owen23355@gmail.com>
  1187. * @license MIT
  1188. */
  1189. //! Copyright (c) JS Foundation and other contributors
  1190. //! github.com/moment/moment-timezone
  1191. //! license : MIT
  1192. //! moment-timezone.js
  1193. //! moment.js
  1194. //! moment.js locale configuration
  1195. //! version : 0.5.34