{"version":3,"sources":["webpack:///./src/components/_global/GroupCard.vue?fd13","webpack:///./src/components/_global/GroupCard.vue?ba89","webpack:///./src/components/_global/DropArea.vue?aea4","webpack:///./src/components/_global/DropArea.vue","webpack:///./src/components/_global/DropArea.vue?034d","webpack:///./src/components/_global/DropArea.vue?a2df","webpack:///./src/components/_global/DragItem.vue?b75b","webpack:///./src/components/_global/DragItem.vue?2463","webpack:///./src/components/_global/DragItem.vue?b5dc","webpack:///./src/components/_global/DragItem.vue?9d3d","webpack:///./src/components/_global/GroupCard.vue?8849","webpack:///./src/components/_global/GroupCard.vue?92d5","webpack:///./src/components/_global/GroupCard.vue?c73c","webpack:///./src/components/_global/DropArea.vue?bf37","webpack:///./src/components/_global/DragItem.vue?7caf"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","$scopedSlots","_t","_e","title","class","titleAlignment","isTitleEditing","attrs","on","handleEditTitleFocus","handleEndEditTitle","model","value","callback","$$v","titleEdition","expression","staticStyle","titleImageSrc","_v","_s","titleRightIcon","onEditTitle","handleStartEditTitle","displayPlayerCount","displayTotalILvl","colorPlayerCount","playerCount","scopedSlots","_u","key","fn","data","length","proxy","getIlvl","_l","role","k","name","organizedData","getIlvlForData","isInteractive","isSource","handleDrop","subroles","index","labelSize","ref","character","handleLabelDrop","isDragging","labelRightIcon","labelRightIconColor","labelBackgroundColor","labelContent","$event","handleCharacterLabelDoubleClick","ev","handleCharacterLabelContextMenu","roles","staticRenderFns","directives","rawName","isOver","canDrop","DropTargetImpl","dropTarget","type","that","specs","drop","monitor","onDrop","getItem","collect","connect","default","Boolean","mixins","component","isActive","DragSourceImpl","dragSource","beginDrag","endDrag","didDrop","parentIndex","classes","sum","reduce","a","b","averageItemLevelEquipped","toFixed","o","sortData","filter","x","map","isUsed","observedData","find","od","id","sort","event","target","select","itemDropped","characterDropped","isCopyable","$emit","components","CharacterLabel","CharacterCategory","DropArea","DragItem","VBtn","VCard","VChip","VCol","VContainer","VDivider","VIcon","VImg","VListItem","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GAC1C3C,KAAKiD,SAITjD,KAAKsH,MAAM,UAAW/D,EAAW,KAAMZ,GAHvC3C,KAAKsH,MAAM,YAAa/D,EAAWvD,KAAKoD,SAlJ3C,6CAyJC,SAAgCG,EAAgBS,GAC/ChE,KAAKsH,MAAM,uBAAwB/D,EAAWvD,KAAKoD,MAAOY,OA1J5D,GAAuC,cAWtC,gBADC,eAAK,CAACmB,QAAS,M,4BAIhB,gBADC,kB,4BAID,gBADC,eAAK,CAACA,QAAS,Y,qCAIhB,gBADC,kB,oCAID,gBADC,kB,qCAID,gBADC,eAAK,CAACA,QAAS,iBAAM,O,2BAItB,gBADC,eAAK,CAACA,QAAS,iBAAM,O,mCAItB,gBADC,eAAK,CAACT,KAAMU,W,oCAIb,gBADC,eAAK,CAACV,KAAMU,W,+BAIb,gBADC,eAAK,CAACV,KAAMU,W,kCAIb,gBADC,eAAK,CAACV,KAAMU,W,uCAIb,gBADC,eAAK,CAACV,KAAMU,W,yCAIb,gBADC,kB,uCAID,gBADC,kB,kCAKD,gBADC,eAAK,CAACD,QAAS,K,gCAIhB,gBADC,kB,2CAID,gBADC,kB,qCAID,gBADC,kB,0CAID,gBADC,kB,mCAjEmB,EAAS,gBAR7B,eAAU,CACVoC,WAAY,CACXC,iBAAA,KACAC,oBAAA,KACAC,SAAA,EACAC,SAAA,MAGmB,WC9MiY,I,2LCQlZ,GAAY,eACd,EACA7H,EACAqE,GACA,EACA,KACA,KACA,MAIa,UAAiB,QAiBhC,IAAkB,GAAW,CAACyD,OAAA,KAAKC,QAAA,KAAMC,SAAA,KAAMC,QAAA,KAAKC,cAAA,KAAWC,YAAA,KAASC,SAAA,KAAMC,QAAA,KAAKC,aAAA,KAAUC,iBAAAC,GAAA,KAAiBC,eAAAD,GAAA,KAAeE,QAAA,KAAKC,cAAA,Q,kCCpClI,W,yDCAA","file":"dist/js/chunk-4604a2f2.99ab936d.js","sourcesContent":["export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GroupCard.vue?vue&type=style&index=0&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-card',{staticClass:\"mx-auto\"},[(_vm.$scopedSlots.header)?_c('v-list-item',[_vm._t(\"header\")],2):_vm._e(),(_vm.$scopedSlots.header)?_c('v-divider'):_vm._e(),(_vm.title != null)?_c('v-list-item',{class:(\"text-\" + _vm.titleAlignment)},[_c('v-list-item-content',{staticClass:\"pa-0\"},[(!_vm.isTitleEditing)?_c('v-list-item',{staticClass:\"pa-0 ma-0\",staticStyle:{\"width\":\"100%\"}},[(_vm.titleImageSrc)?_c('v-img',{attrs:{\"src\":_vm.titleImageSrc,\"max-width\":\"50\"}}):_vm._e(),_c('v-list-item-title',{staticClass:\"headline title-overflow\"},[_vm._v(_vm._s(_vm.title))]),_c('div',{staticClass:\"flex-grow-1\"}),(_vm.titleRightIcon)?_c('v-icon',{attrs:{\"color\":\"primary\"}},[_vm._v(_vm._s(_vm.titleRightIcon))]):_vm._e()],1):_c('v-text-field',{staticClass:\"ma-0 pa-0\",attrs:{\"hide-details\":\"\",\"autofocus\":\"\"},on:{\"focus\":_vm.handleEditTitleFocus,\"blur\":_vm.handleEndEditTitle},model:{value:(_vm.titleEdition),callback:function ($$v) {_vm.titleEdition=$$v},expression:\"titleEdition\"}})],1),(!_vm.isTitleEditing && _vm.onEditTitle)?_c('v-btn',{staticClass:\"ma-0 pa-0\",attrs:{\"small\":\"\",\"text\":\"\",\"icon\":\"\",\"color\":\"blue\"},on:{\"click\":_vm.handleStartEditTitle}},[_c('v-icon',{attrs:{\"small\":\"\"}},[_vm._v(\"edit\")])],1):_vm._e()],1):_vm._e(),(_vm.title != null)?_c('v-divider'):_vm._e(),(_vm.displayPlayerCount || _vm.displayTotalILvl)?_c('v-container',[_c('v-row',[_c('v-col',{attrs:{\"cols\":\"6\"}},[(_vm.displayPlayerCount)?_c('v-chip',{attrs:{\"color\":(_vm.colorPlayerCount ? _vm.colorPlayerCount(_vm.playerCount) : 'teal'),\"label\":\"\",\"text-color\":\"white\"}},[_c('i18n',{attrs:{\"path\":\"group_card._players\"},scopedSlots:_vm._u([{key:\"number\",fn:function(){return [_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(_vm.data.length)+\"\\n\\t\\t\\t\\t\\t\\t\")]},proxy:true}],null,false,1923791705)})],1):_vm._e(),_vm._t(\"leftArea\")],2),_c('v-col',{staticClass:\"text-right\",attrs:{\"cols\":\"6\"}},[(_vm.displayTotalILvl)?_c('v-chip',{attrs:{\"label\":\"\"}},[_c('i18n',{attrs:{\"path\":\"group_card._ilvl\"},scopedSlots:_vm._u([{key:\"number\",fn:function(){return [_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(_vm.getIlvl)+\"\\n\\t\\t\\t\\t\\t\\t\")]},proxy:true}],null,false,3483733906)})],1):_vm._e()],1)],1)],1):_vm._e(),(_vm.displayPlayerCount || _vm.displayTotalILvl)?_c('v-divider'):_vm._e(),(_vm.$scopedSlots.note)?_c('v-container',[_c('v-row',[_c('v-col',[_vm._t(\"note\")],2)],1)],1):_vm._e(),(_vm.$scopedSlots.note)?_c('v-divider'):_vm._e(),_c('div',{staticClass:\"pb-3\"},[_vm._l((_vm.roles),function(role,k){return [_c('div',{key:(\"c-\" + k)},[_c('v-container',[_c('v-row',[_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-chip',{attrs:{\"outlined\":true,\"label\":\"\"}},[_vm._v(_vm._s(role.name)+\" (\"+_vm._s(_vm.organizedData[role.name].length)+\")\\n\\t\\t\\t\\t\\t\\t\\t\")])],1),_c('v-col',{staticClass:\"text-right\",attrs:{\"cols\":\"6\"}},[(_vm.displayILvl)?_c('v-chip',{attrs:{\"outlined\":true,\"label\":\"\"}},[_c('i18n',{attrs:{\"path\":\"group_card._ilvl\"},scopedSlots:_vm._u([{key:\"number\",fn:function(){return [_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\"+_vm._s(_vm.getIlvlForData(_vm.organizedData[role.name]))+\"\\n\\t\\t\\t\\t\\t\\t\\t\\t\\t\")]},proxy:true}],null,true)})],1):_vm._e()],1)],1)],1),_c('drop-area',{attrs:{\"is-active\":_vm.isInteractive && !_vm.isSource,\"on-drop\":_vm.handleDrop,\"role\":role.name,\"type\":\"CHARACTER_LABEL\"}},[_c('character-category',{attrs:{\"data\":_vm.organizedData[role.name],\"categories\":role.subroles,\"parent-index\":_vm.index,\"label-size\":_vm.labelSize},scopedSlots:_vm._u([{key:\"character\",fn:function(ref){\nvar character = ref.character;\nreturn [_c('drag-item',{attrs:{\"is-active\":_vm.isInteractive,\"is-copyable\":_vm.isSource,\"parent-index\":_vm.index,\"data\":character,\"on-drop\":_vm.handleLabelDrop,\"type\":\"CHARACTER_LABEL\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar isDragging = ref.isDragging;\nreturn [_c('character-label',{attrs:{\"character\":character,\"right-icon\":_vm.labelRightIcon,\"right-icon-color\":_vm.labelRightIconColor,\"background-color\":_vm.labelBackgroundColor,\"content\":_vm.labelContent},on:{\"on-dblclick\":function($event){return _vm.handleCharacterLabelDoubleClick(character, role.name)},\"on-contextmenu\":function (character, ev) { return _vm.handleCharacterLabelContextMenu(character, ev); }},scopedSlots:_vm._u([(_vm.$scopedSlots.labelTooltip)?{key:\"tooltip\",fn:function(ref){\nvar character = ref.character;\nreturn [_vm._t(\"labelTooltip\",null,{\"character\":character})]}}:null],null,true)})]}}],null,true)})]}}],null,true)})],1),(k < _vm.roles.length - 1)?_c('v-divider',{staticClass:\"mt-3\"}):_vm._e()],1)]})],2),(_vm.$scopedSlots.buffs)?_c('v-divider'):_vm._e(),(_vm.$scopedSlots.buffs)?_c('v-container',[_c('v-row',[_c('v-col',[_vm._t(\"buffs\")],2)],1)],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isActive)?_c('div',{directives:[{name:\"dropTarget\",rawName:\"v-dropTarget\"}],class:['drop-area', 'mx-3', {'is-over': _vm.isOver, 'dropAreaIsOver':_vm.isOver, 'dropAreaCanDrop':_vm.canDrop, 'can-drop': _vm.canDrop}]},[_vm._t(\"default\")],2):_c('div',{staticClass:\"mx-3\"},[_vm._t(\"default\")],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport { Prop, Component } from \"vue-property-decorator\";\n\nimport { DropTarget } from \"vue-react-dnd\";\n\n\n/**\n * Components\n */\n\nconst DropTargetImpl = {\n\tdropTarget: {\n\t\ttype() {\n\t\t\tconst that = this as any as DropArea;\n\t\t\treturn that.type;\n\t\t},\n\t\tspecs: {\n\t\t\tdrop(monitor: any) {\n\t\t\t\tconst that = this as any as DropArea;\n\t\t\t\tthat.onDrop(monitor.getItem(), that.role);\n\t\t\t}\n\t\t},\n\t\tcollect(connect: any, monitor: any) {\n\t\t\tconst that = this as any as DropArea;\n\n\t\t\tthat.isOver = monitor.isOver();\n\t\t\tthat.canDrop = monitor.canDrop();\n\t\t}\n\t}\n};\n\n\n/**\n * A drop area component in a group card component.\n */\n@Component({\n\tmixins: [DropTarget, DropTargetImpl]\n})\nexport default class DropArea extends Vue {\n\t/// Properties\n\t@Prop({default: \"\"})\n\ttype!: string;\n\n\t@Prop({type: Boolean})\n\tisActive!: boolean;\n\n\t@Prop({default: \"\"})\n\trole!: string;\n\n\t@Prop()\n\tonDrop!: (item: any, newRole: string) => void;\n\n\t/// Attributes\n\tisOver = false;\n\tcanDrop = false;\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DropArea.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DropArea.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DropArea.vue?vue&type=template&id=80356b3e&scoped=true&\"\nimport script from \"./DropArea.vue?vue&type=script&lang=ts&\"\nexport * from \"./DropArea.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./DropArea.vue?vue&type=style&index=0&id=80356b3e&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"80356b3e\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isActive)?_c('div',{directives:[{name:\"dragSource\",rawName:\"v-dragSource\"}],class:{'drag-element':_vm.isActive, 'is-dragging':_vm.isDragging}},[_vm._t(\"default\",null,{\"isDragging\":{isDragging: _vm.isDragging}})],2):_c('div',[_vm._t(\"default\")],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport { Prop, Component } from \"vue-property-decorator\";\n\nimport { DragSource } from \"vue-react-dnd\";\n\n/**\n * Utils\n */\n\nconst DragSourceImpl = {\n\tdragSource: {\n\t\ttype() {\n\t\t\tconst that = this as any as DragItem;\n\t\t\treturn that.type;\n\t\t},\n\t\tspecs: {\n\t\t\tbeginDrag() {\n\t\t\t\treturn this;\n\t\t\t},\n\n\t\t\tendDrag(monitor: any) {\n\t\t\t\tconst didDrop = monitor.didDrop();\n\n\t\t\t\tif (!didDrop) {\n\t\t\t\t\tconst that = this as any as DragItem;\n\t\t\t\t\tthat.onDrop(that.data, that.parentIndex);\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\tcollect(connect: any, monitor: any) {\n\t\t\tconst that = this as any as DragItem;\n\n\t\t\tthat.isDragging = monitor.isDragging();\n\t\t}\n\t}\n};\n\n\n/**\n * Draggable item component.\n */\n@Component({\n\tmixins: [DragSource, DragSourceImpl]\n})\nexport default class DragItem extends Vue {\n\t@Prop({ default: \"\" })\n\ttype!: string;\n\n\t@Prop()\n\tonDrop!: (data: any, previousParentIndex: any) => void;\n\n\t@Prop({ type: Boolean })\n\tisActive!: boolean;\n\n\t@Prop({ type: Boolean })\n\tisCopyable!: boolean;\n\n\t@Prop()\n\tdata!: any;\n\n\t@Prop()\n\tparentIndex!: string;\n\n\t/// Attributes\n\tisDragging = false;\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DragItem.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DragItem.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DragItem.vue?vue&type=template&id=4ac1608e&\"\nimport script from \"./DragItem.vue?vue&type=script&lang=ts&\"\nexport * from \"./DragItem.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./DragItem.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport { Prop, Component } from \"vue-property-decorator\";\n\n/**\n * Utils\n */\nimport classes from \"@/config/wow/classes\";\nimport * as externalLinks from \"@/config/external-links\";\nimport * as imageLinks from \"@/config/image-links\";\nimport roles from \"@/config/wow/roles\";\n\n\n/**\n * Components\n */\nimport CharacterCategory from \"@/components/_global/CharacterCategory.vue\";\nimport DropArea from \"@/components/_global/DropArea.vue\";\nimport DragItem from \"@/components/_global/DragItem.vue\";\nimport CharacterLabel from \"@/components/_global/CharacterLabel.vue\";\n\n\n/**\n * Group card component.\n */\n@Component({\n\tcomponents: {\n\t\tCharacterLabel,\n\t\tCharacterCategory,\n\t\tDropArea,\n\t\tDragItem\n\t}\n})\nexport default class GroupCard extends Vue {\n\t/// Injections\n\tclasses = classes;\n\texternalLinks = externalLinks;\n\timageLinks = imageLinks;\n\troles = roles;\n\n\t/// Properties\n\n\t// Identifier\n\t@Prop({default: \"\"})\n\tindex!: string;\n\n\t@Prop()\n\ttitle!: string;\n\n\t@Prop({default: \"center\"})\n\ttitleAlignment!: string;\n\n\t@Prop()\n\ttitleImageSrc!: string | null;\n\n\t@Prop()\n\ttitleRightIcon!: string | null;\n\n\t@Prop({default: () => []})\n\tdata!: any[];\n\n\t@Prop({default: () => []})\n\tobservedData!: any[];\n\n\t@Prop({type: Boolean})\n\tisInteractive!: boolean;\n\n\t@Prop({type: Boolean})\n\tisSource!: boolean;\n\n\t@Prop({type: Boolean})\n\tdisplayILvl!: boolean;\n\n\t@Prop({type: Boolean})\n\tdisplayTotalILvl!: boolean;\n\n\t@Prop({type: Boolean})\n\tdisplayPlayerCount!: boolean;\n\n\t@Prop()\n\tcolorPlayerCount!: (playerCount: number) => string;\n\n\t@Prop()\n\tonEditTitle!: (newTitle: string) => void;\n\n\t// Label properties\n\t@Prop({default: 2})\n\tlabelSize!: number;\n\n\t@Prop()\n\tlabelBackgroundColor!: (character: any) => string;\n\n\t@Prop()\n\tlabelRightIcon!: (character: any) => string;\n\n\t@Prop()\n\tlabelRightIconColor!: (character: any) => string;\n\n\t@Prop()\n\tlabelContent!: (character: any) => string;\n\n\n\t/// Attributes\n\tisTitleEditing = false;\n\ttitleEdition: string | null = null;\n\n\tget getIlvl() {\n\t\tconst data = this.data;\n\t\treturn this.getIlvlForData(data);\n\t}\n\n\tget playerCount() {\n\t\treturn this.data.length;\n\t}\n\n\t/// Methods\n\tgetIlvlForData(data: any[]) {\n\t\tconst sum = data.reduce(function (a, b) {\n\t\t\treturn a + (b.averageItemLevelEquipped ? b.averageItemLevelEquipped : 0);\n\t\t}, 0);\n\t\treturn data.length > 0 ? (sum / data.length).toFixed(2) : 0;\n\t}\n\n\tget organizedData(): any {\n\t\treturn roles.reduce((o, key) => ({\n\t\t\t...o,\n\t\t\t[key.name]: this.sortData(this.data.filter(x => x.role === key.name).map(x => ({\n\t\t\t\t...x,\n\t\t\t\tisUsed: this.observedData.find((od) => {\n\t\t\t\t\treturn od.id === x.id;\n\t\t\t\t}) != null\n\t\t\t})))\n\t\t}), {});\n\t}\n\n\tsortData(data: any[]) {\n\t\treturn data.sort((a, b) => {\n\t\t\treturn a.class - b.class || ((a.name < b.name) ? -1 : (a.name > b.name) ? 1 : 0);\n\t\t});\n\t}\n\n\n\t// Title edition\n\thandleStartEditTitle() {\n\t\tthis.isTitleEditing = !this.isTitleEditing;\n\t\tthis.titleEdition = this.title;\n\t}\n\n\thandleEditTitleFocus(event: any) {\n\t\tevent.target.select();\n\t}\n\n\thandleEndEditTitle() {\n\t\tif (!this.titleEdition) {\n\t\t\tthis.titleEdition = this.title;\n\t\t}\n\t\tthis.isTitleEditing = !this.isTitleEditing;\n\t\tthis.onEditTitle(this.titleEdition);\n\t}\n\n\t// Drag & Drop\n\thandleDrop(itemDropped: DragItem, role: string) {\n\t\tconst characterDropped = itemDropped.data;\n\t\tif (itemDropped.isCopyable) {\n\t\t\tthis.$emit(\"on-copy\", characterDropped, this.index, role);\n\t\t}\n\t\telse {\n\t\t\tthis.$emit(\"on-move\", characterDropped, itemDropped.parentIndex, this.index, role);\n\t\t}\n\t}\n\n\thandleLabelDrop(character: any, parentIndex: any) {\n\t\tif (!this.isSource) {\n\t\t\tthis.$emit(\"on-delete\", character, parentIndex);\n\t\t}\n\t}\n\n\thandleCharacterLabelDoubleClick(character: any, role: string) {\n\t\tif (!this.isSource) {\n\t\t\tthis.$emit(\"on-delete\", character, this.index);\n\t\t}\n\t\telse {\n\t\t\tthis.$emit(\"on-copy\", character, null, role);\n\t\t}\n\t}\n\n\thandleCharacterLabelContextMenu(character: any, ev: any) {\n\t\tthis.$emit(\"on-character-context\", character, this.index, ev);\n\t}\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GroupCard.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GroupCard.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./GroupCard.vue?vue&type=template&id=609ea486&\"\nimport script from \"./GroupCard.vue?vue&type=script&lang=ts&\"\nexport * from \"./GroupCard.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./GroupCard.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VChip } from 'vuetify/lib/components/VChip';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VImg } from 'vuetify/lib/components/VImg';\nimport { VListItem } from 'vuetify/lib/components/VList';\nimport { VListItemContent } from 'vuetify/lib/components/VList';\nimport { VListItemTitle } from 'vuetify/lib/components/VList';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VBtn,VCard,VChip,VCol,VContainer,VDivider,VIcon,VImg,VListItem,VListItemContent,VListItemTitle,VRow,VTextField})\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DropArea.vue?vue&type=style&index=0&id=80356b3e&scoped=true&lang=css&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DragItem.vue?vue&type=style&index=0&lang=css&\""],"sourceRoot":""}