townsquare/js/app.ac8dd7ef.js.map

1 line
136 KiB
Plaintext

{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/assets/icons/washerwoman.png","webpack:///./src/assets/icons/barista.png","webpack:///./src/assets/icons/cerenovus.png","webpack:///./src/assets/icons/amnesiac.png","webpack:///./src/assets/icons/shabaloth.png","webpack:///./src/assets/icons/lunatic.png","webpack:///./src/assets/icons/oracle.png","webpack:///./src/assets/icons/ravenkeeper.png","webpack:///./src/assets/icons/undertaker.png","webpack:///./src/assets/icons/chambermaid.png","webpack:///./src/assets/icons/plus.png","webpack:///./src/assets/icons/recluse.png","webpack:///./src/assets/icons/mutant.png","webpack:///./src/assets/icons/chef.png","webpack:///./src/assets/icons/zombuul.png","webpack:///./src/assets/icons/sailor.png","webpack:///./src/assets/icons/widow.png","webpack:///./src/assets/icons/bonecollector.png","webpack:///./src/assets/icons/baron.png","webpack:///./src/assets/icons/bureaucrat.png","webpack:///./src/assets/icons/leviathan.png","webpack:///./src/assets/icons/artist.png","webpack:///./src/assets/icons/sage.png","webpack:///./src/components/Modal.vue?1f08","webpack:///./src/assets/icons/scapegoat.png","webpack:///./src/assets/icons/philosopher.png","webpack:///./src/components/TownSquare.vue?b88a","webpack:///./src/assets/icons/butcher.png","webpack:///./src/assets/icons/towncrier.png","webpack:///./src/components/Token.vue?b0f5","webpack:///./src/assets/icons/vortox.png","webpack:///./src/assets/icons/deviant.png","webpack:///./src/assets/icons/imp.png","webpack:///./src/assets/icons/moonchild.png","webpack:///./src/assets/icons/snakecharmer.png","webpack:///./src/assets/icons/fortuneteller.png","webpack:///./src/assets/icons/fool.png","webpack:///./src/assets/icons/apprentice.png","webpack:///./src/components/Screenshot.vue?63d4","webpack:///./src/assets/icons/librarian.png","webpack:///./src/assets/icons/soldier.png","webpack:///./src/assets/icons/minstrel.png","webpack:///./src/assets/icons/exorcist.png","webpack:///./src/assets/icons/harlot.png","webpack:///./src/assets/icons/goon.png","webpack:///./src/App.vue?a5fd","webpack:///./src/components/TownSquare.vue?1599","webpack:///./src/components/Player.vue?84f6","webpack:///./src/components/Token.vue?9dcb","webpack:///src/components/Token.vue","webpack:///./src/components/Token.vue?ca97","webpack:///./src/components/Token.vue","webpack:///src/components/Player.vue","webpack:///./src/components/Player.vue?1369","webpack:///./src/components/Player.vue","webpack:///./src/components/Modal.vue?c402","webpack:///src/components/Modal.vue","webpack:///./src/components/Modal.vue?0f3c","webpack:///./src/components/Modal.vue","webpack:///src/components/TownSquare.vue","webpack:///./src/components/TownSquare.vue?335a","webpack:///./src/components/TownSquare.vue","webpack:///./src/components/TownInfo.vue?119d","webpack:///src/components/TownInfo.vue","webpack:///./src/components/TownInfo.vue?6260","webpack:///./src/components/TownInfo.vue","webpack:///./src/components/RoleSelectionModal.vue?888a","webpack:///src/components/RoleSelectionModal.vue","webpack:///./src/components/RoleSelectionModal.vue?415e","webpack:///./src/components/RoleSelectionModal.vue","webpack:///./src/components/Screenshot.vue?fcf5","webpack:///src/components/Screenshot.vue","webpack:///./src/components/Screenshot.vue?82cf","webpack:///./src/components/Screenshot.vue","webpack:///src/App.vue","webpack:///./src/App.vue?b65f","webpack:///./src/App.vue","webpack:///./src/main.js","webpack:///./src/assets/icons/cannibal.png","webpack:///./src/App.vue?6ee5","webpack:///./src/assets/icons/goblin.png","webpack:///./src/assets/icons/x.png","webpack:///./src/assets/icons sync ^\\.\\/.*\\.png$","webpack:///./src/assets/icons/butler.png","webpack:///./src/assets/icons/juggler.png","webpack:///./src/assets/icons/balloonist.png","webpack:///./src/assets/icons/innkeeper.png","webpack:///./src/assets/icons/good.png","webpack:///./src/assets/icons/flowergirl.png","webpack:///./src/assets/icons/monk.png","webpack:///./src/assets/icons/nodashii.png","webpack:///./src/assets/icons/saint.png","webpack:///./src/assets/icons/fanggu.png","webpack:///./src/assets/icons/dreamer.png","webpack:///./src/components/Player.vue?6d3c","webpack:///./src/assets/icons/pithag.png","webpack:///./src/assets/icons/bishop.png","webpack:///./src/components/RoleSelectionModal.vue?d998","webpack:///./src/assets/icons/mathematician.png","webpack:///./src/components/TownInfo.vue?ca37","webpack:///./src/assets/icons/assassin.png","webpack:///./src/assets/icons/godfather.png","webpack:///./src/assets/icons/thief.png","webpack:///./src/assets/icons/tinker.png","webpack:///./src/assets/icons/pukka.png","webpack:///./src/assets/icons/voudon.png","webpack:///./src/assets/icons/seamstress.png","webpack:///./src/assets/icons/klutz.png","webpack:///./src/assets/icons/matron.png","webpack:///./src/assets/icons/mayor.png","webpack:///./src/assets/icons/professor.png","webpack:///./src/assets/icons/investigator.png","webpack:///./src/assets/icons/tealady.png","webpack:///./src/assets/icons/empath.png","webpack:///./src/assets/icons/evil.png","webpack:///./src/assets/icons/fisherman.png","webpack:///./src/assets/icons/po.png","webpack:///./src/assets/icons/grandmother.png","webpack:///./src/assets/icons/gossip.png","webpack:///./src/assets/icons/devilsadvocate.png","webpack:///./src/assets/icons/beggar.png","webpack:///./src/assets/icons/slayer.png","webpack:///./src/assets/icons/savant.png","webpack:///./src/assets/icons/drunk.png","webpack:///./src/assets/icons/gambler.png","webpack:///./src/assets/icons/eviltwin.png","webpack:///./src/assets/icons/spy.png","webpack:///./src/assets/icons/courtier.png","webpack:///./src/assets/icons/gunslinger.png","webpack:///./src/assets/icons/virgin.png","webpack:///./src/assets/icons/judge.png","webpack:///./src/assets/icons/sweetheart.png","webpack:///./src/assets/icons/poisoner.png","webpack:///./src/assets/icons/scarletwoman.png","webpack:///./src/assets/icons/vigormortis.png","webpack:///./src/assets/icons/witch.png","webpack:///./src/assets/icons/mastermind.png","webpack:///./src/assets/icons/clockmaker.png","webpack:///./src/assets/icons/barber.png","webpack:///./src/assets/icons/pacifist.png"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","render","_vm","this","_h","$createElement","_c","_self","class","screenshot","isScreenshot","style","backgroundImage","background","attrs","on","keyup","players","_e","staticClass","_v","$event","isControlOpen","edition","isPublic","isNightOrder","roles","zoom","takeScreenshot","directives","rawName","expression","isEditionModalOpen","_l","id","setEdition","_s","isRoleModalOpen","ref","onScreenshot","success","isScreenshotSuccess","open","togglePublic","toggleNightOrder","Math","round","setBackground","addPlayer","randomizeSeatings","clearPlayers","showEditionModal","showRoleModal","clearRoles","staticRenderFns","public","player","index","openReminderModal","openRoleModal","removePlayer","$emit","stopPropagation","bluffs","role","availableReminders","selectedPlayer","closeModal","reminder","addReminder","availableRoles","team","setRole","dead","hasDied","hasVoted","traveler","toggleStatus","firstNight","_f","firstNightReminder","otherNight","otherNightReminder","changeName","removeReminder","reminders","ability","props","type","required","filters","nameToFontSize","methods","component","components","Token","Map","Boolean","handleEmojis","text","replace","width","height","x","y","$refs","getBoundingClientRect","$set","prompt","indexOf","close","_t","Modal","Player","Array","Number","fill","map","forEach","some","confirm","teams","alive","votes","townsfolk","outsider","minion","demon","String","computed","nontravelers","min","filter","game","nontravelerPlayers","teamRoles","selected","disabled","selectedRoles","assignRoles","selectRandomRoles","randomElement","arr","floor","random","isOpen","roleSelection","values","reduce","a","b","hasSelectedSetupRoles","setup","playerCount","max","composition","keys","available","sort","pop","mounted","watch","stream","canvas","video","active","alert","navigator","mediaDevices","getDisplayMedia","cursor","audio","err","srcObject","play","setTimeout","context","getContext","setAttribute","videoWidth","videoHeight","drawImage","toBlob","blob","item","ClipboardItem","clipboard","write","Screenshot","TownSquare","TownInfo","RoleSelectionModal","editions","getRolesByEdition","dimensions","capture","selectedEdition","find","includes","localeCompare","undefined","localStorage","JSON","parse","newPlayers","stringify","deep","newEdition","newIsPublic","newBackground","removeItem","add","config","productionTip","h","App","$mount","webpackContext","req","webpackContext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,IAA0B,6B,qBCA3CC,EAAOD,QAAU,IAA0B,iC,qBCA3CC,EAAOD,QAAU,IAA0B,gC,qBCA3CC,EAAOD,QAAU,IAA0B,0B,qBCA3CC,EAAOD,QAAU,IAA0B,+B,qBCA3CC,EAAOD,QAAU,IAA0B,+B,qBCA3CC,EAAOD,QAAU,IAA0B,2B,qBCA3CC,EAAOD,QAAU,IAA0B","file":"js/app.ac8dd7ef.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/townsquare/\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([\"56d7\",\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","module.exports = __webpack_public_path__ + \"img/washerwoman.a0c66e53.png\";","module.exports = __webpack_public_path__ + \"img/barista.fd2bba67.png\";","module.exports = __webpack_public_path__ + \"img/cerenovus.736554ca.png\";","module.exports = __webpack_public_path__ + \"img/amnesiac.03ce8f67.png\";","module.exports = __webpack_public_path__ + \"img/shabaloth.f461dd08.png\";","module.exports = __webpack_public_path__ + \"img/lunatic.f2982146.png\";","module.exports = __webpack_public_path__ + \"img/oracle.63459162.png\";","module.exports = __webpack_public_path__ + \"img/ravenkeeper.552f1f2f.png\";","module.exports = __webpack_public_path__ + \"img/undertaker.1df72155.png\";","module.exports = __webpack_public_path__ + \"img/chambermaid.b6f002ce.png\";","module.exports = __webpack_public_path__ + \"img/plus.c11bf1ed.png\";","module.exports = __webpack_public_path__ + \"img/recluse.a6519a1d.png\";","module.exports = __webpack_public_path__ + \"img/mutant.b28a535c.png\";","module.exports = __webpack_public_path__ + \"img/chef.d4e7f9a6.png\";","module.exports = __webpack_public_path__ + \"img/zombuul.ec71a259.png\";","module.exports = __webpack_public_path__ + \"img/sailor.631521c2.png\";","module.exports = __webpack_public_path__ + \"img/widow.ec8d8cb0.png\";","module.exports = __webpack_public_path__ + \"img/bonecollector.846af8c8.png\";","module.exports = __webpack_public_path__ + \"img/baron.9ce9bd3b.png\";","module.exports = __webpack_public_path__ + \"img/bureaucrat.88ec372a.png\";","module.exports = __webpack_public_path__ + \"img/leviathan.dfbff6e8.png\";","module.exports = __webpack_public_path__ + \"img/artist.f89690cd.png\";","module.exports = __webpack_public_path__ + \"img/sage.5afc100d.png\";","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Modal.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Modal.vue?vue&type=style&index=0&lang=scss&\"","module.exports = __webpack_public_path__ + \"img/scapegoat.8bd95c23.png\";","module.exports = __webpack_public_path__ + \"img/philosopher.92032c70.png\";","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TownSquare.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TownSquare.vue?vue&type=style&index=0&lang=scss&\"","module.exports = __webpack_public_path__ + \"img/butcher.e0b672b7.png\";","module.exports = __webpack_public_path__ + \"img/towncrier.18a4377b.png\";","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Token.vue?vue&type=style&index=0&id=79e3ad63&scoped=true&lang=scss&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Token.vue?vue&type=style&index=0&id=79e3ad63&scoped=true&lang=scss&\"","module.exports = __webpack_public_path__ + \"img/vortox.6add3a3a.png\";","module.exports = __webpack_public_path__ + \"img/deviant.e8a761ae.png\";","module.exports = __webpack_public_path__ + \"img/imp.cd0fa5b8.png\";","module.exports = __webpack_public_path__ + \"img/moonchild.6c84161e.png\";","module.exports = __webpack_public_path__ + \"img/snakecharmer.e512cc1e.png\";","module.exports = __webpack_public_path__ + \"img/fortuneteller.4396927c.png\";","module.exports = __webpack_public_path__ + \"img/fool.a730aab3.png\";","module.exports = __webpack_public_path__ + \"img/apprentice.b7055345.png\";","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.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!./Screenshot.vue?vue&type=style&index=0&id=6f9448c8&scoped=true&lang=css&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.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!./Screenshot.vue?vue&type=style&index=0&id=6f9448c8&scoped=true&lang=css&\"","module.exports = __webpack_public_path__ + \"img/librarian.6fd7f267.png\";","module.exports = __webpack_public_path__ + \"img/soldier.451de0df.png\";","module.exports = __webpack_public_path__ + \"img/minstrel.1647382d.png\";","module.exports = __webpack_public_path__ + \"img/exorcist.8c0f5cac.png\";","module.exports = __webpack_public_path__ + \"img/harlot.1a418200.png\";","module.exports = __webpack_public_path__ + \"img/goon.719106f2.png\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:{ screenshot: _vm.isScreenshot },style:({ backgroundImage: _vm.background ? (\"url('\" + _vm.background + \"')\") : '' }),attrs:{\"id\":\"app\",\"tabindex\":\"-1\"},on:{\"keyup\":_vm.keyup}},[(!_vm.players.length)?_c('div',{staticClass:\"intro\"},[_c('img',{attrs:{\"src\":\"/static/apple-icon.png\",\"alt\":\"\"}}),_vm._v(\" Welcome to the (inofficial) \"),_c('b',[_vm._v(\" Virtual Blood on the Clocktower Town Square\")]),_vm._v(\"!\"),_c('br'),_vm._v(\" Please add more players through the \"),_c('span',{staticClass:\"button\",on:{\"click\":function($event){_vm.isControlOpen = !_vm.isControlOpen}}},[_c('font-awesome-icon',{attrs:{\"icon\":\"cog\"}}),_vm._v(\" Menu \")],1),_vm._v(\" on the top right or by pressing \"),_c('b',[_vm._v(\"[A]\")]),_vm._v(\".\"),_c('br'),_vm._v(\" This project is free and open source and can be found on \"),_c('a',{attrs:{\"href\":\"https://github.com/bra1n/townsquare\",\"target\":\"_blank\"}},[_vm._v(\"GitHub\")]),_vm._v(\". \")]):_vm._e(),(_vm.players.length)?_c('TownInfo',{attrs:{\"players\":_vm.players,\"edition\":_vm.edition}}):_vm._e(),_c('TownSquare',{attrs:{\"is-public\":_vm.isPublic,\"is-night-order\":_vm.isNightOrder,\"players\":_vm.players,\"roles\":_vm.roles,\"zoom\":_vm.zoom},on:{\"screenshot\":_vm.takeScreenshot}}),_c('Modal',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isEditionModalOpen),expression:\"isEditionModalOpen\"}],staticClass:\"editions\",on:{\"close\":function($event){_vm.isEditionModalOpen = false}}},[_c('h3',[_vm._v(\"Select an edition:\")]),_c('ul',{staticClass:\"editions\"},_vm._l((_vm.editions),function(edition){return _c('li',{key:edition.id,staticClass:\"edition\",class:['edition-' + edition.id],on:{\"click\":function($event){return _vm.setEdition(edition.id)}}},[_vm._v(\" \"+_vm._s(edition.name)+\" \")])}),0)]),_c('RoleSelectionModal',{attrs:{\"players\":_vm.players,\"roles\":_vm.roles,\"is-open\":_vm.isRoleModalOpen},on:{\"close\":function($event){_vm.isRoleModalOpen = false}}}),_c('Screenshot',{ref:\"screenshot\",on:{\"success\":function($event){return _vm.onScreenshot(true)},\"error\":function($event){return _vm.onScreenshot(false)}}}),_c('div',{staticClass:\"controls\"},[_c('font-awesome-icon',{class:{ success: _vm.isScreenshotSuccess },attrs:{\"icon\":\"camera\"},on:{\"click\":function($event){return _vm.takeScreenshot()}}}),_c('div',{staticClass:\"menu\",class:{ open: _vm.isControlOpen }},[_c('font-awesome-icon',{attrs:{\"icon\":\"cog\"},on:{\"click\":function($event){_vm.isControlOpen = !_vm.isControlOpen}}}),_c('ul',[_c('li',{staticClass:\"headline\"},[_c('font-awesome-icon',{attrs:{\"icon\":\"book-open\"}}),_vm._v(\" Grimoire \")],1),(_vm.players.length)?_c('li',{on:{\"click\":_vm.togglePublic}},[_c('em',[_vm._v(\"[G]\")]),(!_vm.isPublic)?[_vm._v(\"Hide\")]:_vm._e(),(_vm.isPublic)?[_vm._v(\"Show\")]:_vm._e()],2):_vm._e(),(_vm.players.length)?_c('li',{on:{\"click\":_vm.toggleNightOrder}},[_c('em',[_c('font-awesome-icon',{attrs:{\"icon\":['fas', _vm.isNightOrder ? 'check-square' : 'square']}})],1),_vm._v(\" Night order \")]):_vm._e(),(_vm.players.length)?_c('li',[_c('em',[_c('font-awesome-icon',{attrs:{\"icon\":\"search-minus\"},on:{\"click\":function($event){_vm.zoom -= 0.1}}}),_vm._v(\" \"+_vm._s(Math.round(_vm.zoom * 100))+\"% \"),_c('font-awesome-icon',{attrs:{\"icon\":\"search-plus\"},on:{\"click\":function($event){_vm.zoom += 0.1}}})],1),_vm._v(\" Zoom \")]):_vm._e(),_c('li',{on:{\"click\":_vm.setBackground}},[_vm._v(\" Background image \")]),_c('li',{staticClass:\"headline\"},[_c('font-awesome-icon',{attrs:{\"icon\":\"users\"}}),_vm._v(\" Players \")],1),(_vm.players.length < 20)?_c('li',{on:{\"click\":_vm.addPlayer}},[_c('em',[_vm._v(\"[A]\")]),_vm._v(\" Add \")]):_vm._e(),(_vm.players.length > 2)?_c('li',{on:{\"click\":_vm.randomizeSeatings}},[_c('em',[_vm._v(\"[R]\")]),_vm._v(\" Randomize \")]):_vm._e(),(_vm.players.length)?_c('li',{on:{\"click\":_vm.clearPlayers}},[_vm._v(\" Remove all \")]):_vm._e(),_c('li',{staticClass:\"headline\"},[_c('font-awesome-icon',{attrs:{\"icon\":\"theater-masks\"}}),_vm._v(\" Characters \")],1),_c('li',{on:{\"click\":_vm.showEditionModal}},[_c('em',[_vm._v(\"[E]\")]),_vm._v(\" Select Edition \")]),(_vm.players.length > 4)?_c('li',{on:{\"click\":_vm.showRoleModal}},[_c('em',[_vm._v(\"[C]\")]),_vm._v(\" Choose & Assign \")]):_vm._e(),(_vm.players.length)?_c('li',{on:{\"click\":_vm.clearRoles}},[_vm._v(\" Remove all \")]):_vm._e()])],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"square\",class:{ public: _vm.isPublic },style:({ zoom: _vm.zoom }),attrs:{\"id\":\"townsquare\"}},[_c('ul',{staticClass:\"circle\",class:['size-' + _vm.players.length]},_vm._l((_vm.players),function(player,index){return _c('Player',{key:index,attrs:{\"player\":player,\"roles\":_vm.roles,\"is-public\":_vm.isPublic,\"is-night-order\":_vm.isNightOrder},on:{\"add-reminder\":_vm.openReminderModal,\"set-role\":_vm.openRoleModal,\"remove-player\":_vm.removePlayer,\"screenshot\":function($event){return _vm.$emit('screenshot', $event)}}})}),1),(_vm.players.length > 6)?_c('div',{ref:\"bluffs\",staticClass:\"bluffs\"},[_c('h3',[_vm._v(\"Demon bluffs\")]),_c('font-awesome-icon',{attrs:{\"icon\":\"camera\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.takeScreenshot($event)}}}),_c('ul',[_c('li',{on:{\"click\":function($event){return _vm.openRoleModal(_vm.bluffs[0])}}},[_c('Token',{attrs:{\"role\":_vm.bluffs[0].role}})],1),_c('li',{on:{\"click\":function($event){return _vm.openRoleModal(_vm.bluffs[1])}}},[_c('Token',{attrs:{\"role\":_vm.bluffs[1].role}})],1),_c('li',{on:{\"click\":function($event){return _vm.openRoleModal(_vm.bluffs[2])}}},[_c('Token',{attrs:{\"role\":_vm.bluffs[2].role}})],1)])],1):_vm._e(),_c('Modal',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.availableReminders.length && _vm.selectedPlayer),expression:\"availableReminders.length && selectedPlayer\"}],on:{\"close\":_vm.closeModal}},[_c('h3',[_vm._v(\"Choose a reminder token:\")]),_c('ul',{staticClass:\"reminders\"},_vm._l((_vm.availableReminders),function(reminder){return _c('li',{key:reminder.role + ' ' + reminder.name,staticClass:\"reminder\",class:[reminder.role],on:{\"click\":function($event){return _vm.addReminder(reminder)}}},[_c('span',{staticClass:\"icon\",style:({\n backgroundImage: (\"url(\" + (require('../assets/icons/' +\n reminder.role +\n '.png')) + \")\")\n })}),_vm._v(\" \"+_vm._s(reminder.name)+\" \")])}),0)]),_c('Modal',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.availableRoles.length && _vm.selectedPlayer),expression:\"availableRoles.length && selectedPlayer\"}],on:{\"close\":_vm.closeModal}},[_c('h3',[_vm._v(\"Choose a new role:\")]),_c('ul',{staticClass:\"tokens\"},_vm._l((_vm.availableRoles),function(role){return _c('li',{key:role.id,class:[role.team],on:{\"click\":function($event){return _vm.setRole(role)}}},[_c('Token',{attrs:{\"role\":role}})],1)}),0)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',[_c('div',{ref:\"player\",staticClass:\"player\",class:{\n dead: _vm.player.hasDied,\n 'no-vote': _vm.player.hasVoted,\n traveler: _vm.player.role && _vm.player.role.team === 'traveler'\n }},[_c('div',{staticClass:\"shroud\",on:{\"click\":function($event){return _vm.toggleStatus()}}}),_c('div',{staticClass:\"life\",on:{\"click\":function($event){return _vm.toggleStatus()}}}),(_vm.player.firstNight && _vm.isNightOrder)?_c('div',{staticClass:\"night first\"},[_c('em',[_vm._v(_vm._s(_vm.player.firstNight)+\".\")]),(_vm.player.role.firstNightReminder)?_c('span',[_vm._v(_vm._s(_vm._f(\"handleEmojis\")(_vm.player.role.firstNightReminder)))]):_vm._e()]):_vm._e(),(_vm.player.otherNight && _vm.isNightOrder)?_c('div',{staticClass:\"night other\"},[_c('em',[_vm._v(_vm._s(_vm.player.otherNight)+\".\")]),(_vm.player.role.otherNightReminder)?_c('span',[_vm._v(_vm._s(_vm._f(\"handleEmojis\")(_vm.player.role.otherNightReminder)))]):_vm._e()]):_vm._e(),_c('Token',{attrs:{\"role\":_vm.player.role},on:{\"set-role\":_vm.setRole}}),_c('div',{staticClass:\"name\",on:{\"click\":_vm.changeName}},[_c('span',{staticClass:\"screenshot\",on:{\"click\":function($event){$event.stopPropagation();return _vm.takeScreenshot($event)}}},[_c('font-awesome-icon',{attrs:{\"icon\":\"camera\"}})],1),_c('span',{staticClass:\"name\"},[_vm._v(\" \"+_vm._s(_vm.player.name)+\" \")]),_c('span',{staticClass:\"remove\",on:{\"click\":function($event){$event.stopPropagation();return _vm.$emit('remove-player', _vm.player)}}},[_c('font-awesome-icon',{attrs:{\"icon\":\"times-circle\"}})],1)])],1),(_vm.player.reminders)?_vm._l((_vm.player.reminders),function(reminder){return _c('div',{key:reminder.role + ' ' + reminder.name,staticClass:\"reminder\",class:[reminder.role],on:{\"click\":function($event){return _vm.removeReminder(reminder)}}},[_c('span',{staticClass:\"icon\",style:({\n backgroundImage: (\"url(\" + (require('../assets/icons/' +\n reminder.role +\n '.png')) + \")\")\n })}),_vm._v(\" \"+_vm._s(reminder.name)+\" \")])}):_vm._e(),_c('div',{staticClass:\"reminder add\",on:{\"click\":function($event){return _vm.$emit('add-reminder', _vm.player)}}},[_c('span',{staticClass:\"icon\"})])],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"token\",class:[_vm.role.id],on:{\"click\":_vm.setRole}},[(_vm.role.id)?_c('span',{staticClass:\"icon\",style:({\n backgroundImage: (\"url(\" + (require('../assets/icons/' +\n _vm.role.id +\n '.png')) + \")\")\n })}):_vm._e(),(_vm.role.firstNight)?_c('span',{staticClass:\"leaf-left\"}):_vm._e(),(_vm.role.otherNight)?_c('span',{staticClass:\"leaf-right\"}):_vm._e(),(_vm.role.reminders && _vm.role.reminders.length)?_c('span',{class:['leaf-top' + _vm.role.reminders.length]}):_vm._e(),(_vm.role.setup)?_c('span',{staticClass:\"leaf-orange\"}):_vm._e(),_c('svg',{staticClass:\"name\",attrs:{\"viewBox\":\"0 0 150 150\"}},[_c('path',{attrs:{\"d\":\"M 13 75 C 13 160, 138 160, 138 75\",\"id\":\"curve\",\"fill\":\"transparent\"}}),_c('text',{staticClass:\"label\",attrs:{\"width\":\"150\",\"x\":\"66.6%\",\"text-anchor\":\"middle\",\"font-size\":_vm._f(\"nameToFontSize\")(_vm.role.name)}},[_c('textPath',{attrs:{\"xlink:href\":\"#curve\"}},[_vm._v(\" \"+_vm._s(_vm.role.name)+\" \")])])]),_c('div',{staticClass:\"edition\",class:[(\"edition-\" + (_vm.role.edition)), _vm.role.team]}),(_vm.role.ability)?_c('div',{staticClass:\"ability\"},[_vm._v(\" \"+_vm._s(_vm.role.ability)+\" \")]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div class=\"token\" @click=\"setRole\" :class=\"[role.id]\">\n <span\n class=\"icon\"\n v-if=\"role.id\"\n v-bind:style=\"{\n backgroundImage: `url(${require('../assets/icons/' +\n role.id +\n '.png')})`\n }\"\n ></span>\n <span class=\"leaf-left\" v-if=\"role.firstNight\"></span>\n <span class=\"leaf-right\" v-if=\"role.otherNight\"></span>\n <span\n v-if=\"role.reminders && role.reminders.length\"\n v-bind:class=\"['leaf-top' + role.reminders.length]\"\n ></span>\n <span class=\"leaf-orange\" v-if=\"role.setup\"></span>\n <svg viewBox=\"0 0 150 150\" class=\"name\">\n <path\n d=\"M 13 75 C 13 160, 138 160, 138 75\"\n id=\"curve\"\n fill=\"transparent\"\n />\n <text\n width=\"150\"\n x=\"66.6%\"\n text-anchor=\"middle\"\n class=\"label\"\n v-bind:font-size=\"role.name | nameToFontSize\"\n >\n <textPath xlink:href=\"#curve\">\n {{ role.name }}\n </textPath>\n </text>\n </svg>\n <div\n class=\"edition\"\n v-bind:class=\"[`edition-${role.edition}`, role.team]\"\n ></div>\n <div class=\"ability\" v-if=\"role.ability\">\n {{ role.ability }}\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"Token\",\n props: {\n role: {\n type: Object,\n required: true\n }\n },\n data() {\n return {};\n },\n filters: {\n nameToFontSize: name => (name && name.length > 10 ? \"20px\" : \"24px\")\n },\n methods: {\n setRole() {\n this.$emit(\"set-role\");\n }\n }\n};\n</script>\n\n<style scoped lang=\"scss\">\n.token {\n border-radius: 50%;\n height: 100%;\n width: 100%;\n background: url(\"../assets/token.png\") center center;\n background-size: 100%;\n text-align: center;\n border: 3px solid black;\n box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n\n .icon {\n background-size: 100%;\n position: absolute;\n width: 100%;\n height: 100%;\n margin-top: 3%;\n }\n\n span {\n position: absolute;\n width: 100%;\n height: 100%;\n background-size: 100%;\n pointer-events: none;\n\n &.leaf-left {\n background-image: url(\"../assets/leaf-left.png\");\n }\n\n &.leaf-orange {\n background-image: url(\"../assets/leaf-orange.png\");\n }\n\n &.leaf-right {\n background-image: url(\"../assets/leaf-right.png\");\n }\n\n &.leaf-top1 {\n background-image: url(\"../assets/leaf-top1.png\");\n }\n\n &.leaf-top2 {\n background-image: url(\"../assets/leaf-top2.png\");\n }\n\n &.leaf-top3 {\n background-image: url(\"../assets/leaf-top3.png\");\n }\n\n &.leaf-top4 {\n background-image: url(\"../assets/leaf-top4.png\");\n }\n\n &.leaf-top5 {\n background-image: url(\"../assets/leaf-top5.png\");\n }\n }\n\n .name {\n width: 100%;\n height: 100%;\n .label {\n fill: black;\n stroke: white;\n stroke-width: 2px;\n paint-order: stroke;\n font-family: \"Papyrus\", serif;\n font-weight: bold;\n text-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);\n letter-spacing: 1px;\n }\n }\n\n .edition {\n position: absolute;\n right: 0;\n bottom: 5px;\n width: 30px;\n height: 30px;\n background-size: 100%;\n display: none;\n }\n\n .ability {\n display: flex;\n position: absolute;\n padding: 5px 10px;\n left: 120%;\n width: 250px;\n z-index: 25;\n font-size: 80%;\n background: rgba(0, 0, 0, 0.5);\n border-radius: 10px;\n border: 3px solid black;\n filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));\n text-align: left;\n justify-items: center;\n align-content: center;\n align-items: center;\n pointer-events: none;\n opacity: 0;\n transition: opacity 200ms ease-in-out;\n\n &:before {\n content: \" \";\n border: 10px solid transparent;\n width: 0;\n height: 0;\n border-right-color: black;\n position: absolute;\n margin-right: 2px;\n right: 100%;\n }\n\n #app.screenshot & {\n display: none;\n }\n }\n\n &:hover .ability {\n opacity: 1;\n }\n}\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Token.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Token.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Token.vue?vue&type=template&id=79e3ad63&scoped=true&\"\nimport script from \"./Token.vue?vue&type=script&lang=js&\"\nexport * from \"./Token.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Token.vue?vue&type=style&index=0&id=79e3ad63&scoped=true&lang=scss&\"\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 \"79e3ad63\",\n null\n \n)\n\nexport default component.exports","<template>\n <li>\n <div\n ref=\"player\"\n class=\"player\"\n :class=\"{\n dead: player.hasDied,\n 'no-vote': player.hasVoted,\n traveler: player.role && player.role.team === 'traveler'\n }\"\n >\n <div class=\"shroud\" @click=\"toggleStatus()\"></div>\n <div class=\"life\" @click=\"toggleStatus()\"></div>\n\n <div class=\"night first\" v-if=\"player.firstNight && isNightOrder\">\n <em>{{ player.firstNight }}.</em>\n <span v-if=\"player.role.firstNightReminder\">{{\n player.role.firstNightReminder | handleEmojis\n }}</span>\n </div>\n <div class=\"night other\" v-if=\"player.otherNight && isNightOrder\">\n <em>{{ player.otherNight }}.</em>\n <span v-if=\"player.role.otherNightReminder\">{{\n player.role.otherNightReminder | handleEmojis\n }}</span>\n </div>\n\n <Token :role=\"player.role\" @set-role=\"setRole\" />\n\n <div class=\"name\" @click=\"changeName\">\n <span class=\"screenshot\" @click.stop=\"takeScreenshot\">\n <font-awesome-icon icon=\"camera\" />\n </span>\n <span class=\"name\">\n {{ player.name }}\n </span>\n <span class=\"remove\" @click.stop=\"$emit('remove-player', player)\">\n <font-awesome-icon icon=\"times-circle\" />\n </span>\n </div>\n </div>\n <template v-if=\"player.reminders\">\n <div\n class=\"reminder\"\n v-bind:key=\"reminder.role + ' ' + reminder.name\"\n v-for=\"reminder in player.reminders\"\n v-bind:class=\"[reminder.role]\"\n @click=\"removeReminder(reminder)\"\n >\n <span\n class=\"icon\"\n v-bind:style=\"{\n backgroundImage: `url(${require('../assets/icons/' +\n reminder.role +\n '.png')})`\n }\"\n ></span>\n {{ reminder.name }}\n </div>\n </template>\n <div class=\"reminder add\" @click=\"$emit('add-reminder', player)\">\n <span class=\"icon\"></span>\n </div>\n </li>\n</template>\n\n<script>\nimport Token from \"./Token\";\n\nexport default {\n components: {\n Token\n },\n props: {\n player: {\n type: Object,\n required: true\n },\n roles: {\n type: Map,\n required: true\n },\n isPublic: {\n type: Boolean,\n required: true\n },\n isNightOrder: {\n type: Boolean,\n required: true\n }\n },\n data() {\n return {};\n },\n filters: {\n handleEmojis: text => text.replace(/:([^: ]+?):/g, \"\").replace(/ •/g, \"\\n•\")\n },\n methods: {\n takeScreenshot() {\n const { width, height, x, y } = this.$refs.player.getBoundingClientRect();\n this.$emit(\"screenshot\", { width, height, x, y });\n },\n toggleStatus() {\n if (this.isPublic) {\n if (!this.player.hasDied) {\n this.$set(this.player, \"hasDied\", true);\n } else if (this.player.hasVoted) {\n this.$set(this.player, \"hasVoted\", false);\n this.$set(this.player, \"hasDied\", false);\n } else {\n this.$set(this.player, \"hasVoted\", true);\n }\n } else {\n this.$set(this.player, \"hasDied\", !this.player.hasDied);\n }\n },\n setRole() {\n this.$emit(\"set-role\", this.player);\n },\n changeName() {\n const name = prompt(\"Player name\", this.player.name);\n this.player.name = name || this.player.name;\n },\n removeReminder(reminder) {\n this.player.reminders.splice(this.player.reminders.indexOf(reminder), 1);\n }\n }\n};\n</script>\n\n<style lang=\"scss\">\n@import \"../vars.scss\";\n\n/***** Player token *****/\n.circle .player {\n margin-bottom: 10px;\n padding-top: $token + 6px;\n\n .shroud {\n top: 0;\n left: 0;\n position: absolute;\n width: 100%;\n height: 2/3 * $token;\n cursor: pointer;\n transform: rotateX(0deg);\n transform-origin: top center;\n transition: transform 200ms ease-in-out;\n z-index: 2;\n filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.8));\n\n &:before {\n content: \" \";\n background: url(\"../assets/shroud.png\") center -10px no-repeat;\n background-size: auto 100%;\n position: absolute;\n margin-left: -2/6 * $token;\n width: 2/3 * $token;\n height: 2/3 * $token;\n left: 50%;\n top: -30px;\n opacity: 0;\n transform: perspective(400px) scale(1.5);\n transform-origin: top center;\n transition: all 200ms ease-in-out;\n pointer-events: none;\n }\n\n &:hover:before {\n opacity: 0.5;\n top: -10px;\n transform: scale(1);\n }\n }\n\n &.dead .shroud:before {\n opacity: 1;\n top: 0;\n transform: perspective(400px) scale(1);\n }\n}\n\n/****** Life token *******/\n.player {\n z-index: 2;\n .life {\n border-radius: 50%;\n height: $token + 6px;\n width: $token + 6px;\n background: url(\"../assets/life.png\") center center;\n background-size: 100%;\n border: 3px solid black;\n box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);\n cursor: pointer;\n transition: transform 200ms ease-in-out;\n transform: perspective(400px) rotateY(180deg);\n backface-visibility: hidden;\n position: absolute;\n left: 50%;\n top: 0;\n margin-left: ($token + 6) / -2;\n }\n\n &.dead {\n &.no-vote .life:after {\n display: none;\n }\n\n .life {\n background-image: url(\"../assets/death.png\");\n\n &:after {\n content: \" \";\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n background: url(\"../assets/vote.png\") center center no-repeat;\n background-size: 50%;\n height: $token + 3px;\n pointer-events: none;\n }\n }\n }\n\n &.traveler .life {\n filter: grayscale(100%);\n }\n}\n\n#townsquare.public .player {\n .shroud {\n transform: perspective(400px) rotateX(90deg);\n pointer-events: none;\n }\n\n .life {\n transform: perspective(400px) rotateY(0deg);\n }\n}\n\n/***** Role token ******/\n.player .token {\n position: absolute;\n left: 0;\n top: 0;\n height: $token + 6px;\n width: $token + 6px;\n transition: transform 200ms ease-in-out;\n transform: perspective(400px) rotateY(0deg);\n backface-visibility: hidden;\n}\n\n#townsquare.public .circle .token {\n transform: perspective(400px) rotateY(-180deg);\n}\n\n/***** Player name *****/\n.player > .name {\n font-size: 120%;\n line-height: 120%;\n cursor: pointer;\n white-space: nowrap;\n width: 100%;\n display: flex;\n justify-content: center;\n background: rgba(0, 0, 0, 0.5);\n border: 3px solid black;\n border-radius: 10px;\n top: 5px;\n box-shadow: 0 0 5px black;\n\n span.screenshot,\n span.remove {\n display: none;\n margin: 0 5px;\n flex-shrink: 0;\n flex-grow: 0;\n #app.screenshot & {\n display: none;\n }\n }\n span.name {\n flex-shrink: 1;\n text-overflow: ellipsis;\n overflow: hidden;\n }\n &:hover {\n color: red;\n span {\n display: block;\n color: white;\n &:hover {\n color: red;\n }\n }\n }\n}\n\n.player.dead > .name {\n opacity: 0.5;\n}\n\n/***** Ability text *****/\n#townsquare.public .ability {\n display: none;\n}\n.circle .player:hover .ability {\n opacity: 1;\n}\n\n/**** Night reminders ****/\n.player .night {\n position: absolute;\n height: 100%;\n width: 100%;\n z-index: 2;\n cursor: pointer;\n opacity: 1;\n transition: opacity 200ms;\n display: flex;\n top: -16px;\n align-items: center;\n pointer-events: none;\n\n #townsquare.public & {\n opacity: 0;\n pointer-events: none;\n }\n\n &:hover ~ .token .ability {\n opacity: 0;\n }\n\n span {\n display: flex;\n position: absolute;\n padding: 5px 10px 5px 30px;\n width: 350px;\n z-index: 25;\n font-size: 70%;\n background: rgba(0, 0, 0, 0.5);\n border-radius: 10px;\n border: 3px solid black;\n filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));\n text-align: left;\n align-items: center;\n opacity: 0;\n transition: opacity 200ms ease-in-out;\n\n &:before {\n transform: rotate(-90deg);\n transform-origin: center top;\n left: -98px;\n top: 50%;\n font-size: 100%;\n position: absolute;\n font-weight: bold;\n text-align: center;\n width: 200px;\n }\n\n &:after {\n content: \" \";\n border: 10px solid transparent;\n width: 0;\n height: 0;\n position: absolute;\n }\n }\n\n &.first span {\n right: 120%;\n background: linear-gradient(\n to right,\n $townsfolk 0%,\n rgba(0, 0, 0, 0.5) 20%\n );\n &:before {\n content: \"First Night\";\n }\n &:after {\n border-left-color: $townsfolk;\n margin-left: 3px;\n left: 100%;\n }\n }\n\n &.other span {\n left: 120%;\n background: linear-gradient(to right, $demon 0%, rgba(0, 0, 0, 0.5) 20%);\n &:before {\n content: \"Other Nights\";\n }\n &:after {\n right: 100%;\n margin-right: 3px;\n border-right-color: $demon;\n }\n }\n\n em {\n font-style: normal;\n position: absolute;\n width: 40px;\n height: 40px;\n text-align: center;\n line-height: 37px;\n border-radius: 50%;\n border: 3px solid black;\n filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.5));\n font-weight: bold;\n opacity: 1;\n pointer-events: all;\n transition: opacity 200ms;\n }\n\n &.first em {\n left: -15px;\n background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, $townsfolk 100%);\n }\n\n &.other em {\n right: -15px;\n background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, $demon 100%);\n }\n\n em:hover + span {\n opacity: 1;\n }\n\n #app.screenshot & {\n display: none;\n }\n}\n\n.player.dead .night em {\n opacity: 0;\n}\n\n/***** Reminder token *****/\n.circle .reminder {\n background: url(\"../assets/reminder.png\") center center;\n background-size: 100%;\n width: $token / 2;\n height: $token / 2;\n color: black;\n font-size: 45%;\n font-weight: bold;\n display: block;\n margin: 5px ($token / -4) 0;\n text-align: center;\n padding: ($token * 0.3 + 2px) 5px 0;\n border-radius: 50%;\n line-height: 90%;\n border: 3px solid black;\n box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);\n transition: all 200ms;\n cursor: pointer;\n\n .icon,\n &:after {\n content: \" \";\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n background-size: 100%;\n background-position: center 0;\n background-repeat: no-repeat;\n background-image: url(\"../assets/icons/plus.png\");\n transition: opacity 200ms;\n }\n\n &:after {\n background-image: url(\"../assets/icons/x.png\");\n opacity: 0;\n }\n\n &.add {\n opacity: 0;\n top: 30px;\n &:after {\n display: none;\n }\n }\n\n &:hover:before {\n opacity: 0;\n }\n &:hover:after {\n opacity: 1;\n }\n}\n.circle li:hover .reminder.add {\n opacity: 1;\n top: 0;\n}\n.circle li:hover .reminder.add:before {\n opacity: 1;\n}\n\n#townsquare.public .reminder {\n opacity: 0;\n pointer-events: none;\n}\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Player.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Player.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Player.vue?vue&type=template&id=79d7180f&\"\nimport script from \"./Player.vue?vue&type=script&lang=js&\"\nexport * from \"./Player.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Player.vue?vue&type=style&index=0&lang=scss&\"\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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{\"name\":\"modal-fade\"}},[_c('div',{staticClass:\"modal-backdrop\",on:{\"click\":_vm.close}},[_c('div',{staticClass:\"modal\",attrs:{\"role\":\"dialog\",\"aria-labelledby\":\"modalTitle\",\"aria-describedby\":\"modalDescription\"},on:{\"click\":function($event){$event.stopPropagation();}}},[_c('font-awesome-icon',{staticClass:\"close\",attrs:{\"icon\":\"times-circle\"},on:{\"click\":_vm.close}}),_vm._t(\"default\")],2)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <transition name=\"modal-fade\">\n <div class=\"modal-backdrop\" @click=\"close\">\n <div\n class=\"modal\"\n role=\"dialog\"\n aria-labelledby=\"modalTitle\"\n aria-describedby=\"modalDescription\"\n @click.stop=\"\"\n >\n <font-awesome-icon @click=\"close\" class=\"close\" icon=\"times-circle\" />\n <slot></slot>\n </div>\n </div>\n </transition>\n</template>\n\n<script>\nexport default {\n methods: {\n close() {\n this.$emit(\"close\");\n }\n }\n};\n</script>\n\n<style lang=\"scss\">\n.modal-backdrop {\n position: fixed;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n background-color: rgba(0, 0, 0, 0.3);\n display: flex;\n justify-content: center;\n align-items: center;\n z-index: 100;\n}\n\n.modal {\n background: rgba(0, 0, 0, 0.8);\n padding: 10px 20px;\n border-radius: 10px;\n box-shadow: 2px 2px 20px 1px #000;\n display: flex;\n flex-direction: column;\n max-width: 60%;\n\n ul {\n list-style-type: none;\n margin: 0;\n padding: 0;\n display: flex;\n flex-wrap: wrap;\n align-content: center;\n align-items: center;\n justify-content: center;\n font-size: 75%;\n line-height: 100%;\n }\n > .close {\n position: absolute;\n right: 20px;\n top: 20px;\n cursor: pointer;\n z-index: 5;\n &:hover {\n color: red;\n }\n }\n}\n\n.modal-fade-enter,\n.modal-fade-leave-active {\n opacity: 0;\n}\n\n.modal-fade-enter-active,\n.modal-fade-leave-active {\n transition: opacity 0.2s ease;\n}\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Modal.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Modal.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Modal.vue?vue&type=template&id=6eaeb16a&\"\nimport script from \"./Modal.vue?vue&type=script&lang=js&\"\nexport * from \"./Modal.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Modal.vue?vue&type=style&index=0&lang=scss&\"\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","<template>\n <div\n id=\"townsquare\"\n class=\"square\"\n v-bind:class=\"{ public: isPublic }\"\n v-bind:style=\"{ zoom: zoom }\"\n >\n <ul class=\"circle\" v-bind:class=\"['size-' + players.length]\">\n <Player\n v-for=\"(player, index) in players\"\n :key=\"index\"\n :player=\"player\"\n :roles=\"roles\"\n :is-public=\"isPublic\"\n :is-night-order=\"isNightOrder\"\n @add-reminder=\"openReminderModal\"\n @set-role=\"openRoleModal\"\n @remove-player=\"removePlayer\"\n @screenshot=\"$emit('screenshot', $event)\"\n ></Player>\n </ul>\n <div class=\"bluffs\" v-if=\"players.length > 6\" ref=\"bluffs\">\n <h3>Demon bluffs</h3>\n <font-awesome-icon icon=\"camera\" @click.stop=\"takeScreenshot\" />\n <ul>\n <li @click=\"openRoleModal(bluffs[0])\">\n <Token :role=\"bluffs[0].role\"></Token>\n </li>\n <li @click=\"openRoleModal(bluffs[1])\">\n <Token :role=\"bluffs[1].role\"></Token>\n </li>\n <li @click=\"openRoleModal(bluffs[2])\">\n <Token :role=\"bluffs[2].role\"></Token>\n </li>\n </ul>\n </div>\n\n <Modal\n v-show=\"availableReminders.length && selectedPlayer\"\n @close=\"closeModal\"\n >\n <h3>Choose a reminder token:</h3>\n <ul class=\"reminders\">\n <li\n v-for=\"reminder in availableReminders\"\n class=\"reminder\"\n v-bind:class=\"[reminder.role]\"\n v-bind:key=\"reminder.role + ' ' + reminder.name\"\n @click=\"addReminder(reminder)\"\n >\n <span\n class=\"icon\"\n v-bind:style=\"{\n backgroundImage: `url(${require('../assets/icons/' +\n reminder.role +\n '.png')})`\n }\"\n ></span>\n {{ reminder.name }}\n </li>\n </ul>\n </Modal>\n <Modal v-show=\"availableRoles.length && selectedPlayer\" @close=\"closeModal\">\n <h3>Choose a new role:</h3>\n <ul class=\"tokens\">\n <li\n v-for=\"role in availableRoles\"\n v-bind:class=\"[role.team]\"\n v-bind:key=\"role.id\"\n @click=\"setRole(role)\"\n >\n <Token :role=\"role\" />\n </li>\n </ul>\n </Modal>\n </div>\n</template>\n\n<script>\nimport Player from \"./Player\";\nimport Modal from \"./Modal\";\nimport Token from \"./Token\";\n\nexport default {\n components: {\n Token,\n Modal,\n Player\n },\n props: {\n isPublic: {\n type: Boolean,\n required: true\n },\n isNightOrder: {\n type: Boolean,\n required: true\n },\n players: {\n type: Array,\n required: true\n },\n roles: {\n type: Map,\n required: true\n },\n zoom: {\n type: Number,\n required: true\n }\n },\n data() {\n return {\n selectedPlayer: false,\n availableReminders: [],\n availableRoles: [],\n bluffs: Array(3)\n .fill({})\n .map(() => ({ role: {} }))\n };\n },\n methods: {\n takeScreenshot() {\n const { width, height, x, y } = this.$refs.bluffs.getBoundingClientRect();\n this.$emit(\"screenshot\", { width, height, x, y });\n },\n openReminderModal(player) {\n this.availableRoles = [];\n this.availableReminders = [];\n this.selectedPlayer = player;\n this.roles.forEach(role => {\n if (this.players.some(p => p.role.id === role.id)) {\n this.availableReminders = [\n ...this.availableReminders,\n ...role.reminders.map(name => ({ role: role.id, name }))\n ];\n }\n });\n this.availableReminders.push({ role: \"good\", name: \"Good\" });\n this.availableReminders.push({ role: \"evil\", name: \"Evil\" });\n },\n openRoleModal(player) {\n this.availableRoles = [];\n this.availableReminders = [];\n this.selectedPlayer = player;\n this.roles.forEach(role => {\n if (player.role && role.id !== player.role.id) {\n this.availableRoles.push(role);\n }\n });\n this.availableRoles.push({});\n },\n addReminder(reminder) {\n this.selectedPlayer.reminders.push(reminder);\n this.closeModal();\n },\n setRole(role) {\n this.selectedPlayer.role = role;\n this.closeModal();\n },\n closeModal() {\n this.selectedPlayer = false;\n },\n removePlayer(player) {\n if (confirm(`Do you really want to remove ${player.name}?`)) {\n this.players.splice(this.players.indexOf(player), 1);\n }\n }\n }\n};\n</script>\n\n<style lang=\"scss\">\n@import \"../vars.scss\";\n\n.circle {\n padding: 0;\n width: 100%;\n height: 100%;\n list-style: none;\n margin: 0;\n\n li {\n position: absolute;\n top: 0;\n left: 50%;\n height: 50%;\n transform-origin: 0 100%;\n text-align: center;\n\n &:hover {\n z-index: 25 !important;\n }\n\n > * {\n margin-left: -78px;\n width: 156px;\n }\n }\n}\n\n@mixin on-circle($item-count) {\n $angle: (360 / $item-count);\n $rot: 0;\n\n @for $i from 1 through $item-count {\n &:nth-child(#{$i}) {\n transform: rotate($rot * 1deg);\n @if $i - 1 <= $item-count / 2 {\n z-index: $item-count - $i + 1;\n } @else {\n z-index: $i - 1;\n .ability {\n right: 120%;\n left: auto;\n &:before {\n border-right-color: transparent;\n border-left-color: black;\n right: auto;\n left: 100%;\n }\n }\n }\n > * {\n transform: rotate($rot * -1deg);\n }\n .life,\n .token,\n .shroud,\n .night {\n transition-delay: ($i - 1) * 50ms;\n }\n\n // move reminders closer to the sides of the circle\n $q: $item-count / 4;\n $x: $i - 1;\n @if $x < $q or ($x >= $item-count / 2 and $x < $q * 3) {\n .player {\n margin-bottom: -10px + 20px * (1 - ($x % $q / $q));\n }\n } @else {\n .player {\n margin-bottom: -10px + 20px * ($x % $q / $q);\n }\n }\n }\n $rot: $rot + $angle;\n }\n}\n\n@for $i from 1 through 20 {\n .circle.size-#{$i} li {\n @include on-circle($item-count: $i);\n }\n}\n\n#townsquare {\n width: 100%;\n height: 100%;\n border-radius: 50%;\n padding: 20px;\n}\n\n/***** Demon bluffs *******/\n.bluffs {\n position: absolute;\n bottom: 10px;\n left: 10px;\n background: rgba(0, 0, 0, 0.5);\n border-radius: 10px;\n border: 3px solid black;\n filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));\n transform-origin: bottom left;\n transform: scale(1);\n opacity: 1;\n transition: all 200ms ease-in-out;\n\n #townsquare.public & {\n opacity: 0;\n transform: scale(0.1);\n }\n > svg {\n position: absolute;\n top: 10px;\n right: 10px;\n cursor: pointer;\n &:hover {\n color: red;\n }\n #app.screenshot & {\n display: none;\n }\n }\n h3 {\n margin-top: 5px;\n }\n li {\n width: 120px;\n height: 120px;\n margin: 0 5px;\n display: inline-block;\n font-size: 18px;\n }\n}\n/***** Role token modal ******/\nul.tokens li {\n border-radius: 50%;\n height: 120px;\n width: 120px;\n margin: 5px;\n transition: transform 500ms ease;\n\n &.townsfolk {\n box-shadow: 0 0 10px $townsfolk, 0 0 10px #004cff;\n }\n &.outsider {\n box-shadow: 0 0 10px $outsider, 0 0 10px $outsider;\n }\n &.minion {\n box-shadow: 0 0 10px $minion, 0 0 10px $minion;\n }\n &.demon {\n box-shadow: 0 0 10px $demon, 0 0 10px $demon;\n }\n &.traveler {\n box-shadow: 0 0 10px $traveler, 0 0 10px $traveler;\n }\n &:hover {\n transform: scale(1.2);\n z-index: 10;\n }\n}\n\n/***** Reminder token modal ******/\nul.reminders .reminder {\n background: url(\"../assets/reminder.png\") center center;\n background-size: 100%;\n width: 100px;\n height: 100px;\n color: black;\n font-size: 65%;\n font-weight: bold;\n display: block;\n margin: 5px;\n text-align: center;\n border-radius: 50%;\n border: 3px solid black;\n box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);\n cursor: pointer;\n padding: 65px 9px 0;\n line-height: 100%;\n transition: transform 500ms ease;\n\n .icon {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n background-size: 100%;\n background-position: center 0;\n background-repeat: no-repeat;\n }\n\n &:hover {\n transform: scale(1.2);\n }\n}\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TownSquare.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TownSquare.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TownSquare.vue?vue&type=template&id=0b201413&\"\nimport script from \"./TownSquare.vue?vue&type=script&lang=js&\"\nexport * from \"./TownSquare.vue?vue&type=script&lang=js&\"\nimport style0 from \"./TownSquare.vue?vue&type=style&index=0&lang=scss&\"\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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',{staticClass:\"info\"},[_c('li',{staticClass:\"edition\",class:['edition-' + _vm.edition]}),(_vm.players.length - _vm.teams.traveler < 5)?_c('li',[_vm._v(\" Please add more players! \")]):_vm._e(),_c('li',[_vm._v(\" \"+_vm._s(_vm.players.length)+\" \"),_c('font-awesome-icon',{staticClass:\"players\",attrs:{\"icon\":\"users\"}}),_vm._v(\" \"+_vm._s(_vm.teams.alive)+\" \"),_c('font-awesome-icon',{staticClass:\"alive\",attrs:{\"icon\":\"heartbeat\"}}),_vm._v(\" \"+_vm._s(_vm.teams.votes)+\" \"),_c('font-awesome-icon',{staticClass:\"votes\",attrs:{\"icon\":\"vote-yea\"}})],1),(_vm.players.length - _vm.teams.traveler >= 5)?_c('li',[_vm._v(\" \"+_vm._s(_vm.teams.townsfolk)+\" \"),_c('font-awesome-icon',{staticClass:\"townsfolk\",attrs:{\"icon\":\"user-friends\"}}),_vm._v(\" \"+_vm._s(_vm.teams.outsider)+\" \"),_c('font-awesome-icon',{staticClass:\"outsider\",attrs:{\"icon\":_vm.teams.outsider > 1 ? 'user-friends' : 'user'}}),_vm._v(\" \"+_vm._s(_vm.teams.minion)+\" \"),_c('font-awesome-icon',{staticClass:\"minion\",attrs:{\"icon\":_vm.teams.minion > 1 ? 'user-friends' : 'user'}}),_vm._v(\" \"+_vm._s(_vm.teams.demon)+\" \"),_c('font-awesome-icon',{staticClass:\"demon\",attrs:{\"icon\":_vm.teams.demon > 1 ? 'user-friends' : 'user'}}),(_vm.teams.traveler)?[_vm._v(\" \"+_vm._s(_vm.teams.traveler)+\" \"),_c('font-awesome-icon',{staticClass:\"traveler\",attrs:{\"icon\":_vm.teams.traveler > 1 ? 'user-friends' : 'user'}})]:_vm._e()],2):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <ul class=\"info\">\n <li class=\"edition\" v-bind:class=\"['edition-' + edition]\"></li>\n <li v-if=\"players.length - teams.traveler < 5\">\n Please add more players!\n </li>\n <li>\n {{ players.length }} <font-awesome-icon class=\"players\" icon=\"users\" />\n {{ teams.alive }} <font-awesome-icon class=\"alive\" icon=\"heartbeat\" />\n {{ teams.votes }} <font-awesome-icon class=\"votes\" icon=\"vote-yea\" />\n </li>\n <li v-if=\"players.length - teams.traveler >= 5\">\n {{ teams.townsfolk }}\n <font-awesome-icon class=\"townsfolk\" icon=\"user-friends\" />\n {{ teams.outsider }}\n <font-awesome-icon\n class=\"outsider\"\n v-bind:icon=\"teams.outsider > 1 ? 'user-friends' : 'user'\"\n />\n {{ teams.minion }}\n <font-awesome-icon\n class=\"minion\"\n v-bind:icon=\"teams.minion > 1 ? 'user-friends' : 'user'\"\n />\n {{ teams.demon }}\n <font-awesome-icon\n class=\"demon\"\n v-bind:icon=\"teams.demon > 1 ? 'user-friends' : 'user'\"\n />\n <template v-if=\"teams.traveler\">\n {{ teams.traveler }}\n <font-awesome-icon\n class=\"traveler\"\n v-bind:icon=\"teams.traveler > 1 ? 'user-friends' : 'user'\"\n />\n </template>\n </li>\n </ul>\n</template>\n\n<script>\nimport gameJSON from \"./../game\";\n\nexport default {\n props: {\n players: {\n type: Array,\n required: true\n },\n edition: {\n type: String,\n required: true\n }\n },\n computed: {\n teams: function() {\n const nontravelers = Math.min(\n this.players.filter(player => player.role.team !== \"traveler\").length,\n 15\n );\n const alive = this.players.filter(player => player.hasDied !== true)\n .length;\n return {\n ...gameJSON[nontravelers - 5],\n traveler: this.players.length - nontravelers,\n alive,\n votes:\n alive +\n this.players.filter(\n player => player.hasDied === true && player.hasVoted !== true\n ).length\n };\n }\n }\n};\n</script>\n\n<style lang=\"scss\">\n@import \"../vars.scss\";\n\n.info {\n position: absolute;\n display: flex;\n left: 50%;\n top: 50%;\n width: 20%;\n height: 20%;\n margin-left: -10%;\n margin-top: -5%;\n padding: 50px 0 0;\n align-items: center;\n align-content: center;\n justify-content: center;\n flex-wrap: wrap;\n background: url(\"../assets/demon-head.png\") center center no-repeat;\n background-size: auto 100%;\n\n li {\n display: block;\n white-space: nowrap;\n font-weight: bold;\n text-align: center;\n padding: 0 5px;\n width: 100%;\n filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.7));\n\n svg {\n margin-right: 10px;\n }\n\n .players {\n color: #00f700;\n }\n .alive {\n color: #ff4a50;\n }\n .votes {\n color: #1cfff2;\n }\n .townsfolk {\n color: $townsfolk;\n }\n .outsider {\n color: $outsider;\n }\n .minion {\n color: $minion;\n }\n .demon {\n color: $demon;\n }\n .traveler {\n color: $traveler;\n }\n }\n\n li.edition {\n width: 220px;\n height: 200px;\n background-position: 0 center;\n background-repeat: no-repeat;\n background-size: 100% auto;\n position: absolute;\n top: -50px;\n }\n}\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TownInfo.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TownInfo.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TownInfo.vue?vue&type=template&id=7ab88834&\"\nimport script from \"./TownInfo.vue?vue&type=script&lang=js&\"\nexport * from \"./TownInfo.vue?vue&type=script&lang=js&\"\nimport style0 from \"./TownInfo.vue?vue&type=style&index=0&lang=scss&\"\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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.nontravelerPlayers >= 5)?_c('Modal',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isOpen),expression:\"isOpen\"}],staticClass:\"roles\",on:{\"close\":function($event){return _vm.close()}}},[_c('h3',[_vm._v(\"Select the roles for \"+_vm._s(_vm.nontravelerPlayers)+\" players:\")]),_vm._l((_vm.roleSelection),function(teamRoles,team){return _c('ul',{key:team,staticClass:\"tokens\"},[_c('li',{staticClass:\"count\",class:[team]},[_vm._v(\" \"+_vm._s(teamRoles.filter(function (role) { return role.selected; }).length)+\" / \"+_vm._s(_vm.game[_vm.nontravelerPlayers - 5][team])+\" \")]),_vm._l((teamRoles),function(role){return _c('li',{key:role.id,class:[role.team, role.selected ? 'selected' : ''],on:{\"click\":function($event){role.selected = !role.selected}}},[_c('Token',{attrs:{\"role\":role}})],1)})],2)}),(_vm.hasSelectedSetupRoles)?_c('div',{staticClass:\"warning\"},[_vm._v(\" Warning: there are roles selected that modify the game setup! The randomizer does not account for these roles. \")]):_vm._e(),_c('div',{staticClass:\"button-group\"},[_c('div',{staticClass:\"button\",class:{\n disabled: _vm.selectedRoles > _vm.nontravelerPlayers || !_vm.selectedRoles\n },on:{\"click\":_vm.assignRoles}},[_vm._v(\" Assign \"+_vm._s(_vm.selectedRoles)+\" roles randomly \")]),_c('div',{staticClass:\"button\",on:{\"click\":_vm.selectRandomRoles}},[_vm._v(\" Randomize roles \")])])],2):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <Modal\n class=\"roles\"\n v-show=\"isOpen\"\n @close=\"close()\"\n v-if=\"nontravelerPlayers >= 5\"\n >\n <h3>Select the roles for {{ nontravelerPlayers }} players:</h3>\n <ul\n class=\"tokens\"\n v-for=\"(teamRoles, team) in roleSelection\"\n v-bind:key=\"team\"\n >\n <li class=\"count\" v-bind:class=\"[team]\">\n {{ teamRoles.filter(role => role.selected).length }} /\n {{ game[nontravelerPlayers - 5][team] }}\n </li>\n <li\n v-for=\"role in teamRoles\"\n v-bind:class=\"[role.team, role.selected ? 'selected' : '']\"\n v-bind:key=\"role.id\"\n @click=\"role.selected = !role.selected\"\n >\n <Token :role=\"role\" />\n </li>\n </ul>\n <div class=\"warning\" v-if=\"hasSelectedSetupRoles\">\n Warning: there are roles selected that modify the game setup! The\n randomizer does not account for these roles.\n </div>\n <div class=\"button-group\">\n <div\n class=\"button\"\n @click=\"assignRoles\"\n v-bind:class=\"{\n disabled: selectedRoles > nontravelerPlayers || !selectedRoles\n }\"\n >\n Assign {{ selectedRoles }} roles randomly\n </div>\n <div class=\"button\" @click=\"selectRandomRoles\">\n Randomize roles\n </div>\n </div>\n </Modal>\n</template>\n\n<script>\nimport Modal from \"./Modal\";\nimport gameJSON from \"./../game\";\nimport Token from \"./Token\";\n\nconst randomElement = arr => arr[Math.floor(Math.random() * arr.length)];\n\nexport default {\n components: {\n Token,\n Modal\n },\n props: {\n players: {\n type: Array,\n required: true\n },\n roles: {\n type: Map,\n required: true\n },\n isOpen: {\n type: Boolean,\n required: true\n }\n },\n data: function() {\n return {\n roleSelection: {},\n game: gameJSON\n };\n },\n computed: {\n nontravelerPlayers: function() {\n return Math.min(\n this.players.filter(({ role }) => role && role.team !== \"traveler\")\n .length,\n 15\n );\n },\n selectedRoles: function() {\n return Object.values(this.roleSelection)\n .map(roles => roles.filter(role => role.selected).length)\n .reduce((a, b) => a + b, 0);\n },\n hasSelectedSetupRoles: function() {\n return Object.values(this.roleSelection).some(roles =>\n roles.some(role => role.selected && role.setup)\n );\n }\n },\n methods: {\n close() {\n this.$emit(\"close\");\n },\n selectRandomRoles() {\n this.roleSelection = {};\n this.roles.forEach(role => {\n if (!this.roleSelection[role.team]) {\n this.$set(this.roleSelection, role.team, []);\n }\n this.roleSelection[role.team].push(role);\n this.$set(role, \"selected\", false);\n });\n delete this.roleSelection[\"traveler\"];\n const playerCount = Math.max(5, this.nontravelerPlayers);\n const composition = this.game[playerCount - 5];\n Object.keys(composition).forEach(team => {\n for (let x = 0; x < composition[team]; x++) {\n const available = this.roleSelection[team].filter(\n role => role.selected !== true\n );\n if (available.length) {\n randomElement(available).selected = true;\n }\n }\n });\n },\n assignRoles() {\n if (this.selectedRoles <= this.nontravelerPlayers && this.selectedRoles) {\n // generate list of selected roles and randomize it\n const roles = Object.values(this.roleSelection)\n .map(roles => roles.filter(role => role.selected))\n .reduce((a, b) => [...a, ...b], [])\n .map(a => [Math.random(), a])\n .sort((a, b) => a[0] - b[0])\n .map(a => a[1]);\n this.players.forEach(player => {\n if (player.role.team !== \"traveler\" && roles.length) {\n player.role = roles.pop();\n }\n });\n this.close();\n }\n }\n },\n mounted: function() {\n if (!Object.keys(this.roleSelection).length) {\n this.selectRandomRoles();\n }\n },\n watch: {\n roles() {\n this.selectRandomRoles();\n }\n }\n};\n</script>\n\n<style lang=\"scss\">\n@import \"../vars.scss\";\n\n.roles .modal ul.tokens {\n padding-left: 55px;\n li {\n opacity: 0.5;\n transition: all 250ms;\n &.selected {\n opacity: 1;\n }\n }\n .count {\n opacity: 1;\n position: absolute;\n left: 0;\n top: 40px;\n font-weight: bold;\n line-height: 50px;\n text-align: center;\n font-size: 100%;\n width: 50px;\n height: 50px;\n &.townsfolk {\n color: $townsfolk;\n }\n &.outsider {\n color: $outsider;\n }\n &.minion {\n color: $minion;\n }\n &.demon {\n color: $demon;\n }\n }\n}\n\n.roles .modal .warning {\n color: red;\n text-align: center;\n margin: auto;\n}\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RoleSelectionModal.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RoleSelectionModal.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./RoleSelectionModal.vue?vue&type=template&id=15e75954&\"\nimport script from \"./RoleSelectionModal.vue?vue&type=script&lang=js&\"\nexport * from \"./RoleSelectionModal.vue?vue&type=script&lang=js&\"\nimport style0 from \"./RoleSelectionModal.vue?vue&type=style&index=0&lang=scss&\"\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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"screenshot\"}},[_c('video',{ref:\"video\",attrs:{\"autoplay\":\"\"}}),_c('canvas',{ref:\"canvas\"})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div id=\"screenshot\">\n <video ref=\"video\" autoplay></video>\n <canvas ref=\"canvas\"></canvas>\n </div>\n</template>\n\n<script>\nexport default {\n data: function() {\n return {\n stream: null\n };\n },\n methods: {\n async capture({ x = 0, y = 0, width = 0, height = 0 }, zoom = 1) {\n const canvas = this.$refs.canvas;\n const video = this.$refs.video;\n // start capturing\n if (!this.stream || !this.stream.active) {\n alert(\n \"Please select to stream the current browser tab to get the appropriate screenshots\"\n );\n try {\n this.stream = await navigator.mediaDevices.getDisplayMedia({\n video: {\n // frameRate: 5,\n cursor: \"never\"\n },\n audio: false\n });\n } catch (err) {\n this.$emit(\"error\", err);\n }\n }\n // get screenshot\n if (this.stream && this.stream.active) {\n video.srcObject = this.stream;\n video.play();\n setTimeout(() => {\n const context = canvas.getContext(\"2d\");\n canvas.setAttribute(\"width\", width * zoom || video.videoWidth);\n canvas.setAttribute(\"height\", height * zoom || video.videoHeight);\n context.drawImage(\n video,\n x * zoom || 0,\n y * zoom || 0,\n width * zoom || video.videoWidth,\n height * zoom || video.videoHeight,\n 0,\n 0,\n width * zoom || video.videoWidth,\n height * zoom || video.videoHeight\n );\n canvas.toBlob(blob => {\n try {\n // eslint-disable-next-line no-undef\n const item = new ClipboardItem({ \"image/png\": blob });\n navigator.clipboard.write([item]);\n this.$emit(\"success\");\n } catch (err) {\n this.$emit(\"error\", err);\n }\n });\n }, 100);\n }\n }\n }\n};\n</script>\n\n<style scoped>\nvideo {\n width: 100%;\n height: 100%;\n display: none;\n}\ncanvas {\n width: 100%;\n height: 100%;\n display: none;\n}\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Screenshot.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Screenshot.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Screenshot.vue?vue&type=template&id=6f9448c8&scoped=true&\"\nimport script from \"./Screenshot.vue?vue&type=script&lang=js&\"\nexport * from \"./Screenshot.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Screenshot.vue?vue&type=style&index=0&id=6f9448c8&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 \"6f9448c8\",\n null\n \n)\n\nexport default component.exports","<template>\n <div\n id=\"app\"\n @keyup=\"keyup\"\n tabindex=\"-1\"\n v-bind:class=\"{ screenshot: isScreenshot }\"\n v-bind:style=\"{ backgroundImage: background ? `url('${background}')` : '' }\"\n >\n <div class=\"intro\" v-if=\"!players.length\">\n <img src=\"/static/apple-icon.png\" alt=\"\">\n Welcome to the (inofficial)\n <b> Virtual Blood on the Clocktower Town Square</b>!<br />\n Please add more players through the\n <span class=\"button\" @click=\"isControlOpen = !isControlOpen\">\n <font-awesome-icon icon=\"cog\" /> Menu\n </span>\n on the top right or by pressing <b>[A]</b>.<br />\n This project is free and open source and can be found on\n <a href=\"https://github.com/bra1n/townsquare\" target=\"_blank\">GitHub</a>.\n </div>\n <TownInfo\n :players=\"players\"\n :edition=\"edition\"\n v-if=\"players.length\"\n ></TownInfo>\n <TownSquare\n :is-public=\"isPublic\"\n :is-night-order=\"isNightOrder\"\n :players=\"players\"\n :roles=\"roles\"\n :zoom=\"zoom\"\n @screenshot=\"takeScreenshot\"\n ></TownSquare>\n\n <Modal\n class=\"editions\"\n v-show=\"isEditionModalOpen\"\n @close=\"isEditionModalOpen = false\"\n >\n <h3>Select an edition:</h3>\n <ul class=\"editions\">\n <li\n v-for=\"edition in editions\"\n class=\"edition\"\n v-bind:class=\"['edition-' + edition.id]\"\n v-bind:key=\"edition.id\"\n @click=\"setEdition(edition.id)\"\n >\n {{ edition.name }}\n </li>\n </ul>\n </Modal>\n\n <RoleSelectionModal\n :players=\"players\"\n :roles=\"roles\"\n :is-open=\"isRoleModalOpen\"\n @close=\"isRoleModalOpen = false\"\n ></RoleSelectionModal>\n\n <Screenshot\n ref=\"screenshot\"\n @success=\"onScreenshot(true)\"\n @error=\"onScreenshot(false)\"\n ></Screenshot>\n\n <div class=\"controls\">\n <font-awesome-icon\n icon=\"camera\"\n @click=\"takeScreenshot()\"\n v-bind:class=\"{ success: isScreenshotSuccess }\"\n />\n <div class=\"menu\" v-bind:class=\"{ open: isControlOpen }\">\n <font-awesome-icon icon=\"cog\" @click=\"isControlOpen = !isControlOpen\" />\n <ul>\n <!-- Grimoire -->\n <li class=\"headline\">\n <font-awesome-icon icon=\"book-open\" />\n Grimoire\n </li>\n <li @click=\"togglePublic\" v-if=\"players.length\">\n <em>[G]</em>\n <template v-if=\"!isPublic\">Hide</template>\n <template v-if=\"isPublic\">Show</template>\n </li>\n <li @click=\"toggleNightOrder\" v-if=\"players.length\">\n <em\n ><font-awesome-icon\n :icon=\"['fas', isNightOrder ? 'check-square' : 'square']\"\n /></em>\n Night order\n </li>\n <li v-if=\"players.length\">\n <em>\n <font-awesome-icon @click=\"zoom -= 0.1\" icon=\"search-minus\" />\n {{ Math.round(zoom * 100) }}%\n <font-awesome-icon @click=\"zoom += 0.1\" icon=\"search-plus\" />\n </em>\n Zoom\n </li>\n <li @click=\"setBackground\">\n Background image\n </li>\n\n <!-- Users -->\n <li class=\"headline\">\n <font-awesome-icon icon=\"users\" />\n Players\n </li>\n <li @click=\"addPlayer\" v-if=\"players.length < 20\">\n <em>[A]</em> Add\n </li>\n <li @click=\"randomizeSeatings\" v-if=\"players.length > 2\">\n <em>[R]</em> Randomize\n </li>\n <li @click=\"clearPlayers\" v-if=\"players.length\">\n Remove all\n </li>\n\n <!-- Characters -->\n <li class=\"headline\">\n <font-awesome-icon icon=\"theater-masks\" />\n Characters\n </li>\n <li @click=\"showEditionModal\">\n <em>[E]</em>\n Select Edition\n </li>\n <li @click=\"showRoleModal\" v-if=\"players.length > 4\">\n <em>[C]</em>\n Choose & Assign\n </li>\n <li @click=\"clearRoles\" v-if=\"players.length\">\n Remove all\n </li>\n </ul>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport TownSquare from \"./components/TownSquare\";\nimport TownInfo from \"./components/TownInfo\";\nimport Modal from \"./components/Modal\";\nimport RoleSelectionModal from \"./components/RoleSelectionModal\";\nimport rolesJSON from \"./roles\";\nimport editionJSON from \"./editions\";\nimport Screenshot from \"./components/Screenshot\";\n\nexport default {\n components: {\n Screenshot,\n TownSquare,\n TownInfo,\n Modal,\n RoleSelectionModal\n },\n data: function() {\n return {\n background: \"\",\n editions: editionJSON,\n isNightOrder: true,\n isPublic: true,\n isControlOpen: false,\n isEditionModalOpen: false,\n isRoleModalOpen: false,\n isScreenshotSuccess: false,\n isScreenshot: false,\n players: [],\n roles: this.getRolesByEdition(),\n edition: \"tb\",\n zoom: 1\n };\n },\n methods: {\n takeScreenshot(dimensions = {}) {\n this.isScreenshotSuccess = false;\n this.isScreenshot = true;\n this.$refs.screenshot.capture(dimensions, this.zoom);\n },\n onScreenshot(success = false) {\n this.isScreenshotSuccess = success;\n this.isScreenshot = false;\n },\n togglePublic() {\n this.isPublic = !this.isPublic;\n this.isControlOpen = !this.isPublic;\n },\n toggleNightOrder() {\n this.isNightOrder = !this.isNightOrder;\n },\n setBackground() {\n this.background = prompt(\"Enter custom background URL\");\n },\n addPlayer() {\n const name = prompt(\"Player name\");\n if (name) {\n this.players.push({\n name,\n role: {},\n reminders: []\n });\n }\n },\n randomizeSeatings() {\n this.isPublic = false;\n this.isControlOpen = false;\n if (confirm(\"Are you sure you want to randomize seatings?\")) {\n this.players = this.players\n .map(a => [Math.random(), a])\n .sort((a, b) => a[0] - b[0])\n .map(a => a[1]);\n }\n },\n clearPlayers() {\n this.isControlOpen = false;\n if (confirm(\"Are you sure you want to remove all players?\")) {\n this.players = [];\n }\n },\n clearRoles() {\n this.isControlOpen = false;\n if (confirm(\"Are you sure you want to remove all player roles?\")) {\n this.players.forEach(player => {\n player.role = {};\n player.hasDied = false;\n player.reminders = [];\n });\n }\n },\n getRolesByEdition(edition = \"tb\") {\n const selectedEdition = editionJSON.find(({ id }) => id === edition);\n return new Map(\n rolesJSON\n .filter(\n r => r.edition === edition || selectedEdition.roles.includes(r.id)\n )\n .sort((a, b) => b.team.localeCompare(a.team))\n .map(role => [role.id, role])\n );\n },\n showEditionModal() {\n this.isEditionModalOpen = true;\n this.isPublic = false;\n this.isControlOpen = false;\n },\n setEdition(edition) {\n this.edition = edition;\n this.isEditionModalOpen = false;\n },\n showRoleModal() {\n this.isRoleModalOpen = true;\n this.isPublic = false;\n this.isControlOpen = false;\n },\n keyup({ key }) {\n switch (key) {\n case \"g\":\n this.togglePublic();\n break;\n case \"a\":\n this.addPlayer();\n break;\n case \"r\":\n this.randomizeSeatings();\n break;\n case \"e\":\n this.showEditionModal();\n break;\n case \"c\":\n this.showRoleModal();\n break;\n }\n }\n },\n mounted() {\n if (localStorage.background !== undefined) {\n this.background = JSON.parse(localStorage.background);\n }\n if (localStorage.isPublic !== undefined) {\n this.isPublic = JSON.parse(localStorage.isPublic);\n }\n if (localStorage.edition) {\n this.edition = localStorage.edition;\n this.roles = this.getRolesByEdition(this.edition);\n }\n if (localStorage.players) {\n this.players = JSON.parse(localStorage.players).map(player => ({\n ...player,\n role: this.roles.get(player.role) || {}\n }));\n }\n },\n watch: {\n players: {\n handler(newPlayers) {\n const firstNight = [0];\n const otherNight = [0];\n newPlayers.forEach(({ role }) => {\n if (role.firstNight && !firstNight.includes(role.firstNight)) {\n firstNight.push(role.firstNight);\n }\n if (role.otherNight && !otherNight.includes(role.otherNight)) {\n otherNight.push(role.otherNight);\n }\n });\n firstNight.sort((a, b) => a - b);\n otherNight.sort((a, b) => a - b);\n newPlayers.forEach(player => {\n player.firstNight = Math.max(\n firstNight.indexOf(player.role.firstNight),\n 0\n );\n player.otherNight = Math.max(\n otherNight.indexOf(player.role.otherNight),\n 0\n );\n });\n localStorage.players = JSON.stringify(\n newPlayers.map(player => ({\n ...player,\n role: player.role.id || {}\n }))\n );\n },\n deep: true\n },\n edition(newEdition) {\n localStorage.edition = newEdition;\n this.roles = this.getRolesByEdition(newEdition);\n },\n isPublic(newIsPublic) {\n localStorage.isPublic = JSON.stringify(newIsPublic);\n },\n background(newBackground) {\n if (newBackground) {\n localStorage.background = JSON.stringify(newBackground);\n } else {\n localStorage.removeItem(\"background\");\n }\n }\n }\n};\n</script>\n\n<style lang=\"scss\">\n@import \"vars\";\n\n@font-face {\n font-family: \"Papyrus\";\n src: url(\"assets/fonts/papyrus.eot\"); /* IE9*/\n src: url(\"assets/fonts/papyrus.eot?#iefix\") format(\"embedded-opentype\"),\n /* IE6-IE8 */ url(\"assets/fonts/papyrus.woff2\") format(\"woff2\"),\n /* chrome firefox */ url(\"assets/fonts/papyrus.woff\") format(\"woff\"),\n /* chrome firefox */ url(\"assets/fonts/papyrus.ttf\") format(\"truetype\"),\n /* chrome firefox opera Safari, Android, iOS 4.2+*/\n url(\"assets/fonts/papyrus.svg#PapyrusW01\") format(\"svg\"); /* iOS 4.1- */\n}\n\nhtml,\nbody {\n font-size: 1.2em;\n line-height: 1.4;\n background: url(\"assets/background.jpg\") center center;\n background-size: cover;\n color: white;\n height: 100%;\n font-family: \"Roboto Condensed\", sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n padding: 0;\n margin: 0;\n overflow: hidden;\n}\n\n* {\n box-sizing: border-box;\n position: relative;\n}\n\na {\n color: $townsfolk;\n &:hover {\n color: $demon;\n }\n}\n\nh1,\nh2,\nh3,\nh4,\nh5 {\n margin: 0;\n text-align: center;\n}\n\nul {\n list-style-type: none;\n margin: 0;\n padding: 0;\n}\n\n#app {\n height: 100%;\n background-position: center center;\n background-size: cover;\n display: flex;\n align-items: center;\n align-content: center;\n justify-content: center;\n}\n\n// success animation\n@keyframes greenToWhite {\n from {\n color: green;\n }\n to {\n color: white;\n }\n}\n\n// Intro\n.intro {\n text-align: center;\n width: 50%;\n font-size: 120%;\n position: absolute;\n padding: 10px;\n background: rgba(0, 0, 0, 0.5);\n border: 3px solid black;\n border-radius: 10px;\n z-index: 3;\n img {\n position: absolute;\n bottom: 100%;\n left: 50%;\n margin-left: -96px;\n margin-bottom: 20px;\n border-radius: 50%;\n box-shadow: 0 0 10px black;\n border: 3px solid black;\n }\n}\n\n// Controls\n.controls {\n position: absolute;\n right: 3px;\n top: 3px;\n text-align: right;\n\n #app.screenshot & {\n display: none;\n }\n\n svg {\n cursor: pointer;\n filter: drop-shadow(0 0 5px rgba(0, 0, 0, 1));\n &.success {\n animation: greenToWhite 1s normal forwards;\n animation-iteration-count: 1;\n }\n }\n\n .fa-camera {\n position: absolute;\n right: 50px;\n top: 10px;\n z-index: 5;\n }\n\n .menu {\n width: 210px;\n transform-origin: 190px 22px;\n transition: transform 500ms cubic-bezier(0.68, -0.55, 0.27, 1.55);\n transform: rotate(-90deg);\n\n &.open {\n transform: rotate(0deg);\n }\n\n > svg {\n background: rgba(0, 0, 0, 0.5);\n border: 3px solid black;\n width: 40px;\n height: 50px;\n margin-bottom: -8px;\n border-bottom: 0;\n border-radius: 10px 10px 0 0;\n padding: 5px 5px 15px;\n }\n\n ul {\n display: flex;\n list-style-type: none;\n padding: 0;\n margin: 0;\n flex-direction: column;\n overflow: hidden;\n box-shadow: 0 0 10px black;\n border: 3px solid black;\n border-radius: 10px 0 10px 10px;\n\n li {\n padding: 2px 10px;\n color: white;\n text-align: left;\n background: rgba(0, 0, 0, 0.7);\n\n &:last-child {\n margin-bottom: 0;\n }\n\n &:not(.headline):hover {\n cursor: pointer;\n color: red;\n }\n\n em {\n float: right;\n font-style: normal;\n margin-left: 10px;\n font-size: 80%;\n line-height: 31px;\n }\n }\n\n .headline {\n padding: 5px 10px;\n text-align: center;\n font-weight: bold;\n background: linear-gradient(\n to right,\n $demon 0%,\n rgba(0, 0, 0, 0.5) 20%,\n rgba(0, 0, 0, 0.5) 80%,\n $townsfolk 100%\n );\n }\n }\n }\n}\n\n// Editions\n@each $img, $skipIcons in $editions {\n .edition-#{$img} {\n background-image: url(\"./assets/editions/#{$img}.png\");\n }\n @if $skipIcons != true {\n .edition-#{$img}.townsfolk {\n background-image: url(\"./assets/editions/#{$img}-townsfolk.png\");\n }\n .edition-#{$img}.outsider {\n background-image: url(\"./assets/editions/#{$img}-outsider.png\");\n }\n .edition-#{$img}.minion {\n background-image: url(\"./assets/editions/#{$img}-minion.png\");\n }\n .edition-#{$img}.demon {\n background-image: url(\"./assets/editions/#{$img}-demon.png\");\n }\n }\n}\n\nul.editions .edition {\n text-align: center;\n padding-top: 100px;\n background-position: center center;\n background-size: 100% auto;\n background-repeat: no-repeat;\n width: 200px;\n margin: 5px;\n font-size: 120%;\n font-weight: bold;\n text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000,\n 1px 1px 0 #000, 0 0 5px rgba(0, 0, 0, 0.75);\n cursor: pointer;\n &:hover {\n color: red;\n }\n}\n\n// Buttons\n.button-group {\n display: flex;\n align-items: center;\n justify-content: center;\n align-content: center;\n .button {\n margin: 5px 0;\n border-radius: 0;\n &:first-child {\n border-top-left-radius: 15px;\n border-bottom-left-radius: 15px;\n }\n &:last-child {\n border-top-right-radius: 15px;\n border-bottom-right-radius: 15px;\n }\n }\n}\n.button {\n padding: 0;\n border: solid 0.125em transparent;\n border-radius: 15px;\n box-shadow: inset 0 1px 1px #9c9c9c, 0 0 10px #000;\n background: radial-gradient(\n at 0 -15%,\n rgba(#fff, 0.07) 70%,\n rgba(#fff, 0) 71%\n )\n 0 0/ 80% 90% no-repeat content-box,\n linear-gradient(#4e4e4e, #040404) content-box,\n linear-gradient(#292929, #010101) border-box;\n color: white;\n font-weight: bold;\n text-shadow: 1px 1px rgba(0, 0, 0, 0.5);\n line-height: 40px;\n margin: 5px auto;\n font-size: 1em;\n cursor: pointer;\n transition: all 200ms;\n &:hover {\n color: red;\n }\n &.disabled {\n color: gray;\n cursor: default;\n }\n &:before,\n &:after {\n content: \" \";\n display: inline-block;\n width: 10px;\n height: 10px;\n }\n}\n</style>\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=0df37cf6&\"\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=scss&\"\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","import Vue from \"vue\";\nimport App from \"./App\";\nimport { library } from \"@fortawesome/fontawesome-svg-core\";\nimport {\n faBookOpen,\n faCamera,\n faCog,\n faHeartbeat,\n faSearchMinus,\n faSearchPlus,\n faTheaterMasks,\n faTimesCircle,\n faUser,\n faUserFriends,\n faUsers,\n faVoteYea,\n faCheckSquare,\n faSquare\n} from \"@fortawesome/free-solid-svg-icons\";\nimport { FontAwesomeIcon } from \"@fortawesome/vue-fontawesome\";\n\nlibrary.add(\n faBookOpen,\n faCamera,\n faCog,\n faHeartbeat,\n faSearchMinus,\n faSearchPlus,\n faTheaterMasks,\n faTimesCircle,\n faUser,\n faUserFriends,\n faUsers,\n faVoteYea,\n faCheckSquare,\n faSquare\n);\n\nVue.component(\"font-awesome-icon\", FontAwesomeIcon);\n\nVue.config.productionTip = false;\n\nnew Vue({\n render: h => h(App)\n}).$mount(\"#app\");\n","module.exports = __webpack_public_path__ + \"img/cannibal.e2bfb541.png\";","import mod from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=scss&\"","module.exports = __webpack_public_path__ + \"img/goblin.7ebbd9ad.png\";","module.exports = __webpack_public_path__ + \"img/x.fbca4d75.png\";","var map = {\n\t\"./amnesiac.png\": \"043b\",\n\t\"./apprentice.png\": \"4bea\",\n\t\"./artist.png\": \"2cd0\",\n\t\"./assassin.png\": \"9187\",\n\t\"./balloonist.png\": \"65db\",\n\t\"./barber.png\": \"fcc6\",\n\t\"./barista.png\": \"027a\",\n\t\"./baron.png\": \"24d3\",\n\t\"./beggar.png\": \"cfcc\",\n\t\"./bishop.png\": \"8030\",\n\t\"./bonecollector.png\": \"23b1\",\n\t\"./bureaucrat.png\": \"25f6\",\n\t\"./butcher.png\": \"37dd\",\n\t\"./butler.png\": \"64fe\",\n\t\"./cannibal.png\": \"5bd9\",\n\t\"./cerenovus.png\": \"0436\",\n\t\"./chambermaid.png\": \"125e\",\n\t\"./chef.png\": \"1e83\",\n\t\"./clockmaker.png\": \"f93f\",\n\t\"./courtier.png\": \"ee02\",\n\t\"./deviant.png\": \"3b65\",\n\t\"./devilsadvocate.png\": \"cd8b\",\n\t\"./dreamer.png\": \"71b8\",\n\t\"./drunk.png\": \"d97d\",\n\t\"./empath.png\": \"bb7a\",\n\t\"./evil.png\": \"c24f\",\n\t\"./eviltwin.png\": \"e014\",\n\t\"./exorcist.png\": \"5072\",\n\t\"./fanggu.png\": \"6ac0\",\n\t\"./fisherman.png\": \"c5db\",\n\t\"./flowergirl.png\": \"66ae\",\n\t\"./fool.png\": \"4720\",\n\t\"./fortuneteller.png\": \"43e8\",\n\t\"./gambler.png\": \"dce6\",\n\t\"./goblin.png\": \"5c8e\",\n\t\"./godfather.png\": \"99d0\",\n\t\"./good.png\": \"667e\",\n\t\"./goon.png\": \"55aa\",\n\t\"./gossip.png\": \"cadc\",\n\t\"./grandmother.png\": \"c9f5\",\n\t\"./gunslinger.png\": \"ee92\",\n\t\"./harlot.png\": \"559e\",\n\t\"./imp.png\": \"3e70\",\n\t\"./innkeeper.png\": \"663c\",\n\t\"./investigator.png\": \"b570\",\n\t\"./judge.png\": \"f09b\",\n\t\"./juggler.png\": \"65ab\",\n\t\"./klutz.png\": \"adfc\",\n\t\"./leviathan.png\": \"2b04\",\n\t\"./librarian.png\": \"4d73\",\n\t\"./lunatic.png\": \"0b61\",\n\t\"./mastermind.png\": \"f834\",\n\t\"./mathematician.png\": \"8888\",\n\t\"./matron.png\": \"b1cb\",\n\t\"./mayor.png\": \"b223\",\n\t\"./minstrel.png\": \"4efd\",\n\t\"./monk.png\": \"6741\",\n\t\"./moonchild.png\": \"3f65\",\n\t\"./mutant.png\": \"17ad\",\n\t\"./nodashii.png\": \"68a4\",\n\t\"./oracle.png\": \"0c12\",\n\t\"./pacifist.png\": \"fff1\",\n\t\"./philosopher.png\": \"3603\",\n\t\"./pithag.png\": \"7f07\",\n\t\"./plus.png\": \"160b\",\n\t\"./po.png\": \"c73a\",\n\t\"./poisoner.png\": \"f282\",\n\t\"./professor.png\": \"b30c\",\n\t\"./pukka.png\": \"a6a2\",\n\t\"./ravenkeeper.png\": \"0c59\",\n\t\"./recluse.png\": \"177d\",\n\t\"./sage.png\": \"30b6\",\n\t\"./sailor.png\": \"223c\",\n\t\"./saint.png\": \"6936\",\n\t\"./savant.png\": \"d715\",\n\t\"./scapegoat.png\": \"327a\",\n\t\"./scarletwoman.png\": \"f322\",\n\t\"./seamstress.png\": \"ac7c\",\n\t\"./shabaloth.png\": \"0b29\",\n\t\"./slayer.png\": \"d62b\",\n\t\"./snakecharmer.png\": \"4021\",\n\t\"./soldier.png\": \"4e76\",\n\t\"./spy.png\": \"ec1e\",\n\t\"./sweetheart.png\": \"f1e5\",\n\t\"./tealady.png\": \"ba9b\",\n\t\"./thief.png\": \"9ce3\",\n\t\"./tinker.png\": \"9f7e\",\n\t\"./towncrier.png\": \"38a5\",\n\t\"./undertaker.png\": \"0e20\",\n\t\"./vigormortis.png\": \"f4bd\",\n\t\"./virgin.png\": \"eff4\",\n\t\"./vortox.png\": \"3a43\",\n\t\"./voudon.png\": \"a710\",\n\t\"./washerwoman.png\": \"013f\",\n\t\"./widow.png\": \"22c9\",\n\t\"./witch.png\": \"f558\",\n\t\"./x.png\": \"5cf2\",\n\t\"./zombuul.png\": \"20ca\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"61b0\";","module.exports = __webpack_public_path__ + \"img/butler.3763fa3d.png\";","module.exports = __webpack_public_path__ + \"img/juggler.7cc6d089.png\";","module.exports = __webpack_public_path__ + \"img/balloonist.3d6e31f8.png\";","module.exports = __webpack_public_path__ + \"img/innkeeper.8b0b87f1.png\";","module.exports = __webpack_public_path__ + \"img/good.9b3436c8.png\";","module.exports = __webpack_public_path__ + \"img/flowergirl.4ee69cb5.png\";","module.exports = __webpack_public_path__ + \"img/monk.a6f2667a.png\";","module.exports = __webpack_public_path__ + \"img/nodashii.5c943357.png\";","module.exports = __webpack_public_path__ + \"img/saint.f81db252.png\";","module.exports = __webpack_public_path__ + \"img/fanggu.cb4e346c.png\";","module.exports = __webpack_public_path__ + \"img/dreamer.ab7f2328.png\";","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Player.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Player.vue?vue&type=style&index=0&lang=scss&\"","module.exports = __webpack_public_path__ + \"img/pithag.adc1ce12.png\";","module.exports = __webpack_public_path__ + \"img/bishop.dec14fdc.png\";","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RoleSelectionModal.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RoleSelectionModal.vue?vue&type=style&index=0&lang=scss&\"","module.exports = __webpack_public_path__ + \"img/mathematician.31142ad1.png\";","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TownInfo.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TownInfo.vue?vue&type=style&index=0&lang=scss&\"","module.exports = __webpack_public_path__ + \"img/assassin.db54a5ff.png\";","module.exports = __webpack_public_path__ + \"img/godfather.2febcd81.png\";","module.exports = __webpack_public_path__ + \"img/thief.60ce8845.png\";","module.exports = __webpack_public_path__ + \"img/tinker.669b5612.png\";","module.exports = __webpack_public_path__ + \"img/pukka.cbbc2d26.png\";","module.exports = __webpack_public_path__ + \"img/voudon.2b1f0492.png\";","module.exports = __webpack_public_path__ + \"img/seamstress.05f0eb74.png\";","module.exports = __webpack_public_path__ + \"img/klutz.c7e784cd.png\";","module.exports = __webpack_public_path__ + \"img/matron.ffb17746.png\";","module.exports = __webpack_public_path__ + \"img/mayor.98dda8d8.png\";","module.exports = __webpack_public_path__ + \"img/professor.8a5ccf04.png\";","module.exports = __webpack_public_path__ + \"img/investigator.13194f19.png\";","module.exports = __webpack_public_path__ + \"img/tealady.2d47353e.png\";","module.exports = __webpack_public_path__ + \"img/empath.d7a89ed7.png\";","module.exports = __webpack_public_path__ + \"img/evil.908a2622.png\";","module.exports = __webpack_public_path__ + \"img/fisherman.9077de7e.png\";","module.exports = __webpack_public_path__ + \"img/po.4c484011.png\";","module.exports = __webpack_public_path__ + \"img/grandmother.16001541.png\";","module.exports = __webpack_public_path__ + \"img/gossip.dd8d7312.png\";","module.exports = __webpack_public_path__ + \"img/devilsadvocate.e455fea0.png\";","module.exports = __webpack_public_path__ + \"img/beggar.b7a4fbda.png\";","module.exports = __webpack_public_path__ + \"img/slayer.0859544b.png\";","module.exports = __webpack_public_path__ + \"img/savant.16bfbc30.png\";","module.exports = __webpack_public_path__ + \"img/drunk.4883c5a1.png\";","module.exports = __webpack_public_path__ + \"img/gambler.000b4b9b.png\";","module.exports = __webpack_public_path__ + \"img/eviltwin.06a5a8b8.png\";","module.exports = __webpack_public_path__ + \"img/spy.b739966f.png\";","module.exports = __webpack_public_path__ + \"img/courtier.345180fb.png\";","module.exports = __webpack_public_path__ + \"img/gunslinger.9f84c9f2.png\";","module.exports = __webpack_public_path__ + \"img/virgin.eaf181e8.png\";","module.exports = __webpack_public_path__ + \"img/judge.79ec3877.png\";","module.exports = __webpack_public_path__ + \"img/sweetheart.ec1cef03.png\";","module.exports = __webpack_public_path__ + \"img/poisoner.44c80b94.png\";","module.exports = __webpack_public_path__ + \"img/scarletwoman.d2cdaffd.png\";","module.exports = __webpack_public_path__ + \"img/vigormortis.7716a80d.png\";","module.exports = __webpack_public_path__ + \"img/witch.2f895245.png\";","module.exports = __webpack_public_path__ + \"img/mastermind.c3ba5fbb.png\";","module.exports = __webpack_public_path__ + \"img/clockmaker.41906ffc.png\";","module.exports = __webpack_public_path__ + \"img/barber.a354ad9e.png\";","module.exports = __webpack_public_path__ + \"img/pacifist.ad2d0310.png\";"],"sourceRoot":""}