less copy protection, more size visualization
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.
 
 
 

649 lines
18 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/alicia/",
  77. files: [
  78. { name: "anthro.svg", source: "https://www.furaffinity.net/view/31363235/" }
  79. ],
  80. authors: [
  81. "helisa-adopts",
  82. "chesta"
  83. ],
  84. owners: [
  85. "little-big-x110"
  86. ]
  87. },
  88. {
  89. prefix: "./media/characters/alicia/",
  90. files: [
  91. { name: "feral.svg", source: "https://www.furaffinity.net/view/34138885/" }
  92. ],
  93. authors: [
  94. "little-big-x110",
  95. "helisa-adopts",
  96. "chesta"
  97. ],
  98. owners: [
  99. "little-big-x110"
  100. ]
  101. },
  102. {
  103. prefix: "./media/characters/andy/",
  104. files: [
  105. { name: "front.svg", source: null }
  106. ],
  107. authors: [
  108. "cardboardhead"
  109. ],
  110. owners: [
  111. ]
  112. },
  113. {
  114. prefix: "./media/characters/angelpatamon/",
  115. files: [
  116. { name: "front.svg", source: "http://www.furaffinity.net/view/26475369/" }
  117. ],
  118. authors: [
  119. "mallowchu"
  120. ]
  121. },
  122. {
  123. prefix: "./media/characters/appledectomy/",
  124. files: [
  125. { name: "front.svg", source: "https://www.furaffinity.net/view/33002197/" }
  126. ],
  127. authors: [
  128. "stonerabbit"
  129. ],
  130. owners: [
  131. "appledectomy"
  132. ]
  133. },
  134. {
  135. prefix: "./media/characters/archy/",
  136. files: [
  137. { name: "front.svg", source: "https://www.furaffinity.net/view/17286706/" }
  138. ],
  139. authors: [
  140. "twitch-the-dragon"
  141. ],
  142. owners: [
  143. "archy-d"
  144. ]
  145. },
  146. {
  147. prefix: "./media/characters/asana/",
  148. files: [
  149. { name: "front.svg", source: "https://www.furaffinity.net/view/35087729/" },
  150. { name: "back.svg", source: "https://www.furaffinity.net/view/35087729/" },
  151. ],
  152. authors: [
  153. "silverwingink"
  154. ],
  155. owners: [
  156. "aviraptia"
  157. ]
  158. },
  159. {
  160. prefix: "./media/characters/asana/",
  161. files: [
  162. { name: "front.svg", source: "https://www.furaffinity.net/view/35087729/" },
  163. { name: "back.svg", source: "https://www.furaffinity.net/view/35087729/" },
  164. ],
  165. authors: [
  166. "silverwingink"
  167. ],
  168. owners: [
  169. "aviraptia"
  170. ]
  171. },
  172. {
  173. prefix: "./media/characters/asana-mech/",
  174. files: [
  175. { name: "side.svg", source: null }
  176. ],
  177. authors: [
  178. "ashtrek"
  179. ],
  180. owners: [
  181. "aviraptia"
  182. ]
  183. },
  184. {
  185. prefix: "./media/characters/ashtrek/",
  186. files: [
  187. { name: "front.svg", source: null },
  188. { name: "front-armor.svg", source: null },
  189. ],
  190. authors: [
  191. "silverwingink"
  192. ],
  193. owners: [
  194. "ashtrek"
  195. ]
  196. },
  197. {
  198. prefix: "./media/characters/blake/",
  199. files: [
  200. { name: "side.svg", source: "https://www.furaffinity.net/view/30676178/" },
  201. { name: "crouched.svg", source: "https://www.furaffinity.net/view/30676178/" },
  202. { name: "bent.svg", source: "https://www.furaffinity.net/view/30676178/" },
  203. ],
  204. authors: [
  205. "zyraxus"
  206. ],
  207. owners: [
  208. "kurrikage"
  209. ]
  210. },
  211. {
  212. prefix: "./media/characters/cibus/",
  213. files: [
  214. { name: "side.svg", source: "https://www.furaffinity.net/view/15534343/" }
  215. ],
  216. authors: [
  217. "jaydom"
  218. ],
  219. owners: [
  220. "movler"
  221. ]
  222. },
  223. {
  224. prefix: "./media/characters/gemini/",
  225. files: [
  226. { name: "front.svg", source: "https://www.furaffinity.net/view/31363584/" },
  227. { name: "back.svg", source: "https://www.furaffinity.net/view/31363584/" },
  228. ],
  229. authors: [
  230. "rebonica"
  231. ],
  232. owners: [
  233. "geminimacro"
  234. ]
  235. },
  236. {
  237. prefix: "./media/characters/gemini/",
  238. files: [
  239. { name: "kneeling.svg", source: "https://www.furaffinity.net/view/31295122/" },
  240. ],
  241. authors: [
  242. "furrypur"
  243. ],
  244. owners: [
  245. "geminimacro"
  246. ]
  247. },
  248. {
  249. prefix: "./media/characters/jaro/",
  250. files: [
  251. { name: "front.svg", source: "https://www.furaffinity.net/view/26084387/" },
  252. { name: "back.svg", source: "https://www.furaffinity.net/view/26084387/" }
  253. ],
  254. authors: [
  255. "mizumisensei"
  256. ],
  257. owners: [
  258. "jaro-the-dragon"
  259. ]
  260. },
  261. {
  262. prefix: "./media/characters/malfressa/",
  263. files: [
  264. { name: "side.svg", source: "https://www.furaffinity.net/view/25377262/" },
  265. { name: "feral.svg", source: "https://www.furaffinity.net/view/25377262/" }
  266. ],
  267. authors: [
  268. "d-eath-tail"
  269. ],
  270. owners: [
  271. "scareye"
  272. ]
  273. },
  274. {
  275. prefix: "./media/characters/malfressa/",
  276. files: [
  277. { name: "walking.svg", source: "https://www.furaffinity.net/view/23877052/" }
  278. ],
  279. authors: [
  280. "kerneldecoy"
  281. ],
  282. owners: [
  283. "scareye"
  284. ]
  285. },
  286. {
  287. prefix: "./media/characters/nibbles/",
  288. files: [
  289. { name: "front.svg", source: "https://www.furaffinity.net/view/22964778/" },
  290. { name: "side.svg", source: "https://www.furaffinity.net/view/22964778/" },
  291. ],
  292. authors: [
  293. "dragga"
  294. ],
  295. owners: [
  296. "movler"
  297. ]
  298. },
  299. {
  300. prefix: "./media/characters/piper/",
  301. files: [
  302. { name: "front.svg", source: "https://www.furaffinity.net/view/22964778/" }
  303. ],
  304. authors: [
  305. "brit-bork"
  306. ],
  307. owners: [
  308. "flyhar"
  309. ]
  310. },
  311. {
  312. prefix: "./media/characters/rikky/",
  313. files: [
  314. { name: "side.svg", source: null }
  315. ],
  316. authors: [
  317. "ethan64"
  318. ],
  319. owners: [
  320. "quake-yote"
  321. ]
  322. },
  323. {
  324. prefix: "./media/characters/rogue/",
  325. files: [
  326. { name: "front.svg", source: "http://rogue.macrophile.com/ken" }
  327. ],
  328. authors: [
  329. "cougr"
  330. ],
  331. owners: [
  332. "rogue"
  333. ]
  334. },
  335. {
  336. prefix: "./media/characters/surgo/",
  337. files: [
  338. { name: "front.svg", source: "https://www.furaffinity.net/view/33348481/" },
  339. { name: "back.svg", source: "https://www.furaffinity.net/view/33348481/" },
  340. { name: "laying.svg", source: "https://www.furaffinity.net/view/33348481/" },
  341. ],
  342. authors: [
  343. "gaiawolfess",
  344. "malakhael"
  345. ],
  346. owners: [
  347. "movler"
  348. ]
  349. },
  350. {
  351. prefix: "./media/characters/tiberius/",
  352. files: [
  353. { name: "front.svg", source: "https://www.furaffinity.net/view/34977812/" },
  354. { name: "back.svg", source: "https://www.furaffinity.net/view/34977812/" }
  355. ],
  356. authors: [
  357. "rebonica"
  358. ],
  359. owners: [
  360. "movler"
  361. ]
  362. },
  363. {
  364. prefix: "./media/characters/",
  365. files: [
  366. { name: "", source: "" }
  367. ],
  368. authors: [
  369. ]
  370. },
  371. {
  372. prefix: "./media/objects/humans/",
  373. files: [
  374. { name: "woman-1.svg", source: "https://commons.wikimedia.org/wiki/File:1Silhouette_Female.svg" }
  375. ],
  376. authors: [
  377. "phil-bronnery",
  378. "beao"
  379. ]
  380. },
  381. {
  382. prefix: "./media/objects/humans/",
  383. files: [
  384. { name: "man-1.svg", source: "https://commons.wikimedia.org/wiki/File:Silhouette.svg" }
  385. ],
  386. authors: [
  387. ]
  388. },
  389. {
  390. prefix: "./media/vehicles/",
  391. files: [
  392. { name: "titanic.svg", source: "https://creazilla.com/nodes/873-titanic-silhouette" },
  393. { name: "vertical-titanic.svg", source: "https://creazilla.com/nodes/873-titanic-silhouette" }
  394. ],
  395. authors: [
  396. ]
  397. },
  398. ],
  399. people: {
  400. "appledectomy": {
  401. name: "Appledectomy",
  402. url: "https://www.furaffinity.net/user/appledectomy"
  403. },
  404. "archy-d": {
  405. name: "ArchyD",
  406. url: "https://www.furaffinity.net/user/ArchyD"
  407. },
  408. "ashtrek": {
  409. name: "Ashtrek",
  410. url: "https://www.furaffinity.net/user/ashtrek/"
  411. },
  412. "aviraptia": {
  413. name: "Aviraptia",
  414. url: "https://www.furaffinity.net/user/aviraptia/"
  415. },
  416. "beao": {
  417. name: "Beao",
  418. url: "https://commons.wikimedia.org/wiki/User:Beao"
  419. },
  420. "brit-bork": {
  421. name: "Koijot",
  422. url: "https://twitter.com/Brit_Bork",
  423. },
  424. "cardboardhead": {
  425. name: "cardboardhead",
  426. url: "https://twitter.com/cardboardhead"
  427. },
  428. "chemicalcrux": {
  429. name: "chemicalcrux",
  430. url: "https://www.furaffinity.net/user/chemicalcrux"
  431. },
  432. "chesta": {
  433. name: "Chesta",
  434. url: "https://www.furaffinity.net/user/chesta"
  435. },
  436. "clown-grin": {
  437. name: "clown-grin",
  438. url: "https://www.furaffinity.net/user/clown-grin"
  439. },
  440. "cougr": {
  441. name: "Cougr",
  442. url: "https://www.furaffinity.net/user/cougr"
  443. },
  444. "d-eath-tail": {
  445. name: "Deathy",
  446. url: "https://www.furaffinity.net/user/d-eath-tail"
  447. },
  448. "Dialuca01": {
  449. name: "Dialuca",
  450. url: "https://www.furaffinity.net/user/dialuca01"
  451. },
  452. "dragga": {
  453. name: "Dragga",
  454. url: "https://www.furaffinity.net/user/dragga"
  455. },
  456. "ethan64": {
  457. name: "Ethan64",
  458. url: "https://www.furaffinity.net/user/ethan64/"
  459. },
  460. "flyhar": {
  461. name: "Flyhar",
  462. url: "https://www.furaffinity.net/user/flyfeline/"
  463. },
  464. "furrypur": {
  465. name: "FurryPur",
  466. url: "https://www.furaffinity.net/user/furrypur/"
  467. },
  468. "gaiawolfess": {
  469. name: "Gaiawolfess",
  470. url: "https://www.furaffinity.net/user/gaiawolfess"
  471. },
  472. "geminimacro": {
  473. name: "geminimacro",
  474. url: "https://www.furaffinity.net/user/lajay"
  475. },
  476. "helisa-adopts": {
  477. name: "Helisa",
  478. url: "https://www.furaffinity.net/user/HelisaAdopts"
  479. },
  480. "jaro-the-dragon": {
  481. name: "Jaro",
  482. url: "https://www.furaffinity.net/user/jarothedragon/"
  483. },
  484. "jaydom": {
  485. name: "Jaydom",
  486. url: "https://www.furaffinity.net/user/jaydom"
  487. },
  488. "just-a-little-mixed-up": {
  489. name: "just-a-little-mixed-up",
  490. url: "https://www.furaffinity.net/user/just-a-little-mixed-up"
  491. },
  492. "kerneldecoy": {
  493. name: "Kernel Decoy",
  494. url: "https://www.furaffinity.net/user/kerneldecoy/"
  495. },
  496. "kurrikage": {
  497. name: "Kurrikage",
  498. url: "https://www.furaffinity.net/user/kurrikage/"
  499. },
  500. "labratkuma": {
  501. name: "labratkuma",
  502. url: "https://www.furaffinity.net/user/labratkuma"
  503. },
  504. "little-big-x110": {
  505. name: "LittleBig",
  506. url: "https://www.furaffinity.net/user/LittlebigX110"
  507. },
  508. "malakhael": {
  509. name: "Malakhael",
  510. url: "https://www.furaffinity.net/user/malakhael"
  511. },
  512. "mallowchu": {
  513. name: "Mallowchu",
  514. url: "https://www.furaffinity.net/user/mallowchu"
  515. },
  516. "mizumisensei": {
  517. name: "Mizumisensei",
  518. url: "https://twitter.com/mizumisensei"
  519. },
  520. "movler": {
  521. name: "Movler",
  522. url: "https://www.furaffinity.net/user/movler/"
  523. },
  524. "oselotti": {
  525. name: "Oselotti",
  526. url: "https://www.furaffinity.net/user/oselotti"
  527. },
  528. "phil-bronnery": {
  529. name: "Phil Bronnery",
  530. url: "https://www.flickr.com/people/27919241@N02"
  531. },
  532. "quake-yote": {
  533. name: "Quake Yote",
  534. url: "https://www.furaffinity.net/user/rokossovskiy"
  535. },
  536. "rebonica": {
  537. name: "Rebonica",
  538. url: "https://www.furaffinity.net/user/rebonica"
  539. },
  540. "rogue": {
  541. name: "Rogue Megawolf",
  542. url: "https://twitter.com/roguemegawolf"
  543. },
  544. "scareye": {
  545. name: "Scareye",
  546. url: "https://www.furaffinity.net/user/scareye/"
  547. },
  548. "silverwingink": {
  549. name: "silverwingink",
  550. url: "https://www.furaffinity.net/gallery/silverwingink/"
  551. },
  552. "spyropurple": {
  553. name: "spyropurple",
  554. url: "https://www.furaffinity.net/user/spyropurple/"
  555. },
  556. "stonerabbit": {
  557. name: "stonerabbit",
  558. url: "https://www.furaffinity.net/user/stonerabbit/"
  559. },
  560. "twitch-the-dragon": {
  561. name: "Twitch",
  562. url: "https://www.furaffinity.net/user/twitchthedragon/"
  563. },
  564. "zyraxus": {
  565. name: "Zyraxus",
  566. url: "https://www.furaffinity.net/user/zyraxus"
  567. }
  568. }
  569. }
  570. const attribution = {};
  571. function prepareAttribution() {
  572. attribution["files"] = {};
  573. attributionData.sources.forEach(citation => {
  574. citation.files.forEach(file => {
  575. attribution.files[citation.prefix + file.name] = {
  576. authors: citation.authors,
  577. owners: citation.owners,
  578. source: file.source
  579. }
  580. })
  581. });
  582. }
  583. function authorsOf(file) {
  584. if (attribution.files[file])
  585. return attribution.files[file].authors;
  586. else
  587. return undefined;
  588. }
  589. function authorsOfFull(file) {
  590. if (attribution.files[file]) {
  591. const result = [];
  592. attribution.files[file].authors.forEach(author => {
  593. result.push(attributionData.people[author]);
  594. });
  595. return result;
  596. }
  597. else
  598. return undefined;
  599. }
  600. function ownersOf(file) {
  601. if (attribution.files[file])
  602. return attribution.files[file].owners;
  603. else
  604. return undefined;
  605. }
  606. function ownersOfFull(file) {
  607. if (attribution.files[file]) {
  608. if (attribution.files[file].owners !== undefined) {
  609. const result = [];
  610. attribution.files[file].owners.forEach(owner => {
  611. result.push(attributionData.people[owner]);
  612. });
  613. return result;
  614. } else {
  615. return [];
  616. }
  617. }
  618. else
  619. return undefined;
  620. }
  621. function sourceOf(file) {
  622. if (attribution.files[file])
  623. return attribution.files[file].source;
  624. else
  625. return undefined;
  626. }
  627. prepareAttribution();