uhr/dist/lib/layout_es.js.map
Manuel Friedli ac7cb66bd0
Some checks failed
continuous-integration/drone/push Build is failing
Refine linting rules.
2019-05-10 14:32:39 +02:00

1 line
No EOL
9.9 KiB
Text

{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/layout/layout-es.ts"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","__webpack_exports__","LayoutEs","sonLas","1","y","7","menos","cinco","9","diez","8","cuarto","10","veinte","veinticinco","code","getHour","time","hour","getHours","getMinutes","hours","0,12","1,13","2,14","2","3,15","4,16","3","5,17","6,18","4","7,19","8,20","5","9,21","10,22","6","11,23","letters","minutes","5,6,7,8,9","10,11,12,13,14","15,16,17,18,19","20,21,22,23,24","25,26,27,28,29","30,31,32,33,34","35,36,37,38,39","40,41,42,43,44","45,46,47,48,49","50,51,52,53,54","55,56,57,58,59","permanent","prettyName","version","$","fritteli","uhr","register"],"mappings":"aACA,IAAAA,EAAA,GAGA,SAAAC,EAAAC,GAGA,GAAAF,EAAAE,GACA,OAAAF,EAAAE,GAAAC,QAGA,IAAAC,EAAAJ,EAAAE,GAAA,CACAG,EAAAH,EACAI,GAAA,EACAH,QAAA,IAUA,OANAI,EAAAL,GAAAM,KAAAJ,EAAAD,QAAAC,IAAAD,QAAAF,GAGAG,EAAAE,GAAA,EAGAF,EAAAD,QAKAF,EAAAQ,EAAAF,EAGAN,EAAAS,EAAAV,EAGAC,EAAAU,EAAA,SAAAR,EAAAS,EAAAC,GACAZ,EAAAa,EAAAX,EAAAS,IACAG,OAAAC,eAAAb,EAAAS,EAAA,CAA0CK,YAAA,EAAAC,IAAAL,KAK1CZ,EAAAkB,EAAA,SAAAhB,GACA,oBAAAiB,eAAAC,aACAN,OAAAC,eAAAb,EAAAiB,OAAAC,YAAA,CAAwDC,MAAA,WAExDP,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BiC,iBAAkB,CAACxC,EAAGS,GACtBgC,iBAAkB,CAACzC,EAAGU,GACtBgC,iBAAkB,CAAC1C,EAjDG,CAACQ,GAAI,CAAC,EAAG,EAAG,EAAG,EAAG,KAkDxCmC,iBAAkB,CAACzC,EAAOQ,GAC1BkC,iBAAkB,CAAC1C,EAAOO,GAC1BoC,iBAAkB,CAAC3C,EAAOK,GAC1BuC,iBAAkB,CAAC5C,EAAOG,GAC1B0C,iBAAkB,CAAC7C,EAAOC,IAE9B6C,UAAW,KACXC,WAAY,UACZC,QAAS,GAgBbC,EAAEC,SAASC,IAAIC,SAASzD","file":"lib/layout_es.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\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 = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 7);\n","/*\n This program is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation, either version 3 of the License, or\n (at your option) any later version.\n\n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n\n You should have received a copy of the GNU General Public License\n along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nimport {Layout, WordDefinition} from '../domain/layout';\n\nconst esLa: WordDefinition = {1: [1, 2, 6, 7]};\nconst sonLas: WordDefinition = {1: [2, 3, 4, 6, 7, 8]};\nconst y: WordDefinition = {7: [6]};\nconst menos: WordDefinition = {7: [7, 8, 9, 10, 11]};\nconst media: WordDefinition = {10: [1, 2, 3, 4, 5]};\nconst cinco: WordDefinition = {9: [7, 8, 9, 10, 11]};\nconst diez: WordDefinition = {8: [8, 9, 10, 11]};\nconst cuarto: WordDefinition = {10: [6, 7, 8, 9, 10, 11]};\nconst veinte: WordDefinition = {8: [2, 3, 4, 5, 6, 7]};\nconst veinticinco: WordDefinition = {9: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]};\n\nexport const LayoutEs: Layout = {\n code: 'es',\n getHour: (time: Date): number => {\n const hour = time.getHours();\n if (time.getMinutes() >= 35) {\n return (hour + 1) % 24;\n }\n return hour;\n },\n\n hours: {\n '0,12': [sonLas, {7: [1, 2, 3, 4]}],\n '1,13': [esLa, {1: [9, 10, 11]}],\n '2,14': [sonLas, {2: [1, 2, 3]}],\n '3,15': [sonLas, {2: [5, 6, 7, 8]}],\n '4,16': [sonLas, {3: [1, 2, 3, 4, 5, 6]}],\n '5,17': [sonLas, {3: [7, 8, 9, 10, 11]}],\n '6,18': [sonLas, {4: [1, 2, 3, 4]}],\n '7,19': [sonLas, {4: [6, 7, 8, 9, 10]}],\n '8,20': [sonLas, {5: [1, 2, 3, 4]}],\n '9,21': [sonLas, {5: [5, 6, 7, 8, 9]}],\n '10,22': [sonLas, {6: [3, 4, 5, 6]}],\n '11,23': [sonLas, {6: [8, 9, 10, 11]}]\n },\n letters: [\n 'ESONELASUNA',\n 'DOSITRESORE',\n 'CUATROCINCO',\n 'SEISASIETEN',\n 'OCHONUEVEYO',\n 'LADIEZSONCE',\n 'DOCELYMENOS',\n 'OVEINTEDIEZ',\n 'VEINTICINCO',\n 'MEDIACUARTO'\n ],\n minutes: {\n '5,6,7,8,9': [y, cinco],\n '10,11,12,13,14': [y, diez],\n '15,16,17,18,19': [y, cuarto],\n '20,21,22,23,24': [y, veinte],\n '25,26,27,28,29': [y, veinticinco],\n '30,31,32,33,34': [y, media],\n '35,36,37,38,39': [menos, veinticinco],\n '40,41,42,43,44': [menos, veinte],\n '45,46,47,48,49': [menos, cuarto],\n '50,51,52,53,54': [menos, diez],\n '55,56,57,58,59': [menos, cinco]\n },\n permanent: null,\n prettyName: 'Español',\n version: 2\n};\n\ndeclare namespace Fritteli {\n interface Fritteli {\n uhr: Uhr;\n }\n\n interface Uhr {\n register: (layout: Layout) => void;\n }\n}\ndeclare namespace $ {\n const fritteli: Fritteli.Fritteli;\n}\n\n$.fritteli.uhr.register(LayoutEs);\n"],"sourceRoot":""}