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.
 
 
 

670 lines
19 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/berri/",
  199. files: [
  200. { name: "front.svg", source: "https://www.furaffinity.net/view/34510917/" }
  201. ],
  202. authors: [
  203. "lynxsprout",
  204. "sugarbeans"
  205. ],
  206. owners: [
  207. "little-big-x110"
  208. ]
  209. },
  210. {
  211. prefix: "./media/characters/blake/",
  212. files: [
  213. { name: "side.svg", source: "https://www.furaffinity.net/view/30676178/" },
  214. { name: "crouched.svg", source: "https://www.furaffinity.net/view/30676178/" },
  215. { name: "bent.svg", source: "https://www.furaffinity.net/view/30676178/" },
  216. ],
  217. authors: [
  218. "zyraxus"
  219. ],
  220. owners: [
  221. "kurrikage"
  222. ]
  223. },
  224. {
  225. prefix: "./media/characters/cibus/",
  226. files: [
  227. { name: "side.svg", source: "https://www.furaffinity.net/view/15534343/" }
  228. ],
  229. authors: [
  230. "jaydom"
  231. ],
  232. owners: [
  233. "movler"
  234. ]
  235. },
  236. {
  237. prefix: "./media/characters/gemini/",
  238. files: [
  239. { name: "front.svg", source: "https://www.furaffinity.net/view/31363584/" },
  240. { name: "back.svg", source: "https://www.furaffinity.net/view/31363584/" },
  241. ],
  242. authors: [
  243. "rebonica"
  244. ],
  245. owners: [
  246. "geminimacro"
  247. ]
  248. },
  249. {
  250. prefix: "./media/characters/gemini/",
  251. files: [
  252. { name: "kneeling.svg", source: "https://www.furaffinity.net/view/31295122/" },
  253. ],
  254. authors: [
  255. "furrypur"
  256. ],
  257. owners: [
  258. "geminimacro"
  259. ]
  260. },
  261. {
  262. prefix: "./media/characters/jaro/",
  263. files: [
  264. { name: "front.svg", source: "https://www.furaffinity.net/view/26084387/" },
  265. { name: "back.svg", source: "https://www.furaffinity.net/view/26084387/" }
  266. ],
  267. authors: [
  268. "mizumisensei"
  269. ],
  270. owners: [
  271. "jaro-the-dragon"
  272. ]
  273. },
  274. {
  275. prefix: "./media/characters/malfressa/",
  276. files: [
  277. { name: "side.svg", source: "https://www.furaffinity.net/view/25377262/" },
  278. { name: "feral.svg", source: "https://www.furaffinity.net/view/25377262/" }
  279. ],
  280. authors: [
  281. "d-eath-tail"
  282. ],
  283. owners: [
  284. "scareye"
  285. ]
  286. },
  287. {
  288. prefix: "./media/characters/malfressa/",
  289. files: [
  290. { name: "walking.svg", source: "https://www.furaffinity.net/view/23877052/" }
  291. ],
  292. authors: [
  293. "kerneldecoy"
  294. ],
  295. owners: [
  296. "scareye"
  297. ]
  298. },
  299. {
  300. prefix: "./media/characters/nibbles/",
  301. files: [
  302. { name: "front.svg", source: "https://www.furaffinity.net/view/22964778/" },
  303. { name: "side.svg", source: "https://www.furaffinity.net/view/22964778/" },
  304. ],
  305. authors: [
  306. "dragga"
  307. ],
  308. owners: [
  309. "movler"
  310. ]
  311. },
  312. {
  313. prefix: "./media/characters/piper/",
  314. files: [
  315. { name: "front.svg", source: "https://www.furaffinity.net/view/22964778/" }
  316. ],
  317. authors: [
  318. "brit-bork"
  319. ],
  320. owners: [
  321. "flyhar"
  322. ]
  323. },
  324. {
  325. prefix: "./media/characters/rikky/",
  326. files: [
  327. { name: "side.svg", source: null }
  328. ],
  329. authors: [
  330. "ethan64"
  331. ],
  332. owners: [
  333. "quake-yote"
  334. ]
  335. },
  336. {
  337. prefix: "./media/characters/rogue/",
  338. files: [
  339. { name: "front.svg", source: "http://rogue.macrophile.com/ken" }
  340. ],
  341. authors: [
  342. "cougr"
  343. ],
  344. owners: [
  345. "rogue"
  346. ]
  347. },
  348. {
  349. prefix: "./media/characters/surgo/",
  350. files: [
  351. { name: "front.svg", source: "https://www.furaffinity.net/view/33348481/" },
  352. { name: "back.svg", source: "https://www.furaffinity.net/view/33348481/" },
  353. { name: "laying.svg", source: "https://www.furaffinity.net/view/33348481/" },
  354. ],
  355. authors: [
  356. "gaiawolfess",
  357. "malakhael"
  358. ],
  359. owners: [
  360. "movler"
  361. ]
  362. },
  363. {
  364. prefix: "./media/characters/tiberius/",
  365. files: [
  366. { name: "front.svg", source: "https://www.furaffinity.net/view/34977812/" },
  367. { name: "back.svg", source: "https://www.furaffinity.net/view/34977812/" }
  368. ],
  369. authors: [
  370. "rebonica"
  371. ],
  372. owners: [
  373. "movler"
  374. ]
  375. },
  376. {
  377. prefix: "./media/characters/",
  378. files: [
  379. { name: "", source: "" }
  380. ],
  381. authors: [
  382. ]
  383. },
  384. {
  385. prefix: "./media/objects/humans/",
  386. files: [
  387. { name: "woman-1.svg", source: "https://commons.wikimedia.org/wiki/File:1Silhouette_Female.svg" }
  388. ],
  389. authors: [
  390. "phil-bronnery",
  391. "beao"
  392. ]
  393. },
  394. {
  395. prefix: "./media/objects/humans/",
  396. files: [
  397. { name: "man-1.svg", source: "https://commons.wikimedia.org/wiki/File:Silhouette.svg" }
  398. ],
  399. authors: [
  400. ]
  401. },
  402. {
  403. prefix: "./media/vehicles/",
  404. files: [
  405. { name: "titanic.svg", source: "https://creazilla.com/nodes/873-titanic-silhouette" },
  406. { name: "vertical-titanic.svg", source: "https://creazilla.com/nodes/873-titanic-silhouette" }
  407. ],
  408. authors: [
  409. ]
  410. },
  411. ],
  412. people: {
  413. "appledectomy": {
  414. name: "Appledectomy",
  415. url: "https://www.furaffinity.net/user/appledectomy"
  416. },
  417. "archy-d": {
  418. name: "ArchyD",
  419. url: "https://www.furaffinity.net/user/ArchyD"
  420. },
  421. "ashtrek": {
  422. name: "Ashtrek",
  423. url: "https://www.furaffinity.net/user/ashtrek/"
  424. },
  425. "aviraptia": {
  426. name: "Aviraptia",
  427. url: "https://www.furaffinity.net/user/aviraptia/"
  428. },
  429. "beao": {
  430. name: "Beao",
  431. url: "https://commons.wikimedia.org/wiki/User:Beao"
  432. },
  433. "brit-bork": {
  434. name: "Koijot",
  435. url: "https://twitter.com/Brit_Bork",
  436. },
  437. "cardboardhead": {
  438. name: "cardboardhead",
  439. url: "https://twitter.com/cardboardhead"
  440. },
  441. "chemicalcrux": {
  442. name: "chemicalcrux",
  443. url: "https://www.furaffinity.net/user/chemicalcrux"
  444. },
  445. "chesta": {
  446. name: "Chesta",
  447. url: "https://www.furaffinity.net/user/chesta"
  448. },
  449. "clown-grin": {
  450. name: "clown-grin",
  451. url: "https://www.furaffinity.net/user/clown-grin"
  452. },
  453. "cougr": {
  454. name: "Cougr",
  455. url: "https://www.furaffinity.net/user/cougr"
  456. },
  457. "d-eath-tail": {
  458. name: "Deathy",
  459. url: "https://www.furaffinity.net/user/d-eath-tail"
  460. },
  461. "Dialuca01": {
  462. name: "Dialuca",
  463. url: "https://www.furaffinity.net/user/dialuca01"
  464. },
  465. "dragga": {
  466. name: "Dragga",
  467. url: "https://www.furaffinity.net/user/dragga"
  468. },
  469. "ethan64": {
  470. name: "Ethan64",
  471. url: "https://www.furaffinity.net/user/ethan64/"
  472. },
  473. "flyhar": {
  474. name: "Flyhar",
  475. url: "https://www.furaffinity.net/user/flyfeline/"
  476. },
  477. "furrypur": {
  478. name: "FurryPur",
  479. url: "https://www.furaffinity.net/user/furrypur/"
  480. },
  481. "gaiawolfess": {
  482. name: "Gaiawolfess",
  483. url: "https://www.furaffinity.net/user/gaiawolfess"
  484. },
  485. "geminimacro": {
  486. name: "geminimacro",
  487. url: "https://www.furaffinity.net/user/lajay"
  488. },
  489. "helisa-adopts": {
  490. name: "Helisa",
  491. url: "https://www.furaffinity.net/user/HelisaAdopts"
  492. },
  493. "jaro-the-dragon": {
  494. name: "Jaro",
  495. url: "https://www.furaffinity.net/user/jarothedragon/"
  496. },
  497. "jaydom": {
  498. name: "Jaydom",
  499. url: "https://www.furaffinity.net/user/jaydom"
  500. },
  501. "just-a-little-mixed-up": {
  502. name: "just-a-little-mixed-up",
  503. url: "https://www.furaffinity.net/user/just-a-little-mixed-up"
  504. },
  505. "kerneldecoy": {
  506. name: "Kernel Decoy",
  507. url: "https://www.furaffinity.net/user/kerneldecoy/"
  508. },
  509. "kurrikage": {
  510. name: "Kurrikage",
  511. url: "https://www.furaffinity.net/user/kurrikage/"
  512. },
  513. "labratkuma": {
  514. name: "labratkuma",
  515. url: "https://www.furaffinity.net/user/labratkuma"
  516. },
  517. "little-big-x110": {
  518. name: "LittleBig",
  519. url: "https://www.furaffinity.net/user/LittlebigX110"
  520. },
  521. "lynxsprout": {
  522. name: "Lynxsprout",
  523. url: "https://lynxsprout.carrd.co/"
  524. },
  525. "malakhael": {
  526. name: "Malakhael",
  527. url: "https://www.furaffinity.net/user/malakhael"
  528. },
  529. "mallowchu": {
  530. name: "Mallowchu",
  531. url: "https://www.furaffinity.net/user/mallowchu"
  532. },
  533. "mizumisensei": {
  534. name: "Mizumisensei",
  535. url: "https://twitter.com/mizumisensei"
  536. },
  537. "movler": {
  538. name: "Movler",
  539. url: "https://www.furaffinity.net/user/movler/"
  540. },
  541. "oselotti": {
  542. name: "Oselotti",
  543. url: "https://www.furaffinity.net/user/oselotti"
  544. },
  545. "phil-bronnery": {
  546. name: "Phil Bronnery",
  547. url: "https://www.flickr.com/people/27919241@N02"
  548. },
  549. "quake-yote": {
  550. name: "Quake Yote",
  551. url: "https://www.furaffinity.net/user/rokossovskiy"
  552. },
  553. "rebonica": {
  554. name: "Rebonica",
  555. url: "https://www.furaffinity.net/user/rebonica"
  556. },
  557. "rogue": {
  558. name: "Rogue Megawolf",
  559. url: "https://twitter.com/roguemegawolf"
  560. },
  561. "scareye": {
  562. name: "Scareye",
  563. url: "https://www.furaffinity.net/user/scareye/"
  564. },
  565. "silverwingink": {
  566. name: "silverwingink",
  567. url: "https://www.furaffinity.net/gallery/silverwingink/"
  568. },
  569. "spyropurple": {
  570. name: "spyropurple",
  571. url: "https://www.furaffinity.net/user/spyropurple/"
  572. },
  573. "stonerabbit": {
  574. name: "stonerabbit",
  575. url: "https://www.furaffinity.net/user/stonerabbit/"
  576. },
  577. "sugarbeans": {
  578. name: "sugarbeans",
  579. url: "https://www.furaffinity.net/user/sugarbeans/"
  580. },
  581. "twitch-the-dragon": {
  582. name: "Twitch",
  583. url: "https://www.furaffinity.net/user/twitchthedragon/"
  584. },
  585. "zyraxus": {
  586. name: "Zyraxus",
  587. url: "https://www.furaffinity.net/user/zyraxus"
  588. }
  589. }
  590. }
  591. const attribution = {};
  592. function prepareAttribution() {
  593. attribution["files"] = {};
  594. attributionData.sources.forEach(citation => {
  595. citation.files.forEach(file => {
  596. attribution.files[citation.prefix + file.name] = {
  597. authors: citation.authors,
  598. owners: citation.owners,
  599. source: file.source
  600. }
  601. })
  602. });
  603. }
  604. function authorsOf(file) {
  605. if (attribution.files[file])
  606. return attribution.files[file].authors;
  607. else
  608. return undefined;
  609. }
  610. function authorsOfFull(file) {
  611. if (attribution.files[file]) {
  612. const result = [];
  613. attribution.files[file].authors.forEach(author => {
  614. result.push(attributionData.people[author]);
  615. });
  616. return result;
  617. }
  618. else
  619. return undefined;
  620. }
  621. function ownersOf(file) {
  622. if (attribution.files[file])
  623. return attribution.files[file].owners;
  624. else
  625. return undefined;
  626. }
  627. function ownersOfFull(file) {
  628. if (attribution.files[file]) {
  629. if (attribution.files[file].owners !== undefined) {
  630. const result = [];
  631. attribution.files[file].owners.forEach(owner => {
  632. result.push(attributionData.people[owner]);
  633. });
  634. return result;
  635. } else {
  636. return [];
  637. }
  638. }
  639. else
  640. return undefined;
  641. }
  642. function sourceOf(file) {
  643. if (attribution.files[file])
  644. return attribution.files[file].source;
  645. else
  646. return undefined;
  647. }
  648. prepareAttribution();