├── .vscode └── settings.json ├── images ├── gif.gif ├── icon.png ├── banner.png ├── github-dark.png └── github-light.png ├── css ├── style.css.map ├── style.scss ├── style.css └── vue-simple-markdown.css ├── .github └── FUNDING.yml ├── LICENSE ├── README.md ├── js ├── translator.js ├── script.js └── vue.js ├── i18n ├── en.json └── es.json └── index.html /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "editor.formatOnSaveMode": "modifications" 3 | } -------------------------------------------------------------------------------- /images/gif.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arturssmirnovs/github-profile-readme-generator/HEAD/images/gif.gif -------------------------------------------------------------------------------- /images/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arturssmirnovs/github-profile-readme-generator/HEAD/images/icon.png -------------------------------------------------------------------------------- /images/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arturssmirnovs/github-profile-readme-generator/HEAD/images/banner.png -------------------------------------------------------------------------------- /images/github-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arturssmirnovs/github-profile-readme-generator/HEAD/images/github-dark.png -------------------------------------------------------------------------------- /images/github-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arturssmirnovs/github-profile-readme-generator/HEAD/images/github-light.png -------------------------------------------------------------------------------- /css/style.css.map: -------------------------------------------------------------------------------- 1 | { 2 | "version": 3, 3 | "mappings": "AACE,oBAAS;EACP,UAAU,EAAE,KAAK;AAEnB,eAAI;EACF,SAAS,EAAE,IAAI;;AAGnB,UAAW;EACT,UAAU,EAAE,IAAI;EAChB,OAAO,EAAE,SAAS;EAClB,aAAG;IACD,WAAW,EAAE,IAAI;;AAGrB,KAAM;EACJ,WAAW,EAAE,IAAI;EACjB,aAAa,EAAE,IAAI;;AAErB,UAAW;EACT,MAAM,EAAE,8BAA0B;EAClC,aAAa,EAAE,MAAM;;AAEvB,IAAK;EACH,WAAW,EAAE,IAAI;EACjB,OAAG;IACD,cAAc,EAAE,SAAS;IACzB,aAAa,EAAE,IAAI;;AAGvB,MAAO;EACL,gBAAgB,EAAE,OAAO;EACzB,UAAU,EAAE,MAAM;EAClB,WAAW,EAAE,IAAI;EACjB,cAAc,EAAE,IAAI;EACpB,UAAU,EAAE,IAAI;EAChB,KAAK,EAAE,IAAI;;AAGb,QAAS;EACP,aAAa,EAAE,MAAM;;AAGvB,aAAc;EACZ,KAAK,EAAE,IAAI", 4 | "sources": ["style.scss"], 5 | "names": [], 6 | "file": "style.css" 7 | } -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] 4 | patreon: # Replace with a single Patreon username 5 | open_collective: # Replace with a single Open Collective username 6 | ko_fi: arturssmirnovs 7 | tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel 8 | community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry 9 | liberapay: # Replace with a single Liberapay username 10 | issuehunt: # Replace with a single IssueHunt username 11 | otechie: # Replace with a single Otechie username 12 | custom: ['https://www.buymeacoffee.com/arturssmirnovs', 'https://www.paypal.com/paypalme/arturs911'] 13 | -------------------------------------------------------------------------------- /css/style.scss: -------------------------------------------------------------------------------- 1 | app-sidebar { 2 | textarea { 3 | min-height: 290px; 4 | } 5 | img { 6 | max-width: 100%; 7 | } 8 | } 9 | .jumbotron { 10 | margin-top: 3rem; 11 | padding: 2rem 2rem; 12 | h1 { 13 | font-weight: bold; 14 | } 15 | } 16 | label { 17 | font-weight: bold; 18 | margin-bottom: 10px; 19 | } 20 | .nav-pills { 21 | border: 1px solid rgba(0,0,0,.125); 22 | border-radius: .25rem; 23 | } 24 | .tab { 25 | padding-top: 30px; 26 | h3 { 27 | text-transform: uppercase; 28 | margin-bottom: 20px; 29 | } 30 | } 31 | footer { 32 | background-color: #e9ecef; 33 | text-align: center; 34 | padding-top: 25px; 35 | padding-bottom: 20px; 36 | margin-top: 50px; 37 | color: #000; 38 | } 39 | 40 | footer p { 41 | margin-bottom: .25rem; 42 | } 43 | 44 | .example-icon { 45 | width: 20px; 46 | } -------------------------------------------------------------------------------- /css/style.css: -------------------------------------------------------------------------------- 1 | app-sidebar textarea { 2 | min-height: 290px; } 3 | app-sidebar img { 4 | max-width: 100%; } 5 | 6 | .jumbotron { 7 | margin-top: 3rem; 8 | padding: 2rem 2rem; } 9 | .jumbotron h1 { 10 | font-weight: bold; } 11 | 12 | label { 13 | font-weight: bold; 14 | margin-bottom: 10px; } 15 | 16 | .nav-pills { 17 | border: 1px solid rgba(0, 0, 0, 0.125); 18 | border-radius: .25rem; } 19 | 20 | .tab { 21 | padding-top: 30px; } 22 | .tab h3 { 23 | text-transform: uppercase; 24 | margin-bottom: 20px; } 25 | 26 | footer { 27 | background-color: #e9ecef; 28 | text-align: center; 29 | padding-top: 25px; 30 | padding-bottom: 20px; 31 | margin-top: 50px; 32 | color: #000; } 33 | 34 | footer p { 35 | margin-bottom: .25rem; } 36 | 37 | .example-icon { 38 | width: 20px; } 39 | 40 | /*# sourceMappingURL=style.css.map */ 41 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020 Arturs Smirnovs 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Github Readme Generator 2 | ### Hi there 👋. 3 | 4 | ⭐⭐⭐ [Check out this tool here.](https://arturssmirnovs.github.io/github-profile-readme-generator/) 5 | 6 | ![Github Readme Generator](https://arturssmirnovs.github.io/github-profile-readme-generator/images/banner.png) 7 | 8 | This project allows you to easily create attractive and simple GitHub Readme files that you can copy/paste in your profile. It's currently available in English and Spanish. 9 | 10 | You can include things like headers, subtitles, skills, a banner image, additional information, social media links, badges and GitHub statistics. 11 | 12 | 13 | ### Instructions 14 | 15 | - Go to: https://arturssmirnovs.github.io/github-profile-readme-generator/ 16 | - Fill any inputs you like 17 | - Copy the code generated in the Code section 18 | - Create a new repository in your GitHub account with the same name as your GitHub username 19 | - Add a readme.md file to your new repository 20 | - Paste the copied code into the readme file and save 21 | - Enjoy! 22 | 23 | ### Preview 24 | 25 | ![Github readme generator](https://arturssmirnovs.github.io/github-profile-readme-generator/images/gif.gif?v=123) 26 | 27 | ### Top Contributors 28 | 29 | [@arturssmirnovs](https://github.com/arturssmirnovs) 30 | [@max-programming](https://github.com/max-programming) 31 | [@fx2000](https://github.com/fx2000) 32 | [@DenverCoder1](https://github.com/DenverCoder1) 33 | 34 | 35 | #### Resources Used 36 | 37 | | Name | Repository Link | 38 | | ---------------------------------|--------------------------------------------------------------- | 39 | | _Github Readme Stats_ | https://github.com/anuraghazra/github-readme-stats | 40 | | _Github Profile Views Counter_ | https://github.com/arturssmirnovs/github-profile-views-counter | 41 | | _Github Profile Trophy_ | https://github.com/ryo-ma/github-profile-trophy | 42 | | _Github Readme Streak Stats_ | https://github.com/DenverCoder1/github-readme-streak-stats | 43 | | _Github Readme Activity Graph_ | https://github.com/Ashutosh00710/github-readme-activity-graph | 44 | | _Simple icons_ | https://github.com/simple-icons/simple-icons | 45 | | _Simple Translator_ | https://github.com/andreasremdt/simple-translator | 46 | -------------------------------------------------------------------------------- /js/translator.js: -------------------------------------------------------------------------------- 1 | class Translator { 2 | constructor(options = {}) { 3 | this._options = Object.assign({}, this.defaultConfig, options); 4 | this._elements = document.querySelectorAll("[data-i18n]"); 5 | this._cache = new Map(); 6 | this.translations = {}; 7 | 8 | if (this._options.detectLanguage) { 9 | this._options.defaultLanguage = this._detectLanguage(); 10 | } 11 | 12 | if (this._options.defaultLanguage && typeof this._options.defaultLanguage == "string") { 13 | this._getResource(this._options.defaultLanguage); 14 | } 15 | } 16 | 17 | _detectLanguage() { 18 | var stored = localStorage.getItem("language"); 19 | 20 | if (this._options.persist && stored) { 21 | return stored; 22 | } 23 | 24 | var lang = navigator.languages ? navigator.languages[0] : navigator.language; 25 | return lang.substr(0, 2); 26 | } 27 | 28 | _fetch(path) { 29 | return fetch(path) 30 | .then(response => response.json()) 31 | .catch(() => { 32 | console.error( 33 | `Could not load ${path}. Please make sure that the file exists.` 34 | ); 35 | }); 36 | } 37 | 38 | async _getResource(lang) { 39 | if (this._cache.has(lang)) { 40 | this.translations = JSON.parse(this._cache.get(lang)); 41 | return JSON.parse(this._cache.get(lang)); 42 | } 43 | 44 | var translation = await this._fetch( 45 | `${this._options.filesLocation}/${lang}.json` 46 | ); 47 | 48 | if (!this._cache.has(lang)) { 49 | this._cache.set(lang, JSON.stringify(translation)); 50 | } 51 | 52 | this.translations = translation; 53 | 54 | return translation; 55 | } 56 | 57 | async load(lang) { 58 | if (!this._options.languages.includes(lang)) { 59 | return; 60 | } 61 | 62 | this._translate(await this._getResource(lang)); 63 | document.documentElement.lang = lang; 64 | 65 | if (this._options.persist) { 66 | localStorage.setItem("language", lang); 67 | } 68 | } 69 | 70 | async getTranslationByKey(lang, key) { 71 | if (!key) throw new Error("Expected a key to translate, got nothing."); 72 | 73 | if (typeof key != "string") 74 | throw new Error( 75 | `Expected a string for the key parameter, got ${typeof key} instead.` 76 | ); 77 | 78 | var translation = await this._getResource(lang); 79 | return this._getValueFromJSON(key, translation, true); 80 | } 81 | 82 | _getValueFromJSON(key, json, fallback) { 83 | var text = key.split(".").reduce((obj, i) => obj[i], json); 84 | 85 | if (!text && this._options.defaultLanguage && fallback) { 86 | let fallbackTranslation = JSON.parse( 87 | this._cache.get(this._options.defaultLanguage) 88 | ); 89 | text = this._getValueFromJSON(key, fallbackTranslation, false); 90 | } else if (!text) { 91 | text = key; 92 | console.warn(`Could not find text for attribute "${key}".`); 93 | } 94 | 95 | return text; 96 | } 97 | 98 | _translate(translation) { 99 | var zip = (keys, values) => keys.map((key, i) => [key, values[i]]); 100 | var nullSafeSplit = (str, separator) => (str ? str.split(separator) : null); 101 | 102 | var replace = element => { 103 | var keys = nullSafeSplit(element.getAttribute("data-i18n"), " ") || []; 104 | var properties = nullSafeSplit(element.getAttribute("data-i18n-attr"), " ") || ["innerHTML"]; 105 | if (keys.length > 0 && keys.length !== properties.length) { 106 | console.error( 107 | "data-i18n and data-i18n-attr must contain the same number of items" 108 | ); 109 | } else { 110 | var pairs = zip(keys, properties); 111 | pairs.forEach(pair => { 112 | const [key, property] = pair; 113 | var text = this._getValueFromJSON(key, translation, true); 114 | 115 | if (text) { 116 | element[property] = text; 117 | element.setAttribute(property, text); 118 | } else { 119 | console.error(`Could not find text for attribute "${key}".`); 120 | } 121 | }); 122 | } 123 | }; 124 | this._elements.forEach(replace); 125 | } 126 | 127 | get defaultConfig() { 128 | return { 129 | persist: false, 130 | languages: ["en"], 131 | defaultLanguage: "", 132 | detectLanguage: true, 133 | filesLocation: "/i18n" 134 | }; 135 | } 136 | } -------------------------------------------------------------------------------- /i18n/en.json: -------------------------------------------------------------------------------- 1 | { 2 | "title": "GitHub Profile Readme Generator - by @arturssmirnovs", 3 | "jumbotron": { 4 | "title": "GitHub Profile Readme Generator", 5 | "description": "Super simple GitHub profile Readme generator made with Vue.js, that allows you to create beautiful Readme files that you can copy/paste in your profile.", 6 | "callToAction": "What is a GitHub profile Readme? Check out the repository to learn more.", 7 | "learnButton": "Learn more" 8 | }, 9 | "markdownTips": { 10 | "title": "Markdown Tips:", 11 | "bolden": "To bolden the text, wrap it with two asterisks (*) (**word**)", 12 | "italize": "To italisize the text, wrap it with one asterisk (*) (*word*)", 13 | "strikethrough": "To strikethrough the text, wrap it with two tildes (~) (~~word~~)", 14 | "link": "To make a link, place the link text in brackets and the url in parentheses ([link](http://example.com))", 15 | "icon": "To make an \"example image, place an !, the alt text in brackets, and the url in parentheses (![github](/images/icon.png))", 16 | "learnMore": "Learn more:" 17 | }, 18 | "navbar": { 19 | "header": "Header", 20 | "additional": "Additional", 21 | "spocial": "Social", 22 | "others": "Others" 23 | }, 24 | "header": { 25 | "title": "Header", 26 | "heading": "Heading", 27 | "headingPlaceholder": "Enter text...", 28 | "subtitle": "Subtitle", 29 | "subtitlePlaceholder": "Enter text...", 30 | "aboutMe": "About me", 31 | "aboutMePlaceholder": "Enter text...", 32 | "skills": "Skills", 33 | "skillsPlaceholder": "Enter skills...", 34 | "bannerUrl": "Banner URL", 35 | "bannerUrlPlaceholder": "Enter URL..." 36 | }, 37 | "additional": { 38 | "title": "Additional Information", 39 | "working": "🔭 I’m currently working on...", 40 | "workingPlaceholder": "Enter details...", 41 | "learning": "🌱 I’m currently learning...", 42 | "learningPlaceholder": "Enter details...", 43 | "collaborate": "👯 I want to collaborate on...", 44 | "collaboratePlaceholder": "Enter details...", 45 | "help": "🤔 I’m looking for help with...", 46 | "helpPlaceholder": "Enter details...", 47 | "ask": "💬 Ask me about...", 48 | "askPlaceholder": "Enter details...", 49 | "reach": "📫 How to reach me:", 50 | "reachPlaceholder": "Enter details...", 51 | "pronouns": "😄 Pronouns:", 52 | "pronounsPlaceholder": "Enter details...", 53 | "fun": "⚡ Fun fact:", 54 | "funPlaceholder": "Enter details..." 55 | }, 56 | "social": { 57 | "title": "Social Information", 58 | "github": "GitHub", 59 | "githubPlaceholder": "Enter your username...", 60 | "devto": "Dev.to", 61 | "devtoPlaceholder": "Enter your username...", 62 | "hashnode": "Hashnode", 63 | "hashnodePlaceholder": "Enter your blog URL...", 64 | "linkedin": "LinkedIn", 65 | "linkedinPlaceholder": "Enter your username...", 66 | "facebook": "Facebook", 67 | "facebookPlaceholder": "Enter your username...", 68 | "instagram": "Instagram", 69 | "instagramPlaceholder": "Enter your username...", 70 | "twitter": "Twitter", 71 | "twitterPlaceholder": "Enter your username...", 72 | "codepen": "Codepen", 73 | "codepenPlaceholder": "Enter your username...", 74 | "codeSandbox": "CodeSandbox", 75 | "codeSandboxPlaceholder": "Enter your username...", 76 | "stackOverflow": "Stack Overflow", 77 | "stackOverflowPlaceholder": "Enter your user ID...", 78 | "youtube": "YouTube", 79 | "youtubePlaceholder": "Enter your user ID...", 80 | "twitch": "Twitch", 81 | "twitchPlaceholder": "Enter your username...", 82 | "reddit": "Reddit", 83 | "redditPlaceholder": "Enter your username...", 84 | "website": "Website", 85 | "websitePlaceholder": "Enter URL...", 86 | "others": "Others", 87 | "icon": "Icon", 88 | "link": "Link", 89 | "linkPlaceholder": "Enter URL...", 90 | "addButton": "Add more" 91 | }, 92 | "statistics": { 93 | "title": "Statistics", 94 | "description": "GitHub username required", 95 | "showViews": "Show profile views", 96 | "showLanguages": "Show most used languages", 97 | "showStats": "Show GitHub statistics", 98 | "activityGraph": "Show GitHub Activity Graph", 99 | "includePrivate": "Include private repositories" 100 | }, 101 | "trophies": { 102 | "title": "GitHub Trophies", 103 | "description": "GitHub username required", 104 | "showTrophies": "Show Trophies" 105 | }, 106 | "badges": { 107 | "title": "GitHub Badges", 108 | "arctic": "Arctic Contributor", 109 | "devProgram": "Developer Program", 110 | "starsProgram": "Stars Program", 111 | "sponsor": "Sponsor", 112 | "pro": "GitHub Pro" 113 | }, 114 | "metrics": { 115 | "title": "GitHub Metrics", 116 | "description": "GitHub username required", 117 | "showMetrics": "Show GitHub metrics" 118 | }, 119 | "streak": { 120 | "title": "GitHub Streak Stats", 121 | "description": "GitHub username required", 122 | "showStreak": "Show GitHub Streak Stats" 123 | }, 124 | "preview": "Preview", 125 | "code": { 126 | "title": "👨‍💻 Code", 127 | "copyButton": "Copy" 128 | }, 129 | "markdown": { 130 | "hiThere": "Hi there", 131 | "skills": "Skills", 132 | "working": "I’m currently working on", 133 | "learning": "I’m currently learning", 134 | "collaborate": "I’m looking to collaborate on", 135 | "help": "I’m looking for help with", 136 | "ask": "Ask me about", 137 | "reach": "How to reach me", 138 | "pronouns": "Pronouns", 139 | "fact": "Fun fact" 140 | }, 141 | "warning": "Changing code manually could result in lost of data if you use generation fields again", 142 | "author": "Made with ❤ by @arturssmirnovs." 143 | } 144 | -------------------------------------------------------------------------------- /i18n/es.json: -------------------------------------------------------------------------------- 1 | { 2 | "title": "Generador de Readme para Perfiles GitHub - por @arturssmirnovs", 3 | "jumbotron": { 4 | "title": "Generador de Readme para Perfiles GitHub", 5 | "description": "Generador súper simple de archivos Readme para perfiles de GitHub desarrollado con Vue.js, que te permite crear archivos Readme atractivos que puedes copiar/pegar en tu perfil.", 6 | "callToAction": "¿Qué es un Readme de perfiles GitHub? revisa el repositorio para leer más.", 7 | "learnButton": "Leer más" 8 | }, 9 | "markdownTips": { 10 | "title": "Tips para el marcado:", 11 | "bolden": "Para texto en negrillas, rodéalo con dos asteriscos (*) (**palabra**)", 12 | "italize": "Para texto en itálicas, rodéalo con un asterisco (*) (*palabra*)", 13 | "strikethrough": "Para texto tachado, rodéalo con dos tildes (~) (~~palabra~~)", 14 | "link": "Para crear un enláce, coloca el enlace entre corchétes y paréntesis ([link](http://ejemplo.com))", 15 | "icon": "Para una imágen \"icono, coloca un !, el texto alternativo entre corchetes, y la URL entre paréntesis (![github](/images/icon.png))", 16 | "learnMore": "Leer más:" 17 | }, 18 | "navbar": { 19 | "header": "Cabecera", 20 | "additional": "Adicional", 21 | "spocial": "Social", 22 | "others": "Otros" 23 | }, 24 | "header": { 25 | "title": "Cabecera", 26 | "heading": "Título", 27 | "headingPlaceholder": "Introduce el texto...", 28 | "subtitle": "Subtítulo", 29 | "subtitlePlaceholder": "Introduce el texto...", 30 | "aboutMe": "Acerca de mí", 31 | "aboutMePlaceholder": "Introduce el texto...", 32 | "skills": "Habilidades", 33 | "skillsPlaceholder": "Introduce las habilidades...", 34 | "bannerUrl": "URL del banner", 35 | "bannerUrlPlaceholder": "Introduce una URL..." 36 | }, 37 | "additional": { 38 | "title": "Información Adicional", 39 | "working": "🔭 Estoy trabajando en...", 40 | "workingPlaceholder": "Introduce los detalles...", 41 | "learning": "🌱 Estoy aprendiendo...", 42 | "learningPlaceholder": "Introduce los detalles...", 43 | "collaborate": "👯 Quiero colaborar con...", 44 | "collaboratePlaceholder": "Introduce los detalles...", 45 | "help": "🤔 Necesito ayuda con...", 46 | "helpPlaceholder": "Introduce los detalles...", 47 | "ask": "💬 Preguntame acerca de...", 48 | "askPlaceholder": "Introduce los detalles...", 49 | "reach": "📫 Como contactarme:", 50 | "pronouns": "😄 Pronombres:", 51 | "pronounsPlaceholder": "Introduce los detalles...", 52 | "fun": "⚡ Dato curioso:", 53 | "funPlaceholder": "Introduce los detalles..." 54 | }, 55 | "social": { 56 | "title": "Información Social", 57 | "github": "GitHub", 58 | "githubPlaceholder": "Introduce tu nombre de usuario...", 59 | "devto": "Dev.to", 60 | "devtoPlaceholder": "Introduce tu nombre de usuario...", 61 | "hashnode": "Hashnode", 62 | "hashnodePlaceholder": "Introduce la URL de tu blog...", 63 | "linkedin": "LinkedIn", 64 | "linkedinPlaceholder": "Introduce tu nombre de usuario...", 65 | "facebook": "Facebook", 66 | "facebookPlaceholder": "Introduce tu nombre de usuario...", 67 | "instagram": "Instagram", 68 | "instagramPlaceholder": "Introduce tu nombre de usuario...", 69 | "twitter": "Twitter", 70 | "twitterPlaceholder": "Introduce tu nombre de usuario...", 71 | "codepen": "Codepen", 72 | "codepenPlaceholder": "Introduce tu nombre de usuario...", 73 | "codeSandbox": "CodeSandbox", 74 | "codeSandboxPlaceholder": "Introduce tu nombre de usuario...", 75 | "stackOverflow": "Stack Overflow", 76 | "stackOverflowPlaceholder": "Introduce tu ID de usuario...", 77 | "youtube": "YouTube", 78 | "youtubePlaceholder": "Introduce tu ID de usuario...", 79 | "twitch": "Twitch", 80 | "twitchPlaceholder": "Introduce tu nombre de usuario...", 81 | "reddit": "Reddit", 82 | "redditPlaceholder": "Introduce tu nombre de usuario...", 83 | "website": "Página web", 84 | "websitePlaceholder": "Escribe una URL...", 85 | "others": "Otros", 86 | "icon": "Ícono", 87 | "link": "Enlace", 88 | "linkPlaceholder": "Escribe una URL...", 89 | "addButton": "Agregar más" 90 | }, 91 | "statistics": { 92 | "title": "Estadísticas", 93 | "description": "Nombre de usuario de GitHub requerido", 94 | "showViews": "Mostrar vistas de perfil", 95 | "showLanguages": "Mostrar lenguajes más utilizados", 96 | "showStats": "Mostrar estadísticas de GitHub", 97 | "activityGraph": "Mostrar gráfico de actividad de GitHub", 98 | "includePrivate": "Incluir repositorios privados" 99 | }, 100 | "trophies": { 101 | "title": "Trofeos de GitHub", 102 | "description": "Nombre de usuario de GitHub requerido", 103 | "showTrophies": "Mostrar Trofeos" 104 | }, 105 | "badges": { 106 | "title": "Medallas de GitHub", 107 | "arctic": "Contribuyente de Ártico", 108 | "devProgram": "Programa de Desarrolladores", 109 | "starsProgram": "Programa de Estrellas", 110 | "sponsor": "Patrocinador", 111 | "pro": "GitHub Pro" 112 | }, 113 | "metrics": { 114 | "title": "Métricas de GitHub", 115 | "description": "Nombre de usuario de GitHub requerido", 116 | "showMetrics": "Mostrar métricas de GitHub" 117 | }, 118 | "streak": { 119 | "title": "Racha de GitHub", 120 | "description": "Nombre de usuario de GitHub requerido", 121 | "showStreak": "Mostrar racha de GitHub" 122 | }, 123 | "preview": "Vista previa", 124 | "code": { 125 | "title": "👨‍💻 Código", 126 | "copyButton": "Copiar" 127 | }, 128 | "markdown": { 129 | "hiThere": "Hola", 130 | "skills": "Habilidades", 131 | "working": "Estoy trabajando en", 132 | "learning": "Estoy aprendiendo", 133 | "collaborate": "Quiero colaborar con", 134 | "help": "Necesito ayuda con", 135 | "ask": "Pregúntame acerca de", 136 | "reach": "Cómo contactarme", 137 | "pronouns": "Pronombres", 138 | "fact": "Dato curioso" 139 | }, 140 | "warning": "Cambiar el código manualmente puede resultar en pérdida de datos si se usan los campos generadores nuevamente", 141 | "author": "Hecho con ❤ por @arturssmirnovs." 142 | } 143 | -------------------------------------------------------------------------------- /css/vue-simple-markdown.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * vue-simple-markdown v1.1.4 3 | * (c) 2020 Milan Bačkonja 4 | * Released under the MIT License. 5 | */ 6 | 7 | @font-face { 8 | font-family: octicons-link; 9 | src: url(data:font/woff;charset=utf-8;base64,d09GRgABAAAAAAZwABAAAAAACFQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABEU0lHAAAGaAAAAAgAAAAIAAAAAUdTVUIAAAZcAAAACgAAAAoAAQAAT1MvMgAAAyQAAABJAAAAYFYEU3RjbWFwAAADcAAAAEUAAACAAJThvmN2dCAAAATkAAAABAAAAAQAAAAAZnBnbQAAA7gAAACyAAABCUM+8IhnYXNwAAAGTAAAABAAAAAQABoAI2dseWYAAAFsAAABPAAAAZwcEq9taGVhZAAAAsgAAAA0AAAANgh4a91oaGVhAAADCAAAABoAAAAkCA8DRGhtdHgAAAL8AAAADAAAAAwGAACfbG9jYQAAAsAAAAAIAAAACABiATBtYXhwAAACqAAAABgAAAAgAA8ASm5hbWUAAAToAAABQgAAAlXu73sOcG9zdAAABiwAAAAeAAAAME3QpOBwcmVwAAAEbAAAAHYAAAB/aFGpk3jaTY6xa8JAGMW/O62BDi0tJLYQincXEypYIiGJjSgHniQ6umTsUEyLm5BV6NDBP8Tpts6F0v+k/0an2i+itHDw3v2+9+DBKTzsJNnWJNTgHEy4BgG3EMI9DCEDOGEXzDADU5hBKMIgNPZqoD3SilVaXZCER3/I7AtxEJLtzzuZfI+VVkprxTlXShWKb3TBecG11rwoNlmmn1P2WYcJczl32etSpKnziC7lQyWe1smVPy/Lt7Kc+0vWY/gAgIIEqAN9we0pwKXreiMasxvabDQMM4riO+qxM2ogwDGOZTXxwxDiycQIcoYFBLj5K3EIaSctAq2kTYiw+ymhce7vwM9jSqO8JyVd5RH9gyTt2+J/yUmYlIR0s04n6+7Vm1ozezUeLEaUjhaDSuXHwVRgvLJn1tQ7xiuVv/ocTRF42mNgZGBgYGbwZOBiAAFGJBIMAAizAFoAAABiAGIAznjaY2BkYGAA4in8zwXi+W2+MjCzMIDApSwvXzC97Z4Ig8N/BxYGZgcgl52BCSQKAA3jCV8CAABfAAAAAAQAAEB42mNgZGBg4f3vACQZQABIMjKgAmYAKEgBXgAAeNpjYGY6wTiBgZWBg2kmUxoDA4MPhGZMYzBi1AHygVLYQUCaawqDA4PChxhmh/8ODDEsvAwHgMKMIDnGL0x7gJQCAwMAJd4MFwAAAHjaY2BgYGaA4DAGRgYQkAHyGMF8NgYrIM3JIAGVYYDT+AEjAwuDFpBmA9KMDEwMCh9i/v8H8sH0/4dQc1iAmAkALaUKLgAAAHjaTY9LDsIgEIbtgqHUPpDi3gPoBVyRTmTddOmqTXThEXqrob2gQ1FjwpDvfwCBdmdXC5AVKFu3e5MfNFJ29KTQT48Ob9/lqYwOGZxeUelN2U2R6+cArgtCJpauW7UQBqnFkUsjAY/kOU1cP+DAgvxwn1chZDwUbd6CFimGXwzwF6tPbFIcjEl+vvmM/byA48e6tWrKArm4ZJlCbdsrxksL1AwWn/yBSJKpYbq8AXaaTb8AAHja28jAwOC00ZrBeQNDQOWO//sdBBgYGRiYWYAEELEwMTE4uzo5Zzo5b2BxdnFOcALxNjA6b2ByTswC8jYwg0VlNuoCTWAMqNzMzsoK1rEhNqByEyerg5PMJlYuVueETKcd/89uBpnpvIEVomeHLoMsAAe1Id4AAAAAAAB42oWQT07CQBTGv0JBhagk7HQzKxca2sJCE1hDt4QF+9JOS0nbaaYDCQfwCJ7Au3AHj+LO13FMmm6cl7785vven0kBjHCBhfpYuNa5Ph1c0e2Xu3jEvWG7UdPDLZ4N92nOm+EBXuAbHmIMSRMs+4aUEd4Nd3CHD8NdvOLTsA2GL8M9PODbcL+hD7C1xoaHeLJSEao0FEW14ckxC+TU8TxvsY6X0eLPmRhry2WVioLpkrbp84LLQPGI7c6sOiUzpWIWS5GzlSgUzzLBSikOPFTOXqly7rqx0Z1Q5BAIoZBSFihQYQOOBEdkCOgXTOHA07HAGjGWiIjaPZNW13/+lm6S9FT7rLHFJ6fQbkATOG1j2OFMucKJJsxIVfQORl+9Jyda6Sl1dUYhSCm1dyClfoeDve4qMYdLEbfqHf3O/AdDumsjAAB42mNgYoAAZQYjBmyAGYQZmdhL8zLdDEydARfoAqIAAAABAAMABwAKABMAB///AA8AAQAAAAAAAAAAAAAAAAABAAAAAA==) format('woff'); 10 | } 11 | 12 | .markdown-body { 13 | -ms-text-size-adjust: 100%; 14 | -webkit-text-size-adjust: 100%; 15 | line-height: 1.5; 16 | color: #24292e; 17 | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; 18 | font-size: 16px; 19 | line-height: 1.5; 20 | word-wrap: break-word; 21 | } 22 | 23 | .markdown-body .pl-c { 24 | color: #6a737d; 25 | } 26 | 27 | .markdown-body .pl-c1, 28 | .markdown-body .pl-s .pl-v { 29 | color: #005cc5; 30 | } 31 | 32 | .markdown-body .pl-e, 33 | .markdown-body .pl-en { 34 | color: #6f42c1; 35 | } 36 | 37 | .markdown-body .pl-smi, 38 | .markdown-body .pl-s .pl-s1 { 39 | color: #24292e; 40 | } 41 | 42 | .markdown-body .pl-ent { 43 | color: #22863a; 44 | } 45 | 46 | .markdown-body .pl-k { 47 | color: #d73a49; 48 | } 49 | 50 | .markdown-body .pl-s, 51 | .markdown-body .pl-pds, 52 | .markdown-body .pl-s .pl-pse .pl-s1, 53 | .markdown-body .pl-sr, 54 | .markdown-body .pl-sr .pl-cce, 55 | .markdown-body .pl-sr .pl-sre, 56 | .markdown-body .pl-sr .pl-sra { 57 | color: #032f62; 58 | } 59 | 60 | .markdown-body .pl-v, 61 | .markdown-body .pl-smw { 62 | color: #e36209; 63 | } 64 | 65 | .markdown-body .pl-bu { 66 | color: #b31d28; 67 | } 68 | 69 | .markdown-body .pl-ii { 70 | color: #fafbfc; 71 | background-color: #b31d28; 72 | } 73 | 74 | .markdown-body .pl-c2 { 75 | color: #fafbfc; 76 | background-color: #d73a49; 77 | } 78 | 79 | .markdown-body .pl-c2::before { 80 | content: "^M"; 81 | } 82 | 83 | .markdown-body .pl-sr .pl-cce { 84 | font-weight: bold; 85 | color: #22863a; 86 | } 87 | 88 | .markdown-body .pl-ml { 89 | color: #735c0f; 90 | } 91 | 92 | .markdown-body .pl-mh, 93 | .markdown-body .pl-mh .pl-en, 94 | .markdown-body .pl-ms { 95 | font-weight: bold; 96 | color: #005cc5; 97 | } 98 | 99 | .markdown-body .pl-mi { 100 | font-style: italic; 101 | color: #24292e; 102 | } 103 | 104 | .markdown-body .pl-mb { 105 | font-weight: bold; 106 | color: #24292e; 107 | } 108 | 109 | .markdown-body .pl-md { 110 | color: #b31d28; 111 | background-color: #ffeef0; 112 | } 113 | 114 | .markdown-body .pl-mi1 { 115 | color: #22863a; 116 | background-color: #f0fff4; 117 | } 118 | 119 | .markdown-body .pl-mc { 120 | color: #e36209; 121 | background-color: #ffebda; 122 | } 123 | 124 | .markdown-body .pl-mi2 { 125 | color: #f6f8fa; 126 | background-color: #005cc5; 127 | } 128 | 129 | .markdown-body .pl-mdr { 130 | font-weight: bold; 131 | color: #6f42c1; 132 | } 133 | 134 | .markdown-body .pl-ba { 135 | color: #586069; 136 | } 137 | 138 | .markdown-body .pl-sg { 139 | color: #959da5; 140 | } 141 | 142 | .markdown-body .pl-corl { 143 | text-decoration: underline; 144 | color: #032f62; 145 | } 146 | 147 | .markdown-body .octicon { 148 | display: inline-block; 149 | vertical-align: text-top; 150 | fill: currentColor; 151 | } 152 | 153 | .markdown-body a { 154 | background-color: transparent; 155 | } 156 | 157 | .markdown-body a:active, 158 | .markdown-body a:hover { 159 | outline-width: 0; 160 | } 161 | 162 | .markdown-body strong { 163 | font-weight: inherit; 164 | } 165 | 166 | .markdown-body strong { 167 | font-weight: bolder; 168 | } 169 | 170 | .markdown-body h1 { 171 | font-size: 2em; 172 | margin: 0.67em 0; 173 | } 174 | 175 | .markdown-body img { 176 | border-style: none; 177 | } 178 | 179 | .markdown-body code, 180 | .markdown-body kbd, 181 | .markdown-body pre { 182 | font-family: monospace, monospace; 183 | font-size: 1em; 184 | } 185 | 186 | .markdown-body hr { 187 | box-sizing: content-box; 188 | height: 0; 189 | overflow: visible; 190 | } 191 | 192 | .markdown-body input { 193 | font: inherit; 194 | margin: 0; 195 | } 196 | 197 | .markdown-body input { 198 | overflow: visible; 199 | } 200 | 201 | .markdown-body [type="checkbox"] { 202 | box-sizing: border-box; 203 | padding: 0; 204 | } 205 | 206 | .markdown-body * { 207 | box-sizing: border-box; 208 | } 209 | 210 | .markdown-body input { 211 | font-family: inherit; 212 | font-size: inherit; 213 | line-height: inherit; 214 | } 215 | 216 | .markdown-body a { 217 | color: #0366d6; 218 | text-decoration: none; 219 | } 220 | 221 | .markdown-body a:hover { 222 | text-decoration: underline; 223 | } 224 | 225 | .markdown-body strong { 226 | font-weight: 600; 227 | } 228 | 229 | .markdown-body hr { 230 | height: 0; 231 | margin: 15px 0; 232 | overflow: hidden; 233 | background: transparent; 234 | border: 0; 235 | border-bottom: 1px solid #dfe2e5; 236 | } 237 | 238 | .markdown-body hr::before { 239 | display: table; 240 | content: ""; 241 | } 242 | 243 | .markdown-body hr::after { 244 | display: table; 245 | clear: both; 246 | content: ""; 247 | } 248 | 249 | .markdown-body table { 250 | border-spacing: 0; 251 | border-collapse: collapse; 252 | } 253 | 254 | .markdown-body td, 255 | .markdown-body th { 256 | padding: 0; 257 | } 258 | 259 | .markdown-body h1, 260 | .markdown-body h2, 261 | .markdown-body h3, 262 | .markdown-body h4, 263 | .markdown-body h5, 264 | .markdown-body h6 { 265 | margin-top: 0; 266 | margin-bottom: 0; 267 | } 268 | 269 | .markdown-body h1 { 270 | font-size: 32px; 271 | font-weight: 600; 272 | } 273 | 274 | .markdown-body h2 { 275 | font-size: 24px; 276 | font-weight: 600; 277 | } 278 | 279 | .markdown-body h3 { 280 | font-size: 20px; 281 | font-weight: 600; 282 | } 283 | 284 | .markdown-body h4 { 285 | font-size: 16px; 286 | font-weight: 600; 287 | } 288 | 289 | .markdown-body h5 { 290 | font-size: 14px; 291 | font-weight: 600; 292 | } 293 | 294 | .markdown-body h6 { 295 | font-size: 12px; 296 | font-weight: 600; 297 | } 298 | 299 | .markdown-body p { 300 | margin-top: 0; 301 | margin-bottom: 10px; 302 | } 303 | 304 | .markdown-body blockquote { 305 | margin: 0; 306 | } 307 | 308 | .markdown-body ul, 309 | .markdown-body ol { 310 | padding-left: 0; 311 | margin-top: 0; 312 | margin-bottom: 0; 313 | } 314 | 315 | .markdown-body ol ol, 316 | .markdown-body ul ol { 317 | list-style-type: lower-roman; 318 | } 319 | 320 | .markdown-body ul ul ol, 321 | .markdown-body ul ol ol, 322 | .markdown-body ol ul ol, 323 | .markdown-body ol ol ol { 324 | list-style-type: lower-alpha; 325 | } 326 | 327 | .markdown-body dd { 328 | margin-left: 0; 329 | } 330 | 331 | .markdown-body code { 332 | font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace; 333 | font-size: 12px; 334 | } 335 | 336 | .markdown-body pre { 337 | margin-top: 0; 338 | margin-bottom: 0; 339 | font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace; 340 | font-size: 12px; 341 | } 342 | 343 | .markdown-body .octicon { 344 | vertical-align: text-bottom; 345 | } 346 | 347 | .markdown-body .pl-0 { 348 | padding-left: 0 !important; 349 | } 350 | 351 | .markdown-body .pl-1 { 352 | padding-left: 4px !important; 353 | } 354 | 355 | .markdown-body .pl-2 { 356 | padding-left: 8px !important; 357 | } 358 | 359 | .markdown-body .pl-3 { 360 | padding-left: 16px !important; 361 | } 362 | 363 | .markdown-body .pl-4 { 364 | padding-left: 24px !important; 365 | } 366 | 367 | .markdown-body .pl-5 { 368 | padding-left: 32px !important; 369 | } 370 | 371 | .markdown-body .pl-6 { 372 | padding-left: 40px !important; 373 | } 374 | 375 | .markdown-body::before { 376 | display: table; 377 | content: ""; 378 | } 379 | 380 | .markdown-body::after { 381 | display: table; 382 | clear: both; 383 | content: ""; 384 | } 385 | 386 | .markdown-body>*:first-child { 387 | margin-top: 0 !important; 388 | } 389 | 390 | .markdown-body>*:last-child { 391 | margin-bottom: 0 !important; 392 | } 393 | 394 | .markdown-body a:not([href]) { 395 | color: inherit; 396 | text-decoration: none; 397 | } 398 | 399 | .markdown-body .anchor { 400 | float: left; 401 | padding-right: 4px; 402 | margin-left: -20px; 403 | line-height: 1; 404 | } 405 | 406 | .markdown-body .anchor:focus { 407 | outline: none; 408 | } 409 | 410 | .markdown-body p, 411 | .markdown-body blockquote, 412 | .markdown-body ul, 413 | .markdown-body ol, 414 | .markdown-body dl, 415 | .markdown-body table, 416 | .markdown-body pre { 417 | margin-top: 0; 418 | margin-bottom: 16px; 419 | } 420 | 421 | .markdown-body hr { 422 | height: 0.25em; 423 | padding: 0; 424 | margin: 24px 0; 425 | background-color: #e1e4e8; 426 | border: 0; 427 | } 428 | 429 | .markdown-body blockquote { 430 | padding: 0 1em; 431 | color: #6a737d; 432 | border-left: 0.25em solid #dfe2e5; 433 | } 434 | 435 | .markdown-body blockquote>:first-child { 436 | margin-top: 0; 437 | } 438 | 439 | .markdown-body blockquote>:last-child { 440 | margin-bottom: 0; 441 | } 442 | 443 | .markdown-body kbd { 444 | display: inline-block; 445 | padding: 3px 5px; 446 | font-size: 11px; 447 | line-height: 10px; 448 | color: #444d56; 449 | vertical-align: middle; 450 | background-color: #fafbfc; 451 | border: solid 1px #c6cbd1; 452 | border-bottom-color: #959da5; 453 | border-radius: 3px; 454 | box-shadow: inset 0 -1px 0 #959da5; 455 | } 456 | 457 | .markdown-body h1, 458 | .markdown-body h2, 459 | .markdown-body h3, 460 | .markdown-body h4, 461 | .markdown-body h5, 462 | .markdown-body h6 { 463 | margin-top: 24px; 464 | margin-bottom: 16px; 465 | font-weight: 600; 466 | line-height: 1.25; 467 | } 468 | 469 | .markdown-body h1 .octicon-link, 470 | .markdown-body h2 .octicon-link, 471 | .markdown-body h3 .octicon-link, 472 | .markdown-body h4 .octicon-link, 473 | .markdown-body h5 .octicon-link, 474 | .markdown-body h6 .octicon-link { 475 | color: #1b1f23; 476 | vertical-align: middle; 477 | visibility: hidden; 478 | } 479 | 480 | .markdown-body h1:hover .anchor, 481 | .markdown-body h2:hover .anchor, 482 | .markdown-body h3:hover .anchor, 483 | .markdown-body h4:hover .anchor, 484 | .markdown-body h5:hover .anchor, 485 | .markdown-body h6:hover .anchor { 486 | text-decoration: none; 487 | } 488 | 489 | .markdown-body h1:hover .anchor .octicon-link, 490 | .markdown-body h2:hover .anchor .octicon-link, 491 | .markdown-body h3:hover .anchor .octicon-link, 492 | .markdown-body h4:hover .anchor .octicon-link, 493 | .markdown-body h5:hover .anchor .octicon-link, 494 | .markdown-body h6:hover .anchor .octicon-link { 495 | visibility: visible; 496 | } 497 | 498 | .markdown-body h1 { 499 | padding-bottom: 0.3em; 500 | font-size: 2em; 501 | border-bottom: 1px solid #eaecef; 502 | } 503 | 504 | .markdown-body h2 { 505 | padding-bottom: 0.3em; 506 | font-size: 1.5em; 507 | border-bottom: 1px solid #eaecef; 508 | } 509 | 510 | .markdown-body h3 { 511 | font-size: 1.25em; 512 | } 513 | 514 | .markdown-body h4 { 515 | font-size: 1em; 516 | } 517 | 518 | .markdown-body h5 { 519 | font-size: 0.875em; 520 | } 521 | 522 | .markdown-body h6 { 523 | font-size: 0.85em; 524 | color: #6a737d; 525 | } 526 | 527 | .markdown-body ul, 528 | .markdown-body ol { 529 | padding-left: 2em; 530 | } 531 | 532 | .markdown-body ul ul, 533 | .markdown-body ul ol, 534 | .markdown-body ol ol, 535 | .markdown-body ol ul { 536 | margin-top: 0; 537 | margin-bottom: 0; 538 | } 539 | 540 | .markdown-body li { 541 | word-wrap: break-all; 542 | } 543 | 544 | .markdown-body li>p { 545 | margin-top: 16px; 546 | } 547 | 548 | .markdown-body li+li { 549 | margin-top: 0.25em; 550 | } 551 | 552 | .markdown-body dl { 553 | padding: 0; 554 | } 555 | 556 | .markdown-body dl dt { 557 | padding: 0; 558 | margin-top: 16px; 559 | font-size: 1em; 560 | font-style: italic; 561 | font-weight: 600; 562 | } 563 | 564 | .markdown-body dl dd { 565 | padding: 0 16px; 566 | margin-bottom: 16px; 567 | } 568 | 569 | .markdown-body table { 570 | display: block; 571 | width: 100%; 572 | overflow: auto; 573 | } 574 | 575 | .markdown-body table th { 576 | font-weight: 600; 577 | } 578 | 579 | .markdown-body table th, 580 | .markdown-body table td { 581 | padding: 6px 13px; 582 | border: 1px solid #dfe2e5; 583 | } 584 | 585 | .markdown-body table tr { 586 | background-color: #fff; 587 | border-top: 1px solid #c6cbd1; 588 | } 589 | 590 | .markdown-body table tr:nth-child(2n) { 591 | background-color: #f6f8fa; 592 | } 593 | 594 | .markdown-body img { 595 | max-width: 100%; 596 | box-sizing: content-box; 597 | background-color: #fff; 598 | } 599 | 600 | .markdown-body img[align=right] { 601 | padding-left: 20px; 602 | } 603 | 604 | .markdown-body img[align=left] { 605 | padding-right: 20px; 606 | } 607 | 608 | .markdown-body code { 609 | padding: 0.2em 0.4em; 610 | margin: 0; 611 | font-size: 85%; 612 | background-color: rgba(27,31,35,0.05); 613 | border-radius: 3px; 614 | } 615 | 616 | .markdown-body pre { 617 | word-wrap: normal; 618 | } 619 | 620 | .markdown-body pre>code { 621 | padding: 0; 622 | margin: 0; 623 | font-size: 100%; 624 | word-break: normal; 625 | white-space: pre; 626 | background: transparent; 627 | border: 0; 628 | } 629 | 630 | .markdown-body .highlight { 631 | margin-bottom: 16px; 632 | } 633 | 634 | .markdown-body .highlight pre { 635 | margin-bottom: 0; 636 | word-break: normal; 637 | } 638 | 639 | .markdown-body .highlight pre, 640 | .markdown-body pre { 641 | padding: 16px; 642 | overflow: auto; 643 | font-size: 85%; 644 | line-height: 1.45; 645 | background-color: #f6f8fa; 646 | border-radius: 3px; 647 | } 648 | 649 | .markdown-body pre code { 650 | display: inline; 651 | max-width: auto; 652 | padding: 0; 653 | margin: 0; 654 | overflow: visible; 655 | line-height: inherit; 656 | word-wrap: normal; 657 | background-color: transparent; 658 | border: 0; 659 | } 660 | 661 | .markdown-body .full-commit .btn-outline:not(:disabled):hover { 662 | color: #005cc5; 663 | border-color: #005cc5; 664 | } 665 | 666 | .markdown-body kbd { 667 | display: inline-block; 668 | padding: 3px 5px; 669 | font: 11px "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace; 670 | line-height: 10px; 671 | color: #444d56; 672 | vertical-align: middle; 673 | background-color: #fafbfc; 674 | border: solid 1px #d1d5da; 675 | border-bottom-color: #c6cbd1; 676 | border-radius: 3px; 677 | box-shadow: inset 0 -1px 0 #c6cbd1; 678 | } 679 | 680 | .markdown-body :checked+.radio-label { 681 | position: relative; 682 | z-index: 1; 683 | border-color: #0366d6; 684 | } 685 | 686 | .markdown-body .task-list-item { 687 | list-style-type: none; 688 | } 689 | 690 | .markdown-body .task-list-item+.task-list-item { 691 | margin-top: 3px; 692 | } 693 | 694 | .markdown-body .task-list-item input { 695 | margin: 0 0.2em 0.25em -1.6em; 696 | vertical-align: middle; 697 | } 698 | 699 | .markdown-body hr { 700 | border-bottom-color: #eee; 701 | } 702 | 703 | .vue-simple-markdown[data-v-a42b9506] { 704 | white-space: pre-wrap; 705 | } -------------------------------------------------------------------------------- /js/script.js: -------------------------------------------------------------------------------- 1 | Vue.use(VueMarkdown); 2 | 3 | Vue.component('custom-input', { 4 | props: ['value', 'title', 'placeholder', 'brand'], 5 | template: ` 6 |
7 | 11 | 12 |
13 | ` 14 | }) 15 | 16 | Vue.component('brand-logo', { 17 | props: ['brand'], 18 | template: ` 19 |   20 | ` 21 | }) 22 | 23 | Vue.component('theme-option', { 24 | props: ['optionId', 'value', 'label'], 25 | template: ` 26 |
27 | 28 | 29 | 30 |
31 | ` 32 | }) 33 | 34 | new Vue({ 35 | el: '#app', 36 | data: function () { 37 | return { 38 | forced: false, 39 | tab: "header", 40 | data: { 41 | language: "en", 42 | theme: "default", 43 | title: "my name is Arturs", 44 | subtitle: "I am GitHub Readme Generator's creator", 45 | text: "I made this project just for fun, it allows you to create nice and simple GitHub Readme files that you can copy/paste and use in your profile.", 46 | 47 | banner: "https://arturssmirnovs.github.io/github-profile-readme-generator/images/banner.png", 48 | 49 | skills: "VUE JS / REACT / JS / HTML / CSS", 50 | 51 | working: "this page.", 52 | learning: "", 53 | collaborate: "", 54 | help: "", 55 | ask: "", 56 | reach: "", 57 | pronouns: "", 58 | fact: "", 59 | 60 | stats: false, 61 | vauntBadge: false, 62 | metrics: false, 63 | streak: false, 64 | 65 | languages: false, 66 | trophy: false, 67 | 68 | arctic: false, 69 | devprog: false, 70 | pro: false, 71 | star: false, 72 | sponsor: false, 73 | gitpro: false, 74 | 75 | github: "", 76 | dev: "", 77 | hashnode: "", 78 | linkedin: "", 79 | facebook: "", 80 | instagram: "", 81 | twitter: "", 82 | codepen: "", 83 | codesandbox: "", 84 | stackoverflow: "", 85 | youtube: "", 86 | twitch: "", 87 | reddit: "", 88 | website: "", 89 | 90 | items: [], 91 | 92 | translations: "" 93 | }, 94 | source: "", 95 | translator: null 96 | }; 97 | }, 98 | watch: { 99 | data: { 100 | deep: true, 101 | handler() { 102 | this.forced = false; 103 | this.github = this.githubWatcher(this.data.github); 104 | this.source = this.getSource(this.data); 105 | } 106 | } 107 | }, 108 | mounted: function(){ 109 | this.getTranslations(this.data.language).then((translations) => { 110 | this.data.translations = translations; 111 | this.source = this.getSource(this.data); 112 | this.addItem(); 113 | }); 114 | 115 | this.translator = new Translator({ 116 | persist: false, 117 | languages: ["en", "es"], 118 | defaultLanguage: "en", 119 | detectLanguage: true, 120 | filesLocation: "i18n" 121 | }); 122 | this.translator.load(); 123 | }, 124 | methods: { 125 | githubWatcher(github) { 126 | if (!github) { 127 | this.data.stats = false; 128 | this.data.vauntBadge = false; 129 | this.data.private = false; 130 | this.data.metrics = false; 131 | this.data.streak = false; 132 | this.data.languages = false; 133 | this.data.trophy = false; 134 | this.data.arctic = false; 135 | this.data.devprog = false; 136 | this.data.pro = false; 137 | this.data.star = false; 138 | this.data.sponsor = false; 139 | this.data.gitpro = false; 140 | } 141 | 142 | return github; 143 | }, 144 | getTranslations(language) { 145 | return fetch(`i18n/${language}.json`, { 146 | headers: { 147 | 'Content-Type': 'application/json', 148 | 'Accept': 'application/json' 149 | } 150 | }).then(response => response.json()); 151 | }, 152 | addItem() { 153 | this.data.items.push({ 154 | value: '', 155 | icon: '' 156 | }); 157 | }, 158 | switchLanguage() { 159 | this.translator.load(this.data.language).then((translations) => { 160 | this.data.translations = this.translator.translations; 161 | this.source = this.getSource(this.data); 162 | }); 163 | }, 164 | changeTheme() { 165 | console.log('heyyy!') 166 | }, 167 | onKeyUp(event) { 168 | this.forced = true; 169 | }, 170 | slugify(text) { 171 | return text.toString().toLowerCase() 172 | .replace(/\.+/g, '-dot-') 173 | .replace(/\s+/g, '') 174 | .replace(/[^\w\-]+/g, '') 175 | .replace(/\-\-+/g, '') 176 | .replace(/^-+/, '') 177 | .replace(/-+$/, ''); 178 | }, 179 | getSource: function (data) { 180 | let source = ''; 181 | 182 | if (data) { 183 | 184 | if (data.title) { 185 | source += `### ${data.translations.markdown.hiThere} 👋, ${data.title}`; 186 | source += "\n"; 187 | } 188 | if (data.subtitle) { 189 | source += `#### ${data.subtitle}`; 190 | source += "\n"; 191 | } 192 | if (data.banner) { 193 | source += `![${data.subtitle}](${data.banner})`; 194 | source += "\n"; 195 | source += "\n"; 196 | } 197 | if (data.text) { 198 | source += data.text; 199 | source += "\n"; 200 | } 201 | if (data.skills) { 202 | source += "\n"; 203 | source += `${data.translations.markdown.skills}: ${data.skills}`; 204 | source += "\n"; 205 | } 206 | 207 | source += "\n"; 208 | 209 | if (data.working) { 210 | source += `- 🔭 ${data.translations.markdown.working} ${data.working} `; 211 | source += "\n"; 212 | } 213 | if (data.learning) { 214 | source += `- 🌱 ${data.translations.markdown.learning} ${data.learning} `; 215 | source += "\n"; 216 | } 217 | if (data.collaborate) { 218 | source += `- 👯 ${data.translations.markdown.collaborate} ${data.collaborate} `; 219 | source += "\n"; 220 | } 221 | if (data.help) { 222 | source += `- 🤔 ${data.translations.markdown.help} ${data.help} `; 223 | source += "\n"; 224 | } 225 | if (data.ask) { 226 | source += `- 💬 ${data.translations.markdown.ask} ${data.ask} `; 227 | source += "\n"; 228 | } 229 | if (data.reach) { 230 | source += `- 📫 ${data.translations.markdown.reach}: ${data.reach} `; 231 | source += "\n"; 232 | } 233 | if (data.pronouns) { 234 | source += `- 😄 ${data.translations.markdown.pronouns}: ${data.pronouns} `; 235 | source += "\n"; 236 | } 237 | if (data.fact) { 238 | source += `- ⚡ ${data.translations.markdown.fact}: ${data.fact} `; 239 | source += "\n"; 240 | } 241 | 242 | source += "\n"; 243 | source += "\n"; 244 | 245 | if (data.github) { 246 | source += `[github](https://github.com/${data.github}) `; 247 | } 248 | if (data.dev) { 249 | source += `[dev](https://dev.to/${data.dev}) `; 250 | } 251 | if (data.hashnode) { 252 | source += `[dev](${data.hashnode}) `; 253 | } 254 | if (data.linkedin) { 255 | source += `[linkedin](https://www.linkedin.com/in/${data.linkedin}/) `; 256 | } 257 | if (data.facebook) { 258 | source += `[facebook](https://www.facebook.com/${data.facebook}) `; 259 | } 260 | if (data.instagram) { 261 | source += `[instagram](https://www.instagram.com/${data.instagram}/) `; 262 | } 263 | if (data.twitter) { 264 | source += `[twitter](https://twitter.com/${data.twitter}) `; 265 | } 266 | if (data.codepen) { 267 | source += `[codepen](https://codepen.io/${data.codepen}) `; 268 | } 269 | if (data.codesandbox) { 270 | source += `[codesandbox](https://codesandbox.io/u/${data.codesandbox}) `; 271 | } 272 | if (data.stackoverflow) { 273 | source += `[stackoverflow](https://stackoverflow.com/users/${data.stackoverflow}) `; 274 | } 275 | if (data.youtube) { 276 | source += `[YouTube](https://www.youtube.com/channel/${data.youtube}) `; 277 | } 278 | if (data.twitch) { 279 | source += `[Twitch](https://www.twitch.tv/${data.twitch}) `; 280 | } 281 | if (data.reddit) { 282 | source += `[Reddit](https://www.reddit.com/user/${data.reddit}) `; 283 | } 284 | if (data.website) { 285 | source += `[website](${data.website}) `; 286 | } 287 | 288 | for (index = 0; index < data.items.length; ++index) { 289 | if (data.items[index].icon && data.items[index].value) { 290 | let icon = this.slugify(data.items[index].icon); 291 | let url = data.items[index].value; 292 | source += `[${icon}](${url}) `; 293 | } 294 | } 295 | 296 | source += "\n"; 297 | source += "\n"; 298 | 299 | if (data.arctic) { 300 | source += " "; 301 | } 302 | if (data.devprog) { 303 | source += " "; 304 | } 305 | if (data.gitpro) { 306 | source += " "; 307 | } 308 | if (data.star) { 309 | source += " "; 310 | } 311 | if (data.sponsor) { 312 | source += " "; 313 | } 314 | if (data.arctic || data.devprog || data.gitpro ||data.star || data.sponsor) { 315 | source += "\n"; 316 | source += "\n"; 317 | } 318 | 319 | if (data.trophy && data.github) { 320 | source += `[![trophy](https://github-profile-trophy.vercel.app/?username=${data.github})](https://github.com/ryo-ma/github-profile-trophy)`; 321 | source += "\n"; 322 | source += "\n"; 323 | } 324 | 325 | if (data.languages && data.github) { 326 | source += `[![Top Langs](https://github-readme-stats.vercel.app/api/top-langs/?username=${data.github})](https://github.com/anuraghazra/github-readme-stats)`; 327 | source += "\n"; 328 | source += "\n"; 329 | } 330 | 331 | if (data.stats && data.github && !data.private) { 332 | source += `![GitHub stats](https://github-readme-stats.vercel.app/api?username=${data.github}&show_icons=true) `; 333 | source += "\n"; 334 | source += "\n"; 335 | } 336 | 337 | if (data.stats && data.github && data.private) { 338 | source += `![GitHub stats](https://github-readme-stats.vercel.app/api?username=${data.github}&show_icons=true&count_private=true) `; 339 | source += "\n"; 340 | source += "\n"; 341 | } 342 | 343 | if (data.vauntBadge && data.github) { 344 | source += `![Vaunt Badge](https://api.vaunt.dev/v1/github/entities/${data.github}/contributions?format=svg&private=${(data.private)}) `; 345 | source += "\n"; 346 | source += "\n"; 347 | } 348 | 349 | if (data.metrics && data.github) { 350 | source += `![GitHub metrics](https://metrics.lecoq.io/${data.github}) `; 351 | source += "\n"; 352 | source += "\n"; 353 | } 354 | 355 | if (data.streak && data.github) { 356 | source += `![GitHub streak stats](https://streak-stats.demolab.com/?user=${data.github}) `; 357 | source += "\n"; 358 | source += "\n"; 359 | } 360 | } 361 | 362 | return source; 363 | }, 364 | copyCode() { 365 | this.$refs.code.select(); 366 | document.execCommand("copy"); 367 | } 368 | } 369 | }); 370 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | GitHub profile readme generator - by @arturssmirnovs 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 |

GitHub Profile Readme Generator

39 |

Super simple GitHub profile Readme generator made with Vue.js, that allows you to create beautiful Readme files that you can copy/paste in your profile.

40 |
41 | 42 |
43 |
44 | 45 | 46 |
47 |
48 | 49 | 50 |
51 |
52 |
53 |

What is a GitHub profile Readme? Check out the repository to learn more.

54 |

55 | Learn more 56 |

57 |
58 |
59 | 60 | 61 | 62 |
63 |

Markdown Tips:

64 |
    65 |
  • To bolden the text, wrap it with two asterisks (*) (**word**)
  • 66 |
  • To italisize the text, wrap it with one asterisk (*) (*word*)
  • 67 |
  • To strikethrough the text, wrap it with two tildes (~) (~~word~~)
  • 68 |
  • To make a link, place the link text in brackets and the url in parentheses 69 | ([link](http://example.com))
  • 70 |
  • To make an example icon image, place an !, the alt 71 | text in brackets, and the url in parentheses (![github](/images/icon.png))
  • 72 |
73 |

74 | Learn more: 75 | 76 | https://guides.github.com/features/mastering-markdown/ 77 | 78 |

79 |
80 | 81 | 87 | 88 |
89 |

Header

90 | 91 |
92 | 93 | 102 |
103 | 104 |
105 | 106 | 115 |
116 | 117 |
118 | 119 | 127 |
128 | 129 |
130 | 131 | 140 |
141 | 142 |
143 | 144 | 153 |
154 |
155 | 156 |
157 |

Additional information

158 | 159 |
160 |
161 |
162 | 163 | 172 |
173 |
174 | 175 |
176 |
177 | 178 | 187 |
188 |
189 | 190 |
191 |
192 | 193 | 202 |
203 |
204 | 205 |
206 |
207 | 208 | 217 |
218 |
219 | 220 |
221 |
222 | 223 | 232 |
233 |
234 | 235 |
236 |
237 | 238 | 247 |
248 |
249 | 250 |
251 |
252 | 253 | 262 |
263 |
264 | 265 |
266 |
267 | 268 | 277 |
278 |
279 |
280 |
281 | 282 |
283 |

Social information

284 | 285 |
286 |
287 |
288 | 292 | 301 |
302 |
303 | 304 |
305 |
306 | 310 | 319 |
320 |
321 | 322 |
323 |
324 | 328 | 337 |
338 |
339 | 340 |
341 |
342 | 346 | 355 |
356 |
357 | 358 |
359 |
360 | 364 | 373 |
374 |
375 | 376 |
377 |
378 | 382 | 391 |
392 |
393 | 394 |
395 |
396 | 400 | 409 |
410 |
411 | 412 |
413 |
414 | 418 | 427 |
428 |
429 | 430 |
431 |
432 | 436 | 445 |
446 |
447 | 448 |
449 |
450 | 454 | 463 |
464 |
465 | 466 |
467 |
468 | 472 | 481 |
482 |
483 | 484 |
485 |
486 | 490 | 499 |
500 |
501 | 502 |
503 |
504 | 508 | 517 |
518 |
519 | 520 |
521 |

Others

522 |
523 |
524 |
525 |
526 |
527 | 528 | 531 |
532 |
533 |
534 |
535 | 536 | 545 |
546 |
547 |
548 |
549 |
550 | 551 |
552 |
553 |
554 | 555 |
556 | 557 |
558 |
559 |
560 | 563 | 572 |

GitHub username required

573 |
574 |
575 |
576 | 577 |
578 |

Statistics

579 | 580 |
581 |
582 |
583 | 584 | 589 |
590 |
591 |
592 |
593 | 594 | 599 |
600 |
601 |
602 |
603 | 604 | 609 |
610 |
611 |
612 |
613 | 614 | 619 |
620 |
621 |
622 | 623 |

Github Trophies

624 | 625 |
626 |
627 |
628 | 629 | 634 |
635 |
636 |
637 | 638 |

Github Badges

639 | 640 |
641 |
642 |
643 | 644 | 649 |
650 |
651 |
652 |
653 | 654 | 659 |
660 |
661 |
662 |
663 | 664 | 669 |
670 |
671 |
672 |
673 | 674 | 679 |
680 |
681 |
682 |
683 | 684 | 689 |
690 |
691 |
692 | 693 |

GitHub Metrics

694 | 695 |
696 |
697 |
698 | 699 | 704 |
705 |
706 |
707 | 708 |

GitHub Streak Stats

709 | 710 |
711 |
712 |
713 | 714 | 719 |
720 |
721 |
722 |
723 | 724 |
725 | 726 |
727 | 728 | 729 | 730 |
731 |
732 |
Preview
733 | 734 |
735 |
736 | 737 |
738 |
739 |
740 |
👨‍💻 Code
741 | 745 |
746 | 749 | 750 | 751 |
752 |
753 | 754 |
755 | 756 |
757 | 758 |
759 | 760 | 765 | 766 | 767 | 768 | 769 | 770 | 771 | 783 | 784 | 785 | -------------------------------------------------------------------------------- /js/vue.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * Vue.js v2.6.12 3 | * (c) 2014-2020 Evan You 4 | * Released under the MIT License. 5 | */ 6 | !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).Vue=t()}(this,function(){"use strict";var e=Object.freeze({});function t(e){return null==e}function n(e){return null!=e}function r(e){return!0===e}function i(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function o(e){return null!==e&&"object"==typeof e}var a=Object.prototype.toString;function s(e){return"[object Object]"===a.call(e)}function c(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function u(e){return n(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function l(e){return null==e?"":Array.isArray(e)||s(e)&&e.toString===a?JSON.stringify(e,null,2):String(e)}function f(e){var t=parseFloat(e);return isNaN(t)?e:t}function p(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i-1)return e.splice(n,1)}}var m=Object.prototype.hasOwnProperty;function y(e,t){return m.call(e,t)}function g(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var _=/-(\w)/g,b=g(function(e){return e.replace(_,function(e,t){return t?t.toUpperCase():""})}),$=g(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),w=/\B([A-Z])/g,C=g(function(e){return e.replace(w,"-$1").toLowerCase()});var x=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function k(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function A(e,t){for(var n in t)e[n]=t[n];return e}function O(e){for(var t={},n=0;n0,Z=J&&J.indexOf("edge/")>0,G=(J&&J.indexOf("android"),J&&/iphone|ipad|ipod|ios/.test(J)||"ios"===K),X=(J&&/chrome\/\d+/.test(J),J&&/phantomjs/.test(J),J&&J.match(/firefox\/(\d+)/)),Y={}.watch,Q=!1;if(z)try{var ee={};Object.defineProperty(ee,"passive",{get:function(){Q=!0}}),window.addEventListener("test-passive",null,ee)}catch(e){}var te=function(){return void 0===B&&(B=!z&&!V&&"undefined"!=typeof global&&(global.process&&"server"===global.process.env.VUE_ENV)),B},ne=z&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function re(e){return"function"==typeof e&&/native code/.test(e.toString())}var ie,oe="undefined"!=typeof Symbol&&re(Symbol)&&"undefined"!=typeof Reflect&&re(Reflect.ownKeys);ie="undefined"!=typeof Set&&re(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var ae=S,se=0,ce=function(){this.id=se++,this.subs=[]};ce.prototype.addSub=function(e){this.subs.push(e)},ce.prototype.removeSub=function(e){h(this.subs,e)},ce.prototype.depend=function(){ce.target&&ce.target.addDep(this)},ce.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t-1)if(o&&!y(i,"default"))a=!1;else if(""===a||a===C(e)){var c=Pe(String,i.type);(c<0||s0&&(st((u=e(u,(a||"")+"_"+c))[0])&&st(f)&&(s[l]=he(f.text+u[0].text),u.shift()),s.push.apply(s,u)):i(u)?st(f)?s[l]=he(f.text+u):""!==u&&s.push(he(u)):st(u)&&st(f)?s[l]=he(f.text+u.text):(r(o._isVList)&&n(u.tag)&&t(u.key)&&n(a)&&(u.key="__vlist"+a+"_"+c+"__"),s.push(u)));return s}(e):void 0}function st(e){return n(e)&&n(e.text)&&!1===e.isComment}function ct(e,t){if(e){for(var n=Object.create(null),r=oe?Reflect.ownKeys(e):Object.keys(e),i=0;i0,a=t?!!t.$stable:!o,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(a&&r&&r!==e&&s===r.$key&&!o&&!r.$hasNormal)return r;for(var c in i={},t)t[c]&&"$"!==c[0]&&(i[c]=pt(n,c,t[c]))}else i={};for(var u in n)u in i||(i[u]=dt(n,u));return t&&Object.isExtensible(t)&&(t._normalized=i),R(i,"$stable",a),R(i,"$key",s),R(i,"$hasNormal",o),i}function pt(e,t,n){var r=function(){var e=arguments.length?n.apply(null,arguments):n({});return(e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:at(e))&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:r,enumerable:!0,configurable:!0}),r}function dt(e,t){return function(){return e[t]}}function vt(e,t){var r,i,a,s,c;if(Array.isArray(e)||"string"==typeof e)for(r=new Array(e.length),i=0,a=e.length;idocument.createEvent("Event").timeStamp&&(sn=function(){return cn.now()})}function un(){var e,t;for(an=sn(),rn=!0,Qt.sort(function(e,t){return e.id-t.id}),on=0;onon&&Qt[n].id>e.id;)n--;Qt.splice(n+1,0,e)}else Qt.push(e);nn||(nn=!0,Ye(un))}}(this)},fn.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||o(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){Re(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},fn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},fn.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},fn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||h(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var pn={enumerable:!0,configurable:!0,get:S,set:S};function dn(e,t,n){pn.get=function(){return this[t][n]},pn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,pn)}function vn(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[];e.$parent&&$e(!1);var o=function(o){i.push(o);var a=Me(o,t,n,e);xe(r,o,a),o in e||dn(e,"_props",o)};for(var a in t)o(a);$e(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]="function"!=typeof t[n]?S:x(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;s(t=e._data="function"==typeof t?function(e,t){le();try{return e.call(t,t)}catch(e){return Re(e,t,"data()"),{}}finally{fe()}}(t,e):t||{})||(t={});var n=Object.keys(t),r=e.$options.props,i=(e.$options.methods,n.length);for(;i--;){var o=n[i];r&&y(r,o)||(a=void 0,36!==(a=(o+"").charCodeAt(0))&&95!==a&&dn(e,"_data",o))}var a;Ce(t,!0)}(e):Ce(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=te();for(var i in t){var o=t[i],a="function"==typeof o?o:o.get;r||(n[i]=new fn(e,a||S,S,hn)),i in e||mn(e,i,o)}}(e,t.computed),t.watch&&t.watch!==Y&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i-1:"string"==typeof e?e.split(",").indexOf(t)>-1:(n=e,"[object RegExp]"===a.call(n)&&e.test(t));var n}function An(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var o in n){var a=n[o];if(a){var s=xn(a.componentOptions);s&&!t(s)&&On(n,o,r,i)}}}function On(e,t,n,r){var i=e[t];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),e[t]=null,h(n,t)}!function(t){t.prototype._init=function(t){var n=this;n._uid=bn++,n._isVue=!0,t&&t._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(n,t):n.$options=De($n(n.constructor),t||{},n),n._renderProxy=n,n._self=n,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(n),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&qt(e,t)}(n),function(t){t._vnode=null,t._staticTrees=null;var n=t.$options,r=t.$vnode=n._parentVnode,i=r&&r.context;t.$slots=ut(n._renderChildren,i),t.$scopedSlots=e,t._c=function(e,n,r,i){return Pt(t,e,n,r,i,!1)},t.$createElement=function(e,n,r,i){return Pt(t,e,n,r,i,!0)};var o=r&&r.data;xe(t,"$attrs",o&&o.attrs||e,null,!0),xe(t,"$listeners",n._parentListeners||e,null,!0)}(n),Yt(n,"beforeCreate"),function(e){var t=ct(e.$options.inject,e);t&&($e(!1),Object.keys(t).forEach(function(n){xe(e,n,t[n])}),$e(!0))}(n),vn(n),function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(n),Yt(n,"created"),n.$options.el&&n.$mount(n.$options.el)}}(wn),function(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=ke,e.prototype.$delete=Ae,e.prototype.$watch=function(e,t,n){if(s(t))return _n(this,e,t,n);(n=n||{}).user=!0;var r=new fn(this,e,t,n);if(n.immediate)try{t.call(this,r.value)}catch(e){Re(e,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(wn),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;if(Array.isArray(e))for(var i=0,o=e.length;i1?k(t):t;for(var n=k(arguments,1),r='event handler for "'+e+'"',i=0,o=t.length;iparseInt(this.max)&&On(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return F}};Object.defineProperty(e,"config",t),e.util={warn:ae,extend:A,mergeOptions:De,defineReactive:xe},e.set=ke,e.delete=Ae,e.nextTick=Ye,e.observable=function(e){return Ce(e),e},e.options=Object.create(null),M.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,A(e.options.components,Tn),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=k(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=De(this.options,e),this}}(e),Cn(e),function(e){M.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&s(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}(e)}(wn),Object.defineProperty(wn.prototype,"$isServer",{get:te}),Object.defineProperty(wn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(wn,"FunctionalRenderContext",{value:Tt}),wn.version="2.6.12";var En=p("style,class"),Nn=p("input,textarea,option,select,progress"),jn=function(e,t,n){return"value"===n&&Nn(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Dn=p("contenteditable,draggable,spellcheck"),Ln=p("events,caret,typing,plaintext-only"),Mn=function(e,t){return Hn(t)||"false"===t?"false":"contenteditable"===e&&Ln(t)?t:"true"},In=p("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Fn="http://www.w3.org/1999/xlink",Pn=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Rn=function(e){return Pn(e)?e.slice(6,e.length):""},Hn=function(e){return null==e||!1===e};function Bn(e){for(var t=e.data,r=e,i=e;n(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(t=Un(i.data,t));for(;n(r=r.parent);)r&&r.data&&(t=Un(t,r.data));return function(e,t){if(n(e)||n(t))return zn(e,Vn(t));return""}(t.staticClass,t.class)}function Un(e,t){return{staticClass:zn(e.staticClass,t.staticClass),class:n(e.class)?[e.class,t.class]:t.class}}function zn(e,t){return e?t?e+" "+t:e:t||""}function Vn(e){return Array.isArray(e)?function(e){for(var t,r="",i=0,o=e.length;i-1?hr(e,t,n):In(t)?Hn(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):Dn(t)?e.setAttribute(t,Mn(t,n)):Pn(t)?Hn(n)?e.removeAttributeNS(Fn,Rn(t)):e.setAttributeNS(Fn,t,n):hr(e,t,n)}function hr(e,t,n){if(Hn(n))e.removeAttribute(t);else{if(q&&!W&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var mr={create:dr,update:dr};function yr(e,r){var i=r.elm,o=r.data,a=e.data;if(!(t(o.staticClass)&&t(o.class)&&(t(a)||t(a.staticClass)&&t(a.class)))){var s=Bn(r),c=i._transitionClasses;n(c)&&(s=zn(s,Vn(c))),s!==i._prevClass&&(i.setAttribute("class",s),i._prevClass=s)}}var gr,_r,br,$r,wr,Cr,xr={create:yr,update:yr},kr=/[\w).+\-_$\]]/;function Ar(e){var t,n,r,i,o,a=!1,s=!1,c=!1,u=!1,l=0,f=0,p=0,d=0;for(r=0;r=0&&" "===(h=e.charAt(v));v--);h&&kr.test(h)||(u=!0)}}else void 0===i?(d=r+1,i=e.slice(0,r).trim()):m();function m(){(o||(o=[])).push(e.slice(d,r).trim()),d=r+1}if(void 0===i?i=e.slice(0,r).trim():0!==d&&m(),o)for(r=0;r-1?{exp:e.slice(0,$r),key:'"'+e.slice($r+1)+'"'}:{exp:e,key:null};_r=e,$r=wr=Cr=0;for(;!zr();)Vr(br=Ur())?Jr(br):91===br&&Kr(br);return{exp:e.slice(0,wr),key:e.slice(wr+1,Cr)}}(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function Ur(){return _r.charCodeAt(++$r)}function zr(){return $r>=gr}function Vr(e){return 34===e||39===e}function Kr(e){var t=1;for(wr=$r;!zr();)if(Vr(e=Ur()))Jr(e);else if(91===e&&t++,93===e&&t--,0===t){Cr=$r;break}}function Jr(e){for(var t=e;!zr()&&(e=Ur())!==t;);}var qr,Wr="__r",Zr="__c";function Gr(e,t,n){var r=qr;return function i(){null!==t.apply(null,arguments)&&Qr(e,i,n,r)}}var Xr=Ve&&!(X&&Number(X[1])<=53);function Yr(e,t,n,r){if(Xr){var i=an,o=t;t=o._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=i||e.timeStamp<=0||e.target.ownerDocument!==document)return o.apply(this,arguments)}}qr.addEventListener(e,t,Q?{capture:n,passive:r}:n)}function Qr(e,t,n,r){(r||qr).removeEventListener(e,t._wrapper||t,n)}function ei(e,r){if(!t(e.data.on)||!t(r.data.on)){var i=r.data.on||{},o=e.data.on||{};qr=r.elm,function(e){if(n(e[Wr])){var t=q?"change":"input";e[t]=[].concat(e[Wr],e[t]||[]),delete e[Wr]}n(e[Zr])&&(e.change=[].concat(e[Zr],e.change||[]),delete e[Zr])}(i),rt(i,o,Yr,Qr,Gr,r.context),qr=void 0}}var ti,ni={create:ei,update:ei};function ri(e,r){if(!t(e.data.domProps)||!t(r.data.domProps)){var i,o,a=r.elm,s=e.data.domProps||{},c=r.data.domProps||{};for(i in n(c.__ob__)&&(c=r.data.domProps=A({},c)),s)i in c||(a[i]="");for(i in c){if(o=c[i],"textContent"===i||"innerHTML"===i){if(r.children&&(r.children.length=0),o===s[i])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===i&&"PROGRESS"!==a.tagName){a._value=o;var u=t(o)?"":String(o);ii(a,u)&&(a.value=u)}else if("innerHTML"===i&&qn(a.tagName)&&t(a.innerHTML)){(ti=ti||document.createElement("div")).innerHTML=""+o+"";for(var l=ti.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;l.firstChild;)a.appendChild(l.firstChild)}else if(o!==s[i])try{a[i]=o}catch(e){}}}}function ii(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var r=e.value,i=e._vModifiers;if(n(i)){if(i.number)return f(r)!==f(t);if(i.trim)return r.trim()!==t.trim()}return r!==t}(e,t))}var oi={create:ri,update:ri},ai=g(function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach(function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t});function si(e){var t=ci(e.style);return e.staticStyle?A(e.staticStyle,t):t}function ci(e){return Array.isArray(e)?O(e):"string"==typeof e?ai(e):e}var ui,li=/^--/,fi=/\s*!important$/,pi=function(e,t,n){if(li.test(t))e.style.setProperty(t,n);else if(fi.test(n))e.style.setProperty(C(t),n.replace(fi,""),"important");else{var r=vi(t);if(Array.isArray(n))for(var i=0,o=n.length;i-1?t.split(yi).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function _i(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(yi).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function bi(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&A(t,$i(e.name||"v")),A(t,e),t}return"string"==typeof e?$i(e):void 0}}var $i=g(function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}}),wi=z&&!W,Ci="transition",xi="animation",ki="transition",Ai="transitionend",Oi="animation",Si="animationend";wi&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(ki="WebkitTransition",Ai="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Oi="WebkitAnimation",Si="webkitAnimationEnd"));var Ti=z?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Ei(e){Ti(function(){Ti(e)})}function Ni(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),gi(e,t))}function ji(e,t){e._transitionClasses&&h(e._transitionClasses,t),_i(e,t)}function Di(e,t,n){var r=Mi(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===Ci?Ai:Si,c=0,u=function(){e.removeEventListener(s,l),n()},l=function(t){t.target===e&&++c>=a&&u()};setTimeout(function(){c0&&(n=Ci,l=a,f=o.length):t===xi?u>0&&(n=xi,l=u,f=c.length):f=(n=(l=Math.max(a,u))>0?a>u?Ci:xi:null)?n===Ci?o.length:c.length:0,{type:n,timeout:l,propCount:f,hasTransform:n===Ci&&Li.test(r[ki+"Property"])}}function Ii(e,t){for(;e.length1}function Ui(e,t){!0!==t.data.show&&Pi(t)}var zi=function(e){var o,a,s={},c=e.modules,u=e.nodeOps;for(o=0;ov?_(e,t(i[y+1])?null:i[y+1].elm,i,d,y,o):d>y&&$(r,p,v)}(p,h,y,o,l):n(y)?(n(e.text)&&u.setTextContent(p,""),_(p,null,y,0,y.length-1,o)):n(h)?$(h,0,h.length-1):n(e.text)&&u.setTextContent(p,""):e.text!==i.text&&u.setTextContent(p,i.text),n(v)&&n(d=v.hook)&&n(d=d.postpatch)&&d(e,i)}}}function k(e,t,i){if(r(i)&&n(e.parent))e.parent.data.pendingInsert=t;else for(var o=0;o-1,a.selected!==o&&(a.selected=o);else if(N(Wi(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function qi(e,t){return t.every(function(t){return!N(t,e)})}function Wi(e){return"_value"in e?e._value:e.value}function Zi(e){e.target.composing=!0}function Gi(e){e.target.composing&&(e.target.composing=!1,Xi(e.target,"input"))}function Xi(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function Yi(e){return!e.componentInstance||e.data&&e.data.transition?e:Yi(e.componentInstance._vnode)}var Qi={model:Vi,show:{bind:function(e,t,n){var r=t.value,i=(n=Yi(n)).data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&i?(n.data.show=!0,Pi(n,function(){e.style.display=o})):e.style.display=r?o:"none"},update:function(e,t,n){var r=t.value;!r!=!t.oldValue&&((n=Yi(n)).data&&n.data.transition?(n.data.show=!0,r?Pi(n,function(){e.style.display=e.__vOriginalDisplay}):Ri(n,function(){e.style.display="none"})):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,i){i||(e.style.display=e.__vOriginalDisplay)}}},eo={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function to(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?to(zt(t.children)):e}function no(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var o in i)t[b(o)]=i[o];return t}function ro(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var io=function(e){return e.tag||Ut(e)},oo=function(e){return"show"===e.name},ao={name:"transition",props:eo,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(io)).length){var r=this.mode,o=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return o;var a=to(o);if(!a)return o;if(this._leaving)return ro(e,o);var s="__transition-"+this._uid+"-";a.key=null==a.key?a.isComment?s+"comment":s+a.tag:i(a.key)?0===String(a.key).indexOf(s)?a.key:s+a.key:a.key;var c=(a.data||(a.data={})).transition=no(this),u=this._vnode,l=to(u);if(a.data.directives&&a.data.directives.some(oo)&&(a.data.show=!0),l&&l.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(a,l)&&!Ut(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var f=l.data.transition=A({},c);if("out-in"===r)return this._leaving=!0,it(f,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),ro(e,o);if("in-out"===r){if(Ut(a))return u;var p,d=function(){p()};it(c,"afterEnter",d),it(c,"enterCancelled",d),it(f,"delayLeave",function(e){p=e})}}return o}}},so=A({tag:String,moveClass:String},eo);function co(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function uo(e){e.data.newPos=e.elm.getBoundingClientRect()}function lo(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,i=t.top-n.top;if(r||i){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}delete so.mode;var fo={Transition:ao,TransitionGroup:{props:so,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var i=Zt(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=no(this),s=0;s-1?Gn[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Gn[e]=/HTMLUnknownElement/.test(t.toString())},A(wn.options.directives,Qi),A(wn.options.components,fo),wn.prototype.__patch__=z?zi:S,wn.prototype.$mount=function(e,t){return function(e,t,n){var r;return e.$el=t,e.$options.render||(e.$options.render=ve),Yt(e,"beforeMount"),r=function(){e._update(e._render(),n)},new fn(e,r,S,{before:function(){e._isMounted&&!e._isDestroyed&&Yt(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,Yt(e,"mounted")),e}(this,e=e&&z?Yn(e):void 0,t)},z&&setTimeout(function(){F.devtools&&ne&&ne.emit("init",wn)},0);var po=/\{\{((?:.|\r?\n)+?)\}\}/g,vo=/[-.*+?^${}()|[\]\/\\]/g,ho=g(function(e){var t=e[0].replace(vo,"\\$&"),n=e[1].replace(vo,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")});var mo={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;var n=Fr(e,"class");n&&(e.staticClass=JSON.stringify(n));var r=Ir(e,"class",!1);r&&(e.classBinding=r)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}};var yo,go={staticKeys:["staticStyle"],transformNode:function(e,t){t.warn;var n=Fr(e,"style");n&&(e.staticStyle=JSON.stringify(ai(n)));var r=Ir(e,"style",!1);r&&(e.styleBinding=r)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},_o=function(e){return(yo=yo||document.createElement("div")).innerHTML=e,yo.textContent},bo=p("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),$o=p("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),wo=p("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),Co=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,xo=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,ko="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+P.source+"]*",Ao="((?:"+ko+"\\:)?"+ko+")",Oo=new RegExp("^<"+Ao),So=/^\s*(\/?)>/,To=new RegExp("^<\\/"+Ao+"[^>]*>"),Eo=/^]+>/i,No=/^",""":'"',"&":"&"," ":"\n"," ":"\t","'":"'"},Io=/&(?:lt|gt|quot|amp|#39);/g,Fo=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Po=p("pre,textarea",!0),Ro=function(e,t){return e&&Po(e)&&"\n"===t[0]};function Ho(e,t){var n=t?Fo:Io;return e.replace(n,function(e){return Mo[e]})}var Bo,Uo,zo,Vo,Ko,Jo,qo,Wo,Zo=/^@|^v-on:/,Go=/^v-|^@|^:|^#/,Xo=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Yo=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Qo=/^\(|\)$/g,ea=/^\[.*\]$/,ta=/:(.*)$/,na=/^:|^\.|^v-bind:/,ra=/\.[^.\]]+(?=[^\]]*$)/g,ia=/^v-slot(:|$)|^#/,oa=/[\r\n]/,aa=/\s+/g,sa=g(_o),ca="_empty_";function ua(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:ma(t),rawAttrsMap:{},parent:n,children:[]}}function la(e,t){Bo=t.warn||Sr,Jo=t.isPreTag||T,qo=t.mustUseProp||T,Wo=t.getTagNamespace||T;t.isReservedTag;zo=Tr(t.modules,"transformNode"),Vo=Tr(t.modules,"preTransformNode"),Ko=Tr(t.modules,"postTransformNode"),Uo=t.delimiters;var n,r,i=[],o=!1!==t.preserveWhitespace,a=t.whitespace,s=!1,c=!1;function u(e){if(l(e),s||e.processed||(e=fa(e,t)),i.length||e===n||n.if&&(e.elseif||e.else)&&da(n,{exp:e.elseif,block:e}),r&&!e.forbidden)if(e.elseif||e.else)a=e,(u=function(e){var t=e.length;for(;t--;){if(1===e[t].type)return e[t];e.pop()}}(r.children))&&u.if&&da(u,{exp:a.elseif,block:a});else{if(e.slotScope){var o=e.slotTarget||'"default"';(r.scopedSlots||(r.scopedSlots={}))[o]=e}r.children.push(e),e.parent=r}var a,u;e.children=e.children.filter(function(e){return!e.slotScope}),l(e),e.pre&&(s=!1),Jo(e.tag)&&(c=!1);for(var f=0;f]*>)","i")),p=e.replace(f,function(e,n,r){return u=r.length,Do(l)||"noscript"===l||(n=n.replace(//g,"$1").replace(//g,"$1")),Ro(l,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""});c+=e.length-p.length,e=p,A(l,c-u,c)}else{var d=e.indexOf("<");if(0===d){if(No.test(e)){var v=e.indexOf("--\x3e");if(v>=0){t.shouldKeepComment&&t.comment(e.substring(4,v),c,c+v+3),C(v+3);continue}}if(jo.test(e)){var h=e.indexOf("]>");if(h>=0){C(h+2);continue}}var m=e.match(Eo);if(m){C(m[0].length);continue}var y=e.match(To);if(y){var g=c;C(y[0].length),A(y[1],g,c);continue}var _=x();if(_){k(_),Ro(_.tagName,e)&&C(1);continue}}var b=void 0,$=void 0,w=void 0;if(d>=0){for($=e.slice(d);!(To.test($)||Oo.test($)||No.test($)||jo.test($)||(w=$.indexOf("<",1))<0);)d+=w,$=e.slice(d);b=e.substring(0,d)}d<0&&(b=e),b&&C(b.length),t.chars&&b&&t.chars(b,c-b.length,c)}if(e===n){t.chars&&t.chars(e);break}}function C(t){c+=t,e=e.substring(t)}function x(){var t=e.match(Oo);if(t){var n,r,i={tagName:t[1],attrs:[],start:c};for(C(t[0].length);!(n=e.match(So))&&(r=e.match(xo)||e.match(Co));)r.start=c,C(r[0].length),r.end=c,i.attrs.push(r);if(n)return i.unarySlash=n[1],C(n[0].length),i.end=c,i}}function k(e){var n=e.tagName,c=e.unarySlash;o&&("p"===r&&wo(n)&&A(r),s(n)&&r===n&&A(n));for(var u=a(n)||!!c,l=e.attrs.length,f=new Array(l),p=0;p=0&&i[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var u=i.length-1;u>=a;u--)t.end&&t.end(i[u].tag,n,o);i.length=a,r=a&&i[a-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,o):"p"===s&&(t.start&&t.start(e,[],!1,n,o),t.end&&t.end(e,n,o))}A()}(e,{warn:Bo,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(e,o,a,l,f){var p=r&&r.ns||Wo(e);q&&"svg"===p&&(o=function(e){for(var t=[],n=0;nc&&(s.push(o=e.slice(c,i)),a.push(JSON.stringify(o)));var u=Ar(r[1].trim());a.push("_s("+u+")"),s.push({"@binding":u}),c=i+r[0].length}return c-1"+("true"===o?":("+t+")":":_q("+t+","+o+")")),Mr(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Br(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Br(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Br(t,"$$c")+"}",null,!0)}(e,r,i);else if("input"===o&&"radio"===a)!function(e,t,n){var r=n&&n.number,i=Ir(e,"value")||"null";Er(e,"checked","_q("+t+","+(i=r?"_n("+i+")":i)+")"),Mr(e,"change",Br(t,i),null,!0)}(e,r,i);else if("input"===o||"textarea"===o)!function(e,t,n){var r=e.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,c=!o&&"range"!==r,u=o?"change":"range"===r?Wr:"input",l="$event.target.value";s&&(l="$event.target.value.trim()"),a&&(l="_n("+l+")");var f=Br(t,l);c&&(f="if($event.target.composing)return;"+f),Er(e,"value","("+t+")"),Mr(e,u,f,null,!0),(s||a)&&Mr(e,"blur","$forceUpdate()")}(e,r,i);else if(!F.isReservedTag(o))return Hr(e,r,i),!1;return!0},text:function(e,t){t.value&&Er(e,"textContent","_s("+t.value+")",t)},html:function(e,t){t.value&&Er(e,"innerHTML","_s("+t.value+")",t)}},isPreTag:function(e){return"pre"===e},isUnaryTag:bo,mustUseProp:jn,canBeLeftOpenTag:$o,isReservedTag:Wn,getTagNamespace:Zn,staticKeys:function(e){return e.reduce(function(e,t){return e.concat(t.staticKeys||[])},[]).join(",")}(ba)},xa=g(function(e){return p("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))});function ka(e,t){e&&($a=xa(t.staticKeys||""),wa=t.isReservedTag||T,function e(t){t.static=function(e){if(2===e.type)return!1;if(3===e.type)return!0;return!(!e.pre&&(e.hasBindings||e.if||e.for||d(e.tag)||!wa(e.tag)||function(e){for(;e.parent;){if("template"!==(e=e.parent).tag)return!1;if(e.for)return!0}return!1}(e)||!Object.keys(e).every($a)))}(t);if(1===t.type){if(!wa(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var n=0,r=t.children.length;n|^function(?:\s+[\w$]+)?\s*\(/,Oa=/\([^)]*?\);*$/,Sa=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Ta={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Ea={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Na=function(e){return"if("+e+")return null;"},ja={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Na("$event.target !== $event.currentTarget"),ctrl:Na("!$event.ctrlKey"),shift:Na("!$event.shiftKey"),alt:Na("!$event.altKey"),meta:Na("!$event.metaKey"),left:Na("'button' in $event && $event.button !== 0"),middle:Na("'button' in $event && $event.button !== 1"),right:Na("'button' in $event && $event.button !== 2")};function Da(e,t){var n=t?"nativeOn:":"on:",r="",i="";for(var o in e){var a=La(e[o]);e[o]&&e[o].dynamic?i+=o+","+a+",":r+='"'+o+'":'+a+","}return r="{"+r.slice(0,-1)+"}",i?n+"_d("+r+",["+i.slice(0,-1)+"])":n+r}function La(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map(function(e){return La(e)}).join(",")+"]";var t=Sa.test(e.value),n=Aa.test(e.value),r=Sa.test(e.value.replace(Oa,""));if(e.modifiers){var i="",o="",a=[];for(var s in e.modifiers)if(ja[s])o+=ja[s],Ta[s]&&a.push(s);else if("exact"===s){var c=e.modifiers;o+=Na(["ctrl","shift","alt","meta"].filter(function(e){return!c[e]}).map(function(e){return"$event."+e+"Key"}).join("||"))}else a.push(s);return a.length&&(i+=function(e){return"if(!$event.type.indexOf('key')&&"+e.map(Ma).join("&&")+")return null;"}(a)),o&&(i+=o),"function($event){"+i+(t?"return "+e.value+"($event)":n?"return ("+e.value+")($event)":r?"return "+e.value:e.value)+"}"}return t||n?e.value:"function($event){"+(r?"return "+e.value:e.value)+"}"}function Ma(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=Ta[e],r=Ea[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}var Ia={on:function(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}},cloak:S},Fa=function(e){this.options=e,this.warn=e.warn||Sr,this.transforms=Tr(e.modules,"transformCode"),this.dataGenFns=Tr(e.modules,"genData"),this.directives=A(A({},Ia),e.directives);var t=e.isReservedTag||T;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function Pa(e,t){var n=new Fa(t);return{render:"with(this){return "+(e?Ra(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function Ra(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return Ha(e,t);if(e.once&&!e.onceProcessed)return Ba(e,t);if(e.for&&!e.forProcessed)return za(e,t);if(e.if&&!e.ifProcessed)return Ua(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var n=e.slotName||'"default"',r=qa(e,t),i="_t("+n+(r?","+r:""),o=e.attrs||e.dynamicAttrs?Ga((e.attrs||[]).concat(e.dynamicAttrs||[]).map(function(e){return{name:b(e.name),value:e.value,dynamic:e.dynamic}})):null,a=e.attrsMap["v-bind"];!o&&!a||r||(i+=",null");o&&(i+=","+o);a&&(i+=(o?"":",null")+","+a);return i+")"}(e,t);var n;if(e.component)n=function(e,t,n){var r=t.inlineTemplate?null:qa(t,n,!0);return"_c("+e+","+Va(t,n)+(r?","+r:"")+")"}(e.component,e,t);else{var r;(!e.plain||e.pre&&t.maybeComponent(e))&&(r=Va(e,t));var i=e.inlineTemplate?null:qa(e,t,!0);n="_c('"+e.tag+"'"+(r?","+r:"")+(i?","+i:"")+")"}for(var o=0;o>>0}(a):"")+")"}(e,e.scopedSlots,t)+","),e.model&&(n+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var o=function(e,t){var n=e.children[0];if(n&&1===n.type){var r=Pa(n,t.options);return"inlineTemplate:{render:function(){"+r.render+"},staticRenderFns:["+r.staticRenderFns.map(function(e){return"function(){"+e+"}"}).join(",")+"]}"}}(e,t);o&&(n+=o+",")}return n=n.replace(/,$/,"")+"}",e.dynamicAttrs&&(n="_b("+n+',"'+e.tag+'",'+Ga(e.dynamicAttrs)+")"),e.wrapData&&(n=e.wrapData(n)),e.wrapListeners&&(n=e.wrapListeners(n)),n}function Ka(e){return 1===e.type&&("slot"===e.tag||e.children.some(Ka))}function Ja(e,t){var n=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!n)return Ua(e,t,Ja,"null");if(e.for&&!e.forProcessed)return za(e,t,Ja);var r=e.slotScope===ca?"":String(e.slotScope),i="function("+r+"){return "+("template"===e.tag?e.if&&n?"("+e.if+")?"+(qa(e,t)||"undefined")+":undefined":qa(e,t)||"undefined":Ra(e,t))+"}",o=r?"":",proxy:true";return"{key:"+(e.slotTarget||'"default"')+",fn:"+i+o+"}"}function qa(e,t,n,r,i){var o=e.children;if(o.length){var a=o[0];if(1===o.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var s=n?t.maybeComponent(a)?",1":",0":"";return""+(r||Ra)(a,t)+s}var c=n?function(e,t){for(var n=0,r=0;r':'
',ts.innerHTML.indexOf(" ")>0}var os=!!z&&is(!1),as=!!z&&is(!0),ss=g(function(e){var t=Yn(e);return t&&t.innerHTML}),cs=wn.prototype.$mount;return wn.prototype.$mount=function(e,t){if((e=e&&Yn(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=ss(r));else{if(!r.nodeType)return this;r=r.innerHTML}else e&&(r=function(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(e));if(r){var i=rs(r,{outputSourceRange:!1,shouldDecodeNewlines:os,shouldDecodeNewlinesForHref:as,delimiters:n.delimiters,comments:n.comments},this),o=i.render,a=i.staticRenderFns;n.render=o,n.staticRenderFns=a}}return cs.call(this,e,t)},wn.compile=rs,wn}); 7 | --------------------------------------------------------------------------------