[
  {
    "path": ".gitattributes",
    "content": "# Auto detect text files and perform LF normalization\n* text=auto\n"
  },
  {
    "path": ".github/FUNDING.yml",
    "content": "# These are supported funding model platforms\n\ngithub: [arthurdeka]\npatreon: # Replace with a single Patreon username\nopen_collective: # Replace with a single Open Collective username\nko_fi: arthurcodes\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\ncustom: #['https://customlink.com/donate']"
  },
  {
    "path": ".gitignore",
    "content": "config.json\nlog.txt\n.superpowers\n\ntarget\ntarget/\n\n# Build output and packages\n/target/\n*.jar\n*.war\n*.ear\n\n# Logs\n*.log\n\n# IDE files\n.idea/\n.project\n.classpath\n.settings/\n*.iml\n*.iws\n\n# Operating system files\n.DS_Store\nThumbs.db\n\n# Maven generated files\n.mvn/timing.properties\n\n# Package Files #\n*.jar\n*.war\n*.nar\n*.ear\n*.zip\n*.tar.gz\n*.rar\n\n# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml\nhs_err_pid*\nreplay_pid*\n\n"
  },
  {
    "path": ".mvn/wrapper/maven-wrapper.properties",
    "content": "distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.5/apache-maven-3.8.5-bin.zip\nwrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar"
  },
  {
    "path": "LICENSE",
    "content": "GNU GENERAL PUBLIC LICENSE\n                       Version 3, 29 June 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 General Public License is a free, copyleft license for\nsoftware and other kinds of works.\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,\nthe GNU General Public License is 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.  We, the Free Software Foundation, use the\nGNU General Public License for most of our software; it applies also to\nany other work released this way by its authors.  You can apply it to\nyour programs, too.\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  To protect your rights, we need to prevent others from denying you\nthese rights or asking you to surrender the rights.  Therefore, you have\ncertain responsibilities if you distribute copies of the software, or if\nyou modify it: responsibilities to respect the freedom of others.\n\n  For example, if you distribute copies of such a program, whether\ngratis or for a fee, you must pass on to the recipients the same\nfreedoms that you received.  You must make sure that they, too, receive\nor can get the source code.  And you must show them these terms so they\nknow their rights.\n\n  Developers that use the GNU GPL protect your rights with two steps:\n(1) assert copyright on the software, and (2) offer you this License\ngiving you legal permission to copy, distribute and/or modify it.\n\n  For the developers' and authors' protection, the GPL clearly explains\nthat there is no warranty for this free software.  For both users' and\nauthors' sake, the GPL requires that modified versions be marked as\nchanged, so that their problems will not be attributed erroneously to\nauthors of previous versions.\n\n  Some devices are designed to deny users access to install or run\nmodified versions of the software inside them, although the manufacturer\ncan do so.  This is fundamentally incompatible with the aim of\nprotecting users' freedom to change the software.  The systematic\npattern of such abuse occurs in the area of products for individuals to\nuse, which is precisely where it is most unacceptable.  Therefore, we\nhave designed this version of the GPL to prohibit the practice for those\nproducts.  If such problems arise substantially in other domains, we\nstand ready to extend this provision to those domains in future versions\nof the GPL, as needed to protect the freedom of users.\n\n  Finally, every program is threatened constantly by software patents.\nStates should not allow patents to restrict development and use of\nsoftware on general-purpose computers, but in those that do, we wish to\navoid the special danger that patents applied to a free program could\nmake it effectively proprietary.  To prevent this, the GPL assures that\npatents cannot be used to render the program non-free.\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 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. Use with the GNU Affero General Public License.\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 Affero 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 special requirements of the GNU Affero General Public License,\nsection 13, concerning interaction through a network will apply to the\ncombination as such.\n\n  14. Revised Versions of this License.\n\n  The Free Software Foundation may publish revised and/or new versions of\nthe GNU General Public License from time to time.  Such new versions will\nbe 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 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 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 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 General Public License as published by\n    the Free Software Foundation, either version 3 of the License, or\n    (at your option) any later version.\n\n    This program is distributed in the hope that it will be useful,\n    but WITHOUT ANY WARRANTY; without even the implied warranty of\n    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n    GNU General Public License for more details.\n\n    You should have received a copy of the GNU General Public License\n    along with this program.  If not, see <https://www.gnu.org/licenses/>.\n\nAlso add information on how to contact you by electronic and paper mail.\n\n  If the program does terminal interaction, make it output a short\nnotice like this when it starts in an interactive mode:\n\n    <program>  Copyright (C) <year>  <name of author>\n    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\n    This is free software, and you are welcome to redistribute it\n    under certain conditions; type `show c' for details.\n\nThe hypothetical commands `show w' and `show c' should show the appropriate\nparts of the General Public License.  Of course, your program's commands\nmight be different; for a GUI interface, you would use an \"about box\".\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 GPL, see\n<https://www.gnu.org/licenses/>.\n\n  The GNU General Public License does not permit incorporating your program\ninto proprietary programs.  If your program is a subroutine library, you\nmay consider it more useful to permit linking proprietary applications with\nthe library.  If this is what you want to do, use the GNU Lesser General\nPublic License instead of this License.  But first, please read\n<https://www.gnu.org/licenses/why-not-lgpl.html>.\n"
  },
  {
    "path": "README.md",
    "content": "![GitHub contributors](https://img.shields.io/github/contributors/arthurdeka/cedro-modern-dock?style=for-the-badge)\n![GitHub forks](https://img.shields.io/github/forks/arthurdeka/cedro-modern-dock?style=for-the-badge)\n![GitHub Repo stars](https://img.shields.io/github/stars/arthurdeka/cedro-modern-dock?style=for-the-badge)\n![GitHub Issues or Pull Requests](https://img.shields.io/github/issues/arthurdeka/cedro-modern-dock?style=for-the-badge)\n![GitHub License](https://img.shields.io/github/license/arthurdeka/cedro-modern-dock?style=for-the-badge)\n![X (formerly Twitter) Follow](https://img.shields.io/twitter/follow/TeiuAlligator?style=for-the-badge)\n\n\n<img width=\"769\" height=\"163\" alt=\"img1\" src=\"https://github.com/user-attachments/assets/3a7cf5f1-a203-4d7b-aa9f-6e0904031eb5\" />\n<img width=\"785\" height=\"270\" alt=\"img3\" src=\"https://github.com/user-attachments/assets/1489345d-4ddc-4482-a074-ca676da8eb28\" />\n\n\n\n> Follow @TeiuAlligator on X to stay tuned for new features and updates!\n\n\n> ## How To Install\n> 1. Go to [Releases](https://github.com/arthurdeka/cedro-modern-dock/releases):\n> 2. Download the latest `CedroSetup.exe` file\n> 3. Execute and install\n<br>\n\n## Features\n\n- **Quick Launch Shortcuts:** Add your favorite `.exe` files to the dock for fast access.\n- **Folder Shortcuts:** Pin folders alongside apps and open them directly from the dock.\n- **Built-in Windows Modules:** Add native Windows shortcuts such as **This PC**, **Recycle Bin**, **Control Panel**, and **Settings**.\n- **Appearance Customization:** Adjust icon size, spacing, background color, transparency, and dock corner rounding.\n- **Flexible Positioning:** Choose between a static anchored layout with per-edge spacing or a dynamic draggable dock.\n- **Running App Indicators:** Program shortcuts show a live indicator when matching windows are currently open.\n- **Window Preview Popup:** Hovering a running app can show its open windows, and clicking a preview brings that window to the front.\n- **Desktop-Friendly Behavior:** Includes system tray integration for quick access to settings.\n<br>\n\n## Supported Languages\n\n- 🇺🇸  English\n- 🇧🇷 Portuguese (Brazil)\n- 🇪🇸 Spanish\n- 🇫🇷 French\n- 🇩🇪 German\n- 🇯🇵 Japanese\n- 🇨🇳 Chinese (Simplified)\n- 🇹🇼 Chinese (Traditional)\n- 🇮🇳 Hindi\n- 🇸🇦 Arabic\n- 🇧🇩 Bengali\n- 🇷🇺 Russian\n- 🇵🇰 Urdu\n- 🇮🇩 Indonesian\n- 🇳🇬 Nigerian Pidgin\n- 🇮🇳 Marathi\n- 🇮🇳 Telugu\n- 🇹🇷 Turkish\n- 🇮🇳 Tamil\n- 🇭🇰 Cantonese\n- 🇻🇳 Vietnamese\n<br>\n\n<!-- BUILT WITH -->\n## Built With\n\n* ![JavaFX](https://img.shields.io/badge/javafx-%23FF0000.svg?style=for-the-badge&logo=javafx&logoColor=white)\n<br>\n\n<!-- GETTING STARTED -->\n## How To Contribute\n> Only for those who wish to contribute in the project's coding, none of this is required for you to do if you [just want to download it](https://github.com/arthurdeka/cedro-modern-dock/releases)\n### Understand the project architecture:\n\nThe project now follows a lightweight layered architecture:\n\n- `controller`: JavaFX controllers and UI event handling\n- `application`: dock use cases, appearance rules, item actions and preview orchestration\n- `domain`: ports/interfaces for persistence, icon resolution, program launch and native window queries\n- `infrastructure`: Jackson persistence and Windows-specific adapters\n- `model`: serializable dock data structures used by the application layer\n- `view` and `resources`: popup rendering, FXML, CSS and static assets\n\n`App.java` is responsible for composing these dependencies and injecting them into the JavaFX controllers.\n\n<!-- PREREQUISITES -->\n### Prerequisites\n\nBefore you begin, ensure you have the following installed on your system: (required only for development)\n\n- **An IDE** (IntelliJ IDEA recommended).\n- **JDK 21**.\n- **Apache Maven**.\n- **Git** for cloning the repository.\n\n<br>\n\n### How To Run Locally\n\n1. Clone the repository\n2. Before running, make sure to install all the dependencies\n3. Run `App.java` to run the program\n4. Make desired changes\n5. Commit your changes\n6. Open a pull request\n\n<br>\n\n### How To `COMPILE` Locally\n\n1. Clone the repository\n2. Install all dependencies\n3. Run `mvn clean package` on the terminal\n4. The `.exe` file will be available at `target\\dist\\Cedro Modern Dock`\n\n<br>\n"
  },
  {
    "path": "mvnw",
    "content": "#!/bin/sh\n# ----------------------------------------------------------------------------\n# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements.  See the NOTICE file\n# distributed with this work for additional information\n# regarding copyright ownership.  The ASF licenses this file\n# to you under the Apache License, Version 2.0 (the\n# \"License\"); you may not use this file except in compliance\n# with the License.  You may obtain a copy of the License at\n#\n#    https://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing,\n# software distributed under the License is distributed on an\n# \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n# KIND, either express or implied.  See the License for the\n# specific language governing permissions and limitations\n# under the License.\n# ----------------------------------------------------------------------------\n\n# ----------------------------------------------------------------------------\n# Maven Start Up Batch script\n#\n# Required ENV vars:\n# ------------------\n#   JAVA_HOME - location of a JDK home dir\n#\n# Optional ENV vars\n# -----------------\n#   M2_HOME - location of maven2's installed home dir\n#   MAVEN_OPTS - parameters passed to the Java VM when running Maven\n#     e.g. to debug Maven itself, use\n#       set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000\n#   MAVEN_SKIP_RC - flag to disable loading of mavenrc files\n# ----------------------------------------------------------------------------\n\nif [ -z \"$MAVEN_SKIP_RC\" ] ; then\n\n  if [ -f /usr/local/etc/mavenrc ] ; then\n    . /usr/local/etc/mavenrc\n  fi\n\n  if [ -f /etc/mavenrc ] ; then\n    . /etc/mavenrc\n  fi\n\n  if [ -f \"$HOME/.mavenrc\" ] ; then\n    . \"$HOME/.mavenrc\"\n  fi\n\nfi\n\n# OS specific support.  $var _must_ be set to either true or false.\ncygwin=false;\ndarwin=false;\nmingw=false\ncase \"`uname`\" in\n  CYGWIN*) cygwin=true ;;\n  MINGW*) mingw=true;;\n  Darwin*) darwin=true\n    # Use /usr/libexec/java_home if available, otherwise fall back to /Library/Java/Home\n    # See https://developer.apple.com/library/mac/qa/qa1170/_index.html\n    if [ -z \"$JAVA_HOME\" ]; then\n      if [ -x \"/usr/libexec/java_home\" ]; then\n        export JAVA_HOME=\"`/usr/libexec/java_home`\"\n      else\n        export JAVA_HOME=\"/Library/Java/Home\"\n      fi\n    fi\n    ;;\nesac\n\nif [ -z \"$JAVA_HOME\" ] ; then\n  if [ -r /etc/gentoo-release ] ; then\n    JAVA_HOME=`java-config --jre-home`\n  fi\nfi\n\nif [ -z \"$M2_HOME\" ] ; then\n  ## resolve links - $0 may be a link to maven's home\n  PRG=\"$0\"\n\n  # need this for relative symlinks\n  while [ -h \"$PRG\" ] ; do\n    ls=`ls -ld \"$PRG\"`\n    link=`expr \"$ls\" : '.*-> \\(.*\\)$'`\n    if expr \"$link\" : '/.*' > /dev/null; then\n      PRG=\"$link\"\n    else\n      PRG=\"`dirname \"$PRG\"`/$link\"\n    fi\n  done\n\n  saveddir=`pwd`\n\n  M2_HOME=`dirname \"$PRG\"`/..\n\n  # make it fully qualified\n  M2_HOME=`cd \"$M2_HOME\" && pwd`\n\n  cd \"$saveddir\"\n  # echo Using m2 at $M2_HOME\nfi\n\n# For Cygwin, ensure paths are in UNIX format before anything is touched\nif $cygwin ; then\n  [ -n \"$M2_HOME\" ] &&\n    M2_HOME=`cygpath --unix \"$M2_HOME\"`\n  [ -n \"$JAVA_HOME\" ] &&\n    JAVA_HOME=`cygpath --unix \"$JAVA_HOME\"`\n  [ -n \"$CLASSPATH\" ] &&\n    CLASSPATH=`cygpath --path --unix \"$CLASSPATH\"`\nfi\n\n# For Mingw, ensure paths are in UNIX format before anything is touched\nif $mingw ; then\n  [ -n \"$M2_HOME\" ] &&\n    M2_HOME=\"`(cd \"$M2_HOME\"; pwd)`\"\n  [ -n \"$JAVA_HOME\" ] &&\n    JAVA_HOME=\"`(cd \"$JAVA_HOME\"; pwd)`\"\nfi\n\nif [ -z \"$JAVA_HOME\" ]; then\n  javaExecutable=\"`which javac`\"\n  if [ -n \"$javaExecutable\" ] && ! [ \"`expr \\\"$javaExecutable\\\" : '\\([^ ]*\\)'`\" = \"no\" ]; then\n    # readlink(1) is not available as standard on Solaris 10.\n    readLink=`which readlink`\n    if [ ! `expr \"$readLink\" : '\\([^ ]*\\)'` = \"no\" ]; then\n      if $darwin ; then\n        javaHome=\"`dirname \\\"$javaExecutable\\\"`\"\n        javaExecutable=\"`cd \\\"$javaHome\\\" && pwd -P`/javac\"\n      else\n        javaExecutable=\"`readlink -f \\\"$javaExecutable\\\"`\"\n      fi\n      javaHome=\"`dirname \\\"$javaExecutable\\\"`\"\n      javaHome=`expr \"$javaHome\" : '\\(.*\\)/bin'`\n      JAVA_HOME=\"$javaHome\"\n      export JAVA_HOME\n    fi\n  fi\nfi\n\nif [ -z \"$JAVACMD\" ] ; then\n  if [ -n \"$JAVA_HOME\"  ] ; then\n    if [ -x \"$JAVA_HOME/jre/sh/java\" ] ; then\n      # IBM's JDK on AIX uses strange locations for the executables\n      JAVACMD=\"$JAVA_HOME/jre/sh/java\"\n    else\n      JAVACMD=\"$JAVA_HOME/bin/java\"\n    fi\n  else\n    JAVACMD=\"`\\\\unset -f command; \\\\command -v java`\"\n  fi\nfi\n\nif [ ! -x \"$JAVACMD\" ] ; then\n  echo \"Error: JAVA_HOME is not defined correctly.\" >&2\n  echo \"  We cannot execute $JAVACMD\" >&2\n  exit 1\nfi\n\nif [ -z \"$JAVA_HOME\" ] ; then\n  echo \"Warning: JAVA_HOME environment variable is not set.\"\nfi\n\nCLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher\n\n# traverses directory structure from process work directory to filesystem root\n# first directory with .mvn subdirectory is considered project base directory\nfind_maven_basedir() {\n\n  if [ -z \"$1\" ]\n  then\n    echo \"Path not specified to find_maven_basedir\"\n    return 1\n  fi\n\n  basedir=\"$1\"\n  wdir=\"$1\"\n  while [ \"$wdir\" != '/' ] ; do\n    if [ -d \"$wdir\"/.mvn ] ; then\n      basedir=$wdir\n      break\n    fi\n    # workaround for JBEAP-8937 (on Solaris 10/Sparc)\n    if [ -d \"${wdir}\" ]; then\n      wdir=`cd \"$wdir/..\"; pwd`\n    fi\n    # end of workaround\n  done\n  echo \"${basedir}\"\n}\n\n# concatenates all lines of a file\nconcat_lines() {\n  if [ -f \"$1\" ]; then\n    echo \"$(tr -s '\\n' ' ' < \"$1\")\"\n  fi\n}\n\nBASE_DIR=`find_maven_basedir \"$(pwd)\"`\nif [ -z \"$BASE_DIR\" ]; then\n  exit 1;\nfi\n\n##########################################################################################\n# Extension to allow automatically downloading the maven-wrapper.jar from Maven-central\n# This allows using the maven wrapper in projects that prohibit checking in binary data.\n##########################################################################################\nif [ -r \"$BASE_DIR/.mvn/wrapper/maven-wrapper.jar\" ]; then\n    if [ \"$MVNW_VERBOSE\" = true ]; then\n      echo \"Found .mvn/wrapper/maven-wrapper.jar\"\n    fi\nelse\n    if [ \"$MVNW_VERBOSE\" = true ]; then\n      echo \"Couldn't find .mvn/wrapper/maven-wrapper.jar, downloading it ...\"\n    fi\n    if [ -n \"$MVNW_REPOURL\" ]; then\n      jarUrl=\"$MVNW_REPOURL/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar\"\n    else\n      jarUrl=\"https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar\"\n    fi\n    while IFS=\"=\" read key value; do\n      case \"$key\" in (wrapperUrl) jarUrl=\"$value\"; break ;;\n      esac\n    done < \"$BASE_DIR/.mvn/wrapper/maven-wrapper.properties\"\n    if [ \"$MVNW_VERBOSE\" = true ]; then\n      echo \"Downloading from: $jarUrl\"\n    fi\n    wrapperJarPath=\"$BASE_DIR/.mvn/wrapper/maven-wrapper.jar\"\n    if $cygwin; then\n      wrapperJarPath=`cygpath --path --windows \"$wrapperJarPath\"`\n    fi\n\n    if command -v wget > /dev/null; then\n        if [ \"$MVNW_VERBOSE\" = true ]; then\n          echo \"Found wget ... using wget\"\n        fi\n        if [ -z \"$MVNW_USERNAME\" ] || [ -z \"$MVNW_PASSWORD\" ]; then\n            wget \"$jarUrl\" -O \"$wrapperJarPath\" || rm -f \"$wrapperJarPath\"\n        else\n            wget --http-user=$MVNW_USERNAME --http-password=$MVNW_PASSWORD \"$jarUrl\" -O \"$wrapperJarPath\" || rm -f \"$wrapperJarPath\"\n        fi\n    elif command -v curl > /dev/null; then\n        if [ \"$MVNW_VERBOSE\" = true ]; then\n          echo \"Found curl ... using curl\"\n        fi\n        if [ -z \"$MVNW_USERNAME\" ] || [ -z \"$MVNW_PASSWORD\" ]; then\n            curl -o \"$wrapperJarPath\" \"$jarUrl\" -f\n        else\n            curl --user $MVNW_USERNAME:$MVNW_PASSWORD -o \"$wrapperJarPath\" \"$jarUrl\" -f\n        fi\n\n    else\n        if [ \"$MVNW_VERBOSE\" = true ]; then\n          echo \"Falling back to using Java to download\"\n        fi\n        javaClass=\"$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.java\"\n        # For Cygwin, switch paths to Windows format before running javac\n        if $cygwin; then\n          javaClass=`cygpath --path --windows \"$javaClass\"`\n        fi\n        if [ -e \"$javaClass\" ]; then\n            if [ ! -e \"$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class\" ]; then\n                if [ \"$MVNW_VERBOSE\" = true ]; then\n                  echo \" - Compiling MavenWrapperDownloader.java ...\"\n                fi\n                # Compiling the Java class\n                (\"$JAVA_HOME/bin/javac\" \"$javaClass\")\n            fi\n            if [ -e \"$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class\" ]; then\n                # Running the downloader\n                if [ \"$MVNW_VERBOSE\" = true ]; then\n                  echo \" - Running MavenWrapperDownloader.java ...\"\n                fi\n                (\"$JAVA_HOME/bin/java\" -cp .mvn/wrapper MavenWrapperDownloader \"$MAVEN_PROJECTBASEDIR\")\n            fi\n        fi\n    fi\nfi\n##########################################################################################\n# End of extension\n##########################################################################################\n\nexport MAVEN_PROJECTBASEDIR=${MAVEN_BASEDIR:-\"$BASE_DIR\"}\nif [ \"$MVNW_VERBOSE\" = true ]; then\n  echo $MAVEN_PROJECTBASEDIR\nfi\nMAVEN_OPTS=\"$(concat_lines \"$MAVEN_PROJECTBASEDIR/.mvn/jvm.config\") $MAVEN_OPTS\"\n\n# For Cygwin, switch paths to Windows format before running java\nif $cygwin; then\n  [ -n \"$M2_HOME\" ] &&\n    M2_HOME=`cygpath --path --windows \"$M2_HOME\"`\n  [ -n \"$JAVA_HOME\" ] &&\n    JAVA_HOME=`cygpath --path --windows \"$JAVA_HOME\"`\n  [ -n \"$CLASSPATH\" ] &&\n    CLASSPATH=`cygpath --path --windows \"$CLASSPATH\"`\n  [ -n \"$MAVEN_PROJECTBASEDIR\" ] &&\n    MAVEN_PROJECTBASEDIR=`cygpath --path --windows \"$MAVEN_PROJECTBASEDIR\"`\nfi\n\n# Provide a \"standardized\" way to retrieve the CLI args that will\n# work with both Windows and non-Windows executions.\nMAVEN_CMD_LINE_ARGS=\"$MAVEN_CONFIG $@\"\nexport MAVEN_CMD_LINE_ARGS\n\nWRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain\n\nexec \"$JAVACMD\" \\\n  $MAVEN_OPTS \\\n  $MAVEN_DEBUG_OPTS \\\n  -classpath \"$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar\" \\\n  \"-Dmaven.home=${M2_HOME}\" \\\n  \"-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}\" \\\n  ${WRAPPER_LAUNCHER} $MAVEN_CONFIG \"$@\"\n"
  },
  {
    "path": "mvnw.cmd",
    "content": "@REM ----------------------------------------------------------------------------\n@REM Licensed to the Apache Software Foundation (ASF) under one\n@REM or more contributor license agreements.  See the NOTICE file\n@REM distributed with this work for additional information\n@REM regarding copyright ownership.  The ASF licenses this file\n@REM to you under the Apache License, Version 2.0 (the\n@REM \"License\"); you may not use this file except in compliance\n@REM with the License.  You may obtain a copy of the License at\n@REM\n@REM    https://www.apache.org/licenses/LICENSE-2.0\n@REM\n@REM Unless required by applicable law or agreed to in writing,\n@REM software distributed under the License is distributed on an\n@REM \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n@REM KIND, either express or implied.  See the License for the\n@REM specific language governing permissions and limitations\n@REM under the License.\n@REM ----------------------------------------------------------------------------\n\n@REM ----------------------------------------------------------------------------\n@REM Maven Start Up Batch script\n@REM\n@REM Required ENV vars:\n@REM JAVA_HOME - location of a JDK home dir\n@REM\n@REM Optional ENV vars\n@REM M2_HOME - location of maven2's installed home dir\n@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands\n@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a keystroke before ending\n@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven\n@REM     e.g. to debug Maven itself, use\n@REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000\n@REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files\n@REM ----------------------------------------------------------------------------\n\n@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on'\n@echo off\n@REM set title of command window\ntitle %0\n@REM enable echoing by setting MAVEN_BATCH_ECHO to 'on'\n@if \"%MAVEN_BATCH_ECHO%\" == \"on\"  echo %MAVEN_BATCH_ECHO%\n\n@REM set %HOME% to equivalent of $HOME\nif \"%HOME%\" == \"\" (set \"HOME=%HOMEDRIVE%%HOMEPATH%\")\n\n@REM Execute a user defined script before this one\nif not \"%MAVEN_SKIP_RC%\" == \"\" goto skipRcPre\n@REM check for pre script, once with legacy .bat ending and once with .cmd ending\nif exist \"%USERPROFILE%\\mavenrc_pre.bat\" call \"%USERPROFILE%\\mavenrc_pre.bat\" %*\nif exist \"%USERPROFILE%\\mavenrc_pre.cmd\" call \"%USERPROFILE%\\mavenrc_pre.cmd\" %*\n:skipRcPre\n\n@setlocal\n\nset ERROR_CODE=0\n\n@REM To isolate internal variables from possible post scripts, we use another setlocal\n@setlocal\n\n@REM ==== START VALIDATION ====\nif not \"%JAVA_HOME%\" == \"\" goto OkJHome\n\necho.\necho Error: JAVA_HOME not found in your environment. >&2\necho Please set the JAVA_HOME variable in your environment to match the >&2\necho location of your Java installation. >&2\necho.\ngoto error\n\n:OkJHome\nif exist \"%JAVA_HOME%\\bin\\java.exe\" goto init\n\necho.\necho Error: JAVA_HOME is set to an invalid directory. >&2\necho JAVA_HOME = \"%JAVA_HOME%\" >&2\necho Please set the JAVA_HOME variable in your environment to match the >&2\necho location of your Java installation. >&2\necho.\ngoto error\n\n@REM ==== END VALIDATION ====\n\n:init\n\n@REM Find the project base dir, i.e. the directory that contains the folder \".mvn\".\n@REM Fallback to current working directory if not found.\n\nset MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR%\nIF NOT \"%MAVEN_PROJECTBASEDIR%\"==\"\" goto endDetectBaseDir\n\nset EXEC_DIR=%CD%\nset WDIR=%EXEC_DIR%\n:findBaseDir\nIF EXIST \"%WDIR%\"\\.mvn goto baseDirFound\ncd ..\nIF \"%WDIR%\"==\"%CD%\" goto baseDirNotFound\nset WDIR=%CD%\ngoto findBaseDir\n\n:baseDirFound\nset MAVEN_PROJECTBASEDIR=%WDIR%\ncd \"%EXEC_DIR%\"\ngoto endDetectBaseDir\n\n:baseDirNotFound\nset MAVEN_PROJECTBASEDIR=%EXEC_DIR%\ncd \"%EXEC_DIR%\"\n\n:endDetectBaseDir\n\nIF NOT EXIST \"%MAVEN_PROJECTBASEDIR%\\.mvn\\jvm.config\" goto endReadAdditionalConfig\n\n@setlocal EnableExtensions EnableDelayedExpansion\nfor /F \"usebackq delims=\" %%a in (\"%MAVEN_PROJECTBASEDIR%\\.mvn\\jvm.config\") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a\n@endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS%\n\n:endReadAdditionalConfig\n\nSET MAVEN_JAVA_EXE=\"%JAVA_HOME%\\bin\\java.exe\"\nset WRAPPER_JAR=\"%MAVEN_PROJECTBASEDIR%\\.mvn\\wrapper\\maven-wrapper.jar\"\nset WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain\n\nset DOWNLOAD_URL=\"https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar\"\n\nFOR /F \"usebackq tokens=1,2 delims==\" %%A IN (\"%MAVEN_PROJECTBASEDIR%\\.mvn\\wrapper\\maven-wrapper.properties\") DO (\n    IF \"%%A\"==\"wrapperUrl\" SET DOWNLOAD_URL=%%B\n)\n\n@REM Extension to allow automatically downloading the maven-wrapper.jar from Maven-central\n@REM This allows using the maven wrapper in projects that prohibit checking in binary data.\nif exist %WRAPPER_JAR% (\n    if \"%MVNW_VERBOSE%\" == \"true\" (\n        echo Found %WRAPPER_JAR%\n    )\n) else (\n    if not \"%MVNW_REPOURL%\" == \"\" (\n        SET DOWNLOAD_URL=\"%MVNW_REPOURL%/org/apache/maven/wrapper/maven-wrapper/3.1.0/maven-wrapper-3.1.0.jar\"\n    )\n    if \"%MVNW_VERBOSE%\" == \"true\" (\n        echo Couldn't find %WRAPPER_JAR%, downloading it ...\n        echo Downloading from: %DOWNLOAD_URL%\n    )\n\n    powershell -Command \"&{\"^\n\t\t\"$webclient = new-object System.Net.WebClient;\"^\n\t\t\"if (-not ([string]::IsNullOrEmpty('%MVNW_USERNAME%') -and [string]::IsNullOrEmpty('%MVNW_PASSWORD%'))) {\"^\n\t\t\"$webclient.Credentials = new-object System.Net.NetworkCredential('%MVNW_USERNAME%', '%MVNW_PASSWORD%');\"^\n\t\t\"}\"^\n\t\t\"[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $webclient.DownloadFile('%DOWNLOAD_URL%', '%WRAPPER_JAR%')\"^\n\t\t\"}\"\n    if \"%MVNW_VERBOSE%\" == \"true\" (\n        echo Finished downloading %WRAPPER_JAR%\n    )\n)\n@REM End of extension\n\n@REM Provide a \"standardized\" way to retrieve the CLI args that will\n@REM work with both Windows and non-Windows executions.\nset MAVEN_CMD_LINE_ARGS=%*\n\n%MAVEN_JAVA_EXE% ^\n  %JVM_CONFIG_MAVEN_PROPS% ^\n  %MAVEN_OPTS% ^\n  %MAVEN_DEBUG_OPTS% ^\n  -classpath %WRAPPER_JAR% ^\n  \"-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%\" ^\n  %WRAPPER_LAUNCHER% %MAVEN_CONFIG% %*\nif ERRORLEVEL 1 goto error\ngoto end\n\n:error\nset ERROR_CODE=1\n\n:end\n@endlocal & set ERROR_CODE=%ERROR_CODE%\n\nif not \"%MAVEN_SKIP_RC%\"==\"\" goto skipRcPost\n@REM check for post script, once with legacy .bat ending and once with .cmd ending\nif exist \"%USERPROFILE%\\mavenrc_post.bat\" call \"%USERPROFILE%\\mavenrc_post.bat\"\nif exist \"%USERPROFILE%\\mavenrc_post.cmd\" call \"%USERPROFILE%\\mavenrc_post.cmd\"\n:skipRcPost\n\n@REM pause the script if MAVEN_BATCH_PAUSE is set to 'on'\nif \"%MAVEN_BATCH_PAUSE%\"==\"on\" pause\n\nif \"%MAVEN_TERMINATE_CMD%\"==\"on\" exit %ERROR_CODE%\n\ncmd /C exit /B %ERROR_CODE%\n"
  },
  {
    "path": "pom.xml",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project xmlns=\"http://maven.apache.org/POM/4.0.0\"\n         xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n         xsi:schemaLocation=\"http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd\">\n    <modelVersion>4.0.0</modelVersion>\n\n    <groupId>com.github.arthurdeka</groupId>\n    <artifactId>cedro-modern-dock</artifactId>\n    <version>1.0</version>\n    <name>Cedro Modern Dock</name>\n\n    <properties>\n        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>\n        <junit.version>5.10.2</junit.version>\n    </properties>\n\n    <dependencies>\n        <dependency>\n            <groupId>org.openjfx</groupId>\n            <artifactId>javafx-controls</artifactId>\n            <version>23.0.1</version>\n            <classifier>win</classifier>\n        </dependency>\n\n        <dependency>\n            <groupId>org.openjfx</groupId>\n            <artifactId>javafx-fxml</artifactId>\n            <version>23.0.1</version>\n            <classifier>win</classifier>\n        </dependency>\n\n        <dependency>\n            <groupId>org.openjfx</groupId>\n            <artifactId>javafx-graphics</artifactId>\n            <version>23.0.1</version>\n            <classifier>win</classifier>\n        </dependency>\n\n        <dependency>\n            <groupId>org.openjfx</groupId>\n            <artifactId>javafx-base</artifactId>\n            <version>23.0.1</version>\n            <classifier>win</classifier>\n        </dependency>\n\n        <dependency>\n            <groupId>org.junit.jupiter</groupId>\n            <artifactId>junit-jupiter-api</artifactId>\n            <version>${junit.version}</version>\n            <scope>test</scope>\n        </dependency>\n\n        <dependency>\n            <groupId>org.junit.jupiter</groupId>\n            <artifactId>junit-jupiter-engine</artifactId>\n            <version>${junit.version}</version>\n            <scope>test</scope>\n        </dependency>\n\n        <dependency>\n            <groupId>net.java.dev.jna</groupId>\n            <artifactId>jna</artifactId>\n            <version>5.13.0</version>\n        </dependency>\n\n        <dependency>\n            <groupId>net.java.dev.jna</groupId>\n            <artifactId>jna-platform</artifactId>\n            <version>5.13.0</version>\n        </dependency>\n\n        <dependency>\n            <groupId>com.fasterxml.jackson.core</groupId>\n            <artifactId>jackson-databind</artifactId>\n            <version>2.17.2</version>\n        </dependency>\n\n        <dependency>\n            <groupId>org.projectlombok</groupId>\n            <artifactId>lombok</artifactId>\n            <version>1.18.38</version>\n            <scope>provided</scope>\n        </dependency>\n\n    </dependencies>\n\n    <build>\n        <plugins>\n            <plugin>\n                <groupId>org.apache.maven.plugins</groupId>\n                <artifactId>maven-compiler-plugin</artifactId>\n                <version>3.13.0</version>\n                <configuration>\n                    <source>21</source>\n                    <target>21</target>\n                    <annotationProcessorPaths>\n                        <path>\n                            <groupId>org.projectlombok</groupId>\n                            <artifactId>lombok</artifactId>\n                            <version>1.18.38</version>\n                        </path>\n                    </annotationProcessorPaths>\n                </configuration>\n            </plugin>\n\n            <plugin>\n                <groupId>org.apache.maven.plugins</groupId>\n                <artifactId>maven-surefire-plugin</artifactId>\n                <version>3.2.5</version>\n            </plugin>\n\n            <plugin>\n                <groupId>org.moditect</groupId>\n                <artifactId>moditect-maven-plugin</artifactId>\n                <version>1.2.1.Final</version>\n                <executions>\n                    <execution>\n                        <id>add-module-infos</id>\n                        <phase>package</phase>\n                        <goals>\n                            <goal>add-module-info</goal>\n                        </goals>\n                        <configuration>\n                            <outputDirectory>${project.build.directory}/modified-mods</outputDirectory>\n                            <modules>\n                                <module>\n                                    <artifact>\n                                        <groupId>net.java.dev.jna</groupId>\n                                        <artifactId>jna</artifactId>\n                                    </artifact>\n                                    <moduleInfo>\n                                        <name>com.sun.jna</name>\n                                    </moduleInfo>\n                                </module>\n                                <module>\n                                    <artifact>\n                                        <groupId>net.java.dev.jna</groupId>\n                                        <artifactId>jna-platform</artifactId>\n                                    </artifact>\n                                    <moduleInfoSource>\n                                        module com.sun.jna.platform {\n                                        // Declara a dependência CRÍTICA no módulo base\n                                        requires transitive com.sun.jna;\n                                        // Exporta os pacotes para que seu código possa usá-los\n                                        exports com.sun.jna.platform.win32;\n                                        }\n                                    </moduleInfoSource>\n                                </module>\n                            </modules>\n                        </configuration>\n                    </execution>\n                </executions>\n            </plugin>\n\n            <plugin>\n                <groupId>org.apache.maven.plugins</groupId>\n                <artifactId>maven-dependency-plugin</artifactId>\n                <version>3.7.1</version>\n                <executions>\n                    <execution>\n                        <id>copy-dependencies</id>\n                        <phase>package</phase>\n                        <goals>\n                            <goal>copy-dependencies</goal>\n                        </goals>\n                        <configuration>\n                            <outputDirectory>${project.build.directory}/mods</outputDirectory>\n                            <includeScope>runtime</includeScope>\n                            <excludeArtifactIds>jna,jna-platform</excludeArtifactIds>\n                        </configuration>\n                    </execution>\n                </executions>\n            </plugin>\n\n            <plugin>\n                <groupId>org.panteleyev</groupId>\n                <artifactId>jpackage-maven-plugin</artifactId>\n                <version>1.6.0</version>\n                <configuration>\n                    <name>Cedro Modern Dock</name>\n                    <destination>target/dist</destination>\n                    <module>com.github.arthurdeka.cedromoderndock/com.github.arthurdeka.cedromoderndock.App</module>\n                    <modulePaths>\n                        <path>${project.build.directory}/mods</path>\n                        <path>${project.build.directory}/modified-mods</path>\n                        <path>${project.build.directory}/${project.build.finalName}.jar</path>\n                    </modulePaths>\n                    <type>APP_IMAGE</type>\n                    <appVersion>${project.version}</appVersion>\n                    <vendor>com.github.arthurdeka</vendor>\n                    <copyright>Copyright (C) 2024</copyright>\n                    <icon>src/main/resources/com/github/arthurdeka/cedromoderndock/icons/cedro/logo_256_ICO.ico</icon>\n                </configuration>\n                <executions>\n                    <execution>\n                        <id>jpackage</id>\n                        <phase>package</phase>\n                        <goals>\n                            <goal>jpackage</goal>\n                        </goals>\n                    </execution>\n                </executions>\n            </plugin>\n        </plugins>\n    </build>\n</project>\n"
  },
  {
    "path": "src/main/java/com/github/arthurdeka/cedromoderndock/App.java",
    "content": "package com.github.arthurdeka.cedromoderndock;\n\nimport com.github.arthurdeka.cedromoderndock.application.AppServices;\nimport com.github.arthurdeka.cedromoderndock.application.DockAppearanceService;\nimport com.github.arthurdeka.cedromoderndock.application.DockItemActionService;\nimport com.github.arthurdeka.cedromoderndock.application.DockPositioningService;\nimport com.github.arthurdeka.cedromoderndock.application.DockService;\nimport com.github.arthurdeka.cedromoderndock.application.LocalizationService;\nimport com.github.arthurdeka.cedromoderndock.application.SupportedLanguage;\nimport com.github.arthurdeka.cedromoderndock.application.WindowPreviewService;\nimport com.github.arthurdeka.cedromoderndock.controller.DockController;\nimport com.github.arthurdeka.cedromoderndock.infrastructure.persistence.JsonDockRepository;\nimport com.github.arthurdeka.cedromoderndock.infrastructure.system.CachedWindowsIconGateway;\nimport com.github.arthurdeka.cedromoderndock.infrastructure.system.DefaultFolderLauncher;\nimport com.github.arthurdeka.cedromoderndock.infrastructure.system.DefaultProgramLauncher;\nimport com.github.arthurdeka.cedromoderndock.infrastructure.system.DefaultWindowsModuleLauncher;\nimport com.github.arthurdeka.cedromoderndock.infrastructure.system.JnaWindowQueryGateway;\nimport com.github.arthurdeka.cedromoderndock.model.DockPositioningMode;\nimport com.github.arthurdeka.cedromoderndock.util.SettingsWindowLauncher;\nimport com.github.arthurdeka.cedromoderndock.util.SingleInstanceGuard;\nimport com.github.arthurdeka.cedromoderndock.util.SystemTrayManager;\nimport javafx.application.Application;\nimport javafx.application.Platform;\nimport javafx.fxml.FXMLLoader;\nimport javafx.scene.Scene;\nimport javafx.scene.paint.Color;\nimport javafx.stage.Stage;\nimport javafx.stage.StageStyle;\n\nimport javax.swing.JOptionPane;\nimport java.io.IOException;\n\nimport static com.github.arthurdeka.cedromoderndock.util.UIUtils.setStageIcon;\n\npublic class App extends Application {\n    private static SingleInstanceGuard singleInstanceGuard;\n    private SystemTrayManager systemTrayManager;\n\n    @Override\n    public void start(Stage primaryStage) throws IOException {\n        AppServices appServices = createServices();\n\n        // invisble primary stage to dont show the dock icon in the taskbar\n        primaryStage.initStyle(StageStyle.UTILITY);\n        primaryStage.setOpacity(0);\n        primaryStage.show();\n\n        // creates a new stage for the dock\n        Stage dockStage = new Stage();\n\n        // loading dock interface and controller.\n        FXMLLoader loader = new FXMLLoader(App.class.getResource(\"fxml/DockView.fxml\"));\n        Scene scene = new Scene(loader.load());\n\n        // configuring dock stage.\n        dockStage.setTitle(\"Cedro Modern Dock\");\n        setStageIcon(dockStage);\n        // defining the invisible window as the \"owner\" of the dock (this makes the dock invisible).\n        dockStage.initOwner(primaryStage);\n        dockStage.initStyle(StageStyle.TRANSPARENT);\n        scene.setFill(Color.TRANSPARENT);\n        dockStage.setScene(scene);\n\n        DockController dockController = loader.getController();\n        dockController.setStage(dockStage);\n        dockController.setAppServices(appServices);\n        dockController.handleInitialization();\n\n        dockStage.iconifiedProperty().addListener((observable, wasIconified, isIconified) -> {\n            if (!isIconified) {\n                return;\n            }\n\n            Platform.runLater(() -> {\n                dockStage.setIconified(false);\n                if (!dockStage.isShowing()) {\n                    dockStage.show();\n                }\n            });\n        });\n\n        Platform.setImplicitExit(false);\n        dockStage.show();\n        appServices.positioningService().applyPosition(dockStage);\n        systemTrayManager = new SystemTrayManager(\n                () -> openSettingsWindow(appServices, dockController, dockStage),\n                Platform::exit\n        );\n        systemTrayManager.install();\n    }\n\n    @Override\n    public void stop() {\n        if (systemTrayManager != null) {\n            systemTrayManager.dispose();\n            systemTrayManager = null;\n        }\n        if (singleInstanceGuard != null) {\n            singleInstanceGuard.close();\n            singleInstanceGuard = null;\n        }\n    }\n\n    public static void main(String[] args) {\n        singleInstanceGuard = new SingleInstanceGuard();\n        if (!singleInstanceGuard.tryAcquire()) {\n            SupportedLanguage language = new JsonDockRepository().load().getLanguage();\n            JOptionPane.showMessageDialog(\n                    null,\n                    LocalizationService.bootstrapText(language, \"dialog.singleInstance.message\"),\n                    \"Cedro Modern Dock\",\n                    JOptionPane.WARNING_MESSAGE\n            );\n            return;\n        }\n\n        try {\n            launch();\n        } finally {\n            if (singleInstanceGuard != null) {\n                singleInstanceGuard.close();\n                singleInstanceGuard = null;\n            }\n        }\n    }\n\n    private AppServices createServices() {\n        DockService dockService = new DockService(new JsonDockRepository());\n        DockAppearanceService appearanceService = new DockAppearanceService(dockService);\n        DockPositioningService positioningService = new DockPositioningService(dockService);\n        LocalizationService localizationService = new LocalizationService(dockService);\n        DockItemActionService itemActionService = new DockItemActionService(\n                new DefaultProgramLauncher(),\n                new DefaultFolderLauncher(),\n                new DefaultWindowsModuleLauncher()\n        );\n        WindowPreviewService windowPreviewService = new WindowPreviewService(new JnaWindowQueryGateway());\n\n        return new AppServices(\n                dockService,\n                appearanceService,\n                positioningService,\n                itemActionService,\n                windowPreviewService,\n                new CachedWindowsIconGateway(),\n                localizationService\n        );\n    }\n\n    private void openSettingsWindow(AppServices appServices, DockController dockController, Stage dockStage) {\n        SettingsWindowLauncher.open(\n                appServices,\n                dockController::updateDockUI,\n                positioningMode -> handlePositioningModeChange(appServices, dockStage, positioningMode)\n        );\n    }\n\n    private void handlePositioningModeChange(\n            AppServices appServices,\n            Stage dockStage,\n            DockPositioningMode positioningMode\n    ) {\n        DockPositioningMode currentMode = appServices.positioningService().getPositioningMode();\n        if (currentMode == DockPositioningMode.STATIC && positioningMode == DockPositioningMode.DYNAMIC) {\n            appServices.dockService().setDockPosition(dockStage.getX(), dockStage.getY());\n        }\n        appServices.positioningService().setPositioningMode(positioningMode);\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/github/arthurdeka/cedromoderndock/application/AppServices.java",
    "content": "package com.github.arthurdeka.cedromoderndock.application;\n\nimport com.github.arthurdeka.cedromoderndock.domain.IconGateway;\n\npublic record AppServices(\n        DockService dockService,\n        DockAppearanceService appearanceService,\n        DockPositioningService positioningService,\n        DockItemActionService itemActionService,\n        WindowPreviewService windowPreviewService,\n        IconGateway iconGateway,\n        LocalizationService localizationService\n) {\n}\n"
  },
  {
    "path": "src/main/java/com/github/arthurdeka/cedromoderndock/application/DockAppearanceService.java",
    "content": "package com.github.arthurdeka.cedromoderndock.application;\n\nimport com.github.arthurdeka.cedromoderndock.model.DockModel;\n\npublic class DockAppearanceService {\n    private final DockService dockService;\n\n    public DockAppearanceService(DockService dockService) {\n        this.dockService = dockService;\n    }\n\n    public DockModel getDock() {\n        return dockService.getDock();\n    }\n\n    public int getIconsSize() {\n        return getDock().getIconsSize();\n    }\n\n    public void setIconsSize(int iconsSize) {\n        getDock().setIconsSize(iconsSize);\n        dockService.saveChanges();\n    }\n\n    public int getSpacingBetweenIcons() {\n        return getDock().getSpacingBetweenIcons();\n    }\n\n    public void setSpacingBetweenIcons(int spacingValue) {\n        getDock().setSpacingBetweenIcons(spacingValue);\n        dockService.saveChanges();\n    }\n\n    public int getDockTransparencyPercentage() {\n        return (int) (getDock().getDockTransparency() * 100);\n    }\n\n    public void setDockTransparencyPercentage(int value) {\n        getDock().setDockTransparency((double) value / 100);\n        dockService.saveChanges();\n    }\n\n    public int getDockBorderRounding() {\n        return getDock().getDockBorderRounding();\n    }\n\n    public void setDockBorderRounding(int value) {\n        getDock().setDockBorderRounding(value);\n        dockService.saveChanges();\n    }\n\n    public String getDockColorRGB() {\n        return getDock().getDockColorRGB();\n    }\n\n    public void setDockColorRGB(String value) {\n        getDock().setDockColorRGB(value);\n        dockService.saveChanges();\n    }\n\n    public DockTheme getDockTheme() {\n        DockModel dock = getDock();\n        return new DockTheme(dock.getDockColorRGB(), dock.getDockTransparency(), dock.getDockBorderRounding());\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/github/arthurdeka/cedromoderndock/application/DockItemActionService.java",
    "content": "package com.github.arthurdeka.cedromoderndock.application;\n\nimport com.github.arthurdeka.cedromoderndock.domain.FolderLauncher;\nimport com.github.arthurdeka.cedromoderndock.domain.ProgramLauncher;\nimport com.github.arthurdeka.cedromoderndock.domain.WindowsModuleLauncher;\nimport com.github.arthurdeka.cedromoderndock.model.DockItem;\nimport com.github.arthurdeka.cedromoderndock.model.DockItemType;\nimport com.github.arthurdeka.cedromoderndock.model.DockFolderItemModel;\nimport com.github.arthurdeka.cedromoderndock.model.DockProgramItemModel;\nimport com.github.arthurdeka.cedromoderndock.model.DockWindowsModuleItemModel;\n\npublic class DockItemActionService {\n    private final FolderLauncher folderLauncher;\n    private final ProgramLauncher programLauncher;\n    private final WindowsModuleLauncher windowsModuleLauncher;\n\n    public DockItemActionService(\n            ProgramLauncher programLauncher,\n            FolderLauncher folderLauncher,\n            WindowsModuleLauncher windowsModuleLauncher\n    ) {\n        this.programLauncher = programLauncher;\n        this.folderLauncher = folderLauncher;\n        this.windowsModuleLauncher = windowsModuleLauncher;\n    }\n\n    public void execute(DockItem item, Runnable openSettingsAction) {\n        if (item.getType() == DockItemType.PROGRAM && item instanceof DockProgramItemModel programItem) {\n            programLauncher.launch(programItem.getExecutablePath(), programItem.getLabel());\n            return;\n        }\n\n        if (item.getType() == DockItemType.FOLDER && item instanceof DockFolderItemModel folderItem) {\n            folderLauncher.launch(folderItem.getFolderPath(), folderItem.getLabel());\n            return;\n        }\n\n        if (item.getType() == DockItemType.WINDOWS_MODULE && item instanceof DockWindowsModuleItemModel windowsModuleItem) {\n            windowsModuleLauncher.launch(windowsModuleItem.getModule(), windowsModuleItem.getLabel());\n            return;\n        }\n\n        if (item.getType() == DockItemType.SETTINGS) {\n            openSettingsAction.run();\n        }\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/github/arthurdeka/cedromoderndock/application/DockPositioningService.java",
    "content": "package com.github.arthurdeka.cedromoderndock.application;\n\nimport com.github.arthurdeka.cedromoderndock.model.DockHorizontalAnchor;\nimport com.github.arthurdeka.cedromoderndock.model.DockModel;\nimport com.github.arthurdeka.cedromoderndock.model.DockPositioningMode;\nimport com.github.arthurdeka.cedromoderndock.model.DockVerticalAnchor;\nimport javafx.geometry.Rectangle2D;\nimport javafx.stage.Screen;\nimport javafx.stage.Stage;\n\npublic class DockPositioningService {\n    private final DockService dockService;\n\n    public DockPositioningService(DockService dockService) {\n        this.dockService = dockService;\n    }\n\n    public DockPositioningMode getPositioningMode() {\n        return dockService.getDock().getPositioningMode();\n    }\n\n    public void setPositioningMode(DockPositioningMode positioningMode) {\n        dockService.getDock().setPositioningMode(positioningMode);\n        dockService.saveChanges();\n    }\n\n    public DockVerticalAnchor getVerticalAnchor() {\n        return dockService.getDock().getVerticalAnchor();\n    }\n\n    public void setVerticalAnchor(DockVerticalAnchor verticalAnchor) {\n        dockService.getDock().setVerticalAnchor(verticalAnchor);\n        dockService.saveChanges();\n    }\n\n    public DockHorizontalAnchor getHorizontalAnchor() {\n        return dockService.getDock().getHorizontalAnchor();\n    }\n\n    public void setHorizontalAnchor(DockHorizontalAnchor horizontalAnchor) {\n        dockService.getDock().setHorizontalAnchor(horizontalAnchor);\n        dockService.saveChanges();\n    }\n\n    public int getScreenEdgeSpacing() {\n        return dockService.getDock().getTopSpacing();\n    }\n\n    public void setScreenEdgeSpacing(int spacing) {\n        setTopSpacing(spacing);\n        setLeftSpacing(spacing);\n        setRightSpacing(spacing);\n        setBottomSpacing(spacing);\n    }\n\n    public int getTopSpacing() {\n        return dockService.getDock().getTopSpacing();\n    }\n\n    public void setTopSpacing(int spacing) {\n        dockService.getDock().setTopSpacing(Math.max(0, spacing));\n        dockService.saveChanges();\n    }\n\n    public int getLeftSpacing() {\n        return dockService.getDock().getLeftSpacing();\n    }\n\n    public void setLeftSpacing(int spacing) {\n        dockService.getDock().setLeftSpacing(Math.max(0, spacing));\n        dockService.saveChanges();\n    }\n\n    public int getRightSpacing() {\n        return dockService.getDock().getRightSpacing();\n    }\n\n    public void setRightSpacing(int spacing) {\n        dockService.getDock().setRightSpacing(Math.max(0, spacing));\n        dockService.saveChanges();\n    }\n\n    public int getBottomSpacing() {\n        return dockService.getDock().getBottomSpacing();\n    }\n\n    public void setBottomSpacing(int spacing) {\n        dockService.getDock().setBottomSpacing(Math.max(0, spacing));\n        dockService.saveChanges();\n    }\n\n    public boolean isDynamicPositioning() {\n        return getPositioningMode() == DockPositioningMode.DYNAMIC;\n    }\n\n    public void applyPosition(Stage stage) {\n        if (stage == null) {\n            return;\n        }\n\n        DockModel dock = dockService.getDock();\n        if (dock.getPositioningMode() == DockPositioningMode.DYNAMIC) {\n            stage.setX(snapToPixel(dock.getDockPositionX()));\n            stage.setY(snapToPixel(dock.getDockPositionY()));\n            return;\n        }\n\n        Rectangle2D bounds = Screen.getPrimary().getVisualBounds();\n        double stageWidth = stage.getWidth();\n        double stageHeight = stage.getHeight();\n\n        stage.setX(snapToPixel(resolveHorizontalPosition(bounds, stageWidth, dock)));\n        stage.setY(snapToPixel(resolveVerticalPosition(bounds, stageHeight, dock)));\n    }\n\n    static double snapToPixel(double value) {\n        return Math.round(value);\n    }\n\n    private double resolveHorizontalPosition(\n            Rectangle2D bounds,\n            double stageWidth,\n            DockModel dock\n    ) {\n        return switch (dock.getHorizontalAnchor()) {\n            case LEFT -> bounds.getMinX() + dock.getLeftSpacing();\n            case MIDDLE -> bounds.getMinX() + ((bounds.getWidth() - stageWidth) / 2);\n            case RIGHT -> bounds.getMaxX() - stageWidth - dock.getRightSpacing();\n        };\n    }\n\n    private double resolveVerticalPosition(\n            Rectangle2D bounds,\n            double stageHeight,\n            DockModel dock\n    ) {\n        return switch (dock.getVerticalAnchor()) {\n            case TOP -> bounds.getMinY() + dock.getTopSpacing();\n            case MIDDLE -> bounds.getMinY() + ((bounds.getHeight() - stageHeight) / 2);\n            case DOWN -> bounds.getMaxY() - stageHeight - dock.getBottomSpacing();\n        };\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/github/arthurdeka/cedromoderndock/application/DockService.java",
    "content": "package com.github.arthurdeka.cedromoderndock.application;\n\nimport com.github.arthurdeka.cedromoderndock.domain.DockRepository;\nimport com.github.arthurdeka.cedromoderndock.model.DockItem;\nimport com.github.arthurdeka.cedromoderndock.model.DockModel;\n\nimport java.util.List;\n\npublic class DockService {\n    private final DockRepository repository;\n    private final DockModel dock;\n\n    public DockService(DockRepository repository) {\n        this.repository = repository;\n        this.dock = repository.load();\n    }\n\n    public DockModel getDock() {\n        return dock;\n    }\n\n    public List<DockItem> getItems() {\n        return dock.getItems();\n    }\n\n    public void addItem(DockItem item) {\n        dock.addItem(item);\n        saveChanges();\n    }\n\n    public void removeItem(int index) {\n        dock.removeItem(index);\n        saveChanges();\n    }\n\n    public void swapItems(int firstItemIdx, int secondItemIdx) {\n        dock.swapItems(firstItemIdx, secondItemIdx);\n        saveChanges();\n    }\n\n    public void setDockPosition(double positionX, double positionY) {\n        dock.setDockPosition(\n                DockPositioningService.snapToPixel(positionX),\n                DockPositioningService.snapToPixel(positionY)\n        );\n        saveChanges();\n    }\n\n    public void saveChanges() {\n        repository.save(dock);\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/github/arthurdeka/cedromoderndock/application/DockTheme.java",
    "content": "package com.github.arthurdeka.cedromoderndock.application;\n\npublic record DockTheme(String colorRgb, double transparency, int borderRounding) {\n}\n"
  },
  {
    "path": "src/main/java/com/github/arthurdeka/cedromoderndock/application/LocalizationService.java",
    "content": "package com.github.arthurdeka.cedromoderndock.application;\n\nimport com.github.arthurdeka.cedromoderndock.model.DockItem;\nimport com.github.arthurdeka.cedromoderndock.model.DockItemType;\nimport com.github.arthurdeka.cedromoderndock.model.DockSettingsItemModel;\nimport com.github.arthurdeka.cedromoderndock.model.DockWindowsModuleItemModel;\n\nimport java.text.MessageFormat;\nimport java.util.List;\nimport java.util.MissingResourceException;\nimport java.util.ResourceBundle;\nimport java.util.concurrent.CopyOnWriteArrayList;\n\npublic class LocalizationService {\n    private static final String BUNDLE_BASE_NAME = \"com.github.arthurdeka.cedromoderndock.i18n.messages\";\n\n    private final DockService dockService;\n    private final List<Runnable> listeners = new CopyOnWriteArrayList<>();\n    private ResourceBundle bundle;\n\n    public LocalizationService(DockService dockService) {\n        this.dockService = dockService;\n        this.bundle = loadBundle(getCurrentLanguage());\n    }\n\n    public SupportedLanguage getCurrentLanguage() {\n        SupportedLanguage language = dockService.getDock().getLanguage();\n        return language == null ? SupportedLanguage.EN_US : language;\n    }\n\n    public void setLanguage(SupportedLanguage language) {\n        SupportedLanguage resolvedLanguage = language == null ? SupportedLanguage.EN_US : language;\n        if (resolvedLanguage == getCurrentLanguage()) {\n            return;\n        }\n\n        dockService.getDock().setLanguage(resolvedLanguage);\n        dockService.saveChanges();\n        bundle = loadBundle(resolvedLanguage);\n        notifyListeners();\n    }\n\n    public String text(String key, Object... arguments) {\n        String pattern = bundle.containsKey(key) ? bundle.getString(key) : key;\n        if (arguments == null || arguments.length == 0) {\n            return pattern;\n        }\n        return MessageFormat.format(pattern, arguments);\n    }\n\n    public String languageDisplayName(SupportedLanguage language) {\n        SupportedLanguage resolvedLanguage = language == null ? SupportedLanguage.EN_US : language;\n        return resolvedLanguage.nativeDisplayName();\n    }\n\n    public String dockItemLabel(DockItem item) {\n        if (item == null) {\n            return \"\";\n        }\n\n        if (item.getType() == DockItemType.SETTINGS || item instanceof DockSettingsItemModel) {\n            return text(\"dockItem.settings\");\n        }\n\n        if (item.getType() == DockItemType.WINDOWS_MODULE && item instanceof DockWindowsModuleItemModel windowsModuleItem) {\n            return switch (windowsModuleItem.getModule()) {\n                case \"mypc\" -> text(\"windowsModule.myComputer\");\n                case \"trash\" -> text(\"windowsModule.recycleBin\");\n                case \"ctrlpnl\" -> text(\"windowsModule.controlPanel\");\n                case \"pconfig\" -> text(\"windowsModule.settings\");\n                default -> item.getLabel();\n            };\n        }\n\n        return item.getLabel();\n    }\n\n    public void addListener(Runnable listener) {\n        listeners.add(listener);\n    }\n\n    public void removeListener(Runnable listener) {\n        listeners.remove(listener);\n    }\n\n    public static String bootstrapText(SupportedLanguage language, String key, Object... arguments) {\n        try {\n            ResourceBundle bundle = loadBundle(language == null ? SupportedLanguage.EN_US : language);\n            String pattern = bundle.containsKey(key) ? bundle.getString(key) : key;\n            if (arguments == null || arguments.length == 0) {\n                return pattern;\n            }\n            return MessageFormat.format(pattern, arguments);\n        } catch (MissingResourceException e) {\n            return key;\n        }\n    }\n\n    private void notifyListeners() {\n        for (Runnable listener : listeners) {\n            listener.run();\n        }\n    }\n\n    private static ResourceBundle loadBundle(SupportedLanguage language) {\n        return ResourceBundle.getBundle(BUNDLE_BASE_NAME, language.locale());\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/github/arthurdeka/cedromoderndock/application/ProgramSelectionResolver.java",
    "content": "package com.github.arthurdeka.cedromoderndock.application;\n\nimport java.io.IOException;\nimport java.nio.file.Files;\nimport java.nio.file.Path;\nimport java.util.Comparator;\nimport java.util.List;\nimport java.util.Locale;\nimport java.util.stream.Stream;\n\npublic final class ProgramSelectionResolver {\n\n    private ProgramSelectionResolver() {\n    }\n\n    public static ResolvedProgramSelection resolve(Path selectedExecutable) {\n        Path normalizedPath = selectedExecutable.toAbsolutePath().normalize();\n        Path resolvedExecutable = resolveSquirrelExecutable(normalizedPath);\n        return new ResolvedProgramSelection(\n                resolvedExecutable.toString(),\n                stripExtension(resolvedExecutable.getFileName().toString())\n        );\n    }\n\n    private static Path resolveSquirrelExecutable(Path selectedExecutable) {\n        if (!isUpdaterExecutable(selectedExecutable)) {\n            return selectedExecutable;\n        }\n\n        Path installDir = selectedExecutable.getParent();\n        if (installDir == null) {\n            return selectedExecutable;\n        }\n\n        String installFolderName = installDir.getFileName() == null ? \"\" : installDir.getFileName().toString();\n        List<Path> appDirectories = listAppDirectories(installDir);\n        for (Path appDirectory : appDirectories) {\n            Path preferredExecutable = appDirectory.resolve(installFolderName + \".exe\");\n            if (Files.isRegularFile(preferredExecutable)) {\n                return preferredExecutable;\n            }\n\n            Path fallbackExecutable = findFirstExecutable(appDirectory);\n            if (fallbackExecutable != null) {\n                return fallbackExecutable;\n            }\n        }\n\n        return selectedExecutable;\n    }\n\n    private static boolean isUpdaterExecutable(Path executablePath) {\n        Path fileName = executablePath.getFileName();\n        return fileName != null && fileName.toString().equalsIgnoreCase(\"Update.exe\");\n    }\n\n    private static List<Path> listAppDirectories(Path installDir) {\n        try (Stream<Path> paths = Files.list(installDir)) {\n            return paths\n                    .filter(Files::isDirectory)\n                    .filter(path -> path.getFileName() != null)\n                    .filter(path -> path.getFileName().toString().toLowerCase(Locale.ROOT).startsWith(\"app-\"))\n                    .sorted(Comparator.comparing(ProgramSelectionResolver::lastModifiedTime).reversed())\n                    .toList();\n        } catch (IOException e) {\n            return List.of();\n        }\n    }\n\n    private static long lastModifiedTime(Path path) {\n        try {\n            return Files.getLastModifiedTime(path).toMillis();\n        } catch (IOException e) {\n            return Long.MIN_VALUE;\n        }\n    }\n\n    private static Path findFirstExecutable(Path appDirectory) {\n        try (Stream<Path> files = Files.list(appDirectory)) {\n            return files\n                    .filter(Files::isRegularFile)\n                    .filter(path -> path.getFileName() != null)\n                    .filter(path -> path.getFileName().toString().toLowerCase(Locale.ROOT).endsWith(\".exe\"))\n                    .filter(path -> !path.getFileName().toString().equalsIgnoreCase(\"Update.exe\"))\n                    .sorted(Comparator.comparing(path -> path.getFileName().toString()))\n                    .findFirst()\n                    .orElse(null);\n        } catch (IOException e) {\n            return null;\n        }\n    }\n\n    private static String stripExtension(String fileName) {\n        int lastDot = fileName.lastIndexOf('.');\n        return lastDot > 0 ? fileName.substring(0, lastDot) : fileName;\n    }\n\n    public record ResolvedProgramSelection(String executablePath, String label) {\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/github/arthurdeka/cedromoderndock/application/SupportedLanguage.java",
    "content": "package com.github.arthurdeka.cedromoderndock.application;\n\nimport java.util.Locale;\n\npublic enum SupportedLanguage {\n    EN_US(\"en\", \"US\", \"English\"),\n    ZH_CN(\"zh\", \"CN\", \"\\u7B80\\u4F53\\u4E2D\\u6587\"),\n    ZH_TW(\"zh\", \"TW\", \"\\u7E41\\u9AD4\\u4E2D\\u6587\"),\n    HI_IN(\"hi\", \"IN\", \"\\u0939\\u093F\\u0928\\u094D\\u0926\\u0940\"),\n    ES_ES(\"es\", \"ES\", \"Espa\\u00F1ol\"),\n    FR_FR(\"fr\", \"FR\", \"Fran\\u00E7ais\"),\n    AR_SA(\"ar\", \"SA\", \"\\u0627\\u0644\\u0639\\u0631\\u0628\\u064A\\u0629\"),\n    BN_BD(\"bn\", \"BD\", \"\\u09AC\\u09BE\\u0982\\u09B2\\u09BE\"),\n    PT_BR(\"pt\", \"BR\", \"Portugu\\u00EAs (Brasil)\"),\n    RU_RU(\"ru\", \"RU\", \"\\u0420\\u0443\\u0441\\u0441\\u043A\\u0438\\u0439\"),\n    UR_PK(\"ur\", \"PK\", \"\\u0627\\u0631\\u062F\\u0648\"),\n    ID_ID(\"id\", \"ID\", \"Bahasa Indonesia\"),\n    DE_DE(\"de\", \"DE\", \"Deutsch\"),\n    JA_JP(\"ja\", \"JP\", \"\\u65E5\\u672C\\u8A9E\"),\n    PCM_NG(\"pcm\", \"NG\", \"Naij\\u00E1\"),\n    MR_IN(\"mr\", \"IN\", \"\\u092E\\u0930\\u093E\\u0920\\u0940\"),\n    TE_IN(\"te\", \"IN\", \"\\u0C24\\u0C46\\u0C32\\u0C41\\u0C17\\u0C41\"),\n    TR_TR(\"tr\", \"TR\", \"T\\u00FCrk\\u00E7e\"),\n    TA_IN(\"ta\", \"IN\", \"\\u0BA4\\u0BAE\\u0BBF\\u0BB4\\u0BCD\"),\n    YUE_HK(\"yue\", \"HK\", \"\\u7CB5\\u8A9E\"),\n    VI_VN(\"vi\", \"VN\", \"Ti\\u1EBFng Vi\\u1EC7t\");\n\n    private final Locale locale;\n    private final String nativeDisplayName;\n\n    SupportedLanguage(String language, String country, String nativeDisplayName) {\n        this.locale = Locale.of(language, country);\n        this.nativeDisplayName = nativeDisplayName;\n    }\n\n    public Locale locale() {\n        return locale;\n    }\n\n    public String nativeDisplayName() {\n        return nativeDisplayName;\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/github/arthurdeka/cedromoderndock/application/WindowPreviewService.java",
    "content": "package com.github.arthurdeka.cedromoderndock.application;\n\nimport com.github.arthurdeka.cedromoderndock.domain.WindowQueryGateway;\nimport com.github.arthurdeka.cedromoderndock.model.DockProgramItemModel;\nimport com.github.arthurdeka.cedromoderndock.util.NativeWindowUtils;\n\nimport java.util.List;\n\npublic class WindowPreviewService {\n    private final WindowQueryGateway windowQueryGateway;\n\n    public WindowPreviewService(WindowQueryGateway windowQueryGateway) {\n        this.windowQueryGateway = windowQueryGateway;\n    }\n\n    public List<NativeWindowUtils.WindowInfo> loadPreview(DockProgramItemModel item) {\n        return windowQueryGateway.findOpenWindows(item.getExecutablePath());\n    }\n\n    public boolean hasOpenWindows(String executablePath) {\n        return !windowQueryGateway.findOpenWindows(executablePath).isEmpty();\n    }\n\n    public void activate(NativeWindowUtils.WindowInfo windowInfo) {\n        windowQueryGateway.activate(windowInfo);\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/github/arthurdeka/cedromoderndock/controller/AcknowledgementsModalController.java",
    "content": "package com.github.arthurdeka.cedromoderndock.controller;\n\nimport com.github.arthurdeka.cedromoderndock.application.AppServices;\nimport javafx.fxml.FXML;\nimport javafx.scene.control.Label;\nimport javafx.stage.Stage;\nimport javafx.stage.WindowEvent;\n\npublic class AcknowledgementsModalController {\n    @FXML\n    private Label titleLabel;\n    @FXML\n    private Label subtitleLabel;\n    @FXML\n    private Label sectionTitleLabel;\n\n    private AppServices appServices;\n    private final Runnable localizationListener = this::applyLocalizedTexts;\n    private boolean localizationRegistered;\n    private boolean cleanupRegistered;\n\n    public void initialize() {\n        titleLabel.sceneProperty().addListener((observableValue, oldScene, newScene) -> {\n            if (newScene == null) {\n                return;\n            }\n\n            newScene.windowProperty().addListener((windowObservable, oldWindow, newWindow) -> {\n                if (newWindow == null) {\n                    return;\n                }\n                updateWindowTitle();\n                if (!cleanupRegistered) {\n                    cleanupRegistered = true;\n                    newWindow.addEventHandler(WindowEvent.WINDOW_HIDDEN, event -> unregisterLocalizationListener());\n                }\n            });\n        });\n    }\n\n    public void handleInitialization() {\n        if (!localizationRegistered) {\n            appServices.localizationService().addListener(localizationListener);\n            localizationRegistered = true;\n        }\n        applyLocalizedTexts();\n    }\n\n    public void setAppServices(AppServices appServices) {\n        this.appServices = appServices;\n    }\n\n    private void applyLocalizedTexts() {\n        if (appServices == null) {\n            return;\n        }\n\n        titleLabel.setText(text(\"acknowledgements.title\"));\n        subtitleLabel.setText(text(\"acknowledgements.subtitle\"));\n        sectionTitleLabel.setText(text(\"acknowledgements.sectionTitle\"));\n        updateWindowTitle();\n    }\n\n    private void updateWindowTitle() {\n        if (titleLabel.getScene() != null && titleLabel.getScene().getWindow() instanceof Stage stage && appServices != null) {\n            stage.setTitle(text(\"acknowledgements.window.title\"));\n        }\n    }\n\n    private void unregisterLocalizationListener() {\n        if (appServices != null && localizationRegistered) {\n            appServices.localizationService().removeListener(localizationListener);\n            localizationRegistered = false;\n        }\n    }\n\n    private String text(String key) {\n        return appServices.localizationService().text(key);\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/github/arthurdeka/cedromoderndock/controller/AddWindowsModulesModalController.java",
    "content": "package com.github.arthurdeka.cedromoderndock.controller;\n\nimport com.github.arthurdeka.cedromoderndock.App;\nimport com.github.arthurdeka.cedromoderndock.application.AppServices;\nimport com.github.arthurdeka.cedromoderndock.model.DockPositioningMode;\nimport com.github.arthurdeka.cedromoderndock.model.DockWindowsModuleItemModel;\nimport com.github.arthurdeka.cedromoderndock.util.Logger;\nimport javafx.fxml.FXML;\nimport javafx.fxml.FXMLLoader;\nimport javafx.scene.Parent;\nimport javafx.scene.Scene;\nimport javafx.scene.control.Button;\nimport javafx.scene.control.Label;\nimport javafx.scene.control.ListView;\nimport javafx.stage.Stage;\nimport javafx.stage.WindowEvent;\n\nimport java.util.List;\nimport java.util.function.Consumer;\n\nimport static com.github.arthurdeka.cedromoderndock.util.UIUtils.setStageIcon;\n\npublic class AddWindowsModulesModalController {\n    private static final List<String> MODULE_IDS = List.of(\"mypc\", \"trash\", \"ctrlpnl\", \"pconfig\");\n\n    @FXML\n    private Label titleLabel;\n    @FXML\n    private Label subtitleLabel;\n    @FXML\n    private Label availableModulesTitleLabel;\n    @FXML\n    private Label availableModulesHelperLabel;\n    @FXML\n    private ListView<String> listView;\n    @FXML\n    private Button addSelectedModuleButton;\n\n    private AppServices appServices;\n    private Runnable dockRefreshAction = () -> {};\n    private Consumer<DockPositioningMode> positioningModeChangeAction = positioningMode -> {};\n    private final Runnable localizationListener = this::applyLocalizedTexts;\n    private boolean localizationRegistered;\n    private boolean cleanupRegistered;\n\n    public void initialize() {\n        Logger.info(\"[Initializing] AddWindowsModulesModalController\");\n        listView.sceneProperty().addListener((observableValue, oldScene, newScene) -> {\n            if (newScene == null) {\n                return;\n            }\n\n            newScene.windowProperty().addListener((windowObservable, oldWindow, newWindow) -> {\n                if (newWindow == null) {\n                    return;\n                }\n                updateWindowTitle();\n                if (!cleanupRegistered) {\n                    cleanupRegistered = true;\n                    newWindow.addEventHandler(WindowEvent.WINDOW_HIDDEN, event -> unregisterLocalizationListener());\n                }\n            });\n        });\n    }\n\n    public void handleInitialization() {\n        if (!localizationRegistered) {\n            appServices.localizationService().addListener(localizationListener);\n            localizationRegistered = true;\n        }\n        applyLocalizedTexts();\n    }\n\n    @FXML\n    private void handleAddSelectedModule() {\n        int selectedIdx = listView.getSelectionModel().getSelectedIndex();\n        if (selectedIdx < 0 || selectedIdx >= MODULE_IDS.size()) {\n            return;\n        }\n\n        String moduleId = MODULE_IDS.get(selectedIdx);\n        appServices.dockService().addItem(new DockWindowsModuleItemModel(defaultModuleLabel(moduleId), moduleId));\n        dockRefreshAction.run();\n        openSettingsWindow();\n    }\n\n    private void openSettingsWindow() {\n        try {\n            Stage currentStage = (Stage) listView.getScene().getWindow();\n\n            FXMLLoader loader = new FXMLLoader(App.class.getResource(\"fxml/DockSettingsView.fxml\"));\n            Parent root = loader.load();\n\n            SettingsController settingsController = loader.getController();\n            settingsController.setAppServices(appServices);\n            settingsController.setDockRefreshAction(dockRefreshAction);\n            settingsController.setPositioningModeChangeAction(positioningModeChangeAction);\n            settingsController.handleInitialization();\n\n            Stage stage = new Stage();\n            stage.setTitle(text(\"settings.window.title\"));\n            setStageIcon(stage);\n            stage.setScene(new Scene(root));\n            stage.show();\n            stage.setMinHeight(stage.getHeight());\n            stage.setMaxHeight(stage.getHeight());\n\n            currentStage.close();\n        } catch (Exception e) {\n            throw new RuntimeException(e);\n        }\n    }\n\n    public void setAppServices(AppServices appServices) {\n        this.appServices = appServices;\n    }\n\n    public void setDockRefreshAction(Runnable dockRefreshAction) {\n        this.dockRefreshAction = dockRefreshAction;\n    }\n\n    public void setPositioningModeChangeAction(Consumer<DockPositioningMode> positioningModeChangeAction) {\n        this.positioningModeChangeAction = positioningModeChangeAction;\n    }\n\n    private void applyLocalizedTexts() {\n        if (appServices == null) {\n            return;\n        }\n\n        titleLabel.setText(text(\"windowsModule.modal.title\"));\n        subtitleLabel.setText(text(\"windowsModule.modal.subtitle\"));\n        availableModulesTitleLabel.setText(text(\"windowsModule.modal.available.title\"));\n        availableModulesHelperLabel.setText(text(\"windowsModule.modal.available.helper\"));\n        addSelectedModuleButton.setText(text(\"windowsModule.modal.addSelected\"));\n        listView.getItems().setAll(MODULE_IDS.stream().map(this::resolveModuleLabel).toList());\n        updateWindowTitle();\n    }\n\n    private String resolveModuleLabel(String moduleId) {\n        return switch (moduleId) {\n            case \"mypc\" -> text(\"windowsModule.myComputer\");\n            case \"trash\" -> text(\"windowsModule.recycleBin\");\n            case \"ctrlpnl\" -> text(\"windowsModule.controlPanel\");\n            case \"pconfig\" -> text(\"windowsModule.settings\");\n            default -> moduleId;\n        };\n    }\n\n    private String defaultModuleLabel(String moduleId) {\n        return switch (moduleId) {\n            case \"mypc\" -> \"My Computer\";\n            case \"trash\" -> \"Recycle Bin\";\n            case \"ctrlpnl\" -> \"Control Panel\";\n            case \"pconfig\" -> \"Settings\";\n            default -> moduleId;\n        };\n    }\n\n    private void updateWindowTitle() {\n        if (listView.getScene() != null && listView.getScene().getWindow() instanceof Stage stage && appServices != null) {\n            stage.setTitle(text(\"windowsModule.modal.title\"));\n        }\n    }\n\n    private void unregisterLocalizationListener() {\n        if (appServices != null && localizationRegistered) {\n            appServices.localizationService().removeListener(localizationListener);\n            localizationRegistered = false;\n        }\n    }\n\n    private String text(String key) {\n        return appServices.localizationService().text(key);\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/github/arthurdeka/cedromoderndock/controller/DockController.java",
    "content": "package com.github.arthurdeka.cedromoderndock.controller;\n\nimport com.github.arthurdeka.cedromoderndock.App;\nimport com.github.arthurdeka.cedromoderndock.application.AppServices;\nimport com.github.arthurdeka.cedromoderndock.application.DockTheme;\nimport com.github.arthurdeka.cedromoderndock.model.DockItem;\nimport com.github.arthurdeka.cedromoderndock.model.DockFolderItemModel;\nimport com.github.arthurdeka.cedromoderndock.model.DockPositioningMode;\nimport com.github.arthurdeka.cedromoderndock.model.DockProgramItemModel;\nimport com.github.arthurdeka.cedromoderndock.model.DockSettingsItemModel;\nimport com.github.arthurdeka.cedromoderndock.model.DockWindowsModuleItemModel;\nimport com.github.arthurdeka.cedromoderndock.util.Logger;\nimport javafx.application.Platform;\nimport javafx.animation.PauseTransition;\nimport javafx.concurrent.Task;\nimport javafx.util.Duration;\nimport com.github.arthurdeka.cedromoderndock.util.NativeWindowUtils;\nimport com.github.arthurdeka.cedromoderndock.view.WindowPreviewPopup;\nimport javafx.fxml.FXML;\nimport javafx.fxml.FXMLLoader;\nimport javafx.scene.Parent;\nimport javafx.scene.Scene;\nimport javafx.scene.control.Button;\nimport javafx.scene.image.Image;\nimport javafx.scene.image.ImageView;\nimport javafx.scene.layout.AnchorPane;\nimport javafx.scene.layout.HBox;\nimport javafx.scene.layout.VBox;\nimport javafx.geometry.Pos;\nimport javafx.scene.paint.Color;\nimport javafx.scene.shape.Circle;\nimport javafx.scene.shape.Rectangle;\nimport javafx.stage.Stage;\n\nimport java.nio.file.Files;\nimport java.nio.file.Path;\nimport java.util.ArrayList;\nimport java.util.HashMap;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.concurrent.ExecutorService;\nimport java.util.concurrent.Executors;\n\nimport com.github.arthurdeka.cedromoderndock.util.SettingsWindowLauncher;\n\npublic class DockController {\n    private static final double HOVER_SCALE = 1.3;\n\n    @FXML\n    private AnchorPane rootPane;\n\n    @FXML\n    private HBox hBoxContainer;\n\n    private AppServices appServices;\n    private Stage stage;\n    // Runs native window queries off the FX thread; single daemon thread avoids unbounded thread creation.\n    private final ExecutorService windowPreviewExecutor = Executors.newSingleThreadExecutor(r -> {\n        Thread t = new Thread(r, \"WindowPreviewFetcher\");\n        t.setDaemon(true);\n        return t;\n    });\n    private WindowPreviewPopup windowPreviewPopup;\n    private PauseTransition hideDebounce;\n    private boolean isHoveringPopup = false;\n    private Button currentHoverButton;\n    private Button popupOwnerButton;\n    private final ExecutorService openStateExecutor = Executors.newSingleThreadExecutor(r -> {\n        Thread t = new Thread(r, \"DockOpenStateWatcher\");\n        t.setDaemon(true);\n        return t;\n    });\n    private final Map<String, List<Circle>> programIndicators = new HashMap<>();\n    private final Rectangle dockClip = new Rectangle();\n    // Monotonic id to ignore stale async results from previous hover requests.\n    private int hoverRequestId = 0;\n    private final Runnable localizationListener = this::updateDockUI;\n\n    // variables for the enableDrag function\n    private double xOffset = 0;\n    private double yOffset = 0;\n\n    // Run when FXML is loaded\n    public void handleInitialization() {\n        appServices.localizationService().addListener(localizationListener);\n        dockClip.widthProperty().bind(hBoxContainer.widthProperty());\n        dockClip.heightProperty().bind(hBoxContainer.heightProperty());\n        hBoxContainer.setClip(dockClip);\n\n        // Popup that lists open windows for a program icon on hover.\n        windowPreviewPopup = new WindowPreviewPopup();\n        windowPreviewPopup.getContainer().setOnMouseEntered(e -> {\n            isHoveringPopup = true;\n            hideDebounce.stop();\n        });\n        windowPreviewPopup.getContainer().setOnMouseExited(e -> {\n            isHoveringPopup = false;\n            scheduleHide();\n        });\n\n        // Small delay prevents flicker when moving between icon and popup.\n        hideDebounce = new PauseTransition(Duration.millis(80));\n        hideDebounce.setOnFinished(e -> {\n            if (shouldHidePreview()) {\n                windowPreviewPopup.hide();\n                popupOwnerButton = null;\n            }\n        });\n\n        enableDrag();\n        updateDockUI();\n        startOpenStateWatcher();\n    }\n\n    // enables dock drag effect\n    private void enableDrag() {\n        rootPane.setOnMousePressed(event -> {\n            if (!appServices.positioningService().isDynamicPositioning()) {\n                return;\n            }\n            xOffset = event.getSceneX();\n            yOffset = event.getSceneY();\n        });\n        rootPane.setOnMouseDragged(event -> {\n            if (!appServices.positioningService().isDynamicPositioning()) {\n                return;\n            }\n            stage.setX(event.getScreenX() - xOffset);\n            stage.setY(event.getScreenY() - yOffset);\n        });\n\n        // saves the dock position on the model\n        rootPane.setOnMouseReleased(event -> {\n            if (!appServices.positioningService().isDynamicPositioning()) {\n                appServices.positioningService().applyPosition(stage);\n                return;\n            }\n            appServices.dockService().setDockPosition(stage.getX(), stage.getY());\n            appServices.positioningService().applyPosition(stage);\n        });\n    }\n\n    public void addDockItem(DockItem item) {\n        appServices.dockService().addItem(item);\n    }\n\n    public void removeDockItem(int index) {\n        appServices.dockService().removeItem(index);\n    }\n\n    public List<DockItem> getDockItems() {\n        return appServices.dockService().getItems();\n    }\n\n    public void swapItems(int firstItemIdx, int secondItemIdx) {\n        appServices.dockService().swapItems(firstItemIdx, secondItemIdx);\n        updateDockUI();\n    }\n\n    /* this method updates the DockView (actual rendered Dock) style and saves the changes */\n    public void updateDockUI() {\n        var dock = appServices.dockService().getDock();\n        hBoxContainer.getChildren().clear();\n        synchronized (programIndicators) {\n            programIndicators.clear();\n        }\n        dockClip.setArcWidth(dock.getDockBorderRounding() * 2.0);\n        dockClip.setArcHeight(dock.getDockBorderRounding() * 2.0);\n        hBoxContainer.setSpacing(getDockIconsSpacing());\n        hBoxContainer.setStyle(\"-fx-background-color: rgba(\" + dock.getDockColorRGB() + \" \" + dock.getDockTransparency() + \");\" + \"-fx-background-radius: \" + dock.getDockBorderRounding() + \";\");\n\n        for (DockItem item : dock.getItems()) {\n            Button button = createButton(item);\n            if (button != null) {\n                hBoxContainer.getChildren().add(button);\n            }\n        }\n\n        // resize DockView window to account for DockItem additions or removing\n        stage.sizeToScene();\n        appServices.positioningService().applyPosition(stage);\n        requestProgramIndicatorRefresh();\n    }\n\n    private Button createButton(DockItem item) {\n        String buttonLabel = appServices.localizationService().dockItemLabel(item);\n\n        if (item instanceof DockSettingsItemModel) {\n            Image icon = loadDockResourceImage(item.getPath());\n            ImageView imageView = createDockImageView(icon);\n\n            Button button = new Button(buttonLabel);\n            button.getStyleClass().add(\"dock-button\");\n            button.setGraphic(imageView);\n            button.setOnAction(e -> appServices.itemActionService().execute(item, this::openSettingsWindow));\n            return button;\n\n        } else if (item instanceof DockWindowsModuleItemModel) {\n            Image icon = loadDockResourceImage(item.getPath());\n            ImageView imageView = createDockImageView(icon);\n\n            Button button = new Button(buttonLabel);\n            button.getStyleClass().add(\"dock-button\");\n            button.setGraphic(imageView);\n            button.setOnAction(e -> appServices.itemActionService().execute(item, this::openSettingsWindow));\n            return button;\n        } else if (item instanceof DockProgramItemModel programItem) {\n            // Logic for DockProgramItemModel runs on a background thread.\n            Path iconPath = appServices.iconGateway().resolveProgramIcon(programItem.getExecutablePath());\n\n            // if file does not exist\n            if (iconPath == null || Files.notExists(iconPath)) {\n                Logger.error(\"DockController - createButton - path for cached icon not found\");\n                return null;\n            }\n\n            Image icon = loadDockFileImage(iconPath);\n            ImageView imageView = createDockImageView(icon);\n            Circle runningIndicator = createRunningIndicator();\n            VBox graphic = createProgramGraphic(imageView, runningIndicator);\n\n            Button button = new Button(buttonLabel);\n            button.getStyleClass().add(\"dock-button\");\n            button.setGraphic(graphic);\n            synchronized (programIndicators) {\n                programIndicators\n                        .computeIfAbsent(programItem.getExecutablePath(), ignored -> new ArrayList<>())\n                        .add(runningIndicator);\n            }\n\n            button.setOnAction(e -> appServices.itemActionService().execute(item, this::openSettingsWindow));\n\n            // Show a window list preview when hovering this program icon.\n            setupHoverPreview(button, programItem, icon);\n\n            return button;\n        } else if (item instanceof DockFolderItemModel folderItem) {\n            Path iconPath = appServices.iconGateway().resolveFolderIcon(folderItem.getFolderPath());\n            if (iconPath == null || Files.notExists(iconPath)) {\n                appServices.iconGateway().cacheFolderIcon(folderItem.getFolderPath());\n                iconPath = appServices.iconGateway().resolveFolderIcon(folderItem.getFolderPath());\n            }\n\n            Image icon;\n            if (iconPath != null && Files.exists(iconPath)) {\n                icon = loadDockFileImage(iconPath);\n            } else {\n                icon = loadDockResourceImage(\"/com/github/arthurdeka/cedromoderndock/icons/folder.png\");\n            }\n\n            ImageView imageView = createDockImageView(icon);\n\n            Button button = new Button(buttonLabel);\n            button.getStyleClass().add(\"dock-button\");\n            button.setGraphic(imageView);\n            button.setOnAction(e -> appServices.itemActionService().execute(item, this::openSettingsWindow));\n            return button;\n\n        } else {\n            return null;\n        }\n    }\n\n    private VBox createProgramGraphic(ImageView imageView, Circle runningIndicator) {\n        VBox graphic = new VBox(4, imageView, runningIndicator);\n        graphic.setAlignment(Pos.CENTER);\n        return graphic;\n    }\n\n    private Image loadDockResourceImage(String resourcePath) {\n        return new Image(\n                App.class.getResource(resourcePath).toExternalForm(),\n                getRequestedIconSize(),\n                getRequestedIconSize(),\n                true,\n                true,\n                false\n        );\n    }\n\n    private Image loadDockFileImage(Path iconPath) {\n        return new Image(\n                iconPath.toUri().toString(),\n                getRequestedIconSize(),\n                getRequestedIconSize(),\n                true,\n                true,\n                false\n        );\n    }\n\n    private ImageView createDockImageView(Image icon) {\n        ImageView imageView = new ImageView(icon);\n        imageView.setFitWidth(appServices.appearanceService().getIconsSize());\n        imageView.setFitHeight(appServices.appearanceService().getIconsSize());\n        imageView.setPreserveRatio(true);\n        imageView.setSmooth(true);\n        return imageView;\n    }\n\n    private int getRequestedIconSize() {\n        return Math.max(\n                appServices.appearanceService().getIconsSize(),\n                (int) Math.ceil(appServices.appearanceService().getIconsSize() * HOVER_SCALE)\n        );\n    }\n\n    private Circle createRunningIndicator() {\n        Circle runningIndicator = new Circle(1.5);\n        runningIndicator.setFill(Color.WHITE);\n        runningIndicator.setManaged(true);\n        runningIndicator.setOpacity(0);\n        runningIndicator.setMouseTransparent(true);\n        return runningIndicator;\n    }\n\n    private void startOpenStateWatcher() {\n        openStateExecutor.execute(() -> {\n            while (!Thread.currentThread().isInterrupted()) {\n                try {\n                    refreshProgramIndicatorsInBackground();\n                    Thread.sleep(1200);\n                } catch (InterruptedException e) {\n                    Thread.currentThread().interrupt();\n                } catch (Exception e) {\n                    Logger.error(\"Failed to refresh running program indicators: \" + e.getMessage());\n                }\n            }\n        });\n    }\n\n    private void requestProgramIndicatorRefresh() {\n        openStateExecutor.execute(this::refreshProgramIndicatorsInBackground);\n    }\n\n    private void refreshProgramIndicatorsInBackground() {\n        Map<String, List<Circle>> indicatorSnapshot = snapshotProgramIndicators();\n        if (indicatorSnapshot.isEmpty()) {\n            return;\n        }\n\n        Map<String, Boolean> openStateByExecutable = new HashMap<>();\n        for (String executablePath : indicatorSnapshot.keySet()) {\n            openStateByExecutable.put(executablePath, appServices.windowPreviewService().hasOpenWindows(executablePath));\n        }\n\n        Platform.runLater(() -> applyProgramIndicatorState(indicatorSnapshot, openStateByExecutable));\n    }\n\n    private Map<String, List<Circle>> snapshotProgramIndicators() {\n        synchronized (programIndicators) {\n            Map<String, List<Circle>> snapshot = new HashMap<>();\n            for (Map.Entry<String, List<Circle>> entry : programIndicators.entrySet()) {\n                snapshot.put(entry.getKey(), new ArrayList<>(entry.getValue()));\n            }\n            return snapshot;\n        }\n    }\n\n    private void applyProgramIndicatorState(Map<String, List<Circle>> indicatorSnapshot, Map<String, Boolean> openStateByExecutable) {\n        for (Map.Entry<String, Boolean> entry : openStateByExecutable.entrySet()) {\n            List<Circle> indicators = indicatorSnapshot.getOrDefault(entry.getKey(), List.of());\n            boolean isOpen = entry.getValue();\n            for (Circle indicator : indicators) {\n                indicator.setOpacity(isOpen ? 1 : 0);\n            }\n        }\n    }\n\n    private void setupHoverPreview(Button button, DockProgramItemModel item, Image icon) {\n        // Track hover state for the icon and popup to avoid flicker.\n        button.setOnMouseEntered(e -> {\n            currentHoverButton = button;\n            hideDebounce.stop();\n            // If another icon owns the popup, close it before showing new content.\n            if (windowPreviewPopup.isShowing() && popupOwnerButton != button) {\n                windowPreviewPopup.hide();\n                popupOwnerButton = null;\n            }\n            showWindowPreview(button, item, icon);\n        });\n\n        button.setOnMouseExited(e -> {\n            if (currentHoverButton == button) {\n                currentHoverButton = null;\n            }\n            // Hide with a short debounce to allow moving into the popup.\n            scheduleHide();\n        });\n    }\n\n    private void showWindowPreview(Button button, DockProgramItemModel item, Image icon) {\n        int requestId = ++hoverRequestId;\n        // Query native windows on a background thread.\n        Task<List<NativeWindowUtils.WindowInfo>> task = new Task<>() {\n            @Override\n            protected List<NativeWindowUtils.WindowInfo> call() throws Exception {\n                return appServices.windowPreviewService().loadPreview(item);\n            }\n        };\n\n        task.setOnSucceeded(e -> {\n            // Ignore results from older hover requests.\n            if (requestId != hoverRequestId) {\n                return;\n            }\n            List<NativeWindowUtils.WindowInfo> windows = task.getValue();\n            // If the mouse left the icon, do nothing.\n            if (currentHoverButton != button || !button.isHover()) {\n                return;\n            }\n            // Only show popup when there is at least one window.\n            if (!windows.isEmpty()) {\n                DockTheme dockTheme = appServices.appearanceService().getDockTheme();\n                windowPreviewPopup.updateContent(\n                        windows,\n                        icon,\n                        item.getLabel(),\n                        dockTheme,\n                        appServices.windowPreviewService()::activate\n                );\n                windowPreviewPopup.showAbove(button, hBoxContainer);\n                popupOwnerButton = button;\n\n            } else if (windowPreviewPopup.isShowing() && popupOwnerButton == button) {\n                windowPreviewPopup.hide();\n                popupOwnerButton = null;\n            }\n        });\n\n        task.setOnFailed(e -> {\n            Logger.error(\"Failed to fetch windows for \" + item.getLabel() + \": \" + task.getException().getMessage());\n        });\n\n        windowPreviewExecutor.execute(task);\n    }\n\n    private void scheduleHide() {\n        hideDebounce.stop();\n        hideDebounce.playFromStart();\n    }\n\n    private boolean shouldHidePreview() {\n        if (isHoveringPopup) {\n            return false;\n        }\n        if (currentHoverButton == null) {\n            return true;\n        }\n        return !currentHoverButton.isHover();\n    }\n\n    private void openSettingsWindow() {\n        SettingsWindowLauncher.open(\n                appServices,\n                this::updateDockUI,\n                this::handlePositioningModeChange\n        );\n    }\n\n    public void setDockIconsSize(int iconsSize) {\n        appServices.appearanceService().setIconsSize(iconsSize);\n        updateDockUI();\n    }\n\n    public int getDockIconsSize() {\n        return appServices.appearanceService().getIconsSize();\n    }\n\n    public void setDockIconsSpacing(int spacingValue) {\n        appServices.appearanceService().setSpacingBetweenIcons(spacingValue);\n        updateDockUI();\n    }\n\n    public int getDockIconsSpacing() {\n        return appServices.appearanceService().getSpacingBetweenIcons();\n    }\n\n    public int getDockTransparency() {\n        return appServices.appearanceService().getDockTransparencyPercentage();\n    }\n\n    public void setDockTransparency(int value) {\n        appServices.appearanceService().setDockTransparencyPercentage(value);\n        updateDockUI();\n    }\n\n    public void setDockBorderRounding(int value) {\n        appServices.appearanceService().setDockBorderRounding(value);\n        updateDockUI();\n\n    }\n\n    public int getDockBorderRounding() {\n        return appServices.appearanceService().getDockBorderRounding();\n    }\n\n    public void setStage(Stage stage) {\n        this.stage = stage;\n        this.stage.setOnHidden(event -> {\n            appServices.localizationService().removeListener(localizationListener);\n            windowPreviewExecutor.shutdownNow();\n            openStateExecutor.shutdownNow();\n        });\n    }\n\n    public String getDockColorRGB() {\n        return appServices.appearanceService().getDockColorRGB();\n    }\n\n    public void setDockColorRGB(String value) {\n        appServices.appearanceService().setDockColorRGB(value);\n        updateDockUI();\n    }\n\n    public void saveChanges() {\n        appServices.dockService().saveChanges();\n    }\n\n    public void setAppServices(AppServices appServices) {\n        this.appServices = appServices;\n    }\n\n    private void handlePositioningModeChange(DockPositioningMode positioningMode) {\n        DockPositioningMode currentMode = appServices.positioningService().getPositioningMode();\n        if (currentMode == DockPositioningMode.STATIC && positioningMode == DockPositioningMode.DYNAMIC) {\n            appServices.dockService().setDockPosition(stage.getX(), stage.getY());\n        }\n        appServices.positioningService().setPositioningMode(positioningMode);\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/github/arthurdeka/cedromoderndock/controller/SettingsController.java",
    "content": "package com.github.arthurdeka.cedromoderndock.controller;\n\nimport com.github.arthurdeka.cedromoderndock.App;\nimport com.github.arthurdeka.cedromoderndock.application.AppServices;\nimport com.github.arthurdeka.cedromoderndock.application.ProgramSelectionResolver;\nimport com.github.arthurdeka.cedromoderndock.application.SupportedLanguage;\nimport com.github.arthurdeka.cedromoderndock.model.DockHorizontalAnchor;\nimport com.github.arthurdeka.cedromoderndock.model.DockItem;\nimport com.github.arthurdeka.cedromoderndock.model.DockFolderItemModel;\nimport com.github.arthurdeka.cedromoderndock.model.DockPositioningMode;\nimport com.github.arthurdeka.cedromoderndock.model.DockProgramItemModel;\nimport com.github.arthurdeka.cedromoderndock.model.DockSettingsItemModel;\nimport com.github.arthurdeka.cedromoderndock.model.DockVerticalAnchor;\nimport com.github.arthurdeka.cedromoderndock.util.ColorManipulation;\nimport com.github.arthurdeka.cedromoderndock.util.Logger;\nimport javafx.collections.FXCollections;\nimport javafx.collections.ObservableList;\nimport javafx.event.ActionEvent;\nimport javafx.fxml.FXML;\nimport javafx.fxml.FXMLLoader;\nimport javafx.scene.Parent;\nimport javafx.scene.Scene;\nimport javafx.scene.control.Button;\nimport javafx.scene.control.ChoiceBox;\nimport javafx.scene.control.ColorPicker;\nimport javafx.scene.control.Label;\nimport javafx.scene.control.ListView;\nimport javafx.scene.control.RadioButton;\nimport javafx.scene.control.Slider;\nimport javafx.scene.control.Tab;\nimport javafx.scene.layout.VBox;\nimport javafx.scene.paint.Color;\nimport javafx.stage.DirectoryChooser;\nimport javafx.stage.FileChooser;\nimport javafx.stage.Stage;\nimport javafx.stage.WindowEvent;\nimport javafx.util.StringConverter;\n\nimport java.io.File;\nimport java.nio.file.Path;\nimport java.util.Collections;\nimport java.util.List;\nimport java.util.function.Consumer;\n\nimport static com.github.arthurdeka.cedromoderndock.util.UIUtils.setStageIcon;\n\npublic class SettingsController {\n    private static final double LIST_VIEW_CELL_HEIGHT = 40;\n    private static final double LIST_VIEW_MAX_HEIGHT = 200;\n\n    @FXML\n    private Label mainTitleLabel;\n    @FXML\n    private Label mainSubtitleLabel;\n    @FXML\n    private Label languageLabel;\n    @FXML\n    private ChoiceBox<SupportedLanguage> languageChoiceBox;\n    @FXML\n    private Tab iconsTab;\n    @FXML\n    private Tab iconsCustomizationTab;\n    @FXML\n    private Tab dockCustomizationTab;\n    @FXML\n    private Tab dockPositioningTab;\n    @FXML\n    private Tab generalTab;\n\n    @FXML\n    private ListView<String> listView;\n    @FXML\n    private Label dockItemsTitleLabel;\n    @FXML\n    private Label dockItemsHelperLabel;\n    @FXML\n    private Label actionsTitleLabel;\n    @FXML\n    private Label actionsHelperLabel;\n    @FXML\n    private Button addProgramButton;\n    @FXML\n    private Button addFolderButton;\n    @FXML\n    private Button addWindowsModuleButton;\n    @FXML\n    private Button removeProgramButton;\n    @FXML\n    private Button moveItemUpButton;\n    @FXML\n    private Button moveItemDownButton;\n\n    @FXML\n    private Slider iconSizeSlider;\n    @FXML\n    private Slider spacingBetweenIconsSlider;\n    @FXML\n    private Label iconsSizeTitleLabel;\n    @FXML\n    private Label iconsSizeHelperLabel;\n    @FXML\n    private Label spacingTitleLabel;\n    @FXML\n    private Label spacingHelperLabel;\n\n    @FXML\n    private Slider dockTransparencySlider;\n    @FXML\n    private Slider dockBorderRoundingSlider;\n    @FXML\n    private ColorPicker dockColorPicker;\n    @FXML\n    private Label transparencyTitleLabel;\n    @FXML\n    private Label transparencyHelperLabel;\n    @FXML\n    private Label roundingTitleLabel;\n    @FXML\n    private Label roundingHelperLabel;\n    @FXML\n    private Label backgroundColorTitleLabel;\n    @FXML\n    private Label backgroundColorHelperLabel;\n\n    @FXML\n    private RadioButton staticPositioningRadio;\n    @FXML\n    private RadioButton dynamicPositioningRadio;\n    @FXML\n    private ChoiceBox<DockVerticalAnchor> verticalPositionChoiceBox;\n    @FXML\n    private ChoiceBox<DockHorizontalAnchor> horizontalPositionChoiceBox;\n    @FXML\n    private Slider topSpacingSlider;\n    @FXML\n    private Slider leftSpacingSlider;\n    @FXML\n    private Slider rightSpacingSlider;\n    @FXML\n    private Slider bottomSpacingSlider;\n    @FXML\n    private VBox staticPositioningPane;\n    @FXML\n    private VBox dynamicPositioningPane;\n    @FXML\n    private Label positioningModeTitleLabel;\n    @FXML\n    private Label positioningModeHelperLabel;\n    @FXML\n    private Label alignmentTitleLabel;\n    @FXML\n    private Label verticalLabel;\n    @FXML\n    private Label horizontalLabel;\n    @FXML\n    private Label screenSpacingTitleLabel;\n    @FXML\n    private Label topSpacingLabel;\n    @FXML\n    private Label leftSpacingLabel;\n    @FXML\n    private Label rightSpacingLabel;\n    @FXML\n    private Label bottomSpacingLabel;\n    @FXML\n    private Label dynamicPositioningTitleLabel;\n    @FXML\n    private Label dynamicPositioningHelperLabel;\n\n    @FXML\n    private Label versionLabel;\n    @FXML\n    private Label repositoryLabel;\n    @FXML\n    private Label contactLabel;\n    @FXML\n    private Label openSourceLabel;\n    @FXML\n    private Button acknowledgementsButton;\n\n    private final ObservableList<String> listItems = FXCollections.observableArrayList();\n    private final Runnable localizationListener = this::handleLocalizationChanged;\n    private boolean suppressionEnabled;\n    private boolean localizationRegistered;\n    private boolean cleanupRegistered;\n\n    private AppServices appServices;\n    private Runnable dockRefreshAction = () -> {};\n    private Consumer<DockPositioningMode> positioningModeChangeAction = positioningMode -> {};\n\n    public void initialize() {\n        Logger.info(\"[Initializing] SettingsController\");\n\n        javafx.scene.control.ToggleGroup positioningModeGroup = new javafx.scene.control.ToggleGroup();\n        staticPositioningRadio.setToggleGroup(positioningModeGroup);\n        dynamicPositioningRadio.setToggleGroup(positioningModeGroup);\n        listView.setFixedCellSize(LIST_VIEW_CELL_HEIGHT);\n        listView.sceneProperty().addListener((observableValue, oldScene, newScene) -> {\n            if (newScene == null) {\n                return;\n            }\n\n            newScene.windowProperty().addListener((windowObservable, oldWindow, newWindow) -> {\n                if (newWindow == null) {\n                    return;\n                }\n                updateWindowTitle();\n                if (!cleanupRegistered) {\n                    cleanupRegistered = true;\n                    newWindow.addEventHandler(WindowEvent.WINDOW_HIDDEN, event -> unregisterLocalizationListener());\n                }\n            });\n        });\n    }\n\n    public void handleInitialization() {\n        registerLocalization();\n        configureLocalizationControls();\n\n        addDockItemsToListView(appServices.dockService().getItems());\n        listView.getSelectionModel().selectedItemProperty().addListener((observableValue, oldValue, newValue) -> handleListViewItemSelection());\n\n        iconSizeSlider.setValue(appServices.appearanceService().getIconsSize());\n        iconSizeSlider.valueProperty().addListener((observableValue, oldValue, newValue) -> handleSetIconSizeSlider((int) iconSizeSlider.getValue()));\n\n        spacingBetweenIconsSlider.setValue(appServices.appearanceService().getSpacingBetweenIcons());\n        spacingBetweenIconsSlider.valueProperty().addListener((observableValue, oldValue, newValue) -> handleSetIconsSpacingSlider((int) spacingBetweenIconsSlider.getValue()));\n\n        dockTransparencySlider.setValue(appServices.appearanceService().getDockTransparencyPercentage());\n        dockTransparencySlider.valueProperty().addListener((observableValue, oldValue, newValue) -> handleSetDockTransparencySlider((int) dockTransparencySlider.getValue()));\n\n        dockBorderRoundingSlider.setValue(appServices.appearanceService().getDockBorderRounding());\n        dockBorderRoundingSlider.valueProperty().addListener((observableValue, oldValue, newValue) -> handleSetDockBorderRoundingSlider((int) dockBorderRoundingSlider.getValue()));\n\n        Color rgbaColor = ColorManipulation.fromRGBtoRGBA(appServices.appearanceService().getDockColorRGB());\n        dockColorPicker.setValue(rgbaColor);\n\n        initializePositioningControls();\n        applyLocalizedTexts();\n    }\n\n    private void registerLocalization() {\n        if (!localizationRegistered) {\n            appServices.localizationService().addListener(localizationListener);\n            localizationRegistered = true;\n        }\n    }\n\n    private void unregisterLocalizationListener() {\n        if (appServices != null && localizationRegistered) {\n            appServices.localizationService().removeListener(localizationListener);\n            localizationRegistered = false;\n        }\n    }\n\n    private void configureLocalizationControls() {\n        languageChoiceBox.setConverter(new StringConverter<>() {\n            @Override\n            public String toString(SupportedLanguage language) {\n                return language == null ? \"\" : appServices.localizationService().languageDisplayName(language);\n            }\n\n            @Override\n            public SupportedLanguage fromString(String string) {\n                return appServices.localizationService().getCurrentLanguage();\n            }\n        });\n\n        verticalPositionChoiceBox.setConverter(new StringConverter<>() {\n            @Override\n            public String toString(DockVerticalAnchor anchor) {\n                return anchor == null ? \"\" : verticalAnchorText(anchor);\n            }\n\n            @Override\n            public DockVerticalAnchor fromString(String string) {\n                return DockVerticalAnchor.TOP;\n            }\n        });\n\n        horizontalPositionChoiceBox.setConverter(new StringConverter<>() {\n            @Override\n            public String toString(DockHorizontalAnchor anchor) {\n                return anchor == null ? \"\" : horizontalAnchorText(anchor);\n            }\n\n            @Override\n            public DockHorizontalAnchor fromString(String string) {\n                return DockHorizontalAnchor.LEFT;\n            }\n        });\n\n        languageChoiceBox.getSelectionModel().selectedItemProperty().addListener((observableValue, oldValue, newValue) -> {\n            if (suppressionEnabled || newValue == null) {\n                return;\n            }\n\n            appServices.localizationService().setLanguage(newValue);\n            dockRefreshAction.run();\n        });\n    }\n\n    private void initializePositioningControls() {\n        DockPositioningMode positioningMode = appServices.positioningService().getPositioningMode();\n        if (positioningMode == DockPositioningMode.DYNAMIC) {\n            dynamicPositioningRadio.setSelected(true);\n        } else {\n            staticPositioningRadio.setSelected(true);\n        }\n\n        verticalPositionChoiceBox.setValue(appServices.positioningService().getVerticalAnchor());\n        horizontalPositionChoiceBox.setValue(appServices.positioningService().getHorizontalAnchor());\n        topSpacingSlider.setValue(appServices.positioningService().getTopSpacing());\n        leftSpacingSlider.setValue(appServices.positioningService().getLeftSpacing());\n        rightSpacingSlider.setValue(appServices.positioningService().getRightSpacing());\n        bottomSpacingSlider.setValue(appServices.positioningService().getBottomSpacing());\n\n        verticalPositionChoiceBox.getSelectionModel().selectedItemProperty().addListener((observableValue, oldValue, newValue) -> {\n            if (suppressionEnabled || newValue == null) {\n                return;\n            }\n            appServices.positioningService().setVerticalAnchor(newValue);\n            dockRefreshAction.run();\n        });\n\n        horizontalPositionChoiceBox.getSelectionModel().selectedItemProperty().addListener((observableValue, oldValue, newValue) -> {\n            if (suppressionEnabled || newValue == null) {\n                return;\n            }\n            appServices.positioningService().setHorizontalAnchor(newValue);\n            dockRefreshAction.run();\n        });\n\n        topSpacingSlider.valueProperty().addListener((observableValue, oldValue, newValue) -> {\n            appServices.positioningService().setTopSpacing((int) Math.round(newValue.doubleValue()));\n            dockRefreshAction.run();\n        });\n\n        leftSpacingSlider.valueProperty().addListener((observableValue, oldValue, newValue) -> {\n            appServices.positioningService().setLeftSpacing((int) Math.round(newValue.doubleValue()));\n            dockRefreshAction.run();\n        });\n\n        rightSpacingSlider.valueProperty().addListener((observableValue, oldValue, newValue) -> {\n            appServices.positioningService().setRightSpacing((int) Math.round(newValue.doubleValue()));\n            dockRefreshAction.run();\n        });\n\n        bottomSpacingSlider.valueProperty().addListener((observableValue, oldValue, newValue) -> {\n            appServices.positioningService().setBottomSpacing((int) Math.round(newValue.doubleValue()));\n            dockRefreshAction.run();\n        });\n\n        updatePositioningModeUI();\n    }\n\n    @FXML\n    private void handlePositioningModeChange() {\n        DockPositioningMode positioningMode = staticPositioningRadio.isSelected()\n                ? DockPositioningMode.STATIC\n                : DockPositioningMode.DYNAMIC;\n        positioningModeChangeAction.accept(positioningMode);\n        updatePositioningModeUI();\n        dockRefreshAction.run();\n    }\n\n    private void updatePositioningModeUI() {\n        boolean isStaticMode = staticPositioningRadio.isSelected();\n        staticPositioningPane.setVisible(isStaticMode);\n        staticPositioningPane.setManaged(isStaticMode);\n        dynamicPositioningPane.setVisible(!isStaticMode);\n        dynamicPositioningPane.setManaged(!isStaticMode);\n    }\n\n    private void handleListViewItemSelection() {\n        int selectedIdx = listView.getSelectionModel().getSelectedIndex();\n        if (selectedIdx < 0) {\n            removeProgramButton.setDisable(true);\n            moveItemUpButton.setDisable(true);\n            moveItemDownButton.setDisable(true);\n            return;\n        }\n\n        DockItem item = appServices.dockService().getItems().get(selectedIdx);\n        removeProgramButton.setDisable(item instanceof DockSettingsItemModel);\n        moveItemUpButton.setDisable(selectedIdx == 0);\n        moveItemDownButton.setDisable(selectedIdx == listItems.size() - 1);\n    }\n\n    private void addDockItemsToListView(List<DockItem> dockItems) {\n        listItems.clear();\n\n        for (DockItem item : dockItems) {\n            String label = appServices.localizationService().dockItemLabel(item);\n            listItems.add(label);\n            Logger.info(\"[Initializing][listView] Adding item to ListView: \" + label);\n        }\n\n        listView.setItems(listItems);\n        updateListViewHeight();\n    }\n\n    private void updateListViewHeight() {\n        int visibleRows = Math.max(1, listItems.size());\n        double contentHeight = visibleRows * listView.getFixedCellSize() + 2;\n        double boundedHeight = Math.min(contentHeight, LIST_VIEW_MAX_HEIGHT);\n\n        listView.setMinHeight(boundedHeight);\n        listView.setPrefHeight(boundedHeight);\n        listView.setMaxHeight(LIST_VIEW_MAX_HEIGHT);\n    }\n\n    @FXML\n    private void openAddWindowsModuleWindow() {\n        try {\n            Stage currentStage = (Stage) listView.getScene().getWindow();\n\n            FXMLLoader loader = new FXMLLoader(App.class.getResource(\"fxml/AddWindowsModulesModalView.fxml\"));\n            Parent root = loader.load();\n\n            AddWindowsModulesModalController addWindowsModulesModalController = loader.getController();\n            addWindowsModulesModalController.setAppServices(appServices);\n            addWindowsModulesModalController.setDockRefreshAction(dockRefreshAction);\n            addWindowsModulesModalController.setPositioningModeChangeAction(positioningModeChangeAction);\n            addWindowsModulesModalController.handleInitialization();\n\n            Stage stage = new Stage();\n            stage.setTitle(text(\"windowsModule.modal.title\"));\n            setStageIcon(stage);\n            stage.setScene(new Scene(root));\n            stage.show();\n\n            currentStage.close();\n        } catch (Exception e) {\n            throw new RuntimeException(e);\n        }\n    }\n\n    @FXML\n    private void handleAddProgram() {\n        FileChooser fileChooser = new FileChooser();\n        fileChooser.setTitle(text(\"dialog.fileChooser.executableTitle\"));\n        fileChooser.getExtensionFilters().add(\n                new FileChooser.ExtensionFilter(text(\"dialog.fileChooser.executableFilter\"), \"*.exe\")\n        );\n\n        File file = fileChooser.showOpenDialog(null);\n        if (file != null) {\n            ProgramSelectionResolver.ResolvedProgramSelection selection =\n                    ProgramSelectionResolver.resolve(Path.of(file.getAbsolutePath()));\n            String selectedExePath = selection.executablePath();\n            String selectedExeName = selection.label();\n\n            appServices.iconGateway().cacheProgramIcon(selectedExePath);\n            DockItem newItem = new DockProgramItemModel(selectedExeName, selectedExePath);\n            appServices.dockService().addItem(newItem);\n            Logger.info(\"[listView] Program added: \" + selectedExeName);\n        }\n\n        addDockItemsToListView(appServices.dockService().getItems());\n        dockRefreshAction.run();\n    }\n\n    @FXML\n    private void handleAddFolder() {\n        DirectoryChooser directoryChooser = new DirectoryChooser();\n        directoryChooser.setTitle(text(\"dialog.directoryChooser.title\"));\n\n        Stage owner = (Stage) listView.getScene().getWindow();\n        File selectedFolder = directoryChooser.showDialog(owner);\n        if (selectedFolder == null || !selectedFolder.isDirectory()) {\n            return;\n        }\n\n        String folderPath = selectedFolder.getAbsolutePath();\n        String folderName = selectedFolder.getName();\n        String label = (folderName == null || folderName.isBlank()) ? folderPath : folderName;\n\n        appServices.iconGateway().cacheFolderIcon(folderPath);\n        DockItem newItem = new DockFolderItemModel(label, folderPath);\n        appServices.dockService().addItem(newItem);\n        Logger.info(\"[listView] Folder added: \" + label);\n\n        addDockItemsToListView(appServices.dockService().getItems());\n        dockRefreshAction.run();\n    }\n\n    @FXML\n    private void handleRemoveProgram() {\n        int selectedIdx = listView.getSelectionModel().getSelectedIndex();\n        Logger.info(\"[listView] Removing item on index: \" + selectedIdx);\n\n        appServices.dockService().removeItem(selectedIdx);\n        addDockItemsToListView(appServices.dockService().getItems());\n        dockRefreshAction.run();\n    }\n\n    @FXML\n    private void handleMoveItem(ActionEvent event) {\n        int selectedIdx = listView.getSelectionModel().getSelectedIndex();\n        if (selectedIdx < 0) {\n            return;\n        }\n\n        int newSelectedIdx = selectedIdx;\n        if (event.getSource() == moveItemUpButton) {\n            if (selectedIdx == 0) {\n                return;\n            }\n            Logger.info(\"[listView] moving item up\");\n            Collections.swap(listItems, selectedIdx, selectedIdx - 1);\n            appServices.dockService().swapItems(selectedIdx, selectedIdx - 1);\n            newSelectedIdx = selectedIdx - 1;\n        } else {\n            if (selectedIdx >= listItems.size() - 1) {\n                return;\n            }\n            Logger.info(\"[listView] moving item down\");\n            Collections.swap(listItems, selectedIdx, selectedIdx + 1);\n            appServices.dockService().swapItems(selectedIdx, selectedIdx + 1);\n            newSelectedIdx = selectedIdx + 1;\n        }\n\n        addDockItemsToListView(appServices.dockService().getItems());\n        listView.getSelectionModel().select(newSelectedIdx);\n        handleListViewItemSelection();\n        dockRefreshAction.run();\n    }\n\n    private void handleSetIconSizeSlider(int value) {\n        appServices.appearanceService().setIconsSize(value);\n        dockRefreshAction.run();\n    }\n\n    private void handleSetIconsSpacingSlider(int value) {\n        appServices.appearanceService().setSpacingBetweenIcons(value);\n        dockRefreshAction.run();\n    }\n\n    private void handleSetDockTransparencySlider(int value) {\n        appServices.appearanceService().setDockTransparencyPercentage(value);\n        dockRefreshAction.run();\n    }\n\n    private void handleSetDockBorderRoundingSlider(int value) {\n        appServices.appearanceService().setDockBorderRounding(value);\n        dockRefreshAction.run();\n    }\n\n    @FXML\n    private void handleSetDockColor() {\n        String rgbaColor = String.valueOf(dockColorPicker.getValue());\n        String rgbColor = ColorManipulation.fromRGBAtoRGB(rgbaColor);\n\n        appServices.appearanceService().setDockColorRGB(rgbColor);\n        dockRefreshAction.run();\n    }\n\n    public void setAppServices(AppServices appServices) {\n        this.appServices = appServices;\n    }\n\n    public void setDockRefreshAction(Runnable dockRefreshAction) {\n        this.dockRefreshAction = dockRefreshAction;\n    }\n\n    public void setPositioningModeChangeAction(Consumer<DockPositioningMode> positioningModeChangeAction) {\n        this.positioningModeChangeAction = positioningModeChangeAction;\n    }\n\n    @FXML\n    private void openAknowledgementsWindow() {\n        try {\n            FXMLLoader loader = new FXMLLoader(App.class.getResource(\"fxml/AcknowledgementsModalView.fxml\"));\n            Parent root = loader.load();\n\n            AcknowledgementsModalController controller = loader.getController();\n            controller.setAppServices(appServices);\n            controller.handleInitialization();\n\n            Stage stage = new Stage();\n            stage.setTitle(text(\"acknowledgements.window.title\"));\n            setStageIcon(stage);\n            stage.setScene(new Scene(root));\n            stage.show();\n        } catch (Exception e) {\n            throw new RuntimeException(e);\n        }\n    }\n\n    private void handleLocalizationChanged() {\n        applyLocalizedTexts();\n        addDockItemsToListView(appServices.dockService().getItems());\n        handleListViewItemSelection();\n    }\n\n    private void applyLocalizedTexts() {\n        if (appServices == null) {\n            return;\n        }\n\n        suppressionEnabled = true;\n        languageChoiceBox.setItems(FXCollections.observableArrayList(SupportedLanguage.values()));\n        languageChoiceBox.setValue(appServices.localizationService().getCurrentLanguage());\n        verticalPositionChoiceBox.setItems(FXCollections.observableArrayList(DockVerticalAnchor.values()));\n        verticalPositionChoiceBox.setValue(appServices.positioningService().getVerticalAnchor());\n        horizontalPositionChoiceBox.setItems(FXCollections.observableArrayList(DockHorizontalAnchor.values()));\n        horizontalPositionChoiceBox.setValue(appServices.positioningService().getHorizontalAnchor());\n        suppressionEnabled = false;\n\n        mainTitleLabel.setText(text(\"settings.page.title\"));\n        mainSubtitleLabel.setText(text(\"settings.page.subtitle\"));\n        languageLabel.setText(text(\"settings.language.label\"));\n\n        iconsTab.setText(text(\"settings.tab.icons\"));\n        iconsCustomizationTab.setText(text(\"settings.tab.iconsCustomization\"));\n        dockCustomizationTab.setText(text(\"settings.tab.dockCustomization\"));\n        dockPositioningTab.setText(text(\"settings.tab.dockPositioning\"));\n        generalTab.setText(text(\"settings.tab.general\"));\n\n        dockItemsTitleLabel.setText(text(\"settings.icons.items.title\"));\n        dockItemsHelperLabel.setText(text(\"settings.icons.items.helper\"));\n        actionsTitleLabel.setText(text(\"settings.icons.actions.title\"));\n        actionsHelperLabel.setText(text(\"settings.icons.actions.helper\"));\n        moveItemUpButton.setText(text(\"settings.icons.moveUp\"));\n        moveItemDownButton.setText(text(\"settings.icons.moveDown\"));\n        addProgramButton.setText(text(\"settings.icons.addProgram\"));\n        addFolderButton.setText(text(\"settings.icons.addFolder\"));\n        addWindowsModuleButton.setText(text(\"settings.icons.addWindowsModule\"));\n        removeProgramButton.setText(text(\"settings.icons.removeSelected\"));\n\n        iconsSizeTitleLabel.setText(text(\"settings.iconsCustomization.size.title\"));\n        iconsSizeHelperLabel.setText(text(\"settings.iconsCustomization.size.helper\"));\n        spacingTitleLabel.setText(text(\"settings.iconsCustomization.spacing.title\"));\n        spacingHelperLabel.setText(text(\"settings.iconsCustomization.spacing.helper\"));\n\n        transparencyTitleLabel.setText(text(\"settings.dockCustomization.transparency.title\"));\n        transparencyHelperLabel.setText(text(\"settings.dockCustomization.transparency.helper\"));\n        roundingTitleLabel.setText(text(\"settings.dockCustomization.rounding.title\"));\n        roundingHelperLabel.setText(text(\"settings.dockCustomization.rounding.helper\"));\n        backgroundColorTitleLabel.setText(text(\"settings.dockCustomization.background.title\"));\n        backgroundColorHelperLabel.setText(text(\"settings.dockCustomization.background.helper\"));\n\n        positioningModeTitleLabel.setText(text(\"settings.positioning.mode.title\"));\n        positioningModeHelperLabel.setText(text(\"settings.positioning.mode.helper\"));\n        staticPositioningRadio.setText(text(\"settings.positioning.mode.static\"));\n        dynamicPositioningRadio.setText(text(\"settings.positioning.mode.dynamic\"));\n        alignmentTitleLabel.setText(text(\"settings.positioning.alignment.title\"));\n        verticalLabel.setText(text(\"settings.positioning.alignment.vertical\"));\n        horizontalLabel.setText(text(\"settings.positioning.alignment.horizontal\"));\n        screenSpacingTitleLabel.setText(text(\"settings.positioning.spacing.title\"));\n        topSpacingLabel.setText(text(\"settings.positioning.spacing.top\"));\n        leftSpacingLabel.setText(text(\"settings.positioning.spacing.left\"));\n        rightSpacingLabel.setText(text(\"settings.positioning.spacing.right\"));\n        bottomSpacingLabel.setText(text(\"settings.positioning.spacing.down\"));\n        dynamicPositioningTitleLabel.setText(text(\"settings.positioning.dynamic.title\"));\n        dynamicPositioningHelperLabel.setText(text(\"settings.positioning.dynamic.helper\"));\n\n        versionLabel.setText(text(\"settings.general.version\"));\n        repositoryLabel.setText(text(\"settings.general.repository\"));\n        contactLabel.setText(text(\"settings.general.contact\"));\n        openSourceLabel.setText(text(\"settings.general.openSource\"));\n        acknowledgementsButton.setText(text(\"settings.general.acknowledgements\"));\n\n        updateWindowTitle();\n    }\n\n    private void updateWindowTitle() {\n        if (listView.getScene() != null && listView.getScene().getWindow() instanceof Stage stage && appServices != null) {\n            stage.setTitle(text(\"settings.window.title\"));\n        }\n    }\n\n    private String verticalAnchorText(DockVerticalAnchor verticalAnchor) {\n        return switch (verticalAnchor) {\n            case TOP -> text(\"settings.positioning.choice.top\");\n            case MIDDLE -> text(\"settings.positioning.choice.middle\");\n            case DOWN -> text(\"settings.positioning.choice.down\");\n        };\n    }\n\n    private String horizontalAnchorText(DockHorizontalAnchor horizontalAnchor) {\n        return switch (horizontalAnchor) {\n            case LEFT -> text(\"settings.positioning.choice.left\");\n            case MIDDLE -> text(\"settings.positioning.choice.middle\");\n            case RIGHT -> text(\"settings.positioning.choice.right\");\n        };\n    }\n\n    private String text(String key) {\n        return appServices.localizationService().text(key);\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/github/arthurdeka/cedromoderndock/domain/DockRepository.java",
    "content": "package com.github.arthurdeka.cedromoderndock.domain;\n\nimport com.github.arthurdeka.cedromoderndock.model.DockModel;\n\npublic interface DockRepository {\n    DockModel load();\n\n    void save(DockModel model);\n}\n"
  },
  {
    "path": "src/main/java/com/github/arthurdeka/cedromoderndock/domain/FolderLauncher.java",
    "content": "package com.github.arthurdeka.cedromoderndock.domain;\n\npublic interface FolderLauncher {\n    void launch(String folderPath, String label);\n}\n"
  },
  {
    "path": "src/main/java/com/github/arthurdeka/cedromoderndock/domain/IconGateway.java",
    "content": "package com.github.arthurdeka.cedromoderndock.domain;\n\nimport java.nio.file.Path;\n\npublic interface IconGateway {\n    Path resolveProgramIcon(String executablePath);\n    Path resolveFolderIcon(String folderPath);\n\n    void cacheProgramIcon(String executablePath);\n    void cacheFolderIcon(String folderPath);\n}\n"
  },
  {
    "path": "src/main/java/com/github/arthurdeka/cedromoderndock/domain/ProgramLauncher.java",
    "content": "package com.github.arthurdeka.cedromoderndock.domain;\n\npublic interface ProgramLauncher {\n    void launch(String executablePath, String label);\n}\n"
  },
  {
    "path": "src/main/java/com/github/arthurdeka/cedromoderndock/domain/WindowQueryGateway.java",
    "content": "package com.github.arthurdeka.cedromoderndock.domain;\n\nimport com.github.arthurdeka.cedromoderndock.util.NativeWindowUtils;\n\nimport java.util.List;\n\npublic interface WindowQueryGateway {\n    List<NativeWindowUtils.WindowInfo> findOpenWindows(String executablePath);\n\n    void activate(NativeWindowUtils.WindowInfo windowInfo);\n}\n"
  },
  {
    "path": "src/main/java/com/github/arthurdeka/cedromoderndock/domain/WindowsModuleLauncher.java",
    "content": "package com.github.arthurdeka.cedromoderndock.domain;\n\npublic interface WindowsModuleLauncher {\n    void launch(String module, String label);\n}\n"
  },
  {
    "path": "src/main/java/com/github/arthurdeka/cedromoderndock/infrastructure/persistence/JsonDockRepository.java",
    "content": "package com.github.arthurdeka.cedromoderndock.infrastructure.persistence;\n\nimport com.fasterxml.jackson.databind.DeserializationFeature;\nimport com.fasterxml.jackson.databind.ObjectMapper;\nimport com.fasterxml.jackson.databind.SerializationFeature;\nimport com.github.arthurdeka.cedromoderndock.domain.DockRepository;\nimport com.github.arthurdeka.cedromoderndock.model.DockModel;\nimport com.github.arthurdeka.cedromoderndock.util.Logger;\n\nimport java.io.File;\nimport java.io.IOException;\nimport java.nio.file.Path;\nimport java.nio.file.Paths;\n\npublic final class JsonDockRepository implements DockRepository {\n    private static final String CONFIG_FILE_NAME = \"config.json\";\n    private final Path configFilePath;\n    private final ObjectMapper mapper;\n\n    public JsonDockRepository() {\n        this(getDefaultConfigPath());\n    }\n\n    public JsonDockRepository(Path configFilePath) {\n        this.configFilePath = configFilePath;\n        this.mapper = createObjectMapper();\n    }\n\n    private static Path getDefaultConfigPath() {\n        String appDataPath = System.getenv(\"APPDATA\");\n        if (appDataPath == null || appDataPath.isEmpty()) {\n            appDataPath = System.getProperty(\"user.home\");\n        }\n\n        Path configDir = Paths.get(appDataPath, \"CedroModernDock\");\n        File dir = configDir.toFile();\n        if (!dir.exists()) {\n            dir.mkdirs();\n        }\n\n        return configDir.resolve(CONFIG_FILE_NAME);\n    }\n\n    private static ObjectMapper createObjectMapper() {\n        ObjectMapper objectMapper = new ObjectMapper();\n        objectMapper.enable(SerializationFeature.INDENT_OUTPUT);\n        objectMapper.disable(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES);\n        return objectMapper;\n    }\n\n    @Override\n    public void save(DockModel model) {\n        try {\n            mapper.writeValue(configFilePath.toFile(), model);\n        } catch (IOException e) {\n            Logger.error(\"Error saving the DockModel: \" + e.getMessage());\n            e.printStackTrace();\n        }\n    }\n\n    @Override\n    public DockModel load() {\n        File configFile = configFilePath.toFile();\n        if (configFile.exists() && configFile.length() > 0) {\n            try {\n                DockModel model = mapper.readValue(configFile, DockModel.class);\n                Logger.info(\"[JsonDockRepository] Dock config.json loaded successfully from: \" + configFilePath);\n                return model;\n            } catch (IOException e) {\n                Logger.error(\"Error reading config.json, creating a new default config file: \" + e.getMessage());\n                return createAndSaveDefault();\n            }\n        }\n\n        Logger.error(\"config.json not found or is empty. Creating a new default config file at: \" + configFilePath);\n        return createAndSaveDefault();\n    }\n\n    private DockModel createAndSaveDefault() {\n        DockModel model = new DockModel();\n        model.loadDefaultItems();\n        save(model);\n        return model;\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/github/arthurdeka/cedromoderndock/infrastructure/system/CachedWindowsIconGateway.java",
    "content": "package com.github.arthurdeka.cedromoderndock.infrastructure.system;\n\nimport com.github.arthurdeka.cedromoderndock.domain.IconGateway;\nimport com.github.arthurdeka.cedromoderndock.util.WindowsIconHandler;\n\nimport java.nio.file.Path;\n\npublic class CachedWindowsIconGateway implements IconGateway {\n    @Override\n    public Path resolveProgramIcon(String executablePath) {\n        return WindowsIconHandler.getCachedIconPath(executablePath);\n    }\n\n    @Override\n    public Path resolveFolderIcon(String folderPath) {\n        return WindowsIconHandler.getCachedFolderIconPath(folderPath);\n    }\n\n    @Override\n    public void cacheProgramIcon(String executablePath) {\n        WindowsIconHandler.extractAndCacheIcon(executablePath);\n    }\n\n    @Override\n    public void cacheFolderIcon(String folderPath) {\n        WindowsIconHandler.extractAndCacheFolderIcon(folderPath);\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/github/arthurdeka/cedromoderndock/infrastructure/system/DefaultFolderLauncher.java",
    "content": "package com.github.arthurdeka.cedromoderndock.infrastructure.system;\n\nimport com.github.arthurdeka.cedromoderndock.domain.FolderLauncher;\nimport com.github.arthurdeka.cedromoderndock.util.Logger;\n\nimport java.io.IOException;\nimport java.nio.file.Files;\nimport java.nio.file.Path;\n\npublic class DefaultFolderLauncher implements FolderLauncher {\n    @Override\n    public void launch(String folderPath, String label) {\n        Logger.info(label + \" Clicked\");\n\n        if (folderPath == null || folderPath.trim().isEmpty()) {\n            Logger.error(\"Folder path not defined for: \" + label);\n            return;\n        }\n\n        Path path = Path.of(folderPath);\n        if (!Files.isDirectory(path)) {\n            Logger.error(\"Folder path is invalid: \" + folderPath);\n            return;\n        }\n\n        try {\n            new ProcessBuilder(\"explorer.exe\", folderPath).start();\n            Logger.info(\"Opening folder: \" + label);\n        } catch (IOException e) {\n            Logger.error(\"Failed to open folder: \" + label);\n            Logger.error(\"Path: \" + folderPath);\n            Logger.error(\"Error: \" + e.getMessage());\n        }\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/github/arthurdeka/cedromoderndock/infrastructure/system/DefaultProgramLauncher.java",
    "content": "package com.github.arthurdeka.cedromoderndock.infrastructure.system;\n\nimport com.github.arthurdeka.cedromoderndock.domain.ProgramLauncher;\nimport com.github.arthurdeka.cedromoderndock.util.Logger;\n\nimport java.io.IOException;\nimport java.nio.file.Files;\nimport java.nio.file.Path;\nimport java.util.List;\nimport java.util.Locale;\n\npublic class DefaultProgramLauncher implements ProgramLauncher {\n    @Override\n    public void launch(String executablePath, String label) {\n        Logger.info(label + \" Clicked\");\n\n        if (executablePath == null || executablePath.trim().isEmpty()) {\n            Logger.error(\"Executable path not defined for: \" + label);\n            return;\n        }\n\n        try {\n            executeAndHandleElevation(executablePath, label);\n        } catch (IOException e) {\n            Logger.error(\"Failed to open: \" + label);\n            Logger.error(\"Path: \" + executablePath);\n            Logger.error(\"Error: \" + e.getMessage());\n        } catch (InterruptedException e) {\n            Logger.error(\"Process interrupted: \" + e.getMessage());\n            throw new RuntimeException(e);\n        }\n    }\n\n    private void executeAndHandleElevation(String path, String label) throws IOException, InterruptedException {\n        LaunchCommand launchCommand = resolveLaunchCommand(path);\n        try {\n            new ProcessBuilder(launchCommand.toCommandLine()).start();\n            Logger.info(\"Executing: \" + label);\n        } catch (IOException e) {\n            if (e.getMessage() != null && e.getMessage().contains(\"error=740\")) {\n                Logger.info(\"Standard execution failed. Requesting elevation...\");\n                String command = buildElevationCommand(launchCommand);\n                new ProcessBuilder(\"powershell.exe\", \"-Command\", command).start();\n                Logger.info(\"(Elevated) Executing: \" + label);\n            } else {\n                Logger.error(\"Error trying to execute program\");\n                throw e;\n            }\n        }\n    }\n\n    static LaunchCommand resolveLaunchCommand(String executablePath) {\n        Path normalizedPath = Path.of(executablePath).toAbsolutePath().normalize();\n        if (isDiscordExecutable(normalizedPath)) {\n            Path installDirectory = normalizedPath.getParent() == null ? null : normalizedPath.getParent().getParent();\n            if (installDirectory != null) {\n                Path updateExecutable = installDirectory.resolve(\"Update.exe\");\n                if (Files.isRegularFile(updateExecutable)) {\n                    return new LaunchCommand(\n                            updateExecutable.toString(),\n                            List.of(\"--processStart\", normalizedPath.getFileName().toString())\n                    );\n                }\n            }\n        }\n\n        return new LaunchCommand(normalizedPath.toString(), List.of());\n    }\n\n    private static boolean isDiscordExecutable(Path executablePath) {\n        Path fileName = executablePath.getFileName();\n        Path versionDirectory = executablePath.getParent();\n        Path installDirectory = versionDirectory == null ? null : versionDirectory.getParent();\n        if (fileName == null || versionDirectory == null || installDirectory == null) {\n            return false;\n        }\n\n        return fileName.toString().equalsIgnoreCase(\"Discord.exe\")\n                && versionDirectory.getFileName() != null\n                && versionDirectory.getFileName().toString().toLowerCase(Locale.ROOT).startsWith(\"app-\")\n                && installDirectory.getFileName() != null\n                && installDirectory.getFileName().toString().equalsIgnoreCase(\"Discord\");\n    }\n\n    private static String buildElevationCommand(LaunchCommand launchCommand) {\n        String escapedFilePath = escapePowerShellArgument(launchCommand.executablePath());\n        if (launchCommand.arguments().isEmpty()) {\n            return \"Start-Process -FilePath '\" + escapedFilePath + \"' -Verb RunAs\";\n        }\n\n        String escapedArguments = launchCommand.arguments().stream()\n                .map(DefaultProgramLauncher::escapePowerShellArgument)\n                .map(argument -> \"'\" + argument + \"'\")\n                .reduce((first, second) -> first + \", \" + second)\n                .orElse(\"\");\n\n        return \"Start-Process -FilePath '\" + escapedFilePath + \"' -ArgumentList \" + escapedArguments + \" -Verb RunAs\";\n    }\n\n    private static String escapePowerShellArgument(String argument) {\n        return argument.replace(\"'\", \"''\");\n    }\n\n    record LaunchCommand(String executablePath, List<String> arguments) {\n        List<String> toCommandLine() {\n            if (arguments.isEmpty()) {\n                return List.of(executablePath);\n            }\n\n            java.util.ArrayList<String> command = new java.util.ArrayList<>();\n            command.add(executablePath);\n            command.addAll(arguments);\n            return command;\n        }\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/github/arthurdeka/cedromoderndock/infrastructure/system/DefaultWindowsModuleLauncher.java",
    "content": "package com.github.arthurdeka.cedromoderndock.infrastructure.system;\n\nimport com.github.arthurdeka.cedromoderndock.domain.WindowsModuleLauncher;\nimport com.github.arthurdeka.cedromoderndock.util.Logger;\n\nimport java.io.IOException;\nimport java.util.Objects;\n\npublic class DefaultWindowsModuleLauncher implements WindowsModuleLauncher {\n    @Override\n    public void launch(String module, String label) {\n        try {\n            if (Objects.equals(module, \"mypc\")) {\n                new ProcessBuilder(\"explorer.exe\", \"::{20D04FE0-3AEA-1069-A2D8-08002B30309D}\").start();\n            } else if (Objects.equals(module, \"trash\")) {\n                new ProcessBuilder(\"explorer.exe\", \"::{645FF040-5081-101B-9F08-00AA002F954E}\").start();\n            } else if (Objects.equals(module, \"ctrlpnl\")) {\n                new ProcessBuilder(\"control.exe\").start();\n            } else if (Objects.equals(module, \"pconfig\")) {\n                new ProcessBuilder(\"cmd\", \"/c\", \"start\", \"ms-settings:\").start();\n            }\n        } catch (IOException e) {\n            throw new RuntimeException(e);\n        }\n\n        Logger.info(label + \" Clicked\");\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/github/arthurdeka/cedromoderndock/infrastructure/system/JnaWindowQueryGateway.java",
    "content": "package com.github.arthurdeka.cedromoderndock.infrastructure.system;\n\nimport com.github.arthurdeka.cedromoderndock.domain.WindowQueryGateway;\nimport com.github.arthurdeka.cedromoderndock.util.NativeWindowUtils;\n\nimport java.util.List;\n\npublic class JnaWindowQueryGateway implements WindowQueryGateway {\n    @Override\n    public List<NativeWindowUtils.WindowInfo> findOpenWindows(String executablePath) {\n        return NativeWindowUtils.getOpenWindows(executablePath);\n    }\n\n    @Override\n    public void activate(NativeWindowUtils.WindowInfo windowInfo) {\n        NativeWindowUtils.activateWindow(windowInfo.hwnd());\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/github/arthurdeka/cedromoderndock/model/DockFolderItemModel.java",
    "content": "package com.github.arthurdeka.cedromoderndock.model;\n\nimport com.fasterxml.jackson.annotation.JsonIgnore;\nimport lombok.NoArgsConstructor;\n\n@NoArgsConstructor\npublic class DockFolderItemModel implements DockItem {\n\n    private String label = \"\";\n    private String folderPath = \"\";\n\n    public DockFolderItemModel(String label, String folderPath) {\n        this.label = label;\n        this.folderPath = folderPath;\n    }\n\n    @Override\n    public String getLabel() {\n        return label;\n    }\n\n    @Override\n    public String getPath() {\n        return folderPath;\n    }\n\n    @JsonIgnore\n    public String getFolderPath() {\n        return folderPath;\n    }\n\n    @Override\n    public DockItemType getType() {\n        return DockItemType.FOLDER;\n    }\n\n    @Override\n    public void setLabel(String label) {\n        this.label = label;\n    }\n\n    @Override\n    public void setPath(String path) {\n        this.folderPath = path;\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/github/arthurdeka/cedromoderndock/model/DockHorizontalAnchor.java",
    "content": "package com.github.arthurdeka.cedromoderndock.model;\n\npublic enum DockHorizontalAnchor {\n    LEFT,\n    MIDDLE,\n    RIGHT\n}\n"
  },
  {
    "path": "src/main/java/com/github/arthurdeka/cedromoderndock/model/DockItem.java",
    "content": "package com.github.arthurdeka.cedromoderndock.model;\n\nimport com.fasterxml.jackson.annotation.JsonIgnore;\nimport com.fasterxml.jackson.annotation.JsonSubTypes;\nimport com.fasterxml.jackson.annotation.JsonTypeInfo;\n\n/*\n* Those annotations are needed for the Serialization Library (Jackson) to work properly\n* */\n@JsonTypeInfo(\n        use = JsonTypeInfo.Id.NAME,\n        include = JsonTypeInfo.As.PROPERTY,\n        property = \"@type\"\n)\n@JsonSubTypes({\n        @JsonSubTypes.Type(value = DockProgramItemModel.class, name = \"programItem\"),\n        @JsonSubTypes.Type(value = DockFolderItemModel.class, name = \"folderItem\"),\n        @JsonSubTypes.Type(value = DockWindowsModuleItemModel.class, name = \"windowsModuleItem\"),\n        @JsonSubTypes.Type(value = DockSettingsItemModel.class, name = \"settingsItem\")\n})\npublic interface DockItem {\n\n    String getLabel();\n    String getPath();\n    @JsonIgnore\n    DockItemType getType();\n\n    void setLabel(String label);\n    void setPath(String path);\n\n}\n"
  },
  {
    "path": "src/main/java/com/github/arthurdeka/cedromoderndock/model/DockItemType.java",
    "content": "package com.github.arthurdeka.cedromoderndock.model;\n\npublic enum DockItemType {\n    PROGRAM,\n    FOLDER,\n    WINDOWS_MODULE,\n    SETTINGS\n}\n"
  },
  {
    "path": "src/main/java/com/github/arthurdeka/cedromoderndock/model/DockModel.java",
    "content": "package com.github.arthurdeka.cedromoderndock.model;\n\nimport com.github.arthurdeka.cedromoderndock.application.SupportedLanguage;\nimport lombok.Getter;\nimport lombok.Setter;\n\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.List;\n\npublic class DockModel {\n\n    @Getter\n    private List<DockItem> items = new ArrayList<>();\n    private int iconsSize = 24;\n    private int spacingBetweenIcons = 0;\n    private double dockTransparency = 0.3;\n    @Setter\n    @Getter\n    private int dockBorderRounding = 10;\n    @Setter\n    @Getter\n    private String dockColorRGB = \"0, 0, 0, \";\n    @Getter\n    private double dockPositionX;\n    @Getter\n    private double dockPositionY;\n    @Getter\n    @Setter\n    private DockPositioningMode positioningMode = DockPositioningMode.STATIC;\n    @Getter\n    @Setter\n    private DockVerticalAnchor verticalAnchor = DockVerticalAnchor.TOP;\n    @Getter\n    @Setter\n    private DockHorizontalAnchor horizontalAnchor = DockHorizontalAnchor.MIDDLE;\n    @Getter\n    @Setter\n    private int topSpacing = 20;\n    @Getter\n    @Setter\n    private int leftSpacing = 20;\n    @Getter\n    @Setter\n    private int rightSpacing = 20;\n    @Getter\n    @Setter\n    private int bottomSpacing = 20;\n    @Getter\n    @Setter\n    private SupportedLanguage language = SupportedLanguage.EN_US;\n\n    public void addItem(DockItem item) {\n        items.add(item);\n\n    }\n\n    public void removeItem(int index) {\n        items.remove(index);\n\n    }\n\n    public void loadDefaultItems() {\n        items.add(new DockSettingsItemModel());\n    }\n\n    public void swapItems(int firstItemIdx, int secondItemIdx) {\n        Collections.swap(items, firstItemIdx, secondItemIdx);\n    }\n\n    public Integer getIconsSize() {\n        return iconsSize;\n    }\n\n    public void setIconsSize(Integer iconsSize) {\n        this.iconsSize = iconsSize;\n    }\n\n    public Integer getSpacingBetweenIcons() {\n        return spacingBetweenIcons;\n    }\n\n    public void setSpacingBetweenIcons(Integer spacingBetweenIcons) {\n        this.spacingBetweenIcons = spacingBetweenIcons;\n    }\n\n    public Double getDockTransparency() {\n        return dockTransparency;\n    }\n\n    public void setDockTransparency(Double dockTransparency) {\n        this.dockTransparency = dockTransparency;\n    }\n\n    public void setDockPosition(Double PositionX, Double PositionY) {\n        this.dockPositionX = PositionX;\n        this.dockPositionY = PositionY;\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/github/arthurdeka/cedromoderndock/model/DockPositioningMode.java",
    "content": "package com.github.arthurdeka.cedromoderndock.model;\n\npublic enum DockPositioningMode {\n    STATIC,\n    DYNAMIC\n}\n"
  },
  {
    "path": "src/main/java/com/github/arthurdeka/cedromoderndock/model/DockProgramItemModel.java",
    "content": "package com.github.arthurdeka.cedromoderndock.model;\n\nimport com.fasterxml.jackson.annotation.JsonIgnore;\nimport lombok.NoArgsConstructor;\n\n@NoArgsConstructor\npublic class DockProgramItemModel implements DockItem {\n\n    private String label = \"\";\n    private String exePath = \"\";\n\n    public DockProgramItemModel(String label, String exePath) {\n        this.label = label;\n        this.exePath = exePath;\n    }\n\n    @Override\n    public String getLabel() {\n        return label;\n    }\n\n    @Override\n    public String getPath() {\n        return exePath;\n    }\n\n    @JsonIgnore\n    public String getExecutablePath() {\n        return exePath;\n    }\n\n    @Override\n    public DockItemType getType() {\n        return DockItemType.PROGRAM;\n    }\n\n    @Override\n    public void setLabel(String label) {\n        this.label = label;\n    }\n\n    @Override\n    public void setPath(String path) {\n        this.exePath = path;\n    }\n\n}\n"
  },
  {
    "path": "src/main/java/com/github/arthurdeka/cedromoderndock/model/DockSettingsItemModel.java",
    "content": "package com.github.arthurdeka.cedromoderndock.model;\n\nimport lombok.NoArgsConstructor;\n\n@NoArgsConstructor\npublic class DockSettingsItemModel implements DockItem{\n\n    private String label = \"Settings\";\n    private String iconPath = \"/com/github/arthurdeka/cedromoderndock/icons/settings.png\";\n\n\n    @Override\n    public String getLabel() {\n        return label;\n    }\n\n    @Override\n    public String getPath() {\n        return iconPath;\n    }\n\n    @Override\n    public DockItemType getType() {\n        return DockItemType.SETTINGS;\n    }\n\n    @Override\n    public void setLabel(String label) {\n        this.label = label;\n    }\n\n    @Override\n    public void setPath(String path) {\n        this.iconPath = path;\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/github/arthurdeka/cedromoderndock/model/DockVerticalAnchor.java",
    "content": "package com.github.arthurdeka.cedromoderndock.model;\n\npublic enum DockVerticalAnchor {\n    TOP,\n    MIDDLE,\n    DOWN\n}\n"
  },
  {
    "path": "src/main/java/com/github/arthurdeka/cedromoderndock/model/DockWindowsModuleItemModel.java",
    "content": "package com.github.arthurdeka.cedromoderndock.model;\n\nimport lombok.Getter;\nimport lombok.NoArgsConstructor;\nimport lombok.Setter;\n\nimport java.util.Objects;\n\n@NoArgsConstructor\npublic class DockWindowsModuleItemModel implements DockItem {\n\n    private String label = \"\";\n    private String iconPath = \"\";\n    @Setter\n    @Getter\n    private String module = \"\";\n\n    public DockWindowsModuleItemModel(String label, String module) {\n\n\n        if (Objects.equals(module, \"mypc\")) {\n            this.iconPath = \"/com/github/arthurdeka/cedromoderndock/icons/my_computer.png\";\n\n        } else if (Objects.equals(module, \"trash\")) {\n            this.iconPath = \"/com/github/arthurdeka/cedromoderndock/icons/trash.png\";\n\n        } else if (Objects.equals(module, \"ctrlpnl\")) {\n            this.iconPath = \"/com/github/arthurdeka/cedromoderndock/icons/control.png\";\n\n        } else if (Objects.equals(module, \"pconfig\")) {\n            this.iconPath = \"/com/github/arthurdeka/cedromoderndock/icons/windows_settings.png\";\n\n        }\n\n        this.label = label;\n        this.module = module;\n    }\n\n    @Override\n    public String getLabel() {\n        return label;\n    }\n\n    @Override\n    public String getPath() {\n        return iconPath;\n    }\n\n    @Override\n    public DockItemType getType() {\n        return DockItemType.WINDOWS_MODULE;\n    }\n\n    @Override\n    public void setLabel(String label) {\n        this.label = label;\n    }\n\n    @Override\n    public void setPath(String path) {\n        this.iconPath = path;\n    }\n\n}\n"
  },
  {
    "path": "src/main/java/com/github/arthurdeka/cedromoderndock/util/ColorManipulation.java",
    "content": "package com.github.arthurdeka.cedromoderndock.util;\n\nimport javafx.scene.paint.Color;\n\npublic class ColorManipulation {\n\n    /*\n    * This class exists to translate colors between the formats 0xAARRGGBB and RGB\n    * Why? Because to apply the dock color, we use the RGB format\n    * However, to get and set the color on the JavaFX ColorPicker, it will only accept 0xAARRGGBB\n    *\n    * if you know any better way to do this, I'm all ears\n    *\n    * */\n\n    public static String fromRGBAtoRGB(String RGBAColor) {\n        Color color = Color.web(RGBAColor);\n\n        int red = (int) (color.getRed() * 255);\n        int green = (int) (color.getGreen() * 255);\n        int blue = (int) (color.getBlue() * 255);\n\n        String RGBcolor = red + \", \" + green + \", \" + blue + \", \";\n\n        return RGBcolor;\n    }\n\n    public static Color fromRGBtoRGBA(String RGBColor) {\n        // the expected format is String RGBColor = \"255, 255, 255, \"\n\n        //removing , and extra spaces\n        String[] rgbValues = RGBColor.trim().split(\",\\\\s*\");\n\n        int red = Integer.parseInt(rgbValues[0]);\n        int green = Integer.parseInt(rgbValues[1]);\n        int blue = Integer.parseInt(rgbValues[2]);\n\n        // alpha is always 100%\n        int alpha = 255;\n\n        Color color = Color.rgb(red, green, blue);\n\n        return color;\n    }\n\n}\n\n"
  },
  {
    "path": "src/main/java/com/github/arthurdeka/cedromoderndock/util/Logger.java",
    "content": "package com.github.arthurdeka.cedromoderndock.util;\n\nimport java.io.BufferedWriter;\nimport java.io.File;\nimport java.io.FileWriter;\nimport java.io.IOException;\nimport java.io.PrintWriter;\nimport java.nio.file.Path;\nimport java.nio.file.Paths;\nimport java.time.LocalDateTime;\nimport java.time.format.DateTimeFormatter;\n\n/**\n * Final utility class for application logging.\n * Provides static methods for informational and error logs.\n */\npublic final class Logger {\n\n    private static final String LOG_FILE_NAME = \"log.txt\";\n    private static final Path LOG_FILE_PATH = getLogFilePath();\n    private static final DateTimeFormatter dtf = DateTimeFormatter.ofPattern(\"yyyy-MM-dd HH:mm:ss\");\n\n    // Private constructor to prevent this utility class from being instantiated.\n    private Logger() {\n    }\n\n    /**\n     * Determines the absolute path for the log file in the user's\n     * AppData/Roaming directory.\n     * @return The absolute Path to the log file.\n     */\n    private static Path getLogFilePath() {\n        // Get the AppData\\Roaming folder path (standard for user-specific data, same for config.json file)\n        String appDataPath = System.getenv(\"APPDATA\");\n        if (appDataPath == null || appDataPath.isEmpty()) {\n            // Fallback to user home directory if APPDATA is not available\n            appDataPath = System.getProperty(\"user.home\");\n        }\n\n        // Create a dedicated directory for our application to keep things clean\n        Path configDir = Paths.get(appDataPath, \"CedroModernDock\");\n\n        // Ensure the directory exists\n        File dir = configDir.toFile();\n        if (!dir.exists()) {\n            dir.mkdirs();\n        }\n\n        // Return the full path to our log file\n        return configDir.resolve(LOG_FILE_NAME);\n    }\n\n    /**\n     * Logs an informational message to the console.\n     * The format includes the [INFO] log level.\n     */\n    public static void info(String message) {\n        System.out.println(\"[INFO] - \" + message);\n    }\n\n    /**\n     * Logs an error message to a log file (log.txt).\n     * Messages are appended to the end of the file.\n     */\n    public static void error(String message) {\n        String timestamp = dtf.format(LocalDateTime.now());\n        String logMessage = String.format(\"[%s] [ERROR] %s\", timestamp, message);\n\n        // Prints a notification to the console that an error has been logged.\n        System.err.println(logMessage + \" | Check \" + LOG_FILE_PATH + \" for more details.\");\n\n        try (FileWriter fw = new FileWriter(LOG_FILE_PATH.toFile(), true);\n             BufferedWriter bw = new BufferedWriter(fw);\n             PrintWriter out = new PrintWriter(bw)) {\n\n            out.println(logMessage);\n            out.println(\"----------------------------------------------------\");\n\n        } catch (IOException e) {\n            System.err.println(\"CRITICAL ERROR: Could not write to the log file.\");\n            e.printStackTrace();\n        }\n    }\n}"
  },
  {
    "path": "src/main/java/com/github/arthurdeka/cedromoderndock/util/NativeWindowUtils.java",
    "content": "package com.github.arthurdeka.cedromoderndock.util;\n\nimport com.sun.jna.platform.win32.Kernel32;\nimport com.sun.jna.platform.win32.User32;\nimport com.sun.jna.platform.win32.WinDef.HWND;\nimport com.sun.jna.platform.win32.WinNT;\nimport com.sun.jna.ptr.IntByReference;\n\nimport java.nio.file.Path;\nimport java.nio.file.Paths;\nimport java.util.ArrayList;\nimport java.util.List;\n\npublic class NativeWindowUtils {\n\n    // Minimal info required by the popup to activate and label a window.\n    public record WindowInfo(HWND hwnd, String title) {}\n\n    public static List<WindowInfo> getOpenWindows(String executablePath) {\n        List<WindowInfo> windows = new ArrayList<>();\n        if (executablePath == null || executablePath.isEmpty()) {\n            return windows;\n        }\n\n        // Normalize the target executable path so comparisons are stable.\n        final Path targetPath = Paths.get(executablePath).toAbsolutePath().normalize();\n\n        User32.INSTANCE.EnumWindows((hWnd, arg1) -> {\n            if (User32.INSTANCE.IsWindowVisible(hWnd)) {\n                char[] buffer = new char[1024];\n                User32.INSTANCE.GetWindowText(hWnd, buffer, 1024);\n                String title = new String(buffer).trim();\n\n                // Skip windows without title or hidden ones (some invisible windows report visible but have empty title/rect).\n                if (title.isEmpty()) {\n                    return true;\n                }\n\n                // Keep only windows belonging to the executable path requested.\n                if (isWindowFromExecutable(hWnd, targetPath)) {\n                    windows.add(new WindowInfo(hWnd, title));\n                }\n            }\n            return true;\n        }, null);\n\n        return windows;\n    }\n\n    private static boolean isWindowFromExecutable(HWND hWnd, Path targetPath) {\n        IntByReference pidRef = new IntByReference();\n        User32.INSTANCE.GetWindowThreadProcessId(hWnd, pidRef);\n        int pid = pidRef.getValue();\n\n        // Query the process image path to match it against the target executable.\n        WinNT.HANDLE process = Kernel32.INSTANCE.OpenProcess(\n                WinNT.PROCESS_QUERY_LIMITED_INFORMATION,\n                false,\n                pid\n        );\n\n        if (process != null) {\n            try {\n                char[] pathBuffer = new char[1024];\n                IntByReference size = new IntByReference(pathBuffer.length);\n                if (Kernel32.INSTANCE.QueryFullProcessImageName(process, 0, pathBuffer, size)) {\n                    String processPathStr = new String(pathBuffer, 0, size.getValue());\n                    Path processPath = Paths.get(processPathStr).toAbsolutePath().normalize();\n                    // Prefer full path match, but fall back to filename match for edge cases.\n                    if (isSameExecutable(processPath, targetPath)) {\n                        return true;\n                    }\n                }\n            } finally {\n                Kernel32.INSTANCE.CloseHandle(process);\n            }\n        }\n        return false;\n    }\n\n    private static boolean isSameExecutable(Path processPath, Path targetPath) {\n        if (processPath == null || targetPath == null) {\n            return false;\n        }\n\n        // Exact path match.\n        if (processPath.equals(targetPath)) {\n            return true;\n        }\n\n        // Case-insensitive path match (Windows path comparisons).\n        String processStr = normalizePathString(processPath);\n        String targetStr = normalizePathString(targetPath);\n        if (processStr.equalsIgnoreCase(targetStr)) {\n            return true;\n        }\n\n        // Fallback: match only the filename when the full path is not comparable.\n        Path processFile = processPath.getFileName();\n        Path targetFile = targetPath.getFileName();\n        if (processFile != null && targetFile != null) {\n            return processFile.toString().equalsIgnoreCase(targetFile.toString());\n        }\n\n        return false;\n    }\n\n    private static String normalizePathString(Path path) {\n        String value = path.toString();\n        // Strip Windows extended-length path prefix if present.\n        if (value.startsWith(\"\\\\\\\\?\\\\\")) {\n            value = value.substring(4);\n        }\n        return value;\n    }\n\n    public static void activateWindow(HWND hwnd) {\n        if (hwnd == null) return;\n\n        // Restore window if minimized\n        User32.INSTANCE.ShowWindow(hwnd, User32.SW_RESTORE);\n\n        // Bring to front\n        User32.INSTANCE.SetForegroundWindow(hwnd);\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/github/arthurdeka/cedromoderndock/util/SaveAndLoadDockSettings.java",
    "content": "package com.github.arthurdeka.cedromoderndock.util;\n\nimport com.github.arthurdeka.cedromoderndock.domain.DockRepository;\nimport com.github.arthurdeka.cedromoderndock.infrastructure.persistence.JsonDockRepository;\nimport com.github.arthurdeka.cedromoderndock.model.DockModel;\n\n/**\n * Utility class used to save and load the Dock's settings\n */\npublic final class SaveAndLoadDockSettings {\n    private static final DockRepository REPOSITORY = new JsonDockRepository();\n\n    private SaveAndLoadDockSettings() {}\n\n    /**\n     * saves the DockModel object in the config file (config.json).\n     * @param model DockModel object to be saved.\n     */\n    public static void save(DockModel model) {\n        REPOSITORY.save(model);\n    }\n\n    /**\n     * This method loads the currennt config.json file and returns a DockModel.\n     * If the file is corrupted or does not exist, a new one with only a DockSettings item is created and returned\n     *\n     * @return A DockModel instance, always valid (loaded or default).\n     */\n    public static DockModel load() {\n        return REPOSITORY.load();\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/github/arthurdeka/cedromoderndock/util/SettingsWindowLauncher.java",
    "content": "package com.github.arthurdeka.cedromoderndock.util;\n\nimport com.github.arthurdeka.cedromoderndock.App;\nimport com.github.arthurdeka.cedromoderndock.application.AppServices;\nimport com.github.arthurdeka.cedromoderndock.controller.SettingsController;\nimport com.github.arthurdeka.cedromoderndock.model.DockPositioningMode;\nimport javafx.fxml.FXMLLoader;\nimport javafx.scene.Parent;\nimport javafx.scene.Scene;\nimport javafx.stage.Stage;\n\nimport java.util.function.Consumer;\n\nimport static com.github.arthurdeka.cedromoderndock.util.UIUtils.setStageIcon;\n\npublic final class SettingsWindowLauncher {\n    private SettingsWindowLauncher() {\n    }\n\n    public static void open(\n            AppServices appServices,\n            Runnable dockRefreshAction,\n            Consumer<DockPositioningMode> positioningModeChangeAction\n    ) {\n        try {\n            FXMLLoader loader = new FXMLLoader(App.class.getResource(\"fxml/DockSettingsView.fxml\"));\n            Parent root = loader.load();\n\n            SettingsController settingsController = loader.getController();\n            settingsController.setAppServices(appServices);\n            settingsController.setDockRefreshAction(dockRefreshAction);\n            settingsController.setPositioningModeChangeAction(positioningModeChangeAction);\n            settingsController.handleInitialization();\n\n            Stage stage = new Stage();\n            stage.setTitle(appServices.localizationService().text(\"settings.window.title\"));\n            setStageIcon(stage);\n            stage.setScene(new Scene(root));\n            stage.show();\n            stage.setMinHeight(stage.getHeight());\n            stage.setMaxHeight(stage.getHeight());\n        } catch (Exception e) {\n            throw new RuntimeException(e);\n        }\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/github/arthurdeka/cedromoderndock/util/SingleInstanceGuard.java",
    "content": "package com.github.arthurdeka.cedromoderndock.util;\n\nimport java.io.IOException;\nimport java.nio.channels.FileChannel;\nimport java.nio.channels.FileLock;\nimport java.nio.channels.OverlappingFileLockException;\nimport java.nio.file.Files;\nimport java.nio.file.Path;\nimport java.nio.file.Paths;\nimport java.nio.file.StandardOpenOption;\n\npublic final class SingleInstanceGuard implements AutoCloseable {\n    private static final String LOCK_FILE_NAME = \"app.lock\";\n\n    private final Path lockFilePath;\n    private FileChannel channel;\n    private FileLock lock;\n\n    public SingleInstanceGuard() {\n        this(getDefaultLockPath());\n    }\n\n    public SingleInstanceGuard(Path lockFilePath) {\n        this.lockFilePath = lockFilePath;\n    }\n\n    public boolean tryAcquire() {\n        try {\n            Path parent = lockFilePath.getParent();\n            if (parent != null) {\n                Files.createDirectories(parent);\n            }\n\n            channel = FileChannel.open(\n                    lockFilePath,\n                    StandardOpenOption.CREATE,\n                    StandardOpenOption.WRITE\n            );\n            lock = channel.tryLock();\n            return lock != null;\n        } catch (IOException e) {\n            Logger.error(\"Failed to acquire single-instance lock: \" + e.getMessage());\n            closeQuietly();\n            return false;\n        } catch (OverlappingFileLockException e) {\n            closeQuietly();\n            return false;\n        }\n    }\n\n    @Override\n    public void close() {\n        closeQuietly();\n    }\n\n    private void closeQuietly() {\n        try {\n            if (lock != null && lock.isValid()) {\n                lock.release();\n            }\n        } catch (IOException e) {\n            Logger.error(\"Failed to release single-instance lock: \" + e.getMessage());\n        } finally {\n            lock = null;\n        }\n\n        try {\n            if (channel != null && channel.isOpen()) {\n                channel.close();\n            }\n        } catch (IOException e) {\n            Logger.error(\"Failed to close single-instance lock channel: \" + e.getMessage());\n        } finally {\n            channel = null;\n        }\n    }\n\n    private static Path getDefaultLockPath() {\n        String appDataPath = System.getenv(\"APPDATA\");\n        if (appDataPath == null || appDataPath.isEmpty()) {\n            appDataPath = System.getProperty(\"user.home\");\n        }\n\n        return Paths.get(appDataPath, \"CedroModernDock\", LOCK_FILE_NAME);\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/github/arthurdeka/cedromoderndock/util/SystemTrayManager.java",
    "content": "package com.github.arthurdeka.cedromoderndock.util;\n\nimport com.github.arthurdeka.cedromoderndock.App;\nimport javafx.application.Platform;\n\nimport javax.imageio.ImageIO;\nimport java.awt.AWTException;\nimport java.awt.EventQueue;\nimport java.awt.Image;\nimport java.awt.MenuItem;\nimport java.awt.PopupMenu;\nimport java.awt.SystemTray;\nimport java.awt.TrayIcon;\nimport java.awt.event.MouseAdapter;\nimport java.awt.event.MouseEvent;\nimport java.io.IOException;\nimport java.io.InputStream;\n\npublic final class SystemTrayManager {\n    private final Runnable openSettingsAction;\n    private final Runnable exitAction;\n    private TrayIcon trayIcon;\n\n    public SystemTrayManager(Runnable openSettingsAction, Runnable exitAction) {\n        this.openSettingsAction = openSettingsAction;\n        this.exitAction = exitAction;\n    }\n\n    public void install() {\n        if (!SystemTray.isSupported()) {\n            Logger.info(\"System tray is not supported on this system.\");\n            return;\n        }\n\n        EventQueue.invokeLater(() -> {\n            if (trayIcon != null) {\n                return;\n            }\n\n            try {\n                TrayIcon createdTrayIcon = createTrayIcon();\n                SystemTray.getSystemTray().add(createdTrayIcon);\n                trayIcon = createdTrayIcon;\n                Logger.info(\"System tray icon installed.\");\n            } catch (AWTException | IOException e) {\n                Logger.error(\"Failed to install system tray icon: \" + e.getMessage());\n            }\n        });\n    }\n\n    public void dispose() {\n        EventQueue.invokeLater(() -> {\n            if (trayIcon == null || !SystemTray.isSupported()) {\n                return;\n            }\n\n            SystemTray.getSystemTray().remove(trayIcon);\n            trayIcon = null;\n            Logger.info(\"System tray icon removed.\");\n        });\n    }\n\n    private TrayIcon createTrayIcon() throws IOException {\n        PopupMenu popupMenu = new PopupMenu();\n\n        MenuItem openSettingsMenuItem = new MenuItem(\"Open Settings\");\n        openSettingsMenuItem.addActionListener(event -> Platform.runLater(openSettingsAction));\n        popupMenu.add(openSettingsMenuItem);\n\n        MenuItem exitMenuItem = new MenuItem(\"Exit\");\n        exitMenuItem.addActionListener(event -> Platform.runLater(exitAction));\n        popupMenu.add(exitMenuItem);\n\n        TrayIcon createdTrayIcon = new TrayIcon(loadTrayImage(), \"Cedro Modern Dock\", popupMenu);\n        createdTrayIcon.setImageAutoSize(true);\n        createdTrayIcon.addMouseListener(new MouseAdapter() {\n            @Override\n            public void mouseClicked(MouseEvent event) {\n                if (event.getButton() == MouseEvent.BUTTON1 && event.getClickCount() == 1) {\n                    Platform.runLater(openSettingsAction);\n                }\n            }\n        });\n        return createdTrayIcon;\n    }\n\n    private Image loadTrayImage() throws IOException {\n        try (InputStream inputStream = App.class.getResourceAsStream(\n                \"/com/github/arthurdeka/cedromoderndock/icons/cedro/logo_32.png\"\n        )) {\n            if (inputStream == null) {\n                throw new IOException(\"Tray icon resource not found.\");\n            }\n            return ImageIO.read(inputStream);\n        }\n    }\n}\n"
  },
  {
    "path": "src/main/java/com/github/arthurdeka/cedromoderndock/util/UIUtils.java",
    "content": "package com.github.arthurdeka.cedromoderndock.util;\n\nimport com.github.arthurdeka.cedromoderndock.App;\nimport javafx.scene.image.Image;\nimport javafx.stage.Stage;\n\n/**\n * Utility class to UI related operations\n */\npublic final class UIUtils {\n\n    // Construtor privado para impedir a instanciação.\n    private UIUtils() {}\n\n    /**\n     * Defines a standard app icon to a stage.\n     * @param stage The stage which the icon will be applied to\n     */\n    public static void setStageIcon(Stage stage) {\n        try {\n            Image icon = new Image(App.class.getResourceAsStream(\"/com/github/arthurdeka/cedromoderndock/icons/cedro/logo_256.png\"));\n            stage.getIcons().add(icon);\n        } catch (Exception e) {\n            Logger.error(\"Failed to load application icon: \" + e.getMessage());\n        }\n    }\n}"
  },
  {
    "path": "src/main/java/com/github/arthurdeka/cedromoderndock/util/WindowsIconHandler.java",
    "content": "package com.github.arthurdeka.cedromoderndock.util;\n\nimport com.sun.jna.Memory;\nimport com.sun.jna.Native;\nimport com.sun.jna.Structure;\nimport com.sun.jna.platform.win32.GDI32;\nimport com.sun.jna.platform.win32.Guid;\nimport com.sun.jna.platform.win32.User32;\nimport com.sun.jna.platform.win32.WinDef.HBITMAP;\nimport com.sun.jna.platform.win32.WinDef.HDC;\nimport com.sun.jna.platform.win32.WinDef.HICON;\nimport com.sun.jna.platform.win32.WinGDI;\nimport com.sun.jna.platform.win32.WinNT;\nimport com.sun.jna.win32.StdCallLibrary;\nimport com.sun.jna.win32.W32APIOptions;\n\nimport javax.imageio.ImageIO;\nimport java.awt.image.BufferedImage;\nimport java.io.File;\nimport java.io.IOException;\nimport java.math.BigInteger;\nimport java.nio.charset.StandardCharsets;\nimport java.nio.file.Files;\nimport java.nio.file.Path;\nimport java.nio.file.Paths;\nimport java.security.MessageDigest;\nimport java.security.NoSuchAlgorithmException;\nimport java.util.List;\n\n/**\n * Extracts the icon from executables (.exe) and saves it to a persistent cache folder in AppData.\n * The extraction uses Windows Shell API (JNA) to request a high-resolution icon.\n */\npublic final class WindowsIconHandler {\n\n    private WindowsIconHandler() {\n    } // static utility\n\n    // Persistent cache directory in %APPDATA%/CedroModernDock/iconsCache\n    private static final Path CACHE_DIR = getCacheDirectory();\n    // Target extraction size to capture the highest-quality icon available.\n    private static final int ICON_SIZE = 256;\n    private static final int SHGFI_ICON = 0x000000100;\n    private static final int SHGFI_SYSICONINDEX = 0x000004000;\n    private static final int FILE_ATTRIBUTE_DIRECTORY = 0x00000010;\n    private static final int SHIL_JUMBO = 0x4;\n    private static final int ILD_TRANSPARENT = 0x00000001;\n\n    private interface User32Ex extends StdCallLibrary {\n        User32Ex INSTANCE = Native.load(\"user32\", User32Ex.class, W32APIOptions.DEFAULT_OPTIONS);\n\n        int PrivateExtractIconsW(String szFileName, int nIconIndex, int cxIcon, int cyIcon,\n                                 HICON[] phicon, int[] piconid, int nIcons, int flags);\n    }\n\n    private interface Shell32Ex extends StdCallLibrary {\n        Shell32Ex INSTANCE = Native.load(\"shell32\", Shell32Ex.class, W32APIOptions.DEFAULT_OPTIONS);\n\n        long SHGetFileInfoW(String pszPath, int dwFileAttributes, SHFILEINFO psfi, int cbFileInfo, int uFlags);\n        int SHGetImageList(int iImageList, Guid.IID riid, com.sun.jna.ptr.PointerByReference ppv);\n    }\n\n    private interface Comctl32Ex extends StdCallLibrary {\n        Comctl32Ex INSTANCE = Native.load(\"comctl32\", Comctl32Ex.class, W32APIOptions.DEFAULT_OPTIONS);\n\n        HICON ImageList_GetIcon(com.sun.jna.Pointer himl, int i, int flags);\n    }\n\n    @Structure.FieldOrder({\"hIcon\", \"iIcon\", \"dwAttributes\", \"szDisplayName\", \"szTypeName\"})\n    public static class SHFILEINFO extends Structure {\n        public HICON hIcon;\n        public int iIcon;\n        public int dwAttributes;\n        public char[] szDisplayName = new char[260];\n        public char[] szTypeName = new char[80];\n    }\n\n    /**\n     * Get the cached icon path\n     *\n     * @param exePath complete path to the .exe. (take it from the value in the config.json file)\n     * @return The path to the icon in the cache folder\n     */\n    public static Path getCachedIconPath(String exePath) {\n        return getCachedPath(exePath, \"program\");\n    }\n\n    public static Path getCachedFolderIconPath(String folderPath) {\n        return getCachedPath(folderPath, \"folder_v3\");\n    }\n\n    private static Path getCachedPath(String inputPath, String kind) {\n        try {\n            String fileName = kind + \"_\" + getHashedFileName(inputPath) + \".png\";\n            return CACHE_DIR.resolve(fileName);\n        } catch (NoSuchAlgorithmException e) {\n            Logger.error(\"getCachedIconPath - Failed to generate hashed file name for \" + inputPath + e);\n            return null;\n        }\n    }\n\n    /**\n     * Extracts the icon from executables\n     *\n     * @param exePath complete path to the .exe.\n     * @return The path to the icon in the cache folder\n     */\n    public static Path extractAndCacheIcon(String exePath) {\n        return extractAndCacheProgramIcon(exePath);\n    }\n\n    public static Path extractAndCacheFolderIcon(String folderPath) {\n        try {\n            Path cachedIconPath = getCachedFolderIconPath(folderPath);\n            if (cachedIconPath == null) {\n                return null;\n            }\n\n            if (Files.exists(cachedIconPath)) {\n                Logger.info(\"Icon for \" + folderPath + \" found in cache.\");\n                return cachedIconPath;\n            }\n\n            File folder = new File(folderPath);\n            if (!folder.isDirectory()) {\n                Logger.error(\"Folder icon extraction failed because folder is invalid: \" + folderPath);\n                return null;\n            }\n\n            BufferedImage image = extractFolderIconWithShellApi(folder);\n            if (image == null) {\n                return null;\n            }\n\n            ImageIO.write(image, \"png\", cachedIconPath.toFile());\n            return Files.exists(cachedIconPath) && Files.size(cachedIconPath) > 0 ? cachedIconPath : null;\n        } catch (IOException e) {\n            Logger.error(\"WindowsIconExtractor error on extractAndCacheFolderIcon: \" + e.getMessage() + e);\n            return null;\n        }\n    }\n\n    private static Path extractAndCacheProgramIcon(String exePath) {\n        try {\n            Path cachedIconPath = getCachedIconPath(exePath);\n            if (cachedIconPath == null) {\n                return null;\n            }\n\n            // If the icon already exists, return its path immediately.\n            if (Files.exists(cachedIconPath)) {\n                Logger.info(\"Icon for \" + exePath + \" found in cache.\");\n                return cachedIconPath;\n            }\n\n            if (!extractIconWithShellApi(exePath, cachedIconPath)) {\n                Logger.error(\"Failed to extract icon for \" + exePath + \" using Shell API.\");\n                Files.deleteIfExists(cachedIconPath); // Clean up empty or corrupted file\n                return null;\n            }\n\n            Logger.info(\"[extractAndCacheIcon] Icon for \" + exePath + \" successfully extracted and cached at iconsCache\");\n            return cachedIconPath; // Return the path of the newly saved icon.\n\n        } catch (IOException e) {\n            Logger.error(\"WindowsIconExtractor error on extractAndCacheIcon: \" + e.getMessage() + e);\n            return null;\n        }\n    }\n\n    private static BufferedImage extractFolderIconWithShellApi(File folder) {\n        SHFILEINFO shFileInfo = new SHFILEINFO();\n        long result = Shell32Ex.INSTANCE.SHGetFileInfoW(\n                folder.getAbsolutePath(),\n                FILE_ATTRIBUTE_DIRECTORY,\n                shFileInfo,\n                shFileInfo.size(),\n                SHGFI_SYSICONINDEX\n        );\n\n        if (result == 0) {\n            return null;\n        }\n\n        com.sun.jna.ptr.PointerByReference imageListRef = new com.sun.jna.ptr.PointerByReference();\n        Guid.IID iImageListId = new Guid.IID(\"{46EB5926-582E-4017-9FDF-E8998DAA0950}\");\n        int hr = Shell32Ex.INSTANCE.SHGetImageList(SHIL_JUMBO, iImageListId, imageListRef);\n        if (hr != 0 || imageListRef.getValue() == null) {\n            return null;\n        }\n\n        HICON hIcon = Comctl32Ex.INSTANCE.ImageList_GetIcon(imageListRef.getValue(), shFileInfo.iIcon, ILD_TRANSPARENT);\n        if (hIcon == null) {\n            return null;\n        }\n\n        try {\n            return iconToBufferedImage(hIcon);\n        } finally {\n            User32.INSTANCE.DestroyIcon(hIcon);\n        }\n    }\n\n    /**\n     * Extracts the icon using the Windows Shell API and saves it as a PNG.\n     */\n    private static boolean extractIconWithShellApi(String exePath, Path outputPath) throws IOException {\n        HICON[] icons = new HICON[1];\n        int[] iconIds = new int[1];\n        int extracted = User32Ex.INSTANCE.PrivateExtractIconsW(\n                exePath,\n                0,\n                ICON_SIZE,\n                ICON_SIZE,\n                icons,\n                iconIds,\n                1,\n                0\n        );\n\n        if (extracted <= 0 || icons[0] == null) {\n            return false;\n        }\n\n        BufferedImage image;\n        try {\n            image = iconToBufferedImage(icons[0]);\n        } finally {\n            User32.INSTANCE.DestroyIcon(icons[0]);\n        }\n\n        if (image == null) {\n            return false;\n        }\n\n        ImageIO.write(image, \"png\", outputPath.toFile());\n        return Files.exists(outputPath) && Files.size(outputPath) > 0;\n    }\n\n    /**\n     * Converts a Windows HICON into a BufferedImage.\n     */\n    private static BufferedImage iconToBufferedImage(HICON hIcon) {\n        WinGDI.ICONINFO iconInfo = new WinGDI.ICONINFO();\n        if (!User32.INSTANCE.GetIconInfo(hIcon, iconInfo)) {\n            return null;\n        }\n\n        try {\n            HBITMAP hBitmap = iconInfo.hbmColor != null ? iconInfo.hbmColor : iconInfo.hbmMask;\n            if (hBitmap == null) {\n                return null;\n            }\n\n            WinGDI.BITMAP bitmap = new WinGDI.BITMAP();\n            GDI32.INSTANCE.GetObject(hBitmap, bitmap.size(), bitmap.getPointer());\n            bitmap.read();\n\n            int width = bitmap.bmWidth.intValue();\n            int height = bitmap.bmHeight.intValue();\n            if (width <= 0 || height <= 0) {\n                return null;\n            }\n\n            WinGDI.BITMAPINFO bmi = new WinGDI.BITMAPINFO();\n            bmi.bmiHeader.biSize = bmi.bmiHeader.size();\n            bmi.bmiHeader.biWidth = width;\n            // Negative height creates a top-down DIB (no vertical flip).\n            bmi.bmiHeader.biHeight = -height;\n            bmi.bmiHeader.biPlanes = 1;\n            bmi.bmiHeader.biBitCount = 32;\n            bmi.bmiHeader.biCompression = WinGDI.BI_RGB;\n\n            int bufferSize = width * height * 4;\n            Memory buffer = new Memory(bufferSize);\n            HDC hdc = GDI32.INSTANCE.CreateCompatibleDC(null);\n            if (hdc == null) {\n                return null;\n            }\n            WinNT.HANDLE oldBitmap = GDI32.INSTANCE.SelectObject(hdc, hBitmap);\n\n            int lines = GDI32.INSTANCE.GetDIBits(\n                    hdc,\n                    hBitmap,\n                    0,\n                    height,\n                    buffer,\n                    bmi,\n                    WinGDI.DIB_RGB_COLORS\n            );\n\n            GDI32.INSTANCE.SelectObject(hdc, oldBitmap);\n            GDI32.INSTANCE.DeleteDC(hdc);\n\n            if (lines == 0) {\n                return null;\n            }\n\n            byte[] data = buffer.getByteArray(0, bufferSize);\n            int[] pixels = new int[width * height];\n            for (int i = 0, p = 0; i < pixels.length; i++) {\n                int b = data[p++] & 0xFF;\n                int g = data[p++] & 0xFF;\n                int r = data[p++] & 0xFF;\n                int a = data[p++] & 0xFF;\n                pixels[i] = (a << 24) | (r << 16) | (g << 8) | b;\n            }\n\n            BufferedImage image = new BufferedImage(width, height, BufferedImage.TYPE_INT_ARGB);\n            image.setRGB(0, 0, width, height, pixels, 0, width);\n            return image;\n        } finally {\n            cleanupIconInfo(iconInfo);\n        }\n    }\n\n    private static void cleanupIconInfo(WinGDI.ICONINFO iconInfo) {\n        if (iconInfo.hbmColor != null) {\n            GDI32.INSTANCE.DeleteObject(iconInfo.hbmColor);\n        }\n        if (iconInfo.hbmMask != null) {\n            GDI32.INSTANCE.DeleteObject(iconInfo.hbmMask);\n        }\n    }\n\n    /**\n     * Returns the icons cache directory (creating AppData/CedroModernDock/iconsCache if it does not exist)\n     */\n    private static Path getCacheDirectory() {\n        try {\n            String appData = System.getenv(\"APPDATA\");\n            if (appData == null || appData.isEmpty()) {\n                Logger.error(\"AppData Not found.\");\n            }\n            Path cacheDir = Paths.get(appData, \"CedroModernDock\", \"iconsCache\");\n            Files.createDirectories(cacheDir); // Creates the folder structure if it doesn't exist\n            return cacheDir;\n        } catch (IOException e) {\n            Logger.error(\"Failed to create icon cache directory.\" + e);\n            throw new RuntimeException(\"Could not create cache directory.\", e);\n        }\n    }\n\n    /**\n     * Generates a safe filename using a SHA-256 hash of the executable path.\n     */\n    private static String getHashedFileName(String input) throws NoSuchAlgorithmException {\n        MessageDigest digest = MessageDigest.getInstance(\"SHA-256\");\n        byte[] hash = digest.digest(input.getBytes(StandardCharsets.UTF_8));\n        return new BigInteger(1, hash).toString(16);\n    }\n\n}\n"
  },
  {
    "path": "src/main/java/com/github/arthurdeka/cedromoderndock/view/WindowPreviewPopup.java",
    "content": "package com.github.arthurdeka.cedromoderndock.view;\n\nimport com.github.arthurdeka.cedromoderndock.application.DockTheme;\nimport com.github.arthurdeka.cedromoderndock.util.NativeWindowUtils;\nimport javafx.beans.value.ChangeListener;\nimport javafx.geometry.Bounds;\nimport javafx.geometry.Insets;\nimport javafx.geometry.Pos;\nimport javafx.geometry.Rectangle2D;\nimport javafx.scene.Node;\nimport javafx.scene.control.Label;\nimport javafx.scene.image.Image;\nimport javafx.scene.image.ImageView;\nimport javafx.scene.layout.HBox;\nimport javafx.scene.layout.VBox;\nimport javafx.scene.paint.Color;\nimport javafx.stage.Popup;\nimport javafx.stage.Screen;\n\nimport java.util.List;\nimport java.util.function.Consumer;\n\npublic class WindowPreviewPopup extends Popup {\n\n    private final VBox container;\n    private Node currentTarget;\n    private Node currentDock;\n    // Reposition whenever popup size changes (content can grow/shrink).\n    private final ChangeListener<Number> sizeListener = (obs, old, val) -> reposition();\n\n    public WindowPreviewPopup() {\n        this.container = new VBox();\n        this.container.setPadding(new Insets(10));\n        this.container.setSpacing(5);\n        this.container.setAlignment(Pos.CENTER_LEFT);\n\n        // Prevent auto-hide when clicking inside the popup\n        this.setAutoHide(false);\n        this.getContent().add(container);\n\n        widthProperty().addListener(sizeListener);\n        heightProperty().addListener(sizeListener);\n    }\n\n    public void updateContent(\n            List<NativeWindowUtils.WindowInfo> windows,\n            Image appIcon,\n            String appLabel,\n            DockTheme dockTheme,\n            Consumer<NativeWindowUtils.WindowInfo> activateWindowAction\n    ) {\n        container.getChildren().clear();\n\n        // Apply style from dock model so the popup matches the dock theme.\n        String style = String.format(\n                \"-fx-background-color: rgba(%s %s); -fx-background-radius: %s;\",\n                dockTheme.colorRgb(),\n                dockTheme.transparency(),\n                dockTheme.borderRounding()\n        );\n        container.setStyle(style);\n\n        // Choose a readable text color based on dock background brightness.\n        Color textColor = getTextColorForBackground(dockTheme.colorRgb());\n\n        for (NativeWindowUtils.WindowInfo window : windows) {\n            HBox item = createWindowItem(window, appIcon, appLabel, textColor, activateWindowAction);\n            container.getChildren().add(item);\n        }\n    }\n\n    private Color getTextColorForBackground(String dockColorRGB) {\n        try {\n            // Remove commas and trim\n            String cleanRGB = dockColorRGB.replace(\",\", \" \").trim();\n            String[] parts = cleanRGB.split(\"\\\\s+\");\n            if (parts.length >= 3) {\n                int r = Integer.parseInt(parts[0]);\n                int g = Integer.parseInt(parts[1]);\n                int b = Integer.parseInt(parts[2]);\n                // Calculate brightness to choose black/white contrast.\n                double brightness = (r * 0.299 + g * 0.587 + b * 0.114);\n                return brightness > 128 ? Color.BLACK : Color.WHITE;\n            }\n        } catch (NumberFormatException e) {\n            // Ignore, default to white\n        }\n        return Color.WHITE;\n    }\n\n    private HBox createWindowItem(\n            NativeWindowUtils.WindowInfo window,\n            Image appIcon,\n            String appLabel,\n            Color textColor,\n            Consumer<NativeWindowUtils.WindowInfo> activateWindowAction\n    ) {\n        HBox item = new HBox();\n        item.setSpacing(10);\n        item.setPadding(new Insets(5, 10, 5, 10));\n        item.setAlignment(Pos.CENTER_LEFT);\n        item.setStyle(\"-fx-background-color: transparent; -fx-background-radius: 5; -fx-cursor: hand;\");\n\n        // Icon\n        ImageView iconView = new ImageView(appIcon);\n        iconView.setFitWidth(16);\n        iconView.setFitHeight(16);\n        iconView.setPreserveRatio(true);\n\n        // Title\n        Label titleLabel = new Label(formatWindowTitle(window.title(), appLabel));\n        titleLabel.setTextFill(textColor);\n        titleLabel.setStyle(\"-fx-font-size: 12px;\");\n\n        item.getChildren().addAll(iconView, titleLabel);\n\n        // Hover effect for better visual feedback.\n        item.setOnMouseEntered(e -> {\n            item.setStyle(\"-fx-background-color: rgba(255, 255, 255, 0.2); -fx-background-radius: 5; -fx-cursor: hand;\");\n            titleLabel.setTextFill(Color.WHITE); // Always white on hover for better contrast against hover bg\n        });\n        item.setOnMouseExited(e -> {\n            item.setStyle(\"-fx-background-color: transparent; -fx-background-radius: 5; -fx-cursor: hand;\");\n            titleLabel.setTextFill(textColor);\n        });\n\n        // Click action\n        item.setOnMouseClicked(e -> {\n            activateWindowAction.accept(window);\n            this.hide();\n        });\n\n        return item;\n    }\n\n    private String formatWindowTitle(String windowTitle, String appLabel) {\n        String sanitizedTitle = stripRedundantAppSuffix(windowTitle, appLabel);\n        return truncateTitle(sanitizedTitle, 40);\n    }\n\n    private String stripRedundantAppSuffix(String windowTitle, String appLabel) {\n        if (windowTitle == null) {\n            return \"\";\n        }\n        if (appLabel == null || appLabel.isBlank()) {\n            return windowTitle;\n        }\n\n        String suffix = \" - \" + appLabel;\n        if (windowTitle.regionMatches(true, Math.max(0, windowTitle.length() - suffix.length()), suffix, 0, suffix.length())) {\n            String stripped = windowTitle.substring(0, windowTitle.length() - suffix.length()).trim();\n            if (!stripped.isEmpty()) {\n                return stripped;\n            }\n        }\n\n        return windowTitle;\n    }\n\n    private String truncateTitle(String title, int maxLength) {\n        if (title == null) {\n            return \"\";\n        }\n        if (title.length() <= maxLength) {\n            return title;\n        }\n        return title.substring(0, maxLength) + \"...\";\n    }\n\n    public VBox getContainer() {\n        return container;\n    }\n\n    public void showAbove(Node target, Node dockContainer) {\n        this.currentTarget = target;\n        this.currentDock = dockContainer;\n        Bounds bounds = target.localToScreen(target.getBoundsInLocal());\n\n        // Initial show, then reposition to avoid flicker.\n        if (!isShowing()) {\n            this.show(target, bounds.getMinX(), bounds.getMinY());\n        }\n        reposition();\n    }\n\n    private void reposition() {\n        if (currentTarget == null || !isShowing()) return;\n        Bounds bounds = currentTarget.localToScreen(currentTarget.getBoundsInLocal());\n        if (bounds == null) return;\n\n        double w = getWidth();\n        double h = getHeight();\n        double gap = 5;\n\n        // Center horizontally over the target icon.\n        setX(bounds.getMinX() + (bounds.getWidth() / 2) - (w / 2));\n\n        Rectangle2D screenBounds = getScreenBounds(bounds);\n        Bounds dockBounds = getDockBounds(bounds);\n        double yAbove = dockBounds.getMinY() - h - gap;\n        double yBelow = dockBounds.getMaxY() + gap;\n\n        // If there's no room above the dock, place below instead.\n        if (yAbove < screenBounds.getMinY() + gap) {\n            setY(yBelow);\n        } else {\n            setY(yAbove);\n        }\n    }\n\n    private Rectangle2D getScreenBounds(Bounds bounds) {\n        // Use the screen containing the target bounds.\n        for (Screen screen : Screen.getScreensForRectangle(\n                bounds.getMinX(),\n                bounds.getMinY(),\n                bounds.getWidth(),\n                bounds.getHeight()\n        )) {\n            return screen.getVisualBounds();\n        }\n        return Screen.getPrimary().getVisualBounds();\n    }\n\n    private Bounds getDockBounds(Bounds fallbackBounds) {\n        if (currentDock == null) {\n            return fallbackBounds;\n        }\n        Bounds dockBounds = currentDock.localToScreen(currentDock.getBoundsInLocal());\n        return dockBounds != null ? dockBounds : fallbackBounds;\n    }\n}\n"
  },
  {
    "path": "src/main/java/module-info.java",
    "content": "module com.github.arthurdeka.cedromoderndock {\n    requires javafx.controls;\n    requires javafx.fxml;\n    requires java.desktop;\n    requires com.sun.jna;\n    requires com.sun.jna.platform;\n    requires com.fasterxml.jackson.databind;\n    requires static lombok;\n\n    opens com.github.arthurdeka.cedromoderndock.controller to javafx.fxml;\n    opens com.github.arthurdeka.cedromoderndock to javafx.fxml;\n    opens com.github.arthurdeka.cedromoderndock.fxml to javafx.fxml;\n    opens com.github.arthurdeka.cedromoderndock.application to com.fasterxml.jackson.databind;\n    opens com.github.arthurdeka.cedromoderndock.model to com.fasterxml.jackson.databind;\n    opens com.github.arthurdeka.cedromoderndock.util to com.sun.jna;\n\n    exports com.github.arthurdeka.cedromoderndock;\n    exports com.github.arthurdeka.cedromoderndock.controller to javafx.fxml;\n}\n"
  },
  {
    "path": "src/main/resources/com/github/arthurdeka/cedromoderndock/css/dock.css",
    "content": "#myAnchorPane {\n    -fx-background-color: transparent;\n\n}\n\n#MyHBox {\n    -fx-background-color: black;\n\n}\n\n.dock-button {\n    -fx-content-display: graphic-only;\n    -fx-background-color: transparent;\n\n    -fx-cursor: hand;\n\n    transition-property: -fx-scale-x, -fx-scale-y;\n    transition-duration: 0.3s;\n    -fx-scale-x: 1.0;\n    -fx-scale-y: 1.0;\n\n}\n\n.dock-button:hover {\n    -fx-scale-x: 1.3;\n    -fx-scale-y: 1.3;\n\n}\n\n"
  },
  {
    "path": "src/main/resources/com/github/arthurdeka/cedromoderndock/css/dockSettings.css",
    "content": ".root {\n    -fx-font-family: \"Segoe UI\", Arial, sans-serif;\n    -fx-background-color: #111315;\n    -fx-base: #111315;\n    -fx-accent: #007acc;\n    -fx-focus-color: transparent;\n    -fx-faint-focus-color: transparent;\n}\n\n.window-root {\n    -fx-background-color: linear-gradient(to bottom, #15181c 0%, #111315 100%);\n}\n\n.settings-window {\n    -fx-background-insets: 0;\n}\n\n.modal-root {\n    -fx-background-color: #111315;\n}\n\n.label {\n    -fx-text-fill: #e6edf3;\n    -fx-font-size: 13px;\n}\n\n.page-header {\n    -fx-padding: 0 0 4 0;\n}\n\n#mainTitle,\n.main-title {\n    -fx-text-fill: #f5f7fa;\n    -fx-font-size: 30px;\n    -fx-font-weight: bold;\n}\n\n.modal-title {\n    -fx-font-size: 26px;\n}\n\n.main-subtitle {\n    -fx-text-fill: #8f9aa6;\n    -fx-font-size: 13px;\n}\n\n.content-shell {\n    -fx-background-color: transparent;\n}\n\n.tab-scroll-pane {\n    -fx-background-color: transparent;\n    -fx-background: transparent;\n    -fx-border-color: transparent;\n    -fx-fit-to-width: true;\n}\n\n.tab-scroll-pane > .viewport {\n    -fx-background-color: transparent;\n}\n\n.tab-scroll-pane > .corner {\n    -fx-background-color: transparent;\n}\n\n.section-card {\n    -fx-background-color: #1a1d21;\n    -fx-border-color: #2d333b;\n    -fx-border-width: 1px;\n    -fx-border-radius: 4px;\n    -fx-background-radius: 4px;\n    -fx-padding: 18px;\n}\n\n.action-panel {\n    -fx-background-color: #171a1e;\n}\n\n.hero-card,\n.logo-card {\n    -fx-background-color: #171a1e;\n    -fx-border-color: #2d333b;\n    -fx-border-width: 1px;\n    -fx-border-radius: 4px;\n    -fx-background-radius: 4px;\n    -fx-padding: 18px;\n}\n\n.hero-image-wrap {\n    -fx-background-color: #111315;\n    -fx-border-color: #28313a;\n    -fx-border-width: 1px;\n    -fx-border-radius: 4px;\n    -fx-background-radius: 4px;\n    -fx-padding: 18px;\n}\n\n.section-title {\n    -fx-text-fill: #007acc;\n    -fx-font-size: 17px;\n    -fx-font-weight: bold;\n}\n\n.section-helper {\n    -fx-text-fill: #97a3b0;\n    -fx-font-size: 12px;\n}\n\n.field-label {\n    -fx-text-fill: #dce3ea;\n    -fx-font-size: 12px;\n    -fx-font-weight: bold;\n}\n\n.meta-card {\n    -fx-min-width: 440px;\n}\n\n.meta-value {\n    -fx-text-fill: #d7dee6;\n    -fx-font-size: 13px;\n}\n\n.general-link {\n    -fx-text-fill: #8fbfe8;\n}\n\n.footer-note {\n    -fx-text-fill: #b9c3ce;\n    -fx-font-weight: bold;\n}\n\n.ack-item {\n    -fx-background-color: #13161a;\n    -fx-border-color: #262d35;\n    -fx-border-width: 1px;\n    -fx-border-radius: 4px;\n    -fx-background-radius: 4px;\n    -fx-padding: 10px 12px;\n    -fx-text-fill: #dde6ef;\n    -fx-font-size: 13px;\n}\n\n.tab-pane {\n    -fx-background-color: transparent;\n    -fx-tab-min-height: 36px;\n    -fx-tab-max-height: 36px;\n}\n\n.tab-pane .tab-header-area {\n    -fx-padding: 0 0 8 0;\n}\n\n.tab-pane .tab-header-area .tab-header-background {\n    -fx-background-color: transparent;\n}\n\n.tab-pane .headers-region {\n    -fx-background-color: transparent;\n}\n\n.tab-pane .tab {\n    -fx-background-color: #1a1d21;\n    -fx-border-color: #2d333b;\n    -fx-border-width: 1px;\n    -fx-border-radius: 4px 4px 0 0;\n    -fx-background-radius: 4px 4px 0 0;\n    -fx-padding: 8 16 8 16;\n}\n\n.tab-pane .tab:hover {\n    -fx-background-color: #20242a;\n}\n\n.tab-pane .tab:selected {\n    -fx-background-color: #20242a;\n    -fx-border-color: #007acc #2d333b #20242a #2d333b;\n    -fx-border-width: 2px 1px 1px 1px;\n}\n\n.tab-pane .tab .tab-label {\n    -fx-text-fill: #a9b4bf;\n    -fx-font-size: 12px;\n    -fx-font-weight: bold;\n}\n\n.tab-pane .tab:selected .tab-label {\n    -fx-text-fill: #f5f7fa;\n}\n\n.tab-pane .tab-content-area {\n    -fx-background-color: #14181c;\n    -fx-border-color: #2d333b;\n    -fx-border-width: 1px;\n    -fx-background-radius: 0 4px 4px 4px;\n    -fx-border-radius: 0 4px 4px 4px;\n}\n\n.button {\n    -fx-background-color: #007acc;\n    -fx-text-fill: white;\n    -fx-font-size: 13px;\n    -fx-font-weight: bold;\n    -fx-padding: 11px 16px;\n    -fx-background-radius: 4px;\n    -fx-border-radius: 4px;\n    -fx-border-width: 1px;\n    -fx-border-color: #007acc;\n}\n\n.button:hover {\n    -fx-background-color: #1387d7;\n    -fx-border-color: #1387d7;\n    -fx-cursor: hand;\n}\n\n.button:pressed {\n    -fx-background-color: #0060a2;\n    -fx-border-color: #0060a2;\n}\n\n.button:disabled {\n    -fx-opacity: 0.48;\n}\n\n.secondary-button {\n    -fx-background-color: #1a1d21;\n    -fx-border-color: #2f3943;\n    -fx-text-fill: #e6edf3;\n}\n\n.secondary-button:hover {\n    -fx-background-color: #22272e;\n    -fx-border-color: #3b4753;\n}\n\n.secondary-button:pressed {\n    -fx-background-color: #171b1f;\n    -fx-border-color: #2f3943;\n}\n\n.list-view {\n    -fx-background-color: #111315;\n    -fx-control-inner-background: #111315;\n    -fx-border-color: #2d333b;\n    -fx-border-width: 1px;\n    -fx-background-radius: 4px;\n    -fx-border-radius: 4px;\n    -fx-padding: 4px;\n}\n\n.list-cell {\n    -fx-background-color: transparent;\n    -fx-text-fill: #dce3ea;\n    -fx-font-size: 13px;\n    -fx-padding: 10px 12px;\n}\n\n.list-cell:filled:hover {\n    -fx-background-color: #1d2329;\n    -fx-text-fill: #f5f7fa;\n}\n\n.list-cell:filled:selected,\n.list-cell:filled:selected:hover {\n    -fx-background-color: #007acc;\n    -fx-text-fill: #ffffff;\n}\n\n.scroll-bar:vertical,\n.scroll-bar:horizontal {\n    -fx-background-color: transparent;\n}\n\n.scroll-bar .thumb {\n    -fx-background-color: #2f3943;\n    -fx-background-radius: 4px;\n}\n\n.scroll-bar .thumb:hover {\n    -fx-background-color: #3d4956;\n}\n\n.slider .track {\n    -fx-background-color: #2a3036;\n    -fx-background-radius: 2px;\n    -fx-pref-height: 4px;\n}\n\n.slider .thumb {\n    -fx-background-color: #007acc;\n    -fx-background-radius: 100px;\n    -fx-padding: 8px;\n}\n\n.slider .axis {\n    -fx-tick-label-fill: #8f9aa6;\n    -fx-tick-length: 4px;\n}\n\n.slider .axis .tick-mark {\n    -fx-stroke: #5f6a75;\n}\n\n.radio-button {\n    -fx-text-fill: #dce3ea;\n    -fx-font-size: 13px;\n    -fx-font-weight: bold;\n}\n\n.radio-button .radio {\n    -fx-background-color: #111315;\n    -fx-border-color: #55616e;\n    -fx-border-width: 1px;\n    -fx-border-radius: 100px;\n    -fx-background-radius: 100px;\n    -fx-padding: 4px;\n}\n\n.radio-button:selected .radio {\n    -fx-border-color: #007acc;\n}\n\n.radio-button:selected .dot {\n    -fx-background-color: #007acc;\n    -fx-background-insets: 0;\n}\n\n.choice-box,\n.color-picker {\n    -fx-background-color: #111315;\n    -fx-border-color: #2d333b;\n    -fx-border-width: 1px;\n    -fx-background-radius: 4px;\n    -fx-border-radius: 4px;\n    -fx-mark-color: #007acc;\n    -fx-padding: 4px 8px;\n}\n\n.choice-box:hover,\n.color-picker:hover {\n    -fx-background-color: #161a1f;\n    -fx-border-color: #3a4652;\n}\n\n.choice-box > .label,\n.color-picker .label {\n    -fx-text-fill: #e6edf3;\n    -fx-font-size: 13px;\n    -fx-font-weight: bold;\n}\n\n.choice-box .context-menu {\n    -fx-background-color: #171b20;\n}\n\n.choice-box .menu-item:focused {\n    -fx-background-color: #007acc;\n}\n\n.choice-box .menu-item > .label {\n    -fx-text-fill: #e6edf3;\n    -fx-font-size: 13px;\n}\n\n.choice-box .menu-item:focused > .label {\n    -fx-text-fill: white;\n}\n\n#dockColorPicker .arrow {\n    -fx-background-color: #007acc;\n}\n\n#dockColorPicker .color-picker-label {\n    -fx-text-fill: #e6edf3;\n}\n\n#dockColorPicker .color-picker-grid .opacity-slider,\n#dockColorPicker .color-picker-grid .opacity-label {\n    visibility: hidden;\n    max-height: 0;\n    padding: 0;\n}\n"
  },
  {
    "path": "src/main/resources/com/github/arthurdeka/cedromoderndock/fxml/AcknowledgementsModalView.fxml",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\n<?import javafx.geometry.Insets?>\n<?import javafx.scene.control.Label?>\n<?import javafx.scene.layout.VBox?>\n\n<VBox prefHeight=\"380.0\" prefWidth=\"620.0\" spacing=\"18.0\" stylesheets=\"@../css/dockSettings.css\" styleClass=\"window-root modal-root\" xmlns=\"http://javafx.com/javafx/23.0.1\" xmlns:fx=\"http://javafx.com/fxml/1\" fx:controller=\"com.github.arthurdeka.cedromoderndock.controller.AcknowledgementsModalController\">\n   <padding>\n      <Insets bottom=\"22.0\" left=\"22.0\" right=\"22.0\" top=\"22.0\" />\n   </padding>\n   <children>\n      <VBox spacing=\"4.0\" styleClass=\"page-header\">\n         <children>\n            <Label fx:id=\"titleLabel\" styleClass=\"main-title modal-title\" text=\"Acknowledgements\" />\n            <Label fx:id=\"subtitleLabel\" styleClass=\"main-subtitle\" text=\"Libraries and frameworks used by Cedro Modern Dock.\" wrapText=\"true\" />\n         </children>\n      </VBox>\n      <VBox spacing=\"12.0\" styleClass=\"section-card\">\n         <children>\n            <Label fx:id=\"sectionTitleLabel\" styleClass=\"section-title\" text=\"Libraries &amp; Frameworks\" />\n            <Label styleClass=\"ack-item\" text=\"JavaFX Controls - v 23.0.1\" />\n            <Label styleClass=\"ack-item\" text=\"JavaFX FXML - v 23.0.1\" />\n            <Label styleClass=\"ack-item\" text=\"JNA Java Native Access - v 5.13.0\" />\n            <Label styleClass=\"ack-item\" text=\"JNA Platform - v 5.13.0\" />\n            <Label styleClass=\"ack-item\" text=\"Jackson Databind - v 2.17.2\" />\n            <Label styleClass=\"ack-item\" text=\"Project Lombok - v 1.18.38\" />\n         </children>\n      </VBox>\n   </children>\n</VBox>\n"
  },
  {
    "path": "src/main/resources/com/github/arthurdeka/cedromoderndock/fxml/AddWindowsModulesModalView.fxml",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\n<?import javafx.geometry.Insets?>\n<?import javafx.scene.control.Button?>\n<?import javafx.scene.control.Label?>\n<?import javafx.scene.control.ListView?>\n<?import javafx.scene.layout.VBox?>\n\n<VBox prefHeight=\"420.0\" prefWidth=\"420.0\" spacing=\"18.0\" stylesheets=\"@../css/dockSettings.css\" styleClass=\"window-root modal-root\" xmlns=\"http://javafx.com/javafx/23.0.1\" xmlns:fx=\"http://javafx.com/fxml/1\" fx:controller=\"com.github.arthurdeka.cedromoderndock.controller.AddWindowsModulesModalController\">\n   <padding>\n      <Insets bottom=\"22.0\" left=\"22.0\" right=\"22.0\" top=\"22.0\" />\n   </padding>\n   <children>\n      <VBox spacing=\"4.0\" styleClass=\"page-header\">\n         <children>\n            <Label fx:id=\"titleLabel\" styleClass=\"main-title modal-title\" text=\"Add Windows Module\" />\n            <Label fx:id=\"subtitleLabel\" styleClass=\"main-subtitle\" text=\"Pick a native Windows destination to add to the dock.\" wrapText=\"true\" />\n         </children>\n      </VBox>\n      <VBox spacing=\"14.0\" styleClass=\"section-card\" VBox.vgrow=\"ALWAYS\">\n         <children>\n            <Label fx:id=\"availableModulesTitleLabel\" styleClass=\"section-title\" text=\"Available modules\" />\n            <Label fx:id=\"availableModulesHelperLabel\" styleClass=\"section-helper\" text=\"These entries create dock shortcuts for built-in Windows surfaces.\" wrapText=\"true\" />\n            <ListView fx:id=\"listView\" VBox.vgrow=\"ALWAYS\" />\n         </children>\n      </VBox>\n      <Button fx:id=\"addSelectedModuleButton\" maxWidth=\"Infinity\" mnemonicParsing=\"false\" onAction=\"#handleAddSelectedModule\" text=\"Add Selected Module\" />\n   </children>\n</VBox>\n"
  },
  {
    "path": "src/main/resources/com/github/arthurdeka/cedromoderndock/fxml/DockSettingsView.fxml",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\n<?import javafx.geometry.Insets?>\n<?import javafx.scene.control.Button?>\n<?import javafx.scene.control.ChoiceBox?>\n<?import javafx.scene.control.ColorPicker?>\n<?import javafx.scene.control.Label?>\n<?import javafx.scene.control.ListView?>\n<?import javafx.scene.control.RadioButton?>\n<?import javafx.scene.control.ScrollPane?>\n<?import javafx.scene.control.Slider?>\n<?import javafx.scene.control.Tab?>\n<?import javafx.scene.control.TabPane?>\n<?import javafx.scene.image.Image?>\n<?import javafx.scene.image.ImageView?>\n<?import javafx.scene.layout.GridPane?>\n<?import javafx.scene.layout.HBox?>\n<?import javafx.scene.layout.Region?>\n<?import javafx.scene.layout.StackPane?>\n<?import javafx.scene.layout.VBox?>\n\n<VBox maxHeight=\"700.0\" minHeight=\"700.0\" prefHeight=\"700.0\" prefWidth=\"980.0\" spacing=\"20.0\" stylesheets=\"@../css/dockSettings.css\" styleClass=\"window-root settings-window\" xmlns=\"http://javafx.com/javafx/23.0.1\" xmlns:fx=\"http://javafx.com/fxml/1\" fx:controller=\"com.github.arthurdeka.cedromoderndock.controller.SettingsController\">\n   <padding>\n      <Insets bottom=\"22.0\" left=\"22.0\" right=\"22.0\" top=\"22.0\" />\n   </padding>\n   <children>\n      <VBox spacing=\"4.0\" styleClass=\"page-header\">\n         <children>\n            <Label id=\"mainTitle\" fx:id=\"mainTitleLabel\" styleClass=\"main-title\" text=\"Dock Settings\" />\n            <Label fx:id=\"mainSubtitleLabel\" styleClass=\"main-subtitle\" text=\"Dark flat redesign with responsive layout, modern controls and tab-based organization.\" wrapText=\"true\" />\n         </children>\n      </VBox>\n      <HBox alignment=\"CENTER_LEFT\" spacing=\"12.0\">\n         <children>\n            <Label fx:id=\"languageLabel\" styleClass=\"field-label\" text=\"Language\" />\n            <ChoiceBox fx:id=\"languageChoiceBox\" prefWidth=\"220.0\" />\n         </children>\n      </HBox>\n      <TabPane fx:id=\"settingsTabPane\" tabClosingPolicy=\"UNAVAILABLE\" VBox.vgrow=\"ALWAYS\">\n         <tabs>\n            <Tab fx:id=\"iconsTab\" text=\"Icons\">\n               <content>\n                  <ScrollPane fitToWidth=\"true\" hbarPolicy=\"NEVER\" styleClass=\"tab-scroll-pane\">\n                     <content>\n                        <VBox spacing=\"20.0\" styleClass=\"content-shell\">\n                           <padding>\n                              <Insets bottom=\"22.0\" left=\"22.0\" right=\"22.0\" top=\"22.0\" />\n                           </padding>\n                           <children>\n                              <HBox spacing=\"20.0\" VBox.vgrow=\"ALWAYS\">\n                                 <children>\n                                    <VBox spacing=\"14.0\" styleClass=\"section-card\" HBox.hgrow=\"ALWAYS\">\n                                       <children>\n                                          <Label fx:id=\"dockItemsTitleLabel\" styleClass=\"section-title\" text=\"Dock items\" />\n                                          <Label fx:id=\"dockItemsHelperLabel\" styleClass=\"section-helper\" text=\"Reorder the current icons and manage programs or Windows modules from one place.\" wrapText=\"true\" />\n                                          <ListView fx:id=\"listView\" maxHeight=\"200.0\" />\n                                          <HBox spacing=\"12.0\">\n                                             <children>\n                                                <Button fx:id=\"moveItemUpButton\" disable=\"true\" maxWidth=\"Infinity\" mnemonicParsing=\"false\" onAction=\"#handleMoveItem\" styleClass=\"secondary-button\" text=\"Move Item Up\" HBox.hgrow=\"ALWAYS\" />\n                                                <Button fx:id=\"moveItemDownButton\" disable=\"true\" maxWidth=\"Infinity\" mnemonicParsing=\"false\" onAction=\"#handleMoveItem\" styleClass=\"secondary-button\" text=\"Move Item Down\" HBox.hgrow=\"ALWAYS\" />\n                                             </children>\n                                          </HBox>\n                                       </children>\n                                    </VBox>\n                                    <VBox minWidth=\"270.0\" prefWidth=\"290.0\" spacing=\"12.0\" styleClass=\"section-card action-panel\">\n                                       <children>\n                                          <Label fx:id=\"actionsTitleLabel\" styleClass=\"section-title\" text=\"Actions\" />\n                                          <Label fx:id=\"actionsHelperLabel\" styleClass=\"section-helper\" text=\"Add custom executables, include native Windows modules or remove the selected item.\" wrapText=\"true\" />\n                                          <Button fx:id=\"addProgramButton\" maxWidth=\"Infinity\" mnemonicParsing=\"false\" onAction=\"#handleAddProgram\" text=\"Add Program\" />\n                                          <Button fx:id=\"addFolderButton\" maxWidth=\"Infinity\" mnemonicParsing=\"false\" onAction=\"#handleAddFolder\" text=\"Add Folder\" />\n                                          <Button fx:id=\"addWindowsModuleButton\" maxWidth=\"Infinity\" mnemonicParsing=\"false\" onAction=\"#openAddWindowsModuleWindow\" styleClass=\"secondary-button\" text=\"Add Windows Module\" />\n                                          <Region VBox.vgrow=\"ALWAYS\" />\n                                          <Button fx:id=\"removeProgramButton\" disable=\"true\" maxWidth=\"Infinity\" mnemonicParsing=\"false\" onAction=\"#handleRemoveProgram\" styleClass=\"secondary-button\" text=\"Remove Selected Item\" />\n                                       </children>\n                                    </VBox>\n                                 </children>\n                              </HBox>\n                           </children>\n                        </VBox>\n                     </content>\n                  </ScrollPane>\n               </content>\n            </Tab>\n            <Tab fx:id=\"iconsCustomizationTab\" text=\"Icons Customization\">\n               <content>\n                  <ScrollPane fitToWidth=\"true\" hbarPolicy=\"NEVER\" styleClass=\"tab-scroll-pane\">\n                     <content>\n                        <VBox spacing=\"18.0\" styleClass=\"content-shell\">\n                           <padding>\n                              <Insets bottom=\"22.0\" left=\"22.0\" right=\"22.0\" top=\"22.0\" />\n                           </padding>\n                           <children>\n                              <VBox spacing=\"14.0\" styleClass=\"section-card\">\n                                 <children>\n                                    <Label fx:id=\"iconsSizeTitleLabel\" styleClass=\"section-title\" text=\"Icons Size\" />\n                                    <Label fx:id=\"iconsSizeHelperLabel\" styleClass=\"section-helper\" text=\"Adjust the visual prominence of each icon while preserving a clean, flat dock silhouette.\" wrapText=\"true\" />\n                                    <Slider fx:id=\"iconSizeSlider\" majorTickUnit=\"5.0\" max=\"60.0\" min=\"15.0\" showTickLabels=\"true\" showTickMarks=\"true\" />\n                                 </children>\n                              </VBox>\n                              <VBox spacing=\"14.0\" styleClass=\"section-card\">\n                                 <children>\n                                    <Label fx:id=\"spacingTitleLabel\" styleClass=\"section-title\" text=\"Spacing Between Icons\" />\n                                    <Label fx:id=\"spacingHelperLabel\" styleClass=\"section-helper\" text=\"Control how compact or airy the dock feels without disrupting the item order.\" wrapText=\"true\" />\n                                    <Slider fx:id=\"spacingBetweenIconsSlider\" majorTickUnit=\"5.0\" max=\"30.0\" showTickLabels=\"true\" showTickMarks=\"true\" />\n                                 </children>\n                              </VBox>\n                           </children>\n                        </VBox>\n                     </content>\n                  </ScrollPane>\n               </content>\n            </Tab>\n            <Tab fx:id=\"dockCustomizationTab\" text=\"Dock Customization\">\n               <content>\n                  <ScrollPane fitToWidth=\"true\" hbarPolicy=\"NEVER\" styleClass=\"tab-scroll-pane\">\n                     <content>\n                        <VBox spacing=\"18.0\" styleClass=\"content-shell\">\n                           <padding>\n                              <Insets bottom=\"22.0\" left=\"22.0\" right=\"22.0\" top=\"22.0\" />\n                           </padding>\n                           <children>\n                              <VBox spacing=\"14.0\" styleClass=\"section-card\">\n                                 <children>\n                                    <Label fx:id=\"transparencyTitleLabel\" styleClass=\"section-title\" text=\"Dock Transparency\" />\n                                    <Label fx:id=\"transparencyHelperLabel\" styleClass=\"section-helper\" text=\"Balance presence and subtlety for the dock surface against the desktop background.\" wrapText=\"true\" />\n                                    <Slider fx:id=\"dockTransparencySlider\" majorTickUnit=\"10.0\" minorTickCount=\"1\" showTickLabels=\"true\" showTickMarks=\"true\" />\n                                 </children>\n                              </VBox>\n                              <VBox spacing=\"14.0\" styleClass=\"section-card\">\n                                 <children>\n                                    <Label fx:id=\"roundingTitleLabel\" styleClass=\"section-title\" text=\"Border Rounding\" />\n                                    <Label fx:id=\"roundingHelperLabel\" styleClass=\"section-helper\" text=\"Keep the shell sharp and modern or soften the corners slightly while staying within the flat style.\" wrapText=\"true\" />\n                                    <Slider fx:id=\"dockBorderRoundingSlider\" majorTickUnit=\"10.0\" max=\"30.0\" minorTickCount=\"1\" showTickLabels=\"true\" showTickMarks=\"true\" />\n                                 </children>\n                              </VBox>\n                              <HBox alignment=\"CENTER_LEFT\" spacing=\"18.0\" styleClass=\"section-card\">\n                                 <children>\n                                    <VBox spacing=\"6.0\" HBox.hgrow=\"ALWAYS\">\n                                       <children>\n                                          <Label fx:id=\"backgroundColorTitleLabel\" styleClass=\"section-title\" text=\"Dock Background Color\" />\n                                          <Label fx:id=\"backgroundColorHelperLabel\" styleClass=\"section-helper\" text=\"Choose the base tone that sits beneath the dock icons.\" wrapText=\"true\" />\n                                       </children>\n                                    </VBox>\n                                    <ColorPicker id=\"dockColorPicker\" fx:id=\"dockColorPicker\" onAction=\"#handleSetDockColor\" prefWidth=\"170.0\" styleClass=\"color-picker\" />\n                                 </children>\n                              </HBox>\n                           </children>\n                        </VBox>\n                     </content>\n                  </ScrollPane>\n               </content>\n            </Tab>\n            <Tab fx:id=\"dockPositioningTab\" text=\"Dock Positioning\">\n               <content>\n                  <ScrollPane fitToWidth=\"true\" hbarPolicy=\"NEVER\" styleClass=\"tab-scroll-pane\">\n                     <content>\n                        <VBox spacing=\"18.0\" styleClass=\"content-shell\">\n                           <padding>\n                              <Insets bottom=\"22.0\" left=\"22.0\" right=\"22.0\" top=\"22.0\" />\n                           </padding>\n                           <children>\n                              <VBox spacing=\"14.0\" styleClass=\"section-card\">\n                                 <children>\n                                    <Label fx:id=\"positioningModeTitleLabel\" styleClass=\"section-title\" text=\"Positioning Mode\" />\n                                    <Label fx:id=\"positioningModeHelperLabel\" styleClass=\"section-helper\" text=\"Choose between a fixed screen anchor or a freely draggable dock.\" wrapText=\"true\" />\n                                    <HBox spacing=\"22.0\">\n                                       <children>\n                                          <RadioButton fx:id=\"staticPositioningRadio\" mnemonicParsing=\"false\" onAction=\"#handlePositioningModeChange\" styleClass=\"positioning-radio\" text=\"Static positioning\" />\n                                          <RadioButton fx:id=\"dynamicPositioningRadio\" mnemonicParsing=\"false\" onAction=\"#handlePositioningModeChange\" styleClass=\"positioning-radio\" text=\"Dynamic positioning\" />\n                                       </children>\n                                    </HBox>\n                                 </children>\n                              </VBox>\n                              <VBox fx:id=\"staticPositioningPane\" spacing=\"18.0\">\n                                 <children>\n                                    <VBox spacing=\"16.0\" styleClass=\"section-card\">\n                                       <children>\n                                          <Label fx:id=\"alignmentTitleLabel\" styleClass=\"section-title\" text=\"Alignment\" />\n                                          <GridPane hgap=\"18.0\" vgap=\"14.0\">\n                                             <children>\n                                                <VBox spacing=\"8.0\" GridPane.columnIndex=\"0\" GridPane.rowIndex=\"0\">\n                                                   <children>\n                                                      <Label fx:id=\"verticalLabel\" styleClass=\"field-label\" text=\"Vertical\" />\n                                                      <ChoiceBox fx:id=\"verticalPositionChoiceBox\" maxWidth=\"Infinity\" />\n                                                   </children>\n                                                </VBox>\n                                                <VBox spacing=\"8.0\" GridPane.columnIndex=\"1\" GridPane.rowIndex=\"0\">\n                                                   <children>\n                                                      <Label fx:id=\"horizontalLabel\" styleClass=\"field-label\" text=\"Horizontal\" />\n                                                      <ChoiceBox fx:id=\"horizontalPositionChoiceBox\" maxWidth=\"Infinity\" />\n                                                   </children>\n                                                </VBox>\n                                             </children>\n                                          </GridPane>\n                                       </children>\n                                    </VBox>\n                                    <VBox spacing=\"16.0\" styleClass=\"section-card\">\n                                       <children>\n                                          <Label fx:id=\"screenSpacingTitleLabel\" styleClass=\"section-title\" text=\"Screen Spacing\" />\n                                          <GridPane hgap=\"18.0\" vgap=\"16.0\">\n                                             <children>\n                                                <VBox spacing=\"8.0\" GridPane.columnIndex=\"0\" GridPane.rowIndex=\"0\">\n                                                   <children>\n                                                      <Label fx:id=\"topSpacingLabel\" styleClass=\"field-label\" text=\"Top\" />\n                                                      <Slider fx:id=\"topSpacingSlider\" majorTickUnit=\"10.0\" max=\"100.0\" showTickLabels=\"true\" showTickMarks=\"true\" value=\"20.0\" />\n                                                   </children>\n                                                </VBox>\n                                                <VBox spacing=\"8.0\" GridPane.columnIndex=\"1\" GridPane.rowIndex=\"0\">\n                                                   <children>\n                                                      <Label fx:id=\"leftSpacingLabel\" styleClass=\"field-label\" text=\"Left\" />\n                                                      <Slider fx:id=\"leftSpacingSlider\" majorTickUnit=\"10.0\" max=\"100.0\" showTickLabels=\"true\" showTickMarks=\"true\" value=\"20.0\" />\n                                                   </children>\n                                                </VBox>\n                                                <VBox spacing=\"8.0\" GridPane.columnIndex=\"0\" GridPane.rowIndex=\"1\">\n                                                   <children>\n                                                      <Label fx:id=\"rightSpacingLabel\" styleClass=\"field-label\" text=\"Right\" />\n                                                      <Slider fx:id=\"rightSpacingSlider\" majorTickUnit=\"10.0\" max=\"100.0\" showTickLabels=\"true\" showTickMarks=\"true\" value=\"20.0\" />\n                                                   </children>\n                                                </VBox>\n                                                <VBox spacing=\"8.0\" GridPane.columnIndex=\"1\" GridPane.rowIndex=\"1\">\n                                                   <children>\n                                                      <Label fx:id=\"bottomSpacingLabel\" styleClass=\"field-label\" text=\"Down\" />\n                                                      <Slider fx:id=\"bottomSpacingSlider\" majorTickUnit=\"10.0\" max=\"100.0\" showTickLabels=\"true\" showTickMarks=\"true\" value=\"20.0\" />\n                                                   </children>\n                                                </VBox>\n                                             </children>\n                                          </GridPane>\n                                       </children>\n                                    </VBox>\n                                 </children>\n                              </VBox>\n                              <VBox fx:id=\"dynamicPositioningPane\">\n                                 <children>\n                                    <VBox spacing=\"14.0\" styleClass=\"section-card hero-card\">\n                                       <children>\n                                          <Label fx:id=\"dynamicPositioningTitleLabel\" styleClass=\"section-title\" text=\"Dynamic Positioning\" />\n                                          <Label fx:id=\"dynamicPositioningHelperLabel\" styleClass=\"section-helper\" text=\"Drag the dock freely on the screen to place it wherever you want.\" wrapText=\"true\" />\n                                          <StackPane styleClass=\"hero-image-wrap\">\n                                             <children>\n                                                <ImageView fitHeight=\"200.0\" fitWidth=\"360.0\" pickOnBounds=\"true\" preserveRatio=\"true\">\n                                                   <image>\n                                                      <Image url=\"@../icons/positioning.png\" />\n                                                   </image>\n                                                </ImageView>\n                                             </children>\n                                          </StackPane>\n                                       </children>\n                                    </VBox>\n                                 </children>\n                              </VBox>\n                           </children>\n                        </VBox>\n                     </content>\n                  </ScrollPane>\n               </content>\n            </Tab>\n            <Tab fx:id=\"generalTab\" text=\"General\">\n               <content>\n                  <ScrollPane fitToWidth=\"true\" hbarPolicy=\"NEVER\" styleClass=\"tab-scroll-pane\">\n                     <content>\n                        <VBox alignment=\"TOP_CENTER\" spacing=\"18.0\" styleClass=\"content-shell\">\n                           <padding>\n                              <Insets bottom=\"22.0\" left=\"22.0\" right=\"22.0\" top=\"22.0\" />\n                           </padding>\n                           <children>\n                              <StackPane styleClass=\"logo-card\">\n                                 <children>\n                                    <ImageView fitHeight=\"78.0\" fitWidth=\"300.0\" pickOnBounds=\"true\" preserveRatio=\"true\" styleClass=\"logo-hero\">\n                                       <image>\n                                          <Image url=\"@../icons/logo.png\" />\n                                       </image>\n                                    </ImageView>\n                                 </children>\n                              </StackPane>\n                              <VBox alignment=\"CENTER\" spacing=\"10.0\" styleClass=\"section-card meta-card\">\n                                 <children>\n                                    <Label styleClass=\"section-title\" text=\"Cedro Software Modern Dock\" />\n                                    <Label fx:id=\"versionLabel\" styleClass=\"meta-value\" text=\"Version fx1.1 - 03/2026\" />\n                                    <Label styleClass=\"meta-value general-link\" text=\"opensourceatlas.com\" />\n                                    <Label fx:id=\"repositoryLabel\" styleClass=\"meta-value general-link\" text=\"Repository: github.com/arthurdeka/cedro-modern-dock\" wrapText=\"true\" />\n                                    <Label fx:id=\"contactLabel\" styleClass=\"meta-value general-link\" text=\"Contact: github.com/arthurdeka\" />\n                                    <Label fx:id=\"openSourceLabel\" styleClass=\"meta-value footer-note\" text=\"Free and Open-Source Software\" />\n                                 </children>\n                              </VBox>\n                              <Button fx:id=\"acknowledgementsButton\" mnemonicParsing=\"false\" onAction=\"#openAknowledgementsWindow\" styleClass=\"secondary-button\" text=\"Acknowledgements\" />\n                           </children>\n                        </VBox>\n                     </content>\n                  </ScrollPane>\n               </content>\n            </Tab>\n         </tabs>\n      </TabPane>\n   </children>\n</VBox>\n"
  },
  {
    "path": "src/main/resources/com/github/arthurdeka/cedromoderndock/fxml/DockView.fxml",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\n<?import javafx.geometry.Insets?>\n<?import javafx.scene.layout.AnchorPane?>\n<?import javafx.scene.layout.HBox?>\n\n<AnchorPane id=\"myAnchorPane\" fx:id=\"rootPane\" stylesheets=\"@../css/dock.css\" xmlns=\"http://javafx.com/javafx/23.0.1\" xmlns:fx=\"http://javafx.com/fxml/1\" fx:controller=\"com.github.arthurdeka.cedromoderndock.controller.DockController\">\n   <children>\n      <HBox id=\"MyHBox\" fx:id=\"hBoxContainer\" fillHeight=\"false\" layoutX=\"0.0\" layoutY=\"0.0\">\n         <padding>\n            <Insets bottom=\"10.0\" left=\"10.0\" right=\"10.0\" top=\"10.0\" />\n         </padding></HBox>\n   </children>\n</AnchorPane>\n"
  },
  {
    "path": "src/main/resources/com/github/arthurdeka/cedromoderndock/i18n/messages_ar_SA.properties",
    "content": "dialog.singleInstance.message=يوجد بالفعل مثيل من Cedro Modern Dock قيد التشغيل. تحقق من سطح المكتب.\n\nsettings.window.title=الإعدادات\nsettings.page.title=إعدادات Dock\nsettings.page.subtitle=تصميم حديث ومتجاوب، وعناصر تحكم حديثة، وتنظيم قائم على علامات التبويب.\nsettings.language.label=اللغة\n\nsettings.tab.icons=الأيقونات\nsettings.tab.iconsCustomization=تخصيص الأيقونات\nsettings.tab.dockCustomization=تخصيص Dock\nsettings.tab.dockPositioning=موضع Dock\nsettings.tab.general=عام\n\nsettings.icons.items.title=عناصر Dock\nsettings.icons.items.helper=أعد ترتيب الأيقونات الحالية وأدر البرامج أو وحدات Windows من مكان واحد.\nsettings.icons.actions.title=الإجراءات\nsettings.icons.actions.helper=أضف ملفات تنفيذية مخصصة أو وحدات Windows أصلية أو أزل العنصر المحدد.\nsettings.icons.moveUp=نقل العنصر لأعلى\nsettings.icons.moveDown=نقل العنصر لأسفل\nsettings.icons.addProgram=إضافة برنامج\nsettings.icons.addFolder=إضافة مجلد\nsettings.icons.addWindowsModule=إضافة وحدة Windows\nsettings.icons.removeSelected=إزالة العنصر المحدد\n\nsettings.iconsCustomization.size.title=حجم الأيقونات\nsettings.iconsCustomization.size.helper=اضبط الحضور البصري لكل أيقونة مع الحفاظ على مظهر Dock النظيف.\nsettings.iconsCustomization.spacing.title=المسافة بين الأيقونات\nsettings.iconsCustomization.spacing.helper=تحكم في مدى تماسك Dock أو اتساعه دون تغيير ترتيب العناصر.\n\nsettings.dockCustomization.transparency.title=شفافية Dock\nsettings.dockCustomization.transparency.helper=وازن بين وضوح Dock وخفته فوق خلفية سطح المكتب.\nsettings.dockCustomization.rounding.title=استدارة الحواف\nsettings.dockCustomization.rounding.helper=أبقِ المظهر حادًا وحديثًا أو نعّم الزوايا قليلًا مع الحفاظ على النمط المسطح.\nsettings.dockCustomization.background.title=لون خلفية Dock\nsettings.dockCustomization.background.helper=اختر اللون الأساسي الذي يظهر أسفل أيقونات Dock.\n\nsettings.positioning.mode.title=وضع التموضع\nsettings.positioning.mode.helper=اختر بين تثبيت Dock في موضع ثابت أو سحبه بحرية.\nsettings.positioning.mode.static=تموضع ثابت\nsettings.positioning.mode.dynamic=تموضع ديناميكي\nsettings.positioning.alignment.title=المحاذاة\nsettings.positioning.alignment.vertical=عمودي\nsettings.positioning.alignment.horizontal=أفقي\nsettings.positioning.spacing.title=المسافات على الشاشة\nsettings.positioning.spacing.top=أعلى\nsettings.positioning.spacing.left=يسار\nsettings.positioning.spacing.right=يمين\nsettings.positioning.spacing.down=أسفل\nsettings.positioning.dynamic.title=تموضع ديناميكي\nsettings.positioning.dynamic.helper=اسحب Dock بحرية على الشاشة وضعه أينما تريد.\nsettings.positioning.choice.top=أعلى\nsettings.positioning.choice.middle=وسط\nsettings.positioning.choice.down=أسفل\nsettings.positioning.choice.left=يسار\nsettings.positioning.choice.right=يمين\n\nsettings.general.version=الإصدار fx1.1 - 03/2026\nsettings.general.repository=المستودع: github.com/arthurdeka/cedro-modern-dock\nsettings.general.contact=التواصل: github.com/arthurdeka\nsettings.general.openSource=برنامج مجاني ومفتوح المصدر\nsettings.general.acknowledgements=شكر وتقدير\n\ndialog.fileChooser.executableTitle=اختر .exe\ndialog.fileChooser.executableFilter=ملف تنفيذي\ndialog.directoryChooser.title=اختر مجلدًا\n\nwindowsModule.modal.title=إضافة وحدة Windows\nwindowsModule.modal.subtitle=اختر وجهة Windows أصلية لإضافتها إلى Dock.\nwindowsModule.modal.available.title=الوحدات المتاحة\nwindowsModule.modal.available.helper=تقوم هذه العناصر بإنشاء اختصارات Dock لأسطح Windows المدمجة.\nwindowsModule.modal.addSelected=إضافة الوحدة المحددة\n\nacknowledgements.window.title=شكر وتقدير\nacknowledgements.title=شكر وتقدير\nacknowledgements.subtitle=المكتبات وأطر العمل المستخدمة في Cedro Modern Dock.\nacknowledgements.sectionTitle=المكتبات وأطر العمل\n\ndockItem.settings=الإعدادات\nwindowsModule.myComputer=جهاز الكمبيوتر الخاص بي\nwindowsModule.recycleBin=سلة المحذوفات\nwindowsModule.controlPanel=لوحة التحكم\nwindowsModule.settings=الإعدادات\n"
  },
  {
    "path": "src/main/resources/com/github/arthurdeka/cedromoderndock/i18n/messages_bn_BD.properties",
    "content": "dialog.singleInstance.message=Cedro Modern Dock-এর একটি সংস্করণ ইতিমধ্যে চলছে। আপনার ডেস্কটপ দেখুন।\n\nsettings.window.title=সেটিংস\nsettings.page.title=Dock সেটিংস\nsettings.page.subtitle=আধুনিক রেসপনসিভ লেআউট, আধুনিক কন্ট্রোল এবং ট্যাবভিত্তিক বিন্যাস।\nsettings.language.label=ভাষা\n\nsettings.tab.icons=আইকন\nsettings.tab.iconsCustomization=আইকন কাস্টমাইজেশন\nsettings.tab.dockCustomization=Dock কাস্টমাইজেশন\nsettings.tab.dockPositioning=Dock অবস্থান\nsettings.tab.general=সাধারণ\n\nsettings.icons.items.title=Dock আইটেম\nsettings.icons.items.helper=বর্তমান আইকনগুলো পুনর্বিন্যাস করুন এবং এক জায়গা থেকে প্রোগ্রাম বা Windows মডিউল পরিচালনা করুন।\nsettings.icons.actions.title=অ্যাকশন\nsettings.icons.actions.helper=কাস্টম executable, Windows মডিউল যোগ করুন অথবা নির্বাচিত আইটেম সরান।\nsettings.icons.moveUp=আইটেম উপরে নিন\nsettings.icons.moveDown=আইটেম নিচে নিন\nsettings.icons.addProgram=প্রোগ্রাম যোগ করুন\nsettings.icons.addFolder=ফোল্ডার যোগ করুন\nsettings.icons.addWindowsModule=Windows মডিউল যোগ করুন\nsettings.icons.removeSelected=নির্বাচিত আইটেম সরান\n\nsettings.iconsCustomization.size.title=আইকনের আকার\nsettings.iconsCustomization.size.helper=Dock-এর পরিষ্কার চেহারা রেখে প্রতিটি আইকনের দৃশ্যমান আকার ঠিক করুন।\nsettings.iconsCustomization.spacing.title=আইকনের ফাঁক\nsettings.iconsCustomization.spacing.helper=আইটেমের ক্রম না বদলে Dock-কে ঘন বা ফাঁকাভাবে সাজান।\n\nsettings.dockCustomization.transparency.title=Dock স্বচ্ছতা\nsettings.dockCustomization.transparency.helper=ডেস্কটপের পটভূমিতে Dock-এর উপস্থিতি ও সূক্ষ্মতার ভারসাম্য রাখুন।\nsettings.dockCustomization.rounding.title=বর্ডারের গোলাকৃতি\nsettings.dockCustomization.rounding.helper=ফ্ল্যাট স্টাইল বজায় রেখে প্রান্তগুলোকে তীক্ষ্ণ বা নরম করুন।\nsettings.dockCustomization.background.title=Dock ব্যাকগ্রাউন্ড রং\nsettings.dockCustomization.background.helper=Dock আইকনের নিচে থাকা মূল রংটি নির্বাচন করুন।\n\nsettings.positioning.mode.title=অবস্থান মোড\nsettings.positioning.mode.helper=স্থির স্ক্রিন অ্যাঙ্কর বা স্বাধীনভাবে টানা যায় এমন Dock বেছে নিন।\nsettings.positioning.mode.static=স্থির অবস্থান\nsettings.positioning.mode.dynamic=গতিশীল অবস্থান\nsettings.positioning.alignment.title=সারিবিন্যাস\nsettings.positioning.alignment.vertical=উল্লম্ব\nsettings.positioning.alignment.horizontal=আনুভূমিক\nsettings.positioning.spacing.title=স্ক্রিনের দূরত্ব\nsettings.positioning.spacing.top=উপরে\nsettings.positioning.spacing.left=বামে\nsettings.positioning.spacing.right=ডানে\nsettings.positioning.spacing.down=নিচে\nsettings.positioning.dynamic.title=গতিশীল অবস্থান\nsettings.positioning.dynamic.helper=Dock-কে স্ক্রিনে যেকোনো জায়গায় টেনে নিয়ে যান।\nsettings.positioning.choice.top=উপরে\nsettings.positioning.choice.middle=মাঝখানে\nsettings.positioning.choice.down=নিচে\nsettings.positioning.choice.left=বামে\nsettings.positioning.choice.right=ডানে\n\nsettings.general.version=সংস্করণ fx1.1 - 03/2026\nsettings.general.repository=রিপোজিটরি: github.com/arthurdeka/cedro-modern-dock\nsettings.general.contact=যোগাযোগ: github.com/arthurdeka\nsettings.general.openSource=বিনামূল্যের মুক্ত উৎস সফটওয়্যার\nsettings.general.acknowledgements=কৃতজ্ঞতা\n\ndialog.fileChooser.executableTitle=.exe নির্বাচন করুন\ndialog.fileChooser.executableFilter=Executable\ndialog.directoryChooser.title=ফোল্ডার নির্বাচন করুন\n\nwindowsModule.modal.title=Windows মডিউল যোগ করুন\nwindowsModule.modal.subtitle=Dock-এ যোগ করার জন্য একটি Windows গন্তব্য নির্বাচন করুন।\nwindowsModule.modal.available.title=উপলভ্য মডিউল\nwindowsModule.modal.available.helper=এই এন্ট্রিগুলো Windows-এর বিল্ট-ইন অংশগুলোর জন্য Dock শর্টকাট তৈরি করে।\nwindowsModule.modal.addSelected=নির্বাচিত মডিউল যোগ করুন\n\nacknowledgements.window.title=কৃতজ্ঞতা\nacknowledgements.title=কৃতজ্ঞতা\nacknowledgements.subtitle=Cedro Modern Dock-এ ব্যবহৃত লাইব্রেরি ও ফ্রেমওয়ার্ক।\nacknowledgements.sectionTitle=লাইব্রেরি ও ফ্রেমওয়ার্ক\n\ndockItem.settings=সেটিংস\nwindowsModule.myComputer=আমার কম্পিউটার\nwindowsModule.recycleBin=রিসাইকেল বিন\nwindowsModule.controlPanel=কন্ট্রোল প্যানেল\nwindowsModule.settings=সেটিংস\n"
  },
  {
    "path": "src/main/resources/com/github/arthurdeka/cedromoderndock/i18n/messages_de_DE.properties",
    "content": "dialog.singleInstance.message=Es läuft bereits eine Instanz von Cedro Modern Dock. Bitte prüfe deinen Desktop.\n\nsettings.window.title=Einstellungen\nsettings.page.title=Dock-Einstellungen\nsettings.page.subtitle=Modernes responsives Layout, moderne Steuerelemente und eine tabbasierte Organisation.\nsettings.language.label=Sprache\n\nsettings.tab.icons=Symbole\nsettings.tab.iconsCustomization=Symbolanpassung\nsettings.tab.dockCustomization=Dock-Anpassung\nsettings.tab.dockPositioning=Dock-Positionierung\nsettings.tab.general=Allgemein\n\nsettings.icons.items.title=Dock-Elemente\nsettings.icons.items.helper=Ordne die aktuellen Symbole neu und verwalte Programme oder Windows-Module an einem Ort.\nsettings.icons.actions.title=Aktionen\nsettings.icons.actions.helper=Füge benutzerdefinierte Programme oder Windows-Module hinzu oder entferne das ausgewählte Element.\nsettings.icons.moveUp=Element nach oben\nsettings.icons.moveDown=Element nach unten\nsettings.icons.addProgram=Programm hinzufügen\nsettings.icons.addFolder=Ordner hinzufügen\nsettings.icons.addWindowsModule=Windows-Modul hinzufügen\nsettings.icons.removeSelected=Ausgewähltes Element entfernen\n\nsettings.iconsCustomization.size.title=Symbolgröße\nsettings.iconsCustomization.size.helper=Passe die Wirkung jedes Symbols an und behalte dabei eine klare Dock-Silhouette.\nsettings.iconsCustomization.spacing.title=Abstand zwischen Symbolen\nsettings.iconsCustomization.spacing.helper=Stelle ein, wie kompakt oder luftig das Dock wirkt, ohne die Reihenfolge zu ändern.\n\nsettings.dockCustomization.transparency.title=Dock-Transparenz\nsettings.dockCustomization.transparency.helper=Finde das Gleichgewicht zwischen Präsenz und Zurückhaltung auf dem Desktop-Hintergrund.\nsettings.dockCustomization.rounding.title=Abrundung der Ränder\nsettings.dockCustomization.rounding.helper=Halte das Gehäuse modern und scharf oder weiche die Ecken leicht ab, ohne den flachen Stil zu verlassen.\nsettings.dockCustomization.background.title=Dock-Hintergrundfarbe\nsettings.dockCustomization.background.helper=Wähle den Grundton unter den Dock-Symbolen.\n\nsettings.positioning.mode.title=Positionierungsmodus\nsettings.positioning.mode.helper=Wähle zwischen einem festen Bildschirmanker oder einem frei verschiebbaren Dock.\nsettings.positioning.mode.static=Statische Positionierung\nsettings.positioning.mode.dynamic=Dynamische Positionierung\nsettings.positioning.alignment.title=Ausrichtung\nsettings.positioning.alignment.vertical=Vertikal\nsettings.positioning.alignment.horizontal=Horizontal\nsettings.positioning.spacing.title=Bildschirmabstand\nsettings.positioning.spacing.top=Oben\nsettings.positioning.spacing.left=Links\nsettings.positioning.spacing.right=Rechts\nsettings.positioning.spacing.down=Unten\nsettings.positioning.dynamic.title=Dynamische Positionierung\nsettings.positioning.dynamic.helper=Ziehe das Dock frei über den Bildschirm und platziere es, wo du möchtest.\nsettings.positioning.choice.top=Oben\nsettings.positioning.choice.middle=Mitte\nsettings.positioning.choice.down=Unten\nsettings.positioning.choice.left=Links\nsettings.positioning.choice.right=Rechts\n\nsettings.general.version=Version fx1.1 - 03/2026\nsettings.general.repository=Repository: github.com/arthurdeka/cedro-modern-dock\nsettings.general.contact=Kontakt: github.com/arthurdeka\nsettings.general.openSource=Freie Open-Source-Software\nsettings.general.acknowledgements=Danksagungen\n\ndialog.fileChooser.executableTitle=.exe auswählen\ndialog.fileChooser.executableFilter=Programmdatei\ndialog.directoryChooser.title=Ordner auswählen\n\nwindowsModule.modal.title=Windows-Modul hinzufügen\nwindowsModule.modal.subtitle=Wähle ein natives Windows-Ziel aus, das dem Dock hinzugefügt werden soll.\nwindowsModule.modal.available.title=Verfügbare Module\nwindowsModule.modal.available.helper=Diese Einträge erstellen Dock-Verknüpfungen zu integrierten Windows-Bereichen.\nwindowsModule.modal.addSelected=Ausgewähltes Modul hinzufügen\n\nacknowledgements.window.title=Danksagungen\nacknowledgements.title=Danksagungen\nacknowledgements.subtitle=Von Cedro Modern Dock verwendete Bibliotheken und Frameworks.\nacknowledgements.sectionTitle=Bibliotheken und Frameworks\n\ndockItem.settings=Einstellungen\nwindowsModule.myComputer=Dieser PC\nwindowsModule.recycleBin=Papierkorb\nwindowsModule.controlPanel=Systemsteuerung\nwindowsModule.settings=Einstellungen\n"
  },
  {
    "path": "src/main/resources/com/github/arthurdeka/cedromoderndock/i18n/messages_en_US.properties",
    "content": "language.english=English\nlanguage.portugueseBrazil=Portuguese (Brazil)\n\ndialog.singleInstance.message=There is already an instance of Cedro Modern Dock running. Check your desktop.\n\nsettings.window.title=Settings\nsettings.page.title=Dock Settings\nsettings.page.subtitle=Dark flat redesign with responsive layout, modern controls and tab-based organization.\nsettings.language.label=Language\n\nsettings.tab.icons=Icons\nsettings.tab.iconsCustomization=Icons Customization\nsettings.tab.dockCustomization=Dock Customization\nsettings.tab.dockPositioning=Dock Positioning\nsettings.tab.general=General\n\nsettings.icons.items.title=Dock items\nsettings.icons.items.helper=Reorder the current icons and manage programs or Windows modules from one place.\nsettings.icons.actions.title=Actions\nsettings.icons.actions.helper=Add custom executables, include native Windows modules or remove the selected item.\nsettings.icons.moveUp=Move Item Up\nsettings.icons.moveDown=Move Item Down\nsettings.icons.addProgram=Add Program\nsettings.icons.addFolder=Add Folder\nsettings.icons.addWindowsModule=Add Windows Module\nsettings.icons.removeSelected=Remove Selected Item\n\nsettings.iconsCustomization.size.title=Icons Size\nsettings.iconsCustomization.size.helper=Adjust the visual prominence of each icon while preserving a clean, flat dock silhouette.\nsettings.iconsCustomization.spacing.title=Spacing Between Icons\nsettings.iconsCustomization.spacing.helper=Control how compact or airy the dock feels without disrupting the item order.\n\nsettings.dockCustomization.transparency.title=Dock Transparency\nsettings.dockCustomization.transparency.helper=Balance presence and subtlety for the dock surface against the desktop background.\nsettings.dockCustomization.rounding.title=Border Rounding\nsettings.dockCustomization.rounding.helper=Keep the shell sharp and modern or soften the corners slightly while staying within the flat style.\nsettings.dockCustomization.background.title=Dock Background Color\nsettings.dockCustomization.background.helper=Choose the base tone that sits beneath the dock icons.\n\nsettings.positioning.mode.title=Positioning Mode\nsettings.positioning.mode.helper=Choose between a fixed screen anchor or a freely draggable dock.\nsettings.positioning.mode.static=Static positioning\nsettings.positioning.mode.dynamic=Dynamic positioning\nsettings.positioning.alignment.title=Alignment\nsettings.positioning.alignment.vertical=Vertical\nsettings.positioning.alignment.horizontal=Horizontal\nsettings.positioning.spacing.title=Screen Spacing\nsettings.positioning.spacing.top=Top\nsettings.positioning.spacing.left=Left\nsettings.positioning.spacing.right=Right\nsettings.positioning.spacing.down=Down\nsettings.positioning.dynamic.title=Dynamic Positioning\nsettings.positioning.dynamic.helper=Drag the dock freely on the screen to place it wherever you want.\nsettings.positioning.choice.top=Top\nsettings.positioning.choice.middle=Middle\nsettings.positioning.choice.down=Down\nsettings.positioning.choice.left=Left\nsettings.positioning.choice.right=Right\n\nsettings.general.version=Version fx1.1 - 03/2026\nsettings.general.repository=Repository: github.com/arthurdeka/cedro-modern-dock\nsettings.general.contact=Contact: github.com/arthurdeka\nsettings.general.openSource=Free and Open-Source Software\nsettings.general.acknowledgements=Acknowledgements\n\ndialog.fileChooser.executableTitle=Choose .exe\ndialog.fileChooser.executableFilter=Executable\ndialog.directoryChooser.title=Choose folder\n\nwindowsModule.modal.title=Add Windows Module\nwindowsModule.modal.subtitle=Pick a native Windows destination to add to the dock.\nwindowsModule.modal.available.title=Available modules\nwindowsModule.modal.available.helper=These entries create dock shortcuts for built-in Windows surfaces.\nwindowsModule.modal.addSelected=Add Selected Module\n\nacknowledgements.window.title=Acknowledgements\nacknowledgements.title=Acknowledgements\nacknowledgements.subtitle=Libraries and frameworks used by Cedro Modern Dock.\nacknowledgements.sectionTitle=Libraries & Frameworks\n\ndockItem.settings=Settings\nwindowsModule.myComputer=My Computer\nwindowsModule.recycleBin=Recycle Bin\nwindowsModule.controlPanel=Control Panel\nwindowsModule.settings=Settings\n"
  },
  {
    "path": "src/main/resources/com/github/arthurdeka/cedromoderndock/i18n/messages_es_ES.properties",
    "content": "dialog.singleInstance.message=Ya hay una instancia de Cedro Modern Dock en ejecución. Revisa tu escritorio.\n\nsettings.window.title=Configuración\nsettings.page.title=Configuración del Dock\nsettings.page.subtitle=Diseño moderno y adaptable, controles modernos y organización basada en pestañas.\nsettings.language.label=Idioma\n\nsettings.tab.icons=Iconos\nsettings.tab.iconsCustomization=Personalización de iconos\nsettings.tab.dockCustomization=Personalización del Dock\nsettings.tab.dockPositioning=Posición del Dock\nsettings.tab.general=General\n\nsettings.icons.items.title=Elementos del Dock\nsettings.icons.items.helper=Reordena los iconos actuales y gestiona programas o módulos de Windows desde un solo lugar.\nsettings.icons.actions.title=Acciones\nsettings.icons.actions.helper=Añade ejecutables personalizados, módulos nativos de Windows o elimina el elemento seleccionado.\nsettings.icons.moveUp=Mover elemento arriba\nsettings.icons.moveDown=Mover elemento abajo\nsettings.icons.addProgram=Añadir programa\nsettings.icons.addFolder=Añadir carpeta\nsettings.icons.addWindowsModule=Añadir módulo de Windows\nsettings.icons.removeSelected=Eliminar elemento seleccionado\n\nsettings.iconsCustomization.size.title=Tamaño de los iconos\nsettings.iconsCustomization.size.helper=Ajusta la presencia visual de cada icono sin perder la silueta limpia del Dock.\nsettings.iconsCustomization.spacing.title=Espaciado entre iconos\nsettings.iconsCustomization.spacing.helper=Controla si el Dock se siente más compacto o más aireado sin alterar el orden.\n\nsettings.dockCustomization.transparency.title=Transparencia del Dock\nsettings.dockCustomization.transparency.helper=Equilibra presencia y sutileza del Dock sobre el fondo del escritorio.\nsettings.dockCustomization.rounding.title=Redondeo del borde\nsettings.dockCustomization.rounding.helper=Mantén una carcasa moderna y afilada o suaviza las esquinas sin salir del estilo plano.\nsettings.dockCustomization.background.title=Color de fondo del Dock\nsettings.dockCustomization.background.helper=Elige el tono base que aparece debajo de los iconos del Dock.\n\nsettings.positioning.mode.title=Modo de posición\nsettings.positioning.mode.helper=Elige entre un anclaje fijo en la pantalla o un Dock que se pueda arrastrar libremente.\nsettings.positioning.mode.static=Posicionamiento estático\nsettings.positioning.mode.dynamic=Posicionamiento dinámico\nsettings.positioning.alignment.title=Alineación\nsettings.positioning.alignment.vertical=Vertical\nsettings.positioning.alignment.horizontal=Horizontal\nsettings.positioning.spacing.title=Separación en pantalla\nsettings.positioning.spacing.top=Arriba\nsettings.positioning.spacing.left=Izquierda\nsettings.positioning.spacing.right=Derecha\nsettings.positioning.spacing.down=Abajo\nsettings.positioning.dynamic.title=Posicionamiento dinámico\nsettings.positioning.dynamic.helper=Arrastra el Dock libremente por la pantalla y colócalo donde quieras.\nsettings.positioning.choice.top=Arriba\nsettings.positioning.choice.middle=Centro\nsettings.positioning.choice.down=Abajo\nsettings.positioning.choice.left=Izquierda\nsettings.positioning.choice.right=Derecha\n\nsettings.general.version=Versión fx1.1 - 03/2026\nsettings.general.repository=Repositorio: github.com/arthurdeka/cedro-modern-dock\nsettings.general.contact=Contacto: github.com/arthurdeka\nsettings.general.openSource=Software libre y de código abierto\nsettings.general.acknowledgements=Agradecimientos\n\ndialog.fileChooser.executableTitle=Elegir .exe\ndialog.fileChooser.executableFilter=Ejecutable\ndialog.directoryChooser.title=Elegir carpeta\n\nwindowsModule.modal.title=Añadir módulo de Windows\nwindowsModule.modal.subtitle=Elige un destino nativo de Windows para añadirlo al Dock.\nwindowsModule.modal.available.title=Módulos disponibles\nwindowsModule.modal.available.helper=Estas entradas crean accesos directos del Dock a superficies integradas de Windows.\nwindowsModule.modal.addSelected=Añadir módulo seleccionado\n\nacknowledgements.window.title=Agradecimientos\nacknowledgements.title=Agradecimientos\nacknowledgements.subtitle=Bibliotecas y frameworks utilizados por Cedro Modern Dock.\nacknowledgements.sectionTitle=Bibliotecas y frameworks\n\ndockItem.settings=Configuración\nwindowsModule.myComputer=Mi PC\nwindowsModule.recycleBin=Papelera de reciclaje\nwindowsModule.controlPanel=Panel de control\nwindowsModule.settings=Configuración\n"
  },
  {
    "path": "src/main/resources/com/github/arthurdeka/cedromoderndock/i18n/messages_fr_FR.properties",
    "content": "dialog.singleInstance.message=Une instance de Cedro Modern Dock est déjà en cours d’exécution. Vérifiez votre bureau.\n\nsettings.window.title=Paramètres\nsettings.page.title=Paramètres du Dock\nsettings.page.subtitle=Interface moderne et adaptative, contrôles modernes et organisation par onglets.\nsettings.language.label=Langue\n\nsettings.tab.icons=Icônes\nsettings.tab.iconsCustomization=Personnalisation des icônes\nsettings.tab.dockCustomization=Personnalisation du Dock\nsettings.tab.dockPositioning=Position du Dock\nsettings.tab.general=Général\n\nsettings.icons.items.title=Éléments du Dock\nsettings.icons.items.helper=Réorganisez les icônes actuelles et gérez vos programmes ou modules Windows depuis un seul endroit.\nsettings.icons.actions.title=Actions\nsettings.icons.actions.helper=Ajoutez des exécutables personnalisés, des modules Windows natifs ou supprimez l’élément sélectionné.\nsettings.icons.moveUp=Monter l’élément\nsettings.icons.moveDown=Descendre l’élément\nsettings.icons.addProgram=Ajouter un programme\nsettings.icons.addFolder=Ajouter un dossier\nsettings.icons.addWindowsModule=Ajouter un module Windows\nsettings.icons.removeSelected=Supprimer l’élément sélectionné\n\nsettings.iconsCustomization.size.title=Taille des icônes\nsettings.iconsCustomization.size.helper=Réglez la présence visuelle de chaque icône tout en gardant une silhouette propre du Dock.\nsettings.iconsCustomization.spacing.title=Espacement entre les icônes\nsettings.iconsCustomization.spacing.helper=Rendez le Dock plus compact ou plus aéré sans changer l’ordre des éléments.\n\nsettings.dockCustomization.transparency.title=Transparence du Dock\nsettings.dockCustomization.transparency.helper=Équilibrez présence et discrétion du Dock sur le fond du bureau.\nsettings.dockCustomization.rounding.title=Arrondi des bordures\nsettings.dockCustomization.rounding.helper=Gardez une apparence nette et moderne ou adoucissez les angles sans quitter le style plat.\nsettings.dockCustomization.background.title=Couleur de fond du Dock\nsettings.dockCustomization.background.helper=Choisissez la couleur de base affichée sous les icônes du Dock.\n\nsettings.positioning.mode.title=Mode de positionnement\nsettings.positioning.mode.helper=Choisissez entre un ancrage fixe à l’écran ou un Dock librement déplaçable.\nsettings.positioning.mode.static=Positionnement statique\nsettings.positioning.mode.dynamic=Positionnement dynamique\nsettings.positioning.alignment.title=Alignement\nsettings.positioning.alignment.vertical=Vertical\nsettings.positioning.alignment.horizontal=Horizontal\nsettings.positioning.spacing.title=Espacement à l’écran\nsettings.positioning.spacing.top=Haut\nsettings.positioning.spacing.left=Gauche\nsettings.positioning.spacing.right=Droite\nsettings.positioning.spacing.down=Bas\nsettings.positioning.dynamic.title=Positionnement dynamique\nsettings.positioning.dynamic.helper=Faites glisser librement le Dock sur l’écran pour le placer où vous voulez.\nsettings.positioning.choice.top=Haut\nsettings.positioning.choice.middle=Centre\nsettings.positioning.choice.down=Bas\nsettings.positioning.choice.left=Gauche\nsettings.positioning.choice.right=Droite\n\nsettings.general.version=Version fx1.1 - 03/2026\nsettings.general.repository=Dépôt : github.com/arthurdeka/cedro-modern-dock\nsettings.general.contact=Contact : github.com/arthurdeka\nsettings.general.openSource=Logiciel libre et open source\nsettings.general.acknowledgements=Remerciements\n\ndialog.fileChooser.executableTitle=Choisir un .exe\ndialog.fileChooser.executableFilter=Exécutable\ndialog.directoryChooser.title=Choisir un dossier\n\nwindowsModule.modal.title=Ajouter un module Windows\nwindowsModule.modal.subtitle=Choisissez une destination native de Windows à ajouter au Dock.\nwindowsModule.modal.available.title=Modules disponibles\nwindowsModule.modal.available.helper=Ces entrées créent des raccourcis Dock vers des surfaces intégrées de Windows.\nwindowsModule.modal.addSelected=Ajouter le module sélectionné\n\nacknowledgements.window.title=Remerciements\nacknowledgements.title=Remerciements\nacknowledgements.subtitle=Bibliothèques et frameworks utilisés par Cedro Modern Dock.\nacknowledgements.sectionTitle=Bibliothèques et frameworks\n\ndockItem.settings=Paramètres\nwindowsModule.myComputer=Mon ordinateur\nwindowsModule.recycleBin=Corbeille\nwindowsModule.controlPanel=Panneau de configuration\nwindowsModule.settings=Paramètres\n"
  },
  {
    "path": "src/main/resources/com/github/arthurdeka/cedromoderndock/i18n/messages_hi_IN.properties",
    "content": "dialog.singleInstance.message=Cedro Modern Dock का एक संस्करण पहले से चल रहा है। अपना डेस्कटॉप जाँचें।\n\nsettings.window.title=सेटिंग्स\nsettings.page.title=Dock सेटिंग्स\nsettings.page.subtitle=आधुनिक रिस्पॉन्सिव लेआउट, आधुनिक नियंत्रण और टैब आधारित व्यवस्था।\nsettings.language.label=भाषा\n\nsettings.tab.icons=आइकन\nsettings.tab.iconsCustomization=आइकन अनुकूलन\nsettings.tab.dockCustomization=Dock अनुकूलन\nsettings.tab.dockPositioning=Dock स्थिति\nsettings.tab.general=सामान्य\n\nsettings.icons.items.title=Dock आइटम\nsettings.icons.items.helper=मौजूदा आइकनों को क्रम बदलें और प्रोग्राम या Windows मॉड्यूल एक ही जगह से प्रबंधित करें।\nsettings.icons.actions.title=क्रियाएँ\nsettings.icons.actions.helper=कस्टम executable, Windows मॉड्यूल जोड़ें या चुना हुआ आइटम हटाएँ।\nsettings.icons.moveUp=आइटम ऊपर ले जाएँ\nsettings.icons.moveDown=आइटम नीचे ले जाएँ\nsettings.icons.addProgram=प्रोग्राम जोड़ें\nsettings.icons.addFolder=फ़ोल्डर जोड़ें\nsettings.icons.addWindowsModule=Windows मॉड्यूल जोड़ें\nsettings.icons.removeSelected=चुना हुआ आइटम हटाएँ\n\nsettings.iconsCustomization.size.title=आइकन आकार\nsettings.iconsCustomization.size.helper=Dock को साफ रखते हुए हर आइकन का दृश्य आकार समायोजित करें।\nsettings.iconsCustomization.spacing.title=आइकनों के बीच दूरी\nsettings.iconsCustomization.spacing.helper=आइटम क्रम बदले बिना Dock को अधिक सघन या खुला बनाएँ।\n\nsettings.dockCustomization.transparency.title=Dock पारदर्शिता\nsettings.dockCustomization.transparency.helper=डेस्कटॉप पृष्ठभूमि पर Dock की मौजूदगी और सूक्ष्मता का संतुलन रखें।\nsettings.dockCustomization.rounding.title=किनारों की गोलाई\nsettings.dockCustomization.rounding.helper=फ्लैट शैली बनाए रखते हुए किनारों को तेज़ या थोड़ा मुलायम करें।\nsettings.dockCustomization.background.title=Dock पृष्ठभूमि रंग\nsettings.dockCustomization.background.helper=वह मूल रंग चुनें जो Dock आइकनों के नीचे दिखाई देगा।\n\nsettings.positioning.mode.title=स्थिति मोड\nsettings.positioning.mode.helper=स्थिर स्क्रीन एंकर या स्वतंत्र रूप से खींचे जा सकने वाले Dock में से चुनें।\nsettings.positioning.mode.static=स्थिर स्थिति\nsettings.positioning.mode.dynamic=गतिशील स्थिति\nsettings.positioning.alignment.title=संरेखण\nsettings.positioning.alignment.vertical=ऊर्ध्वाधर\nsettings.positioning.alignment.horizontal=क्षैतिज\nsettings.positioning.spacing.title=स्क्रीन दूरी\nsettings.positioning.spacing.top=ऊपर\nsettings.positioning.spacing.left=बाएँ\nsettings.positioning.spacing.right=दाएँ\nsettings.positioning.spacing.down=नीचे\nsettings.positioning.dynamic.title=गतिशील स्थिति\nsettings.positioning.dynamic.helper=Dock को स्क्रीन पर कहीं भी खींचकर अपनी पसंद की जगह रखें।\nsettings.positioning.choice.top=ऊपर\nsettings.positioning.choice.middle=मध्य\nsettings.positioning.choice.down=नीचे\nsettings.positioning.choice.left=बाएँ\nsettings.positioning.choice.right=दाएँ\n\nsettings.general.version=संस्करण fx1.1 - 03/2026\nsettings.general.repository=रिपॉज़िटरी: github.com/arthurdeka/cedro-modern-dock\nsettings.general.contact=संपर्क: github.com/arthurdeka\nsettings.general.openSource=मुफ़्त और मुक्त स्रोत सॉफ़्टवेयर\nsettings.general.acknowledgements=आभार\n\ndialog.fileChooser.executableTitle=.exe चुनें\ndialog.fileChooser.executableFilter=Executable\ndialog.directoryChooser.title=फ़ोल्डर चुनें\n\nwindowsModule.modal.title=Windows मॉड्यूल जोड़ें\nwindowsModule.modal.subtitle=Dock में जोड़ने के लिए कोई मूल Windows गंतव्य चुनें।\nwindowsModule.modal.available.title=उपलब्ध मॉड्यूल\nwindowsModule.modal.available.helper=ये प्रविष्टियाँ Windows की अंतर्निहित सतहों के लिए Dock शॉर्टकट बनाती हैं।\nwindowsModule.modal.addSelected=चुना हुआ मॉड्यूल जोड़ें\n\nacknowledgements.window.title=आभार\nacknowledgements.title=आभार\nacknowledgements.subtitle=Cedro Modern Dock द्वारा उपयोग की गई लाइब्रेरी और फ़्रेमवर्क।\nacknowledgements.sectionTitle=लाइब्रेरी और फ़्रेमवर्क\n\ndockItem.settings=सेटिंग्स\nwindowsModule.myComputer=मेरा कंप्यूटर\nwindowsModule.recycleBin=रिसायकल बिन\nwindowsModule.controlPanel=कंट्रोल पैनल\nwindowsModule.settings=सेटिंग्स\n"
  },
  {
    "path": "src/main/resources/com/github/arthurdeka/cedromoderndock/i18n/messages_id_ID.properties",
    "content": "dialog.singleInstance.message=Sudah ada instance Cedro Modern Dock yang sedang berjalan. Periksa desktop Anda.\n\nsettings.window.title=Pengaturan\nsettings.page.title=Pengaturan Dock\nsettings.page.subtitle=Tata letak responsif modern, kontrol modern, dan organisasi berbasis tab.\nsettings.language.label=Bahasa\n\nsettings.tab.icons=Ikon\nsettings.tab.iconsCustomization=Kustomisasi Ikon\nsettings.tab.dockCustomization=Kustomisasi Dock\nsettings.tab.dockPositioning=Posisi Dock\nsettings.tab.general=Umum\n\nsettings.icons.items.title=Item Dock\nsettings.icons.items.helper=Atur ulang ikon saat ini dan kelola program atau modul Windows dari satu tempat.\nsettings.icons.actions.title=Aksi\nsettings.icons.actions.helper=Tambahkan executable kustom, modul Windows asli, atau hapus item yang dipilih.\nsettings.icons.moveUp=Pindahkan item ke atas\nsettings.icons.moveDown=Pindahkan item ke bawah\nsettings.icons.addProgram=Tambah program\nsettings.icons.addFolder=Tambah folder\nsettings.icons.addWindowsModule=Tambah modul Windows\nsettings.icons.removeSelected=Hapus item yang dipilih\n\nsettings.iconsCustomization.size.title=Ukuran ikon\nsettings.iconsCustomization.size.helper=Sesuaikan tampilan setiap ikon sambil mempertahankan bentuk Dock yang bersih.\nsettings.iconsCustomization.spacing.title=Jarak antar ikon\nsettings.iconsCustomization.spacing.helper=Atur Dock agar lebih rapat atau lebih lapang tanpa mengubah urutan item.\n\nsettings.dockCustomization.transparency.title=Transparansi Dock\nsettings.dockCustomization.transparency.helper=Seimbangkan kehadiran dan kesan halus Dock di atas latar desktop.\nsettings.dockCustomization.rounding.title=Kelengkungan sudut\nsettings.dockCustomization.rounding.helper=Pertahankan tampilan modern yang tegas atau haluskan sudut tanpa meninggalkan gaya datar.\nsettings.dockCustomization.background.title=Warna latar Dock\nsettings.dockCustomization.background.helper=Pilih warna dasar yang muncul di bawah ikon Dock.\n\nsettings.positioning.mode.title=Mode posisi\nsettings.positioning.mode.helper=Pilih antara jangkar layar tetap atau Dock yang bisa diseret bebas.\nsettings.positioning.mode.static=Posisi statis\nsettings.positioning.mode.dynamic=Posisi dinamis\nsettings.positioning.alignment.title=Perataan\nsettings.positioning.alignment.vertical=Vertikal\nsettings.positioning.alignment.horizontal=Horizontal\nsettings.positioning.spacing.title=Jarak layar\nsettings.positioning.spacing.top=Atas\nsettings.positioning.spacing.left=Kiri\nsettings.positioning.spacing.right=Kanan\nsettings.positioning.spacing.down=Bawah\nsettings.positioning.dynamic.title=Posisi dinamis\nsettings.positioning.dynamic.helper=Seret Dock dengan bebas di layar dan letakkan di mana pun Anda mau.\nsettings.positioning.choice.top=Atas\nsettings.positioning.choice.middle=Tengah\nsettings.positioning.choice.down=Bawah\nsettings.positioning.choice.left=Kiri\nsettings.positioning.choice.right=Kanan\n\nsettings.general.version=Versi fx1.1 - 03/2026\nsettings.general.repository=Repositori: github.com/arthurdeka/cedro-modern-dock\nsettings.general.contact=Kontak: github.com/arthurdeka\nsettings.general.openSource=Perangkat lunak gratis dan sumber terbuka\nsettings.general.acknowledgements=Ucapan terima kasih\n\ndialog.fileChooser.executableTitle=Pilih .exe\ndialog.fileChooser.executableFilter=Executable\ndialog.directoryChooser.title=Pilih folder\n\nwindowsModule.modal.title=Tambah modul Windows\nwindowsModule.modal.subtitle=Pilih tujuan Windows asli untuk ditambahkan ke Dock.\nwindowsModule.modal.available.title=Modul yang tersedia\nwindowsModule.modal.available.helper=Entri ini membuat pintasan Dock untuk permukaan bawaan Windows.\nwindowsModule.modal.addSelected=Tambah modul yang dipilih\n\nacknowledgements.window.title=Ucapan terima kasih\nacknowledgements.title=Ucapan terima kasih\nacknowledgements.subtitle=Pustaka dan framework yang digunakan oleh Cedro Modern Dock.\nacknowledgements.sectionTitle=Pustaka dan framework\n\ndockItem.settings=Pengaturan\nwindowsModule.myComputer=Komputer Saya\nwindowsModule.recycleBin=Tempat Sampah\nwindowsModule.controlPanel=Panel Kontrol\nwindowsModule.settings=Pengaturan\n"
  },
  {
    "path": "src/main/resources/com/github/arthurdeka/cedromoderndock/i18n/messages_ja_JP.properties",
    "content": "dialog.singleInstance.message=Cedro Modern Dock はすでに実行中です。デスクトップを確認してください。\n\nsettings.window.title=設定\nsettings.page.title=Dock 設定\nsettings.page.subtitle=モダンなレスポンシブレイアウト、モダンなコントロール、タブベースの構成です。\nsettings.language.label=言語\n\nsettings.tab.icons=アイコン\nsettings.tab.iconsCustomization=アイコンのカスタマイズ\nsettings.tab.dockCustomization=Dock のカスタマイズ\nsettings.tab.dockPositioning=Dock の位置\nsettings.tab.general=一般\n\nsettings.icons.items.title=Dock 項目\nsettings.icons.items.helper=現在のアイコンを並べ替え、プログラムや Windows モジュールをまとめて管理します。\nsettings.icons.actions.title=操作\nsettings.icons.actions.helper=カスタム実行ファイルや Windows モジュールを追加するか、選択した項目を削除します。\nsettings.icons.moveUp=項目を上へ移動\nsettings.icons.moveDown=項目を下へ移動\nsettings.icons.addProgram=プログラムを追加\nsettings.icons.addFolder=フォルダーを追加\nsettings.icons.addWindowsModule=Windows モジュールを追加\nsettings.icons.removeSelected=選択した項目を削除\n\nsettings.iconsCustomization.size.title=アイコンサイズ\nsettings.iconsCustomization.size.helper=Dock の見た目を保ちながら、各アイコンの大きさを調整します。\nsettings.iconsCustomization.spacing.title=アイコン間隔\nsettings.iconsCustomization.spacing.helper=項目の順序を変えずに Dock の密度を調整します。\n\nsettings.dockCustomization.transparency.title=Dock の透明度\nsettings.dockCustomization.transparency.helper=デスクトップ背景に対する Dock の存在感と控えめさのバランスを取ります。\nsettings.dockCustomization.rounding.title=角の丸み\nsettings.dockCustomization.rounding.helper=フラットなスタイルを保ちながら、角をシャープにも柔らかくもできます。\nsettings.dockCustomization.background.title=Dock の背景色\nsettings.dockCustomization.background.helper=Dock アイコンの下に表示される基本色を選択します。\n\nsettings.positioning.mode.title=配置モード\nsettings.positioning.mode.helper=固定配置または自由にドラッグできる Dock を選択します。\nsettings.positioning.mode.static=固定配置\nsettings.positioning.mode.dynamic=動的配置\nsettings.positioning.alignment.title=配置\nsettings.positioning.alignment.vertical=縦方向\nsettings.positioning.alignment.horizontal=横方向\nsettings.positioning.spacing.title=画面の余白\nsettings.positioning.spacing.top=上\nsettings.positioning.spacing.left=左\nsettings.positioning.spacing.right=右\nsettings.positioning.spacing.down=下\nsettings.positioning.dynamic.title=動的配置\nsettings.positioning.dynamic.helper=Dock を画面上で自由にドラッグして好きな場所に置けます。\nsettings.positioning.choice.top=上\nsettings.positioning.choice.middle=中央\nsettings.positioning.choice.down=下\nsettings.positioning.choice.left=左\nsettings.positioning.choice.right=右\n\nsettings.general.version=バージョン fx1.1 - 03/2026\nsettings.general.repository=リポジトリ: github.com/arthurdeka/cedro-modern-dock\nsettings.general.contact=連絡先: github.com/arthurdeka\nsettings.general.openSource=無料のオープンソースソフトウェア\nsettings.general.acknowledgements=謝辞\n\ndialog.fileChooser.executableTitle=.exe を選択\ndialog.fileChooser.executableFilter=実行ファイル\ndialog.directoryChooser.title=フォルダーを選択\n\nwindowsModule.modal.title=Windows モジュールを追加\nwindowsModule.modal.subtitle=Dock に追加する Windows の標準項目を選択してください。\nwindowsModule.modal.available.title=利用可能なモジュール\nwindowsModule.modal.available.helper=これらの項目は Windows 標準機能への Dock ショートカットを作成します。\nwindowsModule.modal.addSelected=選択したモジュールを追加\n\nacknowledgements.window.title=謝辞\nacknowledgements.title=謝辞\nacknowledgements.subtitle=Cedro Modern Dock で使用されているライブラリとフレームワークです。\nacknowledgements.sectionTitle=ライブラリとフレームワーク\n\ndockItem.settings=設定\nwindowsModule.myComputer=マイ コンピューター\nwindowsModule.recycleBin=ごみ箱\nwindowsModule.controlPanel=コントロール パネル\nwindowsModule.settings=設定\n"
  },
  {
    "path": "src/main/resources/com/github/arthurdeka/cedromoderndock/i18n/messages_mr_IN.properties",
    "content": "dialog.singleInstance.message=Cedro Modern Dock ची एक प्रत आधीपासून चालू आहे. तुमचा डेस्कटॉप तपासा.\n\nsettings.window.title=सेटिंग्ज\nsettings.page.title=Dock सेटिंग्ज\nsettings.page.subtitle=आधुनिक प्रतिसादक्षम मांडणी, आधुनिक नियंत्रण आणि टॅबवर आधारित रचना.\nsettings.language.label=भाषा\n\nsettings.tab.icons=आयकॉन्स\nsettings.tab.iconsCustomization=आयकॉन सानुकूलन\nsettings.tab.dockCustomization=Dock सानुकूलन\nsettings.tab.dockPositioning=Dock स्थान\nsettings.tab.general=सामान्य\n\nsettings.icons.items.title=Dock आयटम\nsettings.icons.items.helper=सध्याचे आयकॉन्स पुन्हा लावा आणि प्रोग्राम किंवा Windows मॉड्यूल एकाच ठिकाणी व्यवस्थापित करा.\nsettings.icons.actions.title=क्रिया\nsettings.icons.actions.helper=कस्टम executable, Windows मॉड्यूल जोडा किंवा निवडलेला आयटम काढा.\nsettings.icons.moveUp=आयटम वर न्या\nsettings.icons.moveDown=आयटम खाली न्या\nsettings.icons.addProgram=प्रोग्राम जोडा\nsettings.icons.addFolder=फोल्डर जोडा\nsettings.icons.addWindowsModule=Windows मॉड्यूल जोडा\nsettings.icons.removeSelected=निवडलेला आयटम काढा\n\nsettings.iconsCustomization.size.title=आयकॉन आकार\nsettings.iconsCustomization.size.helper=Dock स्वच्छ ठेवत प्रत्येक आयकॉनचा आकार समायोजित करा.\nsettings.iconsCustomization.spacing.title=आयकॉन्समधील अंतर\nsettings.iconsCustomization.spacing.helper=आयटम क्रम न बदलता Dock अधिक घट्ट किंवा सैल करा.\n\nsettings.dockCustomization.transparency.title=Dock पारदर्शकता\nsettings.dockCustomization.transparency.helper=डेस्कटॉपच्या पार्श्वभूमीवर Dock ची उपस्थिती आणि सौम्यता संतुलित करा.\nsettings.dockCustomization.rounding.title=बॉर्डर गोलाई\nsettings.dockCustomization.rounding.helper=फ्लॅट शैली राखून कोपरे तीक्ष्ण किंवा सौम्य करा.\nsettings.dockCustomization.background.title=Dock पार्श्वभूमी रंग\nsettings.dockCustomization.background.helper=Dock आयकॉन्सखाली दिसणारा मूळ रंग निवडा.\n\nsettings.positioning.mode.title=स्थान मोड\nsettings.positioning.mode.helper=स्थिर स्क्रीन अँकर किंवा मुक्तपणे हलवता येणारा Dock निवडा.\nsettings.positioning.mode.static=स्थिर स्थान\nsettings.positioning.mode.dynamic=गतिशील स्थान\nsettings.positioning.alignment.title=संरेखन\nsettings.positioning.alignment.vertical=उभे\nsettings.positioning.alignment.horizontal=आडवे\nsettings.positioning.spacing.title=स्क्रीन अंतर\nsettings.positioning.spacing.top=वर\nsettings.positioning.spacing.left=डावे\nsettings.positioning.spacing.right=उजवे\nsettings.positioning.spacing.down=खाली\nsettings.positioning.dynamic.title=गतिशील स्थान\nsettings.positioning.dynamic.helper=Dock ला स्क्रीनवर कुठेही ड्रॅग करून हवा तिथे ठेवा.\nsettings.positioning.choice.top=वर\nsettings.positioning.choice.middle=मध्य\nsettings.positioning.choice.down=खाली\nsettings.positioning.choice.left=डावे\nsettings.positioning.choice.right=उजवे\n\nsettings.general.version=आवृत्ती fx1.1 - 03/2026\nsettings.general.repository=रिपॉझिटरी: github.com/arthurdeka/cedro-modern-dock\nsettings.general.contact=संपर्क: github.com/arthurdeka\nsettings.general.openSource=मोफत आणि मुक्त स्रोत सॉफ्टवेअर\nsettings.general.acknowledgements=कृतज्ञता\n\ndialog.fileChooser.executableTitle=.exe निवडा\ndialog.fileChooser.executableFilter=Executable\ndialog.directoryChooser.title=फोल्डर निवडा\n\nwindowsModule.modal.title=Windows मॉड्यूल जोडा\nwindowsModule.modal.subtitle=Dock मध्ये जोडण्यासाठी मूळ Windows गंतव्य निवडा.\nwindowsModule.modal.available.title=उपलब्ध मॉड्यूल\nwindowsModule.modal.available.helper=ही नोंदी Windows च्या अंगभूत भागांसाठी Dock शॉर्टकट तयार करतात.\nwindowsModule.modal.addSelected=निवडलेले मॉड्यूल जोडा\n\nacknowledgements.window.title=कृतज्ञता\nacknowledgements.title=कृतज्ञता\nacknowledgements.subtitle=Cedro Modern Dock मध्ये वापरलेली लायब्ररी आणि फ्रेमवर्क.\nacknowledgements.sectionTitle=लायब्ररी आणि फ्रेमवर्क\n\ndockItem.settings=सेटिंग्ज\nwindowsModule.myComputer=माझा संगणक\nwindowsModule.recycleBin=रिसायकल बिन\nwindowsModule.controlPanel=कंट्रोल पॅनल\nwindowsModule.settings=सेटिंग्ज\n"
  },
  {
    "path": "src/main/resources/com/github/arthurdeka/cedromoderndock/i18n/messages_pcm_NG.properties",
    "content": "dialog.singleInstance.message=Cedro Modern Dock don already dey run. Check your desktop.\n\nsettings.window.title=Settings\nsettings.page.title=Dock Settings\nsettings.page.subtitle=Modern responsive layout, modern controls, and tab-based arrangement.\nsettings.language.label=Language\n\nsettings.tab.icons=Icons\nsettings.tab.iconsCustomization=Icon Customization\nsettings.tab.dockCustomization=Dock Customization\nsettings.tab.dockPositioning=Dock Position\nsettings.tab.general=General\n\nsettings.icons.items.title=Dock items\nsettings.icons.items.helper=Rearrange the current icons and manage programs or Windows modules for one place.\nsettings.icons.actions.title=Actions\nsettings.icons.actions.helper=Add custom executable files, native Windows modules, or remove the selected item.\nsettings.icons.moveUp=Move item up\nsettings.icons.moveDown=Move item down\nsettings.icons.addProgram=Add program\nsettings.icons.addFolder=Add folder\nsettings.icons.addWindowsModule=Add Windows module\nsettings.icons.removeSelected=Remove selected item\n\nsettings.iconsCustomization.size.title=Icon size\nsettings.iconsCustomization.size.helper=Adjust how each icon look while keeping the Dock clean.\nsettings.iconsCustomization.spacing.title=Space between icons\nsettings.iconsCustomization.spacing.helper=Make the Dock tighter or wider without changing item order.\n\nsettings.dockCustomization.transparency.title=Dock transparency\nsettings.dockCustomization.transparency.helper=Balance how visible or subtle the Dock shows on top of your desktop background.\nsettings.dockCustomization.rounding.title=Border rounding\nsettings.dockCustomization.rounding.helper=Keep the shell sharp and modern or make the corners softer while still keeping the flat style.\nsettings.dockCustomization.background.title=Dock background color\nsettings.dockCustomization.background.helper=Choose the main color wey dey under the Dock icons.\n\nsettings.positioning.mode.title=Position mode\nsettings.positioning.mode.helper=Choose fixed screen anchor or Dock wey you fit drag anyhow.\nsettings.positioning.mode.static=Static position\nsettings.positioning.mode.dynamic=Dynamic position\nsettings.positioning.alignment.title=Alignment\nsettings.positioning.alignment.vertical=Vertical\nsettings.positioning.alignment.horizontal=Horizontal\nsettings.positioning.spacing.title=Screen spacing\nsettings.positioning.spacing.top=Top\nsettings.positioning.spacing.left=Left\nsettings.positioning.spacing.right=Right\nsettings.positioning.spacing.down=Bottom\nsettings.positioning.dynamic.title=Dynamic position\nsettings.positioning.dynamic.helper=Drag the Dock freely for screen put am anywhere you want.\nsettings.positioning.choice.top=Top\nsettings.positioning.choice.middle=Middle\nsettings.positioning.choice.down=Bottom\nsettings.positioning.choice.left=Left\nsettings.positioning.choice.right=Right\n\nsettings.general.version=Version fx1.1 - 03/2026\nsettings.general.repository=Repository: github.com/arthurdeka/cedro-modern-dock\nsettings.general.contact=Contact: github.com/arthurdeka\nsettings.general.openSource=Free and open-source software\nsettings.general.acknowledgements=Acknowledgements\n\ndialog.fileChooser.executableTitle=Choose .exe\ndialog.fileChooser.executableFilter=Executable\ndialog.directoryChooser.title=Choose folder\n\nwindowsModule.modal.title=Add Windows module\nwindowsModule.modal.subtitle=Pick native Windows place to add to the Dock.\nwindowsModule.modal.available.title=Available modules\nwindowsModule.modal.available.helper=These entries create Dock shortcuts for built-in Windows surfaces.\nwindowsModule.modal.addSelected=Add selected module\n\nacknowledgements.window.title=Acknowledgements\nacknowledgements.title=Acknowledgements\nacknowledgements.subtitle=Libraries and frameworks wey Cedro Modern Dock dey use.\nacknowledgements.sectionTitle=Libraries and frameworks\n\ndockItem.settings=Settings\nwindowsModule.myComputer=My Computer\nwindowsModule.recycleBin=Recycle Bin\nwindowsModule.controlPanel=Control Panel\nwindowsModule.settings=Settings\n"
  },
  {
    "path": "src/main/resources/com/github/arthurdeka/cedromoderndock/i18n/messages_pt_BR.properties",
    "content": "language.english=Inglês\nlanguage.portugueseBrazil=Português (Brasil)\n\ndialog.singleInstance.message=Já existe uma instância do Cedro Modern Dock em execução. Verifique sua área de trabalho.\n\nsettings.window.title=Configurações\nsettings.page.title=Configurações do Dock\nsettings.page.subtitle=Redesenho escuro e plano com layout responsivo, controles modernos e organização por abas.\nsettings.language.label=Idioma\n\nsettings.tab.icons=Ícones\nsettings.tab.iconsCustomization=Personalização dos Ícones\nsettings.tab.dockCustomization=Personalização do Dock\nsettings.tab.dockPositioning=Posicionamento do Dock\nsettings.tab.general=Geral\n\nsettings.icons.items.title=Itens do dock\nsettings.icons.items.helper=Reordene os ícones atuais e gerencie programas ou módulos do Windows em um só lugar.\nsettings.icons.actions.title=Ações\nsettings.icons.actions.helper=Adicione executáveis personalizados, inclua módulos nativos do Windows ou remova o item selecionado.\nsettings.icons.moveUp=Mover Item Para Cima\nsettings.icons.moveDown=Mover Item Para Baixo\nsettings.icons.addProgram=Adicionar Programa\nsettings.icons.addFolder=Adicionar Pasta\nsettings.icons.addWindowsModule=Adicionar Módulo do Windows\nsettings.icons.removeSelected=Remover Item Selecionado\n\nsettings.iconsCustomization.size.title=Tamanho dos Ícones\nsettings.iconsCustomization.size.helper=Ajuste o destaque visual de cada ícone preservando uma silhueta limpa e plana do dock.\nsettings.iconsCustomization.spacing.title=Espaçamento Entre Ícones\nsettings.iconsCustomization.spacing.helper=Controle o quanto o dock fica compacto ou arejado sem alterar a ordem dos itens.\n\nsettings.dockCustomization.transparency.title=Transparência do Dock\nsettings.dockCustomization.transparency.helper=Equilibre presença e sutileza da superfície do dock em relação ao papel de parede.\nsettings.dockCustomization.rounding.title=Arredondamento da Borda\nsettings.dockCustomization.rounding.helper=Mantenha a estrutura nítida e moderna ou suavize os cantos sem sair do estilo plano.\nsettings.dockCustomization.background.title=Cor de Fundo do Dock\nsettings.dockCustomization.background.helper=Escolha o tom base que fica abaixo dos ícones do dock.\n\nsettings.positioning.mode.title=Modo de Posicionamento\nsettings.positioning.mode.helper=Escolha entre um encaixe fixo na tela ou um dock livremente arrastável.\nsettings.positioning.mode.static=Posicionamento estático\nsettings.positioning.mode.dynamic=Posicionamento dinâmico\nsettings.positioning.alignment.title=Alinhamento\nsettings.positioning.alignment.vertical=Vertical\nsettings.positioning.alignment.horizontal=Horizontal\nsettings.positioning.spacing.title=Espaçamento da Tela\nsettings.positioning.spacing.top=Superior\nsettings.positioning.spacing.left=Esquerda\nsettings.positioning.spacing.right=Direita\nsettings.positioning.spacing.down=Inferior\nsettings.positioning.dynamic.title=Posicionamento Dinâmico\nsettings.positioning.dynamic.helper=Arraste o dock livremente pela tela para posicioná-lo onde quiser.\nsettings.positioning.choice.top=Superior\nsettings.positioning.choice.middle=Centro\nsettings.positioning.choice.down=Inferior\nsettings.positioning.choice.left=Esquerda\nsettings.positioning.choice.right=Direita\n\nsettings.general.version=Versão fx1.1 - 03/2026\nsettings.general.repository=Repositório: github.com/arthurdeka/cedro-modern-dock\nsettings.general.contact=Contato: github.com/arthurdeka\nsettings.general.openSource=Software Livre e de Código Aberto\nsettings.general.acknowledgements=Agradecimentos\n\ndialog.fileChooser.executableTitle=Escolha um .exe\ndialog.fileChooser.executableFilter=Executável\ndialog.directoryChooser.title=Escolha uma pasta\n\nwindowsModule.modal.title=Adicionar Módulo do Windows\nwindowsModule.modal.subtitle=Escolha um destino nativo do Windows para adicionar ao dock.\nwindowsModule.modal.available.title=Módulos disponíveis\nwindowsModule.modal.available.helper=Essas entradas criam atalhos do dock para superfícies nativas do Windows.\nwindowsModule.modal.addSelected=Adicionar Módulo Selecionado\n\nacknowledgements.window.title=Agradecimentos\nacknowledgements.title=Agradecimentos\nacknowledgements.subtitle=Bibliotecas e frameworks usados pelo Cedro Modern Dock.\nacknowledgements.sectionTitle=Bibliotecas e Frameworks\n\ndockItem.settings=Configurações\nwindowsModule.myComputer=Meu Computador\nwindowsModule.recycleBin=Lixeira\nwindowsModule.controlPanel=Painel de Controle\nwindowsModule.settings=Configurações\n"
  },
  {
    "path": "src/main/resources/com/github/arthurdeka/cedromoderndock/i18n/messages_ru_RU.properties",
    "content": "dialog.singleInstance.message=Экземпляр Cedro Modern Dock уже запущен. Проверьте рабочий стол.\n\nsettings.window.title=Настройки\nsettings.page.title=Настройки Dock\nsettings.page.subtitle=Современная адаптивная компоновка, современные элементы управления и организация по вкладкам.\nsettings.language.label=Язык\n\nsettings.tab.icons=Значки\nsettings.tab.iconsCustomization=Настройка значков\nsettings.tab.dockCustomization=Настройка Dock\nsettings.tab.dockPositioning=Положение Dock\nsettings.tab.general=Общие\n\nsettings.icons.items.title=Элементы Dock\nsettings.icons.items.helper=Меняйте порядок текущих значков и управляйте программами или модулями Windows в одном месте.\nsettings.icons.actions.title=Действия\nsettings.icons.actions.helper=Добавляйте свои исполняемые файлы, модули Windows или удаляйте выбранный элемент.\nsettings.icons.moveUp=Переместить вверх\nsettings.icons.moveDown=Переместить вниз\nsettings.icons.addProgram=Добавить программу\nsettings.icons.addFolder=Добавить папку\nsettings.icons.addWindowsModule=Добавить модуль Windows\nsettings.icons.removeSelected=Удалить выбранный элемент\n\nsettings.iconsCustomization.size.title=Размер значков\nsettings.iconsCustomization.size.helper=Настройте размер каждого значка, сохраняя аккуратный вид Dock.\nsettings.iconsCustomization.spacing.title=Расстояние между значками\nsettings.iconsCustomization.spacing.helper=Сделайте Dock более компактным или свободным, не меняя порядок элементов.\n\nsettings.dockCustomization.transparency.title=Прозрачность Dock\nsettings.dockCustomization.transparency.helper=Сбалансируйте заметность и ненавязчивость Dock на фоне рабочего стола.\nsettings.dockCustomization.rounding.title=Скругление границ\nsettings.dockCustomization.rounding.helper=Сохраняйте резкий современный вид или слегка смягчите углы, не уходя от плоского стиля.\nsettings.dockCustomization.background.title=Цвет фона Dock\nsettings.dockCustomization.background.helper=Выберите основной цвет под значками Dock.\n\nsettings.positioning.mode.title=Режим позиционирования\nsettings.positioning.mode.helper=Выберите фиксированную привязку к экрану или свободно перетаскиваемый Dock.\nsettings.positioning.mode.static=Статическое положение\nsettings.positioning.mode.dynamic=Динамическое положение\nsettings.positioning.alignment.title=Выравнивание\nsettings.positioning.alignment.vertical=Вертикаль\nsettings.positioning.alignment.horizontal=Горизонталь\nsettings.positioning.spacing.title=Отступы от экрана\nsettings.positioning.spacing.top=Сверху\nsettings.positioning.spacing.left=Слева\nsettings.positioning.spacing.right=Справа\nsettings.positioning.spacing.down=Снизу\nsettings.positioning.dynamic.title=Динамическое положение\nsettings.positioning.dynamic.helper=Свободно перетаскивайте Dock по экрану и ставьте его куда угодно.\nsettings.positioning.choice.top=Сверху\nsettings.positioning.choice.middle=По центру\nsettings.positioning.choice.down=Снизу\nsettings.positioning.choice.left=Слева\nsettings.positioning.choice.right=Справа\n\nsettings.general.version=Версия fx1.1 - 03/2026\nsettings.general.repository=Репозиторий: github.com/arthurdeka/cedro-modern-dock\nsettings.general.contact=Контакт: github.com/arthurdeka\nsettings.general.openSource=Бесплатное программное обеспечение с открытым исходным кодом\nsettings.general.acknowledgements=Благодарности\n\ndialog.fileChooser.executableTitle=Выберите .exe\ndialog.fileChooser.executableFilter=Исполняемый файл\ndialog.directoryChooser.title=Выберите папку\n\nwindowsModule.modal.title=Добавить модуль Windows\nwindowsModule.modal.subtitle=Выберите встроенный объект Windows для добавления в Dock.\nwindowsModule.modal.available.title=Доступные модули\nwindowsModule.modal.available.helper=Эти записи создают ярлыки Dock для встроенных компонентов Windows.\nwindowsModule.modal.addSelected=Добавить выбранный модуль\n\nacknowledgements.window.title=Благодарности\nacknowledgements.title=Благодарности\nacknowledgements.subtitle=Библиотеки и фреймворки, используемые Cedro Modern Dock.\nacknowledgements.sectionTitle=Библиотеки и фреймворки\n\ndockItem.settings=Настройки\nwindowsModule.myComputer=Мой компьютер\nwindowsModule.recycleBin=Корзина\nwindowsModule.controlPanel=Панель управления\nwindowsModule.settings=Настройки\n"
  },
  {
    "path": "src/main/resources/com/github/arthurdeka/cedromoderndock/i18n/messages_ta_IN.properties",
    "content": "dialog.singleInstance.message=Cedro Modern Dock ஏற்கனவே இயங்கிக்கொண்டிருக்கிறது. உங்கள் டெஸ்க்டாப்பைச் சரிபார்க்கவும்.\n\nsettings.window.title=அமைப்புகள்\nsettings.page.title=Dock அமைப்புகள்\nsettings.page.subtitle=நவீன பதிலளிக்கும் அமைப்பு, நவீன கட்டுப்பாடுகள் மற்றும் தாவல் அடிப்படையிலான ஒழுங்கமைப்பு.\nsettings.language.label=மொழி\n\nsettings.tab.icons=சின்னங்கள்\nsettings.tab.iconsCustomization=சின்னத் தனிப்பயனாக்கம்\nsettings.tab.dockCustomization=Dock தனிப்பயனாக்கம்\nsettings.tab.dockPositioning=Dock இடம்\nsettings.tab.general=பொது\n\nsettings.icons.items.title=Dock உருப்படிகள்\nsettings.icons.items.helper=தற்போதைய சின்னங்களை மறுவரிசைப்படுத்தி, நிரல்கள் அல்லது Windows தொகுதிகளை ஒரே இடத்தில் நிர்வகிக்கவும்.\nsettings.icons.actions.title=செயல்கள்\nsettings.icons.actions.helper=தனிப்பயன் executable-கள், Windows தொகுதிகள் சேர்க்கவும் அல்லது தேர்ந்தெடுத்த உருப்படியை அகற்றவும்.\nsettings.icons.moveUp=உருப்படியை மேலே நகர்த்து\nsettings.icons.moveDown=உருப்படியை கீழே நகர்த்து\nsettings.icons.addProgram=நிரலைச் சேர்\nsettings.icons.addFolder=கோப்புறையைச் சேர்\nsettings.icons.addWindowsModule=Windows தொகுதியைச் சேர்\nsettings.icons.removeSelected=தேர்ந்தெடுத்த உருப்படியை அகற்று\n\nsettings.iconsCustomization.size.title=சின்ன அளவு\nsettings.iconsCustomization.size.helper=Dock-இன் சீரான தோற்றத்தைப் பாதுகாத்து ஒவ்வொரு சின்னத்தின் அளவையும் மாற்றவும்.\nsettings.iconsCustomization.spacing.title=சின்னங்களுக்கு இடையிலான இடைவெளி\nsettings.iconsCustomization.spacing.helper=உருப்படிகளின் வரிசையை மாற்றாமல் Dock-ஐ நெருக்கமாக அல்லது விசாலமாக மாற்றவும்.\n\nsettings.dockCustomization.transparency.title=Dock வெளிப்படைத்தன்மை\nsettings.dockCustomization.transparency.helper=டெஸ்க்டாப்பின் பின்னணியில் Dock-இன் தெளிவையும் மென்மையையும் சமநிலைப்படுத்தவும்.\nsettings.dockCustomization.rounding.title=எல்லை வட்டமாதல்\nsettings.dockCustomization.rounding.helper=பிளாட் பாணியைத் தக்கவைத்து மூலைகளைத் தீட்சண்யமாகவோ மென்மையாகவோ மாற்றவும்.\nsettings.dockCustomization.background.title=Dock பின்னணி நிறம்\nsettings.dockCustomization.background.helper=Dock சின்னங்களின் கீழ் காணப்படும் அடிப்படை நிறத்தைத் தேர்வு செய்யவும்.\n\nsettings.positioning.mode.title=இடமுறை\nsettings.positioning.mode.helper=நிலையான திரை நங்கூரம் அல்லது சுதந்திரமாக இழுக்கக்கூடிய Dock-ஐ தேர்வு செய்யவும்.\nsettings.positioning.mode.static=நிலையான இடம்\nsettings.positioning.mode.dynamic=இயங்கும் இடம்\nsettings.positioning.alignment.title=சீரமைப்பு\nsettings.positioning.alignment.vertical=செங்குத்து\nsettings.positioning.alignment.horizontal=கிடைமட்டம்\nsettings.positioning.spacing.title=திரை இடைவெளி\nsettings.positioning.spacing.top=மேல்\nsettings.positioning.spacing.left=இடது\nsettings.positioning.spacing.right=வலது\nsettings.positioning.spacing.down=கீழ்\nsettings.positioning.dynamic.title=இயங்கும் இடம்\nsettings.positioning.dynamic.helper=Dock-ஐ திரையில் எங்கே வேண்டுமானாலும் இழுத்து வைத்துக்கொள்ளலாம்.\nsettings.positioning.choice.top=மேல்\nsettings.positioning.choice.middle=நடு\nsettings.positioning.choice.down=கீழ்\nsettings.positioning.choice.left=இடது\nsettings.positioning.choice.right=வலது\n\nsettings.general.version=பதிப்பு fx1.1 - 03/2026\nsettings.general.repository=களஞ்சியம்: github.com/arthurdeka/cedro-modern-dock\nsettings.general.contact=தொடர்பு: github.com/arthurdeka\nsettings.general.openSource=இலவச மற்றும் திறந்த மூல மென்பொருள்\nsettings.general.acknowledgements=நன்றியுரை\n\ndialog.fileChooser.executableTitle=.exe தேர்ந்தெடுக்கவும்\ndialog.fileChooser.executableFilter=Executable\ndialog.directoryChooser.title=கோப்புறையைத் தேர்ந்தெடுக்கவும்\n\nwindowsModule.modal.title=Windows தொகுதியைச் சேர்\nwindowsModule.modal.subtitle=Dock-இல் சேர்க்க ஒரு சொந்த Windows இடத்தைத் தேர்ந்தெடுக்கவும்.\nwindowsModule.modal.available.title=கிடைக்கும் தொகுதிகள்\nwindowsModule.modal.available.helper=இவை Windows உட்புற பகுதிகளுக்கான Dock குறுக்குவழிகளை உருவாக்கும்.\nwindowsModule.modal.addSelected=தேர்ந்தெடுத்த தொகுதியைச் சேர்\n\nacknowledgements.window.title=நன்றியுரை\nacknowledgements.title=நன்றியுரை\nacknowledgements.subtitle=Cedro Modern Dock பயன்படுத்தும் நூலகங்கள் மற்றும் கட்டமைப்புகள்.\nacknowledgements.sectionTitle=நூலகங்கள் மற்றும் கட்டமைப்புகள்\n\ndockItem.settings=அமைப்புகள்\nwindowsModule.myComputer=என் கணினி\nwindowsModule.recycleBin=மறுசுழற்சி தொட்டி\nwindowsModule.controlPanel=கட்டுப்பாட்டு பலகம்\nwindowsModule.settings=அமைப்புகள்\n"
  },
  {
    "path": "src/main/resources/com/github/arthurdeka/cedromoderndock/i18n/messages_te_IN.properties",
    "content": "dialog.singleInstance.message=Cedro Modern Dock ఇప్పటికే నడుస్తోంది. మీ డెస్క్‌టాప్‌ను తనిఖీ చేయండి.\n\nsettings.window.title=సెట్టింగ్‌లు\nsettings.page.title=Dock సెట్టింగ్‌లు\nsettings.page.subtitle=ఆధునిక స్పందనాత్మక అమరిక, ఆధునిక నియంత్రణలు మరియు ట్యాబ్ ఆధారిత వ్యవస్థ.\nsettings.language.label=భాష\n\nsettings.tab.icons=చిహ్నాలు\nsettings.tab.iconsCustomization=చిహ్నాల అనుకూలీకరణ\nsettings.tab.dockCustomization=Dock అనుకూలీకరణ\nsettings.tab.dockPositioning=Dock స్థానం\nsettings.tab.general=సాధారణం\n\nsettings.icons.items.title=Dock అంశాలు\nsettings.icons.items.helper=ప్రస్తుత చిహ్నాలను క్రమబద్ధీకరించి, ప్రోగ్రామ్‌లు లేదా Windows మాడ్యూల్‌లను ఒకే చోట నిర్వహించండి.\nsettings.icons.actions.title=చర్యలు\nsettings.icons.actions.helper=కస్టమ్ executableలు, Windows మాడ్యూల్‌లు జోడించండి లేదా ఎంచుకున్న అంశాన్ని తొలగించండి.\nsettings.icons.moveUp=అంశాన్ని పైకి తరలించు\nsettings.icons.moveDown=అంశాన్ని కిందికి తరలించు\nsettings.icons.addProgram=ప్రోగ్రామ్‌ను జోడించు\nsettings.icons.addFolder=ఫోల్డర్‌ను జోడించు\nsettings.icons.addWindowsModule=Windows మాడ్యూల్‌ను జోడించు\nsettings.icons.removeSelected=ఎంచుకున్న అంశాన్ని తొలగించు\n\nsettings.iconsCustomization.size.title=చిహ్నం పరిమాణం\nsettings.iconsCustomization.size.helper=Dock రూపాన్ని శుభ్రంగా ఉంచుతూ ప్రతి చిహ్నం పరిమాణాన్ని సర్దుబాటు చేయండి.\nsettings.iconsCustomization.spacing.title=చిహ్నాల మధ్య దూరం\nsettings.iconsCustomization.spacing.helper=అంశాల క్రమాన్ని మార్చకుండా Dock‌ను గట్టిగా లేదా వెసులుబాటుగా చేయండి.\n\nsettings.dockCustomization.transparency.title=Dock పారదర్శకత\nsettings.dockCustomization.transparency.helper=డెస్క్‌టాప్ నేపథ్యంపై Dock యొక్క ఉనికి మరియు సున్నితత్వాన్ని సమతుల్యం చేయండి.\nsettings.dockCustomization.rounding.title=అంచుల వంపు\nsettings.dockCustomization.rounding.helper=ఫ్లాట్ శైలిని ఉంచుతూ మూలలను పదునుగా లేదా మృదువుగా చేయండి.\nsettings.dockCustomization.background.title=Dock నేపథ్య రంగు\nsettings.dockCustomization.background.helper=Dock చిహ్నాల కింద కనిపించే ప్రాథమిక రంగును ఎంచుకోండి.\n\nsettings.positioning.mode.title=స్థాన విధానం\nsettings.positioning.mode.helper=స్థిర స్క్రీన్ యాంకర్ లేదా స్వేచ్ఛగా లాగగలిగే Dock‌ను ఎంచుకోండి.\nsettings.positioning.mode.static=స్థిర స్థానం\nsettings.positioning.mode.dynamic=చలనం గల స్థానం\nsettings.positioning.alignment.title=అలైన్‌మెంట్\nsettings.positioning.alignment.vertical=నిలువు\nsettings.positioning.alignment.horizontal=అడ్డం\nsettings.positioning.spacing.title=స్క్రీన్ దూరం\nsettings.positioning.spacing.top=పై\nsettings.positioning.spacing.left=ఎడమ\nsettings.positioning.spacing.right=కుడి\nsettings.positioning.spacing.down=కింద\nsettings.positioning.dynamic.title=చలనం గల స్థానం\nsettings.positioning.dynamic.helper=Dock‌ను స్క్రీన్‌పై ఎక్కడైనా లాగి మీకు నచ్చిన చోట ఉంచండి.\nsettings.positioning.choice.top=పై\nsettings.positioning.choice.middle=మధ్య\nsettings.positioning.choice.down=కింద\nsettings.positioning.choice.left=ఎడమ\nsettings.positioning.choice.right=కుడి\n\nsettings.general.version=వెర్షన్ fx1.1 - 03/2026\nsettings.general.repository=రిపోజిటరీ: github.com/arthurdeka/cedro-modern-dock\nsettings.general.contact=సంప్రదింపు: github.com/arthurdeka\nsettings.general.openSource=ఉచిత మరియు ఓపెన్ సోర్స్ సాఫ్ట్‌వేర్\nsettings.general.acknowledgements=కృతజ్ఞతలు\n\ndialog.fileChooser.executableTitle=.exe ఎంచుకోండి\ndialog.fileChooser.executableFilter=Executable\ndialog.directoryChooser.title=ఫోల్డర్‌ను ఎంచుకోండి\n\nwindowsModule.modal.title=Windows మాడ్యూల్‌ను జోడించు\nwindowsModule.modal.subtitle=Dock‌కు జోడించడానికి ఒక స్థానిక Windows గమ్యాన్ని ఎంచుకోండి.\nwindowsModule.modal.available.title=అందుబాటులో ఉన్న మాడ్యూల్‌లు\nwindowsModule.modal.available.helper=ఈ ఎంట్రీలు Windows అంతర్నిర్మిత భాగాల కోసం Dock షార్ట్‌కట్లు సృష్టిస్తాయి.\nwindowsModule.modal.addSelected=ఎంచుకున్న మాడ్యూల్‌ను జోడించు\n\nacknowledgements.window.title=కృతజ్ఞతలు\nacknowledgements.title=కృతజ్ఞతలు\nacknowledgements.subtitle=Cedro Modern Dock ఉపయోగించే లైబ్రరీలు మరియు ఫ్రేమ్‌వర్క్‌లు.\nacknowledgements.sectionTitle=లైబ్రరీలు మరియు ఫ్రేమ్‌వర్క్‌లు\n\ndockItem.settings=సెట్టింగ్‌లు\nwindowsModule.myComputer=నా కంప్యూటర్\nwindowsModule.recycleBin=రీసైకిల్ బిన్\nwindowsModule.controlPanel=కంట్రోల్ ప్యానెల్\nwindowsModule.settings=సెట్టింగ్‌లు\n"
  },
  {
    "path": "src/main/resources/com/github/arthurdeka/cedromoderndock/i18n/messages_tr_TR.properties",
    "content": "dialog.singleInstance.message=Cedro Modern Dock zaten çalışıyor. Lütfen masaüstünü kontrol et.\n\nsettings.window.title=Ayarlar\nsettings.page.title=Dock Ayarları\nsettings.page.subtitle=Modern duyarlı düzen, modern kontroller ve sekme tabanlı organizasyon.\nsettings.language.label=Dil\n\nsettings.tab.icons=Simgeler\nsettings.tab.iconsCustomization=Simge Özelleştirme\nsettings.tab.dockCustomization=Dock Özelleştirme\nsettings.tab.dockPositioning=Dock Konumu\nsettings.tab.general=Genel\n\nsettings.icons.items.title=Dock öğeleri\nsettings.icons.items.helper=Geçerli simgeleri yeniden sırala ve programları veya Windows modüllerini tek yerden yönet.\nsettings.icons.actions.title=Eylemler\nsettings.icons.actions.helper=Özel çalıştırılabilir dosyalar, Windows modülleri ekle veya seçili öğeyi kaldır.\nsettings.icons.moveUp=Öğeyi yukarı taşı\nsettings.icons.moveDown=Öğeyi aşağı taşı\nsettings.icons.addProgram=Program ekle\nsettings.icons.addFolder=Klasör ekle\nsettings.icons.addWindowsModule=Windows modülü ekle\nsettings.icons.removeSelected=Seçili öğeyi kaldır\n\nsettings.iconsCustomization.size.title=Simge boyutu\nsettings.iconsCustomization.size.helper=Dock görünümünü temiz tutarken her simgenin boyutunu ayarla.\nsettings.iconsCustomization.spacing.title=Simgeler arası boşluk\nsettings.iconsCustomization.spacing.helper=Öğe sırasını bozmadan Dock'u daha sıkı veya daha ferah yap.\n\nsettings.dockCustomization.transparency.title=Dock saydamlığı\nsettings.dockCustomization.transparency.helper=Masaüstü arka planında Dock'un belirginliği ile inceliğini dengele.\nsettings.dockCustomization.rounding.title=Kenar yuvarlaklığı\nsettings.dockCustomization.rounding.helper=Düz stilden çıkmadan köşeleri daha keskin ya da daha yumuşak yap.\nsettings.dockCustomization.background.title=Dock arka plan rengi\nsettings.dockCustomization.background.helper=Dock simgelerinin altında görünen temel tonu seç.\n\nsettings.positioning.mode.title=Konum modu\nsettings.positioning.mode.helper=Sabit ekran bağlantısı veya serbestçe sürüklenebilen Dock arasında seçim yap.\nsettings.positioning.mode.static=Sabit konum\nsettings.positioning.mode.dynamic=Dinamik konum\nsettings.positioning.alignment.title=Hizalama\nsettings.positioning.alignment.vertical=Dikey\nsettings.positioning.alignment.horizontal=Yatay\nsettings.positioning.spacing.title=Ekran boşluğu\nsettings.positioning.spacing.top=Üst\nsettings.positioning.spacing.left=Sol\nsettings.positioning.spacing.right=Sağ\nsettings.positioning.spacing.down=Alt\nsettings.positioning.dynamic.title=Dinamik konum\nsettings.positioning.dynamic.helper=Dock'u ekranda serbestçe sürükleyip istediğin yere yerleştir.\nsettings.positioning.choice.top=Üst\nsettings.positioning.choice.middle=Orta\nsettings.positioning.choice.down=Alt\nsettings.positioning.choice.left=Sol\nsettings.positioning.choice.right=Sağ\n\nsettings.general.version=Sürüm fx1.1 - 03/2026\nsettings.general.repository=Depo: github.com/arthurdeka/cedro-modern-dock\nsettings.general.contact=İletişim: github.com/arthurdeka\nsettings.general.openSource=Ücretsiz ve açık kaynaklı yazılım\nsettings.general.acknowledgements=Teşekkürler\n\ndialog.fileChooser.executableTitle=.exe seç\ndialog.fileChooser.executableFilter=Çalıştırılabilir\ndialog.directoryChooser.title=Klasör seç\n\nwindowsModule.modal.title=Windows modülü ekle\nwindowsModule.modal.subtitle=Dock'a eklemek için yerel bir Windows hedefi seç.\nwindowsModule.modal.available.title=Kullanılabilir modüller\nwindowsModule.modal.available.helper=Bu girdiler, yerleşik Windows yüzeyleri için Dock kısayolları oluşturur.\nwindowsModule.modal.addSelected=Seçili modülü ekle\n\nacknowledgements.window.title=Teşekkürler\nacknowledgements.title=Teşekkürler\nacknowledgements.subtitle=Cedro Modern Dock tarafından kullanılan kütüphaneler ve çerçeveler.\nacknowledgements.sectionTitle=Kütüphaneler ve çerçeveler\n\ndockItem.settings=Ayarlar\nwindowsModule.myComputer=Bilgisayarım\nwindowsModule.recycleBin=Geri Dönüşüm Kutusu\nwindowsModule.controlPanel=Denetim Masası\nwindowsModule.settings=Ayarlar\n"
  },
  {
    "path": "src/main/resources/com/github/arthurdeka/cedromoderndock/i18n/messages_ur_PK.properties",
    "content": "dialog.singleInstance.message=Cedro Modern Dock پہلے ہی چل رہا ہے۔ اپنا ڈیسک ٹاپ چیک کریں۔\n\nsettings.window.title=ترتیبات\nsettings.page.title=Dock ترتیبات\nsettings.page.subtitle=جدید رسپانسیو لے آؤٹ، جدید کنٹرولز اور ٹیب پر مبنی ترتیب۔\nsettings.language.label=زبان\n\nsettings.tab.icons=آئیکنز\nsettings.tab.iconsCustomization=آئیکن حسبِ منشا\nsettings.tab.dockCustomization=Dock حسبِ منشا\nsettings.tab.dockPositioning=Dock کی جگہ\nsettings.tab.general=عمومی\n\nsettings.icons.items.title=Dock آئٹمز\nsettings.icons.items.helper=موجودہ آئیکنز کی ترتیب بدلیں اور پروگرام یا Windows ماڈیول ایک ہی جگہ سے سنبھالیں۔\nsettings.icons.actions.title=کارروائیاں\nsettings.icons.actions.helper=اپنی executable فائلیں یا Windows ماڈیول شامل کریں، یا منتخب آئٹم ہٹائیں۔\nsettings.icons.moveUp=آئٹم اوپر کریں\nsettings.icons.moveDown=آئٹم نیچے کریں\nsettings.icons.addProgram=پروگرام شامل کریں\nsettings.icons.addFolder=فولڈر شامل کریں\nsettings.icons.addWindowsModule=Windows ماڈیول شامل کریں\nsettings.icons.removeSelected=منتخب آئٹم ہٹائیں\n\nsettings.iconsCustomization.size.title=آئیکن کا سائز\nsettings.iconsCustomization.size.helper=Dock کی صاف شکل برقرار رکھتے ہوئے ہر آئیکن کا سائز بدلیے۔\nsettings.iconsCustomization.spacing.title=آئیکنز کے درمیان فاصلہ\nsettings.iconsCustomization.spacing.helper=آئٹمز کی ترتیب بدلے بغیر Dock کو زیادہ گھنا یا کشادہ بنائیں۔\n\nsettings.dockCustomization.transparency.title=Dock شفافیت\nsettings.dockCustomization.transparency.helper=ڈیسک ٹاپ کے پس منظر کے مقابلے میں Dock کی موجودگی اور نرمی کا توازن رکھیں۔\nsettings.dockCustomization.rounding.title=کناروں کی گولائی\nsettings.dockCustomization.rounding.helper=فلیٹ انداز برقرار رکھتے ہوئے کناروں کو تیز یا نرم کریں۔\nsettings.dockCustomization.background.title=Dock پس منظر کا رنگ\nsettings.dockCustomization.background.helper=وہ بنیادی رنگ منتخب کریں جو Dock آئیکنز کے نیچے نظر آئے گا۔\n\nsettings.positioning.mode.title=جگہ کا موڈ\nsettings.positioning.mode.helper=مقررہ اسکرین اینکر یا آزادانہ طور پر گھسیٹے جانے والے Dock میں سے انتخاب کریں۔\nsettings.positioning.mode.static=جامد جگہ\nsettings.positioning.mode.dynamic=متحرک جگہ\nsettings.positioning.alignment.title=سیدھ\nsettings.positioning.alignment.vertical=عمودی\nsettings.positioning.alignment.horizontal=افقی\nsettings.positioning.spacing.title=اسکرین کا فاصلہ\nsettings.positioning.spacing.top=اوپر\nsettings.positioning.spacing.left=بائیں\nsettings.positioning.spacing.right=دائیں\nsettings.positioning.spacing.down=نیچے\nsettings.positioning.dynamic.title=متحرک جگہ\nsettings.positioning.dynamic.helper=Dock کو اسکرین پر آزادانہ طور پر گھسیٹ کر جہاں چاہیں رکھیں۔\nsettings.positioning.choice.top=اوپر\nsettings.positioning.choice.middle=درمیان\nsettings.positioning.choice.down=نیچے\nsettings.positioning.choice.left=بائیں\nsettings.positioning.choice.right=دائیں\n\nsettings.general.version=ورژن fx1.1 - 03/2026\nsettings.general.repository=ریپوزٹری: github.com/arthurdeka/cedro-modern-dock\nsettings.general.contact=رابطہ: github.com/arthurdeka\nsettings.general.openSource=مفت اور اوپن سورس سافٹ ویئر\nsettings.general.acknowledgements=تشکرات\n\ndialog.fileChooser.executableTitle=.exe منتخب کریں\ndialog.fileChooser.executableFilter=Executable\ndialog.directoryChooser.title=فولڈر منتخب کریں\n\nwindowsModule.modal.title=Windows ماڈیول شامل کریں\nwindowsModule.modal.subtitle=Dock میں شامل کرنے کے لیے ایک مقامی Windows مقام منتخب کریں۔\nwindowsModule.modal.available.title=دستیاب ماڈیول\nwindowsModule.modal.available.helper=یہ اندراجات Windows کے اندرونی حصوں کے لیے Dock شارٹ کٹس بناتے ہیں۔\nwindowsModule.modal.addSelected=منتخب ماڈیول شامل کریں\n\nacknowledgements.window.title=تشکرات\nacknowledgements.title=تشکرات\nacknowledgements.subtitle=Cedro Modern Dock میں استعمال ہونے والی لائبریریاں اور فریم ورک۔\nacknowledgements.sectionTitle=لائبریریاں اور فریم ورک\n\ndockItem.settings=ترتیبات\nwindowsModule.myComputer=میرا کمپیوٹر\nwindowsModule.recycleBin=ری سائیکل بن\nwindowsModule.controlPanel=کنٹرول پینل\nwindowsModule.settings=ترتیبات\n"
  },
  {
    "path": "src/main/resources/com/github/arthurdeka/cedromoderndock/i18n/messages_vi_VN.properties",
    "content": "dialog.singleInstance.message=Đã có một phiên bản Cedro Modern Dock đang chạy. Hãy kiểm tra màn hình nền của bạn.\n\nsettings.window.title=Cài đặt\nsettings.page.title=Cài đặt Dock\nsettings.page.subtitle=Bố cục hiện đại, thích ứng, điều khiển hiện đại và tổ chức theo thẻ.\nsettings.language.label=Ngôn ngữ\n\nsettings.tab.icons=Biểu tượng\nsettings.tab.iconsCustomization=Tùy chỉnh biểu tượng\nsettings.tab.dockCustomization=Tùy chỉnh Dock\nsettings.tab.dockPositioning=Vị trí Dock\nsettings.tab.general=Chung\n\nsettings.icons.items.title=Mục trên Dock\nsettings.icons.items.helper=Sắp xếp lại các biểu tượng hiện tại và quản lý chương trình hoặc mô-đun Windows ở một nơi.\nsettings.icons.actions.title=Thao tác\nsettings.icons.actions.helper=Thêm tệp thực thi tùy chỉnh, mô-đun Windows gốc hoặc xóa mục đã chọn.\nsettings.icons.moveUp=Di chuyển mục lên\nsettings.icons.moveDown=Di chuyển mục xuống\nsettings.icons.addProgram=Thêm chương trình\nsettings.icons.addFolder=Thêm thư mục\nsettings.icons.addWindowsModule=Thêm mô-đun Windows\nsettings.icons.removeSelected=Xóa mục đã chọn\n\nsettings.iconsCustomization.size.title=Kích thước biểu tượng\nsettings.iconsCustomization.size.helper=Điều chỉnh độ nổi bật của từng biểu tượng nhưng vẫn giữ Dock gọn gàng.\nsettings.iconsCustomization.spacing.title=Khoảng cách giữa các biểu tượng\nsettings.iconsCustomization.spacing.helper=Điều chỉnh Dock chặt hay thoáng mà không làm thay đổi thứ tự mục.\n\nsettings.dockCustomization.transparency.title=Độ trong suốt của Dock\nsettings.dockCustomization.transparency.helper=Cân bằng độ nổi bật và sự tinh tế của Dock trên nền màn hình.\nsettings.dockCustomization.rounding.title=Bo tròn viền\nsettings.dockCustomization.rounding.helper=Giữ giao diện sắc nét hiện đại hoặc làm mềm góc mà vẫn giữ phong cách phẳng.\nsettings.dockCustomization.background.title=Màu nền Dock\nsettings.dockCustomization.background.helper=Chọn màu nền cơ bản nằm dưới các biểu tượng trên Dock.\n\nsettings.positioning.mode.title=Chế độ vị trí\nsettings.positioning.mode.helper=Chọn neo cố định trên màn hình hoặc Dock có thể kéo tự do.\nsettings.positioning.mode.static=Tĩnh\nsettings.positioning.mode.dynamic=Động\nsettings.positioning.alignment.title=Căn chỉnh\nsettings.positioning.alignment.vertical=Dọc\nsettings.positioning.alignment.horizontal=Ngang\nsettings.positioning.spacing.title=Khoảng cách màn hình\nsettings.positioning.spacing.top=Trên\nsettings.positioning.spacing.left=Trái\nsettings.positioning.spacing.right=Phải\nsettings.positioning.spacing.down=Dưới\nsettings.positioning.dynamic.title=Vị trí động\nsettings.positioning.dynamic.helper=Kéo Dock tự do trên màn hình để đặt ở bất cứ đâu bạn muốn.\nsettings.positioning.choice.top=Trên\nsettings.positioning.choice.middle=Giữa\nsettings.positioning.choice.down=Dưới\nsettings.positioning.choice.left=Trái\nsettings.positioning.choice.right=Phải\n\nsettings.general.version=Phiên bản fx1.1 - 03/2026\nsettings.general.repository=Kho mã: github.com/arthurdeka/cedro-modern-dock\nsettings.general.contact=Liên hệ: github.com/arthurdeka\nsettings.general.openSource=Phần mềm miễn phí và mã nguồn mở\nsettings.general.acknowledgements=Lời cảm ơn\n\ndialog.fileChooser.executableTitle=Chọn .exe\ndialog.fileChooser.executableFilter=Tệp thực thi\ndialog.directoryChooser.title=Chọn thư mục\n\nwindowsModule.modal.title=Thêm mô-đun Windows\nwindowsModule.modal.subtitle=Chọn một đích Windows gốc để thêm vào Dock.\nwindowsModule.modal.available.title=Mô-đun có sẵn\nwindowsModule.modal.available.helper=Những mục này tạo lối tắt Dock cho các bề mặt tích hợp của Windows.\nwindowsModule.modal.addSelected=Thêm mô-đun đã chọn\n\nacknowledgements.window.title=Lời cảm ơn\nacknowledgements.title=Lời cảm ơn\nacknowledgements.subtitle=Các thư viện và framework được dùng bởi Cedro Modern Dock.\nacknowledgements.sectionTitle=Thư viện & Framework\n\ndockItem.settings=Cài đặt\nwindowsModule.myComputer=Máy tính của tôi\nwindowsModule.recycleBin=Thùng rác\nwindowsModule.controlPanel=Bảng điều khiển\nwindowsModule.settings=Cài đặt\n"
  },
  {
    "path": "src/main/resources/com/github/arthurdeka/cedromoderndock/i18n/messages_yue_HK.properties",
    "content": "dialog.singleInstance.message=Cedro Modern Dock 已經喺度運行緊。請檢查你嘅桌面。\n\nsettings.window.title=設定\nsettings.page.title=Dock 設定\nsettings.page.subtitle=現代化響應式版面、現代控制項，同埋用分頁整理內容。\nsettings.language.label=語言\n\nsettings.tab.icons=圖示\nsettings.tab.iconsCustomization=圖示自訂\nsettings.tab.dockCustomization=Dock 自訂\nsettings.tab.dockPositioning=Dock 位置\nsettings.tab.general=一般\n\nsettings.icons.items.title=Dock 項目\nsettings.icons.items.helper=重新排列而家嘅圖示，亦可以集中管理程式或者 Windows 模組。\nsettings.icons.actions.title=操作\nsettings.icons.actions.helper=加入自訂執行檔、Windows 原生模組，或者移除所選項目。\nsettings.icons.moveUp=項目上移\nsettings.icons.moveDown=項目下移\nsettings.icons.addProgram=加入程式\nsettings.icons.addFolder=加入資料夾\nsettings.icons.addWindowsModule=加入 Windows 模組\nsettings.icons.removeSelected=移除所選項目\n\nsettings.iconsCustomization.size.title=圖示大小\nsettings.iconsCustomization.size.helper=調整每個圖示嘅視覺大小，同時保持 Dock 外觀簡潔。\nsettings.iconsCustomization.spacing.title=圖示間距\nsettings.iconsCustomization.spacing.helper=控制 Dock 有幾緊密或者寬鬆，而唔會打亂項目順序。\n\nsettings.dockCustomization.transparency.title=Dock 透明度\nsettings.dockCustomization.transparency.helper=平衡 Dock 喺桌面背景上嘅存在感同低調感。\nsettings.dockCustomization.rounding.title=邊框圓角\nsettings.dockCustomization.rounding.helper=保持銳利現代感，或者喺唔離開扁平風格下令邊角更柔和。\nsettings.dockCustomization.background.title=Dock 背景色\nsettings.dockCustomization.background.helper=揀一個喺 Dock 圖示底下顯示嘅基礎色調。\n\nsettings.positioning.mode.title=定位模式\nsettings.positioning.mode.helper=揀固定喺螢幕某個位置，或者可以自由拖動嘅 Dock。\nsettings.positioning.mode.static=靜態定位\nsettings.positioning.mode.dynamic=動態定位\nsettings.positioning.alignment.title=對齊\nsettings.positioning.alignment.vertical=垂直\nsettings.positioning.alignment.horizontal=水平\nsettings.positioning.spacing.title=螢幕間距\nsettings.positioning.spacing.top=上\nsettings.positioning.spacing.left=左\nsettings.positioning.spacing.right=右\nsettings.positioning.spacing.down=下\nsettings.positioning.dynamic.title=動態定位\nsettings.positioning.dynamic.helper=你可以喺畫面上自由拖動 Dock，擺去你想要嘅位置。\nsettings.positioning.choice.top=上\nsettings.positioning.choice.middle=中\nsettings.positioning.choice.down=下\nsettings.positioning.choice.left=左\nsettings.positioning.choice.right=右\n\nsettings.general.version=版本 fx1.1 - 03/2026\nsettings.general.repository=儲存庫：github.com/arthurdeka/cedro-modern-dock\nsettings.general.contact=聯絡：github.com/arthurdeka\nsettings.general.openSource=免費開源軟件\nsettings.general.acknowledgements=鳴謝\n\ndialog.fileChooser.executableTitle=揀 .exe\ndialog.fileChooser.executableFilter=可執行檔\ndialog.directoryChooser.title=揀資料夾\n\nwindowsModule.modal.title=加入 Windows 模組\nwindowsModule.modal.subtitle=揀一個 Windows 原生目的地加入 Dock。\nwindowsModule.modal.available.title=可用模組\nwindowsModule.modal.available.helper=呢啲項目會幫 Windows 內建介面建立 Dock 捷徑。\nwindowsModule.modal.addSelected=加入所選模組\n\nacknowledgements.window.title=鳴謝\nacknowledgements.title=鳴謝\nacknowledgements.subtitle=Cedro Modern Dock 使用嘅函式庫同框架。\nacknowledgements.sectionTitle=函式庫同框架\n\ndockItem.settings=設定\nwindowsModule.myComputer=我的電腦\nwindowsModule.recycleBin=回收桶\nwindowsModule.controlPanel=控制台\nwindowsModule.settings=設定\n"
  },
  {
    "path": "src/main/resources/com/github/arthurdeka/cedromoderndock/i18n/messages_zh_CN.properties",
    "content": "dialog.singleInstance.message=Cedro Modern Dock 已在运行。请检查你的桌面。\n\nsettings.window.title=设置\nsettings.page.title=Dock 设置\nsettings.page.subtitle=现代响应式布局、现代控件和基于标签页的组织方式。\nsettings.language.label=语言\n\nsettings.tab.icons=图标\nsettings.tab.iconsCustomization=图标自定义\nsettings.tab.dockCustomization=Dock 自定义\nsettings.tab.dockPositioning=Dock 位置\nsettings.tab.general=常规\n\nsettings.icons.items.title=Dock 项目\nsettings.icons.items.helper=重新排序当前图标，并在一个地方管理程序或 Windows 模块。\nsettings.icons.actions.title=操作\nsettings.icons.actions.helper=添加自定义可执行文件、原生 Windows 模块，或移除所选项目。\nsettings.icons.moveUp=上移项目\nsettings.icons.moveDown=下移项目\nsettings.icons.addProgram=添加程序\nsettings.icons.addFolder=添加文件夹\nsettings.icons.addWindowsModule=添加 Windows 模块\nsettings.icons.removeSelected=移除所选项目\n\nsettings.iconsCustomization.size.title=图标大小\nsettings.iconsCustomization.size.helper=调整每个图标的视觉大小，同时保持 Dock 轮廓简洁。\nsettings.iconsCustomization.spacing.title=图标间距\nsettings.iconsCustomization.spacing.helper=控制 Dock 的紧凑或宽松程度，而不改变项目顺序。\n\nsettings.dockCustomization.transparency.title=Dock 透明度\nsettings.dockCustomization.transparency.helper=在桌面背景上平衡 Dock 的存在感与低调感。\nsettings.dockCustomization.rounding.title=边框圆角\nsettings.dockCustomization.rounding.helper=保持外观锐利现代，或在不偏离扁平风格的前提下柔化边角。\nsettings.dockCustomization.background.title=Dock 背景颜色\nsettings.dockCustomization.background.helper=选择 Dock 图标下方的基础色调。\n\nsettings.positioning.mode.title=定位模式\nsettings.positioning.mode.helper=选择固定屏幕锚点或可自由拖动的 Dock。\nsettings.positioning.mode.static=静态定位\nsettings.positioning.mode.dynamic=动态定位\nsettings.positioning.alignment.title=对齐\nsettings.positioning.alignment.vertical=垂直\nsettings.positioning.alignment.horizontal=水平\nsettings.positioning.spacing.title=屏幕边距\nsettings.positioning.spacing.top=上\nsettings.positioning.spacing.left=左\nsettings.positioning.spacing.right=右\nsettings.positioning.spacing.down=下\nsettings.positioning.dynamic.title=动态定位\nsettings.positioning.dynamic.helper=在屏幕上自由拖动 Dock，把它放到你想要的位置。\nsettings.positioning.choice.top=上\nsettings.positioning.choice.middle=中\nsettings.positioning.choice.down=下\nsettings.positioning.choice.left=左\nsettings.positioning.choice.right=右\n\nsettings.general.version=版本 fx1.1 - 03/2026\nsettings.general.repository=仓库：github.com/arthurdeka/cedro-modern-dock\nsettings.general.contact=联系：github.com/arthurdeka\nsettings.general.openSource=免费开源软件\nsettings.general.acknowledgements=致谢\n\ndialog.fileChooser.executableTitle=选择 .exe\ndialog.fileChooser.executableFilter=可执行文件\ndialog.directoryChooser.title=选择文件夹\n\nwindowsModule.modal.title=添加 Windows 模块\nwindowsModule.modal.subtitle=选择一个原生 Windows 目标添加到 Dock。\nwindowsModule.modal.available.title=可用模块\nwindowsModule.modal.available.helper=这些项目会为内置 Windows 界面创建 Dock 快捷方式。\nwindowsModule.modal.addSelected=添加所选模块\n\nacknowledgements.window.title=致谢\nacknowledgements.title=致谢\nacknowledgements.subtitle=Cedro Modern Dock 使用的库和框架。\nacknowledgements.sectionTitle=库和框架\n\ndockItem.settings=设置\nwindowsModule.myComputer=此电脑\nwindowsModule.recycleBin=回收站\nwindowsModule.controlPanel=控制面板\nwindowsModule.settings=设置\n"
  },
  {
    "path": "src/main/resources/com/github/arthurdeka/cedromoderndock/i18n/messages_zh_TW.properties",
    "content": "dialog.singleInstance.message=Cedro Modern Dock 已在執行中。請檢查你的桌面。\n\nsettings.window.title=設定\nsettings.page.title=Dock 設定\nsettings.page.subtitle=現代化響應式版面、現代控制項與分頁式組織。\nsettings.language.label=語言\n\nsettings.tab.icons=圖示\nsettings.tab.iconsCustomization=圖示自訂\nsettings.tab.dockCustomization=Dock 自訂\nsettings.tab.dockPositioning=Dock 位置\nsettings.tab.general=一般\n\nsettings.icons.items.title=Dock 項目\nsettings.icons.items.helper=重新排序目前圖示，並在同一處管理程式或 Windows 模組。\nsettings.icons.actions.title=操作\nsettings.icons.actions.helper=新增自訂執行檔、原生 Windows 模組，或移除選取的項目。\nsettings.icons.moveUp=項目上移\nsettings.icons.moveDown=項目下移\nsettings.icons.addProgram=新增程式\nsettings.icons.addFolder=新增資料夾\nsettings.icons.addWindowsModule=新增 Windows 模組\nsettings.icons.removeSelected=移除選取項目\n\nsettings.iconsCustomization.size.title=圖示大小\nsettings.iconsCustomization.size.helper=調整每個圖示的視覺大小，同時保持 Dock 外觀俐落。\nsettings.iconsCustomization.spacing.title=圖示間距\nsettings.iconsCustomization.spacing.helper=控制 Dock 的緊湊或寬鬆程度，而不影響項目順序。\n\nsettings.dockCustomization.transparency.title=Dock 透明度\nsettings.dockCustomization.transparency.helper=在桌面背景上平衡 Dock 的存在感與低調感。\nsettings.dockCustomization.rounding.title=邊框圓角\nsettings.dockCustomization.rounding.helper=保持外觀銳利現代，或在不偏離扁平風格的情況下柔化角落。\nsettings.dockCustomization.background.title=Dock 背景色\nsettings.dockCustomization.background.helper=選擇 Dock 圖示下方的基底色調。\n\nsettings.positioning.mode.title=定位模式\nsettings.positioning.mode.helper=選擇固定螢幕錨點或可自由拖曳的 Dock。\nsettings.positioning.mode.static=靜態定位\nsettings.positioning.mode.dynamic=動態定位\nsettings.positioning.alignment.title=對齊\nsettings.positioning.alignment.vertical=垂直\nsettings.positioning.alignment.horizontal=水平\nsettings.positioning.spacing.title=螢幕間距\nsettings.positioning.spacing.top=上\nsettings.positioning.spacing.left=左\nsettings.positioning.spacing.right=右\nsettings.positioning.spacing.down=下\nsettings.positioning.dynamic.title=動態定位\nsettings.positioning.dynamic.helper=在畫面上自由拖曳 Dock，將它放到你想要的位置。\nsettings.positioning.choice.top=上\nsettings.positioning.choice.middle=中\nsettings.positioning.choice.down=下\nsettings.positioning.choice.left=左\nsettings.positioning.choice.right=右\n\nsettings.general.version=版本 fx1.1 - 03/2026\nsettings.general.repository=儲存庫：github.com/arthurdeka/cedro-modern-dock\nsettings.general.contact=聯絡方式：github.com/arthurdeka\nsettings.general.openSource=免費且開源的軟體\nsettings.general.acknowledgements=致謝\n\ndialog.fileChooser.executableTitle=選擇 .exe\ndialog.fileChooser.executableFilter=執行檔\ndialog.directoryChooser.title=選擇資料夾\n\nwindowsModule.modal.title=新增 Windows 模組\nwindowsModule.modal.subtitle=選擇一個原生 Windows 目的地加入 Dock。\nwindowsModule.modal.available.title=可用模組\nwindowsModule.modal.available.helper=這些項目會為內建 Windows 介面建立 Dock 捷徑。\nwindowsModule.modal.addSelected=新增選取的模組\n\nacknowledgements.window.title=致謝\nacknowledgements.title=致謝\nacknowledgements.subtitle=Cedro Modern Dock 使用的程式庫與框架。\nacknowledgements.sectionTitle=程式庫與框架\n\ndockItem.settings=設定\nwindowsModule.myComputer=此電腦\nwindowsModule.recycleBin=資源回收筒\nwindowsModule.controlPanel=控制台\nwindowsModule.settings=設定\n"
  },
  {
    "path": "src/test/java/com/github/arthurdeka/cedromoderndock/application/DockItemActionServiceTest.java",
    "content": "package com.github.arthurdeka.cedromoderndock.application;\n\nimport com.github.arthurdeka.cedromoderndock.model.DockFolderItemModel;\nimport com.github.arthurdeka.cedromoderndock.model.DockProgramItemModel;\nimport com.github.arthurdeka.cedromoderndock.model.DockSettingsItemModel;\nimport com.github.arthurdeka.cedromoderndock.model.DockWindowsModuleItemModel;\nimport org.junit.jupiter.api.Test;\n\nimport static org.junit.jupiter.api.Assertions.assertEquals;\n\nclass DockItemActionServiceTest {\n\n    @Test\n    void executesProgramItemsThroughProgramLauncher() {\n        InvocationCapture capture = new InvocationCapture();\n        DockItemActionService service = new DockItemActionService(\n                (path, label) -> capture.record(\"program\", path, label),\n                (path, label) -> capture.record(\"folder\", path, label),\n                (module, label) -> capture.record(\"module\", module, label)\n        );\n\n        service.execute(new DockProgramItemModel(\"Editor\", \"C:\\\\tools\\\\editor.exe\"), capture::openSettings);\n\n        assertEquals(\"program\", capture.kind);\n        assertEquals(\"C:\\\\tools\\\\editor.exe\", capture.value);\n        assertEquals(\"Editor\", capture.label);\n    }\n\n    @Test\n    void executesFolderItemsThroughFolderLauncher() {\n        InvocationCapture capture = new InvocationCapture();\n        DockItemActionService service = new DockItemActionService(\n                (path, label) -> capture.record(\"program\", path, label),\n                (path, label) -> capture.record(\"folder\", path, label),\n                (module, label) -> capture.record(\"module\", module, label)\n        );\n\n        service.execute(new DockFolderItemModel(\"Projects\", \"C:\\\\Users\\\\Arthur Rodrigues\\\\Projects\"), capture::openSettings);\n\n        assertEquals(\"folder\", capture.kind);\n        assertEquals(\"C:\\\\Users\\\\Arthur Rodrigues\\\\Projects\", capture.value);\n        assertEquals(\"Projects\", capture.label);\n    }\n\n    @Test\n    void executesWindowsModuleItemsThroughWindowsModuleLauncher() {\n        InvocationCapture capture = new InvocationCapture();\n        DockItemActionService service = new DockItemActionService(\n                (path, label) -> capture.record(\"program\", path, label),\n                (path, label) -> capture.record(\"folder\", path, label),\n                (module, label) -> capture.record(\"module\", module, label)\n        );\n\n        service.execute(new DockWindowsModuleItemModel(\"Control Panel\", \"ctrlpnl\"), capture::openSettings);\n\n        assertEquals(\"module\", capture.kind);\n        assertEquals(\"ctrlpnl\", capture.value);\n        assertEquals(\"Control Panel\", capture.label);\n    }\n\n    @Test\n    void executesSettingsItemsThroughSettingsAction() {\n        InvocationCapture capture = new InvocationCapture();\n        DockItemActionService service = new DockItemActionService(\n                (path, label) -> capture.record(\"program\", path, label),\n                (path, label) -> capture.record(\"folder\", path, label),\n                (module, label) -> capture.record(\"module\", module, label)\n        );\n\n        service.execute(new DockSettingsItemModel(), capture::openSettings);\n\n        assertEquals(\"settings\", capture.kind);\n    }\n\n    private static final class InvocationCapture {\n        private String kind = \"\";\n        private String value = \"\";\n        private String label = \"\";\n\n        private void record(String kind, String value, String label) {\n            this.kind = kind;\n            this.value = value;\n            this.label = label;\n        }\n\n        private void openSettings() {\n            this.kind = \"settings\";\n        }\n    }\n}\n"
  },
  {
    "path": "src/test/java/com/github/arthurdeka/cedromoderndock/application/DockServiceTest.java",
    "content": "package com.github.arthurdeka.cedromoderndock.application;\n\nimport com.github.arthurdeka.cedromoderndock.domain.DockRepository;\nimport com.github.arthurdeka.cedromoderndock.model.DockModel;\nimport org.junit.jupiter.api.Test;\n\nimport static org.junit.jupiter.api.Assertions.assertEquals;\n\nclass DockServiceTest {\n\n    @Test\n    void snapsSavedDockCoordinatesToWholePixels() {\n        InMemoryDockRepository repository = new InMemoryDockRepository();\n        DockService service = new DockService(repository);\n\n        service.setDockPosition(718.5, 28.2);\n\n        DockModel savedDock = repository.savedModel;\n        assertEquals(719.0, savedDock.getDockPositionX());\n        assertEquals(28.0, savedDock.getDockPositionY());\n    }\n\n    private static final class InMemoryDockRepository implements DockRepository {\n        private final DockModel model = new DockModel();\n        private DockModel savedModel = model;\n\n        @Override\n        public void save(DockModel model) {\n            savedModel = model;\n        }\n\n        @Override\n        public DockModel load() {\n            return model;\n        }\n    }\n}\n"
  },
  {
    "path": "src/test/java/com/github/arthurdeka/cedromoderndock/application/LocalizationServiceTest.java",
    "content": "package com.github.arthurdeka.cedromoderndock.application;\n\nimport com.github.arthurdeka.cedromoderndock.domain.DockRepository;\nimport com.github.arthurdeka.cedromoderndock.model.DockModel;\nimport com.github.arthurdeka.cedromoderndock.model.DockProgramItemModel;\nimport com.github.arthurdeka.cedromoderndock.model.DockSettingsItemModel;\nimport com.github.arthurdeka.cedromoderndock.model.DockWindowsModuleItemModel;\nimport org.junit.jupiter.api.Test;\n\nimport java.util.concurrent.atomic.AtomicInteger;\n\nimport static org.junit.jupiter.api.Assertions.assertEquals;\nimport static org.junit.jupiter.api.Assertions.assertFalse;\n\nclass LocalizationServiceTest {\n\n    @Test\n    void localizesBuiltInItemsButKeepsProgramLabelsUntouched() {\n        InMemoryDockRepository repository = new InMemoryDockRepository();\n        DockService dockService = new DockService(repository);\n        LocalizationService localizationService = new LocalizationService(dockService);\n\n        assertEquals(\"Settings\", localizationService.dockItemLabel(new DockSettingsItemModel()));\n        assertEquals(\"Control Panel\", localizationService.dockItemLabel(new DockWindowsModuleItemModel(\"Control Panel\", \"ctrlpnl\")));\n        assertEquals(\"Discord\", localizationService.dockItemLabel(new DockProgramItemModel(\"Discord\", \"C:\\\\Discord.exe\")));\n\n        localizationService.setLanguage(SupportedLanguage.PT_BR);\n\n        assertEquals(\"Configurações\", localizationService.dockItemLabel(new DockSettingsItemModel()));\n        assertEquals(\"Painel de Controle\", localizationService.dockItemLabel(new DockWindowsModuleItemModel(\"Control Panel\", \"ctrlpnl\")));\n        assertEquals(\"Discord\", localizationService.dockItemLabel(new DockProgramItemModel(\"Discord\", \"C:\\\\Discord.exe\")));\n    }\n\n    @Test\n    void persistsLanguageAndNotifiesListeners() {\n        InMemoryDockRepository repository = new InMemoryDockRepository();\n        DockService dockService = new DockService(repository);\n        LocalizationService localizationService = new LocalizationService(dockService);\n        AtomicInteger notificationCount = new AtomicInteger();\n\n        localizationService.addListener(notificationCount::incrementAndGet);\n        localizationService.setLanguage(SupportedLanguage.PT_BR);\n\n        assertEquals(SupportedLanguage.PT_BR, repository.savedModel.getLanguage());\n        assertEquals(1, notificationCount.get());\n    }\n\n    @Test\n    void languageSelectorUsesNativeLanguageNames() {\n        InMemoryDockRepository repository = new InMemoryDockRepository();\n        DockService dockService = new DockService(repository);\n        LocalizationService localizationService = new LocalizationService(dockService);\n\n        assertEquals(\"English\", localizationService.languageDisplayName(SupportedLanguage.EN_US));\n        assertEquals(\"Portugu\\u00EAs (Brasil)\", localizationService.languageDisplayName(SupportedLanguage.PT_BR));\n    }\n\n    @Test\n    void everySupportedLanguageHasATranslationBundle() {\n        for (SupportedLanguage language : SupportedLanguage.values()) {\n            String windowTitle = LocalizationService.bootstrapText(language, \"settings.window.title\");\n            String moduleTitle = LocalizationService.bootstrapText(language, \"windowsModule.modal.title\");\n\n            assertFalse(windowTitle.isBlank(), \"Missing settings.window.title for \" + language);\n            assertFalse(moduleTitle.isBlank(), \"Missing windowsModule.modal.title for \" + language);\n            assertFalse(\"settings.window.title\".equals(windowTitle), \"Bundle fallback failed for \" + language);\n            assertFalse(\"windowsModule.modal.title\".equals(moduleTitle), \"Bundle fallback failed for \" + language);\n        }\n    }\n\n    private static final class InMemoryDockRepository implements DockRepository {\n        private DockModel savedModel = new DockModel();\n\n        @Override\n        public DockModel load() {\n            return savedModel;\n        }\n\n        @Override\n        public void save(DockModel model) {\n            savedModel = model;\n        }\n    }\n}\n"
  },
  {
    "path": "src/test/java/com/github/arthurdeka/cedromoderndock/application/ProgramSelectionResolverTest.java",
    "content": "package com.github.arthurdeka.cedromoderndock.application;\n\nimport org.junit.jupiter.api.Test;\nimport org.junit.jupiter.api.io.TempDir;\n\nimport java.io.IOException;\nimport java.nio.file.Files;\nimport java.nio.file.Path;\n\nimport static org.junit.jupiter.api.Assertions.assertEquals;\n\nclass ProgramSelectionResolverTest {\n\n    @TempDir\n    Path tempDir;\n\n    @Test\n    void keepsRegularExecutablesUntouched() throws IOException {\n        Path executable = Files.createFile(tempDir.resolve(\"Editor.exe\"));\n\n        ProgramSelectionResolver.ResolvedProgramSelection selection = ProgramSelectionResolver.resolve(executable);\n\n        assertEquals(executable.toString(), selection.executablePath());\n        assertEquals(\"Editor\", selection.label());\n    }\n\n    @Test\n    void resolvesSquirrelUpdaterToRealApplicationExecutable() throws IOException {\n        Path installDir = Files.createDirectories(tempDir.resolve(\"Discord\"));\n        Files.createFile(installDir.resolve(\"Update.exe\"));\n        Path appDirectory = Files.createDirectories(installDir.resolve(\"app-1.0.0\"));\n        Path discordExecutable = Files.createFile(appDirectory.resolve(\"Discord.exe\"));\n\n        ProgramSelectionResolver.ResolvedProgramSelection selection =\n                ProgramSelectionResolver.resolve(installDir.resolve(\"Update.exe\"));\n\n        assertEquals(discordExecutable.toString(), selection.executablePath());\n        assertEquals(\"Discord\", selection.label());\n    }\n\n    @Test\n    void fallsBackToFirstExecutableWhenFolderNameDoesNotMatch() throws IOException {\n        Path installDir = Files.createDirectories(tempDir.resolve(\"SomeWrapper\"));\n        Files.createFile(installDir.resolve(\"Update.exe\"));\n        Path appDirectory = Files.createDirectories(installDir.resolve(\"app-2.0.0\"));\n        Path realExecutable = Files.createFile(appDirectory.resolve(\"RealApp.exe\"));\n\n        ProgramSelectionResolver.ResolvedProgramSelection selection =\n                ProgramSelectionResolver.resolve(installDir.resolve(\"Update.exe\"));\n\n        assertEquals(realExecutable.toString(), selection.executablePath());\n        assertEquals(\"RealApp\", selection.label());\n    }\n}\n"
  },
  {
    "path": "src/test/java/com/github/arthurdeka/cedromoderndock/infrastructure/persistence/JsonDockRepositoryTest.java",
    "content": "package com.github.arthurdeka.cedromoderndock.infrastructure.persistence;\n\nimport com.github.arthurdeka.cedromoderndock.application.SupportedLanguage;\nimport com.github.arthurdeka.cedromoderndock.model.DockFolderItemModel;\nimport com.github.arthurdeka.cedromoderndock.model.DockItem;\nimport com.github.arthurdeka.cedromoderndock.model.DockItemType;\nimport com.github.arthurdeka.cedromoderndock.model.DockModel;\nimport org.junit.jupiter.api.Test;\nimport org.junit.jupiter.api.io.TempDir;\n\nimport java.nio.file.Path;\n\nimport static org.junit.jupiter.api.Assertions.assertEquals;\nimport static org.junit.jupiter.api.Assertions.assertInstanceOf;\n\nclass JsonDockRepositoryTest {\n\n    @TempDir\n    Path tempDir;\n\n    @Test\n    void savesAndLoadsFolderItems() {\n        Path configPath = tempDir.resolve(\"config.json\");\n        JsonDockRepository repository = new JsonDockRepository(configPath);\n\n        DockModel model = new DockModel();\n        model.addItem(new DockFolderItemModel(\"Projects\", \"C:\\\\Users\\\\Arthur Rodrigues\\\\Projects\"));\n\n        repository.save(model);\n        DockModel loadedModel = repository.load();\n\n        assertEquals(1, loadedModel.getItems().size());\n\n        DockItem loadedItem = loadedModel.getItems().getFirst();\n        DockFolderItemModel folderItem = assertInstanceOf(DockFolderItemModel.class, loadedItem);\n        assertEquals(DockItemType.FOLDER, folderItem.getType());\n        assertEquals(\"Projects\", folderItem.getLabel());\n        assertEquals(\"C:\\\\Users\\\\Arthur Rodrigues\\\\Projects\", folderItem.getFolderPath());\n    }\n\n    @Test\n    void savesAndLoadsSelectedLanguage() {\n        Path configPath = tempDir.resolve(\"config.json\");\n        JsonDockRepository repository = new JsonDockRepository(configPath);\n\n        DockModel model = new DockModel();\n        model.setLanguage(SupportedLanguage.PT_BR);\n\n        repository.save(model);\n        DockModel loadedModel = repository.load();\n\n        assertEquals(SupportedLanguage.PT_BR, loadedModel.getLanguage());\n    }\n}\n"
  },
  {
    "path": "src/test/java/com/github/arthurdeka/cedromoderndock/infrastructure/system/DefaultProgramLauncherTest.java",
    "content": "package com.github.arthurdeka.cedromoderndock.infrastructure.system;\n\nimport org.junit.jupiter.api.Test;\nimport org.junit.jupiter.api.io.TempDir;\n\nimport java.io.IOException;\nimport java.nio.file.Files;\nimport java.nio.file.Path;\nimport java.util.List;\n\nimport static org.junit.jupiter.api.Assertions.assertEquals;\n\nclass DefaultProgramLauncherTest {\n\n    @TempDir\n    Path tempDir;\n\n    @Test\n    void launchesRegularProgramsDirectly() throws IOException {\n        Path executable = Files.createFile(tempDir.resolve(\"Editor.exe\"));\n\n        DefaultProgramLauncher.LaunchCommand command =\n                DefaultProgramLauncher.resolveLaunchCommand(executable.toString());\n\n        assertEquals(executable.toString(), command.executablePath());\n        assertEquals(List.of(), command.arguments());\n    }\n\n    @Test\n    void launchesDiscordThroughUpdateExecutable() throws IOException {\n        Path installDir = Files.createDirectories(tempDir.resolve(\"Discord\"));\n        Path updateExecutable = Files.createFile(installDir.resolve(\"Update.exe\"));\n        Path versionDirectory = Files.createDirectories(installDir.resolve(\"app-1.0.9230\"));\n        Path discordExecutable = Files.createFile(versionDirectory.resolve(\"Discord.exe\"));\n\n        DefaultProgramLauncher.LaunchCommand command =\n                DefaultProgramLauncher.resolveLaunchCommand(discordExecutable.toString());\n\n        assertEquals(updateExecutable.toString(), command.executablePath());\n        assertEquals(List.of(\"--processStart\", \"Discord.exe\"), command.arguments());\n    }\n}\n"
  },
  {
    "path": "src/test/java/com/github/arthurdeka/cedromoderndock/util/SingleInstanceGuardTest.java",
    "content": "package com.github.arthurdeka.cedromoderndock.util;\n\nimport org.junit.jupiter.api.Test;\nimport org.junit.jupiter.api.io.TempDir;\n\nimport java.nio.file.Path;\n\nimport static org.junit.jupiter.api.Assertions.assertFalse;\nimport static org.junit.jupiter.api.Assertions.assertTrue;\n\nclass SingleInstanceGuardTest {\n\n    @TempDir\n    Path tempDir;\n\n    @Test\n    void blocksSecondGuardWhileFirstIsHoldingLock() {\n        Path lockFile = tempDir.resolve(\"app.lock\");\n        SingleInstanceGuard firstGuard = new SingleInstanceGuard(lockFile);\n        SingleInstanceGuard secondGuard = new SingleInstanceGuard(lockFile);\n\n        try {\n            assertTrue(firstGuard.tryAcquire());\n            assertFalse(secondGuard.tryAcquire());\n        } finally {\n            firstGuard.close();\n            secondGuard.close();\n        }\n    }\n\n    @Test\n    void allowsAcquireAgainAfterFirstGuardReleasesLock() {\n        Path lockFile = tempDir.resolve(\"app.lock\");\n        SingleInstanceGuard firstGuard = new SingleInstanceGuard(lockFile);\n        SingleInstanceGuard secondGuard = new SingleInstanceGuard(lockFile);\n\n        try {\n            assertTrue(firstGuard.tryAcquire());\n            firstGuard.close();\n            assertTrue(secondGuard.tryAcquire());\n        } finally {\n            firstGuard.close();\n            secondGuard.close();\n        }\n    }\n}\n"
  }
]