(function () { 'use strict'; var serviceId = 'myBadgesAdminService'; angular.module('mybadgesAdmin').factory(serviceId, ['myBadgesAdminDataContext', 'myUsersDataContext', 'config', myBadgesAdminService]); function myBadgesAdminService(myBadgesAdminDataContext, myUsersDataContext, config) { var service = { getCanvasTemplates: getCanvasTemplates, getCanvasObj: getCanvasObj, getAvailableFonts: getAvailableFonts, getAvailableShapes: getAvailableShapes, getAvailableBanners: getAvailableBanners, getAvailableIcons: getAvailableIcons, getGraphicsForUser: getGraphicsForUser, createGraphic: createGraphic, updateGraphic: updateGraphic, deleteGraphic: deleteGraphic, getLayeringForGraphic: getLayeringForGraphic, getBadgeTemplates: getBadgeTemplates, getBadgeTemplatesToIssue: getBadgeTemplatesToIssue, getTemplateTotals: getTemplateTotals, getTemplatesTotals: getTemplatesTotals, getPublishedBadgeTemplates: getPublishedBadgeTemplates, createBadgeTemplate: createBadgeTemplate, getBadgeTemplate: getBadgeTemplate, updateBadgeTemplate: updateBadgeTemplate, changeBadgeTemplateStatus: changeBadgeTemplateStatus, deleteBadgeTemplate: deleteBadgeTemplate, createLayering: createLayering, getLayering: getLayering, updateLayering: updateLayering, deleteLayering: deleteLayering, getIssuersForUser: getIssuersForUser, getIssuersForOrgs: getIssuersForOrgs, getAllIssuersForInstance: getAllIssuersForInstance, getOrganisations: getOrganisations, getAvailableInnerShapes: getAvailableInnerShapes, getDirectIssuersForUser: getDirectIssuersForUser, badgeSummaryController: badgeSummaryController, createAllocation: createAllocation, allocateBadgeTemplateForIssuing: allocateBadgeTemplateForIssuing, withdrawAllocation: withdrawAllocation, getAllocations: getAllocations }; return service; function getCanvasTemplates() { var canvasTemplates = [ { id: 'backgroundCanvas', pos: -2, name: 'Background' }, { id: 'shapeCanvas', pos: 0, name: 'Shape layer' }, { id: 'innerShapeCanvas', pos: 1, name: 'Inner shape layer' }, { id: 'bannerCanvas', pos: 2, name: 'Banner layer' }, { id: 'textCanvas', pos: 3, name: 'Text layer' }, { id: 'subTextCanvas', pos: 4, name: 'Sub text layer' }, { id: 'curvedTextCanvas', pos: 5, name: 'Curved text layer' }, { id: 'iconCanvas', pos: 6, name: 'Icon layer' } ] return canvasTemplates; } function getCanvasObj() { var canvasObj = { badgeGraphicId: null, createdBy: null, background: { src: '', color: 'transparent', blur: 0, opacity: 1, }, text: { posY: 100, posX: 100, font: 'Lobster', size: 20, color: '#000000', textValue: '', order: 5, rotation: 0, }, subText: { posY: 150, posX: 100, font: 'Lobster', size: 20, color: '#000000', textValue: '', order: 6, rotation: 0, }, curvedText: { posY: 250, posX: 150, font: 'Lobster', size: 20, color: '#000000', textValue: '', order: 7, radius: 50, angle: 0.1, increase: 80, }, shape: { posY: 30, posX: 50, width: 200, height: 235, src: '', color: '#444444', order: 1, opacity: 1, rotation: 0, }, innerShape: { posY: 50, posX: 50, width: 200, height: 200, src: '', color: '#444444', order: 2, opacity: 1, rotation: 0, }, banner: { posY: 25, posX: 25, width: 250, height: 250, src: '', color: '#444444', order: 4, opacity: 1, rotation: 0, }, icon: { posY: 25, posX: 75, width: 150, height: 150, src: '', color: '#ffffff', order: 3, opacity: 1, rotation: 0, } } return canvasObj; } function getAvailableFonts() { var availableFonts = [ { font: 'Lobster' }, { font: 'Oswald' }, { font: 'Open Sans Condensed' }, { font: 'Indie Flower' }, { font: 'Anton' }, { font: 'Pacifico' }, { font: 'Sigmar One' }, { font: 'Shadows Into Light' }, { font: 'Quicksand' }, { font: 'Orbitron' }, { font: 'Amatic SC' }, { font: 'Dancing Script' }, { font: 'Pathway Gothic One' }, { font: 'Righteous' }, { font: 'Bangers' }, { font: 'Kaushan Script' }, { font: 'Russo One' }, { font: 'Quattrocento Sans' }, { font: 'Chewy' }, { font: 'Yellowtail' }, { font: 'Satisfy' }, { font: 'Economica' }, { font: 'Coming Soon' }, { font: 'Rock Salt' }, { font: 'Special Elite' }, { font: 'Pinyon Script' }, { font: 'Homenaje' }, { font: 'Overlock' }, { font: 'Julius Sans One' }, { font: 'Entypo' }, { font: 'Heydings Controls' }, { font: 'Heydings Icons' }, { font: 'Web Symbols' }, { font: 'Impact' }, { font: 'Trebuchet MS' }, { font: 'Tahoma' }, { font: 'Lucida Sans Unicode' }, { font: 'Georgia' }, { font: 'Lucida Console' }, { font: 'Courier New' }, ]; return availableFonts; } function getAvailableShapes() { var availableShapes = [ { group: 1, set: [ { name: 'Sheild', src: '/assets/shapes/shield0.png' }, { name: 'Shield 1', src: '/assets/shapes/shield1.png' }, { name: 'Shield 1', src: '/assets/shapes/shield2.png' }, { name: 'Shield 1', src: '/assets/shapes/shield3.png' }, { name: 'Shield 1', src: '/assets/shapes/shield4.png' }, { name: 'Shield 1', src: '/assets/shapes/shield5.png' }, { name: 'Shield 1', src: '/assets/shapes/shield7.png' }, { name: 'Shield 1', src: '/assets/shapes/shield8.png' }, { name: 'Shield 1', src: '/assets/shapes/shield9.png' }, { name: 'Shield 1', src: '/assets/shapes/shield10.png' }, { name: 'Shield 1', src: '/assets/shapes/shield11.png' }, { name: 'Shield 1', src: '/assets/shapes/shield12.png' }, { name: 'Shield 1', src: '/assets/shapes/shield13.png' }, { name: 'Shield 1', src: '/assets/shapes/shield14.png' }, { name: 'Shield 1', src: '/assets/shapes/shield15.png' }, { name: 'Shield 1', src: '/assets/shapes/shield16.png' }, { name: 'Shield 1', src: '/assets/shapes/shield17.png' }, { name: 'Shield 1', src: '/assets/shapes/shield18.png' }, { name: 'Shield 1', src: '/assets/shapes/shield19.png' }, { name: 'Shield 1', src: '/assets/shapes/shield20.png' }, { name: 'Shield 1', src: '/assets/shapes/shield21.png' }, { name: 'Shield 1', src: '/assets/shapes/shield22.png' }, { name: 'Shield 1', src: '/assets/shapes/shield23.png' }, { name: 'Shield 1', src: '/assets/shapes/shield24.png' }, { name: 'Shield 1', src: '/assets/shapes/shield25.png' }, { name: 'Shield 1', src: '/assets/shapes/shield26.png' }, { name: 'Shield 1', src: '/assets/shapes/shield27.png' }, { name: 'Shield 1', src: '/assets/shapes/shield28.png' }, { name: 'Shield 1', src: '/assets/shapes/shield29.png' }, { name: 'Shield 1', src: '/assets/shapes/shield30.png' }, { name: 'Shield 1', src: '/assets/shapes/shield31.png' }, { name: 'Shield 1', src: '/assets/shapes/shield32.png' }, { name: 'Shield 1', src: '/assets/shapes/shield33.png' }, { name: 'Shield 1', src: '/assets/shapes/shield34.png' }, { name: 'Shield 1', src: '/assets/shapes/shield35.png' }, { name: 'Shield 1', src: '/assets/shapes/shield36.png' }, { name: 'Shield 1', src: '/assets/shapes/shield37.png' }, { name: 'Shield 1', src: '/assets/shapes/shield38.png' }, { name: 'Shield 1', src: '/assets/shapes/shield39.png' }, { name: 'Shield 1', src: '/assets/shapes/shield40.png' }, { name: 'Shield 1', src: '/assets/shapes/shield41.png' }, { name: 'Shield 1', src: '/assets/shapes/shield42.png' }, { name: 'Shield 1', src: '/assets/shapes/shield43.png' }, { name: 'Shield 1', src: '/assets/shapes/shield44.png' }, { name: 'Shield 1', src: '/assets/shapes/shield45.png' }, { name: 'Shield 1', src: '/assets/shapes/shield46.png' }, { name: 'Shield 1', src: '/assets/shapes/shield47.png' }, { name: 'Shield 1', src: '/assets/shapes/shield48.png' }, { name: 'Shield 1', src: '/assets/shapes/shield49.png' }, { name: 'Shield 1', src: '/assets/shapes/shield50.png' }, { name: 'Shield 1', src: '/assets/shapes/shield51.png' }, { name: 'Shield 1', src: '/assets/shapes/shield52.png' }, { name: 'Shield 1', src: '/assets/shapes/shield53.png' }, { name: 'Shield 1', src: '/assets/shapes/shield54.png' }, { name: 'Shield 1', src: '/assets/shapes/shield55.png' }, { name: 'Shield 1', src: '/assets/shapes/shield56.png' }, { name: 'Shield 1', src: '/assets/shapes/shield57.png' }, { name: 'Shield 1', src: '/assets/shapes/shield58.png' }, { name: 'Shield 1', src: '/assets/shapes/shield59.png' }, ] }, { group: 2, set: [ { name: '', src: '/assets/shapes/circle1.png' }, { name: '', src: '/assets/shapes/circle2.png' }, { name: '', src: '/assets/shapes/circle3.png' }, { name: '', src: '/assets/shapes/circle4.png' }, { name: '', src: '/assets/shapes/circle5.png' }, { name: '', src: '/assets/shapes/circle6.png' }, { name: '', src: '/assets/shapes/circle7.png' }, { name: '', src: '/assets/shapes/circle8.png' }, { name: '', src: '/assets/shapes/circle9.png' }, { name: '', src: '/assets/shapes/circle10.png' }, { name: '', src: '/assets/shapes/circle11.png' }, { name: '', src: '/assets/shapes/circle12.png' }, { name: '', src: '/assets/shapes/circle13.png' }, { name: '', src: '/assets/shapes/circle14.png' }, { name: '', src: '/assets/shapes/circle15.png' }, { name: '', src: '/assets/shapes/circle16.png' }, { name: '', src: '/assets/shapes/circle17.png' }, { name: '', src: '/assets/shapes/circle18.png' }, { name: '', src: '/assets/shapes/circle19.png' }, { name: '', src: '/assets/shapes/shape1.png' }, { name: '', src: '/assets/shapes/shape2.png' }, { name: '', src: '/assets/shapes/shape3.png' }, { name: '', src: '/assets/shapes/shape4.png' }, { name: '', src: '/assets/shapes/shape5.png' }, { name: '', src: '/assets/shapes/shape6.png' }, { name: '', src: '/assets/shapes/shape7.png' }, { name: '', src: '/assets/shapes/shape8.png' }, ] }, { group: 3, set: [ { name: '', src: '/assets/shapes/speech0.png' }, { name: '', src: '/assets/shapes/speech1.png' }, { name: '', src: '/assets/shapes/speech2.png' }, { name: '', src: '/assets/shapes/speech3.png' }, { name: '', src: '/assets/shapes/speech4.png' }, { name: '', src: '/assets/shapes/speech5.png' }, { name: '', src: '/assets/shapes/speech6.png' }, { name: '', src: '/assets/shapes/speech7.png' }, { name: '', src: '/assets/shapes/speech8.png' }, { name: '', src: '/assets/shapes/speech9.png' }, { name: '', src: '/assets/shapes/speech10.png' }, { name: '', src: '/assets/shapes/speech11.png' }, { name: '', src: '/assets/shapes/speech12.png' }, { name: '', src: '/assets/shapes/speech13.png' }, { name: '', src: '/assets/shapes/speech14.png' }, { name: '', src: '/assets/shapes/speech15.png' }, { name: '', src: '/assets/shapes/speech16.png' }, { name: '', src: '/assets/shapes/speech17.png' }, { name: '', src: '/assets/shapes/speech18.png' }, { name: '', src: '/assets/shapes/speech19.png' }, { name: '', src: '/assets/shapes/speech20.png' }, { name: '', src: '/assets/shapes/speech21.png' }, ] }, { group: 4, set: [ { name: '', src: '/assets/shapes/legacy/legacy0.png' }, { name: '', src: '/assets/shapes/legacy/legacy1.png' }, { name: '', src: '/assets/shapes/legacy/legacy2.png' }, { name: '', src: '/assets/shapes/legacy/legacy3.png' }, { name: '', src: '/assets/shapes/legacy/legacy4.png' }, { name: '', src: '/assets/shapes/legacy/legacy5.png' }, { name: '', src: '/assets/shapes/legacy/legacy6.png' }, { name: '', src: '/assets/shapes/legacy/legacy7.png' }, { name: '', src: '/assets/shapes/legacy/legacy8.png' }, { name: '', src: '/assets/shapes/legacy/legacy9.png' }, { name: '', src: '/assets/shapes/legacy/legacy10.png' }, { name: '', src: '/assets/shapes/legacy/legacy11.png' }, { name: '', src: '/assets/shapes/legacy/legacy12.png' }, { name: '', src: '/assets/shapes/legacy/legacy13.png' }, { name: '', src: '/assets/shapes/legacy/legacy14.png' }, { name: '', src: '/assets/shapes/legacy/legacy15.png' }, { name: '', src: '/assets/shapes/legacy/legacy16.png' }, { name: '', src: '/assets/shapes/legacy/legacy17.png' }, { name: '', src: '/assets/shapes/legacy/legacy18.png' }, { name: '', src: '/assets/shapes/legacy/legacy19.png' }, { name: '', src: '/assets/shapes/legacy/legacy20.png' }, { name: '', src: '/assets/shapes/legacy/legacy21.png' }, { name: '', src: '/assets/shapes/legacy/legacy22.png' }, { name: '', src: '/assets/shapes/legacy/legacy23.png' }, { name: '', src: '/assets/shapes/legacy/legacy24.png' }, { name: '', src: '/assets/shapes/legacy/legacy25.png' }, { name: '', src: '/assets/shapes/legacy/legacy26.png' }, { name: '', src: '/assets/shapes/legacy/legacy27.png' }, { name: '', src: '/assets/shapes/legacy/legacy28.png' }, { name: '', src: '/assets/shapes/legacy/legacy29.png' }, { name: '', src: '/assets/shapes/legacy/legacy30.png' }, { name: '', src: '/assets/shapes/legacy/legacy31.png' }, { name: '', src: '/assets/shapes/legacy/legacy32.png' }, { name: '', src: '/assets/shapes/legacy/legacy33.png' }, { name: '', src: '/assets/shapes/legacy/legacy34.png' }, { name: '', src: '/assets/shapes/legacy/legacy35.png' }, { name: '', src: '/assets/shapes/legacy/legacy36.png' }, { name: '', src: '/assets/shapes/legacy/legacy37.png' }, { name: '', src: '/assets/shapes/legacy/legacy38.png' }, { name: '', src: '/assets/shapes/legacy/legacy39.png' }, { name: '', src: '/assets/shapes/legacy/legacy40.png' }, { name: '', src: '/assets/shapes/legacy/legacy41.png' }, { name: '', src: '/assets/shapes/legacy/legacy42.png' }, { name: '', src: '/assets/shapes/legacy/legacy43.png' }, { name: '', src: '/assets/shapes/legacy/legacy44.png' }, { name: '', src: '/assets/shapes/legacy/legacy45.png' }, { name: '', src: '/assets/shapes/legacy/legacy46.png' }, { name: '', src: '/assets/shapes/legacy/legacy47.png' }, { name: '', src: '/assets/shapes/legacy/legacy48.png' }, { name: '', src: '/assets/shapes/legacy/legacy49.png' }, { name: '', src: '/assets/shapes/legacy/legacy50.png' }, { name: '', src: '/assets/shapes/legacy/legacy51.png' }, { name: '', src: '/assets/shapes/legacy/legacy52.png' }, { name: '', src: '/assets/shapes/legacy/legacy53.png' }, { name: '', src: '/assets/shapes/legacy/legacy54.png' }, { name: '', src: '/assets/shapes/legacy/legacy55.png' }, { name: '', src: '/assets/shapes/legacy/legacy56.png' }, { name: '', src: '/assets/shapes/legacy/legacy57.png' }, { name: '', src: '/assets/shapes/legacy/legacy58.png' }, { name: '', src: '/assets/shapes/legacy/legacy59.png' }, { name: '', src: '/assets/shapes/legacy/legacy60.png' }, { name: '', src: '/assets/shapes/legacy/legacy61.png' }, { name: '', src: '/assets/shapes/legacy/legacy62.png' }, { name: '', src: '/assets/shapes/legacy/legacy63.png' }, { name: '', src: '/assets/shapes/legacy/legacy64.png' }, { name: '', src: '/assets/shapes/legacy/legacy65.png' }, { name: '', src: '/assets/shapes/legacy/legacy66.png' }, { name: '', src: '/assets/shapes/legacy/legacy67.png' }, { name: '', src: '/assets/shapes/legacy/legacy68.png' }, { name: '', src: '/assets/shapes/legacy/legacy69.png' }, { name: '', src: '/assets/shapes/legacy/legacy70.png' }, { name: '', src: '/assets/shapes/legacy/legacy71.png' }, { name: '', src: '/assets/shapes/legacy/legacy72.png' }, { name: '', src: '/assets/shapes/legacy/legacy73.png' }, { name: '', src: '/assets/shapes/legacy/legacy74.png' }, { name: '', src: '/assets/shapes/legacy/legacy75.png' }, { name: '', src: '/assets/shapes/legacy/legacy76.png' }, { name: '', src: '/assets/shapes/legacy/legacy77.png' }, { name: '', src: '/assets/shapes/legacy/legacy78.png' }, { name: '', src: '/assets/shapes/legacy/legacy79.png' }, { name: '', src: '/assets/shapes/legacy/legacy80.png' }, { name: '', src: '/assets/shapes/legacy/legacy81.png' }, { name: '', src: '/assets/shapes/legacy/legacy82.png' }, { name: '', src: '/assets/shapes/legacy/legacy83.png' }, { name: '', src: '/assets/shapes/legacy/legacy84.png' }, { name: '', src: '/assets/shapes/legacy/legacy85.png' }, { name: '', src: '/assets/shapes/legacy/legacy86.png' }, { name: '', src: '/assets/shapes/legacy/legacy87.png' }, { name: '', src: '/assets/shapes/legacy/legacy88.png' }, { name: '', src: '/assets/shapes/legacy/legacy89.png' }, { name: '', src: '/assets/shapes/legacy/legacy90.png' }, { name: '', src: '/assets/shapes/legacy/legacy91.png' }, { name: '', src: '/assets/shapes/legacy/legacy92.png' }, { name: '', src: '/assets/shapes/legacy/legacy93.png' }, { name: '', src: '/assets/shapes/legacy/legacy94.png' }, { name: '', src: '/assets/shapes/legacy/legacy95.png' }, { name: '', src: '/assets/shapes/legacy/legacy96.png' }, { name: '', src: '/assets/shapes/legacy/legacy97.png' }, { name: '', src: '/assets/shapes/legacy/legacy98.png' }, { name: '', src: '/assets/shapes/legacy/legacy99.png' }, { name: '', src: '/assets/shapes/legacy/legacy100.png' }, { name: '', src: '/assets/shapes/legacy/legacy101.png' }, { name: '', src: '/assets/shapes/legacy/legacy102.png' }, { name: '', src: '/assets/shapes/legacy/legacy103.png' }, { name: '', src: '/assets/shapes/legacy/legacy104.png' }, { name: '', src: '/assets/shapes/legacy/legacy105.png' }, { name: '', src: '/assets/shapes/legacy/legacy106.png' }, { name: '', src: '/assets/shapes/legacy/legacy107.png' }, { name: '', src: '/assets/shapes/legacy/legacy108.png' }, { name: '', src: '/assets/shapes/legacy/legacy109.png' }, { name: '', src: '/assets/shapes/legacy/legacy110.png' }, { name: '', src: '/assets/shapes/legacy/legacy111.png' }, { name: '', src: '/assets/shapes/legacy/legacy112.png' }, { name: '', src: '/assets/shapes/legacy/legacy113.png' }, { name: '', src: '/assets/shapes/legacy/legacy114.png' }, { name: '', src: '/assets/shapes/legacy/legacy115.png' }, { name: '', src: '/assets/shapes/legacy/legacy116.png' }, { name: '', src: '/assets/shapes/legacy/legacy117.png' }, { name: '', src: '/assets/shapes/legacy/legacy118.png' }, { name: '', src: '/assets/shapes/legacy/legacy119.png' }, { name: '', src: '/assets/shapes/legacy/legacy120.png' }, { name: '', src: '/assets/shapes/legacy/legacy121.png' }, { name: '', src: '/assets/shapes/legacy/legacy122.png' }, { name: '', src: '/assets/shapes/legacy/legacy123.png' }, { name: '', src: '/assets/shapes/legacy/legacy124.png' }, { name: '', src: '/assets/shapes/legacy/legacy125.png' }, { name: '', src: '/assets/shapes/legacy/legacy126.png' }, { name: '', src: '/assets/shapes/legacy/legacy127.png' }, { name: '', src: '/assets/shapes/legacy/legacy128.png' }, { name: '', src: '/assets/shapes/legacy/legacy129.png' }, { name: '', src: '/assets/shapes/legacy/legacy130.png' }, { name: '', src: '/assets/shapes/legacy/legacy131.png' }, { name: '', src: '/assets/shapes/legacy/legacy132.png' }, { name: '', src: '/assets/shapes/legacy/legacy133.png' }, { name: '', src: '/assets/shapes/legacy/legacy134.png' }, { name: '', src: '/assets/shapes/legacy/legacy135.png' }, { name: '', src: '/assets/shapes/legacy/legacy136.png' }, { name: '', src: '/assets/shapes/legacy/legacy137.png' }, { name: '', src: '/assets/shapes/legacy/legacy138.png' }, { name: '', src: '/assets/shapes/legacy/legacy139.png' }, { name: '', src: '/assets/shapes/legacy/legacy140.png' }, { name: '', src: '/assets/shapes/legacy/legacy141.png' }, { name: '', src: '/assets/shapes/legacy/legacy142.png' }, { name: '', src: '/assets/shapes/legacy/legacy143.png' }, { name: '', src: '/assets/shapes/legacy/legacy144.png' }, { name: '', src: '/assets/shapes/legacy/legacy145.png' }, { name: '', src: '/assets/shapes/legacy/legacy146.png' }, { name: '', src: '/assets/shapes/legacy/legacy147.png' }, { name: '', src: '/assets/shapes/legacy/legacy148.png' }, { name: '', src: '/assets/shapes/legacy/legacy149.png' }, { name: '', src: '/assets/shapes/legacy/legacy150.png' }, { name: '', src: '/assets/shapes/legacy/legacy151.png' }, { name: '', src: '/assets/shapes/legacy/legacy152.png' }, { name: '', src: '/assets/shapes/legacy/legacy153.png' }, { name: '', src: '/assets/shapes/legacy/legacy154.png' }, { name: '', src: '/assets/shapes/legacy/legacy155.png' }, { name: '', src: '/assets/shapes/legacy/legacy156.png' }, { name: '', src: '/assets/shapes/legacy/legacy157.png' }, { name: '', src: '/assets/shapes/legacy/legacy158.png' }, { name: '', src: '/assets/shapes/legacy/legacy159.png' }, { name: '', src: '/assets/shapes/legacy/legacy160.png' }, { name: '', src: '/assets/shapes/legacy/legacy161.png' }, { name: '', src: '/assets/shapes/legacy/legacy162.png' }, { name: '', src: '/assets/shapes/legacy/legacy163.png' }, { name: '', src: '/assets/shapes/legacy/legacy164.png' }, { name: '', src: '/assets/shapes/legacy/legacy165.png' }, { name: '', src: '/assets/shapes/legacy/legacy166.png' }, { name: '', src: '/assets/shapes/legacy/legacy167.png' }, { name: '', src: '/assets/shapes/legacy/legacy168.png' }, { name: '', src: '/assets/shapes/legacy/legacy169.png' }, { name: '', src: '/assets/shapes/legacy/legacy170.png' }, { name: '', src: '/assets/shapes/legacy/legacy171.png' }, { name: '', src: '/assets/shapes/legacy/legacy172.png' }, { name: '', src: '/assets/shapes/legacy/legacy173.png' }, { name: '', src: '/assets/shapes/legacy/legacy174.png' }, { name: '', src: '/assets/shapes/legacy/legacy175.png' }, { name: '', src: '/assets/shapes/legacy/legacy176.png' }, { name: '', src: '/assets/shapes/legacy/legacy177.png' }, { name: '', src: '/assets/shapes/legacy/legacy178.png' }, { name: '', src: '/assets/shapes/legacy/legacy179.png' }, { name: '', src: '/assets/shapes/legacy/legacy180.png' }, { name: '', src: '/assets/shapes/legacy/legacy181.png' }, { name: '', src: '/assets/shapes/legacy/legacy182.png' }, { name: '', src: '/assets/shapes/legacy/legacy183.png' }, { name: '', src: '/assets/shapes/legacy/legacy184.png' }, { name: '', src: '/assets/shapes/legacy/legacy185.png' }, { name: '', src: '/assets/shapes/legacy/legacy186.png' }, { name: '', src: '/assets/shapes/legacy/legacy187.png' }, { name: '', src: '/assets/shapes/legacy/legacy188.png' }, { name: '', src: '/assets/shapes/legacy/legacy189.png' }, { name: '', src: '/assets/shapes/legacy/legacy190.png' }, { name: '', src: '/assets/shapes/legacy/legacy191.png' }, { name: '', src: '/assets/shapes/legacy/legacy192.png' }, { name: '', src: '/assets/shapes/legacy/legacy193.png' }, { name: '', src: '/assets/shapes/legacy/legacy194.png' }, { name: '', src: '/assets/shapes/legacy/legacy195.png' }, { name: '', src: '/assets/shapes/legacy/legacy196.png' }, { name: '', src: '/assets/shapes/legacy/legacy197.png' }, { name: '', src: '/assets/shapes/legacy/legacy198.png' }, { name: '', src: '/assets/shapes/legacy/legacy199.png' }, { name: '', src: '/assets/shapes/legacy/legacy200.png' }, { name: '', src: '/assets/shapes/legacy/legacy201.png' }, { name: '', src: '/assets/shapes/legacy/legacy202.png' }, { name: '', src: '/assets/shapes/legacy/legacy203.png' }, { name: '', src: '/assets/shapes/legacy/legacy204.png' }, { name: '', src: '/assets/shapes/legacy/legacy205.png' }, { name: '', src: '/assets/shapes/legacy/legacy206.png' }, { name: '', src: '/assets/shapes/legacy/legacy207.png' }, { name: '', src: '/assets/shapes/legacy/legacy208.png' }, { name: '', src: '/assets/shapes/legacy/legacy209.png' }, { name: '', src: '/assets/shapes/legacy/legacy210.png' }, { name: '', src: '/assets/shapes/legacy/legacy211.png' }, { name: '', src: '/assets/shapes/legacy/legacy212.png' }, { name: '', src: '/assets/shapes/legacy/legacy213.png' }, { name: '', src: '/assets/shapes/legacy/legacy214.png' }, { name: '', src: '/assets/shapes/legacy/legacy215.png' }, { name: '', src: '/assets/shapes/legacy/legacy216.png' }, { name: '', src: '/assets/shapes/legacy/legacy217.png' }, { name: '', src: '/assets/shapes/legacy/legacy218.png' }, { name: '', src: '/assets/shapes/legacy/legacy219.png' }, { name: '', src: '/assets/shapes/legacy/legacy220.png' }, { name: '', src: '/assets/shapes/legacy/legacy221.png' }, { name: '', src: '/assets/shapes/legacy/legacy222.png' }, { name: '', src: '/assets/shapes/legacy/legacy223.png' }, { name: '', src: '/assets/shapes/legacy/legacy224.png' }, { name: '', src: '/assets/shapes/legacy/legacy225.png' }, { name: '', src: '/assets/shapes/legacy/legacy226.png' }, { name: '', src: '/assets/shapes/legacy/legacy227.png' }, { name: '', src: '/assets/shapes/legacy/legacy228.png' }, { name: '', src: '/assets/shapes/legacy/legacy229.png' }, { name: '', src: '/assets/shapes/legacy/legacy230.png' }, { name: '', src: '/assets/shapes/legacy/legacy231.png' }, { name: '', src: '/assets/shapes/legacy/legacy232.png' }, { name: '', src: '/assets/shapes/legacy/legacy233.png' }, { name: '', src: '/assets/shapes/legacy/legacy234.png' }, { name: '', src: '/assets/shapes/legacy/legacy235.png' }, { name: '', src: '/assets/shapes/legacy/legacy236.png' }, { name: '', src: '/assets/shapes/legacy/legacy237.png' }, { name: '', src: '/assets/shapes/legacy/legacy238.png' }, { name: '', src: '/assets/shapes/legacy/legacy239.png' }, { name: '', src: '/assets/shapes/legacy/legacy240.png' }, { name: '', src: '/assets/shapes/legacy/legacy241.png' }, { name: '', src: '/assets/shapes/legacy/legacy242.png' }, { name: '', src: '/assets/shapes/legacy/legacy243.png' }, { name: '', src: '/assets/shapes/legacy/legacy244.png' }, { name: '', src: '/assets/shapes/legacy/legacy245.png' }, { name: '', src: '/assets/shapes/legacy/legacy246.png' }, { name: '', src: '/assets/shapes/legacy/legacy247.png' }, { name: '', src: '/assets/shapes/legacy/legacy248.png' }, { name: '', src: '/assets/shapes/legacy/legacy249.png' }, ] } ]; return availableShapes; } function getAvailableInnerShapes() { var availableInnerShapes = [ { group: 1, set: [ { name: 'Sheild', src: '/assets/inners/inner1.png' }, { name: 'Sheild', src: '/assets/inners/inner2.png' }, { name: 'Sheild', src: '/assets/inners/inner3.png' }, { name: 'Sheild', src: '/assets/inners/inner4.png' }, { name: 'Sheild', src: '/assets/inners/inner5.png' }, { name: 'Sheild', src: '/assets/inners/inner6.png' }, { name: 'Sheild', src: '/assets/inners/inner7.png' }, { name: 'Sheild', src: '/assets/inners/inner8.png' }, { name: 'Sheild', src: '/assets/inners/inner9.png' }, { name: 'Sheild', src: '/assets/inners/inner10.png' }, { name: 'Sheild', src: '/assets/inners/inner11.png' }, { name: 'Sheild', src: '/assets/inners/inner12.png' }, { name: 'Sheild', src: '/assets/inners/inner13.png' }, { name: 'Sheild', src: '/assets/inners/inner14.png' }, { name: 'Sheild', src: '/assets/inners/inner15.png' }, { name: 'Sheild', src: '/assets/inners/inner16.png' }, { name: 'Sheild', src: '/assets/inners/inner17.png' }, { name: 'Sheild', src: '/assets/inners/inner18.png' }, { name: 'Sheild', src: '/assets/inners/inner19.png' }, { name: 'Sheild', src: '/assets/inners/inner20.png' }, { name: 'Sheild', src: '/assets/inners/inner21.png' }, { name: 'Sheild', src: '/assets/inners/inner22.png' }, { name: 'Sheild', src: '/assets/inners/inner23.png' }, { name: 'Sheild', src: '/assets/inners/inner24.png' }, { name: 'Sheild', src: '/assets/inners/inner25.png' }, { name: 'Sheild', src: '/assets/inners/inner26.png' }, { name: 'Sheild', src: '/assets/inners/inner27.png' }, { name: 'Sheild', src: '/assets/inners/inner28.png' }, { name: 'Sheild', src: '/assets/inners/inner29.png' }, { name: 'Sheild', src: '/assets/inners/inner30.png' }, { name: 'Sheild', src: '/assets/inners/inner31.png' }, { name: 'Sheild', src: '/assets/inners/inner32.png' }, { name: 'Sheild', src: '/assets/inners/inner33.png' }, { name: 'Sheild', src: '/assets/inners/inner34.png' }, { name: 'Sheild', src: '/assets/inners/inner35.png' }, { name: 'Sheild', src: '/assets/inners/inner36.png' }, { name: 'Sheild', src: '/assets/inners/inner37.png' }, { name: 'Sheild', src: '/assets/inners/inner38.png' }, { name: 'Sheild', src: '/assets/inners/inner39.png' }, ] }, ]; return availableInnerShapes; } function getAvailableBanners() { var availableBanners = [ { group: 1, set: [ { name: '', src: '/assets/banners/banner1.png' }, { name: '', src: '/assets/banners/banner2.png' }, { name: '', src: '/assets/banners/banner3.png' }, { name: '', src: '/assets/banners/banner4.png' }, { name: '', src: '/assets/banners/banner5.png' }, { name: '', src: '/assets/banners/banner6.png' }, { name: '', src: '/assets/banners/banner7.png' }, { name: '', src: '/assets/banners/banner8.png' }, { name: '', src: '/assets/banners/banner9.png' }, { name: '', src: '/assets/banners/banner10.png' }, { name: '', src: '/assets/banners/banner11.png' }, { name: '', src: '/assets/banners/banner12.png' }, { name: '', src: '/assets/banners/banner13.png' }, { name: '', src: '/assets/banners/banner14.png' }, { name: '', src: '/assets/banners/banner15.png' }, { name: '', src: '/assets/banners/banner16.png' }, { name: '', src: '/assets/banners/banner17.png' }, { name: '', src: '/assets/banners/banner18.png' }, { name: '', src: '/assets/banners/banner19.png' }, { name: '', src: '/assets/banners/banner20.png' }, { name: '', src: '/assets/banners/banner21.png' }, { name: '', src: '/assets/banners/banner22.png' }, { name: '', src: '/assets/banners/banner23.png' }, { name: '', src: '/assets/banners/banner24.png' }, { name: '', src: '/assets/banners/banner25.png' }, { name: '', src: '/assets/banners/banner26.png' }, { name: '', src: '/assets/banners/banner27.png' }, { name: '', src: '/assets/banners/banner28.png' }, { name: '', src: '/assets/banners/banner29.png' }, { name: '', src: '/assets/banners/banner30.png' }, { name: '', src: '/assets/banners/banner31.png' }, { name: '', src: '/assets/banners/banner32.png' }, { name: '', src: '/assets/banners/banner33.png' }, { name: '', src: '/assets/banners/banner34.png' }, { name: '', src: '/assets/banners/banner35.png' }, { name: '', src: '/assets/banners/banner36.png' }, { name: '', src: '/assets/banners/banner37.png' }, { name: '', src: '/assets/banners/banner38.png' }, { name: '', src: '/assets/banners/banner39.png' }, ] }, { group: 2, set: [ { name: '', src: '/assets/banners/legacy/legacy0.png' }, { name: '', src: '/assets/banners/legacy/legacy1.png' }, { name: '', src: '/assets/banners/legacy/legacy2.png' }, { name: '', src: '/assets/banners/legacy/legacy3.png' }, { name: '', src: '/assets/banners/legacy/legacy4.png' }, { name: '', src: '/assets/banners/legacy/legacy5.png' }, { name: '', src: '/assets/banners/legacy/legacy6.png' }, { name: '', src: '/assets/banners/legacy/legacy7.png' }, { name: '', src: '/assets/banners/legacy/legacy8.png' }, { name: '', src: '/assets/banners/legacy/legacy9.png' }, { name: '', src: '/assets/banners/legacy/legacy10.png' }, { name: '', src: '/assets/banners/legacy/legacy11.png' }, { name: '', src: '/assets/banners/legacy/legacy12.png' }, { name: '', src: '/assets/banners/legacy/legacy13.png' }, { name: '', src: '/assets/banners/legacy/legacy14.png' }, { name: '', src: '/assets/banners/legacy/legacy15.png' }, { name: '', src: '/assets/banners/legacy/legacy16.png' }, { name: '', src: '/assets/banners/legacy/legacy17.png' }, { name: '', src: '/assets/banners/legacy/legacy18.png' }, { name: '', src: '/assets/banners/legacy/legacy19.png' }, { name: '', src: '/assets/banners/legacy/legacy20.png' }, { name: '', src: '/assets/banners/legacy/legacy21.png' }, { name: '', src: '/assets/banners/legacy/legacy22.png' }, { name: '', src: '/assets/banners/legacy/legacy23.png' }, { name: '', src: '/assets/banners/legacy/legacy24.png' }, { name: '', src: '/assets/banners/legacy/legacy25.png' }, { name: '', src: '/assets/banners/legacy/legacy26.png' }, { name: '', src: '/assets/banners/legacy/legacy27.png' }, { name: '', src: '/assets/banners/legacy/legacy28.png' }, { name: '', src: '/assets/banners/legacy/legacy29.png' }, { name: '', src: '/assets/banners/legacy/legacy30.png' }, { name: '', src: '/assets/banners/legacy/legacy31.png' }, { name: '', src: '/assets/banners/legacy/legacy32.png' }, { name: '', src: '/assets/banners/legacy/legacy33.png' }, { name: '', src: '/assets/banners/legacy/legacy34.png' }, { name: '', src: '/assets/banners/legacy/legacy35.png' }, { name: '', src: '/assets/banners/legacy/legacy36.png' }, { name: '', src: '/assets/banners/legacy/legacy37.png' }, { name: '', src: '/assets/banners/legacy/legacy38.png' }, { name: '', src: '/assets/banners/legacy/legacy39.png' }, { name: '', src: '/assets/banners/legacy/legacy40.png' }, { name: '', src: '/assets/banners/legacy/legacy41.png' }, { name: '', src: '/assets/banners/legacy/legacy42.png' }, { name: '', src: '/assets/banners/legacy/legacy43.png' }, { name: '', src: '/assets/banners/legacy/legacy44.png' }, { name: '', src: '/assets/banners/legacy/legacy45.png' }, { name: '', src: '/assets/banners/legacy/legacy46.png' }, { name: '', src: '/assets/banners/legacy/legacy47.png' }, { name: '', src: '/assets/banners/legacy/legacy48.png' }, { name: '', src: '/assets/banners/legacy/legacy49.png' }, { name: '', src: '/assets/banners/legacy/legacy50.png' }, { name: '', src: '/assets/banners/legacy/legacy51.png' }, { name: '', src: '/assets/banners/legacy/legacy52.png' }, { name: '', src: '/assets/banners/legacy/legacy53.png' }, { name: '', src: '/assets/banners/legacy/legacy54.png' }, { name: '', src: '/assets/banners/legacy/legacy55.png' }, { name: '', src: '/assets/banners/legacy/legacy56.png' }, { name: '', src: '/assets/banners/legacy/legacy57.png' }, { name: '', src: '/assets/banners/legacy/legacy58.png' }, { name: '', src: '/assets/banners/legacy/legacy59.png' }, { name: '', src: '/assets/banners/legacy/legacy60.png' }, { name: '', src: '/assets/banners/legacy/legacy61.png' }, { name: '', src: '/assets/banners/legacy/legacy62.png' }, { name: '', src: '/assets/banners/legacy/legacy63.png' }, { name: '', src: '/assets/banners/legacy/legacy64.png' }, { name: '', src: '/assets/banners/legacy/legacy65.png' }, { name: '', src: '/assets/banners/legacy/legacy66.png' }, { name: '', src: '/assets/banners/legacy/legacy67.png' }, { name: '', src: '/assets/banners/legacy/legacy68.png' }, { name: '', src: '/assets/banners/legacy/legacy69.png' }, { name: '', src: '/assets/banners/legacy/legacy70.png' }, { name: '', src: '/assets/banners/legacy/legacy71.png' }, { name: '', src: '/assets/banners/legacy/legacy72.png' }, { name: '', src: '/assets/banners/legacy/legacy73.png' }, { name: '', src: '/assets/banners/legacy/legacy74.png' }, { name: '', src: '/assets/banners/legacy/legacy75.png' }, { name: '', src: '/assets/banners/legacy/legacy76.png' }, { name: '', src: '/assets/banners/legacy/legacy77.png' }, { name: '', src: '/assets/banners/legacy/legacy78.png' }, { name: '', src: '/assets/banners/legacy/legacy79.png' }, { name: '', src: '/assets/banners/legacy/legacy80.png' }, { name: '', src: '/assets/banners/legacy/legacy81.png' }, { name: '', src: '/assets/banners/legacy/legacy82.png' }, { name: '', src: '/assets/banners/legacy/legacy83.png' }, { name: '', src: '/assets/banners/legacy/legacy84.png' }, { name: '', src: '/assets/banners/legacy/legacy85.png' }, { name: '', src: '/assets/banners/legacy/legacy86.png' }, { name: '', src: '/assets/banners/legacy/legacy87.png' }, { name: '', src: '/assets/banners/legacy/legacy88.png' }, { name: '', src: '/assets/banners/legacy/legacy89.png' }, { name: '', src: '/assets/banners/legacy/legacy90.png' }, { name: '', src: '/assets/banners/legacy/legacy91.png' }, { name: '', src: '/assets/banners/legacy/legacy92.png' }, { name: '', src: '/assets/banners/legacy/legacy93.png' }, { name: '', src: '/assets/banners/legacy/legacy94.png' }, { name: '', src: '/assets/banners/legacy/legacy95.png' }, { name: '', src: '/assets/banners/legacy/legacy96.png' }, { name: '', src: '/assets/banners/legacy/legacy97.png' }, { name: '', src: '/assets/banners/legacy/legacy98.png' }, { name: '', src: '/assets/banners/legacy/legacy99.png' }, { name: '', src: '/assets/banners/legacy/legacy100.png' }, { name: '', src: '/assets/banners/legacy/legacy101.png' }, { name: '', src: '/assets/banners/legacy/legacy102.png' }, { name: '', src: '/assets/banners/legacy/legacy103.png' }, { name: '', src: '/assets/banners/legacy/legacy104.png' }, { name: '', src: '/assets/banners/legacy/legacy105.png' }, { name: '', src: '/assets/banners/legacy/legacy106.png' }, { name: '', src: '/assets/banners/legacy/legacy107.png' }, { name: '', src: '/assets/banners/legacy/legacy108.png' }, { name: '', src: '/assets/banners/legacy/legacy109.png' }, { name: '', src: '/assets/banners/legacy/legacy110.png' }, { name: '', src: '/assets/banners/legacy/legacy111.png' }, { name: '', src: '/assets/banners/legacy/legacy112.png' }, { name: '', src: '/assets/banners/legacy/legacy113.png' }, { name: '', src: '/assets/banners/legacy/legacy114.png' }, { name: '', src: '/assets/banners/legacy/legacy115.png' }, { name: '', src: '/assets/banners/legacy/legacy116.png' }, { name: '', src: '/assets/banners/legacy/legacy117.png' }, { name: '', src: '/assets/banners/legacy/legacy118.png' }, { name: '', src: '/assets/banners/legacy/legacy119.png' }, { name: '', src: '/assets/banners/legacy/legacy120.png' }, { name: '', src: '/assets/banners/legacy/legacy121.png' }, { name: '', src: '/assets/banners/legacy/legacy122.png' }, { name: '', src: '/assets/banners/legacy/legacy123.png' }, { name: '', src: '/assets/banners/legacy/legacy124.png' }, { name: '', src: '/assets/banners/legacy/legacy125.png' }, { name: '', src: '/assets/banners/legacy/legacy126.png' }, { name: '', src: '/assets/banners/legacy/legacy127.png' }, { name: '', src: '/assets/banners/legacy/legacy128.png' }, { name: '', src: '/assets/banners/legacy/legacy129.png' }, { name: '', src: '/assets/banners/legacy/legacy130.png' }, { name: '', src: '/assets/banners/legacy/legacy131.png' }, { name: '', src: '/assets/banners/legacy/legacy132.png' }, { name: '', src: '/assets/banners/legacy/legacy133.png' }, { name: '', src: '/assets/banners/legacy/legacy134.png' }, { name: '', src: '/assets/banners/legacy/legacy135.png' }, { name: '', src: '/assets/banners/legacy/legacy136.png' }, { name: '', src: '/assets/banners/legacy/legacy137.png' }, { name: '', src: '/assets/banners/legacy/legacy138.png' }, { name: '', src: '/assets/banners/legacy/legacy139.png' }, ] } ]; return availableBanners; } function getAvailableIcons() { var availableIcons = [ { group: 'Leisure', set: [ { name: '', src: '/assets/icons/leisure/leisure2.png' }, { name: '', src: '/assets/icons/leisure/leisure3.png' }, { name: '', src: '/assets/icons/leisure/leisure4.png' }, { name: '', src: '/assets/icons/leisure/leisure5.png' }, { name: '', src: '/assets/icons/leisure/leisure6.png' }, { name: '', src: '/assets/icons/leisure/leisure7.png' }, { name: '', src: '/assets/icons/leisure/leisure8.png' }, { name: '', src: '/assets/icons/leisure/leisure9.png' }, { name: '', src: '/assets/icons/leisure/leisure10.png' }, { name: '', src: '/assets/icons/leisure/leisure11.png' }, { name: '', src: '/assets/icons/leisure/leisure12.png' }, { name: '', src: '/assets/icons/leisure/leisure13.png' }, { name: '', src: '/assets/icons/leisure/leisure14.png' }, { name: '', src: '/assets/icons/leisure/leisure15.png' }, { name: '', src: '/assets/icons/leisure/leisure16.png' }, { name: '', src: '/assets/icons/leisure/leisure17.png' }, { name: '', src: '/assets/icons/leisure/leisure18.png' }, { name: '', src: '/assets/icons/leisure/leisure19.png' }, { name: '', src: '/assets/icons/leisure/leisure20.png' }, { name: '', src: '/assets/icons/leisure/leisure21.png' }, { name: '', src: '/assets/icons/leisure/leisure22.png' }, { name: '', src: '/assets/icons/leisure/leisure23.png' }, { name: '', src: '/assets/icons/leisure/leisure24.png' }, { name: '', src: '/assets/icons/leisure/leisure25.png' }, { name: '', src: '/assets/icons/leisure/leisure26.png' }, { name: '', src: '/assets/icons/leisure/leisure27.png' }, { name: '', src: '/assets/icons/leisure/leisure28.png' }, { name: '', src: '/assets/icons/leisure/leisure29.png' }, { name: '', src: '/assets/icons/leisure/leisure30.png' }, { name: '', src: '/assets/icons/leisure/leisure31.png' }, { name: '', src: '/assets/icons/leisure/leisure32.png' }, { name: '', src: '/assets/icons/leisure/leisure33.png' }, { name: '', src: '/assets/icons/leisure/leisure34.png' }, { name: '', src: '/assets/icons/leisure/leisure35.png' }, { name: '', src: '/assets/icons/leisure/leisure36.png' }, { name: '', src: '/assets/icons/leisure/leisure37.png' }, { name: '', src: '/assets/icons/leisure/leisure38.png' }, { name: '', src: '/assets/icons/leisure/leisure39.png' }, { name: '', src: '/assets/icons/leisure/leisure40.png' }, { name: '', src: '/assets/icons/leisure/leisure41.png' }, { name: '', src: '/assets/icons/leisure/leisure42.png' }, { name: '', src: '/assets/icons/leisure/leisure43.png' }, { name: '', src: '/assets/icons/leisure/leisure44.png' }, { name: '', src: '/assets/icons/leisure/leisure45.png' }, { name: '', src: '/assets/icons/leisure/leisure46.png' }, { name: '', src: '/assets/icons/leisure/leisure47.png' }, { name: '', src: '/assets/icons/leisure/leisure48.png' }, { name: '', src: '/assets/icons/leisure/leisure49.png' }, { name: '', src: '/assets/icons/leisure/leisure50.png' }, { name: '', src: '/assets/icons/leisure/leisure51.png' }, ] }, { group: 'Application', set: [ { name: '', src: '/assets/icons/application/application2.png' }, { name: '', src: '/assets/icons/application/application3.png' }, { name: '', src: '/assets/icons/application/application4.png' }, { name: '', src: '/assets/icons/application/application5.png' }, { name: '', src: '/assets/icons/application/application6.png' }, { name: '', src: '/assets/icons/application/application7.png' }, { name: '', src: '/assets/icons/application/application8.png' }, { name: '', src: '/assets/icons/application/application9.png' }, { name: '', src: '/assets/icons/application/application10.png' }, { name: '', src: '/assets/icons/application/application11.png' }, { name: '', src: '/assets/icons/application/application12.png' }, { name: '', src: '/assets/icons/application/application13.png' }, { name: '', src: '/assets/icons/application/application14.png' }, { name: '', src: '/assets/icons/application/application15.png' }, { name: '', src: '/assets/icons/application/application16.png' }, { name: '', src: '/assets/icons/application/application17.png' }, { name: '', src: '/assets/icons/application/application18.png' }, { name: '', src: '/assets/icons/application/application19.png' }, { name: '', src: '/assets/icons/application/application20.png' }, { name: '', src: '/assets/icons/application/application21.png' }, { name: '', src: '/assets/icons/application/application22.png' }, { name: '', src: '/assets/icons/application/application23.png' }, { name: '', src: '/assets/icons/application/application24.png' }, { name: '', src: '/assets/icons/application/application25.png' }, { name: '', src: '/assets/icons/application/application26.png' }, { name: '', src: '/assets/icons/application/application27.png' }, { name: '', src: '/assets/icons/application/application28.png' }, { name: '', src: '/assets/icons/application/application29.png' }, { name: '', src: '/assets/icons/application/application30.png' }, { name: '', src: '/assets/icons/application/application31.png' }, { name: '', src: '/assets/icons/application/application32.png' }, { name: '', src: '/assets/icons/application/application33.png' }, { name: '', src: '/assets/icons/application/application34.png' }, { name: '', src: '/assets/icons/application/application35.png' }, { name: '', src: '/assets/icons/application/application36.png' }, { name: '', src: '/assets/icons/application/application37.png' }, { name: '', src: '/assets/icons/application/application38.png' }, { name: '', src: '/assets/icons/application/application39.png' }, { name: '', src: '/assets/icons/application/application40.png' }, { name: '', src: '/assets/icons/application/application41.png' }, { name: '', src: '/assets/icons/application/application42.png' }, { name: '', src: '/assets/icons/application/application43.png' }, { name: '', src: '/assets/icons/application/application44.png' }, { name: '', src: '/assets/icons/application/application45.png' }, { name: '', src: '/assets/icons/application/application46.png' }, { name: '', src: '/assets/icons/application/application47.png' }, { name: '', src: '/assets/icons/application/application48.png' }, { name: '', src: '/assets/icons/application/application49.png' }, ] }, { group: 'Travel', set: [ { name: '', src: '/assets/icons/travel/travel2.png' }, { name: '', src: '/assets/icons/travel/travel3.png' }, { name: '', src: '/assets/icons/travel/travel4.png' }, { name: '', src: '/assets/icons/travel/travel5.png' }, { name: '', src: '/assets/icons/travel/travel6.png' }, { name: '', src: '/assets/icons/travel/travel7.png' }, { name: '', src: '/assets/icons/travel/travel8.png' }, { name: '', src: '/assets/icons/travel/travel9.png' }, { name: '', src: '/assets/icons/travel/travel10.png' }, { name: '', src: '/assets/icons/travel/travel11.png' }, { name: '', src: '/assets/icons/travel/travel12.png' }, { name: '', src: '/assets/icons/travel/travel13.png' }, { name: '', src: '/assets/icons/travel/travel14.png' }, { name: '', src: '/assets/icons/travel/travel15.png' }, { name: '', src: '/assets/icons/travel/travel16.png' }, { name: '', src: '/assets/icons/travel/travel17.png' }, { name: '', src: '/assets/icons/travel/travel18.png' }, { name: '', src: '/assets/icons/travel/travel19.png' }, { name: '', src: '/assets/icons/travel/travel20.png' }, { name: '', src: '/assets/icons/travel/travel21.png' }, { name: '', src: '/assets/icons/travel/travel22.png' }, { name: '', src: '/assets/icons/travel/travel23.png' }, { name: '', src: '/assets/icons/travel/travel24.png' }, { name: '', src: '/assets/icons/travel/travel25.png' }, { name: '', src: '/assets/icons/travel/travel26.png' }, { name: '', src: '/assets/icons/travel/travel27.png' }, { name: '', src: '/assets/icons/travel/travel28.png' }, { name: '', src: '/assets/icons/travel/travel29.png' }, { name: '', src: '/assets/icons/travel/travel30.png' }, { name: '', src: '/assets/icons/travel/travel31.png' }, { name: '', src: '/assets/icons/travel/travel32.png' }, { name: '', src: '/assets/icons/travel/travel33.png' }, { name: '', src: '/assets/icons/travel/travel34.png' }, { name: '', src: '/assets/icons/travel/travel35.png' }, { name: '', src: '/assets/icons/travel/travel36.png' }, { name: '', src: '/assets/icons/travel/travel37.png' }, { name: '', src: '/assets/icons/travel/travel38.png' }, { name: '', src: '/assets/icons/travel/travel39.png' }, { name: '', src: '/assets/icons/travel/travel40.png' }, { name: '', src: '/assets/icons/travel/travel41.png' }, { name: '', src: '/assets/icons/travel/travel42.png' }, { name: '', src: '/assets/icons/travel/travel43.png' }, { name: '', src: '/assets/icons/travel/travel44.png' }, { name: '', src: '/assets/icons/travel/travel45.png' }, { name: '', src: '/assets/icons/travel/travel46.png' }, { name: '', src: '/assets/icons/travel/travel47.png' }, { name: '', src: '/assets/icons/travel/travel48.png' }, { name: '', src: '/assets/icons/travel/travel49.png' }, ] }, { group: 'Shopping', set: [ { name: '', src: '/assets/icons/shopping/shopping2.png' }, { name: '', src: '/assets/icons/shopping/shopping3.png' }, { name: '', src: '/assets/icons/shopping/shopping4.png' }, { name: '', src: '/assets/icons/shopping/shopping5.png' }, { name: '', src: '/assets/icons/shopping/shopping6.png' }, { name: '', src: '/assets/icons/shopping/shopping7.png' }, { name: '', src: '/assets/icons/shopping/shopping8.png' }, { name: '', src: '/assets/icons/shopping/shopping9.png' }, { name: '', src: '/assets/icons/shopping/shopping10.png' }, { name: '', src: '/assets/icons/shopping/shopping11.png' }, { name: '', src: '/assets/icons/shopping/shopping12.png' }, { name: '', src: '/assets/icons/shopping/shopping13.png' }, { name: '', src: '/assets/icons/shopping/shopping14.png' }, { name: '', src: '/assets/icons/shopping/shopping15.png' }, { name: '', src: '/assets/icons/shopping/shopping16.png' }, { name: '', src: '/assets/icons/shopping/shopping17.png' }, { name: '', src: '/assets/icons/shopping/shopping18.png' }, { name: '', src: '/assets/icons/shopping/shopping19.png' }, { name: '', src: '/assets/icons/shopping/shopping20.png' }, { name: '', src: '/assets/icons/shopping/shopping21.png' }, { name: '', src: '/assets/icons/shopping/shopping22.png' }, { name: '', src: '/assets/icons/shopping/shopping23.png' }, { name: '', src: '/assets/icons/shopping/shopping24.png' }, { name: '', src: '/assets/icons/shopping/shopping25.png' }, { name: '', src: '/assets/icons/shopping/shopping26.png' }, { name: '', src: '/assets/icons/shopping/shopping27.png' }, { name: '', src: '/assets/icons/shopping/shopping28.png' }, { name: '', src: '/assets/icons/shopping/shopping29.png' }, { name: '', src: '/assets/icons/shopping/shopping30.png' }, { name: '', src: '/assets/icons/shopping/shopping31.png' }, { name: '', src: '/assets/icons/shopping/shopping32.png' }, { name: '', src: '/assets/icons/shopping/shopping33.png' }, { name: '', src: '/assets/icons/shopping/shopping34.png' }, { name: '', src: '/assets/icons/shopping/shopping35.png' }, { name: '', src: '/assets/icons/shopping/shopping36.png' }, { name: '', src: '/assets/icons/shopping/shopping37.png' }, { name: '', src: '/assets/icons/shopping/shopping38.png' }, { name: '', src: '/assets/icons/shopping/shopping39.png' }, { name: '', src: '/assets/icons/shopping/shopping40.png' }, { name: '', src: '/assets/icons/shopping/shopping41.png' }, { name: '', src: '/assets/icons/shopping/shopping42.png' }, { name: '', src: '/assets/icons/shopping/shopping43.png' }, { name: '', src: '/assets/icons/shopping/shopping44.png' }, { name: '', src: '/assets/icons/shopping/shopping45.png' }, { name: '', src: '/assets/icons/shopping/shopping46.png' }, { name: '', src: '/assets/icons/shopping/shopping47.png' }, { name: '', src: '/assets/icons/shopping/shopping48.png' }, { name: '', src: '/assets/icons/shopping/shopping49.png' }, ] }, { group: 'Nature', set: [ { name: '', src: '/assets/icons/nature/nature2.png' }, { name: '', src: '/assets/icons/nature/nature3.png' }, { name: '', src: '/assets/icons/nature/nature4.png' }, { name: '', src: '/assets/icons/nature/nature5.png' }, { name: '', src: '/assets/icons/nature/nature6.png' }, { name: '', src: '/assets/icons/nature/nature7.png' }, { name: '', src: '/assets/icons/nature/nature8.png' }, { name: '', src: '/assets/icons/nature/nature9.png' }, { name: '', src: '/assets/icons/nature/nature10.png' }, { name: '', src: '/assets/icons/nature/nature11.png' }, { name: '', src: '/assets/icons/nature/nature12.png' }, { name: '', src: '/assets/icons/nature/nature13.png' }, { name: '', src: '/assets/icons/nature/nature14.png' }, { name: '', src: '/assets/icons/nature/nature15.png' }, { name: '', src: '/assets/icons/nature/nature16.png' }, { name: '', src: '/assets/icons/nature/nature17.png' }, { name: '', src: '/assets/icons/nature/nature18.png' }, { name: '', src: '/assets/icons/nature/nature19.png' }, { name: '', src: '/assets/icons/nature/nature20.png' }, { name: '', src: '/assets/icons/nature/nature21.png' }, { name: '', src: '/assets/icons/nature/nature22.png' }, { name: '', src: '/assets/icons/nature/nature23.png' }, { name: '', src: '/assets/icons/nature/nature24.png' }, { name: '', src: '/assets/icons/nature/nature25.png' }, { name: '', src: '/assets/icons/nature/nature26.png' }, { name: '', src: '/assets/icons/nature/nature27.png' }, { name: '', src: '/assets/icons/nature/nature28.png' }, { name: '', src: '/assets/icons/nature/nature29.png' }, { name: '', src: '/assets/icons/nature/nature30.png' }, { name: '', src: '/assets/icons/nature/nature31.png' }, { name: '', src: '/assets/icons/nature/nature32.png' }, { name: '', src: '/assets/icons/nature/nature33.png' }, { name: '', src: '/assets/icons/nature/nature34.png' }, { name: '', src: '/assets/icons/nature/nature35.png' }, { name: '', src: '/assets/icons/nature/nature36.png' }, { name: '', src: '/assets/icons/nature/nature37.png' }, { name: '', src: '/assets/icons/nature/nature38.png' }, { name: '', src: '/assets/icons/nature/nature39.png' }, { name: '', src: '/assets/icons/nature/nature40.png' }, { name: '', src: '/assets/icons/nature/nature41.png' }, { name: '', src: '/assets/icons/nature/nature42.png' }, { name: '', src: '/assets/icons/nature/nature43.png' }, { name: '', src: '/assets/icons/nature/nature44.png' }, { name: '', src: '/assets/icons/nature/nature45.png' }, { name: '', src: '/assets/icons/nature/nature46.png' }, { name: '', src: '/assets/icons/nature/nature47.png' }, { name: '', src: '/assets/icons/nature/nature48.png' }, { name: '', src: '/assets/icons/nature/nature49.png' }, ] }, { group: 'Misc', set: [ { name: '', src: '/assets/icons/misc/misc2.png' }, { name: '', src: '/assets/icons/misc/misc3.png' }, { name: '', src: '/assets/icons/misc/misc4.png' }, { name: '', src: '/assets/icons/misc/misc5.png' }, { name: '', src: '/assets/icons/misc/misc6.png' }, { name: '', src: '/assets/icons/misc/misc7.png' }, { name: '', src: '/assets/icons/misc/misc8.png' }, { name: '', src: '/assets/icons/misc/misc9.png' }, { name: '', src: '/assets/icons/misc/misc10.png' }, { name: '', src: '/assets/icons/misc/misc11.png' }, { name: '', src: '/assets/icons/misc/misc12.png' }, { name: '', src: '/assets/icons/misc/misc13.png' }, { name: '', src: '/assets/icons/misc/misc14.png' }, { name: '', src: '/assets/icons/misc/misc15.png' }, { name: '', src: '/assets/icons/misc/misc16.png' }, { name: '', src: '/assets/icons/misc/misc17.png' }, { name: '', src: '/assets/icons/misc/misc18.png' }, { name: '', src: '/assets/icons/misc/misc19.png' }, { name: '', src: '/assets/icons/misc/misc20.png' }, { name: '', src: '/assets/icons/misc/misc21.png' }, { name: '', src: '/assets/icons/misc/misc22.png' }, { name: '', src: '/assets/icons/misc/misc23.png' }, { name: '', src: '/assets/icons/misc/misc24.png' }, { name: '', src: '/assets/icons/misc/misc25.png' }, { name: '', src: '/assets/icons/misc/misc26.png' }, { name: '', src: '/assets/icons/misc/misc27.png' }, { name: '', src: '/assets/icons/misc/misc28.png' }, { name: '', src: '/assets/icons/misc/misc29.png' }, { name: '', src: '/assets/icons/misc/misc30.png' }, { name: '', src: '/assets/icons/misc/misc31.png' }, { name: '', src: '/assets/icons/misc/misc32.png' }, { name: '', src: '/assets/icons/misc/misc33.png' }, { name: '', src: '/assets/icons/misc/misc34.png' }, { name: '', src: '/assets/icons/misc/misc35.png' }, { name: '', src: '/assets/icons/misc/misc36.png' }, { name: '', src: '/assets/icons/misc/misc37.png' }, { name: '', src: '/assets/icons/misc/misc38.png' }, { name: '', src: '/assets/icons/misc/misc39.png' }, { name: '', src: '/assets/icons/misc/misc40.png' }, { name: '', src: '/assets/icons/misc/misc41.png' }, { name: '', src: '/assets/icons/misc/misc42.png' }, { name: '', src: '/assets/icons/misc/misc43.png' }, { name: '', src: '/assets/icons/misc/misc44.png' }, { name: '', src: '/assets/icons/misc/misc45.png' }, { name: '', src: '/assets/icons/misc/misc46.png' }, { name: '', src: '/assets/icons/misc/misc47.png' }, { name: '', src: '/assets/icons/misc/misc48.png' }, { name: '', src: '/assets/icons/misc/misc49.png' }, { name: '', src: '/assets/icons/misc/misc50.png' }, { name: '', src: '/assets/icons/misc/misc51.png' }, { name: '', src: '/assets/icons/misc/misc52.png' }, { name: '', src: '/assets/icons/misc/misc53.png' }, { name: '', src: '/assets/icons/misc/misc54.png' }, { name: '', src: '/assets/icons/misc/misc55.png' }, { name: '', src: '/assets/icons/misc/misc56.png' }, { name: '', src: '/assets/icons/misc/misc57.png' }, { name: '', src: '/assets/icons/misc/misc58.png' }, { name: '', src: '/assets/icons/misc/misc59.png' }, { name: '', src: '/assets/icons/misc/misc60.png' }, { name: '', src: '/assets/icons/misc/misc61.png' }, { name: '', src: '/assets/icons/misc/misc62.png' }, { name: '', src: '/assets/icons/misc/misc63.png' }, { name: '', src: '/assets/icons/misc/misc64.png' }, { name: '', src: '/assets/icons/misc/misc65.png' }, { name: '', src: '/assets/icons/misc/misc66.png' }, { name: '', src: '/assets/icons/misc/misc67.png' }, { name: '', src: '/assets/icons/misc/misc68.png' }, { name: '', src: '/assets/icons/misc/misc69.png' }, { name: '', src: '/assets/icons/misc/misc70.png' }, { name: '', src: '/assets/icons/misc/misc71.png' }, { name: '', src: '/assets/icons/misc/misc72.png' }, { name: '', src: '/assets/icons/misc/misc73.png' }, { name: '', src: '/assets/icons/misc/misc74.png' }, { name: '', src: '/assets/icons/misc/misc75.png' }, { name: '', src: '/assets/icons/misc/misc76.png' }, { name: '', src: '/assets/icons/misc/misc77.png' }, { name: '', src: '/assets/icons/misc/misc78.png' }, { name: '', src: '/assets/icons/misc/misc79.png' }, { name: '', src: '/assets/icons/misc/misc80.png' }, { name: '', src: '/assets/icons/misc/misc81.png' }, { name: '', src: '/assets/icons/misc/misc82.png' }, { name: '', src: '/assets/icons/misc/misc83.png' }, { name: '', src: '/assets/icons/misc/misc84.png' }, { name: '', src: '/assets/icons/misc/misc85.png' }, { name: '', src: '/assets/icons/misc/misc86.png' }, { name: '', src: '/assets/icons/misc/misc87.png' }, { name: '', src: '/assets/icons/misc/misc88.png' }, { name: '', src: '/assets/icons/misc/misc89.png' }, { name: '', src: '/assets/icons/misc/misc90.png' }, { name: '', src: '/assets/icons/misc/misc91.png' }, { name: '', src: '/assets/icons/misc/misc92.png' }, { name: '', src: '/assets/icons/misc/misc93.png' }, { name: '', src: '/assets/icons/misc/misc94.png' }, { name: '', src: '/assets/icons/misc/misc95.png' }, { name: '', src: '/assets/icons/misc/misc96.png' }, { name: '', src: '/assets/icons/misc/misc97.png' }, { name: '', src: '/assets/icons/misc/misc98.png' }, { name: '', src: '/assets/icons/misc/misc99.png' }, { name: '', src: '/assets/icons/misc/misc0.png' }, ] }, { group: 'Legacy', set: [ { name: '', src: '/assets/icons/legacy/legacy0.png' }, { name: '', src: '/assets/icons/legacy/legacy1.png' }, { name: '', src: '/assets/icons/legacy/legacy2.png' }, { name: '', src: '/assets/icons/legacy/legacy3.png' }, { name: '', src: '/assets/icons/legacy/legacy4.png' }, { name: '', src: '/assets/icons/legacy/legacy5.png' }, { name: '', src: '/assets/icons/legacy/legacy6.png' }, { name: '', src: '/assets/icons/legacy/legacy7.png' }, { name: '', src: '/assets/icons/legacy/legacy8.png' }, { name: '', src: '/assets/icons/legacy/legacy9.png' }, { name: '', src: '/assets/icons/legacy/legacy10.png' }, { name: '', src: '/assets/icons/legacy/legacy11.png' }, { name: '', src: '/assets/icons/legacy/legacy12.png' }, { name: '', src: '/assets/icons/legacy/legacy13.png' }, { name: '', src: '/assets/icons/legacy/legacy14.png' }, { name: '', src: '/assets/icons/legacy/legacy15.png' }, { name: '', src: '/assets/icons/legacy/legacy16.png' }, { name: '', src: '/assets/icons/legacy/legacy17.png' }, { name: '', src: '/assets/icons/legacy/legacy18.png' }, { name: '', src: '/assets/icons/legacy/legacy19.png' }, { name: '', src: '/assets/icons/legacy/legacy20.png' }, { name: '', src: '/assets/icons/legacy/legacy21.png' }, { name: '', src: '/assets/icons/legacy/legacy22.png' }, { name: '', src: '/assets/icons/legacy/legacy23.png' }, { name: '', src: '/assets/icons/legacy/legacy24.png' }, { name: '', src: '/assets/icons/legacy/legacy25.png' }, { name: '', src: '/assets/icons/legacy/legacy26.png' }, { name: '', src: '/assets/icons/legacy/legacy27.png' }, { name: '', src: '/assets/icons/legacy/legacy28.png' }, { name: '', src: '/assets/icons/legacy/legacy29.png' }, { name: '', src: '/assets/icons/legacy/legacy30.png' }, { name: '', src: '/assets/icons/legacy/legacy31.png' }, { name: '', src: '/assets/icons/legacy/legacy32.png' }, { name: '', src: '/assets/icons/legacy/legacy33.png' }, { name: '', src: '/assets/icons/legacy/legacy34.png' }, { name: '', src: '/assets/icons/legacy/legacy35.png' }, { name: '', src: '/assets/icons/legacy/legacy36.png' }, { name: '', src: '/assets/icons/legacy/legacy37.png' }, { name: '', src: '/assets/icons/legacy/legacy38.png' }, { name: '', src: '/assets/icons/legacy/legacy39.png' }, { name: '', src: '/assets/icons/legacy/legacy40.png' }, { name: '', src: '/assets/icons/legacy/legacy41.png' }, { name: '', src: '/assets/icons/legacy/legacy42.png' }, { name: '', src: '/assets/icons/legacy/legacy43.png' }, { name: '', src: '/assets/icons/legacy/legacy44.png' }, { name: '', src: '/assets/icons/legacy/legacy45.png' }, { name: '', src: '/assets/icons/legacy/legacy46.png' }, { name: '', src: '/assets/icons/legacy/legacy47.png' }, { name: '', src: '/assets/icons/legacy/legacy48.png' }, { name: '', src: '/assets/icons/legacy/legacy49.png' }, { name: '', src: '/assets/icons/legacy/legacy50.png' }, { name: '', src: '/assets/icons/legacy/legacy51.png' }, { name: '', src: '/assets/icons/legacy/legacy52.png' }, { name: '', src: '/assets/icons/legacy/legacy53.png' }, { name: '', src: '/assets/icons/legacy/legacy54.png' }, { name: '', src: '/assets/icons/legacy/legacy55.png' }, { name: '', src: '/assets/icons/legacy/legacy56.png' }, { name: '', src: '/assets/icons/legacy/legacy57.png' }, { name: '', src: '/assets/icons/legacy/legacy58.png' }, { name: '', src: '/assets/icons/legacy/legacy59.png' }, { name: '', src: '/assets/icons/legacy/legacy60.png' }, { name: '', src: '/assets/icons/legacy/legacy61.png' }, { name: '', src: '/assets/icons/legacy/legacy62.png' }, { name: '', src: '/assets/icons/legacy/legacy63.png' }, { name: '', src: '/assets/icons/legacy/legacy64.png' }, { name: '', src: '/assets/icons/legacy/legacy65.png' }, { name: '', src: '/assets/icons/legacy/legacy66.png' }, { name: '', src: '/assets/icons/legacy/legacy67.png' }, { name: '', src: '/assets/icons/legacy/legacy68.png' }, { name: '', src: '/assets/icons/legacy/legacy69.png' }, { name: '', src: '/assets/icons/legacy/legacy70.png' }, { name: '', src: '/assets/icons/legacy/legacy71.png' }, { name: '', src: '/assets/icons/legacy/legacy72.png' }, { name: '', src: '/assets/icons/legacy/legacy73.png' }, { name: '', src: '/assets/icons/legacy/legacy74.png' }, { name: '', src: '/assets/icons/legacy/legacy75.png' }, { name: '', src: '/assets/icons/legacy/legacy76.png' }, { name: '', src: '/assets/icons/legacy/legacy77.png' }, { name: '', src: '/assets/icons/legacy/legacy78.png' }, { name: '', src: '/assets/icons/legacy/legacy79.png' }, { name: '', src: '/assets/icons/legacy/legacy80.png' }, { name: '', src: '/assets/icons/legacy/legacy81.png' }, { name: '', src: '/assets/icons/legacy/legacy82.png' }, { name: '', src: '/assets/icons/legacy/legacy83.png' }, { name: '', src: '/assets/icons/legacy/legacy84.png' }, { name: '', src: '/assets/icons/legacy/legacy85.png' }, { name: '', src: '/assets/icons/legacy/legacy86.png' }, { name: '', src: '/assets/icons/legacy/legacy87.png' }, { name: '', src: '/assets/icons/legacy/legacy88.png' }, { name: '', src: '/assets/icons/legacy/legacy89.png' }, { name: '', src: '/assets/icons/legacy/legacy90.png' }, { name: '', src: '/assets/icons/legacy/legacy91.png' }, { name: '', src: '/assets/icons/legacy/legacy92.png' }, { name: '', src: '/assets/icons/legacy/legacy93.png' }, { name: '', src: '/assets/icons/legacy/legacy94.png' }, { name: '', src: '/assets/icons/legacy/legacy95.png' }, { name: '', src: '/assets/icons/legacy/legacy96.png' }, { name: '', src: '/assets/icons/legacy/legacy97.png' }, { name: '', src: '/assets/icons/legacy/legacy98.png' }, { name: '', src: '/assets/icons/legacy/legacy99.png' }, { name: '', src: '/assets/icons/legacy/legacy100.png' }, { name: '', src: '/assets/icons/legacy/legacy101.png' }, { name: '', src: '/assets/icons/legacy/legacy102.png' }, { name: '', src: '/assets/icons/legacy/legacy103.png' }, { name: '', src: '/assets/icons/legacy/legacy104.png' }, { name: '', src: '/assets/icons/legacy/legacy105.png' }, { name: '', src: '/assets/icons/legacy/legacy106.png' }, { name: '', src: '/assets/icons/legacy/legacy107.png' }, { name: '', src: '/assets/icons/legacy/legacy108.png' }, { name: '', src: '/assets/icons/legacy/legacy109.png' }, { name: '', src: '/assets/icons/legacy/legacy110.png' }, { name: '', src: '/assets/icons/legacy/legacy111.png' }, { name: '', src: '/assets/icons/legacy/legacy112.png' }, { name: '', src: '/assets/icons/legacy/legacy113.png' }, { name: '', src: '/assets/icons/legacy/legacy114.png' }, { name: '', src: '/assets/icons/legacy/legacy115.png' }, { name: '', src: '/assets/icons/legacy/legacy116.png' }, { name: '', src: '/assets/icons/legacy/legacy117.png' }, { name: '', src: '/assets/icons/legacy/legacy118.png' }, { name: '', src: '/assets/icons/legacy/legacy119.png' }, { name: '', src: '/assets/icons/legacy/legacy120.png' }, { name: '', src: '/assets/icons/legacy/legacy121.png' }, { name: '', src: '/assets/icons/legacy/legacy122.png' }, { name: '', src: '/assets/icons/legacy/legacy123.png' }, { name: '', src: '/assets/icons/legacy/legacy124.png' }, { name: '', src: '/assets/icons/legacy/legacy125.png' }, { name: '', src: '/assets/icons/legacy/legacy126.png' }, { name: '', src: '/assets/icons/legacy/legacy127.png' }, { name: '', src: '/assets/icons/legacy/legacy128.png' }, { name: '', src: '/assets/icons/legacy/legacy129.png' }, { name: '', src: '/assets/icons/legacy/legacy130.png' }, { name: '', src: '/assets/icons/legacy/legacy131.png' }, { name: '', src: '/assets/icons/legacy/legacy132.png' }, { name: '', src: '/assets/icons/legacy/legacy133.png' }, { name: '', src: '/assets/icons/legacy/legacy134.png' }, { name: '', src: '/assets/icons/legacy/legacy135.png' }, { name: '', src: '/assets/icons/legacy/legacy136.png' }, { name: '', src: '/assets/icons/legacy/legacy137.png' }, { name: '', src: '/assets/icons/legacy/legacy138.png' }, { name: '', src: '/assets/icons/legacy/legacy139.png' }, { name: '', src: '/assets/icons/legacy/legacy140.png' }, { name: '', src: '/assets/icons/legacy/legacy141.png' }, { name: '', src: '/assets/icons/legacy/legacy142.png' }, { name: '', src: '/assets/icons/legacy/legacy143.png' }, { name: '', src: '/assets/icons/legacy/legacy144.png' }, { name: '', src: '/assets/icons/legacy/legacy145.png' }, { name: '', src: '/assets/icons/legacy/legacy146.png' }, { name: '', src: '/assets/icons/legacy/legacy147.png' }, { name: '', src: '/assets/icons/legacy/legacy148.png' }, { name: '', src: '/assets/icons/legacy/legacy149.png' }, { name: '', src: '/assets/icons/legacy/legacy150.png' }, { name: '', src: '/assets/icons/legacy/legacy151.png' }, { name: '', src: '/assets/icons/legacy/legacy152.png' }, { name: '', src: '/assets/icons/legacy/legacy153.png' }, { name: '', src: '/assets/icons/legacy/legacy154.png' }, { name: '', src: '/assets/icons/legacy/legacy155.png' }, { name: '', src: '/assets/icons/legacy/legacy156.png' }, { name: '', src: '/assets/icons/legacy/legacy157.png' }, { name: '', src: '/assets/icons/legacy/legacy158.png' }, { name: '', src: '/assets/icons/legacy/legacy159.png' }, { name: '', src: '/assets/icons/legacy/legacy160.png' }, { name: '', src: '/assets/icons/legacy/legacy161.png' }, { name: '', src: '/assets/icons/legacy/legacy162.png' }, { name: '', src: '/assets/icons/legacy/legacy163.png' }, { name: '', src: '/assets/icons/legacy/legacy164.png' }, { name: '', src: '/assets/icons/legacy/legacy165.png' }, { name: '', src: '/assets/icons/legacy/legacy166.png' }, { name: '', src: '/assets/icons/legacy/legacy167.png' }, { name: '', src: '/assets/icons/legacy/legacy168.png' }, { name: '', src: '/assets/icons/legacy/legacy169.png' }, { name: '', src: '/assets/icons/legacy/legacy170.png' }, { name: '', src: '/assets/icons/legacy/legacy171.png' }, { name: '', src: '/assets/icons/legacy/legacy172.png' }, { name: '', src: '/assets/icons/legacy/legacy173.png' }, { name: '', src: '/assets/icons/legacy/legacy174.png' }, { name: '', src: '/assets/icons/legacy/legacy175.png' }, { name: '', src: '/assets/icons/legacy/legacy176.png' }, { name: '', src: '/assets/icons/legacy/legacy177.png' }, { name: '', src: '/assets/icons/legacy/legacy178.png' }, { name: '', src: '/assets/icons/legacy/legacy179.png' }, { name: '', src: '/assets/icons/legacy/legacy180.png' }, { name: '', src: '/assets/icons/legacy/legacy181.png' }, { name: '', src: '/assets/icons/legacy/legacy182.png' }, { name: '', src: '/assets/icons/legacy/legacy183.png' }, { name: '', src: '/assets/icons/legacy/legacy184.png' }, { name: '', src: '/assets/icons/legacy/legacy185.png' }, { name: '', src: '/assets/icons/legacy/legacy186.png' }, { name: '', src: '/assets/icons/legacy/legacy187.png' }, { name: '', src: '/assets/icons/legacy/legacy188.png' }, { name: '', src: '/assets/icons/legacy/legacy189.png' }, { name: '', src: '/assets/icons/legacy/legacy190.png' }, { name: '', src: '/assets/icons/legacy/legacy191.png' }, { name: '', src: '/assets/icons/legacy/legacy192.png' }, { name: '', src: '/assets/icons/legacy/legacy193.png' }, { name: '', src: '/assets/icons/legacy/legacy194.png' }, { name: '', src: '/assets/icons/legacy/legacy195.png' }, { name: '', src: '/assets/icons/legacy/legacy196.png' }, { name: '', src: '/assets/icons/legacy/legacy197.png' }, { name: '', src: '/assets/icons/legacy/legacy198.png' }, { name: '', src: '/assets/icons/legacy/legacy199.png' }, { name: '', src: '/assets/icons/legacy/legacy200.png' }, { name: '', src: '/assets/icons/legacy/legacy201.png' }, { name: '', src: '/assets/icons/legacy/legacy202.png' }, { name: '', src: '/assets/icons/legacy/legacy203.png' }, { name: '', src: '/assets/icons/legacy/legacy204.png' }, { name: '', src: '/assets/icons/legacy/legacy205.png' }, { name: '', src: '/assets/icons/legacy/legacy206.png' }, { name: '', src: '/assets/icons/legacy/legacy207.png' }, { name: '', src: '/assets/icons/legacy/legacy208.png' }, { name: '', src: '/assets/icons/legacy/legacy209.png' }, { name: '', src: '/assets/icons/legacy/legacy210.png' }, { name: '', src: '/assets/icons/legacy/legacy211.png' }, { name: '', src: '/assets/icons/legacy/legacy212.png' }, { name: '', src: '/assets/icons/legacy/legacy213.png' }, { name: '', src: '/assets/icons/legacy/legacy214.png' }, { name: '', src: '/assets/icons/legacy/legacy215.png' }, { name: '', src: '/assets/icons/legacy/legacy216.png' }, { name: '', src: '/assets/icons/legacy/legacy217.png' }, { name: '', src: '/assets/icons/legacy/legacy218.png' }, { name: '', src: '/assets/icons/legacy/legacy219.png' }, { name: '', src: '/assets/icons/legacy/legacy220.png' }, { name: '', src: '/assets/icons/legacy/legacy221.png' }, { name: '', src: '/assets/icons/legacy/legacy222.png' }, { name: '', src: '/assets/icons/legacy/legacy223.png' }, { name: '', src: '/assets/icons/legacy/legacy224.png' }, { name: '', src: '/assets/icons/legacy/legacy225.png' }, { name: '', src: '/assets/icons/legacy/legacy226.png' }, { name: '', src: '/assets/icons/legacy/legacy227.png' }, { name: '', src: '/assets/icons/legacy/legacy228.png' }, { name: '', src: '/assets/icons/legacy/legacy229.png' }, { name: '', src: '/assets/icons/legacy/legacy230.png' }, { name: '', src: '/assets/icons/legacy/legacy231.png' }, { name: '', src: '/assets/icons/legacy/legacy232.png' }, { name: '', src: '/assets/icons/legacy/legacy233.png' }, { name: '', src: '/assets/icons/legacy/legacy234.png' }, { name: '', src: '/assets/icons/legacy/legacy235.png' }, { name: '', src: '/assets/icons/legacy/legacy236.png' }, { name: '', src: '/assets/icons/legacy/legacy237.png' }, { name: '', src: '/assets/icons/legacy/legacy238.png' }, { name: '', src: '/assets/icons/legacy/legacy239.png' }, { name: '', src: '/assets/icons/legacy/legacy240.png' }, { name: '', src: '/assets/icons/legacy/legacy241.png' }, { name: '', src: '/assets/icons/legacy/legacy242.png' }, { name: '', src: '/assets/icons/legacy/legacy243.png' }, { name: '', src: '/assets/icons/legacy/legacy244.png' }, { name: '', src: '/assets/icons/legacy/legacy245.png' }, { name: '', src: '/assets/icons/legacy/legacy246.png' }, { name: '', src: '/assets/icons/legacy/legacy247.png' }, { name: '', src: '/assets/icons/legacy/legacy248.png' }, { name: '', src: '/assets/icons/legacy/legacy249.png' }, ] } ]; return availableIcons; } // Controller for previewing badge template function badgeSummaryController(common, $scope, $modalInstance, template, $filter, showSocialMediaClicks) { $scope.pagination = { current: 1 }; $scope.clicksPagination = { current: 1 }; $scope.pageSize = 15; $scope.template = template; $scope.tags = []; $scope.skills = []; $scope.loadingIssuedBadges = true; $scope.loadingSocialTrackings = true; $scope.socialMediaClicks = showSocialMediaClicks; $scope.facebookCount = 0; $scope.twitterCount = 0; $scope.yammerCount = 0; $scope.linkedinCount = 0; $scope.unknownCount = 0; if (template && template.criteria && template.criteria.url && !template.criteria.url.match('http')) { template.criteria.url = 'http://' + template.criteria.url; for (var i = 0; i < $scope.template.tags.length; i++) { $scope.tags.push({ name: $scope.template.tags[i] }) } for (var j = 0; j < $scope.template.skills.length; j++) { $scope.skills.push({ name: $scope.template.skills[j] }) } } $scope.startDate = $filter('date')(moment().startOf('year').toDate(), "yyyy-MM-dd"); $scope.endDate = $filter('date')(moment().endOf('year').add(1, 'days').toDate(), "yyyy-MM-dd"); $scope.date = { startDate: $scope.startDate, endDate: $scope.endDate }; $scope.datePickerOptions = { locale: { separator: ' - ' }, eventHandlers: { 'apply.daterangepicker': function (ev, picker) { var start = $filter('date')(ev.model.startDate._d, "yyyy-MM-dd"); var end = $filter('date')(ev.model.endDate._d, "yyyy-MM-dd"); } } }; function getBadgeTemplate() { myBadgesAdminDataContext.getTemplate($scope.template.id).then(function (data) { $scope.template = data; }); } function getIssuedRecordsIssued() { myBadgesAdminDataContext.getIssuedByTemplateUsers($scope.template.id, 2).then(function (data) { $scope.issued = data.issuedBadgesUserSummaryModels; $scope.loadingIssuedBadges = false; }); } function getSocialTrackingRecords() { if ($scope.template.issuedBadgeIds) { myBadgesAdminDataContext.getSocialTrackingsForIssuedBadge($scope.template.id, $scope.template.issuedBadgeIds).then(function (data) { angular.forEach(data, function (tracking) { switch (tracking.platform) { case 0: $scope.facebookCount++; break; case 1: $scope.twitterCount++; break; case 2: $scope.yammerCount++; break; case 3: $scope.linkedinCount++; break; case 4: $scope.unknownCount++; break; default: } }); $scope.socialTrackings = data; $scope.loadingSocialTrackings = false; }); } } getBadgeTemplate(); getIssuedRecordsIssued(); getSocialTrackingRecords(); // close the modal $scope.cancel = function () { $modalInstance.dismiss('cancel'); }; $scope.revokeBadge = function (issueData) { myBadgesAdminDataContext.revokeBadge(issueData.id).then(function (data) { getIssuedRecordsIssued(); }); }; $scope.expireBadge = function (issueData) { myBadgesAdminDataContext.expireBadge(issueData.id).then(function (data) { getIssuedRecordsIssued(); }); }; $scope.exportSocialTrackingsToCsv = function (badgeId, searchTerm, startDate, endDate) { if (searchTerm === undefined || searchTerm === 'undefined') { searchTerm = ""; } myBadgesAdminDataContext.exportSocialTrackingsToCsv(badgeId, searchTerm, startDate, endDate).then(function (fileName) { myBadgesAdminDataContext.downloadCsvFile(fileName); }); }; $scope.exportIssuedBadgesToCsv = function (badgeId, searchTerm) { if (searchTerm === undefined || searchTerm === 'undefined') { searchTerm = ""; } myBadgesAdminDataContext.exportIssuedBadgesToCsv(badgeId, searchTerm).then(function (fileName) { myBadgesAdminDataContext.downloadCsvFile(fileName); }); }; } /* ************************************ * Badge Issuers * ************************************/ function getIssuersForUser() { return myBadgesAdminDataContext.getBadgeIssuersForUser(); } function getDirectIssuersForUser() { return myBadgesAdminDataContext.getDirectBadgeIssuersForUser(); } function getIssuersForOrgs(orgIds) { return myBadgesAdminDataContext.getBadgeIssuers(orgIds); } function getAllIssuersForInstance(instance) { return myBadgesAdminDataContext.getAllIssuersForInstance(instance); } /* ************************************ * Badge Graphics * ************************************/ function getGraphicsForUser() { return myBadgesAdminDataContext.getGraphicsForUser(); } function createGraphic(model) { return myBadgesAdminDataContext.createNewGraphic(model); } function updateGraphic(layering) { return myBadgesAdminDataContext.updateGraphic(layering); } function deleteGraphic(id) { return myBadgesAdminDataContext.deleteGraphic(id); } /* ************************************ * Badge Templates * ************************************/ function getBadgeTemplates() { return myBadgesAdminDataContext.getTemplatesForUser(); } function getBadgeTemplatesToIssue() { return myBadgesAdminDataContext.getTemplatesForUserToIssue(); } function getTemplateTotals(id) { return myBadgesAdminDataContext.getTemplateTotals(id); } function getTemplatesTotals(ids) { return myBadgesAdminDataContext.getTemplatesTotals(ids); } function getPublishedBadgeTemplates() { return myBadgesAdminDataContext.getPublishedTemplatesForUser(); } function createBadgeTemplate(model) { return myBadgesAdminDataContext.createNewTemplate(model); } function getBadgeTemplate(id) { return myBadgesAdminDataContext.getTemplate(id); } function updateBadgeTemplate(model) { return myBadgesAdminDataContext.updateTemplate(model); } function changeBadgeTemplateStatus(model) { return myBadgesAdminDataContext.changeTemplateStatus(model.id, model); } function deleteBadgeTemplate(id) { return myBadgesAdminDataContext.deleteTemplate(id); } function createAllocation(organisationId, badgeTemplateId) { var Allocation = { organisationId: organisationId, badgeTemplateId: badgeTemplateId }; return Allocation; } function allocateBadgeTemplateForIssuing(allocations, badgeTemplateId) { return myBadgesAdminDataContext.allocateBadgeTemplateForIssuing(allocations, badgeTemplateId); } function withdrawAllocation(allocations, badgeTemplateId) { return myBadgesAdminDataContext.withdrawAllocations(allocations, badgeTemplateId); } function getAllocations(badgeTemplateId) { return myBadgesAdminDataContext.getAllocations(badgeTemplateId); } /* ************************************ * Badge Graphic Layerings * ************************************/ function getLayeringForGraphic(graphicId) { return myBadgesAdminDataContext.getLayeringByGraphic(graphicId); } function createLayering(model) { return myBadgesAdminDataContext.createNewLayering(model); } function getLayering(id) { return myBadgesAdminDataContext.getLayeringById(id); } function updateLayering(layering) { return myBadgesAdminDataContext.updateLayering(layering); } function deleteLayering(id) { return myBadgesAdminDataContext.deleteLayering(id); } /* ************************************ * Organisation utils * ************************************/ // Get organisations in the users hierarchy function getOrganisations() { return myUsersDataContext.getOrganisations(); } } })();