[
  {
    "path": ".eslintrc.cjs",
    "content": "module.exports = {\n  root: true,\n  env: { browser: true, es2020: true },\n  extends: [\n    'eslint:recommended',\n    'plugin:@typescript-eslint/recommended',\n    'plugin:react-hooks/recommended',\n    'plugin:react/recommended',\n    'plugin:import/recommended',\n    'prettier',\n  ],\n  ignorePatterns: ['dist', '.eslintrc.cjs'],\n  parser: '@typescript-eslint/parser',\n  plugins: ['react-refresh', 'react'],\n  settings: {\n    'import/resolver': {\n      typescript: {\n        project: __dirname,\n      },\n    },\n  },\n  rules: {\n    'react-refresh/only-export-components': [\n      'warn',\n      { allowConstantExport: true },\n    ],\n    'linebreak-style': ['error', 'unix'],\n    'semi': ['error', 'always'],\n    'array-bracket-spacing': ['error', 'always'],\n    'brace-style': ['error', '1tbs'],\n    'camelcase': 'error',\n    'comma-dangle': ['error', 'always-multiline'],\n    'comma-spacing': 'error',\n    'comma-style': 'error',\n    'computed-property-spacing': ['error', 'always'],\n    'constructor-super': 'error',\n    'consistent-return': 'off',\n    'curly': 'error',\n    'dot-notation': 'error',\n    'eqeqeq': ['error', 'allow-null'],\n    'eol-last': 'error',\n    'func-call-spacing': 'error',\n    'indent': ['error', 'tab', { 'SwitchCase': 1 }],\n    'jsx-quotes': ['error', 'prefer-double'],\n    'key-spacing': 'error',\n    'keyword-spacing': 'error',\n    'max-len': ['error', { 'code': 105 }],\n    'new-cap': ['error', { 'capIsNew': false, 'newIsCap': true }],\n    'no-cond-assign': 'error',\n    'no-const-assign': 'error',\n    'no-console': 'warn',\n    'no-debugger': 'error',\n    'no-dupe-args': 'error',\n    'no-dupe-keys': 'error',\n    'no-duplicate-case': 'error',\n    'no-duplicate-imports': 'error',\n    'no-else-return': 'error',\n    'no-empty': ['error', { 'allowEmptyCatch': true }],\n    'no-extra-semi': 'error',\n    'no-fallthrough': 'off',\n    'no-lonely-if': 'error',\n    'no-mixed-requires': 'off',\n    'no-mixed-spaces-and-tabs': 'error',\n    'no-multiple-empty-lines': ['error', { 'max': 1 }],\n    'no-multi-spaces': 'error',\n    'no-negated-in-lhs': 'error',\n    'no-nested-ternary': 'error',\n    'no-new': 'error',\n    'no-process-exit': 'error',\n    'no-prototype-builtins': 'off',\n    'no-redeclare': 'error',\n    'no-shadow': 'error',\n    'no-spaced-func': 'error',\n    'no-trailing-spaces': 'error',\n    'no-undef': 'error',\n    'no-underscore-dangle': 'off',\n    'no-unreachable': 'error',\n    'no-unused-vars': 'error',\n    'no-var': 'error',\n    'object-curly-spacing': ['error', 'always'],\n    'one-var': 'off',\n    'operator-linebreak': [\n      'error',\n      'after',\n      {\n        'overrides': {\n          '?': 'before',\n          ':': 'before'\n        }\n      }\n    ],\n    'padded-blocks': ['error', 'never'],\n    'prefer-const': 'error',\n    'quote-props': ['error', 'as-needed'],\n    'quotes': ['error', 'single', 'avoid-escape'],\n    'semi-spacing': 'error',\n    'space-before-blocks': ['error', 'always'],\n    'space-before-function-paren': [\n      'error',\n      {\n        'anonymous': 'never',\n        'asyncArrow': 'always',\n        'named': 'never'\n      }\n    ],\n    'space-in-parens': ['error', 'always'],\n    'space-infix-ops': ['error', { 'int32Hint': false }],\n    'space-unary-ops': [\n      'error',\n      {\n        'overrides': {\n          '!': true\n        }\n      }\n    ],\n    'react/jsx-curly-spacing': [2, 'always'],\n    'react/jsx-no-duplicate-props': 2,\n    'react/jsx-no-target-blank': 2,\n    'react/jsx-no-undef': 2,\n    'react/jsx-tag-spacing': 2,\n    'react/jsx-uses-react': 2,\n    'react/jsx-uses-vars': 2,\n    'react/no-danger': 2,\n    'react/no-deprecated': 2,\n    'react/no-did-mount-set-state': 2,\n    'react/no-did-update-set-state': 2,\n    'react/no-is-mounted': 2,\n    'react/no-string-refs': 2,\n    'react/prefer-es6-class': 2,\n    'react/react-in-jsx-scope': 2,\n    'react-hooks/rules-of-hooks': 2,\n    'react-hooks/exhaustive-deps': 1,\n    'import/order': [\n      'error',\n      {\n        'groups': ['builtin', 'external', 'parent', 'sibling', 'index'],\n        'newlines-between': 'always',\n        'alphabetize': {\n          'order': 'asc',\n          'caseInsensitive': true\n        }\n      }\n    ]\n  },\n}\n"
  },
  {
    "path": ".github/FUNDING.yml",
    "content": "# These are supported funding model platforms\n\ngithub: [klimeryk]\npatreon: # Replace with a single Patreon username\nopen_collective: # Replace with a single Open Collective username\nko_fi: klimeryk\ntidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel\ncommunity_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry\nliberapay: # Replace with a single Liberapay username\nissuehunt: # Replace with a single IssueHunt username\notechie: # Replace with a single Otechie username\nlfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry\ncustom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']\n"
  },
  {
    "path": ".gitignore",
    "content": "/node_modules\n\n/dist\n\n# misc\n.DS_Store\n.env.local\n.env.development.local\n.env.test.local\n.env.production.local\n\nnpm-debug.log*\nyarn-debug.log*\nyarn-error.log*\n"
  },
  {
    "path": ".nvmrc",
    "content": "18.*\n"
  },
  {
    "path": ".prettierrc",
    "content": "useTabs: true\ntabWidth: 2\nprintWidth: 80\nsingleQuote: true\nbracketSpacing: true\nparenSpacing: true\njsxBracketSameLine: false\nsemi: true\n"
  },
  {
    "path": "LICENSE",
    "content": "                    GNU AFFERO GENERAL PUBLIC LICENSE\n                       Version 3, 19 November 2007\n\n Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>\n Everyone is permitted to copy and distribute verbatim copies\n of this license document, but changing it is not allowed.\n\n                            Preamble\n\n  The GNU Affero General Public License is a free, copyleft license for\nsoftware and other kinds of works, specifically designed to ensure\ncooperation with the community in the case of network server software.\n\n  The licenses for most software and other practical works are designed\nto take away your freedom to share and change the works.  By contrast,\nour General Public Licenses are intended to guarantee your freedom to\nshare and change all versions of a program--to make sure it remains free\nsoftware for all its users.\n\n  When we speak of free software, we are referring to freedom, not\nprice.  Our General Public Licenses are designed to make sure that you\nhave the freedom to distribute copies of free software (and charge for\nthem if you wish), that you receive source code or can get it if you\nwant it, that you can change the software or use pieces of it in new\nfree programs, and that you know you can do these things.\n\n  Developers that use our General Public Licenses protect your rights\nwith two steps: (1) assert copyright on the software, and (2) offer\nyou this License which gives you legal permission to copy, distribute\nand/or modify the software.\n\n  A secondary benefit of defending all users' freedom is that\nimprovements made in alternate versions of the program, if they\nreceive widespread use, become available for other developers to\nincorporate.  Many developers of free software are heartened and\nencouraged by the resulting cooperation.  However, in the case of\nsoftware used on network servers, this result may fail to come about.\nThe GNU General Public License permits making a modified version and\nletting the public access it on a server without ever releasing its\nsource code to the public.\n\n  The GNU Affero General Public License is designed specifically to\nensure that, in such cases, the modified source code becomes available\nto the community.  It requires the operator of a network server to\nprovide the source code of the modified version running there to the\nusers of that server.  Therefore, public use of a modified version, on\na publicly accessible server, gives the public access to the source\ncode of the modified version.\n\n  An older license, called the Affero General Public License and\npublished by Affero, was designed to accomplish similar goals.  This is\na different license, not a version of the Affero GPL, but Affero has\nreleased a new version of the Affero GPL which permits relicensing under\nthis license.\n\n  The precise terms and conditions for copying, distribution and\nmodification follow.\n\n                       TERMS AND CONDITIONS\n\n  0. Definitions.\n\n  \"This License\" refers to version 3 of the GNU Affero General Public License.\n\n  \"Copyright\" also means copyright-like laws that apply to other kinds of\nworks, such as semiconductor masks.\n\n  \"The Program\" refers to any copyrightable work licensed under this\nLicense.  Each licensee is addressed as \"you\".  \"Licensees\" and\n\"recipients\" may be individuals or organizations.\n\n  To \"modify\" a work means to copy from or adapt all or part of the work\nin a fashion requiring copyright permission, other than the making of an\nexact copy.  The resulting work is called a \"modified version\" of the\nearlier work or a work \"based on\" the earlier work.\n\n  A \"covered work\" means either the unmodified Program or a work based\non the Program.\n\n  To \"propagate\" a work means to do anything with it that, without\npermission, would make you directly or secondarily liable for\ninfringement under applicable copyright law, except executing it on a\ncomputer or modifying a private copy.  Propagation includes copying,\ndistribution (with or without modification), making available to the\npublic, and in some countries other activities as well.\n\n  To \"convey\" a work means any kind of propagation that enables other\nparties to make or receive copies.  Mere interaction with a user through\na computer network, with no transfer of a copy, is not conveying.\n\n  An interactive user interface displays \"Appropriate Legal Notices\"\nto the extent that it includes a convenient and prominently visible\nfeature that (1) displays an appropriate copyright notice, and (2)\ntells the user that there is no warranty for the work (except to the\nextent that warranties are provided), that licensees may convey the\nwork under this License, and how to view a copy of this License.  If\nthe interface presents a list of user commands or options, such as a\nmenu, a prominent item in the list meets this criterion.\n\n  1. Source Code.\n\n  The \"source code\" for a work means the preferred form of the work\nfor making modifications to it.  \"Object code\" means any non-source\nform of a work.\n\n  A \"Standard Interface\" means an interface that either is an official\nstandard defined by a recognized standards body, or, in the case of\ninterfaces specified for a particular programming language, one that\nis widely used among developers working in that language.\n\n  The \"System Libraries\" of an executable work include anything, other\nthan the work as a whole, that (a) is included in the normal form of\npackaging a Major Component, but which is not part of that Major\nComponent, and (b) serves only to enable use of the work with that\nMajor Component, or to implement a Standard Interface for which an\nimplementation is available to the public in source code form.  A\n\"Major Component\", in this context, means a major essential component\n(kernel, window system, and so on) of the specific operating system\n(if any) on which the executable work runs, or a compiler used to\nproduce the work, or an object code interpreter used to run it.\n\n  The \"Corresponding Source\" for a work in object code form means all\nthe source code needed to generate, install, and (for an executable\nwork) run the object code and to modify the work, including scripts to\ncontrol those activities.  However, it does not include the work's\nSystem Libraries, or general-purpose tools or generally available free\nprograms which are used unmodified in performing those activities but\nwhich are not part of the work.  For example, Corresponding Source\nincludes interface definition files associated with source files for\nthe work, and the source code for shared libraries and dynamically\nlinked subprograms that the work is specifically designed to require,\nsuch as by intimate data communication or control flow between those\nsubprograms and other parts of the work.\n\n  The Corresponding Source need not include anything that users\ncan regenerate automatically from other parts of the Corresponding\nSource.\n\n  The Corresponding Source for a work in source code form is that\nsame work.\n\n  2. Basic Permissions.\n\n  All rights granted under this License are granted for the term of\ncopyright on the Program, and are irrevocable provided the stated\nconditions are met.  This License explicitly affirms your unlimited\npermission to run the unmodified Program.  The output from running a\ncovered work is covered by this License only if the output, given its\ncontent, constitutes a covered work.  This License acknowledges your\nrights of fair use or other equivalent, as provided by copyright law.\n\n  You may make, run and propagate covered works that you do not\nconvey, without conditions so long as your license otherwise remains\nin force.  You may convey covered works to others for the sole purpose\nof having them make modifications exclusively for you, or provide you\nwith facilities for running those works, provided that you comply with\nthe terms of this License in conveying all material for which you do\nnot control copyright.  Those thus making or running the covered works\nfor you must do so exclusively on your behalf, under your direction\nand control, on terms that prohibit them from making any copies of\nyour copyrighted material outside their relationship with you.\n\n  Conveying under any other circumstances is permitted solely under\nthe conditions stated below.  Sublicensing is not allowed; section 10\nmakes it unnecessary.\n\n  3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\n  No covered work shall be deemed part of an effective technological\nmeasure under any applicable law fulfilling obligations under article\n11 of the WIPO copyright treaty adopted on 20 December 1996, or\nsimilar laws prohibiting or restricting circumvention of such\nmeasures.\n\n  When you convey a covered work, you waive any legal power to forbid\ncircumvention of technological measures to the extent such circumvention\nis effected by exercising rights under this License with respect to\nthe covered work, and you disclaim any intention to limit operation or\nmodification of the work as a means of enforcing, against the work's\nusers, your or third parties' legal rights to forbid circumvention of\ntechnological measures.\n\n  4. Conveying Verbatim Copies.\n\n  You may convey verbatim copies of the Program's source code as you\nreceive it, in any medium, provided that you conspicuously and\nappropriately publish on each copy an appropriate copyright notice;\nkeep intact all notices stating that this License and any\nnon-permissive terms added in accord with section 7 apply to the code;\nkeep intact all notices of the absence of any warranty; and give all\nrecipients a copy of this License along with the Program.\n\n  You may charge any price or no price for each copy that you convey,\nand you may offer support or warranty protection for a fee.\n\n  5. Conveying Modified Source Versions.\n\n  You may convey a work based on the Program, or the modifications to\nproduce it from the Program, in the form of source code under the\nterms of section 4, provided that you also meet all of these conditions:\n\n    a) The work must carry prominent notices stating that you modified\n    it, and giving a relevant date.\n\n    b) The work must carry prominent notices stating that it is\n    released under this License and any conditions added under section\n    7.  This requirement modifies the requirement in section 4 to\n    \"keep intact all notices\".\n\n    c) You must license the entire work, as a whole, under this\n    License to anyone who comes into possession of a copy.  This\n    License will therefore apply, along with any applicable section 7\n    additional terms, to the whole of the work, and all its parts,\n    regardless of how they are packaged.  This License gives no\n    permission to license the work in any other way, but it does not\n    invalidate such permission if you have separately received it.\n\n    d) If the work has interactive user interfaces, each must display\n    Appropriate Legal Notices; however, if the Program has interactive\n    interfaces that do not display Appropriate Legal Notices, your\n    work need not make them do so.\n\n  A compilation of a covered work with other separate and independent\nworks, which are not by their nature extensions of the covered work,\nand which are not combined with it such as to form a larger program,\nin or on a volume of a storage or distribution medium, is called an\n\"aggregate\" if the compilation and its resulting copyright are not\nused to limit the access or legal rights of the compilation's users\nbeyond what the individual works permit.  Inclusion of a covered work\nin an aggregate does not cause this License to apply to the other\nparts of the aggregate.\n\n  6. Conveying Non-Source Forms.\n\n  You may convey a covered work in object code form under the terms\nof sections 4 and 5, provided that you also convey the\nmachine-readable Corresponding Source under the terms of this License,\nin one of these ways:\n\n    a) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by the\n    Corresponding Source fixed on a durable physical medium\n    customarily used for software interchange.\n\n    b) Convey the object code in, or embodied in, a physical product\n    (including a physical distribution medium), accompanied by a\n    written offer, valid for at least three years and valid for as\n    long as you offer spare parts or customer support for that product\n    model, to give anyone who possesses the object code either (1) a\n    copy of the Corresponding Source for all the software in the\n    product that is covered by this License, on a durable physical\n    medium customarily used for software interchange, for a price no\n    more than your reasonable cost of physically performing this\n    conveying of source, or (2) access to copy the\n    Corresponding Source from a network server at no charge.\n\n    c) Convey individual copies of the object code with a copy of the\n    written offer to provide the Corresponding Source.  This\n    alternative is allowed only occasionally and noncommercially, and\n    only if you received the object code with such an offer, in accord\n    with subsection 6b.\n\n    d) Convey the object code by offering access from a designated\n    place (gratis or for a charge), and offer equivalent access to the\n    Corresponding Source in the same way through the same place at no\n    further charge.  You need not require recipients to copy the\n    Corresponding Source along with the object code.  If the place to\n    copy the object code is a network server, the Corresponding Source\n    may be on a different server (operated by you or a third party)\n    that supports equivalent copying facilities, provided you maintain\n    clear directions next to the object code saying where to find the\n    Corresponding Source.  Regardless of what server hosts the\n    Corresponding Source, you remain obligated to ensure that it is\n    available for as long as needed to satisfy these requirements.\n\n    e) Convey the object code using peer-to-peer transmission, provided\n    you inform other peers where the object code and Corresponding\n    Source of the work are being offered to the general public at no\n    charge under subsection 6d.\n\n  A separable portion of the object code, whose source code is excluded\nfrom the Corresponding Source as a System Library, need not be\nincluded in conveying the object code work.\n\n  A \"User Product\" is either (1) a \"consumer product\", which means any\ntangible personal property which is normally used for personal, family,\nor household purposes, or (2) anything designed or sold for incorporation\ninto a dwelling.  In determining whether a product is a consumer product,\ndoubtful cases shall be resolved in favor of coverage.  For a particular\nproduct received by a particular user, \"normally used\" refers to a\ntypical or common use of that class of product, regardless of the status\nof the particular user or of the way in which the particular user\nactually uses, or expects or is expected to use, the product.  A product\nis a consumer product regardless of whether the product has substantial\ncommercial, industrial or non-consumer uses, unless such uses represent\nthe only significant mode of use of the product.\n\n  \"Installation Information\" for a User Product means any methods,\nprocedures, authorization keys, or other information required to install\nand execute modified versions of a covered work in that User Product from\na modified version of its Corresponding Source.  The information must\nsuffice to ensure that the continued functioning of the modified object\ncode is in no case prevented or interfered with solely because\nmodification has been made.\n\n  If you convey an object code work under this section in, or with, or\nspecifically for use in, a User Product, and the conveying occurs as\npart of a transaction in which the right of possession and use of the\nUser Product is transferred to the recipient in perpetuity or for a\nfixed term (regardless of how the transaction is characterized), the\nCorresponding Source conveyed under this section must be accompanied\nby the Installation Information.  But this requirement does not apply\nif neither you nor any third party retains the ability to install\nmodified object code on the User Product (for example, the work has\nbeen installed in ROM).\n\n  The requirement to provide Installation Information does not include a\nrequirement to continue to provide support service, warranty, or updates\nfor a work that has been modified or installed by the recipient, or for\nthe User Product in which it has been modified or installed.  Access to a\nnetwork may be denied when the modification itself materially and\nadversely affects the operation of the network or violates the rules and\nprotocols for communication across the network.\n\n  Corresponding Source conveyed, and Installation Information provided,\nin accord with this section must be in a format that is publicly\ndocumented (and with an implementation available to the public in\nsource code form), and must require no special password or key for\nunpacking, reading or copying.\n\n  7. Additional Terms.\n\n  \"Additional permissions\" are terms that supplement the terms of this\nLicense by making exceptions from one or more of its conditions.\nAdditional permissions that are applicable to the entire Program shall\nbe treated as though they were included in this License, to the extent\nthat they are valid under applicable law.  If additional permissions\napply only to part of the Program, that part may be used separately\nunder those permissions, but the entire Program remains governed by\nthis License without regard to the additional permissions.\n\n  When you convey a copy of a covered work, you may at your option\nremove any additional permissions from that copy, or from any part of\nit.  (Additional permissions may be written to require their own\nremoval in certain cases when you modify the work.)  You may place\nadditional permissions on material, added by you to a covered work,\nfor which you have or can give appropriate copyright permission.\n\n  Notwithstanding any other provision of this License, for material you\nadd to a covered work, you may (if authorized by the copyright holders of\nthat material) supplement the terms of this License with terms:\n\n    a) Disclaiming warranty or limiting liability differently from the\n    terms of sections 15 and 16 of this License; or\n\n    b) Requiring preservation of specified reasonable legal notices or\n    author attributions in that material or in the Appropriate Legal\n    Notices displayed by works containing it; or\n\n    c) Prohibiting misrepresentation of the origin of that material, or\n    requiring that modified versions of such material be marked in\n    reasonable ways as different from the original version; or\n\n    d) Limiting the use for publicity purposes of names of licensors or\n    authors of the material; or\n\n    e) Declining to grant rights under trademark law for use of some\n    trade names, trademarks, or service marks; or\n\n    f) Requiring indemnification of licensors and authors of that\n    material by anyone who conveys the material (or modified versions of\n    it) with contractual assumptions of liability to the recipient, for\n    any liability that these contractual assumptions directly impose on\n    those licensors and authors.\n\n  All other non-permissive additional terms are considered \"further\nrestrictions\" within the meaning of section 10.  If the Program as you\nreceived it, or any part of it, contains a notice stating that it is\ngoverned by this License along with a term that is a further\nrestriction, you may remove that term.  If a license document contains\na further restriction but permits relicensing or conveying under this\nLicense, you may add to a covered work material governed by the terms\nof that license document, provided that the further restriction does\nnot survive such relicensing or conveying.\n\n  If you add terms to a covered work in accord with this section, you\nmust place, in the relevant source files, a statement of the\nadditional terms that apply to those files, or a notice indicating\nwhere to find the applicable terms.\n\n  Additional terms, permissive or non-permissive, may be stated in the\nform of a separately written license, or stated as exceptions;\nthe above requirements apply either way.\n\n  8. Termination.\n\n  You may not propagate or modify a covered work except as expressly\nprovided under this License.  Any attempt otherwise to propagate or\nmodify it is void, and will automatically terminate your rights under\nthis License (including any patent licenses granted under the third\nparagraph of section 11).\n\n  However, if you cease all violation of this License, then your\nlicense from a particular copyright holder is reinstated (a)\nprovisionally, unless and until the copyright holder explicitly and\nfinally terminates your license, and (b) permanently, if the copyright\nholder fails to notify you of the violation by some reasonable means\nprior to 60 days after the cessation.\n\n  Moreover, your license from a particular copyright holder is\nreinstated permanently if the copyright holder notifies you of the\nviolation by some reasonable means, this is the first time you have\nreceived notice of violation of this License (for any work) from that\ncopyright holder, and you cure the violation prior to 30 days after\nyour receipt of the notice.\n\n  Termination of your rights under this section does not terminate the\nlicenses of parties who have received copies or rights from you under\nthis License.  If your rights have been terminated and not permanently\nreinstated, you do not qualify to receive new licenses for the same\nmaterial under section 10.\n\n  9. Acceptance Not Required for Having Copies.\n\n  You are not required to accept this License in order to receive or\nrun a copy of the Program.  Ancillary propagation of a covered work\noccurring solely as a consequence of using peer-to-peer transmission\nto receive a copy likewise does not require acceptance.  However,\nnothing other than this License grants you permission to propagate or\nmodify any covered work.  These actions infringe copyright if you do\nnot accept this License.  Therefore, by modifying or propagating a\ncovered work, you indicate your acceptance of this License to do so.\n\n  10. Automatic Licensing of Downstream Recipients.\n\n  Each time you convey a covered work, the recipient automatically\nreceives a license from the original licensors, to run, modify and\npropagate that work, subject to this License.  You are not responsible\nfor enforcing compliance by third parties with this License.\n\n  An \"entity transaction\" is a transaction transferring control of an\norganization, or substantially all assets of one, or subdividing an\norganization, or merging organizations.  If propagation of a covered\nwork results from an entity transaction, each party to that\ntransaction who receives a copy of the work also receives whatever\nlicenses to the work the party's predecessor in interest had or could\ngive under the previous paragraph, plus a right to possession of the\nCorresponding Source of the work from the predecessor in interest, if\nthe predecessor has it or can get it with reasonable efforts.\n\n  You may not impose any further restrictions on the exercise of the\nrights granted or affirmed under this License.  For example, you may\nnot impose a license fee, royalty, or other charge for exercise of\nrights granted under this License, and you may not initiate litigation\n(including a cross-claim or counterclaim in a lawsuit) alleging that\nany patent claim is infringed by making, using, selling, offering for\nsale, or importing the Program or any portion of it.\n\n  11. Patents.\n\n  A \"contributor\" is a copyright holder who authorizes use under this\nLicense of the Program or a work on which the Program is based.  The\nwork thus licensed is called the contributor's \"contributor version\".\n\n  A contributor's \"essential patent claims\" are all patent claims\nowned or controlled by the contributor, whether already acquired or\nhereafter acquired, that would be infringed by some manner, permitted\nby this License, of making, using, or selling its contributor version,\nbut do not include claims that would be infringed only as a\nconsequence of further modification of the contributor version.  For\npurposes of this definition, \"control\" includes the right to grant\npatent sublicenses in a manner consistent with the requirements of\nthis License.\n\n  Each contributor grants you a non-exclusive, worldwide, royalty-free\npatent license under the contributor's essential patent claims, to\nmake, use, sell, offer for sale, import and otherwise run, modify and\npropagate the contents of its contributor version.\n\n  In the following three paragraphs, a \"patent license\" is any express\nagreement or commitment, however denominated, not to enforce a patent\n(such as an express permission to practice a patent or covenant not to\nsue for patent infringement).  To \"grant\" such a patent license to a\nparty means to make such an agreement or commitment not to enforce a\npatent against the party.\n\n  If you convey a covered work, knowingly relying on a patent license,\nand the Corresponding Source of the work is not available for anyone\nto copy, free of charge and under the terms of this License, through a\npublicly available network server or other readily accessible means,\nthen you must either (1) cause the Corresponding Source to be so\navailable, or (2) arrange to deprive yourself of the benefit of the\npatent license for this particular work, or (3) arrange, in a manner\nconsistent with the requirements of this License, to extend the patent\nlicense to downstream recipients.  \"Knowingly relying\" means you have\nactual knowledge that, but for the patent license, your conveying the\ncovered work in a country, or your recipient's use of the covered work\nin a country, would infringe one or more identifiable patents in that\ncountry that you have reason to believe are valid.\n\n  If, pursuant to or in connection with a single transaction or\narrangement, you convey, or propagate by procuring conveyance of, a\ncovered work, and grant a patent license to some of the parties\nreceiving the covered work authorizing them to use, propagate, modify\nor convey a specific copy of the covered work, then the patent license\nyou grant is automatically extended to all recipients of the covered\nwork and works based on it.\n\n  A patent license is \"discriminatory\" if it does not include within\nthe scope of its coverage, prohibits the exercise of, or is\nconditioned on the non-exercise of one or more of the rights that are\nspecifically granted under this License.  You may not convey a covered\nwork if you are a party to an arrangement with a third party that is\nin the business of distributing software, under which you make payment\nto the third party based on the extent of your activity of conveying\nthe work, and under which the third party grants, to any of the\nparties who would receive the covered work from you, a discriminatory\npatent license (a) in connection with copies of the covered work\nconveyed by you (or copies made from those copies), or (b) primarily\nfor and in connection with specific products or compilations that\ncontain the covered work, unless you entered into that arrangement,\nor that patent license was granted, prior to 28 March 2007.\n\n  Nothing in this License shall be construed as excluding or limiting\nany implied license or other defenses to infringement that may\notherwise be available to you under applicable patent law.\n\n  12. No Surrender of Others' Freedom.\n\n  If conditions are imposed on you (whether by court order, agreement or\notherwise) that contradict the conditions of this License, they do not\nexcuse you from the conditions of this License.  If you cannot convey a\ncovered work so as to satisfy simultaneously your obligations under this\nLicense and any other pertinent obligations, then as a consequence you may\nnot convey it at all.  For example, if you agree to terms that obligate you\nto collect a royalty for further conveying from those to whom you convey\nthe Program, the only way you could satisfy both those terms and this\nLicense would be to refrain entirely from conveying the Program.\n\n  13. Remote Network Interaction; Use with the GNU General Public License.\n\n  Notwithstanding any other provision of this License, if you modify the\nProgram, your modified version must prominently offer all users\ninteracting with it remotely through a computer network (if your version\nsupports such interaction) an opportunity to receive the Corresponding\nSource of your version by providing access to the Corresponding Source\nfrom a network server at no charge, through some standard or customary\nmeans of facilitating copying of software.  This Corresponding Source\nshall include the Corresponding Source for any work covered by version 3\nof the GNU General Public License that is incorporated pursuant to the\nfollowing paragraph.\n\n  Notwithstanding any other provision of this License, you have\npermission to link or combine any covered work with a work licensed\nunder version 3 of the GNU General Public License into a single\ncombined work, and to convey the resulting work.  The terms of this\nLicense will continue to apply to the part which is the covered work,\nbut the work with which it is combined will remain governed by version\n3 of the GNU General Public License.\n\n  14. Revised Versions of this License.\n\n  The Free Software Foundation may publish revised and/or new versions of\nthe GNU Affero General Public License from time to time.  Such new versions\nwill be similar in spirit to the present version, but may differ in detail to\naddress new problems or concerns.\n\n  Each version is given a distinguishing version number.  If the\nProgram specifies that a certain numbered version of the GNU Affero General\nPublic License \"or any later version\" applies to it, you have the\noption of following the terms and conditions either of that numbered\nversion or of any later version published by the Free Software\nFoundation.  If the Program does not specify a version number of the\nGNU Affero General Public License, you may choose any version ever published\nby the Free Software Foundation.\n\n  If the Program specifies that a proxy can decide which future\nversions of the GNU Affero General Public License can be used, that proxy's\npublic statement of acceptance of a version permanently authorizes you\nto choose that version for the Program.\n\n  Later license versions may give you additional or different\npermissions.  However, no additional obligations are imposed on any\nauthor or copyright holder as a result of your choosing to follow a\nlater version.\n\n  15. Disclaimer of Warranty.\n\n  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY\nAPPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT\nHOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY\nOF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,\nTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\nPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM\nIS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF\nALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n\n  16. Limitation of Liability.\n\n  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\nWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS\nTHE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY\nGENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE\nUSE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF\nDATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD\nPARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),\nEVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF\nSUCH DAMAGES.\n\n  17. Interpretation of Sections 15 and 16.\n\n  If the disclaimer of warranty and limitation of liability provided\nabove cannot be given local legal effect according to their terms,\nreviewing courts shall apply local law that most closely approximates\nan absolute waiver of all civil liability in connection with the\nProgram, unless a warranty or assumption of liability accompanies a\ncopy of the Program in return for a fee.\n\n                     END OF TERMS AND CONDITIONS\n\n            How to Apply These Terms to Your New Programs\n\n  If you develop a new program, and you want it to be of the greatest\npossible use to the public, the best way to achieve this is to make it\nfree software which everyone can redistribute and change under these terms.\n\n  To do so, attach the following notices to the program.  It is safest\nto attach them to the start of each source file to most effectively\nstate the exclusion of warranty; and each file should have at least\nthe \"copyright\" line and a pointer to where the full notice is found.\n\n    <one line to give the program's name and a brief idea of what it does.>\n    Copyright (C) <year>  <name of author>\n\n    This program is free software: you can redistribute it and/or modify\n    it under the terms of the GNU Affero 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 Affero General Public License for more details.\n\n    You should have received a copy of the GNU Affero General Public License\n    along with this program.  If not, see <https://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\n  If your software can interact with users remotely through a computer\nnetwork, you should also make sure that it provides a way for users to\nget its source.  For example, if your program is a web application, its\ninterface could display a \"Source\" link that leads users to an archive\nof the code.  There are many ways you could offer source, and different\nsolutions will be better for different programs; see section 13 for the\nspecific requirements.\n\n  You should also get your employer (if you work as a programmer) or school,\nif any, to sign a \"copyright disclaimer\" for the program, if necessary.\nFor more information on this, and how to apply and follow the GNU AGPL, see\n<https://www.gnu.org/licenses/>.\n"
  },
  {
    "path": "README.md",
    "content": "# ReCalendar\n### Highly customizable calendar for ReMarkable tablets\n\nReCalendar allows you to generate your own, personalized calendar right in your browser. You can view the live, production version at https://recalendar.me/.\n\nIt is the continuation of my previous efforts: https://github.com/klimeryk/recalendar. Although, basically all of the code had to be rewritten as I'm using a different PDF library, CSS engine, language, etc.\n\n## Features\n\nSee https://recalendar.me/features for a full list with screenshots.\n\n - Optimized for the [ReMarkable 2 tablet](https://remarkable.com/store/remarkable-2) (should work with version 1 as well) to use the full space available and minimize screen refreshes.\n - No hacks needed - the generated PDF is a normal file, with links, etc. that you can simply upload normally to your tablet.\n - Heavy use of links to allow quick and easy navigation.\n - Lots of easy configuration options to tailor the calendar to your needs - plus access to the source code for even more advanced customization.\n - Easily switch to any locale supported by PHP.\n - Add extra pages to all or selected days of the week to suit your needs.\n - Provide a list of special dates (anniversaries, birthdays, etc.) and let ReCalendar embed them into your personalized calendar - on monthly views, weekly overviews and finally, day entries.\n - Track your habits monthly.\n - Start the \"year\" on arbitrary month (can be useful for tracking academic years, etc.).\n\n## Quickstart for developers/contributors\n\n[Vite](https://vitejs.dev/) is used for development. Make sure you use `nvm` or a compatible solution to use the correct Node version.\n\n```\nnvm use\nnpm install\nnpm run dev\n```\n\n## Known issues\n\nSee the [FAQ](https://recalendar.me/faq) and [the open issues on GitHub](https://github.com/klimeryk/recalendar.js/issues).\n\n## License\n\n[GNU AGPLv3 License](https://github.com/klimeryk/recalendar.js/blob/main/LICENSE). In particular, this means that you can do what you want with this code, but *you have to publish your changes with the same license*. Please consider submitting a PR, if you have an idea for a great improvement! 🙏 My main motivation was to scratch my own itch, but as a result I might have missed your use case so I'm happy to hear how this project can be improved 🙇\n"
  },
  {
    "path": "SCREENSHOTS.md",
    "content": "<img width=\"460\" alt=\"Screenshot 2021-12-28 at 19 21 53\" src=\"https://user-images.githubusercontent.com/3392497/147599973-544bf9d9-f77f-4559-9e18-a278c1b4fe7d.png\">\n<img width=\"460\" alt=\"Screenshot 2021-12-28 at 19 21 53\" src=\"https://user-images.githubusercontent.com/3392497/147600349-77188ea9-5166-40ec-9213-5ed2989d3e0c.png\">\n<img width=\"460\" alt=\"Screenshot 2021-12-28 at 19 21 53\" src=\"https://user-images.githubusercontent.com/3392497/147600647-5547ea30-73ed-465a-bed6-b6ff88048652.png\">\n<img width=\"508\" alt=\"Screenshot 2021-12-28 at 19 42 08\" src=\"https://user-images.githubusercontent.com/3392497/147601485-fefb8ab1-6bb8-4e05-9502-b64c7198b5fa.png\">\n<img width=\"702\" alt=\"Screenshot 2021-12-28 at 19 43 17\" src=\"https://user-images.githubusercontent.com/3392497/147601560-915ea117-e689-4838-b064-68412a4fa464.png\">\n<img width=\"569\" alt=\"Screenshot 2021-12-28 at 19 45 24\" src=\"https://user-images.githubusercontent.com/3392497/147601689-9fb0999b-a1a5-485e-84aa-d0c2633d11dd.png\">\n<img width=\"741\" alt=\"Screenshot 2021-12-28 at 19 46 30\" src=\"https://user-images.githubusercontent.com/3392497/147601756-0998062f-d133-43b0-b643-98d925264b69.png\">\n<img width=\"741\" alt=\"Screenshot 2021-12-28 at 19 47 29\" src=\"https://user-images.githubusercontent.com/3392497/147601817-743f0ce0-488a-4744-bfcf-4f956e80ef53.png\">\n"
  },
  {
    "path": "TRANSLATIONS.md",
    "content": "## How to translate ReCalendar to your language\n\n### If you're not a developer\n\n - Grab the `*.json` files from this folder: https://github.com/klimeryk/recalendar.js/tree/master/src/locales/en\n - They contain the strings that need to be translated to your language.\n - The format is simple: `\"key\": \"value\"`. Key should _not_ be translated, only `value`.\n - [Check for existing issues for your language](https://github.com/klimeryk/recalendar.js/labels/language%20request) or open a new one and share the files there.\n\n### For developers\n\n - Copy the `en` folder from https://github.com/klimeryk/recalendar.js/tree/master/src/locales/ and rename it to the appropriate locale. It has to match the locale that [day.js](https://day.js.org/docs/en/i18n/i18n) supports. The list is available [here](https://github.com/iamkun/dayjs/tree/dev/src/locale).\n - Translate the strings in each `*.json` file, as described in the above section.\n - Add your language to [the English `app.json` file, `language` section](https://github.com/klimeryk/recalendar.js/blob/master/src/locales/en/app.json). Add it as you'd write it in _your_ language. See the existing examples there. So, for the Polish language I'd put `Polski`, _not_ `Polish`. This follows [best practices](https://ux.stackexchange.com/a/37025/45864) for language selectors.\n - You should now be able to see the language in your local, development version.\n - Check the console for any warnings or errors if the language is not visible or not working.\n"
  },
  {
    "path": "create.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n  <head>\n    <meta charset=\"UTF-8\" />\n    <meta\n        name=\"description\"\n        content=\"Create your personalized calendar PDF for ReMarkable tablets\"\n        />\n    <link rel=\"icon\" href=\"/favicon.ico\" />\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n    <title>ReCalendar - personalized calendar PDFs for ReMarkable tablets</title>\n  </head>\n  <body>\n    <div id=\"root\"></div>\n    <noscript>You need to enable JavaScript to run this app - but it's worth it! The PDF is generated in your browser, no data is sent to the server.</noscript>\n    <script type=\"module\" src=\"/src/index.jsx\"></script>\n  </body>\n</html>\n"
  },
  {
    "path": "package.json",
    "content": "{\n  \"name\": \"recalendar.js\",\n  \"private\": true,\n  \"version\": \"2.0.0\",\n  \"type\": \"module\",\n  \"scripts\": {\n    \"dev\": \"vite\",\n    \"build\": \"tsc && vite build\",\n    \"lint\": \"eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0\",\n    \"preview\": \"vite preview\"\n  },\n  \"dependencies\": {\n    \"@dnd-kit/core\": \"^6.1.0\",\n    \"@dnd-kit/sortable\": \"^8.0.0\",\n    \"@react-pdf/renderer\": \"^4.0.0\",\n    \"bootstrap\": \"^5.3.3\",\n    \"dayjs\": \"^1.11.11\",\n    \"file-saver\": \"^2.0.5\",\n    \"i18next\": \"^23.11.5\",\n    \"i18next-browser-languagedetector\": \"^8.0.0\",\n    \"ical.js\": \"^2.0.1\",\n    \"nanoid\": \"^5.0.7\",\n    \"pdf-lib\": \"^1.17.1\",\n    \"prop-types\": \"^15.8.1\",\n    \"react\": \"^18.2.0\",\n    \"react-bootstrap\": \"^2.10.2\",\n    \"react-dom\": \"^18.2.0\",\n    \"react-i18next\": \"^14.1.2\"\n  },\n  \"devDependencies\": {\n    \"@types/node\": \"^20.14.5\",\n    \"@types/react\": \"^18.2.66\",\n    \"@types/react-dom\": \"^18.2.22\",\n    \"@typescript-eslint/eslint-plugin\": \"^7.2.0\",\n    \"@typescript-eslint/parser\": \"^7.2.0\",\n    \"@vitejs/plugin-react\": \"^4.2.1\",\n    \"eslint\": \"^8.57.0\",\n    \"eslint-config-prettier\": \"^9.1.0\",\n    \"eslint-import-resolver-typescript\": \"^3.6.1\",\n    \"eslint-plugin-import\": \"^2.29.1\",\n    \"eslint-plugin-prettier\": \"^5.1.3\",\n    \"eslint-plugin-react\": \"^7.34.3\",\n    \"eslint-plugin-react-hooks\": \"^4.6.0\",\n    \"eslint-plugin-react-refresh\": \"^0.4.6\",\n    \"prettier\": \"^3.3.2\",\n    \"typescript\": \"^5.2.2\",\n    \"vite\": \"^5.2.0\",\n    \"vite-plugin-i18next-loader\": \"^2.0.12\"\n  }\n}\n"
  },
  {
    "path": "public/faq.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n\t<head>\n\t\t<meta charset=\"utf-8\" />\n\t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n\n\t\t<link\n\t\t\thref=\"https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css\"\n\t\t\trel=\"stylesheet\"\n\t\t\tintegrity=\"sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3\"\n\t\t\tcrossorigin=\"anonymous\"\n\t\t/>\n\n\t\t<title>ReCalendar - Frequently Asked Questions</title>\n\t</head>\n\t<body>\n\t\t<nav class=\"navbar navbar-expand-md navbar-dark bg-dark\">\n\t\t\t<div class=\"container-fluid\">\n\t\t\t\t<a href=\"/\" class=\"navbar-brand\">ReCalendar</a>\n\t\t\t\t<button\n\t\t\t\t\tclass=\"navbar-toggler\"\n\t\t\t\t\ttype=\"button\"\n\t\t\t\t\tdata-bs-toggle=\"collapse\"\n\t\t\t\t\tdata-bs-target=\"#navbarSupportedContent\"\n\t\t\t\t\taria-controls=\"navbarSupportedContent\"\n\t\t\t\t\taria-expanded=\"false\"\n\t\t\t\t\taria-label=\"Toggle navigation\"\n\t\t\t\t>\n\t\t\t\t\t<span class=\"navbar-toggler-icon\"></span>\n\t\t\t\t</button>\n\t\t\t\t<div class=\"navbar-collapse collapse\" id=\"navbarSupportedContent\">\n\t\t\t\t\t<div class=\"me-auto navbar-nav nav-pills\">\n\t\t\t\t\t\t<div class=\"nav-item\">\n\t\t\t\t\t\t\t<a href=\"/\" class=\"nav-link\">Home</a>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class=\"nav-item\">\n\t\t\t\t\t\t\t<a href=\"/create\" class=\"nav-link\">Create your calendar</a>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class=\"nav-item\">\n\t\t\t\t\t\t\t<a href=\"/features\" aria-current=\"page\" class=\"nav-link\"\n\t\t\t\t\t\t\t\t>Features</a\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class=\"nav-item\">\n\t\t\t\t\t\t\t<a href=\"/faq\" class=\"active nav-link\">FAQ</a>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</nav>\n\t\t<div class=\"mt-3 container\">\n\t\t\t<div class=\"row\">\n\t\t\t\t<div class=\"col\">\n\t\t\t\t\t<h4>FAQ</h4>\n\t\t\t\t\t<ul>\n\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t<b>It's slow to generate the full calendar</b> It's a trade-off -\n\t\t\t\t\t\t\tall the work is done in your browser (your data is safe with\n\t\t\t\t\t\t\tyou!), but the speed depends on your device. Make sure your\n\t\t\t\t\t\t\tbrowser is up-to-date and maybe close some tabs ;) You most likely\n\t\t\t\t\t\t\twill only need to generate the full calendar once a year, so I\n\t\t\t\t\t\t\tthink it's a fair trade-off.\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t<b>Do you support device X?</b> Not yet, but that's because I only\n\t\t\t\t\t\t\thave a ReMarkable tablet! Please\n\t\t\t\t\t\t\t<a\n\t\t\t\t\t\t\t\thref=\"https://github.com/klimeryk/recalendar.js/issues/\"\n\t\t\t\t\t\t\t\ttarget=\"_blank\"\n\t\t\t\t\t\t\t\trel=\"noopener noreferrer\"\n\t\t\t\t\t\t\t\t>open a new issue on GitHub</a\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\twith the details of your device and I'll try to add support for\n\t\t\t\t\t\t\tit.\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t<b>My language is not supported</b> Please\n\t\t\t\t\t\t\t<a\n\t\t\t\t\t\t\t\thref=\"https://github.com/klimeryk/recalendar.js/labels/language%20request\"\n\t\t\t\t\t\t\t\ttarget=\"_blank\"\n\t\t\t\t\t\t\t\trel=\"noopener noreferrer\"\n\t\t\t\t\t\t\t\t>check on GitHub</a\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\tif there's an open issue tracking your language. Upvote it to\n\t\t\t\t\t\t\trecord your interest. Or better yet -\n\t\t\t\t\t\t\t<a\n\t\t\t\t\t\t\t\thref=\"https://github.com/klimeryk/recalendar.js/blob/master/TRANSLATIONS.md\"\n\t\t\t\t\t\t\t\ttarget=\"_blank\"\n\t\t\t\t\t\t\t\trel=\"noopener noreferrer\"\n\t\t\t\t\t\t\t\t>help translate it</a\n\t\t\t\t\t\t\t>!\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t<b>Where do I report issues?</b> Please do it on the\n\t\t\t\t\t\t\t<a\n\t\t\t\t\t\t\t\thref=\"https://github.com/klimeryk/recalendar.js/\"\n\t\t\t\t\t\t\t\ttarget=\"_blank\"\n\t\t\t\t\t\t\t\trel=\"noopener noreferrer\"\n\t\t\t\t\t\t\t\t>GitHub project</a\n\t\t\t\t\t\t\t>.\n\t\t\t\t\t\t</li>\n\t\t\t\t\t</ul>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class=\"row\">\n\t\t\t\t<div class=\"col\">\n\t\t\t\t\t<footer class=\"mb-3\">\n\t\t\t\t\t\t<div class=\"text-muted text-center\">\n\t\t\t\t\t\t\tCreated by\n\t\t\t\t\t\t\t<a\n\t\t\t\t\t\t\t\thref=\"https://klimer.eu/\"\n\t\t\t\t\t\t\t\ttarget=\"_blank\"\n\t\t\t\t\t\t\t\trel=\"noopener noreferrer\"\n\t\t\t\t\t\t\t\t>Igor Klimer</a\n\t\t\t\t\t\t\t>.\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</footer>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\n\t\t<script\n\t\t\tsrc=\"https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.min.js\"\n\t\t\tintegrity=\"sha384-QJHtvGhmr9XOIpI6YVutG+2QOK9T+ZnN4kzFN1RtK3zEFEIsxhlmWl5/YESvpZ13\"\n\t\t\tcrossorigin=\"anonymous\"\n\t\t></script>\n\t</body>\n</html>\n"
  },
  {
    "path": "public/features.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n\t<head>\n\t\t<meta charset=\"utf-8\" />\n\t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n\n\t\t<link\n\t\t\thref=\"https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css\"\n\t\t\trel=\"stylesheet\"\n\t\t\tintegrity=\"sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3\"\n\t\t\tcrossorigin=\"anonymous\"\n\t\t/>\n\n\t\t<title>ReCalendar - Features</title>\n\t</head>\n\t<body>\n\t\t<nav class=\"navbar navbar-expand-md navbar-dark bg-dark\">\n\t\t\t<div class=\"container-fluid\">\n\t\t\t\t<a href=\"/\" class=\"navbar-brand\">ReCalendar</a>\n\t\t\t\t<button\n\t\t\t\t\tclass=\"navbar-toggler\"\n\t\t\t\t\ttype=\"button\"\n\t\t\t\t\tdata-bs-toggle=\"collapse\"\n\t\t\t\t\tdata-bs-target=\"#navbarSupportedContent\"\n\t\t\t\t\taria-controls=\"navbarSupportedContent\"\n\t\t\t\t\taria-expanded=\"false\"\n\t\t\t\t\taria-label=\"Toggle navigation\"\n\t\t\t\t>\n\t\t\t\t\t<span class=\"navbar-toggler-icon\"></span>\n\t\t\t\t</button>\n\t\t\t\t<div class=\"navbar-collapse collapse\" id=\"navbarSupportedContent\">\n\t\t\t\t\t<div class=\"me-auto navbar-nav nav-pills\">\n\t\t\t\t\t\t<div class=\"nav-item\">\n\t\t\t\t\t\t\t<a href=\"/\" class=\"nav-link\">Home</a>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class=\"nav-item\">\n\t\t\t\t\t\t\t<a href=\"/create\" class=\"nav-link\">Create your calendar</a>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class=\"nav-item\">\n\t\t\t\t\t\t\t<a href=\"/features\" aria-current=\"page\" class=\"active nav-link\"\n\t\t\t\t\t\t\t\t>Features</a\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class=\"nav-item\">\n\t\t\t\t\t\t\t<a href=\"/faq\" class=\"nav-link\">FAQ</a>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</nav>\n\t\t<div class=\"my-3 container\">\n\t\t\t<div class=\"row-cols-1 row-cols-sm-2 row-cols-md-4 row\">\n\t\t\t\t<div class=\"mt-3 col\">\n\t\t\t\t\t<div class=\"card h-100\">\n\t\t\t\t\t\t<img\n\t\t\t\t\t\t\tclass=\"card-img-top\"\n\t\t\t\t\t\t\tsrc=\"https://user-images.githubusercontent.com/3392497/147599973-544bf9d9-f77f-4559-9e18-a278c1b4fe7d.png\"\n\t\t\t\t\t\t\talt=\"ReCalendar on ReMarkable tablet\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<div class=\"card-body\">\n\t\t\t\t\t\t\t<div class=\"card-title h5\">Optimized for ReMarkable</div>\n\t\t\t\t\t\t\t<p class=\"card-text\">\n\t\t\t\t\t\t\t\tUse the full space available. Minimize screen refreshes thanks\n\t\t\t\t\t\t\t\tto a simple and stable layout.\n\t\t\t\t\t\t\t</p>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t<div class=\"mt-3 col\">\n\t\t\t\t\t<div class=\"card h-100\">\n\t\t\t\t\t\t<img\n\t\t\t\t\t\t\tclass=\"card-img-top\"\n\t\t\t\t\t\t\tsrc=\"https://user-images.githubusercontent.com/3392497/147600349-77188ea9-5166-40ec-9213-5ed2989d3e0c.png\"\n\t\t\t\t\t\t\talt=\"ReCalendar PDF on ReMarkable tablet\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<div class=\"card-body\">\n\t\t\t\t\t\t\t<div class=\"card-title h5\">No hacks needed</div>\n\t\t\t\t\t\t\t<p class=\"card-text\">\n\t\t\t\t\t\t\t\tThe generated PDF is a normal file, with links, etc. that you\n\t\t\t\t\t\t\t\tcan simply upload normally to your tablet.\n\t\t\t\t\t\t\t</p>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t<div class=\"mt-3 col\">\n\t\t\t\t\t<div class=\"card h-100\">\n\t\t\t\t\t\t<img\n\t\t\t\t\t\t\tclass=\"card-img-top\"\n\t\t\t\t\t\t\tsrc=\"https://user-images.githubusercontent.com/3392497/147600647-5547ea30-73ed-465a-bed6-b6ff88048652.png\"\n\t\t\t\t\t\t\talt=\"Open Source Initiative logo\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<div class=\"card-body\">\n\t\t\t\t\t\t\t<div class=\"card-title h5\">\n\t\t\t\t\t\t\t\tFree, privacy-first and open-source\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<p class=\"card-text\">\n\t\t\t\t\t\t\t\tThis service will always be free. Your calendar data never is\n\t\t\t\t\t\t\t\tsent to our servers. You can view the full source code.\n\t\t\t\t\t\t\t</p>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t<div class=\"mt-3 col\">\n\t\t\t\t\t<div class=\"card h-100\">\n\t\t\t\t\t\t<img\n\t\t\t\t\t\t\tclass=\"card-img-top\"\n\t\t\t\t\t\t\tsrc=\"https://user-images.githubusercontent.com/3392497/147601485-fefb8ab1-6bb8-4e05-9502-b64c7198b5fa.png\"\n\t\t\t\t\t\t\talt=\"Links across ReCalendar\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<div class=\"card-body\">\n\t\t\t\t\t\t\t<div class=\"card-title h5\">\n\t\t\t\t\t\t\t\tLinks for quick and easy navigation\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<p class=\"card-text\">\n\t\t\t\t\t\t\t\tEverything that could is automatically cross-linked. Quickly\n\t\t\t\t\t\t\t\tmove from the month overview, to the given week, specific date.\n\t\t\t\t\t\t\t\tEach day has a mini calendar to quickly navigate throughout the\n\t\t\t\t\t\t\t\tcurrent month as well.\n\t\t\t\t\t\t\t</p>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t<div class=\"mt-3 col\">\n\t\t\t\t\t<div class=\"card h-100\">\n\t\t\t\t\t\t<img\n\t\t\t\t\t\t\tclass=\"card-img-top\"\n\t\t\t\t\t\t\tsrc=\"https://user-images.githubusercontent.com/3392497/147601560-915ea117-e689-4838-b064-68412a4fa464.png\"\n\t\t\t\t\t\t\talt=\"Screenshot of the configurator\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<div class=\"card-body\">\n\t\t\t\t\t\t\t<div class=\"card-title h5\">Make it yours</div>\n\t\t\t\t\t\t\t<p class=\"card-text\">\n\t\t\t\t\t\t\t\tUsing the intuitive configurator, you can customize ReCalendar\n\t\t\t\t\t\t\t\texactly to your needs.\n\t\t\t\t\t\t\t</p>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t<div class=\"mt-3 col\">\n\t\t\t\t\t<div class=\"card h-100\">\n\t\t\t\t\t\t<img\n\t\t\t\t\t\t\tclass=\"card-img-top\"\n\t\t\t\t\t\t\tsrc=\"https://user-images.githubusercontent.com/3392497/147601689-9fb0999b-a1a5-485e-84aa-d0c2633d11dd.png\"\n\t\t\t\t\t\t\talt=\"ReCalendar in Polish language\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<div class=\"card-body\">\n\t\t\t\t\t\t\t<div class=\"card-title h5\">Full internationalization support</div>\n\t\t\t\t\t\t\t<p class=\"card-text\">\n\t\t\t\t\t\t\t\tSelect a different first day of the week. Pick a different first\n\t\t\t\t\t\t\t\tmonth of the calendar. Create the calendar in your language. If\n\t\t\t\t\t\t\t\tyour language is not supported, please\n\t\t\t\t\t\t\t\t<a\n\t\t\t\t\t\t\t\t\thref=\"https://github.com/klimeryk/recalendar.js/issues/\"\n\t\t\t\t\t\t\t\t\ttarget=\"_blank\"\n\t\t\t\t\t\t\t\t\trel=\"noopener noreferrer\"\n\t\t\t\t\t\t\t\t\t>open a new issue on GitHub</a\n\t\t\t\t\t\t\t\t>.\n\t\t\t\t\t\t\t</p>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t<div class=\"mt-3 col\">\n\t\t\t\t\t<div class=\"card h-100\">\n\t\t\t\t\t\t<img\n\t\t\t\t\t\t\tclass=\"card-img-top\"\n\t\t\t\t\t\t\tsrc=\"https://user-images.githubusercontent.com/3392497/147601756-0998062f-d133-43b0-b643-98d925264b69.png\"\n\t\t\t\t\t\t\talt=\"Special dates in ReCalendar\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<div class=\"card-body\">\n\t\t\t\t\t\t\t<div class=\"card-title h5\">Special dates</div>\n\t\t\t\t\t\t\t<p class=\"card-text\">\n\t\t\t\t\t\t\t\tHighlight special dates in your calendar - birthdays,\n\t\t\t\t\t\t\t\tanniversaries, holidays and other celebrations. They'll\n\t\t\t\t\t\t\t\tautomatically appear in many place to make sure you won't forget\n\t\t\t\t\t\t\t\tabout them!\n\t\t\t\t\t\t\t</p>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t<div class=\"mt-3 col\">\n\t\t\t\t\t<div class=\"card h-100\">\n\t\t\t\t\t\t<img\n\t\t\t\t\t\t\tclass=\"card-img-top\"\n\t\t\t\t\t\t\tsrc=\"https://user-images.githubusercontent.com/3392497/147601817-743f0ce0-488a-4744-bfcf-4f956e80ef53.png\"\n\t\t\t\t\t\t\talt=\"Monthly overview showing habits table\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<div class=\"card-body\">\n\t\t\t\t\t\t\t<div class=\"card-title h5\">Track monthly habits</div>\n\t\t\t\t\t\t\t<p class=\"card-text\">\n\t\t\t\t\t\t\t\tSpecial section on the month overview allows you to track any\n\t\t\t\t\t\t\t\thabits you'd like to maintain.\n\t\t\t\t\t\t\t</p>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t<div class=\"mt-3 col\">\n\t\t\t\t\t<div class=\"card h-100\">\n\t\t\t\t\t\t<img\n\t\t\t\t\t\t\tclass=\"card-img-top\"\n\t\t\t\t\t\t\tsrc=\"https://user-images.githubusercontent.com/3392497/147795770-dc23c263-0bd6-423c-a238-f6ab9b77d137.png\"\n\t\t\t\t\t\t\talt=\"PDF icon\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<div class=\"card-body\">\n\t\t\t\t\t\t\t<div class=\"card-title h5\">Customizations stay with you</div>\n\t\t\t\t\t\t\t<p class=\"card-text\">\n\t\t\t\t\t\t\t\tWhen you generate your ReCalendar, the customizations you've\n\t\t\t\t\t\t\t\tmade are embedded in the PDF. So next year (or whenever you\n\t\t\t\t\t\t\t\twant!), you can simply upload the same PDF, ReCalendar will\n\t\t\t\t\t\t\t\tdetect and automatically apply the same customizations. Tweak\n\t\t\t\t\t\t\t\tthem, if needed, and you can quickly generate a new calendar to\n\t\t\t\t\t\t\t\tyour liking!\n\t\t\t\t\t\t\t</p>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class=\"row\">\n\t\t\t\t<div class=\"col\">\n\t\t\t\t\t<footer class=\"mb-3\">\n\t\t\t\t\t\t<div class=\"text-muted text-center\">\n\t\t\t\t\t\t\tCreated by\n\t\t\t\t\t\t\t<a\n\t\t\t\t\t\t\t\thref=\"https://klimer.eu/\"\n\t\t\t\t\t\t\t\ttarget=\"_blank\"\n\t\t\t\t\t\t\t\trel=\"noopener noreferrer\"\n\t\t\t\t\t\t\t\t>Igor Klimer</a\n\t\t\t\t\t\t\t>.\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</footer>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\n\t\t<script\n\t\t\tsrc=\"https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.min.js\"\n\t\t\tintegrity=\"sha384-QJHtvGhmr9XOIpI6YVutG+2QOK9T+ZnN4kzFN1RtK3zEFEIsxhlmWl5/YESvpZ13\"\n\t\t\tcrossorigin=\"anonymous\"\n\t\t></script>\n\t</body>\n</html>\n"
  },
  {
    "path": "public/index.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n\t<head>\n\t\t<meta charset=\"utf-8\" />\n\t\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n\t\t<meta\n\t\t\tname=\"description\"\n\t\t\tcontent=\"Create your personalized calendar PDF for ReMarkable tablets\"\n\t\t/>\n\n\t\t<link\n\t\t\thref=\"https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css\"\n\t\t\trel=\"stylesheet\"\n\t\t\tintegrity=\"sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3\"\n\t\t\tcrossorigin=\"anonymous\"\n\t\t/>\n\n\t\t<title>\n\t\t\tReCalendar - personalized calendar PDFs for ReMarkable tablets\n\t\t</title>\n\t</head>\n\t<body>\n\t\t<nav class=\"navbar navbar-expand-md navbar-dark bg-dark\">\n\t\t\t<div class=\"container-fluid\">\n\t\t\t\t<a href=\"/\" class=\"navbar-brand\">ReCalendar</a>\n\t\t\t\t<button\n\t\t\t\t\tclass=\"navbar-toggler\"\n\t\t\t\t\ttype=\"button\"\n\t\t\t\t\tdata-bs-toggle=\"collapse\"\n\t\t\t\t\tdata-bs-target=\"#navbarSupportedContent\"\n\t\t\t\t\taria-controls=\"navbarSupportedContent\"\n\t\t\t\t\taria-expanded=\"false\"\n\t\t\t\t\taria-label=\"Toggle navigation\"\n\t\t\t\t>\n\t\t\t\t\t<span class=\"navbar-toggler-icon\" />\n\t\t\t\t</button>\n\t\t\t\t<div class=\"navbar-collapse collapse\" id=\"navbarSupportedContent\">\n\t\t\t\t\t<div class=\"me-auto navbar-nav nav-pills\">\n\t\t\t\t\t\t<div class=\"nav-item\">\n\t\t\t\t\t\t\t<a href=\"/\" class=\"active nav-link\">Home</a>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class=\"nav-item\">\n\t\t\t\t\t\t\t<a href=\"/create\" class=\"nav-link\">Create your calendar</a>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class=\"nav-item\">\n\t\t\t\t\t\t\t<a href=\"/features\" class=\"nav-link\">Features</a>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class=\"nav-item\">\n\t\t\t\t\t\t\t<a href=\"/faq\" class=\"nav-link\">FAQ</a>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</nav>\n\t\t<div class=\"mt-3 container\">\n\t\t\t<div class=\"row\">\n\t\t\t\t<div class=\"col\">\n\t\t\t\t\t<div class=\"bg-light p-5 rounded-3 my-3\">\n\t\t\t\t\t\t<h1 class=\"display-5\">ReCalendar</h1>\n\t\t\t\t\t\t<p class=\"lead\">\n\t\t\t\t\t\t\tCreate your personalized calendar PDF for ReMarkable tablets\n\t\t\t\t\t\t</p>\n\t\t\t\t\t\t<p>\n\t\t\t\t\t\t\tReCalendar is an open-source and free calendar generator for\n\t\t\t\t\t\t\t<a\n\t\t\t\t\t\t\t\thref=\"https://remarkable.com/?ref=recalendar\"\n\t\t\t\t\t\t\t\ttarget=\"_blank\"\n\t\t\t\t\t\t\t\trel=\"noopener noreferrer\"\n\t\t\t\t\t\t\t\t>ReMarkable tablets</a\n\t\t\t\t\t\t\t>. Through its easy to use interface you can customize the\n\t\t\t\t\t\t\tcalendar to your needs and then generate the PDF - all within your\n\t\t\t\t\t\t\tbrowser. No data is sent to the server - your privacy matters to\n\t\t\t\t\t\t\tme.\n\t\t\t\t\t\t</p>\n\t\t\t\t\t\t<a\n\t\t\t\t\t\t\thref=\"/create\"\n\t\t\t\t\t\t\trole=\"button\"\n\t\t\t\t\t\t\ttabindex=\"0\"\n\t\t\t\t\t\t\tclass=\"btn btn-primary btn-lg\"\n\t\t\t\t\t\t\t>Create your own for free now!</a\n\t\t\t\t\t\t>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class=\"row\">\n\t\t\t\t<div class=\"col-md\">\n\t\t\t\t\t<div class=\"bg-light p-5 rounded-3 my-3\">\n\t\t\t\t\t\t<h2>Features</h2>\n\t\t\t\t\t\t<ul>\n\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t<b>Optimized for the ReMarkable tablet</b> - use the full space\n\t\t\t\t\t\t\t\tavailable. No hacks needed - the generated file is a normal PDF,\n\t\t\t\t\t\t\t\tjust upload it to your tablet normally.\n\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t<b>Navigate easily using links</b> - jump through time using\n\t\t\t\t\t\t\t\thyperlinks automatically embedded in the PDF.\n\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t<b>Highly customizable using a modern, easy to use UI</b> - no\n\t\t\t\t\t\t\t\tneed for any hacks, just configure the calendar in your browser.\n\t\t\t\t\t\t\t\tDon't like weekly retrospectives? Disable them. Want to have a\n\t\t\t\t\t\t\t\tdifferent itinerary on Thursday? Have at it. Need an extra page\n\t\t\t\t\t\t\t\tafter Monday meetings? No problem.\n\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t<b>Locale-specific options</b> - the calendar has robust\n\t\t\t\t\t\t\t\tinternationalization support. You can easily select the first\n\t\t\t\t\t\t\t\tday of the week and switch language to one of the built-in ones.\n\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t<a\n\t\t\t\t\t\t\thref=\"/features\"\n\t\t\t\t\t\t\trole=\"button\"\n\t\t\t\t\t\t\ttabindex=\"0\"\n\t\t\t\t\t\t\tclass=\"btn btn-secondary btn-lg\"\n\t\t\t\t\t\t\t>See all the features</a\n\t\t\t\t\t\t>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t<div class=\"col-md\">\n\t\t\t\t\t<div class=\"bg-light p-5 rounded-3 my-3\">\n\t\t\t\t\t\t<h3>Learn more about the project</h3>\n\t\t\t\t\t\t<ul>\n\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t<a\n\t\t\t\t\t\t\t\t\thref=\"https://github.com/klimeryk/recalendar.js/\"\n\t\t\t\t\t\t\t\t\ttarget=\"_blank\"\n\t\t\t\t\t\t\t\t\trel=\"noopener noreferrer\"\n\t\t\t\t\t\t\t\t\t>View the source code on GitHub</a\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t<li>\n\t\t\t\t\t\t\t\t<a\n\t\t\t\t\t\t\t\t\thref=\"https://github.com/klimeryk/recalendar/\"\n\t\t\t\t\t\t\t\t\ttarget=\"_blank\"\n\t\t\t\t\t\t\t\t\trel=\"noopener noreferrer\"\n\t\t\t\t\t\t\t\t\t>Previous version using PHP (and requiring programming\n\t\t\t\t\t\t\t\t\tknowledge)</a\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t</ul>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class=\"row\">\n\t\t\t\t<div class=\"col\">\n\t\t\t\t\t<footer class=\"mb-3\">\n\t\t\t\t\t\t<div class=\"text-muted text-center\">\n\t\t\t\t\t\t\tCreated by\n\t\t\t\t\t\t\t<a\n\t\t\t\t\t\t\t\thref=\"https://klimer.eu/\"\n\t\t\t\t\t\t\t\ttarget=\"_blank\"\n\t\t\t\t\t\t\t\trel=\"noopener noreferrer\"\n\t\t\t\t\t\t\t\t>Igor Klimer</a\n\t\t\t\t\t\t\t>.\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</footer>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\n\t\t<script\n\t\t\tsrc=\"https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.min.js\"\n\t\t\tintegrity=\"sha384-QJHtvGhmr9XOIpI6YVutG+2QOK9T+ZnN4kzFN1RtK3zEFEIsxhlmWl5/YESvpZ13\"\n\t\t\tcrossorigin=\"anonymous\"\n\t\t></script>\n\t</body>\n</html>\n"
  },
  {
    "path": "public/robots.txt",
    "content": "# https://www.robotstxt.org/robotstxt.html\nUser-agent: *\nDisallow:\n"
  },
  {
    "path": "src/app.css",
    "content": "html,\nbody,\n#root {\n\theight: 100%;\n}\n\n.input-group > .date-field {\n\twidth: 160px;\n}\n\n.special-date {\n\tmin-width: 120px;\n}\n\n.refresh-button {\n\tbottom: 0;\n\tz-index: 1050;\n}\n\n.language-select {\n\tmin-width: 150px;\n}\n\n.form-label {\n\tmargin-bottom: 0;\n\tmargin-top: 0.5rem;\n}\n\nbutton:not(:disabled).grab-handle {\n\tcursor: move;\n\tpadding-left: 0;\n}\n\n.flex-basis-fit-content {\n\tflex-basis: fit-content !important;\n}\n"
  },
  {
    "path": "src/components/external-link.jsx",
    "content": "import PropTypes from 'prop-types';\nimport React from 'react';\n\nexport default function ExternalLink( { url, children } ) {\n\treturn (\n\t\t<a href={ url } target=\"_blank\" rel=\"noopener noreferrer\">\n\t\t\t{children}\n\t\t</a>\n\t);\n}\n\nExternalLink.propTypes = {\n\tchildren: PropTypes.element,\n\turl: PropTypes.string.isRequired,\n};\n"
  },
  {
    "path": "src/components/pdf-preview-card.jsx",
    "content": "import PropTypes from 'prop-types';\nimport React from 'react';\nimport Button from 'react-bootstrap/Button';\nimport Spinner from 'react-bootstrap/Spinner';\nimport Stack from 'react-bootstrap/Stack';\nimport { withTranslation } from 'react-i18next';\n\nimport PdfPreview from '~/components/pdf-preview';\nimport PdfProgress from '~/components/pdf-progress';\n\nclass PdfPreviewCard extends React.PureComponent {\n\trenderPdfPreview() {\n\t\tconst { blobUrl, isGeneratingPdf, isGeneratingPreview, onDownload, t } =\n\t\t\tthis.props;\n\t\treturn (\n\t\t\t<Stack direction=\"vertical\" className=\"h-100\">\n\t\t\t\t<PdfPreview blobUrl={ blobUrl } title={ t( 'preview.viewer-title' ) } />\n\t\t\t\t<Stack\n\t\t\t\t\tdirection=\"vertical\"\n\t\t\t\t\tgap={ 2 }\n\t\t\t\t\tclassName=\"py-3 position-sticky bg-body refresh-button\"\n\t\t\t\t>\n\t\t\t\t\t<Button\n\t\t\t\t\t\tvariant=\"secondary\"\n\t\t\t\t\t\tdisabled={ isGeneratingPreview || isGeneratingPdf }\n\t\t\t\t\t\tonClick={ onDownload }\n\t\t\t\t\t>\n\t\t\t\t\t\t{isGeneratingPdf ? (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t<Spinner\n\t\t\t\t\t\t\t\t\tas=\"span\"\n\t\t\t\t\t\t\t\t\tanimation=\"border\"\n\t\t\t\t\t\t\t\t\tsize=\"sm\"\n\t\t\t\t\t\t\t\t\trole=\"status\"\n\t\t\t\t\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\t\t\t\t\tclassName=\"me-1\"\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t{t( 'preview.generating.full' )}\n\t\t\t\t\t\t\t</>\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\tt( 'configuration.button.download' )\n\t\t\t\t\t\t)}\n\t\t\t\t\t</Button>\n\t\t\t\t\t{isGeneratingPdf && (\n\t\t\t\t\t\t<PdfProgress expectedTime={ this.props.expectedTime } />\n\t\t\t\t\t)}\n\t\t\t\t</Stack>\n\t\t\t</Stack>\n\t\t);\n\t}\n\n\trenderNoPreview() {\n\t\tconst { t, isGeneratingPreview } = this.props;\n\n\t\tif ( isGeneratingPreview ) {\n\t\t\treturn (\n\t\t\t\t<div className=\"h-100 d-flex align-items-center justify-content-center\">\n\t\t\t\t\t<Spinner\n\t\t\t\t\t\tanimation=\"border\"\n\t\t\t\t\t\trole=\"status\"\n\t\t\t\t\t\tsize=\"sm\"\n\t\t\t\t\t\tclassName=\"me-1\"\n\t\t\t\t\t/>\n\t\t\t\t\t{t( 'preview.generating.preview' )}\n\t\t\t\t</div>\n\t\t\t);\n\t\t}\n\t\treturn (\n\t\t\t<Stack\n\t\t\t\tdirection=\"vertical\"\n\t\t\t\tclassName=\"h-100 d-flex align-items-center justify-content-center text-center\"\n\t\t\t>\n\t\t\t\t<p className=\"lead\">{t( 'preview.empty.title' )}</p>\n\t\t\t\t<p>{t( 'preview.empty.subtitle' )}</p>\n\t\t\t</Stack>\n\t\t);\n\t}\n\n\trender() {\n\t\tconst { blobUrl, isGeneratingPreview } = this.props;\n\t\tif ( blobUrl && ! isGeneratingPreview ) {\n\t\t\treturn this.renderPdfPreview();\n\t\t}\n\n\t\treturn this.renderNoPreview();\n\t}\n}\n\nPdfPreviewCard.propTypes = {\n\tblobUrl: PropTypes.string,\n\texpectedTime: PropTypes.number.isRequired,\n\tisGeneratingPdf: PropTypes.bool.isRequired,\n\tisGeneratingPreview: PropTypes.bool.isRequired,\n\tonDownload: PropTypes.func.isRequired,\n\tt: PropTypes.func.isRequired,\n};\n\nexport default withTranslation( 'app' )( PdfPreviewCard );\n"
  },
  {
    "path": "src/components/pdf-preview.jsx",
    "content": "import PropTypes from 'prop-types';\nimport React from 'react';\n\nconst PdfPreview = ( { blobUrl, title } ) => {\n\treturn <iframe title={ title } src={ blobUrl } width=\"100%\" height=\"100%\" />;\n};\n\nPdfPreview.propTypes = {\n\tblobUrl: PropTypes.string.isRequired,\n\ttitle: PropTypes.string.isRequired,\n};\n\nexport default PdfPreview;\n"
  },
  {
    "path": "src/components/pdf-progress.jsx",
    "content": "import PropTypes from 'prop-types';\nimport React from 'react';\nimport ProgressBar from 'react-bootstrap/ProgressBar';\n\nconst UPDATE_INTERVAL = 700;\n\nclass PdfProgress extends React.Component {\n\tstate = {\n\t\telapsedTime: 0,\n\t};\n\n\tcomponentDidMount() {\n\t\tthis.intervalId = setInterval( this.updateProgress, UPDATE_INTERVAL );\n\t}\n\n\tcomponentWillUnmount() {\n\t\tclearInterval( this.intervalId );\n\t}\n\n\tupdateProgress = () => {\n\t\tthis.setState( { elapsedTime: this.state.elapsedTime + UPDATE_INTERVAL } );\n\t};\n\n\trender() {\n\t\tconst progress = 100 * ( this.state.elapsedTime / this.props.expectedTime );\n\t\treturn <ProgressBar animated now={ progress } />;\n\t}\n}\n\nPdfProgress.propTypes = {\n\texpectedTime: PropTypes.number.isRequired,\n};\n\nexport default PdfProgress;\n"
  },
  {
    "path": "src/config/dayjs.js",
    "content": "import dayjs from 'dayjs/esm';\nimport advancedFormat from 'dayjs/esm/plugin/advancedFormat';\nimport customParseFormat from 'dayjs/esm/plugin/customParseFormat';\nimport isoWeek from 'dayjs/esm/plugin/isoWeek';\nimport localeData from 'dayjs/esm/plugin/localeData';\nimport objectSupport from 'dayjs/esm/plugin/objectSupport';\nimport updateLocale from 'dayjs/esm/plugin/updateLocale';\nimport utc from 'dayjs/esm/plugin/utc';\nimport weekday from 'dayjs/esm/plugin/weekday';\n\ndayjs.extend( advancedFormat );\ndayjs.extend( customParseFormat );\ndayjs.extend( isoWeek );\ndayjs.extend( localeData );\ndayjs.extend( objectSupport );\ndayjs.extend( updateLocale );\ndayjs.extend( utc );\ndayjs.extend( weekday );\n"
  },
  {
    "path": "src/config/i18n.js",
    "content": "import dayjs from 'dayjs/esm';\nimport dayjsLocales from 'dayjs/locale.json';\n\nexport function i18nConfiguration( namespaces ) {\n\treturn {\n\t\tdebug: import.meta.env.DEV,\n\t\tfallbackLng: 'en',\n\t\tload: 'currentOnly',\n\t\tsupportedLngs: dayjsLocales.map( ( ( { key } ) => key ) ),\n\t\tns: namespaces,\n\t\tlowerCaseLng: true,\n\t\tinterpolation: {\n\t\t\tescapeValue: false, // not needed for react as it escapes by default\n\t\t},\n\t};\n}\n\nexport function getFullySupportedLocales() {\n\tconst locales = Object.keys( import.meta.glob( '../locales/**/app.json', { eager: true } ) )\n\t\t.map( ( file ) => file.match( /locales\\/(.+)\\/app\\.json$/ )[ 1 ] );\n\n\tconst uniqueLocales = [ ...new Set( locales ) ];\n\n\t// Make sure that English is first on the list\n\tuniqueLocales.splice( uniqueLocales.indexOf( 'en' ), 1 );\n\tuniqueLocales.unshift( 'en' );\n\treturn uniqueLocales;\n}\n\nexport function getPartiallySupportedLocales() {\n\tconst fullySupportedLocales = getFullySupportedLocales();\n\treturn dayjsLocales\n\t\t.filter( ( { key } ) => ! fullySupportedLocales.includes( key ) )\n\t\t.sort( ( languageA, languageB ) => languageA.name.localeCompare( languageB.name ) );\n}\n\nconst DAYJS_LOCALES = import.meta.glob( '../../node_modules/dayjs/esm/locale/*.js', { eager: true } );\n\nexport function handleLanguageChange( newLanguage, firstDayOfWeek = 1 ) {\n\t// Hacky workaround until https://github.com/vitejs/vite/issues/14102 is fixed\n\tconst localeData = DAYJS_LOCALES[ `../../node_modules/dayjs/esm/locale/${newLanguage}.js` ];\n\tdayjs.locale( newLanguage, localeData.default, false );\n\tdayjs.locale( newLanguage );\n\tdayjs.updateLocale( newLanguage, {\n\t\tweekStart: firstDayOfWeek,\n\t} );\n}\n"
  },
  {
    "path": "src/configuration-form/configuration-selector.jsx",
    "content": "import PropTypes from 'prop-types';\nimport React from 'react';\nimport Alert from 'react-bootstrap/Alert';\nimport Button from 'react-bootstrap/Button';\nimport ButtonGroup from 'react-bootstrap/ButtonGroup';\nimport Form from 'react-bootstrap/Form';\nimport OverlayTrigger from 'react-bootstrap/OverlayTrigger';\nimport Stack from 'react-bootstrap/Stack';\nimport Tooltip from 'react-bootstrap/Tooltip';\nimport { withTranslation } from 'react-i18next';\n\nimport { getJsonAttachment } from '~/lib/attachments';\nimport { convertConfigToCurrentVersion } from '~/lib/config-compat';\nimport {\n\tITINERARY_ITEM,\n\tITINERARY_LINES,\n\tITINERARY_NEW_PAGE,\n} from '~/lib/itinerary-utils';\nimport PdfConfig, { CONFIG_FILE } from '~/pdf/config';\n\nconst STATUS_EMPTY = 'EMPTY';\nconst STATUS_LOADING = 'LOADING';\nconst STATUS_ERROR = 'ERROR';\nconst STATUS_SUCCESS = 'SUCCESS';\n\nconst TEMPLATE_BASIC = 'basic';\nconst TEMPLATE_ADVANCED = 'advanced';\nconst TEMPLATE_BLANK = 'blank';\nconst TEMPLATE_MINIMALISTIC = 'minimalistic';\n\nclass ConfigurationSelector extends React.Component {\n\tstate = {\n\t\tstatus: STATUS_EMPTY,\n\t};\n\n\tgetDefaultFirstDayOfWeek() {\n\t\tconst config = new PdfConfig();\n\t\treturn config.firstDayOfWeek;\n\t}\n\n\thandleTemplateSelect = ( event ) => {\n\t\tconst { t } = this.props;\n\t\tconst configOverrides = {};\n\t\tlet dayOfWeek = this.getDefaultFirstDayOfWeek();\n\n\t\tswitch ( event.target.dataset.template ) {\n\t\t\tcase TEMPLATE_BASIC:\n\t\t\t\t// The default config\n\t\t\t\tbreak;\n\n\t\t\tcase TEMPLATE_ADVANCED:\n\t\t\t\tconfigOverrides.dayItineraries = [ ...Array( 7 ).keys() ].map( () => {\n\t\t\t\t\tconst itinerary = {\n\t\t\t\t\t\tdayOfWeek,\n\t\t\t\t\t\titems: this.generateAdvancedDayItems( dayOfWeek ),\n\t\t\t\t\t\tisEnabled: true,\n\t\t\t\t\t};\n\t\t\t\t\tdayOfWeek = ++dayOfWeek % 7;\n\t\t\t\t\treturn itinerary;\n\t\t\t\t} );\n\t\t\t\tconfigOverrides.weekRetrospectiveItinerary = [\n\t\t\t\t\t{\n\t\t\t\t\t\ttype: ITINERARY_ITEM,\n\t\t\t\t\t\tvalue: t( 'templates.advanced.retrospective.wins', {\n\t\t\t\t\t\t\tns: 'config',\n\t\t\t\t\t\t} ),\n\t\t\t\t\t},\n\t\t\t\t\t{ type: ITINERARY_LINES, value: 7 },\n\t\t\t\t\t{\n\t\t\t\t\t\ttype: ITINERARY_ITEM,\n\t\t\t\t\t\tvalue: t( 'templates.advanced.retrospective.discoveries', {\n\t\t\t\t\t\t\tns: 'config',\n\t\t\t\t\t\t} ),\n\t\t\t\t\t},\n\t\t\t\t\t{ type: ITINERARY_LINES, value: 7 },\n\t\t\t\t\t{\n\t\t\t\t\t\ttype: ITINERARY_ITEM,\n\t\t\t\t\t\tvalue: t( 'templates.advanced.retrospective.fails', {\n\t\t\t\t\t\t\tns: 'config',\n\t\t\t\t\t\t} ),\n\t\t\t\t\t},\n\t\t\t\t\t{ type: ITINERARY_LINES, value: 15 },\n\t\t\t\t];\n\t\t\t\tbreak;\n\n\t\t\tcase TEMPLATE_BLANK:\n\t\t\t\tconfigOverrides.specialDates = [];\n\t\t\t\tconfigOverrides.habits = [];\n\t\t\t\tconfigOverrides.monthItinerary = [];\n\t\t\t\tconfigOverrides.todos = [];\n\t\t\t\tconfigOverrides.dayItineraries = [ ...Array( 7 ).keys() ].map( () => {\n\t\t\t\t\tconst itinerary = {\n\t\t\t\t\t\tdayOfWeek,\n\t\t\t\t\t\titems: [],\n\t\t\t\t\t\tisEnabled: true,\n\t\t\t\t\t};\n\t\t\t\t\tdayOfWeek = ++dayOfWeek % 7;\n\t\t\t\t\treturn itinerary;\n\t\t\t\t} );\n\t\t\t\tconfigOverrides.weekRetrospectiveItinerary = [];\n\t\t\t\tbreak;\n\n\t\t\tcase TEMPLATE_MINIMALISTIC:\n\t\t\t\tconfigOverrides.specialDates = [];\n\t\t\t\tconfigOverrides.habits = [];\n\t\t\t\tconfigOverrides.isMonthOverviewEnabled = false;\n\t\t\t\tconfigOverrides.monthItinerary = [];\n\t\t\t\tconfigOverrides.isWeekOverviewEnabled = true;\n\t\t\t\tconfigOverrides.todos = [];\n\t\t\t\tconfigOverrides.dayItineraries = [ ...Array( 7 ).keys() ].map( () => {\n\t\t\t\t\tconst itinerary = {\n\t\t\t\t\t\tdayOfWeek,\n\t\t\t\t\t\titems: [],\n\t\t\t\t\t\tisEnabled: false,\n\t\t\t\t\t};\n\t\t\t\t\tdayOfWeek = ++dayOfWeek % 7;\n\t\t\t\t\treturn itinerary;\n\t\t\t\t} );\n\t\t\t\tconfigOverrides.isWeekRetrospectiveEnabled = false;\n\t\t\t\tconfigOverrides.weekRetrospectiveItinerary = [];\n\t\t\t\tbreak;\n\n\t\t\tdefault:\n\t\t\t\treturn;\n\t\t}\n\n\t\tconst config = new PdfConfig( configOverrides );\n\n\t\tthis.props.onConfigChange( config );\n\t};\n\n\tgenerateAdvancedDayItems( dayOfWeek ) {\n\t\tconst items = [];\n\t\tfor ( let i = 8; i <= 20; i += 2 ) {\n\t\t\titems.push( {\n\t\t\t\ttype: ITINERARY_ITEM,\n\t\t\t\tvalue: i.toString().padStart( 2, 0 ) + ':00',\n\t\t\t} );\n\t\t\titems.push( { type: ITINERARY_LINES, value: 2 } );\n\t\t}\n\n\t\titems.push( { type: ITINERARY_LINES, value: 20 } );\n\n\t\tif ( dayOfWeek === 1 ) {\n\t\t\titems.push( { type: ITINERARY_NEW_PAGE, value: '' } );\n\t\t\titems.push( {\n\t\t\t\ttype: ITINERARY_ITEM,\n\t\t\t\tvalue: this.props.t( 'templates.advanced.day.monday', {\n\t\t\t\t\tns: 'config',\n\t\t\t\t} ),\n\t\t\t} );\n\t\t\titems.push( { type: ITINERARY_LINES, value: 50 } );\n\t\t}\n\n\t\treturn items;\n\t}\n\n\thandleFileChange = ( event ) => {\n\t\tthis.setState( {\n\t\t\tstatus: STATUS_LOADING,\n\t\t} );\n\n\t\tconst file = event.target.files[ 0 ];\n\t\tconst reader = new FileReader();\n\t\treader.onload = this.handleFileLoad;\n\n\t\treader.readAsArrayBuffer( file );\n\t};\n\n\thandleFileLoad = async ( event ) => {\n\t\tconst attachment = await getJsonAttachment(\n\t\t\tevent.target.result,\n\t\t\tCONFIG_FILE,\n\t\t);\n\n\t\tif ( ! attachment ) {\n\t\t\tthis.setState( {\n\t\t\t\tstatus: STATUS_ERROR,\n\t\t\t} );\n\t\t\treturn;\n\t\t}\n\n\t\tthis.setState( {\n\t\t\tstatus: STATUS_SUCCESS,\n\t\t} );\n\n\t\tconst newConfig = new PdfConfig( convertConfigToCurrentVersion( attachment ) );\n\t\tthis.props.onConfigChange( newConfig );\n\t};\n\n\trenderStatusMessage() {\n\t\tconst { t } = this.props;\n\n\t\tswitch ( this.state.status ) {\n\t\t\tcase STATUS_LOADING:\n\t\t\t\treturn (\n\t\t\t\t\t<Alert variant=\"info\" className=\"mt-2 mb-0\">\n\t\t\t\t\t\t{t( 'configuration.selector.upload.loading' )}\n\t\t\t\t\t</Alert>\n\t\t\t\t);\n\n\t\t\tcase STATUS_ERROR:\n\t\t\t\treturn (\n\t\t\t\t\t<Alert variant=\"danger\" className=\"mt-2 mb-0\">\n\t\t\t\t\t\t{t( 'configuration.selector.upload.error' )}\n\t\t\t\t\t</Alert>\n\t\t\t\t);\n\n\t\t\tcase STATUS_SUCCESS:\n\t\t\t\treturn (\n\t\t\t\t\t<Alert variant=\"success\" className=\"mt-2 mb-0\">\n\t\t\t\t\t\t{t( 'configuration.selector.upload.success' )}\n\t\t\t\t\t</Alert>\n\t\t\t\t);\n\n\t\t\tcase STATUS_EMPTY:\n\t\t\tdefault:\n\t\t\t\treturn null;\n\t\t}\n\t}\n\n\trenderButton = ( { template, style } ) => {\n\t\tconst { t } = this.props;\n\t\treturn (\n\t\t\t<OverlayTrigger\n\t\t\t\tkey={ template }\n\t\t\t\tplacement=\"bottom\"\n\t\t\t\toverlay={\n\t\t\t\t\t<Tooltip>\n\t\t\t\t\t\t{t( `configuration.selector.template.${template}.description` )}\n\t\t\t\t\t</Tooltip>\n\t\t\t\t}\n\t\t\t>\n\t\t\t\t<Button\n\t\t\t\t\tvariant={ style }\n\t\t\t\t\tdata-template={ template }\n\t\t\t\t\tonClick={ this.handleTemplateSelect }\n\t\t\t\t>\n\t\t\t\t\t{t( `configuration.selector.template.${template}.label` )}\n\t\t\t\t</Button>\n\t\t\t</OverlayTrigger>\n\t\t);\n\t};\n\n\trender() {\n\t\tconst { t } = this.props;\n\t\treturn (\n\t\t\t<Stack>\n\t\t\t\t<Form.Label>{t( 'configuration.selector.template.label' )}</Form.Label>\n\t\t\t\t<ButtonGroup aria-label=\"Config templates\">\n\t\t\t\t\t{[\n\t\t\t\t\t\t{ template: TEMPLATE_BASIC, style: 'info' },\n\t\t\t\t\t\t{ template: TEMPLATE_ADVANCED, style: 'primary' },\n\t\t\t\t\t\t{ template: TEMPLATE_BLANK, style: 'blank' },\n\t\t\t\t\t\t{ template: TEMPLATE_MINIMALISTIC, style: 'dark' },\n\t\t\t\t\t].map( this.renderButton )}\n\t\t\t\t</ButtonGroup>\n\t\t\t\t<Form.Group controlId=\"configurationFile\" className=\"mt-3\">\n\t\t\t\t\t<Form.Label>{t( 'configuration.selector.upload.label' )}</Form.Label>\n\t\t\t\t\t<Form.Control\n\t\t\t\t\t\ttype=\"file\"\n\t\t\t\t\t\taccept=\".pdf\"\n\t\t\t\t\t\tonChange={ this.handleFileChange }\n\t\t\t\t\t/>\n\t\t\t\t\t{this.renderStatusMessage()}\n\t\t\t\t</Form.Group>\n\t\t\t</Stack>\n\t\t);\n\t}\n}\n\nConfigurationSelector.propTypes = {\n\tonConfigChange: PropTypes.func.isRequired,\n\tt: PropTypes.func.isRequired,\n};\n\nexport default withTranslation( [ 'app', 'config' ] )( ConfigurationSelector );\n"
  },
  {
    "path": "src/configuration-form/items-list.jsx",
    "content": "import {\n\tDndContext,\n\tclosestCenter,\n\tKeyboardSensor,\n\tPointerSensor,\n\tuseSensor,\n\tuseSensors,\n} from '@dnd-kit/core';\nimport {\n\tSortableContext,\n\tsortableKeyboardCoordinates,\n\tverticalListSortingStrategy,\n} from '@dnd-kit/sortable';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport Accordion from 'react-bootstrap/Accordion';\nimport Alert from 'react-bootstrap/Alert';\nimport Button from 'react-bootstrap/Button';\nimport Stack from 'react-bootstrap/Stack';\nimport { useTranslation } from 'react-i18next';\n\nimport SortableItem from './sortable-item';\n\nfunction ItemsList( props ) {\n\tconst { t } = useTranslation( 'app' );\n\n\tconst sensors = useSensors(\n\t\tuseSensor( PointerSensor ),\n\t\tuseSensor( KeyboardSensor, {\n\t\t\tcoordinateGetter: sortableKeyboardCoordinates,\n\t\t} ),\n\t);\n\n\tfunction handleDragEnd( event ) {\n\t\tconst oldId = event.active.id;\n\t\tconst newId = event.over.id;\n\n\t\tif ( oldId !== newId ) {\n\t\t\tprops.onDragEnd( { oldId, newId, field } );\n\t\t}\n\t}\n\n\tfunction renderItem( { id, value } ) {\n\t\tconst { field, onChange, onRemove } = props;\n\t\treturn (\n\t\t\t<SortableItem\n\t\t\t\tkey={ id }\n\t\t\t\tid={ id }\n\t\t\t\tvalue={ value }\n\t\t\t\tonChange={ onChange }\n\t\t\t\tonRemove={ onRemove }\n\t\t\t\tfield={ field }\n\t\t\t/>\n\t\t);\n\t}\n\n\tconst { items, field, onAdd, title } = props;\n\treturn (\n\t\t<Accordion.Item eventKey={ field }>\n\t\t\t<Accordion.Header>{title}</Accordion.Header>\n\t\t\t<Accordion.Body>\n\t\t\t\t<Stack gap={ 2 }>\n\t\t\t\t\t<DndContext\n\t\t\t\t\t\tsensors={ sensors }\n\t\t\t\t\t\tcollisionDetection={ closestCenter }\n\t\t\t\t\t\tonDragEnd={ handleDragEnd }\n\t\t\t\t\t>\n\t\t\t\t\t\t<SortableContext\n\t\t\t\t\t\t\titems={ items }\n\t\t\t\t\t\t\tstrategy={ verticalListSortingStrategy }\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{items.map( renderItem )}\n\t\t\t\t\t\t\t{items.length === 0 && (\n\t\t\t\t\t\t\t\t<Alert variant=\"secondary\" className=\"mb-0\">\n\t\t\t\t\t\t\t\t\t{t( 'configuration.items-list.empty' )}\n\t\t\t\t\t\t\t\t</Alert>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t</SortableContext>\n\t\t\t\t\t</DndContext>\n\t\t\t\t</Stack>\n\t\t\t\t<Stack direction=\"horizontal\" className=\"mt-3\">\n\t\t\t\t\t<Button\n\t\t\t\t\t\tvariant=\"outline-secondary\"\n\t\t\t\t\t\tonClick={ onAdd }\n\t\t\t\t\t\tdata-field={ field }\n\t\t\t\t\t>\n\t\t\t\t\t\t{t( 'configuration.items-list.button.item' )}\n\t\t\t\t\t</Button>\n\t\t\t\t</Stack>\n\t\t\t</Accordion.Body>\n\t\t</Accordion.Item>\n\t);\n}\n\nItemsList.propTypes = {\n\tfield: PropTypes.string.isRequired,\n\titems: PropTypes.array.isRequired,\n\tonAdd: PropTypes.func.isRequired,\n\tonChange: PropTypes.func.isRequired,\n\tonDragEnd: PropTypes.func.isRequired,\n\tonRemove: PropTypes.func.isRequired,\n\ttitle: PropTypes.string.isRequired,\n};\n\nexport default ItemsList;\n"
  },
  {
    "path": "src/configuration-form/itinerary.jsx",
    "content": "import {\n\tDndContext,\n\tclosestCenter,\n\tKeyboardSensor,\n\tPointerSensor,\n\tuseSensor,\n\tuseSensors,\n} from '@dnd-kit/core';\nimport {\n\tSortableContext,\n\tsortableKeyboardCoordinates,\n\tverticalListSortingStrategy,\n} from '@dnd-kit/sortable';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport Alert from 'react-bootstrap/Alert';\nimport Button from 'react-bootstrap/Button';\nimport ButtonGroup from 'react-bootstrap/ButtonGroup';\nimport Stack from 'react-bootstrap/Stack';\nimport { useTranslation } from 'react-i18next';\n\nimport SortableItineraryRow from './sortable-itinerary-row';\nimport { ITINERARY_ITEM, ITINERARY_LINES, ITINERARY_NEW_PAGE } from '~/lib/itinerary-utils';\n\nfunction Itinerary( props ) {\n\tconst { t } = useTranslation( 'app' );\n\n\tfunction handleDragEnd( event ) {\n\t\tconst oldId = event.active.id;\n\t\tconst newId = event.over.id;\n\n\t\tif ( oldId !== newId ) {\n\t\t\tprops.onDragEnd( { oldId, newId, field } );\n\t\t}\n\t}\n\n\tfunction renderRow( { id, value, type } ) {\n\t\treturn (\n\t\t\t<SortableItineraryRow\n\t\t\t\tkey={ id }\n\t\t\t\tfield={ props.field }\n\t\t\t\tid={ id }\n\t\t\t\ttype={ type }\n\t\t\t\tvalue={ value }\n\t\t\t\tonChange={ props.onChange }\n\t\t\t\tonRemove={ props.onRemove }\n\t\t\t/>\n\t\t);\n\t}\n\n\tconst { field, itinerary, onAdd, onCopy } = props;\n\tconst sensors = useSensors(\n\t\tuseSensor( PointerSensor ),\n\t\tuseSensor( KeyboardSensor, {\n\t\t\tcoordinateGetter: sortableKeyboardCoordinates,\n\t\t} ),\n\t);\n\treturn (\n\t\t<>\n\t\t\t<Stack gap={ 2 }>\n\t\t\t\t<DndContext\n\t\t\t\t\tsensors={ sensors }\n\t\t\t\t\tcollisionDetection={ closestCenter }\n\t\t\t\t\tonDragEnd={ handleDragEnd }\n\t\t\t\t>\n\t\t\t\t\t<SortableContext\n\t\t\t\t\t\titems={ itinerary }\n\t\t\t\t\t\tstrategy={ verticalListSortingStrategy }\n\t\t\t\t\t>\n\t\t\t\t\t\t{itinerary.map( renderRow )}\n\t\t\t\t\t\t{itinerary.length === 0 && (\n\t\t\t\t\t\t\t<Alert variant=\"secondary\" className=\"mb-0\">\n\t\t\t\t\t\t\t\t{t( 'configuration.itinerary.empty' )}\n\t\t\t\t\t\t\t</Alert>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</SortableContext>\n\t\t\t\t</DndContext>\n\t\t\t</Stack>\n\t\t\t<Stack direction=\"horizontal\" className=\"mt-3\" gap={ 3 }>\n\t\t\t\t<ButtonGroup>\n\t\t\t\t\t<Button\n\t\t\t\t\t\tvariant=\"outline-secondary\"\n\t\t\t\t\t\tonClick={ onAdd }\n\t\t\t\t\t\tdata-type={ ITINERARY_ITEM }\n\t\t\t\t\t\tdata-field={ field }\n\t\t\t\t\t>\n\t\t\t\t\t\t{t( 'configuration.itinerary.button.item' )}\n\t\t\t\t\t</Button>\n\t\t\t\t\t<Button\n\t\t\t\t\t\tvariant=\"outline-secondary\"\n\t\t\t\t\t\tonClick={ onAdd }\n\t\t\t\t\t\tdata-type={ ITINERARY_LINES }\n\t\t\t\t\t\tdata-field={ field }\n\t\t\t\t\t>\n\t\t\t\t\t\t{t( 'configuration.itinerary.button.lines' )}\n\t\t\t\t\t</Button>\n\t\t\t\t\t<Button\n\t\t\t\t\t\tvariant=\"outline-secondary\"\n\t\t\t\t\t\tonClick={ onAdd }\n\t\t\t\t\t\tdata-type={ ITINERARY_NEW_PAGE }\n\t\t\t\t\t\tdata-field={ field }\n\t\t\t\t\t>\n\t\t\t\t\t\t{t( 'configuration.itinerary.button.page' )}\n\t\t\t\t\t</Button>\n\t\t\t\t</ButtonGroup>\n\t\t\t</Stack>\n\t\t\t{onCopy && (\n\t\t\t\t<Button\n\t\t\t\t\tvariant=\"outline-danger\"\n\t\t\t\t\tclassName=\"mt-3\"\n\t\t\t\t\tonClick={ onCopy }\n\t\t\t\t\tdata-field={ field }\n\t\t\t\t>\n\t\t\t\t\t{t( 'configuration.itinerary.button.copy' )}\n\t\t\t\t</Button>\n\t\t\t)}\n\t\t</>\n\t);\n}\n\nItinerary.propTypes = {\n\tfield: PropTypes.string.isRequired,\n\titinerary: PropTypes.array.isRequired,\n\tonAdd: PropTypes.func.isRequired,\n\tonChange: PropTypes.func.isRequired,\n\tonCopy: PropTypes.func,\n\tonDragEnd: PropTypes.func.isRequired,\n\tonRemove: PropTypes.func.isRequired,\n};\n\nexport default Itinerary;\n"
  },
  {
    "path": "src/configuration-form/sortable-item.jsx",
    "content": "import { useSortable } from '@dnd-kit/sortable';\nimport { CSS } from '@dnd-kit/utilities';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport Button from 'react-bootstrap/Button';\nimport FormControl from 'react-bootstrap/FormControl';\nimport InputGroup from 'react-bootstrap/InputGroup';\nimport { useTranslation } from 'react-i18next';\n\nfunction SortableItem( props ) {\n\tconst { t } = useTranslation( 'app' );\n\tconst { id, value, field, onChange } = props;\n\tconst { attributes, listeners, setNodeRef, transform, transition } =\n\t\tuseSortable( { id } );\n\n\tconst style = {\n\t\ttransform: CSS.Transform.toString( transform ),\n\t\ttransition,\n\t};\n\n\tfunction renderRemoveButton() {\n\t\tconst { onRemove } = props;\n\t\treturn (\n\t\t\t<Button\n\t\t\t\tvariant=\"outline-danger\"\n\t\t\t\tonClick={ onRemove }\n\t\t\t\tdata-id={ id }\n\t\t\t\tdata-field={ field }\n\t\t\t>\n\t\t\t\t{t( 'configuration.items-list.button.remove' )}\n\t\t\t</Button>\n\t\t);\n\t}\n\n\treturn (\n\t\t<div ref={ setNodeRef } style={ style }>\n\t\t\t<InputGroup>\n\t\t\t\t<Button\n\t\t\t\t\tclassName=\"grab-handle\"\n\t\t\t\t\tvariant=\"link\"\n\t\t\t\t\t{ ...attributes }\n\t\t\t\t\t{ ...listeners }\n\t\t\t\t>\n\t\t\t\t\t<svg\n\t\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\t\twidth=\"16\"\n\t\t\t\t\t\theight=\"16\"\n\t\t\t\t\t\tfill=\"currentColor\"\n\t\t\t\t\t\tclassName=\"bi bi-grip-vertical\"\n\t\t\t\t\t\tviewBox=\"0 0 16 16\"\n\t\t\t\t\t>\n\t\t\t\t\t\t{/* eslint-disable-next-line max-len */}\n\t\t\t\t\t\t<path d=\"M7 2a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zM7 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zM7 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-3 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-3 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0z\" />\n\t\t\t\t\t</svg>\n\t\t\t\t</Button>\n\t\t\t\t<FormControl\n\t\t\t\t\tplaceholder={ t( 'configuration.items-list.placeholder' ) }\n\t\t\t\t\tvalue={ value }\n\t\t\t\t\tonChange={ onChange }\n\t\t\t\t\tdata-field={ field }\n\t\t\t\t\tdata-id={ id }\n\t\t\t\t\trequired\n\t\t\t\t/>\n\t\t\t\t{renderRemoveButton()}\n\t\t\t</InputGroup>\n\t\t</div>\n\t);\n}\n\nSortableItem.propTypes = {\n\tfield: PropTypes.string.isRequired,\n\tid: PropTypes.string.isRequired,\n\tonChange: PropTypes.func.isRequired,\n\tonRemove: PropTypes.func.isRequired,\n\tvalue: PropTypes.string.isRequired,\n};\n\nexport default SortableItem;\n"
  },
  {
    "path": "src/configuration-form/sortable-itinerary-row.jsx",
    "content": "import { useSortable } from '@dnd-kit/sortable';\nimport { CSS } from '@dnd-kit/utilities';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport Button from 'react-bootstrap/Button';\nimport FloatingLabel from 'react-bootstrap/FloatingLabel';\nimport FormControl from 'react-bootstrap/FormControl';\nimport InputGroup from 'react-bootstrap/InputGroup';\nimport { useTranslation } from 'react-i18next';\n\nimport {\n\tITINERARY_ITEM,\n\tITINERARY_LINES,\n\tITINERARY_NEW_PAGE,\n} from '~/lib/itinerary-utils';\n\nfunction SortableItineraryRow( props ) {\n\tconst { t } = useTranslation( 'app' );\n\tconst { id, type, value, field, onChange } = props;\n\tconst { attributes, listeners, setNodeRef, transform, transition } =\n\t\tuseSortable( { id } );\n\n\tconst style = {\n\t\ttransform: CSS.Transform.toString( transform ),\n\t\ttransition,\n\t};\n\n\tfunction renderItem() {\n\t\treturn (\n\t\t\t<FormControl\n\t\t\t\tplaceholder={ t( 'configuration.itinerary.placeholder.item' ) }\n\t\t\t\tvalue={ value }\n\t\t\t\tonChange={ onChange }\n\t\t\t\tdata-id={ id }\n\t\t\t\tdata-type={ ITINERARY_ITEM }\n\t\t\t\tdata-field={ props.field }\n\t\t\t\trequired\n\t\t\t/>\n\t\t);\n\t}\n\n\tfunction renderNewPage() {\n\t\treturn (\n\t\t\t<InputGroup.Text className=\"flex-grow-1\">\n\t\t\t\t{t( 'configuration.itinerary.placeholder.page' )}\n\t\t\t</InputGroup.Text>\n\t\t);\n\t}\n\n\tfunction renderLines() {\n\t\treturn (\n\t\t\t<FloatingLabel\n\t\t\t\tclassName=\"flex-grow-1\"\n\t\t\t\tcontrolId={ id }\n\t\t\t\tlabel={ t( 'configuration.itinerary.placeholder.lines' ) }\n\t\t\t>\n\t\t\t\t<FormControl\n\t\t\t\t\tplaceholder={ t( 'configuration.itinerary.placeholder.lines' ) }\n\t\t\t\t\ttype=\"number\"\n\t\t\t\t\tmin={ 1 }\n\t\t\t\t\tmax={ 50 }\n\t\t\t\t\tvalue={ value }\n\t\t\t\t\tonChange={ onChange }\n\t\t\t\t\tdata-id={ id }\n\t\t\t\t\tdata-type={ ITINERARY_LINES }\n\t\t\t\t\tdata-field={ field }\n\t\t\t\t\trequired\n\t\t\t\t/>\n\t\t\t</FloatingLabel>\n\t\t);\n\t}\n\n\tfunction renderRemoveButton() {\n\t\treturn (\n\t\t\t<Button\n\t\t\t\tvariant=\"outline-danger\"\n\t\t\t\tonClick={ props.onRemove }\n\t\t\t\tdata-id={ id }\n\t\t\t\tdata-field={ field }\n\t\t\t>\n\t\t\t\t{t( 'configuration.itinerary.button.remove' )}\n\t\t\t</Button>\n\t\t);\n\t}\n\n\tfunction renderRow() {\n\t\tswitch ( type ) {\n\t\t\tcase ITINERARY_ITEM:\n\t\t\t\treturn renderItem();\n\n\t\t\tcase ITINERARY_NEW_PAGE:\n\t\t\t\treturn renderNewPage();\n\n\t\t\tcase ITINERARY_LINES:\n\t\t\tdefault:\n\t\t\t\treturn renderLines();\n\t\t}\n\t}\n\n\treturn (\n\t\t<div ref={ setNodeRef } style={ style }>\n\t\t\t<InputGroup>\n\t\t\t\t<Button\n\t\t\t\t\tclassName=\"grab-handle\"\n\t\t\t\t\tvariant=\"link\"\n\t\t\t\t\t{ ...attributes }\n\t\t\t\t\t{ ...listeners }\n\t\t\t\t>\n\t\t\t\t\t<svg\n\t\t\t\t\t\txmlns=\"http://www.w3.org/2000/svg\"\n\t\t\t\t\t\twidth=\"16\"\n\t\t\t\t\t\theight=\"16\"\n\t\t\t\t\t\tfill=\"currentColor\"\n\t\t\t\t\t\tclassName=\"bi bi-grip-vertical\"\n\t\t\t\t\t\tviewBox=\"0 0 16 16\"\n\t\t\t\t\t>\n\t\t\t\t\t\t{/* eslint-disable-next-line max-len */}\n\t\t\t\t\t\t<path d=\"M7 2a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zM7 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zM7 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-3 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-3 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm3 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0z\" />\n\t\t\t\t\t</svg>\n\t\t\t\t</Button>\n\t\t\t\t{renderRow()}\n\t\t\t\t{renderRemoveButton()}\n\t\t\t</InputGroup>\n\t\t</div>\n\t);\n}\n\nSortableItineraryRow.propTypes = {\n\tfield: PropTypes.string.isRequired,\n\tid: PropTypes.string.isRequired,\n\tonChange: PropTypes.func.isRequired,\n\tonRemove: PropTypes.func.isRequired,\n\ttype: PropTypes.string.isRequired,\n\tvalue: PropTypes.oneOfType(\t[\n\t\tPropTypes.string,\n\t\tPropTypes.number,\n\t] ).isRequired,\n};\n\nexport default SortableItineraryRow;\n"
  },
  {
    "path": "src/configuration-form/special-dates.jsx",
    "content": "import dayjs from 'dayjs/esm';\nimport ICAL from 'ical.js';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport Accordion from 'react-bootstrap/Accordion';\nimport Alert from 'react-bootstrap/Alert';\nimport Badge from 'react-bootstrap/Badge';\nimport Button from 'react-bootstrap/Button';\nimport Form from 'react-bootstrap/Form';\nimport FormControl from 'react-bootstrap/FormControl';\nimport InputGroup from 'react-bootstrap/InputGroup';\nimport ListGroup from 'react-bootstrap/ListGroup';\nimport Stack from 'react-bootstrap/Stack';\nimport { withTranslation } from 'react-i18next';\n\nimport { DATE_FORMAT, HOLIDAY_DAY_TYPE, EVENT_DAY_TYPE } from '~/lib/special-dates-utils';\n\nconst STATUS_EMPTY = 'EMPTY';\nconst STATUS_LOADING = 'LOADING';\nconst STATUS_ERROR = 'ERROR';\nconst STATUS_SUCCESS = 'SUCCESS';\n\n// Disable strict mode for ical.js to allow slightly invalid ics files.\nICAL.design.strict = false;\n\nclass SpecialDates extends React.Component {\n\tstate = {\n\t\tdate: '',\n\t\tvalue: '',\n\t\ttype: EVENT_DAY_TYPE,\n\t\ticalType: EVENT_DAY_TYPE,\n\t\tstatus: STATUS_EMPTY,\n\t};\n\n\tonChange = ( event ) => {\n\t\tconst { field } = event.target.dataset;\n\t\tthis.setState( { [ field ]: event.target.value } );\n\t};\n\n\tonAddClick = ( event ) => {\n\t\tconst date = dayjs( this.state.date, 'YYYY-MM-DD' );\n\t\tconst key = date.format( DATE_FORMAT );\n\t\tconst { value, type } = this.state;\n\t\tthis.props.onAdd( { date: key, value, type } );\n\t\tthis.setState( { date: '', value: '' } );\n\t};\n\n\tonFileLoad = ( event ) => {\n\t\ttry {\n\t\t\tconst jcalData = ICAL.parse( event.target.result );\n\t\t\tconst vcalendar = new ICAL.Component( jcalData );\n\t\t\tconst vevents = vcalendar.getAllSubcomponents( 'vevent' );\n\t\t\tvevents.forEach( ( vevent ) => {\n\t\t\t\tconst ev = new ICAL.Event( vevent );\n\t\t\t\tconst startDate = dayjs( ev.startDate.toJSDate() );\n\t\t\t\tconst value = ev.summary;\n\t\t\t\tif ( ev.isRecurring() ) {\n\t\t\t\t\tconst iter = ev.iterator();\n\t\t\t\t\tlet next;\n\t\t\t\t\twhile ( ( next = iter.next() ) ) {\n\t\t\t\t\t\tif ( next.year < this.props.year ) {\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t} else if ( next.year > this.props.year ) {\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tconst date = dayjs( next.toJSDate() );\n\t\t\t\t\t\tconst key = date.format( DATE_FORMAT );\n\t\t\t\t\t\tthis.props.onAdd( { date: key, value, type: this.state.icalType } );\n\t\t\t\t\t}\n\t\t\t\t} else if ( startDate.year() === this.props.year ) {\n\t\t\t\t\tconst key = startDate.format( DATE_FORMAT );\n\t\t\t\t\tthis.props.onAdd( { date: key, value, type: this.state.icalType } );\n\t\t\t\t}\n\t\t\t} );\n\n\t\t\tthis.setState( {\n\t\t\t\tstatus: STATUS_SUCCESS,\n\t\t\t} );\n\t\t} catch ( error ) {\n\t\t\tthis.setState( {\n\t\t\t\tstatus: STATUS_ERROR,\n\t\t\t} );\n\t\t}\n\t};\n\n\tonFileChange = ( event ) => {\n\t\tthis.setState( {\n\t\t\tstatus: STATUS_LOADING,\n\t\t} );\n\n\t\tconst file = event.target.files[ 0 ];\n\t\tconst reader = new FileReader();\n\t\treader.onload = this.onFileLoad;\n\n\t\treader.readAsText( file );\n\t};\n\n\tgetGroupedItems() {\n\t\treturn this.props.items.reduce( ( itemsSoFar, item ) => {\n\t\t\tif ( ! itemsSoFar[ item.date ] ) {\n\t\t\t\titemsSoFar[ item.date ] = [];\n\t\t\t}\n\t\t\titemsSoFar[ item.date ].push( item );\n\t\t\treturn itemsSoFar;\n\t\t}, {} );\n\t}\n\n\trenderItem( groupedItems ) {\n\t\tconst ItemGroup = ( key ) => {\n\t\t\tconst { t } = this.props;\n\t\t\tconst items = groupedItems[ key ];\n\t\t\tconst date = dayjs( key, DATE_FORMAT );\n\t\t\treturn (\n\t\t\t\t<ListGroup.Item key={ key }>\n\t\t\t\t\t<Stack direction=\"horizontal\" gap={ 3 }>\n\t\t\t\t\t\t<b className=\"special-date\">{date.format( 'MMMM DD' )}</b>\n\t\t\t\t\t\t<ListGroup variant=\"flush\" className=\"w-100\">\n\t\t\t\t\t\t\t{items.map( ( { id, value, type }, index ) => (\n\t\t\t\t\t\t\t\t<ListGroup.Item key={ id } className=\"ps-0 pe-0\">\n\t\t\t\t\t\t\t\t\t<Stack direction=\"horizontal\" gap={ 3 }>\n\t\t\t\t\t\t\t\t\t\t<span>\n\t\t\t\t\t\t\t\t\t\t\t<strong>\n\t\t\t\t\t\t\t\t\t\t\t\t{t( 'configuration.special-dates.type.' + type )}:{' '}\n\t\t\t\t\t\t\t\t\t\t\t</strong>\n\t\t\t\t\t\t\t\t\t\t\t{value}\n\t\t\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t\t\t{this.renderRemoveButton( id )}\n\t\t\t\t\t\t\t\t\t</Stack>\n\t\t\t\t\t\t\t\t</ListGroup.Item>\n\t\t\t\t\t\t\t) )}\n\t\t\t\t\t\t</ListGroup>\n\t\t\t\t\t</Stack>\n\t\t\t\t</ListGroup.Item>\n\t\t\t);\n\t\t};\n\t\treturn ItemGroup;\n\t}\n\n\trenderItems( groupedItems ) {\n\t\tconst keys = Object.keys( groupedItems ).sort();\n\t\treturn <ListGroup>{keys.map( this.renderItem( groupedItems ) )}</ListGroup>;\n\t}\n\n\trenderRemoveButton( id ) {\n\t\tconst { onRemove, t } = this.props;\n\t\treturn (\n\t\t\t<Button\n\t\t\t\tclassName=\"ms-auto\"\n\t\t\t\tvariant=\"outline-danger\"\n\t\t\t\tonClick={ onRemove }\n\t\t\t\tdata-field=\"specialDates\"\n\t\t\t\tdata-id={ id }\n\t\t\t>\n\t\t\t\t{t( 'configuration.special-dates.button.remove' )}\n\t\t\t</Button>\n\t\t);\n\t}\n\n\trenderStatusMessage() {\n\t\tconst { t } = this.props;\n\n\t\tswitch ( this.state.status ) {\n\t\t\tcase STATUS_LOADING:\n\t\t\t\treturn (\n\t\t\t\t\t<Alert variant=\"info\" className=\"mt-2 mb-0\">\n\t\t\t\t\t\t{t( 'configuration.special-dates.upload.loading' )}\n\t\t\t\t\t</Alert>\n\t\t\t\t);\n\n\t\t\tcase STATUS_ERROR:\n\t\t\t\treturn (\n\t\t\t\t\t<Alert variant=\"danger\" className=\"mt-2 mb-0\">\n\t\t\t\t\t\t{t( 'configuration.special-dates.upload.error' )}\n\t\t\t\t\t</Alert>\n\t\t\t\t);\n\n\t\t\tcase STATUS_SUCCESS:\n\t\t\t\treturn (\n\t\t\t\t\t<Alert variant=\"success\" className=\"mt-2 mb-0\">\n\t\t\t\t\t\t{t( 'configuration.special-dates.upload.success' )}\n\t\t\t\t\t</Alert>\n\t\t\t\t);\n\n\t\t\tcase STATUS_EMPTY:\n\t\t\tdefault:\n\t\t\t\treturn null;\n\t\t}\n\t}\n\n\trenderTypeSelect = ( field ) => {\n\t\tconst { t, [ field ]: value } = this.props;\n\n\t\treturn (\n\t\t\t<Form.Select\n\t\t\t\tclassName=\"flex-grow-0 flex-basis-fit-content\"\n\t\t\t\tvalue={ value }\n\t\t\t\tdata-field={ field }\n\t\t\t\tonChange={ this.onChange }\n\t\t\t\taria-label=\"Default select example\"\n\t\t\t>\n\t\t\t\t<option value={ EVENT_DAY_TYPE }>\n\t\t\t\t\t{t( 'configuration.special-dates.type.' + EVENT_DAY_TYPE )}\n\t\t\t\t</option>\n\t\t\t\t<option value={ HOLIDAY_DAY_TYPE }>\n\t\t\t\t\t{t( 'configuration.special-dates.type.' + HOLIDAY_DAY_TYPE )}\n\t\t\t\t</option>\n\t\t\t</Form.Select>\n\t\t);\n\t};\n\n\trender() {\n\t\tconst { date, value } = this.state;\n\t\tconst { t } = this.props;\n\t\tconst groupedItems = this.getGroupedItems();\n\t\tconst numberOfItems = Object.keys( groupedItems ).length;\n\t\treturn (\n\t\t\t<Accordion.Item eventKey=\"specialDates\">\n\t\t\t\t<Accordion.Header>\n\t\t\t\t\t<Stack direction=\"horizontal\" className=\"w-100\">\n\t\t\t\t\t\t{t( 'configuration.special-dates.title' )}\n\t\t\t\t\t\t<Badge bg=\"info\" className=\"ms-auto me-3\">\n\t\t\t\t\t\t\t{numberOfItems}\n\t\t\t\t\t\t</Badge>\n\t\t\t\t\t</Stack>\n\t\t\t\t</Accordion.Header>\n\t\t\t\t<Accordion.Body>\n\t\t\t\t\t<p>{t( 'configuration.special-dates.description' )}</p>\n\t\t\t\t\t<Stack gap={ 2 }>\n\t\t\t\t\t\t{numberOfItems > 0 ? (\n\t\t\t\t\t\t\tthis.renderItems( groupedItems )\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<Alert variant=\"secondary\" className=\"mb-0\">\n\t\t\t\t\t\t\t\t{t( 'configuration.special-dates.empty' )}\n\t\t\t\t\t\t\t</Alert>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</Stack>\n\t\t\t\t\t<Stack direction=\"horizontal\" className=\"mt-3\">\n\t\t\t\t\t\t<InputGroup>\n\t\t\t\t\t\t\t{this.renderTypeSelect( 'type' )}\n\t\t\t\t\t\t\t<FormControl\n\t\t\t\t\t\t\t\tclassName=\"flex-grow-0 date-field\"\n\t\t\t\t\t\t\t\tvalue={ date }\n\t\t\t\t\t\t\t\tonChange={ this.onChange }\n\t\t\t\t\t\t\t\ttype=\"date\"\n\t\t\t\t\t\t\t\tdata-field=\"date\"\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t<FormControl\n\t\t\t\t\t\t\t\tplaceholder={ t( 'configuration.special-dates.placeholder' ) }\n\t\t\t\t\t\t\t\tvalue={ value }\n\t\t\t\t\t\t\t\tonChange={ this.onChange }\n\t\t\t\t\t\t\t\tdata-field=\"value\"\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t<Button\n\t\t\t\t\t\t\t\tvariant=\"outline-secondary\"\n\t\t\t\t\t\t\t\tdisabled={ ! date || ! value }\n\t\t\t\t\t\t\t\tonClick={ this.onAddClick }\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{t( 'configuration.special-dates.button.item' )}\n\t\t\t\t\t\t\t</Button>\n\t\t\t\t\t\t</InputGroup>\n\t\t\t\t\t</Stack>\n\t\t\t\t\t<Stack className=\"mt-3\">\n\t\t\t\t\t\t<Form.Label htmlFor=\"icsFile\">\n\t\t\t\t\t\t\t{t( 'configuration.special-dates.upload.label' )}\n\t\t\t\t\t\t</Form.Label>\n\t\t\t\t\t\t<Stack direction=\"horizontal\" gap={ 2 }>\n\t\t\t\t\t\t\t{this.renderTypeSelect( 'icalType' )}\n\t\t\t\t\t\t\t<Form.Control\n\t\t\t\t\t\t\t\tid=\"icsFile\"\n\t\t\t\t\t\t\t\ttype=\"file\"\n\t\t\t\t\t\t\t\taccept=\".ics\"\n\t\t\t\t\t\t\t\tonChange={ this.onFileChange }\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</Stack>\n\t\t\t\t\t\t{this.renderStatusMessage()}\n\t\t\t\t\t</Stack>\n\t\t\t\t</Accordion.Body>\n\t\t\t</Accordion.Item>\n\t\t);\n\t}\n}\n\nSpecialDates.propTypes = {\n\tyear: PropTypes.number.isRequired,\n\titems: PropTypes.array.isRequired,\n\tonAdd: PropTypes.func.isRequired,\n\tonRemove: PropTypes.func.isRequired,\n\tt: PropTypes.func.isRequired,\n};\n\nexport default withTranslation( 'app' )( SpecialDates );\n"
  },
  {
    "path": "src/configuration-form/toggle-accordion-item.jsx",
    "content": "import PropTypes from 'prop-types';\nimport React from 'react';\nimport Accordion from 'react-bootstrap/Accordion';\nimport Badge from 'react-bootstrap/Badge';\nimport Stack from 'react-bootstrap/Stack';\nimport ToggleButton from 'react-bootstrap/ToggleButton';\nimport { withTranslation } from 'react-i18next';\n\nfunction ToggleAccordionItem( { children, id, onToggle, t, title, toggledOn } ) {\n\tconst label = toggledOn\n\t\t? t( 'configuration.toggle-form.enabled' )\n\t\t: t( 'configuration.toggle-form.disabled' );\n\treturn (\n\t\t<Accordion.Item eventKey={ id }>\n\t\t\t<Accordion.Header>\n\t\t\t\t<Stack direction=\"horizontal\" className=\"w-100\">\n\t\t\t\t\t{title}\n\t\t\t\t\t<Badge\n\t\t\t\t\t\tbg={ toggledOn ? 'success' : 'secondary' }\n\t\t\t\t\t\tclassName=\"ms-auto me-3\"\n\t\t\t\t\t>\n\t\t\t\t\t\t{label}\n\t\t\t\t\t</Badge>\n\t\t\t\t</Stack>\n\t\t\t</Accordion.Header>\n\t\t\t<Accordion.Body>\n\t\t\t\t<Stack>\n\t\t\t\t\t<ToggleButton\n\t\t\t\t\t\tclassName=\"mb-1\"\n\t\t\t\t\t\tid={ id }\n\t\t\t\t\t\ttype=\"checkbox\"\n\t\t\t\t\t\tvariant={ toggledOn ? 'outline-success' : 'outline-secondary' }\n\t\t\t\t\t\tchecked={ toggledOn }\n\t\t\t\t\t\tonChange={ onToggle }\n\t\t\t\t\t>\n\t\t\t\t\t\t{label}\n\t\t\t\t\t</ToggleButton>\n\t\t\t\t\t{children}\n\t\t\t\t</Stack>\n\t\t\t</Accordion.Body>\n\t\t</Accordion.Item>\n\t);\n}\n\nToggleAccordionItem.propTypes = {\n\tchildren: PropTypes.node.isRequired,\n\tid: PropTypes.string.isRequired,\n\tonToggle: PropTypes.func.isRequired,\n\ttitle: PropTypes.string.isRequired,\n\tt: PropTypes.func.isRequired,\n\ttoggledOn: PropTypes.bool.isRequired,\n};\n\nexport default withTranslation( 'app' )( ToggleAccordionItem );\n"
  },
  {
    "path": "src/configuration.jsx",
    "content": "import { arrayMove } from '@dnd-kit/sortable';\nimport dayjs from 'dayjs/esm';\nimport { saveAs } from 'file-saver';\nimport i18n, { changeLanguage } from 'i18next';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport Accordion from 'react-bootstrap/Accordion';\nimport Button from 'react-bootstrap/Button';\nimport Card from 'react-bootstrap/Card';\nimport Col from 'react-bootstrap/Col';\nimport Container from 'react-bootstrap/Container';\nimport Form from 'react-bootstrap/Form';\nimport InputGroup from 'react-bootstrap/InputGroup';\nimport ListGroup from 'react-bootstrap/ListGroup';\nimport Row from 'react-bootstrap/Row';\nimport Spinner from 'react-bootstrap/Spinner';\nimport Stack from 'react-bootstrap/Stack';\nimport { withTranslation } from 'react-i18next';\n\nimport PdfPreviewCard from '~/components/pdf-preview-card';\nimport PdfProgress from '~/components/pdf-progress';\nimport ConfigurationSelector from '~/configuration-form/configuration-selector';\nimport ItemsList from '~/configuration-form/items-list';\nimport Itinerary from '~/configuration-form/itinerary';\nimport SpecialDates from '~/configuration-form/special-dates';\nimport ToggleAccordionItem from '~/configuration-form/toggle-accordion-item';\nimport { getWeekdays } from '~/lib/date';\nimport { AVAILABLE_DEVICES, CUSTOM, getPageProperties } from '~/lib/device-utils';\nimport { byId, wrapWithId } from '~/lib/id-utils';\nimport PdfConfig, { hydrateFromObject } from '~/pdf/config';\nimport { AVAILABLE_FONTS } from '~/pdf/lib/fonts';\n\nimport 'bootstrap/dist/css/bootstrap.min.css';\nimport './app.css';\n\nconst DAY_ITINERARY_ID_PREFIX = 'day-itinerary-';\n\nclass Configuration extends React.PureComponent {\n\tstate = {\n\t\tisGeneratingPdf: false,\n\t\tisGeneratingPreview: false,\n\t\tblobUrl: null,\n\t\tlastPreviewTime: 10000,\n\t\tlastFullTime: null,\n\t\t...hydrateFromObject( this.props.initialState ),\n\t};\n\n\tconstructor( props ) {\n\t\tsuper( props );\n\n\t\tthis.pdfWorker = new Worker(\n\t\t\tnew URL( './worker/pdf.worker.js', import.meta.url ),\n\t\t\t{ type: 'module' },\n\t\t);\n\t\tthis.pdfWorker.onmessage = this.handlePdfWorkerMessage;\n\t}\n\n\tcomponentDidMount() {\n\t\ti18n.on( 'languageChanged', this.handleLanguageChange );\n\t}\n\n\tcomponentWillUnmount() {\n\t\ti18n.off( 'languageChanged', this.handleLanguageChange );\n\t}\n\n\tcomponentDidUpdate( prevProps, prevState ) {\n\t\tif ( prevState.blobUrl && prevState.blobUrl !== this.state.blobUrl ) {\n\t\t\t// Each refresh generates a new blob - and it will be kept in the memory\n\t\t\t// until the window is refreshed/unloaded. To keep memory consumption low\n\t\t\t// lets explicitly release the stale blob.\n\t\t\t// See https://developer.mozilla.org/en-US/docs/Web/API/URL/revokeObjectURL\n\t\t\tURL.revokeObjectURL( prevState.blobUrl );\n\t\t}\n\t}\n\n\thandleConfigChange = ( newConfig ) => {\n\t\tthis.setState( { ...hydrateFromObject( newConfig ) } );\n\t\tchangeLanguage( newConfig.language );\n\t};\n\n\thandleLanguageChange = () => {\n\t\tdayjs.updateLocale( i18n.language, {\n\t\t\tweekStart: this.state.firstDayOfWeek,\n\t\t} );\n\t};\n\n\thandleFieldChange = ( event ) => {\n\t\tlet targetId = event.target.id;\n\n\t\tlet value =\n\t\t\tevent.target.type !== 'checkbox'\n\t\t\t\t? event.target.value\n\t\t\t\t: event.target.checked;\n\t\tif ( event.target.type === 'number' || event.target.dataset.type === 'number' ) {\n\t\t\tvalue = Number( value );\n\t\t}\n\n\t\tif ( targetId === 'resolutionX' || targetId === 'resolutionY' ) {\n\t\t\tvalue = targetId === 'resolutionX'\n\t\t\t\t? [ value, this.state.pageSize[ 1 ] ]\n\t\t\t\t: [ this.state.pageSize[ 0 ], value ];\n\t\t\ttargetId = 'pageSize';\n\t\t}\n\n\t\tthis.setState( { [ targetId ]: value } );\n\n\t\tswitch ( event.target.id ) {\n\t\t\tcase 'firstDayOfWeek':\n\t\t\t\tthis.handleFirstDayOfWeekChange( value );\n\t\t\t\tbreak;\n\n\t\t\tcase 'device':\n\t\t\t\tthis.handleDeviceChange( value );\n\t\t\t\tbreak;\n\t\t}\n\t};\n\n\thandleDeviceChange = ( device ) => {\n\t\tif ( device !== CUSTOM ) {\n\t\t\tconst { dpi, pageSize } = getPageProperties( device );\n\t\t\tthis.setState( { dpi, pageSize } );\n\t\t\treturn;\n\t\t}\n\t};\n\n\thandleFirstDayOfWeekChange = ( newFirstDayOfWeek ) => {\n\t\tdayjs.updateLocale( i18n.language, {\n\t\t\tweekStart: newFirstDayOfWeek,\n\t\t} );\n\n\t\tconst newFirstDayOfWeekIndex = this.state.dayItineraries.findIndex(\n\t\t\tthis.isDayOfWeek( newFirstDayOfWeek ),\n\t\t);\n\t\tif ( newFirstDayOfWeekIndex === -1 ) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst dayItinerariesReordered = [\n\t\t\t...this.state.dayItineraries.slice( newFirstDayOfWeekIndex ),\n\t\t\t...this.state.dayItineraries.slice( 0, newFirstDayOfWeekIndex ),\n\t\t];\n\n\t\tthis.setState( { dayItineraries: dayItinerariesReordered } );\n\t};\n\n\tisDayOfWeek = ( dayOfWeek ) => {\n\t\treturn ( item ) => item.dayOfWeek === dayOfWeek;\n\t};\n\n\thandleToggle = ( event ) => {\n\t\tthis.setState( { [ event.target.id ]: event.target.checked } );\n\t};\n\n\thandleDayItineraryToggle = ( event ) => {\n\t\tconst id = Number( event.target.id.replace( DAY_ITINERARY_ID_PREFIX, '' ) );\n\t\tconst newItineraries = [ ...this.state.dayItineraries ];\n\t\tnewItineraries[ id ].isEnabled = event.target.checked;\n\n\t\tthis.setState( { dayItineraries: newItineraries } );\n\t};\n\n\thandleWeekendChange = ( event ) => {\n\t\tconst dayOfWeek = Number( event.target.dataset.index );\n\t\tconst newWeekendDays = [ ...this.state.weekendDays ];\n\t\tconst indexInArray = newWeekendDays.indexOf( dayOfWeek );\n\t\tif ( event.target.checked ) {\n\t\t\tif ( indexInArray === -1 ) {\n\t\t\t\tnewWeekendDays.push( dayOfWeek );\n\t\t\t}\n\t\t} else if ( indexInArray !== -1 ) {\n\t\t\tnewWeekendDays.splice( indexInArray, 1 );\n\t\t}\n\n\t\tthis.setState( { weekendDays: newWeekendDays } );\n\t};\n\n\thandleDownload = ( event ) => {\n\t\tthis.setState( { isGeneratingPdf: true } );\n\t\tthis.generatePdf( false );\n\t};\n\n\thandleItemAdd = ( event ) => {\n\t\tconst field = event.target.dataset.field;\n\t\tconst newItems = [ ...this.state[ field ] ];\n\t\tnewItems.push( wrapWithId( '' ) );\n\t\tthis.setState( { [ field ]: newItems } );\n\t};\n\n\thandleItemChange = ( event ) => {\n\t\tconst field = event.target.dataset.field;\n\t\tconst newItems = [ ...this.state[ field ] ];\n\t\tconst index = this.state[ field ].findIndex( byId( event.target.dataset.id ) );\n\t\tif ( index === -1 ) {\n\t\t\treturn;\n\t\t}\n\t\tnewItems[ index ].value = event.target.value;\n\t\tthis.setState( { [ field ]: newItems } );\n\t};\n\n\thandleDragEnd = ( { oldId, newId, field } ) => {\n\t\tconst oldIndex = this.state[ field ].findIndex( byId( oldId ) );\n\t\tconst newIndex = this.state[ field ].findIndex( byId( newId ) );\n\t\tif ( oldIndex === -1 || newIndex === -1 ) {\n\t\t\treturn;\n\t\t}\n\t\tconst newItems = arrayMove( this.state[ field ], oldIndex, newIndex );\n\t\tthis.setState( { [ field ]: newItems } );\n\t};\n\n\thandleDayItineraryDragEnd = ( { oldId, newId, field } ) => {\n\t\tconst oldIndex = this.state.dayItineraries[ field ].items.findIndex(\n\t\t\tbyId( oldId ),\n\t\t);\n\t\tconst newIndex = this.state.dayItineraries[ field ].items.findIndex(\n\t\t\tbyId( newId ),\n\t\t);\n\t\tif ( oldIndex === -1 || newIndex === -1 ) {\n\t\t\treturn;\n\t\t}\n\t\tconst newItineraries = [ ...this.state.dayItineraries ];\n\t\tnewItineraries[ field ].items = arrayMove(\n\t\t\tnewItineraries[ field ].items,\n\t\t\toldIndex,\n\t\t\tnewIndex,\n\t\t);\n\t\tthis.setState( { dayItineraries: newItineraries } );\n\t};\n\n\thandleItemRemove = ( event ) => {\n\t\tconst field = event.target.dataset.field;\n\t\tconst newItems = [ ...this.state[ field ] ];\n\t\tconst index = this.state[ field ].findIndex( byId( event.target.dataset.id ) );\n\t\tif ( index === -1 ) {\n\t\t\treturn;\n\t\t}\n\t\tnewItems.splice( index, 1 );\n\t\tthis.setState( { [ field ]: newItems } );\n\t};\n\n\thandleItineraryAdd = ( event ) => {\n\t\tconst field = event.target.dataset.field;\n\t\tconst newItinerary = [ ...this.state[ field ] ];\n\t\tnewItinerary.push(\n\t\t\twrapWithId( {\n\t\t\t\ttype: event.target.dataset.type,\n\t\t\t\tvalue: '',\n\t\t\t} ),\n\t\t);\n\t\tthis.setState( { [ field ]: newItinerary } );\n\t};\n\n\thandleItineraryChange = ( event ) => {\n\t\tconst { field, id, type } = event.target.dataset;\n\t\tconst newItinerary = [ ...this.state[ field ] ];\n\t\tconst index = this.state[ field ].findIndex( byId( id ) );\n\t\tif ( index === -1 ) {\n\t\t\treturn;\n\t\t}\n\t\tnewItinerary[ index ] = {\n\t\t\tid,\n\t\t\ttype,\n\t\t\tvalue: type === 'lines' ? Number( event.target.value ) : event.target.value,\n\t\t};\n\t\tthis.setState( { [ field ]: newItinerary } );\n\t};\n\n\thandleItineraryRemove = ( event ) => {\n\t\tconst field = event.target.dataset.field;\n\t\tconst newItineraries = [ ...this.state[ field ] ];\n\t\tconst index = this.state[ field ].findIndex( byId( event.target.dataset.id ) );\n\t\tif ( index === -1 ) {\n\t\t\treturn;\n\t\t}\n\t\tnewItineraries.splice( index, 1 );\n\t\tthis.setState( { [ field ]: newItineraries } );\n\t};\n\n\thandlePreview = ( event ) => {\n\t\tevent.preventDefault();\n\t\tthis.setState( { isGeneratingPreview: true } );\n\t\tthis.generatePdf( true );\n\t};\n\n\tgeneratePdf( isPreview ) {\n\t\tthis.startTime = new Date();\n\t\tthis.pdfWorker.postMessage( {\n\t\t\tisPreview,\n\t\t\tlanguage: i18n.language,\n\t\t\t...hydrateFromObject( this.state ),\n\t\t} );\n\t}\n\n\thandlePdfWorkerMessage = ( { data: { blob } } ) => {\n\t\tconst shouldTriggerDownload = this.state.isGeneratingPdf;\n\t\tif ( this.state.isGeneratingPreview ) {\n\t\t\tconst previewTime = new Date().getTime() - this.startTime.getTime();\n\t\t\tthis.setState( {\n\t\t\t\tblobUrl: URL.createObjectURL( blob ),\n\t\t\t\tlastPreviewTime: previewTime,\n\t\t\t} );\n\t\t}\n\t\tthis.setState( { isGeneratingPdf: false, isGeneratingPreview: false } );\n\t\tif ( shouldTriggerDownload ) {\n\t\t\tconst fullTime = new Date().getTime() - this.startTime.getTime();\n\t\t\tthis.setState( { lastFullTime: fullTime } );\n\t\t\tsaveAs( blob, 'recalendar.pdf' );\n\t\t}\n\t};\n\n\thandlePdfGeneration = ( { blob, url, loading, error } ) => {\n\t\tconst { t } = this.props;\n\t\treturn loading ? t( 'loading' ) : t( 'download-ready' );\n\t};\n\n\thandleDayItineraryChange = ( event ) => {\n\t\tconst newItineraries = [ ...this.state.dayItineraries ];\n\t\tconst { field, type } = event.target.dataset;\n\t\tconst index = this.state.dayItineraries[ field ].items.findIndex(\n\t\t\tbyId( event.target.dataset.id ),\n\t\t);\n\t\tnewItineraries[ field ].items[ index ] = {\n\t\t\tid: event.target.dataset.id,\n\t\t\ttype,\n\t\t\tvalue: type === 'lines' ? Number( event.target.value ) : event.target.value,\n\t\t};\n\t\tthis.setState( { dayItineraries: newItineraries } );\n\t};\n\n\thandleDayItineraryRemove = ( event ) => {\n\t\tconst field = event.target.dataset.field;\n\t\tconst newItineraries = [ ...this.state.dayItineraries ];\n\t\tconst index = this.state.dayItineraries[ field ].items.findIndex(\n\t\t\tbyId( event.target.dataset.id ),\n\t\t);\n\t\tif ( index === -1 ) {\n\t\t\treturn;\n\t\t}\n\t\tnewItineraries[ field ].items.splice( index, 1 );\n\t\tthis.setState( { dayItineraries: newItineraries } );\n\t};\n\n\thandleDayItineraryCopy = ( event ) => {\n\t\tconst { field } = event.target.dataset;\n\t\tconst itemsToCopy = [ ...this.state.dayItineraries[ field ].items ];\n\t\tconst newItineraries = this.state.dayItineraries.map( ( itinerary ) => ( {\n\t\t\t...itinerary,\n\t\t\titems: [ ...itemsToCopy ],\n\t\t\tisEnabled: this.state.dayItineraries[ field ].isEnabled,\n\t\t} ) );\n\t\tthis.setState( { dayItineraries: newItineraries } );\n\t};\n\n\thandleDayItineraryAdd = ( event ) => {\n\t\tconst newItineraries = [ ...this.state.dayItineraries ];\n\t\tconst { field, type } = event.target.dataset;\n\t\tnewItineraries[ field ].items.push(\n\t\t\twrapWithId( {\n\t\t\t\ttype,\n\t\t\t\tvalue: '',\n\t\t\t} ),\n\t\t);\n\t\tthis.setState( { dayItineraries: newItineraries } );\n\t};\n\n\thandleSpecialDateAdd = ( newSpecialDate ) => {\n\t\tthis.setState(\n\t\t\t( prev ) => ( {\n\t\t\t\tspecialDates: [\n\t\t\t\t\t...prev.specialDates,\n\t\t\t\t\twrapWithId( newSpecialDate ),\n\t\t\t\t],\n\t\t\t} ),\n\t\t);\n\t};\n\n\trenderDevices() {\n\t\treturn AVAILABLE_DEVICES.map( ( device ) => (\n\t\t\t<option key={ device } value={ device }>\n\t\t\t\t{device}\n\t\t\t</option>\n\t\t) );\n\t}\n\n\trenderFonts() {\n\t\treturn AVAILABLE_FONTS.map( ( font ) => (\n\t\t\t<option key={ font } value={ font }>\n\t\t\t\t{font}\n\t\t\t</option>\n\t\t) );\n\t}\n\n\trenderMonths() {\n\t\treturn dayjs\n\t\t\t.localeData()\n\t\t\t.months()\n\t\t\t.map( ( month, index ) => (\n\t\t\t\t<option key={ index } value={ index }>\n\t\t\t\t\t{month}\n\t\t\t\t</option>\n\t\t\t) );\n\t}\n\n\trenderDaysOfWeek() {\n\t\treturn getWeekdays( this.state.firstDayOfWeek ).map( ( { full, index } ) => (\n\t\t\t<option key={ full } value={ index }>\n\t\t\t\t{full}\n\t\t\t</option>\n\t\t) );\n\t}\n\n\trenderWeekendSelection() {\n\t\treturn getWeekdays( this.state.firstDayOfWeek ).map( ( { full, index } ) => (\n\t\t\t<ListGroup.Item key={ full } value={ index }>\n\t\t\t\t<Form.Check\n\t\t\t\t\tid={ 'weekend-' + index }\n\t\t\t\t\ttype=\"checkbox\"\n\t\t\t\t\tlabel={ full }\n\t\t\t\t\tdata-index={ index }\n\t\t\t\t\tchecked={ this.state.weekendDays.includes( index ) }\n\t\t\t\t\tonChange={ this.handleWeekendChange }\n\t\t\t\t/>\n\t\t\t</ListGroup.Item>\n\t\t) );\n\t}\n\n\trenderDayItinerary = ( { full: dayOfWeek }, index ) => {\n\t\treturn (\n\t\t\t<ToggleAccordionItem\n\t\t\t\tkey={ dayOfWeek }\n\t\t\t\tid={ DAY_ITINERARY_ID_PREFIX + index }\n\t\t\t\ttitle={ dayOfWeek }\n\t\t\t\tonToggle={ this.handleDayItineraryToggle }\n\t\t\t\ttoggledOn={ this.state.dayItineraries[ index ].isEnabled }\n\t\t\t>\n\t\t\t\t<Itinerary\n\t\t\t\t\tfield={ index.toString() }\n\t\t\t\t\titinerary={ this.state.dayItineraries[ index ].items }\n\t\t\t\t\tonAdd={ this.handleDayItineraryAdd }\n\t\t\t\t\tonChange={ this.handleDayItineraryChange }\n\t\t\t\t\tonDragEnd={ this.handleDayItineraryDragEnd }\n\t\t\t\t\tonRemove={ this.handleDayItineraryRemove }\n\t\t\t\t\tonCopy={ this.handleDayItineraryCopy }\n\t\t\t\t/>\n\t\t\t</ToggleAccordionItem>\n\t\t);\n\t};\n\n\trenderConfigurationForm() {\n\t\tconst { t } = this.props;\n\t\tconst { device, isGeneratingPdf, isGeneratingPreview } = this.state;\n\t\tconst isCustomDevice = device === CUSTOM;\n\t\treturn (\n\t\t\t<Form onSubmit={ this.handlePreview }>\n\t\t\t\t<Accordion defaultActiveKey=\"start\" className=\"my-3\">\n\t\t\t\t\t<Accordion.Item eventKey=\"start\">\n\t\t\t\t\t\t<Accordion.Header>\n\t\t\t\t\t\t\t{t( 'configuration.selector.label' )}\n\t\t\t\t\t\t</Accordion.Header>\n\t\t\t\t\t\t<Accordion.Body>\n\t\t\t\t\t\t\t<ConfigurationSelector onConfigChange={ this.handleConfigChange } />\n\t\t\t\t\t\t</Accordion.Body>\n\t\t\t\t\t</Accordion.Item>\n\t\t\t\t\t<Accordion.Item eventKey=\"general\">\n\t\t\t\t\t\t<Accordion.Header>\n\t\t\t\t\t\t\t{t( 'configuration.general.label' )}\n\t\t\t\t\t\t</Accordion.Header>\n\t\t\t\t\t\t<Accordion.Body>\n\t\t\t\t\t\t\t<Form.Group controlId=\"device\">\n\t\t\t\t\t\t\t\t<Form.Label>{t( 'configuration.general.device' )}</Form.Label>\n\t\t\t\t\t\t\t\t<Form.Select\n\t\t\t\t\t\t\t\t\tvalue={ this.state.device }\n\t\t\t\t\t\t\t\t\tonChange={ this.handleFieldChange }\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t{this.renderDevices()}\n\t\t\t\t\t\t\t\t</Form.Select>\n\t\t\t\t\t\t\t</Form.Group>\n\t\t\t\t\t\t\t{isCustomDevice && <Form.Group controlId=\"dpi\">\n\t\t\t\t\t\t\t\t<Form.Label>{t( 'configuration.general.dpi' )}</Form.Label>\n\t\t\t\t\t\t\t\t<Form.Control\n\t\t\t\t\t\t\t\t\ttype=\"number\"\n\t\t\t\t\t\t\t\t\tvalue={ this.state.dpi }\n\t\t\t\t\t\t\t\t\tonChange={ this.handleFieldChange }\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t</Form.Group>}\n\t\t\t\t\t\t\t{isCustomDevice && <Form.Group>\n\t\t\t\t\t\t\t\t<Form.Label htmlFor=\"resolutionX\">\n\t\t\t\t\t\t\t\t\t{t( 'configuration.general.resolution' )}\n\t\t\t\t\t\t\t\t</Form.Label>\n\t\t\t\t\t\t\t\t<InputGroup>\n\t\t\t\t\t\t\t\t\t<Form.Control\n\t\t\t\t\t\t\t\t\t\tid=\"resolutionX\"\n\t\t\t\t\t\t\t\t\t\ttype=\"number\"\n\t\t\t\t\t\t\t\t\t\tvalue={ this.state.pageSize[ 0 ] }\n\t\t\t\t\t\t\t\t\t\tonChange={ this.handleFieldChange }\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t<InputGroup.Text>x</InputGroup.Text>\n\t\t\t\t\t\t\t\t\t<Form.Control\n\t\t\t\t\t\t\t\t\t\tid=\"resolutionY\"\n\t\t\t\t\t\t\t\t\t\ttype=\"number\"\n\t\t\t\t\t\t\t\t\t\tvalue={ this.state.pageSize[ 1 ] }\n\t\t\t\t\t\t\t\t\t\tonChange={ this.handleFieldChange }\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t</InputGroup>\n\t\t\t\t\t\t\t</Form.Group>}\n\t\t\t\t\t\t\t<Form.Group controlId=\"fontFamily\">\n\t\t\t\t\t\t\t\t<Form.Label>{t( 'configuration.general.font' )}</Form.Label>\n\t\t\t\t\t\t\t\t<Form.Select\n\t\t\t\t\t\t\t\t\tvalue={ this.state.fontFamily }\n\t\t\t\t\t\t\t\t\tonChange={ this.handleFieldChange }\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t{this.renderFonts()}\n\t\t\t\t\t\t\t\t</Form.Select>\n\t\t\t\t\t\t\t</Form.Group>\n\t\t\t\t\t\t\t<Form.Group controlId=\"isLeftHanded\" className=\"mt-2\">\n\t\t\t\t\t\t\t\t<Form.Check\n\t\t\t\t\t\t\t\t\tlabel={ t( 'configuration.general.left-handed.label' ) }\n\t\t\t\t\t\t\t\t\ttype=\"checkbox\"\n\t\t\t\t\t\t\t\t\tchecked={ this.state.isLeftHanded }\n\t\t\t\t\t\t\t\t\tvalue={ this.state.isLeftHanded }\n\t\t\t\t\t\t\t\t\tonChange={ this.handleFieldChange }\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t<Form.Text className=\"text-muted\">\n\t\t\t\t\t\t\t\t\t{t( 'configuration.general.left-handed.description' )}\n\t\t\t\t\t\t\t\t</Form.Text>\n\t\t\t\t\t\t\t</Form.Group>\n\t\t\t\t\t\t\t<Form.Group controlId=\"alwaysOnSidebar\" className=\"mt-2\">\n\t\t\t\t\t\t\t\t<Form.Check\n\t\t\t\t\t\t\t\t\tlabel={ t( 'configuration.general.sidebar.label' ) }\n\t\t\t\t\t\t\t\t\ttype=\"checkbox\"\n\t\t\t\t\t\t\t\t\tchecked={ this.state.alwaysOnSidebar }\n\t\t\t\t\t\t\t\t\tvalue={ this.state.alwaysOnSidebar }\n\t\t\t\t\t\t\t\t\tonChange={ this.handleFieldChange }\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t<Form.Text className=\"text-muted\">\n\t\t\t\t\t\t\t\t\t{t( 'configuration.general.sidebar.description' )}\n\t\t\t\t\t\t\t\t</Form.Text>\n\t\t\t\t\t\t\t</Form.Group>\n\t\t\t\t\t\t\t<Form.Group controlId=\"year\">\n\t\t\t\t\t\t\t\t<Form.Label>{t( 'configuration.general.year' )}</Form.Label>\n\t\t\t\t\t\t\t\t<Form.Control\n\t\t\t\t\t\t\t\t\ttype=\"number\"\n\t\t\t\t\t\t\t\t\tvalue={ this.state.year }\n\t\t\t\t\t\t\t\t\tonChange={ this.handleFieldChange }\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t</Form.Group>\n\t\t\t\t\t\t\t<Form.Group controlId=\"month\">\n\t\t\t\t\t\t\t\t<Form.Label>\n\t\t\t\t\t\t\t\t\t{t( 'configuration.general.starting-month.label' )}\n\t\t\t\t\t\t\t\t</Form.Label>\n\t\t\t\t\t\t\t\t<Form.Select\n\t\t\t\t\t\t\t\t\tvalue={ this.state.month }\n\t\t\t\t\t\t\t\t\tonChange={ this.handleFieldChange }\n\t\t\t\t\t\t\t\t\tdata-type=\"number\"\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t{this.renderMonths()}\n\t\t\t\t\t\t\t\t</Form.Select>\n\t\t\t\t\t\t\t\t<Form.Text className=\"text-muted\">\n\t\t\t\t\t\t\t\t\t{t( 'configuration.general.starting-month.description' )}\n\t\t\t\t\t\t\t\t</Form.Text>\n\t\t\t\t\t\t\t</Form.Group>\n\t\t\t\t\t\t\t<Form.Group controlId=\"firstDayOfWeek\">\n\t\t\t\t\t\t\t\t<Form.Label>\n\t\t\t\t\t\t\t\t\t{t( 'configuration.general.first-day-of-week' )}\n\t\t\t\t\t\t\t\t</Form.Label>\n\t\t\t\t\t\t\t\t<Form.Select\n\t\t\t\t\t\t\t\t\tvalue={ this.state.firstDayOfWeek }\n\t\t\t\t\t\t\t\t\tonChange={ this.handleFieldChange }\n\t\t\t\t\t\t\t\t\tdata-type=\"number\"\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t{this.renderDaysOfWeek()}\n\t\t\t\t\t\t\t\t</Form.Select>\n\t\t\t\t\t\t\t</Form.Group>\n\t\t\t\t\t\t\t<Form.Group controlId=\"monthCount\">\n\t\t\t\t\t\t\t\t<Form.Label>\n\t\t\t\t\t\t\t\t\t{t( 'configuration.general.month-count.label' )}\n\t\t\t\t\t\t\t\t</Form.Label>\n\t\t\t\t\t\t\t\t<Form.Control\n\t\t\t\t\t\t\t\t\ttype=\"number\"\n\t\t\t\t\t\t\t\t\tvalue={ this.state.monthCount }\n\t\t\t\t\t\t\t\t\tonChange={ this.handleFieldChange }\n\t\t\t\t\t\t\t\t\tmin={ 1 }\n\t\t\t\t\t\t\t\t\tmax={ 12 }\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t<Form.Text className=\"text-muted\">\n\t\t\t\t\t\t\t\t\t{t( 'configuration.general.month-count.description' )}\n\t\t\t\t\t\t\t\t</Form.Text>\n\t\t\t\t\t\t\t</Form.Group>\n\t\t\t\t\t\t\t<Form.Label>{t( 'configuration.general.weekend' )}</Form.Label>\n\t\t\t\t\t\t\t<ListGroup>{this.renderWeekendSelection()}</ListGroup>\n\t\t\t\t\t\t</Accordion.Body>\n\t\t\t\t\t</Accordion.Item>\n\t\t\t\t\t<SpecialDates\n\t\t\t\t\t\tyear={ this.state.year }\n\t\t\t\t\t\titems={ this.state.specialDates }\n\t\t\t\t\t\tonAdd={ this.handleSpecialDateAdd }\n\t\t\t\t\t\tonRemove={ this.handleItemRemove }\n\t\t\t\t\t/>\n\t\t\t\t\t<ToggleAccordionItem\n\t\t\t\t\t\tid=\"isMonthOverviewEnabled\"\n\t\t\t\t\t\ttitle={ t( 'configuration.month.title' ) }\n\t\t\t\t\t\tonToggle={ this.handleToggle }\n\t\t\t\t\t\ttoggledOn={ this.state.isMonthOverviewEnabled }\n\t\t\t\t\t>\n\t\t\t\t\t\t<p className=\"mb-0\">{t( 'configuration.month.description' )}</p>\n\t\t\t\t\t\t<Accordion className=\"mt-3\" defaultActiveKey=\"habits\">\n\t\t\t\t\t\t\t<ItemsList\n\t\t\t\t\t\t\t\tfield=\"habits\"\n\t\t\t\t\t\t\t\ttitle={ t( 'configuration.month.habits.title' ) }\n\t\t\t\t\t\t\t\titems={ this.state.habits }\n\t\t\t\t\t\t\t\tonAdd={ this.handleItemAdd }\n\t\t\t\t\t\t\t\tonChange={ this.handleItemChange }\n\t\t\t\t\t\t\t\tonDragEnd={ this.handleDragEnd }\n\t\t\t\t\t\t\t\tonRemove={ this.handleItemRemove }\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t<Accordion.Item eventKey=\"monthItinerary\">\n\t\t\t\t\t\t\t\t<Accordion.Header>\n\t\t\t\t\t\t\t\t\t{t( 'configuration.month.itinerary.title' )}\n\t\t\t\t\t\t\t\t</Accordion.Header>\n\t\t\t\t\t\t\t\t<Accordion.Body>\n\t\t\t\t\t\t\t\t\t<Itinerary\n\t\t\t\t\t\t\t\t\t\tfield=\"monthItinerary\"\n\t\t\t\t\t\t\t\t\t\titinerary={ this.state.monthItinerary }\n\t\t\t\t\t\t\t\t\t\tonAdd={ this.handleItineraryAdd }\n\t\t\t\t\t\t\t\t\t\tonChange={ this.handleItineraryChange }\n\t\t\t\t\t\t\t\t\t\tonDragEnd={ this.handleDragEnd }\n\t\t\t\t\t\t\t\t\t\tonRemove={ this.handleItineraryRemove }\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t</Accordion.Body>\n\t\t\t\t\t\t\t</Accordion.Item>\n\t\t\t\t\t\t</Accordion>\n\t\t\t\t\t</ToggleAccordionItem>\n\t\t\t\t\t<ToggleAccordionItem\n\t\t\t\t\t\tid=\"isWeekOverviewEnabled\"\n\t\t\t\t\t\ttitle={ t( 'configuration.week.title' ) }\n\t\t\t\t\t\tonToggle={ this.handleToggle }\n\t\t\t\t\t\ttoggledOn={ this.state.isWeekOverviewEnabled }\n\t\t\t\t\t>\n\t\t\t\t\t\t<p className=\"mb-0\">{t( 'configuration.week.description' )}</p>\n\t\t\t\t\t\t<Accordion className=\"mt-3\" defaultActiveKey=\"todos\">\n\t\t\t\t\t\t\t<ItemsList\n\t\t\t\t\t\t\t\tfield=\"todos\"\n\t\t\t\t\t\t\t\ttitle={ t( 'configuration.week.todos.title' ) }\n\t\t\t\t\t\t\t\titems={ this.state.todos }\n\t\t\t\t\t\t\t\tonAdd={ this.handleItemAdd }\n\t\t\t\t\t\t\t\tonChange={ this.handleItemChange }\n\t\t\t\t\t\t\t\tonDragEnd={ this.handleDragEnd }\n\t\t\t\t\t\t\t\tonRemove={ this.handleItemRemove }\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</Accordion>\n\t\t\t\t\t</ToggleAccordionItem>\n\t\t\t\t\t<Accordion.Item eventKey=\"dayItineraries\">\n\t\t\t\t\t\t<Accordion.Header>{t( 'configuration.day.title' )}</Accordion.Header>\n\t\t\t\t\t\t<Accordion.Body>\n\t\t\t\t\t\t\t<Accordion defaultActiveKey=\"0\">\n\t\t\t\t\t\t\t\t{getWeekdays( this.state.firstDayOfWeek ).map( this.renderDayItinerary )}\n\t\t\t\t\t\t\t</Accordion>\n\t\t\t\t\t\t</Accordion.Body>\n\t\t\t\t\t</Accordion.Item>\n\t\t\t\t\t<ToggleAccordionItem\n\t\t\t\t\t\tid=\"isWeekRetrospectiveEnabled\"\n\t\t\t\t\t\ttitle={ t( 'configuration.week.retrospective.title' ) }\n\t\t\t\t\t\tonToggle={ this.handleToggle }\n\t\t\t\t\t\ttoggledOn={ this.state.isWeekRetrospectiveEnabled }\n\t\t\t\t\t>\n\t\t\t\t\t\t<p className=\"mb-0\">\n\t\t\t\t\t\t\t{t( 'configuration.week.retrospective.description' )}\n\t\t\t\t\t\t</p>\n\t\t\t\t\t\t<Accordion\n\t\t\t\t\t\t\tclassName=\"mt-3\"\n\t\t\t\t\t\t\tdefaultActiveKey=\"weekRetrospectiveItinerary\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<Accordion.Item eventKey=\"weekRetrospectiveItinerary\">\n\t\t\t\t\t\t\t\t<Accordion.Header>\n\t\t\t\t\t\t\t\t\t{t( 'configuration.week.retrospective.itinerary.title' )}\n\t\t\t\t\t\t\t\t</Accordion.Header>\n\t\t\t\t\t\t\t\t<Accordion.Body>\n\t\t\t\t\t\t\t\t\t<Itinerary\n\t\t\t\t\t\t\t\t\t\tfield=\"weekRetrospectiveItinerary\"\n\t\t\t\t\t\t\t\t\t\titinerary={ this.state.weekRetrospectiveItinerary }\n\t\t\t\t\t\t\t\t\t\tonAdd={ this.handleItineraryAdd }\n\t\t\t\t\t\t\t\t\t\tonChange={ this.handleItineraryChange }\n\t\t\t\t\t\t\t\t\t\tonDragEnd={ this.handleDragEnd }\n\t\t\t\t\t\t\t\t\t\tonRemove={ this.handleItineraryRemove }\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t</Accordion.Body>\n\t\t\t\t\t\t\t</Accordion.Item>\n\t\t\t\t\t\t</Accordion>\n\t\t\t\t\t</ToggleAccordionItem>\n\t\t\t\t</Accordion>\n\t\t\t\t<Stack\n\t\t\t\t\tdirection=\"vertical\"\n\t\t\t\t\tgap={ 2 }\n\t\t\t\t\tclassName=\"pt-3 position-sticky bg-body refresh-button\"\n\t\t\t\t>\n\t\t\t\t\t<Button\n\t\t\t\t\t\tvariant=\"primary\"\n\t\t\t\t\t\tclassName=\"w-100\"\n\t\t\t\t\t\tdisabled={ isGeneratingPreview || isGeneratingPdf }\n\t\t\t\t\t\ttype=\"submit\"\n\t\t\t\t\t>\n\t\t\t\t\t\t{isGeneratingPreview ? (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t<Spinner\n\t\t\t\t\t\t\t\t\tas=\"span\"\n\t\t\t\t\t\t\t\t\tanimation=\"border\"\n\t\t\t\t\t\t\t\t\tsize=\"sm\"\n\t\t\t\t\t\t\t\t\trole=\"status\"\n\t\t\t\t\t\t\t\t\taria-hidden=\"true\"\n\t\t\t\t\t\t\t\t\tclassName=\"me-1\"\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t{t( 'configuration.button.generating' )}\n\t\t\t\t\t\t\t</>\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\tt( 'configuration.button.refresh' )\n\t\t\t\t\t\t)}\n\t\t\t\t\t</Button>\n\t\t\t\t\t{isGeneratingPreview && (\n\t\t\t\t\t\t<PdfProgress expectedTime={ this.state.lastPreviewTime } />\n\t\t\t\t\t)}\n\t\t\t\t\t<Form.Text className=\"text-muted pb-3\">\n\t\t\t\t\t\t{t( 'configuration.generation-description' )}\n\t\t\t\t\t</Form.Text>\n\t\t\t\t</Stack>\n\t\t\t</Form>\n\t\t);\n\t}\n\n\trender() {\n\t\tconst { t } = this.props;\n\n\t\treturn (\n\t\t\t<Container className=\"h-100\" fluid>\n\t\t\t\t<Row className=\"h-100\">\n\t\t\t\t\t<Col>{this.renderConfigurationForm()}</Col>\n\t\t\t\t\t<Col>\n\t\t\t\t\t\t<div className=\"pt-3 pb-3 position-sticky top-0 vh-100\">\n\t\t\t\t\t\t\t<Card className=\"h-100\">\n\t\t\t\t\t\t\t\t<Card.Header>\n\t\t\t\t\t\t\t\t\t{t( 'preview.title' )}{' '}\n\t\t\t\t\t\t\t\t\t<small className=\"text-muted\">{t( 'preview.subtitle' )}</small>\n\t\t\t\t\t\t\t\t</Card.Header>\n\t\t\t\t\t\t\t\t<Card.Body className=\"pb-0\">\n\t\t\t\t\t\t\t\t\t<PdfPreviewCard\n\t\t\t\t\t\t\t\t\t\tblobUrl={ this.state.blobUrl }\n\t\t\t\t\t\t\t\t\t\texpectedTime={\n\t\t\t\t\t\t\t\t\t\t\tthis.state.lastFullTime || 12 * this.state.lastPreviewTime\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tisGeneratingPdf={ this.state.isGeneratingPdf }\n\t\t\t\t\t\t\t\t\t\tisGeneratingPreview={ this.state.isGeneratingPreview }\n\t\t\t\t\t\t\t\t\t\tonDownload={ this.handleDownload }\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t</Card.Body>\n\t\t\t\t\t\t\t</Card>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</Col>\n\t\t\t\t</Row>\n\t\t\t</Container>\n\t\t);\n\t}\n}\n\nConfiguration.propTypes = {\n\tinitialState: PropTypes.instanceOf( PdfConfig ).isRequired,\n\tt: PropTypes.func.isRequired,\n};\n\nexport default withTranslation( [ 'app' ] )( Configuration );\n"
  },
  {
    "path": "src/index.css",
    "content": "body {\n  margin: 0;\n  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',\n    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',\n    sans-serif;\n  -webkit-font-smoothing: antialiased;\n  -moz-osx-font-smoothing: grayscale;\n}\n\ncode {\n  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',\n    monospace;\n}\n"
  },
  {
    "path": "src/index.jsx",
    "content": "import i18n from 'i18next';\nimport LanguageDetector from 'i18next-browser-languagedetector';\nimport React from 'react';\nimport { createRoot } from 'react-dom/client';\nimport { initReactI18next } from 'react-i18next';\nimport resources from 'virtual:i18next-loader';\n\nimport '~/index.css';\n\nimport '~/config/dayjs';\nimport { handleLanguageChange, i18nConfiguration } from '~/config/i18n';\nimport Loader from '~/loader';\n\ni18n.on( 'languageChanged', ( newLanguage ) => {\n\thandleLanguageChange( newLanguage );\n} );\n\ni18n\n\t.use( LanguageDetector )\n\t.use( initReactI18next )\n\t.init(\n\t\t{ ...i18nConfiguration( [ 'app', 'pdf', 'config' ] ), resources },\n\t);\n\nconst container = document.getElementById( 'root' );\nconst root = createRoot( container );\nroot.render(\n\t<React.StrictMode>\n\t\t<Loader />\n\t</React.StrictMode>,\n);\n"
  },
  {
    "path": "src/lib/attachments.js",
    "content": "import {\n\tPDFDocument,\n\tPDFName,\n\tPDFDict,\n\tPDFArray,\n\tPDFStream,\n\tdecodePDFRawStream,\n} from 'pdf-lib';\n\n// https://github.com/Hopding/pdf-lib/issues/534#issuecomment-662756915\nexport async function getJsonAttachment( pdfData, attachmentName ) {\n\ttry {\n\t\tconst pdfDoc = await PDFDocument.load( pdfData, {\n\t\t\tupdateMetadata: false,\n\t\t} );\n\n\t\tif ( ! pdfDoc.catalog.has( PDFName.of( 'Names' ) ) ) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\tconst Names = pdfDoc.catalog.lookup( PDFName.of( 'Names' ), PDFDict );\n\t\tif ( ! Names.has( PDFName.of( 'EmbeddedFiles' ) ) ) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\tconst EmbeddedFiles = Names.lookup( PDFName.of( 'EmbeddedFiles' ), PDFDict );\n\t\tif ( ! EmbeddedFiles.has( PDFName.of( 'Names' ) ) ) {\n\t\t\treturn undefined;\n\t\t}\n\n\t\tconst EFNames = EmbeddedFiles.lookup( PDFName.of( 'Names' ), PDFArray );\n\t\tfor ( let idx = 0, len = EFNames.size(); idx < len; idx += 2 ) {\n\t\t\tconst fileName = EFNames.lookup( idx ).decodeText();\n\t\t\tif ( fileName !== attachmentName ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tconst fileSpec = EFNames.lookup( idx + 1, PDFDict );\n\t\t\tconst stream = fileSpec\n\t\t\t\t.lookup( PDFName.of( 'EF' ), PDFDict )\n\t\t\t\t.lookup( PDFName.of( 'F' ), PDFStream );\n\t\t\tconst data = decodePDFRawStream( stream ).decode();\n\t\t\treturn JSON.parse( new TextDecoder( 'utf-8' ).decode( data ) );\n\t\t}\n\t} catch ( exception ) {\n\t\treturn undefined;\n\t}\n\n\treturn undefined;\n}\n"
  },
  {
    "path": "src/lib/base64.js",
    "content": "// From https://developer.mozilla.org/en-US/docs/Glossary/Base64\n\nexport function utf8ToBase64( data ) {\n\treturn btoa(\n\t\tencodeURIComponent( data ).replace( /%([0-9A-F]{2})/g, function( match, p1 ) {\n\t\t\treturn String.fromCharCode( '0x' + p1 );\n\t\t} ),\n\t);\n}\n"
  },
  {
    "path": "src/lib/config-compat.js",
    "content": "import dayjs from 'dayjs/esm';\n\nimport {\n\tDATE_FORMAT as SPECIAL_DATES_DATE_FORMAT,\n\tEVENT_DAY_TYPE,\n} from '~/lib/special-dates-utils';\nimport {\n\tCONFIG_VERSION_1,\n\tCONFIG_VERSION_2,\n\tCONFIG_CURRENT_VERSION,\n} from '~/pdf/config';\n\nexport function convertConfigToCurrentVersion( config ) {\n\tswitch ( config.version ) {\n\t\tcase CONFIG_VERSION_1:\n\t\t\treturn convertFromVersion2( convertFromVersion1( config ) );\n\n\t\tcase CONFIG_VERSION_2:\n\t\t\treturn convertFromVersion2( config );\n\n\t\tcase CONFIG_CURRENT_VERSION:\n\t\tdefault:\n\t\t\treturn config;\n\t}\n}\n\nfunction convertFromVersion1( config ) {\n\tconfig.dayItineraries = config.dayItineraries.map( ( dayItinerary ) =>\n\t\tObject.assign( { isEnabled: true }, dayItinerary ),\n\t);\n\treturn config;\n}\n\nfunction convertFromVersion2( config ) {\n\tconst oldDateKeyFormat = 'DD-MM';\n\tconst newSpecialDates = [];\n\tObject.keys( config.specialDates || {} ).forEach( ( dateKey ) => {\n\t\tconst newDateKey = dayjs( dateKey, oldDateKeyFormat ).format(\n\t\t\tSPECIAL_DATES_DATE_FORMAT,\n\t\t);\n\t\tnewSpecialDates.push(\n\t\t\t...config.specialDates[ dateKey ].map( ( specialDate ) => ( {\n\t\t\t\tdate: newDateKey,\n\t\t\t\tvalue: specialDate,\n\t\t\t\ttype: EVENT_DAY_TYPE,\n\t\t\t} ) ),\n\t\t);\n\t} );\n\tconfig.specialDates = newSpecialDates;\n\treturn config;\n}\n"
  },
  {
    "path": "src/lib/date.js",
    "content": "import dayjs from 'dayjs/esm';\n\nexport function getWeekdays( firstDayOfWeek ) {\n\tconst weekdaysFull = dayjs.weekdays();\n\tconst weekdaysMin = dayjs.weekdaysMin();\n\tconst weekdaysShort = dayjs.weekdaysShort();\n\n\tconst weekdays = [ ...Array( 7 ).keys() ];\n\tconst weekdaysReordered = [\n\t\t...weekdays.slice( firstDayOfWeek ),\n\t\t...weekdays.slice( 0, firstDayOfWeek ),\n\t];\n\n\treturn weekdaysReordered.map( ( indexOfDay ) => ( {\n\t\tfull: weekdaysFull[ indexOfDay ],\n\t\tshort: weekdaysShort[ indexOfDay ],\n\t\tmin: weekdaysMin[ indexOfDay ],\n\t\tindex: indexOfDay,\n\t} ) );\n}\n\nexport function getWeekendDays( weekendDayIndexes, firstDayOfWeek ) {\n\tconst weekendDays = [];\n\tgetWeekdays( firstDayOfWeek ).forEach( ( { index } ) => {\n\t\tif ( weekendDayIndexes.includes( index ) ) {\n\t\t\tweekendDays.push( index );\n\t\t}\n\t} );\n\n\treturn weekendDays;\n}\n\nexport function getWeekNumber( day ) {\n\t// As per ISO week specification, we need to check Thursday\n\t// on a given week to figure out the accurate week number.\n\t// https://en.wikipedia.org/wiki/ISO_week_date\n\treturn day.day( 4 ).isoWeek();\n}\n"
  },
  {
    "path": "src/lib/device-utils.js",
    "content": "export const REMARKABLE = 'ReMarkable 1 & 2';\nconst REMARKABLE_PAPER_PRO = 'ReMarkable Paper Pro';\nconst SUPERNOTE_A5_X = 'Supernote A5 X';\nexport const CUSTOM = 'Custom';\n\nexport const AVAILABLE_DEVICES = [\n\tREMARKABLE,\n\tREMARKABLE_PAPER_PRO,\n\tSUPERNOTE_A5_X,\n\tCUSTOM,\n];\n\nexport function getPageProperties( device ) {\n\tswitch ( device ) {\n\t\tcase REMARKABLE_PAPER_PRO:\n\t\t\treturn {\n\t\t\t\tdpi: 229,\n\t\t\t\tpageSize: [ 1620, 2160 ],\n\t\t\t};\n\n\t\tcase SUPERNOTE_A5_X:\n\t\tcase REMARKABLE:\n\t\tdefault:\n\t\t\treturn {\n\t\t\t\tdpi: 226,\n\t\t\t\tpageSize: [ 1404, 1872 ],\n\t\t\t};\n\t}\n}\n"
  },
  {
    "path": "src/lib/id-utils.js",
    "content": "import { nanoid } from 'nanoid';\n\nexport function wrapWithId( value ) {\n\tif ( Object.hasOwn( value, 'id' ) ) {\n\t\treturn value;\n\t}\n\treturn {\n\t\tid: nanoid(),\n\t\t...( typeof value === 'object' ? value : { value } ),\n\t};\n}\n\nexport function byId( idToSearchFor ) {\n\treturn ( { id } ) => id === idToSearchFor;\n}\n"
  },
  {
    "path": "src/lib/itinerary-utils.js",
    "content": "export const ITINERARY_ITEM = 'item';\nexport const ITINERARY_LINES = 'lines';\nexport const ITINERARY_NEW_PAGE = 'new_page';\n"
  },
  {
    "path": "src/lib/paths.js",
    "content": "export const RECALENDAR_JS_GITHUB =\n\t'https://github.com/klimeryk/recalendar.js/';\nexport const RECALENDAR_PHP_GITHUB = 'https://github.com/klimeryk/recalendar/';\n\nexport const HOME_PATH = '/';\nexport const CONFIGURATOR_PATH = '/create';\nexport const FEATURES_PATH = '/features';\nexport const FAQ_PATH = '/faq';\n"
  },
  {
    "path": "src/lib/pdf.js",
    "content": "// Copied from react-pdf/blob/87abdd00e62287dccf89c8d260b18dc758482b31/packages/renderer/src/index.js\n\nimport FontStore from '@react-pdf/font';\nimport layoutDocument from '@react-pdf/layout';\nimport PDFDocument from '@react-pdf/pdfkit';\nimport renderPDF from '@react-pdf/render';\nimport { createRenderer } from '@react-pdf/renderer';\n\nconst fontStore = new FontStore();\n\n// We must keep a single renderer instance, otherwise React will complain\nlet renderer;\n\n// The pdf instance acts as an event emitter for DOM usage.\n// We only want to trigger an update when PDF content changes\nconst events = {};\n\nconst pdf = ( initialValue, { attachments = [] } ) => {\n\tconst onChange = () => {\n\t\tconst listeners = events.change?.slice() || [];\n\t\tfor ( let i = 0; i < listeners.length; i += 1 ) {\n\t\t\tlisteners[ i ]();\n\t\t}\n\t};\n\n\tconst container = { type: 'ROOT', document: null };\n\trenderer = renderer || createRenderer( { onChange } );\n\tconst mountNode = renderer.createContainer( container );\n\n\tconst updateContainer = ( doc ) => {\n\t\trenderer.updateContainer( doc, mountNode, null );\n\t};\n\n\tif ( initialValue ) {\n\t\tupdateContainer( initialValue );\n\t}\n\n\tconst render = async ( compress = true ) => {\n\t\tconst props = container.document.props || {};\n\t\tconst { pdfVersion, language, pageLayout, pageMode } = props;\n\n\t\tconst ctx = new PDFDocument( {\n\t\t\tcompress,\n\t\t\tpdfVersion,\n\t\t\tlang: language,\n\t\t\tdisplayTitle: true,\n\t\t\tautoFirstPage: false,\n\t\t\tpageLayout,\n\t\t\tpageMode,\n\t\t} );\n\n\t\tattachments.forEach( ( { src, options = {} } ) => {\n\t\t\tctx.file( src, options );\n\t\t} );\n\n\t\tconst layout = await layoutDocument( container.document, fontStore );\n\n\t\treturn renderPDF( ctx, layout );\n\t};\n\n\tconst callOnRender = ( params = {} ) => {\n\t\tif ( container.document.props.onRender ) {\n\t\t\tcontainer.document.props.onRender( params );\n\t\t}\n\t};\n\n\tconst toBlob = async () => {\n\t\tconst chunks = [];\n\t\tconst instance = await render();\n\n\t\treturn new Promise( ( resolve, reject ) => {\n\t\t\tinstance.on( 'data', ( chunk ) => {\n\t\t\t\tchunks.push(\n\t\t\t\t\tchunk instanceof Uint8Array ? chunk : new Uint8Array( chunk ),\n\t\t\t\t);\n\t\t\t} );\n\n\t\t\tinstance.on( 'end', () => {\n\t\t\t\ttry {\n\t\t\t\t\tconst blob = new Blob( chunks, { type: 'application/pdf' } );\n\t\t\t\t\tcallOnRender( { blob } );\n\t\t\t\t\tresolve( blob );\n\t\t\t\t} catch ( error ) {\n\t\t\t\t\treject( error );\n\t\t\t\t}\n\t\t\t} );\n\t\t} );\n\t};\n\n\tconst toBuffer = async () => {\n\t\tcallOnRender();\n\t\treturn render();\n\t};\n\n\t/*\n\t * TODO: remove this method in next major release. it is buggy\n\t * see\n\t * - https://github.com/diegomura/react-pdf/issues/2112\n\t * - https://github.com/diegomura/react-pdf/issues/2095\n\t */\n\tconst toString = async () => {\n\t\tlet result = '';\n\t\tconst instance = await render( false );\n\n\t\treturn new Promise( ( resolve, reject ) => {\n\t\t\ttry {\n\t\t\t\tinstance.on( 'data', ( buffer ) => {\n\t\t\t\t\tresult += buffer;\n\t\t\t\t} );\n\n\t\t\t\tinstance.on( 'end', () => {\n\t\t\t\t\tcallOnRender();\n\t\t\t\t\tresolve( result );\n\t\t\t\t} );\n\t\t\t} catch ( error ) {\n\t\t\t\treject( error );\n\t\t\t}\n\t\t} );\n\t};\n\n\tconst on = ( event, listener ) => {\n\t\tif ( ! events[ event ] ) {\n\t\t\tevents[ event ] = [];\n\t\t}\n\t\tevents[ event ].push( listener );\n\t};\n\n\tconst removeListener = ( event, listener ) => {\n\t\tif ( ! events[ event ] ) {\n\t\t\treturn;\n\t\t}\n\t\tconst idx = events[ event ].indexOf( listener );\n\t\tif ( idx > -1 ) {\n\t\t\tevents[ event ].splice( idx, 1 );\n\t\t}\n\t};\n\n\treturn {\n\t\ton,\n\t\tcontainer,\n\t\ttoBlob,\n\t\ttoBuffer,\n\t\ttoString,\n\t\tremoveListener,\n\t\tupdateContainer,\n\t};\n};\n\nconst Font = fontStore;\n\nexport { Font, pdf };\n"
  },
  {
    "path": "src/lib/special-dates-utils.js",
    "content": "export const HOLIDAY_DAY_TYPE = 'holiday';\nexport const EVENT_DAY_TYPE = 'event';\n\nexport function isHoliday( { type } ) {\n\treturn type === HOLIDAY_DAY_TYPE;\n}\nexport function isEvent( { type } ) {\n\treturn type === EVENT_DAY_TYPE;\n}\n\nexport function findByDate( dateToSearchFor ) {\n\treturn ( { date } ) => date === dateToSearchFor;\n}\n\nexport const DATE_FORMAT = 'MM-DD';\n"
  },
  {
    "path": "src/loader.jsx",
    "content": "import React from 'react';\nimport { withTranslation } from 'react-i18next';\n\nimport Configuration from '~/configuration';\nimport Navigation from '~/navigation';\nimport PdfConfig from '~/pdf/config';\n\nclass Loader extends React.Component {\n\tcomponentDidMount() {\n\t\t// eslint-disable-next-line react/no-did-mount-set-state\n\t\tthis.setState( { config: new PdfConfig() } );\n\t}\n\n\trender() {\n\t\tif ( ! this.state || ! this.state.config ) {\n\t\t\treturn null;\n\t\t}\n\n\t\treturn (\n\t\t\t<>\n\t\t\t\t<Navigation />\n\t\t\t\t<Configuration initialState={ this.state.config } />\n\t\t\t</>\n\t\t);\n\t}\n}\n\nexport default withTranslation( [ 'app', 'config' ] )( Loader );\n"
  },
  {
    "path": "src/locales/cs/app.json",
    "content": "{\r\n\t\"loading\": \"Načítání...\",\r\n\t\"download-ready\": \"Stáhnout!\",\r\n\t\"navigation\": {\r\n\t\t\"home\": \"Domů\",\r\n\t\t\"configuration\": \"Vytvořit vlastní kalendář\",\r\n\t\t\"features\": \"Funkce\",\r\n\t\t\"faq\": \"FAQ\"\r\n\t},\r\n\t\"language\": {\r\n\t\t\"label\": \"Jazyky\",\r\n\t\t\"en\": \"English\",\r\n\t\t\"pl\": \"Polski\",\r\n\t\t\"fr\": \"Français\",\r\n\t\t\"es\": \"Español\",\r\n\t\t\"nb\": \"Norsk\",\r\n\t\t\"da\": \"Dansk\",\r\n                \"cz\": \"Česky\"\r\n\t},\r\n\t\"configuration\": {\r\n\t\t\"selector\": {\r\n\t\t\t\"label\": \"Start\",\r\n\t\t\t\"template\": {\r\n\t\t\t\t\"label\": \"Začni výběrem předlohy:\",\r\n\t\t\t\t\"basic\": {\r\n\t\t\t\t\t\"label\": \"Základní\",\r\n\t\t\t\t\t\"description\": \"Základní nastavení - dobrá na začátek.\"\r\n\t\t\t\t},\r\n\t\t\t\t\"advanced\": {\r\n\t\t\t\t\t\"label\": \"Pokročilá\",\r\n\t\t\t\t\t\"description\": \"Rozšiřuje základní předlohu o individuální itineráře.\"\r\n\t\t\t\t},\r\n\t\t\t\t\"blank\": {\r\n\t\t\t\t\t\"label\": \"Jednoduchý\",\r\n\t\t\t\t\t\"description\": \"Založena na základní předloze, ale je prázdnější.\"\r\n\t\t\t\t},\r\n\t\t\t\t\"minimalistic\": {\r\n\t\t\t\t\t\"label\": \"Minimalistická\",\r\n\t\t\t\t\t\"description\": \"Nejjednodušší verze.\"\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t\"upload\": {\r\n\t\t\t\t\"label\": \"Nebo nahrajte předešlý kalendář pro načtení nastavení:\",\r\n\t\t\t\t\"loading\": \"Načítání ze souboru PDF, prosím počkejte...\",\r\n\t\t\t\t\"error\": \"Ze souboru nebylo možné načíst nastavení!\",\r\n\t\t\t\t\"success\": \"Nastavení načteno z PDF - vítejte zpět!\"\r\n\t\t\t}\r\n\t\t},\r\n\t\t\"general\": {\r\n\t\t\t\"label\": \"Hlavní nastavení\",\r\n\t\t\t\"font\": \"Font\",\r\n\t\t\t\"year\": \"Rok\",\r\n\t\t\t\"left-handed\": {\r\n\t\t\t\t\"label\": \"Verze pro levou ruku\",\r\n\t\t\t\t\"description\": \"Optimalizováno pro psaní levou rukou.\"\r\n\t\t\t},\r\n\t\t\t\"sidebar\": {\r\n\t\t\t\t\"label\": \"Nastavit permanentní odsazení pro lištu s nástroji\",\r\n\t\t\t\t\"description\": \"Pokud preferujete vysunutou lištu s nástroji, tato možnost odsadí celý obsah kalendáře.\"\r\n\t\t\t},\r\n\t\t\t\"starting-month\": {\r\n\t\t\t\t\"label\": \"Počáteční měsíc\",\r\n\t\t\t\t\"description\": \"První měsíc v generovaném kalendáři. Pro školní rok vyberte září.\"\r\n\t\t\t},\r\n\t\t\t\"month-count\": {\r\n\t\t\t\t\"label\": \"Počet měsíců\",\r\n\t\t\t\t\"description\": \"Pro kolik měsíců se vygeneruje kalendář.\"\r\n\t\t\t},\r\n\t\t\t\"first-day-of-week\": \"První den víkendu\",\r\n\t\t\t\"weekend\": \"Víkend\"\r\n\t\t},\r\n\t\t\"button\": {\r\n\t\t\t\"refresh\": \"Načíst náhled\",\r\n\t\t\t\"download\": \"Generovat celý kalendář pro stažení\",\r\n\t\t\t\"generating\": \"Generování, prosím čekejte...\"\r\n\t\t},\r\n\t\t\"itinerary\": {\r\n\t\t\t\"empty\": \"Prázdný itinerář\",\r\n\t\t\t\"placeholder\": {\r\n\t\t\t\t\"lines\": \"Počet řádků\",\r\n\t\t\t\t\"page\": \"Nová stránka\"\r\n\t\t\t},\r\n\t\t\t\"button\": {\r\n\t\t\t\t\"copy\": \"Zkopírovat na ostatní dny\",\r\n\t\t\t\t\"remove\": \"Odebrat\",\r\n\t\t\t\t\"item\": \"Přidat položku\",\r\n\t\t\t\t\"page\": \"Nová strana\",\r\n\t\t\t\t\"lines\": \"Přidat prázdné řádky\"\r\n\t\t\t}\r\n\t\t},\r\n\t\t\"items-list\": {\r\n\t\t\t\"button\": {\r\n\t\t\t\t\"item\": \"Přidat položku\",\r\n\t\t\t\t\"remove\": \"Odebrat\"\r\n\t\t\t},\r\n\t\t\t\"empty\": \"Prázdný seznam\",\r\n\t\t\t\"placeholder\": \"Položka\"\r\n\t\t},\r\n\t\t\"toggle-form\": {\r\n\t\t\t\"enabled\": \"Povoleno\",\r\n\t\t\t\"disabled\": \"Nepovoleno\"\r\n\t\t},\r\n\t\t\"month\": {\r\n\t\t\t\"title\": \"Přehled měsíce\",\r\n\t\t\t\"description\": \"Přehled měsíce je místo pro nastavení cílů pro následující měsíc a vytváření jiných plánů.\",\r\n\t\t\t\"habits\": {\r\n\t\t\t\t\"title\": \"Zvyky\"\r\n\t\t\t},\r\n\t\t\t\"itinerary\": {\r\n\t\t\t\t\"title\": \"Itinerář\"\r\n\t\t\t}\r\n\t\t},\r\n\t\t\"week\": {\r\n\t\t\t\"title\": \"Přehled týdne\",\r\n\t\t\t\"description\": \"Přehled týdne nabízí naplánování celého týdne.\",\r\n\t\t\t\"todos\": {\r\n\t\t\t\t\"title\": \"Úkoly\"\r\n\t\t\t},\r\n\t\t\t\"retrospective\": {\r\n\t\t\t\t\"title\": \"Týdenní retrospektiva\",\r\n\t\t\t\t\"description\": \"Týdenní retrospektiva je místo pro shrnutí minulého týdne.\",\r\n\t\t\t\t\"itinerary\": {\r\n\t\t\t\t\t\"title\": \"Itinerář\"\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\t\"day\": {\r\n\t\t\t\"title\": \"Dení itinerář\"\r\n\t\t},\r\n\t\t\"special-dates\": {\r\n\t\t\t\"title\": \"Speciální dny\",\r\n\t\t\t\"description\": \"Přidej své narozeniny, svátky a události.\",\r\n\t\t\t\"empty\": \"Žádná data\",\r\n\t\t\t\"placeholder\": \"Jaká je příležitost?\",\r\n\t\t\t\"button\": {\r\n\t\t\t\t\"item\": \"Přidat datum\",\r\n\t\t\t\t\"remove\": \"Odebrat\"\r\n\t\t\t}\r\n\t\t},\r\n\t\t\"generation-description\": \"Generování PDF probíhá ve vašem prohlížeči - data nejsou posílána na server!\"\r\n\t},\r\n\t\"preview\": {\r\n\t\t\"title\": \"Náhled kalendáře\",\r\n\t\t\"subtitle\": \"(pro náhled se generuje jen první měsíc)\",\r\n\t\t\"viewer-title\": \"Náhled PDF\",\r\n\t\t\"generating\": {\r\n\t\t\t\"full\": \"Generování celého kalendáře - tato akce může trvat déle...\",\r\n\t\t\t\"preview\": \"Generování náhledu, prosím čekejte - tato akce může trvat déle.\"\r\n\t\t},\r\n\t\t\"empty\": {\r\n\t\t\t\"title\": \"Vyplň nastavení pro vlasní kalendář\",\r\n\t\t\t\"subtitle\": \"Zde se zoprazí náhled\"\r\n\t\t}\r\n\t}\r\n}"
  },
  {
    "path": "src/locales/cs/config.json",
    "content": "{\r\n\t\"habits\": {\r\n\t\t\"example1\": \"Cvičení\",\r\n\t\t\"example2\": \"Kniha\",\r\n\t\t\"example3\": \"Koníček\",\r\n\t\t\"example4\": \"Rande\"\r\n\t},\r\n\t\"templates\": {\r\n\t\t\"advanced\": {\r\n\t\t\t\"day\": {\r\n\t\t\t\t\"monday\": \"Stránka navíc pro poznámky na pondělí\"\r\n\t\t\t},\r\n\t\t\t\"retrospective\": {\r\n\t\t\t\t\"wins\": \"Úspěchy týdne\",\r\n\t\t\t\t\"discoveries\": \"Nové objevy\",\r\n\t\t\t\t\"fails\": \"Něco se nepovedlo?\"\r\n\t\t\t}\r\n\t\t}\r\n\t},\r\n\t\"month\": {\r\n\t\t\"goal\": \"Hlavní cíl\",\r\n\t\t\"notes\": \"Poznámky\"\r\n\t},\r\n\t\"todos\": {\r\n\t\t\"example1\": \"Plány a výlety\",\r\n\t\t\"example2\": \"Jiné úkoly\"\r\n\t},\r\n\t\"special-dates\": {\r\n\t\t\"example1\": \"Speciální den 1\",\r\n\t\t\"example2\": \"Speciální datum #2\",\r\n\t\t\"example3\": \"Oslava\",\r\n\t\t\"example4\": \"Jiná speciální událost delší než na jeden řádek\",\r\n\t\t\"example5\": \"Pojďme přidat ještě jednu událost\",\r\n\t\t\"example6\": \"Další významný den\"\r\n\t}\r\n}"
  },
  {
    "path": "src/locales/cs/pdf.json",
    "content": "{\r\n\t\"calendar\": {\r\n\t\t\"header\": {\r\n\t\t\t\"week-number\": \"T#\",\r\n\t\t\t\"retrospective\": \"Re\"\r\n\t\t},\r\n\t\t\"body\": {\r\n\t\t\t\"retrospective\": \"R\"\r\n\t\t}\r\n\t},\r\n\t\"page\": {\r\n\t\t\"month\": {\r\n\t\t\t\"habits\": {\r\n\t\t\t\t\"title\": \"Zvyky\"\r\n\t\t\t}\r\n\t\t},\r\n\t\t\"week\": {\r\n\t\t\t\"title\": \"Týden\"\r\n\t\t},\r\n\t\t\"retrospective\": {\r\n\t\t\t\"title\": \"Týdenní retrospektiva\"\r\n\t\t},\r\n\t\t\"last\": {\r\n\t\t\t\"title\": \"Generováno <recalendar>https://recalendar.me/</recalendar>\",\r\n\t\t\t\"subtitle\": \"Tento soubor lze použít pro rychlé nastavení dalšího kalendáře.\"\r\n\t\t}\r\n\t}\r\n}"
  },
  {
    "path": "src/locales/da/app.json",
    "content": "{\n\t\"loading\": \"indlæser...\",\n\t\"download-ready\": \"Download nu!\",\n\t\"navigation\": {\n\t\t\"home\": \"Hjem\",\n\t\t\"configuration\": \"Lav din egen kalender\",\n\t\t\"features\": \"Egenskaber\",\n\t\t\"faq\": \"FAQ\"\n\t},\n\t\"language\": {\n\t\t\"label\": \"Sprog\"\n\t},\n\t\"configuration\": {\n\t\t\"selector\": {\n\t\t\t\"label\": \"Start\",\n\t\t\t\"template\": {\n\t\t\t\t\"label\": \"Start med at vælge en skabelon\",\n\t\t\t\t\"basic\": {\n\t\t\t\t\t\"label\": \"Simpel\",\n\t\t\t\t\t\"description\": \"Standard indstillinger - et godt udgangspunkt\"\n\t\t\t\t},\n\t\t\t\t\"advanced\": {\n\t\t\t\t\t\"label\": \"Avanceret\",\n\t\t\t\t\t\"description\": \"Bygger ovenpå den simple skabelon ved at tilføje individuelle punkter pr dag\"\n\t\t\t\t},\n\t\t\t\t\"blank\": {\n\t\t\t\t\t\"label\": \"Blank\",\n\t\t\t\t\t\"description\": \"Som den Simple Template men unden nogen former for specielle datoer, TODOs osv\"\n\t\t\t\t},\n\t\t\t\t\"minimalistic\": {\n\t\t\t\t\t\"label\": \"Minimalistisk\",\n\t\t\t\t\t\"description\": \"Fjerner alt pånær den ugentlige oversigt\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"upload\": {\n\t\t\t\t\"label\": \"Eller overfør en tidligere genereret ReCalendar PDF for at bruge dens konfiguration\",\n\t\t\t\t\"loading\": \"Indlæser konfiguration fra PDF filen, Vent venligst...\",\n\t\t\t\t\"error\": \"Kunne desværre ikke indlæse konfigurationen fra denne ReCalendar PDF - Er du sikker på at den er genereret på denne hjemmeside?\",\n\t\t\t\t\"success\": \"Konfiguration indlæst fra PDF - velkommen tilbage!\"\n\t\t\t}\n\t\t},\n\t\t\"general\": {\n\t\t\t\"label\": \"Generelle indstillinger\",\n\t\t\t\"year\": \"År\",\n\t\t\t\"left-handed\": {\n\t\t\t\t\"label\": \"Venstrehåndsversion\",\n\t\t\t\t\"description\": \"Optimerer layout til brug af en venstrehåndet\"\n\t\t\t},\n\t\t\t\"starting-month\": {\n\t\t\t\t\"label\": \"Start måned\",\n\t\t\t\t\"description\": \"Den første måned i den genererede kalender. Vælg f.eks. september hvis du ønsker at den skal dække et skoleår i stedet for et kalenderår.\"\n\t\t\t},\n\t\t\t\"month-count\": {\n\t\t\t\t\"label\": \"Antal måneder\",\n\t\t\t\t\"description\": \"Hvor mange måneder skal der være i den færdige kalender.\"\n\t\t\t},\n\t\t\t\"first-day-of-week\": \"Første dag på ugen\",\n\t\t\t\"weekend\": \"Weekend\"\n\t\t},\n\t\t\"button\": {\n\t\t\t\"refresh\": \"Opdatér forhåndsvisning\",\n\t\t\t\"download\": \"Generer den fulde kalendar og download\",\n\t\t\t\"generating\": \"Genererer, vent venligst...\"\n\t\t},\n\t\t\"itinerary\": {\n\t\t\t\"empty\": \"Tom plan\",\n\t\t\t\"placeholder\": {\n\t\t\t\t\"lines\": \"Antal linjer\",\n\t\t\t\t\"page\": \"Skift til ny side\"\n\t\t\t},\n\t\t\t\"button\": {\n\t\t\t\t\"copy\": \"Kopier dette punkt fra planen til alle andre dage også\",\n\t\t\t\t\"remove\": \"Fjern\",\n\t\t\t\t\"item\": \"Tilføj punkt til planen\",\n\t\t\t\t\"page\": \"Start en ny side\",\n\t\t\t\t\"lines\": \"Tilføj tomme linjer\"\n\t\t\t}\n\t\t},\n\t\t\"items-list\": {\n\t\t\t\"button\": {\n\t\t\t\t\"item\": \"Tilføj punkt\",\n\t\t\t\t\"remove\": \"Fjern\"\n\t\t\t},\n\t\t\t\"empty\": \"Tøm listen\",\n\t\t\t\"placeholder\": \"Punkt\"\n\t\t},\n\t\t\"toggle-form\": {\n\t\t\t\"enabled\": \"Slået til\",\n\t\t\t\"disabled\": \"Slået fra\"\n\t\t},\n\t\t\"month\": {\n\t\t\t\"title\": \"Månedsoversigt\",\n\t\t\t\"description\": \"Månedsoversigten er stedet hvor du kan sætte dine mål for den kommende måned, holde styr på dine vaner og lægge planer.\",\n\t\t\t\"habits\": {\n\t\t\t\t\"title\": \"Vaner\"\n\t\t\t},\n\t\t\t\"itinerary\": {\n\t\t\t\t\"title\": \"Plan\"\n\t\t\t}\n\t\t},\n\t\t\"week\": {\n\t\t\t\"title\": \"Ugeoversigt\",\n\t\t\t\"description\": \"Ugeoversigten giver dig et overblik over ugen for at lette planlægningen\",\n\t\t\t\"todos\": {\n\t\t\t\t\"title\": \"Gøremål/TODOs\"\n\t\t\t},\n\t\t\t\"retrospective\": {\n\t\t\t\t\"title\": \"Tilbageblik på ugen\",\n\t\t\t\t\"description\": \"I tilbageblik på ugen kan du reflektere over hvordan den forgangne uge er gået - hvad der skete, hvordan det gik og hvad du kunne forbedre til næste uge?\",\n\t\t\t\t\"itinerary\": {\n\t\t\t\t\t\"title\": \"Plan\"\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\t\"day\": {\n\t\t\t\"title\": \"Dagsplan\"\n\t\t},\n\t\t\"special-dates\": {\n\t\t\t\"title\": \"Specielle datoer\",\n\t\t\t\"description\": \"Tilføj dine fødselsdage, fejringer, arrangementer, osv her for at få påmindelse om dem i din ugeoversigt og dagsoversigt når du kommer til dem.\",\n\t\t\t\"empty\": \"Ingen datoer\",\n\t\t\t\"placeholder\": \"Hvad er anledningen?\",\n\t\t\t\"button\": {\n\t\t\t\t\"item\": \"Tilføj dato\",\n\t\t\t\t\"remove\": \"Fjern\"\n\t\t\t}\n\t\t},\n\t\t\"generation-description\": \"PDF genereringen sker udelukkende i din browser - ingen data bliver sendt til vores servere!\"\n\t},\n\t\"preview\": {\n\t\t\"title\": \"Kalender forhåndsvisning\",\n\t\t\"subtitle\": \"(Kun første måned er vist i forhåndvisning)\",\n\t\t\"viewer-title\": \"PDF forhåndsvisning\",\n\t\t\"generating\": {\n\t\t\t\"full\": \"Genererer fuld kalender - dette kan godt tage over et minut...\",\n\t\t\t\"preview\": \"Genererer forhåndsvisning, vent venligst - detta kan tage et øjeblik.\"\n\t\t},\n\t\t\"empty\": {\n\t\t\t\"title\": \"Brug tilpasningsformen for at lave din egen personlige kalender\",\n\t\t\t\"subtitle\": \"Her kommer forhåndsvisningen.\"\n\t\t}\n\t}\n}\n"
  },
  {
    "path": "src/locales/da/config.json",
    "content": "{\n  \"habits\": {\n    \"example1\": \"Træning\",\n    \"example2\": \"Bog\",\n    \"example3\": \"Hobby\",\n    \"example4\": \"Date Night\"\n  },\n  \"templates\": {\n    \"advanced\": {\n      \"day\": {\n        \"monday\": \"Ekstra side til yderligere mandagsnoter\"\n      },\n      \"retrospective\": {\n        \"wins\": \"Ugens opture\",\n        \"discoveries\": \"Nye ting jeg har lært\",\n        \"fails\": \"Hvad gik godt?\"\n      }\n    }\n  },\n  \"month\": {\n    \"goal\": \"Primære mål\",\n    \"notes\": \"Noter\"\n  },\n  \"todos\": {\n    \"example1\": \"Planlæg en tur\",\n    \"example2\": \"En anden TODO\"\n  },\n  \"special-dates\": {\n    \"example1\": \"Speciel dato 1\",\n    \"example2\": \"Speciel dato af en anden årsag\",\n    \"example3\": \"En anden fejring\",\n    \"example4\": \"En anden fejring hvor teksten er meget lang og fylder mere\",\n    \"example5\": \"Lad os tilføje et punkt mere\",\n    \"example6\": \"Kan ikke finde på flere ting at fejre\"\n  }\n}\n"
  },
  {
    "path": "src/locales/da/pdf.json",
    "content": "{\n  \"calendar\": {\n    \"header\": {\n      \"week-number\": \"U#\",\n      \"retrospective\": \"TB\"\n    },\n    \"body\": {\n      \"retrospective\": \"T\"\n    }\n  },\n  \"page\": {\n    \"month\": {\n      \"habits\": {\n        \"title\": \"Vaner\"\n      }\n    },\n    \"week\": {\n      \"title\": \"Uge\"\n    },\n    \"retrospective\": {\n      \"title\": \"Tilbageblik for ugen\"\n    },\n    \"last\": {\n      \"title\": \"Genereret ved hjælp af <recalendar>https://recalendar.me/</recalendar>\",\n      \"subtitle\": \"Du kan indlæse denne PDF igen for at få samme konfiguration hvis du ønsker hurtigt at generere en lignende kalender for det nye år!\"\n    }\n  }\n}\n"
  },
  {
    "path": "src/locales/de/app.json",
    "content": "{\n\t\"loading\": \"Lädt ...\",\n\t\"download-ready\": \"Bereit zum Download!\",\n\t\"navigation\": {\n\t\t\"home\": \"Start\",\n\t\t\"configuration\": \"Gestalte Deinen Kalender\",\n\t\t\"features\": \"Funktionen\",\n\t\t\"faq\": \"FAQ\"\n\t},\n\t\"language\": {\n\t\t\"label\": \"Sprache\",\n\t\t\"en\": \"Englisch\",\n\t\t\"pl\": \"Polnisch\",\n\t\t\"fr\": \"Französisch\",\n\t\t\"es\": \"Spanisch\",\n\t\t\"nb\": \"Norwegisch\",\n\t\t\"da\": \"Dänisch\",\n\t\t\"de\": \"Deutsch\"\n\t},\n\t\"configuration\": {\n\t\t\"selector\": {\n\t\t\t\"label\": \"Start\",\n\t\t\t\"template\": {\n\t\t\t\t\"label\": \"Wähle eine Vorlage aus:\",\n\t\t\t\t\"basic\": {\n\t\t\t\t\t\"label\": \"Basis\",\n\t\t\t\t\t\"description\": \"Gut für den Anfang, einfache Voreinstellungen.\"\n\t\t\t\t},\n\t\t\t\t\"advanced\": {\n\t\t\t\t\t\"label\": \"Fortgeschritten\",\n\t\t\t\t\t\"description\": \"Erweitert die Basis-Vorlage um Tagespläne.\"\n\t\t\t\t},\n\t\t\t\t\"blank\": {\n\t\t\t\t\t\"label\": \"Blanko\",\n\t\t\t\t\t\"description\": \"Wie Basis, aber ohne die Beispiele für Gewohnheiten, Aufgaben, besondere Tage usw.\"\n\t\t\t\t},\n\t\t\t\t\"minimalistic\": {\n\t\t\t\t\t\"label\": \"Minimal\",\n\t\t\t\t\t\"description\": \"Enthält lediglich die Wochenpläne.\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"upload\": {\n\t\t\t\t\"label\": \"Lade ein bereits erzeugtes ReCalendar-PDF hoch, um dessen Konfiguration zu verwenden:\",\n\t\t\t\t\"loading\": \"Konfiguration aus PDF-Datei wird eingelesen, bitte warten...\",\n\t\t\t\t\"error\": \"Ich kann in diesem PDF keine Konfigurationsdaten finden - stammt es wirklich von dieser Webseite?\",\n\t\t\t\t\"success\": \"Konfiguration aus PDF geladen - Willkommen zurück!\"\n\t\t\t}\n\t\t},\n\t\t\"general\": {\n\t\t\t\"label\": \"Allgemeine Einstellungen\",\n\t\t\t\"font\": \"Font\",\n\t\t\t\"year\": \"Jahr\",\n\t\t\t\"left-handed\": {\n\t\t\t\t\"label\": \"Version für die Linke Hand\",\n\t\t\t\t\"description\": \"Optimiert das Layout für die Benutzung mit der linken Hand.\"\n\t\t\t},\n\t\t\t\"sidebar\": {\n\t\t\t\t\"label\": \"Lasse die Seitenleiste frei\",\n\t\t\t\t\"description\": \"Diese Option verhindert, dass der Kalenderinhalt von der Seitenleiste verdeckt wird, so dass die Seitenleiste immer offen bleiben kann.\"\n\t\t\t},\n\t\t\t\"starting-month\": {\n\t\t\t\t\"label\": \"Beginne mit dem Monat\",\n\t\t\t\t\"description\": \"Der erste Monat des erzeugten Kalenders. Für einen Semesterkalender z.B. wähle den Oktober.\"\n\t\t\t},\n\t\t\t\"month-count\": {\n\t\t\t\t\"label\": \"Wieviele Monate\",\n\t\t\t\t\"description\": \"Für wieviele Monate soll das Kalendarium erzeugt werden?\"\n\t\t\t},\n\t\t\t\"first-day-of-week\": \"Die Woche beginnt am\",\n\t\t\t\"weekend\": \"Wochenende\"\n\t\t},\n\t\t\"button\": {\n\t\t\t\"refresh\": \"Vorschau aktualisieren\",\n\t\t\t\"download\": \"Vollständigen Kalender erzeugen und Download\",\n\t\t\t\"generating\": \"Das Kalendarium wird erzeugt, bitte warten...\"\n\t\t},\n\t\t\"itinerary\": {\n\t\t\t\"empty\": \"Leerer Plan\",\n\t\t\t\"placeholder\": {\n\t\t\t\t\"lines\": \"Anzahl der Zeilen\",\n\t\t\t\t\"page\": \"Seitenumbruch\"\n\t\t\t},\n\t\t\t\"button\": {\n\t\t\t\t\"copy\": \"Diesen Plan für alle Wochentage übernehmen.\",\n\t\t\t\t\"remove\": \"Entfernen\",\n\t\t\t\t\"item\": \"Neuer Planeintrag \",\n\t\t\t\t\"page\": \"Neue Seite anfangen\",\n\t\t\t\t\"lines\": \"Leerzeilen hinzufügen\"\n\t\t\t}\n\t\t},\n\t\t\"items-list\": {\n\t\t\t\"button\": {\n\t\t\t\t\"item\": \"Neuer Eintrag\",\n\t\t\t\t\"remove\": \"Entfernen\"\n\t\t\t},\n\t\t\t\"empty\": \"Leere Liste\",\n\t\t\t\"placeholder\": \"Eintrag\"\n\t\t},\n\t\t\"toggle-form\": {\n\t\t\t\"enabled\": \"Ein\",\n\t\t\t\"disabled\": \"Ausgeschaltet\"\n\t\t},\n\t\t\"month\": {\n\t\t\t\"title\": \"Monatsübersicht\",\n\t\t\t\"description\": \"Die Monatsübersicht ist der Ort für Monatsziele, Verfolgen von Gewohnheiten und andere Planungen.\",\n\t\t\t\"habits\": {\n\t\t\t\t\"title\": \"Routinen\"\n\t\t\t},\n\t\t\t\"itinerary\": {\n\t\t\t\t\"title\": \"Plan\"\n\t\t\t}\n\t\t},\n\t\t\"week\": {\n\t\t\t\"title\": \"Wochenübersicht\",\n\t\t\t\"description\": \"Die Wochenübersicht fasst zur übersichtlicheren Planung eine Woche zusammen.\",\n\t\t\t\"todos\": {\n\t\t\t\t\"title\": \"Aufgaben\"\n\t\t\t},\n\t\t\t\"retrospective\": {\n\t\t\t\t\"title\": \"Wochenrückschau\",\n\t\t\t\t\"description\": \"Die Wochenrückschau ist der Ort, um über die letzte Woche nachzudenken - wie es gelaufen ist, was du gelernt hast und was nächste Woche besser gemacht werden kann?\",\n\t\t\t\t\"itinerary\": {\n\t\t\t\t\t\"title\": \"Plan\"\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\t\"day\": {\n\t\t\t\"title\": \"Tagespläne\"\n\t\t},\n\t\t\"special-dates\": {\n\t\t\t\"title\": \"Besondere Tage\",\n\t\t\t\"description\": \"Trage hier Geburtstage, Feiertage, Events etc. ein. Sie werden in die Wochenübersichten und Tagespläne übernommen.\",\n\t\t\t\"empty\": \"Keine Daten\",\n\t\t\t\"placeholder\": \"Was gibt's besonderes?\",\n\t\t\t\"button\": {\n\t\t\t\t\"item\": \"Datum hinzufügen\",\n\t\t\t\t\"remove\": \"Entfernen\"\n\t\t\t}\n\t\t},\n\t\t\"generation-description\": \"Das PDF wird ausschließlich im Browser erzeugt, keine Daten landen auf unseren Servern!\"\n\t},\n\t\"preview\": {\n\t\t\"title\": \"Vorschau des Kalendariums\",\n\t\t\"subtitle\": \"(nur der erste Monat wird angezeigt)\",\n\t\t\"viewer-title\": \"PDF Vorschau\",\n\t\t\"generating\": {\n\t\t\t\"full\": \"Das vollständige Kalendarium wird erzeugt - das könnte länger als eine Minute dauern...\",\n\t\t\t\"preview\": \"Die Vorschau wird berechnet, bitte warten, das kann eine Minute dauern.\"\n\t\t},\n\t\t\"empty\": {\n\t\t\t\"title\": \"Mit den Optionen zur Konfiguration können Sie Ihren eigenen personalisierten Kalender erzeugen.\",\n\t\t\t\"subtitle\": \"Hier wird die Vorschau angezeigt werden..\"\n\t\t}\n\t}\n}\n"
  },
  {
    "path": "src/locales/de/config.json",
    "content": "{\n\t\"habits\": {\n\t\t\"example1\": \"Sport\",\n\t\t\"example2\": \"Lesen\",\n\t\t\"example3\": \"Hobby\",\n\t\t\"example4\": \"Zeit für Zwei\"\n\t},\n\t\"templates\": {\n\t\t\"advanced\": {\n\t\t\t\"day\": {\n\t\t\t\t\"monday\": \"Extraseite für zusätzliche Notizen am Montag\"\n\t\t\t},\n\t\t\t\"retrospective\": {\n\t\t\t\t\"wins\": \"Erfolge der Woche\",\n\t\t\t\t\"discoveries\": \"Neue Erkenntnisse\",\n\t\t\t\t\"fails\": \"Was hat nicht geklappt?\"\n\t\t\t}\n\t\t}\n\t},\n\t\"month\": {\n\t\t\"goal\": \"Wochenziel\",\n\t\t\"notes\": \"Notizen\"\n\t},\n\t\"todos\": {\n\t\t\"example1\": \"Plane eine Reise\",\n\t\t\"example2\": \"noch eine Aufgabe\"\n\t},\n\t\"special-dates\": {\n\t\t\"example1\": \"Besonderes Datum 1\",\n\t\t\"example2\": \"Besonderes Datum aus Grund #2\",\n\t\t\"example3\": \"Ein anderer Feiertag\",\n\t\t\"example4\": \"Noch ein ziemlich langer Feiertag\",\n\t\t\"example5\": \"Und noch ein Feiertag\",\n\t\t\"example6\": \"Feiertag ohne bekannten Grund\"\n\t}\n}\n"
  },
  {
    "path": "src/locales/de/pdf.json",
    "content": "{\n\t\"calendar\": {\n\t\t\"header\": {\n\t\t\t\"week-number\": \"W#\",\n\t\t\t\"retrospective\": \"Re\"\n\t\t},\n\t\t\"body\": {\n\t\t\t\"retrospective\": \"R\"\n\t\t}\n\t},\n\t\"page\": {\n\t\t\"month\": {\n\t\t\t\"habits\": {\n\t\t\t\t\"title\": \"Routinen\"\n\t\t\t}\n\t\t},\n\t\t\"week\": {\n\t\t\t\"title\": \"Woche\"\n\t\t},\n\t\t\"retrospective\": {\n\t\t\t\"title\": \"Rückschau auf die Woche\"\n\t\t},\n\t\t\"last\": {\n\t\t\t\"title\": \"Erzeugt mit <recalendar>https://recalendar.me/</recalendar>\",\n\t\t    \"subtitle\": \"Sie können dieses PDF dort wieder hochladen, um mit denselben Konfiguratoinseinstellungen einen neuen Kalender für das nächste Jahr zu generieren!\"\n\t\t}\n\t}\n}\n"
  },
  {
    "path": "src/locales/en/app.json",
    "content": "{\n\t\"loading\": \"Loading...\",\n\t\"download-ready\": \"Download now!\",\n\t\"navigation\": {\n\t\t\"home\": \"Home\",\n\t\t\"configuration\": \"Create your calendar\",\n\t\t\"features\": \"Features\",\n\t\t\"faq\": \"FAQ\"\n\t},\n\t\"language\": {\n\t\t\"label\": \"Language\",\n\t\t\"full\": \"Fully translated languages\",\n\t\t\"partial\": \"Only days of the week and months\",\n\t\t\"en\": \"English\",\n\t\t\"cs\": \"Čeština\",\n\t\t\"da\": \"Dansk\",\n\t\t\"de\": \"Deutsch\",\n\t\t\"es\": \"Español\",\n\t\t\"fr\": \"Français\",\n\t\t\"he\": \"עברית\",\n\t\t\"hr\": \"Hrvatski\",\n\t\t\"hu\": \"Magyar\",\n\t\t\"it\": \"Italiano\",\n\t\t\"nb\": \"Norsk\",\n\t\t\"nl\": \"Nederlands\",\n\t\t\"pl\": \"Polski\",\n\t\t\"pt-br\": \"Português (Brasil)\",\n\t\t\"sl\": \"Slovenščina\",\n\t\t\"sv\": \"Svenska\",\n\t\t\"tr\": \"Türkçe\"\n\t},\n\t\"configuration\": {\n\t\t\"selector\": {\n\t\t\t\"label\": \"Start\",\n\t\t\t\"template\": {\n\t\t\t\t\"label\": \"Start by selecting a template:\",\n\t\t\t\t\"basic\": {\n\t\t\t\t\t\"label\": \"Basic\",\n\t\t\t\t\t\"description\": \"Default settings - good starting point.\"\n\t\t\t\t},\n\t\t\t\t\"advanced\": {\n\t\t\t\t\t\"label\": \"Advanced\",\n\t\t\t\t\t\"description\": \"Expands the Basic template by adding individual day itineraries.\"\n\t\t\t\t},\n\t\t\t\t\"blank\": {\n\t\t\t\t\t\"label\": \"Blank\",\n\t\t\t\t\t\"description\": \"Based on Basic template, but with empty habits, TODOs, special dates, etc.\"\n\t\t\t\t},\n\t\t\t\t\"minimalistic\": {\n\t\t\t\t\t\"label\": \"Minimalistic\",\n\t\t\t\t\t\"description\": \"Disables everything except weekly overviews.\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"upload\": {\n\t\t\t\t\"label\": \"Or upload previously generated ReCalendar PDF to use its config:\",\n\t\t\t\t\"loading\": \"Reading config from PDF file, please wait...\",\n\t\t\t\t\"error\": \"Was not able to load ReCalendar config from this PDF - are you sure it was generated using this website?\",\n\t\t\t\t\"success\": \"Config loaded from PDF - welcome back!\"\n\t\t\t}\n\t\t},\n\t\t\"general\": {\n\t\t\t\"label\": \"General options\",\n\t\t\t\"device\": \"Device\",\n\t\t\t\"dpi\": \"DPI\",\n\t\t\t\"resolution\": \"Resolution\",\n\t\t\t\"font\": \"Font\",\n\t\t\t\"year\": \"Year\",\n\t\t\t\"left-handed\": {\n\t\t\t\t\"label\": \"Left-handed version\",\n\t\t\t\t\"description\": \"Optimizes the layout for left-handed use.\"\n\t\t\t},\n\t\t\t\"sidebar\": {\n\t\t\t\t\"label\": \"Leave permanent space for side toolbar\",\n\t\t\t\t\"description\": \"If you prefer to keep the side toolbar always open, check this option to make sure the calendar's content will never be covered by it.\"\n\t\t\t},\n\t\t\t\"starting-month\": {\n\t\t\t\t\"label\": \"Starting month\",\n\t\t\t\t\"description\": \"The first month in the generated calendar. Choose something like October if you want your calendar to cover a semester, instead of a calendar year.\"\n\t\t\t},\n\t\t\t\"month-count\": {\n\t\t\t\t\"label\": \"Number of months\",\n\t\t\t\t\"description\": \"For how many months should the calendar be generated for.\"\n\t\t\t},\n\t\t\t\"first-day-of-week\": \"First day of week\",\n\t\t\t\"weekend\": \"Weekend\"\n\t\t},\n\t\t\"button\": {\n\t\t\t\"refresh\": \"Refresh preview\",\n\t\t\t\"download\": \"Generate full calendar and download\",\n\t\t\t\"generating\": \"Generating, please wait...\"\n\t\t},\n\t\t\"itinerary\": {\n\t\t\t\"empty\": \"Empty itinerary\",\n\t\t\t\"placeholder\": {\n\t\t\t\t\"lines\": \"Number of lines\",\n\t\t\t\t\"page\": \"New page break\",\n\t\t\t\t\"item\": \"Itinerary item\"\n\t\t\t},\n\t\t\t\"button\": {\n\t\t\t\t\"copy\": \"Copy this itinerary to all other days\",\n\t\t\t\t\"remove\": \"Remove\",\n\t\t\t\t\"item\": \"Add itinerary item\",\n\t\t\t\t\"page\": \"Start a new page\",\n\t\t\t\t\"lines\": \"Add empty lines\"\n\t\t\t}\n\t\t},\n\t\t\"items-list\": {\n\t\t\t\"button\": {\n\t\t\t\t\"item\": \"Add item\",\n\t\t\t\t\"remove\": \"Remove\"\n\t\t\t},\n\t\t\t\"empty\": \"Empty list\",\n\t\t\t\"placeholder\": \"Item\"\n\t\t},\n\t\t\"toggle-form\": {\n\t\t\t\"enabled\": \"Enabled\",\n\t\t\t\"disabled\": \"Disabled\"\n\t\t},\n\t\t\"month\": {\n\t\t\t\"title\": \"Month overview\",\n\t\t\t\"description\": \"The month overview is a place to set goals for the upcoming month, track habits and make other plans.\",\n\t\t\t\"habits\": {\n\t\t\t\t\"title\": \"Habits\"\n\t\t\t},\n\t\t\t\"itinerary\": {\n\t\t\t\t\"title\": \"Itinerary\"\n\t\t\t}\n\t\t},\n\t\t\"week\": {\n\t\t\t\"title\": \"Week overview\",\n\t\t\t\"description\": \"Week overview gives you a zoom out of the week to makes plans easier.\",\n\t\t\t\"todos\": {\n\t\t\t\t\"title\": \"TODOs\"\n\t\t\t},\n\t\t\t\"retrospective\": {\n\t\t\t\t\"title\": \"Week retrospective\",\n\t\t\t\t\"description\": \"Week retrospective is a place to reflect on the past week - how it went, what did you learn, what could you improve for next week?\",\n\t\t\t\t\"itinerary\": {\n\t\t\t\t\t\"title\": \"Itinerary\"\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\t\"day\": {\n\t\t\t\"title\": \"Day itineraries\"\n\t\t},\n\t\t\"special-dates\": {\n\t\t\t\"title\": \"Special dates\",\n\t\t\t\"description\": \"Add your birthdays, celebrations, events, etc. here to get reminders about them in weekly overviews and day pages as they approach.\",\n\t\t\t\"empty\": \"No dates\",\n\t\t\t\"placeholder\": \"What's the occasion?\",\n\t\t\t\"upload\": {\n\t\t\t\t\"label\": \"Import from .ics file:\",\n\t\t\t\t\"loading\": \"Reading special dates from ICalendar file, please wait...\",\n\t\t\t\t\"error\": \"Was not able to load some ICalendar events - try re-exporting the .ics file from your calendar app.\",\n\t\t\t\t\"success\": \"Special dates loaded from ICalendar file.\"\n\t\t\t},\n\t\t\t\"type\": {\n\t\t\t\t\"event\": \"Event\",\n\t\t\t\t\"holiday\": \"Holiday\"\n\t\t\t},\n\t\t\t\"button\": {\n\t\t\t\t\"item\": \"Add date\",\n\t\t\t\t\"remove\": \"Remove\"\n\t\t\t}\n\t\t},\n\t\t\"generation-description\": \"PDF generation is done entirely in your browser - no data is sent to our servers!\"\n\t},\n\t\"preview\": {\n\t\t\"title\": \"Calendar preview\",\n\t\t\"subtitle\": \"(only first month is rendered for preview)\",\n\t\t\"viewer-title\": \"PDF Preview\",\n\t\t\"generating\": {\n\t\t\t\"full\": \"Generating full calendar - this could take more than a minute...\",\n\t\t\t\"preview\": \"Generating preview, please wait - it can take a minute.\"\n\t\t},\n\t\t\"empty\": {\n\t\t\t\"title\": \"Use the configuration form to create your personalized calendar.\",\n\t\t\t\"subtitle\": \"The preview will appear here.\"\n\t\t}\n\t}\n}\n"
  },
  {
    "path": "src/locales/en/config.json",
    "content": "{\n\t\"habits\": {\n\t\t\"example1\": \"Exercise\",\n\t\t\"example2\": \"Book\",\n\t\t\"example3\": \"Hobby\",\n\t\t\"example4\": \"Date night\"\n\t},\n\t\"templates\": {\n\t\t\"advanced\": {\n\t\t\t\"day\": {\n\t\t\t\t\"monday\": \"Additional page for extra Monday notes\"\n\t\t\t},\n\t\t\t\"retrospective\": {\n\t\t\t\t\"wins\": \"Wins of the week\",\n\t\t\t\t\"discoveries\": \"New discoveries\",\n\t\t\t\t\"fails\": \"What did not go well?\"\n\t\t\t}\n\t\t}\n\t},\n\t\"month\": {\n\t\t\"goal\": \"Main goal\",\n\t\t\"notes\": \"Notes\"\n\t},\n\t\"todos\": {\n\t\t\"example1\": \"Plan a trip\",\n\t\t\"example2\": \"Some other TODO\"\n\t},\n\t\"special-dates\": {\n\t\t\"example1\": \"Special date 1\",\n\t\t\"example2\": \"Special date for reason #2\",\n\t\t\"example3\": \"Some other celebration\",\n\t\t\"example4\": \"Some other other celebration that is very long\",\n\t\t\"example5\": \"Let's add another one\",\n\t\t\"example6\": \"Ran out of reasons celebration\"\n\t}\n}\n"
  },
  {
    "path": "src/locales/en/pdf.json",
    "content": "{\n\t\"calendar\": {\n\t\t\"header\": {\n\t\t\t\"week-number\": \"W#\",\n\t\t\t\"retrospective\": \"Re\"\n\t\t},\n\t\t\"body\": {\n\t\t\t\"retrospective\": \"R\"\n\t\t}\n\t},\n\t\"page\": {\n\t\t\"month\": {\n\t\t\t\"habits\": {\n\t\t\t\t\"title\": \"Habits\"\n\t\t\t}\n\t\t},\n\t\t\"week\": {\n\t\t\t\"title\": \"Week\"\n\t\t},\n\t\t\"retrospective\": {\n\t\t\t\"title\": \"Retrospective for week\"\n\t\t},\n\t\t\"last\": {\n\t\t\t\"title\": \"Generated using <recalendar>https://recalendar.me/</recalendar>\",\n\t\t\t\"subtitle\": \"You can upload this PDF there again to load the same configuration that was used to create it and quickly generate a similar one for the new year!\"\n\t\t}\n\t}\n}\n"
  },
  {
    "path": "src/locales/es/app.json",
    "content": "{\n\t\"loading\": \"Cargando...\",\n\t\"download-ready\": \"Descargar ahora!\",\n\t\"navigation\": {\n\t\t\"home\": \"Inicio\",\n\t\t\"configuration\": \"Crear el calendario\",\n\t\t\"features\": \"Características\",\n\t\t\"faq\": \"FAQ\"\n\t},\n\t\"language\": {\n\t\t\"label\": \"Idioma\"\n\t},\n\t\"configuration\": {\n\t\t\"selector\": {\n\t\t\t\"label\": \"Empezar\",\n\t\t\t\"template\": {\n\t\t\t\t\"label\": \"Empiece con una plantilla:\",\n\t\t\t\t\"basic\": {\n\t\t\t\t\t\"label\": \"Simple\"\n\t\t\t\t},\n\t\t\t\t\"advanced\": {\n\t\t\t\t\t\"label\": \"Avanzada\"\n\t\t\t\t},\n\t\t\t\t\"blank\": {\n\t\t\t\t\t\"label\": \"Vacía\"\n\t\t\t\t},\n\t\t\t\t\"minimalistic\": {\n\t\t\t\t\t\"label\": \"Minimalista\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"upload\": {\n\t\t\t\t\"label\": \"O cargue el PDF de ReCalendar generado previamente para usar su configuración:\",\n\t\t\t\t\"loading\": \"Leyendo la configuración desde un archivo PDF... por favor, espere...\",\n\t\t\t\t\"error\": \"No se pudo cargar la configuración de ReCalendar desde este PDF. ¿Está seguro de que se generó con este sitio?\",\n\t\t\t\t\"success\": \"Configuración cargada desde el PDF - bienvenido de nuevo!\"\n\t\t\t}\n\t\t},\n\t\t\"general\": {\n\t\t\t\"label\": \"Opciones generales\",\n\t\t\t\"year\": \"Año\",\n\t\t\t\"starting-month\": {\n\t\t\t\t\"label\": \"Mes de inicio\",\n\t\t\t\t\"description\": \"El primer mes del calendario generado. Elija algo como octubre si desea que su calendario cubra un semestre, en lugar de un año.\"\n\t\t\t},\n\t\t\t\"month-count\": {\n\t\t\t\t\"label\": \"Cantidad de meses\",\n\t\t\t\t\"description\": \"¿Cuántos meses quiere generar en su calendario?\"\n\t\t\t},\n\t\t\t\"first-day-of-week\": \"Primer día de la semana\",\n\t\t\t\"weekend\": \"Weekend\"\n\t\t},\n\t\t\"button\": {\n\t\t\t\"refresh\": \"Actualizar avance\",\n\t\t\t\"download\": \"Genera el calendario completo y descarga\",\n\t\t\t\"generating\": \"Generando, por favor espere...\"\n\t\t},\n\t\t\"itinerary\": {\n\t\t\t\"empty\": \"Planificación vacía\",\n\t\t\t\"placeholder\": {\n\t\t\t\t\"lines\": \"Candida de líneas\",\n\t\t\t\t\"page\": \"Nuevo salto de página\"\n\t\t\t},\n\t\t\t\"button\": {\n\t\t\t\t\"remove\": \"Quitar\",\n\t\t\t\t\"item\": \"Agregar un elemento de planificación\",\n\t\t\t\t\"page\": \"Iniciar una nueva página\",\n\t\t\t\t\"lines\": \"Agregar líneas\"\n\t\t\t}\n\t\t},\n\t\t\"items-list\": {\n\t\t\t\"button\": {\n\t\t\t\t\"item\": \"Añadir un elemento\",\n\t\t\t\t\"remove\": \"Quitar\"\n\t\t\t},\n\t\t\t\"empty\": \"Lista vacía\",\n\t\t\t\"placeholder\": \"Elemento\"\n\t\t},\n\t\t\"toggle-form\": {\n\t\t\t\"enabled\": \"Activado\",\n\t\t\t\"disabled\": \"Desactivado\"\n\t\t},\n\t\t\"month\": {\n\t\t\t\"title\": \"Resumen del mes\",\n\t\t\t\"description\": \"El resumen del mes es un lugar para establecer objetivos para el próximo mes, realizar un seguimiento de los hábitos y hacer otros planes.\",\n\t\t\t\"habits\": {\n\t\t\t\t\"title\": \"Hábitos\"\n\t\t\t},\n\t\t\t\"itinerary\": {\n\t\t\t\t\"title\": \"Planificación\"\n\t\t\t}\n\t\t},\n\t\t\"week\": {\n\t\t\t\"title\": \"Resumen de la semana\",\n\t\t\t\"description\": \"El resumen de la semana le muestra una vista general de la semana para facilitar los planes.\",\n\t\t\t\"todos\": {\n\t\t\t\t\"title\": \"To-do list\"\n\t\t\t},\n\t\t\t\"retrospective\": {\n\t\t\t\t\"title\": \"Retrospectiva de la semana\",\n\t\t\t\t\"description\": \"La retrospectiva de la semana es un lugar para reflexionar sobre la semana pasada: ¿cómo fue, qué aprendio, que podría mejorar para la próxima semana?\",\n\t\t\t\t\"itinerary\": {\n\t\t\t\t\t\"title\": \"Planificación\"\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\t\"day\": {\n\t\t\t\"title\": \"Planificación diaria\"\n\t\t},\n\t\t\"special-dates\": {\n\t\t\t\"title\": \"Fechas importantes\",\n\t\t\t\"description\": \"Agregue sus cumpleaños, celebraciones, eventos, etc. Aquí puede recibir recordatorios sobre ellas en resúmenes semanales y páginas de días a medida que se acercan.\",\n\t\t\t\"empty\": \"Sin fechas\",\n\t\t\t\"placeholder\": \"¿Cuál es la ocasión?\",\n\t\t\t\"button\": {\n\t\t\t\t\"item\": \"Agregar fecha\",\n\t\t\t\t\"remove\": \"Quitar\"\n\t\t\t}\n\t\t},\n\t\t\"generation-description\": \"La generación de PDF se realiza completamente en su navegador, ¡no se envían datos a nuestros servidores!\"\n\t},\n\t\"preview\": {\n\t\t\"title\": \"Vista previa del calendario\",\n\t\t\"subtitle\": \"(solo se procesa el primer mes para la vista previa)\",\n\t\t\"viewer-title\": \"Vista previa PDF\",\n\t\t\"generating\": {\n\t\t\t\"full\": \"Generando del calendario completo: esto podría llevar más de un minuto...\",\n\t\t\t\"preview\": \"Generando la vista previa; espere, puede demorar un minuto.\"\n\t\t},\n\t\t\"empty\": {\n\t\t\t\"title\": \"Utilice el formulario de configuración para crear su calendario personalizado.\",\n\t\t\t\"subtitle\": \"La vista previa aparecerá aquí.\"\n\t\t}\n\t}\n}\n"
  },
  {
    "path": "src/locales/es/config.json",
    "content": "{\n\t\"habits\": {\n\t\t\"example1\": \"Ejercicios\",\n\t\t\"example2\": \"Libro\",\n\t\t\"example3\": \"Afición\",\n\t\t\"example4\": \"Noche de cita\"\n\t}\n}\n"
  },
  {
    "path": "src/locales/es/pdf.json",
    "content": "{\n\t\"calendar\": {\n\t\t\"header\": {\n\t\t\t\"week-number\": \"S#\",\n\t\t\t\"retrospective\": \"Re\"\n\t\t},\n\t\t\"body\": {\n\t\t\t\"retrospective\": \"R\"\n\t\t}\n\t},\n\t\"page\": {\n\t\t\"month\": {\n\t\t\t\"habits\": {\n\t\t\t\t\"title\": \"Hábitos\"\n\t\t\t}\n\t\t},\n\t\t\"week\": {\n\t\t\t\"title\": \"Semana\"\n\t\t},\n\t\t\"retrospective\": {\n\t\t\t\"title\": \"Retrospectiva por la semana\"\n\t\t},\n\t\t\"last\": {\n\t\t\t\"title\": \"Generado usando <recalendar>https://recalendar.me/</recalendar>\",\n\t\t\t\"subtitle\": \"¡Puede cargar este PDF allí nuevamente para cargar la misma configuración que se usó para crearlo y generar rápidamente uno similar para el nuevo año!\"\n\t\t}\n\t}\n}\n"
  },
  {
    "path": "src/locales/fr/app.json",
    "content": "{\n\t\"loading\": \"Chargement en cours...\",\n\t\"download-ready\": \"Téléchargez maintenant!\",\n\t\"navigation\": {\n\t\t\"home\": \"Accueil\",\n\t\t\"configuration\": \"Créer son calendrier\",\n\t\t\"features\": \"Caractéristiques\",\n\t\t\"faq\": \"FAQ\"\n\t},\n\t\"language\": {\n\t\t\"label\": \"Langue\"\n\t},\n\t\"configuration\": {\n\t\t\"selector\": {\n\t\t\t\"label\": \"Commencer\",\n\t\t\t\"template\": {\n\t\t\t\t\"label\": \"Commencez par sélectioner un modèle:\",\n\t\t\t\t\"basic\": {\n\t\t\t\t\t\"label\": \"Simple\"\n\t\t\t\t},\n\t\t\t\t\"advanced\": {\n\t\t\t\t\t\"label\": \"Avancé\"\n\t\t\t\t},\n\t\t\t\t\"blank\": {\n\t\t\t\t\t\"label\": \"Vide\"\n\t\t\t\t},\n\t\t\t\t\"minimalistic\": {\n\t\t\t\t\t\"label\": \"Minimaliste\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"upload\": {\n\t\t\t\t\"label\": \"Ou importez un PDF ReCalendar déjà généré pour utiliser sa configuration:\",\n\t\t\t\t\"loading\": \"Configuration en cours, veuillez patienter...\",\n\t\t\t\t\"error\": \"Échec de l'importation de la configuration du PDF ReCalendar. Êtes-vous sûr que le ficher a été généré sur ce site?\",\n\t\t\t\t\"success\": \"Configuration importée - content de vous revoir!\"\n\t\t\t}\n\t\t},\n\t\t\"general\": {\n\t\t\t\"label\": \"Options générales\",\n\t\t\t\"year\": \"Année\",\n\t\t\t\"starting-month\": {\n\t\t\t\t\"label\": \"Mois de départ\",\n\t\t\t\t\"description\": \"Le premier mois dans le calendrier généré. Choisissez par example Octobre si vous désirez un calendrier pour un semestre plutôt qu'une année.\"\n\t\t\t},\n\t\t\t\"month-count\": {\n\t\t\t\t\"label\": \"Nombre de mois\",\n\t\t\t\t\"description\": \"Combien de mois voulez-vous générer dans votre calendrier?\"\n\t\t\t},\n\t\t\t\"first-day-of-week\": \"Premier jour de la semaine\",\n\t\t\t\"weekend\": \"Weekend\"\n\t\t},\n\t\t\"button\": {\n\t\t\t\"refresh\": \"Actualiser l'aperçu\",\n\t\t\t\"download\": \"Générer le calendrier complet et télécharger\",\n\t\t\t\"generating\": \"Génération PDF en cours, veuillez patienter...\"\n\t\t},\n\t\t\"itinerary\": {\n\t\t\t\"empty\": \"Planning vide\",\n\t\t\t\"placeholder\": {\n\t\t\t\t\"lines\": \"Nombre de lignes\",\n\t\t\t\t\"page\": \"Nouveau saut de page\"\n\t\t\t},\n\t\t\t\"button\": {\n\t\t\t\t\"remove\": \"Supprimer\",\n\t\t\t\t\"item\": \"Ajouter un élément au planning\",\n\t\t\t\t\"page\": \"Ouvrir une nouvelle page\",\n\t\t\t\t\"lines\": \"Ajouter une ligne\"\n\t\t\t}\n\t\t},\n\t\t\"items-list\": {\n\t\t\t\"button\": {\n\t\t\t\t\"item\": \"Ajouter un élément\",\n\t\t\t\t\"remove\": \"Supprimer\"\n\t\t\t},\n\t\t\t\"empty\": \"Liste vide\",\n\t\t\t\"placeholder\": \"Élément\"\n\t\t},\n\t\t\"toggle-form\": {\n\t\t\t\"enabled\": \"Activé\",\n\t\t\t\"disabled\": \"Désactivé\"\n\t\t},\n\t\t\"month\": {\n\t\t\t\"title\": \"Aperçu du mois\",\n\t\t\t\"description\": \"L'aperçu du mois est un endroit pour définir ses objectifs pour le mois à venir, suivre ses habitudes et planifier.\",\n\t\t\t\"habits\": {\n\t\t\t\t\"title\": \"Habitudes\"\n\t\t\t},\n\t\t\t\"itinerary\": {\n\t\t\t\t\"title\": \"Planning\"\n\t\t\t}\n\t\t},\n\t\t\"week\": {\n\t\t\t\"title\": \"Aperçu de la semaine\",\n\t\t\t\"description\": \"L'Aperçu de la semaine donne une vue générale de la semaine pour rendre la planification plus facile.\",\n\t\t\t\"todos\": {\n\t\t\t\t\"title\": \"To-do lists\"\n\t\t\t},\n\t\t\t\"retrospective\": {\n\t\t\t\t\"title\": \"Rétrospective de la semaine\",\n\t\t\t\t\"description\": \"La rétrospective de la semaine est un endroit pour prendre du recul sur la semaine passée - Comment s'est-t-elle passée, qu'avez-vous appris, que faire pour améliorer la semaine prochaine?\",\n\t\t\t\t\"itinerary\": {\n\t\t\t\t\t\"title\": \"Planning\"\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\t\"day\": {\n\t\t\t\"title\": \"Planning journalier\"\n\t\t},\n\t\t\"special-dates\": {\n\t\t\t\"title\": \"Dates importantes\",\n\t\t\t\"description\": \"Ajoutez des anniversaires, célébrations, évènements, etc. Ici, vous pouvez recevoir des rappels de ces dates dans l'aperçu de la semaine et les pages journalières.\",\n\t\t\t\"empty\": \"Aucune date\",\n\t\t\t\"placeholder\": \"Pour quelle occasion?\",\n\t\t\t\"button\": {\n\t\t\t\t\"item\": \"Ajouter une date\",\n\t\t\t\t\"remove\": \"Supprimer\"\n\t\t\t}\n\t\t},\n\t\t\"generation-description\": \"La génération de PDF se fait entièrement dans votre navigateur - aucune donnée n'est envoyée à nos serveurs!\"\n\t},\n\t\"preview\": {\n\t\t\"title\": \"Aperçu du calendrier\",\n\t\t\"subtitle\": \"(le premier mois seulement apparaît dans l'aperçu)\",\n\t\t\"viewer-title\": \"Aperçu du PDF\",\n\t\t\"generating\": {\n\t\t\t\"full\": \"Génération du calendrier complet en cours - cela peut prendre plus d'une minute...\",\n\t\t\t\"preview\": \"Génération de l'aperçu, veuillez patienter - cela peut prendre une minute.\"\n\t\t},\n\t\t\"empty\": {\n\t\t\t\"title\": \"Utilisez le formulaire de configuration pour créer votre calendrier personalisé.\",\n\t\t\t\"subtitle\": \"L'aperçu s'affichera ici.\"\n\t\t}\n\t}\n}\n"
  },
  {
    "path": "src/locales/fr/config.json",
    "content": "{\n\t\"habits\": {\n\t\t\"example1\": \"Exercices\",\n\t\t\"example2\": \"Livre\",\n\t\t\"example3\": \"Loisir\",\n\t\t\"example4\": \"Sortie en amoureux\"\n\t}\n}\n"
  },
  {
    "path": "src/locales/fr/pdf.json",
    "content": "{\n\t\"calendar\": {\n\t\t\"header\": {\n\t\t\t\"week-number\": \"S#\",\n\t\t\t\"retrospective\": \"Re\"\n\t\t},\n\t\t\"body\": {\n\t\t\t\"retrospective\": \"R\"\n\t\t}\n\t},\n\t\"page\": {\n\t\t\"month\": {\n\t\t\t\"habits\": {\n\t\t\t\t\"title\": \"Habitudes\"\n\t\t\t}\n\t\t},\n\t\t\"week\": {\n\t\t\t\"title\": \"Semaine\"\n\t\t},\n\t\t\"retrospective\": {\n\t\t\t\"title\": \"Retrospective de la semaine\"\n\t\t},\n\t\t\"last\": {\n\t\t\t\"title\": \"Généré par <recalendar>https://recalendar.me/</recalendar>\",\n\t\t\t\"subtitle\": \"Vous pouvez importer ce PDF à nouveau pour obtenir la même configuration et créer rapidement un calendrier similaire pour la nouvelle année!\"\n\t\t}\n\t}\n}\n"
  },
  {
    "path": "src/locales/he/app.json",
    "content": "{\n\t\"loading\": \"טוען...\",\n\t\"download-ready\": \"הורד עכשיו!\",\n\t\"navigation\": {\n\t\t\"home\": \"בית\",\n\t\t\"configuration\": \"צור את היומן שלך\",\n\t\t\"features\": \"מאפיינים\",\n\t\t\"faq\": \"שאלות נפוצות\"\n\t},\n\t\"language\": {\n\t\t\"label\": \"שפה\",\n\t\t\"full\": \"שפות מתורגמות במלואן\",\n\t\t\"partial\": \"רק ימים בשבוע וחודשים\"\n\t},\n\t\"configuration\": {\n\t\t\"selector\": {\n\t\t\t\"label\": \"התחל\",\n\t\t\t\"template\": {\n\t\t\t\t\"label\": \"התחל בבחירת תבנית:\",\n\t\t\t\t\"basic\": {\n\t\t\t\t\t\"label\": \"בסיסי\",\n\t\t\t\t\t\"description\": \"הגדרות ברירת מחדל - נקודת התחלה טובה.\"\n\t\t\t\t},\n\t\t\t\t\"advanced\": {\n\t\t\t\t\t\"label\": \"מתקדם\",\n\t\t\t\t\t\"description\": \"מרחיב את התבנית הבסיסית על ידי הוספת מסלולי טיול בודדים.\"\n\t\t\t\t},\n\t\t\t\t\"blank\": {\n\t\t\t\t\t\"label\": \"ריק\",\n\t\t\t\t\t\"description\": \"מבוסס על תבנית בסיסית, אבל עם הרגלים ריקים, מטלות, תאריכים מיוחדים וכו'.\"\n\t\t\t\t},\n\t\t\t\t\"minimalistic\": {\n\t\t\t\t\t\"label\": \"מינימליסטי\",\n\t\t\t\t\t\"description\": \"משבית הכל מלבד סקירות שבועיות.\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"upload\": {\n\t\t\t\t\"label\": \"או העלה את ReCalendar PDF שנוצר בעבר כדי להשתמש בתצורה שלו:\",\n\t\t\t\t\"loading\": \"קורא תצורה מקובץ PDF, אנא המתן...\",\n\t\t\t\t\"error\": \"לא הצליח לטעון את תצורת ReCalendar מ-PDF זה - האם אתה בטוח שהוא נוצר באמצעות אתר זה?\",\n\t\t\t\t\"success\": \"התצורה נטענה מ-PDF - ברוך הבא!\"\n\t\t\t}\n\t\t},\n\t\t\"general\": {\n\t\t\t\"label\": \"אפשרויות כלליות\",\n\t\t\t\"font\": \"גופן\",\n\t\t\t\"year\": \"שנה\",\n\t\t\t\"left-handed\": {\n\t\t\t\t\"label\": \"גרסת-יד שמאל\",\n\t\t\t\t\"description\": \"מייעל את הפריסה לשימוש ביד-שמאל.\"\n\t\t\t},\n\t\t\t\"sidebar\": {\n\t\t\t\t\"label\": \"השאר מקום קבוע לסרגל הכלים הצדדי\",\n\t\t\t\t\"description\": \"אם אתה מעדיף להשאיר את סרגל הכלים הצדדי פתוח תמיד, סמן אפשרות זו כדי לוודא שתוכן היומן לעולם לא יכוסה בו.\"\n\t\t\t},\n\t\t\t\"starting-month\": {\n\t\t\t\t\"label\": \"תחילת החודש\",\n\t\t\t\t\"description\": \"החודש הראשון בלוח השנה שנוצר. בחר משהו כמו אוקטובר אם אתה רוצה שהלוח שלך יכסה סמסטר, במקום שנה קלנדרית.\"\n\t\t\t},\n\t\t\t\"month-count\": {\n\t\t\t\t\"label\": \"מספר החודשים\",\n\t\t\t\t\"description\": \"לכמה חודשים צריך להפיק את היומן.\"\n\t\t\t},\n\t\t\t\"first-day-of-week\": \"יום הראשון בשבוע\",\n\t\t\t\"weekend\": \"סוף שבוע\"\n\t\t},\n\t\t\"button\": {\n\t\t\t\"refresh\": \"רענן תצוגה מקדימה\",\n\t\t\t\"download\": \"צור לוח שנה מלא והורד\",\n\t\t\t\"generating\": \"יוצר, אנא המתן...\"\n\t\t},\n\t\t\"itinerary\": {\n\t\t\t\"empty\": \"מסלול ריק\",\n\t\t\t\"placeholder\": {\n\t\t\t\t\"lines\": \"מספר שורות\",\n\t\t\t\t\"page\": \"מעבר עמוד חדש\",\n\t\t\t\t\"item\": \"פריט מסלול\"\n\t\t\t},\n\t\t\t\"button\": {\n\t\t\t\t\"copy\": \"העתק את המסלול הזה לכל שאר הימים\",\n\t\t\t\t\"remove\": \"הסר\",\n\t\t\t\t\"item\": \"הוסף פריט מסלול\",\n\t\t\t\t\"page\": \"התחל דף חדש\",\n\t\t\t\t\"lines\": \"הוסף שורות ריקות\"\n\t\t\t}\n\t\t},\n\t\t\"items-list\": {\n\t\t\t\"button\": {\n\t\t\t\t\"item\": \"הוסף פריט\",\n\t\t\t\t\"remove\": \"הסר\"\n\t\t\t},\n\t\t\t\"empty\": \"רשימה ריקה\",\n\t\t\t\"placeholder\": \"פריט\"\n\t\t},\n\t\t\"toggle-form\": {\n\t\t\t\"enabled\": \"מופעל\",\n\t\t\t\"disabled\": \"מושבת\"\n\t\t},\n\t\t\"month\": {\n\t\t\t\"title\": \"סקירת חודש\",\n\t\t\t\"description\": \"סקירת החודש היא מקום להגדיר יעדים לחודש הקרוב, לעקוב אחר הרגלים ולתכנן תוכניות אחרות.\",\n\t\t\t\"habits\": {\n\t\t\t\t\"title\": \"הרגלים\"\n\t\t\t},\n\t\t\t\"itinerary\": {\n\t\t\t\t\"title\": \"מסלול\"\n\t\t\t}\n\t\t},\n\t\t\"week\": {\n\t\t\t\"title\": \"סקירת שבוע\",\n\t\t\t\"description\": \"סקירת שבוע נותנת לך הגדלה מהשבוע כדי להקל על התוכניות.\",\n\t\t\t\"todos\": {\n\t\t\t\t\"title\": \"מטלות\"\n\t\t\t},\n\t\t\t\"retrospective\": {\n\t\t\t\t\"title\": \"רטרוספקטיבה של שבוע\",\n\t\t\t\t\"description\": \"רטרוספקטיבה לשבוע היא מקום להרהר בשבוע האחרון - איך עבר, מה למדת, מה אפשר לשפר לשבוע הבא?\",\n\t\t\t\t\"itinerary\": {\n\t\t\t\t\t\"title\": \"מסלול\"\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\t\"day\": {\n\t\t\t\"title\": \"מסלולי יום\"\n\t\t},\n\t\t\"special-dates\": {\n\t\t\t\"title\": \"תאריכים מיוחדים\",\n\t\t\t\"description\": \"הוסף כאן את ימי ההולדת שלך, חגיגות, אירועים וכו' כדי לקבל תזכורות עליהם בסקירות שבועיות ובדפי יום כשהם מתקרבים.\",\n\t\t\t\"empty\": \"אין תאריכים\",\n\t\t\t\"placeholder\": \"מה האירוע?\",\n\t\t\t\"upload\": {\n\t\t\t\t\"label\": \"ייבוא מקובץ .ics:\",\n\t\t\t\t\"loading\": \"קורא תאריכים מיוחדים מקובץ ICalendar, אנא המתן...\",\n\t\t\t\t\"error\": \"לא הצליח לטעון חלק מאירועי ICalendar - נסה לייצא מחדש את קובץ ה-.ics מאפליקציית היומן שלך.\",\n\t\t\t\t\"success\": \"תאריכים מיוחדים נטענים מקובץ ICalendar.\"\n\t\t\t},\n\t\t\t\"type\": {\n\t\t\t\t\"event\": \"אירוע\",\n\t\t\t\t\"holiday\": \"חג\"\n\t\t\t},\n\t\t\t\"button\": {\n\t\t\t\t\"item\": \"הוסף תאריך\",\n\t\t\t\t\"remove\": \"הסר\"\n\t\t\t}\n\t\t},\n\t\t\"generation-description\": \"הפקת PDF מתבצעת כולה בדפדפן שלך - לא נשלחים נתונים לשרתים שלנו!\"\n\t},\n\t\"preview\": {\n\t\t\"title\": \"תצוגה מקדימה של לוח השנה\",\n\t\t\"subtitle\": \"(רק החודש הראשון מוצג לתצוגה מקדימה)\",\n\t\t\"viewer-title\": \"תצוגה מקדימה של PDF\",\n\t\t\"generating\": {\n\t\t\t\"full\": \"יצירת לוח שנה מלא - זה יכול לקחת יותר מדקה...\",\n\t\t\t\"preview\": \"יוצר תצוגה מקדימה, אנא המתן - זה יכול לקחת דקה.\"\n\t\t},\n\t\t\"empty\": {\n\t\t\t\"title\": \"השתמש בטופס התצורה כדי ליצור את לוח השנה המותאם אישית שלך.\",\n\t\t\t\"subtitle\": \"התצוגה המקדימה תופיע כאן.\"\n\t\t}\n\t}\n}\n"
  },
  {
    "path": "src/locales/he/config.json",
    "content": "{\n\t\"habits\": {\n\t\t\"example1\": \"אימונים\",\n\t\t\"example2\": \"ספר\",\n\t\t\"example3\": \"תחביב\",\n\t\t\"example4\": \"לילה דייטים\"\n\t},\n\t\"templates\": {\n\t\t\"advanced\": {\n\t\t\t\"day\": {\n\t\t\t\t\"monday\": \"עמוד נוסף להערות נוספות של יום שני\"\n\t\t\t},\n\t\t\t\"retrospective\": {\n\t\t\t\t\"wins\": \"זכיות השבוע\",\n\t\t\t\t\"discoveries\": \"תגליות חדשות\",\n\t\t\t\t\"fails\": \"מה לא הלך טוב?\"\n\t\t\t}\n\t\t}\n\t},\n\t\"month\": {\n\t\t\"goal\": \"המטרה העיקרית\",\n\t\t\"notes\": \"הערות\"\n\t},\n\t\"todos\": {\n\t\t\"example1\": \"לתכנן טיול\",\n\t\t\"example2\": \"מטלות אחרות\"\n\t},\n\t\"special-dates\": {\n\t\t\"example1\": \"תאריך מיוחד 1\",\n\t\t\"example2\": \"תאריך מיוחד לסיבה מס' 2\",\n\t\t\"example3\": \"איזו חגיגה אחרת\",\n\t\t\"example4\": \"עוד חגיגה אחרת שהיא ארוכה מאוד\",\n\t\t\"example5\": \"בואו נוסיף עוד אחד\",\n\t\t\"example6\": \"נגמרו הסיבות לחגיגה\"\n\t}\n}\n"
  },
  {
    "path": "src/locales/he/pdf.json",
    "content": "{\n\t\"calendar\": {\n\t\t\"header\": {\n\t\t\t\"week-number\": \"S#\",\n\t\t\t\"retrospective\": \"Re\"\n\t\t},\n\t\t\"body\": {\n\t\t\t\"retrospective\": \"R\"\n\t\t}\n\t},\n\t\"page\": {\n\t\t\"month\": {\n\t\t\t\"habits\": {\n\t\t\t\t\"title\": \"הרגלים\"\n\t\t\t}\n\t\t},\n\t\t\"week\": {\n\t\t\t\"title\": \"שבוע\"\n\t\t},\n\t\t\"retrospective\": {\n\t\t\t\"title\": \"רטרוספקטיבה לשבוע\"\n\t\t},\n\t\t\"last\": {\n\t\t\t\"title\": \"נוצר באמצעות <recalendar>https://recalendar.me/</recalendar>\",\n\t\t\t\"subtitle\": \"אתה יכול להעלות את ה-PDF הזה לשם שוב כדי לטעון את אותה תצורה ששימשה ליצירתו וליצור במהירות קובץ דומה לשנה החדשה!\"\n\t\t}\n\t}\n}\n"
  },
  {
    "path": "src/locales/hr/app.json",
    "content": "{\n\t\"loading\": \"Učitavanje...\",\n\t\"download-ready\": \"Preuzmi sada!\",\n\t\"navigation\": {\n\t\t\"home\": \"Početna stranica\",\n\t\t\"configuration\": \"Izradi svoj kalendar\",\n\t\t\"features\": \"Značajke\",\n\t\t\"faq\": \"Česta pitanja\"\n\t},\n\t\"language\": {\n\t\t\"label\": \"Jezik\",\n\t\t\"en\": \"English\",\n\t\t\"pl\": \"Polski\",\n\t\t\"fr\": \"Français\",\n\t\t\"es\": \"Español\",\n\t\t\"nb\": \"Norsk\",\n\t\t\"da\": \"Dansk\",\n\t\t\"hr\": \"Hrvatski\"\n\t},\n\t\"configuration\": {\n\t\t\"selector\": {\n\t\t\t\"label\": \"Početak\",\n\t\t\t\"template\": {\n\t\t\t\t\"label\": \"Započni odabirom predloška:\",\n\t\t\t\t\"basic\": {\n\t\t\t\t\t\"label\": \"Osnovni predložak\",\n\t\t\t\t\t\"description\": \"Uobičajene postavke - dobra početna točka.\"\n\t\t\t\t},\n\t\t\t\t\"advanced\": {\n\t\t\t\t\t\"label\": \"Napredni predložak\",\n\t\t\t\t\t\"description\": \"Proširuje Osnovi predložak dodavanjem rasporeda za svaki dan.\"\n\t\t\t\t},\n\t\t\t\t\"blank\": {\n\t\t\t\t\t\"label\": \"Prazno\",\n\t\t\t\t\t\"description\": \"Temeljeno na Osnovnom predlošku, ali s praznim poljima za navike, listu s popisom obaveza, posebnim datumima itd.\"\n\t\t\t\t},\n\t\t\t\t\"minimalistic\": {\n\t\t\t\t\t\"label\": \"Minimalistično\",\n\t\t\t\t\t\"description\": \"Onemogućuje sve osim tjednih pregleda.\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"upload\": {\n\t\t\t\t\"label\": \"Ili učitaj prethodno stvoreni ReCalendar PDF datoteku s već postojećom konfiguracijom:\",\n\t\t\t\t\"loading\": \"Učitavanje konfiguracije iz PDF datoteke, molim pričekajte...\",\n\t\t\t\t\"error\": \"Nije moguće učitati konfiguraciju iz ove PDF datoteke - jeste li sigurni da je PDF dokument izrađen putem ove stranice?\",\n\t\t\t\t\"success\": \"Konfiguracija učitana iz PDF datoteke - dobrodošli natrag!\"\n\t\t\t}\n\t\t},\n\t\t\"general\": {\n\t\t\t\"label\": \"Uobičajene mogućnosti\",\n\t\t\t\"font\": \"Font\",\n\t\t\t\"year\": \"Godina\",\n\t\t\t\"left-handed\": {\n\t\t\t\t\"label\": \"Verzija za ljevake\",\n\t\t\t\t\"description\": \"Optimizira izgled za osobe koje pišu lijevom rukom.\"\n\t\t\t},\n\t\t\t\"sidebar\": {\n\t\t\t\t\"label\": \"Ostavi trajni prostor za bočnu traku s alatima\",\n\t\t\t\t\"description\": \"Ako želite da bočna traka s alatima bude uvijek otvorena, označite ovu opciju kako biste bili sigurni da sadržaj kalendara nikada neće biti prekriven njome.\"\n\t\t\t},\n\t\t\t\"starting-month\": {\n\t\t\t\t\"label\": \"Početni mjesec\",\n\t\t\t\t\"description\": \"Prvi mjesec koji će se prikazati u izrađenom kalendaru. Odaberi nešto poput Listopada, ako želiš da kalendar pokrije npr. semestar, umjesto cijele godine.\"\n\t\t\t},\n\t\t\t\"month-count\": {\n\t\t\t\t\"label\": \"Broj mjeseci\",\n\t\t\t\t\"description\": \"Broj mjeseci za bi ovaj kalendar trebao biti izrađen.\"\n\t\t\t},\n\t\t\t\"first-day-of-week\": \"Početni dan u tjednu\",\n\t\t\t\"weekend\": \"Vikend\"\n\t\t},\n\t\t\"button\": {\n\t\t\t\"refresh\": \"Osvježi pregled\",\n\t\t\t\"download\": \"Izradi cijeli kalendar i preuzmi\",\n\t\t\t\"generating\": \"Izrada kalendara, molim pričekajte...\"\n\t\t},\n\t\t\"itinerary\": {\n\t\t\t\"empty\": \"Prazan dnevni raspored\",\n\t\t\t\"placeholder\": {\n\t\t\t\t\"lines\": \"Broj linija\",\n\t\t\t\t\"page\": \"Novi prekid stranice\"\n\t\t\t},\n\t\t\t\"button\": {\n\t\t\t\t\"copy\": \"Kopirajte ovaj dnevni raspored na sve ostale dane\",\n\t\t\t\t\"remove\": \"Ukloni\",\n\t\t\t\t\"item\": \"Dodajte novu stavku dnevnom rasporedu\",\n\t\t\t\t\"page\": \"Započni novu stranicu\",\n\t\t\t\t\"lines\": \"Dodaj prazne retke\"\n\t\t\t}\n\t\t},\n\t\t\"items-list\": {\n\t\t\t\"button\": {\n\t\t\t\t\"item\": \"Dodaj novu stavku\",\n\t\t\t\t\"remove\": \"Ukloni\"\n\t\t\t},\n\t\t\t\"empty\": \"Prazan popis\",\n\t\t\t\"placeholder\": \"Stavka\"\n\t\t},\n\t\t\"toggle-form\": {\n\t\t\t\"enabled\": \"Omogućeno\",\n\t\t\t\"disabled\": \"Onemogućeno\"\n\t\t},\n\t\t\"month\": {\n\t\t\t\"title\": \"Mjesečni pregled\",\n\t\t\t\"description\": \"Mjesečni pregled je mjesto na kojem se mogu definirati ciljevi za nadolazeći mjesec, postaviti navike i stvoriti ostali planovi.\",\n\t\t\t\"habits\": {\n\t\t\t\t\"title\": \"Navike\"\n\t\t\t},\n\t\t\t\"itinerary\": {\n\t\t\t\t\"title\": \"Dnevni raspored\"\n\t\t\t}\n\t\t},\n\t\t\"week\": {\n\t\t\t\"title\": \"Tjedni pregled\",\n\t\t\t\"description\": \"Tjedni pregled daje širi pregled tjedna za lakše planiranje.\",\n\t\t\t\"todos\": {\n\t\t\t\t\"title\": \"Popis obaveza\"\n\t\t\t},\n\t\t\t\"retrospective\": {\n\t\t\t\t\"title\": \"Tjedna retrospektiva\",\n\t\t\t\t\"description\": \"Tjedna retrospektiva je mjesto za razmišljanje o proteklom tjednu - kako je bilo, što ste naučili, što biste mogli poboljšati za sljedeći tjedan?\",\n\t\t\t\t\"itinerary\": {\n\t\t\t\t\t\"title\": \"Dnevni raspored\"\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\t\"day\": {\n\t\t\t\"title\": \"Zadaci dnevnog rasporeda\"\n\t\t},\n\t\t\"special-dates\": {\n\t\t\t\"title\": \"Posebni datumi\",\n\t\t\t\"description\": \"Ovdje dodajte Vaše posebne datume kao što su rođendani, obljetnice, proslave i druga događanja, kako bi dobili pravovremeni podsjetnik u tjednom pregledu i dnevnom rasporedu.\",\n\t\t\t\"empty\": \"Bez datuma\",\n\t\t\t\"placeholder\": \"Koja je prigoda?\",\n\t\t\t\"button\": {\n\t\t\t\t\"item\": \"Dodaj datume\",\n\t\t\t\t\"remove\": \"Ukloni\"\n\t\t\t}\n\t\t},\n\t\t\"generation-description\": \"Stvaranje PDF dokumenta odvija se isključivo u Vašem pregledniku - nikakvi podaci ne šalju se prema našim serverima!\"\n\t},\n\t\"preview\": {\n\t\t\"title\": \"Pregled kalendara\",\n\t\t\"subtitle\": \"(prikazuje se samo prvi mjesec kalendara)\",\n\t\t\"viewer-title\": \"Pregled PDF dokumenta\",\n\t\t\"generating\": {\n\t\t\t\"full\": \"Stvaranje cijelog kalendara - ovo bi moglo potrajati duže od jedne minute...\",\n\t\t\t\"preview\": \"Stvaranje pregleda kalendara, molim pričekajte - može potrajati nekoliko minuta.\"\n\t\t},\n\t\t\"empty\": {\n\t\t\t\"title\": \"Koristite konfiguraciju kako bi stvorili vlastiti personalizirani kalendar.\",\n\t\t\t\"subtitle\": \"Pregled kalendara će se prikazati ovdje.\"\n\t\t}\n\t}\n}\n"
  },
  {
    "path": "src/locales/hr/config.json",
    "content": "{\n\t\"habits\": {\n\t\t\"example1\": \"Tjelovježba\",\n\t\t\"example2\": \"Čitanje\",\n\t\t\"example3\": \"Meditacija\",\n\t\t\"example4\": \"Hobi\"\n\t},\n\t\"templates\": {\n\t\t\"advanced\": {\n\t\t\t\"day\": {\n\t\t\t\t\"monday\": \"Dodatna stranica za bilješke ponedjeljkom\"\n\t\t\t},\n\t\t\t\"retrospective\": {\n\t\t\t\t\"wins\": \"Pobjede ovog tjedna\",\n\t\t\t\t\"discoveries\": \"Nova otkrića\",\n\t\t\t\t\"fails\": \"Što bi moglo biti bolje?\"\n\t\t\t}\n\t\t}\n\t},\n\t\"month\": {\n\t\t\"goal\": \"Glavni cilj\",\n\t\t\"notes\": \"Bilješke\"\n\t},\n\t\"todos\": {\n\t\t\"example1\": \"Isplaniraj putovanje\",\n\t\t\"example2\": \"Neki drugi zadatak\"\n\t},\n\t\"special-dates\": {\n\t\t\"example1\": \"Poseban datum\",\n\t\t\"example2\": \"Još jedan poseban datumčić\",\n\t\t\"example3\": \"Nekakva proslava\",\n\t\t\"example4\": \"Još jedna proslava s jako dugačkim tekstom koji ide kroz više redova\",\n\t\t\"example5\": \"Dodajmo još i rođendan moje mačke Lale\",\n\t\t\"example6\": \"Možda imate ideju za još neki bitan blagdan? Božić!\"\n\t}\n}\n"
  },
  {
    "path": "src/locales/hr/pdf.json",
    "content": "{\n\t\"calendar\": {\n\t\t\"header\": {\n\t\t\t\"week-number\": \"W#\",\n\t\t\t\"retrospective\": \"Re\"\n\t\t},\n\t\t\"body\": {\n\t\t\t\"retrospective\": \"R\"\n\t\t}\n\t},\n\t\"page\": {\n\t\t\"month\": {\n\t\t\t\"habits\": {\n\t\t\t\t\"title\": \"Navike\"\n\t\t\t}\n\t\t},\n\t\t\"week\": {\n\t\t\t\"title\": \"Tjedan\"\n\t\t},\n\t\t\"retrospective\": {\n\t\t\t\"title\": \"Tjedna retrospektiva\"\n\t\t},\n\t\t\"last\": {\n\t\t\t\"title\": \"Izrađeno korištenjem <recalendar>https://recalendar.me/</recalendar>\",\n\t\t\t\"subtitle\": \"Nožete ponovno učitati ovaj PDF dokument na navedenoj WEB stranici za učitavanje postojeće konfiguracije u svrhu bržeg i jednostavnijeg stvaranje novog kalendara za sljedeću godinu!\"\n\t\t}\n\t}\n}\n"
  },
  {
    "path": "src/locales/hu/app.json",
    "content": "{\n\t\"loading\": \"Betöltés...\",\n\t\"download-ready\": \"Letöltés most!\",\n\t\"navigation\": {\n\t\t\"home\": \"Kezdőlap\",\n\t\t\"configuration\": \"Hozd létre naptáradat\",\n\t\t\"features\": \"Funkciók\",\n\t\t\"faq\": \"GYIK\"\n\t},\n\t\"configuration\": {\n\t\t\"selector\": {\n\t\t\t\"label\": \"Kezdés\",\n\t\t\t\"template\": {\n\t\t\t\t\"label\": \"Sablon kiválasztása:\",\n\t\t\t\t\"basic\": {\n\t\t\t\t\t\"label\": \"Alap\",\n\t\t\t\t\t\"description\": \"Alap beállítások - jó kiindulópont.\"\n\t\t\t\t},\n\t\t\t\t\"advanced\": {\n\t\t\t\t\t\"label\": \"Haladó\",\n\t\t\t\t\t\"description\": \"A Haladó sablon kibővíti az Alap sablont egyedi tervekkel.\"\n\t\t\t\t},\n\t\t\t\t\"blank\": {\n\t\t\t\t\t\"label\": \"Üres\",\n\t\t\t\t\t\"description\": \"Alap sablon, üres szokásokkal, teendőkkel, speciális dátumokkal, stb.\"\n\t\t\t\t},\n\t\t\t\t\"minimalistic\": {\n\t\t\t\t\t\"label\": \"Minimalista\",\n\t\t\t\t\t\"description\": \"Minden kikapcsolva, csak heti áttekintéseket tartalmazza.\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"upload\": {\n\t\t\t\t\"label\": \"Vagy korábban generált ReCalendar PDF feltöltése, a benne lévő konfiguráció használatához:\",\n\t\t\t\t\"loading\": \"PDF fájl konfiguráció olvasása, kérlek várj...\",\n\t\t\t\t\"error\": \"Nem sikerült a ReCalendar konfigurációt beolvasni a PDF-ből - biztos, hogy ezen az oldalon generálódott?\",\n\t\t\t\t\"success\": \"Beállítások beolvasva a PDF-ből - üdvözöljük újra!\"\n\t\t\t}\n\t\t},\n\t\t\"general\": {\n\t\t\t\"label\": \"Általános beállítások\",\n\t\t\t\"font\": \"Betűtípus\",\n\t\t\t\"year\": \"Év\",\n\t\t\t\"left-handed\": {\n\t\t\t\t\"label\": \"Balkezes verzió\",\n\t\t\t\t\"description\": \"Az elrendezést balkezes használatra optimalizálja.\"\n\t\t\t},\n\t\t\t\"sidebar\": {\n\t\t\t\t\"label\": \"Hagyj helyet az oldalsáv számára\",\n\t\t\t\t\"description\": \"Ha szereted az oldalsávot mindig nyitva tartani, jelöld be ezt az opciót, hogy biztosítsd, hogy a naptár tartalma soha ne legyen letakarva.\"\n\t\t\t},\n\t\t\t\"starting-month\": {\n\t\t\t\t\"label\": \"Kezdő hónap\",\n\t\t\t\t\"description\": \"Az előállított naptár első hónapja. Válassz például szeptembert, ha tanítási évet szeretnél generálni, nem  naptári évet.\"\n\t\t\t},\n\t\t\t\"month-count\": {\n\t\t\t\t\"label\": \"Hónapok száma\",\n\t\t\t\t\"description\": \"Hány hónapra kell elkészíteni a naptárat.\"\n\t\t\t},\n\t\t\t\"first-day-of-week\": \"Hét első napja\",\n\t\t\t\"weekend\": \"Hétvége\"\n\t\t},\n\t\t\"button\": {\n\t\t\t\"refresh\": \"Előnézet frissítése\",\n\t\t\t\"download\": \"Teljes naptár generálása és letöltése\",\n\t\t\t\"generating\": \"Generálás, kérlek várj...\"\n\t\t},\n\t\t\"itinerary\": {\n\t\t\t\"empty\": \"Üres terv\",\n\t\t\t\"placeholder\": {\n\t\t\t\t\"lines\": \"Sorok száma\",\n\t\t\t\t\"page\": \"Új oldaltörés\",\n\t\t\t\t\"item\": \"Új terv\"\n\t\t\t},\n\t\t\t\"button\": {\n\t\t\t\t\"copy\": \"Másold ezt a tervet az összes többi napra\",\n\t\t\t\t\"remove\": \"Eltávolítás\",\n\t\t\t\t\"item\": \"Új terv hozzáadása\",\n\t\t\t\t\"page\": \"Új oldal indítása\",\n\t\t\t\t\"lines\": \"Üres sorok hozzáadása\"\n\t\t\t}\n\t\t},\n\t\t\"items-list\": {\n\t\t\t\"button\": {\n\t\t\t\t\"item\": \"Elem hozzáadása\",\n\t\t\t\t\"remove\": \"Eltávolítás\"\n\t\t\t},\n\t\t\t\"empty\": \"Üres lista\",\n\t\t\t\"placeholder\": \"Elem\"\n\t\t},\n\t\t\"toggle-form\": {\n\t\t\t\"enabled\": \"Engedélyezve\",\n\t\t\t\"disabled\": \"Letiltva\"\n\t\t},\n\t\t\"month\": {\n\t\t\t\"title\": \"Hónap áttekintés\",\n\t\t\t\"description\": \"A hónap áttekintés helyet ad a következő hónapok céljainak megadásához, szokások nyomon követéséhez és más tervek készítéséhez.\",\n\t\t\t\"habits\": {\n\t\t\t\t\"title\": \"Szokások\"\n\t\t\t},\n\t\t\t\"itinerary\": {\n\t\t\t\t\"title\": \"Terv\"\n\t\t\t}\n\t\t},\n\t\t\"week\": {\n\t\t\t\"title\": \"Hét áttekintés\",\n\t\t\t\"description\": \"A hét áttekintése lehetővé teszi a hét előretekintését, hogy megkönnyítse a tervek elkészítését.\",\n\t\t\t\"todos\": {\n\t\t\t\t\"title\": \"Teendők\"\n\t\t\t},\n\t\t\t\"retrospective\": {\n\t\t\t\t\"title\": \"Heti visszatekintés\",\n\t\t\t\t\"description\": \"A heti visszatekintés helyet ad a hét eseményeinek feldolgozásához - hogyan ment, mit tanultál, miben lehetnél jobb a következő héten?\",\n\t\t\t\t\"itinerary\": {\n\t\t\t\t\t\"title\": \"Terv\"\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\t\"day\": {\n\t\t\t\"title\": \"Napi Terv\"\n\t\t},\n\t\t\"special-dates\": {\n\t\t\t\"title\": \"Különleges dátumok\",\n\t\t\t\"description\": \"Add hozzá a születésnapjaidat, ünnepeidet, eseményeidet stb. ide, hogy emlékeztetőket kapj róluk a heti áttekintőkben és a napi oldalakon, ahogy közelednek.\",\n\t\t\t\"empty\": \"Nincsenek dátumok\",\n\t\t\t\"placeholder\": \"Mi az alkalom?\",\n\t\t\t\"type\": {\n\t\t\t\t\"event\": \"Esemény\",\n\t\t\t\t\"holiday\": \"Ünnep\"\n\t\t\t},\n\t\t\t\"button\": {\n\t\t\t\t\"item\": \"Dátum hozzáadása\",\n\t\t\t\t\"remove\": \"Eltávolítás\"\n\t\t\t}\n\t\t},\n\t\t\"generation-description\": \"A PDF generálása teljes egészében a böngésződben történik - nincs adat küldve a szervereinkre!\"\n\t},\n\t\"preview\": {\n\t\t\"title\": \"Naptár előnézet\",\n\t\t\"subtitle\": \"(csak az első hónap kerül megjelenítésre az előnézetben)\",\n\t\t\"viewer-title\": \"PDF Előnézet\",\n\t\t\"generating\": {\n\t\t\t\"full\": \"Teljes naptár generálása - ez több mint egy percet is igénybe vehet...\",\n\t\t\t\"preview\": \"Előnézet generálása, kérlek várj - ez eltarthat egy percig.\"\n\t\t},\n\t\t\"empty\": {\n\t\t\t\"title\": \"Használd a konfigurációs űrlapot, hogy létrehozd a saját testreszabott naptáradat.\",\n\t\t\t\"subtitle\": \"Az előnézet itt fog megjelenni.\"\n\t\t}\n\t}\n}\n"
  },
  {
    "path": "src/locales/hu/config.json",
    "content": "{\n\t\"habits\": {\n\t\t\"example1\": \"Edzés\",\n\t\t\"example2\": \"Könyv\",\n\t\t\"example3\": \"Hobbi\",\n\t\t\"example4\": \"Randevú\"\n\t},\n\t\"templates\": {\n\t\t\"advanced\": {\n\t\t\t\"day\": {\n\t\t\t\t\"monday\": \"Extra hétfői jegyzetek hozzáadása\"\n\t\t\t},\n\t\t\t\"retrospective\": {\n\t\t\t\t\"wins\": \"Heti sikerek\",\n\t\t\t\t\"discoveries\": \"Új felfedezések\",\n\t\t\t\t\"fails\": \"Mi nem sikerült jól?\"\n\t\t\t}\n\t\t}\n\t},\n\t\"month\": {\n\t\t\"goal\": \"Fő cél\",\n\t\t\"notes\": \"Jegyzetek\"\n\t},\n\t\"todos\": {\n\t\t\"example1\": \"Utazás tervezése\",\n\t\t\"example2\": \"Valamilyen más teendő\"\n\t},\n\t\"special-dates\": {\n\t\t\"example1\": \"Különleges dátum 1\",\n\t\t\"example2\": \"Különleges dátum 2\",\n\t\t\"example3\": \"Valamilyen más ünnepség\",\n\t\t\"example4\": \"Valami más egyéb ünnepség, ami nagyon hosszú\",\n\t\t\"example5\": \"Adjunk hozzá még egyet\",\n\t\t\"example6\": \"Elfogytak az okok ünnepség\"\n\t}\n}"
  },
  {
    "path": "src/locales/hu/pdf.json",
    "content": "{\n\t\"calendar\": {\n\t\t\"header\": {\n\t\t\t\"week-number\": \"#\",\n\t\t\t\"retrospective\": \"Vi\"\n\t\t},\n\t\t\"body\": {\n\t\t\t\"retrospective\": \"V\"\n\t\t}\n\t},\n\t\"page\": {\n\t\t\"month\": {\n\t\t\t\"habits\": {\n\t\t\t\t\"title\": \"Szokások\"\n\t\t\t}\n\t\t},\n\t\t\"week\": {\n\t\t\t\"title\": \"Hét\"\n\t\t},\n\t\t\"retrospective\": {\n\t\t\t\"title\": \"Heti visszatekintés\"\n\t\t},\n\t\t\"last\": {\n\t\t\t\"title\": \"Generálva a következő weboldalon: <recalendar>https://recalendar.me/</recalendar>\",\n\t\t\t\"subtitle\": \"Ez a PDF fájlt ismételten feltölthető az említett weboldalra, hogy betöltse a létrehozáskor használt konfigurációt, amivel létrehozható egy hasonló dokumentum a következő évre!\"\n\t\t}\n\t}\n}"
  },
  {
    "path": "src/locales/it/app.json",
    "content": "{\n\t\"loading\": \"Caricamento in corso...\",\n\t\"download-ready\": \"Scarica ora!\",\n\t\"navigation\": {\n\t\t\"home\": \"Home\",\n\t\t\"configuration\": \"Crea il tuo calendario\",\n\t\t\"features\": \"Caratteristiche\",\n\t\t\"faq\": \"FAQ\"\n\t},\n\t\"language\": {\n\t\t\"label\": \"Lingua\"\n\t},\n\t\"configuration\": {\n\t\t\"selector\": {\n\t\t\t\"label\": \"Inizia\",\n\t\t\t\"template\": {\n\t\t\t\t\"label\": \"Seleziona un modello:\",\n\t\t\t\t\"basic\": {\n\t\t\t\t\t\"label\": \"Semplice\",\n\t\t\t\t\t\"description\": \"Impostazioni predefinite - un buon punto da cui iniziare.\"\n\t\t\t\t},\n\t\t\t\t\"advanced\": {\n\t\t\t\t\t\"label\": \"Avanzato\",\n\t\t\t\t\t\"description\": \"Espande il modello Semplice aggiungendo la Programmazione Giornaliera.\"\n\t\t\t\t},\n\t\t\t\t\"blank\": {\n\t\t\t\t\t\"label\": \"Vuoto\",\n\t\t\t\t\t\"description\": \"Basato sul modello Semplice, ma con le sezioni Abitudini, Da Fare, Ricorrenze, ecc. vuote\"\n\t\t\t\t},\n\t\t\t\t\"minimalistic\": {\n\t\t\t\t\t\"label\": \"Minimalista\",\n\t\t\t\t\t\"description\": \"Disabilita tutto tranne le Panoramiche Settimanali.\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"upload\": {\n\t\t\t\t\"label\": \"Importare un PDF ReCalendar già generato per utilizzare la sua configurazione:\",\n\t\t\t\t\"loading\": \"Configurazione in corso, attendere prego...\",\n\t\t\t\t\"error\": \"Impossibile importare la configurazione del PDF ReCalendar. Sicuri che il file selezionato è stato generato su questo sito?\",\n\t\t\t\t\"success\": \"Configurazione importata - bentornato!\"\n\t\t\t}\n\t\t},\n\t\t\"general\": {\n\t\t\t\"label\": \"Opzioni generali\",\n\t\t\t\"font\": \"Tipo Carattere\",\n\t\t\t\"year\": \"Anno\",\n\t\t\t\"left-handed\": {\n\t\t\t\t\"label\": \"Versione per mancini\",\n\t\t\t\t\"description\": \"Ottimizza il layout per l'uso con la mano sinistra.\"\n\t\t\t},\n\t\t\t\"sidebar\": {\n\t\t\t\t\"label\": \"Lascia uno spazio permanente per la barra degli strumenti laterale\",\n\t\t\t\t\"description\": \"Se si preferisce lasciare sempre aperta la barra degli strumenti laterale, selezionare questa opzione per assicurarsi che il contenuto del calendario non ne sia mai coperto.\"\n\t\t\t},\n\t\t\t\"starting-month\": {\n\t\t\t\t\"label\": \"Mese di partenza\",\n\t\t\t\t\"description\": \"Il primo mese del calendario generato. Ad esempio, scegliendo luglio si può creare un calendario che copra un semestre piuttosto che un anno.\"\n\t\t\t},\n\t\t\t\"month-count\": {\n\t\t\t\t\"label\": \"Numero di mesi\",\n\t\t\t\t\"description\": \"Quanti mesi volete generare nel vostro calendario?\"\n\t\t\t},\n\t\t\t\"first-day-of-week\": \"Primo giorno della settimana\",\n\t\t\t\"weekend\": \"Fine-settimana\"\n\t\t},\n\t\t\"button\": {\n\t\t\t\"refresh\": \"Aggiornare l'anteprima\",\n\t\t\t\"download\": \"Generare il calendario completo e scaricare\",\n\t\t\t\"generating\": \"Generazione del file PDF in corso, attendere prego...\"\n\t\t},\n\t\t\"itinerary\": {\n\t\t\t\"empty\": \"Programmazione vuota\",\n\t\t\t\"placeholder\": {\n\t\t\t\t\"lines\": \"Numero di linee\",\n\t\t\t\t\"page\": \"Nuova interruzione di pagina\"\n\t\t\t},\n\t\t\t\"button\": {\n\t\t\t\t\"copy\": \"Copiare questa programmazione a tutti gli altri giorni\",\n\t\t\t\t\"remove\": \"Rimuovere\",\n\t\t\t\t\"item\": \"Aggiungere un elemento\",\n\t\t\t\t\"page\": \"Aprire una nuova pagina\",\n\t\t\t\t\"lines\": \"Aggiungere una linea\"\n\t\t\t}\n\t\t},\n\t\t\"items-list\": {\n\t\t\t\"button\": {\n\t\t\t\t\"item\": \"Aggiungere un elemento\",\n\t\t\t\t\"remove\": \"Rimuovere\"\n\t\t\t},\n\t\t\t\"empty\": \"Lista vuota\",\n\t\t\t\"placeholder\": \"Elemento\"\n\t\t},\n\t\t\"toggle-form\": {\n\t\t\t\"enabled\": \"Abilitato\",\n\t\t\t\"disabled\": \"Disabilitato\"\n\t\t},\n\t\t\"month\": {\n\t\t\t\"title\": \"Panoramica Mensile\",\n\t\t\t\"description\": \"La panoramica Mensile è un luogo in cui fissare obiettivi per il prossimo mese, tenere traccia delle abitudini e pianificare le attività.\",\n\t\t\t\"habits\": {\n\t\t\t\t\"title\": \"Abitudini\"\n\t\t\t},\n\t\t\t\"itinerary\": {\n\t\t\t\t\"title\": \"Pianificazione\"\n\t\t\t}\n\t\t},\n\t\t\"week\": {\n\t\t\t\"title\": \"Panoramica Settimanale\",\n\t\t\t\"description\": \"La Panoramica Settimanale consente di semplificare la pianificazione delle attività settimanali.\",\n\t\t\t\"todos\": {\n\t\t\t\t\"title\": \"Liste di cose da fare\"\n\t\t\t},\n\t\t\t\"retrospective\": {\n\t\t\t\t\"title\": \"Retrospettiva della Settimana\",\n\t\t\t\t\"description\": \"La Retrospettiva della Settimana è un luogo in cui fare un passo indietro rispetto alla settimana appena trascorsa: com'è andata, cosa si è imparato, cosa si può fare per migliorare la prossima settimana?\",\n\t\t\t\t\"itinerary\": {\n\t\t\t\t\t\"title\": \"Pianificazione\"\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\t\"day\": {\n\t\t\t\"title\": \"Programma Giornaliero\"\n\t\t},\n\t\t\"special-dates\": {\n\t\t\t\"title\": \"Ricorrenze\",\n\t\t\t\"description\": \"Aggiungendo compleanni, celebrazioni, eventi, ecc. è possibile ricevere il promemoria di queste date nella panoramica settimanale e nelle pagine giornaliere.\",\n\t\t\t\"empty\": \"Nessuna data\",\n\t\t\t\"placeholder\": \"Per quale ricorrenza?\",\n\t\t\t\"button\": {\n\t\t\t\t\"item\": \"Aggiungere una data\",\n\t\t\t\t\"remove\": \"Rimuovere\"\n\t\t\t}\n\t\t},\n\t\t\"generation-description\": \"La generazione del PDF è fatta interamente nel browser locale: nessun dato è inviato a server esterni!\"\n\t},\n\t\"preview\": {\n\t\t\"title\": \"Anteprima del Calendario\",\n\t\t\"subtitle\": \"(solo il primo mese è mostrato nell'anteprima)\",\n\t\t\"viewer-title\": \"Anteprima del PDF\",\n\t\t\"generating\": {\n\t\t\t\"full\": \"Generazione del calendario completo in corso - l'operazione potrebbe richiedere più di un minuto...\",\n\t\t\t\"preview\": \"Generazione dell'anteprima in corso, attendi: l'operazione potrebbe richiedere circa un minuto.\"\n\t\t},\n\t\t\"empty\": {\n\t\t\t\"title\": \"Utilizzare il form di configurazione per personalizzare il calendario.\",\n\t\t\t\"subtitle\": \"L'anteprima apparirà qui.\"\n\t\t}\n\t}\n}\n"
  },
  {
    "path": "src/locales/it/config.json",
    "content": "{\n\t\"habits\": {\n\t\t\"example1\": \"Esercizio\",\n\t\t\"example2\": \"Libro\",\n\t\t\"example3\": \"Hobby\",\n\t\t\"example4\": \"Appuntamento\"\n\t},\n\t\"templates\": {\n\t\t\"advanced\": {\n\t\t\t\"day\": {\n\t\t\t\t\"monday\": \"Pagina aggiuntiva del lunedì per le note extra\"\n\t\t\t},\n\t\t\t\"retrospective\": {\n\t\t\t\t\"wins\": \"Risultati della settimana\",\n\t\t\t\t\"discoveries\": \"Nuove Scoperte\",\n\t\t\t\t\"fails\": \"Cosa non è andato bene?\"\n\t\t\t}\n\t\t}\n\t},\n\t\"month\": {\n\t\t\"goal\": \"Obiettivi Principali\",\n\t\t\"notes\": \"Note\"\n\t},\n\t\"todos\": {\n\t\t\"example1\": \"Pianificare un viaggio\",\n\t\t\"example2\": \"Altre cose da fare\"\n\t},\n\t\"special-dates\": {\n\t\t\"example1\": \"Ricorrenza #1\",\n\t\t\"example2\": \"Ricorrenza #2\",\n\t\t\"example3\": \"Altra celebrazione\",\n\t\t\"example4\": \"Altra celebrazione che è molto lunga\",\n\t\t\"example5\": \"Varie\",\n\t\t\"example6\": \"Esauriti i motivi per una celebrazione\"\n\t}\n}\n"
  },
  {
    "path": "src/locales/it/pdf.json",
    "content": "{\n\t\"calendar\": {\n\t\t\"header\": {\n\t\t\t\"week-number\": \"S#\",\n\t\t\t\"retrospective\": \"Re\"\n\t\t},\n\t\t\"body\": {\n\t\t\t\"retrospective\": \"R\"\n\t\t}\n\t},\n\t\"page\": {\n\t\t\"month\": {\n\t\t\t\"habits\": {\n\t\t\t\t\"title\": \"Abitudini\"\n\t\t\t}\n\t\t},\n\t\t\"week\": {\n\t\t\t\"title\": \"Settimana\"\n\t\t},\n\t\t\"retrospective\": {\n\t\t\t\"title\": \"Retrospettiva della settimana\"\n\t\t},\n\t\t\"last\": {\n\t\t\t\"title\": \"Generato utilizzando <recalendar>https://recalendar.me/</recalendar>\",\n\t\t\t\"subtitle\": \"E' possibile caricare nuovamente questo file PDF per utilizzare la stessa configurazione per generare rapidamente un calendario simile il prossimo anno!\"\n\t\t}\n\t}\n}\n"
  },
  {
    "path": "src/locales/nb/app.json",
    "content": "{\n\t\"loading\": \"Laster...\",\n\t\"download-ready\": \"Last ned nå!\",\n\t\"navigation\": {\n\t\t\"home\": \"Hjem\",\n\t\t\"configuration\": \"Lag din kalender\",\n\t\t\"features\": \"Funksjoner\",\n\t\t\"faq\": \"FAQ\"\n\t},\n\t\"language\": {\n\t\t\"label\": \"Språk\"\n\t},\n\t\"configuration\": {\n\t\t\"selector\": {\n\t\t\t\"label\": \"Start\",\n\t\t\t\"template\": {\n\t\t\t\t\"label\": \"Start ved å velge en mal:\",\n\t\t\t\t\"basic\": \"Grunnleggende\",\n\t\t\t\t\"advanced\": \"Avansert\",\n\t\t\t\t\"blank\": \"Tom\",\n\t\t\t\t\"minimalistic\": \"Minimalistisk\"\n\t\t\t},\n\t\t\t\"upload\": {\n\t\t\t\t\"label\": \"Eller last opp en tidligere generert ReCalendar PDF for å bruke lik konfigurasjon:\",\n\t\t\t\t\"loading\": \"Leser konfigurasjon fra PDF-fil, vennligst vent...\",\n\t\t\t\t\"error\": \"Klarte ikke laste ReCalendar konfigurasjon fra denne PDFen - er du sikker på om den ble generert med denne nettsiden?\",\n\t\t\t\t\"success\": \"Konfigurasjon lastet fra PDF - velkommen tilbake!\"\n\t\t\t}\n\t\t},\n\t\t\"general\": {\n\t\t\t\"label\": \"Generelle innstillinger\",\n\t\t\t\"year\": \"År\",\n\t\t\t\"starting-month\": {\n\t\t\t\t\"label\": \"Startmåned\",\n\t\t\t\t\"description\": \"Den første måneden i den genererte kalenderen. Velg for eksempel August om du vil dekke et semester, istedet for et kalenderår.\"\n\t\t\t},\n\t\t\t\"month-count\": {\n\t\t\t\t\"label\": \"Antall måneder\",\n\t\t\t\t\"description\": \"For hvor mange måneder skal kalenderen genereres for.\"\n\t\t\t},\n\t\t\t\"first-day-of-week\": \"Første dag i uka\",\n\t\t\t\"weekend\": \"Helg\"\n\t\t},\n\t\t\"button\": {\n\t\t\t\"refresh\": \"Oppdater forhåndsvisning\",\n\t\t\t\"download\": \"Generer full kalender og last ned\",\n\t\t\t\"generating\": \"Genererer, vennligst vent...\"\n\t\t},\n\t\t\"itinerary\": {\n\t\t\t\"empty\": \"Ingen avtaler\",\n\t\t\t\"placeholder\": {\n\t\t\t\t\"lines\": \"Antall linjer\",\n\t\t\t\t\"page\": \"Nytt sideskift\"\n\t\t\t},\n\t\t\t\"button\": {\n\t\t\t\t\"copy\": \"Kopier disse avtalene til alle andre dager\",\n\t\t\t\t\"remove\": \"Fjern\",\n\t\t\t\t\"item\": \"Legg til avtale\",\n\t\t\t\t\"page\": \"Start en ny side\",\n\t\t\t\t\"lines\": \"Legg til tomme linjer\"\n\t\t\t}\n\t\t},\n\t\t\"items-list\": {\n\t\t\t\"button\": {\n\t\t\t\t\"item\": \"Legg til element\",\n\t\t\t\t\"remove\": \"Fjern\"\n\t\t\t},\n\t\t\t\"empty\": \"Tom liste\",\n\t\t\t\"placeholder\": \"Element\"\n\t\t},\n\t\t\"toggle-form\": {\n\t\t\t\"enabled\": \"Aktivert\",\n\t\t\t\"disabled\": \"Ikke aktivert\"\n\t\t},\n\t\t\"month\": {\n\t\t\t\"title\": \"Månedsoversikt\",\n\t\t\t\"description\": \"Månedsoversikten er et sted for å sette mål for den kommende måneden, spore vaner og lage andre planer.\",\n\t\t\t\"habits\": {\n\t\t\t\t\"title\": \"Vaner\"\n\t\t\t},\n\t\t\t\"itinerary\": {\n\t\t\t\t\"title\": \"Avtaler\"\n\t\t\t}\n\t\t},\n\t\t\"week\": {\n\t\t\t\"title\": \"Ukeoversikt\",\n\t\t\t\"description\": \"Ukeoverisktengir deg en overiskt over uka for å lettere lage planer.\",\n\t\t\t\"todos\": {\n\t\t\t\t\"title\": \"TODOs\"\n\t\t\t},\n\t\t\t\"retrospective\": {\n\t\t\t\t\"title\": \"Forrige uke\",\n\t\t\t\t\"description\": \"Forrige uke er et sted for å reflektere over den foregående uka - hvordan det gikk, hva du lærte, hva kan gjøres bedre neste uke?\",\n\t\t\t\t\"itinerary\": {\n\t\t\t\t\t\"title\": \"Avtaler\"\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\t\"day\": {\n\t\t\t\"title\": \"Daglige avtaler\"\n\t\t},\n\t\t\"special-dates\": {\n\t\t\t\"title\": \"Spesielle datoer\",\n\t\t\t\"description\": \"Legg til bursdager, feiringer, arrangementer, m.m. her for å få påminnelser om dem i ukesoversikter og dagsoversikter når de nærmer seg.\",\n\t\t\t\"empty\": \"Ingen datoer\",\n\t\t\t\"placeholder\": \"Hva er anledningen?\",\n\t\t\t\"button\": {\n\t\t\t\t\"item\": \"Legg til dato\",\n\t\t\t\t\"remove\": \"Fjern\"\n\t\t\t}\n\t\t},\n\t\t\"generation-description\": \"PDF generering er gjort i sin helhet gjort i netteleseren - ingen data sendes til våre servere!\"\n\t},\n\t\"preview\": {\n\t\t\"title\": \"Kalenderforhåndsvisning\",\n\t\t\"subtitle\": \"(kun den første måneden genereres i forhåndsvisningen)\",\n\t\t\"viewer-title\": \"PDF Forhåndsvisning\",\n\t\t\"generating\": {\n\t\t\t\"full\": \"Genererer full kalender - dette kan ta mer enn et minutt...\",\n\t\t\t\"preview\": \"Geneerer forhåndsvisning, vennlist vent - det kan ta litt tid.\"\n\t\t},\n\t\t\"empty\": {\n\t\t\t\"title\": \"Bruk konfigureringsskjema for å lage din personlige kalender.\",\n\t\t\t\"subtitle\": \"Forhåndsvisningen vil vises her.\"\n\t\t}\n\t}\n}\n"
  },
  {
    "path": "src/locales/nb/config.json",
    "content": "{\n\t\"habits\": {\n\t\t\"example1\": \"Trening\",\n\t\t\"example2\": \"Bok\",\n\t\t\"example3\": \"Hobby\",\n\t\t\"example4\": \"Stevnemøte\"\n\t}\n}\n"
  },
  {
    "path": "src/locales/nb/pdf.json",
    "content": "{\n\t\"calendar\": {\n\t\t\"header\": {\n\t\t\t\"week-number\": \"Uke#\",\n\t\t\t\"retrospective\": \"FU\"\n\t\t},\n\t\t\"body\": {\n\t\t\t\"retrospective\": \"F\"\n\t\t}\n\t},\n\t\"page\": {\n\t\t\"month\": {\n\t\t\t\"habits\": {\n\t\t\t\t\"title\": \"Vaner\"\n\t\t\t}\n\t\t},\n\t\t\"week\": {\n\t\t\t\"title\": \"Uke\"\n\t\t},\n\t\t\"retrospective\": {\n\t\t\t\"title\": \"Forrige uke for uke\"\n\t\t},\n\t\t\"last\": {\n\t\t\t\"title\": \"Generert av <recalendar>https://recalendar.me/</recalendar>\",\n\t\t\t\"subtitle\": \"Du kan laste opp denne PDFen der for å bruke samme konfigurasjon som ble brukt for å generere denne og raskt lage en lignenede en for det nye året!\"\n\t\t}\n\t}\n}\n"
  },
  {
    "path": "src/locales/nl/app.json",
    "content": "{\n\t\"loading\": \"Laden...\",\n\t\"download-ready\": \"Nu downloaden!\",\n\t\"navigation\": {\n\t\t\"home\": \"Start\",\n\t\t\"configuration\": \"Maak je eigen agenda\",\n\t\t\"features\": \"Functies\",\n\t\t\"faq\": \"Vraag en antwoord\"\n\t},\n\t\"language\": {\n\t\t\"label\": \"Taal\"\n\t},\n\t\"configuration\": {\n\t\t\"selector\": {\n\t\t\t\"label\": \"Begin\",\n\t\t\t\"template\": {\n\t\t\t\t\"label\": \"Kies eerst een sjabloon om te beginnen:\",\n\t\t\t\t\"basic\": {\n\t\t\t\t\t\"label\": \"Eenvoudig\",\n\t\t\t\t\t\"description\": \"Standaardsjabloon — een goed beginpunt.\"\n\t\t\t\t},\n\t\t\t\t\"advanced\": {\n\t\t\t\t\t\"label\": \"Uitgebreid\",\n\t\t\t\t\t\"description\": \"Breidt het eenvoudige sjabloon uit met dagplanningen.\"\n\t\t\t\t},\n\t\t\t\t\"blank\": {\n\t\t\t\t\t\"label\": \"Eenvoudig (leeg)\",\n\t\t\t\t\t\"description\": \"Gebaseerd op het eenvoudige sjabloon, maar met lege gewoontes, taken en speciala dagen.\"\n\t\t\t\t},\n\t\t\t\t\"minimalistic\": {\n\t\t\t\t\t\"label\": \"Minimalistisch\",\n\t\t\t\t\t\"description\": \"Schakelt allles uit, op weekoverzichten na\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"upload\": {\n\t\t\t\t\"label\": \"Of laad een eerder gemaakte ReCalendar PDF in om de instellingen opnieuw te gebruiken:\",\n\t\t\t\t\"loading\": \"Insellingen van het PDF-bestand aan het lezen, een ogenblikje...\",\n\t\t\t\t\"error\": \"Het lukte niet om de ReCalendar-instellingen te lezen van dit PDF-bestand — weet je zeker dat het bestand met deze website gemaakt is?\",\n\t\t\t\t\"success\": \"Instellingen gelezen van het PDF-bestand — welkom terug!\"\n\t\t\t}\n\t\t},\n\t\t\"general\": {\n\t\t\t\"label\": \"Algemene instellingen\",\n\t\t\t\"font\": \"Lettertype\",\n\t\t\t\"year\": \"Jaar\",\n\t\t\t\"left-handed\": {\n\t\t\t\t\"label\": \"Linkshandige versie\",\n\t\t\t\t\"description\": \"Maakt de indeling beter geschikt voor linkshandig gebruik.\"\n\t\t\t},\n\t\t\t\"sidebar\": {\n\t\t\t\t\"label\": \"Laat plek vrij voor de werkbalk aan de zijkant\",\n\t\t\t\t\"description\": \"Als je de werkbalk aan de zijkant altijd open laat, vink dan deze optie aan om er voor te zorgen dat de werkbalk aan de zijkant nooit de inhoud van de agenda bedekt.\"\n\t\t\t},\n\t\t\t\"starting-month\": {\n\t\t\t\t\"label\": \"Beginmaand\",\n\t\t\t\t\"description\": \"De eerste maand van de agenda. Als je een agenda wilt maken voor een collegejaar in plaats van een kalenderjaar, kun je bijvoorbeeld september kiezen.\"\n\t\t\t},\n\t\t\t\"month-count\": {\n\t\t\t\t\"label\": \"Aantal maanden\",\n\t\t\t\t\"description\": \"Hoeveel maanden moet de agenda bevatten?\"\n\t\t\t},\n\t\t\t\"first-day-of-week\": \"Begin van de week\",\n\t\t\t\"weekend\": \"Weekeinde\"\n\t\t},\n\t\t\"button\": {\n\t\t\t\"refresh\": \"Maak voorbeeld opnieuw aan\",\n\t\t\t\"download\": \"Maak volledige agenda aan en download\",\n\t\t\t\"generating\": \"Aanmaken, een ogenblikje...\"\n\t\t},\n\t\t\"itinerary\": {\n\t\t\t\"empty\": \"Lege dagplanning\",\n\t\t\t\"placeholder\": {\n\t\t\t\t\"lines\": \"Aantal regels\",\n\t\t\t\t\"page\": \"Einde van bladzijde\"\n\t\t\t},\n\t\t\t\"button\": {\n\t\t\t\t\"copy\": \"Kopiëer deze dagplanning naar andere dagen\",\n\t\t\t\t\"remove\": \"Verwijderen\",\n\t\t\t\t\"item\": \"Voeg zaak toe aan dagplanning\",\n\t\t\t\t\"page\": \"Voeg nieuw bladzijde toe\",\n\t\t\t\t\"lines\": \"Voeg lege regels toe\"\n\t\t\t}\n\t\t},\n\t\t\"items-list\": {\n\t\t\t\"button\": {\n\t\t\t\t\"item\": \"Voeg zaak toe\",\n\t\t\t\t\"remove\": \"Verwijderen\"\n\t\t\t},\n\t\t\t\"empty\": \"Lege lijst\",\n\t\t\t\"placeholder\": \"Zaak\"\n\t\t},\n\t\t\"toggle-form\": {\n\t\t\t\"enabled\": \"Aan\",\n\t\t\t\"disabled\": \"Uit\"\n\t\t},\n\t\t\"month\": {\n\t\t\t\"title\": \"Maandoverzicht\",\n\t\t\t\"description\": \"Het maandoverzicht is de plek om maanddoelen te stellen, gewoontes bij te houden en andere plannen te maken.\",\n\t\t\t\"habits\": {\n\t\t\t\t\"title\": \"Gewoontes\"\n\t\t\t},\n\t\t\t\"itinerary\": {\n\t\t\t\t\"title\": \"Maandplanning\"\n\t\t\t}\n\t\t},\n\t\t\"week\": {\n\t\t\t\"title\": \"Weekoverzicht\",\n\t\t\t\"description\": \"Het weekoverzicht geeft je een wijde blik op de week om gemakkelijker plannen te maken\",\n\t\t\t\"todos\": {\n\t\t\t\t\"title\": \"Taken\"\n\t\t\t},\n\t\t\t\"retrospective\": {\n\t\t\t\t\"title\": \"Weekterugblik\",\n\t\t\t\t\"description\": \"Het weekterugblik is een plek om terug te kijken op de afgelopen week — hoe het gelopen is, wat je geleerd hebt en wat je de volgende week beter kunt doen.\",\n\t\t\t\t\"itinerary\": {\n\t\t\t\t\t\"title\": \"Weekplanning\"\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\t\"day\": {\n\t\t\t\"title\": \"Dagplanning\"\n\t\t},\n\t\t\"special-dates\": {\n\t\t\t\"title\": \"Speciale dagen\",\n\t\t\t\"description\": \"Voeg verjaardagen, vieringen, gebeurtenissen en dergelijke toe om herinneringen te krijgen in het weekoverzicht en dagplanningen.\",\n\t\t\t\"empty\": \"No dates\",\n\t\t\t\"placeholder\": \"Wat is de gebeurtenis?\",\n\t\t\t\"type\": {\n\t\t\t\t\"event\": \"Gebeurtenis\",\n\t\t\t\t\"holiday\": \"Feestdag\"\n\t\t\t},\n\t\t\t\"button\": {\n\t\t\t\t\"item\": \"Voeg dag toe\",\n\t\t\t\t\"remove\": \"Verwijderen\"\n\t\t\t}\n\t\t},\n\t\t\"generation-description\": \"Het aanmaken van het PDF-bestand wordt geheel in uw webbrowser gedaan. Er worden geen gegevens gestuurd naar onze servers!\"\n\t},\n\t\"preview\": {\n\t\t\"title\": \"Agendavoorbeeld\",\n\t\t\"subtitle\": \"(enkel de eerste maand wordt aangemaakt voor het voorbeeld)\",\n\t\t\"viewer-title\": \"PDF-voorbeeld\",\n\t\t\"generating\": {\n\t\t\t\"full\": \"Gehele agenda aanmaken… — dit kan een tijdje duren...\",\n\t\t\t\"preview\": \"Voorbeeld aanmaken… - dit kan eventjes duren.\"\n\t\t},\n\t\t\"empty\": {\n\t\t\t\"title\": \"Gebruik het instellingenpaneel om je gepersonaliseerde agenda te maken.\",\n\t\t\t\"subtitle\": \"Het voorbeeld verschijnt hier.\"\n\t\t}\n\t}\n}\n"
  },
  {
    "path": "src/locales/nl/config.json",
    "content": "{\n\t\"habits\": {\n\t\t\"example1\": \"Sporten\",\n\t\t\"example2\": \"Lezen\",\n\t\t\"example3\": \"Hobbyen\",\n\t\t\"example4\": \"Avond uit\"\n\t},\n\t\"templates\": {\n\t\t\"advanced\": {\n\t\t\t\"day\": {\n\t\t\t\t\"monday\": \"Extra bladzijde voor nog meer aantekeningen van maandag\"\n\t\t\t},\n\t\t\t\"retrospective\": {\n\t\t\t\t\"wins\": \"Overwinningen\",\n\t\t\t\t\"discoveries\": \"Nieuwe ontdekkingen\",\n\t\t\t\t\"fails\": \"Tegenslagen\"\n\t\t\t}\n\t\t}\n\t},\n\t\"month\": {\n\t\t\"goal\": \"Hoofddoel\",\n\t\t\"notes\": \"Aantekeningen\"\n\t},\n\t\"todos\": {\n\t\t\"example1\": \"Plan een reis\",\n\t\t\"example2\": \"Een ander taakje\"\n\t},\n\t\"special-dates\": {\n\t\t\"example1\": \"Speciale dag 1\",\n\t\t\"example2\": \"Speciale dag om reden #2\",\n\t\t\"example3\": \"Een andere viering\",\n\t\t\"example4\": \"Nog een andere viering die heel erg lang is\",\n\t\t\"example5\": \"Waarom voegen er niet nog eentje toe?\",\n\t\t\"example6\": \"Ik heb niets meer te vieren\"\n\t}\n}\n"
  },
  {
    "path": "src/locales/nl/pdf.json",
    "content": "{\n\t\"calendar\": {\n\t\t\"header\": {\n\t\t\t\"week-number\": \"W#\",\n\t\t\t\"retrospective\": \"Tb\"\n\t\t},\n\t\t\"body\": {\n\t\t\t\"retrospective\": \"T\"\n\t\t}\n\t},\n\t\"page\": {\n\t\t\"month\": {\n\t\t\t\"habits\": {\n\t\t\t\t\"title\": \"Gewoontes\"\n\t\t\t}\n\t\t},\n\t\t\"week\": {\n\t\t\t\"title\": \"Week\"\n\t\t},\n\t\t\"retrospective\": {\n\t\t\t\"title\": \"Terugblik op week\"\n\t\t},\n\t\t\"last\": {\n\t\t\t\"title\": \"Gemaakt met <recalendar>https://recalendar.me/</recalendar>\",\n\t\t\t\"subtitle\": \"Je kunt deze PDF hier opnieuw uploaden om de instellingen van dit bestand in te laden en snel een vergelijkbare agenda voor volgend jaar te maken!\"\n\t\t}\n\t}\n}\n"
  },
  {
    "path": "src/locales/pl/app.json",
    "content": "{\n\t\"loading\": \"Generowanie...\",\n\t\"download-ready\": \"Pobierz teraz!\",\n\t\"navigation\": {\n\t\t\"home\": \"Strona główna\",\n\t\t\"configuration\": \"Stwórz swój kalendarz\",\n\t\t\"features\": \"Funkcje\",\n\t\t\"faq\": \"Pytania i odpowiedzi\"\n\t},\n\t\"language\": {\n\t\t\"label\": \"Język\"\n\t},\n\t\"configuration\": {\n\t\t\"selector\": {\n\t\t\t\"label\": \"Początek\",\n\t\t\t\"template\": {\n\t\t\t\t\"label\": \"Rozpocznij, wybierając jeden z przykładowych szablonów:\",\n\t\t\t\t\"basic\": {\n\t\t\t\t\t\"label\": \"Podstawowy\",\n\t\t\t\t\t\"description\": \"Domyślne ustawienia - dobry punkt początkowy.\"\n\t\t\t\t},\n\t\t\t\t\"advanced\": {\n\t\t\t\t\t\"label\": \"Zaawansowany\",\n\t\t\t\t\t\"description\": \"Bazuje na szablonie Podstawowym - dodaje rozbudowane plany dnia.\"\n\t\t\t\t},\n\t\t\t\t\"blank\": {\n\t\t\t\t\t\"label\": \"Pusty\",\n\t\t\t\t\t\"description\": \"Bazuje na szablonie Podstawowym, ale ustawia puste dni specjalne, TODO, plany, itd.\"\n\t\t\t\t},\n\t\t\t\t\"minimalistic\": {\n\t\t\t\t\t\"label\": \"Minimalistyczny\",\n\t\t\t\t\t\"description\": \"Wyłącza wszystko oprócz przeglądu tygodnia.\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"upload\": {\n\t\t\t\t\"label\": \"Albo załaduj wcześniej wygenerowany ReCalendar PDF i użyj jego konfiguracji:\",\n\t\t\t\t\"loading\": \"Wczytywanie konfiguracji z pliku PDF, proszę czekać...\",\n\t\t\t\t\"error\": \"Nie udało się wczytać konfiguracji z tego pliku PDF - czy na pewno został wygenerowany korzystając z tej strony?\",\n\t\t\t\t\"success\": \"Konfiguracja wczytana z pliku PDF - witamy ponownie!\"\n\t\t\t}\n\t\t},\n\t\t\"general\": {\n\t\t\t\"label\": \"Ogólne opcje\",\n\t\t\t\"device\": \"Urządzenie\",\n\t\t\t\"dpi\": \"DPI\",\n\t\t\t\"resolution\": \"Rozdzielczość\",\n\t\t\t\"font\": \"Czcionka\",\n\t\t\t\"year\": \"Rok\",\n\t\t\t\"left-handed\": {\n\t\t\t\t\"label\": \"Wersja leworęczna\",\n\t\t\t\t\"description\": \"Optymalizuje układ strony dla osób leworęcznych.\"\n\t\t\t},\n\t\t\t\"sidebar\": {\n\t\t\t\t\"label\": \"Pozostaw odstęp dla panelu pobocznego\",\n\t\t\t\t\"description\": \"Jeśli preferujesz mieć przybornik narzędzi zawsze widoczny, ta opcja pozostawi odstęp dla niego. Dzięki temu kalendarz nigdy nie będzie przez niego zakryty.\"\n\t\t\t},\n\t\t\t\"starting-month\": {\n\t\t\t\t\"label\": \"Miesiąc początkowy\",\n\t\t\t\t\"description\": \"Pierwszy miesiąc w kalendarzu. Wybierz na przykład październik, jeśli kalendarz ma być na cały semestr, a nie rok kalendarzowy.\"\n\t\t\t},\n\t\t\t\"month-count\": {\n\t\t\t\t\"label\": \"Liczba miesięcy\",\n\t\t\t\t\"description\": \"Ile miesięcy ma zawierać kalendarz.\"\n\t\t\t},\n\t\t\t\"first-day-of-week\": \"Pierwszy dzień tygodnia\",\n\t\t\t\"weekend\": \"Weekend\"\n\t\t},\n\t\t\"button\": {\n\t\t\t\"refresh\": \"Odśwież podgląd\",\n\t\t\t\"download\": \"Wygeneruj pełny kalendarz i pobierz\",\n\t\t\t\"generating\": \"Generowanie, proszę czekać...\"\n\t\t},\n\t\t\"itinerary\": {\n\t\t\t\"empty\": \"Pusty plan\",\n\t\t\t\"placeholder\": {\n\t\t\t\t\"lines\": \"Liczba linii\",\n\t\t\t\t\"page\": \"Rozpocznij nową stronę\"\n\t\t\t},\n\t\t\t\"button\": {\n\t\t\t\t\"copy\": \"Powiel ten plan na wszystkie inne dni\",\n\t\t\t\t\"remove\": \"Usuń\",\n\t\t\t\t\"item\": \"Dodaj nową pozycję\",\n\t\t\t\t\"page\": \"Rozpocznij nową stronę\",\n\t\t\t\t\"lines\": \"Dodaj puste linie\"\n\t\t\t}\n\t\t},\n\t\t\"items-list\": {\n\t\t\t\"button\": {\n\t\t\t\t\"item\": \"Dodaj pozycję\",\n\t\t\t\t\"remove\": \"Usuń\"\n\t\t\t},\n\t\t\t\"empty\": \"Pusta lista\",\n\t\t\t\"placeholder\": \"Pozycja\"\n\t\t},\n\t\t\"toggle-form\": {\n\t\t\t\"enabled\": \"Włączony\",\n\t\t\t\"disabled\": \"Wyłączony\"\n\t\t},\n\t\t\"month\": {\n\t\t\t\"title\": \"Przegląd miesiąca\",\n\t\t\t\"description\": \"Przegląd miesiąca pozwala ustalić cele na nadchodzący miesiąc, śledzić nawyki i sporządzić inne plany.\",\n\t\t\t\"habits\": {\n\t\t\t\t\"title\": \"Nawyki\"\n\t\t\t},\n\t\t\t\"itinerary\": {\n\t\t\t\t\"title\": \"Plan\"\n\t\t\t}\n\t\t},\n\t\t\"week\": {\n\t\t\t\"title\": \"Przegląd tygodnia\",\n\t\t\t\"description\": \"Przegląd tygodnia pokazuje podgląd nadchodzących dni, aby ułatwić rozplanowanie tygodnia.\",\n\t\t\t\"todos\": {\n\t\t\t\t\"title\": \"Do zrobienia\"\n\t\t\t},\n\t\t\t\"retrospective\": {\n\t\t\t\t\"title\": \"Podsumowanie tygodnia\",\n\t\t\t\t\"description\": \"Podsumowanie tygodnia to miejsce na refleksję nad minionym tygodniem - co poszło dobrze, nad czym trzeba popracować.\",\n\t\t\t\t\"itinerary\": {\n\t\t\t\t\t\"title\": \"Plan\"\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\t\"day\": {\n\t\t\t\"title\": \"Plany dnia\"\n\t\t},\n\t\t\"special-dates\": {\n\t\t\t\"title\": \"Specjalne daty\",\n\t\t\t\"description\": \"Tutaj możesz dodać urodziny, imieniny, uroczystości, święta i tym podobne. Zostaną one automatycznie umieszczone w kalendarzu tak żeby o nich nie zapomnieć.\",\n\t\t\t\"empty\": \"Brak dat\",\n\t\t\t\"placeholder\": \"Jaka okazja?\",\n\t\t\t\"type\": {\n\t\t\t\t\"event\": \"Wydarzenie\",\n\t\t\t\t\"holiday\": \"Święto\"\n\t\t\t},\n\t\t\t\"button\": {\n\t\t\t\t\"item\": \"Dodaj datę\",\n\t\t\t\t\"remove\": \"Usuń\"\n\t\t\t}\n\t\t},\n\t\t\"generation-description\": \"Generacja pliku PDF jest wykonywana w pełni w Twojej przeglądarce - żadne dane nie są przesyłane do naszych serwerów!\"\n\t},\n\t\"preview\": {\n\t\t\"title\": \"Podgląd kalendarza\",\n\t\t\"subtitle\": \"(tylko pierwszy miesiąc jest widoczny na podglądzie)\",\n\t\t\"viewer-title\": \"Podgląd PDF\",\n\t\t\"generating\": {\n\t\t\t\"full\": \"Generowanie pełnego kalendarza - może to zająć ponad minutę...\",\n\t\t\t\"preview\": \"Generowanie podglądu, proszę czekać...\"\n\t\t},\n\t\t\"empty\": {\n\t\t\t\"title\": \"Użyj konfiguratora, aby stworzyć swój spersonalizowany kalendarz.\",\n\t\t\t\"subtitle\": \"Tutaj zostanie wyświetlony podgląd.\"\n\t\t}\n\t}\n}\n"
  },
  {
    "path": "src/locales/pl/config.json",
    "content": "{\n\t\"habits\": {\n\t\t\"example1\": \"Ćwiczenia\",\n\t\t\"example2\": \"Książka\",\n\t\t\"example3\": \"Hobby\",\n\t\t\"example4\": \"Randka\"\n\t},\n\t\"templates\": {\n\t\t\"advanced\": {\n\t\t\t\"day\": {\n\t\t\t\t\"monday\": \"Dodatkowa strona na poniedziałkowe notatki\"\n\t\t\t},\n\t\t\t\"retrospective\": {\n\t\t\t\t\"wins\": \"Co poszło dobrze?\",\n\t\t\t\t\"discoveries\": \"Nowe odkrycia\",\n\t\t\t\t\"fails\": \"Co poszło źle?\"\n\t\t\t}\n\t\t}\n\t},\n\t\"month\": {\n\t\t\"goal\": \"Główny cel\",\n\t\t\"notes\": \"Notatki\"\n\t},\n\t\"todos\": {\n\t\t\"example1\": \"Zaplanować wyjazd\",\n\t\t\"example2\": \"Coś innego do zrobienia\"\n\t},\n\t\"special-dates\": {\n\t\t\"example1\": \"Urodziny Jana Kowalskiego\",\n\t\t\"example2\": \"Powód #2 do świętowania tego samego dnia\",\n\t\t\"example3\": \"Coś innego do świętowania\",\n\t\t\"example4\": \"Powód do świętowania, który jest długi na co najmniej dwie linijki\",\n\t\t\"example5\": \"Kolejny powód do świętowania\",\n\t\t\"example6\": \"Świętowanie z powodu braku powodów do świętowania\"\n\t}\n}\n"
  },
  {
    "path": "src/locales/pl/pdf.json",
    "content": "{\n\t\"calendar\": {\n\t\t\"header\": {\n\t\t\t\"week-number\": \"T#\",\n\t\t\t\"retrospective\": \"Re\"\n\t\t},\n\t\t\"body\": {\n\t\t\t\"retrospective\": \"R\"\n\t\t}\n\t},\n\t\"page\": {\n\t\t\"month\": {\n\t\t\t\"habits\": {\n\t\t\t\t\"title\": \"Nawyki\"\n\t\t\t}\n\t\t},\n\t\t\"week\": {\n\t\t\t\"title\": \"Tydzień\"\n\t\t},\n\t\t\"retrospective\": {\n\t\t\t\"title\": \"Podsumowanie tygodnia\"\n\t\t},\n\t\t\"last\": {\n\t\t\t\"title\": \"Wygenerowano korzystając z <recalendar>https://recalendar.me/</recalendar>\",\n\t\t\t\"subtitle\": \"Możesz wczytać ten plik PDF na powyższej stronie, aby załadować tę samą konfigurację, która została użyta do stworzenia go i szybko wygenerować kalendarz na następny rok!\"\n\t\t}\n\t}\n}\n"
  },
  {
    "path": "src/locales/pt-br/app.json",
    "content": "{\n\t\"loading\": \"Carregando...\",\n\t\"download-ready\": \"Download pronto!\",\n\t\"navigation\": {\n\t\t\"home\": \"Início\",\n\t\t\"configuration\": \"Crie seu calendário\",\n\t\t\"features\": \"Features\",\n\t\t\"faq\": \"FAQ\"\n\t},\n\t\"language\": {\n\t\t\"label\": \"Idioma\"\n\t},\n\t\"configuration\": {\n\t\t\"selector\": {\n\t\t\t\"label\": \"Início\",\n\t\t\t\"template\": {\n\t\t\t\t\"label\": \"Comece selecionando um template:\",\n\t\t\t\t\"basic\": {\n\t\t\t\t\t\"label\": \"Básico\",\n\t\t\t\t\t\"description\": \"Configurações padrão - bom ponto de partida.\"\n\t\t\t\t},\n\t\t\t\t\"advanced\": {\n\t\t\t\t\t\"label\": \"Avançado\",\n\t\t\t\t\t\"description\": \"Expande o template Básico adicionando itinerários individuais aos dias.\"\n\t\t\t\t},\n\t\t\t\t\"blank\": {\n\t\t\t\t\t\"label\": \"Vazio\",\n\t\t\t\t\t\"description\": \"Baseado no template Básico, mas com hábitos, TODOs, datas especiais, etc vazios\"\n\t\t\t\t},\n\t\t\t\t\"minimalistic\": {\n\t\t\t\t\t\"label\": \"Minimalista\",\n\t\t\t\t\t\"description\": \"Desabilita tudo menos visões gerais semanais.\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"upload\": {\n\t\t\t\t\"label\": \"Ou faça o upload de um PDF do ReCalendar gerado anteriormente para usar sua configuração:\",\n\t\t\t\t\"loading\": \"Lendo configuração de arquivo PDF, por favor aguarde...\",\n\t\t\t\t\"error\": \"Não foi possível carregar uma configuração de ReCalendar desse arquivo de PDF - você tem certeza que ele foi gerado usando esse website?\",\n\t\t\t\t\"success\": \"Configuração carregada do PDF - bem vindo(a) de volta!\"\n\t\t\t}\n\t\t},\n\t\t\"general\": {\n\t\t\t\"label\": \"Opções gerais\",\n\t\t\t\"font\": \"Fonte\",\n\t\t\t\"year\": \"Ano\",\n\t\t\t\"left-handed\": {\n\t\t\t\t\"label\": \"Versão de canhoto\",\n\t\t\t\t\"description\": \"Otimiza o layout para canhotos.\"\n\t\t\t},\n\t\t\t\"sidebar\": {\n\t\t\t\t\"label\": \"Deixar espaço permanente para a barra lateral\",\n\t\t\t\t\"description\": \"Se você prefere manter a barra lateral sempre aberta, seleciona essa opção para ter certeza que o conteúdo do calendário nunca será coberto por ela.\"\n\t\t\t},\n\t\t\t\"starting-month\": {\n\t\t\t\t\"label\": \"Mês inicial\",\n\t\t\t\t\"description\": \"O primeiro mês gerado no calendário. Escolha algo como Outubro se deseja que o calendário cubra um semestre em vez de um calendário de um ano.\"\n\t\t\t},\n\t\t\t\"month-count\": {\n\t\t\t\t\"label\": \"Número de meses\",\n\t\t\t\t\"description\": \"Para quantos meses o calendário deve ser gerado.\"\n\t\t\t},\n\t\t\t\"first-day-of-week\": \"Primeiro dia da semana\",\n\t\t\t\"weekend\": \"Fim de semana\"\n\t\t},\n\t\t\"button\": {\n\t\t\t\"refresh\": \"Recarrega prévia\",\n\t\t\t\"download\": \"Gera o calendário completo e faz o download\",\n\t\t\t\"generating\": \"Gerando, por favor aguarde...\"\n\t\t},\n\t\t\"itinerary\": {\n\t\t\t\"empty\": \"Itinerário vazio\",\n\t\t\t\"placeholder\": {\n\t\t\t\t\"lines\": \"Número de linhas\",\n\t\t\t\t\"page\": \"Nova quebra de página\"\n\t\t\t},\n\t\t\t\"button\": {\n\t\t\t\t\"copy\": \"Copia esse itinerário para todos os outros dias\",\n\t\t\t\t\"remove\": \"Remove\",\n\t\t\t\t\"item\": \"Adiciona item de itinerário\",\n\t\t\t\t\"page\": \"Inicia uma nova página\",\n\t\t\t\t\"lines\": \"Adiciona linhas vazias\"\n\t\t\t}\n\t\t},\n\t\t\"items-list\": {\n\t\t\t\"button\": {\n\t\t\t\t\"item\": \"Adiciona item\",\n\t\t\t\t\"remove\": \"Remove\"\n\t\t\t},\n\t\t\t\"empty\": \"Lista vazia\",\n\t\t\t\"placeholder\": \"Item\"\n\t\t},\n\t\t\"toggle-form\": {\n\t\t\t\"enabled\": \"Habilitado\",\n\t\t\t\"disabled\": \"Desabilitado\"\n\t\t},\n\t\t\"month\": {\n\t\t\t\"title\": \"Visão geral do mês\",\n\t\t\t\"description\": \"A visão geral do mês é um espaço para definir metas para o próximo mês, acompanhar hábitos e fazer outros planos.\",\n\t\t\t\"habits\": {\n\t\t\t\t\"title\": \"Hábitos\"\n\t\t\t},\n\t\t\t\"itinerary\": {\n\t\t\t\t\"title\": \"Itinerário\"\n\t\t\t}\n\t\t},\n\t\t\"week\": {\n\t\t\t\"title\": \"Visão geral da semana\",\n\t\t\t\"description\": \"A visão geral da semana dá uma visão mais ampla da semana para facilitar o planejamento.\",\n\t\t\t\"todos\": {\n\t\t\t\t\"title\": \"TODOs\"\n\t\t\t},\n\t\t\t\"retrospective\": {\n\t\t\t\t\"title\": \"Retrospectiva da semana\",\n\t\t\t\t\"description\": \"A retrospectiva da semana é um espaço para refletir sobre a semana passada - como ela foi, o que você aprendeu e o que pode ser melhorado para a próxima?\",\n\t\t\t\t\"itinerary\": {\n\t\t\t\t\t\"title\": \"Itinerário\"\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\t\"day\": {\n\t\t\t\"title\": \"Itinerário do dia\"\n\t\t},\n\t\t\"special-dates\": {\n\t\t\t\"title\": \"Datas especiais\",\n\t\t\t\"description\": \"Adicione seus aniversários, celebrações, eventos e etc para receber lembretes deles nas visões gerais semanais e nas páginas diárias a medida que suas datas se aproximam.\",\n\t\t\t\"empty\": \"Sem datas\",\n\t\t\t\"placeholder\": \"Qual a ocasião?\",\n\t\t\t\"button\": {\n\t\t\t\t\"item\": \"Adiciona data\",\n\t\t\t\t\"remove\": \"Remove\"\n\t\t\t}\n\t\t},\n\t\t\"generation-description\": \"A geração do PDF é feita inteiramente no seu navegador - nenhum dado é enviado aos nossos servidores!\"\n\t},\n\t\"preview\": {\n\t\t\"title\": \"Prévia do calendário\",\n\t\t\"subtitle\": \"(apenas o primeiro mês é renderizado para a prévia)\",\n\t\t\"viewer-title\": \"Prévia do PDF\",\n\t\t\"generating\": {\n\t\t\t\"full\": \"Gerando calendário completo - isso pode levar mais que um minut...\",\n\t\t\t\"preview\": \"Gerando prévia, por favor aguarde - isso pode levar um minuto.\"\n\t\t},\n\t\t\"empty\": {\n\t\t\t\"title\": \"Use o formulário de configuração para criar seu calendário personalizado.\",\n\t\t\t\"subtitle\": \"A prévia vai aparecer aqui.\"\n\t\t}\n\t}\n}\n"
  },
  {
    "path": "src/locales/pt-br/config.json",
    "content": "{\n\t\"habits\": {\n\t\t\"example1\": \"Exercício\",\n\t\t\"example2\": \"Livro\",\n\t\t\"example3\": \"Hobby\",\n\t\t\"example4\": \"Encontro\"\n\t},\n\t\"templates\": {\n\t\t\"advanced\": {\n\t\t\t\"day\": {\n\t\t\t\t\"monday\": \"Página adicional para notas extras na Segunda\"\n\t\t\t},\n\t\t\t\"retrospective\": {\n\t\t\t\t\"wins\": \"Vitórias da semaana\",\n\t\t\t\t\"discoveries\": \"Novas descobertas\",\n\t\t\t\t\"fails\": \"O que não funcionou direito?\"\n\t\t\t}\n\t\t}\n\t},\n\t\"month\": {\n\t\t\"goal\": \"Objetivo principal\",\n\t\t\"notes\": \"Notas\"\n\t},\n\t\"todos\": {\n\t\t\"example1\": \"Planejar uma viagem\",\n\t\t\"example2\": \"Algum outro afazer\"\n\t},\n\t\"special-dates\": {\n\t\t\"example1\": \"Data especial date 1\",\n\t\t\"example2\": \"Data especial pelo motivo #2\",\n\t\t\"example3\": \"Alguma outra celebração\",\n\t\t\"example4\": \"Alguma outra celebração que é muito longa\",\n\t\t\"example5\": \"Vamos adicionar mais uma\",\n\t\t\"example6\": \"Acabaram os motivos de celebração\"\n\t}\n}\n"
  },
  {
    "path": "src/locales/pt-br/pdf.json",
    "content": "{\n\t\"calendar\": {\n\t\t\"header\": {\n\t\t\t\"week-number\": \"S#\",\n\t\t\t\"retrospective\": \"Re\"\n\t\t},\n\t\t\"body\": {\n\t\t\t\"retrospective\": \"R\"\n\t\t}\n\t},\n\t\"page\": {\n\t\t\"month\": {\n\t\t\t\"habits\": {\n\t\t\t\t\"title\": \"Hábitos\"\n\t\t\t}\n\t\t},\n\t\t\"week\": {\n\t\t\t\"title\": \"Semana\"\n\t\t},\n\t\t\"retrospective\": {\n\t\t\t\"title\": \"Retrospectiva da semana\"\n\t\t},\n\t\t\"last\": {\n\t\t\t\"title\": \"Gerado usando <recalendar>https://recalendar.me/</recalendar>\",\n\t\t\t\"subtitle\": \"Você pode fazer o upload desse PDF no site novamente para carregar as mesmas configurações que foram usadas para criar esse calendário e rapidamente gerar um simular para o ano novo!\"\n\t\t}\n\t}\n}\n"
  },
  {
    "path": "src/locales/sl/app.json",
    "content": "{\r\n\t\"loading\": \"Pripravljam...\",\r\n\t\"download-ready\": \"Prenesi!\",\r\n\t\"navigation\": {\r\n\t\t\"home\": \"Domov\",\r\n\t\t\"configuration\": \"Pripravi svoj koledar\",\r\n\t\t\"features\": \"Lastnosti\",\r\n\t\t\"faq\": \"Vprašanja\"\r\n\t},\r\n\t\"language\": {\r\n\t\t\"label\": \"Jezik\",\r\n\t\t\"en\": \"Angleški\",\r\n\t\t\"pl\": \"Poljski\",\r\n\t\t\"fr\": \"Francoski\",\r\n\t\t\"es\": \"Španski\",\r\n\t\t\"nb\": \"Norveški\",\r\n\t\t\"da\": \"Danski\",\r\n\t\t\"sl\": \"Slovenski\"\r\n\t},\r\n\t\"configuration\": {\r\n\t\t\"selector\": {\r\n\t\t\t\"label\": \"Začetek\",\r\n\t\t\t\"template\": {\r\n\t\t\t\t\"label\": \"Izberi predlogo:\",\r\n\t\t\t\t\"basic\": {\r\n\t\t\t\t\t\"label\": \"Osnovna\",\r\n\t\t\t\t\t\"description\": \"Privzete nastavitve.\"\r\n\t\t\t\t},\r\n\t\t\t\t\"advanced\": {\r\n\t\t\t\t\t\"label\": \"Napredna\",\r\n\t\t\t\t\t\"description\": \"Razširjena osnovna predloga z dnevnimi vsebinami.\"\r\n\t\t\t\t},\r\n\t\t\t\t\"blank\": {\r\n\t\t\t\t\t\"label\": \"Prazna\",\r\n\t\t\t\t\t\"description\": \"Osnovna predloga brez posebnih datumov, seznamov opravil in podobno.\"\r\n\t\t\t\t},\r\n\t\t\t\t\"minimalistic\": {\r\n\t\t\t\t\t\"label\": \"Enostavna\",\r\n\t\t\t\t\t\"description\": \"Brez dodatkov in s samo tedenskimi pregledi.\"\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t\"upload\": {\r\n\t\t\t\t\"label\": \"Preberi obstoječe nastavitve iz reCalendar PDF datoteke:\",\r\n\t\t\t\t\"loading\": \"Branje nastavitev iz PDF datoteke, prosimo počakajte...\",\r\n\t\t\t\t\"error\": \"Uvoz nastavitev ni uspel, ali je bila datoteka narejena s tem orodjem?\",\r\n\t\t\t\t\"success\": \"Nastavitve uspešno prebrane - dobrodošli nazaj!\"\r\n\t\t\t}\r\n\t\t},\r\n\t\t\"general\": {\r\n\t\t\t\"label\": \"Glavne nastavitve\",\r\n\t\t\t\"font\": \"Pisava\",\r\n\t\t\t\"year\": \"Leto\",\r\n\t\t\t\"left-handed\": {\r\n\t\t\t\t\"label\": \"Nastavitve za levičarje\",\r\n\t\t\t\t\"description\": \"Prilagojen pogled za levičarje.\"\r\n\t\t\t},\r\n\t\t\t\"sidebar\": {\r\n\t\t\t\t\"label\": \"Pusti prazen prostor za stransko orodno vrstico\",\r\n\t\t\t\t\"description\": \"Če imate stransko orodno vrstico vedno odprto, potem uporabite to možnost, da se koledar ne bo prekrival z orodno vrstico.\"\r\n\t\t\t},\r\n\t\t\t\"starting-month\": {\r\n\t\t\t\t\"label\": \"Začetni mesec\",\r\n\t\t\t\t\"description\": \"Prvi mesec v pripravljenem koledarju. Izberite na primer oktober, če želite pripraviti študijski koledar, namesto letnega.\"\r\n\t\t\t},\r\n\t\t\t\"month-count\": {\r\n\t\t\t\t\"label\": \"Število mesecev\",\r\n\t\t\t\t\"description\": \"Za koliko mesecev naj se pripravi koledar.\"\r\n\t\t\t},\r\n\t\t\t\"first-day-of-week\": \"Prvi dan tedna\",\r\n\t\t\t\"weekend\": \"Konec tedna\"\r\n\t\t},\r\n\t\t\"button\": {\r\n\t\t\t\"refresh\": \"Osveži pregled\",\r\n\t\t\t\"download\": \"Pripravi koledar in prenesi\",\r\n\t\t\t\"generating\": \"Poteka priprava, prosimo počakajte...\"\r\n\t\t},\r\n\t\t\"itinerary\": {\r\n\t\t\t\"empty\": \"Prazna vsebina\",\r\n\t\t\t\"placeholder\": {\r\n\t\t\t\t\"lines\": \"Število vrstic\",\r\n\t\t\t\t\"page\": \"Nov prelom strani\"\r\n\t\t\t},\r\n\t\t\t\"button\": {\r\n\t\t\t\t\"copy\": \"Kopiraj vsebino v ostale dni\",\r\n\t\t\t\t\"remove\": \"Odstrani\",\r\n\t\t\t\t\"item\": \"Dodaj del vsebine\",\r\n\t\t\t\t\"page\": \"Dodaj novo stran\",\r\n\t\t\t\t\"lines\": \"Dodaj prazne vrstice\"\r\n\t\t\t}\r\n\t\t},\r\n\t\t\"items-list\": {\r\n\t\t\t\"button\": {\r\n\t\t\t\t\"item\": \"Dodaj\",\r\n\t\t\t\t\"remove\": \"Odstrani\"\r\n\t\t\t},\r\n\t\t\t\"empty\": \"Prazen seznam\",\r\n\t\t\t\"placeholder\": \"Zapis\"\r\n\t\t},\r\n\t\t\"toggle-form\": {\r\n\t\t\t\"enabled\": \"Omogočeno\",\r\n\t\t\t\"disabled\": \"Onemogočeno\"\r\n\t\t},\r\n\t\t\"month\": {\r\n\t\t\t\"title\": \"Mesečni pregled\",\r\n\t\t\t\"description\": \"V mesečnem pregledu postavimo cilje za prihajajoči mesec, spremljamo navade in pripravimo druge načrte.\",\r\n\t\t\t\"habits\": {\r\n\t\t\t\t\"title\": \"Navade\"\r\n\t\t\t},\r\n\t\t\t\"itinerary\": {\r\n\t\t\t\t\"title\": \"Vsebina\"\r\n\t\t\t}\r\n\t\t},\r\n\t\t\"week\": {\r\n\t\t\t\"title\": \"Tedenski pregled\",\r\n\t\t\t\"description\": \"Tedenski pregled omogoča osredotočen pogled na teden, z namenom lažjega načrtovanja opravil.\",\r\n\t\t\t\"todos\": {\r\n\t\t\t\t\"title\": \"Opravila\"\r\n\t\t\t},\r\n\t\t\t\"retrospective\": {\r\n\t\t\t\t\"title\": \"Tedenski povzetek\",\r\n\t\t\t\t\"description\": \"Tedenski povzetek povzema pretekli teden - kaj je bilo opravljeno, kaj smo se naučili, kaj lahko izboljšamo?\",\r\n\t\t\t\t\"itinerary\": {\r\n\t\t\t\t\t\"title\": \"Vsebina\"\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\t\"day\": {\r\n\t\t\t\"title\": \"Dnevna vsebina\"\r\n\t\t},\r\n\t\t\"special-dates\": {\r\n\t\t\t\"title\": \"Posebni datumi\",\r\n\t\t\t\"description\": \"Dodajte rojstne dni, praznovanja, dogodke in podobno, prikazani bodo kot opomniki v tedenskih pregledih in pripadajočih dneh.\",\r\n\t\t\t\"empty\": \"Ni zapisov\",\r\n\t\t\t\"placeholder\": \"Naziv\",\r\n\t\t\t\"button\": {\r\n\t\t\t\t\"item\": \"Dodaj datum\",\r\n\t\t\t\t\"remove\": \"Odstrani\"\r\n\t\t\t}\r\n\t\t},\r\n\t\t\"generation-description\": \"Priprava PDF dokumenta se izvaja v vašem brskalniku - podatki se ne prenašajo na naše strežnike!\"\r\n\t},\r\n\t\"preview\": {\r\n\t\t\"title\": \"Pregled koledarja\",\r\n\t\t\"subtitle\": \"(za pregled se pripravi le prvi mesec)\",\r\n\t\t\"viewer-title\": \"Pregled PDF dokumenta\",\r\n\t\t\"generating\": {\r\n\t\t\t\"full\": \"Poteka priprava celotnega koledarja - prosimo počakajte...\",\r\n\t\t\t\"preview\": \"Poteka priprava pregleda koledarja - prosimo počakajte....\"\r\n\t\t},\r\n\t\t\"empty\": {\r\n\t\t\t\"title\": \"Za prilagoditev koledarja uporabi formo na levi strani.\",\r\n\t\t\t\"subtitle\": \"Pregled se bo prikazal tu.\"\r\n\t\t}\r\n\t}\r\n}"
  },
  {
    "path": "src/locales/sl/config.json",
    "content": "{\r\n\t\"habits\": {\r\n\t\t\"example1\": \"Vaja\",\r\n\t\t\"example2\": \"Knjiga\",\r\n\t\t\"example3\": \"Opravilo\",\r\n\t\t\"example4\": \"Zmenek\"\r\n\t},\r\n\t\"templates\": {\r\n\t\t\"advanced\": {\r\n\t\t\t\"day\": {\r\n\t\t\t\t\"monday\": \"Dodatna stran za dodatne ponedeljkove zapise\"\r\n\t\t\t},\r\n\t\t\t\"retrospective\": {\r\n\t\t\t\t\"wins\": \"Tedenski uspehi\",\r\n\t\t\t\t\"discoveries\": \"Nova spoznanja\",\r\n\t\t\t\t\"fails\": \"Kaj ni uspelo?\"\r\n\t\t\t}\r\n\t\t}\r\n\t},\r\n\t\"month\": {\r\n\t\t\"goal\": \"Glavni cilj\",\r\n\t\t\"notes\": \"Zapiski\"\r\n\t},\r\n\t\"todos\": {\r\n\t\t\"example1\": \"Pripravi potovanje\",\r\n\t\t\"example2\": \"Ostala opravila\"\r\n\t},\r\n\t\"special-dates\": {\r\n\t\t\"example1\": \"Rojstni dan mame\",\r\n\t\t\"example2\": \"Datum obnove registracije\",\r\n\t\t\"example3\": \"Praznovanje nečesa\",\r\n\t\t\"example4\": \"Drugo daljše praznovanje\",\r\n\t\t\"example5\": \"Praznikov ni nikoli premalo\",\r\n\t\t\"example6\": \"Preberi knjigo\"\r\n\t}\r\n}"
  },
  {
    "path": "src/locales/sl/pdf.json",
    "content": "{\r\n\t\"calendar\": {\r\n\t\t\"header\": {\r\n\t\t\t\"week-number\": \"#\",\r\n\t\t\t\"retrospective\": \"TP\"\r\n\t\t},\r\n\t\t\"body\": {\r\n\t\t\t\"retrospective\": \"P\"\r\n\t\t}\r\n\t},\r\n\t\"page\": {\r\n\t\t\"month\": {\r\n\t\t\t\"habits\": {\r\n\t\t\t\t\"title\": \"Navade\"\r\n\t\t\t}\r\n\t\t},\r\n\t\t\"week\": {\r\n\t\t\t\"title\": \"Teden\"\r\n\t\t},\r\n\t\t\"retrospective\": {\r\n\t\t\t\"title\": \"Tedenski povzetek\"\r\n\t\t},\r\n\t\t\"last\": {\r\n\t\t\t\"title\": \"Pripravljeno z <recalendar>https://recalendar.me/</recalendar>\",\r\n\t\t\t\"subtitle\": \"Ta PDF dokument lahko z enakimi nastavitvami ponovno uporabite!\"\r\n\t\t}\r\n\t}\r\n}"
  },
  {
    "path": "src/locales/sv/app.json",
    "content": "{\n\t\"loading\": \"Laddar...\",\n\t\"download-ready\": \"Ladda ner nu!\",\n\t\"navigation\": {\n\t\t\"home\": \"Hem\",\n\t\t\"configuration\": \"Skapa din kalender\",\n\t\t\"features\": \"Funktioner\",\n\t\t\"faq\": \"FAQ\"\n\t},\n\t\"language\": {\n\t\t\"label\": \"Språk\"\n\t},\n\t\"configuration\": {\n\t\t\"selector\": {\n\t\t\t\"label\": \"Start\",\n\t\t\t\"template\": {\n\t\t\t\t\"label\": \"Börja genom att välja mall:\",\n\t\t\t\t\"basic\": {\n\t\t\t\t\t\"label\": \"Grundmall\",\n\t\t\t\t\t\"description\": \"Grundinställning - bra utgångspunkt.\"\n\t\t\t\t},\n\t\t\t\t\"advanced\": {\n\t\t\t\t\t\"label\": \"Avancerad\",\n\t\t\t\t\t\"description\": \"Utökar grundmallen genom addera individuella punkter per dag.\"\n\t\t\t\t},\n\t\t\t\t\"blank\": {\n\t\t\t\t\t\"label\": \"Tom\",\n\t\t\t\t\t\"description\": \"Baserad på grundmallen, med tomma rutiner, att göra, speciella datum, etc.\"\n\t\t\t\t},\n\t\t\t\t\"minimalistic\": {\n\t\t\t\t\t\"label\": \"Minimalistisk\",\n\t\t\t\t\t\"description\": \"Inaktiverar allting förutom veckoöversikter.\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"upload\": {\n\t\t\t\t\"label\": \"Ladda upp tidigare genererad ReCalenar PDF för att använda dess konfiguration:\",\n\t\t\t\t\"loading\": \"Läser konfiguration från PDF filen, vänligen vänta...\",\n\t\t\t\t\"error\": \"Var inte möjligt att läsa ReCalendar konfiguration från denna PDF - är du säker den var skapad genom denna websida?\",\n\t\t\t\t\"success\": \"Konfigurationen laddad från PDF - välkommen tillbaka!\"\n\t\t\t}\n\t\t},\n\t\t\"general\": {\n\t\t\t\"label\": \"Generella konfigureringar\",\n\t\t\t\"font\": \"Teckensnitt\",\n\t\t\t\"year\": \"År\",\n\t\t\t\"left-handed\": {\n\t\t\t\t\"label\": \"Vänsterhands version\",\n\t\t\t\t\"description\": \"Optimera layouten för vänsterhands användande.\"\n\t\t\t},\n\t\t\t\"sidebar\": {\n\t\t\t\t\"label\": \"Lämna permanent utrymme för sidomenyn\",\n\t\t\t\t\"description\": \"Om du föredrar att låta sidomenyn alltid vara synlig, klicka detta val för att säkerställa att kalenderns innehåll aldrig täcker menyn.\"\n\t\t\t},\n\t\t\t\"starting-month\": {\n\t\t\t\t\"label\": \"Startmånad\",\n\t\t\t\t\"description\": \"Den första månaden i den genererade kalendern. Välj typ September ifall du vill att din kalender skall täcka en termin istället för ett kalenderår.\"\n\t\t\t},\n\t\t\t\"month-count\": {\n\t\t\t\t\"label\": \"Antal månader\",\n\t\t\t\t\"description\": \"För hur många månader skall kalendern skapas.\"\n\t\t\t},\n\t\t\t\"first-day-of-week\": \"Första veckodagen\",\n\t\t\t\"weekend\": \"Veckoslut\"\n\t\t},\n\t\t\"button\": {\n\t\t\t\"refresh\": \"Uppdatera förhandsgranskningen\",\n\t\t\t\"download\": \"Genererar hela kalendern och ladda ner\",\n\t\t\t\"generating\": \"Genererar, vänligen vänta...\"\n\t\t},\n\t\t\"itinerary\": {\n\t\t\t\"empty\": \"Tom plan\",\n\t\t\t\"placeholder\": {\n\t\t\t\t\"lines\": \"Antal rader\",\n\t\t\t\t\"page\": \"Sidbrytning\"\n\t\t\t},\n\t\t\t\"button\": {\n\t\t\t\t\"copy\": \"Kopiera denna plan till alla andra dagar\",\n\t\t\t\t\"remove\": \"Ta bort\",\n\t\t\t\t\"item\": \"Ny planering\",\n\t\t\t\t\"page\": \"Starta en ny sida\",\n\t\t\t\t\"lines\": \"Lägg till tomrader\"\n\t\t\t}\n\t\t},\n\t\t\"items-list\": {\n\t\t\t\"button\": {\n\t\t\t\t\"item\": \"Lägg till post\",\n\t\t\t\t\"remove\": \"Ta bort\"\n\t\t\t},\n\t\t\t\"empty\": \"Tom lista\",\n\t\t\t\"placeholder\": \"post\"\n\t\t},\n\t\t\"toggle-form\": {\n\t\t\t\"enabled\": \"Aktiverad\",\n\t\t\t\"disabled\": \"Inaktiverad\"\n\t\t},\n\t\t\"month\": {\n\t\t\t\"title\": \"Månadsöversikt\",\n\t\t\t\"description\": \"Månadsöversikten är plats för att sätta mål för kommande månad, följa rutiner och göra andra planer.\",\n\t\t\t\"habits\": {\n\t\t\t\t\"title\": \"Rutiner\"\n\t\t\t},\n\t\t\t\"itinerary\": {\n\t\t\t\t\"title\": \"Plan\"\n\t\t\t}\n\t\t},\n\t\t\"week\": {\n\t\t\t\"title\": \"Veckoöversikt\",\n\t\t\t\"description\": \"Veckoöversikten ger dig en översiktsbild över veckan för att göra planeringen enklare.\",\n\t\t\t\"todos\": {\n\t\t\t\t\"title\": \"Attgöra\"\n\t\t\t},\n\t\t\t\"retrospective\": {\n\t\t\t\t\"title\": \"Veckoreflektioner\",\n\t\t\t\t\"description\": \"Veckoreflektioner är en plats för att reflektera över gångna veckan - hur den gick, vad lärde du dig, vad kan du förbättra inför nästa vecka?\",\n\t\t\t\t\"itinerary\": {\n\t\t\t\t\t\"title\": \"Plan\"\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\t\"day\": {\n\t\t\t\"title\": \"Dagsplanering\"\n\t\t},\n\t\t\"special-dates\": {\n\t\t\t\"title\": \"Speciella datum\",\n\t\t\t\"description\": \"Addera dina födelsedagar, firanden, evenemang, etc. här för att få en påminnelse om den i din veckoöversikt och dagsplaner när de infaller.\",\n\t\t\t\"empty\": \"Inga datum\",\n\t\t\t\"placeholder\": \"Vad för tillfälle?\",\n\t\t\t\"type\": {\n\t\t\t\t\"event\": \"Aktivitet\",\n\t\t\t\t\"holiday\": \"Semester\"\n\t\t\t},\n\t\t\t\"button\": {\n\t\t\t\t\"item\": \"Lägg till datum\",\n\t\t\t\t\"remove\": \"Tabort\"\n\t\t\t}\n\t\t},\n\t\t\"generation-description\": \"PDF genereringen sker helt i din webbläsare - ingen data skickas till vår server!\"\n\t},\n\t\"preview\": {\n\t\t\"title\": \"Kalender förhandsgranskning\",\n\t\t\"subtitle\": \"(enbart första månaden är genererad för förhandsgranskning)\",\n\t\t\"viewer-title\": \"PDF förhandsgranskning\",\n\t\t\"generating\": {\n\t\t\t\"full\": \"Genererar hela kalendern - detta kan ta mer än en minut...\",\n\t\t\t\"preview\": \"Skapar förhandsgranskning, vänligen vänta - det kan ta en minut.\"\n\t\t},\n\t\t\"empty\": {\n\t\t\t\"title\": \"Använd konfigurationsformuläret för att skapa din personliga kalender.\",\n\t\t\t\"subtitle\": \"Förhandsvisningen visas här.\"\n\t\t}\n\t}\n}\n"
  },
  {
    "path": "src/locales/sv/config.json",
    "content": "{\n\t\"habits\": {\n\t\t\"example1\": \"Träning\",\n\t\t\"example2\": \"Böcker\",\n\t\t\"example3\": \"Träning\",\n\t\t\"example4\": \"Sömn\"\n\t},\n\t\"templates\": {\n\t\t\"advanced\": {\n\t\t\t\"day\": {\n\t\t\t\t\"monday\": \"Extra sida för extra måndagsanteckningar\"\n\t\t\t},\n\t\t\t\"retrospective\": {\n\t\t\t\t\"wins\": \"Veckans vinster\",\n\t\t\t\t\"discoveries\": \"Nya upptäckter\",\n\t\t\t\t\"fails\": \"Vad gick inte så bra?\"\n\t\t\t}\n\t\t}\n\t},\n\t\"month\": {\n\t\t\"goal\": \"Huvudmål\",\n\t\t\"notes\": \"Anteckningar\"\n\t},\n\t\"todos\": {\n\t\t\"example1\": \"Planera resa\",\n\t\t\"example2\": \"Några andra att göra\"\n\t},\n\t\"special-dates\": {\n\t\t\"example1\": \"Specielltdatum 1\",\n\t\t\"example2\": \"Speciellt datum för annan anledning #2\",\n\t\t\"example3\": \"Andra firanden\",\n\t\t\"example4\": \"Långweekend\",\n\t\t\"example5\": \"Lov\",\n\t\t\"example6\": \"Ran out of reasons celebration\"\n\t}\n}\n"
  },
  {
    "path": "src/locales/sv/pdf.json",
    "content": "{\n\t\"calendar\": {\n\t\t\"header\": {\n\t\t\t\"week-number\": \"V#\",\n\t\t\t\"retrospective\": \"Re\"\n\t\t},\n\t\t\"body\": {\n\t\t\t\"retrospective\": \"R\"\n\t\t}\n\t},\n\t\"page\": {\n\t\t\"month\": {\n\t\t\t\"habits\": {\n\t\t\t\t\"title\": \"Rutiner\"\n\t\t\t}\n\t\t},\n\t\t\"week\": {\n\t\t\t\"title\": \"Vecka\"\n\t\t},\n\t\t\"retrospective\": {\n\t\t\t\"title\": \"Reflektioner för vecka\"\n\t\t},\n\t\t\"last\": {\n\t\t\t\"title\": \"Skapad genom <recalendar>https://recalendar.me/</recalendar>\",\n\t\t\t\"subtitle\": \"Du kan ladda upp denna PDF där igen för att ladda samma konfiguration som var använd för att skapa den och snabbt skapa en liknande för ett nytt år!\"\n\t\t}\n\t}\n}\n"
  },
  {
    "path": "src/locales/tr/app.json",
    "content": "{\n\t\"loading\": \"Yükleniyor...\",\n\t\"download-ready\": \"Şimdi indir!\",\n\t\"navigation\": {\n\t\t\"home\": \"Ana Sayfa\",\n\t\t\"configuration\": \"Takviminizi Oluşturun\",\n\t\t\"features\": \"Özellikler\",\n\t\t\"faq\": \"SSS\"\n\t},\n\t\"configuration\": {\n\t\t\"selector\": {\n\t\t\t\"label\": \"Başla\",\n\t\t\t\"template\": {\n\t\t\t\t\"label\": \"Bir şablon seçerek başlayın:\",\n\t\t\t\t\"basic\": {\n\t\t\t\t\t\"label\": \"Temel\",\n\t\t\t\t\t\"description\": \"Varsayılan ayarlar - iyi bir başlangıç noktası.\"\n\t\t\t\t},\n\t\t\t\t\"advanced\": {\n\t\t\t\t\t\"label\": \"Gelişmiş\",\n\t\t\t\t\t\"description\": \"Temel şablonu bireysel günlük planlar ekleyerek genişletir.\"\n\t\t\t\t},\n\t\t\t\t\"blank\": {\n\t\t\t\t\t\"label\": \"Boş\",\n\t\t\t\t\t\"description\": \"Temel şablona dayanır, ancak alışkanlıklar, yapılacaklar, özel tarihler vb. boştur.\"\n\t\t\t\t},\n\t\t\t\t\"minimalistic\": {\n\t\t\t\t\t\"label\": \"Minimalist\",\n\t\t\t\t\t\"description\": \"Haftalık genel bakışlar haricinde her şeyi devre dışı bırakır.\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"upload\": {\n\t\t\t\t\"label\": \"Daha önceden oluşturulmuş ReCalendar PDF'sini yükleyin:\",\n\t\t\t\t\"loading\": \"PDF dosyasından yapılandırmayı okuma, lütfen bekleyin...\",\n\t\t\t\t\"error\": \"Bu PDF'den ReCalendar yapılandırmasını yükleyemedi - emin misiniz ki bu web sitesi kullanılarak mı oluşturulduğuna?\",\n\t\t\t\t\"success\": \"PDF'den yapılandırma yüklendi - hoş geldiniz!\"\n\t\t\t}\n\t\t},\n\t\t\"general\": {\n\t\t\t\"label\": \"Genel seçenekler\",\n\t\t\t\"font\": \"Yazı tipi\",\n\t\t\t\"year\": \"Yıl\",\n\t\t\t\"left-handed\": {\n\t\t\t\t\"label\": \"Solak versiyon\",\n\t\t\t\t\"description\": \"Düzeni solak kullanım için optimize eder.\"\n\t\t\t},\n\t\t\t\"sidebar\": {\n\t\t\t\t\"label\": \"Yan kenar çubuğu için kalıcı yer bırak\",\n\t\t\t\t\"description\": \"Yan kenar çubuğunu her zaman açık tutmayı tercih ederseniz, takvimin içeriği tarafından asla kapatılmayacağından emin olmak için bu seçeneği işaretleyin.\"\n\t\t\t},\n\t\t\t\"starting-month\": {\n\t\t\t\t\"label\": \"Başlangıç ayı\",\n\t\t\t\t\"description\": \"Oluşturulan takvimdeki ilk ay. Bir dönemi (yıl dönemi yerine) kapsamasını isterseniz Ekim gibi bir ay seçin.\"\n\t\t\t},\n\t\t\t\"month-count\": {\n\t\t\t\t\"label\": \"Ay sayısı\",\n\t\t\t\t\"description\": \"Takvimin kaç ay için oluşturulması gerektiği.\"\n\t\t\t},\n\t\t\t\"first-day-of-week\": \"Haftanın ilk günü\",\n\t\t\t\"weekend\": \"Hafta sonu\"\n\t\t},\n\t\t\"button\": {\n\t\t\t\"refresh\": \"Önizlemeyi Yenile\",\n\t\t\t\"download\": \"Tam takvimi oluştur ve indir\",\n\t\t\t\"generating\": \"Oluşturuluyor, lütfen bekleyin...\"\n\t\t},\n\t\t\"itinerary\": {\n\t\t\t\"empty\": \"Boş gezi planı\",\n\t\t\t\"placeholder\": {\n\t\t\t\t\"lines\": \"Satır sayısı\",\n\t\t\t\t\"page\": \"Yeni sayfa ekle\"\n\t\t\t},\n\t\t\t\"button\": {\n\t\t\t\t\"copy\": \"Bu gezi planını diğer tüm günlere kopyala\",\n\t\t\t\t\"remove\": \"Kaldır\",\n\t\t\t\t\"item\": \"Gezi planı öğesi ekle\",\n\t\t\t\t\"page\": \"Yeni bir sayfa başlat\",\n\t\t\t\t\"lines\": \"Boş satırlar ekle\"\n\t\t\t}\n\t\t},\n\t\t\"items-list\": {\n\t\t\t\"button\": {\n\t\t\t\t\"item\": \"Öğe ekle\",\n\t\t\t\t\"remove\": \"Kaldır\"\n\t\t\t},\n\t\t\t\"empty\": \"Boş liste\",\n\t\t\t\"placeholder\": \"Öğe\"\n\t\t},\n\t\t\"toggle-form\": {\n\t\t\t\"enabled\": \"Etkin\",\n\t\t\t\"disabled\": \"Devre dışı\"\n\t\t},\n\t\t\"month\": {\n\t\t\t\"title\": \"Aya genel bakış\",\n\t\t\t\"description\": \"Aylık genel bakış, önümüzdeki ay için hedefler belirlemek, alışkanlıkları takip etmek ve diğer planlar yapmak için bir yerdir\",\n\t\t\t\"habits\": {\n\t\t\t\t\"title\": \"Alışkanlıklar\"\n\t\t\t},\n\t\t\t\"itinerary\": {\n\t\t\t\t\"title\": \"Gezi planı\"\n\t\t\t}\n\t\t},\n\t\t\"week\": {\n\t\t\t\"title\": \"Haftaya genel bakış\",\n\t\t\t\"description\": \"Haftaya genel bakış, plan yapmayı kolaylaştırmak için haftayı daha geniş bir perspektiften görmenizi sağlar.\",\n\t\t\t\"todos\": {\n\t\t\t\t\"title\": \"Yapılacaklar\"\n\t\t\t},\n\t\t\t\"retrospective\": {\n\t\t\t\t\"title\": \"Hafta değerlendirmesi\",\n\t\t\t\t\"description\": \"Hafta değerlendirmesi, geçen hafta hakkında düşünmek, nasıl geçtiğini, neler öğrendiğinizi, gelecek hafta için neleri iyileştirebileceğinizi düşünmek için bir yerdir.\",\n\t\t\t\t\"itinerary\": {\n\t\t\t\t\t\"title\": \"Gezi planı\"\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\t\"day\": {\n\t\t\t\"title\": \"Günlük programlar\"\n\t\t},\n\t\t\"special-dates\": {\n\t\t\t\"title\": \"Özel günler\",\n\t\t\t\"description\": \"Doğum günleri, kutlamalar, etkinlikler vb. gibi şeyleri buraya ekleyerek haftalık genel bakışlarda ve yaklaştıklarında günlük sayfalarda hatırlatmalar alabilirsiniz.\",\n\t\t\t\"empty\": \"Tarih yok\",\n\t\t\t\"placeholder\": \"Ne için?\",\n\t\t\t\"type\": {\n\t\t\t\t\"event\": \"Etkinlik\",\n\t\t\t\t\"holiday\": \"Tatil\"\n\t\t\t},\n\t\t\t\"button\": {\n\t\t\t\t\"item\": \"Tarih ekle\",\n\t\t\t\t\"remove\": \"Kaldır\"\n\t\t\t}\n\t\t},\n\t\t\"generation-description\": \"PDF oluşturma işlemi tamamen tarayıcınızda gerçekleştirilir - veriler sunucularımıza gönderilmez!\"\n\t},\n\t\"preview\": {\n\t\t\"title\": \"Takvim Önizlemesi\",\n\t\t\"subtitle\": \"(sadece ilk ay önizlenmiştir)\",\n\t\t\"viewer-title\": \"PDF Önizlemesi\",\n\t\t\"generating\": {\n\t\t\t\"full\": \"Tam takvim oluşturuluyor - bu bir dakikadan daha fazla sürebilir...\",\n\t\t\t\"preview\": \"Önizleme oluşturuluyor, lütfen bekleyin - bir dakika sürebilir.\"\n\t\t},\n\t\t\"empty\": {\n\t\t\t\"title\": \"Kişiselleştirilmiş takviminizi oluşturmak için yapılandırma formunu kullanın.\",\n\t\t\t\"subtitle\": \"Önizleme burada görüntülenecektir.\"\n\t\t}\n\t}\n}\n"
  },
  {
    "path": "src/locales/tr/config.json",
    "content": "{\n\t\"habits\": {\n\t\t\"example1\": \"Egzersiz\",\n\t\t\"example2\": \"Kitap\",\n\t\t\"example3\": \"Hobi\",\n\t\t\"example4\": \"Eş zamanlı gece\"\n\t},\n\t\"templates\": {\n\t\t\"advanced\": {\n\t\t\t\"day\": {\n\t\t\t\t\"monday\": \"Ek Pazartesi notları için ek sayfa\"\n\t\t\t},\n\t\t\t\"retrospective\": {\n\t\t\t\t\"wins\": \"Haftanın Kazanımları\",\n\t\t\t\t\"discoveries\": \"Yeni Keşifler\",\n\t\t\t\t\"fails\": \"Neler Yanlış Gitti?\"\n\t\t\t}\n\t\t}\n\t},\n\t\"month\": {\n\t\t\"goal\": \"Ana hedef\",\n\t\t\"notes\": \"Notlar\"\n\t},\n\t\"todos\": {\n\t\t\"example1\": \"Bir seyahat planlayın\",\n\t\t\"example2\": \"Başka bir TODO\"\n\t},\n\t\"special-dates\": {\n\t\t\"example1\": \"Özel tarih 1\",\n\t\t\"example2\": \"Özel tarih neden #2 \",\n\t\t\"example3\": \"Başka bir kutlama\",\n\t\t\"example4\": \"Çok uzun bir başka kutlama\",\n\t\t\"example5\": \"Bir tane daha ekleyelim\",\n\t\t\"example6\": \"Neden kalmadı kutlama\"\n\t}\n}"
  },
  {
    "path": "src/locales/tr/pdf.json",
    "content": "{\n\t\"calendar\": {\n\t\t\"header\": {\n\t\t\t\"week-number\": \"H#\",\n\t\t\t\"retrospective\": \"G\"\n\t\t},\n\t\t\"body\": {\n\t\t\t\"retrospective\": \"G\"\n\t\t}\n\t},\n\t\"page\": {\n\t\t\"month\": {\n\t\t\t\"habits\": {\n\t\t\t\t\"title\": \"Alışkanlıklar\"\n\t\t\t}\n\t\t},\n\t\t\"week\": {\n\t\t\t\"title\": \"Hafta\"\n\t\t},\n\t\t\"retrospective\": {\n\t\t\t\"title\": \"Hafta için Geriye Dönük\"\n\t\t},\n\t\t\"last\": {\n\t\t\t\"title\": \"Şu adresten oluşturuldu: <recalendar>https://recalendar.me/</recalendar>\",\n\t\t\t\"subtitle\": \"PDF'yi tekrar yükleyerek, yeni yıl için benzer bir takvimi hızlıca oluşturabilirsiniz!\"\n\t\t}\n\t}\n}\n"
  },
  {
    "path": "src/navigation.jsx",
    "content": "import i18n, { changeLanguage } from 'i18next';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport Container from 'react-bootstrap/Container';\nimport Form from 'react-bootstrap/Form';\nimport Nav from 'react-bootstrap/Nav';\nimport Navbar from 'react-bootstrap/Navbar';\nimport Stack from 'react-bootstrap/Stack';\nimport { withTranslation } from 'react-i18next';\n\nimport { getFullySupportedLocales, getPartiallySupportedLocales } from '~/config/i18n';\nimport {\n\tHOME_PATH,\n\tCONFIGURATOR_PATH,\n\tFEATURES_PATH,\n\tFAQ_PATH,\n} from '~/lib/paths';\n\nclass Navigation extends React.Component {\n\tstate = {\n\t\tlanguage: i18n.language,\n\t};\n\n\tcomponentDidMount() {\n\t\ti18n.on( 'languageChanged', this.handleLanguageChange );\n\t}\n\n\tcomponentWillUnmount() {\n\t\ti18n.off( 'languageChanged', this.handleLanguageChange );\n\t}\n\n\thandleLanguageSelection = ( event ) => {\n\t\tconst newLanguage = event.target.value;\n\t\tchangeLanguage( newLanguage );\n\t};\n\n\thandleLanguageChange = ( newLanguage ) => {\n\t\tthis.setState( { language: newLanguage } );\n\t};\n\n\trenderLanguageOption = ( language ) => {\n\t\treturn (\n\t\t\t<option key={ language } value={ language }>\n\t\t\t\t{this.props.t( 'language.' + language )}\n\t\t\t</option>\n\t\t);\n\t};\n\n\trenderPartialLanguageOption = ( { key, name } ) => {\n\t\treturn (\n\t\t\t<option key={ key } value={ key }>\n\t\t\t\t{name}\n\t\t\t</option>\n\t\t);\n\t};\n\n\trender() {\n\t\tconst { t } = this.props;\n\t\treturn (\n\t\t\t<Navbar bg=\"dark\" variant=\"dark\" expand=\"md\">\n\t\t\t\t<Container fluid>\n\t\t\t\t\t<Navbar.Brand href={ HOME_PATH }>ReCalendar</Navbar.Brand>\n\t\t\t\t\t<Navbar.Toggle aria-controls=\"basic-navbar-nav\" />\n\t\t\t\t\t<Navbar.Collapse id=\"basic-navbar-nav\">\n\t\t\t\t\t\t<Nav className=\"me-auto\" variant=\"pills\">\n\t\t\t\t\t\t\t<Nav.Item>\n\t\t\t\t\t\t\t\t<Nav.Link href={ HOME_PATH }>{t( 'navigation.home' )}</Nav.Link>\n\t\t\t\t\t\t\t</Nav.Item>\n\t\t\t\t\t\t\t<Nav.Item>\n\t\t\t\t\t\t\t\t<Nav.Link href={ CONFIGURATOR_PATH } active>\n\t\t\t\t\t\t\t\t\t{t( 'navigation.configuration' )}\n\t\t\t\t\t\t\t\t</Nav.Link>\n\t\t\t\t\t\t\t</Nav.Item>\n\t\t\t\t\t\t\t<Nav.Item>\n\t\t\t\t\t\t\t\t<Nav.Link href={ FEATURES_PATH }>\n\t\t\t\t\t\t\t\t\t{t( 'navigation.features' )}\n\t\t\t\t\t\t\t\t</Nav.Link>\n\t\t\t\t\t\t\t</Nav.Item>\n\t\t\t\t\t\t\t<Nav.Item>\n\t\t\t\t\t\t\t\t<Nav.Link href={ FAQ_PATH }>{t( 'navigation.faq' )}</Nav.Link>\n\t\t\t\t\t\t\t</Nav.Item>\n\t\t\t\t\t\t</Nav>\n\t\t\t\t\t\t<Stack direction=\"horizontal\">\n\t\t\t\t\t\t\t<Form.Label\n\t\t\t\t\t\t\t\tcolumn\n\t\t\t\t\t\t\t\tclassName=\"text-light me-3 mt-0\"\n\t\t\t\t\t\t\t\thtmlFor=\"languagePicker\"\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{t( 'language.label' )}\n\t\t\t\t\t\t\t</Form.Label>\n\t\t\t\t\t\t\t<Form.Select\n\t\t\t\t\t\t\t\taria-label={ t( 'language.label' ) }\n\t\t\t\t\t\t\t\tclassName=\"language-select\"\n\t\t\t\t\t\t\t\tvalue={ this.state.language }\n\t\t\t\t\t\t\t\tonChange={ this.handleLanguageSelection }\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<optgroup label={ t( 'language.full' ) }>\n\t\t\t\t\t\t\t\t\t{getFullySupportedLocales().map( this.renderLanguageOption )}\n\t\t\t\t\t\t\t\t</optgroup>\n\t\t\t\t\t\t\t\t<optgroup label={ t( 'language.partial' ) }>\n\t\t\t\t\t\t\t\t\t{getPartiallySupportedLocales().map(\n\t\t\t\t\t\t\t\t\t\tthis.renderPartialLanguageOption )}\n\t\t\t\t\t\t\t\t</optgroup>\n\t\t\t\t\t\t\t</Form.Select>\n\t\t\t\t\t\t</Stack>\n\t\t\t\t\t</Navbar.Collapse>\n\t\t\t\t</Container>\n\t\t\t</Navbar>\n\t\t);\n\t}\n}\n\nNavigation.propTypes = {\n\tt: PropTypes.func.isRequired,\n};\n\nexport default withTranslation( [ 'app' ] )( Navigation );\n"
  },
  {
    "path": "src/pdf/components/header.jsx",
    "content": "import { Text, View, StyleSheet, Link } from '@react-pdf/renderer';\nimport PropTypes from 'prop-types';\nimport React from 'react';\n\nclass Header extends React.PureComponent {\n\tconstructor( props ) {\n\t\tsuper( props );\n\n\t\tconst stylesObject = {\n\t\t\theader: {\n\t\t\t\tflexGrow: 0,\n\t\t\t\tflexDirection: 'row',\n\t\t\t},\n\t\t\tmeta: {\n\t\t\t\tflexGrow: 1,\n\t\t\t\tflexDirection: 'column',\n\t\t\t\tborderRight: '1 solid black',\n\t\t\t},\n\t\t\tdateMain: {\n\t\t\t\tflexDirection: 'row',\n\t\t\t\tmarginLeft: 'auto',\n\t\t\t},\n\t\t\tdateInfo: {\n\t\t\t\tflex: 1,\n\t\t\t\tflexDirection: 'row',\n\t\t\t\tpaddingRight: 5,\n\t\t\t},\n\t\t\tsubtitle: {\n\t\t\t\tmarginLeft: 'auto',\n\t\t\t\ttextTransform: 'uppercase',\n\t\t\t\ttextAlign: 'right',\n\t\t\t\tmargin: '0 5',\n\t\t\t\tfontSize: props.subtitleSize,\n\t\t\t\tflex: 1,\n\t\t\t},\n\t\t\ttitle: {\n\t\t\t\ttextTransform: 'uppercase',\n\t\t\t\ttextDecoration: 'none',\n\t\t\t\tjustifyContent: 'center',\n\t\t\t\ttextAlign: 'right',\n\t\t\t\tcolor: 'black',\n\t\t\t\tpadding: '10 5',\n\t\t\t\tfontSize: props.titleSize,\n\t\t\t\tmaxWidth: 165,\n\t\t\t},\n\t\t\tarrow: {\n\t\t\t\tcolor: '#AAA',\n\t\t\t\ttextDecoration: 'none',\n\t\t\t\tjustifyContent: 'center',\n\t\t\t\tpadding: '10 5',\n\t\t\t\tfontSize: 20,\n\t\t\t},\n\t\t\tdayNumber: {\n\t\t\t\tfontSize: 55,\n\t\t\t\tfontWeight: 'bold',\n\t\t\t\tmarginBottom: -5,\n\t\t\t},\n\t\t\tspecialItems: {\n\t\t\t\tflexDirection: 'column',\n\t\t\t\twidth: 130,\n\t\t\t},\n\t\t\tspecialItem: {\n\t\t\t\tfontSize: 10,\n\t\t\t\tmarginLeft: 5,\n\t\t\t\tfontStyle: 'italic',\n\t\t\t},\n\t\t};\n\n\t\tif ( this.props.isLeftHanded ) {\n\t\t\tstylesObject.header.flexDirection = 'row-reverse';\n\n\t\t\tstylesObject.meta.borderLeft = stylesObject.meta.borderRight;\n\t\t\tstylesObject.meta.borderRight = 'none';\n\n\t\t\tdelete stylesObject.dateMain.marginLeft;\n\t\t\tdelete stylesObject.subtitle.marginLeft;\n\n\t\t\tstylesObject.dateInfo.flexDirection = 'row-reverse';\n\t\t\tstylesObject.subtitle.textAlign = 'left';\n\t\t}\n\n\t\tthis.styles = StyleSheet.create( stylesObject );\n\t}\n\n\trenderSpecialItems() {\n\t\tif ( ! this.props.specialItems ) {\n\t\t\treturn null;\n\t\t}\n\n\t\treturn (\n\t\t\t<View style={ this.styles.specialItems }>\n\t\t\t\t{this.props.specialItems.map( ( { value }, index ) => (\n\t\t\t\t\t<Text key={ index } style={ this.styles.specialItem }>\n\t\t\t\t\t\t» {value}\n\t\t\t\t\t</Text>\n\t\t\t\t) )}\n\t\t\t</View>\n\t\t);\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tcalendar,\n\t\t\tid,\n\t\t\tnextLink,\n\t\t\tnumber,\n\t\t\tpreviousLink,\n\t\t\tsubtitle,\n\t\t\ttitle,\n\t\t\ttitleLink,\n\t\t} = this.props;\n\n\t\treturn (\n\t\t\t<View id={ id } style={ this.styles.header }>\n\t\t\t\t<View style={ this.styles.meta }>\n\t\t\t\t\t<View style={ this.styles.dateMain }>\n\t\t\t\t\t\t<Link src={ titleLink } style={ this.styles.title }>\n\t\t\t\t\t\t\t{title}\n\t\t\t\t\t\t</Link>\n\t\t\t\t\t\t<Link src={ previousLink } style={ this.styles.arrow }>\n\t\t\t\t\t\t\t«\n\t\t\t\t\t\t</Link>\n\t\t\t\t\t\t<Text style={ this.styles.dayNumber }>{number}</Text>\n\t\t\t\t\t\t<Link src={ nextLink } style={ this.styles.arrow }>\n\t\t\t\t\t\t\t»\n\t\t\t\t\t\t</Link>\n\t\t\t\t\t</View>\n\t\t\t\t\t<View style={ this.styles.dateInfo }>\n\t\t\t\t\t\t{this.renderSpecialItems()}\n\t\t\t\t\t\t<Text style={ this.styles.subtitle }>{subtitle}</Text>\n\t\t\t\t\t</View>\n\t\t\t\t</View>\n\t\t\t\t{calendar}\n\t\t\t</View>\n\t\t);\n\t}\n}\n\nHeader.defaultProps = {\n\ttitleSize: 20,\n\tsubtitleSize: 20,\n};\n\nHeader.propTypes = {\n\tid: PropTypes.string,\n\tchildren: PropTypes.node,\n\tcalendar: PropTypes.node.isRequired,\n\tisLeftHanded: PropTypes.bool.isRequired,\n\tnumber: PropTypes.string.isRequired,\n\tspecialItems: PropTypes.array,\n\tsubtitle: PropTypes.string.isRequired,\n\tsubtitleSize: PropTypes.number,\n\ttitle: PropTypes.string.isRequired,\n\ttitleLink: PropTypes.string,\n\ttitleSize: PropTypes.number,\n\tpreviousLink: PropTypes.string.isRequired,\n\tnextLink: PropTypes.string.isRequired,\n};\n\nexport default Header;\n"
  },
  {
    "path": "src/pdf/components/itinerary.jsx",
    "content": "import { StyleSheet, Text } from '@react-pdf/renderer';\nimport PropTypes from 'prop-types';\nimport React from 'react';\n\nimport { ITINERARY_ITEM, ITINERARY_LINES } from '~/lib/itinerary-utils';\n\nclass Itinerary extends React.PureComponent {\n\tstyles = StyleSheet.create( {\n\t\tline: {\n\t\t\tborderBottom: '1 solid #AAA',\n\t\t\tfontSize: 12,\n\t\t\tfontWeight: 'bold',\n\t\t\theight: 20,\n\t\t\tminHeight: 20,\n\t\t\tpadding: '2 0 0 5',\n\t\t},\n\t} );\n\n\trenderItineraryItem = ( { type, value }, index ) => {\n\t\tswitch ( type ) {\n\t\t\tcase ITINERARY_ITEM:\n\t\t\t\treturn this.renderItem( value, index );\n\n\t\t\tcase ITINERARY_LINES:\n\t\t\tdefault:\n\t\t\t\treturn this.renderLines( value );\n\t\t}\n\t};\n\n\trenderItem( text, index ) {\n\t\treturn (\n\t\t\t<Text key={ index } style={ this.styles.line }>\n\t\t\t\t{text}\n\t\t\t</Text>\n\t\t);\n\t}\n\n\trenderLines( count ) {\n\t\tconst lines = [];\n\t\tfor ( let i = 0; i < count; i++ ) {\n\t\t\tlines.push( <Text key={ i } style={ this.styles.line }></Text> );\n\t\t}\n\n\t\treturn lines;\n\t}\n\n\trender() {\n\t\treturn <>{this.props.items.map( this.renderItineraryItem )}</>;\n\t}\n}\n\nItinerary.propTypes = {\n\titems: PropTypes.array.isRequired,\n};\n\nexport default Itinerary;\n"
  },
  {
    "path": "src/pdf/components/mini-calendar.jsx",
    "content": "import { Text, View, StyleSheet, Link } from '@react-pdf/renderer';\nimport dayjs from 'dayjs/esm';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { withTranslation } from 'react-i18next';\n\nimport { getWeekdays, getWeekendDays, getWeekNumber } from '~/lib/date';\nimport {\n\tfindByDate,\n\tisHoliday,\n\tisEvent,\n\tDATE_FORMAT as SPECIAL_DATES_DATE_FORMAT,\n} from '~/lib/special-dates-utils';\nimport PdfConfig from '~/pdf/config';\nimport {\n\tdayPageLink,\n\tmonthOverviewLink,\n\tweekOverviewLink,\n\tweekRetrospectiveLink,\n\tyearOverviewLink,\n} from '~/pdf/lib/links';\n\nexport const HIGHLIGHT_WEEK = 'HIGHLIGHT_WEEK';\nexport const HIGHLIGHT_DAY = 'HIGHLIGHT_DAY';\nexport const HIGHLIGHT_NONE = 'HIGHLIGHT_NONE';\n\nclass MiniCalendar extends React.Component {\n\tstyles = StyleSheet.create( {\n\t\tbody: {\n\t\t\tfontSize: 10,\n\t\t\twidth: 145,\n\t\t},\n\t\tweek: {\n\t\t\tdisplay: 'flex',\n\t\t\tflexDirection: 'row',\n\t\t},\n\t\tcurrentWeek: {\n\t\t\tbackgroundColor: '#CCC',\n\t\t},\n\t\tcurrentWeekDay: {\n\t\t\tborder: '1 solid #CCC',\n\t\t},\n\t\tday: {\n\t\t\tflexGrow: 1,\n\t\t\tflexShrink: 1,\n\t\t\twidth: 14,\n\t\t\ttextDecoration: 'none',\n\t\t\tcolor: 'black',\n\t\t\tfontWeight: 'normal',\n\t\t\ttextAlign: 'center',\n\t\t\tpadding: '1',\n\t\t\tborder: '1 solid white',\n\t\t},\n\t\theader: {\n\t\t\tflexDirection: 'row',\n\t\t},\n\t\tmonthArrow: {\n\t\t\tflexBasis: 20,\n\t\t\tflexGrow: 0,\n\t\t\ttextAlign: 'center',\n\t\t\tpadding: '2 5',\n\t\t\ttextDecoration: 'none',\n\t\t\tcolor: '#AAA',\n\t\t\tfontSize: 12,\n\t\t\tfontWeight: 'bold',\n\t\t},\n\t\tmonthName: {\n\t\t\ttextTransform: 'uppercase',\n\t\t\tpadding: '2 5',\n\t\t\ttextDecoration: 'none',\n\t\t\tcolor: '#888',\n\t\t\tfontSize: 12,\n\t\t\tfontWeight: 'bold',\n\t\t},\n\t\tpushLeft: {\n\t\t\tmarginLeft: 'auto',\n\t\t},\n\t\tpushRight: {\n\t\t\tmarginRight: 'auto',\n\t\t},\n\t\tcurrentDay: {\n\t\t\tbackgroundColor: '#CCC',\n\t\t\tborder: '1 solid #CCC',\n\t\t},\n\t\tweekendDay: {\n\t\t\tfontWeight: 1000,\n\t\t},\n\t\teventDay: {\n\t\t\tborder: '1px solid #555',\n\t\t},\n\t\totherMonthDay: {\n\t\t\tcolor: '#999',\n\t\t},\n\t\tweekNumber: {\n\t\t\tcolor: '#999',\n\t\t\tborder: 'none',\n\t\t\tborderRight: '1 solid black',\n\t\t\tfontSize: 10,\n\t\t\tjustifyContent: 'center',\n\t\t\twidth: 20,\n\t\t},\n\t\tweekRetrospective: {\n\t\t\tcolor: '#999',\n\t\t\tborder: 'none',\n\t\t\tborderLeft: '1 solid black',\n\t\t\tpaddingTop: 2,\n\t\t},\n\t\tweekdayName: {\n\t\t\tfontWeight: 'bold',\n\t\t\tcolor: 'black',\n\t\t\tborder: 'none',\n\t\t\tborderBottom: '1 solid black',\n\t\t\tfontSize: 9,\n\t\t},\n\t} );\n\n\trenderMonthName() {\n\t\tconst { monthArrow, monthName, pushLeft, pushRight, header } = this.styles;\n\t\tconst { config, date } = this.props;\n\t\treturn (\n\t\t\t<View style={ header }>\n\t\t\t\t<Link\n\t\t\t\t\tsrc={ '#' + monthOverviewLink( date.subtract( 1, 'month' ), config ) }\n\t\t\t\t\tstyle={ [ monthArrow, pushLeft ] }\n\t\t\t\t>\n\t\t\t\t\t{'<'}\n\t\t\t\t</Link>\n\t\t\t\t<Link src={ '#' + monthOverviewLink( date, config ) } style={ monthName }>\n\t\t\t\t\t{date.format( 'MMM' )}\n\t\t\t\t</Link>\n\t\t\t\t<Link src={ '#' + yearOverviewLink() } style={ monthName }>\n\t\t\t\t\t{date.format( 'YYYY' )}\n\t\t\t\t</Link>\n\t\t\t\t<Link\n\t\t\t\t\tsrc={ '#' + monthOverviewLink( date.add( 1, 'month' ), config ) }\n\t\t\t\t\tstyle={ [ monthArrow, pushRight ] }\n\t\t\t\t>\n\t\t\t\t\t{'>'}\n\t\t\t\t</Link>\n\t\t\t</View>\n\t\t);\n\t}\n\n\trenderWeekdayNames() {\n\t\tconst { t } = this.props;\n\t\tconst { day, week } = this.styles;\n\t\tconst weekdays = getWeekdays( this.props.config.firstDayOfWeek );\n\t\tconst daysOfTheWeek = weekdays.map( ( dayOfTheWeek, index ) => (\n\t\t\t<Text key={ index } style={ [ day, this.styles.weekdayName ] }>\n\t\t\t\t{dayOfTheWeek.min}\n\t\t\t</Text>\n\t\t) );\n\n\t\treturn (\n\t\t\t<View style={ week }>\n\t\t\t\t<Text\n\t\t\t\t\tstyle={ [\n\t\t\t\t\t\tday,\n\t\t\t\t\t\tthis.styles.weekNumber,\n\t\t\t\t\t\tthis.styles.weekdayName,\n\t\t\t\t\t\t{ paddingTop: 1 },\n\t\t\t\t\t] }\n\t\t\t\t>\n\t\t\t\t\t{t( 'calendar.header.week-number' )}\n\t\t\t\t</Text>\n\t\t\t\t{daysOfTheWeek}\n\t\t\t\t{this.props.config.isWeekRetrospectiveEnabled && (\n\t\t\t\t\t<Text\n\t\t\t\t\t\tstyle={ [\n\t\t\t\t\t\t\tday,\n\t\t\t\t\t\t\tthis.styles.weekRetrospective,\n\t\t\t\t\t\t\tthis.styles.weekdayName,\n\t\t\t\t\t\t\t{ paddingTop: 1 },\n\t\t\t\t\t\t] }\n\t\t\t\t\t>\n\t\t\t\t\t\t{t( 'calendar.header.retrospective' )}\n\t\t\t\t\t</Text>\n\t\t\t\t)}\n\t\t\t</View>\n\t\t);\n\t}\n\n\trenderMonth() {\n\t\tlet currentWeek = this.props.date.startOf( 'month' ).startOf( 'week' );\n\t\tconst endDate = this.props.date.endOf( 'month' );\n\t\tconst weekRows = [];\n\t\twhile ( currentWeek.isBefore( endDate ) ) {\n\t\t\tweekRows.push( this.renderWeek( currentWeek ) );\n\t\t\tcurrentWeek = currentWeek.add( 1, 'week' );\n\t\t}\n\n\t\treturn <>{weekRows}</>;\n\t}\n\n\trenderWeek( week ) {\n\t\tconst { config, t } = this.props;\n\t\tconst { day } = this.styles;\n\t\tconst days = [];\n\t\tconst weekendDays = getWeekendDays( config.weekendDays, config.firstDayOfWeek );\n\t\tconst weekNumber = getWeekNumber( week );\n\n\t\tfor ( let i = 0; i < 7; i++ ) {\n\t\t\tconst currentDay = week.add( i, 'days' );\n\t\t\tconst dayStyles = [ day ];\n\n\t\t\tif (\n\t\t\t\tthis.props.highlightMode === HIGHLIGHT_DAY &&\n\t\t\t\tcurrentDay.isSame( this.props.date, 'day' )\n\t\t\t) {\n\t\t\t\tdayStyles.push( this.styles.currentDay );\n\t\t\t}\n\n\t\t\tif (\n\t\t\t\tthis.props.highlightMode === HIGHLIGHT_WEEK &&\n\t\t\t\tweekNumber === getWeekNumber( this.props.date )\n\t\t\t) {\n\t\t\t\tdayStyles.push( this.styles.currentWeekDay );\n\t\t\t}\n\n\t\t\tif ( weekendDays.includes( currentDay.day() ) ) {\n\t\t\t\tdayStyles.push( this.styles.weekendDay );\n\t\t\t}\n\n\t\t\tif ( currentDay.month() !== this.props.date.month() ) {\n\t\t\t\tdayStyles.push( this.styles.otherMonthDay );\n\t\t\t}\n\n\t\t\tconst specialDateKey = currentDay.format( SPECIAL_DATES_DATE_FORMAT );\n\t\t\tconst specialDatesToday = config.specialDates.filter(\n\t\t\t\tfindByDate( specialDateKey ),\n\t\t\t);\n\t\t\tif ( specialDatesToday.length > 0 ) {\n\t\t\t\tif ( specialDatesToday.some( isEvent ) ) {\n\t\t\t\t\tdayStyles.push( this.styles.eventDay );\n\t\t\t\t}\n\n\t\t\t\tif ( specialDatesToday.some( isHoliday ) ) {\n\t\t\t\t\tdayStyles.push( this.styles.weekendDay );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tdays.push(\n\t\t\t\t<Link\n\t\t\t\t\tkey={ i }\n\t\t\t\t\tsrc={ '#' + dayPageLink( currentDay, config ) }\n\t\t\t\t\tstyle={ dayStyles }\n\t\t\t\t>\n\t\t\t\t\t{currentDay.date()}\n\t\t\t\t</Link>,\n\t\t\t);\n\t\t}\n\n\t\tconst weekStyles = [ this.styles.week ];\n\t\tif (\n\t\t\tthis.props.highlightMode === HIGHLIGHT_WEEK &&\n\t\t\tweekNumber === getWeekNumber( this.props.date )\n\t\t) {\n\t\t\tweekStyles.push( this.styles.currentWeek );\n\t\t}\n\t\treturn (\n\t\t\t<View key={ weekNumber } style={ weekStyles }>\n\t\t\t\t<Link\n\t\t\t\t\tsrc={ '#' + weekOverviewLink( week, config ) }\n\t\t\t\t\tstyle={ [ day, this.styles.weekNumber ] }\n\t\t\t\t>\n\t\t\t\t\t{weekNumber}\n\t\t\t\t</Link>\n\t\t\t\t{days}\n\t\t\t\t{config.isWeekRetrospectiveEnabled && (\n\t\t\t\t\t<Link\n\t\t\t\t\t\tsrc={ '#' + weekRetrospectiveLink( week ) }\n\t\t\t\t\t\tstyle={ [ day, this.styles.weekRetrospective ] }\n\t\t\t\t\t>\n\t\t\t\t\t\t{t( 'calendar.body.retrospective' )}\n\t\t\t\t\t</Link>\n\t\t\t\t)}\n\t\t\t</View>\n\t\t);\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<View style={ this.styles.body }>\n\t\t\t\t{this.renderMonthName()}\n\t\t\t\t{this.renderWeekdayNames()}\n\t\t\t\t{this.renderMonth()}\n\t\t\t</View>\n\t\t);\n\t}\n}\n\nMiniCalendar.defaultProps = {\n\thighlightMode: HIGHLIGHT_DAY,\n};\n\nMiniCalendar.propTypes = {\n\tconfig: PropTypes.instanceOf( PdfConfig ).isRequired,\n\tdate: PropTypes.instanceOf( dayjs ).isRequired,\n\thighlightMode: PropTypes.oneOf( [\n\t\tHIGHLIGHT_DAY,\n\t\tHIGHLIGHT_WEEK,\n\t\tHIGHLIGHT_NONE,\n\t] ),\n\tt: PropTypes.func.isRequired,\n};\n\nexport default withTranslation( 'pdf' )( MiniCalendar );\n"
  },
  {
    "path": "src/pdf/config.js",
    "content": "import dayjs from 'dayjs/esm';\nimport { t } from 'i18next';\n\nimport { REMARKABLE, getPageProperties } from '~/lib/device-utils';\nimport { wrapWithId } from '~/lib/id-utils';\nimport { ITINERARY_ITEM, ITINERARY_LINES } from '~/lib/itinerary-utils';\nimport {\n\tHOLIDAY_DAY_TYPE,\n\tEVENT_DAY_TYPE,\n} from '~/lib/special-dates-utils';\nimport { LATO } from '~/pdf/lib/fonts';\n\nconst CONFIG_FIELDS = [\n\t'device',\n\t'dpi',\n\t'pageSize',\n\t'fontFamily',\n\t'year',\n\t'month',\n\t'firstDayOfWeek',\n\t'monthCount',\n\t'weekendDays',\n\t'isLeftHanded',\n\t'alwaysOnSidebar',\n\t'isMonthOverviewEnabled',\n\t'habits',\n\t'monthItinerary',\n\t'isWeekOverviewEnabled',\n\t'todos',\n\t'dayItineraries',\n\t'isWeekRetrospectiveEnabled',\n\t'weekRetrospectiveItinerary',\n\t'specialDates',\n];\n\nexport const CONFIG_FILE = 'config.json';\nexport const CONFIG_VERSION_1 = 'v1';\nexport const CONFIG_VERSION_2 = 'v2';\nexport const CONFIG_VERSION_3 = 'v3';\nexport const CONFIG_CURRENT_VERSION = CONFIG_VERSION_3;\n\nexport function hydrateFromObject( object ) {\n\treturn CONFIG_FIELDS.reduce(\n\t\t( fields, field ) => ( {\n\t\t\t...fields,\n\t\t\t[ field ]: object[ field ],\n\t\t} ),\n\t\t{},\n\t);\n}\n\nclass PdfConfig {\n\tconstructor( configOverrides = {} ) {\n\t\tthis.year = dayjs().year();\n\t\tthis.month = 0;\n\t\tthis.firstDayOfWeek = dayjs.localeData().firstDayOfWeek();\n\t\tthis.weekendDays = [ 0, 6 ];\n\t\tthis.isLeftHanded = false;\n\t\tthis.alwaysOnSidebar = false;\n\t\tthis.monthCount = 12;\n\t\tthis.fontFamily = LATO;\n\t\tthis.isMonthOverviewEnabled = true;\n\t\tthis.habits = [\n\t\t\tt( 'habits.example1', { ns: 'config' } ),\n\t\t\tt( 'habits.example2', { ns: 'config' } ),\n\t\t\tt( 'habits.example3', { ns: 'config' } ),\n\t\t\tt( 'habits.example4', { ns: 'config' } ),\n\t\t];\n\t\tthis.monthItinerary = [\n\t\t\t{\n\t\t\t\ttype: ITINERARY_ITEM,\n\t\t\t\tvalue: t( 'month.goal', { ns: 'config' } ),\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: ITINERARY_LINES,\n\t\t\t\tvalue: 2,\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: ITINERARY_ITEM,\n\t\t\t\tvalue: t( 'month.notes', { ns: 'config' } ),\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: ITINERARY_LINES,\n\t\t\t\tvalue: 50,\n\t\t\t},\n\t\t];\n\t\tthis.isWeekOverviewEnabled = true;\n\t\tthis.todos = [\n\t\t\tt( 'todos.example1', { ns: 'config' } ),\n\t\t\tt( 'todos.example2', { ns: 'config' } ),\n\t\t];\n\n\t\tlet dayOfWeek = this.firstDayOfWeek;\n\t\tthis.dayItineraries = [ ...Array( 7 ).keys() ].map( () => {\n\t\t\tconst itinerary = {\n\t\t\t\tdayOfWeek,\n\t\t\t\titems: [ { type: ITINERARY_LINES, value: 50 } ],\n\t\t\t\tisEnabled: true,\n\t\t\t};\n\t\t\tdayOfWeek = ++dayOfWeek % 7;\n\t\t\treturn itinerary;\n\t\t} );\n\t\tthis.isWeekRetrospectiveEnabled = true;\n\t\tthis.weekRetrospectiveItinerary = [\n\t\t\t{\n\t\t\t\ttype: ITINERARY_LINES,\n\t\t\t\tvalue: 50,\n\t\t\t},\n\t\t];\n\t\tthis.device = REMARKABLE;\n\t\tconst { dpi, pageSize } = getPageProperties( this.device );\n\t\tthis.dpi = dpi;\n\t\tthis.pageSize = pageSize;\n\t\tthis.specialDates = [\n\t\t\t{\n\t\t\t\tdate: '01-01',\n\t\t\t\tvalue: t( 'special-dates.example1', { ns: 'config' } ),\n\t\t\t\ttype: HOLIDAY_DAY_TYPE,\n\t\t\t},\n\t\t\t{\n\t\t\t\tdate: '01-01',\n\t\t\t\tvalue: t( 'special-dates.example2', { ns: 'config' } ),\n\t\t\t\ttype: HOLIDAY_DAY_TYPE,\n\t\t\t},\n\t\t\t{\n\t\t\t\tdate: '01-03',\n\t\t\t\tvalue: t( 'special-dates.example3', { ns: 'config' } ),\n\t\t\t\ttype: HOLIDAY_DAY_TYPE,\n\t\t\t},\n\t\t\t{\n\t\t\t\tdate: '01-13',\n\t\t\t\tvalue: t( 'special-dates.example4', { ns: 'config' } ),\n\t\t\t\ttype: EVENT_DAY_TYPE,\n\t\t\t},\n\t\t\t{\n\t\t\t\tdate: '01-13',\n\t\t\t\tvalue: t( 'special-dates.example5', { ns: 'config' } ),\n\t\t\t\ttype: HOLIDAY_DAY_TYPE,\n\t\t\t},\n\t\t\t{\n\t\t\t\tdate: '01-14',\n\t\t\t\tvalue: t( 'special-dates.example6', { ns: 'config' } ),\n\t\t\t\ttype: EVENT_DAY_TYPE,\n\t\t\t},\n\t\t];\n\n\t\tif ( Object.keys( configOverrides ).length !== 0 ) {\n\t\t\tObject.assign( this, configOverrides );\n\t\t}\n\n\t\tthis.ensureUniqueIds();\n\t}\n\n\tensureUniqueIds() {\n\t\tconst fieldsRequiringUniqueIds = [\n\t\t\t'habits',\n\t\t\t'monthItinerary',\n\t\t\t'specialDates',\n\t\t\t'todos',\n\t\t\t'weekRetrospectiveItinerary',\n\t\t];\n\n\t\tfieldsRequiringUniqueIds.forEach( ( field ) => {\n\t\t\tconst thisField = this[ field ];\n\t\t\tthis[ field ] = thisField.map( wrapWithId );\n\t\t} );\n\n\t\tthis.dayItineraries = this.dayItineraries.map( ( dayItinerary ) => {\n\t\t\tdayItinerary.items = dayItinerary.items.map( wrapWithId );\n\t\t\treturn dayItinerary;\n\t\t} );\n\t}\n}\n\nexport default PdfConfig;\n"
  },
  {
    "path": "src/pdf/lib/fonts.js",
    "content": "function generateFontDefinition( font ) {\n\tconst fontPath = `/fonts/${font}/${font}`;\n\treturn {\n\t\t[ font ]: {\n\t\t\tfamily: font,\n\t\t\tfonts: [\n\t\t\t\t{ src: `${fontPath}-Regular.ttf` },\n\t\t\t\t{ src: `${fontPath}-Italic.ttf`, fontStyle: 'italic' },\n\t\t\t\t{ src: `${fontPath}-Bold.ttf`, fontWeight: 700 },\n\t\t\t\t{\n\t\t\t\t\tsrc: `${fontPath}-BoldItalic.ttf`,\n\t\t\t\t\tfontStyle: 'italic',\n\t\t\t\t\tfontWeight: 700,\n\t\t\t\t},\n\t\t\t],\n\t\t},\n\t};\n}\n\nconst ARIMO = 'Arimo';\nexport const LATO = 'Lato';\nconst MONTSERRAT = 'Montserrat';\nconst SOURCE_SERIF_PRO = 'SourceSerifPro';\nexport const AVAILABLE_FONTS = [ ARIMO, LATO, MONTSERRAT, SOURCE_SERIF_PRO ];\n\nconst FONT_DEFINITIONS = {\n\t...generateFontDefinition( ARIMO ),\n\t...generateFontDefinition( LATO ),\n\t...generateFontDefinition( MONTSERRAT ),\n\t...generateFontDefinition( SOURCE_SERIF_PRO ),\n};\n\nexport function getFontDefinition( font ) {\n\treturn FONT_DEFINITIONS[ font ] || FONT_DEFINITIONS[ LATO ];\n}\n"
  },
  {
    "path": "src/pdf/lib/links.js",
    "content": "export function dayPageLink( date, config ) {\n\tconst dayLink = findEnabledDayPageLink( date, config, 1 );\n\tif ( dayLink ) {\n\t\treturn dayLink;\n\t}\n\n\tif ( config.isWeekOverviewEnabled ) {\n\t\t// This ensures that we use the correct year for things like week 52\n\t\t// that has days from this and next year\n\t\treturn weekOverviewLink( date.startOf( 'week' ), config );\n\t}\n\n\tif ( config.isMonthOverviewEnabled ) {\n\t\treturn monthOverviewLink( date, config );\n\t}\n\n\treturn '';\n}\n\nexport function nextDayPageLink( date, config ) {\n\tconst currentDate = date.add( 1, 'day' );\n\treturn findEnabledDayPageLink( currentDate, config, 1 );\n}\n\nexport function previousDayPageLink( date, config ) {\n\tconst currentDate = date.subtract( 1, 'day' );\n\treturn findEnabledDayPageLink( currentDate, config, -1 );\n}\n\nfunction findEnabledDayPageLink( date, config, step ) {\n\tfor ( let i = 0; i < config.dayItineraries.length; i++ ) {\n\t\tconst currentDayItinerary = config.dayItineraries.find(\n\t\t\tfindDayOfWeek( date.day() ),\n\t\t);\n\t\tif ( ! currentDayItinerary || ! currentDayItinerary.isEnabled ) {\n\t\t\tdate = date.add( step, 'day' );\n\t\t\tcontinue;\n\t\t}\n\n\t\treturn 'day-' + date.format( 'DDMMYYYY' );\n\t}\n\n\treturn '';\n}\n\nfunction findDayOfWeek( needle ) {\n\treturn ( { dayOfWeek } ) => dayOfWeek === needle;\n}\n\nexport function monthOverviewLink( date, config ) {\n\tif ( config.isMonthOverviewEnabled ) {\n\t\treturn 'month-' + date.format( 'MMYYYY' );\n\t}\n\n\tconst dayLink = findEnabledDayPageLink( date.date( 1 ), config, 1 );\n\tif ( dayLink ) {\n\t\treturn dayLink;\n\t}\n\n\tif ( config.isWeekOverviewEnabled ) {\n\t\t// This ensures that we use the correct year for things like week 52\n\t\t// that has days from this and next year\n\t\treturn weekOverviewLink( date.date( 1 ).startOf( 'week' ), config );\n\t}\n\n\treturn '';\n}\n\nexport function weekOverviewLink( date, config ) {\n\tif ( config.isWeekOverviewEnabled ) {\n\t\treturn 'week-overview-' + date.format( 'WWYYYY' );\n\t}\n\n\tconst dayLink = findEnabledDayPageLink( date.weekday( 0 ), config, 1 );\n\tif ( dayLink ) {\n\t\treturn dayLink;\n\t}\n\n\tif ( config.isMonthOverviewEnabled ) {\n\t\treturn monthOverviewLink( date, config );\n\t}\n\n\treturn '';\n}\n\nexport function weekRetrospectiveLink( date ) {\n\treturn 'week-retrospective-' + date.format( 'WWYYYY' );\n}\n\nexport function yearOverviewLink() {\n\treturn 'year-overview';\n}\n"
  },
  {
    "path": "src/pdf/pages/day.jsx",
    "content": "import { Page, View, StyleSheet } from '@react-pdf/renderer';\nimport dayjs from 'dayjs/esm';\nimport PropTypes from 'prop-types';\nimport React from 'react';\n\nimport {\n\tfindByDate,\n\tDATE_FORMAT as SPECIAL_DATES_DATE_FORMAT,\n} from '~/lib/special-dates-utils';\nimport Header from '~/pdf/components/header';\nimport Itinerary from '~/pdf/components/itinerary';\nimport MiniCalendar from '~/pdf/components/mini-calendar';\nimport PdfConfig from '~/pdf/config';\nimport {\n\tdayPageLink,\n\tnextDayPageLink,\n\tpreviousDayPageLink,\n\tmonthOverviewLink,\n} from '~/pdf/lib/links';\nimport { content, pageStyle } from '~/pdf/styles';\nimport { splitItemsByPages } from '~/pdf/utils';\n\nclass DayPage extends React.Component {\n\tstyles = StyleSheet.create(\n\t\tObject.assign( {}, { content, page: pageStyle( this.props.config ) } ),\n\t);\n\n\trenderExtraItems = ( items, index ) => (\n\t\t<Page key={ index } size={ this.props.config.pageSize } dpi={ this.props.config.dpi }>\n\t\t\t<View style={ this.styles.page }>\n\t\t\t\t<Itinerary items={ items } />\n\t\t\t</View>\n\t\t</Page>\n\t);\n\n\trender() {\n\t\tconst { date, config } = this.props;\n\t\tconst { items, isEnabled } = config.dayItineraries[ date.weekday() ];\n\t\tif ( ! isEnabled ) {\n\t\t\treturn null;\n\t\t}\n\t\tconst itemsByPage = splitItemsByPages( items );\n\n\t\tconst specialDateKey = this.props.date.format( SPECIAL_DATES_DATE_FORMAT );\n\t\tconst specialItems = this.props.config.specialDates.filter(\n\t\t\tfindByDate( specialDateKey ),\n\t\t);\n\t\treturn (\n\t\t\t<>\n\t\t\t\t<Page id={ dayPageLink( date, config ) } size={ config.pageSize } dpi={ config.dpi }>\n\t\t\t\t\t<View style={ this.styles.page }>\n\t\t\t\t\t\t<Header\n\t\t\t\t\t\t\tisLeftHanded={ config.isLeftHanded }\n\t\t\t\t\t\t\ttitle={ date.format( 'MMMM' ) }\n\t\t\t\t\t\t\ttitleLink={ '#' + monthOverviewLink( date, config ) }\n\t\t\t\t\t\t\tsubtitle={ date.format( 'dddd' ) }\n\t\t\t\t\t\t\tnumber={ date.format( 'DD' ) }\n\t\t\t\t\t\t\tpreviousLink={ '#' + previousDayPageLink( date, config ) }\n\t\t\t\t\t\t\tnextLink={ '#' + nextDayPageLink( date, config ) }\n\t\t\t\t\t\t\tcalendar={ <MiniCalendar date={ date } config={ config } /> }\n\t\t\t\t\t\t\tspecialItems={ specialItems }\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<View style={ this.styles.content }>\n\t\t\t\t\t\t\t<Itinerary items={ itemsByPage[ 0 ] } />\n\t\t\t\t\t\t</View>\n\t\t\t\t\t</View>\n\t\t\t\t</Page>\n\t\t\t\t{itemsByPage.slice( 1 ).map( this.renderExtraItems )}\n\t\t\t</>\n\t\t);\n\t}\n}\n\nDayPage.propTypes = {\n\tconfig: PropTypes.instanceOf( PdfConfig ).isRequired,\n\tdate: PropTypes.instanceOf( dayjs ).isRequired,\n};\n\nexport default DayPage;\n"
  },
  {
    "path": "src/pdf/pages/last.jsx",
    "content": "import { Page, Text, View, Link, StyleSheet } from '@react-pdf/renderer';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { withTranslation, Trans } from 'react-i18next';\n\nimport PdfConfig from '~/pdf/config';\nimport { pageStyle } from '~/pdf/styles';\n\nclass LastPage extends React.Component {\n\tstyles = StyleSheet.create(\n\t\tObject.assign(\n\t\t\t{\n\t\t\t\tcenter: {\n\t\t\t\t\tflexDirection: 'column',\n\t\t\t\t\theight: '100%',\n\t\t\t\t\tpadding: '0 10',\n\t\t\t\t},\n\t\t\t\ttitle: {\n\t\t\t\t\tmarginTop: 'auto',\n\t\t\t\t\tfontSize: 15,\n\t\t\t\t\ttextAlign: 'center',\n\t\t\t\t},\n\t\t\t\tsubtitle: {\n\t\t\t\t\tfontSize: 10,\n\t\t\t\t\ttextAlign: 'center',\n\t\t\t\t\tmarginBottom: 20,\n\t\t\t\t},\n\t\t\t},\n\t\t\t{ page: pageStyle( this.props.config ) },\n\t\t),\n\t);\n\n\trender() {\n\t\tconst { config, t } = this.props;\n\t\treturn (\n\t\t\t<Page size={ config.pageSize } dpi={ config.dpi }>\n\t\t\t\t<View style={ this.styles.page }>\n\t\t\t\t\t<View style={ this.styles.center }>\n\t\t\t\t\t\t<Text style={ this.styles.title }>\n\t\t\t\t\t\t\t<Trans\n\t\t\t\t\t\t\t\ti18nKey=\"page.last.title\"\n\t\t\t\t\t\t\t\tcomponents={ {\n\t\t\t\t\t\t\t\t\trecalendar: <Link src=\"https://recalendar.me\" />,\n\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</Text>\n\t\t\t\t\t\t<Text style={ this.styles.subtitle }>{t( 'page.last.subtitle' )}</Text>\n\t\t\t\t\t</View>\n\t\t\t\t</View>\n\t\t\t</Page>\n\t\t);\n\t}\n}\n\nLastPage.propTypes = {\n\tconfig: PropTypes.instanceOf( PdfConfig ).isRequired,\n\tt: PropTypes.func.isRequired,\n};\n\nexport default withTranslation( 'pdf' )( LastPage );\n"
  },
  {
    "path": "src/pdf/pages/month-overview.jsx",
    "content": "import { Page, Text, View, StyleSheet, Link } from '@react-pdf/renderer';\nimport dayjs from 'dayjs/esm';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { withTranslation } from 'react-i18next';\n\nimport { getWeekendDays } from '~/lib/date';\nimport Itinerary from '~/pdf/components/itinerary';\nimport MiniCalendar, { HIGHLIGHT_NONE } from '~/pdf/components/mini-calendar';\nimport PdfConfig from '~/pdf/config';\nimport { dayPageLink, monthOverviewLink } from '~/pdf/lib/links';\nimport { pageStyle } from '~/pdf/styles';\nimport { splitItemsByPages } from '~/pdf/utils';\n\nclass MonthOverviewPage extends React.Component {\n\tconstructor( props ) {\n\t\tsuper( props );\n\n\t\tconst habitColumnWidth = 40;\n\t\tconst habitSquareWidth = props.config.alwaysOnSidebar ? 12 : 13;\n\n\t\tconst stylesObject = Object.assign(\n\t\t\t{\n\t\t\t\tcontent: {\n\t\t\t\t\tflex: 1,\n\t\t\t\t\tflexGrow: 1,\n\t\t\t\t},\n\t\t\t\theader: {\n\t\t\t\t\tflexGrow: 0,\n\t\t\t\t\tflexDirection: 'row',\n\t\t\t\t\tborderBottom: '1 solid black',\n\t\t\t\t},\n\t\t\t\tmeta: {\n\t\t\t\t\tflexGrow: 1,\n\t\t\t\t\tflexDirection: 'column',\n\t\t\t\t\tborderRight: '1 solid black',\n\t\t\t\t\tjustifyContent: 'center',\n\t\t\t\t},\n\t\t\t\ttitle: {\n\t\t\t\t\ttextTransform: 'uppercase',\n\t\t\t\t\tcolor: 'black',\n\t\t\t\t\tpadding: '10 5',\n\t\t\t\t\tfontSize: 35,\n\t\t\t\t\tfontWeight: 'bold',\n\t\t\t\t\tmarginLeft: 'auto',\n\t\t\t\t},\n\t\t\t\thabitsTable: {\n\t\t\t\t\tflexGrow: 0,\n\t\t\t\t\tflexDirection: 'column',\n\t\t\t\t\tfontSize: 8,\n\t\t\t\t},\n\t\t\t\thabitsHeader: {\n\t\t\t\t\tflexDirection: 'row',\n\t\t\t\t\talignItems: 'center',\n\t\t\t\t},\n\t\t\t\thabitsTitle: {\n\t\t\t\t\tfontWeight: 'normal',\n\t\t\t\t},\n\t\t\t\thabitDay: {\n\t\t\t\t\tfontSize: 8,\n\t\t\t\t\tflexDirection: 'column',\n\t\t\t\t\tborderRight: '1 solid #AAA',\n\t\t\t\t\tborderBottom: '1 solid #AAA',\n\t\t\t\t\tjustifyContent: 'center',\n\t\t\t\t\talignItems: 'center',\n\t\t\t\t\ttextAlign: 'center',\n\t\t\t\t\ttextDecoration: 'none',\n\t\t\t\t\tcolor: 'black',\n\t\t\t\t\twidth: habitSquareWidth,\n\t\t\t\t\tminWidth: habitSquareWidth,\n\t\t\t\t\theight: habitSquareWidth,\n\t\t\t\t},\n\t\t\t\thabitDayDate: {\n\t\t\t\t\tfontWeight: 'bold',\n\t\t\t\t\tposition: 'relative',\n\t\t\t\t\ttop: -1,\n\t\t\t\t},\n\t\t\t\thabitDayOfWeek: {\n\t\t\t\t\tfontSize: 6,\n\t\t\t\t\ttextAlign: 'center',\n\t\t\t\t\tposition: 'relative',\n\t\t\t\t\ttop: -1,\n\t\t\t\t},\n\t\t\t\thabitRow: {\n\t\t\t\t\tflexDirection: 'row',\n\t\t\t\t},\n\t\t\t\thabitContainer: {\n\t\t\t\t\tjustifyContent: 'center',\n\t\t\t\t\talignItems: 'center',\n\t\t\t\t\theight: habitSquareWidth,\n\t\t\t\t\tborderRight: '1 solid #AAA',\n\t\t\t\t\tborderBottom: '1 solid #AAA',\n\t\t\t\t\twidth: habitColumnWidth,\n\t\t\t\t\tfontWeight: 'bold',\n\t\t\t\t},\n\t\t\t\thabitSquare: {\n\t\t\t\t\theight: habitSquareWidth,\n\t\t\t\t\twidth: habitSquareWidth,\n\t\t\t\t\tminWidth: habitSquareWidth,\n\t\t\t\t\tborderRight: '1 solid #AAA',\n\t\t\t\t\tborderBottom: '1 solid #AAA',\n\t\t\t\t\ttextDecoration: 'none',\n\t\t\t\t},\n\t\t\t\tweekendDay: {\n\t\t\t\t\tbackgroundColor: '#EEE',\n\t\t\t\t},\n\t\t\t},\n\t\t\t{ page: pageStyle( props.config ) },\n\t\t);\n\n\t\tif ( this.props.config.isLeftHanded ) {\n\t\t\tstylesObject.header.flexDirection = 'row-reverse';\n\n\t\t\tstylesObject.meta.borderLeft = '1 solid black';\n\t\t\tstylesObject.meta.borderRight = 'none';\n\n\t\t\tdelete stylesObject.title.marginLeft;\n\t\t}\n\n\t\tthis.styles = StyleSheet.create( stylesObject );\n\t}\n\n\trenderHabitsTable() {\n\t\tconst habits = this.props.config.habits;\n\t\tif ( habits.length === 0 ) {\n\t\t\treturn null;\n\t\t}\n\n\t\treturn (\n\t\t\t<View style={ this.styles.habitsTable }>\n\t\t\t\t{this.renderHabitsHeader()}\n\t\t\t\t{habits.map( this.renderHabit )}\n\t\t\t</View>\n\t\t);\n\t}\n\n\trenderHabitsHeader() {\n\t\tconst { date, t } = this.props;\n\t\tlet currentDate = date.startOf( 'month' );\n\t\tconst endOfMonth = date.endOf( 'month' );\n\t\tconst days = [];\n\t\twhile ( currentDate.isBefore( endOfMonth ) ) {\n\t\t\tdays.push( this.renderDay( currentDate ) );\n\t\t\tcurrentDate = currentDate.add( 1, 'day' );\n\t\t}\n\n\t\treturn (\n\t\t\t<View style={ this.styles.habitsHeader }>\n\t\t\t\t<View style={ this.styles.habitContainer }>\n\t\t\t\t\t<Text style={ this.styles.habitsTitle }>\n\t\t\t\t\t\t{t( 'page.month.habits.title' )}\n\t\t\t\t\t</Text>\n\t\t\t\t</View>\n\t\t\t\t{days}\n\t\t\t</View>\n\t\t);\n\t}\n\n\trenderDay( day ) {\n\t\treturn (\n\t\t\t<Link\n\t\t\t\tkey={ day.unix() }\n\t\t\t\tsrc={ '#' + dayPageLink( day, this.props.config ) }\n\t\t\t\tstyle={ this.styles.habitDay }\n\t\t\t>\n\t\t\t\t<Text style={ this.styles.habitDayDate }>{day.format( 'D' )}</Text>\n\t\t\t\t<Text style={ this.styles.habitDayOfWeek }>{day.format( 'dd' )}</Text>\n\t\t\t</Link>\n\t\t);\n\t}\n\n\trenderHabit = ( { id, value } ) => {\n\t\treturn (\n\t\t\t<View key={ id } style={ this.styles.habitRow }>\n\t\t\t\t<View style={ this.styles.habitContainer }>\n\t\t\t\t\t<Text>{value}</Text>\n\t\t\t\t</View>\n\t\t\t\t{this.renderHabitSquares()}\n\t\t\t</View>\n\t\t);\n\t};\n\n\trenderHabitSquares() {\n\t\tconst { config } = this.props;\n\t\tconst weekendDays = getWeekendDays( config.weekendDays, config.firstDayOfWeek );\n\t\tlet currentDate = this.props.date.startOf( 'month' );\n\t\tconst endOfMonth = this.props.date.endOf( 'month' );\n\t\tconst squares = [];\n\t\twhile ( currentDate.isBefore( endOfMonth ) ) {\n\t\t\tconst styles = [ this.styles.habitSquare ];\n\t\t\tif ( weekendDays.includes( currentDate.day() ) ) {\n\t\t\t\tstyles.push( this.styles.weekendDay );\n\t\t\t}\n\t\t\tsquares.push(\n\t\t\t\t<Link\n\t\t\t\t\tkey={ currentDate.date() }\n\t\t\t\t\tstyle={ styles }\n\t\t\t\t\tsrc={ '#' + dayPageLink( currentDate, config ) }\n\t\t\t\t/>,\n\t\t\t);\n\t\t\tcurrentDate = currentDate.add( 1, 'day' );\n\t\t}\n\n\t\treturn squares;\n\t}\n\n\trender() {\n\t\tconst { date, config } = this.props;\n\t\tconst { dpi, pageSize } = config;\n\t\tconst itemsByPage = splitItemsByPages( config.monthItinerary );\n\t\treturn (\n\t\t\t<>\n\t\t\t\t<Page id={ monthOverviewLink( date, config ) } size={ pageSize } dpi={ dpi }>\n\t\t\t\t\t<View style={ this.styles.page }>\n\t\t\t\t\t\t<View style={ this.styles.header }>\n\t\t\t\t\t\t\t<View style={ this.styles.meta }>\n\t\t\t\t\t\t\t\t<Text style={ this.styles.title }>{date.format( 'MMMM' )}</Text>\n\t\t\t\t\t\t\t</View>\n\t\t\t\t\t\t\t<MiniCalendar\n\t\t\t\t\t\t\t\tdate={ date }\n\t\t\t\t\t\t\t\thighlightMode={ HIGHLIGHT_NONE }\n\t\t\t\t\t\t\t\tconfig={ config }\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</View>\n\t\t\t\t\t\t{this.renderHabitsTable()}\n\t\t\t\t\t\t<View style={ this.styles.content }>\n\t\t\t\t\t\t\t<Itinerary items={ itemsByPage[ 0 ] } />\n\t\t\t\t\t\t</View>\n\t\t\t\t\t</View>\n\t\t\t\t</Page>\n\t\t\t\t{itemsByPage.slice( 1 ).map( ( items, index ) => (\n\t\t\t\t\t<Page key={ index } size={ pageSize } dpi={ dpi }>\n\t\t\t\t\t\t<View style={ this.styles.page }>\n\t\t\t\t\t\t\t<Itinerary items={ items } />\n\t\t\t\t\t\t</View>\n\t\t\t\t\t</Page>\n\t\t\t\t) )}\n\t\t\t</>\n\t\t);\n\t}\n}\n\nMonthOverviewPage.propTypes = {\n\tconfig: PropTypes.instanceOf( PdfConfig ).isRequired,\n\tdate: PropTypes.instanceOf( dayjs ).isRequired,\n\tt: PropTypes.func.isRequired,\n};\n\nexport default withTranslation( 'pdf' )( MonthOverviewPage );\n"
  },
  {
    "path": "src/pdf/pages/week-overview.jsx",
    "content": "import { Page, Text, View, StyleSheet, Link } from '@react-pdf/renderer';\nimport dayjs from 'dayjs/esm';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { withTranslation } from 'react-i18next';\n\nimport { getWeekNumber } from '~/lib/date';\nimport {\n\tDATE_FORMAT as SPECIAL_DATES_DATE_FORMAT,\n\tfindByDate,\n\tHOLIDAY_DAY_TYPE,\n} from '~/lib/special-dates-utils';\nimport Header from '~/pdf/components/header';\nimport MiniCalendar, { HIGHLIGHT_WEEK } from '~/pdf/components/mini-calendar';\nimport PdfConfig from '~/pdf/config';\nimport { weekOverviewLink, dayPageLink } from '~/pdf/lib/links';\nimport { content, pageStyle } from '~/pdf/styles';\n\nclass WeekOverviewPage extends React.Component {\n\tstyles = StyleSheet.create(\n\t\tObject.assign(\n\t\t\t{\n\t\t\t\tdays: {\n\t\t\t\t\tflexDirection: 'row',\n\t\t\t\t\tflexWrap: 'wrap',\n\t\t\t\t\tflexGrow: 1,\n\t\t\t\t\tpaddingTop: 1,\n\t\t\t\t\tpaddingLeft: 1,\n\t\t\t\t},\n\t\t\t\tday: {\n\t\t\t\t\twidth: '33.5%',\n\t\t\t\t\theight: '33.5%',\n\t\t\t\t\tborder: '1 solid black',\n\t\t\t\t\tflexDirection: 'column',\n\t\t\t\t\tmarginTop: -1,\n\t\t\t\t\tmarginLeft: -1,\n\t\t\t\t\tpadding: 5,\n\t\t\t\t\ttextDecoration: 'none',\n\t\t\t\t\tcolor: 'black',\n\t\t\t\t},\n\t\t\t\tdayDate: {\n\t\t\t\t\tflexDirection: 'row',\n\t\t\t\t\tflexGrow: 1,\n\t\t\t\t\tmarginBottom: 2,\n\t\t\t\t},\n\t\t\t\tdayOfWeek: {\n\t\t\t\t\tfontSize: 12,\n\t\t\t\t\tfontWeight: 'bold',\n\t\t\t\t},\n\t\t\t\tshortDate: {\n\t\t\t\t\tfontSize: 12,\n\t\t\t\t\ttextTransform: 'uppercase',\n\t\t\t\t\tmarginLeft: 'auto',\n\t\t\t\t},\n\t\t\t\ttodos: {\n\t\t\t\t\twidth: '66.6%',\n\t\t\t\t\theight: '33.5%',\n\t\t\t\t\tflexDirection: 'column',\n\t\t\t\t\tpadding: 5,\n\t\t\t\t},\n\t\t\t\ttodo: {\n\t\t\t\t\tfontSize: 10,\n\t\t\t\t},\n\t\t\t\tspecialItem: {\n\t\t\t\t\tfontSize: 10,\n\t\t\t\t},\n\t\t\t},\n\t\t\t{ content, page: pageStyle( this.props.config ) },\n\t\t),\n\t);\n\n\tgetNameOfWeek() {\n\t\tconst { date } = this.props;\n\t\tconst beginningOfWeek = date.startOf( 'week' ).format( 'DD MMMM' );\n\t\tconst endOfWeek = date.endOf( 'week' ).format( 'DD MMMM' );\n\t\treturn `${beginningOfWeek} - ${endOfWeek}`;\n\t}\n\n\trenderDays() {\n\t\tconst { date } = this.props;\n\t\tlet currentDate = date.startOf( 'week' );\n\t\tconst endOfWeek = date.endOf( 'week' );\n\t\tconst days = [];\n\t\twhile ( currentDate.isBefore( endOfWeek ) ) {\n\t\t\tdays.push( this.renderDay( currentDate ) );\n\t\t\tcurrentDate = currentDate.add( 1, 'day' );\n\t\t}\n\n\t\tdays.push( this.renderTodos() );\n\n\t\treturn days;\n\t}\n\n\trenderDay( day ) {\n\t\tconst { config } = this.props;\n\t\tconst specialDateKey = day.format( SPECIAL_DATES_DATE_FORMAT );\n\t\tconst specialItems = config.specialDates.filter( findByDate( specialDateKey ) );\n\t\treturn (\n\t\t\t<Link\n\t\t\t\tkey={ day.unix() }\n\t\t\t\tstyle={ this.styles.day }\n\t\t\t\tsrc={ '#' + dayPageLink( day, config ) }\n\t\t\t>\n\t\t\t\t<View style={ { flexDirection: 'column' } }>\n\t\t\t\t\t<View style={ this.styles.dayDate }>\n\t\t\t\t\t\t<Text style={ this.styles.dayOfWeek }>{day.format( 'dddd' )}</Text>\n\t\t\t\t\t\t<Text style={ this.styles.shortDate }>{day.format( 'DD MMM' )}</Text>\n\t\t\t\t\t</View>\n\t\t\t\t\t{specialItems.map( ( { id, type, value } ) => (\n\t\t\t\t\t\t<Text\n\t\t\t\t\t\t\tkey={ id }\n\t\t\t\t\t\t\tstyle={ [\n\t\t\t\t\t\t\t\tthis.styles.specialItem,\n\t\t\t\t\t\t\t\t{ fontWeight: type === HOLIDAY_DAY_TYPE ? 'bold' : 'normal' },\n\t\t\t\t\t\t\t] }\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t» {value}\n\t\t\t\t\t\t</Text>\n\t\t\t\t\t) )}\n\t\t\t\t</View>\n\t\t\t</Link>\n\t\t);\n\t}\n\n\trenderTodos() {\n\t\treturn (\n\t\t\t<View key={ 'todos' } style={ this.styles.todos }>\n\t\t\t\t{this.props.config.todos.map( ( { id, value } ) => (\n\t\t\t\t\t<Text key={ id } style={ this.styles.todo }>\n\t\t\t\t\t\t{value}\n\t\t\t\t\t</Text>\n\t\t\t\t) )}\n\t\t\t</View>\n\t\t);\n\t}\n\n\trender() {\n\t\tconst { t, date, config } = this.props;\n\t\treturn (\n\t\t\t<Page id={ weekOverviewLink( date, config ) } size={ config.pageSize } dpi={ config.dpi }>\n\t\t\t\t<View style={ this.styles.page }>\n\t\t\t\t\t<Header\n\t\t\t\t\t\tisLeftHanded={ config.isLeftHanded }\n\t\t\t\t\t\ttitle={ t( 'page.week.title' ) }\n\t\t\t\t\t\tsubtitle={ this.getNameOfWeek() }\n\t\t\t\t\t\tnumber={ getWeekNumber( date ).toString() }\n\t\t\t\t\t\tpreviousLink={\n\t\t\t\t\t\t\t'#' + weekOverviewLink( date.subtract( 1, 'week' ), config )\n\t\t\t\t\t\t}\n\t\t\t\t\t\tnextLink={ '#' + weekOverviewLink( date.add( 1, 'week' ), config ) }\n\t\t\t\t\t\tcalendar={\n\t\t\t\t\t\t\t<MiniCalendar\n\t\t\t\t\t\t\t\tdate={ date }\n\t\t\t\t\t\t\t\thighlightMode={ HIGHLIGHT_WEEK }\n\t\t\t\t\t\t\t\tconfig={ config }\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t}\n\t\t\t\t\t/>\n\t\t\t\t\t<View style={ this.styles.days }>{this.renderDays()}</View>\n\t\t\t\t</View>\n\t\t\t</Page>\n\t\t);\n\t}\n}\n\nWeekOverviewPage.propTypes = {\n\tconfig: PropTypes.instanceOf( PdfConfig ).isRequired,\n\tdate: PropTypes.instanceOf( dayjs ).isRequired,\n\tt: PropTypes.func.isRequired,\n};\n\nexport default withTranslation( 'pdf' )( WeekOverviewPage );\n"
  },
  {
    "path": "src/pdf/pages/week-retrospective.jsx",
    "content": "import { Page, View, StyleSheet } from '@react-pdf/renderer';\nimport dayjs from 'dayjs/esm';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { withTranslation } from 'react-i18next';\n\nimport { getWeekNumber } from '~/lib/date';\nimport Header from '~/pdf/components/header';\nimport Itinerary from '~/pdf/components/itinerary';\nimport MiniCalendar, { HIGHLIGHT_WEEK } from '~/pdf/components/mini-calendar';\nimport PdfConfig from '~/pdf/config';\nimport { weekRetrospectiveLink } from '~/pdf/lib/links';\nimport { content, pageStyle } from '~/pdf/styles';\nimport { splitItemsByPages } from '~/pdf/utils';\n\nclass WeekRetrospectivePage extends React.Component {\n\tstyles = StyleSheet.create(\n\t\tObject.assign( {}, { content, page: pageStyle( this.props.config ) } ),\n\t);\n\n\tgetNameOfWeek() {\n\t\tconst { date } = this.props;\n\t\tconst beginningOfWeek = date.startOf( 'week' ).format( 'DD MMMM' );\n\t\tconst endOfWeek = date.endOf( 'week' ).format( 'DD MMMM' );\n\t\treturn `${beginningOfWeek} - ${endOfWeek}`;\n\t}\n\n\trender() {\n\t\tconst { t, date, config } = this.props;\n\t\tconst itemsByPage = splitItemsByPages( config.weekRetrospectiveItinerary );\n\t\treturn (\n\t\t\t<>\n\t\t\t\t<Page id={ weekRetrospectiveLink( date ) } size={ config.pageSize } dpi={ config.dpi }>\n\t\t\t\t\t<View style={ this.styles.page }>\n\t\t\t\t\t\t<Header\n\t\t\t\t\t\t\tisLeftHanded={ config.isLeftHanded }\n\t\t\t\t\t\t\ttitle={ t( 'page.retrospective.title' ) }\n\t\t\t\t\t\t\ttitleSize={ 15 }\n\t\t\t\t\t\t\tsubtitle={ this.getNameOfWeek() }\n\t\t\t\t\t\t\tsubtitleSize={ 18 }\n\t\t\t\t\t\t\tnumber={ getWeekNumber( date ).toString() }\n\t\t\t\t\t\t\tpreviousLink={\n\t\t\t\t\t\t\t\t'#' + weekRetrospectiveLink( date.subtract( 1, 'week' ) )\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tnextLink={ '#' + weekRetrospectiveLink( date.add( 1, 'week' ) ) }\n\t\t\t\t\t\t\tcalendar={\n\t\t\t\t\t\t\t\t<MiniCalendar\n\t\t\t\t\t\t\t\t\tdate={ date }\n\t\t\t\t\t\t\t\t\thighlightMode={ HIGHLIGHT_WEEK }\n\t\t\t\t\t\t\t\t\tconfig={ config }\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<View style={ this.styles.content }>\n\t\t\t\t\t\t\t<Itinerary items={ itemsByPage[ 0 ] } />\n\t\t\t\t\t\t</View>\n\t\t\t\t\t</View>\n\t\t\t\t</Page>\n\t\t\t\t{itemsByPage.slice( 1 ).map(\n\t\t\t\t\t( items, index ) => (\n\t\t\t\t\t\t<Page key={ index } size={ config.pageSize } dpi={ config.dpi }>\n\t\t\t\t\t\t\t<View style={ this.styles.page }>\n\t\t\t\t\t\t\t\t<Itinerary items={ items } />\n\t\t\t\t\t\t\t</View>\n\t\t\t\t\t\t</Page>\n\t\t\t\t\t),\n\t\t\t\t)}\n\t\t\t</>\n\t\t);\n\t}\n}\n\nWeekRetrospectivePage.propTypes = {\n\tconfig: PropTypes.instanceOf( PdfConfig ).isRequired,\n\tdate: PropTypes.instanceOf( dayjs ).isRequired,\n\tt: PropTypes.func.isRequired,\n};\n\nexport default withTranslation( 'pdf' )( WeekRetrospectivePage );\n"
  },
  {
    "path": "src/pdf/pages/year-overview.jsx",
    "content": "import { Page, Text, View, StyleSheet } from '@react-pdf/renderer';\nimport dayjs from 'dayjs/esm';\nimport PropTypes from 'prop-types';\nimport React from 'react';\n\nimport MiniCalendar, { HIGHLIGHT_NONE } from '~/pdf/components/mini-calendar';\nimport PdfConfig from '~/pdf/config';\nimport { yearOverviewLink } from '~/pdf/lib/links';\n\nclass YearOverviewPage extends React.Component {\n\tstyles = StyleSheet.create( {\n\t\tyear: {\n\t\t\tfontSize: 48,\n\t\t\tfontWeight: 'bold',\n\t\t\ttextAlign: 'center',\n\t\t},\n\t\tcalendars: {\n\t\t\tflexDirection: 'row',\n\t\t\tflexWrap: 'wrap',\n\t\t\tjustifyContent: 'center',\n\t\t},\n\t} );\n\n\trenderCalendars() {\n\t\tconst calendars = [];\n\t\tconst { startDate, endDate, config } = this.props;\n\t\tlet currentDate = startDate;\n\t\twhile ( currentDate.isBefore( endDate ) ) {\n\t\t\tcalendars.push(\n\t\t\t\t<MiniCalendar\n\t\t\t\t\tkey={ currentDate.unix() }\n\t\t\t\t\tdate={ currentDate }\n\t\t\t\t\thighlightMode={ HIGHLIGHT_NONE }\n\t\t\t\t\tconfig={ config }\n\t\t\t\t>\n\t\t\t\t\t{currentDate.format( 'MMMM YYYY' )}\n\t\t\t\t</MiniCalendar>,\n\t\t\t);\n\t\t\tcurrentDate = currentDate.add( 1, 'month' );\n\t\t}\n\n\t\treturn calendars;\n\t}\n\n\trender() {\n\t\tconst { config, startDate } = this.props;\n\t\treturn (\n\t\t\t<Page id={ yearOverviewLink() } size={ config.pageSize } dpi={ config.dpi }>\n\t\t\t\t<Text style={ this.styles.year }>{startDate.year()}</Text>\n\t\t\t\t<View style={ this.styles.calendars }>{this.renderCalendars()}</View>\n\t\t\t</Page>\n\t\t);\n\t}\n}\n\nYearOverviewPage.propTypes = {\n\tconfig: PropTypes.instanceOf( PdfConfig ).isRequired,\n\tendDate: PropTypes.instanceOf( dayjs ).isRequired,\n\tstartDate: PropTypes.instanceOf( dayjs ).isRequired,\n};\n\nexport default YearOverviewPage;\n"
  },
  {
    "path": "src/pdf/recalendar.jsx",
    "content": "import { Document, StyleSheet } from '@react-pdf/renderer';\nimport dayjs from 'dayjs/esm';\nimport PropTypes from 'prop-types';\nimport React from 'react';\n\nimport PdfConfig from '~/pdf/config';\nimport DayPage from '~/pdf/pages/day';\nimport LastPage from '~/pdf/pages/last';\nimport MonthOverviewPage from '~/pdf/pages/month-overview';\nimport WeekOverviewPage from '~/pdf/pages/week-overview';\nimport WeekRetrospectivePage from '~/pdf/pages/week-retrospective';\nimport YearOverviewPage from '~/pdf/pages/year-overview';\n\nclass RecalendarPdf extends React.Component {\n\tstyles = StyleSheet.create( {\n\t\tdocument: {\n\t\t\tfontFamily: this.props.config.fontFamily,\n\t\t},\n\t\tpage: {\n\t\t\tflexDirection: 'row',\n\t\t\tbackgroundColor: '#E4E4E4',\n\t\t},\n\t} );\n\n\trenderWeek( startOfWeek ) {\n\t\tconst { config } = this.props;\n\n\t\tconst weekPages = [];\n\t\tlet currentDate = startOfWeek.clone();\n\t\tconst endOfWeek = startOfWeek.add( 1, 'weeks' );\n\t\twhile ( currentDate.isBefore( endOfWeek ) ) {\n\t\t\tif ( config.isMonthOverviewEnabled && currentDate.date() === 1 ) {\n\t\t\t\tweekPages.push(\n\t\t\t\t\t<MonthOverviewPage\n\t\t\t\t\t\tkey={ 'month-overview-' + currentDate.unix() }\n\t\t\t\t\t\tdate={ currentDate }\n\t\t\t\t\t\tconfig={ config }\n\t\t\t\t\t/>,\n\t\t\t\t);\n\t\t\t}\n\t\t\tconst key = 'day-' + currentDate.unix();\n\t\t\tweekPages.push( <DayPage key={ key } date={ currentDate } config={ config } /> );\n\t\t\tcurrentDate = currentDate.add( 1, 'days' );\n\t\t}\n\t\treturn (\n\t\t\t<React.Fragment key={ 'week-' + startOfWeek.unix() }>\n\t\t\t\t{config.isWeekOverviewEnabled && (\n\t\t\t\t\t<WeekOverviewPage date={ startOfWeek } config={ config } />\n\t\t\t\t)}\n\t\t\t\t{weekPages}\n\t\t\t\t{config.isWeekRetrospectiveEnabled && (\n\t\t\t\t\t<WeekRetrospectivePage date={ startOfWeek } config={ config } />\n\t\t\t\t)}\n\t\t\t</React.Fragment>\n\t\t);\n\t}\n\n\trenderCalendar() {\n\t\tconst { year, month, monthCount } = this.props.config;\n\t\tconst pageList = [];\n\t\tlet currentDate = dayjs.utc( {\n\t\t\tyear,\n\t\t\tmonth,\n\t\t\tday: 1,\n\t\t} );\n\t\tconst endDate = currentDate.add( monthCount, 'months' );\n\n\t\tpageList.push(\n\t\t\t<YearOverviewPage\n\t\t\t\tkey={ 'year-overview-' + year }\n\t\t\t\tstartDate={ currentDate }\n\t\t\t\tendDate={ endDate }\n\t\t\t\tconfig={ this.props.config }\n\t\t\t/>,\n\t\t);\n\n\t\tcurrentDate = currentDate.startOf( 'week' );\n\t\twhile ( currentDate.isBefore( endDate ) ) {\n\t\t\tpageList.push( this.renderWeek( currentDate ) );\n\n\t\t\tcurrentDate = currentDate.add( 1, 'weeks' );\n\t\t\tif ( this.props.isPreview && currentDate.month() === month + 1 ) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tpageList.push( <LastPage key=\"last\" config={ this.props.config } /> );\n\n\t\treturn pageList;\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Document style={ this.styles.document }>{this.renderCalendar()}</Document>\n\t\t);\n\t}\n}\n\nRecalendarPdf.propTypes = {\n\tconfig: PropTypes.instanceOf( PdfConfig ).isRequired,\n\tisPreview: PropTypes.bool.isRequired,\n};\n\nexport default RecalendarPdf;\n"
  },
  {
    "path": "src/pdf/styles.js",
    "content": "export function pageStyle( { alwaysOnSidebar, isLeftHanded } ) {\n\treturn {\n\t\tflex: 1,\n\t\twidth: '100%',\n\t\theight: '100%',\n\t\tflexGrow: 1,\n\t\tflexDirection: 'column',\n\t\tpaddingLeft: alwaysOnSidebar && ! isLeftHanded ? 31 : 0,\n\t\tpaddingRight: alwaysOnSidebar && isLeftHanded ? 31 : 0,\n\t};\n}\n\nexport const content = {\n\tflex: 1,\n\tflexGrow: 1,\n\tborderTop: '1 solid black',\n};\n"
  },
  {
    "path": "src/pdf/utils.js",
    "content": "import { ITINERARY_NEW_PAGE } from '~/lib/itinerary-utils';\n\nexport function splitItemsByPages( items ) {\n\tconst pages = [ [] ];\n\tlet currentPageNumber = 0;\n\tfor ( let i = 0; i < items.length; i++ ) {\n\t\tconst { type } = items[ i ];\n\t\tif ( type === ITINERARY_NEW_PAGE ) {\n\t\t\tcurrentPageNumber++;\n\t\t\tcontinue;\n\t\t}\n\n\t\tif ( ! pages[ currentPageNumber ] ) {\n\t\t\tpages[ currentPageNumber ] = [];\n\t\t}\n\n\t\tpages[ currentPageNumber ].push( items[ i ] );\n\t}\n\n\treturn pages;\n}\n"
  },
  {
    "path": "src/worker/pdf.worker.js",
    "content": "/* eslint-disable no-restricted-globals */\nimport i18n, { changeLanguage } from 'i18next';\nimport LanguageDetector from 'i18next-browser-languagedetector';\nimport React from 'react';\nimport { initReactI18next } from 'react-i18next';\nimport resources from 'virtual:i18next-loader';\n\nimport {\n\tgetFullySupportedLocales,\n\thandleLanguageChange,\n\ti18nConfiguration,\n} from '~/config/i18n';\nimport { utf8ToBase64 } from '~/lib/base64';\nimport { Font, pdf } from '~/lib/pdf';\nimport PdfConfig, {\n\thydrateFromObject,\n\tCONFIG_CURRENT_VERSION,\n\tCONFIG_FILE,\n} from '~/pdf/config';\nimport { getFontDefinition } from '~/pdf/lib/fonts';\nimport RecalendarPdf from '~/pdf/recalendar';\nimport '~/config/dayjs';\n\ni18n\n\t.use( LanguageDetector )\n\t.use( initReactI18next )\n\t.init( {\n\t\t...i18nConfiguration( [ 'pdf', 'config' ] ),\n\t\tpreload: getFullySupportedLocales(),\n\t\treact: {\n\t\t\tuseSuspense: false,\n\t\t},\n\t\tresources,\n\t} );\n\nfunction encodeConfig( data ) {\n\tconst dataWithVersion = Object.assign(\n\t\t{ version: CONFIG_CURRENT_VERSION },\n\t\tdata,\n\t);\n\treturn (\n\t\t'data:text/plain;base64,' + utf8ToBase64( JSON.stringify( dataWithVersion ) )\n\t);\n}\n\n// Effectively disables hyphenation\nfunction hyphenationCallback( word ) {\n\treturn [ word ];\n}\n\nself.onmessage = ( { data } ) => {\n\tconst config = new PdfConfig( hydrateFromObject( data ) );\n\n\tconst { firstDayOfWeek, language, isPreview } = data;\n\n\tchangeLanguage( language );\n\thandleLanguageChange( language, firstDayOfWeek );\n\n\tFont.registerHyphenationCallback( hyphenationCallback );\n\tFont.register( getFontDefinition( config.fontFamily ) );\n\tFont.registerEmojiSource( {\n\t\tformat: 'png',\n\t\turl: 'https://cdn.jsdelivr.net/gh/jdecked/twemoji@latest/assets/72x72/',\n\t} );\n\n\tconst document = React.createElement(\n\t\tRecalendarPdf,\n\t\t{ isPreview, config },\n\t\tnull,\n\t);\n\tpdf( document, {\n\t\tattachments: [\n\t\t\t{\n\t\t\t\tsrc: encodeConfig( data ),\n\t\t\t\toptions: {\n\t\t\t\t\tname: CONFIG_FILE,\n\t\t\t\t\ttype: 'application/json',\n\t\t\t\t\thidden: false,\n\t\t\t\t},\n\t\t\t},\n\t\t],\n\t} )\n\t\t.toBlob()\n\t\t.then( ( blob ) => {\n\t\t\tself.postMessage( { blob } );\n\t\t} );\n};\n"
  },
  {
    "path": "tsconfig.json",
    "content": "{\n  \"compilerOptions\": {\n    \"target\": \"ES2020\",\n    \"useDefineForClassFields\": true,\n    \"lib\": [\"ES2020\", \"DOM\", \"DOM.Iterable\"],\n    \"module\": \"ESNext\",\n    \"skipLibCheck\": true,\n\n    /* Bundler mode */\n    \"moduleResolution\": \"bundler\",\n    \"allowImportingTsExtensions\": true,\n    \"resolveJsonModule\": true,\n    \"isolatedModules\": true,\n    \"noEmit\": true,\n    \"jsx\": \"react-jsx\",\n\n    /* Linting */\n    \"strict\": true,\n    \"noUnusedLocals\": true,\n    \"noUnusedParameters\": true,\n    \"noFallthroughCasesInSwitch\": true,\n\n    \"baseUrl\": \".\",\n    \"paths\": {\n      \"~/*\": [\"src/*\"]\n    }\n  },\n  \"include\": [\"src\"],\n  \"references\": [{ \"path\": \"./tsconfig.node.json\" }]\n}\n"
  },
  {
    "path": "tsconfig.node.json",
    "content": "{\n  \"compilerOptions\": {\n    \"composite\": true,\n    \"skipLibCheck\": true,\n    \"module\": \"ESNext\",\n    \"moduleResolution\": \"bundler\",\n    \"allowSyntheticDefaultImports\": true,\n    \"strict\": true\n  },\n  \"include\": [\"vite.config.ts\"]\n}\n"
  },
  {
    "path": "vite.config.ts",
    "content": "import path from 'path';\n\nimport react from '@vitejs/plugin-react';\nimport { defineConfig } from 'vite';\nimport i18nextLoader from 'vite-plugin-i18next-loader';\n\nexport default defineConfig( {\n\tbuild: {\n\t\trollupOptions: {\n\t\t\tinput: {\n\t\t\t\tapp: './create.html',\n\t\t\t},\n\t\t},\n\t},\n\tplugins: [\n\t\ti18nextLoader( { paths: [ './src/locales' ], namespaceResolution: 'basename' } ),\n\t\treact(),\n\t],\n\tresolve: {\n\t\talias: {\n\t\t\t'~': path.resolve( __dirname, 'src' ),\n\t\t},\n\t},\n\tworker: {\n\t\tformat: 'es',\n\t\tplugins: () => [\n\t\t\ti18nextLoader( { paths: [ './src/locales' ], namespaceResolution: 'basename' } ),\n\t\t\treact(),\n\t\t],\n\t},\n} );\n"
  }
]