less copy protection, more size visualization
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 

506 Zeilen
14 KiB

  1. const attributionData = {
  2. sources: [
  3. {
  4. prefix: "./media/buildings/",
  5. files: [
  6. { name: "house.svg", source: null },
  7. { name: "mailbox.svg", source: null },
  8. { name: "mobile-home.svg", source: null },
  9. ],
  10. authors: [
  11. "chemicalcrux"
  12. ]
  13. },
  14. {
  15. prefix: "./media/buildings/skyscrapers/",
  16. files: [
  17. { name: "wide.svg", source: null },
  18. { name: "medium.svg", source: null },
  19. { name: "slender.svg", source: null },
  20. { name: "narrow.svg", source: null },
  21. ],
  22. authors: [
  23. "chemicalcrux"
  24. ]
  25. },
  26. {
  27. prefix: "./media/characters/abysgar/",
  28. files: [
  29. { name: "front.svg", source: "https://www.furaffinity.net/view/32424108/" }
  30. ],
  31. authors: [
  32. "clown-grin",
  33. "labratkuma"
  34. ],
  35. owners: [
  36. ]
  37. },
  38. {
  39. prefix: "./media/characters/adake/",
  40. files: [
  41. { name: "front-1.svg", source: "https://www.furaffinity.net/view/26253324/" },
  42. { name: "front-2.svg", source: "https://www.furaffinity.net/view/26253324/" },
  43. { name: "back.svg", source: "https://www.furaffinity.net/view/26253324/" },
  44. { name: "kneel.svg", source: "https://www.furaffinity.net/view/26253324/" },
  45. ],
  46. authors: [
  47. "oselotti"
  48. ],
  49. owners: [
  50. "Dialuca01"
  51. ]
  52. },
  53. {
  54. prefix: "./media/characters/aigey/",
  55. files: [
  56. { name: "side.svg", source: "https://www.furaffinity.net/view/12006265/" }
  57. ],
  58. authors: [
  59. "just-a-little-mixed-up"
  60. ],
  61. owners: [
  62. ]
  63. },
  64. {
  65. prefix: "./media/characters/akari/",
  66. files: [
  67. { name: "front.svg", source: "https://www.furaffinity.net/view/21329356/" }
  68. ],
  69. authors: [
  70. "spyropurple"
  71. ],
  72. owners: [
  73. ]
  74. },
  75. {
  76. prefix: "./media/characters/andy/",
  77. files: [
  78. { name: "front.svg", source: null }
  79. ],
  80. authors: [
  81. "cardboardhead"
  82. ],
  83. owners: [
  84. ]
  85. },
  86. {
  87. prefix: "./media/characters/angelpatamon/",
  88. files: [
  89. { name: "front.svg", source: "http://www.furaffinity.net/view/26475369/" }
  90. ],
  91. authors: [
  92. "mallowchu"
  93. ]
  94. },
  95. {
  96. prefix: "./media/characters/appledectomy/",
  97. files: [
  98. { name: "front.svg", source: "https://www.furaffinity.net/view/33002197/" }
  99. ],
  100. authors: [
  101. "stonerabbit"
  102. ],
  103. owners: [
  104. "appledectomy"
  105. ]
  106. },
  107. {
  108. prefix: "./media/characters/asana/",
  109. files: [
  110. { name: "front.svg", source: "https://www.furaffinity.net/view/35087729/" },
  111. { name: "back.svg", source: "https://www.furaffinity.net/view/35087729/" },
  112. ],
  113. authors: [
  114. "silverwingink"
  115. ],
  116. owners: [
  117. "aviraptia"
  118. ]
  119. },
  120. {
  121. prefix: "./media/characters/asana/",
  122. files: [
  123. { name: "front.svg", source: "https://www.furaffinity.net/view/35087729/" },
  124. { name: "back.svg", source: "https://www.furaffinity.net/view/35087729/" },
  125. ],
  126. authors: [
  127. "silverwingink"
  128. ],
  129. owners: [
  130. "aviraptia"
  131. ]
  132. },
  133. {
  134. prefix: "./media/characters/asana-mech/",
  135. files: [
  136. { name: "side.svg", source: null }
  137. ],
  138. authors: [
  139. "ashtrek"
  140. ],
  141. owners: [
  142. "aviraptia"
  143. ]
  144. },
  145. {
  146. prefix: "./media/characters/ashtrek/",
  147. files: [
  148. { name: "front.svg", source: null },
  149. { name: "front-armor.svg", source: null },
  150. ],
  151. authors: [
  152. "silverwingink"
  153. ],
  154. owners: [
  155. "ashtrek"
  156. ]
  157. },
  158. {
  159. prefix: "./media/characters/blake/",
  160. files: [
  161. { name: "side.svg", source: "https://www.furaffinity.net/view/30676178/" },
  162. { name: "crouched.svg", source: "https://www.furaffinity.net/view/30676178/" },
  163. { name: "bent.svg", source: "https://www.furaffinity.net/view/30676178/" },
  164. ],
  165. authors: [
  166. "zyraxus"
  167. ],
  168. owners: [
  169. "kurrikage"
  170. ]
  171. },
  172. {
  173. prefix: "./media/characters/cibus/",
  174. files: [
  175. { name: "side.svg", source: "https://www.furaffinity.net/view/15534343/" }
  176. ],
  177. authors: [
  178. "jaydom"
  179. ],
  180. owners: [
  181. "movler"
  182. ]
  183. },
  184. {
  185. prefix: "./media/characters/jaro/",
  186. files: [
  187. { name: "front.svg", source: "https://www.furaffinity.net/view/26084387/" },
  188. { name: "back.svg", source: "https://www.furaffinity.net/view/26084387/" }
  189. ],
  190. authors: [
  191. "mizumisensei"
  192. ],
  193. owners: [
  194. "jaro-the-dragon"
  195. ]
  196. },
  197. {
  198. prefix: "./media/characters/malfressa/",
  199. files: [
  200. { name: "side.svg", source: "https://www.furaffinity.net/view/25377262/" },
  201. { name: "feral.svg", source: "https://www.furaffinity.net/view/25377262/" }
  202. ],
  203. authors: [
  204. "d-eath-tail"
  205. ],
  206. owners: [
  207. "scareye"
  208. ]
  209. },
  210. {
  211. prefix: "./media/characters/malfressa/",
  212. files: [
  213. { name: "walking.svg", source: "https://www.furaffinity.net/view/23877052/" }
  214. ],
  215. authors: [
  216. "kerneldecoy"
  217. ],
  218. owners: [
  219. "scareye"
  220. ]
  221. },
  222. {
  223. prefix: "./media/characters/nibbles/",
  224. files: [
  225. { name: "front.svg", source: "https://www.furaffinity.net/view/22964778/" },
  226. { name: "side.svg", source: "https://www.furaffinity.net/view/22964778/" },
  227. ],
  228. authors: [
  229. "dragga"
  230. ],
  231. owners: [
  232. "movler"
  233. ]
  234. },
  235. {
  236. prefix: "./media/characters/rikky/",
  237. files: [
  238. { name: "side.svg", source: null }
  239. ],
  240. authors: [
  241. "ethan64"
  242. ],
  243. owners: [
  244. "quake-yote"
  245. ]
  246. },
  247. {
  248. prefix: "./media/characters/surgo/",
  249. files: [
  250. { name: "front.svg", source: "https://www.furaffinity.net/view/33348481/" },
  251. { name: "back.svg", source: "https://www.furaffinity.net/view/33348481/" },
  252. { name: "laying.svg", source: "https://www.furaffinity.net/view/33348481/" },
  253. ],
  254. authors: [
  255. "gaiawolfess",
  256. "malakhael"
  257. ],
  258. owners: [
  259. "movler"
  260. ]
  261. },
  262. {
  263. prefix: "./media/characters/tiberius/",
  264. files: [
  265. { name: "front.svg", source: "https://www.furaffinity.net/view/34977812/" },
  266. { name: "back.svg", source: "https://www.furaffinity.net/view/34977812/" }
  267. ],
  268. authors: [
  269. "Rebonica"
  270. ],
  271. owners: [
  272. "movler"
  273. ]
  274. },
  275. {
  276. prefix: "./media/characters/",
  277. files: [
  278. { name: "", source: "" }
  279. ],
  280. authors: [
  281. ]
  282. },
  283. {
  284. prefix: "./media/objects/humans/",
  285. files: [
  286. { name: "woman-1.svg", source: "https://commons.wikimedia.org/wiki/File:1Silhouette_Female.svg" }
  287. ],
  288. authors: [
  289. "phil-bronnery",
  290. "beao"
  291. ]
  292. },
  293. {
  294. prefix: "./media/objects/humans/",
  295. files: [
  296. { name: "man-1.svg", source: "https://commons.wikimedia.org/wiki/File:Silhouette.svg" }
  297. ],
  298. authors: [
  299. ]
  300. },
  301. ],
  302. people: {
  303. "appledectomy": {
  304. name: "Appledectomy",
  305. url: "https://www.furaffinity.net/user/appledectomy"
  306. },
  307. "ashtrek": {
  308. name: "Ashtrek",
  309. url: "https://www.furaffinity.net/user/ashtrek/"
  310. },
  311. "aviraptia": {
  312. name: "Aviraptia",
  313. url: "https://www.furaffinity.net/user/aviraptia/"
  314. },
  315. "beao": {
  316. name: "Beao",
  317. url: "https://commons.wikimedia.org/wiki/User:Beao"
  318. },
  319. "cardboardhead": {
  320. name: "cardboardhead",
  321. url: "https://twitter.com/cardboardhead"
  322. },
  323. "chemicalcrux": {
  324. name: "chemicalcrux",
  325. url: "https://www.furaffinity.net/user/chemicalcrux"
  326. },
  327. "clown-grin": {
  328. name: "clown-grin",
  329. url: "https://www.furaffinity.net/user/clown-grin"
  330. },
  331. "d-eath-tail": {
  332. name: "Deathy",
  333. url: "https://www.furaffinity.net/user/d-eath-tail"
  334. },
  335. "Dialuca01": {
  336. name: "Dialuca",
  337. url: "https://www.furaffinity.net/user/dialuca01"
  338. },
  339. "dragga": {
  340. name: "Dragga",
  341. url: "https://www.furaffinity.net/user/dragga"
  342. },
  343. "ethan64": {
  344. name: "Ethan64",
  345. url: "https://www.furaffinity.net/user/ethan64/"
  346. },
  347. "gaiawolfess": {
  348. name: "Gaiawolfess",
  349. url: "https://www.furaffinity.net/user/gaiawolfess"
  350. },
  351. "jaro-the-dragon": {
  352. name: "Jaro",
  353. url: "https://www.furaffinity.net/user/jarothedragon/"
  354. },
  355. "jaydom": {
  356. name: "Jaydom",
  357. url: "https://www.furaffinity.net/user/jaydom"
  358. },
  359. "just-a-little-mixed-up": {
  360. name: "just-a-little-mixed-up",
  361. url: "https://www.furaffinity.net/user/just-a-little-mixed-up"
  362. },
  363. "kerneldecoy": {
  364. name: "Kernel Decoy",
  365. url: "https://www.furaffinity.net/user/kerneldecoy/"
  366. },
  367. "kurrikage": {
  368. name: "Kurrikage",
  369. url: "https://www.furaffinity.net/user/kurrikage/"
  370. },
  371. "labratkuma": {
  372. name: "labratkuma",
  373. url: "https://www.furaffinity.net/user/labratkuma"
  374. },
  375. "malakhael": {
  376. name: "Malakhael",
  377. url: "https://www.furaffinity.net/user/malakhael"
  378. },
  379. "mallowchu": {
  380. name: "Mallowchu",
  381. url: "https://www.furaffinity.net/user/mallowchu"
  382. },
  383. "mizumisensei": {
  384. name: "Mizumisensei",
  385. url: "https://twitter.com/mizumisensei"
  386. },
  387. "movler": {
  388. name: "Movler",
  389. url: "https://www.furaffinity.net/user/movler/"
  390. },
  391. "oselotti": {
  392. name: "Oselotti",
  393. url: "https://www.furaffinity.net/user/oselotti"
  394. },
  395. "phil-bronnery": {
  396. name: "Phil Bronnery",
  397. url: "https://www.flickr.com/people/27919241@N02"
  398. },
  399. "quake-yote": {
  400. name: "Quake Yote",
  401. url: "https://www.furaffinity.net/user/rokossovskiy"
  402. },
  403. "Rebonica": {
  404. name: "Rebonica",
  405. url: "https://www.furaffinity.net/user/rebonica"
  406. },
  407. "scareye": {
  408. name: "Scareye",
  409. url: "https://www.furaffinity.net/user/scareye/"
  410. },
  411. "silverwingink": {
  412. name: "silverwingink",
  413. url: "https://www.furaffinity.net/gallery/silverwingink/"
  414. },
  415. "spyropurple": {
  416. name: "spyropurple",
  417. url: "https://www.furaffinity.net/user/spyropurple/"
  418. },
  419. "stonerabbit": {
  420. name: "stonerabbit",
  421. url: "https://www.furaffinity.net/user/stonerabbit/"
  422. },
  423. "zyraxus": {
  424. name: "Zyraxus",
  425. url: "https://www.furaffinity.net/user/zyraxus"
  426. }
  427. }
  428. }
  429. const attribution = {};
  430. function prepareAttribution() {
  431. attribution["files"] = {};
  432. attributionData.sources.forEach(citation => {
  433. citation.files.forEach(file => {
  434. attribution.files[citation.prefix + file.name] = {
  435. authors: citation.authors,
  436. owners: citation.owners,
  437. source: file.source
  438. }
  439. })
  440. });
  441. }
  442. function authorsOf(file) {
  443. if (attribution.files[file])
  444. return attribution.files[file].authors;
  445. else
  446. return undefined;
  447. }
  448. function authorsOfFull(file) {
  449. if (attribution.files[file]) {
  450. const result = [];
  451. attribution.files[file].authors.forEach(author => {
  452. result.push(attributionData.people[author]);
  453. });
  454. return result;
  455. }
  456. else
  457. return undefined;
  458. }
  459. function ownersOf(file) {
  460. if (attribution.files[file])
  461. return attribution.files[file].owners;
  462. else
  463. return undefined;
  464. }
  465. function ownersOfFull(file) {
  466. if (attribution.files[file]) {
  467. if (attribution.files[file].owners !== undefined) {
  468. const result = [];
  469. attribution.files[file].owners.forEach(owner => {
  470. result.push(attributionData.people[owner]);
  471. });
  472. return result;
  473. } else {
  474. return [];
  475. }
  476. }
  477. else
  478. return undefined;
  479. }
  480. function sourceOf(file) {
  481. if (attribution.files[file])
  482. return attribution.files[file].source;
  483. else
  484. return undefined;
  485. }
  486. prepareAttribution();