tzk/docs/index.html

23007 lines
6.0 MiB
HTML
Raw Normal View History

2021-09-21 16:32:33 +00:00
<!doctype html>
<!-- The following comment is called a MOTW comment and is necessary for the TiddlyIE Internet Explorer extension -->
<!-- saved from url=(0021)https://tiddlywiki.com -->
<html lang="en-GB">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<!--~~ Raw markup for the top of the head section ~~-->
<meta http-equiv="X-UA-Compatible" content="IE=Edge"/>
<meta name="application-name" content="TiddlyWiki" />
<meta name="generator" content="TiddlyWiki" />
<meta name="tiddlywiki-version" content="5.1.23" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="mobile-web-app-capable" content="yes"/>
<meta name="format-detection" content="telephone=no" />
<meta name="copyright" content="TiddlyWiki created by Jeremy Ruston, (jeremy [at] jermolene [dot] com)
Copyright (c) 2004-2007, Jeremy Ruston
Copyright (c) 2007-2020, UnaMesa Association
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." />
<link id="faviconLink" rel="shortcut icon" href="favicon.ico">
<title>My TiddlyZettelKasten — Say something clever about it here</title>
<!--~~ This is a Tiddlywiki file. The points of interest in the file are marked with this pattern ~~-->
<!--~~ Raw markup ~~-->
<!--
This snippet sends pageviews to Simple Analytics, a privacy-friendly analytics service.
It records only aggregate statistics and cannot identify you.
-->
<script>window.sa_event=window.sa_event||function(){a=[].slice.call(arguments);sa_event.q?sa_event.q.push(a):sa_event.q=[a]};</script>
<script async defer src="https://scripts.simpleanalyticscdn.com/latest.js"></script>
<noscript><img src="https://queue.simpleanalyticscdn.com/noscript.gif" alt=""
/></noscript>
</head>
<body class="tc-body">
<!--~~ Raw markup for the top of the body section ~~-->
<!-- Spinner mechanism shamelessly stolen from https://tiddlywiki.org. --><div class="tc-remove-when-wiki-loaded">
<style scoped>.tc-splash-text {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-size: 16px;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
margin: 20px auto 0;
width: 200px;
text-align: center;
color: #fbf1c7;
fill: #fbf1c7;
}.tc-splash-text img {
width: 150px;
-webkit-box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
-moz-box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}html body.tc-body {
background: #282828;
}/*
Spinner from https://github.com/tobiasahlin/SpinKit/ by Tobias AhlinThe MIT License (MIT)Copyright (c) 2015 Tobias AhlinPermission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/.tc-splash-spinner {
margin: 20px auto 0;
width: 70px;
text-align: center;
}.tc-splash-spinner > div {
width: 18px;
height: 18px;
border-radius: 100%;
display: inline-block;
-webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
animation: sk-bouncedelay 1.4s infinite ease-in-out both;
background-color: #f88;
}.tc-splash-spinner .tc-splash-bounce-1 {
-webkit-animation-delay: -0.32s;
animation-delay: -0.32s;
background-color: #8f8;
}.tc-splash-spinner .tc-splash-bounce-2 {
-webkit-animation-delay: -0.16s;
animation-delay: -0.16s;
background-color: #88f;
}@-webkit-keyframes sk-bouncedelay {
0%, 80%, 100% { -webkit-transform: scale(0) }
40% { -webkit-transform: scale(1.0) }
}@keyframes sk-bouncedelay {
0%, 80%, 100% {
-webkit-transform: scale(0);
transform: scale(0);
} 40% {
-webkit-transform: scale(1.0);
transform: scale(1.0);
}
}
</style><div class="tc-splash-spinner">
<div class="tc-splash-bounce-1"></div>
<div class="tc-splash-bounce-2"></div>
<div class="tc-splash-bounce-3"></div>
</div><div class="tc-splash-text">
Loading My TiddlyZettelKasten...
</div>
</div>
<!--~~ Static styles ~~-->
<div id="styleArea">
<style data-tiddler-title="$:/boot/boot.css" data-tiddler-type="text/css" type="text/css">/*
Basic styles used before we boot up the parsing engine
*/
/*
Error message and password prompt
*/
.tc-error-form {
font-family: sans-serif;
color: #fff;
z-index: 20000;
position: fixed;
background-color: rgb(255, 75, 75);
border: 8px solid rgb(255, 0, 0);
border-radius: 8px;
width: 50%;
margin-left: 25%;
margin-top: 4em;
padding: 0 2em 1em 2em;
}
.tc-error-form h1 {
text-align: center;
}
.tc-error-prompt {
text-align: center;
color: #000;
}
.tc-error-message {
overflow: auto;
max-height: 40em;
padding-right: 1em;
margin: 1em 0;
white-space: pre-line;
}
.tc-password-wrapper {
font-family: sans-serif;
z-index: 20000;
position: fixed;
text-align: center;
width: 200px;
top: 4em;
left: 50%;
margin-left: -144px; /* - width/2 - paddingHorz/2 - border */
padding: 16px 16px 16px 16px;
border-radius: 8px;
}
.tc-password-wrapper {
color: #000;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
background-color: rgb(197, 235, 183);
border: 8px solid rgb(164, 197, 152);
}
.tc-password-wrapper form {
text-align: left;
}
.tc-password-wrapper h1 {
font-size: 16px;
line-height: 20px;
padding-bottom: 16px;
}
.tc-password-wrapper input {
width: 100%;
}
</style>
</div>
<!--~~ Static content for Google and browsers without JavaScript ~~-->
<noscript>
<div id="splashArea">
<p>This <a class="tc-tiddlylink-external" href="https://tiddlywiki.com" rel="noopener noreferrer" target="_blank">TiddlyWiki</a> contains the following tiddlers:</p><p><ul>
<li>$:/config/AnimationDuration</li>
<li>$:/config/bimlas/locator/fields/parent</li>
<li>$:/config/codemirror/keyMap</li>
<li>$:/config/codemirror/theme</li>
<li>$:/config/DefaultSidebarTab</li>
<li>$:/config/DownloadSaver/AutoSave</li>
<li>$:/config/EditTabIndex</li>
<li>$:/config/flibbles/relink/fields/bibliography</li>
<li>$:/config/flibbles/relink/fields/description</li>
<li>$:/config/flibbles/relink/fields/memberof</li>
<li>$:/config/flibbles/relink/fields/spouse</li>
<li>$:/config/flibbles/relink/fields/universe</li>
<li>$:/config/flibbles/relink/macros/expando/tiddler</li>
<li>$:/config/Manager/Filter</li>
<li>$:/config/Manager/Show</li>
<li>$:/config/Manager/Sort</li>
<li>$:/config/Manager/System</li>
<li>$:/config/Manager/Tag</li>
<li>$:/config/NewJournal/Title</li>
<li>$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/advanced-search</li>
<li>$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/close-all</li>
<li>$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/control-panel</li>
<li>$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/full-screen</li>
<li>$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/home</li>
<li>$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/import</li>
<li>$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/more-page-actions</li>
<li>$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/new-journal</li>
<li>$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/new-tiddler</li>
<li>$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/permaview</li>
<li>$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/save-wiki</li>
<li>$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/tag-manager</li>
<li>$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/timestamp</li>
<li>$:/config/PageControlButtons/Visibility/$:/plugins/aaldrich/tables/button</li>
<li>$:/config/PageControlButtons/Visibility/$:/sib/Buttons/NewSource</li>
<li>$:/config/PageControlButtons/Visibility/$:/sib/Buttons/ReadingInbox</li>
<li>$:/config/PageControlButtons/Visibility/$:/sib/NewSourceButton</li>
<li>$:/config/Performance/Instrumentation</li>
<li>$:/config/Plugins/Disabled/$:/plugins/bimlas/locator</li>
<li>$:/config/Plugins/Disabled/$:/plugins/flibbles/relink</li>
<li>$:/config/Plugins/Disabled/$:/plugins/frd/simplecalendar</li>
<li>$:/config/Plugins/Disabled/$:/plugins/kantorsite/mathjax</li>
<li>$:/config/Plugins/Disabled/$:/plugins/kixam/datepicker</li>
<li>$:/config/Plugins/Disabled/$:/plugins/kixam/moment</li>
<li>$:/config/Plugins/Disabled/$:/plugins/kookma/refnotes</li>
<li>$:/config/Plugins/Disabled/$:/plugins/MaxGyver83/tw5-keyboard-navigation</li>
<li>$:/config/Plugins/Disabled/$:/plugins/sk/FancyQuotes</li>
<li>$:/config/Plugins/Disabled/$:/plugins/sobjornstad/3click2edit</li>
<li>$:/config/Plugins/Disabled/$:/plugins/telmiger/details</li>
<li>$:/config/Plugins/Disabled/$:/plugins/TheDiveO/FontAwesome</li>
<li>$:/config/Plugins/Disabled/$:/plugins/tiddlywiki/codemirror-autocomplete</li>
<li>$:/config/Plugins/Disabled/$:/plugins/tiddlywiki/codemirror-closebrackets</li>
<li>$:/config/Plugins/Disabled/$:/plugins/tiddlywiki/codemirror-keymap-vim</li>
<li>$:/config/Plugins/Disabled/$:/plugins/tiddlywiki/codemirror-search-replace</li>
<li>$:/config/Plugins/Disabled/$:/plugins/tiddlywiki/highlight</li>
<li>$:/config/Plugins/Disabled/$:/plugins/tiddlywiki/katex</li>
<li>$:/config/PublicContactInfo</li>
<li>$:/config/RelinkOnRename</li>
<li>$:/config/ShortcutInfo/excise-private-chunk</li>
<li>$:/config/shortcuts/cancel-edit-tiddler</li>
<li>$:/config/shortcuts/excise-private-chunk</li>
<li>$:/config/sib/CurrentEditionPublicity</li>
<li>$:/config/sib/IsPublicEdition</li>
<li>$:/config/sib/TopBarHeight</li>
<li>$:/config/SyncFilter</li>
<li>$:/config/TiddlerInfo/Mode</li>
<li>$:/config/Tiddlers/TitleLinks</li>
<li>$:/config/TiddlyRemember/TagMapping</li>
<li>$:/config/TimestampDisable</li>
<li>$:/config/Toolbar/ButtonClass</li>
<li>$:/config/Toolbar/Text</li>
<li>$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/clone</li>
<li>$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/close-others</li>
<li>$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/edit</li>
<li>$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/export-tiddler</li>
<li>$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/fold-bar</li>
<li>$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/info</li>
<li>$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/new-here</li>
<li>$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/new-journal-here</li>
<li>$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/permalink</li>
<li>$:/config/ViewToolbarButtons/Visibility/$:/plugins/bimlas/locator/viewtemplate/open-in-sidebar</li>
<li>$:/config/ViewToolbarButtons/Visibility/$:/sib/Buttons/CopyPublicZettelkastenLink</li>
<li>$:/config/ViewToolbarButtons/Visibility/$:/sib/Buttons/CopyTitleReference</li>
<li>$:/config/ViewToolbarButtons/Visibility/$:/sib/CopyPublicZettelkastenLink</li>
<li>$:/config/ViewToolbarButtons/Visibility/$:/sib/CopyTitleReference</li>
<li>$:/config/ViewToolbarButtons/Visibility/DoCopyTitleReference</li>
<li>$:/config/WikiParserRules/Inline/dash</li>
<li>$:/config/zettelkasten/Build/KillPhrases</li>
2021-09-21 16:32:33 +00:00
<li>$:/config/zettelkasten/copyright/Content</li>
<li>$:/config/zettelkasten/copyright/InitialNotice</li>
<li>$:/config/zettelkasten/copyright/MIT</li>
<li>$:/config/zettelkasten/copyright/System</li>
<li>$:/config/zettelkasten/copyright/UserNotice</li>
<li>$:/config/zettelkasten/FeatureFlags/Clock</li>
<li>$:/config/zettelkasten/FeatureFlags/CopyrightFooter</li>
<li>$:/config/zettelkasten/FeatureFlags/EditorPublicLine</li>
<li>$:/config/zettelkasten/FeatureFlags/EpistemicStatus</li>
<li>$:/config/zettelkasten/FeatureFlags/GisTools</li>
<li>$:/config/zettelkasten/FeatureFlags/MediaRating</li>
<li>$:/config/zettelkasten/FeatureFlags/OpenTopBar</li>
<li>$:/config/zettelkasten/FeatureFlags/SidebarInfoLinks</li>
<li>$:/config/zettelkasten/FeatureFlags/SpoilerBanner</li>
<li>$:/config/zettelkasten/FeatureFlags/ViewerPublicLine</li>
<li>$:/config/zettelkasten/GettingStartedWizardCurr</li>
<li>$:/config/zettelkasten/gis/GMapsApiKey</li>
<li>$:/config/zettelkasten/SideBar/Visibility/$:/core/ui/SideBar/More</li>
<li>$:/config/zettelkasten/SideBar/Visibility/$:/core/ui/SideBar/Open</li>
<li>$:/config/zettelkasten/SideBar/Visibility/$:/core/ui/SideBar/Recent</li>
<li>$:/config/zettelkasten/SideBar/Visibility/$:/core/ui/SideBar/Tools</li>
<li>$:/config/zettelkasten/SideBar/Visibility/$:/sib/SideBar/Explore</li>
<li>$:/config/zettelkasten/SideBar/Visibility/$:/sib/SideBar/Write</li>
<li>$:/config/zettelkasten/SplashScreenMessage</li>
<li>$:/core</li>
<li>$:/core/Filters/AllTags</li>
<li>$:/core/macros/tag-picker</li>
<li>$:/core/modules/editor-operations/text/fancyquotes.js</li>
<li>$:/core/templates/canonical-uri-external-image</li>
<li>$:/core/ui/SideBar/Open</li>
<li>$:/core/ui/SideBarSegments/tabs</li>
<li>$:/core/ui/ViewTemplate/subtitle</li>
<li>$:/DefaultTiddlers</li>
<li>$:/isEncrypted</li>
<li>$:/layout</li>
<li>$:/palette</li>
<li>$:/plugins/aaldrich/tables</li>
<li>$:/plugins/adithyab/cmplus</li>
<li>$:/plugins/bimlas/locator</li>
<li>$:/plugins/bimlas/locator/edit-template/locator-references</li>
<li>$:/plugins/flibbles/relink</li>
<li>$:/plugins/frd/simplecalendar/CalendarConfigDefault</li>
<li>$:/plugins/ihm/tidgraph</li>
<li>$:/plugins/kixam/datepicker</li>
<li>$:/plugins/kixam/moment</li>
<li>$:/plugins/kookma/refnotes/styles/footnote-counter</li>
<li>$:/plugins/kookma/refnotes/ui/bibtexlibrary</li>
<li>$:/plugins/sobjornstad/3click2edit</li>
<li>$:/plugins/sobjornstad/TiddlyRemember</li>
<li>$:/plugins/sobjornstad/TiddlyStretch</li>
<li>$:/plugins/sobjornstad/TiddlyStretch/macros/stretch</li>
<li>$:/plugins/telmiger/details</li>
<li>$:/plugins/telmiger/details/colours.css</li>
<li>$:/plugins/TheDiveO/FontAwesome</li>
<li>$:/plugins/TheDiveO/FontAwesome/styles/extlinks/randomthoughts</li>
<li>$:/plugins/tiddlywiki/codemirror</li>
<li>$:/plugins/tiddlywiki/codemirror-autocomplete</li>
<li>$:/plugins/tiddlywiki/codemirror-closebrackets</li>
<li>$:/plugins/tiddlywiki/codemirror-keymap-vim</li>
<li>$:/plugins/tiddlywiki/codemirror-search-replace</li>
<li>$:/plugins/tiddlywiki/codemirror/addon/hint/anyword-hint.js2</li>
<li>$:/plugins/tiddlywiki/codemirror/mode/tw5/tw5.css</li>
<li>$:/plugins/tiddlywiki/codemirror/mode/tw5/tw5.css2</li>
<li>$:/plugins/tiddlywiki/codemirror/mode/tw5/tw5.js2</li>
<li>$:/plugins/tiddlywiki/highlight</li>
<li>$:/plugins/tiddlywiki/katex</li>
<li>$:/sib/Buttons/CopyPublicZettelkastenLink</li>
<li>$:/sib/Buttons/CopyTitleReference</li>
<li>$:/sib/Buttons/excise-private-chunk</li>
<li>$:/sib/Buttons/NewSource</li>
<li>$:/sib/Buttons/ReadingInbox</li>
<li>$:/sib/Buttons/Tools</li>
<li>$:/sib/Documentation</li>
<li>$:/sib/Documentation/Macros</li>
<li>$:/sib/Documentation/ViewTemplates</li>
<li>$:/sib/EpistemicStatus/confident</li>
<li>$:/sib/EpistemicStatus/Display</li>
<li>$:/sib/EpistemicStatus/likely</li>
<li>$:/sib/EpistemicStatus/mythological</li>
<li>$:/sib/EpistemicStatus/personal</li>
<li>$:/sib/EpistemicStatus/possible</li>
<li>$:/sib/EpistemicStatus/probably-wrong</li>
<li>$:/sib/EpistemicStatus/unlikely</li>
<li>$:/sib/Fonts/SourceSansPro</li>
<li>$:/sib/GettingStarted</li>
<li>$:/sib/GettingStarted/Copyright</li>
<li>$:/sib/GettingStarted/NextSteps</li>
<li>$:/sib/GettingStarted/ReferenceExplorer</li>
<li>$:/sib/GettingStarted/ThingsToDo</li>
<li>$:/sib/GettingStarted/Title</li>
<li>$:/sib/GettingStarted/Warning</li>
<li>$:/sib/GettingStarted/ZettelkastenCardTypes</li>
<li>$:/sib/gis/AddInfo</li>
<li>$:/sib/gis/DrivingDirections</li>
<li>$:/sib/gis/Info</li>
<li>$:/sib/gis/MappingTools</li>
<li>$:/sib/gis/SatelliteMap</li>
<li>$:/sib/gui/KillPhrases</li>
<li>$:/sib/gui/SidebarTabSelector</li>
<li>$:/sib/indite/ChildListItemTemplate</li>
<li>$:/sib/indite/InditeChildren</li>
<li>$:/sib/indite/macros</li>
<li>$:/sib/indite/Sidebar</li>
<li>$:/sib/indite/Stylesheet</li>
<li>$:/sib/indite/ViewTemplate</li>
<li>$:/sib/js/excise-private-chunk.js</li>
<li>$:/sib/js/ListSubscriptionsWidget</li>
<li>$:/sib/js/SendFeedbackWidget</li>
<li>$:/sib/js/SubscriptionManagementWidget</li>
<li>$:/sib/js/thirdparty/TiddlyTools/Time/action-timeout.js</li>
<li>$:/sib/Macros/cb</li>
<li>$:/sib/Macros/check-item</li>
<li>$:/sib/Macros/clarify</li>
<li>$:/sib/Macros/colorsplotch</li>
<li>$:/sib/Macros/ff</li>
<li>$:/sib/Macros/float-image</li>
<li>$:/sib/Macros/fnote</li>
<li>$:/sib/Macros/privateperson</li>
<li>$:/sib/Macros/rt</li>
<li>$:/sib/Macros/speaker</li>
<li>$:/sib/Macros/star-rating</li>
<li>$:/sib/Macros/subreddit</li>
<li>$:/sib/MediaRating/average</li>
<li>$:/sib/MediaRating/classic</li>
<li>$:/sib/MediaRating/Display</li>
<li>$:/sib/MediaRating/distinguished</li>
<li>$:/sib/MediaRating/good</li>
<li>$:/sib/MediaRating/great</li>
<li>$:/sib/MediaRating/irrational</li>
<li>$:/sib/MediaRating/poor</li>
<li>$:/sib/MediaRating/skimmable</li>
<li>$:/sib/Overrides/CodeMirrorPopupFix</li>
<li>$:/sib/Overrides/details-background-color</li>
<li>$:/sib/RawMarkup/ClockTicker</li>
<li>$:/sib/RawMarkup/SimpleAnalytics</li>
<li>$:/sib/RawMarkup/SplashScreen</li>
<li>$:/sib/refexplorer/All</li>
<li>$:/sib/refexplorer/Footnotes</li>
<li>$:/sib/refexplorer/Ideas</li>
<li>$:/sib/refexplorer/LinkGraph</li>
<li>$:/sib/refexplorer/LinkTypeTemplate</li>
<li>$:/sib/refexplorer/PAO</li>
<li>$:/sib/refexplorer/Places</li>
<li>$:/sib/refexplorer/ReferenceExplorer</li>
<li>$:/sib/refexplorer/Sinks</li>
<li>$:/sib/refexplorer/Sources</li>
<li>$:/sib/refexplorer/Subtiddlers</li>
<li>$:/sib/Reviewer/Dateops</li>
<li>$:/sib/Reviewer/SchedulableTemplate</li>
<li>$:/sib/Reviewer/SchedulerMacros</li>
<li>$:/sib/Reviewer/Tiddlers due for review</li>
<li>$:/sib/Search/Locator</li>
<li>$:/sib/Search/LocatorFields</li>
<li>$:/sib/SideBar/Explore</li>
<li>$:/sib/SideBar/Explore/Bibliographies</li>
<li>$:/sib/SideBar/InfoLinks</li>
<li>$:/sib/SideBar/Write</li>
<li>$:/sib/SideBar/Write/Stub</li>
<li>$:/sib/Snippets/TiddlyRememberDetailsWidget</li>
<li>$:/sib/StorySaver/Saver</li>
<li>$:/sib/styles/body</li>
<li>$:/sib/styles/footnote</li>
<li>$:/sib/styles/FourColMode</li>
<li>$:/sib/styles/GeneralStyles</li>
<li>$:/sib/styles/hr</li>
<li>$:/sib/styles/OpenTopBar</li>
<li>$:/sib/styles/Publicity</li>
<li>$:/sib/styles/ReferenceExplorer</li>
<li>$:/sib/styles/Subtitle</li>
<li>$:/sib/Templates/Automatic/Clock</li>
<li>$:/sib/Templates/Automatic/MacroDescription</li>
<li>$:/sib/Templates/Automatic/MissingTiddlerCreationNotification</li>
<li>$:/sib/Templates/Automatic/OpenTopBar</li>
<li>$:/sib/Templates/Automatic/PrivateChunkParentNotice</li>
<li>$:/sib/Templates/Automatic/Publicity/EditorPublicLine</li>
<li>$:/sib/Templates/Automatic/Publicity/LevelDisplay</li>
<li>$:/sib/Templates/Automatic/Publicity/ViewerPublicLine</li>
<li>$:/sib/Templates/Automatic/ReaderActions</li>
<li>$:/sib/Templates/Automatic/Source</li>
<li>$:/sib/Templates/Automatic/SpoilerBanner</li>
<li>$:/sib/Templates/Automatic/StoryRiverFooter</li>
<li>$:/sib/Templates/Automatic/Untitled</li>
<li>$:/sib/Templates/Automatic/ViewTemplateDescription</li>
<li>$:/sib/Templates/Export/SabbaticalUpdateCabCrosspost</li>
<li>$:/sib/Templates/General/IdentityTemplate</li>
<li>$:/sib/Templates/TableColumns/BookRating</li>
<li>$:/sib/Templates/TableColumns/ThanksgivingDate</li>
<li>$:/sib/Templates/Topical/AnkiPattern</li>
<li>$:/sib/Templates/Topical/AnkiPattern/Common</li>
<li>$:/sib/Templates/Topical/AnkiPattern/Edit</li>
<li>$:/sib/Templates/Topical/AnkiPattern/View</li>
<li>$:/sib/Templates/Topical/BibliographyList</li>
<li>$:/sib/Templates/Topical/Build2020SessionDetails</li>
<li>$:/sib/Templates/Topical/MaudWikiImport</li>
<li>$:/sib/Templates/Topical/MinnesotaStateParkInfo</li>
<li>$:/sib/Templates/Topical/PublicHomepageTab</li>
<li>$:/sib/Templates/Topical/ReadingList/LargeTemplate</li>
<li>$:/sib/Templates/Topical/ReadingList/Rating</li>
<li>$:/sib/Templates/Topical/ReadingList/SmallTemplate</li>
<li>$:/sib/Templates/Topical/SabbaticalUpdates/DateNavigation</li>
<li>$:/sib/Templates/Topical/SabbaticalUpdates/ReadOnZettelkasten</li>
<li>$:/sib/Templates/Topical/TitleDescriptionStretch</li>
<li>$:/sib/Templates/Topical/WhoIAmTab</li>
<li>$:/sib/Tools</li>
<li>$:/sib/Tools/FeatureFlags</li>
<li>$:/sib/Tools/LowLinkTiddlers</li>
<li>$:/sib/Tools/MissingPeople</li>
<li>$:/sib/Tools/PaletteBrowser</li>
<li>$:/sib/Tools/ReadingInbox</li>
<li>$:/sib/Tools/RelationshipValueTool</li>
<li>$:/sib/Tools/SmartOrphanList</li>
<li>$:/sib/Tools/SmartOrphanList/Table</li>
<li>$:/sib/Tools/Statistics</li>
<li>$:/sib/Tools/TagReplace</li>
2021-09-22 15:54:06 +00:00
<li>$:/sib/Tools/Tray</li>
2021-09-21 16:32:33 +00:00
<li>$:/sib/Tools/Tray/Template</li>
<li>$:/SiteSubtitle</li>
<li>$:/SiteTitle</li>
<li>$:/status/RequireReloadDueToPluginChange</li>
<li>$:/StoryList</li>
<li>$:/tags/EditTemplate</li>
<li>$:/tags/PageTemplate</li>
<li>$:/tags/ReferenceExplorerTab</li>
<li>$:/tags/SideBar</li>
<li>$:/tags/Stylesheet</li>
<li>$:/tags/ViewTemplate</li>
<li>$:/TagSaver</li>
<li>$:/theme</li>
<li>$:/themes/tiddlywiki/snowwhite</li>
<li>$:/themes/tiddlywiki/vanilla</li>
<li>$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize</li>
<li>$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint</li>
<li>$:/themes/tiddlywiki/vanilla/metrics/sidebarwidth</li>
<li>$:/themes/tiddlywiki/vanilla/metrics/storyright</li>
<li>$:/themes/tiddlywiki/vanilla/metrics/storywidth</li>
<li>$:/themes/tiddlywiki/vanilla/metrics/tiddlerwidth</li>
<li>$:/themes/tiddlywiki/vanilla/options/sidebarlayout</li>
<li>$:/themes/tiddlywiki/vanilla/options/stickytitles</li>
<li>$:/themes/tiddlywiki/vanilla/settings/backgroundimage</li>
<li>$:/themes/tiddlywiki/vanilla/settings/codefontfamily</li>
<li>$:/themes/tiddlywiki/vanilla/settings/editorfontfamily</li>
<li>$:/themes/tiddlywiki/vanilla/settings/fontfamily</li>
<li>$:/themes/tiddlywiki/vanilla/sticky</li>
<li>$:/todolist/data/base/archive</li>
<li>$:/todolist/data/base/done</li>
<li>$:/todolist/data/base/priority</li>
<li>$:/todolist/data/base/state</li>
<li>$:/todolist/data/base/status</li>
<li>$:/todolist/data/base/tasks</li>
<li>Attachment</li>
<li>Bibliography</li>
<li>Class</li>
<li>Conversation</li>
<li>CopyrightNotice</li>
<li>Footnote</li>
<li>Idea</li>
<li>Image</li>
<li>Index</li>
<li>Journal</li>
<li>Meta</li>
<li>NeedsAttention</li>
<li>NeedsExcision</li>
<li>NeedsPhotograph</li>
<li>NeedsRemoval</li>
<li>Notes</li>
<li>OpenQuestion</li>
<li>OurNamingConventions</li>
<li>PAO</li>
<li>Place</li>
<li>PrivateChunk</li>
<li>Public</li>
<li>Publication</li>
<li>PublicHomepage</li>
<li>ReferenceExplorer</li>
<li>Sink</li>
<li>Source</li>
<li>Stub</li>
<li>Subtiddler</li>
<li>TODO</li>
<li>Tool</li>
<li>ZettelkastenCardType</li>
</ul>
</p>
<style>
.tc-remove-when-wiki-loaded {display: none;}
</style>
</div>
</noscript>
<!--~~ Ordinary tiddlers ~~-->
<div id="storeArea" style="display:none;">
<div created="20200118003418275" creator="soren" modified="20200118003419972" modifier="soren" title="$:/config/AnimationDuration" type="text/vnd.tiddlywiki">
<pre>200</pre>
</div>
<div created="20200410133117956" creator="soren" field-direction="to" modified="20200410133133054" modifier="soren" title="$:/config/bimlas/locator/fields/parent" type="text/vnd.tiddlywiki">
<pre>$:/plugins/bimlas/locator/field-templates/text</pre>
</div>
<div created="20200118023853777" creator="soren" modified="20210910160825258" modifier="soren" title="$:/config/codemirror/keyMap" type="string">
<pre>default</pre>
</div>
<div created="20210316232428596" modified="20210329225730283" title="$:/config/codemirror/theme" type="string">
<pre>cmplus</pre>
</div>
<div created="20200118003657706" creator="soren" modified="20200118003658921" modifier="soren" title="$:/config/DefaultSidebarTab" type="text/vnd.tiddlywiki">
<pre>$:/core/ui/SideBar/More</pre>
</div>
<div created="20200226002847048" modified="20200226002849153" title="$:/config/DownloadSaver/AutoSave" type="text/vnd.tiddlywiki">
<pre>no</pre>
</div>
<div created="20200515033855017" modified="20200515033900734" tags="" title="$:/config/EditTabIndex" type="text/vnd.tiddlywiki">
<pre>1</pre>
</div>
<div created="20210606192417191" modified="20210606192216249" title="$:/config/flibbles/relink/fields/bibliography" type="text/vnd.tiddlywiki">
<pre>list</pre>
</div>
<div created="20200517132308563" modified="20200517132308152" title="$:/config/flibbles/relink/fields/description" type="text/vnd.tiddlywiki">
<pre>wikitext</pre>
</div>
<div created="20200517132228253" modified="20200517132227841" title="$:/config/flibbles/relink/fields/memberof" type="text/vnd.tiddlywiki">
<pre>list</pre>
</div>
<div created="20200517132233649" modified="20200517132233649" title="$:/config/flibbles/relink/fields/spouse" type="text/vnd.tiddlywiki">
<pre>title</pre>
</div>
<div created="20210606192156910" modified="20210606192156910" title="$:/config/flibbles/relink/fields/universe" type="text/vnd.tiddlywiki">
<pre>title</pre>
</div>
<div created="20201207185209448" modified="20201207185209448" title="$:/config/flibbles/relink/macros/expando/tiddler" type="text/vnd.tiddlywiki">
<pre>title</pre>
</div>
<div created="20200226225437497" modified="20200301191728127" title="$:/config/Manager/Filter" type="text/vnd.tiddlywiki">
<pre></pre>
</div>
<div created="20200125221910159" modified="20200510003949538" title="$:/config/Manager/Show" type="text/vnd.tiddlywiki">
<pre>tiddlers</pre>
</div>
<div created="20200225231329450" modified="20210102053655395" title="$:/config/Manager/Sort" type="text/vnd.tiddlywiki">
<pre>text</pre>
</div>
<div created="20200225231355813" modified="20200225231357995" title="$:/config/Manager/System" type="text/vnd.tiddlywiki">
<pre>system</pre>
</div>
<div created="20200225231334446" modified="20210102053649967" title="$:/config/Manager/Tag" type="text/vnd.tiddlywiki">
<pre>Source</pre>
</div>
<div created="20200425021836647" modified="20200425022040020" title="$:/config/NewJournal/Title" type="text/vnd.tiddlywiki">
<pre>YYYY-0MM-0DD ddd</pre>
</div>
<div created="20210102053710313" modified="20210102053627345" title="$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/advanced-search" type="text/vnd.tiddlywiki">
<pre>hide</pre>
</div>
<div created="20200913160459794" modified="20200913160708406" title="$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/close-all" type="text/vnd.tiddlywiki">
<pre>hide</pre>
</div>
<div created="20200913160724199" modified="20200913160920405" title="$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/control-panel" type="text/vnd.tiddlywiki">
<pre>show</pre>
</div>
<div created="20200404141720140" creator="soren" modified="20200404141727487" modifier="soren" title="$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/full-screen" type="text/vnd.tiddlywiki">
<pre>hide</pre>
</div>
<div created="20200323004119552" modified="20200913160059735" title="$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/home" type="text/vnd.tiddlywiki">
<pre>hide</pre>
</div>
<div created="20210102053930923" modified="20210202033953029" title="$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/import" type="text/vnd.tiddlywiki">
<pre>hide</pre>
</div>
<div created="20200329180402644" modified="20200425031432070" title="$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/more-page-actions" type="text/vnd.tiddlywiki">
<pre>hide</pre>
</div>
<div created="20200125221848147" modified="20200804182421726" title="$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/new-journal" type="text/vnd.tiddlywiki">
<pre>hide</pre>
</div>
<div created="20200404141647796" creator="soren" modified="20200913160849302" modifier="soren" title="$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/new-tiddler" type="text/vnd.tiddlywiki">
<pre>show</pre>
</div>
<div created="20200329180357772" modified="20200329180359920" title="$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/permaview" type="text/vnd.tiddlywiki">
<pre>hide</pre>
</div>
<div created="20200425031326114" modified="20200425031326136" title="$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/save-wiki" type="text/vnd.tiddlywiki">
<pre>hide</pre>
</div>
<div created="20200425031433809" modified="20200425031433831" title="$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/tag-manager" type="text/vnd.tiddlywiki">
<pre>show</pre>
</div>
<div created="20200404141704643" creator="soren" modified="20210509011208732" modifier="soren" title="$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/timestamp" type="text/vnd.tiddlywiki">
<pre>hide</pre>
</div>
<div created="20200322013805236" creator="soren" modified="20200322013806469" modifier="soren" title="$:/config/PageControlButtons/Visibility/$:/plugins/aaldrich/tables/button" type="text/vnd.tiddlywiki">
<pre>hide</pre>
</div>
<div created="20210525001028932" modified="20210525000833968" title="$:/config/PageControlButtons/Visibility/$:/sib/Buttons/NewSource" type="text/vnd.tiddlywiki">
<pre>show</pre>
</div>
<div created="20210525001112107" modified="20210525001215732" title="$:/config/PageControlButtons/Visibility/$:/sib/Buttons/ReadingInbox" type="text/vnd.tiddlywiki">
<pre>show</pre>
</div>
<div created="20200913160857999" modified="20210307212022651" tags="" title="$:/config/PageControlButtons/Visibility/$:/sib/NewSourceButton" type="text/vnd.tiddlywiki">
<pre>show</pre>
</div>
<div created="20210721001042152" modified="20210811223526328" title="$:/config/Performance/Instrumentation" type="text/vnd.tiddlywiki">
<pre>no</pre>
</div>
<div created="20210205013358090" modified="20210205014133254" title="$:/config/Plugins/Disabled/$:/plugins/bimlas/locator" type="text/vnd.tiddlywiki">
<pre>no</pre>
</div>
<div created="20210205013547783" modified="20210205014248273" title="$:/config/Plugins/Disabled/$:/plugins/flibbles/relink" type="text/vnd.tiddlywiki">
<pre>no</pre>
</div>
<div created="20210205013416214" modified="20210205013728062" title="$:/config/Plugins/Disabled/$:/plugins/frd/simplecalendar" type="text/vnd.tiddlywiki">
<pre>yes</pre>
</div>
<div created="20200710193223440" modified="20200710193424989" title="$:/config/Plugins/Disabled/$:/plugins/kantorsite/mathjax" type="text/vnd.tiddlywiki">
<pre>yes</pre>
</div>
<div created="20210205013308502" modified="20210307161239111" title="$:/config/Plugins/Disabled/$:/plugins/kixam/datepicker" type="text/vnd.tiddlywiki">
<pre>no</pre>
</div>
<div created="20210205013419352" modified="20210307161611835" title="$:/config/Plugins/Disabled/$:/plugins/kixam/moment" type="text/vnd.tiddlywiki">
<pre>no</pre>
</div>
<div created="20210920204145810" creator="soren" modified="20210920204145826" modifier="soren" title="$:/config/Plugins/Disabled/$:/plugins/kookma/refnotes" type="text/vnd.tiddlywiki">
<pre>yes</pre>
</div>
<div created="20210205013330536" modified="20210205013924490" title="$:/config/Plugins/Disabled/$:/plugins/MaxGyver83/tw5-keyboard-navigation" type="text/vnd.tiddlywiki">
<pre>yes</pre>
</div>
<div created="20210205013542897" modified="20210205013915843" title="$:/config/Plugins/Disabled/$:/plugins/sk/FancyQuotes" type="text/vnd.tiddlywiki">
<pre>yes</pre>
</div>
<div created="20210205013622647" modified="20210205013715594" title="$:/config/Plugins/Disabled/$:/plugins/sobjornstad/3click2edit" type="text/vnd.tiddlywiki">
<pre>no</pre>
</div>
<div created="20210205013521277" modified="20210205014302258" title="$:/config/Plugins/Disabled/$:/plugins/telmiger/details" type="text/vnd.tiddlywiki">
<pre>no</pre>
</div>
<div created="20210205013551526" modified="20210205014243897" title="$:/config/Plugins/Disabled/$:/plugins/TheDiveO/FontAwesome" type="text/vnd.tiddlywiki">
<pre>no</pre>
</div>
<div created="20210205013531768" modified="20210329225610285" title="$:/config/Plugins/Disabled/$:/plugins/tiddlywiki/codemirror-autocomplete" type="text/vnd.tiddlywiki">
<pre>yes</pre>
</div>
<div created="20210205013530658" modified="20210205014016671" title="$:/config/Plugins/Disabled/$:/plugins/tiddlywiki/codemirror-closebrackets" type="text/vnd.tiddlywiki">
<pre>no</pre>
</div>
<div created="20210205013534170" modified="20210205013559477" title="$:/config/Plugins/Disabled/$:/plugins/tiddlywiki/codemirror-keymap-vim" type="text/vnd.tiddlywiki">
<pre>no</pre>
</div>
<div created="20210205013607133" modified="20210205013828489" title="$:/config/Plugins/Disabled/$:/plugins/tiddlywiki/codemirror-search-replace" type="text/vnd.tiddlywiki">
<pre>no</pre>
</div>
<div created="20210205013556905" modified="20210205232117777" title="$:/config/Plugins/Disabled/$:/plugins/tiddlywiki/highlight" type="text/vnd.tiddlywiki">
<pre>no</pre>
</div>
<div created="20210205013601533" modified="20210205015443190" title="$:/config/Plugins/Disabled/$:/plugins/tiddlywiki/katex" type="text/vnd.tiddlywiki">
<pre>no</pre>
</div>
<div created="20200508015911051" modified="20200508020040701" title="$:/config/PublicContactInfo" type="application/x-tiddler-dictionary">
<pre>homepage: https://www.sorenbjornstad.com
email: zettelkasten@sorenbjornstad.com
github: https://github.com/sobjornstad/zettelkasten-sib</pre>
</div>
<div created="20200121230518238" modified="20210410005001202" title="$:/config/RelinkOnRename" type="text/vnd.tiddlywiki">
<pre>yes</pre>
</div>
<div created="20210522035122311" modified="20210522034939194" tags="" title="$:/config/ShortcutInfo/excise-private-chunk" type="text/vnd.tiddlywiki">
<pre>Excise the current selection to a new private chunk</pre>
</div>
<div created="20200118025014806" modified="20200118030240382" title="$:/config/shortcuts/cancel-edit-tiddler" type="text/vnd.tiddlywiki">
<pre>ctrl-Escape</pre>
</div>
<div created="20210522035108354" creator="soren" modified="20210920161704326" modifier="soren" tags="" title="$:/config/shortcuts/excise-private-chunk" type="text/vnd.tiddlywiki">
<pre>ctrl-shift-E</pre>
</div>
<div created="20210622002423952" modified="20210622002233531" tags="" title="$:/config/sib/CurrentEditionPublicity" type="text/vnd.tiddlywiki">
<pre>private</pre>
</div>
<div caption="Whether interface elements for personal use only should appear." created="20200508003748651" modified="20210508232303597" tags="Meta" title="$:/config/sib/IsPublicEdition" type="text/vnd.tiddlywiki">
<pre>true</pre>
</div>
<div created="20210627200040615" modified="20210627201201583" tags="" title="$:/config/sib/TopBarHeight" type="text/vnd.tiddlywiki">
<pre>&lt;$list filter=&lt;&lt;ff OpenTopBar&gt;&gt; emptyMessage=&quot;0px&quot;&gt;30px&lt;/$list&gt;</pre>
</div>
<div created="20200528020409590" modified="20200528020441073" title="$:/config/SyncFilter" type="text/vnd.tiddlywiki">
<pre>[is[tiddler]] -[[$:/HistoryList]] -[[$:/Import]] -[[$:/isEncrypted]] -[prefix[$:/status/]] -[prefix[$:/state/]] -[prefix[$:/temp/]] -[[$:/StoryList]]</pre>
</div>
<div created="20200118003704896" creator="soren" modified="20200118003705931" modifier="soren" title="$:/config/TiddlerInfo/Mode" type="text/vnd.tiddlywiki">
<pre>sticky</pre>
</div>
<div created="20210507013444291" modified="20210507013256599" title="$:/config/Tiddlers/TitleLinks" type="text/vnd.tiddlywiki">
<pre>yes</pre>
</div>
<div created="20200516190911842" modified="20210308030709436" tags="" title="$:/config/TiddlyRemember/TagMapping" type="text/vnd.tiddlywiki">
<pre>[[Source::Zettelkasten]]
[has[tr-tags]get[tr-tags]]</pre>
</div>
<div created="20200118025806832" creator="soren" modified="20210721005951761" modifier="soren" title="$:/config/TimestampDisable" type="text/vnd.tiddlywiki">
<pre>no</pre>
</div>
<div created="20200118003731285" creator="soren" modified="20200118003737882" modifier="soren" title="$:/config/Toolbar/ButtonClass" type="text/vnd.tiddlywiki">
<pre>tc-btn-rounded</pre>
</div>
<div created="20200118003741043" creator="soren" modified="20200118003745155" modifier="soren" title="$:/config/Toolbar/Text" type="text/vnd.tiddlywiki">
<pre>no</pre>
</div>
<div created="20200321222632217" creator="soren" modified="20201120173219656" modifier="soren" title="$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/clone" type="text/vnd.tiddlywiki">
<pre>hide</pre>
</div>
<div created="20200913195739332" modified="20200913195744428" title="$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/close-others" type="text/vnd.tiddlywiki">
<pre>hide</pre>
</div>
<div created="20200508024425999" modified="20200508024854302" title="$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/edit" type="text/vnd.tiddlywiki">
<pre>show</pre>
</div>
<div created="20200321222634628" creator="soren" modified="20200321222636791" modifier="soren" title="$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/export-tiddler" type="text/vnd.tiddlywiki">
<pre>hide</pre>
</div>
<div created="20200125183503813" modified="20200125183510102" title="$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/fold-bar" type="text/vnd.tiddlywiki">
<pre>show</pre>
</div>
<div created="20200118034433307" modified="20201120173206280" title="$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/info" type="text/vnd.tiddlywiki">
<pre>hide</pre>
</div>
<div created="20200125183450402" creator="soren" modified="20201120173225978" modifier="soren" title="$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/new-here" type="text/vnd.tiddlywiki">
<pre>hide</pre>
</div>
<div created="20201120173247431" modified="20201120173222291" title="$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/new-journal-here" type="text/vnd.tiddlywiki">
<pre>hide</pre>
</div>
<div created="20200913200724872" modified="20201120173215063" title="$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/permalink" type="text/vnd.tiddlywiki">
<pre>show</pre>
2021-09-21 16:32:33 +00:00
</div>
<div created="20200404141629548" creator="soren" modified="20200404141630712" modifier="soren" title="$:/config/ViewToolbarButtons/Visibility/$:/plugins/bimlas/locator/viewtemplate/open-in-sidebar" type="text/vnd.tiddlywiki">
<pre>hide</pre>
</div>
<div created="20210525001044166" creator="soren" modified="20210922125743198" modifier="soren" title="$:/config/ViewToolbarButtons/Visibility/$:/sib/Buttons/CopyPublicZettelkastenLink" type="text/vnd.tiddlywiki">
<pre>hide</pre>
2021-09-21 16:32:33 +00:00
</div>
<div created="20210525001045047" modified="20210525000850061" title="$:/config/ViewToolbarButtons/Visibility/$:/sib/Buttons/CopyTitleReference" type="text/vnd.tiddlywiki">
<pre>show</pre>
</div>
<div created="20201216045704818" modified="20201216045631478" title="$:/config/ViewToolbarButtons/Visibility/$:/sib/CopyPublicZettelkastenLink" type="text/vnd.tiddlywiki">
<pre>show</pre>
</div>
<div created="20201201192308952" modified="20201201192236971" title="$:/config/ViewToolbarButtons/Visibility/$:/sib/CopyTitleReference" type="text/vnd.tiddlywiki">
<pre>show</pre>
</div>
<div created="20200913200034137" modified="20200913200042061" title="$:/config/ViewToolbarButtons/Visibility/DoCopyTitleReference" type="text/vnd.tiddlywiki">
<pre>show</pre>
</div>
<div created="20201124030001841" modified="20201124030011884" title="$:/config/WikiParserRules/Inline/dash" type="text/vnd.tiddlywiki">
<pre>enable</pre>
</div>
<div created="20210731165327653" modified="20210731173813193" title="$:/config/zettelkasten/Build/KillPhrases" type="text/vnd.tiddlywiki">
<pre></pre>
</div>
2021-09-21 16:32:33 +00:00
<div created="20210523151041802" creator="soren" modified="20210825142618069" modifier="soren" tags="" title="$:/config/zettelkasten/copyright/Content" type="text/vnd.tiddlywiki">
<pre>The ''text of my notes'', that is, most of the content of the wiki, is all-rights-reserved.
You are welcome to read, learn from, and link to all notes (click the hash icon in the upper-right to copy a link to any tiddler; keep in mind that currently public notes could become private in the future, though I try to avoid doing this).
Obvious [[fair use|https://en.wikipedia.org/wiki/Fair_use]] such as quoting a small excerpt with attribution in order to discuss it is also fine.
Please contact me if this doesn't cover something you were hoping to do.</pre>
</div>
<div created="20210523151255793" creator="soren" modified="20210825142934141" modifier="soren" tags="" title="$:/config/zettelkasten/copyright/InitialNotice" type="text/vnd.tiddlywiki">
<pre>Copyright © 2020--&lt;&lt;now YYYY&gt;&gt; Soren Bjornstad.</pre>
</div>
<div created="20210523151209436" creator="soren" modified="20210825144137850" modifier="soren" tags="" title="$:/config/zettelkasten/copyright/MIT" type="text/vnd.tiddlywiki">
<pre>MIT License
Applies to SYSTEM TIDDLERS ONLY, as defined above!
Does NOT apply to the text of notes in this wiki.
{{$:/config/zettelkasten/copyright/InitialNotice}}&lt;br&gt;{{$:/config/zettelkasten/copyright/UserNotice}}
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the &quot;Software&quot;), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.</pre>
</div>
<div created="20210523151106274" creator="soren" modified="20210825144239931" modifier="soren" tags="" title="$:/config/zettelkasten/copyright/System" type="text/vnd.tiddlywiki">
<pre>All ''system tiddlers'' in the wiki specific to Soren's Zettelkasten Edition, that is, the parts that extend TiddlyWiki and handle the display of tiddlers, e.g., the ReferenceExplorer, are available under the MIT license (see below). The names of system tiddlers begin with `$:/`.
Be aware that many system tiddlers are contributed by TiddlyWiki itself or by other plugins, which are usually licensed under the MIT or BSD license or a similar open-source license. If you're using a system tiddler which is found under `$:/sib/`, you can be sure it is included in this license grant; otherwise, you may need to check whether it's a [[shadow tiddler|https://groktiddlywiki.com/read/#Shadow%20Tiddlers]] or modified shadow tiddler that might have a different license.
Visit the ''Explorer'' section of the ''Explore'' sidebar tab to find system tiddlers.
&lt;pre&gt;{{$:/config/zettelkasten/copyright/MIT}}&lt;/pre&gt;</pre>
</div>
<div created="20210825143221469" creator="soren" modified="20210825144152783" modifier="soren" title="$:/config/zettelkasten/copyright/UserNotice" type="text/vnd.tiddlywiki">
<pre></pre>
</div>
<div caption="Clock" created="20210627030648862" description="Show the current time and a Pomodoro timer in the upper-right corner of the wiki." modified="20210825145427187" private="no" public="no" tags="" title="$:/config/zettelkasten/FeatureFlags/Clock" type="text/vnd.tiddlywiki">
<pre></pre>
</div>
<div caption="Copyright footer" created="20210902152332169" creator="soren" description="Display a copyright and attribution notice underneath the story river." modified="20210902152446023" modifier="soren" private="no" public="yes" tags="" title="$:/config/zettelkasten/FeatureFlags/CopyrightFooter" type="text/vnd.tiddlywiki">
<pre></pre>
</div>
<div caption="Editor public line" created="20210622003532452" description="Show the &quot;publish this tiddler&quot; checkbox when editing a tiddler." modified="20210825145437728" private="yes" public="no" tags="" title="$:/config/zettelkasten/FeatureFlags/EditorPublicLine" type="text/vnd.tiddlywiki">
<pre></pre>
</div>
<div caption="Epistemic status" created="20210920193247824" creator="soren" description="Show the [[epistemic status|EpistemicStatus]] of the current tiddler on ideas." modified="20210920193354215" modifier="soren" private="yes" public="yes" tags="" title="$:/config/zettelkasten/FeatureFlags/EpistemicStatus" type="text/vnd.tiddlywiki">
<pre></pre>
</div>
<div caption="GIS tools" created="20210910153740764" creator="soren" description="Use the Google Maps embed API to show satellite location and directions on Place tiddlers. Requires setting up an embed API in Google Cloud Platform (when you turn this feature on, an error will appear on your place tiddlers explaining how to do so)." modified="20210910153929369" modifier="soren" private="no" public="no" tags="" title="$:/config/zettelkasten/FeatureFlags/GisTools" type="text/vnd.tiddlywiki">
<pre></pre>
</div>
<div caption="Media rating" created="20210920193222752" creator="soren" description="Show the [[rating|MediaRating]] of the current tiddler on sources." modified="20210920193357318" modifier="soren" private="yes" public="yes" tags="" title="$:/config/zettelkasten/FeatureFlags/MediaRating" type="text/vnd.tiddlywiki">
<pre></pre>
</div>
<div caption="Open top bar" created="20210626233606201" description="Show the list of open tiddlers in a horizontal bar at the top of the screen" modified="20210825145444520" private="yes" public="no" tags="" title="$:/config/zettelkasten/FeatureFlags/OpenTopBar" type="text/vnd.tiddlywiki">
<pre></pre>
</div>
<div caption="Sidebar info links" created="20210623014408947" creator="soren" description="Show navigation links to the most important parts of the wiki underneath the subtitle." modified="20210825145449987" modifier="soren" private="no" public="no" tags="" title="$:/config/zettelkasten/FeatureFlags/SidebarInfoLinks" type="text/vnd.tiddlywiki">
<pre></pre>
</div>
<div caption="Spoiler banner" created="20210622003118415" creator="soren" description="Display a warning banner on fiction tiddlers (any tiddler with a non-empty `universe` field) noting that we don't try to hide spoilers." modified="20210909130158483" modifier="soren" private="no" public="no" tags="" title="$:/config/zettelkasten/FeatureFlags/SpoilerBanner" type="text/vnd.tiddlywiki">
<pre></pre>
</div>
<div caption="Viewer public line" created="20210622003316816" description="Show the &quot;publish this tiddler&quot; checkbox when viewing a tiddler." modified="20210825145501899" private="yes" public="no" tags="" title="$:/config/zettelkasten/FeatureFlags/ViewerPublicLine" type="text/vnd.tiddlywiki">
<pre></pre>
</div>
<div created="20210825150640449" creator="soren" modified="20210920161523682" modifier="soren" tags="" title="$:/config/zettelkasten/GettingStartedWizardCurr" type="text/vnd.tiddlywiki">
<pre>$:/sib/GettingStarted/Warning</pre>
</div>
<div created="20201129173535848" creator="soren" modified="20210910154319208" modifier="soren" tags="" title="$:/config/zettelkasten/gis/GMapsApiKey" type="text/plain">
<pre></pre>
</div>
<div created="20210731163927911" modified="20210731163711887" private="yes" title="$:/config/zettelkasten/SideBar/Visibility/$:/core/ui/SideBar/More" type="text/vnd.tiddlywiki">
<pre></pre>
</div>
<div created="20210731163926154" modified="20210731164114943" private="yes" public="yes" title="$:/config/zettelkasten/SideBar/Visibility/$:/core/ui/SideBar/Open" type="text/vnd.tiddlywiki">
<pre></pre>
</div>
<div created="20210731163905536" modified="20210731163711418" private="yes" title="$:/config/zettelkasten/SideBar/Visibility/$:/core/ui/SideBar/Recent" type="text/vnd.tiddlywiki">
<pre></pre>
</div>
<div created="20210731163927055" modified="20210731164112742" private="yes" title="$:/config/zettelkasten/SideBar/Visibility/$:/core/ui/SideBar/Tools" type="text/vnd.tiddlywiki">
<pre></pre>
</div>
<div created="20210731163930355" modified="20210731193804848" private="no" public="yes" title="$:/config/zettelkasten/SideBar/Visibility/$:/sib/SideBar/Explore" type="text/vnd.tiddlywiki">
<pre></pre>
</div>
<div created="20210731163929481" modified="20210731163713454" private="yes" title="$:/config/zettelkasten/SideBar/Visibility/$:/sib/SideBar/Write" type="text/vnd.tiddlywiki">
<pre></pre>
</div>
<div created="20210910163319096" creator="soren" modified="20210910163319296" modifier="soren" tags="" title="$:/config/zettelkasten/SplashScreenMessage" type="text/vnd.tiddlywiki">
<pre>Loading {{$:/SiteTitle}}...</pre>
</div>
<div author="JeremyRuston" core-version="&gt;=5.0.0" dependents="" description="TiddlyWiki5 core" list="readme" name="Core" plugin-priority="0" plugin-type="plugin" title="$:/core" type="application/json" version="5.1.23">
<pre>{
&quot;tiddlers&quot;: {
&quot;$:/Acknowledgements&quot;: {
&quot;title&quot;: &quot;$:/Acknowledgements&quot;,
&quot;text&quot;: &quot;TiddlyWiki incorporates code from these fine OpenSource projects:\n\n* [[The Stanford Javascript Crypto Library|http://bitwiseshiftleft.github.io/sjcl/]]\n* [[The Jasmine JavaScript Test Framework|http://pivotal.github.io/jasmine/]]\n* [[Normalize.css by Nicolas Gallagher|http://necolas.github.io/normalize.css/]]\n\nAnd media from these projects:\n\n* World flag icons from [[Wikipedia|http://commons.wikimedia.org/wiki/Category:SVG_flags_by_country]]\n&quot;
},
&quot;$:/core/copyright.txt&quot;: {
&quot;title&quot;: &quot;$:/core/copyright.txt&quot;,
&quot;type&quot;: &quot;text/plain&quot;,
&quot;text&quot;: &quot;TiddlyWiki created by Jeremy Ruston, (jeremy [at] jermolene [dot] com)\n\nCopyright (c) 2004-2007, Jeremy Ruston\nCopyright (c) 2007-2020, UnaMesa Association\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\n list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and/or other materials provided with the distribution.\n\n* Neither the name of the copyright holder nor the names of its\n contributors may be used to endorse or promote products derived from\n this software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.&quot;
},
&quot;$:/core/icon&quot;: {
&quot;title&quot;: &quot;$:/core/icon&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path d=\&quot;M64 0l54.56 32v64L64 128 9.44 96V32L64 0zm21.127 95.408c-3.578-.103-5.15-.094-6.974-3.152l-1.42.042c-1.653-.075-.964-.04-2.067-.097-1.844-.07-1.548-1.86-1.873-2.8-.52-3.202.687-6.43.65-9.632-.014-1.14-1.593-5.17-2.157-6.61-1.768.34-3.546.406-5.34.497-4.134-.01-8.24-.527-12.317-1.183-.8 3.35-3.16 8.036-1.21 11.44 2.37 3.52 4.03 4.495 6.61 4.707 2.572.212 3.16 3.18 2.53 4.242-.55.73-1.52.864-2.346 1.04l-1.65.08c-1.296-.046-2.455-.404-3.61-.955-1.93-1.097-3.925-3.383-5.406-5.024.345.658.55 1.938.24 2.53-.878 1.27-4.665 1.26-6.4.47-1.97-.89-6.73-7.162-7.468-11.86 1.96-3.78 4.812-7.07 6.255-11.186-3.146-2.05-4.83-5.384-4.61-9.16l.08-.44c-3.097.59-1.49.37-4.82.628-10.608-.032-19.935-7.37-14.68-18.774.34-.673.664-1.287 1.243-.994.466.237.4 1.18.166 2.227-3.005 13.627 11.67 13.732 20.69 11.21.89-.25 2.67-1.936 3.905-2.495 2.016-.91 4.205-1.282 6.376-1.55 5.4-.63 11.893 2.276 15.19 2.37 3.3.096 7.99-.805 10.87-.615 2.09.098 4.143.483 6.16 1.03 1.306-6.49 1.4-11.27 4.492-12.38 1.814.293 3.213 2.818 4.25 4.167 2.112-.086 4.12.46 6.115 1.066 3.61-.522 6.642-2.593 9.833-4.203-3.234 2.69-3.673 7.075-3.303 11.127.138 2.103-.444 4.386-1.164 6.54-1.348 3.507-3.95 7.204-6.97 7.014-1.14-.036-1.805-.695-2.653-1.4-.164 1.427-.81 2.7-1.434 3.96-1.44 2.797-5.203 4.03-8.687 7.016-3.484 2.985 1.114 13.65 2.23 15.594 1.114 1.94 4.226 2.652 3.02 4.406-.37.58-.936.785-1.54 1.01l-.82.11zm-40.097-8.85l.553.14c.694-.27 2.09.15 2.83.353-1.363-1.31-3.417-3.24-4.897-4.46-.485-1.47-.278-2.96-.174-4.46l.02-.123c-.582 1.205-1.322 2.376-1.72 3.645-.465 1.71 2.07 3.557 3.052 4.615l.336.3z\&quot; fill-rule=\&quot;evenodd\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/add-comment&quot;: {
&quot;title&quot;: &quot;$:/core/images/add-comment&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-add-comment tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M56 56H36a8 8 0 100 16h20v20a8 8 0 1016 0V72h20a8 8 0 100-16H72V36a8 8 0 10-16 0v20zm-12.595 58.362c-6.683 7.659-20.297 12.903-36.006 12.903-2.196 0-4.35-.102-6.451-.3 9.652-3.836 17.356-12.24 21.01-22.874C8.516 94.28 0 79.734 0 63.5 0 33.953 28.206 10 63 10s63 23.953 63 53.5S97.794 117 63 117c-6.841 0-13.428-.926-19.595-2.638z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/advanced-search-button&quot;: {
&quot;title&quot;: &quot;$:/core/images/advanced-search-button&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-advanced-search-button tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;g fill-rule=\&quot;evenodd\&quot;&gt;&lt;path d=\&quot;M74.565 87.985A47.776 47.776 0 0148 96C21.49 96 0 74.51 0 48S21.49 0 48 0s48 21.49 48 48c0 9.854-2.97 19.015-8.062 26.636l34.347 34.347a9.443 9.443 0 010 13.36 9.446 9.446 0 01-13.36 0l-34.36-34.358zM48 80c17.673 0 32-14.327 32-32 0-17.673-14.327-32-32-32-17.673 0-32 14.327-32 32 0 17.673 14.327 32 32 32z\&quot;/&gt;&lt;circle cx=\&quot;48\&quot; cy=\&quot;48\&quot; r=\&quot;8\&quot;/&gt;&lt;circle cx=\&quot;28\&quot; cy=\&quot;48\&quot; r=\&quot;8\&quot;/&gt;&lt;circle cx=\&quot;68\&quot; cy=\&quot;48\&quot; r=\&quot;8\&quot;/&gt;&lt;/g&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/auto-height&quot;: {
&quot;title&quot;: &quot;$:/core/images/auto-height&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-auto-height tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path d=\&quot;M67.987 114.356l-.029-14.477a4 4 0 00-2.067-3.494l-15.966-8.813-1.933 7.502H79.9c4.222 0 5.564-5.693 1.786-7.58L49.797 71.572 48.01 79.15h31.982c4.217 0 5.564-5.682 1.795-7.575L49.805 55.517l-1.795 7.575h31.982c4.212 0 5.563-5.67 1.805-7.57l-16.034-8.105 2.195 3.57V35.614l9.214 9.213a4 4 0 105.656-5.656l-16-16a4 4 0 00-5.656 0l-16 16a4 4 0 105.656 5.656l9.13-9.13v15.288a4 4 0 002.195 3.57l16.035 8.106 1.804-7.57H48.01c-4.217 0-5.564 5.682-1.795 7.574l31.982 16.059 1.795-7.575H48.01c-4.222 0-5.564 5.693-1.787 7.579l31.89 15.923 1.787-7.578H47.992c-4.133 0-5.552 5.504-1.933 7.501l15.966 8.813-2.067-3.494.029 14.436-9.159-9.158a4 4 0 00-5.656 5.656l16 16a4 4 0 005.656 0l16-16a4 4 0 10-5.656-5.656l-9.185 9.184zM16 20h96a4 4 0 100-8H16a4 4 0 100 8z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/blank&quot;: {
&quot;title&quot;: &quot;$:/core/images/blank&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-blank tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;/&gt;&quot;
},
&quot;$:/core/images/bold&quot;: {
&quot;title&quot;: &quot;$:/core/images/bold&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-bold tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M41.146 51.81V21.87h26.353c2.51 0 4.93.21 7.26.628 2.33.418 4.392 1.165 6.185 2.24 1.793 1.076 3.227 2.57 4.302 4.482 1.076 1.913 1.614 4.363 1.614 7.35 0 5.379-1.613 9.263-4.84 11.653-3.227 2.39-7.35 3.586-12.37 3.586H41.146zM13 0v128h62.028a65.45 65.45 0 0016.762-2.151c5.438-1.434 10.278-3.645 14.52-6.633 4.244-2.988 7.62-6.842 10.13-11.563 2.51-4.721 3.764-10.308 3.764-16.762 0-8.008-1.942-14.85-5.826-20.527-3.884-5.677-9.77-9.65-17.658-11.921 5.737-2.75 10.069-6.275 12.997-10.577 2.928-4.303 4.392-9.681 4.392-16.135 0-5.976-.986-10.995-2.958-15.059-1.972-4.063-4.75-7.32-8.336-9.77-3.585-2.45-7.888-4.213-12.907-5.289C84.888.538 79.33 0 73.235 0H13zm28.146 106.129V70.992H71.8c6.095 0 10.995 1.404 14.7 4.212 3.705 2.81 5.558 7.5 5.558 14.073 0 3.347-.568 6.096-1.703 8.247-1.136 2.151-2.66 3.854-4.572 5.11-1.912 1.254-4.123 2.15-6.633 2.688-2.51.538-5.139.807-7.888.807H41.146z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/cancel-button&quot;: {
&quot;title&quot;: &quot;$:/core/images/cancel-button&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-cancel-button tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M64 76.314l-16.97 16.97a7.999 7.999 0 01-11.314 0c-3.118-3.118-3.124-8.19 0-11.313L52.686 65l-16.97-16.97a7.999 7.999 0 010-11.314c3.118-3.118 8.19-3.124 11.313 0L64 53.686l16.97-16.97a7.999 7.999 0 0111.314 0c3.118 3.118 3.124 8.19 0 11.313L75.314 65l16.97 16.97a7.999 7.999 0 010 11.314c-3.118 3.118-8.19 3.124-11.313 0L64 76.314zM64 129c35.346 0 64-28.654 64-64 0-35.346-28.654-64-64-64C28.654 1 0 29.654 0 65c0 35.346 28.654 64 64 64zm0-16c26.51 0 48-21.49 48-48S90.51 17 64 17 16 38.49 16 65s21.49 48 48 48z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/chevron-down&quot;: {
&quot;title&quot;: &quot;$:/core/images/chevron-down&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-chevron-down tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;g fill-rule=\&quot;evenodd\&quot;&gt;&lt;path d=\&quot;M64.053 85.456a7.889 7.889 0 01-5.6-2.316L2.473 27.16a7.92 7.92 0 010-11.196c3.086-3.085 8.105-3.092 11.196 0L64.05 66.344l50.382-50.382a7.92 7.92 0 0111.195 0c3.085 3.086 3.092 8.105 0 11.196l-55.98 55.98a7.892 7.892 0 01-5.595 2.317z\&quot;/&gt;&lt;path d=\&quot;M64.053 124.069a7.889 7.889 0 01-5.6-2.316l-55.98-55.98a7.92 7.92 0 010-11.196c3.086-3.085 8.105-3.092 11.196 0l50.382 50.382 50.382-50.382a7.92 7.92 0 0111.195 0c3.085 3.086 3.092 8.104 0 11.196l-55.98 55.98a7.892 7.892 0 01-5.595 2.316z\&quot;/&gt;&lt;/g&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/chevron-left&quot;: {
&quot;title&quot;: &quot;$:/core/images/chevron-left&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-chevron-left tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;g fill-rule=\&quot;evenodd\&quot;&gt;&lt;path d=\&quot;M47.544 64.053c0-2.027.77-4.054 2.316-5.6l55.98-55.98a7.92 7.92 0 0111.196 0c3.085 3.086 3.092 8.105 0 11.196L66.656 64.05l50.382 50.382a7.92 7.92 0 010 11.195c-3.086 3.085-8.105 3.092-11.196 0l-55.98-55.98a7.892 7.892 0 01-2.317-5.595z\&quot;/&gt;&lt;path d=\&quot;M8.931 64.053c0-2.027.77-4.054 2.316-5.6l55.98-55.98a7.92 7.92 0 0111.196 0c3.085 3.086 3.092 8.105 0 11.196L28.041 64.05l50.382 50.382a7.92 7.92 0 010 11.195c-3.086 3.085-8.104 3.092-11.196 0l-55.98-55.98a7.892 7.892 0 01-2.316-5.595z\&quot;/&gt;&lt;/g&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/chevron-right&quot;: {
&quot;title&quot;: &quot;$:/core/images/chevron-right&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-chevron-right tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;g fill-rule=\&quot;evenodd\&quot;&gt;&lt;path d=\&quot;M83.456 63.947c0 2.027-.77 4.054-2.316 5.6l-55.98 55.98a7.92 7.92 0 01-11.196 0c-3.085-3.086-3.092-8.105 0-11.196L64.344 63.95 13.963 13.567a7.92 7.92 0 010-11.195c3.086-3.085 8.105-3.092 11.196 0l55.98 55.98a7.892 7.892 0 012.317 5.595z\&quot;/&gt;&lt;path d=\&quot;M122.069 63.947c0 2.027-.77 4.054-2.316 5.6l-55.98 55.98a7.92 7.92 0 01-11.196 0c-3.085-3.086-3.092-8.105 0-11.196l50.382-50.382-50.382-50.382a7.92 7.92 0 010-11.195c3.086-3.085 8.104-3.092 11.196 0l55.98 55.98a7.892 7.892 0 012.316 5.595z\&quot;/&gt;&lt;/g&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/chevron-up&quot;: {
&quot;title&quot;: &quot;$:/core/images/chevron-up&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-chevron-up tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;g fill-rule=\&quot;evenodd\&quot;&gt;&lt;path d=\&quot;M63.947 44.544c2.027 0 4.054.77 5.6 2.316l55.98 55.98a7.92 7.92 0 010 11.196c-3.086 3.085-8.105 3.092-11.196 0L63.95 63.656l-50.382 50.382a7.92 7.92 0 01-11.195 0c-3.085-3.086-3.092-8.105 0-11.196l55.98-55.98a7.892 7.892 0 015.595-2.317z\&quot;/&gt;&lt;path d=\&quot;M63.947 5.931c2.027 0 4.054.77 5.6 2.316l55.98 55.98a7.92 7.92 0 010 11.196c-3.086 3.085-8.105 3.092-11.196 0L63.95 25.041 13.567 75.423a7.92 7.92 0 01-11.195 0c-3.085-3.086-3.092-8.104 0-11.196l55.98-55.98a7.892 7.892 0 015.595-2.316z\&quot;/&gt;&lt;/g&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/clone-button&quot;: {
&quot;title&quot;: &quot;$:/core/images/clone-button&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-clone-button tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;g fill-rule=\&quot;evenodd\&quot;&gt;&lt;path d=\&quot;M32.265 96v24.002A7.996 7.996 0 0040.263 128h79.74a7.996 7.996 0 007.997-7.998v-79.74a7.996 7.996 0 00-7.998-7.997H96V48h12.859a2.99 2.99 0 012.994 2.994v57.865a2.99 2.99 0 01-2.994 2.994H50.994A2.99 2.99 0 0148 108.859V96H32.265z\&quot;/&gt;&lt;path d=\&quot;M40 56h-7.993C27.588 56 24 52.418 24 48c0-4.41 3.585-8 8.007-8H40v-7.993C40 27.588 43.582 24 48 24c4.41 0 8 3.585 8 8.007V40h7.993C68.412 40 72 43.582 72 48c0 4.41-3.585 8-8.007 8H56v7.993C56 68.412 52.418 72 48 72c-4.41 0-8-3.585-8-8.007V56zM8 0C3.58 0 0 3.588 0 8v80c0 4.419 3.588 8 8 8h80c4.419 0 8-3.588 8-8V8c0-4.419-3.588-8-8-8H8zM19 16A2.997 2.997 0 0016 19.001v57.998A2.997 2.997 0 0019.001 80h57.998A2.997 2.997 0 0080 76.999V19.001A2.997 2.997 0 0076.999 16H19.001z\&quot;/&gt;&lt;/g&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/close-all-button&quot;: {
&quot;title&quot;: &quot;$:/core/images/close-all-button&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-close-all-button tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;g fill-rule=\&quot;evenodd\&quot;&gt;&lt;path d=\&quot;M28 111.314l-14.144 14.143a8 8 0 01-11.313-11.313L16.686 100 2.543 85.856a8 8 0 0111.313-11.313L28 88.686l14.144-14.143a8 8 0 0111.313 11.313L39.314 100l14.143 14.144a8 8 0 01-11.313 11.313L28 111.314zM28 39.314L13.856 53.457A8 8 0 012.543 42.144L16.686 28 2.543 13.856A8 8 0 0113.856 2.543L28 16.686 42.144 2.543a8 8 0 0111.313 11.313L39.314 28l14.143 14.144a8 8 0 01-11.313 11.313L28 39.314zM100 39.314L85.856 53.457a8 8 0 01-11.313-11.313L88.686 28 74.543 13.856A8 8 0 0185.856 2.543L100 16.686l14.144-14.143a8 8 0 0111.313 11.313L111.314 28l14.143 14.144a8 8 0 01-11.313 11.313L100 39.314zM100 111.314l-14.144 14.143a8 8 0 01-11.313-11.313L88.686 100 74.543 85.856a8 8 0 0111.313-11.313L100 88.686l14.144-14.143a8 8 0 0111.313 11.313L111.314 100l14.143 14.144a8 8 0 01-11.313 11.313L100 111.314z\&quot;/&gt;&lt;/g&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/close-button&quot;: {
&quot;title&quot;: &quot;$:/core/images/close-button&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-close-button tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M65.086 75.41l-50.113 50.113c-3.121 3.121-8.192 3.126-11.316.002-3.118-3.118-3.123-8.19.002-11.316l50.114-50.114L3.659 13.982C.538 10.86.533 5.79 3.657 2.666c3.118-3.118 8.19-3.123 11.316.002l50.113 50.114L115.2 2.668c3.121-3.121 8.192-3.126 11.316-.002 3.118 3.118 3.123 8.19-.002 11.316L76.4 64.095l50.114 50.114c3.121 3.121 3.126 8.192.002 11.316-3.118 3.118-8.19 3.123-11.316-.002L65.086 75.409z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/close-others-button&quot;: {
&quot;title&quot;: &quot;$:/core/images/close-others-button&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-close-others-button tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M64 128c35.346 0 64-28.654 64-64 0-35.346-28.654-64-64-64C28.654 0 0 28.654 0 64c0 35.346 28.654 64 64 64zm0-16c26.51 0 48-21.49 48-48S90.51 16 64 16 16 37.49 16 64s21.49 48 48 48zm0-16c17.673 0 32-14.327 32-32 0-17.673-14.327-32-32-32-17.673 0-32 14.327-32 32 0 17.673 14.327 32 32 32zm0-16c8.837 0 16-7.163 16-16s-7.163-16-16-16-16 7.163-16 16 7.163 16 16 16z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/copy-clipboard&quot;: {
&quot;title&quot;: &quot;$:/core/images/copy-clipboard&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-copy-clipboard tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;g fill-rule=\&quot;evenodd\&quot;&gt;&lt;rect width=\&quot;33\&quot; height=\&quot;8\&quot; x=\&quot;40\&quot; y=\&quot;40\&quot; rx=\&quot;4\&quot;/&gt;&lt;rect width=\&quot;17\&quot; height=\&quot;8\&quot; x=\&quot;40\&quot; y=\&quot;82\&quot; rx=\&quot;4\&quot;/&gt;&lt;rect width=\&quot;17\&quot; height=\&quot;8\&quot; x=\&quot;40\&quot; y=\&quot;54\&quot; rx=\&quot;4\&quot;/&gt;&lt;rect width=\&quot;33\&quot; height=\&quot;8\&quot; x=\&quot;40\&quot; y=\&quot;96\&quot; rx=\&quot;4\&quot;/&gt;&lt;rect width=\&quot;12\&quot; height=\&quot;8\&quot; x=\&quot;40\&quot; y=\&quot;68\&quot; rx=\&quot;4\&quot;/&gt;&lt;path d=\&quot;M40 16H24c-4.419 0-8 3.59-8 8a8.031 8.031 0 000 .01v95.98a8.03 8.03 0 000 .01c0 4.41 3.581 8 8 8h80a7.975 7.975 0 005.652-2.34 7.958 7.958 0 002.348-5.652v-16.016c0-4.414-3.582-7.992-8-7.992-4.41 0-8 3.578-8 7.992V112H32V32h64v8.008C96 44.422 99.582 48 104 48c4.41 0 8-3.578 8-7.992V23.992a7.963 7.963 0 00-2.343-5.651A7.995 7.995 0 00104.001 16H88c0-4.41-3.585-8-8.007-8H48.007C43.588 8 40 11.582 40 16zm4-1.004A4.001 4.001 0 0148 11h32c2.21 0 4 1.797 4 3.996v4.008A4.001 4.001 0 0180 23H48c-2.21 0-4-1.797-4-3.996v-4.008z\&quot;/&gt;&lt;rect width=\&quot;66\&quot; height=\&quot;16\&quot; x=\&quot;62\&quot; y=\&quot;64\&quot; rx=\&quot;8\&quot;/&gt;&lt;path d=\&quot;M84.657 82.343l-16-16v11.314l16-16a8 8 0 10-11.314-11.314l-16 16a8 8 0 000 11.314l16 16a8 8 0 1011.314-11.314z\&quot;/&gt;&lt;/g&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/delete-button&quot;: {
&quot;title&quot;: &quot;$:/core/images/delete-button&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-delete-button tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;g fill-rule=\&quot;evenodd\&quot; transform=\&quot;translate(12)\&quot;&gt;&lt;rect width=\&quot;105\&quot; height=\&quot;16\&quot; y=\&quot;11\&quot; rx=\&quot;8\&quot;/&gt;&lt;rect width=\&quot;48\&quot; height=\&quot;16\&quot; x=\&quot;28\&quot; rx=\&quot;8\&quot;/&gt;&lt;rect width=\&quot;16\&quot; height=\&quot;112\&quot; x=\&quot;8\&quot; y=\&quot;16\&quot; rx=\&quot;8\&quot;/&gt;&lt;rect width=\&quot;88\&quot; height=\&quot;16\&quot; x=\&quot;8\&quot; y=\&quot;112\&quot; rx=\&quot;8\&quot;/&gt;&lt;rect width=\&quot;16\&quot; height=\&quot;112\&quot; x=\&quot;80\&quot; y=\&quot;16\&quot; rx=\&quot;8\&quot;/&gt;&lt;rect width=\&quot;16\&quot; height=\&quot;112\&quot; x=\&quot;56\&quot; y=\&quot;16\&quot; rx=\&quot;8\&quot;/&gt;&lt;rect width=\&quot;16\&quot; height=\&quot;112\&quot; x=\&quot;32\&quot; y=\&quot;16\&quot; rx=\&quot;8\&quot;/&gt;&lt;/g&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/done-button&quot;: {
&quot;title&quot;: &quot;$:/core/images/done-button&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-done-button tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M42.26 111.032c-2.051.001-4.103-.78-5.668-2.345L2.662 74.758a8 8 0 01-.005-11.32c3.118-3.117 8.192-3.12 11.32.007l28.278 28.278 72.124-72.124a8.002 8.002 0 0111.314-.001c3.118 3.118 3.124 8.19 0 11.315l-77.78 77.78a7.978 7.978 0 01-5.658 2.343z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/down-arrow&quot;: {
&quot;title&quot;: &quot;$:/core/images/down-arrow&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-down-arrow tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path d=\&quot;M64.177 100.069a7.889 7.889 0 01-5.6-2.316l-55.98-55.98a7.92 7.92 0 010-11.196c3.086-3.085 8.105-3.092 11.196 0l50.382 50.382 50.382-50.382a7.92 7.92 0 0111.195 0c3.086 3.086 3.092 8.104 0 11.196l-55.98 55.98a7.892 7.892 0 01-5.595 2.316z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/download-button&quot;: {
&quot;title&quot;: &quot;$:/core/images/download-button&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-download-button tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;g fill-rule=\&quot;evenodd\&quot;&gt;&lt;path d=\&quot;M64 128c35.346 0 64-28.654 64-64 0-35.346-28.654-64-64-64C28.654 0 0 28.654 0 64c0 35.346 28.654 64 64 64zm0-16c26.51 0 48-21.49 48-48S90.51 16 64 16 16 37.49 16 64s21.49 48 48 48z\&quot; class=\&quot;tc-image-download-button-ring\&quot;/&gt;&lt;path d=\&quot;M34.35 66.43l26.892 27.205a4.57 4.57 0 006.516 0L94.65 66.43a4.7 4.7 0 000-6.593 4.581 4.581 0 00-3.258-1.365h-8.46c-2.545 0-4.608-2.087-4.608-4.661v-15.15c0-2.575-2.063-4.662-4.608-4.662H55.284c-2.545 0-4.608 2.087-4.608 4.662v15.15c0 2.574-2.063 4.661-4.608 4.661h-8.46c-2.545 0-4.608 2.087-4.608 4.662a4.69 4.69 0 001.35 3.296z\&quot;/&gt;&lt;/g&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/edit-button&quot;: {
&quot;title&quot;: &quot;$:/core/images/edit-button&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-edit-button tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;g fill-rule=\&quot;evenodd\&quot;&gt;&lt;path d=\&quot;M95.627 10.059l-5.656 5.657 11.313 11.313 5.657-5.656-11.314-11.314zm5.657-5.657l1.966-1.966c3.123-3.122 8.194-3.129 11.319-.005 3.117 3.118 3.122 8.192-.005 11.32l-1.966 1.965-11.314-11.314zm-16.97 16.97l-60.25 60.25a8.12 8.12 0 00-.322.342c-.1.087-.198.179-.295.275-5.735 5.735-10.702 22.016-10.702 22.016s16.405-5.09 22.016-10.702c.095-.096.186-.193.272-.292a8.12 8.12 0 00.345-.325l60.25-60.25-11.314-11.313zM35.171 124.19c6.788-.577 13.898-2.272 23.689-5.348 1.825-.573 3.57-1.136 6.336-2.04 16-5.226 21.877-6.807 28.745-7.146 8.358-.413 13.854 2.13 17.58 8.699a4 4 0 006.959-3.946c-5.334-9.406-13.745-13.296-24.933-12.744-7.875.39-14.057 2.052-30.835 7.533-2.739.894-4.46 1.45-6.25 2.012-19.46 6.112-30.77 7.072-39.597 1.747a4 4 0 10-4.132 6.85c6.333 3.82 13.754 5.12 22.438 4.383z\&quot;/&gt;&lt;/g&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/erase&quot;: {
&quot;title&quot;: &quot;$:/core/images/erase&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-erase tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M60.087 127.996l63.015-63.015c6.535-6.535 6.528-17.115-.003-23.646L99.466 17.702c-6.539-6.538-17.117-6.532-23.646-.003L4.898 88.62c-6.535 6.534-6.528 17.115.003 23.646l15.73 15.73h39.456zm-34.95-7.313l-14.324-14.325c-3.267-3.268-3.268-8.564-.008-11.824L46.269 59.07l35.462 35.462-26.15 26.15H25.137z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/excise&quot;: {
&quot;title&quot;: &quot;$:/core/images/excise&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-excise tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M56 107.314l-2.343 2.343a8 8 0 11-11.314-11.314l16-16a8 8 0 0111.314 0l16 16a8 8 0 11-11.314 11.314L72 107.314v14.284c0 3.536-3.582 6.402-8 6.402s-8-2.866-8-6.402v-14.284zM0 40.007C0 35.585 3.59 32 8 32c4.418 0 8 3.588 8 8.007v31.986C16 76.415 12.41 80 8 80c-4.418 0-8-3.588-8-8.007V40.007zm32 0C32 35.585 35.59 32 40 32c4.418 0 8 3.588 8 8.007v31.986C48 76.415 44.41 80 40 80c-4.418 0-8-3.588-8-8.007V40.007zm48 0C80 35.585 83.59 32 88 32c4.418 0 8 3.588 8 8.007v31.986C96 76.415 92.41 80 88 80c-4.418 0-8-3.588-8-8.007V40.007zm-24-32C56 3.585 59.59 0 64 0c4.418 0 8 3.588 8 8.007v31.986C72 44.415 68.41 48 64 48c-4.418 0-8-3.588-8-8.007V8.007zm56 32c0-4.422 3.59-8.007 8-8.007 4.418 0 8 3.588 8 8.007v31.986c0 4.422-3.59 8.007-8 8.007-4.418 0-8-3.588-8-8.007V40.007z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/export-button&quot;: {
&quot;title&quot;: &quot;$:/core/images/export-button&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-export-button tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M8.003 128H119.993a7.984 7.984 0 005.664-2.349v.007A7.975 7.975 0 00128 120V56c0-4.418-3.59-8-8-8-4.418 0-8 3.58-8 8v56H16V56c0-4.418-3.59-8-8-8-4.418 0-8 3.58-8 8v64c0 4.418 3.59 8 8 8h.003zm48.62-100.689l-8.965 8.966c-3.125 3.125-8.195 3.13-11.319.005-3.118-3.118-3.122-8.192.005-11.319L58.962 2.346A7.986 7.986 0 0164.625 0l-.006.002c2.05-.001 4.102.78 5.666 2.344l22.618 22.617c3.124 3.125 3.129 8.195.005 11.319-3.118 3.118-8.192 3.122-11.319-.005l-8.965-8.966v61.256c0 4.411-3.582 8-8 8-4.41 0-8-3.582-8-8V27.311z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/file&quot;: {
&quot;title&quot;: &quot;$:/core/images/file&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-file tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path d=\&quot;M111.968 30.5H112V120a8 8 0 01-8 8H24a8 8 0 01-8-8V8a8 8 0 018-8h57v.02a7.978 7.978 0 015.998 2.337l22.627 22.627a7.975 7.975 0 012.343 5.516zM81 8H24v112h80V30.5H89c-4.418 0-8-3.578-8-8V8z\&quot;/&gt;&lt;rect width=\&quot;64\&quot; height=\&quot;8\&quot; x=\&quot;32\&quot; y=\&quot;36\&quot; rx=\&quot;4\&quot;/&gt;&lt;rect width=\&quot;64\&quot; height=\&quot;8\&quot; x=\&quot;32\&quot; y=\&quot;52\&quot; rx=\&quot;4\&quot;/&gt;&lt;rect width=\&quot;64\&quot; height=\&quot;8\&quot; x=\&quot;32\&quot; y=\&quot;68\&quot; rx=\&quot;4\&quot;/&gt;&lt;rect width=\&quot;64\&quot; height=\&quot;8\&quot; x=\&quot;32\&quot; y=\&quot;84\&quot; rx=\&quot;4\&quot;/&gt;&lt;rect width=\&quot;64\&quot; height=\&quot;8\&quot; x=\&quot;32\&quot; y=\&quot;100\&quot; rx=\&quot;4\&quot;/&gt;&lt;rect width=\&quot;40\&quot; height=\&quot;8\&quot; x=\&quot;32\&quot; y=\&quot;20\&quot; rx=\&quot;4\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/fixed-height&quot;: {
&quot;title&quot;: &quot;$:/core/images/fixed-height&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-fixed-height tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M60 35.657l-9.172 9.171a4 4 0 11-5.656-5.656l16-16a4 4 0 015.656 0l16 16a4 4 0 01-5.656 5.656L68 35.657v57.686l9.172-9.171a4 4 0 115.656 5.656l-16 16a4 4 0 01-5.656 0l-16-16a4 4 0 115.656-5.656L60 93.343V35.657zM16 116h96a4 4 0 100-8H16a4 4 0 100 8zm0-96h96a4 4 0 100-8H16a4 4 0 100 8z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/fold-all-button&quot;: {
&quot;title&quot;: &quot;$:/core/images/fold-all-button&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-fold-all tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;g fill-rule=\&quot;evenodd\&quot;&gt;&lt;rect width=\&quot;128\&quot; height=\&quot;16\&quot; rx=\&quot;8\&quot;/&gt;&lt;rect width=\&quot;128\&quot; height=\&quot;16\&quot; y=\&quot;64\&quot; rx=\&quot;8\&quot;/&gt;&lt;path d=\&quot;M64.03 20.004c-2.05 0-4.102.78-5.667 2.344L35.746 44.966c-3.125 3.124-3.13 8.194-.005 11.318 3.118 3.118 8.192 3.122 11.319-.005l16.965-16.965 16.966 16.965c3.124 3.125 8.194 3.13 11.318.005 3.118-3.118 3.122-8.191-.005-11.318L69.687 22.348a7.986 7.986 0 00-5.663-2.346zM64.03 85.002c-2.05-.001-4.102.78-5.667 2.344l-22.617 22.617c-3.125 3.125-3.13 8.195-.005 11.319 3.118 3.118 8.192 3.122 11.319-.005l16.965-16.966 16.966 16.966c3.124 3.125 8.194 3.13 11.318.005 3.118-3.118 3.122-8.192-.005-11.319L69.687 87.346A7.986 7.986 0 0064.024 85z\&quot;/&gt;&lt;/g&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/fold-button&quot;: {
&quot;title&quot;: &quot;$:/core/images/fold-button&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-fold tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;g fill-rule=\&quot;evenodd\&quot;&gt;&lt;rect width=\&quot;128\&quot; height=\&quot;16\&quot; rx=\&quot;8\&quot;/&gt;&lt;path d=\&quot;M64.03 25.004c-2.05 0-4.102.78-5.667 2.344L35.746 49.966c-3.125 3.124-3.13 8.194-.005 11.318 3.118 3.118 8.192 3.122 11.319-.005l16.965-16.965 16.966 16.965c3.124 3.125 8.194 3.13 11.318.005 3.118-3.118 3.122-8.191-.005-11.318L69.687 27.348a7.986 7.986 0 00-5.663-2.346zM64.005 67.379c-2.05 0-4.102.78-5.666 2.344L35.722 92.34c-3.125 3.125-3.13 8.195-.006 11.32 3.118 3.117 8.192 3.121 11.32-.006L64 86.69l16.965 16.965c3.125 3.125 8.195 3.13 11.319.005 3.118-3.118 3.122-8.192-.005-11.319L69.663 69.723A7.986 7.986 0 0064 67.377z\&quot;/&gt;&lt;/g&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/fold-others-button&quot;: {
&quot;title&quot;: &quot;$:/core/images/fold-others-button&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-fold-others tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;g fill-rule=\&quot;evenodd\&quot;&gt;&lt;rect width=\&quot;128\&quot; height=\&quot;16\&quot; y=\&quot;56.031\&quot; rx=\&quot;8\&quot;/&gt;&lt;path d=\&quot;M86.632 79.976c-2.05 0-4.102.78-5.666 2.345L64 99.286 47.034 82.321a7.986 7.986 0 00-5.662-2.346l.005.001c-2.05 0-4.102.78-5.666 2.345l-22.618 22.617c-3.124 3.125-3.129 8.195-.005 11.319 3.118 3.118 8.192 3.122 11.319-.005l16.966-16.966 16.965 16.966a7.986 7.986 0 005.663 2.346l-.005-.002c2.05 0 4.102-.78 5.666-2.344l16.965-16.966 16.966 16.966c3.125 3.124 8.194 3.129 11.319.005 3.118-3.118 3.122-8.192-.005-11.319L92.289 82.321a7.986 7.986 0 00-5.663-2.346zM86.7 48.024c-2.05 0-4.102-.78-5.666-2.345L64.07 28.714 47.103 45.679a7.986 7.986 0 01-5.663 2.346l.005-.001c-2.05 0-4.101-.78-5.666-2.345L13.162 23.062c-3.125-3.125-3.13-8.195-.005-11.319 3.118-3.118 8.192-3.122 11.319.005L41.44 28.714l16.966-16.966a7.986 7.986 0 015.662-2.346l-.005.002c2.05 0 4.102.78 5.666 2.344l16.966 16.966 16.966-16.966c3.124-3.124 8.194-3.129 11.318-.005 3.118 3.118 3.122 8.192-.005 11.319L92.358 45.679a7.986 7.986 0 01-5.663 2.346z\&quot;/&gt;&lt;/g&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/folder&quot;: {
&quot;title&quot;: &quot;$:/core/images/folder&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-folder tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;g fill-rule=\&quot;evenodd\&quot;&gt;&lt;path d=\&quot;M55.694 128H8C3.58 128 0 124.414 0 119.996V48.004C0 43.584 3.584 40 7.999 40H16v-8c0-4.418 3.578-8 8-8h32a8 8 0 018 8v8h40.001c4.418 0 7.999 3.586 7.999 8.004V59.83l-8-.082v-7.749A4 4 0 0099.997 48H56V36c0-2.21-1.793-4-4.004-4H28.004A4 4 0 0024 36v12H12.003A4 4 0 008 52v64a4 4 0 004.003 4h46.76l-3.069 8z\&quot;/&gt;&lt;path d=\&quot;M23.873 55.5h96.003c4.417 0 7.004 4.053 5.774 9.063l-13.344 54.374c-1.228 5.005-5.808 9.063-10.223 9.063H6.08c-4.417 0-7.003-4.053-5.774-9.063L13.65 64.563c1.228-5.005 5.808-9.063 10.223-9.063zm1.78 8.5h87.994c2.211 0 3.504 2.093 2.891 4.666l-11.12 46.668c-.614 2.577-2.902 4.666-5.115 4.666H12.31c-2.211 0-3.504-2.093-2.891-4.666l11.12-46.668C21.152 66.09 23.44 64 25.653 64z\&quot;/&gt;&lt;/g&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/full-screen-button&quot;: {
&quot;title&quot;: &quot;$:/core/images/full-screen-button&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-full-screen-button tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path d=\&quot;M0 8a8 8 0 018-8h32a8 8 0 110 16H16v24a8 8 0 11-16 0V8zM128 120a8 8 0 01-8 8H88a8 8 0 110-16h24V88a8 8 0 1116 0v32zM8 128a8 8 0 01-8-8V88a8 8 0 1116 0v24h24a8 8 0 110 16H8zM120 0a8 8 0 018 8v32a8 8 0 11-16 0V16H88a8 8 0 110-16h32z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/github&quot;: {
&quot;title&quot;: &quot;$:/core/images/github&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-github tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M63.938 1.607c-35.336 0-63.994 28.69-63.994 64.084 0 28.312 18.336 52.329 43.768 60.802 3.202.59 4.37-1.388 4.37-3.088 0-1.518-.056-5.55-.087-10.897-17.802 3.871-21.558-8.591-21.558-8.591-2.911-7.404-7.108-9.375-7.108-9.375-5.81-3.973.44-3.895.44-3.895 6.424.453 9.803 6.606 9.803 6.606 5.709 9.791 14.981 6.963 18.627 5.322.582-4.138 2.236-6.963 4.063-8.564-14.211-1.617-29.153-7.117-29.153-31.672 0-6.995 2.495-12.718 6.589-17.195-.66-1.621-2.856-8.14.629-16.96 0 0 5.37-1.722 17.597 6.57 5.104-1.424 10.58-2.132 16.022-2.16 5.438.028 10.91.736 16.022 2.16 12.22-8.292 17.582-6.57 17.582-6.57 3.493 8.82 1.297 15.339.64 16.96 4.102 4.477 6.578 10.2 6.578 17.195 0 24.618-14.966 30.035-29.22 31.62 2.295 1.98 4.342 5.89 4.342 11.87 0 8.564-.079 15.476-.079 17.576 0 1.715 1.155 3.71 4.4 3.084 25.413-8.493 43.733-32.494 43.733-60.798 0-35.394-28.657-64.084-64.006-64.084\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/gitter&quot;: {
&quot;title&quot;: &quot;$:/core/images/gitter&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-gitter tc-image-button\&quot; viewBox=\&quot;0 0 18 25\&quot;&gt;&lt;path d=\&quot;M15 5h2v10h-2zM10 5h2v20h-2zM5 5h2v20H5zM0 0h2v15H0z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/globe&quot;: {
&quot;title&quot;: &quot;$:/core/images/globe&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-globe tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;g fill-rule=\&quot;evenodd\&quot;&gt;&lt;path d=\&quot;M72.811 37.128v2.554c0 2.196.978 6.881 0 8.832-1.466 2.928-4.65 3.54-6.394 5.867-1.182 1.577-4.618 10.601-3.69 12.92 3.969 9.922 11.534 3.187 17.962 9.293.864.821 2.887 2.273 3.296 3.296 3.29 8.223-7.576 15.009 3.757 26.3 1.245 1.24 3.813-3.817 4.079-4.614.852-2.563 6.725-5.45 9.088-7.053 2.02-1.37 4.873-2.667 6.328-4.745 2.27-3.244 1.48-7.514 3.098-10.745 2.139-4.274 3.828-9.635 5.998-13.966 3.898-7.781 4.721 2.093 5.067 2.439.358.357 1.011 0 1.517 0 .094 0 1.447.099 1.516 0 .65-.935-1.043-17.92-1.318-19.297-1.404-7.01-6.944-15.781-11.865-20.5-6.274-6.015-7.09-16.197-18.259-14.954-.204.022-5.084 10.148-7.777 13.512-3.728 4.657-2.47-4.153-6.526-4.153-.081 0-1.183-.103-1.253 0-.586.88-1.44 3.896-2.306 4.417-.265.16-1.722-.239-1.846 0-2.243 4.3 8.256 2.212 5.792 7.952-2.352 5.481-6.328-1.997-6.328 8.56M44.467 7.01c9.685 6.13.682 12.198 2.694 16.215 1.655 3.303 4.241 5.395 1.714 9.814-2.063 3.608-6.87 3.966-9.623 6.723-3.04 3.044-5.464 8.94-6.79 12.911-1.617 4.843 14.547 6.866 12.063 11.008-1.386 2.311-6.746 1.466-8.437.198-1.165-.873-3.593-.546-4.417-1.78-2.613-3.915-2.26-8.023-3.625-12.128-.938-2.822-6.313-2.12-7.844-.593-.523.522-.33 1.792-.33 2.505 0 5.285 7.12 3.316 7.12 6.46 0 14.636 3.927 6.534 11.14 11.336 10.036 6.683 7.844 7.303 14.946 14.404 3.673 3.673 7.741 3.686 9.425 9.294 1.602 5.331-9.327 5.339-11.716 7.448-1.123.991-2.813 4.146-4.219 4.615-1.792.598-3.234.496-4.944 1.78-2.427 1.82-3.9 4.932-4.02 4.81-2.148-2.147-3.52-15.479-3.89-18.257-.588-4.42-5.59-5.54-6.986-9.03-1.57-3.927 1.524-9.52-1.129-13.761-6.52-10.424-11.821-14.5-15.35-26.292-.942-3.148 3.342-6.529 4.877-8.833 1.877-2.816 2.662-5.854 4.746-8.635C22.147 24.19 40.855 9.461 43.857 8.635l.61-1.625z\&quot;/&gt;&lt;path d=\&quot;M64 126c34.242 0 62-27.758 62-62 0-34.242-27.758-62-62-62C29.758 2 2 29.758 2 64c0 34.242 27.758 62 62 62zm0-6c30.928 0 56-25.072 56-56S94.928 8 64 8 8 33.072 8 64s25.072 56 56 56z\&quot;/&gt;&lt;/g&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/heading-1&quot;: {
&quot;title&quot;: &quot;$:/core/images/heading-1&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-heading-1 tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M14 30h13.25v30.104H61.7V30h13.25v75.684H61.7V71.552H27.25v34.132H14V30zm70.335 13.78c2.544 0 5.017-.212 7.42-.636 2.403-.424 4.576-1.13 6.52-2.12 1.942-.99 3.603-2.261 4.981-3.816 1.378-1.555 2.28-3.463 2.703-5.724h9.858v74.2h-13.25V53.32H84.335v-9.54z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/heading-2&quot;: {
&quot;title&quot;: &quot;$:/core/images/heading-2&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-heading-2 tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M6 30h13.25v30.104H53.7V30h13.25v75.684H53.7V71.552H19.25v34.132H6V30zm119.52 75.684H74.85c.07-6.148 1.555-11.519 4.452-16.112 2.897-4.593 6.855-8.586 11.872-11.978a133.725 133.725 0 017.526-5.141 59.6 59.6 0 007.208-5.353c2.19-1.908 3.993-3.975 5.406-6.201 1.413-2.226 2.155-4.788 2.226-7.685 0-1.343-.159-2.774-.477-4.293a11.357 11.357 0 00-1.855-4.24c-.919-1.307-2.19-2.403-3.816-3.286-1.625-.883-3.745-1.325-6.36-1.325-2.403 0-4.399.477-5.989 1.431-1.59.954-2.862 2.261-3.816 3.922-.954 1.66-1.66 3.622-2.12 5.883-.46 2.261-.724 4.7-.795 7.314H76.23c0-4.099.548-7.897 1.643-11.395 1.095-3.498 2.738-6.519 4.93-9.063 2.19-2.544 4.857-4.54 8.002-5.989C93.95 30.724 97.606 30 101.775 30c4.523 0 8.303.742 11.342 2.226 3.039 1.484 5.494 3.357 7.367 5.618 1.873 2.261 3.198 4.717 3.975 7.367.777 2.65 1.166 5.176 1.166 7.579 0 2.968-.46 5.653-1.378 8.056a25.942 25.942 0 01-3.71 6.625 37.5 37.5 0 01-5.3 5.565 79.468 79.468 0 01-6.148 4.77 165.627 165.627 0 01-6.36 4.24 94.28 94.28 0 00-5.883 4.028c-1.802 1.343-3.374 2.738-4.717 4.187-1.343 1.449-2.261 2.986-2.756 4.611h36.146v10.812z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/heading-3&quot;: {
&quot;title&quot;: &quot;$:/core/images/heading-3&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-heading-3 tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M6 30h13.25v30.104H53.7V30h13.25v75.684H53.7V71.552H19.25v34.132H6V30zm88.885 32.224c1.979.07 3.957-.07 5.936-.424 1.979-.353 3.745-.972 5.3-1.855a10.365 10.365 0 003.763-3.657c.954-1.555 1.431-3.463 1.431-5.724 0-3.18-1.078-5.724-3.233-7.632-2.155-1.908-4.929-2.862-8.32-2.862-2.12 0-3.958.424-5.513 1.272a11.318 11.318 0 00-3.869 3.445c-1.025 1.449-1.784 3.074-2.279 4.876a18.335 18.335 0 00-.636 5.565H75.381c.141-3.604.813-6.943 2.014-10.017 1.201-3.074 2.844-5.742 4.93-8.003 2.084-2.261 4.61-4.028 7.578-5.3C92.871 30.636 96.228 30 99.973 30a29.2 29.2 0 018.533 1.272c2.791.848 5.3 2.085 7.526 3.71s4.01 3.692 5.353 6.201c1.343 2.509 2.014 5.388 2.014 8.639 0 3.745-.848 7.014-2.544 9.805-1.696 2.791-4.346 4.823-7.95 6.095v.212c4.24.848 7.544 2.95 9.911 6.307s3.551 7.438 3.551 12.243c0 3.533-.707 6.696-2.12 9.487a21.538 21.538 0 01-5.724 7.102c-2.403 1.943-5.194 3.445-8.374 4.505-3.18 1.06-6.537 1.59-10.07 1.59-4.31 0-8.074-.618-11.289-1.855s-5.9-2.986-8.056-5.247c-2.155-2.261-3.798-4.982-4.929-8.162-1.13-3.18-1.731-6.713-1.802-10.6h12.084c-.141 4.523.972 8.286 3.34 11.289 2.366 3.003 5.917 4.505 10.652 4.505 4.028 0 7.402-1.148 10.123-3.445 2.72-2.297 4.081-5.565 4.081-9.805 0-2.897-.565-5.194-1.696-6.89a10.97 10.97 0 00-4.452-3.869c-1.837-.883-3.904-1.431-6.2-1.643a58.067 58.067 0 00-7.05-.212v-9.01z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/heading-4&quot;: {
&quot;title&quot;: &quot;$:/core/images/heading-4&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-heading-4 tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M8 30h13.25v30.104H55.7V30h13.25v75.684H55.7V71.552H21.25v34.132H8V30zm76.59 48.548h22.471V45.9h-.212L84.59 78.548zm43.46 9.54h-9.54v17.596H107.06V88.088h-31.8V76.11l31.8-44.626h11.448v47.064h9.54v9.54z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/heading-5&quot;: {
&quot;title&quot;: &quot;$:/core/images/heading-5&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-heading-5 tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M6 30h13.25v30.104H53.7V30h13.25v75.684H53.7V71.552H19.25v34.132H6V30zm77.755 1.484h38.372v10.812H92.765L88.95 61.164l.212.212c1.625-1.837 3.692-3.233 6.201-4.187 2.509-.954 5-1.431 7.473-1.431 3.675 0 6.96.618 9.858 1.855 2.897 1.237 5.335 2.968 7.314 5.194s3.48 4.858 4.505 7.897c1.025 3.039 1.537 6.325 1.537 9.858 0 2.968-.477 6.024-1.43 9.169a25.161 25.161 0 01-4.559 8.586c-2.085 2.58-4.752 4.7-8.003 6.36-3.25 1.66-7.137 2.491-11.66 2.491-3.604 0-6.943-.477-10.017-1.431-3.074-.954-5.777-2.385-8.109-4.293-2.332-1.908-4.187-4.258-5.565-7.049-1.378-2.791-2.138-6.06-2.279-9.805h12.084c.353 4.028 1.731 7.12 4.134 9.275 2.403 2.155 5.583 3.233 9.54 3.233 2.544 0 4.7-.424 6.466-1.272 1.767-.848 3.198-2.014 4.293-3.498 1.095-1.484 1.873-3.215 2.332-5.194.46-1.979.69-4.099.69-6.36 0-2.05-.284-4.01-.849-5.883-.565-1.873-1.413-3.516-2.544-4.929-1.13-1.413-2.597-2.544-4.399-3.392-1.802-.848-3.904-1.272-6.307-1.272-2.544 0-4.929.477-7.155 1.431-2.226.954-3.834 2.738-4.823 5.353H75.805l7.95-40.598z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/heading-6&quot;: {
&quot;title&quot;: &quot;$:/core/images/heading-6&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-heading-6 tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M6 30h13.25v30.104H53.7V30h13.25v75.684H53.7V71.552H19.25v34.132H6V30zm106.587 20.246c-.283-3.039-1.36-5.494-3.233-7.367-1.873-1.873-4.399-2.809-7.579-2.809-2.19 0-4.08.406-5.67 1.219a12.435 12.435 0 00-4.029 3.233c-1.095 1.343-1.979 2.88-2.65 4.611a37.696 37.696 0 00-1.643 5.459 46.08 46.08 0 00-.9 5.671 722.213 722.213 0 00-.478 5.247l.212.212c1.625-2.968 3.87-5.176 6.731-6.625 2.862-1.449 5.954-2.173 9.275-2.173 3.675 0 6.96.636 9.858 1.908 2.897 1.272 5.353 3.021 7.367 5.247 2.014 2.226 3.551 4.858 4.611 7.897 1.06 3.039 1.59 6.325 1.59 9.858 0 3.604-.583 6.943-1.749 10.017-1.166 3.074-2.844 5.76-5.035 8.056-2.19 2.297-4.805 4.081-7.844 5.353-3.039 1.272-6.395 1.908-10.07 1.908-5.441 0-9.91-1.007-13.409-3.021-3.498-2.014-6.254-4.77-8.268-8.268-2.014-3.498-3.41-7.597-4.187-12.296-.777-4.7-1.166-9.77-1.166-15.211 0-4.452.477-8.94 1.431-13.462.954-4.523 2.526-8.639 4.717-12.349 2.19-3.71 5.07-6.731 8.64-9.063C92.676 31.166 97.075 30 102.304 30c2.968 0 5.76.495 8.374 1.484 2.615.99 4.93 2.367 6.943 4.134 2.014 1.767 3.657 3.887 4.93 6.36 1.271 2.473 1.978 5.23 2.12 8.268h-12.085zm-11.66 46.852c2.19 0 4.099-.442 5.724-1.325a12.869 12.869 0 004.081-3.445c1.095-1.413 1.908-3.056 2.438-4.929.53-1.873.795-3.798.795-5.777s-.265-3.887-.795-5.724c-.53-1.837-1.343-3.445-2.438-4.823-1.095-1.378-2.456-2.491-4.08-3.339-1.626-.848-3.534-1.272-5.725-1.272-2.19 0-4.116.406-5.777 1.219-1.66.813-3.056 1.908-4.187 3.286-1.13 1.378-1.979 2.986-2.544 4.823-.565 1.837-.848 3.78-.848 5.83 0 2.05.283 3.993.848 5.83.565 1.837 1.413 3.48 2.544 4.929a12.39 12.39 0 004.187 3.445c1.66.848 3.586 1.272 5.777 1.272z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/help&quot;: {
&quot;title&quot;: &quot;$:/core/images/help&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-help tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M36.055 111.441c-5.24 4.396-15.168 7.362-26.555 7.362-1.635 0-3.24-.06-4.806-.179 7.919-2.64 14.062-8.6 16.367-16.014C8.747 92.845 1.05 78.936 1.05 63.5c0-29.547 28.206-53.5 63-53.5s63 23.953 63 53.5-28.206 53.5-63 53.5c-10.055 0-19.56-2-27.994-5.559zm35.35-33.843a536.471 536.471 0 00.018-4.682 199.02 199.02 0 00-.023-3.042c.008-1.357.595-2.087 3.727-4.235.112-.077 1.085-.74 1.386-.948 3.093-2.133 5.022-3.786 6.762-6.187 2.34-3.228 3.558-7.077 3.558-11.649 0-13.292-9.86-21.952-21.455-21.952-11.103 0-22.499 9.609-24.066 22.295a6.023 6.023 0 1011.956 1.477c.806-6.527 6.972-11.726 12.11-11.726 5.265 0 9.408 3.64 9.408 9.906 0 3.634-1.1 5.153-5.111 7.919l-1.362.93c-2.682 1.84-4.227 3.1-5.7 4.931-2.109 2.62-3.242 5.717-3.258 9.314.013.892.02 1.86.022 2.981a470.766 470.766 0 01-.022 4.943 6.023 6.023 0 1012.046.12l.003-.395zm-6.027 24.499a7.529 7.529 0 100-15.058 7.529 7.529 0 000 15.058z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/home-button&quot;: {
&quot;title&quot;: &quot;$:/core/images/home-button&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-home-button tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M112.985 119.502c.01-.165.015-.331.015-.499V67.568c3.137 2.948 8.076 2.884 11.134-.174a7.999 7.999 0 00-.002-11.316L70.396 2.343A7.978 7.978 0 0064.734 0a7.957 7.957 0 00-5.656 2.343L33 28.42V8.007C33 3.585 29.41 0 25 0c-4.418 0-8 3.59-8 8.007V44.42L5.342 56.078c-3.125 3.125-3.12 8.198-.002 11.316a7.999 7.999 0 0011.316-.003l.344-.343v52.945a8.11 8.11 0 000 .007c0 4.418 3.588 8 8 8h80c4.419 0 8-3.59 8-8a8.11 8.11 0 00-.015-.498zM97 112V51.574L64.737 19.31 33 51.048V112h64z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/import-button&quot;: {
&quot;title&quot;: &quot;$:/core/images/import-button&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-import-button tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M114.832 60.436s3.235-3.27 6.921.417c3.686 3.686.231 7.14.231 7.14l-42.153 42.92s-30.765 32.367-58.798 4.333C-7 87.213 24.59 55.623 24.59 55.623L67.363 12.85s22.725-24.6 43.587-3.738c20.862 20.862-3.96 43.09-3.96 43.09l-35.04 35.04S49.903 112.546 36.426 99.07c-13.476-13.477 11.83-35.523 11.83-35.523l35.04-35.04s3.902-3.902 7.78-.023c3.879 3.878.118 7.921.118 7.921l-35.04 35.04s-13.212 13.212-8.872 17.551c4.34 4.34 16.77-9.653 16.77-9.653l35.04-35.04s16.668-14.598 3.966-27.3c-13.893-13.892-27.565 3.702-27.565 3.702l-42.91 42.91s-23.698 23.698-3.658 43.738 43.012-4.385 43.012-4.385l42.895-42.533z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/info-button&quot;: {
&quot;title&quot;: &quot;$:/core/images/info-button&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-info-button tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;g fill-rule=\&quot;evenodd\&quot; transform=\&quot;translate(.05)\&quot;&gt;&lt;path d=\&quot;M64 128c35.346 0 64-28.654 64-64 0-35.346-28.654-64-64-64C28.654 0 0 28.654 0 64c0 35.346 28.654 64 64 64zm0-16c26.51 0 48-21.49 48-48S90.51 16 64 16 16 37.49 16 64s21.49 48 48 48z\&quot;/&gt;&lt;circle cx=\&quot;64\&quot; cy=\&quot;32\&quot; r=\&quot;8\&quot;/&gt;&lt;rect width=\&quot;16\&quot; height=\&quot;56\&quot; x=\&quot;56\&quot; y=\&quot;48\&quot; rx=\&quot;8\&quot;/&gt;&lt;/g&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/italic&quot;: {
&quot;title&quot;: &quot;$:/core/images/italic&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-italic tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M66.711 0h22.41L62.408 128H40z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/left-arrow&quot;: {
&quot;title&quot;: &quot;$:/core/images/left-arrow&quot;,
&quot;created&quot;: &quot;20150315234410875&quot;,
&quot;modified&quot;: &quot;20150315235324760&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-left-arrow tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path d=\&quot;M0 64.177c0-2.026.771-4.054 2.317-5.6l55.98-55.98a7.92 7.92 0 0111.195.001c3.086 3.085 3.092 8.104.001 11.195L19.111 64.175l50.382 50.382a7.92 7.92 0 010 11.195c-3.086 3.086-8.105 3.092-11.196.001l-55.98-55.98A7.892 7.892 0 010 64.177z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/line-width&quot;: {
&quot;title&quot;: &quot;$:/core/images/line-width&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-line-width tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M16 18h96a2 2 0 000-4H16a2 2 0 100 4zm0 17h96a4 4 0 100-8H16a4 4 0 100 8zm0 21h96a6 6 0 000-12H16a6 6 0 100 12zm0 29h96c5.523 0 10-4.477 10-10s-4.477-10-10-10H16c-5.523 0-10 4.477-10 10s4.477 10 10 10zm0 43h96c8.837 0 16-7.163 16-16s-7.163-16-16-16H16c-8.837 0-16 7.163-16 16s7.163 16 16 16z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/link&quot;: {
&quot;title&quot;: &quot;$:/core/images/link&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-link tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;g fill-rule=\&quot;evenodd\&quot;&gt;&lt;path d=\&quot;M42.263 69.38a31.919 31.919 0 006.841 10.13c12.5 12.5 32.758 12.496 45.255 0l22.627-22.628c12.502-12.501 12.497-32.758 0-45.255-12.5-12.5-32.758-12.496-45.254 0L49.104 34.255a32.333 32.333 0 00-2.666 3.019 36.156 36.156 0 0121.94.334l14.663-14.663c6.25-6.25 16.382-6.254 22.632-.004 6.248 6.249 6.254 16.373-.004 22.631l-22.62 22.62c-6.25 6.25-16.381 6.254-22.631.004a15.93 15.93 0 01-4.428-8.433 11.948 11.948 0 00-7.59 3.48l-6.137 6.137z\&quot;/&gt;&lt;path d=\&quot;M86.35 59.234a31.919 31.919 0 00-6.84-10.13c-12.5-12.5-32.758-12.497-45.255 0L11.627 71.732c-12.501 12.5-12.496 32.758 0 45.254 12.5 12.5 32.758 12.497 45.255 0L79.51 94.36a32.333 32.333 0 002.665-3.02 36.156 36.156 0 01-21.94-.333l-14.663 14.663c-6.25 6.25-16.381 6.253-22.63.004-6.25-6.249-6.255-16.374.003-22.632l22.62-22.62c6.25-6.25 16.381-6.253 22.631-.003a15.93 15.93 0 014.428 8.432 11.948 11.948 0 007.59-3.48l6.137-6.136z\&quot;/&gt;&lt;/g&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/linkify&quot;: {
&quot;title&quot;: &quot;$:/core/images/linkify&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-linkify-button tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M17.031 31.919H9.048V96.85h7.983v6.92H0V25h17.031v6.919zm24.66 0h-7.983V96.85h7.983v6.92H24.66V25h17.03v6.919zM67.77 56.422l11.975-3.903 2.306 7.096-12.063 3.903 7.628 10.379-6.12 4.435-7.63-10.467-7.45 10.2-5.943-4.523L58.1 63.518 45.95 59.35l2.306-7.096 12.064 4.17V43.825h7.45v12.596zM86.31 96.85h7.982V31.92H86.31V25h17.031v78.77H86.31v-6.92zm24.659 0h7.983V31.92h-7.983V25H128v78.77h-17.031v-6.92z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/list-bullet&quot;: {
&quot;title&quot;: &quot;$:/core/images/list-bullet&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-list-bullet tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M11.636 40.273c6.427 0 11.637-5.21 11.637-11.637C23.273 22.21 18.063 17 11.636 17 5.21 17 0 22.21 0 28.636c0 6.427 5.21 11.637 11.636 11.637zm0 34.909c6.427 0 11.637-5.21 11.637-11.637 0-6.426-5.21-11.636-11.637-11.636C5.21 51.91 0 57.12 0 63.545c0 6.427 5.21 11.637 11.636 11.637zm0 34.909c6.427 0 11.637-5.21 11.637-11.636 0-6.427-5.21-11.637-11.637-11.637C5.21 86.818 0 92.028 0 98.455c0 6.426 5.21 11.636 11.636 11.636zM34.91 22.818H128v11.637H34.91V22.818zm0 34.91H128v11.636H34.91V57.727zm0 34.908H128v11.637H34.91V92.636z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/list-number&quot;: {
&quot;title&quot;: &quot;$:/core/images/list-number&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-list-number tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M33.84 22.356H128v11.77H33.84v-11.77zm0 35.31H128v11.77H33.84v-11.77zm0 35.311H128v11.77H33.84v-11.77zM.38 42.631v-2.223h.998c.826 0 1.445-.14 1.858-.42.413-.28.619-.948.619-2.002V22.769c0-1.442-.193-2.336-.58-2.683-.385-.347-1.477-.52-3.275-.52v-2.143c3.502-.147 6.252-.955 8.25-2.423h2.117v22.865c0 .921.15 1.575.449 1.963.3.387.949.58 1.948.58h.998v2.223H.38zm-.3 35.356v-1.902c7.19-6.554 10.786-12.58 10.786-18.08 0-1.562-.326-2.81-.979-3.744-.652-.934-1.524-1.402-2.616-1.402-.893 0-1.655.317-2.287.952-.633.634-.95 1.364-.95 2.192 0 .974.247 1.829.74 2.563.106.16.16.28.16.36 0 .147-.16.28-.48.4-.213.08-.752.308-1.618.681-.839.374-1.358.561-1.558.561-.24 0-.512-.37-.819-1.111A6.2 6.2 0 010 57.064c0-1.949.849-3.544 2.547-4.785 1.698-1.242 3.798-1.862 6.302-1.862 2.463 0 4.53.67 6.202 2.012 1.67 1.341 2.506 3.093 2.506 5.256a8.644 8.644 0 01-.849 3.724c-.566 1.201-1.92 3.053-4.064 5.556a165.471 165.471 0 01-6.272 6.938h11.445l-1.019 5.726h-2.117c.08-.28.12-.534.12-.76 0-.388-.1-.631-.3-.731-.2-.1-.599-.15-1.198-.15H.08zm12.124 19.207c1.745.04 3.236.637 4.474 1.792 1.239 1.154 1.858 2.773 1.858 4.855 0 2.99-1.132 5.393-3.396 7.208-2.263 1.815-5 2.723-8.209 2.723-2.01 0-3.669-.384-4.974-1.151C.652 111.853 0 110.849 0 109.607c0-.774.27-1.398.809-1.872.54-.474 1.128-.71 1.768-.71.639 0 1.162.2 1.568.6.406.4.782 1.055 1.128 1.962.466 1.268 1.239 1.902 2.317 1.902 1.265 0 2.287-.477 3.066-1.431.78-.955 1.169-2.686 1.169-5.196 0-1.709-.12-3.023-.36-3.944-.24-.921-.792-1.382-1.658-1.382-.586 0-1.185.307-1.797.921-.493.494-.932.741-1.319.741-.333 0-.602-.147-.809-.44-.206-.294-.31-.574-.31-.841 0-.32.104-.594.31-.821.207-.227.69-.594 1.449-1.102 2.876-1.922 4.314-4.017 4.314-6.287 0-1.188-.306-2.092-.919-2.713a3.001 3.001 0 00-2.217-.93c-.799 0-1.525.263-2.177.79-.653.528-.979 1.158-.979 1.892 0 .641.253 1.235.76 1.782.172.2.259.367.259.5 0 .121-.57.428-1.708.922-1.139.494-1.854.74-2.147.74-.413 0-.75-.333-1.009-1-.26-.668-.39-1.282-.39-1.842 0-1.749.93-3.224 2.787-4.425 1.858-1.202 3.965-1.802 6.322-1.802 2.064 0 3.851.447 5.363 1.341 1.511.895 2.267 2.116 2.267 3.664 0 1.362-.57 2.623-1.708 3.784a13.387 13.387 0 01-3.945 2.784z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/list&quot;: {
&quot;title&quot;: &quot;$:/core/images/list&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-list tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M87.748 128H23.999c-4.418 0-7.999-3.59-7.999-8.007V8.007C16 3.585 19.588 0 24 0h80c4.419 0 8 3.59 8 8.007V104H91.25c-.965 0-1.84.392-2.473 1.025a3.476 3.476 0 00-1.029 2.476V128zm8-.12l15.88-15.88h-15.88v15.88zM40 15.508A3.502 3.502 0 0143.5 12h55c1.933 0 3.5 1.561 3.5 3.509v.982A3.502 3.502 0 0198.5 20h-55a3.498 3.498 0 01-3.5-3.509v-.982zM32 22a6 6 0 100-12 6 6 0 000 12zm8 9.509A3.502 3.502 0 0143.5 28h55c1.933 0 3.5 1.561 3.5 3.509v.982A3.502 3.502 0 0198.5 36h-55a3.498 3.498 0 01-3.5-3.509v-.982zm0 16A3.502 3.502 0 0143.5 44h55c1.933 0 3.5 1.561 3.5 3.509v.982A3.502 3.502 0 0198.5 52h-55a3.498 3.498 0 01-3.5-3.509v-.982zm0 16A3.502 3.502 0 0143.5 60h55c1.933 0 3.5 1.561 3.5 3.509v.982A3.502 3.502 0 0198.5 68h-55a3.498 3.498 0 01-3.5-3.509v-.982zm0 16A3.502 3.502 0 0143.5 76h55c1.933 0 3.5 1.561 3.5 3.509v.982A3.502 3.502 0 0198.5 84h-55a3.498 3.498 0 01-3.5-3.509v-.982zm0 16A3.502 3.502 0 0143.5 92h55c1.933 0 3.5 1.561 3.5 3.509v.982A3.502 3.502 0 0198.5 100h-55a3.498 3.498 0 01-3.5-3.509v-.982zm0 16A3.505 3.505 0 0143.497 108h33.006A3.497 3.497 0 0180 111.509v.982A3.505 3.505 0 0176.503 116H43.497A3.497 3.497 0 0140 112.491v-.982zM32 38a6 6 0 100-12 6 6 0 000 12zm0 16a6 6 0 100-12 6 6 0 000 12zm0 16a6 6 0 100-12 6 6 0 000 12zm0 16a6 6 0 100-12 6 6 0 000 12zm0 16a6 6 0 100-12 6 6 0 000 12zm0 16a6 6 0 100-12 6 6 0 000 12z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/locked-padlock&quot;: {
&quot;title&quot;: &quot;$:/core/images/locked-padlock&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-locked-padlock tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M96.472 64H105v32.01C105 113.674 90.674 128 73.001 128H56C38.318 128 24 113.677 24 96.01V64h8c.003-15.723.303-47.731 32.16-47.731 31.794 0 32.305 32.057 32.312 47.731zm-15.897 0H48.44c.002-16.287.142-32 15.719-32 15.684 0 16.977 16.136 16.415 32zM67.732 92.364A8.503 8.503 0 0064.5 76a8.5 8.5 0 00-3.498 16.25l-5.095 22.77H72.8l-5.07-22.656z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/mail&quot;: {
&quot;title&quot;: &quot;$:/core/images/mail&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-mail tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M122.827 104.894a7.986 7.986 0 01-2.834.516H8.007c-.812 0-1.597-.12-2.335-.345l34.163-34.163 20.842 20.842a3.998 3.998 0 003.418 1.134 4.003 4.003 0 003.395-1.134L88.594 70.64c.075.09.155.176.24.26l33.993 33.994zm5.076-6.237c.064-.406.097-.823.097-1.247v-64c0-.669-.082-1.318-.237-1.94L94.23 65.006c.09.075.177.154.261.239l33.413 33.413zm-127.698.56A8.023 8.023 0 010 97.41v-64c0-.716.094-1.41.271-2.071l33.907 33.906L.205 99.218zM5.93 25.684a8.012 8.012 0 012.078-.273h111.986c.766 0 1.507.108 2.209.308L64.083 83.837 5.93 25.683z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/menu-button&quot;: {
&quot;title&quot;: &quot;$:/core/images/menu-button&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-menu-button tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;rect width=\&quot;128\&quot; height=\&quot;16\&quot; y=\&quot;16\&quot; rx=\&quot;8\&quot;/&gt;&lt;rect width=\&quot;128\&quot; height=\&quot;16\&quot; y=\&quot;56\&quot; rx=\&quot;8\&quot;/&gt;&lt;rect width=\&quot;128\&quot; height=\&quot;16\&quot; y=\&quot;96\&quot; rx=\&quot;8\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/mono-block&quot;: {
&quot;title&quot;: &quot;$:/core/images/mono-block&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-mono-block tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M23.965 32.967h.357c.755 0 1.328.192 1.72.577.39.384.586.947.586 1.688 0 .824-.206 1.418-.618 1.782-.413.363-1.094.545-2.045.545h-6.31c-.965 0-1.65-.178-2.056-.535-.405-.356-.608-.954-.608-1.792 0-.811.203-1.391.608-1.74.406-.35 1.09-.525 2.055-.525h.734l-.86-2.453H8.471l-.902 2.453h.734c.95 0 1.632.178 2.044.535.413.356.619.933.619 1.73 0 .824-.206 1.418-.619 1.782-.412.363-1.094.545-2.044.545h-5.41c-.964 0-1.649-.182-2.054-.545-.406-.364-.608-.958-.608-1.782 0-.741.195-1.304.587-1.688.391-.385.964-.577 1.719-.577h.356l5.62-15.641H6.835c-.95 0-1.632-.182-2.044-.546-.412-.363-.619-.95-.619-1.76 0-.825.207-1.42.619-1.783.412-.363 1.094-.545 2.044-.545h7.863c1.244 0 2.118.67 2.62 2.013v.063l6.647 18.2zM12.98 17.326l-3.04 8.848h6.08l-3.04-8.848zm22.402 9.372v6.395h3.145c2.223 0 3.788-.245 4.697-.734.908-.49 1.362-1.307 1.362-2.453 0-1.16-.433-1.985-1.3-2.474-.866-.49-2.383-.734-4.55-.734h-3.354zm10.693-2.327c1.524.559 2.642 1.324 3.355 2.295.713.972 1.07 2.212 1.07 3.722 0 1.272-.308 2.432-.923 3.48-.615 1.049-1.496 1.909-2.642 2.58a7.499 7.499 0 01-2.254.849c-.832.174-2.01.262-3.533.262H30.202c-.922 0-1.583-.182-1.981-.545-.399-.364-.598-.958-.598-1.782 0-.741.189-1.304.566-1.688.378-.385.93-.577 1.657-.577h.356V17.326h-.356c-.727 0-1.28-.196-1.657-.587-.377-.392-.566-.965-.566-1.72 0-.81.203-1.401.608-1.771.406-.37 1.062-.556 1.971-.556h9.645c2.95 0 5.19.573 6.72 1.72 1.53 1.145 2.296 2.823 2.296 5.031 0 1.09-.234 2.052-.703 2.883-.468.832-1.163 1.513-2.086 2.045zM35.381 17.2v5.284h2.83c1.72 0 2.932-.203 3.638-.609.706-.405 1.06-1.09 1.06-2.054 0-.909-.319-1.573-.955-1.992-.636-.42-1.667-.63-3.093-.63h-3.48zm35.863-3.816c.28-.503.566-.86.86-1.07.293-.21.664-.314 1.111-.314.685 0 1.17.182 1.457.545.287.364.43.986.43 1.866l.042 5.452c0 .964-.157 1.614-.472 1.95-.314.335-.884.503-1.709.503-.587 0-1.037-.14-1.352-.42-.314-.28-.584-.796-.807-1.551-.364-1.328-.944-2.282-1.74-2.862-.797-.58-1.901-.87-3.313-.87-2.153 0-3.802.727-4.948 2.18-1.147 1.454-1.72 3.558-1.72 6.311 0 2.74.58 4.844 1.74 6.311 1.16 1.468 2.817 2.202 4.97 2.202 1.467 0 3.085-.49 4.854-1.468 1.768-.978 2.883-1.467 3.344-1.467.545 0 1.003.23 1.373.692.37.46.556 1.034.556 1.719 0 1.23-1.084 2.39-3.25 3.48-2.167 1.09-4.606 1.636-7.318 1.636-3.662 0-6.625-1.21-8.89-3.627-2.264-2.419-3.396-5.578-3.396-9.478 0-3.76 1.146-6.884 3.438-9.372 2.293-2.488 5.2-3.732 8.723-3.732.992 0 1.97.112 2.935.335.964.224 1.992.574 3.082 1.049zm10.22 19.583V17.326h-.356c-.755 0-1.328-.196-1.72-.587-.39-.392-.586-.965-.586-1.72 0-.81.21-1.401.629-1.771.42-.37 1.097-.556 2.034-.556h5.178c2.922 0 5.06.126 6.416.377 1.356.252 2.51.671 3.46 1.258 1.691 1.007 2.988 2.443 3.89 4.31.9 1.865 1.352 4.021 1.352 6.467 0 2.586-.514 4.847-1.541 6.783-1.028 1.936-2.485 3.4-4.372 4.393-.853.447-1.852.772-2.998.975-1.147.203-2.852.304-5.116.304h-6.269c-.965 0-1.65-.178-2.055-.535-.406-.356-.608-.954-.608-1.792 0-.741.195-1.304.587-1.688.391-.385.964-.577 1.72-.577h.356zm5.41-15.725v15.725h1.195c2.642 0 4.592-.646 5.85-1.94 1.258-1.292 1.887-3.28 1.887-5.965 0-2.641-.64-4.612-1.918-5.912-1.28-1.3-3.205-1.95-5.777-1.95-.335 0-.59.003-.765.01a7.992 7.992 0 00-.472.032zm35.067-.126h-9.75v5.368h3.69v-.252c0-.797.175-1.39.524-1.782.35-.392.88-.587 1.594-.587.629 0 1.142.178 1.54.534.4.357.598.808.598 1.353 0 .028.007.118.021.272.014.154.021.308.021.462v4.34c0 .936-.167 1.607-.503 2.013-.335.405-.88.608-1.635.608-.713 0-1.251-.19-1.615-.567-.363-.377-.545-.936-.545-1.677v-.377h-3.69v6.269h9.75v-2.495c0-.937.178-1.608.534-2.013.357-.405.94-.608 1.75-.608.798 0 1.367.2 1.71.597.342.399.513 1.073.513 2.024v5.074c0 .755-.146 1.258-.44 1.51-.293.251-.873.377-1.74.377h-17.172c-.923 0-1.583-.182-1.982-.545-.398-.364-.597-.958-.597-1.782 0-.741.189-1.304.566-1.688.377-.385.93-.577 1.656-.577h.357V17.326h-.357c-.712 0-1.261-.2-1.646-.598-.384-.398-.576-.968-.576-1.709 0-.81.203-1.
},
&quot;$:/core/images/mono-line&quot;: {
&quot;title&quot;: &quot;$:/core/images/mono-line&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-mono-line tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M60.437 84.523h.908c1.922 0 3.381.489 4.378 1.468.997.979 1.495 2.411 1.495 4.298 0 2.1-.525 3.612-1.575 4.538-1.05.925-2.785 1.388-5.206 1.388h-16.07c-2.456 0-4.2-.454-5.232-1.361-1.032-.908-1.548-2.43-1.548-4.565 0-2.065.516-3.542 1.548-4.432 1.032-.89 2.776-1.334 5.232-1.334h1.869l-2.19-6.247H20.983l-2.296 6.247h1.87c2.42 0 4.155.453 5.205 1.361 1.05.908 1.575 2.376 1.575 4.405 0 2.1-.525 3.612-1.575 4.538-1.05.925-2.785 1.388-5.206 1.388H6.781c-2.456 0-4.2-.463-5.233-1.388C.516 93.9 0 92.389 0 90.289c0-1.887.498-3.32 1.495-4.298.997-.979 2.456-1.468 4.378-1.468h.908l14.308-39.83h-4.271c-2.42 0-4.156-.462-5.206-1.387-1.05-.926-1.575-2.42-1.575-4.485 0-2.1.525-3.613 1.575-4.538 1.05-.926 2.785-1.388 5.206-1.388h20.021c3.168 0 5.392 1.708 6.674 5.125v.16l16.924 46.343zm-27.976-39.83L24.72 67.225h15.483l-7.742-22.53zM89.506 68.56v16.284h8.008c5.66 0 9.646-.623 11.96-1.869 2.313-1.245 3.47-3.328 3.47-6.246 0-2.955-1.103-5.055-3.31-6.3-2.207-1.246-6.069-1.869-11.586-1.869h-8.542zm27.229-5.926c3.88 1.423 6.727 3.372 8.542 5.846 1.815 2.474 2.723 5.633 2.723 9.477 0 3.239-.783 6.193-2.35 8.862-1.565 2.67-3.808 4.859-6.726 6.567-1.709.997-3.622 1.718-5.74 2.163-2.118.445-5.116.667-8.996.667h-27.87c-2.349 0-4.03-.463-5.045-1.388-1.014-.926-1.521-2.438-1.521-4.538 0-1.887.48-3.32 1.441-4.298.961-.979 2.367-1.468 4.218-1.468h.907v-39.83h-.907c-1.851 0-3.257-.498-4.218-1.494-.961-.997-1.441-2.456-1.441-4.378 0-2.065.516-3.568 1.548-4.512 1.032-.943 2.705-1.414 5.018-1.414h24.56c7.51 0 13.214 1.459 17.111 4.377 3.898 2.92 5.847 7.19 5.847 12.814 0 2.776-.597 5.223-1.789 7.341-1.192 2.118-2.963 3.853-5.312 5.206zm-27.23-18.26v13.455h7.208c4.378 0 7.466-.516 9.264-1.549 1.797-1.032 2.696-2.776 2.696-5.232 0-2.313-.81-4.004-2.43-5.072-1.619-1.068-4.244-1.602-7.874-1.602h-8.863z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/new-button&quot;: {
&quot;title&quot;: &quot;$:/core/images/new-button&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-new-button tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M56 72H8.007C3.591 72 0 68.418 0 64c0-4.41 3.585-8 8.007-8H56V8.007C56 3.591 59.582 0 64 0c4.41 0 8 3.585 8 8.007V56h47.993c4.416 0 8.007 3.582 8.007 8 0 4.41-3.585 8-8.007 8H72v47.993c0 4.416-3.582 8.007-8 8.007-4.41 0-8-3.585-8-8.007V72z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/new-here-button&quot;: {
&quot;title&quot;: &quot;$:/core/images/new-here-button&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-new-here-button tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;g fill-rule=\&quot;evenodd\&quot;&gt;&lt;path d=\&quot;M55.838 20.935l-3.572.938c-3.688.968-8.23 4.43-10.136 7.731L3.37 96.738c-1.905 3.3-.771 7.524 2.534 9.432l33.717 19.466c3.297 1.904 7.53.78 9.435-2.521l38.76-67.134c1.905-3.3 2.632-8.963 1.623-12.646L83.285 20.88c-1.009-3.68-4.821-5.884-8.513-4.915l-7.603 1.995.043.287c.524 3.394 2.053 7.498 4.18 11.55.418.163.829.36 1.23.59a8.864 8.864 0 014.438 8.169c.104.132.21.264.316.395l-.386.318a8.663 8.663 0 01-1.082 3.137c-2.42 4.192-7.816 5.608-12.051 3.163-4.12-2.379-5.624-7.534-3.476-11.671-2.177-4.394-3.788-8.874-4.543-12.964z\&quot;/&gt;&lt;path d=\&quot;M69.554 44.76c-5.944-7.476-10.74-17.196-11.955-25.059-1.68-10.875 3.503-18.216 15.082-18.04 10.407.158 19.975 5.851 24.728 13.785 5.208 8.695 2.95 17.868-6.855 20.496l-2.037-7.601c4.232-1.134 4.999-4.248 2.24-8.853-3.37-5.626-10.465-9.848-18.146-9.965-6.392-.097-8.31 2.62-7.323 9.01.999 6.465 5.318 15.138 10.582 21.65l-.072.06c.559 1.553-4.17 6.44-5.938 4.888l-.005.004-.028-.034a1.323 1.323 0 01-.124-.135 2.618 2.618 0 01-.149-.205z\&quot;/&gt;&lt;rect width=\&quot;16\&quot; height=\&quot;48\&quot; x=\&quot;96\&quot; y=\&quot;80\&quot; rx=\&quot;8\&quot;/&gt;&lt;rect width=\&quot;48\&quot; height=\&quot;16\&quot; x=\&quot;80\&quot; y=\&quot;96\&quot; rx=\&quot;8\&quot;/&gt;&lt;/g&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/new-image-button&quot;: {
&quot;title&quot;: &quot;$:/core/images/new-image-button&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-new-image-button tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M81.362 73.627l15.826-27.41a2.626 2.626 0 00-.962-3.59l-50.01-28.872a2.626 2.626 0 00-3.588.961L30.058 36.49l10.04-5.261c3.042-1.595 6.771.114 7.55 3.46l3.607 17.702 9.88.85a5.25 5.25 0 014.571 3.77c.034.115.1.344.199.671.165.553.353 1.172.562 1.843.595 1.914 1.23 3.85 1.872 5.678.207.588.412 1.156.614 1.701.625 1.685 1.209 3.114 1.725 4.207.255.54.485.977.726 1.427.214.212.547.425 1.011.622 1.141.482 2.784.74 4.657.758.864.008 1.71-.034 2.492-.11.448-.043.753-.085.871-.104.315-.053.625-.077.927-.076zM37.47 2.649A5.257 5.257 0 0144.649.725l63.645 36.746a5.257 5.257 0 011.923 7.178L73.47 108.294a5.257 5.257 0 01-7.177 1.923L2.649 73.47a5.257 5.257 0 01-1.924-7.177L37.471 2.649zm42.837 50.49a5.25 5.25 0 105.25-9.092 5.25 5.25 0 00-5.25 9.093zM96 112h-7.993c-4.419 0-8.007-3.582-8.007-8 0-4.41 3.585-8 8.007-8H96v-7.993C96 83.588 99.582 80 104 80c4.41 0 8 3.585 8 8.007V96h7.993c4.419 0 8.007 3.582 8.007 8 0 4.41-3.585 8-8.007 8H112v7.993c0 4.419-3.582 8.007-8 8.007-4.41 0-8-3.585-8-8.007V112zM33.347 51.791c7.428 7.948 9.01 10.69 7.449 13.394-1.56 2.703-13.838-2.328-16.094 1.58-2.256 3.908-.907 3.258-2.437 5.908l19.73 11.39s-5.605-8.255-4.235-10.628c2.515-4.356 8.77-1.256 10.365-4.019 2.414-4.181-5.103-9.639-14.778-17.625z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/new-journal-button&quot;: {
&quot;title&quot;: &quot;$:/core/images/new-journal-button&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-new-journal-button tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;g fill-rule=\&quot;evenodd\&quot;&gt;&lt;path d=\&quot;M102.545 112.818v11.818c0 1.306 1.086 2.364 2.425 2.364h6.06c1.34 0 2.425-1.058 2.425-2.364v-11.818h12.12c1.34 0 2.425-1.058 2.425-2.363v-5.91c0-1.305-1.085-2.363-2.424-2.363h-12.121V90.364c0-1.306-1.086-2.364-2.425-2.364h-6.06c-1.34 0-2.425 1.058-2.425 2.364v11.818h-12.12c-1.34 0-2.425 1.058-2.425 2.363v5.91c0 1.305 1.085 2.363 2.424 2.363h12.121zM60.016 4.965c-4.781-2.76-10.897-1.118-13.656 3.66L5.553 79.305A9.993 9.993 0 009.21 92.963l51.04 29.468c4.78 2.76 10.897 1.118 13.655-3.66l40.808-70.681a9.993 9.993 0 00-3.658-13.656L60.016 4.965zm-3.567 27.963a6 6 0 106-10.393 6 6 0 00-6 10.393zm31.697 17.928a6 6 0 106-10.392 6 6 0 00-6 10.392z\&quot;/&gt;&lt;text class=\&quot;tc-fill-background\&quot; font-family=\&quot;Helvetica\&quot; font-size=\&quot;47.172\&quot; font-weight=\&quot;bold\&quot; transform=\&quot;rotate(30 25.742 95.82)\&quot;&gt;&lt;tspan x=\&quot;42\&quot; y=\&quot;77.485\&quot; text-anchor=\&quot;middle\&quot;&gt;&lt;&lt;now \&quot;DD\&quot;&gt;&gt;&lt;/tspan&gt;&lt;/text&gt;&lt;/g&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/opacity&quot;: {
&quot;title&quot;: &quot;$:/core/images/opacity&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-opacity tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;g fill-rule=\&quot;evenodd\&quot;&gt;&lt;path d=\&quot;M102.362 65a51.595 51.595 0 01-1.942 6H82.584a35.867 35.867 0 002.997-6h16.78zm.472-2c.423-1.961.734-3.963.929-6H87.656a35.78 35.78 0 01-1.368 6h16.546zm-3.249 10a51.847 51.847 0 01-3.135 6H75.812a36.205 36.205 0 005.432-6h18.341zm-4.416 8c-1.424 2.116-3 4.12-4.71 6H60.46a35.843 35.843 0 0012.874-6h21.834zm-7.513-34h16.107C101.247 20.627 79.033 0 52 0 23.281 0 0 23.281 0 52c0 25.228 17.965 46.26 41.8 51h20.4a51.66 51.66 0 0015.875-6H39v-2h42.25a52.257 52.257 0 007.288-6H39v-2h4.539C27.739 83.194 16 68.968 16 52c0-19.882 16.118-36 36-36 18.186 0 33.222 13.484 35.656 31zm.22 2h16.039a52.823 52.823 0 010 6H87.877a36.483 36.483 0 000-6z\&quot;/&gt;&lt;path d=\&quot;M76 128c28.719 0 52-23.281 52-52s-23.281-52-52-52-52 23.281-52 52 23.281 52 52 52zm0-16c19.882 0 36-16.118 36-36S95.882 40 76 40 40 56.118 40 76s16.118 36 36 36z\&quot;/&gt;&lt;path d=\&quot;M37 58h53v4H37v-4zm3-8h53v4H40v-4zm0-8h53v4H40v-4zm-8 24h53v4H32v-4zm-2 8h53v4H30v-4zm-3 8h53v4H27v-4z\&quot;/&gt;&lt;/g&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/open-window&quot;: {
&quot;title&quot;: &quot;$:/core/images/open-window&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-open-window tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;g fill-rule=\&quot;evenodd\&quot;&gt;&lt;path d=\&quot;M16 112h88.994c3.87 0 7.006 3.59 7.006 8 0 4.418-3.142 8-7.006 8H7.006C3.136 128 0 124.41 0 120a9.321 9.321 0 010-.01V24.01C0 19.586 3.59 16 8 16c4.418 0 8 3.584 8 8.01V112z\&quot;/&gt;&lt;path d=\&quot;M96 43.196V56a8 8 0 1016 0V24c0-4.41-3.585-8-8.007-8H72.007C67.588 16 64 19.582 64 24c0 4.41 3.585 8 8.007 8H84.57l-36.3 36.299a8 8 0 00-.001 11.316c3.117 3.117 8.19 3.123 11.316-.003L96 43.196zM32 7.999C32 3.581 35.588 0 40 0h80c4.419 0 8 3.588 8 8v80c0 4.419-3.588 8-8 8H40c-4.419 0-8-3.588-8-8V8z\&quot;/&gt;&lt;/g&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/options-button&quot;: {
&quot;title&quot;: &quot;$:/core/images/options-button&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-options-button tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M110.488 76a47.712 47.712 0 01-5.134 12.384l6.724 6.724c3.123 3.123 3.132 8.192.011 11.313l-5.668 5.668c-3.12 3.12-8.186 3.117-11.313-.01l-6.724-6.725c-3.82 2.258-7.98 4-12.384 5.134v9.505c0 4.417-3.578 8.007-7.992 8.007h-8.016C55.58 128 52 124.415 52 119.993v-9.505a47.712 47.712 0 01-12.384-5.134l-6.724 6.725c-3.123 3.122-8.192 3.131-11.313.01l-5.668-5.668c-3.12-3.12-3.116-8.186.01-11.313l6.725-6.724c-2.257-3.82-4-7.98-5.134-12.384H8.007C3.591 76 0 72.422 0 68.01v-8.017C0 55.58 3.585 52 8.007 52h9.505a47.712 47.712 0 015.134-12.383l-6.724-6.725c-3.123-3.122-3.132-8.191-.011-11.312l5.668-5.669c3.12-3.12 8.186-3.116 11.313.01l6.724 6.725c3.82-2.257 7.98-4 12.384-5.134V8.007C52 3.591 55.578 0 59.992 0h8.016C72.42 0 76 3.585 76 8.007v9.505a47.712 47.712 0 0112.384 5.134l6.724-6.724c3.123-3.123 8.192-3.132 11.313-.01l5.668 5.668c3.12 3.12 3.116 8.186-.01 11.312l-6.725 6.725c2.257 3.82 4 7.979 5.134 12.383h9.505c4.416 0 8.007 3.578 8.007 7.992v8.017c0 4.411-3.585 7.991-8.007 7.991h-9.505zM64 96c17.673 0 32-14.327 32-32 0-17.673-14.327-32-32-32-17.673 0-32 14.327-32 32 0 17.673 14.327 32 32 32z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/paint&quot;: {
&quot;title&quot;: &quot;$:/core/images/paint&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-paint tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M83.527 76.19C90.43 69.287 91.892 59 87.91 50.665l37.903-37.902c2.919-2.92 2.913-7.659 0-10.572a7.474 7.474 0 00-10.572 0L77.338 40.093c-8.335-3.982-18.622-2.521-25.526 4.383l31.715 31.715zm-2.643 2.644L49.169 47.119S8.506 81.243 0 80.282c0 0 3.782 5.592 6.827 8.039 14.024-5.69 37.326-24.6 37.326-24.6l.661.66S19.45 90.222 9.18 92.047c1.222 1.44 4.354 4.053 6.247 5.776 5.417-1.488 34.733-28.57 34.733-28.57l.661.66-32.407 31.022 5.285 5.286L56.106 75.2l.662.66s-27.864 30.536-28.684 32.432c0 0 6.032 6.853 7.569 7.824.702-2.836 27.884-33.485 27.884-33.485l.661.66s-20.597 23.755-24.964 36.732c3.21 3.549 7.5 5.137 10.926 6.298-2.19-11.817 30.724-47.487 30.724-47.487z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/palette&quot;: {
&quot;title&quot;: &quot;$:/core/images/palette&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-palette tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M80.247 39.182a93.52 93.52 0 00-16.228-1.4C28.662 37.781 0 57.131 0 81.002c0 9.642 4.676 18.546 12.58 25.735C23.504 91.19 26.34 72.395 36.89 63.562c15.183-12.713 26.538-7.828 26.538-7.828l16.82-16.552zm26.535 9.655c13.049 7.913 21.257 19.392 21.257 32.166 0 9.35.519 17.411-11.874 25.08-10.797 6.681-3.824-6.536-11.844-10.898s-19.946 1.308-18.213 7.906c3.2 12.181 19.422 11.455 6.314 16.658-13.107 5.202-18.202 4.476-28.403 4.476-7.821 0-15.315-.947-22.243-2.68 9.844-4.197 27.88-12.539 33.354-19.456C82.788 92.409 87.37 80 83.324 72.484c-.194-.359 11.215-11.668 23.458-23.647zM1.134 123.867l-.66.002c33.479-14.94 22.161-64.226 58.818-64.226.317 1.418.644 2.944 1.062 4.494-25.907-4.166-23.567 48.031-59.22 59.73zm.713-.007c38.872-.506 78.152-22.347 78.152-44.813-9.27 0-14.073-3.48-16.816-7.942-16.597-7.003-30.365 45.715-61.336 52.755zm65.351-64.008c-4.45 4.115 4.886 16.433 11.318 11.318l45.27-45.27c11.317-11.318 0-22.635-11.318-11.318-11.317 11.318-33.518 34.405-45.27 45.27z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/permalink-button&quot;: {
&quot;title&quot;: &quot;$:/core/images/permalink-button&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-permalink-button tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M80.483 48l-7.387 32h-25.58l7.388-32h25.58zm3.694-16l5.624-24.358c.993-4.303 5.29-6.996 9.596-6.002 4.296.992 6.988 5.293 5.994 9.602L100.598 32h3.403c4.41 0 7.999 3.582 7.999 8 0 4.41-3.581 8-8 8h-7.096l-7.387 32H104c4.41 0 7.999 3.582 7.999 8 0 4.41-3.581 8-8 8H85.824l-5.624 24.358c-.993 4.303-5.29 6.996-9.596 6.002-4.296-.992-6.988-5.293-5.994-9.602L69.402 96h-25.58L38.2 120.358c-.993 4.303-5.29 6.996-9.596 6.002-4.296-.992-6.988-5.293-5.994-9.602L27.402 96h-3.403C19.59 96 16 92.418 16 88c0-4.41 3.581-8 8-8h7.096l7.387-32H24C19.59 48 16 44.418 16 40c0-4.41 3.581-8 8-8h18.177l5.624-24.358c.993-4.303 5.29-6.996 9.596-6.002 4.296.992 6.988 5.293 5.994 9.602L58.598 32h25.58z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/permaview-button&quot;: {
&quot;title&quot;: &quot;$:/core/images/permaview-button&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-permaview-button tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M81.483 48l-1.846 8h-5.58l1.847-8h5.58zm3.694-16l5.624-24.358c.993-4.303 5.29-6.996 9.596-6.002 4.296.992 6.988 5.293 5.994 9.602L101.598 32h2.403c4.41 0 7.999 3.582 7.999 8 0 4.41-3.581 8-8 8h-6.096l-1.847 8h7.944c4.41 0 7.999 3.582 7.999 8 0 4.41-3.581 8-8 8H92.364l-1.846 8H104c4.41 0 7.999 3.582 7.999 8 0 4.41-3.581 8-8 8H86.824l-5.624 24.358c-.993 4.303-5.29 6.996-9.596 6.002-4.296-.992-6.988-5.293-5.994-9.602L70.402 96h-5.58L59.2 120.358c-.993 4.303-5.29 6.996-9.596 6.002-4.296-.992-6.988-5.293-5.994-9.602L48.402 96h-5.58L37.2 120.358c-.993 4.303-5.29 6.996-9.596 6.002-4.296-.992-6.988-5.293-5.994-9.602L26.402 96h-2.403C19.59 96 16 92.418 16 88c0-4.41 3.581-8 8-8h6.096l1.847-8h-7.944C19.59 72 16 68.418 16 64c0-4.41 3.581-8 8-8h11.637l1.846-8H24C19.59 48 16 44.418 16 40c0-4.41 3.581-8 8-8h17.177l5.624-24.358c.993-4.303 5.29-6.996 9.596-6.002 4.296.992 6.988 5.293 5.994 9.602L57.598 32h5.58L68.8 7.642c.993-4.303 5.29-6.996 9.596-6.002 4.296.992 6.988 5.293 5.994 9.602L79.598 32h5.58zM53.904 48l-1.847 8h5.58l1.846-8h-5.579zm22.039 24l-1.847 8h-5.58l1.847-8h5.58zm-27.58 0l-1.846 8h5.579l1.847-8h-5.58z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/picture&quot;: {
&quot;title&quot;: &quot;$:/core/images/picture&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-picture tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M112 68.233v-48.23A4.001 4.001 0 00107.997 16H20.003A4.001 4.001 0 0016 20.003v38.31l9.241-14.593c2.8-4.422 9.023-5.008 12.6-1.186l18.247 20.613 13.687-6.407a8 8 0 018.903 1.492 264.97 264.97 0 002.92 2.739 249.44 249.44 0 006.798 6.066 166.5 166.5 0 002.106 1.778c2.108 1.747 3.967 3.188 5.482 4.237.748.518 1.383.92 2.044 1.33.444.117 1.046.144 1.809.05 1.873-.233 4.238-1.144 6.723-2.547a36.016 36.016 0 003.205-2.044c.558-.4.93-.686 1.07-.802.376-.31.765-.577 1.165-.806zM0 8.007A8.01 8.01 0 018.007 0h111.986A8.01 8.01 0 01128 8.007v111.986a8.01 8.01 0 01-8.007 8.007H8.007A8.01 8.01 0 010 119.993V8.007zM95 42a8 8 0 100-16 8 8 0 000 16zM32 76c15.859 4.83 20.035 7.244 20.035 12S32 95.471 32 102.347c0 6.876 1.285 4.99 1.285 9.653H68s-13.685-6.625-13.685-10.8c0-7.665 10.615-8.34 10.615-13.2 0-7.357-14.078-8.833-32.93-12z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/plugin-generic-language&quot;: {
&quot;title&quot;: &quot;$:/core/images/plugin-generic-language&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M61.207 68.137c-4.324 2.795-6.999 6.656-6.999 10.921 0 7.906 9.19 14.424 21.042 15.336 2.162 3.902 8.598 6.785 16.318 7.01-5.126-1.125-9.117-3.742-10.62-7.01C92.805 93.487 102 86.967 102 79.059c0-8.53-10.699-15.445-23.896-15.445-6.599 0-12.572 1.729-16.897 4.524zm12.794-14.158c-4.324 2.795-10.298 4.524-16.897 4.524-2.619 0-5.14-.272-7.497-.775-3.312 2.25-8.383 3.69-14.067 3.69l-.255-.002c4.119-.892 7.511-2.747 9.478-5.13-6.925-2.704-11.555-7.617-11.555-13.228 0-8.53 10.699-15.445 23.896-15.445C70.301 27.613 81 34.528 81 43.058c0 4.265-2.675 8.126-6.999 10.921zM64 0l54.56 32v64L64 128 9.44 96V32L64 0z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/plugin-generic-plugin&quot;: {
&quot;title&quot;: &quot;$:/core/images/plugin-generic-plugin&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M40.397 76.446V95.34h14.12l-.001-.005a6.912 6.912 0 005.364-11.593l.046-.023a6.912 6.912 0 119.979.526l.086.055a6.914 6.914 0 004.408 10.948l-.023.092h21.32V75.568l-.15.038a6.912 6.912 0 00-11.593-5.364l-.022-.046a6.912 6.912 0 11.526-9.979l.055-.086a6.914 6.914 0 0010.948-4.408c.079.018.158.038.236.059v-15.74h-21.32l.023-.094a6.914 6.914 0 01-4.408-10.947 10.23 10.23 0 00-.086-.055 6.912 6.912 0 10-9.979-.526l-.046.023a6.912 6.912 0 01-5.364 11.593l.001.005h-14.12v12.847A6.912 6.912 0 0129.5 59.843l-.054.086a6.912 6.912 0 10-.526 9.979l.023.046a6.912 6.912 0 0111.455 6.492zM64 0l54.56 32v64L64 128 9.44 96V32L64 0z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/plugin-generic-theme&quot;: {
&quot;title&quot;: &quot;$:/core/images/plugin-generic-theme&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M29.408 91.472L51.469 69.41l-.004-.005a2.22 2.22 0 01.004-3.146c.87-.87 2.281-.872 3.147-.005l9.465 9.464a2.22 2.22 0 01-.005 3.147c-.87.87-2.28.871-3.147.005l-.005-.005-22.061 22.062a6.686 6.686 0 11-9.455-9.455zM60.802 66.38c-2.436-2.704-4.465-5.091-5.817-6.869-6.855-9.014-10.313-4.268-14.226 0-3.913 4.268 1.03 7.726-2.683 10.741-3.713 3.015-3.484 4.06-9.752-1.455-6.267-5.516-6.7-7.034-3.823-10.181 2.877-3.147 5.281 1.808 11.159-3.785 5.877-5.593.94-10.55.94-10.55s12.237-25.014 28.588-23.167c16.351 1.848-6.186-2.392-11.792 17.226-2.4 8.4.447 6.42 4.998 9.968 1.394 1.086 6.03 4.401 11.794 8.685l20.677-20.676 1.615-4.766 7.84-4.689 3.151 3.152-4.688 7.84-4.766 1.615-20.224 20.223c12.663 9.547 28.312 22.146 28.312 26.709 0 7.217-3.071 11.526-9.535 9.164-4.693-1.715-18.768-15.192-28.753-25.897l-2.893 2.893-3.151-3.152 3.029-3.029zM63.953 0l54.56 32v64l-54.56 32-54.56-32V32l54.56-32z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/preview-closed&quot;: {
&quot;title&quot;: &quot;$:/core/images/preview-closed&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-preview-closed tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;g fill-rule=\&quot;evenodd\&quot;&gt;&lt;path d=\&quot;M.088 64a7.144 7.144 0 001.378 5.458C16.246 88.818 39.17 100.414 64 100.414c24.83 0 47.753-11.596 62.534-30.956A7.144 7.144 0 00127.912 64C110.582 78.416 88.304 87.086 64 87.086 39.696 87.086 17.418 78.416.088 64z\&quot;/&gt;&lt;rect width=\&quot;4\&quot; height=\&quot;16\&quot; x=\&quot;62\&quot; y=\&quot;96\&quot; rx=\&quot;4\&quot;/&gt;&lt;rect width=\&quot;4\&quot; height=\&quot;16\&quot; x=\&quot;78\&quot; y=\&quot;93\&quot; rx=\&quot;4\&quot; transform=\&quot;rotate(-5 80 101)\&quot;/&gt;&lt;rect width=\&quot;4\&quot; height=\&quot;16\&quot; x=\&quot;46\&quot; y=\&quot;93\&quot; rx=\&quot;4\&quot; transform=\&quot;rotate(5 48 101)\&quot;/&gt;&lt;rect width=\&quot;4\&quot; height=\&quot;16\&quot; x=\&quot;30\&quot; y=\&quot;88\&quot; rx=\&quot;4\&quot; transform=\&quot;rotate(10 32 96)\&quot;/&gt;&lt;rect width=\&quot;4\&quot; height=\&quot;16\&quot; x=\&quot;94\&quot; y=\&quot;88\&quot; rx=\&quot;4\&quot; transform=\&quot;rotate(-10 96 96)\&quot;/&gt;&lt;rect width=\&quot;4\&quot; height=\&quot;16\&quot; x=\&quot;110\&quot; y=\&quot;80\&quot; rx=\&quot;4\&quot; transform=\&quot;rotate(-20 112 88)\&quot;/&gt;&lt;rect width=\&quot;4\&quot; height=\&quot;16\&quot; x=\&quot;14\&quot; y=\&quot;80\&quot; rx=\&quot;4\&quot; transform=\&quot;rotate(20 16 88)\&quot;/&gt;&lt;/g&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/preview-open&quot;: {
&quot;title&quot;: &quot;$:/core/images/preview-open&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-preview-open tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;g fill-rule=\&quot;evenodd\&quot;&gt;&lt;path d=\&quot;M64.11 99.588c-24.83 0-47.754-11.596-62.534-30.957a7.148 7.148 0 010-8.675C16.356 40.596 39.28 29 64.11 29c24.83 0 47.753 11.596 62.534 30.956a7.148 7.148 0 010 8.675c-14.78 19.36-37.703 30.957-62.534 30.957zm46.104-32.007c1.44-1.524 1.44-3.638 0-5.162C99.326 50.9 82.439 44 64.147 44S28.968 50.9 18.08 62.42c-1.44 1.523-1.44 3.637 0 5.16C28.968 79.1 45.855 86 64.147 86s35.179-6.9 46.067-18.42z\&quot;/&gt;&lt;path d=\&quot;M63.5 88C76.479 88 87 77.479 87 64.5S76.479 41 63.5 41 40 51.521 40 64.5 50.521 88 63.5 88z\&quot;/&gt;&lt;/g&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/print-button&quot;: {
&quot;title&quot;: &quot;$:/core/images/print-button&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-print-button tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;g fill-rule=\&quot;evenodd\&quot;&gt;&lt;path d=\&quot;M112 71V30.5h-.032c-.035-2-.816-3.99-2.343-5.516L86.998 2.357A7.978 7.978 0 0081 .02V0H24a8 8 0 00-8 8v63h8V8h57v14.5c0 4.422 3.582 8 8 8h15V71h8z\&quot;/&gt;&lt;rect width=\&quot;64\&quot; height=\&quot;8\&quot; x=\&quot;32\&quot; y=\&quot;36\&quot; rx=\&quot;4\&quot;/&gt;&lt;rect width=\&quot;64\&quot; height=\&quot;8\&quot; x=\&quot;32\&quot; y=\&quot;52\&quot; rx=\&quot;4\&quot;/&gt;&lt;rect width=\&quot;40\&quot; height=\&quot;8\&quot; x=\&quot;32\&quot; y=\&quot;20\&quot; rx=\&quot;4\&quot;/&gt;&lt;path d=\&quot;M0 80.005C0 71.165 7.156 64 16 64h96c8.836 0 16 7.155 16 16.005v31.99c0 8.84-7.156 16.005-16 16.005H16c-8.836 0-16-7.155-16-16.005v-31.99zM104 96a8 8 0 100-16 8 8 0 000 16z\&quot;/&gt;&lt;/g&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/quote&quot;: {
&quot;title&quot;: &quot;$:/core/images/quote&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-quote tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M51.219 117.713V62.199H27.427c0-8.891 1.683-16.401 5.047-22.53 3.365-6.127 9.613-10.754 18.745-13.878V2c-7.45.961-14.36 3.184-20.728 6.669-6.368 3.484-11.835 7.87-16.401 13.157C9.524 27.113 5.98 33.241 3.456 40.21.933 47.18-.21 54.63.03 62.56v55.153H51.22zm76.781 0V62.199h-23.791c0-8.891 1.682-16.401 5.046-22.53 3.365-6.127 9.613-10.754 18.745-13.878V2c-7.45.961-14.359 3.184-20.727 6.669-6.369 3.484-11.836 7.87-16.402 13.157-4.566 5.287-8.11 11.415-10.634 18.384-2.523 6.97-3.665 14.42-3.424 22.35v55.153H128z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/refresh-button&quot;: {
&quot;title&quot;: &quot;$:/core/images/refresh-button&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-refresh-button tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M106.369 39.433c10.16 20.879 6.57 46.764-10.771 64.106-21.87 21.87-57.327 21.87-79.196 0-21.87-21.87-21.87-57.326 0-79.196a8 8 0 1111.314 11.314c-15.621 15.62-15.621 40.947 0 56.568 15.62 15.621 40.947 15.621 56.568 0C97.72 78.79 99.6 58.175 89.924 42.73l-6.44 12.264a8 8 0 11-14.166-7.437L84.435 18.76a8 8 0 0110.838-3.345l28.873 15.345a8 8 0 11-7.51 14.129l-10.267-5.457zm-8.222-12.368c-.167-.19-.336-.38-.506-.57l.96-.296-.454.866z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/right-arrow&quot;: {
&quot;title&quot;: &quot;$:/core/images/right-arrow&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-right-arrow tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path d=\&quot;M99.069 64.173c0 2.027-.77 4.054-2.316 5.6l-55.98 55.98a7.92 7.92 0 01-11.196 0c-3.085-3.086-3.092-8.105 0-11.196l50.382-50.382-50.382-50.382a7.92 7.92 0 010-11.195c3.086-3.085 8.104-3.092 11.196 0l55.98 55.98a7.892 7.892 0 012.316 5.595z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/rotate-left&quot;: {
&quot;title&quot;: &quot;$:/core/images/rotate-left&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-rotate-left tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;g fill-rule=\&quot;evenodd\&quot;&gt;&lt;rect width=\&quot;32\&quot; height=\&quot;80\&quot; rx=\&quot;8\&quot;/&gt;&lt;rect width=\&quot;80\&quot; height=\&quot;32\&quot; x=\&quot;48\&quot; y=\&quot;96\&quot; rx=\&quot;8\&quot;/&gt;&lt;path d=\&quot;M61.32 36.65c19.743 2.45 35.023 19.287 35.023 39.693a4 4 0 01-8 0c0-15.663-11.254-28.698-26.117-31.46l3.916 3.916a4 4 0 11-5.657 5.657L49.172 43.142a4 4 0 010-5.657l11.313-11.313a4 4 0 115.657 5.656l-4.821 4.822z\&quot;/&gt;&lt;/g&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/save-button&quot;: {
&quot;title&quot;: &quot;$:/core/images/save-button&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-save-button tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M120.783 34.33c4.641 8.862 7.266 18.948 7.266 29.646 0 35.347-28.653 64-64 64-35.346 0-64-28.653-64-64 0-35.346 28.654-64 64-64 18.808 0 35.72 8.113 47.43 21.03l2.68-2.68c3.13-3.13 8.197-3.132 11.321-.008 3.118 3.118 3.121 8.193-.007 11.32l-4.69 4.691zm-12.058 12.058a47.876 47.876 0 013.324 17.588c0 26.51-21.49 48-48 48s-48-21.49-48-48 21.49-48 48-48c14.39 0 27.3 6.332 36.098 16.362L58.941 73.544 41.976 56.578c-3.127-3.127-8.201-3.123-11.32-.005-3.123 3.124-3.119 8.194.006 11.319l22.617 22.617a7.992 7.992 0 005.659 2.347c2.05 0 4.101-.783 5.667-2.349l44.12-44.12z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/size&quot;: {
&quot;title&quot;: &quot;$:/core/images/size&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-size tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path d=\&quot;M92.343 26l-9.171 9.172a4 4 0 105.656 5.656l16-16a4 4 0 000-5.656l-16-16a4 4 0 10-5.656 5.656L92.343 18H22a4 4 0 00-4 4v70.343l-9.172-9.171a4 4 0 10-5.656 5.656l16 16a4 4 0 005.656 0l16-16a4 4 0 10-5.656-5.656L26 92.343V22l-4 4h70.343zM112 52v64l4-4H52a4 4 0 100 8h64a4 4 0 004-4V52a4 4 0 10-8 0z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/spiral&quot;: {
&quot;title&quot;: &quot;$:/core/images/spiral&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-spiral tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path d=\&quot;M64.534 68.348c3.39 0 6.097-2.62 6.476-5.968l-4.755-.538 4.75.583c.377-3.07-1.194-6.054-3.89-7.78-2.757-1.773-6.34-2.01-9.566-.7-3.46 1.403-6.14 4.392-7.35 8.148l-.01.026c-1.3 4.08-.72 8.64 1.58 12.52 2.5 4.2 6.77 7.2 11.76 8.27 5.37 1.15 11.11-.05 15.83-3.31 5.04-3.51 8.46-9.02 9.45-15.3 1.05-6.7-.72-13.63-4.92-19.19l.02.02c-4.42-5.93-11.2-9.82-18.78-10.78-7.96-1.01-16.13 1.31-22.59 6.43-6.81 5.39-11.18 13.41-12.11 22.26-.98 9.27 1.87 18.65 7.93 26.02 6.32 7.69 15.6 12.56 25.74 13.48 10.54.96 21.15-2.42 29.45-9.4l.01-.01c8.58-7.25 13.94-17.78 14.86-29.21.94-11.84-2.96-23.69-10.86-32.9-8.19-9.5-19.95-15.36-32.69-16.27-13.16-.94-26.24 3.49-36.34 12.34l.01-.01c-10.41 9.08-16.78 22.1-17.68 36.15-.93 14.44 4.03 28.77 13.79 39.78 10.03 11.32 24.28 18.2 39.6 19.09 15.73.92 31.31-4.56 43.24-15.234 12.23-10.954 19.61-26.44 20.5-43.074a4.785 4.785 0 00-4.52-5.03 4.778 4.778 0 00-5.03 4.52c-.75 14.1-7 27.2-17.33 36.45-10.03 8.98-23.11 13.58-36.3 12.81-12.79-.75-24.67-6.48-33-15.89-8.07-9.11-12.17-20.94-11.41-32.827.74-11.52 5.942-22.15 14.43-29.54l.01-.01c8.18-7.17 18.74-10.75 29.35-9.998 10.21.726 19.6 5.41 26.11 12.96 6.24 7.273 9.32 16.61 8.573 25.894-.718 8.9-4.88 17.064-11.504 22.66l.01-.007c-6.36 5.342-14.44 7.92-22.425 7.19-7.604-.68-14.52-4.314-19.21-10.027-4.44-5.4-6.517-12.23-5.806-18.94.67-6.3 3.76-11.977 8.54-15.766 4.46-3.54 10.05-5.128 15.44-4.44 5.03.63 9.46 3.18 12.32 7.01l.02.024c2.65 3.5 3.75 7.814 3.1 11.92-.59 3.71-2.58 6.925-5.45 8.924-2.56 1.767-5.61 2.403-8.38 1.81-2.42-.516-4.42-1.92-5.53-3.79-.93-1.56-1.15-3.3-.69-4.75l-4.56-1.446L59.325 65c.36-1.12 1.068-1.905 1.84-2.22.25-.103.48-.14.668-.13.06.006.11.015.14.025.01 0 .01 0-.01-.01a1.047 1.047 0 01-.264-.332c-.15-.29-.23-.678-.18-1.11l-.005.04c.15-1.332 1.38-2.523 3.035-2.523-2.65 0-4.79 2.144-4.79 4.787s2.14 4.785 4.78 4.785z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/stamp&quot;: {
&quot;title&quot;: &quot;$:/core/images/stamp&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-stamp tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M49.733 64H16.01C11.584 64 8 67.583 8 72.003V97h112V72.003A8 8 0 00111.99 64H78.267A22.813 22.813 0 0175.5 53.077c0-6.475 2.687-12.324 7.009-16.497A22.818 22.818 0 0087 22.952C87 10.276 76.703 0 64 0S41 10.276 41 22.952c0 5.103 1.669 9.817 4.491 13.628 4.322 4.173 7.009 10.022 7.009 16.497 0 3.954-1.002 7.675-2.767 10.923zM8 104h112v8H8v-8z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/star-filled&quot;: {
&quot;title&quot;: &quot;$:/core/images/star-filled&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-star-filled tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path d=\&quot;M61.836 96.823l37.327 27.287c2.72 1.99 6.379-.69 5.343-3.912L90.29 75.988l-1.26 3.91 37.285-27.345c2.718-1.993 1.32-6.327-2.041-6.33l-46.113-.036 3.3 2.416L67.176 4.416c-1.04-3.221-5.563-3.221-6.604 0L46.29 48.603l3.3-2.416-46.113.036c-3.362.003-4.759 4.337-2.04 6.33L38.72 79.898l-1.26-3.91-14.216 44.21c-1.036 3.223 2.622 5.901 5.343 3.912l37.326-27.287h-4.078z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/storyview-classic&quot;: {
&quot;title&quot;: &quot;$:/core/images/storyview-classic&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-storyview-classic tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M8.007 0A8.01 8.01 0 000 8.007v111.986A8.01 8.01 0 008.007 128h111.986a8.01 8.01 0 008.007-8.007V8.007A8.01 8.01 0 00119.993 0H8.007zm15.992 16C19.581 16 16 19.578 16 23.992v16.016C16 44.422 19.588 48 24 48h80c4.419 0 8-3.578 8-7.992V23.992c0-4.414-3.588-7.992-8-7.992H24zm0 48C19.581 64 16 67.59 16 72c0 4.418 3.588 8 8 8h80c4.419 0 8-3.59 8-8 0-4.418-3.588-8-8-8H24zm0 32C19.581 96 16 99.59 16 104c0 4.418 3.588 8 8 8h80c4.419 0 8-3.59 8-8 0-4.418-3.588-8-8-8H24z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/storyview-pop&quot;: {
&quot;title&quot;: &quot;$:/core/images/storyview-pop&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-storyview-pop tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M8.007 0A8.01 8.01 0 000 8.007v111.986A8.01 8.01 0 008.007 128h111.986a8.01 8.01 0 008.007-8.007V8.007A8.01 8.01 0 00119.993 0H8.007zm15.992 16C19.581 16 16 19.578 16 23.992v16.016C16 44.422 19.588 48 24 48h80c4.419 0 8-3.578 8-7.992V23.992c0-4.414-3.588-7.992-8-7.992H24zm-7.99 40C11.587 56 8 59.578 8 63.992v16.016C8 84.422 11.584 88 16.01 88h95.98c4.424 0 8.01-3.578 8.01-7.992V63.992c0-4.414-3.584-7.992-8.01-7.992H16.01zM24 96C19.581 96 16 99.59 16 104c0 4.418 3.588 8 8 8h80c4.419 0 8-3.59 8-8 0-4.418-3.588-8-8-8H24zm0-32C19.581 64 16 67.59 16 72c0 4.418 3.588 8 8 8h80c4.419 0 8-3.59 8-8 0-4.418-3.588-8-8-8H24z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/storyview-zoomin&quot;: {
&quot;title&quot;: &quot;$:/core/images/storyview-zoomin&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-storyview-zoomin tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M8.007 0A8.01 8.01 0 000 8.007v111.986A8.01 8.01 0 008.007 128h111.986a8.01 8.01 0 008.007-8.007V8.007A8.01 8.01 0 00119.993 0H8.007zm15.992 16A8 8 0 0016 24.009V71.99C16 76.414 19.588 80 24 80h80a8 8 0 008-8.009V24.01c0-4.423-3.588-8.009-8-8.009H24z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/strikethrough&quot;: {
&quot;title&quot;: &quot;$:/core/images/strikethrough&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-strikethrough tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;g fill-rule=\&quot;evenodd\&quot;&gt;&lt;path d=\&quot;M92.794 38.726h15.422c-.229-6.74-1.514-12.538-3.856-17.393-2.342-4.855-5.54-8.881-9.596-12.08-4.055-3.199-8.767-5.54-14.136-7.025C75.258.743 69.433 0 63.15 0a62.76 62.76 0 00-16.364 2.142C41.474 3.57 36.733 5.74 32.564 8.653c-4.17 2.913-7.511 6.626-10.025 11.138-2.513 4.512-3.77 9.853-3.77 16.022 0 5.597 1.115 10.252 3.342 13.965 2.228 3.712 5.198 6.74 8.91 9.081 3.713 2.342 7.911 4.227 12.595 5.655a194.641 194.641 0 0014.308 3.77c4.855 1.085 9.624 2.142 14.308 3.17 4.683 1.028 8.881 2.37 12.594 4.027 3.713 1.656 6.683 3.798 8.91 6.425 2.228 2.628 3.342 6.055 3.342 10.281 0 4.456-.914 8.111-2.742 10.967a19.953 19.953 0 01-7.197 6.768c-2.97 1.657-6.311 2.828-10.024 3.513a60.771 60.771 0 01-11.052 1.028c-4.57 0-9.025-.571-13.366-1.713-4.34-1.143-8.139-2.913-11.394-5.312-3.256-2.4-5.884-5.455-7.883-9.168-1.999-3.712-2.998-8.139-2.998-13.28H15c0 7.426 1.342 13.852 4.027 19.278 2.684 5.426 6.34 9.881 10.966 13.365 4.627 3.484 9.996 6.083 16.107 7.797 6.112 1.713 12.595 2.57 19.449 2.57 5.597 0 11.223-.657 16.878-1.97 5.655-1.314 10.767-3.428 15.336-6.34 4.57-2.914 8.31-6.683 11.224-11.31 2.913-4.626 4.37-10.195 4.37-16.707 0-6.054-1.115-11.08-3.342-15.079-2.228-3.998-5.198-7.31-8.91-9.938-3.713-2.627-7.911-4.712-12.595-6.254a170.83 170.83 0 00-14.308-4.027 549.669 549.669 0 00-14.308-3.17c-4.683-.971-8.881-2.2-12.594-3.684-3.713-1.485-6.683-3.399-8.91-5.74-2.228-2.342-3.342-5.398-3.342-9.168 0-3.998.771-7.34 2.313-10.024 1.543-2.685 3.599-4.826 6.17-6.426 2.57-1.599 5.51-2.741 8.824-3.427a49.767 49.767 0 0110.11-1.028c8.453 0 15.393 1.97 20.819 5.912 5.426 3.94 8.596 10.31 9.51 19.106z\&quot;/&gt;&lt;path d=\&quot;M5 54h118v16H5z\&quot;/&gt;&lt;/g&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/subscript&quot;: {
&quot;title&quot;: &quot;$:/core/images/subscript&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-subscript tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M2.272 16h19.91l21.649 33.675L66.414 16h18.708L53.585 61.969l33.809 49.443H67.082L43.296 74.93l-24.187 36.48H0L33.808 61.97 2.272 16zM127.91 128.412H85.328c.059-5.168 1.306-9.681 3.741-13.542 2.435-3.86 5.761-7.216 9.978-10.066a112.388 112.388 0 016.325-4.321 50.09 50.09 0 006.058-4.499c1.841-1.603 3.356-3.34 4.543-5.211 1.188-1.871 1.812-4.024 1.871-6.46 0-1.128-.133-2.33-.4-3.607a9.545 9.545 0 00-1.56-3.564c-.772-1.098-1.84-2.019-3.207-2.761-1.366-.743-3.148-1.114-5.345-1.114-2.02 0-3.697.4-5.033 1.203-1.337.801-2.406 1.9-3.208 3.296-.801 1.396-1.395 3.044-1.781 4.944-.386 1.9-.609 3.95-.668 6.147H86.486c0-3.445.46-6.637 1.38-9.577.921-2.94 2.302-5.478 4.143-7.617 1.841-2.138 4.083-3.815 6.726-5.033 2.643-1.217 5.716-1.826 9.22-1.826 3.802 0 6.979.623 9.533 1.87 2.554 1.248 4.617 2.822 6.191 4.722 1.574 1.9 2.688 3.965 3.341 6.192.653 2.227.98 4.35.98 6.37 0 2.494-.386 4.75-1.158 6.77a21.803 21.803 0 01-3.118 5.568 31.516 31.516 0 01-4.454 4.677 66.788 66.788 0 01-5.167 4.009 139.198 139.198 0 01-5.346 3.563 79.237 79.237 0 00-4.944 3.386c-1.514 1.128-2.836 2.3-3.964 3.518-1.129 1.218-1.9 2.51-2.317 3.876h30.379v9.087z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/superscript&quot;: {
&quot;title&quot;: &quot;$:/core/images/superscript&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-superscript tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M2.272 16h19.91l21.649 33.675L66.414 16h18.708L53.585 61.969l33.809 49.443H67.082L43.296 74.93l-24.187 36.48H0L33.808 61.97 2.272 16zM127.91 63.412H85.328c.059-5.168 1.306-9.681 3.741-13.542 2.435-3.86 5.761-7.216 9.978-10.066a112.388 112.388 0 016.325-4.321 50.09 50.09 0 006.058-4.499c1.841-1.603 3.356-3.34 4.543-5.211 1.188-1.871 1.812-4.024 1.871-6.46 0-1.128-.133-2.33-.4-3.607a9.545 9.545 0 00-1.56-3.564c-.772-1.098-1.84-2.019-3.207-2.761-1.366-.743-3.148-1.114-5.345-1.114-2.02 0-3.697.4-5.033 1.203-1.337.801-2.406 1.9-3.208 3.296-.801 1.396-1.395 3.044-1.781 4.944-.386 1.9-.609 3.95-.668 6.147H86.486c0-3.445.46-6.637 1.38-9.577.921-2.94 2.302-5.478 4.143-7.617 1.841-2.138 4.083-3.815 6.726-5.033 2.643-1.217 5.716-1.826 9.22-1.826 3.802 0 6.979.623 9.533 1.87 2.554 1.248 4.617 2.822 6.191 4.722 1.574 1.9 2.688 3.965 3.341 6.192.653 2.227.98 4.35.98 6.37 0 2.494-.386 4.75-1.158 6.77a21.803 21.803 0 01-3.118 5.568 31.516 31.516 0 01-4.454 4.677 66.788 66.788 0 01-5.167 4.009 139.198 139.198 0 01-5.346 3.563 79.237 79.237 0 00-4.944 3.386c-1.514 1.128-2.836 2.3-3.964 3.518-1.129 1.218-1.9 2.51-2.317 3.876h30.379v9.087z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/tag-button&quot;: {
&quot;title&quot;: &quot;$:/core/images/tag-button&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-tag-button tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;g fill-rule=\&quot;evenodd\&quot;&gt;&lt;path d=\&quot;M18.164 47.66l.004 4.105c.003 3.823 2.19 9.097 4.885 11.792l61.85 61.85c2.697 2.697 7.068 2.69 9.769-.01L125.767 94.3a6.903 6.903 0 00.01-9.77L63.928 22.683c-2.697-2.697-7.976-4.88-11.796-4.881l-27.076-.007a6.902 6.902 0 00-6.91 6.91l.008 9.96.287.033c3.73.411 8.489-.044 13.365-1.153a9.702 9.702 0 0111.14-3.662l.291-.13.128.285a9.7 9.7 0 013.3 2.17c3.796 3.796 3.801 9.945.012 13.734-3.618 3.618-9.386 3.777-13.204.482-5.365 1.122-10.674 1.596-15.309 1.237z\&quot;/&gt;&lt;path d=\&quot;M47.633 39.532l.023.051c-9.689 4.356-21.584 6.799-30.396 5.828C5.273 44.089-1.028 36.43 2.443 24.078 5.562 12.976 14.3 4.361 24.047 1.548c10.68-3.083 19.749 1.968 19.749 13.225h-8.623c0-4.859-3.078-6.573-8.735-4.94-6.91 1.995-13.392 8.383-15.694 16.577-1.915 6.818.417 9.653 7.46 10.43 7.126.785 17.531-1.352 25.917-5.121l.027.06.036-.017c1.76-.758 6.266 6.549 3.524 7.74a2.8 2.8 0 01-.075.03z\&quot;/&gt;&lt;/g&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/theme-button&quot;: {
&quot;title&quot;: &quot;$:/core/images/theme-button&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-theme-button tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;g fill-rule=\&quot;evenodd\&quot;&gt;&lt;path d=\&quot;M55.854 66.945a122.626 122.626 0 01-3.9-4.819c-11.064-14.548-16.645-6.888-22.96 0-6.315 6.888 1.664 12.47-4.33 17.335-5.993 4.866-5.623 6.552-15.737-2.35-10.115-8.9-10.815-11.351-6.172-16.43 4.644-5.08 8.524 2.918 18.01-6.108 9.485-9.026 1.517-17.026 1.517-17.026S42.03-2.824 68.42.157c26.39 2.982-9.984-3.86-19.031 27.801-3.874 13.556.72 10.362 8.066 16.087 1.707 1.33 6.428 4.732 12.671 9.318-6.129 5.879-11.157 10.669-14.273 13.582zm11.641 12.947c16.013 17.036 37.742 37.726 45.117 40.42 10.432 3.813 15.388-3.141 15.388-14.79 0-7.151-23.83-26.542-43.924-41.769-7.408 7.156-13.376 12.953-16.58 16.139z\&quot;/&gt;&lt;path d=\&quot;M11.069 109.828L46.31 74.587a3.56 3.56 0 115.037-5.032l15.098 15.098a3.56 3.56 0 11-5.032 5.037l-35.24 35.241c-4.171 4.17-10.933 4.17-15.104 0-4.17-4.17-4.17-10.933 0-15.103zM124.344 6.622l5.034 5.034-7.49 12.524-7.613 2.58L61.413 79.62l-5.034-5.034 52.861-52.862 2.58-7.614 12.524-7.49z\&quot;/&gt;&lt;/g&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/timestamp-off&quot;: {
&quot;title&quot;: &quot;$:/core/images/timestamp-off&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-timestamp-off tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;g fill-rule=\&quot;evenodd\&quot;&gt;&lt;path d=\&quot;M58.25 11C26.08 11 0 37.082 0 69.25s26.08 58.25 58.25 58.25c32.175 0 58.25-26.082 58.25-58.25S90.425 11 58.25 11zm0 100.5C34.914 111.5 16 92.586 16 69.25 16 45.92 34.914 27 58.25 27s42.25 18.92 42.25 42.25c0 23.336-18.914 42.25-42.25 42.25zM49.704 10a5 5 0 010-10H66.69a5 5 0 015 5c.006 2.757-2.238 5-5 5H49.705z\&quot;/&gt;&lt;path d=\&quot;M58.25 35.88c-18.777 0-33.998 15.224-33.998 33.998 0 18.773 15.22 34.002 33.998 34.002 18.784 0 34.002-15.23 34.002-34.002 0-18.774-15.218-33.998-34.002-33.998zm-3.03 50.123H44.196v-34H55.22v34zm16.976 0H61.17v-34h11.025v34z\&quot;/&gt;&lt;/g&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/timestamp-on&quot;: {
&quot;title&quot;: &quot;$:/core/images/timestamp-on&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-timestamp-on tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;g fill-rule=\&quot;evenodd\&quot;&gt;&lt;path d=\&quot;M58.25 11C26.08 11 0 37.082 0 69.25s26.08 58.25 58.25 58.25c32.175 0 58.25-26.082 58.25-58.25S90.425 11 58.25 11zm0 100.5C34.914 111.5 16 92.586 16 69.25 16 45.92 34.914 27 58.25 27s42.25 18.92 42.25 42.25c0 23.336-18.914 42.25-42.25 42.25zM49.704 10a5 5 0 010-10H66.69a5 5 0 015 5c.006 2.757-2.238 5-5 5H49.705z\&quot;/&gt;&lt;path d=\&quot;M13.41 27.178a5.005 5.005 0 01-7.045-.613 5.008 5.008 0 01.616-7.047l9.95-8.348a5 5 0 016.429 7.661l-9.95 8.348zm89.573 0a5.005 5.005 0 007.045-.613 5.008 5.008 0 00-.616-7.047l-9.95-8.348a5 5 0 00-6.428 7.661l9.95 8.348zM65.097 71.072c0 3.826-3.09 6.928-6.897 6.928-3.804.006-6.9-3.102-6.903-6.928 0 0 4.76-39.072 6.903-39.072s6.897 39.072 6.897 39.072z\&quot;/&gt;&lt;/g&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/tip&quot;: {
&quot;title&quot;: &quot;$:/core/images/tip&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-tip tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M64 128.242c35.346 0 64-28.654 64-64 0-35.346-28.654-64-64-64-35.346 0-64 28.654-64 64 0 35.346 28.654 64 64 64zm11.936-36.789c-.624 4.129-5.73 7.349-11.936 7.349-6.206 0-11.312-3.22-11.936-7.349C54.33 94.05 58.824 95.82 64 95.82c5.175 0 9.67-1.769 11.936-4.366zm0 4.492c-.624 4.13-5.73 7.349-11.936 7.349-6.206 0-11.312-3.22-11.936-7.349 2.266 2.597 6.76 4.366 11.936 4.366 5.175 0 9.67-1.769 11.936-4.366zm0 4.456c-.624 4.129-5.73 7.349-11.936 7.349-6.206 0-11.312-3.22-11.936-7.349 2.266 2.597 6.76 4.366 11.936 4.366 5.175 0 9.67-1.769 11.936-4.366zm0 4.492c-.624 4.13-5.73 7.349-11.936 7.349-6.206 0-11.312-3.22-11.936-7.349 2.266 2.597 6.76 4.366 11.936 4.366 5.175 0 9.67-1.769 11.936-4.366zM64.3 24.242c11.618 0 23.699 7.82 23.699 24.2S75.92 71.754 75.92 83.576c0 5.873-5.868 9.26-11.92 9.26s-12.027-3.006-12.027-9.26C51.973 71.147 40 65.47 40 48.442s12.683-24.2 24.301-24.2z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/transcludify&quot;: {
&quot;title&quot;: &quot;$:/core/images/transcludify&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-transcludify-button tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M0 59.482c.591 0 1.36-.089 2.306-.266a10.417 10.417 0 002.75-.932 6.762 6.762 0 002.306-1.907c.651-.828.976-1.863.976-3.104V35.709c0-2.01.414-3.74 1.242-5.19.828-1.448 1.833-2.66 3.016-3.636s2.425-1.7 3.726-2.173c1.3-.473 2.424-.71 3.37-.71h8.073v7.451h-4.88c-1.241 0-2.232.207-2.97.621-.74.414-1.302.932-1.686 1.552a4.909 4.909 0 00-.71 1.996c-.089.71-.133 1.39-.133 2.04v16.677c0 1.715-.325 3.134-.976 4.258-.65 1.123-1.434 2.025-2.35 2.705-.917.68-1.863 1.168-2.839 1.464-.976.296-1.818.473-2.528.532v.178c.71.059 1.552.207 2.528.443.976.237 1.922.68 2.839 1.33.916.651 1.7 1.583 2.35 2.795.65 1.212.976 2.853.976 4.923v16.144c0 .65.044 1.33.133 2.04.089.71.325 1.375.71 1.996.384.621.946 1.139 1.685 1.553.74.414 1.73.62 2.972.62h4.879v7.452h-8.073c-.946 0-2.07-.237-3.37-.71-1.301-.473-2.543-1.197-3.726-2.173-1.183-.976-2.188-2.188-3.016-3.637-.828-1.449-1.242-3.179-1.242-5.19V74.119c0-1.42-.325-2.572-.976-3.46-.65-.886-1.419-1.581-2.306-2.084a8.868 8.868 0 00-2.75-1.02C1.36 67.377.591 67.288 0 67.288v-7.806zm24.66 0c.591 0 1.36-.089 2.306-.266a10.417 10.417 0 002.75-.932 6.762 6.762 0 002.306-1.907c.65-.828.976-1.863.976-3.104V35.709c0-2.01.414-3.74 1.242-5.19.828-1.448 1.833-2.66 3.016-3.636s2.425-1.7 3.726-2.173c1.3-.473 2.424-.71 3.37-.71h8.073v7.451h-4.88c-1.241 0-2.232.207-2.97.621-.74.414-1.302.932-1.686 1.552a4.909 4.909 0 00-.71 1.996c-.089.71-.133 1.39-.133 2.04v16.677c0 1.715-.325 3.134-.976 4.258-.65 1.123-1.434 2.025-2.35 2.705-.917.68-1.863 1.168-2.839 1.464-.976.296-1.818.473-2.528.532v.178c.71.059 1.552.207 2.528.443.976.237 1.922.68 2.839 1.33.916.651 1.7 1.583 2.35 2.795.65 1.212.976 2.853.976 4.923v16.144c0 .65.044 1.33.133 2.04.089.71.325 1.375.71 1.996.384.621.946 1.139 1.685 1.553.74.414 1.73.62 2.972.62h4.879v7.452h-8.073c-.946 0-2.07-.237-3.37-.71-1.301-.473-2.543-1.197-3.726-2.173-1.183-.976-2.188-2.188-3.016-3.637-.828-1.449-1.242-3.179-1.242-5.19V74.119c0-1.42-.325-2.572-.976-3.46-.65-.886-1.419-1.581-2.306-2.084a8.868 8.868 0 00-2.75-1.02c-.946-.177-1.715-.266-2.306-.266v-7.806zm43.965-3.538L80.6 52.041l2.306 7.097-12.063 3.903 7.628 10.378-6.12 4.435-7.63-10.467-7.45 10.201-5.943-4.524 7.628-10.023-12.152-4.17 2.306-7.096 12.064 4.17V43.347h7.451v12.596zm34.425 11.344c-.65 0-1.449.089-2.395.266-.946.177-1.863.488-2.75.931a6.356 6.356 0 00-2.262 1.908c-.62.828-.931 1.862-.931 3.104v17.564c0 2.01-.414 3.74-1.242 5.189-.828 1.449-1.833 2.661-3.016 3.637s-2.425 1.7-3.726 2.173c-1.3.473-2.424.71-3.37.71h-8.073v-7.451h4.88c1.241 0 2.232-.207 2.97-.621.74-.414 1.302-.932 1.686-1.553a4.9 4.9 0 00.71-1.995c.089-.71.133-1.39.133-2.04V72.432c0-1.715.325-3.134.976-4.258.65-1.124 1.434-2.01 2.35-2.661.917-.65 1.863-1.124 2.839-1.42.976-.295 1.818-.502 2.528-.62v-.178c-.71-.059-1.552-.207-2.528-.443-.976-.237-1.922-.68-2.839-1.33-.916-.651-1.7-1.583-2.35-2.795-.65-1.212-.976-2.853-.976-4.923V37.66c0-.651-.044-1.331-.133-2.04a4.909 4.909 0 00-.71-1.997c-.384-.62-.946-1.138-1.685-1.552-.74-.414-1.73-.62-2.972-.62h-4.879V24h8.073c.946 0 2.07.237 3.37.71 1.301.473 2.543 1.197 3.726 2.173 1.183.976 2.188 2.188 3.016 3.637.828 1.449 1.242 3.178 1.242 5.189v16.943c0 1.419.31 2.572.931 3.46a6.897 6.897 0 002.262 2.084 8.868 8.868 0 002.75 1.02c.946.177 1.745.266 2.395.266v7.806zm24.66 0c-.65 0-1.449.089-2.395.266-.946.177-1.863.488-2.75.931a6.356 6.356 0 00-2.262 1.908c-.62.828-.931 1.862-.931 3.104v17.564c0 2.01-.414 3.74-1.242 5.189-.828 1.449-1.833 2.661-3.016 3.637s-2.425 1.7-3.726 2.173c-1.3.473-2.424.71-3.37.71h-8.073v-7.451h4.88c1.241 0 2.232-.207 2.97-.621.74-.414 1.302-.932 1.686-1.553a4.9 4.9 0 00.71-1.995c.089-.71.133-1.39.133-2.04V72.432c0-1.715.325-3.134.976-4.258.65-1.124 1.434-2.01 2.35-2.661.917-.65 1.863-1.124 2.839-1.42.976-.295 1.818-.502 2.528-.62v-.178c-.71-.059-1.552-.207-2.528-.443-.976-.237-1.922-.68-2.839-1.33-.916-.651-1.7-1.583-2.35-2.795-.65-1.212-.976-2.
},
&quot;$:/core/images/twitter&quot;: {
&quot;title&quot;: &quot;$:/core/images/twitter&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-twitter tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M41.626 115.803A73.376 73.376 0 012 104.235c2.022.238 4.08.36 6.166.36 12.111 0 23.258-4.117 32.105-11.023-11.312-.208-20.859-7.653-24.148-17.883a25.98 25.98 0 0011.674-.441C15.971 72.881 7.061 62.474 7.061 49.997c0-.108 0-.216.002-.323a25.824 25.824 0 0011.709 3.22c-6.936-4.617-11.5-12.5-11.5-21.433 0-4.719 1.274-9.142 3.5-12.945 12.75 15.579 31.797 25.83 53.281 26.904-.44-1.884-.67-3.85-.67-5.868 0-14.22 11.575-25.75 25.852-25.75a25.865 25.865 0 0118.869 8.132 51.892 51.892 0 0016.415-6.248c-1.93 6.012-6.029 11.059-11.366 14.246A51.844 51.844 0 00128 25.878a52.428 52.428 0 01-12.9 13.33c.05 1.104.075 2.214.075 3.33 0 34.028-26 73.265-73.549 73.265\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/underline&quot;: {
&quot;title&quot;: &quot;$:/core/images/underline&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-underline tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M7 117.421h114.248V128H7v-10.579zm97.871-18.525V0h-16.26v55.856c0 4.463-.605 8.576-1.816 12.338-1.212 3.762-3.03 7.046-5.452 9.851-2.423 2.806-5.452 4.974-9.086 6.504-3.635 1.53-7.939 2.296-12.912 2.296-6.25 0-11.159-1.786-14.73-5.356-3.57-3.571-5.356-8.417-5.356-14.538V0H23v65.038c0 5.356.542 10.234 1.626 14.633 1.084 4.4 2.965 8.194 5.643 11.382 2.678 3.188 6.185 5.643 10.52 7.365 4.337 1.721 9.756 2.582 16.26 2.582 7.27 0 13.582-1.435 18.938-4.304 5.356-2.87 9.755-7.365 13.199-13.486h.382v15.686h15.303z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/unfold-all-button&quot;: {
&quot;title&quot;: &quot;$:/core/images/unfold-all-button&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-unfold-all tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;g fill-rule=\&quot;evenodd\&quot;&gt;&lt;rect width=\&quot;128\&quot; height=\&quot;16\&quot; rx=\&quot;8\&quot;/&gt;&lt;rect width=\&quot;128\&quot; height=\&quot;16\&quot; y=\&quot;64\&quot; rx=\&quot;8\&quot;/&gt;&lt;path d=\&quot;M63.945 60.624c-2.05 0-4.101-.78-5.666-2.345L35.662 35.662c-3.125-3.125-3.13-8.195-.005-11.319 3.118-3.118 8.192-3.122 11.319.005L63.94 41.314l16.966-16.966c3.124-3.124 8.194-3.129 11.318-.005 3.118 3.118 3.122 8.192-.005 11.319L69.603 58.279a7.986 7.986 0 01-5.663 2.346zM64.004 124.565c-2.05 0-4.102-.78-5.666-2.345L35.721 99.603c-3.125-3.125-3.13-8.195-.005-11.319 3.118-3.118 8.191-3.122 11.318.005L64 105.255l16.966-16.966c3.124-3.124 8.194-3.129 11.318-.005 3.118 3.118 3.122 8.192-.005 11.319L69.662 122.22a7.986 7.986 0 01-5.663 2.346z\&quot;/&gt;&lt;/g&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/unfold-button&quot;: {
&quot;title&quot;: &quot;$:/core/images/unfold-button&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-unfold tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;g fill-rule=\&quot;evenodd\&quot;&gt;&lt;rect width=\&quot;128\&quot; height=\&quot;16\&quot; rx=\&quot;8\&quot;/&gt;&lt;path d=\&quot;M63.945 63.624c-2.05 0-4.101-.78-5.666-2.345L35.662 38.662c-3.125-3.125-3.13-8.195-.005-11.319 3.118-3.118 8.192-3.122 11.319.005L63.94 44.314l16.966-16.966c3.124-3.124 8.194-3.129 11.318-.005 3.118 3.118 3.122 8.192-.005 11.319L69.603 61.279a7.986 7.986 0 01-5.663 2.346zM64.004 105.682c-2.05.001-4.102-.78-5.666-2.344L35.721 80.721c-3.125-3.125-3.13-8.195-.005-11.319 3.118-3.118 8.191-3.122 11.318.005L64 86.373l16.966-16.966c3.124-3.125 8.194-3.13 11.318-.005 3.118 3.118 3.122 8.192-.005 11.319l-22.617 22.617a7.986 7.986 0 01-5.663 2.346z\&quot;/&gt;&lt;/g&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/unlocked-padlock&quot;: {
&quot;title&quot;: &quot;$:/core/images/unlocked-padlock&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-unlocked-padlock tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M48.627 64H105v32.01C105 113.674 90.674 128 73.001 128H56C38.318 128 24 113.677 24 96.01V64h6.136c-10.455-12.651-27.364-35.788-4.3-55.142 24.636-20.672 45.835 4.353 55.777 16.201 9.943 11.85-2.676 22.437-12.457 9.892-9.78-12.545-21.167-24.146-33.207-14.043-12.041 10.104-1.757 22.36 8.813 34.958 2.467 2.94 3.641 5.732 3.865 8.134zm19.105 28.364A8.503 8.503 0 0064.5 76a8.5 8.5 0 00-3.498 16.25l-5.095 22.77H72.8l-5.07-22.656z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/up-arrow&quot;: {
&quot;title&quot;: &quot;$:/core/images/up-arrow&quot;,
&quot;created&quot;: &quot;20150316000544368&quot;,
&quot;modified&quot;: &quot;20150316000831867&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-up-arrow tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path d=\&quot;M63.892.281c2.027 0 4.054.77 5.6 2.316l55.98 55.98a7.92 7.92 0 010 11.196c-3.086 3.085-8.104 3.092-11.196 0L63.894 19.393 13.513 69.774a7.92 7.92 0 01-11.196 0c-3.085-3.086-3.092-8.105 0-11.196l55.98-55.98A7.892 7.892 0 0163.893.28z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/video&quot;: {
&quot;title&quot;: &quot;$:/core/images/video&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-video tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M64 12c-34.91 0-55.273 2.917-58.182 5.833C2.91 20.75 0 41.167 0 64.5c0 23.333 2.91 43.75 5.818 46.667C8.728 114.083 29.091 117 64 117c34.91 0 55.273-2.917 58.182-5.833C125.09 108.25 128 87.833 128 64.5c0-23.333-2.91-43.75-5.818-46.667C119.272 14.917 98.909 12 64 12zm-9.084 32.618c-3.813-2.542-6.905-.879-6.905 3.698v31.368c0 4.585 3.099 6.235 6.905 3.698l22.168-14.779c3.813-2.542 3.806-6.669 0-9.206L54.916 44.618z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/core/images/warning&quot;: {
&quot;title&quot;: &quot;$:/core/images/warning&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; class=\&quot;tc-image-warning tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;&lt;path fill-rule=\&quot;evenodd\&quot; d=\&quot;M57.072 11c3.079-5.333 10.777-5.333 13.856 0l55.426 96c3.079 5.333-.77 12-6.928 12H8.574c-6.158 0-10.007-6.667-6.928-12l55.426-96zM64 37c-4.418 0-8 3.582-8 7.994v28.012C56 77.421 59.59 81 64 81c4.418 0 8-3.582 8-7.994V44.994C72 40.579 68.41 37 64 37zm0 67a8 8 0 100-16 8 8 0 000 16z\&quot;/&gt;&lt;/svg&gt;&quot;
},
&quot;$:/language/Buttons/AdvancedSearch/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/AdvancedSearch/Caption&quot;,
&quot;text&quot;: &quot;advanced search&quot;
},
&quot;$:/language/Buttons/AdvancedSearch/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/AdvancedSearch/Hint&quot;,
&quot;text&quot;: &quot;Advanced search&quot;
},
&quot;$:/language/Buttons/Cancel/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Cancel/Caption&quot;,
&quot;text&quot;: &quot;cancel&quot;
},
&quot;$:/language/Buttons/Cancel/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Cancel/Hint&quot;,
&quot;text&quot;: &quot;Discard changes to this tiddler&quot;
},
&quot;$:/language/Buttons/Clone/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Clone/Caption&quot;,
&quot;text&quot;: &quot;clone&quot;
},
&quot;$:/language/Buttons/Clone/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Clone/Hint&quot;,
&quot;text&quot;: &quot;Clone this tiddler&quot;
},
&quot;$:/language/Buttons/Close/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Close/Caption&quot;,
&quot;text&quot;: &quot;close&quot;
},
&quot;$:/language/Buttons/Close/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Close/Hint&quot;,
&quot;text&quot;: &quot;Close this tiddler&quot;
},
&quot;$:/language/Buttons/CloseAll/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/CloseAll/Caption&quot;,
&quot;text&quot;: &quot;close all&quot;
},
&quot;$:/language/Buttons/CloseAll/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/CloseAll/Hint&quot;,
&quot;text&quot;: &quot;Close all tiddlers&quot;
},
&quot;$:/language/Buttons/CloseOthers/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/CloseOthers/Caption&quot;,
&quot;text&quot;: &quot;close others&quot;
},
&quot;$:/language/Buttons/CloseOthers/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/CloseOthers/Hint&quot;,
&quot;text&quot;: &quot;Close other tiddlers&quot;
},
&quot;$:/language/Buttons/ControlPanel/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/ControlPanel/Caption&quot;,
&quot;text&quot;: &quot;control panel&quot;
},
&quot;$:/language/Buttons/ControlPanel/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/ControlPanel/Hint&quot;,
&quot;text&quot;: &quot;Open control panel&quot;
},
&quot;$:/language/Buttons/CopyToClipboard/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/CopyToClipboard/Caption&quot;,
&quot;text&quot;: &quot;copy to clipboard&quot;
},
&quot;$:/language/Buttons/CopyToClipboard/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/CopyToClipboard/Hint&quot;,
&quot;text&quot;: &quot;Copy this text to the clipboard&quot;
},
&quot;$:/language/Buttons/Delete/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Delete/Caption&quot;,
&quot;text&quot;: &quot;delete&quot;
},
&quot;$:/language/Buttons/Delete/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Delete/Hint&quot;,
&quot;text&quot;: &quot;Delete this tiddler&quot;
},
&quot;$:/language/Buttons/Edit/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Edit/Caption&quot;,
&quot;text&quot;: &quot;edit&quot;
},
&quot;$:/language/Buttons/Edit/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Edit/Hint&quot;,
&quot;text&quot;: &quot;Edit this tiddler&quot;
},
&quot;$:/language/Buttons/Encryption/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Encryption/Caption&quot;,
&quot;text&quot;: &quot;encryption&quot;
},
&quot;$:/language/Buttons/Encryption/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Encryption/Hint&quot;,
&quot;text&quot;: &quot;Set or clear a password for saving this wiki&quot;
},
&quot;$:/language/Buttons/Encryption/ClearPassword/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Encryption/ClearPassword/Caption&quot;,
&quot;text&quot;: &quot;clear password&quot;
},
&quot;$:/language/Buttons/Encryption/ClearPassword/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Encryption/ClearPassword/Hint&quot;,
&quot;text&quot;: &quot;Clear the password and save this wiki without encryption&quot;
},
&quot;$:/language/Buttons/Encryption/SetPassword/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Encryption/SetPassword/Caption&quot;,
&quot;text&quot;: &quot;set password&quot;
},
&quot;$:/language/Buttons/Encryption/SetPassword/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Encryption/SetPassword/Hint&quot;,
&quot;text&quot;: &quot;Set a password for saving this wiki with encryption&quot;
},
&quot;$:/language/Buttons/ExportPage/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/ExportPage/Caption&quot;,
&quot;text&quot;: &quot;export all&quot;
},
&quot;$:/language/Buttons/ExportPage/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/ExportPage/Hint&quot;,
&quot;text&quot;: &quot;Export all tiddlers&quot;
},
&quot;$:/language/Buttons/ExportTiddler/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/ExportTiddler/Caption&quot;,
&quot;text&quot;: &quot;export tiddler&quot;
},
&quot;$:/language/Buttons/ExportTiddler/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/ExportTiddler/Hint&quot;,
&quot;text&quot;: &quot;Export tiddler&quot;
},
&quot;$:/language/Buttons/ExportTiddlers/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/ExportTiddlers/Caption&quot;,
&quot;text&quot;: &quot;export tiddlers&quot;
},
&quot;$:/language/Buttons/ExportTiddlers/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/ExportTiddlers/Hint&quot;,
&quot;text&quot;: &quot;Export tiddlers&quot;
},
&quot;$:/language/Buttons/SidebarSearch/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/SidebarSearch/Hint&quot;,
&quot;text&quot;: &quot;Select the sidebar search field&quot;
},
&quot;$:/language/Buttons/Fold/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Fold/Caption&quot;,
&quot;text&quot;: &quot;fold tiddler&quot;
},
&quot;$:/language/Buttons/Fold/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Fold/Hint&quot;,
&quot;text&quot;: &quot;Fold the body of this tiddler&quot;
},
&quot;$:/language/Buttons/Fold/FoldBar/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Fold/FoldBar/Caption&quot;,
&quot;text&quot;: &quot;fold-bar&quot;
},
&quot;$:/language/Buttons/Fold/FoldBar/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Fold/FoldBar/Hint&quot;,
&quot;text&quot;: &quot;Optional bars to fold and unfold tiddlers&quot;
},
&quot;$:/language/Buttons/Unfold/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Unfold/Caption&quot;,
&quot;text&quot;: &quot;unfold tiddler&quot;
},
&quot;$:/language/Buttons/Unfold/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Unfold/Hint&quot;,
&quot;text&quot;: &quot;Unfold the body of this tiddler&quot;
},
&quot;$:/language/Buttons/FoldOthers/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/FoldOthers/Caption&quot;,
&quot;text&quot;: &quot;fold other tiddlers&quot;
},
&quot;$:/language/Buttons/FoldOthers/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/FoldOthers/Hint&quot;,
&quot;text&quot;: &quot;Fold the bodies of other opened tiddlers&quot;
},
&quot;$:/language/Buttons/FoldAll/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/FoldAll/Caption&quot;,
&quot;text&quot;: &quot;fold all tiddlers&quot;
},
&quot;$:/language/Buttons/FoldAll/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/FoldAll/Hint&quot;,
&quot;text&quot;: &quot;Fold the bodies of all opened tiddlers&quot;
},
&quot;$:/language/Buttons/UnfoldAll/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/UnfoldAll/Caption&quot;,
&quot;text&quot;: &quot;unfold all tiddlers&quot;
},
&quot;$:/language/Buttons/UnfoldAll/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/UnfoldAll/Hint&quot;,
&quot;text&quot;: &quot;Unfold the bodies of all opened tiddlers&quot;
},
&quot;$:/language/Buttons/FullScreen/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/FullScreen/Caption&quot;,
&quot;text&quot;: &quot;full-screen&quot;
},
&quot;$:/language/Buttons/FullScreen/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/FullScreen/Hint&quot;,
&quot;text&quot;: &quot;Enter or leave full-screen mode&quot;
},
&quot;$:/language/Buttons/Help/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Help/Caption&quot;,
&quot;text&quot;: &quot;help&quot;
},
&quot;$:/language/Buttons/Help/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Help/Hint&quot;,
&quot;text&quot;: &quot;Show help panel&quot;
},
&quot;$:/language/Buttons/Import/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Import/Caption&quot;,
&quot;text&quot;: &quot;import&quot;
},
&quot;$:/language/Buttons/Import/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Import/Hint&quot;,
&quot;text&quot;: &quot;Import many types of file including text, image, TiddlyWiki or JSON&quot;
},
&quot;$:/language/Buttons/Info/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Info/Caption&quot;,
&quot;text&quot;: &quot;info&quot;
},
&quot;$:/language/Buttons/Info/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Info/Hint&quot;,
&quot;text&quot;: &quot;Show information for this tiddler&quot;
},
&quot;$:/language/Buttons/Home/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Home/Caption&quot;,
&quot;text&quot;: &quot;home&quot;
},
&quot;$:/language/Buttons/Home/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Home/Hint&quot;,
&quot;text&quot;: &quot;Open the default tiddlers&quot;
},
&quot;$:/language/Buttons/Language/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Language/Caption&quot;,
&quot;text&quot;: &quot;language&quot;
},
&quot;$:/language/Buttons/Language/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Language/Hint&quot;,
&quot;text&quot;: &quot;Choose the user interface language&quot;
},
&quot;$:/language/Buttons/Manager/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Manager/Caption&quot;,
&quot;text&quot;: &quot;tiddler manager&quot;
},
&quot;$:/language/Buttons/Manager/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Manager/Hint&quot;,
&quot;text&quot;: &quot;Open tiddler manager&quot;
},
&quot;$:/language/Buttons/More/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/More/Caption&quot;,
&quot;text&quot;: &quot;more&quot;
},
&quot;$:/language/Buttons/More/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/More/Hint&quot;,
&quot;text&quot;: &quot;More actions&quot;
},
&quot;$:/language/Buttons/NewHere/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/NewHere/Caption&quot;,
&quot;text&quot;: &quot;new here&quot;
},
&quot;$:/language/Buttons/NewHere/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/NewHere/Hint&quot;,
&quot;text&quot;: &quot;Create a new tiddler tagged with this one&quot;
},
&quot;$:/language/Buttons/NewJournal/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/NewJournal/Caption&quot;,
&quot;text&quot;: &quot;new journal&quot;
},
&quot;$:/language/Buttons/NewJournal/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/NewJournal/Hint&quot;,
&quot;text&quot;: &quot;Create a new journal tiddler&quot;
},
&quot;$:/language/Buttons/NewJournalHere/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/NewJournalHere/Caption&quot;,
&quot;text&quot;: &quot;new journal here&quot;
},
&quot;$:/language/Buttons/NewJournalHere/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/NewJournalHere/Hint&quot;,
&quot;text&quot;: &quot;Create a new journal tiddler tagged with this one&quot;
},
&quot;$:/language/Buttons/NewImage/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/NewImage/Caption&quot;,
&quot;text&quot;: &quot;new image&quot;
},
&quot;$:/language/Buttons/NewImage/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/NewImage/Hint&quot;,
&quot;text&quot;: &quot;Create a new image tiddler&quot;
},
&quot;$:/language/Buttons/NewMarkdown/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/NewMarkdown/Caption&quot;,
&quot;text&quot;: &quot;new Markdown tiddler&quot;
},
&quot;$:/language/Buttons/NewMarkdown/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/NewMarkdown/Hint&quot;,
&quot;text&quot;: &quot;Create a new Markdown tiddler&quot;
},
&quot;$:/language/Buttons/NewTiddler/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/NewTiddler/Caption&quot;,
&quot;text&quot;: &quot;new tiddler&quot;
},
&quot;$:/language/Buttons/NewTiddler/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/NewTiddler/Hint&quot;,
&quot;text&quot;: &quot;Create a new tiddler&quot;
},
&quot;$:/language/Buttons/OpenWindow/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/OpenWindow/Caption&quot;,
&quot;text&quot;: &quot;open in new window&quot;
},
&quot;$:/language/Buttons/OpenWindow/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/OpenWindow/Hint&quot;,
&quot;text&quot;: &quot;Open tiddler in new window&quot;
},
&quot;$:/language/Buttons/Palette/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Palette/Caption&quot;,
&quot;text&quot;: &quot;palette&quot;
},
&quot;$:/language/Buttons/Palette/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Palette/Hint&quot;,
&quot;text&quot;: &quot;Choose the colour palette&quot;
},
&quot;$:/language/Buttons/Permalink/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Permalink/Caption&quot;,
&quot;text&quot;: &quot;permalink&quot;
},
&quot;$:/language/Buttons/Permalink/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Permalink/Hint&quot;,
&quot;text&quot;: &quot;Set browser address bar to a direct link to this tiddler&quot;
},
&quot;$:/language/Buttons/Permaview/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Permaview/Caption&quot;,
&quot;text&quot;: &quot;permaview&quot;
},
&quot;$:/language/Buttons/Permaview/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Permaview/Hint&quot;,
&quot;text&quot;: &quot;Set browser address bar to a direct link to all the tiddlers in this story&quot;
},
&quot;$:/language/Buttons/Print/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Print/Caption&quot;,
&quot;text&quot;: &quot;print page&quot;
},
&quot;$:/language/Buttons/Print/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Print/Hint&quot;,
&quot;text&quot;: &quot;Print the current page&quot;
},
&quot;$:/language/Buttons/Refresh/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Refresh/Caption&quot;,
&quot;text&quot;: &quot;refresh&quot;
},
&quot;$:/language/Buttons/Refresh/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Refresh/Hint&quot;,
&quot;text&quot;: &quot;Perform a full refresh of the wiki&quot;
},
&quot;$:/language/Buttons/Save/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Save/Caption&quot;,
&quot;text&quot;: &quot;ok&quot;
},
&quot;$:/language/Buttons/Save/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Save/Hint&quot;,
&quot;text&quot;: &quot;Confirm changes to this tiddler&quot;
},
&quot;$:/language/Buttons/SaveWiki/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/SaveWiki/Caption&quot;,
&quot;text&quot;: &quot;save changes&quot;
},
&quot;$:/language/Buttons/SaveWiki/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/SaveWiki/Hint&quot;,
&quot;text&quot;: &quot;Save changes&quot;
},
&quot;$:/language/Buttons/StoryView/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/StoryView/Caption&quot;,
&quot;text&quot;: &quot;storyview&quot;
},
&quot;$:/language/Buttons/StoryView/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/StoryView/Hint&quot;,
&quot;text&quot;: &quot;Choose the story visualisation&quot;
},
&quot;$:/language/Buttons/HideSideBar/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/HideSideBar/Caption&quot;,
&quot;text&quot;: &quot;hide sidebar&quot;
},
&quot;$:/language/Buttons/HideSideBar/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/HideSideBar/Hint&quot;,
&quot;text&quot;: &quot;Hide sidebar&quot;
},
&quot;$:/language/Buttons/ShowSideBar/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/ShowSideBar/Caption&quot;,
&quot;text&quot;: &quot;show sidebar&quot;
},
&quot;$:/language/Buttons/ShowSideBar/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/ShowSideBar/Hint&quot;,
&quot;text&quot;: &quot;Show sidebar&quot;
},
&quot;$:/language/Buttons/TagManager/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/TagManager/Caption&quot;,
&quot;text&quot;: &quot;tag manager&quot;
},
&quot;$:/language/Buttons/TagManager/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/TagManager/Hint&quot;,
&quot;text&quot;: &quot;Open tag manager&quot;
},
&quot;$:/language/Buttons/Timestamp/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Timestamp/Caption&quot;,
&quot;text&quot;: &quot;timestamps&quot;
},
&quot;$:/language/Buttons/Timestamp/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Timestamp/Hint&quot;,
&quot;text&quot;: &quot;Choose whether modifications update timestamps&quot;
},
&quot;$:/language/Buttons/Timestamp/On/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Timestamp/On/Caption&quot;,
&quot;text&quot;: &quot;timestamps are on&quot;
},
&quot;$:/language/Buttons/Timestamp/On/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Timestamp/On/Hint&quot;,
&quot;text&quot;: &quot;Update timestamps when tiddlers are modified&quot;
},
&quot;$:/language/Buttons/Timestamp/Off/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Timestamp/Off/Caption&quot;,
&quot;text&quot;: &quot;timestamps are off&quot;
},
&quot;$:/language/Buttons/Timestamp/Off/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Timestamp/Off/Hint&quot;,
&quot;text&quot;: &quot;Don't update timestamps when tiddlers are modified&quot;
},
&quot;$:/language/Buttons/Theme/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Theme/Caption&quot;,
&quot;text&quot;: &quot;theme&quot;
},
&quot;$:/language/Buttons/Theme/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Theme/Hint&quot;,
&quot;text&quot;: &quot;Choose the display theme&quot;
},
&quot;$:/language/Buttons/Bold/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Bold/Caption&quot;,
&quot;text&quot;: &quot;bold&quot;
},
&quot;$:/language/Buttons/Bold/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Bold/Hint&quot;,
&quot;text&quot;: &quot;Apply bold formatting to selection&quot;
},
&quot;$:/language/Buttons/Clear/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Clear/Caption&quot;,
&quot;text&quot;: &quot;clear&quot;
},
&quot;$:/language/Buttons/Clear/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Clear/Hint&quot;,
&quot;text&quot;: &quot;Clear image to solid colour&quot;
},
&quot;$:/language/Buttons/EditorHeight/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/EditorHeight/Caption&quot;,
&quot;text&quot;: &quot;editor height&quot;
},
&quot;$:/language/Buttons/EditorHeight/Caption/Auto&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/EditorHeight/Caption/Auto&quot;,
&quot;text&quot;: &quot;Automatically adjust height to fit content&quot;
},
&quot;$:/language/Buttons/EditorHeight/Caption/Fixed&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/EditorHeight/Caption/Fixed&quot;,
&quot;text&quot;: &quot;Fixed height:&quot;
},
&quot;$:/language/Buttons/EditorHeight/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/EditorHeight/Hint&quot;,
&quot;text&quot;: &quot;Choose the height of the text editor&quot;
},
&quot;$:/language/Buttons/Excise/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Excise/Caption&quot;,
&quot;text&quot;: &quot;excise&quot;
},
&quot;$:/language/Buttons/Excise/Caption/Excise&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Excise/Caption/Excise&quot;,
&quot;text&quot;: &quot;Perform excision&quot;
},
&quot;$:/language/Buttons/Excise/Caption/MacroName&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Excise/Caption/MacroName&quot;,
&quot;text&quot;: &quot;Macro name:&quot;
},
&quot;$:/language/Buttons/Excise/Caption/NewTitle&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Excise/Caption/NewTitle&quot;,
&quot;text&quot;: &quot;Title of new tiddler:&quot;
},
&quot;$:/language/Buttons/Excise/Caption/Replace&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Excise/Caption/Replace&quot;,
&quot;text&quot;: &quot;Replace excised text with:&quot;
},
&quot;$:/language/Buttons/Excise/Caption/Replace/Macro&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Excise/Caption/Replace/Macro&quot;,
&quot;text&quot;: &quot;macro&quot;
},
&quot;$:/language/Buttons/Excise/Caption/Replace/Link&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Excise/Caption/Replace/Link&quot;,
&quot;text&quot;: &quot;link&quot;
},
&quot;$:/language/Buttons/Excise/Caption/Replace/Transclusion&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Excise/Caption/Replace/Transclusion&quot;,
&quot;text&quot;: &quot;transclusion&quot;
},
&quot;$:/language/Buttons/Excise/Caption/Tag&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Excise/Caption/Tag&quot;,
&quot;text&quot;: &quot;Tag new tiddler with the title of this tiddler&quot;
},
&quot;$:/language/Buttons/Excise/Caption/TiddlerExists&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Excise/Caption/TiddlerExists&quot;,
&quot;text&quot;: &quot;Warning: tiddler already exists&quot;
},
&quot;$:/language/Buttons/Excise/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Excise/Hint&quot;,
&quot;text&quot;: &quot;Excise the selected text into a new tiddler&quot;
},
&quot;$:/language/Buttons/Heading1/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Heading1/Caption&quot;,
&quot;text&quot;: &quot;heading 1&quot;
},
&quot;$:/language/Buttons/Heading1/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Heading1/Hint&quot;,
&quot;text&quot;: &quot;Apply heading level 1 formatting to lines containing selection&quot;
},
&quot;$:/language/Buttons/Heading2/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Heading2/Caption&quot;,
&quot;text&quot;: &quot;heading 2&quot;
},
&quot;$:/language/Buttons/Heading2/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Heading2/Hint&quot;,
&quot;text&quot;: &quot;Apply heading level 2 formatting to lines containing selection&quot;
},
&quot;$:/language/Buttons/Heading3/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Heading3/Caption&quot;,
&quot;text&quot;: &quot;heading 3&quot;
},
&quot;$:/language/Buttons/Heading3/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Heading3/Hint&quot;,
&quot;text&quot;: &quot;Apply heading level 3 formatting to lines containing selection&quot;
},
&quot;$:/language/Buttons/Heading4/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Heading4/Caption&quot;,
&quot;text&quot;: &quot;heading 4&quot;
},
&quot;$:/language/Buttons/Heading4/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Heading4/Hint&quot;,
&quot;text&quot;: &quot;Apply heading level 4 formatting to lines containing selection&quot;
},
&quot;$:/language/Buttons/Heading5/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Heading5/Caption&quot;,
&quot;text&quot;: &quot;heading 5&quot;
},
&quot;$:/language/Buttons/Heading5/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Heading5/Hint&quot;,
&quot;text&quot;: &quot;Apply heading level 5 formatting to lines containing selection&quot;
},
&quot;$:/language/Buttons/Heading6/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Heading6/Caption&quot;,
&quot;text&quot;: &quot;heading 6&quot;
},
&quot;$:/language/Buttons/Heading6/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Heading6/Hint&quot;,
&quot;text&quot;: &quot;Apply heading level 6 formatting to lines containing selection&quot;
},
&quot;$:/language/Buttons/Italic/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Italic/Caption&quot;,
&quot;text&quot;: &quot;italic&quot;
},
&quot;$:/language/Buttons/Italic/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Italic/Hint&quot;,
&quot;text&quot;: &quot;Apply italic formatting to selection&quot;
},
&quot;$:/language/Buttons/LineWidth/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/LineWidth/Caption&quot;,
&quot;text&quot;: &quot;line width&quot;
},
&quot;$:/language/Buttons/LineWidth/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/LineWidth/Hint&quot;,
&quot;text&quot;: &quot;Set line width for painting&quot;
},
&quot;$:/language/Buttons/Link/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Link/Caption&quot;,
&quot;text&quot;: &quot;link&quot;
},
&quot;$:/language/Buttons/Link/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Link/Hint&quot;,
&quot;text&quot;: &quot;Create wikitext link&quot;
},
&quot;$:/language/Buttons/Linkify/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Linkify/Caption&quot;,
&quot;text&quot;: &quot;wikilink&quot;
},
&quot;$:/language/Buttons/Linkify/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Linkify/Hint&quot;,
&quot;text&quot;: &quot;Wrap selection in square brackets&quot;
},
&quot;$:/language/Buttons/ListBullet/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/ListBullet/Caption&quot;,
&quot;text&quot;: &quot;bulleted list&quot;
},
&quot;$:/language/Buttons/ListBullet/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/ListBullet/Hint&quot;,
&quot;text&quot;: &quot;Apply bulleted list formatting to lines containing selection&quot;
},
&quot;$:/language/Buttons/ListNumber/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/ListNumber/Caption&quot;,
&quot;text&quot;: &quot;numbered list&quot;
},
&quot;$:/language/Buttons/ListNumber/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/ListNumber/Hint&quot;,
&quot;text&quot;: &quot;Apply numbered list formatting to lines containing selection&quot;
},
&quot;$:/language/Buttons/MonoBlock/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/MonoBlock/Caption&quot;,
&quot;text&quot;: &quot;monospaced block&quot;
},
&quot;$:/language/Buttons/MonoBlock/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/MonoBlock/Hint&quot;,
&quot;text&quot;: &quot;Apply monospaced block formatting to lines containing selection&quot;
},
&quot;$:/language/Buttons/MonoLine/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/MonoLine/Caption&quot;,
&quot;text&quot;: &quot;monospaced&quot;
},
&quot;$:/language/Buttons/MonoLine/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/MonoLine/Hint&quot;,
&quot;text&quot;: &quot;Apply monospaced character formatting to selection&quot;
},
&quot;$:/language/Buttons/Opacity/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Opacity/Caption&quot;,
&quot;text&quot;: &quot;opacity&quot;
},
&quot;$:/language/Buttons/Opacity/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Opacity/Hint&quot;,
&quot;text&quot;: &quot;Set painting opacity&quot;
},
&quot;$:/language/Buttons/Paint/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Paint/Caption&quot;,
&quot;text&quot;: &quot;paint colour&quot;
},
&quot;$:/language/Buttons/Paint/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Paint/Hint&quot;,
&quot;text&quot;: &quot;Set painting colour&quot;
},
&quot;$:/language/Buttons/Picture/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Picture/Caption&quot;,
&quot;text&quot;: &quot;picture&quot;
},
&quot;$:/language/Buttons/Picture/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Picture/Hint&quot;,
&quot;text&quot;: &quot;Insert picture&quot;
},
&quot;$:/language/Buttons/Preview/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Preview/Caption&quot;,
&quot;text&quot;: &quot;preview&quot;
},
&quot;$:/language/Buttons/Preview/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Preview/Hint&quot;,
&quot;text&quot;: &quot;Show preview pane&quot;
},
&quot;$:/language/Buttons/PreviewType/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/PreviewType/Caption&quot;,
&quot;text&quot;: &quot;preview type&quot;
},
&quot;$:/language/Buttons/PreviewType/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/PreviewType/Hint&quot;,
&quot;text&quot;: &quot;Choose preview type&quot;
},
&quot;$:/language/Buttons/Quote/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Quote/Caption&quot;,
&quot;text&quot;: &quot;quote&quot;
},
&quot;$:/language/Buttons/Quote/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Quote/Hint&quot;,
&quot;text&quot;: &quot;Apply quoted text formatting to lines containing selection&quot;
},
&quot;$:/language/Buttons/RotateLeft/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/RotateLeft/Caption&quot;,
&quot;text&quot;: &quot;rotate left&quot;
},
&quot;$:/language/Buttons/RotateLeft/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/RotateLeft/Hint&quot;,
&quot;text&quot;: &quot;Rotate image left by 90 degrees&quot;
},
&quot;$:/language/Buttons/Size/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Size/Caption&quot;,
&quot;text&quot;: &quot;image size&quot;
},
&quot;$:/language/Buttons/Size/Caption/Height&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Size/Caption/Height&quot;,
&quot;text&quot;: &quot;Height:&quot;
},
&quot;$:/language/Buttons/Size/Caption/Resize&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Size/Caption/Resize&quot;,
&quot;text&quot;: &quot;Resize image&quot;
},
&quot;$:/language/Buttons/Size/Caption/Width&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Size/Caption/Width&quot;,
&quot;text&quot;: &quot;Width:&quot;
},
&quot;$:/language/Buttons/Size/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Size/Hint&quot;,
&quot;text&quot;: &quot;Set image size&quot;
},
&quot;$:/language/Buttons/Stamp/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Stamp/Caption&quot;,
&quot;text&quot;: &quot;stamp&quot;
},
&quot;$:/language/Buttons/Stamp/Caption/New&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Stamp/Caption/New&quot;,
&quot;text&quot;: &quot;Add your own&quot;
},
&quot;$:/language/Buttons/Stamp/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Stamp/Hint&quot;,
&quot;text&quot;: &quot;Insert a preconfigured snippet of text&quot;
},
&quot;$:/language/Buttons/Stamp/New/Title&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Stamp/New/Title&quot;,
&quot;text&quot;: &quot;Name as shown in menu&quot;
},
&quot;$:/language/Buttons/Stamp/New/Text&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Stamp/New/Text&quot;,
&quot;text&quot;: &quot;Text of snippet. (Remember to add a descriptive title in the caption field).&quot;
},
&quot;$:/language/Buttons/Strikethrough/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Strikethrough/Caption&quot;,
&quot;text&quot;: &quot;strikethrough&quot;
},
&quot;$:/language/Buttons/Strikethrough/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Strikethrough/Hint&quot;,
&quot;text&quot;: &quot;Apply strikethrough formatting to selection&quot;
},
&quot;$:/language/Buttons/Subscript/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Subscript/Caption&quot;,
&quot;text&quot;: &quot;subscript&quot;
},
&quot;$:/language/Buttons/Subscript/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Subscript/Hint&quot;,
&quot;text&quot;: &quot;Apply subscript formatting to selection&quot;
},
&quot;$:/language/Buttons/Superscript/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Superscript/Caption&quot;,
&quot;text&quot;: &quot;superscript&quot;
},
&quot;$:/language/Buttons/Superscript/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Superscript/Hint&quot;,
&quot;text&quot;: &quot;Apply superscript formatting to selection&quot;
},
&quot;$:/language/Buttons/ToggleSidebar/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/ToggleSidebar/Hint&quot;,
&quot;text&quot;: &quot;Toggle the sidebar visibility&quot;
},
&quot;$:/language/Buttons/Transcludify/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Transcludify/Caption&quot;,
&quot;text&quot;: &quot;transclusion&quot;
},
&quot;$:/language/Buttons/Transcludify/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Transcludify/Hint&quot;,
&quot;text&quot;: &quot;Wrap selection in curly brackets&quot;
},
&quot;$:/language/Buttons/Underline/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Underline/Caption&quot;,
&quot;text&quot;: &quot;underline&quot;
},
&quot;$:/language/Buttons/Underline/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Buttons/Underline/Hint&quot;,
&quot;text&quot;: &quot;Apply underline formatting to selection&quot;
},
&quot;$:/language/ControlPanel/Advanced/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Advanced/Caption&quot;,
&quot;text&quot;: &quot;Advanced&quot;
},
&quot;$:/language/ControlPanel/Advanced/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Advanced/Hint&quot;,
&quot;text&quot;: &quot;Internal information about this TiddlyWiki&quot;
},
&quot;$:/language/ControlPanel/Appearance/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Appearance/Caption&quot;,
&quot;text&quot;: &quot;Appearance&quot;
},
&quot;$:/language/ControlPanel/Appearance/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Appearance/Hint&quot;,
&quot;text&quot;: &quot;Ways to customise the appearance of your TiddlyWiki.&quot;
},
&quot;$:/language/ControlPanel/Basics/AnimDuration/Prompt&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Basics/AnimDuration/Prompt&quot;,
&quot;text&quot;: &quot;Animation duration&quot;
},
&quot;$:/language/ControlPanel/Basics/AutoFocus/Prompt&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Basics/AutoFocus/Prompt&quot;,
&quot;text&quot;: &quot;Default focus field for new tiddlers&quot;
},
&quot;$:/language/ControlPanel/Basics/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Basics/Caption&quot;,
&quot;text&quot;: &quot;Basics&quot;
},
&quot;$:/language/ControlPanel/Basics/DefaultTiddlers/BottomHint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Basics/DefaultTiddlers/BottomHint&quot;,
&quot;text&quot;: &quot;Use &amp;#91;&amp;#91;double square brackets&amp;#93;&amp;#93; for titles with spaces. Or you can choose to &lt;$button set=\&quot;$:/DefaultTiddlers\&quot; setTo=\&quot;[list[$:/StoryList]]\&quot;&gt;retain story ordering&lt;/$button&gt;&quot;
},
&quot;$:/language/ControlPanel/Basics/DefaultTiddlers/Prompt&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Basics/DefaultTiddlers/Prompt&quot;,
&quot;text&quot;: &quot;Default tiddlers&quot;
},
&quot;$:/language/ControlPanel/Basics/DefaultTiddlers/TopHint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Basics/DefaultTiddlers/TopHint&quot;,
&quot;text&quot;: &quot;Choose which tiddlers are displayed at startup&quot;
},
&quot;$:/language/ControlPanel/Basics/Language/Prompt&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Basics/Language/Prompt&quot;,
&quot;text&quot;: &quot;Hello! Current language:&quot;
},
&quot;$:/language/ControlPanel/Basics/NewJournal/Title/Prompt&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Basics/NewJournal/Title/Prompt&quot;,
&quot;text&quot;: &quot;Title of new journal tiddlers&quot;
},
&quot;$:/language/ControlPanel/Basics/NewJournal/Text/Prompt&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Basics/NewJournal/Text/Prompt&quot;,
&quot;text&quot;: &quot;Text for new journal tiddlers&quot;
},
&quot;$:/language/ControlPanel/Basics/NewJournal/Tags/Prompt&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Basics/NewJournal/Tags/Prompt&quot;,
&quot;text&quot;: &quot;Tags for new journal tiddlers&quot;
},
&quot;$:/language/ControlPanel/Basics/NewTiddler/Title/Prompt&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Basics/NewTiddler/Title/Prompt&quot;,
&quot;text&quot;: &quot;Title of new tiddlers&quot;
},
&quot;$:/language/ControlPanel/Basics/NewTiddler/Tags/Prompt&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Basics/NewTiddler/Tags/Prompt&quot;,
&quot;text&quot;: &quot;Tags for new tiddlers&quot;
},
&quot;$:/language/ControlPanel/Basics/OverriddenShadowTiddlers/Prompt&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Basics/OverriddenShadowTiddlers/Prompt&quot;,
&quot;text&quot;: &quot;Number of overridden shadow tiddlers&quot;
},
&quot;$:/language/ControlPanel/Basics/RemoveTags&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Basics/RemoveTags&quot;,
&quot;text&quot;: &quot;Update to current format&quot;
},
&quot;$:/language/ControlPanel/Basics/RemoveTags/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Basics/RemoveTags/Hint&quot;,
&quot;text&quot;: &quot;Update the tags configuration to the latest format&quot;
},
&quot;$:/language/ControlPanel/Basics/ShadowTiddlers/Prompt&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Basics/ShadowTiddlers/Prompt&quot;,
&quot;text&quot;: &quot;Number of shadow tiddlers&quot;
},
&quot;$:/language/ControlPanel/Basics/Subtitle/Prompt&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Basics/Subtitle/Prompt&quot;,
&quot;text&quot;: &quot;Subtitle&quot;
},
&quot;$:/language/ControlPanel/Basics/SystemTiddlers/Prompt&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Basics/SystemTiddlers/Prompt&quot;,
&quot;text&quot;: &quot;Number of system tiddlers&quot;
},
&quot;$:/language/ControlPanel/Basics/Tags/Prompt&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Basics/Tags/Prompt&quot;,
&quot;text&quot;: &quot;Number of tags&quot;
},
&quot;$:/language/ControlPanel/Basics/Tiddlers/Prompt&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Basics/Tiddlers/Prompt&quot;,
&quot;text&quot;: &quot;Number of tiddlers&quot;
},
&quot;$:/language/ControlPanel/Basics/Title/Prompt&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Basics/Title/Prompt&quot;,
&quot;text&quot;: &quot;Title of this ~TiddlyWiki&quot;
},
&quot;$:/language/ControlPanel/Basics/Username/Prompt&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Basics/Username/Prompt&quot;,
&quot;text&quot;: &quot;Username for signing edits&quot;
},
&quot;$:/language/ControlPanel/Basics/Version/Prompt&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Basics/Version/Prompt&quot;,
&quot;text&quot;: &quot;~TiddlyWiki version&quot;
},
&quot;$:/language/ControlPanel/EditorTypes/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/EditorTypes/Caption&quot;,
&quot;text&quot;: &quot;Editor Types&quot;
},
&quot;$:/language/ControlPanel/EditorTypes/Editor/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/EditorTypes/Editor/Caption&quot;,
&quot;text&quot;: &quot;Editor&quot;
},
&quot;$:/language/ControlPanel/EditorTypes/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/EditorTypes/Hint&quot;,
&quot;text&quot;: &quot;These tiddlers determine which editor is used to edit specific tiddler types.&quot;
},
&quot;$:/language/ControlPanel/EditorTypes/Type/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/EditorTypes/Type/Caption&quot;,
&quot;text&quot;: &quot;Type&quot;
},
&quot;$:/language/ControlPanel/Info/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Info/Caption&quot;,
&quot;text&quot;: &quot;Info&quot;
},
&quot;$:/language/ControlPanel/Info/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Info/Hint&quot;,
&quot;text&quot;: &quot;Information about this TiddlyWiki&quot;
},
&quot;$:/language/ControlPanel/KeyboardShortcuts/Add/Prompt&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/KeyboardShortcuts/Add/Prompt&quot;,
&quot;text&quot;: &quot;Type shortcut here&quot;
},
&quot;$:/language/ControlPanel/KeyboardShortcuts/Add/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/KeyboardShortcuts/Add/Caption&quot;,
&quot;text&quot;: &quot;add shortcut&quot;
},
&quot;$:/language/ControlPanel/KeyboardShortcuts/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/KeyboardShortcuts/Caption&quot;,
&quot;text&quot;: &quot;Keyboard Shortcuts&quot;
},
&quot;$:/language/ControlPanel/KeyboardShortcuts/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/KeyboardShortcuts/Hint&quot;,
&quot;text&quot;: &quot;Manage keyboard shortcut assignments&quot;
},
&quot;$:/language/ControlPanel/KeyboardShortcuts/NoShortcuts/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/KeyboardShortcuts/NoShortcuts/Caption&quot;,
&quot;text&quot;: &quot;No keyboard shortcuts assigned&quot;
},
&quot;$:/language/ControlPanel/KeyboardShortcuts/Remove/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/KeyboardShortcuts/Remove/Hint&quot;,
&quot;text&quot;: &quot;remove keyboard shortcut&quot;
},
&quot;$:/language/ControlPanel/KeyboardShortcuts/Platform/All&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/KeyboardShortcuts/Platform/All&quot;,
&quot;text&quot;: &quot;All platforms&quot;
},
&quot;$:/language/ControlPanel/KeyboardShortcuts/Platform/Mac&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/KeyboardShortcuts/Platform/Mac&quot;,
&quot;text&quot;: &quot;Macintosh platform only&quot;
},
&quot;$:/language/ControlPanel/KeyboardShortcuts/Platform/NonMac&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/KeyboardShortcuts/Platform/NonMac&quot;,
&quot;text&quot;: &quot;Non-Macintosh platforms only&quot;
},
&quot;$:/language/ControlPanel/KeyboardShortcuts/Platform/Linux&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/KeyboardShortcuts/Platform/Linux&quot;,
&quot;text&quot;: &quot;Linux platform only&quot;
},
&quot;$:/language/ControlPanel/KeyboardShortcuts/Platform/NonLinux&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/KeyboardShortcuts/Platform/NonLinux&quot;,
&quot;text&quot;: &quot;Non-Linux platforms only&quot;
},
&quot;$:/language/ControlPanel/KeyboardShortcuts/Platform/Windows&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/KeyboardShortcuts/Platform/Windows&quot;,
&quot;text&quot;: &quot;Windows platform only&quot;
},
&quot;$:/language/ControlPanel/KeyboardShortcuts/Platform/NonWindows&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/KeyboardShortcuts/Platform/NonWindows&quot;,
&quot;text&quot;: &quot;Non-Windows platforms only&quot;
},
&quot;$:/language/ControlPanel/LayoutSwitcher/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/LayoutSwitcher/Caption&quot;,
&quot;text&quot;: &quot;Layout&quot;
},
&quot;$:/language/ControlPanel/LoadedModules/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/LoadedModules/Caption&quot;,
&quot;text&quot;: &quot;Loaded Modules&quot;
},
&quot;$:/language/ControlPanel/LoadedModules/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/LoadedModules/Hint&quot;,
&quot;text&quot;: &quot;These are the currently loaded tiddler modules linked to their source tiddlers. Any italicised modules lack a source tiddler, typically because they were setup during the boot process.&quot;
},
&quot;$:/language/ControlPanel/Palette/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Palette/Caption&quot;,
&quot;text&quot;: &quot;Palette&quot;
},
&quot;$:/language/ControlPanel/Palette/Editor/Clone/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Palette/Editor/Clone/Caption&quot;,
&quot;text&quot;: &quot;clone&quot;
},
&quot;$:/language/ControlPanel/Palette/Editor/Clone/Prompt&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Palette/Editor/Clone/Prompt&quot;,
&quot;text&quot;: &quot;It is recommended that you clone this shadow palette before editing it&quot;
},
&quot;$:/language/ControlPanel/Palette/Editor/Delete/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Palette/Editor/Delete/Hint&quot;,
&quot;text&quot;: &quot;delete this entry from the current palette&quot;
},
&quot;$:/language/ControlPanel/Palette/Editor/Names/External/Show&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Palette/Editor/Names/External/Show&quot;,
&quot;text&quot;: &quot;Show color names that are not part of the current palette&quot;
},
&quot;$:/language/ControlPanel/Palette/Editor/Prompt/Modified&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Palette/Editor/Prompt/Modified&quot;,
&quot;text&quot;: &quot;This shadow palette has been modified&quot;
},
&quot;$:/language/ControlPanel/Palette/Editor/Prompt&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Palette/Editor/Prompt&quot;,
&quot;text&quot;: &quot;Editing&quot;
},
&quot;$:/language/ControlPanel/Palette/Editor/Reset/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Palette/Editor/Reset/Caption&quot;,
&quot;text&quot;: &quot;reset&quot;
},
&quot;$:/language/ControlPanel/Palette/HideEditor/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Palette/HideEditor/Caption&quot;,
&quot;text&quot;: &quot;hide editor&quot;
},
&quot;$:/language/ControlPanel/Palette/Prompt&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Palette/Prompt&quot;,
&quot;text&quot;: &quot;Current palette:&quot;
},
&quot;$:/language/ControlPanel/Palette/ShowEditor/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Palette/ShowEditor/Caption&quot;,
&quot;text&quot;: &quot;show editor&quot;
},
&quot;$:/language/ControlPanel/Parsing/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Parsing/Caption&quot;,
&quot;text&quot;: &quot;Parsing&quot;
},
&quot;$:/language/ControlPanel/Parsing/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Parsing/Hint&quot;,
&quot;text&quot;: &quot;Here you can globally disable/enable wiki parser rules. For changes to take effect, save and reload your wiki. Disabling certain parser rules can prevent &lt;$text text=\&quot;TiddlyWiki\&quot;/&gt; from functioning correctly. Use [[safe mode|https://tiddlywiki.com/#SafeMode]] to restore normal operation.&quot;
},
&quot;$:/language/ControlPanel/Parsing/Block/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Parsing/Block/Caption&quot;,
&quot;text&quot;: &quot;Block Parse Rules&quot;
},
&quot;$:/language/ControlPanel/Parsing/Inline/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Parsing/Inline/Caption&quot;,
&quot;text&quot;: &quot;Inline Parse Rules&quot;
},
&quot;$:/language/ControlPanel/Parsing/Pragma/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Parsing/Pragma/Caption&quot;,
&quot;text&quot;: &quot;Pragma Parse Rules&quot;
},
&quot;$:/language/ControlPanel/Plugins/Add/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Plugins/Add/Caption&quot;,
&quot;text&quot;: &quot;Get more plugins&quot;
},
&quot;$:/language/ControlPanel/Plugins/Add/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Plugins/Add/Hint&quot;,
&quot;text&quot;: &quot;Install plugins from the official library&quot;
},
&quot;$:/language/ControlPanel/Plugins/AlreadyInstalled/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Plugins/AlreadyInstalled/Hint&quot;,
&quot;text&quot;: &quot;This plugin is already installed at version &lt;$text text=&lt;&lt;installedVersion&gt;&gt;/&gt;&quot;
},
&quot;$:/language/ControlPanel/Plugins/AlsoRequires&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Plugins/AlsoRequires&quot;,
&quot;text&quot;: &quot;Also requires:&quot;
},
&quot;$:/language/ControlPanel/Plugins/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Plugins/Caption&quot;,
&quot;text&quot;: &quot;Plugins&quot;
},
&quot;$:/language/ControlPanel/Plugins/Disable/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Plugins/Disable/Caption&quot;,
&quot;text&quot;: &quot;disable&quot;
},
&quot;$:/language/ControlPanel/Plugins/Disable/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Plugins/Disable/Hint&quot;,
&quot;text&quot;: &quot;Disable this plugin when reloading page&quot;
},
&quot;$:/language/ControlPanel/Plugins/Disabled/Status&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Plugins/Disabled/Status&quot;,
&quot;text&quot;: &quot;(disabled)&quot;
},
&quot;$:/language/ControlPanel/Plugins/Downgrade/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Plugins/Downgrade/Caption&quot;,
&quot;text&quot;: &quot;downgrade&quot;
},
&quot;$:/language/ControlPanel/Plugins/Empty/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Plugins/Empty/Hint&quot;,
&quot;text&quot;: &quot;None&quot;
},
&quot;$:/language/ControlPanel/Plugins/Enable/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Plugins/Enable/Caption&quot;,
&quot;text&quot;: &quot;enable&quot;
},
&quot;$:/language/ControlPanel/Plugins/Enable/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Plugins/Enable/Hint&quot;,
&quot;text&quot;: &quot;Enable this plugin when reloading page&quot;
},
&quot;$:/language/ControlPanel/Plugins/Install/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Plugins/Install/Caption&quot;,
&quot;text&quot;: &quot;install&quot;
},
&quot;$:/language/ControlPanel/Plugins/Installed/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Plugins/Installed/Hint&quot;,
&quot;text&quot;: &quot;Currently installed plugins:&quot;
},
&quot;$:/language/ControlPanel/Plugins/Languages/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Plugins/Languages/Caption&quot;,
&quot;text&quot;: &quot;Languages&quot;
},
&quot;$:/language/ControlPanel/Plugins/Languages/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Plugins/Languages/Hint&quot;,
&quot;text&quot;: &quot;Language pack plugins&quot;
},
&quot;$:/language/ControlPanel/Plugins/NoInfoFound/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Plugins/NoInfoFound/Hint&quot;,
&quot;text&quot;: &quot;No ''\&quot;&lt;$text text=&lt;&lt;currentTab&gt;&gt;/&gt;\&quot;'' found&quot;
},
&quot;$:/language/ControlPanel/Plugins/NotInstalled/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Plugins/NotInstalled/Hint&quot;,
&quot;text&quot;: &quot;This plugin is not currently installed&quot;
},
&quot;$:/language/ControlPanel/Plugins/OpenPluginLibrary&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Plugins/OpenPluginLibrary&quot;,
&quot;text&quot;: &quot;open plugin library&quot;
},
&quot;$:/language/ControlPanel/Plugins/ClosePluginLibrary&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Plugins/ClosePluginLibrary&quot;,
&quot;text&quot;: &quot;close plugin library&quot;
},
&quot;$:/language/ControlPanel/Plugins/PluginWillRequireReload&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Plugins/PluginWillRequireReload&quot;,
&quot;text&quot;: &quot;(requires reload)&quot;
},
&quot;$:/language/ControlPanel/Plugins/Plugins/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Plugins/Plugins/Caption&quot;,
&quot;text&quot;: &quot;Plugins&quot;
},
&quot;$:/language/ControlPanel/Plugins/Plugins/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Plugins/Plugins/Hint&quot;,
&quot;text&quot;: &quot;Plugins&quot;
},
&quot;$:/language/ControlPanel/Plugins/Reinstall/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Plugins/Reinstall/Caption&quot;,
&quot;text&quot;: &quot;reinstall&quot;
},
&quot;$:/language/ControlPanel/Plugins/Themes/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Plugins/Themes/Caption&quot;,
&quot;text&quot;: &quot;Themes&quot;
},
&quot;$:/language/ControlPanel/Plugins/Themes/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Plugins/Themes/Hint&quot;,
&quot;text&quot;: &quot;Theme plugins&quot;
},
&quot;$:/language/ControlPanel/Plugins/Update/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Plugins/Update/Caption&quot;,
&quot;text&quot;: &quot;update&quot;
},
&quot;$:/language/ControlPanel/Plugins/Updates/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Plugins/Updates/Caption&quot;,
&quot;text&quot;: &quot;Updates&quot;
},
&quot;$:/language/ControlPanel/Plugins/Updates/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Plugins/Updates/Hint&quot;,
&quot;text&quot;: &quot;Available updates to installed plugins&quot;
},
&quot;$:/language/ControlPanel/Plugins/Updates/UpdateAll/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Plugins/Updates/UpdateAll/Caption&quot;,
&quot;text&quot;: &quot;Update &lt;&lt;update-count&gt;&gt; plugins&quot;
},
&quot;$:/language/ControlPanel/Plugins/SubPluginPrompt&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Plugins/SubPluginPrompt&quot;,
&quot;text&quot;: &quot;With &lt;&lt;count&gt;&gt; sub-plugins available&quot;
},
&quot;$:/language/ControlPanel/Saving/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Saving/Caption&quot;,
&quot;text&quot;: &quot;Saving&quot;
},
&quot;$:/language/ControlPanel/Saving/DownloadSaver/AutoSave/Description&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Saving/DownloadSaver/AutoSave/Description&quot;,
&quot;text&quot;: &quot;Permit automatic saving for the download saver&quot;
},
&quot;$:/language/ControlPanel/Saving/DownloadSaver/AutoSave/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Saving/DownloadSaver/AutoSave/Hint&quot;,
&quot;text&quot;: &quot;Enable Autosave for Download Saver&quot;
},
&quot;$:/language/ControlPanel/Saving/DownloadSaver/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Saving/DownloadSaver/Caption&quot;,
&quot;text&quot;: &quot;Download Saver&quot;
},
&quot;$:/language/ControlPanel/Saving/DownloadSaver/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Saving/DownloadSaver/Hint&quot;,
&quot;text&quot;: &quot;These settings apply to the HTML5-compatible download saver&quot;
},
&quot;$:/language/ControlPanel/Saving/General/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Saving/General/Caption&quot;,
&quot;text&quot;: &quot;General&quot;
},
&quot;$:/language/ControlPanel/Saving/General/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Saving/General/Hint&quot;,
&quot;text&quot;: &quot;These settings apply to all the loaded savers&quot;
},
&quot;$:/language/ControlPanel/Saving/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Saving/Hint&quot;,
&quot;text&quot;: &quot;Settings used for saving the entire TiddlyWiki as a single file via a saver module&quot;
},
&quot;$:/language/ControlPanel/Saving/GitService/Branch&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Saving/GitService/Branch&quot;,
&quot;text&quot;: &quot;Target branch for saving&quot;
},
&quot;$:/language/ControlPanel/Saving/GitService/CommitMessage&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Saving/GitService/CommitMessage&quot;,
&quot;text&quot;: &quot;Saved by TiddlyWiki&quot;
},
&quot;$:/language/ControlPanel/Saving/GitService/Description&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Saving/GitService/Description&quot;,
&quot;text&quot;: &quot;These settings are only used when saving to &lt;&lt;service-name&gt;&gt;&quot;
},
&quot;$:/language/ControlPanel/Saving/GitService/Filename&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Saving/GitService/Filename&quot;,
&quot;text&quot;: &quot;Filename of target file (e.g. `index.html`)&quot;
},
&quot;$:/language/ControlPanel/Saving/GitService/Path&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Saving/GitService/Path&quot;,
&quot;text&quot;: &quot;Path to target file (e.g. `/wiki/`)&quot;
},
&quot;$:/language/ControlPanel/Saving/GitService/Repo&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Saving/GitService/Repo&quot;,
&quot;text&quot;: &quot;Target repository (e.g. `Jermolene/TiddlyWiki5`)&quot;
},
&quot;$:/language/ControlPanel/Saving/GitService/ServerURL&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Saving/GitService/ServerURL&quot;,
&quot;text&quot;: &quot;Server API URL&quot;
},
&quot;$:/language/ControlPanel/Saving/GitService/UserName&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Saving/GitService/UserName&quot;,
&quot;text&quot;: &quot;Username&quot;
},
&quot;$:/language/ControlPanel/Saving/GitService/GitHub/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Saving/GitService/GitHub/Caption&quot;,
&quot;text&quot;: &quot;~GitHub Saver&quot;
},
&quot;$:/language/ControlPanel/Saving/GitService/GitHub/Password&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Saving/GitService/GitHub/Password&quot;,
&quot;text&quot;: &quot;Password, OAUTH token, or personal access token (see [[GitHub help page|https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line]] for details)&quot;
},
&quot;$:/language/ControlPanel/Saving/GitService/GitLab/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Saving/GitService/GitLab/Caption&quot;,
&quot;text&quot;: &quot;~GitLab Saver&quot;
},
&quot;$:/language/ControlPanel/Saving/GitService/GitLab/Password&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Saving/GitService/GitLab/Password&quot;,
&quot;text&quot;: &quot;Personal access token for API (see [[GitLab help page|https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html]] for details)&quot;
},
&quot;$:/language/ControlPanel/Saving/GitService/Gitea/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Saving/GitService/Gitea/Caption&quot;,
&quot;text&quot;: &quot;Gitea Saver&quot;
},
&quot;$:/language/ControlPanel/Saving/GitService/Gitea/Password&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Saving/GitService/Gitea/Password&quot;,
&quot;text&quot;: &quot;Personal access token for API (via Giteas web interface: `Settings | Applications | Generate New Token`)&quot;
},
&quot;$:/language/ControlPanel/Saving/TiddlySpot/Advanced/Heading&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Saving/TiddlySpot/Advanced/Heading&quot;,
&quot;text&quot;: &quot;Advanced Settings&quot;
},
&quot;$:/language/ControlPanel/Saving/TiddlySpot/BackupDir&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Saving/TiddlySpot/BackupDir&quot;,
&quot;text&quot;: &quot;Backup Directory&quot;
},
&quot;$:/language/ControlPanel/Saving/TiddlySpot/ControlPanel&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Saving/TiddlySpot/ControlPanel&quot;,
&quot;text&quot;: &quot;~TiddlySpot Control Panel&quot;
},
&quot;$:/language/ControlPanel/Saving/TiddlySpot/Backups&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Saving/TiddlySpot/Backups&quot;,
&quot;text&quot;: &quot;Backups&quot;
},
&quot;$:/language/ControlPanel/Saving/TiddlySpot/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Saving/TiddlySpot/Caption&quot;,
&quot;text&quot;: &quot;~TiddlySpot Saver&quot;
},
&quot;$:/language/ControlPanel/Saving/TiddlySpot/Description&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Saving/TiddlySpot/Description&quot;,
&quot;text&quot;: &quot;These settings are only used when saving to http://tiddlyspot.com or a compatible remote server&quot;
},
&quot;$:/language/ControlPanel/Saving/TiddlySpot/Filename&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Saving/TiddlySpot/Filename&quot;,
&quot;text&quot;: &quot;Upload Filename&quot;
},
&quot;$:/language/ControlPanel/Saving/TiddlySpot/Heading&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Saving/TiddlySpot/Heading&quot;,
&quot;text&quot;: &quot;~TiddlySpot&quot;
},
&quot;$:/language/ControlPanel/Saving/TiddlySpot/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Saving/TiddlySpot/Hint&quot;,
&quot;text&quot;: &quot;//The server URL defaults to `http://&lt;wikiname&gt;.tiddlyspot.com/store.cgi` and can be changed to use a custom server address, e.g. `http://example.com/store.php`.//&quot;
},
&quot;$:/language/ControlPanel/Saving/TiddlySpot/Password&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Saving/TiddlySpot/Password&quot;,
&quot;text&quot;: &quot;Password&quot;
},
&quot;$:/language/ControlPanel/Saving/TiddlySpot/ReadOnly&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Saving/TiddlySpot/ReadOnly&quot;,
&quot;text&quot;: &quot;The ~TiddlySpot service is currently only available in read-only form. Please see http://tiddlyspot.com/ for the latest details. The ~TiddlySpot saver can still be used to save to compatible servers.&quot;
},
&quot;$:/language/ControlPanel/Saving/TiddlySpot/ServerURL&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Saving/TiddlySpot/ServerURL&quot;,
&quot;text&quot;: &quot;Server URL&quot;
},
&quot;$:/language/ControlPanel/Saving/TiddlySpot/UploadDir&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Saving/TiddlySpot/UploadDir&quot;,
&quot;text&quot;: &quot;Upload Directory&quot;
},
&quot;$:/language/ControlPanel/Saving/TiddlySpot/UserName&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Saving/TiddlySpot/UserName&quot;,
&quot;text&quot;: &quot;Wiki Name&quot;
},
&quot;$:/language/ControlPanel/Settings/AutoSave/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/AutoSave/Caption&quot;,
&quot;text&quot;: &quot;Autosave&quot;
},
&quot;$:/language/ControlPanel/Settings/AutoSave/Disabled/Description&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/AutoSave/Disabled/Description&quot;,
&quot;text&quot;: &quot;Do not save changes automatically&quot;
},
&quot;$:/language/ControlPanel/Settings/AutoSave/Enabled/Description&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/AutoSave/Enabled/Description&quot;,
&quot;text&quot;: &quot;Save changes automatically&quot;
},
&quot;$:/language/ControlPanel/Settings/AutoSave/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/AutoSave/Hint&quot;,
&quot;text&quot;: &quot;Attempt to automatically save changes during editing when using a supporting saver&quot;
},
&quot;$:/language/ControlPanel/Settings/CamelCase/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/CamelCase/Caption&quot;,
&quot;text&quot;: &quot;Camel Case Wiki Links&quot;
},
&quot;$:/language/ControlPanel/Settings/CamelCase/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/CamelCase/Hint&quot;,
&quot;text&quot;: &quot;You can globally disable automatic linking of ~CamelCase phrases. Requires reload to take effect&quot;
},
&quot;$:/language/ControlPanel/Settings/CamelCase/Description&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/CamelCase/Description&quot;,
&quot;text&quot;: &quot;Enable automatic ~CamelCase linking&quot;
},
&quot;$:/language/ControlPanel/Settings/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/Caption&quot;,
&quot;text&quot;: &quot;Settings&quot;
},
&quot;$:/language/ControlPanel/Settings/EditorToolbar/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/EditorToolbar/Caption&quot;,
&quot;text&quot;: &quot;Editor Toolbar&quot;
},
&quot;$:/language/ControlPanel/Settings/EditorToolbar/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/EditorToolbar/Hint&quot;,
&quot;text&quot;: &quot;Enable or disable the editor toolbar:&quot;
},
&quot;$:/language/ControlPanel/Settings/EditorToolbar/Description&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/EditorToolbar/Description&quot;,
&quot;text&quot;: &quot;Show editor toolbar&quot;
},
&quot;$:/language/ControlPanel/Settings/InfoPanelMode/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/InfoPanelMode/Caption&quot;,
&quot;text&quot;: &quot;Tiddler Info Panel Mode&quot;
},
&quot;$:/language/ControlPanel/Settings/InfoPanelMode/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/InfoPanelMode/Hint&quot;,
&quot;text&quot;: &quot;Control when the tiddler info panel closes:&quot;
},
&quot;$:/language/ControlPanel/Settings/InfoPanelMode/Popup/Description&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/InfoPanelMode/Popup/Description&quot;,
&quot;text&quot;: &quot;Tiddler info panel closes automatically&quot;
},
&quot;$:/language/ControlPanel/Settings/InfoPanelMode/Sticky/Description&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/InfoPanelMode/Sticky/Description&quot;,
&quot;text&quot;: &quot;Tiddler info panel stays open until explicitly closed&quot;
},
&quot;$:/language/ControlPanel/Settings/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/Hint&quot;,
&quot;text&quot;: &quot;These settings let you customise the behaviour of TiddlyWiki.&quot;
},
&quot;$:/language/ControlPanel/Settings/NavigationAddressBar/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/NavigationAddressBar/Caption&quot;,
&quot;text&quot;: &quot;Navigation Address Bar&quot;
},
&quot;$:/language/ControlPanel/Settings/NavigationAddressBar/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/NavigationAddressBar/Hint&quot;,
&quot;text&quot;: &quot;Behaviour of the browser address bar when navigating to a tiddler:&quot;
},
&quot;$:/language/ControlPanel/Settings/NavigationAddressBar/No/Description&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/NavigationAddressBar/No/Description&quot;,
&quot;text&quot;: &quot;Do not update the address bar&quot;
},
&quot;$:/language/ControlPanel/Settings/NavigationAddressBar/Permalink/Description&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/NavigationAddressBar/Permalink/Description&quot;,
&quot;text&quot;: &quot;Include the target tiddler&quot;
},
&quot;$:/language/ControlPanel/Settings/NavigationAddressBar/Permaview/Description&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/NavigationAddressBar/Permaview/Description&quot;,
&quot;text&quot;: &quot;Include the target tiddler and the current story sequence&quot;
},
&quot;$:/language/ControlPanel/Settings/NavigationHistory/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/NavigationHistory/Caption&quot;,
&quot;text&quot;: &quot;Navigation History&quot;
},
&quot;$:/language/ControlPanel/Settings/NavigationHistory/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/NavigationHistory/Hint&quot;,
&quot;text&quot;: &quot;Update browser history when navigating to a tiddler:&quot;
},
&quot;$:/language/ControlPanel/Settings/NavigationHistory/No/Description&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/NavigationHistory/No/Description&quot;,
&quot;text&quot;: &quot;Do not update history&quot;
},
&quot;$:/language/ControlPanel/Settings/NavigationHistory/Yes/Description&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/NavigationHistory/Yes/Description&quot;,
&quot;text&quot;: &quot;Update history&quot;
},
&quot;$:/language/ControlPanel/Settings/NavigationPermalinkviewMode/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/NavigationPermalinkviewMode/Caption&quot;,
&quot;text&quot;: &quot;Permalink/permaview Mode&quot;
},
&quot;$:/language/ControlPanel/Settings/NavigationPermalinkviewMode/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/NavigationPermalinkviewMode/Hint&quot;,
&quot;text&quot;: &quot;Choose how permalink/permaview is handled:&quot;
},
&quot;$:/language/ControlPanel/Settings/NavigationPermalinkviewMode/CopyToClipboard/Description&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/NavigationPermalinkviewMode/CopyToClipboard/Description&quot;,
&quot;text&quot;: &quot;Copy permalink/permaview URL to clipboard&quot;
},
&quot;$:/language/ControlPanel/Settings/NavigationPermalinkviewMode/UpdateAddressBar/Description&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/NavigationPermalinkviewMode/UpdateAddressBar/Description&quot;,
&quot;text&quot;: &quot;Update address bar with permalink/permaview URL&quot;
},
&quot;$:/language/ControlPanel/Settings/PerformanceInstrumentation/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/PerformanceInstrumentation/Caption&quot;,
&quot;text&quot;: &quot;Performance Instrumentation&quot;
},
&quot;$:/language/ControlPanel/Settings/PerformanceInstrumentation/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/PerformanceInstrumentation/Hint&quot;,
&quot;text&quot;: &quot;Displays performance statistics in the browser developer console. Requires reload to take effect&quot;
},
&quot;$:/language/ControlPanel/Settings/PerformanceInstrumentation/Description&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/PerformanceInstrumentation/Description&quot;,
&quot;text&quot;: &quot;Enable performance instrumentation&quot;
},
&quot;$:/language/ControlPanel/Settings/ToolbarButtonStyle/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/ToolbarButtonStyle/Caption&quot;,
&quot;text&quot;: &quot;Toolbar Button Style&quot;
},
&quot;$:/language/ControlPanel/Settings/ToolbarButtonStyle/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/ToolbarButtonStyle/Hint&quot;,
&quot;text&quot;: &quot;Choose the style for toolbar buttons:&quot;
},
&quot;$:/language/ControlPanel/Settings/ToolbarButtonStyle/Styles/Borderless&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/ToolbarButtonStyle/Styles/Borderless&quot;,
&quot;text&quot;: &quot;Borderless&quot;
},
&quot;$:/language/ControlPanel/Settings/ToolbarButtonStyle/Styles/Boxed&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/ToolbarButtonStyle/Styles/Boxed&quot;,
&quot;text&quot;: &quot;Boxed&quot;
},
&quot;$:/language/ControlPanel/Settings/ToolbarButtonStyle/Styles/Rounded&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/ToolbarButtonStyle/Styles/Rounded&quot;,
&quot;text&quot;: &quot;Rounded&quot;
},
&quot;$:/language/ControlPanel/Settings/ToolbarButtons/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/ToolbarButtons/Caption&quot;,
&quot;text&quot;: &quot;Toolbar Buttons&quot;
},
&quot;$:/language/ControlPanel/Settings/ToolbarButtons/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/ToolbarButtons/Hint&quot;,
&quot;text&quot;: &quot;Default toolbar button appearance:&quot;
},
&quot;$:/language/ControlPanel/Settings/ToolbarButtons/Icons/Description&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/ToolbarButtons/Icons/Description&quot;,
&quot;text&quot;: &quot;Include icon&quot;
},
&quot;$:/language/ControlPanel/Settings/ToolbarButtons/Text/Description&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/ToolbarButtons/Text/Description&quot;,
&quot;text&quot;: &quot;Include text&quot;
},
&quot;$:/language/ControlPanel/Settings/DefaultSidebarTab/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/DefaultSidebarTab/Caption&quot;,
&quot;text&quot;: &quot;Default Sidebar Tab&quot;
},
&quot;$:/language/ControlPanel/Settings/DefaultSidebarTab/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/DefaultSidebarTab/Hint&quot;,
&quot;text&quot;: &quot;Specify which sidebar tab is displayed by default&quot;
},
&quot;$:/language/ControlPanel/Settings/DefaultMoreSidebarTab/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/DefaultMoreSidebarTab/Caption&quot;,
&quot;text&quot;: &quot;Default More Sidebar Tab&quot;
},
&quot;$:/language/ControlPanel/Settings/DefaultMoreSidebarTab/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/DefaultMoreSidebarTab/Hint&quot;,
&quot;text&quot;: &quot;Specify which More sidebar tab is displayed by default&quot;
},
&quot;$:/language/ControlPanel/Settings/LinkToBehaviour/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/LinkToBehaviour/Caption&quot;,
&quot;text&quot;: &quot;Tiddler Opening Behaviour&quot;
},
&quot;$:/language/ControlPanel/Settings/LinkToBehaviour/InsideRiver/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/LinkToBehaviour/InsideRiver/Hint&quot;,
&quot;text&quot;: &quot;Navigation from //within// the story river&quot;
},
&quot;$:/language/ControlPanel/Settings/LinkToBehaviour/OutsideRiver/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/LinkToBehaviour/OutsideRiver/Hint&quot;,
&quot;text&quot;: &quot;Navigation from //outside// the story river&quot;
},
&quot;$:/language/ControlPanel/Settings/LinkToBehaviour/OpenAbove&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/LinkToBehaviour/OpenAbove&quot;,
&quot;text&quot;: &quot;Open above the current tiddler&quot;
},
&quot;$:/language/ControlPanel/Settings/LinkToBehaviour/OpenBelow&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/LinkToBehaviour/OpenBelow&quot;,
&quot;text&quot;: &quot;Open below the current tiddler&quot;
},
&quot;$:/language/ControlPanel/Settings/LinkToBehaviour/OpenAtTop&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/LinkToBehaviour/OpenAtTop&quot;,
&quot;text&quot;: &quot;Open at the top of the story river&quot;
},
&quot;$:/language/ControlPanel/Settings/LinkToBehaviour/OpenAtBottom&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/LinkToBehaviour/OpenAtBottom&quot;,
&quot;text&quot;: &quot;Open at the bottom of the story river&quot;
},
&quot;$:/language/ControlPanel/Settings/TitleLinks/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/TitleLinks/Caption&quot;,
&quot;text&quot;: &quot;Tiddler Titles&quot;
},
&quot;$:/language/ControlPanel/Settings/TitleLinks/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/TitleLinks/Hint&quot;,
&quot;text&quot;: &quot;Optionally display tiddler titles as links&quot;
},
&quot;$:/language/ControlPanel/Settings/TitleLinks/No/Description&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/TitleLinks/No/Description&quot;,
&quot;text&quot;: &quot;Do not display tiddler titles as links&quot;
},
&quot;$:/language/ControlPanel/Settings/TitleLinks/Yes/Description&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/TitleLinks/Yes/Description&quot;,
&quot;text&quot;: &quot;Display tiddler titles as links&quot;
},
&quot;$:/language/ControlPanel/Settings/MissingLinks/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/MissingLinks/Caption&quot;,
&quot;text&quot;: &quot;Wiki Links&quot;
},
&quot;$:/language/ControlPanel/Settings/MissingLinks/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/MissingLinks/Hint&quot;,
&quot;text&quot;: &quot;Choose whether to link to tiddlers that do not exist yet&quot;
},
&quot;$:/language/ControlPanel/Settings/MissingLinks/Description&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Settings/MissingLinks/Description&quot;,
&quot;text&quot;: &quot;Enable links to missing tiddlers&quot;
},
&quot;$:/language/ControlPanel/StoryView/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/StoryView/Caption&quot;,
&quot;text&quot;: &quot;Story View&quot;
},
&quot;$:/language/ControlPanel/StoryView/Prompt&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/StoryView/Prompt&quot;,
&quot;text&quot;: &quot;Current view:&quot;
},
&quot;$:/language/ControlPanel/Stylesheets/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Stylesheets/Caption&quot;,
&quot;text&quot;: &quot;Stylesheets&quot;
},
&quot;$:/language/ControlPanel/Stylesheets/Expand/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Stylesheets/Expand/Caption&quot;,
&quot;text&quot;: &quot;Expand All&quot;
},
&quot;$:/language/ControlPanel/Stylesheets/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Stylesheets/Hint&quot;,
&quot;text&quot;: &quot;This is the rendered CSS of the current stylesheet tiddlers tagged with &lt;&lt;tag \&quot;$:/tags/Stylesheet\&quot;&gt;&gt;&quot;
},
&quot;$:/language/ControlPanel/Stylesheets/Restore/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Stylesheets/Restore/Caption&quot;,
&quot;text&quot;: &quot;Restore&quot;
},
&quot;$:/language/ControlPanel/Theme/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Theme/Caption&quot;,
&quot;text&quot;: &quot;Theme&quot;
},
&quot;$:/language/ControlPanel/Theme/Prompt&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Theme/Prompt&quot;,
&quot;text&quot;: &quot;Current theme:&quot;
},
&quot;$:/language/ControlPanel/TiddlerFields/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/TiddlerFields/Caption&quot;,
&quot;text&quot;: &quot;Tiddler Fields&quot;
},
&quot;$:/language/ControlPanel/TiddlerFields/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/TiddlerFields/Hint&quot;,
&quot;text&quot;: &quot;This is the full set of TiddlerFields in use in this wiki (including system tiddlers but excluding shadow tiddlers).&quot;
},
&quot;$:/language/ControlPanel/Toolbars/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Toolbars/Caption&quot;,
&quot;text&quot;: &quot;Toolbars&quot;
},
&quot;$:/language/ControlPanel/Toolbars/EditToolbar/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Toolbars/EditToolbar/Caption&quot;,
&quot;text&quot;: &quot;Edit Toolbar&quot;
},
&quot;$:/language/ControlPanel/Toolbars/EditToolbar/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Toolbars/EditToolbar/Hint&quot;,
&quot;text&quot;: &quot;Choose which buttons are displayed for tiddlers in edit mode. Drag and drop to change the ordering&quot;
},
&quot;$:/language/ControlPanel/Toolbars/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Toolbars/Hint&quot;,
&quot;text&quot;: &quot;Select which toolbar buttons are displayed&quot;
},
&quot;$:/language/ControlPanel/Toolbars/PageControls/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Toolbars/PageControls/Caption&quot;,
&quot;text&quot;: &quot;Page Toolbar&quot;
},
&quot;$:/language/ControlPanel/Toolbars/PageControls/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Toolbars/PageControls/Hint&quot;,
&quot;text&quot;: &quot;Choose which buttons are displayed on the main page toolbar. Drag and drop to change the ordering&quot;
},
&quot;$:/language/ControlPanel/Toolbars/EditorToolbar/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Toolbars/EditorToolbar/Caption&quot;,
&quot;text&quot;: &quot;Editor Toolbar&quot;
},
&quot;$:/language/ControlPanel/Toolbars/EditorToolbar/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Toolbars/EditorToolbar/Hint&quot;,
&quot;text&quot;: &quot;Choose which buttons are displayed in the editor toolbar. Note that some buttons will only appear when editing tiddlers of a certain type. Drag and drop to change the ordering&quot;
},
&quot;$:/language/ControlPanel/Toolbars/ViewToolbar/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Toolbars/ViewToolbar/Caption&quot;,
&quot;text&quot;: &quot;View Toolbar&quot;
},
&quot;$:/language/ControlPanel/Toolbars/ViewToolbar/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Toolbars/ViewToolbar/Hint&quot;,
&quot;text&quot;: &quot;Choose which buttons are displayed for tiddlers in view mode. Drag and drop to change the ordering&quot;
},
&quot;$:/language/ControlPanel/Tools/Download/Full/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ControlPanel/Tools/Download/Full/Caption&quot;,
&quot;text&quot;: &quot;Download full wiki&quot;
},
&quot;$:/language/Date/DaySuffix/1&quot;: {
&quot;title&quot;: &quot;$:/language/Date/DaySuffix/1&quot;,
&quot;text&quot;: &quot;st&quot;
},
&quot;$:/language/Date/DaySuffix/2&quot;: {
&quot;title&quot;: &quot;$:/language/Date/DaySuffix/2&quot;,
&quot;text&quot;: &quot;nd&quot;
},
&quot;$:/language/Date/DaySuffix/3&quot;: {
&quot;title&quot;: &quot;$:/language/Date/DaySuffix/3&quot;,
&quot;text&quot;: &quot;rd&quot;
},
&quot;$:/language/Date/DaySuffix/4&quot;: {
&quot;title&quot;: &quot;$:/language/Date/DaySuffix/4&quot;,
&quot;text&quot;: &quot;th&quot;
},
&quot;$:/language/Date/DaySuffix/5&quot;: {
&quot;title&quot;: &quot;$:/language/Date/DaySuffix/5&quot;,
&quot;text&quot;: &quot;th&quot;
},
&quot;$:/language/Date/DaySuffix/6&quot;: {
&quot;title&quot;: &quot;$:/language/Date/DaySuffix/6&quot;,
&quot;text&quot;: &quot;th&quot;
},
&quot;$:/language/Date/DaySuffix/7&quot;: {
&quot;title&quot;: &quot;$:/language/Date/DaySuffix/7&quot;,
&quot;text&quot;: &quot;th&quot;
},
&quot;$:/language/Date/DaySuffix/8&quot;: {
&quot;title&quot;: &quot;$:/language/Date/DaySuffix/8&quot;,
&quot;text&quot;: &quot;th&quot;
},
&quot;$:/language/Date/DaySuffix/9&quot;: {
&quot;title&quot;: &quot;$:/language/Date/DaySuffix/9&quot;,
&quot;text&quot;: &quot;th&quot;
},
&quot;$:/language/Date/DaySuffix/10&quot;: {
&quot;title&quot;: &quot;$:/language/Date/DaySuffix/10&quot;,
&quot;text&quot;: &quot;th&quot;
},
&quot;$:/language/Date/DaySuffix/11&quot;: {
&quot;title&quot;: &quot;$:/language/Date/DaySuffix/11&quot;,
&quot;text&quot;: &quot;th&quot;
},
&quot;$:/language/Date/DaySuffix/12&quot;: {
&quot;title&quot;: &quot;$:/language/Date/DaySuffix/12&quot;,
&quot;text&quot;: &quot;th&quot;
},
&quot;$:/language/Date/DaySuffix/13&quot;: {
&quot;title&quot;: &quot;$:/language/Date/DaySuffix/13&quot;,
&quot;text&quot;: &quot;th&quot;
},
&quot;$:/language/Date/DaySuffix/14&quot;: {
&quot;title&quot;: &quot;$:/language/Date/DaySuffix/14&quot;,
&quot;text&quot;: &quot;th&quot;
},
&quot;$:/language/Date/DaySuffix/15&quot;: {
&quot;title&quot;: &quot;$:/language/Date/DaySuffix/15&quot;,
&quot;text&quot;: &quot;th&quot;
},
&quot;$:/language/Date/DaySuffix/16&quot;: {
&quot;title&quot;: &quot;$:/language/Date/DaySuffix/16&quot;,
&quot;text&quot;: &quot;th&quot;
},
&quot;$:/language/Date/DaySuffix/17&quot;: {
&quot;title&quot;: &quot;$:/language/Date/DaySuffix/17&quot;,
&quot;text&quot;: &quot;th&quot;
},
&quot;$:/language/Date/DaySuffix/18&quot;: {
&quot;title&quot;: &quot;$:/language/Date/DaySuffix/18&quot;,
&quot;text&quot;: &quot;th&quot;
},
&quot;$:/language/Date/DaySuffix/19&quot;: {
&quot;title&quot;: &quot;$:/language/Date/DaySuffix/19&quot;,
&quot;text&quot;: &quot;th&quot;
},
&quot;$:/language/Date/DaySuffix/20&quot;: {
&quot;title&quot;: &quot;$:/language/Date/DaySuffix/20&quot;,
&quot;text&quot;: &quot;th&quot;
},
&quot;$:/language/Date/DaySuffix/21&quot;: {
&quot;title&quot;: &quot;$:/language/Date/DaySuffix/21&quot;,
&quot;text&quot;: &quot;st&quot;
},
&quot;$:/language/Date/DaySuffix/22&quot;: {
&quot;title&quot;: &quot;$:/language/Date/DaySuffix/22&quot;,
&quot;text&quot;: &quot;nd&quot;
},
&quot;$:/language/Date/DaySuffix/23&quot;: {
&quot;title&quot;: &quot;$:/language/Date/DaySuffix/23&quot;,
&quot;text&quot;: &quot;rd&quot;
},
&quot;$:/language/Date/DaySuffix/24&quot;: {
&quot;title&quot;: &quot;$:/language/Date/DaySuffix/24&quot;,
&quot;text&quot;: &quot;th&quot;
},
&quot;$:/language/Date/DaySuffix/25&quot;: {
&quot;title&quot;: &quot;$:/language/Date/DaySuffix/25&quot;,
&quot;text&quot;: &quot;th&quot;
},
&quot;$:/language/Date/DaySuffix/26&quot;: {
&quot;title&quot;: &quot;$:/language/Date/DaySuffix/26&quot;,
&quot;text&quot;: &quot;th&quot;
},
&quot;$:/language/Date/DaySuffix/27&quot;: {
&quot;title&quot;: &quot;$:/language/Date/DaySuffix/27&quot;,
&quot;text&quot;: &quot;th&quot;
},
&quot;$:/language/Date/DaySuffix/28&quot;: {
&quot;title&quot;: &quot;$:/language/Date/DaySuffix/28&quot;,
&quot;text&quot;: &quot;th&quot;
},
&quot;$:/language/Date/DaySuffix/29&quot;: {
&quot;title&quot;: &quot;$:/language/Date/DaySuffix/29&quot;,
&quot;text&quot;: &quot;th&quot;
},
&quot;$:/language/Date/DaySuffix/30&quot;: {
&quot;title&quot;: &quot;$:/language/Date/DaySuffix/30&quot;,
&quot;text&quot;: &quot;th&quot;
},
&quot;$:/language/Date/DaySuffix/31&quot;: {
&quot;title&quot;: &quot;$:/language/Date/DaySuffix/31&quot;,
&quot;text&quot;: &quot;st&quot;
},
&quot;$:/language/Date/Long/Day/0&quot;: {
&quot;title&quot;: &quot;$:/language/Date/Long/Day/0&quot;,
&quot;text&quot;: &quot;Sunday&quot;
},
&quot;$:/language/Date/Long/Day/1&quot;: {
&quot;title&quot;: &quot;$:/language/Date/Long/Day/1&quot;,
&quot;text&quot;: &quot;Monday&quot;
},
&quot;$:/language/Date/Long/Day/2&quot;: {
&quot;title&quot;: &quot;$:/language/Date/Long/Day/2&quot;,
&quot;text&quot;: &quot;Tuesday&quot;
},
&quot;$:/language/Date/Long/Day/3&quot;: {
&quot;title&quot;: &quot;$:/language/Date/Long/Day/3&quot;,
&quot;text&quot;: &quot;Wednesday&quot;
},
&quot;$:/language/Date/Long/Day/4&quot;: {
&quot;title&quot;: &quot;$:/language/Date/Long/Day/4&quot;,
&quot;text&quot;: &quot;Thursday&quot;
},
&quot;$:/language/Date/Long/Day/5&quot;: {
&quot;title&quot;: &quot;$:/language/Date/Long/Day/5&quot;,
&quot;text&quot;: &quot;Friday&quot;
},
&quot;$:/language/Date/Long/Day/6&quot;: {
&quot;title&quot;: &quot;$:/language/Date/Long/Day/6&quot;,
&quot;text&quot;: &quot;Saturday&quot;
},
&quot;$:/language/Date/Long/Month/1&quot;: {
&quot;title&quot;: &quot;$:/language/Date/Long/Month/1&quot;,
&quot;text&quot;: &quot;January&quot;
},
&quot;$:/language/Date/Long/Month/2&quot;: {
&quot;title&quot;: &quot;$:/language/Date/Long/Month/2&quot;,
&quot;text&quot;: &quot;February&quot;
},
&quot;$:/language/Date/Long/Month/3&quot;: {
&quot;title&quot;: &quot;$:/language/Date/Long/Month/3&quot;,
&quot;text&quot;: &quot;March&quot;
},
&quot;$:/language/Date/Long/Month/4&quot;: {
&quot;title&quot;: &quot;$:/language/Date/Long/Month/4&quot;,
&quot;text&quot;: &quot;April&quot;
},
&quot;$:/language/Date/Long/Month/5&quot;: {
&quot;title&quot;: &quot;$:/language/Date/Long/Month/5&quot;,
&quot;text&quot;: &quot;May&quot;
},
&quot;$:/language/Date/Long/Month/6&quot;: {
&quot;title&quot;: &quot;$:/language/Date/Long/Month/6&quot;,
&quot;text&quot;: &quot;June&quot;
},
&quot;$:/language/Date/Long/Month/7&quot;: {
&quot;title&quot;: &quot;$:/language/Date/Long/Month/7&quot;,
&quot;text&quot;: &quot;July&quot;
},
&quot;$:/language/Date/Long/Month/8&quot;: {
&quot;title&quot;: &quot;$:/language/Date/Long/Month/8&quot;,
&quot;text&quot;: &quot;August&quot;
},
&quot;$:/language/Date/Long/Month/9&quot;: {
&quot;title&quot;: &quot;$:/language/Date/Long/Month/9&quot;,
&quot;text&quot;: &quot;September&quot;
},
&quot;$:/language/Date/Long/Month/10&quot;: {
&quot;title&quot;: &quot;$:/language/Date/Long/Month/10&quot;,
&quot;text&quot;: &quot;October&quot;
},
&quot;$:/language/Date/Long/Month/11&quot;: {
&quot;title&quot;: &quot;$:/language/Date/Long/Month/11&quot;,
&quot;text&quot;: &quot;November&quot;
},
&quot;$:/language/Date/Long/Month/12&quot;: {
&quot;title&quot;: &quot;$:/language/Date/Long/Month/12&quot;,
&quot;text&quot;: &quot;December&quot;
},
&quot;$:/language/Date/Period/am&quot;: {
&quot;title&quot;: &quot;$:/language/Date/Period/am&quot;,
&quot;text&quot;: &quot;am&quot;
},
&quot;$:/language/Date/Period/pm&quot;: {
&quot;title&quot;: &quot;$:/language/Date/Period/pm&quot;,
&quot;text&quot;: &quot;pm&quot;
},
&quot;$:/language/Date/Short/Day/0&quot;: {
&quot;title&quot;: &quot;$:/language/Date/Short/Day/0&quot;,
&quot;text&quot;: &quot;Sun&quot;
},
&quot;$:/language/Date/Short/Day/1&quot;: {
&quot;title&quot;: &quot;$:/language/Date/Short/Day/1&quot;,
&quot;text&quot;: &quot;Mon&quot;
},
&quot;$:/language/Date/Short/Day/2&quot;: {
&quot;title&quot;: &quot;$:/language/Date/Short/Day/2&quot;,
&quot;text&quot;: &quot;Tue&quot;
},
&quot;$:/language/Date/Short/Day/3&quot;: {
&quot;title&quot;: &quot;$:/language/Date/Short/Day/3&quot;,
&quot;text&quot;: &quot;Wed&quot;
},
&quot;$:/language/Date/Short/Day/4&quot;: {
&quot;title&quot;: &quot;$:/language/Date/Short/Day/4&quot;,
&quot;text&quot;: &quot;Thu&quot;
},
&quot;$:/language/Date/Short/Day/5&quot;: {
&quot;title&quot;: &quot;$:/language/Date/Short/Day/5&quot;,
&quot;text&quot;: &quot;Fri&quot;
},
&quot;$:/language/Date/Short/Day/6&quot;: {
&quot;title&quot;: &quot;$:/language/Date/Short/Day/6&quot;,
&quot;text&quot;: &quot;Sat&quot;
},
&quot;$:/language/Date/Short/Month/1&quot;: {
&quot;title&quot;: &quot;$:/language/Date/Short/Month/1&quot;,
&quot;text&quot;: &quot;Jan&quot;
},
&quot;$:/language/Date/Short/Month/2&quot;: {
&quot;title&quot;: &quot;$:/language/Date/Short/Month/2&quot;,
&quot;text&quot;: &quot;Feb&quot;
},
&quot;$:/language/Date/Short/Month/3&quot;: {
&quot;title&quot;: &quot;$:/language/Date/Short/Month/3&quot;,
&quot;text&quot;: &quot;Mar&quot;
},
&quot;$:/language/Date/Short/Month/4&quot;: {
&quot;title&quot;: &quot;$:/language/Date/Short/Month/4&quot;,
&quot;text&quot;: &quot;Apr&quot;
},
&quot;$:/language/Date/Short/Month/5&quot;: {
&quot;title&quot;: &quot;$:/language/Date/Short/Month/5&quot;,
&quot;text&quot;: &quot;May&quot;
},
&quot;$:/language/Date/Short/Month/6&quot;: {
&quot;title&quot;: &quot;$:/language/Date/Short/Month/6&quot;,
&quot;text&quot;: &quot;Jun&quot;
},
&quot;$:/language/Date/Short/Month/7&quot;: {
&quot;title&quot;: &quot;$:/language/Date/Short/Month/7&quot;,
&quot;text&quot;: &quot;Jul&quot;
},
&quot;$:/language/Date/Short/Month/8&quot;: {
&quot;title&quot;: &quot;$:/language/Date/Short/Month/8&quot;,
&quot;text&quot;: &quot;Aug&quot;
},
&quot;$:/language/Date/Short/Month/9&quot;: {
&quot;title&quot;: &quot;$:/language/Date/Short/Month/9&quot;,
&quot;text&quot;: &quot;Sep&quot;
},
&quot;$:/language/Date/Short/Month/10&quot;: {
&quot;title&quot;: &quot;$:/language/Date/Short/Month/10&quot;,
&quot;text&quot;: &quot;Oct&quot;
},
&quot;$:/language/Date/Short/Month/11&quot;: {
&quot;title&quot;: &quot;$:/language/Date/Short/Month/11&quot;,
&quot;text&quot;: &quot;Nov&quot;
},
&quot;$:/language/Date/Short/Month/12&quot;: {
&quot;title&quot;: &quot;$:/language/Date/Short/Month/12&quot;,
&quot;text&quot;: &quot;Dec&quot;
},
&quot;$:/language/RelativeDate/Future/Days&quot;: {
&quot;title&quot;: &quot;$:/language/RelativeDate/Future/Days&quot;,
&quot;text&quot;: &quot;&lt;&lt;period&gt;&gt; days from now&quot;
},
&quot;$:/language/RelativeDate/Future/Hours&quot;: {
&quot;title&quot;: &quot;$:/language/RelativeDate/Future/Hours&quot;,
&quot;text&quot;: &quot;&lt;&lt;period&gt;&gt; hours from now&quot;
},
&quot;$:/language/RelativeDate/Future/Minutes&quot;: {
&quot;title&quot;: &quot;$:/language/RelativeDate/Future/Minutes&quot;,
&quot;text&quot;: &quot;&lt;&lt;period&gt;&gt; minutes from now&quot;
},
&quot;$:/language/RelativeDate/Future/Months&quot;: {
&quot;title&quot;: &quot;$:/language/RelativeDate/Future/Months&quot;,
&quot;text&quot;: &quot;&lt;&lt;period&gt;&gt; months from now&quot;
},
&quot;$:/language/RelativeDate/Future/Second&quot;: {
&quot;title&quot;: &quot;$:/language/RelativeDate/Future/Second&quot;,
&quot;text&quot;: &quot;1 second from now&quot;
},
&quot;$:/language/RelativeDate/Future/Seconds&quot;: {
&quot;title&quot;: &quot;$:/language/RelativeDate/Future/Seconds&quot;,
&quot;text&quot;: &quot;&lt;&lt;period&gt;&gt; seconds from now&quot;
},
&quot;$:/language/RelativeDate/Future/Years&quot;: {
&quot;title&quot;: &quot;$:/language/RelativeDate/Future/Years&quot;,
&quot;text&quot;: &quot;&lt;&lt;period&gt;&gt; years from now&quot;
},
&quot;$:/language/RelativeDate/Past/Days&quot;: {
&quot;title&quot;: &quot;$:/language/RelativeDate/Past/Days&quot;,
&quot;text&quot;: &quot;&lt;&lt;period&gt;&gt; days ago&quot;
},
&quot;$:/language/RelativeDate/Past/Hours&quot;: {
&quot;title&quot;: &quot;$:/language/RelativeDate/Past/Hours&quot;,
&quot;text&quot;: &quot;&lt;&lt;period&gt;&gt; hours ago&quot;
},
&quot;$:/language/RelativeDate/Past/Minutes&quot;: {
&quot;title&quot;: &quot;$:/language/RelativeDate/Past/Minutes&quot;,
&quot;text&quot;: &quot;&lt;&lt;period&gt;&gt; minutes ago&quot;
},
&quot;$:/language/RelativeDate/Past/Months&quot;: {
&quot;title&quot;: &quot;$:/language/RelativeDate/Past/Months&quot;,
&quot;text&quot;: &quot;&lt;&lt;period&gt;&gt; months ago&quot;
},
&quot;$:/language/RelativeDate/Past/Second&quot;: {
&quot;title&quot;: &quot;$:/language/RelativeDate/Past/Second&quot;,
&quot;text&quot;: &quot;1 second ago&quot;
},
&quot;$:/language/RelativeDate/Past/Seconds&quot;: {
&quot;title&quot;: &quot;$:/language/RelativeDate/Past/Seconds&quot;,
&quot;text&quot;: &quot;&lt;&lt;period&gt;&gt; seconds ago&quot;
},
&quot;$:/language/RelativeDate/Past/Years&quot;: {
&quot;title&quot;: &quot;$:/language/RelativeDate/Past/Years&quot;,
&quot;text&quot;: &quot;&lt;&lt;period&gt;&gt; years ago&quot;
},
&quot;$:/language/Docs/ModuleTypes/allfilteroperator&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/ModuleTypes/allfilteroperator&quot;,
&quot;text&quot;: &quot;A sub-operator for the ''all'' filter operator.&quot;
},
&quot;$:/language/Docs/ModuleTypes/animation&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/ModuleTypes/animation&quot;,
&quot;text&quot;: &quot;Animations that may be used with the RevealWidget.&quot;
},
&quot;$:/language/Docs/ModuleTypes/authenticator&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/ModuleTypes/authenticator&quot;,
&quot;text&quot;: &quot;Defines how requests are authenticated by the built-in HTTP server.&quot;
},
&quot;$:/language/Docs/ModuleTypes/bitmapeditoroperation&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/ModuleTypes/bitmapeditoroperation&quot;,
&quot;text&quot;: &quot;A bitmap editor toolbar operation.&quot;
},
&quot;$:/language/Docs/ModuleTypes/command&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/ModuleTypes/command&quot;,
&quot;text&quot;: &quot;Commands that can be executed under Node.js.&quot;
},
&quot;$:/language/Docs/ModuleTypes/config&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/ModuleTypes/config&quot;,
&quot;text&quot;: &quot;Data to be inserted into `$tw.config`.&quot;
},
&quot;$:/language/Docs/ModuleTypes/filteroperator&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/ModuleTypes/filteroperator&quot;,
&quot;text&quot;: &quot;Individual filter operator methods.&quot;
},
&quot;$:/language/Docs/ModuleTypes/global&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/ModuleTypes/global&quot;,
&quot;text&quot;: &quot;Global data to be inserted into `$tw`.&quot;
},
&quot;$:/language/Docs/ModuleTypes/info&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/ModuleTypes/info&quot;,
&quot;text&quot;: &quot;Publishes system information via the [[$:/temp/info-plugin]] pseudo-plugin.&quot;
},
&quot;$:/language/Docs/ModuleTypes/isfilteroperator&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/ModuleTypes/isfilteroperator&quot;,
&quot;text&quot;: &quot;Operands for the ''is'' filter operator.&quot;
},
&quot;$:/language/Docs/ModuleTypes/library&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/ModuleTypes/library&quot;,
&quot;text&quot;: &quot;Generic module type for general purpose JavaScript modules.&quot;
},
&quot;$:/language/Docs/ModuleTypes/macro&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/ModuleTypes/macro&quot;,
&quot;text&quot;: &quot;JavaScript macro definitions.&quot;
},
&quot;$:/language/Docs/ModuleTypes/parser&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/ModuleTypes/parser&quot;,
&quot;text&quot;: &quot;Parsers for different content types.&quot;
},
&quot;$:/language/Docs/ModuleTypes/route&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/ModuleTypes/route&quot;,
&quot;text&quot;: &quot;Defines how individual URL patterns are handled by the built-in HTTP server.&quot;
},
&quot;$:/language/Docs/ModuleTypes/saver&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/ModuleTypes/saver&quot;,
&quot;text&quot;: &quot;Savers handle different methods for saving files from the browser.&quot;
},
&quot;$:/language/Docs/ModuleTypes/startup&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/ModuleTypes/startup&quot;,
&quot;text&quot;: &quot;Startup functions.&quot;
},
&quot;$:/language/Docs/ModuleTypes/storyview&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/ModuleTypes/storyview&quot;,
&quot;text&quot;: &quot;Story views customise the animation and behaviour of list widgets.&quot;
},
&quot;$:/language/Docs/ModuleTypes/texteditoroperation&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/ModuleTypes/texteditoroperation&quot;,
&quot;text&quot;: &quot;A text editor toolbar operation.&quot;
},
&quot;$:/language/Docs/ModuleTypes/tiddlerdeserializer&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/ModuleTypes/tiddlerdeserializer&quot;,
&quot;text&quot;: &quot;Converts different content types into tiddlers.&quot;
},
&quot;$:/language/Docs/ModuleTypes/tiddlerfield&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/ModuleTypes/tiddlerfield&quot;,
&quot;text&quot;: &quot;Defines the behaviour of an individual tiddler field.&quot;
},
&quot;$:/language/Docs/ModuleTypes/tiddlermethod&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/ModuleTypes/tiddlermethod&quot;,
&quot;text&quot;: &quot;Adds methods to the `$tw.Tiddler` prototype.&quot;
},
&quot;$:/language/Docs/ModuleTypes/upgrader&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/ModuleTypes/upgrader&quot;,
&quot;text&quot;: &quot;Applies upgrade processing to tiddlers during an upgrade/import.&quot;
},
&quot;$:/language/Docs/ModuleTypes/utils&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/ModuleTypes/utils&quot;,
&quot;text&quot;: &quot;Adds methods to `$tw.utils`.&quot;
},
&quot;$:/language/Docs/ModuleTypes/utils-node&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/ModuleTypes/utils-node&quot;,
&quot;text&quot;: &quot;Adds Node.js-specific methods to `$tw.utils`.&quot;
},
&quot;$:/language/Docs/ModuleTypes/widget&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/ModuleTypes/widget&quot;,
&quot;text&quot;: &quot;Widgets encapsulate DOM rendering and refreshing.&quot;
},
&quot;$:/language/Docs/ModuleTypes/wikimethod&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/ModuleTypes/wikimethod&quot;,
&quot;text&quot;: &quot;Adds methods to `$tw.Wiki`.&quot;
},
&quot;$:/language/Docs/ModuleTypes/wikirule&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/ModuleTypes/wikirule&quot;,
&quot;text&quot;: &quot;Individual parser rules for the main WikiText parser.&quot;
},
&quot;$:/language/Docs/PaletteColours/alert-background&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/alert-background&quot;,
&quot;text&quot;: &quot;Alert background&quot;
},
&quot;$:/language/Docs/PaletteColours/alert-border&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/alert-border&quot;,
&quot;text&quot;: &quot;Alert border&quot;
},
&quot;$:/language/Docs/PaletteColours/alert-highlight&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/alert-highlight&quot;,
&quot;text&quot;: &quot;Alert highlight&quot;
},
&quot;$:/language/Docs/PaletteColours/alert-muted-foreground&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/alert-muted-foreground&quot;,
&quot;text&quot;: &quot;Alert muted foreground&quot;
},
&quot;$:/language/Docs/PaletteColours/background&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/background&quot;,
&quot;text&quot;: &quot;General background&quot;
},
&quot;$:/language/Docs/PaletteColours/blockquote-bar&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/blockquote-bar&quot;,
&quot;text&quot;: &quot;Blockquote bar&quot;
},
&quot;$:/language/Docs/PaletteColours/button-background&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/button-background&quot;,
&quot;text&quot;: &quot;Default button background&quot;
},
&quot;$:/language/Docs/PaletteColours/button-border&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/button-border&quot;,
&quot;text&quot;: &quot;Default button border&quot;
},
&quot;$:/language/Docs/PaletteColours/button-foreground&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/button-foreground&quot;,
&quot;text&quot;: &quot;Default button foreground&quot;
},
&quot;$:/language/Docs/PaletteColours/dirty-indicator&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/dirty-indicator&quot;,
&quot;text&quot;: &quot;Unsaved changes indicator&quot;
},
&quot;$:/language/Docs/PaletteColours/code-background&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/code-background&quot;,
&quot;text&quot;: &quot;Code background&quot;
},
&quot;$:/language/Docs/PaletteColours/code-border&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/code-border&quot;,
&quot;text&quot;: &quot;Code border&quot;
},
&quot;$:/language/Docs/PaletteColours/code-foreground&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/code-foreground&quot;,
&quot;text&quot;: &quot;Code foreground&quot;
},
&quot;$:/language/Docs/PaletteColours/download-background&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/download-background&quot;,
&quot;text&quot;: &quot;Download button background&quot;
},
&quot;$:/language/Docs/PaletteColours/download-foreground&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/download-foreground&quot;,
&quot;text&quot;: &quot;Download button foreground&quot;
},
&quot;$:/language/Docs/PaletteColours/dragger-background&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/dragger-background&quot;,
&quot;text&quot;: &quot;Dragger background&quot;
},
&quot;$:/language/Docs/PaletteColours/dragger-foreground&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/dragger-foreground&quot;,
&quot;text&quot;: &quot;Dragger foreground&quot;
},
&quot;$:/language/Docs/PaletteColours/dropdown-background&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/dropdown-background&quot;,
&quot;text&quot;: &quot;Dropdown background&quot;
},
&quot;$:/language/Docs/PaletteColours/dropdown-border&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/dropdown-border&quot;,
&quot;text&quot;: &quot;Dropdown border&quot;
},
&quot;$:/language/Docs/PaletteColours/dropdown-tab-background-selected&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/dropdown-tab-background-selected&quot;,
&quot;text&quot;: &quot;Dropdown tab background for selected tabs&quot;
},
&quot;$:/language/Docs/PaletteColours/dropdown-tab-background&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/dropdown-tab-background&quot;,
&quot;text&quot;: &quot;Dropdown tab background&quot;
},
&quot;$:/language/Docs/PaletteColours/dropzone-background&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/dropzone-background&quot;,
&quot;text&quot;: &quot;Dropzone background&quot;
},
&quot;$:/language/Docs/PaletteColours/external-link-background-hover&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/external-link-background-hover&quot;,
&quot;text&quot;: &quot;External link background hover&quot;
},
&quot;$:/language/Docs/PaletteColours/external-link-background-visited&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/external-link-background-visited&quot;,
&quot;text&quot;: &quot;External link background visited&quot;
},
&quot;$:/language/Docs/PaletteColours/external-link-background&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/external-link-background&quot;,
&quot;text&quot;: &quot;External link background&quot;
},
&quot;$:/language/Docs/PaletteColours/external-link-foreground-hover&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/external-link-foreground-hover&quot;,
&quot;text&quot;: &quot;External link foreground hover&quot;
},
&quot;$:/language/Docs/PaletteColours/external-link-foreground-visited&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/external-link-foreground-visited&quot;,
&quot;text&quot;: &quot;External link foreground visited&quot;
},
&quot;$:/language/Docs/PaletteColours/external-link-foreground&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/external-link-foreground&quot;,
&quot;text&quot;: &quot;External link foreground&quot;
},
&quot;$:/language/Docs/PaletteColours/foreground&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/foreground&quot;,
&quot;text&quot;: &quot;General foreground&quot;
},
&quot;$:/language/Docs/PaletteColours/menubar-background&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/menubar-background&quot;,
&quot;text&quot;: &quot;Menu bar background&quot;
},
&quot;$:/language/Docs/PaletteColours/menubar-foreground&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/menubar-foreground&quot;,
&quot;text&quot;: &quot;Menu bar foreground&quot;
},
&quot;$:/language/Docs/PaletteColours/message-background&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/message-background&quot;,
&quot;text&quot;: &quot;Message box background&quot;
},
&quot;$:/language/Docs/PaletteColours/message-border&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/message-border&quot;,
&quot;text&quot;: &quot;Message box border&quot;
},
&quot;$:/language/Docs/PaletteColours/message-foreground&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/message-foreground&quot;,
&quot;text&quot;: &quot;Message box foreground&quot;
},
&quot;$:/language/Docs/PaletteColours/modal-backdrop&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/modal-backdrop&quot;,
&quot;text&quot;: &quot;Modal backdrop&quot;
},
&quot;$:/language/Docs/PaletteColours/modal-background&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/modal-background&quot;,
&quot;text&quot;: &quot;Modal background&quot;
},
&quot;$:/language/Docs/PaletteColours/modal-border&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/modal-border&quot;,
&quot;text&quot;: &quot;Modal border&quot;
},
&quot;$:/language/Docs/PaletteColours/modal-footer-background&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/modal-footer-background&quot;,
&quot;text&quot;: &quot;Modal footer background&quot;
},
&quot;$:/language/Docs/PaletteColours/modal-footer-border&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/modal-footer-border&quot;,
&quot;text&quot;: &quot;Modal footer border&quot;
},
&quot;$:/language/Docs/PaletteColours/modal-header-border&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/modal-header-border&quot;,
&quot;text&quot;: &quot;Modal header border&quot;
},
&quot;$:/language/Docs/PaletteColours/muted-foreground&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/muted-foreground&quot;,
&quot;text&quot;: &quot;General muted foreground&quot;
},
&quot;$:/language/Docs/PaletteColours/notification-background&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/notification-background&quot;,
&quot;text&quot;: &quot;Notification background&quot;
},
&quot;$:/language/Docs/PaletteColours/notification-border&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/notification-border&quot;,
&quot;text&quot;: &quot;Notification border&quot;
},
&quot;$:/language/Docs/PaletteColours/page-background&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/page-background&quot;,
&quot;text&quot;: &quot;Page background&quot;
},
&quot;$:/language/Docs/PaletteColours/pre-background&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/pre-background&quot;,
&quot;text&quot;: &quot;Preformatted code background&quot;
},
&quot;$:/language/Docs/PaletteColours/pre-border&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/pre-border&quot;,
&quot;text&quot;: &quot;Preformatted code border&quot;
},
&quot;$:/language/Docs/PaletteColours/primary&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/primary&quot;,
&quot;text&quot;: &quot;General primary&quot;
},
&quot;$:/language/Docs/PaletteColours/select-tag-background&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/select-tag-background&quot;,
&quot;text&quot;: &quot;`&lt;select&gt;` element background&quot;
},
&quot;$:/language/Docs/PaletteColours/select-tag-foreground&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/select-tag-foreground&quot;,
&quot;text&quot;: &quot;`&lt;select&gt;` element text&quot;
},
&quot;$:/language/Docs/PaletteColours/sidebar-button-foreground&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/sidebar-button-foreground&quot;,
&quot;text&quot;: &quot;Sidebar button foreground&quot;
},
&quot;$:/language/Docs/PaletteColours/sidebar-controls-foreground-hover&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/sidebar-controls-foreground-hover&quot;,
&quot;text&quot;: &quot;Sidebar controls foreground hover&quot;
},
&quot;$:/language/Docs/PaletteColours/sidebar-controls-foreground&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/sidebar-controls-foreground&quot;,
&quot;text&quot;: &quot;Sidebar controls foreground&quot;
},
&quot;$:/language/Docs/PaletteColours/sidebar-foreground-shadow&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/sidebar-foreground-shadow&quot;,
&quot;text&quot;: &quot;Sidebar foreground shadow&quot;
},
&quot;$:/language/Docs/PaletteColours/sidebar-foreground&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/sidebar-foreground&quot;,
&quot;text&quot;: &quot;Sidebar foreground&quot;
},
&quot;$:/language/Docs/PaletteColours/sidebar-muted-foreground-hover&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/sidebar-muted-foreground-hover&quot;,
&quot;text&quot;: &quot;Sidebar muted foreground hover&quot;
},
&quot;$:/language/Docs/PaletteColours/sidebar-muted-foreground&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/sidebar-muted-foreground&quot;,
&quot;text&quot;: &quot;Sidebar muted foreground&quot;
},
&quot;$:/language/Docs/PaletteColours/sidebar-tab-background-selected&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/sidebar-tab-background-selected&quot;,
&quot;text&quot;: &quot;Sidebar tab background for selected tabs&quot;
},
&quot;$:/language/Docs/PaletteColours/sidebar-tab-background&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/sidebar-tab-background&quot;,
&quot;text&quot;: &quot;Sidebar tab background&quot;
},
&quot;$:/language/Docs/PaletteColours/sidebar-tab-border-selected&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/sidebar-tab-border-selected&quot;,
&quot;text&quot;: &quot;Sidebar tab border for selected tabs&quot;
},
&quot;$:/language/Docs/PaletteColours/sidebar-tab-border&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/sidebar-tab-border&quot;,
&quot;text&quot;: &quot;Sidebar tab border&quot;
},
&quot;$:/language/Docs/PaletteColours/sidebar-tab-divider&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/sidebar-tab-divider&quot;,
&quot;text&quot;: &quot;Sidebar tab divider&quot;
},
&quot;$:/language/Docs/PaletteColours/sidebar-tab-foreground-selected&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/sidebar-tab-foreground-selected&quot;,
&quot;text&quot;: &quot;Sidebar tab foreground for selected tabs&quot;
},
&quot;$:/language/Docs/PaletteColours/sidebar-tab-foreground&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/sidebar-tab-foreground&quot;,
&quot;text&quot;: &quot;Sidebar tab foreground&quot;
},
&quot;$:/language/Docs/PaletteColours/sidebar-tiddler-link-foreground-hover&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/sidebar-tiddler-link-foreground-hover&quot;,
&quot;text&quot;: &quot;Sidebar tiddler link foreground hover&quot;
},
&quot;$:/language/Docs/PaletteColours/sidebar-tiddler-link-foreground&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/sidebar-tiddler-link-foreground&quot;,
&quot;text&quot;: &quot;Sidebar tiddler link foreground&quot;
},
&quot;$:/language/Docs/PaletteColours/site-title-foreground&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/site-title-foreground&quot;,
&quot;text&quot;: &quot;Site title foreground&quot;
},
&quot;$:/language/Docs/PaletteColours/static-alert-foreground&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/static-alert-foreground&quot;,
&quot;text&quot;: &quot;Static alert foreground&quot;
},
&quot;$:/language/Docs/PaletteColours/tab-background-selected&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/tab-background-selected&quot;,
&quot;text&quot;: &quot;Tab background for selected tabs&quot;
},
&quot;$:/language/Docs/PaletteColours/tab-background&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/tab-background&quot;,
&quot;text&quot;: &quot;Tab background&quot;
},
&quot;$:/language/Docs/PaletteColours/tab-border-selected&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/tab-border-selected&quot;,
&quot;text&quot;: &quot;Tab border for selected tabs&quot;
},
&quot;$:/language/Docs/PaletteColours/tab-border&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/tab-border&quot;,
&quot;text&quot;: &quot;Tab border&quot;
},
&quot;$:/language/Docs/PaletteColours/tab-divider&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/tab-divider&quot;,
&quot;text&quot;: &quot;Tab divider&quot;
},
&quot;$:/language/Docs/PaletteColours/tab-foreground-selected&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/tab-foreground-selected&quot;,
&quot;text&quot;: &quot;Tab foreground for selected tabs&quot;
},
&quot;$:/language/Docs/PaletteColours/tab-foreground&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/tab-foreground&quot;,
&quot;text&quot;: &quot;Tab foreground&quot;
},
&quot;$:/language/Docs/PaletteColours/table-border&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/table-border&quot;,
&quot;text&quot;: &quot;Table border&quot;
},
&quot;$:/language/Docs/PaletteColours/table-footer-background&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/table-footer-background&quot;,
&quot;text&quot;: &quot;Table footer background&quot;
},
&quot;$:/language/Docs/PaletteColours/table-header-background&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/table-header-background&quot;,
&quot;text&quot;: &quot;Table header background&quot;
},
&quot;$:/language/Docs/PaletteColours/tag-background&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/tag-background&quot;,
&quot;text&quot;: &quot;Tag background&quot;
},
&quot;$:/language/Docs/PaletteColours/tag-foreground&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/tag-foreground&quot;,
&quot;text&quot;: &quot;Tag foreground&quot;
},
&quot;$:/language/Docs/PaletteColours/tiddler-background&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/tiddler-background&quot;,
&quot;text&quot;: &quot;Tiddler background&quot;
},
&quot;$:/language/Docs/PaletteColours/tiddler-border&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/tiddler-border&quot;,
&quot;text&quot;: &quot;Tiddler border&quot;
},
&quot;$:/language/Docs/PaletteColours/tiddler-controls-foreground-hover&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/tiddler-controls-foreground-hover&quot;,
&quot;text&quot;: &quot;Tiddler controls foreground hover&quot;
},
&quot;$:/language/Docs/PaletteColours/tiddler-controls-foreground-selected&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/tiddler-controls-foreground-selected&quot;,
&quot;text&quot;: &quot;Tiddler controls foreground for selected controls&quot;
},
&quot;$:/language/Docs/PaletteColours/tiddler-controls-foreground&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/tiddler-controls-foreground&quot;,
&quot;text&quot;: &quot;Tiddler controls foreground&quot;
},
&quot;$:/language/Docs/PaletteColours/tiddler-editor-background&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/tiddler-editor-background&quot;,
&quot;text&quot;: &quot;Tiddler editor background&quot;
},
&quot;$:/language/Docs/PaletteColours/tiddler-editor-border-image&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/tiddler-editor-border-image&quot;,
&quot;text&quot;: &quot;Tiddler editor border image&quot;
},
&quot;$:/language/Docs/PaletteColours/tiddler-editor-border&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/tiddler-editor-border&quot;,
&quot;text&quot;: &quot;Tiddler editor border&quot;
},
&quot;$:/language/Docs/PaletteColours/tiddler-editor-fields-even&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/tiddler-editor-fields-even&quot;,
&quot;text&quot;: &quot;Tiddler editor background for even fields&quot;
},
&quot;$:/language/Docs/PaletteColours/tiddler-editor-fields-odd&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/tiddler-editor-fields-odd&quot;,
&quot;text&quot;: &quot;Tiddler editor background for odd fields&quot;
},
&quot;$:/language/Docs/PaletteColours/tiddler-info-background&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/tiddler-info-background&quot;,
&quot;text&quot;: &quot;Tiddler info panel background&quot;
},
&quot;$:/language/Docs/PaletteColours/tiddler-info-border&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/tiddler-info-border&quot;,
&quot;text&quot;: &quot;Tiddler info panel border&quot;
},
&quot;$:/language/Docs/PaletteColours/tiddler-info-tab-background&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/tiddler-info-tab-background&quot;,
&quot;text&quot;: &quot;Tiddler info panel tab background&quot;
},
&quot;$:/language/Docs/PaletteColours/tiddler-link-background&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/tiddler-link-background&quot;,
&quot;text&quot;: &quot;Tiddler link background&quot;
},
&quot;$:/language/Docs/PaletteColours/tiddler-link-foreground&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/tiddler-link-foreground&quot;,
&quot;text&quot;: &quot;Tiddler link foreground&quot;
},
&quot;$:/language/Docs/PaletteColours/tiddler-subtitle-foreground&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/tiddler-subtitle-foreground&quot;,
&quot;text&quot;: &quot;Tiddler subtitle foreground&quot;
},
&quot;$:/language/Docs/PaletteColours/tiddler-title-foreground&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/tiddler-title-foreground&quot;,
&quot;text&quot;: &quot;Tiddler title foreground&quot;
},
&quot;$:/language/Docs/PaletteColours/toolbar-new-button&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/toolbar-new-button&quot;,
&quot;text&quot;: &quot;Toolbar 'new tiddler' button foreground&quot;
},
&quot;$:/language/Docs/PaletteColours/toolbar-options-button&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/toolbar-options-button&quot;,
&quot;text&quot;: &quot;Toolbar 'options' button foreground&quot;
},
&quot;$:/language/Docs/PaletteColours/toolbar-save-button&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/toolbar-save-button&quot;,
&quot;text&quot;: &quot;Toolbar 'save' button foreground&quot;
},
&quot;$:/language/Docs/PaletteColours/toolbar-info-button&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/toolbar-info-button&quot;,
&quot;text&quot;: &quot;Toolbar 'info' button foreground&quot;
},
&quot;$:/language/Docs/PaletteColours/toolbar-edit-button&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/toolbar-edit-button&quot;,
&quot;text&quot;: &quot;Toolbar 'edit' button foreground&quot;
},
&quot;$:/language/Docs/PaletteColours/toolbar-close-button&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/toolbar-close-button&quot;,
&quot;text&quot;: &quot;Toolbar 'close' button foreground&quot;
},
&quot;$:/language/Docs/PaletteColours/toolbar-delete-button&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/toolbar-delete-button&quot;,
&quot;text&quot;: &quot;Toolbar 'delete' button foreground&quot;
},
&quot;$:/language/Docs/PaletteColours/toolbar-cancel-button&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/toolbar-cancel-button&quot;,
&quot;text&quot;: &quot;Toolbar 'cancel' button foreground&quot;
},
&quot;$:/language/Docs/PaletteColours/toolbar-done-button&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/toolbar-done-button&quot;,
&quot;text&quot;: &quot;Toolbar 'done' button foreground&quot;
},
&quot;$:/language/Docs/PaletteColours/untagged-background&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/untagged-background&quot;,
&quot;text&quot;: &quot;Untagged pill background&quot;
},
&quot;$:/language/Docs/PaletteColours/very-muted-foreground&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/PaletteColours/very-muted-foreground&quot;,
&quot;text&quot;: &quot;Very muted foreground&quot;
},
&quot;$:/language/EditTemplate/Body/External/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/EditTemplate/Body/External/Hint&quot;,
&quot;text&quot;: &quot;This tiddler shows content stored outside of the main TiddlyWiki file. You can edit the tags and fields but cannot directly edit the content itself&quot;
},
&quot;$:/language/EditTemplate/Body/Placeholder&quot;: {
&quot;title&quot;: &quot;$:/language/EditTemplate/Body/Placeholder&quot;,
&quot;text&quot;: &quot;Type the text for this tiddler&quot;
},
&quot;$:/language/EditTemplate/Body/Preview/Type/Output&quot;: {
&quot;title&quot;: &quot;$:/language/EditTemplate/Body/Preview/Type/Output&quot;,
&quot;text&quot;: &quot;output&quot;
},
&quot;$:/language/EditTemplate/Field/Remove/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/EditTemplate/Field/Remove/Caption&quot;,
&quot;text&quot;: &quot;remove field&quot;
},
&quot;$:/language/EditTemplate/Field/Remove/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/EditTemplate/Field/Remove/Hint&quot;,
&quot;text&quot;: &quot;Remove field&quot;
},
&quot;$:/language/EditTemplate/Field/Dropdown/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/EditTemplate/Field/Dropdown/Caption&quot;,
&quot;text&quot;: &quot;field list&quot;
},
&quot;$:/language/EditTemplate/Field/Dropdown/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/EditTemplate/Field/Dropdown/Hint&quot;,
&quot;text&quot;: &quot;Show field list&quot;
},
&quot;$:/language/EditTemplate/Fields/Add/Button&quot;: {
&quot;title&quot;: &quot;$:/language/EditTemplate/Fields/Add/Button&quot;,
&quot;text&quot;: &quot;add&quot;
},
&quot;$:/language/EditTemplate/Fields/Add/Button/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/EditTemplate/Fields/Add/Button/Hint&quot;,
&quot;text&quot;: &quot;Add the new field to the tiddler&quot;
},
&quot;$:/language/EditTemplate/Fields/Add/Name/Placeholder&quot;: {
&quot;title&quot;: &quot;$:/language/EditTemplate/Fields/Add/Name/Placeholder&quot;,
&quot;text&quot;: &quot;field name&quot;
},
&quot;$:/language/EditTemplate/Fields/Add/Prompt&quot;: {
&quot;title&quot;: &quot;$:/language/EditTemplate/Fields/Add/Prompt&quot;,
&quot;text&quot;: &quot;Add a new field:&quot;
},
&quot;$:/language/EditTemplate/Fields/Add/Value/Placeholder&quot;: {
&quot;title&quot;: &quot;$:/language/EditTemplate/Fields/Add/Value/Placeholder&quot;,
&quot;text&quot;: &quot;field value&quot;
},
&quot;$:/language/EditTemplate/Fields/Add/Dropdown/System&quot;: {
&quot;title&quot;: &quot;$:/language/EditTemplate/Fields/Add/Dropdown/System&quot;,
&quot;text&quot;: &quot;System fields&quot;
},
&quot;$:/language/EditTemplate/Fields/Add/Dropdown/User&quot;: {
&quot;title&quot;: &quot;$:/language/EditTemplate/Fields/Add/Dropdown/User&quot;,
&quot;text&quot;: &quot;User fields&quot;
},
&quot;$:/language/EditTemplate/Shadow/Warning&quot;: {
&quot;title&quot;: &quot;$:/language/EditTemplate/Shadow/Warning&quot;,
&quot;text&quot;: &quot;This is a shadow tiddler. Any changes you make will override the default version from the plugin &lt;&lt;pluginLink&gt;&gt;&quot;
},
&quot;$:/language/EditTemplate/Shadow/OverriddenWarning&quot;: {
&quot;title&quot;: &quot;$:/language/EditTemplate/Shadow/OverriddenWarning&quot;,
&quot;text&quot;: &quot;This is a modified shadow tiddler. You can revert to the default version in the plugin &lt;&lt;pluginLink&gt;&gt; by deleting this tiddler&quot;
},
&quot;$:/language/EditTemplate/Tags/Add/Button&quot;: {
&quot;title&quot;: &quot;$:/language/EditTemplate/Tags/Add/Button&quot;,
&quot;text&quot;: &quot;add&quot;
},
&quot;$:/language/EditTemplate/Tags/Add/Button/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/EditTemplate/Tags/Add/Button/Hint&quot;,
&quot;text&quot;: &quot;add tag&quot;
},
&quot;$:/language/EditTemplate/Tags/Add/Placeholder&quot;: {
&quot;title&quot;: &quot;$:/language/EditTemplate/Tags/Add/Placeholder&quot;,
&quot;text&quot;: &quot;tag name&quot;
},
&quot;$:/language/EditTemplate/Tags/ClearInput/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/EditTemplate/Tags/ClearInput/Caption&quot;,
&quot;text&quot;: &quot;clear input&quot;
},
&quot;$:/language/EditTemplate/Tags/ClearInput/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/EditTemplate/Tags/ClearInput/Hint&quot;,
&quot;text&quot;: &quot;Clear tag input&quot;
},
&quot;$:/language/EditTemplate/Tags/Dropdown/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/EditTemplate/Tags/Dropdown/Caption&quot;,
&quot;text&quot;: &quot;tag list&quot;
},
&quot;$:/language/EditTemplate/Tags/Dropdown/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/EditTemplate/Tags/Dropdown/Hint&quot;,
&quot;text&quot;: &quot;Show tag list&quot;
},
&quot;$:/language/EditTemplate/Title/BadCharacterWarning&quot;: {
&quot;title&quot;: &quot;$:/language/EditTemplate/Title/BadCharacterWarning&quot;,
&quot;text&quot;: &quot;Warning: avoid using any of the characters &lt;&lt;bad-chars&gt;&gt; in tiddler titles&quot;
},
&quot;$:/language/EditTemplate/Title/Exists/Prompt&quot;: {
&quot;title&quot;: &quot;$:/language/EditTemplate/Title/Exists/Prompt&quot;,
&quot;text&quot;: &quot;Target tiddler already exists&quot;
},
&quot;$:/language/EditTemplate/Title/Relink/Prompt&quot;: {
&quot;title&quot;: &quot;$:/language/EditTemplate/Title/Relink/Prompt&quot;,
&quot;text&quot;: &quot;Update ''&lt;$text text=&lt;&lt;fromTitle&gt;&gt;/&gt;'' to ''&lt;$text text=&lt;&lt;toTitle&gt;&gt;/&gt;'' in the //tags// and //list// fields of other tiddlers&quot;
},
&quot;$:/language/EditTemplate/Title/References/Prompt&quot;: {
&quot;title&quot;: &quot;$:/language/EditTemplate/Title/References/Prompt&quot;,
&quot;text&quot;: &quot;The following references to this tiddler will not be automatically updated:&quot;
},
&quot;$:/language/EditTemplate/Type/Dropdown/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/EditTemplate/Type/Dropdown/Caption&quot;,
&quot;text&quot;: &quot;content type list&quot;
},
&quot;$:/language/EditTemplate/Type/Dropdown/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/EditTemplate/Type/Dropdown/Hint&quot;,
&quot;text&quot;: &quot;Show content type list&quot;
},
&quot;$:/language/EditTemplate/Type/Delete/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/EditTemplate/Type/Delete/Caption&quot;,
&quot;text&quot;: &quot;delete content type&quot;
},
&quot;$:/language/EditTemplate/Type/Delete/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/EditTemplate/Type/Delete/Hint&quot;,
&quot;text&quot;: &quot;Delete content type&quot;
},
&quot;$:/language/EditTemplate/Type/Placeholder&quot;: {
&quot;title&quot;: &quot;$:/language/EditTemplate/Type/Placeholder&quot;,
&quot;text&quot;: &quot;content type&quot;
},
&quot;$:/language/EditTemplate/Type/Prompt&quot;: {
&quot;title&quot;: &quot;$:/language/EditTemplate/Type/Prompt&quot;,
&quot;text&quot;: &quot;Type:&quot;
},
&quot;$:/language/Exporters/StaticRiver&quot;: {
&quot;title&quot;: &quot;$:/language/Exporters/StaticRiver&quot;,
&quot;text&quot;: &quot;Static HTML&quot;
},
&quot;$:/language/Exporters/JsonFile&quot;: {
&quot;title&quot;: &quot;$:/language/Exporters/JsonFile&quot;,
&quot;text&quot;: &quot;JSON file&quot;
},
&quot;$:/language/Exporters/CsvFile&quot;: {
&quot;title&quot;: &quot;$:/language/Exporters/CsvFile&quot;,
&quot;text&quot;: &quot;CSV file&quot;
},
&quot;$:/language/Exporters/TidFile&quot;: {
&quot;title&quot;: &quot;$:/language/Exporters/TidFile&quot;,
&quot;text&quot;: &quot;\&quot;.tid\&quot; file&quot;
},
&quot;$:/language/Docs/Fields/_canonical_uri&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/Fields/_canonical_uri&quot;,
&quot;text&quot;: &quot;The full URI of an external image tiddler&quot;
},
&quot;$:/language/Docs/Fields/bag&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/Fields/bag&quot;,
&quot;text&quot;: &quot;The name of the bag from which a tiddler came&quot;
},
&quot;$:/language/Docs/Fields/caption&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/Fields/caption&quot;,
&quot;text&quot;: &quot;The text to be displayed on a tab or button&quot;
},
&quot;$:/language/Docs/Fields/color&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/Fields/color&quot;,
&quot;text&quot;: &quot;The CSS color value associated with a tiddler&quot;
},
&quot;$:/language/Docs/Fields/component&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/Fields/component&quot;,
&quot;text&quot;: &quot;The name of the component responsible for an [[alert tiddler|AlertMechanism]]&quot;
},
&quot;$:/language/Docs/Fields/current-tiddler&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/Fields/current-tiddler&quot;,
&quot;text&quot;: &quot;Used to cache the top tiddler in a [[history list|HistoryMechanism]]&quot;
},
&quot;$:/language/Docs/Fields/created&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/Fields/created&quot;,
&quot;text&quot;: &quot;The date a tiddler was created&quot;
},
&quot;$:/language/Docs/Fields/creator&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/Fields/creator&quot;,
&quot;text&quot;: &quot;The name of the person who created a tiddler&quot;
},
&quot;$:/language/Docs/Fields/dependents&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/Fields/dependents&quot;,
&quot;text&quot;: &quot;For a plugin, lists the dependent plugin titles&quot;
},
&quot;$:/language/Docs/Fields/description&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/Fields/description&quot;,
&quot;text&quot;: &quot;The descriptive text for a plugin, or a modal dialogue&quot;
},
&quot;$:/language/Docs/Fields/draft.of&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/Fields/draft.of&quot;,
&quot;text&quot;: &quot;For draft tiddlers, contains the title of the tiddler of which this is a draft&quot;
},
&quot;$:/language/Docs/Fields/draft.title&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/Fields/draft.title&quot;,
&quot;text&quot;: &quot;For draft tiddlers, contains the proposed new title of the tiddler&quot;
},
&quot;$:/language/Docs/Fields/footer&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/Fields/footer&quot;,
&quot;text&quot;: &quot;The footer text for a wizard&quot;
},
&quot;$:/language/Docs/Fields/hide-body&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/Fields/hide-body&quot;,
&quot;text&quot;: &quot;The view template will hide bodies of tiddlers if set to: ''yes''&quot;
},
&quot;$:/language/Docs/Fields/icon&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/Fields/icon&quot;,
&quot;text&quot;: &quot;The title of the tiddler containing the icon associated with a tiddler&quot;
},
&quot;$:/language/Docs/Fields/library&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/Fields/library&quot;,
&quot;text&quot;: &quot;Indicates that a tiddler should be saved as a JavaScript library if set to: ''yes''&quot;
},
&quot;$:/language/Docs/Fields/list&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/Fields/list&quot;,
&quot;text&quot;: &quot;An ordered list of tiddler titles associated with a tiddler&quot;
},
&quot;$:/language/Docs/Fields/list-before&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/Fields/list-before&quot;,
&quot;text&quot;: &quot;If set, the title of a tiddler before which this tiddler should be added to the ordered list of tiddler titles, or at the start of the list if this field is present but empty&quot;
},
&quot;$:/language/Docs/Fields/list-after&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/Fields/list-after&quot;,
&quot;text&quot;: &quot;If set, the title of the tiddler after which this tiddler should be added to the ordered list of tiddler titles, or at the end of the list if this field is present but empty&quot;
},
&quot;$:/language/Docs/Fields/modified&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/Fields/modified&quot;,
&quot;text&quot;: &quot;The date and time at which a tiddler was last modified&quot;
},
&quot;$:/language/Docs/Fields/modifier&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/Fields/modifier&quot;,
&quot;text&quot;: &quot;The tiddler title associated with the person who last modified a tiddler&quot;
},
&quot;$:/language/Docs/Fields/name&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/Fields/name&quot;,
&quot;text&quot;: &quot;The human readable name associated with a plugin tiddler&quot;
},
&quot;$:/language/Docs/Fields/plugin-priority&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/Fields/plugin-priority&quot;,
&quot;text&quot;: &quot;A numerical value indicating the priority of a plugin tiddler&quot;
},
&quot;$:/language/Docs/Fields/plugin-type&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/Fields/plugin-type&quot;,
&quot;text&quot;: &quot;The type of plugin in a plugin tiddler&quot;
},
&quot;$:/language/Docs/Fields/revision&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/Fields/revision&quot;,
&quot;text&quot;: &quot;The revision of the tiddler held at the server&quot;
},
&quot;$:/language/Docs/Fields/released&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/Fields/released&quot;,
&quot;text&quot;: &quot;Date of a TiddlyWiki release&quot;
},
&quot;$:/language/Docs/Fields/source&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/Fields/source&quot;,
&quot;text&quot;: &quot;The source URL associated with a tiddler&quot;
},
&quot;$:/language/Docs/Fields/subtitle&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/Fields/subtitle&quot;,
&quot;text&quot;: &quot;The subtitle text for a wizard&quot;
},
&quot;$:/language/Docs/Fields/tags&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/Fields/tags&quot;,
&quot;text&quot;: &quot;A list of tags associated with a tiddler&quot;
},
&quot;$:/language/Docs/Fields/text&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/Fields/text&quot;,
&quot;text&quot;: &quot;The body text of a tiddler&quot;
},
&quot;$:/language/Docs/Fields/throttle.refresh&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/Fields/throttle.refresh&quot;,
&quot;text&quot;: &quot;If present, throttles refreshes of this tiddler&quot;
},
&quot;$:/language/Docs/Fields/title&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/Fields/title&quot;,
&quot;text&quot;: &quot;The unique name of a tiddler&quot;
},
&quot;$:/language/Docs/Fields/toc-link&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/Fields/toc-link&quot;,
&quot;text&quot;: &quot;Suppresses the tiddler's link in a Table of Contents tree if set to: ''no''&quot;
},
&quot;$:/language/Docs/Fields/type&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/Fields/type&quot;,
&quot;text&quot;: &quot;The content type of a tiddler&quot;
},
&quot;$:/language/Docs/Fields/version&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/Fields/version&quot;,
&quot;text&quot;: &quot;Version information for a plugin&quot;
},
&quot;$:/language/Docs/Fields/_is_skinny&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/Fields/_is_skinny&quot;,
&quot;text&quot;: &quot;If present, indicates that the tiddler text field must be loaded from the server&quot;
},
&quot;$:/language/Filters/AllTiddlers&quot;: {
&quot;title&quot;: &quot;$:/language/Filters/AllTiddlers&quot;,
&quot;text&quot;: &quot;All tiddlers except system tiddlers&quot;
},
&quot;$:/language/Filters/RecentSystemTiddlers&quot;: {
&quot;title&quot;: &quot;$:/language/Filters/RecentSystemTiddlers&quot;,
&quot;text&quot;: &quot;Recently modified tiddlers, including system tiddlers&quot;
},
&quot;$:/language/Filters/RecentTiddlers&quot;: {
&quot;title&quot;: &quot;$:/language/Filters/RecentTiddlers&quot;,
&quot;text&quot;: &quot;Recently modified tiddlers&quot;
},
&quot;$:/language/Filters/AllTags&quot;: {
&quot;title&quot;: &quot;$:/language/Filters/AllTags&quot;,
&quot;text&quot;: &quot;All tags except system tags&quot;
},
&quot;$:/language/Filters/Missing&quot;: {
&quot;title&quot;: &quot;$:/language/Filters/Missing&quot;,
&quot;text&quot;: &quot;Missing tiddlers&quot;
},
&quot;$:/language/Filters/Drafts&quot;: {
&quot;title&quot;: &quot;$:/language/Filters/Drafts&quot;,
&quot;text&quot;: &quot;Draft tiddlers&quot;
},
&quot;$:/language/Filters/Orphans&quot;: {
&quot;title&quot;: &quot;$:/language/Filters/Orphans&quot;,
&quot;text&quot;: &quot;Orphan tiddlers&quot;
},
&quot;$:/language/Filters/SystemTiddlers&quot;: {
&quot;title&quot;: &quot;$:/language/Filters/SystemTiddlers&quot;,
&quot;text&quot;: &quot;System tiddlers&quot;
},
&quot;$:/language/Filters/ShadowTiddlers&quot;: {
&quot;title&quot;: &quot;$:/language/Filters/ShadowTiddlers&quot;,
&quot;text&quot;: &quot;Shadow tiddlers&quot;
},
&quot;$:/language/Filters/OverriddenShadowTiddlers&quot;: {
&quot;title&quot;: &quot;$:/language/Filters/OverriddenShadowTiddlers&quot;,
&quot;text&quot;: &quot;Overridden shadow tiddlers&quot;
},
&quot;$:/language/Filters/SessionTiddlers&quot;: {
&quot;title&quot;: &quot;$:/language/Filters/SessionTiddlers&quot;,
&quot;text&quot;: &quot;Tiddlers modified since the wiki was loaded&quot;
},
&quot;$:/language/Filters/SystemTags&quot;: {
&quot;title&quot;: &quot;$:/language/Filters/SystemTags&quot;,
&quot;text&quot;: &quot;System tags&quot;
},
&quot;$:/language/Filters/StoryList&quot;: {
&quot;title&quot;: &quot;$:/language/Filters/StoryList&quot;,
&quot;text&quot;: &quot;Tiddlers in the story river, excluding &lt;$text text=\&quot;$:/AdvancedSearch\&quot;/&gt;&quot;
},
&quot;$:/language/Filters/TypedTiddlers&quot;: {
&quot;title&quot;: &quot;$:/language/Filters/TypedTiddlers&quot;,
&quot;text&quot;: &quot;Non wiki-text tiddlers&quot;
},
&quot;GettingStarted&quot;: {
&quot;title&quot;: &quot;GettingStarted&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/ControlPanel/Basics/\nWelcome to ~TiddlyWiki and the ~TiddlyWiki community\n\nBefore you start storing important information in ~TiddlyWiki it is vital to make sure that you can reliably save changes. See https://tiddlywiki.com/#GettingStarted for details\n\n!! Set up this ~TiddlyWiki\n\n&lt;div class=\&quot;tc-control-panel\&quot;&gt;\n\n|&lt;$link to=\&quot;$:/SiteTitle\&quot;&gt;&lt;&lt;lingo Title/Prompt&gt;&gt;&lt;/$link&gt; |&lt;$edit-text tiddler=\&quot;$:/SiteTitle\&quot; default=\&quot;\&quot; tag=\&quot;input\&quot;/&gt; |\n|&lt;$link to=\&quot;$:/SiteSubtitle\&quot;&gt;&lt;&lt;lingo Subtitle/Prompt&gt;&gt;&lt;/$link&gt; |&lt;$edit-text tiddler=\&quot;$:/SiteSubtitle\&quot; default=\&quot;\&quot; tag=\&quot;input\&quot;/&gt; |\n|&lt;$link to=\&quot;$:/DefaultTiddlers\&quot;&gt;&lt;&lt;lingo DefaultTiddlers/Prompt&gt;&gt;&lt;/$link&gt; |&lt;&lt;lingo DefaultTiddlers/TopHint&gt;&gt;&lt;br&gt; &lt;$edit tag=\&quot;textarea\&quot; tiddler=\&quot;$:/DefaultTiddlers\&quot;/&gt;&lt;br&gt;//&lt;&lt;lingo DefaultTiddlers/BottomHint&gt;&gt;// |\n&lt;/div&gt;\n\nSee the [[control panel|$:/ControlPanel]] for more options.\n&quot;
},
&quot;$:/language/Help/build&quot;: {
&quot;title&quot;: &quot;$:/language/Help/build&quot;,
&quot;description&quot;: &quot;Automatically run configured commands&quot;,
&quot;text&quot;: &quot;Build the specified build targets for the current wiki. If no build targets are specified then all available targets will be built.\n\n```\n--build &lt;target&gt; [&lt;target&gt; ...]\n```\n\nBuild targets are defined in the `tiddlywiki.info` file of a wiki folder.\n\n&quot;
},
&quot;$:/language/Help/clearpassword&quot;: {
&quot;title&quot;: &quot;$:/language/Help/clearpassword&quot;,
&quot;description&quot;: &quot;Clear a password for subsequent crypto operations&quot;,
&quot;text&quot;: &quot;Clear the password for subsequent crypto operations\n\n```\n--clearpassword\n```\n&quot;
},
&quot;$:/language/Help/default&quot;: {
&quot;title&quot;: &quot;$:/language/Help/default&quot;,
&quot;text&quot;: &quot;\\define commandTitle()\n$:/language/Help/$(command)$\n\\end\n```\nusage: tiddlywiki [&lt;wikifolder&gt;] [--&lt;command&gt; [&lt;args&gt;...]...]\n```\n\nAvailable commands:\n\n&lt;ul&gt;\n&lt;$list filter=\&quot;[commands[]sort[title]]\&quot; variable=\&quot;command\&quot;&gt;\n&lt;li&gt;&lt;$link to=&lt;&lt;commandTitle&gt;&gt;&gt;&lt;$macrocall $name=\&quot;command\&quot; $type=\&quot;text/plain\&quot; $output=\&quot;text/plain\&quot;/&gt;&lt;/$link&gt;: &lt;$transclude tiddler=&lt;&lt;commandTitle&gt;&gt; field=\&quot;description\&quot;/&gt;&lt;/li&gt;\n&lt;/$list&gt;\n&lt;/ul&gt;\n\nTo get detailed help on a command:\n\n```\ntiddlywiki --help &lt;command&gt;\n```\n&quot;
},
&quot;$:/language/Help/deletetiddlers&quot;: {
&quot;title&quot;: &quot;$:/language/Help/deletetiddlers&quot;,
&quot;description&quot;: &quot;Deletes a group of tiddlers&quot;,
&quot;text&quot;: &quot;&lt;&lt;.from-version \&quot;5.1.20\&quot;&gt;&gt; Deletes a group of tiddlers identified by a filter.\n\n```\n--deletetiddlers &lt;filter&gt;\n```\n&quot;
},
&quot;$:/language/Help/editions&quot;: {
&quot;title&quot;: &quot;$:/language/Help/editions&quot;,
&quot;description&quot;: &quot;Lists the available editions of TiddlyWiki&quot;,
&quot;text&quot;: &quot;Lists the names and descriptions of the available editions. You can create a new wiki of a specified edition with the `--init` command.\n\n```\n--editions\n```\n&quot;
},
&quot;$:/language/Help/fetch&quot;: {
&quot;title&quot;: &quot;$:/language/Help/fetch&quot;,
&quot;description&quot;: &quot;Fetch tiddlers from wiki by URL&quot;,
&quot;text&quot;: &quot;Fetch one or more files over HTTP/HTTPS, and import the tiddlers matching a filter, optionally transforming the incoming titles.\n\n```\n--fetch file &lt;url&gt; &lt;import-filter&gt; &lt;transform-filter&gt;\n--fetch files &lt;url-filter&gt; &lt;import-filter&gt; &lt;transform-filter&gt;\n--fetch raw-file &lt;url&gt; &lt;transform-filter&gt;\n--fetch raw-files &lt;url-filter&gt; &lt;transform-filter&gt;\n```\n\nThe \&quot;file\&quot; and \&quot;files\&quot; variants fetch the specified files and attempt to import the tiddlers within them (the same processing as if the files were dragged into the browser window). The \&quot;raw-file\&quot; and \&quot;raw-files\&quot; variants fetch the specified files and then store the raw file data in tiddlers, without applying the import logic.\n\nWith the \&quot;file\&quot; and \&quot;raw-file\&quot; variants only a single file is fetched and the first parameter is the URL of the file to read.\n\nWith the \&quot;files\&quot; and \&quot;raw-files\&quot; variants, multiple files are fetched and the first parameter is a filter yielding a list of URLs of the files to read. For example, given a set of tiddlers tagged \&quot;remote-server\&quot; that have a field \&quot;url\&quot; the filter `[tag[remote-server]get[url]]` will retrieve all the available URLs.\n\nFor the \&quot;file\&quot; and \&quot;files\&quot; variants, the `&lt;import-filter&gt;` parameter specifies a filter determining which tiddlers are imported. It defaults to `[all[tiddlers]]` if not provided.\n\nFor all variants, the `&lt;transform-filter&gt;` parameter specifies an optional filter that transforms the titles of the imported tiddlers. For example, `[addprefix[$:/myimports/]]` would add the prefix `$:/myimports/` to each title.\n\nPreceding the `--fetch` command with `--verbose` will output progress information during the import.\n\nNote that TiddlyWiki will not fetch an older version of an already loaded plugin.\n\nThe following example retrieves all the non-system tiddlers from https://tiddlywiki.com and saves them to a JSON file:\n\n```\ntiddlywiki --verbose --fetch file \&quot;https://tiddlywiki.com/\&quot; \&quot;[!is[system]]\&quot; \&quot;\&quot; --rendertiddler \&quot;$:/core/templates/exporters/JsonFile\&quot; output.json text/plain \&quot;\&quot; exportFilter \&quot;[!is[system]]\&quot;\n```\n\nThe following example retrieves the \&quot;favicon\&quot; file from tiddlywiki.com and saves it in a file called \&quot;output.ico\&quot;. Note that the intermediate tiddler \&quot;Icon Tiddler\&quot; is quoted in the \&quot;--fetch\&quot; command because it is being used as a transformation filter to replace the default title, while there are no quotes for the \&quot;--savetiddler\&quot; command because it is being used directly as a title.\n\n```\ntiddlywiki --verbose --fetch raw-file \&quot;https://tiddlywiki.com/favicon.ico\&quot; \&quot;[[Icon Tiddler]]\&quot; --savetiddler \&quot;Icon Tiddler\&quot; output.ico\n```\n\n&quot;
},
&quot;$:/language/Help/help&quot;: {
&quot;title&quot;: &quot;$:/language/Help/help&quot;,
&quot;description&quot;: &quot;Display help for TiddlyWiki commands&quot;,
&quot;text&quot;: &quot;Displays help text for a command:\n\n```\n--help [&lt;command&gt;]\n```\n\nIf the command name is omitted then a list of available commands is displayed.\n&quot;
},
&quot;$:/language/Help/import&quot;: {
&quot;title&quot;: &quot;$:/language/Help/import&quot;,
&quot;description&quot;: &quot;Import tiddlers from a file&quot;,
&quot;text&quot;: &quot;Import tiddlers from TiddlyWiki (`.html`), `.tiddler`, `.tid`, `.json` or other local files. The deserializer must be explicitly specified, unlike the `load` command which infers the deserializer from the file extension.\n\n```\n--import &lt;filepath&gt; &lt;deserializer&gt; [&lt;title&gt;] [&lt;encoding&gt;]\n```\n\nThe deserializers in the core include:\n\n* application/javascript\n* application/json\n* application/x-tiddler\n* application/x-tiddler-html-div\n* application/x-tiddlers\n* text/html\n* text/plain\n\nThe title of the imported tiddler defaults to the filename.\n\nThe encoding defaults to \&quot;utf8\&quot;, but can be \&quot;base64\&quot; for importing binary files.\n\nNote that TiddlyWiki will not import an older version of an already loaded plugin.\n&quot;
},
&quot;$:/language/Help/init&quot;: {
&quot;title&quot;: &quot;$:/language/Help/init&quot;,
&quot;description&quot;: &quot;Initialise a new wiki folder&quot;,
&quot;text&quot;: &quot;Initialise an empty [[WikiFolder|WikiFolders]] with a copy of the specified edition.\n\n```\n--init &lt;edition&gt; [&lt;edition&gt; ...]\n```\n\nFor example:\n\n```\ntiddlywiki ./MyWikiFolder --init empty\n```\n\nNote:\n\n* The wiki folder directory will be created if necessary\n* The \&quot;edition\&quot; defaults to ''empty''\n* The init command will fail if the wiki folder is not empty\n* The init command removes any `includeWikis` definitions in the edition's `tiddlywiki.info` file\n* When multiple editions are specified, editions initialised later will overwrite any files shared with earlier editions (so, the final `tiddlywiki.info` file will be copied from the last edition)\n* `--editions` returns a list of available editions\n&quot;
},
&quot;$:/language/Help/listen&quot;: {
&quot;title&quot;: &quot;$:/language/Help/listen&quot;,
&quot;description&quot;: &quot;Provides an HTTP server interface to TiddlyWiki&quot;,
&quot;text&quot;: &quot;Serves a wiki over HTTP.\n\nThe listen command uses NamedCommandParameters:\n\n```\n--listen [&lt;name&gt;=&lt;value&gt;]...\n```\n\nAll parameters are optional with safe defaults, and can be specified in any order. The recognised parameters are:\n\n* ''host'' - optional hostname to serve from (defaults to \&quot;127.0.0.1\&quot; aka \&quot;localhost\&quot;)\n* ''path-prefix'' - optional prefix for paths\n* ''port'' - port number on which to listen; non-numeric values are interpreted as a system environment variable from which the port number is extracted (defaults to \&quot;8080\&quot;)\n* ''credentials'' - pathname of credentials CSV file (relative to wiki folder)\n* ''anon-username'' - the username for signing edits for anonymous users\n* ''username'' - optional username for basic authentication\n* ''password'' - optional password for basic authentication\n* ''authenticated-user-header'' - optional name of header to be used for trusted authentication\n* ''readers'' - comma separated list of principals allowed to read from this wiki\n* ''writers'' - comma separated list of principals allowed to write to this wiki\n* ''csrf-disable'' - set to \&quot;yes\&quot; to disable CSRF checks (defaults to \&quot;no\&quot;)\n* ''root-tiddler'' - the tiddler to serve at the root (defaults to \&quot;$:/core/save/all\&quot;)\n* ''root-render-type'' - the content type to which the root tiddler should be rendered (defaults to \&quot;text/plain\&quot;)\n* ''root-serve-type'' - the content type with which the root tiddler should be served (defaults to \&quot;text/html\&quot;)\n* ''tls-cert'' - pathname of TLS certificate file (relative to wiki folder)\n* ''tls-key'' - pathname of TLS key file (relative to wiki folder)\n* ''debug-level'' - optional debug level; set to \&quot;debug\&quot; to view request details (defaults to \&quot;none\&quot;)\n* ''gzip'' - set to \&quot;yes\&quot; to enable gzip compression for some http endpoints (defaults to \&quot;no\&quot;)\n\nFor information on opening up your instance to the entire local network, and possible security concerns, see the WebServer tiddler at TiddlyWiki.com.\n\n&quot;
},
&quot;$:/language/Help/load&quot;: {
&quot;title&quot;: &quot;$:/language/Help/load&quot;,
&quot;description&quot;: &quot;Load tiddlers from a file&quot;,
&quot;text&quot;: &quot;Load tiddlers from TiddlyWiki (`.html`), `.tiddler`, `.tid`, `.json` or other local files. The processing applied to incoming files is determined by the file extension. Use the alternative `import` command if you need to specify the deserializer and encoding explicitly.\n\n```\n--load &lt;filepath&gt; [noerror]\n--load &lt;dirpath&gt; [noerror]\n```\n\nBy default, the load command raises an error if no tiddlers are found. The error can be suppressed by providing the optional \&quot;noerror\&quot; parameter.\n\nTo load tiddlers from an encrypted TiddlyWiki file you should first specify the password with the PasswordCommand. For example:\n\n```\ntiddlywiki ./MyWiki --password pa55w0rd --load my_encrypted_wiki.html\n```\n\nNote that TiddlyWiki will not load an older version of an already loaded plugin.\n&quot;
},
&quot;$:/language/Help/makelibrary&quot;: {
&quot;title&quot;: &quot;$:/language/Help/makelibrary&quot;,
&quot;description&quot;: &quot;Construct library plugin required by upgrade process&quot;,
&quot;text&quot;: &quot;Constructs the `$:/UpgradeLibrary` tiddler for the upgrade process.\n\nThe upgrade library is formatted as an ordinary plugin tiddler with the plugin type `library`. It contains a copy of each of the plugins, themes and language packs available within the TiddlyWiki5 repository.\n\nThis command is intended for internal use; it is only relevant to users constructing a custom upgrade procedure.\n\n```\n--makelibrary &lt;title&gt;\n```\n\nThe title argument defaults to `$:/UpgradeLibrary`.\n&quot;
},
&quot;$:/language/Help/notfound&quot;: {
&quot;title&quot;: &quot;$:/language/Help/notfound&quot;,
&quot;text&quot;: &quot;No such help item&quot;
},
&quot;$:/language/Help/output&quot;: {
&quot;title&quot;: &quot;$:/language/Help/output&quot;,
&quot;description&quot;: &quot;Set the base output directory for subsequent commands&quot;,
&quot;text&quot;: &quot;Sets the base output directory for subsequent commands. The default output directory is the `output` subdirectory of the edition directory.\n\n```\n--output &lt;pathname&gt;\n```\n\nIf the specified pathname is relative then it is resolved relative to the current working directory. For example `--output .` sets the output directory to the current working directory.\n\n&quot;
},
&quot;$:/language/Help/password&quot;: {
&quot;title&quot;: &quot;$:/language/Help/password&quot;,
&quot;description&quot;: &quot;Set a password for subsequent crypto operations&quot;,
&quot;text&quot;: &quot;Set a password for subsequent crypto operations\n\n```\n--password &lt;password&gt;\n```\n\n''Note'': This should not be used for serving TiddlyWiki with password protection. Instead, see the password option under the [[ServerCommand]].\n&quot;
},
&quot;$:/language/Help/render&quot;: {
&quot;title&quot;: &quot;$:/language/Help/render&quot;,
&quot;description&quot;: &quot;Renders individual tiddlers to files&quot;,
&quot;text&quot;: &quot;Render individual tiddlers identified by a filter and save the results to the specified files.\n\nOptionally, the title of a template tiddler can be specified. In this case, instead of directly rendering each tiddler, the template tiddler is rendered with the \&quot;currentTiddler\&quot; variable set to the title of the tiddler that is being rendered.\n\nA name and value for an additional variable may optionally also be specified.\n\n```\n--render &lt;tiddler-filter&gt; [&lt;filename-filter&gt;] [&lt;render-type&gt;] [&lt;template&gt;] [&lt;name&gt;] [&lt;value&gt;]\n```\n\n* ''tiddler-filter'': A filter identifying the tiddler(s) to be rendered\n* ''filename-filter'': Optional filter transforming tiddler titles into pathnames. If omitted, defaults to `[is[tiddler]addsuffix[.html]]`, which uses the unchanged tiddler title as the filename\n* ''render-type'': Optional render type: `text/html` (the default) returns the full HTML text and `text/plain` just returns the text content (ie it ignores HTML tags and other unprintable material)\n* ''template'': Optional template through which each tiddler is rendered\n* ''name'': Name of optional variable\n* ''value'': Value of optional variable\n\nBy default, the filename is resolved relative to the `output` subdirectory of the edition directory. The `--output` command can be used to direct output to a different directory.\n\nNotes:\n\n* The output directory is not cleared of any existing files\n* Any missing directories in the path to the filename are automatically created.\n* When referring to a tiddler with spaces in its title, take care to use both the quotes required by your shell and also TiddlyWiki's double square brackets : `--render \&quot;[[Motovun Jack.jpg]]\&quot;`\n* The filename filter is evaluated with the selected items being set to the title of the tiddler currently being rendered, allowing the title to be used as the basis for computing the filename. For example `[encodeuricomponent[]addprefix[static/]]` applies URI encoding to each title, and then adds the prefix `static/`\n* The `--render` command is a more flexible replacement for both the `--rendertiddler` and `--rendertiddlers` commands, which are deprecated\n\nExamples:\n\n* `--render \&quot;[!is[system]]\&quot; \&quot;[encodeuricomponent[]addprefix[tiddlers/]addsuffix[.html]]\&quot;` -- renders all non-system tiddlers as files in the subdirectory \&quot;tiddlers\&quot; with URL-encoded titles and the extension HTML\n\n&quot;
},
&quot;$:/language/Help/rendertiddler&quot;: {
&quot;title&quot;: &quot;$:/language/Help/rendertiddler&quot;,
&quot;description&quot;: &quot;Render an individual tiddler as a specified ContentType&quot;,
&quot;text&quot;: &quot;(Note: The `--rendertiddler` command is deprecated in favour of the new, more flexible `--render` command)\n\nRender an individual tiddler as a specified ContentType, defaulting to `text/html` and save it to the specified filename.\n\nOptionally the title of a template tiddler can be specified, in which case the template tiddler is rendered with the \&quot;currentTiddler\&quot; variable set to the tiddler that is being rendered (the first parameter value).\n\nA name and value for an additional variable may optionally also be specified.\n\n```\n--rendertiddler &lt;title&gt; &lt;filename&gt; [&lt;type&gt;] [&lt;template&gt;] [&lt;name&gt;] [&lt;value&gt;]\n```\n\nBy default, the filename is resolved relative to the `output` subdirectory of the edition directory. The `--output` command can be used to direct output to a different directory.\n\nAny missing directories in the path to the filename are automatically created.\n\nFor example, the following command saves all tiddlers matching the filter `[tag[done]]` to a JSON file titled `output.json` by employing the core template `$:/core/templates/exporters/JsonFile`.\n\n```\n--rendertiddler \&quot;$:/core/templates/exporters/JsonFile\&quot; output.json text/plain \&quot;\&quot; exportFilter \&quot;[tag[done]]\&quot;\n```\n&quot;
},
&quot;$:/language/Help/rendertiddlers&quot;: {
&quot;title&quot;: &quot;$:/language/Help/rendertiddlers&quot;,
&quot;description&quot;: &quot;Render tiddlers matching a filter to a specified ContentType&quot;,
&quot;text&quot;: &quot;(Note: The `--rendertiddlers` command is deprecated in favour of the new, more flexible `--render` command)\n\nRender a set of tiddlers matching a filter to separate files of a specified ContentType (defaults to `text/html`) and extension (defaults to `.html`).\n\n```\n--rendertiddlers '&lt;filter&gt;' &lt;template&gt; &lt;pathname&gt; [&lt;type&gt;] [&lt;extension&gt;] [\&quot;noclean\&quot;]\n```\n\nFor example:\n\n```\n--rendertiddlers '[!is[system]]' $:/core/templates/static.tiddler.html ./static text/plain\n```\n\nBy default, the pathname is resolved relative to the `output` subdirectory of the edition directory. The `--output` command can be used to direct output to a different directory.\n\nAny files in the target directory are deleted unless the ''noclean'' flag is specified. The target directory is recursively created if it is missing.\n&quot;
},
&quot;$:/language/Help/save&quot;: {
&quot;title&quot;: &quot;$:/language/Help/save&quot;,
&quot;description&quot;: &quot;Saves individual raw tiddlers to files&quot;,
&quot;text&quot;: &quot;Saves individual tiddlers identified by a filter in their raw text or binary format to the specified files.\n\n```\n--save &lt;tiddler-filter&gt; &lt;filename-filter&gt;\n```\n\n* ''tiddler-filter'': A filter identifying the tiddler(s) to be saved\n* ''filename-filter'': Optional filter transforming tiddler titles into pathnames. If omitted, defaults to `[is[tiddler]]`, which uses the unchanged tiddler title as the filename\n\nBy default, the filename is resolved relative to the `output` subdirectory of the edition directory. The `--output` command can be used to direct output to a different directory.\n\nNotes:\n\n* The output directory is not cleared of any existing files\n* Any missing directories in the path to the filename are automatically created.\n* When saving a tiddler with spaces in its title, take care to use both the quotes required by your shell and also TiddlyWiki's double square brackets : `--save \&quot;[[Motovun Jack.jpg]]\&quot;`\n* The filename filter is evaluated with the selected items being set to the title of the tiddler currently being saved, allowing the title to be used as the basis for computing the filename. For example `[encodeuricomponent[]addprefix[static/]]` applies URI encoding to each title, and then adds the prefix `static/`\n* The `--save` command is a more flexible replacement for both the `--savetiddler` and `--savetiddlers` commands, which are deprecated\n\nExamples:\n\n* `--save \&quot;[!is[system]is[image]]\&quot; \&quot;[encodeuricomponent[]addprefix[tiddlers/]]\&quot;` -- saves all non-system image tiddlers as files in the subdirectory \&quot;tiddlers\&quot; with URL-encoded titles\n&quot;
},
&quot;$:/language/Help/savetiddler&quot;: {
&quot;title&quot;: &quot;$:/language/Help/savetiddler&quot;,
&quot;description&quot;: &quot;Saves a raw tiddler to a file&quot;,
&quot;text&quot;: &quot;(Note: The `--savetiddler` command is deprecated in favour of the new, more flexible `--save` command)\n\nSaves an individual tiddler in its raw text or binary format to the specified filename.\n\n```\n--savetiddler &lt;title&gt; &lt;filename&gt;\n```\n\nBy default, the filename is resolved relative to the `output` subdirectory of the edition directory. The `--output` command can be used to direct output to a different directory.\n\nAny missing directories in the path to the filename are automatically created.\n&quot;
},
&quot;$:/language/Help/savetiddlers&quot;: {
&quot;title&quot;: &quot;$:/language/Help/savetiddlers&quot;,
&quot;description&quot;: &quot;Saves a group of raw tiddlers to a directory&quot;,
&quot;text&quot;: &quot;(Note: The `--savetiddlers` command is deprecated in favour of the new, more flexible `--save` command)\n\nSaves a group of tiddlers in their raw text or binary format to the specified directory.\n\n```\n--savetiddlers &lt;filter&gt; &lt;pathname&gt; [\&quot;noclean\&quot;]\n```\n\nBy default, the pathname is resolved relative to the `output` subdirectory of the edition directory. The `--output` command can be used to direct output to a different directory.\n\nThe output directory is cleared of existing files before saving the specified files. The deletion can be disabled by specifying the ''noclean'' flag.\n\nAny missing directories in the pathname are automatically created.\n&quot;
},
&quot;$:/language/Help/savewikifolder&quot;: {
&quot;title&quot;: &quot;$:/language/Help/savewikifolder&quot;,
&quot;description&quot;: &quot;Saves a wiki to a new wiki folder&quot;,
&quot;text&quot;: &quot;&lt;&lt;.from-version \&quot;5.1.20\&quot;&gt;&gt; Saves the current wiki as a wiki folder, including tiddlers, plugins and configuration:\n\n```\n--savewikifolder &lt;wikifolderpath&gt; [&lt;filter&gt;]\n```\n\n* The target wiki folder must be empty or non-existent\n* The filter specifies which tiddlers should be included. It is optional, defaulting to `[all[tiddlers]]`\n* Plugins from the official plugin library are replaced with references to those plugins in the `tiddlywiki.info` file\n* Custom plugins are unpacked into their own folder\n\nA common usage is to convert a TiddlyWiki HTML file into a wiki folder:\n\n```\ntiddlywiki --load ./mywiki.html --savewikifolder ./mywikifolder\n```\n&quot;
},
&quot;$:/language/Help/server&quot;: {
&quot;title&quot;: &quot;$:/language/Help/server&quot;,
&quot;description&quot;: &quot;Provides an HTTP server interface to TiddlyWiki (deprecated in favour of the new listen command)&quot;,
&quot;text&quot;: &quot;Legacy command to serve a wiki over HTTP.\n\n```\n--server &lt;port&gt; &lt;root-tiddler&gt; &lt;root-render-type&gt; &lt;root-serve-type&gt; &lt;username&gt; &lt;password&gt; &lt;host&gt; &lt;path-prefix&gt; &lt;debug-level&gt;\n```\n\nThe parameters are:\n\n* ''port'' - port number on which to listen; non-numeric values are interpreted as a system environment variable from which the port number is extracted (defaults to \&quot;8080\&quot;)\n* ''root-tiddler'' - the tiddler to serve at the root (defaults to \&quot;$:/core/save/all\&quot;)\n* ''root-render-type'' - the content type to which the root tiddler should be rendered (defaults to \&quot;text/plain\&quot;)\n* ''root-serve-type'' - the content type with which the root tiddler should be served (defaults to \&quot;text/html\&quot;)\n* ''username'' - the default username for signing edits\n* ''password'' - optional password for basic authentication\n* ''host'' - optional hostname to serve from (defaults to \&quot;127.0.0.1\&quot; aka \&quot;localhost\&quot;)\n* ''path-prefix'' - optional prefix for paths\n* ''debug-level'' - optional debug level; set to \&quot;debug\&quot; to view request details (defaults to \&quot;none\&quot;)\n\nIf the password parameter is specified then the browser will prompt the user for the username and password. Note that the password is transmitted in plain text so this implementation should only be used on a trusted network or over HTTPS.\n\nFor example:\n\n```\n--server 8080 $:/core/save/all text/plain text/html MyUserName passw0rd\n```\n\nThe username and password can be specified as empty strings if you need to set the hostname or pathprefix and don't want to require a password.\n\n\n```\n--server 8080 $:/core/save/all text/plain text/html \&quot;\&quot; \&quot;\&quot; 192.168.0.245\n```\n\nUsing an address like this exposes your system to the local network. For information on opening up your instance to the entire local network, and possible security concerns, see the WebServer tiddler at TiddlyWiki.com.\n\nTo run multiple TiddlyWiki servers at the same time you'll need to put each one on a different port. It can be useful to use an environment variable to pass the port number to the Node.js process. This example references an environment variable called \&quot;MY_PORT_NUMBER\&quot;:\n\n```\n--server MY_PORT_NUMBER $:/core/save/all text/plain text/html MyUserName passw0rd\n```\n&quot;
},
&quot;$:/language/Help/setfield&quot;: {
&quot;title&quot;: &quot;$:/language/Help/setfield&quot;,
&quot;description&quot;: &quot;Prepares external tiddlers for use&quot;,
&quot;text&quot;: &quot;//Note that this command is experimental and may change or be replaced before being finalised//\n\nSets the specified field of a group of tiddlers to the result of wikifying a template tiddler with the `currentTiddler` variable set to the tiddler.\n\n```\n--setfield &lt;filter&gt; &lt;fieldname&gt; &lt;templatetitle&gt; &lt;rendertype&gt;\n```\n\nThe parameters are:\n\n* ''filter'' - filter identifying the tiddlers to be affected\n* ''fieldname'' - the field to modify (defaults to \&quot;text\&quot;)\n* ''templatetitle'' - the tiddler to wikify into the specified field. If blank or missing then the specified field is deleted\n* ''rendertype'' - the text type to render (defaults to \&quot;text/plain\&quot;; \&quot;text/html\&quot; can be used to include HTML tags)\n&quot;
},
&quot;$:/language/Help/unpackplugin&quot;: {
&quot;title&quot;: &quot;$:/language/Help/unpackplugin&quot;,
&quot;description&quot;: &quot;Unpack the payload tiddlers from a plugin&quot;,
&quot;text&quot;: &quot;Extract the payload tiddlers from a plugin, creating them as ordinary tiddlers:\n\n```\n--unpackplugin &lt;title&gt;\n```\n&quot;
},
&quot;$:/language/Help/verbose&quot;: {
&quot;title&quot;: &quot;$:/language/Help/verbose&quot;,
&quot;description&quot;: &quot;Triggers verbose output mode&quot;,
&quot;text&quot;: &quot;Triggers verbose output, useful for debugging\n\n```\n--verbose\n```\n&quot;
},
&quot;$:/language/Help/version&quot;: {
&quot;title&quot;: &quot;$:/language/Help/version&quot;,
&quot;description&quot;: &quot;Displays the version number of TiddlyWiki&quot;,
&quot;text&quot;: &quot;Displays the version number of TiddlyWiki.\n\n```\n--version\n```\n&quot;
},
&quot;$:/language/Import/Imported/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Import/Imported/Hint&quot;,
&quot;text&quot;: &quot;The following tiddlers were imported:&quot;
},
&quot;$:/language/Import/Listing/Cancel/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Import/Listing/Cancel/Caption&quot;,
&quot;text&quot;: &quot;Cancel&quot;
},
&quot;$:/language/Import/Listing/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Import/Listing/Hint&quot;,
&quot;text&quot;: &quot;These tiddlers are ready to import:&quot;
},
&quot;$:/language/Import/Listing/Import/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Import/Listing/Import/Caption&quot;,
&quot;text&quot;: &quot;Import&quot;
},
&quot;$:/language/Import/Listing/Select/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Import/Listing/Select/Caption&quot;,
&quot;text&quot;: &quot;Select&quot;
},
&quot;$:/language/Import/Listing/Status/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Import/Listing/Status/Caption&quot;,
&quot;text&quot;: &quot;Status&quot;
},
&quot;$:/language/Import/Listing/Title/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Import/Listing/Title/Caption&quot;,
&quot;text&quot;: &quot;Title&quot;
},
&quot;$:/language/Import/Listing/Preview&quot;: {
&quot;title&quot;: &quot;$:/language/Import/Listing/Preview&quot;,
&quot;text&quot;: &quot;Preview:&quot;
},
&quot;$:/language/Import/Listing/Preview/Text&quot;: {
&quot;title&quot;: &quot;$:/language/Import/Listing/Preview/Text&quot;,
&quot;text&quot;: &quot;Text&quot;
},
&quot;$:/language/Import/Listing/Preview/TextRaw&quot;: {
&quot;title&quot;: &quot;$:/language/Import/Listing/Preview/TextRaw&quot;,
&quot;text&quot;: &quot;Text (Raw)&quot;
},
&quot;$:/language/Import/Listing/Preview/Fields&quot;: {
&quot;title&quot;: &quot;$:/language/Import/Listing/Preview/Fields&quot;,
&quot;text&quot;: &quot;Fields&quot;
},
&quot;$:/language/Import/Listing/Preview/Diff&quot;: {
&quot;title&quot;: &quot;$:/language/Import/Listing/Preview/Diff&quot;,
&quot;text&quot;: &quot;Diff&quot;
},
&quot;$:/language/Import/Listing/Preview/DiffFields&quot;: {
&quot;title&quot;: &quot;$:/language/Import/Listing/Preview/DiffFields&quot;,
&quot;text&quot;: &quot;Diff (Fields)&quot;
},
&quot;$:/language/Import/Listing/Rename/Tooltip&quot;: {
&quot;title&quot;: &quot;$:/language/Import/Listing/Rename/Tooltip&quot;,
&quot;text&quot;: &quot;Rename tiddler before importing&quot;
},
&quot;$:/language/Import/Listing/Rename/Prompt&quot;: {
&quot;title&quot;: &quot;$:/language/Import/Listing/Rename/Prompt&quot;,
&quot;text&quot;: &quot;Rename to:&quot;
},
&quot;$:/language/Import/Listing/Rename/ConfirmRename&quot;: {
&quot;title&quot;: &quot;$:/language/Import/Listing/Rename/ConfirmRename&quot;,
&quot;text&quot;: &quot;Rename tiddler&quot;
},
&quot;$:/language/Import/Listing/Rename/CancelRename&quot;: {
&quot;title&quot;: &quot;$:/language/Import/Listing/Rename/CancelRename&quot;,
&quot;text&quot;: &quot;Cancel&quot;
},
&quot;$:/language/Import/Listing/Rename/OverwriteWarning&quot;: {
&quot;title&quot;: &quot;$:/language/Import/Listing/Rename/OverwriteWarning&quot;,
&quot;text&quot;: &quot;A tiddler with this title already exists.&quot;
},
&quot;$:/language/Import/Upgrader/Plugins/Suppressed/Incompatible&quot;: {
&quot;title&quot;: &quot;$:/language/Import/Upgrader/Plugins/Suppressed/Incompatible&quot;,
&quot;text&quot;: &quot;Blocked incompatible or obsolete plugin.&quot;
},
&quot;$:/language/Import/Upgrader/Plugins/Suppressed/Version&quot;: {
&quot;title&quot;: &quot;$:/language/Import/Upgrader/Plugins/Suppressed/Version&quot;,
&quot;text&quot;: &quot;Blocked plugin (due to incoming &lt;&lt;incoming&gt;&gt; not being newer than existing &lt;&lt;existing&gt;&gt;).&quot;
},
&quot;$:/language/Import/Upgrader/Plugins/Upgraded&quot;: {
&quot;title&quot;: &quot;$:/language/Import/Upgrader/Plugins/Upgraded&quot;,
&quot;text&quot;: &quot;Upgraded plugin from &lt;&lt;incoming&gt;&gt; to &lt;&lt;upgraded&gt;&gt;.&quot;
},
&quot;$:/language/Import/Upgrader/State/Suppressed&quot;: {
&quot;title&quot;: &quot;$:/language/Import/Upgrader/State/Suppressed&quot;,
&quot;text&quot;: &quot;Blocked temporary state tiddler.&quot;
},
&quot;$:/language/Import/Upgrader/System/Suppressed&quot;: {
&quot;title&quot;: &quot;$:/language/Import/Upgrader/System/Suppressed&quot;,
&quot;text&quot;: &quot;Blocked system tiddler.&quot;
},
&quot;$:/language/Import/Upgrader/System/Warning&quot;: {
&quot;title&quot;: &quot;$:/language/Import/Upgrader/System/Warning&quot;,
&quot;text&quot;: &quot;Core module tiddler.&quot;
},
&quot;$:/language/Import/Upgrader/System/Alert&quot;: {
&quot;title&quot;: &quot;$:/language/Import/Upgrader/System/Alert&quot;,
&quot;text&quot;: &quot;You are about to import a tiddler that will overwrite a core module tiddler. This is not recommended as it may make the system unstable.&quot;
},
&quot;$:/language/Import/Upgrader/ThemeTweaks/Created&quot;: {
&quot;title&quot;: &quot;$:/language/Import/Upgrader/ThemeTweaks/Created&quot;,
&quot;text&quot;: &quot;Migrated theme tweak from &lt;$text text=&lt;&lt;from&gt;&gt;/&gt;.&quot;
},
&quot;$:/language/AboveStory/ClassicPlugin/Warning&quot;: {
&quot;title&quot;: &quot;$:/language/AboveStory/ClassicPlugin/Warning&quot;,
&quot;text&quot;: &quot;It looks like you are trying to load a plugin designed for ~TiddlyWiki Classic. Please note that [[these plugins do not work with TiddlyWiki version 5.x.x|https://tiddlywiki.com/#TiddlyWikiClassic]]. ~TiddlyWiki Classic plugins detected:&quot;
},
&quot;$:/language/BinaryWarning/Prompt&quot;: {
&quot;title&quot;: &quot;$:/language/BinaryWarning/Prompt&quot;,
&quot;text&quot;: &quot;This tiddler contains binary data&quot;
},
&quot;$:/language/ClassicWarning/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ClassicWarning/Hint&quot;,
&quot;text&quot;: &quot;This tiddler is written in TiddlyWiki Classic wiki text format, which is not fully compatible with TiddlyWiki version 5. See https://tiddlywiki.com/static/Upgrading.html for more details.&quot;
},
&quot;$:/language/ClassicWarning/Upgrade/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/ClassicWarning/Upgrade/Caption&quot;,
&quot;text&quot;: &quot;upgrade&quot;
},
&quot;$:/language/CloseAll/Button&quot;: {
&quot;title&quot;: &quot;$:/language/CloseAll/Button&quot;,
&quot;text&quot;: &quot;close all&quot;
},
&quot;$:/language/ColourPicker/Recent&quot;: {
&quot;title&quot;: &quot;$:/language/ColourPicker/Recent&quot;,
&quot;text&quot;: &quot;Recent:&quot;
},
&quot;$:/language/ConfirmCancelTiddler&quot;: {
&quot;title&quot;: &quot;$:/language/ConfirmCancelTiddler&quot;,
&quot;text&quot;: &quot;Do you wish to discard changes to the tiddler \&quot;&lt;$text text=&lt;&lt;title&gt;&gt;/&gt;\&quot;?&quot;
},
&quot;$:/language/ConfirmDeleteTiddler&quot;: {
&quot;title&quot;: &quot;$:/language/ConfirmDeleteTiddler&quot;,
&quot;text&quot;: &quot;Do you wish to delete the tiddler \&quot;&lt;$text text=&lt;&lt;title&gt;&gt;/&gt;\&quot;?&quot;
},
&quot;$:/language/ConfirmOverwriteTiddler&quot;: {
&quot;title&quot;: &quot;$:/language/ConfirmOverwriteTiddler&quot;,
&quot;text&quot;: &quot;Do you wish to overwrite the tiddler \&quot;&lt;$text text=&lt;&lt;title&gt;&gt;/&gt;\&quot;?&quot;
},
&quot;$:/language/ConfirmEditShadowTiddler&quot;: {
&quot;title&quot;: &quot;$:/language/ConfirmEditShadowTiddler&quot;,
&quot;text&quot;: &quot;You are about to edit a ShadowTiddler. Any changes will override the default system making future upgrades non-trivial. Are you sure you want to edit \&quot;&lt;$text text=&lt;&lt;title&gt;&gt;/&gt;\&quot;?&quot;
},
&quot;$:/language/ConfirmAction&quot;: {
&quot;title&quot;: &quot;$:/language/ConfirmAction&quot;,
&quot;text&quot;: &quot;Do you wish to proceed?&quot;
},
&quot;$:/language/Count&quot;: {
&quot;title&quot;: &quot;$:/language/Count&quot;,
&quot;text&quot;: &quot;count&quot;
},
&quot;$:/language/DefaultNewTiddlerTitle&quot;: {
&quot;title&quot;: &quot;$:/language/DefaultNewTiddlerTitle&quot;,
&quot;text&quot;: &quot;New Tiddler&quot;
},
&quot;$:/language/Diffs/CountMessage&quot;: {
&quot;title&quot;: &quot;$:/language/Diffs/CountMessage&quot;,
&quot;text&quot;: &quot;&lt;&lt;diff-count&gt;&gt; differences&quot;
},
&quot;$:/language/DropMessage&quot;: {
&quot;title&quot;: &quot;$:/language/DropMessage&quot;,
&quot;text&quot;: &quot;Drop here (or use the 'Escape' key to cancel)&quot;
},
&quot;$:/language/Encryption/Cancel&quot;: {
&quot;title&quot;: &quot;$:/language/Encryption/Cancel&quot;,
&quot;text&quot;: &quot;Cancel&quot;
},
&quot;$:/language/Encryption/ConfirmClearPassword&quot;: {
&quot;title&quot;: &quot;$:/language/Encryption/ConfirmClearPassword&quot;,
&quot;text&quot;: &quot;Do you wish to clear the password? This will remove the encryption applied when saving this wiki&quot;
},
&quot;$:/language/Encryption/PromptSetPassword&quot;: {
&quot;title&quot;: &quot;$:/language/Encryption/PromptSetPassword&quot;,
&quot;text&quot;: &quot;Set a new password for this TiddlyWiki&quot;
},
&quot;$:/language/Encryption/Username&quot;: {
&quot;title&quot;: &quot;$:/language/Encryption/Username&quot;,
&quot;text&quot;: &quot;Username&quot;
},
&quot;$:/language/Encryption/Password&quot;: {
&quot;title&quot;: &quot;$:/language/Encryption/Password&quot;,
&quot;text&quot;: &quot;Password&quot;
},
&quot;$:/language/Encryption/RepeatPassword&quot;: {
&quot;title&quot;: &quot;$:/language/Encryption/RepeatPassword&quot;,
&quot;text&quot;: &quot;Repeat password&quot;
},
&quot;$:/language/Encryption/PasswordNoMatch&quot;: {
&quot;title&quot;: &quot;$:/language/Encryption/PasswordNoMatch&quot;,
&quot;text&quot;: &quot;Passwords do not match&quot;
},
&quot;$:/language/Encryption/SetPassword&quot;: {
&quot;title&quot;: &quot;$:/language/Encryption/SetPassword&quot;,
&quot;text&quot;: &quot;Set password&quot;
},
&quot;$:/language/Error/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Error/Caption&quot;,
&quot;text&quot;: &quot;Error&quot;
},
&quot;$:/language/Error/EditConflict&quot;: {
&quot;title&quot;: &quot;$:/language/Error/EditConflict&quot;,
&quot;text&quot;: &quot;File changed on server&quot;
},
&quot;$:/language/Error/Filter&quot;: {
&quot;title&quot;: &quot;$:/language/Error/Filter&quot;,
&quot;text&quot;: &quot;Filter error&quot;
},
&quot;$:/language/Error/FilterSyntax&quot;: {
&quot;title&quot;: &quot;$:/language/Error/FilterSyntax&quot;,
&quot;text&quot;: &quot;Syntax error in filter expression&quot;
},
&quot;$:/language/Error/FilterRunPrefix&quot;: {
&quot;title&quot;: &quot;$:/language/Error/FilterRunPrefix&quot;,
&quot;text&quot;: &quot;Filter Error: Unknown prefix for filter run&quot;
},
&quot;$:/language/Error/IsFilterOperator&quot;: {
&quot;title&quot;: &quot;$:/language/Error/IsFilterOperator&quot;,
&quot;text&quot;: &quot;Filter Error: Unknown operand for the 'is' filter operator&quot;
},
&quot;$:/language/Error/FormatFilterOperator&quot;: {
&quot;title&quot;: &quot;$:/language/Error/FormatFilterOperator&quot;,
&quot;text&quot;: &quot;Filter Error: Unknown suffix for the 'format' filter operator&quot;
},
&quot;$:/language/Error/LoadingPluginLibrary&quot;: {
&quot;title&quot;: &quot;$:/language/Error/LoadingPluginLibrary&quot;,
&quot;text&quot;: &quot;Error loading plugin library&quot;
},
&quot;$:/language/Error/NetworkErrorAlert&quot;: {
&quot;title&quot;: &quot;$:/language/Error/NetworkErrorAlert&quot;,
&quot;text&quot;: &quot;`&lt;h2&gt;''Network Error''&lt;/h2&gt;It looks like the connection to the server has been lost. This may indicate a problem with your network connection. Please attempt to restore network connectivity before continuing.&lt;br&gt;&lt;br&gt;''Any unsaved changes will be automatically synchronised when connectivity is restored''.`&quot;
},
&quot;$:/language/Error/RecursiveTransclusion&quot;: {
&quot;title&quot;: &quot;$:/language/Error/RecursiveTransclusion&quot;,
&quot;text&quot;: &quot;Recursive transclusion error in transclude widget&quot;
},
&quot;$:/language/Error/RetrievingSkinny&quot;: {
&quot;title&quot;: &quot;$:/language/Error/RetrievingSkinny&quot;,
&quot;text&quot;: &quot;Error retrieving skinny tiddler list&quot;
},
&quot;$:/language/Error/SavingToTWEdit&quot;: {
&quot;title&quot;: &quot;$:/language/Error/SavingToTWEdit&quot;,
&quot;text&quot;: &quot;Error saving to TWEdit&quot;
},
&quot;$:/language/Error/WhileSaving&quot;: {
&quot;title&quot;: &quot;$:/language/Error/WhileSaving&quot;,
&quot;text&quot;: &quot;Error while saving&quot;
},
&quot;$:/language/Error/XMLHttpRequest&quot;: {
&quot;title&quot;: &quot;$:/language/Error/XMLHttpRequest&quot;,
&quot;text&quot;: &quot;XMLHttpRequest error code&quot;
},
&quot;$:/language/InternalJavaScriptError/Title&quot;: {
&quot;title&quot;: &quot;$:/language/InternalJavaScriptError/Title&quot;,
&quot;text&quot;: &quot;Internal JavaScript Error&quot;
},
&quot;$:/language/InternalJavaScriptError/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/InternalJavaScriptError/Hint&quot;,
&quot;text&quot;: &quot;Well, this is embarrassing. It is recommended that you restart TiddlyWiki by refreshing your browser&quot;
},
&quot;$:/language/InvalidFieldName&quot;: {
&quot;title&quot;: &quot;$:/language/InvalidFieldName&quot;,
&quot;text&quot;: &quot;Illegal characters in field name \&quot;&lt;$text text=&lt;&lt;fieldName&gt;&gt;/&gt;\&quot;. Fields can only contain lowercase letters, digits and the characters underscore (`_`), hyphen (`-`) and period (`.`)&quot;
},
&quot;$:/language/LayoutSwitcher/Description&quot;: {
&quot;title&quot;: &quot;$:/language/LayoutSwitcher/Description&quot;,
&quot;text&quot;: &quot;Open the layout switcher&quot;
},
&quot;$:/language/LazyLoadingWarning&quot;: {
&quot;title&quot;: &quot;$:/language/LazyLoadingWarning&quot;,
&quot;text&quot;: &quot;&lt;p&gt;Trying to load external content from ''&lt;$text text={{!!_canonical_uri}}/&gt;''&lt;/p&gt;&lt;p&gt;If this message doesn't disappear, either the tiddler content type doesn't match the type of the external content, or you may be using a browser that doesn't support external content for wikis loaded as standalone files. See https://tiddlywiki.com/#ExternalText&lt;/p&gt;&quot;
},
&quot;$:/language/LoginToTiddlySpace&quot;: {
&quot;title&quot;: &quot;$:/language/LoginToTiddlySpace&quot;,
&quot;text&quot;: &quot;Login to TiddlySpace&quot;
},
&quot;$:/language/Manager/Controls/FilterByTag/None&quot;: {
&quot;title&quot;: &quot;$:/language/Manager/Controls/FilterByTag/None&quot;,
&quot;text&quot;: &quot;(none)&quot;
},
&quot;$:/language/Manager/Controls/FilterByTag/Prompt&quot;: {
&quot;title&quot;: &quot;$:/language/Manager/Controls/FilterByTag/Prompt&quot;,
&quot;text&quot;: &quot;Filter by tag:&quot;
},
&quot;$:/language/Manager/Controls/Order/Prompt&quot;: {
&quot;title&quot;: &quot;$:/language/Manager/Controls/Order/Prompt&quot;,
&quot;text&quot;: &quot;Reverse order&quot;
},
&quot;$:/language/Manager/Controls/Search/Placeholder&quot;: {
&quot;title&quot;: &quot;$:/language/Manager/Controls/Search/Placeholder&quot;,
&quot;text&quot;: &quot;Search&quot;
},
&quot;$:/language/Manager/Controls/Search/Prompt&quot;: {
&quot;title&quot;: &quot;$:/language/Manager/Controls/Search/Prompt&quot;,
&quot;text&quot;: &quot;Search:&quot;
},
&quot;$:/language/Manager/Controls/Show/Option/Tags&quot;: {
&quot;title&quot;: &quot;$:/language/Manager/Controls/Show/Option/Tags&quot;,
&quot;text&quot;: &quot;tags&quot;
},
&quot;$:/language/Manager/Controls/Show/Option/Tiddlers&quot;: {
&quot;title&quot;: &quot;$:/language/Manager/Controls/Show/Option/Tiddlers&quot;,
&quot;text&quot;: &quot;tiddlers&quot;
},
&quot;$:/language/Manager/Controls/Show/Prompt&quot;: {
&quot;title&quot;: &quot;$:/language/Manager/Controls/Show/Prompt&quot;,
&quot;text&quot;: &quot;Show:&quot;
},
&quot;$:/language/Manager/Controls/Sort/Prompt&quot;: {
&quot;title&quot;: &quot;$:/language/Manager/Controls/Sort/Prompt&quot;,
&quot;text&quot;: &quot;Sort by:&quot;
},
&quot;$:/language/Manager/Item/Colour&quot;: {
&quot;title&quot;: &quot;$:/language/Manager/Item/Colour&quot;,
&quot;text&quot;: &quot;Colour&quot;
},
&quot;$:/language/Manager/Item/Fields&quot;: {
&quot;title&quot;: &quot;$:/language/Manager/Item/Fields&quot;,
&quot;text&quot;: &quot;Fields&quot;
},
&quot;$:/language/Manager/Item/Icon/None&quot;: {
&quot;title&quot;: &quot;$:/language/Manager/Item/Icon/None&quot;,
&quot;text&quot;: &quot;(none)&quot;
},
&quot;$:/language/Manager/Item/Icon&quot;: {
&quot;title&quot;: &quot;$:/language/Manager/Item/Icon&quot;,
&quot;text&quot;: &quot;Icon&quot;
},
&quot;$:/language/Manager/Item/RawText&quot;: {
&quot;title&quot;: &quot;$:/language/Manager/Item/RawText&quot;,
&quot;text&quot;: &quot;Raw text&quot;
},
&quot;$:/language/Manager/Item/Tags&quot;: {
&quot;title&quot;: &quot;$:/language/Manager/Item/Tags&quot;,
&quot;text&quot;: &quot;Tags&quot;
},
&quot;$:/language/Manager/Item/Tools&quot;: {
&quot;title&quot;: &quot;$:/language/Manager/Item/Tools&quot;,
&quot;text&quot;: &quot;Tools&quot;
},
&quot;$:/language/Manager/Item/WikifiedText&quot;: {
&quot;title&quot;: &quot;$:/language/Manager/Item/WikifiedText&quot;,
&quot;text&quot;: &quot;Wikified text&quot;
},
&quot;$:/language/MissingTiddler/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/MissingTiddler/Hint&quot;,
&quot;text&quot;: &quot;Missing tiddler \&quot;&lt;$text text=&lt;&lt;currentTiddler&gt;&gt;/&gt;\&quot; -- click {{||$:/core/ui/Buttons/edit}} to create&quot;
},
&quot;$:/language/No&quot;: {
&quot;title&quot;: &quot;$:/language/No&quot;,
&quot;text&quot;: &quot;No&quot;
},
&quot;$:/language/OfficialPluginLibrary&quot;: {
&quot;title&quot;: &quot;$:/language/OfficialPluginLibrary&quot;,
&quot;text&quot;: &quot;Official ~TiddlyWiki Plugin Library&quot;
},
&quot;$:/language/OfficialPluginLibrary/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/OfficialPluginLibrary/Hint&quot;,
&quot;text&quot;: &quot;The official ~TiddlyWiki plugin library at tiddlywiki.com. Plugins, themes and language packs are maintained by the core team.&quot;
},
&quot;$:/language/PageTemplate/Description&quot;: {
&quot;title&quot;: &quot;$:/language/PageTemplate/Description&quot;,
&quot;text&quot;: &quot;the default ~TiddlyWiki layout&quot;
},
&quot;$:/language/PageTemplate/Name&quot;: {
&quot;title&quot;: &quot;$:/language/PageTemplate/Name&quot;,
&quot;text&quot;: &quot;Default ~PageTemplate&quot;
},
&quot;$:/language/PluginReloadWarning&quot;: {
&quot;title&quot;: &quot;$:/language/PluginReloadWarning&quot;,
&quot;text&quot;: &quot;Please save {{$:/core/ui/Buttons/save-wiki}} and reload {{$:/core/ui/Buttons/refresh}} to allow changes to ~JavaScript plugins to take effect&quot;
},
&quot;$:/language/RecentChanges/DateFormat&quot;: {
&quot;title&quot;: &quot;$:/language/RecentChanges/DateFormat&quot;,
&quot;text&quot;: &quot;DDth MMM YYYY&quot;
},
&quot;$:/language/Shortcuts/Input/AdvancedSearch/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Shortcuts/Input/AdvancedSearch/Hint&quot;,
&quot;text&quot;: &quot;Open the ~AdvancedSearch panel from within the sidebar search field&quot;
},
&quot;$:/language/Shortcuts/Input/Accept/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Shortcuts/Input/Accept/Hint&quot;,
&quot;text&quot;: &quot;Accept the selected item&quot;
},
&quot;$:/language/Shortcuts/Input/AcceptVariant/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Shortcuts/Input/AcceptVariant/Hint&quot;,
&quot;text&quot;: &quot;Accept the selected item (variant)&quot;
},
&quot;$:/language/Shortcuts/Input/Cancel/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Shortcuts/Input/Cancel/Hint&quot;,
&quot;text&quot;: &quot;Clear the input field&quot;
},
&quot;$:/language/Shortcuts/Input/Down/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Shortcuts/Input/Down/Hint&quot;,
&quot;text&quot;: &quot;Select the next item&quot;
},
&quot;$:/language/Shortcuts/Input/Tab-Left/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Shortcuts/Input/Tab-Left/Hint&quot;,
&quot;text&quot;: &quot;Select the previous Tab&quot;
},
&quot;$:/language/Shortcuts/Input/Tab-Right/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Shortcuts/Input/Tab-Right/Hint&quot;,
&quot;text&quot;: &quot;Select the next Tab&quot;
},
&quot;$:/language/Shortcuts/Input/Up/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Shortcuts/Input/Up/Hint&quot;,
&quot;text&quot;: &quot;Select the previous item&quot;
},
&quot;$:/language/Shortcuts/SidebarLayout/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Shortcuts/SidebarLayout/Hint&quot;,
&quot;text&quot;: &quot;Change the sidebar layout&quot;
},
&quot;$:/language/Switcher/Subtitle/theme&quot;: {
&quot;title&quot;: &quot;$:/language/Switcher/Subtitle/theme&quot;,
&quot;text&quot;: &quot;Switch Theme&quot;
},
&quot;$:/language/Switcher/Subtitle/layout&quot;: {
&quot;title&quot;: &quot;$:/language/Switcher/Subtitle/layout&quot;,
&quot;text&quot;: &quot;Switch Layout&quot;
},
&quot;$:/language/Switcher/Subtitle/language&quot;: {
&quot;title&quot;: &quot;$:/language/Switcher/Subtitle/language&quot;,
&quot;text&quot;: &quot;Switch Language&quot;
},
&quot;$:/language/Switcher/Subtitle/palette&quot;: {
&quot;title&quot;: &quot;$:/language/Switcher/Subtitle/palette&quot;,
&quot;text&quot;: &quot;Switch Palette&quot;
},
&quot;$:/language/SystemTiddler/Tooltip&quot;: {
&quot;title&quot;: &quot;$:/language/SystemTiddler/Tooltip&quot;,
&quot;text&quot;: &quot;This is a system tiddler&quot;
},
&quot;$:/language/SystemTiddlers/Include/Prompt&quot;: {
&quot;title&quot;: &quot;$:/language/SystemTiddlers/Include/Prompt&quot;,
&quot;text&quot;: &quot;Include system tiddlers&quot;
},
&quot;$:/language/TagManager/Colour/Heading&quot;: {
&quot;title&quot;: &quot;$:/language/TagManager/Colour/Heading&quot;,
&quot;text&quot;: &quot;Colour&quot;
},
&quot;$:/language/TagManager/Count/Heading&quot;: {
&quot;title&quot;: &quot;$:/language/TagManager/Count/Heading&quot;,
&quot;text&quot;: &quot;Count&quot;
},
&quot;$:/language/TagManager/Icon/Heading&quot;: {
&quot;title&quot;: &quot;$:/language/TagManager/Icon/Heading&quot;,
&quot;text&quot;: &quot;Icon&quot;
},
&quot;$:/language/TagManager/Icons/None&quot;: {
&quot;title&quot;: &quot;$:/language/TagManager/Icons/None&quot;,
&quot;text&quot;: &quot;None&quot;
},
&quot;$:/language/TagManager/Info/Heading&quot;: {
&quot;title&quot;: &quot;$:/language/TagManager/Info/Heading&quot;,
&quot;text&quot;: &quot;Info&quot;
},
&quot;$:/language/TagManager/Tag/Heading&quot;: {
&quot;title&quot;: &quot;$:/language/TagManager/Tag/Heading&quot;,
&quot;text&quot;: &quot;Tag&quot;
},
&quot;$:/language/Tiddler/DateFormat&quot;: {
&quot;title&quot;: &quot;$:/language/Tiddler/DateFormat&quot;,
&quot;text&quot;: &quot;DDth MMM YYYY at hh12:0mmam&quot;
},
&quot;$:/language/UnsavedChangesWarning&quot;: {
&quot;title&quot;: &quot;$:/language/UnsavedChangesWarning&quot;,
&quot;text&quot;: &quot;You have unsaved changes in TiddlyWiki&quot;
},
&quot;$:/language/Yes&quot;: {
&quot;title&quot;: &quot;$:/language/Yes&quot;,
&quot;text&quot;: &quot;Yes&quot;
},
&quot;$:/language/Modals/Download&quot;: {
&quot;title&quot;: &quot;$:/language/Modals/Download&quot;,
&quot;subtitle&quot;: &quot;Download changes&quot;,
&quot;footer&quot;: &quot;&lt;$button message=\&quot;tm-close-tiddler\&quot;&gt;Close&lt;/$button&gt;&quot;,
&quot;help&quot;: &quot;https://tiddlywiki.com/static/DownloadingChanges.html&quot;,
&quot;text&quot;: &quot;Your browser only supports manual saving.\n\nTo save your modified wiki, right click on the download link below and select \&quot;Download file\&quot; or \&quot;Save file\&quot;, and then choose the folder and filename.\n\n//You can marginally speed things up by clicking the link with the control key (Windows) or the options/alt key (Mac OS X). You will not be prompted for the folder or filename, but your browser is likely to give it an unrecognisable name -- you may need to rename the file to include an `.html` extension before you can do anything useful with it.//\n\nOn smartphones that do not allow files to be downloaded you can instead bookmark the link, and then sync your bookmarks to a desktop computer from where the wiki can be saved normally.\n&quot;
},
&quot;$:/language/Modals/SaveInstructions&quot;: {
&quot;title&quot;: &quot;$:/language/Modals/SaveInstructions&quot;,
&quot;subtitle&quot;: &quot;Save your work&quot;,
&quot;footer&quot;: &quot;&lt;$button message=\&quot;tm-close-tiddler\&quot;&gt;Close&lt;/$button&gt;&quot;,
&quot;help&quot;: &quot;https://tiddlywiki.com/static/SavingChanges.html&quot;,
&quot;text&quot;: &quot;Your changes to this wiki need to be saved as a ~TiddlyWiki HTML file.\n\n!!! Desktop browsers\n\n# Select ''Save As'' from the ''File'' menu\n# Choose a filename and location\n#* Some browsers also require you to explicitly specify the file saving format as ''Webpage, HTML only'' or similar\n# Close this tab\n\n!!! Smartphone browsers\n\n# Create a bookmark to this page\n#* If you've got iCloud or Google Sync set up then the bookmark will automatically sync to your desktop where you can open it and save it as above\n# Close this tab\n\n//If you open the bookmark again in Mobile Safari you will see this message again. If you want to go ahead and use the file, just click the ''close'' button below//\n&quot;
},
&quot;$:/config/NewJournal/Title&quot;: {
&quot;title&quot;: &quot;$:/config/NewJournal/Title&quot;,
&quot;text&quot;: &quot;DDth MMM YYYY&quot;
},
&quot;$:/config/NewJournal/Text&quot;: {
&quot;title&quot;: &quot;$:/config/NewJournal/Text&quot;,
&quot;text&quot;: &quot;&quot;
},
&quot;$:/config/NewJournal/Tags&quot;: {
&quot;title&quot;: &quot;$:/config/NewJournal/Tags&quot;,
&quot;text&quot;: &quot;Journal\n&quot;
},
&quot;$:/language/Notifications/Save/Done&quot;: {
&quot;title&quot;: &quot;$:/language/Notifications/Save/Done&quot;,
&quot;text&quot;: &quot;Saved wiki&quot;
},
&quot;$:/language/Notifications/Save/Starting&quot;: {
&quot;title&quot;: &quot;$:/language/Notifications/Save/Starting&quot;,
&quot;text&quot;: &quot;Starting to save wiki&quot;
},
&quot;$:/language/Notifications/CopiedToClipboard/Succeeded&quot;: {
&quot;title&quot;: &quot;$:/language/Notifications/CopiedToClipboard/Succeeded&quot;,
&quot;text&quot;: &quot;Copied to clipboard!&quot;
},
&quot;$:/language/Notifications/CopiedToClipboard/Failed&quot;: {
&quot;title&quot;: &quot;$:/language/Notifications/CopiedToClipboard/Failed&quot;,
&quot;text&quot;: &quot;Failed to copy to clipboard!&quot;
},
&quot;$:/language/Search/DefaultResults/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Search/DefaultResults/Caption&quot;,
&quot;text&quot;: &quot;List&quot;
},
&quot;$:/language/Search/Filter/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Search/Filter/Caption&quot;,
&quot;text&quot;: &quot;Filter&quot;
},
&quot;$:/language/Search/Filter/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Search/Filter/Hint&quot;,
&quot;text&quot;: &quot;Search via a [[filter expression|https://tiddlywiki.com/static/Filters.html]]&quot;
},
&quot;$:/language/Search/Filter/Matches&quot;: {
&quot;title&quot;: &quot;$:/language/Search/Filter/Matches&quot;,
&quot;text&quot;: &quot;//&lt;small&gt;&lt;&lt;resultCount&gt;&gt; matches&lt;/small&gt;//&quot;
},
&quot;$:/language/Search/Matches&quot;: {
&quot;title&quot;: &quot;$:/language/Search/Matches&quot;,
&quot;text&quot;: &quot;//&lt;small&gt;&lt;&lt;resultCount&gt;&gt; matches&lt;/small&gt;//&quot;
},
&quot;$:/language/Search/Matches/All&quot;: {
&quot;title&quot;: &quot;$:/language/Search/Matches/All&quot;,
&quot;text&quot;: &quot;All matches:&quot;
},
&quot;$:/language/Search/Matches/Title&quot;: {
&quot;title&quot;: &quot;$:/language/Search/Matches/Title&quot;,
&quot;text&quot;: &quot;Title matches:&quot;
},
&quot;$:/language/Search/Search&quot;: {
&quot;title&quot;: &quot;$:/language/Search/Search&quot;,
&quot;text&quot;: &quot;Search&quot;
},
&quot;$:/language/Search/Search/TooShort&quot;: {
&quot;title&quot;: &quot;$:/language/Search/Search/TooShort&quot;,
&quot;text&quot;: &quot;Search text too short&quot;
},
&quot;$:/language/Search/Shadows/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Search/Shadows/Caption&quot;,
&quot;text&quot;: &quot;Shadows&quot;
},
&quot;$:/language/Search/Shadows/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Search/Shadows/Hint&quot;,
&quot;text&quot;: &quot;Search for shadow tiddlers&quot;
},
&quot;$:/language/Search/Shadows/Matches&quot;: {
&quot;title&quot;: &quot;$:/language/Search/Shadows/Matches&quot;,
&quot;text&quot;: &quot;//&lt;small&gt;&lt;&lt;resultCount&gt;&gt; matches&lt;/small&gt;//&quot;
},
&quot;$:/language/Search/Standard/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Search/Standard/Caption&quot;,
&quot;text&quot;: &quot;Standard&quot;
},
&quot;$:/language/Search/Standard/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Search/Standard/Hint&quot;,
&quot;text&quot;: &quot;Search for standard tiddlers&quot;
},
&quot;$:/language/Search/Standard/Matches&quot;: {
&quot;title&quot;: &quot;$:/language/Search/Standard/Matches&quot;,
&quot;text&quot;: &quot;//&lt;small&gt;&lt;&lt;resultCount&gt;&gt; matches&lt;/small&gt;//&quot;
},
&quot;$:/language/Search/System/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/Search/System/Caption&quot;,
&quot;text&quot;: &quot;System&quot;
},
&quot;$:/language/Search/System/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/Search/System/Hint&quot;,
&quot;text&quot;: &quot;Search for system tiddlers&quot;
},
&quot;$:/language/Search/System/Matches&quot;: {
&quot;title&quot;: &quot;$:/language/Search/System/Matches&quot;,
&quot;text&quot;: &quot;//&lt;small&gt;&lt;&lt;resultCount&gt;&gt; matches&lt;/small&gt;//&quot;
},
&quot;$:/language/SideBar/All/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/SideBar/All/Caption&quot;,
&quot;text&quot;: &quot;All&quot;
},
&quot;$:/language/SideBar/Contents/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/SideBar/Contents/Caption&quot;,
&quot;text&quot;: &quot;Contents&quot;
},
&quot;$:/language/SideBar/Drafts/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/SideBar/Drafts/Caption&quot;,
&quot;text&quot;: &quot;Drafts&quot;
},
&quot;$:/language/SideBar/Explorer/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/SideBar/Explorer/Caption&quot;,
&quot;text&quot;: &quot;Explorer&quot;
},
&quot;$:/language/SideBar/Missing/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/SideBar/Missing/Caption&quot;,
&quot;text&quot;: &quot;Missing&quot;
},
&quot;$:/language/SideBar/More/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/SideBar/More/Caption&quot;,
&quot;text&quot;: &quot;More&quot;
},
&quot;$:/language/SideBar/Open/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/SideBar/Open/Caption&quot;,
&quot;text&quot;: &quot;Open&quot;
},
&quot;$:/language/SideBar/Orphans/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/SideBar/Orphans/Caption&quot;,
&quot;text&quot;: &quot;Orphans&quot;
},
&quot;$:/language/SideBar/Recent/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/SideBar/Recent/Caption&quot;,
&quot;text&quot;: &quot;Recent&quot;
},
&quot;$:/language/SideBar/Shadows/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/SideBar/Shadows/Caption&quot;,
&quot;text&quot;: &quot;Shadows&quot;
},
&quot;$:/language/SideBar/System/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/SideBar/System/Caption&quot;,
&quot;text&quot;: &quot;System&quot;
},
&quot;$:/language/SideBar/Tags/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/SideBar/Tags/Caption&quot;,
&quot;text&quot;: &quot;Tags&quot;
},
&quot;$:/language/SideBar/Tags/Untagged/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/SideBar/Tags/Untagged/Caption&quot;,
&quot;text&quot;: &quot;untagged&quot;
},
&quot;$:/language/SideBar/Tools/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/SideBar/Tools/Caption&quot;,
&quot;text&quot;: &quot;Tools&quot;
},
&quot;$:/language/SideBar/Types/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/SideBar/Types/Caption&quot;,
&quot;text&quot;: &quot;Types&quot;
},
&quot;$:/SiteSubtitle&quot;: {
&quot;title&quot;: &quot;$:/SiteSubtitle&quot;,
&quot;text&quot;: &quot;a non-linear personal web notebook&quot;
},
&quot;$:/SiteTitle&quot;: {
&quot;title&quot;: &quot;$:/SiteTitle&quot;,
&quot;text&quot;: &quot;My ~TiddlyWiki&quot;
},
&quot;$:/language/Snippets/ListByTag&quot;: {
&quot;title&quot;: &quot;$:/language/Snippets/ListByTag&quot;,
&quot;tags&quot;: &quot;$:/tags/TextEditor/Snippet&quot;,
&quot;caption&quot;: &quot;List of tiddlers by tag&quot;,
&quot;text&quot;: &quot;&lt;&lt;list-links \&quot;[tag[task]sort[title]]\&quot;&gt;&gt;\n&quot;
},
&quot;$:/language/Snippets/MacroDefinition&quot;: {
&quot;title&quot;: &quot;$:/language/Snippets/MacroDefinition&quot;,
&quot;tags&quot;: &quot;$:/tags/TextEditor/Snippet&quot;,
&quot;caption&quot;: &quot;Macro definition&quot;,
&quot;text&quot;: &quot;\\define macroName(param1:\&quot;default value\&quot;,param2)\nText of the macro\n\\end\n&quot;
},
&quot;$:/language/Snippets/Table4x3&quot;: {
&quot;title&quot;: &quot;$:/language/Snippets/Table4x3&quot;,
&quot;tags&quot;: &quot;$:/tags/TextEditor/Snippet&quot;,
&quot;caption&quot;: &quot;Table with 4 columns by 3 rows&quot;,
&quot;text&quot;: &quot;|! |!Alpha |!Beta |!Gamma |!Delta |\n|!One | | | | |\n|!Two | | | | |\n|!Three | | | | |\n&quot;
},
&quot;$:/language/Snippets/TableOfContents&quot;: {
&quot;title&quot;: &quot;$:/language/Snippets/TableOfContents&quot;,
&quot;tags&quot;: &quot;$:/tags/TextEditor/Snippet&quot;,
&quot;caption&quot;: &quot;Table of Contents&quot;,
&quot;text&quot;: &quot;&lt;div class=\&quot;tc-table-of-contents\&quot;&gt;\n\n&lt;&lt;toc-selective-expandable 'TableOfContents'&gt;&gt;\n\n&lt;/div&gt;&quot;
},
&quot;$:/language/ThemeTweaks/ThemeTweaks&quot;: {
&quot;title&quot;: &quot;$:/language/ThemeTweaks/ThemeTweaks&quot;,
&quot;text&quot;: &quot;Theme Tweaks&quot;
},
&quot;$:/language/ThemeTweaks/ThemeTweaks/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ThemeTweaks/ThemeTweaks/Hint&quot;,
&quot;text&quot;: &quot;You can tweak certain aspects of the ''Vanilla'' theme.&quot;
},
&quot;$:/language/ThemeTweaks/Options&quot;: {
&quot;title&quot;: &quot;$:/language/ThemeTweaks/Options&quot;,
&quot;text&quot;: &quot;Options&quot;
},
&quot;$:/language/ThemeTweaks/Options/SidebarLayout&quot;: {
&quot;title&quot;: &quot;$:/language/ThemeTweaks/Options/SidebarLayout&quot;,
&quot;text&quot;: &quot;Sidebar layout&quot;
},
&quot;$:/language/ThemeTweaks/Options/SidebarLayout/Fixed-Fluid&quot;: {
&quot;title&quot;: &quot;$:/language/ThemeTweaks/Options/SidebarLayout/Fixed-Fluid&quot;,
&quot;text&quot;: &quot;Fixed story, fluid sidebar&quot;
},
&quot;$:/language/ThemeTweaks/Options/SidebarLayout/Fluid-Fixed&quot;: {
&quot;title&quot;: &quot;$:/language/ThemeTweaks/Options/SidebarLayout/Fluid-Fixed&quot;,
&quot;text&quot;: &quot;Fluid story, fixed sidebar&quot;
},
&quot;$:/language/ThemeTweaks/Options/StickyTitles&quot;: {
&quot;title&quot;: &quot;$:/language/ThemeTweaks/Options/StickyTitles&quot;,
&quot;text&quot;: &quot;Sticky titles&quot;
},
&quot;$:/language/ThemeTweaks/Options/StickyTitles/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ThemeTweaks/Options/StickyTitles/Hint&quot;,
&quot;text&quot;: &quot;Causes tiddler titles to \&quot;stick\&quot; to the top of the browser window&quot;
},
&quot;$:/language/ThemeTweaks/Options/CodeWrapping&quot;: {
&quot;title&quot;: &quot;$:/language/ThemeTweaks/Options/CodeWrapping&quot;,
&quot;text&quot;: &quot;Wrap long lines in code blocks&quot;
},
&quot;$:/language/ThemeTweaks/Settings&quot;: {
&quot;title&quot;: &quot;$:/language/ThemeTweaks/Settings&quot;,
&quot;text&quot;: &quot;Settings&quot;
},
&quot;$:/language/ThemeTweaks/Settings/FontFamily&quot;: {
&quot;title&quot;: &quot;$:/language/ThemeTweaks/Settings/FontFamily&quot;,
&quot;text&quot;: &quot;Font family&quot;
},
&quot;$:/language/ThemeTweaks/Settings/CodeFontFamily&quot;: {
&quot;title&quot;: &quot;$:/language/ThemeTweaks/Settings/CodeFontFamily&quot;,
&quot;text&quot;: &quot;Code font family&quot;
},
&quot;$:/language/ThemeTweaks/Settings/EditorFontFamily&quot;: {
&quot;title&quot;: &quot;$:/language/ThemeTweaks/Settings/EditorFontFamily&quot;,
&quot;text&quot;: &quot;Editor font family&quot;
},
&quot;$:/language/ThemeTweaks/Settings/BackgroundImage&quot;: {
&quot;title&quot;: &quot;$:/language/ThemeTweaks/Settings/BackgroundImage&quot;,
&quot;text&quot;: &quot;Page background image&quot;
},
&quot;$:/language/ThemeTweaks/Settings/BackgroundImageAttachment&quot;: {
&quot;title&quot;: &quot;$:/language/ThemeTweaks/Settings/BackgroundImageAttachment&quot;,
&quot;text&quot;: &quot;Page background image attachment&quot;
},
&quot;$:/language/ThemeTweaks/Settings/BackgroundImageAttachment/Scroll&quot;: {
&quot;title&quot;: &quot;$:/language/ThemeTweaks/Settings/BackgroundImageAttachment/Scroll&quot;,
&quot;text&quot;: &quot;Scroll with tiddlers&quot;
},
&quot;$:/language/ThemeTweaks/Settings/BackgroundImageAttachment/Fixed&quot;: {
&quot;title&quot;: &quot;$:/language/ThemeTweaks/Settings/BackgroundImageAttachment/Fixed&quot;,
&quot;text&quot;: &quot;Fixed to window&quot;
},
&quot;$:/language/ThemeTweaks/Settings/BackgroundImageSize&quot;: {
&quot;title&quot;: &quot;$:/language/ThemeTweaks/Settings/BackgroundImageSize&quot;,
&quot;text&quot;: &quot;Page background image size&quot;
},
&quot;$:/language/ThemeTweaks/Settings/BackgroundImageSize/Auto&quot;: {
&quot;title&quot;: &quot;$:/language/ThemeTweaks/Settings/BackgroundImageSize/Auto&quot;,
&quot;text&quot;: &quot;Auto&quot;
},
&quot;$:/language/ThemeTweaks/Settings/BackgroundImageSize/Cover&quot;: {
&quot;title&quot;: &quot;$:/language/ThemeTweaks/Settings/BackgroundImageSize/Cover&quot;,
&quot;text&quot;: &quot;Cover&quot;
},
&quot;$:/language/ThemeTweaks/Settings/BackgroundImageSize/Contain&quot;: {
&quot;title&quot;: &quot;$:/language/ThemeTweaks/Settings/BackgroundImageSize/Contain&quot;,
&quot;text&quot;: &quot;Contain&quot;
},
&quot;$:/language/ThemeTweaks/Metrics&quot;: {
&quot;title&quot;: &quot;$:/language/ThemeTweaks/Metrics&quot;,
&quot;text&quot;: &quot;Sizes&quot;
},
&quot;$:/language/ThemeTweaks/Metrics/FontSize&quot;: {
&quot;title&quot;: &quot;$:/language/ThemeTweaks/Metrics/FontSize&quot;,
&quot;text&quot;: &quot;Font size&quot;
},
&quot;$:/language/ThemeTweaks/Metrics/LineHeight&quot;: {
&quot;title&quot;: &quot;$:/language/ThemeTweaks/Metrics/LineHeight&quot;,
&quot;text&quot;: &quot;Line height&quot;
},
&quot;$:/language/ThemeTweaks/Metrics/BodyFontSize&quot;: {
&quot;title&quot;: &quot;$:/language/ThemeTweaks/Metrics/BodyFontSize&quot;,
&quot;text&quot;: &quot;Font size for tiddler body&quot;
},
&quot;$:/language/ThemeTweaks/Metrics/BodyLineHeight&quot;: {
&quot;title&quot;: &quot;$:/language/ThemeTweaks/Metrics/BodyLineHeight&quot;,
&quot;text&quot;: &quot;Line height for tiddler body&quot;
},
&quot;$:/language/ThemeTweaks/Metrics/StoryLeft&quot;: {
&quot;title&quot;: &quot;$:/language/ThemeTweaks/Metrics/StoryLeft&quot;,
&quot;text&quot;: &quot;Story left position&quot;
},
&quot;$:/language/ThemeTweaks/Metrics/StoryLeft/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ThemeTweaks/Metrics/StoryLeft/Hint&quot;,
&quot;text&quot;: &quot;how far the left margin of the story river&lt;br&gt;(tiddler area) is from the left of the page&quot;
},
&quot;$:/language/ThemeTweaks/Metrics/StoryTop&quot;: {
&quot;title&quot;: &quot;$:/language/ThemeTweaks/Metrics/StoryTop&quot;,
&quot;text&quot;: &quot;Story top position&quot;
},
&quot;$:/language/ThemeTweaks/Metrics/StoryTop/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ThemeTweaks/Metrics/StoryTop/Hint&quot;,
&quot;text&quot;: &quot;how far the top margin of the story river&lt;br&gt;is from the top of the page&quot;
},
&quot;$:/language/ThemeTweaks/Metrics/StoryRight&quot;: {
&quot;title&quot;: &quot;$:/language/ThemeTweaks/Metrics/StoryRight&quot;,
&quot;text&quot;: &quot;Story right&quot;
},
&quot;$:/language/ThemeTweaks/Metrics/StoryRight/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ThemeTweaks/Metrics/StoryRight/Hint&quot;,
&quot;text&quot;: &quot;how far the left margin of the sidebar &lt;br&gt;is from the left of the page&quot;
},
&quot;$:/language/ThemeTweaks/Metrics/StoryWidth&quot;: {
&quot;title&quot;: &quot;$:/language/ThemeTweaks/Metrics/StoryWidth&quot;,
&quot;text&quot;: &quot;Story width&quot;
},
&quot;$:/language/ThemeTweaks/Metrics/StoryWidth/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ThemeTweaks/Metrics/StoryWidth/Hint&quot;,
&quot;text&quot;: &quot;the overall width of the story river&quot;
},
&quot;$:/language/ThemeTweaks/Metrics/TiddlerWidth&quot;: {
&quot;title&quot;: &quot;$:/language/ThemeTweaks/Metrics/TiddlerWidth&quot;,
&quot;text&quot;: &quot;Tiddler width&quot;
},
&quot;$:/language/ThemeTweaks/Metrics/TiddlerWidth/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ThemeTweaks/Metrics/TiddlerWidth/Hint&quot;,
&quot;text&quot;: &quot;within the story river&quot;
},
&quot;$:/language/ThemeTweaks/Metrics/SidebarBreakpoint&quot;: {
&quot;title&quot;: &quot;$:/language/ThemeTweaks/Metrics/SidebarBreakpoint&quot;,
&quot;text&quot;: &quot;Sidebar breakpoint&quot;
},
&quot;$:/language/ThemeTweaks/Metrics/SidebarBreakpoint/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ThemeTweaks/Metrics/SidebarBreakpoint/Hint&quot;,
&quot;text&quot;: &quot;the minimum page width at which the story&lt;br&gt;river and sidebar will appear side by side&quot;
},
&quot;$:/language/ThemeTweaks/Metrics/SidebarWidth&quot;: {
&quot;title&quot;: &quot;$:/language/ThemeTweaks/Metrics/SidebarWidth&quot;,
&quot;text&quot;: &quot;Sidebar width&quot;
},
&quot;$:/language/ThemeTweaks/Metrics/SidebarWidth/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/ThemeTweaks/Metrics/SidebarWidth/Hint&quot;,
&quot;text&quot;: &quot;the width of the sidebar in fluid-fixed layout&quot;
},
&quot;$:/language/TiddlerInfo/Advanced/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/TiddlerInfo/Advanced/Caption&quot;,
&quot;text&quot;: &quot;Advanced&quot;
},
&quot;$:/language/TiddlerInfo/Advanced/PluginInfo/Empty/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/TiddlerInfo/Advanced/PluginInfo/Empty/Hint&quot;,
&quot;text&quot;: &quot;none&quot;
},
&quot;$:/language/TiddlerInfo/Advanced/PluginInfo/Heading&quot;: {
&quot;title&quot;: &quot;$:/language/TiddlerInfo/Advanced/PluginInfo/Heading&quot;,
&quot;text&quot;: &quot;Plugin Details&quot;
},
&quot;$:/language/TiddlerInfo/Advanced/PluginInfo/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/TiddlerInfo/Advanced/PluginInfo/Hint&quot;,
&quot;text&quot;: &quot;This plugin contains the following shadow tiddlers:&quot;
},
&quot;$:/language/TiddlerInfo/Advanced/ShadowInfo/Heading&quot;: {
&quot;title&quot;: &quot;$:/language/TiddlerInfo/Advanced/ShadowInfo/Heading&quot;,
&quot;text&quot;: &quot;Shadow Status&quot;
},
&quot;$:/language/TiddlerInfo/Advanced/ShadowInfo/NotShadow/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/TiddlerInfo/Advanced/ShadowInfo/NotShadow/Hint&quot;,
&quot;text&quot;: &quot;The tiddler &lt;$link to=&lt;&lt;infoTiddler&gt;&gt;&gt;&lt;$text text=&lt;&lt;infoTiddler&gt;&gt;/&gt;&lt;/$link&gt; is not a shadow tiddler&quot;
},
&quot;$:/language/TiddlerInfo/Advanced/ShadowInfo/Shadow/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/TiddlerInfo/Advanced/ShadowInfo/Shadow/Hint&quot;,
&quot;text&quot;: &quot;The tiddler &lt;$link to=&lt;&lt;infoTiddler&gt;&gt;&gt;&lt;$text text=&lt;&lt;infoTiddler&gt;&gt;/&gt;&lt;/$link&gt; is a shadow tiddler&quot;
},
&quot;$:/language/TiddlerInfo/Advanced/ShadowInfo/Shadow/Source&quot;: {
&quot;title&quot;: &quot;$:/language/TiddlerInfo/Advanced/ShadowInfo/Shadow/Source&quot;,
&quot;text&quot;: &quot;It is defined in the plugin &lt;$link to=&lt;&lt;pluginTiddler&gt;&gt;&gt;&lt;$text text=&lt;&lt;pluginTiddler&gt;&gt;/&gt;&lt;/$link&gt;&quot;
},
&quot;$:/language/TiddlerInfo/Advanced/ShadowInfo/OverriddenShadow/Hint&quot;: {
&quot;title&quot;: &quot;$:/language/TiddlerInfo/Advanced/ShadowInfo/OverriddenShadow/Hint&quot;,
&quot;text&quot;: &quot;It is overridden by an ordinary tiddler&quot;
},
&quot;$:/language/TiddlerInfo/Fields/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/TiddlerInfo/Fields/Caption&quot;,
&quot;text&quot;: &quot;Fields&quot;
},
&quot;$:/language/TiddlerInfo/List/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/TiddlerInfo/List/Caption&quot;,
&quot;text&quot;: &quot;List&quot;
},
&quot;$:/language/TiddlerInfo/List/Empty&quot;: {
&quot;title&quot;: &quot;$:/language/TiddlerInfo/List/Empty&quot;,
&quot;text&quot;: &quot;This tiddler does not have a list&quot;
},
&quot;$:/language/TiddlerInfo/Listed/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/TiddlerInfo/Listed/Caption&quot;,
&quot;text&quot;: &quot;Listed&quot;
},
&quot;$:/language/TiddlerInfo/Listed/Empty&quot;: {
&quot;title&quot;: &quot;$:/language/TiddlerInfo/Listed/Empty&quot;,
&quot;text&quot;: &quot;This tiddler is not listed by any others&quot;
},
&quot;$:/language/TiddlerInfo/References/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/TiddlerInfo/References/Caption&quot;,
&quot;text&quot;: &quot;Backlinks&quot;
},
&quot;$:/language/TiddlerInfo/References/Empty&quot;: {
&quot;title&quot;: &quot;$:/language/TiddlerInfo/References/Empty&quot;,
&quot;text&quot;: &quot;No tiddlers link to this one&quot;
},
&quot;$:/language/TiddlerInfo/Tagging/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/TiddlerInfo/Tagging/Caption&quot;,
&quot;text&quot;: &quot;Tagging&quot;
},
&quot;$:/language/TiddlerInfo/Tagging/Empty&quot;: {
&quot;title&quot;: &quot;$:/language/TiddlerInfo/Tagging/Empty&quot;,
&quot;text&quot;: &quot;No tiddlers are tagged with this one&quot;
},
&quot;$:/language/TiddlerInfo/Tools/Caption&quot;: {
&quot;title&quot;: &quot;$:/language/TiddlerInfo/Tools/Caption&quot;,
&quot;text&quot;: &quot;Tools&quot;
},
&quot;$:/language/Docs/Types/application/javascript&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/Types/application/javascript&quot;,
&quot;description&quot;: &quot;JavaScript code&quot;,
&quot;name&quot;: &quot;application/javascript&quot;,
&quot;group&quot;: &quot;Developer&quot;,
&quot;group-sort&quot;: &quot;2&quot;
},
&quot;$:/language/Docs/Types/application/json&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/Types/application/json&quot;,
&quot;description&quot;: &quot;JSON data&quot;,
&quot;name&quot;: &quot;application/json&quot;,
&quot;group&quot;: &quot;Developer&quot;,
&quot;group-sort&quot;: &quot;2&quot;
},
&quot;$:/language/Docs/Types/application/x-tiddler-dictionary&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/Types/application/x-tiddler-dictionary&quot;,
&quot;description&quot;: &quot;Data dictionary&quot;,
&quot;name&quot;: &quot;application/x-tiddler-dictionary&quot;,
&quot;group&quot;: &quot;Developer&quot;,
&quot;group-sort&quot;: &quot;2&quot;
},
&quot;$:/language/Docs/Types/image/gif&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/Types/image/gif&quot;,
&quot;description&quot;: &quot;GIF image&quot;,
&quot;name&quot;: &quot;image/gif&quot;,
&quot;group&quot;: &quot;Image&quot;,
&quot;group-sort&quot;: &quot;1&quot;
},
&quot;$:/language/Docs/Types/image/jpeg&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/Types/image/jpeg&quot;,
&quot;description&quot;: &quot;JPEG image&quot;,
&quot;name&quot;: &quot;image/jpeg&quot;,
&quot;group&quot;: &quot;Image&quot;,
&quot;group-sort&quot;: &quot;1&quot;
},
&quot;$:/language/Docs/Types/image/png&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/Types/image/png&quot;,
&quot;description&quot;: &quot;PNG image&quot;,
&quot;name&quot;: &quot;image/png&quot;,
&quot;group&quot;: &quot;Image&quot;,
&quot;group-sort&quot;: &quot;1&quot;
},
&quot;$:/language/Docs/Types/image/svg+xml&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/Types/image/svg+xml&quot;,
&quot;description&quot;: &quot;Structured Vector Graphics image&quot;,
&quot;name&quot;: &quot;image/svg+xml&quot;,
&quot;group&quot;: &quot;Image&quot;,
&quot;group-sort&quot;: &quot;1&quot;
},
&quot;$:/language/Docs/Types/image/x-icon&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/Types/image/x-icon&quot;,
&quot;description&quot;: &quot;ICO format icon file&quot;,
&quot;name&quot;: &quot;image/x-icon&quot;,
&quot;group&quot;: &quot;Image&quot;,
&quot;group-sort&quot;: &quot;1&quot;
},
&quot;$:/language/Docs/Types/text/css&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/Types/text/css&quot;,
&quot;description&quot;: &quot;Static stylesheet&quot;,
&quot;name&quot;: &quot;text/css&quot;,
&quot;group&quot;: &quot;Developer&quot;,
&quot;group-sort&quot;: &quot;2&quot;
},
&quot;$:/language/Docs/Types/text/html&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/Types/text/html&quot;,
&quot;description&quot;: &quot;HTML markup&quot;,
&quot;name&quot;: &quot;text/html&quot;,
&quot;group&quot;: &quot;Text&quot;,
&quot;group-sort&quot;: &quot;0&quot;
},
&quot;$:/language/Docs/Types/text/plain&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/Types/text/plain&quot;,
&quot;description&quot;: &quot;Plain text&quot;,
&quot;name&quot;: &quot;text/plain&quot;,
&quot;group&quot;: &quot;Text&quot;,
&quot;group-sort&quot;: &quot;0&quot;
},
&quot;$:/language/Docs/Types/text/vnd.tiddlywiki&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/Types/text/vnd.tiddlywiki&quot;,
&quot;description&quot;: &quot;TiddlyWiki 5&quot;,
&quot;name&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;group&quot;: &quot;Text&quot;,
&quot;group-sort&quot;: &quot;0&quot;
},
&quot;$:/language/Docs/Types/text/x-tiddlywiki&quot;: {
&quot;title&quot;: &quot;$:/language/Docs/Types/text/x-tiddlywiki&quot;,
&quot;description&quot;: &quot;TiddlyWiki Classic&quot;,
&quot;name&quot;: &quot;text/x-tiddlywiki&quot;,
&quot;group&quot;: &quot;Text&quot;,
&quot;group-sort&quot;: &quot;0&quot;
},
&quot;$:/languages/en-GB/icon&quot;: {
&quot;title&quot;: &quot;$:/languages/en-GB/icon&quot;,
&quot;type&quot;: &quot;image/svg+xml&quot;,
&quot;text&quot;: &quot;&lt;svg xmlns=\&quot;http://www.w3.org/2000/svg\&quot; viewBox=\&quot;0 0 60 30\&quot; width=\&quot;1200\&quot; height=\&quot;600\&quot;&gt;\n&lt;clipPath id=\&quot;t\&quot;&gt;\n\t&lt;path d=\&quot;M30,15 h30 v15 z v15 h-30 z h-30 v-15 z v-15 h30 z\&quot;/&gt;\n&lt;/clipPath&gt;\n&lt;path d=\&quot;M0,0 v30 h60 v-30 z\&quot; fill=\&quot;#00247d\&quot;/&gt;\n&lt;path d=\&quot;M0,0 L60,30 M60,0 L0,30\&quot; stroke=\&quot;#fff\&quot; stroke-width=\&quot;6\&quot;/&gt;\n&lt;path d=\&quot;M0,0 L60,30 M60,0 L0,30\&quot; clip-path=\&quot;url(#t)\&quot; stroke=\&quot;#cf142b\&quot; stroke-width=\&quot;4\&quot;/&gt;\n&lt;path d=\&quot;M30,0 v30 M0,15 h60\&quot; stroke=\&quot;#fff\&quot; stroke-width=\&quot;10\&quot;/&gt;\n&lt;path d=\&quot;M30,0 v30 M0,15 h60\&quot; stroke=\&quot;#cf142b\&quot; stroke-width=\&quot;6\&quot;/&gt;\n&lt;/svg&gt;\n&quot;
},
&quot;$:/languages/en-GB&quot;: {
&quot;title&quot;: &quot;$:/languages/en-GB&quot;,
&quot;name&quot;: &quot;en-GB&quot;,
&quot;description&quot;: &quot;English (British)&quot;,
&quot;author&quot;: &quot;JeremyRuston&quot;,
&quot;core-version&quot;: &quot;&gt;=5.0.0\&quot;&quot;,
&quot;text&quot;: &quot;Stub pseudo-plugin for the default language&quot;
},
&quot;$:/core/modules/commander.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/commander.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/commander.js\ntype: application/javascript\nmodule-type: global\n\nThe $tw.Commander class is a command interpreter\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nParse a sequence of commands\n\tcommandTokens: an array of command string tokens\n\twiki: reference to the wiki store object\n\tstreams: {output:, error:}, each of which has a write(string) method\n\tcallback: a callback invoked as callback(err) where err is null if there was no error\n*/\nvar Commander = function(commandTokens,callback,wiki,streams) {\n\tvar path = require(\&quot;path\&quot;);\n\tthis.commandTokens = commandTokens;\n\tthis.nextToken = 0;\n\tthis.callback = callback;\n\tthis.wiki = wiki;\n\tthis.streams = streams;\n\tthis.outputPath = path.resolve($tw.boot.wikiPath,$tw.config.wikiOutputSubDir);\n};\n\n/*\nLog a string if verbose flag is set\n*/\nCommander.prototype.log = function(str) {\n\tif(this.verbose) {\n\t\tthis.streams.output.write(str + \&quot;\\n\&quot;);\n\t}\n};\n\n/*\nWrite a string if verbose flag is set\n*/\nCommander.prototype.write = function(str) {\n\tif(this.verbose) {\n\t\tthis.streams.output.write(str);\n\t}\n};\n\n/*\nAdd a string of tokens to the command queue\n*/\nCommander.prototype.addCommandTokens = function(commandTokens) {\n\tvar params = commandTokens.slice(0);\n\tparams.unshift(0);\n\tparams.unshift(this.nextToken);\n\tArray.prototype.splice.apply(this.commandTokens,params);\n};\n\n/*\nExecute the sequence of commands and invoke a callback on completion\n*/\nCommander.prototype.execute = function() {\n\tthis.executeNextCommand();\n};\n\n/*\nExecute the next command in the sequence\n*/\nCommander.prototype.executeNextCommand = function() {\n\tvar self = this;\n\t// Invoke the callback if there are no more commands\n\tif(this.nextToken &gt;= this.commandTokens.length) {\n\t\tthis.callback(null);\n\t} else {\n\t\t// Get and check the command token\n\t\tvar commandName = this.commandTokens[this.nextToken++];\n\t\tif(commandName.substr(0,2) !== \&quot;--\&quot;) {\n\t\t\tthis.callback(\&quot;Missing command: \&quot; + commandName);\n\t\t} else {\n\t\t\tcommandName = commandName.substr(2); // Trim off the --\n\t\t\t// Accumulate the parameters to the command\n\t\t\tvar params = [];\n\t\t\twhile(this.nextToken &lt; this.commandTokens.length &amp;&amp; \n\t\t\t\tthis.commandTokens[this.nextToken].substr(0,2) !== \&quot;--\&quot;) {\n\t\t\t\tparams.push(this.commandTokens[this.nextToken++]);\n\t\t\t}\n\t\t\t// Get the command info\n\t\t\tvar command = $tw.commands[commandName],\n\t\t\t\tc,err;\n\t\t\tif(!command) {\n\t\t\t\tthis.callback(\&quot;Unknown command: \&quot; + commandName);\n\t\t\t} else {\n\t\t\t\tif(this.verbose) {\n\t\t\t\t\tthis.streams.output.write(\&quot;Executing command: \&quot; + commandName + \&quot; \&quot; + params.join(\&quot; \&quot;) + \&quot;\\n\&quot;);\n\t\t\t\t}\n\t\t\t\t// Parse named parameters if required\n\t\t\t\tif(command.info.namedParameterMode) {\n\t\t\t\t\tparams = this.extractNamedParameters(params,command.info.mandatoryParameters);\n\t\t\t\t\tif(typeof params === \&quot;string\&quot;) {\n\t\t\t\t\t\treturn this.callback(params);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif(command.info.synchronous) {\n\t\t\t\t\t// Synchronous command\n\t\t\t\t\tc = new command.Command(params,this);\n\t\t\t\t\terr = c.execute();\n\t\t\t\t\tif(err) {\n\t\t\t\t\t\tthis.callback(err);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.executeNextCommand();\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\t// Asynchronous command\n\t\t\t\t\tc = new command.Command(params,this,function(err) {\n\t\t\t\t\t\tif(err) {\n\t\t\t\t\t\t\tself.callback(err);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tself.executeNextCommand();\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t\terr = c.execute();\n\t\t\t\t\tif(err) {\n\t\t\t\t\t\tthis.callback(err);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n};\n\n/*\nGiven an array of parameter strings `params` in name:value format, and an array of mandatory parameter names in `mandator
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;global&quot;
},
&quot;$:/core/modules/commands/build.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/commands/build.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/commands/build.js\ntype: application/javascript\nmodule-type: command\n\nCommand to build a build target\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.info = {\n\tname: \&quot;build\&quot;,\n\tsynchronous: true\n};\n\nvar Command = function(params,commander) {\n\tthis.params = params;\n\tthis.commander = commander;\n};\n\nCommand.prototype.execute = function() {\n\t// Get the build targets defined in the wiki\n\tvar buildTargets = $tw.boot.wikiInfo.build;\n\tif(!buildTargets) {\n\t\treturn \&quot;No build targets defined\&quot;;\n\t}\n\t// Loop through each of the specified targets\n\tvar targets;\n\tif(this.params.length &gt; 0) {\n\t\ttargets = this.params;\n\t} else {\n\t\ttargets = Object.keys(buildTargets);\n\t}\n\tfor(var targetIndex=0; targetIndex&lt;targets.length; targetIndex++) {\n\t\tvar target = targets[targetIndex],\n\t\t\tcommands = buildTargets[target];\n\t\tif(!commands) {\n\t\t\treturn \&quot;Build target '\&quot; + target + \&quot;' not found\&quot;;\n\t\t}\n\t\t// Add the commands to the queue\n\t\tthis.commander.addCommandTokens(commands);\n\t}\n\treturn null;\n};\n\nexports.Command = Command;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;command&quot;
},
&quot;$:/core/modules/commands/clearpassword.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/commands/clearpassword.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/commands/clearpassword.js\ntype: application/javascript\nmodule-type: command\n\nClear password for crypto operations\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.info = {\n\tname: \&quot;clearpassword\&quot;,\n\tsynchronous: true\n};\n\nvar Command = function(params,commander,callback) {\n\tthis.params = params;\n\tthis.commander = commander;\n\tthis.callback = callback;\n};\n\nCommand.prototype.execute = function() {\n\t$tw.crypto.setPassword(null);\n\treturn null;\n};\n\nexports.Command = Command;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;command&quot;
},
&quot;$:/core/modules/commands/deletetiddlers.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/commands/deletetiddlers.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/commands/deletetiddlers.js\ntype: application/javascript\nmodule-type: command\n\nCommand to delete tiddlers\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.info = {\n\tname: \&quot;deletetiddlers\&quot;,\n\tsynchronous: true\n};\n\nvar Command = function(params,commander,callback) {\n\tthis.params = params;\n\tthis.commander = commander;\n\tthis.callback = callback;\n};\n\nCommand.prototype.execute = function() {\n\tif(this.params.length &lt; 1) {\n\t\treturn \&quot;Missing filter\&quot;;\n\t}\n\tvar self = this,\n\t\twiki = this.commander.wiki,\n\t\tfilter = this.params[0],\n\t\ttiddlers = wiki.filterTiddlers(filter);\n\t$tw.utils.each(tiddlers,function(title) {\n\t\twiki.deleteTiddler(title);\n\t});\n\treturn null;\n};\n\nexports.Command = Command;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;command&quot;
},
&quot;$:/core/modules/commands/editions.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/commands/editions.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/commands/editions.js\ntype: application/javascript\nmodule-type: command\n\nCommand to list the available editions\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.info = {\n\tname: \&quot;editions\&quot;,\n\tsynchronous: true\n};\n\nvar Command = function(params,commander) {\n\tthis.params = params;\n\tthis.commander = commander;\n};\n\nCommand.prototype.execute = function() {\n\tvar self = this;\n\t// Output the list\n\tthis.commander.streams.output.write(\&quot;Available editions:\\n\\n\&quot;);\n\tvar editionInfo = $tw.utils.getEditionInfo();\n\t$tw.utils.each(editionInfo,function(info,name) {\n\t\tself.commander.streams.output.write(\&quot; \&quot; + name + \&quot;: \&quot; + info.description + \&quot;\\n\&quot;);\n\t});\n\tthis.commander.streams.output.write(\&quot;\\n\&quot;);\n\treturn null;\n};\n\nexports.Command = Command;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;command&quot;
},
&quot;$:/core/modules/commands/fetch.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/commands/fetch.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/commands/fetch.js\ntype: application/javascript\nmodule-type: command\n\nCommands to fetch external tiddlers\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.info = {\n\tname: \&quot;fetch\&quot;,\n\tsynchronous: false\n};\n\nvar Command = function(params,commander,callback) {\n\tthis.params = params;\n\tthis.commander = commander;\n\tthis.callback = callback;\n};\n\nCommand.prototype.execute = function() {\n\tif(this.params.length &lt; 2) {\n\t\treturn \&quot;Missing subcommand and url\&quot;;\n\t}\n\tswitch(this.params[0]) {\n\t\tcase \&quot;raw-file\&quot;:\n\t\t\treturn this.fetchFiles({\n\t\t\t\traw: true,\n\t\t\t\turl: this.params[1],\n\t\t\t\ttransformFilter: this.params[2] || \&quot;\&quot;,\n\t\t\t\tcallback: this.callback\n\t\t\t});\n\t\t\tbreak;\n\t\tcase \&quot;file\&quot;:\n\t\t\treturn this.fetchFiles({\n\t\t\t\turl: this.params[1],\n\t\t\t\timportFilter: this.params[2],\n\t\t\t\ttransformFilter: this.params[3] || \&quot;\&quot;,\n\t\t\t\tcallback: this.callback\n\t\t\t});\n\t\t\tbreak;\n\t\tcase \&quot;raw-files\&quot;:\n\t\t\treturn this.fetchFiles({\n\t\t\t\traw: true,\n\t\t\t\turlFilter: this.params[1],\n\t\t\t\ttransformFilter: this.params[2] || \&quot;\&quot;,\n\t\t\t\tcallback: this.callback\n\t\t\t});\n\t\t\tbreak;\n\t\tcase \&quot;files\&quot;:\n\t\t\treturn this.fetchFiles({\n\t\t\t\turlFilter: this.params[1],\n\t\t\t\timportFilter: this.params[2],\n\t\t\t\ttransformFilter: this.params[3] || \&quot;\&quot;,\n\t\t\t\tcallback: this.callback\n\t\t\t});\n\t\t\tbreak;\n\t}\n\treturn null;\n};\n\nCommand.prototype.fetchFiles = function(options) {\n\tvar self = this;\n\t// Get the list of URLs\n\tvar urls;\n\tif(options.url) {\n\t\turls = [options.url]\n\t} else if(options.urlFilter) {\n\t\turls = this.commander.wiki.filterTiddlers(options.urlFilter);\n\t} else {\n\t\treturn \&quot;Missing URL\&quot;;\n\t}\n\t// Process each URL in turn\n\tvar next = 0;\n\tvar getNextFile = function(err) {\n\t\tif(err) {\n\t\t\treturn options.callback(err);\n\t\t}\n\t\tif(next &lt; urls.length) {\n\t\t\tself.fetchFile(urls[next++],options,getNextFile);\n\t\t} else {\n\t\t\toptions.callback(null);\n\t\t}\n\t};\n\tgetNextFile(null);\n\t// Success\n\treturn null;\n};\n\nCommand.prototype.fetchFile = function(url,options,callback,redirectCount) {\n\tif(redirectCount &gt; 10) {\n\t\treturn callback(\&quot;Error too many redirects retrieving \&quot; + url);\n\t}\n\tvar self = this,\n\t\tlib = url.substr(0,8) === \&quot;https://\&quot; ? require(\&quot;https\&quot;) : require(\&quot;http\&quot;);\n\tlib.get(url).on(\&quot;response\&quot;,function(response) {\n\t var type = (response.headers[\&quot;content-type\&quot;] || \&quot;\&quot;).split(\&quot;;\&quot;)[0],\n\t \tdata = [];\n\t self.commander.write(\&quot;Reading \&quot; + url + \&quot;: \&quot;);\n\t response.on(\&quot;data\&quot;,function(chunk) {\n\t data.push(chunk);\n\t self.commander.write(\&quot;.\&quot;);\n\t });\n\t response.on(\&quot;end\&quot;,function() {\n\t self.commander.write(\&quot;\\n\&quot;);\n\t if(response.statusCode === 200) {\n\t\t self.processBody(Buffer.concat(data),type,options,url);\n\t\t callback(null);\n\t } else {\n\t \tif(response.statusCode === 302 || response.statusCode === 303 || response.statusCode === 307) {\n\t \t\treturn self.fetchFile(response.headers.location,options,callback,redirectCount + 1);\n\t \t} else {\n\t\t \treturn callback(\&quot;Error \&quot; + response.statusCode + \&quot; retrieving \&quot; + url)\t \t\t\n\t \t}\n\t }\n\t \t});\n\t \tresponse.on(\&quot;error\&quot;,function(e) {\n\t\t\tconsole.log(\&quot;Error on GET request: \&quot; + e);\n\t\t\tcallback(e);\n\t \t});\n\t});\n\treturn null;\n};\n\nCommand.prototype.processBody = function(body,type,options,url) {\n\tvar self = this;\n\t// Collect the tiddlers in a wiki\n\tvar incomingWiki = new $tw.Wiki();\n\
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;command&quot;
},
&quot;$:/core/modules/commands/help.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/commands/help.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/commands/help.js\ntype: application/javascript\nmodule-type: command\n\nHelp command\n\n\\*/\n(function(){\n\n/*jshint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.info = {\n\tname: \&quot;help\&quot;,\n\tsynchronous: true\n};\n\nvar Command = function(params,commander) {\n\tthis.params = params;\n\tthis.commander = commander;\n};\n\nCommand.prototype.execute = function() {\n\tvar subhelp = this.params[0] || \&quot;default\&quot;,\n\t\thelpBase = \&quot;$:/language/Help/\&quot;,\n\t\ttext;\n\tif(!this.commander.wiki.getTiddler(helpBase + subhelp)) {\n\t\tsubhelp = \&quot;notfound\&quot;;\n\t}\n\t// Wikify the help as formatted text (ie block elements generate newlines)\n\ttext = this.commander.wiki.renderTiddler(\&quot;text/plain-formatted\&quot;,helpBase + subhelp);\n\t// Remove any leading linebreaks\n\ttext = text.replace(/^(\\r?\\n)*/g,\&quot;\&quot;);\n\tthis.commander.streams.output.write(text);\n};\n\nexports.Command = Command;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;command&quot;
},
&quot;$:/core/modules/commands/import.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/commands/import.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/commands/import.js\ntype: application/javascript\nmodule-type: command\n\nCommand to import tiddlers from a file\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.info = {\n\tname: \&quot;import\&quot;,\n\tsynchronous: true\n};\n\nvar Command = function(params,commander,callback) {\n\tthis.params = params;\n\tthis.commander = commander;\n\tthis.callback = callback;\n};\n\nCommand.prototype.execute = function() {\n\tvar self = this,\n\t\tfs = require(\&quot;fs\&quot;),\n\t\tpath = require(\&quot;path\&quot;);\n\tif(this.params.length &lt; 2) {\n\t\treturn \&quot;Missing parameters\&quot;;\n\t}\n\tvar filename = self.params[0],\n\t\tdeserializer = self.params[1],\n\t\ttitle = self.params[2] || filename,\n\t\tencoding = self.params[3] || \&quot;utf8\&quot;,\n\t\ttext = fs.readFileSync(filename,encoding),\n\t\ttiddlers = this.commander.wiki.deserializeTiddlers(null,text,{title: title},{deserializer: deserializer});\n\t$tw.utils.each(tiddlers,function(tiddler) {\n\t\tself.commander.wiki.importTiddler(new $tw.Tiddler(tiddler));\n\t});\n\tthis.commander.log(tiddlers.length + \&quot; tiddler(s) imported\&quot;);\n\treturn null;\n};\n\nexports.Command = Command;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;command&quot;
},
&quot;$:/core/modules/commands/init.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/commands/init.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/commands/init.js\ntype: application/javascript\nmodule-type: command\n\nCommand to initialise an empty wiki folder\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.info = {\n\tname: \&quot;init\&quot;,\n\tsynchronous: true\n};\n\nvar Command = function(params,commander) {\n\tthis.params = params;\n\tthis.commander = commander;\n};\n\nCommand.prototype.execute = function() {\n\tvar fs = require(\&quot;fs\&quot;),\n\t\tpath = require(\&quot;path\&quot;);\n\t// Check that we don't already have a valid wiki folder\n\tif($tw.boot.wikiTiddlersPath || ($tw.utils.isDirectory($tw.boot.wikiPath) &amp;&amp; !$tw.utils.isDirectoryEmpty($tw.boot.wikiPath))) {\n\t\treturn \&quot;Wiki folder is not empty\&quot;;\n\t}\n\t// Loop through each of the specified editions\n\tvar editions = this.params.length &gt; 0 ? this.params : [\&quot;empty\&quot;];\n\tfor(var editionIndex=0; editionIndex&lt;editions.length; editionIndex++) {\n\t\tvar editionName = editions[editionIndex];\n\t\t// Check the edition exists\n\t\tvar editionPath = $tw.findLibraryItem(editionName,$tw.getLibraryItemSearchPaths($tw.config.editionsPath,$tw.config.editionsEnvVar));\n\t\tif(!$tw.utils.isDirectory(editionPath)) {\n\t\t\treturn \&quot;Edition '\&quot; + editionName + \&quot;' not found\&quot;;\n\t\t}\n\t\t// Copy the edition content\n\t\tvar err = $tw.utils.copyDirectory(editionPath,$tw.boot.wikiPath);\n\t\tif(!err) {\n\t\t\tthis.commander.streams.output.write(\&quot;Copied edition '\&quot; + editionName + \&quot;' to \&quot; + $tw.boot.wikiPath + \&quot;\\n\&quot;);\n\t\t} else {\n\t\t\treturn err;\n\t\t}\n\t}\n\t// Tweak the tiddlywiki.info to remove any included wikis\n\tvar packagePath = $tw.boot.wikiPath + \&quot;/tiddlywiki.info\&quot;,\n\t\tpackageJson = JSON.parse(fs.readFileSync(packagePath));\n\tdelete packageJson.includeWikis;\n\tfs.writeFileSync(packagePath,JSON.stringify(packageJson,null,$tw.config.preferences.jsonSpaces));\n\treturn null;\n};\n\nexports.Command = Command;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;command&quot;
},
&quot;$:/core/modules/commands/listen.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/commands/listen.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/commands/listen.js\ntype: application/javascript\nmodule-type: command\n\nListen for HTTP requests and serve tiddlers\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Server = require(\&quot;$:/core/modules/server/server.js\&quot;).Server;\n\nexports.info = {\n\tname: \&quot;listen\&quot;,\n\tsynchronous: true,\n\tnamedParameterMode: true,\n\tmandatoryParameters: [],\n};\n\nvar Command = function(params,commander,callback) {\n\tvar self = this;\n\tthis.params = params;\n\tthis.commander = commander;\n\tthis.callback = callback;\n};\n\nCommand.prototype.execute = function() {\n\tvar self = this;\n\tif(!$tw.boot.wikiTiddlersPath) {\n\t\t$tw.utils.warning(\&quot;Warning: Wiki folder '\&quot; + $tw.boot.wikiPath + \&quot;' does not exist or is missing a tiddlywiki.info file\&quot;);\n\t}\n\t// Set up server\n\tthis.server = new Server({\n\t\twiki: this.commander.wiki,\n\t\tvariables: self.params\n\t});\n\tvar nodeServer = this.server.listen();\n\t$tw.hooks.invokeHook(\&quot;th-server-command-post-start\&quot;,this.server,nodeServer,\&quot;tiddlywiki\&quot;);\n\treturn null;\n};\n\nexports.Command = Command;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;command&quot;
},
&quot;$:/core/modules/commands/load.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/commands/load.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/commands/load.js\ntype: application/javascript\nmodule-type: command\n\nCommand to load tiddlers from a file or directory\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.info = {\n\tname: \&quot;load\&quot;,\n\tsynchronous: false\n};\n\nvar Command = function(params,commander,callback) {\n\tthis.params = params;\n\tthis.commander = commander;\n\tthis.callback = callback;\n};\n\nCommand.prototype.execute = function() {\n\tvar self = this,\n\t\tfs = require(\&quot;fs\&quot;),\n\t\tpath = require(\&quot;path\&quot;);\n\tif(this.params.length &lt; 1) {\n\t\treturn \&quot;Missing filename\&quot;;\n\t}\n\tvar tiddlers = $tw.loadTiddlersFromPath(self.params[0]),\n\t\tcount = 0;\n\t$tw.utils.each(tiddlers,function(tiddlerInfo) {\n\t\t$tw.utils.each(tiddlerInfo.tiddlers,function(tiddler) {\n\t\t\tself.commander.wiki.importTiddler(new $tw.Tiddler(tiddler));\n\t\t\tcount++;\n\t\t});\n\t});\n\tif(!count &amp;&amp; self.params[1] !== \&quot;noerror\&quot;) {\n\t\tself.callback(\&quot;No tiddlers found in file \\\&quot;\&quot; + self.params[0] + \&quot;\\\&quot;\&quot;);\n\t} else {\n\t\tself.callback(null);\n\t}\n\treturn null;\n};\n\nexports.Command = Command;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;command&quot;
},
&quot;$:/core/modules/commands/makelibrary.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/commands/makelibrary.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/commands/makelibrary.js\ntype: application/javascript\nmodule-type: command\n\nCommand to pack all of the plugins in the library into a plugin tiddler of type \&quot;library\&quot;\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.info = {\n\tname: \&quot;makelibrary\&quot;,\n\tsynchronous: true\n};\n\nvar UPGRADE_LIBRARY_TITLE = \&quot;$:/UpgradeLibrary\&quot;;\n\nvar Command = function(params,commander,callback) {\n\tthis.params = params;\n\tthis.commander = commander;\n\tthis.callback = callback;\n};\n\nCommand.prototype.execute = function() {\n\tvar wiki = this.commander.wiki,\n\t\tfs = require(\&quot;fs\&quot;),\n\t\tpath = require(\&quot;path\&quot;),\n\t\tupgradeLibraryTitle = this.params[0] || UPGRADE_LIBRARY_TITLE,\n\t\ttiddlers = {};\n\t// Collect up the library plugins\n\tvar collectPlugins = function(folder) {\n\t\t\tvar pluginFolders = $tw.utils.getSubdirectories(folder) || [];\n\t\t\tfor(var p=0; p&lt;pluginFolders.length; p++) {\n\t\t\t\tif(!$tw.boot.excludeRegExp.test(pluginFolders[p])) {\n\t\t\t\t\tpluginFields = $tw.loadPluginFolder(path.resolve(folder,\&quot;./\&quot; + pluginFolders[p]));\n\t\t\t\t\tif(pluginFields &amp;&amp; pluginFields.title) {\n\t\t\t\t\t\ttiddlers[pluginFields.title] = pluginFields;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\tcollectPublisherPlugins = function(folder) {\n\t\t\tvar publisherFolders = $tw.utils.getSubdirectories(folder) || [];\n\t\t\tfor(var t=0; t&lt;publisherFolders.length; t++) {\n\t\t\t\tif(!$tw.boot.excludeRegExp.test(publisherFolders[t])) {\n\t\t\t\t\tcollectPlugins(path.resolve(folder,\&quot;./\&quot; + publisherFolders[t]));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t$tw.utils.each($tw.getLibraryItemSearchPaths($tw.config.pluginsPath,$tw.config.pluginsEnvVar),collectPublisherPlugins);\n\t$tw.utils.each($tw.getLibraryItemSearchPaths($tw.config.themesPath,$tw.config.themesEnvVar),collectPublisherPlugins);\n\t$tw.utils.each($tw.getLibraryItemSearchPaths($tw.config.languagesPath,$tw.config.languagesEnvVar),collectPlugins);\n\t// Save the upgrade library tiddler\n\tvar pluginFields = {\n\t\ttitle: upgradeLibraryTitle,\n\t\ttype: \&quot;application/json\&quot;,\n\t\t\&quot;plugin-type\&quot;: \&quot;library\&quot;,\n\t\t\&quot;text\&quot;: JSON.stringify({tiddlers: tiddlers})\n\t};\n\twiki.addTiddler(new $tw.Tiddler(pluginFields));\n\treturn null;\n};\n\nexports.Command = Command;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;command&quot;
},
&quot;$:/core/modules/commands/output.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/commands/output.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/commands/output.js\ntype: application/javascript\nmodule-type: command\n\nCommand to set the default output location (defaults to current working directory)\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.info = {\n\tname: \&quot;output\&quot;,\n\tsynchronous: true\n};\n\nvar Command = function(params,commander,callback) {\n\tthis.params = params;\n\tthis.commander = commander;\n\tthis.callback = callback;\n};\n\nCommand.prototype.execute = function() {\n\tvar fs = require(\&quot;fs\&quot;),\n\t\tpath = require(\&quot;path\&quot;);\n\tif(this.params.length &lt; 1) {\n\t\treturn \&quot;Missing output path\&quot;;\n\t}\n\tthis.commander.outputPath = path.resolve(process.cwd(),this.params[0]);\n\treturn null;\n};\n\nexports.Command = Command;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;command&quot;
},
&quot;$:/core/modules/commands/password.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/commands/password.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/commands/password.js\ntype: application/javascript\nmodule-type: command\n\nSave password for crypto operations\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.info = {\n\tname: \&quot;password\&quot;,\n\tsynchronous: true\n};\n\nvar Command = function(params,commander,callback) {\n\tthis.params = params;\n\tthis.commander = commander;\n\tthis.callback = callback;\n};\n\nCommand.prototype.execute = function() {\n\tif(this.params.length &lt; 1) {\n\t\treturn \&quot;Missing password\&quot;;\n\t}\n\t$tw.crypto.setPassword(this.params[0]);\n\treturn null;\n};\n\nexports.Command = Command;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;command&quot;
},
&quot;$:/core/modules/commands/render.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/commands/render.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/commands/render.js\ntype: application/javascript\nmodule-type: command\n\nRender individual tiddlers and save the results to the specified files\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;);\n\nexports.info = {\n\tname: \&quot;render\&quot;,\n\tsynchronous: true\n};\n\nvar Command = function(params,commander,callback) {\n\tthis.params = params;\n\tthis.commander = commander;\n\tthis.callback = callback;\n};\n\nCommand.prototype.execute = function() {\n\tif(this.params.length &lt; 1) {\n\t\treturn \&quot;Missing tiddler filter\&quot;;\n\t}\n\tvar self = this,\n\t\tfs = require(\&quot;fs\&quot;),\n\t\tpath = require(\&quot;path\&quot;),\n\t\twiki = this.commander.wiki,\n\t\ttiddlerFilter = this.params[0],\n\t\tfilenameFilter = this.params[1] || \&quot;[is[tiddler]addsuffix[.html]]\&quot;,\n\t\ttype = this.params[2] || \&quot;text/html\&quot;,\n\t\ttemplate = this.params[3],\n\t\tvarName = this.params[4],\n\t\tvarValue = this.params[5],\n\t\ttiddlers = wiki.filterTiddlers(tiddlerFilter);\n\t$tw.utils.each(tiddlers,function(title) {\n\t\tvar parser = wiki.parseTiddler(template || title),\n\t\t\tvariables = {currentTiddler: title};\n\t\tif(varName) {\n\t\t\tvariables[varName] = varValue || \&quot;\&quot;;\n\t\t}\n\t\tvar widgetNode = wiki.makeWidget(parser,{variables: variables}),\n\t\t\tcontainer = $tw.fakeDocument.createElement(\&quot;div\&quot;);\n\t\twidgetNode.render(container,null);\n\t\tvar text = type === \&quot;text/html\&quot; ? container.innerHTML : container.textContent,\n\t\t\tfilepath = path.resolve(self.commander.outputPath,wiki.filterTiddlers(filenameFilter,$tw.rootWidget,wiki.makeTiddlerIterator([title]))[0]);\n\t\tif(self.commander.verbose) {\n\t\t\tconsole.log(\&quot;Rendering \\\&quot;\&quot; + title + \&quot;\\\&quot; to \\\&quot;\&quot; + filepath + \&quot;\\\&quot;\&quot;);\n\t\t}\n\t\t$tw.utils.createFileDirectories(filepath);\n\t\tfs.writeFileSync(filepath,text,\&quot;utf8\&quot;);\n\t});\n\treturn null;\n};\n\nexports.Command = Command;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;command&quot;
},
&quot;$:/core/modules/commands/rendertiddler.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/commands/rendertiddler.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/commands/rendertiddler.js\ntype: application/javascript\nmodule-type: command\n\nCommand to render a tiddler and save it to a file\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.info = {\n\tname: \&quot;rendertiddler\&quot;,\n\tsynchronous: false\n};\n\nvar Command = function(params,commander,callback) {\n\tthis.params = params;\n\tthis.commander = commander;\n\tthis.callback = callback;\n};\n\nCommand.prototype.execute = function() {\n\tif(this.params.length &lt; 2) {\n\t\treturn \&quot;Missing filename\&quot;;\n\t}\n\tvar self = this,\n\t\tfs = require(\&quot;fs\&quot;),\n\t\tpath = require(\&quot;path\&quot;),\n\t\ttitle = this.params[0],\n\t\tfilename = path.resolve(this.commander.outputPath,this.params[1]),\n\t\ttype = this.params[2] || \&quot;text/html\&quot;,\n\t\ttemplate = this.params[3],\n\t\tname = this.params[4],\n\t\tvalue = this.params[5],\n\t\tvariables = {};\n\t$tw.utils.createFileDirectories(filename);\n\tif(template) {\n\t\tvariables.currentTiddler = title;\n\t\ttitle = template;\n\t}\n\tif(name &amp;&amp; value) {\n\t\tvariables[name] = value;\n\t}\n\tfs.writeFile(filename,this.commander.wiki.renderTiddler(type,title,{variables: variables}),\&quot;utf8\&quot;,function(err) {\n\t\tself.callback(err);\n\t});\n\treturn null;\n};\n\nexports.Command = Command;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;command&quot;
},
&quot;$:/core/modules/commands/rendertiddlers.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/commands/rendertiddlers.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/commands/rendertiddlers.js\ntype: application/javascript\nmodule-type: command\n\nCommand to render several tiddlers to a folder of files\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;);\n\nexports.info = {\n\tname: \&quot;rendertiddlers\&quot;,\n\tsynchronous: true\n};\n\nvar Command = function(params,commander,callback) {\n\tthis.params = params;\n\tthis.commander = commander;\n\tthis.callback = callback;\n};\n\nCommand.prototype.execute = function() {\n\tif(this.params.length &lt; 2) {\n\t\treturn \&quot;Missing filename\&quot;;\n\t}\n\tvar self = this,\n\t\tfs = require(\&quot;fs\&quot;),\n\t\tpath = require(\&quot;path\&quot;),\n\t\twiki = this.commander.wiki,\n\t\tfilter = this.params[0],\n\t\ttemplate = this.params[1],\n\t\toutputPath = this.commander.outputPath,\n\t\tpathname = path.resolve(outputPath,this.params[2]),\t\t\n\t\ttype = this.params[3] || \&quot;text/html\&quot;,\n\t\textension = this.params[4] || \&quot;.html\&quot;,\n\t\tdeleteDirectory = (this.params[5] || \&quot;\&quot;).toLowerCase() !== \&quot;noclean\&quot;,\n\t\ttiddlers = wiki.filterTiddlers(filter);\n\tif(deleteDirectory) {\n\t\t$tw.utils.deleteDirectory(pathname);\n\t}\n\t$tw.utils.each(tiddlers,function(title) {\n\t\tvar parser = wiki.parseTiddler(template),\n\t\t\twidgetNode = wiki.makeWidget(parser,{variables: {currentTiddler: title}}),\n\t\t\tcontainer = $tw.fakeDocument.createElement(\&quot;div\&quot;);\n\t\twidgetNode.render(container,null);\n\t\tvar text = type === \&quot;text/html\&quot; ? container.innerHTML : container.textContent,\n\t\t\texportPath = null;\n\t\tif($tw.utils.hop($tw.macros,\&quot;tv-get-export-path\&quot;)) {\n\t\t\tvar macroPath = $tw.macros[\&quot;tv-get-export-path\&quot;].run.apply(self,[title]);\n\t\t\tif(macroPath) {\n\t\t\t\texportPath = path.resolve(outputPath,macroPath + extension);\n\t\t\t}\n\t\t}\n\t\tvar finalPath = exportPath || path.resolve(pathname,encodeURIComponent(title) + extension);\n\t\t$tw.utils.createFileDirectories(finalPath);\n\t\tfs.writeFileSync(finalPath,text,\&quot;utf8\&quot;);\n\t});\n\treturn null;\n};\n\nexports.Command = Command;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;command&quot;
},
&quot;$:/core/modules/commands/save.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/commands/save.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/commands/save.js\ntype: application/javascript\nmodule-type: command\n\nSaves individual tiddlers in their raw text or binary format to the specified files\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.info = {\n\tname: \&quot;save\&quot;,\n\tsynchronous: true\n};\n\nvar Command = function(params,commander,callback) {\n\tthis.params = params;\n\tthis.commander = commander;\n\tthis.callback = callback;\n};\n\nCommand.prototype.execute = function() {\n\tif(this.params.length &lt; 1) {\n\t\treturn \&quot;Missing filename filter\&quot;;\n\t}\n\tvar self = this,\n\t\tfs = require(\&quot;fs\&quot;),\n\t\tpath = require(\&quot;path\&quot;),\n\t\twiki = this.commander.wiki,\n\t\ttiddlerFilter = this.params[0],\n\t\tfilenameFilter = this.params[1] || \&quot;[is[tiddler]]\&quot;,\n\t\ttiddlers = wiki.filterTiddlers(tiddlerFilter);\n\t$tw.utils.each(tiddlers,function(title) {\n\t\tvar tiddler = self.commander.wiki.getTiddler(title),\n\t\t\ttype = tiddler.fields.type || \&quot;text/vnd.tiddlywiki\&quot;,\n\t\t\tcontentTypeInfo = $tw.config.contentTypeInfo[type] || {encoding: \&quot;utf8\&quot;},\n\t\t\tfilepath = path.resolve(self.commander.outputPath,wiki.filterTiddlers(filenameFilter,$tw.rootWidget,wiki.makeTiddlerIterator([title]))[0]);\n\t\tif(self.commander.verbose) {\n\t\t\tconsole.log(\&quot;Saving \\\&quot;\&quot; + title + \&quot;\\\&quot; to \\\&quot;\&quot; + filepath + \&quot;\\\&quot;\&quot;);\n\t\t}\n\t\t$tw.utils.createFileDirectories(filepath);\n\t\tfs.writeFileSync(filepath,tiddler.fields.text,contentTypeInfo.encoding);\n\t});\n\treturn null;\n};\n\nexports.Command = Command;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;command&quot;
},
&quot;$:/core/modules/commands/savelibrarytiddlers.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/commands/savelibrarytiddlers.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/commands/savelibrarytiddlers.js\ntype: application/javascript\nmodule-type: command\n\nCommand to save the subtiddlers of a bundle tiddler as a series of JSON files\n\n--savelibrarytiddlers &lt;tiddler&gt; &lt;tiddler-filter&gt; &lt;pathname&gt; &lt;skinnylisting&gt;\n\nThe tiddler identifies the bundle tiddler that contains the subtiddlers.\n\nThe tiddler filter specifies the plugins to be included.\n\nThe pathname specifies the pathname to the folder in which the JSON files should be saved. The filename is the URL encoded title of the subtiddler.\n\nThe skinnylisting specifies the title of the tiddler to which a JSON catalogue of the subtiddlers will be saved. The JSON file contains the same data as the bundle tiddler but with the `text` field removed.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.info = {\n\tname: \&quot;savelibrarytiddlers\&quot;,\n\tsynchronous: true\n};\n\nvar Command = function(params,commander,callback) {\n\tthis.params = params;\n\tthis.commander = commander;\n\tthis.callback = callback;\n};\n\nCommand.prototype.execute = function() {\n\tif(this.params.length &lt; 2) {\n\t\treturn \&quot;Missing filename\&quot;;\n\t}\n\tvar self = this,\n\t\tfs = require(\&quot;fs\&quot;),\n\t\tpath = require(\&quot;path\&quot;),\n\t\tcontainerTitle = this.params[0],\n\t\tfilter = this.params[1],\n\t\tbasepath = this.params[2],\n\t\tskinnyListTitle = this.params[3];\n\t// Get the container tiddler as data\n\tvar containerData = self.commander.wiki.getTiddlerDataCached(containerTitle,undefined);\n\tif(!containerData) {\n\t\treturn \&quot;'\&quot; + containerTitle + \&quot;' is not a tiddler bundle\&quot;;\n\t}\n\t// Filter the list of plugins\n\tvar pluginList = [];\n\t$tw.utils.each(containerData.tiddlers,function(tiddler,title) {\n\t\tpluginList.push(title);\n\t});\n\tvar filteredPluginList;\n\tif(filter) {\n\t\tfilteredPluginList = self.commander.wiki.filterTiddlers(filter,null,self.commander.wiki.makeTiddlerIterator(pluginList));\n\t} else {\n\t\tfilteredPluginList = pluginList;\n\t}\n\t// Iterate through the plugins\n\tvar skinnyList = [];\n\t$tw.utils.each(filteredPluginList,function(title) {\n\t\tvar tiddler = containerData.tiddlers[title];\n\t\t// Save each JSON file and collect the skinny data\n\t\tvar pathname = path.resolve(self.commander.outputPath,basepath + encodeURIComponent(title) + \&quot;.json\&quot;);\n\t\t$tw.utils.createFileDirectories(pathname);\n\t\tfs.writeFileSync(pathname,JSON.stringify(tiddler),\&quot;utf8\&quot;);\n\t\t// Collect the skinny list data\n\t\tvar pluginTiddlers = JSON.parse(tiddler.text),\n\t\t\treadmeContent = (pluginTiddlers.tiddlers[title + \&quot;/readme\&quot;] || {}).text,\n\t\t\tdoesRequireReload = !!self.commander.wiki.doesPluginInfoRequireReload(pluginTiddlers),\n\t\t\ticonTiddler = pluginTiddlers.tiddlers[title + \&quot;/icon\&quot;] || {},\n\t\t\ticonType = iconTiddler.type,\n\t\t\ticonText = iconTiddler.text,\n\t\t\ticonContent;\n\t\tif(iconType &amp;&amp; iconText) {\n\t\t\ticonContent = $tw.utils.makeDataUri(iconText,iconType);\n\t\t}\n\t\tskinnyList.push($tw.utils.extend({},tiddler,{\n\t\t\ttext: undefined,\n\t\t\treadme: readmeContent,\n\t\t\t\&quot;requires-reload\&quot;: doesRequireReload ? \&quot;yes\&quot; : \&quot;no\&quot;,\n\t\t\ticon: iconContent\n\t\t}));\n\t});\n\t// Save the catalogue tiddler\n\tif(skinnyListTitle) {\n\t\tself.commander.wiki.setTiddlerData(skinnyListTitle,skinnyList);\n\t}\n\treturn null;\n};\n\nexports.Command = Command;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;command&quot;
},
&quot;$:/core/modules/commands/savetiddler.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/commands/savetiddler.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/commands/savetiddler.js\ntype: application/javascript\nmodule-type: command\n\nCommand to save the content of a tiddler to a file\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.info = {\n\tname: \&quot;savetiddler\&quot;,\n\tsynchronous: false\n};\n\nvar Command = function(params,commander,callback) {\n\tthis.params = params;\n\tthis.commander = commander;\n\tthis.callback = callback;\n};\n\nCommand.prototype.execute = function() {\n\tif(this.params.length &lt; 2) {\n\t\treturn \&quot;Missing filename\&quot;;\n\t}\n\tvar self = this,\n\t\tfs = require(\&quot;fs\&quot;),\n\t\tpath = require(\&quot;path\&quot;),\n\t\ttitle = this.params[0],\n\t\tfilename = path.resolve(this.commander.outputPath,this.params[1]),\n\t\ttiddler = this.commander.wiki.getTiddler(title);\n\tif(tiddler) {\n\t\tvar type = tiddler.fields.type || \&quot;text/vnd.tiddlywiki\&quot;,\n\t\t\tcontentTypeInfo = $tw.config.contentTypeInfo[type] || {encoding: \&quot;utf8\&quot;};\n\t\t$tw.utils.createFileDirectories(filename);\n\t\tfs.writeFile(filename,tiddler.fields.text,contentTypeInfo.encoding,function(err) {\n\t\t\tself.callback(err);\n\t\t});\n\t} else {\n\t\treturn \&quot;Missing tiddler: \&quot; + title;\n\t}\n\treturn null;\n};\n\nexports.Command = Command;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;command&quot;
},
&quot;$:/core/modules/commands/savetiddlers.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/commands/savetiddlers.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/commands/savetiddlers.js\ntype: application/javascript\nmodule-type: command\n\nCommand to save several tiddlers to a folder of files\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;);\n\nexports.info = {\n\tname: \&quot;savetiddlers\&quot;,\n\tsynchronous: true\n};\n\nvar Command = function(params,commander,callback) {\n\tthis.params = params;\n\tthis.commander = commander;\n\tthis.callback = callback;\n};\n\nCommand.prototype.execute = function() {\n\tif(this.params.length &lt; 1) {\n\t\treturn \&quot;Missing filename\&quot;;\n\t}\n\tvar self = this,\n\t\tfs = require(\&quot;fs\&quot;),\n\t\tpath = require(\&quot;path\&quot;),\n\t\twiki = this.commander.wiki,\n\t\tfilter = this.params[0],\n\t\tpathname = path.resolve(this.commander.outputPath,this.params[1]),\n\t\tdeleteDirectory = (this.params[2] || \&quot;\&quot;).toLowerCase() !== \&quot;noclean\&quot;,\n\t\ttiddlers = wiki.filterTiddlers(filter);\n\tif(deleteDirectory) {\n\t\t$tw.utils.deleteDirectory(pathname);\n\t}\n\t$tw.utils.createDirectory(pathname);\n\t$tw.utils.each(tiddlers,function(title) {\n\t\tvar tiddler = self.commander.wiki.getTiddler(title),\n\t\t\ttype = tiddler.fields.type || \&quot;text/vnd.tiddlywiki\&quot;,\n\t\t\tcontentTypeInfo = $tw.config.contentTypeInfo[type] || {encoding: \&quot;utf8\&quot;},\n\t\t\tfilename = path.resolve(pathname,encodeURIComponent(title));\n\t\tfs.writeFileSync(filename,tiddler.fields.text,contentTypeInfo.encoding);\n\t});\n\treturn null;\n};\n\nexports.Command = Command;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;command&quot;
},
&quot;$:/core/modules/commands/savewikifolder.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/commands/savewikifolder.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/commands/savewikifolder.js\ntype: application/javascript\nmodule-type: command\n\nCommand to save the current wiki as a wiki folder\n\n--savewikifolder &lt;wikifolderpath&gt; [&lt;filter&gt;]\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.info = {\n\tname: \&quot;savewikifolder\&quot;,\n\tsynchronous: true\n};\n\nvar fs,path;\nif($tw.node) {\n\tfs = require(\&quot;fs\&quot;);\n\tpath = require(\&quot;path\&quot;);\n}\n\nvar Command = function(params,commander,callback) {\n\tthis.params = params;\n\tthis.commander = commander;\n\tthis.callback = callback;\n};\n\nCommand.prototype.execute = function() {\n\tif(this.params.length &lt; 1) {\n\t\treturn \&quot;Missing wiki folder path\&quot;;\n\t}\n\tvar wikifoldermaker = new WikiFolderMaker(this.params[0],this.params[1],this.commander);\n\treturn wikifoldermaker.save();\n};\n\nfunction WikiFolderMaker(wikiFolderPath,wikiFilter,commander) {\n\tthis.wikiFolderPath = wikiFolderPath;\n\tthis.wikiFilter = wikiFilter || \&quot;[all[tiddlers]]\&quot;;\n\tthis.commander = commander;\n\tthis.wiki = commander.wiki;\n\tthis.savedPaths = []; // So that we can detect filename clashes\n}\n\nWikiFolderMaker.prototype.log = function(str) {\n\tif(this.commander.verbose) {\n\t\tconsole.log(str);\n\t}\n};\n\nWikiFolderMaker.prototype.tiddlersToIgnore = [\n\t\&quot;$:/boot/boot.css\&quot;,\n\t\&quot;$:/boot/boot.js\&quot;,\n\t\&quot;$:/boot/bootprefix.js\&quot;,\n\t\&quot;$:/core\&quot;,\n\t\&quot;$:/library/sjcl.js\&quot;,\n\t\&quot;$:/temp/info-plugin\&quot;\n];\n\n/*\nReturns null if successful, or an error string if there was an error\n*/\nWikiFolderMaker.prototype.save = function() {\n\tvar self = this;\n\t// Check that the output directory doesn't exist\n\tif(fs.existsSync(this.wikiFolderPath) &amp;&amp; !$tw.utils.isDirectoryEmpty(this.wikiFolderPath)) {\n\t\treturn \&quot;The unpackwiki command requires that the output wiki folder be empty\&quot;;\n\t}\n\t// Get the tiddlers from the source wiki\n\tvar tiddlerTitles = this.wiki.filterTiddlers(this.wikiFilter);\n\t// Initialise a new tiddlwiki.info file\n\tvar newWikiInfo = {};\n\t// Process each incoming tiddler in turn\n\t$tw.utils.each(tiddlerTitles,function(title) {\n\t\tvar tiddler = self.wiki.getTiddler(title);\n\t\tif(tiddler) {\n\t\t\tif(self.tiddlersToIgnore.indexOf(title) !== -1) {\n\t\t\t\t// Ignore the core plugin and the ephemeral info plugin\n\t\t\t\tself.log(\&quot;Ignoring tiddler: \&quot; + title);\n\t\t\t} else {\n\t\t\t\tvar type = tiddler.fields.type,\n\t\t\t\t\tpluginType = tiddler.fields[\&quot;plugin-type\&quot;];\n\t\t\t\tif(type === \&quot;application/json\&quot; &amp;&amp; pluginType) {\n\t\t\t\t\t// Plugin tiddler\n\t\t\t\t\tvar libraryDetails = self.findPluginInLibrary(title);\n\t\t\t\t\tif(libraryDetails) {\n\t\t\t\t\t\t// A plugin from the core library\n\t\t\t\t\t\tself.log(\&quot;Adding built-in plugin: \&quot; + libraryDetails.name);\n\t\t\t\t\t\tnewWikiInfo[libraryDetails.type] = newWikiInfo[libraryDetails.type] || [];\n\t\t\t\t\t\t$tw.utils.pushTop(newWikiInfo[libraryDetails.type],libraryDetails.name);\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// A custom plugin\n\t\t\t\t\t\tself.log(\&quot;Processing custom plugin: \&quot; + title);\n\t\t\t\t\t\tself.saveCustomPlugin(tiddler);\n\t\t\t\t\t}\t\t\t\t\n\t\t\t\t} else {\n\t\t\t\t\t// Ordinary tiddler\n\t\t\t\t\tself.saveTiddler(\&quot;tiddlers\&quot;,tiddler);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t});\n\t// Save the tiddlywiki.info file\n\tthis.saveJSONFile(\&quot;tiddlywiki.info\&quot;,newWikiInfo);\n\tself.log(\&quot;Writing tiddlywiki.info: \&quot; + JSON.stringify(newWikiInfo,null,$tw.config.preferences.jsonSpaces));\n\treturn null;\n};\n\n/*\nTest whether the specified tiddler is a plugin in the plugin library\n*/\nWikiFolderMaker.prototype.findPluginInLibrary = function(title) {\n\tvar parts = title.split(\&quot;/\&quot;),\n\t\tpluginPath, type, name;\n\tif(parts[0] === \&quot;$:\&quot;) {\n\t\tif(parts[1] === \&quot;languages\
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;command&quot;
},
&quot;$:/core/modules/commands/server.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/commands/server.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/commands/server.js\ntype: application/javascript\nmodule-type: command\n\nDeprecated legacy command for serving tiddlers\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Server = require(\&quot;$:/core/modules/server/server.js\&quot;).Server;\n\nexports.info = {\n\tname: \&quot;server\&quot;,\n\tsynchronous: true\n};\n\nvar Command = function(params,commander,callback) {\n\tvar self = this;\n\tthis.params = params;\n\tthis.commander = commander;\n\tthis.callback = callback;\n};\n\nCommand.prototype.execute = function() {\n\tif(!$tw.boot.wikiTiddlersPath) {\n\t\t$tw.utils.warning(\&quot;Warning: Wiki folder '\&quot; + $tw.boot.wikiPath + \&quot;' does not exist or is missing a tiddlywiki.info file\&quot;);\n\t}\n\t// Set up server\n\tthis.server = new Server({\n\t\twiki: this.commander.wiki,\n\t\tvariables: {\n\t\t\tport: this.params[0],\n\t\t\thost: this.params[6],\n\t\t\t\&quot;root-tiddler\&quot;: this.params[1],\n\t\t\t\&quot;root-render-type\&quot;: this.params[2],\n\t\t\t\&quot;root-serve-type\&quot;: this.params[3],\n\t\t\tusername: this.params[4],\n\t\t\tpassword: this.params[5],\n\t\t\t\&quot;path-prefix\&quot;: this.params[7],\n\t\t\t\&quot;debug-level\&quot;: this.params[8]\n\t\t}\n\t});\n\tvar nodeServer = this.server.listen();\n\t$tw.hooks.invokeHook(\&quot;th-server-command-post-start\&quot;,this.server,nodeServer,\&quot;tiddlywiki\&quot;);\n\treturn null;\n};\n\nexports.Command = Command;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;command&quot;
},
&quot;$:/core/modules/commands/setfield.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/commands/setfield.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/commands/setfield.js\ntype: application/javascript\nmodule-type: command\n\nCommand to modify selected tiddlers to set a field to the text of a template tiddler that has been wikified with the selected tiddler as the current tiddler.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;);\n\nexports.info = {\n\tname: \&quot;setfield\&quot;,\n\tsynchronous: true\n};\n\nvar Command = function(params,commander,callback) {\n\tthis.params = params;\n\tthis.commander = commander;\n\tthis.callback = callback;\n};\n\nCommand.prototype.execute = function() {\n\tif(this.params.length &lt; 4) {\n\t\treturn \&quot;Missing parameters\&quot;;\n\t}\n\tvar self = this,\n\t\twiki = this.commander.wiki,\n\t\tfilter = this.params[0],\n\t\tfieldname = this.params[1] || \&quot;text\&quot;,\n\t\ttemplatetitle = this.params[2],\n\t\trendertype = this.params[3] || \&quot;text/plain\&quot;,\n\t\ttiddlers = wiki.filterTiddlers(filter);\n\t$tw.utils.each(tiddlers,function(title) {\n\t\tvar parser = wiki.parseTiddler(templatetitle),\n\t\t\tnewFields = {},\n\t\t\ttiddler = wiki.getTiddler(title);\n\t\tif(parser) {\n\t\t\tvar widgetNode = wiki.makeWidget(parser,{variables: {currentTiddler: title}});\n\t\t\tvar container = $tw.fakeDocument.createElement(\&quot;div\&quot;);\n\t\t\twidgetNode.render(container,null);\n\t\t\tnewFields[fieldname] = rendertype === \&quot;text/html\&quot; ? container.innerHTML : container.textContent;\n\t\t} else {\n\t\t\tnewFields[fieldname] = undefined;\n\t\t}\n\t\twiki.addTiddler(new $tw.Tiddler(tiddler,newFields));\n\t});\n\treturn null;\n};\n\nexports.Command = Command;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;command&quot;
},
&quot;$:/core/modules/commands/unpackplugin.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/commands/unpackplugin.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/commands/unpackplugin.js\ntype: application/javascript\nmodule-type: command\n\nCommand to extract the shadow tiddlers from within a plugin\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.info = {\n\tname: \&quot;unpackplugin\&quot;,\n\tsynchronous: true\n};\n\nvar Command = function(params,commander,callback) {\n\tthis.params = params;\n\tthis.commander = commander;\n\tthis.callback = callback;\n};\n\nCommand.prototype.execute = function() {\n\tif(this.params.length &lt; 1) {\n\t\treturn \&quot;Missing plugin name\&quot;;\n\t}\n\tvar self = this,\n\t\ttitle = this.params[0],\n\t\tpluginData = this.commander.wiki.getTiddlerDataCached(title);\n\tif(!pluginData) {\n\t\treturn \&quot;Plugin '\&quot; + title + \&quot;' not found\&quot;;\n\t}\n\t$tw.utils.each(pluginData.tiddlers,function(tiddler) {\n\t\tself.commander.wiki.addTiddler(new $tw.Tiddler(tiddler));\n\t});\n\treturn null;\n};\n\nexports.Command = Command;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;command&quot;
},
&quot;$:/core/modules/commands/verbose.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/commands/verbose.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/commands/verbose.js\ntype: application/javascript\nmodule-type: command\n\nVerbose command\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.info = {\n\tname: \&quot;verbose\&quot;,\n\tsynchronous: true\n};\n\nvar Command = function(params,commander) {\n\tthis.params = params;\n\tthis.commander = commander;\n};\n\nCommand.prototype.execute = function() {\n\tthis.commander.verbose = true;\n\t// Output the boot message log\n\tthis.commander.streams.output.write(\&quot;Boot log:\\n \&quot; + $tw.boot.logMessages.join(\&quot;\\n \&quot;) + \&quot;\\n\&quot;);\n\treturn null; // No error\n};\n\nexports.Command = Command;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;command&quot;
},
&quot;$:/core/modules/commands/version.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/commands/version.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/commands/version.js\ntype: application/javascript\nmodule-type: command\n\nVersion command\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.info = {\n\tname: \&quot;version\&quot;,\n\tsynchronous: true\n};\n\nvar Command = function(params,commander) {\n\tthis.params = params;\n\tthis.commander = commander;\n};\n\nCommand.prototype.execute = function() {\n\tthis.commander.streams.output.write($tw.version + \&quot;\\n\&quot;);\n\treturn null; // No error\n};\n\nexports.Command = Command;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;command&quot;
},
&quot;$:/core/modules/config.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/config.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/config.js\ntype: application/javascript\nmodule-type: config\n\nCore configuration constants\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.preferences = {};\n\nexports.preferences.notificationDuration = 3 * 1000;\nexports.preferences.jsonSpaces = 4;\n\nexports.textPrimitives = {\n\tupperLetter: \&quot;[A-Z\\u00c0-\\u00d6\\u00d8-\\u00de\\u0150\\u0170]\&quot;,\n\tlowerLetter: \&quot;[a-z\\u00df-\\u00f6\\u00f8-\\u00ff\\u0151\\u0171]\&quot;,\n\tanyLetter: \&quot;[A-Za-z0-9\\u00c0-\\u00d6\\u00d8-\\u00de\\u00df-\\u00f6\\u00f8-\\u00ff\\u0150\\u0170\\u0151\\u0171]\&quot;,\n\tblockPrefixLetters:\t\&quot;[A-Za-z0-9-_\\u00c0-\\u00d6\\u00d8-\\u00de\\u00df-\\u00f6\\u00f8-\\u00ff\\u0150\\u0170\\u0151\\u0171]\&quot;\n};\n\nexports.textPrimitives.unWikiLink = \&quot;~\&quot;;\nexports.textPrimitives.wikiLink = exports.textPrimitives.upperLetter + \&quot;+\&quot; +\n\texports.textPrimitives.lowerLetter + \&quot;+\&quot; +\n\texports.textPrimitives.upperLetter +\n\texports.textPrimitives.anyLetter + \&quot;*\&quot;;\n\nexports.htmlEntities = {quot:34, amp:38, apos:39, lt:60, gt:62, nbsp:160, iexcl:161, cent:162, pound:163, curren:164, yen:165, brvbar:166, sect:167, uml:168, copy:169, ordf:170, laquo:171, not:172, shy:173, reg:174, macr:175, deg:176, plusmn:177, sup2:178, sup3:179, acute:180, micro:181, para:182, middot:183, cedil:184, sup1:185, ordm:186, raquo:187, frac14:188, frac12:189, frac34:190, iquest:191, Agrave:192, Aacute:193, Acirc:194, Atilde:195, Auml:196, Aring:197, AElig:198, Ccedil:199, Egrave:200, Eacute:201, Ecirc:202, Euml:203, Igrave:204, Iacute:205, Icirc:206, Iuml:207, ETH:208, Ntilde:209, Ograve:210, Oacute:211, Ocirc:212, Otilde:213, Ouml:214, times:215, Oslash:216, Ugrave:217, Uacute:218, Ucirc:219, Uuml:220, Yacute:221, THORN:222, szlig:223, agrave:224, aacute:225, acirc:226, atilde:227, auml:228, aring:229, aelig:230, ccedil:231, egrave:232, eacute:233, ecirc:234, euml:235, igrave:236, iacute:237, icirc:238, iuml:239, eth:240, ntilde:241, ograve:242, oacute:243, ocirc:244, otilde:245, ouml:246, divide:247, oslash:248, ugrave:249, uacute:250, ucirc:251, uuml:252, yacute:253, thorn:254, yuml:255, OElig:338, oelig:339, Scaron:352, scaron:353, Yuml:376, fnof:402, circ:710, tilde:732, Alpha:913, Beta:914, Gamma:915, Delta:916, Epsilon:917, Zeta:918, Eta:919, Theta:920, Iota:921, Kappa:922, Lambda:923, Mu:924, Nu:925, Xi:926, Omicron:927, Pi:928, Rho:929, Sigma:931, Tau:932, Upsilon:933, Phi:934, Chi:935, Psi:936, Omega:937, alpha:945, beta:946, gamma:947, delta:948, epsilon:949, zeta:950, eta:951, theta:952, iota:953, kappa:954, lambda:955, mu:956, nu:957, xi:958, omicron:959, pi:960, rho:961, sigmaf:962, sigma:963, tau:964, upsilon:965, phi:966, chi:967, psi:968, omega:969, thetasym:977, upsih:978, piv:982, ensp:8194, emsp:8195, thinsp:8201, zwnj:8204, zwj:8205, lrm:8206, rlm:8207, ndash:8211, mdash:8212, lsquo:8216, rsquo:8217, sbquo:8218, ldquo:8220, rdquo:8221, bdquo:8222, dagger:8224, Dagger:8225, bull:8226, hellip:8230, permil:8240, prime:8242, Prime:8243, lsaquo:8249, rsaquo:8250, oline:8254, frasl:8260, euro:8364, image:8465, weierp:8472, real:8476, trade:8482, alefsym:8501, larr:8592, uarr:8593, rarr:8594, darr:8595, harr:8596, crarr:8629, lArr:8656, uArr:8657, rArr:8658, dArr:8659, hArr:8660, forall:8704, part:8706, exist:8707, empty:8709, nabla:8711, isin:8712, notin:8713, ni:8715, prod:8719, sum:8721, minus:8722, lowast:8727, radic:8730, prop:8733, infin:8734, ang:8736, and:8743, or:8744, cap:8745, cup:8746, int:8747, there4:8756, sim:8764, cong:8773, asymp:8776, ne:8800, equiv:8801, le:8804, ge:8805, sub:8834, sup:8835, nsub:8836, sube:8838, supe:8839, oplus:8853, otimes:8855, perp:8869, sdot:8901, lceil:8968, rceil:8969, lfloor:8970, rfloor:8971, lang:9001, rang:9002, loz:9674, spades:9824, clubs:9827, hearts:9829, diams:9830 };\n\nexports.htmlVoidElements = \&quot;area,base,br,col,command,embed,hr,img,input,keygen,link,meta,param,source,track,wbr\&quot;.split
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;config&quot;
},
&quot;$:/core/modules/deserializers.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/deserializers.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/deserializers.js\ntype: application/javascript\nmodule-type: tiddlerdeserializer\n\nFunctions to deserialise tiddlers from a block of text\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nUtility function to parse an old-style tiddler DIV in a *.tid file. It looks like this:\n\n&lt;div title=\&quot;Title\&quot; creator=\&quot;JoeBloggs\&quot; modifier=\&quot;JoeBloggs\&quot; created=\&quot;201102111106\&quot; modified=\&quot;201102111310\&quot; tags=\&quot;myTag [[my long tag]]\&quot;&gt;\n&lt;pre&gt;The text of the tiddler (without the expected HTML encoding).\n&lt;/pre&gt;\n&lt;/div&gt;\n\nNote that the field attributes are HTML encoded, but that the body of the &lt;PRE&gt; tag is not encoded.\n\nWhen these tiddler DIVs are encountered within a TiddlyWiki HTML file then the body is encoded in the usual way.\n*/\nvar parseTiddlerDiv = function(text /* [,fields] */) {\n\t// Slot together the default results\n\tvar result = {};\n\tif(arguments.length &gt; 1) {\n\t\tfor(var f=1; f&lt;arguments.length; f++) {\n\t\t\tvar fields = arguments[f];\n\t\t\tfor(var t in fields) {\n\t\t\t\tresult[t] = fields[t];\t\t\n\t\t\t}\n\t\t}\n\t}\n\t// Parse the DIV body\n\tvar startRegExp = /^\\s*&lt;div\\s+([^&gt;]*)&gt;(\\s*&lt;pre&gt;)?/gi,\n\t\tendRegExp,\n\t\tmatch = startRegExp.exec(text);\n\tif(match) {\n\t\t// Old-style DIVs don't have the &lt;pre&gt; tag\n\t\tif(match[2]) {\n\t\t\tendRegExp = /&lt;\\/pre&gt;\\s*&lt;\\/div&gt;\\s*$/gi;\n\t\t} else {\n\t\t\tendRegExp = /&lt;\\/div&gt;\\s*$/gi;\n\t\t}\n\t\tvar endMatch = endRegExp.exec(text);\n\t\tif(endMatch) {\n\t\t\t// Extract the text\n\t\t\tresult.text = text.substring(match.index + match[0].length,endMatch.index);\n\t\t\t// Process the attributes\n\t\t\tvar attrRegExp = /\\s*([^=\\s]+)\\s*=\\s*(?:\&quot;([^\&quot;]*)\&quot;|'([^']*)')/gi,\n\t\t\t\tattrMatch;\n\t\t\tdo {\n\t\t\t\tattrMatch = attrRegExp.exec(match[1]);\n\t\t\t\tif(attrMatch) {\n\t\t\t\t\tvar name = attrMatch[1];\n\t\t\t\t\tvar value = attrMatch[2] !== undefined ? attrMatch[2] : attrMatch[3];\n\t\t\t\t\tresult[name] = value;\n\t\t\t\t}\n\t\t\t} while(attrMatch);\n\t\t\treturn result;\n\t\t}\n\t}\n\treturn undefined;\n};\n\nexports[\&quot;application/x-tiddler-html-div\&quot;] = function(text,fields) {\n\treturn [parseTiddlerDiv(text,fields)];\n};\n\nexports[\&quot;application/json\&quot;] = function(text,fields) {\n\tvar incoming,\n\t\tresults = [];\n\ttry {\n\t\tincoming = JSON.parse(text);\n\t} catch(e) {\n\t\tincoming = [{\n\t\t\ttitle: \&quot;JSON error: \&quot; + e,\n\t\t\ttext: \&quot;\&quot;\n\t\t}]\n\t}\n\tif(!$tw.utils.isArray(incoming)) {\n\t\tincoming = [incoming];\n\t}\n\tfor(var t=0; t&lt;incoming.length; t++) {\n\t\tvar incomingFields = incoming[t],\n\t\t\tfields = {};\n\t\tfor(var f in incomingFields) {\n\t\t\tif(typeof incomingFields[f] === \&quot;string\&quot;) {\n\t\t\t\tfields[f] = incomingFields[f];\n\t\t\t}\n\t\t}\n\t\tresults.push(fields);\n\t}\n\treturn results;\n};\n\n/*\nParse an HTML file into tiddlers. There are three possibilities:\n# A TiddlyWiki classic HTML file containing `text/x-tiddlywiki` tiddlers\n# A TiddlyWiki5 HTML file containing `text/vnd.tiddlywiki` tiddlers\n# An ordinary HTML file\n*/\nexports[\&quot;text/html\&quot;] = function(text,fields) {\n\t// Check if we've got a store area\n\tvar storeAreaMarkerRegExp = /&lt;div id=[\&quot;']?storeArea['\&quot;]?( style=[\&quot;']?display:none;[\&quot;']?)?&gt;/gi,\n\t\tmatch = storeAreaMarkerRegExp.exec(text);\n\tif(match) {\n\t\t// If so, it's either a classic TiddlyWiki file or an unencrypted TW5 file\n\t\t// First read the normal tiddlers\n\t\tvar results = deserializeTiddlyWikiFile(text,storeAreaMarkerRegExp.lastIndex,!!match[1],fields);\n\t\t// Then any system tiddlers\n\t\tvar systemAreaMarkerRegExp = /&lt;div id=[\&quot;']?systemArea['\&quot;]?( style=[\&quot;']?display:none;[\&quot;']?)?&gt;/gi,\n\t\t\tsysMatch = systemAreaMarkerRegExp.exec(text);\n\t\tif(sysMatch) {\n\t\t\tresults.push.
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;tiddlerdeserializer&quot;
},
&quot;$:/core/modules/editor/engines/framed.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/editor/engines/framed.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/editor/engines/framed.js\ntype: application/javascript\nmodule-type: library\n\nText editor engine based on a simple input or textarea within an iframe. This is done so that the selection is preserved even when clicking away from the textarea\n\n\\*/\n(function(){\n\n/*jslint node: true,browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar HEIGHT_VALUE_TITLE = \&quot;$:/config/TextEditor/EditorHeight/Height\&quot;;\n\nfunction FramedEngine(options) {\n\t// Save our options\n\toptions = options || {};\n\tthis.widget = options.widget;\n\tthis.value = options.value;\n\tthis.parentNode = options.parentNode;\n\tthis.nextSibling = options.nextSibling;\n\t// Create our hidden dummy text area for reading styles\n\tthis.dummyTextArea = this.widget.document.createElement(\&quot;textarea\&quot;);\n\tif(this.widget.editClass) {\n\t\tthis.dummyTextArea.className = this.widget.editClass;\n\t}\n\tthis.dummyTextArea.setAttribute(\&quot;hidden\&quot;,\&quot;true\&quot;);\n\tthis.parentNode.insertBefore(this.dummyTextArea,this.nextSibling);\n\tthis.widget.domNodes.push(this.dummyTextArea);\n\t// Create the iframe\n\tthis.iframeNode = this.widget.document.createElement(\&quot;iframe\&quot;);\n\tthis.parentNode.insertBefore(this.iframeNode,this.nextSibling);\n\tthis.iframeDoc = this.iframeNode.contentWindow.document;\n\t// (Firefox requires us to put some empty content in the iframe)\n\tthis.iframeDoc.open();\n\tthis.iframeDoc.write(\&quot;\&quot;);\n\tthis.iframeDoc.close();\n\t// Style the iframe\n\tthis.iframeNode.className = this.dummyTextArea.className;\n\tthis.iframeNode.style.border = \&quot;none\&quot;;\n\tthis.iframeNode.style.padding = \&quot;0\&quot;;\n\tthis.iframeNode.style.resize = \&quot;none\&quot;;\n\tthis.iframeDoc.body.style.margin = \&quot;0\&quot;;\n\tthis.iframeDoc.body.style.padding = \&quot;0\&quot;;\n\tthis.widget.domNodes.push(this.iframeNode);\n\t// Construct the textarea or input node\n\tvar tag = this.widget.editTag;\n\tif($tw.config.htmlUnsafeElements.indexOf(tag) !== -1) {\n\t\ttag = \&quot;input\&quot;;\n\t}\n\tthis.domNode = this.iframeDoc.createElement(tag);\n\t// Set the text\n\tif(this.widget.editTag === \&quot;textarea\&quot;) {\n\t\tthis.domNode.appendChild(this.iframeDoc.createTextNode(this.value));\n\t} else {\n\t\tthis.domNode.value = this.value;\n\t}\n\t// Set the attributes\n\tif(this.widget.editType) {\n\t\tthis.domNode.setAttribute(\&quot;type\&quot;,this.widget.editType);\n\t}\n\tif(this.widget.editPlaceholder) {\n\t\tthis.domNode.setAttribute(\&quot;placeholder\&quot;,this.widget.editPlaceholder);\n\t}\n\tif(this.widget.editSize) {\n\t\tthis.domNode.setAttribute(\&quot;size\&quot;,this.widget.editSize);\n\t}\n\tif(this.widget.editRows) {\n\t\tthis.domNode.setAttribute(\&quot;rows\&quot;,this.widget.editRows);\n\t}\n\tif(this.widget.editTabIndex) {\n\t\tthis.iframeNode.setAttribute(\&quot;tabindex\&quot;,this.widget.editTabIndex);\n\t}\n\tif(this.widget.editAutoComplete) {\n\t\tthis.domNode.setAttribute(\&quot;autocomplete\&quot;,this.widget.editAutoComplete);\n\t}\n\tif(this.widget.isDisabled === \&quot;yes\&quot;) {\n\t\tthis.domNode.setAttribute(\&quot;disabled\&quot;,true);\n\t}\t\n\t// Copy the styles from the dummy textarea\n\tthis.copyStyles();\n\t// Add event listeners\n\t$tw.utils.addEventListeners(this.domNode,[\n\t\t{name: \&quot;click\&quot;,handlerObject: this,handlerMethod: \&quot;handleClickEvent\&quot;},\n\t\t{name: \&quot;input\&quot;,handlerObject: this,handlerMethod: \&quot;handleInputEvent\&quot;},\n\t\t{name: \&quot;keydown\&quot;,handlerObject: this.widget,handlerMethod: \&quot;handleKeydownEvent\&quot;},\n\t\t{name: \&quot;focus\&quot;,handlerObject: this,handlerMethod: \&quot;handleFocusEvent\&quot;}\n\t]);\n\t// Insert the element into the DOM\n\tthis.iframeDoc.body.appendChild(this.domNode);\n}\n\n/*\nCopy styles from the dummy text area to the textarea in the iframe\n*/\nFramedEngine.prototype.copyStyles = function() {\n\t// Copy all styles\n\t$tw.utils.copyStyles(this.dummyTextArea,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;library&quot;
},
&quot;$:/core/modules/editor/engines/simple.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/editor/engines/simple.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/editor/engines/simple.js\ntype: application/javascript\nmodule-type: library\n\nText editor engine based on a simple input or textarea tag\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar HEIGHT_VALUE_TITLE = \&quot;$:/config/TextEditor/EditorHeight/Height\&quot;;\n\nfunction SimpleEngine(options) {\n\t// Save our options\n\toptions = options || {};\n\tthis.widget = options.widget;\n\tthis.value = options.value;\n\tthis.parentNode = options.parentNode;\n\tthis.nextSibling = options.nextSibling;\n\t// Construct the textarea or input node\n\tvar tag = this.widget.editTag;\n\tif($tw.config.htmlUnsafeElements.indexOf(tag) !== -1) {\n\t\ttag = \&quot;input\&quot;;\n\t}\n\tthis.domNode = this.widget.document.createElement(tag);\n\t// Set the text\n\tif(this.widget.editTag === \&quot;textarea\&quot;) {\n\t\tthis.domNode.appendChild(this.widget.document.createTextNode(this.value));\n\t} else {\n\t\tthis.domNode.value = this.value;\n\t}\n\t// Set the attributes\n\tif(this.widget.editType) {\n\t\tthis.domNode.setAttribute(\&quot;type\&quot;,this.widget.editType);\n\t}\n\tif(this.widget.editPlaceholder) {\n\t\tthis.domNode.setAttribute(\&quot;placeholder\&quot;,this.widget.editPlaceholder);\n\t}\n\tif(this.widget.editSize) {\n\t\tthis.domNode.setAttribute(\&quot;size\&quot;,this.widget.editSize);\n\t}\n\tif(this.widget.editRows) {\n\t\tthis.domNode.setAttribute(\&quot;rows\&quot;,this.widget.editRows);\n\t}\n\tif(this.widget.editClass) {\n\t\tthis.domNode.className = this.widget.editClass;\n\t}\n\tif(this.widget.editTabIndex) {\n\t\tthis.domNode.setAttribute(\&quot;tabindex\&quot;,this.widget.editTabIndex);\n\t}\n\tif(this.widget.editAutoComplete) {\n\t\tthis.domNode.setAttribute(\&quot;autocomplete\&quot;,this.widget.editAutoComplete);\n\t}\n\tif(this.widget.isDisabled === \&quot;yes\&quot;) {\n\t\tthis.domNode.setAttribute(\&quot;disabled\&quot;,true);\n\t}\n\t// Add an input event handler\n\t$tw.utils.addEventListeners(this.domNode,[\n\t\t{name: \&quot;focus\&quot;, handlerObject: this, handlerMethod: \&quot;handleFocusEvent\&quot;},\n\t\t{name: \&quot;input\&quot;, handlerObject: this, handlerMethod: \&quot;handleInputEvent\&quot;}\n\t]);\n\t// Insert the element into the DOM\n\tthis.parentNode.insertBefore(this.domNode,this.nextSibling);\n\tthis.widget.domNodes.push(this.domNode);\n}\n\n/*\nSet the text of the engine if it doesn't currently have focus\n*/\nSimpleEngine.prototype.setText = function(text,type) {\n\tif(!this.domNode.isTiddlyWikiFakeDom) {\n\t\tif(this.domNode.ownerDocument.activeElement !== this.domNode || text === \&quot;\&quot;) {\n\t\t\tthis.updateDomNodeText(text);\n\t\t}\n\t\t// Fix the height if needed\n\t\tthis.fixHeight();\n\t}\n};\n\n/*\nUpdate the DomNode with the new text\n*/\nSimpleEngine.prototype.updateDomNodeText = function(text) {\n\tthis.domNode.value = text;\n};\n\n/*\nGet the text of the engine\n*/\nSimpleEngine.prototype.getText = function() {\n\treturn this.domNode.value;\n};\n\n/*\nFix the height of textarea to fit content\n*/\nSimpleEngine.prototype.fixHeight = function() {\n\tif(this.widget.editTag === \&quot;textarea\&quot;) {\n\t\tif(this.widget.editAutoHeight) {\n\t\t\tif(this.domNode &amp;&amp; !this.domNode.isTiddlyWikiFakeDom) {\n\t\t\t\t$tw.utils.resizeTextAreaToFit(this.domNode,this.widget.editMinHeight);\n\t\t\t}\n\t\t} else {\n\t\t\tvar fixedHeight = parseInt(this.widget.wiki.getTiddlerText(HEIGHT_VALUE_TITLE,\&quot;400px\&quot;),10);\n\t\t\tfixedHeight = Math.max(fixedHeight,20);\n\t\t\tthis.domNode.style.height = fixedHeight + \&quot;px\&quot;;\n\t\t}\n\t}\n};\n\n/*\nFocus the engine node\n*/\nSimpleEngine.prototype.focus = function() {\n\tif(this.domNode.focus &amp;&amp; this.domNode.select) {\n\t\tthis.domNode.focus();\n\t\tthis.domNode.select();\n\t}\n};\n\n/*\nHandle a dom \&quot;input\&quot; event which occurs when the text has changed\n*/\nSimpleEngine.prototype.handleInputEvent = function(event) {\n\tthis.widget.saveChanges(this.getTe
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;library&quot;
},
&quot;$:/core/modules/editor/factory.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/editor/factory.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/editor/factory.js\ntype: application/javascript\nmodule-type: library\n\nFactory for constructing text editor widgets with specified engines for the toolbar and non-toolbar cases\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar DEFAULT_MIN_TEXT_AREA_HEIGHT = \&quot;100px\&quot;; // Minimum height of textareas in pixels\n\n// Configuration tiddlers\nvar HEIGHT_MODE_TITLE = \&quot;$:/config/TextEditor/EditorHeight/Mode\&quot;;\nvar ENABLE_TOOLBAR_TITLE = \&quot;$:/config/TextEditor/EnableToolbar\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\nfunction editTextWidgetFactory(toolbarEngine,nonToolbarEngine) {\n\n\tvar EditTextWidget = function(parseTreeNode,options) {\n\t\t// Initialise the editor operations if they've not been done already\n\t\tif(!this.editorOperations) {\n\t\t\tEditTextWidget.prototype.editorOperations = {};\n\t\t\t$tw.modules.applyMethods(\&quot;texteditoroperation\&quot;,this.editorOperations);\n\t\t}\n\t\tthis.initialise(parseTreeNode,options);\n\t};\n\n\t/*\n\tInherit from the base widget class\n\t*/\n\tEditTextWidget.prototype = new Widget();\n\n\t/*\n\tRender this widget into the DOM\n\t*/\n\tEditTextWidget.prototype.render = function(parent,nextSibling) {\n\t\t// Save the parent dom node\n\t\tthis.parentDomNode = parent;\n\t\t// Compute our attributes\n\t\tthis.computeAttributes();\n\t\t// Execute our logic\n\t\tthis.execute();\n\t\t// Create the wrapper for the toolbar and render its content\n\t\tif(this.editShowToolbar) {\n\t\t\tthis.toolbarNode = this.document.createElement(\&quot;div\&quot;);\n\t\t\tthis.toolbarNode.className = \&quot;tc-editor-toolbar\&quot;;\n\t\t\tparent.insertBefore(this.toolbarNode,nextSibling);\n\t\t\tthis.renderChildren(this.toolbarNode,null);\n\t\t\tthis.domNodes.push(this.toolbarNode);\n\t\t}\n\t\t// Create our element\n\t\tvar editInfo = this.getEditInfo(),\n\t\t\tEngine = this.editShowToolbar ? toolbarEngine : nonToolbarEngine;\n\t\tthis.engine = new Engine({\n\t\t\t\twidget: this,\n\t\t\t\tvalue: editInfo.value,\n\t\t\t\ttype: editInfo.type,\n\t\t\t\tparentNode: parent,\n\t\t\t\tnextSibling: nextSibling\n\t\t\t});\n\t\t// Call the postRender hook\n\t\tif(this.postRender) {\n\t\t\tthis.postRender();\n\t\t}\n\t\t// Fix height\n\t\tthis.engine.fixHeight();\n\t\t// Focus if required\n\t\tif(this.editFocus === \&quot;true\&quot; || this.editFocus === \&quot;yes\&quot;) {\n\t\t\tthis.engine.focus();\n\t\t}\n\t\t// Add widget message listeners\n\t\tthis.addEventListeners([\n\t\t\t{type: \&quot;tm-edit-text-operation\&quot;, handler: \&quot;handleEditTextOperationMessage\&quot;}\n\t\t]);\n\t};\n\n\t/*\n\tGet the tiddler being edited and current value\n\t*/\n\tEditTextWidget.prototype.getEditInfo = function() {\n\t\t// Get the edit value\n\t\tvar self = this,\n\t\t\tvalue,\n\t\t\ttype = \&quot;text/plain\&quot;,\n\t\t\tupdate;\n\t\tif(this.editIndex) {\n\t\t\tvalue = this.wiki.extractTiddlerDataItem(this.editTitle,this.editIndex,this.editDefault);\n\t\t\tupdate = function(value) {\n\t\t\t\tvar data = self.wiki.getTiddlerData(self.editTitle,{});\n\t\t\t\tif(data[self.editIndex] !== value) {\n\t\t\t\t\tdata[self.editIndex] = value;\n\t\t\t\t\tself.wiki.setTiddlerData(self.editTitle,data);\n\t\t\t\t}\n\t\t\t};\n\t\t} else {\n\t\t\t// Get the current tiddler and the field name\n\t\t\tvar tiddler = this.wiki.getTiddler(this.editTitle);\n\t\t\tif(tiddler) {\n\t\t\t\t// If we've got a tiddler, the value to display is the field string value\n\t\t\t\tvalue = tiddler.getFieldString(this.editField);\n\t\t\t\tif(this.editField === \&quot;text\&quot;) {\n\t\t\t\t\ttype = tiddler.fields.type || \&quot;text/vnd.tiddlywiki\&quot;;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\t// Otherwise, we need to construct a default value for the editor\n\t\t\t\tswitch(this.editField) {\n\t\t\t\t\tcase \&quot;text\&quot;:\n\t\t\t\t\t\tvalue = \&quot;Type the text for the tiddler '\&quot; + this.editTitle + \&quot;'\&quot;;\n\t\t\t\t\t\
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;library&quot;
},
&quot;$:/core/modules/editor/operations/bitmap/clear.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/editor/operations/bitmap/clear.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/editor/operations/bitmap/clear.js\ntype: application/javascript\nmodule-type: bitmapeditoroperation\n\nBitmap editor operation to clear the image\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports[\&quot;clear\&quot;] = function(event) {\n\tvar ctx = this.canvasDomNode.getContext(\&quot;2d\&quot;);\n\tctx.globalAlpha = 1;\n\tctx.fillStyle = event.paramObject.colour || \&quot;white\&quot;;\n\tctx.fillRect(0,0,this.canvasDomNode.width,this.canvasDomNode.height);\n\t// Save changes\n\tthis.strokeEnd();\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;bitmapeditoroperation&quot;
},
&quot;$:/core/modules/editor/operations/bitmap/resize.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/editor/operations/bitmap/resize.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/editor/operations/bitmap/resize.js\ntype: application/javascript\nmodule-type: bitmapeditoroperation\n\nBitmap editor operation to resize the image\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports[\&quot;resize\&quot;] = function(event) {\n\t// Get the new width\n\tvar newWidth = parseInt(event.paramObject.width || this.canvasDomNode.width,10),\n\t\tnewHeight = parseInt(event.paramObject.height || this.canvasDomNode.height,10);\n\t// Update if necessary\n\tif(newWidth &gt; 0 &amp;&amp; newHeight &gt; 0 &amp;&amp; !(newWidth === this.currCanvas.width &amp;&amp; newHeight === this.currCanvas.height)) {\n\t\tthis.changeCanvasSize(newWidth,newHeight);\n\t}\n\t// Update the input controls\n\tthis.refreshToolbar();\n\t// Save the image into the tiddler\n\tthis.saveChanges();\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;bitmapeditoroperation&quot;
},
&quot;$:/core/modules/editor/operations/bitmap/rotate-left.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/editor/operations/bitmap/rotate-left.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/editor/operations/bitmap/rotate-left.js\ntype: application/javascript\nmodule-type: bitmapeditoroperation\n\nBitmap editor operation to rotate the image left by 90 degrees\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports[\&quot;rotate-left\&quot;] = function(event) {\n\t// Rotate the canvas left by 90 degrees\n\tthis.rotateCanvasLeft();\n\t// Update the input controls\n\tthis.refreshToolbar();\n\t// Save the image into the tiddler\n\tthis.saveChanges();\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;bitmapeditoroperation&quot;
},
&quot;$:/core/modules/editor/operations/text/excise.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/editor/operations/text/excise.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/editor/operations/text/excise.js\ntype: application/javascript\nmodule-type: texteditoroperation\n\nText editor operation to excise the selection to a new tiddler\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports[\&quot;excise\&quot;] = function(event,operation) {\n\tvar editTiddler = this.wiki.getTiddler(this.editTitle),\n\t\teditTiddlerTitle = this.editTitle;\n\tif(editTiddler &amp;&amp; editTiddler.fields[\&quot;draft.of\&quot;]) {\n\t\teditTiddlerTitle = editTiddler.fields[\&quot;draft.of\&quot;];\n\t}\n\tvar excisionTitle = event.paramObject.title || this.wiki.generateNewTitle(\&quot;New Excision\&quot;);\n\tthis.wiki.addTiddler(new $tw.Tiddler(\n\t\tthis.wiki.getCreationFields(),\n\t\tthis.wiki.getModificationFields(),\n\t\t{\n\t\t\ttitle: excisionTitle,\n\t\t\ttext: operation.selection,\n\t\t\ttags: event.paramObject.tagnew === \&quot;yes\&quot; ? [editTiddlerTitle] : []\n\t\t}\n\t));\n\toperation.replacement = excisionTitle;\n\tswitch(event.paramObject.type || \&quot;transclude\&quot;) {\n\t\tcase \&quot;transclude\&quot;:\n\t\t\toperation.replacement = \&quot;{{\&quot; + operation.replacement+ \&quot;}}\&quot;;\n\t\t\tbreak;\n\t\tcase \&quot;link\&quot;:\n\t\t\toperation.replacement = \&quot;[[\&quot; + operation.replacement+ \&quot;]]\&quot;;\n\t\t\tbreak;\n\t\tcase \&quot;macro\&quot;:\n\t\t\toperation.replacement = \&quot;&lt;&lt;\&quot; + (event.paramObject.macro || \&quot;translink\&quot;) + \&quot; \\\&quot;\\\&quot;\\\&quot;\&quot; + operation.replacement + \&quot;\\\&quot;\\\&quot;\\\&quot;&gt;&gt;\&quot;;\n\t\t\tbreak;\n\t}\n\toperation.cutStart = operation.selStart;\n\toperation.cutEnd = operation.selEnd;\n\toperation.newSelStart = operation.selStart;\n\toperation.newSelEnd = operation.selStart + operation.replacement.length;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;texteditoroperation&quot;
},
&quot;$:/core/modules/editor/operations/text/make-link.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/editor/operations/text/make-link.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/editor/operations/text/make-link.js\ntype: application/javascript\nmodule-type: texteditoroperation\n\nText editor operation to make a link\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports[\&quot;make-link\&quot;] = function(event,operation) {\n\tif(operation.selection) {\n\t\toperation.replacement = \&quot;[[\&quot; + operation.selection + \&quot;|\&quot; + event.paramObject.text + \&quot;]]\&quot;;\n\t\toperation.cutStart = operation.selStart;\n\t\toperation.cutEnd = operation.selEnd;\n\t} else {\n\t\toperation.replacement = \&quot;[[\&quot; + event.paramObject.text + \&quot;]]\&quot;;\n\t\toperation.cutStart = operation.selStart;\n\t\toperation.cutEnd = operation.selEnd;\n\t}\n\toperation.newSelStart = operation.selStart + operation.replacement.length;\n\toperation.newSelEnd = operation.newSelStart;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;texteditoroperation&quot;
},
&quot;$:/core/modules/editor/operations/text/prefix-lines.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/editor/operations/text/prefix-lines.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/editor/operations/text/prefix-lines.js\ntype: application/javascript\nmodule-type: texteditoroperation\n\nText editor operation to add a prefix to the selected lines\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports[\&quot;prefix-lines\&quot;] = function(event,operation) {\n\tvar targetCount = parseInt(event.paramObject.count + \&quot;\&quot;,10);\n\t// Cut just past the preceding line break, or the start of the text\n\toperation.cutStart = $tw.utils.findPrecedingLineBreak(operation.text,operation.selStart);\n\t// Cut to just past the following line break, or to the end of the text\n\toperation.cutEnd = $tw.utils.findFollowingLineBreak(operation.text,operation.selEnd);\n\t// Compose the required prefix\n\tvar prefix = $tw.utils.repeat(event.paramObject.character,targetCount);\n\t// Process each line\n\tvar lines = operation.text.substring(operation.cutStart,operation.cutEnd).split(/\\r?\\n/mg);\n\t$tw.utils.each(lines,function(line,index) {\n\t\t// Remove and count any existing prefix characters\n\t\tvar count = 0;\n\t\twhile(line.charAt(0) === event.paramObject.character) {\n\t\t\tline = line.substring(1);\n\t\t\tcount++;\n\t\t}\n\t\t// Remove any whitespace\n\t\twhile(line.charAt(0) === \&quot; \&quot;) {\n\t\t\tline = line.substring(1);\n\t\t}\n\t\t// We're done if we removed the exact required prefix, otherwise add it\n\t\tif(count !== targetCount) {\n\t\t\t// Apply the prefix\n\t\t\tline = prefix + \&quot; \&quot; + line;\n\t\t}\n\t\t// Save the modified line\n\t\tlines[index] = line;\n\t});\n\t// Stitch the replacement text together and set the selection\n\toperation.replacement = lines.join(\&quot;\\n\&quot;);\n\tif(lines.length === 1) {\n\t\toperation.newSelStart = operation.cutStart + operation.replacement.length;\n\t\toperation.newSelEnd = operation.newSelStart;\n\t} else {\n\t\toperation.newSelStart = operation.cutStart;\n\t\toperation.newSelEnd = operation.newSelStart + operation.replacement.length;\n\t}\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;texteditoroperation&quot;
},
&quot;$:/core/modules/editor/operations/text/replace-all.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/editor/operations/text/replace-all.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/editor/operations/text/replace-all.js\ntype: application/javascript\nmodule-type: texteditoroperation\n\nText editor operation to replace the entire text\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports[\&quot;replace-all\&quot;] = function(event,operation) {\n\toperation.cutStart = 0;\n\toperation.cutEnd = operation.text.length;\n\toperation.replacement = event.paramObject.text;\n\toperation.newSelStart = 0;\n\toperation.newSelEnd = operation.replacement.length;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;texteditoroperation&quot;
},
&quot;$:/core/modules/editor/operations/text/replace-selection.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/editor/operations/text/replace-selection.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/editor/operations/text/replace-selection.js\ntype: application/javascript\nmodule-type: texteditoroperation\n\nText editor operation to replace the selection\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports[\&quot;replace-selection\&quot;] = function(event,operation) {\n\toperation.replacement = event.paramObject.text;\n\toperation.cutStart = operation.selStart;\n\toperation.cutEnd = operation.selEnd;\n\toperation.newSelStart = operation.selStart;\n\toperation.newSelEnd = operation.selStart + operation.replacement.length;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;texteditoroperation&quot;
},
&quot;$:/core/modules/editor/operations/text/save-selection.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/editor/operations/text/save-selection.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/editor/operations/text/save-selection.js\ntype: application/javascript\nmodule-type: texteditoroperation\n\nText editor operation to save the current selection in a specified tiddler\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports[\&quot;save-selection\&quot;] = function(event,operation) {\n\tvar tiddler = event.paramObject.tiddler,\n\t\tfield = event.paramObject.field || \&quot;text\&quot;;\n\tif(tiddler &amp;&amp; field) {\n\t\tthis.wiki.setText(tiddler,field,null,operation.text.substring(operation.selStart,operation.selEnd));\n\t}\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;texteditoroperation&quot;
},
&quot;$:/core/modules/editor/operations/text/wrap-lines.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/editor/operations/text/wrap-lines.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/editor/operations/text/wrap-lines.js\ntype: application/javascript\nmodule-type: texteditoroperation\n\nText editor operation to wrap the selected lines with a prefix and suffix\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports[\&quot;wrap-lines\&quot;] = function(event,operation) {\n\t// Cut just past the preceding line break, or the start of the text\n\toperation.cutStart = $tw.utils.findPrecedingLineBreak(operation.text,operation.selStart);\n\t// Cut to just past the following line break, or to the end of the text\n\toperation.cutEnd = $tw.utils.findFollowingLineBreak(operation.text,operation.selEnd);\n\t// Add the prefix and suffix\n\toperation.replacement = event.paramObject.prefix + \&quot;\\n\&quot; +\n\t\t\t\toperation.text.substring(operation.cutStart,operation.cutEnd) + \&quot;\\n\&quot; +\n\t\t\t\tevent.paramObject.suffix + \&quot;\\n\&quot;;\n\toperation.newSelStart = operation.cutStart + event.paramObject.prefix.length + 1;\n\toperation.newSelEnd = operation.newSelStart + (operation.cutEnd - operation.cutStart);\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;texteditoroperation&quot;
},
&quot;$:/core/modules/editor/operations/text/wrap-selection.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/editor/operations/text/wrap-selection.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/editor/operations/text/wrap-selection.js\ntype: application/javascript\nmodule-type: texteditoroperation\n\nText editor operation to wrap the selection with the specified prefix and suffix\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports[\&quot;wrap-selection\&quot;] = function(event,operation) {\n\tif(operation.selStart === operation.selEnd) {\n\t\t// No selection; check if we're within the prefix/suffix\n\t\tif(operation.text.substring(operation.selStart - event.paramObject.prefix.length,operation.selStart + event.paramObject.suffix.length) === event.paramObject.prefix + event.paramObject.suffix) {\n\t\t\t// Remove the prefix and suffix\n\t\t\toperation.cutStart = operation.selStart - event.paramObject.prefix.length;\n\t\t\toperation.cutEnd = operation.selEnd + event.paramObject.suffix.length;\n\t\t\toperation.replacement = \&quot;\&quot;;\n\t\t\toperation.newSelStart = operation.cutStart;\n\t\t\toperation.newSelEnd = operation.newSelStart;\n\t\t} else {\n\t\t\t// Wrap the cursor instead\n\t\t\toperation.cutStart = operation.selStart;\n\t\t\toperation.cutEnd = operation.selEnd;\n\t\t\toperation.replacement = event.paramObject.prefix + event.paramObject.suffix;\n\t\t\toperation.newSelStart = operation.selStart + event.paramObject.prefix.length;\n\t\t\toperation.newSelEnd = operation.newSelStart;\n\t\t}\n\t} else if(operation.text.substring(operation.selStart,operation.selStart + event.paramObject.prefix.length) === event.paramObject.prefix &amp;&amp; operation.text.substring(operation.selEnd - event.paramObject.suffix.length,operation.selEnd) === event.paramObject.suffix) {\n\t\t// Prefix and suffix are already present, so remove them\n\t\toperation.cutStart = operation.selStart;\n\t\toperation.cutEnd = operation.selEnd;\n\t\toperation.replacement = operation.selection.substring(event.paramObject.prefix.length,operation.selection.length - event.paramObject.suffix.length);\n\t\toperation.newSelStart = operation.selStart;\n\t\toperation.newSelEnd = operation.selStart + operation.replacement.length;\n\t} else {\n\t\t// Add the prefix and suffix\n\t\toperation.cutStart = operation.selStart;\n\t\toperation.cutEnd = operation.selEnd;\n\t\toperation.replacement = event.paramObject.prefix + operation.selection + event.paramObject.suffix;\n\t\toperation.newSelStart = operation.selStart;\n\t\toperation.newSelEnd = operation.selStart + operation.replacement.length;\n\t}\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;texteditoroperation&quot;
},
&quot;$:/core/modules/filterrunprefixes/all.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filterrunprefixes/all.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filterrunprefixes/all.js\ntype: application/javascript\nmodule-type: filterrunprefix\n\nUnion of sets without de-duplication.\nEquivalent to = filter run prefix.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter prefix function\n*/\nexports.all = function(operationSubFunction) {\n\treturn function(results,source,widget) {\n\t\tresults.push.apply(results, operationSubFunction(source,widget));\n\t};\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filterrunprefix&quot;
},
&quot;$:/core/modules/filterrunprefixes/and.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filterrunprefixes/and.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filterrunprefixes/and.js\ntype: application/javascript\nmodule-type: filterrunprefix\n\nIntersection of sets.\nEquivalent to + filter run prefix.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter prefix function\n*/\nexports.and = function(operationSubFunction,options) {\n\treturn function(results,source,widget) {\n\t\t// This replaces all the elements of the array, but keeps the actual array so that references to it are preserved\n\t\tsource = options.wiki.makeTiddlerIterator(results.toArray());\n\t\tresults.clear();\n\t\tresults.pushTop(operationSubFunction(source,widget));\n\t};\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filterrunprefix&quot;
},
&quot;$:/core/modules/filterrunprefixes/else.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filterrunprefixes/else.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filterrunprefixes/else.js\ntype: application/javascript\nmodule-type: filterrunprefix\n\nEquivalent to ~ filter run prefix.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter prefix function\n*/\nexports.else = function(operationSubFunction) {\n\treturn function(results,source,widget) {\n\t\tif(results.length === 0) {\n\t\t\t// Main result so far is empty\n\t\t\tresults.pushTop(operationSubFunction(source,widget));\n\t\t}\n\t};\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filterrunprefix&quot;
},
&quot;$:/core/modules/filterrunprefixes/except.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filterrunprefixes/except.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filterrunprefixes/except.js\ntype: application/javascript\nmodule-type: filterrunprefix\n\nDifference of sets.\nEquivalent to - filter run prefix.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter prefix function\n*/\nexports.except = function(operationSubFunction) {\n\treturn function(results,source,widget) {\n\t\tresults.remove(operationSubFunction(source,widget));\n\t};\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filterrunprefix&quot;
},
&quot;$:/core/modules/filterrunprefixes/filter.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filterrunprefixes/filter.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filterrunprefixes/filter.js\ntype: application/javascript\nmodule-type: filterrunprefix\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.filter = function(operationSubFunction,options) {\n\treturn function(results,source,widget) {\n\t\tif(results.length &gt; 0) {\n\t\t\tvar resultsToRemove = [];\n\t\t\tresults.each(function(result) {\n\t\t\t\tvar filtered = operationSubFunction(options.wiki.makeTiddlerIterator([result]),widget);\n\t\t\t\tif(filtered.length === 0) {\n\t\t\t\t\tresultsToRemove.push(result);\n\t\t\t\t}\n\t\t\t});\n\t\t\tresults.remove(resultsToRemove);\n\t\t}\n\t}\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filterrunprefix&quot;
},
&quot;$:/core/modules/filterrunprefixes/intersection.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filterrunprefixes/intersection.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filterrunprefixes/intersection.js\ntype: application/javascript\nmodule-type: filterrunprefix\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter prefix function\n*/\nexports.intersection = function(operationSubFunction) {\n\treturn function(results,source,widget) {\n\t\tif(results.length !== 0) {\n\t\t\tvar secondRunResults = operationSubFunction(source,widget);\n\t\t\tvar firstRunResults = results.toArray();\n\t\t\tresults.clear();\n\t\t\t$tw.utils.each(firstRunResults,function(title) {\n\t\t\t\tif(secondRunResults.indexOf(title) !== -1) {\n\t\t\t\t\tresults.push(title);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t};\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filterrunprefix&quot;
},
&quot;$:/core/modules/filterrunprefixes/or.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filterrunprefixes/or.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filterrunprefixes/or.js\ntype: application/javascript\nmodule-type: filterrunprefix\n\nEquivalent to a filter run with no prefix.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter prefix function\n*/\nexports.or = function(operationSubFunction) {\n\treturn function(results,source,widget) {\n\t\tresults.pushTop(operationSubFunction(source,widget));\n\t};\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filterrunprefix&quot;
},
&quot;$:/core/modules/filterrunprefixes/reduce.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filterrunprefixes/reduce.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filterrunprefixes/reduce.js\ntype: application/javascript\nmodule-type: filterrunprefix\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter prefix function\n*/\nexports.reduce = function(operationSubFunction,options) {\n\treturn function(results,source,widget) {\n\t\tif(results.length &gt; 0) {\n\t\t\tvar accumulator = \&quot;\&quot;;\n\t\t\tvar index = 0;\n\t\t\tresults.each(function(title) {\n\t\t\t\tvar list = operationSubFunction(options.wiki.makeTiddlerIterator([title]),{\n\t\t\t\t\t\tgetVariable: function(name) {\n\t\t\t\t\t\t\tswitch(name) {\n\t\t\t\t\t\t\t\tcase \&quot;currentTiddler\&quot;:\n\t\t\t\t\t\t\t\t\treturn \&quot;\&quot; + title;\n\t\t\t\t\t\t\t\tcase \&quot;accumulator\&quot;:\n\t\t\t\t\t\t\t\t\treturn \&quot;\&quot; + accumulator;\n\t\t\t\t\t\t\t\tcase \&quot;index\&quot;:\n\t\t\t\t\t\t\t\t\treturn \&quot;\&quot; + index;\n\t\t\t\t\t\t\t\tcase \&quot;revIndex\&quot;:\n\t\t\t\t\t\t\t\t\treturn \&quot;\&quot; + (results.length - 1 - index);\n\t\t\t\t\t\t\t\tcase \&quot;length\&quot;:\n\t\t\t\t\t\t\t\t\treturn \&quot;\&quot; + results.length;\n\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\treturn widget.getVariable(name);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\tif(list.length &gt; 0) {\n\t\t\t\t\taccumulator = \&quot;\&quot; + list[0];\n\t\t\t\t}\n\t\t\t\t++index;\n\t\t\t});\n\t\t\tresults.clear();\n\t\t\tresults.push(accumulator);\t\n\t\t}\n\t}\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filterrunprefix&quot;
},
&quot;$:/core/modules/filters/addprefix.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/addprefix.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/addprefix.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator for adding a prefix to each title in the list. This is\nespecially useful in contexts where only a filter expression is allowed\nand macro substitution isn't available.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.addprefix = function(source,operator,options) {\n\tvar results = [];\n\tsource(function(tiddler,title) {\n\t\tresults.push(operator.operand + title);\n\t});\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/addsuffix.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/addsuffix.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/addsuffix.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator for adding a suffix to each title in the list. This is\nespecially useful in contexts where only a filter expression is allowed\nand macro substitution isn't available.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.addsuffix = function(source,operator,options) {\n\tvar results = [];\n\tsource(function(tiddler,title) {\n\t\tresults.push(title + operator.operand);\n\t});\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/after.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/after.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/after.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator returning the tiddler from the current list that is after the tiddler named in the operand.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.after = function(source,operator,options) {\n\tvar results = [];\n\tsource(function(tiddler,title) {\n\t\tresults.push(title);\n\t});\n\tvar index = results.indexOf(operator.operand);\n\tif(index === -1 || index &gt; (results.length - 2)) {\n\t\treturn [];\n\t} else {\n\t\treturn [results[index + 1]];\n\t}\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/all/current.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/all/current.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/all/current.js\ntype: application/javascript\nmodule-type: allfilteroperator\n\nFilter function for [all[current]]\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.current = function(source,prefix,options) {\n\tvar currTiddlerTitle = options.widget &amp;&amp; options.widget.getVariable(\&quot;currentTiddler\&quot;);\n\tif(currTiddlerTitle) {\n\t\treturn [currTiddlerTitle];\n\t} else {\n\t\treturn [];\n\t}\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;allfilteroperator&quot;
},
&quot;$:/core/modules/filters/all/missing.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/all/missing.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/all/missing.js\ntype: application/javascript\nmodule-type: allfilteroperator\n\nFilter function for [all[missing]]\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.missing = function(source,prefix,options) {\n\treturn options.wiki.getMissingTitles();\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;allfilteroperator&quot;
},
&quot;$:/core/modules/filters/all/orphans.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/all/orphans.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/all/orphans.js\ntype: application/javascript\nmodule-type: allfilteroperator\n\nFilter function for [all[orphans]]\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.orphans = function(source,prefix,options) {\n\treturn options.wiki.getOrphanTitles();\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;allfilteroperator&quot;
},
&quot;$:/core/modules/filters/all/shadows.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/all/shadows.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/all/shadows.js\ntype: application/javascript\nmodule-type: allfilteroperator\n\nFilter function for [all[shadows]]\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.shadows = function(source,prefix,options) {\n\treturn options.wiki.allShadowTitles();\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;allfilteroperator&quot;
},
&quot;$:/core/modules/filters/all/tags.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/all/tags.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/all/tags.js\ntype: application/javascript\nmodule-type: allfilteroperator\n\nFilter function for [all[tags]]\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.tags = function(source,prefix,options) {\n\treturn Object.keys(options.wiki.getTagMap());\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;allfilteroperator&quot;
},
&quot;$:/core/modules/filters/all/tiddlers.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/all/tiddlers.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/all/tiddlers.js\ntype: application/javascript\nmodule-type: allfilteroperator\n\nFilter function for [all[tiddlers]]\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.tiddlers = function(source,prefix,options) {\n\treturn options.wiki.allTitles();\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;allfilteroperator&quot;
},
&quot;$:/core/modules/filters/all.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/all.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/all.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator for selecting tiddlers\n\n[all[shadows+tiddlers]]\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar allFilterOperators;\n\nfunction getAllFilterOperators() {\n\tif(!allFilterOperators) {\n\t\tallFilterOperators = {};\n\t\t$tw.modules.applyMethods(\&quot;allfilteroperator\&quot;,allFilterOperators);\n\t}\n\treturn allFilterOperators;\n}\n\n/*\nExport our filter function\n*/\nexports.all = function(source,operator,options) {\n\t// Get our suboperators\n\tvar allFilterOperators = getAllFilterOperators();\n\t// Cycle through the suboperators accumulating their results\n\tvar results = [],\n\t\tsubops = operator.operand.split(\&quot;+\&quot;);\n\t// Check for common optimisations\n\tif(subops.length === 1 &amp;&amp; subops[0] === \&quot;\&quot;) {\n\t\treturn source;\n\t} else if(subops.length === 1 &amp;&amp; subops[0] === \&quot;tiddlers\&quot;) {\n\t\treturn options.wiki.each;\n\t} else if(subops.length === 1 &amp;&amp; subops[0] === \&quot;shadows\&quot;) {\n\t\treturn options.wiki.eachShadow;\n\t} else if(subops.length === 2 &amp;&amp; subops[0] === \&quot;tiddlers\&quot; &amp;&amp; subops[1] === \&quot;shadows\&quot;) {\n\t\treturn options.wiki.eachTiddlerPlusShadows;\n\t} else if(subops.length === 2 &amp;&amp; subops[0] === \&quot;shadows\&quot; &amp;&amp; subops[1] === \&quot;tiddlers\&quot;) {\n\t\treturn options.wiki.eachShadowPlusTiddlers;\n\t}\n\t// Do it the hard way\n\tfor(var t=0; t&lt;subops.length; t++) {\n\t\tvar subop = allFilterOperators[subops[t]];\n\t\tif(subop) {\n\t\t\t$tw.utils.pushTop(results,subop(source,operator.prefix,options));\n\t\t}\n\t}\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/backlinks.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/backlinks.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/backlinks.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator for returning all the backlinks from a tiddler\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.backlinks = function(source,operator,options) {\n\tvar results = [];\n\tsource(function(tiddler,title) {\n\t\t$tw.utils.pushTop(results,options.wiki.getTiddlerBacklinks(title));\n\t});\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/before.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/before.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/before.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator returning the tiddler from the current list that is before the tiddler named in the operand.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.before = function(source,operator,options) {\n\tvar results = [];\n\tsource(function(tiddler,title) {\n\t\tresults.push(title);\n\t});\n\tvar index = results.indexOf(operator.operand);\n\tif(index &lt;= 0) {\n\t\treturn [];\n\t} else {\n\t\treturn [results[index - 1]];\n\t}\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/commands.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/commands.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/commands.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator for returning the names of the commands available in this wiki\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.commands = function(source,operator,options) {\n\tvar results = [];\n\t$tw.utils.each($tw.commands,function(commandInfo,name) {\n\t\tresults.push(name);\n\t});\n\tresults.sort();\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/compare.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/compare.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/compare.js\ntype: application/javascript\nmodule-type: filteroperator\n\nGeneral purpose comparison operator\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.compare = function(source,operator,options) {\n\tvar suffixes = operator.suffixes || [],\n\t\ttype = (suffixes[0] || [])[0],\n\t\tmode = (suffixes[1] || [])[0],\n\t\ttypeFn = $tw.utils.makeCompareFunction(type,{defaultType: \&quot;number\&quot;}),\n\t\tmodeFn = modes[mode] || modes.eq,\n\t\tinvert = operator.prefix === \&quot;!\&quot;,\n\t\tresults = [];\n\tsource(function(tiddler,title) {\n\t\tif(modeFn(typeFn(title,operator.operand)) !== invert) {\n\t\t\tresults.push(title);\n\t\t}\n\t});\n\treturn results;\n};\n\nvar modes = {\n\t\&quot;eq\&quot;: function(value) {return value === 0;},\n\t\&quot;ne\&quot;: function(value) {return value !== 0;},\n\t\&quot;gteq\&quot;: function(value) {return value &gt;= 0;},\n\t\&quot;gt\&quot;: function(value) {return value &gt; 0;},\n\t\&quot;lteq\&quot;: function(value) {return value &lt;= 0;},\n\t\&quot;lt\&quot;: function(value) {return value &lt; 0;}\n}\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/contains.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/contains.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/contains.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator for finding values in array fields\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.contains = function(source,operator,options) {\n\tvar results = [],\n\t\tfieldname = (operator.suffix || \&quot;list\&quot;).toLowerCase();\n\tif(operator.prefix === \&quot;!\&quot;) {\n\t\tsource(function(tiddler,title) {\n\t\t\tif(tiddler) {\n\t\t\t\tvar list = tiddler.getFieldList(fieldname);\n\t\t\t\tif(list.indexOf(operator.operand) === -1) {\n\t\t\t\t\tresults.push(title);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tresults.push(title);\n\t\t\t}\n\t\t});\n\t} else {\n\t\tsource(function(tiddler,title) {\n\t\t\tif(tiddler) {\n\t\t\t\tvar list = tiddler.getFieldList(fieldname);\n\t\t\t\tif(list.indexOf(operator.operand) !== -1) {\n\t\t\t\t\tresults.push(title);\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t}\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/count.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/count.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/count.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator returning the number of entries in the current list.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.count = function(source,operator,options) {\n\tvar count = 0;\n\tsource(function(tiddler,title) {\n\t\tcount++;\n\t});\n\treturn [count + \&quot;\&quot;];\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/days.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/days.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/days.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator that selects tiddlers with a specified date field within a specified date interval.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.days = function(source,operator,options) {\n\tvar results = [],\n\t\tfieldName = operator.suffix || \&quot;modified\&quot;,\n\t\tdayInterval = (parseInt(operator.operand,10)||0),\n\t\tdayIntervalSign = $tw.utils.sign(dayInterval),\n\t\ttargetTimeStamp = (new Date()).setHours(0,0,0,0) + 1000*60*60*24*dayInterval,\n\t\tisWithinDays = function(dateField) {\n\t\t\tvar sign = $tw.utils.sign(targetTimeStamp - (new Date(dateField)).setHours(0,0,0,0));\n\t\t\treturn sign === 0 || sign === dayIntervalSign;\n\t\t};\n\n\tif(operator.prefix === \&quot;!\&quot;) {\n\t\ttargetTimeStamp = targetTimeStamp - 1000*60*60*24*dayIntervalSign;\n\t\tsource(function(tiddler,title) {\n\t\t\tif(tiddler &amp;&amp; tiddler.fields[fieldName]) {\n\t\t\t\tif(!isWithinDays($tw.utils.parseDate(tiddler.fields[fieldName]))) {\n\t\t\t\t\tresults.push(title);\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t} else {\n\t\tsource(function(tiddler,title) {\n\t\t\tif(tiddler &amp;&amp; tiddler.fields[fieldName]) {\n\t\t\t\tif(isWithinDays($tw.utils.parseDate(tiddler.fields[fieldName]))) {\n\t\t\t\t\tresults.push(title);\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t}\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/duplicateslugs.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/duplicateslugs.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/duplicateslugs.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter function for [duplicateslugs[]]\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.duplicateslugs = function(source,operator,options) {\n\tvar slugs = Object.create(null), // Hashmap by slug of title, replaced with \&quot;true\&quot; if the duplicate title has already been output\n\t\tresults = [];\n\tsource(function(tiddler,title) {\n\t\tvar slug = options.wiki.slugify(title);\n\t\tif(slug in slugs) {\n\t\t\tif(slugs[slug] !== true) {\n\t\t\t\tresults.push(slugs[slug]);\n\t\t\t\tslugs[slug] = true;\n\t\t\t}\n\t\t\tresults.push(title);\n\t\t} else {\n\t\t\tslugs[slug] = title;\n\t\t}\n\t});\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/each.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/each.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/each.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator that selects one tiddler for each unique value of the specified field.\nWith suffix \&quot;list\&quot;, selects all tiddlers that are values in a specified list field.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.each = function(source,operator,options) {\n\tvar results =[] ,\n\tvalue,values = {},\n\tfield = operator.operand || \&quot;title\&quot;;\n\tif(operator.suffix === \&quot;value\&quot; &amp;&amp; field === \&quot;title\&quot;) {\n\t\tsource(function(tiddler,title) {\n\t\t\tif(!$tw.utils.hop(values,title)) {\n\t\t\t\tvalues[title] = true;\n\t\t\t\tresults.push(title);\n\t\t\t}\n\t\t});\n\t} else if(operator.suffix !== \&quot;list-item\&quot;) {\n\t\tif(field === \&quot;title\&quot;) {\n\t\t\tsource(function(tiddler,title) {\n\t\t\t\tif(tiddler &amp;&amp; !$tw.utils.hop(values,title)) {\n\t\t\t\t\tvalues[title] = true;\n\t\t\t\t\tresults.push(title);\n\t\t\t\t}\n\t\t\t});\n\t\t} else {\n\t\t\tsource(function(tiddler,title) {\n\t\t\t\tif(tiddler) {\n\t\t\t\t\tvalue = tiddler.getFieldString(field);\n\t\t\t\t\tif(!$tw.utils.hop(values,value)) {\n\t\t\t\t\t\tvalues[value] = true;\n\t\t\t\t\t\tresults.push(title);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t} else {\n\t\tsource(function(tiddler,title) {\n\t\t\tif(tiddler) {\n\t\t\t\t$tw.utils.each(\n\t\t\t\t\toptions.wiki.getTiddlerList(title,field),\n\t\t\t\t\tfunction(value) {\n\t\t\t\t\t\tif(!$tw.utils.hop(values,value)) {\n\t\t\t\t\t\t\tvalues[value] = true;\n\t\t\t\t\t\t\tresults.push(value);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t}\n\t\t});\n\t}\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/eachday.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/eachday.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/eachday.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator that selects one tiddler for each unique day covered by the specified date field\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.eachday = function(source,operator,options) {\n\tvar results = [],\n\t\tvalues = [],\n\t\tfieldName = operator.operand || \&quot;modified\&quot;;\n\t// Function to convert a date/time to a date integer\n\tvar toDate = function(value) {\n\t\tvalue = (new Date(value)).setHours(0,0,0,0);\n\t\treturn value+0;\n\t};\n\tsource(function(tiddler,title) {\n\t\tif(tiddler &amp;&amp; tiddler.fields[fieldName]) {\n\t\t\tvar value = toDate($tw.utils.parseDate(tiddler.fields[fieldName]));\n\t\t\tif(values.indexOf(value) === -1) {\n\t\t\t\tvalues.push(value);\n\t\t\t\tresults.push(title);\n\t\t\t}\n\t\t}\n\t});\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/editiondescription.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/editiondescription.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/editiondescription.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator for returning the descriptions of the specified edition names\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.editiondescription = function(source,operator,options) {\n\tvar results = [];\n\tif($tw.node) {\n\t\tvar editionInfo = $tw.utils.getEditionInfo();\n\t\tif(editionInfo) {\n\t\t\tsource(function(tiddler,title) {\n\t\t\t\tif($tw.utils.hop(editionInfo,title)) {\n\t\t\t\t\tresults.push(editionInfo[title].description || \&quot;\&quot;);\t\t\t\t\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/editions.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/editions.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/editions.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator for returning the names of the available editions in this wiki\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.editions = function(source,operator,options) {\n\tvar results = [];\n\tif($tw.node) {\n\t\tvar editionInfo = $tw.utils.getEditionInfo();\n\t\tif(editionInfo) {\n\t\t\t$tw.utils.each(editionInfo,function(info,name) {\n\t\t\t\tresults.push(name);\n\t\t\t});\n\t\t}\n\t\tresults.sort();\n\t}\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/else.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/else.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/else.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator for replacing an empty input list with a constant, passing a non-empty input list straight through\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.else = function(source,operator,options) {\n\tvar results = [];\n\tsource(function(tiddler,title) {\n\t\tresults.push(title);\n\t});\n\tif(results.length === 0) {\n\t\treturn [operator.operand];\n\t} else {\n\t\treturn results;\n\t}\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/decodeuricomponent.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/decodeuricomponent.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/decodeuricomponent.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator for applying decodeURIComponent() to each item.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter functions\n*/\n\nexports.decodeuricomponent = function(source,operator,options) {\n\tvar results = [];\n\tsource(function(tiddler,title) {\n\t\tvar value = title;\n\t\ttry {\n\t\t\tvalue = decodeURIComponent(title);\n\t\t} catch(e) {\n\t\t}\n\t\tresults.push(value);\n\t});\n\treturn results;\n};\n\nexports.encodeuricomponent = function(source,operator,options) {\n\tvar results = [];\n\tsource(function(tiddler,title) {\n\t\tresults.push(encodeURIComponent(title));\n\t});\n\treturn results;\n};\n\nexports.decodeuri = function(source,operator,options) {\n\tvar results = [];\n\tsource(function(tiddler,title) {\n\t\tvar value = title;\n\t\ttry {\n\t\t\tvalue = decodeURI(title);\n\t\t} catch(e) {\n\t\t}\n\t\tresults.push(value);\n\t});\n\treturn results;\n};\n\nexports.encodeuri = function(source,operator,options) {\n\tvar results = [];\n\tsource(function(tiddler,title) {\n\t\tresults.push(encodeURI(title));\n\t});\n\treturn results;\n};\n\nexports.decodehtml = function(source,operator,options) {\n\tvar results = [];\n\tsource(function(tiddler,title) {\n\t\tresults.push($tw.utils.htmlDecode(title));\n\t});\n\treturn results;\n};\n\nexports.encodehtml = function(source,operator,options) {\n\tvar results = [];\n\tsource(function(tiddler,title) {\n\t\tresults.push($tw.utils.htmlEncode(title));\n\t});\n\treturn results;\n};\n\nexports.stringify = function(source,operator,options) {\n\tvar results = [];\n\tsource(function(tiddler,title) {\n\t\tresults.push($tw.utils.stringify(title,(operator.suffix === \&quot;rawunicode\&quot;)));\n\t});\n\treturn results;\n};\n\nexports.jsonstringify = function(source,operator,options) {\n\tvar results = [];\n\tsource(function(tiddler,title) {\n\t\tresults.push($tw.utils.jsonStringify(title,(operator.suffix === \&quot;rawunicode\&quot;)));\n\t});\n\treturn results;\n};\n\nexports.escaperegexp = function(source,operator,options) {\n\tvar results = [];\n\tsource(function(tiddler,title) {\n\t\tresults.push($tw.utils.escapeRegExp(title));\n\t});\n\treturn results;\n};\n\nexports.escapecss = function(source,operator,options) {\n\tvar results = [];\n\tsource(function(tiddler,title) {\n\t\t// escape any character with a special meaning in CSS using CSS.escape()\n\t\tresults.push(CSS.escape(title));\n\t});\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/enlist.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/enlist.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/enlist.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator returning its operand parsed as a list\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.enlist = function(source,operator,options) {\n\tvar allowDuplicates = false;\n\tswitch(operator.suffix) {\n\t\tcase \&quot;raw\&quot;:\n\t\t\tallowDuplicates = true;\n\t\t\tbreak;\n\t\tcase \&quot;dedupe\&quot;:\n\t\t\tallowDuplicates = false;\n\t\t\tbreak;\n\t}\n\tvar list = $tw.utils.parseStringArray(operator.operand,allowDuplicates);\n\tif(operator.prefix === \&quot;!\&quot;) {\n\t\tvar results = [];\n\t\tsource(function(tiddler,title) {\n\t\t\tif(list.indexOf(title) === -1) {\n\t\t\t\tresults.push(title);\n\t\t\t}\n\t\t});\n\t\treturn results;\n\t} else {\n\t\treturn list;\n\t}\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/field.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/field.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/field.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator for comparing fields for equality\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.field = function(source,operator,options) {\n\tvar results = [],indexedResults,\n\t\tfieldname = (operator.suffix || operator.operator || \&quot;title\&quot;).toLowerCase();\n\tif(operator.prefix === \&quot;!\&quot;) {\n\t\tif(operator.regexp) {\n\t\t\tsource(function(tiddler,title) {\n\t\t\t\tif(tiddler) {\n\t\t\t\t\tvar text = tiddler.getFieldString(fieldname);\n\t\t\t\t\tif(text !== null &amp;&amp; !operator.regexp.exec(text)) {\n\t\t\t\t\t\tresults.push(title);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tresults.push(title);\n\t\t\t\t}\n\t\t\t});\n\t\t} else {\n\t\t\tsource(function(tiddler,title) {\n\t\t\t\tif(tiddler) {\n\t\t\t\t\tvar text = tiddler.getFieldString(fieldname);\n\t\t\t\t\tif(text !== null &amp;&amp; text !== operator.operand) {\n\t\t\t\t\t\tresults.push(title);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tresults.push(title);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t} else {\n\t\tif(operator.regexp) {\n\t\t\tsource(function(tiddler,title) {\n\t\t\t\tif(tiddler) {\n\t\t\t\t\tvar text = tiddler.getFieldString(fieldname);\n\t\t\t\t\tif(text !== null &amp;&amp; !!operator.regexp.exec(text)) {\n\t\t\t\t\t\tresults.push(title);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t} else {\n\t\t\tif(source.byField &amp;&amp; operator.operand) {\n\t\t\t\tindexedResults = source.byField(fieldname,operator.operand);\n\t\t\t\tif(indexedResults) {\n\t\t\t\t\treturn indexedResults\n\t\t\t\t}\n\t\t\t}\n\t\t\tsource(function(tiddler,title) {\n\t\t\t\tif(tiddler) {\n\t\t\t\t\tvar text = tiddler.getFieldString(fieldname);\n\t\t\t\t\tif(text !== null &amp;&amp; text === operator.operand) {\n\t\t\t\t\t\tresults.push(title);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/fields.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/fields.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/fields.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator for returning the names of the fields on the selected tiddlers\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.fields = function(source,operator,options) {\n\tvar results = [],\n\t\tfieldName,\n\t\tsuffixes = (operator.suffixes || [])[0] || [],\n\t\toperand = $tw.utils.parseStringArray(operator.operand);\n\t\n\tsource(function(tiddler,title) {\n\t\tif(tiddler) {\n\t\t\tif(suffixes.indexOf(\&quot;include\&quot;) !== -1) {\n\t\t\t\tfor(fieldName in tiddler.fields) {\n\t\t\t\t\t(operand.indexOf(fieldName) !== -1) ? $tw.utils.pushTop(results,fieldName) : \&quot;\&quot;;\n\t\t\t\t}\n\t\t\t} else if (suffixes.indexOf(\&quot;exclude\&quot;) !== -1) {\n\t\t\t\tfor(fieldName in tiddler.fields) {\n\t\t\t\t\t(operand.indexOf(fieldName) !== -1) ? \&quot;\&quot; : $tw.utils.pushTop(results,fieldName);\n\t\t\t\t}\n\t\t\t} // else if\n\t\t\telse {\n\t\t\t\tfor(fieldName in tiddler.fields) {\n\t\t\t\t\t$tw.utils.pushTop(results,fieldName);\n\t\t\t\t}\n\t\t\t} // else\n\t\t} // if (tiddler)\n\t});\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/filter.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/filter.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/filter.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator returning those input titles that pass a subfilter\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.filter = function(source,operator,options) {\n\tvar filterFn = options.wiki.compileFilter(operator.operand),\n\t\tresults = [],\n\t\ttarget = operator.prefix !== \&quot;!\&quot;;\n\tsource(function(tiddler,title) {\n\t\tvar list = filterFn.call(options.wiki,options.wiki.makeTiddlerIterator([title]));\n\t\tif((list.length &gt; 0) === target) {\n\t\t\tresults.push(title);\n\t\t}\n\t});\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/format/date.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/format/date.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/format/date.js\ntype: application/javascript\nmodule-type: formatfilteroperator\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.date = function(source,operand,options) {\n\tvar results = [];\t\n\tsource(function(tiddler,title) {\n\t\tvar value = $tw.utils.parseDate(title);\n\t\tif(value &amp;&amp; $tw.utils.isDate(value) &amp;&amp; value.toString() !== \&quot;Invalid Date\&quot;) {\n\t\t\tresults.push($tw.utils.formatDateString(value,operand || \&quot;YYYY MM DD 0hh:0mm\&quot;));\n\t\t}\n\t});\t\n\treturn results;\n};\n\n})();&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;formatfilteroperator&quot;
},
&quot;$:/core/modules/filters/format/relativedate.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/format/relativedate.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/format/relativedate.js\ntype: application/javascript\nmodule-type: formatfilteroperator\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.relativedate = function(source,operand,options) {\n\tvar results = [];\t\n\tsource(function(tiddler,title) {\n\t\tvar value = $tw.utils.parseDate(title);\n\t\tif(value &amp;&amp; $tw.utils.isDate(value) &amp;&amp; value.toString() !== \&quot;Invalid Date\&quot;) {\n\t\t\tresults.push($tw.utils.getRelativeDate((new Date()) - (new Date(value))).description);\n\t\t}\n\t});\t\n\treturn results;\n};\n\n})();&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;formatfilteroperator&quot;
},
&quot;$:/core/modules/filters/format.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/format.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/format.js\ntype: application/javascript\nmodule-type: filteroperator\nFilter operator for formatting strings\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar formatFilterOperators;\n\nfunction getFormatFilterOperators() {\n\tif(!formatFilterOperators) {\n\t\tformatFilterOperators = {};\n\t\t$tw.modules.applyMethods(\&quot;formatfilteroperator\&quot;,formatFilterOperators);\n\t}\n\treturn formatFilterOperators;\n}\n\n/*\nExport our filter function\n*/\nexports.format = function(source,operator,options) {\n\t// Dispatch to the correct formatfilteroperator\n\tvar formatFilterOperators = getFormatFilterOperators();\n\tif(operator.suffix) {\n\t\tvar formatFilterOperator = formatFilterOperators[operator.suffix];\n\t\tif(formatFilterOperator) {\n\t\t\treturn formatFilterOperator(source,operator.operand,options);\n\t\t} else {\n\t\t\treturn [$tw.language.getString(\&quot;Error/FormatFilterOperator\&quot;)];\n\t\t}\n\t} else {\n\t\t// Return all unchanged if the suffix is missing\n\t\tvar results = [];\n\t\tsource(function(tiddler,title) {\n\t\t\tresults.push(title);\n\t\t});\n\t\treturn results;\n\t}\n};\n\n})();&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/get.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/get.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/get.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator for replacing tiddler titles by the value of the field specified in the operand.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.get = function(source,operator,options) {\n\tvar results = [];\n\tsource(function(tiddler,title) {\n\t\tif(tiddler) {\n\t\t\tvar value = tiddler.getFieldString(operator.operand);\n\t\t\tif(value) {\n\t\t\t\tresults.push(value);\n\t\t\t}\n\t\t}\n\t});\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/getindex.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/getindex.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/getindex.js\ntype: application/javascript\nmodule-type: filteroperator\n\nreturns the value at a given index of datatiddlers\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.getindex = function(source,operator,options) {\n\tvar data,title,results = [];\n\tif(operator.operand){\n\t\tsource(function(tiddler,title) {\n\t\t\ttitle = tiddler ? tiddler.fields.title : title;\n\t\t\tdata = options.wiki.extractTiddlerDataItem(tiddler,operator.operand);\n\t\t\tif(data) {\n\t\t\t\tresults.push(data);\n\t\t\t}\n\t\t});\n\t}\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/getvariable.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/getvariable.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/getvariable.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator for replacing input values by the value of the variable with the same name, or blank if the variable is missing\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.getvariable = function(source,operator,options) {\n\tvar results = [];\n\tsource(function(tiddler,title) {\n\t\tresults.push(options.widget.getVariable(title) || \&quot;\&quot;);\n\t});\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/has.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/has.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/has.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator for checking if a tiddler has the specified field or index\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.has = function(source,operator,options) {\n\tvar results = [],\n\t\tinvert = operator.prefix === \&quot;!\&quot;;\n\n\tif(operator.suffix === \&quot;field\&quot;) {\n\t\tif(invert) {\n\t\t\tsource(function(tiddler,title) {\n\t\t\t\tif(!tiddler || (tiddler &amp;&amp; (!$tw.utils.hop(tiddler.fields,operator.operand)))) {\n\t\t\t\t\tresults.push(title);\n\t\t\t\t}\n\t\t\t});\n\t\t} else {\n\t\t\tsource(function(tiddler,title) {\n\t\t\t\tif(tiddler &amp;&amp; $tw.utils.hop(tiddler.fields,operator.operand)) {\n\t\t\t\t\tresults.push(title);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n\telse if(operator.suffix === \&quot;index\&quot;) {\n\t\tif(invert) {\n\t\t\tsource(function(tiddler,title) {\n\t\t\t\tif(!tiddler || (tiddler &amp;&amp; (!$tw.utils.hop(options.wiki.getTiddlerDataCached(tiddler,Object.create(null)),operator.operand)))) {\n\t\t\t\t\tresults.push(title);\n\t\t\t\t}\n\t\t\t});\n\t\t} else {\n\t\t\tsource(function(tiddler,title) {\n\t\t\t\tif(tiddler &amp;&amp; $tw.utils.hop(options.wiki.getTiddlerDataCached(tiddler,Object.create(null)),operator.operand)) {\n\t\t\t\t\tresults.push(title);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n\telse {\n\t\tif(invert) {\n\t\t\tsource(function(tiddler,title) {\n\t\t\t\tif(!tiddler || !$tw.utils.hop(tiddler.fields,operator.operand) || (tiddler.fields[operator.operand].length === 0)) {\n\t\t\t\t\tresults.push(title);\n\t\t\t\t}\n\t\t\t});\n\t\t} else {\n\t\t\tsource(function(tiddler,title) {\n\t\t\t\tif(tiddler &amp;&amp; $tw.utils.hop(tiddler.fields,operator.operand) &amp;&amp; (tiddler.fields[operator.operand].length !== 0)) {\n\t\t\t\t\tresults.push(title);\n\t\t\t\t}\n\t\t\t});\t\t\t\t\n\t\t}\n\t}\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/haschanged.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/haschanged.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/haschanged.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator returns tiddlers from the list that have a non-zero changecount.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.haschanged = function(source,operator,options) {\n\tvar results = [];\n\tif(operator.prefix === \&quot;!\&quot;) {\n\t\tsource(function(tiddler,title) {\n\t\t\tif(options.wiki.getChangeCount(title) === 0) {\n\t\t\t\tresults.push(title);\n\t\t\t}\n\t\t});\n\t} else {\n\t\tsource(function(tiddler,title) {\n\t\t\tif(options.wiki.getChangeCount(title) &gt; 0) {\n\t\t\t\tresults.push(title);\n\t\t\t}\n\t\t});\n\t}\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/indexes.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/indexes.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/indexes.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator for returning the indexes of a data tiddler\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.indexes = function(source,operator,options) {\n\tvar results = [];\n\tsource(function(tiddler,title) {\n\t\tvar data = options.wiki.getTiddlerDataCached(title);\n\t\tif(data) {\n\t\t\t$tw.utils.pushTop(results,Object.keys(data));\n\t\t}\n\t});\n\tresults.sort();\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/insertbefore.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/insertbefore.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/insertbefore.js\ntype: application/javascript\nmodule-type: filteroperator\n\nInsert an item before another item in a list\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nOrder a list\n*/\nexports.insertbefore = function(source,operator,options) {\n\tvar results = [];\n\tsource(function(tiddler,title) {\n\t\tresults.push(title);\n\t});\n\tvar target = options.widget &amp;&amp; options.widget.getVariable(operator.suffix || \&quot;currentTiddler\&quot;);\n\tif(target !== operator.operand) {\n\t\t// Remove the entry from the list if it is present\n\t\tvar pos = results.indexOf(operator.operand);\n\t\tif(pos !== -1) {\n\t\t\tresults.splice(pos,1);\n\t\t}\n\t\t// Insert the entry before the target marker\n\t\tpos = results.indexOf(target);\n\t\tif(pos !== -1) {\n\t\t\tresults.splice(pos,0,operator.operand);\n\t\t} else {\n\t\t\tresults.push(operator.operand);\n\t\t}\n\t}\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/is/binary.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/is/binary.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/is/binary.js\ntype: application/javascript\nmodule-type: isfilteroperator\n\nFilter function for [is[binary]]\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.binary = function(source,prefix,options) {\n\tvar results = [];\n\tif(prefix === \&quot;!\&quot;) {\n\t\tsource(function(tiddler,title) {\n\t\t\tif(!options.wiki.isBinaryTiddler(title)) {\n\t\t\t\tresults.push(title);\n\t\t\t}\n\t\t});\n\t} else {\n\t\tsource(function(tiddler,title) {\n\t\t\tif(options.wiki.isBinaryTiddler(title)) {\n\t\t\t\tresults.push(title);\n\t\t\t}\n\t\t});\n\t}\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;isfilteroperator&quot;
},
&quot;$:/core/modules/filters/is/blank.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/is/blank.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/is/blank.js\ntype: application/javascript\nmodule-type: isfilteroperator\n\nFilter function for [is[blank]]\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.blank = function(source,prefix,options) {\n\tvar results = [];\n\tif(prefix === \&quot;!\&quot;) {\n\t\tsource(function(tiddler,title) {\n\t\t\tif(title) {\n\t\t\t\tresults.push(title);\n\t\t\t}\n\t\t});\n\t} else {\n\t\tsource(function(tiddler,title) {\n\t\t\tif(!title) {\n\t\t\t\tresults.push(title);\n\t\t\t}\n\t\t});\n\t}\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;isfilteroperator&quot;
},
&quot;$:/core/modules/filters/is/current.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/is/current.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/is/current.js\ntype: application/javascript\nmodule-type: isfilteroperator\n\nFilter function for [is[current]]\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.current = function(source,prefix,options) {\n\tvar results = [],\n\t\tcurrTiddlerTitle = options.widget &amp;&amp; options.widget.getVariable(\&quot;currentTiddler\&quot;);\n\tif(prefix === \&quot;!\&quot;) {\n\t\tsource(function(tiddler,title) {\n\t\t\tif(title !== currTiddlerTitle) {\n\t\t\t\tresults.push(title);\n\t\t\t}\n\t\t});\n\t} else {\n\t\tsource(function(tiddler,title) {\n\t\t\tif(title === currTiddlerTitle) {\n\t\t\t\tresults.push(title);\n\t\t\t}\n\t\t});\n\t}\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;isfilteroperator&quot;
},
&quot;$:/core/modules/filters/is/draft.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/is/draft.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/is/draft.js\ntype: application/javascript\nmodule-type: isfilteroperator\n\nFilter function for [is[draft]] analagous to [has[draft.of]]\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.draft = function(source,prefix,options) {\n\tvar results = [];\n\tif(prefix === \&quot;!\&quot;) {\n\t\tsource(function(tiddler,title) {\n\t\t\tif(!tiddler || !$tw.utils.hop(tiddler.fields,\&quot;draft.of\&quot;)) {\n\t\t\t\tresults.push(title);\n\t\t\t}\n\t\t});\n\t} else {\n\t\tsource(function(tiddler,title) {\n\t\t\tif(tiddler &amp;&amp; $tw.utils.hop(tiddler.fields,\&quot;draft.of\&quot;) &amp;&amp; (tiddler.fields[\&quot;draft.of\&quot;].length !== 0)) {\n\t\t\t\tresults.push(title);\n\t\t\t}\n\t\t});\t\t\t\t\n\t}\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;isfilteroperator&quot;
},
&quot;$:/core/modules/filters/is/image.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/is/image.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/is/image.js\ntype: application/javascript\nmodule-type: isfilteroperator\n\nFilter function for [is[image]]\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.image = function(source,prefix,options) {\n\tvar results = [];\n\tif(prefix === \&quot;!\&quot;) {\n\t\tsource(function(tiddler,title) {\n\t\t\tif(!options.wiki.isImageTiddler(title)) {\n\t\t\t\tresults.push(title);\n\t\t\t}\n\t\t});\n\t} else {\n\t\tsource(function(tiddler,title) {\n\t\t\tif(options.wiki.isImageTiddler(title)) {\n\t\t\t\tresults.push(title);\n\t\t\t}\n\t\t});\n\t}\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;isfilteroperator&quot;
},
&quot;$:/core/modules/filters/is/missing.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/is/missing.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/is/missing.js\ntype: application/javascript\nmodule-type: isfilteroperator\n\nFilter function for [is[missing]]\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.missing = function(source,prefix,options) {\n\tvar results = [];\n\tif(prefix === \&quot;!\&quot;) {\n\t\tsource(function(tiddler,title) {\n\t\t\tif(options.wiki.tiddlerExists(title)) {\n\t\t\t\tresults.push(title);\n\t\t\t}\n\t\t});\n\t} else {\n\t\tsource(function(tiddler,title) {\n\t\t\tif(!options.wiki.tiddlerExists(title)) {\n\t\t\t\tresults.push(title);\n\t\t\t}\n\t\t});\n\t}\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;isfilteroperator&quot;
},
&quot;$:/core/modules/filters/is/orphan.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/is/orphan.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/is/orphan.js\ntype: application/javascript\nmodule-type: isfilteroperator\n\nFilter function for [is[orphan]]\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.orphan = function(source,prefix,options) {\n\tvar results = [],\n\t\torphanTitles = options.wiki.getOrphanTitles();\n\tif(prefix === \&quot;!\&quot;) {\n\t\tsource(function(tiddler,title) {\n\t\t\tif(orphanTitles.indexOf(title) === -1) {\n\t\t\t\tresults.push(title);\n\t\t\t}\n\t\t});\n\t} else {\n\t\tsource(function(tiddler,title) {\n\t\t\tif(orphanTitles.indexOf(title) !== -1) {\n\t\t\t\tresults.push(title);\n\t\t\t}\n\t\t});\n\t}\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;isfilteroperator&quot;
},
&quot;$:/core/modules/filters/is/shadow.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/is/shadow.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/is/shadow.js\ntype: application/javascript\nmodule-type: isfilteroperator\n\nFilter function for [is[shadow]]\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.shadow = function(source,prefix,options) {\n\tvar results = [];\n\tif(prefix === \&quot;!\&quot;) {\n\t\tsource(function(tiddler,title) {\n\t\t\tif(!options.wiki.isShadowTiddler(title)) {\n\t\t\t\tresults.push(title);\n\t\t\t}\n\t\t});\n\t} else {\n\t\tsource(function(tiddler,title) {\n\t\t\tif(options.wiki.isShadowTiddler(title)) {\n\t\t\t\tresults.push(title);\n\t\t\t}\n\t\t});\n\t}\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;isfilteroperator&quot;
},
&quot;$:/core/modules/filters/is/system.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/is/system.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/is/system.js\ntype: application/javascript\nmodule-type: isfilteroperator\n\nFilter function for [is[system]]\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.system = function(source,prefix,options) {\n\tvar results = [];\n\tif(prefix === \&quot;!\&quot;) {\n\t\tsource(function(tiddler,title) {\n\t\t\tif(!options.wiki.isSystemTiddler(title)) {\n\t\t\t\tresults.push(title);\n\t\t\t}\n\t\t});\n\t} else {\n\t\tsource(function(tiddler,title) {\n\t\t\tif(options.wiki.isSystemTiddler(title)) {\n\t\t\t\tresults.push(title);\n\t\t\t}\n\t\t});\n\t}\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;isfilteroperator&quot;
},
&quot;$:/core/modules/filters/is/tag.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/is/tag.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/is/tag.js\ntype: application/javascript\nmodule-type: isfilteroperator\n\nFilter function for [is[tag]]\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.tag = function(source,prefix,options) {\n\tvar results = [],\n\t\ttagMap = options.wiki.getTagMap();\n\tif(prefix === \&quot;!\&quot;) {\n\t\tsource(function(tiddler,title) {\n\t\t\tif(!$tw.utils.hop(tagMap,title)) {\n\t\t\t\tresults.push(title);\n\t\t\t}\n\t\t});\n\t} else {\n\t\tsource(function(tiddler,title) {\n\t\t\tif($tw.utils.hop(tagMap,title)) {\n\t\t\t\tresults.push(title);\n\t\t\t}\n\t\t});\n\t}\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;isfilteroperator&quot;
},
&quot;$:/core/modules/filters/is/tiddler.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/is/tiddler.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/is/tiddler.js\ntype: application/javascript\nmodule-type: isfilteroperator\n\nFilter function for [is[tiddler]]\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.tiddler = function(source,prefix,options) {\n\tvar results = [];\n\tif(prefix === \&quot;!\&quot;) {\n\t\tsource(function(tiddler,title) {\n\t\t\tif(!options.wiki.tiddlerExists(title)) {\n\t\t\t\tresults.push(title);\n\t\t\t}\n\t\t});\n\t} else {\n\t\tsource(function(tiddler,title) {\n\t\t\tif(options.wiki.tiddlerExists(title)) {\n\t\t\t\tresults.push(title);\n\t\t\t}\n\t\t});\n\t}\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;isfilteroperator&quot;
},
&quot;$:/core/modules/filters/is/variable.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/is/variable.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/is/variable.js\ntype: application/javascript\nmodule-type: isfilteroperator\n\nFilter function for [is[variable]]\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.variable = function(source,prefix,options) {\n\tvar results = [];\n\tif(prefix === \&quot;!\&quot;) {\n\t\tsource(function(tiddler,title) {\n\t\t\tif(!(title in options.widget.variables)) {\n\t\t\t\tresults.push(title);\n\t\t\t}\n\t\t});\n\t} else {\n\t\tsource(function(tiddler,title) {\n\t\t\tif(title in options.widget.variables) {\n\t\t\t\tresults.push(title);\n\t\t\t}\n\t\t});\n\t}\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;isfilteroperator&quot;
},
&quot;$:/core/modules/filters/is.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/is.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/is.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator for checking tiddler properties\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar isFilterOperators;\n\nfunction getIsFilterOperators() {\n\tif(!isFilterOperators) {\n\t\tisFilterOperators = {};\n\t\t$tw.modules.applyMethods(\&quot;isfilteroperator\&quot;,isFilterOperators);\n\t}\n\treturn isFilterOperators;\n}\n\n/*\nExport our filter function\n*/\nexports.is = function(source,operator,options) {\n\t// Dispatch to the correct isfilteroperator\n\tvar isFilterOperators = getIsFilterOperators();\n\tif(operator.operand) {\n\t\tvar isFilterOperator = isFilterOperators[operator.operand];\n\t\tif(isFilterOperator) {\n\t\t\treturn isFilterOperator(source,operator.prefix,options);\n\t\t} else {\n\t\t\treturn [$tw.language.getString(\&quot;Error/IsFilterOperator\&quot;)];\n\t\t}\n\t} else {\n\t\t// Return all tiddlers if the operand is missing\n\t\tvar results = [];\n\t\tsource(function(tiddler,title) {\n\t\t\tresults.push(title);\n\t\t});\n\t\treturn results;\n\t}\n};\n\n})();&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/limit.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/limit.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/limit.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator for chopping the results to a specified maximum number of entries\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.limit = function(source,operator,options) {\n\tvar results = [];\n\t// Convert to an array\n\tsource(function(tiddler,title) {\n\t\tresults.push(title);\n\t});\n\t// Slice the array if necessary\n\tvar limit = Math.min(results.length,parseInt(operator.operand,10));\n\tif(operator.prefix === \&quot;!\&quot;) {\n\t\tresults = results.slice(-limit);\n\t} else {\n\t\tresults = results.slice(0,limit);\n\t}\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/links.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/links.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/links.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator for returning all the links from a tiddler\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.links = function(source,operator,options) {\n\tvar results = [];\n\tsource(function(tiddler,title) {\n\t\t$tw.utils.pushTop(results,options.wiki.getTiddlerLinks(title));\n\t});\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/list.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/list.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/list.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator returning the tiddlers whose title is listed in the operand tiddler\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.list = function(source,operator,options) {\n\tvar results = [],\n\t\ttr = $tw.utils.parseTextReference(operator.operand),\n\t\tcurrTiddlerTitle = options.widget &amp;&amp; options.widget.getVariable(\&quot;currentTiddler\&quot;),\n\t\tlist = options.wiki.getTiddlerList(tr.title || currTiddlerTitle,tr.field,tr.index);\n\tif(operator.prefix === \&quot;!\&quot;) {\n\t\tsource(function(tiddler,title) {\n\t\t\tif(list.indexOf(title) === -1) {\n\t\t\t\tresults.push(title);\n\t\t\t}\n\t\t});\n\t} else {\n\t\tresults = list;\n\t}\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/listed.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/listed.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/listed.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator returning all tiddlers that have the selected tiddlers in a list\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.listed = function(source,operator,options) {\n\tvar field = operator.operand || \&quot;list\&quot;,\n\t\tresults = [];\n\tsource(function(tiddler,title) {\n\t\t$tw.utils.pushTop(results,options.wiki.findListingsOfTiddler(title,field));\n\t});\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/listops.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/listops.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/listops.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operators for manipulating the current selection list\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nOrder a list\n*/\nexports.order = function(source,operator,options) {\n\tvar results = [];\n\tif(operator.operand.toLowerCase() === \&quot;reverse\&quot;) {\n\t\tsource(function(tiddler,title) {\n\t\t\tresults.unshift(title);\n\t\t});\n\t} else {\n\t\tsource(function(tiddler,title) {\n\t\t\tresults.push(title);\n\t\t});\n\t}\n\treturn results;\n};\n\n/*\nReverse list\n*/\nexports.reverse = function(source,operator,options) {\n\tvar results = [];\n\tsource(function(tiddler,title) {\n\t\tresults.unshift(title);\n\t});\n\treturn results;\n};\n\n/*\nFirst entry/entries in list\n*/\nexports.first = function(source,operator,options) {\n\tvar count = $tw.utils.getInt(operator.operand,1),\n\t\tresults = [];\n\tsource(function(tiddler,title) {\n\t\tresults.push(title);\n\t});\n\treturn results.slice(0,count);\n};\n\n/*\nLast entry/entries in list\n*/\nexports.last = function(source,operator,options) {\n\tvar count = $tw.utils.getInt(operator.operand,1),\n\t\tresults = [];\n\tsource(function(tiddler,title) {\n\t\tresults.push(title);\n\t});\n\treturn results.slice(-count);\n};\n\n/*\nAll but the first entry/entries of the list\n*/\nexports.rest = function(source,operator,options) {\n\tvar count = $tw.utils.getInt(operator.operand,1),\n\t\tresults = [];\n\tsource(function(tiddler,title) {\n\t\tresults.push(title);\n\t});\n\treturn results.slice(count);\n};\nexports.butfirst = exports.rest;\nexports.bf = exports.rest;\n\n/*\nAll but the last entry/entries of the list\n*/\nexports.butlast = function(source,operator,options) {\n\tvar count = $tw.utils.getInt(operator.operand,1),\n\t\tresults = [];\n\tsource(function(tiddler,title) {\n\t\tresults.push(title);\n\t});\n\treturn results.slice(0,-count);\n};\nexports.bl = exports.butlast;\n\n/*\nThe nth member of the list\n*/\nexports.nth = function(source,operator,options) {\n\tvar count = $tw.utils.getInt(operator.operand,1),\n\t\tresults = [];\n\tsource(function(tiddler,title) {\n\t\tresults.push(title);\n\t});\n\treturn results.slice(count - 1,count);\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/lookup.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/lookup.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/lookup.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator that looks up values via a title prefix\n\n[lookup:&lt;field&gt;[&lt;prefix&gt;]]\n\nPrepends the prefix to the selected items and returns the specified field value\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.lookup = function(source,operator,options) {\n\tvar results = [];\n\tsource(function(tiddler,title) {\n\t\tresults.push(options.wiki.getTiddlerText(operator.operand + title) || operator.suffix);\n\t});\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/match.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/match.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/match.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator for checking if a title matches a string\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.match = function(source,operator,options) {\n\tvar results = [],\n\t\tsuffixes = (operator.suffixes || [])[0] || [];\n\tif(suffixes.indexOf(\&quot;caseinsensitive\&quot;) !== -1) {\n\t\tif(operator.prefix === \&quot;!\&quot;) {\n\t\t\tsource(function(tiddler,title) {\n\t\t\t\tif(title.toLowerCase() !== (operator.operand || \&quot;\&quot;).toLowerCase()) {\n\t\t\t\t\tresults.push(title);\n\t\t\t\t}\n\t\t\t});\n\t\t} else {\n\t\t\tsource(function(tiddler,title) {\n\t\t\t\tif(title.toLowerCase() === (operator.operand || \&quot;\&quot;).toLowerCase()) {\n\t\t\t\t\tresults.push(title);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t} else {\n\t\tif(operator.prefix === \&quot;!\&quot;) {\n\t\t\tsource(function(tiddler,title) {\n\t\t\t\tif(title !== operator.operand) {\n\t\t\t\t\tresults.push(title);\n\t\t\t\t}\n\t\t\t});\n\t\t} else {\n\t\t\tsource(function(tiddler,title) {\n\t\t\t\tif(title === operator.operand) {\n\t\t\t\t\tresults.push(title);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/math.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/math.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/math.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operators for math. Unary/binary operators work on each item in turn, and return a new item list.\n\nSum/product/maxall/minall operate on the entire list, returning a single item.\n\nNote that strings are converted to numbers automatically. Trailing non-digits are ignored.\n\n* \&quot;\&quot; converts to 0\n* \&quot;12kk\&quot; converts to 12\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.negate = makeNumericBinaryOperator(\n\tfunction(a) {return -a}\n);\n\nexports.abs = makeNumericBinaryOperator(\n\tfunction(a) {return Math.abs(a)}\n);\n\nexports.ceil = makeNumericBinaryOperator(\n\tfunction(a) {return Math.ceil(a)}\n);\n\nexports.floor = makeNumericBinaryOperator(\n\tfunction(a) {return Math.floor(a)}\n);\n\nexports.round = makeNumericBinaryOperator(\n\tfunction(a) {return Math.round(a)}\n);\n\nexports.trunc = makeNumericBinaryOperator(\n\tfunction(a) {return Math.trunc(a)}\n);\n\nexports.untrunc = makeNumericBinaryOperator(\n\tfunction(a) {return Math.ceil(Math.abs(a)) * Math.sign(a)}\n);\n\nexports.sign = makeNumericBinaryOperator(\n\tfunction(a) {return Math.sign(a)}\n);\n\nexports.add = makeNumericBinaryOperator(\n\tfunction(a,b) {return a + b;}\n);\n\nexports.subtract = makeNumericBinaryOperator(\n\tfunction(a,b) {return a - b;}\n);\n\nexports.multiply = makeNumericBinaryOperator(\n\tfunction(a,b) {return a * b;}\n);\n\nexports.divide = makeNumericBinaryOperator(\n\tfunction(a,b) {return a / b;}\n);\n\nexports.remainder = makeNumericBinaryOperator(\n\tfunction(a,b) {return a % b;}\n);\n\nexports.max = makeNumericBinaryOperator(\n\tfunction(a,b) {return Math.max(a,b);}\n);\n\nexports.min = makeNumericBinaryOperator(\n\tfunction(a,b) {return Math.min(a,b);}\n);\n\nexports.fixed = makeNumericBinaryOperator(\n\tfunction(a,b) {return Number.prototype.toFixed.call(a,Math.min(Math.max(b,0),100));}\n);\n\nexports.precision = makeNumericBinaryOperator(\n\tfunction(a,b) {return Number.prototype.toPrecision.call(a,Math.min(Math.max(b,1),100));}\n);\n\nexports.exponential = makeNumericBinaryOperator(\n\tfunction(a,b) {return Number.prototype.toExponential.call(a,Math.min(Math.max(b,0),100));}\n);\n\nexports.power = makeNumericBinaryOperator(\n\tfunction(a,b) {return Math.pow(a,b);}\n);\n\nexports.log = makeNumericBinaryOperator(\n\tfunction(a,b) {\n\t\tif(b) {\n\t\t\treturn Math.log(a)/Math.log(b);\n\t\t} else {\n\t\t\treturn Math.log(a);\n\t\t}\n\t}\n);\n\nexports.sum = makeNumericReducingOperator(\n\tfunction(accumulator,value) {return accumulator + value},\n\t0 // Initial value\n);\n\nexports.product = makeNumericReducingOperator(\n\tfunction(accumulator,value) {return accumulator * value},\n\t1 // Initial value\n);\n\nexports.maxall = makeNumericReducingOperator(\n\tfunction(accumulator,value) {return Math.max(accumulator,value)},\n\t-Infinity // Initial value\n);\n\nexports.minall = makeNumericReducingOperator(\n\tfunction(accumulator,value) {return Math.min(accumulator,value)},\n\tInfinity // Initial value\n);\n\nfunction makeNumericBinaryOperator(fnCalc) {\n\treturn function(source,operator,options) {\n\t\tvar result = [],\n\t\t\tnumOperand = $tw.utils.parseNumber(operator.operand);\n\t\tsource(function(tiddler,title) {\n\t\t\tresult.push($tw.utils.stringifyNumber(fnCalc($tw.utils.parseNumber(title),numOperand)));\n\t\t});\n\t\treturn result;\n\t};\n}\n\nfunction makeNumericReducingOperator(fnCalc,initialValue) {\n\tinitialValue = initialValue || 0;\n\treturn function(source,operator,options) {\n\t\tvar result = [];\n\t\tsource(function(tiddler,title) {\n\t\t\tresult.push(title);\n\t\t});\n\t\treturn [$tw.utils.stringifyNumber(result.reduce(function(accumulator,currentValue) {\n\t\t\treturn fnCalc(accumulator,$tw.utils.parseNumber(currentValue));\n\t\t},initialValue))];\n\t};\n}\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/minlength.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/minlength.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/minlength.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator for filtering out titles that don't meet the minimum length in the operand\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.minlength = function(source,operator,options) {\n\tvar results = [],\n\t\tminLength = parseInt(operator.operand || \&quot;\&quot;,10) || 0;\n\tsource(function(tiddler,title) {\n\t\tif(title.length &gt;= minLength) {\n\t\t\tresults.push(title);\n\t\t}\n\t});\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/modules.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/modules.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/modules.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator for returning the titles of the modules of a given type in this wiki\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.modules = function(source,operator,options) {\n\tvar results = [];\n\tsource(function(tiddler,title) {\n\t\t$tw.utils.each($tw.modules.types[title],function(moduleInfo,moduleName) {\n\t\t\tresults.push(moduleName);\n\t\t});\n\t});\n\tresults.sort();\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/moduletypes.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/moduletypes.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/moduletypes.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator for returning the names of the module types in this wiki\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.moduletypes = function(source,operator,options) {\n\tvar results = [];\n\t$tw.utils.each($tw.modules.types,function(moduleInfo,type) {\n\t\tresults.push(type);\n\t});\n\tresults.sort();\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/next.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/next.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/next.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator returning the tiddler whose title occurs next in the list supplied in the operand tiddler\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.next = function(source,operator,options) {\n\tvar results = [],\n\t\tlist = options.wiki.getTiddlerList(operator.operand);\n\tsource(function(tiddler,title) {\n\t\tvar match = list.indexOf(title);\n\t\t// increment match and then test if result is in range\n\t\tmatch++;\n\t\tif(match &gt; 0 &amp;&amp; match &lt; list.length) {\n\t\t\tresults.push(list[match]);\n\t\t}\n\t});\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/plugintiddlers.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/plugintiddlers.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/plugintiddlers.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator for returning the titles of the shadow tiddlers within a plugin\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.plugintiddlers = function(source,operator,options) {\n\tvar results = [];\n\tsource(function(tiddler,title) {\n\t\tvar pluginInfo = options.wiki.getPluginInfo(title) || options.wiki.getTiddlerDataCached(title,{tiddlers:[]});\n\t\tif(pluginInfo &amp;&amp; pluginInfo.tiddlers) {\n\t\t\t$tw.utils.each(pluginInfo.tiddlers,function(fields,title) {\n\t\t\t\tresults.push(title);\n\t\t\t});\n\t\t}\n\t});\n\tresults.sort();\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/prefix.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/prefix.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/prefix.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator for checking if a title starts with a prefix\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.prefix = function(source,operator,options) {\n\tvar results = [];\n\tif(operator.prefix === \&quot;!\&quot;) {\n\t\tsource(function(tiddler,title) {\n\t\t\tif(title.substr(0,operator.operand.length) !== operator.operand) {\n\t\t\t\tresults.push(title);\n\t\t\t}\n\t\t});\n\t} else {\n\t\tsource(function(tiddler,title) {\n\t\t\tif(title.substr(0,operator.operand.length) === operator.operand) {\n\t\t\t\tresults.push(title);\n\t\t\t}\n\t\t});\n\t}\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/previous.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/previous.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/previous.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator returning the tiddler whose title occurs immediately prior in the list supplied in the operand tiddler\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.previous = function(source,operator,options) {\n\tvar results = [],\n\t\tlist = options.wiki.getTiddlerList(operator.operand);\n\tsource(function(tiddler,title) {\n\t\tvar match = list.indexOf(title);\n\t\t// increment match and then test if result is in range\n\t\tmatch--;\n\t\tif(match &gt;= 0) {\n\t\t\tresults.push(list[match]);\n\t\t}\n\t});\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/range.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/range.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/range.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator for generating a numeric range.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.range = function(source,operator,options) {\n\tvar results = [];\n\t// Split the operand into numbers delimited by these symbols\n\tvar parts = operator.operand.split(/[,:;]/g),\n\t\tbeg, end, inc, i, fixed = 0;\n\tfor (i=0; i&lt;parts.length; i++) {\n\t\t// Validate real number\n\t\tif(!/^\\s*[+-]?((\\d+(\\.\\d*)?)|(\\.\\d+))\\s*$/.test(parts[i])) {\n\t\t\treturn [\&quot;range: bad number \\\&quot;\&quot; + parts[i] + \&quot;\\\&quot;\&quot;];\n\t\t}\n\t\t// Count digits; the most precise number determines decimal places in output.\n\t\tvar frac = /\\.\\d+/.exec(parts[i]);\n\t\tif(frac) {\n\t\t\tfixed = Math.max(fixed,frac[0].length-1);\n\t\t}\n\t\tparts[i] = parseFloat(parts[i]);\n\t}\n\tswitch(parts.length) {\n\t\tcase 1:\n\t\t\tend = parts[0];\n\t\t\tif (end &gt;= 1) {\n\t\t\t\tbeg = 1;\n\t\t\t}\n\t\t\telse if (end &lt;= -1) {\n\t\t\t\tbeg = -1;\n\t\t\t}\n\t\t\telse {\n\t\t\t\treturn [];\n\t\t\t}\n\t\t\tinc = 1;\n\t\t\tbreak;\n\t\tcase 2:\n\t\t\tbeg = parts[0];\n\t\t\tend = parts[1];\n\t\t\tinc = 1;\n\t\t\tbreak;\n\t\tcase 3:\n\t\t\tbeg = parts[0];\n\t\t\tend = parts[1];\n\t\t\tinc = Math.abs(parts[2]);\n\t\t\tbreak;\n\t}\n\tif(inc === 0) {\n\t\treturn [\&quot;range: increment 0 causes infinite loop\&quot;];\n\t}\n\t// May need to count backwards\n\tvar direction = ((end &lt; beg) ? -1 : 1);\n\tinc *= direction;\n\t// Estimate number of resulting elements\n\tif((end - beg) / inc &gt; 10000) {\n\t\treturn [\&quot;range: too many steps (over 10K)\&quot;];\n\t}\n\t// Avoid rounding error on last step\n\tend += direction * 0.5 * Math.pow(0.1,fixed);\n\tvar safety = 10010;\n\t// Enumerate the range\n\tif (end&lt;beg) {\n\t\tfor(i=beg; i&gt;end; i+=inc) {\n\t\t\tresults.push(i.toFixed(fixed));\n\t\t\tif(--safety&lt;0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t} else {\n\t\tfor(i=beg; i&lt;end; i+=inc) {\n\t\t\tresults.push(i.toFixed(fixed));\n\t\t\tif(--safety&lt;0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\tif(safety&lt;0) {\n\t\treturn [\&quot;range: unexpectedly large output\&quot;];\n\t}\n\t// Reverse?\n\tif(operator.prefix === \&quot;!\&quot;) {\n\t\tresults.reverse();\n\t}\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/reduce.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/reduce.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/reduce.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator evaluates a subfilter for each item, making the running total available in the variable `accumulator`, and the current index available in the variable `index`\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.reduce = function(source,operator,options) {\n\t// Accumulate the list\n\tvar results = [];\n\tsource(function(tiddler,title) {\n\t\tresults.push(title);\n\t});\n\t// Run the filter over each item\n\tvar filterFn = options.wiki.compileFilter(operator.operand),\n\t\taccumulator = operator.operands[1] || \&quot;\&quot;;\n\tfor(var index=0; index&lt;results.length; index++) {\n\t\tvar title = results[index],\n\t\t\tlist = filterFn.call(options.wiki,options.wiki.makeTiddlerIterator([title]),{\n\t\t\t\tgetVariable: function(name) {\n\t\t\t\t\tswitch(name) {\n\t\t\t\t\t\tcase \&quot;currentTiddler\&quot;:\n\t\t\t\t\t\t\treturn \&quot;\&quot; + title;\n\t\t\t\t\t\tcase \&quot;accumulator\&quot;:\n\t\t\t\t\t\t\treturn \&quot;\&quot; + accumulator;\n\t\t\t\t\t\tcase \&quot;index\&quot;:\n\t\t\t\t\t\t\treturn \&quot;\&quot; + index;\n\t\t\t\t\t\tcase \&quot;revIndex\&quot;:\n\t\t\t\t\t\t\treturn \&quot;\&quot; + (results.length - 1 - index);\n\t\t\t\t\t\tcase \&quot;length\&quot;:\n\t\t\t\t\t\t\treturn \&quot;\&quot; + results.length;\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\treturn options.widget.getVariable(name);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\tif(list.length &gt; 0) {\n\t\t\taccumulator = \&quot;\&quot; + list[0];\n\t\t}\n\t}\n\tif(results.length &gt; 0) {\n\t\treturn [accumulator];\n\t} else {\n\t\treturn [];\n\t}\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/regexp.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/regexp.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/regexp.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator for regexp matching\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.regexp = function(source,operator,options) {\n\tvar results = [],\n\t\tfieldname = (operator.suffix || \&quot;title\&quot;).toLowerCase(),\n\t\tregexpString, regexp, flags = \&quot;\&quot;, match,\n\t\tgetFieldString = function(tiddler,title) {\n\t\t\tif(tiddler) {\n\t\t\t\treturn tiddler.getFieldString(fieldname);\n\t\t\t} else if(fieldname === \&quot;title\&quot;) {\n\t\t\t\treturn title;\n\t\t\t} else {\n\t\t\t\treturn null;\n\t\t\t}\n\t\t};\n\t// Process flags and construct regexp\n\tregexpString = operator.operand;\n\tmatch = /^\\(\\?([gim]+)\\)/.exec(regexpString);\n\tif(match) {\n\t\tflags = match[1];\n\t\tregexpString = regexpString.substr(match[0].length);\n\t} else {\n\t\tmatch = /\\(\\?([gim]+)\\)$/.exec(regexpString);\n\t\tif(match) {\n\t\t\tflags = match[1];\n\t\t\tregexpString = regexpString.substr(0,regexpString.length - match[0].length);\n\t\t}\n\t}\n\ttry {\n\t\tregexp = new RegExp(regexpString,flags);\n\t} catch(e) {\n\t\treturn [\&quot;\&quot; + e];\n\t}\n\t// Process the incoming tiddlers\n\tif(operator.prefix === \&quot;!\&quot;) {\n\t\tsource(function(tiddler,title) {\n\t\t\tvar text = getFieldString(tiddler,title);\n\t\t\tif(text !== null) {\n\t\t\t\tif(!regexp.exec(text)) {\n\t\t\t\t\tresults.push(title);\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t} else {\n\t\tsource(function(tiddler,title) {\n\t\t\tvar text = getFieldString(tiddler,title);\n\t\t\tif(text !== null) {\n\t\t\t\tif(!!regexp.exec(text)) {\n\t\t\t\t\tresults.push(title);\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t}\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/removeprefix.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/removeprefix.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/removeprefix.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator for removing a prefix from each title in the list. Titles that do not start with the prefix are removed.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.removeprefix = function(source,operator,options) {\n\tvar results = [];\n\tsource(function(tiddler,title) {\n\t\tif(title.substr(0,operator.operand.length) === operator.operand) {\n\t\t\tresults.push(title.substr(operator.operand.length));\n\t\t}\n\t});\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/removesuffix.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/removesuffix.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/removesuffix.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator for removing a suffix from each title in the list. Titles that do not end with the suffix are removed.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.removesuffix = function(source,operator,options) {\n\tvar results = [];\n\tsource(function(tiddler,title) {\n\t\tif(title &amp;&amp; title.substr(-operator.operand.length) === operator.operand) {\n\t\t\tresults.push(title.substr(0,title.length - operator.operand.length));\n\t\t}\n\t});\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/sameday.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/sameday.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/sameday.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator that selects tiddlers with a modified date field on the same day as the provided value.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.sameday = function(source,operator,options) {\n\tvar results = [],\n\t\tfieldName = operator.suffix || \&quot;modified\&quot;,\n\t\ttargetDate = (new Date($tw.utils.parseDate(operator.operand))).setHours(0,0,0,0);\n\t// Function to convert a date/time to a date integer\n\tsource(function(tiddler,title) {\n\t\tif(tiddler) {\n\t\t\tif(tiddler.getFieldDay(fieldName) === targetDate) {\n\t\t\t\tresults.push(title);\n\t\t\t}\n\t\t}\n\t});\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/search.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/search.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/search.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator for searching for the text in the operand tiddler\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.search = function(source,operator,options) {\n\tvar invert = operator.prefix === \&quot;!\&quot;;\n\tif(operator.suffixes) {\n\t\tvar hasFlag = function(flag) {\n\t\t\t\treturn (operator.suffixes[1] || []).indexOf(flag) !== -1;\n\t\t\t},\n\t\t\texcludeFields = false,\n\t\t\tfieldList = operator.suffixes[0] || [],\n\t\t\tfirstField = fieldList[0] || \&quot;\&quot;, \n\t\t\tfirstChar = firstField.charAt(0),\n\t\t\tfields;\n\t\tif(firstChar === \&quot;-\&quot;) {\n\t\t\tfields = [firstField.slice(1)].concat(fieldList.slice(1));\n\t\t\texcludeFields = true;\n\t\t} else if(fieldList[0] === \&quot;*\&quot;){\n\t\t\tfields = [];\n\t\t\texcludeFields = true;\n\t\t} else {\n\t\t\tfields = fieldList.slice(0);\n\t\t}\n\t\treturn options.wiki.search(operator.operand,{\n\t\t\tsource: source,\n\t\t\tinvert: invert,\n\t\t\tfield: fields,\n\t\t\texcludeField: excludeFields,\n\t\t\tcaseSensitive: hasFlag(\&quot;casesensitive\&quot;),\n\t\t\tliteral: hasFlag(\&quot;literal\&quot;),\n\t\t\twhitespace: hasFlag(\&quot;whitespace\&quot;),\n\t\t\tanchored: hasFlag(\&quot;anchored\&quot;),\n\t\t\tregexp: hasFlag(\&quot;regexp\&quot;),\n\t\t\twords: hasFlag(\&quot;words\&quot;)\n\t\t});\n\t} else {\n\t\treturn options.wiki.search(operator.operand,{\n\t\t\tsource: source,\n\t\t\tinvert: invert\n\t\t});\n\t}\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/shadowsource.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/shadowsource.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/shadowsource.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator for returning the source plugins for shadow tiddlers\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.shadowsource = function(source,operator,options) {\n\tvar results = [];\n\tsource(function(tiddler,title) {\n\t\tvar source = options.wiki.getShadowSource(title);\n\t\tif(source) {\n\t\t\t$tw.utils.pushTop(results,source);\n\t\t}\n\t});\n\tresults.sort();\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/slugify.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/slugify.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/slugify.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator for slugifying a tiddler title\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.slugify = function(source,operator,options) {\n\tvar results = [];\n\tsource(function(tiddler,title) {\n\t\tresults.push(options.wiki.slugify(title));\n\t});\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/sort.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/sort.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/sort.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator for sorting\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.sort = function(source,operator,options) {\n\tvar results = prepare_results(source);\n\toptions.wiki.sortTiddlers(results,operator.operand || \&quot;title\&quot;,operator.prefix === \&quot;!\&quot;,false,false);\n\treturn results;\n};\n\nexports.nsort = function(source,operator,options) {\n\tvar results = prepare_results(source);\n\toptions.wiki.sortTiddlers(results,operator.operand || \&quot;title\&quot;,operator.prefix === \&quot;!\&quot;,false,true);\n\treturn results;\n};\n\nexports.sortan = function(source, operator, options) {\n\tvar results = prepare_results(source);\n\toptions.wiki.sortTiddlers(results, operator.operand || \&quot;title\&quot;, operator.prefix === \&quot;!\&quot;,false,false,true);\n\treturn results;\n};\n\nexports.sortcs = function(source,operator,options) {\n\tvar results = prepare_results(source);\n\toptions.wiki.sortTiddlers(results,operator.operand || \&quot;title\&quot;,operator.prefix === \&quot;!\&quot;,true,false);\n\treturn results;\n};\n\nexports.nsortcs = function(source,operator,options) {\n\tvar results = prepare_results(source);\n\toptions.wiki.sortTiddlers(results,operator.operand || \&quot;title\&quot;,operator.prefix === \&quot;!\&quot;,true,true);\n\treturn results;\n};\n\nvar prepare_results = function (source) {\n\tvar results = [];\n\tsource(function(tiddler,title) {\n\t\tresults.push(title);\n\t});\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/sortsub.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/sortsub.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/sortsub.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator for sorting by a subfilter\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.sortsub = function(source,operator,options) {\n\t// Compile the subfilter\n\tvar filterFn = options.wiki.compileFilter(operator.operand);\n\t// Collect the input titles and the corresponding sort keys\n\tvar inputTitles = [],\n\t\tsortKeys = [];\n\tsource(function(tiddler,title) {\n\t\tinputTitles.push(title);\n\t\tvar r = filterFn.call(options.wiki,function(iterator) {\n\t\t\titerator(options.wiki.getTiddler(title),title);\n\t\t},{\n\t\t\tgetVariable: function(name) {\n\t\t\t\tif(name === \&quot;currentTiddler\&quot;) {\n\t\t\t\t\treturn title;\n\t\t\t\t} else {\n\t\t\t\t\treturn options.widget.getVariable(name);\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\tsortKeys.push(r[0] || \&quot;\&quot;);\n\t});\n\t// Rather than sorting the titles array, we'll sort the indexes so that we can consult both arrays\n\tvar indexes = new Array(inputTitles.length);\n\tfor(var t=0; t&lt;inputTitles.length; t++) {\n\t\tindexes[t] = t;\n\t}\n\t// Sort the indexes\n\tvar compareFn = $tw.utils.makeCompareFunction(operator.suffix,{defaultType: \&quot;string\&quot;,invert: operator.prefix === \&quot;!\&quot;});\n\tindexes = indexes.sort(function(a,b) {\n\t\treturn compareFn(sortKeys[a],sortKeys[b]);\n\t});\n\t// Make the results array in order\n\tvar results = [];\n\t$tw.utils.each(indexes,function(index) {\n\t\tresults.push(inputTitles[index]);\n\t});\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/splitbefore.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/splitbefore.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/splitbefore.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator that splits each result on the first occurance of the specified separator and returns the unique values.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.splitbefore = function(source,operator,options) {\n\tvar results = [];\n\tsource(function(tiddler,title) {\n\t\tvar parts = title.split(operator.operand);\n\t\tif(parts.length === 1) {\n\t\t\t$tw.utils.pushTop(results,parts[0]);\n\t\t} else {\n\t\t\t$tw.utils.pushTop(results,parts[0] + operator.operand);\n\t\t}\n\t});\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/storyviews.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/storyviews.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/storyviews.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator for returning the names of the story views in this wiki\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.storyviews = function(source,operator,options) {\n\tvar results = [],\n\t\tstoryviews = {};\n\t$tw.modules.applyMethods(\&quot;storyview\&quot;,storyviews);\n\t$tw.utils.each(storyviews,function(info,name) {\n\t\tresults.push(name);\n\t});\n\tresults.sort();\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/strings.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/strings.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/strings.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operators for strings. Unary/binary operators work on each item in turn, and return a new item list.\n\nSum/product/maxall/minall operate on the entire list, returning a single item.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.length = makeStringBinaryOperator(\n\tfunction(a) {return [\&quot;\&quot; + (\&quot;\&quot; + a).length];}\n);\n\nexports.uppercase = makeStringBinaryOperator(\n\tfunction(a) {return [(\&quot;\&quot; + a).toUpperCase()];}\n);\n\nexports.lowercase = makeStringBinaryOperator(\n\tfunction(a) {return [(\&quot;\&quot; + a).toLowerCase()];}\n);\n\nexports.sentencecase = makeStringBinaryOperator(\n\tfunction(a) {return [$tw.utils.toSentenceCase(a)];}\n);\n\nexports.titlecase = makeStringBinaryOperator(\n\tfunction(a) {return [$tw.utils.toTitleCase(a)];}\n);\n\nexports.trim = function(source,operator,options) {\n\tvar result = [],\n\t\tsuffix = operator.suffix || \&quot;\&quot;,\n\t\toperand = (operator.operand || \&quot;\&quot;),\n\t\tfnCalc;\n\tif(suffix === \&quot;prefix\&quot;) {\n\t\tfnCalc = function(a,b) {return [$tw.utils.trimPrefix(a,b)];}\n\t} else if(suffix === \&quot;suffix\&quot;) {\n\t\tfnCalc = function(a,b) {return [$tw.utils.trimSuffix(a,b)];}\n\t} else {\n\t\tif(operand === \&quot;\&quot;) {\n\t\t\tfnCalc = function(a) {return [$tw.utils.trim(a)];}\n\t\t} else {\n\t\t\tfnCalc = function(a,b) {return [$tw.utils.trimSuffix($tw.utils.trimPrefix(a,b),b)];}\n\t\t}\n\t}\n\tsource(function(tiddler,title) {\n\t\tArray.prototype.push.apply(result,fnCalc(title,operand));\n\t});\n\treturn result;\n};\n\nexports.split = makeStringBinaryOperator(\n\tfunction(a,b) {return (\&quot;\&quot; + a).split(b);}\n);\n\nexports[\&quot;enlist-input\&quot;] = makeStringBinaryOperator(\n\tfunction(a,o,s) {return $tw.utils.parseStringArray(\&quot;\&quot; + a,(s === \&quot;raw\&quot;));}\n);\n\nexports.join = makeStringReducingOperator(\n\tfunction(accumulator,value,operand) {\n\t\tif(accumulator === null) {\n\t\t\treturn value;\n\t\t} else {\n\t\t\treturn accumulator + operand + value;\n\t\t}\n\t},null\n);\n\nfunction makeStringBinaryOperator(fnCalc) {\n\treturn function(source,operator,options) {\n\t\tvar result = [];\n\t\tsource(function(tiddler,title) {\n\t\t\tArray.prototype.push.apply(result,fnCalc(title,operator.operand || \&quot;\&quot;,operator.suffix || \&quot;\&quot;));\n\t\t});\n\t\treturn result;\n\t};\n}\n\nfunction makeStringReducingOperator(fnCalc,initialValue) {\n\treturn function(source,operator,options) {\n\t\tvar result = [];\n\t\tsource(function(tiddler,title) {\n\t\t\tresult.push(title);\n\t\t});\n\t\tif(result.length === 0) {\n\t\t\treturn [];\n\t\t}\n\t\treturn [result.reduce(function(accumulator,currentValue) {\n\t\t\treturn fnCalc(accumulator,currentValue,operator.operand || \&quot;\&quot;);\n\t\t},initialValue) || \&quot;\&quot;];\n\t};\n}\n\nexports.splitregexp = function(source,operator,options) {\n\tvar result = [],\n\t\tsuffix = operator.suffix || \&quot;\&quot;,\n\t\tflags = (suffix.indexOf(\&quot;m\&quot;) !== -1 ? \&quot;m\&quot; : \&quot;\&quot;) + (suffix.indexOf(\&quot;i\&quot;) !== -1 ? \&quot;i\&quot; : \&quot;\&quot;),\n\t\tregExp;\n\ttry {\n\t\tregExp = new RegExp(operator.operand || \&quot;\&quot;,flags);\t\t\n\t} catch(ex) {\n\t\treturn [\&quot;RegExp error: \&quot; + ex];\n\t}\n\tsource(function(tiddler,title) {\n\t\tArray.prototype.push.apply(result,title.split(regExp));\n\t});\t\t\n\treturn result;\n};\n\nexports[\&quot;search-replace\&quot;] = function(source,operator,options) {\n\tvar results = [],\n\t\tsuffixes = operator.suffixes || [],\n\t\tflagSuffix = (suffixes[0] ? (suffixes[0][0] || \&quot;\&quot;) : \&quot;\&quot;),\n\t\tflags = (flagSuffix.indexOf(\&quot;g\&quot;) !== -1 ? \&quot;g\&quot; : \&quot;\&quot;) + (flagSuffix.indexOf(\&quot;i\&quot;) !== -1 ? \&quot;i\&quot; : \&quot;\&quot;),\n\t\tisRegExp = (suffixes[1] &amp;&amp; suf
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/subfilter.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/subfilter.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/subfilter.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator returning its operand evaluated as a filter\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.subfilter = function(source,operator,options) {\n\tvar list = options.wiki.filterTiddlers(operator.operand,options.widget,source);\n\tif(operator.prefix === \&quot;!\&quot;) {\n\t\tvar results = [];\n\t\tsource(function(tiddler,title) {\n\t\t\tif(list.indexOf(title) === -1) {\n\t\t\t\tresults.push(title);\n\t\t\t}\n\t\t});\n\t\treturn results;\n\t} else {\n\t\treturn list;\n\t}\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/subtiddlerfields.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/subtiddlerfields.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/subtiddlerfields.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator for returning the names of the fields on the selected subtiddlers of the plugin named in the operand\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.subtiddlerfields = function(source,operator,options) {\n\tvar results = [];\n\tsource(function(tiddler,title) {\n\t\tvar subtiddler = options.wiki.getSubTiddler(operator.operand,title);\n\t\tif(subtiddler) {\n\t\t\tfor(var fieldName in subtiddler.fields) {\n\t\t\t\t$tw.utils.pushTop(results,fieldName);\n\t\t\t}\n\t\t}\n\t});\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/suffix.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/suffix.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/suffix.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator for checking if a title ends with a suffix\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.suffix = function(source,operator,options) {\n\tvar results = [];\n\tif(operator.prefix === \&quot;!\&quot;) {\n\t\tsource(function(tiddler,title) {\n\t\t\tif(title.substr(-operator.operand.length) !== operator.operand) {\n\t\t\t\tresults.push(title);\n\t\t\t}\n\t\t});\n\t} else {\n\t\tsource(function(tiddler,title) {\n\t\t\tif(title.substr(-operator.operand.length) === operator.operand) {\n\t\t\t\tresults.push(title);\n\t\t\t}\n\t\t});\n\t}\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/tag.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/tag.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/tag.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator for checking for the presence of a tag\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.tag = function(source,operator,options) {\n\tvar results = [],indexedResults;\n\tif((operator.suffix || \&quot;\&quot;).toLowerCase() === \&quot;strict\&quot; &amp;&amp; !operator.operand) {\n\t\t// New semantics:\n\t\t// Always return copy of input if operator.operand is missing\n\t\tsource(function(tiddler,title) {\n\t\t\tresults.push(title);\n\t\t});\n\t} else {\n\t\t// Old semantics:\n\t\tvar tiddlers;\n\t\tif(operator.prefix === \&quot;!\&quot;) {\n\t\t\t// Returns a copy of the input if operator.operand is missing\n\t\t\ttiddlers = options.wiki.getTiddlersWithTag(operator.operand);\n\t\t\tsource(function(tiddler,title) {\n\t\t\t\tif(tiddlers.indexOf(title) === -1) {\n\t\t\t\t\tresults.push(title);\n\t\t\t\t}\n\t\t\t});\n\t\t} else {\n\t\t\t// Returns empty results if operator.operand is missing\n\t\t\tif(source.byTag) {\n\t\t\t\tindexedResults = source.byTag(operator.operand);\n\t\t\t\tif(indexedResults) {\n\t\t\t\t\treturn indexedResults;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\ttiddlers = options.wiki.getTiddlersWithTag(operator.operand);\n\t\t\t\tsource(function(tiddler,title) {\n\t\t\t\t\tif(tiddlers.indexOf(title) !== -1) {\n\t\t\t\t\t\tresults.push(title);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\tresults = options.wiki.sortByList(results,operator.operand);\n\t\t\t}\n\t\t}\t\t\n\t}\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/tagging.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/tagging.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/tagging.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator returning all tiddlers that are tagged with the selected tiddlers\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.tagging = function(source,operator,options) {\n\tvar results = [];\n\tsource(function(tiddler,title) {\n\t\t$tw.utils.pushTop(results,options.wiki.getTiddlersWithTag(title));\n\t});\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/tags.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/tags.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/tags.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator returning all the tags of the selected tiddlers\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.tags = function(source,operator,options) {\n\tvar tags = {};\n\tsource(function(tiddler,title) {\n\t\tvar t, length;\n\t\tif(tiddler &amp;&amp; tiddler.fields.tags) {\n\t\t\tfor(t=0, length=tiddler.fields.tags.length; t&lt;length; t++) {\n\t\t\t\ttags[tiddler.fields.tags[t]] = true;\n\t\t\t}\n\t\t}\n\t});\n\treturn Object.keys(tags);\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/then.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/then.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/then.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator for replacing any titles with a constant\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.then = function(source,operator,options) {\n\tvar results = [];\n\tsource(function(tiddler,title) {\n\t\tresults.push(operator.operand);\n\t});\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/title.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/title.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/title.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator for comparing title fields for equality\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.title = function(source,operator,options) {\n\tvar results = [];\n\tif(operator.prefix === \&quot;!\&quot;) {\n\t\tsource(function(tiddler,title) {\n\t\t\tif(tiddler &amp;&amp; tiddler.fields.title !== operator.operand) {\n\t\t\t\tresults.push(title);\n\t\t\t}\n\t\t});\n\t} else {\n\t\tresults.push(operator.operand);\n\t}\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/untagged.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/untagged.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/untagged.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator returning all the selected tiddlers that are untagged\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.untagged = function(source,operator,options) {\n\tvar results = [];\n\tif(operator.prefix === \&quot;!\&quot;) {\n\t\tsource(function(tiddler,title) {\n\t\t\tif(tiddler &amp;&amp; $tw.utils.isArray(tiddler.fields.tags) &amp;&amp; tiddler.fields.tags.length &gt; 0) {\n\t\t\t\t$tw.utils.pushTop(results,title);\n\t\t\t}\n\t\t});\n\t} else {\n\t\tsource(function(tiddler,title) {\n\t\t\tif(!tiddler || !tiddler.hasField(\&quot;tags\&quot;) || ($tw.utils.isArray(tiddler.fields.tags) &amp;&amp; tiddler.fields.tags.length === 0)) {\n\t\t\t\t$tw.utils.pushTop(results,title);\n\t\t\t}\n\t\t});\n\t}\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/variables.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/variables.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/variables.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator for returning the names of the active variables\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.variables = function(source,operator,options) {\n\tvar names = [];\n\tfor(var variable in options.widget.variables) {\n\t\tnames.push(variable);\n\t}\n\treturn names.sort();\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/wikiparserrules.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/wikiparserrules.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/wikiparserrules.js\ntype: application/javascript\nmodule-type: filteroperator\n\nFilter operator for returning the names of the wiki parser rules in this wiki\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.wikiparserrules = function(source,operator,options) {\n\tvar results = [],\n\t\toperand = operator.operand;\n\t$tw.utils.each($tw.modules.types.wikirule,function(mod) {\n\t\tvar exp = mod.exports;\n\t\tif(!operand || exp.types[operand]) {\n\t\t\tresults.push(exp.name);\n\t\t}\n\t});\n\tresults.sort();\n\treturn results;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters/x-listops.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters/x-listops.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/x-listops.js\ntype: application/javascript\nmodule-type: filteroperator\n\nExtended filter operators to manipulate the current list.\n\n\\*/\n(function () {\n\n\t/*jslint node: true, browser: true */\n\t/*global $tw: false */\n\t\&quot;use strict\&quot;;\n\n\t/*\n\tFetch titles from the current list\n\t*/\n\tvar prepare_results = function (source) {\n\tvar results = [];\n\t\tsource(function (tiddler, title) {\n\t\t\tresults.push(title);\n\t\t});\n\t\treturn results;\n\t};\n\n\t/*\n\tMoves a number of items from the tail of the current list before the item named in the operand\n\t*/\n\texports.putbefore = function (source, operator) {\n\t\tvar results = prepare_results(source),\n\t\t\tindex = results.indexOf(operator.operand),\n\t\t\tcount = $tw.utils.getInt(operator.suffix,1);\n\t\treturn (index === -1) ?\n\t\t\tresults.slice(0, -1) :\n\t\t\tresults.slice(0, index).concat(results.slice(-count)).concat(results.slice(index, -count));\n\t};\n\n\t/*\n\tMoves a number of items from the tail of the current list after the item named in the operand\n\t*/\n\texports.putafter = function (source, operator) {\n\t\tvar results = prepare_results(source),\n\t\t\tindex = results.indexOf(operator.operand),\n\t\t\tcount = $tw.utils.getInt(operator.suffix,1);\n\t\treturn (index === -1) ?\n\t\t\tresults.slice(0, -1) :\n\t\t\tresults.slice(0, index + 1).concat(results.slice(-count)).concat(results.slice(index + 1, -count));\n\t};\n\n\t/*\n\tReplaces the item named in the operand with a number of items from the tail of the current list\n\t*/\n\texports.replace = function (source, operator) {\n\t\tvar results = prepare_results(source),\n\t\t\tindex = results.indexOf(operator.operand),\n\t\t\tcount = $tw.utils.getInt(operator.suffix,1);\n\t\treturn (index === -1) ?\n\t\t\tresults.slice(0, -count) :\n\t\t\tresults.slice(0, index).concat(results.slice(-count)).concat(results.slice(index + 1, -count));\n\t};\n\n\t/*\n\tMoves a number of items from the tail of the current list to the head of the list\n\t*/\n\texports.putfirst = function (source, operator) {\n\t\tvar results = prepare_results(source),\n\t\t\tcount = $tw.utils.getInt(operator.suffix,1);\n\t\treturn results.slice(-count).concat(results.slice(0, -count));\n\t};\n\n\t/*\n\tMoves a number of items from the head of the current list to the tail of the list\n\t*/\n\texports.putlast = function (source, operator) {\n\t\tvar results = prepare_results(source),\n\t\t\tcount = $tw.utils.getInt(operator.suffix,1);\n\t\treturn results.slice(count).concat(results.slice(0, count));\n\t};\n\n\t/*\n\tMoves the item named in the operand a number of places forward or backward in the list\n\t*/\n\texports.move = function (source, operator) {\n\t\tvar results = prepare_results(source),\n\t\t\tindex = results.indexOf(operator.operand),\n\t\t\tcount = $tw.utils.getInt(operator.suffix,1),\n\t\t\tmarker = results.splice(index, 1),\n\t\t\toffset = (index + count) &gt; 0 ? index + count : 0;\n\t\treturn results.slice(0, offset).concat(marker).concat(results.slice(offset));\n\t};\n\n\t/*\n\tReturns the items from the current list that are after the item named in the operand\n\t*/\n\texports.allafter = function (source, operator) {\n\t\tvar results = prepare_results(source),\n\t\t\tindex = results.indexOf(operator.operand);\n\t\treturn (index === -1) ? [] :\n\t\t\t(operator.suffix) ? results.slice(index) :\n\t\t\tresults.slice(index + 1);\n\t};\n\n\t/*\n\tReturns the items from the current list that are before the item named in the operand\n\t*/\n\texports.allbefore = function (source, operator) {\n\t\tvar results = prepare_results(source),\n\t\t\tindex = results.indexOf(operator.operand);\n\t\treturn (index === -1) ? [] :\n\t\t\t(operator.suffix) ? results.slice(0, index + 1) :\n\t\t\tresults.slice(0, index);\n\t};\n\n\t/*\n\tAppends the items listed in the operand array to the tail of the current list\n\t*/\n\texports.append = function (source, operator) {\n\t\tvar append = $tw.utils.parseStringArray(operator.operand, \&quot;true\&quot;),
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/core/modules/filters.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/filters.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters.js\ntype: application/javascript\nmodule-type: wikimethod\n\nAdds tiddler filtering methods to the $tw.Wiki object.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nParses an operation (i.e. a run) within a filter string\n\toperators: Array of array of operator nodes into which results should be inserted\n\tfilterString: filter string\n\tp: start position within the string\nReturns the new start position, after the parsed operation\n*/\nfunction parseFilterOperation(operators,filterString,p) {\n\tvar nextBracketPos, operator;\n\t// Skip the starting square bracket\n\tif(filterString.charAt(p++) !== \&quot;[\&quot;) {\n\t\tthrow \&quot;Missing [ in filter expression\&quot;;\n\t}\n\t// Process each operator in turn\n\tdo {\n\t\toperator = {};\n\t\t// Check for an operator prefix\n\t\tif(filterString.charAt(p) === \&quot;!\&quot;) {\n\t\t\toperator.prefix = filterString.charAt(p++);\n\t\t}\n\t\t// Get the operator name\n\t\tnextBracketPos = filterString.substring(p).search(/[\\[\\{&lt;\\/]/);\n\t\tif(nextBracketPos === -1) {\n\t\t\tthrow \&quot;Missing [ in filter expression\&quot;;\n\t\t}\n\t\tnextBracketPos += p;\n\t\tvar bracket = filterString.charAt(nextBracketPos);\n\t\toperator.operator = filterString.substring(p,nextBracketPos);\n\t\t// Any suffix?\n\t\tvar colon = operator.operator.indexOf(':');\n\t\tif(colon &gt; -1) {\n\t\t\t// The raw suffix for older filters\n\t\t\toperator.suffix = operator.operator.substring(colon + 1);\n\t\t\toperator.operator = operator.operator.substring(0,colon) || \&quot;field\&quot;;\n\t\t\t// The processed suffix for newer filters\n\t\t\toperator.suffixes = [];\n\t\t\t$tw.utils.each(operator.suffix.split(\&quot;:\&quot;),function(subsuffix) {\n\t\t\t\toperator.suffixes.push([]);\n\t\t\t\t$tw.utils.each(subsuffix.split(\&quot;,\&quot;),function(entry) {\n\t\t\t\t\tentry = $tw.utils.trim(entry);\n\t\t\t\t\tif(entry) {\n\t\t\t\t\t\toperator.suffixes[operator.suffixes.length - 1].push(entry); \n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t});\n\t\t}\n\t\t// Empty operator means: title\n\t\telse if(operator.operator === \&quot;\&quot;) {\n\t\t\toperator.operator = \&quot;title\&quot;;\n\t\t}\n\t\toperator.operands = [];\n\t\tfunction parseOperand(bracketType) {\n\t\t\tvar operand = {};\n\t\t\tswitch (bracketType) {\n\t\t\t\tcase \&quot;{\&quot;: // Curly brackets\n\t\t\t\t\toperand.indirect = true;\n\t\t\t\t\tnextBracketPos = filterString.indexOf(\&quot;}\&quot;,p);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \&quot;[\&quot;: // Square brackets\n\t\t\t\t\tnextBracketPos = filterString.indexOf(\&quot;]\&quot;,p);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \&quot;&lt;\&quot;: // Angle brackets\n\t\t\t\t\toperand.variable = true;\n\t\t\t\t\tnextBracketPos = filterString.indexOf(\&quot;&gt;\&quot;,p);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \&quot;/\&quot;: // regexp brackets\n\t\t\t\t\tvar rex = /^((?:[^\\\\\\/]*|\\\\.)*)\\/(?:\\(([mygi]+)\\))?/g,\n\t\t\t\t\t\trexMatch = rex.exec(filterString.substring(p));\n\t\t\t\t\tif(rexMatch) {\n\t\t\t\t\t\toperator.regexp = new RegExp(rexMatch[1], rexMatch[2]);\n\t// DEPRECATION WARNING\n\tconsole.log(\&quot;WARNING: Filter\&quot;,operator.operator,\&quot;has a deprecated regexp operand\&quot;,operator.regexp);\n\t\t\t\t\t\tnextBracketPos = p + rex.lastIndex - 1;\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tthrow \&quot;Unterminated regular expression in filter expression\&quot;;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif(nextBracketPos === -1) {\n\t\t\t\tthrow \&quot;Missing closing bracket in filter expression\&quot;;\n\t\t\t}\n\t\t\tif(!operator.regexp) {\n\t\t\t\toperand.text = filterString.substring(p,nextBracketPos);\n\t\t\t\toperator.operands.push(operand);\n\t\t\t}\n\t\t\tp = nextBracketPos + 1;\n\t\t}\n\t\t\n\t\tp = nextBracketPos + 1;\n\t\tparseOperand(bracket);\n\t\t\n\t\t// Check for multiple operands\n\t\twhile(filterString.charAt(p) === \&quot;,\&quot;) {\n\t\t\tp++;\n\t\t\tif(/^[\\[\\{&lt;\\/]/.test(filterString.substring(p))) {\n\t
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;wikimethod&quot;
},
&quot;$:/core/modules/indexers/backlinks-indexer.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/indexers/backlinks-indexer.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/indexers/backlinks-indexer.js\ntype: application/javascript\nmodule-type: indexer\n\nIndexes the tiddlers' backlinks\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global modules: false */\n\&quot;use strict\&quot;;\n\n\nfunction BacklinksIndexer(wiki) {\n\tthis.wiki = wiki;\n}\n\nBacklinksIndexer.prototype.init = function() {\n\tthis.index = null;\n}\n\nBacklinksIndexer.prototype.rebuild = function() {\n\tthis.index = null;\n}\n\nBacklinksIndexer.prototype._getLinks = function(tiddler) {\n\tvar parser = this.wiki.parseText(tiddler.fields.type, tiddler.fields.text, {});\n\tif(parser) {\n\t\treturn this.wiki.extractLinks(parser.tree);\n\t}\n\treturn [];\n}\n\nBacklinksIndexer.prototype.update = function(updateDescriptor) {\n\tif(!this.index) {\n\t\treturn;\n\t}\n\tvar newLinks = [],\n\t oldLinks = [],\n\t self = this;\n\tif(updateDescriptor.old.exists) {\n\t\toldLinks = this._getLinks(updateDescriptor.old.tiddler);\n\t}\n\tif(updateDescriptor.new.exists) {\n\t\tnewLinks = this._getLinks(updateDescriptor.new.tiddler);\n\t}\n\n\t$tw.utils.each(oldLinks,function(link) {\n\t\tif(self.index[link]) {\n\t\t\tdelete self.index[link][updateDescriptor.old.tiddler.fields.title];\n\t\t}\n\t});\n\t$tw.utils.each(newLinks,function(link) {\n\t\tif(!self.index[link]) {\n\t\t\tself.index[link] = Object.create(null);\n\t\t}\n\t\tself.index[link][updateDescriptor.new.tiddler.fields.title] = true;\n\t});\n}\n\nBacklinksIndexer.prototype.lookup = function(title) {\n\tif(!this.index) {\n\t\tthis.index = Object.create(null);\n\t\tvar self = this;\n\t\tthis.wiki.forEachTiddler(function(title,tiddler) {\n\t\t\tvar links = self._getLinks(tiddler);\n\t\t\t$tw.utils.each(links, function(link) {\n\t\t\t\tif(!self.index[link]) {\n\t\t\t\t\tself.index[link] = Object.create(null);\n\t\t\t\t}\n\t\t\t\tself.index[link][title] = true;\n\t\t\t});\n\t\t});\n\t}\n\tif(this.index[title]) {\n\t\treturn Object.keys(this.index[title]);\n\t} else {\n\t\treturn [];\n\t}\n}\n\nexports.BacklinksIndexer = BacklinksIndexer;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;indexer&quot;
},
&quot;$:/core/modules/indexers/field-indexer.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/indexers/field-indexer.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/indexers/field-indexer.js\ntype: application/javascript\nmodule-type: indexer\n\nIndexes the tiddlers with each field value\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global modules: false */\n\&quot;use strict\&quot;;\n\nvar DEFAULT_MAXIMUM_INDEXED_VALUE_LENGTH = 128;\n\nfunction FieldIndexer(wiki) {\n\tthis.wiki = wiki;\n}\n\nFieldIndexer.prototype.init = function() {\n\tthis.index = null;\n\tthis.maxIndexedValueLength = DEFAULT_MAXIMUM_INDEXED_VALUE_LENGTH;\n\tthis.addIndexMethods();\n}\n\n// Provided for testing\nFieldIndexer.prototype.setMaxIndexedValueLength = function(length) {\n\tthis.index = null;\n\tthis.maxIndexedValueLength = length;\n};\n\nFieldIndexer.prototype.addIndexMethods = function() {\n\tvar self = this;\n\tthis.wiki.each.byField = function(name,value) {\n\t\tvar titles = self.wiki.allTitles(),\n\t\t\tlookup = self.lookup(name,value);\n\t\treturn lookup &amp;&amp; lookup.filter(function(title) {\n\t\t\treturn titles.indexOf(title) !== -1;\n\t\t});\n\t};\n\tthis.wiki.eachShadow.byField = function(name,value) {\n\t\tvar titles = self.wiki.allShadowTitles(),\n\t\t\tlookup = self.lookup(name,value);\n\t\treturn lookup &amp;&amp; lookup.filter(function(title) {\n\t\t\treturn titles.indexOf(title) !== -1;\n\t\t});\n\t};\n\tthis.wiki.eachTiddlerPlusShadows.byField = function(name,value) {\n\t\tvar lookup = self.lookup(name,value);\n\t\treturn lookup ? lookup.slice(0) : null;\n\t};\n\tthis.wiki.eachShadowPlusTiddlers.byField = function(name,value) {\n\t\tvar lookup = self.lookup(name,value);\n\t\treturn lookup ? lookup.slice(0) : null;\n\t};\n};\n\n/*\nTear down and then rebuild the index as if all tiddlers have changed\n*/\nFieldIndexer.prototype.rebuild = function() {\n\t// Invalidate the index so that it will be rebuilt when it is next used\n\tthis.index = null;\n};\n\n/*\nBuild the index for a particular field\n*/\nFieldIndexer.prototype.buildIndexForField = function(name) {\n\tvar self = this;\n\t// Hashmap by field name of hashmap by field value of array of tiddler titles\n\tthis.index = this.index || Object.create(null);\n\tthis.index[name] = Object.create(null);\n\tvar baseIndex = this.index[name];\n\t// Update the index for each tiddler\n\tthis.wiki.eachTiddlerPlusShadows(function(tiddler,title) {\n\t\tif(name in tiddler.fields) {\n\t\t\tvar value = tiddler.getFieldString(name);\n\t\t\t// Skip any values above the maximum length\n\t\t\tif(value.length &lt; self.maxIndexedValueLength) {\n\t\t\t\tbaseIndex[value] = baseIndex[value] || [];\n\t\t\t\tbaseIndex[value].push(title);\n\t\t\t}\n\t\t}\n\t});\n};\n\n/*\nUpdate the index in the light of a tiddler value changing; note that the title must be identical. (Renames are handled as a separate delete and create)\nupdateDescriptor: {old: {tiddler: &lt;tiddler&gt;, shadow: &lt;boolean&gt;, exists: &lt;boolean&gt;},new: {tiddler: &lt;tiddler&gt;, shadow: &lt;boolean&gt;, exists: &lt;boolean&gt;}}\n*/\nFieldIndexer.prototype.update = function(updateDescriptor) {\n\tvar self = this;\n\t// Don't do anything if the index hasn't been built yet\n\tif(this.index === null) {\n\t\treturn;\n\t}\n\t// Remove the old tiddler from the index\n\tif(updateDescriptor.old.tiddler) {\n\t\t$tw.utils.each(this.index,function(indexEntry,name) {\n\t\t\tif(name in updateDescriptor.old.tiddler.fields) {\n\t\t\t\tvar value = updateDescriptor.old.tiddler.getFieldString(name),\n\t\t\t\t\ttiddlerList = indexEntry[value];\n\t\t\t\tif(tiddlerList) {\n\t\t\t\t\tvar index = tiddlerList.indexOf(updateDescriptor.old.tiddler.fields.title);\n\t\t\t\t\tif(index !== -1) {\n\t\t\t\t\t\ttiddlerList.splice(index,1);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t}\n\t// Add the new tiddler to the index\n\tif(updateDescriptor[\&quot;new\&quot;].tiddler) {\n\t\t$tw.utils.each(this.index,function(indexEntry,name) {\n\t\t\tif(name in updateDescriptor[\&quot;new\&quot;].tiddler.fields) {\n\t\t\t\tvar value = updateDescriptor[\&quot;new\&quot;].tiddler.getFieldString(name);\n\t\t\t\tif(value.length &lt; self.maxIndexed
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;indexer&quot;
},
&quot;$:/core/modules/indexers/tag-indexer.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/indexers/tag-indexer.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/indexers/tag-indexer.js\ntype: application/javascript\nmodule-type: indexer\n\nIndexes the tiddlers with each tag\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global modules: false */\n\&quot;use strict\&quot;;\n\nfunction TagIndexer(wiki) {\n\tthis.wiki = wiki;\n}\n\nTagIndexer.prototype.init = function() {\n\tthis.subIndexers = [\n\t\tnew TagSubIndexer(this,\&quot;each\&quot;),\n\t\tnew TagSubIndexer(this,\&quot;eachShadow\&quot;),\n\t\tnew TagSubIndexer(this,\&quot;eachTiddlerPlusShadows\&quot;),\n\t\tnew TagSubIndexer(this,\&quot;eachShadowPlusTiddlers\&quot;)\n\t];\n\t$tw.utils.each(this.subIndexers,function(subIndexer) {\n\t\tsubIndexer.addIndexMethod();\n\t});\n};\n\nTagIndexer.prototype.rebuild = function() {\n\t$tw.utils.each(this.subIndexers,function(subIndexer) {\n\t\tsubIndexer.rebuild();\n\t});\n};\n\nTagIndexer.prototype.update = function(updateDescriptor) {\n\t$tw.utils.each(this.subIndexers,function(subIndexer) {\n\t\tsubIndexer.update(updateDescriptor);\n\t});\n};\n\nfunction TagSubIndexer(indexer,iteratorMethod) {\n\tthis.indexer = indexer;\n\tthis.iteratorMethod = iteratorMethod;\n\tthis.index = null; // Hashmap of tag title to {isSorted: bool, titles: [array]} or null if not yet initialised\n}\n\nTagSubIndexer.prototype.addIndexMethod = function() {\n\tvar self = this;\n\tthis.indexer.wiki[this.iteratorMethod].byTag = function(tag) {\n\t\treturn self.lookup(tag).slice(0);\n\t};\n};\n\nTagSubIndexer.prototype.rebuild = function() {\n\tvar self = this;\n\t// Hashmap by tag of array of {isSorted:, titles:[]}\n\tthis.index = Object.create(null);\n\t// Add all the tags\n\tthis.indexer.wiki[this.iteratorMethod](function(tiddler,title) {\n\t\t$tw.utils.each(tiddler.fields.tags,function(tag) {\n\t\t\tif(!self.index[tag]) {\n\t\t\t\tself.index[tag] = {isSorted: false, titles: [title]};\n\t\t\t} else {\n\t\t\t\tself.index[tag].titles.push(title);\n\t\t\t}\n\t\t});\t\t\n\t});\n};\n\nTagSubIndexer.prototype.update = function(updateDescriptor) {\n\tthis.index = null;\n};\n\nTagSubIndexer.prototype.lookup = function(tag) {\n\t// Update the index if it has yet to be built\n\tif(this.index === null) {\n\t\tthis.rebuild();\n\t}\n\tvar indexRecord = this.index[tag];\n\tif(indexRecord) {\n\t\tif(!indexRecord.isSorted) {\n\t\t\tif(this.indexer.wiki.sortByList) {\n\t\t\t\tindexRecord.titles = this.indexer.wiki.sortByList(indexRecord.titles,tag);\n\t\t\t}\t\t\t\n\t\t\tindexRecord.isSorted = true;\n\t\t}\n\t\treturn indexRecord.titles;\n\t} else {\n\t\treturn [];\n\t}\n};\n\n\nexports.TagIndexer = TagIndexer;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;indexer&quot;
},
&quot;$:/core/modules/info/platform.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/info/platform.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/info/platform.js\ntype: application/javascript\nmodule-type: info\n\nInitialise basic platform $:/info/ tiddlers\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.getInfoTiddlerFields = function(updateInfoTiddlersCallback) {\n\tvar mapBoolean = function(value) {return value ? \&quot;yes\&quot; : \&quot;no\&quot;;},\n\t\tinfoTiddlerFields = [];\n\t// Basics\n\tinfoTiddlerFields.push({title: \&quot;$:/info/browser\&quot;, text: mapBoolean(!!$tw.browser)});\n\tinfoTiddlerFields.push({title: \&quot;$:/info/node\&quot;, text: mapBoolean(!!$tw.node)});\n\tinfoTiddlerFields.push({title: \&quot;$:/info/startup-timestamp\&quot;, text: $tw.utils.stringifyDate(new Date())});\n\tif($tw.browser) {\n\t\t// Document location\n\t\tvar setLocationProperty = function(name,value) {\n\t\t\t\tinfoTiddlerFields.push({title: \&quot;$:/info/url/\&quot; + name, text: value});\t\t\t\n\t\t\t},\n\t\t\tlocation = document.location;\n\t\tsetLocationProperty(\&quot;full\&quot;, (location.toString()).split(\&quot;#\&quot;)[0]);\n\t\tsetLocationProperty(\&quot;host\&quot;, location.host);\n\t\tsetLocationProperty(\&quot;hostname\&quot;, location.hostname);\n\t\tsetLocationProperty(\&quot;protocol\&quot;, location.protocol);\n\t\tsetLocationProperty(\&quot;port\&quot;, location.port);\n\t\tsetLocationProperty(\&quot;pathname\&quot;, location.pathname);\n\t\tsetLocationProperty(\&quot;search\&quot;, location.search);\n\t\tsetLocationProperty(\&quot;origin\&quot;, location.origin);\n\t\t// Screen size\n\t\tinfoTiddlerFields.push({title: \&quot;$:/info/browser/screen/width\&quot;, text: window.screen.width.toString()});\n\t\tinfoTiddlerFields.push({title: \&quot;$:/info/browser/screen/height\&quot;, text: window.screen.height.toString()});\n \t\t// Dark mode through event listener on MediaQueryList\n \t\tvar mqList = window.matchMedia(\&quot;(prefers-color-scheme: dark)\&quot;),\n \t\t\tgetDarkModeTiddler = function() {return {title: \&quot;$:/info/darkmode\&quot;, text: mqList.matches ? \&quot;yes\&quot; : \&quot;no\&quot;};};\n \t\tinfoTiddlerFields.push(getDarkModeTiddler());\n \t\tmqList.addListener(function(event) {\n \t\t\tupdateInfoTiddlersCallback([getDarkModeTiddler()]);\n \t\t});\n\t\t// Language\n\t\tinfoTiddlerFields.push({title: \&quot;$:/info/browser/language\&quot;, text: navigator.language || \&quot;\&quot;});\n\t}\n\treturn infoTiddlerFields;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;info&quot;
},
&quot;$:/core/modules/keyboard.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/keyboard.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/keyboard.js\ntype: application/javascript\nmodule-type: global\n\nKeyboard handling utilities\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar namedKeys = {\n\t\&quot;cancel\&quot;: 3,\n\t\&quot;help\&quot;: 6,\n\t\&quot;backspace\&quot;: 8,\n\t\&quot;tab\&quot;: 9,\n\t\&quot;clear\&quot;: 12,\n\t\&quot;return\&quot;: 13,\n\t\&quot;enter\&quot;: 13,\n\t\&quot;pause\&quot;: 19,\n\t\&quot;escape\&quot;: 27,\n\t\&quot;space\&quot;: 32,\n\t\&quot;page_up\&quot;: 33,\n\t\&quot;page_down\&quot;: 34,\n\t\&quot;end\&quot;: 35,\n\t\&quot;home\&quot;: 36,\n\t\&quot;left\&quot;: 37,\n\t\&quot;up\&quot;: 38,\n\t\&quot;right\&quot;: 39,\n\t\&quot;down\&quot;: 40,\n\t\&quot;printscreen\&quot;: 44,\n\t\&quot;insert\&quot;: 45,\n\t\&quot;delete\&quot;: 46,\n\t\&quot;0\&quot;: 48,\n\t\&quot;1\&quot;: 49,\n\t\&quot;2\&quot;: 50,\n\t\&quot;3\&quot;: 51,\n\t\&quot;4\&quot;: 52,\n\t\&quot;5\&quot;: 53,\n\t\&quot;6\&quot;: 54,\n\t\&quot;7\&quot;: 55,\n\t\&quot;8\&quot;: 56,\n\t\&quot;9\&quot;: 57,\n\t\&quot;firefoxsemicolon\&quot;: 59,\n\t\&quot;firefoxequals\&quot;: 61,\n\t\&quot;a\&quot;: 65,\n\t\&quot;b\&quot;: 66,\n\t\&quot;c\&quot;: 67,\n\t\&quot;d\&quot;: 68,\n\t\&quot;e\&quot;: 69,\n\t\&quot;f\&quot;: 70,\n\t\&quot;g\&quot;: 71,\n\t\&quot;h\&quot;: 72,\n\t\&quot;i\&quot;: 73,\n\t\&quot;j\&quot;: 74,\n\t\&quot;k\&quot;: 75,\n\t\&quot;l\&quot;: 76,\n\t\&quot;m\&quot;: 77,\n\t\&quot;n\&quot;: 78,\n\t\&quot;o\&quot;: 79,\n\t\&quot;p\&quot;: 80,\n\t\&quot;q\&quot;: 81,\n\t\&quot;r\&quot;: 82,\n\t\&quot;s\&quot;: 83,\n\t\&quot;t\&quot;: 84,\n\t\&quot;u\&quot;: 85,\n\t\&quot;v\&quot;: 86,\n\t\&quot;w\&quot;: 87,\n\t\&quot;x\&quot;: 88,\n\t\&quot;y\&quot;: 89,\n\t\&quot;z\&quot;: 90,\n\t\&quot;numpad0\&quot;: 96,\n\t\&quot;numpad1\&quot;: 97,\n\t\&quot;numpad2\&quot;: 98,\n\t\&quot;numpad3\&quot;: 99,\n\t\&quot;numpad4\&quot;: 100,\n\t\&quot;numpad5\&quot;: 101,\n\t\&quot;numpad6\&quot;: 102,\n\t\&quot;numpad7\&quot;: 103,\n\t\&quot;numpad8\&quot;: 104,\n\t\&quot;numpad9\&quot;: 105,\n\t\&quot;multiply\&quot;: 106,\n\t\&quot;add\&quot;: 107,\n\t\&quot;separator\&quot;: 108,\n\t\&quot;subtract\&quot;: 109,\n\t\&quot;decimal\&quot;: 110,\n\t\&quot;divide\&quot;: 111,\n\t\&quot;f1\&quot;: 112,\n\t\&quot;f2\&quot;: 113,\n\t\&quot;f3\&quot;: 114,\n\t\&quot;f4\&quot;: 115,\n\t\&quot;f5\&quot;: 116,\n\t\&quot;f6\&quot;: 117,\n\t\&quot;f7\&quot;: 118,\n\t\&quot;f8\&quot;: 119,\n\t\&quot;f9\&quot;: 120,\n\t\&quot;f10\&quot;: 121,\n\t\&quot;f11\&quot;: 122,\n\t\&quot;f12\&quot;: 123,\n\t\&quot;f13\&quot;: 124,\n\t\&quot;f14\&quot;: 125,\n\t\&quot;f15\&quot;: 126,\n\t\&quot;f16\&quot;: 127,\n\t\&quot;f17\&quot;: 128,\n\t\&quot;f18\&quot;: 129,\n\t\&quot;f19\&quot;: 130,\n\t\&quot;f20\&quot;: 131,\n\t\&quot;f21\&quot;: 132,\n\t\&quot;f22\&quot;: 133,\n\t\&quot;f23\&quot;: 134,\n\t\&quot;f24\&quot;: 135,\n\t\&quot;firefoxminus\&quot;: 173,\n\t\&quot;semicolon\&quot;: 186,\n\t\&quot;equals\&quot;: 187,\n\t\&quot;comma\&quot;: 188,\n\t\&quot;dash\&quot;: 189,\n\t\&quot;period\&quot;: 190,\n\t\&quot;slash\&quot;: 191,\n\t\&quot;backquote\&quot;: 192,\n\t\&quot;openbracket\&quot;: 219,\n\t\&quot;backslash\&quot;: 220,\n\t\&quot;closebracket\&quot;: 221,\n\t\&quot;quote\&quot;: 222\n};\n\nfunction KeyboardManager(options) {\n\tvar self = this;\n\toptions = options || \&quot;\&quot;;\n\t// Save the named key hashmap\n\tthis.namedKeys = namedKeys;\n\t// Create a reverse mapping of code to keyname\n\tthis.keyNames = [];\n\t$tw.utils.each(namedKeys,function(keyCode,name) {\n\t\tself.keyNames[keyCode] = name.substr(0,1).toUpperCase() + name.substr(1);\n\t});\n\t// Save the platform-specific name of the \&quot;meta\&quot; key\n\tthis.metaKeyName = $tw.platform.isMac ? \&quot;cmd-\&quot; : \&quot;win-\&quot;;\n\tthis.shortcutKeysList = [], // Stores the shortcut-key descriptors\n\tthis.shortcutActionList = [], // Stores the corresponding action strings\n\tthis.shortcutParsedList = []; // Stores the parsed key descriptors\n\tthis.loo
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;global&quot;
},
&quot;$:/core/modules/language.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/language.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/language.js\ntype: application/javascript\nmodule-type: global\n\nThe $tw.Language() manages translateable strings\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nCreate an instance of the language manager. Options include:\nwiki: wiki from which to retrieve translation tiddlers\n*/\nfunction Language(options) {\n\toptions = options || \&quot;\&quot;;\n\tthis.wiki = options.wiki || $tw.wiki;\n}\n\n/*\nReturn a wikified translateable string. The title is automatically prefixed with \&quot;$:/language/\&quot;\nOptions include:\nvariables: optional hashmap of variables to supply to the language wikification\n*/\nLanguage.prototype.getString = function(title,options) {\n\toptions = options || {};\n\ttitle = \&quot;$:/language/\&quot; + title;\n\treturn this.wiki.renderTiddler(\&quot;text/plain\&quot;,title,{variables: options.variables});\n};\n\n/*\nReturn a raw, unwikified translateable string. The title is automatically prefixed with \&quot;$:/language/\&quot;\n*/\nLanguage.prototype.getRawString = function(title) {\n\ttitle = \&quot;$:/language/\&quot; + title;\n\treturn this.wiki.getTiddlerText(title);\n};\n\nexports.Language = Language;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;global&quot;
},
&quot;$:/core/modules/macros/changecount.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/macros/changecount.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/macros/changecount.js\ntype: application/javascript\nmodule-type: macro\n\nMacro to return the changecount for the current tiddler\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nInformation about this macro\n*/\n\nexports.name = \&quot;changecount\&quot;;\n\nexports.params = [];\n\n/*\nRun the macro\n*/\nexports.run = function() {\n\treturn this.wiki.getChangeCount(this.getVariable(\&quot;currentTiddler\&quot;)) + \&quot;\&quot;;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;macro&quot;
},
&quot;$:/core/modules/macros/contrastcolour.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/macros/contrastcolour.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/macros/contrastcolour.js\ntype: application/javascript\nmodule-type: macro\n\nMacro to choose which of two colours has the highest contrast with a base colour\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nInformation about this macro\n*/\n\nexports.name = \&quot;contrastcolour\&quot;;\n\nexports.params = [\n\t{name: \&quot;target\&quot;},\n\t{name: \&quot;fallbackTarget\&quot;},\n\t{name: \&quot;colourA\&quot;},\n\t{name: \&quot;colourB\&quot;}\n];\n\n/*\nRun the macro\n*/\nexports.run = function(target,fallbackTarget,colourA,colourB) {\n\tvar rgbTarget = $tw.utils.parseCSSColor(target) || $tw.utils.parseCSSColor(fallbackTarget);\n\tif(!rgbTarget) {\n\t\treturn colourA;\n\t}\n\tvar rgbColourA = $tw.utils.parseCSSColor(colourA),\n\t\trgbColourB = $tw.utils.parseCSSColor(colourB);\n\tif(rgbColourA &amp;&amp; !rgbColourB) {\n\t\treturn rgbColourA;\n\t}\n\tif(rgbColourB &amp;&amp; !rgbColourA) {\n\t\treturn rgbColourB;\n\t}\n\tif(!rgbColourA &amp;&amp; !rgbColourB) {\n\t\t// If neither colour is readable, return a crude inverse of the target\n\t\treturn [255 - rgbTarget[0],255 - rgbTarget[1],255 - rgbTarget[2],rgbTarget[3]];\n\t}\n\t// Colour brightness formula derived from http://www.w3.org/WAI/ER/WD-AERT/#color-contrast\n\tvar brightnessTarget = rgbTarget[0] * 0.299 + rgbTarget[1] * 0.587 + rgbTarget[2] * 0.114,\n\t\tbrightnessA = rgbColourA[0] * 0.299 + rgbColourA[1] * 0.587 + rgbColourA[2] * 0.114,\n\t\tbrightnessB = rgbColourB[0] * 0.299 + rgbColourB[1] * 0.587 + rgbColourB[2] * 0.114;\n\treturn Math.abs(brightnessTarget - brightnessA) &gt; Math.abs(brightnessTarget - brightnessB) ? colourA : colourB;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;macro&quot;
},
&quot;$:/core/modules/macros/csvtiddlers.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/macros/csvtiddlers.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/macros/csvtiddlers.js\ntype: application/javascript\nmodule-type: macro\n\nMacro to output tiddlers matching a filter to CSV\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nInformation about this macro\n*/\n\nexports.name = \&quot;csvtiddlers\&quot;;\n\nexports.params = [\n\t{name: \&quot;filter\&quot;},\n\t{name: \&quot;format\&quot;},\n];\n\n/*\nRun the macro\n*/\nexports.run = function(filter,format) {\n\tvar self = this,\n\t\ttiddlers = this.wiki.filterTiddlers(filter),\n\t\ttiddler,\n\t\tfields = [],\n\t\tt,f;\n\t// Collect all the fields\n\tfor(t=0;t&lt;tiddlers.length; t++) {\n\t\ttiddler = this.wiki.getTiddler(tiddlers[t]);\n\t\tfor(f in tiddler.fields) {\n\t\t\tif(fields.indexOf(f) === -1) {\n\t\t\t\tfields.push(f);\n\t\t\t}\n\t\t}\n\t}\n\t// Sort the fields and bring the standard ones to the front\n\tfields.sort();\n\t\&quot;title text modified modifier created creator\&quot;.split(\&quot; \&quot;).reverse().forEach(function(value,index) {\n\t\tvar p = fields.indexOf(value);\n\t\tif(p !== -1) {\n\t\t\tfields.splice(p,1);\n\t\t\tfields.unshift(value)\n\t\t}\n\t});\n\t// Output the column headings\n\tvar output = [], row = [];\n\tfields.forEach(function(value) {\n\t\trow.push(quoteAndEscape(value))\n\t});\n\toutput.push(row.join(\&quot;,\&quot;));\n\t// Output each tiddler\n\tfor(var t=0;t&lt;tiddlers.length; t++) {\n\t\trow = [];\n\t\ttiddler = this.wiki.getTiddler(tiddlers[t]);\n\t\t\tfor(f=0; f&lt;fields.length; f++) {\n\t\t\t\trow.push(quoteAndEscape(tiddler ? tiddler.getFieldString(fields[f]) || \&quot;\&quot; : \&quot;\&quot;));\n\t\t\t}\n\t\toutput.push(row.join(\&quot;,\&quot;));\n\t}\n\treturn output.join(\&quot;\\n\&quot;);\n};\n\nfunction quoteAndEscape(value) {\n\treturn \&quot;\\\&quot;\&quot; + value.replace(/\&quot;/mg,\&quot;\\\&quot;\\\&quot;\&quot;) + \&quot;\\\&quot;\&quot;;\n}\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;macro&quot;
},
&quot;$:/core/modules/macros/displayshortcuts.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/macros/displayshortcuts.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/macros/displayshortcuts.js\ntype: application/javascript\nmodule-type: macro\n\nMacro to display a list of keyboard shortcuts in human readable form. Notably, it resolves named shortcuts like `((bold))` to the underlying keystrokes.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nInformation about this macro\n*/\n\nexports.name = \&quot;displayshortcuts\&quot;;\n\nexports.params = [\n\t{name: \&quot;shortcuts\&quot;},\n\t{name: \&quot;prefix\&quot;},\n\t{name: \&quot;separator\&quot;},\n\t{name: \&quot;suffix\&quot;}\n];\n\n/*\nRun the macro\n*/\nexports.run = function(shortcuts,prefix,separator,suffix) {\n\tvar shortcutArray = $tw.keyboardManager.getPrintableShortcuts($tw.keyboardManager.parseKeyDescriptors(shortcuts,{\n\t\twiki: this.wiki\n\t}));\n\tif(shortcutArray.length &gt; 0) {\n\t\tshortcutArray.sort(function(a,b) {\n\t\t return a.toLowerCase().localeCompare(b.toLowerCase());\n\t\t})\n\t\treturn prefix + shortcutArray.join(separator) + suffix;\n\t} else {\n\t\treturn \&quot;\&quot;;\n\t}\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;macro&quot;
},
&quot;$:/core/modules/macros/jsontiddler.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/macros/jsontiddler.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/macros/jsontiddler.js\ntype: application/javascript\nmodule-type: macro\n\nMacro to output a single tiddler to JSON\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nInformation about this macro\n*/\n\nexports.name = \&quot;jsontiddler\&quot;;\n\nexports.params = [\n\t{name: \&quot;title\&quot;}\n];\n\n/*\nRun the macro\n*/\nexports.run = function(title) {\n\ttitle = title || this.getVariable(\&quot;currentTiddler\&quot;);\n\tvar tiddler = !!title &amp;&amp; this.wiki.getTiddler(title),\n\t\tfields = new Object();\n\tif(tiddler) {\n\t\tfor(var field in tiddler.fields) {\n\t\t\tfields[field] = tiddler.getFieldString(field);\n\t\t}\n\t}\n\treturn JSON.stringify(fields,null,$tw.config.preferences.jsonSpaces);\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;macro&quot;
},
&quot;$:/core/modules/macros/jsontiddlers.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/macros/jsontiddlers.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/macros/jsontiddlers.js\ntype: application/javascript\nmodule-type: macro\n\nMacro to output tiddlers matching a filter to JSON\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nInformation about this macro\n*/\n\nexports.name = \&quot;jsontiddlers\&quot;;\n\nexports.params = [\n\t{name: \&quot;filter\&quot;},\n\t{name: \&quot;spaces\&quot;}\n];\n\n/*\nRun the macro\n*/\nexports.run = function(filter,spaces) {\n\treturn this.wiki.getTiddlersAsJson(filter,$tw.utils.parseInt(spaces));\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;macro&quot;
},
&quot;$:/core/modules/macros/makedatauri.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/macros/makedatauri.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/macros/makedatauri.js\ntype: application/javascript\nmodule-type: macro\n\nMacro to convert a string of text to a data URI\n\n&lt;&lt;makedatauri text:\&quot;Text to be converted\&quot; type:\&quot;text/vnd.tiddlywiki\&quot;&gt;&gt;\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nInformation about this macro\n*/\n\nexports.name = \&quot;makedatauri\&quot;;\n\nexports.params = [\n\t{name: \&quot;text\&quot;},\n\t{name: \&quot;type\&quot;},\n\t{name: \&quot;_canonical_uri\&quot;}\n];\n\n/*\nRun the macro\n*/\nexports.run = function(text,type,_canonical_uri) {\n\treturn $tw.utils.makeDataUri(text,type,_canonical_uri);\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;macro&quot;
},
&quot;$:/core/modules/macros/now.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/macros/now.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/macros/now.js\ntype: application/javascript\nmodule-type: macro\n\nMacro to return a formatted version of the current time\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nInformation about this macro\n*/\n\nexports.name = \&quot;now\&quot;;\n\nexports.params = [\n\t{name: \&quot;format\&quot;}\n];\n\n/*\nRun the macro\n*/\nexports.run = function(format) {\n\treturn $tw.utils.formatDateString(new Date(),format || \&quot;0hh:0mm, DDth MMM YYYY\&quot;);\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;macro&quot;
},
&quot;$:/core/modules/macros/qualify.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/macros/qualify.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/macros/qualify.js\ntype: application/javascript\nmodule-type: macro\n\nMacro to qualify a state tiddler title according\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nInformation about this macro\n*/\n\nexports.name = \&quot;qualify\&quot;;\n\nexports.params = [\n\t{name: \&quot;title\&quot;}\n];\n\n/*\nRun the macro\n*/\nexports.run = function(title) {\n\treturn title + \&quot;-\&quot; + this.getStateQualifier();\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;macro&quot;
},
&quot;$:/core/modules/macros/resolvepath.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/macros/resolvepath.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/macros/resolvepath.js\ntype: application/javascript\nmodule-type: macro\n\nResolves a relative path for an absolute rootpath.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.name = \&quot;resolvepath\&quot;;\n\nexports.params = [\n\t{name: \&quot;source\&quot;},\n\t{name: \&quot;root\&quot;}\n];\n\n/*\nRun the macro\n*/\nexports.run = function(source, root) {\n\treturn $tw.utils.resolvePath(source, root);\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;macro&quot;
},
&quot;$:/core/modules/macros/unusedtitle.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/macros/unusedtitle.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/macros/unusedtitle.js\ntype: application/javascript\nmodule-type: macro\nMacro to return a new title that is unused in the wiki. It can be given a name as a base.\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nInformation about this macro\n*/\n\nexports.name = \&quot;unusedtitle\&quot;;\n\nexports.params = [\n\t{name: \&quot;baseName\&quot;},\n\t{name: \&quot;options\&quot;}\n];\n\n/*\nRun the macro\n*/\nexports.run = function(baseName, options) {\n\tif(!baseName) {\n\t\tbaseName = $tw.language.getString(\&quot;DefaultNewTiddlerTitle\&quot;);\n\t}\n\treturn this.wiki.generateNewTitle(baseName, options);\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;macro&quot;
},
&quot;$:/core/modules/macros/version.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/macros/version.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/macros/version.js\ntype: application/javascript\nmodule-type: macro\n\nMacro to return the TiddlyWiki core version number\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nInformation about this macro\n*/\n\nexports.name = \&quot;version\&quot;;\n\nexports.params = [];\n\n/*\nRun the macro\n*/\nexports.run = function() {\n\treturn $tw.version;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;macro&quot;
},
&quot;$:/core/modules/parsers/audioparser.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/parsers/audioparser.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/parsers/audioparser.js\ntype: application/javascript\nmodule-type: parser\n\nThe audio parser parses an audio tiddler into an embeddable HTML element\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar AudioParser = function(type,text,options) {\n\tvar element = {\n\t\t\ttype: \&quot;element\&quot;,\n\t\t\ttag: \&quot;audio\&quot;,\n\t\t\tattributes: {\n\t\t\t\tcontrols: {type: \&quot;string\&quot;, value: \&quot;controls\&quot;},\n\t\t\t\tstyle: {type: \&quot;string\&quot;, value: \&quot;width: 100%; object-fit: contain\&quot;}\n\t\t\t}\n\t\t},\n\t\tsrc;\n\tif(options._canonical_uri) {\n\t\telement.attributes.src = {type: \&quot;string\&quot;, value: options._canonical_uri};\n\t} else if(text) {\n\t\telement.attributes.src = {type: \&quot;string\&quot;, value: \&quot;data:\&quot; + type + \&quot;;base64,\&quot; + text};\n\t}\n\tthis.tree = [element];\n};\n\nexports[\&quot;audio/ogg\&quot;] = AudioParser;\nexports[\&quot;audio/mpeg\&quot;] = AudioParser;\nexports[\&quot;audio/mp3\&quot;] = AudioParser;\nexports[\&quot;audio/mp4\&quot;] = AudioParser;\n\n})();\n\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;parser&quot;
},
&quot;$:/core/modules/parsers/binaryparser.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/parsers/binaryparser.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/parsers/binaryparser.js\ntype: application/javascript\nmodule-type: parser\n\nThe binary parser parses a binary tiddler into a warning message and download link\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar BINARY_WARNING_MESSAGE = \&quot;$:/core/ui/BinaryWarning\&quot;;\nvar EXPORT_BUTTON_IMAGE = \&quot;$:/core/images/export-button\&quot;;\n\nvar BinaryParser = function(type,text,options) {\n\t// Transclude the binary data tiddler warning message\n\tvar warn = {\n\t\ttype: \&quot;element\&quot;,\n\t\ttag: \&quot;p\&quot;,\n\t\tchildren: [{\n\t\t\ttype: \&quot;transclude\&quot;,\n\t\t\tattributes: {\n\t\t\t\ttiddler: {type: \&quot;string\&quot;, value: BINARY_WARNING_MESSAGE}\n\t\t\t}\n\t\t}]\n\t};\n\t// Create download link based on binary tiddler title\n\tvar link = {\n\t\ttype: \&quot;element\&quot;,\n\t\ttag: \&quot;a\&quot;,\n\t\tattributes: {\n\t\t\ttitle: {type: \&quot;indirect\&quot;, textReference: \&quot;!!title\&quot;},\n\t\t\tdownload: {type: \&quot;indirect\&quot;, textReference: \&quot;!!title\&quot;}\n\t\t},\n\t\tchildren: [{\n\t\t\ttype: \&quot;transclude\&quot;,\n\t\t\tattributes: {\n\t\t\t\ttiddler: {type: \&quot;string\&quot;, value: EXPORT_BUTTON_IMAGE}\n\t\t\t}\n\t\t}]\n\t};\n\t// Set the link href to external or internal data URI\n\tif(options._canonical_uri) {\n\t\tlink.attributes.href = {\n\t\t\ttype: \&quot;string\&quot;, \n\t\t\tvalue: options._canonical_uri\n\t\t};\n\t} else if(text) {\n\t\tlink.attributes.href = {\n\t\t\ttype: \&quot;string\&quot;, \n\t\t\tvalue: \&quot;data:\&quot; + type + \&quot;;base64,\&quot; + text\n\t\t};\n\t}\n\t// Combine warning message and download link in a div\n\tvar element = {\n\t\ttype: \&quot;element\&quot;,\n\t\ttag: \&quot;div\&quot;,\n\t\tattributes: {\n\t\t\tclass: {type: \&quot;string\&quot;, value: \&quot;tc-binary-warning\&quot;}\n\t\t},\n\t\tchildren: [warn, link]\n\t}\n\tthis.tree = [element];\n};\n\nexports[\&quot;application/octet-stream\&quot;] = BinaryParser;\n\n})();\n\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;parser&quot;
},
&quot;$:/core/modules/parsers/csvparser.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/parsers/csvparser.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/parsers/csvparser.js\ntype: application/javascript\nmodule-type: parser\n\nThe CSV text parser processes CSV files into a table wrapped in a scrollable widget\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar CsvParser = function(type,text,options) {\n\t// Table framework\n\tthis.tree = [{\n\t\t\&quot;type\&quot;: \&quot;scrollable\&quot;, \&quot;children\&quot;: [{\n\t\t\t\&quot;type\&quot;: \&quot;element\&quot;, \&quot;tag\&quot;: \&quot;table\&quot;, \&quot;children\&quot;: [{\n\t\t\t\t\&quot;type\&quot;: \&quot;element\&quot;, \&quot;tag\&quot;: \&quot;tbody\&quot;, \&quot;children\&quot;: []\n\t\t\t}], \&quot;attributes\&quot;: {\n\t\t\t\t\&quot;class\&quot;: {\&quot;type\&quot;: \&quot;string\&quot;, \&quot;value\&quot;: \&quot;tc-csv-table\&quot;}\n\t\t\t}\n\t\t}]\n\t}];\n\t// Split the text into lines\n\tvar lines = text.split(/\\r?\\n/mg),\n\t\ttag = \&quot;th\&quot;;\n\tfor(var line=0; line&lt;lines.length; line++) {\n\t\tvar lineText = lines[line];\n\t\tif(lineText) {\n\t\t\tvar row = {\n\t\t\t\t\t\&quot;type\&quot;: \&quot;element\&quot;, \&quot;tag\&quot;: \&quot;tr\&quot;, \&quot;children\&quot;: []\n\t\t\t\t};\n\t\t\tvar columns = lineText.split(\&quot;,\&quot;);\n\t\t\tfor(var column=0; column&lt;columns.length; column++) {\n\t\t\t\trow.children.push({\n\t\t\t\t\t\t\&quot;type\&quot;: \&quot;element\&quot;, \&quot;tag\&quot;: tag, \&quot;children\&quot;: [{\n\t\t\t\t\t\t\t\&quot;type\&quot;: \&quot;text\&quot;,\n\t\t\t\t\t\t\t\&quot;text\&quot;: columns[column]\n\t\t\t\t\t\t}]\n\t\t\t\t\t});\n\t\t\t}\n\t\t\ttag = \&quot;td\&quot;;\n\t\t\tthis.tree[0].children[0].children[0].children.push(row);\n\t\t}\n\t}\n};\n\nexports[\&quot;text/csv\&quot;] = CsvParser;\n\n})();\n\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;parser&quot;
},
&quot;$:/core/modules/parsers/htmlparser.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/parsers/htmlparser.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/parsers/htmlparser.js\ntype: application/javascript\nmodule-type: parser\n\nThe HTML parser displays text as raw HTML\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar HtmlParser = function(type,text,options) {\n\tvar src;\n\tif(options._canonical_uri) {\n\t\tsrc = options._canonical_uri;\n\t} else if(text) {\n\t\tsrc = \&quot;data:text/html;charset=utf-8,\&quot; + encodeURIComponent(text);\n\t}\n\tthis.tree = [{\n\t\ttype: \&quot;element\&quot;,\n\t\ttag: \&quot;iframe\&quot;,\n\t\tattributes: {\n\t\t\tsrc: {type: \&quot;string\&quot;, value: src},\n\t\t\tsandbox: {type: \&quot;string\&quot;, value: \&quot;\&quot;}\n\t\t}\n\t}];\n};\n\nexports[\&quot;text/html\&quot;] = HtmlParser;\n\n})();\n\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;parser&quot;
},
&quot;$:/core/modules/parsers/imageparser.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/parsers/imageparser.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/parsers/imageparser.js\ntype: application/javascript\nmodule-type: parser\n\nThe image parser parses an image into an embeddable HTML element\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar ImageParser = function(type,text,options) {\n\tvar element = {\n\t\t\ttype: \&quot;element\&quot;,\n\t\t\ttag: \&quot;img\&quot;,\n\t\t\tattributes: {}\n\t\t};\n\tif(options._canonical_uri) {\n\t\telement.attributes.src = {type: \&quot;string\&quot;, value: options._canonical_uri};\n\t} else if(text) {\n\t\tif(type === \&quot;image/svg+xml\&quot; || type === \&quot;.svg\&quot;) {\n\t\t\telement.attributes.src = {type: \&quot;string\&quot;, value: \&quot;data:image/svg+xml,\&quot; + encodeURIComponent(text)};\n\t\t} else {\n\t\t\telement.attributes.src = {type: \&quot;string\&quot;, value: \&quot;data:\&quot; + type + \&quot;;base64,\&quot; + text};\n\t\t}\n\t}\n\tthis.tree = [element];\n};\n\nexports[\&quot;image/svg+xml\&quot;] = ImageParser;\nexports[\&quot;image/jpg\&quot;] = ImageParser;\nexports[\&quot;image/jpeg\&quot;] = ImageParser;\nexports[\&quot;image/png\&quot;] = ImageParser;\nexports[\&quot;image/gif\&quot;] = ImageParser;\nexports[\&quot;image/webp\&quot;] = ImageParser;\nexports[\&quot;image/heic\&quot;] = ImageParser;\nexports[\&quot;image/heif\&quot;] = ImageParser;\nexports[\&quot;image/x-icon\&quot;] = ImageParser;\n\n})();\n\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;parser&quot;
},
&quot;$:/core/modules/utils/parseutils.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/utils/parseutils.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/utils/parseutils.js\ntype: application/javascript\nmodule-type: utils\n\nUtility functions concerned with parsing text into tokens.\n\nMost functions have the following pattern:\n\n* The parameters are:\n** `source`: the source string being parsed\n** `pos`: the current parse position within the string\n** Any further parameters are used to identify the token that is being parsed\n* The return value is:\n** null if the token was not found at the specified position\n** an object representing the token with the following standard fields:\n*** `type`: string indicating the type of the token\n*** `start`: start position of the token in the source string\n*** `end`: end position of the token in the source string\n*** Any further fields required to describe the token\n\nThe exception is `skipWhiteSpace`, which just returns the position after the whitespace.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nLook for a whitespace token. Returns null if not found, otherwise returns {type: \&quot;whitespace\&quot;, start:, end:,}\n*/\nexports.parseWhiteSpace = function(source,pos) {\n\tvar p = pos,c;\n\twhile(true) {\n\t\tc = source.charAt(p);\n\t\tif((c === \&quot; \&quot;) || (c === \&quot;\\f\&quot;) || (c === \&quot;\\n\&quot;) || (c === \&quot;\\r\&quot;) || (c === \&quot;\\t\&quot;) || (c === \&quot;\\v\&quot;) || (c === \&quot;\\u00a0\&quot;)) { // Ignores some obscure unicode spaces\n\t\t\tp++;\n\t\t} else {\n\t\t\tbreak;\n\t\t}\n\t}\n\tif(p === pos) {\n\t\treturn null;\n\t} else {\n\t\treturn {\n\t\t\ttype: \&quot;whitespace\&quot;,\n\t\t\tstart: pos,\n\t\t\tend: p\n\t\t}\n\t}\n};\n\n/*\nConvenience wrapper for parseWhiteSpace. Returns the position after the whitespace\n*/\nexports.skipWhiteSpace = function(source,pos) {\n\tvar c;\n\twhile(true) {\n\t\tc = source.charAt(pos);\n\t\tif((c === \&quot; \&quot;) || (c === \&quot;\\f\&quot;) || (c === \&quot;\\n\&quot;) || (c === \&quot;\\r\&quot;) || (c === \&quot;\\t\&quot;) || (c === \&quot;\\v\&quot;) || (c === \&quot;\\u00a0\&quot;)) { // Ignores some obscure unicode spaces\n\t\t\tpos++;\n\t\t} else {\n\t\t\treturn pos;\n\t\t}\n\t}\n};\n\n/*\nLook for a given string token. Returns null if not found, otherwise returns {type: \&quot;token\&quot;, value:, start:, end:,}\n*/\nexports.parseTokenString = function(source,pos,token) {\n\tvar match = source.indexOf(token,pos) === pos;\n\tif(match) {\n\t\treturn {\n\t\t\ttype: \&quot;token\&quot;,\n\t\t\tvalue: token,\n\t\t\tstart: pos,\n\t\t\tend: pos + token.length\n\t\t};\n\t}\n\treturn null;\n};\n\n/*\nLook for a token matching a regex. Returns null if not found, otherwise returns {type: \&quot;regexp\&quot;, match:, start:, end:,}\n*/\nexports.parseTokenRegExp = function(source,pos,reToken) {\n\tvar node = {\n\t\ttype: \&quot;regexp\&quot;,\n\t\tstart: pos\n\t};\n\treToken.lastIndex = pos;\n\tnode.match = reToken.exec(source);\n\tif(node.match &amp;&amp; node.match.index === pos) {\n\t\tnode.end = pos + node.match[0].length;\n\t\treturn node;\n\t} else {\n\t\treturn null;\n\t}\n};\n\n/*\nLook for a string literal. Returns null if not found, otherwise returns {type: \&quot;string\&quot;, value:, start:, end:,}\n*/\nexports.parseStringLiteral = function(source,pos) {\n\tvar node = {\n\t\ttype: \&quot;string\&quot;,\n\t\tstart: pos\n\t};\n\tvar reString = /(?:\&quot;\&quot;\&quot;([\\s\\S]*?)\&quot;\&quot;\&quot;|\&quot;([^\&quot;]*)\&quot;)|(?:'([^']*)')/g;\n\treString.lastIndex = pos;\n\tvar match = reString.exec(source);\n\tif(match &amp;&amp; match.index === pos) {\n\t\tnode.value = match[1] !== undefined ? match[1] :(\n\t\t\tmatch[2] !== undefined ? match[2] : match[3] \n\t\t\t\t\t);\n\t\tnode.end = pos + match[0].length;\n\t\treturn node;\n\t} else {\n\t\treturn null;\n\t}\n};\n\n/*\nLook for a macro invocation parameter. Returns null if not found, or {type: \&quot;macro-parameter\&quot;, name:, value:, start:, end:}\n*/\nexports.parseMacroParameter = function(source,pos) {\n\tvar node = {\
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;utils&quot;
},
&quot;$:/core/modules/parsers/pdfparser.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/parsers/pdfparser.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/parsers/pdfparser.js\ntype: application/javascript\nmodule-type: parser\n\nThe PDF parser embeds a PDF viewer\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar ImageParser = function(type,text,options) {\n\tvar element = {\n\t\t\ttype: \&quot;element\&quot;,\n\t\t\ttag: \&quot;embed\&quot;,\n\t\t\tattributes: {}\n\t\t},\n\t\tsrc;\n\tif(options._canonical_uri) {\n\t\telement.attributes.src = {type: \&quot;string\&quot;, value: options._canonical_uri};\n\t} else if(text) {\n\t\telement.attributes.src = {type: \&quot;string\&quot;, value: \&quot;data:application/pdf;base64,\&quot; + text};\n\t}\n\tthis.tree = [element];\n};\n\nexports[\&quot;application/pdf\&quot;] = ImageParser;\n\n})();\n\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;parser&quot;
},
&quot;$:/core/modules/parsers/textparser.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/parsers/textparser.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/parsers/textparser.js\ntype: application/javascript\nmodule-type: parser\n\nThe plain text parser processes blocks of source text into a degenerate parse tree consisting of a single text node\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar TextParser = function(type,text,options) {\n\tthis.tree = [{\n\t\ttype: \&quot;codeblock\&quot;,\n\t\tattributes: {\n\t\t\tcode: {type: \&quot;string\&quot;, value: text},\n\t\t\tlanguage: {type: \&quot;string\&quot;, value: type}\n\t\t}\n\t}];\n};\n\nexports[\&quot;text/plain\&quot;] = TextParser;\nexports[\&quot;text/x-tiddlywiki\&quot;] = TextParser;\nexports[\&quot;application/javascript\&quot;] = TextParser;\nexports[\&quot;application/json\&quot;] = TextParser;\nexports[\&quot;text/css\&quot;] = TextParser;\nexports[\&quot;application/x-tiddler-dictionary\&quot;] = TextParser;\n\n})();\n\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;parser&quot;
},
&quot;$:/core/modules/parsers/videoparser.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/parsers/videoparser.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/parsers/videoparser.js\ntype: application/javascript\nmodule-type: parser\n\nThe video parser parses a video tiddler into an embeddable HTML element\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar VideoParser = function(type,text,options) {\n\tvar element = {\n\t\t\ttype: \&quot;element\&quot;,\n\t\t\ttag: \&quot;video\&quot;,\n\t\t\tattributes: {\n\t\t\t\tcontrols: {type: \&quot;string\&quot;, value: \&quot;controls\&quot;},\n\t\t\t\tstyle: {type: \&quot;string\&quot;, value: \&quot;width: 100%; object-fit: contain\&quot;}\n\t\t\t}\n\t\t},\n\t\tsrc;\n\tif(options._canonical_uri) {\n\t\telement.attributes.src = {type: \&quot;string\&quot;, value: options._canonical_uri};\n\t} else if(text) {\n\t\telement.attributes.src = {type: \&quot;string\&quot;, value: \&quot;data:\&quot; + type + \&quot;;base64,\&quot; + text};\n\t}\n\tthis.tree = [element];\n};\n\nexports[\&quot;video/ogg\&quot;] = VideoParser;\nexports[\&quot;video/webm\&quot;] = VideoParser;\nexports[\&quot;video/mp4\&quot;] = VideoParser;\nexports[\&quot;video/quicktime\&quot;] = VideoParser;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;parser&quot;
},
&quot;$:/core/modules/parsers/wikiparser/rules/codeblock.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/parsers/wikiparser/rules/codeblock.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/parsers/wikiparser/rules/codeblock.js\ntype: application/javascript\nmodule-type: wikirule\n\nWiki text rule for code blocks. For example:\n\n```\n\t```\n\tThis text will not be //wikified//\n\t```\n```\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.name = \&quot;codeblock\&quot;;\nexports.types = {block: true};\n\nexports.init = function(parser) {\n\tthis.parser = parser;\n\t// Regexp to match and get language if defined\n\tthis.matchRegExp = /```([\\w-]*)\\r?\\n/mg;\n};\n\nexports.parse = function() {\n\tvar reEnd = /(\\r?\\n```$)/mg;\n\t// Move past the match\n\tthis.parser.pos = this.matchRegExp.lastIndex;\n\n\t// Look for the end of the block\n\treEnd.lastIndex = this.parser.pos;\n\tvar match = reEnd.exec(this.parser.source),\n\t\ttext;\n\t// Process the block\n\tif(match) {\n\t\ttext = this.parser.source.substring(this.parser.pos,match.index);\n\t\tthis.parser.pos = match.index + match[0].length;\n\t} else {\n\t\ttext = this.parser.source.substr(this.parser.pos);\n\t\tthis.parser.pos = this.parser.sourceLength;\n\t}\n\t// Return the $codeblock widget\n\treturn [{\n\t\t\ttype: \&quot;codeblock\&quot;,\n\t\t\tattributes: {\n\t\t\t\t\tcode: {type: \&quot;string\&quot;, value: text},\n\t\t\t\t\tlanguage: {type: \&quot;string\&quot;, value: this.match[1]}\n\t\t\t}\n\t}];\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;wikirule&quot;
},
&quot;$:/core/modules/parsers/wikiparser/rules/codeinline.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/parsers/wikiparser/rules/codeinline.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/parsers/wikiparser/rules/codeinline.js\ntype: application/javascript\nmodule-type: wikirule\n\nWiki text inline rule for code runs. For example:\n\n```\n\tThis is a `code run`.\n\tThis is another ``code run``\n```\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.name = \&quot;codeinline\&quot;;\nexports.types = {inline: true};\n\nexports.init = function(parser) {\n\tthis.parser = parser;\n\t// Regexp to match\n\tthis.matchRegExp = /(``?)/mg;\n};\n\nexports.parse = function() {\n\t// Move past the match\n\tthis.parser.pos = this.matchRegExp.lastIndex;\n\tvar reEnd = new RegExp(this.match[1], \&quot;mg\&quot;);\n\t// Look for the end marker\n\treEnd.lastIndex = this.parser.pos;\n\tvar match = reEnd.exec(this.parser.source),\n\t\ttext;\n\t// Process the text\n\tif(match) {\n\t\ttext = this.parser.source.substring(this.parser.pos,match.index);\n\t\tthis.parser.pos = match.index + match[0].length;\n\t} else {\n\t\ttext = this.parser.source.substr(this.parser.pos);\n\t\tthis.parser.pos = this.parser.sourceLength;\n\t}\n\treturn [{\n\t\ttype: \&quot;element\&quot;,\n\t\ttag: \&quot;code\&quot;,\n\t\tchildren: [{\n\t\t\ttype: \&quot;text\&quot;,\n\t\t\ttext: text\n\t\t}]\n\t}];\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;wikirule&quot;
},
&quot;$:/core/modules/parsers/wikiparser/rules/commentblock.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/parsers/wikiparser/rules/commentblock.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/parsers/wikiparser/rules/commentblock.js\ntype: application/javascript\nmodule-type: wikirule\n\nWiki text block rule for HTML comments. For example:\n\n```\n&lt;!-- This is a comment --&gt;\n```\n\nNote that the syntax for comments is simplified to an opening \&quot;&lt;!--\&quot; sequence and a closing \&quot;--&gt;\&quot; sequence -- HTML itself implements a more complex format (see http://ostermiller.org/findhtmlcomment.html)\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.name = \&quot;commentblock\&quot;;\nexports.types = {block: true};\n\nexports.init = function(parser) {\n\tthis.parser = parser;\n\tthis.matchRegExp = /&lt;!--/mg;\n\tthis.endMatchRegExp = /--&gt;/mg;\n};\n\nexports.findNextMatch = function(startPos) {\n\tthis.matchRegExp.lastIndex = startPos;\n\tthis.match = this.matchRegExp.exec(this.parser.source);\n\tif(this.match) {\n\t\tthis.endMatchRegExp.lastIndex = startPos + this.match[0].length;\n\t\tthis.endMatch = this.endMatchRegExp.exec(this.parser.source);\n\t\tif(this.endMatch) {\n\t\t\treturn this.match.index;\n\t\t}\n\t}\n\treturn undefined;\n};\n\nexports.parse = function() {\n\t// Move past the match\n\tthis.parser.pos = this.endMatchRegExp.lastIndex;\n\t// Don't return any elements\n\treturn [];\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;wikirule&quot;
},
&quot;$:/core/modules/parsers/wikiparser/rules/commentinline.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/parsers/wikiparser/rules/commentinline.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/parsers/wikiparser/rules/commentinline.js\ntype: application/javascript\nmodule-type: wikirule\n\nWiki text inline rule for HTML comments. For example:\n\n```\n&lt;!-- This is a comment --&gt;\n```\n\nNote that the syntax for comments is simplified to an opening \&quot;&lt;!--\&quot; sequence and a closing \&quot;--&gt;\&quot; sequence -- HTML itself implements a more complex format (see http://ostermiller.org/findhtmlcomment.html)\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.name = \&quot;commentinline\&quot;;\nexports.types = {inline: true};\n\nexports.init = function(parser) {\n\tthis.parser = parser;\n\tthis.matchRegExp = /&lt;!--/mg;\n\tthis.endMatchRegExp = /--&gt;/mg;\n};\n\nexports.findNextMatch = function(startPos) {\n\tthis.matchRegExp.lastIndex = startPos;\n\tthis.match = this.matchRegExp.exec(this.parser.source);\n\tif(this.match) {\n\t\tthis.endMatchRegExp.lastIndex = startPos + this.match[0].length;\n\t\tthis.endMatch = this.endMatchRegExp.exec(this.parser.source);\n\t\tif(this.endMatch) {\n\t\t\treturn this.match.index;\n\t\t}\n\t}\n\treturn undefined;\n};\n\nexports.parse = function() {\n\t// Move past the match\n\tthis.parser.pos = this.endMatchRegExp.lastIndex;\n\t// Don't return any elements\n\treturn [];\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;wikirule&quot;
},
&quot;$:/core/modules/parsers/wikiparser/rules/dash.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/parsers/wikiparser/rules/dash.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/parsers/wikiparser/rules/dash.js\ntype: application/javascript\nmodule-type: wikirule\n\nWiki text inline rule for dashes. For example:\n\n```\nThis is an en-dash: --\n\nThis is an em-dash: ---\n```\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.name = \&quot;dash\&quot;;\nexports.types = {inline: true};\n\nexports.init = function(parser) {\n\tthis.parser = parser;\n\t// Regexp to match\n\tthis.matchRegExp = /-{2,3}(?!-)/mg;\n};\n\nexports.parse = function() {\n\t// Move past the match\n\tthis.parser.pos = this.matchRegExp.lastIndex;\n\tvar dash = this.match[0].length === 2 ? \&quot;&amp;ndash;\&quot; : \&quot;&amp;mdash;\&quot;;\n\treturn [{\n\t\ttype: \&quot;entity\&quot;,\n\t\tentity: dash\n\t}];\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;wikirule&quot;
},
&quot;$:/core/modules/parsers/wikiparser/rules/emphasis/bold.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/parsers/wikiparser/rules/emphasis/bold.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/parsers/wikiparser/rules/emphasis/bold.js\ntype: application/javascript\nmodule-type: wikirule\n\nWiki text inline rule for emphasis - bold. For example:\n\n```\n\tThis is ''bold'' text\n```\n\nThis wikiparser can be modified using the rules eg:\n\n```\n\\rules except bold \n\\rules only bold \n```\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.name = \&quot;bold\&quot;;\nexports.types = {inline: true};\n\nexports.init = function(parser) {\n\tthis.parser = parser;\n\t// Regexp to match\n\tthis.matchRegExp = /''/mg;\n};\n\nexports.parse = function() {\n\t// Move past the match\n\tthis.parser.pos = this.matchRegExp.lastIndex;\n\n\t// Parse the run including the terminator\n\tvar tree = this.parser.parseInlineRun(/''/mg,{eatTerminator: true});\n\n\t// Return the classed span\n\treturn [{\n\t\ttype: \&quot;element\&quot;,\n\t\ttag: \&quot;strong\&quot;,\n\t\tchildren: tree\n\t}];\n};\n\n})();&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;wikirule&quot;
},
&quot;$:/core/modules/parsers/wikiparser/rules/emphasis/italic.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/parsers/wikiparser/rules/emphasis/italic.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/parsers/wikiparser/rules/emphasis/italic.js\ntype: application/javascript\nmodule-type: wikirule\n\nWiki text inline rule for emphasis - italic. For example:\n\n```\n\tThis is //italic// text\n```\n\nThis wikiparser can be modified using the rules eg:\n\n```\n\\rules except italic\n\\rules only italic\n```\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.name = \&quot;italic\&quot;;\nexports.types = {inline: true};\n\nexports.init = function(parser) {\n\tthis.parser = parser;\n\t// Regexp to match\n\tthis.matchRegExp = /\\/\\//mg;\n};\n\nexports.parse = function() {\n\t// Move past the match\n\tthis.parser.pos = this.matchRegExp.lastIndex;\n\n\t// Parse the run including the terminator\n\tvar tree = this.parser.parseInlineRun(/\\/\\//mg,{eatTerminator: true});\n\n\t// Return the classed span\n\treturn [{\n\t\ttype: \&quot;element\&quot;,\n\t\ttag: \&quot;em\&quot;,\n\t\tchildren: tree\n\t}];\n};\n\n})();&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;wikirule&quot;
},
&quot;$:/core/modules/parsers/wikiparser/rules/emphasis/strikethrough.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/parsers/wikiparser/rules/emphasis/strikethrough.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/parsers/wikiparser/rules/emphasis/strikethrough.js\ntype: application/javascript\nmodule-type: wikirule\n\nWiki text inline rule for emphasis - strikethrough. For example:\n\n```\n\tThis is ~~strikethrough~~ text\n```\n\nThis wikiparser can be modified using the rules eg:\n\n```\n\\rules except strikethrough \n\\rules only strikethrough \n```\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.name = \&quot;strikethrough\&quot;;\nexports.types = {inline: true};\n\nexports.init = function(parser) {\n\tthis.parser = parser;\n\t// Regexp to match\n\tthis.matchRegExp = /~~/mg;\n};\n\nexports.parse = function() {\n\t// Move past the match\n\tthis.parser.pos = this.matchRegExp.lastIndex;\n\n\t// Parse the run including the terminator\n\tvar tree = this.parser.parseInlineRun(/~~/mg,{eatTerminator: true});\n\n\t// Return the classed span\n\treturn [{\n\t\ttype: \&quot;element\&quot;,\n\t\ttag: \&quot;strike\&quot;,\n\t\tchildren: tree\n\t}];\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;wikirule&quot;
},
&quot;$:/core/modules/parsers/wikiparser/rules/emphasis/subscript.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/parsers/wikiparser/rules/emphasis/subscript.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/parsers/wikiparser/rules/emphasis/subscript.js\ntype: application/javascript\nmodule-type: wikirule\n\nWiki text inline rule for emphasis - subscript. For example:\n\n```\n\tThis is ,,subscript,, text\n```\n\nThis wikiparser can be modified using the rules eg:\n\n```\n\\rules except subscript \n\\rules only subscript \n```\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.name = \&quot;subscript\&quot;;\nexports.types = {inline: true};\n\nexports.init = function(parser) {\n\tthis.parser = parser;\n\t// Regexp to match\n\tthis.matchRegExp = /,,/mg;\n};\n\nexports.parse = function() {\n\t// Move past the match\n\tthis.parser.pos = this.matchRegExp.lastIndex;\n\n\t// Parse the run including the terminator\n\tvar tree = this.parser.parseInlineRun(/,,/mg,{eatTerminator: true});\n\n\t// Return the classed span\n\treturn [{\n\t\ttype: \&quot;element\&quot;,\n\t\ttag: \&quot;sub\&quot;,\n\t\tchildren: tree\n\t}];\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;wikirule&quot;
},
&quot;$:/core/modules/parsers/wikiparser/rules/emphasis/superscript.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/parsers/wikiparser/rules/emphasis/superscript.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/parsers/wikiparser/rules/emphasis/superscript.js\ntype: application/javascript\nmodule-type: wikirule\n\nWiki text inline rule for emphasis - superscript. For example:\n\n```\n\tThis is ^^superscript^^ text\n```\n\nThis wikiparser can be modified using the rules eg:\n\n```\n\\rules except superscript \n\\rules only superscript \n```\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.name = \&quot;superscript\&quot;;\nexports.types = {inline: true};\n\nexports.init = function(parser) {\n\tthis.parser = parser;\n\t// Regexp to match\n\tthis.matchRegExp = /\\^\\^/mg;\n};\n\nexports.parse = function() {\n\t// Move past the match\n\tthis.parser.pos = this.matchRegExp.lastIndex;\n\n\t// Parse the run including the terminator\n\tvar tree = this.parser.parseInlineRun(/\\^\\^/mg,{eatTerminator: true});\n\n\t// Return the classed span\n\treturn [{\n\t\ttype: \&quot;element\&quot;,\n\t\ttag: \&quot;sup\&quot;,\n\t\tchildren: tree\n\t}];\n};\n\n})();&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;wikirule&quot;
},
&quot;$:/core/modules/parsers/wikiparser/rules/emphasis/underscore.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/parsers/wikiparser/rules/emphasis/underscore.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/parsers/wikiparser/rules/emphasis/underscore.js\ntype: application/javascript\nmodule-type: wikirule\n\nWiki text inline rule for emphasis - underscore. For example:\n\n```\n\tThis is __underscore__ text\n```\n\nThis wikiparser can be modified using the rules eg:\n\n```\n\\rules except underscore \n\\rules only underscore\n```\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.name = \&quot;underscore\&quot;;\nexports.types = {inline: true};\n\nexports.init = function(parser) {\n\tthis.parser = parser;\n\t// Regexp to match\n\tthis.matchRegExp = /__/mg;\n};\n\nexports.parse = function() {\n\t// Move past the match\n\tthis.parser.pos = this.matchRegExp.lastIndex;\n\n\t// Parse the run including the terminator\n\tvar tree = this.parser.parseInlineRun(/__/mg,{eatTerminator: true});\n\n\t// Return the classed span\n\treturn [{\n\t\ttype: \&quot;element\&quot;,\n\t\ttag: \&quot;u\&quot;,\n\t\tchildren: tree\n\t}];\n};\n\n})();&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;wikirule&quot;
},
&quot;$:/core/modules/parsers/wikiparser/rules/entity.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/parsers/wikiparser/rules/entity.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/parsers/wikiparser/rules/entity.js\ntype: application/javascript\nmodule-type: wikirule\n\nWiki text inline rule for HTML entities. For example:\n\n```\n\tThis is a copyright symbol: &amp;copy;\n```\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.name = \&quot;entity\&quot;;\nexports.types = {inline: true};\n\nexports.init = function(parser) {\n\tthis.parser = parser;\n\t// Regexp to match\n\tthis.matchRegExp = /(&amp;#?[a-zA-Z0-9]{2,8};)/mg;\n};\n\n/*\nParse the most recent match\n*/\nexports.parse = function() {\n\t// Get all the details of the match\n\tvar entityString = this.match[1];\n\t// Move past the macro call\n\tthis.parser.pos = this.matchRegExp.lastIndex;\n\t// Return the entity\n\treturn [{type: \&quot;entity\&quot;, entity: this.match[0]}];\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;wikirule&quot;
},
&quot;$:/core/modules/parsers/wikiparser/rules/extlink.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/parsers/wikiparser/rules/extlink.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/parsers/wikiparser/rules/extlink.js\ntype: application/javascript\nmodule-type: wikirule\n\nWiki text inline rule for external links. For example:\n\n```\nAn external link: https://www.tiddlywiki.com/\n\nA suppressed external link: ~http://www.tiddlyspace.com/\n```\n\nExternal links can be suppressed by preceding them with `~`.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.name = \&quot;extlink\&quot;;\nexports.types = {inline: true};\n\nexports.init = function(parser) {\n\tthis.parser = parser;\n\t// Regexp to match\n\tthis.matchRegExp = /~?(?:file|http|https|mailto|ftp|irc|news|data|skype):[^\\s&lt;&gt;{}\\[\\]`|\&quot;\\\\^]+(?:\\/|\\b)/mg;\n};\n\nexports.parse = function() {\n\t// Move past the match\n\tthis.parser.pos = this.matchRegExp.lastIndex;\n\t// Create the link unless it is suppressed\n\tif(this.match[0].substr(0,1) === \&quot;~\&quot;) {\n\t\treturn [{type: \&quot;text\&quot;, text: this.match[0].substr(1)}];\n\t} else {\n\t\treturn [{\n\t\t\ttype: \&quot;element\&quot;,\n\t\t\ttag: \&quot;a\&quot;,\n\t\t\tattributes: {\n\t\t\t\thref: {type: \&quot;string\&quot;, value: this.match[0]},\n\t\t\t\t\&quot;class\&quot;: {type: \&quot;string\&quot;, value: \&quot;tc-tiddlylink-external\&quot;},\n\t\t\t\ttarget: {type: \&quot;string\&quot;, value: \&quot;_blank\&quot;},\n\t\t\t\trel: {type: \&quot;string\&quot;, value: \&quot;noopener noreferrer\&quot;}\n\t\t\t},\n\t\t\tchildren: [{\n\t\t\t\ttype: \&quot;text\&quot;, text: this.match[0]\n\t\t\t}]\n\t\t}];\n\t}\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;wikirule&quot;
},
&quot;$:/core/modules/parsers/wikiparser/rules/filteredtranscludeblock.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/parsers/wikiparser/rules/filteredtranscludeblock.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/parsers/wikiparser/rules/filteredtranscludeblock.js\ntype: application/javascript\nmodule-type: wikirule\n\nWiki text rule for block-level filtered transclusion. For example:\n\n```\n{{{ [tag[docs]] }}}\n{{{ [tag[docs]] |tooltip}}}\n{{{ [tag[docs]] ||TemplateTitle}}}\n{{{ [tag[docs]] |tooltip||TemplateTitle}}}\n{{{ [tag[docs]] }}width:40;height:50;}.class.class\n```\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.name = \&quot;filteredtranscludeblock\&quot;;\nexports.types = {block: true};\n\nexports.init = function(parser) {\n\tthis.parser = parser;\n\t// Regexp to match\n\tthis.matchRegExp = /\\{\\{\\{([^\\|]+?)(?:\\|([^\\|\\{\\}]+))?(?:\\|\\|([^\\|\\{\\}]+))?\\}\\}([^\\}]*)\\}(?:\\.(\\S+))?(?:\\r?\\n|$)/mg;\n};\n\nexports.parse = function() {\n\t// Move past the match\n\tthis.parser.pos = this.matchRegExp.lastIndex;\n\t// Get the match details\n\tvar filter = this.match[1],\n\t\ttooltip = this.match[2],\n\t\ttemplate = $tw.utils.trim(this.match[3]),\n\t\tstyle = this.match[4],\n\t\tclasses = this.match[5];\n\t// Return the list widget\n\tvar node = {\n\t\ttype: \&quot;list\&quot;,\n\t\tattributes: {\n\t\t\tfilter: {type: \&quot;string\&quot;, value: filter}\n\t\t},\n\t\tisBlock: true\n\t};\n\tif(tooltip) {\n\t\tnode.attributes.tooltip = {type: \&quot;string\&quot;, value: tooltip};\n\t}\n\tif(template) {\n\t\tnode.attributes.template = {type: \&quot;string\&quot;, value: template};\n\t}\n\tif(style) {\n\t\tnode.attributes.style = {type: \&quot;string\&quot;, value: style};\n\t}\n\tif(classes) {\n\t\tnode.attributes.itemClass = {type: \&quot;string\&quot;, value: classes.split(\&quot;.\&quot;).join(\&quot; \&quot;)};\n\t}\n\treturn [node];\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;wikirule&quot;
},
&quot;$:/core/modules/parsers/wikiparser/rules/filteredtranscludeinline.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/parsers/wikiparser/rules/filteredtranscludeinline.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/parsers/wikiparser/rules/filteredtranscludeinline.js\ntype: application/javascript\nmodule-type: wikirule\n\nWiki text rule for inline filtered transclusion. For example:\n\n```\n{{{ [tag[docs]] }}}\n{{{ [tag[docs]] |tooltip}}}\n{{{ [tag[docs]] ||TemplateTitle}}}\n{{{ [tag[docs]] |tooltip||TemplateTitle}}}\n{{{ [tag[docs]] }}width:40;height:50;}.class.class\n```\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.name = \&quot;filteredtranscludeinline\&quot;;\nexports.types = {inline: true};\n\nexports.init = function(parser) {\n\tthis.parser = parser;\n\t// Regexp to match\n\tthis.matchRegExp = /\\{\\{\\{([^\\|]+?)(?:\\|([^\\|\\{\\}]+))?(?:\\|\\|([^\\|\\{\\}]+))?\\}\\}([^\\}]*)\\}(?:\\.(\\S+))?/mg;\n};\n\nexports.parse = function() {\n\t// Move past the match\n\tthis.parser.pos = this.matchRegExp.lastIndex;\n\t// Get the match details\n\tvar filter = this.match[1],\n\t\ttooltip = this.match[2],\n\t\ttemplate = $tw.utils.trim(this.match[3]),\n\t\tstyle = this.match[4],\n\t\tclasses = this.match[5];\n\t// Return the list widget\n\tvar node = {\n\t\ttype: \&quot;list\&quot;,\n\t\tattributes: {\n\t\t\tfilter: {type: \&quot;string\&quot;, value: filter}\n\t\t}\n\t};\n\tif(tooltip) {\n\t\tnode.attributes.tooltip = {type: \&quot;string\&quot;, value: tooltip};\n\t}\n\tif(template) {\n\t\tnode.attributes.template = {type: \&quot;string\&quot;, value: template};\n\t}\n\tif(style) {\n\t\tnode.attributes.style = {type: \&quot;string\&quot;, value: style};\n\t}\n\tif(classes) {\n\t\tnode.attributes.itemClass = {type: \&quot;string\&quot;, value: classes.split(\&quot;.\&quot;).join(\&quot; \&quot;)};\n\t}\n\treturn [node];\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;wikirule&quot;
},
&quot;$:/core/modules/parsers/wikiparser/rules/hardlinebreaks.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/parsers/wikiparser/rules/hardlinebreaks.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/parsers/wikiparser/rules/hardlinebreaks.js\ntype: application/javascript\nmodule-type: wikirule\n\nWiki text inline rule for marking areas with hard line breaks. For example:\n\n```\n\&quot;\&quot;\&quot;\nThis is some text\nThat is set like\nIt is a Poem\nWhen it is\nClearly\nNot\n\&quot;\&quot;\&quot;\n```\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.name = \&quot;hardlinebreaks\&quot;;\nexports.types = {inline: true};\n\nexports.init = function(parser) {\n\tthis.parser = parser;\n\t// Regexp to match\n\tthis.matchRegExp = /\&quot;\&quot;\&quot;(?:\\r?\\n)?/mg;\n};\n\nexports.parse = function() {\n\tvar reEnd = /(\&quot;\&quot;\&quot;)|(\\r?\\n)/mg,\n\t\ttree = [],\n\t\tmatch;\n\t// Move past the match\n\tthis.parser.pos = this.matchRegExp.lastIndex;\n\tdo {\n\t\t// Parse the run up to the terminator\n\t\ttree.push.apply(tree,this.parser.parseInlineRun(reEnd,{eatTerminator: false}));\n\t\t// Redo the terminator match\n\t\treEnd.lastIndex = this.parser.pos;\n\t\tmatch = reEnd.exec(this.parser.source);\n\t\tif(match) {\n\t\t\tthis.parser.pos = reEnd.lastIndex;\n\t\t\t// Add a line break if the terminator was a line break\n\t\t\tif(match[2]) {\n\t\t\t\ttree.push({type: \&quot;element\&quot;, tag: \&quot;br\&quot;});\n\t\t\t}\n\t\t}\n\t} while(match &amp;&amp; !match[1]);\n\t// Return the nodes\n\treturn tree;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;wikirule&quot;
},
&quot;$:/core/modules/parsers/wikiparser/rules/heading.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/parsers/wikiparser/rules/heading.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/parsers/wikiparser/rules/heading.js\ntype: application/javascript\nmodule-type: wikirule\n\nWiki text block rule for headings\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.name = \&quot;heading\&quot;;\nexports.types = {block: true};\n\nexports.init = function(parser) {\n\tthis.parser = parser;\n\t// Regexp to match\n\tthis.matchRegExp = /(!{1,6})/mg;\n};\n\n/*\nParse the most recent match\n*/\nexports.parse = function() {\n\t// Get all the details of the match\n\tvar headingLevel = this.match[1].length;\n\t// Move past the !s\n\tthis.parser.pos = this.matchRegExp.lastIndex;\n\t// Parse any classes, whitespace and then the heading itself\n\tvar classes = this.parser.parseClasses();\n\tthis.parser.skipWhitespace({treatNewlinesAsNonWhitespace: true});\n\tvar tree = this.parser.parseInlineRun(/(\\r?\\n)/mg);\n\t// Return the heading\n\treturn [{\n\t\ttype: \&quot;element\&quot;,\n\t\ttag: \&quot;h\&quot; + headingLevel, \n\t\tattributes: {\n\t\t\t\&quot;class\&quot;: {type: \&quot;string\&quot;, value: classes.join(\&quot; \&quot;)}\n\t\t},\n\t\tchildren: tree\n\t}];\n};\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;wikirule&quot;
},
&quot;$:/core/modules/parsers/wikiparser/rules/horizrule.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/parsers/wikiparser/rules/horizrule.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/parsers/wikiparser/rules/horizrule.js\ntype: application/javascript\nmodule-type: wikirule\n\nWiki text block rule for rules. For example:\n\n```\n---\n```\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.name = \&quot;horizrule\&quot;;\nexports.types = {block: true};\n\nexports.init = function(parser) {\n\tthis.parser = parser;\n\t// Regexp to match\n\tthis.matchRegExp = /-{3,}\\r?(?:\\n|$)/mg;\n};\n\nexports.parse = function() {\n\t// Move past the match\n\tthis.parser.pos = this.matchRegExp.lastIndex;\n\treturn [{type: \&quot;element\&quot;, tag: \&quot;hr\&quot;}];\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;wikirule&quot;
},
&quot;$:/core/modules/parsers/wikiparser/rules/html.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/parsers/wikiparser/rules/html.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/parsers/wikiparser/rules/html.js\ntype: application/javascript\nmodule-type: wikirule\n\nWiki rule for HTML elements and widgets. For example:\n\n{{{\n&lt;aside&gt;\nThis is an HTML5 aside element\n&lt;/aside&gt;\n\n&lt;$slider target=\&quot;MyTiddler\&quot;&gt;\nThis is a widget invocation\n&lt;/$slider&gt;\n\n}}}\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.name = \&quot;html\&quot;;\nexports.types = {inline: true, block: true};\n\nexports.init = function(parser) {\n\tthis.parser = parser;\n};\n\nexports.findNextMatch = function(startPos) {\n\t// Find the next tag\n\tthis.nextTag = this.findNextTag(this.parser.source,startPos,{\n\t\trequireLineBreak: this.is.block\n\t});\n\treturn this.nextTag ? this.nextTag.start : undefined;\n};\n\n/*\nParse the most recent match\n*/\nexports.parse = function() {\n\t// Retrieve the most recent match so that recursive calls don't overwrite it\n\tvar tag = this.nextTag;\n\tthis.nextTag = null;\n\t// Advance the parser position to past the tag\n\tthis.parser.pos = tag.end;\n\t// Check for an immediately following double linebreak\n\tvar hasLineBreak = !tag.isSelfClosing &amp;&amp; !!$tw.utils.parseTokenRegExp(this.parser.source,this.parser.pos,/([^\\S\\n\\r]*\\r?\\n(?:[^\\S\\n\\r]*\\r?\\n|$))/g);\n\t// Set whether we're in block mode\n\ttag.isBlock = this.is.block || hasLineBreak;\n\t// Parse the body if we need to\n\tif(!tag.isSelfClosing &amp;&amp; $tw.config.htmlVoidElements.indexOf(tag.tag) === -1) {\n\t\t\tvar reEndString = \&quot;&lt;/\&quot; + $tw.utils.escapeRegExp(tag.tag) + \&quot;&gt;\&quot;,\n\t\t\t\treEnd = new RegExp(\&quot;(\&quot; + reEndString + \&quot;)\&quot;,\&quot;mg\&quot;);\n\t\tif(hasLineBreak) {\n\t\t\ttag.children = this.parser.parseBlocks(reEndString);\n\t\t} else {\n\t\t\ttag.children = this.parser.parseInlineRun(reEnd);\n\t\t}\n\t\treEnd.lastIndex = this.parser.pos;\n\t\tvar endMatch = reEnd.exec(this.parser.source);\n\t\tif(endMatch &amp;&amp; endMatch.index === this.parser.pos) {\n\t\t\tthis.parser.pos = endMatch.index + endMatch[0].length;\n\t\t}\n\t}\n\t// Return the tag\n\treturn [tag];\n};\n\n/*\nLook for an HTML tag. Returns null if not found, otherwise returns {type: \&quot;element\&quot;, name:, attributes: [], isSelfClosing:, start:, end:,}\n*/\nexports.parseTag = function(source,pos,options) {\n\toptions = options || {};\n\tvar token,\n\t\tnode = {\n\t\t\ttype: \&quot;element\&quot;,\n\t\t\tstart: pos,\n\t\t\tattributes: {}\n\t\t};\n\t// Define our regexps\n\tvar reTagName = /([a-zA-Z0-9\\-\\$]+)/g;\n\t// Skip whitespace\n\tpos = $tw.utils.skipWhiteSpace(source,pos);\n\t// Look for a less than sign\n\ttoken = $tw.utils.parseTokenString(source,pos,\&quot;&lt;\&quot;);\n\tif(!token) {\n\t\treturn null;\n\t}\n\tpos = token.end;\n\t// Get the tag name\n\ttoken = $tw.utils.parseTokenRegExp(source,pos,reTagName);\n\tif(!token) {\n\t\treturn null;\n\t}\n\tnode.tag = token.match[1];\n\tif(node.tag.slice(1).indexOf(\&quot;$\&quot;) !== -1) {\n\t\treturn null;\n\t}\n\tif(node.tag.charAt(0) === \&quot;$\&quot;) {\n\t\tnode.type = node.tag.substr(1);\n\t}\n\tpos = token.end;\n\t// Check that the tag is terminated by a space, / or &gt;\n\tif(!$tw.utils.parseWhiteSpace(source,pos) &amp;&amp; !(source.charAt(pos) === \&quot;/\&quot;) &amp;&amp; !(source.charAt(pos) === \&quot;&gt;\&quot;) ) {\n\t\treturn null;\n\t}\n\t// Process attributes\n\tvar attribute = $tw.utils.parseAttribute(source,pos);\n\twhile(attribute) {\n\t\tnode.attributes[attribute.name] = attribute;\n\t\tpos = attribute.end;\n\t\t// Get the next attribute\n\t\tattribute = $tw.utils.parseAttribute(source,pos);\n\t}\n\t// Skip whitespace\n\tpos = $tw.utils.skipWhiteSpace(source,pos);\n\t// Look for a closing slash\n\ttoken = $tw.utils.parseTokenString(source,pos,\&quot;/\&quot;);\n\tif(token) {\n\t\tpos = token.end;\n\t\tnode.isSelfClosing = true;\n\t}\n\t// Look for a greater than sign\n\ttoken = $tw.utils.parseTokenString(source,pos,\&quot;&gt;\&quot;)
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;wikirule&quot;
},
&quot;$:/core/modules/parsers/wikiparser/rules/image.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/parsers/wikiparser/rules/image.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/parsers/wikiparser/rules/image.js\ntype: application/javascript\nmodule-type: wikirule\n\nWiki text inline rule for embedding images. For example:\n\n```\n[img[https://tiddlywiki.com/fractalveg.jpg]]\n[img width=23 height=24 [https://tiddlywiki.com/fractalveg.jpg]]\n[img width={{!!width}} height={{!!height}} [https://tiddlywiki.com/fractalveg.jpg]]\n[img[Description of image|https://tiddlywiki.com/fractalveg.jpg]]\n[img[TiddlerTitle]]\n[img[Description of image|TiddlerTitle]]\n```\n\nGenerates the `&lt;$image&gt;` widget.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.name = \&quot;image\&quot;;\nexports.types = {inline: true};\n\nexports.init = function(parser) {\n\tthis.parser = parser;\n};\n\nexports.findNextMatch = function(startPos) {\n\t// Find the next tag\n\tthis.nextImage = this.findNextImage(this.parser.source,startPos);\n\treturn this.nextImage ? this.nextImage.start : undefined;\n};\n\nexports.parse = function() {\n\t// Move past the match\n\tthis.parser.pos = this.nextImage.end;\n\tvar node = {\n\t\ttype: \&quot;image\&quot;,\n\t\tattributes: this.nextImage.attributes\n\t};\n\treturn [node];\n};\n\n/*\nFind the next image from the current position\n*/\nexports.findNextImage = function(source,pos) {\n\t// A regexp for finding candidate HTML tags\n\tvar reLookahead = /(\\[img)/g;\n\t// Find the next candidate\n\treLookahead.lastIndex = pos;\n\tvar match = reLookahead.exec(source);\n\twhile(match) {\n\t\t// Try to parse the candidate as a tag\n\t\tvar tag = this.parseImage(source,match.index);\n\t\t// Return success\n\t\tif(tag) {\n\t\t\treturn tag;\n\t\t}\n\t\t// Look for the next match\n\t\treLookahead.lastIndex = match.index + 1;\n\t\tmatch = reLookahead.exec(source);\n\t}\n\t// Failed\n\treturn null;\n};\n\n/*\nLook for an image at the specified position. Returns null if not found, otherwise returns {type: \&quot;image\&quot;, attributes: [], isSelfClosing:, start:, end:,}\n*/\nexports.parseImage = function(source,pos) {\n\tvar token,\n\t\tnode = {\n\t\t\ttype: \&quot;image\&quot;,\n\t\t\tstart: pos,\n\t\t\tattributes: {}\n\t\t};\n\t// Skip whitespace\n\tpos = $tw.utils.skipWhiteSpace(source,pos);\n\t// Look for the `[img`\n\ttoken = $tw.utils.parseTokenString(source,pos,\&quot;[img\&quot;);\n\tif(!token) {\n\t\treturn null;\n\t}\n\tpos = token.end;\n\t// Skip whitespace\n\tpos = $tw.utils.skipWhiteSpace(source,pos);\n\t// Process attributes\n\tif(source.charAt(pos) !== \&quot;[\&quot;) {\n\t\tvar attribute = $tw.utils.parseAttribute(source,pos);\n\t\twhile(attribute) {\n\t\t\tnode.attributes[attribute.name] = attribute;\n\t\t\tpos = attribute.end;\n\t\t\tpos = $tw.utils.skipWhiteSpace(source,pos);\n\t\t\tif(source.charAt(pos) !== \&quot;[\&quot;) {\n\t\t\t\t// Get the next attribute\n\t\t\t\tattribute = $tw.utils.parseAttribute(source,pos);\n\t\t\t} else {\n\t\t\t\tattribute = null;\n\t\t\t}\n\t\t}\n\t}\n\t// Skip whitespace\n\tpos = $tw.utils.skipWhiteSpace(source,pos);\n\t// Look for the `[` after the attributes\n\ttoken = $tw.utils.parseTokenString(source,pos,\&quot;[\&quot;);\n\tif(!token) {\n\t\treturn null;\n\t}\n\tpos = token.end;\n\t// Skip whitespace\n\tpos = $tw.utils.skipWhiteSpace(source,pos);\n\t// Get the source up to the terminating `]]`\n\ttoken = $tw.utils.parseTokenRegExp(source,pos,/(?:([^|\\]]*?)\\|)?([^\\]]+?)\\]\\]/g);\n\tif(!token) {\n\t\treturn null;\n\t}\n\tpos = token.end;\n\tif(token.match[1]) {\n\t\tnode.attributes.tooltip = {type: \&quot;string\&quot;, value: token.match[1].trim()};\n\t}\n\tnode.attributes.source = {type: \&quot;string\&quot;, value: (token.match[2] || \&quot;\&quot;).trim()};\n\t// Update the end position\n\tnode.end = pos;\n\treturn node;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;wikirule&quot;
},
&quot;$:/core/modules/parsers/wikiparser/rules/import.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/parsers/wikiparser/rules/import.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/parsers/wikiparser/rules/import.js\ntype: application/javascript\nmodule-type: wikirule\n\nWiki pragma rule for importing variable definitions\n\n```\n\\import [[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]\n```\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.name = \&quot;import\&quot;;\nexports.types = {pragma: true};\n\n/*\nInstantiate parse rule\n*/\nexports.init = function(parser) {\n\tthis.parser = parser;\n\t// Regexp to match\n\tthis.matchRegExp = /^\\\\import[^\\S\\n]/mg;\n};\n\n/*\nParse the most recent match\n*/\nexports.parse = function() {\n\tvar self = this;\n\t// Move past the pragma invocation\n\tthis.parser.pos = this.matchRegExp.lastIndex;\n\t// Parse the filter terminated by a line break\n\tvar reMatch = /(.*)(\\r?\\n)|$/mg;\n\treMatch.lastIndex = this.parser.pos;\n\tvar match = reMatch.exec(this.parser.source);\n\tthis.parser.pos = reMatch.lastIndex;\n\t// Parse tree nodes to return\n\treturn [{\n\t\ttype: \&quot;importvariables\&quot;,\n\t\tattributes: {\n\t\t\tfilter: {type: \&quot;string\&quot;, value: match[1]}\n\t\t},\n\t\tchildren: []\n\t}];\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;wikirule&quot;
},
&quot;$:/core/modules/parsers/wikiparser/rules/list.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/parsers/wikiparser/rules/list.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/parsers/wikiparser/rules/list.js\ntype: application/javascript\nmodule-type: wikirule\n\nWiki text block rule for lists. For example:\n\n```\n* This is an unordered list\n* It has two items\n\n# This is a numbered list\n## With a subitem\n# And a third item\n\n; This is a term that is being defined\n: This is the definition of that term\n```\n\nNote that lists can be nested arbitrarily:\n\n```\n#** One\n#* Two\n#** Three\n#**** Four\n#**# Five\n#**## Six\n## Seven\n### Eight\n## Nine\n```\n\nA CSS class can be applied to a list item as follows:\n\n```\n* List item one\n*.active List item two has the class `active`\n* List item three\n```\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.name = \&quot;list\&quot;;\nexports.types = {block: true};\n\nexports.init = function(parser) {\n\tthis.parser = parser;\n\t// Regexp to match\n\tthis.matchRegExp = /([\\*#;:&gt;]+)/mg;\n};\n\nvar listTypes = {\n\t\&quot;*\&quot;: {listTag: \&quot;ul\&quot;, itemTag: \&quot;li\&quot;},\n\t\&quot;#\&quot;: {listTag: \&quot;ol\&quot;, itemTag: \&quot;li\&quot;},\n\t\&quot;;\&quot;: {listTag: \&quot;dl\&quot;, itemTag: \&quot;dt\&quot;},\n\t\&quot;:\&quot;: {listTag: \&quot;dl\&quot;, itemTag: \&quot;dd\&quot;},\n\t\&quot;&gt;\&quot;: {listTag: \&quot;blockquote\&quot;, itemTag: \&quot;div\&quot;}\n};\n\n/*\nParse the most recent match\n*/\nexports.parse = function() {\n\t// Array of parse tree nodes for the previous row of the list\n\tvar listStack = [];\n\t// Cycle through the items in the list\n\twhile(true) {\n\t\t// Match the list marker\n\t\tvar reMatch = /([\\*#;:&gt;]+)/mg;\n\t\treMatch.lastIndex = this.parser.pos;\n\t\tvar match = reMatch.exec(this.parser.source);\n\t\tif(!match || match.index !== this.parser.pos) {\n\t\t\tbreak;\n\t\t}\n\t\t// Check whether the list type of the top level matches\n\t\tvar listInfo = listTypes[match[0].charAt(0)];\n\t\tif(listStack.length &gt; 0 &amp;&amp; listStack[0].tag !== listInfo.listTag) {\n\t\t\tbreak;\n\t\t}\n\t\t// Move past the list marker\n\t\tthis.parser.pos = match.index + match[0].length;\n\t\t// Walk through the list markers for the current row\n\t\tfor(var t=0; t&lt;match[0].length; t++) {\n\t\t\tlistInfo = listTypes[match[0].charAt(t)];\n\t\t\t// Remove any stacked up element if we can't re-use it because the list type doesn't match\n\t\t\tif(listStack.length &gt; t &amp;&amp; listStack[t].tag !== listInfo.listTag) {\n\t\t\t\tlistStack.splice(t,listStack.length - t);\n\t\t\t}\n\t\t\t// Construct the list element or reuse the previous one at this level\n\t\t\tif(listStack.length &lt;= t) {\n\t\t\t\tvar listElement = {type: \&quot;element\&quot;, tag: listInfo.listTag, children: [\n\t\t\t\t\t{type: \&quot;element\&quot;, tag: listInfo.itemTag, children: []}\n\t\t\t\t]};\n\t\t\t\t// Link this list element into the last child item of the parent list item\n\t\t\t\tif(t) {\n\t\t\t\t\tvar prevListItem = listStack[t-1].children[listStack[t-1].children.length-1];\n\t\t\t\t\tprevListItem.children.push(listElement);\n\t\t\t\t}\n\t\t\t\t// Save this element in the stack\n\t\t\t\tlistStack[t] = listElement;\n\t\t\t} else if(t === (match[0].length - 1)) {\n\t\t\t\tlistStack[t].children.push({type: \&quot;element\&quot;, tag: listInfo.itemTag, children: []});\n\t\t\t}\n\t\t}\n\t\tif(listStack.length &gt; match[0].length) {\n\t\t\tlistStack.splice(match[0].length,listStack.length - match[0].length);\n\t\t}\n\t\t// Process the body of the list item into the last list item\n\t\tvar lastListChildren = listStack[listStack.length-1].children,\n\t\t\tlastListItem = lastListChildren[lastListChildren.length-1],\n\t\t\tclasses = this.parser.parseClasses();\n\t\tthis.parser.skipWhitespace({treatNewlinesAsNonWhitespace: true});\n\t\tvar tree = this.parser.parseInlineRun(/(\\r?\\n)/mg);\n\t\tlastListItem.children.push.apply(lastListItem.children,tree);\n\t\tif(classes.length &gt; 0) {\n\t\t\t$tw.utils.addClassToParseTreeNode(lastListItem,classes.join(\&quot; \&quot;));\n\
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;wikirule&quot;
},
&quot;$:/core/modules/parsers/wikiparser/rules/macrocallblock.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/parsers/wikiparser/rules/macrocallblock.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/parsers/wikiparser/rules/macrocallblock.js\ntype: application/javascript\nmodule-type: wikirule\n\nWiki rule for block macro calls\n\n```\n&lt;&lt;name value value2&gt;&gt;\n```\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.name = \&quot;macrocallblock\&quot;;\nexports.types = {block: true};\n\nexports.init = function(parser) {\n\tthis.parser = parser;\n\t// Regexp to match\n\tthis.matchRegExp = /&lt;&lt;([^&gt;\\s]+)(?:\\s*)((?:[^&gt;]|(?:&gt;(?!&gt;)))*?)&gt;&gt;(?:\\r?\\n|$)/mg;\n};\n\n/*\nParse the most recent match\n*/\nexports.parse = function() {\n\t// Get all the details of the match\n\tvar macroName = this.match[1],\n\t\tparamString = this.match[2];\n\t// Move past the macro call\n\tthis.parser.pos = this.matchRegExp.lastIndex;\n\tvar params = [],\n\t\treParam = /\\s*(?:([A-Za-z0-9\\-_]+)\\s*:)?(?:\\s*(?:\&quot;\&quot;\&quot;([\\s\\S]*?)\&quot;\&quot;\&quot;|\&quot;([^\&quot;]*)\&quot;|'([^']*)'|\\[\\[([^\\]]*)\\]\\]|([^\&quot;'\\s]+)))/mg,\n\t\tparamMatch = reParam.exec(paramString);\n\twhile(paramMatch) {\n\t\t// Process this parameter\n\t\tvar paramInfo = {\n\t\t\tvalue: paramMatch[2] || paramMatch[3] || paramMatch[4] || paramMatch[5] || paramMatch[6]\n\t\t};\n\t\tif(paramMatch[1]) {\n\t\t\tparamInfo.name = paramMatch[1];\n\t\t}\n\t\tparams.push(paramInfo);\n\t\t// Find the next match\n\t\tparamMatch = reParam.exec(paramString);\n\t}\n\treturn [{\n\t\ttype: \&quot;macrocall\&quot;,\n\t\tname: macroName,\n\t\tparams: params,\n\t\tisBlock: true\n\t}];\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;wikirule&quot;
},
&quot;$:/core/modules/parsers/wikiparser/rules/macrocallinline.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/parsers/wikiparser/rules/macrocallinline.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/parsers/wikiparser/rules/macrocallinline.js\ntype: application/javascript\nmodule-type: wikirule\n\nWiki rule for macro calls\n\n```\n&lt;&lt;name value value2&gt;&gt;\n```\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.name = \&quot;macrocallinline\&quot;;\nexports.types = {inline: true};\n\nexports.init = function(parser) {\n\tthis.parser = parser;\n\t// Regexp to match\n\tthis.matchRegExp = /&lt;&lt;([^\\s&gt;]+)\\s*([\\s\\S]*?)&gt;&gt;/mg;\n};\n\n/*\nParse the most recent match\n*/\nexports.parse = function() {\n\t// Get all the details of the match\n\tvar macroName = this.match[1],\n\t\tparamString = this.match[2];\n\t// Move past the macro call\n\tthis.parser.pos = this.matchRegExp.lastIndex;\n\tvar params = [],\n\t\treParam = /\\s*(?:([A-Za-z0-9\\-_]+)\\s*:)?(?:\\s*(?:\&quot;\&quot;\&quot;([\\s\\S]*?)\&quot;\&quot;\&quot;|\&quot;([^\&quot;]*)\&quot;|'([^']*)'|\\[\\[([^\\]]*)\\]\\]|([^\&quot;'\\s]+)))/mg,\n\t\tparamMatch = reParam.exec(paramString);\n\twhile(paramMatch) {\n\t\t// Process this parameter\n\t\tvar paramInfo = {\n\t\t\tvalue: paramMatch[2] || paramMatch[3] || paramMatch[4] || paramMatch[5]|| paramMatch[6]\n\t\t};\n\t\tif(paramMatch[1]) {\n\t\t\tparamInfo.name = paramMatch[1];\n\t\t}\n\t\tparams.push(paramInfo);\n\t\t// Find the next match\n\t\tparamMatch = reParam.exec(paramString);\n\t}\n\treturn [{\n\t\ttype: \&quot;macrocall\&quot;,\n\t\tname: macroName,\n\t\tparams: params\n\t}];\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;wikirule&quot;
},
&quot;$:/core/modules/parsers/wikiparser/rules/macrodef.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/parsers/wikiparser/rules/macrodef.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/parsers/wikiparser/rules/macrodef.js\ntype: application/javascript\nmodule-type: wikirule\n\nWiki pragma rule for macro definitions\n\n```\n\\define name(param:defaultvalue,param2:defaultvalue)\ndefinition text, including $param$ markers\n\\end\n```\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.name = \&quot;macrodef\&quot;;\nexports.types = {pragma: true};\n\n/*\nInstantiate parse rule\n*/\nexports.init = function(parser) {\n\tthis.parser = parser;\n\t// Regexp to match\n\tthis.matchRegExp = /^\\\\define\\s+([^(\\s]+)\\(\\s*([^)]*)\\)(\\s*\\r?\\n)?/mg;\n};\n\n/*\nParse the most recent match\n*/\nexports.parse = function() {\n\t// Move past the macro name and parameters\n\tthis.parser.pos = this.matchRegExp.lastIndex;\n\t// Parse the parameters\n\tvar paramString = this.match[2],\n\t\tparams = [];\n\tif(paramString !== \&quot;\&quot;) {\n\t\tvar reParam = /\\s*([A-Za-z0-9\\-_]+)(?:\\s*:\\s*(?:\&quot;\&quot;\&quot;([\\s\\S]*?)\&quot;\&quot;\&quot;|\&quot;([^\&quot;]*)\&quot;|'([^']*)'|\\[\\[([^\\]]*)\\]\\]|([^\&quot;'\\s]+)))?/mg,\n\t\t\tparamMatch = reParam.exec(paramString);\n\t\twhile(paramMatch) {\n\t\t\t// Save the parameter details\n\t\t\tvar paramInfo = {name: paramMatch[1]},\n\t\t\t\tdefaultValue = paramMatch[2] || paramMatch[3] || paramMatch[4] || paramMatch[5] || paramMatch[6];\n\t\t\tif(defaultValue) {\n\t\t\t\tparamInfo[\&quot;default\&quot;] = defaultValue;\n\t\t\t}\n\t\t\tparams.push(paramInfo);\n\t\t\t// Look for the next parameter\n\t\t\tparamMatch = reParam.exec(paramString);\n\t\t}\n\t}\n\t// Is this a multiline definition?\n\tvar reEnd;\n\tif(this.match[3]) {\n\t\t// If so, the end of the body is marked with \\end\n\t\treEnd = /(\\r?\\n\\\\end[^\\S\\n\\r]*(?:$|\\r?\\n))/mg;\n\t} else {\n\t\t// Otherwise, the end of the definition is marked by the end of the line\n\t\treEnd = /($|\\r?\\n)/mg;\n\t\t// Move past any whitespace\n\t\tthis.parser.pos = $tw.utils.skipWhiteSpace(this.parser.source,this.parser.pos);\n\t}\n\t// Find the end of the definition\n\treEnd.lastIndex = this.parser.pos;\n\tvar text,\n\t\tendMatch = reEnd.exec(this.parser.source);\n\tif(endMatch) {\n\t\ttext = this.parser.source.substring(this.parser.pos,endMatch.index);\n\t\tthis.parser.pos = endMatch.index + endMatch[0].length;\n\t} else {\n\t\t// We didn't find the end of the definition, so we'll make it blank\n\t\ttext = \&quot;\&quot;;\n\t}\n\t// Save the macro definition\n\treturn [{\n\t\ttype: \&quot;set\&quot;,\n\t\tattributes: {\n\t\t\tname: {type: \&quot;string\&quot;, value: this.match[1]},\n\t\t\tvalue: {type: \&quot;string\&quot;, value: text}\n\t\t},\n\t\tchildren: [],\n\t\tparams: params,\n\t\tisMacroDefinition: true\n\t}];\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;wikirule&quot;
},
&quot;$:/core/modules/parsers/wikiparser/rules/prettyextlink.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/parsers/wikiparser/rules/prettyextlink.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/parsers/wikiparser/rules/prettyextlink.js\ntype: application/javascript\nmodule-type: wikirule\n\nWiki text inline rule for external links. For example:\n\n```\n[ext[https://tiddlywiki.com/fractalveg.jpg]]\n[ext[Tooltip|https://tiddlywiki.com/fractalveg.jpg]]\n```\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.name = \&quot;prettyextlink\&quot;;\nexports.types = {inline: true};\n\nexports.init = function(parser) {\n\tthis.parser = parser;\n};\n\nexports.findNextMatch = function(startPos) {\n\t// Find the next tag\n\tthis.nextLink = this.findNextLink(this.parser.source,startPos);\n\treturn this.nextLink ? this.nextLink.start : undefined;\n};\n\nexports.parse = function() {\n\t// Move past the match\n\tthis.parser.pos = this.nextLink.end;\n\treturn [this.nextLink];\n};\n\n/*\nFind the next link from the current position\n*/\nexports.findNextLink = function(source,pos) {\n\t// A regexp for finding candidate links\n\tvar reLookahead = /(\\[ext\\[)/g;\n\t// Find the next candidate\n\treLookahead.lastIndex = pos;\n\tvar match = reLookahead.exec(source);\n\twhile(match) {\n\t\t// Try to parse the candidate as a link\n\t\tvar link = this.parseLink(source,match.index);\n\t\t// Return success\n\t\tif(link) {\n\t\t\treturn link;\n\t\t}\n\t\t// Look for the next match\n\t\treLookahead.lastIndex = match.index + 1;\n\t\tmatch = reLookahead.exec(source);\n\t}\n\t// Failed\n\treturn null;\n};\n\n/*\nLook for an link at the specified position. Returns null if not found, otherwise returns {type: \&quot;element\&quot;, tag: \&quot;a\&quot;, attributes: [], isSelfClosing:, start:, end:,}\n*/\nexports.parseLink = function(source,pos) {\n\tvar token,\n\t\ttextNode = {\n\t\t\ttype: \&quot;text\&quot;\n\t\t},\n\t\tnode = {\n\t\t\ttype: \&quot;element\&quot;,\n\t\t\ttag: \&quot;a\&quot;,\n\t\t\tstart: pos,\n\t\t\tattributes: {\n\t\t\t\t\&quot;class\&quot;: {type: \&quot;string\&quot;, value: \&quot;tc-tiddlylink-external\&quot;},\n\t\t\t},\n\t\t\tchildren: [textNode]\n\t\t};\n\t// Skip whitespace\n\tpos = $tw.utils.skipWhiteSpace(source,pos);\n\t// Look for the `[ext[`\n\ttoken = $tw.utils.parseTokenString(source,pos,\&quot;[ext[\&quot;);\n\tif(!token) {\n\t\treturn null;\n\t}\n\tpos = token.end;\n\t// Look ahead for the terminating `]]`\n\tvar closePos = source.indexOf(\&quot;]]\&quot;,pos);\n\tif(closePos === -1) {\n\t\treturn null;\n\t}\n\t// Look for a `|` separating the tooltip\n\tvar splitPos = source.indexOf(\&quot;|\&quot;,pos);\n\tif(splitPos === -1 || splitPos &gt; closePos) {\n\t\tsplitPos = null;\n\t}\n\t// Pull out the tooltip and URL\n\tvar tooltip, URL;\n\tif(splitPos) {\n\t\tURL = source.substring(splitPos + 1,closePos).trim();\n\t\ttextNode.text = source.substring(pos,splitPos).trim();\n\t} else {\n\t\tURL = source.substring(pos,closePos).trim();\n\t\ttextNode.text = URL;\n\t}\n\tnode.attributes.href = {type: \&quot;string\&quot;, value: URL};\n\tnode.attributes.target = {type: \&quot;string\&quot;, value: \&quot;_blank\&quot;};\n\tnode.attributes.rel = {type: \&quot;string\&quot;, value: \&quot;noopener noreferrer\&quot;};\n\t// Update the end position\n\tnode.end = closePos + 2;\n\treturn node;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;wikirule&quot;
},
&quot;$:/core/modules/parsers/wikiparser/rules/prettylink.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/parsers/wikiparser/rules/prettylink.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/parsers/wikiparser/rules/prettylink.js\ntype: application/javascript\nmodule-type: wikirule\n\nWiki text inline rule for pretty links. For example:\n\n```\n[[Introduction]]\n\n[[Link description|TiddlerTitle]]\n```\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.name = \&quot;prettylink\&quot;;\nexports.types = {inline: true};\n\nexports.init = function(parser) {\n\tthis.parser = parser;\n\t// Regexp to match\n\tthis.matchRegExp = /\\[\\[(.*?)(?:\\|(.*?))?\\]\\]/mg;\n};\n\nexports.parse = function() {\n\t// Move past the match\n\tthis.parser.pos = this.matchRegExp.lastIndex;\n\t// Process the link\n\tvar text = this.match[1],\n\t\tlink = this.match[2] || text;\n\tif($tw.utils.isLinkExternal(link)) {\n\t\treturn [{\n\t\t\ttype: \&quot;element\&quot;,\n\t\t\ttag: \&quot;a\&quot;,\n\t\t\tattributes: {\n\t\t\t\thref: {type: \&quot;string\&quot;, value: link},\n\t\t\t\t\&quot;class\&quot;: {type: \&quot;string\&quot;, value: \&quot;tc-tiddlylink-external\&quot;},\n\t\t\t\ttarget: {type: \&quot;string\&quot;, value: \&quot;_blank\&quot;},\n\t\t\t\trel: {type: \&quot;string\&quot;, value: \&quot;noopener noreferrer\&quot;}\n\t\t\t},\n\t\t\tchildren: [{\n\t\t\t\ttype: \&quot;text\&quot;, text: text\n\t\t\t}]\n\t\t}];\n\t} else {\n\t\treturn [{\n\t\t\ttype: \&quot;link\&quot;,\n\t\t\tattributes: {\n\t\t\t\tto: {type: \&quot;string\&quot;, value: link}\n\t\t\t},\n\t\t\tchildren: [{\n\t\t\t\ttype: \&quot;text\&quot;, text: text\n\t\t\t}]\n\t\t}];\n\t}\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;wikirule&quot;
},
&quot;$:/core/modules/parsers/wikiparser/rules/quoteblock.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/parsers/wikiparser/rules/quoteblock.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/parsers/wikiparser/rules/quoteblock.js\ntype: application/javascript\nmodule-type: wikirule\n\nWiki text rule for quote blocks. For example:\n\n```\n\t&lt;&lt;&lt;.optionalClass(es) optional cited from\n\ta quote\n\t&lt;&lt;&lt;\n\t\n\t&lt;&lt;&lt;.optionalClass(es)\n\ta quote\n\t&lt;&lt;&lt; optional cited from\n```\n\nQuotes can be quoted by putting more &lt;s\n\n```\n\t&lt;&lt;&lt;\n\tQuote Level 1\n\t\n\t&lt;&lt;&lt;&lt;\n\tQuoteLevel 2\n\t&lt;&lt;&lt;&lt;\n\t\n\t&lt;&lt;&lt;\n```\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.name = \&quot;quoteblock\&quot;;\nexports.types = {block: true};\n\nexports.init = function(parser) {\n\tthis.parser = parser;\n\t// Regexp to match\n\tthis.matchRegExp = /(&lt;&lt;&lt;+)/mg;\n};\n\nexports.parse = function() {\n\tvar classes = [\&quot;tc-quote\&quot;];\n\t// Get all the details of the match\n\tvar reEndString = \&quot;^\&quot; + this.match[1] + \&quot;(?!&lt;)\&quot;;\n\t// Move past the &lt;s\n\tthis.parser.pos = this.matchRegExp.lastIndex;\n\t\n\t// Parse any classes, whitespace and then the optional cite itself\n\tclasses.push.apply(classes, this.parser.parseClasses());\n\tthis.parser.skipWhitespace({treatNewlinesAsNonWhitespace: true});\n\tvar cite = this.parser.parseInlineRun(/(\\r?\\n)/mg);\n\t// before handling the cite, parse the body of the quote\n\tvar tree= this.parser.parseBlocks(reEndString);\n\t// If we got a cite, put it before the text\n\tif(cite.length &gt; 0) {\n\t\ttree.unshift({\n\t\t\ttype: \&quot;element\&quot;,\n\t\t\ttag: \&quot;cite\&quot;,\n\t\t\tchildren: cite\n\t\t});\n\t}\n\t// Parse any optional cite\n\tthis.parser.skipWhitespace({treatNewlinesAsNonWhitespace: true});\n\tcite = this.parser.parseInlineRun(/(\\r?\\n)/mg);\n\t// If we got a cite, push it\n\tif(cite.length &gt; 0) {\n\t\ttree.push({\n\t\t\ttype: \&quot;element\&quot;,\n\t\t\ttag: \&quot;cite\&quot;,\n\t\t\tchildren: cite\n\t\t});\n\t}\n\t// Return the blockquote element\n\treturn [{\n\t\ttype: \&quot;element\&quot;,\n\t\ttag: \&quot;blockquote\&quot;,\n\t\tattributes: {\n\t\t\tclass: { type: \&quot;string\&quot;, value: classes.join(\&quot; \&quot;) },\n\t\t},\n\t\tchildren: tree\n\t}];\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;wikirule&quot;
},
&quot;$:/core/modules/parsers/wikiparser/rules/rules.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/parsers/wikiparser/rules/rules.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/parsers/wikiparser/rules/rules.js\ntype: application/javascript\nmodule-type: wikirule\n\nWiki pragma rule for rules specifications\n\n```\n\\rules except ruleone ruletwo rulethree\n\\rules only ruleone ruletwo rulethree\n```\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.name = \&quot;rules\&quot;;\nexports.types = {pragma: true};\n\n/*\nInstantiate parse rule\n*/\nexports.init = function(parser) {\n\tthis.parser = parser;\n\t// Regexp to match\n\tthis.matchRegExp = /^\\\\rules[^\\S\\n]/mg;\n};\n\n/*\nParse the most recent match\n*/\nexports.parse = function() {\n\t// Move past the pragma invocation\n\tthis.parser.pos = this.matchRegExp.lastIndex;\n\t// Parse whitespace delimited tokens terminated by a line break\n\tvar reMatch = /[^\\S\\n]*(\\S+)|(\\r?\\n)/mg,\n\t\ttokens = [];\n\treMatch.lastIndex = this.parser.pos;\n\tvar match = reMatch.exec(this.parser.source);\n\twhile(match &amp;&amp; match.index === this.parser.pos) {\n\t\tthis.parser.pos = reMatch.lastIndex;\n\t\t// Exit if we've got the line break\n\t\tif(match[2]) {\n\t\t\tbreak;\n\t\t}\n\t\t// Process the token\n\t\tif(match[1]) {\n\t\t\ttokens.push(match[1]);\n\t\t}\n\t\t// Match the next token\n\t\tmatch = reMatch.exec(this.parser.source);\n\t}\n\t// Process the tokens\n\tif(tokens.length &gt; 0) {\n\t\tthis.parser.amendRules(tokens[0],tokens.slice(1));\n\t}\n\t// No parse tree nodes to return\n\treturn [];\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;wikirule&quot;
},
&quot;$:/core/modules/parsers/wikiparser/rules/styleblock.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/parsers/wikiparser/rules/styleblock.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/parsers/wikiparser/rules/styleblock.js\ntype: application/javascript\nmodule-type: wikirule\n\nWiki text block rule for assigning styles and classes to paragraphs and other blocks. For example:\n\n```\n@@.myClass\n@@background-color:red;\nThis paragraph will have the CSS class `myClass`.\n\n* The `&lt;ul&gt;` around this list will also have the class `myClass`\n* List item 2\n\n@@\n```\n\nNote that classes and styles can be mixed subject to the rule that styles must precede classes. For example\n\n```\n@@.myFirstClass.mySecondClass\n@@width:100px;.myThirdClass\nThis is a paragraph\n@@\n```\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.name = \&quot;styleblock\&quot;;\nexports.types = {block: true};\n\nexports.init = function(parser) {\n\tthis.parser = parser;\n\t// Regexp to match\n\tthis.matchRegExp = /@@((?:[^\\.\\r\\n\\s:]+:[^\\r\\n;]+;)+)?(?:\\.([^\\r\\n\\s]+))?\\r?\\n/mg;\n};\n\nexports.parse = function() {\n\tvar reEndString = \&quot;^@@(?:\\\\r?\\\\n)?\&quot;;\n\tvar classes = [], styles = [];\n\tdo {\n\t\t// Get the class and style\n\t\tif(this.match[1]) {\n\t\t\tstyles.push(this.match[1]);\n\t\t}\n\t\tif(this.match[2]) {\n\t\t\tclasses.push(this.match[2].split(\&quot;.\&quot;).join(\&quot; \&quot;));\n\t\t}\n\t\t// Move past the match\n\t\tthis.parser.pos = this.matchRegExp.lastIndex;\n\t\t// Look for another line of classes and styles\n\t\tthis.match = this.matchRegExp.exec(this.parser.source);\n\t} while(this.match &amp;&amp; this.match.index === this.parser.pos);\n\t// Parse the body\n\tvar tree = this.parser.parseBlocks(reEndString);\n\tfor(var t=0; t&lt;tree.length; t++) {\n\t\tif(classes.length &gt; 0) {\n\t\t\t$tw.utils.addClassToParseTreeNode(tree[t],classes.join(\&quot; \&quot;));\n\t\t}\n\t\tif(styles.length &gt; 0) {\n\t\t\t$tw.utils.addAttributeToParseTreeNode(tree[t],\&quot;style\&quot;,styles.join(\&quot;\&quot;));\n\t\t}\n\t}\n\treturn tree;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;wikirule&quot;
},
&quot;$:/core/modules/parsers/wikiparser/rules/styleinline.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/parsers/wikiparser/rules/styleinline.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/parsers/wikiparser/rules/styleinline.js\ntype: application/javascript\nmodule-type: wikirule\n\nWiki text inline rule for assigning styles and classes to inline runs. For example:\n\n```\n@@.myClass This is some text with a class@@\n@@background-color:red;This is some text with a background colour@@\n@@width:100px;.myClass This is some text with a class and a width@@\n```\n\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.name = \&quot;styleinline\&quot;;\nexports.types = {inline: true};\n\nexports.init = function(parser) {\n\tthis.parser = parser;\n\t// Regexp to match\n\tthis.matchRegExp = /@@((?:[^\\.\\r\\n\\s:]+:[^\\r\\n;]+;)+)?(\\.(?:[^\\r\\n\\s]+)\\s+)?/mg;\n};\n\nexports.parse = function() {\n\tvar reEnd = /@@/g;\n\t// Get the styles and class\n\tvar stylesString = this.match[1],\n\t\tclassString = this.match[2] ? this.match[2].split(\&quot;.\&quot;).join(\&quot; \&quot;) : undefined;\n\t// Move past the match\n\tthis.parser.pos = this.matchRegExp.lastIndex;\n\t// Parse the run up to the terminator\n\tvar tree = this.parser.parseInlineRun(reEnd,{eatTerminator: true});\n\t// Return the classed span\n\tvar node = {\n\t\ttype: \&quot;element\&quot;,\n\t\ttag: \&quot;span\&quot;,\n\t\tattributes: {\n\t\t\t\&quot;class\&quot;: {type: \&quot;string\&quot;, value: \&quot;tc-inline-style\&quot;}\n\t\t},\n\t\tchildren: tree\n\t};\n\tif(classString) {\n\t\t$tw.utils.addClassToParseTreeNode(node,classString);\n\t}\n\tif(stylesString) {\n\t\t$tw.utils.addAttributeToParseTreeNode(node,\&quot;style\&quot;,stylesString);\n\t}\n\treturn [node];\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;wikirule&quot;
},
&quot;$:/core/modules/parsers/wikiparser/rules/syslink.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/parsers/wikiparser/rules/syslink.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/parsers/wikiparser/rules/syslink.js\ntype: application/javascript\nmodule-type: wikirule\n\nWiki text inline rule for system tiddler links.\nCan be suppressed preceding them with `~`.\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.name = \&quot;syslink\&quot;;\nexports.types = {inline: true};\n\nexports.init = function(parser) {\n\tthis.parser = parser;\n\t// Regexp to match\n\tthis.matchRegExp = new RegExp(\n\t\t\&quot;~?\\\\$:\\\\/[\&quot; +\n\t\t$tw.config.textPrimitives.anyLetter.substr(1,$tw.config.textPrimitives.anyLetter.length - 2) +\n\t\t\&quot;\\/._-]+\&quot;,\n\t\t\&quot;mg\&quot;\n\t);\n};\n\nexports.parse = function() {\n\tvar match = this.match[0];\n\t// Move past the match\n\tthis.parser.pos = this.matchRegExp.lastIndex;\n\t// Create the link unless it is suppressed\n\tif(match.substr(0,1) === \&quot;~\&quot;) {\n\t\treturn [{type: \&quot;text\&quot;, text: match.substr(1)}];\n\t} else {\n\t\treturn [{\n\t\t\ttype: \&quot;link\&quot;,\n\t\t\tattributes: {\n\t\t\t\tto: {type: \&quot;string\&quot;, value: match}\n\t\t\t},\n\t\t\tchildren: [{\n\t\t\t\ttype: \&quot;text\&quot;,\n\t\t\t\ttext: match\n\t\t\t}]\n\t\t}];\n\t}\n};\n\n})();&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;wikirule&quot;
},
&quot;$:/core/modules/parsers/wikiparser/rules/table.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/parsers/wikiparser/rules/table.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/parsers/wikiparser/rules/table.js\ntype: application/javascript\nmodule-type: wikirule\n\nWiki text block rule for tables.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.name = \&quot;table\&quot;;\nexports.types = {block: true};\n\nexports.init = function(parser) {\n\tthis.parser = parser;\n\t// Regexp to match\n\tthis.matchRegExp = /^\\|(?:[^\\n]*)\\|(?:[fhck]?)\\r?(?:\\n|$)/mg;\n};\n\nvar processRow = function(prevColumns) {\n\tvar cellRegExp = /(?:\\|([^\\n\\|]*)\\|)|(\\|[fhck]?\\r?(?:\\n|$))/mg,\n\t\tcellTermRegExp = /((?:\\x20*)\\|)/mg,\n\t\ttree = [],\n\t\tcol = 0,\n\t\tcolSpanCount = 1,\n\t\tprevCell,\n\t\tvAlign;\n\t// Match a single cell\n\tcellRegExp.lastIndex = this.parser.pos;\n\tvar cellMatch = cellRegExp.exec(this.parser.source);\n\twhile(cellMatch &amp;&amp; cellMatch.index === this.parser.pos) {\n\t\tif(cellMatch[1] === \&quot;~\&quot;) {\n\t\t\t// Rowspan\n\t\t\tvar last = prevColumns[col];\n\t\t\tif(last) {\n\t\t\t\tlast.rowSpanCount++;\n\t\t\t\t$tw.utils.addAttributeToParseTreeNode(last.element,\&quot;rowspan\&quot;,last.rowSpanCount);\n\t\t\t\tvAlign = $tw.utils.getAttributeValueFromParseTreeNode(last.element,\&quot;valign\&quot;,\&quot;center\&quot;);\n\t\t\t\t$tw.utils.addAttributeToParseTreeNode(last.element,\&quot;valign\&quot;,vAlign);\n\t\t\t\tif(colSpanCount &gt; 1) {\n\t\t\t\t\t$tw.utils.addAttributeToParseTreeNode(last.element,\&quot;colspan\&quot;,colSpanCount);\n\t\t\t\t\tcolSpanCount = 1;\n\t\t\t\t}\n\t\t\t}\n\t\t\t// Move to just before the `|` terminating the cell\n\t\t\tthis.parser.pos = cellRegExp.lastIndex - 1;\n\t\t} else if(cellMatch[1] === \&quot;&gt;\&quot;) {\n\t\t\t// Colspan\n\t\t\tcolSpanCount++;\n\t\t\t// Move to just before the `|` terminating the cell\n\t\t\tthis.parser.pos = cellRegExp.lastIndex - 1;\n\t\t} else if(cellMatch[1] === \&quot;&lt;\&quot; &amp;&amp; prevCell) {\n\t\t\tcolSpanCount = 1 + $tw.utils.getAttributeValueFromParseTreeNode(prevCell,\&quot;colspan\&quot;,1);\n\t\t\t$tw.utils.addAttributeToParseTreeNode(prevCell,\&quot;colspan\&quot;,colSpanCount);\n\t\t\tcolSpanCount = 1;\n\t\t\t// Move to just before the `|` terminating the cell\n\t\t\tthis.parser.pos = cellRegExp.lastIndex - 1;\n\t\t} else if(cellMatch[2]) {\n\t\t\t// End of row\n\t\t\tif(prevCell &amp;&amp; colSpanCount &gt; 1) {\n\t\t\t\tif(prevCell.attributes &amp;&amp; prevCell.attributes &amp;&amp; prevCell.attributes.colspan) {\n\t\t\t\t\t\tcolSpanCount += prevCell.attributes.colspan.value;\n\t\t\t\t} else {\n\t\t\t\t\tcolSpanCount -= 1;\n\t\t\t\t}\n\t\t\t\t$tw.utils.addAttributeToParseTreeNode(prevCell,\&quot;colspan\&quot;,colSpanCount);\n\t\t\t}\n\t\t\tthis.parser.pos = cellRegExp.lastIndex - 1;\n\t\t\tbreak;\n\t\t} else {\n\t\t\t// For ordinary cells, step beyond the opening `|`\n\t\t\tthis.parser.pos++;\n\t\t\t// Look for a space at the start of the cell\n\t\t\tvar spaceLeft = false;\n\t\t\tvAlign = null;\n\t\t\tif(this.parser.source.substr(this.parser.pos).search(/^\\^([^\\^]|\\^\\^)/) === 0) {\n\t\t\t\tvAlign = \&quot;top\&quot;;\n\t\t\t} else if(this.parser.source.substr(this.parser.pos).search(/^,([^,]|,,)/) === 0) {\n\t\t\t\tvAlign = \&quot;bottom\&quot;;\n\t\t\t}\n\t\t\tif(vAlign) {\n\t\t\t\tthis.parser.pos++;\n\t\t\t}\n\t\t\tvar chr = this.parser.source.substr(this.parser.pos,1);\n\t\t\twhile(chr === \&quot; \&quot;) {\n\t\t\t\tspaceLeft = true;\n\t\t\t\tthis.parser.pos++;\n\t\t\t\tchr = this.parser.source.substr(this.parser.pos,1);\n\t\t\t}\n\t\t\t// Check whether this is a heading cell\n\t\t\tvar cell;\n\t\t\tif(chr === \&quot;!\&quot;) {\n\t\t\t\tthis.parser.pos++;\n\t\t\t\tcell = {type: \&quot;element\&quot;, tag: \&quot;th\&quot;, children: []};\n\t\t\t} else {\n\t\t\t\tcell = {type: \&quot;element\&quot;, tag: \&quot;td\&quot;, children: []};\n\t\t\t}\n\t\t\ttree.push(cell);\n\t\t\t// Record information about this cell\n\t\t\tprevCell = cell;\n\t\t\tprevColumns[col] = {rowSpanCount:1,element:cell};\n\t\t\t// Check for a colspan\n\t\t\ti
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;wikirule&quot;
},
&quot;$:/core/modules/parsers/wikiparser/rules/transcludeblock.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/parsers/wikiparser/rules/transcludeblock.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/parsers/wikiparser/rules/transcludeblock.js\ntype: application/javascript\nmodule-type: wikirule\n\nWiki text rule for block-level transclusion. For example:\n\n```\n{{MyTiddler}}\n{{MyTiddler||TemplateTitle}}\n```\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.name = \&quot;transcludeblock\&quot;;\nexports.types = {block: true};\n\nexports.init = function(parser) {\n\tthis.parser = parser;\n\t// Regexp to match\n\tthis.matchRegExp = /\\{\\{([^\\{\\}\\|]*)(?:\\|\\|([^\\|\\{\\}]+))?\\}\\}(?:\\r?\\n|$)/mg;\n};\n\nexports.parse = function() {\n\t// Move past the match\n\tthis.parser.pos = this.matchRegExp.lastIndex;\n\t// Get the match details\n\tvar template = $tw.utils.trim(this.match[2]),\n\t\ttextRef = $tw.utils.trim(this.match[1]);\n\t// Prepare the transclude widget\n\tvar transcludeNode = {\n\t\t\ttype: \&quot;transclude\&quot;,\n\t\t\tattributes: {},\n\t\t\tisBlock: true\n\t\t};\n\t// Prepare the tiddler widget\n\tvar tr, targetTitle, targetField, targetIndex, tiddlerNode;\n\tif(textRef) {\n\t\ttr = $tw.utils.parseTextReference(textRef);\n\t\ttargetTitle = tr.title;\n\t\ttargetField = tr.field;\n\t\ttargetIndex = tr.index;\n\t\ttiddlerNode = {\n\t\t\ttype: \&quot;tiddler\&quot;,\n\t\t\tattributes: {\n\t\t\t\ttiddler: {type: \&quot;string\&quot;, value: targetTitle}\n\t\t\t},\n\t\t\tisBlock: true,\n\t\t\tchildren: [transcludeNode]\n\t\t};\n\t}\n\tif(template) {\n\t\ttranscludeNode.attributes.tiddler = {type: \&quot;string\&quot;, value: template};\n\t\tif(textRef) {\n\t\t\treturn [tiddlerNode];\n\t\t} else {\n\t\t\treturn [transcludeNode];\n\t\t}\n\t} else {\n\t\tif(textRef) {\n\t\t\ttranscludeNode.attributes.tiddler = {type: \&quot;string\&quot;, value: targetTitle};\n\t\t\tif(targetField) {\n\t\t\t\ttranscludeNode.attributes.field = {type: \&quot;string\&quot;, value: targetField};\n\t\t\t}\n\t\t\tif(targetIndex) {\n\t\t\t\ttranscludeNode.attributes.index = {type: \&quot;string\&quot;, value: targetIndex};\n\t\t\t}\n\t\t\treturn [tiddlerNode];\n\t\t} else {\n\t\t\treturn [transcludeNode];\n\t\t}\n\t}\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;wikirule&quot;
},
&quot;$:/core/modules/parsers/wikiparser/rules/transcludeinline.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/parsers/wikiparser/rules/transcludeinline.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/parsers/wikiparser/rules/transcludeinline.js\ntype: application/javascript\nmodule-type: wikirule\n\nWiki text rule for inline-level transclusion. For example:\n\n```\n{{MyTiddler}}\n{{MyTiddler||TemplateTitle}}\n```\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.name = \&quot;transcludeinline\&quot;;\nexports.types = {inline: true};\n\nexports.init = function(parser) {\n\tthis.parser = parser;\n\t// Regexp to match\n\tthis.matchRegExp = /\\{\\{([^\\{\\}\\|]*)(?:\\|\\|([^\\|\\{\\}]+))?\\}\\}/mg;\n};\n\nexports.parse = function() {\n\t// Move past the match\n\tthis.parser.pos = this.matchRegExp.lastIndex;\n\t// Get the match details\n\tvar template = $tw.utils.trim(this.match[2]),\n\t\ttextRef = $tw.utils.trim(this.match[1]);\n\t// Prepare the transclude widget\n\tvar transcludeNode = {\n\t\t\ttype: \&quot;transclude\&quot;,\n\t\t\tattributes: {}\n\t\t};\n\t// Prepare the tiddler widget\n\tvar tr, targetTitle, targetField, targetIndex, tiddlerNode;\n\tif(textRef) {\n\t\ttr = $tw.utils.parseTextReference(textRef);\n\t\ttargetTitle = tr.title;\n\t\ttargetField = tr.field;\n\t\ttargetIndex = tr.index;\n\t\ttiddlerNode = {\n\t\t\ttype: \&quot;tiddler\&quot;,\n\t\t\tattributes: {\n\t\t\t\ttiddler: {type: \&quot;string\&quot;, value: targetTitle}\n\t\t\t},\n\t\t\tchildren: [transcludeNode]\n\t\t};\n\t}\n\tif(template) {\n\t\ttranscludeNode.attributes.tiddler = {type: \&quot;string\&quot;, value: template};\n\t\tif(textRef) {\n\t\t\treturn [tiddlerNode];\n\t\t} else {\n\t\t\treturn [transcludeNode];\n\t\t}\n\t} else {\n\t\tif(textRef) {\n\t\t\ttranscludeNode.attributes.tiddler = {type: \&quot;string\&quot;, value: targetTitle};\n\t\t\tif(targetField) {\n\t\t\t\ttranscludeNode.attributes.field = {type: \&quot;string\&quot;, value: targetField};\n\t\t\t}\n\t\t\tif(targetIndex) {\n\t\t\t\ttranscludeNode.attributes.index = {type: \&quot;string\&quot;, value: targetIndex};\n\t\t\t}\n\t\t\treturn [tiddlerNode];\n\t\t} else {\n\t\t\treturn [transcludeNode];\n\t\t}\n\t}\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;wikirule&quot;
},
&quot;$:/core/modules/parsers/wikiparser/rules/typedblock.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/parsers/wikiparser/rules/typedblock.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/parsers/wikiparser/rules/typedblock.js\ntype: application/javascript\nmodule-type: wikirule\n\nWiki text rule for typed blocks. For example:\n\n```\n$$$.js\nThis will be rendered as JavaScript\n$$$\n\n$$$.svg\n&lt;svg xmlns=\&quot;http://www.w3.org/2000/svg\&quot; width=\&quot;150\&quot; height=\&quot;100\&quot;&gt;\n &lt;circle cx=\&quot;100\&quot; cy=\&quot;50\&quot; r=\&quot;40\&quot; stroke=\&quot;black\&quot; stroke-width=\&quot;2\&quot; fill=\&quot;red\&quot; /&gt;\n&lt;/svg&gt;\n$$$\n\n$$$text/vnd.tiddlywiki&gt;text/html\nThis will be rendered as an //HTML representation// of WikiText\n$$$\n```\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;);\n\nexports.name = \&quot;typedblock\&quot;;\nexports.types = {block: true};\n\nexports.init = function(parser) {\n\tthis.parser = parser;\n\t// Regexp to match\n\tthis.matchRegExp = /\\$\\$\\$([^ &gt;\\r\\n]*)(?: *&gt; *([^ \\r\\n]+))?\\r?\\n/mg;\n};\n\nexports.parse = function() {\n\tvar reEnd = /\\r?\\n\\$\\$\\$\\r?(?:\\n|$)/mg;\n\t// Save the type\n\tvar parseType = this.match[1],\n\t\trenderType = this.match[2];\n\t// Move past the match\n\tthis.parser.pos = this.matchRegExp.lastIndex;\n\t// Look for the end of the block\n\treEnd.lastIndex = this.parser.pos;\n\tvar match = reEnd.exec(this.parser.source),\n\t\ttext;\n\t// Process the block\n\tif(match) {\n\t\ttext = this.parser.source.substring(this.parser.pos,match.index);\n\t\tthis.parser.pos = match.index + match[0].length;\n\t} else {\n\t\ttext = this.parser.source.substr(this.parser.pos);\n\t\tthis.parser.pos = this.parser.sourceLength;\n\t}\n\t// Parse the block according to the specified type\n\tvar parser = this.parser.wiki.parseText(parseType,text,{defaultType: \&quot;text/plain\&quot;});\n\t// If there's no render type, just return the parse tree\n\tif(!renderType) {\n\t\treturn parser.tree;\n\t} else {\n\t\t// Otherwise, render to the rendertype and return in a &lt;PRE&gt; tag\n\t\tvar widgetNode = this.parser.wiki.makeWidget(parser),\n\t\t\tcontainer = $tw.fakeDocument.createElement(\&quot;div\&quot;);\n\t\twidgetNode.render(container,null);\n\t\ttext = renderType === \&quot;text/html\&quot; ? container.innerHTML : container.textContent;\n\t\treturn [{\n\t\t\ttype: \&quot;element\&quot;,\n\t\t\ttag: \&quot;pre\&quot;,\n\t\t\tchildren: [{\n\t\t\t\ttype: \&quot;text\&quot;,\n\t\t\t\ttext: text\n\t\t\t}]\n\t\t}];\n\t}\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;wikirule&quot;
},
&quot;$:/core/modules/parsers/wikiparser/rules/whitespace.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/parsers/wikiparser/rules/whitespace.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/parsers/wikiparser/rules/whitespace.js\ntype: application/javascript\nmodule-type: wikirule\n\nWiki pragma rule for whitespace specifications\n\n```\n\\whitespace trim\n\\whitespace notrim\n```\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.name = \&quot;whitespace\&quot;;\nexports.types = {pragma: true};\n\n/*\nInstantiate parse rule\n*/\nexports.init = function(parser) {\n\tthis.parser = parser;\n\t// Regexp to match\n\tthis.matchRegExp = /^\\\\whitespace[^\\S\\n]/mg;\n};\n\n/*\nParse the most recent match\n*/\nexports.parse = function() {\n\tvar self = this;\n\t// Move past the pragma invocation\n\tthis.parser.pos = this.matchRegExp.lastIndex;\n\t// Parse whitespace delimited tokens terminated by a line break\n\tvar reMatch = /[^\\S\\n]*(\\S+)|(\\r?\\n)/mg,\n\t\ttokens = [];\n\treMatch.lastIndex = this.parser.pos;\n\tvar match = reMatch.exec(this.parser.source);\n\twhile(match &amp;&amp; match.index === this.parser.pos) {\n\t\tthis.parser.pos = reMatch.lastIndex;\n\t\t// Exit if we've got the line break\n\t\tif(match[2]) {\n\t\t\tbreak;\n\t\t}\n\t\t// Process the token\n\t\tif(match[1]) {\n\t\t\ttokens.push(match[1]);\n\t\t}\n\t\t// Match the next token\n\t\tmatch = reMatch.exec(this.parser.source);\n\t}\n\t// Process the tokens\n\t$tw.utils.each(tokens,function(token) {\n\t\tswitch(token) {\n\t\t\tcase \&quot;trim\&quot;:\n\t\t\t\tself.parser.configTrimWhiteSpace = true;\n\t\t\t\tbreak;\n\t\t\tcase \&quot;notrim\&quot;:\n\t\t\t\tself.parser.configTrimWhiteSpace = false;\n\t\t\t\tbreak;\n\t\t}\n\t});\n\t// No parse tree nodes to return\n\treturn [];\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;wikirule&quot;
},
&quot;$:/core/modules/parsers/wikiparser/rules/wikilink.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/parsers/wikiparser/rules/wikilink.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/parsers/wikiparser/rules/wikilink.js\ntype: application/javascript\nmodule-type: wikirule\n\nWiki text inline rule for wiki links. For example:\n\n```\nAWikiLink\nAnotherLink\n~SuppressedLink\n```\n\nPrecede a camel case word with `~` to prevent it from being recognised as a link.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.name = \&quot;wikilink\&quot;;\nexports.types = {inline: true};\n\nexports.init = function(parser) {\n\tthis.parser = parser;\n\t// Regexp to match\n\tthis.matchRegExp = new RegExp($tw.config.textPrimitives.unWikiLink + \&quot;?\&quot; + $tw.config.textPrimitives.wikiLink,\&quot;mg\&quot;);\n};\n\n/*\nParse the most recent match\n*/\nexports.parse = function() {\n\t// Get the details of the match\n\tvar linkText = this.match[0];\n\t// Move past the macro call\n\tthis.parser.pos = this.matchRegExp.lastIndex;\n\t// If the link starts with the unwikilink character then just output it as plain text\n\tif(linkText.substr(0,1) === $tw.config.textPrimitives.unWikiLink) {\n\t\treturn [{type: \&quot;text\&quot;, text: linkText.substr(1)}];\n\t}\n\t// If the link has been preceded with a blocked letter then don't treat it as a link\n\tif(this.match.index &gt; 0) {\n\t\tvar preRegExp = new RegExp($tw.config.textPrimitives.blockPrefixLetters,\&quot;mg\&quot;);\n\t\tpreRegExp.lastIndex = this.match.index-1;\n\t\tvar preMatch = preRegExp.exec(this.parser.source);\n\t\tif(preMatch &amp;&amp; preMatch.index === this.match.index-1) {\n\t\t\treturn [{type: \&quot;text\&quot;, text: linkText}];\n\t\t}\n\t}\n\treturn [{\n\t\ttype: \&quot;link\&quot;,\n\t\tattributes: {\n\t\t\tto: {type: \&quot;string\&quot;, value: linkText}\n\t\t},\n\t\tchildren: [{\n\t\t\ttype: \&quot;text\&quot;,\n\t\t\ttext: linkText\n\t\t}]\n\t}];\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;wikirule&quot;
},
&quot;$:/core/modules/parsers/wikiparser/wikiparser.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/parsers/wikiparser/wikiparser.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/parsers/wikiparser/wikiparser.js\ntype: application/javascript\nmodule-type: parser\n\nThe wiki text parser processes blocks of source text into a parse tree.\n\nThe parse tree is made up of nested arrays of these JavaScript objects:\n\n\t{type: \&quot;element\&quot;, tag: &lt;string&gt;, attributes: {}, children: []} - an HTML element\n\t{type: \&quot;text\&quot;, text: &lt;string&gt;} - a text node\n\t{type: \&quot;entity\&quot;, value: &lt;string&gt;} - an entity\n\t{type: \&quot;raw\&quot;, html: &lt;string&gt;} - raw HTML\n\nAttributes are stored as hashmaps of the following objects:\n\n\t{type: \&quot;string\&quot;, value: &lt;string&gt;} - literal string\n\t{type: \&quot;indirect\&quot;, textReference: &lt;textReference&gt;} - indirect through a text reference\n\t{type: \&quot;macro\&quot;, macro: &lt;TBD&gt;} - indirect through a macro invocation\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar WikiParser = function(type,text,options) {\n\tthis.wiki = options.wiki;\n\tvar self = this;\n\t// Check for an externally linked tiddler\n\tif($tw.browser &amp;&amp; (text || \&quot;\&quot;) === \&quot;\&quot; &amp;&amp; options._canonical_uri) {\n\t\tthis.loadRemoteTiddler(options._canonical_uri);\n\t\ttext = $tw.language.getRawString(\&quot;LazyLoadingWarning\&quot;);\n\t}\n\t// Initialise the classes if we don't have them already\n\tif(!this.pragmaRuleClasses) {\n\t\tWikiParser.prototype.pragmaRuleClasses = $tw.modules.createClassesFromModules(\&quot;wikirule\&quot;,\&quot;pragma\&quot;,$tw.WikiRuleBase);\n\t\tthis.setupRules(WikiParser.prototype.pragmaRuleClasses,\&quot;$:/config/WikiParserRules/Pragmas/\&quot;);\n\t}\n\tif(!this.blockRuleClasses) {\n\t\tWikiParser.prototype.blockRuleClasses = $tw.modules.createClassesFromModules(\&quot;wikirule\&quot;,\&quot;block\&quot;,$tw.WikiRuleBase);\n\t\tthis.setupRules(WikiParser.prototype.blockRuleClasses,\&quot;$:/config/WikiParserRules/Block/\&quot;);\n\t}\n\tif(!this.inlineRuleClasses) {\n\t\tWikiParser.prototype.inlineRuleClasses = $tw.modules.createClassesFromModules(\&quot;wikirule\&quot;,\&quot;inline\&quot;,$tw.WikiRuleBase);\n\t\tthis.setupRules(WikiParser.prototype.inlineRuleClasses,\&quot;$:/config/WikiParserRules/Inline/\&quot;);\n\t}\n\t// Save the parse text\n\tthis.type = type || \&quot;text/vnd.tiddlywiki\&quot;;\n\tthis.source = text || \&quot;\&quot;;\n\tthis.sourceLength = this.source.length;\n\t// Flag for ignoring whitespace\n\tthis.configTrimWhiteSpace = false;\n\t// Set current parse position\n\tthis.pos = 0;\n\t// Instantiate the pragma parse rules\n\tthis.pragmaRules = this.instantiateRules(this.pragmaRuleClasses,\&quot;pragma\&quot;,0);\n\t// Instantiate the parser block and inline rules\n\tthis.blockRules = this.instantiateRules(this.blockRuleClasses,\&quot;block\&quot;,0);\n\tthis.inlineRules = this.instantiateRules(this.inlineRuleClasses,\&quot;inline\&quot;,0);\n\t// Parse any pragmas\n\tthis.tree = [];\n\tvar topBranch = this.parsePragmas();\n\t// Parse the text into inline runs or blocks\n\tif(options.parseAsInline) {\n\t\ttopBranch.push.apply(topBranch,this.parseInlineRun());\n\t} else {\n\t\ttopBranch.push.apply(topBranch,this.parseBlocks());\n\t}\n\t// Return the parse tree\n};\n\n/*\n*/\nWikiParser.prototype.loadRemoteTiddler = function(url) {\n\tvar self = this;\n\t$tw.utils.httpRequest({\n\t\turl: url,\n\t\ttype: \&quot;GET\&quot;,\n\t\tcallback: function(err,data) {\n\t\t\tif(!err) {\n\t\t\t\tvar tiddlers = self.wiki.deserializeTiddlers(\&quot;.tid\&quot;,data,self.wiki.getCreationFields());\n\t\t\t\t$tw.utils.each(tiddlers,function(tiddler) {\n\t\t\t\t\ttiddler[\&quot;_canonical_uri\&quot;] = url;\n\t\t\t\t});\n\t\t\t\tif(tiddlers) {\n\t\t\t\t\tself.wiki.addTiddlers(tiddlers);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t});\n};\n\n/*\n*/\nWikiParser.prototype.setupRules = function(proto,configPrefix) {\n\tvar self = this;\n\tif(!$tw.safemode) {\n\t\t$tw.utils.each(proto,function(object,name) {\n\t\t\tif(self.wiki.g
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;parser&quot;
},
&quot;$:/core/modules/parsers/wikiparser/rules/wikirulebase.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/parsers/wikiparser/rules/wikirulebase.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/parsers/wikiparser/rules/wikirulebase.js\ntype: application/javascript\nmodule-type: global\n\nBase class for wiki parser rules\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nThis constructor is always overridden with a blank constructor, and so shouldn't be used\n*/\nvar WikiRuleBase = function() {\n};\n\n/*\nTo be overridden by individual rules\n*/\nWikiRuleBase.prototype.init = function(parser) {\n\tthis.parser = parser;\n};\n\n/*\nDefault implementation of findNextMatch uses RegExp matching\n*/\nWikiRuleBase.prototype.findNextMatch = function(startPos) {\n\tthis.matchRegExp.lastIndex = startPos;\n\tthis.match = this.matchRegExp.exec(this.parser.source);\n\treturn this.match ? this.match.index : undefined;\n};\n\nexports.WikiRuleBase = WikiRuleBase;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;global&quot;
},
&quot;$:/core/modules/pluginswitcher.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/pluginswitcher.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/pluginswitcher.js\ntype: application/javascript\nmodule-type: global\n\nManages switching plugins for themes and languages.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\noptions:\nwiki: wiki store to be used\npluginType: type of plugin to be switched\ncontrollerTitle: title of tiddler used to control switching of this resource\ndefaultPlugins: array of default plugins to be used if nominated plugin isn't found\nonSwitch: callback when plugin is switched (single parameter is array of plugin titles)\n*/\nfunction PluginSwitcher(options) {\n\tthis.wiki = options.wiki;\n\tthis.pluginType = options.pluginType;\n\tthis.controllerTitle = options.controllerTitle;\n\tthis.defaultPlugins = options.defaultPlugins || [];\n\tthis.onSwitch = options.onSwitch;\n\t// Switch to the current plugin\n\tthis.switchPlugins();\n\t// Listen for changes to the selected plugin\n\tvar self = this;\n\tthis.wiki.addEventListener(\&quot;change\&quot;,function(changes) {\n\t\tif($tw.utils.hop(changes,self.controllerTitle)) {\n\t\t\tself.switchPlugins();\n\t\t}\n\t});\n}\n\nPluginSwitcher.prototype.switchPlugins = function() {\n\t// Get the name of the current theme\n\tvar selectedPluginTitle = this.wiki.getTiddlerText(this.controllerTitle);\n\t// If it doesn't exist, then fallback to one of the default themes\n\tvar index = 0;\n\twhile(!this.wiki.getTiddler(selectedPluginTitle) &amp;&amp; index &lt; this.defaultPlugins.length) {\n\t\tselectedPluginTitle = this.defaultPlugins[index++];\n\t}\n\t// Accumulate the titles of the plugins that we need to load\n\tvar plugins = [],\n\t\tself = this,\n\t\taccumulatePlugin = function(title) {\n\t\t\tvar tiddler = self.wiki.getTiddler(title);\n\t\t\tif(tiddler &amp;&amp; tiddler.isPlugin() &amp;&amp; plugins.indexOf(title) === -1) {\n\t\t\t\tplugins.push(title);\n\t\t\t\tvar pluginInfo = JSON.parse(self.wiki.getTiddlerText(title)),\n\t\t\t\t\tdependents = $tw.utils.parseStringArray(tiddler.fields.dependents || \&quot;\&quot;);\n\t\t\t\t$tw.utils.each(dependents,function(title) {\n\t\t\t\t\taccumulatePlugin(title);\n\t\t\t\t});\n\t\t\t}\n\t\t};\n\taccumulatePlugin(selectedPluginTitle);\n\t// Read the plugin info for the incoming plugins\n\tvar changes = $tw.wiki.readPluginInfo(plugins);\n\t// Unregister any existing theme tiddlers\n\tvar unregisteredTiddlers = $tw.wiki.unregisterPluginTiddlers(this.pluginType);\n\t// Register any new theme tiddlers\n\tvar registeredTiddlers = $tw.wiki.registerPluginTiddlers(this.pluginType,plugins);\n\t// Unpack the current theme tiddlers\n\t$tw.wiki.unpackPluginTiddlers();\n\t// Call the switch handler\n\tif(this.onSwitch) {\n\t\tthis.onSwitch(plugins);\n\t}\n};\n\nexports.PluginSwitcher = PluginSwitcher;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;global&quot;
},
&quot;$:/core/modules/saver-handler.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/saver-handler.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/saver-handler.js\ntype: application/javascript\nmodule-type: global\n\nThe saver handler tracks changes to the store and handles saving the entire wiki via saver modules.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nInstantiate the saver handler with the following options:\nwiki: wiki to be synced\ndirtyTracking: true if dirty tracking should be performed\n*/\nfunction SaverHandler(options) {\n\tvar self = this;\n\tthis.wiki = options.wiki;\n\tthis.dirtyTracking = options.dirtyTracking;\n\tthis.preloadDirty = options.preloadDirty || [];\n\tthis.pendingAutoSave = false;\n\t// Make a logger\n\tthis.logger = new $tw.utils.Logger(\&quot;saver-handler\&quot;);\n\t// Initialise our savers\n\tif($tw.browser) {\n\t\tthis.initSavers();\n\t}\n\t// Only do dirty tracking if required\n\tif($tw.browser &amp;&amp; this.dirtyTracking) {\n\t\t// Compile the dirty tiddler filter\n\t\tthis.filterFn = this.wiki.compileFilter(this.wiki.getTiddlerText(this.titleSyncFilter));\n\t\t// Count of changes that have not yet been saved\n\t\tvar filteredChanges = self.filterFn.call(self.wiki,function(iterator) {\n\t\t\t\t$tw.utils.each(self.preloadDirty,function(title) {\n\t\t\t\t\tvar tiddler = self.wiki.getTiddler(title);\n\t\t\t\t\titerator(tiddler,title);\n\t\t\t\t});\n\t\t});\n\t\tthis.numChanges = filteredChanges.length;\n\t\t// Listen out for changes to tiddlers\n\t\tthis.wiki.addEventListener(\&quot;change\&quot;,function(changes) {\n\t\t\t// Filter the changes so that we only count changes to tiddlers that we care about\n\t\t\tvar filteredChanges = self.filterFn.call(self.wiki,function(iterator) {\n\t\t\t\t$tw.utils.each(changes,function(change,title) {\n\t\t\t\t\tvar tiddler = self.wiki.getTiddler(title);\n\t\t\t\t\titerator(tiddler,title);\n\t\t\t\t});\n\t\t\t});\n\t\t\t// Adjust the number of changes\n\t\t\tself.numChanges += filteredChanges.length;\n\t\t\tself.updateDirtyStatus();\n\t\t\t// Do any autosave if one is pending and there's no more change events\n\t\t\tif(self.pendingAutoSave &amp;&amp; self.wiki.getSizeOfTiddlerEventQueue() === 0) {\n\t\t\t\t// Check if we're dirty\n\t\t\t\tif(self.numChanges &gt; 0) {\n\t\t\t\t\tself.saveWiki({\n\t\t\t\t\t\tmethod: \&quot;autosave\&quot;,\n\t\t\t\t\t\tdownloadType: \&quot;text/plain\&quot;\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\tself.pendingAutoSave = false;\n\t\t\t}\n\t\t});\n\t\t// Listen for the autosave event\n\t\t$tw.rootWidget.addEventListener(\&quot;tm-auto-save-wiki\&quot;,function(event) {\n\t\t\t// Do the autosave unless there are outstanding tiddler change events\n\t\t\tif(self.wiki.getSizeOfTiddlerEventQueue() === 0) {\n\t\t\t\t// Check if we're dirty\n\t\t\t\tif(self.numChanges &gt; 0) {\n\t\t\t\t\tself.saveWiki({\n\t\t\t\t\t\tmethod: \&quot;autosave\&quot;,\n\t\t\t\t\t\tdownloadType: \&quot;text/plain\&quot;\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\t// Otherwise put ourselves in the \&quot;pending autosave\&quot; state and wait for the change event before we do the autosave\n\t\t\t\tself.pendingAutoSave = true;\n\t\t\t}\n\t\t});\n\t\t// Set up our beforeunload handler\n\t\t$tw.addUnloadTask(function(event) {\n\t\t\tvar confirmationMessage;\n\t\t\tif(self.isDirty()) {\n\t\t\t\tconfirmationMessage = $tw.language.getString(\&quot;UnsavedChangesWarning\&quot;);\n\t\t\t\tevent.returnValue = confirmationMessage; // Gecko\n\t\t\t}\n\t\t\treturn confirmationMessage;\n\t\t});\n\t}\n\t// Install the save action handlers\n\tif($tw.browser) {\n\t\t$tw.rootWidget.addEventListener(\&quot;tm-save-wiki\&quot;,function(event) {\n\t\t\tself.saveWiki({\n\t\t\t\ttemplate: event.param,\n\t\t\t\tdownloadType: \&quot;text/plain\&quot;,\n\t\t\t\tvariables: event.paramObject\n\t\t\t});\n\t\t});\n\t\t$tw.rootWidget.addEventListener(\&quot;tm-download-file\&quot;,function(event) {\n\t\t\tself.saveWiki({\n\t\t\t\tmethod: \&quot;download\&quot;,\n\t\t\t\ttemplate: event.param,\n\t\t\t\tdownloadType: \&quot;text/plain\&quot;,\n\t\t\t\tvariables: event.paramObject
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;global&quot;
},
&quot;$:/core/modules/savers/andtidwiki.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/savers/andtidwiki.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/savers/andtidwiki.js\ntype: application/javascript\nmodule-type: saver\n\nHandles saving changes via the AndTidWiki Android app\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false, netscape: false, Components: false */\n\&quot;use strict\&quot;;\n\nvar AndTidWiki = function(wiki) {\n};\n\nAndTidWiki.prototype.save = function(text,method,callback,options) {\n\tvar filename = options &amp;&amp; options.variables ? options.variables.filename : null;\n\tif (method === \&quot;download\&quot;) {\n\t\t// Support download\n\t\tif (window.twi.saveDownload) {\n\t\t\ttry {\n\t\t\t\twindow.twi.saveDownload(text,filename);\n\t\t\t} catch(err) {\n\t\t\t\tif (err.message === \&quot;Method not found\&quot;) {\n\t\t\t\t\twindow.twi.saveDownload(text);\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tvar link = document.createElement(\&quot;a\&quot;);\n\t\t\tlink.setAttribute(\&quot;href\&quot;,\&quot;data:text/plain,\&quot; + encodeURIComponent(text));\n\t\t\tif (filename) {\n\t\t\t link.setAttribute(\&quot;download\&quot;,filename);\n\t\t\t}\n\t\t\tdocument.body.appendChild(link);\n\t\t\tlink.click();\n\t\t\tdocument.body.removeChild(link);\n\t\t}\n\t} else if (window.twi.saveWiki) {\n\t\t// Direct save in Tiddloid\n\t\twindow.twi.saveWiki(text);\n\t} else {\n\t\t// Get the pathname of this document\n\t\tvar pathname = decodeURIComponent(document.location.toString().split(\&quot;#\&quot;)[0]);\n\t\t// Strip the file://\n\t\tif(pathname.indexOf(\&quot;file://\&quot;) === 0) {\n\t\t\tpathname = pathname.substr(7);\n\t\t}\n\t\t// Strip any query or location part\n\t\tvar p = pathname.indexOf(\&quot;?\&quot;);\n\t\tif(p !== -1) {\n\t\t\tpathname = pathname.substr(0,p);\n\t\t}\n\t\tp = pathname.indexOf(\&quot;#\&quot;);\n\t\tif(p !== -1) {\n\t\t\tpathname = pathname.substr(0,p);\n\t\t}\n\t\t// Save the file\n\t\twindow.twi.saveFile(pathname,text);\n\t}\n\t// Call the callback\n\tcallback(null);\n\treturn true;\n};\n\n/*\nInformation about this saver\n*/\nAndTidWiki.prototype.info = {\n\tname: \&quot;andtidwiki\&quot;,\n\tpriority: 1600,\n\tcapabilities: [\&quot;save\&quot;, \&quot;autosave\&quot;, \&quot;download\&quot;]\n};\n\n/*\nStatic method that returns true if this saver is capable of working\n*/\nexports.canSave = function(wiki) {\n\treturn !!window.twi &amp;&amp; !!window.twi.saveFile;\n};\n\n/*\nCreate an instance of this saver\n*/\nexports.create = function(wiki) {\n\treturn new AndTidWiki(wiki);\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;saver&quot;
},
&quot;$:/core/modules/savers/beaker.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/savers/beaker.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/savers/beaker.js\ntype: application/javascript\nmodule-type: saver\n\nSaves files using the Beaker browser's (https://beakerbrowser.com) Dat protocol (https://datproject.org/)\nCompatible with beaker &gt;= V0.7.2\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nSet up the saver\n*/\nvar BeakerSaver = function(wiki) {\n\tthis.wiki = wiki;\n};\n\nBeakerSaver.prototype.save = function(text,method,callback) {\n\tvar dat = new DatArchive(\&quot;\&quot; + window.location),\n\t\tpathname = (\&quot;\&quot; + window.location.pathname).split(\&quot;#\&quot;)[0];\n\tdat.stat(pathname).then(function(value) {\n\t\tif(value.isDirectory()) {\n\t\t\tpathname = pathname + \&quot;/index.html\&quot;;\n\t\t}\n\t\tdat.writeFile(pathname,text,\&quot;utf8\&quot;).then(function(value) {\n\t\t\tcallback(null);\n\t\t},function(reason) {\n\t\t\tcallback(\&quot;Beaker Saver Write Error: \&quot; + reason);\n\t\t});\n\t},function(reason) {\n\t\tcallback(\&quot;Beaker Saver Stat Error: \&quot; + reason);\n\t});\n\treturn true;\n};\n\n/*\nInformation about this saver\n*/\nBeakerSaver.prototype.info = {\n\tname: \&quot;beaker\&quot;,\n\tpriority: 3000,\n\tcapabilities: [\&quot;save\&quot;, \&quot;autosave\&quot;]\n};\n\n/*\nStatic method that returns true if this saver is capable of working\n*/\nexports.canSave = function(wiki) {\n\treturn !!window.DatArchive &amp;&amp; location.protocol===\&quot;dat:\&quot;;\n};\n\n/*\nCreate an instance of this saver\n*/\nexports.create = function(wiki) {\n\treturn new BeakerSaver(wiki);\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;saver&quot;
},
&quot;$:/core/modules/savers/custom.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/savers/custom.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/savers/custom.js\ntype: application/javascript\nmodule-type: saver\n\nLooks for `window.$tw.customSaver` first on the current window, then\non the parent window (of an iframe). If present, the saver must define\n\tsave: function(text,method,callback) { ... }\nand the saver may define\n\tpriority: number\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar findSaver = function(window) {\n\ttry {\n\t\treturn window &amp;&amp; window.$tw &amp;&amp; window.$tw.customSaver;\n\t} catch (err) {\n\t\t// Catching the exception is the most reliable way to detect cross-origin iframe errors.\n\t\t// For example, instead of saying that `window.parent.$tw` is undefined, Firefox will throw\n\t\t// Uncaught DOMException: Permission denied to access property \&quot;$tw\&quot; on cross-origin object\n\t\tconsole.log({ msg: \&quot;custom saver is disabled\&quot;, reason: err });\n\t\treturn null;\n\t}\n}\nvar saver = findSaver(window) || findSaver(window.parent) || {};\n\nvar CustomSaver = function(wiki) {\n};\n\nCustomSaver.prototype.save = function(text,method,callback) {\n\treturn saver.save(text, method, callback);\n};\n\n/*\nInformation about this saver\n*/\nCustomSaver.prototype.info = {\n\tname: \&quot;custom\&quot;,\n\tpriority: saver.priority || 4000,\n\tcapabilities: [\&quot;save\&quot;,\&quot;autosave\&quot;]\n};\n\n/*\nStatic method that returns true if this saver is capable of working\n*/\nexports.canSave = function(wiki) {\n\treturn !!(saver.save);\n};\n\n/*\nCreate an instance of this saver\n*/\nexports.create = function(wiki) {\n\treturn new CustomSaver(wiki);\n};\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;saver&quot;
},
&quot;$:/core/modules/savers/download.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/savers/download.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/savers/download.js\ntype: application/javascript\nmodule-type: saver\n\nHandles saving changes via HTML5's download APIs\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nSelect the appropriate saver module and set it up\n*/\nvar DownloadSaver = function(wiki) {\n};\n\nDownloadSaver.prototype.save = function(text,method,callback,options) {\n\toptions = options || {};\n\t// Get the current filename\n\tvar filename = options.variables.filename;\n\tif(!filename) {\n\t\tvar p = document.location.pathname.lastIndexOf(\&quot;/\&quot;);\n\t\tif(p !== -1) {\n\t\t\t// We decode the pathname because document.location is URL encoded by the browser\n\t\t\tfilename = decodeURIComponent(document.location.pathname.substr(p+1));\n\t\t}\n\t}\n\tif(!filename) {\n\t\tfilename = \&quot;tiddlywiki.html\&quot;;\n\t}\n\t// Set up the link\n\tvar link = document.createElement(\&quot;a\&quot;);\n\tif(Blob !== undefined) {\n\t\tvar blob = new Blob([text], {type: \&quot;text/html\&quot;});\n\t\tlink.setAttribute(\&quot;href\&quot;, URL.createObjectURL(blob));\n\t} else {\n\t\tlink.setAttribute(\&quot;href\&quot;,\&quot;data:text/html,\&quot; + encodeURIComponent(text));\n\t}\n\tlink.setAttribute(\&quot;download\&quot;,filename);\n\tdocument.body.appendChild(link);\n\tlink.click();\n\tdocument.body.removeChild(link);\n\t// Callback that we succeeded\n\tcallback(null);\n\treturn true;\n};\n\n/*\nInformation about this saver\n*/\nDownloadSaver.prototype.info = {\n\tname: \&quot;download\&quot;,\n\tpriority: 100\n};\n\nObject.defineProperty(DownloadSaver.prototype.info, \&quot;capabilities\&quot;, {\n\tget: function() {\n\t\tvar capabilities = [\&quot;save\&quot;, \&quot;download\&quot;];\n\t\tif(($tw.wiki.getTextReference(\&quot;$:/config/DownloadSaver/AutoSave\&quot;) || \&quot;\&quot;).toLowerCase() === \&quot;yes\&quot;) {\n\t\t\tcapabilities.push(\&quot;autosave\&quot;);\n\t\t}\n\t\treturn capabilities;\n\t}\n});\n\n/*\nStatic method that returns true if this saver is capable of working\n*/\nexports.canSave = function(wiki) {\n\treturn document.createElement(\&quot;a\&quot;).download !== undefined;\n};\n\n/*\nCreate an instance of this saver\n*/\nexports.create = function(wiki) {\n\treturn new DownloadSaver(wiki);\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;saver&quot;
},
&quot;$:/core/modules/savers/fsosaver.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/savers/fsosaver.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/savers/fsosaver.js\ntype: application/javascript\nmodule-type: saver\n\nHandles saving changes via MS FileSystemObject ActiveXObject\n\nNote: Since TiddlyWiki's markup contains the MOTW, the FileSystemObject normally won't be available. \nHowever, if the wiki is loaded as an .HTA file (Windows HTML Applications) then the FSO can be used.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nSelect the appropriate saver module and set it up\n*/\nvar FSOSaver = function(wiki) {\n};\n\nFSOSaver.prototype.save = function(text,method,callback) {\n\t// Get the pathname of this document\n\tvar pathname = unescape(document.location.pathname);\n\t// Test for a Windows path of the form /x:\\blah...\n\tif(/^\\/[A-Z]\\:\\\\[^\\\\]+/i.test(pathname)) {\t// ie: ^/[a-z]:/[^/]+\n\t\t// Remove the leading slash\n\t\tpathname = pathname.substr(1);\n\t} else if(document.location.hostname !== \&quot;\&quot; &amp;&amp; /^\\/\\\\[^\\\\]+\\\\[^\\\\]+/i.test(pathname)) {\t// test for \\\\server\\share\\blah... - ^/[^/]+/[^/]+\n\t\t// Remove the leading slash\n\t\tpathname = pathname.substr(1);\n\t\t// reconstruct UNC path\n\t\tpathname = \&quot;\\\\\\\\\&quot; + document.location.hostname + pathname;\n\t} else {\n\t\treturn false;\n\t}\n\t// Save the file (as UTF-16)\n\tvar fso = new ActiveXObject(\&quot;Scripting.FileSystemObject\&quot;);\n\tvar file = fso.OpenTextFile(pathname,2,-1,-1);\n\tfile.Write(text);\n\tfile.Close();\n\t// Callback that we succeeded\n\tcallback(null);\n\treturn true;\n};\n\n/*\nInformation about this saver\n*/\nFSOSaver.prototype.info = {\n\tname: \&quot;FSOSaver\&quot;,\n\tpriority: 120,\n\tcapabilities: [\&quot;save\&quot;, \&quot;autosave\&quot;]\n};\n\n/*\nStatic method that returns true if this saver is capable of working\n*/\nexports.canSave = function(wiki) {\n\ttry {\n\t\treturn (window.location.protocol === \&quot;file:\&quot;) &amp;&amp; !!(new ActiveXObject(\&quot;Scripting.FileSystemObject\&quot;));\n\t} catch(e) { return false; }\n};\n\n/*\nCreate an instance of this saver\n*/\nexports.create = function(wiki) {\n\treturn new FSOSaver(wiki);\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;saver&quot;
},
&quot;$:/core/modules/savers/gitea.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/savers/gitea.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/savers/gitea.js\ntype: application/javascript\nmodule-type: saver\n\nSaves wiki by pushing a commit to the gitea\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nSelect the appropriate saver module and set it up\n*/\nvar GiteaSaver = function(wiki) {\n\tthis.wiki = wiki;\n};\n\nGiteaSaver.prototype.save = function(text,method,callback) {\n\tvar self = this,\n\t\tusername = this.wiki.getTiddlerText(\&quot;$:/Gitea/Username\&quot;),\n\t\tpassword = $tw.utils.getPassword(\&quot;Gitea\&quot;),\n\t\trepo = this.wiki.getTiddlerText(\&quot;$:/Gitea/Repo\&quot;),\n\t\tpath = this.wiki.getTiddlerText(\&quot;$:/Gitea/Path\&quot;,\&quot;\&quot;),\n\t\tfilename = this.wiki.getTiddlerText(\&quot;$:/Gitea/Filename\&quot;),\n\t\tbranch = this.wiki.getTiddlerText(\&quot;$:/Gitea/Branch\&quot;) || \&quot;master\&quot;,\n\t\tendpoint = this.wiki.getTiddlerText(\&quot;$:/Gitea/ServerURL\&quot;) || \&quot;https://gitea\&quot;,\n\t\theaders = {\n\t\t\t\&quot;Accept\&quot;: \&quot;application/json\&quot;,\n\t\t\t\&quot;Content-Type\&quot;: \&quot;application/json;charset=UTF-8\&quot;,\n\t\t\t\&quot;Authorization\&quot;: \&quot;token \&quot; + password\n\t\t};\n\t// Bail if we don't have everything we need\n\tif(!username || !password || !repo || !filename) {\n\t\treturn false;\n\t}\n\t// Make sure the path start and ends with a slash\n\tif(path.substring(0,1) !== \&quot;/\&quot;) {\n\t\tpath = \&quot;/\&quot; + path;\n\t}\n\tif(path.substring(path.length - 1) !== \&quot;/\&quot;) {\n\t\tpath = path + \&quot;/\&quot;;\n\t}\n\t// Compose the base URI\n\tvar uri = endpoint + \&quot;/repos/\&quot; + repo + \&quot;/contents\&quot; + path;\n\t// Perform a get request to get the details (inc shas) of files in the same path as our file\n\t$tw.utils.httpRequest({\n\t\turl: uri,\n\t\ttype: \&quot;GET\&quot;,\n\t\theaders: headers,\n\t\tdata: {\n\t\t\tref: branch\n\t\t},\n\t\tcallback: function(err,getResponseDataJson,xhr) {\n\t\t\tvar getResponseData,sha = \&quot;\&quot;;\n\t\t\tif(err &amp;&amp; xhr.status !== 404) {\n\t\t\t\treturn callback(err);\n\t\t\t}\n\t\t\tvar use_put = true;\n\t\t\tif(xhr.status !== 404) {\n\t\t\t\tgetResponseData = JSON.parse(getResponseDataJson);\n\t\t\t\t$tw.utils.each(getResponseData,function(details) {\n\t\t\t\t\tif(details.name === filename) {\n\t\t\t\t\t\tsha = details.sha;\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\tif(sha === \&quot;\&quot;){\n\t\t\t\t\tuse_put = false;\n\t\t\t\t}\n\t\t\t}\n\t\t\tvar data = {\n\t\t\t\tmessage: $tw.language.getRawString(\&quot;ControlPanel/Saving/GitService/CommitMessage\&quot;),\n\t\t\t\tcontent: $tw.utils.base64Encode(text),\n\t\t\t\tsha: sha\n\t\t\t};\n\t\t\t$tw.utils.httpRequest({\n\t\t\t\turl: endpoint + \&quot;/repos/\&quot; + repo + \&quot;/branches/\&quot; + branch,\n\t\t\t\ttype: \&quot;GET\&quot;,\n\t\t\t\theaders: headers,\n\t\t\t\tcallback: function(err,getResponseDataJson,xhr) {\n\t\t\t\t\tif(xhr.status === 404) {\n\t\t\t\t\t\tcallback(\&quot;Please ensure the branch in the Gitea repo exists\&quot;);\n\t\t\t\t\t}else{\n\t\t\t\t\t\tdata[\&quot;branch\&quot;] = branch;\n\t\t\t\t\t\tself.upload(uri + filename, use_put?\&quot;PUT\&quot;:\&quot;POST\&quot;, headers, data, callback);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t});\n\treturn true;\n};\n\nGiteaSaver.prototype.upload = function(uri,method,headers,data,callback) {\n\t$tw.utils.httpRequest({\n\t\turl: uri,\n\t\ttype: method,\n\t\theaders: headers,\n\t\tdata: JSON.stringify(data),\n\t\tcallback: function(err,putResponseDataJson,xhr) {\n\t\t\tif(err) {\n\t\t\t\treturn callback(err);\n\t\t\t}\n\t\t\tvar putResponseData = JSON.parse(putResponseDataJson);\n\t\t\tcallback(null);\n\t\t}\n\t});\n};\n\n/*\nInformation about this saver\n*/\nGiteaSaver.prototype.info = {\n\tname: \&quot;Gitea\&quot;,\n\tpriority: 2000,\n\tcapabilities: [\&quot;save\&quot;, \&quot;autosave\&quot;]\n};\n\n/*\nStatic method that returns true if this saver is capable of working\n*/\nexports.canSave = function(wiki) {\n\t
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;saver&quot;
},
&quot;$:/core/modules/savers/github.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/savers/github.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/savers/github.js\ntype: application/javascript\nmodule-type: saver\n\nSaves wiki by pushing a commit to the GitHub v3 REST API\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nSelect the appropriate saver module and set it up\n*/\nvar GitHubSaver = function(wiki) {\n\tthis.wiki = wiki;\n};\n\nGitHubSaver.prototype.save = function(text,method,callback) {\n\tvar self = this,\n\t\tusername = this.wiki.getTiddlerText(\&quot;$:/GitHub/Username\&quot;),\n\t\tpassword = $tw.utils.getPassword(\&quot;github\&quot;),\n\t\trepo = this.wiki.getTiddlerText(\&quot;$:/GitHub/Repo\&quot;),\n\t\tpath = this.wiki.getTiddlerText(\&quot;$:/GitHub/Path\&quot;,\&quot;\&quot;),\n\t\tfilename = this.wiki.getTiddlerText(\&quot;$:/GitHub/Filename\&quot;),\n\t\tbranch = this.wiki.getTiddlerText(\&quot;$:/GitHub/Branch\&quot;) || \&quot;main\&quot;,\n\t\tendpoint = this.wiki.getTiddlerText(\&quot;$:/GitHub/ServerURL\&quot;) || \&quot;https://api.github.com\&quot;,\n\t\theaders = {\n\t\t\t\&quot;Accept\&quot;: \&quot;application/vnd.github.v3+json\&quot;,\n\t\t\t\&quot;Content-Type\&quot;: \&quot;application/json;charset=UTF-8\&quot;,\n\t\t\t\&quot;Authorization\&quot;: \&quot;Basic \&quot; + window.btoa(username + \&quot;:\&quot; + password),\n\t\t\t\&quot;If-None-Match\&quot;: \&quot;\&quot;\n\t\t};\n\t// Bail if we don't have everything we need\n\tif(!username || !password || !repo || !filename) {\n\t\treturn false;\n\t}\n\t// Make sure the path start and ends with a slash\n\tif(path.substring(0,1) !== \&quot;/\&quot;) {\n\t\tpath = \&quot;/\&quot; + path;\n\t}\n\tif(path.substring(path.length - 1) !== \&quot;/\&quot;) {\n\t\tpath = path + \&quot;/\&quot;;\n\t}\n\t// Compose the base URI\n\tvar uri = endpoint + \&quot;/repos/\&quot; + repo + \&quot;/contents\&quot; + path;\n\t// Perform a get request to get the details (inc shas) of files in the same path as our file\n\t$tw.utils.httpRequest({\n\t\turl: uri,\n\t\ttype: \&quot;GET\&quot;,\n\t\theaders: headers,\n\t\tdata: {\n\t\t\tref: branch\n\t\t},\n\t\tcallback: function(err,getResponseDataJson,xhr) {\n\t\t\tvar getResponseData,sha = \&quot;\&quot;;\n\t\t\tif(err &amp;&amp; xhr.status !== 404) {\n\t\t\t\treturn callback(err);\n\t\t\t}\n\t\t\tif(xhr.status !== 404) {\n\t\t\t\tgetResponseData = JSON.parse(getResponseDataJson);\n\t\t\t\t$tw.utils.each(getResponseData,function(details) {\n\t\t\t\t\tif(details.name === filename) {\n\t\t\t\t\t\tsha = details.sha;\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t\tvar data = {\n\t\t\t\tmessage: $tw.language.getRawString(\&quot;ControlPanel/Saving/GitService/CommitMessage\&quot;),\n\t\t\t\tcontent: $tw.utils.base64Encode(text),\n\t\t\t\tbranch: branch,\n\t\t\t\tsha: sha\n\t\t\t};\n\t\t\t// Perform a PUT request to save the file\n\t\t\t$tw.utils.httpRequest({\n\t\t\t\turl: uri + filename,\n\t\t\t\ttype: \&quot;PUT\&quot;,\n\t\t\t\theaders: headers,\n\t\t\t\tdata: JSON.stringify(data),\n\t\t\t\tcallback: function(err,putResponseDataJson,xhr) {\n\t\t\t\t\tif(err) {\n\t\t\t\t\t\treturn callback(err);\n\t\t\t\t\t}\n\t\t\t\t\tvar putResponseData = JSON.parse(putResponseDataJson);\n\t\t\t\t\tcallback(null);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t});\n\treturn true;\n};\n\n/*\nInformation about this saver\n*/\nGitHubSaver.prototype.info = {\n\tname: \&quot;github\&quot;,\n\tpriority: 2000,\n\tcapabilities: [\&quot;save\&quot;, \&quot;autosave\&quot;]\n};\n\n/*\nStatic method that returns true if this saver is capable of working\n*/\nexports.canSave = function(wiki) {\n\treturn true;\n};\n\n/*\nCreate an instance of this saver\n*/\nexports.create = function(wiki) {\n\treturn new GitHubSaver(wiki);\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;saver&quot;
},
&quot;$:/core/modules/savers/gitlab.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/savers/gitlab.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/savers/gitlab.js\ntype: application/javascript\nmodule-type: saver\n\nSaves wiki by pushing a commit to the GitLab REST API\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: true */\n\&quot;use strict\&quot;;\n\n/*\nSelect the appropriate saver module and set it up\n*/\nvar GitLabSaver = function(wiki) {\n\tthis.wiki = wiki;\n};\n\nGitLabSaver.prototype.save = function(text,method,callback) {\n\t/* See https://docs.gitlab.com/ee/api/repository_files.html */\n\tvar self = this,\n\t\tusername = this.wiki.getTiddlerText(\&quot;$:/GitLab/Username\&quot;),\n\t\tpassword = $tw.utils.getPassword(\&quot;gitlab\&quot;),\n\t\trepo = this.wiki.getTiddlerText(\&quot;$:/GitLab/Repo\&quot;),\n\t\tpath = this.wiki.getTiddlerText(\&quot;$:/GitLab/Path\&quot;,\&quot;\&quot;),\n\t\tfilename = this.wiki.getTiddlerText(\&quot;$:/GitLab/Filename\&quot;),\n\t\tbranch = this.wiki.getTiddlerText(\&quot;$:/GitLab/Branch\&quot;) || \&quot;master\&quot;,\n\t\tendpoint = this.wiki.getTiddlerText(\&quot;$:/GitLab/ServerURL\&quot;) || \&quot;https://gitlab.com/api/v4\&quot;,\n\t\theaders = {\n\t\t\t\&quot;Content-Type\&quot;: \&quot;application/json;charset=UTF-8\&quot;,\n\t\t\t\&quot;Private-Token\&quot;: password\n\t\t};\n\t// Bail if we don't have everything we need\n\tif(!username || !password || !repo || !filename) {\n\t\treturn false;\n\t}\n\t// Make sure the path start and ends with a slash\n\tif(path.substring(0,1) !== \&quot;/\&quot;) {\n\t\tpath = \&quot;/\&quot; + path;\n\t}\n\tif(path.substring(path.length - 1) !== \&quot;/\&quot;) {\n\t\tpath = path + \&quot;/\&quot;;\n\t}\n\t// Compose the base URI\n\tvar uri = endpoint + \&quot;/projects/\&quot; + encodeURIComponent(repo) + \&quot;/repository/\&quot;;\n\t// Perform a get request to get the details (inc shas) of files in the same path as our file\n\t$tw.utils.httpRequest({\n\t\turl: uri + \&quot;tree/?path=\&quot; + encodeURIComponent(path.replace(/^\\/+|\\/$/g, '')) + \&quot;&amp;branch=\&quot; + encodeURIComponent(branch.replace(/^\\/+|\\/$/g, '')),\n\t\ttype: \&quot;GET\&quot;,\n\t\theaders: headers,\n\t\tcallback: function(err,getResponseDataJson,xhr) {\n\t\t\tvar getResponseData,sha = \&quot;\&quot;;\n\t\t\tif(err &amp;&amp; xhr.status !== 404) {\n\t\t\t\treturn callback(err);\n\t\t\t}\n\t\t\tvar requestType = \&quot;POST\&quot;;\n\t\t\tif(xhr.status !== 404) {\n\t\t\t\tgetResponseData = JSON.parse(getResponseDataJson);\n\t\t\t\t$tw.utils.each(getResponseData,function(details) {\n\t\t\t\t\tif(details.name === filename) {\n\t\t\t\t\t\trequestType = \&quot;PUT\&quot;;\n\t\t\t\t\t\tsha = details.sha;\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t\tvar data = {\n\t\t\t\tcommit_message: $tw.language.getRawString(\&quot;ControlPanel/Saving/GitService/CommitMessage\&quot;),\n\t\t\t\tcontent: text,\n\t\t\t\tbranch: branch,\n\t\t\t\tsha: sha\n\t\t\t};\n\t\t\t// Perform a request to save the file\n\t\t\t$tw.utils.httpRequest({\n\t\t\t\turl: uri + \&quot;files/\&quot; + encodeURIComponent(path.replace(/^\\/+/, '') + filename),\n\t\t\t\ttype: requestType,\n\t\t\t\theaders: headers,\n\t\t\t\tdata: JSON.stringify(data),\n\t\t\t\tcallback: function(err,putResponseDataJson,xhr) {\n\t\t\t\t\tif(err) {\n\t\t\t\t\t\treturn callback(err);\n\t\t\t\t\t}\n\t\t\t\t\tvar putResponseData = JSON.parse(putResponseDataJson);\n\t\t\t\t\tcallback(null);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t});\n\treturn true;\n};\n\n/*\nInformation about this saver\n*/\nGitLabSaver.prototype.info = {\n\tname: \&quot;gitlab\&quot;,\n\tpriority: 2000,\n\tcapabilities: [\&quot;save\&quot;, \&quot;autosave\&quot;]\n};\n\n/*\nStatic method that returns true if this saver is capable of working\n*/\nexports.canSave = function(wiki) {\n\treturn true;\n};\n\n/*\nCreate an instance of this saver\n*/\nexports.create = function(wiki) {\n\treturn new GitLabSaver(wiki);\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;saver&quot;
},
&quot;$:/core/modules/savers/hyperdrive.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/savers/hyperdrive.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/savers/hyperdrive.js\ntype: application/javascript\nmodule-type: saver\n\nSaves files using the Hyperdrive Protocol (https://hypercore-protocol.org/#hyperdrive) Beaker browser beta-1.0 and later (https://beakerbrowser.com)\nCompatible with beaker &gt;= V1.0.0\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nSet up the saver\n*/\nvar HyperdriveSaver = function(wiki) {\n\tthis.wiki = wiki;\n};\n\nHyperdriveSaver.prototype.save = function(text,method,callback) {\n\tvar dat = beaker.hyperdrive.drive(\&quot;\&quot; + window.location),\n\t\tpathname = (\&quot;\&quot; + window.location.pathname).split(\&quot;#\&quot;)[0];\n\tdat.stat(pathname).then(function(value) {\n\t\tif(value.isDirectory()) {\n\t\t\tpathname = pathname + \&quot;/index.html\&quot;;\n\t\t}\n\t\tdat.writeFile(pathname,text,\&quot;utf8\&quot;).then(function(value) {\n\t\t\tcallback(null);\n\t\t},function(reason) {\n\t\t\tcallback(\&quot;Hyperdrive Saver Write Error: \&quot; + reason);\n\t\t});\n\t},function(reason) {\n\t\tcallback(\&quot;Hyperdrive Saver Stat Error: \&quot; + reason);\n\t});\n\treturn true;\n};\n\n/*\nInformation about this saver\n*/\nHyperdriveSaver.prototype.info = {\n\tname: \&quot;beaker-1.x\&quot;,\n\tpriority: 3000,\n\tcapabilities: [\&quot;save\&quot;, \&quot;autosave\&quot;]\n};\n\n/*\nStatic method that returns true if this saver is capable of working\n*/\nexports.canSave = function(wiki) {\n\treturn !!window.beaker &amp;&amp; !!beaker.hyperdrive &amp;&amp; location.protocol===\&quot;hyper:\&quot;;\n};\n\n/*\nCreate an instance of this saver\n*/\nexports.create = function(wiki) {\n\treturn new HyperdriveSaver(wiki);\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;saver&quot;
},
&quot;$:/core/modules/savers/manualdownload.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/savers/manualdownload.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/savers/manualdownload.js\ntype: application/javascript\nmodule-type: saver\n\nHandles saving changes via HTML5's download APIs\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n// Title of the tiddler containing the download message\nvar downloadInstructionsTitle = \&quot;$:/language/Modals/Download\&quot;;\n\n/*\nSelect the appropriate saver module and set it up\n*/\nvar ManualDownloadSaver = function(wiki) {\n};\n\nManualDownloadSaver.prototype.save = function(text,method,callback) {\n\t$tw.modal.display(downloadInstructionsTitle,{\n\t\tdownloadLink: \&quot;data:text/html,\&quot; + encodeURIComponent(text)\n\t});\n\t// Callback that we succeeded\n\tcallback(null);\n\treturn true;\n};\n\n/*\nInformation about this saver\n*/\nManualDownloadSaver.prototype.info = {\n\tname: \&quot;manualdownload\&quot;,\n\tpriority: 0,\n\tcapabilities: [\&quot;save\&quot;, \&quot;download\&quot;]\n};\n\n/*\nStatic method that returns true if this saver is capable of working\n*/\nexports.canSave = function(wiki) {\n\treturn true;\n};\n\n/*\nCreate an instance of this saver\n*/\nexports.create = function(wiki) {\n\treturn new ManualDownloadSaver(wiki);\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;saver&quot;
},
&quot;$:/core/modules/savers/msdownload.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/savers/msdownload.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/savers/msdownload.js\ntype: application/javascript\nmodule-type: saver\n\nHandles saving changes via window.navigator.msSaveBlob()\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nSelect the appropriate saver module and set it up\n*/\nvar MsDownloadSaver = function(wiki) {\n};\n\nMsDownloadSaver.prototype.save = function(text,method,callback) {\n\t// Get the current filename\n\tvar filename = \&quot;tiddlywiki.html\&quot;,\n\t\tp = document.location.pathname.lastIndexOf(\&quot;/\&quot;);\n\tif(p !== -1) {\n\t\tfilename = document.location.pathname.substr(p+1);\n\t}\n\t// Set up the link\n\tvar blob = new Blob([text], {type: \&quot;text/html\&quot;});\n\twindow.navigator.msSaveBlob(blob,filename);\n\t// Callback that we succeeded\n\tcallback(null);\n\treturn true;\n};\n\n/*\nInformation about this saver\n*/\nMsDownloadSaver.prototype.info = {\n\tname: \&quot;msdownload\&quot;,\n\tpriority: 110,\n\tcapabilities: [\&quot;save\&quot;, \&quot;download\&quot;]\n};\n\n/*\nStatic method that returns true if this saver is capable of working\n*/\nexports.canSave = function(wiki) {\n\treturn !!window.navigator.msSaveBlob;\n};\n\n/*\nCreate an instance of this saver\n*/\nexports.create = function(wiki) {\n\treturn new MsDownloadSaver(wiki);\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;saver&quot;
},
&quot;$:/core/modules/savers/put.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/savers/put.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/savers/put.js\ntype: application/javascript\nmodule-type: saver\n\nSaves wiki by performing a PUT request to the server\n\nWorks with any server which accepts a PUT request\nto the current URL, such as a WebDAV server.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nRetrieve ETag if available\n*/\nvar retrieveETag = function(self) {\n\tvar headers = {\n\t\tAccept: \&quot;*/*;charset=UTF-8\&quot;\n\t};\n\t$tw.utils.httpRequest({\n\t\turl: self.uri(),\n\t\ttype: \&quot;HEAD\&quot;,\n\t\theaders: headers,\n\t\tcallback: function(err,data,xhr) {\n\t\t\tif(err) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tvar etag = xhr.getResponseHeader(\&quot;ETag\&quot;);\n\t\t\tif(!etag) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tself.etag = etag.replace(/^W\\//,\&quot;\&quot;);\n\t\t}\n\t});\n};\n\n\n/*\nSelect the appropriate saver module and set it up\n*/\nvar PutSaver = function(wiki) {\n\tthis.wiki = wiki;\n\tvar self = this;\n\tvar uri = this.uri();\n\t// Async server probe. Until probe finishes, save will fail fast\n\t// See also https://github.com/Jermolene/TiddlyWiki5/issues/2276\n\t$tw.utils.httpRequest({\n\t\turl: uri,\n\t\ttype: \&quot;OPTIONS\&quot;,\n\t\tcallback: function(err,data,xhr) {\n\t\t\t// Check DAV header http://www.webdav.org/specs/rfc2518.html#rfc.section.9.1\n\t\t\tif(!err) {\n\t\t\t\tself.serverAcceptsPuts = xhr.status === 200 &amp;&amp; !!xhr.getResponseHeader(\&quot;dav\&quot;);\n\t\t\t}\n\t\t}\n\t});\n\tretrieveETag(this);\n};\n\nPutSaver.prototype.uri = function() {\n\treturn document.location.toString().split(\&quot;#\&quot;)[0];\n};\n\n// TODO: in case of edit conflict\n// Prompt: Do you want to save over this? Y/N\n// Merging would be ideal, and may be possible using future generic merge flow\nPutSaver.prototype.save = function(text,method,callback) {\n\tif(!this.serverAcceptsPuts) {\n\t\treturn false;\n\t}\n\tvar self = this;\n\tvar headers = {\n\t\t\&quot;Content-Type\&quot;: \&quot;text/html;charset=UTF-8\&quot;\n\t};\n\tif(this.etag) {\n\t\theaders[\&quot;If-Match\&quot;] = this.etag;\n\t}\n\t$tw.utils.httpRequest({\n\t\turl: this.uri(),\n\t\ttype: \&quot;PUT\&quot;,\n\t\theaders: headers,\n\t\tdata: text,\n\t\tcallback: function(err,data,xhr) {\n\t\t\tif(err) {\n\t\t\t\t// response is textual: \&quot;XMLHttpRequest error code: 412\&quot;\n\t\t\t\tvar status = Number(err.substring(err.indexOf(':') + 2, err.length))\n\t\t\t\tif(status === 412) { // edit conflict\n\t\t\t\t\tvar message = $tw.language.getString(\&quot;Error/EditConflict\&quot;);\n\t\t\t\t\tcallback(message);\n\t\t\t\t} else {\n\t\t\t\t\tcallback(err); // fail\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tself.etag = xhr.getResponseHeader(\&quot;ETag\&quot;);\n\t\t\t\tif(self.etag == null) {\n\t\t\t\t\tretrieveETag(self);\n\t\t\t\t}\n\t\t\t\tcallback(null); // success\n\t\t\t}\n\t\t}\n\t});\n\treturn true;\n};\n\n/*\nInformation about this saver\n*/\nPutSaver.prototype.info = {\n\tname: \&quot;put\&quot;,\n\tpriority: 2000,\n\tcapabilities: [\&quot;save\&quot;,\&quot;autosave\&quot;]\n};\n\n/*\nStatic method that returns true if this saver is capable of working\n*/\nexports.canSave = function(wiki) {\n\treturn /^https?:/.test(location.protocol);\n};\n\n/*\nCreate an instance of this saver\n*/\nexports.create = function(wiki) {\n\treturn new PutSaver(wiki);\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;saver&quot;
},
&quot;$:/core/modules/savers/tiddlyfox.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/savers/tiddlyfox.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/savers/tiddlyfox.js\ntype: application/javascript\nmodule-type: saver\n\nHandles saving changes via the TiddlyFox file extension\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false, netscape: false, Components: false */\n\&quot;use strict\&quot;;\n\nvar TiddlyFoxSaver = function(wiki) {\n};\n\nTiddlyFoxSaver.prototype.save = function(text,method,callback) {\n\tvar messageBox = document.getElementById(\&quot;tiddlyfox-message-box\&quot;);\n\tif(messageBox) {\n\t\t// Get the pathname of this document\n\t\tvar pathname = document.location.toString().split(\&quot;#\&quot;)[0];\n\t\t// Replace file://localhost/ with file:///\n\t\tif(pathname.indexOf(\&quot;file://localhost/\&quot;) === 0) {\n\t\t\tpathname = \&quot;file://\&quot; + pathname.substr(16);\n\t\t}\n\t\t// Windows path file:///x:/blah/blah --&gt; x:\\blah\\blah\n\t\tif(/^file\\:\\/\\/\\/[A-Z]\\:\\//i.test(pathname)) {\n\t\t\t// Remove the leading slash and convert slashes to backslashes\n\t\t\tpathname = pathname.substr(8).replace(/\\//g,\&quot;\\\\\&quot;);\n\t\t// Firefox Windows network path file://///server/share/blah/blah --&gt; //server/share/blah/blah\n\t\t} else if(pathname.indexOf(\&quot;file://///\&quot;) === 0) {\n\t\t\tpathname = \&quot;\\\\\\\\\&quot; + unescape(pathname.substr(10)).replace(/\\//g,\&quot;\\\\\&quot;);\n\t\t// Mac/Unix local path file:///path/path --&gt; /path/path\n\t\t} else if(pathname.indexOf(\&quot;file:///\&quot;) === 0) {\n\t\t\tpathname = unescape(pathname.substr(7));\n\t\t// Mac/Unix local path file:/path/path --&gt; /path/path\n\t\t} else if(pathname.indexOf(\&quot;file:/\&quot;) === 0) {\n\t\t\tpathname = unescape(pathname.substr(5));\n\t\t// Otherwise Windows networth path file://server/share/path/path --&gt; \\\\server\\share\\path\\path\n\t\t} else {\n\t\t\tpathname = \&quot;\\\\\\\\\&quot; + unescape(pathname.substr(7)).replace(new RegExp(\&quot;/\&quot;,\&quot;g\&quot;),\&quot;\\\\\&quot;);\n\t\t}\n\t\t// Create the message element and put it in the message box\n\t\tvar message = document.createElement(\&quot;div\&quot;);\n\t\tmessage.setAttribute(\&quot;data-tiddlyfox-path\&quot;,decodeURIComponent(pathname));\n\t\tmessage.setAttribute(\&quot;data-tiddlyfox-content\&quot;,text);\n\t\tmessageBox.appendChild(message);\n\t\t// Add an event handler for when the file has been saved\n\t\tmessage.addEventListener(\&quot;tiddlyfox-have-saved-file\&quot;,function(event) {\n\t\t\tcallback(null);\n\t\t}, false);\n\t\t// Create and dispatch the custom event to the extension\n\t\tvar event = document.createEvent(\&quot;Events\&quot;);\n\t\tevent.initEvent(\&quot;tiddlyfox-save-file\&quot;,true,false);\n\t\tmessage.dispatchEvent(event);\n\t\treturn true;\n\t} else {\n\t\treturn false;\n\t}\n};\n\n/*\nInformation about this saver\n*/\nTiddlyFoxSaver.prototype.info = {\n\tname: \&quot;tiddlyfox\&quot;,\n\tpriority: 1500,\n\tcapabilities: [\&quot;save\&quot;, \&quot;autosave\&quot;]\n};\n\n/*\nStatic method that returns true if this saver is capable of working\n*/\nexports.canSave = function(wiki) {\n\treturn true;\n};\n\n/*\nCreate an instance of this saver\n*/\nexports.create = function(wiki) {\n\treturn new TiddlyFoxSaver(wiki);\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;saver&quot;
},
&quot;$:/core/modules/savers/tiddlyie.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/savers/tiddlyie.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/savers/tiddlyie.js\ntype: application/javascript\nmodule-type: saver\n\nHandles saving changes via Internet Explorer BHO extenion (TiddlyIE)\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nSelect the appropriate saver module and set it up\n*/\nvar TiddlyIESaver = function(wiki) {\n};\n\nTiddlyIESaver.prototype.save = function(text,method,callback) {\n\t// Check existence of TiddlyIE BHO extension (note: only works after document is complete)\n\tif(typeof(window.TiddlyIE) != \&quot;undefined\&quot;) {\n\t\t// Get the pathname of this document\n\t\tvar pathname = unescape(document.location.pathname);\n\t\t// Test for a Windows path of the form /x:/blah...\n\t\tif(/^\\/[A-Z]\\:\\/[^\\/]+/i.test(pathname)) {\t// ie: ^/[a-z]:/[^/]+ (is this better?: ^/[a-z]:/[^/]+(/[^/]+)*\\.[^/]+ )\n\t\t\t// Remove the leading slash\n\t\t\tpathname = pathname.substr(1);\n\t\t\t// Convert slashes to backslashes\n\t\t\tpathname = pathname.replace(/\\//g,\&quot;\\\\\&quot;);\n\t\t} else if(document.hostname !== \&quot;\&quot; &amp;&amp; /^\\/[^\\/]+\\/[^\\/]+/i.test(pathname)) {\t// test for \\\\server\\share\\blah... - ^/[^/]+/[^/]+\n\t\t\t// Convert slashes to backslashes\n\t\t\tpathname = pathname.replace(/\\//g,\&quot;\\\\\&quot;);\n\t\t\t// reconstruct UNC path\n\t\t\tpathname = \&quot;\\\\\\\\\&quot; + document.location.hostname + pathname;\n\t\t} else return false;\n\t\t// Prompt the user to save the file\n\t\twindow.TiddlyIE.save(pathname, text);\n\t\t// Callback that we succeeded\n\t\tcallback(null);\n\t\treturn true;\n\t} else {\n\t\treturn false;\n\t}\n};\n\n/*\nInformation about this saver\n*/\nTiddlyIESaver.prototype.info = {\n\tname: \&quot;tiddlyiesaver\&quot;,\n\tpriority: 1500,\n\tcapabilities: [\&quot;save\&quot;]\n};\n\n/*\nStatic method that returns true if this saver is capable of working\n*/\nexports.canSave = function(wiki) {\n\treturn (window.location.protocol === \&quot;file:\&quot;);\n};\n\n/*\nCreate an instance of this saver\n*/\nexports.create = function(wiki) {\n\treturn new TiddlyIESaver(wiki);\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;saver&quot;
},
&quot;$:/core/modules/savers/twedit.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/savers/twedit.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/savers/twedit.js\ntype: application/javascript\nmodule-type: saver\n\nHandles saving changes via the TWEdit iOS app\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false, netscape: false, Components: false */\n\&quot;use strict\&quot;;\n\nvar TWEditSaver = function(wiki) {\n};\n\nTWEditSaver.prototype.save = function(text,method,callback) {\n\t// Bail if we're not running under TWEdit\n\tif(typeof DeviceInfo !== \&quot;object\&quot;) {\n\t\treturn false;\n\t}\n\t// Get the pathname of this document\n\tvar pathname = decodeURIComponent(document.location.pathname);\n\t// Strip any query or location part\n\tvar p = pathname.indexOf(\&quot;?\&quot;);\n\tif(p !== -1) {\n\t\tpathname = pathname.substr(0,p);\n\t}\n\tp = pathname.indexOf(\&quot;#\&quot;);\n\tif(p !== -1) {\n\t\tpathname = pathname.substr(0,p);\n\t}\n\t// Remove the leading \&quot;/Documents\&quot; from path\n\tvar prefix = \&quot;/Documents\&quot;;\n\tif(pathname.indexOf(prefix) === 0) {\n\t\tpathname = pathname.substr(prefix.length);\n\t}\n\t// Error handler\n\tvar errorHandler = function(event) {\n\t\t// Error\n\t\tcallback($tw.language.getString(\&quot;Error/SavingToTWEdit\&quot;) + \&quot;: \&quot; + event.target.error.code);\n\t};\n\t// Get the file system\n\twindow.requestFileSystem(LocalFileSystem.PERSISTENT,0,function(fileSystem) {\n\t\t// Now we've got the filesystem, get the fileEntry\n\t\tfileSystem.root.getFile(pathname, {create: true}, function(fileEntry) {\n\t\t\t// Now we've got the fileEntry, create the writer\n\t\t\tfileEntry.createWriter(function(writer) {\n\t\t\t\twriter.onerror = errorHandler;\n\t\t\t\twriter.onwrite = function() {\n\t\t\t\t\tcallback(null);\n\t\t\t\t};\n\t\t\t\twriter.position = 0;\n\t\t\t\twriter.write(text);\n\t\t\t},errorHandler);\n\t\t}, errorHandler);\n\t}, errorHandler);\n\treturn true;\n};\n\n/*\nInformation about this saver\n*/\nTWEditSaver.prototype.info = {\n\tname: \&quot;twedit\&quot;,\n\tpriority: 1600,\n\tcapabilities: [\&quot;save\&quot;, \&quot;autosave\&quot;]\n};\n\n/*\nStatic method that returns true if this saver is capable of working\n*/\nexports.canSave = function(wiki) {\n\treturn true;\n};\n\n/*\nCreate an instance of this saver\n*/\nexports.create = function(wiki) {\n\treturn new TWEditSaver(wiki);\n};\n\n/////////////////////////// Hack\n// HACK: This ensures that TWEdit recognises us as a TiddlyWiki document\nif($tw.browser) {\n\twindow.version = {title: \&quot;TiddlyWiki\&quot;};\n}\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;saver&quot;
},
&quot;$:/core/modules/savers/upload.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/savers/upload.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/savers/upload.js\ntype: application/javascript\nmodule-type: saver\n\nHandles saving changes via upload to a server.\n\nDesigned to be compatible with BidiX's UploadPlugin at http://tiddlywiki.bidix.info/#UploadPlugin\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nSelect the appropriate saver module and set it up\n*/\nvar UploadSaver = function(wiki) {\n\tthis.wiki = wiki;\n};\n\nUploadSaver.prototype.save = function(text,method,callback) {\n\t// Get the various parameters we need\n\tvar backupDir = this.wiki.getTextReference(\&quot;$:/UploadBackupDir\&quot;) || \&quot;.\&quot;,\n\t\tusername = this.wiki.getTextReference(\&quot;$:/UploadName\&quot;),\n\t\tpassword = $tw.utils.getPassword(\&quot;upload\&quot;),\n\t\tuploadDir = this.wiki.getTextReference(\&quot;$:/UploadDir\&quot;) || \&quot;.\&quot;,\n\t\tuploadFilename = this.wiki.getTextReference(\&quot;$:/UploadFilename\&quot;) || \&quot;index.html\&quot;,\n\t\turl = this.wiki.getTextReference(\&quot;$:/UploadURL\&quot;);\n\t// Bail out if we don't have the bits we need\n\tif(!username || username.toString().trim() === \&quot;\&quot; || !password || password.toString().trim() === \&quot;\&quot;) {\n\t\treturn false;\n\t}\n\t// Construct the url if not provided\n\tif(!url) {\n\t\turl = \&quot;http://\&quot; + username + \&quot;.tiddlyspot.com/store.cgi\&quot;;\n\t}\n\t// Assemble the header\n\tvar boundary = \&quot;---------------------------\&quot; + \&quot;AaB03x\&quot;;\t\n\tvar uploadFormName = \&quot;UploadPlugin\&quot;;\n\tvar head = [];\n\thead.push(\&quot;--\&quot; + boundary + \&quot;\\r\\nContent-disposition: form-data; name=\\\&quot;UploadPlugin\\\&quot;\\r\\n\&quot;);\n\thead.push(\&quot;backupDir=\&quot; + backupDir + \&quot;;user=\&quot; + username + \&quot;;password=\&quot; + password + \&quot;;uploaddir=\&quot; + uploadDir + \&quot;;;\&quot;); \n\thead.push(\&quot;\\r\\n\&quot; + \&quot;--\&quot; + boundary);\n\thead.push(\&quot;Content-disposition: form-data; name=\\\&quot;userfile\\\&quot;; filename=\\\&quot;\&quot; + uploadFilename + \&quot;\\\&quot;\&quot;);\n\thead.push(\&quot;Content-Type: text/html;charset=UTF-8\&quot;);\n\thead.push(\&quot;Content-Length: \&quot; + text.length + \&quot;\\r\\n\&quot;);\n\thead.push(\&quot;\&quot;);\n\t// Assemble the tail and the data itself\n\tvar tail = \&quot;\\r\\n--\&quot; + boundary + \&quot;--\\r\\n\&quot;,\n\t\tdata = head.join(\&quot;\\r\\n\&quot;) + text + tail;\n\t// Do the HTTP post\n\tvar http = new XMLHttpRequest();\n\thttp.open(\&quot;POST\&quot;,url,true,username,password);\n\thttp.setRequestHeader(\&quot;Content-Type\&quot;,\&quot;multipart/form-data; charset=UTF-8; boundary=\&quot; + boundary);\n\thttp.onreadystatechange = function() {\n\t\tif(http.readyState == 4 &amp;&amp; http.status == 200) {\n\t\t\tif(http.responseText.substr(0,4) === \&quot;0 - \&quot;) {\n\t\t\t\tcallback(null);\n\t\t\t} else {\n\t\t\t\tcallback(http.responseText);\n\t\t\t}\n\t\t}\n\t};\n\ttry {\n\t\thttp.send(data);\n\t} catch(ex) {\n\t\treturn callback($tw.language.getString(\&quot;Error/Caption\&quot;) + \&quot;:\&quot; + ex);\n\t}\n\t$tw.notifier.display(\&quot;$:/language/Notifications/Save/Starting\&quot;);\n\treturn true;\n};\n\n/*\nInformation about this saver\n*/\nUploadSaver.prototype.info = {\n\tname: \&quot;upload\&quot;,\n\tpriority: 2000,\n\tcapabilities: [\&quot;save\&quot;, \&quot;autosave\&quot;]\n};\n\n/*\nStatic method that returns true if this saver is capable of working\n*/\nexports.canSave = function(wiki) {\n\treturn true;\n};\n\n/*\nCreate an instance of this saver\n*/\nexports.create = function(wiki) {\n\treturn new UploadSaver(wiki);\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;saver&quot;
},
&quot;$:/core/modules/server/authenticators/basic.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/server/authenticators/basic.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/server/authenticators/basic.js\ntype: application/javascript\nmodule-type: authenticator\n\nAuthenticator for WWW basic authentication\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nif($tw.node) {\n\tvar util = require(\&quot;util\&quot;),\n\t\tfs = require(\&quot;fs\&quot;),\n\t\turl = require(\&quot;url\&quot;),\n\t\tpath = require(\&quot;path\&quot;);\n}\n\nfunction BasicAuthenticator(server) {\n\tthis.server = server;\n\tthis.credentialsData = [];\n}\n\n/*\nReturns true if the authenticator is active, false if it is inactive, or a string if there is an error\n*/\nBasicAuthenticator.prototype.init = function() {\n\t// Read the credentials data\n\tthis.credentialsFilepath = this.server.get(\&quot;credentials\&quot;);\n\tif(this.credentialsFilepath) {\n\t\tvar resolveCredentialsFilepath = path.resolve(this.server.boot.wikiPath,this.credentialsFilepath);\n\t\tif(fs.existsSync(resolveCredentialsFilepath) &amp;&amp; !fs.statSync(resolveCredentialsFilepath).isDirectory()) {\n\t\t\tvar credentialsText = fs.readFileSync(resolveCredentialsFilepath,\&quot;utf8\&quot;),\n\t\t\t\tcredentialsData = $tw.utils.parseCsvStringWithHeader(credentialsText);\n\t\t\tif(typeof credentialsData === \&quot;string\&quot;) {\n\t\t\t\treturn \&quot;Error: \&quot; + credentialsData + \&quot; reading credentials from '\&quot; + resolveCredentialsFilepath + \&quot;'\&quot;;\n\t\t\t} else {\n\t\t\t\tthis.credentialsData = credentialsData;\n\t\t\t}\n\t\t} else {\n\t\t\treturn \&quot;Error: Unable to load user credentials from '\&quot; + resolveCredentialsFilepath + \&quot;'\&quot;;\n\t\t}\n\t}\n\t// Add the hardcoded username and password if specified\n\tif(this.server.get(\&quot;username\&quot;) &amp;&amp; this.server.get(\&quot;password\&quot;)) {\n\t\tthis.credentialsData = this.credentialsData || [];\n\t\tthis.credentialsData.push({\n\t\t\tusername: this.server.get(\&quot;username\&quot;),\n\t\t\tpassword: this.server.get(\&quot;password\&quot;)\n\t\t});\n\t}\n\treturn this.credentialsData.length &gt; 0;\n};\n\n/*\nReturns true if the request is authenticated and assigns the \&quot;authenticatedUsername\&quot; state variable.\nReturns false if the request couldn't be authenticated having sent an appropriate response to the browser\n*/\nBasicAuthenticator.prototype.authenticateRequest = function(request,response,state) {\n\t// Extract the incoming username and password from the request\n\tvar header = request.headers.authorization || \&quot;\&quot;;\n\tif(!header &amp;&amp; state.allowAnon) {\n\t\t// If there's no header and anonymous access is allowed then we don't set authenticatedUsername\n\t\treturn true;\n\t}\n\tvar token = header.split(/\\s+/).pop() || \&quot;\&quot;,\n\t\tauth = $tw.utils.base64Decode(token),\n\t\tparts = auth.split(/:/),\n\t\tincomingUsername = parts[0],\n\t\tincomingPassword = parts[1];\n\t// Check that at least one of the credentials matches\n\tvar matchingCredentials = this.credentialsData.find(function(credential) {\n\t\treturn credential.username === incomingUsername &amp;&amp; credential.password === incomingPassword;\n\t});\n\tif(matchingCredentials) {\n\t\t// If so, add the authenticated username to the request state\n\t\tstate.authenticatedUsername = incomingUsername;\n\t\treturn true;\n\t} else {\n\t\t// If not, return an authentication challenge\n\t\tresponse.writeHead(401,\&quot;Authentication required\&quot;,{\n\t\t\t\&quot;WWW-Authenticate\&quot;: 'Basic realm=\&quot;Please provide your username and password to login to ' + state.server.servername + '\&quot;'\n\t\t});\n\t\tresponse.end();\n\t\treturn false;\n\t}\n};\n\nexports.AuthenticatorClass = BasicAuthenticator;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;authenticator&quot;
},
&quot;$:/core/modules/server/authenticators/header.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/server/authenticators/header.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/server/authenticators/header.js\ntype: application/javascript\nmodule-type: authenticator\n\nAuthenticator for trusted header authentication\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nfunction HeaderAuthenticator(server) {\n\tthis.server = server;\n\tthis.header = server.get(\&quot;authenticated-user-header\&quot;) ? server.get(\&quot;authenticated-user-header\&quot;).toLowerCase() : undefined;\n}\n\n/*\nReturns true if the authenticator is active, false if it is inactive, or a string if there is an error\n*/\nHeaderAuthenticator.prototype.init = function() {\n\treturn !!this.header;\n};\n\n/*\nReturns true if the request is authenticated and assigns the \&quot;authenticatedUsername\&quot; state variable.\nReturns false if the request couldn't be authenticated having sent an appropriate response to the browser\n*/\nHeaderAuthenticator.prototype.authenticateRequest = function(request,response,state) {\n\t// Otherwise, authenticate as the username in the specified header\n\tvar username = request.headers[this.header];\n\tif(!username &amp;&amp; !state.allowAnon) {\n\t\tresponse.writeHead(401,\&quot;Authorization header required to login to '\&quot; + state.server.servername + \&quot;'\&quot;);\n\t\tresponse.end();\n\t\treturn false;\n\t} else {\n\t\t// authenticatedUsername will be undefined for anonymous users\n\t\tstate.authenticatedUsername = username;\n\t\treturn true;\n\t}\n};\n\nexports.AuthenticatorClass = HeaderAuthenticator;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;authenticator&quot;
},
&quot;$:/core/modules/server/routes/delete-tiddler.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/server/routes/delete-tiddler.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/server/routes/delete-tiddler.js\ntype: application/javascript\nmodule-type: route\n\nDELETE /recipes/default/tiddlers/:title\n\n\\*/\n(function() {\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.method = \&quot;DELETE\&quot;;\n\nexports.path = /^\\/bags\\/default\\/tiddlers\\/(.+)$/;\n\nexports.handler = function(request,response,state) {\n\tvar title = decodeURIComponent(state.params[0]);\n\tstate.wiki.deleteTiddler(title);\n\tresponse.writeHead(204, \&quot;OK\&quot;, {\n\t\t\&quot;Content-Type\&quot;: \&quot;text/plain\&quot;\n\t});\n\tresponse.end();\n};\n\n}());\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;route&quot;
},
&quot;$:/core/modules/server/routes/get-favicon.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/server/routes/get-favicon.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/server/routes/get-favicon.js\ntype: application/javascript\nmodule-type: route\n\nGET /favicon.ico\n\n\\*/\n(function() {\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.method = \&quot;GET\&quot;;\n\nexports.path = /^\\/favicon.ico$/;\n\nexports.handler = function(request,response,state) {\n\tresponse.writeHead(200, {\&quot;Content-Type\&quot;: \&quot;image/x-icon\&quot;});\n\tvar buffer = state.wiki.getTiddlerText(\&quot;$:/favicon.ico\&quot;,\&quot;\&quot;);\n\tresponse.end(buffer,\&quot;base64\&quot;);\n};\n\n}());\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;route&quot;
},
&quot;$:/core/modules/server/routes/get-file.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/server/routes/get-file.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/server/routes/get-file.js\ntype: application/javascript\nmodule-type: route\n\nGET /files/:filepath\n\n\\*/\n(function() {\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.method = \&quot;GET\&quot;;\n\nexports.path = /^\\/files\\/(.+)$/;\n\nexports.handler = function(request,response,state) {\n\tvar path = require(\&quot;path\&quot;),\n\t\tfs = require(\&quot;fs\&quot;),\n\t\tutil = require(\&quot;util\&quot;),\n\t\tsuppliedFilename = decodeURIComponent(state.params[0]),\n\t\tfilename = path.resolve(state.boot.wikiPath,\&quot;files\&quot;,suppliedFilename),\n\t\textension = path.extname(filename);\n\tfs.readFile(filename,function(err,content) {\n\t\tvar status,content,type = \&quot;text/plain\&quot;;\n\t\tif(err) {\n\t\t\tconsole.log(\&quot;Error accessing file \&quot; + filename + \&quot;: \&quot; + err.toString());\n\t\t\tstatus = 404;\n\t\t\tcontent = \&quot;File '\&quot; + suppliedFilename + \&quot;' not found\&quot;;\n\t\t} else {\n\t\t\tstatus = 200;\n\t\t\tcontent = content;\n\t\t\ttype = ($tw.config.fileExtensionInfo[extension] ? $tw.config.fileExtensionInfo[extension].type : \&quot;application/octet-stream\&quot;);\n\t\t}\n\t\tresponse.writeHead(status,{\n\t\t\t\&quot;Content-Type\&quot;: type\n\t\t});\n\t\tresponse.end(content);\n\t});\n};\n\n}());\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;route&quot;
},
&quot;$:/core/modules/server/routes/get-index.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/server/routes/get-index.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/server/routes/get-index.js\ntype: application/javascript\nmodule-type: route\n\nGET /\n\n\\*/\n(function() {\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar zlib = require(\&quot;zlib\&quot;);\n\nexports.method = \&quot;GET\&quot;;\n\nexports.path = /^\\/$/;\n\nexports.handler = function(request,response,state) {\n\tvar acceptEncoding = request.headers[\&quot;accept-encoding\&quot;];\n\tif(!acceptEncoding) {\n\t\tacceptEncoding = \&quot;\&quot;;\n\t}\n\tvar text = state.wiki.renderTiddler(state.server.get(\&quot;root-render-type\&quot;),state.server.get(\&quot;root-tiddler\&quot;)),\n\t\tresponseHeaders = {\n\t\t\&quot;Content-Type\&quot;: state.server.get(\&quot;root-serve-type\&quot;)\n\t};\n\t/*\n\tIf the gzip=yes flag for `listen` is set, check if the user agent permits\n\tcompression. If so, compress our response. Note that we use the synchronous\n\tfunctions from zlib to stay in the imperative style. The current `Server`\n\tdoesn't depend on this, and we may just as well use the async versions.\n\t*/\n\tif(state.server.enableGzip) {\n\t\tif (/\\bdeflate\\b/.test(acceptEncoding)) {\n\t\t\tresponseHeaders[\&quot;Content-Encoding\&quot;] = \&quot;deflate\&quot;;\n\t\t\ttext = zlib.deflateSync(text);\n\t\t} else if (/\\bgzip\\b/.test(acceptEncoding)) {\n\t\t\tresponseHeaders[\&quot;Content-Encoding\&quot;] = \&quot;gzip\&quot;;\n\t\t\ttext = zlib.gzipSync(text);\n\t\t}\n\t}\n\tresponse.writeHead(200,responseHeaders);\n\tresponse.end(text);\n};\n\n}());\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;route&quot;
},
&quot;$:/core/modules/server/routes/get-login-basic.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/server/routes/get-login-basic.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/server/routes/get-login-basic.js\ntype: application/javascript\nmodule-type: route\n\nGET /login-basic -- force a Basic Authentication challenge\n\n\\*/\n(function() {\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.method = \&quot;GET\&quot;;\n\nexports.path = /^\\/login-basic$/;\n\nexports.handler = function(request,response,state) {\n\tif(!state.authenticatedUsername) {\n\t\t// Challenge if there's no username\n\t\tresponse.writeHead(401,{\n\t\t\t\&quot;WWW-Authenticate\&quot;: 'Basic realm=\&quot;Please provide your username and password to login to ' + state.server.servername + '\&quot;'\n\t\t});\n\t\tresponse.end();\t\t\n\t} else {\n\t\t// Redirect to the root wiki if login worked\n\t\tresponse.writeHead(302,{\n\t\t\tLocation: \&quot;/\&quot;\n\t\t});\n\t\tresponse.end();\n\t}\n};\n\n}());\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;route&quot;
},
&quot;$:/core/modules/server/routes/get-status.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/server/routes/get-status.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/server/routes/get-status.js\ntype: application/javascript\nmodule-type: route\n\nGET /status\n\n\\*/\n(function() {\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.method = \&quot;GET\&quot;;\n\nexports.path = /^\\/status$/;\n\nexports.handler = function(request,response,state) {\n\tresponse.writeHead(200, {\&quot;Content-Type\&quot;: \&quot;application/json\&quot;});\n\tvar text = JSON.stringify({\n\t\tusername: state.authenticatedUsername || state.server.get(\&quot;anon-username\&quot;) || \&quot;\&quot;,\n\t\tanonymous: !state.authenticatedUsername,\n\t\tread_only: !state.server.isAuthorized(\&quot;writers\&quot;,state.authenticatedUsername),\n\t\tspace: {\n\t\t\trecipe: \&quot;default\&quot;\n\t\t},\n\t\ttiddlywiki_version: $tw.version\n\t});\n\tresponse.end(text,\&quot;utf8\&quot;);\n};\n\n}());\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;route&quot;
},
&quot;$:/core/modules/server/routes/get-tiddler-html.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/server/routes/get-tiddler-html.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/server/routes/get-tiddler-html.js\ntype: application/javascript\nmodule-type: route\n\nGET /:title\n\n\\*/\n(function() {\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.method = \&quot;GET\&quot;;\n\nexports.path = /^\\/([^\\/]+)$/;\n\nexports.handler = function(request,response,state) {\n\tvar title = decodeURIComponent(state.params[0]),\n\t\ttiddler = state.wiki.getTiddler(title);\n\tif(tiddler) {\n\t\tvar renderType = tiddler.getFieldString(\&quot;_render_type\&quot;),\n\t\t\trenderTemplate = tiddler.getFieldString(\&quot;_render_template\&quot;);\n\t\t// Tiddler fields '_render_type' and '_render_template' overwrite\n\t\t// system wide settings for render type and template\n\t\tif(state.wiki.isSystemTiddler(title)) {\n\t\t\trenderType = renderType || state.server.get(\&quot;system-tiddler-render-type\&quot;);\n\t\t\trenderTemplate = renderTemplate || state.server.get(\&quot;system-tiddler-render-template\&quot;);\n\t\t} else {\n\t\t\trenderType = renderType || state.server.get(\&quot;tiddler-render-type\&quot;);\n\t\t\trenderTemplate = renderTemplate || state.server.get(\&quot;tiddler-render-template\&quot;);\n\t\t}\n\t\tvar text = state.wiki.renderTiddler(renderType,renderTemplate,{parseAsInline: true, variables: {currentTiddler: title}});\n\t\t// Naughty not to set a content-type, but it's the easiest way to ensure the browser will see HTML pages as HTML, and accept plain text tiddlers as CSS or JS\n\t\tresponse.writeHead(200);\n\t\tresponse.end(text,\&quot;utf8\&quot;);\n\t} else {\n\t\tresponse.writeHead(404);\n\t\tresponse.end();\n\t}\n};\n\n}());\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;route&quot;
},
&quot;$:/core/modules/server/routes/get-tiddler.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/server/routes/get-tiddler.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/server/routes/get-tiddler.js\ntype: application/javascript\nmodule-type: route\n\nGET /recipes/default/tiddlers/:title\n\n\\*/\n(function() {\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.method = \&quot;GET\&quot;;\n\nexports.path = /^\\/recipes\\/default\\/tiddlers\\/(.+)$/;\n\nexports.handler = function(request,response,state) {\n\tvar title = decodeURIComponent(state.params[0]),\n\t\ttiddler = state.wiki.getTiddler(title),\n\t\ttiddlerFields = {},\n\t\tknownFields = [\n\t\t\t\&quot;bag\&quot;, \&quot;created\&quot;, \&quot;creator\&quot;, \&quot;modified\&quot;, \&quot;modifier\&quot;, \&quot;permissions\&quot;, \&quot;recipe\&quot;, \&quot;revision\&quot;, \&quot;tags\&quot;, \&quot;text\&quot;, \&quot;title\&quot;, \&quot;type\&quot;, \&quot;uri\&quot;\n\t\t];\n\tif(tiddler) {\n\t\t$tw.utils.each(tiddler.fields,function(field,name) {\n\t\t\tvar value = tiddler.getFieldString(name);\n\t\t\tif(knownFields.indexOf(name) !== -1) {\n\t\t\t\ttiddlerFields[name] = value;\n\t\t\t} else {\n\t\t\t\ttiddlerFields.fields = tiddlerFields.fields || {};\n\t\t\t\ttiddlerFields.fields[name] = value;\n\t\t\t}\n\t\t});\n\t\ttiddlerFields.revision = state.wiki.getChangeCount(title);\n\t\ttiddlerFields.bag = \&quot;default\&quot;;\n\t\ttiddlerFields.type = tiddlerFields.type || \&quot;text/vnd.tiddlywiki\&quot;;\n\t\tresponse.writeHead(200, {\&quot;Content-Type\&quot;: \&quot;application/json\&quot;});\n\t\tresponse.end(JSON.stringify(tiddlerFields),\&quot;utf8\&quot;);\n\t} else {\n\t\tresponse.writeHead(404);\n\t\tresponse.end();\n\t}\n};\n\n}());\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;route&quot;
},
&quot;$:/core/modules/server/routes/get-tiddlers-json.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/server/routes/get-tiddlers-json.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/server/routes/get-tiddlers-json.js\ntype: application/javascript\nmodule-type: route\n\nGET /recipes/default/tiddlers.json?filter=&lt;filter&gt;\n\n\\*/\n(function() {\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar DEFAULT_FILTER = \&quot;[all[tiddlers]!is[system]sort[title]]\&quot;;\n\nexports.method = \&quot;GET\&quot;;\n\nexports.path = /^\\/recipes\\/default\\/tiddlers.json$/;\n\nexports.handler = function(request,response,state) {\n\tvar filter = state.queryParameters.filter || DEFAULT_FILTER;\n\tif(state.wiki.getTiddlerText(\&quot;$:/config/Server/AllowAllExternalFilters\&quot;) !== \&quot;yes\&quot;) {\n\t\tif(state.wiki.getTiddlerText(\&quot;$:/config/Server/ExternalFilters/\&quot; + filter) !== \&quot;yes\&quot;) {\n\t\t\tconsole.log(\&quot;Blocked attempt to GET /recipes/default/tiddlers.json with filter: \&quot; + filter);\n\t\t\tresponse.writeHead(403);\n\t\t\tresponse.end();\n\t\t\treturn;\n\t\t}\n\t}\n\tif(state.wiki.getTiddlerText(\&quot;$:/config/SyncSystemTiddlersFromServer\&quot;) === \&quot;no\&quot;) {\n\t\tfilter += \&quot;+[!is[system]]\&quot;;\n\t}\n\tvar excludeFields = (state.queryParameters.exclude || \&quot;text\&quot;).split(\&quot;,\&quot;),\n\t\ttitles = state.wiki.filterTiddlers(filter);\n\tresponse.writeHead(200, {\&quot;Content-Type\&quot;: \&quot;application/json\&quot;});\n\tvar tiddlers = [];\n\t$tw.utils.each(titles,function(title) {\n\t\tvar tiddler = state.wiki.getTiddler(title);\n\t\tif(tiddler) {\n\t\t\tvar tiddlerFields = tiddler.getFieldStrings({exclude: excludeFields});\n\t\t\ttiddlerFields.revision = state.wiki.getChangeCount(title);\n\t\t\ttiddlerFields.type = tiddlerFields.type || \&quot;text/vnd.tiddlywiki\&quot;;\n\t\t\ttiddlers.push(tiddlerFields);\n\t\t}\n\t});\n\tvar text = JSON.stringify(tiddlers);\n\tresponse.end(text,\&quot;utf8\&quot;);\n};\n\n}());\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;route&quot;
},
&quot;$:/core/modules/server/routes/put-tiddler.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/server/routes/put-tiddler.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/server/routes/put-tiddler.js\ntype: application/javascript\nmodule-type: route\n\nPUT /recipes/default/tiddlers/:title\n\n\\*/\n(function() {\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.method = \&quot;PUT\&quot;;\n\nexports.path = /^\\/recipes\\/default\\/tiddlers\\/(.+)$/;\n\nexports.handler = function(request,response,state) {\n\tvar title = decodeURIComponent(state.params[0]),\n\tfields = JSON.parse(state.data);\n\t// Pull up any subfields in the `fields` object\n\tif(fields.fields) {\n\t\t$tw.utils.each(fields.fields,function(field,name) {\n\t\t\tfields[name] = field;\n\t\t});\n\t\tdelete fields.fields;\n\t}\n\t// Remove any revision field\n\tif(fields.revision) {\n\t\tdelete fields.revision;\n\t}\n\tstate.wiki.addTiddler(new $tw.Tiddler(state.wiki.getCreationFields(),fields,{title: title},state.wiki.getModificationFields()));\n\tvar changeCount = state.wiki.getChangeCount(title).toString();\n\tresponse.writeHead(204, \&quot;OK\&quot;,{\n\t\tEtag: \&quot;\\\&quot;default/\&quot; + encodeURIComponent(title) + \&quot;/\&quot; + changeCount + \&quot;:\\\&quot;\&quot;,\n\t\t\&quot;Content-Type\&quot;: \&quot;text/plain\&quot;\n\t});\n\tresponse.end();\n};\n\n}());\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;route&quot;
},
&quot;$:/core/modules/server/server.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/server/server.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/server/server.js\ntype: application/javascript\nmodule-type: library\n\nServe tiddlers over http\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nif($tw.node) {\n\tvar util = require(\&quot;util\&quot;),\n\t\tfs = require(\&quot;fs\&quot;),\n\t\turl = require(\&quot;url\&quot;),\n\t\tpath = require(\&quot;path\&quot;),\n\t\tquerystring = require(\&quot;querystring\&quot;);\n}\n\n/*\nA simple HTTP server with regexp-based routes\noptions: variables - optional hashmap of variables to set (a misnomer - they are really constant parameters)\n\t\t routes - optional array of routes to use\n\t\t wiki - reference to wiki object\n*/\nfunction Server(options) {\n\tvar self = this;\n\tthis.routes = options.routes || [];\n\tthis.authenticators = options.authenticators || [];\n\tthis.wiki = options.wiki;\n\tthis.boot = options.boot || $tw.boot;\n\tthis.servername = $tw.utils.transliterateToSafeASCII(this.wiki.getTiddlerText(\&quot;$:/SiteTitle\&quot;) || \&quot;TiddlyWiki5\&quot;);\n\t// Initialise the variables\n\tthis.variables = $tw.utils.extend({},this.defaultVariables);\n\tif(options.variables) {\n\t\tfor(var variable in options.variables) {\n\t\t\tif(options.variables[variable]) {\n\t\t\t\tthis.variables[variable] = options.variables[variable];\n\t\t\t}\n\t\t}\t\t\n\t}\n\t$tw.utils.extend({},this.defaultVariables,options.variables);\n\t// Initialise CSRF\n\tthis.csrfDisable = this.get(\&quot;csrf-disable\&quot;) === \&quot;yes\&quot;;\n\t// Initialize Gzip compression\n\tthis.enableGzip = this.get(\&quot;gzip\&quot;) === \&quot;yes\&quot;;\n\t// Initialise authorization\n\tvar authorizedUserName = (this.get(\&quot;username\&quot;) &amp;&amp; this.get(\&quot;password\&quot;)) ? this.get(\&quot;username\&quot;) : \&quot;(anon)\&quot;;\n\tthis.authorizationPrincipals = {\n\t\treaders: (this.get(\&quot;readers\&quot;) || authorizedUserName).split(\&quot;,\&quot;).map($tw.utils.trim),\n\t\twriters: (this.get(\&quot;writers\&quot;) || authorizedUserName).split(\&quot;,\&quot;).map($tw.utils.trim)\n\t}\n\t// Load and initialise authenticators\n\t$tw.modules.forEachModuleOfType(\&quot;authenticator\&quot;, function(title,authenticatorDefinition) {\n\t\t// console.log(\&quot;Loading server route \&quot; + title);\n\t\tself.addAuthenticator(authenticatorDefinition.AuthenticatorClass);\n\t});\n\t// Load route handlers\n\t$tw.modules.forEachModuleOfType(\&quot;route\&quot;, function(title,routeDefinition) {\n\t\t// console.log(\&quot;Loading server route \&quot; + title);\n\t\tself.addRoute(routeDefinition);\n\t});\n\t// Initialise the http vs https\n\tthis.listenOptions = null;\n\tthis.protocol = \&quot;http\&quot;;\n\tvar tlsKeyFilepath = this.get(\&quot;tls-key\&quot;),\n\t\ttlsCertFilepath = this.get(\&quot;tls-cert\&quot;);\n\tif(tlsCertFilepath &amp;&amp; tlsKeyFilepath) {\n\t\tthis.listenOptions = {\n\t\t\tkey: fs.readFileSync(path.resolve(this.boot.wikiPath,tlsKeyFilepath),\&quot;utf8\&quot;),\n\t\t\tcert: fs.readFileSync(path.resolve(this.boot.wikiPath,tlsCertFilepath),\&quot;utf8\&quot;)\n\t\t};\n\t\tthis.protocol = \&quot;https\&quot;;\n\t}\n\tthis.transport = require(this.protocol);\n}\n\nServer.prototype.defaultVariables = {\n\tport: \&quot;8080\&quot;,\n\thost: \&quot;127.0.0.1\&quot;,\n\t\&quot;root-tiddler\&quot;: \&quot;$:/core/save/all\&quot;,\n\t\&quot;root-render-type\&quot;: \&quot;text/plain\&quot;,\n\t\&quot;root-serve-type\&quot;: \&quot;text/html\&quot;,\n\t\&quot;tiddler-render-type\&quot;: \&quot;text/html\&quot;,\n\t\&quot;tiddler-render-template\&quot;: \&quot;$:/core/templates/server/static.tiddler.html\&quot;,\n\t\&quot;system-tiddler-render-type\&quot;: \&quot;text/plain\&quot;,\n\t\&quot;system-tiddler-render-template\&quot;: \&quot;$:/core/templates/wikified-tiddler\&quot;,\n\t\&quot;debug-level\&quot;: \&quot;none\&quot;,\n\t\&quot;gzip\&quot;: \&quot;no\&quot;\n};\n\nServer.prototype.get = function(name) {\n\treturn this.variables[name];\n};\n\nServer.prototype.addRoute = f
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;library&quot;
},
&quot;$:/core/modules/browser-messaging.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/browser-messaging.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/browser-messaging.js\ntype: application/javascript\nmodule-type: startup\n\nBrowser message handling\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n// Export name and synchronous status\nexports.name = \&quot;browser-messaging\&quot;;\nexports.platforms = [\&quot;browser\&quot;];\nexports.after = [\&quot;startup\&quot;];\nexports.synchronous = true;\n\n/*\nLoad a specified url as an iframe and call the callback when it is loaded. If the url is already loaded then the existing iframe instance is used\n*/\nfunction loadIFrame(url,callback) {\n\t// Check if iframe already exists\n\tvar iframeInfo = $tw.browserMessaging.iframeInfoMap[url];\n\tif(iframeInfo) {\n\t\t// We've already got the iframe\n\t\tcallback(null,iframeInfo);\n\t} else {\n\t\t// Create the iframe and save it in the list\n\t\tvar iframe = document.createElement(\&quot;iframe\&quot;);\n\t\tiframeInfo = {\n\t\t\turl: url,\n\t\t\tstatus: \&quot;loading\&quot;,\n\t\t\tdomNode: iframe\n\t\t};\n\t\t$tw.browserMessaging.iframeInfoMap[url] = iframeInfo;\n\t\tsaveIFrameInfoTiddler(iframeInfo);\n\t\t// Add the iframe to the DOM and hide it\n\t\tiframe.style.display = \&quot;none\&quot;;\n\t\tiframe.setAttribute(\&quot;library\&quot;,\&quot;true\&quot;);\n\t\tdocument.body.appendChild(iframe);\n\t\t// Set up onload\n\t\tiframe.onload = function() {\n\t\t\tiframeInfo.status = \&quot;loaded\&quot;;\n\t\t\tsaveIFrameInfoTiddler(iframeInfo);\n\t\t\tcallback(null,iframeInfo);\n\t\t};\n\t\tiframe.onerror = function() {\n\t\t\tcallback(\&quot;Cannot load iframe\&quot;);\n\t\t};\n\t\ttry {\n\t\t\tiframe.src = url;\n\t\t} catch(ex) {\n\t\t\tcallback(ex);\n\t\t}\n\t}\n}\n\n/*\nUnload library iframe for given url\n*/\nfunction unloadIFrame(url){\n\t$tw.utils.each(document.getElementsByTagName('iframe'), function(iframe) {\n\t\tif(iframe.getAttribute(\&quot;library\&quot;) === \&quot;true\&quot; &amp;&amp;\n\t\t iframe.getAttribute(\&quot;src\&quot;) === url) {\n\t\t\tiframe.parentNode.removeChild(iframe);\n\t\t}\n\t});\n}\n\nfunction saveIFrameInfoTiddler(iframeInfo) {\n\t$tw.wiki.addTiddler(new $tw.Tiddler($tw.wiki.getCreationFields(),{\n\t\ttitle: \&quot;$:/temp/ServerConnection/\&quot; + iframeInfo.url,\n\t\ttext: iframeInfo.status,\n\t\ttags: [\&quot;$:/tags/ServerConnection\&quot;],\n\t\turl: iframeInfo.url\n\t},$tw.wiki.getModificationFields()));\n}\n\nexports.startup = function() {\n\t// Initialise the store of iframes we've created\n\t$tw.browserMessaging = {\n\t\tiframeInfoMap: {} // Hashmap by URL of {url:,status:\&quot;loading/loaded\&quot;,domNode:}\n\t};\n\t// Listen for widget messages to control loading the plugin library\n\t$tw.rootWidget.addEventListener(\&quot;tm-load-plugin-library\&quot;,function(event) {\n\t\tvar paramObject = event.paramObject || {},\n\t\t\turl = paramObject.url;\n\t\tif(url) {\n\t\t\tloadIFrame(url,function(err,iframeInfo) {\n\t\t\t\tif(err) {\n\t\t\t\t\talert($tw.language.getString(\&quot;Error/LoadingPluginLibrary\&quot;) + \&quot;: \&quot; + url);\n\t\t\t\t} else {\n\t\t\t\t\tiframeInfo.domNode.contentWindow.postMessage({\n\t\t\t\t\t\tverb: \&quot;GET\&quot;,\n\t\t\t\t\t\turl: \&quot;recipes/library/tiddlers.json\&quot;,\n\t\t\t\t\t\tcookies: {\n\t\t\t\t\t\t\ttype: \&quot;save-info\&quot;,\n\t\t\t\t\t\t\tinfoTitlePrefix: paramObject.infoTitlePrefix || \&quot;$:/temp/RemoteAssetInfo/\&quot;,\n\t\t\t\t\t\t\turl: url\n\t\t\t\t\t\t}\n\t\t\t\t\t},\&quot;*\&quot;);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t});\n\t// Listen for widget messages to control unloading the plugin library\n\t$tw.rootWidget.addEventListener(\&quot;tm-unload-plugin-library\&quot;,function(event) {\n\t\tvar paramObject = event.paramObject || {},\n\t\t\turl = paramObject.url;\n\t\t$tw.browserMessaging.iframeInfoMap[url] = undefined;\n\t\tif(url) {\n\t\t\tunloadIFrame(url);\n\t\t\t$tw.utils.each(\n\t\t\t\t$tw.wiki.filterTiddlers(\&quot;[[$:/temp/ServerConnection/\&quot; + url + \&quot;]] [prefix[$:/temp/RemoteAssetInfo/\&quot; + url + \&quot;/]]\&
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;startup&quot;
},
&quot;$:/core/modules/startup/commands.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/startup/commands.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/startup/commands.js\ntype: application/javascript\nmodule-type: startup\n\nCommand processing\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n// Export name and synchronous status\nexports.name = \&quot;commands\&quot;;\nexports.platforms = [\&quot;node\&quot;];\nexports.after = [\&quot;story\&quot;];\nexports.synchronous = false;\n\nexports.startup = function(callback) {\n\t// On the server, start a commander with the command line arguments\n\tvar commander = new $tw.Commander(\n\t\t$tw.boot.argv,\n\t\tfunction(err) {\n\t\t\tif(err) {\n\t\t\t\treturn $tw.utils.error(\&quot;Error: \&quot; + err);\n\t\t\t}\n\t\t\tcallback();\n\t\t},\n\t\t$tw.wiki,\n\t\t{output: process.stdout, error: process.stderr}\n\t);\n\tcommander.execute();\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;startup&quot;
},
&quot;$:/core/modules/startup/CSSescape.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/startup/CSSescape.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/startup/CSSescape.js\ntype: application/javascript\nmodule-type: startup\n\nPolyfill for CSS.escape()\n\n\\*/\n(function(root,factory){\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n// Export name and synchronous status\nexports.name = \&quot;css-escape\&quot;;\nexports.platforms = [\&quot;browser\&quot;];\nexports.after = [\&quot;startup\&quot;];\nexports.synchronous = true;\n\n/*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */\n// https://github.com/umdjs/umd/blob/master/returnExports.js\nexports.startup = factory(root);\n}(typeof global != 'undefined' ? global : this, function(root) {\n\n\tif (root.CSS &amp;&amp; root.CSS.escape) {\n\t\treturn;\n\t}\n\n\t// https://drafts.csswg.org/cssom/#serialize-an-identifier\n\tvar cssEscape = function(value) {\n\t\tif (arguments.length == 0) {\n\t\t\tthrow new TypeError('`CSS.escape` requires an argument.');\n\t\t}\n\t\tvar string = String(value);\n\t\tvar length = string.length;\n\t\tvar index = -1;\n\t\tvar codeUnit;\n\t\tvar result = '';\n\t\tvar firstCodeUnit = string.charCodeAt(0);\n\t\twhile (++index &lt; length) {\n\t\t\tcodeUnit = string.charCodeAt(index);\n\t\t\t// Note: theres no need to special-case astral symbols, surrogate\n\t\t\t// pairs, or lone surrogates.\n\n\t\t\t// If the character is NULL (U+0000), then the REPLACEMENT CHARACTER\n\t\t\t// (U+FFFD).\n\t\t\tif (codeUnit == 0x0000) {\n\t\t\t\tresult += '\\uFFFD';\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tif (\n\t\t\t\t// If the character is in the range [\\1-\\1F] (U+0001 to U+001F) or is\n\t\t\t\t// U+007F, […]\n\t\t\t\t(codeUnit &gt;= 0x0001 &amp;&amp; codeUnit &lt;= 0x001F) || codeUnit == 0x007F ||\n\t\t\t\t// If the character is the first character and is in the range [0-9]\n\t\t\t\t// (U+0030 to U+0039), […]\n\t\t\t\t(index == 0 &amp;&amp; codeUnit &gt;= 0x0030 &amp;&amp; codeUnit &lt;= 0x0039) ||\n\t\t\t\t// If the character is the second character and is in the range [0-9]\n\t\t\t\t// (U+0030 to U+0039) and the first character is a `-` (U+002D), […]\n\t\t\t\t(\n\t\t\t\t\tindex == 1 &amp;&amp;\n\t\t\t\t\tcodeUnit &gt;= 0x0030 &amp;&amp; codeUnit &lt;= 0x0039 &amp;&amp;\n\t\t\t\t\tfirstCodeUnit == 0x002D\n\t\t\t\t)\n\t\t\t) {\n\t\t\t\t// https://drafts.csswg.org/cssom/#escape-a-character-as-code-point\n\t\t\t\tresult += '\\\\' + codeUnit.toString(16) + ' ';\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tif (\n\t\t\t\t// If the character is the first character and is a `-` (U+002D), and\n\t\t\t\t// there is no second character, […]\n\t\t\t\tindex == 0 &amp;&amp;\n\t\t\t\tlength == 1 &amp;&amp;\n\t\t\t\tcodeUnit == 0x002D\n\t\t\t) {\n\t\t\t\tresult += '\\\\' + string.charAt(index);\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\t// If the character is not handled by one of the above rules and is\n\t\t\t// greater than or equal to U+0080, is `-` (U+002D) or `_` (U+005F), or\n\t\t\t// is in one of the ranges [0-9] (U+0030 to U+0039), [A-Z] (U+0041 to\n\t\t\t// U+005A), or [a-z] (U+0061 to U+007A), […]\n\t\t\tif (\n\t\t\t\tcodeUnit &gt;= 0x0080 ||\n\t\t\t\tcodeUnit == 0x002D ||\n\t\t\t\tcodeUnit == 0x005F ||\n\t\t\t\tcodeUnit &gt;= 0x0030 &amp;&amp; codeUnit &lt;= 0x0039 ||\n\t\t\t\tcodeUnit &gt;= 0x0041 &amp;&amp; codeUnit &lt;= 0x005A ||\n\t\t\t\tcodeUnit &gt;= 0x0061 &amp;&amp; codeUnit &lt;= 0x007A\n\t\t\t) {\n\t\t\t\t// the character itself\n\t\t\t\tresult += string.charAt(index);\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\t// Otherwise, the escaped character.\n\t\t\t// https://drafts.csswg.org/cssom/#escape-a-character\n\t\t\tresult += '\\\\' + string.charAt(index);\n\n\t\t}\n\t\treturn result;\n\t};\n\n\tif (!root.CSS) {\n\t\troot.CSS = {};\n\t}\n\n\troot.CSS.escape = cssEscape;\n\n}));\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;startup&quot;
},
&quot;$:/core/modules/startup/favicon.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/startup/favicon.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/startup/favicon.js\ntype: application/javascript\nmodule-type: startup\n\nFavicon handling\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n// Export name and synchronous status\nexports.name = \&quot;favicon\&quot;;\nexports.platforms = [\&quot;browser\&quot;];\nexports.after = [\&quot;startup\&quot;];\nexports.synchronous = true;\n\t\t\n// Favicon tiddler\nvar FAVICON_TITLE = \&quot;$:/favicon.ico\&quot;;\n\nexports.startup = function() {\n\t// Set up the favicon\n\tsetFavicon();\n\t// Reset the favicon when the tiddler changes\n\t$tw.wiki.addEventListener(\&quot;change\&quot;,function(changes) {\n\t\tif($tw.utils.hop(changes,FAVICON_TITLE)) {\n\t\t\tsetFavicon();\n\t\t}\n\t});\n};\n\nfunction setFavicon() {\n\tvar tiddler = $tw.wiki.getTiddler(FAVICON_TITLE);\n\tif(tiddler) {\n\t\tvar faviconLink = document.getElementById(\&quot;faviconLink\&quot;);\n\t\tfaviconLink.setAttribute(\&quot;href\&quot;,$tw.utils.makeDataUri(tiddler.fields.text,tiddler.fields.type,tiddler.fields._canonical_uri));\n\t}\n}\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;startup&quot;
},
&quot;$:/core/modules/startup/info.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/startup/info.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/startup/info.js\ntype: application/javascript\nmodule-type: startup\n\nInitialise $:/info tiddlers via $:/temp/info-plugin pseudo-plugin\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n// Export name and synchronous status\nexports.name = \&quot;info\&quot;;\nexports.before = [\&quot;startup\&quot;];\nexports.after = [\&quot;load-modules\&quot;];\nexports.synchronous = true;\n\nvar TITLE_INFO_PLUGIN = \&quot;$:/temp/info-plugin\&quot;;\n\nexports.startup = function() {\n\t// Function to bake the info plugin with new tiddlers\n\tvar updateInfoPlugin = function(tiddlerFieldsArray) {\n\t\t// Get the existing tiddlers\n\t\tvar json = $tw.wiki.getTiddlerData(TITLE_INFO_PLUGIN,{tiddlers: {}});\n\t\t// Add the new ones\n\t\t$tw.utils.each(tiddlerFieldsArray,function(fields) {\n\t\t\tif(fields &amp;&amp; fields.title) {\n\t\t\t\tjson.tiddlers[fields.title] = fields;\n\t\t\t}\n\t\t});\n\t\t// Bake the info tiddlers into a plugin. We use the non-standard plugin-type \&quot;info\&quot; because ordinary plugins are only registered asynchronously after being loaded dynamically\n\t\tvar fields = {\n\t\t\ttitle: TITLE_INFO_PLUGIN,\n\t\t\ttype: \&quot;application/json\&quot;,\n\t\t\t\&quot;plugin-type\&quot;: \&quot;info\&quot;,\n\t\t\ttext: JSON.stringify(json,null,$tw.config.preferences.jsonSpaces)\n\t\t};\n\t\t$tw.wiki.addTiddler(new $tw.Tiddler(fields));\n\n\t};\n\t// Collect up the info tiddlers\n\tvar tiddlerFieldsArray = [];\n\t// Give each info module a chance to provide as many info tiddlers as they want as an array, and give them a callback for dynamically updating them\n\t$tw.modules.forEachModuleOfType(\&quot;info\&quot;,function(title,moduleExports) {\n\t\tif(moduleExports &amp;&amp; moduleExports.getInfoTiddlerFields) {\n\t\t\tArray.prototype.push.apply(tiddlerFieldsArray,moduleExports.getInfoTiddlerFields(updateInfoPlugin));\n\t\t}\n\t});\n\tupdateInfoPlugin(tiddlerFieldsArray);\n\tvar changes = $tw.wiki.readPluginInfo([TITLE_INFO_PLUGIN]);\n\t$tw.wiki.registerPluginTiddlers(\&quot;info\&quot;,[TITLE_INFO_PLUGIN]);\n\t$tw.wiki.unpackPluginTiddlers();\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;startup&quot;
},
&quot;$:/core/modules/startup/load-modules.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/startup/load-modules.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/startup/load-modules.js\ntype: application/javascript\nmodule-type: startup\n\nLoad core modules\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n// Export name and synchronous status\nexports.name = \&quot;load-modules\&quot;;\nexports.synchronous = true;\n\nexports.startup = function() {\n\t// Load modules\n\t$tw.modules.applyMethods(\&quot;utils\&quot;,$tw.utils);\n\tif($tw.node) {\n\t\t$tw.modules.applyMethods(\&quot;utils-node\&quot;,$tw.utils);\n\t}\n\t$tw.modules.applyMethods(\&quot;global\&quot;,$tw);\n\t$tw.modules.applyMethods(\&quot;config\&quot;,$tw.config);\n\t$tw.Tiddler.fieldModules = $tw.modules.getModulesByTypeAsHashmap(\&quot;tiddlerfield\&quot;);\n\t$tw.modules.applyMethods(\&quot;tiddlermethod\&quot;,$tw.Tiddler.prototype);\n\t$tw.modules.applyMethods(\&quot;wikimethod\&quot;,$tw.Wiki.prototype);\n\t$tw.wiki.addIndexersToWiki();\n\t$tw.modules.applyMethods(\&quot;tiddlerdeserializer\&quot;,$tw.Wiki.tiddlerDeserializerModules);\n\t$tw.macros = $tw.modules.getModulesByTypeAsHashmap(\&quot;macro\&quot;);\n\t$tw.wiki.initParsers();\n\t$tw.Commander.initCommands();\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;startup&quot;
},
&quot;$:/core/modules/startup/password.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/startup/password.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/startup/password.js\ntype: application/javascript\nmodule-type: startup\n\nPassword handling\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n// Export name and synchronous status\nexports.name = \&quot;password\&quot;;\nexports.platforms = [\&quot;browser\&quot;];\nexports.after = [\&quot;startup\&quot;];\nexports.synchronous = true;\n\nexports.startup = function() {\n\t$tw.rootWidget.addEventListener(\&quot;tm-set-password\&quot;,function(event) {\n\t\t$tw.passwordPrompt.createPrompt({\n\t\t\tserviceName: $tw.language.getString(\&quot;Encryption/PromptSetPassword\&quot;),\n\t\t\tnoUserName: true,\n\t\t\tsubmitText: $tw.language.getString(\&quot;Encryption/SetPassword\&quot;),\n\t\t\tcanCancel: true,\n\t\t\trepeatPassword: true,\n\t\t\tcallback: function(data) {\n\t\t\t\tif(data) {\n\t\t\t\t\t$tw.crypto.setPassword(data.password);\n\t\t\t\t}\n\t\t\t\treturn true; // Get rid of the password prompt\n\t\t\t}\n\t\t});\n\t});\n\t$tw.rootWidget.addEventListener(\&quot;tm-clear-password\&quot;,function(event) {\n\t\tif($tw.browser) {\n\t\t\tif(!confirm($tw.language.getString(\&quot;Encryption/ConfirmClearPassword\&quot;))) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\t$tw.crypto.setPassword(null);\n\t});\n\t// Ensure that $:/isEncrypted is maintained properly\n\t$tw.wiki.addEventListener(\&quot;change\&quot;,function(changes) {\n\t\tif($tw.utils.hop(changes,\&quot;$:/isEncrypted\&quot;)) {\n\t\t\t$tw.crypto.updateCryptoStateTiddler();\n\t\t}\n\t});\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;startup&quot;
},
&quot;$:/core/modules/startup/plugins.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/startup/plugins.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/startup/plugins.js\ntype: application/javascript\nmodule-type: startup\n\nStartup logic concerned with managing plugins\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n// Export name and synchronous status\nexports.name = \&quot;plugins\&quot;;\nexports.after = [\&quot;load-modules\&quot;];\nexports.synchronous = true;\n\nvar TITLE_REQUIRE_RELOAD_DUE_TO_PLUGIN_CHANGE = \&quot;$:/status/RequireReloadDueToPluginChange\&quot;;\n\nvar PREFIX_CONFIG_REGISTER_PLUGIN_TYPE = \&quot;$:/config/RegisterPluginType/\&quot;;\n\nexports.startup = function() {\n\t$tw.wiki.addTiddler({title: TITLE_REQUIRE_RELOAD_DUE_TO_PLUGIN_CHANGE,text: \&quot;no\&quot;});\n\t$tw.wiki.addEventListener(\&quot;change\&quot;,function(changes) {\n\t\t// Work out which of the changed tiddlers are plugins that we need to reregister\n\t\tvar changesToProcess = [],\n\t\t\trequireReloadDueToPluginChange = false;\n\t\t$tw.utils.each(Object.keys(changes),function(title) {\n\t\t\tvar tiddler = $tw.wiki.getTiddler(title),\n\t\t\t\trequiresReload = $tw.wiki.doesPluginRequireReload(title);\n\t\t\tif(requiresReload) {\n\t\t\t\trequireReloadDueToPluginChange = true;\n\t\t\t} else if(tiddler) {\n\t\t\t\tvar pluginType = tiddler.fields[\&quot;plugin-type\&quot;];\n\t\t\t\tif($tw.wiki.getTiddlerText(PREFIX_CONFIG_REGISTER_PLUGIN_TYPE + (tiddler.fields[\&quot;plugin-type\&quot;] || \&quot;\&quot;),\&quot;no\&quot;) === \&quot;yes\&quot;) {\n\t\t\t\t\tchangesToProcess.push(title);\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\t// Issue warning if any of the tiddlers require a reload\n\t\tif(requireReloadDueToPluginChange) {\n\t\t\t$tw.wiki.addTiddler({title: TITLE_REQUIRE_RELOAD_DUE_TO_PLUGIN_CHANGE,text: \&quot;yes\&quot;});\n\t\t}\n\t\t// Read or delete the plugin info of the changed tiddlers\n\t\tif(changesToProcess.length &gt; 0) {\n\t\t\tvar changes = $tw.wiki.readPluginInfo(changesToProcess);\n\t\t\tif(changes.modifiedPlugins.length &gt; 0 || changes.deletedPlugins.length &gt; 0) {\n\t\t\t\tvar changedShadowTiddlers = {};\n\t\t\t\t// Collect the shadow tiddlers of any deleted plugins\n\t\t\t\t$tw.utils.each(changes.deletedPlugins,function(pluginTitle) {\n\t\t\t\t\tvar pluginInfo = $tw.wiki.getPluginInfo(pluginTitle);\n\t\t\t\t\tif(pluginInfo) {\n\t\t\t\t\t\t$tw.utils.each(Object.keys(pluginInfo.tiddlers),function(title) {\n\t\t\t\t\t\t\tchangedShadowTiddlers[title] = true;\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\t// Collect the shadow tiddlers of any modified plugins\n\t\t\t\t$tw.utils.each(changes.modifiedPlugins,function(pluginTitle) {\n\t\t\t\t\tvar pluginInfo = $tw.wiki.getPluginInfo(pluginTitle);\n\t\t\t\t\tif(pluginInfo) {\n\t\t\t\t\t\t$tw.utils.each(Object.keys(pluginInfo.tiddlers),function(title) {\n\t\t\t\t\t\t\tchangedShadowTiddlers[title] = false;\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\t// (Re-)register any modified plugins\n\t\t\t\t$tw.wiki.registerPluginTiddlers(null,changes.modifiedPlugins);\n\t\t\t\t// Unregister any deleted plugins\n\t\t\t\t$tw.wiki.unregisterPluginTiddlers(null,changes.deletedPlugins);\n\t\t\t\t// Unpack the shadow tiddlers\n\t\t\t\t$tw.wiki.unpackPluginTiddlers();\n\t\t\t\t// Queue change events for the changed shadow tiddlers\n\t\t\t\t$tw.utils.each(Object.keys(changedShadowTiddlers),function(title) {\n\t\t\t\t\t$tw.wiki.enqueueTiddlerEvent(title,changedShadowTiddlers[title]);\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t});\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;startup&quot;
},
&quot;$:/core/modules/startup/render.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/startup/render.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/startup/render.js\ntype: application/javascript\nmodule-type: startup\n\nTitle, stylesheet and page rendering\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n// Export name and synchronous status\nexports.name = \&quot;render\&quot;;\nexports.platforms = [\&quot;browser\&quot;];\nexports.after = [\&quot;story\&quot;];\nexports.synchronous = true;\n\n// Default story and history lists\nvar PAGE_TITLE_TITLE = \&quot;$:/core/wiki/title\&quot;;\nvar PAGE_STYLESHEET_TITLE = \&quot;$:/core/ui/PageStylesheet\&quot;;\nvar PAGE_TEMPLATE_TITLE = \&quot;$:/core/ui/RootTemplate\&quot;;\n\n// Time (in ms) that we defer refreshing changes to draft tiddlers\nvar DRAFT_TIDDLER_TIMEOUT_TITLE = \&quot;$:/config/Drafts/TypingTimeout\&quot;;\nvar THROTTLE_REFRESH_TIMEOUT = 400;\n\nexports.startup = function() {\n\t// Set up the title\n\t$tw.titleWidgetNode = $tw.wiki.makeTranscludeWidget(PAGE_TITLE_TITLE,{document: $tw.fakeDocument, parseAsInline: true});\n\t$tw.titleContainer = $tw.fakeDocument.createElement(\&quot;div\&quot;);\n\t$tw.titleWidgetNode.render($tw.titleContainer,null);\n\tdocument.title = $tw.titleContainer.textContent;\n\t$tw.wiki.addEventListener(\&quot;change\&quot;,function(changes) {\n\t\tif($tw.titleWidgetNode.refresh(changes,$tw.titleContainer,null)) {\n\t\t\tdocument.title = $tw.titleContainer.textContent;\n\t\t}\n\t});\n\t// Set up the styles\n\t$tw.styleWidgetNode = $tw.wiki.makeTranscludeWidget(PAGE_STYLESHEET_TITLE,{document: $tw.fakeDocument});\n\t$tw.styleContainer = $tw.fakeDocument.createElement(\&quot;style\&quot;);\n\t$tw.styleWidgetNode.render($tw.styleContainer,null);\n\t$tw.styleElement = document.createElement(\&quot;style\&quot;);\n\t$tw.styleElement.innerHTML = $tw.styleContainer.textContent;\n\tdocument.head.insertBefore($tw.styleElement,document.head.firstChild);\n\t$tw.wiki.addEventListener(\&quot;change\&quot;,$tw.perf.report(\&quot;styleRefresh\&quot;,function(changes) {\n\t\tif($tw.styleWidgetNode.refresh(changes,$tw.styleContainer,null)) {\n\t\t\t$tw.styleElement.innerHTML = $tw.styleContainer.textContent;\n\t\t}\n\t}));\n\t// Display the $:/core/ui/PageTemplate tiddler to kick off the display\n\t$tw.perf.report(\&quot;mainRender\&quot;,function() {\n\t\t$tw.pageWidgetNode = $tw.wiki.makeTranscludeWidget(PAGE_TEMPLATE_TITLE,{document: document, parentWidget: $tw.rootWidget, recursionMarker: \&quot;no\&quot;});\n\t\t$tw.pageContainer = document.createElement(\&quot;div\&quot;);\n\t\t$tw.utils.addClass($tw.pageContainer,\&quot;tc-page-container-wrapper\&quot;);\n\t\tdocument.body.insertBefore($tw.pageContainer,document.body.firstChild);\n\t\t$tw.pageWidgetNode.render($tw.pageContainer,null);\n \t\t$tw.hooks.invokeHook(\&quot;th-page-refreshed\&quot;);\n\t})();\n\t// Remove any splash screen elements\n\tvar removeList = document.querySelectorAll(\&quot;.tc-remove-when-wiki-loaded\&quot;);\n\t$tw.utils.each(removeList,function(removeItem) {\n\t\tif(removeItem.parentNode) {\n\t\t\tremoveItem.parentNode.removeChild(removeItem);\n\t\t}\n\t});\n\t// Prepare refresh mechanism\n\tvar deferredChanges = Object.create(null),\n\t\ttimerId;\n\tfunction refresh() {\n\t\t// Process the refresh\n\t\t$tw.hooks.invokeHook(\&quot;th-page-refreshing\&quot;);\n\t\t$tw.pageWidgetNode.refresh(deferredChanges);\n\t\tdeferredChanges = Object.create(null);\n\t\t$tw.hooks.invokeHook(\&quot;th-page-refreshed\&quot;);\n\t}\n\t// Add the change event handler\n\t$tw.wiki.addEventListener(\&quot;change\&quot;,$tw.perf.report(\&quot;mainRefresh\&quot;,function(changes) {\n\t\t// Check if only tiddlers that are throttled have changed\n\t\tvar onlyThrottledTiddlersHaveChanged = true;\n\t\tfor(var title in changes) {\n\t\t\tvar tiddler = $tw.wiki.getTiddler(title);\n\t\t\tif(!tiddler || !(tiddler.hasField(\&quot;draft.of\&quot;) || tiddler.hasField(\&quot;throttle.refresh\&quot;))) {\n\t\t\t\tonlyThrottledTiddlersHaveChanged = false;\n\t\t\t}\n\t\t}\n\t\t// Defer the change if only drafts have chan
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;startup&quot;
},
&quot;$:/core/modules/startup/rootwidget.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/startup/rootwidget.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/startup/rootwidget.js\ntype: application/javascript\nmodule-type: startup\n\nSetup the root widget and the core root widget handlers\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n// Export name and synchronous status\nexports.name = \&quot;rootwidget\&quot;;\nexports.platforms = [\&quot;browser\&quot;];\nexports.after = [\&quot;startup\&quot;];\nexports.before = [\&quot;story\&quot;];\nexports.synchronous = true;\n\nexports.startup = function() {\n\t// Install the modal message mechanism\n\t$tw.modal = new $tw.utils.Modal($tw.wiki);\n\t$tw.rootWidget.addEventListener(\&quot;tm-modal\&quot;,function(event) {\n\t\t$tw.modal.display(event.param,{variables: event.paramObject, event: event});\n\t});\n\t$tw.rootWidget.addEventListener(\&quot;tm-show-switcher\&quot;,function(event) {\n\t\t$tw.modal.display(\&quot;$:/core/ui/SwitcherModal\&quot;,{variables: event.paramObject, event: event});\n\t});\t\n\t// Install the notification mechanism\n\t$tw.notifier = new $tw.utils.Notifier($tw.wiki);\n\t$tw.rootWidget.addEventListener(\&quot;tm-notify\&quot;,function(event) {\n\t\t$tw.notifier.display(event.param,{variables: event.paramObject});\n\t});\n\t// Install the copy-to-clipboard mechanism\n\t$tw.rootWidget.addEventListener(\&quot;tm-copy-to-clipboard\&quot;,function(event) {\n\t\t$tw.utils.copyToClipboard(event.param);\n\t});\n\t// Install the tm-focus-selector message\n\t$tw.rootWidget.addEventListener(\&quot;tm-focus-selector\&quot;,function(event) {\n\t\tvar selector = event.param || \&quot;\&quot;,\n\t\t\telement;\n\t\ttry {\n\t\t\telement = document.querySelector(selector);\n\t\t} catch(e) {\n\t\t\tconsole.log(\&quot;Error in selector: \&quot;,selector)\n\t\t}\n\t\tif(element &amp;&amp; element.focus) {\n\t\t\telement.focus(event.paramObject);\n\t\t}\n\t});\n\t// Install the scroller\n\t$tw.pageScroller = new $tw.utils.PageScroller();\n\t$tw.rootWidget.addEventListener(\&quot;tm-scroll\&quot;,function(event) {\n\t\t$tw.pageScroller.handleEvent(event);\n\t});\n\tvar fullscreen = $tw.utils.getFullScreenApis();\n\tif(fullscreen) {\n\t\t$tw.rootWidget.addEventListener(\&quot;tm-full-screen\&quot;,function(event) {\n\t\t\tvar fullScreenDocument = event.event ? event.event.target.ownerDocument : document;\n\t\t\tif(event.param === \&quot;enter\&quot;) {\n\t\t\t\tfullScreenDocument.documentElement[fullscreen._requestFullscreen](Element.ALLOW_KEYBOARD_INPUT);\n\t\t\t} else if(event.param === \&quot;exit\&quot;) {\n\t\t\t\tfullScreenDocument[fullscreen._exitFullscreen]();\n\t\t\t} else {\n\t\t\t\tif(fullScreenDocument[fullscreen._fullscreenElement]) {\n\t\t\t\t\tfullScreenDocument[fullscreen._exitFullscreen]();\n\t\t\t\t} else {\n\t\t\t\t\tfullScreenDocument.documentElement[fullscreen._requestFullscreen](Element.ALLOW_KEYBOARD_INPUT);\n\t\t\t\t}\t\t\t\t\n\t\t\t}\n\t\t});\n\t}\n\t// If we're being viewed on a data: URI then give instructions for how to save\n\tif(document.location.protocol === \&quot;data:\&quot;) {\n\t\t$tw.rootWidget.dispatchEvent({\n\t\t\ttype: \&quot;tm-modal\&quot;,\n\t\t\tparam: \&quot;$:/language/Modals/SaveInstructions\&quot;\n\t\t});\n\t}\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;startup&quot;
},
&quot;$:/core/modules/startup.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/startup.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/startup.js\ntype: application/javascript\nmodule-type: startup\n\nMiscellaneous startup logic for both the client and server.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n// Export name and synchronous status\nexports.name = \&quot;startup\&quot;;\nexports.after = [\&quot;load-modules\&quot;];\nexports.synchronous = true;\n\n// Set to `true` to enable performance instrumentation\nvar PERFORMANCE_INSTRUMENTATION_CONFIG_TITLE = \&quot;$:/config/Performance/Instrumentation\&quot;;\n\nvar widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;);\n\nexports.startup = function() {\n\tvar modules,n,m,f;\n\t// Minimal browser detection\n\tif($tw.browser) {\n\t\t$tw.browser.isIE = (/msie|trident/i.test(navigator.userAgent));\n\t\t$tw.browser.isFirefox = !!document.mozFullScreenEnabled;\n\t}\n\t// Platform detection\n\t$tw.platform = {};\n\tif($tw.browser) {\n\t\t$tw.platform.isMac = /Mac/.test(navigator.platform);\n\t\t$tw.platform.isWindows = /win/i.test(navigator.platform);\n\t\t$tw.platform.isLinux = /Linux/i.test(navigator.platform);\n\t} else {\n\t\tswitch(require(\&quot;os\&quot;).platform()) {\n\t\t\tcase \&quot;darwin\&quot;:\n\t\t\t\t$tw.platform.isMac = true;\n\t\t\t\tbreak;\n\t\t\tcase \&quot;win32\&quot;:\n\t\t\t\t$tw.platform.isWindows = true;\n\t\t\t\tbreak;\n\t\t\tcase \&quot;freebsd\&quot;:\n\t\t\t\t$tw.platform.isLinux = true;\n\t\t\t\tbreak;\n\t\t\tcase \&quot;linux\&quot;:\n\t\t\t\t$tw.platform.isLinux = true;\n\t\t\t\tbreak;\n\t\t}\n\t}\n\t// Initialise version\n\t$tw.version = $tw.utils.extractVersionInfo();\n\t// Set up the performance framework\n\t$tw.perf = new $tw.Performance($tw.wiki.getTiddlerText(PERFORMANCE_INSTRUMENTATION_CONFIG_TITLE,\&quot;no\&quot;) === \&quot;yes\&quot;);\n\t// Create a root widget for attaching event handlers. By using it as the parentWidget for another widget tree, one can reuse the event handlers\n\t$tw.rootWidget = new widget.widget({\n\t\ttype: \&quot;widget\&quot;,\n\t\tchildren: []\n\t},{\n\t\twiki: $tw.wiki,\n\t\tdocument: $tw.browser ? document : $tw.fakeDocument\n\t});\n\t// Execute any startup actions\n\t$tw.rootWidget.invokeActionsByTag(\&quot;$:/tags/StartupAction\&quot;);\n\tif($tw.browser) {\n\t\t$tw.rootWidget.invokeActionsByTag(\&quot;$:/tags/StartupAction/Browser\&quot;);\t\t\n\t}\n\tif($tw.node) {\n\t\t$tw.rootWidget.invokeActionsByTag(\&quot;$:/tags/StartupAction/Node\&quot;);\t\t\n\t}\n\t// Kick off the language manager and switcher\n\t$tw.language = new $tw.Language();\n\t$tw.languageSwitcher = new $tw.PluginSwitcher({\n\t\twiki: $tw.wiki,\n\t\tpluginType: \&quot;language\&quot;,\n\t\tcontrollerTitle: \&quot;$:/language\&quot;,\n\t\tdefaultPlugins: [\n\t\t\t\&quot;$:/languages/en-GB\&quot;\n\t\t],\n\t\tonSwitch: function(plugins) {\n\t\t\tif($tw.browser) {\n\t\t\t\tvar pluginTiddler = $tw.wiki.getTiddler(plugins[0]);\n\t\t\t\tif(pluginTiddler) {\n\t\t\t\t\tdocument.documentElement.setAttribute(\&quot;dir\&quot;,pluginTiddler.getFieldString(\&quot;text-direction\&quot;) || \&quot;auto\&quot;);\n\t\t\t\t} else {\n\t\t\t\t\tdocument.documentElement.removeAttribute(\&quot;dir\&quot;);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t});\n\t// Kick off the theme manager\n\t$tw.themeManager = new $tw.PluginSwitcher({\n\t\twiki: $tw.wiki,\n\t\tpluginType: \&quot;theme\&quot;,\n\t\tcontrollerTitle: \&quot;$:/theme\&quot;,\n\t\tdefaultPlugins: [\n\t\t\t\&quot;$:/themes/tiddlywiki/snowwhite\&quot;,\n\t\t\t\&quot;$:/themes/tiddlywiki/vanilla\&quot;\n\t\t]\n\t});\n\t// Kick off the keyboard manager\n\t$tw.keyboardManager = new $tw.KeyboardManager();\n\t// Listen for shortcuts\n\tif($tw.browser) {\n\t\t$tw.utils.addEventListeners(document,[{\n\t\t\tname: \&quot;keydown\&quot;,\n\t\t\thandlerObject: $tw.keyboardManager,\n\t\t\thandlerMethod: \&quot;handleKeydownEvent\&quot;\n\t\t}]);\n\t}\n\t// Clear outstanding tiddler store change events to avoid an unnecessary refresh cycle at startup\n\t$tw.wiki.clearTiddlerEventQueue();\n\t// Find a working
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;startup&quot;
},
&quot;$:/core/modules/startup/story.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/startup/story.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/startup/story.js\ntype: application/javascript\nmodule-type: startup\n\nLoad core modules\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n// Export name and synchronous status\nexports.name = \&quot;story\&quot;;\nexports.after = [\&quot;startup\&quot;];\nexports.synchronous = true;\n\n// Default story and history lists\nvar DEFAULT_STORY_TITLE = \&quot;$:/StoryList\&quot;;\nvar DEFAULT_HISTORY_TITLE = \&quot;$:/HistoryList\&quot;;\n\n// Default tiddlers\nvar DEFAULT_TIDDLERS_TITLE = \&quot;$:/DefaultTiddlers\&quot;;\n\n// Config\nvar CONFIG_UPDATE_ADDRESS_BAR = \&quot;$:/config/Navigation/UpdateAddressBar\&quot;; // Can be \&quot;no\&quot;, \&quot;permalink\&quot;, \&quot;permaview\&quot;\nvar CONFIG_UPDATE_HISTORY = \&quot;$:/config/Navigation/UpdateHistory\&quot;; // Can be \&quot;yes\&quot; or \&quot;no\&quot;\nvar CONFIG_PERMALINKVIEW_COPY_TO_CLIPBOARD = \&quot;$:/config/Navigation/Permalinkview/CopyToClipboard\&quot;; // Can be \&quot;yes\&quot; (default) or \&quot;no\&quot;\nvar CONFIG_PERMALINKVIEW_UPDATE_ADDRESS_BAR = \&quot;$:/config/Navigation/Permalinkview/UpdateAddressBar\&quot;; // Can be \&quot;yes\&quot; (default) or \&quot;no\&quot;\n\n\n// Links to help, if there is no param\nvar HELP_OPEN_EXTERNAL_WINDOW = \&quot;http://tiddlywiki.com/#WidgetMessage%3A%20tm-open-external-window\&quot;;\n\nexports.startup = function() {\n\t// Open startup tiddlers\n\topenStartupTiddlers({\n\t\tdisableHistory: $tw.boot.disableStartupNavigation\n\t});\n\tif($tw.browser) {\n\t\t// Set up location hash update\n\t\t$tw.wiki.addEventListener(\&quot;change\&quot;,function(changes) {\n\t\t\tif($tw.utils.hop(changes,DEFAULT_STORY_TITLE) || $tw.utils.hop(changes,DEFAULT_HISTORY_TITLE)) {\n\t\t\t\tupdateLocationHash({\n\t\t\t\t\tupdateAddressBar: $tw.wiki.getTiddlerText(CONFIG_UPDATE_ADDRESS_BAR,\&quot;permaview\&quot;).trim(),\n\t\t\t\t\tupdateHistory: $tw.wiki.getTiddlerText(CONFIG_UPDATE_HISTORY,\&quot;no\&quot;).trim()\n\t\t\t\t});\n\t\t\t}\n\t\t});\n\t\t// Listen for changes to the browser location hash\n\t\twindow.addEventListener(\&quot;hashchange\&quot;,function() {\n\t\t\tvar hash = $tw.utils.getLocationHash();\n\t\t\tif(hash !== $tw.locationHash) {\n\t\t\t\t$tw.locationHash = hash;\n\t\t\t\topenStartupTiddlers({defaultToCurrentStory: true});\n\t\t\t}\n\t\t},false);\n\t\t// Listen for the tm-browser-refresh message\n\t\t$tw.rootWidget.addEventListener(\&quot;tm-browser-refresh\&quot;,function(event) {\n\t\t\twindow.location.reload(true);\n\t\t});\n\t\t// Listen for tm-open-external-window message\n\t\t$tw.rootWidget.addEventListener(\&quot;tm-open-external-window\&quot;,function(event) {\n\t\t\tvar paramObject = event.paramObject || {},\n\t\t\t\tstrUrl = event.param || HELP_OPEN_EXTERNAL_WINDOW,\n\t\t\t\tstrWindowName = paramObject.windowName,\n\t\t\t\tstrWindowFeatures = paramObject.windowFeatures;\n\t\t\twindow.open(strUrl, strWindowName, strWindowFeatures);\n\t\t});\n\t\t// Listen for the tm-print message\n\t\t$tw.rootWidget.addEventListener(\&quot;tm-print\&quot;,function(event) {\n\t\t\t(event.event.view || window).print();\n\t\t});\n\t\t// Listen for the tm-home message\n\t\t$tw.rootWidget.addEventListener(\&quot;tm-home\&quot;,function(event) {\n\t\t\twindow.location.hash = \&quot;\&quot;;\n\t\t\tvar storyFilter = $tw.wiki.getTiddlerText(DEFAULT_TIDDLERS_TITLE),\n\t\t\t\tstoryList = $tw.wiki.filterTiddlers(storyFilter);\n\t\t\t//invoke any hooks that might change the default story list\n\t\t\tstoryList = $tw.hooks.invokeHook(\&quot;th-opening-default-tiddlers-list\&quot;,storyList);\n\t\t\t$tw.wiki.addTiddler({title: DEFAULT_STORY_TITLE, text: \&quot;\&quot;, list: storyList},$tw.wiki.getModificationFields());\n\t\t\tif(storyList[0]) {\n\t\t\t\t$tw.wiki.addToHistory(storyList[0]);\n\t\t\t}\n\t\t});\n\t\t// Listen for the tm-permalink message\n\t\t$tw.rootWidget.addEventListener(\&quot;tm-permalink\&quot;,function(event) {\n\t\t\tupdateLocationHash({\n\t\t\t\tupdateAddressBar: $tw.wi
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;startup&quot;
},
&quot;$:/core/modules/startup/windows.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/startup/windows.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/startup/windows.js\ntype: application/javascript\nmodule-type: startup\n\nSetup root widget handlers for the messages concerned with opening external browser windows\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n// Export name and synchronous status\nexports.name = \&quot;windows\&quot;;\nexports.platforms = [\&quot;browser\&quot;];\nexports.after = [\&quot;startup\&quot;];\nexports.synchronous = true;\n\n// Global to keep track of open windows (hashmap by title)\n$tw.windows = {};\n\nexports.startup = function() {\n\t// Handle open window message\n\t$tw.rootWidget.addEventListener(\&quot;tm-open-window\&quot;,function(event) {\n\t\t// Get the parameters\n\t\tvar refreshHandler,\n\t\t\ttitle = event.param || event.tiddlerTitle,\n\t\t\tparamObject = event.paramObject || {},\n\t\t\twindowTitle = paramObject.windowTitle || title,\n\t\t\ttemplate = paramObject.template || \&quot;$:/core/templates/single.tiddler.window\&quot;,\n\t\t\twidth = paramObject.width || \&quot;700\&quot;,\n\t\t\theight = paramObject.height || \&quot;600\&quot;,\n\t\t\tvariables = $tw.utils.extend({},paramObject,{currentTiddler: title});\n\t\t// Open the window\n\t\tvar srcWindow,\n\t\t srcDocument;\n\t\t// In case that popup blockers deny opening a new window\n\t\ttry {\n\t\t\tsrcWindow = window.open(\&quot;\&quot;,\&quot;external-\&quot; + title,\&quot;scrollbars,width=\&quot; + width + \&quot;,height=\&quot; + height),\n\t\t\tsrcDocument = srcWindow.document;\n\t\t}\n\t\tcatch(e) {\n\t\t\treturn;\n\t\t}\n\t\t$tw.windows[title] = srcWindow;\n\t\t// Check for reopening the same window\n\t\tif(srcWindow.haveInitialisedWindow) {\n\t\t\treturn;\n\t\t}\n\t\t// Initialise the document\n\t\tsrcDocument.write(\&quot;&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body class='tc-body tc-single-tiddler-window'&gt;&lt;/body&gt;&lt;/html&gt;\&quot;);\n\t\tsrcDocument.close();\n\t\tsrcDocument.title = windowTitle;\n\t\tsrcWindow.addEventListener(\&quot;beforeunload\&quot;,function(event) {\n\t\t\tdelete $tw.windows[title];\n\t\t\t$tw.wiki.removeEventListener(\&quot;change\&quot;,refreshHandler);\n\t\t},false);\n\t\t// Set up the styles\n\t\tvar styleWidgetNode = $tw.wiki.makeTranscludeWidget(\&quot;$:/core/ui/PageStylesheet\&quot;,{\n\t\t\t\tdocument: $tw.fakeDocument,\n\t\t\t\tvariables: variables,\n\t\t\t\timportPageMacros: true}),\n\t\t\tstyleContainer = $tw.fakeDocument.createElement(\&quot;style\&quot;);\n\t\tstyleWidgetNode.render(styleContainer,null);\n\t\tvar styleElement = srcDocument.createElement(\&quot;style\&quot;);\n\t\tstyleElement.innerHTML = styleContainer.textContent;\n\t\tsrcDocument.head.insertBefore(styleElement,srcDocument.head.firstChild);\n\t\t// Render the text of the tiddler\n\t\tvar parser = $tw.wiki.parseTiddler(template),\n\t\t\twidgetNode = $tw.wiki.makeWidget(parser,{document: srcDocument, parentWidget: $tw.rootWidget, variables: variables});\n\t\twidgetNode.render(srcDocument.body,srcDocument.body.firstChild);\n\t\t// Function to handle refreshes\n\t\trefreshHandler = function(changes) {\n\t\t\tif(styleWidgetNode.refresh(changes,styleContainer,null)) {\n\t\t\t\tstyleElement.innerHTML = styleContainer.textContent;\n\t\t\t}\n\t\t\twidgetNode.refresh(changes);\n\t\t};\n\t\t$tw.wiki.addEventListener(\&quot;change\&quot;,refreshHandler);\n\t\t// Listen for keyboard shortcuts\n\t\t$tw.utils.addEventListeners(srcDocument,[{\n\t\t\tname: \&quot;keydown\&quot;,\n\t\t\thandlerObject: $tw.keyboardManager,\n\t\t\thandlerMethod: \&quot;handleKeydownEvent\&quot;\n\t\t}]);\n\t\tsrcWindow.document.documentElement.addEventListener(\&quot;click\&quot;,$tw.popup,true);\n\t\tsrcWindow.haveInitialisedWindow = true;\n\t});\n\t// Close open windows when unloading main window\n\t$tw.addUnloadTask(function() {\n\t\t$tw.utils.each($tw.windows,function(win) {\n\t\t\twin.close();\n\t\t});\n\t});\n\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;startup&quot;
},
&quot;$:/core/modules/story.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/story.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/story.js\ntype: application/javascript\nmodule-type: global\n\nLightweight object for managing interactions with the story and history lists.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nConstruct Story object with options:\nwiki: reference to wiki object to use to resolve tiddler titles\nstoryTitle: title of story list tiddler\nhistoryTitle: title of history list tiddler\n*/\nfunction Story(options) {\n\toptions = options || {};\n\tthis.wiki = options.wiki || $tw.wiki;\n\tthis.storyTitle = options.storyTitle || \&quot;$:/StoryList\&quot;;\n\tthis.historyTitle = options.historyTitle || \&quot;$:/HistoryList\&quot;;\n};\n\nStory.prototype.navigateTiddler = function(navigateTo,navigateFromTitle,navigateFromClientRect) {\n\tthis.addToStory(navigateTo,navigateFromTitle);\n\tthis.addToHistory(navigateTo,navigateFromClientRect);\n};\n\nStory.prototype.getStoryList = function() {\n\treturn this.wiki.getTiddlerList(this.storyTitle) || [];\n};\n\nStory.prototype.addToStory = function(navigateTo,navigateFromTitle,options) {\n\toptions = options || {};\n\tvar storyList = this.getStoryList();\n\t// See if the tiddler is already there\n\tvar slot = storyList.indexOf(navigateTo);\n\t// Quit if it already exists in the story river\n\tif(slot &gt;= 0) {\n\t\treturn;\n\t}\n\t// First we try to find the position of the story element we navigated from\n\tvar fromIndex = storyList.indexOf(navigateFromTitle);\n\tif(fromIndex &gt;= 0) {\n\t\t// The tiddler is added from inside the river\n\t\t// Determine where to insert the tiddler; Fallback is \&quot;below\&quot;\n\t\tswitch(options.openLinkFromInsideRiver) {\n\t\t\tcase \&quot;top\&quot;:\n\t\t\t\tslot = 0;\n\t\t\t\tbreak;\n\t\t\tcase \&quot;bottom\&quot;:\n\t\t\t\tslot = storyList.length;\n\t\t\t\tbreak;\n\t\t\tcase \&quot;above\&quot;:\n\t\t\t\tslot = fromIndex;\n\t\t\t\tbreak;\n\t\t\tcase \&quot;below\&quot;: // Intentional fall-through\n\t\t\tdefault:\n\t\t\t\tslot = fromIndex + 1;\n\t\t\t\tbreak;\n\t\t}\n\t} else {\n\t\t// The tiddler is opened from outside the river. Determine where to insert the tiddler; default is \&quot;top\&quot;\n\t\tif(options.openLinkFromOutsideRiver === \&quot;bottom\&quot;) {\n\t\t\t// Insert at bottom\n\t\t\tslot = storyList.length;\n\t\t} else {\n\t\t\t// Insert at top\n\t\t\tslot = 0;\n\t\t}\n\t}\n\t// Add the tiddler\n\tstoryList.splice(slot,0,navigateTo);\n\t// Save the story\n\tthis.saveStoryList(storyList);\n};\n\nStory.prototype.saveStoryList = function(storyList) {\n\tvar storyTiddler = this.wiki.getTiddler(this.storyTitle);\n\tthis.wiki.addTiddler(new $tw.Tiddler(\n\t\tthis.wiki.getCreationFields(),\n\t\t{title: this.storyTitle},\n\t\tstoryTiddler,\n\t\t{list: storyList},\n\t\tthis.wiki.getModificationFields()\n\t));\n};\n\nStory.prototype.addToHistory = function(navigateTo,navigateFromClientRect) {\n\tvar titles = $tw.utils.isArray(navigateTo) ? navigateTo : [navigateTo];\n\t// Add a new record to the top of the history stack\n\tvar historyList = this.wiki.getTiddlerData(this.historyTitle,[]);\n\t$tw.utils.each(titles,function(title) {\n\t\thistoryList.push({title: title, fromPageRect: navigateFromClientRect});\n\t});\n\tthis.wiki.setTiddlerData(this.historyTitle,historyList,{\&quot;current-tiddler\&quot;: titles[titles.length-1]});\n};\n\nStory.prototype.storyCloseTiddler = function(targetTitle) {\n// TBD\n};\n\nStory.prototype.storyCloseAllTiddlers = function() {\n// TBD\n};\n\nStory.prototype.storyCloseOtherTiddlers = function(targetTitle) {\n// TBD\n};\n\nStory.prototype.storyEditTiddler = function(targetTitle) {\n// TBD\n};\n\nStory.prototype.storyDeleteTiddler = function(targetTitle) {\n// TBD\n};\n\nStory.prototype.storySaveTiddler = function(targetTitle) {\n// TBD\n};\n\nStory.prototype.storyCancelTiddler = function(targetTitle) {\n// TBD\n};\n\nStory.prototype.storyNewTiddler = function(targetTitle) {\n// TBD\n};\n\nexports.Story = Story;\n\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;global&quot;
},
&quot;$:/core/modules/storyviews/classic.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/storyviews/classic.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/storyviews/classic.js\ntype: application/javascript\nmodule-type: storyview\n\nViews the story as a linear sequence\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar easing = \&quot;cubic-bezier(0.645, 0.045, 0.355, 1)\&quot;; // From http://easings.net/#easeInOutCubic\n\nvar ClassicStoryView = function(listWidget) {\n\tthis.listWidget = listWidget;\n};\n\nClassicStoryView.prototype.navigateTo = function(historyInfo) {\n\tvar duration = $tw.utils.getAnimationDuration()\n\tvar listElementIndex = this.listWidget.findListItem(0,historyInfo.title);\n\tif(listElementIndex === undefined) {\n\t\treturn;\n\t}\n\tvar listItemWidget = this.listWidget.children[listElementIndex],\n\t\ttargetElement = listItemWidget.findFirstDomNode();\n\t// Abandon if the list entry isn't a DOM element (it might be a text node)\n\tif(!(targetElement instanceof Element)) {\n\t\treturn;\n\t}\n\tif(duration) {\n\t\t// Scroll the node into view\n\t\tthis.listWidget.dispatchEvent({type: \&quot;tm-scroll\&quot;, target: targetElement});\t\n\t} else {\n\t\ttargetElement.scrollIntoView();\n\t}\n};\n\nClassicStoryView.prototype.insert = function(widget) {\n\tvar duration = $tw.utils.getAnimationDuration();\n\tif(duration) {\n\t\tvar targetElement = widget.findFirstDomNode();\n\t\t// Abandon if the list entry isn't a DOM element (it might be a text node)\n\t\tif(!(targetElement instanceof Element)) {\n\t\t\treturn;\n\t\t}\n\t\t// Get the current height of the tiddler\n\t\tvar computedStyle = window.getComputedStyle(targetElement),\n\t\t\tcurrMarginBottom = parseInt(computedStyle.marginBottom,10),\n\t\t\tcurrMarginTop = parseInt(computedStyle.marginTop,10),\n\t\t\tcurrHeight = targetElement.offsetHeight + currMarginTop;\n\t\t// Reset the margin once the transition is over\n\t\tsetTimeout(function() {\n\t\t\t$tw.utils.setStyle(targetElement,[\n\t\t\t\t{transition: \&quot;none\&quot;},\n\t\t\t\t{marginBottom: \&quot;\&quot;}\n\t\t\t]);\n\t\t},duration);\n\t\t// Set up the initial position of the element\n\t\t$tw.utils.setStyle(targetElement,[\n\t\t\t{transition: \&quot;none\&quot;},\n\t\t\t{marginBottom: (-currHeight) + \&quot;px\&quot;},\n\t\t\t{opacity: \&quot;0.0\&quot;}\n\t\t]);\n\t\t$tw.utils.forceLayout(targetElement);\n\t\t// Transition to the final position\n\t\t$tw.utils.setStyle(targetElement,[\n\t\t\t{transition: \&quot;opacity \&quot; + duration + \&quot;ms \&quot; + easing + \&quot;, \&quot; +\n\t\t\t\t\t\t\&quot;margin-bottom \&quot; + duration + \&quot;ms \&quot; + easing},\n\t\t\t{marginBottom: currMarginBottom + \&quot;px\&quot;},\n\t\t\t{opacity: \&quot;1.0\&quot;}\n\t]);\n\t}\n};\n\nClassicStoryView.prototype.remove = function(widget) {\n\tvar duration = $tw.utils.getAnimationDuration();\n\tif(duration) {\n\t\tvar targetElement = widget.findFirstDomNode(),\n\t\t\tremoveElement = function() {\n\t\t\t\twidget.removeChildDomNodes();\n\t\t\t};\n\t\t// Abandon if the list entry isn't a DOM element (it might be a text node)\n\t\tif(!(targetElement instanceof Element)) {\n\t\t\tremoveElement();\n\t\t\treturn;\n\t\t}\n\t\t// Get the current height of the tiddler\n\t\tvar currWidth = targetElement.offsetWidth,\n\t\t\tcomputedStyle = window.getComputedStyle(targetElement),\n\t\t\tcurrMarginBottom = parseInt(computedStyle.marginBottom,10),\n\t\t\tcurrMarginTop = parseInt(computedStyle.marginTop,10),\n\t\t\tcurrHeight = targetElement.offsetHeight + currMarginTop;\n\t\t// Remove the dom nodes of the widget at the end of the transition\n\t\tsetTimeout(removeElement,duration);\n\t\t// Animate the closure\n\t\t$tw.utils.setStyle(targetElement,[\n\t\t\t{transition: \&quot;none\&quot;},\n\t\t\t{transform: \&quot;translateX(0px)\&quot;},\n\t\t\t{marginBottom: currMarginBottom + \&quot;px\&quot;},\n\t\t\t{opacity: \&quot;1.0\&quot;}\n\t\t]);\n\t\t$tw.utils.forceLayout(targetElement);\n\t\t$tw.utils.setStyle(targetElement,[\n\t\t\t{transition: $tw.utils.roundTripPropertyName(\&quot;transform\&quot;) + \&quot; \&quot; + duration
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;storyview&quot;
},
&quot;$:/core/modules/storyviews/pop.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/storyviews/pop.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/storyviews/pop.js\ntype: application/javascript\nmodule-type: storyview\n\nAnimates list insertions and removals\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar PopStoryView = function(listWidget) {\n\tthis.listWidget = listWidget;\n};\n\nPopStoryView.prototype.navigateTo = function(historyInfo) {\n\tvar listElementIndex = this.listWidget.findListItem(0,historyInfo.title);\n\tif(listElementIndex === undefined) {\n\t\treturn;\n\t}\n\tvar listItemWidget = this.listWidget.children[listElementIndex],\n\t\ttargetElement = listItemWidget.findFirstDomNode();\n\t// Abandon if the list entry isn't a DOM element (it might be a text node)\n\tif(!(targetElement instanceof Element)) {\n\t\treturn;\n\t}\n\t// Scroll the node into view\n\tthis.listWidget.dispatchEvent({type: \&quot;tm-scroll\&quot;, target: targetElement});\n};\n\nPopStoryView.prototype.insert = function(widget) {\n\tvar targetElement = widget.findFirstDomNode(),\n\t\tduration = $tw.utils.getAnimationDuration();\n\t// Abandon if the list entry isn't a DOM element (it might be a text node)\n\tif(!(targetElement instanceof Element)) {\n\t\treturn;\n\t}\n\t// Reset once the transition is over\n\tsetTimeout(function() {\n\t\t$tw.utils.setStyle(targetElement,[\n\t\t\t{transition: \&quot;none\&quot;},\n\t\t\t{transform: \&quot;none\&quot;}\n\t\t]);\n\t\t$tw.utils.setStyle(widget.document.body,[\n\t\t\t{\&quot;overflow-x\&quot;: \&quot;\&quot;}\n\t\t]);\n\t},duration);\n\t// Prevent the page from overscrolling due to the zoom factor\n\t$tw.utils.setStyle(widget.document.body,[\n\t\t{\&quot;overflow-x\&quot;: \&quot;hidden\&quot;}\n\t]);\n\t// Set up the initial position of the element\n\t$tw.utils.setStyle(targetElement,[\n\t\t{transition: \&quot;none\&quot;},\n\t\t{transform: \&quot;scale(2)\&quot;},\n\t\t{opacity: \&quot;0.0\&quot;}\n\t]);\n\t$tw.utils.forceLayout(targetElement);\n\t// Transition to the final position\n\t$tw.utils.setStyle(targetElement,[\n\t\t{transition: $tw.utils.roundTripPropertyName(\&quot;transform\&quot;) + \&quot; \&quot; + duration + \&quot;ms ease-in-out, \&quot; +\n\t\t\t\t\t\&quot;opacity \&quot; + duration + \&quot;ms ease-in-out\&quot;},\n\t\t{transform: \&quot;scale(1)\&quot;},\n\t\t{opacity: \&quot;1.0\&quot;}\n\t]);\n};\n\nPopStoryView.prototype.remove = function(widget) {\n\tvar targetElement = widget.findFirstDomNode(),\n\t\tduration = $tw.utils.getAnimationDuration(),\n\t\tremoveElement = function() {\n\t\t\tif(targetElement &amp;&amp; targetElement.parentNode) {\n\t\t\t\twidget.removeChildDomNodes();\n\t\t\t}\n\t\t};\n\t// Abandon if the list entry isn't a DOM element (it might be a text node)\n\tif(!(targetElement instanceof Element)) {\n\t\tremoveElement();\n\t\treturn;\n\t}\n\t// Remove the element at the end of the transition\n\tsetTimeout(removeElement,duration);\n\t// Animate the closure\n\t$tw.utils.setStyle(targetElement,[\n\t\t{transition: \&quot;none\&quot;},\n\t\t{transform: \&quot;scale(1)\&quot;},\n\t\t{opacity: \&quot;1.0\&quot;}\n\t]);\n\t$tw.utils.forceLayout(targetElement);\n\t$tw.utils.setStyle(targetElement,[\n\t\t{transition: $tw.utils.roundTripPropertyName(\&quot;transform\&quot;) + \&quot; \&quot; + duration + \&quot;ms ease-in-out, \&quot; +\n\t\t\t\t\t\&quot;opacity \&quot; + duration + \&quot;ms ease-in-out\&quot;},\n\t\t{transform: \&quot;scale(0.1)\&quot;},\n\t\t{opacity: \&quot;0.0\&quot;}\n\t]);\n};\n\nexports.pop = PopStoryView;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;storyview&quot;
},
&quot;$:/core/modules/storyviews/zoomin.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/storyviews/zoomin.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/storyviews/zoomin.js\ntype: application/javascript\nmodule-type: storyview\n\nZooms between individual tiddlers\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar easing = \&quot;cubic-bezier(0.645, 0.045, 0.355, 1)\&quot;; // From http://easings.net/#easeInOutCubic\n\nvar ZoominListView = function(listWidget) {\n\tvar self = this;\n\tthis.listWidget = listWidget;\n\t// Get the index of the tiddler that is at the top of the history\n\tvar history = this.listWidget.wiki.getTiddlerDataCached(this.listWidget.historyTitle,[]),\n\t\ttargetTiddler;\n\tif(history.length &gt; 0) {\n\t\ttargetTiddler = history[history.length-1].title;\n\t}\n\t// Make all the tiddlers position absolute, and hide all but the top (or first) one\n\t$tw.utils.each(this.listWidget.children,function(itemWidget,index) {\n\t\tvar domNode = itemWidget.findFirstDomNode();\n\t\t// Abandon if the list entry isn't a DOM element (it might be a text node)\n\t\tif(!(domNode instanceof Element)) {\n\t\t\treturn;\n\t\t}\n\t\tif((targetTiddler &amp;&amp; targetTiddler !== itemWidget.parseTreeNode.itemTitle) || (!targetTiddler &amp;&amp; index)) {\n\t\t\tdomNode.style.display = \&quot;none\&quot;;\n\t\t} else {\n\t\t\tself.currentTiddlerDomNode = domNode;\n\t\t}\n\t\t$tw.utils.addClass(domNode,\&quot;tc-storyview-zoomin-tiddler\&quot;);\n\t});\n};\n\nZoominListView.prototype.navigateTo = function(historyInfo) {\n\tvar duration = $tw.utils.getAnimationDuration(),\n\t\tlistElementIndex = this.listWidget.findListItem(0,historyInfo.title);\n\tif(listElementIndex === undefined) {\n\t\treturn;\n\t}\n\tvar listItemWidget = this.listWidget.children[listElementIndex],\n\t\ttargetElement = listItemWidget.findFirstDomNode();\n\t// Abandon if the list entry isn't a DOM element (it might be a text node)\n\tif(!(targetElement instanceof Element)) {\n\t\treturn;\n\t}\n\t// Make the new tiddler be position absolute and visible so that we can measure it\n\t$tw.utils.addClass(targetElement,\&quot;tc-storyview-zoomin-tiddler\&quot;);\n\t$tw.utils.setStyle(targetElement,[\n\t\t{display: \&quot;block\&quot;},\n\t\t{transformOrigin: \&quot;0 0\&quot;},\n\t\t{transform: \&quot;translateX(0px) translateY(0px) scale(1)\&quot;},\n\t\t{transition: \&quot;none\&quot;},\n\t\t{opacity: \&quot;0.0\&quot;}\n\t]);\n\t// Get the position of the source node, or use the centre of the window as the source position\n\tvar sourceBounds = historyInfo.fromPageRect || {\n\t\t\tleft: window.innerWidth/2 - 2,\n\t\t\ttop: window.innerHeight/2 - 2,\n\t\t\twidth: window.innerWidth/8,\n\t\t\theight: window.innerHeight/8\n\t\t};\n\t// Try to find the title node in the target tiddler\n\tvar titleDomNode = findTitleDomNode(listItemWidget) || listItemWidget.findFirstDomNode(),\n\t\tzoomBounds = titleDomNode.getBoundingClientRect();\n\t// Compute the transform for the target tiddler to make the title lie over the source rectange\n\tvar targetBounds = targetElement.getBoundingClientRect(),\n\t\tscale = sourceBounds.width / zoomBounds.width,\n\t\tx = sourceBounds.left - targetBounds.left - (zoomBounds.left - targetBounds.left) * scale,\n\t\ty = sourceBounds.top - targetBounds.top - (zoomBounds.top - targetBounds.top) * scale;\n\t// Transform the target tiddler to its starting position\n\t$tw.utils.setStyle(targetElement,[\n\t\t{transform: \&quot;translateX(\&quot; + x + \&quot;px) translateY(\&quot; + y + \&quot;px) scale(\&quot; + scale + \&quot;)\&quot;}\n\t]);\n\t// Force layout\n\t$tw.utils.forceLayout(targetElement);\n\t// Apply the ending transitions with a timeout to ensure that the previously applied transformations are applied first\n\tvar self = this,\n\t\tprevCurrentTiddler = this.currentTiddlerDomNode;\n\tthis.currentTiddlerDomNode = targetElement;\n\t// Transform the target tiddler to its natural size\n\t$tw.utils.setStyle(targetElement,[\n\t\t{transition: $tw.utils.roundTripPropertyName(\&quot;transform\&quot;) + \&quot; \&quot; + duration + \&quot;ms \&quot; + easing + \&q
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;storyview&quot;
},
&quot;$:/core/modules/syncer.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/syncer.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/syncer.js\ntype: application/javascript\nmodule-type: global\n\nThe syncer tracks changes to the store and synchronises them to a remote data store represented as a \&quot;sync adaptor\&quot;\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nDefaults\n*/\nSyncer.prototype.titleIsLoggedIn = \&quot;$:/status/IsLoggedIn\&quot;;\nSyncer.prototype.titleIsAnonymous = \&quot;$:/status/IsAnonymous\&quot;;\nSyncer.prototype.titleIsReadOnly = \&quot;$:/status/IsReadOnly\&quot;;\nSyncer.prototype.titleUserName = \&quot;$:/status/UserName\&quot;;\nSyncer.prototype.titleSyncFilter = \&quot;$:/config/SyncFilter\&quot;;\nSyncer.prototype.titleSyncPollingInterval = \&quot;$:/config/SyncPollingInterval\&quot;;\nSyncer.prototype.titleSyncDisableLazyLoading = \&quot;$:/config/SyncDisableLazyLoading\&quot;;\nSyncer.prototype.titleSavedNotification = \&quot;$:/language/Notifications/Save/Done\&quot;;\nSyncer.prototype.titleSyncThrottleInterval = \&quot;$:/config/SyncThrottleInterval\&quot;;\nSyncer.prototype.taskTimerInterval = 1 * 1000; // Interval for sync timer\nSyncer.prototype.throttleInterval = 1 * 1000; // Defer saving tiddlers if they've changed in the last 1s...\nSyncer.prototype.errorRetryInterval = 5 * 1000; // Interval to retry after an error\nSyncer.prototype.fallbackInterval = 10 * 1000; // Unless the task is older than 10s\nSyncer.prototype.pollTimerInterval = 60 * 1000; // Interval for polling for changes from the adaptor\n\n/*\nInstantiate the syncer with the following options:\nsyncadaptor: reference to syncadaptor to be used\nwiki: wiki to be synced\n*/\nfunction Syncer(options) {\n\tvar self = this;\n\tthis.wiki = options.wiki;\n\t// Save parameters\n\tthis.syncadaptor = options.syncadaptor;\n\tthis.disableUI = !!options.disableUI;\n\tthis.titleIsLoggedIn = options.titleIsLoggedIn || this.titleIsLoggedIn;\n\tthis.titleUserName = options.titleUserName || this.titleUserName;\n\tthis.titleSyncFilter = options.titleSyncFilter || this.titleSyncFilter;\n\tthis.titleSavedNotification = options.titleSavedNotification || this.titleSavedNotification;\n\tthis.taskTimerInterval = options.taskTimerInterval || this.taskTimerInterval;\n\tthis.throttleInterval = options.throttleInterval || parseInt(this.wiki.getTiddlerText(this.titleSyncThrottleInterval,\&quot;\&quot;),10) || this.throttleInterval;\n\tthis.errorRetryInterval = options.errorRetryInterval || this.errorRetryInterval;\n\tthis.fallbackInterval = options.fallbackInterval || this.fallbackInterval;\n\tthis.pollTimerInterval = options.pollTimerInterval || parseInt(this.wiki.getTiddlerText(this.titleSyncPollingInterval,\&quot;\&quot;),10) || this.pollTimerInterval;\n\tthis.logging = \&quot;logging\&quot; in options ? options.logging : true;\n\t// Make a logger\n\tthis.logger = new $tw.utils.Logger(\&quot;syncer\&quot; + ($tw.browser ? \&quot;-browser\&quot; : \&quot;\&quot;) + ($tw.node ? \&quot;-server\&quot; : \&quot;\&quot;) + (this.syncadaptor.name ? (\&quot;-\&quot; + this.syncadaptor.name) : \&quot;\&quot;),{\n\t\tcolour: \&quot;cyan\&quot;,\n\t\tenable: this.logging,\n\t\tsaveHistory: true\n\t});\n\t// Make another logger for connection errors\n\tthis.loggerConnection = new $tw.utils.Logger(\&quot;syncer\&quot; + ($tw.browser ? \&quot;-browser\&quot; : \&quot;\&quot;) + ($tw.node ? \&quot;-server\&quot; : \&quot;\&quot;) + (this.syncadaptor.name ? (\&quot;-\&quot; + this.syncadaptor.name) : \&quot;\&quot;) + \&quot;-connection\&quot;,{\n\t\tcolour: \&quot;cyan\&quot;,\n\t\tenable: this.logging\n\t});\n\t// Ask the syncadaptor to use the main logger\n\tif(this.syncadaptor.setLoggerSaveBuffer) {\n\t\tthis.syncadaptor.setLoggerSaveBuffer(this.logger);\n\t}\n\t// Compile the dirty tiddler filter\n\tthis.filterFn = this.wiki.compileFilter(this.wiki.getTiddlerText(this.titleSyncFilter));\n\t// Record information for known tiddlers\n\tthis.readTiddlerInfo();\n\tthis.titlesToBeLoaded = {}; // Hashmap of titles of tiddlers that need loading from
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;global&quot;
},
&quot;$:/core/modules/tiddler.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/tiddler.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/tiddler.js\ntype: application/javascript\nmodule-type: tiddlermethod\n\nExtension methods for the $tw.Tiddler object (constructor and methods required at boot time are in boot/boot.js)\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.hasTag = function(tag) {\n\treturn this.fields.tags &amp;&amp; this.fields.tags.indexOf(tag) !== -1;\n};\n\nexports.isPlugin = function() {\n\treturn this.fields.type === \&quot;application/json\&quot; &amp;&amp; this.hasField(\&quot;plugin-type\&quot;);\n};\n\nexports.isDraft = function() {\n\treturn this.hasField(\&quot;draft.of\&quot;);\n};\n\nexports.getFieldString = function(field) {\n\tvar value = this.fields[field];\n\t// Check for a missing field\n\tif(value === undefined || value === null) {\n\t\treturn \&quot;\&quot;;\n\t}\n\t// Parse the field with the associated module (if any)\n\tvar fieldModule = $tw.Tiddler.fieldModules[field];\n\tif(fieldModule &amp;&amp; fieldModule.stringify) {\n\t\treturn fieldModule.stringify.call(this,value);\n\t} else {\n\t\treturn value.toString();\n\t}\n};\n\n/*\nGet the value of a field as a list\n*/\nexports.getFieldList = function(field) {\n\tvar value = this.fields[field];\n\t// Check for a missing field\n\tif(value === undefined || value === null) {\n\t\treturn [];\n\t}\n\treturn $tw.utils.parseStringArray(value);\n};\n\n/*\nGet all the fields as a hashmap of strings. Options:\n\texclude: an array of field names to exclude\n*/\nexports.getFieldStrings = function(options) {\n\toptions = options || {};\n\tvar exclude = options.exclude || [];\n\tvar fields = {};\n\tfor(var field in this.fields) {\n\t\tif($tw.utils.hop(this.fields,field)) {\n\t\t\tif(exclude.indexOf(field) === -1) {\n\t\t\t\tfields[field] = this.getFieldString(field);\n\t\t\t}\n\t\t}\n\t}\n\treturn fields;\n};\n\n/*\nGet all the fields as a name:value block. Options:\n\texclude: an array of field names to exclude\n*/\nexports.getFieldStringBlock = function(options) {\n\toptions = options || {};\n\tvar exclude = options.exclude || [],\n\t\tfields = Object.keys(this.fields).sort(),\n\t\tresult = [];\n\tfor(var t=0; t&lt;fields.length; t++) {\n\t\tvar field = fields[t];\n\t\tif(exclude.indexOf(field) === -1) {\n\t\t\tresult.push(field + \&quot;: \&quot; + this.getFieldString(field));\n\t\t}\n\t}\n\treturn result.join(\&quot;\\n\&quot;);\n};\n\nexports.getFieldDay = function(field) {\n\tif(this.cache &amp;&amp; this.cache.day &amp;&amp; $tw.utils.hop(this.cache.day,field) ) {\n\t\treturn this.cache.day[field];\n\t}\n\tvar day = \&quot;\&quot;;\n\tif(this.fields[field]) {\n\t\tday = (new Date($tw.utils.parseDate(this.fields[field]))).setHours(0,0,0,0);\n\t}\n\tthis.cache.day = this.cache.day || {};\n\tthis.cache.day[field] = day;\n\treturn day;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;tiddlermethod&quot;
},
&quot;$:/core/modules/upgraders/plugins.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/upgraders/plugins.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/upgraders/plugins.js\ntype: application/javascript\nmodule-type: upgrader\n\nUpgrader module that checks that plugins are newer than any already installed version\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar UPGRADE_LIBRARY_TITLE = \&quot;$:/UpgradeLibrary\&quot;;\n\nvar BLOCKED_PLUGINS = {\n\t\&quot;$:/themes/tiddlywiki/stickytitles\&quot;: {\n\t\tversions: [\&quot;*\&quot;]\n\t},\n\t\&quot;$:/plugins/tiddlywiki/fullscreen\&quot;: {\n\t\tversions: [\&quot;*\&quot;]\n\t}\n};\n\nexports.upgrade = function(wiki,titles,tiddlers) {\n\tvar self = this,\n\t\tmessages = {},\n\t\tupgradeLibrary,\n\t\tgetLibraryTiddler = function(title) {\n\t\t\tif(!upgradeLibrary) {\n\t\t\t\tupgradeLibrary = wiki.getTiddlerData(UPGRADE_LIBRARY_TITLE,{});\n\t\t\t\tupgradeLibrary.tiddlers = upgradeLibrary.tiddlers || {};\n\t\t\t}\n\t\t\treturn upgradeLibrary.tiddlers[title];\n\t\t};\n\n\t// Go through all the incoming tiddlers\n\t$tw.utils.each(titles,function(title) {\n\t\tvar incomingTiddler = tiddlers[title];\n\t\t// Check if we're dealing with a plugin\n\t\tif(incomingTiddler &amp;&amp; incomingTiddler[\&quot;plugin-type\&quot;]) {\n\t\t\t// Check whether the plugin contains JS modules\n\t\t\tvar requiresReload = wiki.doesPluginInfoRequireReload(JSON.parse(incomingTiddler.text)) ? (wiki.getTiddlerText(\&quot;$:/language/ControlPanel/Plugins/PluginWillRequireReload\&quot;) + \&quot; \&quot;) : \&quot;\&quot;;\n\t\t\tmessages[title] = requiresReload;\n\t\t\tif(incomingTiddler.version) {\n\t\t\t\t// Upgrade the incoming plugin if it is in the upgrade library\n\t\t\t\tvar libraryTiddler = getLibraryTiddler(title);\n\t\t\t\tif(libraryTiddler &amp;&amp; libraryTiddler[\&quot;plugin-type\&quot;] &amp;&amp; libraryTiddler.version) {\n\t\t\t\t\ttiddlers[title] = libraryTiddler;\n\t\t\t\t\tmessages[title] = requiresReload + $tw.language.getString(\&quot;Import/Upgrader/Plugins/Upgraded\&quot;,{variables: {incoming: incomingTiddler.version, upgraded: libraryTiddler.version}});\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\t// Suppress the incoming plugin if it is older than the currently installed one\n\t\t\t\tvar existingTiddler = wiki.getTiddler(title);\n\t\t\t\tif(existingTiddler &amp;&amp; existingTiddler.hasField(\&quot;plugin-type\&quot;) &amp;&amp; existingTiddler.hasField(\&quot;version\&quot;)) {\n\t\t\t\t\t// Reject the incoming plugin by blanking all its fields\n\t\t\t\t\tif($tw.utils.checkVersions(existingTiddler.fields.version,incomingTiddler.version)) {\n\t\t\t\t\t\ttiddlers[title] = Object.create(null);\n\t\t\t\t\t\tmessages[title] = $tw.language.getString(\&quot;Import/Upgrader/Plugins/Suppressed/Version\&quot;,{variables: {incoming: incomingTiddler.version, existing: existingTiddler.fields.version}});\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t// Check whether the plugin is on the blocked list\n\t\t\tvar blockInfo = BLOCKED_PLUGINS[title];\n\t\t\tif(blockInfo) {\n\t\t\t\tif(blockInfo.versions.indexOf(\&quot;*\&quot;) !== -1 || (incomingTiddler.version &amp;&amp; blockInfo.versions.indexOf(incomingTiddler.version) !== -1)) {\n\t\t\t\t\ttiddlers[title] = Object.create(null);\n\t\t\t\t\tmessages[title] = $tw.language.getString(\&quot;Import/Upgrader/Plugins/Suppressed/Incompatible\&quot;);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t});\n\treturn messages;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;upgrader&quot;
},
&quot;$:/core/modules/upgraders/system.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/upgraders/system.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/upgraders/system.js\ntype: application/javascript\nmodule-type: upgrader\n\nUpgrader module that suppresses certain system tiddlers that shouldn't be imported\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar DONT_IMPORT_LIST = [\&quot;$:/StoryList\&quot;,\&quot;$:/HistoryList\&quot;],\n\tDONT_IMPORT_PREFIX_LIST = [\&quot;$:/temp/\&quot;,\&quot;$:/state/\&quot;,\&quot;$:/Import\&quot;],\n\tWARN_IMPORT_PREFIX_LIST = [\&quot;$:/core/modules/\&quot;];\n\nexports.upgrade = function(wiki,titles,tiddlers) {\n\tvar self = this,\n\t\tmessages = {},\n\t\tshowAlert = false;\n\t// Check for tiddlers on our list\n\t$tw.utils.each(titles,function(title) {\n\t\tif(DONT_IMPORT_LIST.indexOf(title) !== -1) {\n\t\t\ttiddlers[title] = Object.create(null);\n\t\t\tmessages[title] = $tw.language.getString(\&quot;Import/Upgrader/System/Suppressed\&quot;);\n\t\t} else {\n\t\t\tfor(var t=0; t&lt;DONT_IMPORT_PREFIX_LIST.length; t++) {\n\t\t\t\tvar prefix = DONT_IMPORT_PREFIX_LIST[t];\n\t\t\t\tif(title.substr(0,prefix.length) === prefix) {\n\t\t\t\t\ttiddlers[title] = Object.create(null);\n\t\t\t\t\tmessages[title] = $tw.language.getString(\&quot;Import/Upgrader/State/Suppressed\&quot;);\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor(var t=0; t&lt;WARN_IMPORT_PREFIX_LIST.length; t++) {\n\t\t\t\tvar prefix = WARN_IMPORT_PREFIX_LIST[t];\n\t\t\t\tif(title.substr(0,prefix.length) === prefix &amp;&amp; wiki.isShadowTiddler(title)) {\n\t\t\t\t\tshowAlert = true;\n\t\t\t\t\tmessages[title] = $tw.language.getString(\&quot;Import/Upgrader/System/Warning\&quot;);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t});\n\tif(showAlert) {\n\t\tvar logger = new $tw.utils.Logger(\&quot;import\&quot;);\n\t\tlogger.alert($tw.language.getString(\&quot;Import/Upgrader/System/Alert\&quot;));\n\t}\n\treturn messages;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;upgrader&quot;
},
&quot;$:/core/modules/upgraders/themetweaks.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/upgraders/themetweaks.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/upgraders/themetweaks.js\ntype: application/javascript\nmodule-type: upgrader\n\nUpgrader module that handles the change in theme tweak storage introduced in 5.0.14-beta.\n\nPreviously, theme tweaks were stored in two data tiddlers:\n\n* $:/themes/tiddlywiki/vanilla/metrics\n* $:/themes/tiddlywiki/vanilla/settings\n\nNow, each tweak is stored in its own separate tiddler.\n\nThis upgrader copies any values from the old format to the new. The old data tiddlers are not deleted in case they have been used to store additional indexes.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar MAPPINGS = {\n\t\&quot;$:/themes/tiddlywiki/vanilla/metrics\&quot;: {\n\t\t\&quot;fontsize\&quot;: \&quot;$:/themes/tiddlywiki/vanilla/metrics/fontsize\&quot;,\n\t\t\&quot;lineheight\&quot;: \&quot;$:/themes/tiddlywiki/vanilla/metrics/lineheight\&quot;,\n\t\t\&quot;storyleft\&quot;: \&quot;$:/themes/tiddlywiki/vanilla/metrics/storyleft\&quot;,\n\t\t\&quot;storytop\&quot;: \&quot;$:/themes/tiddlywiki/vanilla/metrics/storytop\&quot;,\n\t\t\&quot;storyright\&quot;: \&quot;$:/themes/tiddlywiki/vanilla/metrics/storyright\&quot;,\n\t\t\&quot;storywidth\&quot;: \&quot;$:/themes/tiddlywiki/vanilla/metrics/storywidth\&quot;,\n\t\t\&quot;tiddlerwidth\&quot;: \&quot;$:/themes/tiddlywiki/vanilla/metrics/tiddlerwidth\&quot;\n\t},\n\t\&quot;$:/themes/tiddlywiki/vanilla/settings\&quot;: {\n\t\t\&quot;fontfamily\&quot;: \&quot;$:/themes/tiddlywiki/vanilla/settings/fontfamily\&quot;\n\t}\n};\n\nexports.upgrade = function(wiki,titles,tiddlers) {\n\tvar self = this,\n\t\tmessages = {};\n\t// Check for tiddlers on our list\n\t$tw.utils.each(titles,function(title) {\n\t\tvar mapping = MAPPINGS[title];\n\t\tif(mapping) {\n\t\t\tvar tiddler = new $tw.Tiddler(tiddlers[title]),\n\t\t\t\ttiddlerData = wiki.getTiddlerDataCached(tiddler,{});\n\t\t\tfor(var index in mapping) {\n\t\t\t\tvar mappedTitle = mapping[index];\n\t\t\t\tif(!tiddlers[mappedTitle] || tiddlers[mappedTitle].title !== mappedTitle) {\n\t\t\t\t\ttiddlers[mappedTitle] = {\n\t\t\t\t\t\ttitle: mappedTitle,\n\t\t\t\t\t\ttext: tiddlerData[index]\n\t\t\t\t\t};\n\t\t\t\t\tmessages[mappedTitle] = $tw.language.getString(\&quot;Import/Upgrader/ThemeTweaks/Created\&quot;,{variables: {\n\t\t\t\t\t\tfrom: title + \&quot;##\&quot; + index\n\t\t\t\t\t}});\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t});\n\treturn messages;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;upgrader&quot;
},
&quot;$:/core/modules/utils/base64-utf8/base64-utf8.module.js&quot;: {
&quot;text&quot;: &quot;(function(){// From https://gist.github.com/Nijikokun/5192472\n//\n// UTF8 Module\n//\n// Cleaner and modularized utf-8 encoding and decoding library for javascript.\n//\n// copyright: MIT\n// author: Nijiko Yonskai, @nijikokun, nijikokun@gmail.com\n!function(r,e,o,t){void 0!==o.module&amp;&amp;o.module.exports?o.module.exports=e.apply(o):void 0!==o.define&amp;&amp;\&quot;function\&quot;===o.define&amp;&amp;o.define.amd?define(\&quot;utf8\&quot;,[],e):o.utf8=e.apply(o)}(0,function(){return{encode:function(r){if(\&quot;string\&quot;!=typeof r)return r;r=r.replace(/\\r\\n/g,\&quot;\\n\&quot;);for(var e,o=\&quot;\&quot;,t=0;t&lt;r.length;t++)if((e=r.charCodeAt(t))&lt;128)o+=String.fromCharCode(e);else if(e&gt;127&amp;&amp;e&lt;2048)o+=String.fromCharCode(e&gt;&gt;6|192),o+=String.fromCharCode(63&amp;e|128);else if(e&gt;55295&amp;&amp;e&lt;57344&amp;&amp;r.length&gt;t+1){var i=e,n=r.charCodeAt(t+1);t++;var d=65536+(i-55296&lt;&lt;10|n-56320);o+=String.fromCharCode(d&gt;&gt;18|240),o+=String.fromCharCode(d&gt;&gt;12&amp;63|128),o+=String.fromCharCode(d&gt;&gt;6&amp;63|128),o+=String.fromCharCode(63&amp;d|128)}else o+=String.fromCharCode(e&gt;&gt;12|224),o+=String.fromCharCode(e&gt;&gt;6&amp;63|128),o+=String.fromCharCode(63&amp;e|128);return o},decode:function(r){if(\&quot;string\&quot;!=typeof r)return r;for(var e=\&quot;\&quot;,o=0,t=0;o&lt;r.length;)if((t=r.charCodeAt(o))&lt;128)e+=String.fromCharCode(t),o++;else if(t&gt;191&amp;&amp;t&lt;224)e+=String.fromCharCode((31&amp;t)&lt;&lt;6|63&amp;r.charCodeAt(o+1)),o+=2;else if(t&gt;223&amp;&amp;t&lt;240)e+=String.fromCharCode((15&amp;t)&lt;&lt;12|(63&amp;r.charCodeAt(o+1))&lt;&lt;6|63&amp;r.charCodeAt(o+2)),o+=3;else{var i=(7&amp;t)&lt;&lt;18|(63&amp;r.charCodeAt(o+1))&lt;&lt;12|(63&amp;r.charCodeAt(o+2))&lt;&lt;6|63&amp;r.charCodeAt(o+3);e+=String.fromCharCode(55296+(i-65536&gt;&gt;10))+String.fromCharCode(56320+(i-65536&amp;1023)),o+=4}return e}}},this),function(r,e,o,t){if(void 0!==o.module&amp;&amp;o.module.exports){if(t&amp;&amp;o.require)for(var i=0;i&lt;t.length;i++)o[t[i]]=o.require(t[i]);o.module.exports=e.apply(o)}else void 0!==o.define&amp;&amp;\&quot;function\&quot;===o.define&amp;&amp;o.define.amd?define(\&quot;base64\&quot;,t||[],e):o.base64=e.apply(o)}(0,function(r){var e=r||this.utf8,o=\&quot;ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\&quot;;return{encode:function(r){if(void 0===e)throw{error:\&quot;MissingMethod\&quot;,message:\&quot;UTF8 Module is missing.\&quot;};if(\&quot;string\&quot;!=typeof r)return r;r=e.encode(r);for(var t,i,n,d,f,a,h,C=\&quot;\&quot;,c=0;c&lt;r.length;)d=(t=r.charCodeAt(c++))&gt;&gt;2,f=(3&amp;t)&lt;&lt;4|(i=r.charCodeAt(c++))&gt;&gt;4,a=(15&amp;i)&lt;&lt;2|(n=r.charCodeAt(c++))&gt;&gt;6,h=63&amp;n,isNaN(i)?a=h=64:isNaN(n)&amp;&amp;(h=64),C+=o.charAt(d)+o.charAt(f)+o.charAt(a)+o.charAt(h);return C},decode:function(r){if(void 0===e)throw{error:\&quot;MissingMethod\&quot;,message:\&quot;UTF8 Module is missing.\&quot;};if(\&quot;string\&quot;!=typeof r)return r;r=r.replace(/[^A-Za-z0-9\\+\\/\\=]/g,\&quot;\&quot;);for(var t,i,n,d,f,a,h=\&quot;\&quot;,C=0;C&lt;r.length;)t=o.indexOf(r.charAt(C++))&lt;&lt;2|(d=o.indexOf(r.charAt(C++)))&gt;&gt;4,i=(15&amp;d)&lt;&lt;4|(f=o.indexOf(r.charAt(C++)))&gt;&gt;2,n=(3&amp;f)&lt;&lt;6|(a=o.indexOf(r.charAt(C++))),h+=String.fromCharCode(t),64!=f&amp;&amp;(h+=String.fromCharCode(i)),64!=a&amp;&amp;(h+=String.fromCharCode(n));return e.decode(h)}}},this,[\&quot;utf8\&quot;]);}).call(exports);&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;title&quot;: &quot;$:/core/modules/utils/base64-utf8/base64-utf8.module.js&quot;,
&quot;module-type&quot;: &quot;library&quot;
},
&quot;$:/core/modules/utils/crypto.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/utils/crypto.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/utils/crypto.js\ntype: application/javascript\nmodule-type: utils\n\nUtility functions related to crypto.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nLook for an encrypted store area in the text of a TiddlyWiki file\n*/\nexports.extractEncryptedStoreArea = function(text) {\n\tvar encryptedStoreAreaStartMarker = \&quot;&lt;pre id=\\\&quot;encryptedStoreArea\\\&quot; type=\\\&quot;text/plain\\\&quot; style=\\\&quot;display:none;\\\&quot;&gt;\&quot;,\n\t\tencryptedStoreAreaStart = text.indexOf(encryptedStoreAreaStartMarker);\n\tif(encryptedStoreAreaStart !== -1) {\n\t\tvar encryptedStoreAreaEnd = text.indexOf(\&quot;&lt;/pre&gt;\&quot;,encryptedStoreAreaStart);\n\t\tif(encryptedStoreAreaEnd !== -1) {\n\t\t\treturn $tw.utils.htmlDecode(text.substring(encryptedStoreAreaStart + encryptedStoreAreaStartMarker.length,encryptedStoreAreaEnd-1));\n\t\t}\n\t}\n\treturn null;\n};\n\n/*\nAttempt to extract the tiddlers from an encrypted store area using the current password. If the password is not provided then the password in the password store will be used\n*/\nexports.decryptStoreArea = function(encryptedStoreArea,password) {\n\tvar decryptedText = $tw.crypto.decrypt(encryptedStoreArea,password);\n\tif(decryptedText) {\n\t\tvar json = JSON.parse(decryptedText),\n\t\t\ttiddlers = [];\n\t\tfor(var title in json) {\n\t\t\tif(title !== \&quot;$:/isEncrypted\&quot;) {\n\t\t\t\ttiddlers.push(json[title]);\n\t\t\t}\n\t\t}\n\t\treturn tiddlers;\n\t} else {\n\t\treturn null;\n\t}\n};\n\n\n/*\nAttempt to extract the tiddlers from an encrypted store area using the current password. If that fails, the user is prompted for a password.\nencryptedStoreArea: text of the TiddlyWiki encrypted store area\ncallback: function(tiddlers) called with the array of decrypted tiddlers\n\nThe following configuration settings are supported:\n\n$tw.config.usePasswordVault: causes any password entered by the user to also be put into the system password vault\n*/\nexports.decryptStoreAreaInteractive = function(encryptedStoreArea,callback,options) {\n\t// Try to decrypt with the current password\n\tvar tiddlers = $tw.utils.decryptStoreArea(encryptedStoreArea);\n\tif(tiddlers) {\n\t\tcallback(tiddlers);\n\t} else {\n\t\t// Prompt for a new password and keep trying\n\t\t$tw.passwordPrompt.createPrompt({\n\t\t\tserviceName: \&quot;Enter a password to decrypt the imported TiddlyWiki\&quot;,\n\t\t\tnoUserName: true,\n\t\t\tcanCancel: true,\n\t\t\tsubmitText: \&quot;Decrypt\&quot;,\n\t\t\tcallback: function(data) {\n\t\t\t\t// Exit if the user cancelled\n\t\t\t\tif(!data) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t\t// Attempt to decrypt the tiddlers\n\t\t\t\tvar tiddlers = $tw.utils.decryptStoreArea(encryptedStoreArea,data.password);\n\t\t\t\tif(tiddlers) {\n\t\t\t\t\tif($tw.config.usePasswordVault) {\n\t\t\t\t\t\t$tw.crypto.setPassword(data.password);\n\t\t\t\t\t}\n\t\t\t\t\tcallback(tiddlers);\n\t\t\t\t\t// Exit and remove the password prompt\n\t\t\t\t\treturn true;\n\t\t\t\t} else {\n\t\t\t\t\t// We didn't decrypt everything, so continue to prompt for password\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t}\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;utils&quot;
},
&quot;$:/core/modules/utils/csv.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/utils/csv.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/utils/csv.js\ntype: application/javascript\nmodule-type: utils\n\nA barebones CSV parser\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nParse a CSV string with a header row and return an array of hashmaps.\n*/\nexports.parseCsvStringWithHeader = function(text,options) {\n\toptions = options || {};\n\tvar separator = options.separator || \&quot;,\&quot;,\n\t\trows = text.split(/\\r?\\n/mg).map(function(row) {\n\t\t\treturn $tw.utils.trim(row);\n\t\t}).filter(function(row) {\n\t\t\treturn row !== \&quot;\&quot;;\n\t\t});\n\tif(rows.length &lt; 1) {\n\t\treturn \&quot;Missing header row\&quot;;\n\t}\n\tvar headings = rows[0].split(separator),\n\t\tresults = [];\n\tfor(var row=1; row&lt;rows.length; row++) {\n\t\tvar columns = rows[row].split(separator),\n\t\t\tcolumnResult = Object.create(null);\n\t\tif(columns.length !== headings.length) {\n\t\t\treturn \&quot;Malformed CSV row '\&quot; + rows[row] + \&quot;'\&quot;;\n\t\t}\n\t\tfor(var column=0; column&lt;columns.length; column++) {\n\t\t\tvar columnName = headings[column];\n\t\t\tcolumnResult[columnName] = $tw.utils.trim(columns[column] || \&quot;\&quot;);\n\t\t}\n\t\tresults.push(columnResult);\t\t\t\n\t}\n\treturn results;\n}\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;utils&quot;
},
&quot;$:/core/modules/utils/diff-match-patch/diff_match_patch.js&quot;: {
&quot;text&quot;: &quot;(function(){function diff_match_patch(){this.Diff_Timeout=1;this.Diff_EditCost=4;this.Match_Threshold=.5;this.Match_Distance=1E3;this.Patch_DeleteThreshold=.5;this.Patch_Margin=4;this.Match_MaxBits=32}var DIFF_DELETE=-1,DIFF_INSERT=1,DIFF_EQUAL=0;\ndiff_match_patch.prototype.diff_main=function(a,b,c,d){\&quot;undefined\&quot;==typeof d&amp;&amp;(d=0&gt;=this.Diff_Timeout?Number.MAX_VALUE:(new Date).getTime()+1E3*this.Diff_Timeout);if(null==a||null==b)throw Error(\&quot;Null input. (diff_main)\&quot;);if(a==b)return a?[[DIFF_EQUAL,a]]:[];\&quot;undefined\&quot;==typeof c&amp;&amp;(c=!0);var e=c,f=this.diff_commonPrefix(a,b);c=a.substring(0,f);a=a.substring(f);b=b.substring(f);f=this.diff_commonSuffix(a,b);var g=a.substring(a.length-f);a=a.substring(0,a.length-f);b=b.substring(0,b.length-f);a=this.diff_compute_(a,\nb,e,d);c&amp;&amp;a.unshift([DIFF_EQUAL,c]);g&amp;&amp;a.push([DIFF_EQUAL,g]);this.diff_cleanupMerge(a);return a};\ndiff_match_patch.prototype.diff_compute_=function(a,b,c,d){if(!a)return[[DIFF_INSERT,b]];if(!b)return[[DIFF_DELETE,a]];var e=a.length&gt;b.length?a:b,f=a.length&gt;b.length?b:a,g=e.indexOf(f);return-1!=g?(c=[[DIFF_INSERT,e.substring(0,g)],[DIFF_EQUAL,f],[DIFF_INSERT,e.substring(g+f.length)]],a.length&gt;b.length&amp;&amp;(c[0][0]=c[2][0]=DIFF_DELETE),c):1==f.length?[[DIFF_DELETE,a],[DIFF_INSERT,b]]:(e=this.diff_halfMatch_(a,b))?(b=e[1],f=e[3],a=e[4],e=this.diff_main(e[0],e[2],c,d),c=this.diff_main(b,f,c,d),e.concat([[DIFF_EQUAL,\na]],c)):c&amp;&amp;100&lt;a.length&amp;&amp;100&lt;b.length?this.diff_lineMode_(a,b,d):this.diff_bisect_(a,b,d)};\ndiff_match_patch.prototype.diff_lineMode_=function(a,b,c){var d=this.diff_linesToChars_(a,b);a=d.chars1;b=d.chars2;d=d.lineArray;a=this.diff_main(a,b,!1,c);this.diff_charsToLines_(a,d);this.diff_cleanupSemantic(a);a.push([DIFF_EQUAL,\&quot;\&quot;]);for(var e=d=b=0,f=\&quot;\&quot;,g=\&quot;\&quot;;b&lt;a.length;){switch(a[b][0]){case DIFF_INSERT:e++;g+=a[b][1];break;case DIFF_DELETE:d++;f+=a[b][1];break;case DIFF_EQUAL:if(1&lt;=d&amp;&amp;1&lt;=e){a.splice(b-d-e,d+e);b=b-d-e;d=this.diff_main(f,g,!1,c);for(e=d.length-1;0&lt;=e;e--)a.splice(b,0,d[e]);b+=\nd.length}d=e=0;g=f=\&quot;\&quot;}b++}a.pop();return a};\ndiff_match_patch.prototype.diff_bisect_=function(a,b,c){for(var d=a.length,e=b.length,f=Math.ceil((d+e)/2),g=2*f,h=Array(g),l=Array(g),k=0;k&lt;g;k++)h[k]=-1,l[k]=-1;h[f+1]=0;l[f+1]=0;k=d-e;for(var m=0!=k%2,p=0,x=0,w=0,q=0,t=0;t&lt;f&amp;&amp;!((new Date).getTime()&gt;c);t++){for(var v=-t+p;v&lt;=t-x;v+=2){var n=f+v;var r=v==-t||v!=t&amp;&amp;h[n-1]&lt;h[n+1]?h[n+1]:h[n-1]+1;for(var y=r-v;r&lt;d&amp;&amp;y&lt;e&amp;&amp;a.charAt(r)==b.charAt(y);)r++,y++;h[n]=r;if(r&gt;d)x+=2;else if(y&gt;e)p+=2;else if(m&amp;&amp;(n=f+k-v,0&lt;=n&amp;&amp;n&lt;g&amp;&amp;-1!=l[n])){var u=d-l[n];if(r&gt;=\nu)return this.diff_bisectSplit_(a,b,r,y,c)}}for(v=-t+w;v&lt;=t-q;v+=2){n=f+v;u=v==-t||v!=t&amp;&amp;l[n-1]&lt;l[n+1]?l[n+1]:l[n-1]+1;for(r=u-v;u&lt;d&amp;&amp;r&lt;e&amp;&amp;a.charAt(d-u-1)==b.charAt(e-r-1);)u++,r++;l[n]=u;if(u&gt;d)q+=2;else if(r&gt;e)w+=2;else if(!m&amp;&amp;(n=f+k-v,0&lt;=n&amp;&amp;n&lt;g&amp;&amp;-1!=h[n]&amp;&amp;(r=h[n],y=f+r-n,u=d-u,r&gt;=u)))return this.diff_bisectSplit_(a,b,r,y,c)}}return[[DIFF_DELETE,a],[DIFF_INSERT,b]]};\ndiff_match_patch.prototype.diff_bisectSplit_=function(a,b,c,d,e){var f=a.substring(0,c),g=b.substring(0,d);a=a.substring(c);b=b.substring(d);f=this.diff_main(f,g,!1,e);e=this.diff_main(a,b,!1,e);return f.concat(e)};\ndiff_match_patch.prototype.diff_linesToChars_=function(a,b){function c(a){for(var b=\&quot;\&quot;,c=0,f=-1,g=d.length;f&lt;a.length-1;){f=a.indexOf(\&quot;\\n\&quot;,c);-1==f&amp;&amp;(f=a.length-1);var h=a.substring(c,f+1);c=f+1;(e.hasOwnProperty?e.hasOwnProperty(h):void 0!==e[h])?b+=String.fromCharCode(e[h]):(b+=String.fromCharCode(g),e[h]=g,d[g++]=h)}return b}var d=[],e={};d[0]=\&quot;\&quot;;var f=c(a),g=c(b);return{chars1:f,chars2:g,lineArray:d}};\ndiff_match_patch.prototype.diff_charsToLines_=function(a,b){for(var c=0;c&lt;a.length;c++){for(var d=a[c][1],e=[],f=0;f&
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;title&quot;: &quot;$:/core/modules/utils/diff-match-patch/diff_match_patch.js&quot;,
&quot;module-type&quot;: &quot;library&quot;
},
&quot;$:/core/modules/utils/dom/animations/slide.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/utils/dom/animations/slide.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/utils/dom/animations/slide.js\ntype: application/javascript\nmodule-type: animation\n\nA simple slide animation that varies the height of the element\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nfunction slideOpen(domNode,options) {\n\toptions = options || {};\n\tvar duration = options.duration || $tw.utils.getAnimationDuration();\n\t// Get the current height of the domNode\n\tvar computedStyle = window.getComputedStyle(domNode),\n\t\tcurrMarginBottom = parseInt(computedStyle.marginBottom,10),\n\t\tcurrMarginTop = parseInt(computedStyle.marginTop,10),\n\t\tcurrPaddingBottom = parseInt(computedStyle.paddingBottom,10),\n\t\tcurrPaddingTop = parseInt(computedStyle.paddingTop,10),\n\t\tcurrHeight = domNode.offsetHeight;\n\t// Reset the margin once the transition is over\n\tsetTimeout(function() {\n\t\t$tw.utils.setStyle(domNode,[\n\t\t\t{transition: \&quot;none\&quot;},\n\t\t\t{marginBottom: \&quot;\&quot;},\n\t\t\t{marginTop: \&quot;\&quot;},\n\t\t\t{paddingBottom: \&quot;\&quot;},\n\t\t\t{paddingTop: \&quot;\&quot;},\n\t\t\t{height: \&quot;auto\&quot;},\n\t\t\t{opacity: \&quot;\&quot;}\n\t\t]);\n\t\tif(options.callback) {\n\t\t\toptions.callback();\n\t\t}\n\t},duration);\n\t// Set up the initial position of the element\n\t$tw.utils.setStyle(domNode,[\n\t\t{transition: \&quot;none\&quot;},\n\t\t{marginTop: \&quot;0px\&quot;},\n\t\t{marginBottom: \&quot;0px\&quot;},\n\t\t{paddingTop: \&quot;0px\&quot;},\n\t\t{paddingBottom: \&quot;0px\&quot;},\n\t\t{height: \&quot;0px\&quot;},\n\t\t{opacity: \&quot;0\&quot;}\n\t]);\n\t$tw.utils.forceLayout(domNode);\n\t// Transition to the final position\n\t$tw.utils.setStyle(domNode,[\n\t\t{transition: \&quot;margin-top \&quot; + duration + \&quot;ms ease-in-out, \&quot; +\n\t\t\t\t\t\&quot;margin-bottom \&quot; + duration + \&quot;ms ease-in-out, \&quot; +\n\t\t\t\t\t\&quot;padding-top \&quot; + duration + \&quot;ms ease-in-out, \&quot; +\n\t\t\t\t\t\&quot;padding-bottom \&quot; + duration + \&quot;ms ease-in-out, \&quot; +\n\t\t\t\t\t\&quot;height \&quot; + duration + \&quot;ms ease-in-out, \&quot; +\n\t\t\t\t\t\&quot;opacity \&quot; + duration + \&quot;ms ease-in-out\&quot;},\n\t\t{marginBottom: currMarginBottom + \&quot;px\&quot;},\n\t\t{marginTop: currMarginTop + \&quot;px\&quot;},\n\t\t{paddingBottom: currPaddingBottom + \&quot;px\&quot;},\n\t\t{paddingTop: currPaddingTop + \&quot;px\&quot;},\n\t\t{height: currHeight + \&quot;px\&quot;},\n\t\t{opacity: \&quot;1\&quot;}\n\t]);\n}\n\nfunction slideClosed(domNode,options) {\n\toptions = options || {};\n\tvar duration = options.duration || $tw.utils.getAnimationDuration(),\n\t\tcurrHeight = domNode.offsetHeight;\n\t// Clear the properties we've set when the animation is over\n\tsetTimeout(function() {\n\t\t$tw.utils.setStyle(domNode,[\n\t\t\t{transition: \&quot;none\&quot;},\n\t\t\t{marginBottom: \&quot;\&quot;},\n\t\t\t{marginTop: \&quot;\&quot;},\n\t\t\t{paddingBottom: \&quot;\&quot;},\n\t\t\t{paddingTop: \&quot;\&quot;},\n\t\t\t{height: \&quot;auto\&quot;},\n\t\t\t{opacity: \&quot;\&quot;}\n\t\t]);\n\t\tif(options.callback) {\n\t\t\toptions.callback();\n\t\t}\n\t},duration);\n\t// Set up the initial position of the element\n\t$tw.utils.setStyle(domNode,[\n\t\t{height: currHeight + \&quot;px\&quot;},\n\t\t{opacity: \&quot;1\&quot;}\n\t]);\n\t$tw.utils.forceLayout(domNode);\n\t// Transition to the final position\n\t$tw.utils.setStyle(domNode,[\n\t\t{transition: \&quot;margin-top \&quot; + duration + \&quot;ms ease-in-out, \&quot; +\n\t\t\t\t\t\&quot;margin-bottom \&quot; + duration + \&quot;ms ease-in-out, \&quot; +\n\t\t\t\t\t\&quot;padding-top \&quot; + duration + \&quot;ms ease-in-out, \&quot; +\n\t\t\t\t\t\&quot;padding-bottom \&quot; + duration + \&quot;ms ease-in-out, \&quot; +\n\t\t\t\t\t\&quot;height \&quot; + duration + \&quot;ms ease-in-out, \&quot; +\n\t\t\t\t\t\&quot;opacity \&quot; + duration + \&quot;ms ease-in-out\&quot;},\n\t\t{marginTop: \&quot;0px\&quot;},\n\t\t{marginBottom: \&quot;0
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;animation&quot;
},
&quot;$:/core/modules/utils/dom/animator.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/utils/dom/animator.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/utils/dom/animator.js\ntype: application/javascript\nmodule-type: utils\n\nOrchestrates animations and transitions\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nfunction Animator() {\n\t// Get the registered animation modules\n\tthis.animations = {};\n\t$tw.modules.applyMethods(\&quot;animation\&quot;,this.animations);\n}\n\nAnimator.prototype.perform = function(type,domNode,options) {\n\toptions = options || {};\n\t// Find an animation that can handle this type\n\tvar chosenAnimation;\n\t$tw.utils.each(this.animations,function(animation,name) {\n\t\tif($tw.utils.hop(animation,type)) {\n\t\t\tchosenAnimation = animation[type];\n\t\t}\n\t});\n\tif(!chosenAnimation) {\n\t\tchosenAnimation = function(domNode,options) {\n\t\t\tif(options.callback) {\n\t\t\t\toptions.callback();\n\t\t\t}\n\t\t};\n\t}\n\t// Call the animation\n\tchosenAnimation(domNode,options);\n};\n\nexports.Animator = Animator;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;utils&quot;
},
&quot;$:/core/modules/utils/dom/browser.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/utils/dom/browser.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/utils/dom/browser.js\ntype: application/javascript\nmodule-type: utils\n\nBrowser feature detection\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nSet style properties of an element\n\telement: dom node\n\tstyles: ordered array of {name: value} pairs\n*/\nexports.setStyle = function(element,styles) {\n\tif(element.nodeType === 1) { // Element.ELEMENT_NODE\n\t\tfor(var t=0; t&lt;styles.length; t++) {\n\t\t\tfor(var styleName in styles[t]) {\n\t\t\t\telement.style[$tw.utils.convertStyleNameToPropertyName(styleName)] = styles[t][styleName];\n\t\t\t}\n\t\t}\n\t}\n};\n\n/*\nConverts a standard CSS property name into the local browser-specific equivalent. For example:\n\t\&quot;background-color\&quot; --&gt; \&quot;backgroundColor\&quot;\n\t\&quot;transition\&quot; --&gt; \&quot;webkitTransition\&quot;\n*/\n\nvar styleNameCache = {}; // We'll cache the style name conversions\n\nexports.convertStyleNameToPropertyName = function(styleName) {\n\t// Return from the cache if we can\n\tif(styleNameCache[styleName]) {\n\t\treturn styleNameCache[styleName];\n\t}\n\t// Convert it by first removing any hyphens\n\tvar propertyName = $tw.utils.unHyphenateCss(styleName);\n\t// Then check if it needs a prefix\n\tif($tw.browser &amp;&amp; document.body.style[propertyName] === undefined) {\n\t\tvar prefixes = [\&quot;O\&quot;,\&quot;MS\&quot;,\&quot;Moz\&quot;,\&quot;webkit\&quot;];\n\t\tfor(var t=0; t&lt;prefixes.length; t++) {\n\t\t\tvar prefixedName = prefixes[t] + propertyName.substr(0,1).toUpperCase() + propertyName.substr(1);\n\t\t\tif(document.body.style[prefixedName] !== undefined) {\n\t\t\t\tpropertyName = prefixedName;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\t// Put it in the cache too\n\tstyleNameCache[styleName] = propertyName;\n\treturn propertyName;\n};\n\n/*\nConverts a JS format CSS property name back into the dashed form used in CSS declarations. For example:\n\t\&quot;backgroundColor\&quot; --&gt; \&quot;background-color\&quot;\n\t\&quot;webkitTransform\&quot; --&gt; \&quot;-webkit-transform\&quot;\n*/\nexports.convertPropertyNameToStyleName = function(propertyName) {\n\t// Rehyphenate the name\n\tvar styleName = $tw.utils.hyphenateCss(propertyName);\n\t// If there's a webkit prefix, add a dash (other browsers have uppercase prefixes, and so get the dash automatically)\n\tif(styleName.indexOf(\&quot;webkit\&quot;) === 0) {\n\t\tstyleName = \&quot;-\&quot; + styleName;\n\t} else if(styleName.indexOf(\&quot;-m-s\&quot;) === 0) {\n\t\tstyleName = \&quot;-ms\&quot; + styleName.substr(4);\n\t}\n\treturn styleName;\n};\n\n/*\nRound trip a stylename to a property name and back again. For example:\n\t\&quot;transform\&quot; --&gt; \&quot;webkitTransform\&quot; --&gt; \&quot;-webkit-transform\&quot;\n*/\nexports.roundTripPropertyName = function(propertyName) {\n\treturn $tw.utils.convertPropertyNameToStyleName($tw.utils.convertStyleNameToPropertyName(propertyName));\n};\n\n/*\nConverts a standard event name into the local browser specific equivalent. For example:\n\t\&quot;animationEnd\&quot; --&gt; \&quot;webkitAnimationEnd\&quot;\n*/\n\nvar eventNameCache = {}; // We'll cache the conversions\n\nvar eventNameMappings = {\n\t\&quot;transitionEnd\&quot;: {\n\t\tcorrespondingCssProperty: \&quot;transition\&quot;,\n\t\tmappings: {\n\t\t\ttransition: \&quot;transitionend\&quot;,\n\t\t\tOTransition: \&quot;oTransitionEnd\&quot;,\n\t\t\tMSTransition: \&quot;msTransitionEnd\&quot;,\n\t\t\tMozTransition: \&quot;transitionend\&quot;,\n\t\t\twebkitTransition: \&quot;webkitTransitionEnd\&quot;\n\t\t}\n\t},\n\t\&quot;animationEnd\&quot;: {\n\t\tcorrespondingCssProperty: \&quot;animation\&quot;,\n\t\tmappings: {\n\t\t\tanimation: \&quot;animationend\&quot;,\n\t\t\tOAnimation: \&quot;oAnimationEnd\&quot;,\n\t\t\tMSAnimation: \&quot;msAnimationEnd\&quot;,\n\t\t\tMozAnimation: \&quot;animationend\&quot;,\n\t\t\twebkitAnimation: \&quot;webkitAnimationEnd\&quot;\n\t\t}\n\t}\n};\n\nexports.convertEventName = functio
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;utils&quot;
},
&quot;$:/core/modules/utils/dom/csscolorparser.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/utils/dom/csscolorparser.js&quot;,
&quot;text&quot;: &quot;// (c) Dean McNamee &lt;dean@gmail.com&gt;, 2012.\n//\n// https://github.com/deanm/css-color-parser-js\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \&quot;Software\&quot;), to\n// deal in the Software without restriction, including without limitation the\n// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or\n// sell copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \&quot;AS IS\&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n// IN THE SOFTWARE.\n\n// http://www.w3.org/TR/css3-color/\nvar kCSSColorTable = {\n \&quot;transparent\&quot;: [0,0,0,0], \&quot;aliceblue\&quot;: [240,248,255,1],\n \&quot;antiquewhite\&quot;: [250,235,215,1], \&quot;aqua\&quot;: [0,255,255,1],\n \&quot;aquamarine\&quot;: [127,255,212,1], \&quot;azure\&quot;: [240,255,255,1],\n \&quot;beige\&quot;: [245,245,220,1], \&quot;bisque\&quot;: [255,228,196,1],\n \&quot;black\&quot;: [0,0,0,1], \&quot;blanchedalmond\&quot;: [255,235,205,1],\n \&quot;blue\&quot;: [0,0,255,1], \&quot;blueviolet\&quot;: [138,43,226,1],\n \&quot;brown\&quot;: [165,42,42,1], \&quot;burlywood\&quot;: [222,184,135,1],\n \&quot;cadetblue\&quot;: [95,158,160,1], \&quot;chartreuse\&quot;: [127,255,0,1],\n \&quot;chocolate\&quot;: [210,105,30,1], \&quot;coral\&quot;: [255,127,80,1],\n \&quot;cornflowerblue\&quot;: [100,149,237,1], \&quot;cornsilk\&quot;: [255,248,220,1],\n \&quot;crimson\&quot;: [220,20,60,1], \&quot;cyan\&quot;: [0,255,255,1],\n \&quot;darkblue\&quot;: [0,0,139,1], \&quot;darkcyan\&quot;: [0,139,139,1],\n \&quot;darkgoldenrod\&quot;: [184,134,11,1], \&quot;darkgray\&quot;: [169,169,169,1],\n \&quot;darkgreen\&quot;: [0,100,0,1], \&quot;darkgrey\&quot;: [169,169,169,1],\n \&quot;darkkhaki\&quot;: [189,183,107,1], \&quot;darkmagenta\&quot;: [139,0,139,1],\n \&quot;darkolivegreen\&quot;: [85,107,47,1], \&quot;darkorange\&quot;: [255,140,0,1],\n \&quot;darkorchid\&quot;: [153,50,204,1], \&quot;darkred\&quot;: [139,0,0,1],\n \&quot;darksalmon\&quot;: [233,150,122,1], \&quot;darkseagreen\&quot;: [143,188,143,1],\n \&quot;darkslateblue\&quot;: [72,61,139,1], \&quot;darkslategray\&quot;: [47,79,79,1],\n \&quot;darkslategrey\&quot;: [47,79,79,1], \&quot;darkturquoise\&quot;: [0,206,209,1],\n \&quot;darkviolet\&quot;: [148,0,211,1], \&quot;deeppink\&quot;: [255,20,147,1],\n \&quot;deepskyblue\&quot;: [0,191,255,1], \&quot;dimgray\&quot;: [105,105,105,1],\n \&quot;dimgrey\&quot;: [105,105,105,1], \&quot;dodgerblue\&quot;: [30,144,255,1],\n \&quot;firebrick\&quot;: [178,34,34,1], \&quot;floralwhite\&quot;: [255,250,240,1],\n \&quot;forestgreen\&quot;: [34,139,34,1], \&quot;fuchsia\&quot;: [255,0,255,1],\n \&quot;gainsboro\&quot;: [220,220,220,1], \&quot;ghostwhite\&quot;: [248,248,255,1],\n \&quot;gold\&quot;: [255,215,0,1], \&quot;goldenrod\&quot;: [218,165,32,1],\n \&quot;gray\&quot;: [128,128,128,1], \&quot;green\&quot;: [0,128,0,1],\n \&quot;greenyellow\&quot;: [173,255,47,1], \&quot;grey\&quot;: [128,128,128,1],\n \&quot;honeydew\&quot;: [240,255,240,1], \&quot;hotpink\&quot;: [255,105,180,1],\n \&quot;indianred\&quot;: [205,92,92,1], \&quot;indigo\&quot;: [75,0,130,1],\n \&quot;ivory\&quot;: [255,255,240,1], \&quot;khaki\&quot;: [240,230,140,1],\n \&quot;lavender\&quot;: [230,230,250,1], \&quot;lavenderblush\&quot;: [255,240,245,1],\n \&quot;lawn
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;utils&quot;
},
&quot;$:/core/modules/utils/dom.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/utils/dom.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/utils/dom.js\ntype: application/javascript\nmodule-type: utils\n\nVarious static DOM-related utility functions.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nDetermines whether element 'a' contains element 'b'\nCode thanks to John Resig, http://ejohn.org/blog/comparing-document-position/\n*/\nexports.domContains = function(a,b) {\n\treturn a.contains ?\n\t\ta !== b &amp;&amp; a.contains(b) :\n\t\t!!(a.compareDocumentPosition(b) &amp; 16);\n};\n\nexports.removeChildren = function(node) {\n\twhile(node.hasChildNodes()) {\n\t\tnode.removeChild(node.firstChild);\n\t}\n};\n\nexports.hasClass = function(el,className) {\n\treturn el &amp;&amp; el.hasAttribute &amp;&amp; el.hasAttribute(\&quot;class\&quot;) &amp;&amp; el.getAttribute(\&quot;class\&quot;).split(\&quot; \&quot;).indexOf(className) !== -1;\n};\n\nexports.addClass = function(el,className) {\n\tvar c = (el.getAttribute(\&quot;class\&quot;) || \&quot;\&quot;).split(\&quot; \&quot;);\n\tif(c.indexOf(className) === -1) {\n\t\tc.push(className);\n\t\tel.setAttribute(\&quot;class\&quot;,c.join(\&quot; \&quot;));\n\t}\n};\n\nexports.removeClass = function(el,className) {\n\tvar c = (el.getAttribute(\&quot;class\&quot;) || \&quot;\&quot;).split(\&quot; \&quot;),\n\t\tp = c.indexOf(className);\n\tif(p !== -1) {\n\t\tc.splice(p,1);\n\t\tel.setAttribute(\&quot;class\&quot;,c.join(\&quot; \&quot;));\n\t}\n};\n\nexports.toggleClass = function(el,className,status) {\n\tif(status === undefined) {\n\t\tstatus = !exports.hasClass(el,className);\n\t}\n\tif(status) {\n\t\texports.addClass(el,className);\n\t} else {\n\t\texports.removeClass(el,className);\n\t}\n};\n\n/*\nGet the first parent element that has scrollbars or use the body as fallback.\n*/\nexports.getScrollContainer = function(el) {\n\tvar doc = el.ownerDocument;\n\twhile(el.parentNode) {\t\n\t\tel = el.parentNode;\n\t\tif(el.scrollTop) {\n\t\t\treturn el;\n\t\t}\n\t}\n\treturn doc.body;\n};\n\n/*\nGet the scroll position of the viewport\nReturns:\n\t{\n\t\tx: horizontal scroll position in pixels,\n\t\ty: vertical scroll position in pixels\n\t}\n*/\nexports.getScrollPosition = function(srcWindow) {\n\tvar scrollWindow = srcWindow || window;\n\tif(\&quot;scrollX\&quot; in scrollWindow) {\n\t\treturn {x: scrollWindow.scrollX, y: scrollWindow.scrollY};\n\t} else {\n\t\treturn {x: scrollWindow.document.documentElement.scrollLeft, y: scrollWindow.document.documentElement.scrollTop};\n\t}\n};\n\n/*\nAdjust the height of a textarea to fit its content, preserving scroll position, and return the height\n*/\nexports.resizeTextAreaToFit = function(domNode,minHeight) {\n\t// Get the scroll container and register the current scroll position\n\tvar container = $tw.utils.getScrollContainer(domNode),\n\t\tscrollTop = container.scrollTop;\n // Measure the specified minimum height\n\tdomNode.style.height = minHeight;\n\tvar measuredHeight = domNode.offsetHeight || parseInt(minHeight,10);\n\t// Set its height to auto so that it snaps to the correct height\n\tdomNode.style.height = \&quot;auto\&quot;;\n\t// Calculate the revised height\n\tvar newHeight = Math.max(domNode.scrollHeight + domNode.offsetHeight - domNode.clientHeight,measuredHeight);\n\t// Only try to change the height if it has changed\n\tif(newHeight !== domNode.offsetHeight) {\n\t\tdomNode.style.height = newHeight + \&quot;px\&quot;;\n\t\t// Make sure that the dimensions of the textarea are recalculated\n\t\t$tw.utils.forceLayout(domNode);\n\t\t// Set the container to the position we registered at the beginning\n\t\tcontainer.scrollTop = scrollTop;\n\t}\n\treturn newHeight;\n};\n\n/*\nGets the bounding rectangle of an element in absolute page coordinates\n*/\nexports.getBoundingPageRect = function(element) {\n\tvar scrollPos = $tw.utils.getScrollPosition(element.ownerDocument.defaultView),\n\t\tclientRect = element.getBoundingClientRect();\n\treturn {\n\t\tleft: clientRect.left + scrollPos.x,\n\t\twidth: clientRect.width,\n\t\tright: cl
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;utils&quot;
},
&quot;$:/core/modules/utils/dom/dragndrop.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/utils/dom/dragndrop.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/utils/dom/dragndrop.js\ntype: application/javascript\nmodule-type: utils\n\nBrowser data transfer utilities, used with the clipboard and drag and drop\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nOptions:\n\ndomNode: dom node to make draggable\ndragImageType: \&quot;pill\&quot; or \&quot;dom\&quot;\ndragTiddlerFn: optional function to retrieve the title of tiddler to drag\ndragFilterFn: optional function to retreive the filter defining a list of tiddlers to drag\nwidget: widget to use as the contect for the filter\n*/\nexports.makeDraggable = function(options) {\n\tvar dragImageType = options.dragImageType || \&quot;dom\&quot;,\n\t\tdragImage,\n\t\tdomNode = options.domNode;\n\t// Make the dom node draggable (not necessary for anchor tags)\n\tif((domNode.tagName || \&quot;\&quot;).toLowerCase() !== \&quot;a\&quot;) {\n\t\tdomNode.setAttribute(\&quot;draggable\&quot;,\&quot;true\&quot;);\t\t\n\t}\n\t// Add event handlers\n\t$tw.utils.addEventListeners(domNode,[\n\t\t{name: \&quot;dragstart\&quot;, handlerFunction: function(event) {\n\t\t\tif(event.dataTransfer === undefined) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\t// Collect the tiddlers being dragged\n\t\t\tvar dragTiddler = options.dragTiddlerFn &amp;&amp; options.dragTiddlerFn(),\n\t\t\t\tdragFilter = options.dragFilterFn &amp;&amp; options.dragFilterFn(),\n\t\t\t\ttitles = dragTiddler ? [dragTiddler] : [],\n\t\t\t \tstartActions = options.startActions;\n\t\t\tif(dragFilter) {\n\t\t\t\ttitles.push.apply(titles,options.widget.wiki.filterTiddlers(dragFilter,options.widget));\n\t\t\t}\n\t\t\tvar titleString = $tw.utils.stringifyList(titles);\n\t\t\t// Check that we've something to drag\n\t\t\tif(titles.length &gt; 0 &amp;&amp; event.target === domNode) {\n\t\t\t\t// Mark the drag in progress\n\t\t\t\t$tw.dragInProgress = domNode;\n\t\t\t\t// Set the dragging class on the element being dragged\n\t\t\t\t$tw.utils.addClass(event.target,\&quot;tc-dragging\&quot;);\n\t\t\t\t// Invoke drag-start actions if given\n\t\t\t\tif(startActions !== undefined) {\n\t\t\t\t\toptions.widget.invokeActionString(startActions,options.widget,event,{actionTiddler: titleString});\n\t\t\t\t}\n\t\t\t\t// Create the drag image elements\n\t\t\t\tdragImage = options.widget.document.createElement(\&quot;div\&quot;);\n\t\t\t\tdragImage.className = \&quot;tc-tiddler-dragger\&quot;;\n\t\t\t\tvar inner = options.widget.document.createElement(\&quot;div\&quot;);\n\t\t\t\tinner.className = \&quot;tc-tiddler-dragger-inner\&quot;;\n\t\t\t\tinner.appendChild(options.widget.document.createTextNode(\n\t\t\t\t\ttitles.length === 1 ? \n\t\t\t\t\t\ttitles[0] :\n\t\t\t\t\t\ttitles.length + \&quot; tiddlers\&quot;\n\t\t\t\t));\n\t\t\t\tdragImage.appendChild(inner);\n\t\t\t\toptions.widget.document.body.appendChild(dragImage);\n\t\t\t\t// Set the data transfer properties\n\t\t\t\tvar dataTransfer = event.dataTransfer;\n\t\t\t\t// Set up the image\n\t\t\t\tdataTransfer.effectAllowed = \&quot;all\&quot;;\n\t\t\t\tif(dataTransfer.setDragImage) {\n\t\t\t\t\tif(dragImageType === \&quot;pill\&quot;) {\n\t\t\t\t\t\tdataTransfer.setDragImage(dragImage.firstChild,-16,-16);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tvar r = domNode.getBoundingClientRect();\n\t\t\t\t\t\tdataTransfer.setDragImage(domNode,event.clientX-r.left,event.clientY-r.top);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t// Set up the data transfer\n\t\t\t\tif(dataTransfer.clearData) {\n\t\t\t\t\tdataTransfer.clearData();\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tvar jsonData = [];\n\t\t\t\tif(titles.length &gt; 1) {\n\t\t\t\t\ttitles.forEach(function(title) {\n\t\t\t\t\t\tjsonData.push(options.widget.wiki.getTiddlerAsJson(title));\n\t\t\t\t\t});\n\t\t\t\t\tjsonData = \&quot;[\&quot; + jsonData.join(\&quot;,\&quot;) + \&quot;]\&quot;;\n\t\t\t\t} else {\n\t\t\t\t\tjsonData = options.widget.wiki.getTiddlerAsJson(titles[0]);\n\t\t\t\t}\n\t\t\t\t// IE doesn't like these content types\n\t\t\t\tif(!$tw.browser.isIE) {\n\t\t\t\t\tdataTransfer.setData(\&quot;
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;utils&quot;
},
&quot;$:/core/modules/utils/dom/http.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/utils/dom/http.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/utils/dom/http.js\ntype: application/javascript\nmodule-type: utils\n\nBrowser HTTP support\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nA quick and dirty HTTP function; to be refactored later. Options are:\n\turl: URL to retrieve\n\theaders: hashmap of headers to send\n\ttype: GET, PUT, POST etc\n\tcallback: function invoked with (err,data,xhr)\n\treturnProp: string name of the property to return as first argument of callback\n*/\nexports.httpRequest = function(options) {\n\tvar type = options.type || \&quot;GET\&quot;,\n\t\turl = options.url,\n\t\theaders = options.headers || {accept: \&quot;application/json\&quot;},\n\t\thasHeader = function(targetHeader) {\n\t\t\ttargetHeader = targetHeader.toLowerCase();\n\t\t\tvar result = false;\n\t\t\t$tw.utils.each(headers,function(header,headerTitle,object) {\n\t\t\t\tif(headerTitle.toLowerCase() === targetHeader) {\n\t\t\t\t\tresult = true;\n\t\t\t\t}\n\t\t\t});\n\t\t\treturn result;\n\t\t},\n\t\treturnProp = options.returnProp || \&quot;responseText\&quot;,\n\t\trequest = new XMLHttpRequest(),\n\t\tdata = \&quot;\&quot;,\n\t\tf,results;\n\t// Massage the data hashmap into a string\n\tif(options.data) {\n\t\tif(typeof options.data === \&quot;string\&quot;) { // Already a string\n\t\t\tdata = options.data;\n\t\t} else { // A hashmap of strings\n\t\t\tresults = [];\n\t\t\t$tw.utils.each(options.data,function(dataItem,dataItemTitle) {\n\t\t\t\tresults.push(dataItemTitle + \&quot;=\&quot; + encodeURIComponent(dataItem));\n\t\t\t});\n\t\t\tif(type === \&quot;GET\&quot; || type === \&quot;HEAD\&quot;) {\n\t\t\t\turl += \&quot;?\&quot; + results.join(\&quot;&amp;\&quot;);\n\t\t\t} else {\n\t\t\t\tdata = results.join(\&quot;&amp;\&quot;);\n\t\t\t}\n\t\t}\n\t}\n\t// Set up the state change handler\n\trequest.onreadystatechange = function() {\n\t\tif(this.readyState === 4) {\n\t\t\tif(this.status === 200 || this.status === 201 || this.status === 204) {\n\t\t\t\t// Success!\n\t\t\t\toptions.callback(null,this[returnProp],this);\n\t\t\t\treturn;\n\t\t\t}\n\t\t// Something went wrong\n\t\toptions.callback($tw.language.getString(\&quot;Error/XMLHttpRequest\&quot;) + \&quot;: \&quot; + this.status,null,this);\n\t\t}\n\t};\n\t// Make the request\n\trequest.open(type,url,true);\n\tif(headers) {\n\t\t$tw.utils.each(headers,function(header,headerTitle,object) {\n\t\t\trequest.setRequestHeader(headerTitle,header);\n\t\t});\n\t}\n\tif(data &amp;&amp; !hasHeader(\&quot;Content-Type\&quot;)) {\n\t\trequest.setRequestHeader(\&quot;Content-Type\&quot;,\&quot;application/x-www-form-urlencoded; charset=UTF-8\&quot;);\n\t}\n\tif(!hasHeader(\&quot;X-Requested-With\&quot;)) {\n\t\trequest.setRequestHeader(\&quot;X-Requested-With\&quot;,\&quot;TiddlyWiki\&quot;);\n\t}\n\ttry {\n\t\trequest.send(data);\n\t} catch(e) {\n\t\toptions.callback(e,null,this);\n\t}\n\treturn request;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;utils&quot;
},
&quot;$:/core/modules/utils/dom/keyboard.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/utils/dom/keyboard.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/utils/dom/keyboard.js\ntype: application/javascript\nmodule-type: utils\n\nKeyboard utilities; now deprecated. Instead, use $tw.keyboardManager\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n[\&quot;parseKeyDescriptor\&quot;,\&quot;checkKeyDescriptor\&quot;].forEach(function(method) {\n\texports[method] = function() {\n\t\tif($tw.keyboardManager) {\n\t\t\treturn $tw.keyboardManager[method].apply($tw.keyboardManager,Array.prototype.slice.call(arguments,0));\n\t\t} else {\n\t\t\treturn null\n\t\t}\n\t};\n});\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;utils&quot;
},
&quot;$:/core/modules/utils/dom/modal.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/utils/dom/modal.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/utils/dom/modal.js\ntype: application/javascript\nmodule-type: utils\n\nModal message mechanism\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;);\nvar navigator = require(\&quot;$:/core/modules/widgets/navigator.js\&quot;);\n\nvar Modal = function(wiki) {\n\tthis.wiki = wiki;\n\tthis.modalCount = 0;\n};\n\n/*\nDisplay a modal dialogue\n\ttitle: Title of tiddler to display\n\toptions: see below\nOptions include:\n\tdownloadLink: Text of a big download link to include\n*/\nModal.prototype.display = function(title,options) {\n\toptions = options || {};\n\tthis.srcDocument = options.variables &amp;&amp; (options.variables.rootwindow === \&quot;true\&quot; ||\n\t\t\t\toptions.variables.rootwindow === \&quot;yes\&quot;) ? document :\n\t\t\t\t(options.event.event &amp;&amp; options.event.event.target ? options.event.event.target.ownerDocument : document);\n\tthis.srcWindow = this.srcDocument.defaultView;\n\tvar self = this,\n\t\trefreshHandler,\n\t\tduration = $tw.utils.getAnimationDuration(),\n\t\ttiddler = this.wiki.getTiddler(title);\n\t// Don't do anything if the tiddler doesn't exist\n\tif(!tiddler) {\n\t\treturn;\n\t}\n\t// Create the variables\n\tvar variables = $tw.utils.extend({\n\t\t\tcurrentTiddler: title,\n\t\t\t\&quot;tv-story-list\&quot;: (options.event &amp;&amp; options.event.widget ? options.event.widget.getVariable(\&quot;tv-story-list\&quot;) : \&quot;\&quot;),\n\t\t\t\&quot;tv-history-list\&quot;: (options.event &amp;&amp; options.event.widget ? options.event.widget.getVariable(\&quot;tv-history-list\&quot;) : \&quot;\&quot;)\n\t\t},options.variables);\n\n\t// Create the wrapper divs\n\tvar wrapper = this.srcDocument.createElement(\&quot;div\&quot;),\n\t\tmodalBackdrop = this.srcDocument.createElement(\&quot;div\&quot;),\n\t\tmodalWrapper = this.srcDocument.createElement(\&quot;div\&quot;),\n\t\tmodalHeader = this.srcDocument.createElement(\&quot;div\&quot;),\n\t\theaderTitle = this.srcDocument.createElement(\&quot;h3\&quot;),\n\t\tmodalBody = this.srcDocument.createElement(\&quot;div\&quot;),\n\t\tmodalLink = this.srcDocument.createElement(\&quot;a\&quot;),\n\t\tmodalFooter = this.srcDocument.createElement(\&quot;div\&quot;),\n\t\tmodalFooterHelp = this.srcDocument.createElement(\&quot;span\&quot;),\n\t\tmodalFooterButtons = this.srcDocument.createElement(\&quot;span\&quot;);\n\t// Up the modal count and adjust the body class\n\tthis.modalCount++;\n\tthis.adjustPageClass();\n\t// Add classes\n\t$tw.utils.addClass(wrapper,\&quot;tc-modal-wrapper\&quot;);\n\tif(tiddler.fields &amp;&amp; tiddler.fields.class) {\n\t\t$tw.utils.addClass(wrapper,tiddler.fields.class);\n\t}\n\t$tw.utils.addClass(modalBackdrop,\&quot;tc-modal-backdrop\&quot;);\n\t$tw.utils.addClass(modalWrapper,\&quot;tc-modal\&quot;);\n\t$tw.utils.addClass(modalHeader,\&quot;tc-modal-header\&quot;);\n\t$tw.utils.addClass(modalBody,\&quot;tc-modal-body\&quot;);\n\t$tw.utils.addClass(modalFooter,\&quot;tc-modal-footer\&quot;);\n\t// Join them together\n\twrapper.appendChild(modalBackdrop);\n\twrapper.appendChild(modalWrapper);\n\tmodalHeader.appendChild(headerTitle);\n\tmodalWrapper.appendChild(modalHeader);\n\tmodalWrapper.appendChild(modalBody);\n\tmodalFooter.appendChild(modalFooterHelp);\n\tmodalFooter.appendChild(modalFooterButtons);\n\tmodalWrapper.appendChild(modalFooter);\n\tvar navigatorTree = {\n\t\t\&quot;type\&quot;: \&quot;navigator\&quot;,\n\t\t\&quot;attributes\&quot;: {\n\t\t\t\&quot;story\&quot;: {\n\t\t\t\t\&quot;name\&quot;: \&quot;story\&quot;,\n\t\t\t\t\&quot;type\&quot;: \&quot;string\&quot;,\n\t\t\t\t\&quot;value\&quot;: variables[\&quot;tv-story-list\&quot;]\n\t\t\t},\n\t\t\t\&quot;history\&quot;: {\n\t\t\t\t\&quot;name\&quot;: \&quot;history\&quot;,\n\t\t\t\t\&quot;type\&quot;: \&quot;string\&quot;,\n\t\t\t\t\&quot;value\&quot;: variables[\&quot;tv-history-list\&quot;]\n\t\t\t}\n\t\t},\n\t\t\&quot;tag\&quot;: \&quot;$navigat
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;utils&quot;
},
&quot;$:/core/modules/utils/dom/notifier.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/utils/dom/notifier.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/utils/dom/notifier.js\ntype: application/javascript\nmodule-type: utils\n\nNotifier mechanism\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;);\n\nvar Notifier = function(wiki) {\n\tthis.wiki = wiki;\n};\n\n/*\nDisplay a notification\n\ttitle: Title of tiddler containing the notification text\n\toptions: see below\nOptions include:\n*/\nNotifier.prototype.display = function(title,options) {\n\toptions = options || {};\n\t// Create the wrapper divs\n\tvar self = this,\n\t\tnotification = document.createElement(\&quot;div\&quot;),\n\t\ttiddler = this.wiki.getTiddler(title),\n\t\tduration = $tw.utils.getAnimationDuration(),\n\t\trefreshHandler;\n\t// Don't do anything if the tiddler doesn't exist\n\tif(!tiddler) {\n\t\treturn;\n\t}\n\t// Add classes\n\t$tw.utils.addClass(notification,\&quot;tc-notification\&quot;);\n\t// Create the variables\n\tvar variables = $tw.utils.extend({currentTiddler: title},options.variables);\n\t// Render the body of the notification\n\tvar widgetNode = this.wiki.makeTranscludeWidget(title,{\n\t\tparentWidget: $tw.rootWidget,\n\t\tdocument: document,\n\t\tvariables: variables,\n\t\timportPageMacros: true});\n\twidgetNode.render(notification,null);\n\trefreshHandler = function(changes) {\n\t\twidgetNode.refresh(changes,notification,null);\n\t};\n\tthis.wiki.addEventListener(\&quot;change\&quot;,refreshHandler);\n\t// Set the initial styles for the notification\n\t$tw.utils.setStyle(notification,[\n\t\t{opacity: \&quot;0\&quot;},\n\t\t{transformOrigin: \&quot;0% 0%\&quot;},\n\t\t{transform: \&quot;translateY(\&quot; + (-window.innerHeight) + \&quot;px)\&quot;},\n\t\t{transition: \&quot;opacity \&quot; + duration + \&quot;ms ease-out, \&quot; + $tw.utils.roundTripPropertyName(\&quot;transform\&quot;) + \&quot; \&quot; + duration + \&quot;ms ease-in-out\&quot;}\n\t]);\n\t// Add the notification to the DOM\n\tdocument.body.appendChild(notification);\n\t// Force layout\n\t$tw.utils.forceLayout(notification);\n\t// Set final animated styles\n\t$tw.utils.setStyle(notification,[\n\t\t{opacity: \&quot;1.0\&quot;},\n\t\t{transform: \&quot;translateY(0px)\&quot;}\n\t]);\n\t// Set a timer to remove the notification\n\twindow.setTimeout(function() {\n\t\t// Remove our change event handler\n\t\tself.wiki.removeEventListener(\&quot;change\&quot;,refreshHandler);\n\t\t// Force layout and animate the notification away\n\t\t$tw.utils.forceLayout(notification);\n\t\t$tw.utils.setStyle(notification,[\n\t\t\t{opacity: \&quot;0.0\&quot;},\n\t\t\t{transform: \&quot;translateX(\&quot; + (notification.offsetWidth) + \&quot;px)\&quot;}\n\t\t]);\n\t\t// Remove the modal message from the DOM once the transition ends\n\t\tsetTimeout(function() {\n\t\t\tif(notification.parentNode) {\n\t\t\t\tdocument.body.removeChild(notification);\n\t\t\t}\n\t\t},duration);\n\t},$tw.config.preferences.notificationDuration);\n};\n\nexports.Notifier = Notifier;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;utils&quot;
},
&quot;$:/core/modules/utils/dom/popup.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/utils/dom/popup.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/utils/dom/popup.js\ntype: application/javascript\nmodule-type: utils\n\nModule that creates a $tw.utils.Popup object prototype that manages popups in the browser\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nCreates a Popup object with these options:\n\trootElement: the DOM element to which the popup zapper should be attached\n*/\nvar Popup = function(options) {\n\toptions = options || {};\n\tthis.rootElement = options.rootElement || document.documentElement;\n\tthis.popups = []; // Array of {title:,wiki:,domNode:} objects\n};\n\n/*\nTrigger a popup open or closed. Parameters are in a hashmap:\n\ttitle: title of the tiddler where the popup details are stored\n\tdomNode: dom node to which the popup will be positioned (one of domNode or domNodeRect is required)\n\tdomNodeRect: rectangle to which the popup will be positioned\n\twiki: wiki\n\tforce: if specified, forces the popup state to true or false (instead of toggling it)\n\tfloating: if true, skips registering the popup, meaning that it will need manually clearing\n*/\nPopup.prototype.triggerPopup = function(options) {\n\t// Check if this popup is already active\n\tvar index = this.findPopup(options.title);\n\t// Compute the new state\n\tvar state = index === -1;\n\tif(options.force !== undefined) {\n\t\tstate = options.force;\n\t}\n\t// Show or cancel the popup according to the new state\n\tif(state) {\n\t\tthis.show(options);\n\t} else {\n\t\tthis.cancel(index);\n\t}\n};\n\nPopup.prototype.findPopup = function(title) {\n\tvar index = -1;\n\tfor(var t=0; t&lt;this.popups.length; t++) {\n\t\tif(this.popups[t].title === title) {\n\t\t\tindex = t;\n\t\t}\n\t}\n\treturn index;\n};\n\nPopup.prototype.handleEvent = function(event) {\n\tif(event.type === \&quot;click\&quot;) {\n\t\t// Find out what was clicked on\n\t\tvar info = this.popupInfo(event.target),\n\t\t\tcancelLevel = info.popupLevel - 1;\n\t\t// Don't remove the level that was clicked on if we clicked on a handle\n\t\tif(info.isHandle) {\n\t\t\tcancelLevel++;\n\t\t}\n\t\t// Cancel\n\t\tthis.cancel(cancelLevel);\n\t}\n};\n\n/*\nFind the popup level containing a DOM node. Returns:\npopupLevel: count of the number of nested popups containing the specified element\nisHandle: true if the specified element is within a popup handle\n*/\nPopup.prototype.popupInfo = function(domNode) {\n\tvar isHandle = false,\n\t\tpopupCount = 0,\n\t\tnode = domNode;\n\t// First check ancestors to see if we're within a popup handle\n\twhile(node) {\n\t\tif($tw.utils.hasClass(node,\&quot;tc-popup-handle\&quot;)) {\n\t\t\tisHandle = true;\n\t\t\tpopupCount++;\n\t\t}\n\t\tif($tw.utils.hasClass(node,\&quot;tc-popup-keep\&quot;)) {\n\t\t\tisHandle = true;\n\t\t}\n\t\tnode = node.parentNode;\n\t}\n\t// Then count the number of ancestor popups\n\tnode = domNode;\n\twhile(node) {\n\t\tif($tw.utils.hasClass(node,\&quot;tc-popup\&quot;)) {\n\t\t\tpopupCount++;\n\t\t}\n\t\tnode = node.parentNode;\n\t}\n\tvar info = {\n\t\tpopupLevel: popupCount,\n\t\tisHandle: isHandle\n\t};\n\treturn info;\n};\n\n/*\nDisplay a popup by adding it to the stack\n*/\nPopup.prototype.show = function(options) {\n\t// Find out what was clicked on\n\tvar info = this.popupInfo(options.domNode);\n\t// Cancel any higher level popups\n\tthis.cancel(info.popupLevel);\n\n\t// Store the popup details if not already there\n\tif(!options.floating &amp;&amp; this.findPopup(options.title) === -1) {\n\t\tthis.popups.push({\n\t\t\ttitle: options.title,\n\t\t\twiki: options.wiki,\n\t\t\tdomNode: options.domNode,\n\t\t\tnoStateReference: options.noStateReference\n\t\t});\n\t}\n\t// Set the state tiddler\n\tvar rect;\n\tif(options.domNodeRect) {\n\t\trect = options.domNodeRect;\n\t} else {\n\t\trect = {\n\t\t\tleft: options.domNode.offsetLeft,\n\t\t\ttop: options.domNode.offsetTop,\n\t\t\twidth: options.domNode.offsetWidth,\n\t\t\theight: options.domNode.offsetHeight\n\t\t};\n\t}\n\tvar popupRect = \&quot;(\&quot; + rect.left + \&quot;,\&quot; + rec
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;utils&quot;
},
&quot;$:/core/modules/utils/dom/scroller.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/utils/dom/scroller.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/utils/dom/scroller.js\ntype: application/javascript\nmodule-type: utils\n\nModule that creates a $tw.utils.Scroller object prototype that manages scrolling in the browser\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nEvent handler for when the `tm-scroll` event hits the document body\n*/\nvar PageScroller = function() {\n\tthis.idRequestFrame = null;\n\tthis.requestAnimationFrame = window.requestAnimationFrame ||\n\t\twindow.webkitRequestAnimationFrame ||\n\t\twindow.mozRequestAnimationFrame ||\n\t\tfunction(callback) {\n\t\t\treturn window.setTimeout(callback, 1000/60);\n\t\t};\n\tthis.cancelAnimationFrame = window.cancelAnimationFrame ||\n\t\twindow.webkitCancelAnimationFrame ||\n\t\twindow.webkitCancelRequestAnimationFrame ||\n\t\twindow.mozCancelAnimationFrame ||\n\t\twindow.mozCancelRequestAnimationFrame ||\n\t\tfunction(id) {\n\t\t\twindow.clearTimeout(id);\n\t\t};\n};\n\nPageScroller.prototype.isScrolling = function() {\n\treturn this.idRequestFrame !== null;\n}\n\nPageScroller.prototype.cancelScroll = function(srcWindow) {\n\tif(this.idRequestFrame) {\n\t\tthis.cancelAnimationFrame.call(srcWindow,this.idRequestFrame);\n\t\tthis.idRequestFrame = null;\n\t}\n};\n\n/*\nHandle an event\n*/\nPageScroller.prototype.handleEvent = function(event) {\n\tif(event.type === \&quot;tm-scroll\&quot;) {\n\t\tif(event.paramObject &amp;&amp; event.paramObject.selector) {\n\t\t\tthis.scrollSelectorIntoView(null,event.paramObject.selector);\n\t\t} else {\n\t\t\tthis.scrollIntoView(event.target);\t\t\t\n\t\t}\n\t\treturn false; // Event was handled\n\t}\n\treturn true;\n};\n\n/*\nHandle a scroll event hitting the page document\n*/\nPageScroller.prototype.scrollIntoView = function(element,callback) {\n\tvar self = this,\n\t\tduration = $tw.utils.getAnimationDuration(),\n\t srcWindow = element ? element.ownerDocument.defaultView : window;\n\t// Now get ready to scroll the body\n\tthis.cancelScroll(srcWindow);\n\tthis.startTime = Date.now();\n\t// Get the height of any position:fixed toolbars\n\tvar toolbar = srcWindow.document.querySelector(\&quot;.tc-adjust-top-of-scroll\&quot;),\n\t\toffset = 0;\n\tif(toolbar) {\n\t\toffset = toolbar.offsetHeight;\n\t}\n\t// Get the client bounds of the element and adjust by the scroll position\n\tvar getBounds = function() {\n\t\t\tvar clientBounds = typeof callback === 'function' ? callback() : element.getBoundingClientRect(),\n\t\t\t\tscrollPosition = $tw.utils.getScrollPosition(srcWindow);\n\t\t\treturn {\n\t\t\t\tleft: clientBounds.left + scrollPosition.x,\n\t\t\t\ttop: clientBounds.top + scrollPosition.y - offset,\n\t\t\t\twidth: clientBounds.width,\n\t\t\t\theight: clientBounds.height\n\t\t\t};\n\t\t},\n\t\t// We'll consider the horizontal and vertical scroll directions separately via this function\n\t\t// targetPos/targetSize - position and size of the target element\n\t\t// currentPos/currentSize - position and size of the current scroll viewport\n\t\t// returns: new position of the scroll viewport\n\t\tgetEndPos = function(targetPos,targetSize,currentPos,currentSize) {\n\t\t\tvar newPos = targetPos;\n\t\t\t// If we are scrolling within 50 pixels of the top/left then snap to zero\n\t\t\tif(newPos &lt; 50) {\n\t\t\t\tnewPos = 0;\n\t\t\t}\n\t\t\treturn newPos;\n\t\t},\n\t\tdrawFrame = function drawFrame() {\n\t\t\tvar t;\n\t\t\tif(duration &lt;= 0) {\n\t\t\t\tt = 1;\n\t\t\t} else {\n\t\t\t\tt = ((Date.now()) - self.startTime) / duration;\t\n\t\t\t}\n\t\t\tif(t &gt;= 1) {\n\t\t\t\tself.cancelScroll(srcWindow);\n\t\t\t\tt = 1;\n\t\t\t}\n\t\t\tt = $tw.utils.slowInSlowOut(t);\n\t\t\tvar scrollPosition = $tw.utils.getScrollPosition(srcWindow),\n\t\t\t\tbounds = getBounds(),\n\t\t\t\tendX = getEndPos(bounds.left,bounds.width,scrollPosition.x,srcWindow.innerWidth),\n\t\t\t\tendY = getEndPos(bounds.top,bounds.height,scrollPosition.y,srcWindow.innerHeight);\n\t\t\tsrcWindow.scrollTo(scrollPosition.x + (endX - scrollPosition.x) * t,scrollPosition.y + (endY - scr
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;utils&quot;
},
&quot;$:/core/modules/utils/edition-info.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/utils/edition-info.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/utils/edition-info.js\ntype: application/javascript\nmodule-type: utils-node\n\nInformation about the available editions\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar fs = require(\&quot;fs\&quot;),\n\tpath = require(\&quot;path\&quot;);\n\nvar editionInfo;\n\nexports.getEditionInfo = function() {\n\tif(!editionInfo) {\n\t\t// Enumerate the edition paths\n\t\tvar editionPaths = $tw.getLibraryItemSearchPaths($tw.config.editionsPath,$tw.config.editionsEnvVar);\n\t\teditionInfo = {};\n\t\tfor(var editionIndex=0; editionIndex&lt;editionPaths.length; editionIndex++) {\n\t\t\tvar editionPath = editionPaths[editionIndex];\n\t\t\t// Enumerate the folders\n\t\t\tvar entries = fs.readdirSync(editionPath);\n\t\t\tfor(var entryIndex=0; entryIndex&lt;entries.length; entryIndex++) {\n\t\t\t\tvar entry = entries[entryIndex];\n\t\t\t\t// Check if directories have a valid tiddlywiki.info\n\t\t\t\tif(!editionInfo[entry] &amp;&amp; $tw.utils.isDirectory(path.resolve(editionPath,entry))) {\n\t\t\t\t\tvar info;\n\t\t\t\t\ttry {\n\t\t\t\t\t\tinfo = JSON.parse(fs.readFileSync(path.resolve(editionPath,entry,\&quot;tiddlywiki.info\&quot;),\&quot;utf8\&quot;));\n\t\t\t\t\t} catch(ex) {\n\t\t\t\t\t}\n\t\t\t\t\tif(info) {\n\t\t\t\t\t\teditionInfo[entry] = info;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\treturn editionInfo;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;utils-node&quot;
},
&quot;$:/core/modules/utils/fakedom.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/utils/fakedom.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/utils/fakedom.js\ntype: application/javascript\nmodule-type: global\n\nA barebones implementation of DOM interfaces needed by the rendering mechanism.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n// Sequence number used to enable us to track objects for testing\nvar sequenceNumber = null;\n\nvar bumpSequenceNumber = function(object) {\n\tif(sequenceNumber !== null) {\n\t\tobject.sequenceNumber = sequenceNumber++;\n\t}\n};\n\nvar TW_Node = function (){\n\tthrow TypeError(\&quot;Illegal constructor\&quot;);\n};\n\nObject.defineProperty(TW_Node.prototype, 'ELEMENT_NODE', {\n\tget: function() {\n\t\treturn 1;\n\t}\n});\n\nObject.defineProperty(TW_Node.prototype, 'TEXT_NODE', {\n\tget: function() {\n\t\treturn 3;\n\t}\n});\n\nvar TW_TextNode = function(text) {\n\tbumpSequenceNumber(this);\n\tthis.textContent = text + \&quot;\&quot;;\n};\n\nTW_TextNode.prototype = Object.create(TW_Node.prototype);\n\nObject.defineProperty(TW_TextNode.prototype, \&quot;nodeType\&quot;, {\n\tget: function() {\n\t\treturn this.TEXT_NODE;\n\t}\n});\n\nObject.defineProperty(TW_TextNode.prototype, \&quot;formattedTextContent\&quot;, {\n\tget: function() {\n\t\treturn this.textContent.replace(/(\\r?\\n)/g,\&quot;\&quot;);\n\t}\n});\n\nvar TW_Element = function(tag,namespace) {\n\tbumpSequenceNumber(this);\n\tthis.isTiddlyWikiFakeDom = true;\n\tthis.tag = tag;\n\tthis.attributes = {};\n\tthis.isRaw = false;\n\tthis.children = [];\n\tthis._style = {};\n\tthis.namespaceURI = namespace || \&quot;http://www.w3.org/1999/xhtml\&quot;;\n};\n\nTW_Element.prototype = Object.create(TW_Node.prototype);\n\nObject.defineProperty(TW_Element.prototype, \&quot;style\&quot;, {\n\tget: function() {\n\t\treturn this._style;\n\t},\n\tset: function(str) {\n\t\tvar self = this;\n\t\tstr = str || \&quot;\&quot;;\n\t\t$tw.utils.each(str.split(\&quot;;\&quot;),function(declaration) {\n\t\t\tvar parts = declaration.split(\&quot;:\&quot;),\n\t\t\t\tname = $tw.utils.trim(parts[0]),\n\t\t\t\tvalue = $tw.utils.trim(parts[1]);\n\t\t\tif(name &amp;&amp; value) {\n\t\t\t\tself._style[$tw.utils.convertStyleNameToPropertyName(name)] = value;\n\t\t\t}\n\t\t});\n\t}\n});\n\nObject.defineProperty(TW_Element.prototype, \&quot;nodeType\&quot;, {\n\tget: function() {\n\t\treturn this.ELEMENT_NODE;\n\t}\n});\n\nTW_Element.prototype.getAttribute = function(name) {\n\tif(this.isRaw) {\n\t\tthrow \&quot;Cannot getAttribute on a raw TW_Element\&quot;;\n\t}\n\treturn this.attributes[name];\n};\n\nTW_Element.prototype.setAttribute = function(name,value) {\n\tif(this.isRaw) {\n\t\tthrow \&quot;Cannot setAttribute on a raw TW_Element\&quot;;\n\t}\n\tthis.attributes[name] = value + \&quot;\&quot;;\n};\n\nTW_Element.prototype.setAttributeNS = function(namespace,name,value) {\n\tthis.setAttribute(name,value);\n};\n\nTW_Element.prototype.removeAttribute = function(name) {\n\tif(this.isRaw) {\n\t\tthrow \&quot;Cannot removeAttribute on a raw TW_Element\&quot;;\n\t}\n\tif($tw.utils.hop(this.attributes,name)) {\n\t\tdelete this.attributes[name];\n\t}\n};\n\nTW_Element.prototype.appendChild = function(node) {\n\tthis.children.push(node);\n\tnode.parentNode = this;\n};\n\nTW_Element.prototype.insertBefore = function(node,nextSibling) {\n\tif(nextSibling) {\n\t\tvar p = this.children.indexOf(nextSibling);\n\t\tif(p !== -1) {\n\t\t\tthis.children.splice(p,0,node);\n\t\t\tnode.parentNode = this;\n\t\t} else {\n\t\t\tthis.appendChild(node);\n\t\t}\n\t} else {\n\t\tthis.appendChild(node);\n\t}\n};\n\nTW_Element.prototype.removeChild = function(node) {\n\tvar p = this.children.indexOf(node);\n\tif(p !== -1) {\n\t\tthis.children.splice(p,1);\n\t}\n};\n\nTW_Element.prototype.hasChildNodes = function() {\n\treturn !!this.children.length;\n};\n\nObject.defineProperty(TW_Element.prototype, \&quot;childNodes\&quot;, {\n\tget: function() {\n\t\treturn this.children;\n\t}\n});\n\nObject.defineProperty(TW_Element.prototype, \&quot;firstChild\&quot;, {\n\tget: function() {\n\t\treturn this
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;global&quot;
},
&quot;$:/core/modules/utils/filesystem.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/utils/filesystem.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/utils/filesystem.js\ntype: application/javascript\nmodule-type: utils-node\n\nFile system utilities\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar fs = require(\&quot;fs\&quot;),\n\tpath = require(\&quot;path\&quot;);\n\n/*\nReturn the subdirectories of a path\n*/\nexports.getSubdirectories = function(dirPath) {\n\tif(!$tw.utils.isDirectory(dirPath)) {\n\t\treturn null;\n\t}\n\tvar subdirs = [];\n\t$tw.utils.each(fs.readdirSync(dirPath),function(item) {\n\t\tif($tw.utils.isDirectory(path.resolve(dirPath,item))) {\n\t\t\tsubdirs.push(item);\n\t\t}\n\t});\n\treturn subdirs;\n}\n\n/*\nRecursively (and synchronously) copy a directory and all its content\n*/\nexports.copyDirectory = function(srcPath,dstPath) {\n\t// Remove any trailing path separators\n\tsrcPath = path.resolve($tw.utils.removeTrailingSeparator(srcPath));\n\tdstPath = path.resolve($tw.utils.removeTrailingSeparator(dstPath));\n\t// Check that neither director is within the other\n\tif(srcPath.substring(0,dstPath.length) === dstPath || dstPath.substring(0,srcPath.length) === srcPath) {\n\t\treturn \&quot;Cannot copy nested directories\&quot;;\n\t}\n\t// Create the destination directory\n\tvar err = $tw.utils.createDirectory(dstPath);\n\tif(err) {\n\t\treturn err;\n\t}\n\t// Function to copy a folder full of files\n\tvar copy = function(srcPath,dstPath) {\n\t\tvar srcStats = fs.lstatSync(srcPath),\n\t\t\tdstExists = fs.existsSync(dstPath);\n\t\tif(srcStats.isFile()) {\n\t\t\t$tw.utils.copyFile(srcPath,dstPath);\n\t\t} else if(srcStats.isDirectory()) {\n\t\t\tvar items = fs.readdirSync(srcPath);\n\t\t\tfor(var t=0; t&lt;items.length; t++) {\n\t\t\t\tvar item = items[t],\n\t\t\t\t\terr = copy(srcPath + path.sep + item,dstPath + path.sep + item);\n\t\t\t\tif(err) {\n\t\t\t\t\treturn err;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n\tcopy(srcPath,dstPath);\n\treturn null;\n};\n\n/*\nCopy a file\n*/\nvar FILE_BUFFER_LENGTH = 64 * 1024,\n\tfileBuffer;\n\nexports.copyFile = function(srcPath,dstPath) {\n\t// Create buffer if required\n\tif(!fileBuffer) {\n\t\tfileBuffer = Buffer.alloc(FILE_BUFFER_LENGTH);\n\t}\n\t// Create any directories in the destination\n\t$tw.utils.createDirectory(path.dirname(dstPath));\n\t// Copy the file\n\tvar srcFile = fs.openSync(srcPath,\&quot;r\&quot;),\n\t\tdstFile = fs.openSync(dstPath,\&quot;w\&quot;),\n\t\tbytesRead = 1,\n\t\tpos = 0;\n\twhile (bytesRead &gt; 0) {\n\t\tbytesRead = fs.readSync(srcFile,fileBuffer,0,FILE_BUFFER_LENGTH,pos);\n\t\tfs.writeSync(dstFile,fileBuffer,0,bytesRead);\n\t\tpos += bytesRead;\n\t}\n\tfs.closeSync(srcFile);\n\tfs.closeSync(dstFile);\n\treturn null;\n};\n\n/*\nRemove trailing path separator\n*/\nexports.removeTrailingSeparator = function(dirPath) {\n\tvar len = dirPath.length;\n\tif(dirPath.charAt(len-1) === path.sep) {\n\t\tdirPath = dirPath.substr(0,len-1);\n\t}\n\treturn dirPath;\n};\n\n/*\nRecursively create a directory\n*/\nexports.createDirectory = function(dirPath) {\n\tif(dirPath.substr(dirPath.length-1,1) !== path.sep) {\n\t\tdirPath = dirPath + path.sep;\n\t}\n\tvar pos = 1;\n\tpos = dirPath.indexOf(path.sep,pos);\n\twhile(pos !== -1) {\n\t\tvar subDirPath = dirPath.substr(0,pos);\n\t\tif(!$tw.utils.isDirectory(subDirPath)) {\n\t\t\ttry {\n\t\t\t\tfs.mkdirSync(subDirPath);\n\t\t\t} catch(e) {\n\t\t\t\treturn \&quot;Error creating directory '\&quot; + subDirPath + \&quot;'\&quot;;\n\t\t\t}\n\t\t}\n\t\tpos = dirPath.indexOf(path.sep,pos + 1);\n\t}\n\treturn null;\n};\n\n/*\nRecursively create directories needed to contain a specified file\n*/\nexports.createFileDirectories = function(filePath) {\n\treturn $tw.utils.createDirectory(path.dirname(filePath));\n};\n\n/*\nRecursively delete a directory\n*/\nexports.deleteDirectory = function(dirPath) {\n\tif(fs.existsSync(dirPath)) {\n\t\tvar entries = fs.readdirSync(dirPath);\n\t\tfor(var entryIndex=0; entryIndex&lt;entries.length; entryIndex++) {\n\t\t\tvar currPath = dirPath + path.sep + entries[entryIndex];\n\t\t\tif(fs.l
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;utils-node&quot;
},
&quot;$:/core/modules/utils/linkedlist.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/utils/linkedlist.js&quot;,
&quot;text&quot;: &quot;/*\\\nmodule-type: utils\ntitle: $:/core/modules/utils/linkedlist.js\ntype: application/javascript\n\nThis is a doubly-linked indexed list intended for manipulation, particularly\npushTop, which it does with significantly better performance than an array.\n\n\\*/\n(function(){\n\nfunction LinkedList() {\n\tthis.clear();\n};\n\nLinkedList.prototype.clear = function() {\n\tthis.index = Object.create(null);\n\t// LinkedList performs the duty of both the head and tail node\n\tthis.next = this;\n\tthis.prev = this;\n\tthis.length = 0;\n};\n\nLinkedList.prototype.remove = function(value) {\n\tif($tw.utils.isArray(value)) {\n\t\tfor(var t=0; t&lt;value.length; t++) {\n\t\t\t_removeOne(this,value[t]);\n\t\t}\n\t} else {\n\t\t_removeOne(this,value);\n\t}\n};\n\nLinkedList.prototype.push = function(/* values */) {\n\tfor(var i = 0; i &lt; arguments.length; i++) {\n\t\tvar value = arguments[i];\n\t\tvar node = {value: value};\n\t\tvar preexistingNode = this.index[value];\n\t\t_linkToEnd(this,node);\n\t\tif(preexistingNode) {\n\t\t\t// We want to keep pointing to the first instance, but we want\n\t\t\t// to have that instance (or chain of instances) point to the\n\t\t\t// new one.\n\t\t\twhile (preexistingNode.copy) {\n\t\t\t\tpreexistingNode = preexistingNode.copy;\n\t\t\t}\n\t\t\tpreexistingNode.copy = node;\n\t\t} else {\n\t\t\tthis.index[value] = node;\n\t\t}\n\t}\n};\n\nLinkedList.prototype.pushTop = function(value) {\n\tif($tw.utils.isArray(value)) {\n\t\tfor(var t=0; t&lt;value.length; t++) {\n\t\t\t_removeOne(this,value[t]);\n\t\t}\n\t\tthis.push.apply(this,value);\n\t} else {\n\t\tvar node = _removeOne(this,value);\n\t\tif(!node) {\n\t\t\tnode = {value: value};\n\t\t\tthis.index[value] = node;\n\t\t} else {\n\t\t\t// Put this node at the end of the copy chain.\n\t\t\tvar preexistingNode = node;\n\t\t\twhile(preexistingNode.copy) {\n\t\t\t\tpreexistingNode = preexistingNode.copy;\n\t\t\t}\n\t\t\t// The order of these three statements is important,\n\t\t\t// because sometimes preexistingNode == node.\n\t\t\tpreexistingNode.copy = node;\n\t\t\tthis.index[value] = node.copy;\n\t\t\tnode.copy = undefined;\n\t\t}\n\t\t_linkToEnd(this,node);\n\t}\n};\n\nLinkedList.prototype.each = function(callback) {\n\tfor(var ptr = this.next; ptr !== this; ptr = ptr.next) {\n\t\tcallback(ptr.value);\n\t}\n};\n\nLinkedList.prototype.toArray = function() {\n\tvar output = [];\n\tfor(var ptr = this.next; ptr !== this; ptr = ptr.next) {\n\t\toutput.push(ptr.value);\n\t}\n\treturn output;\n};\n\nfunction _removeOne(list,value) {\n\tvar node = list.index[value];\n\tif(node) {\n\t\tnode.prev.next = node.next;\n\t\tnode.next.prev = node.prev;\n\t\tlist.length -= 1;\n\t\t// Point index to the next instance of the same value, maybe nothing.\n\t\tlist.index[value] = node.copy;\n\t}\n\treturn node;\n};\n\nfunction _linkToEnd(list,node) {\n\t// Sticks the given node onto the end of the list.\n\tlist.prev.next = node;\n\tnode.prev = list.prev;\n\tlist.prev = node;\n\tnode.next = list;\n\tlist.length += 1;\n};\n\nexports.LinkedList = LinkedList;\n\n})();\n&quot;,
&quot;module-type&quot;: &quot;utils&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/core/modules/utils/logger.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/utils/logger.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/utils/logger.js\ntype: application/javascript\nmodule-type: utils\n\nA basic logging implementation\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar ALERT_TAG = \&quot;$:/tags/Alert\&quot;;\n\n/*\nMake a new logger\n*/\nfunction Logger(componentName,options) {\n\toptions = options || {};\n\tthis.componentName = componentName || \&quot;\&quot;;\n\tthis.colour = options.colour || \&quot;white\&quot;;\n\tthis.enable = \&quot;enable\&quot; in options ? options.enable : true;\n\tthis.save = \&quot;save\&quot; in options ? options.save : true;\n\tthis.saveLimit = options.saveLimit || 100 * 1024;\n\tthis.saveBufferLogger = this;\n\tthis.buffer = \&quot;\&quot;;\n\tthis.alertCount = 0;\n}\n\nLogger.prototype.setSaveBuffer = function(logger) {\n\tthis.saveBufferLogger = logger;\n};\n\n/*\nLog a message\n*/\nLogger.prototype.log = function(/* args */) {\n\tvar self = this;\n\tif(this.enable) {\n\t\tif(this.saveBufferLogger.save) {\n\t\t\tthis.saveBufferLogger.buffer += $tw.utils.formatDateString(new Date(),\&quot;YYYY MM DD 0hh:0mm:0ss.0XXX\&quot;) + \&quot;:\&quot;;\n\t\t\t$tw.utils.each(Array.prototype.slice.call(arguments,0),function(arg,index) {\n\t\t\t\tself.saveBufferLogger.buffer += \&quot; \&quot; + arg;\n\t\t\t});\n\t\t\tthis.saveBufferLogger.buffer += \&quot;\\n\&quot;;\n\t\t\tthis.saveBufferLogger.buffer = this.saveBufferLogger.buffer.slice(-this.saveBufferLogger.saveLimit);\t\t\t\n\t\t}\n\t\tif(console !== undefined &amp;&amp; console.log !== undefined) {\n\t\t\treturn Function.apply.call(console.log, console, [$tw.utils.terminalColour(this.colour),this.componentName + \&quot;:\&quot;].concat(Array.prototype.slice.call(arguments,0)).concat($tw.utils.terminalColour()));\n\t\t}\n\t} \n};\n\n/*\nRead the message buffer\n*/\nLogger.prototype.getBuffer = function() {\n\treturn this.saveBufferLogger.buffer;\n};\n\n/*\nLog a structure as a table\n*/\nLogger.prototype.table = function(value) {\n\t(console.table || console.log)(value);\n};\n\n/*\nAlert a message\n*/\nLogger.prototype.alert = function(/* args */) {\n\tif(this.enable) {\n\t\t// Prepare the text of the alert\n\t\tvar text = Array.prototype.join.call(arguments,\&quot; \&quot;);\n\t\t// Create alert tiddlers in the browser\n\t\tif($tw.browser) {\n\t\t\t// Check if there is an existing alert with the same text and the same component\n\t\t\tvar existingAlerts = $tw.wiki.getTiddlersWithTag(ALERT_TAG),\n\t\t\t\talertFields,\n\t\t\t\texistingCount,\n\t\t\t\tself = this;\n\t\t\t$tw.utils.each(existingAlerts,function(title) {\n\t\t\t\tvar tiddler = $tw.wiki.getTiddler(title);\n\t\t\t\tif(tiddler.fields.text === text &amp;&amp; tiddler.fields.component === self.componentName &amp;&amp; tiddler.fields.modified &amp;&amp; (!alertFields || tiddler.fields.modified &lt; alertFields.modified)) {\n\t\t\t\t\t\talertFields = $tw.utils.extend({},tiddler.fields);\n\t\t\t\t}\n\t\t\t});\n\t\t\tif(alertFields) {\n\t\t\t\texistingCount = alertFields.count || 1;\n\t\t\t} else {\n\t\t\t\talertFields = {\n\t\t\t\t\ttitle: $tw.wiki.generateNewTitle(\&quot;$:/temp/alerts/alert\&quot;,{prefix: \&quot;\&quot;}),\n\t\t\t\t\ttext: text,\n\t\t\t\t\ttags: [ALERT_TAG],\n\t\t\t\t\tcomponent: this.componentName\n\t\t\t\t};\n\t\t\t\texistingCount = 0;\n\t\t\t\tthis.alertCount += 1;\n\t\t\t}\n\t\t\talertFields.modified = new Date();\n\t\t\tif(++existingCount &gt; 1) {\n\t\t\t\talertFields.count = existingCount;\n\t\t\t} else {\n\t\t\t\talertFields.count = undefined;\n\t\t\t}\n\t\t\t$tw.wiki.addTiddler(new $tw.Tiddler(alertFields));\n\t\t\t// Log the alert as well\n\t\t\tthis.log.apply(this,Array.prototype.slice.call(arguments,0));\n\t\t} else {\n\t\t\t// Print an orange message to the console if not in the browser\n\t\t\tconsole.error(\&quot;\\x1b[1;33m\&quot; + text + \&quot;\\x1b[0m\&quot;);\n\t\t}\t\t\n\t}\n};\n\n/*\nClear outstanding alerts\n*/\nLogger.prototype.clearAlerts = function() {\n\tvar self = this;\n\tif($tw.browser &amp;&amp; this.alertCount &gt; 0) {\n\
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;utils&quot;
},
&quot;$:/core/modules/utils/parsetree.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/utils/parsetree.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/utils/parsetree.js\ntype: application/javascript\nmodule-type: utils\n\nParse tree utility functions.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.addAttributeToParseTreeNode = function(node,name,value) {\n\tnode.attributes = node.attributes || {};\n\tnode.attributes[name] = {type: \&quot;string\&quot;, value: value};\n};\n\nexports.getAttributeValueFromParseTreeNode = function(node,name,defaultValue) {\n\tif(node.attributes &amp;&amp; node.attributes[name] &amp;&amp; node.attributes[name].value !== undefined) {\n\t\treturn node.attributes[name].value;\n\t}\n\treturn defaultValue;\n};\n\nexports.addClassToParseTreeNode = function(node,classString) {\n\tvar classes = [];\n\tnode.attributes = node.attributes || {};\n\tnode.attributes[\&quot;class\&quot;] = node.attributes[\&quot;class\&quot;] || {type: \&quot;string\&quot;, value: \&quot;\&quot;};\n\tif(node.attributes[\&quot;class\&quot;].type === \&quot;string\&quot;) {\n\t\tif(node.attributes[\&quot;class\&quot;].value !== \&quot;\&quot;) {\n\t\t\tclasses = node.attributes[\&quot;class\&quot;].value.split(\&quot; \&quot;);\n\t\t}\n\t\tif(classString !== \&quot;\&quot;) {\n\t\t\t$tw.utils.pushTop(classes,classString.split(\&quot; \&quot;));\n\t\t}\n\t\tnode.attributes[\&quot;class\&quot;].value = classes.join(\&quot; \&quot;);\n\t}\n};\n\nexports.addStyleToParseTreeNode = function(node,name,value) {\n\t\tnode.attributes = node.attributes || {};\n\t\tnode.attributes.style = node.attributes.style || {type: \&quot;string\&quot;, value: \&quot;\&quot;};\n\t\tif(node.attributes.style.type === \&quot;string\&quot;) {\n\t\t\tnode.attributes.style.value += name + \&quot;:\&quot; + value + \&quot;;\&quot;;\n\t\t}\n};\n\nexports.findParseTreeNode = function(nodeArray,search) {\n\tfor(var t=0; t&lt;nodeArray.length; t++) {\n\t\tif(nodeArray[t].type === search.type &amp;&amp; nodeArray[t].tag === search.tag) {\n\t\t\treturn nodeArray[t];\n\t\t}\n\t}\n\treturn undefined;\n};\n\n/*\nHelper to get the text of a parse tree node or array of nodes\n*/\nexports.getParseTreeText = function getParseTreeText(tree) {\n\tvar output = [];\n\tif($tw.utils.isArray(tree)) {\n\t\t$tw.utils.each(tree,function(node) {\n\t\t\toutput.push(getParseTreeText(node));\n\t\t});\n\t} else {\n\t\tif(tree.type === \&quot;text\&quot;) {\n\t\t\toutput.push(tree.text);\n\t\t}\n\t\tif(tree.children) {\n\t\t\treturn getParseTreeText(tree.children);\n\t\t}\n\t}\n\treturn output.join(\&quot;\&quot;);\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;utils&quot;
},
&quot;$:/core/modules/utils/performance.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/utils/performance.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/utils/performance.js\ntype: application/javascript\nmodule-type: global\n\nPerformance measurement.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nfunction Performance(enabled) {\n\tthis.enabled = !!enabled;\n\tthis.measures = {}; // Hashmap by measurement name of {time:, invocations:}\n\tthis.logger = new $tw.utils.Logger(\&quot;performance\&quot;);\n\tthis.showGreeting();\n}\n\nPerformance.prototype.showGreeting = function() {\n\tif($tw.browser) {\n\t\tthis.logger.log(\&quot;Execute $tw.perf.log(); to see filter execution timings\&quot;);\t\t\n\t}\n};\n\n/*\nWrap performance reporting around a top level function\n*/\nPerformance.prototype.report = function(name,fn) {\n\tvar self = this;\n\tif(this.enabled) {\n\t\treturn function() {\n\t\t\tvar startTime = $tw.utils.timer(),\n\t\t\t\tresult = fn.apply(this,arguments);\n\t\t\tself.logger.log(name + \&quot;: \&quot; + $tw.utils.timer(startTime).toFixed(2) + \&quot;ms\&quot;);\n\t\t\treturn result;\n\t\t};\n\t} else {\n\t\treturn fn;\n\t}\n};\n\nPerformance.prototype.log = function() {\n\tvar self = this,\n\t\ttotalTime = 0,\n\t\torderedMeasures = Object.keys(this.measures).sort(function(a,b) {\n\t\t\tif(self.measures[a].time &gt; self.measures[b].time) {\n\t\t\t\treturn -1;\n\t\t\t} else if (self.measures[a].time &lt; self.measures[b].time) {\n\t\t\t\treturn + 1;\n\t\t\t} else {\n\t\t\t\treturn 0;\n\t\t\t}\n\t\t});\n\t$tw.utils.each(orderedMeasures,function(name) {\n\t\ttotalTime += self.measures[name].time;\n\t});\n\tvar results = []\n\t$tw.utils.each(orderedMeasures,function(name) {\n\t\tvar measure = self.measures[name];\n\t\tresults.push({name: name,invocations: measure.invocations, avgTime: measure.time / measure.invocations, totalTime: measure.time, percentTime: (measure.time / totalTime) * 100})\n\t});\n\tself.logger.table(results);\n};\n\n/*\nWrap performance measurements around a subfunction\n*/\nPerformance.prototype.measure = function(name,fn) {\n\tvar self = this;\n\tif(this.enabled) {\n\t\treturn function() {\n\t\t\tvar startTime = $tw.utils.timer(),\n\t\t\t\tresult = fn.apply(this,arguments);\n\t\t\tif(!(name in self.measures)) {\n\t\t\t\tself.measures[name] = {time: 0, invocations: 0};\n\t\t\t}\n\t\t\tself.measures[name].time += $tw.utils.timer(startTime);\n\t\t\tself.measures[name].invocations++;\n\t\t\treturn result;\n\t\t};\n\t} else {\n\t\treturn fn;\n\t}\n};\n\nexports.Performance = Performance;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;global&quot;
},
&quot;$:/core/modules/utils/pluginmaker.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/utils/pluginmaker.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/utils/pluginmaker.js\ntype: application/javascript\nmodule-type: utils\n\nA quick and dirty way to pack up plugins within the browser.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nRepack a plugin, and then delete any non-shadow payload tiddlers\n*/\nexports.repackPlugin = function(title,additionalTiddlers,excludeTiddlers) {\n\tadditionalTiddlers = additionalTiddlers || [];\n\texcludeTiddlers = excludeTiddlers || [];\n\t// Get the plugin tiddler\n\tvar pluginTiddler = $tw.wiki.getTiddler(title);\n\tif(!pluginTiddler) {\n\t\tthrow \&quot;No such tiddler as \&quot; + title;\n\t}\n\t// Extract the JSON\n\tvar jsonPluginTiddler;\n\ttry {\n\t\tjsonPluginTiddler = JSON.parse(pluginTiddler.fields.text);\n\t} catch(e) {\n\t\tthrow \&quot;Cannot parse plugin tiddler \&quot; + title + \&quot;\\n\&quot; + $tw.language.getString(\&quot;Error/Caption\&quot;) + \&quot;: \&quot; + e;\n\t}\n\t// Get the list of tiddlers\n\tvar tiddlers = Object.keys(jsonPluginTiddler.tiddlers);\n\t// Add the additional tiddlers\n\t$tw.utils.pushTop(tiddlers,additionalTiddlers);\n\t// Remove any excluded tiddlers\n\tfor(var t=tiddlers.length-1; t&gt;=0; t--) {\n\t\tif(excludeTiddlers.indexOf(tiddlers[t]) !== -1) {\n\t\t\ttiddlers.splice(t,1);\n\t\t}\n\t}\n\t// Pack up the tiddlers into a block of JSON\n\tvar plugins = {};\n\t$tw.utils.each(tiddlers,function(title) {\n\t\tvar tiddler = $tw.wiki.getTiddler(title),\n\t\t\tfields = {};\n\t\t$tw.utils.each(tiddler.fields,function (value,name) {\n\t\t\tfields[name] = tiddler.getFieldString(name);\n\t\t});\n\t\tplugins[title] = fields;\n\t});\n\t// Retrieve and bump the version number\n\tvar pluginVersion = $tw.utils.parseVersion(pluginTiddler.getFieldString(\&quot;version\&quot;) || \&quot;0.0.0\&quot;) || {\n\t\t\tmajor: \&quot;0\&quot;,\n\t\t\tminor: \&quot;0\&quot;,\n\t\t\tpatch: \&quot;0\&quot;\n\t\t};\n\tpluginVersion.patch++;\n\tvar version = pluginVersion.major + \&quot;.\&quot; + pluginVersion.minor + \&quot;.\&quot; + pluginVersion.patch;\n\tif(pluginVersion.prerelease) {\n\t\tversion += \&quot;-\&quot; + pluginVersion.prerelease;\n\t}\n\tif(pluginVersion.build) {\n\t\tversion += \&quot;+\&quot; + pluginVersion.build;\n\t}\n\t// Save the tiddler\n\t$tw.wiki.addTiddler(new $tw.Tiddler(pluginTiddler,{text: JSON.stringify({tiddlers: plugins},null,4), version: version}));\n\t// Delete any non-shadow constituent tiddlers\n\t$tw.utils.each(tiddlers,function(title) {\n\t\tif($tw.wiki.tiddlerExists(title)) {\n\t\t\t$tw.wiki.deleteTiddler(title);\n\t\t}\n\t});\n\t// Trigger an autosave\n\t$tw.rootWidget.dispatchEvent({type: \&quot;tm-auto-save-wiki\&quot;});\n\t// Return a heartwarming confirmation\n\treturn \&quot;Plugin \&quot; + title + \&quot; successfully saved\&quot;;\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;utils&quot;
},
&quot;$:/core/modules/utils/transliterate.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/utils/transliterate.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/utils/transliterate.js\ntype: application/javascript\nmodule-type: utils\n\nTransliteration static utility functions.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nTransliterate string to ASCII\n\n(Some pairs taken from http://semplicewebsites.com/removing-accents-javascript)\n*/\nexports.transliterationPairs = {\n\t\&quot;Á\&quot;:\&quot;A\&quot;,\n\t\&quot;Ă\&quot;:\&quot;A\&quot;,\n\t\&quot;Ắ\&quot;:\&quot;A\&quot;,\n\t\&quot;Ặ\&quot;:\&quot;A\&quot;,\n\t\&quot;Ằ\&quot;:\&quot;A\&quot;,\n\t\&quot;Ẳ\&quot;:\&quot;A\&quot;,\n\t\&quot;Ẵ\&quot;:\&quot;A\&quot;,\n\t\&quot;Ǎ\&quot;:\&quot;A\&quot;,\n\t\&quot;Â\&quot;:\&quot;A\&quot;,\n\t\&quot;Ấ\&quot;:\&quot;A\&quot;,\n\t\&quot;Ậ\&quot;:\&quot;A\&quot;,\n\t\&quot;Ầ\&quot;:\&quot;A\&quot;,\n\t\&quot;Ẩ\&quot;:\&quot;A\&quot;,\n\t\&quot;Ẫ\&quot;:\&quot;A\&quot;,\n\t\&quot;Ä\&quot;:\&quot;A\&quot;,\n\t\&quot;Ǟ\&quot;:\&quot;A\&quot;,\n\t\&quot;Ȧ\&quot;:\&quot;A\&quot;,\n\t\&quot;Ǡ\&quot;:\&quot;A\&quot;,\n\t\&quot;Ạ\&quot;:\&quot;A\&quot;,\n\t\&quot;Ȁ\&quot;:\&quot;A\&quot;,\n\t\&quot;À\&quot;:\&quot;A\&quot;,\n\t\&quot;Ả\&quot;:\&quot;A\&quot;,\n\t\&quot;Ȃ\&quot;:\&quot;A\&quot;,\n\t\&quot;Ā\&quot;:\&quot;A\&quot;,\n\t\&quot;Ą\&quot;:\&quot;A\&quot;,\n\t\&quot;Å\&quot;:\&quot;A\&quot;,\n\t\&quot;Ǻ\&quot;:\&quot;A\&quot;,\n\t\&quot;Ḁ\&quot;:\&quot;A\&quot;,\n\t\&quot;Ⱥ\&quot;:\&quot;A\&quot;,\n\t\&quot;Ã\&quot;:\&quot;A\&quot;,\n\t\&quot;Ꜳ\&quot;:\&quot;AA\&quot;,\n\t\&quot;Æ\&quot;:\&quot;AE\&quot;,\n\t\&quot;Ǽ\&quot;:\&quot;AE\&quot;,\n\t\&quot;Ǣ\&quot;:\&quot;AE\&quot;,\n\t\&quot;Ꜵ\&quot;:\&quot;AO\&quot;,\n\t\&quot;Ꜷ\&quot;:\&quot;AU\&quot;,\n\t\&quot;Ꜹ\&quot;:\&quot;AV\&quot;,\n\t\&quot;Ꜻ\&quot;:\&quot;AV\&quot;,\n\t\&quot;Ꜽ\&quot;:\&quot;AY\&quot;,\n\t\&quot;Ḃ\&quot;:\&quot;B\&quot;,\n\t\&quot;Ḅ\&quot;:\&quot;B\&quot;,\n\t\&quot;Ɓ\&quot;:\&quot;B\&quot;,\n\t\&quot;Ḇ\&quot;:\&quot;B\&quot;,\n\t\&quot;Ƀ\&quot;:\&quot;B\&quot;,\n\t\&quot;Ƃ\&quot;:\&quot;B\&quot;,\n\t\&quot;Ć\&quot;:\&quot;C\&quot;,\n\t\&quot;Č\&quot;:\&quot;C\&quot;,\n\t\&quot;Ç\&quot;:\&quot;C\&quot;,\n\t\&quot;Ḉ\&quot;:\&quot;C\&quot;,\n\t\&quot;Ĉ\&quot;:\&quot;C\&quot;,\n\t\&quot;Ċ\&quot;:\&quot;C\&quot;,\n\t\&quot;Ƈ\&quot;:\&quot;C\&quot;,\n\t\&quot;Ȼ\&quot;:\&quot;C\&quot;,\n\t\&quot;Ď\&quot;:\&quot;D\&quot;,\n\t\&quot;Ḑ\&quot;:\&quot;D\&quot;,\n\t\&quot;Ḓ\&quot;:\&quot;D\&quot;,\n\t\&quot;Ḋ\&quot;:\&quot;D\&quot;,\n\t\&quot;Ḍ\&quot;:\&quot;D\&quot;,\n\t\&quot;Ɗ\&quot;:\&quot;D\&quot;,\n\t\&quot;Ḏ\&quot;:\&quot;D\&quot;,\n\t\&quot;Dz\&quot;:\&quot;D\&quot;,\n\t\&quot;Dž\&quot;:\&quot;D\&quot;,\n\t\&quot;Đ\&quot;:\&quot;D\&quot;,\n\t\&quot;Ƌ\&quot;:\&quot;D\&quot;,\n\t\&quot;DZ\&quot;:\&quot;DZ\&quot;,\n\t\&quot;DŽ\&quot;:\&quot;DZ\&quot;,\n\t\&quot;É\&quot;:\&quot;E\&quot;,\n\t\&quot;Ĕ\&quot;:\&quot;E\&quot;,\n\t\&quot;Ě\&quot;:\&quot;E\&quot;,\n\t\&quot;Ȩ\&quot;:\&quot;E\&quot;,\n\t\&quot;Ḝ\&quot;:\&quot;E\&quot;,\n\t\&quot;Ê\&quot;:\&quot;E\&quot;,\n\t\&quot;Ế\&quot;:\&quot;E\&quot;,\n\t\&quot;Ệ\&quot;:\&quot;E\&quot;,\n\t\&quot;Ề\&quot;:\&quot;E\&quot;,\n\t\&quot;Ể\&quot;:\&quot;E\&quot;,\n\t\&quot;Ễ\&quot;:\&quot;E\&quot;,\n\t\&quot;Ḙ\&quot;:\&quot;E\&quot;,\n\t\&quot;Ë\&quot;:\&quot;E\&quot;,\n\t\&quot;Ė\&quot;:\&quot;E\&quot;,\n\t\&quot;Ẹ\&quot;:\&quot;E\&quot;,\n\t\&quot;Ȅ\&quot;:\&quot;E\&quot;,\n\t\&quot;È\&quot;:\&quot;E\&quot;,\n\t\&quot;Ẻ\&quot;:\&quot;E\&quot;,\n\t\&quot;Ȇ\&quot;:\&quot;E\&quot;,\n\t\&quot;Ē\&quot;:\&quot;E\&quot;,\n\t\&quot;Ḗ\&quot;:\&quot;E\&quot;,\n\t\&quot;Ḕ\&quot;:\&quot;E\&quot;,\n\t\&quot;Ę\&quot;:\&quot;E\&quot;,\n\t\&quot;Ɇ\&quot;:\&quot;E\&quot;,\n\t\&quot;Ẽ\&quot;:\&quot;E\&quot;,\n\t\&quot;Ḛ\&quot;:\&quot;E\&quot;,\n\t\&quot;\&quot;:\&quot;ET\&quot;,\n\t\&quot;Ḟ\&quot;:\&quot;F\&quot;,\n\t\&quot;Ƒ\&quot;:\&quot;F\&quot;,\n\t\&quot;Ǵ\&quot;:\&quot;G\&quot;,\n\t\&quot;Ğ\&quot;:\&quot;G\&quo
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;utils&quot;
},
&quot;$:/core/modules/utils/utils.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/utils/utils.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/utils/utils.js\ntype: application/javascript\nmodule-type: utils\n\nVarious static utility functions.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar base64utf8 = require(\&quot;$:/core/modules/utils/base64-utf8/base64-utf8.module.js\&quot;);\n\n/*\nDisplay a message, in colour if we're on a terminal\n*/\nexports.log = function(text,colour) {\n\tconsole.log($tw.node ? exports.terminalColour(colour) + text + exports.terminalColour() : text);\n};\n\nexports.terminalColour = function(colour) {\n\tif(!$tw.browser &amp;&amp; $tw.node &amp;&amp; process.stdout.isTTY) {\n\t\tif(colour) {\n\t\t\tvar code = exports.terminalColourLookup[colour];\n\t\t\tif(code) {\n\t\t\t\treturn \&quot;\\x1b[\&quot; + code + \&quot;m\&quot;;\n\t\t\t}\n\t\t} else {\n\t\t\treturn \&quot;\\x1b[0m\&quot;; // Cancel colour\n\t\t}\n\t}\n\treturn \&quot;\&quot;;\n};\n\nexports.terminalColourLookup = {\n\t\&quot;black\&quot;: \&quot;0;30\&quot;,\n\t\&quot;red\&quot;: \&quot;0;31\&quot;,\n\t\&quot;green\&quot;: \&quot;0;32\&quot;,\n\t\&quot;brown/orange\&quot;: \&quot;0;33\&quot;,\n\t\&quot;blue\&quot;: \&quot;0;34\&quot;,\n\t\&quot;purple\&quot;: \&quot;0;35\&quot;,\n\t\&quot;cyan\&quot;: \&quot;0;36\&quot;,\n\t\&quot;light gray\&quot;: \&quot;0;37\&quot;\n};\n\n/*\nDisplay a warning, in colour if we're on a terminal\n*/\nexports.warning = function(text) {\n\texports.log(text,\&quot;brown/orange\&quot;);\n};\n\n/*\nLog a table of name: value pairs\n*/\nexports.logTable = function(data) {\n\tif(console.table) {\n\t\tconsole.table(data);\n\t} else {\n\t\t$tw.utils.each(data,function(value,name) {\n\t\t\tconsole.log(name + \&quot;: \&quot; + value);\n\t\t});\n\t}\n}\n\n/*\nReturn the integer represented by the str (string).\nReturn the dflt (default) parameter if str is not a base-10 number.\n*/\nexports.getInt = function(str,deflt) {\n\tvar i = parseInt(str,10);\n\treturn isNaN(i) ? deflt : i;\n}\n\n/*\nRepeatedly replaces a substring within a string. Like String.prototype.replace, but without any of the default special handling of $ sequences in the replace string\n*/\nexports.replaceString = function(text,search,replace) {\n\treturn text.replace(search,function() {\n\t\treturn replace;\n\t});\n};\n\n/*\nRepeats a string\n*/\nexports.repeat = function(str,count) {\n\tvar result = \&quot;\&quot;;\n\tfor(var t=0;t&lt;count;t++) {\n\t\tresult += str;\n\t}\n\treturn result;\n};\n\n/*\nTrim whitespace from the start and end of a string\nThanks to Steven Levithan, http://blog.stevenlevithan.com/archives/faster-trim-javascript\n*/\nexports.trim = function(str) {\n\tif(typeof str === \&quot;string\&quot;) {\n\t\treturn str.replace(/^\\s\\s*/, '').replace(/\\s\\s*$/, '');\n\t} else {\n\t\treturn str;\n\t}\n};\n\nexports.trimPrefix = function(str,unwanted) {\n\tif(typeof str === \&quot;string\&quot; &amp;&amp; typeof unwanted === \&quot;string\&quot;) {\n\t\tif(unwanted === \&quot;\&quot;) {\n\t\t\treturn str.replace(/^\\s\\s*/, '');\n\t\t} else {\n\t\t\t// Safely regexp-escape the unwanted text\n\t\t\tunwanted = unwanted.replace(/[\\\\^$*+?.()|[\\]{}]/g, '\\\\$&amp;');\n\t\t\tvar regex = new RegExp('^(' + unwanted + ')+');\n\t\t\treturn str.replace(regex, '');\n\t\t}\n\t} else {\n\t\treturn str;\n\t}\n};\n\nexports.trimSuffix = function(str,unwanted) {\n\tif(typeof str === \&quot;string\&quot; &amp;&amp; typeof unwanted === \&quot;string\&quot;) {\n\t\tif(unwanted === \&quot;\&quot;) {\n\t\t\treturn str.replace(/\\s\\s*$/, '');\n\t\t} else {\n\t\t\t// Safely regexp-escape the unwanted text\n\t\t\tunwanted = unwanted.replace(/[\\\\^$*+?.()|[\\]{}]/g, '\\\\$&amp;');\n\t\t\tvar regex = new RegExp('(' + unwanted + ')+$');\n\t\t\treturn str.replace(regex, '');\n\t\t}\n\t} else {\n\t\treturn str;\n\t}\n};\n\n/*\nConvert a string to sentence case (ie capitalise first letter)\n*/\nexports.toSentenceCase = function(str) {\n\treturn (str || \&quot;\&quot;).replace(/^\\S/, function(c) {return c.toUpperCase();});\n}\n\n/*\nConvert a string
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;utils&quot;
},
&quot;$:/core/modules/widgets/action-confirm.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/action-confirm.js&quot;,
&quot;text&quot;: &quot;/*\\\n\ntitle: $:/core/modules/widgets/action-confirm.js\ntype: application/javascript\nmodule-type: widget\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\nvar ConfirmWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nConfirmWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nConfirmWidget.prototype.render = function(parent,nextSibling) {\n\tthis.computeAttributes();\n\tthis.execute();\n\tthis.parentDomNode = parent;\n\tthis.renderChildren(parent,nextSibling);\n};\n\n/*\nCompute the internal state of the widget\n*/\nConfirmWidget.prototype.execute = function() {\n\tthis.message = this.getAttribute(\&quot;$message\&quot;,$tw.language.getString(\&quot;ConfirmAction\&quot;));\n\tthis.prompt = (this.getAttribute(\&quot;$prompt\&quot;,\&quot;yes\&quot;) == \&quot;no\&quot; ? false : true);\n\tthis.makeChildWidgets();\n};\n\n/*\nRefresh the widget by ensuring our attributes are up to date\n*/\nConfirmWidget.prototype.refresh = function(changedTiddlers) {\n\tvar changedAttributes = this.computeAttributes();\n\tif(changedAttributes[\&quot;$message\&quot;] || changedAttributes[\&quot;$prompt\&quot;]) {\n\t\tthis.refreshSelf();\n\t\treturn true;\n\t}\n\treturn this.refreshChildren(changedTiddlers);\n};\n\n/*\nInvoke the action associated with this widget\n*/\nConfirmWidget.prototype.invokeAction = function(triggeringWidget,event) {\n\tvar invokeActions = true,\n\t\thandled = true;\n\tif(this.prompt) {\n\t\tinvokeActions = confirm(this.message);\n\t}\n\tif(invokeActions) {\n\t\thandled = this.invokeActions(triggeringWidget,event);\n\t}\n\treturn handled;\n};\n\nConfirmWidget.prototype.allowActionPropagation = function() {\n\treturn false;\n};\n\nexports[\&quot;action-confirm\&quot;] = ConfirmWidget;\n\n})();&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/action-createtiddler.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/action-createtiddler.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/action-createtiddler.js\ntype: application/javascript\nmodule-type: widget\n\nAction widget to create a new tiddler with a unique name and specified fields.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw:false, require:false, exports:false */\n\&quot;use strict\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\nvar CreateTiddlerWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nCreateTiddlerWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nCreateTiddlerWidget.prototype.render = function(parent,nextSibling) {\n\tthis.computeAttributes();\n\tthis.execute();\n};\n\n/*\nCompute the internal state of the widget\n*/\nCreateTiddlerWidget.prototype.execute = function() {\n\tthis.actionBaseTitle = this.getAttribute(\&quot;$basetitle\&quot;);\n\tthis.hasBase = !!this.actionBaseTitle;\n\tthis.actionSaveTitle = this.getAttribute(\&quot;$savetitle\&quot;);\n\tthis.actionSaveDraftTitle = this.getAttribute(\&quot;$savedrafttitle\&quot;);\n\tthis.actionTimestamp = this.getAttribute(\&quot;$timestamp\&quot;,\&quot;yes\&quot;) === \&quot;yes\&quot;;\n\t//Following params are new since 5.1.22\n\tthis.actionTemplate = this.getAttribute(\&quot;$template\&quot;);\n\tthis.useTemplate = !!this.actionTemplate;\n\tthis.actionOverwrite = this.getAttribute(\&quot;$overwrite\&quot;,\&quot;no\&quot;);\n\n};\n\n/*\nRefresh the widget by ensuring our attributes are up to date\n*/\nCreateTiddlerWidget.prototype.refresh = function(changedTiddlers) {\n\tvar changedAttributes = this.computeAttributes();\n\tif($tw.utils.count(changedAttributes) &gt; 0) {\n\t\tthis.refreshSelf();\n\t\treturn true;\n\t}\n\treturn this.refreshChildren(changedTiddlers);\n};\n\n/*\nInvoke the action associated with this widget\n*/\nCreateTiddlerWidget.prototype.invokeAction = function(triggeringWidget,event) {\n\tvar title = this.wiki.getTiddlerText(\&quot;$:/language/DefaultNewTiddlerTitle\&quot;), // Get the initial new-tiddler title\n\t\tfields = {},\n\t\tcreationFields,\n\t\tmodificationFields;\n\t$tw.utils.each(this.attributes,function(attribute,name) {\n\t\tif(name.charAt(0) !== \&quot;$\&quot;) {\n\t\t\tfields[name] = attribute;\n\t\t}\n\t});\n\tif(this.actionTimestamp) {\n\t\tcreationFields = this.wiki.getCreationFields();\n\t\tmodificationFields = this.wiki.getModificationFields();\n\t}\n\tif(this.hasBase &amp;&amp; this.actionOverwrite === \&quot;no\&quot;) {\n\t\ttitle = this.wiki.generateNewTitle(this.actionBaseTitle);\n\t} else if (this.hasBase &amp;&amp; this.actionOverwrite === \&quot;yes\&quot;) {\n\t\ttitle = this.actionBaseTitle\n\t}\n\t// NO $basetitle BUT $template parameter is available\n\t// the title MUST be unique, otherwise the template would be overwritten\n\tif (!this.hasBase &amp;&amp; this.useTemplate) {\n\t\ttitle = this.wiki.generateNewTitle(this.actionTemplate);\n\t} else if (!this.hasBase &amp;&amp; !this.useTemplate) {\n\t\t// If NO $basetitle AND NO $template use initial title\n\t\t// DON'T overwrite any stuff\n\t\ttitle = this.wiki.generateNewTitle(title);\n\t}\n\tvar templateTiddler = this.wiki.getTiddler(this.actionTemplate) || {};\n\tvar tiddler = this.wiki.addTiddler(new $tw.Tiddler(templateTiddler.fields,creationFields,fields,modificationFields,{title: title}));\n\tif(this.actionSaveTitle) {\n\t\tthis.wiki.setTextReference(this.actionSaveTitle,title,this.getVariable(\&quot;currentTiddler\&quot;));\n\t}\n\tif(this.actionSaveDraftTitle) {\n\t\tthis.wiki.setTextReference(this.actionSaveDraftTitle,this.wiki.generateDraftTitle(title),this.getVariable(\&quot;currentTiddler\&quot;));\n\t}\n\treturn true; // Action was invoked\n};\n\nexports[\&quot;action-createtiddler\&quot;] = CreateTiddlerWidget;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/action-deletefield.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/action-deletefield.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/action-deletefield.js\ntype: application/javascript\nmodule-type: widget\n\nAction widget to delete fields of a tiddler.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\nvar DeleteFieldWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nDeleteFieldWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nDeleteFieldWidget.prototype.render = function(parent,nextSibling) {\n\tthis.computeAttributes();\n\tthis.execute();\n};\n\n/*\nCompute the internal state of the widget\n*/\nDeleteFieldWidget.prototype.execute = function() {\n\tthis.actionTiddler = this.getAttribute(\&quot;$tiddler\&quot;,this.getVariable(\&quot;currentTiddler\&quot;));\n\tthis.actionField = this.getAttribute(\&quot;$field\&quot;);\n};\n\n/*\nRefresh the widget by ensuring our attributes are up to date\n*/\nDeleteFieldWidget.prototype.refresh = function(changedTiddlers) {\n\tvar changedAttributes = this.computeAttributes();\n\tif(changedAttributes[\&quot;$tiddler\&quot;]) {\n\t\tthis.refreshSelf();\n\t\treturn true;\n\t}\n\treturn this.refreshChildren(changedTiddlers);\n};\n\n/*\nInvoke the action associated with this widget\n*/\nDeleteFieldWidget.prototype.invokeAction = function(triggeringWidget,event) {\n\tvar self = this,\n\t\ttiddler = this.wiki.getTiddler(self.actionTiddler),\n\t\tremoveFields = {},\n\t\thasChanged = false;\n\tif(this.actionField &amp;&amp; tiddler) {\n\t\tremoveFields[this.actionField] = undefined;\n\t\tif(this.actionField in tiddler.fields) {\n\t\t\thasChanged = true;\n\t\t}\n\t}\n\tif(tiddler) {\n\t\t$tw.utils.each(this.attributes,function(attribute,name) {\n\t\t\tif(name.charAt(0) !== \&quot;$\&quot; &amp;&amp; name !== \&quot;title\&quot;) {\n\t\t\t\tremoveFields[name] = undefined;\n\t\t\t\thasChanged = true;\n\t\t\t}\n\t\t});\n\t\tif(hasChanged) {\n\t\t\tthis.wiki.addTiddler(new $tw.Tiddler(this.wiki.getCreationFields(),tiddler,removeFields,this.wiki.getModificationFields()));\t\t\t\n\t\t}\n\t}\n\treturn true; // Action was invoked\n};\n\nexports[\&quot;action-deletefield\&quot;] = DeleteFieldWidget;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/action-deletetiddler.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/action-deletetiddler.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/action-deletetiddler.js\ntype: application/javascript\nmodule-type: widget\n\nAction widget to delete a tiddler.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\nvar DeleteTiddlerWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nDeleteTiddlerWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nDeleteTiddlerWidget.prototype.render = function(parent,nextSibling) {\n\tthis.computeAttributes();\n\tthis.execute();\n};\n\n/*\nCompute the internal state of the widget\n*/\nDeleteTiddlerWidget.prototype.execute = function() {\n\tthis.actionFilter = this.getAttribute(\&quot;$filter\&quot;);\n\tthis.actionTiddler = this.getAttribute(\&quot;$tiddler\&quot;);\n};\n\n/*\nRefresh the widget by ensuring our attributes are up to date\n*/\nDeleteTiddlerWidget.prototype.refresh = function(changedTiddlers) {\n\tvar changedAttributes = this.computeAttributes();\n\tif(changedAttributes[\&quot;$filter\&quot;] || changedAttributes[\&quot;$tiddler\&quot;]) {\n\t\tthis.refreshSelf();\n\t\treturn true;\n\t}\n\treturn this.refreshChildren(changedTiddlers);\n};\n\n/*\nInvoke the action associated with this widget\n*/\nDeleteTiddlerWidget.prototype.invokeAction = function(triggeringWidget,event) {\n\tvar tiddlers = [];\n\tif(this.actionFilter) {\n\t\ttiddlers = this.wiki.filterTiddlers(this.actionFilter,this);\n\t}\n\tif(this.actionTiddler) {\n\t\ttiddlers.push(this.actionTiddler);\n\t}\n\tfor(var t=0; t&lt;tiddlers.length; t++) {\n\t\tthis.wiki.deleteTiddler(tiddlers[t]);\n\t}\n\treturn true; // Action was invoked\n};\n\nexports[\&quot;action-deletetiddler\&quot;] = DeleteTiddlerWidget;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/action-listops.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/action-listops.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/action-listops.js\ntype: application/javascript\nmodule-type: widget\n\nAction widget to apply list operations to any tiddler field (defaults to the 'list' field of the current tiddler)\n\n\\*/\n(function() {\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\nvar ActionListopsWidget = function(parseTreeNode, options) {\n\tthis.initialise(parseTreeNode, options);\n};\n/**\n * Inherit from the base widget class\n */\nActionListopsWidget.prototype = new Widget();\n/**\n * Render this widget into the DOM\n */\nActionListopsWidget.prototype.render = function(parent, nextSibling) {\n\tthis.computeAttributes();\n\tthis.execute();\n};\n/**\n * Compute the internal state of the widget\n */\nActionListopsWidget.prototype.execute = function() {\n\t// Get our parameters\n\tthis.target = this.getAttribute(\&quot;$tiddler\&quot;, this.getVariable(\n\t\t\&quot;currentTiddler\&quot;));\n\tthis.filter = this.getAttribute(\&quot;$filter\&quot;);\n\tthis.subfilter = this.getAttribute(\&quot;$subfilter\&quot;);\n\tthis.listField = this.getAttribute(\&quot;$field\&quot;, \&quot;list\&quot;);\n\tthis.listIndex = this.getAttribute(\&quot;$index\&quot;);\n\tthis.filtertags = this.getAttribute(\&quot;$tags\&quot;);\n};\n/**\n * \tRefresh the widget by ensuring our attributes are up to date\n */\nActionListopsWidget.prototype.refresh = function(changedTiddlers) {\n\tvar changedAttributes = this.computeAttributes();\n\tif(changedAttributes.$tiddler || changedAttributes.$filter ||\n\t\tchangedAttributes.$subfilter || changedAttributes.$field ||\n\t\tchangedAttributes.$index || changedAttributes.$tags) {\n\t\tthis.refreshSelf();\n\t\treturn true;\n\t}\n\treturn this.refreshChildren(changedTiddlers);\n};\n/**\n * \tInvoke the action associated with this widget\n */\nActionListopsWidget.prototype.invokeAction = function(triggeringWidget,\n\tevent) {\n\t//Apply the specified filters to the lists\n\tvar field = this.listField,\n\t\tindex,\n\t\ttype = \&quot;!!\&quot;,\n\t\tlist = this.listField;\n\tif(this.listIndex) {\n\t\tfield = undefined;\n\t\tindex = this.listIndex;\n\t\ttype = \&quot;##\&quot;;\n\t\tlist = this.listIndex;\n\t}\n\tif(this.filter) {\n\t\tthis.wiki.setText(this.target, field, index, $tw.utils.stringifyList(\n\t\t\tthis.wiki\n\t\t\t.filterTiddlers(this.filter, this)));\n\t}\n\tif(this.subfilter) {\n\t\tvar subfilter = \&quot;[list[\&quot; + this.target + type + list + \&quot;]] \&quot; + this.subfilter;\n\t\tthis.wiki.setText(this.target, field, index, $tw.utils.stringifyList(\n\t\t\tthis.wiki\n\t\t\t.filterTiddlers(subfilter, this)));\n\t}\n\tif(this.filtertags) {\n\t\tvar tiddler = this.wiki.getTiddler(this.target),\n\t\t\toldtags = tiddler ? (tiddler.fields.tags || []).slice(0) : [],\n\t\t\ttagfilter = \&quot;[list[\&quot; + this.target + \&quot;!!tags]] \&quot; + this.filtertags,\n\t\t\tnewtags = this.wiki.filterTiddlers(tagfilter,this);\n\t\tif($tw.utils.stringifyList(oldtags.sort()) !== $tw.utils.stringifyList(newtags.sort())) {\n\t\t\tthis.wiki.setText(this.target,\&quot;tags\&quot;,undefined,$tw.utils.stringifyList(newtags));\t\t\t\n\t\t}\n\t}\n\treturn true; // Action was invoked\n};\n\nexports[\&quot;action-listops\&quot;] = ActionListopsWidget;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/action-log.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/action-log.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/action-log.js\ntype: application/javascript\nmodule-type: widget\n\nAction widget to log debug messages\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\nvar LogWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nLogWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nLogWidget.prototype.render = function(parent,nextSibling) {\n\tthis.computeAttributes();\n\tthis.execute();\n};\n\nLogWidget.prototype.execute = function(){\n\tthis.message = this.getAttribute(\&quot;$$message\&quot;,\&quot;debug\&quot;);\n\tthis.logAll = this.getAttribute(\&quot;$$all\&quot;,\&quot;no\&quot;) === \&quot;yes\&quot; ? true : false;\n\tthis.filter = this.getAttribute(\&quot;$$filter\&quot;);\n}\n\n/*\nRefresh the widget by ensuring our attributes are up to date\n*/\nLogWidget.prototype.refresh = function(changedTiddlers) {\n\tthis.refreshSelf();\n\treturn true;\n};\n\n/*\nInvoke the action associated with this widget\n*/\nLogWidget.prototype.invokeAction = function(triggeringWidget,event) {\n\tthis.log();\n\treturn true; // Action was invoked\n};\n\nLogWidget.prototype.log = function() {\n\tvar data = {},\n\t\tdataCount,\n\t\tallVars = {},\n\t\tfilteredVars;\n\n\t$tw.utils.each(this.attributes,function(attribute,name) {\n\t\tif(name.substring(0,2) !== \&quot;$$\&quot;) {\n\t\t\tdata[name] = attribute;\n\t\t}\t\t\n\t});\n\n\tfor(var v in this.variables) {\n\t\tallVars[v] = this.getVariable(v,{defaultValue:\&quot;\&quot;});\n\t}\t\n\tif(this.filter) {\n\t\tfilteredVars = this.wiki.compileFilter(this.filter).call(this.wiki,this.wiki.makeTiddlerIterator(allVars));\n\t\t$tw.utils.each(filteredVars,function(name) {\n\t\t\tdata[name] = allVars[name];\n\t\t});\t\t\n\t}\n\tdataCount = $tw.utils.count(data);\n\n\tconsole.group(this.message);\n\tif(dataCount &gt; 0) {\n\t\t$tw.utils.logTable(data);\n\t}\n\tif(this.logAll || !dataCount) {\n\t\tconsole.groupCollapsed(\&quot;All variables\&quot;);\n\t\t$tw.utils.logTable(allVars);\n\t\tconsole.groupEnd();\n\t}\n\tconsole.groupEnd();\n}\n\nexports[\&quot;action-log\&quot;] = LogWidget;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/action-navigate.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/action-navigate.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/action-navigate.js\ntype: application/javascript\nmodule-type: widget\n\nAction widget to navigate to a tiddler\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\nvar NavigateWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nNavigateWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nNavigateWidget.prototype.render = function(parent,nextSibling) {\n\tthis.computeAttributes();\n\tthis.execute();\n};\n\n/*\nCompute the internal state of the widget\n*/\nNavigateWidget.prototype.execute = function() {\n\tthis.actionTo = this.getAttribute(\&quot;$to\&quot;);\n\tthis.actionScroll = this.getAttribute(\&quot;$scroll\&quot;);\n};\n\n/*\nRefresh the widget by ensuring our attributes are up to date\n*/\nNavigateWidget.prototype.refresh = function(changedTiddlers) {\n\tvar changedAttributes = this.computeAttributes();\n\tif(changedAttributes[\&quot;$to\&quot;] || changedAttributes[\&quot;$scroll\&quot;]) {\n\t\tthis.refreshSelf();\n\t\treturn true;\n\t}\n\treturn this.refreshChildren(changedTiddlers);\n};\n\n/*\nInvoke the action associated with this widget\n*/\nNavigateWidget.prototype.invokeAction = function(triggeringWidget,event) {\n\tevent = event || {};\n\tvar bounds = triggeringWidget &amp;&amp; triggeringWidget.getBoundingClientRect &amp;&amp; triggeringWidget.getBoundingClientRect(),\n\t\tsuppressNavigation = event.metaKey || event.ctrlKey || (event.button === 1);\n\tif(this.actionScroll === \&quot;yes\&quot;) {\n\t\tsuppressNavigation = false;\n\t} else if(this.actionScroll === \&quot;no\&quot;) {\n\t\tsuppressNavigation = true;\n\t}\n\tthis.dispatchEvent({\n\t\ttype: \&quot;tm-navigate\&quot;,\n\t\tnavigateTo: this.actionTo === undefined ? this.getVariable(\&quot;currentTiddler\&quot;) : this.actionTo,\n\t\tnavigateFromTitle: this.getVariable(\&quot;storyTiddler\&quot;),\n\t\tnavigateFromNode: triggeringWidget,\n\t\tnavigateFromClientRect: bounds &amp;&amp; { top: bounds.top, left: bounds.left, width: bounds.width, right: bounds.right, bottom: bounds.bottom, height: bounds.height\n\t\t},\n\t\tnavigateSuppressNavigation: suppressNavigation\n\t});\n\treturn true; // Action was invoked\n};\n\nexports[\&quot;action-navigate\&quot;] = NavigateWidget;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/action-popup.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/action-popup.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/action-popup.js\ntype: application/javascript\nmodule-type: widget\n\nAction widget to trigger a popup.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\nvar ActionPopupWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nActionPopupWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nActionPopupWidget.prototype.render = function(parent,nextSibling) {\n\tthis.computeAttributes();\n\tthis.execute();\n};\n\n/*\nCompute the internal state of the widget\n*/\nActionPopupWidget.prototype.execute = function() {\n\tthis.actionState = this.getAttribute(\&quot;$state\&quot;);\n\tthis.actionCoords = this.getAttribute(\&quot;$coords\&quot;);\n};\n\n/*\nRefresh the widget by ensuring our attributes are up to date\n*/\nActionPopupWidget.prototype.refresh = function(changedTiddlers) {\n\tvar changedAttributes = this.computeAttributes();\n\tif(changedAttributes[\&quot;$state\&quot;] || changedAttributes[\&quot;$coords\&quot;]) {\n\t\tthis.refreshSelf();\n\t\treturn true;\n\t}\n\treturn this.refreshChildren(changedTiddlers);\n};\n\n/*\nInvoke the action associated with this widget\n*/\nActionPopupWidget.prototype.invokeAction = function(triggeringWidget,event) {\n\t// Trigger the popup\n\tvar popupLocationRegExp = /^\\((-?[0-9\\.E]+),(-?[0-9\\.E]+),(-?[0-9\\.E]+),(-?[0-9\\.E]+)\\)$/,\n\t\tmatch = popupLocationRegExp.exec(this.actionCoords || \&quot;\&quot;);\n\tif(match) {\n\t\t$tw.popup.triggerPopup({\n\t\t\tdomNode: null,\n\t\t\tdomNodeRect: {\n\t\t\t\tleft: parseFloat(match[1]),\n\t\t\t\ttop: parseFloat(match[2]),\n\t\t\t\twidth: parseFloat(match[3]),\n\t\t\t\theight: parseFloat(match[4])\n\t\t\t},\n\t\t\ttitle: this.actionState,\n\t\t\twiki: this.wiki\n\t\t});\n\t} else {\n\t\t$tw.popup.cancel(0);\n\t}\n\treturn true; // Action was invoked\n};\n\nexports[\&quot;action-popup\&quot;] = ActionPopupWidget;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/action-sendmessage.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/action-sendmessage.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/action-sendmessage.js\ntype: application/javascript\nmodule-type: widget\n\nAction widget to send a message\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\nvar SendMessageWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nSendMessageWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nSendMessageWidget.prototype.render = function(parent,nextSibling) {\n\tthis.computeAttributes();\n\tthis.execute();\n};\n\n/*\nCompute the internal state of the widget\n*/\nSendMessageWidget.prototype.execute = function() {\n\tthis.actionMessage = this.getAttribute(\&quot;$message\&quot;);\n\tthis.actionParam = this.getAttribute(\&quot;$param\&quot;);\n\tthis.actionName = this.getAttribute(\&quot;$name\&quot;);\n\tthis.actionValue = this.getAttribute(\&quot;$value\&quot;,\&quot;\&quot;);\n};\n\n/*\nRefresh the widget by ensuring our attributes are up to date\n*/\nSendMessageWidget.prototype.refresh = function(changedTiddlers) {\n\tvar changedAttributes = this.computeAttributes();\n\tif(Object.keys(changedAttributes).length) {\n\t\tthis.refreshSelf();\n\t\treturn true;\n\t}\n\treturn this.refreshChildren(changedTiddlers);\n};\n\n/*\nInvoke the action associated with this widget\n*/\nSendMessageWidget.prototype.invokeAction = function(triggeringWidget,event) {\n\t// Get the string parameter\n\tvar param = this.actionParam;\n\t// Assemble the attributes as a hashmap\n\tvar paramObject = Object.create(null);\n\tvar count = 0;\n\t$tw.utils.each(this.attributes,function(attribute,name) {\n\t\tif(name.charAt(0) !== \&quot;$\&quot;) {\n\t\t\tparamObject[name] = attribute;\n\t\t\tcount++;\n\t\t}\n\t});\n\t// Add name/value pair if present\n\tif(this.actionName) {\n\t\tparamObject[this.actionName] = this.actionValue;\n\t}\n\t// Dispatch the message\n\tthis.dispatchEvent({\n\t\ttype: this.actionMessage,\n\t\tparam: param,\n\t\tparamObject: paramObject,\n\t\ttiddlerTitle: this.getVariable(\&quot;currentTiddler\&quot;),\n\t\tnavigateFromTitle: this.getVariable(\&quot;storyTiddler\&quot;),\n\t\tevent: event\n\t});\n\treturn true; // Action was invoked\n};\n\nexports[\&quot;action-sendmessage\&quot;] = SendMessageWidget;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/action-setfield.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/action-setfield.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/action-setfield.js\ntype: application/javascript\nmodule-type: widget\n\nAction widget to set a single field or index on a tiddler.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\nvar SetFieldWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nSetFieldWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nSetFieldWidget.prototype.render = function(parent,nextSibling) {\n\tthis.computeAttributes();\n\tthis.execute();\n};\n\n/*\nCompute the internal state of the widget\n*/\nSetFieldWidget.prototype.execute = function() {\n\tthis.actionTiddler = this.getAttribute(\&quot;$tiddler\&quot;,this.getVariable(\&quot;currentTiddler\&quot;));\n\tthis.actionField = this.getAttribute(\&quot;$field\&quot;);\n\tthis.actionIndex = this.getAttribute(\&quot;$index\&quot;);\n\tthis.actionValue = this.getAttribute(\&quot;$value\&quot;);\n\tthis.actionTimestamp = this.getAttribute(\&quot;$timestamp\&quot;,\&quot;yes\&quot;) === \&quot;yes\&quot;;\n};\n\n/*\nRefresh the widget by ensuring our attributes are up to date\n*/\nSetFieldWidget.prototype.refresh = function(changedTiddlers) {\n\tvar changedAttributes = this.computeAttributes();\n\tif(changedAttributes[\&quot;$tiddler\&quot;] || changedAttributes[\&quot;$field\&quot;] || changedAttributes[\&quot;$index\&quot;] || changedAttributes[\&quot;$value\&quot;]) {\n\t\tthis.refreshSelf();\n\t\treturn true;\n\t}\n\treturn this.refreshChildren(changedTiddlers);\n};\n\n/*\nInvoke the action associated with this widget\n*/\nSetFieldWidget.prototype.invokeAction = function(triggeringWidget,event) {\n\tvar self = this,\n\t\toptions = {};\n\toptions.suppressTimestamp = !this.actionTimestamp;\n\tif((typeof this.actionField == \&quot;string\&quot;) || (typeof this.actionIndex == \&quot;string\&quot;) || (typeof this.actionValue == \&quot;string\&quot;)) {\n\t\tthis.wiki.setText(this.actionTiddler,this.actionField,this.actionIndex,this.actionValue,options);\n\t}\n\t$tw.utils.each(this.attributes,function(attribute,name) {\n\t\tif(name.charAt(0) !== \&quot;$\&quot;) {\n\t\t\tself.wiki.setText(self.actionTiddler,name,undefined,attribute,options);\n\t\t}\n\t});\n\treturn true; // Action was invoked\n};\n\nexports[\&quot;action-setfield\&quot;] = SetFieldWidget;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/browse.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/browse.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/browse.js\ntype: application/javascript\nmodule-type: widget\n\nBrowse widget for browsing for files to import\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\nvar BrowseWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nBrowseWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nBrowseWidget.prototype.render = function(parent,nextSibling) {\n\tvar self = this;\n\t// Remember parent\n\tthis.parentDomNode = parent;\n\t// Compute attributes and execute state\n\tthis.computeAttributes();\n\tthis.execute();\n\t// Create element\n\tvar domNode = this.document.createElement(\&quot;input\&quot;);\n\tdomNode.setAttribute(\&quot;type\&quot;,\&quot;file\&quot;);\n\tif(this.browseMultiple) {\n\t\tdomNode.setAttribute(\&quot;multiple\&quot;,\&quot;multiple\&quot;);\n\t}\n\tif(this.tooltip) {\n\t\tdomNode.setAttribute(\&quot;title\&quot;,this.tooltip);\n\t}\n\t// Nw.js supports \&quot;nwsaveas\&quot; to force a \&quot;save as\&quot; dialogue that allows a new or existing file to be selected\n\tif(this.nwsaveas) {\n\t\tdomNode.setAttribute(\&quot;nwsaveas\&quot;,this.nwsaveas);\n\t}\n\tif(this.accept) {\n\t\tdomNode.setAttribute(\&quot;accept\&quot;,this.accept);\n\t}\n\t// Nw.js supports \&quot;webkitdirectory\&quot; and \&quot;nwdirectory\&quot; to allow a directory to be selected\n\tif(this.webkitdirectory) {\n\t\tdomNode.setAttribute(\&quot;webkitdirectory\&quot;,this.webkitdirectory);\n\t}\n\tif(this.nwdirectory) {\n\t\tdomNode.setAttribute(\&quot;nwdirectory\&quot;,this.nwdirectory);\n\t}\n\t// Add a click event handler\n\tdomNode.addEventListener(\&quot;change\&quot;,function (event) {\n\t\tif(self.message) {\n\t\t\tself.dispatchEvent({type: self.message, param: self.param, files: event.target.files});\n\t\t} else {\n\t\t\tself.wiki.readFiles(event.target.files,{\n\t\t\t\tcallback: function(tiddlerFieldsArray) {\n\t\t\t\t\tself.dispatchEvent({type: \&quot;tm-import-tiddlers\&quot;, param: JSON.stringify(tiddlerFieldsArray)});\n\t\t\t\t},\n\t\t\t\tdeserializer: self.deserializer\n\t\t\t});\n\t\t}\n\t\treturn false;\n\t},false);\n\t// Insert element\n\tparent.insertBefore(domNode,nextSibling);\n\tthis.renderChildren(domNode,null);\n\tthis.domNodes.push(domNode);\n};\n\n/*\nCompute the internal state of the widget\n*/\nBrowseWidget.prototype.execute = function() {\n\tthis.browseMultiple = this.getAttribute(\&quot;multiple\&quot;);\n\tthis.deserializer = this.getAttribute(\&quot;deserializer\&quot;);\n\tthis.message = this.getAttribute(\&quot;message\&quot;);\n\tthis.param = this.getAttribute(\&quot;param\&quot;);\n\tthis.tooltip = this.getAttribute(\&quot;tooltip\&quot;);\n\tthis.nwsaveas = this.getAttribute(\&quot;nwsaveas\&quot;);\n\tthis.accept = this.getAttribute(\&quot;accept\&quot;);\n\tthis.webkitdirectory = this.getAttribute(\&quot;webkitdirectory\&quot;);\n\tthis.nwdirectory = this.getAttribute(\&quot;nwdirectory\&quot;);\n};\n\n/*\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\n*/\nBrowseWidget.prototype.refresh = function(changedTiddlers) {\n\treturn false;\n};\n\nexports.browse = BrowseWidget;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/button.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/button.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/button.js\ntype: application/javascript\nmodule-type: widget\n\nButton widget\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\nvar ButtonWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nButtonWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nButtonWidget.prototype.render = function(parent,nextSibling) {\n\tvar self = this,\n\t\ttag = \&quot;button\&quot;,\n\t\tdomNode;\n\t// Remember parent\n\tthis.parentDomNode = parent;\n\t// Compute attributes and execute state\n\tthis.computeAttributes();\n\tthis.execute();\n\t// Create element\n\tif(this.buttonTag &amp;&amp; $tw.config.htmlUnsafeElements.indexOf(this.buttonTag) === -1) {\n\t\ttag = this.buttonTag;\n\t}\n\tdomNode = this.document.createElement(tag);\n\tthis.domNode = domNode;\n\t// Assign classes\n\tvar classes = this[\&quot;class\&quot;].split(\&quot; \&quot;) || [],\n\t\tisPoppedUp = (this.popup || this.popupTitle) &amp;&amp; this.isPoppedUp();\n\tif(this.selectedClass) {\n\t\tif((this.set || this.setTitle) &amp;&amp; this.setTo &amp;&amp; this.isSelected()) {\n\t\t\t$tw.utils.pushTop(classes,this.selectedClass.split(\&quot; \&quot;));\n\t\t}\n\t\tif(isPoppedUp) {\n\t\t\t$tw.utils.pushTop(classes,this.selectedClass.split(\&quot; \&quot;));\n\t\t}\n\t}\n\tif(isPoppedUp) {\n\t\t$tw.utils.pushTop(classes,\&quot;tc-popup-handle\&quot;);\n\t}\n\tdomNode.className = classes.join(\&quot; \&quot;);\n\t// Assign other attributes\n\tif(this.style) {\n\t\tdomNode.setAttribute(\&quot;style\&quot;,this.style);\n\t}\n\tif(this.tooltip) {\n\t\tdomNode.setAttribute(\&quot;title\&quot;,this.tooltip);\n\t}\n\tif(this[\&quot;aria-label\&quot;]) {\n\t\tdomNode.setAttribute(\&quot;aria-label\&quot;,this[\&quot;aria-label\&quot;]);\n\t}\n\t// Set the tabindex\n\tif(this.tabIndex) {\n\t\tdomNode.setAttribute(\&quot;tabindex\&quot;,this.tabIndex);\n\t}\n\tif(this.isDisabled === \&quot;yes\&quot;) {\n\t\tdomNode.setAttribute(\&quot;disabled\&quot;,true);\n\t}\n\t// Add a click event handler\n\tdomNode.addEventListener(\&quot;click\&quot;,function (event) {\n\t\tvar handled = false;\n\t\tif(self.invokeActions(self,event)) {\n\t\t\thandled = true;\n\t\t}\n\t\tif(self.to) {\n\t\t\tself.navigateTo(event);\n\t\t\thandled = true;\n\t\t}\n\t\tif(self.message) {\n\t\t\tself.dispatchMessage(event);\n\t\t\thandled = true;\n\t\t}\n\t\tif(self.popup || self.popupTitle) {\n\t\t\tself.triggerPopup(event);\n\t\t\thandled = true;\n\t\t}\n\t\tif(self.set || self.setTitle) {\n\t\t\tself.setTiddler();\n\t\t\thandled = true;\n\t\t}\n\t\tif(self.actions) {\n\t\t\tvar modifierKey = $tw.keyboardManager.getEventModifierKeyDescriptor(event);\n\t\t\tself.invokeActionString(self.actions,self,event,{modifier: modifierKey});\n\t\t}\n\t\tif(handled) {\n\t\t\tevent.preventDefault();\n\t\t\tevent.stopPropagation();\n\t\t}\n\t\treturn handled;\n\t},false);\n\t// Make it draggable if required\n\tif(this.dragTiddler || this.dragFilter) {\n\t\t$tw.utils.makeDraggable({\n\t\t\tdomNode: domNode,\n\t\t\tdragTiddlerFn: function() {return self.dragTiddler;},\n\t\t\tdragFilterFn: function() {return self.dragFilter;},\n\t\t\twidget: this\n\t\t});\n\t}\n\t// Insert element\n\tparent.insertBefore(domNode,nextSibling);\n\tthis.renderChildren(domNode,null);\n\tthis.domNodes.push(domNode);\n};\n\n/*\nWe don't allow actions to propagate because we trigger actions ourselves\n*/\nButtonWidget.prototype.allowActionPropagation = function() {\n\treturn false;\n};\n\nButtonWidget.prototype.getBoundingClientRect = function() {\n\treturn this.domNodes[0].getBoundingClientRect();\n};\n\nButtonWidget.prototype.isSelected = function() {\n return this.setTitle ? (this.setField ? this.wiki.getTiddler(this.setTitle).getFieldString(this.setField) === this.setTo :\n\t\t(this.setIndex ? this.wiki.extractTiddlerDataItem(
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/checkbox.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/checkbox.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/checkbox.js\ntype: application/javascript\nmodule-type: widget\n\nCheckbox widget\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\nvar CheckboxWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nCheckboxWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nCheckboxWidget.prototype.render = function(parent,nextSibling) {\n\t// Save the parent dom node\n\tthis.parentDomNode = parent;\n\t// Compute our attributes\n\tthis.computeAttributes();\n\t// Execute our logic\n\tthis.execute();\n\t// Create our elements\n\tthis.labelDomNode = this.document.createElement(\&quot;label\&quot;);\n\tthis.labelDomNode.setAttribute(\&quot;class\&quot;,this.checkboxClass);\n\tthis.inputDomNode = this.document.createElement(\&quot;input\&quot;);\n\tthis.inputDomNode.setAttribute(\&quot;type\&quot;,\&quot;checkbox\&quot;);\n\tif(this.getValue()) {\n\t\tthis.inputDomNode.setAttribute(\&quot;checked\&quot;,\&quot;true\&quot;);\n\t}\n\tif(this.isDisabled === \&quot;yes\&quot;) {\n\t\tthis.inputDomNode.setAttribute(\&quot;disabled\&quot;,true);\n\t}\n\tthis.labelDomNode.appendChild(this.inputDomNode);\n\tthis.spanDomNode = this.document.createElement(\&quot;span\&quot;);\n\tthis.labelDomNode.appendChild(this.spanDomNode);\n\t// Add a click event handler\n\t$tw.utils.addEventListeners(this.inputDomNode,[\n\t\t{name: \&quot;change\&quot;, handlerObject: this, handlerMethod: \&quot;handleChangeEvent\&quot;}\n\t]);\n\t// Insert the label into the DOM and render any children\n\tparent.insertBefore(this.labelDomNode,nextSibling);\n\tthis.renderChildren(this.spanDomNode,null);\n\tthis.domNodes.push(this.labelDomNode);\n};\n\nCheckboxWidget.prototype.getValue = function() {\n\tvar tiddler = this.wiki.getTiddler(this.checkboxTitle);\n\tif(tiddler) {\n\t\tif(this.checkboxTag) {\n\t\t\tif(this.checkboxInvertTag) {\n\t\t\t\treturn !tiddler.hasTag(this.checkboxTag);\n\t\t\t} else {\n\t\t\t\treturn tiddler.hasTag(this.checkboxTag);\n\t\t\t}\n\t\t}\n\t\tif(this.checkboxField) {\n\t\t\tvar value;\n\t\t\tif($tw.utils.hop(tiddler.fields,this.checkboxField)) {\n\t\t\t\tvalue = tiddler.fields[this.checkboxField] || \&quot;\&quot;;\n\t\t\t} else {\n\t\t\t\tvalue = this.checkboxDefault || \&quot;\&quot;;\n\t\t\t}\n\t\t\tif(value === this.checkboxChecked) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tif(value === this.checkboxUnchecked) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\tif(this.checkboxIndex) {\n\t\t\tvar value = this.wiki.extractTiddlerDataItem(tiddler,this.checkboxIndex,this.checkboxDefault || \&quot;\&quot;);\n\t\t\tif(value === this.checkboxChecked) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tif(value === this.checkboxUnchecked) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t} else {\n\t\tif(this.checkboxTag) {\n\t\t\treturn false;\n\t\t}\n\t\tif(this.checkboxField) {\n\t\t\tif(this.checkboxDefault === this.checkboxChecked) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tif(this.checkboxDefault === this.checkboxUnchecked) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t}\n\treturn false;\n};\n\nCheckboxWidget.prototype.handleChangeEvent = function(event) {\n\tvar checked = this.inputDomNode.checked,\n\t\ttiddler = this.wiki.getTiddler(this.checkboxTitle),\n\t\tfallbackFields = {text: \&quot;\&quot;},\n\t\tnewFields = {title: this.checkboxTitle},\n\t\thasChanged = false,\n\t\ttagCheck = false,\n\t\thasTag = tiddler &amp;&amp; tiddler.hasTag(this.checkboxTag),\n\t\tvalue = checked ? this.checkboxChecked : this.checkboxUnchecked;\n\tif(this.checkboxTag &amp;&amp; this.checkboxInvertTag === \&quot;yes\&quot;) {\n\t\ttagCheck = hasTag === checked;\n\t} else {\n\t\ttagCheck = hasTag !== checked;\n\t}\n\t// Set the tag if specified\n\tif(this.checkboxTag &amp;&amp; (!tiddler || tagCheck)) {\n\t\tnewFields.tags = tiddler ? (tiddler.fields.tags || []).slice(0) : [
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/codeblock.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/codeblock.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/codeblock.js\ntype: application/javascript\nmodule-type: widget\n\nCode block node widget\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\nvar CodeBlockWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nCodeBlockWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nCodeBlockWidget.prototype.render = function(parent,nextSibling) {\n\tthis.parentDomNode = parent;\n\tthis.computeAttributes();\n\tthis.execute();\n\tvar codeNode = this.document.createElement(\&quot;code\&quot;),\n\t\tdomNode = this.document.createElement(\&quot;pre\&quot;);\n\tcodeNode.appendChild(this.document.createTextNode(this.getAttribute(\&quot;code\&quot;)));\n\tdomNode.appendChild(codeNode);\n\tparent.insertBefore(domNode,nextSibling);\n\tthis.domNodes.push(domNode);\n\tif(this.postRender) {\n\t\tthis.postRender();\n\t}\n};\n\n/*\nCompute the internal state of the widget\n*/\nCodeBlockWidget.prototype.execute = function() {\n\tthis.language = this.getAttribute(\&quot;language\&quot;);\n};\n\n/*\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\n*/\nCodeBlockWidget.prototype.refresh = function(changedTiddlers) {\n\treturn false;\n};\n\nexports.codeblock = CodeBlockWidget;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/count.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/count.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/count.js\ntype: application/javascript\nmodule-type: widget\n\nCount widget\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\nvar CountWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nCountWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nCountWidget.prototype.render = function(parent,nextSibling) {\n\tthis.parentDomNode = parent;\n\tthis.computeAttributes();\n\tthis.execute();\n\tvar textNode = this.document.createTextNode(this.currentCount);\n\tparent.insertBefore(textNode,nextSibling);\n\tthis.domNodes.push(textNode);\n};\n\n/*\nCompute the internal state of the widget\n*/\nCountWidget.prototype.execute = function() {\n\t// Get parameters from our attributes\n\tthis.filter = this.getAttribute(\&quot;filter\&quot;);\n\t// Execute the filter\n\tif(this.filter) {\n\t\tthis.currentCount = this.wiki.filterTiddlers(this.filter,this).length;\n\t} else {\n\t\tthis.currentCount = \&quot;0\&quot;;\n\t}\n};\n\n/*\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\n*/\nCountWidget.prototype.refresh = function(changedTiddlers) {\n\t// Re-execute the filter to get the count\n\tthis.computeAttributes();\n\tvar oldCount = this.currentCount;\n\tthis.execute();\n\tif(this.currentCount !== oldCount) {\n\t\t// Regenerate and rerender the widget and replace the existing DOM node\n\t\tthis.refreshSelf();\n\t\treturn true;\n\t} else {\n\t\treturn false;\n\t}\n\n};\n\nexports.count = CountWidget;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/diff-text.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/diff-text.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/diff-text.js\ntype: application/javascript\nmodule-type: widget\n\nWidget to display a diff between two texts\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget,\n\tdmp = require(\&quot;$:/core/modules/utils/diff-match-patch/diff_match_patch.js\&quot;);\n\nvar DiffTextWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nDiffTextWidget.prototype = new Widget();\n\nDiffTextWidget.prototype.invisibleCharacters = {\n\t\&quot;\\n\&quot;: \&quot;↩︎\\n\&quot;,\n\t\&quot;\\r\&quot;: \&quot;⇠\&quot;,\n\t\&quot;\\t\&quot;: \&quot;⇥\\t\&quot;\n};\n\n/*\nRender this widget into the DOM\n*/\nDiffTextWidget.prototype.render = function(parent,nextSibling) {\n\tthis.parentDomNode = parent;\n\tthis.computeAttributes();\n\tthis.execute();\n\t// Create the diff\n\tvar dmpObject = new dmp.diff_match_patch(),\n\t\tdiffs = dmpObject.diff_main(this.getAttribute(\&quot;source\&quot;),this.getAttribute(\&quot;dest\&quot;));\n\t// Apply required cleanup\n\tswitch(this.getAttribute(\&quot;cleanup\&quot;,\&quot;semantic\&quot;)) {\n\t\tcase \&quot;none\&quot;:\n\t\t\t// No cleanup\n\t\t\tbreak;\n\t\tcase \&quot;efficiency\&quot;:\n\t\t\tdmpObject.diff_cleanupEfficiency(diffs);\n\t\t\tbreak;\n\t\tdefault: // case \&quot;semantic\&quot;\n\t\t\tdmpObject.diff_cleanupSemantic(diffs);\n\t\t\tbreak;\n\t}\n\t// Create the elements\n\tvar domContainer = this.document.createElement(\&quot;div\&quot;), \n\t\tdomDiff = this.createDiffDom(diffs);\n\tparent.insertBefore(domContainer,nextSibling);\n\t// Set variables\n\tthis.setVariable(\&quot;diff-count\&quot;,diffs.reduce(function(acc,diff) {\n\t\tif(diff[0] !== dmp.DIFF_EQUAL) {\n\t\t\tacc++;\n\t\t}\n\t\treturn acc;\n\t},0).toString());\n\t// Render child widgets\n\tthis.renderChildren(domContainer,null);\n\t// Render the diff\n\tdomContainer.appendChild(domDiff);\n\t// Save our container\n\tthis.domNodes.push(domContainer);\n};\n\n/*\nCreate DOM elements representing a list of diffs\n*/\nDiffTextWidget.prototype.createDiffDom = function(diffs) {\n\tvar self = this;\n\t// Create the element and assign the attributes\n\tvar domPre = this.document.createElement(\&quot;pre\&quot;),\n\t\tdomCode = this.document.createElement(\&quot;code\&quot;);\n\t$tw.utils.each(diffs,function(diff) {\n\t\tvar tag = diff[0] === dmp.DIFF_INSERT ? \&quot;ins\&quot; : (diff[0] === dmp.DIFF_DELETE ? \&quot;del\&quot; : \&quot;span\&quot;),\n\t\t\tclassName = diff[0] === dmp.DIFF_INSERT ? \&quot;tc-diff-insert\&quot; : (diff[0] === dmp.DIFF_DELETE ? \&quot;tc-diff-delete\&quot; : \&quot;tc-diff-equal\&quot;),\n\t\t\tdom = self.document.createElement(tag),\n\t\t\ttext = diff[1],\n\t\t\tcurrPos = 0,\n\t\t\tre = /([\\x00-\\x1F])/mg,\n\t\t\tmatch = re.exec(text),\n\t\t\tspan,\n\t\t\tprintable;\n\t\tdom.className = className;\n\t\twhile(match) {\n\t\t\tif(currPos &lt; match.index) {\n\t\t\t\tdom.appendChild(self.document.createTextNode(text.slice(currPos,match.index)));\n\t\t\t}\n\t\t\tspan = self.document.createElement(\&quot;span\&quot;);\n\t\t\tspan.className = \&quot;tc-diff-invisible\&quot;;\n\t\t\tprintable = self.invisibleCharacters[match[0]] || (\&quot;[0x\&quot; + match[0].charCodeAt(0).toString(16) + \&quot;]\&quot;);\n\t\t\tspan.appendChild(self.document.createTextNode(printable));\n\t\t\tdom.appendChild(span);\n\t\t\tcurrPos = match.index + match[0].length;\n\t\t\tmatch = re.exec(text);\n\t\t}\n\t\tif(currPos &lt; text.length) {\n\t\t\tdom.appendChild(self.document.createTextNode(text.slice(currPos)));\n\t\t}\n\t\tdomCode.appendChild(dom);\n\t});\n\tdomPre.appendChild(domCode);\n\treturn domPre;\n};\n\n/*\nCompute the internal state of the widget\n*/\nDiffTextWidget.prototype.execute = function() {\n\t// Make child widgets\n\tvar parseTreeNodes;\n\tif(this.parseTreeNode &amp;&amp; this.parseTreeNode.children &amp;&amp; this
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/draggable.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/draggable.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/draggable.js\ntype: application/javascript\nmodule-type: widget\n\nDraggable widget\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\nvar DraggableWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nDraggableWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nDraggableWidget.prototype.render = function(parent,nextSibling) {\n\tvar self = this;\n\t// Save the parent dom node\n\tthis.parentDomNode = parent;\n\t// Compute our attributes\n\tthis.computeAttributes();\n\t// Execute our logic\n\tthis.execute();\n\t// Sanitise the specified tag\n\tvar tag = this.draggableTag;\n\tif($tw.config.htmlUnsafeElements.indexOf(tag) !== -1) {\n\t\ttag = \&quot;div\&quot;;\n\t}\n\t// Create our element\n\tvar domNode = this.document.createElement(tag);\n\t// Assign classes\n\tvar classes = [\&quot;tc-draggable\&quot;];\n\tif(this.draggableClasses) {\n\t\tclasses.push(this.draggableClasses);\n\t}\n\tdomNode.setAttribute(\&quot;class\&quot;,classes.join(\&quot; \&quot;));\n\t// Add event handlers\n\t$tw.utils.makeDraggable({\n\t\tdomNode: domNode,\n\t\tdragTiddlerFn: function() {return self.getAttribute(\&quot;tiddler\&quot;);},\n\t\tdragFilterFn: function() {return self.getAttribute(\&quot;filter\&quot;);},\n\t\tstartActions: self.startActions,\n\t\tendActions: self.endActions,\n\t\twidget: this\n\t});\n\t// Insert the link into the DOM and render any children\n\tparent.insertBefore(domNode,nextSibling);\n\tthis.renderChildren(domNode,null);\n\tthis.domNodes.push(domNode);\n};\n\n/*\nCompute the internal state of the widget\n*/\nDraggableWidget.prototype.execute = function() {\n\t// Pick up our attributes\n\tthis.draggableTag = this.getAttribute(\&quot;tag\&quot;,\&quot;div\&quot;);\n\tthis.draggableClasses = this.getAttribute(\&quot;class\&quot;);\n\tthis.startActions = this.getAttribute(\&quot;startactions\&quot;);\n\tthis.endActions = this.getAttribute(\&quot;endactions\&quot;);\n\t// Make the child widgets\n\tthis.makeChildWidgets();\n};\n\n/*\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\n*/\nDraggableWidget.prototype.refresh = function(changedTiddlers) {\n\tvar changedAttributes = this.computeAttributes();\n\tif(changedAttributes.tag || changedAttributes[\&quot;class\&quot;]) {\n\t\tthis.refreshSelf();\n\t\treturn true;\n\t}\n\treturn this.refreshChildren(changedTiddlers);\n};\n\nexports.draggable = DraggableWidget;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/droppable.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/droppable.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/droppable.js\ntype: application/javascript\nmodule-type: widget\n\nDroppable widget\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\nvar DroppableWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nDroppableWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nDroppableWidget.prototype.render = function(parent,nextSibling) {\n\tvar self = this,\n\t\ttag = this.parseTreeNode.isBlock ? \&quot;div\&quot; : \&quot;span\&quot;,\n\t\tdomNode;\n\t// Remember parent\n\tthis.parentDomNode = parent;\n\t// Compute attributes and execute state\n\tthis.computeAttributes();\n\tthis.execute();\n\tif(this.droppableTag &amp;&amp; $tw.config.htmlUnsafeElements.indexOf(this.droppableTag) === -1) {\n\t\ttag = this.droppableTag;\n\t}\n\t// Create element and assign classes\n\tdomNode = this.document.createElement(tag);\n\tthis.domNode = domNode;\n\tthis.assignDomNodeClasses();\n\t// Add event handlers\n\tif(this.droppableEnable) {\n\t\t$tw.utils.addEventListeners(domNode,[\n\t\t\t{name: \&quot;dragenter\&quot;, handlerObject: this, handlerMethod: \&quot;handleDragEnterEvent\&quot;},\n\t\t\t{name: \&quot;dragover\&quot;, handlerObject: this, handlerMethod: \&quot;handleDragOverEvent\&quot;},\n\t\t\t{name: \&quot;dragleave\&quot;, handlerObject: this, handlerMethod: \&quot;handleDragLeaveEvent\&quot;},\n\t\t\t{name: \&quot;drop\&quot;, handlerObject: this, handlerMethod: \&quot;handleDropEvent\&quot;}\n\t\t]);\t\t\n\t} else {\n\t\t$tw.utils.addClass(this.domNode,this.disabledClass);\n\t}\n\t// Insert element\n\tparent.insertBefore(domNode,nextSibling);\n\tthis.renderChildren(domNode,null);\n\tthis.domNodes.push(domNode);\n\t// Stack of outstanding enter/leave events\n\tthis.currentlyEntered = [];\n};\n\nDroppableWidget.prototype.enterDrag = function(event) {\n\tif(this.currentlyEntered.indexOf(event.target) === -1) {\n\t\tthis.currentlyEntered.push(event.target);\n\t}\n\t// If we're entering for the first time we need to apply highlighting\n\t$tw.utils.addClass(this.domNodes[0],\&quot;tc-dragover\&quot;);\n};\n\nDroppableWidget.prototype.leaveDrag = function(event) {\n\tvar pos = this.currentlyEntered.indexOf(event.target);\n\tif(pos !== -1) {\n\t\tthis.currentlyEntered.splice(pos,1);\n\t}\n\t// Remove highlighting if we're leaving externally. The hacky second condition is to resolve a problem with Firefox whereby there is an erroneous dragenter event if the node being dragged is within the dropzone\n\tif(this.currentlyEntered.length === 0 || (this.currentlyEntered.length === 1 &amp;&amp; this.currentlyEntered[0] === $tw.dragInProgress)) {\n\t\tthis.currentlyEntered = [];\n\t\tif(this.domNodes[0]) {\n\t\t\t$tw.utils.removeClass(this.domNodes[0],\&quot;tc-dragover\&quot;);\n\t\t}\n\t}\n};\n\nDroppableWidget.prototype.handleDragEnterEvent = function(event) {\n\tthis.enterDrag(event);\n\t// Tell the browser that we're ready to handle the drop\n\tevent.preventDefault();\n\t// Tell the browser not to ripple the drag up to any parent drop handlers\n\tevent.stopPropagation();\n\treturn false;\n};\n\nDroppableWidget.prototype.handleDragOverEvent = function(event) {\n\t// Check for being over a TEXTAREA or INPUT\n\tif([\&quot;TEXTAREA\&quot;,\&quot;INPUT\&quot;].indexOf(event.target.tagName) !== -1) {\n\t\treturn false;\n\t}\n\t// Tell the browser that we're still interested in the drop\n\tevent.preventDefault();\n\t// Set the drop effect\n\tevent.dataTransfer.dropEffect = this.droppableEffect;\n\treturn false;\n};\n\nDroppableWidget.prototype.handleDragLeaveEvent = function(event) {\n\tthis.leaveDrag(event);\n\treturn false;\n};\n\nDroppableWidget.prototype.handleDropEvent = function(event) {\n\tvar self = this;\n\tthis.leaveDrag(event);\n\t// Check for being over a TEXTAREA or INPUT\n\tif([\&quot;TEXTAREA\&quot;,\&quot;IN
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/dropzone.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/dropzone.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/dropzone.js\ntype: application/javascript\nmodule-type: widget\n\nDropzone widget\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\nvar DropZoneWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nDropZoneWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nDropZoneWidget.prototype.render = function(parent,nextSibling) {\n\tvar self = this;\n\t// Remember parent\n\tthis.parentDomNode = parent;\n\t// Compute attributes and execute state\n\tthis.computeAttributes();\n\tthis.execute();\n\t// Create element\n\tvar domNode = this.document.createElement(\&quot;div\&quot;);\n\tdomNode.className = this.dropzoneClass || \&quot;tc-dropzone\&quot;;\n\t// Add event handlers\n\tif(this.dropzoneEnable) {\n\t\t$tw.utils.addEventListeners(domNode,[\n\t\t\t{name: \&quot;dragenter\&quot;, handlerObject: this, handlerMethod: \&quot;handleDragEnterEvent\&quot;},\n\t\t\t{name: \&quot;dragover\&quot;, handlerObject: this, handlerMethod: \&quot;handleDragOverEvent\&quot;},\n\t\t\t{name: \&quot;dragleave\&quot;, handlerObject: this, handlerMethod: \&quot;handleDragLeaveEvent\&quot;},\n\t\t\t{name: \&quot;drop\&quot;, handlerObject: this, handlerMethod: \&quot;handleDropEvent\&quot;},\n\t\t\t{name: \&quot;paste\&quot;, handlerObject: this, handlerMethod: \&quot;handlePasteEvent\&quot;},\n\t\t\t{name: \&quot;dragend\&quot;, handlerObject: this, handlerMethod: \&quot;handleDragEndEvent\&quot;}\n\t\t]);\t\t\n\t}\n\tdomNode.addEventListener(\&quot;click\&quot;,function (event) {\n\t},false);\n\t// Insert element\n\tparent.insertBefore(domNode,nextSibling);\n\tthis.renderChildren(domNode,null);\n\tthis.domNodes.push(domNode);\n\t// Stack of outstanding enter/leave events\n\tthis.currentlyEntered = [];\n};\n\nDropZoneWidget.prototype.enterDrag = function(event) {\n\tif(this.currentlyEntered.indexOf(event.target) === -1) {\n\t\tthis.currentlyEntered.push(event.target);\n\t}\n\t// If we're entering for the first time we need to apply highlighting\n\t$tw.utils.addClass(this.domNodes[0],\&quot;tc-dragover\&quot;);\n};\n\nDropZoneWidget.prototype.leaveDrag = function(event) {\n\tvar pos = this.currentlyEntered.indexOf(event.target);\n\tif(pos !== -1) {\n\t\tthis.currentlyEntered.splice(pos,1);\n\t}\n\t// Remove highlighting if we're leaving externally\n\tif(this.currentlyEntered.length === 0) {\n\t\t$tw.utils.removeClass(this.domNodes[0],\&quot;tc-dragover\&quot;);\n\t}\n};\n\nDropZoneWidget.prototype.handleDragEnterEvent = function(event) {\n\t// Check for this window being the source of the drag\n\tif($tw.dragInProgress) {\n\t\treturn false;\n\t}\n\tthis.enterDrag(event);\n\t// Tell the browser that we're ready to handle the drop\n\tevent.preventDefault();\n\t// Tell the browser not to ripple the drag up to any parent drop handlers\n\tevent.stopPropagation();\n};\n\nDropZoneWidget.prototype.handleDragOverEvent = function(event) {\n\t// Check for being over a TEXTAREA or INPUT\n\tif([\&quot;TEXTAREA\&quot;,\&quot;INPUT\&quot;].indexOf(event.target.tagName) !== -1) {\n\t\treturn false;\n\t}\n\t// Check for this window being the source of the drag\n\tif($tw.dragInProgress) {\n\t\treturn false;\n\t}\n\t// Tell the browser that we're still interested in the drop\n\tevent.preventDefault();\n\tevent.dataTransfer.dropEffect = \&quot;copy\&quot;; // Explicitly show this is a copy\n};\n\nDropZoneWidget.prototype.handleDragLeaveEvent = function(event) {\n\tthis.leaveDrag(event);\n};\n\nDropZoneWidget.prototype.handleDragEndEvent = function(event) {\n\t$tw.utils.removeClass(this.domNodes[0],\&quot;tc-dragover\&quot;);\n};\n\nDropZoneWidget.prototype.handleDropEvent = function(event) {\n\tvar self = this,\n\t\treadFileCallback = function(tiddlerFieldsArray) {\n\t\t\tself.dispatchEvent({type: \&quot;tm-import-tiddlers\&quot;, param: JSON.st
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/edit-binary.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/edit-binary.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/edit-binary.js\ntype: application/javascript\nmodule-type: widget\n\nEdit-binary widget; placeholder for editing binary tiddlers\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar BINARY_WARNING_MESSAGE = \&quot;$:/core/ui/BinaryWarning\&quot;;\nvar EXPORT_BUTTON_IMAGE = \&quot;$:/core/images/export-button\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\nvar EditBinaryWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nEditBinaryWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nEditBinaryWidget.prototype.render = function(parent,nextSibling) {\n\tvar self = this;\n\t// Save the parent dom node\n\tthis.parentDomNode = parent;\n\t// Compute our attributes\n\tthis.computeAttributes();\n\t// Execute our logic\n\tthis.execute();\n\tthis.renderChildren(parent,nextSibling);\n};\n\n/*\nCompute the internal state of the widget\n*/\nEditBinaryWidget.prototype.execute = function() {\n\t// Get our parameters\n\tvar editTitle = this.getAttribute(\&quot;tiddler\&quot;,this.getVariable(\&quot;currentTiddler\&quot;));\n\tvar tiddler = this.wiki.getTiddler(editTitle);\n\tvar type = tiddler.fields.type;\n\tvar text = tiddler.fields.text;\n\t// Transclude the binary data tiddler warning message\n\tvar warn = {\n\t\ttype: \&quot;element\&quot;,\n\t\ttag: \&quot;p\&quot;,\n\t\tchildren: [{\n\t\t\ttype: \&quot;transclude\&quot;,\n\t\t\tattributes: {\n\t\t\t\ttiddler: {type: \&quot;string\&quot;, value: BINARY_WARNING_MESSAGE}\n\t\t\t}\n\t\t}]\n\t};\n\t// Create download link based on draft tiddler title\n\tvar link = {\n\t\ttype: \&quot;element\&quot;,\n\t\ttag: \&quot;a\&quot;,\n\t\tattributes: {\n\t\t\ttitle: {type: \&quot;indirect\&quot;, textReference: \&quot;!!draft.title\&quot;},\n\t\t\tdownload: {type: \&quot;indirect\&quot;, textReference: \&quot;!!draft.title\&quot;}\n\t\t},\n\t\tchildren: [{\n\t\ttype: \&quot;transclude\&quot;,\n\t\t\tattributes: {\n\t\t\t\ttiddler: {type: \&quot;string\&quot;, value: EXPORT_BUTTON_IMAGE}\n\t\t\t}\n\t\t}]\n\t};\n\t// Set the link href to internal data URI (no external)\n\tif(text) {\n\t\tlink.attributes.href = {\n\t\t\ttype: \&quot;string\&quot;, \n\t\t\tvalue: \&quot;data:\&quot; + type + \&quot;;base64,\&quot; + text\n\t\t};\n\t}\n\t// Combine warning message and download link in a div\n\tvar element = {\n\t\ttype: \&quot;element\&quot;,\n\t\ttag: \&quot;div\&quot;,\n\t\tattributes: {\n\t\t\tclass: {type: \&quot;string\&quot;, value: \&quot;tc-binary-warning\&quot;}\n\t\t},\n\t\tchildren: [warn, link]\n\t}\n\t// Construct the child widgets\n\tthis.makeChildWidgets([element]);\n};\n\n/*\nRefresh by refreshing our child widget\n*/\nEditBinaryWidget.prototype.refresh = function(changedTiddlers) {\n\treturn this.refreshChildren(changedTiddlers);\n};\n\nexports[\&quot;edit-binary\&quot;] = EditBinaryWidget;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/edit-bitmap.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/edit-bitmap.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/edit-bitmap.js\ntype: application/javascript\nmodule-type: widget\n\nEdit-bitmap widget\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n// Default image sizes\nvar DEFAULT_IMAGE_WIDTH = 600,\n\tDEFAULT_IMAGE_HEIGHT = 370,\n\tDEFAULT_IMAGE_TYPE = \&quot;image/png\&quot;;\n\n// Configuration tiddlers\nvar LINE_WIDTH_TITLE = \&quot;$:/config/BitmapEditor/LineWidth\&quot;,\n\tLINE_COLOUR_TITLE = \&quot;$:/config/BitmapEditor/Colour\&quot;,\n\tLINE_OPACITY_TITLE = \&quot;$:/config/BitmapEditor/Opacity\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\nvar EditBitmapWidget = function(parseTreeNode,options) {\n\t// Initialise the editor operations if they've not been done already\n\tif(!this.editorOperations) {\n\t\tEditBitmapWidget.prototype.editorOperations = {};\n\t\t$tw.modules.applyMethods(\&quot;bitmapeditoroperation\&quot;,this.editorOperations);\n\t}\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nEditBitmapWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nEditBitmapWidget.prototype.render = function(parent,nextSibling) {\n\tvar self = this;\n\t// Save the parent dom node\n\tthis.parentDomNode = parent;\n\t// Compute our attributes\n\tthis.computeAttributes();\n\t// Execute our logic\n\tthis.execute();\n\t// Create the wrapper for the toolbar and render its content\n\tthis.toolbarNode = this.document.createElement(\&quot;div\&quot;);\n\tthis.toolbarNode.className = \&quot;tc-editor-toolbar\&quot;;\n\tparent.insertBefore(this.toolbarNode,nextSibling);\n\tthis.domNodes.push(this.toolbarNode);\n\t// Create the on-screen canvas\n\tthis.canvasDomNode = $tw.utils.domMaker(\&quot;canvas\&quot;,{\n\t\tdocument: this.document,\n\t\t\&quot;class\&quot;:\&quot;tc-edit-bitmapeditor\&quot;,\n\t\teventListeners: [{\n\t\t\tname: \&quot;touchstart\&quot;, handlerObject: this, handlerMethod: \&quot;handleTouchStartEvent\&quot;\n\t\t},{\n\t\t\tname: \&quot;touchmove\&quot;, handlerObject: this, handlerMethod: \&quot;handleTouchMoveEvent\&quot;\n\t\t},{\n\t\t\tname: \&quot;touchend\&quot;, handlerObject: this, handlerMethod: \&quot;handleTouchEndEvent\&quot;\n\t\t},{\n\t\t\tname: \&quot;mousedown\&quot;, handlerObject: this, handlerMethod: \&quot;handleMouseDownEvent\&quot;\n\t\t},{\n\t\t\tname: \&quot;mousemove\&quot;, handlerObject: this, handlerMethod: \&quot;handleMouseMoveEvent\&quot;\n\t\t},{\n\t\t\tname: \&quot;mouseup\&quot;, handlerObject: this, handlerMethod: \&quot;handleMouseUpEvent\&quot;\n\t\t}]\n\t});\n\t// Set the width and height variables\n\tthis.setVariable(\&quot;tv-bitmap-editor-width\&quot;,this.canvasDomNode.width + \&quot;px\&quot;);\n\tthis.setVariable(\&quot;tv-bitmap-editor-height\&quot;,this.canvasDomNode.height + \&quot;px\&quot;);\n\t// Render toolbar child widgets\n\tthis.renderChildren(this.toolbarNode,null);\n\t// // Insert the elements into the DOM\n\tparent.insertBefore(this.canvasDomNode,nextSibling);\n\tthis.domNodes.push(this.canvasDomNode);\n\t// Load the image into the canvas\n\tif($tw.browser) {\n\t\tthis.loadCanvas();\n\t}\n\t// Add widget message listeners\n\tthis.addEventListeners([\n\t\t{type: \&quot;tm-edit-bitmap-operation\&quot;, handler: \&quot;handleEditBitmapOperationMessage\&quot;}\n\t]);\n};\n\n/*\nHandle an edit bitmap operation message from the toolbar\n*/\nEditBitmapWidget.prototype.handleEditBitmapOperationMessage = function(event) {\n\t// Invoke the handler\n\tvar handler = this.editorOperations[event.param];\n\tif(handler) {\n\t\thandler.call(this,event);\n\t}\n};\n\n/*\nCompute the internal state of the widget\n*/\nEditBitmapWidget.prototype.execute = function() {\n\t// Get our parameters\n\tthis.editTitle = this.getAttribute(\&quot;tiddler\&quot;,this.getVariable(\&quot;currentTiddler\&quot;));\n\t// Make the child widgets\n\tthis.makeChildWidgets();\n};\n\n/*\nJust refresh the toolbar\n*/\nEditBitmapWidget.prototype.refresh =
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/edit-shortcut.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/edit-shortcut.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/edit-shortcut.js\ntype: application/javascript\nmodule-type: widget\n\nWidget to display an editable keyboard shortcut\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\nvar EditShortcutWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nEditShortcutWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nEditShortcutWidget.prototype.render = function(parent,nextSibling) {\n\tthis.parentDomNode = parent;\n\tthis.computeAttributes();\n\tthis.execute();\n\tthis.inputNode = this.document.createElement(\&quot;input\&quot;);\n\t// Assign classes\n\tif(this.shortcutClass) {\n\t\tthis.inputNode.className = this.shortcutClass;\t\t\n\t}\n\t// Assign other attributes\n\tif(this.shortcutStyle) {\n\t\tthis.inputNode.setAttribute(\&quot;style\&quot;,this.shortcutStyle);\n\t}\n\tif(this.shortcutTooltip) {\n\t\tthis.inputNode.setAttribute(\&quot;title\&quot;,this.shortcutTooltip);\n\t}\n\tif(this.shortcutPlaceholder) {\n\t\tthis.inputNode.setAttribute(\&quot;placeholder\&quot;,this.shortcutPlaceholder);\n\t}\n\tif(this.shortcutAriaLabel) {\n\t\tthis.inputNode.setAttribute(\&quot;aria-label\&quot;,this.shortcutAriaLabel);\n\t}\n\t// Assign the current shortcut\n\tthis.updateInputNode();\n\t// Add event handlers\n\t$tw.utils.addEventListeners(this.inputNode,[\n\t\t{name: \&quot;keydown\&quot;, handlerObject: this, handlerMethod: \&quot;handleKeydownEvent\&quot;}\n\t]);\n\t// Link into the DOM\n\tparent.insertBefore(this.inputNode,nextSibling);\n\tthis.domNodes.push(this.inputNode);\n\t// Focus the input Node if focus === \&quot;yes\&quot; or focus === \&quot;true\&quot;\n\tif(this.shortcutFocus === \&quot;yes\&quot; || this.shortcutFocus === \&quot;true\&quot;) {\n\t\tthis.focus();\n\t}\n};\n\n/*\nCompute the internal state of the widget\n*/\nEditShortcutWidget.prototype.execute = function() {\n\tthis.shortcutTiddler = this.getAttribute(\&quot;tiddler\&quot;);\n\tthis.shortcutField = this.getAttribute(\&quot;field\&quot;);\n\tthis.shortcutIndex = this.getAttribute(\&quot;index\&quot;);\n\tthis.shortcutPlaceholder = this.getAttribute(\&quot;placeholder\&quot;);\n\tthis.shortcutDefault = this.getAttribute(\&quot;default\&quot;,\&quot;\&quot;);\n\tthis.shortcutClass = this.getAttribute(\&quot;class\&quot;);\n\tthis.shortcutStyle = this.getAttribute(\&quot;style\&quot;);\n\tthis.shortcutTooltip = this.getAttribute(\&quot;tooltip\&quot;);\n\tthis.shortcutAriaLabel = this.getAttribute(\&quot;aria-label\&quot;);\n\tthis.shortcutFocus = this.getAttribute(\&quot;focus\&quot;);\n};\n\n/*\nUpdate the value of the input node\n*/\nEditShortcutWidget.prototype.updateInputNode = function() {\n\tif(this.shortcutField) {\n\t\tvar tiddler = this.wiki.getTiddler(this.shortcutTiddler);\n\t\tif(tiddler &amp;&amp; $tw.utils.hop(tiddler.fields,this.shortcutField)) {\n\t\t\tthis.inputNode.value = tiddler.getFieldString(this.shortcutField);\n\t\t} else {\n\t\t\tthis.inputNode.value = this.shortcutDefault;\n\t\t}\n\t} else if(this.shortcutIndex) {\n\t\tthis.inputNode.value = this.wiki.extractTiddlerDataItem(this.shortcutTiddler,this.shortcutIndex,this.shortcutDefault);\n\t} else {\n\t\tthis.inputNode.value = this.wiki.getTiddlerText(this.shortcutTiddler,this.shortcutDefault);\n\t}\n};\n\n/*\nHandle a dom \&quot;keydown\&quot; event\n*/\nEditShortcutWidget.prototype.handleKeydownEvent = function(event) {\n\t// Ignore shift, ctrl, meta, alt\n\tif(event.keyCode &amp;&amp; $tw.keyboardManager.getModifierKeys().indexOf(event.keyCode) === -1) {\n\t\t// Get the shortcut text representation\n\t\tvar value = $tw.keyboardManager.getPrintableShortcuts([{\n\t\t\tctrlKey: event.ctrlKey,\n\t\t\tshiftKey: event.shiftKey,\n\t\t\taltKey: event.altKey,\n\t\t\tmetaKey: event.metaKey,\n\t\t\tkeyCode: event.keyCode\n\t\t}]);\n\t\tif(value.length &gt; 0) {\n\t\t\tt
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/edit-text.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/edit-text.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/edit-text.js\ntype: application/javascript\nmodule-type: widget\n\nEdit-text widget\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar editTextWidgetFactory = require(\&quot;$:/core/modules/editor/factory.js\&quot;).editTextWidgetFactory,\n\tFramedEngine = require(\&quot;$:/core/modules/editor/engines/framed.js\&quot;).FramedEngine,\n\tSimpleEngine = require(\&quot;$:/core/modules/editor/engines/simple.js\&quot;).SimpleEngine;\n\nexports[\&quot;edit-text\&quot;] = editTextWidgetFactory(FramedEngine,SimpleEngine);\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/edit.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/edit.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/edit.js\ntype: application/javascript\nmodule-type: widget\n\nEdit widget is a meta-widget chooses the appropriate actual editting widget\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\nvar EditWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nEditWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nEditWidget.prototype.render = function(parent,nextSibling) {\n\tthis.parentDomNode = parent;\n\tthis.computeAttributes();\n\tthis.execute();\n\tthis.renderChildren(parent,nextSibling);\n};\n\n// Mappings from content type to editor type are stored in tiddlers with this prefix\nvar EDITOR_MAPPING_PREFIX = \&quot;$:/config/EditorTypeMappings/\&quot;;\n\n/*\nCompute the internal state of the widget\n*/\nEditWidget.prototype.execute = function() {\n\t// Get our parameters\n\tthis.editTitle = this.getAttribute(\&quot;tiddler\&quot;,this.getVariable(\&quot;currentTiddler\&quot;));\n\tthis.editField = this.getAttribute(\&quot;field\&quot;,\&quot;text\&quot;);\n\tthis.editIndex = this.getAttribute(\&quot;index\&quot;);\n\tthis.editClass = this.getAttribute(\&quot;class\&quot;);\n\tthis.editPlaceholder = this.getAttribute(\&quot;placeholder\&quot;);\n\tthis.editTabIndex = this.getAttribute(\&quot;tabindex\&quot;);\n\tthis.editFocus = this.getAttribute(\&quot;focus\&quot;,\&quot;\&quot;);\n\tthis.editCancelPopups = this.getAttribute(\&quot;cancelPopups\&quot;,\&quot;\&quot;);\n\tthis.editInputActions = this.getAttribute(\&quot;inputActions\&quot;);\n\tthis.editRefreshTitle = this.getAttribute(\&quot;refreshTitle\&quot;);\n\tthis.editAutoComplete = this.getAttribute(\&quot;autocomplete\&quot;);\n\t// Choose the appropriate edit widget\n\tthis.editorType = this.getEditorType();\n\t// Make the child widgets\n\tthis.makeChildWidgets([{\n\t\ttype: \&quot;edit-\&quot; + this.editorType,\n\t\tattributes: this.parseTreeNode.attributes,\n\t\tchildren: this.parseTreeNode.children\n\t}]);\n};\n\nEditWidget.prototype.getEditorType = function() {\n\t// Get the content type of the thing we're editing\n\tvar type;\n\tif(this.editField === \&quot;text\&quot;) {\n\t\tvar tiddler = this.wiki.getTiddler(this.editTitle);\n\t\tif(tiddler) {\n\t\t\ttype = tiddler.fields.type;\n\t\t}\n\t}\n\ttype = type || \&quot;text/vnd.tiddlywiki\&quot;;\n\tvar editorType = this.wiki.getTiddlerText(EDITOR_MAPPING_PREFIX + type);\n\tif(!editorType) {\n\t\tvar typeInfo = $tw.config.contentTypeInfo[type];\n\t\tif(typeInfo &amp;&amp; typeInfo.encoding === \&quot;base64\&quot;) {\n\t\t\teditorType = \&quot;binary\&quot;;\n\t\t} else {\n\t\t\teditorType = \&quot;text\&quot;;\n\t\t}\n\t}\n\treturn editorType;\n};\n\n/*\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\n*/\nEditWidget.prototype.refresh = function(changedTiddlers) {\n\tvar changedAttributes = this.computeAttributes();\n\t// Refresh if an attribute has changed, or the type associated with the target tiddler has changed\n\tif(changedAttributes.tiddler || changedAttributes.field || changedAttributes.index || changedAttributes.tabindex || changedAttributes.cancelPopups || changedAttributes.inputActions || changedAttributes.refreshTitle || changedAttributes.autocomplete || (changedTiddlers[this.editTitle] &amp;&amp; this.getEditorType() !== this.editorType)) {\n\t\tthis.refreshSelf();\n\t\treturn true;\n\t} else {\n\t\treturn this.refreshChildren(changedTiddlers);\n\t}\n};\n\nexports.edit = EditWidget;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/element.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/element.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/element.js\ntype: application/javascript\nmodule-type: widget\n\nElement widget\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\nvar ElementWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nElementWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nElementWidget.prototype.render = function(parent,nextSibling) {\n\tthis.parentDomNode = parent;\n\tthis.computeAttributes();\n\t// Neuter blacklisted elements\n\tthis.tag = this.parseTreeNode.tag;\n\tif($tw.config.htmlUnsafeElements.indexOf(this.tag) !== -1) {\n\t\tthis.tag = \&quot;safe-\&quot; + this.tag;\n\t}\n\t// Adjust headings by the current base level\n\tvar headingLevel = [\&quot;h1\&quot;,\&quot;h2\&quot;,\&quot;h3\&quot;,\&quot;h4\&quot;,\&quot;h5\&quot;,\&quot;h6\&quot;].indexOf(this.tag);\n\tif(headingLevel !== -1) {\n\t\tvar baseLevel = parseInt(this.getVariable(\&quot;tv-adjust-heading-level\&quot;,\&quot;0\&quot;),10) || 0;\n\t\theadingLevel = Math.min(Math.max(headingLevel + 1 + baseLevel,1),6);\n\t\tthis.tag = \&quot;h\&quot; + headingLevel;\n\t}\n\t// Select the namespace for the tag\n\tvar tagNamespaces = {\n\t\t\tsvg: \&quot;http://www.w3.org/2000/svg\&quot;,\n\t\t\tmath: \&quot;http://www.w3.org/1998/Math/MathML\&quot;,\n\t\t\tbody: \&quot;http://www.w3.org/1999/xhtml\&quot;\n\t\t};\n\tthis.namespace = tagNamespaces[this.tag];\n\tif(this.namespace) {\n\t\tthis.setVariable(\&quot;namespace\&quot;,this.namespace);\n\t} else {\n\t\tthis.namespace = this.getVariable(\&quot;namespace\&quot;,{defaultValue: \&quot;http://www.w3.org/1999/xhtml\&quot;});\n\t}\n\t// Invoke the th-rendering-element hook\n\tvar parseTreeNodes = $tw.hooks.invokeHook(\&quot;th-rendering-element\&quot;,null,this);\n\tthis.isReplaced = !!parseTreeNodes;\n\tif(parseTreeNodes) {\n\t\t// Use the parse tree nodes provided by the hook\n\t\tthis.makeChildWidgets(parseTreeNodes);\n\t\tthis.renderChildren(this.parentDomNode,null);\n\t\treturn;\n\t}\n\t// Make the child widgets\n\tthis.makeChildWidgets();\n\t// Create the DOM node and render children\n\tvar domNode = this.document.createElementNS(this.namespace,this.tag);\n\tthis.assignAttributes(domNode,{excludeEventAttributes: true});\n\tparent.insertBefore(domNode,nextSibling);\n\tthis.renderChildren(domNode,null);\n\tthis.domNodes.push(domNode);\n};\n\n/*\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\n*/\nElementWidget.prototype.refresh = function(changedTiddlers) {\n\tvar changedAttributes = this.computeAttributes(),\n\t\thasChangedAttributes = $tw.utils.count(changedAttributes) &gt; 0;\n\tif(hasChangedAttributes) {\n\t\tif(!this.isReplaced) {\n\t\t\t// Update our attributes\n\t\t\tthis.assignAttributes(this.domNodes[0],{excludeEventAttributes: true});\t\t\t\n\t\t} else {\n\t\t\t// If we were replaced then completely refresh ourselves\n\t\t\treturn this.refreshSelf();\n\t\t}\n\t}\n\treturn this.refreshChildren(changedTiddlers) || hasChangedAttributes;\n};\n\nexports.element = ElementWidget;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/encrypt.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/encrypt.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/encrypt.js\ntype: application/javascript\nmodule-type: widget\n\nEncrypt widget\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\nvar EncryptWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nEncryptWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nEncryptWidget.prototype.render = function(parent,nextSibling) {\n\tthis.parentDomNode = parent;\n\tthis.computeAttributes();\n\tthis.execute();\n\tvar textNode = this.document.createTextNode(this.encryptedText);\n\tparent.insertBefore(textNode,nextSibling);\n\tthis.domNodes.push(textNode);\n};\n\n/*\nCompute the internal state of the widget\n*/\nEncryptWidget.prototype.execute = function() {\n\t// Get parameters from our attributes\n\tthis.filter = this.getAttribute(\&quot;filter\&quot;,\&quot;[!is[system]]\&quot;);\n\t// Encrypt the filtered tiddlers\n\tvar tiddlers = this.wiki.filterTiddlers(this.filter),\n\t\tjson = {},\n\t\tself = this;\n\t$tw.utils.each(tiddlers,function(title) {\n\t\tvar tiddler = self.wiki.getTiddler(title),\n\t\t\tjsonTiddler = {};\n\t\tfor(var f in tiddler.fields) {\n\t\t\tjsonTiddler[f] = tiddler.getFieldString(f);\n\t\t}\n\t\tjson[title] = jsonTiddler;\n\t});\n\tthis.encryptedText = $tw.utils.htmlEncode($tw.crypto.encrypt(JSON.stringify(json)));\n};\n\n/*\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\n*/\nEncryptWidget.prototype.refresh = function(changedTiddlers) {\n\t// We don't need to worry about refreshing because the encrypt widget isn't for interactive use\n\treturn false;\n};\n\nexports.encrypt = EncryptWidget;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/entity.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/entity.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/entity.js\ntype: application/javascript\nmodule-type: widget\n\nHTML entity widget\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\nvar EntityWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nEntityWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nEntityWidget.prototype.render = function(parent,nextSibling) {\n\tthis.parentDomNode = parent;\n\tthis.computeAttributes();\n\tthis.execute();\n\tvar entityString = this.getAttribute(\&quot;entity\&quot;,this.parseTreeNode.entity || \&quot;\&quot;),\n\t\ttextNode = this.document.createTextNode($tw.utils.entityDecode(entityString));\n\tparent.insertBefore(textNode,nextSibling);\n\tthis.domNodes.push(textNode);\n};\n\n/*\nCompute the internal state of the widget\n*/\nEntityWidget.prototype.execute = function() {\n};\n\n/*\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\n*/\nEntityWidget.prototype.refresh = function(changedTiddlers) {\n\tvar changedAttributes = this.computeAttributes();\n\tif(changedAttributes.entity) {\n\t\tthis.refreshSelf();\n\t\treturn true;\n\t} else {\n\t\treturn false;\t\n\t}\n};\n\nexports.entity = EntityWidget;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/eventcatcher.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/eventcatcher.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/eventcatcher.js\ntype: application/javascript\nmodule-type: widget\n\nEvent handler widget\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\nvar EventWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nEventWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nEventWidget.prototype.render = function(parent,nextSibling) {\n\tvar self = this;\n\t// Remember parent\n\tthis.parentDomNode = parent;\n\t// Compute attributes and execute state\n\tthis.computeAttributes();\n\tthis.execute();\n\t// Create element\n\tvar tag = this.parseTreeNode.isBlock ? \&quot;div\&quot; : \&quot;span\&quot;;\n\tif(this.elementTag &amp;&amp; $tw.config.htmlUnsafeElements.indexOf(this.elementTag) === -1) {\n\t\ttag = this.elementTag;\n\t}\t\n\tvar domNode = this.document.createElement(tag);\n\tthis.domNode = domNode;\n\t// Assign classes\n\tthis.assignDomNodeClasses();\t\n\t// Add our event handler\n\t$tw.utils.each(this.types,function(type) {\n\t\tdomNode.addEventListener(type,function(event) {\n\t\t\tvar selector = self.getAttribute(\&quot;selector\&quot;),\n\t\t\t\tactions = self.getAttribute(\&quot;actions-\&quot;+type),\n\t\t\t\tselectedNode = event.target,\n\t\t\t\tselectedNodeRect,\n\t\t\t\tcatcherNodeRect,\n\t\t\t\tvariables = {};\n\t\t\tif(selector) {\n\t\t\t\t// Search ancestors for a node that matches the selector\n\t\t\t\twhile(!selectedNode.matches(selector) &amp;&amp; selectedNode !== domNode) {\n\t\t\t\t\tselectedNode = selectedNode.parentNode;\n\t\t\t\t}\n\t\t\t\t// If we found one, copy the attributes as variables, otherwise exit\n\t\t\t\tif(selectedNode.matches(selector)) {\n\t\t\t\t\t$tw.utils.each(selectedNode.attributes,function(attribute) {\n\t\t\t\t\t\tvariables[\&quot;dom-\&quot; + attribute.name] = attribute.value.toString();\n\t\t\t\t\t});\n\t\t\t\t\t//Add a variable with a popup coordinate string for the selected node\n\t\t\t\t\tvariables[\&quot;tv-popup-coords\&quot;] = \&quot;(\&quot; + selectedNode.offsetLeft + \&quot;,\&quot; + selectedNode.offsetTop +\&quot;,\&quot; + selectedNode.offsetWidth + \&quot;,\&quot; + selectedNode.offsetHeight + \&quot;)\&quot;;\n\t\t\t\t\t\n\t\t\t\t\t//Add variables for offset of selected node\n\t\t\t\t\tvariables[\&quot;tv-selectednode-posx\&quot;] = selectedNode.offsetLeft.toString();\n\t\t\t\t\tvariables[\&quot;tv-selectednode-posy\&quot;] = selectedNode.offsetTop.toString();\n\t\t\t\t\tvariables[\&quot;tv-selectednode-width\&quot;] = selectedNode.offsetWidth.toString();\n\t\t\t\t\tvariables[\&quot;tv-selectednode-height\&quot;] = selectedNode.offsetHeight.toString();\n\n\t\t\t\t\t//Add variables for event X and Y position relative to selected node\n\t\t\t\t\tselectedNodeRect = selectedNode.getBoundingClientRect();\t\t\t\t\n\t\t\t\t\tvariables[\&quot;event-fromselected-posx\&quot;] = (event.clientX - selectedNodeRect.left).toString();\n\t\t\t\t\tvariables[\&quot;event-fromselected-posy\&quot;] = (event.clientY - selectedNodeRect.top).toString();\n\n\t\t\t\t\t//Add variables for event X and Y position relative to event catcher node\n\t\t\t\t\tcatcherNodeRect = self.domNode.getBoundingClientRect();\n\t\t\t\t\tvariables[\&quot;event-fromcatcher-posx\&quot;] = (event.clientX - catcherNodeRect.left).toString();\n\t\t\t\t\tvariables[\&quot;event-fromcatcher-posy\&quot;] = (event.clientY - catcherNodeRect.top).toString();\n\t\t\t\t} else {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\t// Execute our actions with the variables\n\t\t\tif(actions) {\n\t\t\t\t// Add a variable for the modifier key\n\t\t\t\tvariables.modifier = $tw.keyboardManager.getEventModifierKeyDescriptor(event);\n\t\t\t\t// Add a variable for the mouse button\n\t\t\t\tif(\&quot;button\&quot; in event) {\n\t\t\t\t\tif(event.button === 0) {\n\t\t\t\t\t\tvariables[\&quot;event-mousebutton\&quot;]
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/fieldmangler.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/fieldmangler.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/fieldmangler.js\ntype: application/javascript\nmodule-type: widget\n\nField mangler widget\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\nvar FieldManglerWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n\tthis.addEventListeners([\n\t\t{type: \&quot;tm-remove-field\&quot;, handler: \&quot;handleRemoveFieldEvent\&quot;},\n\t\t{type: \&quot;tm-add-field\&quot;, handler: \&quot;handleAddFieldEvent\&quot;},\n\t\t{type: \&quot;tm-remove-tag\&quot;, handler: \&quot;handleRemoveTagEvent\&quot;},\n\t\t{type: \&quot;tm-add-tag\&quot;, handler: \&quot;handleAddTagEvent\&quot;}\n\t]);\n};\n\n/*\nInherit from the base widget class\n*/\nFieldManglerWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nFieldManglerWidget.prototype.render = function(parent,nextSibling) {\n\tthis.parentDomNode = parent;\n\tthis.computeAttributes();\n\tthis.execute();\n\tthis.renderChildren(parent,nextSibling);\n};\n\n/*\nCompute the internal state of the widget\n*/\nFieldManglerWidget.prototype.execute = function() {\n\t// Get our parameters\n\tthis.mangleTitle = this.getAttribute(\&quot;tiddler\&quot;,this.getVariable(\&quot;currentTiddler\&quot;));\n\t// Construct the child widgets\n\tthis.makeChildWidgets();\n};\n\n/*\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\n*/\nFieldManglerWidget.prototype.refresh = function(changedTiddlers) {\n\tvar changedAttributes = this.computeAttributes();\n\tif(changedAttributes.tiddler) {\n\t\tthis.refreshSelf();\n\t\treturn true;\n\t} else {\n\t\treturn this.refreshChildren(changedTiddlers);\t\t\n\t}\n};\n\nFieldManglerWidget.prototype.handleRemoveFieldEvent = function(event) {\n\tvar tiddler = this.wiki.getTiddler(this.mangleTitle),\n\t\tdeletion = {};\n\tdeletion[event.param] = undefined;\n\tthis.wiki.addTiddler(new $tw.Tiddler(tiddler,deletion));\n\treturn true;\n};\n\nFieldManglerWidget.prototype.handleAddFieldEvent = function(event) {\n\tvar tiddler = this.wiki.getTiddler(this.mangleTitle),\n\t\taddition = this.wiki.getModificationFields(),\n\t\thadInvalidFieldName = false,\n\t\taddField = function(name,value) {\n\t\t\tvar trimmedName = name.toLowerCase().trim();\n\t\t\tif(!$tw.utils.isValidFieldName(trimmedName)) {\n\t\t\t\tif(!hadInvalidFieldName) {\n\t\t\t\t\talert($tw.language.getString(\n\t\t\t\t\t\t\&quot;InvalidFieldName\&quot;,\n\t\t\t\t\t\t{variables:\n\t\t\t\t\t\t\t{fieldName: trimmedName}\n\t\t\t\t\t\t}\n\t\t\t\t\t));\n\t\t\t\t\thadInvalidFieldName = true;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif(!value &amp;&amp; tiddler) {\n\t\t\t\t\tvalue = tiddler.fields[trimmedName];\n\t\t\t\t}\n\t\t\t\taddition[trimmedName] = value || \&quot;\&quot;;\n\t\t\t}\n\t\t\treturn;\n\t\t};\n\taddition.title = this.mangleTitle;\n\tif(typeof event.param === \&quot;string\&quot;) {\n\t\taddField(event.param,\&quot;\&quot;);\n\t}\n\tif(typeof event.paramObject === \&quot;object\&quot;) {\n\t\tfor(var name in event.paramObject) {\n\t\t\taddField(name,event.paramObject[name]);\n\t\t}\n\t}\n\tthis.wiki.addTiddler(new $tw.Tiddler(tiddler,addition));\n\treturn true;\n};\n\nFieldManglerWidget.prototype.handleRemoveTagEvent = function(event) {\n\tvar tiddler = this.wiki.getTiddler(this.mangleTitle),\n\t\tmodification = this.wiki.getModificationFields();\n\tif(tiddler &amp;&amp; tiddler.fields.tags) {\n\t\tvar p = tiddler.fields.tags.indexOf(event.param);\n\t\tif(p !== -1) {\n\t\t\tmodification.tags = (tiddler.fields.tags || []).slice(0);\n\t\t\tmodification.tags.splice(p,1);\n\t\t\tif(modification.tags.length === 0) {\n\t\t\t\tmodification.tags = undefined;\n\t\t\t}\n\t\t\tthis.wiki.addTiddler(new $tw.Tiddler(tiddler,modification));\n\t\t}\n\t}\n\treturn true;\n};\n\nFieldManglerWidget.prototype.handleAddTagEvent = function(event) {\n\tvar tiddler = this.wiki.getTiddl
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/fields.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/fields.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/fields.js\ntype: application/javascript\nmodule-type: widget\n\nFields widget\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\nvar FieldsWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nFieldsWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nFieldsWidget.prototype.render = function(parent,nextSibling) {\n\tthis.parentDomNode = parent;\n\tthis.computeAttributes();\n\tthis.execute();\n\tvar textNode = this.document.createTextNode(this.text);\n\tparent.insertBefore(textNode,nextSibling);\n\tthis.domNodes.push(textNode);\n};\n\n/*\nCompute the internal state of the widget\n*/\nFieldsWidget.prototype.execute = function() {\n\t// Get parameters from our attributes\n\tthis.tiddlerTitle = this.getAttribute(\&quot;tiddler\&quot;,this.getVariable(\&quot;currentTiddler\&quot;));\n\tthis.template = this.getAttribute(\&quot;template\&quot;);\n\tthis.sort = this.getAttribute(\&quot;sort\&quot;,\&quot;yes\&quot;) === \&quot;yes\&quot;;\n\tthis.sortReverse = this.getAttribute(\&quot;sortReverse\&quot;,\&quot;no\&quot;) === \&quot;yes\&quot;;\n\tthis.exclude = this.getAttribute(\&quot;exclude\&quot;);\n\tthis.include = this.getAttribute(\&quot;include\&quot;,null);\n\tthis.stripTitlePrefix = this.getAttribute(\&quot;stripTitlePrefix\&quot;,\&quot;no\&quot;) === \&quot;yes\&quot;;\n\t// Get the value to display\n\tvar tiddler = this.wiki.getTiddler(this.tiddlerTitle);\n\n\t// Get the inclusion and exclusion list\n\tvar excludeArr = (this.exclude) ? this.exclude.split(\&quot; \&quot;) : [\&quot;text\&quot;];\n\t// Include takes precedence\n\tvar includeArr = (this.include) ? this.include.split(\&quot; \&quot;) : null;\n\n\t// Compose the template\n\tvar text = [];\n\tif(this.template &amp;&amp; tiddler) {\n\t\tvar fields = [];\n\t\tif (includeArr) { // Include takes precedence\n\t\t\tfor(var i=0; i&lt;includeArr.length; i++) {\n\t\t\t\tif(tiddler.fields[includeArr[i]]) {\n\t\t\t\t\tfields.push(includeArr[i]);\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tfor(var fieldName in tiddler.fields) {\n\t\t\t\tif(excludeArr.indexOf(fieldName) === -1) {\n\t\t\t\t\tfields.push(fieldName);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (this.sort) fields.sort();\n\t\tif (this.sortReverse) fields.reverse();\n\t\tfor(var f=0, fmax=fields.length; f&lt;fmax; f++) {\n\t\t\tfieldName = fields[f];\n\t\t\tvar row = this.template,\n\t\t\t\tvalue = tiddler.getFieldString(fieldName);\n\t\t\tif(this.stripTitlePrefix &amp;&amp; fieldName === \&quot;title\&quot;) {\n\t\t\t\tvar reStrip = /^\\{[^\\}]+\\}(.+)/mg,\n\t\t\t\t\treMatch = reStrip.exec(value);\n\t\t\t\tif(reMatch) {\n\t\t\t\t\tvalue = reMatch[1];\n\t\t\t\t}\n\t\t\t}\n\t\t\trow = $tw.utils.replaceString(row,\&quot;$name$\&quot;,fieldName);\n\t\t\trow = $tw.utils.replaceString(row,\&quot;$value$\&quot;,value);\n\t\t\trow = $tw.utils.replaceString(row,\&quot;$encoded_value$\&quot;,$tw.utils.htmlEncode(value));\n\t\t\ttext.push(row);\n\t\t}\n\t}\n\tthis.text = text.join(\&quot;\&quot;);\n};\n\n/*\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\n*/\nFieldsWidget.prototype.refresh = function(changedTiddlers) {\n\tvar changedAttributes = this.computeAttributes();\n\tif( changedAttributes.tiddler || changedAttributes.template || changedAttributes.exclude ||\n\t\tchangedAttributes.include || changedAttributes.sort || changedAttributes.sortReverse ||\n\t\tchangedTiddlers[this.tiddlerTitle] || changedAttributes.stripTitlePrefix) {\n\t\t\tthis.refreshSelf();\n\t\t\treturn true;\n\t} else {\n\t\treturn false;\n\t}\n};\n\nexports.fields = FieldsWidget;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/image.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/image.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/image.js\ntype: application/javascript\nmodule-type: widget\n\nThe image widget displays an image referenced with an external URI or with a local tiddler title.\n\n```\n&lt;$image src=\&quot;TiddlerTitle\&quot; width=\&quot;320\&quot; height=\&quot;400\&quot; class=\&quot;classnames\&quot;&gt;\n```\n\nThe image source can be the title of an existing tiddler or the URL of an external image.\n\nExternal images always generate an HTML `&lt;img&gt;` tag.\n\nTiddlers that have a _canonical_uri field generate an HTML `&lt;img&gt;` tag with the src attribute containing the URI.\n\nTiddlers that contain image data generate an HTML `&lt;img&gt;` tag with the src attribute containing a base64 representation of the image.\n\nTiddlers that contain wikitext could be rendered to a DIV of the usual size of a tiddler, and then transformed to the size requested.\n\nThe width and height attributes are interpreted as a number of pixels, and do not need to include the \&quot;px\&quot; suffix.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\nvar ImageWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nImageWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nImageWidget.prototype.render = function(parent,nextSibling) {\n\tthis.parentDomNode = parent;\n\tthis.computeAttributes();\n\tthis.execute();\n\t// Create element\n\t// Determine what type of image it is\n\tvar tag = \&quot;img\&quot;, src = \&quot;\&quot;,\n\t\ttiddler = this.wiki.getTiddler(this.imageSource);\n\tif(!tiddler) {\n\t\t// The source isn't the title of a tiddler, so we'll assume it's a URL\n\t\tsrc = this.getVariable(\&quot;tv-get-export-image-link\&quot;,{params: [{name: \&quot;src\&quot;,value: this.imageSource}],defaultValue: this.imageSource});\n\t} else {\n\t\t// Check if it is an image tiddler\n\t\tif(this.wiki.isImageTiddler(this.imageSource)) {\n\t\t\tvar type = tiddler.fields.type,\n\t\t\t\ttext = tiddler.fields.text,\n\t\t\t\t_canonical_uri = tiddler.fields._canonical_uri;\n\t\t\t// If the tiddler has body text then it doesn't need to be lazily loaded\n\t\t\tif(text) {\n\t\t\t\t// Render the appropriate element for the image type\n\t\t\t\tswitch(type) {\n\t\t\t\t\tcase \&quot;application/pdf\&quot;:\n\t\t\t\t\t\ttag = \&quot;embed\&quot;;\n\t\t\t\t\t\tsrc = \&quot;data:application/pdf;base64,\&quot; + text;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \&quot;image/svg+xml\&quot;:\n\t\t\t\t\t\tsrc = \&quot;data:image/svg+xml,\&quot; + encodeURIComponent(text);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tsrc = \&quot;data:\&quot; + type + \&quot;;base64,\&quot; + text;\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t} else if(_canonical_uri) {\n\t\t\t\tswitch(type) {\n\t\t\t\t\tcase \&quot;application/pdf\&quot;:\n\t\t\t\t\t\ttag = \&quot;embed\&quot;;\n\t\t\t\t\t\tsrc = _canonical_uri;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase \&quot;image/svg+xml\&quot;:\n\t\t\t\t\t\tsrc = _canonical_uri;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tsrc = _canonical_uri;\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\t\n\t\t\t} else {\n\t\t\t\t// Just trigger loading of the tiddler\n\t\t\t\tthis.wiki.getTiddlerText(this.imageSource);\n\t\t\t}\n\t\t}\n\t}\n\t// Create the element and assign the attributes\n\tvar domNode = this.document.createElement(tag);\n\tdomNode.setAttribute(\&quot;src\&quot;,src);\n\tif(this.imageClass) {\n\t\tdomNode.setAttribute(\&quot;class\&quot;,this.imageClass);\t\t\n\t}\n\tif(this.imageWidth) {\n\t\tdomNode.setAttribute(\&quot;width\&quot;,this.imageWidth);\n\t}\n\tif(this.imageHeight) {\n\t\tdomNode.setAttribute(\&quot;height\&quot;,this.imageHeight);\n\t}\n\tif(this.imageTooltip) {\n\t\tdomNode.setAttribute(\&quot;title\&quot;,this.imageTooltip);\t\t\n\t}\n\tif(this.imageAlt) {\n\t\tdomNode.setAttribute(\&quot;alt\&quot;,this.imageAlt);\t\t\n\t}\n\t
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/importvariables.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/importvariables.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/importvariables.js\ntype: application/javascript\nmodule-type: widget\n\nImport variable definitions from other tiddlers\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\nvar ImportVariablesWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nImportVariablesWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nImportVariablesWidget.prototype.render = function(parent,nextSibling) {\n\tthis.parentDomNode = parent;\n\tthis.computeAttributes();\n\tthis.execute();\n\tthis.renderChildren(parent,nextSibling);\n};\n\n/*\nCompute the internal state of the widget\n*/\nImportVariablesWidget.prototype.execute = function(tiddlerList) {\n\tvar widgetPointer = this;\n\t// Got to flush all the accumulated variables\n\tthis.variables = new this.variablesConstructor();\n\t// Get our parameters\n\tthis.filter = this.getAttribute(\&quot;filter\&quot;);\n\t// Compute the filter\n\tthis.tiddlerList = tiddlerList || this.wiki.filterTiddlers(this.filter,this);\n\t// Accumulate the &lt;$set&gt; widgets from each tiddler\n\t$tw.utils.each(this.tiddlerList,function(title) {\n\t\tvar parser = widgetPointer.wiki.parseTiddler(title);\n\t\tif(parser) {\n\t\t\tvar parseTreeNode = parser.tree[0];\n\t\t\twhile(parseTreeNode &amp;&amp; parseTreeNode.type === \&quot;set\&quot;) {\n\t\t\t\tvar node = {\n\t\t\t\t\ttype: \&quot;set\&quot;,\n\t\t\t\t\tattributes: parseTreeNode.attributes,\n\t\t\t\t\tparams: parseTreeNode.params,\n\t\t\t\t\tisMacroDefinition: parseTreeNode.isMacroDefinition\n\t\t\t\t};\n\t\t\t\tif (parseTreeNode.isMacroDefinition) {\n\t\t\t\t\t// Macro definitions can be folded into\n\t\t\t\t\t// current widget instead of adding\n\t\t\t\t\t// another link to the chain.\n\t\t\t\t\tvar widget = widgetPointer.makeChildWidget(node);\n\t\t\t\t\twidget.computeAttributes();\n\t\t\t\t\twidget.execute();\n\t\t\t\t\t// We SHALLOW copy over all variables\n\t\t\t\t\t// in widget. We can't use\n\t\t\t\t\t// $tw.utils.assign, because that copies\n\t\t\t\t\t// up the prototype chain, which we\n\t\t\t\t\t// don't want.\n\t\t\t\t\t$tw.utils.each(Object.keys(widget.variables), function(key) {\n\t\t\t\t\t\twidgetPointer.variables[key] = widget.variables[key];\n\t\t\t\t\t});\n\t\t\t\t} else {\n\t\t\t\t\twidgetPointer.children = [widgetPointer.makeChildWidget(node)];\n\t\t\t\t\t// No more regenerating children for\n\t\t\t\t\t// this widget. If it needs to refresh,\n\t\t\t\t\t// it'll do so along with the the whole\n\t\t\t\t\t// importvariable tree.\n\t\t\t\t\tif (widgetPointer != this) {\n\t\t\t\t\t\twidgetPointer.makeChildWidgets = function(){};\n\t\t\t\t\t}\n\t\t\t\t\twidgetPointer = widgetPointer.children[0];\n\t\t\t\t}\n\t\t\t\tparseTreeNode = parseTreeNode.children &amp;&amp; parseTreeNode.children[0];\n\t\t\t}\n\t\t} \n\t});\n\n\tif (widgetPointer != this) {\n\t\twidgetPointer.parseTreeNode.children = this.parseTreeNode.children;\n\t} else {\n\t\twidgetPointer.makeChildWidgets();\n\t}\n};\n\n/*\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\n*/\nImportVariablesWidget.prototype.refresh = function(changedTiddlers) {\n\t// Recompute our attributes and the filter list\n\tvar changedAttributes = this.computeAttributes(),\n\t\ttiddlerList = this.wiki.filterTiddlers(this.getAttribute(\&quot;filter\&quot;),this);\n\t// Refresh if the filter has changed, or the list of tiddlers has changed, or any of the tiddlers in the list has changed\n\tfunction haveListedTiddlersChanged() {\n\t\tvar changed = false;\n\t\ttiddlerList.forEach(function(title) {\n\t\t\tif(changedTiddlers[title]) {\n\t\t\t\tchanged = true;\n\t\t\t}\n\t\t});\n\t\treturn changed;\n\t}\n\tif(changedAttributes.filter || !$tw.utils.isArrayEqual(this.tiddlerList,tiddlerList) || haveListedTiddlersChanged()) {\n\t\t// Co
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/keyboard.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/keyboard.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/keyboard.js\ntype: application/javascript\nmodule-type: widget\n\nKeyboard shortcut widget\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\nvar KeyboardWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nKeyboardWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nKeyboardWidget.prototype.render = function(parent,nextSibling) {\n\tvar self = this;\n\t// Remember parent\n\tthis.parentDomNode = parent;\n\t// Compute attributes and execute state\n\tthis.computeAttributes();\n\tthis.execute();\n\tvar tag = this.parseTreeNode.isBlock ? \&quot;div\&quot; : \&quot;span\&quot;;\n\tif(this.tag &amp;&amp; $tw.config.htmlUnsafeElements.indexOf(this.tag) === -1) {\n\t\ttag = this.tag;\n\t}\n\t// Create element\n\tvar domNode = this.document.createElement(tag);\n\t// Assign classes\n\tvar classes = (this[\&quot;class\&quot;] || \&quot;\&quot;).split(\&quot; \&quot;);\n\tclasses.push(\&quot;tc-keyboard\&quot;);\n\tdomNode.className = classes.join(\&quot; \&quot;);\n\t// Add a keyboard event handler\n\tdomNode.addEventListener(\&quot;keydown\&quot;,function (event) {\n\t\tif($tw.keyboardManager.checkKeyDescriptors(event,self.keyInfoArray)) {\n\t\t\tvar handled = self.invokeActions(self,event);\n\t\t\tif(self.actions) {\n\t\t\t\tself.invokeActionString(self.actions,self,event);\n\t\t\t}\n\t\t\tself.dispatchMessage(event);\n\t\t\tif(handled || self.actions || self.message) {\n\t\t\t\tevent.preventDefault();\n\t\t\t\tevent.stopPropagation();\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t},false);\n\t// Insert element\n\tparent.insertBefore(domNode,nextSibling);\n\tthis.renderChildren(domNode,null);\n\tthis.domNodes.push(domNode);\n};\n\nKeyboardWidget.prototype.dispatchMessage = function(event) {\n\tthis.dispatchEvent({type: this.message, param: this.param, tiddlerTitle: this.getVariable(\&quot;currentTiddler\&quot;)});\n};\n\n/*\nCompute the internal state of the widget\n*/\nKeyboardWidget.prototype.execute = function() {\n\tvar self = this;\n\t// Get attributes\n\tthis.actions = this.getAttribute(\&quot;actions\&quot;,\&quot;\&quot;);\n\tthis.message = this.getAttribute(\&quot;message\&quot;,\&quot;\&quot;);\n\tthis.param = this.getAttribute(\&quot;param\&quot;,\&quot;\&quot;);\n\tthis.key = this.getAttribute(\&quot;key\&quot;,\&quot;\&quot;);\n\tthis.tag = this.getAttribute(\&quot;tag\&quot;,\&quot;\&quot;);\n\tthis.keyInfoArray = $tw.keyboardManager.parseKeyDescriptors(this.key);\n\tthis[\&quot;class\&quot;] = this.getAttribute(\&quot;class\&quot;,\&quot;\&quot;);\n\tif(this.key.substr(0,2) === \&quot;((\&quot; &amp;&amp; this.key.substr(-2,2) === \&quot;))\&quot;) {\n\t\tthis.shortcutTiddlers = [];\n\t\tvar name = this.key.substring(2,this.key.length -2);\n\t\t$tw.utils.each($tw.keyboardManager.lookupNames,function(platformDescriptor) {\n\t\t\tself.shortcutTiddlers.push(\&quot;$:/config/\&quot; + platformDescriptor + \&quot;/\&quot; + name);\n\t\t});\n\t}\n\t// Make child widgets\n\tthis.makeChildWidgets();\n};\n\n/*\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\n*/\nKeyboardWidget.prototype.refresh = function(changedTiddlers) {\n\tvar changedAttributes = this.computeAttributes();\n\tif(changedAttributes.message || changedAttributes.param || changedAttributes.key || changedAttributes[\&quot;class\&quot;] || changedAttributes.tag) {\n\t\tthis.refreshSelf();\n\t\treturn true;\n\t}\n\t// Update the keyInfoArray if one of its shortcut-config-tiddlers has changed\n\tif(this.shortcutTiddlers &amp;&amp; $tw.utils.hopArray(changedTiddlers,this.shortcutTiddlers)) {\n\t\tthis.keyInfoArray = $tw.keyboardManager.parseKeyDescriptors(this.key);\n\t}\n\treturn this.refreshChildren(changedTiddlers);\n};\n\nexports.keyboard = KeyboardWidget;\n\n
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/link.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/link.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/link.js\ntype: application/javascript\nmodule-type: widget\n\nLink widget\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\nvar LinkWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nLinkWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nLinkWidget.prototype.render = function(parent,nextSibling) {\n\t// Save the parent dom node\n\tthis.parentDomNode = parent;\n\t// Compute our attributes\n\tthis.computeAttributes();\n\t// Execute our logic\n\tthis.execute();\n\t// Get the value of the tv-wikilinks configuration macro\n\tvar wikiLinksMacro = this.getVariable(\&quot;tv-wikilinks\&quot;),\n\t\tuseWikiLinks = wikiLinksMacro ? (wikiLinksMacro.trim() !== \&quot;no\&quot;) : true,\n\t\tmissingLinksEnabled = !(this.hideMissingLinks &amp;&amp; this.isMissing &amp;&amp; !this.isShadow);\n\t// Render the link if required\n\tif(useWikiLinks &amp;&amp; missingLinksEnabled) {\n\t\tthis.renderLink(parent,nextSibling);\n\t} else {\n\t\t// Just insert the link text\n\t\tvar domNode = this.document.createElement(\&quot;span\&quot;);\n\t\tparent.insertBefore(domNode,nextSibling);\n\t\tthis.renderChildren(domNode,null);\n\t\tthis.domNodes.push(domNode);\n\t}\n};\n\n/*\nRender this widget into the DOM\n*/\nLinkWidget.prototype.renderLink = function(parent,nextSibling) {\n\tvar self = this;\n\t// Sanitise the specified tag\n\tvar tag = this.linkTag;\n\tif($tw.config.htmlUnsafeElements.indexOf(tag) !== -1) {\n\t\ttag = \&quot;a\&quot;;\n\t}\n\t// Create our element\n\tvar namespace = this.getVariable(\&quot;namespace\&quot;,{defaultValue: \&quot;http://www.w3.org/1999/xhtml\&quot;}),\n\t\tdomNode = this.document.createElementNS(namespace,tag);\n\t// Assign classes\n\tvar classes = [];\n\tif(this.overrideClasses === undefined) {\n\t\tclasses.push(\&quot;tc-tiddlylink\&quot;);\n\t\tif(this.isShadow) {\n\t\t\tclasses.push(\&quot;tc-tiddlylink-shadow\&quot;);\n\t\t}\n\t\tif(this.isMissing &amp;&amp; !this.isShadow) {\n\t\t\tclasses.push(\&quot;tc-tiddlylink-missing\&quot;);\n\t\t} else {\n\t\t\tif(!this.isMissing) {\n\t\t\t\tclasses.push(\&quot;tc-tiddlylink-resolves\&quot;);\n\t\t\t}\n\t\t}\n\t\tif(this.linkClasses) {\n\t\t\tclasses.push(this.linkClasses);\t\t\t\n\t\t}\n\t} else if(this.overrideClasses !== \&quot;\&quot;) {\n\t\tclasses.push(this.overrideClasses)\n\t}\n\tif(classes.length &gt; 0) {\n\t\tdomNode.setAttribute(\&quot;class\&quot;,classes.join(\&quot; \&quot;));\n\t}\n\t// Set an href\n\tvar wikilinkTransformFilter = this.getVariable(\&quot;tv-filter-export-link\&quot;),\n\t\twikiLinkText;\n\tif(wikilinkTransformFilter) {\n\t\t// Use the filter to construct the href\n\t\twikiLinkText = this.wiki.filterTiddlers(wikilinkTransformFilter,this,function(iterator) {\n\t\t\titerator(self.wiki.getTiddler(self.to),self.to)\n\t\t})[0];\n\t} else {\n\t\t// Expand the tv-wikilink-template variable to construct the href\n\t\tvar wikiLinkTemplateMacro = this.getVariable(\&quot;tv-wikilink-template\&quot;),\n\t\t\twikiLinkTemplate = wikiLinkTemplateMacro ? wikiLinkTemplateMacro.trim() : \&quot;#$uri_encoded$\&quot;;\n\t\twikiLinkText = $tw.utils.replaceString(wikiLinkTemplate,\&quot;$uri_encoded$\&quot;,encodeURIComponent(this.to));\n\t\twikiLinkText = $tw.utils.replaceString(wikiLinkText,\&quot;$uri_doubleencoded$\&quot;,encodeURIComponent(encodeURIComponent(this.to)));\n\t}\n\t// Override with the value of tv-get-export-link if defined\n\twikiLinkText = this.getVariable(\&quot;tv-get-export-link\&quot;,{params: [{name: \&quot;to\&quot;,value: this.to}],defaultValue: wikiLinkText});\n\tif(tag === \&quot;a\&quot;) {\n\t\tvar namespaceHref = (namespace === \&quot;http://www.w3.org/2000/svg\&quot;) ? \&quot;http://www.w3.org/1999/xlink\&quot; : undefined;\n\t\tdomNode.setAttributeNS(namespaceHref,\&quot;href\&quot;,wikiLink
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/linkcatcher.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/linkcatcher.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/linkcatcher.js\ntype: application/javascript\nmodule-type: widget\n\nLinkcatcher widget\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\nvar LinkCatcherWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n\tthis.addEventListeners([\n\t\t{type: \&quot;tm-navigate\&quot;, handler: \&quot;handleNavigateEvent\&quot;}\n\t]);\n};\n\n/*\nInherit from the base widget class\n*/\nLinkCatcherWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nLinkCatcherWidget.prototype.render = function(parent,nextSibling) {\n\tthis.parentDomNode = parent;\n\tthis.computeAttributes();\n\tthis.execute();\n\tthis.renderChildren(parent,nextSibling);\n};\n\n/*\nCompute the internal state of the widget\n*/\nLinkCatcherWidget.prototype.execute = function() {\n\t// Get our parameters\n\tthis.catchTo = this.getAttribute(\&quot;to\&quot;);\n\tthis.catchMessage = this.getAttribute(\&quot;message\&quot;);\n\tthis.catchSet = this.getAttribute(\&quot;set\&quot;);\n\tthis.catchSetTo = this.getAttribute(\&quot;setTo\&quot;);\n\tthis.catchActions = this.getAttribute(\&quot;actions\&quot;);\n\t// Construct the child widgets\n\tthis.makeChildWidgets();\n\t// When executing actions we avoid trapping navigate events, so that we don't trigger ourselves recursively\n\tthis.executingActions = false;\n};\n\n/*\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\n*/\nLinkCatcherWidget.prototype.refresh = function(changedTiddlers) {\n\tvar changedAttributes = this.computeAttributes();\n\tif(changedAttributes.to || changedAttributes.message || changedAttributes.set || changedAttributes.setTo) {\n\t\tthis.refreshSelf();\n\t\treturn true;\n\t} else {\n\t\treturn this.refreshChildren(changedTiddlers);\t\t\n\t}\n};\n\n/*\nHandle a tm-navigate event\n*/\nLinkCatcherWidget.prototype.handleNavigateEvent = function(event) {\n\tif(!this.executingActions) {\n\t\t// Execute the actions\n\t\tif(this.catchTo) {\n\t\t\tthis.wiki.setTextReference(this.catchTo,event.navigateTo,this.getVariable(\&quot;currentTiddler\&quot;));\n\t\t}\n\t\tif(this.catchMessage &amp;&amp; this.parentWidget) {\n\t\t\tthis.parentWidget.dispatchEvent({\n\t\t\t\ttype: this.catchMessage,\n\t\t\t\tparam: event.navigateTo,\n\t\t\t\tnavigateTo: event.navigateTo\n\t\t\t});\n\t\t}\n\t\tif(this.catchSet) {\n\t\t\tvar tiddler = this.wiki.getTiddler(this.catchSet);\n\t\t\tthis.wiki.addTiddler(new $tw.Tiddler(tiddler,{title: this.catchSet, text: this.catchSetTo}));\n\t\t}\n\t\tif(this.catchActions) {\n\t\t\tthis.executingActions = true;\n\t\t\tvar modifierKey = $tw.keyboardManager.getEventModifierKeyDescriptor(event);\n\t\t\tthis.invokeActionString(this.catchActions,this,event,{navigateTo: event.navigateTo, modifier: modifierKey});\n\t\t\tthis.executingActions = false;\n\t\t}\n\t} else {\n\t\t// This is a navigate event generated by the actions of this linkcatcher, so we don't trap it again, but just pass it to the parent\n\t\tthis.parentWidget.dispatchEvent({\n\t\t\ttype: \&quot;tm-navigate\&quot;,\n\t\t\tparam: event.navigateTo,\n\t\t\tnavigateTo: event.navigateTo\n\t\t});\n\t}\n\treturn false;\n};\n\nexports.linkcatcher = LinkCatcherWidget;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/list.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/list.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/list.js\ntype: application/javascript\nmodule-type: widget\n\nList and list item widgets\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\n/*\nThe list widget creates list element sub-widgets that reach back into the list widget for their configuration\n*/\n\nvar ListWidget = function(parseTreeNode,options) {\n\t// Initialise the storyviews if they've not been done already\n\tif(!this.storyViews) {\n\t\tListWidget.prototype.storyViews = {};\n\t\t$tw.modules.applyMethods(\&quot;storyview\&quot;,this.storyViews);\n\t}\n\t// Main initialisation inherited from widget.js\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nListWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nListWidget.prototype.render = function(parent,nextSibling) {\n\tthis.parentDomNode = parent;\n\tthis.computeAttributes();\n\tthis.execute();\n\tthis.renderChildren(parent,nextSibling);\n\t// Construct the storyview\n\tvar StoryView = this.storyViews[this.storyViewName];\n\tif(this.storyViewName &amp;&amp; !StoryView) {\n\t\tStoryView = this.storyViews[\&quot;classic\&quot;];\n\t}\n\tif(StoryView &amp;&amp; !this.document.isTiddlyWikiFakeDom) {\n\t\tthis.storyview = new StoryView(this);\n\t} else {\n\t\tthis.storyview = null;\n\t}\n};\n\n/*\nCompute the internal state of the widget\n*/\nListWidget.prototype.execute = function() {\n\t// Get our attributes\n\tthis.template = this.getAttribute(\&quot;template\&quot;);\n\tthis.editTemplate = this.getAttribute(\&quot;editTemplate\&quot;);\n\tthis.variableName = this.getAttribute(\&quot;variable\&quot;,\&quot;currentTiddler\&quot;);\n\tthis.storyViewName = this.getAttribute(\&quot;storyview\&quot;);\n\tthis.historyTitle = this.getAttribute(\&quot;history\&quot;);\n\t// Compose the list elements\n\tthis.list = this.getTiddlerList();\n\tvar members = [],\n\t\tself = this;\n\t// Check for an empty list\n\tif(this.list.length === 0) {\n\t\tmembers = this.getEmptyMessage();\n\t} else {\n\t\t$tw.utils.each(this.list,function(title,index) {\n\t\t\tmembers.push(self.makeItemTemplate(title));\n\t\t});\n\t}\n\t// Construct the child widgets\n\tthis.makeChildWidgets(members);\n\t// Clear the last history\n\tthis.history = [];\n};\n\nListWidget.prototype.getTiddlerList = function() {\n\tvar defaultFilter = \&quot;[!is[system]sort[title]]\&quot;;\n\treturn this.wiki.filterTiddlers(this.getAttribute(\&quot;filter\&quot;,defaultFilter),this);\n};\n\nListWidget.prototype.getEmptyMessage = function() {\n\tvar parser,\n\t\temptyMessage = this.getAttribute(\&quot;emptyMessage\&quot;,\&quot;\&quot;);\n\t// this.wiki.parseText() calls \n\t// new Parser(..), which should only be done, if needed, because it's heavy!\n\tif (emptyMessage === \&quot;\&quot;) {\n\t\treturn [];\n\t}\n\tparser = this.wiki.parseText(\&quot;text/vnd.tiddlywiki\&quot;,emptyMessage,{parseAsInline: true});\n\tif(parser) {\n\t\treturn parser.tree;\n\t} else {\n\t\treturn [];\n\t}\n};\n\n/*\nCompose the template for a list item\n*/\nListWidget.prototype.makeItemTemplate = function(title) {\n\t// Check if the tiddler is a draft\n\tvar tiddler = this.wiki.getTiddler(title),\n\t\tisDraft = tiddler &amp;&amp; tiddler.hasField(\&quot;draft.of\&quot;),\n\t\ttemplate = this.template,\n\t\ttemplateTree;\n\tif(isDraft &amp;&amp; this.editTemplate) {\n\t\ttemplate = this.editTemplate;\n\t}\n\t// Compose the transclusion of the template\n\tif(template) {\n\t\ttemplateTree = [{type: \&quot;transclude\&quot;, attributes: {tiddler: {type: \&quot;string\&quot;, value: template}}}];\n\t} else {\n\t\tif(this.parseTreeNode.children &amp;&amp; this.parseTreeNode.children.length &gt; 0) {\n\t\t\ttemplateTree = this.parseTreeNode.children;\n\t\t} else {\n\t\t\t// Default template is a link to the title\n\t\t\ttemplateTree = [{type: \&quot;element\&quot;, tag: this.parseTreeNode.isBlock ? \&quot;div\
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/log.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/log.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/log.js\ntype: application/javascript\nmodule-type: widget-subclass\n\nWidget to log debug messages\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.baseClass = \&quot;action-log\&quot;;\n\nexports.name = \&quot;log\&quot;;\n\nexports.constructor = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n}\n\nexports.prototype = {};\n\nexports.prototype.render = function(event) {\n\tObject.getPrototypeOf(Object.getPrototypeOf(this)).render.call(this,event);\t\n\tObject.getPrototypeOf(Object.getPrototypeOf(this)).log.call(this);\n}\n\n})();&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget-subclass&quot;
},
&quot;$:/core/modules/widgets/macrocall.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/macrocall.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/macrocall.js\ntype: application/javascript\nmodule-type: widget\n\nMacrocall widget\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\nvar MacroCallWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nMacroCallWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nMacroCallWidget.prototype.render = function(parent,nextSibling) {\n\tthis.parentDomNode = parent;\n\tthis.computeAttributes();\n\tthis.execute();\n\tthis.renderChildren(parent,nextSibling);\n};\n\n/*\nCompute the internal state of the widget\n*/\nMacroCallWidget.prototype.execute = function() {\n\t// Get the parse type if specified\n\tthis.parseType = this.getAttribute(\&quot;$type\&quot;,\&quot;text/vnd.tiddlywiki\&quot;);\n\tthis.renderOutput = this.getAttribute(\&quot;$output\&quot;,\&quot;text/html\&quot;);\n\t// Merge together the parameters specified in the parse tree with the specified attributes\n\tvar params = this.parseTreeNode.params ? this.parseTreeNode.params.slice(0) : [];\n\t$tw.utils.each(this.attributes,function(attribute,name) {\n\t\tif(name.charAt(0) !== \&quot;$\&quot;) {\n\t\t\tparams.push({name: name, value: attribute});\t\t\t\n\t\t}\n\t});\n\t// Get the macro value\n\tvar macroName = this.parseTreeNode.name || this.getAttribute(\&quot;$name\&quot;),\n\t\tvariableInfo = this.getVariableInfo(macroName,{params: params}),\n\t\ttext = variableInfo.text,\n\t\tparseTreeNodes;\n\t// Are we rendering to HTML?\n\tif(this.renderOutput === \&quot;text/html\&quot;) {\n\t\t// If so we'll return the parsed macro\n\t\t// Check if we've already cached parsing this macro\n\t\tvar mode = this.parseTreeNode.isBlock ? \&quot;blockParser\&quot; : \&quot;inlineParser\&quot;,\n\t\t\tparser;\n\t\tif(variableInfo.srcVariable &amp;&amp; variableInfo.srcVariable[mode]) {\n\t\t\tparser = variableInfo.srcVariable[mode];\n\t\t} else {\n\t\t\tparser = this.wiki.parseText(this.parseType,text,\n\t\t\t\t\t\t\t\t{parseAsInline: !this.parseTreeNode.isBlock});\n\t\t\tif(variableInfo.isCacheable &amp;&amp; variableInfo.srcVariable) {\n\t\t\t\tvariableInfo.srcVariable[mode] = parser;\n\t\t\t}\n\t\t}\n\t\tvar parseTreeNodes = parser ? parser.tree : [];\n\t\t// Wrap the parse tree in a vars widget assigning the parameters to variables named \&quot;__paramname__\&quot;\n\t\tvar attributes = {};\n\t\t$tw.utils.each(variableInfo.params,function(param) {\n\t\t\tvar name = \&quot;__\&quot; + param.name + \&quot;__\&quot;;\n\t\t\tattributes[name] = {\n\t\t\t\tname: name,\n\t\t\t\ttype: \&quot;string\&quot;,\n\t\t\t\tvalue: param.value\n\t\t\t};\n\t\t});\n\t\tparseTreeNodes = [{\n\t\t\ttype: \&quot;vars\&quot;,\n\t\t\tattributes: attributes,\n\t\t\tchildren: parseTreeNodes\n\t\t}];\n\t} else if(this.renderOutput === \&quot;text/raw\&quot;) {\n\t\tparseTreeNodes = [{type: \&quot;text\&quot;, text: text}];\n\t} else {\n\t\t// Otherwise, we'll render the text\n\t\tvar plainText = this.wiki.renderText(\&quot;text/plain\&quot;,this.parseType,text,{parentWidget: this});\n\t\tparseTreeNodes = [{type: \&quot;text\&quot;, text: plainText}];\n\t}\n\t// Construct the child widgets\n\tthis.makeChildWidgets(parseTreeNodes);\n};\n\n/*\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\n*/\nMacroCallWidget.prototype.refresh = function(changedTiddlers) {\n\tvar changedAttributes = this.computeAttributes();\n\tif($tw.utils.count(changedAttributes) &gt; 0) {\n\t\t// Rerender ourselves\n\t\tthis.refreshSelf();\n\t\treturn true;\n\t} else {\n\t\treturn this.refreshChildren(changedTiddlers);\n\t}\n};\n\nexports.macrocall = MacroCallWidget;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/navigator.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/navigator.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/navigator.js\ntype: application/javascript\nmodule-type: widget\n\nNavigator widget\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar IMPORT_TITLE = \&quot;$:/Import\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\nvar NavigatorWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n\tthis.addEventListeners([\n\t\t{type: \&quot;tm-navigate\&quot;, handler: \&quot;handleNavigateEvent\&quot;},\n\t\t{type: \&quot;tm-edit-tiddler\&quot;, handler: \&quot;handleEditTiddlerEvent\&quot;},\n\t\t{type: \&quot;tm-delete-tiddler\&quot;, handler: \&quot;handleDeleteTiddlerEvent\&quot;},\n\t\t{type: \&quot;tm-save-tiddler\&quot;, handler: \&quot;handleSaveTiddlerEvent\&quot;},\n\t\t{type: \&quot;tm-cancel-tiddler\&quot;, handler: \&quot;handleCancelTiddlerEvent\&quot;},\n\t\t{type: \&quot;tm-close-tiddler\&quot;, handler: \&quot;handleCloseTiddlerEvent\&quot;},\n\t\t{type: \&quot;tm-close-all-tiddlers\&quot;, handler: \&quot;handleCloseAllTiddlersEvent\&quot;},\n\t\t{type: \&quot;tm-close-other-tiddlers\&quot;, handler: \&quot;handleCloseOtherTiddlersEvent\&quot;},\n\t\t{type: \&quot;tm-new-tiddler\&quot;, handler: \&quot;handleNewTiddlerEvent\&quot;},\n\t\t{type: \&quot;tm-import-tiddlers\&quot;, handler: \&quot;handleImportTiddlersEvent\&quot;},\n\t\t{type: \&quot;tm-perform-import\&quot;, handler: \&quot;handlePerformImportEvent\&quot;},\n\t\t{type: \&quot;tm-fold-tiddler\&quot;, handler: \&quot;handleFoldTiddlerEvent\&quot;},\n\t\t{type: \&quot;tm-fold-other-tiddlers\&quot;, handler: \&quot;handleFoldOtherTiddlersEvent\&quot;},\n\t\t{type: \&quot;tm-fold-all-tiddlers\&quot;, handler: \&quot;handleFoldAllTiddlersEvent\&quot;},\n\t\t{type: \&quot;tm-unfold-all-tiddlers\&quot;, handler: \&quot;handleUnfoldAllTiddlersEvent\&quot;},\n\t\t{type: \&quot;tm-rename-tiddler\&quot;, handler: \&quot;handleRenameTiddlerEvent\&quot;}\n\t]);\n};\n\n/*\nInherit from the base widget class\n*/\nNavigatorWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nNavigatorWidget.prototype.render = function(parent,nextSibling) {\n\tthis.parentDomNode = parent;\n\tthis.computeAttributes();\n\tthis.execute();\n\tthis.renderChildren(parent,nextSibling);\n};\n\n/*\nCompute the internal state of the widget\n*/\nNavigatorWidget.prototype.execute = function() {\n\t// Get our parameters\n\tthis.storyTitle = this.getAttribute(\&quot;story\&quot;);\n\tthis.historyTitle = this.getAttribute(\&quot;history\&quot;);\n\tthis.setVariable(\&quot;tv-story-list\&quot;,this.storyTitle);\n\tthis.setVariable(\&quot;tv-history-list\&quot;,this.historyTitle);\n\tthis.story = new $tw.Story({\n\t\twiki: this.wiki,\n\t\tstoryTitle: this.storyTitle,\n\t\thistoryTitle: this.historyTitle\n\t});\n\t// Construct the child widgets\n\tthis.makeChildWidgets();\n};\n\n/*\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\n*/\nNavigatorWidget.prototype.refresh = function(changedTiddlers) {\n\tvar changedAttributes = this.computeAttributes();\n\tif(changedAttributes.story || changedAttributes.history) {\n\t\tthis.refreshSelf();\n\t\treturn true;\n\t} else {\n\t\treturn this.refreshChildren(changedTiddlers);\n\t}\n};\n\nNavigatorWidget.prototype.getStoryList = function() {\n\treturn this.storyTitle ? this.wiki.getTiddlerList(this.storyTitle) : null;\n};\n\nNavigatorWidget.prototype.saveStoryList = function(storyList) {\n\tif(this.storyTitle) {\n\t\tvar storyTiddler = this.wiki.getTiddler(this.storyTitle);\n\t\tthis.wiki.addTiddler(new $tw.Tiddler(\n\t\t\t{title: this.storyTitle},\n\t\t\tstoryTiddler,\n\t\t\t{list: storyList}\n\t\t));\t\t\n\t}\n};\n\nNavigatorWidget.prototype.removeTitleFromStory = function(storyList,title) {\n\tif(storyList) {\n\t\tvar p = storyList.indexOf(title);\n\t\twhile(p !== -1) {\n\t\t\tstoryList.splice(p,1);\n\t\t\tp = storyList.indexOf(title);\n\t\t}\t\t\n\t}\n};\n\nN
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/password.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/password.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/password.js\ntype: application/javascript\nmodule-type: widget\n\nPassword widget\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\nvar PasswordWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nPasswordWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nPasswordWidget.prototype.render = function(parent,nextSibling) {\n\t// Save the parent dom node\n\tthis.parentDomNode = parent;\n\t// Compute our attributes\n\tthis.computeAttributes();\n\t// Execute our logic\n\tthis.execute();\n\t// Get the current password\n\tvar password = $tw.browser ? $tw.utils.getPassword(this.passwordName) || \&quot;\&quot; : \&quot;\&quot;;\n\t// Create our element\n\tvar domNode = this.document.createElement(\&quot;input\&quot;);\n\tdomNode.setAttribute(\&quot;type\&quot;,\&quot;password\&quot;);\n\tdomNode.setAttribute(\&quot;value\&quot;,password);\n\t// Add a click event handler\n\t$tw.utils.addEventListeners(domNode,[\n\t\t{name: \&quot;change\&quot;, handlerObject: this, handlerMethod: \&quot;handleChangeEvent\&quot;}\n\t]);\n\t// Insert the label into the DOM and render any children\n\tparent.insertBefore(domNode,nextSibling);\n\tthis.renderChildren(domNode,null);\n\tthis.domNodes.push(domNode);\n};\n\nPasswordWidget.prototype.handleChangeEvent = function(event) {\n\tvar password = this.domNodes[0].value;\n\treturn $tw.utils.savePassword(this.passwordName,password);\n};\n\n/*\nCompute the internal state of the widget\n*/\nPasswordWidget.prototype.execute = function() {\n\t// Get the parameters from the attributes\n\tthis.passwordName = this.getAttribute(\&quot;name\&quot;,\&quot;\&quot;);\n\t// Make the child widgets\n\tthis.makeChildWidgets();\n};\n\n/*\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\n*/\nPasswordWidget.prototype.refresh = function(changedTiddlers) {\n\tvar changedAttributes = this.computeAttributes();\n\tif(changedAttributes.name) {\n\t\tthis.refreshSelf();\n\t\treturn true;\n\t} else {\n\t\treturn this.refreshChildren(changedTiddlers);\n\t}\n};\n\nexports.password = PasswordWidget;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/qualify.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/qualify.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/qualify.js\ntype: application/javascript\nmodule-type: widget\n\nQualify text to a variable \n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\nvar QualifyWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nQualifyWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nQualifyWidget.prototype.render = function(parent,nextSibling) {\n\tthis.parentDomNode = parent;\n\tthis.computeAttributes();\n\tthis.execute();\n\tthis.renderChildren(parent,nextSibling);\n};\n\n/*\nCompute the internal state of the widget\n*/\nQualifyWidget.prototype.execute = function() {\n\t// Get our parameters\n\tthis.qualifyName = this.getAttribute(\&quot;name\&quot;);\n\tthis.qualifyTitle = this.getAttribute(\&quot;title\&quot;);\n\t// Set context variable\n\tif(this.qualifyName) {\n\t\tthis.setVariable(this.qualifyName,this.qualifyTitle + \&quot;-\&quot; + this.getStateQualifier());\n\t}\n\t// Construct the child widgets\n\tthis.makeChildWidgets();\n};\n\n/*\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\n*/\nQualifyWidget.prototype.refresh = function(changedTiddlers) {\n\tvar changedAttributes = this.computeAttributes();\n\tif(changedAttributes.name || changedAttributes.title) {\n\t\tthis.refreshSelf();\n\t\treturn true;\n\t} else {\n\t\treturn this.refreshChildren(changedTiddlers);\n\t}\n};\n\nexports.qualify = QualifyWidget;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/radio.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/radio.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/radio.js\ntype: application/javascript\nmodule-type: widget\n\nSet a field or index at a given tiddler via radio buttons\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\nvar RadioWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nRadioWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nRadioWidget.prototype.render = function(parent,nextSibling) {\n\t// Save the parent dom node\n\tthis.parentDomNode = parent;\n\t// Compute our attributes\n\tthis.computeAttributes();\n\t// Execute our logic\n\tthis.execute();\n\tvar isChecked = this.getValue() === this.radioValue;\n\t// Create our elements\n\tthis.labelDomNode = this.document.createElement(\&quot;label\&quot;);\n\tthis.labelDomNode.setAttribute(\&quot;class\&quot;,\n\t\t\&quot;tc-radio \&quot; + this.radioClass + (isChecked ? \&quot; tc-radio-selected\&quot; : \&quot;\&quot;)\n\t);\n\tthis.inputDomNode = this.document.createElement(\&quot;input\&quot;);\n\tthis.inputDomNode.setAttribute(\&quot;type\&quot;,\&quot;radio\&quot;);\n\tif(isChecked) {\n\t\tthis.inputDomNode.setAttribute(\&quot;checked\&quot;,\&quot;true\&quot;);\n\t}\n\tif(this.isDisabled === \&quot;yes\&quot;) {\n\t\tthis.inputDomNode.setAttribute(\&quot;disabled\&quot;,true);\n\t}\n\tthis.labelDomNode.appendChild(this.inputDomNode);\n\tthis.spanDomNode = this.document.createElement(\&quot;span\&quot;);\n\tthis.labelDomNode.appendChild(this.spanDomNode);\n\t// Add a click event handler\n\t$tw.utils.addEventListeners(this.inputDomNode,[\n\t\t{name: \&quot;change\&quot;, handlerObject: this, handlerMethod: \&quot;handleChangeEvent\&quot;}\n\t]);\n\t// Insert the label into the DOM and render any children\n\tparent.insertBefore(this.labelDomNode,nextSibling);\n\tthis.renderChildren(this.spanDomNode,null);\n\tthis.domNodes.push(this.labelDomNode);\n};\n\nRadioWidget.prototype.getValue = function() {\n\tvar value,\n\t\ttiddler = this.wiki.getTiddler(this.radioTitle);\n\tif (this.radioIndex) {\n\t\tvalue = this.wiki.extractTiddlerDataItem(this.radioTitle,this.radioIndex);\n\t} else {\n\t\tvalue = tiddler &amp;&amp; tiddler.getFieldString(this.radioField);\n\t}\n\treturn value;\n};\n\nRadioWidget.prototype.setValue = function() {\n\tif(this.radioIndex) {\n\t\tthis.wiki.setText(this.radioTitle,\&quot;\&quot;,this.radioIndex,this.radioValue);\n\t} else {\n\t\tvar tiddler = this.wiki.getTiddler(this.radioTitle),\n\t\t\taddition = {};\n\t\taddition[this.radioField] = this.radioValue;\n\t\tthis.wiki.addTiddler(new $tw.Tiddler(this.wiki.getCreationFields(),{title: this.radioTitle},tiddler,addition,this.wiki.getModificationFields()));\n\t}\n};\n\nRadioWidget.prototype.handleChangeEvent = function(event) {\n\tif(this.inputDomNode.checked) {\n\t\tthis.setValue();\n\t}\n\t// Trigger actions\n\tif(this.radioActions) {\n\t\tthis.invokeActionString(this.radioActions,this,event,{\&quot;actionValue\&quot;: this.radioValue});\n\t}\n};\n\n/*\nCompute the internal state of the widget\n*/\nRadioWidget.prototype.execute = function() {\n\t// Get the parameters from the attributes\n\tthis.radioTitle = this.getAttribute(\&quot;tiddler\&quot;,this.getVariable(\&quot;currentTiddler\&quot;));\n\tthis.radioField = this.getAttribute(\&quot;field\&quot;,\&quot;text\&quot;);\n\tthis.radioIndex = this.getAttribute(\&quot;index\&quot;);\n\tthis.radioValue = this.getAttribute(\&quot;value\&quot;);\n\tthis.radioClass = this.getAttribute(\&quot;class\&quot;,\&quot;\&quot;);\n\tthis.isDisabled = this.getAttribute(\&quot;disabled\&quot;,\&quot;no\&quot;);\n\tthis.radioActions = this.getAttribute(\&quot;actions\&quot;,\&quot;\&quot;);\n\t// Make the child widgets\n\tthis.makeChildWidgets();\n};\n\n/*\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\n*/\nRadioWidget
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/range.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/range.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/range.js\ntype: application/javascript\nmodule-type: widget\n\nRange widget\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\nvar RangeWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nRangeWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nRangeWidget.prototype.render = function(parent,nextSibling) {\n\t// Save the parent dom node\n\tthis.parentDomNode = parent;\n\t// Compute our attributes\n\tthis.computeAttributes();\n\t// Execute our logic\n\tthis.execute();\n\t// Create our elements\n\tthis.inputDomNode = this.document.createElement(\&quot;input\&quot;);\n\tthis.inputDomNode.setAttribute(\&quot;type\&quot;,\&quot;range\&quot;);\n\tthis.inputDomNode.setAttribute(\&quot;class\&quot;,this.elementClass);\n\tif(this.minValue){\n\t\tthis.inputDomNode.setAttribute(\&quot;min\&quot;, this.minValue);\n\t}\n\tif(this.maxValue){\n\t\tthis.inputDomNode.setAttribute(\&quot;max\&quot;, this.maxValue);\n\t}\n\tif(this.increment){\n\t\tthis.inputDomNode.setAttribute(\&quot;step\&quot;, this.increment);\n\t}\n\tif(this.isDisabled === \&quot;yes\&quot;) {\n\t\tthis.inputDomNode.setAttribute(\&quot;disabled\&quot;,true);\n\t}\n\tthis.inputDomNode.value = this.getValue();\n\t// Add a click event handler\n\t$tw.utils.addEventListeners(this.inputDomNode,[\n\t\t{name:\&quot;mousedown\&quot;, handlerObject:this, handlerMethod:\&quot;handleMouseDownEvent\&quot;},\n\t\t{name:\&quot;mouseup\&quot;, handlerObject:this, handlerMethod:\&quot;handleMouseUpEvent\&quot;},\n\t\t{name:\&quot;change\&quot;, handlerObject:this, handlerMethod:\&quot;handleChangeEvent\&quot;},\n\t\t{name:\&quot;input\&quot;, handlerObject:this, handlerMethod:\&quot;handleInputEvent\&quot;},\n\t]);\n\t// Insert the label into the DOM and render any children\n\tparent.insertBefore(this.inputDomNode,nextSibling);\n\tthis.domNodes.push(this.inputDomNode);\n};\n\nRangeWidget.prototype.getValue = function() {\n\tvar tiddler = this.wiki.getTiddler(this.tiddlerTitle),\n\t\tfieldName = this.tiddlerField,\n\t\tvalue = this.defaultValue;\n\tif(tiddler) {\n\t\tif(this.tiddlerIndex) {\n\t\t\tvalue = this.wiki.extractTiddlerDataItem(tiddler,this.tiddlerIndex,this.defaultValue);\n\t\t} else {\n\t\t\tif($tw.utils.hop(tiddler.fields,fieldName)) {\n\t\t\t\tvalue = tiddler.fields[fieldName] || \&quot;\&quot;;\n\t\t\t} else {\n\t\t\t\tvalue = this.defaultValue;\n\t\t\t}\n\t\t}\n\t}\n\treturn value;\n};\n\nRangeWidget.prototype.getActionVariables = function(options) {\n\toptions = options || {};\n\tvar hasChanged = (this.startValue !== this.inputDomNode.value) ? \&quot;yes\&quot; : \&quot;no\&quot;;\n\t// Trigger actions. Use variables = {key:value, key:value ...}\n\t// the \&quot;value\&quot; is needed.\n\treturn $tw.utils.extend({\&quot;actionValue\&quot;: this.inputDomNode.value, \&quot;actionValueHasChanged\&quot;: hasChanged}, options);\n}\n\n// actionsStart\nRangeWidget.prototype.handleMouseDownEvent = function(event) {\n\tthis.mouseDown = true; // TODO remove once IE is gone.\n\tthis.startValue = this.inputDomNode.value; // TODO remove this line once IE is gone!\n\tthis.handleEvent(event);\n\t// Trigger actions\n\tif(this.actionsMouseDown) {\n\t\tvar variables = this.getActionVariables() // TODO this line will go into the function call below.\n\t\tthis.invokeActionString(this.actionsMouseDown,this,event,variables);\n\t}\n}\n\n// actionsStop\nRangeWidget.prototype.handleMouseUpEvent = function(event) {\n\tthis.mouseDown = false; // TODO remove once IE is gone.\n\tthis.handleEvent(event);\n\t// Trigger actions\n\tif(this.actionsMouseUp) {\n\t\tvar variables = this.getActionVariables()\n\t\tthis.invokeActionString(this.actionsMouseUp,this,event,variables);\n\t}\n\t// TODO remove the following if() once IE is gone!\n\tif ($tw.browser.isIE) {\n\t\tif (
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/raw.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/raw.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/raw.js\ntype: application/javascript\nmodule-type: widget\n\nRaw widget\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\nvar RawWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nRawWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nRawWidget.prototype.render = function(parent,nextSibling) {\n\tthis.parentDomNode = parent;\n\tthis.execute();\n\tvar div = this.document.createElement(\&quot;div\&quot;);\n\tdiv.innerHTML=this.parseTreeNode.html;\n\tparent.insertBefore(div,nextSibling);\n\tthis.domNodes.push(div);\t\n};\n\n/*\nCompute the internal state of the widget\n*/\nRawWidget.prototype.execute = function() {\n};\n\n/*\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\n*/\nRawWidget.prototype.refresh = function(changedTiddlers) {\n\treturn false;\n};\n\nexports.raw = RawWidget;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/reveal.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/reveal.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/reveal.js\ntype: application/javascript\nmodule-type: widget\n\nReveal widget\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\nvar RevealWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nRevealWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nRevealWidget.prototype.render = function(parent,nextSibling) {\n\tthis.parentDomNode = parent;\n\tthis.computeAttributes();\n\tthis.execute();\n\tvar tag = this.parseTreeNode.isBlock ? \&quot;div\&quot; : \&quot;span\&quot;;\n\tif(this.revealTag &amp;&amp; $tw.config.htmlUnsafeElements.indexOf(this.revealTag) === -1) {\n\t\ttag = this.revealTag;\n\t}\n\tvar domNode = this.document.createElement(tag);\n\tthis.domNode = domNode;\n\tthis.assignDomNodeClasses();\n\tif(this.style) {\n\t\tdomNode.setAttribute(\&quot;style\&quot;,this.style);\n\t}\n\tparent.insertBefore(domNode,nextSibling);\n\tthis.renderChildren(domNode,null);\n\tif(!domNode.isTiddlyWikiFakeDom &amp;&amp; this.type === \&quot;popup\&quot; &amp;&amp; this.isOpen) {\n\t\tthis.positionPopup(domNode);\n\t\t$tw.utils.addClass(domNode,\&quot;tc-popup\&quot;); // Make sure that clicks don't dismiss popups within the revealed content\n\t}\n\tif(!this.isOpen) {\n\t\tdomNode.setAttribute(\&quot;hidden\&quot;,\&quot;true\&quot;);\n\t}\n\tthis.domNodes.push(domNode);\n};\n\nRevealWidget.prototype.positionPopup = function(domNode) {\n\tdomNode.style.position = \&quot;absolute\&quot;;\n\tdomNode.style.zIndex = \&quot;1000\&quot;;\n\tvar left,top;\n\tswitch(this.position) {\n\t\tcase \&quot;left\&quot;:\n\t\t\tleft = this.popup.left - domNode.offsetWidth;\n\t\t\ttop = this.popup.top;\n\t\t\tbreak;\n\t\tcase \&quot;above\&quot;:\n\t\t\tleft = this.popup.left;\n\t\t\ttop = this.popup.top - domNode.offsetHeight;\n\t\t\tbreak;\n\t\tcase \&quot;aboveright\&quot;:\n\t\t\tleft = this.popup.left + this.popup.width;\n\t\t\ttop = this.popup.top + this.popup.height - domNode.offsetHeight;\n\t\t\tbreak;\n\t\tcase \&quot;belowright\&quot;:\n\t\t\tleft = this.popup.left + this.popup.width;\n\t\t\ttop = this.popup.top + this.popup.height;\n\t\t\tbreak;\t\t\t\n\t\tcase \&quot;right\&quot;:\n\t\t\tleft = this.popup.left + this.popup.width;\n\t\t\ttop = this.popup.top;\n\t\t\tbreak;\n\t\tcase \&quot;belowleft\&quot;:\n\t\t\tleft = this.popup.left + this.popup.width - domNode.offsetWidth;\n\t\t\ttop = this.popup.top + this.popup.height;\n\t\t\tbreak;\n\t\tcase \&quot;aboveleft\&quot;:\n\t\t\tleft = this.popup.left - domNode.offsetWidth;\n\t\t\ttop = this.popup.top - domNode.offsetHeight;\n\t\t\tbreak;\t\t\t\n\t\tdefault: // Below\n\t\t\tleft = this.popup.left;\n\t\t\ttop = this.popup.top + this.popup.height;\n\t\t\tbreak;\n\t}\n\tif(!this.positionAllowNegative) {\n\t\tleft = Math.max(0,left);\n\t\ttop = Math.max(0,top);\n\t}\n\tdomNode.style.left = left + \&quot;px\&quot;;\n\tdomNode.style.top = top + \&quot;px\&quot;;\n};\n\n/*\nCompute the internal state of the widget\n*/\nRevealWidget.prototype.execute = function() {\n\t// Get our parameters\n\tthis.state = this.getAttribute(\&quot;state\&quot;);\n\tthis.revealTag = this.getAttribute(\&quot;tag\&quot;);\n\tthis.type = this.getAttribute(\&quot;type\&quot;);\n\tthis.text = this.getAttribute(\&quot;text\&quot;);\n\tthis.position = this.getAttribute(\&quot;position\&quot;);\n\tthis.positionAllowNegative = this.getAttribute(\&quot;positionAllowNegative\&quot;) === \&quot;yes\&quot;;\n\t// class attribute handled in assignDomNodeClasses()\n\tthis.style = this.getAttribute(\&quot;style\&quot;,\&quot;\&quot;);\n\tthis[\&quot;default\&quot;] = this.getAttribute(\&quot;default\&quot;,\&quot;\&quot;);\n\tthis.animate = this.getAttribute(\&quot;animate\&quot;,\&quot;no\&quot;);\n\tthis.retain = this.getAttribute(\&quot;retain\&quot;,\&quot;no\&quot;);\n\tthis.openAnimation = this.an
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/scrollable.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/scrollable.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/scrollable.js\ntype: application/javascript\nmodule-type: widget\n\nScrollable widget\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\nvar ScrollableWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n\tthis.scaleFactor = 1;\n\tthis.addEventListeners([\n\t\t{type: \&quot;tm-scroll\&quot;, handler: \&quot;handleScrollEvent\&quot;}\n\t]);\n\tif($tw.browser) {\n\t\tthis.requestAnimationFrame = window.requestAnimationFrame ||\n\t\t\twindow.webkitRequestAnimationFrame ||\n\t\t\twindow.mozRequestAnimationFrame ||\n\t\t\tfunction(callback) {\n\t\t\t\treturn window.setTimeout(callback, 1000/60);\n\t\t\t};\n\t\tthis.cancelAnimationFrame = window.cancelAnimationFrame ||\n\t\t\twindow.webkitCancelAnimationFrame ||\n\t\t\twindow.webkitCancelRequestAnimationFrame ||\n\t\t\twindow.mozCancelAnimationFrame ||\n\t\t\twindow.mozCancelRequestAnimationFrame ||\n\t\t\tfunction(id) {\n\t\t\t\twindow.clearTimeout(id);\n\t\t\t};\n\t}\n};\n\n/*\nInherit from the base widget class\n*/\nScrollableWidget.prototype = new Widget();\n\nScrollableWidget.prototype.cancelScroll = function() {\n\tif(this.idRequestFrame) {\n\t\tthis.cancelAnimationFrame.call(window,this.idRequestFrame);\n\t\tthis.idRequestFrame = null;\n\t}\n};\n\n/*\nHandle a scroll event\n*/\nScrollableWidget.prototype.handleScrollEvent = function(event) {\n\t// Pass the scroll event through if our offsetsize is larger than our scrollsize\n\tif(this.outerDomNode.scrollWidth &lt;= this.outerDomNode.offsetWidth &amp;&amp; this.outerDomNode.scrollHeight &lt;= this.outerDomNode.offsetHeight &amp;&amp; this.fallthrough === \&quot;yes\&quot;) {\n\t\treturn true;\n\t}\n\tif(event.paramObject &amp;&amp; event.paramObject.selector) {\n\t\tthis.scrollSelectorIntoView(null,event.paramObject.selector);\n\t} else {\n\t\tthis.scrollIntoView(event.target);\t\t\t\n\t}\n\treturn false; // Handled event\n};\n\n/*\nScroll an element into view\n*/\nScrollableWidget.prototype.scrollIntoView = function(element) {\n\tvar duration = $tw.utils.getAnimationDuration(),\n\tsrcWindow = element ? element.ownerDocument.defaultView : window;\n\tthis.cancelScroll();\n\tthis.startTime = Date.now();\n\tvar scrollPosition = {\n\t\tx: this.outerDomNode.scrollLeft,\n\t\ty: this.outerDomNode.scrollTop\n\t};\n\t// Get the client bounds of the element and adjust by the scroll position\n\tvar scrollableBounds = this.outerDomNode.getBoundingClientRect(),\n\t\tclientTargetBounds = element.getBoundingClientRect(),\n\t\tbounds = {\n\t\t\tleft: clientTargetBounds.left + scrollPosition.x - scrollableBounds.left,\n\t\t\ttop: clientTargetBounds.top + scrollPosition.y - scrollableBounds.top,\n\t\t\twidth: clientTargetBounds.width,\n\t\t\theight: clientTargetBounds.height\n\t\t};\n\t// We'll consider the horizontal and vertical scroll directions separately via this function\n\tvar getEndPos = function(targetPos,targetSize,currentPos,currentSize) {\n\t\t\t// If the target is already visible then stay where we are\n\t\t\tif(targetPos &gt;= currentPos &amp;&amp; (targetPos + targetSize) &lt;= (currentPos + currentSize)) {\n\t\t\t\treturn currentPos;\n\t\t\t// If the target is above/left of the current view, then scroll to its top/left\n\t\t\t} else if(targetPos &lt;= currentPos) {\n\t\t\t\treturn targetPos;\n\t\t\t// If the target is smaller than the window and the scroll position is too far up, then scroll till the target is at the bottom of the window\n\t\t\t} else if(targetSize &lt; currentSize &amp;&amp; currentPos &lt; (targetPos + targetSize - currentSize)) {\n\t\t\t\treturn targetPos + targetSize - currentSize;\n\t\t\t// If the target is big, then just scroll to the top\n\t\t\t} else if(currentPos &lt; targetPos) {\n\t\t\t\treturn targetPos;\n\t\t\t// Otherwise, stay where we are\n\t\t\t} else {\n\t\t\t\treturn currentPos;\n\t\t\t}\n\t\t},\n\t\tendX = getEndPos(bounds.left,bounds.w
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/select.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/select.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/select.js\ntype: application/javascript\nmodule-type: widget\n\nSelect widget:\n\n```\n&lt;$select tiddler=\&quot;MyTiddler\&quot; field=\&quot;text\&quot;&gt;\n&lt;$list filter=\&quot;[tag[chapter]]\&quot;&gt;\n&lt;option value=&lt;&lt;currentTiddler&gt;&gt;&gt;\n&lt;$view field=\&quot;description\&quot;/&gt;\n&lt;/option&gt;\n&lt;/$list&gt;\n&lt;/$select&gt;\n```\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\nvar SelectWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nSelectWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nSelectWidget.prototype.render = function(parent,nextSibling) {\n\tthis.parentDomNode = parent;\n\tthis.computeAttributes();\n\tthis.execute();\n\tthis.renderChildren(parent,nextSibling);\n\tthis.setSelectValue();\n\t$tw.utils.addEventListeners(this.getSelectDomNode(),[\n\t\t{name: \&quot;change\&quot;, handlerObject: this, handlerMethod: \&quot;handleChangeEvent\&quot;}\n\t]);\n};\n\n/*\nHandle a change event\n*/\nSelectWidget.prototype.handleChangeEvent = function(event) {\n\t// Get the new value and assign it to the tiddler\n\tif(this.selectMultiple == false) {\n\t\tvar value = this.getSelectDomNode().value;\n\t} else {\n\t\tvar value = this.getSelectValues()\n\t\t\t\tvalue = $tw.utils.stringifyList(value);\n\t}\n\tthis.wiki.setText(this.selectTitle,this.selectField,this.selectIndex,value);\n\t// Trigger actions\n\tif(this.selectActions) {\n\t\tthis.invokeActionString(this.selectActions,this,event);\n\t}\n};\n\n/*\nIf necessary, set the value of the select element to the current value\n*/\nSelectWidget.prototype.setSelectValue = function() {\n\tvar value = this.selectDefault;\n\t// Get the value\n\tif(this.selectIndex) {\n\t\tvalue = this.wiki.extractTiddlerDataItem(this.selectTitle,this.selectIndex,value);\n\t} else {\n\t\tvar tiddler = this.wiki.getTiddler(this.selectTitle);\n\t\tif(tiddler) {\n\t\t\tif(this.selectField === \&quot;text\&quot;) {\n\t\t\t\t// Calling getTiddlerText() triggers lazy loading of skinny tiddlers\n\t\t\t\tvalue = this.wiki.getTiddlerText(this.selectTitle);\n\t\t\t} else {\n\t\t\t\tif($tw.utils.hop(tiddler.fields,this.selectField)) {\n\t\t\t\t\tvalue = tiddler.getFieldString(this.selectField);\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tif(this.selectField === \&quot;title\&quot;) {\n\t\t\t\tvalue = this.selectTitle;\n\t\t\t}\n\t\t}\n\t}\n\t// Assign it to the select element if it's different than the current value\n\tif (this.selectMultiple) {\n\t\tvalue = value === undefined ? \&quot;\&quot; : value;\n\t\tvar select = this.getSelectDomNode();\n\t\tvar values = Array.isArray(value) ? value : $tw.utils.parseStringArray(value);\n\t\tfor(var i=0; i &lt; select.children.length; i++){\n\t\t\tselect.children[i].selected = values.indexOf(select.children[i].value) !== -1\n\t\t}\n\t} else {\n\t\tvar domNode = this.getSelectDomNode();\n\t\tif(domNode.value !== value) {\n\t\t\tdomNode.value = value;\n\t\t}\n\t}\n};\n\n/*\nGet the DOM node of the select element\n*/\nSelectWidget.prototype.getSelectDomNode = function() {\n\treturn this.children[0].domNodes[0];\n};\n\n// Return an array of the selected opion values\n// select is an HTML select element\nSelectWidget.prototype.getSelectValues = function() {\n\tvar select, result, options, opt;\n\tselect = this.getSelectDomNode();\n\tresult = [];\n\toptions = select &amp;&amp; select.options;\n\tfor (var i=0; i&lt;options.length; i++) {\n\t\topt = options[i];\n\t\tif (opt.selected) {\n\t\t\tresult.push(opt.value || opt.text);\n\t\t}\n\t}\n\treturn result;\n}\n\n/*\nCompute the internal state of the widget\n*/\nSelectWidget.prototype.execute = function() {\n\t// Get our parameters\n\tthis.selectActions = this.getAttribute(\&quot;actions\&quot;);\n\tthis.selectTitle = this.getAttribute(\&quot;tiddler\&quot;,th
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/set.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/set.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/set.js\ntype: application/javascript\nmodule-type: widget\n\nSet variable widget\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\nvar SetWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nSetWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nSetWidget.prototype.render = function(parent,nextSibling) {\n\tthis.parentDomNode = parent;\n\tthis.computeAttributes();\n\tthis.execute();\n\tthis.renderChildren(parent,nextSibling);\n};\n\n/*\nCompute the internal state of the widget\n*/\nSetWidget.prototype.execute = function() {\n\t// Get our parameters\n\tthis.setName = this.getAttribute(\&quot;name\&quot;,\&quot;currentTiddler\&quot;);\n\tthis.setFilter = this.getAttribute(\&quot;filter\&quot;);\n\tthis.setSelect = this.getAttribute(\&quot;select\&quot;);\n\tthis.setTiddler = this.getAttribute(\&quot;tiddler\&quot;);\n\tthis.setSubTiddler = this.getAttribute(\&quot;subtiddler\&quot;);\n\tthis.setField = this.getAttribute(\&quot;field\&quot;);\n\tthis.setIndex = this.getAttribute(\&quot;index\&quot;);\n\tthis.setValue = this.getAttribute(\&quot;value\&quot;);\n\tthis.setEmptyValue = this.getAttribute(\&quot;emptyValue\&quot;);\n\t// Set context variable\n\tthis.setVariable(this.setName,this.getValue(),this.parseTreeNode.params,!!this.parseTreeNode.isMacroDefinition);\n\t// Construct the child widgets\n\tthis.makeChildWidgets();\n};\n\n/*\nGet the value to be assigned\n*/\nSetWidget.prototype.getValue = function() {\n\tvar value = this.setValue;\n\tif(this.setTiddler) {\n\t\tvar tiddler;\n\t\tif(this.setSubTiddler) {\n\t\t\ttiddler = this.wiki.getSubTiddler(this.setTiddler,this.setSubTiddler);\n\t\t} else {\n\t\t\ttiddler = this.wiki.getTiddler(this.setTiddler);\t\t\t\n\t\t}\n\t\tif(!tiddler) {\n\t\t\tvalue = this.setEmptyValue;\n\t\t} else if(this.setField) {\n\t\t\tvalue = tiddler.getFieldString(this.setField) || this.setEmptyValue;\n\t\t} else if(this.setIndex) {\n\t\t\tvalue = this.wiki.extractTiddlerDataItem(this.setTiddler,this.setIndex,this.setEmptyValue);\n\t\t} else {\n\t\t\tvalue = tiddler.fields.text || this.setEmptyValue ;\n\t\t}\n\t} else if(this.setFilter) {\n\t\tvar results = this.wiki.filterTiddlers(this.setFilter,this);\n\t\tif(this.setValue == null) {\n\t\t\tvar select;\n\t\t\tif(this.setSelect) {\n\t\t\t\tselect = parseInt(this.setSelect,10);\n\t\t\t}\n\t\t\tif(select !== undefined) {\n\t\t\t\tvalue = results[select] || \&quot;\&quot;;\n\t\t\t} else {\n\t\t\t\tvalue = $tw.utils.stringifyList(results);\t\t\t\n\t\t\t}\n\t\t}\n\t\tif(results.length === 0 &amp;&amp; this.setEmptyValue !== undefined) {\n\t\t\tvalue = this.setEmptyValue;\n\t\t}\n\t} else if(!value &amp;&amp; this.setEmptyValue) {\n\t\tvalue = this.setEmptyValue;\n\t}\n\treturn value || \&quot;\&quot;;\n};\n\n/*\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\n*/\nSetWidget.prototype.refresh = function(changedTiddlers) {\n\tvar changedAttributes = this.computeAttributes();\n\tif(changedAttributes.name || changedAttributes.filter || changedAttributes.select || changedAttributes.tiddler || (this.setTiddler &amp;&amp; changedTiddlers[this.setTiddler]) || changedAttributes.field || changedAttributes.index || changedAttributes.value || changedAttributes.emptyValue ||\n\t (this.setFilter &amp;&amp; this.getValue() != this.variables[this.setName].value)) {\n\t\tthis.refreshSelf();\n\t\treturn true;\n\t} else {\n\t\treturn this.refreshChildren(changedTiddlers);\n\t}\n};\n\nexports.setvariable = SetWidget;\nexports.set = SetWidget;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/text.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/text.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/text.js\ntype: application/javascript\nmodule-type: widget\n\nText node widget\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\nvar TextNodeWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nTextNodeWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nTextNodeWidget.prototype.render = function(parent,nextSibling) {\n\tthis.parentDomNode = parent;\n\tthis.computeAttributes();\n\tthis.execute();\n\tvar text = this.getAttribute(\&quot;text\&quot;,this.parseTreeNode.text || \&quot;\&quot;);\n\ttext = text.replace(/\\r/mg,\&quot;\&quot;);\n\tvar textNode = this.document.createTextNode(text);\n\tparent.insertBefore(textNode,nextSibling);\n\tthis.domNodes.push(textNode);\n};\n\n/*\nCompute the internal state of the widget\n*/\nTextNodeWidget.prototype.execute = function() {\n\t// Nothing to do for a text node\n};\n\n/*\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\n*/\nTextNodeWidget.prototype.refresh = function(changedTiddlers) {\n\tvar changedAttributes = this.computeAttributes();\n\tif(changedAttributes.text) {\n\t\tthis.refreshSelf();\n\t\treturn true;\n\t} else {\n\t\treturn false;\t\n\t}\n};\n\nexports.text = TextNodeWidget;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/tiddler.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/tiddler.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/tiddler.js\ntype: application/javascript\nmodule-type: widget\n\nTiddler widget\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\nvar TiddlerWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nTiddlerWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nTiddlerWidget.prototype.render = function(parent,nextSibling) {\n\tthis.parentDomNode = parent;\n\tthis.computeAttributes();\n\tthis.execute();\n\tthis.renderChildren(parent,nextSibling);\n};\n\n/*\nCompute the internal state of the widget\n*/\nTiddlerWidget.prototype.execute = function() {\n\tthis.tiddlerState = this.computeTiddlerState();\n\tthis.setVariable(\&quot;currentTiddler\&quot;,this.tiddlerState.currentTiddler);\n\tthis.setVariable(\&quot;missingTiddlerClass\&quot;,this.tiddlerState.missingTiddlerClass);\n\tthis.setVariable(\&quot;shadowTiddlerClass\&quot;,this.tiddlerState.shadowTiddlerClass);\n\tthis.setVariable(\&quot;systemTiddlerClass\&quot;,this.tiddlerState.systemTiddlerClass);\n\tthis.setVariable(\&quot;tiddlerTagClasses\&quot;,this.tiddlerState.tiddlerTagClasses);\n\t// Construct the child widgets\n\tthis.makeChildWidgets();\n};\n\n/*\nCompute the tiddler state flags\n*/\nTiddlerWidget.prototype.computeTiddlerState = function() {\n\t// Get our parameters\n\tthis.tiddlerTitle = this.getAttribute(\&quot;tiddler\&quot;,this.getVariable(\&quot;currentTiddler\&quot;));\n\t// Compute the state\n\tvar state = {\n\t\tcurrentTiddler: this.tiddlerTitle || \&quot;\&quot;,\n\t\tmissingTiddlerClass: (this.wiki.tiddlerExists(this.tiddlerTitle) || this.wiki.isShadowTiddler(this.tiddlerTitle)) ? \&quot;tc-tiddler-exists\&quot; : \&quot;tc-tiddler-missing\&quot;,\n\t\tshadowTiddlerClass: this.wiki.isShadowTiddler(this.tiddlerTitle) ? \&quot;tc-tiddler-shadow\&quot; : \&quot;\&quot;,\n\t\tsystemTiddlerClass: this.wiki.isSystemTiddler(this.tiddlerTitle) ? \&quot;tc-tiddler-system\&quot; : \&quot;\&quot;,\n\t\ttiddlerTagClasses: this.getTagClasses()\n\t};\n\t// Compute a simple hash to make it easier to detect changes\n\tstate.hash = state.currentTiddler + state.missingTiddlerClass + state.shadowTiddlerClass + state.systemTiddlerClass + state.tiddlerTagClasses;\n\treturn state;\n};\n\n/*\nCreate a string of CSS classes derived from the tags of the current tiddler\n*/\nTiddlerWidget.prototype.getTagClasses = function() {\n\tvar tiddler = this.wiki.getTiddler(this.tiddlerTitle);\n\tif(tiddler) {\n\t\tvar tags = [];\n\t\t$tw.utils.each(tiddler.fields.tags,function(tag) {\n\t\t\ttags.push(\&quot;tc-tagged-\&quot; + encodeURIComponent(tag));\n\t\t});\n\t\treturn tags.join(\&quot; \&quot;);\n\t} else {\n\t\treturn \&quot;\&quot;;\n\t}\n};\n\n/*\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\n*/\nTiddlerWidget.prototype.refresh = function(changedTiddlers) {\n\tvar changedAttributes = this.computeAttributes(),\n\t\tnewTiddlerState = this.computeTiddlerState();\n\tif(changedAttributes.tiddler || newTiddlerState.hash !== this.tiddlerState.hash) {\n\t\tthis.refreshSelf();\n\t\treturn true;\n\t} else {\n\t\treturn this.refreshChildren(changedTiddlers);\t\t\n\t}\n};\n\nexports.tiddler = TiddlerWidget;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/transclude.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/transclude.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/transclude.js\ntype: application/javascript\nmodule-type: widget\n\nTransclude widget\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\nvar TranscludeWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nTranscludeWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nTranscludeWidget.prototype.render = function(parent,nextSibling) {\n\tthis.parentDomNode = parent;\n\tthis.computeAttributes();\n\tthis.execute();\n\tthis.renderChildren(parent,nextSibling);\n};\n\n/*\nCompute the internal state of the widget\n*/\nTranscludeWidget.prototype.execute = function() {\n\t// Get our parameters\n\tthis.transcludeTitle = this.getAttribute(\&quot;tiddler\&quot;,this.getVariable(\&quot;currentTiddler\&quot;));\n\tthis.transcludeSubTiddler = this.getAttribute(\&quot;subtiddler\&quot;);\n\tthis.transcludeField = this.getAttribute(\&quot;field\&quot;);\n\tthis.transcludeIndex = this.getAttribute(\&quot;index\&quot;);\n\tthis.transcludeMode = this.getAttribute(\&quot;mode\&quot;);\n\tthis.recursionMarker = this.getAttribute(\&quot;recursionMarker\&quot;,\&quot;yes\&quot;);\n\t// Parse the text reference\n\tvar parseAsInline = !this.parseTreeNode.isBlock;\n\tif(this.transcludeMode === \&quot;inline\&quot;) {\n\t\tparseAsInline = true;\n\t} else if(this.transcludeMode === \&quot;block\&quot;) {\n\t\tparseAsInline = false;\n\t}\n\tvar parser = this.wiki.parseTextReference(\n\t\t\t\t\t\tthis.transcludeTitle,\n\t\t\t\t\t\tthis.transcludeField,\n\t\t\t\t\t\tthis.transcludeIndex,\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tparseAsInline: parseAsInline,\n\t\t\t\t\t\t\tsubTiddler: this.transcludeSubTiddler\n\t\t\t\t\t\t}),\n\t\tparseTreeNodes = parser ? parser.tree : this.parseTreeNode.children;\n\t// Set context variables for recursion detection\n\tvar recursionMarker = this.makeRecursionMarker();\n\tif(this.recursionMarker === \&quot;yes\&quot;) {\n\t\tthis.setVariable(\&quot;transclusion\&quot;,recursionMarker);\n\t}\n\t// Check for recursion\n\tif(parser) {\n\t\tif(this.parentWidget &amp;&amp; this.parentWidget.hasVariable(\&quot;transclusion\&quot;,recursionMarker)) {\n\t\t\tparseTreeNodes = [{type: \&quot;element\&quot;, tag: \&quot;span\&quot;, attributes: {\n\t\t\t\t\&quot;class\&quot;: {type: \&quot;string\&quot;, value: \&quot;tc-error\&quot;}\n\t\t\t}, children: [\n\t\t\t\t{type: \&quot;text\&quot;, text: $tw.language.getString(\&quot;Error/RecursiveTransclusion\&quot;)}\n\t\t\t]}];\n\t\t}\n\t}\n\t// Construct the child widgets\n\tthis.makeChildWidgets(parseTreeNodes);\n};\n\n/*\nCompose a string comprising the title, field and/or index to identify this transclusion for recursion detection\n*/\nTranscludeWidget.prototype.makeRecursionMarker = function() {\n\tvar output = [];\n\toutput.push(\&quot;{\&quot;);\n\toutput.push(this.getVariable(\&quot;currentTiddler\&quot;,{defaultValue: \&quot;\&quot;}));\n\toutput.push(\&quot;|\&quot;);\n\toutput.push(this.transcludeTitle || \&quot;\&quot;);\n\toutput.push(\&quot;|\&quot;);\n\toutput.push(this.transcludeField || \&quot;\&quot;);\n\toutput.push(\&quot;|\&quot;);\n\toutput.push(this.transcludeIndex || \&quot;\&quot;);\n\toutput.push(\&quot;|\&quot;);\n\toutput.push(this.transcludeSubTiddler || \&quot;\&quot;);\n\toutput.push(\&quot;}\&quot;);\n\treturn output.join(\&quot;\&quot;);\n};\n\n/*\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\n*/\nTranscludeWidget.prototype.refresh = function(changedTiddlers) {\n\tvar changedAttributes = this.computeAttributes();\n\tif(changedAttributes.tiddler || changedAttributes.field || changedAttributes.index || changedTiddlers[this.transcludeTitle]) {\n\t\tthis.refreshSelf();\n\t\treturn true;\n\t} else {\n\t\treturn this.refreshChildren(changedTiddlers);\t\t\n\t}\n};\n\nexports.trans
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/vars.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/vars.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/vars.js\ntype: application/javascript\nmodule-type: widget\n\nThis widget allows multiple variables to be set in one go:\n\n```\n\\define helloworld() Hello world!\n&lt;$vars greeting=\&quot;Hi\&quot; me={{!!title}} sentence=&lt;&lt;helloworld&gt;&gt;&gt;\n &lt;&lt;greeting&gt;&gt;! I am &lt;&lt;me&gt;&gt; and I say: &lt;&lt;sentence&gt;&gt;\n&lt;/$vars&gt;\n```\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\nvar VarsWidget = function(parseTreeNode,options) {\n\t// Call the constructor\n\tWidget.call(this);\n\t// Initialise\t\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nVarsWidget.prototype = Object.create(Widget.prototype);\n\n/*\nRender this widget into the DOM\n*/\nVarsWidget.prototype.render = function(parent,nextSibling) {\n\tthis.parentDomNode = parent;\n\tthis.computeAttributes();\n\tthis.execute();\n\tthis.renderChildren(parent,nextSibling);\n};\n\n/*\nCompute the internal state of the widget\n*/\nVarsWidget.prototype.execute = function() {\n\t// Parse variables\n\tvar self = this;\n\t$tw.utils.each(this.attributes,function(val,key) {\n\t\tif(key.charAt(0) !== \&quot;$\&quot;) {\n\t\t\tself.setVariable(key,val);\n\t\t}\n\t});\n\t// Construct the child widgets\n\tthis.makeChildWidgets();\n};\n\n/*\nRefresh the widget by ensuring our attributes are up to date\n*/\nVarsWidget.prototype.refresh = function(changedTiddlers) {\n\tvar changedAttributes = this.computeAttributes();\n\tif(Object.keys(changedAttributes).length) {\n\t\tthis.refreshSelf();\n\t\treturn true;\n\t}\n\treturn this.refreshChildren(changedTiddlers);\n};\n\nexports[\&quot;vars\&quot;] = VarsWidget;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/view.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/view.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/view.js\ntype: application/javascript\nmodule-type: widget\n\nView widget\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\nvar ViewWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nViewWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nViewWidget.prototype.render = function(parent,nextSibling) {\n\tthis.parentDomNode = parent;\n\tthis.computeAttributes();\n\tthis.execute();\n\tif(this.text) {\n\t\tvar textNode = this.document.createTextNode(this.text);\n\t\tparent.insertBefore(textNode,nextSibling);\n\t\tthis.domNodes.push(textNode);\n\t} else {\n\t\tthis.makeChildWidgets();\n\t\tthis.renderChildren(parent,nextSibling);\n\t}\n};\n\n/*\nCompute the internal state of the widget\n*/\nViewWidget.prototype.execute = function() {\n\t// Get parameters from our attributes\n\tthis.viewTitle = this.getAttribute(\&quot;tiddler\&quot;,this.getVariable(\&quot;currentTiddler\&quot;));\n\tthis.viewSubtiddler = this.getAttribute(\&quot;subtiddler\&quot;);\n\tthis.viewField = this.getAttribute(\&quot;field\&quot;,\&quot;text\&quot;);\n\tthis.viewIndex = this.getAttribute(\&quot;index\&quot;);\n\tthis.viewFormat = this.getAttribute(\&quot;format\&quot;,\&quot;text\&quot;);\n\tthis.viewTemplate = this.getAttribute(\&quot;template\&quot;,\&quot;\&quot;);\n\tthis.viewMode = this.getAttribute(\&quot;mode\&quot;,\&quot;block\&quot;);\n\tswitch(this.viewFormat) {\n\t\tcase \&quot;htmlwikified\&quot;:\n\t\t\tthis.text = this.getValueAsHtmlWikified(this.viewMode);\n\t\t\tbreak;\n\t\tcase \&quot;plainwikified\&quot;:\n\t\t\tthis.text = this.getValueAsPlainWikified(this.viewMode);\n\t\t\tbreak;\n\t\tcase \&quot;htmlencodedplainwikified\&quot;:\n\t\t\tthis.text = this.getValueAsHtmlEncodedPlainWikified(this.viewMode);\n\t\t\tbreak;\n\t\tcase \&quot;htmlencoded\&quot;:\n\t\t\tthis.text = this.getValueAsHtmlEncoded();\n\t\t\tbreak;\n\t\tcase \&quot;urlencoded\&quot;:\n\t\t\tthis.text = this.getValueAsUrlEncoded();\n\t\t\tbreak;\n\t\tcase \&quot;doubleurlencoded\&quot;:\n\t\t\tthis.text = this.getValueAsDoubleUrlEncoded();\n\t\t\tbreak;\n\t\tcase \&quot;date\&quot;:\n\t\t\tthis.text = this.getValueAsDate(this.viewTemplate);\n\t\t\tbreak;\n\t\tcase \&quot;relativedate\&quot;:\n\t\t\tthis.text = this.getValueAsRelativeDate();\n\t\t\tbreak;\n\t\tcase \&quot;stripcomments\&quot;:\n\t\t\tthis.text = this.getValueAsStrippedComments();\n\t\t\tbreak;\n\t\tcase \&quot;jsencoded\&quot;:\n\t\t\tthis.text = this.getValueAsJsEncoded();\n\t\t\tbreak;\n\t\tdefault: // \&quot;text\&quot;\n\t\t\tthis.text = this.getValueAsText();\n\t\t\tbreak;\n\t}\n};\n\n/*\nThe various formatter functions are baked into this widget for the moment. Eventually they will be replaced by macro functions\n*/\n\n/*\nRetrieve the value of the widget. Options are:\nasString: Optionally return the value as a string\n*/\nViewWidget.prototype.getValue = function(options) {\n\toptions = options || {};\n\tvar value = options.asString ? \&quot;\&quot; : undefined;\n\tif(this.viewIndex) {\n\t\tvalue = this.wiki.extractTiddlerDataItem(this.viewTitle,this.viewIndex);\n\t} else {\n\t\tvar tiddler;\n\t\tif(this.viewSubtiddler) {\n\t\t\ttiddler = this.wiki.getSubTiddler(this.viewTitle,this.viewSubtiddler);\t\n\t\t} else {\n\t\t\ttiddler = this.wiki.getTiddler(this.viewTitle);\n\t\t}\n\t\tif(tiddler) {\n\t\t\tif(this.viewField === \&quot;text\&quot; &amp;&amp; !this.viewSubtiddler) {\n\t\t\t\t// Calling getTiddlerText() triggers lazy loading of skinny tiddlers\n\t\t\t\tvalue = this.wiki.getTiddlerText(this.viewTitle);\n\t\t\t} else {\n\t\t\t\tif($tw.utils.hop(tiddler.fields,this.viewField)) {\n\t\t\t\t\tif(options.asString) {\n\t\t\t\t\t\tvalue = tiddler.getFieldString(this.viewField);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tvalue = tiddler.fields[this.viewField];\t\t\t\t\n\t\t\t\t\
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/widget.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/widget.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/widget.js\ntype: application/javascript\nmodule-type: widget\n\nWidget base class\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nCreate a widget object for a parse tree node\n\tparseTreeNode: reference to the parse tree node to be rendered\n\toptions: see below\nOptions include:\n\twiki: mandatory reference to wiki associated with this render tree\n\tparentWidget: optional reference to a parent renderer node for the context chain\n\tdocument: optional document object to use instead of global document\n*/\nvar Widget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInitialise widget properties. These steps are pulled out of the constructor so that we can reuse them in subclasses\n*/\nWidget.prototype.initialise = function(parseTreeNode,options) {\n\t// Bail if parseTreeNode is undefined, meaning that the widget constructor was called without any arguments so that it can be subclassed\n\tif(parseTreeNode === undefined) {\n\t\treturn;\n\t}\n\toptions = options || {};\n\t// Save widget info\n\tthis.parseTreeNode = parseTreeNode;\n\tthis.wiki = options.wiki;\n\tthis.parentWidget = options.parentWidget;\n\tthis.variablesConstructor = function() {};\n\tthis.variablesConstructor.prototype = this.parentWidget ? this.parentWidget.variables : {};\n\tthis.variables = new this.variablesConstructor();\n\tthis.document = options.document;\n\tthis.attributes = {};\n\tthis.children = [];\n\tthis.domNodes = [];\n\tthis.eventListeners = {};\n\t// Hashmap of the widget classes\n\tif(!this.widgetClasses) {\n\t\t// Get widget classes\n\t\tWidget.prototype.widgetClasses = $tw.modules.applyMethods(\&quot;widget\&quot;);\n\t\t// Process any subclasses\n\t\t$tw.modules.forEachModuleOfType(\&quot;widget-subclass\&quot;,function(title,module) {\n\t\t\tif(module.baseClass) {\n\t\t\t\tvar baseClass = Widget.prototype.widgetClasses[module.baseClass];\n\t\t\t\tif(!baseClass) {\n\t\t\t\t\tthrow \&quot;Module '\&quot; + title + \&quot;' is attemping to extend a non-existent base class '\&quot; + module.baseClass + \&quot;'\&quot;;\n\t\t\t\t}\n\t\t\t\tvar subClass = module.constructor;\n\t\t\t\tsubClass.prototype = new baseClass();\n\t\t\t\t$tw.utils.extend(subClass.prototype,module.prototype);\n\t\t\t\tWidget.prototype.widgetClasses[module.name || module.baseClass] = subClass;\n\t\t\t}\n\t\t});\n\t}\n};\n\n/*\nRender this widget into the DOM\n*/\nWidget.prototype.render = function(parent,nextSibling) {\n\tthis.parentDomNode = parent;\n\tthis.execute();\n\tthis.renderChildren(parent,nextSibling);\n};\n\n/*\nCompute the internal state of the widget\n*/\nWidget.prototype.execute = function() {\n\tthis.makeChildWidgets();\n};\n\n/*\nSet the value of a context variable\nname: name of the variable\nvalue: value of the variable\nparams: array of {name:, default:} for each parameter\nisMacroDefinition: true if the variable is set via a \\define macro pragma (and hence should have variable substitution performed)\n*/\nWidget.prototype.setVariable = function(name,value,params,isMacroDefinition) {\n\tthis.variables[name] = {value: value, params: params, isMacroDefinition: !!isMacroDefinition};\n};\n\n/*\nGet the prevailing value of a context variable\nname: name of variable\noptions: see below\nOptions include\nparams: array of {name:, value:} for each parameter\ndefaultValue: default value if the variable is not defined\n\nReturns an object with the following fields:\n\nparams: array of {name:,value:} of parameters passed to wikitext variables\ntext: text of variable, with parameters properly substituted\n*/\nWidget.prototype.getVariableInfo = function(name,options) {\n\toptions = options || {};\n\tvar actualParams = options.params || [],\n\t\tparentWidget = this.parentWidget;\n\t// Check for the variable defined in the parent widget (or an ancestor in the prototype chain)\n\tif(parentWidget &amp;&amp; name in parentWidget.variables) {\n\t\tvar variable = parentWidget.variables
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/widgets/wikify.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/widgets/wikify.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/widgets/wikify.js\ntype: application/javascript\nmodule-type: widget\n\nWidget to wikify text into a variable\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\nvar WikifyWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nWikifyWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nWikifyWidget.prototype.render = function(parent,nextSibling) {\n\tthis.parentDomNode = parent;\n\tthis.computeAttributes();\n\tthis.execute();\n\tthis.renderChildren(parent,nextSibling);\n};\n\n/*\nCompute the internal state of the widget\n*/\nWikifyWidget.prototype.execute = function() {\n\t// Get our parameters\n\tthis.wikifyName = this.getAttribute(\&quot;name\&quot;);\n\tthis.wikifyText = this.getAttribute(\&quot;text\&quot;);\n\tthis.wikifyType = this.getAttribute(\&quot;type\&quot;);\n\tthis.wikifyMode = this.getAttribute(\&quot;mode\&quot;,\&quot;block\&quot;);\n\tthis.wikifyOutput = this.getAttribute(\&quot;output\&quot;,\&quot;text\&quot;);\n\t// Create the parse tree\n\tthis.wikifyParser = this.wiki.parseText(this.wikifyType,this.wikifyText,{\n\t\t\tparseAsInline: this.wikifyMode === \&quot;inline\&quot;\n\t\t});\n\t// Create the widget tree \n\tthis.wikifyWidgetNode = this.wiki.makeWidget(this.wikifyParser,{\n\t\t\tdocument: $tw.fakeDocument,\n\t\t\tparentWidget: this\n\t\t});\n\t// Render the widget tree to the container\n\tthis.wikifyContainer = $tw.fakeDocument.createElement(\&quot;div\&quot;);\n\tthis.wikifyWidgetNode.render(this.wikifyContainer,null);\n\tthis.wikifyResult = this.getResult();\n\t// Set context variable\n\tthis.setVariable(this.wikifyName,this.wikifyResult);\n\t// Construct the child widgets\n\tthis.makeChildWidgets();\n};\n\n/*\nReturn the result string\n*/\nWikifyWidget.prototype.getResult = function() {\n\tvar result;\n\tswitch(this.wikifyOutput) {\n\t\tcase \&quot;text\&quot;:\n\t\t\tresult = this.wikifyContainer.textContent;\n\t\t\tbreak;\n\t\tcase \&quot;formattedtext\&quot;:\n\t\t\tresult = this.wikifyContainer.formattedTextContent;\n\t\t\tbreak;\n\t\tcase \&quot;html\&quot;:\n\t\t\tresult = this.wikifyContainer.innerHTML;\n\t\t\tbreak;\n\t\tcase \&quot;parsetree\&quot;:\n\t\t\tresult = JSON.stringify(this.wikifyParser.tree,0,$tw.config.preferences.jsonSpaces);\n\t\t\tbreak;\n\t\tcase \&quot;widgettree\&quot;:\n\t\t\tresult = JSON.stringify(this.getWidgetTree(),0,$tw.config.preferences.jsonSpaces);\n\t\t\tbreak;\n\t}\n\treturn result;\n};\n\n/*\nReturn a string of the widget tree\n*/\nWikifyWidget.prototype.getWidgetTree = function() {\n\tvar copyNode = function(widgetNode,resultNode) {\n\t\t\tvar type = widgetNode.parseTreeNode.type;\n\t\t\tresultNode.type = type;\n\t\t\tswitch(type) {\n\t\t\t\tcase \&quot;element\&quot;:\n\t\t\t\t\tresultNode.tag = widgetNode.parseTreeNode.tag;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \&quot;text\&quot;:\n\t\t\t\t\tresultNode.text = widgetNode.parseTreeNode.text;\n\t\t\t\t\tbreak;\t\n\t\t\t}\n\t\t\tif(Object.keys(widgetNode.attributes || {}).length &gt; 0) {\n\t\t\t\tresultNode.attributes = {};\n\t\t\t\t$tw.utils.each(widgetNode.attributes,function(attr,attrName) {\n\t\t\t\t\tresultNode.attributes[attrName] = widgetNode.getAttribute(attrName);\n\t\t\t\t});\n\t\t\t}\n\t\t\tif(Object.keys(widgetNode.children || {}).length &gt; 0) {\n\t\t\t\tresultNode.children = [];\n\t\t\t\t$tw.utils.each(widgetNode.children,function(widgetChildNode) {\n\t\t\t\t\tvar node = {};\n\t\t\t\t\tresultNode.children.push(node);\n\t\t\t\t\tcopyNode(widgetChildNode,node);\n\t\t\t\t});\n\t\t\t}\n\t\t},\n\t\tresults = {};\n\tcopyNode(this.wikifyWidgetNode,results);\n\treturn results;\n};\n\n/*\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\n*/\nWikifyWidget.prototype.refresh = function(changedTiddlers) {\n\tvar changedAttribute
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/core/modules/wiki-bulkops.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/wiki-bulkops.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/wiki-bulkops.js\ntype: application/javascript\nmodule-type: wikimethod\n\nBulk tiddler operations such as rename.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nRename a tiddler, and relink any tags or lists that reference it.\n*/\nfunction renameTiddler(fromTitle,toTitle,options) {\n\tfromTitle = (fromTitle || \&quot;\&quot;).trim();\n\ttoTitle = (toTitle || \&quot;\&quot;).trim();\n\toptions = options || {};\n\tif(fromTitle &amp;&amp; toTitle &amp;&amp; fromTitle !== toTitle) {\n\t\t// Rename the tiddler itself\n\t\tvar oldTiddler = this.getTiddler(fromTitle),\n\t\t\tnewTiddler = new $tw.Tiddler(oldTiddler,{title: toTitle},this.getModificationFields());\n\t\tnewTiddler = $tw.hooks.invokeHook(\&quot;th-renaming-tiddler\&quot;,newTiddler,oldTiddler);\n\t\tthis.addTiddler(newTiddler);\n\t\tthis.deleteTiddler(fromTitle);\n\t\t// Rename any tags or lists that reference it\n\t\tthis.relinkTiddler(fromTitle,toTitle,options)\n\t}\n}\n\n/*\nRelink any tags or lists that reference a given tiddler\n*/\nfunction relinkTiddler(fromTitle,toTitle,options) {\n\tvar self = this;\n\tfromTitle = (fromTitle || \&quot;\&quot;).trim();\n\ttoTitle = (toTitle || \&quot;\&quot;).trim();\n\toptions = options || {};\n\tif(fromTitle &amp;&amp; toTitle &amp;&amp; fromTitle !== toTitle) {\n\t\tthis.each(function(tiddler,title) {\n\t\t\tvar type = tiddler.fields.type || \&quot;\&quot;;\n\t\t\t// Don't touch plugins or JavaScript modules\n\t\t\tif(!tiddler.fields[\&quot;plugin-type\&quot;] &amp;&amp; type !== \&quot;application/javascript\&quot;) {\n\t\t\t\tvar tags = tiddler.fields.tags ? tiddler.fields.tags.slice(0) : undefined,\n\t\t\t\t\tlist = tiddler.fields.list ? tiddler.fields.list.slice(0) : undefined,\n\t\t\t\t\tisModified = false;\n\t\t\t\tif(!options.dontRenameInTags) {\n\t\t\t\t\t// Rename tags\n\t\t\t\t\t$tw.utils.each(tags,function (title,index) {\n\t\t\t\t\t\tif(title === fromTitle) {\nconsole.log(\&quot;Renaming tag '\&quot; + tags[index] + \&quot;' to '\&quot; + toTitle + \&quot;' of tiddler '\&quot; + tiddler.fields.title + \&quot;'\&quot;);\n\t\t\t\t\t\t\ttags[index] = toTitle;\n\t\t\t\t\t\t\tisModified = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\tif(!options.dontRenameInLists) {\n\t\t\t\t\t// Rename lists\n\t\t\t\t\t$tw.utils.each(list,function (title,index) {\n\t\t\t\t\t\tif(title === fromTitle) {\nconsole.log(\&quot;Renaming list item '\&quot; + list[index] + \&quot;' to '\&quot; + toTitle + \&quot;' of tiddler '\&quot; + tiddler.fields.title + \&quot;'\&quot;);\n\t\t\t\t\t\t\tlist[index] = toTitle;\n\t\t\t\t\t\t\tisModified = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\tif(isModified) {\n\t\t\t\t\tvar newTiddler = new $tw.Tiddler(tiddler,{tags: tags, list: list},self.getModificationFields())\n\t\t\t\t\tnewTiddler = $tw.hooks.invokeHook(\&quot;th-relinking-tiddler\&quot;,newTiddler,tiddler);\n\t\t\t\t\tself.addTiddler(newTiddler);\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t}\n};\n\nexports.renameTiddler = renameTiddler;\nexports.relinkTiddler = relinkTiddler;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;wikimethod&quot;
},
&quot;$:/core/modules/wiki.js&quot;: {
&quot;title&quot;: &quot;$:/core/modules/wiki.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/wiki.js\ntype: application/javascript\nmodule-type: wikimethod\n\nExtension methods for the $tw.Wiki object\n\nAdds the following properties to the wiki object:\n\n* `eventListeners` is a hashmap by type of arrays of listener functions\n* `changedTiddlers` is a hashmap describing changes to named tiddlers since wiki change events were last dispatched. Each entry is a hashmap containing two fields:\n\tmodified: true/false\n\tdeleted: true/false\n* `changeCount` is a hashmap by tiddler title containing a numerical index that starts at zero and is incremented each time a tiddler is created changed or deleted\n* `caches` is a hashmap by tiddler title containing a further hashmap of named cache objects. Caches are automatically cleared when a tiddler is modified or deleted\n* `globalCache` is a hashmap by cache name of cache objects that are cleared whenever any tiddler change occurs\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;);\n\nvar USER_NAME_TITLE = \&quot;$:/status/UserName\&quot;,\n\tTIMESTAMP_DISABLE_TITLE = \&quot;$:/config/TimestampDisable\&quot;;\n\n/*\nAdd available indexers to this wiki\n*/\nexports.addIndexersToWiki = function() {\n\tvar self = this;\n\t$tw.utils.each($tw.modules.applyMethods(\&quot;indexer\&quot;),function(Indexer,name) {\n\t\tself.addIndexer(new Indexer(self),name);\n\t});\n};\n\n/*\nGet the value of a text reference. Text references can have any of these forms:\n\t&lt;tiddlertitle&gt;\n\t&lt;tiddlertitle&gt;!!&lt;fieldname&gt;\n\t!!&lt;fieldname&gt; - specifies a field of the current tiddlers\n\t&lt;tiddlertitle&gt;##&lt;index&gt;\n*/\nexports.getTextReference = function(textRef,defaultText,currTiddlerTitle) {\n\tvar tr = $tw.utils.parseTextReference(textRef),\n\t\ttitle = tr.title || currTiddlerTitle;\n\tif(tr.field) {\n\t\tvar tiddler = this.getTiddler(title);\n\t\tif(tr.field === \&quot;title\&quot;) { // Special case so we can return the title of a non-existent tiddler\n\t\t\treturn title;\n\t\t} else if(tiddler &amp;&amp; $tw.utils.hop(tiddler.fields,tr.field)) {\n\t\t\treturn tiddler.getFieldString(tr.field);\n\t\t} else {\n\t\t\treturn defaultText;\n\t\t}\n\t} else if(tr.index) {\n\t\treturn this.extractTiddlerDataItem(title,tr.index,defaultText);\n\t} else {\n\t\treturn this.getTiddlerText(title,defaultText);\n\t}\n};\n\nexports.setTextReference = function(textRef,value,currTiddlerTitle) {\n\tvar tr = $tw.utils.parseTextReference(textRef),\n\t\ttitle = tr.title || currTiddlerTitle;\n\tthis.setText(title,tr.field,tr.index,value);\n};\n\nexports.setText = function(title,field,index,value,options) {\n\toptions = options || {};\n\tvar creationFields = options.suppressTimestamp ? {} : this.getCreationFields(),\n\t\tmodificationFields = options.suppressTimestamp ? {} : this.getModificationFields();\n\t// Check if it is a reference to a tiddler field\n\tif(index) {\n\t\tvar data = this.getTiddlerData(title,Object.create(null));\n\t\tif(value !== undefined) {\n\t\t\tdata[index] = value;\n\t\t} else {\n\t\t\tdelete data[index];\n\t\t}\n\t\tthis.setTiddlerData(title,data,modificationFields);\n\t} else {\n\t\tvar tiddler = this.getTiddler(title),\n\t\t\tfields = {title: title};\n\t\tfields[field || \&quot;text\&quot;] = value;\n\t\tthis.addTiddler(new $tw.Tiddler(creationFields,tiddler,fields,modificationFields));\n\t}\n};\n\nexports.deleteTextReference = function(textRef,currTiddlerTitle) {\n\tvar tr = $tw.utils.parseTextReference(textRef),\n\t\ttitle,tiddler,fields;\n\t// Check if it is a reference to a tiddler\n\tif(tr.title &amp;&amp; !tr.field) {\n\t\tthis.deleteTiddler(tr.title);\n\t// Else check for a field reference\n\t} else if(tr.field) {\n\t\ttitle = tr.title || currTiddlerTitle;\n\t\ttiddler = this.getTiddler(title);\n\t\tif(tiddler &amp;&amp; $tw.utils.hop(tiddler.fields,tr.field)) {\n\t\t\tfields = Object.create(null);\n\t\t\tfields[tr.field] = undefined;\n\t\t\tthis.addTiddler(
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;wikimethod&quot;
},
&quot;$:/palettes/Blanca&quot;: {
&quot;title&quot;: &quot;$:/palettes/Blanca&quot;,
&quot;name&quot;: &quot;Blanca&quot;,
&quot;description&quot;: &quot;A clean white palette to let you focus&quot;,
&quot;tags&quot;: &quot;$:/tags/Palette&quot;,
&quot;type&quot;: &quot;application/x-tiddler-dictionary&quot;,
&quot;text&quot;: &quot;alert-background: #ffe476\nalert-border: #b99e2f\nalert-highlight: #881122\nalert-muted-foreground: #b99e2f\nbackground: #ffffff\nblockquote-bar: &lt;&lt;colour muted-foreground&gt;&gt;\nbutton-background:\nbutton-foreground:\nbutton-border:\ncode-background: #f7f7f9\ncode-border: #e1e1e8\ncode-foreground: #dd1144\ndirty-indicator: #ff0000\ndownload-background: #66cccc\ndownload-foreground: &lt;&lt;colour background&gt;&gt;\ndragger-background: &lt;&lt;colour foreground&gt;&gt;\ndragger-foreground: &lt;&lt;colour background&gt;&gt;\ndropdown-background: &lt;&lt;colour background&gt;&gt;\ndropdown-border: &lt;&lt;colour muted-foreground&gt;&gt;\ndropdown-tab-background-selected: #fff\ndropdown-tab-background: #ececec\ndropzone-background: rgba(0,200,0,0.7)\nexternal-link-background-hover: inherit\nexternal-link-background-visited: inherit\nexternal-link-background: inherit\nexternal-link-foreground-hover: inherit\nexternal-link-foreground-visited: #0000aa\nexternal-link-foreground: #0000ee\nforeground: #333333\nmessage-background: #ecf2ff\nmessage-border: #cfd6e6\nmessage-foreground: #547599\nmodal-backdrop: &lt;&lt;colour foreground&gt;&gt;\nmodal-background: &lt;&lt;colour background&gt;&gt;\nmodal-border: #999999\nmodal-footer-background: #f5f5f5\nmodal-footer-border: #dddddd\nmodal-header-border: #eeeeee\nmuted-foreground: #999999\nnotification-background: #ffffdd\nnotification-border: #999999\npage-background: #ffffff\npre-background: #f5f5f5\npre-border: #cccccc\nprimary: #7897f3\nselect-tag-background:\nselect-tag-foreground:\nsidebar-button-foreground: &lt;&lt;colour foreground&gt;&gt;\nsidebar-controls-foreground-hover: #000000\nsidebar-controls-foreground: #ccc\nsidebar-foreground-shadow: rgba(255,255,255, 0.8)\nsidebar-foreground: #acacac\nsidebar-muted-foreground-hover: #444444\nsidebar-muted-foreground: #c0c0c0\nsidebar-tab-background-selected: #ffffff\nsidebar-tab-background: &lt;&lt;colour tab-background&gt;&gt;\nsidebar-tab-border-selected: &lt;&lt;colour tab-border-selected&gt;&gt;\nsidebar-tab-border: &lt;&lt;colour tab-border&gt;&gt;\nsidebar-tab-divider: &lt;&lt;colour tab-divider&gt;&gt;\nsidebar-tab-foreground-selected: \nsidebar-tab-foreground: &lt;&lt;colour tab-foreground&gt;&gt;\nsidebar-tiddler-link-foreground-hover: #444444\nsidebar-tiddler-link-foreground: #7897f3\nsite-title-foreground: &lt;&lt;colour tiddler-title-foreground&gt;&gt;\nstatic-alert-foreground: #aaaaaa\ntab-background-selected: #ffffff\ntab-background: #eeeeee\ntab-border-selected: #cccccc\ntab-border: #cccccc\ntab-divider: #d8d8d8\ntab-foreground-selected: &lt;&lt;colour tab-foreground&gt;&gt;\ntab-foreground: #666666\ntable-border: #dddddd\ntable-footer-background: #a8a8a8\ntable-header-background: #f0f0f0\ntag-background: #ffeedd\ntag-foreground: #000\ntiddler-background: &lt;&lt;colour background&gt;&gt;\ntiddler-border: #eee\ntiddler-controls-foreground-hover: #888888\ntiddler-controls-foreground-selected: #444444\ntiddler-controls-foreground: #cccccc\ntiddler-editor-background: #f8f8f8\ntiddler-editor-border-image: #ffffff\ntiddler-editor-border: #cccccc\ntiddler-editor-fields-even: #e0e8e0\ntiddler-editor-fields-odd: #f0f4f0\ntiddler-info-background: #f8f8f8\ntiddler-info-border: #dddddd\ntiddler-info-tab-background: #f8f8f8\ntiddler-link-background: &lt;&lt;colour background&gt;&gt;\ntiddler-link-foreground: &lt;&lt;colour primary&gt;&gt;\ntiddler-subtitle-foreground: #c0c0c0\ntiddler-title-foreground: #ff9900\ntoolbar-new-button:\ntoolbar-options-button:\ntoolbar-save-button:\ntoolbar-info-button:\ntoolbar-edit-button:\ntoolbar-close-button:\ntoolbar-delete-button:\ntoolbar-cancel-button:\ntoolbar-done-button:\nuntagged-background: #999999\nvery-muted-foreground: #888888\n&quot;
},
&quot;$:/palettes/Blue&quot;: {
&quot;title&quot;: &quot;$:/palettes/Blue&quot;,
&quot;name&quot;: &quot;Blue&quot;,
&quot;description&quot;: &quot;A blue theme&quot;,
&quot;tags&quot;: &quot;$:/tags/Palette&quot;,
&quot;type&quot;: &quot;application/x-tiddler-dictionary&quot;,
&quot;text&quot;: &quot;alert-background: #ffe476\nalert-border: #b99e2f\nalert-highlight: #881122\nalert-muted-foreground: #b99e2f\nbackground: #fff\nblockquote-bar: &lt;&lt;colour muted-foreground&gt;&gt;\nbutton-background:\nbutton-foreground:\nbutton-border:\ncode-background: #f7f7f9\ncode-border: #e1e1e8\ncode-foreground: #dd1144\ndirty-indicator: #ff0000\ndownload-background: #34c734\ndownload-foreground: &lt;&lt;colour foreground&gt;&gt;\ndragger-background: &lt;&lt;colour foreground&gt;&gt;\ndragger-foreground: &lt;&lt;colour background&gt;&gt;\ndropdown-background: &lt;&lt;colour background&gt;&gt;\ndropdown-border: &lt;&lt;colour muted-foreground&gt;&gt;\ndropdown-tab-background-selected: #fff\ndropdown-tab-background: #ececec\ndropzone-background: rgba(0,200,0,0.7)\nexternal-link-background-hover: inherit\nexternal-link-background-visited: inherit\nexternal-link-background: inherit\nexternal-link-foreground-hover: inherit\nexternal-link-foreground-visited: #0000aa\nexternal-link-foreground: #0000ee\nforeground: #333353\nmessage-background: #ecf2ff\nmessage-border: #cfd6e6\nmessage-foreground: #547599\nmodal-backdrop: &lt;&lt;colour foreground&gt;&gt;\nmodal-background: &lt;&lt;colour background&gt;&gt;\nmodal-border: #999999\nmodal-footer-background: #f5f5f5\nmodal-footer-border: #dddddd\nmodal-header-border: #eeeeee\nmuted-foreground: #999999\nnotification-background: #ffffdd\nnotification-border: #999999\npage-background: #ddddff\npre-background: #f5f5f5\npre-border: #cccccc\nprimary: #5778d8\nselect-tag-background:\nselect-tag-foreground:\nsidebar-button-foreground: &lt;&lt;colour foreground&gt;&gt;\nsidebar-controls-foreground-hover: #000000\nsidebar-controls-foreground: #ffffff\nsidebar-foreground-shadow: rgba(255,255,255, 0.8)\nsidebar-foreground: #acacac\nsidebar-muted-foreground-hover: #444444\nsidebar-muted-foreground: #c0c0c0\nsidebar-tab-background-selected: &lt;&lt;colour page-background&gt;&gt;\nsidebar-tab-background: &lt;&lt;colour tab-background&gt;&gt;\nsidebar-tab-border-selected: &lt;&lt;colour tab-border-selected&gt;&gt;\nsidebar-tab-border: &lt;&lt;colour tab-border&gt;&gt;\nsidebar-tab-divider: &lt;&lt;colour tab-divider&gt;&gt;\nsidebar-tab-foreground-selected: \nsidebar-tab-foreground: &lt;&lt;colour tab-foreground&gt;&gt;\nsidebar-tiddler-link-foreground-hover: #444444\nsidebar-tiddler-link-foreground: #5959c0\nsite-title-foreground: &lt;&lt;colour tiddler-title-foreground&gt;&gt;\nstatic-alert-foreground: #aaaaaa\ntab-background-selected: &lt;&lt;colour background&gt;&gt;\ntab-background: #ccccdd\ntab-border-selected: #ccccdd\ntab-border: #cccccc\ntab-divider: #d8d8d8\ntab-foreground-selected: &lt;&lt;colour tab-foreground&gt;&gt;\ntab-foreground: #666666\ntable-border: #dddddd\ntable-footer-background: #a8a8a8\ntable-header-background: #f0f0f0\ntag-background: #eeeeff\ntag-foreground: #000\ntiddler-background: &lt;&lt;colour background&gt;&gt;\ntiddler-border: &lt;&lt;colour background&gt;&gt;\ntiddler-controls-foreground-hover: #666666\ntiddler-controls-foreground-selected: #444444\ntiddler-controls-foreground: #cccccc\ntiddler-editor-background: #f8f8f8\ntiddler-editor-border-image: #ffffff\ntiddler-editor-border: #cccccc\ntiddler-editor-fields-even: #e0e8e0\ntiddler-editor-fields-odd: #f0f4f0\ntiddler-info-background: #ffffff\ntiddler-info-border: #dddddd\ntiddler-info-tab-background: #ffffff\ntiddler-link-background: &lt;&lt;colour background&gt;&gt;\ntiddler-link-foreground: &lt;&lt;colour primary&gt;&gt;\ntiddler-subtitle-foreground: #c0c0c0\ntiddler-title-foreground: #5959c0\ntoolbar-new-button: #5eb95e\ntoolbar-options-button: rgb(128, 88, 165)\ntoolbar-save-button: #0e90d2\ntoolbar-info-button: #0e90d2\ntoolbar-edit-button: rgb(243, 123, 29)\ntoolbar-close-button: #dd514c\ntoolbar-delete-button: #dd514c\ntoolbar-cancel-button: rgb(243, 123, 29)\ntoolbar-done-button: #5eb95e\nuntagged-background: #999999\nvery-muted-foreground: #888888\n&quot;
},
&quot;$:/palettes/Muted&quot;: {
&quot;title&quot;: &quot;$:/palettes/Muted&quot;,
&quot;name&quot;: &quot;Muted&quot;,
&quot;description&quot;: &quot;Bright tiddlers on a muted background&quot;,
&quot;tags&quot;: &quot;$:/tags/Palette&quot;,
&quot;type&quot;: &quot;application/x-tiddler-dictionary&quot;,
&quot;text&quot;: &quot;alert-background: #ffe476\nalert-border: #b99e2f\nalert-highlight: #881122\nalert-muted-foreground: #b99e2f\nbackground: #ffffff\nblockquote-bar: &lt;&lt;colour muted-foreground&gt;&gt;\nbutton-background:\nbutton-foreground:\nbutton-border:\ncode-background: #f7f7f9\ncode-border: #e1e1e8\ncode-foreground: #dd1144\ndirty-indicator: #ff0000\ndownload-background: #34c734\ndownload-foreground: &lt;&lt;colour background&gt;&gt;\ndragger-background: &lt;&lt;colour foreground&gt;&gt;\ndragger-foreground: &lt;&lt;colour background&gt;&gt;\ndropdown-background: &lt;&lt;colour background&gt;&gt;\ndropdown-border: &lt;&lt;colour muted-foreground&gt;&gt;\ndropdown-tab-background-selected: #fff\ndropdown-tab-background: #ececec\ndropzone-background: rgba(0,200,0,0.7)\nexternal-link-background-hover: inherit\nexternal-link-background-visited: inherit\nexternal-link-background: inherit\nexternal-link-foreground-hover: inherit\nexternal-link-foreground-visited: #0000aa\nexternal-link-foreground: #0000ee\nforeground: #333333\nmessage-background: #ecf2ff\nmessage-border: #cfd6e6\nmessage-foreground: #547599\nmodal-backdrop: &lt;&lt;colour foreground&gt;&gt;\nmodal-background: &lt;&lt;colour background&gt;&gt;\nmodal-border: #999999\nmodal-footer-background: #f5f5f5\nmodal-footer-border: #dddddd\nmodal-header-border: #eeeeee\nmuted-foreground: #bbb\nnotification-background: #ffffdd\nnotification-border: #999999\npage-background: #6f6f70\npre-background: #f5f5f5\npre-border: #cccccc\nprimary: #29a6ee\nselect-tag-background:\nselect-tag-foreground:\nsidebar-button-foreground: &lt;&lt;colour foreground&gt;&gt;\nsidebar-controls-foreground-hover: #000000\nsidebar-controls-foreground: #c2c1c2\nsidebar-foreground-shadow: rgba(255,255,255,0)\nsidebar-foreground: #d3d2d4\nsidebar-muted-foreground-hover: #444444\nsidebar-muted-foreground: #c0c0c0\nsidebar-tab-background-selected: #6f6f70\nsidebar-tab-background: #666667\nsidebar-tab-border-selected: #999\nsidebar-tab-border: #515151\nsidebar-tab-divider: #999\nsidebar-tab-foreground-selected: \nsidebar-tab-foreground: #999\nsidebar-tiddler-link-foreground-hover: #444444\nsidebar-tiddler-link-foreground: #d1d0d2\nsite-title-foreground: &lt;&lt;colour tiddler-title-foreground&gt;&gt;\nstatic-alert-foreground: #aaaaaa\ntab-background-selected: #ffffff\ntab-background: #d8d8d8\ntab-border-selected: #d8d8d8\ntab-border: #cccccc\ntab-divider: #d8d8d8\ntab-foreground-selected: &lt;&lt;colour tab-foreground&gt;&gt;\ntab-foreground: #666666\ntable-border: #dddddd\ntable-footer-background: #a8a8a8\ntable-header-background: #f0f0f0\ntag-background: #d5ad34\ntag-foreground: #ffffff\ntiddler-background: &lt;&lt;colour background&gt;&gt;\ntiddler-border: &lt;&lt;colour background&gt;&gt;\ntiddler-controls-foreground-hover: #888888\ntiddler-controls-foreground-selected: #444444\ntiddler-controls-foreground: #cccccc\ntiddler-editor-background: #f8f8f8\ntiddler-editor-border-image: #ffffff\ntiddler-editor-border: #cccccc\ntiddler-editor-fields-even: #e0e8e0\ntiddler-editor-fields-odd: #f0f4f0\ntiddler-info-background: #f8f8f8\ntiddler-info-border: #dddddd\ntiddler-info-tab-background: #f8f8f8\ntiddler-link-background: &lt;&lt;colour background&gt;&gt;\ntiddler-link-foreground: &lt;&lt;colour primary&gt;&gt;\ntiddler-subtitle-foreground: #c0c0c0\ntiddler-title-foreground: #182955\ntoolbar-new-button: \ntoolbar-options-button: \ntoolbar-save-button: \ntoolbar-info-button: \ntoolbar-edit-button: \ntoolbar-close-button: \ntoolbar-delete-button: \ntoolbar-cancel-button: \ntoolbar-done-button: \nuntagged-background: #999999\nvery-muted-foreground: #888888\n&quot;
},
&quot;$:/palettes/ContrastLight&quot;: {
&quot;title&quot;: &quot;$:/palettes/ContrastLight&quot;,
&quot;name&quot;: &quot;Contrast (Light)&quot;,
&quot;description&quot;: &quot;High contrast and unambiguous (light version)&quot;,
&quot;tags&quot;: &quot;$:/tags/Palette&quot;,
&quot;type&quot;: &quot;application/x-tiddler-dictionary&quot;,
&quot;text&quot;: &quot;alert-background: #f00\nalert-border: &lt;&lt;colour background&gt;&gt;\nalert-highlight: &lt;&lt;colour foreground&gt;&gt;\nalert-muted-foreground: #800\nbackground: #fff\nblockquote-bar: &lt;&lt;colour muted-foreground&gt;&gt;\nbutton-background: &lt;&lt;colour background&gt;&gt;\nbutton-foreground: &lt;&lt;colour foreground&gt;&gt;\nbutton-border: &lt;&lt;colour foreground&gt;&gt;\ncode-background: &lt;&lt;colour background&gt;&gt;\ncode-border: &lt;&lt;colour foreground&gt;&gt;\ncode-foreground: &lt;&lt;colour foreground&gt;&gt;\ndirty-indicator: #f00\ndownload-background: #080\ndownload-foreground: &lt;&lt;colour background&gt;&gt;\ndragger-background: &lt;&lt;colour foreground&gt;&gt;\ndragger-foreground: &lt;&lt;colour background&gt;&gt;\ndropdown-background: &lt;&lt;colour background&gt;&gt;\ndropdown-border: &lt;&lt;colour muted-foreground&gt;&gt;\ndropdown-tab-background-selected: &lt;&lt;colour foreground&gt;&gt;\ndropdown-tab-background: &lt;&lt;colour foreground&gt;&gt;\ndropzone-background: rgba(0,200,0,0.7)\nexternal-link-background-hover: inherit\nexternal-link-background-visited: inherit\nexternal-link-background: inherit\nexternal-link-foreground-hover: inherit\nexternal-link-foreground-visited: #00a\nexternal-link-foreground: #00e\nforeground: #000\nmessage-background: &lt;&lt;colour foreground&gt;&gt;\nmessage-border: &lt;&lt;colour background&gt;&gt;\nmessage-foreground: &lt;&lt;colour background&gt;&gt;\nmodal-backdrop: &lt;&lt;colour foreground&gt;&gt;\nmodal-background: &lt;&lt;colour background&gt;&gt;\nmodal-border: &lt;&lt;colour foreground&gt;&gt;\nmodal-footer-background: &lt;&lt;colour background&gt;&gt;\nmodal-footer-border: &lt;&lt;colour foreground&gt;&gt;\nmodal-header-border: &lt;&lt;colour foreground&gt;&gt;\nmuted-foreground: &lt;&lt;colour foreground&gt;&gt;\nnotification-background: &lt;&lt;colour background&gt;&gt;\nnotification-border: &lt;&lt;colour foreground&gt;&gt;\npage-background: &lt;&lt;colour background&gt;&gt;\npre-background: &lt;&lt;colour background&gt;&gt;\npre-border: &lt;&lt;colour foreground&gt;&gt;\nprimary: #00f\nselect-tag-background:\nselect-tag-foreground:\nsidebar-button-foreground: &lt;&lt;colour foreground&gt;&gt;\nsidebar-controls-foreground-hover: &lt;&lt;colour background&gt;&gt;\nsidebar-controls-foreground: &lt;&lt;colour foreground&gt;&gt;\nsidebar-foreground-shadow: rgba(0,0,0, 0)\nsidebar-foreground: &lt;&lt;colour foreground&gt;&gt;\nsidebar-muted-foreground-hover: #444444\nsidebar-muted-foreground: &lt;&lt;colour foreground&gt;&gt;\nsidebar-tab-background-selected: &lt;&lt;colour background&gt;&gt;\nsidebar-tab-background: &lt;&lt;colour tab-background&gt;&gt;\nsidebar-tab-border-selected: &lt;&lt;colour tab-border-selected&gt;&gt;\nsidebar-tab-border: &lt;&lt;colour tab-border&gt;&gt;\nsidebar-tab-divider: &lt;&lt;colour tab-divider&gt;&gt;\nsidebar-tab-foreground-selected: &lt;&lt;colour foreground&gt;&gt;\nsidebar-tab-foreground: &lt;&lt;colour tab-foreground&gt;&gt;\nsidebar-tiddler-link-foreground-hover: &lt;&lt;colour foreground&gt;&gt;\nsidebar-tiddler-link-foreground: &lt;&lt;colour primary&gt;&gt;\nsite-title-foreground: &lt;&lt;colour tiddler-title-foreground&gt;&gt;\nstatic-alert-foreground: #aaaaaa\ntab-background-selected: &lt;&lt;colour background&gt;&gt;\ntab-background: &lt;&lt;colour foreground&gt;&gt;\ntab-border-selected: &lt;&lt;colour foreground&gt;&gt;\ntab-border: &lt;&lt;colour foreground&gt;&gt;\ntab-divider: &lt;&lt;colour foreground&gt;&gt;\ntab-foreground-selected: &lt;&lt;colour foreground&gt;&gt;\ntab-foreground: &lt;&lt;colour background&gt;&gt;\ntable-border: #dddddd\ntable-footer-background: #a8a8a8\ntable-header-background: #f0f0f0\ntag-background: #000\ntag-foreground: #fff\ntiddler-background: &lt;&lt;colour background&gt;&gt;\ntiddler-border: &lt;&lt;colour foreground&gt;&gt;\ntiddler-controls-foreground-hover: #ddd\ntiddler-controls-foreground-selected: #fdd\ntiddler-controls-foreground: &lt;&lt;colour foreground&gt;&gt;\ntiddler-editor-background: &lt;&lt;colour backgroun
},
&quot;$:/palettes/ContrastDark&quot;: {
&quot;title&quot;: &quot;$:/palettes/ContrastDark&quot;,
&quot;name&quot;: &quot;Contrast (Dark)&quot;,
&quot;description&quot;: &quot;High contrast and unambiguous (dark version)&quot;,
&quot;tags&quot;: &quot;$:/tags/Palette&quot;,
&quot;type&quot;: &quot;application/x-tiddler-dictionary&quot;,
&quot;text&quot;: &quot;alert-background: #f00\nalert-border: &lt;&lt;colour background&gt;&gt;\nalert-highlight: &lt;&lt;colour foreground&gt;&gt;\nalert-muted-foreground: #800\nbackground: #000\nblockquote-bar: &lt;&lt;colour muted-foreground&gt;&gt;\nbutton-background: &lt;&lt;colour background&gt;&gt;\nbutton-foreground: &lt;&lt;colour foreground&gt;&gt;\nbutton-border: &lt;&lt;colour foreground&gt;&gt;\ncode-background: &lt;&lt;colour background&gt;&gt;\ncode-border: &lt;&lt;colour foreground&gt;&gt;\ncode-foreground: &lt;&lt;colour foreground&gt;&gt;\ndirty-indicator: #f00\ndownload-background: #080\ndownload-foreground: &lt;&lt;colour background&gt;&gt;\ndragger-background: &lt;&lt;colour foreground&gt;&gt;\ndragger-foreground: &lt;&lt;colour background&gt;&gt;\ndropdown-background: &lt;&lt;colour background&gt;&gt;\ndropdown-border: &lt;&lt;colour muted-foreground&gt;&gt;\ndropdown-tab-background-selected: &lt;&lt;colour foreground&gt;&gt;\ndropdown-tab-background: &lt;&lt;colour foreground&gt;&gt;\ndropzone-background: rgba(0,200,0,0.7)\nexternal-link-background-hover: inherit\nexternal-link-background-visited: inherit\nexternal-link-background: inherit\nexternal-link-foreground-hover: inherit\nexternal-link-foreground-visited: #00a\nexternal-link-foreground: #00e\nforeground: #fff\nmessage-background: &lt;&lt;colour foreground&gt;&gt;\nmessage-border: &lt;&lt;colour background&gt;&gt;\nmessage-foreground: &lt;&lt;colour background&gt;&gt;\nmodal-backdrop: &lt;&lt;colour foreground&gt;&gt;\nmodal-background: &lt;&lt;colour background&gt;&gt;\nmodal-border: &lt;&lt;colour foreground&gt;&gt;\nmodal-footer-background: &lt;&lt;colour background&gt;&gt;\nmodal-footer-border: &lt;&lt;colour foreground&gt;&gt;\nmodal-header-border: &lt;&lt;colour foreground&gt;&gt;\nmuted-foreground: &lt;&lt;colour foreground&gt;&gt;\nnotification-background: &lt;&lt;colour background&gt;&gt;\nnotification-border: &lt;&lt;colour foreground&gt;&gt;\npage-background: &lt;&lt;colour background&gt;&gt;\npre-background: &lt;&lt;colour background&gt;&gt;\npre-border: &lt;&lt;colour foreground&gt;&gt;\nprimary: #00f\nselect-tag-background:\nselect-tag-foreground:\nsidebar-button-foreground: &lt;&lt;colour foreground&gt;&gt;\nsidebar-controls-foreground-hover: &lt;&lt;colour background&gt;&gt;\nsidebar-controls-foreground: &lt;&lt;colour foreground&gt;&gt;\nsidebar-foreground-shadow: rgba(0,0,0, 0)\nsidebar-foreground: &lt;&lt;colour foreground&gt;&gt;\nsidebar-muted-foreground-hover: #444444\nsidebar-muted-foreground: &lt;&lt;colour foreground&gt;&gt;\nsidebar-tab-background-selected: &lt;&lt;colour background&gt;&gt;\nsidebar-tab-background: &lt;&lt;colour tab-background&gt;&gt;\nsidebar-tab-border-selected: &lt;&lt;colour tab-border-selected&gt;&gt;\nsidebar-tab-border: &lt;&lt;colour tab-border&gt;&gt;\nsidebar-tab-divider: &lt;&lt;colour tab-divider&gt;&gt;\nsidebar-tab-foreground-selected: &lt;&lt;colour foreground&gt;&gt;\nsidebar-tab-foreground: &lt;&lt;colour tab-foreground&gt;&gt;\nsidebar-tiddler-link-foreground-hover: &lt;&lt;colour foreground&gt;&gt;\nsidebar-tiddler-link-foreground: &lt;&lt;colour primary&gt;&gt;\nsite-title-foreground: &lt;&lt;colour tiddler-title-foreground&gt;&gt;\nstatic-alert-foreground: #aaaaaa\ntab-background-selected: &lt;&lt;colour background&gt;&gt;\ntab-background: &lt;&lt;colour foreground&gt;&gt;\ntab-border-selected: &lt;&lt;colour foreground&gt;&gt;\ntab-border: &lt;&lt;colour foreground&gt;&gt;\ntab-divider: &lt;&lt;colour foreground&gt;&gt;\ntab-foreground-selected: &lt;&lt;colour foreground&gt;&gt;\ntab-foreground: &lt;&lt;colour background&gt;&gt;\ntable-border: #dddddd\ntable-footer-background: #a8a8a8\ntable-header-background: #f0f0f0\ntag-background: #fff\ntag-foreground: #000\ntiddler-background: &lt;&lt;colour background&gt;&gt;\ntiddler-border: &lt;&lt;colour foreground&gt;&gt;\ntiddler-controls-foreground-hover: #ddd\ntiddler-controls-foreground-selected: #fdd\ntiddler-controls-foreground: &lt;&lt;colour foreground&gt;&gt;\ntiddler-editor-background: &lt;&lt;colour backgroun
},
&quot;$:/palettes/CupertinoDark&quot;: {
&quot;title&quot;: &quot;$:/palettes/CupertinoDark&quot;,
&quot;tags&quot;: &quot;$:/tags/Palette&quot;,
&quot;name&quot;: &quot;Cupertino Dark&quot;,
&quot;description&quot;: &quot;A macOS inspired dark palette&quot;,
&quot;type&quot;: &quot;application/x-tiddler-dictionary&quot;,
&quot;text&quot;: &quot;alert-background: #FF453A\nalert-border: #FF453A\nalert-highlight: #FFD60A\nalert-muted-foreground: &lt;&lt;colour muted-foreground&gt;&gt;\nbackground: #282828\nblockquote-bar: &lt;&lt;colour page-background&gt;&gt;\nbutton-foreground: &lt;&lt;colour background&gt;&gt;\ncode-background: &lt;&lt;colour pre-background&gt;&gt;\ncode-border: &lt;&lt;colour pre-border&gt;&gt;\ncode-foreground: rgba(255, 255, 255, 0.54)\ndirty-indicator: #FF453A\ndownload-background: &lt;&lt;colour primary&gt;&gt;\ndownload-foreground: &lt;&lt;colour foreground&gt;&gt;\ndragger-background: &lt;&lt;colour foreground&gt;&gt;\ndragger-foreground: &lt;&lt;colour background&gt;&gt;\ndropdown-background: &lt;&lt;colour tiddler-info-background&gt;&gt;\ndropdown-border: &lt;&lt;colour dropdown-background&gt;&gt;\ndropdown-tab-background-selected: #3F638B\ndropdown-tab-background: #323232\ndropzone-background: #30D158\nexternal-link-background-hover: transparent\nexternal-link-background-visited: transparent\nexternal-link-background: transparent\nexternal-link-foreground-hover: \nexternal-link-foreground-visited: #BF5AF2\nexternal-link-foreground: #32D74B\nforeground: #FFFFFF\nmenubar-background: #464646\nmenubar-foreground: #ffffff\nmessage-background: &lt;&lt;colour background&gt;&gt;\nmessage-border: &lt;&lt;colour very-muted-foreground&gt;&gt;\nmessage-foreground: rgba(255, 255, 255, 0.54)\nmodal-backdrop: &lt;&lt;colour page-background&gt;&gt;\nmodal-background: &lt;&lt;colour background&gt;&gt;\nmodal-border: &lt;&lt;colour very-muted-foreground&gt;&gt;\nmodal-footer-background: &lt;&lt;colour background&gt;&gt;\nmodal-footer-border: &lt;&lt;colour background&gt;&gt;\nmodal-header-border: &lt;&lt;colour very-muted-foreground&gt;&gt;\nmuted-foreground: #98989D\nnotification-background: &lt;&lt;colour dropdown-background&gt;&gt;\nnotification-border: &lt;&lt;colour dropdown-background&gt;&gt;\npage-background: #323232\npre-background: #464646\npre-border: transparent\nprimary: #0A84FF\nselect-tag-background: &lt;&lt;colour background&gt;&gt;\nselect-tag-foreground: &lt;&lt;colour foreground&gt;&gt;\nsidebar-button-foreground: &lt;&lt;colour background&gt;&gt;\nsidebar-controls-foreground-hover: #FF9F0A\nsidebar-controls-foreground: #8E8E93\nsidebar-foreground-shadow: transparent\nsidebar-foreground: rgba(255, 255, 255, 0.54)\nsidebar-muted-foreground-hover: rgba(255, 255, 255, 0.54)\nsidebar-muted-foreground: rgba(255, 255, 255, 0.38)\nsidebar-tab-background-selected: #3F638B\nsidebar-tab-background: &lt;&lt;colour background&gt;&gt;\nsidebar-tab-border-selected: &lt;&lt;colour background&gt;&gt;\nsidebar-tab-border: &lt;&lt;colour background&gt;&gt;\nsidebar-tab-divider: &lt;&lt;colour background&gt;&gt;\nsidebar-tab-foreground-selected: rgba(255, 255, 255, 0.87)\nsidebar-tab-foreground: rgba(255, 255, 255, 0.54)\nsidebar-tiddler-link-foreground-hover: rgba(255, 255, 255, 0.7)\nsidebar-tiddler-link-foreground: rgba(255, 255, 255, 0.54)\nsite-title-foreground: #ffffff\nstatic-alert-foreground: #B4B4B4\ntab-background-selected: #3F638B\ntab-background: &lt;&lt;colour page-background&gt;&gt;\ntab-border-selected: &lt;&lt;colour page-background&gt;&gt;\ntab-border: &lt;&lt;colour page-background&gt;&gt;\ntab-divider: &lt;&lt;colour page-background&gt;&gt;\ntab-foreground-selected: rgba(255, 255, 255, 0.87)\ntab-foreground: rgba(255, 255, 255, 0.54)\ntable-border: #464646\ntable-footer-background: &lt;&lt;colour tiddler-editor-fields-odd&gt;&gt;\ntable-header-background: &lt;&lt;colour tiddler-editor-fields-even&gt;&gt;\ntag-background: #48484A\ntag-foreground: #323232\ntiddler-background: &lt;&lt;colour background&gt;&gt;\ntiddler-border: transparent\ntiddler-controls-foreground-hover: &lt;&lt;colour sidebar-controls-foreground-hover&gt;&gt;\ntiddler-controls-foreground-selected: &lt;&lt;colour sidebar-controls-foreground-hover&gt;&gt;\ntiddler-controls-foreground: #48484A\ntiddler-editor-background: transparent\ntiddler-editor-border-image: \ntiddler-editor-border: rgba(255, 255, 255, 0.08)\ntiddler-editor-field
},
&quot;$:/palettes/DarkPhotos&quot;: {
&quot;title&quot;: &quot;$:/palettes/DarkPhotos&quot;,
&quot;created&quot;: &quot;20150402111612188&quot;,
&quot;description&quot;: &quot;Good with dark photo backgrounds&quot;,
&quot;modified&quot;: &quot;20150402112344080&quot;,
&quot;name&quot;: &quot;DarkPhotos&quot;,
&quot;tags&quot;: &quot;$:/tags/Palette&quot;,
&quot;type&quot;: &quot;application/x-tiddler-dictionary&quot;,
&quot;text&quot;: &quot;alert-background: #ffe476\nalert-border: #b99e2f\nalert-highlight: #881122\nalert-muted-foreground: #b99e2f\nbackground: #ffffff\nblockquote-bar: &lt;&lt;colour muted-foreground&gt;&gt;\nbutton-background: \nbutton-foreground: \nbutton-border: \ncode-background: #f7f7f9\ncode-border: #e1e1e8\ncode-foreground: #dd1144\ndirty-indicator: #ff0000\ndownload-background: #34c734\ndownload-foreground: &lt;&lt;colour background&gt;&gt;\ndragger-background: &lt;&lt;colour foreground&gt;&gt;\ndragger-foreground: &lt;&lt;colour background&gt;&gt;\ndropdown-background: &lt;&lt;colour background&gt;&gt;\ndropdown-border: &lt;&lt;colour muted-foreground&gt;&gt;\ndropdown-tab-background-selected: #fff\ndropdown-tab-background: #ececec\ndropzone-background: rgba(0,200,0,0.7)\nexternal-link-background-hover: inherit\nexternal-link-background-visited: inherit\nexternal-link-background: inherit\nexternal-link-foreground-hover: inherit\nexternal-link-foreground-visited: #0000aa\nexternal-link-foreground: #0000ee\nforeground: #333333\nmessage-background: #ecf2ff\nmessage-border: #cfd6e6\nmessage-foreground: #547599\nmodal-backdrop: &lt;&lt;colour foreground&gt;&gt;\nmodal-background: &lt;&lt;colour background&gt;&gt;\nmodal-border: #999999\nmodal-footer-background: #f5f5f5\nmodal-footer-border: #dddddd\nmodal-header-border: #eeeeee\nmuted-foreground: #ddd\nnotification-background: #ffffdd\nnotification-border: #999999\npage-background: #336438\npre-background: #f5f5f5\npre-border: #cccccc\nprimary: #5778d8\nselect-tag-background:\nselect-tag-foreground:\nsidebar-button-foreground: &lt;&lt;colour foreground&gt;&gt;\nsidebar-controls-foreground-hover: #ccf\nsidebar-controls-foreground: #fff\nsidebar-foreground-shadow: rgba(0,0,0, 0.5)\nsidebar-foreground: #fff\nsidebar-muted-foreground-hover: #444444\nsidebar-muted-foreground: #eee\nsidebar-tab-background-selected: rgba(255,255,255, 0.8)\nsidebar-tab-background: rgba(255,255,255, 0.4)\nsidebar-tab-border-selected: &lt;&lt;colour tab-border-selected&gt;&gt;\nsidebar-tab-border: &lt;&lt;colour tab-border&gt;&gt;\nsidebar-tab-divider: rgba(255,255,255, 0.2)\nsidebar-tab-foreground-selected: \nsidebar-tab-foreground: &lt;&lt;colour tab-foreground&gt;&gt;\nsidebar-tiddler-link-foreground-hover: #aaf\nsidebar-tiddler-link-foreground: #ddf\nsite-title-foreground: #fff\nstatic-alert-foreground: #aaaaaa\ntab-background-selected: #ffffff\ntab-background: #d8d8d8\ntab-border-selected: #d8d8d8\ntab-border: #cccccc\ntab-divider: #d8d8d8\ntab-foreground-selected: &lt;&lt;colour tab-foreground&gt;&gt;\ntab-foreground: #666666\ntable-border: #dddddd\ntable-footer-background: #a8a8a8\ntable-header-background: #f0f0f0\ntag-background: #ec6\ntag-foreground: #ffffff\ntiddler-background: &lt;&lt;colour background&gt;&gt;\ntiddler-border: &lt;&lt;colour background&gt;&gt;\ntiddler-controls-foreground-hover: #888888\ntiddler-controls-foreground-selected: #444444\ntiddler-controls-foreground: #cccccc\ntiddler-editor-background: #f8f8f8\ntiddler-editor-border-image: #ffffff\ntiddler-editor-border: #cccccc\ntiddler-editor-fields-even: #e0e8e0\ntiddler-editor-fields-odd: #f0f4f0\ntiddler-info-background: #f8f8f8\ntiddler-info-border: #dddddd\ntiddler-info-tab-background: #f8f8f8\ntiddler-link-background: &lt;&lt;colour background&gt;&gt;\ntiddler-link-foreground: &lt;&lt;colour primary&gt;&gt;\ntiddler-subtitle-foreground: #c0c0c0\ntiddler-title-foreground: #182955\ntoolbar-new-button: \ntoolbar-options-button: \ntoolbar-save-button: \ntoolbar-info-button: \ntoolbar-edit-button: \ntoolbar-close-button: \ntoolbar-delete-button: \ntoolbar-cancel-button: \ntoolbar-done-button: \nuntagged-background: #999999\nvery-muted-foreground: #888888\n&quot;
},
&quot;$:/palettes/DesertSand&quot;: {
&quot;title&quot;: &quot;$:/palettes/DesertSand&quot;,
&quot;tags&quot;: &quot;$:/tags/Palette&quot;,
&quot;name&quot;: &quot;Desert Sand&quot;,
&quot;description&quot;: &quot;A desert sand palette&quot;,
&quot;type&quot;: &quot;application/x-tiddler-dictionary&quot;,
&quot;text&quot;: &quot;alert-background: #ffe476\nalert-border: #b99e2f\nalert-highlight: #881122\nalert-muted-foreground: #b99e2f\nbackground: #E9E0C7\nblockquote-bar: &lt;&lt;colour muted-foreground&gt;&gt;\nbutton-foreground: &lt;&lt;colour foreground&gt;&gt;\ncode-background: #F3EDDF\ncode-border: #C3BAA1\ncode-foreground: #ab3250\ndiff-delete-background: #bd8b8b\ndiff-delete-foreground: &lt;&lt;colour foreground&gt;&gt;\ndiff-equal-background: \ndiff-equal-foreground: &lt;&lt;colour foreground&gt;&gt;\ndiff-insert-background: #91c093\ndiff-insert-foreground: &lt;&lt;colour foreground&gt;&gt;\ndiff-invisible-background: \ndiff-invisible-foreground: &lt;&lt;colour muted-foreground&gt;&gt;\ndirty-indicator: #ad3434\ndownload-background: #6ca16c\ndownload-foreground: &lt;&lt;colour background&gt;&gt;\ndragger-background: &lt;&lt;colour foreground&gt;&gt;\ndragger-foreground: &lt;&lt;colour background&gt;&gt;\ndropdown-background: &lt;&lt;colour background&gt;&gt;\ndropdown-border: &lt;&lt;colour muted-foreground&gt;&gt;\ndropdown-tab-background-selected: #E9E0C7\ndropdown-tab-background: #BAB29C\ndropzone-background: rgba(0,200,0,0.7)\nexternal-link-background-hover: inherit\nexternal-link-background-visited: inherit\nexternal-link-background: inherit\nexternal-link-foreground-hover: inherit\nexternal-link-foreground-visited: #313163\nexternal-link-foreground: #555592\nforeground: #2D2A23\nmenubar-background: #CDC2A6\nmenubar-foreground: #5A5446\nmessage-background: #ECE5CF\nmessage-border: #D6CBAA\nmessage-foreground: #5f6e7d\nmodal-backdrop: &lt;&lt;colour foreground&gt;&gt;\nmodal-background: &lt;&lt;colour background&gt;&gt;\nmodal-border: #8A8885\nmodal-footer-background: #CDC2A6\nmodal-footer-border: #9D998E\nmodal-header-border: #9D998E\nmuted-foreground: #9D998E\nnotification-background: #F0E9D7\nnotification-border: #939189\npage-background: #e0d3af\npre-background: #D6CBAA\npre-border: #CDC2A6\nprimary: #5B6F55\nselection-background: #9D947B\nselection-foreground: &lt;&lt;colour foreground&gt;&gt;\nselect-tag-background: #F0E9D7\nselect-tag-foreground: #2D2A23\nsidebar-button-foreground: &lt;&lt;colour foreground&gt;&gt;\nsidebar-controls-foreground-hover: #2D2A23\nsidebar-controls-foreground: #867F69\nsidebar-foreground-shadow: transparent\nsidebar-foreground: #867F69\nsidebar-muted-foreground-hover: #706A58\nsidebar-muted-foreground: #B3A98C\nsidebar-tab-background-selected: #e0d3af\nsidebar-tab-background: #A6A193\nsidebar-tab-border-selected: #C3BAA1\nsidebar-tab-border: #C3BAA1\nsidebar-tab-divider: #CDC2A6\nsidebar-tab-foreground-selected: \nsidebar-tab-foreground: #2D2A23\nsidebar-tiddler-link-foreground-hover: #433F35\nsidebar-tiddler-link-foreground: #706A58\nsite-title-foreground: &lt;&lt;colour tiddler-title-foreground&gt;&gt;\nstatic-alert-foreground: #A6A193\ntab-background-selected: #E9E0C7\ntab-background: #A6A193\ntab-border-selected: #C3BAA1\ntab-border: #C3BAA1\ntab-divider: #CDC2A6\ntab-foreground-selected: &lt;&lt;colour tab-foreground&gt;&gt;\ntab-foreground: #2D2A23\ntable-border: #9D998E\ntable-footer-background: #8A8885\ntable-header-background: #B0AA98\ntag-background: #706A58\ntag-foreground: #E3D7B7\ntiddler-background: &lt;&lt;colour background&gt;&gt;\ntiddler-border: &lt;&lt;colour background&gt;&gt;\ntiddler-controls-foreground-hover: #9D947B\ntiddler-controls-foreground-selected: #706A58\ntiddler-controls-foreground: #C3BAA1\ntiddler-editor-background: #E9E0C7\ntiddler-editor-border-image: #A6A193\ntiddler-editor-border: #A6A193\ntiddler-editor-fields-even: #D6CBAA\ntiddler-editor-fields-odd: #C3BAA1\ntiddler-info-background: #E3D7B7\ntiddler-info-border: #BAB29C\ntiddler-info-tab-background: #E9E0C7\ntiddler-link-background: &lt;&lt;colour background&gt;&gt;\ntiddler-link-foreground: &lt;&lt;colour primary&gt;&gt;\ntiddler-subtitle-foreground: #867F69\ntiddler-title-foreground: #374464\ntoolbar-new-button: \ntoolbar-options-button: \ntoolbar-save-button: \ntoolbar-info-button: \ntoolbar-edit-button: \ntoolbar-close-button: \ntoolbar-delete-button: \ntoolbar-cancel
},
&quot;$:/palettes/GruvboxDark&quot;: {
&quot;title&quot;: &quot;$:/palettes/GruvboxDark&quot;,
&quot;name&quot;: &quot;Gruvbox Dark&quot;,
&quot;description&quot;: &quot;Retro groove color scheme&quot;,
&quot;tags&quot;: &quot;$:/tags/Palette&quot;,
&quot;type&quot;: &quot;application/x-tiddler-dictionary&quot;,
&quot;license&quot;: &quot;https://github.com/morhetz/gruvbox&quot;,
&quot;text&quot;: &quot;alert-background: #cc241d\nalert-border: #cc241d\nalert-highlight: #d79921\nalert-muted-foreground: #504945\nbackground: #3c3836\nblockquote-bar: &lt;&lt;colour muted-foreground&gt;&gt;\nbutton-foreground: &lt;&lt;colour page-background&gt;&gt;\ncode-background: #504945\ncode-border: #504945\ncode-foreground: #fb4934\ndiff-delete-background: #fb4934\ndiff-delete-foreground: &lt;&lt;colour foreground&gt;&gt;\ndiff-equal-background: \ndiff-equal-foreground: &lt;&lt;colour foreground&gt;&gt;\ndiff-insert-background: #b8bb26\ndiff-insert-foreground: &lt;&lt;colour foreground&gt;&gt;\ndiff-invisible-background: \ndiff-invisible-foreground: &lt;&lt;colour muted-foreground&gt;&gt;\ndirty-indicator: #fb4934\ndownload-background: #b8bb26\ndownload-foreground: &lt;&lt;colour background&gt;&gt;\ndragger-background: &lt;&lt;colour foreground&gt;&gt;\ndragger-foreground: &lt;&lt;colour background&gt;&gt;\ndropdown-background: #665c54\ndropdown-border: &lt;&lt;colour background&gt;&gt;\ndropdown-tab-background-selected: #ebdbb2\ndropdown-tab-background: #665c54\ndropzone-background: #98971a\nexternal-link-background-hover: inherit\nexternal-link-background-visited: inherit\nexternal-link-background: inherit\nexternal-link-foreground-hover: inherit\nexternal-link-foreground-visited: #d3869b\nexternal-link-foreground: #8ec07c\nforeground: #fbf1c7\nmenubar-background: #504945\nmenubar-foreground: &lt;&lt;colour foreground&gt;&gt;\nmessage-background: #83a598\nmessage-border: #83a598\nmessage-foreground: #3c3836\nmodal-backdrop: &lt;&lt;colour foreground&gt;&gt;\nmodal-background: &lt;&lt;colour background&gt;&gt;\nmodal-border: #504945\nmodal-footer-background: #3c3836\nmodal-footer-border: #3c3836\nmodal-header-border: #3c3836\nmuted-foreground: #d5c4a1\nnotification-background: &lt;&lt;colour primary&gt;&gt;\nnotification-border: &lt;&lt;colour primary&gt;&gt;\npage-background: #282828\npre-background: #504945\npre-border: #504945\nprimary: #d79921\nselect-tag-background: #665c54\nselect-tag-foreground: &lt;&lt;colour foreground&gt;&gt;\nselection-background: #458588\nselection-foreground: &lt;&lt;colour foreground&gt;&gt;\nsidebar-button-foreground: &lt;&lt;colour page-background&gt;&gt;\nsidebar-controls-foreground-hover: #7c6f64\nsidebar-controls-foreground: #504945\nsidebar-foreground-shadow: transparent\nsidebar-foreground: #fbf1c7\nsidebar-muted-foreground-hover: #7c6f64\nsidebar-muted-foreground: #504945\nsidebar-tab-background-selected: #bdae93\nsidebar-tab-background: #3c3836\nsidebar-tab-border-selected: &lt;&lt;colour tab-border-selected&gt;&gt;\nsidebar-tab-border: #bdae93\nsidebar-tab-divider: &lt;&lt;colour page-background&gt;&gt;\nsidebar-tab-foreground-selected: #282828\nsidebar-tab-foreground: &lt;&lt;colour tab-foreground&gt;&gt;\nsidebar-tiddler-link-foreground-hover: #458588\nsidebar-tiddler-link-foreground: #98971a\nsite-title-foreground: &lt;&lt;colour tiddler-title-foreground&gt;&gt;\nstatic-alert-foreground: #B48EAD\ntab-background-selected: #ebdbb2\ntab-background: #665c54\ntab-border-selected: #665c54\ntab-border: #665c54\ntab-divider: #bdae93\ntab-foreground-selected: #282828\ntab-foreground: #ebdbb2\ntable-border: #7c6f64\ntable-footer-background: #665c54\ntable-header-background: #504945\ntag-background: #d3869b\ntag-foreground: #282828\ntiddler-background: &lt;&lt;colour background&gt;&gt;\ntiddler-border: &lt;&lt;colour background&gt;&gt;\ntiddler-controls-foreground-hover: #7c6f64\ntiddler-controls-foreground-selected: &lt;&lt;colour primary&gt;&gt;\ntiddler-controls-foreground: #665c54\ntiddler-editor-background: #32302f\ntiddler-editor-border-image: #282828\ntiddler-editor-border: #282828\ntiddler-editor-fields-even: #504945\ntiddler-editor-fields-odd: #7c6f64\ntiddler-info-background: #32302f\ntiddler-info-border: #ebdbb2\ntiddler-info-tab-background: #ebdbb2\ntiddler-link-background: &lt;&lt;colour background&gt;&gt;\ntiddler-link-foreground: &lt;&lt;colour primary&gt;&gt;\ntiddler-subtitle-foreground: #7c6f64\ntiddler-title-foreground: #a89984\ntoolbar-new-button
},
&quot;$:/palettes/Nord&quot;: {
&quot;title&quot;: &quot;$:/palettes/Nord&quot;,
&quot;name&quot;: &quot;Nord&quot;,
&quot;description&quot;: &quot;An arctic, north-bluish color palette.&quot;,
&quot;tags&quot;: &quot;$:/tags/Palette&quot;,
&quot;type&quot;: &quot;application/x-tiddler-dictionary&quot;,
&quot;license&quot;: &quot;MIT, arcticicestudio, https://github.com/arcticicestudio/nord/blob/develop/LICENSE.md&quot;,
&quot;text&quot;: &quot;alert-background: #D08770\nalert-border: #D08770\nalert-highlight: #B48EAD\nalert-muted-foreground: #4C566A\nbackground: #3b4252\nblockquote-bar: &lt;&lt;colour muted-foreground&gt;&gt;\nbutton-foreground: &lt;&lt;colour page-background&gt;&gt;\ncode-background: #2E3440\ncode-border: #2E3440\ncode-foreground: #BF616A\ndiff-delete-background: #BF616A\ndiff-delete-foreground: &lt;&lt;colour foreground&gt;&gt;\ndiff-equal-background: \ndiff-equal-foreground: &lt;&lt;colour foreground&gt;&gt;\ndiff-insert-background: #A3BE8C\ndiff-insert-foreground: &lt;&lt;colour foreground&gt;&gt;\ndiff-invisible-background: \ndiff-invisible-foreground: &lt;&lt;colour muted-foreground&gt;&gt;\ndirty-indicator: #BF616A\ndownload-background: #A3BE8C\ndownload-foreground: &lt;&lt;colour background&gt;&gt;\ndragger-background: &lt;&lt;colour foreground&gt;&gt;\ndragger-foreground: &lt;&lt;colour background&gt;&gt;\ndropdown-background: &lt;&lt;colour background&gt;&gt;\ndropdown-border: &lt;&lt;colour background&gt;&gt;\ndropdown-tab-background-selected: #ECEFF4\ndropdown-tab-background: #4C566A\ndropzone-background: #A3BE8C\nexternal-link-background-hover: inherit\nexternal-link-background-visited: inherit\nexternal-link-background: inherit\nexternal-link-foreground-hover: inherit\nexternal-link-foreground-visited: #5E81AC\nexternal-link-foreground: #8FBCBB\nforeground: #d8dee9\nmenubar-background: #2E3440\nmenubar-foreground: #d8dee9\nmessage-background: #2E3440\nmessage-border: #2E3440\nmessage-foreground: #547599\nmodal-backdrop: &lt;&lt;colour foreground&gt;&gt;\nmodal-background: &lt;&lt;colour background&gt;&gt;\nmodal-border: #3b4252\nmodal-footer-background: #3b4252\nmodal-footer-border: #3b4252\nmodal-header-border: #3b4252\nmuted-foreground: #4C566A\nnotification-background: &lt;&lt;colour primary&gt;&gt;\nnotification-border: #EBCB8B\npage-background: #2e3440\npre-background: #2E3440\npre-border: #2E3440\nprimary: #5E81AC\nselect-tag-background: #3b4252\nselect-tag-foreground: &lt;&lt;colour foreground&gt;&gt;\nselection-background: #5E81AC\nselection-foreground: &lt;&lt;colour foreground&gt;&gt;\nsidebar-button-foreground: &lt;&lt;colour page-background&gt;&gt;\nsidebar-controls-foreground-hover: #D8DEE9\nsidebar-controls-foreground: #4C566A\nsidebar-foreground-shadow: transparent\nsidebar-foreground: #D8DEE9\nsidebar-muted-foreground-hover: #4C566A\nsidebar-muted-foreground: #4C566A\nsidebar-tab-background-selected: #ECEFF4\nsidebar-tab-background: #4C566A\nsidebar-tab-border-selected: &lt;&lt;colour tab-border-selected&gt;&gt;\nsidebar-tab-border: #4C566A\nsidebar-tab-divider: &lt;&lt;colour page-background&gt;&gt;\nsidebar-tab-foreground-selected: #4C566A\nsidebar-tab-foreground: &lt;&lt;colour tab-foreground&gt;&gt;\nsidebar-tiddler-link-foreground-hover: #A3BE8C\nsidebar-tiddler-link-foreground: #81A1C1\nsite-title-foreground: &lt;&lt;colour tiddler-title-foreground&gt;&gt;\nstatic-alert-foreground: #B48EAD\ntab-background-selected: #ECEFF4\ntab-background: #4C566A\ntab-border-selected: #4C566A\ntab-border: #4C566A\ntab-divider: #4C566A\ntab-foreground-selected: #4C566A\ntab-foreground: #D8DEE9\ntable-border: #4C566A\ntable-footer-background: #2e3440\ntable-header-background: #2e3440\ntag-background: #A3BE8C\ntag-foreground: #4C566A\ntiddler-background: &lt;&lt;colour background&gt;&gt;\ntiddler-border: &lt;&lt;colour background&gt;&gt;\ntiddler-controls-foreground-hover: \ntiddler-controls-foreground-selected: #EBCB8B\ntiddler-controls-foreground: #4C566A\ntiddler-editor-background: #2e3440\ntiddler-editor-border-image: #2e3440\ntiddler-editor-border: #3b4252\ntiddler-editor-fields-even: #2e3440\ntiddler-editor-fields-odd: #2e3440\ntiddler-info-background: #2e3440\ntiddler-info-border: #2e3440\ntiddler-info-tab-background: #2e3440\ntiddler-link-background: &lt;&lt;colour background&gt;&gt;\ntiddler-link-foreground: &lt;&lt;colour primary&gt;&gt;\ntiddler-subtitle-foreground: #4C566A\ntiddler-title-foreground: #81A1C1\ntoolbar-new-button: \ntoolbar-options-button: \ntoolbar-save-button: \n
},
&quot;$:/palettes/Rocker&quot;: {
&quot;title&quot;: &quot;$:/palettes/Rocker&quot;,
&quot;name&quot;: &quot;Rocker&quot;,
&quot;description&quot;: &quot;A dark theme&quot;,
&quot;tags&quot;: &quot;$:/tags/Palette&quot;,
&quot;type&quot;: &quot;application/x-tiddler-dictionary&quot;,
&quot;text&quot;: &quot;alert-background: #ffe476\nalert-border: #b99e2f\nalert-highlight: #881122\nalert-muted-foreground: #b99e2f\nbackground: #ffffff\nblockquote-bar: &lt;&lt;colour muted-foreground&gt;&gt;\nbutton-background:\nbutton-foreground:\nbutton-border:\ncode-background: #f7f7f9\ncode-border: #e1e1e8\ncode-foreground: #dd1144\ndirty-indicator: #ff0000\ndownload-background: #34c734\ndownload-foreground: &lt;&lt;colour background&gt;&gt;\ndragger-background: &lt;&lt;colour foreground&gt;&gt;\ndragger-foreground: &lt;&lt;colour background&gt;&gt;\ndropdown-background: &lt;&lt;colour background&gt;&gt;\ndropdown-border: &lt;&lt;colour muted-foreground&gt;&gt;\ndropdown-tab-background-selected: #fff\ndropdown-tab-background: #ececec\ndropzone-background: rgba(0,200,0,0.7)\nexternal-link-background-hover: inherit\nexternal-link-background-visited: inherit\nexternal-link-background: inherit\nexternal-link-foreground-hover: inherit\nexternal-link-foreground-visited: #0000aa\nexternal-link-foreground: #0000ee\nforeground: #333333\nmessage-background: #ecf2ff\nmessage-border: #cfd6e6\nmessage-foreground: #547599\nmodal-backdrop: &lt;&lt;colour foreground&gt;&gt;\nmodal-background: &lt;&lt;colour background&gt;&gt;\nmodal-border: #999999\nmodal-footer-background: #f5f5f5\nmodal-footer-border: #dddddd\nmodal-header-border: #eeeeee\nmuted-foreground: #999999\nnotification-background: #ffffdd\nnotification-border: #999999\npage-background: #000\npre-background: #f5f5f5\npre-border: #cccccc\nprimary: #cc0000\nselect-tag-background:\nselect-tag-foreground:\nsidebar-button-foreground: &lt;&lt;colour foreground&gt;&gt;\nsidebar-controls-foreground-hover: #000000\nsidebar-controls-foreground: #ffffff\nsidebar-foreground-shadow: rgba(255,255,255, 0.0)\nsidebar-foreground: #acacac\nsidebar-muted-foreground-hover: #444444\nsidebar-muted-foreground: #c0c0c0\nsidebar-tab-background-selected: #000\nsidebar-tab-background: &lt;&lt;colour tab-background&gt;&gt;\nsidebar-tab-border-selected: &lt;&lt;colour tab-border-selected&gt;&gt;\nsidebar-tab-border: &lt;&lt;colour tab-border&gt;&gt;\nsidebar-tab-divider: &lt;&lt;colour tab-divider&gt;&gt;\nsidebar-tab-foreground-selected: \nsidebar-tab-foreground: &lt;&lt;colour tab-foreground&gt;&gt;\nsidebar-tiddler-link-foreground-hover: #ffbb99\nsidebar-tiddler-link-foreground: #cc0000\nsite-title-foreground: &lt;&lt;colour tiddler-title-foreground&gt;&gt;\nstatic-alert-foreground: #aaaaaa\ntab-background-selected: #ffffff\ntab-background: #d8d8d8\ntab-border-selected: #d8d8d8\ntab-border: #cccccc\ntab-divider: #d8d8d8\ntab-foreground-selected: &lt;&lt;colour tab-foreground&gt;&gt;\ntab-foreground: #666666\ntable-border: #dddddd\ntable-footer-background: #a8a8a8\ntable-header-background: #f0f0f0\ntag-background: #ffbb99\ntag-foreground: #000\ntiddler-background: &lt;&lt;colour background&gt;&gt;\ntiddler-border: &lt;&lt;colour background&gt;&gt;\ntiddler-controls-foreground-hover: #888888\ntiddler-controls-foreground-selected: #444444\ntiddler-controls-foreground: #cccccc\ntiddler-editor-background: #f8f8f8\ntiddler-editor-border-image: #ffffff\ntiddler-editor-border: #cccccc\ntiddler-editor-fields-even: #e0e8e0\ntiddler-editor-fields-odd: #f0f4f0\ntiddler-info-background: #f8f8f8\ntiddler-info-border: #dddddd\ntiddler-info-tab-background: #f8f8f8\ntiddler-link-background: &lt;&lt;colour background&gt;&gt;\ntiddler-link-foreground: &lt;&lt;colour primary&gt;&gt;\ntiddler-subtitle-foreground: #c0c0c0\ntiddler-title-foreground: #cc0000\ntoolbar-new-button:\ntoolbar-options-button:\ntoolbar-save-button:\ntoolbar-info-button:\ntoolbar-edit-button:\ntoolbar-close-button:\ntoolbar-delete-button:\ntoolbar-cancel-button:\ntoolbar-done-button:\nuntagged-background: #999999\nvery-muted-foreground: #888888\n&quot;
},
&quot;$:/palettes/SolarFlare&quot;: {
&quot;title&quot;: &quot;$:/palettes/SolarFlare&quot;,
&quot;name&quot;: &quot;Solar Flare&quot;,
&quot;description&quot;: &quot;Warm, relaxing earth colours&quot;,
&quot;tags&quot;: &quot;$:/tags/Palette&quot;,
&quot;type&quot;: &quot;application/x-tiddler-dictionary&quot;,
&quot;text&quot;: &quot;: Background Tones\n\nbase03: #002b36\nbase02: #073642\n\n: Content Tones\n\nbase01: #586e75\nbase00: #657b83\nbase0: #839496\nbase1: #93a1a1\n\n: Background Tones\n\nbase2: #eee8d5\nbase3: #fdf6e3\n\n: Accent Colors\n\nyellow: #b58900\norange: #cb4b16\nred: #dc322f\nmagenta: #d33682\nviolet: #6c71c4\nblue: #268bd2\ncyan: #2aa198\ngreen: #859900\n\n: Additional Tones (RA)\n\nbase10: #c0c4bb\nviolet-muted: #7c81b0\nblue-muted: #4e7baa\n\nyellow-hot: #ffcc44\norange-hot: #eb6d20\nred-hot: #ff2222\nblue-hot: #2298ee\ngreen-hot: #98ee22\n\n: Palette\n\n: Do not use colour macro for background and foreground\nbackground: #fdf6e3\n download-foreground: &lt;&lt;colour background&gt;&gt;\n dragger-foreground: &lt;&lt;colour background&gt;&gt;\n dropdown-background: &lt;&lt;colour background&gt;&gt;\n modal-background: &lt;&lt;colour background&gt;&gt;\n sidebar-foreground-shadow: &lt;&lt;colour background&gt;&gt;\n tiddler-background: &lt;&lt;colour background&gt;&gt;\n tiddler-border: &lt;&lt;colour background&gt;&gt;\n tiddler-link-background: &lt;&lt;colour background&gt;&gt;\n tab-background-selected: &lt;&lt;colour background&gt;&gt;\n dropdown-tab-background-selected: &lt;&lt;colour tab-background-selected&gt;&gt;\nforeground: #657b83\n dragger-background: &lt;&lt;colour foreground&gt;&gt;\n tab-foreground: &lt;&lt;colour foreground&gt;&gt;\n tab-foreground-selected: &lt;&lt;colour tab-foreground&gt;&gt;\n sidebar-tab-foreground-selected: &lt;&lt;colour tab-foreground-selected&gt;&gt;\n sidebar-tab-foreground: &lt;&lt;colour tab-foreground&gt;&gt;\n sidebar-button-foreground: &lt;&lt;colour foreground&gt;&gt;\n sidebar-controls-foreground: &lt;&lt;colour foreground&gt;&gt;\n sidebar-foreground: &lt;&lt;colour foreground&gt;&gt;\n: base03\n: base02\n: base01\n alert-muted-foreground: &lt;&lt;colour base01&gt;&gt;\n: base00\n code-foreground: &lt;&lt;colour base00&gt;&gt;\n message-foreground: &lt;&lt;colour base00&gt;&gt;\n tag-foreground: &lt;&lt;colour base00&gt;&gt;\n: base0\n sidebar-tiddler-link-foreground: &lt;&lt;colour base0&gt;&gt;\n: base1\n muted-foreground: &lt;&lt;colour base1&gt;&gt;\n blockquote-bar: &lt;&lt;colour muted-foreground&gt;&gt;\n dropdown-border: &lt;&lt;colour muted-foreground&gt;&gt;\n sidebar-muted-foreground: &lt;&lt;colour muted-foreground&gt;&gt;\n tiddler-title-foreground: &lt;&lt;colour muted-foreground&gt;&gt;\n site-title-foreground: &lt;&lt;colour tiddler-title-foreground&gt;&gt;\n: base2\n modal-footer-background: &lt;&lt;colour base2&gt;&gt;\n page-background: &lt;&lt;colour base2&gt;&gt;\n modal-backdrop: &lt;&lt;colour page-background&gt;&gt;\n notification-background: &lt;&lt;colour page-background&gt;&gt;\n code-background: &lt;&lt;colour page-background&gt;&gt;\n code-border: &lt;&lt;colour code-background&gt;&gt;\n pre-background: &lt;&lt;colour page-background&gt;&gt;\n pre-border: &lt;&lt;colour pre-background&gt;&gt;\n sidebar-tab-background-selected: &lt;&lt;colour page-background&gt;&gt;\n table-header-background: &lt;&lt;colour base2&gt;&gt;\n tag-background: &lt;&lt;colour base2&gt;&gt;\n tiddler-editor-background: &lt;&lt;colour base2&gt;&gt;\n tiddler-info-background: &lt;&lt;colour base2&gt;&gt;\n tiddler-info-tab-background: &lt;&lt;colour base2&gt;&gt;\n tab-background: &lt;&lt;colour base2&gt;&gt;\n dropdown-tab-background: &lt;&lt;colour tab-background&gt;&gt;\n: base3\n alert-background: &lt;&lt;colour base3&gt;&gt;\n message-background: &lt;&lt;colour base3&gt;&gt;\n: yellow\n: orange\n: red\n: magenta\n alert-highlight: &lt;&lt;colour magenta&gt;&gt;\n: violet\n external-link-foreground: &lt;&lt;colour violet&gt;&gt;\n: blue\n: cyan\n: green\n: base10\n tiddler-controls-foreground: &lt;&lt;colour base10&gt;&gt;\n: violet-muted\n external-link-foreground-visited: &lt;&lt;colour violet-muted&gt;
},
&quot;$:/palettes/SolarizedDark&quot;: {
&quot;title&quot;: &quot;$:/palettes/SolarizedDark&quot;,
&quot;tags&quot;: &quot;$:/tags/Palette&quot;,
&quot;type&quot;: &quot;application/x-tiddler-dictionary&quot;,
&quot;description&quot;: &quot;Precision dark colors for machines and people&quot;,
&quot;license&quot;: &quot;MIT, Ethan Schoonover, https://github.com/altercation/solarized/blob/master/LICENSE&quot;,
&quot;name&quot;: &quot;SolarizedDark&quot;,
&quot;text&quot;: &quot;alert-background: #073642\nalert-border: #93a1a1\nalert-highlight: #d33682\nalert-muted-foreground: #d33682\nbackground: #073642\nblockquote-bar: #d33682\nbutton-background: #073642\nbutton-border: #586e75\nbutton-foreground: #93a1a1\ncode-background: #073642\ncode-border: #586e75\ncode-foreground: #93a1a1\ndirty-indicator: inherit\ndownload-background: #859900\ndownload-foreground: #073642\ndragger-background: #073642\ndragger-foreground: #839496\ndropdown-background: #073642\ndropdown-border: #93a1a1\ndropdown-tab-background: #002b36\ndropdown-tab-background-selected: #073642\ndropzone-background: #859900\nexternal-link-background: inherit\nexternal-link-background-hover: inherit\nexternal-link-background-visited: inherit\nexternal-link-foreground: #268bd2\nexternal-link-foreground-hover:\nexternal-link-foreground-visited: #268bd2\nforeground: #839496\nmessage-background: #002b36\nmessage-border: #586e75\nmessage-foreground: #839496\nmodal-backdrop: #657b83\nmodal-background: #002b36\nmodal-border: #586e75\nmodal-footer-background: #073642\nmodal-footer-border: #586e75\nmodal-header-border: #586e75\nmuted-foreground: #93a1a1\nnotification-background: #002b36\nnotification-border: #586e75\npage-background: #073642\npre-background: inherit\npre-border: #657b83\nprimary: #859900\nselect-tag-background: #002b36\nselect-tag-foreground: #839496\nsidebar-button-foreground: #93a1a1\nsidebar-controls-foreground: #93a1a1\nsidebar-controls-foreground-hover: #eee8d5\nsidebar-foreground: #93a1a1\nsidebar-foreground-shadow: transparent\nsidebar-muted-foreground: #839496\nsidebar-muted-foreground-hover: #93a1a1\nsidebar-tab-background: #002b36\nsidebar-tab-background-selected: #073642\nsidebar-tab-border: #073642\nsidebar-tab-border-selected: #839496\nsidebar-tab-divider: #002b36\nsidebar-tab-foreground: #657b83\nsidebar-tab-foreground-selected: #93a1a1\nsidebar-tiddler-link-foreground: #2aa198\nsidebar-tiddler-link-foreground-hover: #eee8d5\nsite-title-foreground: #d33682\nstatic-alert-foreground: #93a1a1\ntab-background: #073642\ntab-background-selected: #002b36\ntab-border: #586e75\ntab-border-selected: #93a1a1\ntab-divider: #93a1a1\ntab-foreground: #839496\ntab-foreground-selected: #93a1a1\ntable-border: #586e75\ntable-footer-background: #073642\ntable-header-background: #073642\ntag-background: #b58900\ntag-foreground: #002b36\ntiddler-background: #002b36\ntiddler-border: #586e75\ntiddler-controls-foreground: inherit\ntiddler-controls-foreground-hover: #d33682\ntiddler-controls-foreground-selected: #2aa198\ntiddler-editor-background: #002b36\ntiddler-editor-border: #073642\ntiddler-editor-border-image: #002b36\ntiddler-editor-fields-even: #002b36\ntiddler-editor-fields-odd: #073642\ntiddler-info-background: #073642\ntiddler-info-border: #657b83\ntiddler-info-tab-background: #002b36\ntiddler-link-background: #002b36\ntiddler-link-foreground: #2aa198\ntiddler-subtitle-foreground: #839496\ntiddler-title-foreground: #d33682\ntoolbar-cancel-button: #839496\ntoolbar-close-button: #839496\ntoolbar-delete-button: #dc322f\ntoolbar-done-button: #839496\ntoolbar-edit-button: #839496\ntoolbar-info-button: #839496\ntoolbar-new-button: #839496\ntoolbar-options-button: #839496\ntoolbar-save-button: inherit\nuntagged-background: #586e75\nvery-muted-foreground: #586e75\n&quot;
},
&quot;$:/palettes/SolarizedLight&quot;: {
&quot;title&quot;: &quot;$:/palettes/SolarizedLight&quot;,
&quot;tags&quot;: &quot;$:/tags/Palette&quot;,
&quot;type&quot;: &quot;application/x-tiddler-dictionary&quot;,
&quot;description&quot;: &quot;Precision colors for machines and people&quot;,
&quot;license&quot;: &quot;MIT, Ethan Schoonover, https://github.com/altercation/solarized/blob/master/LICENSE&quot;,
&quot;name&quot;: &quot;SolarizedLight&quot;,
&quot;text&quot;: &quot;alert-background: #eee8d5\nalert-border: #586e75\nalert-highlight: #d33682\nalert-muted-foreground: #d33682\nbackground: #eee8d5\nblockquote-bar: #d33682\nbutton-background: #eee8d5\nbutton-border: #93a1a1\nbutton-foreground: #586e75\ncode-background: #eee8d5\ncode-border: #93a1a1\ncode-foreground: #586e75\ndirty-indicator: inherit\ndownload-background: #859900\ndownload-foreground: #eee8d5\ndragger-background: #eee8d5\ndragger-foreground: #657b83\ndropdown-background: #eee8d5\ndropdown-border: #586e75\ndropdown-tab-background: #fdf6e3\ndropdown-tab-background-selected: #eee8d5\ndropzone-background: #859900\nexternal-link-background: inherit\nexternal-link-background-hover: inherit\nexternal-link-background-visited: inherit\nexternal-link-foreground: #268bd2\nexternal-link-foreground-hover: inherit\nexternal-link-foreground-visited: #268bd2\nforeground: #657b83\nmessage-background: #fdf6e3\nmessage-border: #93a1a1\nmessage-foreground: #657b83\nmodal-backdrop: #839496\nmodal-background: #fdf6e3\nmodal-border: #93a1a1\nmodal-footer-background: #eee8d5\nmodal-footer-border: #93a1a1\nmodal-header-border: #93a1a1\nmuted-foreground: #586e75\nnotification-background: #fdf6e3\nnotification-border: #93a1a1\npage-background: #eee8d5\npre-background: #eee8d5\npre-border: #839496\nprimary: #859900\nselect-tag-background: #fdf6e3\nselect-tag-foreground: #657b83\nsidebar-button-foreground: #586e75\nsidebar-controls-foreground: #586e75\nsidebar-controls-foreground-hover: #d33682\nsidebar-foreground: #586e75\nsidebar-foreground-shadow: transparent\nsidebar-muted-foreground: #657b83\nsidebar-muted-foreground-hover: #586e75\nsidebar-tab-background: #fdf6e3\nsidebar-tab-background-selected: #eee8d5\nsidebar-tab-border: #eee8d5\nsidebar-tab-border-selected: #657b83\nsidebar-tab-divider: #fdf6e3\nsidebar-tab-foreground: #839496\nsidebar-tab-foreground-selected: #586e75\nsidebar-tiddler-link-foreground: #2aa198\nsidebar-tiddler-link-foreground-hover: #002b36\nsite-title-foreground: #d33682\nstatic-alert-foreground: #586e75\ntab-background: #eee8d5\ntab-background-selected: #fdf6e3\ntab-border: #93a1a1\ntab-border-selected: #586e75\ntab-divider: #586e75\ntab-foreground: #657b83\ntab-foreground-selected: #586e75\ntable-border: #93a1a1\ntable-footer-background: #eee8d5\ntable-header-background: #eee8d5\ntag-background: #b58900\ntag-foreground: #fdf6e3\ntiddler-background: #fdf6e3\ntiddler-border: #93a1a1\ntiddler-controls-foreground: inherit\ntiddler-controls-foreground-hover: #d33682\ntiddler-controls-foreground-selected: #2aa198\ntiddler-editor-background: #fdf6e3\ntiddler-editor-border: #eee8d5\ntiddler-editor-border-image: #fdf6e3\ntiddler-editor-fields-even: #fdf6e3\ntiddler-editor-fields-odd: #eee8d5\ntiddler-info-background: #eee8d5\ntiddler-info-border: #839496\ntiddler-info-tab-background: #fdf6e3\ntiddler-link-background: #fdf6e3\ntiddler-link-foreground: #2aa198\ntiddler-subtitle-foreground: #657b83\ntiddler-title-foreground: #d33682\ntoolbar-cancel-button: #657b83\ntoolbar-close-button: #657b83\ntoolbar-delete-button: #dc322f\ntoolbar-done-button: #657b83\ntoolbar-edit-button: #657b83\ntoolbar-info-button: #657b83\ntoolbar-new-button: #657b83\ntoolbar-options-button: #657b83\ntoolbar-save-button: inherit\nuntagged-background: #586e75\nvery-muted-foreground: #93a1a1\n&quot;
},
&quot;$:/palettes/SpartanDay&quot;: {
&quot;title&quot;: &quot;$:/palettes/SpartanDay&quot;,
&quot;tags&quot;: &quot;$:/tags/Palette&quot;,
&quot;type&quot;: &quot;application/x-tiddler-dictionary&quot;,
&quot;description&quot;: &quot;Cold, spartan day colors&quot;,
&quot;name&quot;: &quot;Spartan Day&quot;,
&quot;text&quot;: &quot;alert-background: &lt;&lt;colour background&gt;&gt;\nalert-border: &lt;&lt;colour very-muted-foreground&gt;&gt;\nalert-highlight: &lt;&lt;colour very-muted-foreground&gt;&gt;\nalert-muted-foreground: &lt;&lt;colour muted-foreground&gt;&gt;\nbackground: #FAFAFA\nblockquote-bar: &lt;&lt;colour page-background&gt;&gt;\nbutton-background: transparent\nbutton-foreground: inherit\nbutton-border: &lt;&lt;colour tag-background&gt;&gt;\ncode-background: #ececec\ncode-border: #ececec\ncode-foreground: \ndirty-indicator: #c80000\ndownload-background: &lt;&lt;colour primary&gt;&gt;\ndownload-foreground: &lt;&lt;colour background&gt;&gt;\ndragger-background: &lt;&lt;colour foreground&gt;&gt;\ndragger-foreground: &lt;&lt;colour background&gt;&gt;\ndropdown-background: #FFFFFF\ndropdown-border: &lt;&lt;colour dropdown-background&gt;&gt;\ndropdown-tab-background-selected: &lt;&lt;colour dropdown-background&gt;&gt;\ndropdown-tab-background: #F5F5F5\ndropzone-background: &lt;&lt;colour tag-background&gt;&gt;\nexternal-link-background-hover: transparent\nexternal-link-background-visited: transparent\nexternal-link-background: transparent\nexternal-link-foreground-hover: \nexternal-link-foreground-visited: \nexternal-link-foreground: \nforeground: rgba(0, 0, 0, 0.87)\nmessage-background: &lt;&lt;colour background&gt;&gt;\nmessage-border: &lt;&lt;colour very-muted-foreground&gt;&gt;\nmessage-foreground: rgba(0, 0, 0, 0.54)\nmodal-backdrop: &lt;&lt;colour foreground&gt;&gt;\nmodal-background: &lt;&lt;colour background&gt;&gt;\nmodal-border: &lt;&lt;colour very-muted-foreground&gt;&gt;\nmodal-footer-background: &lt;&lt;colour background&gt;&gt;\nmodal-footer-border: &lt;&lt;colour very-muted-foreground&gt;&gt;\nmodal-header-border: &lt;&lt;colour very-muted-foreground&gt;&gt;\nmuted-foreground: rgba(0, 0, 0, 0.54)\nnotification-background: &lt;&lt;colour dropdown-background&gt;&gt;\nnotification-border: &lt;&lt;colour dropdown-background&gt;&gt;\npage-background: #f4f4f4\npre-background: #ececec\npre-border: #ececec\nprimary: #3949ab\nselect-tag-background: &lt;&lt;colour background&gt;&gt;\nselect-tag-foreground: &lt;&lt;colour foreground&gt;&gt;\nsidebar-button-foreground: &lt;&lt;colour foreground&gt;&gt;\nsidebar-controls-foreground-hover: #aeaeae\nsidebar-controls-foreground: #c6c6c6\nsidebar-foreground-shadow: transparent\nsidebar-foreground: rgba(0, 0, 0, 0.54)\nsidebar-muted-foreground-hover: rgba(0, 0, 0, 0.54)\nsidebar-muted-foreground: rgba(0, 0, 0, 0.38)\nsidebar-tab-background-selected: &lt;&lt;colour page-background&gt;&gt;\nsidebar-tab-background: transparent\nsidebar-tab-border-selected: &lt;&lt;colour table-border&gt;&gt;\nsidebar-tab-border: transparent\nsidebar-tab-divider: &lt;&lt;colour table-border&gt;&gt;\nsidebar-tab-foreground-selected: rgba(0, 0, 0, 0.87)\nsidebar-tab-foreground: rgba(0, 0, 0, 0.54)\nsidebar-tiddler-link-foreground-hover: rgba(0, 0, 0, 0.87)\nsidebar-tiddler-link-foreground: rgba(0, 0, 0, 0.54)\nsite-title-foreground: rgba(0, 0, 0, 0.87)\nstatic-alert-foreground: #aaaaaa\ntab-background-selected: &lt;&lt;colour background&gt;&gt;\ntab-background: transparent\ntab-border-selected: &lt;&lt;colour table-border&gt;&gt;\ntab-border: transparent\ntab-divider: &lt;&lt;colour table-border&gt;&gt;\ntab-foreground-selected: rgba(0, 0, 0, 0.87)\ntab-foreground: rgba(0, 0, 0, 0.54)\ntable-border: #d8d8d8\ntable-footer-background: &lt;&lt;colour tiddler-editor-fields-odd&gt;&gt;\ntable-header-background: &lt;&lt;colour tiddler-editor-fields-even&gt;&gt;\ntag-background: #ec6\ntag-foreground: &lt;&lt;colour button-foreground&gt;&gt;\ntiddler-background: &lt;&lt;colour background&gt;&gt;\ntiddler-border: #f9f9f9\ntiddler-controls-foreground-hover: &lt;&lt;colour sidebar-controls-foreground-hover&gt;&gt;\ntiddler-controls-foreground-selected: &lt;&lt;colour sidebar-controls-foreground-hover&gt;&gt;\ntiddler-controls-foreground: &lt;&lt;colour sidebar-controls-foreground&gt;&gt;\ntiddler-editor-background: transparent\ntiddler-editor-border-image: \ntiddler-editor-border: #e8e7e7\n
},
&quot;$:/palettes/SpartanNight&quot;: {
&quot;title&quot;: &quot;$:/palettes/SpartanNight&quot;,
&quot;tags&quot;: &quot;$:/tags/Palette&quot;,
&quot;type&quot;: &quot;application/x-tiddler-dictionary&quot;,
&quot;description&quot;: &quot;Dark spartan colors&quot;,
&quot;name&quot;: &quot;Spartan Night&quot;,
&quot;text&quot;: &quot;alert-background: &lt;&lt;colour background&gt;&gt;\nalert-border: &lt;&lt;colour very-muted-foreground&gt;&gt;\nalert-highlight: &lt;&lt;colour very-muted-foreground&gt;&gt;\nalert-muted-foreground: &lt;&lt;colour muted-foreground&gt;&gt;\nbackground: #303030\nblockquote-bar: &lt;&lt;colour page-background&gt;&gt;\nbutton-background: transparent\nbutton-foreground: inherit\nbutton-border: &lt;&lt;colour tag-background&gt;&gt;\ncode-background: &lt;&lt;colour pre-background&gt;&gt;\ncode-border: &lt;&lt;colour pre-border&gt;&gt;\ncode-foreground: rgba(255, 255, 255, 0.54)\ndirty-indicator: #c80000\ndownload-background: &lt;&lt;colour primary&gt;&gt;\ndownload-foreground: &lt;&lt;colour foreground&gt;&gt;\ndragger-background: &lt;&lt;colour foreground&gt;&gt;\ndragger-foreground: &lt;&lt;colour background&gt;&gt;\ndropdown-background: #424242\ndropdown-border: &lt;&lt;colour dropdown-background&gt;&gt;\ndropdown-tab-background-selected: &lt;&lt;colour dropdown-background&gt;&gt;\ndropdown-tab-background: #050505\ndropzone-background: &lt;&lt;colour tag-background&gt;&gt;\nexternal-link-background-hover: transparent\nexternal-link-background-visited: transparent\nexternal-link-background: transparent\nexternal-link-foreground-hover: \nexternal-link-foreground-visited: #7c318c\nexternal-link-foreground: #9e3eb3\nforeground: rgba(255, 255, 255, 0.7)\nmessage-background: &lt;&lt;colour background&gt;&gt;\nmessage-border: &lt;&lt;colour very-muted-foreground&gt;&gt;\nmessage-foreground: rgba(255, 255, 255, 0.54)\nmodal-backdrop: &lt;&lt;colour page-background&gt;&gt;\nmodal-background: &lt;&lt;colour background&gt;&gt;\nmodal-border: &lt;&lt;colour very-muted-foreground&gt;&gt;\nmodal-footer-background: &lt;&lt;colour background&gt;&gt;\nmodal-footer-border: &lt;&lt;colour background&gt;&gt;\nmodal-header-border: &lt;&lt;colour very-muted-foreground&gt;&gt;\nmuted-foreground: rgba(255, 255, 255, 0.54)\nnotification-background: &lt;&lt;colour dropdown-background&gt;&gt;\nnotification-border: &lt;&lt;colour dropdown-background&gt;&gt;\npage-background: #212121\npre-background: #2a2a2a\npre-border: transparent\nprimary: #5656f3\nselect-tag-background: &lt;&lt;colour background&gt;&gt;\nselect-tag-foreground: &lt;&lt;colour foreground&gt;&gt;\nsidebar-button-foreground: &lt;&lt;colour foreground&gt;&gt;\nsidebar-controls-foreground-hover: #494949\nsidebar-controls-foreground: #5d5d5d\nsidebar-foreground-shadow: transparent\nsidebar-foreground: rgba(255, 255, 255, 0.54)\nsidebar-muted-foreground-hover: rgba(255, 255, 255, 0.54)\nsidebar-muted-foreground: rgba(255, 255, 255, 0.38)\nsidebar-tab-background-selected: &lt;&lt;colour page-background&gt;&gt;\nsidebar-tab-background: transparent\nsidebar-tab-border-selected: &lt;&lt;colour table-border&gt;&gt;\nsidebar-tab-border: transparent\nsidebar-tab-divider: &lt;&lt;colour table-border&gt;&gt;\nsidebar-tab-foreground-selected: rgba(255, 255, 255, 0.87)\nsidebar-tab-foreground: rgba(255, 255, 255, 0.54)\nsidebar-tiddler-link-foreground-hover: rgba(255, 255, 255, 0.7)\nsidebar-tiddler-link-foreground: rgba(255, 255, 255, 0.54)\nsite-title-foreground: rgba(255, 255, 255, 0.7)\nstatic-alert-foreground: #aaaaaa\ntab-background-selected: &lt;&lt;colour background&gt;&gt;\ntab-background: transparent\ntab-border-selected: &lt;&lt;colour table-border&gt;&gt;\ntab-border: transparent\ntab-divider: &lt;&lt;colour table-border&gt;&gt;\ntab-foreground-selected: rgba(255, 255, 255, 0.87)\ntab-foreground: rgba(255, 255, 255, 0.54)\ntable-border: #3a3a3a\ntable-footer-background: &lt;&lt;colour tiddler-editor-fields-odd&gt;&gt;\ntable-header-background: &lt;&lt;colour tiddler-editor-fields-even&gt;&gt;\ntag-background: #ec6\ntag-foreground: &lt;&lt;colour button-foreground&gt;&gt;\ntiddler-background: &lt;&lt;colour background&gt;&gt;\ntiddler-border: rgb(55,55,55)\ntiddler-controls-foreground-hover: &lt;&lt;colour sidebar-controls-foreground-hover&gt;&gt;\ntiddler-controls-foreground-selected: &lt;&lt;colour sidebar-controls-foreground-hover&gt;&gt;\ntiddler-co
},
&quot;$:/palettes/Twilight&quot;: {
&quot;title&quot;: &quot;$:/palettes/Twilight&quot;,
&quot;tags&quot;: &quot;$:/tags/Palette&quot;,
&quot;author&quot;: &quot;Thomas Elmiger&quot;,
&quot;type&quot;: &quot;application/x-tiddler-dictionary&quot;,
&quot;name&quot;: &quot;Twilight&quot;,
&quot;description&quot;: &quot;Delightful, soft darkness.&quot;,
&quot;text&quot;: &quot;alert-background: rgb(255, 255, 102)\nalert-border: rgb(232, 232, 125)\nalert-highlight: rgb(255, 51, 51)\nalert-muted-foreground: rgb(224, 82, 82)\nbackground: rgb(38, 38, 38)\nblockquote-bar: rgba(240, 196, 117, 0.7)\nbutton-background: rgb(63, 63, 63)\nbutton-border: rgb(127, 127, 127)\nbutton-foreground: rgb(179, 179, 179)\ncode-background: rgba(0,0,0,0.03)\ncode-border: rgba(0,0,0,0.08)\ncode-foreground: rgb(255, 94, 94)\ndiff-delete-background: #ffc9c9\ndiff-delete-foreground: &lt;&lt;colour foreground&gt;&gt;\ndiff-equal-background: \ndiff-equal-foreground: &lt;&lt;colour foreground&gt;&gt;\ndiff-insert-background: #aaefad\ndiff-insert-foreground: &lt;&lt;colour foreground&gt;&gt;\ndiff-invisible-background: \ndiff-invisible-foreground: &lt;&lt;colour muted-foreground&gt;&gt;\ndirty-indicator: rgb(255, 94, 94)\ndownload-background: #19a974\ndownload-foreground: rgb(38, 38, 38)\ndragger-background: rgb(179, 179, 179)\ndragger-foreground: rgb(38, 38, 38)\ndropdown-background: rgb(38, 38, 38)\ndropdown-border: rgb(255, 255, 255)\ndropdown-tab-background: rgba(0,0,0,.1)\ndropdown-tab-background-selected: rgba(255,255,255,1)\ndropzone-background: #9eebcf\nexternal-link-background: inherit\nexternal-link-background-hover: inherit\nexternal-link-background-visited: inherit\nexternal-link-foreground: rgb(179, 179, 255)\nexternal-link-foreground-hover: inherit\nexternal-link-foreground-visited: rgb(153, 153, 255)\nforeground: rgb(179, 179, 179)\nmessage-background: &lt;&lt;colour tag-foreground&gt;&gt;\nmessage-border: #96ccff\nmessage-foreground: &lt;&lt;colour tag-background&gt;&gt;\nmodal-backdrop: rgb(179, 179, 179)\nmodal-background: rgb(38, 38, 38)\nmodal-border: rgba(0,0,0,.5)\nmodal-footer-background: #f4f4f4\nmodal-footer-border: rgba(0,0,0,.1)\nmodal-header-border: rgba(0,0,0,.2)\nmuted-foreground: rgb(255, 255, 255)\nnotification-background: &lt;&lt;colour tag-foreground&gt;&gt;\nnotification-border: &lt;&lt;colour tag-background&gt;&gt;\npage-background: rgb(26, 26, 26)\npre-background: rgb(25, 25, 25)\npre-border: rgba(0,0,0,.2)\nprimary: rgb(255, 201, 102)\nselect-tag-background: \nselect-tag-foreground: \nsidebar-button-foreground: rgb(179, 179, 179)\nsidebar-controls-foreground: rgb(153, 153, 153)\nsidebar-controls-foreground-hover: &lt;&lt;colour tiddler-controls-foreground-hover&gt;&gt;\nsidebar-foreground: rgb(141, 141, 141)\nsidebar-foreground-shadow: transparent\nsidebar-muted-foreground: rgba(0, 0, 0, 0.5)\nsidebar-muted-foreground-hover: rgb(141, 141, 141)\nsidebar-tab-background: rgba(141, 141, 141, 0.2)\nsidebar-tab-background-selected: rgb(26, 26, 26)\nsidebar-tab-border: rgb(127, 127, 127)\nsidebar-tab-border-selected: rgb(127, 127, 127)\nsidebar-tab-divider: rgb(127, 127, 127)\nsidebar-tab-foreground: rgb(179, 179, 179)\nsidebar-tab-foreground-selected: rgb(179, 179, 179)\nsidebar-tiddler-link-foreground: rgb(179, 179, 179)\nsidebar-tiddler-link-foreground-hover: rgb(115, 115, 115)\nsite-title-foreground: rgb(255, 201, 102)\nstatic-alert-foreground: rgba(0,0,0,.3)\ntab-background: rgba(0,0,0,0.125)\ntab-background-selected: rgb(38, 38, 38)\ntab-border: rgb(255, 201, 102)\ntab-border-selected: rgb(255, 201, 102)\ntab-divider: rgb(255, 201, 102)\ntab-foreground: rgb(179, 179, 179)\ntab-foreground-selected: rgb(179, 179, 179)\ntable-border: rgba(255,255,255,.3)\ntable-footer-background: rgba(0,0,0,.4)\ntable-header-background: rgba(0,0,0,.1)\ntag-background: rgb(255, 201, 102)\ntag-foreground: rgb(25, 25, 25)\ntiddler-background: rgb(38, 38, 38)\ntiddler-border: rgba(240, 196, 117, 0.7)\ntiddler-controls-foreground: rgb(128, 128, 128)\ntiddler-controls-foreground-hover: rgba(255, 255, 255, 0.8)\ntiddler-controls-foreground-selected: rgba(255, 255, 255, 0.9)\ntiddler-editor-background: rgb(33, 33, 33)\ntiddler-editor-border: rgb(63, 63, 63)\ntiddler-editor-border-image: rgb(25, 25, 25)\ntiddler-editor-fields-even: rgb(33, 33, 33)\ntiddler-editor-fields-odd: rgb(28, 28, 28)\ntiddler-info-background: rgb(43, 43, 43)\ntiddler-info-border: rgb(25, 25, 25)\ntiddler-in
},
&quot;$:/palettes/Vanilla&quot;: {
&quot;title&quot;: &quot;$:/palettes/Vanilla&quot;,
&quot;name&quot;: &quot;Vanilla&quot;,
&quot;description&quot;: &quot;Pale and unobtrusive&quot;,
&quot;tags&quot;: &quot;$:/tags/Palette&quot;,
&quot;type&quot;: &quot;application/x-tiddler-dictionary&quot;,
&quot;text&quot;: &quot;alert-background: #ffe476\nalert-border: #b99e2f\nalert-highlight: #881122\nalert-muted-foreground: #b99e2f\nbackground: #ffffff\nblockquote-bar: &lt;&lt;colour muted-foreground&gt;&gt;\nbutton-background:\nbutton-foreground:\nbutton-border:\ncode-background: #f7f7f9\ncode-border: #e1e1e8\ncode-foreground: #dd1144\ndiff-delete-background: #ffc9c9\ndiff-delete-foreground: &lt;&lt;colour foreground&gt;&gt;\ndiff-equal-background: \ndiff-equal-foreground: &lt;&lt;colour foreground&gt;&gt;\ndiff-insert-background: #aaefad\ndiff-insert-foreground: &lt;&lt;colour foreground&gt;&gt;\ndiff-invisible-background: \ndiff-invisible-foreground: &lt;&lt;colour muted-foreground&gt;&gt;\ndirty-indicator: #ff0000\ndownload-background: #34c734\ndownload-foreground: &lt;&lt;colour background&gt;&gt;\ndragger-background: &lt;&lt;colour foreground&gt;&gt;\ndragger-foreground: &lt;&lt;colour background&gt;&gt;\ndropdown-background: &lt;&lt;colour background&gt;&gt;\ndropdown-border: &lt;&lt;colour muted-foreground&gt;&gt;\ndropdown-tab-background-selected: #fff\ndropdown-tab-background: #ececec\ndropzone-background: rgba(0,200,0,0.7)\nexternal-link-background-hover: inherit\nexternal-link-background-visited: inherit\nexternal-link-background: inherit\nexternal-link-foreground-hover: inherit\nexternal-link-foreground-visited: #0000aa\nexternal-link-foreground: #0000ee\nforeground: #333333\nmessage-background: #ecf2ff\nmessage-border: #cfd6e6\nmessage-foreground: #547599\nmodal-backdrop: &lt;&lt;colour foreground&gt;&gt;\nmodal-background: &lt;&lt;colour background&gt;&gt;\nmodal-border: #999999\nmodal-footer-background: #f5f5f5\nmodal-footer-border: #dddddd\nmodal-header-border: #eeeeee\nmuted-foreground: #bbb\nnotification-background: #ffffdd\nnotification-border: #999999\npage-background: #f4f4f4\npre-background: #f5f5f5\npre-border: #cccccc\nprimary: #5778d8\nselection-background:\nselection-foreground:\nselect-tag-background:\nselect-tag-foreground:\nsidebar-button-foreground: &lt;&lt;colour foreground&gt;&gt;\nsidebar-controls-foreground-hover: #000000\nsidebar-controls-foreground: #aaaaaa\nsidebar-foreground-shadow: rgba(255,255,255, 0.8)\nsidebar-foreground: #acacac\nsidebar-muted-foreground-hover: #444444\nsidebar-muted-foreground: #c0c0c0\nsidebar-tab-background-selected: #f4f4f4\nsidebar-tab-background: #e0e0e0\nsidebar-tab-border-selected: &lt;&lt;colour tab-border-selected&gt;&gt;\nsidebar-tab-border: &lt;&lt;colour tab-border&gt;&gt;\nsidebar-tab-divider: #e4e4e4\nsidebar-tab-foreground-selected:\nsidebar-tab-foreground: &lt;&lt;colour tab-foreground&gt;&gt;\nsidebar-tiddler-link-foreground-hover: #444444\nsidebar-tiddler-link-foreground: #999999\nsite-title-foreground: &lt;&lt;colour tiddler-title-foreground&gt;&gt;\nstatic-alert-foreground: #aaaaaa\ntab-background-selected: #ffffff\ntab-background: #d8d8d8\ntab-border-selected: #d8d8d8\ntab-border: #cccccc\ntab-divider: #d8d8d8\ntab-foreground-selected: &lt;&lt;colour tab-foreground&gt;&gt;\ntab-foreground: #666666\ntable-border: #dddddd\ntable-footer-background: #a8a8a8\ntable-header-background: #f0f0f0\ntag-background: #ec6\ntag-foreground: #ffffff\ntiddler-background: &lt;&lt;colour background&gt;&gt;\ntiddler-border: &lt;&lt;colour background&gt;&gt;\ntiddler-controls-foreground-hover: #888888\ntiddler-controls-foreground-selected: #444444\ntiddler-controls-foreground: #cccccc\ntiddler-editor-background: #f8f8f8\ntiddler-editor-border-image: #ffffff\ntiddler-editor-border: #cccccc\ntiddler-editor-fields-even: #e0e8e0\ntiddler-editor-fields-odd: #f0f4f0\ntiddler-info-background: #f8f8f8\ntiddler-info-border: #dddddd\ntiddler-info-tab-background: #f8f8f8\ntiddler-link-background: &lt;&lt;colour background&gt;&gt;\ntiddler-link-foreground: &lt;&lt;colour primary&gt;&gt;\ntiddler-subtitle-foreground: #c0c0c0\ntiddler-title-foreground: #182955\ntoolbar-new-button:\ntoolbar-options-button:\ntoolbar-save-button:\ntoolbar-info-button:\ntoolbar-edit-button:\ntoolbar-close-button:\ntoolbar-delete-button:\ntoolbar-cancel-button:\ntoolbar-done-button
},
&quot;$:/core/readme&quot;: {
&quot;title&quot;: &quot;$:/core/readme&quot;,
&quot;text&quot;: &quot;This plugin contains TiddlyWiki's core components, comprising:\n\n* JavaScript code modules\n* Icons\n* Templates needed to create TiddlyWiki's user interface\n* British English (''en-GB'') translations of the localisable strings used by the core\n&quot;
},
&quot;$:/library/sjcl.js/license&quot;: {
&quot;title&quot;: &quot;$:/library/sjcl.js/license&quot;,
&quot;type&quot;: &quot;text/plain&quot;,
&quot;text&quot;: &quot;SJCL is open. You can use, modify and redistribute it under a BSD\nlicense or under the GNU GPL, version 2.0.\n\n---------------------------------------------------------------------\n\nhttp://opensource.org/licenses/BSD-2-Clause\n\nCopyright (c) 2009-2015, Emily Stark, Mike Hamburg and Dan Boneh at\nStanford University. All rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are\nmet:\n\n1. Redistributions of source code must retain the above copyright\nnotice, this list of conditions and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright\nnotice, this list of conditions and the following disclaimer in the\ndocumentation and/or other materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \&quot;AS\nIS\&quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED\nTO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\nPARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\nHOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\nSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED\nTO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\nPROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\nLIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\nNEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n---------------------------------------------------------------------\n\nhttp://opensource.org/licenses/GPL-2.0\n\nThe Stanford Javascript Crypto Library (hosted here on GitHub) is a\nproject by the Stanford Computer Security Lab to build a secure,\npowerful, fast, small, easy-to-use, cross-browser library for\ncryptography in Javascript.\n\nCopyright (c) 2009-2015, Emily Stark, Mike Hamburg and Dan Boneh at\nStanford University.\n\nThis program is free software; you can redistribute it and/or modify it\nunder the terms of the GNU General Public License as published by the\nFree Software Foundation; either version 2 of the License, or (at your\noption) any later version.\n\nThis program is distributed in the hope that it will be useful, but\nWITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General\nPublic License for more details.\n\nYou should have received a copy of the GNU General Public License along\nwith this program; if not, write to the Free Software Foundation, Inc.,\n59 Temple Place, Suite 330, Boston, MA 02111-1307 USA&quot;
},
&quot;$:/core/templates/MOTW.html&quot;: {
&quot;title&quot;: &quot;$:/core/templates/MOTW.html&quot;,
&quot;text&quot;: &quot;\\rules only filteredtranscludeinline transcludeinline entity\n&lt;!-- The following comment is called a MOTW comment and is necessary for the TiddlyIE Internet Explorer extension --&gt;\n&lt;!-- saved from url=(0021)https://tiddlywiki.com --&gt;&amp;#13;&amp;#10;&quot;
},
&quot;$:/core/templates/alltiddlers.template.html&quot;: {
&quot;title&quot;: &quot;$:/core/templates/alltiddlers.template.html&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki-html&quot;,
&quot;text&quot;: &quot;&lt;!-- This template is provided for backwards compatibility with older versions of TiddlyWiki --&gt;\n\n&lt;$set name=\&quot;exportFilter\&quot; value=\&quot;[!is[system]sort[title]]\&quot;&gt;\n\n{{$:/core/templates/exporters/StaticRiver}}\n\n&lt;/$set&gt;\n&quot;
},
&quot;$:/core/templates/canonical-uri-external-image&quot;: {
&quot;title&quot;: &quot;$:/core/templates/canonical-uri-external-image&quot;,
&quot;text&quot;: &quot;&lt;!--\n\nThis template is used to assign the ''_canonical_uri'' field to external images.\n\nChange the `./images/` part to a different base URI. The URI can be relative or absolute.\n\n--&gt;\n./images/&lt;$view field=\&quot;title\&quot; format=\&quot;doubleurlencoded\&quot;/&gt;&quot;
},
&quot;$:/core/templates/canonical-uri-external-raw&quot;: {
&quot;title&quot;: &quot;$:/core/templates/canonical-uri-external-raw&quot;,
&quot;text&quot;: &quot;&lt;!--\n\nThis template is used to assign the ''_canonical_uri'' field to external raw files that are stored in the same directory\n\n--&gt;\n&lt;$view field=\&quot;title\&quot; format=\&quot;doubleurlencoded\&quot;/&gt;&quot;
},
&quot;$:/core/templates/canonical-uri-external-text&quot;: {
&quot;title&quot;: &quot;$:/core/templates/canonical-uri-external-text&quot;,
&quot;text&quot;: &quot;&lt;!--\n\nThis template is used to assign the ''_canonical_uri'' field to external text files.\n\nChange the `./text/` part to a different base URI. The URI can be relative or absolute.\n\n--&gt;\n./text/&lt;$view field=\&quot;title\&quot; format=\&quot;doubleurlencoded\&quot;/&gt;.tid&quot;
},
&quot;$:/core/templates/css-tiddler&quot;: {
&quot;title&quot;: &quot;$:/core/templates/css-tiddler&quot;,
&quot;text&quot;: &quot;&lt;!--\n\nThis template is used for saving CSS tiddlers as a style tag with data attributes representing the tiddler fields.\n\n--&gt;`&lt;style`&lt;$fields template=' data-tiddler-$name$=\&quot;$encoded_value$\&quot;'&gt;&lt;/$fields&gt;` type=\&quot;text/css\&quot;&gt;`&lt;$view field=\&quot;text\&quot; format=\&quot;text\&quot; /&gt;`&lt;/style&gt;`&quot;
},
&quot;$:/core/templates/exporters/CsvFile&quot;: {
&quot;title&quot;: &quot;$:/core/templates/exporters/CsvFile&quot;,
&quot;tags&quot;: &quot;$:/tags/Exporter&quot;,
&quot;description&quot;: &quot;{{$:/language/Exporters/CsvFile}}&quot;,
&quot;extension&quot;: &quot;.csv&quot;,
&quot;text&quot;: &quot;&lt;$macrocall $name=\&quot;csvtiddlers\&quot; filter=&lt;&lt;exportFilter&gt;&gt; format=\&quot;quoted-comma-sep\&quot; $output=\&quot;text/raw\&quot;/&gt;\n&quot;
},
&quot;$:/core/templates/exporters/JsonFile&quot;: {
&quot;title&quot;: &quot;$:/core/templates/exporters/JsonFile&quot;,
&quot;tags&quot;: &quot;$:/tags/Exporter&quot;,
&quot;description&quot;: &quot;{{$:/language/Exporters/JsonFile}}&quot;,
&quot;extension&quot;: &quot;.json&quot;,
&quot;text&quot;: &quot;&lt;$macrocall $name=\&quot;jsontiddlers\&quot; filter=&lt;&lt;exportFilter&gt;&gt; $output=\&quot;text/raw\&quot;/&gt;\n&quot;
},
&quot;$:/core/templates/exporters/StaticRiver&quot;: {
&quot;title&quot;: &quot;$:/core/templates/exporters/StaticRiver&quot;,
&quot;tags&quot;: &quot;$:/tags/Exporter&quot;,
&quot;description&quot;: &quot;{{$:/language/Exporters/StaticRiver}}&quot;,
&quot;extension&quot;: &quot;.html&quot;,
&quot;text&quot;: &quot;\\define tv-wikilink-template() #$uri_encoded$\n\\define tv-config-toolbar-icons() no\n\\define tv-config-toolbar-text() no\n\\define tv-config-toolbar-class() tc-btn-invisible\n\\rules only filteredtranscludeinline transcludeinline\n&lt;!doctype html&gt;\n&lt;html&gt;\n&lt;head&gt;\n&lt;meta http-equiv=\&quot;Content-Type\&quot; content=\&quot;text/html;charset=utf-8\&quot; /&gt;\n&lt;meta name=\&quot;generator\&quot; content=\&quot;TiddlyWiki\&quot; /&gt;\n&lt;meta name=\&quot;tiddlywiki-version\&quot; content=\&quot;{{$:/core/templates/version}}\&quot; /&gt;\n&lt;meta name=\&quot;format-detection\&quot; content=\&quot;telephone=no\&quot;&gt;\n&lt;link id=\&quot;faviconLink\&quot; rel=\&quot;shortcut icon\&quot; href=\&quot;favicon.ico\&quot;&gt;\n&lt;title&gt;{{$:/core/wiki/title}}&lt;/title&gt;\n&lt;div id=\&quot;styleArea\&quot;&gt;\n{{$:/boot/boot.css||$:/core/templates/css-tiddler}}\n&lt;/div&gt;\n&lt;style type=\&quot;text/css\&quot;&gt;\n{{$:/core/ui/PageStylesheet||$:/core/templates/wikified-tiddler}}\n&lt;/style&gt;\n&lt;/head&gt;\n&lt;body class=\&quot;tc-body\&quot;&gt;\n{{$:/StaticBanner||$:/core/templates/html-tiddler}}\n&lt;section class=\&quot;tc-story-river tc-static-story-river\&quot;&gt;\n{{$:/core/templates/exporters/StaticRiver/Content||$:/core/templates/html-tiddler}}\n&lt;/section&gt;\n&lt;/body&gt;\n&lt;/html&gt;\n&quot;
},
&quot;$:/core/templates/exporters/StaticRiver/Content&quot;: {
&quot;title&quot;: &quot;$:/core/templates/exporters/StaticRiver/Content&quot;,
&quot;text&quot;: &quot;\\define renderContent()\n{{{ $(exportFilter)$ ||$:/core/templates/static-tiddler}}}\n\\end\n\\import [[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]\n&lt;&lt;renderContent&gt;&gt;\n&quot;
},
&quot;$:/core/templates/exporters/TidFile&quot;: {
&quot;title&quot;: &quot;$:/core/templates/exporters/TidFile&quot;,
&quot;tags&quot;: &quot;$:/tags/Exporter&quot;,
&quot;description&quot;: &quot;{{$:/language/Exporters/TidFile}}&quot;,
&quot;extension&quot;: &quot;.tid&quot;,
&quot;condition&quot;: &quot;[&lt;count&gt;compare:lte[1]]&quot;,
&quot;text&quot;: &quot;\\define renderContent()\n{{{ $(exportFilter)$ +[limit[1]] ||$:/core/templates/tid-tiddler}}}\n\\end\n\\import [[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]\n&lt;&lt;renderContent&gt;&gt;&quot;
},
&quot;$:/core/save/all-external-js&quot;: {
&quot;title&quot;: &quot;$:/core/save/all-external-js&quot;,
&quot;text&quot;: &quot;\\import [[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]\n\\define saveTiddlerFilter()\n[is[tiddler]] -[prefix[$:/state/popup/]] -[prefix[$:/temp/]] -[prefix[$:/HistoryList]] -[status[pending]plugin-type[import]] -[[$:/core]] -[[$:/boot/boot.css]] -[type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] +[sort[title]] $(publishFilter)$\n\\end\n{{$:/core/templates/tiddlywiki5-external-js.html}}\n&quot;
},
&quot;$:/core/templates/tiddlywiki5.js&quot;: {
&quot;title&quot;: &quot;$:/core/templates/tiddlywiki5.js&quot;,
&quot;text&quot;: &quot;\\rules only filteredtranscludeinline transcludeinline codeinline\n\n/*\n{{ $:/core/copyright.txt ||$:/core/templates/plain-text-tiddler}}\n`*/\n`&lt;!--~~ Library modules ~~--&gt;\n{{{ [is[system]type[application/javascript]library[yes]] ||$:/core/templates/plain-text-tiddler}}}\n&lt;!--~~ Boot prefix ~~--&gt;\n{{ $:/boot/bootprefix.js ||$:/core/templates/plain-text-tiddler}}\n&lt;!--~~ Core plugin ~~--&gt;\n{{$:/core/templates/tiddlywiki5.js/tiddlers}}\n&lt;!--~~ Boot kernel ~~--&gt;\n{{ $:/boot/boot.js ||$:/core/templates/plain-text-tiddler}}\n&quot;
},
&quot;$:/core/templates/tiddlywiki5.js/tiddlers&quot;: {
&quot;title&quot;: &quot;$:/core/templates/tiddlywiki5.js/tiddlers&quot;,
&quot;text&quot;: &quot;`\n$tw.preloadTiddlerArray(`&lt;$text text=&lt;&lt;jsontiddlers \&quot;[[$:/core]]\&quot;&gt;&gt;/&gt;`);\n`\n&quot;
},
&quot;$:/core/templates/tiddlywiki5-external-js.html&quot;: {
&quot;title&quot;: &quot;$:/core/templates/tiddlywiki5-external-js.html&quot;,
&quot;text&quot;: &quot;\\rules only filteredtranscludeinline transcludeinline\n&lt;!doctype html&gt;\n{{$:/core/templates/MOTW.html}}&lt;html lang=\&quot;`&lt;$text text={{{ [{$:/language}get[name]] }}}/&gt;`\&quot;&gt;\n&lt;head&gt;\n&lt;meta http-equiv=\&quot;Content-Type\&quot; content=\&quot;text/html;charset=utf-8\&quot; /&gt;\n&lt;!--~~ Raw markup for the top of the head section ~~--&gt;\n{{{ [all[shadows+tiddlers]tag[$:/tags/RawMarkupWikified/TopHead]] ||$:/core/templates/raw-static-tiddler}}}\n&lt;meta http-equiv=\&quot;X-UA-Compatible\&quot; content=\&quot;IE=Edge\&quot;/&gt;\n&lt;meta name=\&quot;application-name\&quot; content=\&quot;TiddlyWiki\&quot; /&gt;\n&lt;meta name=\&quot;generator\&quot; content=\&quot;TiddlyWiki\&quot; /&gt;\n&lt;meta name=\&quot;tiddlywiki-version\&quot; content=\&quot;{{$:/core/templates/version}}\&quot; /&gt;\n&lt;meta name=\&quot;viewport\&quot; content=\&quot;width=device-width, initial-scale=1.0\&quot; /&gt;\n&lt;meta name=\&quot;apple-mobile-web-app-capable\&quot; content=\&quot;yes\&quot; /&gt;\n&lt;meta name=\&quot;apple-mobile-web-app-status-bar-style\&quot; content=\&quot;black-translucent\&quot; /&gt;\n&lt;meta name=\&quot;mobile-web-app-capable\&quot; content=\&quot;yes\&quot;/&gt;\n&lt;meta name=\&quot;format-detection\&quot; content=\&quot;telephone=no\&quot; /&gt;\n&lt;meta name=\&quot;copyright\&quot; content=\&quot;{{$:/core/copyright.txt}}\&quot; /&gt;\n&lt;link id=\&quot;faviconLink\&quot; rel=\&quot;shortcut icon\&quot; href=\&quot;favicon.ico\&quot;&gt;\n&lt;title&gt;{{$:/core/wiki/title}}&lt;/title&gt;\n&lt;!--~~ This is a Tiddlywiki file. The points of interest in the file are marked with this pattern ~~--&gt;\n\n&lt;!--~~ Raw markup ~~--&gt;\n{{{ [all[shadows+tiddlers]tag[$:/core/wiki/rawmarkup]] [all[shadows+tiddlers]tag[$:/tags/RawMarkup]] ||$:/core/templates/plain-text-tiddler}}}\n{{{ [all[shadows+tiddlers]tag[$:/tags/RawMarkupWikified]] ||$:/core/templates/raw-static-tiddler}}}\n&lt;/head&gt;\n&lt;body class=\&quot;tc-body\&quot;&gt;\n&lt;!--~~ Raw markup for the top of the body section ~~--&gt;\n{{{ [all[shadows+tiddlers]tag[$:/tags/RawMarkupWikified/TopBody]] ||$:/core/templates/raw-static-tiddler}}}\n&lt;!--~~ Static styles ~~--&gt;\n&lt;div id=\&quot;styleArea\&quot;&gt;\n{{$:/boot/boot.css||$:/core/templates/css-tiddler}}\n&lt;/div&gt;\n&lt;!--~~ Static content for Google and browsers without JavaScript ~~--&gt;\n&lt;noscript&gt;\n&lt;div id=\&quot;splashArea\&quot;&gt;\n{{$:/core/templates/static.area}}\n&lt;/div&gt;\n&lt;/noscript&gt;\n&lt;!--~~ Ordinary tiddlers ~~--&gt;\n{{$:/core/templates/store.area.template.html}}\n&lt;!--~~ Raw markup for the bottom of the body section ~~--&gt;\n{{{ [all[shadows+tiddlers]tag[$:/tags/RawMarkupWikified/BottomBody]] ||$:/core/templates/raw-static-tiddler}}}\n&lt;/body&gt;\n&lt;script src=\&quot;%24%3A%2Fcore%2Ftemplates%2Ftiddlywiki5.js\&quot; onerror=\&quot;alert('Error: Cannot load tiddlywiki.js');\&quot;&gt;&lt;/script&gt;\n&lt;/html&gt;\n&quot;
},
&quot;$:/core/templates/html-div-skinny-tiddler&quot;: {
&quot;title&quot;: &quot;$:/core/templates/html-div-skinny-tiddler&quot;,
&quot;text&quot;: &quot;&lt;!--\n\nThis template is a variant of $:/core/templates/html-div-tiddler used for saving skinny tiddlers (with no text field)\n\n--&gt;`&lt;div`&lt;$fields template=' $name$=\&quot;$encoded_value$\&quot;'&gt;&lt;/$fields&gt;`&gt;\n&lt;pre&gt;&lt;/pre&gt;\n&lt;/div&gt;`\n&quot;
},
&quot;$:/core/templates/html-div-tiddler&quot;: {
&quot;title&quot;: &quot;$:/core/templates/html-div-tiddler&quot;,
&quot;text&quot;: &quot;&lt;!--\n\nThis template is used for saving tiddlers as an HTML DIV tag with attributes representing the tiddler fields.\n\n--&gt;`&lt;div`&lt;$fields template=' $name$=\&quot;$encoded_value$\&quot;'&gt;&lt;/$fields&gt;`&gt;\n&lt;pre&gt;`&lt;$view field=\&quot;text\&quot; format=\&quot;htmlencoded\&quot; /&gt;`&lt;/pre&gt;\n&lt;/div&gt;`\n&quot;
},
&quot;$:/core/templates/html-tiddler&quot;: {
&quot;title&quot;: &quot;$:/core/templates/html-tiddler&quot;,
&quot;text&quot;: &quot;&lt;!--\n\nThis template is used for saving tiddlers as raw HTML\n\n--&gt;&lt;$view field=\&quot;text\&quot; format=\&quot;htmlwikified\&quot; /&gt;&quot;
},
&quot;$:/core/templates/javascript-tiddler&quot;: {
&quot;title&quot;: &quot;$:/core/templates/javascript-tiddler&quot;,
&quot;text&quot;: &quot;&lt;!--\n\nThis template is used for saving JavaScript tiddlers as a script tag with data attributes representing the tiddler fields.\n\n--&gt;`&lt;script`&lt;$fields template=' data-tiddler-$name$=\&quot;$encoded_value$\&quot;'&gt;&lt;/$fields&gt;` type=\&quot;text/javascript\&quot;&gt;`&lt;$view field=\&quot;text\&quot; format=\&quot;text\&quot; /&gt;`&lt;/script&gt;`&quot;
},
&quot;$:/core/templates/json-tiddler&quot;: {
&quot;title&quot;: &quot;$:/core/templates/json-tiddler&quot;,
&quot;text&quot;: &quot;&lt;!--\n\nThis template is used for saving tiddlers as raw JSON\n\n--&gt;&lt;$text text=&lt;&lt;jsontiddler&gt;&gt;/&gt;&quot;
},
&quot;$:/core/templates/module-tiddler&quot;: {
&quot;title&quot;: &quot;$:/core/templates/module-tiddler&quot;,
&quot;text&quot;: &quot;&lt;!--\n\nThis template is used for saving JavaScript tiddlers as a script tag with data attributes representing the tiddler fields. The body of the tiddler is wrapped in a call to the `$tw.modules.define` function in order to define the body of the tiddler as a module\n\n--&gt;`&lt;script`&lt;$fields template=' data-tiddler-$name$=\&quot;$encoded_value$\&quot;'&gt;&lt;/$fields&gt;` type=\&quot;text/javascript\&quot; data-module=\&quot;yes\&quot;&gt;$tw.modules.define(\&quot;`&lt;$view field=\&quot;title\&quot; format=\&quot;jsencoded\&quot; /&gt;`\&quot;,\&quot;`&lt;$view field=\&quot;module-type\&quot; format=\&quot;jsencoded\&quot; /&gt;`\&quot;,function(module,exports,require) {`&lt;$view field=\&quot;text\&quot; format=\&quot;text\&quot; /&gt;`});\n&lt;/script&gt;`&quot;
},
&quot;$:/core/templates/plain-text-tiddler&quot;: {
&quot;title&quot;: &quot;$:/core/templates/plain-text-tiddler&quot;,
&quot;text&quot;: &quot;&lt;$view field=\&quot;text\&quot; format=\&quot;text\&quot; /&gt;&quot;
},
&quot;$:/core/templates/raw-static-tiddler&quot;: {
&quot;title&quot;: &quot;$:/core/templates/raw-static-tiddler&quot;,
&quot;text&quot;: &quot;&lt;!--\n\nThis template is used for saving tiddlers as static HTML\n\n--&gt;&lt;$view field=\&quot;text\&quot; format=\&quot;plainwikified\&quot; /&gt;&quot;
},
&quot;$:/core/save/all&quot;: {
&quot;title&quot;: &quot;$:/core/save/all&quot;,
&quot;text&quot;: &quot;\\import [[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]\n\\define saveTiddlerFilter()\n[is[tiddler]] -[prefix[$:/state/popup/]] -[prefix[$:/temp/]] -[prefix[$:/HistoryList]] -[status[pending]plugin-type[import]] -[[$:/boot/boot.css]] -[type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] +[sort[title]] $(publishFilter)$\n\\end\n{{$:/core/templates/tiddlywiki5.html}}\n&quot;
},
&quot;$:/core/save/empty&quot;: {
&quot;title&quot;: &quot;$:/core/save/empty&quot;,
&quot;text&quot;: &quot;\\define saveTiddlerFilter()\n[is[system]] -[prefix[$:/state/popup/]] -[[$:/boot/boot.css]] -[type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] +[sort[title]]\n\\end\n{{$:/core/templates/tiddlywiki5.html}}\n&quot;
},
&quot;$:/core/save/lazy-all&quot;: {
&quot;title&quot;: &quot;$:/core/save/lazy-all&quot;,
&quot;text&quot;: &quot;\\define saveTiddlerFilter()\n[is[system]] -[prefix[$:/state/popup/]] -[[$:/HistoryList]] -[[$:/boot/boot.css]] -[type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] +[sort[title]] \n\\end\n\\define skinnySaveTiddlerFilter()\n[!is[system]]\n\\end\n{{$:/core/templates/tiddlywiki5.html}}\n&quot;
},
&quot;$:/core/save/lazy-images&quot;: {
&quot;title&quot;: &quot;$:/core/save/lazy-images&quot;,
&quot;text&quot;: &quot;\\define saveTiddlerFilter()\n[is[tiddler]] -[prefix[$:/state/popup/]] -[[$:/HistoryList]] -[[$:/boot/boot.css]] -[type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] -[!is[system]is[image]] +[sort[title]] \n\\end\n\\define skinnySaveTiddlerFilter()\n[is[image]]\n\\end\n{{$:/core/templates/tiddlywiki5.html}}\n&quot;
},
&quot;$:/core/templates/server/static.sidebar.wikitext&quot;: {
&quot;title&quot;: &quot;$:/core/templates/server/static.sidebar.wikitext&quot;,
&quot;text&quot;: &quot;\\whitespace trim\n&lt;div class=\&quot;tc-sidebar-scrollable\&quot; style=\&quot;overflow: auto;\&quot;&gt;\n&lt;div class=\&quot;tc-sidebar-header\&quot;&gt;\n&lt;h1 class=\&quot;tc-site-title\&quot;&gt;\n&lt;$transclude tiddler=\&quot;$:/SiteTitle\&quot;/&gt;\n&lt;/h1&gt;\n&lt;div class=\&quot;tc-site-subtitle\&quot;&gt;\n&lt;$transclude tiddler=\&quot;$:/SiteSubtitle\&quot;/&gt;\n&lt;/div&gt;\n&lt;h2&gt;\n&lt;/h2&gt;\n&lt;div class=\&quot;tc-sidebar-lists\&quot;&gt;\n&lt;$list filter={{$:/DefaultTiddlers}}&gt;\n&lt;div class=\&quot;tc-menu-list-subitem\&quot;&gt;\n&lt;$link&gt;&lt;$text text=&lt;&lt;currentTiddler&gt;&gt;/&gt;&lt;/$link&gt;\n&lt;/div&gt;\n&lt;/$list&gt;\n&lt;/div&gt;\n&lt;!-- Currently disabled the recent list as it is unweildy when the responsive narrow view kicks in\n&lt;h2&gt;\n{{$:/language/SideBar/Recent/Caption}}\n&lt;/h2&gt;\n&lt;div class=\&quot;tc-sidebar-lists\&quot;&gt;\n&lt;$macrocall $name=\&quot;timeline\&quot; format={{$:/language/RecentChanges/DateFormat}}/&gt;\n&lt;/div&gt;\n&lt;/div&gt;\n&lt;/div&gt;\n--&gt;\n&quot;
},
&quot;$:/core/templates/server/static.tiddler.html&quot;: {
&quot;title&quot;: &quot;$:/core/templates/server/static.tiddler.html&quot;,
&quot;text&quot;: &quot;\\whitespace trim\n\\define tv-wikilink-template() $uri_encoded$\n\\import [[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]\n&lt;html&gt;\n&lt;head&gt;\n&lt;meta http-equiv=\&quot;Content-Type\&quot; content=\&quot;text/html;charset=utf-8\&quot; /&gt;\n&lt;meta name=\&quot;generator\&quot; content=\&quot;TiddlyWiki\&quot; /&gt;\n&lt;meta name=\&quot;tiddlywiki-version\&quot; content={{$:/core/templates/version}} /&gt;\n&lt;meta name=\&quot;viewport\&quot; content=\&quot;width=device-width, initial-scale=1.0\&quot; /&gt;\n&lt;meta name=\&quot;apple-mobile-web-app-capable\&quot; content=\&quot;yes\&quot; /&gt;\n&lt;meta name=\&quot;apple-mobile-web-app-status-bar-style\&quot; content=\&quot;black-translucent\&quot; /&gt;\n&lt;meta name=\&quot;mobile-web-app-capable\&quot; content=\&quot;yes\&quot;/&gt;\n&lt;meta name=\&quot;format-detection\&quot; content=\&quot;telephone=no\&quot;&gt;\n&lt;link id=\&quot;faviconLink\&quot; rel=\&quot;shortcut icon\&quot; href=\&quot;favicon.ico\&quot;&gt;\n&lt;link rel=\&quot;stylesheet\&quot; href=\&quot;%24%3A%2Fcore%2Ftemplates%2Fstatic.template.css\&quot;&gt;\n&lt;title&gt;&lt;$view field=\&quot;caption\&quot; format=\&quot;plainwikified\&quot;&gt;&lt;$view field=\&quot;title\&quot;/&gt;&lt;/$view&gt;: &lt;$view tiddler=\&quot;$:/core/wiki/title\&quot; format=\&quot;plainwikified\&quot;/&gt;&lt;/title&gt;\n&lt;/head&gt;\n&lt;body class=\&quot;tc-body\&quot;&gt;\n&lt;$transclude tiddler=\&quot;$:/core/templates/server/static.sidebar.wikitext\&quot; mode=\&quot;inline\&quot;/&gt;\n&lt;section class=\&quot;tc-story-river\&quot;&gt;\n&lt;div class=\&quot;tc-tiddler-frame\&quot;&gt;\n&lt;$transclude tiddler=\&quot;$:/core/templates/server/static.tiddler.wikitext\&quot; mode=\&quot;inline\&quot;/&gt;\n&lt;/div&gt;\n&lt;/section&gt;\n&lt;/body&gt;\n&lt;/html&gt;&quot;
},
&quot;$:/core/templates/server/static.tiddler.wikitext&quot;: {
&quot;title&quot;: &quot;$:/core/templates/server/static.tiddler.wikitext&quot;,
&quot;text&quot;: &quot;\\whitespace trim\n&lt;div class=\&quot;tc-tiddler-title\&quot;&gt;\n&lt;div class=\&quot;tc-titlebar\&quot;&gt;\n&lt;h2&gt;&lt;$text text=&lt;&lt;currentTiddler&gt;&gt;/&gt;&lt;/h2&gt;\n&lt;/div&gt;\n&lt;/div&gt;\n&lt;div class=\&quot;tc-subtitle\&quot;&gt;\n&lt;$link to={{!!modifier}}&gt;\n&lt;$view field=\&quot;modifier\&quot;/&gt;\n&lt;/$link&gt; &lt;$view field=\&quot;modified\&quot; format=\&quot;date\&quot; template={{$:/language/Tiddler/DateFormat}}/&gt;\n&lt;/div&gt;\n&lt;div class=\&quot;tc-tags-wrapper\&quot;&gt;\n&lt;$list filter=\&quot;[all[current]tags[]sort[title]]\&quot;&gt;\n&lt;a href={{{ [&lt;currentTiddler&gt;encodeuricomponent[]] }}}&gt;\n&lt;$macrocall $name=\&quot;tag-pill\&quot; tag=&lt;&lt;currentTiddler&gt;&gt;/&gt;\n&lt;/a&gt;\n&lt;/$list&gt;\n&lt;/div&gt;\n&lt;div class=\&quot;tc-tiddler-body\&quot;&gt;\n&lt;$transclude mode=\&quot;block\&quot;/&gt;\n&lt;/div&gt;\n&quot;
},
&quot;$:/core/templates/single.tiddler.window&quot;: {
&quot;title&quot;: &quot;$:/core/templates/single.tiddler.window&quot;,
&quot;text&quot;: &quot;\\whitespace trim\n\\define containerClasses()\ntc-page-container tc-page-view-$(storyviewTitle)$ tc-language-$(languageTitle)$\n\\end\n\\import [[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]\n\n&lt;$vars\n\ttv-config-toolbar-icons={{$:/config/Toolbar/Icons}}\n\ttv-config-toolbar-text={{$:/config/Toolbar/Text}}\n\ttv-config-toolbar-class={{$:/config/Toolbar/ButtonClass}}\n\ttv-show-missing-links={{$:/config/MissingLinks}}\n\tstoryviewTitle={{$:/view}}\n\tlanguageTitle={{{ [{$:/language}get[name]] }}}&gt;\n\n&lt;div class=&lt;&lt;containerClasses&gt;&gt;&gt;\n\n&lt;$navigator story=\&quot;$:/StoryList\&quot; history=\&quot;$:/HistoryList\&quot;&gt;\n\n&lt;$transclude mode=\&quot;block\&quot;/&gt;\n\n&lt;/$navigator&gt;\n\n&lt;/div&gt;\n\n&lt;/$vars&gt;\n&quot;
},
&quot;$:/core/templates/split-recipe&quot;: {
&quot;title&quot;: &quot;$:/core/templates/split-recipe&quot;,
&quot;text&quot;: &quot;&lt;$list filter=\&quot;[!is[system]]\&quot;&gt;\ntiddler: &lt;$view field=\&quot;title\&quot; format=\&quot;urlencoded\&quot;/&gt;.tid\n&lt;/$list&gt;\n&quot;
},
&quot;$:/core/templates/static-tiddler&quot;: {
&quot;title&quot;: &quot;$:/core/templates/static-tiddler&quot;,
&quot;text&quot;: &quot;&lt;a name=&lt;&lt;currentTiddler&gt;&gt;&gt;\n&lt;$transclude tiddler=\&quot;$:/core/ui/ViewTemplate\&quot;/&gt;\n&lt;/a&gt;&quot;
},
&quot;$:/core/templates/static.area&quot;: {
&quot;title&quot;: &quot;$:/core/templates/static.area&quot;,
&quot;text&quot;: &quot;&lt;$reveal type=\&quot;nomatch\&quot; state=\&quot;$:/isEncrypted\&quot; text=\&quot;yes\&quot;&gt;\n{{{ [all[shadows+tiddlers]tag[$:/tags/RawStaticContent]!has[draft.of]] ||$:/core/templates/raw-static-tiddler}}}\n{{$:/core/templates/static.content||$:/core/templates/html-tiddler}}\n&lt;/$reveal&gt;\n&lt;$reveal type=\&quot;match\&quot; state=\&quot;$:/isEncrypted\&quot; text=\&quot;yes\&quot;&gt;\nThis file contains an encrypted ~TiddlyWiki. Enable ~JavaScript and enter the decryption password when prompted.\n&lt;/$reveal&gt;\n&lt;!-- ensure splash screen isn't shown when JS is disabled --&gt;\n`&lt;style&gt;\n.tc-remove-when-wiki-loaded {display: none;}\n&lt;/style&gt;`\n&quot;
},
&quot;$:/core/templates/static.content&quot;: {
&quot;title&quot;: &quot;$:/core/templates/static.content&quot;,
&quot;text&quot;: &quot;&lt;!-- For Google, and people without JavaScript--&gt;\nThis [[TiddlyWiki|https://tiddlywiki.com]] contains the following tiddlers:\n\n&lt;ul&gt;\n&lt;$list filter=&lt;&lt;saveTiddlerFilter&gt;&gt;&gt;\n&lt;li&gt;&lt;$view field=\&quot;title\&quot; format=\&quot;text\&quot;&gt;&lt;/$view&gt;&lt;/li&gt;\n&lt;/$list&gt;\n&lt;/ul&gt;\n&quot;
},
&quot;$:/core/templates/static.template.css&quot;: {
&quot;title&quot;: &quot;$:/core/templates/static.template.css&quot;,
&quot;text&quot;: &quot;{{$:/boot/boot.css||$:/core/templates/plain-text-tiddler}}\n\n{{$:/core/ui/PageStylesheet||$:/core/templates/wikified-tiddler}}\n&quot;
},
&quot;$:/core/templates/static.template.html&quot;: {
&quot;title&quot;: &quot;$:/core/templates/static.template.html&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki-html&quot;,
&quot;text&quot;: &quot;\\define tv-wikilink-template() static/$uri_doubleencoded$.html\n\\define tv-config-toolbar-icons() no\n\\define tv-config-toolbar-text() no\n\\define tv-config-toolbar-class() tc-btn-invisible\n\\rules only filteredtranscludeinline transcludeinline\n&lt;!doctype html&gt;\n&lt;html&gt;\n&lt;head&gt;\n&lt;meta http-equiv=\&quot;Content-Type\&quot; content=\&quot;text/html;charset=utf-8\&quot; /&gt;\n&lt;meta name=\&quot;generator\&quot; content=\&quot;TiddlyWiki\&quot; /&gt;\n&lt;meta name=\&quot;tiddlywiki-version\&quot; content=\&quot;{{$:/core/templates/version}}\&quot; /&gt;\n&lt;meta name=\&quot;viewport\&quot; content=\&quot;width=device-width, initial-scale=1.0\&quot; /&gt;\n&lt;meta name=\&quot;apple-mobile-web-app-capable\&quot; content=\&quot;yes\&quot; /&gt;\n&lt;meta name=\&quot;apple-mobile-web-app-status-bar-style\&quot; content=\&quot;black-translucent\&quot; /&gt;\n&lt;meta name=\&quot;mobile-web-app-capable\&quot; content=\&quot;yes\&quot;/&gt;\n&lt;meta name=\&quot;format-detection\&quot; content=\&quot;telephone=no\&quot;&gt;\n&lt;link id=\&quot;faviconLink\&quot; rel=\&quot;shortcut icon\&quot; href=\&quot;favicon.ico\&quot;&gt;\n&lt;title&gt;{{$:/core/wiki/title}}&lt;/title&gt;\n&lt;div id=\&quot;styleArea\&quot;&gt;\n{{$:/boot/boot.css||$:/core/templates/css-tiddler}}\n&lt;/div&gt;\n&lt;style type=\&quot;text/css\&quot;&gt;\n{{$:/core/ui/PageStylesheet||$:/core/templates/wikified-tiddler}}\n&lt;/style&gt;\n&lt;/head&gt;\n&lt;body class=\&quot;tc-body\&quot;&gt;\n{{$:/StaticBanner||$:/core/templates/html-tiddler}}\n{{$:/core/ui/PageTemplate||$:/core/templates/html-tiddler}}\n&lt;/body&gt;\n&lt;/html&gt;\n&quot;
},
&quot;$:/core/templates/static.tiddler.html&quot;: {
&quot;title&quot;: &quot;$:/core/templates/static.tiddler.html&quot;,
&quot;text&quot;: &quot;\\define tv-wikilink-template() $uri_doubleencoded$.html\n\\define tv-config-toolbar-icons() no\n\\define tv-config-toolbar-text() no\n\\define tv-config-toolbar-class() tc-btn-invisible\n\\import [[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]\n`&lt;!doctype html&gt;\n&lt;html&gt;\n&lt;head&gt;\n&lt;meta http-equiv=\&quot;Content-Type\&quot; content=\&quot;text/html;charset=utf-8\&quot; /&gt;\n&lt;meta name=\&quot;generator\&quot; content=\&quot;TiddlyWiki\&quot; /&gt;\n&lt;meta name=\&quot;tiddlywiki-version\&quot; content=\&quot;`{{$:/core/templates/version}}`\&quot; /&gt;\n&lt;meta name=\&quot;viewport\&quot; content=\&quot;width=device-width, initial-scale=1.0\&quot; /&gt;\n&lt;meta name=\&quot;apple-mobile-web-app-capable\&quot; content=\&quot;yes\&quot; /&gt;\n&lt;meta name=\&quot;apple-mobile-web-app-status-bar-style\&quot; content=\&quot;black-translucent\&quot; /&gt;\n&lt;meta name=\&quot;mobile-web-app-capable\&quot; content=\&quot;yes\&quot;/&gt;\n&lt;meta name=\&quot;format-detection\&quot; content=\&quot;telephone=no\&quot;&gt;\n&lt;link id=\&quot;faviconLink\&quot; rel=\&quot;shortcut icon\&quot; href=\&quot;favicon.ico\&quot;&gt;\n&lt;link rel=\&quot;stylesheet\&quot; href=\&quot;static.css\&quot;&gt;\n&lt;title&gt;`&lt;$view field=\&quot;caption\&quot;&gt;&lt;$view field=\&quot;title\&quot;/&gt;&lt;/$view&gt;: {{$:/core/wiki/title}}`&lt;/title&gt;\n&lt;/head&gt;\n&lt;body class=\&quot;tc-body\&quot;&gt;\n`{{$:/StaticBanner||$:/core/templates/html-tiddler}}`\n&lt;section class=\&quot;tc-story-river tc-static-story-river\&quot;&gt;\n`&lt;$view tiddler=\&quot;$:/core/ui/ViewTemplate\&quot; format=\&quot;htmlwikified\&quot;/&gt;`\n&lt;/section&gt;\n&lt;/body&gt;\n&lt;/html&gt;\n`\n&quot;
},
&quot;$:/core/templates/store.area.template.html&quot;: {
&quot;title&quot;: &quot;$:/core/templates/store.area.template.html&quot;,
&quot;text&quot;: &quot;&lt;$reveal type=\&quot;nomatch\&quot; state=\&quot;$:/isEncrypted\&quot; text=\&quot;yes\&quot;&gt;\n`&lt;div id=\&quot;storeArea\&quot; style=\&quot;display:none;\&quot;&gt;`\n&lt;$list filter=&lt;&lt;saveTiddlerFilter&gt;&gt; template=\&quot;$:/core/templates/html-div-tiddler\&quot;/&gt;\n&lt;$list filter={{{ [&lt;skinnySaveTiddlerFilter&gt;] }}} template=\&quot;$:/core/templates/html-div-skinny-tiddler\&quot;/&gt;\n`&lt;/div&gt;`\n&lt;/$reveal&gt;\n&lt;$reveal type=\&quot;match\&quot; state=\&quot;$:/isEncrypted\&quot; text=\&quot;yes\&quot;&gt;\n`&lt;!--~~ Encrypted tiddlers ~~--&gt;`\n`&lt;pre id=\&quot;encryptedStoreArea\&quot; type=\&quot;text/plain\&quot; style=\&quot;display:none;\&quot;&gt;`\n&lt;$encrypt filter=&lt;&lt;saveTiddlerFilter&gt;&gt;/&gt;\n`&lt;/pre&gt;`\n&lt;/$reveal&gt;&quot;
},
&quot;$:/core/templates/tid-tiddler&quot;: {
&quot;title&quot;: &quot;$:/core/templates/tid-tiddler&quot;,
&quot;text&quot;: &quot;&lt;!--\n\nThis template is used for saving tiddlers in TiddlyWeb *.tid format\n\n--&gt;&lt;$fields exclude='text bag' template='$name$: $value$\n'&gt;&lt;/$fields&gt;`\n`&lt;$view field=\&quot;text\&quot; format=\&quot;text\&quot; /&gt;&quot;
},
&quot;$:/core/templates/tiddler-metadata&quot;: {
&quot;title&quot;: &quot;$:/core/templates/tiddler-metadata&quot;,
&quot;text&quot;: &quot;&lt;!--\n\nThis template is used for saving tiddler metadata *.meta files\n\n--&gt;&lt;$fields exclude='text bag' template='$name$: $value$\n'&gt;&lt;/$fields&gt;&quot;
},
&quot;$:/core/templates/tiddlywiki5.html&quot;: {
&quot;title&quot;: &quot;$:/core/templates/tiddlywiki5.html&quot;,
&quot;text&quot;: &quot;&lt;$set name=\&quot;saveTiddlerAndShadowsFilter\&quot; filter=\&quot;[subfilter&lt;saveTiddlerFilter&gt;] [subfilter&lt;saveTiddlerFilter&gt;plugintiddlers[]]\&quot;&gt;\n`&lt;!doctype html&gt;\n`{{$:/core/templates/MOTW.html}}`&lt;html lang=\&quot;`&lt;$text text={{{ [{$:/language}get[name]] }}}/&gt;`\&quot;&gt;\n&lt;head&gt;\n&lt;meta http-equiv=\&quot;Content-Type\&quot; content=\&quot;text/html;charset=utf-8\&quot; /&gt;\n&lt;!--~~ Raw markup for the top of the head section ~~--&gt;\n`{{{ [&lt;saveTiddlerAndShadowsFilter&gt;tag[$:/tags/RawMarkupWikified/TopHead]] ||$:/core/templates/raw-static-tiddler}}}`\n&lt;meta http-equiv=\&quot;X-UA-Compatible\&quot; content=\&quot;IE=Edge\&quot;/&gt;\n&lt;meta name=\&quot;application-name\&quot; content=\&quot;TiddlyWiki\&quot; /&gt;\n&lt;meta name=\&quot;generator\&quot; content=\&quot;TiddlyWiki\&quot; /&gt;\n&lt;meta name=\&quot;tiddlywiki-version\&quot; content=\&quot;`{{$:/core/templates/version}}`\&quot; /&gt;\n&lt;meta name=\&quot;viewport\&quot; content=\&quot;width=device-width, initial-scale=1.0\&quot; /&gt;\n&lt;meta name=\&quot;apple-mobile-web-app-capable\&quot; content=\&quot;yes\&quot; /&gt;\n&lt;meta name=\&quot;apple-mobile-web-app-status-bar-style\&quot; content=\&quot;black-translucent\&quot; /&gt;\n&lt;meta name=\&quot;mobile-web-app-capable\&quot; content=\&quot;yes\&quot;/&gt;\n&lt;meta name=\&quot;format-detection\&quot; content=\&quot;telephone=no\&quot; /&gt;\n&lt;meta name=\&quot;copyright\&quot; content=\&quot;`{{$:/core/copyright.txt}}`\&quot; /&gt;\n&lt;link id=\&quot;faviconLink\&quot; rel=\&quot;shortcut icon\&quot; href=\&quot;favicon.ico\&quot;&gt;\n&lt;title&gt;`{{$:/core/wiki/title}}`&lt;/title&gt;\n&lt;!--~~ This is a Tiddlywiki file. The points of interest in the file are marked with this pattern ~~--&gt;\n\n&lt;!--~~ Raw markup ~~--&gt;\n`{{{ [enlist&lt;saveTiddlerAndShadowsFilter&gt;tag[$:/core/wiki/rawmarkup]] ||$:/core/templates/plain-text-tiddler}}}\n{{{ [enlist&lt;saveTiddlerAndShadowsFilter&gt;tag[$:/tags/RawMarkup]] ||$:/core/templates/plain-text-tiddler}}}\n{{{ [enlist&lt;saveTiddlerAndShadowsFilter&gt;tag[$:/tags/RawMarkupWikified]] ||$:/core/templates/raw-static-tiddler}}}`\n&lt;/head&gt;\n&lt;body class=\&quot;tc-body\&quot;&gt;\n&lt;!--~~ Raw markup for the top of the body section ~~--&gt;\n`{{{ [enlist&lt;saveTiddlerAndShadowsFilter&gt;tag[$:/tags/RawMarkupWikified/TopBody]] ||$:/core/templates/raw-static-tiddler}}}`\n&lt;!--~~ Static styles ~~--&gt;\n&lt;div id=\&quot;styleArea\&quot;&gt;\n`{{$:/boot/boot.css||$:/core/templates/css-tiddler}}`\n&lt;/div&gt;\n&lt;!--~~ Static content for Google and browsers without JavaScript ~~--&gt;\n&lt;noscript&gt;\n&lt;div id=\&quot;splashArea\&quot;&gt;\n`{{$:/core/templates/static.area}}`\n&lt;/div&gt;\n&lt;/noscript&gt;\n&lt;!--~~ Ordinary tiddlers ~~--&gt;\n`{{$:/core/templates/store.area.template.html}}`\n&lt;!--~~ Library modules ~~--&gt;\n&lt;div id=\&quot;libraryModules\&quot; style=\&quot;display:none;\&quot;&gt;\n`{{{ [is[system]type[application/javascript]library[yes]] ||$:/core/templates/javascript-tiddler}}}`\n&lt;/div&gt;\n&lt;!--~~ Boot kernel prologue ~~--&gt;\n&lt;div id=\&quot;bootKernelPrefix\&quot; style=\&quot;display:none;\&quot;&gt;\n`{{ $:/boot/bootprefix.js ||$:/core/templates/javascript-tiddler}}`\n&lt;/div&gt;\n&lt;!--~~ Boot kernel ~~--&gt;\n&lt;div id=\&quot;bootKernel\&quot; style=\&quot;display:none;\&quot;&gt;\n`{{ $:/boot/boot.js ||$:/core/templates/javascript-tiddler}}`\n&lt;/div&gt;\n&lt;!--~~ Raw markup for the bottom of the body section ~~--&gt;\n`{{{ [enlist&lt;saveTiddlerAndShadowsFilter&gt;tag[$:/tags/RawMarkupWikified/BottomBody]] ||$:/core/templates/raw-static-tiddler}}}`\n&lt;/body&gt;\n&lt;/html&gt;`\n&quot;
},
&quot;$:/core/templates/version&quot;: {
&quot;title&quot;: &quot;$:/core/templates/version&quot;,
&quot;text&quot;: &quot;&lt;&lt;version&gt;&gt;&quot;
},
&quot;$:/core/templates/wikified-tiddler&quot;: {
&quot;title&quot;: &quot;$:/core/templates/wikified-tiddler&quot;,
&quot;text&quot;: &quot;&lt;$transclude /&gt;&quot;
},
&quot;$:/core/ui/AboveStory/tw2-plugin-check&quot;: {
&quot;title&quot;: &quot;$:/core/ui/AboveStory/tw2-plugin-check&quot;,
&quot;tags&quot;: &quot;$:/tags/AboveStory&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/AboveStory/ClassicPlugin/\n&lt;$list filter=\&quot;[all[system+tiddlers]tag[systemConfig]limit[1]]\&quot;&gt;\n\n&lt;div class=\&quot;tc-message-box\&quot;&gt;\n\n&lt;&lt;lingo Warning&gt;&gt;\n\n&lt;ul&gt;\n\n&lt;$list filter=\&quot;[all[system+tiddlers]tag[systemConfig]]\&quot;&gt;\n\n&lt;li&gt;\n\n&lt;$link&gt;&lt;$view field=\&quot;title\&quot;/&gt;&lt;/$link&gt;\n\n&lt;/li&gt;\n\n&lt;/$list&gt;\n\n&lt;/ul&gt;\n\n&lt;/div&gt;\n\n&lt;/$list&gt;\n&quot;
},
&quot;$:/core/ui/Actions/new-image&quot;: {
&quot;title&quot;: &quot;$:/core/ui/Actions/new-image&quot;,
&quot;tags&quot;: &quot;$:/tags/Actions&quot;,
&quot;description&quot;: &quot;create a new image tiddler&quot;,
&quot;text&quot;: &quot;\\define get-type()\nimage/$(imageType)$\n\\end\n\\define get-tags() $(textFieldTags)$ $(tagsFieldTags)$\n&lt;$vars imageType={{$:/config/NewImageType}} textFieldTags={{$:/config/NewJournal/Tags}} tagsFieldTags={{$:/config/NewJournal/Tags!!tags}}&gt;\n&lt;$action-sendmessage $message=\&quot;tm-new-tiddler\&quot; type=&lt;&lt;get-type&gt;&gt; tags=&lt;&lt;get-tags&gt;&gt;/&gt;\n&lt;/$vars&gt;\n&quot;
},
&quot;$:/core/ui/Actions/new-journal&quot;: {
&quot;title&quot;: &quot;$:/core/ui/Actions/new-journal&quot;,
&quot;tags&quot;: &quot;$:/tags/Actions&quot;,
&quot;description&quot;: &quot;create a new journal tiddler&quot;,
&quot;text&quot;: &quot;\\define get-tags() $(textFieldTags)$ $(tagsFieldTags)$\n&lt;$vars journalTitleTemplate={{$:/config/NewJournal/Title}} textFieldTags={{$:/config/NewJournal/Tags}} tagsFieldTags={{$:/config/NewJournal/Tags!!tags}} journalText={{$:/config/NewJournal/Text}}&gt;\n&lt;$wikify name=\&quot;journalTitle\&quot; text=\&quot;\&quot;\&quot;&lt;$macrocall $name=\&quot;now\&quot; format=&lt;&lt;journalTitleTemplate&gt;&gt;/&gt;\&quot;\&quot;\&quot;&gt;\n&lt;$reveal type=\&quot;nomatch\&quot; state=&lt;&lt;journalTitle&gt;&gt; text=\&quot;\&quot;&gt;\n&lt;$action-sendmessage $message=\&quot;tm-new-tiddler\&quot; title=&lt;&lt;journalTitle&gt;&gt; tags=&lt;&lt;get-tags&gt;&gt; text={{{ [&lt;journalTitle&gt;get[]] }}}/&gt;\n&lt;/$reveal&gt;\n&lt;$reveal type=\&quot;match\&quot; state=&lt;&lt;journalTitle&gt;&gt; text=\&quot;\&quot;&gt;\n&lt;$action-sendmessage $message=\&quot;tm-new-tiddler\&quot; title=&lt;&lt;journalTitle&gt;&gt; tags=&lt;&lt;get-tags&gt;&gt; text=&lt;&lt;journalText&gt;&gt;/&gt;\n&lt;/$reveal&gt;\n&lt;/$wikify&gt;\n&lt;/$vars&gt;\n&quot;
},
&quot;$:/core/ui/Actions/new-tiddler&quot;: {
&quot;title&quot;: &quot;$:/core/ui/Actions/new-tiddler&quot;,
&quot;tags&quot;: &quot;$:/tags/Actions&quot;,
&quot;description&quot;: &quot;create a new empty tiddler&quot;,
&quot;text&quot;: &quot;\\define get-tags() $(textFieldTags)$ $(tagsFieldTags)$\n&lt;$vars textFieldTags={{$:/config/NewTiddler/Tags}} tagsFieldTags={{$:/config/NewTiddler/Tags!!tags}}&gt;\n&lt;$action-sendmessage $message=\&quot;tm-new-tiddler\&quot; tags=&lt;&lt;get-tags&gt;&gt;/&gt;\n&lt;/$vars&gt;\n&quot;
},
&quot;$:/core/ui/AdvancedSearch/Filter&quot;: {
&quot;title&quot;: &quot;$:/core/ui/AdvancedSearch/Filter&quot;,
&quot;tags&quot;: &quot;$:/tags/AdvancedSearch&quot;,
&quot;caption&quot;: &quot;{{$:/language/Search/Filter/Caption}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/Search/\n\\define set-next-input-tab(beforeafter:\&quot;after\&quot;) &lt;$macrocall $name=\&quot;change-input-tab\&quot; stateTitle=\&quot;$:/state/tab--1498284803\&quot; tag=\&quot;$:/tags/AdvancedSearch\&quot; beforeafter=\&quot;$beforeafter$\&quot; defaultState=\&quot;$:/core/ui/AdvancedSearch/System\&quot; actions=\&quot;\&quot;\&quot;&lt;$action-setfield $tiddler=\&quot;$:/state/advancedsearch/currentTab\&quot; text=&lt;&lt;nextTab&gt;&gt;/&gt;\&quot;\&quot;\&quot;/&gt;\n\n\\define cancel-search-actions() &lt;$list filter=\&quot;[{$:/temp/advancedsearch/input}!match{$:/temp/advancedsearch}]\&quot; emptyMessage=\&quot;\&quot;\&quot;&lt;$action-deletetiddler $filter=\&quot;[[$:/temp/advancedsearch]] [[$:/temp/advancedsearch/input]] [[$:/temp/advancedsearch/selected-item]]\&quot; /&gt;\&quot;\&quot;\&quot;&gt;&lt;$action-setfield $tiddler=\&quot;$:/temp/advancedsearch/input\&quot; text={{$:/temp/advancedsearch}}/&gt;&lt;$action-setfield $tiddler=\&quot;$:/temp/advancedsearch/refresh\&quot; text=\&quot;yes\&quot;/&gt;&lt;/$list&gt;\n\n\\define input-accept-actions() &lt;$list filter=\&quot;[{$:/config/Search/NavigateOnEnter/enable}match[yes]]\&quot; emptyMessage=\&quot;\&quot;\&quot;&lt;$list filter=\&quot;[&lt;__tiddler__&gt;get[text]!is[missing]] ~[&lt;__tiddler__&gt;get[text]is[shadow]]\&quot;&gt;&lt;$action-navigate $to={{{ [&lt;__tiddler__&gt;get[text]] }}}/&gt;&lt;/$list&gt;\&quot;\&quot;\&quot;&gt;&lt;$action-navigate $to={{{ [&lt;__tiddler__&gt;get[text]] }}}/&gt;&lt;/$list&gt;\n\n\\define input-accept-variant-actions() &lt;$list filter=\&quot;[{$:/config/Search/NavigateOnEnter/enable}match[yes]]\&quot; emptyMessage=\&quot;\&quot;\&quot;&lt;$list filter=\&quot;[&lt;__tiddler__&gt;get[text]!is[missing]] ~[&lt;__tiddler__&gt;get[text]is[shadow]]\&quot;&gt;&lt;$list filter=\&quot;[&lt;__tiddler__&gt;get[text]minlength[1]]\&quot;&gt;&lt;$action-sendmessage $message=\&quot;tm-edit-tiddler\&quot; $param={{{ [&lt;__tiddler__&gt;get[text]] }}}/&gt;&lt;/$list&gt;&lt;/$list&gt;\&quot;\&quot;\&quot;&gt;&lt;$list filter=\&quot;[&lt;__tiddler__&gt;get[text]minlength[1]]\&quot;&gt;&lt;$action-sendmessage $message=\&quot;tm-edit-tiddler\&quot; $param={{{ [&lt;__tiddler__&gt;get[text]] }}}/&gt;&lt;/$list&gt;&lt;/$list&gt;\n\n&lt;&lt;lingo Filter/Hint&gt;&gt;\n\n&lt;div class=\&quot;tc-search tc-advanced-search\&quot;&gt;\n&lt;$keyboard key=\&quot;((input-tab-right))\&quot; actions=&lt;&lt;set-next-input-tab&gt;&gt;&gt;\n&lt;$keyboard key=\&quot;((input-tab-left))\&quot; actions=&lt;&lt;set-next-input-tab \&quot;before\&quot;&gt;&gt;&gt;\n&lt;$macrocall $name=\&quot;keyboard-driven-input\&quot; tiddler=\&quot;$:/temp/advancedsearch/input\&quot; storeTitle=\&quot;$:/temp/advancedsearch\&quot; \n\t\trefreshTitle=\&quot;$:/temp/advancedsearch/refresh\&quot; selectionStateTitle=\&quot;$:/temp/advancedsearch/selected-item\&quot; type=\&quot;search\&quot; \n\t\ttag=\&quot;input\&quot; focus={{$:/config/Search/AutoFocus}} configTiddlerFilter=\&quot;[[$:/temp/advancedsearch]]\&quot; firstSearchFilterField=\&quot;text\&quot; \n\t\tinputAcceptActions=&lt;&lt;input-accept-actions&gt;&gt; inputAcceptVariantActions=&lt;&lt;input-accept-variant-actions&gt;&gt; \n\t\tinputCancelActions=&lt;&lt;cancel-search-actions&gt;&gt;/&gt;\n&lt;/$keyboard&gt;\n&lt;/$keyboard&gt;\n&lt;$list filter=\&quot;[all[shadows+tiddlers]tag[$:/tags/AdvancedSearch/FilterButton]!has[draft.of]]\&quot;&gt;&lt;$transclude/&gt;&lt;/$list&gt;\n&lt;/div&gt;\n\n&lt;$reveal state=\&quot;$:/temp/advancedsearch\&quot; type=\&quot;nomatch\&quot; text=\&quot;\&quot;&gt;\n&lt;$set name=\&quot;resultCount\&quot; value=\&quot;\&quot;\&quot;&lt;$count filter={{$:/temp/advancedsearch}}/&gt;\&quot;\&quot;\&quot;&gt;\n&lt;div class=\&quot;tc-search-results\&quot;&gt;\n&lt;&lt;lingo Filter/Matches&gt;&gt;\n&lt;$list filter={{$:/temp/advancedsearch}}&gt;\n&lt;span class={{{[&lt;currentTiddler&gt;addsuffix[-primaryList]] -[[$:/temp/advancedsearch/selected-item]get[text]] +[then[]else[tc-list-item-selected]] }}}&gt;\n&
},
&quot;$:/core/ui/AdvancedSearch/Filter/FilterButtons/clear&quot;: {
&quot;title&quot;: &quot;$:/core/ui/AdvancedSearch/Filter/FilterButtons/clear&quot;,
&quot;tags&quot;: &quot;$:/tags/AdvancedSearch/FilterButton&quot;,
&quot;text&quot;: &quot;&lt;$reveal state=\&quot;$:/temp/advancedsearch\&quot; type=\&quot;nomatch\&quot; text=\&quot;\&quot;&gt;\n&lt;$button class=\&quot;tc-btn-invisible\&quot;&gt;\n&lt;&lt;cancel-search-actions&gt;&gt;\n&lt;$action-sendmessage $message=\&quot;tm-focus-selector\&quot; $param=\&quot;\&quot;\&quot;.tc-advanced-search input\&quot;\&quot;\&quot; /&gt;\n{{$:/core/images/close-button}}\n&lt;/$button&gt;\n&lt;/$reveal&gt;\n&quot;
},
&quot;$:/core/ui/AdvancedSearch/Filter/FilterButtons/delete&quot;: {
&quot;title&quot;: &quot;$:/core/ui/AdvancedSearch/Filter/FilterButtons/delete&quot;,
&quot;tags&quot;: &quot;$:/tags/AdvancedSearch/FilterButton&quot;,
&quot;text&quot;: &quot;&lt;$reveal state=\&quot;$:/temp/advancedsearch\&quot; type=\&quot;nomatch\&quot; text=\&quot;\&quot;&gt;\n&lt;$button popup=&lt;&lt;qualify \&quot;$:/state/filterDeleteDropdown\&quot;&gt;&gt; class=\&quot;tc-btn-invisible\&quot;&gt;\n{{$:/core/images/delete-button}}\n&lt;/$button&gt;\n&lt;/$reveal&gt;\n\n&lt;$reveal state=&lt;&lt;qualify \&quot;$:/state/filterDeleteDropdown\&quot;&gt;&gt; type=\&quot;popup\&quot; position=\&quot;belowleft\&quot; animate=\&quot;yes\&quot;&gt;\n&lt;div class=\&quot;tc-block-dropdown-wrapper\&quot;&gt;\n&lt;div class=\&quot;tc-block-dropdown tc-edit-type-dropdown\&quot;&gt;\n&lt;div class=\&quot;tc-dropdown-item-plain\&quot;&gt;\n&lt;$set name=\&quot;resultCount\&quot; value=\&quot;\&quot;\&quot;&lt;$count filter={{$:/temp/advancedsearch}}/&gt;\&quot;\&quot;\&quot;&gt;\nAre you sure you wish to delete &lt;&lt;resultCount&gt;&gt; tiddler(s)?\n&lt;/$set&gt;\n&lt;/div&gt;\n&lt;div class=\&quot;tc-dropdown-item-plain\&quot;&gt;\n&lt;$button class=\&quot;tc-btn\&quot;&gt;\n&lt;$action-deletetiddler $filter={{$:/temp/advancedsearch}}/&gt;\nDelete these tiddlers\n&lt;/$button&gt;\n&lt;/div&gt;\n&lt;/div&gt;\n&lt;/div&gt;\n&lt;/$reveal&gt;\n&quot;
},
&quot;$:/core/ui/AdvancedSearch/Filter/FilterButtons/dropdown&quot;: {
&quot;title&quot;: &quot;$:/core/ui/AdvancedSearch/Filter/FilterButtons/dropdown&quot;,
&quot;tags&quot;: &quot;$:/tags/AdvancedSearch/FilterButton&quot;,
&quot;text&quot;: &quot;&lt;span class=\&quot;tc-popup-keep\&quot;&gt;\n&lt;$button popup=&lt;&lt;qualify \&quot;$:/state/filterDropdown\&quot;&gt;&gt; class=\&quot;tc-btn-invisible\&quot;&gt;\n{{$:/core/images/down-arrow}}\n&lt;/$button&gt;\n&lt;/span&gt;\n\n&lt;$reveal state=&lt;&lt;qualify \&quot;$:/state/filterDropdown\&quot;&gt;&gt; type=\&quot;popup\&quot; position=\&quot;belowleft\&quot; animate=\&quot;yes\&quot;&gt;\n&lt;$set name=\&quot;tv-show-missing-links\&quot; value=\&quot;yes\&quot;&gt;\n&lt;$linkcatcher actions=\&quot;\&quot;\&quot;&lt;$action-setfield $tiddler=\&quot;$:/temp/advancedsearch\&quot; text=&lt;&lt;navigateTo&gt;&gt;/&gt;&lt;$action-setfield $tiddler=\&quot;$:/temp/advancedsearch/input\&quot; text=&lt;&lt;navigateTo&gt;&gt;/&gt;&lt;$action-setfield $tiddler=\&quot;$:/temp/advancedsearch/refresh\&quot; text=\&quot;yes\&quot;/&gt;&lt;$action-sendmessage $message=\&quot;tm-focus-selector\&quot; $param='.tc-advanced-search input' /&gt;\&quot;\&quot;\&quot;&gt;\n&lt;div class=\&quot;tc-block-dropdown-wrapper\&quot;&gt;\n&lt;div class=\&quot;tc-block-dropdown tc-edit-type-dropdown\&quot;&gt;\n&lt;$list filter=\&quot;[all[shadows+tiddlers]tag[$:/tags/Filter]]\&quot;&gt;&lt;$link to={{!!filter}}&gt;&lt;$transclude field=\&quot;description\&quot;/&gt;&lt;/$link&gt;\n&lt;/$list&gt;\n&lt;/div&gt;\n&lt;/div&gt;\n&lt;/$linkcatcher&gt;\n&lt;/$set&gt;\n&lt;/$reveal&gt;\n&quot;
},
&quot;$:/core/ui/AdvancedSearch/Filter/FilterButtons/export&quot;: {
&quot;title&quot;: &quot;$:/core/ui/AdvancedSearch/Filter/FilterButtons/export&quot;,
&quot;tags&quot;: &quot;$:/tags/AdvancedSearch/FilterButton&quot;,
&quot;text&quot;: &quot;&lt;$reveal state=\&quot;$:/temp/advancedsearch\&quot; type=\&quot;nomatch\&quot; text=\&quot;\&quot;&gt;\n&lt;$macrocall $name=\&quot;exportButton\&quot; exportFilter={{$:/temp/advancedsearch}} lingoBase=\&quot;$:/language/Buttons/ExportTiddlers/\&quot;/&gt;\n&lt;/$reveal&gt;\n&quot;
},
&quot;$:/core/ui/AdvancedSearch/Shadows&quot;: {
&quot;title&quot;: &quot;$:/core/ui/AdvancedSearch/Shadows&quot;,
&quot;tags&quot;: &quot;$:/tags/AdvancedSearch&quot;,
&quot;caption&quot;: &quot;{{$:/language/Search/Shadows/Caption}}&quot;,
&quot;first-search-filter&quot;: &quot;[all[shadows]search&lt;userInput&gt;sort[title]limit[250]] -[[$:/temp/advancedsearch]] -[[$:/temp/advancedsearch/input]]&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/Search/\n\n\\define set-next-input-tab(beforeafter:\&quot;after\&quot;) &lt;$macrocall $name=\&quot;change-input-tab\&quot; stateTitle=\&quot;$:/state/tab--1498284803\&quot; tag=\&quot;$:/tags/AdvancedSearch\&quot; beforeafter=\&quot;$beforeafter$\&quot; defaultState=\&quot;$:/core/ui/AdvancedSearch/System\&quot; actions=\&quot;\&quot;\&quot;&lt;$action-setfield $tiddler=\&quot;$:/state/advancedsearch/currentTab\&quot; text=&lt;&lt;nextTab&gt;&gt;/&gt;\&quot;\&quot;\&quot;/&gt;\n\n\\define cancel-search-actions() &lt;$list filter=\&quot;[{$:/temp/advancedsearch}!match{$:/temp/advancedsearch/input}]\&quot; emptyMessage=\&quot;\&quot;\&quot;&lt;$action-deletetiddler $filter=\&quot;[[$:/temp/advancedsearch]] [[$:/temp/advancedsearch/input]] [[$:/temp/advancedsearch/selected-item]]\&quot; /&gt;\&quot;\&quot;\&quot;&gt;&lt;$action-setfield $tiddler=\&quot;$:/temp/advancedsearch/input\&quot; text={{$:/temp/advancedsearch}}/&gt;&lt;$action-setfield $tiddler=\&quot;$:/temp/advancedsearch/refresh\&quot; text=\&quot;yes\&quot;/&gt;&lt;/$list&gt;&lt;$action-sendmessage $message=\&quot;tm-focus-selector\&quot; $param=\&quot;\&quot;\&quot;.tc-advanced-search input\&quot;\&quot;\&quot;/&gt;\n\n\\define input-accept-actions() &lt;$list filter=\&quot;[{$:/config/Search/NavigateOnEnter/enable}match[yes]]\&quot; emptyMessage=\&quot;\&quot;\&quot;&lt;$list filter=\&quot;[&lt;__tiddler__&gt;get[text]!is[missing]] ~[&lt;__tiddler__&gt;get[text]is[shadow]]\&quot;&gt;&lt;$action-navigate $to={{{ [&lt;__tiddler__&gt;get[text]] }}}/&gt;&lt;/$list&gt;\&quot;\&quot;\&quot;&gt;&lt;$action-navigate $to={{{ [&lt;__tiddler__&gt;get[text]] }}}/&gt;&lt;/$list&gt;\n\n\\define input-accept-variant-actions() &lt;$list filter=\&quot;[{$:/config/Search/NavigateOnEnter/enable}match[yes]]\&quot; emptyMessage=\&quot;\&quot;\&quot;&lt;$list filter=\&quot;[&lt;__tiddler__&gt;get[text]!is[missing]] ~[&lt;__tiddler__&gt;get[text]is[shadow]]\&quot;&gt;&lt;$list filter=\&quot;[&lt;__tiddler__&gt;get[text]minlength[1]]\&quot;&gt;&lt;$action-sendmessage $message=\&quot;tm-edit-tiddler\&quot; $param={{{ [&lt;__tiddler__&gt;get[text]] }}}/&gt;&lt;/$list&gt;&lt;/$list&gt;\&quot;\&quot;\&quot;&gt;&lt;$list filter=\&quot;[&lt;__tiddler__&gt;get[text]minlength[1]]\&quot;&gt;&lt;$action-sendmessage $message=\&quot;tm-edit-tiddler\&quot; $param={{{ [&lt;__tiddler__&gt;get[text]] }}}/&gt;&lt;/$list&gt;&lt;/$list&gt;\n\n&lt;&lt;lingo Shadows/Hint&gt;&gt;\n\n&lt;div class=\&quot;tc-search\&quot;&gt;\n&lt;$keyboard key=\&quot;((input-tab-right))\&quot; actions=&lt;&lt;set-next-input-tab&gt;&gt;&gt;\n&lt;$keyboard key=\&quot;((input-tab-left))\&quot; actions=&lt;&lt;set-next-input-tab \&quot;before\&quot;&gt;&gt;&gt;\n&lt;$macrocall $name=\&quot;keyboard-driven-input\&quot; tiddler=\&quot;$:/temp/advancedsearch/input\&quot; storeTitle=\&quot;$:/temp/advancedsearch\&quot;\n\t\trefreshTitle=\&quot;$:/temp/advancedsearch/refresh\&quot; selectionStateTitle=\&quot;$:/temp/advancedsearch/selected-item\&quot; type=\&quot;search\&quot;\n\t\ttag=\&quot;input\&quot; focus={{$:/config/Search/AutoFocus}} configTiddlerFilter=\&quot;[[$:/core/ui/AdvancedSearch/Shadows]]\&quot;\n\t\tinputCancelActions=&lt;&lt;cancel-search-actions&gt;&gt; inputAcceptActions=&lt;&lt;input-accept-actions&gt;&gt; \n\t\tinputAcceptVariantActions=&lt;&lt;input-accept-variant-actions&gt;&gt; filterMinLength={{$:/config/Search/MinLength}}/&gt;\n&lt;/$keyboard&gt;\n&lt;/$keyboard&gt;\n&lt;$reveal state=\&quot;$:/temp/advancedsearch\&quot; type=\&quot;nomatch\&quot; text=\&quot;\&quot;&gt;\n&lt;$button class=\&quot;tc-btn-invisible\&quot;&gt;\n&lt;&lt;cancel-search-actions&gt;&gt;\n{{$:/core/images/close-button}}\n&lt;/$button&gt;\n&lt;/$reveal&gt;\n&lt;/div&gt;\n\n&lt;$reveal state=\&quot;$:/temp/advancedsearch\&quot; type=\&quot;nomatch\&quot; text=\&quot;\&quot;&gt;\n\n&lt;$list filter=\&quot;[{$:/temp/advancedsearch}minlength{$:/config/Search/MinLength}limit[1]]\&quot; emptyMessage=\&quot;\&quot;\&quot;&lt;div class=\&quot;tc-search-results\&quo
},
&quot;$:/core/ui/AdvancedSearch/Standard&quot;: {
&quot;title&quot;: &quot;$:/core/ui/AdvancedSearch/Standard&quot;,
&quot;tags&quot;: &quot;$:/tags/AdvancedSearch&quot;,
&quot;caption&quot;: &quot;{{$:/language/Search/Standard/Caption}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/Search/\n\\define set-next-input-tab(beforeafter:\&quot;after\&quot;) &lt;$macrocall $name=\&quot;change-input-tab\&quot; stateTitle=\&quot;$:/state/tab--1498284803\&quot; tag=\&quot;$:/tags/AdvancedSearch\&quot; beforeafter=\&quot;$beforeafter$\&quot; defaultState=\&quot;$:/core/ui/AdvancedSearch/System\&quot; actions=\&quot;\&quot;\&quot;&lt;$action-setfield $tiddler=\&quot;$:/state/advancedsearch/currentTab\&quot; text=&lt;&lt;nextTab&gt;&gt;/&gt;\&quot;\&quot;\&quot;/&gt;\n\n\\define next-search-tab(beforeafter:\&quot;after\&quot;) &lt;$macrocall $name=\&quot;change-input-tab\&quot; stateTitle=\&quot;$:/state/tab/search-results/advancedsearch\&quot; tag=\&quot;$:/tags/SearchResults\&quot; beforeafter=\&quot;$beforeafter$\&quot; defaultState={{$:/config/SearchResults/Default}} actions=\&quot;\&quot;\&quot;&lt;$action-setfield $tiddler=\&quot;$:/state/advancedsearch/standard/currentTab\&quot; text=&lt;&lt;nextTab&gt;&gt;/&gt;\&quot;\&quot;\&quot;/&gt;\n\n\\define cancel-search-actions() &lt;$list filter=\&quot;[{$:/temp/advancedsearch}!match{$:/temp/advancedsearch/input}]\&quot; emptyMessage=\&quot;\&quot;\&quot;&lt;$action-deletetiddler $filter=\&quot;[[$:/temp/advancedsearch]] [[$:/temp/advancedsearch/input]] [[$:/temp/advancedsearch/selected-item]]\&quot; /&gt;\&quot;\&quot;\&quot;&gt;&lt;$action-setfield $tiddler=\&quot;$:/temp/advancedsearch/input\&quot; text={{$:/temp/advancedsearch}}/&gt;&lt;$action-setfield $tiddler=\&quot;$:/temp/advancedsearch/refresh\&quot; text=\&quot;yes\&quot;/&gt;&lt;/$list&gt;&lt;$action-sendmessage $message=\&quot;tm-focus-selector\&quot; $param=\&quot;\&quot;\&quot;.tc-advanced-search input\&quot;\&quot;\&quot;/&gt;\n\n\\define input-accept-actions() &lt;$list filter=\&quot;[{$:/config/Search/NavigateOnEnter/enable}match[yes]]\&quot; emptyMessage=\&quot;\&quot;\&quot;&lt;$list filter=\&quot;[&lt;__tiddler__&gt;get[text]!is[missing]] ~[&lt;__tiddler__&gt;get[text]is[shadow]]\&quot;&gt;&lt;$action-navigate $to={{{ [&lt;__tiddler__&gt;get[text]] }}}/&gt;&lt;/$list&gt;\&quot;\&quot;\&quot;&gt;&lt;$action-navigate $to={{{ [&lt;__tiddler__&gt;get[text]] }}}/&gt;&lt;/$list&gt;\n\n\\define input-accept-variant-actions() &lt;$list filter=\&quot;[{$:/config/Search/NavigateOnEnter/enable}match[yes]]\&quot; emptyMessage=\&quot;\&quot;\&quot;&lt;$list filter=\&quot;[&lt;__tiddler__&gt;get[text]!is[missing]] ~[&lt;__tiddler__&gt;get[text]is[shadow]]\&quot;&gt;&lt;$list filter=\&quot;[&lt;__tiddler__&gt;get[text]minlength[1]]\&quot;&gt;&lt;$action-sendmessage $message=\&quot;tm-edit-tiddler\&quot; $param={{{ [&lt;__tiddler__&gt;get[text]] }}}/&gt;&lt;/$list&gt;&lt;/$list&gt;\&quot;\&quot;\&quot;&gt;&lt;$list filter=\&quot;[&lt;__tiddler__&gt;get[text]minlength[1]]\&quot;&gt;&lt;$action-sendmessage $message=\&quot;tm-edit-tiddler\&quot; $param={{{ [&lt;__tiddler__&gt;get[text]] }}}/&gt;&lt;/$list&gt;&lt;/$list&gt;\n\n&lt;&lt;lingo Standard/Hint&gt;&gt;\n\n&lt;div class=\&quot;tc-search\&quot;&gt;\n&lt;$keyboard key=\&quot;((input-tab-right))\&quot; actions=&lt;&lt;set-next-input-tab&gt;&gt;&gt;\n&lt;$keyboard key=\&quot;((input-tab-left))\&quot; actions=&lt;&lt;set-next-input-tab \&quot;before\&quot;&gt;&gt;&gt;\n&lt;$keyboard key=\&quot;shift-alt-Right\&quot; actions=&lt;&lt;next-search-tab&gt;&gt;&gt;\n&lt;$keyboard key=\&quot;shift-alt-Left\&quot; actions=&lt;&lt;next-search-tab \&quot;before\&quot;&gt;&gt;&gt;\n&lt;$macrocall $name=\&quot;keyboard-driven-input\&quot; tiddler=\&quot;$:/temp/advancedsearch/input\&quot; storeTitle=\&quot;$:/temp/advancedsearch\&quot;\n\t\trefreshTitle=\&quot;$:/temp/advancedsearch/refresh\&quot; selectionStateTitle=\&quot;$:/temp/advancedsearch/selected-item\&quot; type=\&quot;search\&quot;\n\t\ttag=\&quot;input\&quot; focus={{$:/config/Search/AutoFocus}} inputCancelActions=&lt;&lt;cancel-search-actions&gt;&gt; \n\t\tinputAcceptActions=&lt;&lt;input-accept-actions&gt;&gt; inputAcceptVariantActions=&lt;&lt;input-accept-variant-actions&gt;&gt; \n\t\tconfigTiddlerFilter=\&quot;[[$:/state/search/cu
},
&quot;$:/core/ui/AdvancedSearch/System&quot;: {
&quot;title&quot;: &quot;$:/core/ui/AdvancedSearch/System&quot;,
&quot;tags&quot;: &quot;$:/tags/AdvancedSearch&quot;,
&quot;caption&quot;: &quot;{{$:/language/Search/System/Caption}}&quot;,
&quot;first-search-filter&quot;: &quot;[is[system]search&lt;userInput&gt;sort[title]limit[250]] -[[$:/temp/advancedsearch]] -[[$:/temp/advancedsearch/input]] -[[$:/temp/advancedsearch/selected-item]]&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/Search/\n\\define set-next-input-tab(beforeafter:\&quot;after\&quot;,stateTitle,tag,defaultState,currentTabTiddler) &lt;$macrocall $name=\&quot;change-input-tab\&quot; stateTitle=\&quot;$:/state/tab--1498284803\&quot; tag=\&quot;$:/tags/AdvancedSearch\&quot; beforeafter=\&quot;$beforeafter$\&quot; defaultState=\&quot;$:/core/ui/AdvancedSearch/System\&quot; actions=\&quot;\&quot;\&quot;&lt;$action-setfield $tiddler=\&quot;$:/state/advancedsearch/currentTab\&quot; text=&lt;&lt;nextTab&gt;&gt;/&gt;\&quot;\&quot;\&quot;/&gt;\n\n\\define cancel-search-actions() &lt;$list filter=\&quot;[{$:/temp/advancedsearch}!match{$:/temp/advancedsearch/input}]\&quot; emptyMessage=\&quot;\&quot;\&quot;&lt;$action-deletetiddler $filter=\&quot;[[$:/temp/advancedsearch]] [[$:/temp/advancedsearch/input]] [[$:/temp/advancedsearch/selected-item]]\&quot; /&gt;\&quot;\&quot;\&quot;&gt;&lt;$action-setfield $tiddler=\&quot;$:/temp/advancedsearch/input\&quot; text={{$:/temp/advancedsearch}}/&gt;&lt;$action-setfield $tiddler=\&quot;$:/temp/advancedsearch/refresh\&quot; text=\&quot;yes\&quot;/&gt;&lt;/$list&gt;&lt;$action-sendmessage $message=\&quot;tm-focus-selector\&quot; $param=\&quot;\&quot;\&quot;.tc-advanced-search input\&quot;\&quot;\&quot;/&gt;\n\n\\define input-accept-actions() &lt;$list filter=\&quot;[{$:/config/Search/NavigateOnEnter/enable}match[yes]]\&quot; emptyMessage=\&quot;\&quot;\&quot;&lt;$list filter=\&quot;[&lt;__tiddler__&gt;get[text]!is[missing]] ~[&lt;__tiddler__&gt;get[text]is[shadow]]\&quot;&gt;&lt;$action-navigate $to={{{ [&lt;__tiddler__&gt;get[text]] }}}/&gt;&lt;/$list&gt;\&quot;\&quot;\&quot;&gt;&lt;$action-navigate $to={{{ [&lt;__tiddler__&gt;get[text]] }}}/&gt;&lt;/$list&gt;\n\n\\define input-accept-variant-actions() &lt;$list filter=\&quot;[{$:/config/Search/NavigateOnEnter/enable}match[yes]]\&quot; emptyMessage=\&quot;\&quot;\&quot;&lt;$list filter=\&quot;[&lt;__tiddler__&gt;get[text]!is[missing]] ~[&lt;__tiddler__&gt;get[text]is[shadow]]\&quot;&gt;&lt;$list filter=\&quot;[&lt;__tiddler__&gt;get[text]minlength[1]]\&quot;&gt;&lt;$action-sendmessage $message=\&quot;tm-edit-tiddler\&quot; $param={{{ [&lt;__tiddler__&gt;get[text]] }}}/&gt;&lt;/$list&gt;&lt;/$list&gt;\&quot;\&quot;\&quot;&gt;&lt;$list filter=\&quot;[&lt;__tiddler__&gt;get[text]minlength[1]]\&quot;&gt;&lt;$action-sendmessage $message=\&quot;tm-edit-tiddler\&quot; $param={{{ [&lt;__tiddler__&gt;get[text]] }}}/&gt;&lt;/$list&gt;&lt;/$list&gt;\n\n&lt;&lt;lingo System/Hint&gt;&gt;\n\n&lt;div class=\&quot;tc-search\&quot;&gt;\n&lt;$keyboard key=\&quot;((input-tab-right))\&quot; actions=&lt;&lt;set-next-input-tab&gt;&gt;&gt;\n&lt;$keyboard key=\&quot;((input-tab-left))\&quot; actions=&lt;&lt;set-next-input-tab \&quot;before\&quot;&gt;&gt;&gt;\n&lt;$macrocall $name=\&quot;keyboard-driven-input\&quot; tiddler=\&quot;$:/temp/advancedsearch/input\&quot; storeTitle=\&quot;$:/temp/advancedsearch\&quot;\n\t\trefreshTitle=\&quot;$:/temp/advancedsearch/refresh\&quot; selectionStateTitle=\&quot;$:/temp/advancedsearch/selected-item\&quot;\n\t\ttype=\&quot;search\&quot; tag=\&quot;input\&quot; focus={{$:/config/Search/AutoFocus}} configTiddlerFilter=\&quot;[[$:/core/ui/AdvancedSearch/System]]\&quot;\n\t\tinputCancelActions=&lt;&lt;cancel-search-actions&gt;&gt; inputAcceptActions=&lt;&lt;input-accept-actions&gt;&gt; \n\t\tinputAcceptVariantActions=&lt;&lt;input-accept-variant-actions&gt;&gt; filterMinLength={{$:/config/Search/MinLength}}/&gt;\n&lt;/$keyboard&gt;\n&lt;/$keyboard&gt;\n&lt;$reveal state=\&quot;$:/temp/advancedsearch\&quot; type=\&quot;nomatch\&quot; text=\&quot;\&quot;&gt;\n&lt;$button class=\&quot;tc-btn-invisible\&quot;&gt;\n&lt;&lt;cancel-search-actions&gt;&gt;\n{{$:/core/images/close-button}}\n&lt;/$button&gt;\n&lt;/$reveal&gt;\n&lt;/div&gt;\n\n&lt;$reveal state=\&quot;$:/temp/advancedsearch\&quot; type=\&quot;nomatch\&quot; text=\&quot;\&quot;&gt;\n\n&lt;$list filter=\&quot;[{$:/temp/advancedsearch}minlength{$:/config/Search/MinLength}limit[1]]\&quot; emptyMessage=\&quot;\&quot;\&quot;&l
},
&quot;$:/AdvancedSearch&quot;: {
&quot;title&quot;: &quot;$:/AdvancedSearch&quot;,
&quot;icon&quot;: &quot;$:/core/images/advanced-search-button&quot;,
&quot;color&quot;: &quot;#bbb&quot;,
&quot;text&quot;: &quot;&lt;div class=\&quot;tc-advanced-search\&quot;&gt;\n&lt;$macrocall $name=\&quot;tabs\&quot; tabsList=\&quot;[all[shadows+tiddlers]tag[$:/tags/AdvancedSearch]!has[draft.of]]\&quot; default=\&quot;$:/core/ui/AdvancedSearch/System\&quot; actions=\&quot;\&quot;\&quot;&lt;$action-setfield $tiddler=\&quot;$:/state/advancedsearch/currentTab\&quot; text=&lt;&lt;currentTab&gt;&gt;/&gt;\&quot;\&quot;\&quot; explicitState=\&quot;$:/state/tab--1498284803\&quot;/&gt;\n&lt;/div&gt;\n&quot;
},
&quot;$:/core/ui/AlertTemplate&quot;: {
&quot;title&quot;: &quot;$:/core/ui/AlertTemplate&quot;,
&quot;text&quot;: &quot;&lt;div class=\&quot;tc-alert\&quot;&gt;\n&lt;div class=\&quot;tc-alert-toolbar\&quot;&gt;\n&lt;$button class=\&quot;tc-btn-invisible\&quot;&gt;&lt;$action-deletetiddler $tiddler=&lt;&lt;currentTiddler&gt;&gt;/&gt;{{$:/core/images/cancel-button}}&lt;/$button&gt;\n&lt;/div&gt;\n&lt;div class=\&quot;tc-alert-subtitle\&quot;&gt;\n&lt;$wikify name=\&quot;format\&quot; text=&lt;&lt;lingo Tiddler/DateFormat&gt;&gt;&gt;\n&lt;$view field=\&quot;component\&quot;/&gt; - &lt;$view field=\&quot;modified\&quot; format=\&quot;date\&quot; template=&lt;&lt;format&gt;&gt;/&gt; &lt;$reveal type=\&quot;nomatch\&quot; state=\&quot;!!count\&quot; text=\&quot;\&quot;&gt;&lt;span class=\&quot;tc-alert-highlight\&quot;&gt;({{$:/language/Count}}: &lt;$view field=\&quot;count\&quot;/&gt;)&lt;/span&gt;&lt;/$reveal&gt;\n&lt;/$wikify&gt;\n&lt;/div&gt;\n&lt;div class=\&quot;tc-alert-body\&quot;&gt;\n\n&lt;$transclude/&gt;\n\n&lt;/div&gt;\n&lt;/div&gt;\n&quot;
},
&quot;$:/core/ui/BinaryWarning&quot;: {
&quot;title&quot;: &quot;$:/core/ui/BinaryWarning&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/BinaryWarning/\n&lt;&lt;lingo Prompt&gt;&gt;\n&quot;
},
&quot;$:/core/ui/Components/plugin-info&quot;: {
&quot;title&quot;: &quot;$:/core/ui/Components/plugin-info&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/ControlPanel/Plugins/\n\n\\define popup-state-macro()\n$(qualified-state)$-$(currentTiddler)$\n\\end\n\n\\define tabs-state-macro()\n$(popup-state)$-$(pluginInfoType)$\n\\end\n\n\\define plugin-icon-title()\n$(currentTiddler)$/icon\n\\end\n\n\\define plugin-disable-title()\n$:/config/Plugins/Disabled/$(currentTiddler)$\n\\end\n\n\\define plugin-table-body(type,disabledMessage,default-popup-state)\n&lt;div class=\&quot;tc-plugin-info-chunk tc-plugin-info-toggle\&quot;&gt;\n&lt;$reveal type=\&quot;nomatch\&quot; state=&lt;&lt;popup-state&gt;&gt; text=\&quot;yes\&quot; default=\&quot;\&quot;\&quot;$default-popup-state$\&quot;\&quot;\&quot;&gt;\n&lt;$button class=\&quot;tc-btn-invisible tc-btn-dropdown\&quot; set=&lt;&lt;popup-state&gt;&gt; setTo=\&quot;yes\&quot;&gt;\n{{$:/core/images/chevron-right}}\n&lt;/$button&gt;\n&lt;/$reveal&gt;\n&lt;$reveal type=\&quot;match\&quot; state=&lt;&lt;popup-state&gt;&gt; text=\&quot;yes\&quot; default=\&quot;\&quot;\&quot;$default-popup-state$\&quot;\&quot;\&quot;&gt;\n&lt;$button class=\&quot;tc-btn-invisible tc-btn-dropdown\&quot; set=&lt;&lt;popup-state&gt;&gt; setTo=\&quot;no\&quot;&gt;\n{{$:/core/images/chevron-down}}\n&lt;/$button&gt;\n&lt;/$reveal&gt;\n&lt;/div&gt;\n&lt;div class=\&quot;tc-plugin-info-chunk tc-plugin-info-icon\&quot;&gt;\n&lt;$transclude tiddler=&lt;&lt;currentTiddler&gt;&gt; subtiddler=&lt;&lt;plugin-icon-title&gt;&gt;&gt;\n&lt;$transclude tiddler=\&quot;$:/core/images/plugin-generic-$type$\&quot;/&gt;\n&lt;/$transclude&gt;\n&lt;/div&gt;\n&lt;div class=\&quot;tc-plugin-info-chunk tc-plugin-info-description\&quot;&gt;\n&lt;h1&gt;\n''&lt;$text text={{{ [&lt;currentTiddler&gt;get[name]] ~[&lt;currentTiddler&gt;split[/]last[1]] }}}/&gt;'': &lt;$view field=\&quot;description\&quot;&gt;&lt;$view field=\&quot;title\&quot;/&gt;&lt;/$view&gt; $disabledMessage$\n&lt;/h1&gt;\n&lt;h2&gt;\n&lt;$view field=\&quot;title\&quot;/&gt;\n&lt;/h2&gt;\n&lt;h2&gt;\n&lt;div&gt;&lt;em&gt;&lt;$view field=\&quot;version\&quot;/&gt;&lt;/em&gt;&lt;/div&gt;\n&lt;/h2&gt;\n&lt;/div&gt;\n\\end\n\n\\define plugin-info(type,default-popup-state)\n&lt;$set name=\&quot;popup-state\&quot; value=&lt;&lt;popup-state-macro&gt;&gt;&gt;\n&lt;$reveal type=\&quot;nomatch\&quot; state=&lt;&lt;plugin-disable-title&gt;&gt; text=\&quot;yes\&quot;&gt;\n&lt;$link to={{!!title}} class=\&quot;tc-plugin-info\&quot;&gt;\n&lt;&lt;plugin-table-body type:\&quot;$type$\&quot; default-popup-state:\&quot;\&quot;\&quot;$default-popup-state$\&quot;\&quot;\&quot;&gt;&gt;\n&lt;/$link&gt;\n&lt;/$reveal&gt;\n&lt;$reveal type=\&quot;match\&quot; state=&lt;&lt;plugin-disable-title&gt;&gt; text=\&quot;yes\&quot;&gt;\n&lt;$link to={{!!title}} class=\&quot;tc-plugin-info tc-plugin-info-disabled\&quot;&gt;\n&lt;&lt;plugin-table-body type:\&quot;$type$\&quot; default-popup-state:\&quot;\&quot;\&quot;$default-popup-state$\&quot;\&quot;\&quot; disabledMessage:\&quot;&lt;$macrocall $name='lingo' title='Disabled/Status'/&gt;\&quot;&gt;&gt;\n&lt;/$link&gt;\n&lt;/$reveal&gt;\n&lt;$reveal type=\&quot;match\&quot; text=\&quot;yes\&quot; state=&lt;&lt;popup-state&gt;&gt; default=\&quot;\&quot;\&quot;$default-popup-state$\&quot;\&quot;\&quot;&gt;\n&lt;div class=\&quot;tc-plugin-info-dropdown\&quot;&gt;\n&lt;div class=\&quot;tc-plugin-info-dropdown-body\&quot;&gt;\n&lt;$list filter=\&quot;[all[current]] -[[$:/core]]\&quot;&gt;\n&lt;div style=\&quot;float:right;\&quot;&gt;\n&lt;$reveal type=\&quot;nomatch\&quot; state=&lt;&lt;plugin-disable-title&gt;&gt; text=\&quot;yes\&quot;&gt;\n&lt;$button set=&lt;&lt;plugin-disable-title&gt;&gt; setTo=\&quot;yes\&quot; tooltip={{$:/language/ControlPanel/Plugins/Disable/Hint}} aria-label={{$:/language/ControlPanel/Plugins/Disable/Caption}}&gt;\n&lt;&lt;lingo Disable/Caption&gt;&gt;\n&lt;/$button&gt;\n&lt;/$reveal&gt;\n&lt;$reveal type=\&quot;match\&quot; state=&lt;&lt;plugin-disable-title&gt;&gt; text=\&quot;yes\&quot;&gt;\n&lt;$button set=&lt;&lt;plugin-disable-title&gt;&gt; setTo=\&quot;no\&quot; tooltip={{$:/language/ControlPanel/Plugins/E
},
&quot;$:/core/ui/Components/tag-link&quot;: {
&quot;title&quot;: &quot;$:/core/ui/Components/tag-link&quot;,
&quot;text&quot;: &quot;&lt;$link&gt;\n&lt;$set name=\&quot;backgroundColor\&quot; value={{!!color}}&gt;\n&lt;span style=&lt;&lt;tag-styles&gt;&gt; class=\&quot;tc-tag-label\&quot;&gt;\n&lt;$view field=\&quot;title\&quot; format=\&quot;text\&quot;/&gt;\n&lt;/span&gt;\n&lt;/$set&gt;\n&lt;/$link&gt;&quot;
},
&quot;$:/core/ui/ControlPanel/Advanced&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Advanced&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel/Info&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/Advanced/Caption}}&quot;,
&quot;text&quot;: &quot;{{$:/language/ControlPanel/Advanced/Hint}}\n\n&lt;div class=\&quot;tc-control-panel\&quot;&gt;\n&lt;$macrocall $name=\&quot;tabs\&quot; tabsList=\&quot;[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Advanced]!has[draft.of]]\&quot; default=\&quot;$:/core/ui/ControlPanel/TiddlerFields\&quot; explicitState=\&quot;$:/state/tab--959111941\&quot;/&gt;\n&lt;/div&gt;\n&quot;
},
&quot;$:/core/ui/ControlPanel/Appearance&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Appearance&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/Appearance/Caption}}&quot;,
&quot;text&quot;: &quot;{{$:/language/ControlPanel/Appearance/Hint}}\n\n&lt;div class=\&quot;tc-control-panel\&quot;&gt;\n&lt;$macrocall $name=\&quot;tabs\&quot; tabsList=\&quot;[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Appearance]!has[draft.of]]\&quot; default=\&quot;$:/core/ui/ControlPanel/Theme\&quot; explicitState=\&quot;$:/state/tab--1963855381\&quot;/&gt;\n&lt;/div&gt;\n&quot;
},
&quot;$:/core/ui/ControlPanel/Basics&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Basics&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel/Info&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/Basics/Caption}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/ControlPanel/Basics/\n\n\\define show-filter-count(filter)\n&lt;$button class=\&quot;tc-btn-invisible\&quot;&gt;\n&lt;$action-setfield $tiddler=\&quot;$:/temp/advancedsearch\&quot; $value=\&quot;\&quot;\&quot;$filter$\&quot;\&quot;\&quot;/&gt;\n&lt;$action-setfield $tiddler=\&quot;$:/temp/advancedsearch/input\&quot; $value=\&quot;\&quot;\&quot;$filter$\&quot;\&quot;\&quot;/&gt;\n&lt;$action-setfield $tiddler=\&quot;$:/temp/advancedsearch/refresh\&quot; text=\&quot;yes\&quot;/&gt;\n&lt;$action-setfield $tiddler=\&quot;$:/state/tab--1498284803\&quot; $value=\&quot;$:/core/ui/AdvancedSearch/Filter\&quot;/&gt;\n&lt;$action-navigate $to=\&quot;$:/AdvancedSearch\&quot;/&gt;\n&lt;$action-sendmessage $message=\&quot;tm-focus-selector\&quot; $param=\&quot;.tc-advanced-search input\&quot;/&gt;\n''&lt;$count filter=\&quot;\&quot;\&quot;$filter$\&quot;\&quot;\&quot;/&gt;''\n{{$:/core/images/advanced-search-button}}\n&lt;/$button&gt;\n\\end\n\n|&lt;&lt;lingo Version/Prompt&gt;&gt; |''&lt;&lt;version&gt;&gt;'' |\n|&lt;$link to=\&quot;$:/SiteTitle\&quot;&gt;&lt;&lt;lingo Title/Prompt&gt;&gt;&lt;/$link&gt; |&lt;$edit-text tiddler=\&quot;$:/SiteTitle\&quot; default=\&quot;\&quot; tag=\&quot;input\&quot;/&gt; |\n|&lt;$link to=\&quot;$:/SiteSubtitle\&quot;&gt;&lt;&lt;lingo Subtitle/Prompt&gt;&gt;&lt;/$link&gt; |&lt;$edit-text tiddler=\&quot;$:/SiteSubtitle\&quot; default=\&quot;\&quot; tag=\&quot;input\&quot;/&gt; |\n|&lt;$link to=\&quot;$:/status/UserName\&quot;&gt;&lt;&lt;lingo Username/Prompt&gt;&gt;&lt;/$link&gt; |&lt;$edit-text tiddler=\&quot;$:/status/UserName\&quot; default=\&quot;\&quot; tag=\&quot;input\&quot;/&gt; |\n|&lt;$link to=\&quot;$:/config/AnimationDuration\&quot;&gt;&lt;&lt;lingo AnimDuration/Prompt&gt;&gt;&lt;/$link&gt; |&lt;$edit-text tiddler=\&quot;$:/config/AnimationDuration\&quot; default=\&quot;\&quot; tag=\&quot;input\&quot;/&gt; |\n|&lt;$link to=\&quot;$:/DefaultTiddlers\&quot;&gt;&lt;&lt;lingo DefaultTiddlers/Prompt&gt;&gt;&lt;/$link&gt; |&lt;&lt;lingo DefaultTiddlers/TopHint&gt;&gt;&lt;br&gt; &lt;$edit tag=\&quot;textarea\&quot; tiddler=\&quot;$:/DefaultTiddlers\&quot; class=\&quot;tc-edit-texteditor\&quot;/&gt;&lt;br&gt;//&lt;&lt;lingo DefaultTiddlers/BottomHint&gt;&gt;// |\n|&lt;$link to=\&quot;$:/language/DefaultNewTiddlerTitle\&quot;&gt;&lt;&lt;lingo NewTiddler/Title/Prompt&gt;&gt;&lt;/$link&gt; |&lt;$edit-text tiddler=\&quot;$:/language/DefaultNewTiddlerTitle\&quot; default=\&quot;\&quot; tag=\&quot;input\&quot;/&gt; |\n|&lt;$link to=\&quot;$:/config/NewJournal/Title\&quot;&gt;&lt;&lt;lingo NewJournal/Title/Prompt&gt;&gt;&lt;/$link&gt; |&lt;$edit-text tiddler=\&quot;$:/config/NewJournal/Title\&quot; default=\&quot;\&quot; tag=\&quot;input\&quot;/&gt; |\n|&lt;$link to=\&quot;$:/config/NewJournal/Text\&quot;&gt;&lt;&lt;lingo NewJournal/Text/Prompt&gt;&gt;&lt;/$link&gt; |&lt;$edit tiddler=\&quot;$:/config/NewJournal/Text\&quot; tag=\&quot;textarea\&quot; class=\&quot;tc-edit-texteditor\&quot; default=\&quot;\&quot;/&gt; |\n|&lt;$link to=\&quot;$:/config/NewTiddler/Tags\&quot;&gt;&lt;&lt;lingo NewTiddler/Tags/Prompt&gt;&gt;&lt;/$link&gt; |&lt;$vars currentTiddler=\&quot;$:/config/NewTiddler/Tags\&quot; tagField=\&quot;text\&quot;&gt;{{||$:/core/ui/EditTemplate/tags}}&lt;$list filter=\&quot;[&lt;currentTiddler&gt;tags[]] +[limit[1]]\&quot; variable=\&quot;ignore\&quot;&gt;&lt;$button tooltip={{$:/language/ControlPanel/Basics/RemoveTags/Hint}}&gt;&lt;&lt;lingo RemoveTags&gt;&gt;&lt;$action-listops $tiddler=&lt;&lt;currentTiddler&gt;&gt; $field=\&quot;text\&quot; $subfilter={{{ [&lt;currentTiddler&gt;get[tags]] }}}/&gt;&lt;$action-setfield $tiddler=&lt;&lt;currentTiddler&gt;&gt; tags=\&quot;\&quot;/&gt;&lt;/$button&gt;&lt;/$list&gt;&lt;/$vars&gt; |\n|&lt;$link to=\&quot;$:/config/NewJournal/Tags\&quot;&gt;&lt;&lt;lingo NewJournal/Tags/Prompt&gt;&gt;&lt;/$link&gt; |&lt;$vars currentTiddler=\&quot;$:/config/NewJournal/Tags\&quot; tagField=\&quot;text\&quot;&gt;{{||$:/core/ui/EditTemplate/tags}}&lt;$list filter=\&quot;[&lt;currentTiddler&gt;tags[
},
&quot;$:/core/ui/ControlPanel/EditorTypes&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/EditorTypes&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel/Advanced&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/EditorTypes/Caption}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/ControlPanel/EditorTypes/\n\n&lt;&lt;lingo Hint&gt;&gt;\n\n&lt;table&gt;\n&lt;tbody&gt;\n&lt;tr&gt;\n&lt;th&gt;&lt;&lt;lingo Type/Caption&gt;&gt;&lt;/th&gt;\n&lt;th&gt;&lt;&lt;lingo Editor/Caption&gt;&gt;&lt;/th&gt;\n&lt;/tr&gt;\n&lt;$list filter=\&quot;[all[shadows+tiddlers]prefix[$:/config/EditorTypeMappings/]sort[title]]\&quot;&gt;\n&lt;tr&gt;\n&lt;td&gt;\n&lt;$link&gt;\n&lt;$list filter=\&quot;[all[current]removeprefix[$:/config/EditorTypeMappings/]]\&quot;&gt;\n&lt;$text text={{!!title}}/&gt;\n&lt;/$list&gt;\n&lt;/$link&gt;\n&lt;/td&gt;\n&lt;td&gt;\n&lt;$view field=\&quot;text\&quot;/&gt;\n&lt;/td&gt;\n&lt;/tr&gt;\n&lt;/$list&gt;\n&lt;/tbody&gt;\n&lt;/table&gt;\n&quot;
},
&quot;$:/core/ui/ControlPanel/Info&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Info&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/Info/Caption}}&quot;,
&quot;text&quot;: &quot;{{$:/language/ControlPanel/Info/Hint}}\n\n&lt;div class=\&quot;tc-control-panel\&quot;&gt;\n&lt;$macrocall $name=\&quot;tabs\&quot; tabsList=\&quot;[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Info]!has[draft.of]]\&quot; default=\&quot;$:/core/ui/ControlPanel/Basics\&quot; explicitState=\&quot;$:/state/tab--2112689675\&quot;/&gt;\n&lt;/div&gt;\n&quot;
},
&quot;$:/core/ui/ControlPanel/KeyboardShortcuts&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/KeyboardShortcuts&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/KeyboardShortcuts/Caption}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/ControlPanel/KeyboardShortcuts/\n\n\\define new-shortcut(title)\n&lt;div class=\&quot;tc-dropdown-item-plain\&quot;&gt;\n&lt;$edit-shortcut tiddler=\&quot;$title$\&quot; placeholder={{$:/language/ControlPanel/KeyboardShortcuts/Add/Prompt}} focus=\&quot;true\&quot; style=\&quot;width:auto;\&quot;/&gt; &lt;$button&gt;\n&lt;&lt;lingo Add/Caption&gt;&gt;\n&lt;$action-listops\n\t$tiddler=\&quot;$(shortcutTitle)$\&quot;\n\t$field=\&quot;text\&quot;\n\t$subfilter=\&quot;[{$title$}]\&quot;\n/&gt;\n&lt;$action-deletetiddler\n\t$tiddler=\&quot;$title$\&quot;\n/&gt;\n&lt;/$button&gt;\n&lt;/div&gt;\n\\end\n\n\\define shortcut-list-item(caption)\n&lt;td&gt;\n&lt;/td&gt;\n&lt;td style=\&quot;text-align:right;font-size:0.7em;\&quot;&gt;\n&lt;&lt;lingo Platform/$caption$&gt;&gt;\n&lt;/td&gt;\n&lt;td&gt;\n&lt;div style=\&quot;position:relative;\&quot;&gt;\n&lt;$button popup=&lt;&lt;qualify \&quot;$:/state/dropdown/$(shortcutTitle)$\&quot;&gt;&gt; class=\&quot;tc-btn-invisible\&quot;&gt;\n{{$:/core/images/edit-button}}\n&lt;/$button&gt;\n&lt;$macrocall $name=\&quot;displayshortcuts\&quot; $output=\&quot;text/html\&quot; shortcuts={{$(shortcutTitle)$}} prefix=\&quot;&lt;kbd&gt;\&quot; separator=\&quot;&lt;/kbd&gt; &lt;kbd&gt;\&quot; suffix=\&quot;&lt;/kbd&gt;\&quot;/&gt;\n\n&lt;$reveal state=&lt;&lt;qualify \&quot;$:/state/dropdown/$(shortcutTitle)$\&quot;&gt;&gt; type=\&quot;popup\&quot; position=\&quot;below\&quot; animate=\&quot;yes\&quot;&gt;\n&lt;div class=\&quot;tc-block-dropdown-wrapper\&quot;&gt;\n&lt;div class=\&quot;tc-block-dropdown tc-edit-type-dropdown tc-popup-keep\&quot;&gt;\n&lt;$list filter=\&quot;[list[$(shortcutTitle)$!!text]sort[title]]\&quot; variable=\&quot;shortcut\&quot; emptyMessage=\&quot;\&quot;\&quot;\n&lt;div class=\&quot;tc-dropdown-item-plain\&quot;&gt;\n//&lt;&lt;lingo NoShortcuts/Caption&gt;&gt;//\n&lt;/div&gt;\n\&quot;\&quot;\&quot;&gt;\n&lt;div class=\&quot;tc-dropdown-item-plain\&quot;&gt;\n&lt;$button class=\&quot;tc-btn-invisible\&quot; tooltip={{$:/language/ControlPanel/KeyboardShortcuts/Remove/Hint}}&gt;\n&lt;$action-listops\n\t$tiddler=\&quot;$(shortcutTitle)$\&quot;\n\t$field=\&quot;text\&quot;\n\t$subfilter=\&quot;+[remove&lt;shortcut&gt;]\&quot;\n/&gt;\n&lt;small&gt;{{$:/core/images/close-button}}&lt;/small&gt;\n&lt;/$button&gt;\n&lt;kbd&gt;\n&lt;$macrocall $name=\&quot;displayshortcuts\&quot; $output=\&quot;text/html\&quot; shortcuts=&lt;&lt;shortcut&gt;&gt;/&gt;\n&lt;/kbd&gt;\n&lt;/div&gt;\n&lt;/$list&gt;\n&lt;hr/&gt;\n&lt;$macrocall $name=\&quot;new-shortcut\&quot; title=&lt;&lt;qualify \&quot;$:/state/new-shortcut/$(shortcutTitle)$\&quot;&gt;&gt;/&gt;\n&lt;/div&gt;\n&lt;/div&gt;\n&lt;/$reveal&gt;\n&lt;/div&gt;\n&lt;/td&gt;\n\\end\n\n\\define shortcut-list(caption,prefix)\n&lt;tr&gt;\n&lt;$list filter=\&quot;[[$prefix$$(shortcutName)$]]\&quot; variable=\&quot;shortcutTitle\&quot;&gt;\n&lt;&lt;shortcut-list-item \&quot;$caption$\&quot;&gt;&gt;\n&lt;/$list&gt;\n&lt;/tr&gt;\n\\end\n\n\\define shortcut-editor()\n&lt;&lt;shortcut-list \&quot;All\&quot; \&quot;$:/config/shortcuts/\&quot;&gt;&gt;\n&lt;&lt;shortcut-list \&quot;Mac\&quot; \&quot;$:/config/shortcuts-mac/\&quot;&gt;&gt;\n&lt;&lt;shortcut-list \&quot;NonMac\&quot; \&quot;$:/config/shortcuts-not-mac/\&quot;&gt;&gt;\n&lt;&lt;shortcut-list \&quot;Linux\&quot; \&quot;$:/config/shortcuts-linux/\&quot;&gt;&gt;\n&lt;&lt;shortcut-list \&quot;NonLinux\&quot; \&quot;$:/config/shortcuts-not-linux/\&quot;&gt;&gt;\n&lt;&lt;shortcut-list \&quot;Windows\&quot; \&quot;$:/config/shortcuts-windows/\&quot;&gt;&gt;\n&lt;&lt;shortcut-list \&quot;NonWindows\&quot; \&quot;$:/config/shortcuts-not-windows/\&quot;&gt;&gt;\n\\end\n\n\\define shortcut-preview()\n&lt;$macrocall $name=\&quot;displayshortcuts\&quot; $output=\&quot;text/html\&quot; shortcuts={{$(shortcutPrefix)$$(shortcutName)$}} prefix=\&quot;&lt;kbd&gt;\&quot; separator=\&quot;&lt;/kbd&gt; &lt;kbd&gt;\&quot; suffix=\&quot;&lt;/kbd&gt;\&quot;/&gt;\n\\end\n\n\\define shortcut-item-inner()\n&lt;tr&gt;\n&lt;td&gt;\n&lt;$reveal type=\&q
},
&quot;$:/core/ui/ControlPanel/LoadedModules&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/LoadedModules&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel/Advanced&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/LoadedModules/Caption}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/ControlPanel/\n&lt;&lt;lingo LoadedModules/Hint&gt;&gt;\n\n{{$:/snippets/modules}}\n&quot;
},
&quot;$:/core/ui/ControlPanel/Modals/AddPlugins&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Modals/AddPlugins&quot;,
&quot;subtitle&quot;: &quot;{{$:/core/images/download-button}} {{$:/language/ControlPanel/Plugins/Add/Caption}}&quot;,
&quot;text&quot;: &quot;\\define install-plugin-actions()\n&lt;$action-sendmessage $message=\&quot;tm-load-plugin-from-library\&quot; url={{!!url}} title={{$(assetInfo)$!!original-title}}/&gt;\n&lt;$set name=\&quot;url\&quot; value={{!!url}}&gt;\n&lt;$set name=\&quot;currentTiddler\&quot; value=&lt;&lt;assetInfo&gt;&gt;&gt;\n&lt;$list filter=\&quot;[enlist{!!dependents}] [{!!parent-plugin}] +[sort[name]]\&quot; variable=\&quot;dependency\&quot;&gt;\n&lt;$action-sendmessage $message=\&quot;tm-load-plugin-from-library\&quot; url=&lt;&lt;url&gt;&gt; title=&lt;&lt;dependency&gt;&gt;/&gt;\n&lt;/$list&gt;\n&lt;/$set&gt;\n&lt;/$set&gt;\n\\end\n\n\\define install-plugin-button()\n&lt;div&gt;\n&lt;$set name=\&quot;libraryVersion\&quot; value={{{ [&lt;assetInfo&gt;get[version]] }}}&gt;\n&lt;$set name=\&quot;installedVersion\&quot; value={{{ [&lt;assetInfo&gt;get[original-title]get[version]] }}}&gt;\n&lt;$set name=\&quot;reinstall-type\&quot; value={{{ [&lt;libraryVersion&gt;compare:version:eq&lt;installedVersion&gt;then[tc-reinstall]] [&lt;libraryVersion&gt;compare:version:gt&lt;installedVersion&gt;then[tc-reinstall-upgrade]] [&lt;libraryVersion&gt;compare:version:lt&lt;installedVersion&gt;then[tc-reinstall-downgrade]] }}}&gt;\n&lt;$button actions=&lt;&lt;install-plugin-actions&gt;&gt; class={{{ [&lt;assetInfo&gt;get[original-title]has[version]then&lt;reinstall-type&gt;] tc-btn-invisible tc-install-plugin +[join[ ]] }}}&gt;\n{{$:/core/images/download-button}}\n&lt;$list filter=\&quot;[&lt;assetInfo&gt;get[original-title]get[version]]\&quot; variable=\&quot;ignore\&quot; emptyMessage=\&quot;{{$:/language/ControlPanel/Plugins/Install/Caption}}\&quot;&gt;\n&lt;$list filter=\&quot;[&lt;libraryVersion&gt;compare:version:gt&lt;installedVersion&gt;]\&quot; variable=\&quot;ignore\&quot; emptyMessage=\&quot;\&quot;\&quot;\n&lt;$list filter=\&quot;[&lt;libraryVersion&gt;compare:version:lt&lt;installedVersion&gt;]\&quot; variable=\&quot;ignore\&quot; emptyMessage=\&quot;{{$:/language/ControlPanel/Plugins/Reinstall/Caption}}\&quot;&gt;\n{{$:/language/ControlPanel/Plugins/Downgrade/Caption}}\n&lt;/$list&gt;\n\&quot;\&quot;\&quot;&gt;\n{{$:/language/ControlPanel/Plugins/Update/Caption}}\n&lt;/$list&gt;\n&lt;/$list&gt;\n&lt;/$button&gt;\n&lt;div&gt;\n&lt;/div&gt;\n&lt;$reveal stateTitle=&lt;&lt;assetInfo&gt;&gt; stateField=\&quot;requires-reload\&quot; type=\&quot;match\&quot; text=\&quot;yes\&quot;&gt;{{$:/language/ControlPanel/Plugins/PluginWillRequireReload}}&lt;/$reveal&gt;\n&lt;/$set&gt;\n&lt;/$set&gt;\n&lt;/$set&gt;\n&lt;/div&gt;\n\\end\n\n\\define popup-state-macro()\n$:/state/add-plugin-info/$(connectionTiddler)$/$(assetInfo)$\n\\end\n\n\\define display-plugin-info(type)\n&lt;$set name=\&quot;popup-state\&quot; value=&lt;&lt;popup-state-macro&gt;&gt;&gt;\n&lt;div class=\&quot;tc-plugin-info\&quot;&gt;\n&lt;div class=\&quot;tc-plugin-info-chunk tc-plugin-info-toggle\&quot;&gt;\n&lt;$reveal type=\&quot;nomatch\&quot; state=&lt;&lt;popup-state&gt;&gt; text=\&quot;yes\&quot;&gt;\n&lt;$button class=\&quot;tc-btn-invisible tc-btn-dropdown\&quot; set=&lt;&lt;popup-state&gt;&gt; setTo=\&quot;yes\&quot;&gt;\n{{$:/core/images/chevron-right}}\n&lt;/$button&gt;\n&lt;/$reveal&gt;\n&lt;$reveal type=\&quot;match\&quot; state=&lt;&lt;popup-state&gt;&gt; text=\&quot;yes\&quot;&gt;\n&lt;$button class=\&quot;tc-btn-invisible tc-btn-dropdown\&quot; set=&lt;&lt;popup-state&gt;&gt; setTo=\&quot;no\&quot;&gt;\n{{$:/core/images/chevron-down}}\n&lt;/$button&gt;\n&lt;/$reveal&gt;\n&lt;/div&gt;\n&lt;div class=\&quot;tc-plugin-info-chunk tc-plugin-info-icon\&quot;&gt;\n&lt;$list filter=\&quot;[&lt;assetInfo&gt;has[icon]]\&quot; emptyMessage=\&quot;\&quot;\&quot;&lt;$transclude tiddler=\&quot;$:/core/images/plugin-generic-$type$\&quot;/&gt;\&quot;\&quot;\&quot;&gt;\n&lt;img src={{$(assetInfo)$!!icon}}/&gt;\n&lt;/$list&gt;\n&lt;/div&gt;\n&lt;div class=\&quot;tc-plugin-info-chunk tc-plugin-info-description\&quot;&gt;\n&lt;h1&gt;&lt;strong&gt;&lt;$text text={{{ [&lt;assetInfo&gt;get[name]] ~[&lt;assetInfo&gt;get[original-title]split[/]last[1]] }}}/&gt;&lt;
},
&quot;$:/core/ui/ControlPanel/Palette&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Palette&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel/Appearance&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/Palette/Caption}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/ControlPanel/Palette/\n\n{{$:/snippets/paletteswitcher}}\n\n&lt;$reveal type=\&quot;nomatch\&quot; state=\&quot;$:/state/ShowPaletteEditor\&quot; text=\&quot;yes\&quot;&gt;\n\n&lt;$button set=\&quot;$:/state/ShowPaletteEditor\&quot; setTo=\&quot;yes\&quot;&gt;&lt;&lt;lingo ShowEditor/Caption&gt;&gt;&lt;/$button&gt;\n\n&lt;/$reveal&gt;\n\n&lt;$reveal type=\&quot;match\&quot; state=\&quot;$:/state/ShowPaletteEditor\&quot; text=\&quot;yes\&quot;&gt;\n\n&lt;$button set=\&quot;$:/state/ShowPaletteEditor\&quot; setTo=\&quot;no\&quot;&gt;&lt;&lt;lingo HideEditor/Caption&gt;&gt;&lt;/$button&gt;\n{{$:/PaletteManager}}\n\n&lt;/$reveal&gt;\n\n&quot;
},
&quot;$:/core/ui/ControlPanel/Parsing&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Parsing&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel/Advanced&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/Parsing/Caption}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/ControlPanel/Parsing/\n\n\\define toggle(Type)\n&lt;$checkbox\ntiddler=\&quot;\&quot;\&quot;$:/config/WikiParserRules/$Type$/$(rule)$\&quot;\&quot;\&quot;\nfield=\&quot;text\&quot;\nchecked=\&quot;enable\&quot;\nunchecked=\&quot;disable\&quot;\ndefault=\&quot;enable\&quot;&gt;\n&lt;&lt;rule&gt;&gt;\n&lt;/$checkbox&gt;\n\\end\n\n\\define rules(type,Type)\n&lt;$list filter=\&quot;[wikiparserrules[$type$]]\&quot; variable=\&quot;rule\&quot;&gt;\n&lt;dd&gt;&lt;&lt;toggle $Type$&gt;&gt;&lt;/dd&gt;\n&lt;/$list&gt;\n\\end\n\n&lt;&lt;lingo Hint&gt;&gt;\n\n&lt;dl&gt;\n&lt;dt&gt;&lt;&lt;lingo Pragma/Caption&gt;&gt;&lt;/dt&gt;\n&lt;&lt;rules pragma Pragma&gt;&gt;\n&lt;dt&gt;&lt;&lt;lingo Inline/Caption&gt;&gt;&lt;/dt&gt;\n&lt;&lt;rules inline Inline&gt;&gt;\n&lt;dt&gt;&lt;&lt;lingo Block/Caption&gt;&gt;&lt;/dt&gt;\n&lt;&lt;rules block Block&gt;&gt;\n&lt;/dl&gt;&quot;
},
&quot;$:/core/ui/ControlPanel/Plugins/Add/Languages&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Plugins/Add/Languages&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/Plugins/Languages/Caption}} (&lt;$count filter=\&quot;[all[tiddlers+shadows]tag[$:/tags/RemoteAssetInfo]server-url{!!url}original-plugin-type[language]]\&quot;/&gt;)&quot;,
&quot;text&quot;: &quot;&lt;&lt;display-server-assets language&gt;&gt;\n&quot;
},
&quot;$:/core/ui/ControlPanel/Plugins/Add/Plugins&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Plugins/Add/Plugins&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/Plugins/Plugins/Caption}} (&lt;$count filter=\&quot;[all[tiddlers+shadows]tag[$:/tags/RemoteAssetInfo]server-url{!!url}original-plugin-type[plugin]]\&quot;/&gt;)&quot;,
&quot;text&quot;: &quot;&lt;&lt;display-server-assets plugin&gt;&gt;\n&quot;
},
&quot;$:/core/ui/ControlPanel/Plugins/Add/Themes&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Plugins/Add/Themes&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/Plugins/Themes/Caption}} (&lt;$count filter=\&quot;[all[tiddlers+shadows]tag[$:/tags/RemoteAssetInfo]server-url{!!url}original-plugin-type[theme]]\&quot;/&gt;)&quot;,
&quot;text&quot;: &quot;&lt;&lt;display-server-assets theme&gt;&gt;\n&quot;
},
&quot;$:/core/ui/ControlPanel/Plugins/Add/Updates&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Plugins/Add/Updates&quot;,
&quot;caption&quot;: &quot;&lt;$importvariables filter=\&quot;$:/core/ui/ControlPanel/Plugins/Add/Updates\&quot;&gt;{{$:/language/ControlPanel/Plugins/Updates/Caption}} (&lt;&lt;update-count&gt;&gt;)&lt;/$importvariables&gt;&quot;,
&quot;text&quot;: &quot;\\define each-updateable-plugin(body)\n&lt;$list filter=\&quot;[all[tiddlers+shadows]tag[$:/tags/RemoteAssetInfo]server-url{!!url}sort[title]]\&quot; variable=\&quot;assetInfo\&quot;&gt;\n&lt;$set name=\&quot;libraryVersion\&quot; value={{{ [&lt;assetInfo&gt;get[version]] }}}&gt;\n&lt;$list filter=\&quot;[&lt;assetInfo&gt;get[original-title]has[version]!version&lt;libraryVersion&gt;]\&quot; variable=\&quot;ignore\&quot;&gt;\n&lt;$set name=\&quot;installedVersion\&quot; value={{{ [&lt;assetInfo&gt;get[original-title]get[version]] }}}&gt;\n&lt;$list filter=\&quot;[&lt;installedversion&gt;!match&lt;libraryVersion&gt;]\&quot; variable=\&quot;ignore\&quot;&gt;\n$body$\n&lt;/$list&gt;\n&lt;/$set&gt;\n&lt;/$list&gt;\n&lt;/$set&gt;\n&lt;/$list&gt;\n\\end\n\n\\define update-all-actions()\n&lt;$macrocall $name=\&quot;each-updateable-plugin\&quot; body=\&quot;\&quot;\&quot;\n&lt;&lt;install-plugin-actions&gt;&gt;\n\&quot;\&quot;\&quot;/&gt;\n\\end\n\n\\define update-count()\n&lt;$wikify name=\&quot;count-filter\&quot; text=&lt;&lt;each-updateable-plugin \&quot;&amp;#91;&amp;#91;&lt;$text text=&lt;&lt;assetInfo&gt;&gt;/&gt;]]\&quot;&gt;&gt;&gt;&lt;$count filter=&lt;&lt;count-filter&gt;&gt;/&gt;&lt;/$wikify&gt;\n\\end\n\n&lt;$button actions=&lt;&lt;update-all-actions&gt;&gt; class=\&quot;tc-btn-invisible tc-install-plugin tc-reinstall-upgrade\&quot;&gt;\n{{$:/core/images/download-button}} {{||$:/language/ControlPanel/Plugins/Updates/UpdateAll/Caption}}\n&lt;/$button&gt;\n\n&lt;div class=\&quot;tc-plugin-library-listing\&quot;&gt;\n&lt;$macrocall $name=\&quot;each-updateable-plugin\&quot; body=\&quot;\&quot;\&quot;\n&lt;$macrocall $name=\&quot;display-plugin-info\&quot; type={{{ [&lt;assetInfo&gt;get[original-plugin-type]] }}}/&gt;\n\&quot;\&quot;\&quot;/&gt;\n&lt;/div&gt;\n&quot;
},
&quot;$:/core/ui/ControlPanel/Plugins/AddPlugins&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Plugins/AddPlugins&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/ControlPanel/Plugins/\n\n&lt;$button message=\&quot;tm-modal\&quot; param=\&quot;$:/core/ui/ControlPanel/Modals/AddPlugins\&quot; tooltip={{$:/language/ControlPanel/Plugins/Add/Hint}} class=\&quot;tc-btn-big-green tc-primary-btn\&quot;&gt;\n{{$:/core/images/download-button}} &lt;&lt;lingo Add/Caption&gt;&gt;\n&lt;/$button&gt;\n&quot;
},
&quot;$:/core/ui/ControlPanel/Plugins/Installed/Languages&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Plugins/Installed/Languages&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/Plugins/Languages/Caption}} (&lt;$count filter=\&quot;[!has[draft.of]plugin-type[language]]\&quot;/&gt;)&quot;,
&quot;text&quot;: &quot;&lt;&lt;plugin-table language&gt;&gt;\n&quot;
},
&quot;$:/core/ui/ControlPanel/Plugins/Installed/Plugins&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Plugins/Installed/Plugins&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/Plugins/Plugins/Caption}} (&lt;$count filter=\&quot;[!has[draft.of]plugin-type[plugin]]\&quot;/&gt;)&quot;,
&quot;text&quot;: &quot;&lt;&lt;plugin-table plugin&gt;&gt;\n&quot;
},
&quot;$:/core/ui/ControlPanel/Plugins/Installed/Themes&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Plugins/Installed/Themes&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/Plugins/Themes/Caption}} (&lt;$count filter=\&quot;[!has[draft.of]plugin-type[theme]]\&quot;/&gt;)&quot;,
&quot;text&quot;: &quot;&lt;&lt;plugin-table theme&gt;&gt;\n&quot;
},
&quot;$:/core/ui/ControlPanel/Plugins&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Plugins&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/Plugins/Caption}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/ControlPanel/Plugins/\n\n\\define plugin-table(type)\n&lt;$set name=\&quot;plugin-type\&quot; value=\&quot;\&quot;\&quot;$type$\&quot;\&quot;\&quot;&gt;\n&lt;$set name=\&quot;qualified-state\&quot; value=&lt;&lt;qualify \&quot;$:/state/plugin-info\&quot;&gt;&gt;&gt;\n&lt;$list filter=\&quot;[!has[draft.of]plugin-type[$type$]sort[name]]\&quot; emptyMessage=&lt;&lt;lingo \&quot;Empty/Hint\&quot;&gt;&gt; template=\&quot;$:/core/ui/Components/plugin-info\&quot;/&gt;\n&lt;/$set&gt;\n&lt;/$set&gt;\n\\end\n\n{{$:/core/ui/ControlPanel/Plugins/AddPlugins}}\n\n&lt;&lt;lingo Installed/Hint&gt;&gt;\n\n&lt;$macrocall $name=\&quot;tabs\&quot; tabsList=\&quot;[[$:/core/ui/ControlPanel/Plugins/Installed/Plugins]] [[$:/core/ui/ControlPanel/Plugins/Installed/Themes]] [[$:/core/ui/ControlPanel/Plugins/Installed/Languages]]\&quot; default=\&quot;$:/core/ui/ControlPanel/Plugins/Installed/Plugins\&quot; explicitState=\&quot;$:/state/tab--86143343\&quot;/&gt;\n&quot;
},
&quot;$:/core/ui/ControlPanel/Saving/DownloadSaver&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Saving/DownloadSaver&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel/Saving&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/Saving/DownloadSaver/Caption}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/ControlPanel/Saving/DownloadSaver/\n\n&lt;&lt;lingo Hint&gt;&gt;\n\n!! &lt;$link to=\&quot;$:/config/DownloadSaver/AutoSave\&quot;&gt;&lt;&lt;lingo AutoSave/Hint&gt;&gt;&lt;/$link&gt;\n\n&lt;$checkbox tiddler=\&quot;$:/config/DownloadSaver/AutoSave\&quot; field=\&quot;text\&quot; checked=\&quot;yes\&quot; unchecked=\&quot;no\&quot; default=\&quot;no\&quot;&gt; &lt;&lt;lingo AutoSave/Description&gt;&gt; &lt;/$checkbox&gt;\n&quot;
},
&quot;$:/core/ui/ControlPanel/Saving/General&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Saving/General&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel/Saving&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/Saving/General/Caption}}&quot;,
&quot;list-before&quot;: &quot;&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/ControlPanel/Settings/\n\n{{$:/language/ControlPanel/Saving/General/Hint}}\n\n!! &lt;$link to=\&quot;$:/config/AutoSave\&quot;&gt;&lt;&lt;lingo AutoSave/Caption&gt;&gt;&lt;/$link&gt;\n\n&lt;&lt;lingo AutoSave/Hint&gt;&gt;\n\n&lt;$radio tiddler=\&quot;$:/config/AutoSave\&quot; value=\&quot;yes\&quot;&gt; &lt;&lt;lingo AutoSave/Enabled/Description&gt;&gt; &lt;/$radio&gt;\n\n&lt;$radio tiddler=\&quot;$:/config/AutoSave\&quot; value=\&quot;no\&quot;&gt; &lt;&lt;lingo AutoSave/Disabled/Description&gt;&gt; &lt;/$radio&gt;\n&quot;
},
&quot;$:/core/ui/ControlPanel/Saving/GitHub&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Saving/GitHub&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel/Saving&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/Saving/GitService/GitHub/Caption}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/ControlPanel/Saving/GitService/\n\\define service-name() ~GitHub\n\n&lt;&lt;lingo Description&gt;&gt;\n\n|&lt;&lt;lingo UserName&gt;&gt; |&lt;$edit-text tiddler=\&quot;$:/GitHub/Username\&quot; default=\&quot;\&quot; tag=\&quot;input\&quot;/&gt; |\n|&lt;&lt;lingo GitHub/Password&gt;&gt; |&lt;$password name=\&quot;github\&quot;/&gt; |\n|&lt;&lt;lingo Repo&gt;&gt; |&lt;$edit-text tiddler=\&quot;$:/GitHub/Repo\&quot; default=\&quot;\&quot; tag=\&quot;input\&quot;/&gt; |\n|&lt;&lt;lingo Branch&gt;&gt; |&lt;$edit-text tiddler=\&quot;$:/GitHub/Branch\&quot; default=\&quot;master\&quot; tag=\&quot;input\&quot;/&gt; |\n|&lt;&lt;lingo Path&gt;&gt; |&lt;$edit-text tiddler=\&quot;$:/GitHub/Path\&quot; default=\&quot;\&quot; tag=\&quot;input\&quot;/&gt; |\n|&lt;&lt;lingo Filename&gt;&gt; |&lt;$edit-text tiddler=\&quot;$:/GitHub/Filename\&quot; default=\&quot;\&quot; tag=\&quot;input\&quot;/&gt; |\n|&lt;&lt;lingo ServerURL&gt;&gt; |&lt;$edit-text tiddler=\&quot;$:/GitHub/ServerURL\&quot; default=\&quot;https://api.github.com\&quot; tag=\&quot;input\&quot;/&gt; |&quot;
},
&quot;$:/core/ui/ControlPanel/Saving/GitLab&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Saving/GitLab&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel/Saving&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/Saving/GitService/GitLab/Caption}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/ControlPanel/Saving/GitService/\n\\define service-name() ~GitLab\n\n&lt;&lt;lingo Description&gt;&gt;\n\n|&lt;&lt;lingo UserName&gt;&gt; |&lt;$edit-text tiddler=\&quot;$:/GitLab/Username\&quot; default=\&quot;\&quot; tag=\&quot;input\&quot;/&gt; |\n|&lt;&lt;lingo GitLab/Password&gt;&gt; |&lt;$password name=\&quot;gitlab\&quot;/&gt; |\n|&lt;&lt;lingo Repo&gt;&gt; |&lt;$edit-text tiddler=\&quot;$:/GitLab/Repo\&quot; default=\&quot;\&quot; tag=\&quot;input\&quot;/&gt; |\n|&lt;&lt;lingo Branch&gt;&gt; |&lt;$edit-text tiddler=\&quot;$:/GitLab/Branch\&quot; default=\&quot;master\&quot; tag=\&quot;input\&quot;/&gt; |\n|&lt;&lt;lingo Path&gt;&gt; |&lt;$edit-text tiddler=\&quot;$:/GitLab/Path\&quot; default=\&quot;\&quot; tag=\&quot;input\&quot;/&gt; |\n|&lt;&lt;lingo Filename&gt;&gt; |&lt;$edit-text tiddler=\&quot;$:/GitLab/Filename\&quot; default=\&quot;\&quot; tag=\&quot;input\&quot;/&gt; |\n|&lt;&lt;lingo ServerURL&gt;&gt; |&lt;$edit-text tiddler=\&quot;$:/GitLab/ServerURL\&quot; default=\&quot;https://gitlab.com/api/v4\&quot; tag=\&quot;input\&quot;/&gt; |&quot;
},
&quot;$:/core/ui/ControlPanel/Saving/TiddlySpot&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Saving/TiddlySpot&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel/Saving&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/Saving/TiddlySpot/Caption}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/ControlPanel/Saving/TiddlySpot/\n\n\\define siteURL(path)\nhttp://$(userName)$.tiddlyspot.com/$path$/\n\\end\n\\define siteLink(path)\n&lt;$reveal type=\&quot;nomatch\&quot; state=\&quot;$:/UploadName\&quot; text=\&quot;\&quot;&gt;\n&lt;$set name=\&quot;userName\&quot; value={{$:/UploadName}}&gt;\n&lt;$reveal type=\&quot;match\&quot; state=\&quot;$:/UploadURL\&quot; text=\&quot;\&quot;&gt;\n&lt;&lt;siteURL $path$&gt;&gt;\n&lt;/$reveal&gt;\n&lt;$reveal type=\&quot;nomatch\&quot; state=\&quot;$:/UploadURL\&quot; text=\&quot;\&quot;&gt;\n&lt;$macrocall $name=resolvePath source={{$:/UploadBackupDir}} root={{$:/UploadURL}}&gt;&gt;\n&lt;/$reveal&gt;\n&lt;/$set&gt;\n&lt;/$reveal&gt;\n\\end\n\n&lt;div class=\&quot;tc-message-box\&quot;&gt;\n\n&lt;&lt;lingo ReadOnly&gt;&gt;\n\n&lt;/div&gt;\n\n&lt;&lt;lingo Description&gt;&gt;\n\n|&lt;&lt;lingo UserName&gt;&gt; |&lt;$edit-text tiddler=\&quot;$:/UploadName\&quot; default=\&quot;\&quot; tag=\&quot;input\&quot;/&gt; |\n|&lt;&lt;lingo Password&gt;&gt; |&lt;$password name=\&quot;upload\&quot;/&gt; |\n|&lt;&lt;lingo Backups&gt;&gt; |&lt;&lt;siteLink backup&gt;&gt; |\n|&lt;&lt;lingo ControlPanel&gt;&gt; |&lt;&lt;siteLink controlpanel&gt;&gt; |\n\n''&lt;&lt;lingo Advanced/Heading&gt;&gt;''\n\n|&lt;&lt;lingo ServerURL&gt;&gt; |&lt;$edit-text tiddler=\&quot;$:/UploadURL\&quot; default=\&quot;\&quot; tag=\&quot;input\&quot;/&gt; |\n|&lt;&lt;lingo Filename&gt;&gt; |&lt;$edit-text tiddler=\&quot;$:/UploadFilename\&quot; default=\&quot;index.html\&quot; tag=\&quot;input\&quot;/&gt; |\n|&lt;&lt;lingo UploadDir&gt;&gt; |&lt;$edit-text tiddler=\&quot;$:/UploadDir\&quot; default=\&quot;.\&quot; tag=\&quot;input\&quot;/&gt; |\n|&lt;&lt;lingo BackupDir&gt;&gt; |&lt;$edit-text tiddler=\&quot;$:/UploadBackupDir\&quot; default=\&quot;.\&quot; tag=\&quot;input\&quot;/&gt; |\n\n&lt;&lt;lingo TiddlySpot/Hint&gt;&gt;\n&quot;
},
&quot;$:/core/ui/ControlPanel/Saving/Gitea&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Saving/Gitea&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel/Saving&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/Saving/GitService/Gitea/Caption}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/ControlPanel/Saving/GitService/\n\\define service-name() ~Gitea\n\n&lt;&lt;lingo Description&gt;&gt;\n\n|&lt;&lt;lingo UserName&gt;&gt; |&lt;$edit-text tiddler=\&quot;$:/Gitea/Username\&quot; default=\&quot;\&quot; tag=\&quot;input\&quot;/&gt; |\n|&lt;&lt;lingo Gitea/Password&gt;&gt; |&lt;$password name=\&quot;Gitea\&quot;/&gt; |\n|&lt;&lt;lingo Repo&gt;&gt; |&lt;$edit-text tiddler=\&quot;$:/Gitea/Repo\&quot; default=\&quot;\&quot; tag=\&quot;input\&quot;/&gt; |\n|&lt;&lt;lingo Branch&gt;&gt; |&lt;$edit-text tiddler=\&quot;$:/Gitea/Branch\&quot; default=\&quot;master\&quot; tag=\&quot;input\&quot;/&gt; |\n|&lt;&lt;lingo Path&gt;&gt; |&lt;$edit-text tiddler=\&quot;$:/Gitea/Path\&quot; default=\&quot;\&quot; tag=\&quot;input\&quot;/&gt; |\n|&lt;&lt;lingo Filename&gt;&gt; |&lt;$edit-text tiddler=\&quot;$:/Gitea/Filename\&quot; default=\&quot;\&quot; tag=\&quot;input\&quot;/&gt; |\n|&lt;&lt;lingo ServerURL&gt;&gt; |&lt;$edit-text tiddler=\&quot;$:/Gitea/ServerURL\&quot; default=\&quot;https://gitea/api/v1\&quot; tag=\&quot;input\&quot;/&gt; |\n&quot;
},
&quot;$:/core/ui/ControlPanel/Saving&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Saving&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/Saving/Caption}}&quot;,
&quot;text&quot;: &quot;{{$:/language/ControlPanel/Saving/Hint}}\n\n&lt;div class=\&quot;tc-control-panel\&quot;&gt;\n&lt;$macrocall $name=\&quot;tabs\&quot; tabsList=\&quot;[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Saving]!has[draft.of]]\&quot; default=\&quot;$:/core/ui/ControlPanel/Saving/General\&quot; explicitState=\&quot;$:/state/tab-2065006209\&quot;/&gt;\n&lt;/div&gt;\n&quot;
},
&quot;$:/core/buttonstyles/Borderless&quot;: {
&quot;title&quot;: &quot;$:/core/buttonstyles/Borderless&quot;,
&quot;tags&quot;: &quot;$:/tags/ToolbarButtonStyle&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/Settings/ToolbarButtonStyle/Styles/Borderless}}&quot;,
&quot;text&quot;: &quot;tc-btn-invisible&quot;
},
&quot;$:/core/buttonstyles/Boxed&quot;: {
&quot;title&quot;: &quot;$:/core/buttonstyles/Boxed&quot;,
&quot;tags&quot;: &quot;$:/tags/ToolbarButtonStyle&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/Settings/ToolbarButtonStyle/Styles/Boxed}}&quot;,
&quot;text&quot;: &quot;tc-btn-boxed&quot;
},
&quot;$:/core/buttonstyles/Rounded&quot;: {
&quot;title&quot;: &quot;$:/core/buttonstyles/Rounded&quot;,
&quot;tags&quot;: &quot;$:/tags/ToolbarButtonStyle&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/Settings/ToolbarButtonStyle/Styles/Rounded}}&quot;,
&quot;text&quot;: &quot;tc-btn-rounded&quot;
},
&quot;$:/core/ui/ControlPanel/Settings/CamelCase&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Settings/CamelCase&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel/Settings&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/Settings/CamelCase/Caption}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/ControlPanel/Settings/CamelCase/\n&lt;&lt;lingo Hint&gt;&gt;\n\n&lt;$checkbox tiddler=\&quot;$:/config/WikiParserRules/Inline/wikilink\&quot; field=\&quot;text\&quot; checked=\&quot;enable\&quot; unchecked=\&quot;disable\&quot; default=\&quot;enable\&quot;&gt; &lt;$link to=\&quot;$:/config/WikiParserRules/Inline/wikilink\&quot;&gt;&lt;&lt;lingo Description&gt;&gt;&lt;/$link&gt; &lt;/$checkbox&gt;\n&quot;
},
&quot;$:/core/ui/ControlPanel/Settings/DefaultMoreSidebarTab&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Settings/DefaultMoreSidebarTab&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/Settings/DefaultMoreSidebarTab/Caption}}&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel/Settings&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/ControlPanel/Settings/DefaultMoreSidebarTab/\n\n&lt;$link to=\&quot;$:/config/DefaultMoreSidebarTab\&quot;&gt;&lt;&lt;lingo Hint&gt;&gt;&lt;/$link&gt;\n\n&lt;$select tiddler=\&quot;$:/config/DefaultMoreSidebarTab\&quot;&gt;\n&lt;$list filter=\&quot;[all[shadows+tiddlers]tag[$:/tags/MoreSideBar]!has[draft.of]]\&quot;&gt;\n&lt;option value=&lt;&lt;currentTiddler&gt;&gt;&gt;&lt;$transclude field=\&quot;caption\&quot;&gt;&lt;$text text=&lt;&lt;currentTiddler&gt;&gt;/&gt;&lt;/$transclude&gt;&lt;/option&gt;\n&lt;/$list&gt;\n&lt;/$select&gt;\n&quot;
},
&quot;$:/core/ui/ControlPanel/Settings/DefaultSidebarTab&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Settings/DefaultSidebarTab&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/Settings/DefaultSidebarTab/Caption}}&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel/Settings&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/ControlPanel/Settings/DefaultSidebarTab/\n\n&lt;$link to=\&quot;$:/config/DefaultSidebarTab\&quot;&gt;&lt;&lt;lingo Hint&gt;&gt;&lt;/$link&gt;\n\n&lt;$select tiddler=\&quot;$:/config/DefaultSidebarTab\&quot;&gt;\n&lt;$list filter=\&quot;[all[shadows+tiddlers]tag[$:/tags/SideBar]!has[draft.of]]\&quot;&gt;\n&lt;option value=&lt;&lt;currentTiddler&gt;&gt;&gt;&lt;$transclude field=\&quot;caption\&quot;&gt;&lt;$text text=&lt;&lt;currentTiddler&gt;&gt;/&gt;&lt;/$transclude&gt;&lt;/option&gt;\n&lt;/$list&gt;\n&lt;/$select&gt;\n&quot;
},
&quot;$:/core/ui/ControlPanel/Settings/EditorToolbar&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Settings/EditorToolbar&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel/Settings&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/Settings/EditorToolbar/Caption}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/ControlPanel/Settings/EditorToolbar/\n&lt;&lt;lingo Hint&gt;&gt;\n\n&lt;$checkbox tiddler=\&quot;$:/config/TextEditor/EnableToolbar\&quot; field=\&quot;text\&quot; checked=\&quot;yes\&quot; unchecked=\&quot;no\&quot; default=\&quot;yes\&quot;&gt; &lt;$link to=\&quot;$:/config/TextEditor/EnableToolbar\&quot;&gt;&lt;&lt;lingo Description&gt;&gt;&lt;/$link&gt; &lt;/$checkbox&gt;\n\n&quot;
},
&quot;$:/core/ui/ControlPanel/Settings/InfoPanelMode&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Settings/InfoPanelMode&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel/Settings&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/Settings/InfoPanelMode/Caption}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/ControlPanel/Settings/InfoPanelMode/\n&lt;$link to=\&quot;$:/config/TiddlerInfo/Mode\&quot;&gt;&lt;&lt;lingo Hint&gt;&gt;&lt;/$link&gt;\n\n&lt;$radio tiddler=\&quot;$:/config/TiddlerInfo/Mode\&quot; value=\&quot;popup\&quot;&gt; &lt;&lt;lingo Popup/Description&gt;&gt; &lt;/$radio&gt;\n\n&lt;$radio tiddler=\&quot;$:/config/TiddlerInfo/Mode\&quot; value=\&quot;sticky\&quot;&gt; &lt;&lt;lingo Sticky/Description&gt;&gt; &lt;/$radio&gt;\n&quot;
},
&quot;$:/core/ui/ControlPanel/Settings/LinkToBehaviour&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Settings/LinkToBehaviour&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel/Settings&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/Settings/LinkToBehaviour/Caption}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/ControlPanel/Settings/LinkToBehaviour/\n\n&lt;$link to=\&quot;$:/config/Navigation/openLinkFromInsideRiver\&quot;&gt;&lt;&lt;lingo \&quot;InsideRiver/Hint\&quot;&gt;&gt;&lt;/$link&gt;\n\n&lt;$select tiddler=\&quot;$:/config/Navigation/openLinkFromInsideRiver\&quot;&gt;\n &lt;option value=\&quot;above\&quot;&gt;&lt;&lt;lingo \&quot;OpenAbove\&quot;&gt;&gt;&lt;/option&gt;\n &lt;option value=\&quot;below\&quot;&gt;&lt;&lt;lingo \&quot;OpenBelow\&quot;&gt;&gt;&lt;/option&gt;\n &lt;option value=\&quot;top\&quot;&gt;&lt;&lt;lingo \&quot;OpenAtTop\&quot;&gt;&gt;&lt;/option&gt;\n &lt;option value=\&quot;bottom\&quot;&gt;&lt;&lt;lingo \&quot;OpenAtBottom\&quot;&gt;&gt;&lt;/option&gt;\n&lt;/$select&gt;\n\n&lt;$link to=\&quot;$:/config/Navigation/openLinkFromOutsideRiver\&quot;&gt;&lt;&lt;lingo \&quot;OutsideRiver/Hint\&quot;&gt;&gt;&lt;/$link&gt;\n\n&lt;$select tiddler=\&quot;$:/config/Navigation/openLinkFromOutsideRiver\&quot;&gt;\n &lt;option value=\&quot;top\&quot;&gt;&lt;&lt;lingo \&quot;OpenAtTop\&quot;&gt;&gt;&lt;/option&gt;\n &lt;option value=\&quot;bottom\&quot;&gt;&lt;&lt;lingo \&quot;OpenAtBottom\&quot;&gt;&gt;&lt;/option&gt;\n&lt;/$select&gt;\n&quot;
},
&quot;$:/core/ui/ControlPanel/Settings/MissingLinks&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Settings/MissingLinks&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel/Settings&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/Settings/MissingLinks/Caption}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/ControlPanel/Settings/MissingLinks/\n&lt;&lt;lingo Hint&gt;&gt;\n\n&lt;$checkbox tiddler=\&quot;$:/config/MissingLinks\&quot; field=\&quot;text\&quot; checked=\&quot;yes\&quot; unchecked=\&quot;no\&quot; default=\&quot;yes\&quot;&gt; &lt;$link to=\&quot;$:/config/MissingLinks\&quot;&gt;&lt;&lt;lingo Description&gt;&gt;&lt;/$link&gt; &lt;/$checkbox&gt;\n\n&quot;
},
&quot;$:/core/ui/ControlPanel/Settings/NavigationAddressBar&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Settings/NavigationAddressBar&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel/Settings&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/Settings/NavigationAddressBar/Caption}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/ControlPanel/Settings/NavigationAddressBar/\n\n&lt;$link to=\&quot;$:/config/Navigation/UpdateAddressBar\&quot;&gt;&lt;&lt;lingo Hint&gt;&gt;&lt;/$link&gt;\n\n&lt;$radio tiddler=\&quot;$:/config/Navigation/UpdateAddressBar\&quot; value=\&quot;permaview\&quot;&gt; &lt;&lt;lingo Permaview/Description&gt;&gt; &lt;/$radio&gt;\n\n&lt;$radio tiddler=\&quot;$:/config/Navigation/UpdateAddressBar\&quot; value=\&quot;permalink\&quot;&gt; &lt;&lt;lingo Permalink/Description&gt;&gt; &lt;/$radio&gt;\n\n&lt;$radio tiddler=\&quot;$:/config/Navigation/UpdateAddressBar\&quot; value=\&quot;no\&quot;&gt; &lt;&lt;lingo No/Description&gt;&gt; &lt;/$radio&gt;\n&quot;
},
&quot;$:/core/ui/ControlPanel/Settings/NavigationHistory&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Settings/NavigationHistory&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel/Settings&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/Settings/NavigationHistory/Caption}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/ControlPanel/Settings/NavigationHistory/\n&lt;$link to=\&quot;$:/config/Navigation/UpdateHistory\&quot;&gt;&lt;&lt;lingo Hint&gt;&gt;&lt;/$link&gt;\n\n&lt;$radio tiddler=\&quot;$:/config/Navigation/UpdateHistory\&quot; value=\&quot;yes\&quot;&gt; &lt;&lt;lingo Yes/Description&gt;&gt; &lt;/$radio&gt;\n\n&lt;$radio tiddler=\&quot;$:/config/Navigation/UpdateHistory\&quot; value=\&quot;no\&quot;&gt; &lt;&lt;lingo No/Description&gt;&gt; &lt;/$radio&gt;\n&quot;
},
&quot;$:/core/ui/ControlPanel/Settings/NavigationPermalinkviewMode&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Settings/NavigationPermalinkviewMode&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel/Settings&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/Settings/NavigationPermalinkviewMode/Caption}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/ControlPanel/Settings/NavigationPermalinkviewMode/\n&lt;&lt;lingo Hint&gt;&gt;\n\n&lt;$checkbox tiddler=\&quot;$:/config/Navigation/Permalinkview/CopyToClipboard\&quot; field=\&quot;text\&quot; checked=\&quot;yes\&quot; unchecked=\&quot;no\&quot; default=\&quot;yes\&quot;&gt; &lt;$link to=\&quot;$:/config/Navigation/Permalinkview/CopyToClipboard\&quot;&gt;&lt;&lt;lingo CopyToClipboard/Description&gt;&gt;&lt;/$link&gt; &lt;/$checkbox&gt;\n\n&lt;$checkbox tiddler=\&quot;$:/config/Navigation/Permalinkview/UpdateAddressBar\&quot; field=\&quot;text\&quot; checked=\&quot;yes\&quot; unchecked=\&quot;no\&quot; default=\&quot;yes\&quot;&gt; &lt;$link to=\&quot;$:/config/Navigation/Permalinkview/UpdateAddressBar\&quot;&gt;&lt;&lt;lingo UpdateAddressBar/Description&gt;&gt;&lt;/$link&gt; &lt;/$checkbox&gt;\n&quot;
},
&quot;$:/core/ui/ControlPanel/Settings/PerformanceInstrumentation&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Settings/PerformanceInstrumentation&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel/Settings&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/Settings/PerformanceInstrumentation/Caption}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/ControlPanel/Settings/PerformanceInstrumentation/\n&lt;&lt;lingo Hint&gt;&gt;\n\n&lt;$checkbox tiddler=\&quot;$:/config/Performance/Instrumentation\&quot; field=\&quot;text\&quot; checked=\&quot;yes\&quot; unchecked=\&quot;no\&quot; default=\&quot;no\&quot;&gt; &lt;$link to=\&quot;$:/config/Performance/Instrumentation\&quot;&gt;&lt;&lt;lingo Description&gt;&gt;&lt;/$link&gt; &lt;/$checkbox&gt;\n&quot;
},
&quot;$:/core/ui/ControlPanel/Settings/TitleLinks&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Settings/TitleLinks&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel/Settings&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/Settings/TitleLinks/Caption}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/ControlPanel/Settings/TitleLinks/\n&lt;$link to=\&quot;$:/config/Tiddlers/TitleLinks\&quot;&gt;&lt;&lt;lingo Hint&gt;&gt;&lt;/$link&gt;\n\n&lt;$radio tiddler=\&quot;$:/config/Tiddlers/TitleLinks\&quot; value=\&quot;yes\&quot;&gt; &lt;&lt;lingo Yes/Description&gt;&gt; &lt;/$radio&gt;\n\n&lt;$radio tiddler=\&quot;$:/config/Tiddlers/TitleLinks\&quot; value=\&quot;no\&quot;&gt; &lt;&lt;lingo No/Description&gt;&gt; &lt;/$radio&gt;\n&quot;
},
&quot;$:/core/ui/ControlPanel/Settings/ToolbarButtonStyle&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Settings/ToolbarButtonStyle&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel/Settings&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/Settings/ToolbarButtonStyle/Caption}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/ControlPanel/Settings/ToolbarButtonStyle/\n&lt;$link to=\&quot;$:/config/Toolbar/ButtonClass\&quot;&gt;&lt;&lt;lingo \&quot;Hint\&quot;&gt;&gt;&lt;/$link&gt;\n\n&lt;$select tiddler=\&quot;$:/config/Toolbar/ButtonClass\&quot;&gt;\n&lt;$list filter=\&quot;[all[shadows+tiddlers]tag[$:/tags/ToolbarButtonStyle]]\&quot;&gt;\n&lt;option value={{!!text}}&gt;{{!!caption}}&lt;/option&gt;\n&lt;/$list&gt;\n&lt;/$select&gt;\n&quot;
},
&quot;$:/core/ui/ControlPanel/Settings/ToolbarButtons&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Settings/ToolbarButtons&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel/Settings&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/Settings/ToolbarButtons/Caption}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/ControlPanel/Settings/ToolbarButtons/\n&lt;&lt;lingo Hint&gt;&gt;\n\n&lt;$checkbox tiddler=\&quot;$:/config/Toolbar/Icons\&quot; field=\&quot;text\&quot; checked=\&quot;yes\&quot; unchecked=\&quot;no\&quot; default=\&quot;yes\&quot;&gt; &lt;$link to=\&quot;$:/config/Toolbar/Icons\&quot;&gt;&lt;&lt;lingo Icons/Description&gt;&gt;&lt;/$link&gt; &lt;/$checkbox&gt;\n\n&lt;$checkbox tiddler=\&quot;$:/config/Toolbar/Text\&quot; field=\&quot;text\&quot; checked=\&quot;yes\&quot; unchecked=\&quot;no\&quot; default=\&quot;no\&quot;&gt; &lt;$link to=\&quot;$:/config/Toolbar/Text\&quot;&gt;&lt;&lt;lingo Text/Description&gt;&gt;&lt;/$link&gt; &lt;/$checkbox&gt;\n&quot;
},
&quot;$:/core/ui/ControlPanel/Settings&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Settings&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/Settings/Caption}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/ControlPanel/Settings/\n\n&lt;&lt;lingo Hint&gt;&gt;\n\n&lt;$list filter=\&quot;[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Settings]]\&quot;&gt;\n\n&lt;div style=\&quot;border-top:1px solid #eee;\&quot;&gt;\n\n!! &lt;$link&gt;&lt;$transclude field=\&quot;caption\&quot;/&gt;&lt;/$link&gt;\n\n&lt;$transclude/&gt;\n\n&lt;/div&gt;\n\n&lt;/$list&gt;\n&quot;
},
&quot;$:/core/ui/ControlPanel/StoryView&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/StoryView&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel/Appearance&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/StoryView/Caption}}&quot;,
&quot;text&quot;: &quot;{{$:/snippets/viewswitcher}}\n&quot;
},
&quot;$:/core/ui/ControlPanel/Stylesheets&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Stylesheets&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel/Advanced&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/Stylesheets/Caption}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/ControlPanel/\n\n&lt;&lt;lingo Stylesheets/Hint&gt;&gt;\n\n{{$:/snippets/peek-stylesheets}}\n&quot;
},
&quot;$:/core/ui/ControlPanel/Theme&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Theme&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel/Appearance&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/Theme/Caption}}&quot;,
&quot;text&quot;: &quot;{{$:/snippets/themeswitcher}}\n&quot;
},
&quot;$:/core/ui/ControlPanel/TiddlerFields&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/TiddlerFields&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel/Advanced&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/TiddlerFields/Caption}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/ControlPanel/\n\n&lt;&lt;lingo TiddlerFields/Hint&gt;&gt;\n\n{{$:/snippets/allfields}}&quot;
},
&quot;$:/core/ui/ControlPanel/Toolbars/EditToolbar&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Toolbars/EditToolbar&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel/Toolbars&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/Toolbars/EditToolbar/Caption}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/TiddlerInfo/\n\n\\define config-base() $:/config/EditToolbarButtons/Visibility/\n\n{{$:/language/ControlPanel/Toolbars/EditToolbar/Hint}}\n\n&lt;$set name=\&quot;tv-config-toolbar-icons\&quot; value=\&quot;yes\&quot;&gt;\n\n&lt;$set name=\&quot;tv-config-toolbar-text\&quot; value=\&quot;yes\&quot;&gt;\n\n&lt;$macrocall $name=\&quot;list-tagged-draggable\&quot; tag=\&quot;$:/tags/EditToolbar\&quot; itemTemplate=\&quot;$:/core/ui/ControlPanel/Toolbars/ItemTemplate\&quot;/&gt;\n\n&lt;/$set&gt;\n\n&lt;/$set&gt;&quot;
},
&quot;$:/core/ui/ControlPanel/Toolbars/EditorItemTemplate&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Toolbars/EditorItemTemplate&quot;,
&quot;text&quot;: &quot;\\define config-title()\n$(config-base)$$(currentTiddler)$\n\\end\n\n&lt;$draggable tiddler=&lt;&lt;currentTiddler&gt;&gt;&gt;\n&lt;$checkbox tiddler=&lt;&lt;config-title&gt;&gt; field=\&quot;text\&quot; checked=\&quot;show\&quot; unchecked=\&quot;hide\&quot; default=\&quot;show\&quot;/&gt; &lt;span class=\&quot;tc-icon-wrapper\&quot;&gt;&lt;$transclude tiddler={{!!icon}}/&gt;&lt;/span&gt; &lt;$transclude field=\&quot;caption\&quot;/&gt; -- &lt;i class=\&quot;tc-muted\&quot;&gt;&lt;$transclude field=\&quot;description\&quot;/&gt;&lt;/i&gt;\n&lt;/$draggable&gt;\n&quot;
},
&quot;$:/core/ui/ControlPanel/Toolbars/EditorToolbar&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Toolbars/EditorToolbar&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel/Toolbars&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/Toolbars/EditorToolbar/Caption}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/TiddlerInfo/\n\n\\define config-base() $:/config/EditorToolbarButtons/Visibility/\n\n{{$:/language/ControlPanel/Toolbars/EditorToolbar/Hint}}\n\n&lt;$macrocall $name=\&quot;list-tagged-draggable\&quot; tag=\&quot;$:/tags/EditorToolbar\&quot; itemTemplate=\&quot;$:/core/ui/ControlPanel/Toolbars/EditorItemTemplate\&quot;/&gt;\n&quot;
},
&quot;$:/core/ui/ControlPanel/Toolbars/ItemTemplate&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Toolbars/ItemTemplate&quot;,
&quot;text&quot;: &quot;\\define config-title()\n$(config-base)$$(currentTiddler)$\n\\end\n\n&lt;$draggable tiddler=&lt;&lt;currentTiddler&gt;&gt;&gt;\n&lt;$checkbox tiddler=&lt;&lt;config-title&gt;&gt; field=\&quot;text\&quot; checked=\&quot;show\&quot; unchecked=\&quot;hide\&quot; default=\&quot;show\&quot;/&gt; &lt;span class=\&quot;tc-icon-wrapper\&quot;&gt; &lt;$transclude field=\&quot;caption\&quot;/&gt; &lt;i class=\&quot;tc-muted\&quot;&gt;-- &lt;$transclude field=\&quot;description\&quot;/&gt;&lt;/i&gt;&lt;/span&gt;\n&lt;/$draggable&gt;\n&quot;
},
&quot;$:/core/ui/ControlPanel/Toolbars/PageControls&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Toolbars/PageControls&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel/Toolbars&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/Toolbars/PageControls/Caption}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/TiddlerInfo/\n\n\\define config-base() $:/config/PageControlButtons/Visibility/\n\n{{$:/language/ControlPanel/Toolbars/PageControls/Hint}}\n\n&lt;$set name=\&quot;tv-config-toolbar-icons\&quot; value=\&quot;yes\&quot;&gt;\n\n&lt;$set name=\&quot;tv-config-toolbar-text\&quot; value=\&quot;yes\&quot;&gt;\n\n&lt;$macrocall $name=\&quot;list-tagged-draggable\&quot; tag=\&quot;$:/tags/PageControls\&quot; itemTemplate=\&quot;$:/core/ui/ControlPanel/Toolbars/ItemTemplate\&quot;/&gt;\n\n&lt;/$set&gt;\n\n&lt;/$set&gt;\n&quot;
},
&quot;$:/core/ui/ControlPanel/Toolbars/ViewToolbar&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Toolbars/ViewToolbar&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel/Toolbars&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/Toolbars/ViewToolbar/Caption}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/TiddlerInfo/\n\n\\define config-base() $:/config/ViewToolbarButtons/Visibility/\n\n{{$:/language/ControlPanel/Toolbars/ViewToolbar/Hint}}\n\n&lt;$set name=\&quot;tv-config-toolbar-icons\&quot; value=\&quot;yes\&quot;&gt;\n\n&lt;$set name=\&quot;tv-config-toolbar-text\&quot; value=\&quot;yes\&quot;&gt;\n\n&lt;$macrocall $name=\&quot;list-tagged-draggable\&quot; tag=\&quot;$:/tags/ViewToolbar\&quot; itemTemplate=\&quot;$:/core/ui/ControlPanel/Toolbars/ItemTemplate\&quot;/&gt;\n\n&lt;/$set&gt;\n\n&lt;/$set&gt;\n&quot;
},
&quot;$:/core/ui/ControlPanel/Toolbars&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Toolbars&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel/Appearance&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/Toolbars/Caption}}&quot;,
&quot;text&quot;: &quot;{{$:/language/ControlPanel/Toolbars/Hint}}\n\n&lt;div class=\&quot;tc-control-panel\&quot;&gt;\n&lt;$macrocall $name=\&quot;tabs\&quot; tabsList=\&quot;[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Toolbars]!has[draft.of]]\&quot; default=\&quot;$:/core/ui/ControlPanel/Toolbars/ViewToolbar\&quot; class=\&quot;tc-vertical\&quot; explicitState=\&quot;$:/state/tabs/controlpanel/toolbars-1345989671\&quot;/&gt;\n&lt;/div&gt;\n&quot;
},
&quot;$:/ControlPanel&quot;: {
&quot;title&quot;: &quot;$:/ControlPanel&quot;,
&quot;icon&quot;: &quot;$:/core/images/options-button&quot;,
&quot;color&quot;: &quot;#bbb&quot;,
&quot;text&quot;: &quot;&lt;div class=\&quot;tc-control-panel\&quot;&gt;\n&lt;$macrocall $name=\&quot;tabs\&quot; tabsList=\&quot;[all[shadows+tiddlers]tag[$:/tags/ControlPanel]!has[draft.of]]\&quot; default=\&quot;$:/core/ui/ControlPanel/Info\&quot; explicitState=\&quot;$:/state/tab-1749438307\&quot;/&gt;\n&lt;/div&gt;\n&quot;
},
&quot;$:/core/ui/DefaultSearchResultList&quot;: {
&quot;title&quot;: &quot;$:/core/ui/DefaultSearchResultList&quot;,
&quot;tags&quot;: &quot;$:/tags/SearchResults&quot;,
&quot;caption&quot;: &quot;{{$:/language/Search/DefaultResults/Caption}}&quot;,
&quot;first-search-filter&quot;: &quot;[!is[system]search:title&lt;userInput&gt;sort[title]limit[250]]&quot;,
&quot;second-search-filter&quot;: &quot;[!is[system]search&lt;userInput&gt;sort[title]limit[250]]&quot;,
&quot;text&quot;: &quot;\\define searchResultList()\n//&lt;small&gt;{{$:/language/Search/Matches/Title}}&lt;/small&gt;//\n\n&lt;$list filter=\&quot;[&lt;userInput&gt;minlength[1]]\&quot; variable=\&quot;ignore\&quot;&gt;\n&lt;$list filter={{{ [&lt;configTiddler&gt;get[first-search-filter]] }}}&gt;\n&lt;span class={{{[&lt;currentTiddler&gt;addsuffix[-primaryList]] -[&lt;searchListState&gt;get[text]] +[then[]else[tc-list-item-selected]] }}}&gt;\n&lt;$transclude tiddler=\&quot;$:/core/ui/ListItemTemplate\&quot;/&gt;\n&lt;/span&gt;\n&lt;/$list&gt;\n&lt;/$list&gt;\n\n//&lt;small&gt;{{$:/language/Search/Matches/All}}&lt;/small&gt;//\n\n&lt;$list filter=\&quot;[&lt;userInput&gt;minlength[1]]\&quot; variable=\&quot;ignore\&quot;&gt;\n&lt;$list filter={{{ [&lt;configTiddler&gt;get[second-search-filter]] }}}&gt;\n&lt;span class={{{[&lt;currentTiddler&gt;addsuffix[-secondaryList]] -[&lt;searchListState&gt;get[text]] +[then[]else[tc-list-item-selected]] }}}&gt;\n&lt;$transclude tiddler=\&quot;$:/core/ui/ListItemTemplate\&quot;/&gt;\n&lt;/span&gt;\n&lt;/$list&gt;\n&lt;/$list&gt;\n\n\\end\n&lt;&lt;searchResultList&gt;&gt;\n&quot;
},
&quot;$:/core/ui/EditTemplate/body/preview/diffs-current&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditTemplate/body/preview/diffs-current&quot;,
&quot;tags&quot;: &quot;$:/tags/EditPreview&quot;,
&quot;caption&quot;: &quot;differences from current&quot;,
&quot;list-after&quot;: &quot;$:/core/ui/EditTemplate/body/preview/output&quot;,
&quot;text&quot;: &quot;&lt;$list filter=\&quot;[&lt;currentTiddler&gt;!is[image]]\&quot; emptyMessage={{$:/core/ui/EditTemplate/body/preview/output}}&gt;\n\n&lt;$macrocall $name=\&quot;compareTiddlerText\&quot; sourceTiddlerTitle={{!!draft.of}} destTiddlerTitle=&lt;&lt;currentTiddler&gt;&gt;/&gt;\n\n&lt;/$list&gt;\n\n&quot;
},
&quot;$:/core/ui/EditTemplate/body/preview/diffs-shadow&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditTemplate/body/preview/diffs-shadow&quot;,
&quot;tags&quot;: &quot;$:/tags/EditPreview&quot;,
&quot;caption&quot;: &quot;differences from shadow (if any)&quot;,
&quot;list-after&quot;: &quot;$:/core/ui/EditTemplate/body/preview/output&quot;,
&quot;text&quot;: &quot;&lt;$list filter=\&quot;[&lt;currentTiddler&gt;!is[image]]\&quot; emptyMessage={{$:/core/ui/EditTemplate/body/preview/output}}&gt;\n\n&lt;$macrocall $name=\&quot;compareTiddlerText\&quot; sourceTiddlerTitle={{{ [{!!draft.of}shadowsource[]] }}} sourceSubTiddlerTitle={{!!draft.of}} destTiddlerTitle=&lt;&lt;currentTiddler&gt;&gt;/&gt;\n\n&lt;/$list&gt;\n\n&quot;
},
&quot;$:/core/ui/EditTemplate/body/preview/output&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditTemplate/body/preview/output&quot;,
&quot;tags&quot;: &quot;$:/tags/EditPreview&quot;,
&quot;caption&quot;: &quot;{{$:/language/EditTemplate/Body/Preview/Type/Output}}&quot;,
&quot;text&quot;: &quot;\\import [all[shadows+tiddlers]tag[$:/tags/Macro/View]!has[draft.of]]\n&lt;$set name=\&quot;tv-tiddler-preview\&quot; value=\&quot;yes\&quot;&gt;\n\n&lt;$transclude /&gt;\n\n&lt;/$set&gt;\n&quot;
},
&quot;$:/state/showeditpreview&quot;: {
&quot;title&quot;: &quot;$:/state/showeditpreview&quot;,
&quot;text&quot;: &quot;no&quot;
},
&quot;$:/core/ui/EditTemplate/body/editor&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditTemplate/body/editor&quot;,
&quot;text&quot;: &quot;&lt;$edit\n\n field=\&quot;text\&quot;\n class=\&quot;tc-edit-texteditor tc-edit-texteditor-body\&quot;\n placeholder={{$:/language/EditTemplate/Body/Placeholder}}\n tabindex={{$:/config/EditTabIndex}}\n focus={{{ [{$:/config/AutoFocus}match[text]then[true]] ~[[false]] }}}\n cancelPopups=\&quot;yes\&quot;\n\n&gt;&lt;$set\n\n name=\&quot;targetTiddler\&quot;\n value=&lt;&lt;currentTiddler&gt;&gt;\n\n&gt;&lt;$list\n\n filter=\&quot;[all[shadows+tiddlers]tag[$:/tags/EditorToolbar]!has[draft.of]]\&quot;\n\n&gt;&lt;$reveal\n\n type=\&quot;nomatch\&quot;\n state=&lt;&lt;config-visibility-title&gt;&gt;\n text=\&quot;hide\&quot;\n class=\&quot;tc-text-editor-toolbar-item-wrapper\&quot;\n\n&gt;&lt;$transclude\n\n tiddler=\&quot;$:/core/ui/EditTemplate/body/toolbar/button\&quot;\n mode=\&quot;inline\&quot;\n\n/&gt;&lt;/$reveal&gt;&lt;/$list&gt;&lt;/$set&gt;&lt;/$edit&gt;\n&quot;
},
&quot;$:/core/ui/EditTemplate/body/toolbar/button&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditTemplate/body/toolbar/button&quot;,
&quot;text&quot;: &quot;\\define toolbar-button-icon()\n&lt;$list\n\n filter=\&quot;[all[current]!has[custom-icon]]\&quot;\n variable=\&quot;no-custom-icon\&quot;\n\n&gt;&lt;$transclude\n\n tiddler={{!!icon}}\n\n/&gt;&lt;/$list&gt;\n\\end\n\n\\define toolbar-button-tooltip()\n{{!!description}}&lt;$macrocall $name=\&quot;displayshortcuts\&quot; $output=\&quot;text/plain\&quot; shortcuts={{!!shortcuts}} prefix=\&quot;` - [\&quot; separator=\&quot;] [\&quot; suffix=\&quot;]`\&quot;/&gt;\n\\end\n\n\\define toolbar-button()\n&lt;$list\n\n filter={{!!condition}}\n variable=\&quot;list-condition\&quot;\n\n&gt;&lt;$wikify\n\n name=\&quot;tooltip-text\&quot;\n text=&lt;&lt;toolbar-button-tooltip&gt;&gt;\n mode=\&quot;inline\&quot;\n output=\&quot;text\&quot;\n\n&gt;&lt;$list\n\n filter=\&quot;[all[current]!has[dropdown]]\&quot;\n variable=\&quot;no-dropdown\&quot;\n\n&gt;&lt;$button\n\n class=\&quot;tc-btn-invisible $(buttonClasses)$\&quot;\n tooltip=&lt;&lt;tooltip-text&gt;&gt;\n actions={{!!actions}}\n\n&gt;&lt;span\n\n data-tw-keyboard-shortcut={{!!shortcuts}}\n\n/&gt;&lt;&lt;toolbar-button-icon&gt;&gt;&lt;$transclude\n\n tiddler=&lt;&lt;currentTiddler&gt;&gt;\n field=\&quot;text\&quot;\n\n/&gt;&lt;/$button&gt;&lt;/$list&gt;&lt;$list\n\n filter=\&quot;[all[current]has[dropdown]]\&quot;\n variable=\&quot;dropdown\&quot;\n\n&gt;&lt;$set\n\n name=\&quot;dropdown-state\&quot;\n value=&lt;&lt;qualify \&quot;$:/state/EditorToolbarDropdown\&quot;&gt;&gt;\n\n&gt;&lt;$button\n\n popup=&lt;&lt;dropdown-state&gt;&gt;\n class=\&quot;tc-popup-keep tc-btn-invisible $(buttonClasses)$\&quot;\n selectedClass=\&quot;tc-selected\&quot;\n tooltip=&lt;&lt;tooltip-text&gt;&gt;\n actions={{!!actions}}\n\n&gt;&lt;span\n\n data-tw-keyboard-shortcut={{!!shortcuts}}\n\n/&gt;&lt;&lt;toolbar-button-icon&gt;&gt;&lt;$transclude\n\n tiddler=&lt;&lt;currentTiddler&gt;&gt;\n field=\&quot;text\&quot;\n\n/&gt;&lt;/$button&gt;&lt;$reveal\n\n state=&lt;&lt;dropdown-state&gt;&gt;\n type=\&quot;popup\&quot;\n position=\&quot;below\&quot;\n animate=\&quot;yes\&quot;\n tag=\&quot;span\&quot;\n\n&gt;&lt;div\n\n class=\&quot;tc-drop-down tc-popup-keep\&quot;\n\n&gt;&lt;$transclude\n\n tiddler={{!!dropdown}}\n mode=\&quot;block\&quot;\n\n/&gt;&lt;/div&gt;&lt;/$reveal&gt;&lt;/$set&gt;&lt;/$list&gt;&lt;/$wikify&gt;&lt;/$list&gt;\n\\end\n\n\\define toolbar-button-outer()\n&lt;$set\n\n name=\&quot;buttonClasses\&quot;\n value={{!!button-classes}}\n\n&gt;&lt;&lt;toolbar-button&gt;&gt;&lt;/$set&gt;\n\\end\n\n&lt;&lt;toolbar-button-outer&gt;&gt;&quot;
},
&quot;$:/core/ui/EditTemplate/body&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditTemplate/body&quot;,
&quot;tags&quot;: &quot;$:/tags/EditTemplate&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/EditTemplate/Body/\n\\define config-visibility-title()\n$:/config/EditorToolbarButtons/Visibility/$(currentTiddler)$\n\\end\n&lt;$list filter=\&quot;[all[current]has[_canonical_uri]]\&quot;&gt;\n\n&lt;div class=\&quot;tc-message-box\&quot;&gt;\n\n&lt;&lt;lingo External/Hint&gt;&gt;\n\n&lt;a href={{!!_canonical_uri}}&gt;&lt;$text text={{!!_canonical_uri}}/&gt;&lt;/a&gt;\n\n&lt;$edit-text field=\&quot;_canonical_uri\&quot; class=\&quot;tc-edit-fields\&quot; tabindex={{$:/config/EditTabIndex}} cancelPopups=\&quot;yes\&quot;&gt;&lt;/$edit-text&gt;\n\n&lt;/div&gt;\n\n&lt;/$list&gt;\n\n&lt;$list filter=\&quot;[all[current]!has[_canonical_uri]]\&quot;&gt;\n\n&lt;$reveal state=\&quot;$:/state/showeditpreview\&quot; type=\&quot;match\&quot; text=\&quot;yes\&quot;&gt;\n\n&lt;div class=\&quot;tc-tiddler-preview\&quot;&gt;\n\n&lt;$transclude tiddler=\&quot;$:/core/ui/EditTemplate/body/editor\&quot; mode=\&quot;inline\&quot;/&gt;\n\n&lt;div class=\&quot;tc-tiddler-preview-preview\&quot;&gt;\n\n&lt;$transclude tiddler={{$:/state/editpreviewtype}} mode=\&quot;inline\&quot;&gt;\n\n&lt;$transclude tiddler=\&quot;$:/core/ui/EditTemplate/body/preview/output\&quot; mode=\&quot;inline\&quot;/&gt;\n\n&lt;/$transclude&gt;\n\n&lt;/div&gt;\n\n&lt;/div&gt;\n\n&lt;/$reveal&gt;\n\n&lt;$reveal state=\&quot;$:/state/showeditpreview\&quot; type=\&quot;nomatch\&quot; text=\&quot;yes\&quot;&gt;\n\n&lt;$transclude tiddler=\&quot;$:/core/ui/EditTemplate/body/editor\&quot; mode=\&quot;inline\&quot;/&gt;\n\n&lt;/$reveal&gt;\n\n&lt;/$list&gt;\n&quot;
},
&quot;$:/core/ui/EditTemplate/controls&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditTemplate/controls&quot;,
&quot;tags&quot;: &quot;$:/tags/EditTemplate&quot;,
&quot;text&quot;: &quot;\\define config-title()\n$:/config/EditToolbarButtons/Visibility/$(listItem)$\n\\end\n&lt;div class=\&quot;tc-tiddler-title tc-tiddler-edit-title\&quot;&gt;\n&lt;$view field=\&quot;title\&quot;/&gt;\n&lt;span class=\&quot;tc-tiddler-controls tc-titlebar\&quot;&gt;&lt;$list filter=\&quot;[all[shadows+tiddlers]tag[$:/tags/EditToolbar]!has[draft.of]]\&quot; variable=\&quot;listItem\&quot;&gt;&lt;$reveal type=\&quot;nomatch\&quot; state=&lt;&lt;config-title&gt;&gt; text=\&quot;hide\&quot;&gt;&lt;$transclude tiddler=&lt;&lt;listItem&gt;&gt;/&gt;&lt;/$reveal&gt;&lt;/$list&gt;&lt;/span&gt;\n&lt;div style=\&quot;clear: both;\&quot;&gt;&lt;/div&gt;\n&lt;/div&gt;\n&quot;
},
&quot;$:/core/ui/EditTemplate/fields&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditTemplate/fields&quot;,
&quot;tags&quot;: &quot;$:/tags/EditTemplate&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/EditTemplate/\n\\define config-title()\n$:/config/EditTemplateFields/Visibility/$(currentField)$\n\\end\n\n\\define config-filter()\n[[hide]] -[title{$(config-title)$}]\n\\end\n\n\\define current-tiddler-new-field-selector()\n[data-tiddler-title=\&quot;$(currentTiddlerCSSescaped)$\&quot;] .tc-edit-field-add-name-wrapper input\n\\end\n\n\\define new-field-actions()\n&lt;$action-sendmessage $message=\&quot;tm-add-field\&quot; $name={{{ [&lt;newFieldNameTiddler&gt;get[text]] }}} $value={{{ [&lt;newFieldValueTiddler&gt;get[text]] }}}/&gt;\n&lt;$action-deletetiddler $filter=\&quot;[&lt;newFieldNameTiddler&gt;] [&lt;newFieldValueTiddler&gt;] [&lt;storeTitle&gt;] [&lt;searchListState&gt;]\&quot;/&gt;\n&lt;$action-sendmessage $message=\&quot;tm-focus-selector\&quot; $param=&lt;&lt;current-tiddler-new-field-selector&gt;&gt;/&gt;\n\\end\n\n\\define delete-state-tiddlers() &lt;$action-deletetiddler $filter=\&quot;[&lt;newFieldNameTiddler&gt;] [&lt;storeTitle&gt;] [&lt;searchListState&gt;]\&quot;/&gt;\n\n\\define cancel-search-actions-inner()\n&lt;$list filter=\&quot;[&lt;storeTitle&gt;has[text]] [&lt;newFieldNameTiddler&gt;has[text]]\&quot; variable=\&quot;ignore\&quot; emptyMessage=\&quot;\&quot;\&quot;&lt;&lt;cancel-delete-tiddler-actions \&quot;cancel\&quot;&gt;&gt;\&quot;\&quot;\&quot;&gt;\n&lt;&lt;delete-state-tiddlers&gt;&gt;\n&lt;/$list&gt;\n\\end\n\n\\define cancel-search-actions()\n&lt;$set name=\&quot;userInput\&quot; value={{{ [&lt;storeTitle&gt;get[text]] }}}&gt;\n&lt;$list filter=\&quot;[&lt;newFieldNameTiddler&gt;get[text]!match&lt;userInput&gt;]\&quot; emptyMessage=\&quot;\&quot;\&quot;&lt;&lt;cancel-search-actions-inner&gt;&gt;\&quot;\&quot;\&quot;&gt;\n&lt;$action-setfield $tiddler=&lt;&lt;newFieldNameTiddler&gt;&gt; text=&lt;&lt;userInput&gt;&gt;/&gt;&lt;$action-setfield $tiddler=&lt;&lt;refreshTitle&gt;&gt; text=\&quot;yes\&quot;/&gt;\n&lt;/$list&gt;\n&lt;/$set&gt;\n\\end\n\n\\define new-field()\n&lt;$vars name={{{ [&lt;newFieldNameTiddler&gt;get[text]] }}}&gt;\n&lt;$reveal type=\&quot;nomatch\&quot; text=\&quot;\&quot; default=&lt;&lt;name&gt;&gt;&gt;\n&lt;$button tooltip=&lt;&lt;lingo Fields/Add/Button/Hint&gt;&gt;&gt;\n&lt;$action-sendmessage $message=\&quot;tm-add-field\&quot;\n$name=&lt;&lt;name&gt;&gt;\n$value={{{ [&lt;newFieldValueTiddler&gt;get[text]] }}}/&gt;\n&lt;$action-deletetiddler $filter=\&quot;[&lt;newFieldNameTiddler&gt;] [&lt;newFieldValueTiddler&gt;] [&lt;storeTitle&gt;] [&lt;searchListState&gt;]\&quot;/&gt;\n&lt;&lt;lingo Fields/Add/Button&gt;&gt;\n&lt;/$button&gt;\n&lt;/$reveal&gt;\n&lt;$reveal type=\&quot;match\&quot; text=\&quot;\&quot; default=&lt;&lt;name&gt;&gt;&gt;\n&lt;$button&gt;\n&lt;&lt;lingo Fields/Add/Button&gt;&gt;\n&lt;/$button&gt;\n&lt;/$reveal&gt;\n&lt;/$vars&gt;\n\\end\n\\whitespace trim\n\n&lt;div class=\&quot;tc-edit-fields\&quot;&gt;\n&lt;table class={{{ [all[current]fields[]] :filter[lookup[$:/config/EditTemplateFields/Visibility/]!match[hide]] +[count[]!match[0]] +[then[tc-edit-fields]] ~[[tc-edit-fields tc-edit-fields-small]] }}}&gt;\n&lt;tbody&gt;\n&lt;$list filter=\&quot;[all[current]fields[]] +[sort[title]]\&quot; variable=\&quot;currentField\&quot; storyview=\&quot;pop\&quot;&gt;\n&lt;$list filter=&lt;&lt;config-filter&gt;&gt; variable=\&quot;temp\&quot;&gt;\n&lt;tr class=\&quot;tc-edit-field\&quot;&gt;\n&lt;td class=\&quot;tc-edit-field-name\&quot;&gt;\n&lt;$text text=&lt;&lt;currentField&gt;&gt;/&gt;:&lt;/td&gt;\n&lt;td class=\&quot;tc-edit-field-value\&quot;&gt;\n&lt;$keyboard key=\&quot;((delete-field))\&quot; actions=\&quot;\&quot;\&quot;&lt;$action-deletefield $field=&lt;&lt;currentField&gt;&gt;/&gt;&lt;$set name=\&quot;currentTiddlerCSSescaped\&quot; value={{{ [&lt;currentTiddler&gt;escapecss[]] }}}&gt;&lt;$action-sendmessage $message=\&quot;tm-focus-selector\&quot; $param=&lt;&lt;current-tiddler-new-field-selector&gt;&gt;/&gt;&lt;/$set&gt;\&quot;\&quot;\&quot;&gt;\n&lt;$edit-text tiddler=&lt;&lt;currentTiddler&gt;&gt; field=&lt;&lt;currentField&gt;&gt; placeholder={{$:/language/EditTempla
},
&quot;$:/core/ui/EditTemplate/shadow&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditTemplate/shadow&quot;,
&quot;tags&quot;: &quot;$:/tags/EditTemplate&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/EditTemplate/Shadow/\n\\define pluginLinkBody()\n&lt;$link to=\&quot;\&quot;\&quot;$(pluginTitle)$\&quot;\&quot;\&quot;&gt;\n&lt;$text text=\&quot;\&quot;\&quot;$(pluginTitle)$\&quot;\&quot;\&quot;/&gt;\n&lt;/$link&gt;\n\\end\n&lt;$list filter=\&quot;[all[current]get[draft.of]is[shadow]!is[tiddler]]\&quot;&gt;\n\n&lt;$list filter=\&quot;[all[current]shadowsource[]]\&quot; variable=\&quot;pluginTitle\&quot;&gt;\n\n&lt;$set name=\&quot;pluginLink\&quot; value=&lt;&lt;pluginLinkBody&gt;&gt;&gt;\n&lt;div class=\&quot;tc-message-box\&quot;&gt;\n\n&lt;&lt;lingo Warning&gt;&gt;\n\n&lt;/div&gt;\n&lt;/$set&gt;\n&lt;/$list&gt;\n\n&lt;/$list&gt;\n\n&lt;$list filter=\&quot;[all[current]get[draft.of]is[shadow]is[tiddler]]\&quot;&gt;\n\n&lt;$list filter=\&quot;[all[current]shadowsource[]]\&quot; variable=\&quot;pluginTitle\&quot;&gt;\n\n&lt;$set name=\&quot;pluginLink\&quot; value=&lt;&lt;pluginLinkBody&gt;&gt;&gt;\n&lt;div class=\&quot;tc-message-box\&quot;&gt;\n\n&lt;&lt;lingo OverriddenWarning&gt;&gt;\n\n&lt;/div&gt;\n&lt;/$set&gt;\n&lt;/$list&gt;\n\n&lt;/$list&gt;&quot;
},
&quot;$:/core/ui/EditTemplate/tags&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditTemplate/tags&quot;,
&quot;tags&quot;: &quot;$:/tags/EditTemplate&quot;,
&quot;text&quot;: &quot;\\whitespace trim\n\n\\define lingo-base() $:/language/EditTemplate/\n\n\\define tag-styles()\nbackground-color:$(backgroundColor)$;\nfill:$(foregroundColor)$;\ncolor:$(foregroundColor)$;\n\\end\n\n\\define tag-body-inner(colour,fallbackTarget,colourA,colourB,icon,tagField:\&quot;tags\&quot;)\n\\whitespace trim\n&lt;$vars foregroundColor=&lt;&lt;contrastcolour target:\&quot;\&quot;\&quot;$colour$\&quot;\&quot;\&quot; fallbackTarget:\&quot;\&quot;\&quot;$fallbackTarget$\&quot;\&quot;\&quot; colourA:\&quot;\&quot;\&quot;$colourA$\&quot;\&quot;\&quot; colourB:\&quot;\&quot;\&quot;$colourB$\&quot;\&quot;\&quot;&gt;&gt; backgroundColor=\&quot;\&quot;\&quot;$colour$\&quot;\&quot;\&quot;&gt;\n&lt;span style=&lt;&lt;tag-styles&gt;&gt; class=\&quot;tc-tag-label tc-tag-list-item\&quot;&gt;\n&lt;$transclude tiddler=\&quot;\&quot;\&quot;$icon$\&quot;\&quot;\&quot;/&gt;&lt;$view field=\&quot;title\&quot; format=\&quot;text\&quot; /&gt;\n&lt;$button class=\&quot;tc-btn-invisible tc-remove-tag-button\&quot;&gt;&lt;$action-listops $tiddler=&lt;&lt;saveTiddler&gt;&gt; $field=&lt;&lt;__tagField__&gt;&gt; $subfilter=\&quot;-[{!!title}]\&quot;/&gt;{{$:/core/images/close-button}}&lt;/$button&gt;\n&lt;/span&gt;\n&lt;/$vars&gt;\n\\end\n\n\\define tag-body(colour,palette,icon,tagField:\&quot;tags\&quot;)\n&lt;$macrocall $name=\&quot;tag-body-inner\&quot; colour=\&quot;\&quot;\&quot;$colour$\&quot;\&quot;\&quot; fallbackTarget={{$palette$##tag-background}} colourA={{$palette$##foreground}} colourB={{$palette$##background}} icon=\&quot;\&quot;\&quot;$icon$\&quot;\&quot;\&quot; tagField=&lt;&lt;__tagField__&gt;&gt;/&gt;\n\\end\n\n\\define edit-tags-template(tagField:\&quot;tags\&quot;)\n\\whitespace trim\n&lt;div class=\&quot;tc-edit-tags\&quot;&gt;\n&lt;$list filter=\&quot;[list[!!$tagField$]sort[title]]\&quot; storyview=\&quot;pop\&quot;&gt;\n&lt;$macrocall $name=\&quot;tag-body\&quot; colour={{!!color}} palette={{$:/palette}} icon={{!!icon}} tagField=&lt;&lt;__tagField__&gt;&gt;/&gt;\n&lt;/$list&gt;\n&lt;$vars tabIndex={{$:/config/EditTabIndex}} cancelPopups=\&quot;yes\&quot;&gt;\n&lt;$macrocall $name=\&quot;tag-picker\&quot; tagField=&lt;&lt;__tagField__&gt;&gt;/&gt;\n&lt;/$vars&gt;\n&lt;/div&gt;\n\\end\n&lt;$set name=\&quot;saveTiddler\&quot; value=&lt;&lt;currentTiddler&gt;&gt;&gt;\n&lt;$macrocall $name=\&quot;edit-tags-template\&quot; tagField=&lt;&lt;tagField&gt;&gt;/&gt;\n&lt;/$set&gt;\n&quot;
},
&quot;$:/core/ui/EditTemplate/title&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditTemplate/title&quot;,
&quot;tags&quot;: &quot;$:/tags/EditTemplate&quot;,
&quot;text&quot;: &quot;&lt;$edit-text field=\&quot;draft.title\&quot; class=\&quot;tc-titlebar tc-edit-texteditor\&quot; focus={{{ [{$:/config/AutoFocus}match[title]then[true]] ~[[false]] }}} tabindex={{$:/config/EditTabIndex}} cancelPopups=\&quot;yes\&quot;/&gt;\n\n&lt;$vars pattern=\&quot;\&quot;\&quot;[\\|\\[\\]{}]\&quot;\&quot;\&quot; bad-chars=\&quot;\&quot;\&quot;`| [ ] { }`\&quot;\&quot;\&quot;&gt;\n\n&lt;$list filter=\&quot;[all[current]regexp:draft.title&lt;pattern&gt;]\&quot; variable=\&quot;listItem\&quot;&gt;\n\n&lt;div class=\&quot;tc-message-box\&quot;&gt;\n\n{{$:/core/images/warning}} {{$:/language/EditTemplate/Title/BadCharacterWarning}}\n\n&lt;/div&gt;\n\n&lt;/$list&gt;\n\n&lt;/$vars&gt;\n\n&lt;$reveal state=\&quot;!!draft.title\&quot; type=\&quot;nomatch\&quot; text={{!!draft.of}} tag=\&quot;div\&quot;&gt;\n\n&lt;$list filter=\&quot;[{!!draft.title}!is[missing]]\&quot; variable=\&quot;listItem\&quot;&gt;\n\n&lt;div class=\&quot;tc-message-box\&quot;&gt;\n\n{{$:/core/images/warning}} {{$:/language/EditTemplate/Title/Exists/Prompt}}\n\n&lt;/div&gt;\n\n&lt;/$list&gt;\n\n&lt;$list filter=\&quot;[{!!draft.of}!is[missing]]\&quot; variable=\&quot;listItem\&quot;&gt;\n\n&lt;$vars fromTitle={{!!draft.of}} toTitle={{!!draft.title}}&gt;\n\n&lt;$checkbox tiddler=\&quot;$:/config/RelinkOnRename\&quot; field=\&quot;text\&quot; checked=\&quot;yes\&quot; unchecked=\&quot;no\&quot; default=\&quot;no\&quot;&gt; {{$:/language/EditTemplate/Title/Relink/Prompt}}&lt;/$checkbox&gt;\n\n&lt;$list filter=\&quot;[title&lt;fromTitle&gt;backlinks[]limit[1]]\&quot; variable=\&quot;listItem\&quot;&gt;\n\n&lt;$vars stateTiddler=&lt;&lt;qualify \&quot;$:/state/edit/references\&quot;&gt;&gt; &gt;\n\n&lt;$reveal type=\&quot;nomatch\&quot; state=&lt;&lt;stateTiddler&gt;&gt; text=\&quot;show\&quot;&gt;\n&lt;$button set=&lt;&lt;stateTiddler&gt;&gt; setTo=\&quot;show\&quot; class=\&quot;tc-btn-invisible\&quot;&gt;{{$:/core/images/right-arrow}} \n&lt;&lt;lingo EditTemplate/Title/References/Prompt&gt;&gt;&lt;/$button&gt;\n&lt;/$reveal&gt;\n&lt;$reveal type=\&quot;match\&quot; state=&lt;&lt;stateTiddler&gt;&gt; text=\&quot;show\&quot;&gt;\n&lt;$button set=&lt;&lt;stateTiddler&gt;&gt; setTo=\&quot;hide\&quot; class=\&quot;tc-btn-invisible\&quot;&gt;{{$:/core/images/down-arrow}} \n&lt;&lt;lingo EditTemplate/Title/References/Prompt&gt;&gt;&lt;/$button&gt;\n&lt;/$reveal&gt;\n\n&lt;$reveal type=\&quot;match\&quot; state=&lt;&lt;stateTiddler&gt;&gt; text=\&quot;show\&quot;&gt;\n&lt;$tiddler tiddler=&lt;&lt;fromTitle&gt;&gt; &gt;\n&lt;$transclude tiddler=\&quot;$:/core/ui/TiddlerInfo/References\&quot;/&gt;\n&lt;/$tiddler&gt;\n&lt;/$reveal&gt;\n\n&lt;/$vars&gt;\n\n&lt;/$list&gt;\n\n&lt;/$vars&gt;\n\n&lt;/$list&gt;\n\n&lt;/$reveal&gt;\n&quot;
},
&quot;$:/core/ui/EditTemplate/type&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditTemplate/type&quot;,
&quot;tags&quot;: &quot;$:/tags/EditTemplate&quot;,
&quot;first-search-filter&quot;: &quot;[all[shadows+tiddlers]prefix[$:/language/Docs/Types/]sort[description]sort[group-sort]removeprefix[$:/language/Docs/Types/]search&lt;userInput&gt;]&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/EditTemplate/\n\\define input-cancel-actions() &lt;$list filter=\&quot;[&lt;storeTitle&gt;get[text]] [&lt;currentTiddler&gt;get[type]] +[limit[1]]\&quot; emptyMessage=\&quot;\&quot;\&quot;&lt;&lt;cancel-delete-tiddler-actions \&quot;cancel\&quot;&gt;&gt;\&quot;\&quot;\&quot;&gt;&lt;$action-sendmessage $message=\&quot;tm-remove-field\&quot; $param=\&quot;type\&quot;/&gt;&lt;$action-deletetiddler $filter=\&quot;[&lt;typeInputTiddler&gt;] [&lt;refreshTitle&gt;] [&lt;typeSelectionTiddler&gt;]\&quot;/&gt;&lt;/$list&gt;\n\\whitespace trim\n&lt;$set name=\&quot;refreshTitle\&quot; value=&lt;&lt;qualify \&quot;$:/temp/type-search/refresh\&quot;&gt;&gt;&gt;\n&lt;div class=\&quot;tc-edit-type-selector-wrapper\&quot;&gt;\n&lt;em class=\&quot;tc-edit tc-big-gap-right\&quot;&gt;&lt;&lt;lingo Type/Prompt&gt;&gt;&lt;/em&gt;\n&lt;div class=\&quot;tc-type-selector-dropdown-wrapper\&quot;&gt;\n&lt;div class=\&quot;tc-type-selector\&quot;&gt;&lt;$fieldmangler&gt;\n&lt;$macrocall $name=\&quot;keyboard-driven-input\&quot; tiddler=&lt;&lt;currentTiddler&gt;&gt; storeTitle=&lt;&lt;typeInputTiddler&gt;&gt; refreshTitle=&lt;&lt;refreshTitle&gt;&gt; selectionStateTitle=&lt;&lt;typeSelectionTiddler&gt;&gt; field=\&quot;type\&quot; tag=\&quot;input\&quot; default=\&quot;\&quot; placeholder={{$:/language/EditTemplate/Type/Placeholder}} focusPopup=&lt;&lt;qualify \&quot;$:/state/popup/type-dropdown\&quot;&gt;&gt; class=\&quot;tc-edit-typeeditor tc-edit-texteditor tc-popup-handle\&quot; tabindex={{$:/config/EditTabIndex}} focus={{{ [{$:/config/AutoFocus}match[type]then[true]] ~[[false]] }}} cancelPopups=\&quot;yes\&quot; configTiddlerFilter=\&quot;[[$:/core/ui/EditTemplate/type]]\&quot; inputCancelActions=&lt;&lt;input-cancel-actions&gt;&gt;/&gt;&lt;$button popup=&lt;&lt;qualify \&quot;$:/state/popup/type-dropdown\&quot;&gt;&gt; class=\&quot;tc-btn-invisible tc-btn-dropdown tc-small-gap\&quot; tooltip={{$:/language/EditTemplate/Type/Dropdown/Hint}} aria-label={{$:/language/EditTemplate/Type/Dropdown/Caption}}&gt;{{$:/core/images/down-arrow}}&lt;/$button&gt;&lt;$button message=\&quot;tm-remove-field\&quot; param=\&quot;type\&quot; class=\&quot;tc-btn-invisible tc-btn-icon\&quot; tooltip={{$:/language/EditTemplate/Type/Delete/Hint}} aria-label={{$:/language/EditTemplate/Type/Delete/Caption}}&gt;{{$:/core/images/delete-button}}&lt;$action-deletetiddler $filter=\&quot;[&lt;storeTitle&gt;] [&lt;refreshTitle&gt;] [&lt;selectionStateTitle&gt;]\&quot;/&gt;&lt;/$button&gt;\n&lt;/$fieldmangler&gt;&lt;/div&gt;\n\n&lt;div class=\&quot;tc-block-dropdown-wrapper\&quot;&gt;\n&lt;$set name=\&quot;tv-show-missing-links\&quot; value=\&quot;yes\&quot;&gt;\n&lt;$reveal state=&lt;&lt;qualify \&quot;$:/state/popup/type-dropdown\&quot;&gt;&gt; type=\&quot;nomatch\&quot; text=\&quot;\&quot; default=\&quot;\&quot;&gt;\n&lt;div class=\&quot;tc-block-dropdown tc-edit-type-dropdown\&quot;&gt;\n&lt;$linkcatcher to=\&quot;!!type\&quot;&gt;\n&lt;$list filter='[all[shadows+tiddlers]prefix[$:/language/Docs/Types/]each[group]sort[group-sort]]'&gt;\n&lt;div class=\&quot;tc-dropdown-item\&quot;&gt;\n&lt;$text text={{!!group}}/&gt;\n&lt;/div&gt;\n&lt;$set name=\&quot;userInput\&quot; value={{{ [&lt;typeInputTiddler&gt;get[text]] }}}&gt;\n&lt;$list filter=\&quot;[all[shadows+tiddlers]prefix[$:/language/Docs/Types/]group{!!group}] +[sort[description]] +[removeprefix[$:/language/Docs/Types/]] +[search&lt;userInput&gt;]\&quot;&gt;&lt;span class={{{ [&lt;currentTiddler&gt;addsuffix[-primaryList]] -[&lt;typeSelectionTiddler&gt;get[text]] +[then[]else[tc-list-item-selected]] }}}&gt;&lt;$link to={{{ [&lt;currentTiddler&gt;addprefix[$:/language/Docs/Types/]get[name]] }}}&gt;&lt;$view tiddler={{{ [&lt;currentTiddler&gt;addprefix[$:/language/Docs/Types/]] }}} field=\&quot;description\&quot;/&gt; (&lt;$view tiddler={{{ [&lt;currentTiddler&gt;addprefix[$:/language/Docs/Types/]] }}} field=\&quot;name\&quot;/&gt;)&lt;/$link&gt;&lt;/span&gt;\n&lt;/$list&gt;\n&lt;/$set&gt;\n&lt;/$list&gt;\n&lt;/$linkcatcher&gt;\n&lt;/div&gt;\n&lt;/$re
},
&quot;$:/core/ui/EditTemplate&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditTemplate&quot;,
&quot;text&quot;: &quot;\\define delete-edittemplate-state-tiddlers() &lt;$action-deletetiddler $filter=\&quot;[&lt;newFieldNameTiddler&gt;] [&lt;newFieldValueTiddler&gt;] [&lt;newFieldNameInputTiddler&gt;] [&lt;newFieldNameSelectionTiddler&gt;] [&lt;newTagNameTiddler&gt;] [&lt;newTagNameInputTiddler&gt;] [&lt;newTagNameSelectionTiddler&gt;] [&lt;typeInputTiddler&gt;] [&lt;typeSelectionTiddler&gt;]\&quot;/&gt;\n\\define save-tiddler-actions()\n&lt;$action-sendmessage $message=\&quot;tm-add-tag\&quot; $param={{{ [&lt;newTagNameTiddler&gt;get[text]] }}}/&gt;\n&lt;$action-sendmessage $message=\&quot;tm-add-field\&quot; $name={{{ [&lt;newFieldNameTiddler&gt;get[text]] }}} $value={{{ [&lt;newFieldValueTiddler&gt;get[text]] }}}/&gt;\n&lt;&lt;delete-edittemplate-state-tiddlers&gt;&gt;\n&lt;$action-sendmessage $message=\&quot;tm-save-tiddler\&quot;/&gt;\n\\end\n\\define cancel-delete-tiddler-actions(message)\n&lt;&lt;delete-edittemplate-state-tiddlers&gt;&gt;\n&lt;$action-sendmessage $message=\&quot;tm-$message$-tiddler\&quot;/&gt;\n\\end\n&lt;div data-tiddler-title=&lt;&lt;currentTiddler&gt;&gt; data-tags={{!!tags}} class={{{ tc-tiddler-frame tc-tiddler-edit-frame [&lt;currentTiddler&gt;is[tiddler]then[tc-tiddler-exists]] [&lt;currentTiddler&gt;is[missing]!is[shadow]then[tc-tiddler-missing]] [&lt;currentTiddler&gt;is[shadow]then[tc-tiddler-exists tc-tiddler-shadow]] [&lt;currentTiddler&gt;is[system]then[tc-tiddler-system]] [{!!class}] [&lt;currentTiddler&gt;tags[]encodeuricomponent[]addprefix[tc-tagged-]] +[join[ ]] }}}&gt;\n&lt;$fieldmangler&gt;\n&lt;$vars storyTiddler=&lt;&lt;currentTiddler&gt;&gt; newTagNameTiddler=&lt;&lt;qualify \&quot;$:/temp/NewTagName\&quot;&gt;&gt; newFieldNameTiddler=&lt;&lt;qualify \&quot;$:/temp/NewFieldName\&quot;&gt;&gt; newFieldValueTiddler=&lt;&lt;qualify \&quot;$:/temp/NewFieldValue\&quot;&gt;&gt; newFieldNameInputTiddler=&lt;&lt;qualify \&quot;$:/temp/NewFieldName/input\&quot;&gt;&gt; newFieldNameSelectionTiddler=&lt;&lt;qualify \&quot;$:/temp/NewFieldName/selected-item\&quot;&gt;&gt; newTagNameInputTiddler=&lt;&lt;qualify \&quot;$:/temp/NewTagName/input\&quot;&gt;&gt; newTagNameSelectionTiddler=&lt;&lt;qualify \&quot;$:/temp/NewTagName/selected-item\&quot;&gt;&gt; typeInputTiddler=&lt;&lt;qualify \&quot;$:/temp/Type/input\&quot;&gt;&gt; typeSelectionTiddler=&lt;&lt;qualify \&quot;$:/temp/Type/selected-item\&quot;&gt;&gt;&gt;\n&lt;$keyboard key=\&quot;((cancel-edit-tiddler))\&quot; actions=&lt;&lt;cancel-delete-tiddler-actions \&quot;cancel\&quot;&gt;&gt;&gt;\n&lt;$keyboard key=\&quot;((save-tiddler))\&quot; actions=&lt;&lt;save-tiddler-actions&gt;&gt;&gt;\n&lt;$list filter=\&quot;[all[shadows+tiddlers]tag[$:/tags/EditTemplate]!has[draft.of]]\&quot; variable=\&quot;listItem\&quot;&gt;\n&lt;$set name=\&quot;tv-config-toolbar-class\&quot; filter=\&quot;[&lt;tv-config-toolbar-class&gt;] [&lt;listItem&gt;encodeuricomponent[]addprefix[tc-btn-]]\&quot;&gt;\n&lt;$transclude tiddler=&lt;&lt;listItem&gt;&gt;/&gt;\n&lt;/$set&gt;\n&lt;/$list&gt;\n&lt;/$keyboard&gt;\n&lt;/$keyboard&gt;\n&lt;/$vars&gt;\n&lt;/$fieldmangler&gt;\n&lt;/div&gt;\n&quot;
},
&quot;$:/core/ui/Buttons/cancel&quot;: {
&quot;title&quot;: &quot;$:/core/ui/Buttons/cancel&quot;,
&quot;tags&quot;: &quot;$:/tags/EditToolbar&quot;,
&quot;caption&quot;: &quot;{{$:/core/images/cancel-button}} {{$:/language/Buttons/Cancel/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/Cancel/Hint}}&quot;,
&quot;text&quot;: &quot;\\whitespace trim\n&lt;$button actions=&lt;&lt;cancel-delete-tiddler-actions \&quot;cancel\&quot;&gt;&gt; tooltip={{$:/language/Buttons/Cancel/Hint}} aria-label={{$:/language/Buttons/Cancel/Caption}} class=&lt;&lt;tv-config-toolbar-class&gt;&gt;&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-icons&gt;match[yes]]\&quot;&gt;\n{{$:/core/images/cancel-button}}\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-text&gt;match[yes]]\&quot;&gt;\n&lt;span class=\&quot;tc-btn-text\&quot;&gt;&lt;$text text={{$:/language/Buttons/Cancel/Caption}}/&gt;&lt;/span&gt;\n&lt;/$list&gt;\n&lt;/$button&gt;\n&quot;
},
&quot;$:/core/ui/Buttons/delete&quot;: {
&quot;title&quot;: &quot;$:/core/ui/Buttons/delete&quot;,
&quot;tags&quot;: &quot;$:/tags/EditToolbar $:/tags/ViewToolbar&quot;,
&quot;caption&quot;: &quot;{{$:/core/images/delete-button}} {{$:/language/Buttons/Delete/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/Delete/Hint}}&quot;,
&quot;text&quot;: &quot;\\whitespace trim\n&lt;$button actions=&lt;&lt;cancel-delete-tiddler-actions \&quot;delete\&quot;&gt;&gt; tooltip={{$:/language/Buttons/Delete/Hint}} aria-label={{$:/language/Buttons/Delete/Caption}} class=&lt;&lt;tv-config-toolbar-class&gt;&gt;&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-icons&gt;match[yes]]\&quot;&gt;\n{{$:/core/images/delete-button}}\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-text&gt;match[yes]]\&quot;&gt;\n&lt;span class=\&quot;tc-btn-text\&quot;&gt;&lt;$text text={{$:/language/Buttons/Delete/Caption}}/&gt;&lt;/span&gt;\n&lt;/$list&gt;\n&lt;/$button&gt;\n&quot;
},
&quot;$:/core/ui/Buttons/save&quot;: {
&quot;title&quot;: &quot;$:/core/ui/Buttons/save&quot;,
&quot;tags&quot;: &quot;$:/tags/EditToolbar&quot;,
&quot;caption&quot;: &quot;{{$:/core/images/done-button}} {{$:/language/Buttons/Save/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/Save/Hint}}&quot;,
&quot;text&quot;: &quot;\\define save-tiddler-button()\n\\whitespace trim\n&lt;$fieldmangler&gt;&lt;$button tooltip={{$:/language/Buttons/Save/Hint}} aria-label={{$:/language/Buttons/Save/Caption}} class=&lt;&lt;tv-config-toolbar-class&gt;&gt;&gt;\n&lt;&lt;save-tiddler-actions&gt;&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-icons&gt;match[yes]]\&quot;&gt;\n{{$:/core/images/done-button}}\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-text&gt;match[yes]]\&quot;&gt;\n&lt;span class=\&quot;tc-btn-text\&quot;&gt;&lt;$text text={{$:/language/Buttons/Save/Caption}}/&gt;&lt;/span&gt;\n&lt;/$list&gt;\n&lt;/$button&gt;&lt;/$fieldmangler&gt;\n\\end\n&lt;&lt;save-tiddler-button&gt;&gt;\n&quot;
},
&quot;$:/core/ui/EditorToolbar/bold&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditorToolbar/bold&quot;,
&quot;tags&quot;: &quot;$:/tags/EditorToolbar&quot;,
&quot;icon&quot;: &quot;$:/core/images/bold&quot;,
&quot;caption&quot;: &quot;{{$:/language/Buttons/Bold/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/Bold/Hint}}&quot;,
&quot;condition&quot;: &quot;[&lt;targetTiddler&gt;!has[type]] [&lt;targetTiddler&gt;type[text/vnd.tiddlywiki]]&quot;,
&quot;shortcuts&quot;: &quot;((bold))&quot;,
&quot;text&quot;: &quot;&lt;$action-sendmessage\n\t$message=\&quot;tm-edit-text-operation\&quot;\n\t$param=\&quot;wrap-selection\&quot;\n\tprefix=\&quot;''\&quot;\n\tsuffix=\&quot;''\&quot;\n/&gt;\n&quot;
},
&quot;$:/core/ui/EditorToolbar/clear-dropdown&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditorToolbar/clear-dropdown&quot;,
&quot;text&quot;: &quot;''{{$:/language/Buttons/Clear/Hint}}''\n\n&lt;div class=\&quot;tc-colour-chooser\&quot;&gt;\n\n&lt;$macrocall $name=\&quot;colour-picker\&quot; actions=\&quot;\&quot;\&quot;\n\n&lt;$action-sendmessage\n\t$message=\&quot;tm-edit-bitmap-operation\&quot;\n\t$param=\&quot;clear\&quot;\n\tcolour=&lt;&lt;colour-picker-value&gt;&gt;\n/&gt;\n\n&lt;$action-deletetiddler\n\t$tiddler=&lt;&lt;dropdown-state&gt;&gt;\n/&gt;\n\n\&quot;\&quot;\&quot;/&gt;\n\n&lt;/div&gt;\n&quot;
},
&quot;$:/core/ui/EditorToolbar/clear&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditorToolbar/clear&quot;,
&quot;tags&quot;: &quot;$:/tags/EditorToolbar&quot;,
&quot;icon&quot;: &quot;$:/core/images/erase&quot;,
&quot;caption&quot;: &quot;{{$:/language/Buttons/Clear/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/Clear/Hint}}&quot;,
&quot;condition&quot;: &quot;[&lt;targetTiddler&gt;is[image]] -[&lt;targetTiddler&gt;type[image/svg+xml]]&quot;,
&quot;dropdown&quot;: &quot;$:/core/ui/EditorToolbar/clear-dropdown&quot;,
&quot;text&quot;: &quot;&quot;
},
&quot;$:/core/ui/EditorToolbar/editor-height-dropdown&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditorToolbar/editor-height-dropdown&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/Buttons/EditorHeight/\n''&lt;&lt;lingo Hint&gt;&gt;''\n\n&lt;$radio tiddler=\&quot;$:/config/TextEditor/EditorHeight/Mode\&quot; value=\&quot;auto\&quot;&gt; {{$:/core/images/auto-height}} &lt;&lt;lingo Caption/Auto&gt;&gt;&lt;/$radio&gt;\n\n&lt;$radio tiddler=\&quot;$:/config/TextEditor/EditorHeight/Mode\&quot; value=\&quot;fixed\&quot;&gt; {{$:/core/images/fixed-height}} &lt;&lt;lingo Caption/Fixed&gt;&gt; &lt;$edit-text tag=\&quot;input\&quot; tiddler=\&quot;$:/config/TextEditor/EditorHeight/Height\&quot; default=\&quot;100px\&quot;/&gt;&lt;/$radio&gt;\n&quot;
},
&quot;$:/core/ui/EditorToolbar/editor-height&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditorToolbar/editor-height&quot;,
&quot;tags&quot;: &quot;$:/tags/EditorToolbar&quot;,
&quot;icon&quot;: &quot;$:/core/images/fixed-height&quot;,
&quot;custom-icon&quot;: &quot;yes&quot;,
&quot;caption&quot;: &quot;{{$:/language/Buttons/EditorHeight/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/EditorHeight/Hint}}&quot;,
&quot;condition&quot;: &quot;[&lt;targetTiddler&gt;type[]] [&lt;targetTiddler&gt;get[type]prefix[text/]] [&lt;targetTiddler&gt;get[type]match[application/javascript]] [&lt;targetTiddler&gt;get[type]match[application/json]] [&lt;targetTiddler&gt;get[type]match[application/x-tiddler-dictionary]] [&lt;targetTiddler&gt;get[type]match[image/svg+xml]] +[first[]]&quot;,
&quot;dropdown&quot;: &quot;$:/core/ui/EditorToolbar/editor-height-dropdown&quot;,
&quot;text&quot;: &quot;&lt;$reveal tag=\&quot;span\&quot; state=\&quot;$:/config/TextEditor/EditorHeight/Mode\&quot; type=\&quot;match\&quot; text=\&quot;fixed\&quot;&gt;\n{{$:/core/images/fixed-height}}\n&lt;/$reveal&gt;\n&lt;$reveal tag=\&quot;span\&quot; state=\&quot;$:/config/TextEditor/EditorHeight/Mode\&quot; type=\&quot;match\&quot; text=\&quot;auto\&quot;&gt;\n{{$:/core/images/auto-height}}\n&lt;/$reveal&gt;\n&quot;
},
&quot;$:/core/ui/EditorToolbar/excise-dropdown&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditorToolbar/excise-dropdown&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/Buttons/Excise/\n\n\\define body(config-title)\n''&lt;&lt;lingo Hint&gt;&gt;''\n\n&lt;&lt;lingo Caption/NewTitle&gt;&gt; &lt;$edit-text tag=\&quot;input\&quot; tiddler=\&quot;$config-title$/new-title\&quot; default=\&quot;\&quot; focus=\&quot;true\&quot;/&gt;\n\n&lt;$set name=\&quot;new-title\&quot; value={{$config-title$/new-title}}&gt;\n&lt;$list filter=\&quot;\&quot;\&quot;[&lt;new-title&gt;is[tiddler]]\&quot;\&quot;\&quot;&gt;\n&lt;div class=\&quot;tc-error\&quot;&gt;\n&lt;&lt;lingo Caption/TiddlerExists&gt;&gt;\n&lt;/div&gt;\n&lt;/$list&gt;\n&lt;/$set&gt;\n\n&lt;$checkbox tiddler=\&quot;\&quot;\&quot;$config-title$/tagnew\&quot;\&quot;\&quot; field=\&quot;text\&quot; checked=\&quot;yes\&quot; unchecked=\&quot;no\&quot; default=\&quot;false\&quot;&gt; &lt;&lt;lingo Caption/Tag&gt;&gt;&lt;/$checkbox&gt;\n\n&lt;&lt;lingo Caption/Replace&gt;&gt; &lt;$select tiddler=\&quot;\&quot;\&quot;$config-title$/type\&quot;\&quot;\&quot; default=\&quot;transclude\&quot;&gt;\n&lt;option value=\&quot;link\&quot;&gt;&lt;&lt;lingo Caption/Replace/Link&gt;&gt;&lt;/option&gt;\n&lt;option value=\&quot;transclude\&quot;&gt;&lt;&lt;lingo Caption/Replace/Transclusion&gt;&gt;&lt;/option&gt;\n&lt;option value=\&quot;macro\&quot;&gt;&lt;&lt;lingo Caption/Replace/Macro&gt;&gt;&lt;/option&gt;\n&lt;/$select&gt;\n\n&lt;$reveal state=\&quot;\&quot;\&quot;$config-title$/type\&quot;\&quot;\&quot; type=\&quot;match\&quot; text=\&quot;macro\&quot;&gt;\n&lt;&lt;lingo Caption/MacroName&gt;&gt; &lt;$edit-text tag=\&quot;input\&quot; tiddler=\&quot;\&quot;\&quot;$config-title$/macro-title\&quot;\&quot;\&quot; default=\&quot;translink\&quot;/&gt;\n&lt;/$reveal&gt;\n\n&lt;$button&gt;\n&lt;$action-sendmessage\n\t$message=\&quot;tm-edit-text-operation\&quot;\n\t$param=\&quot;excise\&quot;\n\ttitle={{$config-title$/new-title}}\n\ttype={{$config-title$/type}}\n\tmacro={{$config-title$/macro-title}}\n\ttagnew={{$config-title$/tagnew}}\n/&gt;\n&lt;$action-deletetiddler\n\t$tiddler=\&quot;$config-title$/new-title\&quot;\n/&gt;\n&lt;$action-deletetiddler\n\t$tiddler=&lt;&lt;dropdown-state&gt;&gt;\n/&gt;\n&lt;&lt;lingo Caption/Excise&gt;&gt;\n&lt;/$button&gt;\n\\end\n\n&lt;$macrocall $name=\&quot;body\&quot; config-title=&lt;&lt;qualify \&quot;$:/state/Excise/\&quot;&gt;&gt;/&gt;\n&quot;
},
&quot;$:/core/ui/EditorToolbar/excise&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditorToolbar/excise&quot;,
&quot;tags&quot;: &quot;$:/tags/EditorToolbar&quot;,
&quot;icon&quot;: &quot;$:/core/images/excise&quot;,
&quot;caption&quot;: &quot;{{$:/language/Buttons/Excise/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/Excise/Hint}}&quot;,
&quot;condition&quot;: &quot;[&lt;targetTiddler&gt;type[]] [&lt;targetTiddler&gt;type[text/vnd.tiddlywiki]] +[first[]]&quot;,
&quot;shortcuts&quot;: &quot;((excise))&quot;,
&quot;dropdown&quot;: &quot;$:/core/ui/EditorToolbar/excise-dropdown&quot;,
&quot;text&quot;: &quot;&quot;
},
&quot;$:/core/ui/EditorToolbar/heading-1&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditorToolbar/heading-1&quot;,
&quot;tags&quot;: &quot;$:/tags/EditorToolbar&quot;,
&quot;icon&quot;: &quot;$:/core/images/heading-1&quot;,
&quot;caption&quot;: &quot;{{$:/language/Buttons/Heading1/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/Heading1/Hint}}&quot;,
&quot;condition&quot;: &quot;[&lt;targetTiddler&gt;!has[type]] [&lt;targetTiddler&gt;type[text/vnd.tiddlywiki]]&quot;,
&quot;button-classes&quot;: &quot;tc-text-editor-toolbar-item-start-group&quot;,
&quot;shortcuts&quot;: &quot;((heading-1))&quot;,
&quot;text&quot;: &quot;&lt;$action-sendmessage\n\t$message=\&quot;tm-edit-text-operation\&quot;\n\t$param=\&quot;prefix-lines\&quot;\n\tcharacter=\&quot;!\&quot;\n\tcount=\&quot;1\&quot;\n/&gt;\n&quot;
},
&quot;$:/core/ui/EditorToolbar/heading-2&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditorToolbar/heading-2&quot;,
&quot;tags&quot;: &quot;$:/tags/EditorToolbar&quot;,
&quot;icon&quot;: &quot;$:/core/images/heading-2&quot;,
&quot;caption&quot;: &quot;{{$:/language/Buttons/Heading2/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/Heading2/Hint}}&quot;,
&quot;condition&quot;: &quot;[&lt;targetTiddler&gt;!has[type]] [&lt;targetTiddler&gt;type[text/vnd.tiddlywiki]]&quot;,
&quot;shortcuts&quot;: &quot;((heading-2))&quot;,
&quot;text&quot;: &quot;&lt;$action-sendmessage\n\t$message=\&quot;tm-edit-text-operation\&quot;\n\t$param=\&quot;prefix-lines\&quot;\n\tcharacter=\&quot;!\&quot;\n\tcount=\&quot;2\&quot;\n/&gt;\n&quot;
},
&quot;$:/core/ui/EditorToolbar/heading-3&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditorToolbar/heading-3&quot;,
&quot;tags&quot;: &quot;$:/tags/EditorToolbar&quot;,
&quot;icon&quot;: &quot;$:/core/images/heading-3&quot;,
&quot;caption&quot;: &quot;{{$:/language/Buttons/Heading3/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/Heading3/Hint}}&quot;,
&quot;condition&quot;: &quot;[&lt;targetTiddler&gt;!has[type]] [&lt;targetTiddler&gt;type[text/vnd.tiddlywiki]]&quot;,
&quot;shortcuts&quot;: &quot;((heading-3))&quot;,
&quot;text&quot;: &quot;&lt;$action-sendmessage\n\t$message=\&quot;tm-edit-text-operation\&quot;\n\t$param=\&quot;prefix-lines\&quot;\n\tcharacter=\&quot;!\&quot;\n\tcount=\&quot;3\&quot;\n/&gt;\n&quot;
},
&quot;$:/core/ui/EditorToolbar/heading-4&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditorToolbar/heading-4&quot;,
&quot;tags&quot;: &quot;$:/tags/EditorToolbar&quot;,
&quot;icon&quot;: &quot;$:/core/images/heading-4&quot;,
&quot;caption&quot;: &quot;{{$:/language/Buttons/Heading4/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/Heading4/Hint}}&quot;,
&quot;condition&quot;: &quot;[&lt;targetTiddler&gt;!has[type]] [&lt;targetTiddler&gt;type[text/vnd.tiddlywiki]]&quot;,
&quot;shortcuts&quot;: &quot;((heading-4))&quot;,
&quot;text&quot;: &quot;&lt;$action-sendmessage\n\t$message=\&quot;tm-edit-text-operation\&quot;\n\t$param=\&quot;prefix-lines\&quot;\n\tcharacter=\&quot;!\&quot;\n\tcount=\&quot;4\&quot;\n/&gt;\n&quot;
},
&quot;$:/core/ui/EditorToolbar/heading-5&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditorToolbar/heading-5&quot;,
&quot;tags&quot;: &quot;$:/tags/EditorToolbar&quot;,
&quot;icon&quot;: &quot;$:/core/images/heading-5&quot;,
&quot;caption&quot;: &quot;{{$:/language/Buttons/Heading5/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/Heading5/Hint}}&quot;,
&quot;condition&quot;: &quot;[&lt;targetTiddler&gt;!has[type]] [&lt;targetTiddler&gt;type[text/vnd.tiddlywiki]]&quot;,
&quot;shortcuts&quot;: &quot;((heading-5))&quot;,
&quot;text&quot;: &quot;&lt;$action-sendmessage\n\t$message=\&quot;tm-edit-text-operation\&quot;\n\t$param=\&quot;prefix-lines\&quot;\n\tcharacter=\&quot;!\&quot;\n\tcount=\&quot;5\&quot;\n/&gt;\n&quot;
},
&quot;$:/core/ui/EditorToolbar/heading-6&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditorToolbar/heading-6&quot;,
&quot;tags&quot;: &quot;$:/tags/EditorToolbar&quot;,
&quot;icon&quot;: &quot;$:/core/images/heading-6&quot;,
&quot;caption&quot;: &quot;{{$:/language/Buttons/Heading6/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/Heading6/Hint}}&quot;,
&quot;condition&quot;: &quot;[&lt;targetTiddler&gt;!has[type]] [&lt;targetTiddler&gt;type[text/vnd.tiddlywiki]]&quot;,
&quot;shortcuts&quot;: &quot;((heading-6))&quot;,
&quot;text&quot;: &quot;&lt;$action-sendmessage\n\t$message=\&quot;tm-edit-text-operation\&quot;\n\t$param=\&quot;prefix-lines\&quot;\n\tcharacter=\&quot;!\&quot;\n\tcount=\&quot;6\&quot;\n/&gt;\n&quot;
},
&quot;$:/core/ui/EditorToolbar/italic&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditorToolbar/italic&quot;,
&quot;tags&quot;: &quot;$:/tags/EditorToolbar&quot;,
&quot;icon&quot;: &quot;$:/core/images/italic&quot;,
&quot;caption&quot;: &quot;{{$:/language/Buttons/Italic/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/Italic/Hint}}&quot;,
&quot;condition&quot;: &quot;[&lt;targetTiddler&gt;!has[type]] [&lt;targetTiddler&gt;type[text/vnd.tiddlywiki]]&quot;,
&quot;shortcuts&quot;: &quot;((italic))&quot;,
&quot;text&quot;: &quot;&lt;$action-sendmessage\n\t$message=\&quot;tm-edit-text-operation\&quot;\n\t$param=\&quot;wrap-selection\&quot;\n\tprefix=\&quot;//\&quot;\n\tsuffix=\&quot;//\&quot;\n/&gt;\n&quot;
},
&quot;$:/core/ui/EditorToolbar/line-width-dropdown&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditorToolbar/line-width-dropdown&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/Buttons/LineWidth/\n\n\\define toolbar-line-width-inner()\n&lt;$button tag=\&quot;a\&quot; tooltip=\&quot;\&quot;\&quot;$(line-width)$\&quot;\&quot;\&quot;&gt;\n\n&lt;$action-setfield\n\t$tiddler=\&quot;$:/config/BitmapEditor/LineWidth\&quot;\n\t$value=\&quot;$(line-width)$\&quot;\n/&gt;\n\n&lt;$action-deletetiddler\n\t$tiddler=&lt;&lt;dropdown-state&gt;&gt;\n/&gt;\n\n&lt;div style=\&quot;display: inline-block; margin: 4px calc(80px - $(line-width)$); background-color: #000; width: calc(100px + $(line-width)$ * 2); height: $(line-width)$; border-radius: 120px; vertical-align: middle;\&quot;/&gt;\n\n&lt;span style=\&quot;margin-left: 8px;\&quot;&gt;\n\n&lt;$text text=\&quot;\&quot;\&quot;$(line-width)$\&quot;\&quot;\&quot;/&gt;\n\n&lt;$reveal state=\&quot;$:/config/BitmapEditor/LineWidth\&quot; type=\&quot;match\&quot; text=\&quot;\&quot;\&quot;$(line-width)$\&quot;\&quot;\&quot; tag=\&quot;span\&quot;&gt;\n\n&lt;$entity entity=\&quot;&amp;nbsp;\&quot;/&gt;\n\n&lt;$entity entity=\&quot;&amp;#x2713;\&quot;/&gt;\n\n&lt;/$reveal&gt;\n\n&lt;/span&gt;\n\n&lt;/$button&gt;\n\\end\n\n''&lt;&lt;lingo Hint&gt;&gt;''\n\n&lt;$list filter={{$:/config/BitmapEditor/LineWidths}} variable=\&quot;line-width\&quot;&gt;\n\n&lt;&lt;toolbar-line-width-inner&gt;&gt;\n\n&lt;/$list&gt;\n&quot;
},
&quot;$:/core/ui/EditorToolbar/line-width&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditorToolbar/line-width&quot;,
&quot;tags&quot;: &quot;$:/tags/EditorToolbar&quot;,
&quot;icon&quot;: &quot;$:/core/images/line-width&quot;,
&quot;caption&quot;: &quot;{{$:/language/Buttons/LineWidth/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/LineWidth/Hint}}&quot;,
&quot;condition&quot;: &quot;[&lt;targetTiddler&gt;is[image]] -[&lt;targetTiddler&gt;type[image/svg+xml]]&quot;,
&quot;dropdown&quot;: &quot;$:/core/ui/EditorToolbar/line-width-dropdown&quot;,
&quot;text&quot;: &quot;&lt;$text text={{$:/config/BitmapEditor/LineWidth}}/&gt;\n&quot;
},
&quot;$:/core/ui/EditorToolbar/link-dropdown&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditorToolbar/link-dropdown&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/Buttons/Link/\n\n\\define add-link-actions()\n&lt;$action-sendmessage $message=\&quot;tm-edit-text-operation\&quot; $param=\&quot;make-link\&quot; text={{$(linkTiddler)$}} /&gt;\n&lt;$action-deletetiddler $filter=\&quot;[&lt;dropdown-state&gt;] [&lt;searchTiddler&gt;] [&lt;linkTiddler&gt;] [&lt;storeTitle&gt;] [&lt;searchListState&gt;]\&quot;/&gt;\n\\end\n\n\\define get-focus-selector() [data-tiddler-title=\&quot;$(cssEscapedTitle)$\&quot;] .tc-create-wikitext-link input\n\n\\define cancel-search-actions-inner()\n&lt;$set name=\&quot;userInput\&quot; value={{{ [&lt;storeTitle&gt;get[text]] }}}&gt;&lt;$list filter=\&quot;[&lt;searchTiddler&gt;get[text]!match&lt;userInput&gt;]\&quot; emptyMessage=\&quot;\&quot;\&quot;&lt;$action-deletetiddler $filter=\&quot;[&lt;searchTiddler&gt;] [&lt;linkTiddler&gt;] [&lt;storeTitle&gt;] [&lt;searchListState&gt;]\&quot;/&gt;\&quot;\&quot;\&quot;&gt;&lt;$action-setfield $tiddler=&lt;&lt;searchTiddler&gt;&gt; text=&lt;&lt;userInput&gt;&gt;/&gt;&lt;$action-setfield $tiddler=&lt;&lt;refreshTitle&gt;&gt; text=\&quot;yes\&quot;/&gt;&lt;/$list&gt;&lt;/$set&gt;\n\\end\n\n\\define cancel-search-actions() &lt;$list filter=\&quot;[&lt;storeTitle&gt;!has[text]] +[&lt;searchTiddler&gt;!has[text]]\&quot; emptyMessage=\&quot;\&quot;\&quot;&lt;&lt;cancel-search-actions-inner&gt;&gt;\&quot;\&quot;\&quot;&gt;&lt;$action-sendmessage $message=\&quot;tm-edit-text-operation\&quot; $param=\&quot;wrap-selection\&quot; prefix=\&quot;\&quot; suffix=\&quot;\&quot;/&gt;&lt;/$list&gt;\n\n\\define external-link()\n&lt;$button class=\&quot;tc-btn-invisible\&quot; style=\&quot;width: auto; display: inline-block; background-colour: inherit;\&quot; actions=&lt;&lt;add-link-actions&gt;&gt;&gt;\n{{$:/core/images/chevron-right}}\n&lt;/$button&gt;\n\\end\n\n\\define set-next-input-tab(beforeafter:\&quot;after\&quot;) &lt;$macrocall $name=\&quot;change-input-tab\&quot; stateTitle=\&quot;$:/state/tab/search-results/sidebar\&quot; tag=\&quot;$:/tags/SearchResults\&quot; beforeafter=\&quot;$beforeafter$\&quot; defaultState={{$:/config/SearchResults/Default}} actions=\&quot;\&quot;\&quot;&lt;$action-setfield $tiddler=\&quot;$:/state/search/currentTab\&quot; text=&lt;&lt;nextTab&gt;&gt;/&gt;\&quot;\&quot;\&quot;/&gt;\n\n\\define body(config-title)\n''&lt;&lt;lingo Hint&gt;&gt;''\n\n&lt;$vars searchTiddler=\&quot;\&quot;\&quot;$config-title$/search\&quot;\&quot;\&quot; linkTiddler=\&quot;\&quot;\&quot;$config-title$/link\&quot;\&quot;\&quot; linktext=\&quot;\&quot; searchListState=&lt;&lt;qualify \&quot;$:/temp/link-search/selected-item\&quot;&gt;&gt; refreshTitle=&lt;&lt;qualify \&quot;$:/temp/link-search/refresh\&quot;&gt;&gt; storeTitle=&lt;&lt;qualify \&quot;$:/temp/link-search/input\&quot;&gt;&gt;&gt;\n\n&lt;$vars linkTiddler=&lt;&lt;searchTiddler&gt;&gt;&gt;\n&lt;$keyboard key=\&quot;((input-tab-right))\&quot; actions=&lt;&lt;set-next-input-tab&gt;&gt;&gt;\n&lt;$keyboard key=\&quot;((input-tab-left))\&quot; actions=&lt;&lt;set-next-input-tab \&quot;before\&quot;&gt;&gt; class=\&quot;tc-create-wikitext-link\&quot;&gt;\n&lt;$macrocall $name=\&quot;keyboard-driven-input\&quot; tiddler=&lt;&lt;searchTiddler&gt;&gt; storeTitle=&lt;&lt;storeTitle&gt;&gt;\n\t\tselectionStateTitle=&lt;&lt;searchListState&gt;&gt; refreshTitle=&lt;&lt;refreshTitle&gt;&gt; type=\&quot;search\&quot; filterMinLength=\&quot;1\&quot;\n\t\ttag=\&quot;input\&quot; focus=\&quot;true\&quot; class=\&quot;tc-popup-handle\&quot; inputCancelActions=&lt;&lt;cancel-search-actions&gt;&gt; \n\t\tinputAcceptActions=&lt;&lt;add-link-actions&gt;&gt; placeholder={{$:/language/Search/Search}} default=\&quot;\&quot; \n\t\tconfigTiddlerFilter=\&quot;[[$:/state/search/currentTab]!is[missing]get[text]] ~[{$:/config/SearchResults/Default}]\&quot; /&gt;\n&lt;/$keyboard&gt;\n&lt;/$keyboard&gt;\n&lt;$reveal tag=\&quot;span\&quot; state=&lt;&lt;storeTitle&gt;&gt; type=\&quot;nomatch\&quot; text=\&quot;\&quot;&gt;\n&lt;&lt;external-link&gt;&gt;\n&lt;$button class=\&quot;tc-btn-invisible\&quot; style=\&quot;width:
},
&quot;$:/core/ui/EditorToolbar/link&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditorToolbar/link&quot;,
&quot;tags&quot;: &quot;$:/tags/EditorToolbar&quot;,
&quot;icon&quot;: &quot;$:/core/images/link&quot;,
&quot;caption&quot;: &quot;{{$:/language/Buttons/Link/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/Link/Hint}}&quot;,
&quot;condition&quot;: &quot;[&lt;targetTiddler&gt;!has[type]] [&lt;targetTiddler&gt;type[text/vnd.tiddlywiki]]&quot;,
&quot;button-classes&quot;: &quot;tc-text-editor-toolbar-item-start-group&quot;,
&quot;shortcuts&quot;: &quot;((link))&quot;,
&quot;dropdown&quot;: &quot;$:/core/ui/EditorToolbar/link-dropdown&quot;,
&quot;text&quot;: &quot;&quot;
},
&quot;$:/core/ui/EditorToolbar/linkify&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditorToolbar/linkify&quot;,
&quot;caption&quot;: &quot;{{$:/language/Buttons/Linkify/Caption}}&quot;,
&quot;condition&quot;: &quot;[&lt;targetTiddler&gt;!has[type]] [&lt;targetTiddler&gt;type[text/vnd.tiddlywiki]]&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/Linkify/Hint}}&quot;,
&quot;icon&quot;: &quot;$:/core/images/linkify&quot;,
&quot;list-before&quot;: &quot;$:/core/ui/EditorToolbar/mono-block&quot;,
&quot;shortcuts&quot;: &quot;((linkify))&quot;,
&quot;tags&quot;: &quot;$:/tags/EditorToolbar&quot;,
&quot;text&quot;: &quot;&lt;$action-sendmessage\n\t$message=\&quot;tm-edit-text-operation\&quot;\n\t$param=\&quot;wrap-selection\&quot;\n\tprefix=\&quot;[[\&quot;\n\tsuffix=\&quot;]]\&quot;\n/&gt;\n&quot;
},
&quot;$:/core/ui/EditorToolbar/list-bullet&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditorToolbar/list-bullet&quot;,
&quot;tags&quot;: &quot;$:/tags/EditorToolbar&quot;,
&quot;icon&quot;: &quot;$:/core/images/list-bullet&quot;,
&quot;caption&quot;: &quot;{{$:/language/Buttons/ListBullet/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/ListBullet/Hint}}&quot;,
&quot;condition&quot;: &quot;[&lt;targetTiddler&gt;!has[type]] [&lt;targetTiddler&gt;type[text/vnd.tiddlywiki]]&quot;,
&quot;shortcuts&quot;: &quot;((list-bullet))&quot;,
&quot;text&quot;: &quot;&lt;$action-sendmessage\n\t$message=\&quot;tm-edit-text-operation\&quot;\n\t$param=\&quot;prefix-lines\&quot;\n\tcharacter=\&quot;*\&quot;\n\tcount=\&quot;1\&quot;\n/&gt;\n&quot;
},
&quot;$:/core/ui/EditorToolbar/list-number&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditorToolbar/list-number&quot;,
&quot;tags&quot;: &quot;$:/tags/EditorToolbar&quot;,
&quot;icon&quot;: &quot;$:/core/images/list-number&quot;,
&quot;caption&quot;: &quot;{{$:/language/Buttons/ListNumber/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/ListNumber/Hint}}&quot;,
&quot;condition&quot;: &quot;[&lt;targetTiddler&gt;!has[type]] [&lt;targetTiddler&gt;type[text/vnd.tiddlywiki]]&quot;,
&quot;shortcuts&quot;: &quot;((list-number))&quot;,
&quot;text&quot;: &quot;&lt;$action-sendmessage\n\t$message=\&quot;tm-edit-text-operation\&quot;\n\t$param=\&quot;prefix-lines\&quot;\n\tcharacter=\&quot;#\&quot;\n\tcount=\&quot;1\&quot;\n/&gt;\n&quot;
},
&quot;$:/core/ui/EditorToolbar/mono-block&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditorToolbar/mono-block&quot;,
&quot;tags&quot;: &quot;$:/tags/EditorToolbar&quot;,
&quot;icon&quot;: &quot;$:/core/images/mono-block&quot;,
&quot;caption&quot;: &quot;{{$:/language/Buttons/MonoBlock/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/MonoBlock/Hint}}&quot;,
&quot;condition&quot;: &quot;[&lt;targetTiddler&gt;!has[type]] [&lt;targetTiddler&gt;type[text/vnd.tiddlywiki]]&quot;,
&quot;button-classes&quot;: &quot;tc-text-editor-toolbar-item-start-group&quot;,
&quot;shortcuts&quot;: &quot;((mono-block))&quot;,
&quot;text&quot;: &quot;&lt;$action-sendmessage\n\t$message=\&quot;tm-edit-text-operation\&quot;\n\t$param=\&quot;wrap-lines\&quot;\n\tprefix=\&quot;\n```\&quot;\n\tsuffix=\&quot;```\&quot;\n/&gt;\n&quot;
},
&quot;$:/core/ui/EditorToolbar/mono-line&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditorToolbar/mono-line&quot;,
&quot;tags&quot;: &quot;$:/tags/EditorToolbar&quot;,
&quot;icon&quot;: &quot;$:/core/images/mono-line&quot;,
&quot;caption&quot;: &quot;{{$:/language/Buttons/MonoLine/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/MonoLine/Hint}}&quot;,
&quot;condition&quot;: &quot;[&lt;targetTiddler&gt;!has[type]] [&lt;targetTiddler&gt;type[text/vnd.tiddlywiki]]&quot;,
&quot;shortcuts&quot;: &quot;((mono-line))&quot;,
&quot;text&quot;: &quot;&lt;$action-sendmessage\n\t$message=\&quot;tm-edit-text-operation\&quot;\n\t$param=\&quot;wrap-selection\&quot;\n\tprefix=\&quot;`\&quot;\n\tsuffix=\&quot;`\&quot;\n/&gt;\n&quot;
},
&quot;$:/core/ui/EditorToolbar/more-dropdown&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditorToolbar/more-dropdown&quot;,
&quot;text&quot;: &quot;\\define config-title()\n$:/config/EditorToolbarButtons/Visibility/$(toolbarItem)$\n\\end\n\n\\define conditional-button()\n&lt;$list filter={{$(toolbarItem)$!!condition}} variable=\&quot;condition\&quot;&gt;\n&lt;$transclude tiddler=\&quot;$:/core/ui/EditTemplate/body/toolbar/button\&quot; mode=\&quot;inline\&quot;/&gt; &lt;$transclude tiddler=&lt;&lt;toolbarItem&gt;&gt; field=\&quot;description\&quot;/&gt;\n&lt;/$list&gt;\n\\end\n\n&lt;div class=\&quot;tc-text-editor-toolbar-more\&quot;&gt;\n&lt;$list filter=\&quot;[all[shadows+tiddlers]tag[$:/tags/EditorToolbar]!has[draft.of]] -[[$:/core/ui/EditorToolbar/more]]\&quot;&gt;\n&lt;$reveal type=\&quot;match\&quot; state=&lt;&lt;config-visibility-title&gt;&gt; text=\&quot;hide\&quot; tag=\&quot;div\&quot;&gt;\n&lt;&lt;conditional-button&gt;&gt;\n&lt;/$reveal&gt;\n&lt;/$list&gt;\n&lt;/div&gt;\n&quot;
},
&quot;$:/core/ui/EditorToolbar/more&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditorToolbar/more&quot;,
&quot;tags&quot;: &quot;$:/tags/EditorToolbar&quot;,
&quot;icon&quot;: &quot;$:/core/images/down-arrow&quot;,
&quot;caption&quot;: &quot;{{$:/language/Buttons/More/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/More/Hint}}&quot;,
&quot;condition&quot;: &quot;[&lt;targetTiddler&gt;]&quot;,
&quot;dropdown&quot;: &quot;$:/core/ui/EditorToolbar/more-dropdown&quot;,
&quot;text&quot;: &quot;&quot;
},
&quot;$:/core/ui/EditorToolbar/opacity-dropdown&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditorToolbar/opacity-dropdown&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/Buttons/Opacity/\n\n\\define toolbar-opacity-inner()\n&lt;$button tag=\&quot;a\&quot; tooltip=\&quot;\&quot;\&quot;$(opacity)$\&quot;\&quot;\&quot;&gt;\n\n&lt;$action-setfield\n\t$tiddler=\&quot;$:/config/BitmapEditor/Opacity\&quot;\n\t$value=\&quot;$(opacity)$\&quot;\n/&gt;\n\n&lt;$action-deletetiddler\n\t$tiddler=&lt;&lt;dropdown-state&gt;&gt;\n/&gt;\n\n&lt;div style=\&quot;display: inline-block; vertical-align: middle; background-color: $(current-paint-colour)$; opacity: $(opacity)$; width: 1em; height: 1em; border-radius: 50%;\&quot;/&gt;\n\n&lt;span style=\&quot;margin-left: 8px;\&quot;&gt;\n\n&lt;$text text=\&quot;\&quot;\&quot;$(opacity)$\&quot;\&quot;\&quot;/&gt;\n\n&lt;$reveal state=\&quot;$:/config/BitmapEditor/Opacity\&quot; type=\&quot;match\&quot; text=\&quot;\&quot;\&quot;$(opacity)$\&quot;\&quot;\&quot; tag=\&quot;span\&quot;&gt;\n\n&lt;$entity entity=\&quot;&amp;nbsp;\&quot;/&gt;\n\n&lt;$entity entity=\&quot;&amp;#x2713;\&quot;/&gt;\n\n&lt;/$reveal&gt;\n\n&lt;/span&gt;\n\n&lt;/$button&gt;\n\\end\n\n\\define toolbar-opacity()\n''&lt;&lt;lingo Hint&gt;&gt;''\n\n&lt;$list filter={{$:/config/BitmapEditor/Opacities}} variable=\&quot;opacity\&quot;&gt;\n\n&lt;&lt;toolbar-opacity-inner&gt;&gt;\n\n&lt;/$list&gt;\n\\end\n\n&lt;$set name=\&quot;current-paint-colour\&quot; value={{$:/config/BitmapEditor/Colour}}&gt;\n\n&lt;$set name=\&quot;current-opacity\&quot; value={{$:/config/BitmapEditor/Opacity}}&gt;\n\n&lt;&lt;toolbar-opacity&gt;&gt;\n\n&lt;/$set&gt;\n\n&lt;/$set&gt;\n&quot;
},
&quot;$:/core/ui/EditorToolbar/opacity&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditorToolbar/opacity&quot;,
&quot;tags&quot;: &quot;$:/tags/EditorToolbar&quot;,
&quot;icon&quot;: &quot;$:/core/images/opacity&quot;,
&quot;caption&quot;: &quot;{{$:/language/Buttons/Opacity/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/Opacity/Hint}}&quot;,
&quot;condition&quot;: &quot;[&lt;targetTiddler&gt;is[image]] -[&lt;targetTiddler&gt;type[image/svg+xml]]&quot;,
&quot;dropdown&quot;: &quot;$:/core/ui/EditorToolbar/opacity-dropdown&quot;,
&quot;text&quot;: &quot;&lt;$text text={{$:/config/BitmapEditor/Opacity}}/&gt;\n&quot;
},
&quot;$:/core/ui/EditorToolbar/paint-dropdown&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditorToolbar/paint-dropdown&quot;,
&quot;text&quot;: &quot;''{{$:/language/Buttons/Paint/Hint}}''\n\n&lt;$macrocall $name=\&quot;colour-picker\&quot; actions=\&quot;\&quot;\&quot;\n\n&lt;$action-setfield\n\t$tiddler=\&quot;$:/config/BitmapEditor/Colour\&quot;\n\t$value=&lt;&lt;colour-picker-value&gt;&gt;\n/&gt;\n\n&lt;$action-deletetiddler\n\t$tiddler=&lt;&lt;dropdown-state&gt;&gt;\n/&gt;\n\n\&quot;\&quot;\&quot;/&gt;\n&quot;
},
&quot;$:/core/ui/EditorToolbar/paint&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditorToolbar/paint&quot;,
&quot;tags&quot;: &quot;$:/tags/EditorToolbar&quot;,
&quot;icon&quot;: &quot;$:/core/images/paint&quot;,
&quot;caption&quot;: &quot;{{$:/language/Buttons/Paint/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/Paint/Hint}}&quot;,
&quot;condition&quot;: &quot;[&lt;targetTiddler&gt;is[image]] -[&lt;targetTiddler&gt;type[image/svg+xml]]&quot;,
&quot;dropdown&quot;: &quot;$:/core/ui/EditorToolbar/paint-dropdown&quot;,
&quot;text&quot;: &quot;\\define toolbar-paint()\n&lt;div style=\&quot;display: inline-block; vertical-align: middle; background-color: $(colour-picker-value)$; width: 1em; height: 1em; border-radius: 50%;\&quot;/&gt;\n\\end\n&lt;$set name=\&quot;colour-picker-value\&quot; value={{$:/config/BitmapEditor/Colour}}&gt;\n&lt;&lt;toolbar-paint&gt;&gt;\n&lt;/$set&gt;\n&quot;
},
&quot;$:/core/ui/EditorToolbar/picture-dropdown&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditorToolbar/picture-dropdown&quot;,
&quot;text&quot;: &quot;\\define replacement-text()\n[img[$(imageTitle)$]]\n\\end\n\n''{{$:/language/Buttons/Picture/Hint}}''\n\n&lt;$macrocall $name=\&quot;image-picker\&quot; actions=\&quot;\&quot;\&quot;\n\n&lt;$action-sendmessage\n\t$message=\&quot;tm-edit-text-operation\&quot;\n\t$param=\&quot;replace-selection\&quot;\n\ttext=&lt;&lt;replacement-text&gt;&gt;\n/&gt;\n\n&lt;$action-deletetiddler\n\t$tiddler=&lt;&lt;dropdown-state&gt;&gt;\n/&gt;\n\n\&quot;\&quot;\&quot;/&gt;\n&quot;
},
&quot;$:/core/ui/EditorToolbar/picture&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditorToolbar/picture&quot;,
&quot;tags&quot;: &quot;$:/tags/EditorToolbar&quot;,
&quot;icon&quot;: &quot;$:/core/images/picture&quot;,
&quot;caption&quot;: &quot;{{$:/language/Buttons/Picture/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/Picture/Hint}}&quot;,
&quot;condition&quot;: &quot;[&lt;targetTiddler&gt;!has[type]] [&lt;targetTiddler&gt;type[text/vnd.tiddlywiki]]&quot;,
&quot;shortcuts&quot;: &quot;((picture))&quot;,
&quot;dropdown&quot;: &quot;$:/core/ui/EditorToolbar/picture-dropdown&quot;,
&quot;text&quot;: &quot;&quot;
},
&quot;$:/core/ui/EditorToolbar/preview-type-dropdown&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditorToolbar/preview-type-dropdown&quot;,
&quot;text&quot;: &quot;\\define preview-type-button()\n&lt;$button tag=\&quot;a\&quot;&gt;\n\n&lt;$action-setfield $tiddler=\&quot;$:/state/editpreviewtype\&quot; $value=\&quot;$(previewType)$\&quot;/&gt;\n\n&lt;$action-deletetiddler\n\t$tiddler=&lt;&lt;dropdown-state&gt;&gt;\n/&gt;\n\n&lt;$transclude tiddler=&lt;&lt;previewType&gt;&gt; field=\&quot;caption\&quot; mode=\&quot;inline\&quot;&gt;\n\n&lt;$view tiddler=&lt;&lt;previewType&gt;&gt; field=\&quot;title\&quot; mode=\&quot;inline\&quot;/&gt;\n\n&lt;/$transclude&gt; \n\n&lt;$reveal tag=\&quot;span\&quot; state=\&quot;$:/state/editpreviewtype\&quot; type=\&quot;match\&quot; text=&lt;&lt;previewType&gt;&gt; default=\&quot;$:/core/ui/EditTemplate/body/preview/output\&quot;&gt;\n\n&lt;$entity entity=\&quot;&amp;nbsp;\&quot;/&gt;\n\n&lt;$entity entity=\&quot;&amp;#x2713;\&quot;/&gt;\n\n&lt;/$reveal&gt;\n\n&lt;/$button&gt;\n\\end\n\n&lt;$list filter=\&quot;[all[shadows+tiddlers]tag[$:/tags/EditPreview]!has[draft.of]]\&quot; variable=\&quot;previewType\&quot;&gt;\n\n&lt;&lt;preview-type-button&gt;&gt;\n\n&lt;/$list&gt;\n&quot;
},
&quot;$:/core/ui/EditorToolbar/preview-type&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditorToolbar/preview-type&quot;,
&quot;tags&quot;: &quot;$:/tags/EditorToolbar&quot;,
&quot;icon&quot;: &quot;$:/core/images/chevron-down&quot;,
&quot;caption&quot;: &quot;{{$:/language/Buttons/PreviewType/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/PreviewType/Hint}}&quot;,
&quot;condition&quot;: &quot;[all[shadows+tiddlers]tag[$:/tags/EditPreview]!has[draft.of]butfirst[]limit[1]]&quot;,
&quot;button-classes&quot;: &quot;tc-text-editor-toolbar-item-adjunct&quot;,
&quot;dropdown&quot;: &quot;$:/core/ui/EditorToolbar/preview-type-dropdown&quot;
},
&quot;$:/core/ui/EditorToolbar/preview&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditorToolbar/preview&quot;,
&quot;tags&quot;: &quot;$:/tags/EditorToolbar&quot;,
&quot;icon&quot;: &quot;$:/core/images/preview-open&quot;,
&quot;custom-icon&quot;: &quot;yes&quot;,
&quot;caption&quot;: &quot;{{$:/language/Buttons/Preview/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/Preview/Hint}}&quot;,
&quot;condition&quot;: &quot;[&lt;targetTiddler&gt;]&quot;,
&quot;button-classes&quot;: &quot;tc-text-editor-toolbar-item-start-group&quot;,
&quot;shortcuts&quot;: &quot;((preview))&quot;,
&quot;text&quot;: &quot;&lt;$reveal state=\&quot;$:/state/showeditpreview\&quot; type=\&quot;match\&quot; text=\&quot;yes\&quot; tag=\&quot;span\&quot;&gt;\n{{$:/core/images/preview-open}}\n&lt;$action-setfield $tiddler=\&quot;$:/state/showeditpreview\&quot; $value=\&quot;no\&quot;/&gt;\n&lt;/$reveal&gt;\n&lt;$reveal state=\&quot;$:/state/showeditpreview\&quot; type=\&quot;nomatch\&quot; text=\&quot;yes\&quot; tag=\&quot;span\&quot;&gt;\n{{$:/core/images/preview-closed}}\n&lt;$action-setfield $tiddler=\&quot;$:/state/showeditpreview\&quot; $value=\&quot;yes\&quot;/&gt;\n&lt;/$reveal&gt;\n&quot;
},
&quot;$:/core/ui/EditorToolbar/quote&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditorToolbar/quote&quot;,
&quot;tags&quot;: &quot;$:/tags/EditorToolbar&quot;,
&quot;icon&quot;: &quot;$:/core/images/quote&quot;,
&quot;caption&quot;: &quot;{{$:/language/Buttons/Quote/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/Quote/Hint}}&quot;,
&quot;condition&quot;: &quot;[&lt;targetTiddler&gt;!has[type]] [&lt;targetTiddler&gt;type[text/vnd.tiddlywiki]]&quot;,
&quot;shortcuts&quot;: &quot;((quote))&quot;,
&quot;text&quot;: &quot;&lt;$action-sendmessage\n\t$message=\&quot;tm-edit-text-operation\&quot;\n\t$param=\&quot;wrap-lines\&quot;\n\tprefix=\&quot;\n&lt;&lt;&lt;\&quot;\n\tsuffix=\&quot;&lt;&lt;&lt;\&quot;\n/&gt;\n&quot;
},
&quot;$:/core/ui/EditorToolbar/rotate-left&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditorToolbar/rotate-left&quot;,
&quot;tags&quot;: &quot;$:/tags/EditorToolbar&quot;,
&quot;icon&quot;: &quot;$:/core/images/rotate-left&quot;,
&quot;caption&quot;: &quot;{{$:/language/Buttons/RotateLeft/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/RotateLeft/Hint}}&quot;,
&quot;condition&quot;: &quot;[&lt;targetTiddler&gt;is[image]] -[&lt;targetTiddler&gt;type[image/svg+xml]]&quot;,
&quot;text&quot;: &quot;&lt;$action-sendmessage\n\t$message=\&quot;tm-edit-bitmap-operation\&quot;\n\t$param=\&quot;rotate-left\&quot;\n/&gt;\n&quot;
},
&quot;$:/core/ui/EditorToolbar/size-dropdown&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditorToolbar/size-dropdown&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/Buttons/Size/\n\n\\define toolbar-button-size-preset(config-title)\n&lt;$set name=\&quot;width\&quot; filter=\&quot;$(sizePair)$ +[first[]]\&quot;&gt;\n\n&lt;$set name=\&quot;height\&quot; filter=\&quot;$(sizePair)$ +[last[]]\&quot;&gt;\n\n&lt;$button tag=\&quot;a\&quot;&gt;\n\n&lt;$action-setfield\n\t$tiddler=\&quot;\&quot;\&quot;$config-title$/new-width\&quot;\&quot;\&quot;\n\t$value=&lt;&lt;width&gt;&gt;\n/&gt;\n\n&lt;$action-setfield\n\t$tiddler=\&quot;\&quot;\&quot;$config-title$/new-height\&quot;\&quot;\&quot;\n\t$value=&lt;&lt;height&gt;&gt;\n/&gt;\n\n&lt;$action-deletetiddler\n\t$tiddler=\&quot;\&quot;\&quot;$config-title$/presets-popup\&quot;\&quot;\&quot;\n/&gt;\n\n&lt;$text text=&lt;&lt;width&gt;&gt;/&gt; &amp;times; &lt;$text text=&lt;&lt;height&gt;&gt;/&gt;\n\n&lt;/$button&gt;\n\n&lt;/$set&gt;\n\n&lt;/$set&gt;\n\\end\n\n\\define toolbar-button-size(config-title)\n''{{$:/language/Buttons/Size/Hint}}''\n\n&lt;&lt;lingo Caption/Width&gt;&gt; &lt;$edit-text tag=\&quot;input\&quot; tiddler=\&quot;\&quot;\&quot;$config-title$/new-width\&quot;\&quot;\&quot; default=&lt;&lt;tv-bitmap-editor-width&gt;&gt; focus=\&quot;true\&quot; size=\&quot;8\&quot;/&gt; &lt;&lt;lingo Caption/Height&gt;&gt; &lt;$edit-text tag=\&quot;input\&quot; tiddler=\&quot;\&quot;\&quot;$config-title$/new-height\&quot;\&quot;\&quot; default=&lt;&lt;tv-bitmap-editor-height&gt;&gt; size=\&quot;8\&quot;/&gt; &lt;$button popup=\&quot;\&quot;\&quot;$config-title$/presets-popup\&quot;\&quot;\&quot; class=\&quot;tc-btn-invisible tc-popup-keep\&quot; style=\&quot;width: auto; display: inline-block; background-colour: inherit;\&quot; selectedClass=\&quot;tc-selected\&quot;&gt;\n{{$:/core/images/down-arrow}}\n&lt;/$button&gt;\n\n&lt;$reveal tag=\&quot;span\&quot; state=\&quot;\&quot;\&quot;$config-title$/presets-popup\&quot;\&quot;\&quot; type=\&quot;popup\&quot; position=\&quot;belowleft\&quot; animate=\&quot;yes\&quot;&gt;\n\n&lt;div class=\&quot;tc-drop-down tc-popup-keep\&quot;&gt;\n\n&lt;$list filter={{$:/config/BitmapEditor/ImageSizes}} variable=\&quot;sizePair\&quot;&gt;\n\n&lt;$macrocall $name=\&quot;toolbar-button-size-preset\&quot; config-title=\&quot;$config-title$\&quot;/&gt;\n\n&lt;/$list&gt;\n\n&lt;/div&gt;\n\n&lt;/$reveal&gt;\n\n&lt;$button&gt;\n&lt;$action-sendmessage\n\t$message=\&quot;tm-edit-bitmap-operation\&quot;\n\t$param=\&quot;resize\&quot;\n\twidth={{$config-title$/new-width}}\n\theight={{$config-title$/new-height}}\n/&gt;\n&lt;$action-deletetiddler\n\t$tiddler=\&quot;\&quot;\&quot;$config-title$/new-width\&quot;\&quot;\&quot;\n/&gt;\n&lt;$action-deletetiddler\n\t$tiddler=\&quot;\&quot;\&quot;$config-title$/new-height\&quot;\&quot;\&quot;\n/&gt;\n&lt;$action-deletetiddler\n\t$tiddler=&lt;&lt;dropdown-state&gt;&gt;\n/&gt;\n&lt;&lt;lingo Caption/Resize&gt;&gt;\n&lt;/$button&gt;\n\\end\n\n&lt;$macrocall $name=\&quot;toolbar-button-size\&quot; config-title=&lt;&lt;qualify \&quot;$:/state/Size/\&quot;&gt;&gt;/&gt;\n&quot;
},
&quot;$:/core/ui/EditorToolbar/size&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditorToolbar/size&quot;,
&quot;tags&quot;: &quot;$:/tags/EditorToolbar&quot;,
&quot;icon&quot;: &quot;$:/core/images/size&quot;,
&quot;caption&quot;: &quot;{{$:/language/Buttons/Size/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/Size/Hint}}&quot;,
&quot;condition&quot;: &quot;[&lt;targetTiddler&gt;is[image]] -[&lt;targetTiddler&gt;type[image/svg+xml]]&quot;,
&quot;dropdown&quot;: &quot;$:/core/ui/EditorToolbar/size-dropdown&quot;,
&quot;text&quot;: &quot;&quot;
},
&quot;$:/core/ui/EditorToolbar/stamp-dropdown&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditorToolbar/stamp-dropdown&quot;,
&quot;text&quot;: &quot;\\define toolbar-button-stamp-inner()\n&lt;$button tag=\&quot;a\&quot;&gt;\n\n&lt;$list filter=\&quot;[[$(snippetTitle)$]addsuffix[/prefix]is[missing]removesuffix[/prefix]addsuffix[/suffix]is[missing]]\&quot;&gt;\n\n&lt;$action-sendmessage\n\t$message=\&quot;tm-edit-text-operation\&quot;\n\t$param=\&quot;replace-selection\&quot;\n\ttext={{$(snippetTitle)$}}\n/&gt;\n\n&lt;/$list&gt;\n\n\n&lt;$list filter=\&quot;[[$(snippetTitle)$]addsuffix[/prefix]is[missing]removesuffix[/prefix]addsuffix[/suffix]!is[missing]] [[$(snippetTitle)$]addsuffix[/prefix]!is[missing]removesuffix[/prefix]addsuffix[/suffix]is[missing]] [[$(snippetTitle)$]addsuffix[/prefix]!is[missing]removesuffix[/prefix]addsuffix[/suffix]!is[missing]]\&quot;&gt;\n\n&lt;$action-sendmessage\n\t$message=\&quot;tm-edit-text-operation\&quot;\n\t$param=\&quot;wrap-selection\&quot;\n\tprefix={{{ [[$(snippetTitle)$]addsuffix[/prefix]get[text]] }}}\nsuffix={{{ [[$(snippetTitle)$]addsuffix[/suffix]get[text]] }}}\n/&gt;\n\n&lt;/$list&gt;\n\n&lt;$action-deletetiddler\n\t$tiddler=&lt;&lt;dropdown-state&gt;&gt;\n/&gt;\n\n&lt;$transclude tiddler=&lt;&lt;snippetTitle&gt;&gt; field=\&quot;caption\&quot; mode=\&quot;inline\&quot;&gt;\n\n&lt;$view tiddler=&lt;&lt;snippetTitle&gt;&gt; field=\&quot;title\&quot; /&gt;\n\n&lt;/$transclude&gt;\n\n&lt;/$button&gt;\n\\end\n\n&lt;$list filter=\&quot;[all[shadows+tiddlers]tag[$:/tags/TextEditor/Snippet]!has[draft.of]sort[caption]]\&quot; variable=\&quot;snippetTitle\&quot;&gt;\n\n&lt;&lt;toolbar-button-stamp-inner&gt;&gt;\n\n&lt;/$list&gt;\n\n----\n\n&lt;$button tag=\&quot;a\&quot;&gt;\n\n&lt;$action-sendmessage\n\t$message=\&quot;tm-new-tiddler\&quot;\n\ttags=\&quot;$:/tags/TextEditor/Snippet\&quot;\n\tcaption={{$:/language/Buttons/Stamp/New/Title}}\n\ttext={{$:/language/Buttons/Stamp/New/Text}}\n/&gt;\n\n&lt;$action-deletetiddler\n\t$tiddler=&lt;&lt;dropdown-state&gt;&gt;\n/&gt;\n\n&lt;em&gt;\n\n&lt;$text text={{$:/language/Buttons/Stamp/Caption/New}}/&gt;\n\n&lt;/em&gt;\n\n&lt;/$button&gt;\n&quot;
},
&quot;$:/core/ui/EditorToolbar/stamp&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditorToolbar/stamp&quot;,
&quot;tags&quot;: &quot;$:/tags/EditorToolbar&quot;,
&quot;icon&quot;: &quot;$:/core/images/stamp&quot;,
&quot;caption&quot;: &quot;{{$:/language/Buttons/Stamp/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/Stamp/Hint}}&quot;,
&quot;condition&quot;: &quot;[&lt;targetTiddler&gt;type[]] [&lt;targetTiddler&gt;get[type]prefix[text/]] [&lt;targetTiddler&gt;get[type]match[application/javascript]] [&lt;targetTiddler&gt;get[type]match[application/json]] [&lt;targetTiddler&gt;get[type]match[application/x-tiddler-dictionary]] [&lt;targetTiddler&gt;get[type]match[image/svg+xml]] +[first[]]&quot;,
&quot;shortcuts&quot;: &quot;((stamp))&quot;,
&quot;dropdown&quot;: &quot;$:/core/ui/EditorToolbar/stamp-dropdown&quot;,
&quot;text&quot;: &quot;&quot;
},
&quot;$:/core/ui/EditorToolbar/strikethrough&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditorToolbar/strikethrough&quot;,
&quot;tags&quot;: &quot;$:/tags/EditorToolbar&quot;,
&quot;icon&quot;: &quot;$:/core/images/strikethrough&quot;,
&quot;caption&quot;: &quot;{{$:/language/Buttons/Strikethrough/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/Strikethrough/Hint}}&quot;,
&quot;condition&quot;: &quot;[&lt;targetTiddler&gt;!has[type]] [&lt;targetTiddler&gt;type[text/vnd.tiddlywiki]]&quot;,
&quot;shortcuts&quot;: &quot;((strikethrough))&quot;,
&quot;text&quot;: &quot;&lt;$action-sendmessage\n\t$message=\&quot;tm-edit-text-operation\&quot;\n\t$param=\&quot;wrap-selection\&quot;\n\tprefix=\&quot;~~\&quot;\n\tsuffix=\&quot;~~\&quot;\n/&gt;\n&quot;
},
&quot;$:/core/ui/EditorToolbar/subscript&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditorToolbar/subscript&quot;,
&quot;tags&quot;: &quot;$:/tags/EditorToolbar&quot;,
&quot;icon&quot;: &quot;$:/core/images/subscript&quot;,
&quot;caption&quot;: &quot;{{$:/language/Buttons/Subscript/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/Subscript/Hint}}&quot;,
&quot;condition&quot;: &quot;[&lt;targetTiddler&gt;!has[type]] [&lt;targetTiddler&gt;type[text/vnd.tiddlywiki]]&quot;,
&quot;shortcuts&quot;: &quot;((subscript))&quot;,
&quot;text&quot;: &quot;&lt;$action-sendmessage\n\t$message=\&quot;tm-edit-text-operation\&quot;\n\t$param=\&quot;wrap-selection\&quot;\n\tprefix=\&quot;,,\&quot;\n\tsuffix=\&quot;,,\&quot;\n/&gt;\n&quot;
},
&quot;$:/core/ui/EditorToolbar/superscript&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditorToolbar/superscript&quot;,
&quot;tags&quot;: &quot;$:/tags/EditorToolbar&quot;,
&quot;icon&quot;: &quot;$:/core/images/superscript&quot;,
&quot;caption&quot;: &quot;{{$:/language/Buttons/Superscript/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/Superscript/Hint}}&quot;,
&quot;condition&quot;: &quot;[&lt;targetTiddler&gt;!has[type]] [&lt;targetTiddler&gt;type[text/vnd.tiddlywiki]]&quot;,
&quot;shortcuts&quot;: &quot;((superscript))&quot;,
&quot;text&quot;: &quot;&lt;$action-sendmessage\n\t$message=\&quot;tm-edit-text-operation\&quot;\n\t$param=\&quot;wrap-selection\&quot;\n\tprefix=\&quot;^^\&quot;\n\tsuffix=\&quot;^^\&quot;\n/&gt;\n&quot;
},
&quot;$:/core/ui/EditorToolbar/transcludify&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditorToolbar/transcludify&quot;,
&quot;caption&quot;: &quot;{{$:/language/Buttons/Transcludify/Caption}}&quot;,
&quot;condition&quot;: &quot;[&lt;targetTiddler&gt;!has[type]] [&lt;targetTiddler&gt;type[text/vnd.tiddlywiki]]&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/Transcludify/Hint}}&quot;,
&quot;icon&quot;: &quot;$:/core/images/transcludify&quot;,
&quot;list-before&quot;: &quot;$:/core/ui/EditorToolbar/mono-block&quot;,
&quot;shortcuts&quot;: &quot;((transcludify))&quot;,
&quot;tags&quot;: &quot;$:/tags/EditorToolbar&quot;,
&quot;text&quot;: &quot;&lt;$action-sendmessage\n\t$message=\&quot;tm-edit-text-operation\&quot;\n\t$param=\&quot;wrap-selection\&quot;\n\tprefix=\&quot;{{\&quot;\n\tsuffix=\&quot;}}\&quot;\n/&gt;\n&quot;
},
&quot;$:/core/ui/EditorToolbar/underline&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditorToolbar/underline&quot;,
&quot;tags&quot;: &quot;$:/tags/EditorToolbar&quot;,
&quot;icon&quot;: &quot;$:/core/images/underline&quot;,
&quot;caption&quot;: &quot;{{$:/language/Buttons/Underline/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/Underline/Hint}}&quot;,
&quot;condition&quot;: &quot;[&lt;targetTiddler&gt;!has[type]] [&lt;targetTiddler&gt;type[text/vnd.tiddlywiki]]&quot;,
&quot;shortcuts&quot;: &quot;((underline))&quot;,
&quot;text&quot;: &quot;&lt;$action-sendmessage\n\t$message=\&quot;tm-edit-text-operation\&quot;\n\t$param=\&quot;wrap-selection\&quot;\n\tprefix=\&quot;__\&quot;\n\tsuffix=\&quot;__\&quot;\n/&gt;\n&quot;
},
&quot;$:/core/Filters/AllTags&quot;: {
&quot;title&quot;: &quot;$:/core/Filters/AllTags&quot;,
&quot;tags&quot;: &quot;$:/tags/Filter&quot;,
&quot;filter&quot;: &quot;[tags[]!is[system]sort[title]]&quot;,
&quot;description&quot;: &quot;{{$:/language/Filters/AllTags}}&quot;,
&quot;text&quot;: &quot;&quot;
},
&quot;$:/core/Filters/AllTiddlers&quot;: {
&quot;title&quot;: &quot;$:/core/Filters/AllTiddlers&quot;,
&quot;tags&quot;: &quot;$:/tags/Filter&quot;,
&quot;filter&quot;: &quot;[!is[system]sort[title]]&quot;,
&quot;description&quot;: &quot;{{$:/language/Filters/AllTiddlers}}&quot;,
&quot;text&quot;: &quot;&quot;
},
&quot;$:/core/Filters/Drafts&quot;: {
&quot;title&quot;: &quot;$:/core/Filters/Drafts&quot;,
&quot;tags&quot;: &quot;$:/tags/Filter&quot;,
&quot;filter&quot;: &quot;[has[draft.of]sort[title]]&quot;,
&quot;description&quot;: &quot;{{$:/language/Filters/Drafts}}&quot;,
&quot;text&quot;: &quot;&quot;
},
&quot;$:/core/Filters/Missing&quot;: {
&quot;title&quot;: &quot;$:/core/Filters/Missing&quot;,
&quot;tags&quot;: &quot;$:/tags/Filter&quot;,
&quot;filter&quot;: &quot;[all[missing]sort[title]]&quot;,
&quot;description&quot;: &quot;{{$:/language/Filters/Missing}}&quot;,
&quot;text&quot;: &quot;&quot;
},
&quot;$:/core/Filters/Orphans&quot;: {
&quot;title&quot;: &quot;$:/core/Filters/Orphans&quot;,
&quot;tags&quot;: &quot;$:/tags/Filter&quot;,
&quot;filter&quot;: &quot;[all[orphans]sort[title]]&quot;,
&quot;description&quot;: &quot;{{$:/language/Filters/Orphans}}&quot;,
&quot;text&quot;: &quot;&quot;
},
&quot;$:/core/Filters/OverriddenShadowTiddlers&quot;: {
&quot;title&quot;: &quot;$:/core/Filters/OverriddenShadowTiddlers&quot;,
&quot;tags&quot;: &quot;$:/tags/Filter&quot;,
&quot;filter&quot;: &quot;[is[shadow]]&quot;,
&quot;description&quot;: &quot;{{$:/language/Filters/OverriddenShadowTiddlers}}&quot;,
&quot;text&quot;: &quot;&quot;
},
&quot;$:/core/Filters/RecentSystemTiddlers&quot;: {
&quot;title&quot;: &quot;$:/core/Filters/RecentSystemTiddlers&quot;,
&quot;tags&quot;: &quot;$:/tags/Filter&quot;,
&quot;filter&quot;: &quot;[has[modified]!sort[modified]limit[50]]&quot;,
&quot;description&quot;: &quot;{{$:/language/Filters/RecentSystemTiddlers}}&quot;,
&quot;text&quot;: &quot;&quot;
},
&quot;$:/core/Filters/RecentTiddlers&quot;: {
&quot;title&quot;: &quot;$:/core/Filters/RecentTiddlers&quot;,
&quot;tags&quot;: &quot;$:/tags/Filter&quot;,
&quot;filter&quot;: &quot;[!is[system]has[modified]!sort[modified]limit[50]]&quot;,
&quot;description&quot;: &quot;{{$:/language/Filters/RecentTiddlers}}&quot;,
&quot;text&quot;: &quot;&quot;
},
&quot;$:/core/Filters/SessionTiddlers&quot;: {
&quot;title&quot;: &quot;$:/core/Filters/SessionTiddlers&quot;,
&quot;tags&quot;: &quot;$:/tags/Filter&quot;,
&quot;filter&quot;: &quot;[haschanged[]]&quot;,
&quot;description&quot;: &quot;{{$:/language/Filters/SessionTiddlers}}&quot;,
&quot;text&quot;: &quot;&quot;
},
&quot;$:/core/Filters/ShadowTiddlers&quot;: {
&quot;title&quot;: &quot;$:/core/Filters/ShadowTiddlers&quot;,
&quot;tags&quot;: &quot;$:/tags/Filter&quot;,
&quot;filter&quot;: &quot;[all[shadows]sort[title]]&quot;,
&quot;description&quot;: &quot;{{$:/language/Filters/ShadowTiddlers}}&quot;,
&quot;text&quot;: &quot;&quot;
},
&quot;$:/core/Filters/StoryList&quot;: {
&quot;title&quot;: &quot;$:/core/Filters/StoryList&quot;,
&quot;tags&quot;: &quot;$:/tags/Filter&quot;,
&quot;filter&quot;: &quot;[list[$:/StoryList]] -$:/AdvancedSearch&quot;,
&quot;description&quot;: &quot;{{$:/language/Filters/StoryList}}&quot;,
&quot;text&quot;: &quot;&quot;
},
&quot;$:/core/Filters/SystemTags&quot;: {
&quot;title&quot;: &quot;$:/core/Filters/SystemTags&quot;,
&quot;tags&quot;: &quot;$:/tags/Filter&quot;,
&quot;filter&quot;: &quot;[all[shadows+tiddlers]tags[]is[system]sort[title]]&quot;,
&quot;description&quot;: &quot;{{$:/language/Filters/SystemTags}}&quot;,
&quot;text&quot;: &quot;&quot;
},
&quot;$:/core/Filters/SystemTiddlers&quot;: {
&quot;title&quot;: &quot;$:/core/Filters/SystemTiddlers&quot;,
&quot;tags&quot;: &quot;$:/tags/Filter&quot;,
&quot;filter&quot;: &quot;[is[system]sort[title]]&quot;,
&quot;description&quot;: &quot;{{$:/language/Filters/SystemTiddlers}}&quot;,
&quot;text&quot;: &quot;&quot;
},
&quot;$:/core/Filters/TypedTiddlers&quot;: {
&quot;title&quot;: &quot;$:/core/Filters/TypedTiddlers&quot;,
&quot;tags&quot;: &quot;$:/tags/Filter&quot;,
&quot;filter&quot;: &quot;[!is[system]has[type]each[type]sort[type]] -[type[text/vnd.tiddlywiki]]&quot;,
&quot;description&quot;: &quot;{{$:/language/Filters/TypedTiddlers}}&quot;,
&quot;text&quot;: &quot;&quot;
},
&quot;$:/core/ui/ImportListing&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ImportListing&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/Import/\n\n\\define messageField() message-$(payloadTiddler)$\n\n\\define payloadTitleFilter() [&lt;currentTiddler&gt;get&lt;renameField&gt;minlength[1]else&lt;payloadTiddler&gt;]\n\n\\define overWriteWarning()\n&lt;$list filter=\&quot;[&lt;currentTiddler&gt;!has&lt;suppressedField&gt;]\&quot;&gt;\n&lt;$text text={{{[subfilter&lt;payloadTitleFilter&gt;!is[tiddler]then[]] ~[&lt;lingo-base&gt;addsuffix[Listing/Rename/OverwriteWarning]get[text]]}}}/&gt;\n&lt;/$list&gt;\n\\end\n\n\\define selectionField() selection-$(payloadTiddler)$\n\n\\define renameField() rename-$(payloadTiddler)$\n\n\\define suppressedField() suppressed-$(payloadTiddler)$\n\n\\define newImportTitleTiddler() $:/temp/NewImportTitle-$(payloadTiddler)$\n\n\\define previewPopupState() $(currentTiddler)$!!popup-$(payloadTiddler)$\n\n\\define renameFieldState() $(currentTiddler)$!!state-rename-$(payloadTiddler)$\n\n\\define select-all-actions()\n&lt;$list filter=\&quot;[all[current]plugintiddlers[]sort[title]]\&quot; variable=\&quot;payloadTiddler\&quot;&gt;\n&lt;$action-setfield $field={{{ [&lt;payloadTiddler&gt;addprefix[selection-]] }}} $value={{$:/state/import/select-all}}/&gt;\n&lt;/$list&gt;\n\\end\n\n&lt;table class=\&quot;tc-import-table\&quot;&gt;\n&lt;tbody&gt;\n&lt;tr&gt;\n&lt;th align=\&quot;left\&quot;&gt;\n&lt;$checkbox tiddler=\&quot;$:/state/import/select-all\&quot; field=\&quot;text\&quot; checked=\&quot;checked\&quot; unchecked=\&quot;unchecked\&quot; default=\&quot;checked\&quot; actions=&lt;&lt;select-all-actions&gt;&gt;&gt;\n&lt;&lt;lingo Listing/Select/Caption&gt;&gt;\n&lt;/$checkbox&gt;\n&lt;/th&gt;\n&lt;th&gt;\n&lt;&lt;lingo Listing/Title/Caption&gt;&gt;\n&lt;/th&gt;\n&lt;th&gt;\n&lt;&lt;lingo Listing/Status/Caption&gt;&gt;\n&lt;/th&gt;\n&lt;/tr&gt;\n&lt;$list filter=\&quot;[all[current]plugintiddlers[]sort[title]]\&quot; variable=\&quot;payloadTiddler\&quot;&gt;\n&lt;tr class={{{[&lt;currentTiddler&gt;has&lt;suppressedField&gt;then[tc-row-disabled]] ~[subfilter&lt;payloadTitleFilter&gt;is[tiddler]then[tc-row-warning]] }}}&gt;\n&lt;td&gt;\n&lt;$checkbox field=&lt;&lt;selectionField&gt;&gt; checked=\&quot;checked\&quot; unchecked=\&quot;unchecked\&quot; default=\&quot;checked\&quot; disabled={{{[&lt;currentTiddler&gt;has&lt;suppressedField&gt;then[yes]else[no]]}}}/&gt;\n&lt;/td&gt;\n&lt;td&gt;\n&lt;$reveal type=\&quot;nomatch\&quot; state=&lt;&lt;renameFieldState&gt;&gt; text=\&quot;yes\&quot; tag=\&quot;div\&quot;&gt;\n&lt;$reveal type=\&quot;nomatch\&quot; state=&lt;&lt;previewPopupState&gt;&gt; text=\&quot;yes\&quot; tag=\&quot;div\&quot; class=\&quot;tc-flex\&quot;&gt;\n&lt;$button class=\&quot;tc-btn-invisible tc-btn-dropdown tc-flex-grow-1 tc-word-break\&quot; set=&lt;&lt;previewPopupState&gt;&gt; setTo=\&quot;yes\&quot; disabled={{{[&lt;currentTiddler&gt;has&lt;suppressedField&gt;then[yes]else[no]]}}}&gt;\n&lt;span class=\&quot;tc-small-gap-right\&quot;&gt;{{$:/core/images/right-arrow}}&lt;/span&gt;&lt;$text text={{{[subfilter&lt;payloadTitleFilter&gt;]}}}/&gt;\n&lt;/$button&gt;\n&lt;$list filter=\&quot;[&lt;currentTiddler&gt;!has&lt;suppressedField&gt;]\&quot;&gt;&lt;$button class=\&quot;tc-btn-invisible\&quot; set=&lt;&lt;renameFieldState&gt;&gt; setTo=\&quot;yes\&quot; tooltip={{{[&lt;lingo-base&gt;addsuffix[Listing/Rename/Tooltip]get[text]]}}}&gt;{{$:/core/images/edit-button}}&lt;/$button&gt;&lt;/$list&gt;\n&lt;/$reveal&gt;\n&lt;$reveal type=\&quot;match\&quot; state=&lt;&lt;previewPopupState&gt;&gt; text=\&quot;yes\&quot; tag=\&quot;div\&quot;&gt;\n&lt;$button class=\&quot;tc-btn-invisible tc-btn-dropdown\&quot; set=&lt;&lt;previewPopupState&gt;&gt; setTo=\&quot;no\&quot;&gt;\n&lt;span class=\&quot;tc-small-gap-right\&quot;&gt;{{$:/core/images/down-arrow}}&lt;/span&gt;&lt;$text text={{{[subfilter&lt;payloadTitleFilter&gt;]}}}/&gt;\n&lt;/$button&gt;\n&lt;/$reveal&gt;\n&lt;/$reveal&gt;\n&lt;$reveal type=\&quot;match\&quot; state=&lt;&lt;renameFieldState&gt;&gt; text=\&quot;yes\&quot; tag=\&quot;div\&quot;&gt;\n&lt;$text text={{{[&lt;lingo-base&gt;addsuffix[L
},
&quot;$:/core/ui/ImportPreviews/Diff&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ImportPreviews/Diff&quot;,
&quot;tags&quot;: &quot;$:/tags/ImportPreview&quot;,
&quot;caption&quot;: &quot;{{$:/language/Import/Listing/Preview/Diff}}&quot;,
&quot;text&quot;: &quot;&lt;$macrocall $name=\&quot;compareTiddlerText\&quot; sourceTiddlerTitle=&lt;&lt;payloadTiddler&gt;&gt; destTiddlerTitle=&lt;&lt;currentTiddler&gt;&gt; destSubTiddlerTitle=&lt;&lt;payloadTiddler&gt;&gt;/&gt;\n&quot;
},
&quot;$:/core/ui/ImportPreviews/DiffFields&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ImportPreviews/DiffFields&quot;,
&quot;tags&quot;: &quot;$:/tags/ImportPreview&quot;,
&quot;caption&quot;: &quot;{{$:/language/Import/Listing/Preview/DiffFields}}&quot;,
&quot;text&quot;: &quot;&lt;$macrocall $name=\&quot;compareTiddlers\&quot; sourceTiddlerTitle=&lt;&lt;payloadTiddler&gt;&gt; destTiddlerTitle=&lt;&lt;currentTiddler&gt;&gt; destSubTiddlerTitle=&lt;&lt;payloadTiddler&gt;&gt; exclude=\&quot;text\&quot;/&gt;\n&quot;
},
&quot;$:/core/ui/ImportPreviews/Fields&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ImportPreviews/Fields&quot;,
&quot;tags&quot;: &quot;$:/tags/ImportPreview&quot;,
&quot;caption&quot;: &quot;{{$:/language/Import/Listing/Preview/Fields}}&quot;,
&quot;text&quot;: &quot;&lt;table class=\&quot;tc-view-field-table\&quot;&gt;\n&lt;tbody&gt;\n&lt;$list filter=\&quot;[&lt;payloadTiddler&gt;subtiddlerfields&lt;currentTiddler&gt;sort[]] -text\&quot; variable=\&quot;fieldName\&quot;&gt;\n&lt;tr class=\&quot;tc-view-field\&quot;&gt;\n&lt;td class=\&quot;tc-view-field-name\&quot;&gt;\n&lt;$text text=&lt;&lt;fieldName&gt;&gt;/&gt;\n&lt;/td&gt;\n&lt;td class=\&quot;tc-view-field-value\&quot;&gt;\n&lt;$view field=&lt;&lt;fieldName&gt;&gt; tiddler=&lt;&lt;currentTiddler&gt;&gt; subtiddler=&lt;&lt;payloadTiddler&gt;&gt;/&gt;\n&lt;/td&gt;\n&lt;/tr&gt;\n&lt;/$list&gt;\n&lt;/tbody&gt;\n&lt;/table&gt;\n&quot;
},
&quot;$:/core/ui/ImportPreviews/Text&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ImportPreviews/Text&quot;,
&quot;tags&quot;: &quot;$:/tags/ImportPreview&quot;,
&quot;caption&quot;: &quot;{{$:/language/Import/Listing/Preview/Text}}&quot;,
&quot;text&quot;: &quot;&lt;$transclude tiddler=&lt;&lt;currentTiddler&gt;&gt; subtiddler=&lt;&lt;payloadTiddler&gt;&gt; mode=\&quot;block\&quot;/&gt;\n&quot;
},
&quot;$:/core/ui/ImportPreviews/TextRaw&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ImportPreviews/TextRaw&quot;,
&quot;tags&quot;: &quot;$:/tags/ImportPreview&quot;,
&quot;caption&quot;: &quot;{{$:/language/Import/Listing/Preview/TextRaw}}&quot;,
&quot;text&quot;: &quot;&lt;pre&gt;&lt;code&gt;&lt;$view tiddler=&lt;&lt;currentTiddler&gt;&gt; subtiddler=&lt;&lt;payloadTiddler&gt;&gt; /&gt;&lt;/code&gt;&lt;/pre&gt;&quot;
},
&quot;$:/core/ui/KeyboardShortcuts/advanced-search&quot;: {
&quot;title&quot;: &quot;$:/core/ui/KeyboardShortcuts/advanced-search&quot;,
&quot;tags&quot;: &quot;$:/tags/KeyboardShortcut&quot;,
&quot;key&quot;: &quot;((advanced-search))&quot;,
&quot;text&quot;: &quot;&lt;$navigator story=\&quot;$:/StoryList\&quot; history=\&quot;$:/HistoryList\&quot;&gt;\n&lt;$action-navigate $to=\&quot;$:/AdvancedSearch\&quot;/&gt;\n&lt;$action-sendmessage $message=\&quot;tm-focus-selector\&quot; $param=\&quot;\&quot;\&quot;[data-tiddler-title=\&quot;$:/AdvancedSearch\&quot;] .tc-search input\&quot;\&quot;\&quot; preventScroll=\&quot;true\&quot;/&gt;\n&lt;/$navigator&gt;\n&quot;
},
&quot;$:/core/ui/KeyboardShortcuts/change-sidebar-layout&quot;: {
&quot;title&quot;: &quot;$:/core/ui/KeyboardShortcuts/change-sidebar-layout&quot;,
&quot;tags&quot;: &quot;$:/tags/KeyboardShortcut&quot;,
&quot;key&quot;: &quot;((change-sidebar-layout))&quot;,
&quot;text&quot;: &quot;&lt;$list filter=\&quot;[{$:/themes/tiddlywiki/vanilla/options/sidebarlayout}match[fixed-fluid]]\&quot; \nemptyMessage=\&quot;\&quot;\&quot;&lt;$action-setfield $tiddler=\&quot;$:/themes/tiddlywiki/vanilla/options/sidebarlayout\&quot; text=\&quot;fixed-fluid\&quot;/&gt;\&quot;\&quot;\&quot;&gt;\n&lt;$action-setfield $tiddler=\&quot;$:/themes/tiddlywiki/vanilla/options/sidebarlayout\&quot; text=\&quot;fluid-fixed\&quot;/&gt;\n&lt;/$list&gt;\n&quot;
},
&quot;$:/core/ui/KeyboardShortcuts/new-image&quot;: {
&quot;title&quot;: &quot;$:/core/ui/KeyboardShortcuts/new-image&quot;,
&quot;tags&quot;: &quot;$:/tags/KeyboardShortcut&quot;,
&quot;key&quot;: &quot;((new-image))&quot;,
&quot;text&quot;: &quot;&lt;$navigator story=\&quot;$:/StoryList\&quot; history=\&quot;$:/HistoryList\&quot; openLinkFromInsideRiver={{$:/config/Navigation/openLinkFromInsideRiver}} openLinkFromOutsideRiver={{$:/config/Navigation/openLinkFromOutsideRiver}} relinkOnRename={{$:/config/RelinkOnRename}}&gt;\n{{$:/core/ui/Actions/new-image}}\n&lt;/$navigator&gt;\n&quot;
},
&quot;$:/core/ui/KeyboardShortcuts/new-journal&quot;: {
&quot;title&quot;: &quot;$:/core/ui/KeyboardShortcuts/new-journal&quot;,
&quot;tags&quot;: &quot;$:/tags/KeyboardShortcut&quot;,
&quot;key&quot;: &quot;((new-journal))&quot;,
&quot;text&quot;: &quot;&lt;$navigator story=\&quot;$:/StoryList\&quot; history=\&quot;$:/HistoryList\&quot; openLinkFromInsideRiver={{$:/config/Navigation/openLinkFromInsideRiver}} openLinkFromOutsideRiver={{$:/config/Navigation/openLinkFromOutsideRiver}} relinkOnRename={{$:/config/RelinkOnRename}}&gt;\n{{$:/core/ui/Actions/new-journal}}\n&lt;/$navigator&gt;\n&quot;
},
&quot;$:/core/ui/KeyboardShortcuts/new-tiddler&quot;: {
&quot;title&quot;: &quot;$:/core/ui/KeyboardShortcuts/new-tiddler&quot;,
&quot;tags&quot;: &quot;$:/tags/KeyboardShortcut&quot;,
&quot;key&quot;: &quot;((new-tiddler))&quot;,
&quot;text&quot;: &quot;&lt;$navigator story=\&quot;$:/StoryList\&quot; history=\&quot;$:/HistoryList\&quot; openLinkFromInsideRiver={{$:/config/Navigation/openLinkFromInsideRiver}} openLinkFromOutsideRiver={{$:/config/Navigation/openLinkFromOutsideRiver}} relinkOnRename={{$:/config/RelinkOnRename}}&gt;\n{{$:/core/ui/Actions/new-tiddler}}\n&lt;/$navigator&gt;\n&quot;
},
&quot;$:/core/ui/KeyboardShortcuts/save-wiki&quot;: {
&quot;title&quot;: &quot;$:/core/ui/KeyboardShortcuts/save-wiki&quot;,
&quot;tags&quot;: &quot;$:/tags/KeyboardShortcut&quot;,
&quot;key&quot;: &quot;((save-wiki))&quot;,
&quot;text&quot;: &quot;&lt;$wikify name=\&quot;site-title\&quot; text={{$:/config/SaveWikiButton/Filename}}&gt;\n&lt;$action-sendmessage $message=\&quot;tm-save-wiki\&quot; $param={{$:/config/SaveWikiButton/Template}} filename=&lt;&lt;site-title&gt;&gt;/&gt;\n&lt;/$wikify&gt;\n&quot;
},
&quot;$:/core/ui/KeyboardShortcuts/sidebar-search&quot;: {
&quot;title&quot;: &quot;$:/core/ui/KeyboardShortcuts/sidebar-search&quot;,
&quot;tags&quot;: &quot;$:/tags/KeyboardShortcut&quot;,
&quot;key&quot;: &quot;((sidebar-search))&quot;,
&quot;text&quot;: &quot;&lt;$action-sendmessage $message=\&quot;tm-focus-selector\&quot; $param=\&quot;.tc-search input\&quot;/&gt;\n&quot;
},
&quot;$:/core/ui/KeyboardShortcuts/switcher&quot;: {
&quot;title&quot;: &quot;$:/core/ui/KeyboardShortcuts/switcher&quot;,
&quot;tags&quot;: &quot;$:/tags/KeyboardShortcut&quot;,
&quot;key&quot;: &quot;((layout-switcher))&quot;,
&quot;text&quot;: &quot;&lt;$action-sendmessage $message=\&quot;tm-show-switcher\&quot; switch=\&quot;layout\&quot;/&gt;&quot;
},
&quot;$:/core/ui/KeyboardShortcuts/toggle-sidebar&quot;: {
&quot;title&quot;: &quot;$:/core/ui/KeyboardShortcuts/toggle-sidebar&quot;,
&quot;tags&quot;: &quot;$:/tags/KeyboardShortcut&quot;,
&quot;key&quot;: &quot;((toggle-sidebar))&quot;,
&quot;text&quot;: &quot;&lt;$list filter=\&quot;[[$:/state/sidebar]is[missing]] [{$:/state/sidebar}removeprefix[yes]]\&quot; emptyMessage=\&quot;\&quot;\&quot;\n&lt;$action-setfield $tiddler=\&quot;$:/state/sidebar\&quot; text=\&quot;yes\&quot;/&gt;\n\&quot;\&quot;\&quot;&gt;\n&lt;$action-setfield $tiddler=\&quot;$:/state/sidebar\&quot; text=\&quot;no\&quot;/&gt;\n&lt;/$list&gt;\n&quot;
},
&quot;$:/snippets/LayoutSwitcher&quot;: {
&quot;title&quot;: &quot;$:/snippets/LayoutSwitcher&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel/Appearance&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/LayoutSwitcher/Caption}}&quot;,
&quot;text&quot;: &quot;&lt;$linkcatcher to=\&quot;$:/layout\&quot;&gt;\n&lt;div class=\&quot;tc-chooser\&quot;&gt;\n&lt;$list filter=\&quot;[all[tiddlers+shadows]tag[$:/tags/Layout]] [[$:/core/ui/PageTemplate]] +[!is[draft]sort[name]]\&quot;&gt;\n&lt;$list filter=\&quot;[{$:/layout}!has[text]]\&quot; variable=\&quot;ignore\&quot; emptyMessage=\&quot;\&quot;\&quot;\n&lt;$set name=\&quot;cls\&quot; filter=\&quot;[all[current]field:title{$:/layout}]\&quot; value=\&quot;tc-chooser-item tc-chosen\&quot; emptyValue=\&quot;tc-chooser-item\&quot;&gt;&lt;div class=&lt;&lt;cls&gt;&gt;&gt;&lt;$link to={{!!title}}&gt;''&lt;$transclude field=\&quot;name\&quot;/&gt;'' - &lt;$transclude field=\&quot;description\&quot;/&gt;&lt;/$link&gt;&lt;/div&gt;\n&lt;/$set&gt;\n\&quot;\&quot;\&quot;&gt;\n&lt;$set name=\&quot;cls\&quot; filter=\&quot;[all[current]field:title[$:/core/ui/PageTemplate]]\&quot; value=\&quot;tc-chooser-item tc-chosen\&quot; emptyValue=\&quot;tc-chooser-item\&quot;&gt;&lt;div class=&lt;&lt;cls&gt;&gt;&gt;&lt;$link to={{!!title}}&gt;''&lt;$transclude field=\&quot;name\&quot;/&gt;'' - &lt;$transclude field=\&quot;description\&quot;/&gt;&lt;/$link&gt;&lt;/div&gt;\n&lt;/$set&gt;\n&lt;/$list&gt;\n&lt;/$list&gt;\n&lt;/div&gt;\n&lt;/$linkcatcher&gt;\n&quot;
},
&quot;$:/core/ui/ListItemTemplate&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ListItemTemplate&quot;,
&quot;text&quot;: &quot;&lt;div class=\&quot;tc-menu-list-item\&quot;&gt;\n&lt;$link /&gt;\n&lt;/div&gt;&quot;
},
&quot;$:/Manager/ItemMain/Fields&quot;: {
&quot;title&quot;: &quot;$:/Manager/ItemMain/Fields&quot;,
&quot;tags&quot;: &quot;$:/tags/Manager/ItemMain&quot;,
&quot;caption&quot;: &quot;{{$:/language/Manager/Item/Fields}}&quot;,
&quot;text&quot;: &quot;&lt;table&gt;\n&lt;tbody&gt;\n&lt;$list filter=\&quot;[all[current]fields[]sort[title]] -text\&quot; template=\&quot;$:/core/ui/TiddlerFieldTemplate\&quot; variable=\&quot;listItem\&quot;/&gt;\n&lt;/tbody&gt;\n&lt;/table&gt;\n&quot;
},
&quot;$:/Manager/ItemMain/RawText&quot;: {
&quot;title&quot;: &quot;$:/Manager/ItemMain/RawText&quot;,
&quot;tags&quot;: &quot;$:/tags/Manager/ItemMain&quot;,
&quot;caption&quot;: &quot;{{$:/language/Manager/Item/RawText}}&quot;,
&quot;text&quot;: &quot;&lt;pre&gt;&lt;code&gt;&lt;$view/&gt;&lt;/code&gt;&lt;/pre&gt;\n&quot;
},
&quot;$:/Manager/ItemMain/WikifiedText&quot;: {
&quot;title&quot;: &quot;$:/Manager/ItemMain/WikifiedText&quot;,
&quot;tags&quot;: &quot;$:/tags/Manager/ItemMain&quot;,
&quot;caption&quot;: &quot;{{$:/language/Manager/Item/WikifiedText}}&quot;,
&quot;text&quot;: &quot;&lt;$transclude mode=\&quot;block\&quot;/&gt;\n&quot;
},
&quot;$:/Manager/ItemSidebar/Colour&quot;: {
&quot;title&quot;: &quot;$:/Manager/ItemSidebar/Colour&quot;,
&quot;tags&quot;: &quot;$:/tags/Manager/ItemSidebar&quot;,
&quot;caption&quot;: &quot;{{$:/language/Manager/Item/Colour}}&quot;,
&quot;text&quot;: &quot;\\define swatch-styles()\nheight: 1em;\nbackground-color: $(colour)$\n\\end\n\n&lt;$vars colour={{!!color}}&gt;\n&lt;p style=&lt;&lt;swatch-styles&gt;&gt;/&gt;\n&lt;/$vars&gt;\n&lt;p&gt;\n&lt;$edit-text field=\&quot;color\&quot; tag=\&quot;input\&quot; type=\&quot;color\&quot;/&gt; / &lt;$edit-text field=\&quot;color\&quot; tag=\&quot;input\&quot; type=\&quot;text\&quot; size=\&quot;9\&quot;/&gt;\n&lt;/p&gt;\n&quot;
},
&quot;$:/Manager/ItemSidebar/Icon&quot;: {
&quot;title&quot;: &quot;$:/Manager/ItemSidebar/Icon&quot;,
&quot;tags&quot;: &quot;$:/tags/Manager/ItemSidebar&quot;,
&quot;caption&quot;: &quot;{{$:/language/Manager/Item/Icon}}&quot;,
&quot;text&quot;: &quot;&lt;p&gt;\n&lt;div class=\&quot;tc-manager-icon-editor\&quot;&gt;\n&lt;$button popup=&lt;&lt;qualify \&quot;$:/state/popup/image-picker\&quot;&gt;&gt; class=\&quot;tc-btn-invisible\&quot;&gt;\n&lt;$transclude tiddler={{!!icon}}&gt;\n{{$:/language/Manager/Item/Icon/None}}\n&lt;/$transclude&gt;\n&lt;/$button&gt;\n&lt;div class=\&quot;tc-block-dropdown-wrapper\&quot; style=\&quot;position: static;\&quot;&gt;\n&lt;$reveal state=&lt;&lt;qualify \&quot;$:/state/popup/image-picker\&quot;&gt;&gt; type=\&quot;nomatch\&quot; text=\&quot;\&quot; default=\&quot;\&quot; tag=\&quot;div\&quot; class=\&quot;tc-popup\&quot;&gt;\n&lt;div class=\&quot;tc-block-dropdown tc-popup-keep\&quot; style=\&quot;width: 80%; left: 10%; right: 10%; padding: 0.5em;\&quot;&gt;\n&lt;$macrocall $name=\&quot;image-picker-include-tagged-images\&quot; actions=\&quot;\&quot;\&quot;\n&lt;$action-setfield $field=\&quot;icon\&quot; $value=&lt;&lt;imageTitle&gt;&gt;/&gt;\n&lt;$action-deletetiddler $tiddler=&lt;&lt;qualify \&quot;$:/state/popup/image-picker\&quot;&gt;&gt;/&gt;\n\&quot;\&quot;\&quot;/&gt;\n&lt;/div&gt;\n&lt;/$reveal&gt;\n&lt;/div&gt;\n&lt;/div&gt;\n&lt;/p&gt;\n&quot;
},
&quot;$:/Manager/ItemSidebar/Tags&quot;: {
&quot;title&quot;: &quot;$:/Manager/ItemSidebar/Tags&quot;,
&quot;tags&quot;: &quot;$:/tags/Manager/ItemSidebar&quot;,
&quot;caption&quot;: &quot;{{$:/language/Manager/Item/Tags}}&quot;,
&quot;text&quot;: &quot;\\whitespace trim\n\\define tag-checkbox-actions()\n&lt;$action-listops\n\t$tiddler=\&quot;$:/config/Manager/RecentTags\&quot;\n\t$subfilter=\&quot;[&lt;tag&gt;] [list[$:/config/Manager/RecentTags]] +[limit[12]]\&quot;\n/&gt;\n\\end\n\n\\define tag-picker-actions()\n&lt;&lt;tag-checkbox-actions&gt;&gt;\n\\end\n\n&lt;p&gt;\n&lt;$list filter=\&quot;[all[current]tags[]] [list[$:/config/Manager/RecentTags]] +[sort[title]] \&quot; variable=\&quot;tag\&quot; storyview=\&quot;pop\&quot;&gt;\n&lt;div&gt;\n&lt;$checkbox tiddler=&lt;&lt;currentTiddler&gt;&gt; tag=&lt;&lt;tag&gt;&gt; actions=&lt;&lt;tag-checkbox-actions&gt;&gt;&gt;\n&lt;$macrocall $name=\&quot;tag-pill\&quot; tag=&lt;&lt;tag&gt;&gt;/&gt;\n&lt;/$checkbox&gt;\n&lt;/div&gt;\n&lt;/$list&gt;\n&lt;/p&gt;\n&lt;p&gt;\n&lt;$fieldmangler&gt;\n&lt;$macrocall $name=\&quot;tag-picker\&quot; actions=&lt;&lt;tag-picker-actions&gt;&gt;/&gt;\n&lt;/$fieldmangler&gt;\n&lt;/p&gt;\n&quot;
},
&quot;$:/Manager/ItemSidebar/Tools&quot;: {
&quot;title&quot;: &quot;$:/Manager/ItemSidebar/Tools&quot;,
&quot;tags&quot;: &quot;$:/tags/Manager/ItemSidebar&quot;,
&quot;caption&quot;: &quot;{{$:/language/Manager/Item/Tools}}&quot;,
&quot;text&quot;: &quot;&lt;p&gt;\n&lt;$button to=&lt;&lt;currentTiddler&gt;&gt;&gt;{{$:/core/images/link}} open&lt;/$button&gt;\n&lt;/p&gt;\n&lt;p&gt;\n&lt;$button message=\&quot;tm-edit-tiddler\&quot; param=&lt;&lt;currentTiddler&gt;&gt;&gt;{{$:/core/images/edit-button}} edit&lt;/$button&gt;\n&lt;/p&gt;\n&quot;
},
&quot;$:/Manager&quot;: {
&quot;title&quot;: &quot;$:/Manager&quot;,
&quot;icon&quot;: &quot;$:/core/images/list&quot;,
&quot;color&quot;: &quot;#bbb&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/Manager/\n\n\\define list-item-content-item()\n&lt;div class=\&quot;tc-manager-list-item-content-item\&quot;&gt;\n\t&lt;$vars state-title=\&quot;\&quot;\&quot;$:/state/popup/manager/item/$(listItem)$\&quot;\&quot;\&quot;&gt;\n\t\t&lt;$reveal state=&lt;&lt;state-title&gt;&gt; type=\&quot;match\&quot; text=\&quot;show\&quot; default=\&quot;show\&quot; tag=\&quot;div\&quot;&gt;\n\t\t\t&lt;$button set=&lt;&lt;state-title&gt;&gt; setTo=\&quot;hide\&quot; class=\&quot;tc-btn-invisible tc-manager-list-item-content-item-heading\&quot;&gt;\n\t\t\t\t{{$:/core/images/down-arrow}} &lt;$transclude tiddler=&lt;&lt;listItem&gt;&gt; field=\&quot;caption\&quot;/&gt;\n\t\t\t&lt;/$button&gt;\n\t\t&lt;/$reveal&gt;\n\t\t&lt;$reveal state=&lt;&lt;state-title&gt;&gt; type=\&quot;nomatch\&quot; text=\&quot;show\&quot; default=\&quot;show\&quot; tag=\&quot;div\&quot;&gt;\n\t\t\t&lt;$button set=&lt;&lt;state-title&gt;&gt; setTo=\&quot;show\&quot; class=\&quot;tc-btn-invisible tc-manager-list-item-content-item-heading\&quot;&gt;\n\t\t\t\t{{$:/core/images/right-arrow}} &lt;$transclude tiddler=&lt;&lt;listItem&gt;&gt; field=\&quot;caption\&quot;/&gt;\n\t\t\t&lt;/$button&gt;\n\t\t&lt;/$reveal&gt;\n\t\t&lt;$reveal state=&lt;&lt;state-title&gt;&gt; type=\&quot;match\&quot; text=\&quot;show\&quot; default=\&quot;show\&quot; tag=\&quot;div\&quot; class=\&quot;tc-manager-list-item-content-item-body\&quot;&gt;\n\t\t\t&lt;$transclude tiddler=&lt;&lt;listItem&gt;&gt;/&gt;\n\t\t&lt;/$reveal&gt;\n\t&lt;/$vars&gt;\n&lt;/div&gt;\n\\end\n\n&lt;div class=\&quot;tc-manager-wrapper\&quot;&gt;\n\t&lt;div class=\&quot;tc-manager-controls\&quot;&gt;\n\t\t&lt;div class=\&quot;tc-manager-control\&quot;&gt;\n\t\t\t&lt;&lt;lingo Controls/Show/Prompt&gt;&gt; &lt;$select tiddler=\&quot;$:/config/Manager/Show\&quot; default=\&quot;tiddlers\&quot;&gt;\n\t\t\t\t&lt;option value=\&quot;tiddlers\&quot;&gt;&lt;&lt;lingo Controls/Show/Option/Tiddlers&gt;&gt;&lt;/option&gt;\n\t\t\t\t&lt;option value=\&quot;tags\&quot;&gt;&lt;&lt;lingo Controls/Show/Option/Tags&gt;&gt;&lt;/option&gt;\n\t\t\t&lt;/$select&gt;\n\t\t&lt;/div&gt;\n\t\t&lt;div class=\&quot;tc-manager-control\&quot;&gt;\n\t\t\t&lt;&lt;lingo Controls/Search/Prompt&gt;&gt; &lt;$edit-text tiddler=\&quot;$:/config/Manager/Filter\&quot; tag=\&quot;input\&quot; default=\&quot;\&quot; placeholder={{$:/language/Manager/Controls/Search/Placeholder}}/&gt;\n\t\t&lt;/div&gt;\n\t\t&lt;div class=\&quot;tc-manager-control\&quot;&gt;\n\t\t\t&lt;&lt;lingo Controls/FilterByTag/Prompt&gt;&gt; &lt;$select tiddler=\&quot;$:/config/Manager/Tag\&quot; default=\&quot;\&quot;&gt;\n\t\t\t\t&lt;option value=\&quot;\&quot;&gt;&lt;&lt;lingo Controls/FilterByTag/None&gt;&gt;&lt;/option&gt;\n\t\t\t\t&lt;$list filter=\&quot;[!is{$:/config/Manager/System}tags[]!is[system]sort[title]]\&quot; variable=\&quot;tag\&quot;&gt;\n\t\t\t\t\t&lt;option value=&lt;&lt;tag&gt;&gt;&gt;&lt;$text text=&lt;&lt;tag&gt;&gt;/&gt;&lt;/option&gt;\n\t\t\t\t&lt;/$list&gt;\n\t\t\t&lt;/$select&gt;\n\t\t&lt;/div&gt;\n\t\t&lt;div class=\&quot;tc-manager-control\&quot;&gt;\n\t\t\t&lt;&lt;lingo Controls/Sort/Prompt&gt;&gt; &lt;$select tiddler=\&quot;$:/config/Manager/Sort\&quot; default=\&quot;title\&quot;&gt;\n\t\t\t\t&lt;optgroup label=\&quot;Common\&quot;&gt;\n\t\t\t\t\t&lt;$list filter=\&quot;title modified modifier created creator created\&quot; variable=\&quot;field\&quot;&gt;\n\t\t\t\t\t\t&lt;option value=&lt;&lt;field&gt;&gt;&gt;&lt;$text text=&lt;&lt;field&gt;&gt;/&gt;&lt;/option&gt;\n\t\t\t\t\t&lt;/$list&gt;\n\t\t\t\t&lt;/optgroup&gt;\n\t\t\t\t&lt;optgroup label=\&quot;All\&quot;&gt;\n\t\t\t\t\t&lt;$list filter=\&quot;[all{$:/config/Manager/Show}!is{$:/config/Manager/System}fields[]sort[title]] -title -modified -modifier -created -creator -created\&quot; variable=\&quot;field\&quot;&gt;\n\t\t\t\t\t\t&lt;option value=&lt;&lt;field&gt;&gt;&gt;&lt;$text text=&lt;&lt;field&gt;&gt;/&gt;&lt;/option&gt;\n\t\t\t\t\t&lt;/$list&gt;\n\t\t\t\t&lt;/optgroup&gt;\n\t\t\t&lt;/$select&gt;\n\t\t\t&lt;$checkbox tiddler=\&quo
},
&quot;$:/core/ui/MissingTemplate&quot;: {
&quot;title&quot;: &quot;$:/core/ui/MissingTemplate&quot;,
&quot;text&quot;: &quot;&lt;div class=\&quot;tc-tiddler-missing\&quot;&gt;\n&lt;$button popup=&lt;&lt;qualify \&quot;$:/state/popup/missing\&quot;&gt;&gt; class=\&quot;tc-btn-invisible tc-missing-tiddler-label\&quot;&gt;\n&lt;$view field=\&quot;title\&quot; format=\&quot;text\&quot; /&gt;\n&lt;/$button&gt;\n&lt;$reveal state=&lt;&lt;qualify \&quot;$:/state/popup/missing\&quot;&gt;&gt; type=\&quot;popup\&quot; position=\&quot;below\&quot; animate=\&quot;yes\&quot;&gt;\n&lt;div class=\&quot;tc-drop-down\&quot;&gt;\n&lt;$transclude tiddler=\&quot;$:/core/ui/ListItemTemplate\&quot;/&gt;\n&lt;hr&gt;\n&lt;$list filter=\&quot;[all[current]backlinks[]sort[title]]\&quot; template=\&quot;$:/core/ui/ListItemTemplate\&quot;/&gt;\n&lt;/div&gt;\n&lt;/$reveal&gt;\n&lt;/div&gt;\n&quot;
},
&quot;$:/core/ui/MoreSideBar/All&quot;: {
&quot;title&quot;: &quot;$:/core/ui/MoreSideBar/All&quot;,
&quot;tags&quot;: &quot;$:/tags/MoreSideBar&quot;,
&quot;caption&quot;: &quot;{{$:/language/SideBar/All/Caption}}&quot;,
&quot;text&quot;: &quot;&lt;$list filter={{$:/core/Filters/AllTiddlers!!filter}} template=\&quot;$:/core/ui/ListItemTemplate\&quot;/&gt;\n&quot;
},
&quot;$:/core/ui/MoreSideBar/Drafts&quot;: {
&quot;title&quot;: &quot;$:/core/ui/MoreSideBar/Drafts&quot;,
&quot;tags&quot;: &quot;$:/tags/MoreSideBar&quot;,
&quot;caption&quot;: &quot;{{$:/language/SideBar/Drafts/Caption}}&quot;,
&quot;text&quot;: &quot;&lt;$list filter={{$:/core/Filters/Drafts!!filter}} template=\&quot;$:/core/ui/ListItemTemplate\&quot;/&gt;\n&quot;
},
&quot;$:/core/ui/MoreSideBar/Explorer&quot;: {
&quot;title&quot;: &quot;$:/core/ui/MoreSideBar/Explorer&quot;,
&quot;tags&quot;: &quot;$:/tags/MoreSideBar&quot;,
&quot;caption&quot;: &quot;{{$:/language/SideBar/Explorer/Caption}}&quot;,
&quot;text&quot;: &quot;&lt;&lt;tree \&quot;$:/\&quot;&gt;&gt;\n&quot;
},
&quot;$:/core/ui/MoreSideBar/Missing&quot;: {
&quot;title&quot;: &quot;$:/core/ui/MoreSideBar/Missing&quot;,
&quot;tags&quot;: &quot;$:/tags/MoreSideBar&quot;,
&quot;caption&quot;: &quot;{{$:/language/SideBar/Missing/Caption}}&quot;,
&quot;text&quot;: &quot;&lt;$list filter={{$:/core/Filters/Missing!!filter}} template=\&quot;$:/core/ui/MissingTemplate\&quot;/&gt;\n&quot;
},
&quot;$:/core/ui/MoreSideBar/Orphans&quot;: {
&quot;title&quot;: &quot;$:/core/ui/MoreSideBar/Orphans&quot;,
&quot;tags&quot;: &quot;$:/tags/MoreSideBar&quot;,
&quot;caption&quot;: &quot;{{$:/language/SideBar/Orphans/Caption}}&quot;,
&quot;text&quot;: &quot;&lt;$list filter={{$:/core/Filters/Orphans!!filter}} template=\&quot;$:/core/ui/ListItemTemplate\&quot;/&gt;\n&quot;
},
&quot;$:/core/ui/MoreSideBar/Plugins&quot;: {
&quot;title&quot;: &quot;$:/core/ui/MoreSideBar/Plugins&quot;,
&quot;tags&quot;: &quot;$:/tags/MoreSideBar&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/Plugins/Caption}}&quot;,
&quot;text&quot;: &quot;\n{{$:/language/ControlPanel/Plugins/Installed/Hint}}\n\n&lt;$macrocall $name=\&quot;tabs\&quot; tabsList=\&quot;[all[shadows+tiddlers]tag[$:/tags/MoreSideBar/Plugins]!has[draft.of]]\&quot; default=\&quot;$:/core/ui/MoreSideBar/Plugins/Plugins\&quot; explicitState=\&quot;$:/state/tab-1163638994\&quot;/&gt;\n&quot;
},
&quot;$:/core/ui/MoreSideBar/Recent&quot;: {
&quot;title&quot;: &quot;$:/core/ui/MoreSideBar/Recent&quot;,
&quot;tags&quot;: &quot;$:/tags/MoreSideBar&quot;,
&quot;caption&quot;: &quot;{{$:/language/SideBar/Recent/Caption}}&quot;,
&quot;text&quot;: &quot;&lt;$macrocall $name=\&quot;timeline\&quot; format={{$:/language/RecentChanges/DateFormat}}/&gt;\n&quot;
},
&quot;$:/core/ui/MoreSideBar/Shadows&quot;: {
&quot;title&quot;: &quot;$:/core/ui/MoreSideBar/Shadows&quot;,
&quot;tags&quot;: &quot;$:/tags/MoreSideBar&quot;,
&quot;caption&quot;: &quot;{{$:/language/SideBar/Shadows/Caption}}&quot;,
&quot;text&quot;: &quot;&lt;$list filter={{$:/core/Filters/ShadowTiddlers!!filter}} template=\&quot;$:/core/ui/ListItemTemplate\&quot;/&gt;\n&quot;
},
&quot;$:/core/ui/MoreSideBar/System&quot;: {
&quot;title&quot;: &quot;$:/core/ui/MoreSideBar/System&quot;,
&quot;tags&quot;: &quot;$:/tags/MoreSideBar&quot;,
&quot;caption&quot;: &quot;{{$:/language/SideBar/System/Caption}}&quot;,
&quot;text&quot;: &quot;&lt;$list filter={{$:/core/Filters/SystemTiddlers!!filter}} template=\&quot;$:/core/ui/ListItemTemplate\&quot;/&gt;\n&quot;
},
&quot;$:/core/ui/MoreSideBar/Tags&quot;: {
&quot;title&quot;: &quot;$:/core/ui/MoreSideBar/Tags&quot;,
&quot;tags&quot;: &quot;$:/tags/MoreSideBar&quot;,
&quot;caption&quot;: &quot;{{$:/language/SideBar/Tags/Caption}}&quot;,
&quot;text&quot;: &quot;&lt;$set name=\&quot;tv-config-toolbar-icons\&quot; value=\&quot;yes\&quot;&gt;\n\n&lt;$set name=\&quot;tv-config-toolbar-text\&quot; value=\&quot;yes\&quot;&gt;\n\n&lt;$set name=\&quot;tv-config-toolbar-class\&quot; value=\&quot;\&quot;&gt;\n\n{{$:/core/ui/Buttons/tag-manager}}\n\n&lt;/$set&gt;\n\n&lt;/$set&gt;\n\n&lt;/$set&gt;\n\n&lt;$list filter={{$:/core/Filters/AllTags!!filter}}&gt;\n\n&lt;$transclude tiddler=\&quot;$:/core/ui/TagTemplate\&quot;/&gt;\n\n&lt;/$list&gt;\n\n&lt;hr class=\&quot;tc-untagged-separator\&quot;&gt;\n\n{{$:/core/ui/UntaggedTemplate}}\n&quot;
},
&quot;$:/core/ui/MoreSideBar/Types&quot;: {
&quot;title&quot;: &quot;$:/core/ui/MoreSideBar/Types&quot;,
&quot;tags&quot;: &quot;$:/tags/MoreSideBar&quot;,
&quot;caption&quot;: &quot;{{$:/language/SideBar/Types/Caption}}&quot;,
&quot;text&quot;: &quot;&lt;$list filter={{$:/core/Filters/TypedTiddlers!!filter}}&gt;\n&lt;div class=\&quot;tc-menu-list-item\&quot;&gt;\n&lt;$view field=\&quot;type\&quot;/&gt;\n&lt;$list filter=\&quot;[type{!!type}!is[system]sort[title]]\&quot;&gt;\n&lt;div class=\&quot;tc-menu-list-subitem\&quot;&gt;\n&lt;$link to={{!!title}}&gt;&lt;$view field=\&quot;title\&quot;/&gt;&lt;/$link&gt;\n&lt;/div&gt;\n&lt;/$list&gt;\n&lt;/div&gt;\n&lt;/$list&gt;\n&quot;
},
&quot;$:/core/ui/MoreSideBar/Plugins/Languages&quot;: {
&quot;title&quot;: &quot;$:/core/ui/MoreSideBar/Plugins/Languages&quot;,
&quot;tags&quot;: &quot;$:/tags/MoreSideBar/Plugins&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/Plugins/Languages/Caption}}&quot;,
&quot;text&quot;: &quot;&lt;$list filter=\&quot;[!has[draft.of]plugin-type[language]sort[description]]\&quot; template=\&quot;$:/core/ui/PluginListItemTemplate\&quot; emptyMessage={{$:/language/ControlPanel/Plugins/Empty/Hint}}/&gt;\n&quot;
},
&quot;$:/core/ui/MoreSideBar/Plugins/Plugins&quot;: {
&quot;title&quot;: &quot;$:/core/ui/MoreSideBar/Plugins/Plugins&quot;,
&quot;tags&quot;: &quot;$:/tags/MoreSideBar/Plugins&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/Plugins/Plugins/Caption}}&quot;,
&quot;text&quot;: &quot;&lt;$list filter=\&quot;[!has[draft.of]plugin-type[plugin]sort[description]]\&quot; template=\&quot;$:/core/ui/PluginListItemTemplate\&quot; emptyMessage={{$:/language/ControlPanel/Plugins/Empty/Hint}}&gt;&gt;/&gt;\n&quot;
},
&quot;$:/core/ui/MoreSideBar/Plugins/Theme&quot;: {
&quot;title&quot;: &quot;$:/core/ui/MoreSideBar/Plugins/Theme&quot;,
&quot;tags&quot;: &quot;$:/tags/MoreSideBar/Plugins&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/Plugins/Themes/Caption}}&quot;,
&quot;text&quot;: &quot;&lt;$list filter=\&quot;[!has[draft.of]plugin-type[theme]sort[description]]\&quot; template=\&quot;$:/core/ui/PluginListItemTemplate\&quot; emptyMessage={{$:/language/ControlPanel/Plugins/Empty/Hint}}/&gt;\n&quot;
},
&quot;$:/core/ui/Buttons/advanced-search&quot;: {
&quot;title&quot;: &quot;$:/core/ui/Buttons/advanced-search&quot;,
&quot;tags&quot;: &quot;$:/tags/PageControls&quot;,
&quot;caption&quot;: &quot;{{$:/core/images/advanced-search-button}} {{$:/language/Buttons/AdvancedSearch/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/AdvancedSearch/Hint}}&quot;,
&quot;text&quot;: &quot;\\whitespace trim\n\\define advanced-search-button(class)\n&lt;$button to=\&quot;$:/AdvancedSearch\&quot; tooltip={{$:/language/Buttons/AdvancedSearch/Hint}} aria-label={{$:/language/Buttons/AdvancedSearch/Caption}} class=\&quot;\&quot;\&quot;$(tv-config-toolbar-class)$ $class$\&quot;\&quot;\&quot;&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-icons&gt;match[yes]]\&quot;&gt;\n{{$:/core/images/advanced-search-button}}\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-text&gt;match[yes]]\&quot;&gt;\n&lt;span class=\&quot;tc-btn-text\&quot;&gt;&lt;$text text={{$:/language/Buttons/AdvancedSearch/Caption}}/&gt;&lt;/span&gt;\n&lt;/$list&gt;\n&lt;/$button&gt;\n\\end\n\n&lt;$list filter=\&quot;[list[$:/StoryList]] +[field:title[$:/AdvancedSearch]]\&quot; emptyMessage=&lt;&lt;advanced-search-button&gt;&gt;&gt;\n&lt;&lt;advanced-search-button \&quot;tc-selected\&quot;&gt;&gt;\n&lt;/$list&gt;\n&quot;
},
&quot;$:/core/ui/Buttons/close-all&quot;: {
&quot;title&quot;: &quot;$:/core/ui/Buttons/close-all&quot;,
&quot;tags&quot;: &quot;$:/tags/PageControls&quot;,
&quot;caption&quot;: &quot;{{$:/core/images/close-all-button}} {{$:/language/Buttons/CloseAll/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/CloseAll/Hint}}&quot;,
&quot;text&quot;: &quot;&lt;$button message=\&quot;tm-close-all-tiddlers\&quot; tooltip={{$:/language/Buttons/CloseAll/Hint}} aria-label={{$:/language/Buttons/CloseAll/Caption}} class=&lt;&lt;tv-config-toolbar-class&gt;&gt;&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-icons&gt;match[yes]]\&quot;&gt;\n{{$:/core/images/close-all-button}}\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-text&gt;match[yes]]\&quot;&gt;\n&lt;span class=\&quot;tc-btn-text\&quot;&gt;&lt;$text text={{$:/language/Buttons/CloseAll/Caption}}/&gt;&lt;/span&gt;\n&lt;/$list&gt;\n&lt;/$button&gt;&quot;
},
&quot;$:/core/ui/Buttons/control-panel&quot;: {
&quot;title&quot;: &quot;$:/core/ui/Buttons/control-panel&quot;,
&quot;tags&quot;: &quot;$:/tags/PageControls&quot;,
&quot;caption&quot;: &quot;{{$:/core/images/options-button}} {{$:/language/Buttons/ControlPanel/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/ControlPanel/Hint}}&quot;,
&quot;text&quot;: &quot;\\whitespace trim\n\\define control-panel-button(class)\n&lt;$button to=\&quot;$:/ControlPanel\&quot; tooltip={{$:/language/Buttons/ControlPanel/Hint}} aria-label={{$:/language/Buttons/ControlPanel/Caption}} class=\&quot;\&quot;\&quot;$(tv-config-toolbar-class)$ $class$\&quot;\&quot;\&quot;&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-icons&gt;match[yes]]\&quot;&gt;\n{{$:/core/images/options-button}}\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-text&gt;match[yes]]\&quot;&gt;\n&lt;span class=\&quot;tc-btn-text\&quot;&gt;&lt;$text text={{$:/language/Buttons/ControlPanel/Caption}}/&gt;&lt;/span&gt;\n&lt;/$list&gt;\n&lt;/$button&gt;\n\\end\n\n&lt;$list filter=\&quot;[list[$:/StoryList]] +[field:title[$:/ControlPanel]]\&quot; emptyMessage=&lt;&lt;control-panel-button&gt;&gt;&gt;\n&lt;&lt;control-panel-button \&quot;tc-selected\&quot;&gt;&gt;\n&lt;/$list&gt;\n&quot;
},
&quot;$:/core/ui/Buttons/encryption&quot;: {
&quot;title&quot;: &quot;$:/core/ui/Buttons/encryption&quot;,
&quot;tags&quot;: &quot;$:/tags/PageControls&quot;,
&quot;caption&quot;: &quot;{{$:/core/images/locked-padlock}} {{$:/language/Buttons/Encryption/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/Encryption/Hint}}&quot;,
&quot;text&quot;: &quot;\\whitespace trim\n&lt;$reveal type=\&quot;match\&quot; state=\&quot;$:/isEncrypted\&quot; text=\&quot;yes\&quot;&gt;\n&lt;$button message=\&quot;tm-clear-password\&quot; tooltip={{$:/language/Buttons/Encryption/ClearPassword/Hint}} aria-label={{$:/language/Buttons/Encryption/ClearPassword/Caption}} class=&lt;&lt;tv-config-toolbar-class&gt;&gt;&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-icons&gt;match[yes]]\&quot;&gt;\n{{$:/core/images/locked-padlock}}\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-text&gt;match[yes]]\&quot;&gt;\n&lt;span class=\&quot;tc-btn-text\&quot;&gt;&lt;$text text={{$:/language/Buttons/Encryption/ClearPassword/Caption}}/&gt;&lt;/span&gt;\n&lt;/$list&gt;\n&lt;/$button&gt;\n&lt;/$reveal&gt;\n&lt;$reveal type=\&quot;nomatch\&quot; state=\&quot;$:/isEncrypted\&quot; text=\&quot;yes\&quot;&gt;\n&lt;$button message=\&quot;tm-set-password\&quot; tooltip={{$:/language/Buttons/Encryption/SetPassword/Hint}} aria-label={{$:/language/Buttons/Encryption/SetPassword/Caption}} class=&lt;&lt;tv-config-toolbar-class&gt;&gt;&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-icons&gt;match[yes]]\&quot;&gt;\n{{$:/core/images/unlocked-padlock}}\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-text&gt;match[yes]]\&quot;&gt;\n&lt;span class=\&quot;tc-btn-text\&quot;&gt;&lt;$text text={{$:/language/Buttons/Encryption/SetPassword/Caption}}/&gt;&lt;/span&gt;\n&lt;/$list&gt;\n&lt;/$button&gt;\n&lt;/$reveal&gt;\n&quot;
},
&quot;$:/core/ui/Buttons/export-page&quot;: {
&quot;title&quot;: &quot;$:/core/ui/Buttons/export-page&quot;,
&quot;tags&quot;: &quot;$:/tags/PageControls&quot;,
&quot;caption&quot;: &quot;{{$:/core/images/export-button}} {{$:/language/Buttons/ExportPage/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/ExportPage/Hint}}&quot;,
&quot;text&quot;: &quot;&lt;$macrocall $name=\&quot;exportButton\&quot; exportFilter=\&quot;[!is[system]sort[title]]\&quot; lingoBase=\&quot;$:/language/Buttons/ExportPage/\&quot;/&gt;&quot;
},
&quot;$:/core/ui/Buttons/fold-all&quot;: {
&quot;title&quot;: &quot;$:/core/ui/Buttons/fold-all&quot;,
&quot;tags&quot;: &quot;$:/tags/PageControls&quot;,
&quot;caption&quot;: &quot;{{$:/core/images/fold-all-button}} {{$:/language/Buttons/FoldAll/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/FoldAll/Hint}}&quot;,
&quot;text&quot;: &quot;&lt;$button tooltip={{$:/language/Buttons/FoldAll/Hint}} aria-label={{$:/language/Buttons/FoldAll/Caption}} class=&lt;&lt;tv-config-toolbar-class&gt;&gt;&gt;\n&lt;$action-sendmessage $message=\&quot;tm-fold-all-tiddlers\&quot; $param=&lt;&lt;currentTiddler&gt;&gt; foldedStatePrefix=\&quot;$:/state/folded/\&quot;/&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-icons&gt;match[yes]]\&quot; variable=\&quot;listItem\&quot;&gt;\n{{$:/core/images/fold-all-button}}\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-text&gt;match[yes]]\&quot;&gt;\n&lt;span class=\&quot;tc-btn-text\&quot;&gt;&lt;$text text={{$:/language/Buttons/FoldAll/Caption}}/&gt;&lt;/span&gt;\n&lt;/$list&gt;\n&lt;/$button&gt;&quot;
},
&quot;$:/core/ui/Buttons/full-screen&quot;: {
&quot;title&quot;: &quot;$:/core/ui/Buttons/full-screen&quot;,
&quot;tags&quot;: &quot;$:/tags/PageControls&quot;,
&quot;caption&quot;: &quot;{{$:/core/images/full-screen-button}} {{$:/language/Buttons/FullScreen/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/FullScreen/Hint}}&quot;,
&quot;text&quot;: &quot;&lt;$button message=\&quot;tm-full-screen\&quot; tooltip={{$:/language/Buttons/FullScreen/Hint}} aria-label={{$:/language/Buttons/FullScreen/Caption}} class=&lt;&lt;tv-config-toolbar-class&gt;&gt;&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-icons&gt;match[yes]]\&quot;&gt;\n{{$:/core/images/full-screen-button}}\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-text&gt;match[yes]]\&quot;&gt;\n&lt;span class=\&quot;tc-btn-text\&quot;&gt;&lt;$text text={{$:/language/Buttons/FullScreen/Caption}}/&gt;&lt;/span&gt;\n&lt;/$list&gt;\n&lt;/$button&gt;&quot;
},
&quot;$:/core/ui/Buttons/home&quot;: {
&quot;title&quot;: &quot;$:/core/ui/Buttons/home&quot;,
&quot;tags&quot;: &quot;$:/tags/PageControls&quot;,
&quot;caption&quot;: &quot;{{$:/core/images/home-button}} {{$:/language/Buttons/Home/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/Home/Hint}}&quot;,
&quot;text&quot;: &quot;&lt;$button message=\&quot;tm-home\&quot; tooltip={{$:/language/Buttons/Home/Hint}} aria-label={{$:/language/Buttons/Home/Caption}} class=&lt;&lt;tv-config-toolbar-class&gt;&gt;&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-icons&gt;match[yes]]\&quot;&gt;\n{{$:/core/images/home-button}}\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-text&gt;match[yes]]\&quot;&gt;\n&lt;span class=\&quot;tc-btn-text\&quot;&gt;&lt;$text text={{$:/language/Buttons/Home/Caption}}/&gt;&lt;/span&gt;\n&lt;/$list&gt;\n&lt;/$button&gt;&quot;
},
&quot;$:/core/ui/Buttons/import&quot;: {
&quot;title&quot;: &quot;$:/core/ui/Buttons/import&quot;,
&quot;tags&quot;: &quot;$:/tags/PageControls&quot;,
&quot;caption&quot;: &quot;{{$:/core/images/import-button}} {{$:/language/Buttons/Import/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/Import/Hint}}&quot;,
&quot;text&quot;: &quot;&lt;div class=\&quot;tc-file-input-wrapper\&quot;&gt;\n&lt;$button tooltip={{$:/language/Buttons/Import/Hint}} aria-label={{$:/language/Buttons/Import/Caption}} class=&lt;&lt;tv-config-toolbar-class&gt;&gt;&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-icons&gt;match[yes]]\&quot;&gt;\n{{$:/core/images/import-button}}\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-text&gt;match[yes]]\&quot;&gt;\n&lt;span class=\&quot;tc-btn-text\&quot;&gt;&lt;$text text={{$:/language/Buttons/Import/Caption}}/&gt;&lt;/span&gt;\n&lt;/$list&gt;\n&lt;/$button&gt;\n&lt;$browse tooltip={{$:/language/Buttons/Import/Hint}}/&gt;\n&lt;/div&gt;&quot;
},
&quot;$:/core/ui/Buttons/language&quot;: {
&quot;title&quot;: &quot;$:/core/ui/Buttons/language&quot;,
&quot;tags&quot;: &quot;$:/tags/PageControls&quot;,
&quot;caption&quot;: &quot;{{$:/core/images/globe}} {{$:/language/Buttons/Language/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/Language/Hint}}&quot;,
&quot;text&quot;: &quot;\\whitespace trim\n\\define flag-title()\n$(languagePluginTitle)$/icon\n\\end\n&lt;span class=\&quot;tc-popup-keep\&quot;&gt;\n&lt;$button popup=&lt;&lt;qualify \&quot;$:/state/popup/language\&quot;&gt;&gt; tooltip={{$:/language/Buttons/Language/Hint}} aria-label={{$:/language/Buttons/Language/Caption}} class=&lt;&lt;tv-config-toolbar-class&gt;&gt; selectedClass=\&quot;tc-selected\&quot;&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-icons&gt;match[yes]]\&quot;&gt;\n&lt;span class=\&quot;tc-image-button\&quot;&gt;\n&lt;$set name=\&quot;languagePluginTitle\&quot; value={{$:/language}}&gt;\n&lt;$image source=&lt;&lt;flag-title&gt;&gt;/&gt;\n&lt;/$set&gt;\n&lt;/span&gt;\n&lt;/$list&gt;\n&lt;$text text=\&quot; \&quot;/&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-text&gt;match[yes]]\&quot;&gt;\n&lt;span class=\&quot;tc-btn-text\&quot;&gt;&lt;$text text={{$:/language/Buttons/Language/Caption}}/&gt;&lt;/span&gt;\n&lt;/$list&gt;\n&lt;/$button&gt;\n&lt;/span&gt;\n&lt;$reveal state=&lt;&lt;qualify \&quot;$:/state/popup/language\&quot;&gt;&gt; type=\&quot;popup\&quot; position=\&quot;below\&quot; animate=\&quot;yes\&quot;&gt;\n&lt;div class=\&quot;tc-drop-down\&quot;&gt;\n{{$:/snippets/languageswitcher}}\n&lt;/div&gt;\n&lt;/$reveal&gt;\n&quot;
},
&quot;$:/core/ui/Buttons/manager&quot;: {
&quot;title&quot;: &quot;$:/core/ui/Buttons/manager&quot;,
&quot;tags&quot;: &quot;$:/tags/PageControls&quot;,
&quot;caption&quot;: &quot;{{$:/core/images/list}} {{$:/language/Buttons/Manager/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/Manager/Hint}}&quot;,
&quot;text&quot;: &quot;\\whitespace trim\n\\define manager-button(class)\n&lt;$button to=\&quot;$:/Manager\&quot; tooltip={{$:/language/Buttons/Manager/Hint}} aria-label={{$:/language/Buttons/Manager/Caption}} class=\&quot;\&quot;\&quot;$(tv-config-toolbar-class)$ $class$\&quot;\&quot;\&quot;&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-icons&gt;match[yes]]\&quot;&gt;\n{{$:/core/images/list}}\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-text&gt;match[yes]]\&quot;&gt;\n&lt;span class=\&quot;tc-btn-text\&quot;&gt;&lt;$text text={{$:/language/Buttons/Manager/Caption}}/&gt;&lt;/span&gt;\n&lt;/$list&gt;\n&lt;/$button&gt;\n\\end\n\n&lt;$list filter=\&quot;[list[$:/StoryList]] +[field:title[$:/Manager]]\&quot; emptyMessage=&lt;&lt;manager-button&gt;&gt;&gt;\n&lt;&lt;manager-button \&quot;tc-selected\&quot;&gt;&gt;\n&lt;/$list&gt;\n&quot;
},
&quot;$:/core/ui/Buttons/more-page-actions&quot;: {
&quot;title&quot;: &quot;$:/core/ui/Buttons/more-page-actions&quot;,
&quot;tags&quot;: &quot;$:/tags/PageControls&quot;,
&quot;caption&quot;: &quot;{{$:/core/images/down-arrow}} {{$:/language/Buttons/More/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/More/Hint}}&quot;,
&quot;text&quot;: &quot;\\define config-title()\n$:/config/PageControlButtons/Visibility/$(listItem)$\n\\end\n&lt;$button popup=&lt;&lt;qualify \&quot;$:/state/popup/more\&quot;&gt;&gt; tooltip={{$:/language/Buttons/More/Hint}} aria-label={{$:/language/Buttons/More/Caption}} class=&lt;&lt;tv-config-toolbar-class&gt;&gt; selectedClass=\&quot;tc-selected\&quot;&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-icons&gt;match[yes]]\&quot;&gt;\n{{$:/core/images/down-arrow}}\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-text&gt;match[yes]]\&quot;&gt;\n&lt;span class=\&quot;tc-btn-text\&quot;&gt;&lt;$text text={{$:/language/Buttons/More/Caption}}/&gt;&lt;/span&gt;\n&lt;/$list&gt;\n&lt;/$button&gt;&lt;$reveal state=&lt;&lt;qualify \&quot;$:/state/popup/more\&quot;&gt;&gt; type=\&quot;popup\&quot; position=\&quot;below\&quot; animate=\&quot;yes\&quot;&gt;\n\n&lt;div class=\&quot;tc-drop-down\&quot;&gt;\n\n&lt;$set name=\&quot;tv-config-toolbar-icons\&quot; value=\&quot;yes\&quot;&gt;\n\n&lt;$set name=\&quot;tv-config-toolbar-text\&quot; value=\&quot;yes\&quot;&gt;\n\n&lt;$set name=\&quot;tv-config-toolbar-class\&quot; value=\&quot;tc-btn-invisible\&quot;&gt;\n\n&lt;$list filter=\&quot;[all[shadows+tiddlers]tag[$:/tags/PageControls]!has[draft.of]] -[[$:/core/ui/Buttons/more-page-actions]]\&quot; variable=\&quot;listItem\&quot;&gt;\n\n&lt;$reveal type=\&quot;match\&quot; state=&lt;&lt;config-title&gt;&gt; text=\&quot;hide\&quot;&gt;\n\n&lt;$set name=\&quot;tv-config-toolbar-class\&quot; filter=\&quot;[&lt;tv-config-toolbar-class&gt;] [&lt;listItem&gt;encodeuricomponent[]addprefix[tc-btn-]]\&quot;&gt;\n\n&lt;$transclude tiddler=&lt;&lt;listItem&gt;&gt; mode=\&quot;inline\&quot;/&gt;\n\n&lt;/$set&gt;\n\n&lt;/$reveal&gt;\n\n&lt;/$list&gt;\n\n&lt;/$set&gt;\n\n&lt;/$set&gt;\n\n&lt;/$set&gt;\n\n&lt;/div&gt;\n\n&lt;/$reveal&gt;&quot;
},
&quot;$:/core/ui/Buttons/new-image&quot;: {
&quot;title&quot;: &quot;$:/core/ui/Buttons/new-image&quot;,
&quot;tags&quot;: &quot;$:/tags/PageControls&quot;,
&quot;caption&quot;: &quot;{{$:/core/images/new-image-button}} {{$:/language/Buttons/NewImage/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/NewImage/Hint}}&quot;,
&quot;text&quot;: &quot;\\whitespace trim\n&lt;$button tooltip={{$:/language/Buttons/NewImage/Hint}} aria-label={{$:/language/Buttons/NewImage/Caption}} class=&lt;&lt;tv-config-toolbar-class&gt;&gt; actions={{$:/core/ui/Actions/new-image}}&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-icons&gt;match[yes]]\&quot;&gt;\n{{$:/core/images/new-image-button}}\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-text&gt;match[yes]]\&quot;&gt;\n&lt;span class=\&quot;tc-btn-text\&quot;&gt;&lt;$text text={{$:/language/Buttons/NewImage/Caption}}/&gt;&lt;/span&gt;\n&lt;/$list&gt;\n&lt;/$button&gt;\n&quot;
},
&quot;$:/core/ui/Buttons/new-journal&quot;: {
&quot;title&quot;: &quot;$:/core/ui/Buttons/new-journal&quot;,
&quot;tags&quot;: &quot;$:/tags/PageControls&quot;,
&quot;caption&quot;: &quot;{{$:/core/images/new-journal-button}} {{$:/language/Buttons/NewJournal/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/NewJournal/Hint}}&quot;,
&quot;text&quot;: &quot;\\whitespace trim\n\\define journalButton()\n&lt;$button tooltip={{$:/language/Buttons/NewJournal/Hint}} aria-label={{$:/language/Buttons/NewJournal/Caption}} class=&lt;&lt;tv-config-toolbar-class&gt;&gt; actions={{$:/core/ui/Actions/new-journal}}&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-icons&gt;match[yes]]\&quot;&gt;\n{{$:/core/images/new-journal-button}}\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-text&gt;match[yes]]\&quot;&gt;\n&lt;span class=\&quot;tc-btn-text\&quot;&gt;&lt;$text text={{$:/language/Buttons/NewJournal/Caption}}/&gt;&lt;/span&gt;\n&lt;/$list&gt;\n&lt;/$button&gt;\n\\end\n&lt;&lt;journalButton&gt;&gt;\n&quot;
},
&quot;$:/core/ui/Buttons/new-tiddler&quot;: {
&quot;title&quot;: &quot;$:/core/ui/Buttons/new-tiddler&quot;,
&quot;tags&quot;: &quot;$:/tags/PageControls&quot;,
&quot;caption&quot;: &quot;{{$:/core/images/new-button}} {{$:/language/Buttons/NewTiddler/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/NewTiddler/Hint}}&quot;,
&quot;text&quot;: &quot;\\whitespace trim\n&lt;$button actions={{$:/core/ui/Actions/new-tiddler}} tooltip={{$:/language/Buttons/NewTiddler/Hint}} aria-label={{$:/language/Buttons/NewTiddler/Caption}} class=&lt;&lt;tv-config-toolbar-class&gt;&gt;&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-icons&gt;match[yes]]\&quot;&gt;\n{{$:/core/images/new-button}}\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-text&gt;match[yes]]\&quot;&gt;\n&lt;span class=\&quot;tc-btn-text\&quot;&gt;&lt;$text text={{$:/language/Buttons/NewTiddler/Caption}}/&gt;&lt;/span&gt;\n&lt;/$list&gt;\n&lt;/$button&gt;\n&quot;
},
&quot;$:/core/ui/Buttons/palette&quot;: {
&quot;title&quot;: &quot;$:/core/ui/Buttons/palette&quot;,
&quot;tags&quot;: &quot;$:/tags/PageControls&quot;,
&quot;caption&quot;: &quot;{{$:/core/images/palette}} {{$:/language/Buttons/Palette/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/Palette/Hint}}&quot;,
&quot;text&quot;: &quot;\\whitespace trim\n&lt;span class=\&quot;tc-popup-keep\&quot;&gt;\n&lt;$button popup=&lt;&lt;qualify \&quot;$:/state/popup/palette\&quot;&gt;&gt; tooltip={{$:/language/Buttons/Palette/Hint}} aria-label={{$:/language/Buttons/Palette/Caption}} class=&lt;&lt;tv-config-toolbar-class&gt;&gt; selectedClass=\&quot;tc-selected\&quot;&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-icons&gt;match[yes]]\&quot;&gt;\n{{$:/core/images/palette}}\n&lt;/$list&gt;\n&lt;$text text=\&quot; \&quot;/&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-text&gt;match[yes]]\&quot;&gt;\n&lt;span class=\&quot;tc-btn-text\&quot;&gt;&lt;$text text={{$:/language/Buttons/Palette/Caption}}/&gt;&lt;/span&gt;\n&lt;/$list&gt;\n&lt;/$button&gt;\n&lt;/span&gt;\n&lt;$reveal state=&lt;&lt;qualify \&quot;$:/state/popup/palette\&quot;&gt;&gt; type=\&quot;popup\&quot; position=\&quot;below\&quot; animate=\&quot;yes\&quot;&gt;\n&lt;div class=\&quot;tc-drop-down\&quot; style=\&quot;font-size:0.7em;\&quot;&gt;\n{{$:/snippets/paletteswitcher}}\n&lt;/div&gt;\n&lt;/$reveal&gt;\n&quot;
},
&quot;$:/core/ui/Buttons/print&quot;: {
&quot;title&quot;: &quot;$:/core/ui/Buttons/print&quot;,
&quot;tags&quot;: &quot;$:/tags/PageControls&quot;,
&quot;caption&quot;: &quot;{{$:/core/images/print-button}} {{$:/language/Buttons/Print/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/Print/Hint}}&quot;,
&quot;text&quot;: &quot;&lt;$button message=\&quot;tm-print\&quot; tooltip={{$:/language/Buttons/Print/Hint}} aria-label={{$:/language/Buttons/Print/Caption}} class=&lt;&lt;tv-config-toolbar-class&gt;&gt;&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-icons&gt;match[yes]]\&quot;&gt;\n{{$:/core/images/print-button}}\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-text&gt;match[yes]]\&quot;&gt;\n&lt;span class=\&quot;tc-btn-text\&quot;&gt;&lt;$text text={{$:/language/Buttons/Print/Caption}}/&gt;&lt;/span&gt;\n&lt;/$list&gt;\n&lt;/$button&gt;&quot;
},
&quot;$:/core/ui/Buttons/refresh&quot;: {
&quot;title&quot;: &quot;$:/core/ui/Buttons/refresh&quot;,
&quot;tags&quot;: &quot;$:/tags/PageControls&quot;,
&quot;caption&quot;: &quot;{{$:/core/images/refresh-button}} {{$:/language/Buttons/Refresh/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/Refresh/Hint}}&quot;,
&quot;text&quot;: &quot;&lt;$button message=\&quot;tm-browser-refresh\&quot; tooltip={{$:/language/Buttons/Refresh/Hint}} aria-label={{$:/language/Buttons/Refresh/Caption}} class=&lt;&lt;tv-config-toolbar-class&gt;&gt;&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-icons&gt;match[yes]]\&quot;&gt;\n{{$:/core/images/refresh-button}}\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-text&gt;match[yes]]\&quot;&gt;\n&lt;span class=\&quot;tc-btn-text\&quot;&gt;&lt;$text text={{$:/language/Buttons/Refresh/Caption}}/&gt;&lt;/span&gt;\n&lt;/$list&gt;\n&lt;/$button&gt;&quot;
},
&quot;$:/core/ui/Buttons/save-wiki&quot;: {
&quot;title&quot;: &quot;$:/core/ui/Buttons/save-wiki&quot;,
&quot;tags&quot;: &quot;$:/tags/PageControls&quot;,
&quot;caption&quot;: &quot;{{$:/core/images/save-button}} {{$:/language/Buttons/SaveWiki/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/SaveWiki/Hint}}&quot;,
&quot;text&quot;: &quot;&lt;$button tooltip={{$:/language/Buttons/SaveWiki/Hint}} aria-label={{$:/language/Buttons/SaveWiki/Caption}} class=&lt;&lt;tv-config-toolbar-class&gt;&gt;&gt;\n&lt;$wikify name=\&quot;site-title\&quot; text={{$:/config/SaveWikiButton/Filename}}&gt;\n&lt;$action-sendmessage $message=\&quot;tm-save-wiki\&quot; $param={{$:/config/SaveWikiButton/Template}} filename=&lt;&lt;site-title&gt;&gt;/&gt;\n&lt;/$wikify&gt;\n&lt;span class=\&quot;tc-dirty-indicator\&quot;&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-icons&gt;match[yes]]\&quot;&gt;\n{{$:/core/images/save-button}}\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-text&gt;match[yes]]\&quot;&gt;\n&lt;span class=\&quot;tc-btn-text\&quot;&gt;&lt;$text text={{$:/language/Buttons/SaveWiki/Caption}}/&gt;&lt;/span&gt;\n&lt;/$list&gt;\n&lt;/span&gt;\n&lt;/$button&gt;&quot;
},
&quot;$:/core/ui/Buttons/storyview&quot;: {
&quot;title&quot;: &quot;$:/core/ui/Buttons/storyview&quot;,
&quot;tags&quot;: &quot;$:/tags/PageControls&quot;,
&quot;caption&quot;: &quot;{{$:/core/images/storyview-classic}} {{$:/language/Buttons/StoryView/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/StoryView/Hint}}&quot;,
&quot;text&quot;: &quot;\\whitespace trim\n\\define icon()\n$:/core/images/storyview-$(storyview)$\n\\end\n&lt;span class=\&quot;tc-popup-keep\&quot;&gt;\n&lt;$button popup=&lt;&lt;qualify \&quot;$:/state/popup/storyview\&quot;&gt;&gt; tooltip={{$:/language/Buttons/StoryView/Hint}} aria-label={{$:/language/Buttons/StoryView/Caption}} class=&lt;&lt;tv-config-toolbar-class&gt;&gt; selectedClass=\&quot;tc-selected\&quot;&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-icons&gt;match[yes]]\&quot;&gt;\n&lt;$set name=\&quot;storyview\&quot; value={{$:/view}}&gt;\n&lt;$transclude tiddler=&lt;&lt;icon&gt;&gt;/&gt;\n&lt;/$set&gt;\n&lt;/$list&gt;\n&lt;$text text=\&quot; \&quot;/&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-text&gt;match[yes]]\&quot;&gt;\n&lt;span class=\&quot;tc-btn-text\&quot;&gt;&lt;$text text={{$:/language/Buttons/StoryView/Caption}}/&gt;&lt;/span&gt;\n&lt;/$list&gt;\n&lt;/$button&gt;\n&lt;/span&gt;\n&lt;$reveal state=&lt;&lt;qualify \&quot;$:/state/popup/storyview\&quot;&gt;&gt; type=\&quot;popup\&quot; position=\&quot;below\&quot; animate=\&quot;yes\&quot;&gt;\n&lt;div class=\&quot;tc-drop-down\&quot;&gt;\n{{$:/snippets/viewswitcher}}\n&lt;/div&gt;\n&lt;/$reveal&gt;\n&quot;
},
&quot;$:/core/ui/Buttons/tag-manager&quot;: {
&quot;title&quot;: &quot;$:/core/ui/Buttons/tag-manager&quot;,
&quot;tags&quot;: &quot;$:/tags/PageControls&quot;,
&quot;caption&quot;: &quot;{{$:/core/images/tag-button}} {{$:/language/Buttons/TagManager/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/TagManager/Hint}}&quot;,
&quot;text&quot;: &quot;\\whitespace trim\n\\define control-panel-button(class)\n&lt;$button to=\&quot;$:/TagManager\&quot; tooltip={{$:/language/Buttons/TagManager/Hint}} aria-label={{$:/language/Buttons/TagManager/Caption}} class=\&quot;\&quot;\&quot;$(tv-config-toolbar-class)$ $class$\&quot;\&quot;\&quot;&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-icons&gt;match[yes]]\&quot;&gt;\n{{$:/core/images/tag-button}}\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-text&gt;match[yes]]\&quot;&gt;\n&lt;span class=\&quot;tc-btn-text\&quot;&gt;&lt;$text text={{$:/language/Buttons/TagManager/Caption}}/&gt;&lt;/span&gt;\n&lt;/$list&gt;\n&lt;/$button&gt;\n\\end\n\n&lt;$list filter=\&quot;[list[$:/StoryList]] +[field:title[$:/TagManager]]\&quot; emptyMessage=&lt;&lt;control-panel-button&gt;&gt;&gt;\n&lt;&lt;control-panel-button \&quot;tc-selected\&quot;&gt;&gt;\n&lt;/$list&gt;\n&quot;
},
&quot;$:/core/ui/Buttons/theme&quot;: {
&quot;title&quot;: &quot;$:/core/ui/Buttons/theme&quot;,
&quot;tags&quot;: &quot;$:/tags/PageControls&quot;,
&quot;caption&quot;: &quot;{{$:/core/images/theme-button}} {{$:/language/Buttons/Theme/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/Theme/Hint}}&quot;,
&quot;text&quot;: &quot;\\whitespace trim\n&lt;span class=\&quot;tc-popup-keep\&quot;&gt;\n&lt;$button popup=&lt;&lt;qualify \&quot;$:/state/popup/theme\&quot;&gt;&gt; tooltip={{$:/language/Buttons/Theme/Hint}} aria-label={{$:/language/Buttons/Theme/Caption}} class=&lt;&lt;tv-config-toolbar-class&gt;&gt; selectedClass=\&quot;tc-selected\&quot;&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-icons&gt;match[yes]]\&quot;&gt;\n{{$:/core/images/theme-button}}\n&lt;/$list&gt;\n&lt;$text text=\&quot; \&quot;/&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-text&gt;match[yes]]\&quot;&gt;\n&lt;span class=\&quot;tc-btn-text\&quot;&gt;&lt;$text text={{$:/language/Buttons/Theme/Caption}}/&gt;&lt;/span&gt;\n&lt;/$list&gt;\n&lt;/$button&gt;\n&lt;/span&gt;\n&lt;$reveal state=&lt;&lt;qualify \&quot;$:/state/popup/theme\&quot;&gt;&gt; type=\&quot;popup\&quot; position=\&quot;below\&quot; animate=\&quot;yes\&quot;&gt;\n&lt;div class=\&quot;tc-drop-down\&quot;&gt;\n&lt;$linkcatcher to=\&quot;$:/theme\&quot;&gt;\n{{$:/snippets/themeswitcher}}\n&lt;/$linkcatcher&gt;\n&lt;/div&gt;\n&lt;/$reveal&gt;\n&quot;
},
&quot;$:/core/ui/Buttons/timestamp&quot;: {
&quot;title&quot;: &quot;$:/core/ui/Buttons/timestamp&quot;,
&quot;tags&quot;: &quot;$:/tags/PageControls&quot;,
&quot;caption&quot;: &quot;{{$:/core/images/timestamp-on}} {{$:/language/Buttons/Timestamp/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/Timestamp/Hint}}&quot;,
&quot;text&quot;: &quot;\\whitespace trim\n&lt;$reveal type=\&quot;nomatch\&quot; state=\&quot;$:/config/TimestampDisable\&quot; text=\&quot;yes\&quot;&gt;\n&lt;$button tooltip={{$:/language/Buttons/Timestamp/On/Hint}} aria-label={{$:/language/Buttons/Timestamp/On/Caption}} class=&lt;&lt;tv-config-toolbar-class&gt;&gt;&gt;\n&lt;$action-setfield $tiddler=\&quot;$:/config/TimestampDisable\&quot; $value=\&quot;yes\&quot;/&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-icons&gt;match[yes]]\&quot;&gt;\n{{$:/core/images/timestamp-on}}\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-text&gt;match[yes]]\&quot;&gt;\n&lt;span class=\&quot;tc-btn-text\&quot;&gt;&lt;$text text={{$:/language/Buttons/Timestamp/On/Caption}}/&gt;&lt;/span&gt;\n&lt;/$list&gt;\n&lt;/$button&gt;\n&lt;/$reveal&gt;\n&lt;$reveal type=\&quot;match\&quot; state=\&quot;$:/config/TimestampDisable\&quot; text=\&quot;yes\&quot;&gt;\n&lt;$button tooltip={{$:/language/Buttons/Timestamp/Off/Hint}} aria-label={{$:/language/Buttons/Timestamp/Off/Caption}} class=&lt;&lt;tv-config-toolbar-class&gt;&gt;&gt;\n&lt;$action-setfield $tiddler=\&quot;$:/config/TimestampDisable\&quot; $value=\&quot;no\&quot;/&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-icons&gt;match[yes]]\&quot;&gt;\n{{$:/core/images/timestamp-off}}\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-text&gt;match[yes]]\&quot;&gt;\n&lt;span class=\&quot;tc-btn-text\&quot;&gt;&lt;$text text={{$:/language/Buttons/Timestamp/Off/Caption}}/&gt;&lt;/span&gt;\n&lt;/$list&gt;\n&lt;/$button&gt;\n&lt;/$reveal&gt;\n&quot;
},
&quot;$:/core/ui/Buttons/unfold-all&quot;: {
&quot;title&quot;: &quot;$:/core/ui/Buttons/unfold-all&quot;,
&quot;tags&quot;: &quot;$:/tags/PageControls&quot;,
&quot;caption&quot;: &quot;{{$:/core/images/unfold-all-button}} {{$:/language/Buttons/UnfoldAll/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/UnfoldAll/Hint}}&quot;,
&quot;text&quot;: &quot;&lt;$button tooltip={{$:/language/Buttons/UnfoldAll/Hint}} aria-label={{$:/language/Buttons/UnfoldAll/Caption}} class=&lt;&lt;tv-config-toolbar-class&gt;&gt;&gt;\n&lt;$action-sendmessage $message=\&quot;tm-unfold-all-tiddlers\&quot; $param=&lt;&lt;currentTiddler&gt;&gt; foldedStatePrefix=\&quot;$:/state/folded/\&quot;/&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-icons&gt;match[yes]]\&quot; variable=\&quot;listItem\&quot;&gt;\n{{$:/core/images/unfold-all-button}}\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-text&gt;match[yes]]\&quot;&gt;\n&lt;span class=\&quot;tc-btn-text\&quot;&gt;&lt;$text text={{$:/language/Buttons/UnfoldAll/Caption}}/&gt;&lt;/span&gt;\n&lt;/$list&gt;\n&lt;/$button&gt;&quot;
},
&quot;$:/core/ui/PageTemplate/pagecontrols&quot;: {
&quot;title&quot;: &quot;$:/core/ui/PageTemplate/pagecontrols&quot;,
&quot;text&quot;: &quot;\\whitespace trim\n\\define config-title()\n$:/config/PageControlButtons/Visibility/$(listItem)$\n\\end\n&lt;div class=\&quot;tc-page-controls\&quot;&gt;\n&lt;$list filter=\&quot;[all[shadows+tiddlers]tag[$:/tags/PageControls]!has[draft.of]]\&quot; variable=\&quot;listItem\&quot;&gt;\n&lt;$set name=\&quot;hidden\&quot; value=&lt;&lt;config-title&gt;&gt;&gt;\n&lt;$list filter=\&quot;[&lt;hidden&gt;!text[hide]]\&quot; storyview=\&quot;pop\&quot; variable=\&quot;ignore\&quot;&gt;\n&lt;$set name=\&quot;tv-config-toolbar-class\&quot; filter=\&quot;[&lt;tv-config-toolbar-class&gt;] [&lt;listItem&gt;encodeuricomponent[]addprefix[tc-btn-]]\&quot;&gt;\n&lt;$transclude tiddler=&lt;&lt;listItem&gt;&gt; mode=\&quot;inline\&quot;/&gt;\n&lt;/$set&gt;\n&lt;/$list&gt;\n&lt;/$set&gt;\n&lt;/$list&gt;\n&lt;/div&gt;\n&quot;
},
&quot;$:/core/ui/PageStylesheet&quot;: {
&quot;title&quot;: &quot;$:/core/ui/PageStylesheet&quot;,
&quot;text&quot;: &quot;\\import [[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]\n\n&lt;$set name=\&quot;currentTiddler\&quot; value={{$:/language}}&gt;\n\n&lt;$set name=\&quot;languageTitle\&quot; value={{!!name}}&gt;\n\n&lt;$list filter=\&quot;[all[shadows+tiddlers]tag[$:/tags/Stylesheet]!has[draft.of]]\&quot;&gt;\n&lt;$transclude mode=\&quot;block\&quot;/&gt;\n&lt;/$list&gt;\n\n&lt;/$set&gt;\n\n&lt;/$set&gt;\n&quot;
},
&quot;$:/core/ui/PageTemplate/alerts&quot;: {
&quot;title&quot;: &quot;$:/core/ui/PageTemplate/alerts&quot;,
&quot;tags&quot;: &quot;$:/tags/PageTemplate&quot;,
&quot;text&quot;: &quot;&lt;div class=\&quot;tc-alerts\&quot;&gt;\n\n&lt;$list filter=\&quot;[all[shadows+tiddlers]tag[$:/tags/Alert]!has[draft.of]]\&quot; template=\&quot;$:/core/ui/AlertTemplate\&quot; storyview=\&quot;pop\&quot;/&gt;\n\n&lt;/div&gt;\n&quot;
},
&quot;$:/core/ui/PageTemplate/drafts&quot;: {
&quot;title&quot;: &quot;$:/core/ui/PageTemplate/drafts&quot;,
&quot;tags&quot;: &quot;$:/tags/PageTemplate&quot;,
&quot;text&quot;: &quot;\\whitespace trim\n&lt;$reveal state=\&quot;$:/status/IsReadOnly\&quot; type=\&quot;nomatch\&quot; text=\&quot;yes\&quot; tag=\&quot;div\&quot; class=\&quot;tc-drafts-list\&quot;&gt;\n&lt;$list filter=\&quot;[has[draft.of]!sort[modified]] -[list[$:/StoryList]]\&quot;&gt;\n&lt;$link&gt;\n{{$:/core/images/edit-button}} &lt;$text text=&lt;&lt;currentTiddler&gt;&gt;/&gt;\n&lt;/$link&gt;\n&lt;/$list&gt;\n&lt;/$reveal&gt;\n&quot;
},
&quot;$:/core/ui/PageTemplate/pluginreloadwarning&quot;: {
&quot;title&quot;: &quot;$:/core/ui/PageTemplate/pluginreloadwarning&quot;,
&quot;tags&quot;: &quot;$:/tags/PageTemplate&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/\n\n&lt;$list filter=\&quot;[{$:/status/RequireReloadDueToPluginChange}match[yes]]\&quot;&gt;\n\n&lt;$reveal type=\&quot;nomatch\&quot; state=\&quot;$:/temp/HidePluginWarning\&quot; text=\&quot;yes\&quot;&gt;\n\n&lt;div class=\&quot;tc-plugin-reload-warning\&quot;&gt;\n\n&lt;$set name=\&quot;tv-config-toolbar-class\&quot; value=\&quot;\&quot;&gt;\n\n&lt;&lt;lingo PluginReloadWarning&gt;&gt; &lt;$button set=\&quot;$:/temp/HidePluginWarning\&quot; setTo=\&quot;yes\&quot; class=\&quot;tc-btn-invisible\&quot;&gt;{{$:/core/images/close-button}}&lt;/$button&gt;\n\n&lt;/$set&gt;\n\n&lt;/div&gt;\n\n&lt;/$reveal&gt;\n\n&lt;/$list&gt;\n&quot;
},
&quot;$:/core/ui/PageTemplate/sidebar&quot;: {
&quot;title&quot;: &quot;$:/core/ui/PageTemplate/sidebar&quot;,
&quot;tags&quot;: &quot;$:/tags/PageTemplate&quot;,
&quot;text&quot;: &quot;\\whitespace trim\n\\define config-title()\n$:/config/SideBarSegments/Visibility/$(listItem)$\n\\end\n\n&lt;$scrollable fallthrough=\&quot;no\&quot; class=\&quot;tc-sidebar-scrollable\&quot;&gt;\n\n&lt;div class=\&quot;tc-sidebar-header\&quot;&gt;\n\n&lt;$reveal state=\&quot;$:/state/sidebar\&quot; type=\&quot;match\&quot; text=\&quot;yes\&quot; default=\&quot;yes\&quot; retain=\&quot;yes\&quot; animate=\&quot;yes\&quot;&gt;\n\n&lt;$list filter=\&quot;[all[shadows+tiddlers]tag[$:/tags/SideBarSegment]!has[draft.of]]\&quot; variable=\&quot;listItem\&quot;&gt;\n\n&lt;$reveal type=\&quot;nomatch\&quot; state=&lt;&lt;config-title&gt;&gt; text=\&quot;hide\&quot; tag=\&quot;div\&quot;&gt;\n\n&lt;$transclude tiddler=&lt;&lt;listItem&gt;&gt; mode=\&quot;block\&quot;/&gt;\n\n&lt;/$reveal&gt;\n\n&lt;/$list&gt;\n\n&lt;/$reveal&gt;\n\n&lt;/div&gt;\n\n&lt;/$scrollable&gt;\n&quot;
},
&quot;$:/core/ui/PageTemplate/story&quot;: {
&quot;title&quot;: &quot;$:/core/ui/PageTemplate/story&quot;,
&quot;tags&quot;: &quot;$:/tags/PageTemplate&quot;,
&quot;text&quot;: &quot;\\whitespace trim\n&lt;section class=\&quot;tc-story-river\&quot;&gt;\n\n&lt;section class=\&quot;story-backdrop\&quot;&gt;\n\n&lt;$list filter=\&quot;[all[shadows+tiddlers]tag[$:/tags/AboveStory]!has[draft.of]]\&quot;&gt;\n\n&lt;$transclude/&gt;\n\n&lt;/$list&gt;\n\n&lt;/section&gt;\n\n&lt;$list filter=\&quot;[list[$:/StoryList]]\&quot; history=\&quot;$:/HistoryList\&quot; template={{$:/config/ui/ViewTemplate}} editTemplate={{$:/config/ui/EditTemplate}} storyview={{$:/view}} emptyMessage={{$:/config/EmptyStoryMessage}}/&gt;\n\n&lt;section class=\&quot;story-frontdrop\&quot;&gt;\n\n&lt;$list filter=\&quot;[all[shadows+tiddlers]tag[$:/tags/BelowStory]!has[draft.of]]\&quot;&gt;\n\n&lt;$transclude/&gt;\n\n&lt;/$list&gt;\n\n&lt;/section&gt;\n\n&lt;/section&gt;\n&quot;
},
&quot;$:/core/ui/PageTemplate/topleftbar&quot;: {
&quot;title&quot;: &quot;$:/core/ui/PageTemplate/topleftbar&quot;,
&quot;tags&quot;: &quot;$:/tags/PageTemplate&quot;,
&quot;text&quot;: &quot;&lt;span class=\&quot;tc-topbar tc-topbar-left\&quot;&gt;\n\n&lt;$list filter=\&quot;[all[shadows+tiddlers]tag[$:/tags/TopLeftBar]!has[draft.of]]\&quot; variable=\&quot;listItem\&quot; storyview=\&quot;pop\&quot;&gt;\n\n&lt;$transclude tiddler=&lt;&lt;listItem&gt;&gt; mode=\&quot;inline\&quot;/&gt;\n\n&lt;/$list&gt;\n\n&lt;/span&gt;\n&quot;
},
&quot;$:/core/ui/PageTemplate/toprightbar&quot;: {
&quot;title&quot;: &quot;$:/core/ui/PageTemplate/toprightbar&quot;,
&quot;tags&quot;: &quot;$:/tags/PageTemplate&quot;,
&quot;text&quot;: &quot;&lt;span class=\&quot;tc-topbar tc-topbar-right\&quot;&gt;\n\n&lt;$list filter=\&quot;[all[shadows+tiddlers]tag[$:/tags/TopRightBar]!has[draft.of]]\&quot; variable=\&quot;listItem\&quot; storyview=\&quot;pop\&quot;&gt;\n\n&lt;$transclude tiddler=&lt;&lt;listItem&gt;&gt; mode=\&quot;inline\&quot;/&gt;\n\n&lt;/$list&gt;\n\n&lt;/span&gt;\n&quot;
},
&quot;$:/core/ui/PageTemplate&quot;: {
&quot;title&quot;: &quot;$:/core/ui/PageTemplate&quot;,
&quot;name&quot;: &quot;{{$:/language/PageTemplate/Name}}&quot;,
&quot;description&quot;: &quot;{{$:/language/PageTemplate/Description}}&quot;,
&quot;text&quot;: &quot;\\whitespace trim\n\\define containerClasses()\ntc-page-container tc-page-view-$(storyviewTitle)$ tc-language-$(languageTitle)$\n\\end\n\\import [[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]\n\n&lt;$vars\n\ttv-config-toolbar-icons={{$:/config/Toolbar/Icons}}\n\ttv-config-toolbar-text={{$:/config/Toolbar/Text}}\n\ttv-config-toolbar-class={{$:/config/Toolbar/ButtonClass}}\n\ttv-enable-drag-and-drop={{$:/config/DragAndDrop/Enable}}\n\ttv-show-missing-links={{$:/config/MissingLinks}}\n\tstoryviewTitle={{$:/view}}\n\tlanguageTitle={{{ [{$:/language}get[name]] }}}&gt;\n\n&lt;div class=&lt;&lt;containerClasses&gt;&gt;&gt;\n\n&lt;$navigator story=\&quot;$:/StoryList\&quot; history=\&quot;$:/HistoryList\&quot; openLinkFromInsideRiver={{$:/config/Navigation/openLinkFromInsideRiver}} openLinkFromOutsideRiver={{$:/config/Navigation/openLinkFromOutsideRiver}} relinkOnRename={{$:/config/RelinkOnRename}}&gt;\n\n&lt;$dropzone enable=&lt;&lt;tv-enable-drag-and-drop&gt;&gt;&gt;\n\n&lt;$list filter=\&quot;[all[shadows+tiddlers]tag[$:/tags/PageTemplate]!has[draft.of]]\&quot; variable=\&quot;listItem\&quot;&gt;\n\n&lt;$transclude tiddler=&lt;&lt;listItem&gt;&gt;/&gt;\n\n&lt;/$list&gt;\n\n&lt;/$dropzone&gt;\n\n&lt;/$navigator&gt;\n\n&lt;/div&gt;\n\n&lt;/$vars&gt;\n&quot;
},
&quot;$:/PaletteManager&quot;: {
&quot;title&quot;: &quot;$:/PaletteManager&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/ControlPanel/Palette/Editor/\n\\define describePaletteColour(colour)\n&lt;$transclude tiddler=\&quot;$:/language/Docs/PaletteColours/$colour$\&quot;&gt;&lt;$text text=\&quot;$colour$\&quot;/&gt;&lt;/$transclude&gt;\n\\end\n\\define edit-colour-placeholder()\n edit $(colourName)$\n\\end\n\\define colour-tooltip(showhide) $showhide$ editor for $(newColourName)$ \n\\define resolve-colour(macrocall)\n\\import $:/core/macros/utils\n\\whitespace trim\n&lt;$wikify name=\&quot;name\&quot; text=\&quot;\&quot;\&quot;$macrocall$\&quot;\&quot;\&quot;&gt;\n&lt;&lt;name&gt;&gt;\n&lt;/$wikify&gt;\n\\end\n\\define delete-colour-index-actions() &lt;$action-setfield $index=&lt;&lt;colourName&gt;&gt;/&gt;\n\\define palette-manager-colour-row-segment()\n\\whitespace trim\n&lt;$edit-text index=&lt;&lt;colourName&gt;&gt; tag=\&quot;input\&quot; placeholder=&lt;&lt;edit-colour-placeholder&gt;&gt; default=\&quot;\&quot;/&gt;\n&lt;br&gt;\n&lt;$edit-text index=&lt;&lt;colourName&gt;&gt; type=\&quot;color\&quot; tag=\&quot;input\&quot; class=\&quot;tc-palette-manager-colour-input\&quot;/&gt;\n&lt;$list filter=\&quot;[&lt;currentTiddler&gt;getindex&lt;colourName&gt;removeprefix[&lt;&lt;]removesuffix[&gt;&gt;]] [&lt;currentTiddler&gt;getindex&lt;colourName&gt;removeprefix[&lt;$]removesuffix[/&gt;]]\&quot; variable=\&quot;ignore\&quot;&gt;\n&lt;$set name=\&quot;state\&quot; value={{{ [[$:/state/palettemanager/]addsuffix&lt;currentTiddler&gt;addsuffix[/]addsuffix&lt;colourName&gt;] }}}&gt;\n&lt;$wikify name=\&quot;newColourName\&quot; text=\&quot;\&quot;\&quot;&lt;$macrocall $name=\&quot;resolve-colour\&quot; macrocall={{{ [&lt;currentTiddler&gt;getindex&lt;colourName&gt;] }}}/&gt;\&quot;\&quot;\&quot;&gt;\n&lt;$reveal state=&lt;&lt;state&gt;&gt; type=\&quot;nomatch\&quot; text=\&quot;show\&quot;&gt;\n&lt;$button tooltip=&lt;&lt;colour-tooltip show&gt;&gt; aria-label=&lt;&lt;colour-tooltip show&gt;&gt; class=\&quot;tc-btn-invisible\&quot; set=&lt;&lt;state&gt;&gt; setTo=\&quot;show\&quot;&gt;{{$:/core/images/down-arrow}}&lt;$text text=&lt;&lt;newColourName&gt;&gt; class=\&quot;tc-small-gap-left\&quot;/&gt;&lt;/$button&gt;&lt;br&gt;\n&lt;/$reveal&gt;\n&lt;$reveal state=&lt;&lt;state&gt;&gt; type=\&quot;match\&quot; text=\&quot;show\&quot;&gt;\n&lt;$button tooltip=&lt;&lt;colour-tooltip hide&gt;&gt; aria-label=&lt;&lt;colour-tooltip show&gt;&gt; class=\&quot;tc-btn-invisible\&quot; actions=\&quot;\&quot;\&quot;&lt;$action-deletetiddler $tiddler=&lt;&lt;state&gt;&gt;/&gt;\&quot;\&quot;\&quot;&gt;{{$:/core/images/up-arrow}}&lt;$text text=&lt;&lt;newColourName&gt;&gt; class=\&quot;tc-small-gap-left\&quot;/&gt;&lt;/$button&gt;&lt;br&gt;\n&lt;/$reveal&gt;\n&lt;$reveal state=&lt;&lt;state&gt;&gt; type=\&quot;match\&quot; text=\&quot;show\&quot;&gt;\n&lt;$set name=\&quot;colourName\&quot; value=&lt;&lt;newColourName&gt;&gt;&gt;\n&lt;br&gt;\n&lt;&lt;palette-manager-colour-row-segment&gt;&gt;\n&lt;br&gt;&lt;br&gt;\n&lt;/$set&gt;\n&lt;/$reveal&gt;\n&lt;/$wikify&gt;\n&lt;/$set&gt;\n&lt;/$list&gt;\n\\end\n\\define palette-manager-colour-row()\n\\whitespace trim\n&lt;tr&gt;\n&lt;td&gt;\n&lt;span style=\&quot;float:right;\&quot;&gt;\n&lt;$button tooltip={{$:/language/ControlPanel/Palette/Editor/Delete/Hint}} aria-label=&lt;&lt;lingo Delete/Hint&gt;&gt; class=\&quot;tc-btn-invisible\&quot; actions=&lt;&lt;delete-colour-index-actions&gt;&gt;&gt;\n{{$:/core/images/delete-button}}&lt;/$button&gt;\n&lt;/span&gt;\n''&lt;$macrocall $name=\&quot;describePaletteColour\&quot; colour=&lt;&lt;colourName&gt;&gt;/&gt;''&lt;br/&gt;\n&lt;$macrocall $name=\&quot;colourName\&quot; $output=\&quot;text/plain\&quot;/&gt;\n&lt;/td&gt;\n&lt;td&gt;\n&lt;&lt;palette-manager-colour-row-segment&gt;&gt;\n&lt;/td&gt;\n&lt;/tr&gt;\n\\end\n\\define palette-manager-table()\n\\whitespace trim\n&lt;table&gt;\n&lt;tbody&gt;\n&lt;$list filter=\&quot;[all[shadows+tiddlers]tag[$:/tags/Palette]indexes[]]\&quot; variable=\&quot;colourName\&quot;&gt;\n&lt;$list filter=\&quot;[&lt;currentTiddler&gt;indexes[]removeprefix&lt;colourName&gt;s
},
&quot;$:/core/ui/PluginInfo&quot;: {
&quot;title&quot;: &quot;$:/core/ui/PluginInfo&quot;,
&quot;text&quot;: &quot;\\define localised-info-tiddler-title()\n$(currentTiddler)$/$(languageTitle)$/$(currentTab)$\n\\end\n\\define info-tiddler-title()\n$(currentTiddler)$/$(currentTab)$\n\\end\n\\define default-tiddler-title()\n$:/core/ui/PluginInfo/Default/$(currentTab)$\n\\end\n&lt;$transclude tiddler=&lt;&lt;localised-info-tiddler-title&gt;&gt; mode=\&quot;block\&quot;&gt;\n&lt;$transclude tiddler=&lt;&lt;currentTiddler&gt;&gt; subtiddler=&lt;&lt;localised-info-tiddler-title&gt;&gt; mode=\&quot;block\&quot;&gt;\n&lt;$transclude tiddler=&lt;&lt;currentTiddler&gt;&gt; subtiddler=&lt;&lt;info-tiddler-title&gt;&gt; mode=\&quot;block\&quot;&gt;\n&lt;$transclude tiddler=&lt;&lt;default-tiddler-title&gt;&gt; mode=\&quot;block\&quot;&gt;\n{{$:/language/ControlPanel/Plugin/NoInfoFound/Hint}}\n&lt;/$transclude&gt;\n&lt;/$transclude&gt;\n&lt;/$transclude&gt;\n&lt;/$transclude&gt;\n&quot;
},
&quot;$:/core/ui/PluginInfo/Default/contents&quot;: {
&quot;title&quot;: &quot;$:/core/ui/PluginInfo/Default/contents&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/TiddlerInfo/Advanced/PluginInfo/\n&lt;&lt;lingo Hint&gt;&gt;\n&lt;ul&gt;\n&lt;$list filter=\&quot;[all[current]plugintiddlers[]sort[title]]\&quot; emptyMessage=&lt;&lt;lingo Empty/Hint&gt;&gt;&gt;\n&lt;li&gt;\n&lt;$link /&gt;\n&lt;/li&gt;\n&lt;/$list&gt;\n&lt;/ul&gt;\n&quot;
},
&quot;$:/core/ui/PluginListItemTemplate&quot;: {
&quot;title&quot;: &quot;$:/core/ui/PluginListItemTemplate&quot;,
&quot;text&quot;: &quot;&lt;div class=\&quot;tc-menu-list-item\&quot;&gt;\n&lt;$link to={{!!title}}&gt;&lt;$view field=\&quot;description\&quot;&gt;&lt;$view field=\&quot;title\&quot;/&gt;&lt;/$view&gt;&lt;/$link&gt;\n&lt;/div&gt;&quot;
},
&quot;$:/core/ui/RootTemplate&quot;: {
&quot;title&quot;: &quot;$:/core/ui/RootTemplate&quot;,
&quot;text&quot;: &quot;&lt;$transclude tiddler={{{ [{$:/layout}has[text]] ~[[$:/core/ui/PageTemplate]] }}} mode=\&quot;inline\&quot;/&gt;\n\n&quot;
},
&quot;$:/core/ui/SearchResults&quot;: {
&quot;title&quot;: &quot;$:/core/ui/SearchResults&quot;,
&quot;text&quot;: &quot;&lt;div class=\&quot;tc-search-results\&quot;&gt;\n\n&lt;$list filter=\&quot;[all[shadows+tiddlers]tag[$:/tags/SearchResults]!has[draft.of]butfirst[]limit[1]]\&quot; emptyMessage=\&quot;\&quot;\&quot;\n&lt;$list filter=\&quot;[all[shadows+tiddlers]tag[$:/tags/SearchResults]!has[draft.of]]\&quot;&gt;\n&lt;$transclude mode=\&quot;block\&quot;/&gt;\n&lt;/$list&gt;\n\&quot;\&quot;\&quot;&gt;\n\n&lt;$macrocall $name=\&quot;tabs\&quot; tabsList=\&quot;[all[shadows+tiddlers]tag[$:/tags/SearchResults]!has[draft.of]]\&quot; default={{$:/config/SearchResults/Default}} actions=\&quot;\&quot;\&quot;&lt;$action-setfield $tiddler=\&quot;$:/state/search/currentTab\&quot; text=&lt;&lt;currentTab&gt;&gt;/&gt;\&quot;\&quot;\&quot; explicitState=\&quot;$:/state/tab/search-results/sidebar\&quot;/&gt;\n\n&lt;/$list&gt;\n\n&lt;/div&gt;\n&quot;
},
&quot;$:/core/ui/SideBar/More&quot;: {
&quot;title&quot;: &quot;$:/core/ui/SideBar/More&quot;,
&quot;tags&quot;: &quot;$:/tags/SideBar&quot;,
&quot;caption&quot;: &quot;{{$:/language/SideBar/More/Caption}}&quot;,
&quot;text&quot;: &quot;&lt;div class=\&quot;tc-more-sidebar\&quot;&gt;\n&lt;$macrocall $name=\&quot;tabs\&quot; tabsList=\&quot;[all[shadows+tiddlers]tag[$:/tags/MoreSideBar]!has[draft.of]]\&quot; default={{$:/config/DefaultMoreSidebarTab}} state=\&quot;$:/state/tab/moresidebar\&quot; class=\&quot;tc-vertical tc-sidebar-tabs-more\&quot; explicitState=\&quot;$:/state/tab/moresidebar-1850697562\&quot;/&gt;\n&lt;/div&gt;\n&quot;
},
&quot;$:/core/ui/SideBar/Open&quot;: {
&quot;title&quot;: &quot;$:/core/ui/SideBar/Open&quot;,
&quot;tags&quot;: &quot;$:/tags/SideBar&quot;,
&quot;caption&quot;: &quot;{{$:/language/SideBar/Open/Caption}}&quot;,
&quot;text&quot;: &quot;\\whitespace trim\n\\define lingo-base() $:/language/CloseAll/\n\n\\define drop-actions()\n&lt;$action-listops $tiddler=&lt;&lt;tv-story-list&gt;&gt; $subfilter=\&quot;+[insertbefore:currentTiddler&lt;actionTiddler&gt;]\&quot;/&gt;\n\\end\n\n\\define placeholder()\n&lt;div class=\&quot;tc-droppable-placeholder\&quot;/&gt;\n\\end\n\n\\define droppable-item(button)\n\\whitespace trim\n&lt;$droppable actions=&lt;&lt;drop-actions&gt;&gt; enable=&lt;&lt;tv-allow-drag-and-drop&gt;&gt;&gt;\n&lt;&lt;placeholder&gt;&gt;\n&lt;div&gt;\n$button$\n&lt;/div&gt;\n&lt;/$droppable&gt;\n\\end\n\n&lt;div class=\&quot;tc-sidebar-tab-open\&quot;&gt;\n&lt;$list filter=\&quot;[list&lt;tv-story-list&gt;]\&quot; history=&lt;&lt;tv-history-list&gt;&gt; storyview=\&quot;pop\&quot;&gt;\n&lt;div class=\&quot;tc-sidebar-tab-open-item\&quot;&gt;\n&lt;$macrocall $name=\&quot;droppable-item\&quot; button=\&quot;\&quot;\&quot;&lt;$button message=\&quot;tm-close-tiddler\&quot; tooltip={{$:/language/Buttons/Close/Hint}} aria-label={{$:/language/Buttons/Close/Caption}} class=\&quot;tc-btn-invisible tc-btn-mini tc-small-gap-right\&quot;&gt;{{$:/core/images/close-button}}&lt;/$button&gt;&lt;$link to={{!!title}}&gt;&lt;$view field=\&quot;title\&quot;/&gt;&lt;/$link&gt;\&quot;\&quot;\&quot;/&gt;\n&lt;/div&gt;\n&lt;/$list&gt;\n&lt;$tiddler tiddler=\&quot;\&quot;&gt;\n&lt;div&gt;\n&lt;$macrocall $name=\&quot;droppable-item\&quot; button=\&quot;\&quot;\&quot;&lt;$button message=\&quot;tm-close-all-tiddlers\&quot; class=\&quot;tc-btn-invisible tc-btn-mini\&quot;&gt;&lt;&lt;lingo Button&gt;&gt;&lt;/$button&gt;\&quot;\&quot;\&quot;/&gt;\n&lt;/div&gt;\n&lt;/$tiddler&gt;\n&lt;/div&gt;\n&quot;
},
&quot;$:/core/ui/SideBar/Recent&quot;: {
&quot;title&quot;: &quot;$:/core/ui/SideBar/Recent&quot;,
&quot;tags&quot;: &quot;$:/tags/SideBar&quot;,
&quot;caption&quot;: &quot;{{$:/language/SideBar/Recent/Caption}}&quot;,
&quot;text&quot;: &quot;&lt;$macrocall $name=\&quot;timeline\&quot; format={{$:/language/RecentChanges/DateFormat}}/&gt;\n&quot;
},
&quot;$:/core/ui/SideBar/Tools&quot;: {
&quot;title&quot;: &quot;$:/core/ui/SideBar/Tools&quot;,
&quot;tags&quot;: &quot;$:/tags/SideBar&quot;,
&quot;caption&quot;: &quot;{{$:/language/SideBar/Tools/Caption}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/ControlPanel/\n\\define config-title()\n$:/config/PageControlButtons/Visibility/$(listItem)$\n\\end\n\n&lt;&lt;lingo Basics/Version/Prompt&gt;&gt; &lt;&lt;version&gt;&gt;\n\n&lt;$set name=\&quot;tv-config-toolbar-icons\&quot; value=\&quot;yes\&quot;&gt;\n\n&lt;$set name=\&quot;tv-config-toolbar-text\&quot; value=\&quot;yes\&quot;&gt;\n\n&lt;$set name=\&quot;tv-config-toolbar-class\&quot; value=\&quot;\&quot;&gt;\n\n&lt;$list filter=\&quot;[all[shadows+tiddlers]tag[$:/tags/PageControls]!has[draft.of]]\&quot; variable=\&quot;listItem\&quot;&gt;\n\n&lt;div style=\&quot;position:relative;\&quot; class={{{ [&lt;listItem&gt;encodeuricomponent[]addprefix[tc-btn-]] }}}&gt;\n\n&lt;$checkbox tiddler=&lt;&lt;config-title&gt;&gt; field=\&quot;text\&quot; checked=\&quot;show\&quot; unchecked=\&quot;hide\&quot; default=\&quot;show\&quot;/&gt; &lt;$transclude tiddler=&lt;&lt;listItem&gt;&gt;/&gt; &lt;i class=\&quot;tc-muted\&quot;&gt;&lt;$transclude tiddler=&lt;&lt;listItem&gt;&gt; field=\&quot;description\&quot;/&gt;&lt;/i&gt;\n\n&lt;/div&gt;\n\n&lt;/$list&gt;\n\n&lt;/$set&gt;\n\n&lt;/$set&gt;\n\n&lt;/$set&gt;\n&quot;
},
&quot;$:/core/ui/SideBarLists&quot;: {
&quot;title&quot;: &quot;$:/core/ui/SideBarLists&quot;,
&quot;text&quot;: &quot;&lt;$transclude tiddler=\&quot;$:/core/ui/SideBarSegments/search\&quot;/&gt;\n\n&lt;$transclude tiddler=\&quot;$:/core/ui/SideBarSegments/tabs\&quot;/&gt;\n\n&quot;
},
&quot;$:/core/ui/SideBarSegments/page-controls&quot;: {
&quot;title&quot;: &quot;$:/core/ui/SideBarSegments/page-controls&quot;,
&quot;tags&quot;: &quot;$:/tags/SideBarSegment&quot;,
&quot;text&quot;: &quot;{{||$:/core/ui/PageTemplate/pagecontrols}}\n&quot;
},
&quot;$:/core/ui/SideBarSegments/search&quot;: {
&quot;title&quot;: &quot;$:/core/ui/SideBarSegments/search&quot;,
&quot;tags&quot;: &quot;$:/tags/SideBarSegment&quot;,
&quot;text&quot;: &quot;\\whitespace trim\n\n\\define count-popup-button()\n\\whitespace trim\n&lt;$button popup=&lt;&lt;qualify \&quot;$:/state/popup/search-dropdown\&quot;&gt;&gt; class=\&quot;tc-btn-invisible\&quot;&gt;\n{{$:/core/images/down-arrow}}\n&lt;$list filter=\&quot;[{$(searchTiddler)$}minlength{$:/config/Search/MinLength}limit[1]]\&quot; variable=\&quot;listItem\&quot;&gt;\n&lt;$vars userInput={{{ [&lt;searchTiddler&gt;get[text]] }}} configTiddler={{{ [[$:/state/search/currentTab]!is[missing]get[text]] ~[{$:/config/SearchResults/Default}] }}} replaceRegexp=\&quot;limit\\[\\d+\\]\&quot;&gt;\n&lt;$vars primaryListFilter={{{ [&lt;configTiddler&gt;get[first-search-filter]search-replace:g:regexp&lt;replaceRegexp&gt;,[]] }}} secondaryListFilter={{{ [&lt;configTiddler&gt;get[second-search-filter]search-replace:g:regexp&lt;replaceRegexp&gt;,[]] }}}&gt;\n&lt;$set name=\&quot;resultCount\&quot; value=\&quot;\&quot;\&quot;&lt;$count filter=\&quot;[subfilter&lt;primaryListFilter&gt;] [subfilter&lt;secondaryListFilter&gt;]\&quot;/&gt;\&quot;\&quot;\&quot;&gt;\n{{$:/language/Search/Matches}}\n&lt;/$set&gt;\n&lt;/$vars&gt;\n&lt;/$vars&gt;\n&lt;/$list&gt;\n&lt;/$button&gt;\n\\end\n\n\\define search-results-list()\n\\whitespace trim\n&lt;$vars userInput={{$(searchTiddler)$}} configTiddler={{{ [[$:/state/search/currentTab]!is[missing]get[text]] ~[{$:/config/SearchResults/Default}] }}}&gt;\n&lt;$list filter=\&quot;[&lt;userInput&gt;minlength{$:/config/Search/MinLength}limit[1]]\&quot; emptyMessage=\&quot;\&quot;\&quot;&lt;div class=\&quot;tc-search-results\&quot;&gt;{{$:/language/Search/Search/TooShort}}&lt;/div&gt;\&quot;\&quot;\&quot; variable=\&quot;listItem\&quot;&gt;\n\n&lt;$tiddler tiddler=&lt;&lt;configTiddler&gt;&gt;&gt;\n\n{{$:/core/ui/SearchResults}}\n\n&lt;/$tiddler&gt;\n\n&lt;/$list&gt;\n&lt;/$vars&gt;\n\\end\n\n\\define cancel-search-actions() &lt;$list filter=\&quot;[&lt;searchTiddler&gt;get[text]!match{$:/temp/search}]\&quot; emptyMessage=\&quot;\&quot;\&quot;&lt;$action-deletetiddler $filter=\&quot;[[$:/temp/search]] [&lt;searchTiddler&gt;] [&lt;searchListState&gt;]\&quot;/&gt;\&quot;\&quot;\&quot;&gt;&lt;$action-setfield $tiddler=\&quot;$:/temp/search\&quot; text={{{ [&lt;searchTiddler&gt;get[text]] }}}/&gt;&lt;$action-setfield $tiddler=\&quot;$:/temp/search/refresh\&quot; text=\&quot;yes\&quot;/&gt;&lt;/$list&gt;\n\n\\define input-accept-actions() &lt;$list filter=\&quot;[{$:/config/Search/NavigateOnEnter/enable}match[yes]]\&quot; emptyMessage=\&quot;\&quot;\&quot;&lt;$list filter=\&quot;[&lt;__tiddler__&gt;get[text]!is[missing]] ~[&lt;__tiddler__&gt;get[text]is[shadow]]\&quot;&gt;&lt;$action-navigate $to={{{ [&lt;__tiddler__&gt;get[text]] }}}/&gt;&lt;/$list&gt;\&quot;\&quot;\&quot;&gt;&lt;$action-navigate $to={{{ [&lt;__tiddler__&gt;get[text]] }}}/&gt;&lt;/$list&gt;\n\n\\define input-accept-variant-actions() &lt;$list filter=\&quot;[{$:/config/Search/NavigateOnEnter/enable}match[yes]]\&quot; emptyMessage=\&quot;\&quot;\&quot;&lt;$list filter=\&quot;[&lt;__tiddler__&gt;get[text]!is[missing]] ~[&lt;__tiddler__&gt;get[text]is[shadow]]\&quot;&gt;&lt;$list filter=\&quot;[&lt;__tiddler__&gt;get[text]minlength[1]]\&quot;&gt;&lt;$action-sendmessage $message=\&quot;tm-edit-tiddler\&quot; $param={{{ [&lt;__tiddler__&gt;get[text]] }}}/&gt;&lt;/$list&gt;&lt;/$list&gt;\&quot;\&quot;\&quot;&gt;&lt;$list filter=\&quot;[&lt;__tiddler__&gt;get[text]minlength[1]]\&quot;&gt;&lt;$action-sendmessage $message=\&quot;tm-edit-tiddler\&quot; $param={{{ [&lt;__tiddler__&gt;get[text]] }}}/&gt;&lt;/$list&gt;&lt;/$list&gt;\n\n\\define set-next-input-tab(beforeafter:\&quot;after\&quot;) &lt;$macrocall $name=\&quot;change-input-tab\&quot; stateTitle=\&quot;$:/state/tab/search-results/sidebar\&quot; tag=\&quot;$:/tags/SearchResults\&quot; beforeafter=\&quot;$beforeafter$\&quot; defaultState={{$:/config/SearchResults/Default}} actions=\&quot;\&quot;\&quot;&lt;$action-setfield $tiddler=\&quot;$:/state/search/currentTab\&quot; text=&lt;&lt;nextTab&gt;&gt;/&gt;\&quot;\&quot;\&quot;/&gt;\n\n\\define advanced-search-actions() &lt;
},
&quot;$:/core/ui/SideBarSegments/site-subtitle&quot;: {
&quot;title&quot;: &quot;$:/core/ui/SideBarSegments/site-subtitle&quot;,
&quot;tags&quot;: &quot;$:/tags/SideBarSegment&quot;,
&quot;text&quot;: &quot;&lt;div class=\&quot;tc-site-subtitle\&quot;&gt;\n\n&lt;$transclude tiddler=\&quot;$:/SiteSubtitle\&quot; mode=\&quot;inline\&quot;/&gt;\n\n&lt;/div&gt;\n&quot;
},
&quot;$:/core/ui/SideBarSegments/site-title&quot;: {
&quot;title&quot;: &quot;$:/core/ui/SideBarSegments/site-title&quot;,
&quot;tags&quot;: &quot;$:/tags/SideBarSegment&quot;,
&quot;text&quot;: &quot;&lt;h1 class=\&quot;tc-site-title\&quot;&gt;\n\n&lt;$transclude tiddler=\&quot;$:/SiteTitle\&quot; mode=\&quot;inline\&quot;/&gt;\n\n&lt;/h1&gt;\n&quot;
},
&quot;$:/core/ui/SideBarSegments/tabs&quot;: {
&quot;title&quot;: &quot;$:/core/ui/SideBarSegments/tabs&quot;,
&quot;tags&quot;: &quot;$:/tags/SideBarSegment&quot;,
&quot;text&quot;: &quot;&lt;div class=\&quot;tc-sidebar-lists tc-sidebar-tabs\&quot;&gt;\n\n&lt;$macrocall $name=\&quot;tabs\&quot; tabsList=\&quot;[all[shadows+tiddlers]tag[$:/tags/SideBar]!has[draft.of]]\&quot; default={{$:/config/DefaultSidebarTab}} state=\&quot;$:/state/tab/sidebar\&quot; class=\&quot;tc-sidebar-tabs-main\&quot; explicitState=\&quot;$:/state/tab/sidebar--595412856\&quot;/&gt;\n\n&lt;/div&gt;\n&quot;
},
&quot;$:/core/ui/SwitcherModal&quot;: {
&quot;title&quot;: &quot;$:/core/ui/SwitcherModal&quot;,
&quot;subtitle&quot;: &quot;&lt;$text text={{{[&lt;switch&gt;lookup[$:/language/Switcher/Subtitle/]]}}}/&gt;&quot;,
&quot;class&quot;: &quot;tc-modal-centered&quot;,
&quot;text&quot;: &quot;&lt;$tiddler tiddler={{{[&lt;switch&gt;lookup[$:/config/SwitcherTargets/]]}}}&gt;\n\n\n&lt;$transclude/&gt;\n\n\n&lt;/$tiddler&gt;&quot;
},
&quot;$:/TagManager&quot;: {
&quot;title&quot;: &quot;$:/TagManager&quot;,
&quot;icon&quot;: &quot;$:/core/images/tag-button&quot;,
&quot;color&quot;: &quot;#bbb&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/TagManager/\n\\define iconEditorTab(type)\n\\whitespace trim\n&lt;$link to=\&quot;\&quot;&gt;&lt;&lt;lingo Icons/None&gt;&gt;&lt;/$link&gt;\n&lt;$list filter=\&quot;[all[shadows+tiddlers]is[image]] [all[shadows+tiddlers]tag[$:/tags/Image]] -[type[application/pdf]] +[sort[title]] +[$type$is[system]]\&quot;&gt;\n&lt;$link to={{!!title}}&gt;\n&lt;$transclude/&gt; &lt;$view field=\&quot;title\&quot;/&gt;\n&lt;/$link&gt;\n&lt;/$list&gt;\n\\end\n\\define iconEditor(title)\n\\whitespace trim\n&lt;div class=\&quot;tc-drop-down-wrapper\&quot;&gt;\n&lt;$button popupTitle={{{ [[$:/state/popup/icon/]addsuffix&lt;__title__&gt;] }}} class=\&quot;tc-btn-invisible tc-btn-dropdown\&quot;&gt;{{$:/core/images/down-arrow}}&lt;/$button&gt;\n&lt;$reveal stateTitle={{{ [[$:/state/popup/icon/]addsuffix&lt;__title__&gt;] }}} type=\&quot;popup\&quot; position=\&quot;belowleft\&quot; text=\&quot;\&quot; default=\&quot;\&quot;&gt;\n&lt;div class=\&quot;tc-drop-down\&quot;&gt;\n&lt;$linkcatcher actions=\&quot;\&quot;\&quot;&lt;$action-setfield $tiddler=&lt;&lt;__title__&gt;&gt; icon=&lt;&lt;navigateTo&gt;&gt;/&gt;\&quot;\&quot;\&quot;&gt;\n&lt;&lt;iconEditorTab type:\&quot;!\&quot;&gt;&gt;\n&lt;hr/&gt;\n&lt;&lt;iconEditorTab type:\&quot;\&quot;&gt;&gt;\n&lt;/$linkcatcher&gt;\n&lt;/div&gt;\n&lt;/$reveal&gt;\n&lt;/div&gt;\n\\end\n\\define toggleButton(state)\n\\whitespace trim\n&lt;$reveal stateTitle=&lt;&lt;__state__&gt;&gt; type=\&quot;match\&quot; text=\&quot;closed\&quot; default=\&quot;closed\&quot;&gt;\n&lt;$button setTitle=&lt;&lt;__state__&gt;&gt; setTo=\&quot;open\&quot; class=\&quot;tc-btn-invisible tc-btn-dropdown\&quot; selectedClass=\&quot;tc-selected\&quot;&gt;\n{{$:/core/images/info-button}}\n&lt;/$button&gt;\n&lt;/$reveal&gt;\n&lt;$reveal stateTitle=&lt;&lt;__state__&gt;&gt; type=\&quot;match\&quot; text=\&quot;open\&quot; default=\&quot;closed\&quot;&gt;\n&lt;$button setTitle=&lt;&lt;__state__&gt;&gt; setTo=\&quot;closed\&quot; class=\&quot;tc-btn-invisible tc-btn-dropdown\&quot; selectedClass=\&quot;tc-selected\&quot;&gt;\n{{$:/core/images/info-button}}\n&lt;/$button&gt;\n&lt;/$reveal&gt;\n\\end\n\\whitespace trim\n&lt;table class=\&quot;tc-tag-manager-table\&quot;&gt;\n&lt;tbody&gt;\n&lt;tr&gt;\n&lt;th&gt;&lt;&lt;lingo Colour/Heading&gt;&gt;&lt;/th&gt;\n&lt;th class=\&quot;tc-tag-manager-tag\&quot;&gt;&lt;&lt;lingo Tag/Heading&gt;&gt;&lt;/th&gt;\n&lt;th&gt;&lt;&lt;lingo Count/Heading&gt;&gt;&lt;/th&gt;\n&lt;th&gt;&lt;&lt;lingo Icon/Heading&gt;&gt;&lt;/th&gt;\n&lt;th&gt;&lt;&lt;lingo Info/Heading&gt;&gt;&lt;/th&gt;\n&lt;/tr&gt;\n&lt;$list filter=\&quot;[tags[]!is[system]sort[title]]\&quot;&gt;\n&lt;tr&gt;\n&lt;td&gt;&lt;$edit-text field=\&quot;color\&quot; tag=\&quot;input\&quot; type=\&quot;color\&quot;/&gt;&lt;/td&gt;\n&lt;td&gt;{{||$:/core/ui/TagTemplate}}&lt;/td&gt;\n&lt;td&gt;&lt;$count filter=\&quot;[all[current]tagging[]]\&quot;/&gt;&lt;/td&gt;\n&lt;td&gt;\n&lt;$macrocall $name=\&quot;iconEditor\&quot; title={{!!title}}/&gt;\n&lt;/td&gt;\n&lt;td&gt;\n&lt;$macrocall $name=\&quot;toggleButton\&quot; state={{{ [[$:/state/tag-manager/]addsuffix&lt;currentTiddler&gt;] }}} /&gt; \n&lt;/td&gt;\n&lt;/tr&gt;\n&lt;tr&gt;\n&lt;td&gt;&lt;/td&gt;\n&lt;td colspan=\&quot;4\&quot;&gt;\n&lt;$reveal stateTitle={{{ [[$:/state/tag-manager/]addsuffix&lt;currentTiddler&gt;] }}} type=\&quot;match\&quot; text=\&quot;open\&quot; default=\&quot;\&quot;&gt;\n&lt;table&gt;\n&lt;tbody&gt;\n&lt;tr&gt;&lt;td&gt;&lt;&lt;lingo Colour/Heading&gt;&gt;&lt;/td&gt;&lt;td&gt;&lt;$edit-text field=\&quot;color\&quot; tag=\&quot;input\&quot; type=\&quot;text\&quot; size=\&quot;9\&quot;/&gt;&lt;/td&gt;&lt;/tr&gt;\n&lt;tr&gt;&lt;td&gt;&lt;&lt;lingo Icon/Heading&gt;&gt;&lt;/td&gt;&lt;td&gt;&lt;$edit-text field=\&quot;icon\&quot; tag=\&quot;input\&quot; size=\&quot;45\&quot;/&gt;&lt;/td&gt;&lt;/tr&gt;\n&lt;/tbody&gt;\n&lt;/table&gt;\n&lt;/$reveal&gt;\n&lt;/td&gt;\n&lt;/tr&gt;\n&lt;/$list&gt;\n&lt;tr&gt;\n&lt;td&gt;&lt;/td&gt;\n&lt;td style=\&quot;position:relative;\&quot;&gt;\n{{$:/core/ui/UntaggedTemp
},
&quot;$:/core/ui/TagPickerTagTemplate&quot;: {
&quot;title&quot;: &quot;$:/core/ui/TagPickerTagTemplate&quot;,
&quot;text&quot;: &quot;\\whitespace trim\n&lt;$button class=&lt;&lt;button-classes&gt;&gt; tag=\&quot;a\&quot; tooltip={{$:/language/EditTemplate/Tags/Add/Button/Hint}}&gt;\n&lt;$list filter=\&quot;[&lt;saveTiddler&gt;minlength[1]]\&quot;&gt;\n&lt;$action-listops $tiddler=&lt;&lt;saveTiddler&gt;&gt; $field=&lt;&lt;tagField&gt;&gt; $subfilter=\&quot;[&lt;tag&gt;]\&quot;/&gt;\n&lt;/$list&gt;\n&lt;$set name=\&quot;currentTiddlerCSSEscaped\&quot; value={{{ [&lt;saveTiddler&gt;escapecss[]] }}}&gt;\n&lt;$action-sendmessage $message=\&quot;tm-focus-selector\&quot; $param=&lt;&lt;get-tagpicker-focus-selector&gt;&gt; preventScroll=\&quot;true\&quot;/&gt;\n&lt;/$set&gt;\n&lt;&lt;delete-tag-state-tiddlers&gt;&gt;\n&lt;$list filter=\&quot;[&lt;refreshTitle&gt;minlength[1]]\&quot;&gt;\n&lt;$action-setfield $tiddler=&lt;&lt;refreshTitle&gt;&gt; text=\&quot;yes\&quot;/&gt;\n&lt;/$list&gt;\n&lt;&lt;actions&gt;&gt;\n&lt;$set name=\&quot;backgroundColor\&quot; value={{!!color}}&gt;\n&lt;$wikify name=\&quot;foregroundColor\&quot; text=\&quot;\&quot;\&quot;&lt;$macrocall $name=\&quot;contrastcolour\&quot; target={{!!color}} fallbackTarget=&lt;&lt;fallbackTarget&gt;&gt; colourA=&lt;&lt;colourA&gt;&gt; colourB=&lt;&lt;colourB&gt;&gt;/&gt;\&quot;\&quot;\&quot;&gt;\n&lt;span class=\&quot;tc-tag-label tc-btn-invisible\&quot; style=&lt;&lt;tag-pill-styles&gt;&gt;&gt;\n&lt;$transclude tiddler={{!!icon}}/&gt;&lt;$view field=\&quot;title\&quot; format=\&quot;text\&quot;/&gt;\n&lt;/span&gt;\n&lt;/$wikify&gt;\n&lt;/$set&gt;\n&lt;/$button&gt;\n&quot;
},
&quot;$:/core/ui/TagTemplate&quot;: {
&quot;title&quot;: &quot;$:/core/ui/TagTemplate&quot;,
&quot;text&quot;: &quot;\\whitespace trim\n&lt;span class=\&quot;tc-tag-list-item\&quot;&gt;\n&lt;$set name=\&quot;transclusion\&quot; value=&lt;&lt;currentTiddler&gt;&gt;&gt;\n&lt;$macrocall $name=\&quot;tag-pill-body\&quot; tag=&lt;&lt;currentTiddler&gt;&gt; icon={{!!icon}} colour={{!!color}} palette={{$:/palette}} element-tag=\&quot;\&quot;\&quot;$button\&quot;\&quot;\&quot; element-attributes=\&quot;\&quot;\&quot;popup=&lt;&lt;qualify \&quot;$:/state/popup/tag\&quot;&gt;&gt; dragFilter='[all[current]tagging[]]' tag='span'\&quot;\&quot;\&quot;/&gt;\n&lt;$reveal state=&lt;&lt;qualify \&quot;$:/state/popup/tag\&quot;&gt;&gt; type=\&quot;popup\&quot; position=\&quot;below\&quot; animate=\&quot;yes\&quot; class=\&quot;tc-drop-down\&quot;&gt;\n&lt;$set name=\&quot;tv-show-missing-links\&quot; value=\&quot;yes\&quot;&gt;\n&lt;$transclude tiddler=\&quot;$:/core/ui/ListItemTemplate\&quot;/&gt;\n&lt;/$set&gt;\n&lt;$list filter=\&quot;[all[shadows+tiddlers]tag[$:/tags/TagDropdown]!has[draft.of]]\&quot; variable=\&quot;listItem\&quot;&gt; \n&lt;$transclude tiddler=&lt;&lt;listItem&gt;&gt;/&gt; \n&lt;/$list&gt;\n&lt;hr&gt;\n&lt;$macrocall $name=\&quot;list-tagged-draggable\&quot; tag=&lt;&lt;currentTiddler&gt;&gt;/&gt;\n&lt;/$reveal&gt;\n&lt;/$set&gt;\n&lt;/span&gt;\n&quot;
},
&quot;$:/core/ui/TiddlerFieldTemplate&quot;: {
&quot;title&quot;: &quot;$:/core/ui/TiddlerFieldTemplate&quot;,
&quot;text&quot;: &quot;&lt;tr class=\&quot;tc-view-field\&quot;&gt;\n&lt;td class=\&quot;tc-view-field-name\&quot;&gt;\n&lt;$text text=&lt;&lt;listItem&gt;&gt;/&gt;\n&lt;/td&gt;\n&lt;td class=\&quot;tc-view-field-value\&quot;&gt;\n&lt;$view field=&lt;&lt;listItem&gt;&gt;/&gt;\n&lt;/td&gt;\n&lt;/tr&gt;&quot;
},
&quot;$:/core/ui/TiddlerFields&quot;: {
&quot;title&quot;: &quot;$:/core/ui/TiddlerFields&quot;,
&quot;text&quot;: &quot;&lt;table class=\&quot;tc-view-field-table\&quot;&gt;\n&lt;tbody&gt;\n&lt;$list filter=\&quot;[all[current]fields[]sort[title]] -text\&quot; template=\&quot;$:/core/ui/TiddlerFieldTemplate\&quot; variable=\&quot;listItem\&quot;/&gt;\n&lt;/tbody&gt;\n&lt;/table&gt;\n&quot;
},
&quot;$:/core/ui/TiddlerInfo/Advanced/PluginInfo&quot;: {
&quot;title&quot;: &quot;$:/core/ui/TiddlerInfo/Advanced/PluginInfo&quot;,
&quot;tags&quot;: &quot;$:/tags/TiddlerInfo/Advanced&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/TiddlerInfo/Advanced/PluginInfo/\n&lt;$list filter=\&quot;[all[current]has[plugin-type]]\&quot;&gt;\n\n! &lt;&lt;lingo Heading&gt;&gt;\n\n&lt;&lt;lingo Hint&gt;&gt;\n&lt;ul&gt;\n&lt;$list filter=\&quot;[all[current]plugintiddlers[]sort[title]]\&quot; emptyMessage=&lt;&lt;lingo Empty/Hint&gt;&gt;&gt;\n&lt;li&gt;\n&lt;$link to={{!!title}}&gt;\n&lt;$view field=\&quot;title\&quot;/&gt;\n&lt;/$link&gt;\n&lt;/li&gt;\n&lt;/$list&gt;\n&lt;/ul&gt;\n\n&lt;/$list&gt;\n&quot;
},
&quot;$:/core/ui/TiddlerInfo/Advanced/ShadowInfo&quot;: {
&quot;title&quot;: &quot;$:/core/ui/TiddlerInfo/Advanced/ShadowInfo&quot;,
&quot;tags&quot;: &quot;$:/tags/TiddlerInfo/Advanced&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/TiddlerInfo/Advanced/ShadowInfo/\n&lt;$set name=\&quot;infoTiddler\&quot; value=&lt;&lt;currentTiddler&gt;&gt;&gt;\n\n''&lt;&lt;lingo Heading&gt;&gt;''\n\n&lt;$list filter=\&quot;[all[current]!is[shadow]]\&quot;&gt;\n\n&lt;&lt;lingo NotShadow/Hint&gt;&gt;\n\n&lt;/$list&gt;\n\n&lt;$list filter=\&quot;[all[current]is[shadow]]\&quot;&gt;\n\n&lt;&lt;lingo Shadow/Hint&gt;&gt;\n\n&lt;$list filter=\&quot;[all[current]shadowsource[]]\&quot;&gt;\n\n&lt;$set name=\&quot;pluginTiddler\&quot; value=&lt;&lt;currentTiddler&gt;&gt;&gt;\n&lt;&lt;lingo Shadow/Source&gt;&gt;\n&lt;/$set&gt;\n\n&lt;/$list&gt;\n\n&lt;$list filter=\&quot;[all[current]is[shadow]is[tiddler]]\&quot;&gt;\n\n&lt;&lt;lingo OverriddenShadow/Hint&gt;&gt;\n\n&lt;/$list&gt;\n\n\n&lt;/$list&gt;\n&lt;/$set&gt;\n&quot;
},
&quot;$:/core/ui/TiddlerInfo/Advanced&quot;: {
&quot;title&quot;: &quot;$:/core/ui/TiddlerInfo/Advanced&quot;,
&quot;tags&quot;: &quot;$:/tags/TiddlerInfo&quot;,
&quot;caption&quot;: &quot;{{$:/language/TiddlerInfo/Advanced/Caption}}&quot;,
&quot;text&quot;: &quot;&lt;$list filter=\&quot;[all[shadows+tiddlers]tag[$:/tags/TiddlerInfo/Advanced]!has[draft.of]]\&quot; variable=\&quot;listItem\&quot;&gt;\n\n&lt;$transclude tiddler=&lt;&lt;listItem&gt;&gt; mode=\&quot;block\&quot;/&gt;\n&lt;/$list&gt;\n&quot;
},
&quot;$:/core/ui/TiddlerInfo/Fields&quot;: {
&quot;title&quot;: &quot;$:/core/ui/TiddlerInfo/Fields&quot;,
&quot;tags&quot;: &quot;$:/tags/TiddlerInfo&quot;,
&quot;caption&quot;: &quot;{{$:/language/TiddlerInfo/Fields/Caption}}&quot;,
&quot;text&quot;: &quot;&lt;$transclude tiddler=\&quot;$:/core/ui/TiddlerFields\&quot;/&gt;\n&quot;
},
&quot;$:/core/ui/TiddlerInfo/List&quot;: {
&quot;title&quot;: &quot;$:/core/ui/TiddlerInfo/List&quot;,
&quot;tags&quot;: &quot;$:/tags/TiddlerInfo&quot;,
&quot;caption&quot;: &quot;{{$:/language/TiddlerInfo/List/Caption}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/TiddlerInfo/\n&lt;$list filter=\&quot;[list{!!title}]\&quot; emptyMessage=&lt;&lt;lingo List/Empty&gt;&gt; template=\&quot;$:/core/ui/ListItemTemplate\&quot;/&gt;\n&quot;
},
&quot;$:/core/ui/TiddlerInfo/Listed&quot;: {
&quot;title&quot;: &quot;$:/core/ui/TiddlerInfo/Listed&quot;,
&quot;tags&quot;: &quot;$:/tags/TiddlerInfo&quot;,
&quot;caption&quot;: &quot;{{$:/language/TiddlerInfo/Listed/Caption}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/TiddlerInfo/\n&lt;$list filter=\&quot;[all[current]listed[]!is[system]]\&quot; emptyMessage=&lt;&lt;lingo Listed/Empty&gt;&gt; template=\&quot;$:/core/ui/ListItemTemplate\&quot;/&gt;\n&quot;
},
&quot;$:/core/ui/TiddlerInfo/References&quot;: {
&quot;title&quot;: &quot;$:/core/ui/TiddlerInfo/References&quot;,
&quot;tags&quot;: &quot;$:/tags/TiddlerInfo&quot;,
&quot;caption&quot;: &quot;{{$:/language/TiddlerInfo/References/Caption}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/TiddlerInfo/\n&lt;$list filter=\&quot;[all[current]backlinks[]sort[title]]\&quot; emptyMessage=&lt;&lt;lingo References/Empty&gt;&gt; template=\&quot;$:/core/ui/ListItemTemplate\&quot;&gt;\n&lt;/$list&gt;&quot;
},
&quot;$:/core/ui/TiddlerInfo/Tagging&quot;: {
&quot;title&quot;: &quot;$:/core/ui/TiddlerInfo/Tagging&quot;,
&quot;tags&quot;: &quot;$:/tags/TiddlerInfo&quot;,
&quot;caption&quot;: &quot;{{$:/language/TiddlerInfo/Tagging/Caption}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/TiddlerInfo/\n&lt;$list filter=\&quot;[all[current]tagging[]]\&quot; emptyMessage=&lt;&lt;lingo Tagging/Empty&gt;&gt; template=\&quot;$:/core/ui/ListItemTemplate\&quot;/&gt;\n&quot;
},
&quot;$:/core/ui/TiddlerInfo/Tools&quot;: {
&quot;title&quot;: &quot;$:/core/ui/TiddlerInfo/Tools&quot;,
&quot;tags&quot;: &quot;$:/tags/TiddlerInfo&quot;,
&quot;caption&quot;: &quot;{{$:/language/TiddlerInfo/Tools/Caption}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/TiddlerInfo/\n\\define config-title()\n$:/config/ViewToolbarButtons/Visibility/$(listItem)$\n\\end\n&lt;$set name=\&quot;tv-config-toolbar-icons\&quot; value=\&quot;yes\&quot;&gt;\n\n&lt;$set name=\&quot;tv-config-toolbar-text\&quot; value=\&quot;yes\&quot;&gt;\n\n&lt;$set name=\&quot;tv-config-toolbar-class\&quot; value=\&quot;\&quot;&gt;\n\n&lt;$list filter=\&quot;[all[shadows+tiddlers]tag[$:/tags/ViewToolbar]!has[draft.of]]\&quot; variable=\&quot;listItem\&quot;&gt;\n\n&lt;$checkbox tiddler=&lt;&lt;config-title&gt;&gt; field=\&quot;text\&quot; checked=\&quot;show\&quot; unchecked=\&quot;hide\&quot; default=\&quot;show\&quot;/&gt; &lt;$transclude tiddler=&lt;&lt;listItem&gt;&gt;/&gt; &lt;i class=\&quot;tc-muted\&quot;&gt;&lt;$transclude tiddler=&lt;&lt;listItem&gt;&gt; field=\&quot;description\&quot;/&gt;&lt;/i&gt;\n\n&lt;/$list&gt;\n\n&lt;/$set&gt;\n\n&lt;/$set&gt;\n\n&lt;/$set&gt;\n&quot;
},
&quot;$:/core/ui/TiddlerInfo&quot;: {
&quot;title&quot;: &quot;$:/core/ui/TiddlerInfo&quot;,
&quot;text&quot;: &quot;&lt;div style=\&quot;position:relative;\&quot;&gt;\n&lt;div class=\&quot;tc-tiddler-controls\&quot; style=\&quot;position:absolute;right:0;\&quot;&gt;\n&lt;$reveal state=\&quot;$:/config/TiddlerInfo/Mode\&quot; type=\&quot;match\&quot; text=\&quot;sticky\&quot;&gt;\n&lt;$button set=&lt;&lt;tiddlerInfoState&gt;&gt; setTo=\&quot;\&quot; tooltip={{$:/language/Buttons/Info/Hint}} aria-label={{$:/language/Buttons/Info/Caption}} class=\&quot;tc-btn-invisible\&quot;&gt;\n{{$:/core/images/close-button}}\n&lt;/$button&gt;\n&lt;/$reveal&gt;\n&lt;/div&gt;\n&lt;/div&gt;\n\n&lt;$macrocall $name=\&quot;tabs\&quot; tabsList=\&quot;[all[shadows+tiddlers]tag[$:/tags/TiddlerInfo]!has[draft.of]]\&quot; default={{$:/config/TiddlerInfo/Default}}/&gt;\n&quot;
},
&quot;$:/core/ui/TopBar/menu&quot;: {
&quot;title&quot;: &quot;$:/core/ui/TopBar/menu&quot;,
&quot;tags&quot;: &quot;$:/tags/TopRightBar&quot;,
&quot;text&quot;: &quot;&lt;$list filter=\&quot;[[$:/state/sidebar]get[text]] +[else[yes]!match[no]]\&quot; variable=\&quot;ignore\&quot;&gt;\n&lt;$button set=\&quot;$:/state/sidebar\&quot; setTo=\&quot;no\&quot; tooltip={{$:/language/Buttons/HideSideBar/Hint}} aria-label={{$:/language/Buttons/HideSideBar/Caption}} class=\&quot;tc-btn-invisible tc-hide-sidebar-btn\&quot;&gt;{{$:/core/images/chevron-right}}&lt;/$button&gt;\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[[$:/state/sidebar]get[text]] +[else[yes]match[no]]\&quot; variable=\&quot;ignore\&quot;&gt;\n&lt;$button set=\&quot;$:/state/sidebar\&quot; setTo=\&quot;yes\&quot; tooltip={{$:/language/Buttons/ShowSideBar/Hint}} aria-label={{$:/language/Buttons/ShowSideBar/Caption}} class=\&quot;tc-btn-invisible tc-show-sidebar-btn\&quot;&gt;{{$:/core/images/chevron-left}}&lt;/$button&gt;\n&lt;/$list&gt;\n&quot;
},
&quot;$:/core/ui/UntaggedTemplate&quot;: {
&quot;title&quot;: &quot;$:/core/ui/UntaggedTemplate&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/SideBar/\n&lt;$button popup=&lt;&lt;qualify \&quot;$:/state/popup/tag\&quot;&gt;&gt; class=\&quot;tc-btn-invisible tc-untagged-label tc-tag-label\&quot;&gt;\n&lt;&lt;lingo Tags/Untagged/Caption&gt;&gt;\n&lt;/$button&gt;\n&lt;$reveal state=&lt;&lt;qualify \&quot;$:/state/popup/tag\&quot;&gt;&gt; type=\&quot;popup\&quot; position=\&quot;below\&quot;&gt;\n&lt;div class=\&quot;tc-drop-down\&quot;&gt;\n&lt;$list filter=\&quot;[untagged[]!is[system]] -[tags[]] +[sort[title]]\&quot; template=\&quot;$:/core/ui/ListItemTemplate\&quot;/&gt;\n&lt;/div&gt;\n&lt;/$reveal&gt;\n&quot;
},
&quot;$:/core/ui/ViewTemplate/body&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ViewTemplate/body&quot;,
&quot;tags&quot;: &quot;$:/tags/ViewTemplate&quot;,
&quot;text&quot;: &quot;&lt;$reveal tag=\&quot;div\&quot; class=\&quot;tc-tiddler-body\&quot; type=\&quot;nomatch\&quot; stateTitle=&lt;&lt;folded-state&gt;&gt; text=\&quot;hide\&quot; retain=\&quot;yes\&quot; animate=\&quot;yes\&quot;&gt;\n\n&lt;$list filter=\&quot;[all[current]!has[plugin-type]!field:hide-body[yes]]\&quot;&gt;\n\n&lt;$transclude&gt;\n\n&lt;$transclude tiddler=\&quot;$:/language/MissingTiddler/Hint\&quot;/&gt;\n\n&lt;/$transclude&gt;\n\n&lt;/$list&gt;\n\n&lt;/$reveal&gt;\n&quot;
},
&quot;$:/core/ui/ViewTemplate/classic&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ViewTemplate/classic&quot;,
&quot;tags&quot;: &quot;$:/tags/ViewTemplate $:/tags/EditTemplate&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/ClassicWarning/\n&lt;$list filter=\&quot;[all[current]type[text/x-tiddlywiki]]\&quot;&gt;\n&lt;div class=\&quot;tc-message-box\&quot;&gt;\n\n&lt;&lt;lingo Hint&gt;&gt;\n\n&lt;$button set=\&quot;!!type\&quot; setTo=\&quot;text/vnd.tiddlywiki\&quot;&gt;&lt;&lt;lingo Upgrade/Caption&gt;&gt;&lt;/$button&gt;\n\n&lt;/div&gt;\n&lt;/$list&gt;\n&quot;
},
&quot;$:/core/ui/ViewTemplate/import&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ViewTemplate/import&quot;,
&quot;tags&quot;: &quot;$:/tags/ViewTemplate&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/Import/\n\n\\define buttons()\n&lt;$button message=\&quot;tm-delete-tiddler\&quot; param=&lt;&lt;currentTiddler&gt;&gt;&gt;&lt;&lt;lingo Listing/Cancel/Caption&gt;&gt;&lt;/$button&gt;\n&lt;$button message=\&quot;tm-perform-import\&quot; param=&lt;&lt;currentTiddler&gt;&gt;&gt;&lt;&lt;lingo Listing/Import/Caption&gt;&gt;&lt;/$button&gt;\n&lt;&lt;lingo Listing/Preview&gt;&gt; &lt;$select tiddler=\&quot;$:/state/importpreviewtype\&quot; default=\&quot;$:/core/ui/ImportPreviews/Text\&quot;&gt;\n&lt;$list filter=\&quot;[all[shadows+tiddlers]tag[$:/tags/ImportPreview]!has[draft.of]]\&quot;&gt;\n&lt;option value=&lt;&lt;currentTiddler&gt;&gt;&gt;{{!!caption}}&lt;/option&gt;\n&lt;/$list&gt;\n&lt;/$select&gt;\n\\end\n\n&lt;$list filter=\&quot;[all[current]field:plugin-type[import]]\&quot;&gt;\n\n&lt;div class=\&quot;tc-import\&quot;&gt;\n\n&lt;&lt;lingo Listing/Hint&gt;&gt;\n\n&lt;&lt;buttons&gt;&gt;\n\n{{||$:/core/ui/ImportListing}}\n\n&lt;&lt;buttons&gt;&gt;\n\n&lt;/div&gt;\n\n&lt;/$list&gt;\n&quot;
},
&quot;$:/core/ui/ViewTemplate/plugin&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ViewTemplate/plugin&quot;,
&quot;tags&quot;: &quot;$:/tags/ViewTemplate&quot;,
&quot;text&quot;: &quot;&lt;$reveal tag=\&quot;div\&quot; class=\&quot;tc-tiddler-plugin-info\&quot; type=\&quot;nomatch\&quot; stateTitle=&lt;&lt;folded-state&gt;&gt; text=\&quot;hide\&quot; retain=\&quot;yes\&quot; animate=\&quot;yes\&quot;&gt;\n\n&lt;$list filter=\&quot;[all[current]has[plugin-type]] -[all[current]field:plugin-type[import]]\&quot;&gt;\n&lt;$set name=\&quot;plugin-type\&quot; value={{!!plugin-type}}&gt;\n&lt;$set name=\&quot;default-popup-state\&quot; value=\&quot;yes\&quot;&gt;\n&lt;$set name=\&quot;qualified-state\&quot; value=&lt;&lt;qualify \&quot;$:/state/plugin-info\&quot;&gt;&gt;&gt;\n{{||$:/core/ui/Components/plugin-info}}\n&lt;/$set&gt;\n&lt;/$set&gt;\n&lt;/$set&gt;\n&lt;/$list&gt;\n&lt;/$reveal&gt;&quot;
},
&quot;$:/core/ui/ViewTemplate/subtitle&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ViewTemplate/subtitle&quot;,
&quot;tags&quot;: &quot;$:/tags/ViewTemplate&quot;,
&quot;text&quot;: &quot;\\whitespace trim\n&lt;$reveal type=\&quot;nomatch\&quot; stateTitle=&lt;&lt;folded-state&gt;&gt; text=\&quot;hide\&quot; tag=\&quot;div\&quot; retain=\&quot;yes\&quot; animate=\&quot;yes\&quot;&gt;\n&lt;div class=\&quot;tc-subtitle\&quot;&gt;\n&lt;$link to={{!!modifier}} /&gt;\n&lt;$view field=\&quot;modified\&quot; format=\&quot;date\&quot; template={{$:/language/Tiddler/DateFormat}}/&gt;\n&lt;/div&gt;\n&lt;/$reveal&gt;\n&quot;
},
&quot;$:/core/ui/ViewTemplate/tags&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ViewTemplate/tags&quot;,
&quot;tags&quot;: &quot;$:/tags/ViewTemplate&quot;,
&quot;text&quot;: &quot;&lt;$reveal type=\&quot;nomatch\&quot; stateTitle=&lt;&lt;folded-state&gt;&gt; text=\&quot;hide\&quot; tag=\&quot;div\&quot; retain=\&quot;yes\&quot; animate=\&quot;yes\&quot;&gt;\n&lt;div class=\&quot;tc-tags-wrapper\&quot;&gt;&lt;$list filter=\&quot;[all[current]tags[]sort[title]]\&quot; template=\&quot;$:/core/ui/TagTemplate\&quot; storyview=\&quot;pop\&quot;/&gt;&lt;/div&gt;\n&lt;/$reveal&gt;\n&quot;
},
&quot;$:/core/ui/ViewTemplate/title&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ViewTemplate/title&quot;,
&quot;tags&quot;: &quot;$:/tags/ViewTemplate&quot;,
&quot;text&quot;: &quot;\\whitespace trim\n\\define title-styles()\nfill:$(foregroundColor)$;\n\\end\n\\define config-title()\n$:/config/ViewToolbarButtons/Visibility/$(listItem)$\n\\end\n&lt;div class=\&quot;tc-tiddler-title\&quot;&gt;\n&lt;div class=\&quot;tc-titlebar\&quot;&gt;\n&lt;span class=\&quot;tc-tiddler-controls\&quot;&gt;\n&lt;$list filter=\&quot;[all[shadows+tiddlers]tag[$:/tags/ViewToolbar]!has[draft.of]]\&quot; variable=\&quot;listItem\&quot;&gt;&lt;$reveal type=\&quot;nomatch\&quot; state=&lt;&lt;config-title&gt;&gt; text=\&quot;hide\&quot;&gt;&lt;$set name=\&quot;tv-config-toolbar-class\&quot; filter=\&quot;[&lt;tv-config-toolbar-class&gt;] [&lt;listItem&gt;encodeuricomponent[]addprefix[tc-btn-]]\&quot;&gt;&lt;$transclude tiddler=&lt;&lt;listItem&gt;&gt;/&gt;&lt;/$set&gt;&lt;/$reveal&gt;&lt;/$list&gt;\n&lt;/span&gt;\n&lt;$set name=\&quot;tv-wikilinks\&quot; value={{$:/config/Tiddlers/TitleLinks}}&gt;\n&lt;$link&gt;\n&lt;$set name=\&quot;foregroundColor\&quot; value={{!!color}}&gt;\n&lt;$list filter=\&quot;[all[current]has[icon]]~[[$:/config/DefaultTiddlerIcon]has[text]]\&quot;&gt;\n&lt;span class=\&quot;tc-tiddler-title-icon\&quot; style=&lt;&lt;title-styles&gt;&gt;&gt;\n&lt;$transclude tiddler={{!!icon}}&gt;\n&lt;$transclude tiddler={{$:/config/DefaultTiddlerIcon}}/&gt;\n&lt;/$transclude&gt;\n&lt;/span&gt;\n&lt;/$list&gt;\n&lt;/$set&gt;\n&lt;$list filter=\&quot;[all[current]removeprefix[$:/]]\&quot;&gt;\n&lt;h2 class=\&quot;tc-title\&quot; title={{$:/language/SystemTiddler/Tooltip}}&gt;\n&lt;span class=\&quot;tc-system-title-prefix\&quot;&gt;$:/&lt;/span&gt;&lt;$text text=&lt;&lt;currentTiddler&gt;&gt;/&gt;\n&lt;/h2&gt;\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[all[current]!prefix[$:/]]\&quot;&gt;\n&lt;h2 class=\&quot;tc-title\&quot;&gt;\n&lt;$view field=\&quot;title\&quot;/&gt;\n&lt;/h2&gt;\n&lt;/$list&gt;\n&lt;/$link&gt;\n&lt;/$set&gt;\n&lt;/div&gt;\n\n&lt;$reveal type=\&quot;nomatch\&quot; text=\&quot;\&quot; default=\&quot;\&quot; state=&lt;&lt;tiddlerInfoState&gt;&gt; class=\&quot;tc-tiddler-info tc-popup-handle\&quot; animate=\&quot;yes\&quot; retain=\&quot;yes\&quot;&gt;\n\n&lt;$list filter=\&quot;[all[shadows+tiddlers]tag[$:/tags/TiddlerInfoSegment]!has[draft.of]] [[$:/core/ui/TiddlerInfo]]\&quot; variable=\&quot;listItem\&quot;&gt;&lt;$transclude tiddler=&lt;&lt;listItem&gt;&gt; mode=\&quot;block\&quot;/&gt;&lt;/$list&gt;\n\n&lt;/$reveal&gt;\n&lt;/div&gt;&quot;
},
&quot;$:/core/ui/ViewTemplate/unfold&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ViewTemplate/unfold&quot;,
&quot;tags&quot;: &quot;$:/tags/ViewTemplate&quot;,
&quot;text&quot;: &quot;&lt;$reveal tag=\&quot;div\&quot; type=\&quot;nomatch\&quot; state=\&quot;$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/fold-bar\&quot; text=\&quot;hide\&quot;&gt;\n&lt;$reveal tag=\&quot;div\&quot; type=\&quot;nomatch\&quot; stateTitle=&lt;&lt;folded-state&gt;&gt; text=\&quot;hide\&quot; default=\&quot;show\&quot; retain=\&quot;yes\&quot; animate=\&quot;yes\&quot;&gt;\n&lt;$button tooltip={{$:/language/Buttons/Fold/Hint}} aria-label={{$:/language/Buttons/Fold/Caption}} class=\&quot;tc-fold-banner\&quot;&gt;\n&lt;$action-sendmessage $message=\&quot;tm-fold-tiddler\&quot; $param=&lt;&lt;currentTiddler&gt;&gt; foldedState=&lt;&lt;folded-state&gt;&gt;/&gt;\n{{$:/core/images/chevron-up}}\n&lt;/$button&gt;\n&lt;/$reveal&gt;\n&lt;$reveal tag=\&quot;div\&quot; type=\&quot;nomatch\&quot; stateTitle=&lt;&lt;folded-state&gt;&gt; text=\&quot;show\&quot; default=\&quot;show\&quot; retain=\&quot;yes\&quot; animate=\&quot;yes\&quot;&gt;\n&lt;$button tooltip={{$:/language/Buttons/Unfold/Hint}} aria-label={{$:/language/Buttons/Unfold/Caption}} class=\&quot;tc-unfold-banner\&quot;&gt;\n&lt;$action-sendmessage $message=\&quot;tm-fold-tiddler\&quot; $param=&lt;&lt;currentTiddler&gt;&gt; foldedState=&lt;&lt;folded-state&gt;&gt;/&gt;\n{{$:/core/images/chevron-down}}\n&lt;/$button&gt;\n&lt;/$reveal&gt;\n&lt;/$reveal&gt;\n&quot;
},
&quot;$:/core/ui/ViewTemplate&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ViewTemplate&quot;,
&quot;text&quot;: &quot;\\define folded-state()\n$:/state/folded/$(currentTiddler)$\n\\end\n\\define cancel-delete-tiddler-actions(message) &lt;$action-sendmessage $message=\&quot;tm-$message$-tiddler\&quot;/&gt;\n\\import [all[shadows+tiddlers]tag[$:/tags/Macro/View]!has[draft.of]]\n&lt;$vars storyTiddler=&lt;&lt;currentTiddler&gt;&gt; tiddlerInfoState=&lt;&lt;qualify \&quot;$:/state/popup/tiddler-info\&quot;&gt;&gt;&gt;&lt;div data-tiddler-title=&lt;&lt;currentTiddler&gt;&gt; data-tags={{!!tags}} class={{{ tc-tiddler-frame tc-tiddler-view-frame [&lt;currentTiddler&gt;is[tiddler]then[tc-tiddler-exists]] [&lt;currentTiddler&gt;is[missing]!is[shadow]then[tc-tiddler-missing]] [&lt;currentTiddler&gt;is[shadow]then[tc-tiddler-exists tc-tiddler-shadow]] [&lt;currentTiddler&gt;is[shadow]is[tiddler]then[tc-tiddler-overridden-shadow]] [&lt;currentTiddler&gt;is[system]then[tc-tiddler-system]] [{!!class}] [&lt;currentTiddler&gt;tags[]encodeuricomponent[]addprefix[tc-tagged-]] +[join[ ]] }}}&gt;&lt;$list filter=\&quot;[all[shadows+tiddlers]tag[$:/tags/ViewTemplate]!has[draft.of]]\&quot; variable=\&quot;listItem\&quot;&gt;&lt;$transclude tiddler=&lt;&lt;listItem&gt;&gt;/&gt;&lt;/$list&gt;\n&lt;/div&gt;\n&lt;/$vars&gt;\n&quot;
},
&quot;$:/core/ui/Buttons/clone&quot;: {
&quot;title&quot;: &quot;$:/core/ui/Buttons/clone&quot;,
&quot;tags&quot;: &quot;$:/tags/ViewToolbar&quot;,
&quot;caption&quot;: &quot;{{$:/core/images/clone-button}} {{$:/language/Buttons/Clone/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/Clone/Hint}}&quot;,
&quot;text&quot;: &quot;\\whitespace trim\n&lt;$button message=\&quot;tm-new-tiddler\&quot; param=&lt;&lt;currentTiddler&gt;&gt; tooltip={{$:/language/Buttons/Clone/Hint}} aria-label={{$:/language/Buttons/Clone/Caption}} class=&lt;&lt;tv-config-toolbar-class&gt;&gt;&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-icons&gt;match[yes]]\&quot;&gt;\n{{$:/core/images/clone-button}}\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-text&gt;match[yes]]\&quot;&gt;\n&lt;span class=\&quot;tc-btn-text\&quot;&gt;\n&lt;$text text=\&quot; \&quot;/&gt;\n&lt;$text text={{$:/language/Buttons/Clone/Caption}}/&gt;\n&lt;/span&gt;\n&lt;/$list&gt;\n&lt;/$button&gt;&quot;
},
&quot;$:/core/ui/Buttons/close-others&quot;: {
&quot;title&quot;: &quot;$:/core/ui/Buttons/close-others&quot;,
&quot;tags&quot;: &quot;$:/tags/ViewToolbar&quot;,
&quot;caption&quot;: &quot;{{$:/core/images/close-others-button}} {{$:/language/Buttons/CloseOthers/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/CloseOthers/Hint}}&quot;,
&quot;text&quot;: &quot;\\whitespace trim\n&lt;$button message=\&quot;tm-close-other-tiddlers\&quot; param=&lt;&lt;currentTiddler&gt;&gt; tooltip={{$:/language/Buttons/CloseOthers/Hint}} aria-label={{$:/language/Buttons/CloseOthers/Caption}} class=&lt;&lt;tv-config-toolbar-class&gt;&gt;&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-icons&gt;match[yes]]\&quot;&gt;\n{{$:/core/images/close-others-button}}\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-text&gt;match[yes]]\&quot;&gt;\n&lt;span class=\&quot;tc-btn-text\&quot;&gt;\n&lt;$text text=\&quot; \&quot;/&gt;\n&lt;$text text={{$:/language/Buttons/CloseOthers/Caption}}/&gt;\n&lt;/span&gt;\n&lt;/$list&gt;\n&lt;/$button&gt;&quot;
},
&quot;$:/core/ui/Buttons/close&quot;: {
&quot;title&quot;: &quot;$:/core/ui/Buttons/close&quot;,
&quot;tags&quot;: &quot;$:/tags/ViewToolbar&quot;,
&quot;caption&quot;: &quot;{{$:/core/images/close-button}} {{$:/language/Buttons/Close/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/Close/Hint}}&quot;,
&quot;text&quot;: &quot;\\whitespace trim\n&lt;$button message=\&quot;tm-close-tiddler\&quot; tooltip={{$:/language/Buttons/Close/Hint}} aria-label={{$:/language/Buttons/Close/Caption}} class=&lt;&lt;tv-config-toolbar-class&gt;&gt;&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-icons&gt;match[yes]]\&quot;&gt;\n{{$:/core/images/close-button}}\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-text&gt;match[yes]]\&quot;&gt;\n&lt;span class=\&quot;tc-btn-text\&quot;&gt;\n&lt;$text text={{$:/language/Buttons/Close/Caption}}/&gt;\n&lt;/span&gt;\n&lt;/$list&gt;\n&lt;/$button&gt;&quot;
},
&quot;$:/core/ui/Buttons/edit&quot;: {
&quot;title&quot;: &quot;$:/core/ui/Buttons/edit&quot;,
&quot;tags&quot;: &quot;$:/tags/ViewToolbar&quot;,
&quot;caption&quot;: &quot;{{$:/core/images/edit-button}} {{$:/language/Buttons/Edit/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/Edit/Hint}}&quot;,
&quot;text&quot;: &quot;\\whitespace trim\n&lt;$button message=\&quot;tm-edit-tiddler\&quot; tooltip={{$:/language/Buttons/Edit/Hint}} aria-label={{$:/language/Buttons/Edit/Caption}} class=&lt;&lt;tv-config-toolbar-class&gt;&gt;&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-icons&gt;match[yes]]\&quot;&gt;\n{{$:/core/images/edit-button}}\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-text&gt;match[yes]]\&quot;&gt;\n&lt;span class=\&quot;tc-btn-text\&quot;&gt;\n&lt;$text text=\&quot; \&quot;/&gt;\n&lt;$text text={{$:/language/Buttons/Edit/Caption}}/&gt;\n&lt;/span&gt;\n&lt;/$list&gt;\n&lt;/$button&gt;&quot;
},
&quot;$:/core/ui/Buttons/export-tiddler&quot;: {
&quot;title&quot;: &quot;$:/core/ui/Buttons/export-tiddler&quot;,
&quot;tags&quot;: &quot;$:/tags/ViewToolbar&quot;,
&quot;caption&quot;: &quot;{{$:/core/images/export-button}} {{$:/language/Buttons/ExportTiddler/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/ExportTiddler/Hint}}&quot;,
&quot;text&quot;: &quot;\\define makeExportFilter()\n[[$(currentTiddler)$]]\n\\end\n&lt;$macrocall $name=\&quot;exportButton\&quot; exportFilter=&lt;&lt;makeExportFilter&gt;&gt; lingoBase=\&quot;$:/language/Buttons/ExportTiddler/\&quot; baseFilename=&lt;&lt;currentTiddler&gt;&gt;/&gt;&quot;
},
&quot;$:/core/ui/Buttons/fold-bar&quot;: {
&quot;title&quot;: &quot;$:/core/ui/Buttons/fold-bar&quot;,
&quot;tags&quot;: &quot;$:/tags/ViewToolbar&quot;,
&quot;caption&quot;: &quot;{{$:/core/images/chevron-up}} {{$:/language/Buttons/Fold/FoldBar/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/Fold/FoldBar/Hint}}&quot;,
&quot;text&quot;: &quot;&lt;!-- This dummy toolbar button is here to allow visibility of the fold-bar to be controlled as if it were a toolbar button --&gt;&quot;
},
&quot;$:/core/ui/Buttons/fold-others&quot;: {
&quot;title&quot;: &quot;$:/core/ui/Buttons/fold-others&quot;,
&quot;tags&quot;: &quot;$:/tags/ViewToolbar&quot;,
&quot;caption&quot;: &quot;{{$:/core/images/fold-others-button}} {{$:/language/Buttons/FoldOthers/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/FoldOthers/Hint}}&quot;,
&quot;text&quot;: &quot;\\whitespace trim\n&lt;$button tooltip={{$:/language/Buttons/FoldOthers/Hint}} aria-label={{$:/language/Buttons/FoldOthers/Caption}} class=&lt;&lt;tv-config-toolbar-class&gt;&gt;&gt;\n&lt;$action-sendmessage $message=\&quot;tm-fold-other-tiddlers\&quot; $param=&lt;&lt;currentTiddler&gt;&gt; foldedStatePrefix=\&quot;$:/state/folded/\&quot;/&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-icons&gt;match[yes]]\&quot; variable=\&quot;listItem\&quot;&gt;\n{{$:/core/images/fold-others-button}}\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-text&gt;match[yes]]\&quot;&gt;\n&lt;span class=\&quot;tc-btn-text\&quot;&gt;\n&lt;$text text=\&quot; \&quot;/&gt;\n&lt;$text text={{$:/language/Buttons/FoldOthers/Caption}}/&gt;\n&lt;/span&gt;\n&lt;/$list&gt;\n&lt;/$button&gt;&quot;
},
&quot;$:/core/ui/Buttons/fold&quot;: {
&quot;title&quot;: &quot;$:/core/ui/Buttons/fold&quot;,
&quot;tags&quot;: &quot;$:/tags/ViewToolbar&quot;,
&quot;caption&quot;: &quot;{{$:/core/images/fold-button}} {{$:/language/Buttons/Fold/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/Fold/Hint}}&quot;,
&quot;text&quot;: &quot;\\whitespace trim\n&lt;$reveal type=\&quot;nomatch\&quot; stateTitle=&lt;&lt;folded-state&gt;&gt; text=\&quot;hide\&quot; default=\&quot;show\&quot;&gt;\n&lt;$button tooltip={{$:/language/Buttons/Fold/Hint}} aria-label={{$:/language/Buttons/Fold/Caption}} class=&lt;&lt;tv-config-toolbar-class&gt;&gt;&gt;\n&lt;$action-sendmessage $message=\&quot;tm-fold-tiddler\&quot; $param=&lt;&lt;currentTiddler&gt;&gt; foldedState=&lt;&lt;folded-state&gt;&gt;/&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-icons&gt;match[yes]]\&quot; variable=\&quot;listItem\&quot;&gt;\n{{$:/core/images/fold-button}}\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-text&gt;match[yes]]\&quot;&gt;\n&lt;span class=\&quot;tc-btn-text\&quot;&gt;\n&lt;$text text=\&quot; \&quot;/&gt;\n&lt;$text text={{$:/language/Buttons/Fold/Caption}}/&gt;\n&lt;/span&gt;\n&lt;/$list&gt;\n&lt;/$button&gt;\n&lt;/$reveal&gt;\n&lt;$reveal type=\&quot;match\&quot; stateTitle=&lt;&lt;folded-state&gt;&gt; text=\&quot;hide\&quot; default=\&quot;show\&quot;&gt;\n&lt;$button tooltip={{$:/language/Buttons/Unfold/Hint}} aria-label={{$:/language/Buttons/Unfold/Caption}} class=&lt;&lt;tv-config-toolbar-class&gt;&gt;&gt;\n&lt;$action-sendmessage $message=\&quot;tm-fold-tiddler\&quot; $param=&lt;&lt;currentTiddler&gt;&gt; foldedState=&lt;&lt;folded-state&gt;&gt;/&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-icons&gt;match[yes]]\&quot; variable=\&quot;listItem\&quot;&gt;\n{{$:/core/images/unfold-button}}\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-text&gt;match[yes]]\&quot;&gt;\n&lt;span class=\&quot;tc-btn-text\&quot;&gt;\n&lt;$text text=\&quot; \&quot;/&gt;\n&lt;$text text={{$:/language/Buttons/Unfold/Caption}}/&gt;\n&lt;/span&gt;\n&lt;/$list&gt;\n&lt;/$button&gt;\n&lt;/$reveal&gt;\n&quot;
},
&quot;$:/core/ui/Buttons/info&quot;: {
&quot;title&quot;: &quot;$:/core/ui/Buttons/info&quot;,
&quot;tags&quot;: &quot;$:/tags/ViewToolbar&quot;,
&quot;caption&quot;: &quot;{{$:/core/images/info-button}} {{$:/language/Buttons/Info/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/Info/Hint}}&quot;,
&quot;text&quot;: &quot;\\whitespace trim\n\\define button-content()\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-icons&gt;match[yes]]\&quot;&gt;\n{{$:/core/images/info-button}}\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-text&gt;match[yes]]\&quot;&gt;\n&lt;span class=\&quot;tc-btn-text\&quot;&gt;\n&lt;$text text={{$:/language/Buttons/Info/Caption}}/&gt;\n&lt;/span&gt;\n&lt;/$list&gt;\n\\end\n&lt;$reveal state=\&quot;$:/config/TiddlerInfo/Mode\&quot; type=\&quot;match\&quot; text=\&quot;popup\&quot;&gt;\n&lt;$button popup=&lt;&lt;tiddlerInfoState&gt;&gt; tooltip={{$:/language/Buttons/Info/Hint}} aria-label={{$:/language/Buttons/Info/Caption}} class=&lt;&lt;tv-config-toolbar-class&gt;&gt; selectedClass=\&quot;tc-selected\&quot;&gt;\n&lt;$macrocall $name=\&quot;button-content\&quot; mode=\&quot;inline\&quot;/&gt;\n&lt;/$button&gt;\n&lt;/$reveal&gt;\n&lt;$reveal state=\&quot;$:/config/TiddlerInfo/Mode\&quot; type=\&quot;match\&quot; text=\&quot;sticky\&quot;&gt;\n&lt;$reveal state=&lt;&lt;tiddlerInfoState&gt;&gt; type=\&quot;match\&quot; text=\&quot;\&quot; default=\&quot;\&quot;&gt;\n&lt;$button set=&lt;&lt;tiddlerInfoState&gt;&gt; setTo=\&quot;yes\&quot; tooltip={{$:/language/Buttons/Info/Hint}} aria-label={{$:/language/Buttons/Info/Caption}} class=&lt;&lt;tv-config-toolbar-class&gt;&gt; selectedClass=\&quot;tc-selected\&quot;&gt;\n&lt;$macrocall $name=\&quot;button-content\&quot; mode=\&quot;inline\&quot;/&gt;\n&lt;/$button&gt;\n&lt;/$reveal&gt;\n&lt;$reveal state=&lt;&lt;tiddlerInfoState&gt;&gt; type=\&quot;nomatch\&quot; text=\&quot;\&quot; default=\&quot;\&quot;&gt;\n&lt;$button set=&lt;&lt;tiddlerInfoState&gt;&gt; setTo=\&quot;\&quot; tooltip={{$:/language/Buttons/Info/Hint}} aria-label={{$:/language/Buttons/Info/Caption}} class=&lt;&lt;tv-config-toolbar-class&gt;&gt; selectedClass=\&quot;tc-selected\&quot;&gt;\n&lt;$macrocall $name=\&quot;button-content\&quot; mode=\&quot;inline\&quot;/&gt;\n&lt;/$button&gt;\n&lt;/$reveal&gt;\n&lt;/$reveal&gt;&quot;
},
&quot;$:/core/ui/Buttons/more-tiddler-actions&quot;: {
&quot;title&quot;: &quot;$:/core/ui/Buttons/more-tiddler-actions&quot;,
&quot;tags&quot;: &quot;$:/tags/ViewToolbar&quot;,
&quot;caption&quot;: &quot;{{$:/core/images/down-arrow}} {{$:/language/Buttons/More/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/More/Hint}}&quot;,
&quot;text&quot;: &quot;\\whitespace trim\n\\define config-title()\n$:/config/ViewToolbarButtons/Visibility/$(listItem)$\n\\end\n&lt;$button popup=&lt;&lt;qualify \&quot;$:/state/popup/more\&quot;&gt;&gt; tooltip={{$:/language/Buttons/More/Hint}} aria-label={{$:/language/Buttons/More/Caption}} class=&lt;&lt;tv-config-toolbar-class&gt;&gt; selectedClass=\&quot;tc-selected\&quot;&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-icons&gt;match[yes]]\&quot;&gt;\n{{$:/core/images/down-arrow}}\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-text&gt;match[yes]]\&quot;&gt;\n&lt;span class=\&quot;tc-btn-text\&quot;&gt;\n&lt;$text text=\&quot; \&quot;/&gt;\n&lt;$text text={{$:/language/Buttons/More/Caption}}/&gt;\n&lt;/span&gt;\n&lt;/$list&gt;\n&lt;/$button&gt;\n&lt;$reveal state=&lt;&lt;qualify \&quot;$:/state/popup/more\&quot;&gt;&gt; type=\&quot;popup\&quot; position=\&quot;belowleft\&quot; animate=\&quot;yes\&quot;&gt;\n\n&lt;div class=\&quot;tc-drop-down\&quot;&gt;\n\n&lt;$set name=\&quot;tv-config-toolbar-icons\&quot; value=\&quot;yes\&quot;&gt;\n\n&lt;$set name=\&quot;tv-config-toolbar-text\&quot; value=\&quot;yes\&quot;&gt;\n\n&lt;$set name=\&quot;tv-config-toolbar-class\&quot; value=\&quot;tc-btn-invisible\&quot;&gt;\n\n&lt;$list filter=\&quot;[all[shadows+tiddlers]tag[$:/tags/ViewToolbar]!has[draft.of]] -[[$:/core/ui/Buttons/more-tiddler-actions]]\&quot; variable=\&quot;listItem\&quot;&gt;\n\n&lt;$reveal type=\&quot;match\&quot; state=&lt;&lt;config-title&gt;&gt; text=\&quot;hide\&quot;&gt;\n\n&lt;$set name=\&quot;tv-config-toolbar-class\&quot; filter=\&quot;[&lt;tv-config-toolbar-class&gt;] [&lt;listItem&gt;encodeuricomponent[]addprefix[tc-btn-]]\&quot;&gt;\n\n&lt;$transclude tiddler=&lt;&lt;listItem&gt;&gt; mode=\&quot;inline\&quot;/&gt;\n\n&lt;/$set&gt;\n\n&lt;/$reveal&gt;\n\n&lt;/$list&gt;\n\n&lt;/$set&gt;\n\n&lt;/$set&gt;\n\n&lt;/$set&gt;\n\n&lt;/div&gt;\n\n&lt;/$reveal&gt;&quot;
},
&quot;$:/core/ui/Buttons/new-here&quot;: {
&quot;title&quot;: &quot;$:/core/ui/Buttons/new-here&quot;,
&quot;tags&quot;: &quot;$:/tags/ViewToolbar&quot;,
&quot;caption&quot;: &quot;{{$:/core/images/new-here-button}} {{$:/language/Buttons/NewHere/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/NewHere/Hint}}&quot;,
&quot;text&quot;: &quot;\\whitespace trim\n\\define newHereActions()\n&lt;$set name=\&quot;tags\&quot; filter=\&quot;[&lt;currentTiddler&gt;] [{$:/config/NewTiddler/Tags}]\&quot;&gt;\n&lt;$action-sendmessage $message=\&quot;tm-new-tiddler\&quot; tags=&lt;&lt;tags&gt;&gt;/&gt;\n&lt;/$set&gt;\n\\end\n\\define newHereButton()\n&lt;$button actions=&lt;&lt;newHereActions&gt;&gt; tooltip={{$:/language/Buttons/NewHere/Hint}} aria-label={{$:/language/Buttons/NewHere/Caption}} class=&lt;&lt;tv-config-toolbar-class&gt;&gt;&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-icons&gt;match[yes]]\&quot;&gt;\n{{$:/core/images/new-here-button}}\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-text&gt;match[yes]]\&quot;&gt;\n&lt;span class=\&quot;tc-btn-text\&quot;&gt;\n&lt;$text text={{$:/language/Buttons/NewHere/Caption}}/&gt;\n&lt;/span&gt;\n&lt;/$list&gt;\n&lt;/$button&gt;\n\\end\n&lt;&lt;newHereButton&gt;&gt;\n&quot;
},
&quot;$:/core/ui/Buttons/new-journal-here&quot;: {
&quot;title&quot;: &quot;$:/core/ui/Buttons/new-journal-here&quot;,
&quot;tags&quot;: &quot;$:/tags/ViewToolbar&quot;,
&quot;caption&quot;: &quot;{{$:/core/images/new-journal-button}} {{$:/language/Buttons/NewJournalHere/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/NewJournalHere/Hint}}&quot;,
&quot;text&quot;: &quot;\\whitespace trim\n\\define journalButtonTags()\n[[$(currentTiddlerTag)$]] $(journalTags)$\n\\end\n\\define journalButton()\n&lt;$button tooltip={{$:/language/Buttons/NewJournalHere/Hint}} aria-label={{$:/language/Buttons/NewJournalHere/Caption}} class=&lt;&lt;tv-config-toolbar-class&gt;&gt;&gt;\n&lt;$wikify name=\&quot;journalTitle\&quot; text=\&quot;\&quot;\&quot;&lt;$macrocall $name=\&quot;now\&quot; format=&lt;&lt;journalTitleTemplate&gt;&gt;/&gt;\&quot;\&quot;\&quot;&gt;\n&lt;$action-sendmessage $message=\&quot;tm-new-tiddler\&quot; title=&lt;&lt;journalTitle&gt;&gt; tags=&lt;&lt;journalButtonTags&gt;&gt;/&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-icons&gt;match[yes]]\&quot;&gt;\n{{$:/core/images/new-journal-button}}\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-text&gt;match[yes]]\&quot;&gt;\n&lt;span class=\&quot;tc-btn-text\&quot;&gt;\n&lt;$text text={{$:/language/Buttons/NewJournalHere/Caption}}/&gt;\n&lt;/span&gt;\n&lt;/$list&gt;\n&lt;/$wikify&gt;\n&lt;/$button&gt;\n\\end\n&lt;$set name=\&quot;journalTitleTemplate\&quot; value={{$:/config/NewJournal/Title}}&gt;\n&lt;$set name=\&quot;journalTags\&quot; value={{$:/config/NewJournal/Tags}}&gt;\n&lt;$set name=\&quot;currentTiddlerTag\&quot; value=&lt;&lt;currentTiddler&gt;&gt;&gt;\n&lt;&lt;journalButton&gt;&gt;\n&lt;/$set&gt;\n&lt;/$set&gt;\n&lt;/$set&gt;\n&quot;
},
&quot;$:/core/ui/Buttons/open-window&quot;: {
&quot;title&quot;: &quot;$:/core/ui/Buttons/open-window&quot;,
&quot;tags&quot;: &quot;$:/tags/ViewToolbar&quot;,
&quot;caption&quot;: &quot;{{$:/core/images/open-window}} {{$:/language/Buttons/OpenWindow/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/OpenWindow/Hint}}&quot;,
&quot;text&quot;: &quot;\\whitespace trim\n&lt;$button message=\&quot;tm-open-window\&quot; tooltip={{$:/language/Buttons/OpenWindow/Hint}} aria-label={{$:/language/Buttons/OpenWindow/Caption}} class=&lt;&lt;tv-config-toolbar-class&gt;&gt;&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-icons&gt;match[yes]]\&quot;&gt;\n{{$:/core/images/open-window}}\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-text&gt;match[yes]]\&quot;&gt;\n&lt;span class=\&quot;tc-btn-text\&quot;&gt;\n&lt;$text text=\&quot; \&quot;/&gt;\n&lt;$text text={{$:/language/Buttons/OpenWindow/Caption}}/&gt;\n&lt;/span&gt;\n&lt;/$list&gt;\n&lt;/$button&gt;&quot;
},
&quot;$:/core/ui/Buttons/permalink&quot;: {
&quot;title&quot;: &quot;$:/core/ui/Buttons/permalink&quot;,
&quot;tags&quot;: &quot;$:/tags/ViewToolbar&quot;,
&quot;caption&quot;: &quot;{{$:/core/images/permalink-button}} {{$:/language/Buttons/Permalink/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/Permalink/Hint}}&quot;,
&quot;text&quot;: &quot;\\whitespace trim\n&lt;$button message=\&quot;tm-permalink\&quot; tooltip={{$:/language/Buttons/Permalink/Hint}} aria-label={{$:/language/Buttons/Permalink/Caption}} class=&lt;&lt;tv-config-toolbar-class&gt;&gt;&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-icons&gt;match[yes]]\&quot;&gt;\n{{$:/core/images/permalink-button}}\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-text&gt;match[yes]]\&quot;&gt;\n&lt;span class=\&quot;tc-btn-text\&quot;&gt;\n&lt;$text text=\&quot; \&quot;/&gt;\n&lt;$text text={{$:/language/Buttons/Permalink/Caption}}/&gt;\n&lt;/span&gt;\n&lt;/$list&gt;\n&lt;/$button&gt;&quot;
},
&quot;$:/core/ui/Buttons/permaview&quot;: {
&quot;title&quot;: &quot;$:/core/ui/Buttons/permaview&quot;,
&quot;tags&quot;: &quot;$:/tags/ViewToolbar $:/tags/PageControls&quot;,
&quot;caption&quot;: &quot;{{$:/core/images/permaview-button}} {{$:/language/Buttons/Permaview/Caption}}&quot;,
&quot;description&quot;: &quot;{{$:/language/Buttons/Permaview/Hint}}&quot;,
&quot;text&quot;: &quot;\\whitespace trim\n&lt;$button message=\&quot;tm-permaview\&quot; tooltip={{$:/language/Buttons/Permaview/Hint}} aria-label={{$:/language/Buttons/Permaview/Caption}} class=&lt;&lt;tv-config-toolbar-class&gt;&gt;&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-icons&gt;match[yes]]\&quot;&gt;\n{{$:/core/images/permaview-button}}\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-text&gt;match[yes]]\&quot;&gt;\n&lt;span class=\&quot;tc-btn-text\&quot;&gt;\n&lt;$text text=\&quot; \&quot;/&gt;\n&lt;$text text={{$:/language/Buttons/Permaview/Caption}}/&gt;\n&lt;/span&gt;\n&lt;/$list&gt;\n&lt;/$button&gt;&quot;
},
&quot;$:/DefaultTiddlers&quot;: {
&quot;title&quot;: &quot;$:/DefaultTiddlers&quot;,
&quot;text&quot;: &quot;GettingStarted\n&quot;
},
&quot;$:/temp/advancedsearch&quot;: {
&quot;title&quot;: &quot;$:/temp/advancedsearch&quot;,
&quot;text&quot;: &quot;&quot;
},
&quot;$:/snippets/allfields&quot;: {
&quot;title&quot;: &quot;$:/snippets/allfields&quot;,
&quot;text&quot;: &quot;\\define renderfield(title)\n&lt;tr class=\&quot;tc-view-field\&quot;&gt;&lt;td class=\&quot;tc-view-field-name\&quot;&gt;''$title$'':&lt;/td&gt;&lt;td class=\&quot;tc-view-field-value\&quot;&gt;//{{$:/language/Docs/Fields/$title$}}//&lt;/td&gt;&lt;/tr&gt;\n\\end\n&lt;table class=\&quot;tc-view-field-table\&quot;&gt;&lt;tbody&gt;&lt;$list filter=\&quot;[fields[]sort[title]]\&quot; variable=\&quot;listItem\&quot;&gt;&lt;$macrocall $name=\&quot;renderfield\&quot; title=&lt;&lt;listItem&gt;&gt;/&gt;&lt;/$list&gt;\n&lt;/tbody&gt;&lt;/table&gt;\n&quot;
},
&quot;$:/config/AnimationDuration&quot;: {
&quot;title&quot;: &quot;$:/config/AnimationDuration&quot;,
&quot;text&quot;: &quot;400&quot;
},
&quot;$:/config/AutoFocus&quot;: {
&quot;title&quot;: &quot;$:/config/AutoFocus&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/AutoSave&quot;: {
&quot;title&quot;: &quot;$:/config/AutoSave&quot;,
&quot;text&quot;: &quot;yes&quot;
},
&quot;$:/config/BitmapEditor/Colour&quot;: {
&quot;title&quot;: &quot;$:/config/BitmapEditor/Colour&quot;,
&quot;text&quot;: &quot;#444&quot;
},
&quot;$:/config/BitmapEditor/ImageSizes&quot;: {
&quot;title&quot;: &quot;$:/config/BitmapEditor/ImageSizes&quot;,
&quot;text&quot;: &quot;[[62px 100px]] [[100px 62px]] [[124px 200px]] [[200px 124px]] [[248px 400px]] [[371px 600px]] [[400px 248px]] [[556px 900px]] [[600px 371px]] [[742px 1200px]] [[900px 556px]] [[1200px 742px]]&quot;
},
&quot;$:/config/BitmapEditor/LineWidth&quot;: {
&quot;title&quot;: &quot;$:/config/BitmapEditor/LineWidth&quot;,
&quot;text&quot;: &quot;3px&quot;
},
&quot;$:/config/BitmapEditor/LineWidths&quot;: {
&quot;title&quot;: &quot;$:/config/BitmapEditor/LineWidths&quot;,
&quot;text&quot;: &quot;0.25px 0.5px 1px 2px 3px 4px 6px 8px 10px 16px 20px 28px 40px 56px 80px&quot;
},
&quot;$:/config/BitmapEditor/Opacities&quot;: {
&quot;title&quot;: &quot;$:/config/BitmapEditor/Opacities&quot;,
&quot;text&quot;: &quot;0.01 0.025 0.05 0.075 0.1 0.15 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0&quot;
},
&quot;$:/config/BitmapEditor/Opacity&quot;: {
&quot;title&quot;: &quot;$:/config/BitmapEditor/Opacity&quot;,
&quot;text&quot;: &quot;1.0&quot;
},
&quot;$:/config/DefaultMoreSidebarTab&quot;: {
&quot;title&quot;: &quot;$:/config/DefaultMoreSidebarTab&quot;,
&quot;text&quot;: &quot;$:/core/ui/MoreSideBar/Tags&quot;
},
&quot;$:/config/DefaultSidebarTab&quot;: {
&quot;title&quot;: &quot;$:/config/DefaultSidebarTab&quot;,
&quot;text&quot;: &quot;$:/core/ui/SideBar/Open&quot;
},
&quot;$:/config/DownloadSaver/AutoSave&quot;: {
&quot;title&quot;: &quot;$:/config/DownloadSaver/AutoSave&quot;,
&quot;text&quot;: &quot;no&quot;
},
&quot;$:/config/Drafts/TypingTimeout&quot;: {
&quot;title&quot;: &quot;$:/config/Drafts/TypingTimeout&quot;,
&quot;text&quot;: &quot;400&quot;
},
&quot;$:/config/EditMode/fieldname-filter&quot;: {
&quot;title&quot;: &quot;$:/config/EditMode/fieldname-filter&quot;,
&quot;first-search-filter&quot;: &quot;[!is[shadow]!is[system]fields[]search:title&lt;userInput&gt;sort[]] -created -creator -draft.of -draft.title -modified -modifier -tags -text -title -type&quot;,
&quot;second-search-filter&quot;: &quot;[fields[]search:title&lt;userInput&gt;sort[]] -[!is[shadow]!is[system]fields[]]&quot;
},
&quot;$:/config/EditTabIndex&quot;: {
&quot;title&quot;: &quot;$:/config/EditTabIndex&quot;,
&quot;text&quot;: &quot;1\n&quot;
},
&quot;$:/config/EditTemplateFields/Visibility/title&quot;: {
&quot;title&quot;: &quot;$:/config/EditTemplateFields/Visibility/title&quot;,
&quot;text&quot;: &quot;hide&quot;
},
&quot;$:/config/EditTemplateFields/Visibility/tags&quot;: {
&quot;title&quot;: &quot;$:/config/EditTemplateFields/Visibility/tags&quot;,
&quot;text&quot;: &quot;hide&quot;
},
&quot;$:/config/EditTemplateFields/Visibility/text&quot;: {
&quot;title&quot;: &quot;$:/config/EditTemplateFields/Visibility/text&quot;,
&quot;text&quot;: &quot;hide&quot;
},
&quot;$:/config/EditTemplateFields/Visibility/creator&quot;: {
&quot;title&quot;: &quot;$:/config/EditTemplateFields/Visibility/creator&quot;,
&quot;text&quot;: &quot;hide&quot;
},
&quot;$:/config/EditTemplateFields/Visibility/created&quot;: {
&quot;title&quot;: &quot;$:/config/EditTemplateFields/Visibility/created&quot;,
&quot;text&quot;: &quot;hide&quot;
},
&quot;$:/config/EditTemplateFields/Visibility/modified&quot;: {
&quot;title&quot;: &quot;$:/config/EditTemplateFields/Visibility/modified&quot;,
&quot;text&quot;: &quot;hide&quot;
},
&quot;$:/config/EditTemplateFields/Visibility/modifier&quot;: {
&quot;title&quot;: &quot;$:/config/EditTemplateFields/Visibility/modifier&quot;,
&quot;text&quot;: &quot;hide&quot;
},
&quot;$:/config/EditTemplateFields/Visibility/type&quot;: {
&quot;title&quot;: &quot;$:/config/EditTemplateFields/Visibility/type&quot;,
&quot;text&quot;: &quot;hide&quot;
},
&quot;$:/config/EditTemplateFields/Visibility/draft.title&quot;: {
&quot;title&quot;: &quot;$:/config/EditTemplateFields/Visibility/draft.title&quot;,
&quot;text&quot;: &quot;hide&quot;
},
&quot;$:/config/EditTemplateFields/Visibility/draft.of&quot;: {
&quot;title&quot;: &quot;$:/config/EditTemplateFields/Visibility/draft.of&quot;,
&quot;text&quot;: &quot;hide&quot;
},
&quot;$:/config/EditTemplateFields/Visibility/revision&quot;: {
&quot;title&quot;: &quot;$:/config/EditTemplateFields/Visibility/revision&quot;,
&quot;text&quot;: &quot;hide&quot;
},
&quot;$:/config/EditTemplateFields/Visibility/bag&quot;: {
&quot;title&quot;: &quot;$:/config/EditTemplateFields/Visibility/bag&quot;,
&quot;text&quot;: &quot;hide&quot;
},
&quot;$:/config/EditorToolbarButtons/Visibility/$:/core/ui/EditorToolbar/heading-4&quot;: {
&quot;title&quot;: &quot;$:/config/EditorToolbarButtons/Visibility/$:/core/ui/EditorToolbar/heading-4&quot;,
&quot;text&quot;: &quot;hide&quot;
},
&quot;$:/config/EditorToolbarButtons/Visibility/$:/core/ui/EditorToolbar/heading-5&quot;: {
&quot;title&quot;: &quot;$:/config/EditorToolbarButtons/Visibility/$:/core/ui/EditorToolbar/heading-5&quot;,
&quot;text&quot;: &quot;hide&quot;
},
&quot;$:/config/EditorToolbarButtons/Visibility/$:/core/ui/EditorToolbar/heading-6&quot;: {
&quot;title&quot;: &quot;$:/config/EditorToolbarButtons/Visibility/$:/core/ui/EditorToolbar/heading-6&quot;,
&quot;text&quot;: &quot;hide&quot;
},
&quot;$:/config/EditorTypeMappings/image/gif&quot;: {
&quot;title&quot;: &quot;$:/config/EditorTypeMappings/image/gif&quot;,
&quot;text&quot;: &quot;bitmap&quot;
},
&quot;$:/config/EditorTypeMappings/image/webp&quot;: {
&quot;title&quot;: &quot;$:/config/EditorTypeMappings/image/webp&quot;,
&quot;text&quot;: &quot;bitmap&quot;
},
&quot;$:/config/EditorTypeMappings/image/heic&quot;: {
&quot;title&quot;: &quot;$:/config/EditorTypeMappings/image/heic&quot;,
&quot;text&quot;: &quot;bitmap&quot;
},
&quot;$:/config/EditorTypeMappings/image/heif&quot;: {
&quot;title&quot;: &quot;$:/config/EditorTypeMappings/image/heif&quot;,
&quot;text&quot;: &quot;bitmap&quot;
},
&quot;$:/config/EditorTypeMappings/image/jpeg&quot;: {
&quot;title&quot;: &quot;$:/config/EditorTypeMappings/image/jpeg&quot;,
&quot;text&quot;: &quot;bitmap&quot;
},
&quot;$:/config/EditorTypeMappings/image/jpg&quot;: {
&quot;title&quot;: &quot;$:/config/EditorTypeMappings/image/jpg&quot;,
&quot;text&quot;: &quot;bitmap&quot;
},
&quot;$:/config/EditorTypeMappings/image/png&quot;: {
&quot;title&quot;: &quot;$:/config/EditorTypeMappings/image/png&quot;,
&quot;text&quot;: &quot;bitmap&quot;
},
&quot;$:/config/EditorTypeMappings/image/x-icon&quot;: {
&quot;title&quot;: &quot;$:/config/EditorTypeMappings/image/x-icon&quot;,
&quot;text&quot;: &quot;bitmap&quot;
},
&quot;$:/config/EditorTypeMappings/text/vnd.tiddlywiki&quot;: {
&quot;title&quot;: &quot;$:/config/EditorTypeMappings/text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;text&quot;
},
&quot;$:/config/Manager/Show&quot;: {
&quot;title&quot;: &quot;$:/config/Manager/Show&quot;,
&quot;text&quot;: &quot;tiddlers&quot;
},
&quot;$:/config/Manager/Filter&quot;: {
&quot;title&quot;: &quot;$:/config/Manager/Filter&quot;,
&quot;text&quot;: &quot;&quot;
},
&quot;$:/config/Manager/Order&quot;: {
&quot;title&quot;: &quot;$:/config/Manager/Order&quot;,
&quot;text&quot;: &quot;forward&quot;
},
&quot;$:/config/Manager/Sort&quot;: {
&quot;title&quot;: &quot;$:/config/Manager/Sort&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/Manager/System&quot;: {
&quot;title&quot;: &quot;$:/config/Manager/System&quot;,
&quot;text&quot;: &quot;system&quot;
},
&quot;$:/config/Manager/Tag&quot;: {
&quot;title&quot;: &quot;$:/config/Manager/Tag&quot;,
&quot;text&quot;: &quot;&quot;
},
&quot;$:/state/popup/manager/item/$:/Manager/ItemMain/RawText&quot;: {
&quot;title&quot;: &quot;$:/state/popup/manager/item/$:/Manager/ItemMain/RawText&quot;,
&quot;text&quot;: &quot;hide&quot;
},
&quot;$:/config/MissingLinks&quot;: {
&quot;title&quot;: &quot;$:/config/MissingLinks&quot;,
&quot;text&quot;: &quot;yes&quot;
},
&quot;$:/config/Navigation/UpdateAddressBar&quot;: {
&quot;title&quot;: &quot;$:/config/Navigation/UpdateAddressBar&quot;,
&quot;text&quot;: &quot;no&quot;
},
&quot;$:/config/Navigation/UpdateHistory&quot;: {
&quot;title&quot;: &quot;$:/config/Navigation/UpdateHistory&quot;,
&quot;text&quot;: &quot;no&quot;
},
&quot;$:/config/NewImageType&quot;: {
&quot;title&quot;: &quot;$:/config/NewImageType&quot;,
&quot;text&quot;: &quot;jpeg&quot;
},
&quot;$:/config/OfficialPluginLibrary&quot;: {
&quot;title&quot;: &quot;$:/config/OfficialPluginLibrary&quot;,
&quot;tags&quot;: &quot;$:/tags/PluginLibrary&quot;,
&quot;url&quot;: &quot;https://tiddlywiki.com/library/v5.1.23/index.html&quot;,
&quot;caption&quot;: &quot;{{$:/language/OfficialPluginLibrary}}&quot;,
&quot;text&quot;: &quot;{{$:/language/OfficialPluginLibrary/Hint}}\n&quot;
},
&quot;$:/config/Navigation/openLinkFromInsideRiver&quot;: {
&quot;title&quot;: &quot;$:/config/Navigation/openLinkFromInsideRiver&quot;,
&quot;text&quot;: &quot;below&quot;
},
&quot;$:/config/Navigation/openLinkFromOutsideRiver&quot;: {
&quot;title&quot;: &quot;$:/config/Navigation/openLinkFromOutsideRiver&quot;,
&quot;text&quot;: &quot;top&quot;
},
&quot;$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/advanced-search&quot;: {
&quot;title&quot;: &quot;$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/advanced-search&quot;,
&quot;text&quot;: &quot;hide&quot;
},
&quot;$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/close-all&quot;: {
&quot;title&quot;: &quot;$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/close-all&quot;,
&quot;text&quot;: &quot;hide&quot;
},
&quot;$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/encryption&quot;: {
&quot;title&quot;: &quot;$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/encryption&quot;,
&quot;text&quot;: &quot;hide&quot;
},
&quot;$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/export-page&quot;: {
&quot;title&quot;: &quot;$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/export-page&quot;,
&quot;text&quot;: &quot;hide&quot;
},
&quot;$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/fold-all&quot;: {
&quot;title&quot;: &quot;$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/fold-all&quot;,
&quot;text&quot;: &quot;hide&quot;
},
&quot;$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/full-screen&quot;: {
&quot;title&quot;: &quot;$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/full-screen&quot;,
&quot;text&quot;: &quot;hide&quot;
},
&quot;$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/home&quot;: {
&quot;title&quot;: &quot;$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/home&quot;,
&quot;text&quot;: &quot;hide&quot;
},
&quot;$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/refresh&quot;: {
&quot;title&quot;: &quot;$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/refresh&quot;,
&quot;text&quot;: &quot;hide&quot;
},
&quot;$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/import&quot;: {
&quot;title&quot;: &quot;$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/import&quot;,
&quot;text&quot;: &quot;hide&quot;
},
&quot;$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/language&quot;: {
&quot;title&quot;: &quot;$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/language&quot;,
&quot;text&quot;: &quot;hide&quot;
},
&quot;$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/tag-manager&quot;: {
&quot;title&quot;: &quot;$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/tag-manager&quot;,
&quot;text&quot;: &quot;hide&quot;
},
&quot;$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/manager&quot;: {
&quot;title&quot;: &quot;$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/manager&quot;,
&quot;text&quot;: &quot;hide&quot;
},
&quot;$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/more-page-actions&quot;: {
&quot;title&quot;: &quot;$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/more-page-actions&quot;,
&quot;text&quot;: &quot;hide&quot;
},
&quot;$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/new-journal&quot;: {
&quot;title&quot;: &quot;$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/new-journal&quot;,
&quot;text&quot;: &quot;hide&quot;
},
&quot;$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/new-image&quot;: {
&quot;title&quot;: &quot;$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/new-image&quot;,
&quot;text&quot;: &quot;hide&quot;
},
&quot;$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/palette&quot;: {
&quot;title&quot;: &quot;$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/palette&quot;,
&quot;text&quot;: &quot;hide&quot;
},
&quot;$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/permaview&quot;: {
&quot;title&quot;: &quot;$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/permaview&quot;,
&quot;text&quot;: &quot;hide&quot;
},
&quot;$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/print&quot;: {
&quot;title&quot;: &quot;$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/print&quot;,
&quot;text&quot;: &quot;hide&quot;
},
&quot;$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/storyview&quot;: {
&quot;title&quot;: &quot;$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/storyview&quot;,
&quot;text&quot;: &quot;hide&quot;
},
&quot;$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/timestamp&quot;: {
&quot;title&quot;: &quot;$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/timestamp&quot;,
&quot;text&quot;: &quot;hide&quot;
},
&quot;$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/theme&quot;: {
&quot;title&quot;: &quot;$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/theme&quot;,
&quot;text&quot;: &quot;hide&quot;
},
&quot;$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/unfold-all&quot;: {
&quot;title&quot;: &quot;$:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/unfold-all&quot;,
&quot;text&quot;: &quot;hide&quot;
},
&quot;$:/config/Performance/Instrumentation&quot;: {
&quot;title&quot;: &quot;$:/config/Performance/Instrumentation&quot;,
&quot;text&quot;: &quot;no&quot;
},
&quot;$:/config/RegisterPluginType/plugin&quot;: {
&quot;title&quot;: &quot;$:/config/RegisterPluginType/plugin&quot;,
&quot;text&quot;: &quot;yes&quot;
},
&quot;$:/config/RegisterPluginType/theme&quot;: {
&quot;title&quot;: &quot;$:/config/RegisterPluginType/theme&quot;,
&quot;text&quot;: &quot;no&quot;
},
&quot;$:/config/RegisterPluginType/language&quot;: {
&quot;title&quot;: &quot;$:/config/RegisterPluginType/language&quot;,
&quot;text&quot;: &quot;no&quot;
},
&quot;$:/config/RegisterPluginType/info&quot;: {
&quot;title&quot;: &quot;$:/config/RegisterPluginType/info&quot;,
&quot;text&quot;: &quot;yes&quot;
},
&quot;$:/config/RegisterPluginType/import&quot;: {
&quot;title&quot;: &quot;$:/config/RegisterPluginType/import&quot;,
&quot;text&quot;: &quot;no&quot;
},
&quot;$:/config/SaveWikiButton/Template&quot;: {
&quot;title&quot;: &quot;$:/config/SaveWikiButton/Template&quot;,
&quot;text&quot;: &quot;$:/core/save/all&quot;
},
&quot;$:/config/SaverFilter&quot;: {
&quot;title&quot;: &quot;$:/config/SaverFilter&quot;,
&quot;text&quot;: &quot;[all[]] -[prefix[$:/HistoryList]] -[prefix[$:/StoryList]] -[status[pending]plugin-type[import]] -[[$:/isEncrypted]] -[[$:/UploadName]] -[prefix[$:/state/]] -[prefix[$:/temp/]]\n&quot;
},
&quot;$:/config/Search/AutoFocus&quot;: {
&quot;title&quot;: &quot;$:/config/Search/AutoFocus&quot;,
&quot;text&quot;: &quot;true&quot;
},
&quot;$:/config/Search/MinLength&quot;: {
&quot;title&quot;: &quot;$:/config/Search/MinLength&quot;,
&quot;text&quot;: &quot;3&quot;
},
&quot;$:/config/SearchResults/Default&quot;: {
&quot;title&quot;: &quot;$:/config/SearchResults/Default&quot;,
&quot;text&quot;: &quot;$:/core/ui/DefaultSearchResultList&quot;
},
&quot;$:/config/Server/ExternalFilters/[all[tiddlers]!is[system]sort[title]]&quot;: {
&quot;title&quot;: &quot;$:/config/Server/ExternalFilters/[all[tiddlers]!is[system]sort[title]]&quot;,
&quot;text&quot;: &quot;yes&quot;
},
&quot;$:/config/ShortcutInfo/add-field&quot;: {
&quot;title&quot;: &quot;$:/config/ShortcutInfo/add-field&quot;,
&quot;text&quot;: &quot;{{$:/language/EditTemplate/Fields/Add/Button/Hint}}&quot;
},
&quot;$:/config/ShortcutInfo/advanced-search&quot;: {
&quot;title&quot;: &quot;$:/config/ShortcutInfo/advanced-search&quot;,
&quot;text&quot;: &quot;{{$:/language/Buttons/AdvancedSearch/Hint}}&quot;
},
&quot;$:/config/ShortcutInfo/advanced-search-sidebar&quot;: {
&quot;title&quot;: &quot;$:/config/ShortcutInfo/advanced-search-sidebar&quot;,
&quot;text&quot;: &quot;{{$:/language/Shortcuts/Input/AdvancedSearch/Hint}}&quot;
},
&quot;$:/config/ShortcutInfo/bold&quot;: {
&quot;title&quot;: &quot;$:/config/ShortcutInfo/bold&quot;,
&quot;text&quot;: &quot;{{$:/language/Buttons/Bold/Hint}}&quot;
},
&quot;$:/config/ShortcutInfo/cancel-edit-tiddler&quot;: {
&quot;title&quot;: &quot;$:/config/ShortcutInfo/cancel-edit-tiddler&quot;,
&quot;text&quot;: &quot;{{$:/language/Buttons/Cancel/Hint}}&quot;
},
&quot;$:/config/ShortcutInfo/change-sidebar-layout&quot;: {
&quot;title&quot;: &quot;$:/config/ShortcutInfo/change-sidebar-layout&quot;,
&quot;text&quot;: &quot;{{$:/language/Shortcuts/SidebarLayout/Hint}}&quot;
},
&quot;$:/config/ShortcutInfo/delete-field&quot;: {
&quot;title&quot;: &quot;$:/config/ShortcutInfo/delete-field&quot;,
&quot;text&quot;: &quot;{{$:/language/EditTemplate/Field/Remove/Hint}}&quot;
},
&quot;$:/config/ShortcutInfo/excise&quot;: {
&quot;title&quot;: &quot;$:/config/ShortcutInfo/excise&quot;,
&quot;text&quot;: &quot;{{$:/language/Buttons/Excise/Hint}}&quot;
},
&quot;$:/config/ShortcutInfo/heading-1&quot;: {
&quot;title&quot;: &quot;$:/config/ShortcutInfo/heading-1&quot;,
&quot;text&quot;: &quot;{{$:/language/Buttons/Heading1/Hint}}&quot;
},
&quot;$:/config/ShortcutInfo/heading-2&quot;: {
&quot;title&quot;: &quot;$:/config/ShortcutInfo/heading-2&quot;,
&quot;text&quot;: &quot;{{$:/language/Buttons/Heading2/Hint}}&quot;
},
&quot;$:/config/ShortcutInfo/heading-3&quot;: {
&quot;title&quot;: &quot;$:/config/ShortcutInfo/heading-3&quot;,
&quot;text&quot;: &quot;{{$:/language/Buttons/Heading3/Hint}}&quot;
},
&quot;$:/config/ShortcutInfo/heading-4&quot;: {
&quot;title&quot;: &quot;$:/config/ShortcutInfo/heading-4&quot;,
&quot;text&quot;: &quot;{{$:/language/Buttons/Heading4/Hint}}&quot;
},
&quot;$:/config/ShortcutInfo/heading-5&quot;: {
&quot;title&quot;: &quot;$:/config/ShortcutInfo/heading-5&quot;,
&quot;text&quot;: &quot;{{$:/language/Buttons/Heading5/Hint}}&quot;
},
&quot;$:/config/ShortcutInfo/heading-6&quot;: {
&quot;title&quot;: &quot;$:/config/ShortcutInfo/heading-6&quot;,
&quot;text&quot;: &quot;{{$:/language/Buttons/Heading6/Hint}}&quot;
},
&quot;$:/config/ShortcutInfo/input-accept&quot;: {
&quot;title&quot;: &quot;$:/config/ShortcutInfo/input-accept&quot;,
&quot;text&quot;: &quot;{{$:/language/Shortcuts/Input/Accept/Hint}}&quot;
},
&quot;$:/config/ShortcutInfo/input-accept-variant&quot;: {
&quot;title&quot;: &quot;$:/config/ShortcutInfo/input-accept-variant&quot;,
&quot;text&quot;: &quot;{{$:/language/Shortcuts/Input/AcceptVariant/Hint}}&quot;
},
&quot;$:/config/ShortcutInfo/input-cancel&quot;: {
&quot;title&quot;: &quot;$:/config/ShortcutInfo/input-cancel&quot;,
&quot;text&quot;: &quot;{{$:/language/Shortcuts/Input/Cancel/Hint}}&quot;
},
&quot;$:/config/ShortcutInfo/input-down&quot;: {
&quot;title&quot;: &quot;$:/config/ShortcutInfo/input-down&quot;,
&quot;text&quot;: &quot;{{$:/language/Shortcuts/Input/Down/Hint}}&quot;
},
&quot;$:/config/ShortcutInfo/input-tab-left&quot;: {
&quot;title&quot;: &quot;$:/config/ShortcutInfo/input-tab-left&quot;,
&quot;text&quot;: &quot;{{$:/language/Shortcuts/Input/Tab-Left/Hint}}&quot;
},
&quot;$:/config/ShortcutInfo/input-tab-right&quot;: {
&quot;title&quot;: &quot;$:/config/ShortcutInfo/input-tab-right&quot;,
&quot;text&quot;: &quot;{{$:/language/Shortcuts/Input/Tab-Right/Hint}}&quot;
},
&quot;$:/config/ShortcutInfo/input-up&quot;: {
&quot;title&quot;: &quot;$:/config/ShortcutInfo/input-up&quot;,
&quot;text&quot;: &quot;{{$:/language/Shortcuts/Input/Up/Hint}}&quot;
},
&quot;$:/config/ShortcutInfo/italic&quot;: {
&quot;title&quot;: &quot;$:/config/ShortcutInfo/italic&quot;,
&quot;text&quot;: &quot;{{$:/language/Buttons/Italic/Hint}}&quot;
},
&quot;$:/config/ShortcutInfo/layout-switcher&quot;: {
&quot;title&quot;: &quot;$:/config/ShortcutInfo/layout-switcher&quot;,
&quot;text&quot;: &quot;{{$:/language/LayoutSwitcher/Description}}&quot;
},
&quot;$:/config/ShortcutInfo/link&quot;: {
&quot;title&quot;: &quot;$:/config/ShortcutInfo/link&quot;,
&quot;text&quot;: &quot;{{$:/language/Buttons/Link/Hint}}&quot;
},
&quot;$:/config/ShortcutInfo/linkify&quot;: {
&quot;title&quot;: &quot;$:/config/ShortcutInfo/linkify&quot;,
&quot;text&quot;: &quot;{{$:/language/Buttons/Linkify/Hint}}&quot;
},
&quot;$:/config/ShortcutInfo/list-bullet&quot;: {
&quot;title&quot;: &quot;$:/config/ShortcutInfo/list-bullet&quot;,
&quot;text&quot;: &quot;{{$:/language/Buttons/ListBullet/Hint}}&quot;
},
&quot;$:/config/ShortcutInfo/list-number&quot;: {
&quot;title&quot;: &quot;$:/config/ShortcutInfo/list-number&quot;,
&quot;text&quot;: &quot;{{$:/language/Buttons/ListNumber/Hint}}&quot;
},
&quot;$:/config/ShortcutInfo/mono-block&quot;: {
&quot;title&quot;: &quot;$:/config/ShortcutInfo/mono-block&quot;,
&quot;text&quot;: &quot;{{$:/language/Buttons/MonoBlock/Hint}}&quot;
},
&quot;$:/config/ShortcutInfo/mono-line&quot;: {
&quot;title&quot;: &quot;$:/config/ShortcutInfo/mono-line&quot;,
&quot;text&quot;: &quot;{{$:/language/Buttons/MonoLine/Hint}}&quot;
},
&quot;$:/config/ShortcutInfo/new-image&quot;: {
&quot;title&quot;: &quot;$:/config/ShortcutInfo/new-image&quot;,
&quot;text&quot;: &quot;{{$:/language/Buttons/NewImage/Hint}}&quot;
},
&quot;$:/config/ShortcutInfo/new-journal&quot;: {
&quot;title&quot;: &quot;$:/config/ShortcutInfo/new-journal&quot;,
&quot;text&quot;: &quot;{{$:/language/Buttons/NewJournal/Hint}}&quot;
},
&quot;$:/config/ShortcutInfo/new-tiddler&quot;: {
&quot;title&quot;: &quot;$:/config/ShortcutInfo/new-tiddler&quot;,
&quot;text&quot;: &quot;{{$:/language/Buttons/NewTiddler/Hint}}&quot;
},
&quot;$:/config/ShortcutInfo/picture&quot;: {
&quot;title&quot;: &quot;$:/config/ShortcutInfo/picture&quot;,
&quot;text&quot;: &quot;{{$:/language/Buttons/Picture/Hint}}&quot;
},
&quot;$:/config/ShortcutInfo/preview&quot;: {
&quot;title&quot;: &quot;$:/config/ShortcutInfo/preview&quot;,
&quot;text&quot;: &quot;{{$:/language/Buttons/Preview/Hint}}&quot;
},
&quot;$:/config/ShortcutInfo/quote&quot;: {
&quot;title&quot;: &quot;$:/config/ShortcutInfo/quote&quot;,
&quot;text&quot;: &quot;{{$:/language/Buttons/Quote/Hint}}&quot;
},
&quot;$:/config/ShortcutInfo/save-tiddler&quot;: {
&quot;title&quot;: &quot;$:/config/ShortcutInfo/save-tiddler&quot;,
&quot;text&quot;: &quot;{{$:/language/Buttons/Save/Hint}}&quot;
},
&quot;$:/config/ShortcutInfo/save-wiki&quot;: {
&quot;title&quot;: &quot;$:/config/ShortcutInfo/save-wiki&quot;,
&quot;text&quot;: &quot;{{$:/language/Buttons/SaveWiki/Hint}}&quot;
},
&quot;$:/config/ShortcutInfo/sidebar-search&quot;: {
&quot;title&quot;: &quot;$:/config/ShortcutInfo/sidebar-search&quot;,
&quot;text&quot;: &quot;{{$:/language/Buttons/SidebarSearch/Hint}}&quot;
},
&quot;$:/config/ShortcutInfo/stamp&quot;: {
&quot;title&quot;: &quot;$:/config/ShortcutInfo/stamp&quot;,
&quot;text&quot;: &quot;{{$:/language/Buttons/Stamp/Hint}}&quot;
},
&quot;$:/config/ShortcutInfo/strikethrough&quot;: {
&quot;title&quot;: &quot;$:/config/ShortcutInfo/strikethrough&quot;,
&quot;text&quot;: &quot;{{$:/language/Buttons/Strikethrough/Hint}}&quot;
},
&quot;$:/config/ShortcutInfo/subscript&quot;: {
&quot;title&quot;: &quot;$:/config/ShortcutInfo/subscript&quot;,
&quot;text&quot;: &quot;{{$:/language/Buttons/Subscript/Hint}}&quot;
},
&quot;$:/config/ShortcutInfo/superscript&quot;: {
&quot;title&quot;: &quot;$:/config/ShortcutInfo/superscript&quot;,
&quot;text&quot;: &quot;{{$:/language/Buttons/Superscript/Hint}}&quot;
},
&quot;$:/config/ShortcutInfo/toggle-sidebar&quot;: {
&quot;title&quot;: &quot;$:/config/ShortcutInfo/toggle-sidebar&quot;,
&quot;text&quot;: &quot;{{$:/language/Buttons/ToggleSidebar/Hint}}&quot;
},
&quot;$:/config/ShortcutInfo/transcludify&quot;: {
&quot;title&quot;: &quot;$:/config/ShortcutInfo/transcludify&quot;,
&quot;text&quot;: &quot;{{$:/language/Buttons/Transcludify/Hint}}&quot;
},
&quot;$:/config/ShortcutInfo/underline&quot;: {
&quot;title&quot;: &quot;$:/config/ShortcutInfo/underline&quot;,
&quot;text&quot;: &quot;{{$:/language/Buttons/Underline/Hint}}&quot;
},
&quot;$:/config/SwitcherTargets/layout&quot;: {
&quot;title&quot;: &quot;$:/config/SwitcherTargets/layout&quot;,
&quot;text&quot;: &quot;$:/snippets/LayoutSwitcher&quot;
},
&quot;$:/config/SwitcherTargets/language&quot;: {
&quot;title&quot;: &quot;$:/config/SwitcherTargets/language&quot;,
&quot;text&quot;: &quot;$:/snippets/languageswitcher&quot;
},
&quot;$:/config/SwitcherTargets/palette&quot;: {
&quot;title&quot;: &quot;$:/config/SwitcherTargets/palette&quot;,
&quot;text&quot;: &quot;$:/core/ui/ControlPanel/Palette&quot;
},
&quot;$:/config/SwitcherTargets/theme&quot;: {
&quot;title&quot;: &quot;$:/config/SwitcherTargets/theme&quot;,
&quot;text&quot;: &quot;$:/core/ui/ControlPanel/Theme&quot;
},
&quot;$:/config/SyncFilter&quot;: {
&quot;title&quot;: &quot;$:/config/SyncFilter&quot;,
&quot;text&quot;: &quot;[is[tiddler]] -[[$:/core]] -[[$:/library/sjcl.js]] -[prefix[$:/boot/]] -[prefix[$:/HistoryList]] -[status[pending]plugin-type[import]] -[[$:/isEncrypted]] -[prefix[$:/status/]] -[prefix[$:/state/]] -[prefix[$:/temp/]]\n&quot;
},
&quot;$:/config/SyncSystemTiddlersFromServer&quot;: {
&quot;title&quot;: &quot;$:/config/SyncSystemTiddlersFromServer&quot;,
&quot;text&quot;: &quot;no&quot;
},
&quot;$:/config/Tags/MinLength&quot;: {
&quot;title&quot;: &quot;$:/config/Tags/MinLength&quot;,
&quot;text&quot;: &quot;0&quot;
},
&quot;$:/config/TextEditor/EditorHeight/Height&quot;: {
&quot;title&quot;: &quot;$:/config/TextEditor/EditorHeight/Height&quot;,
&quot;text&quot;: &quot;400px&quot;
},
&quot;$:/config/TextEditor/EditorHeight/Mode&quot;: {
&quot;title&quot;: &quot;$:/config/TextEditor/EditorHeight/Mode&quot;,
&quot;text&quot;: &quot;auto&quot;
},
&quot;$:/config/TiddlerInfo/Default&quot;: {
&quot;title&quot;: &quot;$:/config/TiddlerInfo/Default&quot;,
&quot;text&quot;: &quot;$:/core/ui/TiddlerInfo/Fields&quot;
},
&quot;$:/config/TiddlerInfo/Mode&quot;: {
&quot;title&quot;: &quot;$:/config/TiddlerInfo/Mode&quot;,
&quot;text&quot;: &quot;popup&quot;
},
&quot;$:/config/Tiddlers/TitleLinks&quot;: {
&quot;title&quot;: &quot;$:/config/Tiddlers/TitleLinks&quot;,
&quot;text&quot;: &quot;no&quot;
},
&quot;$:/config/Toolbar/ButtonClass&quot;: {
&quot;title&quot;: &quot;$:/config/Toolbar/ButtonClass&quot;,
&quot;text&quot;: &quot;tc-btn-invisible&quot;
},
&quot;$:/config/Toolbar/Icons&quot;: {
&quot;title&quot;: &quot;$:/config/Toolbar/Icons&quot;,
&quot;text&quot;: &quot;yes&quot;
},
&quot;$:/config/Toolbar/Text&quot;: {
&quot;title&quot;: &quot;$:/config/Toolbar/Text&quot;,
&quot;text&quot;: &quot;no&quot;
},
&quot;$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/clone&quot;: {
&quot;title&quot;: &quot;$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/clone&quot;,
&quot;text&quot;: &quot;hide&quot;
},
&quot;$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/close-others&quot;: {
&quot;title&quot;: &quot;$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/close-others&quot;,
&quot;text&quot;: &quot;hide&quot;
},
&quot;$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/export-tiddler&quot;: {
&quot;title&quot;: &quot;$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/export-tiddler&quot;,
&quot;text&quot;: &quot;hide&quot;
},
&quot;$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/info&quot;: {
&quot;title&quot;: &quot;$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/info&quot;,
&quot;text&quot;: &quot;hide&quot;
},
&quot;$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/more-tiddler-actions&quot;: {
&quot;title&quot;: &quot;$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/more-tiddler-actions&quot;,
&quot;text&quot;: &quot;show&quot;
},
&quot;$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/new-here&quot;: {
&quot;title&quot;: &quot;$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/new-here&quot;,
&quot;text&quot;: &quot;hide&quot;
},
&quot;$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/new-journal-here&quot;: {
&quot;title&quot;: &quot;$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/new-journal-here&quot;,
&quot;text&quot;: &quot;hide&quot;
},
&quot;$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/open-window&quot;: {
&quot;title&quot;: &quot;$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/open-window&quot;,
&quot;text&quot;: &quot;hide&quot;
},
&quot;$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/permalink&quot;: {
&quot;title&quot;: &quot;$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/permalink&quot;,
&quot;text&quot;: &quot;hide&quot;
},
&quot;$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/permaview&quot;: {
&quot;title&quot;: &quot;$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/permaview&quot;,
&quot;text&quot;: &quot;hide&quot;
},
&quot;$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/delete&quot;: {
&quot;title&quot;: &quot;$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/delete&quot;,
&quot;text&quot;: &quot;hide&quot;
},
&quot;$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/fold&quot;: {
&quot;title&quot;: &quot;$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/fold&quot;,
&quot;text&quot;: &quot;hide&quot;
},
&quot;$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/fold-bar&quot;: {
&quot;title&quot;: &quot;$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/fold-bar&quot;,
&quot;text&quot;: &quot;hide&quot;
},
&quot;$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/fold-others&quot;: {
&quot;title&quot;: &quot;$:/config/ViewToolbarButtons/Visibility/$:/core/ui/Buttons/fold-others&quot;,
&quot;text&quot;: &quot;hide&quot;
},
&quot;$:/config/shortcuts-mac/bold&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts-mac/bold&quot;,
&quot;text&quot;: &quot;meta-B&quot;
},
&quot;$:/config/shortcuts-mac/input-tab-left&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts-mac/input-tab-left&quot;,
&quot;text&quot;: &quot;ctrl-Left&quot;
},
&quot;$:/config/shortcuts-mac/input-tab-right&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts-mac/input-tab-right&quot;,
&quot;text&quot;: &quot;ctrl-Right&quot;
},
&quot;$:/config/shortcuts-mac/italic&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts-mac/italic&quot;,
&quot;text&quot;: &quot;meta-I&quot;
},
&quot;$:/config/shortcuts-mac/underline&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts-mac/underline&quot;,
&quot;text&quot;: &quot;meta-U&quot;
},
&quot;$:/config/shortcuts-mac/new-image&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts-mac/new-image&quot;,
&quot;text&quot;: &quot;ctrl-I&quot;
},
&quot;$:/config/shortcuts-mac/new-journal&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts-mac/new-journal&quot;,
&quot;text&quot;: &quot;ctrl-J&quot;
},
&quot;$:/config/shortcuts-mac/new-tiddler&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts-mac/new-tiddler&quot;,
&quot;text&quot;: &quot;ctrl-N&quot;
},
&quot;$:/config/shortcuts-mac/save-wiki&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts-mac/save-wiki&quot;,
&quot;text&quot;: &quot;meta-S&quot;
},
&quot;$:/config/shortcuts-not-mac/bold&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts-not-mac/bold&quot;,
&quot;text&quot;: &quot;ctrl-B&quot;
},
&quot;$:/config/shortcuts-not-mac/italic&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts-not-mac/italic&quot;,
&quot;text&quot;: &quot;ctrl-I&quot;
},
&quot;$:/config/shortcuts-not-mac/underline&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts-not-mac/underline&quot;,
&quot;text&quot;: &quot;ctrl-U&quot;
},
&quot;$:/config/shortcuts-not-mac/new-image&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts-not-mac/new-image&quot;,
&quot;text&quot;: &quot;alt-I&quot;
},
&quot;$:/config/shortcuts-not-mac/new-journal&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts-not-mac/new-journal&quot;,
&quot;text&quot;: &quot;alt-J&quot;
},
&quot;$:/config/shortcuts-not-mac/new-tiddler&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts-not-mac/new-tiddler&quot;,
&quot;text&quot;: &quot;alt-N&quot;
},
&quot;$:/config/shortcuts/add-field&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts/add-field&quot;,
&quot;text&quot;: &quot;enter&quot;
},
&quot;$:/config/shortcuts/advanced-search&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts/advanced-search&quot;,
&quot;text&quot;: &quot;ctrl-shift-A&quot;
},
&quot;$:/config/shortcuts/advanced-search-sidebar&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts/advanced-search-sidebar&quot;,
&quot;text&quot;: &quot;alt-Enter&quot;
},
&quot;$:/config/shortcuts/cancel-edit-tiddler&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts/cancel-edit-tiddler&quot;,
&quot;text&quot;: &quot;escape&quot;
},
&quot;$:/config/shortcuts/change-sidebar-layout&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts/change-sidebar-layout&quot;,
&quot;text&quot;: &quot;shift-alt-Down&quot;
},
&quot;$:/config/shortcuts/delete-field&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts/delete-field&quot;,
&quot;text&quot;: &quot;shift-alt-D&quot;
},
&quot;$:/config/shortcuts/excise&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts/excise&quot;,
&quot;text&quot;: &quot;ctrl-E&quot;
},
&quot;$:/config/shortcuts/sidebar-search&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts/sidebar-search&quot;,
&quot;text&quot;: &quot;ctrl-shift-F&quot;
},
&quot;$:/config/shortcuts/heading-1&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts/heading-1&quot;,
&quot;text&quot;: &quot;ctrl-1&quot;
},
&quot;$:/config/shortcuts/heading-2&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts/heading-2&quot;,
&quot;text&quot;: &quot;ctrl-2&quot;
},
&quot;$:/config/shortcuts/heading-3&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts/heading-3&quot;,
&quot;text&quot;: &quot;ctrl-3&quot;
},
&quot;$:/config/shortcuts/heading-4&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts/heading-4&quot;,
&quot;text&quot;: &quot;ctrl-4&quot;
},
&quot;$:/config/shortcuts/heading-5&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts/heading-5&quot;,
&quot;text&quot;: &quot;ctrl-5&quot;
},
&quot;$:/config/shortcuts/heading-6&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts/heading-6&quot;,
&quot;text&quot;: &quot;ctrl-6&quot;
},
&quot;$:/config/shortcuts/input-accept&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts/input-accept&quot;,
&quot;text&quot;: &quot;Enter&quot;
},
&quot;$:/config/shortcuts/input-accept-variant&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts/input-accept-variant&quot;,
&quot;text&quot;: &quot;ctrl-Enter&quot;
},
&quot;$:/config/shortcuts/input-cancel&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts/input-cancel&quot;,
&quot;text&quot;: &quot;Escape&quot;
},
&quot;$:/config/shortcuts/input-down&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts/input-down&quot;,
&quot;text&quot;: &quot;Down&quot;
},
&quot;$:/config/shortcuts/input-tab-left&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts/input-tab-left&quot;,
&quot;text&quot;: &quot;alt-Left&quot;
},
&quot;$:/config/shortcuts/input-tab-right&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts/input-tab-right&quot;,
&quot;text&quot;: &quot;alt-Right&quot;
},
&quot;$:/config/shortcuts/input-up&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts/input-up&quot;,
&quot;text&quot;: &quot;Up&quot;
},
&quot;$:/config/shortcuts/layout-switcher&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts/layout-switcher&quot;,
&quot;text&quot;: &quot;ctrl-shift-L&quot;
},
&quot;$:/config/shortcuts/link&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts/link&quot;,
&quot;text&quot;: &quot;ctrl-L&quot;
},
&quot;$:/config/shortcuts/linkify&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts/linkify&quot;,
&quot;text&quot;: &quot;alt-shift-L&quot;
},
&quot;$:/config/shortcuts/list-bullet&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts/list-bullet&quot;,
&quot;text&quot;: &quot;ctrl-shift-L&quot;
},
&quot;$:/config/shortcuts/list-number&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts/list-number&quot;,
&quot;text&quot;: &quot;ctrl-shift-N&quot;
},
&quot;$:/config/shortcuts/mono-block&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts/mono-block&quot;,
&quot;text&quot;: &quot;ctrl-shift-M&quot;
},
&quot;$:/config/shortcuts/mono-line&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts/mono-line&quot;,
&quot;text&quot;: &quot;ctrl-M&quot;
},
&quot;$:/config/shortcuts/picture&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts/picture&quot;,
&quot;text&quot;: &quot;ctrl-shift-I&quot;
},
&quot;$:/config/shortcuts/preview&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts/preview&quot;,
&quot;text&quot;: &quot;alt-P&quot;
},
&quot;$:/config/shortcuts/quote&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts/quote&quot;,
&quot;text&quot;: &quot;ctrl-Q&quot;
},
&quot;$:/config/shortcuts/save-tiddler&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts/save-tiddler&quot;,
&quot;text&quot;: &quot;ctrl+enter&quot;
},
&quot;$:/config/shortcuts/save-wiki&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts/save-wiki&quot;,
&quot;text&quot;: &quot;ctrl-S&quot;
},
&quot;$:/config/shortcuts/stamp&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts/stamp&quot;,
&quot;text&quot;: &quot;ctrl-S&quot;
},
&quot;$:/config/shortcuts/strikethrough&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts/strikethrough&quot;,
&quot;text&quot;: &quot;ctrl-T&quot;
},
&quot;$:/config/shortcuts/subscript&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts/subscript&quot;,
&quot;text&quot;: &quot;ctrl-shift-B&quot;
},
&quot;$:/config/shortcuts/superscript&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts/superscript&quot;,
&quot;text&quot;: &quot;ctrl-shift-P&quot;
},
&quot;$:/config/shortcuts/toggle-sidebar&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts/toggle-sidebar&quot;,
&quot;text&quot;: &quot;alt-shift-S&quot;
},
&quot;$:/config/shortcuts/transcludify&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts/transcludify&quot;,
&quot;text&quot;: &quot;alt-shift-T&quot;
},
&quot;$:/config/ui/EditTemplate&quot;: {
&quot;title&quot;: &quot;$:/config/ui/EditTemplate&quot;,
&quot;text&quot;: &quot;$:/core/ui/EditTemplate&quot;
},
&quot;$:/config/ui/ViewTemplate&quot;: {
&quot;title&quot;: &quot;$:/config/ui/ViewTemplate&quot;,
&quot;text&quot;: &quot;$:/core/ui/ViewTemplate&quot;
},
&quot;$:/config/WikiParserRules/Inline/wikilink&quot;: {
&quot;title&quot;: &quot;$:/config/WikiParserRules/Inline/wikilink&quot;,
&quot;text&quot;: &quot;enable&quot;
},
&quot;$:/snippets/currpalettepreview&quot;: {
&quot;title&quot;: &quot;$:/snippets/currpalettepreview&quot;,
&quot;text&quot;: &quot;\\define resolve-colour(macrocall)\n\\import $:/core/macros/utils\n\\whitespace trim\n&lt;$wikify name=\&quot;name\&quot; text=\&quot;\&quot;\&quot;$macrocall$\&quot;\&quot;\&quot;&gt;\n&lt;&lt;name&gt;&gt;\n&lt;/$wikify&gt;\n\\end\n\\define swatchStyle()\nbackground-color: $(swatchColour)$;\n\\end\n\\define swatch-inner()\n&lt;$set name=\&quot;swatchColour\&quot; value={{##$(colourResolved)$}}&gt;\n&lt;$list filter=\&quot;[&lt;swatchColour&gt;!prefix[&lt;&lt;colour ]!suffix[&gt;&gt;]]\&quot; variable=\&quot;ignore\&quot;&gt;\n&lt;div class=\&quot;tc-swatch\&quot; style=&lt;&lt;swatchStyle&gt;&gt; title=&lt;&lt;swatchTitle&gt;&gt;/&gt;\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[&lt;swatchColour&gt;prefix[&lt;&lt;colour ]suffix[&gt;&gt;]]\&quot; variable=\&quot;ignore\&quot;&gt;\n&lt;$wikify name=\&quot;colourResolved\&quot; text=\&quot;\&quot;\&quot;&lt;$macrocall $name=\&quot;resolve-colour\&quot; macrocall=&lt;&lt;swatchColour&gt;&gt;/&gt;\&quot;\&quot;\&quot;&gt;\n&lt;&lt;swatch-inner&gt;&gt;\n&lt;/$wikify&gt;\n&lt;/$list&gt;\n&lt;/$set&gt;\n\\end\n\\define swatch()\n&lt;$set name=\&quot;swatchColour\&quot; value={{##$(colour)$}}&gt;\n&lt;$set name=\&quot;swatchTitle\&quot; value=&lt;&lt;colour&gt;&gt;&gt;\n&lt;$list filter=\&quot;[&lt;swatchColour&gt;!prefix[&lt;&lt;colour ]!suffix[&gt;&gt;]]\&quot; variable=\&quot;ignore\&quot;&gt;\n&lt;div class=\&quot;tc-swatch\&quot; style=&lt;&lt;swatchStyle&gt;&gt; title=&lt;&lt;swatchTitle&gt;&gt;/&gt;\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[&lt;swatchColour&gt;prefix[&lt;&lt;colour ]suffix[&gt;&gt;]]\&quot; variable=\&quot;ignore\&quot;&gt;\n&lt;$wikify name=\&quot;colourResolved\&quot; text=\&quot;\&quot;\&quot;&lt;$macrocall $name=\&quot;resolve-colour\&quot; macrocall=&lt;&lt;swatchColour&gt;&gt;/&gt;\&quot;\&quot;\&quot;&gt;\n&lt;&lt;swatch-inner&gt;&gt;\n&lt;/$wikify&gt;\n&lt;/$list&gt;\n&lt;/$set&gt;\n&lt;/$set&gt;\n\\end\n&lt;div class=\&quot;tc-swatches-horiz\&quot;&gt;&lt;$list filter=\&quot;\nforeground\nbackground\nmuted-foreground\nprimary\npage-background\ntab-background\ntiddler-info-background\n\&quot; variable=\&quot;colour\&quot;&gt;&lt;&lt;swatch&gt;&gt;&lt;/$list&gt;&lt;/div&gt;\n&quot;
},
&quot;$:/snippets/download-wiki-button&quot;: {
&quot;title&quot;: &quot;$:/snippets/download-wiki-button&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/ControlPanel/Tools/Download/\n&lt;$button class=\&quot;tc-btn-big-green\&quot;&gt;\n&lt;$action-sendmessage $message=\&quot;tm-download-file\&quot; $param=\&quot;$:/core/save/all\&quot; filename=\&quot;index.html\&quot;/&gt;\n&lt;&lt;lingo Full/Caption&gt;&gt; {{$:/core/images/save-button}}\n&lt;/$button&gt;&quot;
},
&quot;$:/language&quot;: {
&quot;title&quot;: &quot;$:/language&quot;,
&quot;text&quot;: &quot;$:/languages/en-GB&quot;
},
&quot;$:/snippets/languageswitcher&quot;: {
&quot;title&quot;: &quot;$:/snippets/languageswitcher&quot;,
&quot;text&quot;: &quot;\\define flag-title()\n$(languagePluginTitle)$/icon\n\\end\n\n&lt;$linkcatcher to=\&quot;$:/language\&quot;&gt;\n&lt;div class=\&quot;tc-chooser tc-language-chooser\&quot;&gt;\n&lt;$list filter=\&quot;[[$:/languages/en-GB]] [plugin-type[language]sort[description]]\&quot;&gt;\n&lt;$set name=\&quot;cls\&quot; filter=\&quot;[all[current]field:title{$:/language}]\&quot; value=\&quot;tc-chooser-item tc-chosen\&quot; emptyValue=\&quot;tc-chooser-item\&quot;&gt;&lt;div class=&lt;&lt;cls&gt;&gt;&gt;\n&lt;$link&gt;\n&lt;span class=\&quot;tc-image-button\&quot;&gt;\n&lt;$set name=\&quot;languagePluginTitle\&quot; value=&lt;&lt;currentTiddler&gt;&gt;&gt;\n&lt;$transclude subtiddler=&lt;&lt;flag-title&gt;&gt;&gt;\n&lt;$list filter=\&quot;[all[current]field:title[$:/languages/en-GB]]\&quot;&gt;\n&lt;$transclude tiddler=\&quot;$:/languages/en-GB/icon\&quot;/&gt;\n&lt;/$list&gt;\n&lt;/$transclude&gt;\n&lt;/$set&gt;\n&lt;/span&gt;\n&lt;$view field=\&quot;description\&quot;&gt;\n&lt;$view field=\&quot;name\&quot;&gt;\n&lt;$view field=\&quot;title\&quot;/&gt;\n&lt;/$view&gt;\n&lt;/$view&gt;\n&lt;/$link&gt;\n&lt;/div&gt;\n&lt;/$set&gt;\n&lt;/$list&gt;\n&lt;/div&gt;\n&lt;/$linkcatcher&gt;&quot;
},
&quot;$:/core/macros/CSS&quot;: {
&quot;title&quot;: &quot;$:/core/macros/CSS&quot;,
&quot;tags&quot;: &quot;$:/tags/Macro&quot;,
&quot;text&quot;: &quot;\\define colour(name)\n&lt;$transclude tiddler={{$:/palette}} index=\&quot;$name$\&quot;&gt;&lt;$transclude tiddler=\&quot;$:/palettes/Vanilla\&quot; index=\&quot;$name$\&quot;&gt;&lt;$transclude tiddler=\&quot;$:/config/DefaultColourMappings/$name$\&quot;/&gt;&lt;/$transclude&gt;&lt;/$transclude&gt;\n\\end\n\n\\define color(name)\n&lt;&lt;colour $name$&gt;&gt;\n\\end\n\n\\define box-shadow(shadow)\n``\n -webkit-box-shadow: $shadow$;\n -moz-box-shadow: $shadow$;\n box-shadow: $shadow$;\n``\n\\end\n\n\\define filter(filter)\n``\n -webkit-filter: $filter$;\n -moz-filter: $filter$;\n filter: $filter$;\n``\n\\end\n\n\\define transition(transition)\n``\n -webkit-transition: $transition$;\n -moz-transition: $transition$;\n transition: $transition$;\n``\n\\end\n\n\\define transform-origin(origin)\n``\n -webkit-transform-origin: $origin$;\n -moz-transform-origin: $origin$;\n transform-origin: $origin$;\n``\n\\end\n\n\\define background-linear-gradient(gradient)\n``\nbackground-image: linear-gradient($gradient$);\nbackground-image: -o-linear-gradient($gradient$);\nbackground-image: -moz-linear-gradient($gradient$);\nbackground-image: -webkit-linear-gradient($gradient$);\nbackground-image: -ms-linear-gradient($gradient$);\n``\n\\end\n\n\\define column-count(columns)\n``\n-moz-column-count: $columns$;\n-webkit-column-count: $columns$;\ncolumn-count: $columns$;\n``\n\\end\n\n\\define datauri(title)\n&lt;$macrocall $name=\&quot;makedatauri\&quot; type={{$title$!!type}} text={{$title$}} _canonical_uri={{$title$!!_canonical_uri}}/&gt;\n\\end\n\n\\define if-sidebar(text)\n&lt;$reveal state=\&quot;$:/state/sidebar\&quot; type=\&quot;match\&quot; text=\&quot;yes\&quot; default=\&quot;yes\&quot;&gt;$text$&lt;/$reveal&gt;\n\\end\n\n\\define if-no-sidebar(text)\n&lt;$reveal state=\&quot;$:/state/sidebar\&quot; type=\&quot;nomatch\&quot; text=\&quot;yes\&quot; default=\&quot;yes\&quot;&gt;$text$&lt;/$reveal&gt;\n\\end\n\n\\define if-background-attachment(text)\n&lt;$reveal state=\&quot;$:/themes/tiddlywiki/vanilla/settings/backgroundimage\&quot; type=\&quot;nomatch\&quot; text=\&quot;\&quot;&gt;$text$&lt;/$reveal&gt;\n\\end\n&quot;
},
&quot;$:/core/macros/colour-picker&quot;: {
&quot;title&quot;: &quot;$:/core/macros/colour-picker&quot;,
&quot;tags&quot;: &quot;$:/tags/Macro&quot;,
&quot;text&quot;: &quot;\\define colour-picker-update-recent()\n&lt;$action-listops\n\t$tiddler=\&quot;$:/config/ColourPicker/Recent\&quot;\n\t$subfilter=\&quot;$(colour-picker-value)$ [list[$:/config/ColourPicker/Recent]remove[$(colour-picker-value)$]] +[limit[8]]\&quot;\n/&gt;\n\\end\n\n\\define colour-picker-inner(actions)\n&lt;$button tag=\&quot;a\&quot; tooltip=\&quot;\&quot;\&quot;$(colour-picker-value)$\&quot;\&quot;\&quot;&gt;\n\n$(colour-picker-update-recent)$\n\n$actions$\n\n&lt;span style=\&quot;display:inline-block; background-color: $(colour-picker-value)$; width: 100%; height: 100%; border-radius: 50%;\&quot;/&gt;\n\n&lt;/$button&gt;\n\\end\n\n\\define colour-picker-recent-inner(actions)\n&lt;$set name=\&quot;colour-picker-value\&quot; value=\&quot;$(recentColour)$\&quot;&gt;\n&lt;$macrocall $name=\&quot;colour-picker-inner\&quot; actions=\&quot;\&quot;\&quot;$actions$\&quot;\&quot;\&quot;/&gt;\n&lt;/$set&gt;\n\\end\n\n\\define colour-picker-recent(actions)\n{{$:/language/ColourPicker/Recent}} &lt;$list filter=\&quot;[list[$:/config/ColourPicker/Recent]]\&quot; variable=\&quot;recentColour\&quot;&gt;\n&lt;$macrocall $name=\&quot;colour-picker-recent-inner\&quot; actions=\&quot;\&quot;\&quot;$actions$\&quot;\&quot;\&quot;/&gt;&lt;/$list&gt;\n\\end\n\n\\define colour-picker(actions)\n&lt;div class=\&quot;tc-colour-chooser\&quot;&gt;\n\n&lt;$macrocall $name=\&quot;colour-picker-recent\&quot; actions=\&quot;\&quot;\&quot;$actions$\&quot;\&quot;\&quot;/&gt;\n\n---\n\n&lt;$list filter=\&quot;LightPink Pink Crimson LavenderBlush PaleVioletRed HotPink DeepPink MediumVioletRed Orchid Thistle Plum Violet Magenta Fuchsia DarkMagenta Purple MediumOrchid DarkViolet DarkOrchid Indigo BlueViolet MediumPurple MediumSlateBlue SlateBlue DarkSlateBlue Lavender GhostWhite Blue MediumBlue MidnightBlue DarkBlue Navy RoyalBlue CornflowerBlue LightSteelBlue LightSlateGrey SlateGrey DodgerBlue AliceBlue SteelBlue LightSkyBlue SkyBlue DeepSkyBlue LightBlue PowderBlue CadetBlue Azure LightCyan PaleTurquoise Cyan Aqua DarkTurquoise DarkSlateGrey DarkCyan Teal MediumTurquoise LightSeaGreen Turquoise Aquamarine MediumAquamarine MediumSpringGreen MintCream SpringGreen MediumSeaGreen SeaGreen Honeydew LightGreen PaleGreen DarkSeaGreen LimeGreen Lime ForestGreen Green DarkGreen Chartreuse LawnGreen GreenYellow DarkOliveGreen YellowGreen OliveDrab Beige LightGoldenrodYellow Ivory LightYellow Yellow Olive DarkKhaki LemonChiffon PaleGoldenrod Khaki Gold Cornsilk Goldenrod DarkGoldenrod FloralWhite OldLace Wheat Moccasin Orange PapayaWhip BlanchedAlmond NavajoWhite AntiqueWhite Tan BurlyWood Bisque DarkOrange Linen Peru PeachPuff SandyBrown Chocolate SaddleBrown Seashell Sienna LightSalmon Coral OrangeRed DarkSalmon Tomato MistyRose Salmon Snow LightCoral RosyBrown IndianRed Red Brown FireBrick DarkRed Maroon White WhiteSmoke Gainsboro LightGrey Silver DarkGrey Grey DimGrey Black\&quot; variable=\&quot;colour-picker-value\&quot;&gt;\n&lt;$macrocall $name=\&quot;colour-picker-inner\&quot; actions=\&quot;\&quot;\&quot;$actions$\&quot;\&quot;\&quot;/&gt;\n&lt;/$list&gt;\n\n---\n\n&lt;$edit-text tiddler=\&quot;$:/config/ColourPicker/New\&quot; tag=\&quot;input\&quot; default=\&quot;\&quot; placeholder=\&quot;\&quot;/&gt;\n&lt;$edit-text tiddler=\&quot;$:/config/ColourPicker/New\&quot; type=\&quot;color\&quot; tag=\&quot;input\&quot;/&gt;\n&lt;$set name=\&quot;colour-picker-value\&quot; value={{$:/config/ColourPicker/New}}&gt;\n&lt;$macrocall $name=\&quot;colour-picker-inner\&quot; actions=\&quot;\&quot;\&quot;$actions$\&quot;\&quot;\&quot;/&gt;\n&lt;/$set&gt;\n\n&lt;/div&gt;\n\n\\end\n&quot;
},
&quot;$:/core/macros/copy-to-clipboard&quot;: {
&quot;title&quot;: &quot;$:/core/macros/copy-to-clipboard&quot;,
&quot;tags&quot;: &quot;$:/tags/Macro&quot;,
&quot;text&quot;: &quot;\\define copy-to-clipboard(src,class:\&quot;tc-btn-invisible\&quot;,style)\n&lt;$button class=&lt;&lt;__class__&gt;&gt; style=&lt;&lt;__style__&gt;&gt; message=\&quot;tm-copy-to-clipboard\&quot; param=&lt;&lt;__src__&gt;&gt; tooltip={{$:/language/Buttons/CopyToClipboard/Hint}}&gt;\n{{$:/core/images/copy-clipboard}} &lt;$text text={{$:/language/Buttons/CopyToClipboard/Caption}}/&gt;\n&lt;/$button&gt;\n\\end\n\n\\define copy-to-clipboard-above-right(src,class:\&quot;tc-btn-invisible\&quot;,style)\n&lt;div style=\&quot;position: relative;\&quot;&gt;\n&lt;div style=\&quot;position: absolute; bottom: 0; right: 0;\&quot;&gt;\n&lt;$macrocall $name=\&quot;copy-to-clipboard\&quot; src=&lt;&lt;__src__&gt;&gt; class=&lt;&lt;__class__&gt;&gt; style=&lt;&lt;__style__&gt;&gt;/&gt;\n&lt;/div&gt;\n&lt;/div&gt;\n\\end\n\n&quot;
},
&quot;$:/core/macros/diff&quot;: {
&quot;title&quot;: &quot;$:/core/macros/diff&quot;,
&quot;tags&quot;: &quot;$:/tags/Macro&quot;,
&quot;text&quot;: &quot;\\define compareTiddlerText(sourceTiddlerTitle,sourceSubTiddlerTitle,destTiddlerTitle,destSubTiddlerTitle)\n&lt;$set name=\&quot;source\&quot; tiddler=&lt;&lt;__sourceTiddlerTitle__&gt;&gt; subtiddler=&lt;&lt;__sourceSubTiddlerTitle__&gt;&gt;&gt;\n&lt;$set name=\&quot;dest\&quot; tiddler=&lt;&lt;__destTiddlerTitle__&gt;&gt; subtiddler=&lt;&lt;__destSubTiddlerTitle__&gt;&gt;&gt;\n&lt;$diff-text source=&lt;&lt;source&gt;&gt; dest=&lt;&lt;dest&gt;&gt;/&gt;\n&lt;/$set&gt;\n&lt;/$set&gt;\n\\end\n\n\\define compareTiddlers(sourceTiddlerTitle,sourceSubTiddlerTitle,destTiddlerTitle,destSubTiddlerTitle,exclude)\n&lt;table class=\&quot;tc-diff-tiddlers\&quot;&gt;\n&lt;tbody&gt;\n&lt;$set name=\&quot;sourceFields\&quot; filter=\&quot;[&lt;__sourceTiddlerTitle__&gt;fields[]sort[]]\&quot;&gt;\n&lt;$set name=\&quot;destFields\&quot; filter=\&quot;[&lt;__destSubTiddlerTitle__&gt;subtiddlerfields&lt;__destTiddlerTitle__&gt;sort[]]\&quot;&gt;\n&lt;$list filter=\&quot;[enlist&lt;sourceFields&gt;] [enlist&lt;destFields&gt;] -[enlist&lt;__exclude__&gt;] +[sort[]]\&quot; variable=\&quot;fieldName\&quot;&gt;\n&lt;tr&gt;\n&lt;th&gt;\n&lt;$text text=&lt;&lt;fieldName&gt;&gt;/&gt; \n&lt;/th&gt;\n&lt;td&gt;\n&lt;$set name=\&quot;source\&quot; tiddler=&lt;&lt;__sourceTiddlerTitle__&gt;&gt; subtiddler=&lt;&lt;__sourceSubTiddlerTitle__&gt;&gt; field=&lt;&lt;fieldName&gt;&gt;&gt;\n&lt;$set name=\&quot;dest\&quot; tiddler=&lt;&lt;__destTiddlerTitle__&gt;&gt; subtiddler=&lt;&lt;__destSubTiddlerTitle__&gt;&gt; field=&lt;&lt;fieldName&gt;&gt;&gt;\n&lt;$diff-text source=&lt;&lt;source&gt;&gt; dest=&lt;&lt;dest&gt;&gt;&gt;\n&lt;/$diff-text&gt;\n&lt;/$set&gt;\n&lt;/$set&gt;\n&lt;/td&gt;\n&lt;/tr&gt;\n&lt;/$list&gt;\n&lt;/$set&gt;\n&lt;/$set&gt;\n&lt;/tbody&gt;\n&lt;/table&gt;\n\\end\n&quot;
},
&quot;$:/core/macros/dumpvariables&quot;: {
&quot;title&quot;: &quot;$:/core/macros/dumpvariables&quot;,
&quot;tags&quot;: &quot;$:/tags/Macro&quot;,
&quot;text&quot;: &quot;\\define dumpvariables()\n&lt;ul&gt;\n&lt;$list filter=\&quot;[variables[]]\&quot; variable=\&quot;varname\&quot;&gt;\n&lt;li&gt;\n&lt;strong&gt;&lt;code&gt;&lt;$text text=&lt;&lt;varname&gt;&gt;/&gt;&lt;/code&gt;&lt;/strong&gt;:&lt;br/&gt;\n&lt;$codeblock code={{{ [&lt;varname&gt;getvariable[]] }}}/&gt;\n&lt;/li&gt;\n&lt;/$list&gt;\n&lt;/ul&gt;\n\\end\n&quot;
},
&quot;$:/core/macros/export&quot;: {
&quot;title&quot;: &quot;$:/core/macros/export&quot;,
&quot;tags&quot;: &quot;$:/tags/Macro&quot;,
&quot;text&quot;: &quot;\\define exportButtonFilename(baseFilename)\n$baseFilename$$(extension)$\n\\end\n\n\\define exportButton(exportFilter:\&quot;[!is[system]sort[title]]\&quot;,lingoBase,baseFilename:\&quot;tiddlers\&quot;)\n&lt;span class=\&quot;tc-popup-keep\&quot;&gt;&lt;$button popup=&lt;&lt;qualify \&quot;$:/state/popup/export\&quot;&gt;&gt; tooltip={{$lingoBase$Hint}} aria-label={{$lingoBase$Caption}} class=&lt;&lt;tv-config-toolbar-class&gt;&gt; selectedClass=\&quot;tc-selected\&quot;&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-icons&gt;match[yes]]\&quot;&gt;\n{{$:/core/images/export-button}}\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-text&gt;match[yes]]\&quot;&gt;\n&lt;span class=\&quot;tc-btn-text\&quot;&gt;&lt;$text text={{$lingoBase$Caption}}/&gt;&lt;/span&gt;\n&lt;/$list&gt;\n&lt;/$button&gt;&lt;/span&gt;&lt;$reveal state=&lt;&lt;qualify \&quot;$:/state/popup/export\&quot;&gt;&gt; type=\&quot;popup\&quot; position=\&quot;below\&quot; animate=\&quot;yes\&quot;&gt;\n&lt;div class=\&quot;tc-drop-down\&quot;&gt;\n&lt;$set name=\&quot;count\&quot; value={{{ [subfilter&lt;__exportFilter__&gt;count[]] }}}&gt;\n&lt;$list filter=\&quot;[all[shadows+tiddlers]tag[$:/tags/Exporter]]\&quot;&gt;\n&lt;$list filter=\&quot;[&lt;currentTiddler&gt;has[condition]subfilter{!!condition}limit[1]] ~[&lt;currentTiddler&gt;!has[condition]then[true]]\&quot; variable=\&quot;ignore\&quot;&gt;\n&lt;$set name=\&quot;extension\&quot; value={{!!extension}}&gt;\n&lt;$button class=\&quot;tc-btn-invisible\&quot;&gt;\n&lt;$action-sendmessage $message=\&quot;tm-download-file\&quot; $param=&lt;&lt;currentTiddler&gt;&gt; exportFilter=&lt;&lt;__exportFilter__&gt;&gt; filename=&lt;&lt;exportButtonFilename \&quot;\&quot;\&quot;$baseFilename$\&quot;\&quot;\&quot;&gt;&gt;/&gt;\n&lt;$action-deletetiddler $tiddler=&lt;&lt;qualify \&quot;$:/state/popup/export\&quot;&gt;&gt;/&gt;\n&lt;$transclude field=\&quot;description\&quot;/&gt;\n&lt;/$button&gt;\n&lt;/$set&gt;\n&lt;/$list&gt;\n&lt;/$list&gt;\n&lt;/$set&gt;\n&lt;/div&gt;\n&lt;/$reveal&gt;\n\\end\n&quot;
},
&quot;$:/core/macros/image-picker&quot;: {
&quot;title&quot;: &quot;$:/core/macros/image-picker&quot;,
&quot;created&quot;: &quot;20170715180840889&quot;,
&quot;modified&quot;: &quot;20170715180914005&quot;,
&quot;tags&quot;: &quot;$:/tags/Macro&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;\\define image-picker-thumbnail(actions)\n&lt;$button tag=\&quot;a\&quot; tooltip=\&quot;\&quot;\&quot;$(imageTitle)$\&quot;\&quot;\&quot;&gt;\n$actions$\n&lt;$transclude tiddler=&lt;&lt;imageTitle&gt;&gt;/&gt;\n&lt;/$button&gt;\n\\end\n\n\\define image-picker-list(filter,actions)\n&lt;$list filter=\&quot;\&quot;\&quot;$filter$\&quot;\&quot;\&quot; variable=\&quot;imageTitle\&quot;&gt;\n&lt;$macrocall $name=\&quot;image-picker-thumbnail\&quot; actions=\&quot;\&quot;\&quot;$actions$\&quot;\&quot;\&quot;/&gt;\n&lt;/$list&gt;\n\\end\n\n\\define image-picker(actions,filter:\&quot;[all[shadows+tiddlers]is[image]] -[type[application/pdf]] +[!has[draft.of]$subfilter$sort[title]]\&quot;,subfilter:\&quot;\&quot;)\n&lt;div class=\&quot;tc-image-chooser\&quot;&gt;\n&lt;$vars state-system=&lt;&lt;qualify \&quot;$:/state/image-picker/system\&quot;&gt;&gt;&gt;\n&lt;$checkbox tiddler=&lt;&lt;state-system&gt;&gt; field=\&quot;text\&quot; checked=\&quot;show\&quot; unchecked=\&quot;hide\&quot; default=\&quot;hide\&quot;&gt;\n{{$:/language/SystemTiddlers/Include/Prompt}}\n&lt;/$checkbox&gt;\n&lt;$reveal state=&lt;&lt;state-system&gt;&gt; type=\&quot;match\&quot; text=\&quot;hide\&quot; default=\&quot;hide\&quot; tag=\&quot;div\&quot;&gt;\n&lt;$macrocall $name=\&quot;image-picker-list\&quot; filter=\&quot;\&quot;\&quot;$filter$ +[!is[system]]\&quot;\&quot;\&quot; actions=\&quot;\&quot;\&quot;$actions$\&quot;\&quot;\&quot;/&gt;\n&lt;/$reveal&gt;\n&lt;$reveal state=&lt;&lt;state-system&gt;&gt; type=\&quot;nomatch\&quot; text=\&quot;hide\&quot; default=\&quot;hide\&quot; tag=\&quot;div\&quot;&gt;\n&lt;$macrocall $name=\&quot;image-picker-list\&quot; filter=\&quot;\&quot;\&quot;$filter$\&quot;\&quot;\&quot; actions=\&quot;\&quot;\&quot;$actions$\&quot;\&quot;\&quot;/&gt;\n&lt;/$reveal&gt;\n&lt;/$vars&gt;\n&lt;/div&gt;\n\\end\n\n\\define image-picker-include-tagged-images(actions)\n&lt;$macrocall $name=\&quot;image-picker\&quot; filter=\&quot;[all[shadows+tiddlers]is[image]] [all[shadows+tiddlers]tag[$:/tags/Image]] -[type[application/pdf]] +[!has[draft.of]sort[title]]\&quot; actions=\&quot;\&quot;\&quot;$actions$\&quot;\&quot;\&quot;/&gt;\n\\end\n&quot;
},
&quot;$:/core/macros/keyboard-driven-input&quot;: {
&quot;title&quot;: &quot;$:/core/macros/keyboard-driven-input&quot;,
&quot;tags&quot;: &quot;$:/tags/Macro&quot;,
&quot;text&quot;: &quot;\\define change-input-tab(stateTitle,tag,beforeafter,defaultState,actions)\n&lt;$set name=\&quot;tabsList\&quot; filter=\&quot;[all[shadows+tiddlers]tag&lt;__tag__&gt;!has[draft.of]]\&quot;&gt;\n&lt;$vars currentState={{{ [&lt;__stateTitle__&gt;!is[missing]get[text]] ~[&lt;__defaultState__&gt;] }}} firstTab={{{ [enlist&lt;tabsList&gt;nth[1]] }}} lastTab={{{ [enlist&lt;tabsList&gt;last[]] }}}&gt;\n&lt;$set name=\&quot;nextTab\&quot; value={{{ [all[shadows+tiddlers]tag&lt;__tag__&gt;!has[draft.of]$beforeafter$&lt;currentState&gt;] ~[[$beforeafter$]removeprefix[after]suffix[]addprefix&lt;firstTab&gt;] ~[[$beforeafter$]removeprefix[before]suffix[]addprefix&lt;lastTab&gt;] }}}&gt;\n&lt;$action-setfield $tiddler=&lt;&lt;__stateTitle__&gt;&gt; text=&lt;&lt;nextTab&gt;&gt;/&gt;\n$actions$\n&lt;/$set&gt;\n&lt;/$vars&gt;\n&lt;/$set&gt;\n\\end\n\n\\define keyboard-input-actions()\n&lt;$list filter=\&quot;[&lt;__index__&gt;match[]]\&quot;&gt;\n&lt;$action-setfield $tiddler=&lt;&lt;__storeTitle__&gt;&gt; text={{{ [&lt;__tiddler__&gt;get&lt;__field__&gt;] }}}/&gt;\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[&lt;__index__&gt;!match[]]\&quot;&gt;\n&lt;$action-setfield $tiddler=&lt;&lt;__storeTitle__&gt;&gt; text={{{ [&lt;__tiddler__&gt;getindex&lt;__index__&gt;] }}}/&gt;\n&lt;/$list&gt;\n\\end\n\n\\define input-next-actions-inner()\n&lt;$list filter=\&quot;[&lt;nextItem&gt;minlength[1]]\&quot; variable=\&quot;ignore\&quot;&gt;\n&lt;$action-setfield $tiddler=&lt;&lt;__selectionStateTitle__&gt;&gt; text=&lt;&lt;nextItem&gt;&gt;/&gt;\n&lt;$list filter=\&quot;[&lt;__index__&gt;match[]]\&quot;&gt;\n&lt;$action-setfield $tiddler=&lt;&lt;__tiddler__&gt;&gt; $field=&lt;&lt;__field__&gt;&gt; $value={{{ [&lt;nextItem&gt;] +[splitregexp[(?:.(?!-))+$]] }}}/&gt;\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[&lt;__index__&gt;!match[]]\&quot;&gt;\n&lt;$action-setfield $tiddler=&lt;&lt;__tiddler__&gt;&gt; $index=&lt;&lt;__index__&gt;&gt; $value={{{ [&lt;nextItem&gt;] +[splitregexp[(?:.(?!-))+$]] }}}/&gt;\n&lt;/$list&gt;\n&lt;$action-setfield $tiddler=&lt;&lt;__refreshTitle__&gt;&gt; text=\&quot;yes\&quot;/&gt;\n&lt;/$list&gt;\n\\end\n\n\\define input-next-actions(afterOrBefore:\&quot;after\&quot;,reverse:\&quot;\&quot;)\n&lt;$list filter=\&quot;[&lt;__storeTitle__&gt;get[text]minlength&lt;__filterMinLength__&gt;] [&lt;__filterMinLength__&gt;match[0]] +[limit[1]]\&quot; variable=\&quot;ignore\&quot;&gt;\n&lt;$vars userInput={{{ [&lt;__storeTitle__&gt;get[text]] }}} selectedItem={{{ [&lt;__selectionStateTitle__&gt;get[text]] }}}&gt;\n&lt;$set name=\&quot;configTiddler\&quot; value={{{ [subfilter&lt;__configTiddlerFilter__&gt;] }}}&gt;\n&lt;$vars primaryListFilter={{{ [&lt;configTiddler&gt;get&lt;__firstSearchFilterField__&gt;] }}} secondaryListFilter={{{ [&lt;configTiddler&gt;get&lt;__secondSearchFilterField__&gt;] }}}&gt;\n&lt;$set name=\&quot;filteredList\&quot; filter=\&quot;[subfilter&lt;primaryListFilter&gt;addsuffix[-primaryList]] =[subfilter&lt;secondaryListFilter&gt;addsuffix[-secondaryList]]\&quot;&gt;\n&lt;$vars nextItem={{{ [enlist&lt;filteredList&gt;$afterOrBefore$&lt;selectedItem&gt;] ~[enlist&lt;filteredList&gt;$reverse$nth[1]] }}} firstItem={{{ [enlist&lt;filteredList&gt;nth[1]] }}} lastItem={{{ [enlist&lt;filteredList&gt;last[]] }}}&gt;\n&lt;$list filter=\&quot;[&lt;selectedItem&gt;match&lt;firstItem&gt;!match&lt;lastItem&gt;]\&quot; variable=\&quot;ignore\&quot;&gt;\n&lt;$set name=\&quot;nextItem\&quot; value={{{ [[$afterOrBefore$]match[before]then&lt;userInput&gt;addsuffix[-userInput]] ~[&lt;nextItem&gt;] }}}&gt;\n&lt;&lt;input-next-actions-inner&gt;&gt;\n&lt;/$set&gt;\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[&lt;selectedItem&gt;match&lt;lastItem&gt;!match&lt;firstItem&gt;]\&quot; variable=\&quot;ignore\&quot;&gt;\n&lt;$set name=\&quot;nextItem\&quot; value={{{ [[$afterOrBefore$]match[after]then&lt;userInput&gt;addsuffix[-userInput]] ~[&lt;nextItem&gt;] }}}&gt;\n&lt;&lt;input-next-actions-inner&gt;&gt;\n&lt;/$set&gt;\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[&lt;selectedItem&gt;match&lt;firstItem&gt;match
},
&quot;$:/core/macros/lingo&quot;: {
&quot;title&quot;: &quot;$:/core/macros/lingo&quot;,
&quot;tags&quot;: &quot;$:/tags/Macro&quot;,
&quot;text&quot;: &quot;\\define lingo-base()\n$:/language/\n\\end\n\n\\define lingo(title)\n{{$(lingo-base)$$title$}}\n\\end\n&quot;
},
&quot;$:/core/macros/list&quot;: {
&quot;title&quot;: &quot;$:/core/macros/list&quot;,
&quot;tags&quot;: &quot;$:/tags/Macro&quot;,
&quot;text&quot;: &quot;\\define list-links(filter,type:\&quot;ul\&quot;,subtype:\&quot;li\&quot;,class:\&quot;\&quot;,emptyMessage)\n\\whitespace trim\n&lt;$type$ class=\&quot;$class$\&quot;&gt;\n&lt;$list filter=\&quot;$filter$\&quot; emptyMessage=&lt;&lt;__emptyMessage__&gt;&gt;&gt;\n&lt;$subtype$&gt;\n&lt;$link to={{!!title}}&gt;\n&lt;$transclude field=\&quot;caption\&quot;&gt;\n&lt;$view field=\&quot;title\&quot;/&gt;\n&lt;/$transclude&gt;\n&lt;/$link&gt;\n&lt;/$subtype$&gt;\n&lt;/$list&gt;\n&lt;/$type$&gt;\n\\end\n\n\\define list-links-draggable-drop-actions()\n&lt;$action-listops $tiddler=&lt;&lt;targetTiddler&gt;&gt; $field=&lt;&lt;targetField&gt;&gt; $subfilter=\&quot;+[insertbefore:currentTiddler&lt;actionTiddler&gt;]\&quot;/&gt;\n\\end\n\n\\define list-links-draggable(tiddler,field:\&quot;list\&quot;,type:\&quot;ul\&quot;,subtype:\&quot;li\&quot;,class:\&quot;\&quot;,itemTemplate)\n\\whitespace trim\n&lt;span class=\&quot;tc-links-draggable-list\&quot;&gt;\n&lt;$vars targetTiddler=\&quot;\&quot;\&quot;$tiddler$\&quot;\&quot;\&quot; targetField=\&quot;\&quot;\&quot;$field$\&quot;\&quot;\&quot;&gt;\n&lt;$type$ class=\&quot;$class$\&quot;&gt;\n&lt;$list filter=\&quot;[list[$tiddler$!!$field$]]\&quot;&gt;\n&lt;$droppable actions=&lt;&lt;list-links-draggable-drop-actions&gt;&gt; tag=\&quot;\&quot;\&quot;$subtype$\&quot;\&quot;\&quot; enable=&lt;&lt;tv-enable-drag-and-drop&gt;&gt;&gt;\n&lt;div class=\&quot;tc-droppable-placeholder\&quot;/&gt;\n&lt;div&gt;\n&lt;$transclude tiddler=\&quot;\&quot;\&quot;$itemTemplate$\&quot;\&quot;\&quot;&gt;\n&lt;$link to={{!!title}}&gt;\n&lt;$transclude field=\&quot;caption\&quot;&gt;\n&lt;$view field=\&quot;title\&quot;/&gt;\n&lt;/$transclude&gt;\n&lt;/$link&gt;\n&lt;/$transclude&gt;\n&lt;/div&gt;\n&lt;/$droppable&gt;\n&lt;/$list&gt;\n&lt;$tiddler tiddler=\&quot;\&quot;&gt;\n&lt;$droppable actions=&lt;&lt;list-links-draggable-drop-actions&gt;&gt; tag=\&quot;div\&quot; enable=&lt;&lt;tv-enable-drag-and-drop&gt;&gt;&gt;\n&lt;div class=\&quot;tc-droppable-placeholder\&quot;&gt;\n{{$:/core/images/blank}}\n&lt;/div&gt;\n&lt;div style=\&quot;height:0.5em;\&quot;/&gt;\n&lt;/$droppable&gt;\n&lt;/$tiddler&gt;\n&lt;/$type$&gt;\n&lt;/$vars&gt;\n&lt;/span&gt;\n\\end\n\n\\define list-tagged-draggable-drop-actions(tag)\n&lt;!-- Save the current ordering of the tiddlers with this tag --&gt;\n&lt;$set name=\&quot;order\&quot; filter=\&quot;[&lt;__tag__&gt;tagging[]]\&quot;&gt;\n&lt;!-- Remove any list-after or list-before fields from the tiddlers with this tag --&gt;\n&lt;$list filter=\&quot;[&lt;__tag__&gt;tagging[]]\&quot;&gt;\n&lt;$action-deletefield $field=\&quot;list-before\&quot;/&gt;\n&lt;$action-deletefield $field=\&quot;list-after\&quot;/&gt;\n&lt;/$list&gt;\n&lt;!-- Save the new order to the Tag Tiddler --&gt;\n&lt;$action-listops $tiddler=&lt;&lt;__tag__&gt;&gt; $field=\&quot;list\&quot; $filter=\&quot;+[enlist&lt;order&gt;] +[insertbefore:currentTiddler&lt;actionTiddler&gt;]\&quot;/&gt;\n&lt;!-- Make sure the newly added item has the right tag --&gt;\n&lt;!-- Removing this line makes dragging tags within the dropdown work as intended --&gt;\n&lt;!--&lt;$action-listops $tiddler=&lt;&lt;actionTiddler&gt;&gt; $tags=&lt;&lt;__tag__&gt;&gt;/&gt;--&gt;\n&lt;!-- Using the following 5 lines as replacement makes dragging titles from outside into the dropdown apply the tag --&gt;\n&lt;$list filter=\&quot;[&lt;actionTiddler&gt;!contains:tags&lt;__tag__&gt;]\&quot;&gt;\n&lt;$fieldmangler tiddler=&lt;&lt;actionTiddler&gt;&gt;&gt;\n&lt;$action-sendmessage $message=\&quot;tm-add-tag\&quot; $param=&lt;&lt;__tag__&gt;&gt;/&gt;\n&lt;/$fieldmangler&gt;\n&lt;/$list&gt;\n&lt;/$set&gt;\n\\end\n\n\\define list-tagged-draggable(tag,subFilter,emptyMessage,itemTemplate,elementTag:\&quot;div\&quot;,storyview:\&quot;\&quot;)\n\\whitespace trim\n&lt;span class=\&quot;tc-tagged-draggable-list\&quot;&gt;\n&lt;$set name=\&quot;tag\&quot; value=&lt;&lt;__tag__&gt;&gt;&gt;\n&lt;$list filter=\&quot;[&lt;__tag__&gt;tagging[]$subFilter$]\&quot; emptyMessage=&lt;&lt;__emptyMessage__&gt;&gt; storyview=&lt;&lt;__
},
&quot;$:/core/macros/tabs&quot;: {
&quot;title&quot;: &quot;$:/core/macros/tabs&quot;,
&quot;tags&quot;: &quot;$:/tags/Macro&quot;,
&quot;text&quot;: &quot;\\define tabs(tabsList,default,state:\&quot;$:/state/tab\&quot;,class,template,buttonTemplate,retain,actions,explicitState)\n&lt;$set name=\&quot;qualifiedState\&quot; value=&lt;&lt;qualify \&quot;$state$\&quot;&gt;&gt;&gt;\n&lt;$vars tabsState={{{ [&lt;__explicitState__&gt;minlength[1]] ~[&lt;qualifiedState&gt;] }}}&gt;\n&lt;div class=\&quot;tc-tab-set $class$\&quot;&gt;\n&lt;div class=\&quot;tc-tab-buttons $class$\&quot;&gt;\n&lt;$list filter=\&quot;$tabsList$\&quot; variable=\&quot;currentTab\&quot; storyview=\&quot;pop\&quot;&gt;&lt;$set name=\&quot;save-currentTiddler\&quot; value=&lt;&lt;currentTiddler&gt;&gt;&gt;&lt;$tiddler tiddler=&lt;&lt;currentTab&gt;&gt;&gt;&lt;$button set=&lt;&lt;tabsState&gt;&gt; setTo=&lt;&lt;currentTab&gt;&gt; default=\&quot;$default$\&quot; selectedClass=\&quot;tc-tab-selected\&quot; tooltip={{!!tooltip}}&gt;\n&lt;$tiddler tiddler=&lt;&lt;save-currentTiddler&gt;&gt;&gt;\n&lt;$set name=\&quot;tv-wikilinks\&quot; value=\&quot;no\&quot;&gt;\n&lt;$transclude tiddler=\&quot;$buttonTemplate$\&quot; mode=\&quot;inline\&quot;&gt;\n&lt;$transclude tiddler=&lt;&lt;currentTab&gt;&gt; field=\&quot;caption\&quot;&gt;\n&lt;$macrocall $name=\&quot;currentTab\&quot; $type=\&quot;text/plain\&quot; $output=\&quot;text/plain\&quot;/&gt;\n&lt;/$transclude&gt;\n&lt;/$transclude&gt;\n&lt;/$set&gt;&lt;/$tiddler&gt;$actions$&lt;/$button&gt;&lt;/$tiddler&gt;&lt;/$set&gt;&lt;/$list&gt;\n&lt;/div&gt;\n&lt;div class=\&quot;tc-tab-divider $class$\&quot;/&gt;\n&lt;div class=\&quot;tc-tab-content $class$\&quot;&gt;\n&lt;$list filter=\&quot;$tabsList$\&quot; variable=\&quot;currentTab\&quot;&gt;\n\n&lt;$reveal type=\&quot;match\&quot; state=&lt;&lt;tabsState&gt;&gt; text=&lt;&lt;currentTab&gt;&gt; default=\&quot;$default$\&quot; retain=\&quot;\&quot;\&quot;$retain$\&quot;\&quot;\&quot;&gt;\n\n&lt;$transclude tiddler=\&quot;$template$\&quot; mode=\&quot;block\&quot;&gt;\n\n&lt;$transclude tiddler=&lt;&lt;currentTab&gt;&gt; mode=\&quot;block\&quot;/&gt;\n\n&lt;/$transclude&gt;\n\n&lt;/$reveal&gt;\n\n&lt;/$list&gt;\n&lt;/div&gt;\n&lt;/div&gt;\n&lt;/$vars&gt;\n&lt;/$set&gt;\n\\end\n&quot;
},
&quot;$:/core/macros/tag-picker&quot;: {
&quot;title&quot;: &quot;$:/core/macros/tag-picker&quot;,
&quot;tags&quot;: &quot;$:/tags/Macro&quot;,
&quot;first-search-filter&quot;: &quot;[tags[]!is[system]search:title&lt;userInput&gt;sort[]]&quot;,
&quot;second-search-filter&quot;: &quot;[tags[]is[system]search:title&lt;userInput&gt;sort[]]&quot;,
&quot;text&quot;: &quot;\\define get-tagpicker-focus-selector() [data-tiddler-title=\&quot;$(currentTiddlerCSSEscaped)$\&quot;] .tc-add-tag-name input\n\n\\define delete-tag-state-tiddlers() &lt;$action-deletetiddler $filter=\&quot;[&lt;newTagNameTiddler&gt;] [&lt;storeTitle&gt;] [&lt;tagSelectionState&gt;]\&quot;/&gt;\n\n\\define add-tag-actions(actions,tagField:\&quot;tags\&quot;)\n&lt;$set name=\&quot;tag\&quot; value={{{ [&lt;__tiddler__&gt;get[text]] }}}&gt;\n&lt;$list filter=\&quot;[&lt;saveTiddler&gt;!contains:$tagField$&lt;tag&gt;!match[]]\&quot; variable=\&quot;ignore\&quot; emptyMessage=\&quot;\&quot;\&quot;\n&lt;$action-listops $tiddler=&lt;&lt;saveTiddler&gt;&gt; $field=&lt;&lt;__tagField__&gt;&gt; $subfilter=\&quot;-[&lt;tag&gt;]\&quot;/&gt;\n\&quot;\&quot;\&quot;&gt;\n&lt;$action-listops $tiddler=&lt;&lt;saveTiddler&gt;&gt; $field=&lt;&lt;__tagField__&gt;&gt; $subfilter=\&quot;[&lt;tag&gt;]\&quot;/&gt;\n$actions$\n&lt;/$list&gt;\n&lt;/$set&gt;\n&lt;&lt;delete-tag-state-tiddlers&gt;&gt;\n&lt;$action-setfield $tiddler=&lt;&lt;refreshTitle&gt;&gt; text=\&quot;yes\&quot;/&gt;\n\\end\n\n\\define clear-tags-actions-inner()\n&lt;$list filter=\&quot;[&lt;storeTitle&gt;has[text]] [&lt;newTagNameTiddler&gt;has[text]]\&quot; variable=\&quot;ignore\&quot; emptyMessage=\&quot;\&quot;\&quot;&lt;&lt;cancel-delete-tiddler-actions \&quot;cancel\&quot;&gt;&gt;\&quot;\&quot;\&quot;&gt;\n&lt;&lt;delete-tag-state-tiddlers&gt;&gt;\n&lt;/$list&gt;\n\\end\n\n\\define clear-tags-actions()\n&lt;$set name=\&quot;userInput\&quot; value={{{ [&lt;storeTitle&gt;get[text]] }}}&gt;\n&lt;$list filter=\&quot;[&lt;newTagNameTiddler&gt;get[text]!match&lt;userInput&gt;]\&quot; emptyMessage=\&quot;\&quot;\&quot;&lt;&lt;clear-tags-actions-inner&gt;&gt;\&quot;\&quot;\&quot;&gt;\n&lt;$action-setfield $tiddler=&lt;&lt;newTagNameTiddler&gt;&gt; text=&lt;&lt;userInput&gt;&gt;/&gt;&lt;$action-setfield $tiddler=&lt;&lt;refreshTitle&gt;&gt; text=\&quot;yes\&quot;/&gt;\n&lt;/$list&gt;\n&lt;/$set&gt;\n\\end\n\n\\define tag-picker-inner(actions,tagField:\&quot;tags\&quot;)\n\\whitespace trim\n&lt;$vars newTagNameInputTiddlerQualified=&lt;&lt;qualify \&quot;$:/temp/NewTagName/input\&quot;&gt;&gt; newTagNameSelectionTiddlerQualified=&lt;&lt;qualify \&quot;$:/temp/NewTagName/selected-item\&quot;&gt;&gt; fallbackTarget={{$(palette)$##tag-background}} colourA={{$(palette)$##foreground}} colourB={{$(palette)$##background}}&gt;\n&lt;$vars storeTitle={{{ [&lt;newTagNameInputTiddler&gt;!match[]] ~[&lt;newTagNameInputTiddlerQualified&gt;] }}} tagSelectionState={{{ [&lt;newTagNameSelectionTiddler&gt;!match[]] ~[&lt;newTagNameSelectionTiddlerQualified&gt;] }}}&gt;\n&lt;$vars refreshTitle=&lt;&lt;qualify \&quot;$:/temp/NewTagName/refresh\&quot;&gt;&gt; nonSystemTagsFilter=\&quot;[tags[]!is[system]search:title&lt;userInput&gt;sort[]]\&quot; systemTagsFilter=\&quot;[tags[]is[system]search:title&lt;userInput&gt;sort[]]\&quot;&gt;\n&lt;div class=\&quot;tc-edit-add-tag\&quot;&gt;\n&lt;div&gt;\n&lt;span class=\&quot;tc-add-tag-name tc-small-gap-right\&quot;&gt;\n&lt;$macrocall $name=\&quot;keyboard-driven-input\&quot; tiddler=&lt;&lt;newTagNameTiddler&gt;&gt; storeTitle=&lt;&lt;storeTitle&gt;&gt; refreshTitle=&lt;&lt;refreshTitle&gt;&gt;\n\t\tselectionStateTitle=&lt;&lt;tagSelectionState&gt;&gt; inputAcceptActions=\&quot;\&quot;\&quot;&lt;$macrocall $name=\&quot;add-tag-actions\&quot; actions=&lt;&lt;__actions__&gt;&gt; tagField=&lt;&lt;__tagField__&gt;&gt;/&gt;\&quot;\&quot;\&quot;\n\t\tinputCancelActions=&lt;&lt;clear-tags-actions&gt;&gt; tag=\&quot;input\&quot; placeholder={{$:/language/EditTemplate/Tags/Add/Placeholder}}\n\t\tfocusPopup=&lt;&lt;qualify \&quot;$:/state/popup/tags-auto-complete\&quot;&gt;&gt; class=\&quot;tc-edit-texteditor tc-popup-handle\&quot; tabindex=&lt;&lt;tabIndex&gt;&gt; \n\t\tfocus={{{ [{$:/config/AutoFocus}match[tags]then[true]] ~[[false]] }}} filterMinLength={{$:/config/Tags/MinLength}} \n\t\tcancelPopups=&lt;&lt;cancelPopups&gt;&gt; configTiddlerFilter=\&quot;[[$:/core/macros/tag-picker]]\&quot;/&gt;\n&lt;/span&gt;&lt;$button popup
},
&quot;$:/core/macros/tag&quot;: {
&quot;title&quot;: &quot;$:/core/macros/tag&quot;,
&quot;tags&quot;: &quot;$:/tags/Macro&quot;,
&quot;text&quot;: &quot;\\define tag-pill-styles()\nbackground-color:$(backgroundColor)$;\nfill:$(foregroundColor)$;\ncolor:$(foregroundColor)$;\n\\end\n\n\\define tag-pill-inner(tag,icon,colour,fallbackTarget,colourA,colourB,element-tag,element-attributes,actions)\n&lt;$vars foregroundColor=&lt;&lt;contrastcolour target:\&quot;\&quot;\&quot;$colour$\&quot;\&quot;\&quot; fallbackTarget:\&quot;\&quot;\&quot;$fallbackTarget$\&quot;\&quot;\&quot; colourA:\&quot;\&quot;\&quot;$colourA$\&quot;\&quot;\&quot; colourB:\&quot;\&quot;\&quot;$colourB$\&quot;\&quot;\&quot;&gt;&gt; backgroundColor=\&quot;\&quot;\&quot;$colour$\&quot;\&quot;\&quot;&gt;\n&lt;$element-tag$ $element-attributes$ class=\&quot;tc-tag-label tc-btn-invisible\&quot; style=&lt;&lt;tag-pill-styles&gt;&gt;&gt;\n$actions$&lt;$transclude tiddler=\&quot;\&quot;\&quot;$icon$\&quot;\&quot;\&quot;/&gt;&lt;$view tiddler=&lt;&lt;__tag__&gt;&gt; field=\&quot;title\&quot; format=\&quot;text\&quot; /&gt;\n&lt;/$element-tag$&gt;\n&lt;/$vars&gt;\n\\end\n\n\\define tag-pill-body(tag,icon,colour,palette,element-tag,element-attributes,actions)\n&lt;$macrocall $name=\&quot;tag-pill-inner\&quot; tag=&lt;&lt;__tag__&gt;&gt; icon=\&quot;\&quot;\&quot;$icon$\&quot;\&quot;\&quot; colour=\&quot;\&quot;\&quot;$colour$\&quot;\&quot;\&quot; fallbackTarget={{$palette$##tag-background}} colourA={{$palette$##foreground}} colourB={{$palette$##background}} element-tag=\&quot;\&quot;\&quot;$element-tag$\&quot;\&quot;\&quot; element-attributes=\&quot;\&quot;\&quot;$element-attributes$\&quot;\&quot;\&quot; actions=\&quot;\&quot;\&quot;$actions$\&quot;\&quot;\&quot;/&gt;\n\\end\n\n\\define tag-pill(tag,element-tag:\&quot;span\&quot;,element-attributes:\&quot;\&quot;,actions:\&quot;\&quot;)\n&lt;span class=\&quot;tc-tag-list-item\&quot;&gt;\n&lt;$macrocall $name=\&quot;tag-pill-body\&quot; tag=&lt;&lt;__tag__&gt;&gt; icon={{{ [&lt;__tag__&gt;get[icon]] }}} colour={{{ [&lt;__tag__&gt;get[color]] }}} palette={{$:/palette}} element-tag=\&quot;\&quot;\&quot;$element-tag$\&quot;\&quot;\&quot; element-attributes=\&quot;\&quot;\&quot;$element-attributes$\&quot;\&quot;\&quot; actions=\&quot;\&quot;\&quot;$actions$\&quot;\&quot;\&quot;/&gt;\n&lt;/span&gt;\n\\end\n\n\\define tag(tag)\n{{$tag$||$:/core/ui/TagTemplate}}\n\\end\n&quot;
},
&quot;$:/core/macros/thumbnails&quot;: {
&quot;title&quot;: &quot;$:/core/macros/thumbnails&quot;,
&quot;tags&quot;: &quot;$:/tags/Macro&quot;,
&quot;text&quot;: &quot;\\define thumbnail(link,icon,color,background-color,image,caption,width:\&quot;280\&quot;,height:\&quot;157\&quot;)\n&lt;$link to=\&quot;\&quot;\&quot;$link$\&quot;\&quot;\&quot;&gt;&lt;div class=\&quot;tc-thumbnail-wrapper\&quot;&gt;\n&lt;div class=\&quot;tc-thumbnail-image\&quot; style=\&quot;width:$width$px;height:$height$px;\&quot;&gt;&lt;$reveal type=\&quot;nomatch\&quot; text=\&quot;\&quot; default=\&quot;\&quot;\&quot;$image$\&quot;\&quot;\&quot; tag=\&quot;div\&quot; style=\&quot;width:$width$px;height:$height$px;\&quot;&gt;\n[img[$image$]]\n&lt;/$reveal&gt;&lt;$reveal type=\&quot;match\&quot; text=\&quot;\&quot; default=\&quot;\&quot;\&quot;$image$\&quot;\&quot;\&quot; tag=\&quot;div\&quot; class=\&quot;tc-thumbnail-background\&quot; style=\&quot;width:$width$px;height:$height$px;background-color:$background-color$;\&quot;&gt;&lt;/$reveal&gt;&lt;/div&gt;&lt;div class=\&quot;tc-thumbnail-icon\&quot; style=\&quot;fill:$color$;color:$color$;\&quot;&gt;\n$icon$\n&lt;/div&gt;&lt;div class=\&quot;tc-thumbnail-caption\&quot;&gt;\n$caption$\n&lt;/div&gt;\n&lt;/div&gt;&lt;/$link&gt;\n\\end\n\n\\define thumbnail-right(link,icon,color,background-color,image,caption,width:\&quot;280\&quot;,height:\&quot;157\&quot;)\n&lt;div class=\&quot;tc-thumbnail-right-wrapper\&quot;&gt;&lt;&lt;thumbnail \&quot;\&quot;\&quot;$link$\&quot;\&quot;\&quot; \&quot;\&quot;\&quot;$icon$\&quot;\&quot;\&quot; \&quot;\&quot;\&quot;$color$\&quot;\&quot;\&quot; \&quot;\&quot;\&quot;$background-color$\&quot;\&quot;\&quot; \&quot;\&quot;\&quot;$image$\&quot;\&quot;\&quot; \&quot;\&quot;\&quot;$caption$\&quot;\&quot;\&quot; \&quot;\&quot;\&quot;$width$\&quot;\&quot;\&quot; \&quot;\&quot;\&quot;$height$\&quot;\&quot;\&quot;&gt;&gt;&lt;/div&gt;\n\\end\n\n\\define list-thumbnails(filter,width:\&quot;280\&quot;,height:\&quot;157\&quot;)\n&lt;$list filter=\&quot;\&quot;\&quot;$filter$\&quot;\&quot;\&quot;&gt;&lt;$macrocall $name=\&quot;thumbnail\&quot; link={{!!link}} icon={{!!icon}} color={{!!color}} background-color={{!!background-color}} image={{!!image}} caption={{!!caption}} width=\&quot;\&quot;\&quot;$width$\&quot;\&quot;\&quot; height=\&quot;\&quot;\&quot;$height$\&quot;\&quot;\&quot;/&gt;&lt;/$list&gt;\n\\end\n&quot;
},
&quot;$:/core/macros/timeline&quot;: {
&quot;title&quot;: &quot;$:/core/macros/timeline&quot;,
&quot;created&quot;: &quot;20141212105914482&quot;,
&quot;modified&quot;: &quot;20141212110330815&quot;,
&quot;tags&quot;: &quot;$:/tags/Macro&quot;,
&quot;text&quot;: &quot;\\define timeline-title()\n\\whitespace trim\n&lt;!-- Override this macro with a global macro \n of the same name if you need to change \n how titles are displayed on the timeline \n --&gt;\n&lt;$view field=\&quot;title\&quot;/&gt;\n\\end\n\\define timeline(limit:\&quot;100\&quot;,format:\&quot;DDth MMM YYYY\&quot;,subfilter:\&quot;\&quot;,dateField:\&quot;modified\&quot;)\n&lt;div class=\&quot;tc-timeline\&quot;&gt;\n&lt;$list filter=\&quot;[!is[system]$subfilter$has[$dateField$]!sort[$dateField$]limit[$limit$]eachday[$dateField$]]\&quot;&gt;\n&lt;div class=\&quot;tc-menu-list-item\&quot;&gt;\n&lt;$view field=\&quot;$dateField$\&quot; format=\&quot;date\&quot; template=\&quot;$format$\&quot;/&gt;\n&lt;$list filter=\&quot;[sameday:$dateField${!!$dateField$}!is[system]$subfilter$!sort[$dateField$]]\&quot;&gt;\n&lt;div class=\&quot;tc-menu-list-subitem\&quot;&gt;\n&lt;$link to={{!!title}}&gt;&lt;&lt;timeline-title&gt;&gt;&lt;/$link&gt;\n&lt;/div&gt;\n&lt;/$list&gt;\n&lt;/div&gt;\n&lt;/$list&gt;\n&lt;/div&gt;\n\\end\n&quot;
},
&quot;$:/core/macros/toc&quot;: {
&quot;title&quot;: &quot;$:/core/macros/toc&quot;,
&quot;tags&quot;: &quot;$:/tags/Macro&quot;,
&quot;text&quot;: &quot;\\define toc-caption()\n&lt;$set name=\&quot;tv-wikilinks\&quot; value=\&quot;no\&quot;&gt;\n &lt;$transclude field=\&quot;caption\&quot;&gt;\n &lt;$view field=\&quot;title\&quot;/&gt;\n &lt;/$transclude&gt;\n&lt;/$set&gt;\n\\end\n\n\\define toc-body(tag,sort:\&quot;\&quot;,itemClassFilter,exclude,path)\n&lt;ol class=\&quot;tc-toc\&quot;&gt;\n &lt;$list filter=\&quot;\&quot;\&quot;[all[shadows+tiddlers]tag&lt;__tag__&gt;!has[draft.of]$sort$] -[&lt;__tag__&gt;] -[enlist&lt;__exclude__&gt;]\&quot;\&quot;\&quot;&gt;\n &lt;$vars item=&lt;&lt;currentTiddler&gt;&gt; path={{{ [&lt;__path__&gt;addsuffix[/]addsuffix&lt;__tag__&gt;] }}}&gt;\n &lt;$set name=\&quot;excluded\&quot; filter=\&quot;\&quot;\&quot;[enlist&lt;__exclude__&gt;] [&lt;__tag__&gt;]\&quot;\&quot;\&quot;&gt;\n &lt;$set name=\&quot;toc-item-class\&quot; filter=&lt;&lt;__itemClassFilter__&gt;&gt; emptyValue=\&quot;toc-item-selected\&quot; value=\&quot;toc-item\&quot;&gt;\n &lt;li class=&lt;&lt;toc-item-class&gt;&gt;&gt;\n &lt;$list filter=\&quot;[all[current]toc-link[no]]\&quot; emptyMessage=\&quot;&lt;$link to={{{ [&lt;currentTiddler&gt;get[target]else&lt;currentTiddler&gt;] }}}&gt;&lt;$view field='caption'&gt;&lt;$view field='title'/&gt;&lt;/$view&gt;&lt;/$link&gt;\&quot;&gt;\n &lt;&lt;toc-caption&gt;&gt;\n &lt;/$list&gt;\n &lt;$macrocall $name=\&quot;toc-body\&quot; tag=&lt;&lt;item&gt;&gt; sort=&lt;&lt;__sort__&gt;&gt; itemClassFilter=&lt;&lt;__itemClassFilter__&gt;&gt; exclude=&lt;&lt;excluded&gt;&gt; path=&lt;&lt;path&gt;&gt;/&gt;\n &lt;/li&gt;\n &lt;/$set&gt;\n &lt;/$set&gt;\n &lt;/$vars&gt;\n &lt;/$list&gt;\n&lt;/ol&gt;\n\\end\n\n\\define toc(tag,sort:\&quot;\&quot;,itemClassFilter:\&quot;\&quot;)\n&lt;$macrocall $name=\&quot;toc-body\&quot; tag=&lt;&lt;__tag__&gt;&gt; sort=&lt;&lt;__sort__&gt;&gt; itemClassFilter=&lt;&lt;__itemClassFilter__&gt;&gt; /&gt;\n\\end\n\n\\define toc-linked-expandable-body(tag,sort:\&quot;\&quot;,itemClassFilter,exclude,path)\n&lt;!-- helper function --&gt;\n&lt;$qualify name=\&quot;toc-state\&quot; title={{{ [[$:/state/toc]addsuffix&lt;__path__&gt;addsuffix[-]addsuffix&lt;currentTiddler&gt;] }}}&gt;\n &lt;$set name=\&quot;toc-item-class\&quot; filter=&lt;&lt;__itemClassFilter__&gt;&gt; emptyValue=\&quot;toc-item-selected\&quot; value=\&quot;toc-item\&quot;&gt;\n &lt;li class=&lt;&lt;toc-item-class&gt;&gt;&gt;\n &lt;$link to={{{ [&lt;currentTiddler&gt;get[target]else&lt;currentTiddler&gt;] }}}&gt;\n &lt;$reveal type=\&quot;nomatch\&quot; stateTitle=&lt;&lt;toc-state&gt;&gt; text=\&quot;open\&quot;&gt;\n &lt;$button setTitle=&lt;&lt;toc-state&gt;&gt; setTo=\&quot;open\&quot; class=\&quot;tc-btn-invisible tc-popup-keep\&quot;&gt;\n {{$:/core/images/right-arrow}}\n &lt;/$button&gt;\n &lt;/$reveal&gt;\n &lt;$reveal type=\&quot;match\&quot; stateTitle=&lt;&lt;toc-state&gt;&gt; text=\&quot;open\&quot;&gt;\n &lt;$button setTitle=&lt;&lt;toc-state&gt;&gt; setTo=\&quot;close\&quot; class=\&quot;tc-btn-invisible tc-popup-keep\&quot;&gt;\n {{$:/core/images/down-arrow}}\n &lt;/$button&gt;\n &lt;/$reveal&gt;\n &lt;&lt;toc-caption&gt;&gt;\n &lt;/$link&gt;\n &lt;$reveal type=\&quot;match\&quot; stateTitle=&lt;&lt;toc-state&gt;&gt; text=\&quot;open\&quot;&gt;\n &lt;$macrocall $name=\&quot;toc-expandable\&quot; tag=&lt;&lt;currentTiddler&gt;&gt; sort=&lt;&lt;__sort__&gt;&gt; itemClassFilter=&lt;&lt;__itemClassFilter__&gt;&gt; exclude=&lt;&lt;__exclude__&gt;&gt; path=&lt;&lt;__path__&gt;&gt;/&gt;\n &lt;/$reveal&gt;\n &lt;/li&gt;\n &lt;/$set&gt;\n&lt;/$qualify&gt;\n\\end\n\n\\define toc-unlinked-expandable-body(tag,sort:\&quot;\&quot;,itemClassFilter,exclude,path)\n&lt;!-- helper function --&gt;\n&lt;$qualify name=\&quot;toc-state\&quot; title={{{ [[$:/state/toc]addsuffix&lt;__path__&gt;addsuffix[-]addsuffix&lt;currentTiddler&gt;] }}}&gt;\n &lt;$set name=\&quot;toc-item-class\&quot; filter=&lt;&lt;__itemClassFilter__
},
&quot;$:/core/macros/translink&quot;: {
&quot;title&quot;: &quot;$:/core/macros/translink&quot;,
&quot;tags&quot;: &quot;$:/tags/Macro&quot;,
&quot;text&quot;: &quot;\\define translink(title,mode:\&quot;block\&quot;)\n&lt;div style=\&quot;border:1px solid #ccc; padding: 0.5em; background: black; foreground; white;\&quot;&gt;\n&lt;$link to=\&quot;\&quot;\&quot;$title$\&quot;\&quot;\&quot;&gt;\n&lt;$text text=\&quot;\&quot;\&quot;$title$\&quot;\&quot;\&quot;/&gt;\n&lt;/$link&gt;\n&lt;div style=\&quot;border:1px solid #ccc; padding: 0.5em; background: white; foreground; black;\&quot;&gt;\n&lt;$transclude tiddler=\&quot;\&quot;\&quot;$title$\&quot;\&quot;\&quot; mode=\&quot;$mode$\&quot;&gt;\n\&quot;&lt;$text text=\&quot;\&quot;\&quot;$title$\&quot;\&quot;\&quot;/&gt;\&quot; is missing\n&lt;/$transclude&gt;\n&lt;/div&gt;\n&lt;/div&gt;\n\\end\n&quot;
},
&quot;$:/core/macros/tree&quot;: {
&quot;title&quot;: &quot;$:/core/macros/tree&quot;,
&quot;tags&quot;: &quot;$:/tags/Macro&quot;,
&quot;text&quot;: &quot;\\define leaf-link(full-title,chunk,separator: \&quot;/\&quot;)\n&lt;$link to=&lt;&lt;__full-title__&gt;&gt;&gt;&lt;$text text=&lt;&lt;__chunk__&gt;&gt;/&gt;&lt;/$link&gt;\n\\end\n\n\\define leaf-node(prefix,chunk)\n&lt;li&gt;\n&lt;$list filter=\&quot;[&lt;__prefix__&gt;addsuffix&lt;__chunk__&gt;is[shadow]] [&lt;__prefix__&gt;addsuffix&lt;__chunk__&gt;is[tiddler]]\&quot; variable=\&quot;full-title\&quot;&gt;\n&lt;$list filter=\&quot;[&lt;full-title&gt;removeprefix&lt;__prefix__&gt;]\&quot; variable=\&quot;chunk\&quot;&gt;\n&lt;span&gt;{{$:/core/images/file}}&lt;/span&gt; &lt;$macrocall $name=\&quot;leaf-link\&quot; full-title=&lt;&lt;full-title&gt;&gt; chunk=&lt;&lt;chunk&gt;&gt;/&gt;\n&lt;/$list&gt;\n&lt;/$list&gt;\n&lt;/li&gt;\n\\end\n\n\\define branch-node(prefix,chunk,separator: \&quot;/\&quot;)\n&lt;li&gt;\n&lt;$set name=\&quot;reveal-state\&quot; value={{{ [[$:/state/tree/]addsuffix&lt;__prefix__&gt;addsuffix&lt;__chunk__&gt;] }}}&gt;\n&lt;$reveal type=\&quot;nomatch\&quot; stateTitle=&lt;&lt;reveal-state&gt;&gt; text=\&quot;show\&quot;&gt;\n&lt;$button setTitle=&lt;&lt;reveal-state&gt;&gt; setTo=\&quot;show\&quot; class=\&quot;tc-btn-invisible\&quot;&gt;\n{{$:/core/images/folder}} &lt;$text text=&lt;&lt;__chunk__&gt;&gt;/&gt;\n&lt;/$button&gt;\n&lt;/$reveal&gt;\n&lt;$reveal type=\&quot;match\&quot; stateTitle=&lt;&lt;reveal-state&gt;&gt; text=\&quot;show\&quot;&gt;\n&lt;$button setTitle=&lt;&lt;reveal-state&gt;&gt; setTo=\&quot;hide\&quot; class=\&quot;tc-btn-invisible\&quot;&gt;\n{{$:/core/images/folder}} &lt;$text text=&lt;&lt;__chunk__&gt;&gt;/&gt;\n&lt;/$button&gt;\n&lt;/$reveal&gt;\n&lt;span&gt;(&lt;$count filter=\&quot;[all[shadows+tiddlers]removeprefix&lt;__prefix__&gt;removeprefix&lt;__chunk__&gt;] -[&lt;__prefix__&gt;addsuffix&lt;__chunk__&gt;]\&quot;/&gt;)&lt;/span&gt;\n&lt;$reveal type=\&quot;match\&quot; stateTitle=&lt;&lt;reveal-state&gt;&gt; text=\&quot;show\&quot;&gt;\n&lt;$macrocall $name=\&quot;tree-node\&quot; prefix={{{ [&lt;__prefix__&gt;addsuffix&lt;__chunk__&gt;] }}} separator=&lt;&lt;__separator__&gt;&gt;/&gt;\n&lt;/$reveal&gt;\n&lt;/$set&gt;\n&lt;/li&gt;\n\\end\n\n\\define tree-node(prefix,separator: \&quot;/\&quot;)\n&lt;ol&gt;\n&lt;$list filter=\&quot;[all[shadows+tiddlers]removeprefix&lt;__prefix__&gt;splitbefore&lt;__separator__&gt;sort[]!suffix&lt;__separator__&gt;]\&quot; variable=\&quot;chunk\&quot;&gt;\n&lt;$macrocall $name=\&quot;leaf-node\&quot; prefix=&lt;&lt;__prefix__&gt;&gt; chunk=&lt;&lt;chunk&gt;&gt; separator=&lt;&lt;__separator__&gt;&gt;/&gt;\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[all[shadows+tiddlers]removeprefix&lt;__prefix__&gt;splitbefore&lt;__separator__&gt;sort[]suffix&lt;__separator__&gt;]\&quot; variable=\&quot;chunk\&quot;&gt;\n&lt;$macrocall $name=\&quot;branch-node\&quot; prefix=&lt;&lt;__prefix__&gt;&gt; chunk=&lt;&lt;chunk&gt;&gt; separator=&lt;&lt;__separator__&gt;&gt;/&gt;\n&lt;/$list&gt;\n&lt;/ol&gt;\n\\end\n\n\\define tree(prefix: \&quot;$:/\&quot;,separator: \&quot;/\&quot;)\n&lt;div class=\&quot;tc-tree\&quot;&gt;\n&lt;span&gt;&lt;$text text=&lt;&lt;__prefix__&gt;&gt;/&gt;&lt;/span&gt;\n&lt;div&gt;\n&lt;$macrocall $name=\&quot;tree-node\&quot; prefix=&lt;&lt;__prefix__&gt;&gt; separator=&lt;&lt;__separator__&gt;&gt;/&gt;\n&lt;/div&gt;\n&lt;/div&gt;\n\\end\n&quot;
},
&quot;$:/core/macros/utils&quot;: {
&quot;title&quot;: &quot;$:/core/macros/utils&quot;,
&quot;text&quot;: &quot;\\define colour(colour)\n$colour$\n\\end\n&quot;
},
&quot;$:/snippets/minifocusswitcher&quot;: {
&quot;title&quot;: &quot;$:/snippets/minifocusswitcher&quot;,
&quot;text&quot;: &quot;&lt;$select tiddler=\&quot;$:/config/AutoFocus\&quot;&gt;\n&lt;$list filter=\&quot;title tags text type fields\&quot;&gt;\n&lt;option value=&lt;&lt;currentTiddler&gt;&gt;&gt;&lt;&lt;currentTiddler&gt;&gt;&lt;/option&gt;\n&lt;/$list&gt;\n&lt;/$select&gt;\n&quot;
},
&quot;$:/snippets/minilanguageswitcher&quot;: {
&quot;title&quot;: &quot;$:/snippets/minilanguageswitcher&quot;,
&quot;text&quot;: &quot;&lt;$select tiddler=\&quot;$:/language\&quot;&gt;\n&lt;$list filter=\&quot;[[$:/languages/en-GB]] [plugin-type[language]sort[title]]\&quot;&gt;\n&lt;option value=&lt;&lt;currentTiddler&gt;&gt;&gt;&lt;$view field=\&quot;description\&quot;&gt;&lt;$view field=\&quot;name\&quot;&gt;&lt;$view field=\&quot;title\&quot;/&gt;&lt;/$view&gt;&lt;/$view&gt;&lt;/option&gt;\n&lt;/$list&gt;\n&lt;/$select&gt;&quot;
},
&quot;$:/snippets/minithemeswitcher&quot;: {
&quot;title&quot;: &quot;$:/snippets/minithemeswitcher&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/ControlPanel/Theme/\n&lt;&lt;lingo Prompt&gt;&gt; &lt;$select tiddler=\&quot;$:/theme\&quot;&gt;\n&lt;$list filter=\&quot;[plugin-type[theme]sort[title]]\&quot;&gt;\n&lt;option value=&lt;&lt;currentTiddler&gt;&gt;&gt;&lt;$view field=\&quot;name\&quot;&gt;&lt;$view field=\&quot;title\&quot;/&gt;&lt;/$view&gt;&lt;/option&gt;\n&lt;/$list&gt;\n&lt;/$select&gt;&quot;
},
&quot;$:/snippets/modules&quot;: {
&quot;title&quot;: &quot;$:/snippets/modules&quot;,
&quot;text&quot;: &quot;\\define describeModuleType(type)\n{{$:/language/Docs/ModuleTypes/$type$}}\n\\end\n&lt;$list filter=\&quot;[moduletypes[]]\&quot;&gt;\n\n!! &lt;$macrocall $name=\&quot;currentTiddler\&quot; $type=\&quot;text/plain\&quot; $output=\&quot;text/plain\&quot;/&gt;\n\n&lt;$macrocall $name=\&quot;describeModuleType\&quot; type=&lt;&lt;currentTiddler&gt;&gt;/&gt;\n\n&lt;ul&gt;&lt;$list filter=\&quot;[all[current]modules[]]\&quot;&gt;&lt;li&gt;&lt;$link&gt;&lt;&lt;currentTiddler&gt;&gt;&lt;/$link&gt;\n&lt;/li&gt;\n&lt;/$list&gt;\n&lt;/ul&gt;\n&lt;/$list&gt;\n&quot;
},
&quot;$:/palette&quot;: {
&quot;title&quot;: &quot;$:/palette&quot;,
&quot;text&quot;: &quot;$:/palettes/Vanilla&quot;
},
&quot;$:/snippets/paletteeditor&quot;: {
&quot;title&quot;: &quot;$:/snippets/paletteeditor&quot;,
&quot;text&quot;: &quot;&lt;$transclude tiddler=\&quot;$:/PaletteManager\&quot;/&gt;\n&quot;
},
&quot;$:/snippets/palettepreview&quot;: {
&quot;title&quot;: &quot;$:/snippets/palettepreview&quot;,
&quot;text&quot;: &quot;&lt;$set name=\&quot;currentTiddler\&quot; value={{$:/palette}}&gt;\n{{||$:/snippets/currpalettepreview}}\n&lt;/$set&gt;\n&quot;
},
&quot;$:/snippets/paletteswitcher&quot;: {
&quot;title&quot;: &quot;$:/snippets/paletteswitcher&quot;,
&quot;text&quot;: &quot;&lt;$linkcatcher to=\&quot;$:/palette\&quot;&gt;\n&lt;div class=\&quot;tc-chooser\&quot;&gt;&lt;$list filter=\&quot;[all[shadows+tiddlers]tag[$:/tags/Palette]sort[name]]\&quot;&gt;&lt;$set name=\&quot;cls\&quot; filter=\&quot;[all[current]prefix{$:/palette}]\&quot; value=\&quot;tc-chooser-item tc-chosen\&quot; emptyValue=\&quot;tc-chooser-item\&quot;&gt;&lt;div class=&lt;&lt;cls&gt;&gt;&gt;&lt;$link to={{!!title}}&gt;''&lt;$view field=\&quot;name\&quot; format=\&quot;text\&quot;/&gt;'' - &lt;$view field=\&quot;description\&quot; format=\&quot;text\&quot;/&gt;{{||$:/snippets/currpalettepreview}}&lt;/$link&gt;\n&lt;/div&gt;&lt;/$set&gt;\n&lt;/$list&gt;\n&lt;/div&gt;\n&lt;/$linkcatcher&gt;\n&quot;
},
&quot;$:/snippets/peek-stylesheets&quot;: {
&quot;title&quot;: &quot;$:/snippets/peek-stylesheets&quot;,
&quot;text&quot;: &quot;\\define expandable-stylesheets-list()\n&lt;ol&gt;\n&lt;$list filter=\&quot;[all[shadows+tiddlers]tag[$:/tags/Stylesheet]!has[draft.of]]\&quot;&gt;\n&lt;$vars state=&lt;&lt;qualify \&quot;$:/state/peek-stylesheets/open/\&quot;&gt;&gt;&gt;\n&lt;$set name=\&quot;state\&quot; value={{{ [&lt;state&gt;addsuffix&lt;currentTiddler&gt;] }}}&gt;\n&lt;li&gt;\n&lt;$reveal type=\&quot;match\&quot; state=&lt;&lt;state&gt;&gt; text=\&quot;yes\&quot; tag=\&quot;span\&quot;&gt;\n&lt;$button set=&lt;&lt;state&gt;&gt; setTo=\&quot;no\&quot; class=\&quot;tc-btn-invisible\&quot;&gt;\n{{$:/core/images/down-arrow}}\n&lt;/$button&gt;\n&lt;/$reveal&gt;\n&lt;$reveal type=\&quot;nomatch\&quot; state=&lt;&lt;state&gt;&gt; text=\&quot;yes\&quot; tag=\&quot;span\&quot;&gt;\n&lt;$button set=&lt;&lt;state&gt;&gt; setTo=\&quot;yes\&quot; class=\&quot;tc-btn-invisible\&quot;&gt;\n{{$:/core/images/right-arrow}}\n&lt;/$button&gt;\n&lt;/$reveal&gt;\n&lt;$link&gt;\n&lt;$view field=\&quot;title\&quot;/&gt;\n&lt;/$link&gt;\n&lt;$reveal type=\&quot;match\&quot; state=&lt;&lt;state&gt;&gt; text=\&quot;yes\&quot; tag=\&quot;div\&quot;&gt;\n&lt;$set name=\&quot;source\&quot; tiddler=&lt;&lt;currentTiddler&gt;&gt;&gt;\n&lt;$wikify name=\&quot;styles\&quot; text=&lt;&lt;source&gt;&gt;&gt;\n&lt;pre&gt;\n&lt;code&gt;\n&lt;$text text=&lt;&lt;styles&gt;&gt;/&gt;\n&lt;/code&gt;\n&lt;/pre&gt;\n&lt;/$wikify&gt;\n&lt;/$set&gt;\n&lt;/$reveal&gt;\n&lt;/li&gt;\n&lt;/$set&gt;\n&lt;/$vars&gt;\n&lt;/$list&gt;\n&lt;/ol&gt;\n\\end\n\n\\define stylesheets-list()\n&lt;ol&gt;\n&lt;$list filter=\&quot;[all[shadows+tiddlers]tag[$:/tags/Stylesheet]!has[draft.of]]\&quot;&gt;\n&lt;li&gt;\n&lt;$link&gt;\n&lt;$view field=\&quot;title\&quot;/&gt;\n&lt;/$link&gt;\n&lt;$set name=\&quot;source\&quot; tiddler=&lt;&lt;currentTiddler&gt;&gt;&gt;\n&lt;$wikify name=\&quot;styles\&quot; text=&lt;&lt;source&gt;&gt;&gt;\n&lt;pre&gt;\n&lt;code&gt;\n&lt;$text text=&lt;&lt;styles&gt;&gt;/&gt;\n&lt;/code&gt;\n&lt;/pre&gt;\n&lt;/$wikify&gt;\n&lt;/$set&gt;\n&lt;/li&gt;\n&lt;/$list&gt;\n&lt;/ol&gt;\n\\end\n\n&lt;$vars modeState=&lt;&lt;qualify \&quot;$:/state/peek-stylesheets/mode/\&quot;&gt;&gt;&gt;\n\n&lt;$reveal type=\&quot;nomatch\&quot; state=&lt;&lt;modeState&gt;&gt; text=\&quot;expanded\&quot; tag=\&quot;div\&quot;&gt;\n&lt;$button set=&lt;&lt;modeState&gt;&gt; setTo=\&quot;expanded\&quot; class=\&quot;tc-btn-invisible\&quot;&gt;{{$:/core/images/chevron-right}} {{$:/language/ControlPanel/Stylesheets/Expand/Caption}}&lt;/$button&gt;\n&lt;/$reveal&gt;\n&lt;$reveal type=\&quot;match\&quot; state=&lt;&lt;modeState&gt;&gt; text=\&quot;expanded\&quot; tag=\&quot;div\&quot;&gt;\n&lt;$button set=&lt;&lt;modeState&gt;&gt; setTo=\&quot;restored\&quot; class=\&quot;tc-btn-invisible\&quot;&gt;{{$:/core/images/chevron-down}} {{$:/language/ControlPanel/Stylesheets/Restore/Caption}}&lt;/$button&gt;\n&lt;/$reveal&gt;\n\n&lt;$reveal type=\&quot;nomatch\&quot; state=&lt;&lt;modeState&gt;&gt; text=\&quot;expanded\&quot; tag=\&quot;div\&quot;&gt;\n&lt;&lt;expandable-stylesheets-list&gt;&gt;\n&lt;/$reveal&gt;\n&lt;$reveal type=\&quot;match\&quot; state=&lt;&lt;modeState&gt;&gt; text=\&quot;expanded\&quot; tag=\&quot;div\&quot;&gt;\n&lt;&lt;stylesheets-list&gt;&gt;\n&lt;/$reveal&gt;\n\n&lt;/$vars&gt;\n&quot;
},
&quot;$:/temp/search&quot;: {
&quot;title&quot;: &quot;$:/temp/search&quot;,
&quot;text&quot;: &quot;&quot;
},
&quot;$:/tags/AdvancedSearch&quot;: {
&quot;title&quot;: &quot;$:/tags/AdvancedSearch&quot;,
&quot;list&quot;: &quot;[[$:/core/ui/AdvancedSearch/Standard]] [[$:/core/ui/AdvancedSearch/System]] [[$:/core/ui/AdvancedSearch/Shadows]] [[$:/core/ui/AdvancedSearch/Filter]]&quot;
},
&quot;$:/tags/AdvancedSearch/FilterButton&quot;: {
&quot;title&quot;: &quot;$:/tags/AdvancedSearch/FilterButton&quot;,
&quot;list&quot;: &quot;$:/core/ui/AdvancedSearch/Filter/FilterButtons/dropdown $:/core/ui/AdvancedSearch/Filter/FilterButtons/clear $:/core/ui/AdvancedSearch/Filter/FilterButtons/export $:/core/ui/AdvancedSearch/Filter/FilterButtons/delete&quot;
},
&quot;$:/tags/ControlPanel&quot;: {
&quot;title&quot;: &quot;$:/tags/ControlPanel&quot;,
&quot;list&quot;: &quot;$:/core/ui/ControlPanel/Info $:/core/ui/ControlPanel/Appearance $:/core/ui/ControlPanel/Settings $:/core/ui/ControlPanel/Saving $:/core/ui/ControlPanel/Plugins $:/core/ui/ControlPanel/Tools $:/core/ui/ControlPanel/Internals&quot;
},
&quot;$:/tags/ControlPanel/Info&quot;: {
&quot;title&quot;: &quot;$:/tags/ControlPanel/Info&quot;,
&quot;list&quot;: &quot;$:/core/ui/ControlPanel/Basics $:/core/ui/ControlPanel/Advanced&quot;
},
&quot;$:/tags/ControlPanel/Plugins&quot;: {
&quot;title&quot;: &quot;$:/tags/ControlPanel/Plugins&quot;,
&quot;list&quot;: &quot;[[$:/core/ui/ControlPanel/Plugins/Installed]] [[$:/core/ui/ControlPanel/Plugins/Add]]&quot;
},
&quot;$:/tags/EditTemplate&quot;: {
&quot;title&quot;: &quot;$:/tags/EditTemplate&quot;,
&quot;list&quot;: &quot;[[$:/core/ui/EditTemplate/controls]] [[$:/core/ui/EditTemplate/title]] [[$:/core/ui/EditTemplate/tags]] [[$:/core/ui/EditTemplate/shadow]] [[$:/core/ui/ViewTemplate/classic]] [[$:/core/ui/EditTemplate/body]] [[$:/core/ui/EditTemplate/type]] [[$:/core/ui/EditTemplate/fields]]&quot;
},
&quot;$:/tags/EditToolbar&quot;: {
&quot;title&quot;: &quot;$:/tags/EditToolbar&quot;,
&quot;list&quot;: &quot;[[$:/core/ui/Buttons/delete]] [[$:/core/ui/Buttons/cancel]] [[$:/core/ui/Buttons/save]]&quot;
},
&quot;$:/tags/EditorToolbar&quot;: {
&quot;title&quot;: &quot;$:/tags/EditorToolbar&quot;,
&quot;list&quot;: &quot;$:/core/ui/EditorToolbar/paint $:/core/ui/EditorToolbar/opacity $:/core/ui/EditorToolbar/line-width $:/core/ui/EditorToolbar/rotate-left $:/core/ui/EditorToolbar/clear $:/core/ui/EditorToolbar/bold $:/core/ui/EditorToolbar/italic $:/core/ui/EditorToolbar/strikethrough $:/core/ui/EditorToolbar/underline $:/core/ui/EditorToolbar/superscript $:/core/ui/EditorToolbar/subscript $:/core/ui/EditorToolbar/mono-line $:/core/ui/EditorToolbar/mono-block $:/core/ui/EditorToolbar/quote $:/core/ui/EditorToolbar/list-bullet $:/core/ui/EditorToolbar/list-number $:/core/ui/EditorToolbar/heading-1 $:/core/ui/EditorToolbar/heading-2 $:/core/ui/EditorToolbar/heading-3 $:/core/ui/EditorToolbar/heading-4 $:/core/ui/EditorToolbar/heading-5 $:/core/ui/EditorToolbar/heading-6 $:/core/ui/EditorToolbar/link $:/core/ui/EditorToolbar/excise $:/core/ui/EditorToolbar/picture $:/core/ui/EditorToolbar/stamp $:/core/ui/EditorToolbar/size $:/core/ui/EditorToolbar/editor-height $:/core/ui/EditorToolbar/more $:/core/ui/EditorToolbar/preview $:/core/ui/EditorToolbar/preview-type&quot;
},
&quot;$:/tags/Manager/ItemMain&quot;: {
&quot;title&quot;: &quot;$:/tags/Manager/ItemMain&quot;,
&quot;list&quot;: &quot;$:/Manager/ItemMain/WikifiedText $:/Manager/ItemMain/RawText $:/Manager/ItemMain/Fields&quot;
},
&quot;$:/tags/Manager/ItemSidebar&quot;: {
&quot;title&quot;: &quot;$:/tags/Manager/ItemSidebar&quot;,
&quot;list&quot;: &quot;$:/Manager/ItemSidebar/Tags $:/Manager/ItemSidebar/Colour $:/Manager/ItemSidebar/Icon $:/Manager/ItemSidebar/Tools&quot;
},
&quot;$:/tags/MoreSideBar&quot;: {
&quot;title&quot;: &quot;$:/tags/MoreSideBar&quot;,
&quot;list&quot;: &quot;[[$:/core/ui/MoreSideBar/All]] [[$:/core/ui/MoreSideBar/Recent]] [[$:/core/ui/MoreSideBar/Tags]] [[$:/core/ui/MoreSideBar/Missing]] [[$:/core/ui/MoreSideBar/Drafts]] [[$:/core/ui/MoreSideBar/Orphans]] [[$:/core/ui/MoreSideBar/Types]] [[$:/core/ui/MoreSideBar/System]] [[$:/core/ui/MoreSideBar/Shadows]] [[$:/core/ui/MoreSideBar/Explorer]] [[$:/core/ui/MoreSideBar/Plugins]]&quot;,
&quot;text&quot;: &quot;&quot;
},
&quot;$:/tags/PageControls&quot;: {
&quot;title&quot;: &quot;$:/tags/PageControls&quot;,
&quot;list&quot;: &quot;[[$:/core/ui/Buttons/home]] [[$:/core/ui/Buttons/close-all]] [[$:/core/ui/Buttons/fold-all]] [[$:/core/ui/Buttons/unfold-all]] [[$:/core/ui/Buttons/permaview]] [[$:/core/ui/Buttons/new-tiddler]] [[$:/core/ui/Buttons/new-journal]] [[$:/core/ui/Buttons/new-image]] [[$:/core/ui/Buttons/import]] [[$:/core/ui/Buttons/export-page]] [[$:/core/ui/Buttons/control-panel]] [[$:/core/ui/Buttons/advanced-search]] [[$:/core/ui/Buttons/manager]] [[$:/core/ui/Buttons/tag-manager]] [[$:/core/ui/Buttons/language]] [[$:/core/ui/Buttons/palette]] [[$:/core/ui/Buttons/theme]] [[$:/core/ui/Buttons/storyview]] [[$:/core/ui/Buttons/encryption]] [[$:/core/ui/Buttons/timestamp]] [[$:/core/ui/Buttons/full-screen]] [[$:/core/ui/Buttons/print]] [[$:/core/ui/Buttons/save-wiki]] [[$:/core/ui/Buttons/refresh]] [[$:/core/ui/Buttons/more-page-actions]]&quot;
},
&quot;$:/tags/PageTemplate&quot;: {
&quot;title&quot;: &quot;$:/tags/PageTemplate&quot;,
&quot;list&quot;: &quot;[[$:/core/ui/PageTemplate/topleftbar]] [[$:/core/ui/PageTemplate/toprightbar]] [[$:/core/ui/PageTemplate/sidebar]] [[$:/core/ui/PageTemplate/story]] [[$:/core/ui/PageTemplate/alerts]]&quot;,
&quot;text&quot;: &quot;&quot;
},
&quot;$:/tags/PluginLibrary&quot;: {
&quot;title&quot;: &quot;$:/tags/PluginLibrary&quot;,
&quot;list&quot;: &quot;$:/config/OfficialPluginLibrary&quot;
},
&quot;$:/tags/SideBar&quot;: {
&quot;title&quot;: &quot;$:/tags/SideBar&quot;,
&quot;list&quot;: &quot;[[$:/core/ui/SideBar/Open]] [[$:/core/ui/SideBar/Recent]] [[$:/core/ui/SideBar/Tools]] [[$:/core/ui/SideBar/More]]&quot;,
&quot;text&quot;: &quot;&quot;
},
&quot;$:/tags/SideBarSegment&quot;: {
&quot;title&quot;: &quot;$:/tags/SideBarSegment&quot;,
&quot;list&quot;: &quot;[[$:/core/ui/SideBarSegments/site-title]] [[$:/core/ui/SideBarSegments/site-subtitle]] [[$:/core/ui/SideBarSegments/page-controls]] [[$:/core/ui/SideBarSegments/search]] [[$:/core/ui/SideBarSegments/tabs]]&quot;
},
&quot;$:/tags/TiddlerInfo&quot;: {
&quot;title&quot;: &quot;$:/tags/TiddlerInfo&quot;,
&quot;list&quot;: &quot;[[$:/core/ui/TiddlerInfo/Tools]] [[$:/core/ui/TiddlerInfo/References]] [[$:/core/ui/TiddlerInfo/Tagging]] [[$:/core/ui/TiddlerInfo/List]] [[$:/core/ui/TiddlerInfo/Listed]] [[$:/core/ui/TiddlerInfo/Fields]]&quot;,
&quot;text&quot;: &quot;&quot;
},
&quot;$:/tags/TiddlerInfo/Advanced&quot;: {
&quot;title&quot;: &quot;$:/tags/TiddlerInfo/Advanced&quot;,
&quot;list&quot;: &quot;[[$:/core/ui/TiddlerInfo/Advanced/ShadowInfo]] [[$:/core/ui/TiddlerInfo/Advanced/PluginInfo]]&quot;
},
&quot;$:/tags/ViewTemplate&quot;: {
&quot;title&quot;: &quot;$:/tags/ViewTemplate&quot;,
&quot;list&quot;: &quot;[[$:/core/ui/ViewTemplate/title]] [[$:/core/ui/ViewTemplate/unfold]] [[$:/core/ui/ViewTemplate/subtitle]] [[$:/core/ui/ViewTemplate/tags]] [[$:/core/ui/ViewTemplate/classic]] [[$:/core/ui/ViewTemplate/body]]&quot;
},
&quot;$:/tags/ViewToolbar&quot;: {
&quot;title&quot;: &quot;$:/tags/ViewToolbar&quot;,
&quot;list&quot;: &quot;[[$:/core/ui/Buttons/more-tiddler-actions]] [[$:/core/ui/Buttons/info]] [[$:/core/ui/Buttons/new-here]] [[$:/core/ui/Buttons/new-journal-here]] [[$:/core/ui/Buttons/clone]] [[$:/core/ui/Buttons/export-tiddler]] [[$:/core/ui/Buttons/edit]] [[$:/core/ui/Buttons/delete]] [[$:/core/ui/Buttons/permalink]] [[$:/core/ui/Buttons/permaview]] [[$:/core/ui/Buttons/open-window]] [[$:/core/ui/Buttons/close-others]] [[$:/core/ui/Buttons/close]] [[$:/core/ui/Buttons/fold-others]] [[$:/core/ui/Buttons/fold]]&quot;
},
&quot;$:/snippets/themeswitcher&quot;: {
&quot;title&quot;: &quot;$:/snippets/themeswitcher&quot;,
&quot;text&quot;: &quot;&lt;$linkcatcher to=\&quot;$:/theme\&quot;&gt;\n&lt;div class=\&quot;tc-chooser\&quot;&gt;&lt;$list filter=\&quot;[plugin-type[theme]sort[title]]\&quot;&gt;&lt;$set name=\&quot;cls\&quot; filter=\&quot;[all[current]field:title{$:/theme}] [[$:/theme]!has[text]addsuffix[s/tiddlywiki/vanilla]field:title&lt;currentTiddler&gt;] +[limit[1]]\&quot; value=\&quot;tc-chooser-item tc-chosen\&quot; emptyValue=\&quot;tc-chooser-item\&quot;&gt;&lt;div class=&lt;&lt;cls&gt;&gt;&gt;&lt;$link to={{!!title}}&gt;''&lt;$view field=\&quot;name\&quot; format=\&quot;text\&quot;/&gt;'' &lt;$view field=\&quot;description\&quot; format=\&quot;text\&quot;/&gt;&lt;/$link&gt;&lt;/div&gt;\n&lt;/$set&gt;\n&lt;/$list&gt;\n&lt;/div&gt;\n&lt;/$linkcatcher&gt;&quot;
},
&quot;$:/core/wiki/title&quot;: {
&quot;title&quot;: &quot;$:/core/wiki/title&quot;,
&quot;text&quot;: &quot;{{$:/SiteTitle}} --- {{$:/SiteSubtitle}}&quot;
},
&quot;$:/view&quot;: {
&quot;title&quot;: &quot;$:/view&quot;,
&quot;text&quot;: &quot;classic&quot;
},
&quot;$:/snippets/viewswitcher&quot;: {
&quot;title&quot;: &quot;$:/snippets/viewswitcher&quot;,
&quot;text&quot;: &quot;\\define icon()\n$:/core/images/storyview-$(storyview)$\n\\end\n&lt;$linkcatcher to=\&quot;$:/view\&quot;&gt;\n&lt;div class=\&quot;tc-chooser tc-viewswitcher\&quot;&gt;\n&lt;$list filter=\&quot;[storyviews[]]\&quot; variable=\&quot;storyview\&quot;&gt;\n&lt;$set name=\&quot;cls\&quot; filter=\&quot;[&lt;storyview&gt;prefix{$:/view}]\&quot; value=\&quot;tc-chooser-item tc-chosen\&quot; emptyValue=\&quot;tc-chooser-item\&quot;&gt;&lt;div class=&lt;&lt;cls&gt;&gt;&gt;\n&lt;$link to=&lt;&lt;storyview&gt;&gt;&gt;&lt;$transclude tiddler=&lt;&lt;icon&gt;&gt;/&gt;&lt;$text text=&lt;&lt;storyview&gt;&gt;/&gt;&lt;/$link&gt;\n&lt;/div&gt;\n&lt;/$set&gt;\n&lt;/$list&gt;\n&lt;/div&gt;\n&lt;/$linkcatcher&gt;&quot;
}
}
}</pre>
</div>
<div created="20200329173823386" description="{{$:/language/Filters/AllTags}}" filter="[tags[]!is[system]sort[title]sort[color]]" modified="20210414230511254" tags="$:/tags/Filter" title="$:/core/Filters/AllTags" type="text/vnd.tiddlywiki">
<pre></pre>
</div>
<div created="20210205020444088" creator="soren" first-search-filter="[tags[]!is[system]search:title&lt;userInput&gt;sort[]sort[color]]" modified="20210825130424785" modifier="soren" second-search-filter="[tags[]is[system]search:title&lt;userInput&gt;sort[]sort[color]]" tags="$:/tags/Macro" title="$:/core/macros/tag-picker" type="text/vnd.tiddlywiki">
<pre>\define get-tagpicker-focus-selector() [data-tiddler-title=&quot;$(currentTiddlerCSSEscaped)$&quot;] .tc-add-tag-name input
\define delete-tag-state-tiddlers() &lt;$action-deletetiddler $filter=&quot;[&lt;newTagNameTiddler&gt;] [&lt;storeTitle&gt;] [&lt;tagSelectionState&gt;]&quot;/&gt;
\define add-tag-actions(actions,tagField:&quot;tags&quot;)
&lt;$set name=&quot;tag&quot; value={{{ [&lt;__tiddler__&gt;get[text]] }}}&gt;
&lt;$list filter=&quot;[&lt;saveTiddler&gt;!contains:$tagField$&lt;tag&gt;!match[]]&quot; variable=&quot;ignore&quot; emptyMessage=&quot;&quot;&quot;
&lt;$action-listops $tiddler=&lt;&lt;saveTiddler&gt;&gt; $field=&lt;&lt;__tagField__&gt;&gt; $subfilter=&quot;-[&lt;tag&gt;]&quot;/&gt;
&quot;&quot;&quot;&gt;
&lt;$action-listops $tiddler=&lt;&lt;saveTiddler&gt;&gt; $field=&lt;&lt;__tagField__&gt;&gt; $subfilter=&quot;[&lt;tag&gt;]&quot;/&gt;
$actions$
&lt;/$list&gt;
&lt;/$set&gt;
&lt;&lt;delete-tag-state-tiddlers&gt;&gt;
&lt;$action-setfield $tiddler=&lt;&lt;refreshTitle&gt;&gt; text=&quot;yes&quot;/&gt;
\end
\define clear-tags-actions-inner()
&lt;$list filter=&quot;[&lt;storeTitle&gt;has[text]] [&lt;newTagNameTiddler&gt;has[text]]&quot; variable=&quot;ignore&quot; emptyMessage=&quot;&quot;&quot;&lt;&lt;cancel-delete-tiddler-actions &quot;cancel&quot;&gt;&gt;&quot;&quot;&quot;&gt;
&lt;&lt;delete-tag-state-tiddlers&gt;&gt;
&lt;/$list&gt;
\end
\define clear-tags-actions()
&lt;$set name=&quot;userInput&quot; value={{{ [&lt;storeTitle&gt;get[text]] }}}&gt;
&lt;$list filter=&quot;[&lt;newTagNameTiddler&gt;get[text]!match&lt;userInput&gt;]&quot; emptyMessage=&quot;&quot;&quot;&lt;&lt;clear-tags-actions-inner&gt;&gt;&quot;&quot;&quot;&gt;
&lt;$action-setfield $tiddler=&lt;&lt;newTagNameTiddler&gt;&gt; text=&lt;&lt;userInput&gt;&gt;/&gt;&lt;$action-setfield $tiddler=&lt;&lt;refreshTitle&gt;&gt; text=&quot;yes&quot;/&gt;
&lt;/$list&gt;
&lt;/$set&gt;
\end
\define tag-picker-inner(actions,tagField:&quot;tags&quot;)
\whitespace trim
&lt;$vars newTagNameInputTiddlerQualified=&lt;&lt;qualify &quot;$:/temp/NewTagName/input&quot;&gt;&gt; newTagNameSelectionTiddlerQualified=&lt;&lt;qualify &quot;$:/temp/NewTagName/selected-item&quot;&gt;&gt; fallbackTarget={{$(palette)$##tag-background}} colourA={{$(palette)$##foreground}} colourB={{$(palette)$##background}}&gt;
&lt;$vars storeTitle={{{ [&lt;newTagNameInputTiddler&gt;!match[]] ~[&lt;newTagNameInputTiddlerQualified&gt;] }}} tagSelectionState={{{ [&lt;newTagNameSelectionTiddler&gt;!match[]] ~[&lt;newTagNameSelectionTiddlerQualified&gt;] }}}&gt;
&lt;$vars refreshTitle=&lt;&lt;qualify &quot;$:/temp/NewTagName/refresh&quot;&gt;&gt; nonSystemTagsFilter=&quot;[tags[]!is[system]search:title&lt;userInput&gt;sort[]sort[color]]&quot; systemTagsFilter=&quot;[tags[]is[system]search:title&lt;userInput&gt;sort[]sort[color]]&quot;&gt;
&lt;div class=&quot;tc-edit-add-tag&quot;&gt;
&lt;div&gt;
&lt;span class=&quot;tc-add-tag-name tc-small-gap-right&quot;&gt;
&lt;$macrocall $name=&quot;keyboard-driven-input&quot; tiddler=&lt;&lt;newTagNameTiddler&gt;&gt; storeTitle=&lt;&lt;storeTitle&gt;&gt; refreshTitle=&lt;&lt;refreshTitle&gt;&gt;
selectionStateTitle=&lt;&lt;tagSelectionState&gt;&gt; inputAcceptActions=&quot;&quot;&quot;&lt;$macrocall $name=&quot;add-tag-actions&quot; actions=&lt;&lt;__actions__&gt;&gt; tagField=&lt;&lt;__tagField__&gt;&gt;/&gt;&quot;&quot;&quot;
inputCancelActions=&lt;&lt;clear-tags-actions&gt;&gt; tag=&quot;input&quot; placeholder={{$:/language/EditTemplate/Tags/Add/Placeholder}}
focusPopup=&lt;&lt;qualify &quot;$:/state/popup/tags-auto-complete&quot;&gt;&gt; class=&quot;tc-edit-texteditor tc-popup-handle&quot; tabindex=&lt;&lt;tabIndex&gt;&gt;
focus={{{ [{$:/config/AutoFocus}match[tags]then[true]] ~[[false]] }}} filterMinLength={{$:/config/Tags/MinLength}}
cancelPopups=&lt;&lt;cancelPopups&gt;&gt; configTiddlerFilter=&quot;[[$:/core/macros/tag-picker]]&quot;/&gt;
&lt;/span&gt;&lt;$button popup=&lt;&lt;qualify &quot;$:/state/popup/tags-auto-complete&quot;&gt;&gt; class=&quot;tc-btn-invisible tc-btn-dropdown&quot; tooltip={{$:/language/EditTemplate/Tags/Dropdown/Hint}} aria-label={{$:/language/EditTemplate/Tags/Dropdown/Caption}}&gt;{{$:/core/images/down-arrow}}&lt;/$button&gt;&lt;$reveal state=&lt;&lt;storeTitle&gt;&gt; type=&quot;nomatch&quot; text=&quot;&quot;&gt;&lt;$button class=&quot;tc-btn-invisible tc-small-gap tc-btn-dropdown&quot; tooltip={{$:/language/EditTemplate/Tags/ClearInput/Hint}} aria-label={{$:/language/EditTemplate/Tags/ClearInput/Caption}}&gt;{{$:/core/images/close-button}}&lt;&lt;delete-tag-state-tiddlers&gt;&gt;&lt;/$button&gt;&lt;/$reveal&gt;&lt;span class=&quot;tc-add-tag-button tc-small-gap-left&quot;&gt;
&lt;$set name=&quot;tag&quot; value={{{ [&lt;newTagNameTiddler&gt;get[text]] }}}&gt;
&lt;$button set=&lt;&lt;newTagNameTiddler&gt;&gt; setTo=&quot;&quot; class=&quot;&quot;&gt;
&lt;$action-listops $tiddler=&lt;&lt;saveTiddler&gt;&gt; $field=&lt;&lt;__tagField__&gt;&gt; $subfilter=&quot;[&lt;tag&gt;]&quot;/&gt;
$actions$
&lt;$set name=&quot;currentTiddlerCSSEscaped&quot; value={{{ [&lt;saveTiddler&gt;escapecss[]] }}}&gt;
&lt;&lt;delete-tag-state-tiddlers&gt;&gt;&lt;$action-sendmessage $message=&quot;tm-focus-selector&quot; $param=&lt;&lt;get-tagpicker-focus-selector&gt;&gt;/&gt;
&lt;/$set&gt;
{{$:/language/EditTemplate/Tags/Add/Button}}
&lt;/$button&gt;
&lt;/$set&gt;
&lt;/span&gt;
&lt;/div&gt;
&lt;div class=&quot;tc-block-dropdown-wrapper&quot;&gt;
&lt;$reveal state=&lt;&lt;qualify &quot;$:/state/popup/tags-auto-complete&quot;&gt;&gt; type=&quot;nomatch&quot; text=&quot;&quot; default=&quot;&quot;&gt;
&lt;div class=&quot;tc-block-dropdown tc-block-tags-dropdown fourcolumns&quot;&gt;
&lt;$set name=&quot;userInput&quot; value={{{ [&lt;storeTitle&gt;get[text]] }}}&gt;
&lt;$list filter=&quot;[&lt;userInput&gt;minlength{$:/config/Tags/MinLength}limit[1]]&quot; emptyMessage=&quot;&quot;&quot;&lt;div class=&quot;tc-search-results&quot;&gt;{{$:/language/Search/Search/TooShort}}&lt;/div&gt;&quot;&quot;&quot; variable=&quot;listItem&quot;&gt;
&lt;$list filter=&lt;&lt;nonSystemTagsFilter&gt;&gt; variable=&quot;tag&quot;&gt;
&lt;$list filter=&quot;[&lt;tag&gt;addsuffix[-primaryList]] -[&lt;tagSelectionState&gt;get[text]]&quot; emptyMessage=&quot;&quot;&quot;&lt;$vars button-classes=&quot;tc-btn-invisible tc-tag-button-selected&quot; actions=&lt;&lt;__actions__&gt;&gt; tagField=&lt;&lt;__tagField__&gt;&gt; currentTiddler=&lt;&lt;tag&gt;&gt;&gt;{{||$:/core/ui/TagPickerTagTemplate}}&lt;/$vars&gt;&quot;&quot;&quot;&gt;
&lt;$vars button-classes=&quot;tc-btn-invisible&quot; actions=&lt;&lt;__actions__&gt;&gt; tagField=&lt;&lt;__tagField__&gt;&gt; currentTiddler=&lt;&lt;tag&gt;&gt;&gt;{{||$:/core/ui/TagPickerTagTemplate}}&lt;/$vars&gt;
&lt;/$list&gt;
&lt;/$list&gt;&lt;/$list&gt;
&lt;hr&gt;
&lt;$list filter=&quot;[&lt;userInput&gt;minlength{$:/config/Tags/MinLength}limit[1]]&quot; emptyMessage=&quot;&quot;&quot;&lt;div class=&quot;tc-search-results&quot;&gt;{{$:/language/Search/Search/TooShort}}&lt;/div&gt;&quot;&quot;&quot; variable=&quot;listItem&quot;&gt;
&lt;$list filter=&lt;&lt;systemTagsFilter&gt;&gt; variable=&quot;tag&quot;&gt;
&lt;$list filter=&quot;[&lt;tag&gt;addsuffix[-secondaryList]] -[&lt;tagSelectionState&gt;get[text]]&quot; emptyMessage=&quot;&quot;&quot;&lt;$vars button-classes=&quot;tc-btn-invisible tc-tag-button-selected&quot; actions=&lt;&lt;__actions__&gt;&gt; tagField=&lt;&lt;__tagField__&gt;&gt; currentTiddler=&lt;&lt;tag&gt;&gt;&gt;{{||$:/core/ui/TagPickerTagTemplate}}&lt;/$vars&gt;&quot;&quot;&quot;&gt;
&lt;$vars button-classes=&quot;tc-btn-invisible&quot; actions=&lt;&lt;__actions__&gt;&gt; tagField=&lt;&lt;__tagField__&gt;&gt; currentTiddler=&lt;&lt;tag&gt;&gt;&gt;{{||$:/core/ui/TagPickerTagTemplate}}&lt;/$vars&gt;
&lt;/$list&gt;
&lt;/$list&gt;&lt;/$list&gt;
&lt;/$set&gt;
&lt;/div&gt;
&lt;/$reveal&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/$vars&gt;
&lt;/$vars&gt;
&lt;/$vars&gt;
\end
\define tag-picker(actions,tagField:&quot;tags&quot;)
\whitespace trim
&lt;$vars saveTiddler=&lt;&lt;currentTiddler&gt;&gt; palette={{$:/palette}}&gt;
&lt;$list filter=&quot;[&lt;newTagNameTiddler&gt;match[]]&quot; emptyMessage=&quot;&quot;&quot;&lt;$macrocall $name=&quot;tag-picker-inner&quot; actions=&lt;&lt;__actions__&gt;&gt; tagField=&lt;&lt;__tagField__&gt;&gt;/&gt;&quot;&quot;&quot;&gt;
&lt;$set name=&quot;newTagNameTiddler&quot; value=&lt;&lt;qualify &quot;$:/temp/NewTagName&quot;&gt;&gt;&gt;
&lt;$macrocall $name=&quot;tag-picker-inner&quot; actions=&lt;&lt;__actions__&gt;&gt; tagField=&lt;&lt;__tagField__&gt;&gt;/&gt;
&lt;/$set&gt;
&lt;/$list&gt;
&lt;/$vars&gt;
\end
</pre>
</div>
<div created="20160328022859019" modified="20201211141928688" module-type="texteditoroperation" tags="" title="$:/core/modules/editor-operations/text/fancyquotes.js" type="application/javascript">
<pre>/*\
title: $:/core/modules/editor-operations/text/replace-selection.js
type: application/javascript
module-type: texteditoroperation
Text editor operation to replace the selection
\*/
(function(){
/*jslint node: true, browser: true */
/*global $tw: false */
&quot;use strict&quot;;
exports[&quot;fancyquotes&quot;] = function(event,operation) {
var listtext=operation.selection;
// ellipsis
listtext= listtext.replace(/\.\.\./gm,'…');
// opening quotes
listtext= listtext.replace(/([\\n \(\t])\&quot;/gm,'$1“');
listtext= listtext.replace(/([\\n \(\t])\'/gm,'$1');
//substitute prime and double prime if following numbers
listtext= listtext.replace(/([0-9])'/gm,'$1');
listtext= listtext.replace(/([0-9])&quot;/gm,'$1″');
//rearrange &quot;. to .&quot;
// remove this one because it is only Americans who insist on this.
// listtext= listtext.replace(/&quot;([.!?])/gm,'$1”');
// closing quote
listtext= listtext.replace(/([?!.,])&quot;([\n \t\)])/gm,'$1”$2');
listtext= listtext.replace(/&quot;([!?., ][\n \t\)])/gm,'”$1');
listtext= listtext.replace(/'([\n \t])/gm,'$1');
listtext= listtext.replace(/'([!?.])/gm,'$1');
//apostrophes
listtext= listtext.replace(/([a-zA-Z])'([a-zA-Z])/gm,'$1$2');
//convert post sentence double space to single
listtext= listtext.replace(/([\.?!] ) /gm,'$1');
//convert x to × when between numbers
// SIB: this broke URLs for me
// listtext= listtext.replace(/([0-9])x([0-9])/gm,'$1×$2');
//convert superscript small o to °
listtext= listtext.replace(/\^\^o\^\^/gm,'°');
//convert ens and ems
// listtext= listtext.replace(/--/gm,'');
// listtext= listtext.replace(/---/gm,'—');
operation.replacement=listtext;
operation.cutStart = operation.selStart;
operation.cutEnd = operation.selEnd;
operation.newSelStart = operation.selStart;
operation.newSelEnd = operation.selStart + operation.replacement.length;
};
})();
</pre>
</div>
<div created="20201031142744332" modified="20201031142744139" title="$:/core/templates/canonical-uri-external-image" type="text/vnd.tiddlywiki">
<pre>&lt;!--
This template is used to assign the ''_canonical_uri'' field to external images.
Change the `./images/` part to a different base URI. The URI can be relative or absolute.
--&gt;
./extimage/&lt;$view field=&quot;title&quot; format=&quot;doubleurlencoded&quot;/&gt;</pre>
</div>
<div caption="{{$:/language/SideBar/Open/Caption}}" created="20201126152706945" modified="20201126152652516" tags="$:/tags/SideBar" title="$:/core/ui/SideBar/Open" type="text/vnd.tiddlywiki">
<pre>\whitespace trim
\define lingo-base() $:/language/CloseAll/
\define drop-actions()
&lt;$action-listops $tiddler=&lt;&lt;tv-story-list&gt;&gt; $subfilter=&quot;+[insertbefore:currentTiddler&lt;actionTiddler&gt;]&quot;/&gt;
\end
\define placeholder()
&lt;div class=&quot;tc-droppable-placeholder&quot;/&gt;
\end
\define droppable-item(button)
\whitespace trim
&lt;$droppable actions=&lt;&lt;drop-actions&gt;&gt; enable=&lt;&lt;tv-allow-drag-and-drop&gt;&gt;&gt;
&lt;&lt;placeholder&gt;&gt;
&lt;div&gt;
$button$
&lt;/div&gt;
&lt;/$droppable&gt;
\end
&lt;div class=&quot;tc-sidebar-tab-open&quot;&gt;
&lt;$list filter=&quot;[list&lt;tv-story-list&gt;]&quot; history=&lt;&lt;tv-history-list&gt;&gt; storyview=&quot;pop&quot;&gt;
&lt;div class=&quot;tc-sidebar-tab-open-item&quot;&gt;
&lt;$macrocall $name=&quot;droppable-item&quot; button=&quot;&quot;&quot;&lt;$button message=&quot;tm-close-tiddler&quot; tooltip={{$:/language/Buttons/Close/Hint}} aria-label={{$:/language/Buttons/Close/Caption}} class=&quot;tc-btn-invisible tc-btn-mini&quot;&gt;{{$:/core/images/close-button}}&lt;/$button&gt;&amp;nbsp;&lt;$link to={{!!title}}&gt;&lt;$view field=&quot;title&quot;/&gt;&lt;/$link&gt;&quot;&quot;&quot;/&gt;
&lt;/div&gt;
&lt;/$list&gt;
&lt;$tiddler tiddler=&quot;&quot;&gt;
&lt;div&gt;
&lt;$macrocall $name=&quot;droppable-item&quot; button=&quot;&quot;&quot;&lt;$button message=&quot;tm-close-all-tiddlers&quot; class=&quot;tc-btn-invisible tc-btn-mini&quot;&gt;&lt;&lt;lingo Button&gt;&gt;&lt;/$button&gt;&quot;&quot;&quot;/&gt;
&lt;/div&gt;
&lt;/$tiddler&gt;
&lt;/div&gt;
{{$:/sib/StorySaver/Saver}}</pre>
</div>
<div created="20210731164211393" modified="20210731164054970" tags="$:/tags/SideBarSegment" title="$:/core/ui/SideBarSegments/tabs" type="text/vnd.tiddlywiki">
<pre>\define isEnabled() [addprefix[$:/config/zettelkasten/SideBar/Visibility/]get{$:/config/sib/CurrentEditionPublicity}] -[[no]]
&lt;div class=&quot;tc-sidebar-lists tc-sidebar-tabs&quot;&gt;
&lt;$macrocall $name=&quot;tabs&quot; tabsList=&quot;[all[shadows+tiddlers]tag[$:/tags/SideBar]!has[draft.of]filter&lt;isEnabled&gt;]&quot; default={{$:/config/DefaultSidebarTab}} state=&quot;$:/state/tab/sidebar&quot; class=&quot;tc-sidebar-tabs-main&quot; explicitState=&quot;$:/state/tab/sidebar--595412856&quot;/&gt;
&lt;/div&gt;
</pre>
</div>
<div created="20210611015734693" modified="20210611023708529" tags="$:/tags/ViewTemplate" title="$:/core/ui/ViewTemplate/subtitle" type="text/vnd.tiddlywiki">
<pre>\whitespace trim
&lt;$reveal type=&quot;nomatch&quot; stateTitle=&lt;&lt;folded-state&gt;&gt; text=&quot;hide&quot; tag=&quot;div&quot; retain=&quot;yes&quot; animate=&quot;yes&quot;&gt;
&lt;div class=&quot;tc-subtitle&quot;&gt;
&lt;div&gt;
&lt;i class=&quot;fa fa-history&quot;/&gt;&amp;ensp;Created&amp;nbsp;&lt;$view field=&quot;created&quot; format=&quot;date&quot; template={{$:/language/Tiddler/DateFormat}} /&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;i class=&quot;fa fa-clock&quot;/&gt;&amp;ensp;Updated&amp;nbsp;&lt;$view field=&quot;modified&quot; format=&quot;date&quot; template={{$:/language/Tiddler/DateFormat}} /&gt;
&lt;/div&gt;
&lt;$list filter=&quot;[all[current]has[description]]&quot;&gt;
&lt;div&gt;
&lt;i class=&quot;fa fa-gem&quot;/&gt;&amp;ensp;{{!!description}}
&lt;/div&gt;
&lt;/$list&gt;
&lt;/div&gt;
&lt;/$reveal&gt;</pre>
</div>
<div created="20200118003419923" creator="soren" modified="20200804182428572" modifier="soren" title="$:/DefaultTiddlers" type="text/vnd.tiddlywiki">
<pre>$:/sib/GettingStarted</pre>
</div>
<div title="$:/isEncrypted">
<pre>no</pre>
</div>
<div created="20210615031007914" modified="20210615030805720" title="$:/layout" type="text/vnd.tiddlywiki">
<pre>$:/core/ui/PageTemplate</pre>
</div>
<div created="20200118025758811" creator="soren" modified="20210920194636481" modifier="soren" title="$:/palette" type="text/vnd.tiddlywiki">
<pre>$:/palettes/GruvboxDark</pre>
</div>
<div author="Alan Aldrich" core-version="5.1.16" created="20170212060612535" dependents="" description="TiddlyTables" list="readme" modified="20200322003951511" plugin-type="plugin" title="$:/plugins/aaldrich/tables" type="application/json" version="0.6.21">
<pre>{
&quot;tiddlers&quot;: {
&quot;$:/plugins/aaldrich/tables/button&quot;: {
&quot;title&quot;: &quot;$:/plugins/aaldrich/tables/button&quot;,
&quot;caption&quot;: &quot;{{$:/plugins/aaldrich/tables/button/image}} new table&quot;,
&quot;created&quot;: &quot;20170205062652787&quot;,
&quot;description&quot;: &quot;Create a new table&quot;,
&quot;modified&quot;: &quot;20191212071246997&quot;,
&quot;tags&quot;: &quot;$:/tags/PageControls&quot;,
&quot;text&quot;: &quot;\\define newTableText()\n&lt;&lt;table \&quot;$(newTableTitle)$\&quot;&gt;&gt;\n\\end\n\n\\define makeNewTable()\n\n&lt;$set name=\&quot;newTableTitle\&quot; value={{$:/temp/tables/button/generate-new-table-name}} &gt;\n&lt;$action-setfield $tiddler={{$:/temp/tables/button/generate-new-table-name}} text=&lt;&lt;newTableText&gt;&gt;/&gt;\n&lt;/$set&gt;\n&lt;$action-navigate $to={{$:/temp/tables/button/generate-new-table-name}}/&gt;\n&lt;$action-deletetiddler $tiddler=\&quot;$:/temp/tables/button/generate-new-table-name\&quot;/&gt;\n\\end\n\n&lt;$button class=&lt;&lt;tv-config-toolbar-class&gt;&gt; tooltip=\&quot;Create new table\&quot; aria-label={{$:/plugins/aaldrich/tables/button!!caption}} actions=&lt;&lt;makeNewTable&gt;&gt;&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-icons&gt;prefix[yes]]\&quot;&gt;\n{{$:/plugins/aaldrich/tables/button/image}}\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-text&gt;prefix[yes]]\&quot;&gt;\n&lt;span class=\&quot;tc-btn-text\&quot;&gt;&lt;$text text=\&quot;new table\&quot;/&gt;&lt;/span&gt;\n&lt;/$list&gt;\n&lt;$action-createtiddler $basetitle={{$:/plugins/aaldrich/tables/defaults!!tbl-default-title}}\n$savetitle=\&quot;$:/temp/tables/button/generate-new-table-name\&quot;\ntbl-add-records={{$:/plugins/aaldrich/tables/defaults!!tbl-add-records}}\ntbl-anything={{$:/plugins/aaldrich/tables/defaults!!tbl-anything}}\ntbl-button-actions={{$:/plugins/aaldrich/tables/defaults!!tbl-button-actions}}\ntbl-button-icon={{$:/plugins/aaldrich/tables/defaults!!tbl-button-icon}}\ntbl-button-tip={{$:/plugins/aaldrich/tables/defaults!!tbl-button-tip}}\ntbl-caption={{$:/plugins/aaldrich/tables/defaults!!tbl-caption}}\ntbl-checkbox-actions-selected={{$:/plugins/aaldrich/tables/defaults!!tbl-checkbox-actions-selected}}\ntbl-checkbox-actions-unselected={{$:/plugins/aaldrich/tables/defaults!!tbl-checkbox-actions-unselected}}\ntbl-checkbox-field={{$:/plugins/aaldrich/tables/defaults!!tbl-checkbox-field}}\ntbl-checkbox-tag={{$:/plugins/aaldrich/tables/defaults!!tbl-checkbox-tag}}\ntbl-checkbox-tip={{$:/plugins/aaldrich/tables/defaults!!tbl-checkbox-tip}}\ntbl-checkbox-value-selected={{$:/plugins/aaldrich/tables/defaults!!tbl-checkbox-value-selected}}\ntbl-checkbox-value-unselected={{$:/plugins/aaldrich/tables/defaults!!tbl-checkbox-value-unselected}}\ntbl-class={{$:/plugins/aaldrich/tables/defaults!!tbl-class}}\ntbl-columns={{$:/plugins/aaldrich/tables/defaults!!tbl-columns}}\ntbl-expand={{$:/plugins/aaldrich/tables/defaults!!tbl-expand}}\ntbl-filter={{$:/plugins/aaldrich/tables/defaults!!tbl-filter}}\ntbl-show-caption={{$:/plugins/aaldrich/tables/defaults!!tbl-show-caption}}\ntbl-show-colgroup={{$:/plugins/aaldrich/tables/defaults!!tbl-show-colgroup}}\ntbl-show-edit={{$:/plugins/aaldrich/tables/defaults!!tbl-show-edit}}\ntbl-show-footer={{$:/plugins/aaldrich/tables/defaults!!tbl-show-footer}}\ntbl-show-header={{$:/plugins/aaldrich/tables/defaults!!tbl-show-header}}\ntbl-show-mode={{$:/plugins/aaldrich/tables/defaults!!tbl-show-mode}}\ntbl-show-pagination={{$:/plugins/aaldrich/tables/defaults!!tbl-show-pagination}}\ntbl-limit={{$:/plugins/aaldrich/tables/defaults!!tbl-limit}}\ntbl-mode={{$:/plugins/aaldrich/tables/defaults!!tbl-mode}}\ntbl-page-marker={{$:/plugins/aaldrich/tables/defaults!!tbl-page-marker}}\ntbl-sort-by={{$:/plugins/aaldrich/tables/defaults!!tbl-sort-by}}\ntbl-sort-negate={{$:/plugins/aaldrich/tables/defaults!!tbl-sort-negate}}\ntbl-sort-type={{$:/plugins/aaldrich/tables/defaults!!tbl-sort-type}}\ntbl-style-colgroup={{$:/plugins/aaldrich/tables/defaults!!tbl-style-colgroup}}\ntbl-style-container={{$:/plugins/aaldrich/tables/defaults!!tbl-style-container}}\ntbl-style-table={{$:/plugins/aaldrich/tables/defaults!!tbl-style-table}}\n/&gt;\n&lt;/$button&gt;&quot;
},
&quot;$:/plugins/aaldrich/tables/button/image&quot;: {
&quot;title&quot;: &quot;$:/plugins/aaldrich/tables/button/image&quot;,
&quot;created&quot;: &quot;20190725080524516&quot;,
&quot;modified&quot;: &quot;20190727005459045&quot;,
&quot;tags&quot;: &quot;[[ $:/tags/Image]]&quot;,
&quot;text&quot;: &quot;&lt;svg class=\&quot;tc-image-button\&quot; viewBox=\&quot;0 0 128 128\&quot; width=\&quot;22pt\&quot; height=\&quot;22pt\&quot;&gt;\n &lt;rect x=\&quot;0\&quot; y=\&quot;0\&quot; width=\&quot;128\&quot; height=\&quot;8\&quot;&gt;&lt;/rect&gt;\n &lt;rect x=\&quot;0\&quot; y=\&quot;20\&quot; width=\&quot;128\&quot; height=\&quot;8\&quot;&gt;&lt;/rect&gt;\n &lt;rect x=\&quot;0\&quot; y=\&quot;40\&quot; width=\&quot;128\&quot; height=\&quot;8\&quot;&gt;&lt;/rect&gt;\n &lt;rect x=\&quot;0\&quot; y=\&quot;60\&quot; width=\&quot;128\&quot; height=\&quot;8\&quot;&gt;&lt;/rect&gt;\n &lt;rect x=\&quot;0\&quot; y=\&quot;80\&quot; width=\&quot;128\&quot; height=\&quot;8\&quot;&gt;&lt;/rect&gt;\n &lt;rect x=\&quot;0\&quot; y=\&quot;100\&quot; width=\&quot;128\&quot; height=\&quot;8\&quot;&gt;&lt;/rect&gt;\n &lt;rect x=\&quot;0\&quot; y=\&quot;120\&quot; width=\&quot;128\&quot; height=\&quot;8\&quot;&gt;&lt;/rect&gt;\n &lt;rect x=\&quot;0\&quot; y=\&quot;0\&quot; width=\&quot;8\&quot; height=\&quot;128\&quot;&gt;&lt;/rect&gt;\n &lt;rect x=\&quot;40\&quot; y=\&quot;0\&quot; width=\&quot;8\&quot; height=\&quot;128\&quot;&gt;&lt;/rect&gt;\n &lt;rect x=\&quot;80\&quot; y=\&quot;0\&quot; width=\&quot;8\&quot; height=\&quot;128\&quot;&gt;&lt;/rect&gt;\n &lt;rect x=\&quot;120\&quot; y=\&quot;0\&quot; width=\&quot;8\&quot; height=\&quot;128\&quot;&gt;&lt;/rect&gt;\n&lt;/svg&gt;&quot;
},
&quot;$:/plugins/aaldrich/tables/defaults&quot;: {
&quot;title&quot;: &quot;$:/plugins/aaldrich/tables/defaults&quot;,
&quot;text&quot;: &quot;''all'' of a fundamental category: [all[tiddlers+shadows+tags+orphans+missing+current]]\n''backlinks'' to input: [backlinks[]]\n''contains'' - list field //contains// value ``!``: [contains:list[ENTER VALUE HERE]]\n''days'' in past/future ``!``: [days:modified[ENTER + OR - NUMBER OF DAYS HERE]]\n''field'' has value ``!``: [field:title[ENTER VALUE HERE]]\n''fields'' of input: [fields[]]\n''get'' value of field: [get[ENTER FIELD HERE]]\n''getindex'' value of property: [getindex[ENTER PROPERTY HERE]]\n''has'' field ``!``: [has[ENTER FIELD HERE]]\n''indexes'' of input: [indexes[]]\n''is'' a fundamental category ``!``: [is[current OR image OR missing OR orphan OR shadow OR tag OR tiddler OR variable OR blank]]\n''links'' of input: [links[]]\n''list'' titles of list field ``!``: [list[ENTER TIDDLER!!FIELD REFERENCE HERE]]\n''listed'' on field of input: [listed[ENTER OPTIONAL FIELD HERE]]\n''prefix'' on input titles ``!``: [prefix[ENTER TITLE PREFIX HERE]]\n''range'' of numbers ``!``: [range[1, 25, 5]]\n''regexp'' pattern ``!``: [regexp[ENTER REG EXP HERE]]\n''reverse'' order of input: [reverse[]]\n''sameday'' as field: [sameday:modified[ENTER YYYYMMDD HERE]]\n''search'' ``!``: [search:tags, text, title:literal,whitespace,regexp,words,casesensitive,anchored[ENTER SEARCH TEXT HERE]]\n''subfilter'' ``!``: [subfilter&lt;ENTER VARIABLE OR REFERENCE HERE&gt;]\n''suffix'' on input titles ``!``: [suffix[ENTER TITLE SUFFIX HERE]]\n''tag'' found on input ``!``: [tag[ENTER TAG NAME HERE]]\n''tagging'' matches input: [tagging[]]\n''tags'' of input: [tags[]]\n''untagged'' titles of input ``!``: [untagged[]]&quot;,
&quot;type&quot;: &quot;application/x-tiddler-dictionary&quot;,
&quot;created&quot;: &quot;20170207075434434&quot;,
&quot;modified&quot;: &quot;20191214043748895&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;tbl-add-records&quot;: &quot;&quot;,
&quot;tbl-anything&quot;: &quot;&quot;,
&quot;tbl-button-actions&quot;: &quot;&quot;,
&quot;tbl-button-icon&quot;: &quot;{{$:/core/images/menu-button}}&quot;,
&quot;tbl-button-tip&quot;: &quot;&quot;,
&quot;tbl-caption&quot;: &quot;''{{!!title}}''&quot;,
&quot;tbl-caption-mode&quot;: &quot;inline&quot;,
&quot;tbl-checkbox-actions-selected&quot;: &quot;&quot;,
&quot;tbl-checkbox-actions-unselected&quot;: &quot;&quot;,
&quot;tbl-checkbox-field&quot;: &quot;&quot;,
&quot;tbl-checkbox-tag&quot;: &quot;&quot;,
&quot;tbl-checkbox-tip&quot;: &quot;&quot;,
&quot;tbl-checkbox-value-selected&quot;: &quot;&quot;,
&quot;tbl-checkbox-value-unselected&quot;: &quot;&quot;,
&quot;tbl-class&quot;: &quot;tbl-style-default&quot;,
&quot;tbl-columns&quot;: &quot;title modified tags&quot;,
&quot;tbl-default-date-format&quot;: &quot;0MM/0DD/YY hh12:0mmAM&quot;,
&quot;tbl-default-title&quot;: &quot;New Table&quot;,
&quot;tbl-expand&quot;: &quot;&quot;,
&quot;tbl-filter&quot;: &quot;[!is[system]search[]]&quot;,
&quot;tbl-limit&quot;: &quot;10&quot;,
&quot;tbl-limit-choices&quot;: &quot;[[5]] [[10]] [[15]] [[20]] [[25]] [[30]] [[40]] [[50]]&quot;,
&quot;tbl-mode&quot;: &quot;normal&quot;,
&quot;tbl-page-marker&quot;: &quot;&quot;,
&quot;tbl-show-caption&quot;: &quot;true&quot;,
&quot;tbl-show-colgroup&quot;: &quot;false&quot;,
&quot;tbl-show-edit&quot;: &quot;true&quot;,
&quot;tbl-show-footer&quot;: &quot;false&quot;,
&quot;tbl-show-header&quot;: &quot;true&quot;,
&quot;tbl-show-mode&quot;: &quot;true&quot;,
&quot;tbl-show-pagination&quot;: &quot;auto&quot;,
&quot;tbl-sort-by&quot;: &quot;title&quot;,
&quot;tbl-sort-negate&quot;: &quot;false&quot;,
&quot;tbl-sort-type&quot;: &quot;nsort&quot;,
&quot;tbl-style-colgroup&quot;: &quot;&quot;,
&quot;tbl-style-container&quot;: &quot;&quot;,
&quot;tbl-style-table&quot;: &quot;width:100%;&quot;,
&quot;tbl-temp-default-body&quot;: &quot;$:/plugins/aaldrich/tables/template/body/default&quot;,
&quot;tbl-temp-default-body-edit&quot;: &quot;$:/plugins/aaldrich/tables/template/body/edit-input&quot;,
&quot;tbl-temp-default-expand&quot;: &quot;$:/plugins/aaldrich/tables/template/expand/transclude&quot;,
&quot;tbl-temp-default-foot&quot;: &quot;$:/plugins/aaldrich/tables/template/footer/default&quot;,
&quot;tbl-temp-default-head&quot;: &quot;$:/plugins/aaldrich/tables/template/header/default&quot;,
&quot;tbl-title-type-code&quot;: &quot;&lt;$list filter=\&quot;[&lt;currentRecord&gt;is[shadow]]\&quot;&gt;^^s^^&lt;/$list&gt;&lt;$list filter=\&quot;[&lt;currentRecord&gt;is[tiddler]is[shadow]]\&quot;&gt;^^*^^&lt;/$list&gt;&quot;,
&quot;tbl-title-type-show&quot;: &quot;true&quot;
},
&quot;$:/plugins/aaldrich/tables/editor/navigation&quot;: {
&quot;title&quot;: &quot;$:/plugins/aaldrich/tables/editor/navigation&quot;,
&quot;created&quot;: &quot;20190727082624393&quot;,
&quot;modified&quot;: &quot;20191208103316562&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;text&quot;: &quot;''&lt;$select tiddler=\&quot;$:/temp/tables/editor/settings-page-vars\&quot; field=\&quot;tbl-edit-page\&quot;&gt;\n&lt;optgroup label=\&quot;Data\&quot;&gt;\n&lt;option&gt;Records&lt;/option&gt;\n&lt;option&gt;Columns&lt;/option&gt;\n&lt;option&gt;Sorting&lt;/option&gt;\n&lt;option value=\&quot;Limit\&quot;&gt;Limit/Pagination&lt;/option&gt;\n&lt;/optgroup&gt;\n&lt;optgroup label=\&quot;Style\&quot;&gt;\n&lt;option value=\&quot;Theme\&quot;&gt;Theme (Stylesheet)&lt;/option&gt;\n&lt;option value=\&quot;Override\&quot;&gt;Override (Inline Styles)&lt;/option&gt;\n&lt;option value=\&quot;Colgroups\&quot;&gt;Column Groups&lt;/option&gt;\n&lt;option&gt;Advanced Styles&lt;/option&gt;\n&lt;/optgroup&gt;\n&lt;optgroup label=\&quot;Features\&quot;&gt;\n&lt;option&gt;Header/Footer&lt;/option&gt;\n&lt;option&gt;Caption&lt;/option&gt;\n&lt;option value=\&quot;Edit\&quot;&gt;Editor/Mode&lt;/option&gt;\n&lt;option&gt;Defaults&lt;/option&gt;\n&lt;/optgroup&gt;\n&lt;optgroup label=\&quot;Special Columns\&quot;&gt;\n&lt;option&gt;Expand&lt;/option&gt;\n&lt;option&gt;Button&lt;/option&gt;\n&lt;option&gt;Checkbox&lt;/option&gt;\n&lt;option&gt;Anything&lt;/option&gt;\n&lt;/optgroup&gt;\n&lt;optgroup label=\&quot;Help\&quot;&gt;\n&lt;option&gt;Getting Started&lt;/option&gt;\n&lt;option&gt;About&lt;/option&gt;\n&lt;/optgroup&gt;\n&lt;/$select&gt;''\n&lt;$button class=\&quot;tc-btn-invisible tc-tiddlylink\&quot; style=\&quot;padding:0 0 0 6px;\&quot;&gt;\n &lt;$action-sendmessage $message=\&quot;tm-close-tiddler\&quot; /&gt;\n &lt;$action-deletetiddler $tiddler=\&quot;$:/temp/tables/editor/settings-page-vars\&quot;/&gt; ''Close''\n&lt;/$button&gt;&quot;
},
&quot;$:/plugins/aaldrich/tables/editor/open&quot;: {
&quot;title&quot;: &quot;$:/plugins/aaldrich/tables/editor/open&quot;,
&quot;created&quot;: &quot;20190726023217378&quot;,
&quot;modified&quot;: &quot;20191215055334115&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;text&quot;: &quot;&lt;$reveal type=\&quot;nomatch\&quot; state=\&quot;$:/temp/tables/editor/settings-page-vars!!tbl-edit-target\&quot; text={{!!title}} &gt;\n&lt;$reveal type=\&quot;match\&quot; state=\&quot;!!tbl-show-edit\&quot; text=\&quot;true\&quot;&gt;\n&lt;$button class=\&quot;tc-btn-invisible tc-tiddlylink\&quot; tooltip=\&quot;table options\&quot;&gt;\n &lt;$action-setfield $tiddler=\&quot;$:/temp/tables/editor/settings-page-vars\&quot; tbl-edit-target={{!!title}} /&gt;\n &lt;$action-setfield $tiddler=\&quot;$:/temp/tables/editor/settings-page-vars\&quot; tbl-edit-page=\&quot;Records\&quot; /&gt;\n &lt;$action-sendmessage $message=\&quot;tm-modal\&quot; $param=\&quot;$:/plugins/aaldrich/tables/editor/view\&quot; /&gt;\n{{$:/core/images/options-button}}\n&lt;/$button&gt;\n&lt;/$reveal&gt;\n&lt;$reveal type=\&quot;match\&quot; state=\&quot;!!tbl-show-mode\&quot; text=\&quot;true\&quot;&gt;\n&lt;$reveal type=\&quot;nomatch\&quot; state=\&quot;!!tbl-mode\&quot; text=\&quot;edit\&quot;&gt;\n&lt;$button class=\&quot;tc-btn-invisible tc-tiddlylink\&quot; tooltip=\&quot;edit mode\&quot;&gt;\n &lt;$action-setfield $tiddler=&lt;&lt;currentTable&gt;&gt; tbl-mode=\&quot;edit\&quot; /&gt;\n{{$:/core/images/edit-button}}\n&lt;/$button&gt;\n&lt;/$reveal&gt;\n&lt;$reveal type=\&quot;match\&quot; state=\&quot;!!tbl-mode\&quot; text=\&quot;edit\&quot;&gt;\n&lt;$button class=\&quot;tc-btn-invisible tc-tiddlylink\&quot; tooltip=\&quot;normal mode\&quot;&gt;\n &lt;$action-setfield $tiddler=&lt;&lt;currentTable&gt;&gt; tbl-mode=\&quot;normal\&quot; /&gt;\n{{$:/core/images/done-button}}\n&lt;/$button&gt;\n&lt;/$reveal&gt;\n&lt;/$reveal&gt;\n&lt;/$reveal&gt;&quot;
},
&quot;$:/plugins/aaldrich/tables/editor/templates&quot;: {
&quot;title&quot;: &quot;$:/plugins/aaldrich/tables/editor/templates&quot;,
&quot;created&quot;: &quot;20191205205444801&quot;,
&quot;modified&quot;: &quot;20191208062747162&quot;,
&quot;tbl-add-records&quot;: &quot;&quot;,
&quot;tbl-anything&quot;: &quot;&quot;,
&quot;tbl-button-actions&quot;: &quot;&lt;$action-sendmessage $message=\&quot;tm-new-tiddler\&quot; $param=&lt;&lt;currentRecord&gt;&gt;/&gt;&quot;,
&quot;tbl-button-icon&quot;: &quot;{{$:/core/images/clone-button}}&quot;,
&quot;tbl-button-tip&quot;: &quot;clone template&quot;,
&quot;tbl-caption&quot;: &quot;''Column Templates''&quot;,
&quot;tbl-checkbox-actions-selected&quot;: &quot;&quot;,
&quot;tbl-checkbox-actions-unselected&quot;: &quot;&quot;,
&quot;tbl-checkbox-field&quot;: &quot;&quot;,
&quot;tbl-checkbox-tag&quot;: &quot;&quot;,
&quot;tbl-checkbox-tip&quot;: &quot;&quot;,
&quot;tbl-checkbox-value-selected&quot;: &quot;&quot;,
&quot;tbl-checkbox-value-unselected&quot;: &quot;&quot;,
&quot;tbl-class&quot;: &quot;tbl-style-tight&quot;,
&quot;tbl-columns&quot;: &quot;tbl-expand title tbl-column-list tbl-noedit&quot;,
&quot;tbl-expand&quot;: &quot;$:/plugins/aaldrich/tables/template/expand/edit&quot;,
&quot;tbl-filter&quot;: &quot;[all[shadows+tiddlers]tag[$:/tags/table/BodyTemplate]][all[shadows+tiddlers]tag[$:/tags/table/HeaderTemplate]][all[shadows+tiddlers]tag[$:/tags/table/FooterTemplate]]-[[$:/plugins/aaldrich/tables/template/body/default]]-[[$:/plugins/aaldrich/tables/template/header/default]]-[[$:/plugins/aaldrich/tables/template/footer/default]]&quot;,
&quot;tbl-limit&quot;: &quot;9999999&quot;,
&quot;tbl-mode&quot;: &quot;edit&quot;,
&quot;tbl-page-marker&quot;: &quot;&quot;,
&quot;tbl-show-caption&quot;: &quot;false&quot;,
&quot;tbl-show-colgroup&quot;: &quot;false&quot;,
&quot;tbl-show-edit&quot;: &quot;false&quot;,
&quot;tbl-show-footer&quot;: &quot;false&quot;,
&quot;tbl-show-header&quot;: &quot;true&quot;,
&quot;tbl-show-pagination&quot;: &quot;auto&quot;,
&quot;tbl-sort-by&quot;: &quot;title&quot;,
&quot;tbl-sort-negate&quot;: &quot;false&quot;,
&quot;tbl-sort-type&quot;: &quot;nsort&quot;,
&quot;tbl-style-colgroup&quot;: &quot;&quot;,
&quot;tbl-style-container&quot;: &quot;&quot;,
&quot;tbl-style-table&quot;: &quot;width:100%;&quot;,
&quot;text&quot;: &quot;&lt;&lt;table&gt;&gt;&quot;
},
&quot;$:/plugins/aaldrich/tables/editor/view&quot;: {
&quot;title&quot;: &quot;$:/plugins/aaldrich/tables/editor/view&quot;,
&quot;created&quot;: &quot;20190722221724072&quot;,
&quot;footer&quot;: &quot;&lt;$button class=\&quot;tc-btn-invisible tc-tiddlylink\&quot; style=\&quot;padding:0 0 0 6px;\&quot;&gt; &lt;$action-sendmessage $message=\&quot;tm-close-tiddler\&quot; /&gt; &lt;$action-deletetiddler $tiddler=\&quot;$:/temp/tables/editor/settings-page-vars\&quot;/&gt; ''Close'' &lt;/$button&gt;&quot;,
&quot;modified&quot;: &quot;20191212071106904&quot;,
&quot;revision&quot;: &quot;0&quot;,
&quot;subtitle&quot;: &quot;&lt;h2&gt;''&lt;$text text={{$:/temp/tables/editor/settings-page-vars!!tbl-edit-target}}/&gt;''&lt;/h2&gt;{{||$:/plugins/aaldrich/tables/editor/navigation}}&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;text&quot;: &quot;&lt;$keyboard actions=\&quot;\&quot;\&quot;&lt;$action-sendmessage $message=\&quot;tm-close-tiddler\&quot; /&gt;&lt;$action-deletetiddler $tiddler=\&quot;$:/temp/tables/editor/settings-page-vars\&quot;/&gt;\&quot;\&quot;\&quot; key=\&quot;ctrl-enter\&quot;&gt;\n&lt;span class=\&quot;tbl-edit-menu\&quot;&gt;\n&lt;$set name=\&quot;currentTable\&quot; value={{$:/temp/tables/editor/settings-page-vars!!tbl-edit-target}} &gt;\n&lt;$reveal type=\&quot;match\&quot; state=\&quot;$:/temp/tables/editor/settings-page-vars!!tbl-edit-page\&quot; text=\&quot;Records\&quot;&gt;\n\n''Query Records'' (tbl-filter) - filter syntax&lt;br&gt;\n&lt;$edit-text class=\&quot;tbl-edit-wide\&quot; tiddler={{$:/temp/tables/editor/settings-page-vars!!tbl-edit-target}} field=\&quot;tbl-filter\&quot;/&gt;\n&lt;span class=\&quot;tc-popup-keep\&quot;&gt;\n&lt;$button popup=\&quot;$:/state/tables/filter/preset-dropdown\&quot; class=\&quot;tc-btn-invisible\&quot;&gt;\n&amp;nbsp;{{$:/core/images/down-arrow}}\n&lt;/$button&gt;&lt;br&gt;\n&lt;/span&gt;\n&lt;$reveal class=\&quot;tc-block-dropdown\&quot; state=\&quot;$:/state/tables/filter/preset-dropdown\&quot; type=\&quot;popup\&quot; position=\&quot;belowleft\&quot; animate=\&quot;yes\&quot;&gt;\n&lt;$list filter=\&quot;[[$:/plugins/aaldrich/tables/defaults]indexes[]]\&quot; variable=\&quot;filterList\&quot;&gt;\n&lt;$list filter=\&quot;[[$:/plugins/aaldrich/tables/defaults]getindex&lt;filterList&gt;]\&quot; variable=\&quot;filterValues\&quot; &gt;\n&lt;$set name=\&quot;existingTableFilter\&quot; filter=\&quot;[{$:/temp/tables/editor/settings-page-vars!!tbl-edit-target}get[tbl-filter]]\&quot;&gt;\n&lt;$set name=\&quot;existingTableFilterPrefix\&quot; filter=\&quot;[{$:/temp/tables/editor/settings-page-vars!!tbl-edit-target}get[tbl-filter]]\&quot; value=\&quot;+\&quot; emptyValue=\&quot;\&quot;&gt;\n&lt;a style=\&quot;margin:0 0 0 0;padding:0 0 0 0;\&quot; &gt;&lt;$button style=\&quot;display:block;width:100%;text-align:left;margin:0 0 0 0;padding:4px 4px 4px 4px;\&quot; actions=\&quot;\&quot;\&quot;&lt;$action-setfield $tiddler={{$:/temp/tables/editor/settings-page-vars!!tbl-edit-target}} tbl-filter=&lt;&lt;tableFilterPick&gt;&gt; /&gt;\&quot;\&quot;\&quot; class=\&quot;tc-btn-invisible\&quot;&gt;&lt;&lt;filterList&gt;&gt;&lt;/$button&gt;&lt;/a&gt;\n&lt;/$set&gt;\n&lt;/$set&gt;\n&lt;/$list&gt;\n&lt;/$list&gt;\n&lt;/$reveal&gt;&lt;br&gt;\n&lt;$reveal type=\&quot;nomatch\&quot; state=\&quot;$:/temp/tables/editor/settings-page-vars!!tbl-edit-presets\&quot; text=\&quot;true\&quot;&gt;\n&lt;$button class=\&quot;tc-btn-invisible tc-tiddlylink\&quot; set=\&quot;$:/temp/tables/editor/settings-page-vars!!tbl-edit-presets\&quot; setTo=true &gt;edit presets\n&lt;/$button&gt;\n&lt;/$reveal&gt;\n&lt;$reveal type=\&quot;match\&quot; state=\&quot;$:/temp/tables/editor/settings-page-vars!!tbl-edit-presets\&quot; text=\&quot;true\&quot;&gt;\n&lt;$button class=\&quot;tc-btn-invisible tc-tiddlylink\&quot; set=\&quot;$:/temp/tables/editor/settings-page-vars!!tbl-edit-presets\&quot; setTo=false&gt;close\n&lt;/$button&gt;&lt;br&gt;\n&lt;$edit-text tiddler=\&quot;$:/plugins/aaldrich/tables/defaults\&quot; field=\&quot;text\&quot;/&gt;\n&lt;/$reveal&gt;&lt;br&gt;&lt;br&gt;\n''Enter Records Manually'' (tbl-add-records) - filter syntax&lt;br&gt;\n&lt;$edit-text tag=textarea tiddler={{$:/temp/tables/editor/settings-page-vars!!tbl-edit-target}} field=\&quot;tbl-add-records\&quot;/&gt;\n&lt;/$reveal&gt;\n\n\n&lt;$reveal type=\&quot;match\&quot; state=\&quot;$:/temp/tables/editor/settings-page-vars!!tbl-edit-page\&quot; text=\&quot;Columns\&quot;&gt;\n\n''Columns to Display'' (tbl-columns) - filter syntax&lt;br&gt;\n&lt;$edit-text class=\&quot;tbl-edit-wide\&quot; tiddler={{$:/temp/tables/editor/settings-page-vars!!tbl-edit-target}} field=\&quot;tbl-columns\&quot;/&gt;\n&lt;$reveal type=\&quot;match\&quot; state=\&quot;$:/temp/tables/editor/settings-page-vars!!tbl-show-columns\&quot; text=\&quot;true\&quot;&gt;\n\n&lt;$button class=\&quot;tc-btn-invisible tc-tiddlylink\&quot; set=\&quot;$:/temp/table
},
&quot;$:/plugins/aaldrich/tables/macro&quot;: {
&quot;title&quot;: &quot;$:/plugins/aaldrich/tables/macro&quot;,
&quot;created&quot;: &quot;20170205053213873&quot;,
&quot;modified&quot;: &quot;20200103011234341&quot;,
&quot;revision&quot;: &quot;0&quot;,
&quot;tags&quot;: &quot;$:/tags/Macro&quot;,
&quot;tbl-false&quot;: &quot;false&quot;,
&quot;tbl-true&quot;: &quot;true&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;\\define table(title:)\n&lt;$set name=\&quot;currentTable\&quot; value=&lt;&lt;__title__&gt;&gt; emptyValue={{!!title}}&gt;\n&lt;$tiddler tiddler=&lt;&lt;currentTable&gt;&gt;&gt;\n&lt;!-- assign vars --&gt;\n&lt;$vars buttonAction={{!!tbl-button-actions}} buttonIcon={{!!tbl-button-icon}} anythingCode={{!!tbl-anything}} pageMarker={{!!tbl-page-marker}} enteredFilter={{!!tbl-filter}} enteredTitles={{!!tbl-add-records}} recordLimit={{!!tbl-limit}} sortBy={{!!tbl-sort-by}} sortType={{!!tbl-sort-type}} checkTag={{!!tbl-checkbox-tag}} checkSel={{!!tbl-checkbox-value-selected}} checkUnsel={{!!tbl-checkbox-value-unselected}} checkActions={{!!tbl-checkbox-actions-selected}} checkUnactions={{!!tbl-checkbox-actions-unselected}} &gt;\n&lt;$set name=\&quot;tableExpand\&quot; filter=\&quot;[&lt;currentTable&gt;get[tbl-expand]]\&quot; emptyValue={{$:/plugins/aaldrich/tables/defaults!!tbl-temp-default-expand}} value={{!!tbl-expand}}&gt;\n&lt;$set name=\&quot;checkField\&quot; filter=\&quot;[&lt;currentTable&gt;get[tbl-checkbox-field]]\&quot; emptyValue=\&quot;modified\&quot; value={{!!tbl-checkbox-field}}&gt;\n&lt;$set name=\&quot;sortNeg\&quot; filter=\&quot;[&lt;currentTable&gt;field:tbl-sort-negate[true]]\&quot; emptyValue=\&quot;\&quot; value=\&quot;!\&quot;&gt;\n&lt;$set name=\&quot;pageFilter\&quot; filter=&lt;&lt;nextFirst&gt;&gt; emptyValue=\&quot;+[allafter{!!tbl-page-marker}]+[{!!tbl-page-marker}]\&quot; value=\&quot;+[allafter:including{!!tbl-page-marker}]\&quot; &gt;\n&lt;$set name=\&quot;includePage\&quot; filter=\&quot;[&lt;currentTable&gt;get[tbl-page-marker]]\&quot; emptyValue=\&quot;\&quot; value=&lt;&lt;pageFilter&gt;&gt; &gt;\n&lt;!-- check if table can be rendered properly --&gt;\n&lt;$set name=\&quot;hideTable\&quot; filter=&lt;&lt;currentTiddler&gt;&gt; value=&lt;&lt;currentTiddler&gt;&gt; emptyValue=\&quot;$:/plugins/aaldrich/tables/template/expand/transclude\&quot; &gt;\n&lt;$set name=\&quot;hideTable\&quot; filter=\&quot;[&lt;hideTable&gt;]-[[$:/plugins/aaldrich/tables/template/expand/transclude]]-[[field]]+[limit[1]]\&quot; value=\&quot;false\&quot; emptyValue=\&quot;true\&quot;&gt;\n&lt;$reveal type=\&quot;match\&quot; state=\&quot;$:/plugins/aaldrich/tables/macro!!tbl-true\&quot; text=&lt;&lt;hideTable&gt;&gt;&gt;\n''Table transclusion error: ''use //title// parameter: `&lt;&lt;table \&quot;My Table\&quot;&gt;&gt;`.\n&lt;/$reveal&gt;\n&lt;/$set&gt;\n&lt;$list filter=\&quot;[&lt;hideTable&gt;]-[[$:/plugins/aaldrich/tables/template/expand/transclude]]-[[field]]+[limit[1]]\&quot; variable=\&quot;showTable\&quot;&gt;\n&lt;!-- reveal refresh table button that adds req fields to a table using default values --&gt;\n&lt;$reveal type=\&quot;match\&quot; state=\&quot;!!tbl-columns\&quot; text=\&quot;\&quot;&gt;\n&lt;$button class=\&quot;tc-btn-invisible tc-tiddlylink\&quot; &gt;{{$:/core/images/refresh-button}} Reset Table&lt;$action-setfield \ntbl-add-records={{$:/plugins/aaldrich/tables/defaults!!tbl-add-records}}\ntbl-anything={{$:/plugins/aaldrich/tables/defaults!!tbl-anything}}\ntbl-button-actions={{$:/plugins/aaldrich/tables/defaults!!tbl-button-actions}}\ntbl-button-icon={{$:/plugins/aaldrich/tables/defaults!!tbl-button-icon}}\ntbl-button-tip={{$:/plugins/aaldrich/tables/defaults!!tbl-button-tip}}\ntbl-caption={{$:/plugins/aaldrich/tables/defaults!!tbl-caption}}\ntbl-checkbox-actions-selected={{$:/plugins/aaldrich/tables/defaults!!tbl-checkbox-actions-selected}}\ntbl-checkbox-actions-unselected={{$:/plugins/aaldrich/tables/defaults!!tbl-checkbox-actions-unselected}}\ntbl-checkbox-field={{$:/plugins/aaldrich/tables/defaults!!tbl-checkbox-field}}\ntbl-checkbox-tag={{$:/plugins/aaldrich/tables/defaults!!tbl-checkbox-tag}}\ntbl-checkbox-tip={{$:/plugins/aaldrich/tables/defaults!!tbl-checkbox-tip}}\ntbl-checkbox-value-selected={{$:/plugins/aaldrich/tables/defaults!!tbl-checkbox-value-selected}}\ntbl-checkbox-value-unselected={{$:/plugins/aaldrich/tables/defaults!!tbl-checkbox-value-unselected}}\ntbl-class={{$:/plugins/aaldrich/tables/defaults!!tbl-class}}\ntbl-columns={{$:/plug
},
&quot;$:/plugins/aaldrich/tables/pagination&quot;: {
&quot;title&quot;: &quot;$:/plugins/aaldrich/tables/pagination&quot;,
&quot;created&quot;: &quot;20170212033753546&quot;,
&quot;modified&quot;: &quot;20191208103301563&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;text&quot;: &quot;&lt;$vars filteredCount=\&quot;\&quot;\&quot;&lt;$count filter=&lt;&lt;tableFilter&gt;&gt;/&gt;\&quot;\&quot;\&quot; totalCount=\&quot;\&quot;\&quot;&lt;$count filter=&lt;&lt;inputFilter&gt;&gt;/&gt;\&quot;\&quot;\&quot; firstCount=\&quot;\&quot;\&quot;&lt;$count filter=&lt;&lt;getFirst&gt;&gt;/&gt;\&quot;\&quot;\&quot; lastCount=\&quot;\&quot;\&quot;&lt;$count filter=&lt;&lt;getLast&gt;&gt;/&gt;\&quot;\&quot;\&quot; pageSetting={{!!tbl-show-pagination}} &gt;\n&lt;$wikify name=\&quot;totalCount\&quot; text=&lt;&lt;totalCount&gt;&gt; mode=\&quot;inline\&quot;&gt;\n&lt;$wikify name=\&quot;filteredCount\&quot; text=&lt;&lt;filteredCount&gt;&gt; mode=\&quot;inline\&quot;&gt;\n&lt;$set name=\&quot;pageReq\&quot; filter=&lt;&lt;overLimit&gt;&gt; value=&lt;&lt;pageSetting&gt;&gt; emptyValue=\&quot;true\&quot; &gt;\n&lt;$wikify name=\&quot;pageReq\&quot; text=&lt;&lt;pageReq&gt;&gt; mode=\&quot;inline\&quot;&gt;\n&lt;$reveal type=\&quot;match\&quot; state=\&quot;$:/plugins/aaldrich/tables/macro!!tbl-true\&quot; text=&lt;&lt;pageReq&gt;&gt; tag=\&quot;div\&quot; &gt;\n&lt;$set name=\&quot;lastRecord\&quot; filter=&lt;&lt;lastRec&gt;&gt; value=&lt;&lt;lastRecord&gt;&gt; emptyValue={{!!tbl-page-marker}} &gt;\n&lt;$wikify name=\&quot;lastRecord\&quot; text=&lt;&lt;lastRecord&gt;&gt; mode=\&quot;inline\&quot;&gt;\n&lt;$set name=\&quot;firstRecord\&quot; filter=&lt;&lt;resetPagination&gt;&gt; value=&lt;&lt;firstRecord&gt;&gt; &gt;\n&lt;$wikify name=\&quot;firstRecord\&quot; text=&lt;&lt;firstRecord&gt;&gt; mode=\&quot;inline\&quot;&gt;\n&lt;$wikify name=\&quot;recordCount\&quot; text=\&quot;\&quot;\&quot;&lt;$count filter=&lt;&lt;tableFilter&gt;&gt;/&gt;\&quot;\&quot;\&quot; mode=\&quot;inline\&quot;&gt;\n&lt;$set name=\&quot;previousPage\&quot; filter=&lt;&lt;previousFirst&gt;&gt; value=&lt;&lt;previousPage&gt;&gt; emptyValue=&lt;&lt;firstRecord&gt;&gt;&gt;\n&lt;$wikify name=\&quot;previousPage\&quot; text=&lt;&lt;previousPage&gt;&gt; mode=\&quot;inline\&quot;&gt;\n&lt;$set name=\&quot;nextPage\&quot; filter=&lt;&lt;nextFirst&gt;&gt; value=&lt;&lt;nextPage&gt;&gt; emptyValue={{!!tbl-page-marker}} &gt;\n&lt;$wikify name=\&quot;nextPage\&quot; text=&lt;&lt;nextPage&gt;&gt; mode=\&quot;inline\&quot;&gt;\n{{||$:/plugins/aaldrich/tables/template/pagination/default}}\n&lt;/$wikify&gt;\n&lt;/$set&gt;\n&lt;/$wikify&gt;\n&lt;/$set&gt;\n&lt;/$wikify&gt;\n&lt;/$wikify&gt;\n&lt;/$set&gt;\n&lt;/$wikify&gt;\n&lt;/$set&gt;\n&lt;/$reveal&gt; \n&lt;/$wikify&gt;\n&lt;/$set&gt; \n&lt;/$wikify&gt;\n&lt;/$wikify&gt;\n&lt;/$vars&gt;&quot;
},
&quot;$:/plugins/aaldrich/tables/readme&quot;: {
&quot;title&quot;: &quot;$:/plugins/aaldrich/tables/readme&quot;,
&quot;created&quot;: &quot;20170207092135594&quot;,
&quot;modified&quot;: &quot;20191210033829409&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;text&quot;: &quot;!!''~TiddlyTables'' is a plugin for ~TiddlyWiki to create advanced sortable tables.\n\nPut simply, a filter is used to return a list of tiddler titles, or ''records''. and a list of field/index names determines what ''columns'' to display. \n\nThe best way to explore the many features of ~TiddlyTables is to create a new table and start editing.\n\n#''Install'' - Drag this link into your ~TiddlyWiki: [[$:/plugins/aaldrich/tables]]\n#''Create'' - There are two ways to create a ~TiddlyTable.\n##Click the ''New Table'' button in the //Page Toolbar//: &lt;h2&gt;{{$:/plugins/aaldrich/tables/button/image}}&lt;/h2&gt;\n##Manual method\n###Add ''``&lt;&lt;table \&quot;My New Table\&quot;&gt;&gt;``'' to the text field of a new or existing tiddler. \n###Save tiddler. A button is rendered on the tiddler.\n###Click ''Reset Table'' button. This creates the required //tbl// fields and renders the table.\n###//Note: `&lt;&lt;table&gt;&gt;` with no title parameter will store its fields in the current tiddler.//\n#''Edit'' - There are two ways to edit the table.\n##Graphically (recommended)\n###Click the {{$:/core/images/options-button}} Button above the table to edit ''Table Options''.\n###Click the {{$:/core/images/edit-button}} Button above the table to toggle ''Edit Mode''.\n##Manually - Edit the tiddler and modify //tbl// fields.\n#''Customize'' - ~TiddlyTables are highly customizable.\n##''Defaults'' - [[$:/plugins/aaldrich/tables/defaults]]\n\n##''Themes'' (Stylesheet) - prefix ~$:/plugins/aaldrich/tables/style...\n###Tagged ~$:/tags/Stylesheet (required)\n###Field tbl-class-name (required)\n###Global default setting - tbl-class field\n\n##''Column Templates'' - determine how columns are rendered.\n\n###Each column has three template types:\n####''Header'' - prefix ~$:/plugins/aaldrich/tables/template/header...\n#####Tagged ~$:/tags/table/HeaderTemplate (required)\n#####Global default setting - tbl-temp-default-header field\n\n####''Body'' - prefix ~$:/plugins/aaldrich/tables/template/body...\n#####Tagged ~$:/tags/table/BodyTemplate (required)\n#####Global default setting - tbl-temp-default-body field\n\n####''Footer'' - prefix ~$:/plugins/aaldrich/tables/template/footer...\n#####Tagged ~$:/tags/table/FooterTemplate (required)\n#####Global default setting - tbl-temp-default-footer field\n\n###Add fields/index names to the field ''tbl-column-list'' of a template to assign them.\n###If a field/index is not assigned to a template of a particular type, the default template for that type is used.\n###New templates can be created or cloned from an existing one.\n\n##''Expand Templates'' - prefix ~$:/plugins/aaldrich/tables/template/expand...\n###Tagged ~$:/tags/table/ExpandTemplate (required)\n###Default setting - tbl-temp-default-expand field\n\n##''Pagination Template'' - ~$:/plugins/aaldrich/tables/template/pagination/default\n###No mechanism to change on per-table basis. No tag required.\n###No default setting\n###To modify, edit the default pagination template.&quot;
},
&quot;$:/plugins/aaldrich/tables/style/dark&quot;: {
&quot;title&quot;: &quot;$:/plugins/aaldrich/tables/style/dark&quot;,
&quot;created&quot;: &quot;20190723034929272&quot;,
&quot;modified&quot;: &quot;20191205031607095&quot;,
&quot;tags&quot;: &quot;$:/tags/Stylesheet&quot;,
&quot;tbl-class-name&quot;: &quot;tbl-style-dark&quot;,
&quot;tbl-class-type&quot;: &quot;child&quot;,
&quot;tbl-color-border&quot;: &quot;#999999&quot;,
&quot;tbl-color-caption&quot;: &quot;#3D3D3D&quot;,
&quot;tbl-color-footer&quot;: &quot;#595959&quot;,
&quot;tbl-color-header&quot;: &quot;#595959&quot;,
&quot;tbl-color-row-all&quot;: &quot;#686868&quot;,
&quot;tbl-color-row-even&quot;: &quot;#737373&quot;,
&quot;tbl-color-row-hover&quot;: &quot;#46486B&quot;,
&quot;tbl-color-row-odd&quot;: &quot;#7A7A7A&quot;,
&quot;tbl-color-text&quot;: &quot;#FFFFFF&quot;,
&quot;tbl-color-text-hover&quot;: &quot;#FFFEE2&quot;,
&quot;tbl-pad-lr&quot;: &quot;7px&quot;,
&quot;tbl-pad-tb-body&quot;: &quot;1px&quot;,
&quot;tbl-pad-tb-headfoot&quot;: &quot;2px&quot;,
&quot;tbl-size-font&quot;: &quot;{{$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize}}&quot;,
&quot;tbl-size-height&quot;: &quot;{{$:/themes/tiddlywiki/vanilla/metrics/bodylineheight}}&quot;,
&quot;tbl-size-icons&quot;: &quot;{{$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize}}&quot;,
&quot;tbl-width-border&quot;: &quot;1px&quot;,
&quot;text&quot;: &quot;{{||$:/plugins/aaldrich/tables/style/default}}&quot;
},
&quot;$:/plugins/aaldrich/tables/style/default&quot;: {
&quot;title&quot;: &quot;$:/plugins/aaldrich/tables/style/default&quot;,
&quot;created&quot;: &quot;20190723034442800&quot;,
&quot;modified&quot;: &quot;20191215064245416&quot;,
&quot;tags&quot;: &quot;$:/tags/Stylesheet&quot;,
&quot;tbl-class-name&quot;: &quot;tbl-style-default&quot;,
&quot;tbl-class-type&quot;: &quot;parent&quot;,
&quot;tbl-color-border&quot;: &quot;#DDDDDD&quot;,
&quot;tbl-color-caption&quot;: &quot;#DDDDDD&quot;,
&quot;tbl-color-footer&quot;: &quot;#F0F0F0&quot;,
&quot;tbl-color-header&quot;: &quot;#F0F0F0&quot;,
&quot;tbl-color-row-all&quot;: &quot;#FFFFFF&quot;,
&quot;tbl-color-row-even&quot;: &quot;#FCFCFC&quot;,
&quot;tbl-color-row-hover&quot;: &quot;#FFFEE2&quot;,
&quot;tbl-color-row-odd&quot;: &quot;#FFFFFF&quot;,
&quot;tbl-color-text&quot;: &quot;#000000&quot;,
&quot;tbl-color-text-hover&quot;: &quot;#001177&quot;,
&quot;tbl-pad-lr&quot;: &quot;7px&quot;,
&quot;tbl-pad-tb-body&quot;: &quot;2px&quot;,
&quot;tbl-pad-tb-headfoot&quot;: &quot;4px&quot;,
&quot;tbl-size-font&quot;: &quot;{{$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize}}&quot;,
&quot;tbl-size-height&quot;: &quot;{{$:/themes/tiddlywiki/vanilla/metrics/bodylineheight}}&quot;,
&quot;tbl-size-icons&quot;: &quot;{{$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize}}&quot;,
&quot;tbl-width-border&quot;: &quot;1px&quot;,
&quot;text&quot;: &quot;&lt;!-- CONTAINER/TABLE--&gt;\n.{{!!tbl-class-name}} { \n text-shadow: none;\n width:100%;\n overflow:visible;\n}\n\n.{{!!tbl-class-name}} &gt; table{ \n text-shadow: none;\n border-collapse: collapse;\n caption-side: top;\n table-layout:auto;\n width:100%;\n margin: 0 0 0 0;\n border-top: {{!!tbl-width-border}} solid {{!!tbl-color-border}};\n border-right: {{!!tbl-width-border}} solid {{!!tbl-color-border}};\n border-bottom: {{!!tbl-width-border}} solid {{!!tbl-color-border}};\n border-left: {{!!tbl-width-border}} solid {{!!tbl-color-border}};\n}\n\n&lt;!--CAPTION--&gt;\n.{{!!tbl-class-name}} &gt; table &gt; caption {\n margin: 0 0 0 0;\n padding: {{!!tbl-pad-tb-headfoot}} {{!!tbl-pad-lr}} {{!!tbl-pad-tb-headfoot}} {{!!tbl-pad-lr}};\n text-shadow: none;\n color:{{!!tbl-color-text}};\n background-color:{{!!tbl-color-caption}};\n vertical-align: middle;\n font-size: {{!!tbl-size-font}};\n line-height: {{!!tbl-size-height}};\n border-top: {{!!tbl-width-border}} solid {{!!tbl-color-border}};\n border-right: {{!!tbl-width-border}} solid {{!!tbl-color-border}};\n border-bottom: 0px solid {{!!tbl-color-border}};\n border-left: {{!!tbl-width-border}} solid {{!!tbl-color-border}};\n text-align:center;\n}\n\n.{{!!tbl-class-name}} &gt; table &gt; caption *,\n.{{!!tbl-class-name}} &gt; table &gt; caption &gt; div *{\n margin: 0 0 0 0;\n padding: 0 0 0 0;\n text-shadow: none;\n color:{{!!tbl-color-text}};\n fill:{{!!tbl-color-text}};\n}\n\n.{{!!tbl-class-name}} &gt; table &gt; caption &gt; div &gt; .tbl-hidden-edit{\n background: transparent !important;\n border: none;\n color:{{!!tbl-color-text}}!important;\n}\n\n.{{!!tbl-class-name}} &gt; table &gt; caption &gt; div &gt; .tbl-hidden-edit-wide{\n width: 100%;\n background: transparent !important;\n border: none;\n color:{{!!tbl-color-text}}!important;\n}\n\n&lt;!--HEADER--&gt;\n .{{!!tbl-class-name}} &gt; table &gt; thead {\n text-shadow: none;\n}\n\n.{{!!tbl-class-name}} &gt; table &gt; thead &gt; tr {\n text-shadow: none;\n background: {{!!tbl-color-header}};\n vertical-align: middle;\n font-size: {{!!tbl-size-font}};\n line-height: {{!!tbl-size-height}};\n}\n\n.{{!!tbl-class-name}} &gt; table &gt; thead &gt; tr &gt; th {\n text-shadow: none;\n color:{{!!tbl-color-text}};\n background: transparent;\n margin: 0 0 0 0;\n padding: {{!!tbl-pad-tb-headfoot}} {{!!tbl-pad-lr}} {{!!tbl-pad-tb-headfoot}} {{!!tbl-pad-lr}};\n border-top: {{!!tbl-width-border}} solid {{!!tbl-color-border}};\n border-right: {{!!tbl-width-border}} solid {{!!tbl-color-border}};\n border-bottom: {{!!tbl-width-border}} solid {{!!tbl-color-border}};\n border-left: {{!!tbl-width-border}} solid {{!!tbl-color-border}};\n text-align: left;\n vertical-align: middle;\n font-size: {{!!tbl-size-font}};\n line-height: {{!!tbl-size-height}};\n white-space: nowrap;\n}\n\n.{{!!tbl-class-name}} &gt; table &gt; thead&gt; tr &gt; th p, \n.{{!!tbl-class-name}} &gt; table &gt; thead&gt; tr &gt; th a,\n.{{!!tbl-class-name}} &gt; table &gt; thead&gt; tr &gt; th button,\n.{{!!tbl-class-name}} &gt; table &gt; thead&gt; tr &gt; th .tc-tiddlylink {\n text-shadow: none;\n margin: 0 0 0 0;\n padding: 0 0 0 0;\n color:{{!!tbl-color-text}};\n font-weight: bold;\n}\n\n.{{!!tbl-class-name}} &gt; table &gt; thead&gt; tr &gt; th &gt; button &gt; svg,\n.{{!!tbl-class-name}} &gt; table &gt; thead&gt; tr &gt; th &gt; span &gt; button &gt; svg {\n text-shadow: none;\n fill:{{!!tbl-color-text}};\n height:{{!!tbl-size-icons}};\n padding:0 0 2px 0;\n}\n\n.{{!!tbl-class-name}} &gt; table &gt; thead&gt; tr &gt; th &gt; button.tbl-sort-svg &gt; svg {\n text-shadow: none;\n fill:{{!!tbl-color-text}};\n height:10px;\n padding:0 0 2px 0;\n}\n\n&lt;!--FOOTER--&gt;\n.{{!!tbl-class-name}} &gt; table &gt; tfoot {\n text-shadow: none;\n}\n\n.{{!!tbl-class-name}} &gt; table &gt; tfoot &gt; tr {\n text-shadow: none;\n background: {{!!tbl-color-footer}};\n vertical-align: middle;\n font-size: {{!!tbl-size-font}};\n line-height: {{!!tbl-size-height}};
},
&quot;$:/plugins/aaldrich/tables/style/invisible&quot;: {
&quot;title&quot;: &quot;$:/plugins/aaldrich/tables/style/invisible&quot;,
&quot;created&quot;: &quot;20190723040014559&quot;,
&quot;modified&quot;: &quot;20191205031632668&quot;,
&quot;tags&quot;: &quot;$:/tags/Stylesheet&quot;,
&quot;tbl-class-name&quot;: &quot;tbl-style-invisible&quot;,
&quot;tbl-class-type&quot;: &quot;child&quot;,
&quot;tbl-color-border&quot;: &quot;#000000&quot;,
&quot;tbl-color-caption&quot;: &quot;transparent&quot;,
&quot;tbl-color-footer&quot;: &quot;transparent&quot;,
&quot;tbl-color-header&quot;: &quot;transparent&quot;,
&quot;tbl-color-row-all&quot;: &quot;transparent&quot;,
&quot;tbl-color-row-even&quot;: &quot;transparent&quot;,
&quot;tbl-color-row-hover&quot;: &quot;transparent&quot;,
&quot;tbl-color-row-odd&quot;: &quot;transparent&quot;,
&quot;tbl-color-text&quot;: &quot;#000000&quot;,
&quot;tbl-color-text-hover&quot;: &quot;#001177&quot;,
&quot;tbl-pad-lr&quot;: &quot;7px&quot;,
&quot;tbl-pad-tb-body&quot;: &quot;1px&quot;,
&quot;tbl-pad-tb-headfoot&quot;: &quot;2px&quot;,
&quot;tbl-size-font&quot;: &quot;{{$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize}}&quot;,
&quot;tbl-size-height&quot;: &quot;{{$:/themes/tiddlywiki/vanilla/metrics/bodylineheight}}&quot;,
&quot;tbl-size-icons&quot;: &quot;{{$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize}}&quot;,
&quot;tbl-width-border&quot;: &quot;0px&quot;,
&quot;text&quot;: &quot;{{||$:/plugins/aaldrich/tables/style/default}}&quot;
},
&quot;$:/plugins/aaldrich/tables/style/standard&quot;: {
&quot;title&quot;: &quot;$:/plugins/aaldrich/tables/style/standard&quot;,
&quot;created&quot;: &quot;20190723034800933&quot;,
&quot;modified&quot;: &quot;20191205031639271&quot;,
&quot;tags&quot;: &quot;$:/tags/Stylesheet&quot;,
&quot;tbl-class-name&quot;: &quot;tbl-style-standard&quot;,
&quot;tbl-class-type&quot;: &quot;child&quot;,
&quot;tbl-color-border&quot;: &quot;#a5a5a5&quot;,
&quot;tbl-color-caption&quot;: &quot;#c6c6c6&quot;,
&quot;tbl-color-footer&quot;: &quot;#E0E0E0&quot;,
&quot;tbl-color-header&quot;: &quot;#E0E0E0&quot;,
&quot;tbl-color-row-all&quot;: &quot;#FFFFFF&quot;,
&quot;tbl-color-row-even&quot;: &quot;#FFFFFF&quot;,
&quot;tbl-color-row-hover&quot;: &quot;#f2f6ff&quot;,
&quot;tbl-color-row-odd&quot;: &quot;#FFFFFF&quot;,
&quot;tbl-color-text&quot;: &quot;#000000&quot;,
&quot;tbl-color-text-hover&quot;: &quot;#001177&quot;,
&quot;tbl-pad-lr&quot;: &quot;7px&quot;,
&quot;tbl-pad-tb-body&quot;: &quot;3px&quot;,
&quot;tbl-pad-tb-headfoot&quot;: &quot;5px&quot;,
&quot;tbl-size-font&quot;: &quot;{{$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize}}&quot;,
&quot;tbl-size-height&quot;: &quot;{{$:/themes/tiddlywiki/vanilla/metrics/bodylineheight}}&quot;,
&quot;tbl-size-icons&quot;: &quot;{{$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize}}&quot;,
&quot;tbl-width-border&quot;: &quot;1px&quot;,
&quot;text&quot;: &quot;{{||$:/plugins/aaldrich/tables/style/default}}&quot;
},
&quot;$:/plugins/aaldrich/tables/style/tight&quot;: {
&quot;title&quot;: &quot;$:/plugins/aaldrich/tables/style/tight&quot;,
&quot;created&quot;: &quot;20190726060145636&quot;,
&quot;modified&quot;: &quot;20191215061001950&quot;,
&quot;tags&quot;: &quot;$:/tags/Stylesheet&quot;,
&quot;tbl-class-name&quot;: &quot;tbl-style-tight&quot;,
&quot;tbl-class-type&quot;: &quot;child&quot;,
&quot;tbl-color-border&quot;: &quot;#DDDDDD&quot;,
&quot;tbl-color-caption&quot;: &quot;#DDDDDD&quot;,
&quot;tbl-color-footer&quot;: &quot;#F0F0F0&quot;,
&quot;tbl-color-header&quot;: &quot;#F0F0F0&quot;,
&quot;tbl-color-row-all&quot;: &quot;#FFFFFF&quot;,
&quot;tbl-color-row-even&quot;: &quot;#FCFCFC&quot;,
&quot;tbl-color-row-hover&quot;: &quot;#FFFEE2&quot;,
&quot;tbl-color-row-odd&quot;: &quot;#FFFFFF&quot;,
&quot;tbl-color-text&quot;: &quot;#000000&quot;,
&quot;tbl-color-text-hover&quot;: &quot;#001177&quot;,
&quot;tbl-pad-lr&quot;: &quot;7px&quot;,
&quot;tbl-pad-tb-body&quot;: &quot;1px&quot;,
&quot;tbl-pad-tb-headfoot&quot;: &quot;1px&quot;,
&quot;tbl-size-font&quot;: &quot;10pt&quot;,
&quot;tbl-size-height&quot;: &quot;20px&quot;,
&quot;tbl-size-icons&quot;: &quot;10pt&quot;,
&quot;tbl-width-border&quot;: &quot;1px&quot;,
&quot;text&quot;: &quot;{{||$:/plugins/aaldrich/tables/style/default}}&quot;
},
&quot;$:/plugins/aaldrich/tables/template/body/anything&quot;: {
&quot;title&quot;: &quot;$:/plugins/aaldrich/tables/template/body/anything&quot;,
&quot;created&quot;: &quot;20170206022244360&quot;,
&quot;modified&quot;: &quot;20191215042443693&quot;,
&quot;revision&quot;: &quot;0&quot;,
&quot;tags&quot;: &quot;$:/tags/table/BodyTemplate&quot;,
&quot;tbl-column-list&quot;: &quot;tbl-anything&quot;,
&quot;tbl-noedit&quot;: &quot;tbl-anything&quot;,
&quot;text&quot;: &quot;&lt;td style=\&quot;width:1.4ch;\&quot;&gt;\n &lt;&lt;anythingCode&gt;&gt;\n&lt;/td&gt;&quot;
},
&quot;$:/plugins/aaldrich/tables/template/body/button&quot;: {
&quot;title&quot;: &quot;$:/plugins/aaldrich/tables/template/body/button&quot;,
&quot;created&quot;: &quot;20170206022244360&quot;,
&quot;modified&quot;: &quot;20191215041903621&quot;,
&quot;revision&quot;: &quot;0&quot;,
&quot;tags&quot;: &quot;$:/tags/table/BodyTemplate&quot;,
&quot;tbl-column-list&quot;: &quot;tbl-button&quot;,
&quot;tbl-noedit&quot;: &quot;tbl-button&quot;,
&quot;text&quot;: &quot;&lt;td style=\&quot;width:1.4ch;text-align:center;\&quot;&gt;\n &lt;$button class=\&quot;tc-btn-invisible\&quot; tooltip={{!!tbl-button-tip}} style=\&quot;min-width:1.4ch\&quot;&gt;\n &lt;&lt;buttonIcon&gt;&gt;\n &lt;&lt;buttonAction&gt;&gt;\n &lt;/$button&gt;\n&lt;/td&gt;&quot;
},
&quot;$:/plugins/aaldrich/tables/template/body/checkbox&quot;: {
&quot;title&quot;: &quot;$:/plugins/aaldrich/tables/template/body/checkbox&quot;,
&quot;created&quot;: &quot;20170206082424723&quot;,
&quot;modified&quot;: &quot;20200103012208099&quot;,
&quot;revision&quot;: &quot;0&quot;,
&quot;tags&quot;: &quot;$:/tags/table/BodyTemplate&quot;,
&quot;tbl-column-list&quot;: &quot;tbl-checkbox&quot;,
&quot;tbl-noedit&quot;: &quot;tbl-checkbox&quot;,
&quot;text&quot;: &quot;&lt;td style=\&quot;width:1.4ch;text-align:center;\&quot; class=\&quot;tbl-inpt-check\&quot;&gt;\n &lt;$set name=\&quot;recordSelected\&quot; filter=&lt;&lt;checkboxTest&gt;&gt; value=\&quot;$:/plugins/aaldrich/tables/macro!!tbl-false\&quot; emptyValue=\&quot;$:/plugins/aaldrich/tables/macro!!tbl-true\&quot;&gt;\n &lt;$reveal type=\&quot;match\&quot; state=&lt;&lt;recordSelected&gt;&gt; text=\&quot;false\&quot;&gt;\n &lt;$button class=\&quot;tc-btn-invisible\&quot; tooltip={{!!tbl-checkbox-tip}}&gt;\n &lt;$checkbox field=\&quot;tbl-selall\&quot; unchecked=\&quot;closed\&quot; default=\&quot;closed\&quot;/&gt;\n &lt;$action-listops $tiddler=&lt;&lt;currentRecord&gt;&gt; $tags=\&quot;+[append&lt;checkTag&gt;]\&quot; /&gt;\n &lt;$action-setfield $tiddler=&lt;&lt;currentRecord&gt;&gt; $field=&lt;&lt;checkField&gt;&gt; $value=&lt;&lt;checkSel&gt;&gt;/&gt;\n &lt;&lt;checkActions&gt;&gt;\n &lt;/$button&gt;\n &lt;/$reveal&gt;\n &lt;$reveal type=\&quot;match\&quot; state=&lt;&lt;recordSelected&gt;&gt; text=\&quot;true\&quot;&gt;\n &lt;$button class=\&quot;tc-btn-invisible\&quot; tooltip={{!!tbl-checkbox-tip}}&gt;\n &lt;$checkbox field=\&quot;tbl-selall\&quot; checked=\&quot;open\&quot; default=\&quot;open\&quot;/&gt;\n &lt;$action-listops $tiddler=&lt;&lt;currentRecord&gt;&gt; $tags=\&quot;+[remove&lt;checkTag&gt;]\&quot; /&gt;\n &lt;$action-setfield $tiddler=&lt;&lt;currentRecord&gt;&gt; $field=&lt;&lt;checkField&gt;&gt; $value=&lt;&lt;checkUnsel&gt;&gt;/&gt;\n &lt;&lt;checkUnactions&gt;&gt;\n &lt;/$button&gt;\n &lt;/$reveal&gt;\n &lt;/$set&gt;\n&lt;/td&gt;&quot;
},
&quot;$:/plugins/aaldrich/tables/template/body/date&quot;: {
&quot;title&quot;: &quot;$:/plugins/aaldrich/tables/template/body/date&quot;,
&quot;created&quot;: &quot;20170128100657312&quot;,
&quot;modified&quot;: &quot;20191207211809915&quot;,
&quot;revision&quot;: &quot;0&quot;,
&quot;tags&quot;: &quot;$:/tags/table/BodyTemplate&quot;,
&quot;tbl-column-list&quot;: &quot;created modified&quot;,
&quot;tbl-noedit&quot;: &quot;created modified&quot;,
&quot;text&quot;: &quot;&lt;td&gt;\n &lt;$list filter=\&quot;[&lt;fieldOrIndex&gt;]-index\&quot;&gt;\n &lt;$view tiddler=&lt;&lt;currentRecord&gt;&gt; field=&lt;&lt;currentColumn&gt;&gt; format=\&quot;date\&quot; template={{$:/plugins/aaldrich/tables/defaults!!tbl-default-date-format}}/&gt;\n &lt;/$list&gt;\n &lt;$list filter=\&quot;[&lt;fieldOrIndex&gt;]-field\&quot;&gt;\n &lt;$view tiddler=&lt;&lt;currentRecord&gt;&gt; index=&lt;&lt;currentColumn&gt;&gt; format=\&quot;date\&quot; template={{$:/plugins/aaldrich/tables/defaults!!tbl-default-date-format}}/&gt;\n &lt;/$list&gt;\n&lt;/td&gt;&quot;
},
&quot;$:/plugins/aaldrich/tables/template/body/default&quot;: {
&quot;title&quot;: &quot;$:/plugins/aaldrich/tables/template/body/default&quot;,
&quot;created&quot;: &quot;20170128100543507&quot;,
&quot;modified&quot;: &quot;20191206025142239&quot;,
&quot;revision&quot;: &quot;0&quot;,
&quot;tags&quot;: &quot;$:/tags/table/BodyTemplate&quot;,
&quot;text&quot;: &quot;&lt;td&gt;\n &lt;$list filter=\&quot;[&lt;fieldOrIndex&gt;]-index\&quot;&gt;\n &lt;$transclude tiddler=&lt;&lt;currentRecord&gt;&gt; field=&lt;&lt;currentColumn&gt;&gt; mode=\&quot;block\&quot; /&gt;\n &lt;/$list&gt;\n &lt;$list filter=\&quot;[&lt;fieldOrIndex&gt;]-field\&quot;&gt;\n &lt;$transclude tiddler=&lt;&lt;currentRecord&gt;&gt; index=&lt;&lt;currentColumn&gt;&gt; mode=\&quot;block\&quot; /&gt;\n &lt;/$list&gt;\n&lt;/td&gt;&quot;
},
&quot;$:/plugins/aaldrich/tables/template/body/delete&quot;: {
&quot;title&quot;: &quot;$:/plugins/aaldrich/tables/template/body/delete&quot;,
&quot;created&quot;: &quot;20170212101814663&quot;,
&quot;modified&quot;: &quot;20191215041952847&quot;,
&quot;revision&quot;: &quot;0&quot;,
&quot;tags&quot;: &quot;$:/tags/table/BodyTemplate&quot;,
&quot;tbl-column-list&quot;: &quot;tbl-delete&quot;,
&quot;tbl-noedit&quot;: &quot;tbl-delete&quot;,
&quot;text&quot;: &quot;&lt;td style=\&quot;width:1.4ch;text-align:center;\&quot;&gt;\n &lt;$button class=\&quot;tc-btn-invisible\&quot; tooltip=\&quot;delete\&quot; style=\&quot;min-width:1.4ch\&quot;&gt;\n &lt;$action-setfield $tiddler=&lt;&lt;tempTableStyle&gt;&gt; $index=&lt;&lt;currentRecord&gt;&gt; $value=\&quot;\&quot;/&gt;\n &lt;$action-sendmessage $message=\&quot;tm-delete-tiddler\&quot; $param=&lt;&lt;currentRecord&gt;&gt;/&gt;\n {{$:/core/images/delete-button}}\n &lt;/$button&gt;\n&lt;/td&gt;&quot;
},
&quot;$:/plugins/aaldrich/tables/template/body/edit-input&quot;: {
&quot;title&quot;: &quot;$:/plugins/aaldrich/tables/template/body/edit-input&quot;,
&quot;created&quot;: &quot;20191205063124704&quot;,
&quot;modified&quot;: &quot;20191206021441510&quot;,
&quot;revision&quot;: &quot;0&quot;,
&quot;tags&quot;: &quot;$:/tags/table/BodyTemplate&quot;,
&quot;tbl-column-list&quot;: &quot;tbl-edit-input&quot;,
&quot;tbl-noedit&quot;: &quot;tbl-edit-input&quot;,
&quot;text&quot;: &quot;&lt;td class=\&quot;tbl-inpt-edit\&quot;&gt;\n &lt;$list filter=\&quot;[&lt;fieldOrIndex&gt;]-index\&quot;&gt;\n &lt;$edit-text tiddler=&lt;&lt;currentRecord&gt;&gt; field=&lt;&lt;currentColumn&gt;&gt; tag=\&quot;input\&quot; type=\&quot;text\&quot;/&gt;\n &lt;/$list&gt;\n &lt;$list filter=\&quot;[&lt;fieldOrIndex&gt;]-field\&quot;&gt;\n &lt;$edit-text tiddler=&lt;&lt;currentRecord&gt;&gt; index=&lt;&lt;currentColumn&gt;&gt; tag=\&quot;input\&quot; type=\&quot;text\&quot;/&gt;\n &lt;/$list&gt;\n&lt;/td&gt;&quot;
},
&quot;$:/plugins/aaldrich/tables/template/body/edit-textarea&quot;: {
&quot;title&quot;: &quot;$:/plugins/aaldrich/tables/template/body/edit-textarea&quot;,
&quot;created&quot;: &quot;20170209052300022&quot;,
&quot;modified&quot;: &quot;20191206021427822&quot;,
&quot;revision&quot;: &quot;0&quot;,
&quot;tags&quot;: &quot;$:/tags/table/BodyTemplate&quot;,
&quot;tbl-column-list&quot;: &quot;tbl-edit-textarea&quot;,
&quot;tbl-noedit&quot;: &quot;tbl-edit-textarea&quot;,
&quot;text&quot;: &quot;&lt;td class=\&quot;tbl-inpt-edit\&quot;&gt;\n &lt;$list filter=\&quot;[&lt;fieldOrIndex&gt;]-index\&quot;&gt;\n &lt;$edit-text tiddler=&lt;&lt;currentRecord&gt;&gt; field=&lt;&lt;currentColumn&gt;&gt; tag=\&quot;textarea\&quot; minHeight=10px rows=1/&gt;\n &lt;/$list&gt;\n &lt;$list filter=\&quot;[&lt;fieldOrIndex&gt;]-field\&quot;&gt;\n &lt;$edit-text tiddler=&lt;&lt;currentRecord&gt;&gt; index=&lt;&lt;currentColumn&gt;&gt; tag=\&quot;textarea\&quot; minHeight=10px rows=1/&gt;\n &lt;/$list&gt;\n&lt;/td&gt;&quot;
},
&quot;$:/plugins/aaldrich/tables/template/body/edit&quot;: {
&quot;title&quot;: &quot;$:/plugins/aaldrich/tables/template/body/edit&quot;,
&quot;created&quot;: &quot;20170209052300022&quot;,
&quot;modified&quot;: &quot;20191206021611931&quot;,
&quot;revision&quot;: &quot;0&quot;,
&quot;tags&quot;: &quot;$:/tags/table/BodyTemplate&quot;,
&quot;tbl-column-list&quot;: &quot;tbl-edit&quot;,
&quot;tbl-noedit&quot;: &quot;tbl-edit&quot;,
&quot;text&quot;: &quot;&lt;td class=\&quot;tbl-inpt-edit\&quot;&gt;\n &lt;$list filter=\&quot;[&lt;fieldOrIndex&gt;]-index\&quot;&gt;\n &lt;$edit tiddler=&lt;&lt;currentRecord&gt;&gt; field=&lt;&lt;currentColumn&gt;&gt; /&gt;\n &lt;/$list&gt;\n &lt;$list filter=\&quot;[&lt;fieldOrIndex&gt;]-field\&quot;&gt;\n &lt;$edit tiddler=&lt;&lt;currentRecord&gt;&gt; index=&lt;&lt;currentColumn&gt;&gt; /&gt;\n &lt;/$list&gt;\n&lt;/td&gt;&quot;
},
&quot;$:/plugins/aaldrich/tables/template/body/expand-many&quot;: {
&quot;title&quot;: &quot;$:/plugins/aaldrich/tables/template/body/expand-many&quot;,
&quot;created&quot;: &quot;20170206022244360&quot;,
&quot;modified&quot;: &quot;20191215041922693&quot;,
&quot;revision&quot;: &quot;0&quot;,
&quot;tags&quot;: &quot;$:/tags/table/BodyTemplate&quot;,
&quot;tbl-column-list&quot;: &quot;tbl-expand-many&quot;,
&quot;tbl-noedit&quot;: &quot;tbl-expand-many&quot;,
&quot;text&quot;: &quot;&lt;$reveal type=\&quot;nomatch\&quot; state=&lt;&lt;tempPathExpand&gt;&gt; text=\&quot;show\&quot; tag=\&quot;td\&quot; style=\&quot;width:1.4ch;text-align:center;\&quot;&gt;\n &lt;$button class=\&quot;tc-btn-invisible tc-tiddlylink\&quot; tooltip=\&quot;expand\&quot; style=\&quot;min-width:1.4ch\&quot;&gt;\n &lt;$action-setfield $tiddler=&lt;&lt;tempTableExpand&gt;&gt; $index=&lt;&lt;currentRecord&gt;&gt; $value=\&quot;show\&quot; /&gt;\n &lt;$set name=\&quot;childTable\&quot; filter=\&quot;[all[tiddlers+shadows]title&lt;currentTable&gt;get[tbl-expand]]\&quot; &gt;\n &lt;$list filter=&lt;&lt;expandResetNested&gt;&gt;&gt;\n &lt;$action-setfield $tiddler=&lt;&lt;tableExpand&gt;&gt; $field=\&quot;tbl-page-marker\&quot; $value=\&quot;\&quot;/&gt;\n &lt;/$list&gt;\n &lt;/$set&gt;\n {{$:/core/images/right-arrow}}\n &lt;/$button&gt;\n&lt;/$reveal&gt;\n&lt;$reveal type=\&quot;match\&quot; state=&lt;&lt;tempPathExpand&gt;&gt; text=\&quot;show\&quot; tag=\&quot;td\&quot; style=\&quot;width:1.4ch;text-align:center;\&quot;&gt;\n &lt;$button class=\&quot;tc-btn-invisible tc-tiddlylink\&quot; tooltip=\&quot;collapse\&quot; style=\&quot;min-width:1.4ch\&quot;&gt;\n &lt;$action-setfield $tiddler=&lt;&lt;tempTableExpand&gt;&gt; $index=&lt;&lt;currentRecord&gt;&gt;/&gt;\n {{$:/core/images/down-arrow}}\n &lt;/$button&gt;\n&lt;/$reveal&gt;&quot;
},
&quot;$:/plugins/aaldrich/tables/template/body/expand-one&quot;: {
&quot;title&quot;: &quot;$:/plugins/aaldrich/tables/template/body/expand-one&quot;,
&quot;created&quot;: &quot;20170206022244360&quot;,
&quot;modified&quot;: &quot;20191215041940295&quot;,
&quot;revision&quot;: &quot;0&quot;,
&quot;tags&quot;: &quot;$:/tags/table/BodyTemplate&quot;,
&quot;tbl-column-list&quot;: &quot;tbl-expand tbl-expand-one&quot;,
&quot;tbl-noedit&quot;: &quot;tbl-expand tbl-expand-one&quot;,
&quot;text&quot;: &quot;&lt;$reveal type=\&quot;nomatch\&quot; state=&lt;&lt;tempPathExpand&gt;&gt; text=\&quot;show\&quot; tag=\&quot;td\&quot; style=\&quot;width:1.4ch;text-align:center;\&quot;&gt;\n &lt;$button class=\&quot;tc-btn-invisible tc-tiddlylink\&quot; tooltip=\&quot;expand\&quot; style=\&quot;min-width:1.4ch\&quot;&gt;\n &lt;$action-setfield $tiddler=&lt;&lt;tempTableExpand&gt;&gt; $field=\&quot;text\&quot; $value=\&quot;\&quot;/&gt;\n &lt;$action-setfield $tiddler=&lt;&lt;tempTableExpand&gt;&gt; $index=&lt;&lt;currentRecord&gt;&gt; $value=\&quot;show\&quot; /&gt;\n &lt;$set name=\&quot;childTable\&quot; filter=\&quot;[all[tiddlers+shadows]title&lt;currentTable&gt;get[tbl-expand]]\&quot; &gt;\n &lt;$list filter=&lt;&lt;expandResetNested&gt;&gt;&gt;\n &lt;$action-setfield $tiddler=&lt;&lt;tableExpand&gt;&gt; $field=\&quot;tbl-page-marker\&quot; $value=\&quot;\&quot;/&gt;\n &lt;/$list&gt;\n &lt;/$set&gt;\n {{$:/core/images/right-arrow}}\n &lt;/$button&gt;\n&lt;/$reveal&gt;\n&lt;$reveal type=\&quot;match\&quot; state=&lt;&lt;tempPathExpand&gt;&gt; text=\&quot;show\&quot; tag=\&quot;td\&quot; style=\&quot;width:1.4ch;text-align:center;\&quot;&gt;\n &lt;$button class=\&quot;tc-btn-invisible tc-tiddlylink\&quot; tooltip=\&quot;collapse\&quot; style=\&quot;min-width:1.4ch\&quot;&gt;\n &lt;$action-setfield $tiddler=&lt;&lt;tempTableExpand&gt;&gt; $field=\&quot;text\&quot; $value=\&quot;\&quot;/&gt;\n {{$:/core/images/down-arrow}}\n &lt;/$button&gt;\n&lt;/$reveal&gt;&quot;
},
&quot;$:/plugins/aaldrich/tables/template/body/index&quot;: {
&quot;title&quot;: &quot;$:/plugins/aaldrich/tables/template/body/index&quot;,
&quot;created&quot;: &quot;20190714050106704&quot;,
&quot;modified&quot;: &quot;20191215045925271&quot;,
&quot;revision&quot;: &quot;0&quot;,
&quot;tags&quot;: &quot;$:/tags/table/BodyTemplate&quot;,
&quot;tbl-column-list&quot;: &quot;ID id tbl-index&quot;,
&quot;tbl-noedit&quot;: &quot;ID id tbl-index&quot;,
&quot;type&quot;: &quot;&quot;,
&quot;text&quot;: &quot;&lt;td style=\&quot;width:1.4ch;\&quot;&gt;\n&lt;$set name=\&quot;currentIndex\&quot; filter=&lt;&lt;getIndex&gt;&gt; &gt;\n&lt;&lt;currentIndex&gt;&gt;\n&lt;/$set&gt;\n&lt;/td&gt;&quot;
},
&quot;$:/plugins/aaldrich/tables/template/body/radio&quot;: {
&quot;title&quot;: &quot;$:/plugins/aaldrich/tables/template/body/radio&quot;,
&quot;created&quot;: &quot;20170206022244360&quot;,
&quot;modified&quot;: &quot;20191215045742495&quot;,
&quot;revision&quot;: &quot;0&quot;,
&quot;tags&quot;: &quot;$:/tags/table/BodyTemplate&quot;,
&quot;tbl-column-list&quot;: &quot;tbl-radio&quot;,
&quot;tbl-noedit&quot;: &quot;tbl-radio&quot;,
&quot;text&quot;: &quot;&lt;td style=\&quot;width:1.4ch;text-align:center;\&quot;&gt;\n&lt;$radio tiddler=&lt;&lt;currentTable&gt;&gt; field=\&quot;tbl-selected-record\&quot; value=&lt;&lt;currentRecord&gt;&gt;&gt;&lt;/$radio&gt;\n&lt;/td&gt;&quot;
},
&quot;$:/plugins/aaldrich/tables/template/body/tags&quot;: {
&quot;title&quot;: &quot;$:/plugins/aaldrich/tables/template/body/tags&quot;,
&quot;created&quot;: &quot;20170128104241598&quot;,
&quot;modified&quot;: &quot;20191213071802838&quot;,
&quot;revision&quot;: &quot;0&quot;,
&quot;tags&quot;: &quot;$:/tags/table/BodyTemplate&quot;,
&quot;tbl-column-list&quot;: &quot;tags&quot;,
&quot;tbl-noedit&quot;: &quot;&quot;,
&quot;text&quot;: &quot;&lt;td class=\&quot;tbl-tag-template\&quot;&gt;\n&lt;$tiddler tiddler=&lt;&lt;currentRecord&gt;&gt;&gt;{{||$:/core/ui/ViewTemplate/tags}}&lt;/$tiddler&gt;\n&lt;/td&gt;&quot;
},
&quot;$:/plugins/aaldrich/tables/template/body/title&quot;: {
&quot;title&quot;: &quot;$:/plugins/aaldrich/tables/template/body/title&quot;,
&quot;created&quot;: &quot;20170128100357203&quot;,
&quot;modified&quot;: &quot;20191205205435926&quot;,
&quot;revision&quot;: &quot;0&quot;,
&quot;tags&quot;: &quot;$:/tags/table/BodyTemplate&quot;,
&quot;tbl-column-list&quot;: &quot;title&quot;,
&quot;tbl-noedit&quot;: &quot;title&quot;,
&quot;text&quot;: &quot;&lt;td&gt;\n&lt;$link to=&lt;&lt;currentRecord&gt;&gt;&gt;\n&lt;$view tiddler=&lt;&lt;currentRecord&gt;&gt; field=\&quot;title\&quot;/&gt;&lt;$list filter=\&quot;[[$:/plugins/aaldrich/tables/defaults]get[tbl-title-type-show]]-false\&quot;&gt;{{$:/plugins/aaldrich/tables/defaults!!tbl-title-type-code}}&lt;/$list&gt;\n&lt;/$link&gt;\n&lt;/td&gt;&quot;
},
&quot;$:/plugins/aaldrich/tables/template/expand/edit&quot;: {
&quot;title&quot;: &quot;$:/plugins/aaldrich/tables/template/expand/edit&quot;,
&quot;created&quot;: &quot;20190714035903654&quot;,
&quot;modified&quot;: &quot;20190816062006055&quot;,
&quot;tags&quot;: &quot;$:/tags/table/ExpandTemplate&quot;,
&quot;tbl-template-name&quot;: &quot;edit&quot;,
&quot;text&quot;: &quot;&lt;$edit class=\&quot;tbl-inpt-edit\&quot; tiddler=&lt;&lt;currentRecord&gt;&gt; field=text tag=textarea/&gt;&quot;
},
&quot;$:/plugins/aaldrich/tables/template/expand/transclude&quot;: {
&quot;title&quot;: &quot;$:/plugins/aaldrich/tables/template/expand/transclude&quot;,
&quot;created&quot;: &quot;20190714035903654&quot;,
&quot;modified&quot;: &quot;20191210184939804&quot;,
&quot;tags&quot;: &quot;$:/tags/table/ExpandTemplate&quot;,
&quot;tbl-template-name&quot;: &quot;view&quot;,
&quot;text&quot;: &quot;&lt;$tiddler tiddler=&lt;&lt;currentRecord&gt;&gt;&gt;\n&lt;$transclude tiddler=&lt;&lt;currentRecord&gt;&gt; field=\&quot;text\&quot; mode=\&quot;block\&quot; /&gt;\n&lt;/$tiddler&gt;&quot;
},
&quot;$:/plugins/aaldrich/tables/template/footer/default&quot;: {
&quot;title&quot;: &quot;$:/plugins/aaldrich/tables/template/footer/default&quot;,
&quot;created&quot;: &quot;20170205234154520&quot;,
&quot;modified&quot;: &quot;20191208103208588&quot;,
&quot;revision&quot;: &quot;0&quot;,
&quot;tags&quot;: &quot;$:/tags/table/FooterTemplate&quot;,
&quot;text&quot;: &quot;&lt;$list filter=\&quot;[&lt;currentTable&gt;!contains:tbl-sort-by&lt;currentColumn&gt;]\&quot; &gt;\n&lt;th&gt;\n &lt;$button set=\&quot;!!tbl-sort-by\&quot; setTo=&lt;&lt;currentColumn&gt;&gt; class=\&quot;tc-btn-invisible tc-tiddlylink\&quot; &gt;\n &lt;$action-setfield $tiddler={{!!title}} $field=\&quot;tbl-sort-negate\&quot; $value=\&quot;false\&quot;/&gt;\n &lt;&lt;currentColumn&gt;&gt;\n &lt;$list filter=\&quot;[&lt;currentTable&gt;get[tbl-page-marker]]\&quot; variable=\&quot;hasMarker\&quot;&gt;\n &lt;$set name=\&quot;firstRecord\&quot; filter=&lt;&lt;veryFirst&gt;&gt; value=&lt;&lt;firstRecord&gt;&gt; &gt;\n &lt;$wikify name=\&quot;firstRecord\&quot; text=&lt;&lt;firstRecord&gt;&gt; mode=\&quot;inline\&quot;&gt;\n &lt;$action-setfield $tiddler={{!!title}} $field=\&quot;tbl-page-marker\&quot; $value=&lt;&lt;firstRecord&gt;&gt; /&gt;\n &lt;/$wikify&gt;\n &lt;/$set&gt;\n &lt;/$list&gt;\n &lt;/$button&gt;\n&lt;/th&gt;\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[&lt;currentTable&gt;contains:tbl-sort-by&lt;currentColumn&gt;]\&quot; &gt;\n&lt;th&gt;\n &lt;$list filter=\&quot;[&lt;currentTable&gt;get[tbl-sort-negate]remove[true]]\&quot; variable=\&quot;hasNegate\&quot;&gt;\n &lt;$button set=\&quot;!!tbl-sort-negate\&quot; setTo=\&quot;true\&quot; class=\&quot;tbl-sort-svg tc-btn-invisible tc-tiddlylink\&quot; &gt;\n &lt;&lt;currentColumn&gt;&gt; {{$:/core/images/down-arrow}}\n &lt;$list filter=\&quot;[&lt;currentTable&gt;get[tbl-page-marker]]\&quot; variable=\&quot;hasMarker\&quot;&gt;\n &lt;$set name=\&quot;lastRecord\&quot; filter=&lt;&lt;veryLast&gt;&gt; value=&lt;&lt;lastRecord&gt;&gt; &gt;\n &lt;$wikify name=\&quot;lastRecord\&quot; text=&lt;&lt;lastRecord&gt;&gt; mode=\&quot;inline\&quot;&gt;\n &lt;$action-setfield $tiddler={{!!title}} $field=\&quot;tbl-page-marker\&quot; $value=&lt;&lt;lastRecord&gt;&gt; /&gt; \n &lt;/$wikify&gt;\n &lt;/$set&gt;\n &lt;/$list&gt;\n &lt;/$button&gt;\n &lt;/$list&gt;\n &lt;$list filter=\&quot;[&lt;currentTable&gt;get[tbl-sort-negate]remove[false]]\&quot; variable=\&quot;hasNegate\&quot;&gt;\n &lt;$button set=\&quot;!!tbl-sort-negate\&quot; setTo=\&quot;false\&quot; class=\&quot;tbl-sort-svg tc-btn-invisible tc-tiddlylink\&quot; &gt;\n &lt;&lt;currentColumn&gt;&gt; {{$:/core/images/up-arrow}}\n &lt;$list filter=\&quot;[&lt;currentTable&gt;get[tbl-page-marker]]\&quot; variable=\&quot;hasMarker\&quot;&gt;\n &lt;$set name=\&quot;firstRecord\&quot; filter=&lt;&lt;veryFirst&gt;&gt; value=&lt;&lt;firstRecord&gt;&gt; &gt;\n &lt;$wikify name=\&quot;firstRecord\&quot; text=&lt;&lt;firstRecord&gt;&gt; mode=\&quot;inline\&quot;&gt;\n &lt;$action-setfield $tiddler={{!!title}} $field=\&quot;tbl-page-marker\&quot; $value=&lt;&lt;firstRecord&gt;&gt; /&gt;\n &lt;/$wikify&gt;\n &lt;/$set&gt;\n &lt;/$list&gt;\n &lt;/$button&gt;\n &lt;/$list&gt;\n&lt;/th&gt;\n&lt;/$list&gt;&quot;
},
&quot;$:/plugins/aaldrich/tables/template/footer/disabled&quot;: {
&quot;title&quot;: &quot;$:/plugins/aaldrich/tables/template/footer/disabled&quot;,
&quot;created&quot;: &quot;20170205234107408&quot;,
&quot;modified&quot;: &quot;20191205210029064&quot;,
&quot;revision&quot;: &quot;0&quot;,
&quot;tags&quot;: &quot;$:/tags/table/FooterTemplate&quot;,
&quot;tbl-column-list&quot;: &quot;ID id&quot;,
&quot;text&quot;: &quot;&lt;th&gt;\n&lt;&lt;currentColumn&gt;&gt;\n&lt;/th&gt;&quot;
},
&quot;$:/plugins/aaldrich/tables/template/footer/empty&quot;: {
&quot;title&quot;: &quot;$:/plugins/aaldrich/tables/template/footer/empty&quot;,
&quot;created&quot;: &quot;20170206022519162&quot;,
&quot;modified&quot;: &quot;20191214044407597&quot;,
&quot;revision&quot;: &quot;0&quot;,
&quot;tags&quot;: &quot;$:/tags/table/FooterTemplate&quot;,
&quot;tbl-column-list&quot;: &quot;tbl-expand tbl-expand-one tbl-expand-many tbl-anything tbl-index tbl-delete tbl-button tbl-checkbox tbl-radio&quot;,
&quot;text&quot;: &quot;&lt;th&gt;\n&lt;/th&gt;&quot;
},
&quot;$:/plugins/aaldrich/tables/template/header/button&quot;: {
&quot;title&quot;: &quot;$:/plugins/aaldrich/tables/template/header/button&quot;,
&quot;created&quot;: &quot;20170206022431198&quot;,
&quot;modified&quot;: &quot;20191215042023298&quot;,
&quot;revision&quot;: &quot;0&quot;,
&quot;tags&quot;: &quot;$:/tags/table/HeaderTemplate&quot;,
&quot;tbl-column-list&quot;: &quot;tbl-button&quot;,
&quot;text&quot;: &quot;&lt;th style=\&quot;width:1.4ch;text-align:center;\&quot;&gt;\n &lt;span&gt;\n &lt;$button class=\&quot;tc-btn-invisible\&quot; tooltip={{!!tbl-button-tip}} style=\&quot;min-width:1.4ch\&quot;&gt;\n &lt;&lt;buttonIcon&gt;&gt;\n &lt;$list filter=&lt;&lt;tableFilter&gt;&gt; variable=\&quot;currentRecord\&quot;&gt;\n &lt;&lt;buttonAction&gt;&gt;\n &lt;/$list&gt;\n &lt;/$button&gt;\n &lt;/span&gt;\n&lt;/th&gt;&quot;
},
&quot;$:/plugins/aaldrich/tables/template/header/checkbox&quot;: {
&quot;title&quot;: &quot;$:/plugins/aaldrich/tables/template/header/checkbox&quot;,
&quot;created&quot;: &quot;20170206022431198&quot;,
&quot;modified&quot;: &quot;20191215042449992&quot;,
&quot;revision&quot;: &quot;0&quot;,
&quot;tags&quot;: &quot;$:/tags/table/HeaderTemplate&quot;,
&quot;tbl-column-list&quot;: &quot;tbl-checkbox&quot;,
&quot;text&quot;: &quot;&lt;th style=\&quot;width:1.4ch;text-align:center;\&quot; class=\&quot;tbl-inpt-check\&quot;&gt;\n &lt;$set name=\&quot;allSelected\&quot; filter=&lt;&lt;checkboxFilter&gt;&gt; value=\&quot;$:/plugins/aaldrich/tables/macro!!tbl-false\&quot; emptyValue=\&quot;$:/plugins/aaldrich/tables/macro!!tbl-true\&quot;&gt;\n &lt;$reveal type=\&quot;match\&quot; state=&lt;&lt;allSelected&gt;&gt; text=\&quot;false\&quot;&gt;\n &lt;$button class=\&quot;tc-btn-invisible\&quot; tooltip={{!!tbl-checkbox-tip}}&gt;\n &lt;$checkbox field=\&quot;tbl-selall\&quot; unchecked=\&quot;closed\&quot; default=\&quot;closed\&quot;/&gt;\n &lt;$list filter=&lt;&lt;tableFilter&gt;&gt;variable=\&quot;currentRecord\&quot;&gt;\n &lt;$action-listops $tiddler=&lt;&lt;currentRecord&gt;&gt; $tags=\&quot;+[append&lt;checkTag&gt;]\&quot; /&gt;\n &lt;$action-setfield $tiddler=&lt;&lt;currentRecord&gt;&gt; $field=&lt;&lt;checkField&gt;&gt; $value=&lt;&lt;checkSel&gt;&gt;/&gt;\n &lt;&lt;checkActions&gt;&gt;\n &lt;/$list&gt;\n &lt;/$button&gt;\n &lt;/$reveal&gt;\n &lt;$reveal type=\&quot;match\&quot; state=&lt;&lt;allSelected&gt;&gt; text=\&quot;true\&quot;&gt;\n &lt;$button class=\&quot;tc-btn-invisible\&quot; tooltip={{!!tbl-checkbox-tip}}&gt;\n &lt;$checkbox &lt;$checkbox field=\&quot;tbl-selall\&quot; checked=\&quot;open\&quot; default=\&quot;open\&quot;/&gt;\n &lt;$list filter=&lt;&lt;tableFilter&gt;&gt;variable=\&quot;currentRecord\&quot;&gt;\n &lt;$action-listops $tiddler=&lt;&lt;currentRecord&gt;&gt; $tags=\&quot;+[remove&lt;checkTag&gt;]\&quot; /&gt;\n &lt;$action-setfield $tiddler=&lt;&lt;currentRecord&gt;&gt; $field=&lt;&lt;checkField&gt;&gt; $value=&lt;&lt;checkUnsel&gt;&gt;/&gt;\n &lt;&lt;checkUnactions&gt;&gt;\n &lt;/$list&gt;\n &lt;/$button&gt;\n &lt;/$reveal&gt;\n &lt;/$set&gt;\n&lt;/th&gt;&quot;
},
&quot;$:/plugins/aaldrich/tables/template/header/default&quot;: {
&quot;title&quot;: &quot;$:/plugins/aaldrich/tables/template/header/default&quot;,
&quot;created&quot;: &quot;20170205223914688&quot;,
&quot;modified&quot;: &quot;20191208103157722&quot;,
&quot;revision&quot;: &quot;0&quot;,
&quot;tags&quot;: &quot;$:/tags/table/HeaderTemplate&quot;,
&quot;text&quot;: &quot;&lt;$list filter=\&quot;[&lt;currentTable&gt;!contains:tbl-sort-by&lt;currentColumn&gt;]\&quot; &gt;\n&lt;th&gt;\n &lt;$button set=\&quot;!!tbl-sort-by\&quot; setTo=&lt;&lt;currentColumn&gt;&gt; class=\&quot;tc-btn-invisible tc-tiddlylink\&quot; &gt;\n &lt;$action-setfield $tiddler={{!!title}} $field=\&quot;tbl-sort-negate\&quot; $value=\&quot;false\&quot;/&gt;\n &lt;&lt;currentColumn&gt;&gt;\n &lt;$list filter=\&quot;[&lt;currentTable&gt;get[tbl-page-marker]]\&quot; variable=\&quot;hasMarker\&quot;&gt;\n &lt;$set name=\&quot;firstRecord\&quot; filter=&lt;&lt;veryFirst&gt;&gt; value=&lt;&lt;firstRecord&gt;&gt; &gt;\n &lt;$wikify name=\&quot;firstRecord\&quot; text=&lt;&lt;firstRecord&gt;&gt; mode=\&quot;inline\&quot;&gt;\n &lt;$action-setfield $tiddler={{!!title}} $field=\&quot;tbl-page-marker\&quot; $value=&lt;&lt;firstRecord&gt;&gt; /&gt;\n &lt;/$wikify&gt;\n &lt;/$set&gt;\n &lt;/$list&gt;\n &lt;/$button&gt;\n&lt;/th&gt;\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[&lt;currentTable&gt;contains:tbl-sort-by&lt;currentColumn&gt;]\&quot; &gt;\n&lt;th&gt;\n &lt;$list filter=\&quot;[&lt;currentTable&gt;get[tbl-sort-negate]remove[true]]\&quot; variable=\&quot;hasNegate\&quot;&gt;\n &lt;$button set=\&quot;!!tbl-sort-negate\&quot; setTo=\&quot;true\&quot; class=\&quot;tbl-sort-svg tc-btn-invisible tc-tiddlylink\&quot; &gt;\n &lt;&lt;currentColumn&gt;&gt; {{$:/core/images/down-arrow}}\n &lt;$list filter=\&quot;[&lt;currentTable&gt;get[tbl-page-marker]]\&quot; variable=\&quot;hasMarker\&quot;&gt;\n &lt;$set name=\&quot;lastRecord\&quot; filter=&lt;&lt;veryLast&gt;&gt; value=&lt;&lt;lastRecord&gt;&gt; &gt;\n &lt;$wikify name=\&quot;lastRecord\&quot; text=&lt;&lt;lastRecord&gt;&gt; mode=\&quot;inline\&quot;&gt;\n &lt;$action-setfield $tiddler={{!!title}} $field=\&quot;tbl-page-marker\&quot; $value=&lt;&lt;lastRecord&gt;&gt; /&gt; \n &lt;/$wikify&gt;\n &lt;/$set&gt;\n &lt;/$list&gt;\n &lt;/$button&gt;\n &lt;/$list&gt;\n &lt;$list filter=\&quot;[&lt;currentTable&gt;get[tbl-sort-negate]remove[false]]\&quot; variable=\&quot;hasNegate\&quot;&gt;\n &lt;$button set=\&quot;!!tbl-sort-negate\&quot; setTo=\&quot;false\&quot; class=\&quot;tbl-sort-svg tc-btn-invisible tc-tiddlylink\&quot; &gt;\n &lt;&lt;currentColumn&gt;&gt; {{$:/core/images/up-arrow}}\n &lt;$list filter=\&quot;[&lt;currentTable&gt;get[tbl-page-marker]]\&quot; variable=\&quot;hasMarker\&quot;&gt;\n &lt;$set name=\&quot;firstRecord\&quot; filter=&lt;&lt;veryFirst&gt;&gt; value=&lt;&lt;firstRecord&gt;&gt; &gt;\n &lt;$wikify name=\&quot;firstRecord\&quot; text=&lt;&lt;firstRecord&gt;&gt; mode=\&quot;inline\&quot;&gt;\n &lt;$action-setfield $tiddler={{!!title}} $field=\&quot;tbl-page-marker\&quot; $value=&lt;&lt;firstRecord&gt;&gt; /&gt;\n &lt;/$wikify&gt;\n &lt;/$set&gt;\n &lt;/$list&gt;\n &lt;/$button&gt;\n &lt;/$list&gt;\n&lt;/th&gt;\n&lt;/$list&gt;&quot;
},
&quot;$:/plugins/aaldrich/tables/template/header/delete&quot;: {
&quot;title&quot;: &quot;$:/plugins/aaldrich/tables/template/header/delete&quot;,
&quot;created&quot;: &quot;20170212102107998&quot;,
&quot;modified&quot;: &quot;20191215042010684&quot;,
&quot;revision&quot;: &quot;0&quot;,
&quot;tags&quot;: &quot;$:/tags/table/HeaderTemplate&quot;,
&quot;tbl-column-list&quot;: &quot;tbl-delete&quot;,
&quot;text&quot;: &quot;&lt;th style=\&quot;width:1.4ch;text-align:center;\&quot;&gt;\n &lt;span&gt;\n &lt;$button class=\&quot;tc-btn-invisible\&quot; tooltip=\&quot;delete all\&quot; style=\&quot;min-width:1.4ch\&quot;&gt;\n&lt;$list filter=&lt;&lt;showDeleteConfirm&gt;&gt;&gt;\n &lt;$action-setfield $tiddler=\&quot;$:/temp/tables/delete-all\&quot; text=&lt;&lt;currentTable&gt;&gt;/&gt;\n&lt;/$list&gt;\n {{$:/core/images/delete-button}}\n &lt;/$button&gt;\n &lt;/span&gt;\n&lt;/th&gt;&quot;
},
&quot;$:/plugins/aaldrich/tables/template/header/disabled&quot;: {
&quot;title&quot;: &quot;$:/plugins/aaldrich/tables/template/header/disabled&quot;,
&quot;created&quot;: &quot;20170205233518589&quot;,
&quot;modified&quot;: &quot;20191205210234858&quot;,
&quot;revision&quot;: &quot;0&quot;,
&quot;tags&quot;: &quot;$:/tags/table/HeaderTemplate&quot;,
&quot;tbl-column-list&quot;: &quot;ID id&quot;,
&quot;text&quot;: &quot;&lt;th&gt;\n&lt;&lt;currentColumn&gt;&gt;\n&lt;/th&gt;&quot;
},
&quot;$:/plugins/aaldrich/tables/template/header/empty&quot;: {
&quot;title&quot;: &quot;$:/plugins/aaldrich/tables/template/header/empty&quot;,
&quot;created&quot;: &quot;20190714062216671&quot;,
&quot;modified&quot;: &quot;20191214044612648&quot;,
&quot;revision&quot;: &quot;0&quot;,
&quot;tags&quot;: &quot;$:/tags/table/HeaderTemplate&quot;,
&quot;tbl-column-list&quot;: &quot;tbl-anything tbl-index tbl-radio&quot;,
&quot;text&quot;: &quot;&lt;th&gt;\n&lt;/th&gt;&quot;
},
&quot;$:/plugins/aaldrich/tables/template/header/expand&quot;: {
&quot;title&quot;: &quot;$:/plugins/aaldrich/tables/template/header/expand&quot;,
&quot;created&quot;: &quot;20170206022431198&quot;,
&quot;modified&quot;: &quot;20191215042036015&quot;,
&quot;revision&quot;: &quot;0&quot;,
&quot;tags&quot;: &quot;$:/tags/table/HeaderTemplate&quot;,
&quot;tbl-column-list&quot;: &quot;tbl-expand tbl-expand-one tbl-expand-many&quot;,
&quot;text&quot;: &quot;&lt;th style=\&quot;width:1.4ch;text-align:center;\&quot;&gt;\n &lt;$set name=\&quot;isExpanded\&quot; filter=\&quot;[&lt;tempTableExpand&gt;indexes[]limit[1]]\&quot; value=\&quot;true\&quot; emptyValue=\&quot;false\&quot;&gt;\n &lt;$list variable=\&quot;showColAll\&quot; filter=\&quot;[&lt;isExpanded&gt;]-[[false]]\&quot; &gt;\n &lt;$button class=\&quot;tc-btn-invisible\&quot; tooltip=\&quot;collapse all\&quot; style=\&quot;min-width:1.4ch\&quot;&gt;{{$:/core/images/fold-button}}\n &lt;$action-setfield $tiddler=&lt;&lt;tempTableExpand&gt;&gt; text=\&quot;\&quot;/&gt;\n &lt;/$button&gt;\n &lt;/$list&gt;\n&lt;!--this is done so the column stays visible if the table is squished out of tiddler margin --&gt;\n &lt;$list variable=\&quot;hideColAll\&quot; filter=\&quot;[&lt;isExpanded&gt;]-[[true]]\&quot; &gt;\n &lt;$button class=\&quot;tc-btn-invisible\&quot; style=\&quot;cursor:default;min-width:1.4ch\&quot;&gt;{{$:/core/images/blank}}\n &lt;/$button&gt;\n &lt;/$list&gt;\n &lt;/$set&gt;\n&lt;/th&gt;&quot;
},
&quot;$:/plugins/aaldrich/tables/template/pagination/default&quot;: {
&quot;title&quot;: &quot;$:/plugins/aaldrich/tables/template/pagination/default&quot;,
&quot;created&quot;: &quot;20190715072523828&quot;,
&quot;modified&quot;: &quot;20191208103154143&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;text&quot;: &quot;&lt;$reveal type=\&quot;nomatch\&quot; style=\&quot;text-align:center;\&quot; state=\&quot;!!tbl-page-marker\&quot; text=\&quot;\&quot; tag=\&quot;div\&quot; class=\&quot;tbl-page-footer\&quot;&gt;\n &lt;$reveal type=\&quot;nomatch\&quot; style=\&quot;float:left;\&quot; state=\&quot;!!tbl-page-marker\&quot; text=&lt;&lt;previousPage&gt;&gt; tag=\&quot;div\&quot; class=\&quot;tbl-page-prev\&quot;&gt;\n &lt;$button class=\&quot;tc-btn-invisible tc-tiddlylink\&quot;&gt;\n &lt;$action-setfield tbl-page-marker=&lt;&lt;previousPage&gt;&gt;/&gt;{{$:/core/images/chevron-left}} ''Prev''&lt;/$button&gt;\n &lt;/$reveal&gt;\n &lt;$reveal type=\&quot;match\&quot; style=\&quot;float:right;\&quot; state=\&quot;!!tbl-limit\&quot; text=&lt;&lt;recordCount&gt;&gt; tag=\&quot;div\&quot; class=\&quot;tbl-page-next\&quot;&gt;\n &lt;$button class=\&quot;tc-btn-invisible tc-tiddlylink\&quot;&gt;\n &lt;$action-setfield tbl-page-marker=&lt;&lt;nextPage&gt;&gt;/&gt;''Next'' {{$:/core/images/chevron-right}}&lt;/$button&gt;\n &lt;/$reveal&gt;\nDisplaying &lt;&lt;firstCount&gt;&gt; through &lt;&lt;lastCount&gt;&gt; of &lt;&lt;totalCount&gt;&gt; Results&amp;nbsp; |\n&lt;$select tiddler=&lt;&lt;currentTable&gt;&gt; field=\&quot;tbl-limit\&quot; actions=\&quot;\&quot;\&quot;&lt;$action-setfield $tiddler=&lt;&lt;currentTable&gt;&gt; tbl-page-marker=&lt;&lt;firstRecord&gt;&gt;/&gt;\&quot;\&quot;\&quot;&gt;\n&lt;$set name=\&quot;limitFilter\&quot; value={{$:/plugins/aaldrich/tables/defaults!!tbl-limit-choices}} &gt;\n&lt;$list filter=&lt;&lt;limitFilter&gt;&gt;&gt;\n&lt;option value={{!!title}}&gt;Limit {{!!title}}&lt;/option&gt;\n&lt;/$list&gt;\n&lt;/$set&gt;\n&lt;option value=9999999&gt;Show All&lt;/option&gt;\n&lt;/$select&gt;\n&lt;/$reveal&gt;\n&lt;$reveal type=\&quot;match\&quot; state=\&quot;!!tbl-page-marker\&quot; text=\&quot;\&quot; &gt;\n &lt;$list filter=&lt;&lt;veryFirst&gt;&gt; &gt;\n &lt;div class=\&quot;tbl-page-refresh\&quot;&gt;\n &lt;$button class=\&quot;tc-btn-invisible tc-tiddlylink\&quot;&gt;\n &lt;$action-setfield $tiddler=&lt;&lt;currentTable&gt;&gt; tbl-page-marker=&lt;&lt;firstRecord&gt;&gt;/&gt;''Click to Enable Pagination''&lt;/$button&gt;\n &lt;/div&gt;\n &lt;/$list&gt;\n&lt;/$reveal&gt;&quot;
},
&quot;$:/plugins/aaldrich/tables/view&quot;: {
&quot;title&quot;: &quot;$:/plugins/aaldrich/tables/view&quot;,
&quot;created&quot;: &quot;20170205062652787&quot;,
&quot;modified&quot;: &quot;20191215053651054&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;text&quot;: &quot;&lt;!-- reveals Edit Buttons--&gt;\n{{||$:/plugins/aaldrich/tables/editor/open}}\n&lt;!-- reveals deletion confirmation --&gt;\n &lt;$reveal class=\&quot;tbl-delete-confirm\&quot; type=\&quot;match\&quot; state=\&quot;$:/temp/tables/delete-all!!text\&quot; text=&lt;&lt;currentTable&gt;&gt; tag=\&quot;div\&quot;&gt;\n Delete all displayed records? \n &lt;$button class=\&quot;tc-btn-invisible\&quot;&gt;\n &lt;$action-deletetiddler $tiddler=\&quot;$:/temp/tables/delete-all\&quot;/&gt;\n &lt;$list filter=&lt;&lt;tableFilter&gt;&gt; variable=\&quot;currentRecord\&quot;&gt;\n &lt;$action-setfield $tiddler=&lt;&lt;tempTableStyle&gt;&gt; $index=&lt;&lt;currentRecord&gt;&gt; $value=\&quot;\&quot;/&gt;\n &lt;$action-deletetiddler $tiddler=&lt;&lt;currentRecord&gt;&gt;/&gt;\n &lt;/$list&gt;\n {{$:/core/images/delete-button}} ''yes'' \n &lt;/$button&gt; or \n &lt;$button class=\&quot;tc-btn-invisible\&quot;&gt;\n &lt;$action-deletetiddler $tiddler=\&quot;$:/temp/tables/delete-all\&quot;/&gt;\n {{$:/core/images/close-button}} ''no'' \n &lt;/$button&gt;\n &lt;/$reveal&gt;\n&lt;table style={{!!tbl-style-table}}&gt;\n&lt;!-- reveals table caption --&gt;\n &lt;$reveal type=\&quot;match\&quot; state=\&quot;!!tbl-show-caption\&quot; text=\&quot;true\&quot; tag=\&quot;caption\&quot;&gt;\n &lt;$transclude tiddler=&lt;&lt;currentTable&gt;&gt; field=\&quot;tbl-caption\&quot; mode={{$:/plugins/aaldrich/tables/defaults!!tbl-caption-mode}}/&gt;\n &lt;/$reveal&gt;\n&lt;!-- reveals column groups --&gt;\n &lt;$reveal type=\&quot;match\&quot; state=\&quot;!!tbl-show-colgroup\&quot; text=\&quot;true\&quot; tag=\&quot;colgroup\&quot;&gt;\n {{!!tbl-style-colgroup}}\n &lt;/$reveal&gt;\n&lt;!-- reveal header --&gt;\n &lt;$reveal type=\&quot;match\&quot; state=\&quot;!!tbl-show-header\&quot; text=\&quot;true\&quot; tag=\&quot;thead\&quot;&gt;\n &lt;tr&gt;\n &lt;$list filter={{!!tbl-columns}} variable=\&quot;currentColumn\&quot;&gt;\n &lt;$set name=\&quot;headerLookup\&quot; filter=\&quot;[all[tiddlers+shadows]tag[$:/tags/table/HeaderTemplate]tag&lt;currentColumn&gt;][all[tiddlers+shadows]tag[$:/tags/table/HeaderTemplate]contains:tbl-column-list&lt;currentColumn&gt;]+[limit[1]get[title]]\&quot; value=&lt;&lt;headerLookup&gt;&gt; emptyValue={{$:/plugins/aaldrich/tables/defaults!!tbl-temp-default-head}}&gt;\n &lt;$transclude tiddler=&lt;&lt;headerLookup&gt;&gt; field=\&quot;text\&quot; mode=\&quot;inline\&quot;/&gt;\n &lt;/$set&gt;\n &lt;/$list&gt;\n &lt;/tr&gt;\n &lt;/$reveal&gt;\n&lt;!-- reveal footer --&gt;\n &lt;$reveal type=\&quot;match\&quot; state=\&quot;!!tbl-show-footer\&quot; text=\&quot;true\&quot; tag=\&quot;tfoot\&quot;&gt;\n &lt;tr&gt;\n &lt;$list filter={{!!tbl-columns}} variable=\&quot;currentColumn\&quot;&gt;\n &lt;$set name=\&quot;footerLookup\&quot; filter=\&quot;[all[tiddlers+shadows]tag[$:/tags/table/FooterTemplate]tag&lt;currentColumn&gt;][all[tiddlers+shadows]tag[$:/tags/table/FooterTemplate]contains:tbl-column-list&lt;currentColumn&gt;]+[limit[1]get[title]]\&quot; value=&lt;&lt;footerLookup&gt;&gt; emptyValue={{$:/plugins/aaldrich/tables/defaults!!tbl-temp-default-foot}}&gt;\n &lt;$transclude tiddler=&lt;&lt;footerLookup&gt;&gt; field=\&quot;text\&quot; mode=\&quot;inline\&quot;/&gt;\n &lt;/$set&gt;\n &lt;/$list&gt;\n &lt;/tr&gt;\n &lt;/$reveal&gt;\n&lt;!-- generate records --&gt;\n &lt;tbody&gt;\n &lt;$list filter=&lt;&lt;tableFilter&gt;&gt; variable=\&quot;currentRecord\&quot;&gt;\n &lt;$wikify name=\&quot;rowStyle\&quot; text=\&quot;\&quot;\&quot;&lt;$transclude tiddler=&lt;&lt;tempTableStyle&gt;&gt; index=&lt;&lt;currentRecord&gt;&gt; /&gt;\&quot;\&quot;\&quot; mode=\&quot;inline\&quot;&gt;\n &lt;$list filter=\&quot;[&lt;currentTable&gt;contains:tbl-mode[edit]]\&quot; variable=\&quot;tableModeEdit\&quot;&gt;\n &lt;tr class=\&quot;tbl-record-row\&quot; style=&lt;&lt;rowStyle&gt;&gt;&gt;\n &l
}
}
}</pre>
</div>
<div created="20210327052508762" dependents="$:/plugins/tiddlywiki/codemirror" description="A better editor for TW5 - built on the Official CodeMirror Plugin" modified="20210510224047195" name="CMPlus" plugin-type="plugin" tags="" title="$:/plugins/adithyab/cmplus" type="application/json" version="0.2.1">
<pre>{
&quot;tiddlers&quot;: {
&quot;$:/config/codemirror/autocomplete&quot;: {
&quot;title&quot;: &quot;$:/config/codemirror/autocomplete&quot;,
&quot;text&quot;: &quot;{\n\t\&quot;Ctrl-Space\&quot;: \&quot;autocomplete\&quot;\n}&quot;,
&quot;type&quot;: &quot;json&quot;,
&quot;created&quot;: &quot;20210328004023360&quot;,
&quot;extend&quot;: &quot;extraKeys&quot;,
&quot;modified&quot;: &quot;20210328004023360&quot;
},
&quot;$:/plugins/adithyab/cmplus/macros&quot;: {
&quot;title&quot;: &quot;$:/plugins/adithyab/cmplus/macros&quot;,
&quot;created&quot;: &quot;20210328020051916&quot;,
&quot;modified&quot;: &quot;20210328053732117&quot;,
&quot;tags&quot;: &quot;$:/tags/Macro&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;\\define cmcolour(name)\n{{$:/plugins/adithyab/cmplus/settings##$name$}}\n\\end&quot;
},
&quot;$:/plugins/adithyab/cmplus/readme&quot;: {
&quot;title&quot;: &quot;$:/plugins/adithyab/cmplus/readme&quot;,
&quot;created&quot;: &quot;20210328060842133&quot;,
&quot;modified&quot;: &quot;20210328060929665&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;!! TW5 CodeMirrorPlus\nTowards making a better editor for TiddlyWiki5.\n&quot;
},
&quot;$:/plugins/adithyab/cmplus/settings&quot;: {
&quot;title&quot;: &quot;$:/plugins/adithyab/cmplus/settings&quot;,
&quot;text&quot;: &quot;monospace-font:monospace,\&quot;Courier New\&quot;\nselected:rgba(100,100,100,0.3)\nlinenumber:&lt;&lt;colour primary&gt;&gt;\nkeyword:&lt;&lt;colour code-foreground&gt;&gt;\nmacro:&lt;&lt;colour code-foreground&gt;&gt;\nquote:&lt;&lt;colour primary&gt;&gt;\npre:&lt;&lt;colour foreground&gt;&gt;\nexternallink:&lt;&lt;colour external-link-foreground&gt;&gt;\ninternallink:&lt;&lt;colour tiddler-title-foreground&gt;&gt;\nlink:&lt;&lt;colour tiddler-title-foreground&gt;&gt;\ntransclude:&lt;&lt;colour tiddler-title-foreground&gt;&gt;\nmonospace:&lt;&lt;colour foreground&gt;&gt;\nlist1:&lt;&lt;colour primary&gt;&gt;\nlist2:&lt;&lt;colour primary&gt;&gt;\nlist3:&lt;&lt;colour primary&gt;&gt;\nlist4:&lt;&lt;colour primary&gt;&gt;\nlist5:&lt;&lt;colour primary&gt;&gt;\nlist6:&lt;&lt;colour primary&gt;&gt;\nh1:&lt;&lt;colour primary&gt;&gt;\nh2:&lt;&lt;colour primary&gt;&gt;\nh3:&lt;&lt;colour primary&gt;&gt;\nh4:&lt;&lt;colour primary&gt;&gt;\nh5:&lt;&lt;colour primary&gt;&gt;\nh6:&lt;&lt;colour primary&gt;&gt;\nhr:&lt;&lt;colour primary&gt;&gt;&quot;,
&quot;type&quot;: &quot;application/x-tiddler-dictionary&quot;,
&quot;created&quot;: &quot;20210328015904035&quot;,
&quot;modified&quot;: &quot;20210328054754059&quot;,
&quot;tags&quot;: &quot;&quot;
},
&quot;$:/plugins/tiddlywiki/codemirror/addon/hint/anyword-hint.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/codemirror/addon/hint/anyword-hint.js&quot;,
&quot;text&quot;: &quot;// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: https://codemirror.net/LICENSE\n\n(function (mod) {\n\tif (typeof exports == \&quot;object\&quot; &amp;&amp; typeof module == \&quot;object\&quot;) // CommonJS\n\t\tmod(require(\&quot;../../lib/codemirror\&quot;));\n\telse if (typeof define == \&quot;function\&quot; &amp;&amp; define.amd) // AMD\n\t\tdefine([\&quot;../../lib/codemirror\&quot;], mod);\n\telse // Plain browser env\n\t\tmod(CodeMirror);\n})(function (CodeMirror) {\n\t\&quot;use strict\&quot;;\n\n\tCodeMirror.registerHelper('hint', 'anyword', function (editor) {\n\t\tvar cur = editor.getCursor();\n\t\tvar curLine = editor.getLine(cur.line);\n\t\tvar start = cur.ch;\n\t\tvar end = start;\n\t\tvar max_length = 30\n\t\twhile (start) {\n\t\t\tif (end - start &gt; max_length) {\n\t\t\t\treturn null;\n\t\t\t}\n\t\t\tvar ch = curLine.charAt(start - 1)\n\t\t\tif (!(ch == '[' || ch == '{' || ch == \&quot;|\&quot;)) {\n\t\t\t\tstart--;\n\t\t\t} else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tvar curWord = start !== end &amp;&amp; curLine.slice(start, end);\n\t\tif (curLine.charAt(start) == '$') {\n\t\t\treturn {\n\t\t\t\tlist: $tw.wiki.filterTiddlers(`[all[tiddlers]search:title:literal[${curWord}]!prefix[$:/state]]`),\n\t\t\t\tfrom: CodeMirror.Pos(cur.line, start),\n\t\t\t\tto: CodeMirror.Pos(cur.line, end)\n\t\t\t}\n\t\t} else {\n\t\t\treturn {\n\t\t\t\tlist: $tw.wiki.filterTiddlers(`[all[tiddlers]!is[system]!is[shadow]search:title:literal[${curWord}]!prefix[$:/state]]`),\n\t\t\t\tfrom: CodeMirror.Pos(cur.line, start),\n\t\t\t\tto: CodeMirror.Pos(cur.line, end)\n\t\t\t}\n\t\t}\n\t})\n});&quot;,
&quot;created&quot;: &quot;20210328004232522&quot;,
&quot;modified&quot;: &quot;20210328010801763&quot;,
&quot;module-type&quot;: &quot;codemirror&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/plugins/tiddlywiki/codemirror/addon/hint/show-hint.css&quot;: {
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/codemirror/addon/hint/show-hint.css&quot;,
&quot;text&quot;: &quot;.CodeMirror-hints {\n position: absolute;\n z-index: 10;\n overflow: hidden;\n list-style: none;\n\n margin: 0;\n padding: 2px;\n\n -webkit-box-shadow: 2px 3px 5px rgba(0,0,0,.2);\n -moz-box-shadow: 2px 3px 5px rgba(0,0,0,.2);\n box-shadow: 2px 3px 5px rgba(0,0,0,.2);\n border-radius: 3px;\n border: 1px solid silver;\n\n background: white;\n font-size: 90%;\n font-family: monospace;\n\n max-height: 20em;\n overflow-y: auto;\n}\n\n.CodeMirror-hint {\n margin: 0;\n padding: 0 4px;\n border-radius: 2px;\n white-space: pre;\n color: black;\n cursor: pointer;\n}\n\nli.CodeMirror-hint-active {\n background: #08f;\n color: white;\n}\n&quot;,
&quot;created&quot;: &quot;20210328012141944&quot;,
&quot;modified&quot;: &quot;20210328012141944&quot;,
&quot;tags&quot;: &quot;$:/tags/Stylesheet&quot;,
&quot;type&quot;: &quot;text/css&quot;
},
&quot;$:/plugins/tiddlywiki/codemirror/addon/hint/show-hint.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/codemirror/addon/hint/show-hint.js&quot;,
&quot;text&quot;: &quot;// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: https://codemirror.net/LICENSE\n!function(t){\&quot;object\&quot;==typeof exports&amp;&amp;\&quot;object\&quot;==typeof module?t(require(\&quot;../../lib/codemirror\&quot;)):\&quot;function\&quot;==typeof define&amp;&amp;define.amd?define([\&quot;../../lib/codemirror\&quot;],t):t(CodeMirror)}(function(W){\&quot;use strict\&quot;;var I=\&quot;CodeMirror-hint-active\&quot;;function o(t,i){this.cm=t,this.options=i,this.widget=null,this.debounce=0,this.tick=0,this.startPos=this.cm.getCursor(\&quot;start\&quot;),this.startLen=this.cm.getLine(this.startPos.line).length-this.cm.getSelection().length;var e=this;t.on(\&quot;cursorActivity\&quot;,this.activityFunc=function(){e.cursorActivity()})}W.showHint=function(t,i,e){if(!i)return t.showHint(e);e&amp;&amp;e.async&amp;&amp;(i.async=!0);var n={hint:i};if(e)for(var o in e)n[o]=e[o];return t.showHint(n)},W.defineExtension(\&quot;showHint\&quot;,function(t){t=function(t,i,e){var n=t.options.hintOptions,o={};for(var s in l)o[s]=l[s];if(n)for(var s in n)void 0!==n[s]&amp;&amp;(o[s]=n[s]);if(e)for(var s in e)void 0!==e[s]&amp;&amp;(o[s]=e[s]);o.hint.resolve&amp;&amp;(o.hint=o.hint.resolve(t,i));return o}(this,this.getCursor(\&quot;start\&quot;),t);var i=this.listSelections();if(!(1&lt;i.length)){if(this.somethingSelected()){if(!t.hint.supportsSelection)return;for(var e=0;e&lt;i.length;e++)if(i[e].head.line!=i[e].anchor.line)return}this.state.completionActive&amp;&amp;this.state.completionActive.close();var n=this.state.completionActive=new o(this,t);n.options.hint&amp;&amp;(W.signal(this,\&quot;startCompletion\&quot;,this),n.update(!0))}}),W.defineExtension(\&quot;closeHint\&quot;,function(){this.state.completionActive&amp;&amp;this.state.completionActive.close()});var s=window.requestAnimationFrame||function(t){return setTimeout(t,1e3/60)},c=window.cancelAnimationFrame||clearTimeout;function B(t){return\&quot;string\&quot;==typeof t?t:t.text}function K(t,i){for(;i&amp;&amp;i!=t;){if(\&quot;LI\&quot;===i.nodeName.toUpperCase()&amp;&amp;i.parentNode==t)return i;i=i.parentNode}}function n(o,t){this.completion=o,this.data=t,this.picked=!1;var e=this,s=o.cm,c=s.getInputField().ownerDocument,r=c.defaultView||c.parentWindow,l=this.hints=c.createElement(\&quot;ul\&quot;),i=o.cm.options.theme;l.className=\&quot;CodeMirror-hints \&quot;+i,this.selectedHint=t.selectedHint||0;for(var n=t.list,h=0;h&lt;n.length;++h){var a=l.appendChild(c.createElement(\&quot;li\&quot;)),u=n[h],f=\&quot;CodeMirror-hint\&quot;+(h!=this.selectedHint?\&quot;\&quot;:\&quot; \&quot;+I);null!=u.className&amp;&amp;(f=u.className+\&quot; \&quot;+f),a.className=f,u.render?u.render(a,t,u):a.appendChild(c.createTextNode(u.displayText||B(u))),a.hintId=h}var p,d,m,g=o.options.container||c.body,v=s.cursorCoords(o.options.alignWithWord?t.from:null),y=v.left,w=v.bottom,H=!0,C=0,b=0;g!==c.body&amp;&amp;(d=(p=-1!==[\&quot;absolute\&quot;,\&quot;relative\&quot;,\&quot;fixed\&quot;].indexOf(r.getComputedStyle(g).position)?g:g.offsetParent).getBoundingClientRect(),m=c.body.getBoundingClientRect(),C=d.left-m.left-p.scrollLeft,b=d.top-m.top-p.scrollTop),l.style.left=y-C+\&quot;px\&quot;,l.style.top=w-b+\&quot;px\&quot;;var k=r.innerWidth||Math.max(c.body.offsetWidth,c.documentElement.offsetWidth),A=r.innerHeight||Math.max(c.body.offsetHeight,c.documentElement.offsetHeight);g.appendChild(l);var x,T,S=l.getBoundingClientRect(),M=S.bottom-A,N=l.scrollHeight&gt;l.clientHeight+1,F=s.getScrollInfo();0&lt;M&amp;&amp;(x=S.bottom-S.top,0&lt;v.top-(v.bottom-S.top)-x?(l.style.top=(w=v.top-x-b)+\&quot;px\&quot;,H=!1):A&lt;x&amp;&amp;(l.style.height=A-5+\&quot;px\&quot;,l.style.top=(w=v.bottom-S.top-b)+\&quot;px\&quot;,T=s.getCursor(),t.from.ch!=T.ch&amp;&amp;(v=s.cursorCoords(T),l.style.left=(y=v.left-C)+\&quot;px\&quot;,S=l.getBoundingClientRect())));var E,O=S.right-k;if(0&lt;O&amp;&amp;(S.right-S.left&gt;k&amp;&amp;(l.style.width=k-5+\&quot;px\&quot;,O-=S.right-S.left-k),l.style.left=(y=v.left-O-C)+\&quot;px\&quot
&quot;created&quot;: &quot;20210328012150088&quot;,
&quot;modified&quot;: &quot;20210328012150088&quot;,
&quot;module-type&quot;: &quot;codemirror&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/plugins/tiddlywiki/codemirror/mode/tw5/tw5.css&quot;: {
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/codemirror/mode/tw5/tw5.css&quot;,
&quot;created&quot;: &quot;20200815103937889&quot;,
&quot;modified&quot;: &quot;20210328054714579&quot;,
&quot;module-type&quot;: &quot;codemirror-theme&quot;,
&quot;name&quot;: &quot;cmplus&quot;,
&quot;tags&quot;: &quot;$:/tags/Stylesheet&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;```\n/*\nTiddlywiki Metadata\n----\nName: $:/plugins/tiddlywiki/codemirror/mode/tw5/tw5.css\n\nAdditional Fields - \nmodule-type: codemirror-theme\nname: cmplus\n*/\n```\n\n.cm-s-cmplus{\n line-height: 1.5em;\n background: &lt;&lt;colour tiddler-editor-background&gt;&gt; !important;\n color: &lt;&lt;colour foreground&gt;&gt; !important;\n}\n\n.cm-s-cmplus .CodeMirror-lines {\n padding: 8px 0;\n}\n\n.cm-s-cmplus .CodeMirror-linenumber {\n color: &lt;&lt;cmcolour linenumber&gt;&gt;;\n}\n\n.cm-s-cmplus .CodeMirror-gutters {\n background-color: &lt;&lt;colour page-background&gt;&gt;;\n padding-right: 10px;\n z-index: 3;\n border: none;\n}\n\n.cm-s-cmplus div.CodeMirror-cursor {\n border-left: 3px solid &lt;&lt;colour very-muted-foreground&gt;&gt;;\n}\n\n.cm-s-cmplus .CodeMirror-activeline-background {\n background: &lt;&lt;colour tiddler-editor-fields-even&gt;&gt;;\n}\n\n.cm-s-cmplus .CodeMirror-selected {\n background: &lt;&lt;cmcolour selected&gt;&gt; !important;\n}\n\n.cm-s-cmplus .cm-comment {\n font-style: italic;\n color: &lt;&lt;colour muted-foreground&gt;&gt;;\n}\n\n.cm-s-cmplus .CodeMirror-matchingbracket {\n text-decoration: underline;\n color: &lt;&lt;cmcolour matching-bracket&gt;&gt; !important;\n}\n\n.cm-s-cmplus .cm-strikethrough {\n text-decoration-color: &lt;&lt;colour very-muted-foreground&gt;&gt;; \n}\n\n.cm-s-cmplus .cm-underlined {\n text-decoration-line: underline;\n text-decoration-style: solid;\n text-decoration-color: &lt;&lt;colour very-muted-foreground&gt;&gt;;\n}\n\n.cm-s-cmplus .cm-superscript {\n vertical-align: super;\n font-size: 0.7em;\n line-height: 0.1em;\n}\n\n.cm-s-cmplus .cm-subscript {\n font-size: 0.7em;\n line-height: 0.5;\n}\n\n.cm-s-cmplus .cm-macro {\n color: &lt;&lt;cmcolour macro&gt;&gt;;\n font-family: {{$:/themes/tiddlywiki/vanilla/settings/codefontfamily}};\n}\n\n.cm-s-cmplus .cm-keyword {\n color: &lt;&lt;cmcolour keyword&gt;&gt;;\n font-family: {{$:/themes/tiddlywiki/vanilla/settings/codefontfamily}};\n font-weight: 600;\n}\n\n.cm-s-cmplus .cm-quote {\n font-style: italic;\n padding-left: 0.6em;\n border-left: &lt;&lt;cmcolour quote&gt;&gt; solid 0.2em;\n}\n\n.cm-s-cmplus .cm-hr {\n color: &lt;&lt;cmcolour hr&gt;&gt;;\n}\n\n.cm-s-cmplus .cm-h1 {\n color: &lt;&lt;cmcolour h1&gt;&gt;;\n font-weight: 700;\n font-size: 1.383em;\n line-height: 1.802em;\n}\n\n.cm-s-cmplus .cm-h2 {\n color: &lt;&lt;cmcolour h2&gt;&gt;;\n font-weight: 600;\n font-size: 1.296em;\n line-height: 1.602em;\n}\n\n.cm-s-cmplus .cm-h3 {\n color: &lt;&lt;cmcolour h3&gt;&gt;;\n font-weight: 500;\n font-size: 1.215em;\n line-height: 1.424em;\n}\n\n.cm-s-cmplus .cm-h4 {\n color: &lt;&lt;cmcolour h4&gt;&gt;;\n font-weight: 400;\n font-size: 1.138em;\n line-height: 1.266em;\n}\n\n.cm-s-cmplus .cm-h5 {\n color: &lt;&lt;cmcolour h5&gt;&gt;;\n font-weight: 400;\n font-size: 1.067em;\n line-height: 1.125em;\n}\n\n.cm-s-cmplus .cm-h6 {\n color: &lt;&lt;cmcolour h6&gt;&gt;;\n font-weight: 400;\n}\n\n.cm-s-cmplus .cm-link {\n color: &lt;&lt;cmcolour link&gt;&gt;;\n text-decoration: none;\n font-weight: 600;\n}\n\n.cm-s-cmplus .cm-internallink {\n color: &lt;&lt;cmcolour internallink&gt;&gt;;\n font-weight:600;\n}\n\n.cm-s-cmplus .cm-externallink {\n color: &lt;&lt;cmcolour externallink&gt;&gt;;\n text-decoration: underline;\n}\n\n.cm-s-cmplus .cm-transclude {\n color: &lt;&lt;cmcolour transclude&gt;&gt;;\n}\n\n.cm-s-cmplus .cm-pre {\n color: &lt;&lt;cmcolour pre&gt;&gt;;\t\t\n font-family: {{$:/plugins/adithyab/cmplus/settings##monospace-font}};\n}\n\n.cm-s-cmplus .cm-monospace {\n color: &lt;&lt;cmcolour monospace&gt;&gt;;\n font-family: {{$:/plugins/adithyab/cmplus/settings##monospace-font}};\n}\n\n.cm-s-cmplus .cm-list1 {\n color: &lt;&lt;cmcolour list1&gt;&gt;;\n padding-left: 1em;\n padding-right: 0.5em;\n font-family: {{$:/themes/tiddlywiki/vanilla/settings/codefont
},
&quot;$:/plugins/tiddlywiki/codemirror/mode/tw5/tw5.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/codemirror/mode/tw5/tw5.js&quot;,
&quot;text&quot;: &quot;// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: https://codemirror.net/LICENSE\n\n/***\n\n|''Name''|tw5.js|\n|''Description''|Enables TiddlyWikiy syntax highlighting using CodeMirror|\n|''Original Contributor''|PMario|\n|''Author''|[[adithya-badidey|https://github.com/adithya-badidey]]|\n|''Version''|0.1.8|\n|''Status''|''stable''|\n|''Source''|[[GitHub|https://github.com/adithya-badidey/TW5-codemirror-plus]]|\n|''Documentation''|https://codemirror.tiddlyspace.com/|\n|''License''|[[MIT License|http://www.opensource.org/licenses/mit-license.php]]|\n|''Requires''|codemirror.js|\n|''Keywords''|syntax highlighting color code mirror codemirror|\n\n!! Tiddlywiki Metadata\nName: $:/plugins/tiddlywiki/codemirror/mode/tw5/tw5.js\nType: application/javascript\nAdditional Field:\nmodule-type: codemirror\n \nInfo: CoreVersion parameter is needed for TiddlyWiki only!\n\n***/\n\n(function (mod) {\n if (typeof exports == \&quot;object\&quot; &amp;&amp; typeof module == \&quot;object\&quot;) // CommonJS\n mod(require(\&quot;../../lib/codemirror\&quot;));\n else if (typeof define == \&quot;function\&quot; &amp;&amp; define.amd) // AMD\n define([\&quot;../../lib/codemirror\&quot;], mod);\n else // Plain browser env\n mod(CodeMirror);\n})(function (CodeMirror) {\n \&quot;use strict\&quot;;\n\n CodeMirror.defineMode(\&quot;tiddlywiki5\&quot;, function () {\n // Tokenizer\n var textwords = {};\n\n var keywords = {\n \&quot;changecount\&quot;: true, \&quot;colour\&quot;: true,\n \&quot;colour-picker\&quot;: true, \&quot;contrastcolour\&quot;: true,\n \&quot;copy-to-clipboard\&quot;: true, \&quot;csvtiddlers\&quot;: true,\n \&quot;datauri\&quot;: true, \&quot;dumpvariables\&quot;: true,\n \&quot;image-picker\&quot;: true, \&quot;jsontiddler\&quot;: true,\n \&quot;jsontiddlers\&quot;: true, \&quot;lingo\&quot;: true,\n \&quot;list-links\&quot;: true, \&quot;list-links-draggable\&quot;: true,\n \&quot;list-tagged-draggable\&quot;: true, \&quot;list-thumbnails\&quot;: true,\n \&quot;makedatauri\&quot;: true, \&quot;now\&quot;: true,\n \&quot;qualify\&quot;: true, \&quot;resolvepath\&quot;: true,\n \&quot;box-shadow\&quot;: true, \&quot;filter\&quot;: true,\n \&quot;transition\&quot;: true, \&quot;background-linear-gradient\&quot;: true,\n \&quot;transform-origin\&quot;: true, \&quot;toc\&quot;: true,\n \&quot;toc-expandable\&quot;: true, \&quot;toc-selective-expandable\&quot;: true,\n \&quot;toc-tabbed-internal-nav\&quot;: true, \&quot;toc-tabbed-external-nav\&quot;: true,\n \&quot;tabs\&quot;: true, \&quot;tag\&quot;: true,\n \&quot;tag-picker\&quot;: true, \&quot;tag-pill\&quot;: true,\n \&quot;thumbnail\&quot;: true, \&quot;timeline\&quot;: true,\n \&quot;tree\&quot;: true, \&quot;unusedtitle\&quot;: true,\n \&quot;version\&quot;: true\n };\n\n var isSpaceName = /[\\w_\\-]/i,\n reHR = /^\\-\\-\\-\\-+$/, // &lt;hr&gt;\n reBlockQuote = /^&lt;&lt;&lt;/,\n rePreStart = /^```$/;\n\n function chain(stream, state, f) {\n state.tokenize = f;\n return f(stream, state);\n }\n\n function tokenBase(stream, state) {\n var sol = stream.sol(), // sol() -&gt; Returns true only if the stream is at the start of the line.\n ch = stream.peek(); // Returns the next character in the stream without advancing it. Will return a null at the end of the line.\n\n // check start of blocks\n if (sol &amp;&amp; /[&lt;\\/\\*{}\\-`]/.test(ch)) { //is at the start of a line and the next char is not\n if (stream.match(reBlockQuote)) {\n return chain(stream, state, twTokenQuote);\n }\n \n
&quot;created&quot;: &quot;20200818164318584&quot;,
&quot;modified&quot;: &quot;20210327052450347&quot;,
&quot;module-type&quot;: &quot;codemirror&quot;,
&quot;revision&quot;: &quot;1&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
}
}
}</pre>
</div>
<div author="bimlas" core-version="&gt;=5.1.18" dependents="" description="Locator: Discover and search by context" list="README/README README/macros README/TIPS README/CHANGELOG README/LICENSE" plugin-type="plugin" source="https://gitlab.com/bimlas/tw5-locator" title="$:/plugins/bimlas/locator" type="application/json" version="2.0.1">
<pre>{
&quot;tiddlers&quot;: {
&quot;$:/config/bimlas/locator/fields/LINKS-IN-TEXT&quot;: {
&quot;title&quot;: &quot;$:/config/bimlas/locator/fields/LINKS-IN-TEXT&quot;,
&quot;field-direction&quot;: &quot;from&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;$:/plugins/bimlas/locator/field-templates/link&quot;
},
&quot;$:/config/bimlas/locator/fields/bag&quot;: {
&quot;title&quot;: &quot;$:/config/bimlas/locator/fields/bag&quot;,
&quot;hide-in-nested-fields-filter&quot;: &quot;yes&quot;,
&quot;hide-in-regular-fields-filter&quot;: &quot;yes&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;
},
&quot;$:/config/bimlas/locator/fields/caption&quot;: {
&quot;title&quot;: &quot;$:/config/bimlas/locator/fields/caption&quot;,
&quot;hide-in-nested-fields-filter&quot;: &quot;yes&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;
},
&quot;$:/config/bimlas/locator/fields/color&quot;: {
&quot;title&quot;: &quot;$:/config/bimlas/locator/fields/color&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;$:/plugins/bimlas/locator/field-templates/color&quot;
},
&quot;$:/config/bimlas/locator/fields/created&quot;: {
&quot;title&quot;: &quot;$:/config/bimlas/locator/fields/created&quot;,
&quot;hide-in-nested-fields-filter&quot;: &quot;yes&quot;,
&quot;hide-in-regular-fields-filter&quot;: &quot;yes&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;
},
&quot;$:/config/bimlas/locator/fields/draft.of&quot;: {
&quot;title&quot;: &quot;$:/config/bimlas/locator/fields/draft.of&quot;,
&quot;hide-in-nested-fields-filter&quot;: &quot;yes&quot;,
&quot;hide-in-regular-fields-filter&quot;: &quot;yes&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;
},
&quot;$:/config/bimlas/locator/fields/draft.title&quot;: {
&quot;title&quot;: &quot;$:/config/bimlas/locator/fields/draft.title&quot;,
&quot;hide-in-nested-fields-filter&quot;: &quot;yes&quot;,
&quot;hide-in-regular-fields-filter&quot;: &quot;yes&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;
},
&quot;$:/config/bimlas/locator/fields/icon&quot;: {
&quot;title&quot;: &quot;$:/config/bimlas/locator/fields/icon&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;$:/plugins/bimlas/locator/field-templates/icon&quot;
},
&quot;$:/config/bimlas/locator/fields/list-after&quot;: {
&quot;title&quot;: &quot;$:/config/bimlas/locator/fields/list-after&quot;,
&quot;hide-in-nested-fields-filter&quot;: &quot;yes&quot;,
&quot;hide-in-regular-fields-filter&quot;: &quot;yes&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;$:/plugins/bimlas/locator/field-templates/link&quot;
},
&quot;$:/config/bimlas/locator/fields/list-before&quot;: {
&quot;title&quot;: &quot;$:/config/bimlas/locator/fields/list-before&quot;,
&quot;hide-in-nested-fields-filter&quot;: &quot;yes&quot;,
&quot;hide-in-regular-fields-filter&quot;: &quot;yes&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;$:/plugins/bimlas/locator/field-templates/link&quot;
},
&quot;$:/config/bimlas/locator/fields/list&quot;: {
&quot;title&quot;: &quot;$:/config/bimlas/locator/fields/list&quot;,
&quot;field-type&quot;: &quot;list&quot;,
&quot;hide-in-nested-fields-filter&quot;: &quot;yes&quot;,
&quot;hide-in-regular-fields-filter&quot;: &quot;yes&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;$:/plugins/bimlas/locator/field-templates/link&quot;
},
&quot;$:/config/bimlas/locator/fields/modified&quot;: {
&quot;title&quot;: &quot;$:/config/bimlas/locator/fields/modified&quot;,
&quot;hide-in-nested-fields-filter&quot;: &quot;yes&quot;,
&quot;hide-in-regular-fields-filter&quot;: &quot;yes&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;
},
&quot;$:/config/bimlas/locator/fields/revision&quot;: {
&quot;title&quot;: &quot;$:/config/bimlas/locator/fields/revision&quot;,
&quot;hide-in-nested-fields-filter&quot;: &quot;yes&quot;,
&quot;hide-in-regular-fields-filter&quot;: &quot;yes&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;
},
&quot;$:/config/bimlas/locator/fields/tags&quot;: {
&quot;title&quot;: &quot;$:/config/bimlas/locator/fields/tags&quot;,
&quot;field-direction&quot;: &quot;to&quot;,
&quot;field-type&quot;: &quot;list&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;$:/plugins/bimlas/locator/field-templates/tag&quot;
},
&quot;$:/config/bimlas/locator/fields/text&quot;: {
&quot;title&quot;: &quot;$:/config/bimlas/locator/fields/text&quot;,
&quot;hide-in-nested-fields-filter&quot;: &quot;yes&quot;,
&quot;hide-in-regular-fields-filter&quot;: &quot;yes&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;
},
&quot;$:/config/bimlas/locator/fields/title&quot;: {
&quot;title&quot;: &quot;$:/config/bimlas/locator/fields/title&quot;,
&quot;hide-in-nested-fields-filter&quot;: &quot;yes&quot;,
&quot;hide-in-regular-fields-filter&quot;: &quot;yes&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;$:/plugins/bimlas/locator/field-templates/link&quot;
},
&quot;$:/config/bimlas/locator/fields/type&quot;: {
&quot;title&quot;: &quot;$:/config/bimlas/locator/fields/type&quot;,
&quot;hide-in-nested-fields-filter&quot;: &quot;yes&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;
},
&quot;$:/plugins/bimlas/locator/README/CHANGELOG&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/README/CHANGELOG&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;!! 2.0.1\n\n[[See GitLab for detailed change history of this release|https://gitlab.com/bimlas/tw5-locator/compare/v2.0.0...v2.0.1]]\n\n* Add MIT license\n\n!! 2.0.0\n\n[[See GitLab for detailed change history of this release|https://gitlab.com/bimlas/tw5-locator/compare/v1.5.0...v2.0.0]]\n\n''ALMOST COMPLETE REWRITING, BACKWARDS INCOMPATIBLE CHANGES ARE INTRODUCED''\n\n* ''It does not require the `kin` filter operator at all''\n* ''You can filter to any field besides the tags''\n* You can use the standard search from any `locator-view`\n* You can use any field to link tiddlers (as \&quot;tags\&quot;)\n* You can also navigate through tiddler links\n* You can use arbitrary templates to display context items and field values\n* ''INCOMPATIBLE CHANGES''&lt;br /&gt;//Before upgrading to the new version, make a backup (as before upgrading any plugin) and make the following changes.//\n** Renamed `locator-tags` to `locator-fields`&lt;br /&gt;//Change the macro call in your tiddlers//\n** `locator-view` does not supporting `finalFilter` and `tagFilter`&lt;br /&gt;//Remove them from your macrocalls//\n** Removed `filter-grandchildren` filter&lt;br /&gt;//Because it can no longer be passed through parameters.//\n** The \&quot;Open in Locator sidebar\&quot; toolbar button is moved from `$:/plugins/bimlas/locator/viewtemplate/open-in-sidebar` to `$:/plugins/bimlas/locator/viewtemplate/open-in-sidebar` and its code is changed as well&lt;br /&gt;//Compare the old tiddler with the shadow and note the changes if any. Transfer them to the new tiddler and delete the old tiddler.//\n\n!! 1.5.0\n\n[[See GitLab for detailed change history of this release|https://gitlab.com/bimlas/tw5-locator/compare/v1.4.0...v1.5.0]]\n\n* Move tiddler from current context to higher- or subtopic by drag-n-dropping in the Locator sidebar\n* Assign any tiddler to any of the titles in the Locator sidebar by drag-n-dropping\n* Show the (top-level) base tag to be able to move the tiddler titles there\n* Add button to open search results in advanced search\n* Show buttons using the Kin filter only when the filter operator is available\n* Fix related tag issue (not all of them were listed)\n* Fix whitespace issue\n* Refactor the code\n* Add tutorial to the demo\n\n!! 1.4.0\n\n[[See GitLab for detailed change history of this release|https://gitlab.com/bimlas/tw5-locator/compare/v1.3.1...v1.4.0]]\n\n* When there was a space in the search string and \&quot;new tiddler\&quot; button is used from search, the tiddler title was encapsulated (`[[title with spaces]]`)\n* When there was a space in any of the breadcrumbs in sidebar and \&quot;new tiddler\&quot; button is used from it, the tiddler got all of the breadcrumb tags, the title with spaces was encapsulated (literally `[[title with spaces]]` tag)\n* Add more tips to [[$:/plugins/bimlas/locator/README/TIPS]]\n* Add descriptive tooltip to buttons\n\n!! 1.3.1\n\n[[See GitLab for detailed change history of this release|https://gitlab.com/bimlas/tw5-locator/compare/v1.3.0...v1.3.1]]\n\n* Add base tag if there is no breadcrumbs when creating new tiddler in current context\n* Reword documentation\n\n!! 1.3.0\n\n[[See GitLab for detailed change history of this release|https://gitlab.com/bimlas/tw5-locator/compare/v1.2.0...v1.3.0]]\n\n* Create new tiddler from search text\n\n!! 1.2.0\n\n[[See GitLab for detailed change history of this release|https://gitlab.com/bimlas/tw5-locator/compare/v1.1.0...v1.2.0]]\n\n* Add button to create new tiddler in current context\n* Ability to use additional filter on tags\n\n!! 1.1.0\n\n[[See GitLab for detailed change history of this release|https://gitlab.com/bimlas/tw5-locator/compare/v1.0.0...v1.1.0]]\n\n* ''I realized that most functions work without the `kin` filter''\n* Use the same \&quot;style\&quot; for breadcrumb- and list items\n* Show real tags instead of tag pills\n* Turn off filter of direct tag in the breadcrumbs by its tag icon\n* Ancestor tags in breadcrumbs of search are operating like direct labels, they can be removed one by one\n\n!! 1
},
&quot;$:/plugins/bimlas/locator/README/LICENSE&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/README/LICENSE&quot;,
&quot;text&quot;: &quot;MIT License\n\nCopyright (c) since 2020 BimbaLaszlo &lt;bimbalaszlo@gmail.com&gt; (https://bimlas.gitlab.io/)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \&quot;Software\&quot;), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \&quot;AS IS\&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n&quot;
},
&quot;$:/plugins/bimlas/locator/README/README&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/README/README&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;! Locator\n\nLocator provides ''a universal interface for navigating between your tiddlers and searching, filtering them'' without the need to write [[filter expressions|https://tiddlywiki.com/#Filters]]. The plugin contains ''a table of contents widget and an enhanced search engine'' that contains a ''visual filter builder to filter results by tags and field values''. You can ''organize the tiddlers to any number of trees, even by custom fields or links in text''. Unlike [[classic Table of Contents|https://tiddlywiki.com/#Table-of-Contents%20Macros%20(Examples)]], [[standard search|$:/core/ui/AdvancedSearch/Standard]], [[filter search|$:/core/ui/AdvancedSearch/Filter]] and [[list of tags|$:/core/ui/MoreSideBar/Tags]], this plugin handles these functions organically.\n\n* https://bimlas.gitlab.io/tw5-locator (demo + install)\n* https://gitlab.com/bimlas/tw5-locator (main repository)\n* https://github.com/bimlas/tw5-locator (mirror, ''please star if you like the plugin'')\n\n! Benefits compared to built-in solutions\n\n* ''Shows field values''&lt;br/&gt;You can mark a tiddler with multiple tags and field values, but in the classic ToC you don't see them while browsing, in Locator you can apply them as filters.\n* ''Easy way to search for field values''&lt;br/&gt;Find tags, field values in the standard search based on part of their name or view the all fields of the search results at a glance.\n* ''Limit the scope of search''&lt;br/&gt;You don't have to store your recipes and family tree in a separate wiki just to make them easier to find: you can define the scope of your search with some clicks (without the need to write filters in [[$:/AdvancedSearch]]).\n* ''Reorder the hierarchy with drag-n-drop''&lt;br /&gt;You can easily move tiddlers between topics by drag-n-dropping them.\n* ''Create mindmaps''&lt;br /&gt;You can associate tiddlers with any field other than the tag, so you can create complex graphs that you can browse through text only user interface.\n* ''There is no need to include a table of contents in the main tiddler of each topic''&lt;br/&gt;Just press the \&quot;Locator sidebar\&quot; button on the tiddler's toolbar and you can browse it's children, links right away in the sidebar.\n* ''Create new tiddler in current scope''&lt;br /&gt;The \&quot;new tiddler\&quot; button in Locator creates a new tiddler pre-filled with the currently selected field values and named by the search query (like a special \&quot;new here\&quot; button).\n* ''Phone friendlier''&lt;br/&gt;The width of the classic ToC is increasing and the size of the text is decrasing as we move down in the context, while Locator remains readable.\n\n! Usage\n\nSee the [[demo|https://bimlas.gitlab.io/tw5-locator]] for a complete tutorial\n\n! Installation instructions\n\n''The plugin consists of separate parts'', each of them can be used on its own, so ''it is possible to use only the parts you like'', but they can be used most effectively together because ''they interact with each other''.\n\nTo add the plugin to your own ~TiddlyWiki5, just drag this link to the browser window and ''create or drag the required tiddlers from the demo'':\n\n$:/plugins/bimlas/locator\n\nFor other installation options see the links above.\n\n//Select the next tab to continue.//\n&quot;
},
&quot;$:/plugins/bimlas/locator/README/TIPS&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/README/TIPS&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;! Tips\n\n!! Organic navigation\n\n* In `locator-fields`, look for a tag and apply it recursively; the `locator-search` only affects tiddlers associated with it at any depth\n* Click on the tag in `locator-fields` and open its tiddler, then click on the \&quot;locator sidebar\&quot; button; the `locator-view` sidebar will show it's hierarchy\n* Navigate in the hierarchy in `locator-view` sidebar then search for a term in `locator-search`; pressing the \&quot;search in context\&quot; button restricting the search to the context of `locator-view` sidebar\n* If you cannot find what you are searching for, then you may want to create a new tiddler, use the \&quot;new tiddler\&quot; button in one of the Locator macros\n\n!! Taking good habits\n\n''To get the least chance of writing the same note you wrote earlier, look for a new tiddler before creating a note. To force yourself'', hide the \&quot;new tiddler\&quot; button inside the Page Toolbar and ''use the \&quot;new tiddler\&quot; button inside the Locator search'', so if you want to create a new tiddler you must first look for it. If you are absolutely sure that there is no tiddler yet and you need to create a new tiddler, this solution is also useful because search text defines the default name of the new tiddler.\n\n!! Let the \&quot;Locator sidebar\&quot; button automatically focus to the Locator sidebar\n\nFor example, the More -&gt; Tags sidebar is currently open when we use the \&quot;Locator sidebar\&quot; toolbar button on one of the tiddlers, but we do not see the effect because the Locator sidebar is not visible, thus we need to modify to let button automatically open the corresponding sidebar.\n\n* If we don't know exactly, look for the sidebar tiddler's title (used as `text` parameter in the code below)\n** Open the Advanced Search -&gt; Filter and look for the sidebar name in the `caption` field, for example `[caption[Locator]]` will result [[Locator view]]\n* Find the state tiddler that contains the sidebar tiddler's title (used as `$tiddler` parameter in the code below)\n** Open the Advanced Search -&gt; Filter and look for `[text[Locator view]]` for example\n** Switch between Locator sidebar and another sidebar to see which state tiddler is changing, this is what we are looking for ([[$:/state/tab/sidebar--595412856]] for example)\n* Use the name of the state tiddler and the title of the sidebar in the code below and add this line to [[$:/plugins/bimlas/locator/viewtemplate/open-in-sidebar]] tiddler\n\n```\n&lt;!-- Original code of the button... --&gt;\n...\n&lt;$button tooltip=\&quot;Browse hierarchy of tag in Locator sidebar\&quot; aria-label=\&quot;locator sidebar\&quot; class=&lt;&lt;tv-config-toolbar-class&gt;&gt;&gt;\n&lt;!-- ADD THIS LINE --&gt;\n&lt;$action-setfield $tiddler=\&quot;$:/state/tab/sidebar--595412856\&quot; text=\&quot;Locator view\&quot;/&gt;\n```\n\nIf you rename the sidebar, you must also update this change! See [[this thread on Google Groups|https://groups.google.com/d/msg/tiddlywiki/xAe_fvhzoCY/UoKZc7ZZDQAJ]] for details.\n\n!! Speed up (on phones)\n\n!!! Conditional view\n\nBecause we don't look at the table of contents and search results at the same time, we can ''hide the Locator while we are using the standard search''.\n\nTo achieve this, place the Locator view in the following condition:\n\n```\n&lt;$reveal type=\&quot;match\&quot; default=\&quot;\&quot; text={{{ [prefix[$:/state/popup/search-dropdown]] }}}&gt;\n &lt;&lt;locator-view baseTitle:\&quot;TableOfContents\&quot;&gt;&gt;\n&lt;/$reveal&gt;\n```\n\n''When you open TiddlyWiki'', the search entry is in focus by default, so ''the Locator sidebar is not visible''. To fix this, change the text of [[$:/config/Search/AutoFocus]] [[hidden setting|https://tiddlywiki.com/#Hidden%20Setting%3A%20Search%20AutoFocus]] to `false`.\n\n//Select the next tab to continue.//\n&quot;
},
&quot;$:/plugins/bimlas/locator/README/macros&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/README/macros&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;! Usage of the macros\n\n!! `locator-view`\n\nThis is ''a [[Table of Contents macro|https://tiddlywiki.com/#Table-of-Contents%20Macros%20(Examples)]] that lets you navigate the wiki'' just as you would with a file manager on the file system. The macro can be placed anywhere you want, for example put it in the sidebar.\n\n* Create a new tiddler\n* Add the [[$:/tags/SideBar]] tag\n* Add the `caption` field to change the title of the tab (\&quot;Contents\&quot; for example)\n* Call the macro by placing this text in the tiddler:\n\n```\n&lt;&lt;locator-view baseTitle:\&quot;TableOfContents\&quot;&gt;&gt;\n```\n\nOptional parameters:\n\n; `fieldOfRelationship` (`tags` by default)\n: The default field which the tree is based on.\n\n; `templateOfContextItems` (`$:/plugins/bimlas/locator/field-templates/link` by default)\n: The default template to display the context items with.\n\n!! `locator-search` and `locator-fields`\n\nThe `locator-search` macro can be used in the same way as standard search, but ''you can narrow the scope of the search to the context by the fields filter'', in `locator-fields` you can `search for field values`.\n\n* Create a new tiddler\n* Add the [[$:/tags/SearchResults]] tag\n* Add the `caption` field to change the title of the tab (\&quot;Locator\&quot; for example)\n* Call the macro by placing this text in the tiddler:\n\n```\n&lt;&lt;locator-search&gt;&gt;\n```\n\nDo the same with `&lt;&lt;locator-fields&gt;&gt;` macro.\n\nIf you want to use `locator-fields` in the sidebar (like the sidebar -&gt; More -&gt; Tags tab) insted of standard search, you should also define the `searchTiddler` variable before the macro call:\n\n* Create a new tiddler\n* Add the [[$:/tags/SideBar]] tag\n* Add the `caption` field to change the title of the tab (\&quot;Fields\&quot; for example)\n* Call the macro by placing this text in the tiddler:\n\n```\n&lt;$vars searchTiddler=\&quot; \&quot;&gt;\n &lt;&lt;locator-fields&gt;&gt;\n&lt;/$vars&gt;\n```\n\n//Select the next tab to continue.//\n&quot;
},
&quot;$:/plugins/bimlas/locator/actions/add-field-value&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/actions/add-field-value&quot;,
&quot;tags&quot;: &quot;$:/tags/Actions&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;\\define assign-value()\n &lt;$action-setfield $tiddler=&lt;&lt;actionTiddler&gt;&gt; $field=&lt;&lt;currentField&gt;&gt; $value=&lt;&lt;currentTiddler&gt;&gt;/&gt;\n\\end\n\n\\define assign-list-item()\n &lt;$action-listops $tiddler=&lt;&lt;actionTiddler&gt;&gt; $field=&lt;&lt;currentField&gt;&gt; $subfilter=\&quot;[all[current]]\&quot;/&gt;\n\\end\n\n&lt;$list filter=\&quot;[title&lt;currentField&gt;subfilter&lt;filter-field-is-list&gt;]\&quot; emptyMessage=&lt;&lt;assign-value&gt;&gt; variable=\&quot;null\&quot;&gt;\n &lt;&lt;assign-list-item&gt;&gt;\n&lt;/$list&gt;\n&quot;
},
&quot;$:/plugins/bimlas/locator/actions/add-to-history&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/actions/add-to-history&quot;,
&quot;tags&quot;: &quot;$:/tags/Actions&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;&lt;$action-listops $tiddler=&lt;&lt;contextState&gt;&gt; $field=\&quot;history\&quot; $subfilter=\&quot;[all[current]]\&quot;/&gt;\n{{$:/plugins/bimlas/locator/actions/remove-filters}}\n&quot;
},
&quot;$:/plugins/bimlas/locator/actions/move-to-another-context&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/actions/move-to-another-context&quot;,
&quot;tags&quot;: &quot;$:/tags/Actions&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;\\define add-action-tiddler-to-current-tiddler()\n &lt;$tiddler tiddler={{{ [subfilter&lt;filter-history&gt;last[]] }}}&gt;\n {{||$:/plugins/bimlas/locator/actions/remove-field-value}}\n &lt;/$tiddler&gt;\n {{||$:/plugins/bimlas/locator/actions/add-field-value}}\n\\end\n\n\\define add-current-tiddler-to-action-tiddler()\n &lt;$vars originalCurrentTiddler=&lt;&lt;currentTiddler&gt;&gt;&gt;\n &lt;$tiddler tiddler=&lt;&lt;actionTiddler&gt;&gt;&gt;\n &lt;$vars actionTiddler={{{ [subfilter&lt;filter-history&gt;last[]] }}}&gt;\n {{||$:/plugins/bimlas/locator/actions/remove-field-value}}\n &lt;/$vars&gt;\n &lt;$vars actionTiddler=&lt;&lt;originalCurrentTiddler&gt;&gt;&gt;\n {{||$:/plugins/bimlas/locator/actions/add-field-value}}\n &lt;/$vars&gt;\n &lt;/$tiddler&gt;\n &lt;/$vars&gt;\n\\end\n\n&lt;$list filter=\&quot;[title&lt;contextState&gt;locator-direction-of-traverse&lt;currentField&gt;regexp[to]]\&quot; emptyMessage=&lt;&lt;add-current-tiddler-to-action-tiddler&gt;&gt; variable=\&quot;null\&quot;&gt;\n &lt;&lt;add-action-tiddler-to-current-tiddler&gt;&gt;\n&lt;/$list&gt;\n&quot;
},
&quot;$:/plugins/bimlas/locator/actions/remove-field-value&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/actions/remove-field-value&quot;,
&quot;tags&quot;: &quot;$:/tags/Actions&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;\\define remove-value()\n &lt;$action-setfield $tiddler=&lt;&lt;actionTiddler&gt;&gt; $field=&lt;&lt;currentField&gt;&gt; $value=\&quot;\&quot;/&gt;\n\\end\n\n\\define remove-list-item()\n &lt;$action-listops $tiddler=&lt;&lt;actionTiddler&gt;&gt; $field=&lt;&lt;currentField&gt;&gt; $subfilter=\&quot;-[all[current]]\&quot;/&gt;\n\\end\n\n&lt;$list filter=\&quot;[title&lt;currentField&gt;subfilter&lt;filter-field-is-list&gt;]\&quot; emptyMessage=&lt;&lt;remove-value&gt;&gt; variable=\&quot;null\&quot;&gt;\n &lt;&lt;remove-list-item&gt;&gt;\n&lt;/$list&gt;\n&quot;
},
&quot;$:/plugins/bimlas/locator/actions/remove-filters&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/actions/remove-filters&quot;,
&quot;tags&quot;: &quot;$:/tags/Actions&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;&lt;$action-deletetiddler $tiddler=&lt;&lt;intersectionState&gt;&gt;/&gt;\n&lt;$action-deletetiddler $tiddler=&lt;&lt;differenceState&gt;&gt;/&gt;\n&lt;$action-setfield $tiddler=&lt;&lt;contextState&gt;&gt; opened-fields-filters=\&quot;\&quot;/&gt;&quot;
},
&quot;$:/plugins/bimlas/locator/buttons/clear-search-input&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/buttons/clear-search-input&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;&lt;$button tooltip=\&quot;Clear search text, show all results\&quot; class=&lt;&lt;link-button-class&gt;&gt;&gt;\n &lt;$action-setfield $tiddler=\&quot;$:/temp/search\&quot; text=\&quot; \&quot;/&gt;\n {{$:/core/images/preview-open}}\n&lt;/$button&gt;\n&quot;
},
&quot;$:/plugins/bimlas/locator/buttons/collapse-history&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/buttons/collapse-history&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;&lt;$button tooltip=\&quot;Collapse history\&quot; class=&lt;&lt;link-button-class&gt;&gt;&gt;\n &lt;$action-listops $tiddler=&lt;&lt;contextState&gt;&gt; $field=\&quot;history\&quot; $filter=\&quot;[title&lt;contextState&gt;each:list-item[history]last[]]\&quot;/&gt;\n {{$:/core/images/fold-button}}\n&lt;/$button&gt;\n&quot;
},
&quot;$:/plugins/bimlas/locator/buttons/context-arrow&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/buttons/context-arrow&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;&lt;$list filter=\&quot;[title&lt;contextState&gt;field:invert-direction[yes]]\&quot; emptyMessage={{$:/core/images/right-arrow}}&gt;\n {{$:/core/images/left-arrow}}\n&lt;/$list&gt;\n&quot;
},
&quot;$:/plugins/bimlas/locator/buttons/copy-filter-to-advanced-search&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/buttons/copy-filter-to-advanced-search&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;&lt;!--\nSince the search term may contain characters that affect the filter, I\ndo not copy the search term, I just refer to the tiddler.\n--&gt;\n&lt;$wikify name=\&quot;filter\&quot; text=\&quot;&lt;&lt;filter-search-context&gt;&gt; +[search{&lt;&lt;searchTiddler&gt;&gt;}]\&quot;&gt;\n &lt;$button tooltip=\&quot;Continue filtering in advanced search\&quot; class=&lt;&lt;link-button-class&gt;&gt;&gt;\n &lt;$action-setfield $tiddler=\&quot;$:/temp/advancedsearch\&quot; text=&lt;&lt;filter&gt;&gt;/&gt;\n &lt;$action-setfield $tiddler=\&quot;$:/state/tab--1498284803\&quot; text=\&quot;$:/core/ui/AdvancedSearch/Filter\&quot;/&gt;\n &lt;$action-navigate $to=\&quot;$:/AdvancedSearch\&quot;/&gt;\n {{$:/core/images/advanced-search-button}}\n &lt;/$button&gt;\n&lt;/$wikify&gt;\n&quot;
},
&quot;$:/plugins/bimlas/locator/buttons/create-new-tiddler&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/buttons/create-new-tiddler&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;\\define add-as-list()\n &lt;$action-listops $tiddler=\&quot;$:/temp/bimlas/locator/new-tiddler\&quot; $field=&lt;&lt;field&gt;&gt; $subfilter=&lt;&lt;__valueAsFilter__&gt;&gt;/&gt;\n\\end\n\n\\define add-as-value()\n &lt;$action-setfield $tiddler=\&quot;$:/temp/bimlas/locator/new-tiddler\&quot; $field=&lt;&lt;field&gt;&gt; $value={{{ [subfilter&lt;__valueAsFilter__&gt;] }}}/&gt;\n\\end\n\n\\define add-field-value(valueAsFilter)\n &lt;$list filter=\&quot;[title&lt;field&gt;subfilter&lt;filter-field-is-list&gt;]\&quot; emptyMessage=&lt;&lt;add-as-value&gt;&gt;&gt;\n &lt;&lt;add-as-list&gt;&gt;\n &lt;/$list&gt;\n\\end\n\n\\define add-filters-as-field-values()\n &lt;$list filter=\&quot;[title&lt;intersectionState&gt;indexes[]]\&quot; variable=\&quot;field\&quot;&gt;\n &lt;$list filter=\&quot;[title&lt;intersectionState&gt;locator-selected-field-values&lt;field&gt;first[]]\&quot;&gt;\n &lt;&lt;add-field-value \&quot;[title&lt;intersectionState&gt;locator-selected-field-values&lt;field&gt;]\&quot;&gt;&gt;\n &lt;/$list&gt;\n &lt;/$list&gt;\n\\end\n\n\\define add-to-current-context()\n &lt;$set name=\&quot;field\&quot; filter=&lt;&lt;filter-field-of-relationship&gt;&gt;&gt;\n &lt;&lt;add-field-value \&quot;[subfilter&lt;filter-history&gt;last[]]\&quot;&gt;&gt;\n &lt;/$set&gt;\n\\end\n\n&lt;$button tooltip=\&quot;Create new tiddler in the current context\&quot; class=&lt;&lt;link-button-class&gt;&gt;&gt;\n &lt;&lt;add-filters-as-field-values&gt;&gt;\n &lt;&lt;add-to-current-context&gt;&gt;\n &lt;$action-sendmessage $message=\&quot;tm-new-tiddler\&quot; $param=\&quot;$:/temp/bimlas/locator/new-tiddler\&quot; title={{{ [title&lt;titleOfNewTiddler&gt;] [title{$:/language/DefaultNewTiddlerTitle}] -[[]] +[first[]] }}}/&gt;\n &lt;$action-deletetiddler $tiddler=\&quot;$:/temp/bimlas/locator/new-tiddler\&quot;/&gt;\n {{$:/core/images/new-button}}\n&lt;/$button&gt;\n&quot;
},
&quot;$:/plugins/bimlas/locator/buttons/go-down-to-context&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/buttons/go-down-to-context&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;\\define node()\n &lt;$button tooltip=\&quot;Go to context, show chidlren of this tiddler\&quot; class=&lt;&lt;link-button-class&gt;&gt; actions={{$:/plugins/bimlas/locator/actions/add-to-history}}&gt;\n {{$:/plugins/bimlas/locator/buttons/context-arrow}}\n &lt;/$button&gt;\n\\end\n\n\\define leaf()\n &lt;$button class=&lt;&lt;link-button-class&gt;&gt;&gt;\n {{$:/core/images/blank}}\n &lt;/$button&gt;\n\\end\n\n\\define go-down-to-context()\n &lt;!-- I have to use macro to use $(...)$ in filter expression --&gt;\n &lt;$list filter=\&quot;[all[current]locator-enlist-children:$(currentField)$&lt;contextState&gt;] [title&lt;contextState&gt;field:allow-to-open-leaves[yes]] +[first[]]\&quot; emptyMessage=&lt;&lt;leaf&gt;&gt; variable=\&quot;null\&quot;&gt;&lt;&lt;node&gt;&gt;&lt;/$list&gt;\n\\end\n\n&lt;&lt;go-down-to-context&gt;&gt;\n&quot;
},
&quot;$:/plugins/bimlas/locator/buttons/go-up-to-context&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/buttons/go-up-to-context&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;\\define actions()\n &lt;$action-listops $tiddler=&lt;&lt;contextState&gt;&gt; $field=\&quot;history\&quot; $filter=\&quot;[subfilter&lt;filter-history&gt;allbefore&lt;currentTiddler&gt;] [all[current]]\&quot;/&gt;\n {{$:/plugins/bimlas/locator/actions/remove-filters}}\n\\end\n\n&lt;$button tooltip=\&quot;Go to context, show chidlren of this tiddler\&quot; class=&lt;&lt;link-button-class&gt;&gt; actions=&lt;&lt;actions&gt;&gt;&gt;\n {{$:/plugins/bimlas/locator/buttons/context-arrow}}\n&lt;/$button&gt;\n&quot;
},
&quot;$:/plugins/bimlas/locator/buttons/open-field-settings&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/buttons/open-field-settings&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;&lt;$button\n to=\&quot;$:/plugins/bimlas/locator/settings/settings\&quot;\n tooltip=\&quot;Open field settings\&quot;\n class=&lt;&lt;link-button-class&gt;&gt;\n&gt;\n {{$:/core/images/options-button}}&lt;$list filter=\&quot;[title&lt;contextState&gt;!regexp[^\\$:/state/bimlas/locator/search/]]\&quot; variable=\&quot;null\&quot;&gt; Open field settings&lt;/$list&gt;\n&lt;/$button&gt;&quot;
},
&quot;$:/plugins/bimlas/locator/buttons/remove-filters-of-current-field&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/buttons/remove-filters-of-current-field&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;\\define actions()\n &lt;$action-setfield $tiddler=&lt;&lt;intersectionState&gt;&gt; $index=&lt;&lt;currentField&gt;&gt; $value=\&quot;\&quot;/&gt;\n &lt;$action-setfield $tiddler=&lt;&lt;differenceState&gt;&gt; $index=&lt;&lt;currentField&gt;&gt; $value=\&quot;\&quot;/&gt;\n &lt;$action-listops $tiddler=&lt;&lt;contextState&gt;&gt; $field=\&quot;opened-fields-filters\&quot; $subfilter=\&quot;-[&lt;currentField&gt;]\&quot;/&gt;\n &lt;$list filter=\&quot;[&lt;recursiveFilteringOfCurrentFieldAvailable&gt;regexp[yes]]\&quot; variable=\&quot;null\&quot;&gt;\n &lt;$action-setfield $tiddler=\&quot;$:/state/bimlas/locator/search/recursive-filters/\&quot; $index=&lt;&lt;currentField&gt;&gt; $value=\&quot;\&quot;/&gt;\n &lt;/$list&gt;\n\\end\n\n&lt;$list filter=\&quot;[title&lt;intersectionState&gt;] [title&lt;differenceState&gt;] +[locator-selected-field-values&lt;currentField&gt;first[]]\&quot; variable=\&quot;null\&quot;&gt;\n &lt;$button tooltip=\&quot;Remove field filters\&quot; class=&lt;&lt;link-button-class&gt;&gt; actions=&lt;&lt;actions&gt;&gt;&gt;\n {{$:/core/images/cancel-button}}\n &lt;/$button&gt;\n&lt;/$list&gt;&quot;
},
&quot;$:/plugins/bimlas/locator/buttons/remove-filters&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/buttons/remove-filters&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;&lt;$list filter=\&quot;[title&lt;intersectionState&gt;] [title&lt;differenceState&gt;] +[locator-selected-field-values[]first[]]\&quot; variable=\&quot;null\&quot;&gt;\n &lt;$button tooltip=\&quot;Remove field filters\&quot; class=&lt;&lt;link-button-class&gt;&gt; actions={{$:/plugins/bimlas/locator/actions/remove-filters}}&gt;\n {{$:/core/images/cancel-button}}\n &lt;/$button&gt;\n&lt;/$list&gt;&quot;
},
&quot;$:/plugins/bimlas/locator/buttons/search-in-context&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/buttons/search-in-context&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;\\define copy-field(sourceTiddler destinationTiddler field)\n &lt;$set name=\&quot;value\&quot; tiddler=&lt;&lt;__sourceTiddler__&gt;&gt; field=&lt;&lt;__field__&gt;&gt;&gt;\n &lt;$action-setfield $tiddler=&lt;&lt;__destinationTiddler__&gt;&gt; $field=&lt;&lt;__field__&gt;&gt; $value=&lt;&lt;value&gt;&gt;/&gt;\n &lt;/$set&gt;\n\\end\n\n\\define clear-data-tiddler(tiddler)\n &lt;$action-deletetiddler $tiddler=&lt;&lt;__tiddler__&gt;&gt;/&gt;\n &lt;$action-setfield $tiddler=&lt;&lt;__tiddler__&gt;&gt; type=\&quot;application/json\&quot;/&gt;\n\\end\n\n\\define search-in-current-context()\n &lt;$action-listops $tiddler=\&quot;$:/state/bimlas/locator/search/intersection/\&quot; $index={{{ [subfilter&lt;filter-field-of-relationship&gt;] }}} $subfilter=\&quot;[subfilter&lt;filter-history&gt;last[]]\&quot;/&gt;\n &lt;$action-listops $tiddler=\&quot;$:/state/bimlas/locator/search/recursive-filters/\&quot; $index={{{ [subfilter&lt;filter-field-of-relationship&gt;] }}} $filter=\&quot;[subfilter&lt;filter-history&gt;last[]]\&quot;/&gt;\n\\end\n\n\\define copy-filters()\n &lt;$macrocall $name=\&quot;copy-field\&quot; sourceTiddler=&lt;&lt;intersectionState&gt;&gt; destinationTiddler=\&quot;$:/state/bimlas/locator/search/intersection/\&quot; field=\&quot;text\&quot;/&gt;\n &lt;$macrocall $name=\&quot;copy-field\&quot; sourceTiddler=&lt;&lt;differenceState&gt;&gt; destinationTiddler=\&quot;$:/state/bimlas/locator/search/difference/\&quot; field=\&quot;text\&quot;/&gt;\n\\end\n\n\\define reset-search-context()\n &lt;$action-deletetiddler $tiddler=\&quot;$:/state/bimlas/locator/search/context/\&quot;/&gt;\n &lt;$list filter=\&quot;[&lt;recursiveFilteringAvailable&gt;regexp[yes]]\&quot; variable=\&quot;null\&quot;&gt;\n &lt;$macrocall $name=\&quot;clear-data-tiddler\&quot; tiddler=\&quot;$:/state/bimlas/locator/search/recursive-filters/\&quot;/&gt;\n &lt;/$list&gt;\n &lt;$macrocall $name=\&quot;clear-data-tiddler\&quot; tiddler=\&quot;$:/state/bimlas/locator/search/intersection/\&quot;/&gt;\n &lt;$macrocall $name=\&quot;clear-data-tiddler\&quot; tiddler=\&quot;$:/state/bimlas/locator/search/difference/\&quot;/&gt;\n\\end\n\n&lt;$button tooltip=\&quot;Restrict search to this context (in full depth)\&quot; class=&lt;&lt;link-button-class&gt;&gt;&gt;\n &lt;&lt;reset-search-context&gt;&gt;\n &lt;&lt;copy-filters&gt;&gt;\n &lt;&lt;search-in-current-context&gt;&gt;\n {{$:/core/images/advanced-search-button}}\n&lt;/$button&gt;\n&quot;
},
&quot;$:/plugins/bimlas/locator/buttons/toggle-context-settings&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/buttons/toggle-context-settings&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;\\define opened()\n &lt;$button tooltip=\&quot;Toggle context settings\&quot; class=&lt;&lt;link-button-class additionalClasses:\&quot;active\&quot;&gt;&gt;&gt;\n &lt;$action-setfield $tiddler=&lt;&lt;contextState&gt;&gt; $field=\&quot;context-settings-opened\&quot; $value=\&quot;\&quot;/&gt;\n {{$:/core/images/options-button}}\n &lt;/$button&gt;\n\\end\n\n\\define closed()\n &lt;$button tooltip=\&quot;Toggle context settings\&quot; class=&lt;&lt;link-button-class&gt;&gt;&gt;\n &lt;$action-setfield $tiddler=&lt;&lt;contextState&gt;&gt; $field=\&quot;context-settings-opened\&quot; $value=\&quot;yes\&quot;/&gt;\n {{$:/core/images/options-button}}\n &lt;/$button&gt;\n\\end\n\n&lt;$list filter=\&quot;[title&lt;contextState&gt;field:context-settings-opened[yes]]\&quot; emptyMessage=&lt;&lt;closed&gt;&gt;&gt;&lt;&lt;opened&gt;&gt;&lt;/$list&gt;&quot;
},
&quot;$:/plugins/bimlas/locator/edit-template/locator-references&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/edit-template/locator-references&quot;,
&quot;list-after&quot;: &quot;$:/core/ui/EditTemplate/title&quot;,
&quot;tags&quot;: &quot;$:/tags/EditTemplate&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;\\define prompt()\n The following references to this tiddler in //&lt;&lt;__field__&gt;&gt;// [[Locator field|$:/plugins/bimlas/locator/settings/settings]] will not be automatically updated:\n\\end\n\n\\define children-by-field(field)\n &lt;$list filter=\&quot;[title{!!draft.of}locator-enlist-children:$field$[]first[]]\&quot; variable=\&quot;null\&quot;&gt;\n &lt;$vars stateTiddler=&lt;&lt;qualify \&quot;$:/state/bimlas/locator/edit/references/$field$\&quot;&gt;&gt; &gt;\n\n &lt;$reveal type=\&quot;nomatch\&quot; state=&lt;&lt;stateTiddler&gt;&gt; text=\&quot;show\&quot;&gt;\n &lt;$button set=&lt;&lt;stateTiddler&gt;&gt; setTo=\&quot;show\&quot; class=\&quot;tc-btn-invisible\&quot;&gt;\n {{$:/core/images/right-arrow}}\n &lt;&lt;prompt&gt;&gt;\n &lt;/$button&gt;\n &lt;/$reveal&gt;\n &lt;$reveal type=\&quot;match\&quot; state=&lt;&lt;stateTiddler&gt;&gt; text=\&quot;show\&quot;&gt;\n &lt;$button set=&lt;&lt;stateTiddler&gt;&gt; setTo=\&quot;hide\&quot; class=\&quot;tc-btn-invisible\&quot;&gt;\n {{$:/core/images/down-arrow}}\n &lt;&lt;prompt&gt;&gt;\n &lt;/$button&gt;\n &lt;/$reveal&gt;\n\n &lt;$reveal type=\&quot;match\&quot; state=&lt;&lt;stateTiddler&gt;&gt; text=\&quot;show\&quot;&gt;\n &lt;$list filter=\&quot;[title{!!draft.of}locator-enlist-children:$field$[]]\&quot; template=\&quot;$:/core/ui/ListItemTemplate\&quot;&gt;\n &lt;$link/&gt;\n &lt;/$list&gt;\n &lt;/$reveal&gt;\n\n &lt;/$vars&gt;\n &lt;/$list&gt;\n\\end\n\n&lt;$reveal state=\&quot;!!draft.title\&quot; type=\&quot;nomatch\&quot; text={{!!draft.of}} tag=\&quot;div\&quot;&gt;\n &lt;$list filter=\&quot;[locator-enlist-relationship-fields[]] -[[tags]] -[[list]] -[[LINKS-IN-TEXT]]\&quot; variable=\&quot;currentField\&quot;&gt;\n &lt;$macrocall $name=\&quot;children-by-field\&quot; field=&lt;&lt;currentField&gt;&gt;/&gt;\n &lt;/$list&gt;\n&lt;/$reveal&gt;&quot;
},
&quot;$:/plugins/bimlas/locator/field-templates/color&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/field-templates/color&quot;,
&quot;caption&quot;: &quot;Color&quot;,
&quot;tags&quot;: &quot;$:/tags/bimlas/locator/field-templates&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;&lt;input type=\&quot;color\&quot; name=\&quot;favcolor\&quot; value=&lt;&lt;currentTiddler&gt;&gt; disabled&gt; &lt;$view field=\&quot;title\&quot;/&gt;&quot;
},
&quot;$:/plugins/bimlas/locator/field-templates/edit-fields-plus-transclusion&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/field-templates/edit-fields-plus-transclusion&quot;,
&quot;caption&quot;: &quot;Edit fields + Transclusion&quot;,
&quot;tags&quot;: &quot;$:/tags/bimlas/locator/context-item-templates&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;\\define frame-classes() tc-tiddler-frame tc-tiddler-edit-frame $(missingTiddlerClass)$ $(shadowTiddlerClass)$ $(systemTiddlerClass)$\n\n{{||$:/plugins/bimlas/locator/field-templates/link}}\n&lt;div class=&lt;&lt;frame-classes&gt;&gt; data-tiddler-title=&lt;&lt;currentTiddler&gt;&gt;&gt;\n &lt;$fieldmangler&gt;\n {{||$:/core/ui/EditTemplate/tags}}\n {{||$:/core/ui/EditTemplate/fields}}\n &lt;/$fieldmangler&gt;\n&lt;/div&gt;\n&lt;$transclude mode=\&quot;block\&quot;/&gt;\n&lt;hr style=\&quot;border-top: double\&quot;/&gt;&quot;
},
&quot;$:/plugins/bimlas/locator/field-templates/edit-fields&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/field-templates/edit-fields&quot;,
&quot;caption&quot;: &quot;Edit fields&quot;,
&quot;tags&quot;: &quot;$:/tags/bimlas/locator/context-item-templates&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;\\define frame-classes() tc-tiddler-frame tc-tiddler-edit-frame $(missingTiddlerClass)$ $(shadowTiddlerClass)$ $(systemTiddlerClass)$\n\n{{||$:/plugins/bimlas/locator/field-templates/link}}\n&lt;div class=&lt;&lt;frame-classes&gt;&gt; data-tiddler-title=&lt;&lt;currentTiddler&gt;&gt;&gt;\n &lt;$fieldmangler&gt;\n {{||$:/core/ui/EditTemplate/tags}}\n {{||$:/core/ui/EditTemplate/fields}}\n &lt;/$fieldmangler&gt;\n&lt;/div&gt;\n&lt;hr style=\&quot;border-top: double\&quot;/&gt;&quot;
},
&quot;$:/plugins/bimlas/locator/field-templates/fields-plus-transclusion&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/field-templates/fields-plus-transclusion&quot;,
&quot;caption&quot;: &quot;Fields + Transclusion&quot;,
&quot;tags&quot;: &quot;$:/tags/bimlas/locator/context-item-templates&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;{{||$:/plugins/bimlas/locator/field-templates/link}}\n{{||$:/plugins/bimlas/locator/viewtemplate/field-list}}\n&lt;$transclude mode=\&quot;block\&quot;/&gt;\n&lt;hr style=\&quot;border-top: double\&quot;/&gt;&quot;
},
&quot;$:/plugins/bimlas/locator/field-templates/fields&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/field-templates/fields&quot;,
&quot;caption&quot;: &quot;Fields&quot;,
&quot;tags&quot;: &quot;$:/tags/bimlas/locator/context-item-templates&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;{{||$:/plugins/bimlas/locator/field-templates/link}}\n{{||$:/plugins/bimlas/locator/viewtemplate/field-list}}\n&lt;hr style=\&quot;border-top: double\&quot;/&gt;&quot;
},
&quot;$:/plugins/bimlas/locator/field-templates/icon&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/field-templates/icon&quot;,
&quot;caption&quot;: &quot;Icon&quot;,
&quot;tags&quot;: &quot;$:/tags/bimlas/locator/field-templates&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;&lt;button class=\&quot;tc-btn-invisible\&quot; disabled&gt;&lt;$transclude&gt;&lt;&lt;currentTiddler&gt;&gt;&lt;/$transclude&gt;&lt;/button&gt; {{||$:/plugins/bimlas/locator/field-templates/link}}&quot;
},
&quot;$:/plugins/bimlas/locator/field-templates/link&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/field-templates/link&quot;,
&quot;caption&quot;: &quot;Link&quot;,
&quot;tags&quot;: &quot;$:/tags/bimlas/locator/field-templates $:/tags/bimlas/locator/context-item-templates&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;&lt;$link to=&lt;&lt;currentTiddler&gt;&gt;&gt;\n &lt;$transclude field=\&quot;caption\&quot;&gt;&lt;$view field=\&quot;title\&quot;/&gt;&lt;/$transclude&gt;\n&lt;/$link&gt;&quot;
},
&quot;$:/plugins/bimlas/locator/field-templates/tag&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/field-templates/tag&quot;,
&quot;caption&quot;: &quot;Tag&quot;,
&quot;tags&quot;: &quot;$:/tags/bimlas/locator/field-templates&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;&lt;&lt;tag&gt;&gt;&quot;
},
&quot;$:/plugins/bimlas/locator/field-templates/text&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/field-templates/text&quot;,
&quot;caption&quot;: &quot;Text&quot;,
&quot;tags&quot;: &quot;$:/tags/bimlas/locator/field-templates&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;&lt;$view field=\&quot;title\&quot;/&gt;&quot;
},
&quot;$:/plugins/bimlas/locator/field-templates/transclusion&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/field-templates/transclusion&quot;,
&quot;caption&quot;: &quot;Transclusion&quot;,
&quot;tags&quot;: &quot;$:/tags/bimlas/locator/context-item-templates&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;{{||$:/plugins/bimlas/locator/field-templates/link}}\n&lt;br/&gt;\n&lt;$transclude mode=\&quot;block\&quot;/&gt;\n&lt;hr style=\&quot;border-top: double\&quot;/&gt;&quot;
},
&quot;$:/plugins/bimlas/locator/macros/css-classes&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/macros/css-classes&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;\\define link-button-class(additionalClasses) tc-btn-invisible tc-tiddlylink bimlas-locator $additionalClasses$\n\\define menu-list-item-class() tc-menu-list-item bimlas-locator&quot;
},
&quot;$:/plugins/bimlas/locator/macros/filters&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/macros/filters&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;\\define filter-history() [&lt;__baseTitle__&gt;] [title&lt;contextState&gt;each:list-item[history]] -[[]]\n\\define filter-selected-field-values() [title&lt;intersectionState&gt;] [title&lt;differenceState&gt;] +[locator-selected-field-values&lt;currentField&gt;]\n\\define filter-field-is-list() [addprefix[$:/config/bimlas/locator/fields/]field:field-type[list]]\n\\define filter-unfiltered-view-context-items() [subfilter&lt;filter-history&gt;last[]locator-enlist-children:$(currentField)$&lt;contextState&gt;!has[draft.of]]\n\\define filter-view-context() [subfilter&lt;filter-history&gt;last[]locator-enlist-children:$(currentField)$&lt;contextState&gt;!has[draft.of]locator-fields-filter&lt;intersectionState&gt;!locator-fields-filter&lt;differenceState&gt;]\n\\define filter-search-context() [!is[system]locator-fields-filter:recursive[$(intersectionState)$]!locator-fields-filter:recursive[$(differenceState)$]]\n\\define filter-field-of-relationship() [title&lt;contextState&gt;get[field-of-relationship]] [&lt;defaultFieldOfRelationship&gt;] +[first[]]\n\n&lt;!--\n I know that `filter-view-context` uses a code duplication of\n `filter-unfiltered-view-context-items`, but I have to do this way, becuse\n $(variable)$ works only with variables defined in direct parent macro, thus\n I cannot add another level to call chain\n--&gt;&quot;
},
&quot;$:/plugins/bimlas/locator/macros/javascript-filters.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/macros/javascript-filters.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/plugins/bimlas/locator/macros/javascript-filters.js\ntype: application/javascript\nmodule-type: filteroperator\n\nSpecial filters used by Locator\n\n\\*/\n(function() {\n\n\t/*jslint node: true, browser: true */\n\t/*global $tw: true */\n\t\&quot;use strict\&quot;;\n\n\tfunction getFieldDefinition(options,field) {\n\t\tvar fieldOptionsTiddler = \&quot;$:/config/bimlas/locator/fields/\&quot; + field;\n\n\t\treturn options.wiki.getCacheForTiddler(fieldOptionsTiddler,\&quot;fieldListingOperator\&quot;,function() {\n\t\t\tvar fieldOptions = options.wiki.getTiddler(fieldOptionsTiddler) || {fields: {}};\n\t\t\tvar filterOperators = options.wiki.getFilterOperators();\n\t\t\tvar fieldDefinitions = {\n\t\t\t\t\&quot;value\&quot;: {\n\t\t\t\t\tfieldType: \&quot;value\&quot;,\n\t\t\t\t\tdirection: fieldOptions.fields[\&quot;field-direction\&quot;],\n\t\t\t\t\tenlistChildren: {\n\t\t\t\t\t\t\&quot;to\&quot;: function(title,input,prefix) {\n\t\t\t\t\t\t\treturn filterOperators[\&quot;field\&quot;](input,{operand: title,prefix: prefix,suffix: field},options);\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\&quot;from\&quot;: function(title,unusedInput,unusedPrefix) {\n\t\t\t\t\t\t\treturn (options.wiki.getTiddler(title) || {fields: {}}).fields[field] || []\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t\&quot;list\&quot;: {\n\t\t\t\t\tfieldType: \&quot;list\&quot;,\n\t\t\t\t\tdirection: fieldOptions.fields[\&quot;field-direction\&quot;],\n\t\t\t\t\tenlistChildren: {\n\t\t\t\t\t\t\&quot;to\&quot;: function(title,input,prefix) {\n\t\t\t\t\t\t\treturn filterOperators[\&quot;contains\&quot;](input,{operand: title,prefix: prefix,suffix: field},options);\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\&quot;from\&quot;: function(title,unusedInput,unusedPrefix) {\n\t\t\t\t\t\t\treturn options.wiki.getTiddlerList(title,field) || [];\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t};\n\t\t\tvar linksInTextDefinition = {\n\t\t\t\tfieldType: \&quot;value\&quot;,\n\t\t\t\tdirection: fieldOptions.fields[\&quot;field-direction\&quot;],\n\t\t\t\tenlistChildren: {\n\t\t\t\t\t\&quot;to\&quot;: function(title,unusedInput,unusedPrefix) {\n\t\t\t\t\t\treturn options.wiki.getTiddlerBacklinks(title);\n\t\t\t\t\t},\n\t\t\t\t\t\&quot;from\&quot;: function(title,unusedInput,unusedPrefix) {\n\t\t\t\t\t\treturn options.wiki.getTiddlerLinks(title);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t};\n\n\t\t\treturn field === \&quot;LINKS-IN-TEXT\&quot;\n\t\t\t\t? linksInTextDefinition\n\t\t\t\t: fieldDefinitions[fieldOptions.fields[\&quot;field-type\&quot;] || \&quot;value\&quot;];\n\t\t});\n\t}\n\n\tfunction getActiveFilters(options,filterState) {\n\t\treturn options.wiki.getCacheForTiddler(filterState,\&quot;activeFilters\&quot;,function() {\n\t\t\tvar filteredFields = options.wiki.getTiddlerDataCached(filterState,{});\n\t\t\tvar results = {};\n\n\t\t\t$tw.utils.each(filteredFields,function(valuesAsString,field) {\n\t\t\t\tvar values = $tw.utils.parseStringArray(valuesAsString) || [];\n\t\t\t\tif(values.length) {\n\t\t\t\t\tresults[field] = values;\n\t\t\t\t}\n\t\t\t});\n\n\t\t\treturn results;\n\t\t});\n\t}\n\n\tfunction applyFieldsFilters(source,options,filterState,filterFunc,prefix) {\n\t\tvar activeFilters = getActiveFilters(options,filterState);\n\t\tvar results = source;\n\n\t\tif(!Object.keys(activeFilters).length) return results;\n\n\t\t$tw.utils.each(activeFilters,function(values,field) {\n\t\t\t$tw.utils.each(values,function(value) {\n\t\t\t\tif(value === \&quot;ANY-VALUE\&quot;) {\n\t\t\t\t\tvar filterOperators = options.wiki.getFilterOperators();\n\t\t\t\t\tresults = filterOperators[\&quot;has\&quot;](results,{operand: field,prefix: prefix},options);\n\t\t\t\t} else {\n\t\t\t\t\tresults = filterFunc(results,field,value,prefix);\n\t\t\t\t}\n\t\t\t\tresults = options.wiki.makeTiddlerIterator(results);\n\t\t\t});\n\t\t});\n\n\t\treturn results;\n\t}\n\n\tfunction getDirectionOfTraverse(options,contextState,fieldOfRelationship) {\n\t\tvar direction = getFieldDefinition(options,fieldOfRelationship).direction;\n\n\t\tif(isDirectionInverted(options,context
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;
},
&quot;$:/plugins/bimlas/locator/macros/locator-fields&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/macros/locator-fields&quot;,
&quot;tags&quot;: &quot;$:/tags/Macro&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;\\define locator-fields()\n &lt;!-- Hide internal macros, do not make them globally available --&gt;\n &lt;$importvariables filter=\&quot;[all[tiddlers+shadows]prefix[$:/plugins/bimlas/locator/macros/]]\&quot;&gt;\n &lt;$vars\n contextState=\&quot;$:/state/bimlas/locator/search/context/\&quot;\n intersectionState=\&quot;$:/state/bimlas/locator/search/intersection/\&quot;\n differenceState=\&quot;$:/state/bimlas/locator/search/difference/\&quot;\n recursiveFilteringAvailable=\&quot;yes\&quot;\n &gt;\n\n {{$:/plugins/bimlas/locator/templates/search-toolbar}} {{$:/plugins/bimlas/locator/buttons/remove-filters}}\n\n &lt;p&gt;&lt;$checkbox tiddler=&lt;&lt;contextState&gt;&gt; field=\&quot;limit-to-fields-of-filtered-tiddlers\&quot; checked=\&quot;yes\&quot; unchecked=\&quot;no\&quot; default=\&quot;yes\&quot;&gt; Limit to fields of filtered tiddlers&lt;/$checkbox&gt;&lt;/p&gt;\n\n &lt;$list filter=\&quot;[subfilter&lt;filter-selected-field-values&gt;first[]]\&quot; emptyMessage=\&quot;\&quot;\&quot;&lt;$list filter=\&quot;0\&quot; variable=\&quot;resultCount\&quot; template=\&quot;$:/language/Search/Matches\&quot;/&gt;\&quot;\&quot;\&quot;&gt;\n &lt;$list filter=\&quot;[subfilter&lt;filter-search-context&gt;count[]]\&quot; variable=\&quot;resultCount\&quot; template=\&quot;$:/language/Search/Matches\&quot;/&gt;\n &lt;/$list&gt;\n\n &lt;!-- searchTiddler variable does not available in transcluded tiddlers by default --&gt;\n &lt;$set name=\&quot;filterContextItems\&quot; filter=\&quot;[&lt;contextState&gt;field:limit-to-fields-of-filtered-tiddlers[no]]\&quot; value=\&quot;[!is[system]]\&quot; emptyValue=&lt;&lt;filter-search-context&gt;&gt;&gt;\n &lt;$vars searchedFieldValue={{$(searchTiddler)$}}&gt;\n {{$:/plugins/bimlas/locator/templates/field-names}}\n &lt;/$vars&gt;\n &lt;/$set&gt;\n\n &lt;$list filter=\&quot;[subfilter&lt;filter-selected-field-values&gt;first[]]\&quot;&gt;\n &lt;$list filter=\&quot;[subfilter&lt;filter-search-context&gt;limit[250]]\&quot; template=\&quot;$:/core/ui/ListItemTemplate\&quot;/&gt;\n &lt;/$list&gt;\n\n &lt;/$vars&gt;\n &lt;/$importvariables&gt;\n\\end\n&quot;
},
&quot;$:/plugins/bimlas/locator/macros/locator-search&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/macros/locator-search&quot;,
&quot;tags&quot;: &quot;$:/tags/Macro&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;\\define locator-search()\n &lt;!-- Hide internal macros, do not make them globally available --&gt;\n &lt;$importvariables filter=\&quot;[all[tiddlers+shadows]prefix[$:/plugins/bimlas/locator/macros/]]\&quot;&gt;\n &lt;$vars\n contextState=\&quot;$:/state/bimlas/locator/search/context/\&quot;\n intersectionState=\&quot;$:/state/bimlas/locator/search/intersection/\&quot;\n differenceState=\&quot;$:/state/bimlas/locator/search/difference/\&quot;\n filterContextItems=\&quot;[subfilter&lt;filter-search-context&gt;search{$(searchTiddler)$}]\&quot;\n recursiveFilteringAvailable=\&quot;yes\&quot;\n &gt;\n\n {{$:/plugins/bimlas/locator/templates/search-toolbar}}\n\n &lt;$list filter=\&quot;[subfilter&lt;filterContextItems&gt;count[]]\&quot; variable=\&quot;resultCount\&quot; template=\&quot;$:/language/Search/Matches\&quot;/&gt;\n\n {{$:/plugins/bimlas/locator/templates/fields-filter}}\n\n //&lt;small&gt;{{$:/language/Search/Matches/Title}}&lt;/small&gt;//\n\n &lt;$list filter=\&quot;[subfilter&lt;filterContextItems&gt;search:title{$(searchTiddler)$}limit[250]]\&quot; template=\&quot;$:/core/ui/ListItemTemplate\&quot;/&gt;\n\n //&lt;small&gt;{{$:/language/Search/Matches/All}}&lt;/small&gt;//\n\n &lt;$list filter=\&quot;[subfilter&lt;filterContextItems&gt;limit[250]]\&quot; template=\&quot;$:/core/ui/ListItemTemplate\&quot;/&gt;\n\n &lt;/$vars&gt;\n &lt;/$importvariables&gt;\n\\end\n&quot;
},
&quot;$:/plugins/bimlas/locator/macros/locator-view&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/macros/locator-view&quot;,
&quot;tags&quot;: &quot;$:/tags/Macro&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;\\define locator-view(baseTitle fieldOfRelationship:\&quot;tags\&quot; templateOfContextItems:\&quot;$:/plugins/bimlas/locator/field-templates/link\&quot;)\n &lt;!-- Hide internal macros, do not make them globally available --&gt;\n &lt;$importvariables filter=\&quot;[all[tiddlers+shadows]prefix[$:/plugins/bimlas/locator/macros/]]\&quot;&gt;\n &lt;$vars\n contextState=\&quot;$:/state/bimlas/locator/view/context/$(currentTiddler)$\&quot;\n intersectionState=\&quot;$:/state/bimlas/locator/view/intersection/$(currentTiddler)$\&quot;\n differenceState=\&quot;$:/state/bimlas/locator/view/difference/$(currentTiddler)$\&quot;\n defaultFieldOfRelationship=&lt;&lt;__fieldOfRelationship__&gt;&gt;\n &gt;\n &lt;!-- I have to create them nested because internal variables use external ones --&gt;\n &lt;$vars currentField={{{ [subfilter&lt;filter-field-of-relationship&gt;] }}}&gt;\n &lt;$vars filterContextItems=&lt;&lt;filter-view-context&gt;&gt;&gt;\n &lt;div class=\&quot;tc-table-of-contents\&quot;&gt;\n\n {{$:/plugins/bimlas/locator/templates/history}}\n\n ---\n\n {{$:/plugins/bimlas/locator/templates/context-settings}}\n &lt;div class=\&quot;bimlas-locator right\&quot;&gt;\n {{||$:/plugins/bimlas/locator/templates/view-toolbar}}\n &lt;/div&gt;\n {{$:/plugins/bimlas/locator/templates/fields-filter}}\n &lt;ol class=\&quot;bimlas-locator\&quot;&gt;\n &lt;$list filter=\&quot;[subfilter&lt;filter-field-of-relationship&gt;regexp[^LINKS-IN-TEXT$]]\&quot; emptyMessage={{$:/plugins/bimlas/locator/templates/list-of-context-items}}&gt;\n {{||$:/plugins/bimlas/locator/templates/list-of-links-in-text}}\n &lt;/$list&gt;\n &lt;/ol&gt;\n\n &lt;/div&gt;\n &lt;/$vars&gt;\n &lt;/$vars&gt;\n &lt;/$vars&gt;\n &lt;/$importvariables&gt;\n\\end\n&quot;
},
&quot;$:/plugins/bimlas/locator/macros/template-macros&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/macros/template-macros&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;\\define droppable-menu-list-item(content actions)\n &lt;$droppable actions=&lt;&lt;__actions__&gt;&gt;&gt;\n &lt;div class=\&quot;tc-droppable-placeholder\&quot; style=\&quot;display: block\&quot;&gt;\n &lt;&lt;__content__&gt;&gt;\n &lt;/div&gt;\n &lt;/$droppable&gt;\n\\end&quot;
},
&quot;$:/plugins/bimlas/locator/settings/settings&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/settings/settings&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;\\define show-in-fields()\n &lt;$select field=\&quot;hide-in-nested-fields-filter\&quot; default=\&quot;\&quot;&gt;\n &lt;option value=\&quot;\&quot;&gt;Show&lt;/option&gt;\n &lt;option value=\&quot;yes\&quot;&gt;Hide&lt;/option&gt;\n &lt;/$select&gt; in nested filter (`locator-view`, `locator-search`)&lt;br/&gt;\n &lt;$select field=\&quot;hide-in-regular-fields-filter\&quot; default=\&quot;\&quot;&gt;\n &lt;option value=\&quot;\&quot;&gt;Show&lt;/option&gt;\n &lt;option value=\&quot;yes\&quot;&gt;Hide&lt;/option&gt;\n &lt;/$select&gt; in regular filter (`locator-fields` and tiddler info)\n\\end\n\n\\define field-type()\n &lt;$select field=\&quot;field-type\&quot; default=\&quot;\&quot;&gt;\n &lt;option value=\&quot;\&quot;&gt;Value&lt;/option&gt;\n &lt;option value=\&quot;list\&quot;&gt;List&lt;/option&gt;\n &lt;/$select&gt;\n\\end\n\n\\define field-direction()\n &lt;$select field=\&quot;field-direction\&quot; default=\&quot;\&quot;&gt;\n &lt;option value=\&quot;\&quot;&gt;No&lt;/option&gt;\n &lt;option value=\&quot;to\&quot;&gt;Yes&lt;/option&gt;\n &lt;!--\n I blocked it because a tree with children on top is difficult to handle:\n\n For example, there is a tiddler named \&quot;Father\&quot; which has \&quot;Kid\&quot; in the \&quot;children\&quot; field\n\n If you want to filter tiddlers by field values (for example, in the fields filter),\n \&quot;Father\&quot; will be listed among those tiddlers that have \&quot;Kid\&quot; in the \&quot;children\&quot; field.\n In fact, we wanted to children of \&quot;Kid\&quot;.\n\n Filtering \&quot;Kid\&quot; in the \&quot;Fields\&quot; search tab will list the tiddlers that have \&quot;Kid\&quot; in\n their \&quot;children\&quot; field (for example, \&quot;Father\&quot;). If you turn on recursive filtering,\n it will list all tiddlers starting with \&quot;Kid\&quot; (so \&quot;Father\&quot; will not be listed).\n\n The \&quot;Create tiddler in context\&quot; button also has to be aware of the direction of the\n field, which also complicates the code.\n\n If you do make this option available, remember to tell the user that when renaming a\n tiddler, he must rewrite the field values that refer to the current tiddler. If you\n want to rewrite it automatically, make sure it works properly with the Relink plugin\n (does not adding the new name more than once to the field).\n --&gt;\n &lt;!-- &lt;option value=\&quot;from\&quot;&gt;From&lt;/option&gt; --&gt;\n &lt;/$select&gt;\n\\end\n\n\\define template()\n &lt;$select field=\&quot;text\&quot; default=\&quot;$:/plugins/bimlas/locator/field-templates/text\&quot;&gt;\n &lt;$list filter=\&quot;[all[tiddlers+shadows]tag[$:/tags/bimlas/locator/field-templates]]\&quot;&gt;\n &lt;option value=&lt;&lt;currentTiddler&gt;&gt;&gt;&lt;$transclude field=\&quot;caption\&quot;&gt;&lt;$view field=\&quot;title\&quot;/&gt;&lt;/$transclude&gt;&lt;/option&gt;\n &lt;/$list&gt;\n &lt;/$select&gt;\n &lt;$transclude/&gt;\n\\end\n\n\\define settings(field)\n &lt;$importvariables filter=\&quot;[all[tiddlers+shadows]prefix[$:/plugins/bimlas/locator/macros/]]\&quot;&gt;\n\n &lt;h3&gt;&lt;$link to=\&quot;$:/config/bimlas/locator/fields/$field$\&quot;&gt;&lt;$text text=&lt;&lt;__field__&gt;&gt;/&gt;&lt;/$link&gt;&lt;/h3&gt;\n\n &lt;div class=\&quot;tc-control-panel\&quot;&gt;\n &lt;table&gt;\n &lt;tbody&gt;\n &lt;tr&gt;\n &lt;td&gt;Description&lt;/td&gt;\n &lt;td&gt;//{{$:/language/Docs/Fields/$field$}}//&lt;/td&gt;\n &lt;/tr&gt;\n &lt;tr&gt;\n &lt;td&gt;Show in fields filter&lt;/td&gt;\n &lt;td&gt;\n &lt;&lt;show-in-fields&gt;&gt;\n &lt;/td&gt;\n &lt;/tr&gt;\n &lt;tr&gt;\n &lt;td&gt;Field type&lt;/td&gt;\n &lt;td&gt;\n &lt;&lt;field-type&gt;&gt;\n &lt;p&gt;//Does the field contain a single value (for example `Franz Kafka`) or a list of values (`[[Franz Kafka
},
&quot;$:/plugins/bimlas/locator/stylesheet&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/stylesheet&quot;,
&quot;tags&quot;: &quot;$:/tags/Stylesheet&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;.tc-tiddler-frame.bimlas-locator-explanation {\n max-width: 400px;\n}\n.bimlas-locator-explanation svg {\n width: 1rem;\n height: 1rem;\n}\n.tc-drop-down button.bimlas-locator {\n width: auto;\n padding: 0;\n display: inline-block;\n background-color: inherit;\n}\nol.bimlas-locator {\n list-style-type: none;\n margin: 0;\n padding-left: 0;\n}\nol.bimlas-locator ol {\n margin-left: 0.75em;\n padding-left: 0.3em;\n border-left: 1px dashed;\n}\nli.toc-item.bimlas-locator, .tc-menu-list-item.bimlas-locator {\n margin-top: 3px;\n margin-bottom: 0;\n}\n.tc-menu-list-item.bimlas-locator &gt; .tc-droppable {\n display: inline-block;\n}\n.tc-block-dropdown.tc-search-drop-down .bimlas-locator a {\n padding: 0;\n}\n.tc-block-dropdown.tc-search-drop-down .bimlas-locator a:hover {\n background-color: initial;\n}\nbutton.bimlas-locator svg {\n margin: 0 0.25em;\n}\nbutton.bimlas-locator.active svg {\n fill: &lt;&lt;colour dirty-indicator&gt;&gt;;\n}\n.bimlas-locator.right {\n float: right;\n margin-right: 1em;\n}\n.bimlas-locator.context-settings {\n border-width: 1px;\n border-style: dashed;\n padding: 0.5em;\n}&quot;
},
&quot;$:/plugins/bimlas/locator/templates/context-item&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/templates/context-item&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;&lt;li class=\&quot;toc-item\&quot;&gt;\n {{||$:/plugins/bimlas/locator/buttons/go-down-to-context}}\n &lt;$list filter=\&quot;[title&lt;contextState&gt;get[template-of-context-items]] [title&lt;__templateOfContextItems__&gt;] -[[]] +[first[]]\&quot; variable=\&quot;template\&quot;&gt;\n &lt;$transclude tiddler=&lt;&lt;template&gt;&gt;/&gt;\n &lt;/$list&gt;\n&lt;/li&gt;&quot;
},
&quot;$:/plugins/bimlas/locator/templates/context-settings&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/templates/context-settings&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;\\define field-of-relationship()\n Tree is based on field:&lt;br/&gt;\n &lt;$select tiddler=&lt;&lt;contextState&gt;&gt; field=\&quot;field-of-relationship\&quot; default=&lt;&lt;defaultFieldOfRelationship&gt;&gt;&gt;\n &lt;$list filter=\&quot;[locator-enlist-relationship-fields[]]\&quot; variable=\&quot;currentField\&quot;&gt;\n &lt;option value=&lt;&lt;currentField&gt;&gt;&gt;\n &lt;$list filter=\&quot;[subfilter&lt;filter-unfiltered-view-context-items&gt;count[]]\&quot; variable=\&quot;count\&quot;&gt;\n (&lt;&lt;count&gt;&gt;) &lt;&lt;currentField&gt;&gt;\n &lt;/$list&gt;\n &lt;/option&gt;\n &lt;/$list&gt;\n &lt;/$select&gt;\n\\end\n\n\\define template-of-context-items()\n Template of context items:&lt;br/&gt;\n &lt;$select tiddler=&lt;&lt;contextState&gt;&gt; field=\&quot;template-of-context-items\&quot; default=&lt;&lt;__templateOfContextItems__&gt;&gt;&gt;\n &lt;$list filter=\&quot;[all[tiddlers+shadows]tag[$:/tags/bimlas/locator/context-item-templates]]\&quot;&gt;\n &lt;option value=&lt;&lt;currentTiddler&gt;&gt;&gt;\n &lt;$transclude field=\&quot;caption\&quot;&gt;&lt;$view field=\&quot;title\&quot;/&gt;&lt;/$transclude&gt;\n &lt;/option&gt;\n &lt;/$list&gt;\n &lt;/$select&gt;\n\\end\n\n&lt;$list filter=\&quot;[title&lt;contextState&gt;field:context-settings-opened[yes]]\&quot;&gt;\n &lt;div class=\&quot;bimlas-locator context-settings\&quot;&gt;\n &lt;&lt;field-of-relationship&gt;&gt;&lt;br/&gt;\n &lt;&lt;template-of-context-items&gt;&gt;&lt;br/&gt;\n &lt;$checkbox\n tiddler=&lt;&lt;contextState&gt;&gt;\n field=\&quot;invert-direction\&quot;\n checked=\&quot;yes\&quot;\n unchecked=\&quot;no\&quot;\n default=\&quot;no\&quot;\n &gt;\n Invert direction\n &lt;/$checkbox&gt;&lt;br/&gt;\n &lt;$checkbox\n tiddler=&lt;&lt;contextState&gt;&gt;\n field=\&quot;allow-to-open-leaves\&quot;\n checked=\&quot;yes\&quot;\n unchecked=\&quot;no\&quot;\n default=\&quot;no\&quot;\n &gt;\n Allow to open leaves\n &lt;/$checkbox&gt;&lt;br/&gt;\n {{$:/plugins/bimlas/locator/buttons/open-field-settings}}\n &lt;/div&gt;\n&lt;/$list&gt;\n&quot;
},
&quot;$:/plugins/bimlas/locator/templates/field-names&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/templates/field-names&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;\\define close-actions()\n &lt;$action-listops $tiddler=&lt;&lt;contextState&gt;&gt; $field=\&quot;opened-fields-filters\&quot; $subfilter=\&quot;-[&lt;currentField&gt;]\&quot;/&gt;\n\\end\n\n\\define open-actions()\n &lt;$action-listops $tiddler=&lt;&lt;contextState&gt;&gt; $field=\&quot;opened-fields-filters\&quot; $subfilter=\&quot;[&lt;currentField&gt;]\&quot;/&gt;\n\\end\n\n\\define closed()\n &lt;$button class=&lt;&lt;fieldButtonClass&gt;&gt; actions=&lt;&lt;open-actions&gt;&gt;&gt;\n {{$:/core/images/down-arrow}} &lt;&lt;currentField&gt;&gt;\n &lt;/$button&gt;\n {{$:/plugins/bimlas/locator/buttons/remove-filters-of-current-field}}\n\\end\n\n\\define opened()\n &lt;$button class=&lt;&lt;fieldButtonClass&gt;&gt; actions=&lt;&lt;close-actions&gt;&gt;&gt;\n {{$:/core/images/up-arrow}} &lt;&lt;currentField&gt;&gt;\n &lt;/$button&gt;\n {{$:/plugins/bimlas/locator/buttons/remove-filters-of-current-field}}\n {{$:/plugins/bimlas/locator/templates/field-values}}\n\\end\n\n\\define field-names() [title&lt;intersectionState&gt;] [title&lt;differenceState&gt;] +[locator-selected-field-names[]] [subfilter&lt;filterContextItems&gt;fields[]locator-enabled-fields&lt;typeOfFieldsFilter&gt;] +[sort[]]\n\\define has-field-value-to-list() [subfilter&lt;filterContextItems&gt;has&lt;currentField&gt;search:$(currentField)$&lt;searchedFieldValue&gt;] [subfilter&lt;filter-selected-field-values&gt;] +[first[]]\n\n&lt;ol class=\&quot;bimlas-locator\&quot;&gt;\n &lt;$list filter=&lt;&lt;field-names&gt;&gt; variable=\&quot;currentField\&quot;&gt;\n &lt;$list filter=&lt;&lt;has-field-value-to-list&gt;&gt; variable=\&quot;null\&quot;&gt;\n &lt;$set name=\&quot;recursiveFilteringOfCurrentFieldAvailable\&quot; filter=\&quot;[&lt;recursiveFilteringAvailable&gt;regexp[yes]] [locator-enlist-relationship-fields&lt;currentField&gt;] +[count[]regexp[2]]\&quot; value=\&quot;yes\&quot; emptyValue=\&quot;no\&quot;&gt;\n &lt;$set name=\&quot;fieldButtonClass\&quot; filter=\&quot;[subfilter&lt;filter-selected-field-values&gt;first[]]\&quot; value=&lt;&lt;link-button-class additionalClasses:\&quot;active\&quot;&gt;&gt; emptyValue=&lt;&lt;link-button-class&gt;&gt;&gt;\n &lt;li class=&lt;&lt;menu-list-item-class&gt;&gt;&gt;\n &lt;$list filter=\&quot;[title&lt;contextState&gt;contains:opened-fields-filters&lt;currentField&gt;]\&quot; emptyMessage=&lt;&lt;closed&gt;&gt;&gt;&lt;&lt;opened&gt;&gt;&lt;/$list&gt;\n &lt;/li&gt;\n &lt;/$set&gt;\n &lt;/$set&gt;\n &lt;/$list&gt;\n &lt;/$list&gt;\n&lt;/ol&gt;&quot;
},
&quot;$:/plugins/bimlas/locator/templates/field-value-template&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/templates/field-value-template&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;&lt;$list filter=\&quot;[[$:/config/bimlas/locator/fields/]addsuffix&lt;currentField&gt;get[text]]\&quot; emptyMessage={{$:/plugins/bimlas/locator/field-templates/text}} variable=\&quot;template\&quot;&gt;\n &lt;$transclude tiddler=&lt;&lt;template&gt;&gt;/&gt;\n&lt;/$list&gt;&quot;
},
&quot;$:/plugins/bimlas/locator/templates/field-values&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/templates/field-values&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;\\define remove-filtering-of-current-field()\n &lt;$action-setfield $tiddler=&lt;&lt;intersectionState&gt;&gt; $index=&lt;&lt;currentField&gt;&gt; $value=\&quot;\&quot;/&gt;\n &lt;$action-setfield $tiddler=&lt;&lt;differenceState&gt;&gt; $index=&lt;&lt;currentField&gt;&gt; $value=\&quot;\&quot;/&gt;\n &lt;$list filter=\&quot;[&lt;recursiveFilteringOfCurrentFieldAvailable&gt;regexp[yes]]\&quot; variable=\&quot;null\&quot;&gt;\n &lt;$action-setfield $tiddler=\&quot;$:/state/bimlas/locator/search/recursive-filters/\&quot; $index=&lt;&lt;currentField&gt;&gt; $value=\&quot;\&quot;/&gt;\n &lt;/$list&gt;\n\\end\n\n\\define remove-from-intersection-state()\n &lt;$action-listops $tiddler=&lt;&lt;intersectionState&gt;&gt; $index=&lt;&lt;currentField&gt;&gt; $subfilter=\&quot;-[all[current]]\&quot;/&gt;\n\\end\n\n\\define remove-from-difference-state()\n &lt;$action-listops $tiddler=&lt;&lt;differenceState&gt;&gt; $index=&lt;&lt;currentField&gt;&gt; $subfilter=\&quot;-[all[current]]\&quot;/&gt;\n\\end\n\n\\define activate-actions()\n &lt;&lt;__beforeActivateActions__&gt;&gt;\n &lt;$action-listops $tiddler=&lt;&lt;__filterState__&gt;&gt; $index=&lt;&lt;currentField&gt;&gt; $subfilter=\&quot;[all[current]]\&quot;/&gt;\n\\end\n\n\\define inactivate-actions()\n &lt;$action-listops $tiddler=&lt;&lt;__filterState__&gt;&gt; $index=&lt;&lt;currentField&gt;&gt; $subfilter=\&quot;-[all[current]]\&quot;/&gt;\n &lt;$list filter=\&quot;[&lt;recursiveFilteringOfCurrentFieldAvailable&gt;regexp[yes]]\&quot; variable=\&quot;null\&quot;&gt;\n &lt;$action-listops $tiddler=\&quot;$:/state/bimlas/locator/search/recursive-filters/\&quot; $index=&lt;&lt;currentField&gt;&gt; $subfilter=\&quot;-[all[current]]\&quot;/&gt;\n &lt;/$list&gt;\n\\end\n\n\\define button-inactive()\n &lt;$button tooltip=&lt;&lt;__tooltip__&gt;&gt; class=&lt;&lt;link-button-class&gt;&gt; actions=&lt;&lt;activate-actions&gt;&gt;&gt;\n &lt;&lt;__icon__&gt;&gt;\n &lt;/$button&gt;\n\\end\n\n\\define button-active()\n &lt;$button tooltip=&lt;&lt;__tooltip__&gt;&gt; class=&lt;&lt;link-button-class additionalClasses:\&quot;active\&quot;&gt;&gt; actions=&lt;&lt;inactivate-actions&gt;&gt;&gt;\n &lt;&lt;__icon__&gt;&gt;\n &lt;/$button&gt;\n\\end\n\n\\define toggle-button(filterState icon beforeActivateActions tooltip)\n &lt;$list filter=\&quot;[title&lt;__filterState__&gt;locator-selected-field-values&lt;currentField&gt;is[current]]\&quot; emptyMessage=&lt;&lt;button-inactive&gt;&gt;&gt;\n &lt;&lt;button-active&gt;&gt;\n &lt;/$list&gt;\n\\end\n\n\\define field-values-of-context-items() [subfilter&lt;filterContextItems&gt;locator-enlist-field-values&lt;currentField&gt;search:title&lt;searchedFieldValue&gt;] [subfilter&lt;filter-selected-field-values&gt;] +[sort[]]\n\n&lt;ol class=\&quot;bimlas-locator\&quot;&gt;\n &lt;li class=&lt;&lt;menu-list-item-class&gt;&gt;&gt;\n &lt;$tiddler tiddler=\&quot;ANY-VALUE\&quot;&gt;\n &lt;$macrocall\n $name=\&quot;toggle-button\&quot;\n filterState=&lt;&lt;intersectionState&gt;&gt;\n icon={{$:/core/images/new-button}}\n beforeActivateActions=&lt;&lt;remove-filtering-of-current-field&gt;&gt;\n tooltip=\&quot;Toggle filtering to any value\&quot;\n /&gt;\n &lt;$macrocall\n $name=\&quot;toggle-button\&quot;\n filterState=&lt;&lt;differenceState&gt;&gt;\n icon={{$:/core/images/close-button}}\n beforeActivateActions=&lt;&lt;remove-filtering-of-current-field&gt;&gt;\n tooltip=\&quot;Toggle filtering to any value\&quot;\n /&gt;\n __Any value__\n &lt;/$tiddler&gt;\n &lt;/li&gt;\n &lt;$list filter=\&quot;[subfilter&lt;field-values-of-context-items&gt;regexp[^ANY-VALUE$]count[]] -[[1]]\&quot; variable=\&quot;null\&quot;&gt;\n &lt;$list filter=&lt;&lt;field-values-of-context-items&gt;&gt;&gt;\n &lt;li class=&lt;&lt;menu-list-item-class&gt;&gt;&gt;\n &lt;$macrocall\n $name=\&quot;toggle-button\&quot;\n filterState=&lt;&lt;intersectionState&gt;&gt;\n icon={{$:/
},
&quot;$:/plugins/bimlas/locator/templates/fields-filter&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/templates/fields-filter&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;\\define open-actions()\n &lt;$action-listops $tiddler=&lt;&lt;contextState&gt;&gt; $field=\&quot;opened-fields-filters\&quot; $subfilter=\&quot;[[FIELDS-FILTER]]\&quot;/&gt;\n\\end\n\n\\define close-actions()\n &lt;$action-listops $tiddler=&lt;&lt;contextState&gt;&gt; $field=\&quot;opened-fields-filters\&quot; $subfilter=\&quot;-[[FIELDS-FILTER]]\&quot;/&gt;\n\\end\n\n\\define opened()\n &lt;$button class=&lt;&lt;fieldsFilterButtonClass&gt;&gt; actions=&lt;&lt;close-actions&gt;&gt;&gt;\n {{$:/core/images/up-arrow}} __Filter by fields__\n &lt;/$button&gt;\n {{$:/plugins/bimlas/locator/buttons/remove-filters}}\n &lt;ol class=\&quot;bimlas-locator\&quot;&gt;\n {{$:/plugins/bimlas/locator/templates/field-names}}\n &lt;/ol&gt;\n\\end\n\n\\define closed()\n &lt;$button class=&lt;&lt;fieldsFilterButtonClass&gt;&gt; actions=&lt;&lt;open-actions&gt;&gt;&gt;\n {{$:/core/images/down-arrow}} __Filter by fields__\n &lt;/$button&gt;\n {{$:/plugins/bimlas/locator/buttons/remove-filters}}\n\\end\n\n&lt;$set name=\&quot;fieldsFilterButtonClass\&quot; filter=\&quot;[subfilter&lt;filter-selected-field-values&gt;first[]]\&quot; value=&lt;&lt;link-button-class additionalClasses:\&quot;active\&quot;&gt;&gt; emptyValue=&lt;&lt;link-button-class&gt;&gt;&gt;\n &lt;$vars typeOfFieldsFilter=\&quot;nested\&quot;&gt;\n &lt;$list filter=\&quot;[title&lt;contextState&gt;contains:opened-fields-filters[FIELDS-FILTER]]\&quot; emptyMessage=&lt;&lt;closed&gt;&gt;&gt;&lt;&lt;opened&gt;&gt;&lt;/$list&gt;\n &lt;/$vars&gt;\n&lt;/$set&gt;&quot;
},
&quot;$:/plugins/bimlas/locator/templates/history-item&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/templates/history-item&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;{{||$:/plugins/bimlas/locator/buttons/go-up-to-context}}\n{{||$:/plugins/bimlas/locator/field-templates/link}}&quot;
},
&quot;$:/plugins/bimlas/locator/templates/history&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/templates/history&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;&lt;$list filter=&lt;&lt;filter-history&gt;&gt;&gt;\n &lt;$macrocall $name=\&quot;droppable-menu-list-item\&quot; content={{$:/plugins/bimlas/locator/templates/history-item}} actions={{$:/plugins/bimlas/locator/actions/move-to-another-context}}/&gt;\n&lt;/$list&gt;\n&quot;
},
&quot;$:/plugins/bimlas/locator/templates/list-of-context-items&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/templates/list-of-context-items&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;&lt;$list filter=&lt;&lt;filterContextItems&gt;&gt;&gt;\n &lt;$macrocall\n $name=\&quot;droppable-menu-list-item\&quot;\n content={{$:/plugins/bimlas/locator/templates/context-item}}\n actions={{$:/plugins/bimlas/locator/actions/move-to-another-context}}\n /&gt;\n&lt;/$list&gt;&quot;
},
&quot;$:/plugins/bimlas/locator/templates/list-of-links-in-text&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/templates/list-of-links-in-text&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;&lt;$list filter=\&quot;[subfilter&lt;filterContextItems&gt;sort[]]\&quot;&gt;\n {{||$:/plugins/bimlas/locator/templates/context-item}}\n&lt;/$list&gt;&quot;
},
&quot;$:/plugins/bimlas/locator/templates/search-toolbar&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/templates/search-toolbar&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;&lt;$vars\n titleOfNewTiddler={{$:/temp/search}}\n&gt;\n {{$:/plugins/bimlas/locator/buttons/clear-search-input}}\n {{$:/plugins/bimlas/locator/buttons/copy-filter-to-advanced-search}}\n {{$:/plugins/bimlas/locator/buttons/create-new-tiddler}}\n {{$:/plugins/bimlas/locator/buttons/open-field-settings}}\n&lt;/$vars&gt;\n&quot;
},
&quot;$:/plugins/bimlas/locator/templates/view-toolbar&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/templates/view-toolbar&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;&lt;$list filter=\&quot;[title&lt;contextState&gt;!field:invert-direction[yes]]\&quot; variable=\&quot;null\&quot;&gt;\n &lt;$list filter=\&quot;[subfilter&lt;filter-field-of-relationship&gt;!regexp[^LINKS-IN-TEXT$]]\&quot;&gt;\n {{||$:/plugins/bimlas/locator/buttons/create-new-tiddler}}\n &lt;/$list&gt;\n {{$:/plugins/bimlas/locator/buttons/search-in-context}}\n&lt;/$list&gt;\n{{$:/plugins/bimlas/locator/buttons/collapse-history}}\n{{$:/plugins/bimlas/locator/buttons/toggle-context-settings}}&quot;
},
&quot;$:/plugins/bimlas/locator/viewtemplate/field-list&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/viewtemplate/field-list&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;&lt;table class=\&quot;tc-view-field-table\&quot;&gt;\n &lt;tbody&gt;\n &lt;$list filter=\&quot;[all[current]fields[]locator-enabled-fields[]sort[title]] -text\&quot; variable=\&quot;currentField\&quot;&gt;\n &lt;tr class=\&quot;tc-view-field\&quot;&gt;\n &lt;td class=\&quot;tc-view-field-name\&quot;&gt;\n &lt;$text text=&lt;&lt;currentField&gt;&gt;/&gt;\n &lt;/td&gt;\n &lt;td class=\&quot;tc-view-field-value\&quot;&gt;\n &lt;$list filter=\&quot;[all[current]locator-enlist-field-values&lt;currentField&gt;]\&quot;&gt;\n {{||$:/plugins/bimlas/locator/templates/field-value-template}}\n &lt;/$list&gt;\n &lt;/td&gt;\n &lt;/tr&gt;\n &lt;/$list&gt;\n &lt;/tbody&gt;\n&lt;/table&gt;&quot;
},
&quot;$:/plugins/bimlas/locator/viewtemplate/fields-info&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/viewtemplate/fields-info&quot;,
&quot;caption&quot;: &quot;{{$:/language/TiddlerInfo/Fields/Caption}} (Locator)&quot;,
&quot;list-after&quot;: &quot;$:/core/ui/TiddlerInfo/Fields&quot;,
&quot;tags&quot;: &quot;$:/tags/TiddlerInfo&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;{{||$:/plugins/bimlas/locator/viewtemplate/field-list}}\n\n{{$:/plugins/bimlas/locator/buttons/open-field-settings}}&quot;
},
&quot;$:/plugins/bimlas/locator/viewtemplate/open-in-sidebar&quot;: {
&quot;title&quot;: &quot;$:/plugins/bimlas/locator/viewtemplate/open-in-sidebar&quot;,
&quot;caption&quot;: &quot;{{$:/core/images/chevron-right}} locator sidebar&quot;,
&quot;description&quot;: &quot;Browse hierarchy of tag in Locator sidebar&quot;,
&quot;list-before&quot;: &quot;$:/core/ui/Buttons/open-window&quot;,
&quot;tags&quot;: &quot;$:/tags/ViewToolbar&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;\\whitespace trim\n&lt;$button tooltip=\&quot;Browse hierarchy of tag in Locator sidebar\&quot; aria-label=\&quot;locator sidebar\&quot; class=&lt;&lt;tv-config-toolbar-class&gt;&gt;&gt;\n&lt;$vars\n contextState=\&quot;$:/state/bimlas/locator/view/context/\&quot;\n intersectionState=\&quot;$:/state/bimlas/locator/view/intersection/\&quot;\n differenceState=\&quot;$:/state/bimlas/locator/view/difference/\&quot;\n&gt;\n {{||$:/plugins/bimlas/locator/actions/add-to-history}}\n&lt;/$vars&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-icons&gt;prefix[yes]]\&quot; variable=\&quot;listItem\&quot;&gt;\n{{$:/core/images/chevron-right}}\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[&lt;tv-config-toolbar-text&gt;prefix[yes]]\&quot;&gt;\n&lt;span class=\&quot;tc-btn-text\&quot;&gt;\n&lt;$text text=\&quot; \&quot;/&gt;\n&lt;$text text=\&quot;locator sidebar\&quot;/&gt;\n&lt;/span&gt;\n&lt;/$list&gt;\n&lt;/$button&gt;\n&quot;
}
}
}</pre>
</div>
<div created="20201204132628162" modified="20201204132556548" tags="$:/tags/EditTemplate" title="$:/plugins/bimlas/locator/edit-template/locator-references" type="text/vnd.tiddlywiki">
<pre>\define prompt()
The following references to this tiddler in //&lt;&lt;__field__&gt;&gt;// [[Locator field|$:/plugins/bimlas/locator/settings/settings]] will not be automatically updated:
\end
\define children-by-field(field)
&lt;$list filter=&quot;[title{!!draft.of}locator-enlist-children:$field$[]first[]]&quot; variable=&quot;null&quot;&gt;
&lt;$vars stateTiddler=&lt;&lt;qualify &quot;$:/state/bimlas/locator/edit/references/$field$&quot;&gt;&gt; &gt;
&lt;$reveal type=&quot;nomatch&quot; state=&lt;&lt;stateTiddler&gt;&gt; text=&quot;show&quot;&gt;
&lt;$button set=&lt;&lt;stateTiddler&gt;&gt; setTo=&quot;show&quot; class=&quot;tc-btn-invisible&quot;&gt;
{{$:/core/images/right-arrow}}
&lt;&lt;prompt&gt;&gt;
&lt;/$button&gt;
&lt;/$reveal&gt;
&lt;$reveal type=&quot;match&quot; state=&lt;&lt;stateTiddler&gt;&gt; text=&quot;show&quot;&gt;
&lt;$button set=&lt;&lt;stateTiddler&gt;&gt; setTo=&quot;hide&quot; class=&quot;tc-btn-invisible&quot;&gt;
{{$:/core/images/down-arrow}}
&lt;&lt;prompt&gt;&gt;
&lt;/$button&gt;
&lt;/$reveal&gt;
&lt;$reveal type=&quot;match&quot; state=&lt;&lt;stateTiddler&gt;&gt; text=&quot;show&quot;&gt;
&lt;$list filter=&quot;[title{!!draft.of}locator-enlist-children:$field$[]]&quot; template=&quot;$:/core/ui/ListItemTemplate&quot;&gt;
&lt;$link/&gt;
&lt;/$list&gt;
&lt;/$reveal&gt;
&lt;/$vars&gt;
&lt;/$list&gt;
\end
&lt;$reveal state=&quot;!!draft.title&quot; type=&quot;nomatch&quot; text={{!!draft.of}} tag=&quot;div&quot;&gt;
&lt;$list filter=&quot;[locator-enlist-relationship-fields[]] -[[tags]] -[[list]] -[[LINKS-IN-TEXT]]&quot; variable=&quot;currentField&quot;&gt;
&lt;$macrocall $name=&quot;children-by-field&quot; field=&lt;&lt;currentField&gt;&gt;/&gt;
&lt;/$list&gt;
&lt;/$reveal&gt;</pre>
</div>
<div author="Flibbles" core-version="&gt;=5.1.22" demo="http://flibbles.github.io/tw5-relink/" dependents="" description="Flexibility when relinking renamed tiddlers" list="readme configuration license" name="Relink" plugin-type="plugin" source="https://github.com/flibbles/tw5-relink" title="$:/plugins/flibbles/relink" type="application/json" version="2.0.0">
<pre>{
&quot;tiddlers&quot;: {
&quot;$:/config/flibbles/relink/PluginLibrary&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/PluginLibrary&quot;,
&quot;caption&quot;: &quot;//Relink// Library&quot;,
&quot;tags&quot;: &quot;$:/tags/PluginLibrary&quot;,
&quot;url&quot;: &quot;https://flibbles.github.io/tw5-relink/library/index.html&quot;,
&quot;text&quot;: &quot;The //Relink// library contains //Relink// as well as its supplemental plugins. It is maintained by Flibbles. See the [[github page|https://github.com/flibbles/tw5-relink]] for more information.\n&quot;
},
&quot;$:/config/flibbles/relink/attributes/$button/set&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/attributes/$button/set&quot;,
&quot;text&quot;: &quot;reference&quot;
},
&quot;$:/config/flibbles/relink/attributes/$button/setTo&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/attributes/$button/setTo&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/attributes/$button/to&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/attributes/$button/to&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/attributes/$checkbox/tag&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/attributes/$checkbox/tag&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/attributes/$checkbox/tiddler&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/attributes/$checkbox/tiddler&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/attributes/$count/filter&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/attributes/$count/filter&quot;,
&quot;text&quot;: &quot;filter&quot;
},
&quot;$:/config/flibbles/relink/attributes/$draggable/filter&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/attributes/$draggable/filter&quot;,
&quot;text&quot;: &quot;filter&quot;
},
&quot;$:/config/flibbles/relink/attributes/$draggable/tiddler&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/attributes/$draggable/tiddler&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/attributes/$edit-bitmap/tiddler&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/attributes/$edit-bitmap/tiddler&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/attributes/$edit-text/tiddler&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/attributes/$edit-text/tiddler&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/attributes/$edit/tiddler&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/attributes/$edit/tiddler&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/attributes/$encrypt/filter&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/attributes/$encrypt/filter&quot;,
&quot;text&quot;: &quot;filter&quot;
},
&quot;$:/config/flibbles/relink/attributes/$fieldmangler/tiddler&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/attributes/$fieldmangler/tiddler&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/attributes/$fields/tiddler&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/attributes/$fields/tiddler&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/attributes/$image/source&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/attributes/$image/source&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/attributes/$importvariables/filter&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/attributes/$importvariables/filter&quot;,
&quot;text&quot;: &quot;filter&quot;
},
&quot;$:/config/flibbles/relink/attributes/$link/to&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/attributes/$link/to&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/attributes/$linkcatcher/set&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/attributes/$linkcatcher/set&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/attributes/$linkcatcher/to&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/attributes/$linkcatcher/to&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/attributes/$list/editTemplate&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/attributes/$list/editTemplate&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/attributes/$list/emptyMessage&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/attributes/$list/emptyMessage&quot;,
&quot;text&quot;: &quot;wikitext&quot;
},
&quot;$:/config/flibbles/relink/attributes/$list/filter&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/attributes/$list/filter&quot;,
&quot;text&quot;: &quot;filter&quot;
},
&quot;$:/config/flibbles/relink/attributes/$list/history&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/attributes/$list/history&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/attributes/$list/template&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/attributes/$list/template&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/attributes/$navigator/history&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/attributes/$navigator/history&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/attributes/$navigator/story&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/attributes/$navigator/story&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/attributes/$radio/tiddler&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/attributes/$radio/tiddler&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/attributes/$range/tiddler&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/attributes/$range/tiddler&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/attributes/$reveal/stateTitle&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/attributes/$reveal/stateTitle&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/attributes/$select/tiddler&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/attributes/$select/tiddler&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/attributes/$set/filter&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/attributes/$set/filter&quot;,
&quot;text&quot;: &quot;filter&quot;
},
&quot;$:/config/flibbles/relink/attributes/$set/subtiddler&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/attributes/$set/subtiddler&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/attributes/$set/tiddler&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/attributes/$set/tiddler&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/attributes/$setvariable/filter&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/attributes/$setvariable/filter&quot;,
&quot;text&quot;: &quot;filter&quot;
},
&quot;$:/config/flibbles/relink/attributes/$setvariable/subtiddler&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/attributes/$setvariable/subtiddler&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/attributes/$setvariable/tiddler&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/attributes/$setvariable/tiddler&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/attributes/$tiddler/tiddler&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/attributes/$tiddler/tiddler&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/attributes/$transclude/subtiddler&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/attributes/$transclude/subtiddler&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/attributes/$transclude/tiddler&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/attributes/$transclude/tiddler&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/attributes/$view/subtiddler&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/attributes/$view/subtiddler&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/attributes/$view/tiddler&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/attributes/$view/tiddler&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/fields/caption&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/fields/caption&quot;,
&quot;text&quot;: &quot;wikitext&quot;
},
&quot;$:/config/flibbles/relink/fields/filter&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/fields/filter&quot;,
&quot;text&quot;: &quot;filter&quot;
},
&quot;$:/config/flibbles/relink/fields/list-after&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/fields/list-after&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/fields/list-before&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/fields/list-before&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/fields/list&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/fields/list&quot;,
&quot;text&quot;: &quot;list&quot;
},
&quot;$:/config/flibbles/relink/fields/tags&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/fields/tags&quot;,
&quot;text&quot;: &quot;list&quot;
},
&quot;$:/config/flibbles/relink/macros/csvtiddlers/filter&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/macros/csvtiddlers/filter&quot;,
&quot;text&quot;: &quot;filter&quot;
},
&quot;$:/config/flibbles/relink/macros/datauri/title&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/macros/datauri/title&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/macros/jsontiddler/title&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/macros/jsontiddler/title&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/macros/jsontiddlers/filter&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/macros/jsontiddlers/filter&quot;,
&quot;text&quot;: &quot;filter&quot;
},
&quot;$:/config/flibbles/relink/macros/list-links-draggable/itemTemplate&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/macros/list-links-draggable/itemTemplate&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/macros/list-links-draggable/tiddler&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/macros/list-links-draggable/tiddler&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/macros/list-links/filter&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/macros/list-links/filter&quot;,
&quot;text&quot;: &quot;filter&quot;
},
&quot;$:/config/flibbles/relink/macros/list-tagged-draggable/itemTemplate&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/macros/list-tagged-draggable/itemTemplate&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/macros/list-tagged-draggable/tag&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/macros/list-tagged-draggable/tag&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/macros/tabs/buttonTemplate&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/macros/tabs/buttonTemplate&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/macros/tabs/default&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/macros/tabs/default&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/macros/tabs/tabsList&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/macros/tabs/tabsList&quot;,
&quot;text&quot;: &quot;filter&quot;
},
&quot;$:/config/flibbles/relink/macros/tabs/template&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/macros/tabs/template&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/macros/tag-pill/tag&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/macros/tag-pill/tag&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/macros/tag/tag&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/macros/tag/tag&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/macros/timeline/subfilter&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/macros/timeline/subfilter&quot;,
&quot;text&quot;: &quot;filter&quot;
},
&quot;$:/config/flibbles/relink/macros/toc-expandable/exclude&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/macros/toc-expandable/exclude&quot;,
&quot;text&quot;: &quot;list&quot;
},
&quot;$:/config/flibbles/relink/macros/toc-expandable/itemClassFilter&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/macros/toc-expandable/itemClassFilter&quot;,
&quot;text&quot;: &quot;filter&quot;
},
&quot;$:/config/flibbles/relink/macros/toc-expandable/tag&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/macros/toc-expandable/tag&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/macros/toc-selective-expandable/exclude&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/macros/toc-selective-expandable/exclude&quot;,
&quot;text&quot;: &quot;list&quot;
},
&quot;$:/config/flibbles/relink/macros/toc-selective-expandable/itemClassFilter&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/macros/toc-selective-expandable/itemClassFilter&quot;,
&quot;text&quot;: &quot;filter&quot;
},
&quot;$:/config/flibbles/relink/macros/toc-selective-expandable/tag&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/macros/toc-selective-expandable/tag&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/macros/toc-tabbed-external-nav/missingText&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/macros/toc-tabbed-external-nav/missingText&quot;,
&quot;text&quot;: &quot;wikitext&quot;
},
&quot;$:/config/flibbles/relink/macros/toc-tabbed-external-nav/selectedTiddler&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/macros/toc-tabbed-external-nav/selectedTiddler&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/macros/toc-tabbed-external-nav/tag&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/macros/toc-tabbed-external-nav/tag&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/macros/toc-tabbed-external-nav/template&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/macros/toc-tabbed-external-nav/template&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/macros/toc-tabbed-external-nav/unselectedText&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/macros/toc-tabbed-external-nav/unselectedText&quot;,
&quot;text&quot;: &quot;wikitext&quot;
},
&quot;$:/config/flibbles/relink/macros/toc-tabbed-internal-nav/missingText&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/macros/toc-tabbed-internal-nav/missingText&quot;,
&quot;text&quot;: &quot;wikitext&quot;
},
&quot;$:/config/flibbles/relink/macros/toc-tabbed-internal-nav/selectedTiddler&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/macros/toc-tabbed-internal-nav/selectedTiddler&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/macros/toc-tabbed-internal-nav/tag&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/macros/toc-tabbed-internal-nav/tag&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/macros/toc-tabbed-internal-nav/template&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/macros/toc-tabbed-internal-nav/template&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/macros/toc-tabbed-internal-nav/unselectedText&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/macros/toc-tabbed-internal-nav/unselectedText&quot;,
&quot;text&quot;: &quot;wikitext&quot;
},
&quot;$:/config/flibbles/relink/macros/toc/itemClassFilter&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/macros/toc/itemClassFilter&quot;,
&quot;text&quot;: &quot;filter&quot;
},
&quot;$:/config/flibbles/relink/macros/toc/tag&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/macros/toc/tag&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/operators/field:title&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/operators/field:title&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/operators/list&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/operators/list&quot;,
&quot;text&quot;: &quot;reference&quot;
},
&quot;$:/config/flibbles/relink/operators/tag&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/operators/tag&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/operators/title&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/operators/title&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/config/flibbles/relink/settings/default-type&quot;: {
&quot;title&quot;: &quot;$:/config/flibbles/relink/settings/default-type&quot;,
&quot;text&quot;: &quot;title&quot;
},
&quot;$:/core/ui/EditTemplate/title&quot;: {
&quot;title&quot;: &quot;$:/core/ui/EditTemplate/title&quot;,
&quot;tags&quot;: &quot;$:/tags/EditTemplate&quot;,
&quot;text&quot;: &quot;&lt;$edit-text field=\&quot;draft.title\&quot; class=\&quot;tc-titlebar tc-edit-texteditor\&quot; focus=\&quot;true\&quot; tabindex={{$:/config/EditTabIndex}}/&gt;\n\n&lt;$reveal state=\&quot;!!draft.title\&quot; type=\&quot;nomatch\&quot; text={{!!draft.of}} tag=\&quot;div\&quot;&gt;\n\n&lt;$vars pattern=\&quot;\&quot;\&quot;[\\|\\[\\]{}]\&quot;\&quot;\&quot; bad-chars=\&quot;\&quot;\&quot;`| [ ] { }`\&quot;\&quot;\&quot;&gt;\n\n&lt;$list filter=\&quot;[all[current]regexp:draft.title&lt;pattern&gt;]\&quot; variable=\&quot;listItem\&quot;&gt;\n\n&lt;div class=\&quot;tc-message-box\&quot;&gt;\n\n{{$:/core/images/warning}} {{$:/language/EditTemplate/Title/BadCharacterWarning}}\n\n&lt;/div&gt;\n\n&lt;/$list&gt;\n\n&lt;/$vars&gt;\n\n&lt;$list filter=\&quot;[{!!draft.title}!is[missing]]\&quot; variable=\&quot;listItem\&quot;&gt;\n\n&lt;div class=\&quot;tc-message-box\&quot;&gt;\n\n{{$:/core/images/warning}} {{$:/language/EditTemplate/Title/Exists/Prompt}}\n\n&lt;/div&gt;\n\n&lt;/$list&gt;\n\n&lt;$list filter=\&quot;[{!!draft.of}!is[missing]]\&quot; variable=\&quot;listItem\&quot;&gt;\n\n&lt;$vars fromTitle={{!!draft.of}} toTitle={{!!draft.title}}&gt;\n\n&lt;$checkbox tiddler=\&quot;$:/config/RelinkOnRename\&quot; field=\&quot;text\&quot; checked=\&quot;yes\&quot; unchecked=\&quot;no\&quot; default=\&quot;no\&quot;&gt; {{$:/language/EditTemplate/Title/Relink/Prompt}}&lt;/$checkbox&gt;\n\n&lt;$tiddler tiddler=&lt;&lt;fromTitle&gt;&gt; &gt;\n\n&lt;$list filter=\&quot;[relink:wouldchange&lt;toTitle&gt;limit[1]]\&quot; variable=\&quot;listItem\&quot;&gt;\n\n&lt;$vars stateTiddler=&lt;&lt;qualify \&quot;$:/state/edit/references\&quot;&gt;&gt; &gt;\n\n&lt;$set\n\tname=\&quot;prompt\&quot;\n\tfilter=\&quot;[relink:wouldchange&lt;toTitle&gt;relink:impossible&lt;toTitle&gt;]\&quot;\n\tvalue=\&quot;EditTemplate/Title/Impossibles/Prompt\&quot;\n\temptyValue=\&quot;EditTemplate/Title/References/Prompt\&quot; &gt;\n&lt;$reveal type=\&quot;nomatch\&quot; state=&lt;&lt;stateTiddler&gt;&gt; text=\&quot;show\&quot;&gt;\n&lt;$button set=&lt;&lt;stateTiddler&gt;&gt; setTo=\&quot;show\&quot; class=\&quot;tc-btn-invisible\&quot;&gt;{{$:/core/images/right-arrow}}\n&lt;$macrocall $name=lingo title=&lt;&lt;prompt&gt;&gt; /&gt;\n&lt;/$button&gt;\n&lt;/$reveal&gt;\n&lt;$reveal type=\&quot;match\&quot; state=&lt;&lt;stateTiddler&gt;&gt; text=\&quot;show\&quot;&gt;\n&lt;$button set=&lt;&lt;stateTiddler&gt;&gt; setTo=\&quot;hide\&quot; class=\&quot;tc-btn-invisible\&quot;&gt;{{$:/core/images/down-arrow}}\n&lt;$macrocall $name=lingo title=&lt;&lt;prompt&gt;&gt; /&gt;\n&lt;/$button&gt;\n&lt;/$reveal&gt;\n&lt;/$set&gt;\n\n&lt;$reveal type=\&quot;match\&quot; state=&lt;&lt;stateTiddler&gt;&gt; text=\&quot;show\&quot;&gt;\n&lt;$list variable=\&quot;listItem\&quot; filter=\&quot;[relink:wouldchange&lt;toTitle&gt;!title[$:/StoryList]sort[title]]\&quot; template=\&quot;$:/plugins/flibbles/relink/ui/ListItemTemplate\&quot;&gt;\n&lt;/$list&gt;\n&lt;/$reveal&gt;\n\n&lt;/$vars&gt;\n\n&lt;/$list&gt;\n\n&lt;/$tiddler&gt;\n\n&lt;/$vars&gt;\n\n&lt;/$list&gt;\n\n&lt;/$reveal&gt;\n&quot;
},
&quot;$:/language/EditTemplate/Title/Impossibles/Prompt&quot;: {
&quot;title&quot;: &quot;$:/language/EditTemplate/Title/Impossibles/Prompt&quot;,
&quot;text&quot;: &quot;''Warning:'' Not all references in the following tiddlers can be updated by //Relink// due to the complexity of the new title:&quot;
},
&quot;$:/language/EditTemplate/Title/References/Prompt&quot;: {
&quot;title&quot;: &quot;$:/language/EditTemplate/Title/References/Prompt&quot;,
&quot;text&quot;: &quot;The following tiddlers will be updated if relinking:&quot;
},
&quot;$:/language/EditTemplate/Title/Relink/Prompt&quot;: {
&quot;title&quot;: &quot;$:/language/EditTemplate/Title/Relink/Prompt&quot;,
&quot;text&quot;: &quot;Use //Relink// to update ''&lt;$text text=&lt;&lt;fromTitle&gt;&gt;/&gt;'' to ''&lt;$text text=&lt;&lt;toTitle&gt;&gt;/&gt;'' across all other tiddlers&quot;
},
&quot;$:/plugins/flibbles/relink/configuration&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/configuration&quot;,
&quot;text&quot;: &quot;&lt;div class=\&quot;tc-control-panel\&quot;&gt;\n&lt;&lt;tabs \&quot;[all[shadows+tiddlers]tag[$:/tags/flibbles/relink/Configuration]!has[draft.of]]\&quot; \&quot;$:/plugins/flibbles/relink/ui/configuration/Fields\&quot;&gt;&gt;\n&lt;/div&gt;\n&quot;
},
&quot;$:/plugins/flibbles/relink/js/bulkops.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/js/bulkops.js&quot;,
&quot;text&quot;: &quot;/*\\\nmodule-type: startup\n\nReplaces the relinkTiddler defined in $:/core/modules/wiki-bulkops.js\n\nThis is a startup instead of a wikimethods module-type because it's the only\nway to ensure this runs after the old relinkTiddler method is applied.\n\n\\*/\n(function(){\n\n/*jslint node: false, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar language = require('$:/plugins/flibbles/relink/js/language.js');\nvar utils = require(\&quot;$:/plugins/flibbles/relink/js/utils.js\&quot;);\n\nexports.name = \&quot;redefine-relinkTiddler\&quot;;\nexports.synchronous = true;\n// load-modules is when wikimethods are applied in\n// ``$:/core/modules/startup/load-modules.js``\nexports.after = ['load-modules'];\n\nexports.startup = function() {\n\t$tw.Wiki.prototype.relinkTiddler = relinkTiddler;\n};\n\n/** Walks through all relinkable tiddlers and relinks them.\n * This replaces the existing function in core Tiddlywiki.\n */\nfunction relinkTiddler(fromTitle, toTitle, options) {\n\toptions = options || {};\n\tvar failures = [];\n\tvar indexer = utils.getIndexer(this);\n\tvar records = indexer.relinkLookup(fromTitle, toTitle, options);\n\tfor (var title in records) {\n\t\tvar entries = records[title],\n\t\t\tchanges = Object.create(null),\n\t\t\tupdate = false,\n\t\t\tfails = false;\n\t\tfor (var field in entries) {\n\t\t\tvar entry = entries[field];\n\t\t\tfails = fails || entry.impossible;\n\t\t\tif (entry.output) {\n\t\t\t\tchanges[field] = entry.output;\n\t\t\t\tupdate = true;\n\t\t\t}\n\t\t}\n\t\tif (fails) {\n\t\t\tfailures.push(title);\n\t\t}\n\t\t// If any fields changed, update tiddler\n\t\tif (update) {\n\t\t\tconsole.log(\&quot;Renaming '\&quot;+fromTitle+\&quot;' to '\&quot;+toTitle+\&quot;' in '\&quot; + title + \&quot;'\&quot;);\n\n\t\t\tvar tiddler = this.getTiddler(title);\n\t\t\tvar newTiddler = new $tw.Tiddler(tiddler,changes,this.getModificationFields())\n\t\t\tnewTiddler = $tw.hooks.invokeHook(\&quot;th-relinking-tiddler\&quot;,newTiddler,tiddler);\n\t\t\tthis.addTiddler(newTiddler);\n\t\t\t// If the title changed, we need to perform a nested rename\n\t\t\tif (newTiddler.fields.title !== title) {\n\t\t\t\tthis.deleteTiddler(title);\n\t\t\t\tthis.relinkTiddler(title, newTiddler.fields.title,options);\n\t\t\t}\n\t\t}\n\t};\n\tif (failures.length &gt; 0) {\n\t\tvar options = $tw.utils.extend(\n\t\t\t{ variables: {to: toTitle, from: fromTitle},\n\t\t\t wiki: this},\n\t\t\toptions );\n\t\tlanguage.reportFailures(failures, options);\n\t}\n};\n\n})();\n&quot;,
&quot;module-type&quot;: &quot;startup&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/plugins/flibbles/relink/js/contexts/context.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/js/contexts/context.js&quot;,
&quot;text&quot;: &quot;/*\\\n\nBase class for relink contexts.\n\n\\*/\n\nfunction Context() {\n};\n\nexports.context = Context;\n\n// This class does no special handling of fields, operators, or attributes.\n// we pass it along to the parent.\nContext.prototype.getFields = function() {\n\treturn this.parent.getFields();\n};\n\nContext.prototype.getOperator = function(name, index) {\n\treturn this.parent.getOperator(name, index);\n};\n\nContext.prototype.getOperators = function() {\n\treturn this.parent.getOperators();\n};\n\nContext.prototype.getAttribute = function(elementName) {\n\treturn this.parent.getAttribute(elementName);\n};\n\nContext.prototype.getAttributes = function() {\n\treturn this.parent.getAttributes();\n};\n\nContext.prototype.getMacro = function(macroName) {\n\treturn this.parent.getMacro(macroName);\n};\n\nContext.prototype.getMacros = function() {\n\treturn this.parent.getMacros();\n};\n\nContext.prototype.allowPrettylinks = function() {\n\treturn this.parent.allowPrettylinks();\n};\n\nContext.prototype.allowWidgets = function() {\n\treturn this.parent.allowWidgets();\n};\n\nContext.prototype.hasImports = function(value) {\n\treturn this.parent.hasImports(value);\n};\n&quot;,
&quot;module-type&quot;: &quot;relinkcontext&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/plugins/flibbles/relink/js/contexts/import.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/js/contexts/import.js&quot;,
&quot;text&quot;: &quot;/*\\\n\nThis handles the fetching and distribution of relink settings.\n\n\\*/\n\nvar WidgetContext = require('./widget').widget;\n\nfunction ImportContext(wiki, parent, filter) {\n\tthis.parent = parent;\n\tthis.wiki = wiki;\n\tvar importWidget = createImportWidget(filter, this.wiki, this.parent.widget);\n\tthis._compileList(importWidget.tiddlerList);\n\t// This only works if only one filter is imported\n\tthis.widget = this.getBottom(importWidget);\n\t// Trickle this up, so that any containing tiddlercontext knows that this\n\t// tiddler does some importing, and must be checked regularly.\n\tparent.hasImports(true);\n};\n\nexports.import = ImportContext;\n\nImportContext.prototype = new WidgetContext();\n\nImportContext.prototype.changed = function(changes) {\n\treturn this.widget &amp;&amp; this.widget.refresh(changes)\n};\n\nfunction createImportWidget(filter, wiki, parent) {\n\tvar widget = wiki.makeWidget( { tree: [{\n\t\ttype: \&quot;importvariables\&quot;,\n\t\tattributes: {\n\t\t\t\&quot;filter\&quot;: {\n\t\t\t\ttype: \&quot;string\&quot;,\n\t\t\t\tvalue: filter\n\t\t\t}\n\t\t}\n\t}] }, { parentWidget: parent} );\n\tif (parent) {\n\t\tparent.children.push(widget);\n\t}\n\twidget.execute();\n\twidget.renderChildren();\n\tvar importWidget = widget.children[0];\n\treturn importWidget;\n};\n\nImportContext.prototype._compileList = function(titleList) {\n\tfor (var i = 0; i &lt; titleList.length; i++) {\n\t\tvar parser = this.wiki.parseTiddler(titleList[i]);\n\t\tif (parser) {\n\t\t\tvar parseTreeNode = parser.tree[0];\n\t\t\twhile (parseTreeNode &amp;&amp; parseTreeNode.type === \&quot;set\&quot;) {\n\t\t\t\tif (parseTreeNode.relink) {\n\t\t\t\t\tfor (var macroName in parseTreeNode.relink) {\n\t\t\t\t\t\tvar parameters = parseTreeNode.relink[macroName];\n\t\t\t\t\t\tfor (paramName in parameters) {\n\t\t\t\t\t\t\tthis.addSetting(this.wiki, macroName, paramName, parameters[paramName], titleList[i]);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tparseTreeNode = parseTreeNode.children &amp;&amp; parseTreeNode.children[0];\n\t\t\t}\n\t\t}\n\t}\n};\n&quot;,
&quot;module-type&quot;: &quot;relinkcontext&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/plugins/flibbles/relink/js/contexts/tiddler.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/js/contexts/tiddler.js&quot;,
&quot;text&quot;: &quot;/*\\\n\nContext for a tiddler. Defines nothing but makes an entry point to test if\na tiddler must be refreshed.\n\n\\*/\n\nvar WidgetContext = require('./widget.js').widget;\n\nfunction TiddlerContext(wiki, parentContext, title) {\n\tthis.title = title;\n\tthis.parent = parentContext;\n\tvar globalWidget = parentContext &amp;&amp; parentContext.widget;\n\tvar parentWidget = wiki.makeWidget(null, {parentWidget: globalWidget});\n\tparentWidget.setVariable('currentTiddler', title);\n\tthis.widget = wiki.makeWidget(null, {parentWidget: parentWidget});\n};\n\nexports.tiddler = TiddlerContext;\n\nTiddlerContext.prototype = new WidgetContext();\n\nTiddlerContext.prototype.changed = function(changes) {\n\treturn this.widget &amp;&amp; this.widget.refresh(changes);\n};\n\n// By default, a tiddler context does not use imports, unless an import\n// statement is later discovered somewhere in the fields.\nTiddlerContext.prototype.hasImports = function(value) {\n\treturn this._hasImports || (this._hasImports = value);\n};\n&quot;,
&quot;module-type&quot;: &quot;relinkcontext&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/plugins/flibbles/relink/js/contexts/variable.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/js/contexts/variable.js&quot;,
&quot;text&quot;: &quot;/*\\\n\nThis handles the context for variables. Either from $set, $vars, or \\define\n\n\\*/\n\nvar WidgetContext = require('./widget').widget;\n\nfunction VariableContext(parent, setParseTreeNode) {\n\tthis.parent = parent;\n\t// Now create a new widget and attach it.\n\tvar attachPoint = parent.widget;\n\tvar setWidget = attachPoint.makeChildWidget(setParseTreeNode);\n\tattachPoint.children.push(setWidget);\n\tsetWidget.computeAttributes();\n\tsetWidget.execute();\n\t// point our widget to bottom, where any other contexts would attach to\n\tthis.widget = this.getBottom(setWidget);\n};\n\nexports.variable = VariableContext;\n\nVariableContext.prototype = new WidgetContext();\n&quot;,
&quot;module-type&quot;: &quot;relinkcontext&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/plugins/flibbles/relink/js/contexts/whitelist.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/js/contexts/whitelist.js&quot;,
&quot;text&quot;: &quot;/*\\\n\nThis top-level context manages settings inside the whitelist. It never has\na parent.\n\n\\*/\n\nvar utils = require('../utils');\nvar Context = require('./context').context;\n\nvar prefix = \&quot;$:/config/flibbles/relink/\&quot;;\n\nfunction WhitelistContext(wiki) {\n\tbuild(this, wiki);\n};\n\nexports.whitelist = WhitelistContext;\n\nWhitelistContext.prototype = new Context();\n\n/**Hot directories are directories for which if anything changes inside them,\n * then Relink must completely rebuild its index.\n * By default, this includes the whitelist settings, but relink-titles also\n * includes its rules disabling directory.\n * This is the FIRST solution I came up with to this problem. If you're\n * looking at this, please make a github issue so I have a chance to understand\n * your needs. This is currently a HACK solution.\n */\nWhitelistContext.hotDirectories = [prefix];\n\nWhitelistContext.prototype.getAttribute = function(elementName) {\n\treturn this.attributes[elementName];\n};\n\nWhitelistContext.prototype.getAttributes = function() {\n\treturn flatten(this.attributes);\n};\n\nWhitelistContext.prototype.getFields = function() {\n\treturn this.fields;\n};\n\nWhitelistContext.prototype.getOperator = function(operatorName, operandIndex) {\n\tvar op = this.operators[operatorName];\n\treturn op &amp;&amp; op[operandIndex || 1];\n};\n\nWhitelistContext.prototype.getOperators = function() {\n\tvar signatures = Object.create(null);\n\tfor (var op in this.operators) {\n\t\tvar operandSet = this.operators[op];\n\t\tfor (var index in operandSet) {\n\t\t\tvar entry = operandSet[index];\n\t\t\tsignatures[entry.key] = entry;\n\t\t}\n\t}\n\treturn signatures;\n};\n\nWhitelistContext.prototype.getMacro = function(macroName) {\n\treturn this.macros[macroName];\n};\n\nWhitelistContext.prototype.getMacros = function() {\n\treturn flatten(this.macros);\n};\n\nWhitelistContext.prototype.changed = function(changedTiddlers) {\n\tfor (var i = 0; i &lt; WhitelistContext.hotDirectories.length; i++) {\n\t\tvar dir = WhitelistContext.hotDirectories[i];\n\t\tfor (var title in changedTiddlers) {\n\t\t\tif (title.substr(0, dir.length) === dir) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t}\n\treturn false;\n};\n\nWhitelistContext.prototype.hasImports = function(value) {\n\t// We don't care if imports are used. This is the global level.\n\treturn false;\n};\n\n/**Factories define methods that create settings given config tiddlers.\n * for factory method 'example', it will be called once for each:\n * \&quot;$:/config/flibbles/relink/example/...\&quot; tiddler that exists.\n * the argument \&quot;key\&quot; will be set to the contents of \&quot;...\&quot;\n *\n * The reason I build relink settings in this convoluted way is to minimize\n * the number of times tiddlywiki has to run through EVERY tiddler looking\n * for relink config tiddlers.\n *\n * Also, by exporting \&quot;factories\&quot;, anyone who extends relink can patch in\n * their own factory methods to create settings that are generated exactly\n * once per rename.\n */\nvar factories = {\n\tattributes: function(attributes, data, key) {\n\t\tvar elem = root(key);\n\t\tvar attr = key.substr(elem.length+1);\n\t\tattributes[elem] = attributes[elem] || Object.create(null);\n\t\tattributes[elem][attr] = data;\n\t},\n\tfields: function(fields, data, name) {\n\t\tfields[name] = data;\n\t},\n\tmacros: function(macros, data, key) {\n\t\t// We take the last index, not the first, because macro\n\t\t// parameters can't have slashes, but macroNames can.\n\t\tvar name = dir(key);\n\t\tvar arg = key.substr(name.length+1);\n\t\tmacros[name] = macros[name] || Object.create(null);\n\t\tmacros[name][arg] = data;\n\t},\n\toperators: function(operators, data, key) {\n\t\t// We take the last index, not the first, because the operator\n\t\t// may have a slash to indicate parameter number\n\t\tvar pair = key.split('/');\n\t\tvar name = pair[0];\n\t\tdata.key = key;\n\t\toperators[name] = operators[name] || Object.create(null);\n\t\toperators[name][pair[1] || 1]
&quot;module-type&quot;: &quot;relinkcontext&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/plugins/flibbles/relink/js/contexts/widget.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/js/contexts/widget.js&quot;,
&quot;text&quot;: &quot;/*\\\n\nThis is a virtual subclass of context for contexts that exist within widgets\nof a specific tiddler.\n\nAll widget contexts must have a widget member.\n\n\\*/\n\nvar Context = require('./context.js').context;\nvar utils = require('$:/plugins/flibbles/relink/js/utils.js');\n\nfunction WidgetContext() {};\n\nexports.widget = WidgetContext;\n\nWidgetContext.prototype = new Context();\n\nWidgetContext.prototype.getMacroDefinition = function(variableName) {\n\t// widget.variables is prototyped, so it looks up into all its parents too\n\treturn this.widget.variables[variableName] || $tw.macros[variableName];\n};\n\nWidgetContext.prototype.addSetting = function(wiki, macroName, parameter, type, sourceTitle) {\n\tthis.macros = this.macros || Object.create(null);\n\tvar macro = this.macros[macroName];\n\ttype = type || utils.getDefaultType(wiki);\n\tif (macro === undefined) {\n\t\tmacro = this.macros[macroName] = Object.create(null);\n\t}\n\tvar handler = utils.getType(type);\n\tif (handler) {\n\t\thandler.source = sourceTitle;\n\t\t// We attach the fields of the defining tiddler for the benefit\n\t\t// of any 3rd party field types that want access to them.\n\t\tvar tiddler = wiki.getTiddler(sourceTitle);\n\t\thandler.fields = tiddler.fields;\n\t\tmacro[parameter] = handler;\n\t}\n};\n\nWidgetContext.prototype.getMacros = function() {\n\tvar signatures = this.parent.getMacros();\n\tif (this.macros) {\n\t\tfor (var macroName in this.macros) {\n\t\t\tvar macro = this.macros[macroName];\n\t\t\tfor (var param in macro) {\n\t\t\t\tsignatures[macroName + \&quot;/\&quot; + param] = macro[param];\n\t\t\t}\n\t\t}\n\t}\n\treturn signatures;\n};\n\n/**This does strange handling because it's possible for a macro to have\n * its individual parameters whitelisted in separate places.\n * Don't know WHY someone would do this, but it can happen.\n */\nWidgetContext.prototype.getMacro = function(macroName) {\n\tvar theseSettings = this.macros &amp;&amp; this.macros[macroName];\n\tvar parentSettings;\n\tif (this.parent) {\n\t\tparentSettings = this.parent.getMacro(macroName);\n\t}\n\tif (theseSettings &amp;&amp; parentSettings) {\n\t\t// gotta merge them without changing either. This is expensive,\n\t\t// but it'll happen rarely.\n\t\tvar rtnSettings = $tw.utils.extend(Object.create(null), theseSettings, parentSettings);\n\t\treturn rtnSettings;\n\t}\n\treturn theseSettings || parentSettings;\n};\n\n/**Returns the deepest descendant of the given widget.\n */\nWidgetContext.prototype.getBottom = function(widget) {\n\twhile (widget.children.length &gt; 0) {\n\t\twidget = widget.children[0];\n\t}\n\treturn widget;\n};\n&quot;,
&quot;module-type&quot;: &quot;relinkcontext&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/plugins/flibbles/relink/js/contexts/wikitext.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/js/contexts/wikitext.js&quot;,
&quot;text&quot;: &quot;/*\\\n\nContext for wikitext. It can contain rules about what's allowed in this\ncurrent layer of wikitext.\n\n\\*/\n\nvar WidgetContext = require('./widget.js').widget;\n\nfunction WikitextContext(parentContext) {\n\tthis.parent = parentContext;\n\tthis.widget = parentContext.widget;\n};\n\nexports.wikitext = WikitextContext;\n\nWikitextContext.prototype = new WidgetContext();\n\n// Unless this specific context has rules about it, widgets and prettyLInks are allowed.\nWikitextContext.prototype.allowWidgets = enabled;\nWikitextContext.prototype.allowPrettylinks = enabled;\n\nfunction enabled() { return true; };\n&quot;,
&quot;module-type&quot;: &quot;relinkcontext&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/plugins/flibbles/relink/js/fieldtypes/filter.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/js/fieldtypes/filter.js&quot;,
&quot;text&quot;: &quot;/*\\\nThis specifies logic for updating filters to reflect title changes.\n\\*/\n\nvar refHandler = require(\&quot;$:/plugins/flibbles/relink/js/fieldtypes/reference\&quot;);\nvar Rebuilder = require(\&quot;$:/plugins/flibbles/relink/js/utils/rebuilder\&quot;);\n\nexports.name = \&quot;filter\&quot;;\n\nexports.report = function(filter, callback, options) {\n\t// I cheat here for now. Relink handles reporting too in cases where\n\t// fromTitle is undefined. toTitle is the callback in those cases.\n\texports.relink(filter, undefined, callback, options);\n};\n\n/**Returns undefined if no change was made.\n */\nexports.relink = function(filter, fromTitle, toTitle, options) {\n\tvar relinker = new Rebuilder(filter),\n\t\tp = 0, // Current position in the filter string\n\t\tmatch, noPrecedingWordBarrier,\n\t\twordBarrierRequired=false;\n\tvar whitespaceRegExp = /\\s+/mg,\n\t\toperandRegExp = /((?:\\+|\\-|~|=|\\:\\w+)?)(?:(\\[)|(?:\&quot;([^\&quot;]*)\&quot;)|(?:'([^']*)')|([^\\s\\[\\]]+))/mg,\n\t\tblurbs = [];\n\twhile(p &lt; filter.length) {\n\t\t// Skip any whitespace\n\t\twhitespaceRegExp.lastIndex = p;\n\t\tmatch = whitespaceRegExp.exec(filter);\n\t\tnoPrecedingWordBarrier = false;\n\t\tif(match &amp;&amp; match.index === p) {\n\t\t\tp = p + match[0].length;\n\t\t} else if (p != 0) {\n\t\t\tif (wordBarrierRequired) {\n\t\t\t\trelinker.add(' ', p, p);\n\t\t\t\twordBarrierRequired = false;\n\t\t\t} else {\n\t\t\t\tnoPrecedingWordBarrier = true;\n\t\t\t}\n\t\t}\n\t\t// Match the start of the operation\n\t\tif(p &lt; filter.length) {\n\t\t\tvar val;\n\t\t\toperandRegExp.lastIndex = p;\n\t\t\tmatch = operandRegExp.exec(filter);\n\t\t\tif(!match || match.index !== p) {\n\t\t\t\t// It's a bad filter\n\t\t\t\treturn undefined;\n\t\t\t}\n\t\t\tif(match[1]) { // prefix\n\t\t\t\tp += match[1].length;\n\t\t\t}\n\t\t\tif(match[2]) { // Opening square bracket\n\t\t\t\t// We check if this is a standalone title,\n\t\t\t\t// like `[[MyTitle]]`. We treat those like\n\t\t\t\t// `\&quot;MyTitle\&quot;` or `MyTitle`. Not like a run.\n\t\t\t\tvar standaloneTitle = /\\[\\[([^\\]]+)\\]\\]/g;\n\t\t\t\tstandaloneTitle.lastIndex = p;\n\t\t\t\tvar alone = standaloneTitle.exec(filter);\n\t\t\t\tif (!alone || alone.index != p) {\n\t\t\t\t\tif (fromTitle === undefined) {\n\t\t\t\t\t\t// toTitle is a callback method in this case.\n\t\t\t\t\t\tp =reportFilterOperation(filter, function(title, blurb){\n\t\t\t\t\t\t\tif (match[1]) {\n\t\t\t\t\t\t\t\tblurbs.push([title, match[1] + (blurb || '')]);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tblurbs.push([title, blurb]);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t},p,options.settings,options);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tp =relinkFilterOperation(relinker,fromTitle,toTitle,filter,p,options.settings,options);\n\t\t\t\t\t}\n\t\t\t\t\t// It's a legit run\n\t\t\t\t\tif (p === undefined) {\n\t\t\t\t\t\t// The filter is malformed\n\t\t\t\t\t\t// We do nothing.\n\t\t\t\t\t\treturn undefined;\n\t\t\t\t\t}\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tbracketTitle = alone[1];\n\t\t\t\toperandRegExp.lastIndex = standaloneTitle.lastIndex;\n\t\t\t\tval = alone[1];\n\t\t\t} else {\n\t\t\t\t// standalone Double quoted string, single\n\t\t\t\t// quoted string, or noquote ahead.\n\t\t\t\tval = match[3] || match[4] || match[5];\n\t\t\t}\n\t\t\t// From here on, we're dealing with a standalone title\n\t\t\t// expression. like `\&quot;MyTitle\&quot;` or `[[MyTitle]]`\n\t\t\t// We're much more flexible about relinking these.\n\t\t\tvar preference = undefined;\n\t\t\tif (match[3]) {\n\t\t\t\tpreference = '\&quot;';\n\t\t\t} else if (match[4]) {\n\t\t\t\tpreference = \&quot;'\&quot;;\n\t\t\t} else if (match[5]) {\n\t\t\t\tpreference = '';\n\t\t\t}\n\t\t\tif (fromTitle === undefined) {\n\t\t\t\t// Report it\n\t\t\t\tblurbs.push([val, match[1]]);\n\t\t\t} else if (val === fromTitle) {\n\t\t\t\t// Relink it\n\t\t\t\tvar entry = {name: \&quot;title\&quot;};\n\t\t\t\tvar newVal = wrapTitle(toTitle, preference);\n\t\t\t\tif (newVal === undefined || (options.inBraces &amp;&amp; newVal.indexOf('}}}') &gt;= 0)) {\n\t\t\t\
&quot;module-type&quot;: &quot;relinkfieldtype&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/plugins/flibbles/relink/js/fieldtypes/list.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/js/fieldtypes/list.js&quot;,
&quot;text&quot;: &quot;/*\\\nThis manages replacing titles that occur within stringLists, like,\n\nTiddlerA [[Tiddler with spaces]] [[Another Title]]\n\\*/\n\nexports.name = \&quot;list\&quot;;\n\nexports.report = function(value, callback, options) {\n\tvar list = $tw.utils.parseStringArray(value);\n\tfor (var i = 0; i &lt; list.length; i++) {\n\t\tcallback(list[i]);\n\t}\n};\n\n/**Returns undefined if no change was made.\n * Parameter: value can literally be a list. This can happen for builtin\n * types 'list' and 'tag'. In those cases, we also return list.\n */\nexports.relink = function(value, fromTitle, toTitle, options) {\n\tvar isModified = false,\n\t\tactualList = false,\n\t\tlist;\n\tif (typeof value !== \&quot;string\&quot;) {\n\t\t// Not a string. Must be a list.\n\t\t// clone it, since we may make changes to this possibly\n\t\t// frozen list.\n\t\tlist = (value || []).slice(0);\n\t\tactualList = true;\n\t} else {\n\t\tlist = $tw.utils.parseStringArray(value || \&quot;\&quot;);\n\t}\n\t$tw.utils.each(list,function (title,index) {\n\t\tif(title === fromTitle) {\n\t\t\tlist[index] = toTitle;\n\t\t\tisModified = true;\n\t\t}\n\t});\n\tif (isModified) {\n\t\tvar entry = {name: \&quot;list\&quot;};\n\t\t// It doesn't parse correctly alone, it won't\n\t\t// parse correctly in any list.\n\t\tif (!canBeListItem(toTitle)) {\n\t\t\tentry.impossible = true;\n\t\t} else if (actualList) {\n\t\t\tentry.output = list;\n\t\t} else {\n\t\t\tentry.output = $tw.utils.stringifyList(list);\n\t\t}\n\t\treturn entry;\n\t}\n\treturn undefined;\n};\n\nfunction canBeListItem(value) {\n\tvar regexp = /\\]\\][^\\S\\xA0]/m;\n\treturn !regexp.test(value);\n};\n&quot;,
&quot;module-type&quot;: &quot;relinkfieldtype&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/plugins/flibbles/relink/js/fieldtypes/reference.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/js/fieldtypes/reference.js&quot;,
&quot;text&quot;: &quot;/*\\\nThis manages replacing titles that occur inside text references,\n\ntiddlerTitle\ntiddlerTitle!!field\n!!field\ntiddlerTitle##propertyIndex\n\\*/\n\nexports.name = \&quot;reference\&quot;;\n\nexports.report = function(value, callback, options) {\n\tif (value) {\n\t\tvar reference = $tw.utils.parseTextReference(value),\n\t\t\ttitle = reference.title,\n\t\t\tblurb;\n\t\tif (title) {\n\t\t\tif (reference.field) {\n\t\t\t\tblurb = '!!' + reference.field;\n\t\t\t} else if (reference.index) {\n\t\t\t\tblurb = '##' + reference.index;\n\t\t\t}\n\t\t\tcallback(title, blurb);\n\t\t}\n\t}\n};\n\nexports.relink = function(value, fromTitle, toTitle, options) {\n\tvar entry;\n\tif (value) {\n\t\tvar reference = $tw.utils.parseTextReference(value);\n\t\tif (reference.title === fromTitle) {\n\t\t\tif (!exports.canBePretty(toTitle)) {\n\t\t\t\tentry = {impossible: true};\n\t\t\t} else {\n\t\t\t\treference.title = toTitle;\n\t\t\t\tentry = {output: exports.toString(reference)};\n\t\t\t}\n\t\t}\n\t}\n\treturn entry;\n};\n\n/* Same as this.relink, except this has the added constraint that the return\n * value must be able to be wrapped in curly braces.\n */\nexports.relinkInBraces = function(value, fromTitle, toTitle, options) {\n\tvar log = this.relink(value, fromTitle, toTitle, options);\n\tif (log &amp;&amp; log.output &amp;&amp; toTitle.indexOf(\&quot;}\&quot;) &gt;= 0) {\n\t\tdelete log.output;\n\t\tlog.impossible = true;\n\t}\n\treturn log;\n};\n\nexports.toString = function(textReference) {\n\tvar title = textReference.title || '';\n\tif (textReference.field) {\n\t\treturn title + \&quot;!!\&quot; + textReference.field;\n\t} else if (textReference.index) {\n\t\treturn title + \&quot;##\&quot; + textReference.index;\n\t}\n\treturn title;\n};\n\nexports.canBePretty = function(title) {\n\treturn !title || (title.indexOf(\&quot;!!\&quot;) &lt; 0 &amp;&amp; title.indexOf(\&quot;##\&quot;) &lt; 0);\n};\n&quot;,
&quot;module-type&quot;: &quot;relinkfieldtype&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/plugins/flibbles/relink/js/fieldtypes/title.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/js/fieldtypes/title.js&quot;,
&quot;text&quot;: &quot;/*\\\nThis specifies logic for replacing a single-tiddler field. This is the\nsimplest kind of field type. One title swaps out for the other.\n\\*/\n\n// NOTE TO MODDERS: If you're making your own field types, the name must be\n// alpha characters only.\nexports.name = 'title';\n\nexports.report = function(value, callback, options) {\n\tcallback(value);\n};\n\n/**Returns undefined if no change was made.\n */\nexports.relink = function(value, fromTitle, toTitle, options) {\n\tif (value === fromTitle) {\n\t\treturn {output: toTitle};\n\t}\n\treturn undefined;\n};\n\n// This is legacy support for when 'title' was known as 'field'\nexports.aliases = ['field', 'yes'];\n&quot;,
&quot;module-type&quot;: &quot;relinkfieldtype&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/plugins/flibbles/relink/js/fieldtypes/wikitext.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/js/fieldtypes/wikitext.js&quot;,
&quot;text&quot;: &quot;/*\\\nThis specifies logic for updating filters to reflect title changes.\n\\*/\n\nexports.name = \&quot;wikitext\&quot;;\n\nvar type = 'text/vnd.tiddlywiki';\n\nvar WikiParser = require(\&quot;$:/core/modules/parsers/wikiparser/wikiparser.js\&quot;)[type];\nvar Rebuilder = require(\&quot;$:/plugins/flibbles/relink/js/utils/rebuilder.js\&quot;);\nvar utils = require('$:/plugins/flibbles/relink/js/utils');\nvar WikitextContext = utils.getContext('wikitext');\n\nfunction collectRules() {\n\tvar rules = Object.create(null);\n\t$tw.modules.forEachModuleOfType(\&quot;relinkwikitextrule\&quot;, function(title, exports) {\n\t\tvar names = exports.name;\n\t\tif (typeof names === \&quot;string\&quot;) {\n\t\t\tnames = [names];\n\t\t}\n\t\tif (names !== undefined) {\n\t\t\tfor (var i = 0; i &lt; names.length; i++) {\n\t\t\t\trules[names[i]] = exports;\n\t\t\t}\n\t\t}\n\t});\n\treturn rules;\n}\n\nfunction WikiWalker(type, text, options) {\n\tthis.options = options;\n\tif (!this.relinkMethodsInjected) {\n\t\tvar rules = collectRules();\n\t\t$tw.utils.each([this.pragmaRuleClasses, this.blockRuleClasses, this.inlineRuleClasses], function(classList) {\n\t\t\tfor (var name in classList) {\n\t\t\t\tif (rules[name]) {\n\t\t\t\t\tdelete rules[name].name;\n\t\t\t\t\t$tw.utils.extend(classList[name].prototype, rules[name]);\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\tWikiWalker.prototype.relinkMethodsInjected = true;\n\t}\n\tthis.context = new WikitextContext(options.settings);\n\tWikiParser.call(this, type, text, options);\n};\n\nWikiWalker.prototype = Object.create(WikiParser.prototype);\n\nWikiWalker.prototype.parsePragmas = function() {\n\tvar entries = this.tree;\n\twhile (true) {\n\t\tthis.skipWhitespace();\n\t\tif (this.pos &gt;= this.sourceLength) {\n\t\t\tbreak;\n\t\t}\n\t\tvar nextMatch = this.findNextMatch(this.pragmaRules, this.pos);\n\t\tif (!nextMatch || nextMatch.matchIndex !== this.pos) {\n\t\t\tbreak;\n\t\t}\n\t\tentries.push.apply(entries, this.handleRule(nextMatch));\n\t}\n\treturn entries;\n};\n\nWikiWalker.prototype.parseInlineRunUnterminated = function(options) {\n\tvar entries = [];\n\tvar nextMatch = this.findNextMatch(this.inlineRules, this.pos);\n\twhile (this.pos &lt; this.sourceLength &amp;&amp; nextMatch) {\n\t\tif (nextMatch.matchIndex &gt; this.pos) {\n\t\t\tthis.pos = nextMatch.matchIndex;\n\t\t}\n\t\tentries.push.apply(entries, this.handleRule(nextMatch));\n\t\tnextMatch = this.findNextMatch(this.inlineRules, this.pos);\n\t}\n\tthis.pos = this.sourceLength;\n\treturn entries;\n};\n\nWikiWalker.prototype.parseInlineRunTerminated = function(terminatorRegExp,options) {\n\tvar entries = [];\n\toptions = options || {};\n\tterminatorRegExp.lastIndex = this.pos;\n\tvar terminatorMatch = terminatorRegExp.exec(this.source);\n\tvar inlineRuleMatch = this.findNextMatch(this.inlineRules,this.pos);\n\twhile(this.pos &lt; this.sourceLength &amp;&amp; (terminatorMatch || inlineRuleMatch)) {\n\t\tif (terminatorMatch) {\n\t\t\tif (!inlineRuleMatch || inlineRuleMatch.matchIndex &gt;= terminatorMatch.index) {\n\t\t\t\tthis.pos = terminatorMatch.index;\n\t\t\t\tif (options.eatTerminator) {\n\t\t\t\t\tthis.pos += terminatorMatch[0].length;\n\t\t\t\t}\n\t\t\t\treturn entries;\n\t\t\t}\n\t\t}\n\t\tif (inlineRuleMatch) {\n\t\t\tif (inlineRuleMatch.matchIndex &gt; this.pos) {\n\t\t\t\tthis.pos = inlineRuleMatch.matchIndex;\n\t\t\t}\n\t\t\tentries.push.apply(entries, this.handleRule(inlineRuleMatch));\n\t\t\tinlineRuleMatch = this.findNextMatch(this.inlineRules, this.pos);\n\t\t\tterminatorRegExp.lastIndex = this.pos;\n\t\t\tterminatorMatch = terminatorRegExp.exec(this.source);\n\t\t}\n\t}\n\tthis.pos = this.sourceLength;\n\treturn entries;\n\n};\n\nWikiWalker.prototype.parseBlock = function(terminatorRegExp) {\n\tvar terminatorRegExp = /(\\r?\\n\\r?\\n)/mg;\n\tthis.skipWhitespace();\n\tif (this.pos &gt;= this.sourceLength) {\n\t\treturn [];\n\t}\n\tvar nextMatch = this.findNextMatch(this.blockRules, this.pos);\n\tif(nextMatch &amp;&amp; nextMatch.matchIndex === this.pos) {\n\t\treturn this.handleRule(nextM
&quot;module-type&quot;: &quot;relinkfieldtype&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/plugins/flibbles/relink/js/filteroperators/all_relinkable.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/js/filteroperators/all_relinkable.js&quot;,
&quot;text&quot;: &quot;/*\\\nmodule-type: allfilteroperator\n\nFilter function for [all[relinkable]].\nReturns all tiddlers subject to relinking.\n\n\\*/\n\n(function() {\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.relinkable = function(source,prefix,options) {\n\treturn options.wiki.getRelinkableTitles();\n};\n\n})();\n&quot;,
&quot;module-type&quot;: &quot;allfilteroperator&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/plugins/flibbles/relink/js/filteroperators/references.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/js/filteroperators/references.js&quot;,
&quot;text&quot;: &quot;/*\\\nmodule-type: relinkfilteroperator\n\nGiven a title as an operand, returns all non-shadow tiddlers that have any\nsort of updatable reference to it.\n\n`relink:backreferences[]]`\n`relink:references[]]`\n\nReturns all tiddlers that reference `fromTiddler` somewhere inside them.\n\nInput is ignored. Maybe it shouldn't do this.\n\\*/\n\nvar LinkedList = $tw.utils.LinkedList;\n\nif (!LinkedList) {\n\t/* If the linked list isn't available, make a quick crappy version. */\n\tLinkedList = function() {this.array=[];};\n\n\tLinkedList.prototype.pushTop = function(array) {\n\t\t$tw.utils.pushTop(this.array, array);\n\t};\n\n\tLinkedList.prototype.toArray = function() {\n\t\treturn this.array;\n\t};\n};\n\nexports.backreferences = function(source,operator,options) {\n\tvar results = new LinkedList();\n\tsource(function(tiddler,title) {\n\t\tresults.pushTop(Object.keys(options.wiki.getTiddlerRelinkBackreferences(title,options)));\n\t});\n\treturn results.toArray();\n};\n\nexports.references = function(source,operator,options) {\n\tvar results = new LinkedList();\n\tsource(function(tiddler,title) {\n\t\tvar refs = options.wiki.getTiddlerRelinkReferences(title,options);\n\t\tif (refs) {\n\t\t\tresults.pushTop(Object.keys(refs));\n\t\t}\n\t});\n\treturn results.toArray();\n};\n&quot;,
&quot;module-type&quot;: &quot;relinkfilteroperator&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/plugins/flibbles/relink/js/filteroperators/relink.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/js/filteroperators/relink.js&quot;,
&quot;text&quot;: &quot;/*\\\nmodule-type: filteroperator\n\nThis filter acts as a namespace for several small, simple filters, such as\n\n`[relink:impossible[]]`\n\n\\*/\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar language = require('$:/plugins/flibbles/relink/js/language.js');\n\nvar relinkFilterOperators;\n\nfunction getRelinkFilterOperators() {\n\tif(!relinkFilterOperators) {\n\t\trelinkFilterOperators = {};\n\t\t$tw.modules.applyMethods(\&quot;relinkfilteroperator\&quot;,\n\t\t relinkFilterOperators);\n\t}\n\treturn relinkFilterOperators;\n}\n\nexports.relink = function(source,operator,options) {\n\tvar suffixPair = parseSuffix(operator.suffix);\n\tvar relinkFilterOperator = getRelinkFilterOperators()[suffixPair[0]];\n\tif (relinkFilterOperator) {\n\t\tvar newOperator = $tw.utils.extend({}, operator);\n\t\tnewOperator.suffix = suffixPair[1];\n\t\treturn relinkFilterOperator(source, newOperator, options);\n\t} else {\n\t\treturn [language.getString(\&quot;Error/RelinkFilterOperator\&quot;, options)];\n\t}\n};\n\nfunction parseSuffix(suffix) {\n\tvar index = suffix? suffix.indexOf(\&quot;:\&quot;): -1;\n\tif (index &gt;= 0) {\n\t\treturn [suffix.substr(0, index), suffix.substr(index+1)];\n\t} else {\n\t\treturn [suffix];\n\t}\n}\n&quot;,
&quot;module-type&quot;: &quot;filteroperator&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/plugins/flibbles/relink/js/filteroperators/report.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/js/filteroperators/report.js&quot;,
&quot;text&quot;: &quot;/*\\\nmodule-type: relinkfilteroperator\n\nGiven a title as an operand, returns a string for each occurrence of that title\nwithin each input title.\n\n[[title]] +[relink:report[fromTiddler]]`\n\nReturns string representation of fromTiddler occurrences in title.\n\\*/\n\nexports.report = function(source,operator,options) {\n\tvar fromTitle = operator.operand,\n\t\tresults = [];\n\tif (fromTitle) {\n\t\tvar blurbs = options.wiki.getTiddlerRelinkBackreferences(fromTitle);\n\t\tsource(function(tiddler, title) {\n\t\t\tif (blurbs[title]) {\n\t\t\t\tresults = results.concat(blurbs[title]);\n\t\t\t}\n\t\t});\n\t}\n\treturn results;\n};\n&quot;,
&quot;module-type&quot;: &quot;relinkfilteroperator&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/plugins/flibbles/relink/js/filteroperators/signatures.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/js/filteroperators/signatures.js&quot;,
&quot;text&quot;: &quot;/*\\\nmodule-type: relinkfilteroperator\n\nThis filter returns all input tiddlers which are a source of\nrelink configuration.\n\n`[all[tiddlers+system]relink:source[macros]]`\n\n\\*/\n\nvar utils = require('$:/plugins/flibbles/relink/js/utils.js');\n\nexports.signatures = function(source,operator,options) {\n\tvar plugin = operator.operand || null;\n\tvar set = getSet(options);\n\tif (plugin === \&quot;$:/core\&quot;) {\n\t\t// Core doesn't actually have any settings. We mean Relink\n\t\tplugin = \&quot;$:/plugins/flibbles/relink\&quot;;\n\t}\n\tvar signatures = [];\n\tfor (var signature in set) {\n\t\tvar source = set[signature].source;\n\t\tif (options.wiki.getShadowSource(source) === plugin) {\n\t\t\tsignatures.push(signature);\n\t\t}\n\t}\n\treturn signatures;\n};\n\nexports.type = function(source,operator,options) {\n\tvar results = [];\n\tvar set = getSet(options);\n\tsource(function(tiddler, signature) {\n\t\tif (set[signature]) {\n\t\t\tresults.push(set[signature].name);\n\t\t}\n\t});\n\treturn results;\n};\n\nexports.types = function(source,operator,options) {\n\tvar def = utils.getDefaultType(options.wiki);\n\tvar types = Object.keys(utils.getTypes());\n\ttypes.sort();\n\t// move default to front\n\ttypes.sort(function(x,y) { return x === def ? -1 : y === def ? 1 : 0; });\n\treturn types;\n};\n\nexports.source = function(source,operator,options) {\n\tvar results = [];\n\tvar category = operator.suffix;\n\tvar set = getSet(options);\n\tsource(function(tiddler, signature) {\n\t\tif (set[signature]) {\n\t\t\tresults.push(set[signature].source);\n\t\t}\n\t});\n\treturn results;\n};\n\nfunction getSet(options) {\n\treturn options.wiki.getGlobalCache(\&quot;relink-signatures\&quot;, function() {\n\t\tvar config = utils.getWikiContext(options.wiki);\n\t\tvar set = Object.create(null);\n\t\tvar categories = {\n\t\t\tattributes: config.getAttributes(),\n\t\t\tfields: config.getFields(),\n\t\t\tmacros: config.getMacros(),\n\t\t\toperators: config.getOperators()};\n\t\t$tw.utils.each(categories, function(list, category) {\n\t\t\t$tw.utils.each(list, function(item, key) {\n\t\t\t\tset[category + \&quot;/\&quot; + key] = item;\n\t\t\t});\n\t\t});\n\t\treturn set;\n\t});\n};\n&quot;,
&quot;module-type&quot;: &quot;relinkfilteroperator&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/plugins/flibbles/relink/js/filteroperators/splitafter.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/js/filteroperators/splitafter.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/core/modules/filters/splitbefore.js\ntype: application/javascript\nmodule-type: relinkfilteroperator\n\nFilter operator that splits each result on the last occurance of the specified separator and returns the last bit.\n\nWhat does this have to do with relink? Nothing. I need this so I can render\nthe configuration menu. I //could// use [splitregexp[]], but then I'd be\nlimited to Tiddlywiki v5.1.20 or later.\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\n/*\nExport our filter function\n*/\nexports.splitafter = function(source,operator,options) {\n\tvar results = [];\n\tsource(function(tiddler,title) {\n\t\tvar index = title.lastIndexOf(operator.operand);\n\t\tif(index &lt; 0) {\n\t\t\t$tw.utils.pushTop(results,title);\n\t\t} else {\n\t\t\t$tw.utils.pushTop(results,title.substr(index+1));\n\t\t}\n\t});\n\treturn results;\n};\n\n})();\n\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;relinkfilteroperator&quot;
},
&quot;$:/plugins/flibbles/relink/js/filteroperators/wouldchange.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/js/filteroperators/wouldchange.js&quot;,
&quot;text&quot;: &quot;/*\\\nmodule-type: relinkfilteroperator\n\nwouldchange: Generator.\n\nGiven each input title, it returns all the tiddlers that would be changed if the currentTiddler were to be renamed to the operand.\n\nimpossible: filters all source titles for ones that encounter errors on failure.\n\nTHESE ARE INTERNAL FILTER OPERATOR AND ARE NOT INTENDED TO BE USED BY USERS.\n\n\\*/\n\nvar language = require(\&quot;$:/plugins/flibbles/relink/js/language.js\&quot;);\nvar utils = require(\&quot;$:/plugins/flibbles/relink/js/utils.js\&quot;);\n\nexports.wouldchange = function(source,operator,options) {\n\tvar from = options.widget &amp;&amp; options.widget.getVariable(\&quot;currentTiddler\&quot;),\n\t\tto = operator.operand,\n\t\tindexer = utils.getIndexer(options.wiki),\n\t\trecords = indexer.relinkLookup(from, to, options);\n\treturn Object.keys(records);\n};\n\nexports.impossible = function(source,operator,options) {\n\tvar from = options.widget &amp;&amp; options.widget.getVariable(\&quot;currentTiddler\&quot;),\n\t\tto = operator.operand,\n\t\tresults = [],\n\t\tindexer = utils.getIndexer(options.wiki),\n\t\trecords = indexer.relinkLookup(from, to, options);\n\tsource(function(tiddler, title) {\n\t\tvar fields = records[title];\n\t\tif (fields) {\n\t\t\tfor (var field in fields) {\n\t\t\t\tif (fields[field].impossible) {\n\t\t\t\t\tresults.push(title);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t});\n\treturn results;\n};\n&quot;,
&quot;module-type&quot;: &quot;relinkfilteroperator&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/plugins/flibbles/relink/js/indexer.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/js/indexer.js&quot;,
&quot;text&quot;: &quot;/*\\\nmodule-type: indexer\n\nIndexes results from tiddler reference reports so we don't have to call them\nso much.\n\n\\*/\n\n\&quot;use strict\&quot;;\n\nvar utils = require(\&quot;./utils.js\&quot;);\nvar TiddlerContext = utils.getContext('tiddler');\n\nfunction Indexer(wiki) {\n\tthis.wiki = wiki;\n};\n\nIndexer.prototype.init = function() {\n\tthis.rebuild();\n};\n\nIndexer.prototype.rebuild = function() {\n\tthis.index = null;\n\tthis.backIndex = null;\n\tthis.contexts = Object.create(null);\n\tthis.changedTiddlers = undefined;\n\tthis.lastRelinkFrom = undefined;\n};\n\nIndexer.prototype.update = function(updateDescriptor) {\n\tif (!this.index) {\n\t\treturn;\n\t}\n\tvar title;\n\tif (!this.changedTiddlers) {\n\t\tthis.changedTiddlers = Object.create(null);\n\t}\n\tif (updateDescriptor.old.exists) {\n\t\ttitle = updateDescriptor.old.tiddler.fields.title;\n\t\tthis.changedTiddlers[title] = {deleted: true};\n\t\tthis._purge(title);\n\t}\n\tif (updateDescriptor['new'].exists) {\n\t\t// If its the same tiddler as old, this overrides the 'deleted' entry\n\t\ttitle = updateDescriptor['new'].tiddler.fields.title;\n\t\tthis.changedTiddlers[title] = {modified: true};\n\t}\n};\n\nIndexer.prototype.lookup = function(title) {\n\tthis._upkeep();\n\treturn this.index[title];\n};\n\nIndexer.prototype.reverseLookup = function(title) {\n\tthis._upkeep();\n\treturn this.backIndex[title] || Object.create(null);\n};\n\nIndexer.prototype.relinkLookup = function(fromTitle, toTitle, options) {\n\tthis._upkeep();\n\tvar shortlist = undefined;\n\tif (this.lastRelinkFrom === fromTitle) {\n\t\tif (this.lastRelinkTo === toTitle) {\n\t\t\t// We need to reintroduce the relink cache, where temporary info\n\t\t\t// was stored.\n\t\t\toptions.cache = this.lastRelinkCache;\n\t\t\treturn this.lastRelinkResult;\n\t\t}\n\t\tshortlist = Object.keys(this.lastRelinkResult);\n\t}\n\tthis.lastRelinkResult = utils.getRelinkResults(this.wiki, fromTitle, toTitle, this.context, shortlist, options);\n\tthis.lastRelinkTo = toTitle;\n\tthis.lastRelinkFrom = fromTitle;\n\tthis.lastRelinkCache = options.cache;\n\treturn this.lastRelinkResult;\n};\n\nIndexer.prototype._upkeep = function() {\n\tvar title;\n\tif (this.changedTiddlers &amp;&amp; (this.context.changed(this.changedTiddlers) || this.context.parent.changed(this.changedTiddlers))) {\n\t\t// If global macro context or whitelist context changed, wipe all\n\t\tthis.rebuild();\n\t}\n\tif (!this.index) {\n\t\tthis.index = Object.create(null);\n\t\tthis.backIndex = Object.create(null);\n\t\tthis.context = utils.getWikiContext(this.wiki);\n\t\tvar titles = this.wiki.getRelinkableTitles();\n\t\tfor (var i = 0; i &lt; titles.length; i++) {\n\t\t\tthis._populate(titles[i]);\n\t\t};\n\t} else if (this.changedTiddlers) {\n\t\t// If there are cached changes, we apply them now.\n\t\tfor (title in this.contexts) {\n\t\t\tvar tiddlerContext = this.contexts[title];\n\t\t\tif (tiddlerContext.changed(this.changedTiddlers)) {\n\t\t\t\tthis._purge(title);\n\t\t\t\tthis._populate(title);\n\t\t\t\tthis._dropResults(title);\n\t\t\t\t// Wipe this change, so we don't risk updating it twice.\n\t\t\t\tthis.changedTiddlers[title] = undefined;\n\t\t\t}\n\t\t}\n\t\tfor (title in this.changedTiddlers) {\n\t\t\tvar change = this.changedTiddlers[title];\n\t\t\tif (change &amp;&amp; change.modified) {\n\t\t\t\tthis._purge(title);\n\t\t\t\tthis._populate(title);\n\t\t\t\tthis._dropResults(title);\n\t\t\t}\n\t\t}\n\t\tthis.changedTiddlers = undefined;\n\t}\n};\n\nIndexer.prototype._purge = function(title) {\n\tfor (var entry in this.index[title]) {\n\t\tdelete this.backIndex[entry][title];\n\t}\n\tdelete this.contexts[title];\n\tdelete this.index[title];\n};\n\n// This drops the cached relink results if unsanctioned tiddlers were changed\nIndexer.prototype._dropResults = function(title) {\n\tvar tiddler = this.wiki.getTiddler(title);\n\tif (title !== this.lastRelinkFrom\n\t&amp;&amp; title !== this.lastRelinkTo\n\t&amp;&amp; (!tiddler\n\t\t|| !$tw.utils.hop(tiddler.fields, 'draft.of') // is a draft\n\t\t||
&quot;module-type&quot;: &quot;indexer&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/plugins/flibbles/relink/js/language.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/js/language.js&quot;,
&quot;text&quot;: &quot;/*\\\nmodule-type: library\n\nThis handles all logging and alerts Relink emits.\n\n\\*/\n\nexports.getString = function(title, options) {\n\ttitle = \&quot;$:/plugins/flibbles/relink/language/\&quot; + title;\n\treturn options.wiki.renderTiddler(\&quot;text/plain\&quot;, title, options);\n};\n\nvar logger;\n\nexports.reportFailures = function(failureList, options) {\n\tif (!logger) {\n\t\tlogger = new $tw.utils.Logger(\&quot;Relinker\&quot;);\n\t}\n\tvar alertString = this.getString(\&quot;Error/ReportFailedRelinks\&quot;, options)\n\tvar alreadyReported = Object.create(null);\n\tvar reportList = [];\n\t$tw.utils.each(failureList, function(f) {\n\t\tif (!alreadyReported[f]) {\n\t\t\tif ($tw.browser) {\n\t\t\t\t// This might not make the link if the title is complicated.\n\t\t\t\t// Whatever.\n\t\t\t\treportList.push(\&quot;\\n* [[\&quot; + f + \&quot;]]\&quot;);\n\t\t\t} else {\n\t\t\t\treportList.push(\&quot;\\n* \&quot; + f);\n\t\t\t}\n\t\t\talreadyReported[f] = true;\n\t\t}\n\t});\n\tlogger.alert(alertString + \&quot;\\n\&quot; + reportList.join(\&quot;\&quot;));\n};\n&quot;,
&quot;module-type&quot;: &quot;library&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/plugins/flibbles/relink/js/mangler.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/js/mangler.js&quot;,
&quot;text&quot;: &quot;/*\\\nmodule-type: widget\n\nCreates a mangler widget for field validation. This isn't meant to be used\nby the user. It's only used in Relink configuration.\n\n\\*/\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\nvar language = require('$:/plugins/flibbles/relink/js/language.js');\nvar utils = require('$:/plugins/flibbles/relink/js/utils.js');\n\nvar RelinkManglerWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n\tthis.addEventListeners([\n\t\t{type: \&quot;relink-add-field\&quot;, handler: \&quot;handleAddFieldEvent\&quot;},\n\t\t{type: \&quot;relink-add-operator\&quot;, handler: \&quot;handleAddOperatorEvent\&quot;},\n\t\t{type: \&quot;relink-add-parameter\&quot;, handler: \&quot;handleAddParameterEvent\&quot;},\n\t\t{type: \&quot;relink-add-attribute\&quot;, handler: \&quot;handleAddAttributeEvent\&quot;}\n\t]);\n};\n\nexports.relinkmangler = RelinkManglerWidget;\n\nRelinkManglerWidget.prototype = new Widget();\n\n// This wraps alert so it can be monkeypatched during testing.\nRelinkManglerWidget.prototype.alert = function(message) {\n\talert(message);\n};\n\nRelinkManglerWidget.prototype.handleAddFieldEvent = function(event) {\n\tvar param = event.paramObject;\n\tif (typeof param !== \&quot;object\&quot; || !param.field) {\n\t\t// Can't handle it.\n\t\treturn true;\n\t}\n\tvar trimmedName = param.field.toLowerCase().trim();\n\tif (!trimmedName) {\n\t\t// Still can't handle it, but don't warn.\n\t\treturn true;\n\t}\n\tif(!$tw.utils.isValidFieldName(trimmedName)) {\n\t\tthis.alert($tw.language.getString(\n\t\t\t\&quot;InvalidFieldName\&quot;,\n\t\t\t{variables:\n\t\t\t\t{fieldName: trimmedName}\n\t\t\t}\n\t\t));\n\t} else {\n\t\tadd(this.wiki, \&quot;fields\&quot;, trimmedName);\n\t}\n\treturn true;\n};\n\n/**Not much validation, even though there are definitely illegal\n * operator names. If you input on, Relink won't relink it, but it\n * won't choke on it either. Tiddlywiki will...\n */\nRelinkManglerWidget.prototype.handleAddOperatorEvent = function(event) {\n\tvar param = event.paramObject;\n\tif (param) {\n\t\tadd(this.wiki, \&quot;operators\&quot;, param.operator);\n\t}\n\treturn true;\n};\n\nRelinkManglerWidget.prototype.handleAddParameterEvent = function(event) {\n\tvar param = event.paramObject;\n\tif (param &amp;&amp; param.macro &amp;&amp; param.parameter) {\n\t\tif (/\\s/.test(param.macro.trim())) {\n\t\t\tthis.alert(language.getString(\n\t\t\t\t\&quot;Error/InvalidMacroName\&quot;,\n\t\t\t\t{ variables: {macroName: param.macro},\n\t\t\t\t wiki: this.wiki\n\t\t\t\t}\n\t\t\t));\n\t\t} else if (/[ \\/]/.test(param.parameter.trim())) {\n\t\t\tthis.alert(language.getString(\n\t\t\t\t\&quot;Error/InvalidParameterName\&quot;,\n\t\t\t\t{ variables: {parameterName: param.parameter},\n\t\t\t\t wiki: this.wiki\n\t\t\t\t}\n\t\t\t));\n\t\t} else {\n\t\t\tadd(this.wiki, \&quot;macros\&quot;, param.macro, param.parameter);\n\t\t}\n\t}\n\treturn true;\n};\n\nRelinkManglerWidget.prototype.handleAddAttributeEvent = function(event) {\n\tvar param = event.paramObject;\n\tif (param &amp;&amp; param.element &amp;&amp; param.attribute) {\n\t\tif (/[ \\/]/.test(param.element.trim())) {\n\t\t\tthis.alert(language.getString(\n\t\t\t\t\&quot;Error/InvalidElementName\&quot;,\n\t\t\t\t{ variables: {elementName: param.element},\n\t\t\t\t wiki: this.wiki\n\t\t\t\t}\n\t\t\t));\n\t\t} else if (/[ \\/]/.test(param.attribute.trim())) {\n\t\t\tthis.alert(language.getString(\n\t\t\t\t\&quot;Error/InvalidAttributeName\&quot;,\n\t\t\t\t{ variables: {attributeName: param.attribute},\n\t\t\t\t wiki: this.wiki\n\t\t\t\t}\n\t\t\t));\n\t\t} else {\n\t\t\tadd(this.wiki, \&quot;attributes\&quot;, param.element, param.attribute);\n\t\t}\n\t}\n\treturn true;\n};\n\nfunction add(wiki, category/*, path parts*/) {\n\tvar path = \&quot;$:/config/flibbles/relink/\&quot; + category;\n\tfor (var x = 2; x &lt; arguments.length; x++) {\n\t\tvar part = arguments[x];\n\t\t// Abort if it's falsy, or only whitespace. Also, trim spaces\n\t\tif (!part ||
&quot;module-type&quot;: &quot;widget&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/plugins/flibbles/relink/js/relinkoperations/fields.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/js/relinkoperations/fields.js&quot;,
&quot;text&quot;: &quot;/*\\\n\nHandles all fields specified in the plugin configuration. Currently, this\nonly supports single-value fields.\n\n\\*/\n\n/*jslint node: false, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.name = 'fields';\n\nexports.report = function(tiddler, callback, options) {\n\tvar fields = options.settings.getFields();\n\t$tw.utils.each(fields, function(handler, field) {\n\t\tvar input = tiddler.fields[field];\n\t\tif (input) {\n\t\t\thandler.report(input, function(title, blurb) {\n\t\t\t\tif (blurb) {\n\t\t\t\t\tcallback(title, field + ': ' + blurb);\n\t\t\t\t} else {\n\t\t\t\t\tcallback(title, field);\n\t\t\t\t}\n\t\t\t}, options);\n\t\t}\n\t});\n};\n\nexports.relink = function(tiddler, fromTitle, toTitle, changes, options) {\n\tvar fields = options.settings.getFields();\n\t$tw.utils.each(fields, function(handler, field) {\n\t\tvar input = tiddler.fields[field];\n\t\tif (input) {\n\t\t\tvar entry = handler.relink(input, fromTitle, toTitle, options);\n\t\t\tif (entry !== undefined) {\n\t\t\t\tchanges[field] = entry;\n\t\t\t}\n\t\t}\n\t});\n};\n&quot;,
&quot;module-type&quot;: &quot;relinkoperator&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/plugins/flibbles/relink/js/relinkoperations/text.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/js/relinkoperations/text.js&quot;,
&quot;text&quot;: &quot;/*\\\n\nDepending on the tiddler type, this will apply textOperators which may\nrelink titles within the body.\n\n\\*/\n\n/*jslint node: false, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar defaultOperator = \&quot;text/vnd.tiddlywiki\&quot;;\nvar utils = require('$:/plugins/flibbles/relink/js/utils.js');\n\nexports.name = 'text';\n\nvar textOperators = utils.getModulesByTypeAsHashmap('relinktextoperator', 'type');\n\n// $:/DefaultTiddlers is a tiddler which has type \&quot;text/vnd.tiddlywiki\&quot;,\n// but it lies. It doesn't contain wikitext. It contains a filter, so\n// we pretend it has a filter type.\n// If you want to be able to add more exceptions for your plugin, let me know.\nvar exceptions = {\n\t\&quot;$:/DefaultTiddlers\&quot;: \&quot;text/x-tiddler-filter\&quot;\n};\n\nexports.report = function(tiddler, callback, options) {\n\tvar fields = tiddler.fields;\n\tif (fields.text) {\n\t\tvar type = exceptions[fields.title] || fields.type || defaultOperator;\n\t\tif (textOperators[type]) {\n\t\t\tvar entry = textOperators[type].report(tiddler, callback, options);\n\t\t}\n\t}\n};\n\nexports.relink = function(tiddler, fromTitle, toTitle, changes, options) {\n\tvar fields = tiddler.fields;\n\tif (fields.text) {\n\t\tvar type = exceptions[fields.title] || fields.type || defaultOperator;\n\t\tif (textOperators[type]) {\n\t\t\tvar entry = textOperators[type].relink(tiddler, fromTitle, toTitle, options);\n\t\t\tif (entry) {\n\t\t\t\tchanges.text = entry;\n\t\t\t}\n\t\t}\n\t}\n};\n&quot;,
&quot;module-type&quot;: &quot;relinkoperator&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/plugins/flibbles/relink/js/relinkoperations/text/filtertext.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/js/relinkoperations/text/filtertext.js&quot;,
&quot;text&quot;: &quot;/*\\\n\nThis relinks tiddlers which contain filters in their body, as oppose to\nwikitext.\n\n\\*/\n\n/*jslint node: false, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar filterHandler = require(\&quot;$:/plugins/flibbles/relink/js/utils\&quot;).getType('filter');\n\nexports.type = 'text/x-tiddler-filter';\n\nexports.report = function(tiddler, callback, options) {\n\treturn filterHandler.report(tiddler.fields.text, callback, options);\n};\n\nexports.relink = function(tiddler, fromTitle, toTitle, options) {\n\treturn filterHandler.relink(tiddler.fields.text, fromTitle, toTitle, options)\n};\n&quot;,
&quot;module-type&quot;: &quot;relinktextoperator&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext.js&quot;,
&quot;text&quot;: &quot;/*\\\n\nChecks for fromTitle in a tiddler's text. If found, sees if it's relevant,\nand tries to swap it out if it is.\n\n\\*/\n\n/*jslint node: false, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Placeholder = require(\&quot;$:/plugins/flibbles/relink/js/utils/placeholder.js\&quot;);\nvar wikitextHandler = require('$:/plugins/flibbles/relink/js/utils.js').getType('wikitext');\n\nexports.type = 'text/vnd.tiddlywiki';\n\nexports.report = function(tiddler, callback, options) {\n\twikitextHandler.report(tiddler.fields.text, callback, options);\n};\n\nexports.relink = function(tiddler, fromTitle, toTitle, options) {\n\tvar placeholder = new Placeholder();\n\tvar currentOptions = Object.create(options);\n\tcurrentOptions.placeholder = placeholder;\n\tvar entry = wikitextHandler.relink(tiddler.fields.text, fromTitle, toTitle, currentOptions);\n\tif (entry &amp;&amp; entry.output) {\n\t\t// If there's output, we've also got to prepend any macros\n\t\t// that the placeholder defined.\n\t\tvar preamble = placeholder.getPreamble();\n\t\tentry.output = preamble + entry.output;\n\t}\n\treturn entry;\n};\n&quot;,
&quot;module-type&quot;: &quot;relinktextoperator&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/code.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/code.js&quot;,
&quot;text&quot;: &quot;/*\\\nmodule-type: relinkwikitextrule\n\nHandles code blocks. Or rather //doesn't// handle them, since we should\nignore their contents.\n\n\&quot;`` [[Renamed Title]] ``\&quot; will remain unchanged.\n\n\\*/\n\nexports.name = [\&quot;codeinline\&quot;, \&quot;codeblock\&quot;];\n\nexports.relink = function(text) {\n\tvar reEnd;\n\tthis.parser.pos = this.matchRegExp.lastIndex;\n\t// I'm lazy. This relink method works for both codeblock and codeinline\n\tif (this.match[0].length &gt; 2) {\n\t\t// Must be a codeblock\n\t\treEnd = /\\r?\\n```$/mg;\n\t} else {\n\t\t// Must be a codeinline\n\t\treEnd = new RegExp(this.match[1], \&quot;mg\&quot;);\n\t}\n\treEnd.lastIndex = this.parser.pos;\n\tvar match = reEnd.exec(text);\n\tif (match) {\n\t\tthis.parser.pos = match.index + match[0].length;\n\t} else {\n\t\tthis.parser.pos = this.parser.sourceLength;\n\t}\n\treturn undefined;\n};\n\n// Same thing. Just skip the pos ahead.\nexports.report = exports.relink;\n&quot;,
&quot;module-type&quot;: &quot;relinkwikitextrule&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/comment.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/comment.js&quot;,
&quot;text&quot;: &quot;/*\\\nmodule-type: relinkwikitextrule\n\nHandles comment blocks. Or rather //doesn't// handle them, since we should\nignore their contents.\n\n\&quot;&lt;!-- [[Renamed Title]] --&gt;\&quot; will remain unchanged.\n\n\\*/\n\nexports.name = [\&quot;commentinline\&quot;, \&quot;commentblock\&quot;];\n\nexports.relink = function(text) {\n\tthis.parser.pos = this.endMatchRegExp.lastIndex;\n\treturn undefined;\n};\n\nexports.report = exports.relink;\n&quot;,
&quot;module-type&quot;: &quot;relinkwikitextrule&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/filteredtransclude.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/filteredtransclude.js&quot;,
&quot;text&quot;: &quot;/*\\\nmodule-type: relinkwikitextrule\n\nHandles replacement of filtered transclusions in wiki text like,\n\n{{{ [tag[docs]] }}}\n{{{ [tag[docs]] |tooltip}}}\n{{{ [tag[docs]] ||TemplateTitle}}}\n{{{ [tag[docs]] |tooltip||TemplateTitle}}}\n{{{ [tag[docs]] }}width:40;height:50;}.class.class\n\nThis renames both the list and the template field.\n\n\\*/\n\nexports.name = ['filteredtranscludeinline', 'filteredtranscludeblock'];\n\nvar filterHandler = require(\&quot;$:/plugins/flibbles/relink/js/utils\&quot;).getType('filter');\nvar utils = require(\&quot;./utils.js\&quot;);\n\nexports.report = function(text, callback, options) {\n\tvar m = this.match,\n\t\tfilter = m[1],\n\t\ttemplate = $tw.utils.trim(m[3]),\n\t\tappend = template ? '||' + template + '}}}' : '}}}';\n\tfilterHandler.report(filter, function(title, blurb) {\n\t\tcallback(title, '{{{' + blurb + append);\n\t}, options);\n\tif (template) {\n\t\tcallback(template, '{{{' + $tw.utils.trim(filter).replace(/\\r?\\n/mg, ' ') + '||}}}');\n\t}\n\tthis.parser.pos = this.matchRegExp.lastIndex;\n};\n\nexports.relink = function(text, fromTitle, toTitle, options) {\n\tvar m = this.match,\n\t\tfilter = m[1],\n\t\ttooltip = m[2],\n\t\ttemplate = m[3],\n\t\tstyle = m[4],\n\t\tclasses = m[5],\n\t\tparser = this.parser,\n\t\tentry = {};\n\tparser.pos = this.matchRegExp.lastIndex;\n\tvar modified = false;\n\n\tvar filterEntry = filterHandler.relink(filter, fromTitle, toTitle, options);\n\tif (filterEntry !== undefined) {\n\t\tif (filterEntry.output) {\n\t\t\tfilter = filterEntry.output;\n\t\t\tmodified = true;\n\t\t}\n\t\tif (filterEntry.impossible) {\n\t\t\tentry.impossible = true;\n\t\t}\n\t}\n\n\tif ($tw.utils.trim(template) === fromTitle) {\n\t\t// preserves user-inputted whitespace\n\t\ttemplate = template.replace(fromTitle, toTitle);\n\t\tmodified = true;\n\t}\n\tif (!modified) {\n\t\tif (!entry.impossible) {\n\t\t\treturn undefined;\n\t\t}\n\t} else {\n\t\tvar output = this.makeFilteredtransclude(this.parser, filter, tooltip, template, style, classes);\n\t\tif (output === undefined) {\n\t\t\tentry.impossible = true;\n\t\t} else {\n\t\t\t// By copying over the ending newline of the original\n\t\t\t// text if present, thisrelink method thus works for\n\t\t\t// both the inline and block rule\n\t\t\tentry.output = output + utils.getEndingNewline(m[0]);\n\t\t}\n\t}\n\treturn entry;\n};\n\nexports.makeFilteredtransclude = function(parser, filter, tooltip, template, style, classes) {\n\tif (canBePretty(filter) &amp;&amp; canBePrettyTemplate(template)) {\n\t\treturn prettyList(filter, tooltip, template, style, classes);\n\t}\n\tif (classes !== undefined) {\n\t\tclasses = classes.split('.').join(' ');\n\t}\n\treturn utils.makeWidget(parser, '$list', {\n\t\tfilter: filter,\n\t\ttooltip: tooltip,\n\t\ttemplate: template,\n\t\tstyle: style || undefined,\n\t\titemClass: classes});\n};\n\nfunction prettyList(filter, tooltip, template, style, classes) {\n\tif (tooltip === undefined) {\n\t\ttooltip = '';\n\t} else {\n\t\ttooltip = \&quot;|\&quot; + tooltip;\n\t}\n\tif (template === undefined) {\n\t\ttemplate = '';\n\t} else {\n\t\ttemplate = \&quot;||\&quot; + template;\n\t}\n\tif (classes === undefined) {\n\t\tclasses = '';\n\t} else {\n\t\tclasses = \&quot;.\&quot; + classes;\n\t}\n\tstyle = style || '';\n\treturn \&quot;{{{\&quot;+filter+tooltip+template+\&quot;}}\&quot;+style+\&quot;}\&quot;+classes;\n};\n\nfunction canBePretty(filter) {\n\treturn filter.indexOf('|') &lt; 0 &amp;&amp; filter.indexOf('}}') &lt; 0;\n};\n\nfunction canBePrettyTemplate(template) {\n\treturn !template || (\n\t\ttemplate.indexOf('|') &lt; 0\n\t\t&amp;&amp; template.indexOf('{') &lt; 0\n\t\t&amp;&amp; template.indexOf('}') &lt; 0);\n};\n&quot;,
&quot;module-type&quot;: &quot;relinkwikitextrule&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/html.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/html.js&quot;,
&quot;text&quot;: &quot;/*\\\nmodule-type: relinkwikitextrule\n\nHandles replacement in attributes of widgets and html elements\nThis is configurable to select exactly which attributes of which elements\nshould be changed.\n\n&lt;$link to=\&quot;TiddlerTitle\&quot; /&gt;\n\n\\*/\n\nvar utils = require(\&quot;./utils.js\&quot;);\nvar Rebuilder = require(\&quot;$:/plugins/flibbles/relink/js/utils/rebuilder\&quot;);\nvar relinkUtils = require('$:/plugins/flibbles/relink/js/utils.js');\nvar refHandler = relinkUtils.getType('reference');\nvar filterHandler = relinkUtils.getType('filter');\nvar ImportContext = relinkUtils.getContext('import');\nvar macrocall = require(\&quot;./macrocall.js\&quot;);\n\nexports.name = \&quot;html\&quot;;\n\nexports.report = function(text, callback, options) {\n\tvar managedElement = this.parser.context.getAttribute(this.nextTag.tag);\n\tvar importFilterAttr;\n\tvar element = this.nextTag.tag;\n\tfor (var attributeName in this.nextTag.attributes) {\n\t\tvar attr = this.nextTag.attributes[attributeName];\n\t\tvar nextEql = text.indexOf('=', attr.start);\n\t\t// This is the rare case of changing tiddler\n\t\t// \&quot;true\&quot; to something else when \&quot;true\&quot; is\n\t\t// implicit, like &lt;$link to /&gt; We ignore those.\n\t\tif (nextEql &lt; 0 || nextEql &gt; attr.end) {\n\t\t\tcontinue;\n\t\t}\n\t\tif (this.nextTag.tag === \&quot;$importvariables\&quot; &amp;&amp; attributeName === \&quot;filter\&quot;) {\n\t\t\timportFilterAttr = attr;\n\t\t}\n\t\tvar oldLength, quotedValue = undefined, entry;\n\t\tif (attr.type === \&quot;string\&quot;) {\n\t\t\tvar handler = getAttributeHandler(this.parser.context, this.nextTag, attributeName, options);\n\t\t\tif (!handler) {\n\t\t\t\t// We don't manage this attribute. Bye.\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\thandler.report(attr.value, function(title, blurb) {\n\t\t\t\tif (blurb) {\n\t\t\t\t\tcallback(title, '&lt;' + element + ' ' + attributeName + '=\&quot;' + blurb + '\&quot; /&gt;');\n\t\t\t\t} else {\n\t\t\t\t\tcallback(title, '&lt;' + element + ' ' + attributeName + ' /&gt;');\n\t\t\t\t}\n\t\t\t}, options);\n\t\t} else if (attr.type === \&quot;indirect\&quot;) {\n\t\t\tentry = refHandler.report(attr.textReference, function(title, blurb) {\n\t\t\t\tcallback(title, '&lt;' + element + ' ' + attributeName + '={{' + (blurb || '') + '}} /&gt;');\n\t\t\t}, options);\n\t\t} else if (attr.type === \&quot;filtered\&quot;) {\n\t\t\tentry = filterHandler.report(attr.filter, function(title, blurb) {\n\t\t\t\tcallback(title, '&lt;' + element + ' ' + attributeName + '={{{' + blurb + '}}} /&gt;');\n\t\t\t}, options);\n\t\t} else if (attr.type === \&quot;macro\&quot;) {\n\t\t\tvar macro = attr.value;\n\t\t\tentry = macrocall.reportAttribute(this.parser, macro, function(title, blurb) {\n\t\t\t\tcallback(title, '&lt;' + element + ' ' + attributeName + '=' + blurb + ' /&gt;');\n\t\t\t}, options);\n\t\t}\n\t\tif (quotedValue === undefined) {\n\t\t\tcontinue;\n\t\t}\n\t\tif (this.nextTag.tag === \&quot;$importvariables\&quot; &amp;&amp; attributeName === \&quot;filter\&quot;) {\n\t\t\t// If this is an import variable filter, we gotta\n\t\t\t// remember this new value when we import lower down.\n\t\t\timportFilterAttr = quotedValue;\n\t\t}\n\t}\n\tif (importFilterAttr) {\n\t\tprocessImportFilter(this.parser, importFilterAttr, options);\n\t}\n\tthis.parse();\n};\n\nexports.relink = function(text, fromTitle, toTitle, options) {\n\tvar managedElement = this.parser.context.getAttribute(this.nextTag.tag),\n\t\tbuilder = new Rebuilder(text, this.nextTag.start);\n\tvar importFilterAttr;\n\tvar widgetEntry = {};\n\twidgetEntry.attributes = Object.create(null);\n\twidgetEntry.element = this.nextTag.tag;\n\tfor (var attributeName in this.nextTag.attributes) {\n\t\tvar attr = this.nextTag.attributes[attributeName];\n\t\tvar nextEql = text.indexOf('=', attr.start);\n\t\t// This is the rare case of changing tiddler\n\t\t// \&quot;true\&quot; to something else when \&quot;true\&quot; is\n\t\t// implicit, like &lt;$link to /&gt; We ignore those.\n\t\tif (nextEql &lt; 0
&quot;module-type&quot;: &quot;relinkwikitextrule&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/image.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/image.js&quot;,
&quot;text&quot;: &quot;/*\\\nmodule-type: relinkwikitextrule\n\nHandles replacement in wiki text inline rules, like,\n\n[img[tiddler.jpg]]\n\n[img width=23 height=24 [Description|tiddler.jpg]]\n\n\\*/\n\nvar Rebuilder = require(\&quot;$:/plugins/flibbles/relink/js/utils/rebuilder\&quot;);\nvar refHandler = require(\&quot;$:/plugins/flibbles/relink/js/fieldtypes/reference\&quot;);\nvar filterHandler = require(\&quot;$:/plugins/flibbles/relink/js/utils\&quot;).getType('filter');\nvar macrocall = require(\&quot;./macrocall.js\&quot;);\nvar utils = require(\&quot;./utils.js\&quot;);\n\nexports.name = \&quot;image\&quot;;\n\nexports.report = function(text, callback, options) {\n\tvar ptr = this.nextImage.start + 4; //[img\n\tvar inSource = false;\n\tfor (var attributeName in this.nextImage.attributes) {\n\t\tvar attr = this.nextImage.attributes[attributeName];\n\t\tif (attributeName === \&quot;source\&quot; || attributeName === \&quot;tooltip\&quot;) {\n\t\t\tif (inSource) {\n\t\t\t\tptr = text.indexOf('|', ptr);\n\t\t\t} else {\n\t\t\t\tptr = text.indexOf('[', ptr);\n\t\t\t\tinSource = true;\n\t\t\t}\n\t\t\tptr += 1;\n\t\t}\n\t\tif (attributeName === \&quot;source\&quot;) {\n\t\t\tvar tooltip = this.nextImage.attributes.tooltip;\n\t\t\tvar blurb = '[img[' + (tooltip ? tooltip.value : '') + ']]';\n\t\t\tcallback(attr.value, blurb);\n\t\t\tptr = text.indexOf(attr.value, ptr);\n\t\t\tptr = text.indexOf(']]', ptr) + 2;\n\t\t} else if (attributeName !== \&quot;tooltip\&quot;) {\n\t\t\tptr = reportAttribute(this.parser, attr, callback, options);\n\t\t}\n\t}\n\tthis.parser.pos = ptr;\n};\n\nexports.relink = function(text, fromTitle, toTitle, options) {\n\tvar ptr = this.nextImage.start,\n\t\tbuilder = new Rebuilder(text, ptr),\n\t\tmakeWidget = false,\n\t\tskipSource = false,\n\t\timageEntry;\n\tif (this.nextImage.attributes.source.value === fromTitle &amp;&amp; !canBePretty(toTitle, this.nextImage.attributes.tooltip)) {\n\t\tif (this.parser.context.allowWidgets() &amp;&amp; (utils.wrapAttributeValue(toTitle) || options.placeholder)) {\n\t\t\tmakeWidget = true;\n\t\t\tbuilder.add(\&quot;&lt;$image\&quot;, ptr, ptr+4);\n\t\t} else {\n\t\t\t// We won't be able to make a placeholder to replace\n\t\t\t// the source attribute. We check now so we don't\n\t\t\t// prematurely convert into a widget.\n\t\t\t// Keep going in case other attributes need replacing.\n\t\t\tskipSource = true;\n\t\t}\n\t}\n\tptr += 4; //[img\n\tvar inSource = false;\n\tfor (var attributeName in this.nextImage.attributes) {\n\t\tvar attr = this.nextImage.attributes[attributeName];\n\t\tif (attributeName === \&quot;source\&quot; || attributeName === \&quot;tooltip\&quot;) {\n\t\t\tif (inSource) {\n\t\t\t\tptr = text.indexOf('|', ptr);\n\t\t\t} else {\n\t\t\t\tptr = text.indexOf('[', ptr);\n\t\t\t\tinSource = true;\n\t\t\t}\n\t\t\tif (makeWidget) {\n\t\t\t\tif (\&quot; \\t\\n\&quot;.indexOf(text[ptr-1]) &gt;= 0) {\n\t\t\t\t\tbuilder.add('', ptr, ptr+1);\n\t\t\t\t} else {\n\t\t\t\t\tbuilder.add(' ', ptr, ptr+1);\n\t\t\t\t}\n\t\t\t}\n\t\t\tptr += 1;\n\t\t}\n\t\tif (attributeName === \&quot;source\&quot;) {\n\t\t\tptr = text.indexOf(attr.value, ptr);\n\t\t\tif (attr.value === fromTitle) {\n\t\t\t\tif (makeWidget) {\n\t\t\t\t\tvar quotedValue = utils.wrapAttributeValue(toTitle);\n\t\t\t\t\tif (quotedValue === undefined) {\n\t\t\t\t\t\tvar key = options.placeholder.getPlaceholderFor(toTitle);\n\t\t\t\t\t\tbuilder.add(\&quot;source=&lt;&lt;\&quot;+key+\&quot;&gt;&gt;\&quot;, ptr, ptr+fromTitle.length);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tbuilder.add(\&quot;source=\&quot;+quotedValue, ptr, ptr+fromTitle.length);\n\t\t\t\t\t}\n\t\t\t\t} else if (!skipSource) {\n\t\t\t\t\tbuilder.add(toTitle, ptr, ptr+fromTitle.length);\n\t\t\t\t} else {\n\t\t\t\t\tbuilder.impossible = true;\n\t\t\t\t}\n\t\t\t}\n\t\t\tptr = text.indexOf(']]', ptr);\n\t\t\tif (makeWidget) {\n\t\t\t\tbuilder.add(\&quot;/&gt;\&quot;, ptr, ptr+2);\n\t\t\t}\n\t\t\tptr += 2;\n\t\t} else if (attributeName === \&quot;tooltip\&quot;) {\n\t\t\tif (makeWidget) {\n\t\t\t\tptr = text.indexOf(attr.value, ptr);\n\
&quot;module-type&quot;: &quot;relinkwikitextrule&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/import.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/import.js&quot;,
&quot;text&quot;: &quot;/*\\\nmodule-type: relinkwikitextrule\n\nHandles import pragmas\n\n\\import [tag[MyTiddler]]\n\\*/\n\nvar utils = require(\&quot;$:/plugins/flibbles/relink/js/utils.js\&quot;);\nvar filterRelinker = utils.getType('filter');\nvar ImportContext = utils.getContext('import');\n\nexports.name = \&quot;import\&quot;;\n\nexports.report = function(text, callback, options) {\n\t// This moves the pos for us\n\tvar parseTree = this.parse();\n\tvar filter = parseTree[0].attributes.filter.value || '';\n\tfilterRelinker.report(filter, function(title, blurb) {\n\t\tif (blurb) {\n\t\t\tblurb = '\\\\import ' + blurb;\n\t\t} else {\n\t\t\tblurb = '\\\\import';\n\t\t}\n\t\tcallback(title, blurb);\n\t}, options);\n\t// Before we go, we need to actually import the variables\n\t// it's calling for, and any /relink pragma\n\tthis.parser.context = new ImportContext(options.wiki, this.parser.context, filter);\n};\n\nexports.relink = function(text, fromTitle, toTitle, options) {\n\t// In this one case, I'll let the parser parse out the filter and move\n\t// the ptr.\n\tvar start = this.matchRegExp.lastIndex,\n\t\tparseTree = this.parse(),\n\t\tfilter = parseTree[0].attributes.filter.value || '',\n\t\tentry = filterRelinker.relink(filter, fromTitle, toTitle, options);\n\tif (entry !== undefined &amp;&amp; entry.output) {\n\t\tvar newline = text.substring(start+filter.length, this.parser.pos);\n\t\tfilter = entry.output;\n\t\tentry.output = \&quot;\\\\import \&quot; + filter + newline;\n\t}\n\n\t// Before we go, we need to actually import the variables\n\t// it's calling for, and any /relink pragma\n\tthis.parser.context = new ImportContext(options.wiki, this.parser.context, filter);\n\n\treturn entry;\n};\n&quot;,
&quot;module-type&quot;: &quot;relinkwikitextrule&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/macrocall.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/macrocall.js&quot;,
&quot;text&quot;: &quot;/*\\\nmodule-type: relinkwikitextrule\n\nHandles macro calls.\n\n&lt;&lt;myMacro '[[MyFilter]]' 'myTitle'&gt;&gt;\n\n\\*/\n\nvar utils = require(\&quot;./utils.js\&quot;);\nvar Rebuilder = require(\&quot;$:/plugins/flibbles/relink/js/utils/rebuilder\&quot;);\nvar EntryNode = require('$:/plugins/flibbles/relink/js/utils/entry');\n\nexports.name = [\&quot;macrocallinline\&quot;, \&quot;macrocallblock\&quot;];\n\n// Error thrown when a macro's definition is needed, but can't be found.\nfunction CannotFindMacroDef() {};\nCannotFindMacroDef.prototype.impossible = true;\nCannotFindMacroDef.prototype.name = \&quot;macroparam\&quot;;\n// Failed relinks due to missing definitions aren't reported for now.\n// I may want to do something special later on.\nCannotFindMacroDef.prototype.report = function() { return []; };\n\nexports.report = function(text, callback, options) {\n\tvar macroInfo = getInfoFromRule(this);\n\tthis.parser.pos = macroInfo.end;\n\tthis.reportAttribute(this.parser, macroInfo, callback, options);\n};\n\nexports.relink = function(text, fromTitle, toTitle, options) {\n\tvar macroInfo = getInfoFromRule(this);\n\tvar managedMacro = this.parser.context.getMacro(macroInfo.name);\n\tthis.parser.pos = macroInfo.end;\n\tif (!managedMacro) {\n\t\t// We don't manage this macro. Bye.\n\t\treturn undefined;\n\t}\n\tvar mayBeWidget = this.parser.context.allowWidgets();\n\tvar names = getParamNames(this.parser, macroInfo.name, macroInfo.params, options);\n\tif (names === undefined) {\n\t\t// Needed the definition, and couldn't find it. So if a single\n\t\t// parameter needs to placeholder, just fail.\n\t\tmayBeWidget = false;\n\t}\n\tvar entry = relinkMacroInvocation(this.parser, macroInfo, text, fromTitle, toTitle, mayBeWidget, options);\n\tif (entry &amp;&amp; entry.output) {\n\t\tentry.output = macroToString(entry.output, text, names, options);\n\t}\n\treturn entry;\n};\n\n/** Relinks macros that occur as attributes, like &lt;$element attr=&lt;&lt;...&gt;&gt; /&gt;\n * Processes the same, except it can't downgrade into a widget if the title\n * is complicated.\n */\nexports.relinkAttribute = function(parser, macro, text, fromTitle, toTitle, options) {\n\tvar entry = relinkMacroInvocation(parser, macro, text, fromTitle, toTitle, false, options);\n\tif (entry &amp;&amp; entry.output) {\n\t\tentry.output = macroToStringMacro(entry.output, text, options);\n\t}\n\treturn entry;\n};\n\n/** As in, report a macrocall invocation that is an html attribute. */\nexports.reportAttribute = function(parser, macro, callback, options) {\n\tvar managedMacro = parser.context.getMacro(macro.name);\n\tif (!managedMacro) {\n\t\t// We don't manage this macro. Bye.\n\t\treturn undefined;\n\t}\n\tfor (var managedArg in managedMacro) {\n\t\tvar index;\n\t\ttry {\n\t\t\tindex = getParamIndexWithinMacrocall(parser, macro.name, managedArg, macro.params, options);\n\t\t} catch (e) {\n\t\t\tcontinue;\n\t\t}\n\t\tif (index &lt; 0) {\n\t\t\t// The argument was not supplied. Move on to next.\n\t\t\tcontinue;\n\t\t}\n\t\tvar param = macro.params[index];\n\t\tvar handler = managedMacro[managedArg];\n\t\tvar nestedOptions = Object.create(options);\n\t\tnestedOptions.settings = parser.context;\n\t\tvar entry = handler.report(param.value, function(title, blurb) {\n\t\t\tvar rtn = managedArg;\n\t\t\tif (blurb) {\n\t\t\t\trtn += ': \&quot;' + blurb + '\&quot;';\n\t\t\t}\n\t\t\tcallback(title, '&lt;&lt;' + macro.name + ' ' + rtn + '&gt;&gt;');\n\t\t}, nestedOptions);\n\t}\n};\n\n/**Processes the given macro,\n * macro: {name:, params:, start:, end:}\n * each parameters: {name:, end:, value:}\n * Macro invocation returned is the same, but relinked, and may have new keys:\n * parameters: {type: macro, start:, newValue: (quoted replacement value)}\n * Output of the returned entry isn't a string, but a macro object. It needs\n * to be converted.\n */\nfunction relinkMacroInvocation(parser, macro, text, fromTitle, toTitle, mayBeWidget, options) {\n\tvar managedMacro = parser.context.getMacro(macro.name);\n\tvar modified = false;\n
&quot;module-type&quot;: &quot;relinkwikitextrule&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/macrodef.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/macrodef.js&quot;,
&quot;text&quot;: &quot;/*\\\nmodule-type: relinkwikitextrule\n\nHandles pragma macro definitions. Except we only update placeholder macros\nthat we may have previously install.\n\n\\define relink-?() Tough title\n\n\\*/\n\nvar utils = require(\&quot;$:/plugins/flibbles/relink/js/utils\&quot;);\nvar VariableContext = utils.getContext('variable');\n\nexports.name = \&quot;macrodef\&quot;;\n\nexports.report = function(text, callback, options) {\n\tvar setParseTreeNode = this.parse(),\n\t\tm = this.match,\n\t\tname = m[1];\n\tthis.parser.context = new VariableContext(this.parser.context, setParseTreeNode[0]);\n\t// Parse set the pos pointer, but we don't want to skip the macro body.\n\tthis.parser.pos = this.matchRegExp.lastIndex;\n\tvar endMatch = getBodyMatch(text, this.parser.pos, m[3]);\n\tif (endMatch) {\n\t\tvar value = endMatch[2],\n\t\t\thandler = utils.getType(getActiveType(name, m[2]) || 'wikitext');\n\t\tif (handler) {\n\t\t\tvar entry = handler.report(value, function(title, blurb) {\n\t\t\t\tvar macroStr = '\\\\define ' + name + '()';\n\t\t\t\tif (blurb) {\n\t\t\t\t\tmacroStr += ' ' + blurb;\n\t\t\t\t}\n\t\t\t\tcallback(title, macroStr);\n\t\t\t}, options);\n\t\t}\n\t\tthis.parser.pos = endMatch.index + endMatch[0].length;\n\t}\n};\n\nexports.relink = function(text, fromTitle, toTitle, options) {\n\tvar setParseTreeNode = this.parse(),\n\t\tentry,\n\t\tm = this.match,\n\t\tname = m[1],\n\t\tparams = m[2],\n\t\tmultiline = m[3];\n\tthis.parser.context = new VariableContext(this.parser.context, setParseTreeNode[0]);\n\t// Parse set the pos pointer, but we don't want to skip the macro body.\n\tthis.parser.pos = this.matchRegExp.lastIndex;\n\tvar endMatch = getBodyMatch(text, this.parser.pos, multiline);\n\tif (endMatch) {\n\t\tvar value = endMatch[2],\n\t\t\ttype = getActiveType(name, params),\n\t\t\thandler = utils.getType(type || 'wikitext');\n\t\tif (handler) {\n\t\t\t// If this is an active relink placeholder, then let's remember it\n\t\t\tif (type &amp;&amp; options.placeholder) {\n\t\t\t\toptions.placeholder.registerExisting(name, value);\n\t\t\t}\n\t\t\t// Relink the contents\n\t\t\tentry = handler.relink(value, fromTitle, toTitle, options);\n\t\t\tif (entry &amp;&amp; entry.output) {\n\t\t\t\tentry.output = m[0] + endMatch[1] + entry.output + endMatch[0];\n\t\t\t}\n\t\t}\n\t\tthis.parser.pos = endMatch.index + endMatch[0].length;\n\t}\n\treturn entry;\n};\n\n// Return another match for the body, but tooled uniquely\n// m[1] = whitespace before body\n// m[2] = body\n// m.index + m[0].length -&gt; end of match\nfunction getBodyMatch(text, pos, isMultiline) {\n\tvar whitespace,\n\t\tvalueRegExp;\n\tif (isMultiline) {\n\t\tvalueRegExp = /\\r?\\n\\\\end[^\\S\\n\\r]*(?:\\r?\\n|$)/mg;\n\t\twhitespace = '';\n\t} else {\n\t\tvalueRegExp = /(?:\\r?\\n|$)/mg;\n\t\tvar newPos = $tw.utils.skipWhiteSpace(text, pos);\n\t\twhitespace = text.substring(pos, newPos);\n\t\tpos = newPos;\n\t}\n\tvalueRegExp.lastIndex = pos;\n\tvar match = valueRegExp.exec(text);\n\tif (match) {\n\t\tmatch[1] = whitespace;\n\t\tmatch[2] = text.substring(pos, match.index);\n\t}\n\treturn match;\n};\n\nfunction getActiveType(macroName, parameters) {\n\tvar placeholder = /^relink-(?:(\\w+)-)?\\d+$/.exec(macroName);\n\t// normal macro or special placeholder?\n\tif (placeholder &amp;&amp; parameters === '') {\n\t\treturn placeholder[1] || 'title';\n\t}\n\treturn undefined;\n};\n&quot;,
&quot;module-type&quot;: &quot;relinkwikitextrule&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/prettylink.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/prettylink.js&quot;,
&quot;text&quot;: &quot;/*\\\nmodule-type: relinkwikitextrule\n\nHandles replacement in wiki text inline rules, like,\n\n[[Introduction]]\n\n[[link description|TiddlerTitle]]\n\n\\*/\n\nvar utils = require(\&quot;./utils.js\&quot;);\n\nexports.name = \&quot;prettylink\&quot;;\n\nexports.report = function(text, callback, options) {\n\tvar text = this.match[1],\n\t\tlink = this.match[2] || text;\n\tif (!$tw.utils.isLinkExternal(link)) {\n\t\tcallback(link, '[[' + text + ']]');\n\t}\n\tthis.parser.pos = this.matchRegExp.lastIndex;\n};\n\nexports.relink = function(text, fromTitle, toTitle, options) {\n\tthis.parser.pos = this.matchRegExp.lastIndex;\n\tvar caption, m = this.match;\n\tif (m[2] === fromTitle) {\n\t\t// format is [[caption|MyTiddler]]\n\t\tcaption = m[1];\n\t} else if (m[2] !== undefined || m[1] !== fromTitle) {\n\t\t// format is [[MyTiddler]], and it doesn't match\n\t\treturn undefined;\n\t}\n\tvar entry = { output: utils.makePrettylink(this.parser, toTitle, caption) };\n\tif (entry.output === undefined) {\n\t\tentry.impossible = true;\n\t}\n\treturn entry;\n};\n&quot;,
&quot;module-type&quot;: &quot;relinkwikitextrule&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/relink.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/relink.js&quot;,
&quot;text&quot;: &quot;/*\\\nmodule-type: wikirule\n\nThis defines the \\relink inline pragma used to locally declare\nrelink rules for macros.\n\nIt takes care of providing its own relink and report rules.\n\n\\*/\n\nvar utils = require('$:/plugins/flibbles/relink/js/utils.js');\nvar language = require('$:/plugins/flibbles/relink/js/language.js');\n\nexports.name = \&quot;relink\&quot;;\nexports.types = {pragma: true};\n\nexports.init = function(parser) {\n\tthis.parser = parser;\n\tthis.matchRegExp = /^\\\\relink[^\\S\\n]+([^(\\s]+)([^\\r\\n]*)(\\r?\\n)?/mg;\n};\n\n/**This makes the widget that the macro library will later parse to determine\n * new macro relink state.\n *\n * It's a &lt;$set&gt; widget so it can appear BEFORE \\define pragma and not\n * prevent that pragma from being scooped up by importvariables.\n * (importvariables stops scooping as soon as it sees something besides $set) */\nexports.parse = function() {\n\tthis.parser.pos = this.matchRegExp.lastIndex;\n\tvar macroName;\n\tvar macroParams = Object.create(null);\n\tvar error = undefined;\n\tvar rtn = [];\n\tvar self = this;\n\tthis.interpretSettings(function(macro, parameter, type) {\n\t\tmacroName = macro;\n\t\tif (type &amp;&amp; !utils.getType(type)) {\n\t\t\terror = language.getString(\&quot;Error/UnrecognizedType\&quot;,\n\t\t\t\t{variables: {type: type}, wiki: self.parser.wiki});\n\t\t}\n\t\tmacroParams[parameter] = type;\n\t});\n\t// If no macroname. Return nothing, this rule will be ignored by parsers\n\tif (macroName) {\n\t\tvar relink = Object.create(null);\n\t\trelink[macroName] = macroParams;\n\t\trtn.push({\n\t\t\ttype: \&quot;set\&quot;,\n\t\t\tattributes: {\n\t\t\t\tname: {type: \&quot;string\&quot;, value: \&quot;\&quot;}\n\t\t\t},\n\t\t\tchildren: [],\n\t\t\tisMacroDefinition: true,\n\t\t\trelink: relink});\n\t}\n\tif (error) {\n\t\trtn.push({\n\t\t\ttype: \&quot;element\&quot;, tag: \&quot;span\&quot;, attributes: {\n\t\t\t\t\&quot;class\&quot;: {\n\t\t\t\t\ttype: \&quot;string\&quot;,\n\t\t\t\t\tvalue: \&quot;tc-error tc-relink-error\&quot;\n\t\t\t\t}\n\t\t\t}, children: [\n\t\t\t\t{type: \&quot;text\&quot;, text: error}\n\t\t\t]});\n\t}\n\treturn rtn;\n};\n\nexports.relink = function(text, fromTitle, toTitle, options) {\n\tvar parser = this.parser;\n\tvar currentTiddler = parser.context.widget.variables.currentTiddler.value;\n\tparser.pos = this.matchRegExp.lastIndex;\n\tthis.interpretSettings(function(macro, parameter, type) {\n\t\toptions.settings.addSetting(parser.wiki, macro, parameter, type, currentTiddler);\n\t});\n\t// Return nothing, because this rule is ignored by the parser\n\treturn undefined;\n};\n\nexports.interpretSettings = function(block) {\n\tvar paramString = this.match[2];\n\tif (paramString !== \&quot;\&quot;) {\n\t\tvar macro = this.match[1];\n\t\tvar reParam = /\\s*([A-Za-z0-9\\-_]+)(?:\\s*:\\s*([^\\s]+))?/mg;\n\t\tvar paramMatch = reParam.exec(paramString);\n\t\twhile (paramMatch) {\n\t\t\tvar parameter = paramMatch[1];\n\t\t\tvar type = paramMatch[2];\n\t\t\tblock(macro, parameter, type);\n\t\t\tparamMatch = reParam.exec(paramString);\n\t\t}\n\t}\n};\n&quot;,
&quot;module-type&quot;: &quot;wikirule&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/rules.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/rules.js&quot;,
&quot;text&quot;: &quot;/*\\\nmodule-type: relinkwikitextrule\n\nParses and acknowledges any pragma rules a tiddler has.\n\n\\rules except html wikilink\n\n\\*/\n\nexports.name = \&quot;rules\&quot;;\n\n/**This is all we have to do. The rules rule doesn't parse. It just amends\n * the rules, which is exactly what I want it to do too.\n * It also takes care of moving the pos pointer forward.\n */\nexports.relink = function() {\n\tthis.parse();\n\treturn undefined;\n};\n\n// Same deal\nexports.report = exports.relink;\n&quot;,
&quot;module-type&quot;: &quot;relinkwikitextrule&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/syslink.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/syslink.js&quot;,
&quot;text&quot;: &quot;/*\\\nmodule-type: relinkwikitextrule\n\nHandles sys links\n\n$:/sys/link\n\nbut not:\n\n~$:/sys/link\n\n\\*/\n\nvar utils = require(\&quot;./utils.js\&quot;);\n\nexports.name = \&quot;syslink\&quot;;\n\nexports.report = function(text, callback, options) {\n\tvar title = this.match[0];\n\tthis.parser.pos = this.matchRegExp.lastIndex;\n\tif (title[0] !== \&quot;~\&quot;) {\n\t\tcallback(title, '~' + title);\n\t}\n};\n\nexports.relink = function(text, fromTitle, toTitle, options) {\n\tvar entry = undefined;\n\tthis.parser.pos = this.matchRegExp.lastIndex;\n\tif (this.match[0] === fromTitle &amp;&amp; this.match[0][0] !== \&quot;~\&quot;) {\n\t\tentry = {output: this.makeSyslink(toTitle, options)};\n\t\tif (entry.output === undefined) {\n\t\t\tentry.impossible = true;\n\t\t}\n\t}\n\treturn entry;\n};\n\nexports.makeSyslink = function(title, options) {\n\tvar match = title.match(this.matchRegExp);\n\tif (match &amp;&amp; match[0] === title &amp;&amp; title[0] !== \&quot;~\&quot;) {\n\t\treturn title;\n\t} else {\n\t\treturn utils.makePrettylink(this.parser, title);\n\t}\n};\n&quot;,
&quot;module-type&quot;: &quot;relinkwikitextrule&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/transclude.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/transclude.js&quot;,
&quot;text&quot;: &quot;/*\\\nmodule-type: relinkwikitextrule\n\nHandles replacement of transclusions in wiki text like,\n\n{{RenamedTiddler}}\n{{RenamedTiddler||TemplateTitle}}\n\nThis renames both the tiddler and the template field.\n\n\\*/\n\nvar refHandler = require(\&quot;$:/plugins/flibbles/relink/js/fieldtypes/reference\&quot;);\nvar utils = require(\&quot;./utils.js\&quot;);\n\nexports.name = ['transcludeinline', 'transcludeblock'];\n\nexports.report = function(text, callback, options) {\n\tvar m = this.match,\n\t\trefString = $tw.utils.trim(m[1]),\n\t\tref = parseTextReference(refString);\n\t\ttemplate = $tw.utils.trim(m[2]);\n\tif (ref.title) {\n\t\tvar suffix = '';\n\t\tif (ref.index) {\n\t\t\tsuffix = '##' + ref.index;\n\t\t} else if (ref.field) {\n\t\t\tsuffix = '!!' + ref.field;\n\t\t}\n\t\tif (template) {\n\t\t\tsuffix = suffix + '||' + template;\n\t\t}\n\t\tcallback(ref.title, '{{' + suffix + '}}')\n\t}\n\tif (template) {\n\t\tcallback(template, '{{' + refString + '||}}');\n\t}\n\tthis.parser.pos = this.matchRegExp.lastIndex;\n};\n\nexports.relink = function(text, fromTitle, toTitle, options) {\n\tvar m = this.match,\n\t\treference = parseTextReference(m[1]),\n\t\ttemplate = m[2],\n\t\tentry = undefined,\n\t\tmodified = false;\n\tthis.parser.pos = this.matchRegExp.lastIndex;\n\tif ($tw.utils.trim(reference.title) === fromTitle) {\n\t\t// preserve user's whitespace\n\t\treference.title = reference.title.replace(fromTitle, toTitle);\n\t\tmodified = true;\n\t}\n\tif ($tw.utils.trim(template) === fromTitle) {\n\t\ttemplate = template.replace(fromTitle, toTitle);\n\t\tmodified = true;\n\t}\n\tif (modified) {\n\t\tvar output = this.makeTransclude(this.parser, reference, template);\n\t\tif (output) {\n\t\t\t// Adding any newline that might have existed is\n\t\t\t// what allows this relink method to work for both\n\t\t\t// the block and inline filter wikitext rule.\n\t\t\tentry = {output: output + utils.getEndingNewline(m[0])};\n\t\t} else {\n\t\t\tentry = {impossible: true}\n\t\t}\n\t}\n\treturn entry;\n};\n\n// I have my own because the core one is deficient for my needs.\nfunction parseTextReference(textRef) {\n\t// Separate out the title, field name and/or JSON indices\n\tvar reTextRef = /^([\\w\\W]*?)(?:!!(\\S[\\w\\W]*)|##(\\S[\\w\\W]*))?$/g;\n\t\tmatch = reTextRef.exec(textRef),\n\t\tresult = {};\n\tif(match) {\n\t\t// Return the parts\n\t\tresult.title = match[1];\n\t\tresult.field = match[2];\n\t\tresult.index = match[3];\n\t} else {\n\t\t// If we couldn't parse it\n\t\tresult.title = textRef\n\t}\n\treturn result;\n};\n\n/** This converts a reference and a template into a string representation\n * of a transclude.\n */\nexports.makeTransclude = function(parser, reference, template) {\n\tvar rtn;\n\tif (!canBePrettyTemplate(template)) {\n\t\tvar widget = utils.makeWidget(parser, '$transclude', {\n\t\t\ttiddler: $tw.utils.trim(template),\n\t\t\tfield: reference.field,\n\t\t\tindex: reference.index});\n\t\tif (reference.title &amp;&amp; widget !== undefined) {\n\t\t\trtn = utils.makeWidget(parser, '$tiddler', {tiddler: $tw.utils.trim(reference.title)}, widget);\n\t\t} else {\n\t\t\trtn = widget;\n\t\t}\n\t} else if (!canBePrettyTitle(reference.title)) {\n\t\t// This block and the next account for the 1%...\n\t\tvar reducedRef = {field: reference.field, index: reference.index};\n\t\trtn = utils.makeWidget(parser, '$tiddler', {tiddler: $tw.utils.trim(reference.title)}, prettyTransclude(reducedRef, template));\n\t} else {\n\t\t// This block takes care of 99% of all cases\n\t\trtn = prettyTransclude(reference, template);\n\t}\n\treturn rtn;\n};\n\nfunction canBePrettyTitle(value) {\n\treturn refHandler.canBePretty(value) &amp;&amp; canBePrettyTemplate(value);\n};\n\nfunction canBePrettyTemplate(value) {\n\treturn !value || (value.indexOf('}') &lt; 0 &amp;&amp; value.indexOf('{') &lt; 0 &amp;&amp; value.indexOf('|') &lt; 0);\n};\n\nfunction prettyTransclude(textReference, template) {\n\tif (typeof textReference !== \&quot;string\&quot;) {\n\t\ttextReference = refHandler.toString(textReference);\n\t
&quot;module-type&quot;: &quot;relinkwikitextrule&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/utils.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/utils.js&quot;,
&quot;text&quot;: &quot;/*\\\nmodule-type: library\n\nUtility methods for the wikitext relink rules.\n\n\\*/\n\nexports.makeWidget = function(parser, tag, attributes, body) {\n\tif (!parser.context.allowWidgets()) {\n\t\treturn undefined;\n\t}\n\tvar string = '&lt;' + tag;\n\tfor (var attr in attributes) {\n\t\tvar value = attributes[attr];\n\t\tif (value !== undefined) {\n\t\t\tvar quoted = exports.wrapAttributeValue(value);\n\t\t\tif (!quoted) {\n\t\t\t\tif (!parser.options.placeholder) {\n\t\t\t\t\t// It's not possible to make this widget\n\t\t\t\t\treturn undefined;\n\t\t\t\t}\n\t\t\t\tvar category = getPlaceholderCategory(parser.context, tag, attr);\n\t\t\t\tquoted = '&lt;&lt;' + parser.placeholder.getPlaceholderFor(value, category) + '&gt;&gt;';\n\t\t\t}\n\t\t\tstring += ' ' + attr + '=' + quoted;\n\t\t}\n\t}\n\tif (body !== undefined) {\n\t\tstring += '&gt;' + body + '&lt;/' + tag + '&gt;';\n\t} else {\n\t\tstring += '/&gt;';\n\t}\n\treturn string;\n};\n\nfunction getPlaceholderCategory(context, tag, attribute) {\n\tvar element = context.getAttribute(tag);\n\tvar rule = element &amp;&amp; element[attribute];\n\t// titles go to relink-\\d\n\t// plaintext goes to relink-plaintext-\\d\n\t// because titles are way more common, also legacy\n\tif (rule === undefined) {\n\t\treturn 'plaintext';\n\t} else {\n\t\trule = rule.fields.text;\n\t\tif (rule === 'title') {\n\t\t\trule = undefined;\n\t\t}\n\t\treturn rule;\n\t}\n};\n\nexports.makePrettylink = function(parser, title, caption) {\n\tvar output;\n\tif (parser.context.allowPrettylinks() &amp;&amp; canBePrettylink(title, caption)) {\n\t\tif (caption !== undefined) {\n\t\t\toutput = \&quot;[[\&quot; + caption + \&quot;|\&quot; + title + \&quot;]]\&quot;;\n\t\t} else {\n\t\t\toutput = \&quot;[[\&quot; + title + \&quot;]]\&quot;;\n\t\t}\n\t} else if (caption !== undefined) {\n\t\tvar safeCaption = sanitizeCaption(parser, caption);\n\t\tif (safeCaption !== undefined) {\n\t\t\toutput = exports.makeWidget(parser, '$link', {to: title}, safeCaption);\n\t\t}\n\t} else if (exports.shorthandPrettylinksSupported(parser.wiki)) {\n\t\toutput = exports.makeWidget(parser, '$link', {to: title});\n\t} else if (parser.context.allowWidgets() &amp;&amp; parser.placeholder) {\n\t\t// If we don't have a caption, we must resort to\n\t\t// placeholders anyway to prevent link/caption desync\n\t\t// from later relinks.\n\t\t// It doesn't matter whether the tiddler is quotable.\n\t\tvar ph = parser.placeholder.getPlaceholderFor(title);\n\t\toutput = \&quot;&lt;$link to=&lt;&lt;\&quot;+ph+\&quot;&gt;&gt;&gt;&lt;$text text=&lt;&lt;\&quot;+ph+\&quot;&gt;&gt;/&gt;&lt;/$link&gt;\&quot;;\n\t}\n\treturn output;\n};\n\n/**In version 5.1.20, Tiddlywiki made it so &lt;$link to\&quot;something\&quot; /&gt; would\n * use \&quot;something\&quot; as a caption. This is preferable. However, Relink works\n * going back to 5.1.14, so we need to have different handling for both\n * cases.\n */\nvar _supported;\nexports.shorthandPrettylinksSupported = function(wiki) {\n\tif (_supported === undefined) {\n\t\tvar test = wiki.renderText(\&quot;text/plain\&quot;, \&quot;text/vnd.tiddlywiki\&quot;, \&quot;&lt;$link to=test/&gt;\&quot;);\n\t\t_supported = (test === \&quot;test\&quot;);\n\t}\n\treturn _supported;\n};\n\n/**Return true if value can be used inside a prettylink.\n */\nfunction canBePrettylink(value, customCaption) {\n\treturn value.indexOf(\&quot;]]\&quot;) &lt; 0 &amp;&amp; value[value.length-1] !== ']' &amp;&amp; (customCaption !== undefined || value.indexOf('|') &lt; 0);\n};\n\nfunction sanitizeCaption(parser, caption) {\n\tvar plaintext = parser.wiki.renderText(\&quot;text/plain\&quot;, \&quot;text/vnd.tiddlywiki\&quot;, caption);\n\tif (plaintext === caption &amp;&amp; caption.indexOf(\&quot;&lt;/$link&gt;\&quot;) &lt;= 0) {\n\t\treturn caption;\n\t} else {\n\t\treturn exports.makeWidget(parser, '$text', {text: caption});\n\t}\n};\n\n/**Finds an appropriate quote mark for a given value.\n *\n *Tiddlywiki doesn't have escape characters for attribute values. Instead,\n * we just have to find th
&quot;module-type&quot;: &quot;library&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/wikilink.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/js/relinkoperations/text/wikitext/wikilink.js&quot;,
&quot;text&quot;: &quot;/*\\\nmodule-type: relinkwikitextrule\n\nHandles CamelCase links\n\nWikiLink\n\nbut not:\n\n~WikiLink\n\n\\*/\n\nvar utils = require(\&quot;./utils.js\&quot;);\n\nexports.name = \&quot;wikilink\&quot;;\n\nexports.report = function(text, callback, options) {\n\tvar title = this.match[0],\n\t\tunlink = $tw.config.textPrimitives.unWikiLink;\n\tthis.parser.pos = this.matchRegExp.lastIndex;\n\tif (title[0] !== unlink) {\n\t\tcallback(title, unlink + title);\n\t}\n};\n\nexports.relink = function(text, fromTitle, toTitle, options) {\n\tvar entry = undefined,\n\t\ttitle = this.match[0];\n\tthis.parser.pos = this.matchRegExp.lastIndex;\n\tif (title === fromTitle &amp;&amp; title[0] !== $tw.config.textPrimitives.unWikiLink) {\n\t\tentry = { output: this.makeWikilink(toTitle, options) };\n\t\tif (entry.output === undefined) {\n\t\t\tentry.impossible = true;\n\t\t}\n\t}\n\treturn entry;\n};\n\nexports.makeWikilink = function(title, options) {\n\tif (title.match(this.matchRegExp) &amp;&amp; title[0] !== $tw.config.textPrimitives.unWikiLink) {\n\t\treturn title;\n\t} else {\n\t\treturn utils.makePrettylink(this.parser, title);\n\t}\n};\n&quot;,
&quot;module-type&quot;: &quot;relinkwikitextrule&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/plugins/flibbles/relink/js/settings.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/js/settings.js&quot;,
&quot;text&quot;: &quot;/*\\\nmodule-type: library\n\nThis handles the fetching and distribution of relink settings.\n\n\\*/\n\nvar utils = require('./utils');\n\n///// Legacy. You used to be able to access the type from utils.\nexports.getType = utils.getType;\n/////\n&quot;,
&quot;module-type&quot;: &quot;library&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/plugins/flibbles/relink/js/utils.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/js/utils.js&quot;,
&quot;text&quot;: &quot;/*\\\nmodule-type: library\n\nUtility methods for relink.\n\n\\*/\n\nvar macroFilter = \&quot;[[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]\&quot;;\n\n/**This works nearly identically to $tw.modules.getModulesByTypeAsHashmap\n * except that this also takes care of migrating V1 relink modules.\n */\nexports.getModulesByTypeAsHashmap = function(moduleType, nameField) {\n\tvar results = Object.create(null);\n\t$tw.modules.forEachModuleOfType(moduleType, function(title, module) {\n\t\tvar key = module[nameField];\n\t\tif (key !== undefined) {\n\t\t\tresults[key] = module;\n\t\t} else {\n\t\t\tfor (var entry in module) {\n\t\t\t\tresults[entry] = {\n\t\t\t\t\trelink: module[entry],\n\t\t\t\t\treport: function() {}};\n\t\t\t}\n\t\t}\n\t});\n\treturn results;\n};\n\nexports.getTiddlerRelinkReferences = function(wiki, title, context) {\n\tvar tiddler = wiki.getTiddler(title),\n\t\treferences = Object.create(null),\n\t\toptions = {settings: context, wiki: wiki};\n\tif (tiddler) {\n\t\ttry {\n\t\t\tfor (var relinker in getRelinkOperators()) {\n\t\t\t\tgetRelinkOperators()[relinker].report(tiddler, function(title, blurb) {\n\t\t\t\t\treferences[title] = references[title] || [];\n\t\t\t\t\treferences[title].push(blurb);\n\t\t\t\t}, options);\n\t\t\t}\n\t\t} catch (e) {\n\t\t\tif (e.message) {\n\t\t\t\te.message = e.message + \&quot;\\nWhen reporting '\&quot; + title + \&quot;' Relink references\&quot;;\n\t\t\t}\n\t\t\tthrow e;\n\t\t}\n\t}\n\treturn references;\n};\n\n/** Returns a pair like this,\n * { title: {field: entry, ... }, ... }\n */\nexports.getRelinkResults = function(wiki, fromTitle, toTitle, context, tiddlerList, options) {\n\toptions = options || {};\n\toptions.wiki = options.wiki || wiki;\n\tfromTitle = (fromTitle || \&quot;\&quot;).trim();\n\ttoTitle = (toTitle || \&quot;\&quot;).trim();\n\tvar changeList = Object.create(null);\n\tif(fromTitle &amp;&amp; toTitle) {\n\t\tif (tiddlerList === undefined) {\n\t\t\ttiddlerList = wiki.getRelinkableTitles();\n\t\t}\n\t\tfor (var i = 0; i &lt; tiddlerList.length; i++) {\n\t\t\tvar title = tiddlerList[i];\n\t\t\tvar tiddler = wiki.getTiddler(title);\n\t\t\tif(tiddler &amp;&amp; !tiddler.fields[\&quot;plugin-type\&quot;]) {\n\t\t\t\ttry {\n\t\t\t\t\tvar entries = Object.create(null),\n\t\t\t\t\t\toperators = getRelinkOperators();\n\t\t\t\t\toptions.settings = new Contexts.tiddler(wiki, context, title);\n\t\t\t\t\tfor (var operation in operators) {\n\t\t\t\t\t\toperators[operation].relink(tiddler, fromTitle, toTitle, entries, options);\n\t\t\t\t\t}\n\t\t\t\t\tfor (var field in entries) {\n\t\t\t\t\t\t// So long as there is one key,\n\t\t\t\t\t\t// add it to the change list.\n\t\t\t\t\t\tchangeList[title] = entries;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t} catch (e) {\n\t\t\t\t\t// Should we test for instanceof Error instead?: yes\n\t\t\t\t\t// Does that work in the testing environment?: no\n\t\t\t\t\tif (e.message) {\n\t\t\t\t\t\te.message = e.message + \&quot;\\nWhen relinking '\&quot; + title + \&quot;'\&quot;;\n\t\t\t\t\t}\n\t\t\t\t\tthrow e;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\treturn changeList;\n};\n\nvar Contexts = $tw.modules.applyMethods('relinkcontext');\n\nexports.getContext = function(name) {\n\treturn Contexts[name];\n};\n\nexports.getWikiContext = function(wiki) {\n\t// This gives a fresh context every time. It is up to the indexer or\n\t// the cache to preserve those contexts for as long as needed.\n\tvar whitelist = new Contexts.whitelist(wiki);\n\treturn new Contexts.import(wiki, whitelist, macroFilter);\n};\n\n/** Returns the Relink indexer, or a dummy object which pretends to be one.\n */\nexports.getIndexer = function(wiki) {\n\tif (!wiki._relink_indexer) {\n\t\twiki._relink_indexer = (wiki.getIndexer &amp;&amp; wiki.getIndexer(\&quot;RelinkIndexer\&quot;)) || new (require('$:/plugins/flibbles/relink/js/utils/backupIndexer.js'))(wiki);\n\t}\n\treturn wiki._relink_indexer;\n};\n\n/**Relinking supports a cache that persists throughout a whole relink op.\n * This is because the Tiddlywiki
&quot;module-type&quot;: &quot;library&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/plugins/flibbles/relink/js/utils/backupIndexer.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/js/utils/backupIndexer.js&quot;,
&quot;text&quot;: &quot;/*\\\nmodule-type: library\n\nThis is a backup indexer Relink uses if the real one is disabled, or we're\n&lt;V5.1.23. It's not nearly as good, but it caches some.\n\n\\*/\n\n\&quot;use strict\&quot;;\n\nvar utils = require(\&quot;$:/plugins/flibbles/relink/js/utils.js\&quot;);\nvar TiddlerContext = utils.getContext('tiddler');\n\n// This is the indexer we use if the current wiki doesn't support indexers.\nfunction BackupIndexer(wiki) {\n\tthis.wiki = wiki;\n};\n\nmodule.exports = BackupIndexer;\n\nBackupIndexer.prototype.lookup = function(title) {\n\treturn getCache(this.wiki).lookup[title];\n};\n\nBackupIndexer.prototype.reverseLookup = function(title) {\n\tvar index = getCache(this.wiki);\n\tif (!index.reverse[title]) {\n\t\tvar record = Object.create(null);\n\t\tfor (var other in index.lookup) {\n\t\t\tif (index.lookup[other][title]) {\n\t\t\t\trecord[other] = index.lookup[other][title];\n\t\t\t}\n\t\t}\n\t\tindex.reverse[title] = record;\n\t}\n\treturn index.reverse[title];\n};\n\n/* The backup indexer doesn't bother caching relink reports. It would always\n * be called after a draft tiddler had changed, which would defeat the point.\n */\nBackupIndexer.prototype.relinkLookup = function(fromTitle, toTitle, options) {\n\tvar cache = getCache(this.wiki);\n\tif (cache.lastRelinkFrom === fromTitle &amp;&amp; cache.lastRelinkTo === toTitle) {\n\t\toptions.cache = cache.lastRelinkCache;\n\t\treturn cache.lastRelink;\n\t}\n\tcache.lastRelink = utils.getRelinkResults(this.wiki, fromTitle, toTitle, cache.context, undefined, options);\n\tcache.lastRelinkFrom = fromTitle;\n\tcache.lastRelinkTo = toTitle;\n\tcache.lastRelinkCache = options.cache;\n\treturn cache.lastRelink;\n};\n\nfunction getCache(wiki) {\n\treturn wiki.getGlobalCache('relink', function() {\n\t\tvar tiddlerList = wiki.getRelinkableTitles();\n\t\tvar index = Object.create(null);\n\t\tvar wikiContext = utils.getWikiContext(wiki);\n\t\tfor (var i = 0; i &lt; tiddlerList.length; i++) {\n\t\t\tvar title = tiddlerList[i];\n\t\t\tvar tiddler = wiki.getTiddler(title);\n\t\t\tif (tiddler &amp;&amp; !tiddler.fields[\&quot;plugin-type\&quot;]) {\n\t\t\t\tvar context = new TiddlerContext(wiki, wikiContext, title);\n\t\t\t\tindex[title] = utils.getTiddlerRelinkReferences(wiki, title, context);\n\t\t\t}\n\t\t}\n\t\treturn {\n\t\t\tlookup: index,\n\t\t\treverse: Object.create(null),\n\t\t\tcontext: wikiContext};\n\t});\n};\n&quot;,
&quot;module-type&quot;: &quot;library&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/plugins/flibbles/relink/js/utils/entry.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/js/utils/entry.js&quot;,
&quot;text&quot;: &quot;/*\\\n\nEntries are deprecated. Don't use them. These classes are here just so that\nany 3rd party modules built for Relink V1 don't break.\n\nJust return an object like, {output: \&quot;string\&quot;, impossible: true|undefined}\n\n\\*/\n\nfunction EntryNode() {\n\tthis.children = [];\n};\n\nmodule.exports = EntryNode;\n\n/** PURE VIRTUAL\n * EntryNode.prototype.report = function() -&gt; [\&quot;string\&quot;, ...]\n */\n\nEntryNode.newType = function() {\n\treturn EntryNode;\n};\n\nEntryNode.prototype.add = function(entry) {\n\tthis.children.push(entry);\n};\n\nfunction EntryCollection() {\n\tthis.children = Object.create(null);\n\tthis.types = Object.create(null);\n};\n\nEntryNode.newCollection = function(name) {\n\treturn EntryCollection;\n};\n\n// Again. I reiterate. Don't use this. All this is just legacy support.\nObject.defineProperty(EntryCollection, 'impossible', {\n\tget: function() {\n\t\tvar imp = this._impossible;\n\t\tthis.eachChild(function(child) { imp = imp || child.impossible; });\n\t\treturn imp;\n\t},\n\tset: function(impossible) {\n\t\tthis._impossible = true;\n\t}\n});\n\nEntryCollection.prototype.eachChild = function(method) {\n\tfor (var child in this.children) {\n\t\tmethod(this.children[child]);\n\t}\n};\n\nEntryCollection.prototype.addChild = function(child, name, type) {\n\tthis.children[name] = child;\n\tthis.types[name] = type;\n};\n\nEntryCollection.prototype.hasChildren = function() {\n\treturn Object.keys(this.children).length &gt; 0;\n};\n&quot;,
&quot;module-type&quot;: &quot;library&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/plugins/flibbles/relink/js/utils/placeholder.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/js/utils/placeholder.js&quot;,
&quot;text&quot;: &quot;/*\\\n\nA method which doles out placeholders when requested, and constructs\nthe necessary supporting pragma when requested.\n\n\\*/\n\nvar utils = require('../utils');\n\nfunction Placeholder() {\n\tthis.placeholders = Object.create(null);\n\tthis.reverseMap = {};\n\tthis.used = Object.create(null);\n};\n\nmodule.exports = Placeholder;\n\nPlaceholder.prototype.getPlaceholderFor = function(value, category) {\n\tthis.reverseMap[category] = this.reverseMap[category] || Object.create(null);\n\tvar placeholder = this.reverseMap[category][value];\n\tif (placeholder) {\n\t\treturn placeholder;\n\t}\n\tvar config = (this.parser &amp;&amp; this.parser.context) || utils.getWikiContext(this.parser.wiki);\n\tvar number = 0;\n\tvar prefix = \&quot;relink-\&quot;\n\tif (category &amp;&amp; category !== \&quot;title\&quot;) {\n\t\t// I don't like \&quot;relink-title-1\&quot;. \&quot;relink-1\&quot; should be for\n\t\t// titles. lists, and filters can have descriptors though.\n\t\tprefix += category + \&quot;-\&quot;;\n\t}\n\tdo {\n\t\tnumber += 1;\n\t\tplaceholder = prefix + number;\n\t} while (config.getMacroDefinition(placeholder) || this.used[placeholder]);\n\tthis.placeholders[placeholder] = value;\n\tthis.reverseMap[category][value] = placeholder;\n\tthis.used[placeholder] = true;\n\treturn placeholder;\n};\n\n// For registering placeholders that already existed\nPlaceholder.prototype.registerExisting = function(key, value) {\n\tthis.reverseMap[value] = key;\n\tthis.used[key] = true;\n};\n\nPlaceholder.prototype.getPreamble = function() {\n\tvar results = [];\n\tvar keys = Object.keys(this.placeholders);\n\tif (keys.length &gt; 0) {\n\t\tkeys.sort();\n\t\tfor (var i = 0; i &lt; keys.length; i++) {\n\t\t\tvar name = keys[i];\n\t\t\tvar val = this.placeholders[name];\n\t\t\tresults.push(\&quot;\\\\define \&quot;+name+\&quot;() \&quot;+val+\&quot;\\n\&quot;);\n\t\t}\n\t}\n\treturn results.join('');\n};\n\n&quot;,
&quot;module-type&quot;: &quot;library&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/plugins/flibbles/relink/js/utils/rebuilder.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/js/utils/rebuilder.js&quot;,
&quot;text&quot;: &quot;/*\\\n\nThis helper class aids in reconstructing an existing string with new parts.\n\n\\*/\n\nfunction Rebuilder(text, start) {\n\tthis.text = text;\n\tthis.index = start || 0;\n\tthis.pieces = [];\n};\n\nmodule.exports = Rebuilder;\n\n/**Pieces must be added consecutively.\n * Start and end are the indices in the old string specifying where to graft\n * in the new piece.\n */\nRebuilder.prototype.add = function(value, start, end) {\n\tthis.pieces.push(this.text.substring(this.index, start), value);\n\tthis.index = end;\n};\n\nRebuilder.prototype.changed = function() {\n\treturn this.pieces.length &gt; 0;\n};\n\nRebuilder.prototype.results = function(end) {\n\tif (this.changed()) {\n\t\tthis.pieces.push(this.text.substring(this.index, end));\n\t\treturn this.pieces.join('');\n\t}\n\treturn undefined;\n};\n&quot;,
&quot;module-type&quot;: &quot;library&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/plugins/flibbles/relink/js/wikimethods.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/js/wikimethods.js&quot;,
&quot;text&quot;: &quot;/*\\\nmodule-type: wikimethod\n\nIntroduces some utility methods used by Relink.\n\n\\*/\n\nvar utils = require(\&quot;./utils.js\&quot;);\n\nexports.getTiddlerRelinkReferences = function(title) {\n\treturn utils.getIndexer(this).lookup(title);\n};\n\nexports.getTiddlerRelinkBackreferences = function(title) {\n\treturn utils.getIndexer(this).reverseLookup(title);\n};\n\nexports.getRelinkableTitles = function() {\n\tvar toUpdate = \&quot;$:/config/flibbles/relink/to-update\&quot;;\n\tvar wiki = this;\n\treturn this.getCacheForTiddler(toUpdate, \&quot;relink-toUpdate\&quot;, function() {\n\t\tvar tiddler = wiki.getTiddler(toUpdate);\n\t\tif (tiddler) {\n\t\t\treturn wiki.compileFilter(tiddler.fields.text);\n\t\t} else {\n\t\t\treturn wiki.allTitles;\n\t\t}\n\t})();\n};\n&quot;,
&quot;module-type&quot;: &quot;wikimethod&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/plugins/flibbles/relink/language/Buttons/Delete/Hint&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/language/Buttons/Delete/Hint&quot;,
&quot;text&quot;: &quot;delete&quot;
},
&quot;$:/plugins/flibbles/relink/language/Buttons/LinkToInline/Hint&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/language/Buttons/LinkToInline/Hint&quot;,
&quot;text&quot;: &quot;go to defining tiddler&quot;
},
&quot;$:/plugins/flibbles/relink/language/Buttons/NewAttribute/Caption&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/language/Buttons/NewAttribute/Caption&quot;,
&quot;text&quot;: &quot;add&quot;
},
&quot;$:/plugins/flibbles/relink/language/Buttons/NewAttribute/Hint&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/language/Buttons/NewAttribute/Hint&quot;,
&quot;text&quot;: &quot;Specify a new widget/element attribute to be updated whenever a tiddler is renamed&quot;
},
&quot;$:/plugins/flibbles/relink/language/Buttons/NewField/Caption&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/language/Buttons/NewField/Caption&quot;,
&quot;text&quot;: &quot;add&quot;
},
&quot;$:/plugins/flibbles/relink/language/Buttons/NewField/Hint&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/language/Buttons/NewField/Hint&quot;,
&quot;text&quot;: &quot;Specify a new field to be updated whenever a tiddler is renamed&quot;
},
&quot;$:/plugins/flibbles/relink/language/Buttons/NewOperator/Caption&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/language/Buttons/NewOperator/Caption&quot;,
&quot;text&quot;: &quot;add&quot;
},
&quot;$:/plugins/flibbles/relink/language/Buttons/NewOperator/Hint&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/language/Buttons/NewOperator/Hint&quot;,
&quot;text&quot;: &quot;Specify a new filter operator to be considered whenever a tiddler is renamed&quot;
},
&quot;$:/plugins/flibbles/relink/language/Buttons/NewParameter/Caption&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/language/Buttons/NewParameter/Caption&quot;,
&quot;text&quot;: &quot;add&quot;
},
&quot;$:/plugins/flibbles/relink/language/Buttons/NewParameter/Hint&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/language/Buttons/NewParameter/Hint&quot;,
&quot;text&quot;: &quot;Specify a new macro parameter to be updated whenever a tiddler is renamed&quot;
},
&quot;$:/plugins/flibbles/relink/language/Error/InvalidAttributeName&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/language/Error/InvalidAttributeName&quot;,
&quot;text&quot;: &quot;Illegal characters in attribute name \&quot;&lt;$text text=&lt;&lt;attributeName&gt;&gt;/&gt;\&quot;. Attributes cannot contain slashes ('/'), closing angle or square brackets ('&gt;' or ']'), quotes or apostrophes ('\&quot;' or \&quot;'\&quot;), equals ('='), or whitespace&quot;
},
&quot;$:/plugins/flibbles/relink/language/Error/InvalidElementName&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/language/Error/InvalidElementName&quot;,
&quot;text&quot;: &quot;Illegal characters in element/widget name \&quot;&lt;$text text=&lt;&lt;elementName&gt;&gt;/&gt;\&quot;. Element tags can only contain letters and the characters hyphen (`-`) and dollar sign (`$`)&quot;
},
&quot;$:/plugins/flibbles/relink/language/Error/InvalidMacroName&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/language/Error/InvalidMacroName&quot;,
&quot;text&quot;: &quot;Illegal characters in macro name \&quot;&lt;$text text=&lt;&lt;macroName&gt;&gt;/&gt;\&quot;. Macros cannot contain whitespace&quot;
},
&quot;$:/plugins/flibbles/relink/language/Error/InvalidParameterName&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/language/Error/InvalidParameterName&quot;,
&quot;text&quot;: &quot;Illegal characters in parameter name \&quot;&lt;$text text=&lt;&lt;parameterName&gt;&gt;/&gt;\&quot;. Parameters can only contain letters, digits, and the characters underscore (`_`) and hyphen (`-`)&quot;
},
&quot;$:/plugins/flibbles/relink/language/Error/RelinkFilterOperator&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/language/Error/RelinkFilterOperator&quot;,
&quot;text&quot;: &quot;Filter Error: Unknown suffix for the 'relink' filter operator&quot;
},
&quot;$:/plugins/flibbles/relink/language/Error/ReportFailedRelinks&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/language/Error/ReportFailedRelinks&quot;,
&quot;text&quot;: &quot;Relink could not update '&lt;&lt;from&gt;&gt;' to '&lt;&lt;to&gt;&gt;' inside the following tiddlers:&quot;
},
&quot;$:/plugins/flibbles/relink/language/Error/UnrecognizedType&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/language/Error/UnrecognizedType&quot;,
&quot;text&quot;: &quot;Relink parse error: Unrecognized field type '&lt;&lt;type&gt;&gt;'&quot;
},
&quot;$:/plugins/flibbles/relink/language/Help/Attributes&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/language/Help/Attributes&quot;,
&quot;text&quot;: &quot;See the &lt;a href={{{[{$:/plugins/flibbles/relink!!demo}addsuffix[#Attributes]]}}}&gt;Attributes documentation page&lt;/a&gt; for details.&quot;
},
&quot;$:/plugins/flibbles/relink/language/Help/Fields&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/language/Help/Fields&quot;,
&quot;text&quot;: &quot;See the &lt;a href={{{[{$:/plugins/flibbles/relink!!demo}addsuffix[#Fields]]}}}&gt;Fields documentation page&lt;/a&gt; for details.&quot;
},
&quot;$:/plugins/flibbles/relink/language/Help/Macros&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/language/Help/Macros&quot;,
&quot;text&quot;: &quot;See the &lt;a href={{{[{$:/plugins/flibbles/relink!!demo}addsuffix[#Macros]]}}}&gt;Macros documentation page&lt;/a&gt; for details.&quot;
},
&quot;$:/plugins/flibbles/relink/language/Help/Operators&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/language/Help/Operators&quot;,
&quot;text&quot;: &quot;See the &lt;a href={{{[{$:/plugins/flibbles/relink!!demo}addsuffix[#Operators]]}}}&gt;Operators documentation page&lt;/a&gt; for details.&quot;
},
&quot;$:/plugins/flibbles/relink/language/TiddlerInfo/References/Caption&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/language/TiddlerInfo/References/Caption&quot;,
&quot;text&quot;: &quot;//Relink// References&quot;
},
&quot;$:/plugins/flibbles/relink/language/TiddlerInfo/References/Description&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/language/TiddlerInfo/References/Description&quot;,
&quot;text&quot;: &quot;The following tiddlers contain fields, links, macros, transclusions, or widgets referencing this one:&quot;
},
&quot;$:/plugins/flibbles/relink/language/TiddlerInfo/References/Empty&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/language/TiddlerInfo/References/Empty&quot;,
&quot;text&quot;: &quot;No tiddlers contain any fields, links, macros, transclusions, or widgets referencing this one&quot;
},
&quot;$:/plugins/flibbles/relink/language/ui/Attributes/Caption&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/language/ui/Attributes/Caption&quot;,
&quot;text&quot;: &quot;Attributes&quot;
},
&quot;$:/plugins/flibbles/relink/language/ui/Fields/Caption&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/language/ui/Fields/Caption&quot;,
&quot;text&quot;: &quot;Fields&quot;
},
&quot;$:/plugins/flibbles/relink/language/ui/Macros/Caption&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/language/ui/Macros/Caption&quot;,
&quot;text&quot;: &quot;Macros&quot;
},
&quot;$:/plugins/flibbles/relink/language/ui/Operators/Caption&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/language/ui/Operators/Caption&quot;,
&quot;text&quot;: &quot;Operators&quot;
},
&quot;$:/plugins/flibbles/relink/license&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/license&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;&lt;a href={{$:/plugins/flibbles/relink!!demo}}&gt;Relink Plugin&lt;/a&gt; Copyright (c) 2019-&lt;&lt;now YYYY&gt;&gt; Cameron Fischer\n\n[[BSD 3-Clause License|https://raw.githubusercontent.com/flibbles/tw5-relink/master/LICENSE]]\n&quot;
},
&quot;$:/plugins/flibbles/relink/readme&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/readme&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;When renaming a tiddler, Relink can update the fields, filters, and widgets\nof all other tiddlers. However, it works through whitelisting.\n\nIt's already configured to update tiddler titles for all core widgets, filters,\nand fields, but the whitelists can be customized for each of this in the\nconfiguration panel.\n\nSee &lt;a href={{$:/plugins/flibbles/relink!!source}}&gt;the tw5-relink website&lt;/a&gt; for more details and examples.\n&quot;
},
&quot;$:/plugins/flibbles/relink/ui/ListItemTemplate&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/ui/ListItemTemplate&quot;,
&quot;text&quot;: &quot;&lt;$set\n\tname=\&quot;classes\&quot;\n\tfilter=\&quot;[&lt;listItem&gt;relink:impossible&lt;toTitle&gt;]\&quot;\n\tvalue=\&quot;tc-menu-list-item tc-relink-impossible\&quot;\n\temptyValue=\&quot;tc-menu-list-item\&quot;&gt;\n&lt;div class=&lt;&lt;classes&gt;&gt;&gt;\n&lt;$link to=&lt;&lt;listItem&gt;&gt;&gt;&lt;$text text=&lt;&lt;listItem&gt;&gt; /&gt;&lt;/$link&gt;\n&lt;/div&gt;\n&lt;/$set&gt;\n&quot;
},
&quot;$:/plugins/flibbles/relink/ui/TiddlerInfo/References&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/ui/TiddlerInfo/References&quot;,
&quot;caption&quot;: &quot;{{$:/plugins/flibbles/relink/language/TiddlerInfo/References/Caption}}&quot;,
&quot;tags&quot;: &quot;$:/tags/TiddlerInfo&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/plugins/flibbles/relink/language/TiddlerInfo/\n\\define filter() [all[current]relink:backreferences[]!title[$:/StoryList]!prefix[$:/temp/]sort[title]]\n&lt;$list filter=\&quot;[subfilter&lt;filter&gt;first[]]\&quot;&gt;\n\n&lt;&lt;lingo References/Description&gt;&gt;\n&lt;/$list&gt;\n\n&lt;table class=\&quot;tc-relink-references-table\&quot;&gt;\n&lt;tbody&gt;\n&lt;$list filter=&lt;&lt;filter&gt;&gt; emptyMessage=&lt;&lt;lingo References/Empty&gt;&gt; variable=\&quot;listItem\&quot; template=\&quot;$:/plugins/flibbles/relink/ui/TiddlerInfo/ReferencesTemplate\&quot; /&gt;\n&lt;/tbody&gt;\n&lt;/table&gt;\n&quot;
},
&quot;$:/plugins/flibbles/relink/ui/TiddlerInfo/ReferencesTemplate&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/ui/TiddlerInfo/ReferencesTemplate&quot;,
&quot;text&quot;: &quot;&lt;tr class=\&quot;tc-relink-references\&quot;&gt;\n&lt;td class=\&quot;tc-relink-references-title\&quot;&gt;\n&lt;$link to=&lt;&lt;listItem&gt;&gt;/&gt;\n&lt;/td&gt;\n&lt;td class=\&quot;tc-relink-references-report\&quot;&gt;\n&lt;$list filter=\&quot;[&lt;listItem&gt;relink:report&lt;currentTiddler&gt;]\&quot;&gt;\n\n&lt;$text text=&lt;&lt;currentTiddler&gt;&gt; /&gt;\n&lt;/$list&gt;\n\n&lt;/td&gt;\n&lt;/tr&gt;\n&quot;
},
&quot;$:/plugins/flibbles/relink/ui/components/button-delete&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/ui/components/button-delete&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/plugins/flibbles/relink/language/Buttons/\n\\define prefix() $:/config/flibbles/relink/\n\n&lt;$list filter=\&quot;[all[current]prefix&lt;prefix&gt;]\&quot; &gt;\n&lt;$button class=\&quot;tc-btn-invisible\&quot; tooltip={{$:/plugins/flibbles/relink/language/Buttons/Delete/Hint}}&gt;&lt;$list filter=\&quot;[all[current]is[tiddler]]\&quot;&gt;\n&lt;$action-deletetiddler $tiddler=&lt;&lt;currentTiddler&gt;&gt; /&gt;\n&lt;/$list&gt;&lt;$list filter=\&quot;[all[current]is[shadow]]\&quot;&gt;\n&lt;$action-setfield $tiddler=&lt;&lt;tiddlerName&gt;&gt; text=\&quot;\&quot; /&gt;\n&lt;/$list&gt;\n{{$:/core/images/delete-button}}\n&lt;/$button&gt;\n&lt;/$list&gt;&lt;$list filter=\&quot;[all[current]!prefix&lt;prefix&gt;]\&quot;&gt;\n&lt;$link&gt;&lt;$button class=\&quot;tc-btn-invisible\&quot; tooltip={{$:/plugins/flibbles/relink/language/Buttons/LinkToInline/Hint}}&gt;{{$:/core/images/link}}&lt;/$button&gt;&lt;/$link&gt;\n&lt;/$list&gt;\n&quot;
},
&quot;$:/plugins/flibbles/relink/ui/components/select-fieldtype&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/ui/components/select-fieldtype&quot;,
&quot;text&quot;: &quot;\\define prefix() $:/config/flibbles/relink/\n\n&lt;$vars type={{{ [&lt;signature&gt;relink:type[]] }}} &gt;\n&lt;$list filter=\&quot;[all[current]prefix&lt;prefix&gt;]\&quot; &gt;\n&lt;$select tiddler=&lt;&lt;currentTiddler&gt;&gt; &gt;\n&lt;$list variable=\&quot;option\&quot; filter=\&quot;[relink:types[]]\&quot;&gt;\n&lt;option&gt;&lt;$text text=&lt;&lt;option&gt;&gt; /&gt;&lt;/option&gt;\n&lt;/$list&gt;\n&lt;/$select&gt;\n&lt;/$list&gt;&lt;$list filter=\&quot;[all[current]!prefix&lt;prefix&gt;]\&quot;&gt;\n&lt;$text text=&lt;&lt;type&gt;&gt; /&gt;\n&lt;/$list&gt;\n&lt;/$vars&gt;\n&quot;
},
&quot;$:/plugins/flibbles/relink/ui/components/tables&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/ui/components/tables&quot;,
&quot;text&quot;: &quot;\\define .make-table(title, plugin, default-table-state:yes)\n\n&lt;$list variable=\&quot;render\&quot; filter=\&quot;[relink:signatures&lt;__plugin__&gt;prefix&lt;__category__&gt;first[]]\&quot;&gt;\n&lt;$set name=\&quot;table-state\&quot; value=&lt;&lt;qualify \&quot;\&quot;\&quot;$:/state/flibbles/relink/tables/$title$\&quot;\&quot;\&quot;&gt;&gt;&gt;\n&lt;tr&gt;&lt;th class=\&quot;tc-relink-header-plugin\&quot; colspan=&lt;&lt;column-count&gt;&gt; &gt;\n&lt;$reveal type=\&quot;nomatch\&quot; state=&lt;&lt;table-state&gt;&gt; text=\&quot;yes\&quot; default=\&quot;\&quot;\&quot;$default-table-state$\&quot;\&quot;\&quot;&gt;\n&lt;$button class=\&quot;tc-btn-invisible tc-btn-dropdown\&quot; set=&lt;&lt;table-state&gt;&gt; setTo=\&quot;yes\&quot;&gt;\n{{$:/core/images/right-arrow}} ''$title$''\n&lt;/$button&gt;\n&lt;/$reveal&gt;\n&lt;$reveal type=\&quot;match\&quot; state=&lt;&lt;table-state&gt;&gt; text=\&quot;yes\&quot; default=\&quot;\&quot;\&quot;$default-table-state$\&quot;\&quot;\&quot;&gt;\n&lt;$button class=\&quot;tc-btn-invisible tc-btn-dropdown\&quot; set=&lt;&lt;table-state&gt;&gt; setTo=\&quot;no\&quot;&gt;\n{{$:/core/images/down-arrow}} ''$title$''\n&lt;/$button&gt;\n&lt;/$reveal&gt;\n&lt;/th&gt;&lt;/tr&gt;\n&lt;$list\n\tvariable=\&quot;signature\&quot;\n\tfilter=\&quot;[relink:signatures&lt;__plugin__&gt;prefix&lt;__category__&gt;sort[]]\&quot;&gt;\n&lt;$vars key={{{ [&lt;signature&gt;removeprefix&lt;__category__&gt;removeprefix[/]] }}} &gt;\n&lt;$tiddler tiddler={{{[&lt;signature&gt;relink:source[]]}}} &gt;\n&lt;$reveal tag=\&quot;tr\&quot; type=\&quot;match\&quot; state=&lt;&lt;table-state&gt;&gt; text=\&quot;yes\&quot; default=\&quot;\&quot;\&quot;$default-table-state$\&quot;\&quot;\&quot;&gt;\n&lt;$macrocall $name=&lt;&lt;__list-row-macro__&gt;&gt; signature=&lt;&lt;signature&gt;&gt; /&gt;\n&lt;td class=\&quot;tc-relink-column-type\&quot;&gt;{{||$:/plugins/flibbles/relink/ui/components/select-fieldtype}}&lt;/td&gt;\n&lt;td class=\&quot;tc-relink-column-delete\&quot;&gt;{{||$:/plugins/flibbles/relink/ui/components/button-delete}}&lt;/td&gt;\n&lt;/$reveal&gt;\n&lt;/$tiddler&gt;\n&lt;/$vars&gt;\n&lt;/$list&gt;\n&lt;/$set&gt;\n&lt;/$list&gt;\n\\end\n\n\\define tables(category, list-row-macro, header-list)\n&lt;$vars\n\tcolumn-count={{{[enlist&lt;__header-list__&gt;] [[DeleteColumn]] +[count[]]}}}&gt;\n\n&lt;table class=\&quot;tc-relink-whitelist\&quot;&gt;&lt;tbody&gt;\n&lt;tr&gt;\n&lt;$list variable=\&quot;header\&quot; filter=\&quot;[enlist&lt;__header-list__&gt;butlast[]]\&quot;&gt;&lt;th&gt;&lt;&lt;header&gt;&gt;&lt;/th&gt;&lt;/$list&gt;\n&lt;!-- We have the last column extend into the delete/link column, which is unlabeled. --&gt;\n&lt;th colspan=2&gt;&lt;$text text={{{ [enlist&lt;__header-list__&gt;last[]] }}} /&gt;&lt;/th&gt;\n&lt;/tr&gt;\n\n&lt;&lt;.make-table Custom \&quot;\&quot; yes&gt;&gt;\n\n&lt;$list\n\tfilter=\&quot;[plugin-type[plugin]![$:/core]![$:/plugins/flibbles/relink]]\&quot;&gt;\n&lt;$set name=\&quot;subtitle\&quot; value={{!!description}} emptyValue={{!!title}} &gt;\n&lt;$macrocall $name=\&quot;.make-table\&quot; title=&lt;&lt;subtitle&gt;&gt; plugin=&lt;&lt;currentTiddler&gt;&gt; /&gt;\n&lt;/$set&gt;\n&lt;/$list&gt;\n\n&lt;&lt;.make-table Core \&quot;$:/plugins/flibbles/relink\&quot;&gt;&gt;\n\n&lt;/tbody&gt;&lt;/table&gt;\n&lt;/$vars&gt;\n\\end\n&quot;
},
&quot;$:/plugins/flibbles/relink/ui/configuration/Attributes&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/ui/configuration/Attributes&quot;,
&quot;caption&quot;: &quot;{{$:/plugins/flibbles/relink/language/ui/Attributes/Caption}}&quot;,
&quot;tags&quot;: &quot;$:/tags/flibbles/relink/Configuration&quot;,
&quot;text&quot;: &quot;\\import $:/plugins/flibbles/relink/ui/components/tables\n\\define prefix-attr() $:/config/flibbles/relink/attributes/\n\\define lingo-base() $:/plugins/flibbles/relink/language/Buttons/\n\\define element-name-tiddler() $:/state/flibbles/relink/element-name\n\\define attribute-name-tiddler() $:/state/flibbles/relink/attribute-name\n\n\\define row()\n&lt;$set name=\&quot;element\&quot;\n filter=\&quot;[&lt;key&gt;splitbefore[/]removesuffix[/]]\&quot;&gt;\n&lt;$set name=\&quot;attribute\&quot;\n filter=\&quot;[&lt;key&gt;removeprefix&lt;element&gt;removeprefix[/]]\&quot;&gt;\n&lt;td&gt;&lt;$text text=&lt;&lt;element&gt;&gt; /&gt;&lt;/td&gt;\n&lt;td&gt;&lt;$text text=&lt;&lt;attribute&gt;&gt; /&gt;&lt;/td&gt;\n&lt;/$set&gt;&lt;/$set&gt;\n\\end\n\\define body()\n\n{{$:/plugins/flibbles/relink/language/Help/Attributes}}\n\n&lt;em class=\&quot;tc-edit\&quot;&gt;Add a new attribute:&lt;/em&gt;\n&lt;$edit-text\n\ttiddler=&lt;&lt;element-name-tiddler&gt;&gt;\n\ttag=\&quot;input\&quot;\n\tdefault=\&quot;\&quot;\n\tplaceholder=\&quot;widget/element\&quot; /&gt;\n&lt;$edit-text\n\ttiddler=&lt;&lt;attribute-name-tiddler&gt;&gt;\n\ttag=\&quot;input\&quot;\n\tdefault=\&quot;\&quot;\n\tplaceholder=\&quot;attribute\&quot; /&gt;\n&lt;$reveal type=\&quot;nomatch\&quot; text=\&quot;\&quot; state=&lt;&lt;element-name-tiddler&gt;&gt; &gt;\n&lt;$reveal type=\&quot;nomatch\&quot; text=\&quot;\&quot; state=&lt;&lt;attribute-name-tiddler&gt;&gt; &gt;\n&lt;$relinkmangler&gt;\n&lt;$button\n\ttooltip={{$(lingo-base)$NewAttribute/Hint}}\n\taria-label={{$(lingo-base)$NewAttribute/Caption}}&gt;\n&lt;$action-sendmessage\n\t$message=\&quot;relink-add-attribute\&quot;\n\telement={{$(element-name-tiddler)$}}\n\tattribute={{$(attribute-name-tiddler)$}} /&gt;\n&lt;$action-deletetiddler $tiddler=&lt;&lt;attribute-name-tiddler&gt;&gt; /&gt;\n&lt;$action-deletetiddler $tiddler=&lt;&lt;element-name-tiddler&gt;&gt; /&gt;\n&lt;$text text={{$(lingo-base)$NewAttribute/Caption}}/&gt;\n&lt;/$button&gt;\n&lt;/$relinkmangler&gt;\n&lt;/$reveal&gt;\n&lt;$reveal type=\&quot;match\&quot; text=\&quot;\&quot; state=&lt;&lt;attribute-name-tiddler&gt;&gt; &gt;\n&lt;$button&gt;\n&lt;$text text={{$(lingo-base)$NewAttribute/Caption}}/&gt;\n&lt;/$button&gt;\n&lt;/$reveal&gt;\n&lt;/$reveal&gt;\n&lt;$reveal type=\&quot;match\&quot; text=\&quot;\&quot; state=&lt;&lt;element-name-tiddler&gt;&gt; &gt;\n&lt;$button&gt;\n&lt;$text text={{$(lingo-base)$NewAttribute/Caption}}/&gt;\n&lt;/$button&gt;\n&lt;/$reveal&gt;\n\n&lt;$macrocall\n\t$name=tables\n\tcategory=\&quot;attributes\&quot;\n\theader-list=\&quot;[[Widget/HTML Element]] Attribute Type\&quot;\n\tlist-row-macro=\&quot;row\&quot; /&gt;\n\\end\n\n&lt;&lt;body&gt;&gt;\n&quot;
},
&quot;$:/plugins/flibbles/relink/ui/configuration/Fields&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/ui/configuration/Fields&quot;,
&quot;caption&quot;: &quot;{{$:/plugins/flibbles/relink/language/ui/Fields/Caption}}&quot;,
&quot;tags&quot;: &quot;$:/tags/flibbles/relink/Configuration&quot;,
&quot;text&quot;: &quot;\\import $:/plugins/flibbles/relink/ui/components/tables\n\\define lingo-base() $:/plugins/flibbles/relink/language/Buttons/\n\\define field-name-tiddler() $:/state/flibbles/relink/field-name\n\n\\define row()\n&lt;td&gt;&lt;$text text=&lt;&lt;key&gt;&gt; /&gt;&lt;/td&gt;\n\\end\n\\define body()\n\n{{$:/plugins/flibbles/relink/language/Help/Fields}}\n\n&lt;em class=\&quot;tc-edit\&quot;&gt;Add a new field:&lt;/em&gt;\n&lt;$edit-text\n\ttiddler=&lt;&lt;field-name-tiddler&gt;&gt;\n\ttag=\&quot;input\&quot;\n\tdefault=\&quot;\&quot;\n\tplaceholder=\&quot;field name\&quot; /&gt;\n&lt;$reveal type=\&quot;nomatch\&quot; text=\&quot;\&quot; state=&lt;&lt;field-name-tiddler&gt;&gt; &gt;\n&lt;$relinkmangler&gt;\n&lt;$button\n\ttooltip={{$(lingo-base)$NewField/Hint}}\n\taria-label={{$(lingo-base)$NewField/Caption}}&gt;\n&lt;$action-sendmessage\n\t$message=\&quot;relink-add-field\&quot;\n\tfield={{$(field-name-tiddler)$}} /&gt;\n&lt;$action-deletetiddler $tiddler=&lt;&lt;field-name-tiddler&gt;&gt; /&gt;\n&lt;$text text={{$(lingo-base)$NewField/Caption}}/&gt;\n&lt;/$button&gt;\n&lt;/$relinkmangler&gt;\n&lt;/$reveal&gt;\n&lt;$reveal type=\&quot;match\&quot; text=\&quot;\&quot; state=&lt;&lt;field-name-tiddler&gt;&gt; &gt;\n&lt;$button&gt;\n&lt;$text text={{$(lingo-base)$NewField/Caption}}/&gt;\n&lt;/$button&gt;\n&lt;/$reveal&gt;\n\n\n&lt;$macrocall\n\t$name=tables\n\tcategory=\&quot;fields\&quot;\n\theader-list=\&quot;[[Field Name]] [[Field Type]]\&quot;\n\tlist-row-macro=\&quot;row\&quot; /&gt;\n\\end\n\n&lt;&lt;body&gt;&gt;\n&quot;
},
&quot;$:/plugins/flibbles/relink/ui/configuration/Macros&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/ui/configuration/Macros&quot;,
&quot;caption&quot;: &quot;{{$:/plugins/flibbles/relink/language/ui/Macros/Caption}}&quot;,
&quot;tags&quot;: &quot;$:/tags/flibbles/relink/Configuration&quot;,
&quot;text&quot;: &quot;\\import $:/plugins/flibbles/relink/ui/components/tables\n\\define prefix-macro() $:/config/flibbles/relink/macros/\n\\define lingo-base() $:/plugins/flibbles/relink/language/Buttons/\n\\define macro-name-tiddler() $:/state/flibbles/relink/macro-name\n\\define parameter-name-tiddler() $:/state/flibbles/relink/parameter-name\n\n\\define row()\n&lt;$set name=\&quot;parameter\&quot;\n filter=\&quot;[&lt;key&gt;relink:splitafter[/]]\&quot;&gt;\n&lt;$set name=\&quot;macro\&quot;\n filter=\&quot;[&lt;key&gt;removesuffix&lt;parameter&gt;removesuffix[/]]\&quot;&gt;\n&lt;td&gt;&lt;$text text=&lt;&lt;macro&gt;&gt; /&gt;&lt;/td&gt;\n&lt;td&gt;&lt;$text text=&lt;&lt;parameter&gt;&gt; /&gt;&lt;/td&gt;\n&lt;/$set&gt;&lt;/$set&gt;\n\\end\n\\define body()\n\n{{$:/plugins/flibbles/relink/language/Help/Macros}}\n\n&lt;em class=\&quot;tc-edit\&quot;&gt;Add a new macro parameter:&lt;/em&gt;\n&lt;$edit-text\n\ttiddler=&lt;&lt;macro-name-tiddler&gt;&gt;\n\ttag=\&quot;input\&quot;\n\tdefault=\&quot;\&quot;\n\tplaceholder=\&quot;macro\&quot; /&gt;\n&lt;$edit-text\n\ttiddler=&lt;&lt;parameter-name-tiddler&gt;&gt;\n\ttag=\&quot;input\&quot;\n\tdefault=\&quot;\&quot;\n\tplaceholder=\&quot;parameter\&quot; /&gt;\n&lt;$reveal type=\&quot;nomatch\&quot; text=\&quot;\&quot; state=&lt;&lt;macro-name-tiddler&gt;&gt; &gt;\n&lt;$reveal type=\&quot;nomatch\&quot; text=\&quot;\&quot; state=&lt;&lt;parameter-name-tiddler&gt;&gt; &gt;\n&lt;$relinkmangler&gt;\n&lt;$button\n\ttooltip={{$(lingo-base)$NewParameter/Hint}}\n\taria-label={{$(lingo-base)$NewParameter/Caption}}&gt;\n&lt;$action-sendmessage\n\t$message=\&quot;relink-add-parameter\&quot;\n\tmacro={{$(macro-name-tiddler)$}}\n\tparameter={{$(parameter-name-tiddler)$}} /&gt;\n&lt;$action-deletetiddler $tiddler=&lt;&lt;parameter-name-tiddler&gt;&gt; /&gt;\n&lt;$action-deletetiddler $tiddler=&lt;&lt;macro-name-tiddler&gt;&gt; /&gt;\n&lt;$text text={{$(lingo-base)$NewParameter/Caption}}/&gt;\n&lt;/$button&gt;\n&lt;/$relinkmangler&gt;\n&lt;/$reveal&gt;\n&lt;$reveal type=\&quot;match\&quot; text=\&quot;\&quot; state=&lt;&lt;parameter-name-tiddler&gt;&gt; &gt;\n&lt;$button&gt;\n&lt;$text text={{$(lingo-base)$NewParameter/Caption}}/&gt;\n&lt;/$button&gt;\n&lt;/$reveal&gt;\n&lt;/$reveal&gt;\n&lt;$reveal type=\&quot;match\&quot; text=\&quot;\&quot; state=&lt;&lt;macro-name-tiddler&gt;&gt; &gt;\n&lt;$button&gt;\n&lt;$text text={{$(lingo-base)$NewParameter/Caption}}/&gt;\n&lt;/$button&gt;\n&lt;/$reveal&gt;\n\n\n&lt;$macrocall\n\t$name=tables\n\tcategory=\&quot;macros\&quot;\n\theader-list=\&quot;Macro Parameter Type\&quot;\n\tlist-row-macro=\&quot;row\&quot; /&gt;\n\\end\n\n&lt;&lt;body&gt;&gt;\n&quot;
},
&quot;$:/plugins/flibbles/relink/ui/configuration/Operators&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/ui/configuration/Operators&quot;,
&quot;caption&quot;: &quot;{{$:/plugins/flibbles/relink/language/ui/Operators/Caption}}&quot;,
&quot;tags&quot;: &quot;$:/tags/flibbles/relink/Configuration&quot;,
&quot;text&quot;: &quot;\\import $:/plugins/flibbles/relink/ui/components/tables\n\\define lingo-base() $:/plugins/flibbles/relink/language/Buttons/\n\\define operator-name-tiddler() $:/state/flibbles/relink/operator-name\n\n\\define row()\n&lt;td&gt;&lt;$text text=&lt;&lt;key&gt;&gt; /&gt;&lt;/td&gt;\n\\end\n\\define body()\n\n{{$:/plugins/flibbles/relink/language/Help/Operators}}\n\n&lt;em class=\&quot;tc-edit\&quot;&gt;Add a new filter operator:&lt;/em&gt;\n&lt;$edit-text\n\ttiddler=&lt;&lt;operator-name-tiddler&gt;&gt;\n\ttag=\&quot;input\&quot;\n\tdefault=\&quot;\&quot;\n\tplaceholder=\&quot;operator name\&quot; /&gt;\n&lt;$reveal type=\&quot;nomatch\&quot; text=\&quot;\&quot; state=&lt;&lt;operator-name-tiddler&gt;&gt;&gt;\n&lt;$relinkmangler&gt;\n&lt;$button\n\ttooltip={{$(lingo-base)$NewOperator/Hint}}\n\taria-label={{$(lingo-base)$NewOperator/Caption}}&gt;\n&lt;$action-sendmessage\n\t$message=\&quot;relink-add-operator\&quot;\n\toperator={{$(operator-name-tiddler)$}} /&gt;\n&lt;$action-deletetiddler $tiddler=&lt;&lt;operator-name-tiddler&gt;&gt; /&gt;\n&lt;$text text={{$(lingo-base)$NewOperator/Caption}}/&gt;\n&lt;/$button&gt;\n&lt;/$relinkmangler&gt;\n&lt;/$reveal&gt;\n&lt;$reveal type=\&quot;match\&quot; text=\&quot;\&quot; state=&lt;&lt;operator-name-tiddler&gt;&gt;&gt;\n&lt;$button&gt;\n&lt;$text text={{$(lingo-base)$NewOperator/Caption}}/&gt;\n&lt;/$button&gt;\n&lt;/$reveal&gt;\n\n&lt;$macrocall\n\t$name=tables\n\tcategory=\&quot;operators\&quot;\n\theader-list=\&quot;[[Filter Operator]] [[Operand Type]]\&quot;\n\tlist-row-macro=\&quot;row\&quot; /&gt;\n\\end\n\n&lt;&lt;body&gt;&gt;\n&quot;
},
&quot;$:/plugins/flibbles/relink/ui/stylesheet.css&quot;: {
&quot;title&quot;: &quot;$:/plugins/flibbles/relink/ui/stylesheet.css&quot;,
&quot;text&quot;: &quot;.tc-relink-references {\n}\n\n.tc-relink-references-table {\n\twidth: 100%;\n\tborder: none;\n}\n\n.tc-relink-references-table td {\n\tborder-left: none;\n}\n\n.tc-relink-references-table tr:first-child td {\n\tborder-top: none;\n}\n\n.tc-relink-references-title {\n\ttext-align: left;\n\tvertical-align: top;\n}\n\n.tc-relink-references-occurrence {\n\tfont-style: italic;\n\ttext-align: left;\n\tfont-weight: 200;\n\tpadding-left: 25px;\n\tvertical-align: top;\n}\n\n.tc-relink-header-plugin {\n\ttext-align: left;\n}\n\n.tc-relink-header-plugin button {\n\twidth: 100%\n}\n\n.tc-relink-column-type {\n\twidth: 8em;\n}\n\n.tc-relink-column-type select {\n\twidth: 100%;\n}\n\n.tc-relink-column-delete {\n\tborder-left: none;\n\ttext-align: left;\n}\n\n.tc-relink-column-delete button {\n\tpadding-left: 1em;\n}\n\n.tc-relink-impossible a.tc-tiddlylink {\n\tcolor: red;\n}\n&quot;,
&quot;tags&quot;: &quot;$:/tags/Stylesheet&quot;,
&quot;type&quot;: &quot;text/css&quot;
}
}
}</pre>
</div>
<div created="20160829124345776" modified="20200517133628092" tags="" title="$:/plugins/frd/simplecalendar/CalendarConfigDefault" type="application/json">
<pre>{
&quot;startingDay&quot;: &quot;0&quot;,
&quot;days&quot;: [&quot;S&quot;, &quot;M&quot;, &quot;T&quot;, &quot;W&quot;, &quot;R&quot;, &quot;F&quot;, &quot;A&quot;],
&quot;months&quot;: [&quot;Jan&quot;, &quot;Feb&quot;, &quot;Mar&quot;, &quot;Apr&quot;, &quot;May&quot;, &quot;Jun&quot;, &quot;Jul&quot;, &quot;Aug&quot;, &quot;Sep&quot;, &quot;Oct&quot;, &quot;Nov&quot;, &quot;Dec&quot;],
&quot;buttons&quot;: &quot;yes&quot;,
&quot;buttonsImages&quot;: [&quot;{{$:/core/images/chevron-left}}&quot;, &quot;{{$:/core/images/left-arrow}}&quot;, &quot;{{$:/core/images/right-arrow}}&quot;, &quot;{{$:/core/images/chevron-right}}&quot;],
&quot;cellContent&quot;: &quot;sc_linkNavigateToOrCreateEditModeJournal&quot;,
&quot;format&quot;: &quot;YYYY-0MM-0DD ddd&quot;
}</pre>
</div>
<div author="ihm4u" core-version="&gt;=5.1.9" created="20210301193448094" dependents="" description="Tidgraph - Easy tiddler graphs for TW5" list="readme changelog documentation" modified="20210301193448094" plugin-type="plugin" source="https://ihm4u.github.io/tw5plugs" title="$:/plugins/ihm/tidgraph" type="application/json" version="0.9.6">
<pre>{
&quot;tiddlers&quot;: {
&quot;$:/plugins/ihm/templates/collapse&quot;: {
&quot;title&quot;: &quot;$:/plugins/ihm/templates/collapse&quot;,
&quot;created&quot;: &quot;20151120174133063&quot;,
&quot;modified&quot;: &quot;20151120180705805&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;&lt;svg version=\&quot;1.1\&quot; xmlns=\&quot;http://www.w3.org/2000/svg\&quot; x=\&quot;0px\&quot;\n\t y=\&quot;0px\&quot; width=\&quot;14px\&quot; height=\&quot;14px\&quot; &gt;\n&lt;circle cx=\&quot;7\&quot; cy=\&quot;7\&quot; r=\&quot;6\&quot; stroke=\&quot;#aeb0b5\&quot; stroke-width=\&quot;1\&quot; fill=\&quot;#aeb0b5\&quot;/&gt;\n&lt;polyline points=\&quot;4,7 10,7\&quot; fill=\&quot;none\&quot; stroke=\&quot;white\&quot;/&gt;\n&lt;/svg&gt;\n&quot;
},
&quot;$:/plugins/ihm/templates/expand&quot;: {
&quot;title&quot;: &quot;$:/plugins/ihm/templates/expand&quot;,
&quot;created&quot;: &quot;20151120174133063&quot;,
&quot;modified&quot;: &quot;20151120180705805&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;&lt;svg version=\&quot;1.1\&quot; xmlns=\&quot;http://www.w3.org/2000/svg\&quot; x=\&quot;0px\&quot;\n\t y=\&quot;0px\&quot; width=\&quot;14px\&quot; height=\&quot;14px\&quot; &gt;\n&lt;circle cx=\&quot;7\&quot; cy=\&quot;7\&quot; r=\&quot;6\&quot; stroke=\&quot;#aeb0b5\&quot; stroke-width=\&quot;1\&quot; fill=\&quot;#aeb0b5\&quot;/&gt;\n&lt;polyline points=\&quot;4,7 10,7 7,7 7,10 7,4\&quot; fill=\&quot;none\&quot; stroke=\&quot;white\&quot;/&gt;\n&lt;/svg&gt;\n&quot;
},
&quot;$:/plugins/ihm/tidgraph/changelog&quot;: {
&quot;title&quot;: &quot;$:/plugins/ihm/tidgraph/changelog&quot;,
&quot;created&quot;: &quot;20151024161547099&quot;,
&quot;creator&quot;: &quot;ihm4u&quot;,
&quot;modified&quot;: &quot;20151031061347109&quot;,
&quot;modifier&quot;: &quot;ihm4u&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;text&quot;: &quot;For the complete changelog see\n\nhttps://ihm4u.github.io/tw5plugs/#Tidgraph%20-%20Changelog\n&quot;
},
&quot;$:/plugins/ihm/tidgraph/documentation&quot;: {
&quot;title&quot;: &quot;$:/plugins/ihm/tidgraph/documentation&quot;,
&quot;text&quot;: &quot;!!Example\nThe following example shows a tiddler which tags 7 children:\n\n``&lt;$tidgraph start=\&quot;Virtues\&quot; /&gt;``\n\nlooks like this:\n\n{{$:/plugins/ihm/tidgraph/tidgraph.png}}\n\n!!Usage\nSimple usage:\n\n``&lt;$tidgraph start=\&quot;MyRootTiddler\&quot; /&gt;``\n\nThe map will start with MyRootTiddler on the left, and show all its children recursively. The default maximum depth is 10 levels, it can be changed with the `maxdepth` attribute.\n\nAll options:\n\n|!Attribute |!Description|!Default |\n|`start` |Initial tiddler that starts the map | none |\n|`startat` |First level to display. 0 is the root tiddler named in the `start` attribute. 1 is the next level, etc. | 0 |\n|`maxdepth` |Maximum depth to display.| 10 |\n|`mode` |//tagging// or //linking// or custom. This is how to identify the children of a node. With //tagging// Tiddlers that tag other tiddlers become their parent. With //linking// tiddlers that link to other tiddlers become their parent. A custom mode can be specified by a `$:/config/tidgraph/modes/MyMode` tiddler where `MyMode` is the name of the mode. The subfilter can be also specified directly; e.g. `mode=\&quot;fields[]\&quot;`. See [[Custom Mode Demo|https://ihm4u.github.io/tw5plugs/#Custom%20Mode%20Demo]] for an example | //tagging// |\n|`nodetitle` |Field to use as title for the node. | //title// (or //caption// if present) |\n|`tooltip` |List of fields to use for node tooltip. The first field with a non empty value is used. | //summary// |\n|`filter` |Only tiddlers matching filter will be used | none |\n|`nocollapse` |Disable ability to collapse nodes. The graph allows node collapsing by default. | false |\n|`nodetemplate` |One or mode node templates to make node look like you want. See the [[Node Templates Demo|https://ihm4u.github.io/tw5plugs/#Node%20Templates%20Demo]] for examples of how to use them. | none |\n|`layout` |`E` for East (Vertical) or `S` for south (Horizontal) layout. | E |\n\n!CSS classes\nYou can also change colors, and other styles with the following CSS classes.\n\n|!Class |!Description |\n|tgr-node |Style for each node. If you want to change the color of the links inside the node use the `.tgr-node a` selector. |\n|tgr-edge |Style for the SVG path that connects the nodes. The old name was tgr-link. |\n|tgr-arrow |Style for the SVG polyline that draws the arrow at the end of the link |\n&quot;
},
&quot;$:/plugins/ihm/tidgraph/readme&quot;: {
&quot;title&quot;: &quot;$:/plugins/ihm/tidgraph/readme&quot;,
&quot;created&quot;: &quot;20151024054526558&quot;,
&quot;modified&quot;: &quot;20151024065317719&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;text&quot;: &quot;!!How\nSimply put this in your tiddler:\n\n``&lt;$tidgraph start=\&quot;MyRootTiddler\&quot; /&gt;``\n\nThere are other options covered in the [[documentation|$:/plugins/ihm/tidgraph/documentation]].\n\n!!Features\n* No third-party libraries\n* Light weight\n* Rendering of map/graph with HTML5 and SVG (no heavy png or jpg images)\n* Automatic map/graph creation, no need for dragging/connecting/etc\n* Figures out tree-graph by means of tags or links, or custom modes \n* Collapse/expand nodes\n* User defined Node Templates!!\n\n!!Limitations\n* Layout is horizontal from left to right, if needed a vertical layout will be added later\n&quot;
},
&quot;$:/plugins/ihm/tidgraph/stylesheet&quot;: {
&quot;title&quot;: &quot;$:/plugins/ihm/tidgraph/stylesheet&quot;,
&quot;text&quot;: &quot;/*Eliminate border in table and cells*/\n.ihm-tgr-table {\n border-collapse: collapse;\n border: none;\n background-color: transparent;\n padding: 0;\n margin: 0;\n}\n\n.ihm-tgr-tablediv {\n /* We need this margin to prevent spurius vertical scroll\n * in tgr-container. It needs to have the SAME pixel value\n * as top and left in tgr-svg-int class so that the SVG\n * arrows match properly (this assures same origin coordinates\n * for table and svg)\n */\n margin: 10px; \n}\n\n.tgr-container table td {\n border: none;\n background-color: transparent;\n}\n\n/*nice round box around tiddlers*/\n.tgr-container td a {\n \n}\n\n.tgr-container {\n position:relative; \n left:0px; \n top:0px; \n background-color: transparent;\n overflow: auto; /* This is needed to scroll on big maps */\n z-index:1;\n}\n.tgr-svg-int { \n\tz-index: -1;\n\tposition:absolute;\n\tbackground-color:transparent;\n\topacity: 1;\n left: 10px;\n top: 10px;\n}\n\n/* SVG arrows */\n.ihm-tgr-link {\n fill: none;\n stroke-width: 2;\n stroke: #aeb0b5;\n}\n\n.tgr-edge-weak {\n stroke-dasharray: 3,5;\n}\n\n.tgr-arrow {\n fill: #aeb0b5;\n stroke-width: 0;\n}\n\n.ihm-tgr-node-container {\n position: relative;\n}\n\n.ihm-tgr-node-container-east {\n margin: 6px 10px;\n}\n\n.ihm-tgr-node-container-south {\n margin: 16px 4px;\n display: inline-block; /*FIXME*/\n}\n\n.ihm-tgr-node-container p {\n margin-top: 0px;\n margin-bottom: 0px;\n}\n\n.ihm-tgr-node {\n background-color: #dce4ef;\n border-radius: 15px;\n padding: 0.1em 0.4em;\n /* border: 0px dashed #cd2026; */\n box-shadow: 4px 4px 5px #888888;\n text-align: center;\n vertical-align: middle;\n font-size: 1em;\n color: #0071bc;\n}\n\n/* Collapse feature */\n.ihm-tgr-collapse {\n position: absolute;\n cursor: pointer;\n width: 14px;\n height: 14px;\n right: -14px;\n}\n\n.ihm-tgr-collapse-east {\n top: 50%;\n transform: translateY(-50%);\n -ms-transform: translateY(-50%);\n -webkit-transform: translateY(-50%);\n}\n\n.ihm-tgr-collapse-south {\n left: 50%;\n transform: translateX(-50%);\n -ms-transform: translateX(-50%);\n -webkit-transform: translateX(-50%);\n}\n\na.ihm-tgr-collapse:hover {\n text-decoration: none;\n background: #999999;\n}\n\n/* Vertical layout divs */\n.ihm-tgr-divtable {\n display: table;\n}\n\n.ihm-tgr-node-group {\n display: table-row;\n}\n\n.ihm-tgr-node-cell {\n display: table-cell;\n vertical-align: top;\n text-align: center;\n}\n&quot;,
&quot;tags&quot;: &quot;$:/tags/Stylesheet&quot;,
&quot;type&quot;: &quot;text/css&quot;
},
&quot;$:/plugins/ihm/tidgraph/tidgraph.png&quot;: {
&quot;title&quot;: &quot;$:/plugins/ihm/tidgraph/tidgraph.png&quot;,
&quot;text&quot;: &quot;iVBORw0KGgoAAAANSUhEUgAAAKIAAADPCAMAAABBRvqtAAAC/VBMVEWBoPCHiYaIioeKjImLjYqMjouNj4ySlJGVk5eUlpOTmJp1mPR+l/V1m/F9mfCWm52FmPF/m/KYnZ+AnPN5n/WcnpuJm/SAn++CnvWdn5yRmvWboKKJnvCXmvF6o/KfoZ6DofKKn/JzpvN8pPOEovOSnvJ9pfSho6CFo/SDpe58p++bnvSOovWmo6iVofWcn/WFp/CNpfCkpqOGqPGlp6SVpPF/q/J4rfSjqKujofKWpfOdo/OHq+6JqvSCrfWRqfWfpfWBr/Cpq6iCsPGQrPCyovClpvB8tPOurLCEsvOtpvK0pPOMsPOarfOhq/O1pfSwrrKLs++pqvWwqPWjrPWEtvCxr7Ovr7mssbO7p/B+ufKysLSzsbWOtvKwrPGHufO3q/KGu+61s7e/q/Wutr6zr/Wxtrm0trO3tbm4sPC1t7S2uLXAsPK3uba7svK7uL21ur28s/O2u77CsvSZv+6Swe+5u7iLxPC6vLm4t/W9u7+7vbqiv/CLx+ywvPC8vru/vcHKtfLEt/K6v8KWxfLBvsONyu+VyO/GufS6wsqPzPHMu/CYy/LFwsemx/G/xMbCxMHAxcjDxcKXzu3Iv/PExsPPvvTJwPTDwvPCx8qZ0O/Ixsqa0fHEyczJxPDKyMzRxPKh0+3FyPLMx/Ow0O2q0u7EzdXTxvWj1e/OzNDJztDSyfDQzdHKz9HI0NjHzvHO0MzNzfHUy/Ku1/LP0c651e3PzvPT0NXQ0s/WzfSt2u/K0fTO09bR09DH0+7XzvXV0O/S1NHcz/DT1dLQ0/C92fHX0vHU1tO43PLC2uzY0/PS1fLP2ODS2Nq93e3W2NXZ1PTc1O7Q2eHa2NzX1+/S2uLY2ta/4PDH3/HF4ezb2vLO3vHe2+DY3eDb3drW3uff2+3c3tvM4e3I5O/b3+/e4N3c4PDQ5PDZ4uri4OTc4uTR5fHa4+vY5PPb5Ozd5e7j5eHk5uPn5enf5/Dp5uvj6Ovm6OXk6ezn6ebo6ufi6/Pp6+jj7PTm7O7k7fWGi86GAAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAAHdElNRQffChgGLRopZLysAAAAHWlUWHRDb21tZW50AAAAAABDcmVhdGVkIHdpdGggR0lNUGQuZQcAAAr0SURBVHja7Z0PcBRXGcA3/ROsQeVakFTqNAhJz0SBoBNtaFGSgprA9GrJMyUJ0rOGaqkXUQumVi5cGyp4hpQibZg2tNrCHKWlYWyHemi96IlTj5lOW5CSAF6Ou3rJLUzwD5Yu4+57e7nb3bd72cu+69fxvmGG3J95+c292337/fK9bzkuH/nIRz7ykY98/J/Ee2d503H2vdzxXeKzjvO5ITzPTyBG/gWdkOff+fsFRmCDFswyib/2n2OD6EX7yA/03xucbCsubkjgn3ffJv4f+HRMj/HxQ+cYISICqYNYEk57FKkeMkDsur//AitECfJdI8TTSyrtLbFdtSuLlv521vKZ845T3/t8zSMnGRDGmxGJkQyfYnTuK7tqX5s9FLAd5hf3UN97atrq/dZ/jCF0NyH08QbfxR9Flld+acoegihO9B3b6IiTarafsZpQQHE80T7OeKJ3LBqOzs2I+Gzh/A1HrUbs9kvfRR+X6XB5uCFxcDJGDBsg3nXFDev/bPWH6BQPFx/HZUR8s9Te8p15j9VGKha+oI84gwGiz2/d4sLzPytgMNFI8WhkYoRvFV5m/eESdyke/uedCRF+rOBK6086inkW4+RbE5jlwoIrrqrZavWpu21U+fhC/+Ndz58yj3fq2btmFFx25VWft34BROonzh1aXzNtUuHlBabj8sJJ02ru/4PVlxFxt+apc/1bV9fMv/7aaSbj2uvn16x+xPqLMb9P+9yFk/u3b7jv3nu+ayruufe+Ddv3n7R+ffaGaM/++8zR/kP7Tcah/qNnWFyHIUHvlYv/NRkXGaUECHzGLMBHDHnBI/p6wSPSD2hQwqRtELww0Z5zwAkTDSI4YZI85wAWJqNoPMJESl2iNz41PkarhUnIOR5hYgrRamGSPHMbC5Mk4vfs9q/FArOWzaw6zv9Y/DmcC2HiI4iDxsIkONlmsxU91SdmpvWbAx89zNc/cPCmGL+qMxfChOTPHtRsKEzkT7FjRUJM918VQR9u2PiRysrKB3MhTPDi4nFzxsJEg9jRsFG2jeyFSauI6HNyGYSJjChNdJ040Uf42zsPTg/zq/bkQpigEDl7GwuT5OHyfbv9tlhg+rLPVIWlw6UllgthIuL53OYWFwNBy0SYiIgobk6YGCNaLkwEJMSdHGhhIiL2qpNUYMJEvIpojXOghckooqRXsIRJCPldHGxhEkJeii8BJUxCqHWQgy1MQm59XwJEmPgeAi8jvGvhI94N3pd4neB9ibeZ6ksgCRMvoiDCEiYeyjkHmDBBFisdBsIEJc85cIXJGKK+MHm92mZrCasvtXGZSU6EiSOFqCNMIhWbEtG6TdpsIFI9lBNh4nByGYRJXxlmC+CKElJiEpy9pPxJqcykbpv0whBbYeIgV4v+7iY9YbKlFs/oWEVJdO4rwSnP8LhAYu+8GL/mAcbCBCP6EfK69IRJEhEXGpASEymrxojRigOR0mOMhYmE+ITkIXSFSd+sWAqRlJgEZw8RRH5Lw6+03sRiYSIi+nEerStMIhXrEtFvbyKIpMQkiRjm3y6tPsBamDh2CmQJ1Bcmry+wFbfIRS+kxOR3GDFSsTDMf6s8xlqYIJ/bNYHFJVrXw1qYCGgnUqfRJipMtlz3w2HWwkRA7U71c8CEiYCatDkqLGEiIM08QxMmQiMtuwIlTP6JmmlPQxImA6id+jwgYTLQ6NZ5BYwwGUA7DV4FIUyMEUHEG+g56Igvo5fziKZdh9pp6CIyFCaXzDkNOiJTYXLepNNwoWwHyVaYnDfrNFobLSbMJEwumXYajU1cboWJ9IY6XAuwt+xpfaGRchou1MvpC5NA0dRrqlT7RW7tmViFSUoe1G02lhpd66VLum7UlCYaNcIkIKant68zj2ggTN4l+1H28HzwuuO7aiWtsbJo6Yvlw9LAuB7k9HK7/eZj2GlsXdvViBpHFYgqYSIhbmyQhiFjRL9uXzpHHilQhnfkPGq33/Q3da2JgTA5O2YP1twp5blTnuHFjPf3eHhSD7J7UYJ/8TfYaXx4xhcbv4G0MaJAjNzYKdkRMsbesljkE/JIUpXJ4p6gmEr/4M6XVLUmBsKEIJ4uPSz+kxBLwinEDlwP8vacm3/yF+I0PnT1Z7+K2kNjQREmgaLikpaYZEfkMVYk+Hp5JJJW/xLLlA5VrYmBMJHnaM26XYuGZaEhI4oDy17jjz/9+M+TTqPXgTzKiVYKkwBWJZJ6kMcgiHgkBaLKmRgJE7nUwr5A/DomEcPiLzotTg+uB9n7a/GLIA0oOw3UmI6oFiYpRDLG7rLUSAQxOPUYv+UrL6lqTYyEifyW+k/FkoiRioUnlpTc8uUeUg/yZrW98nN/SjmNN1KpC0WYpBCjeIxoXcktC7aRkeRNQ4/OnFl1RF1rYiRMxr0ujDmNpkarF5dMwmScriPlNGhrNNstOeNzHWlOowuNZjlI1sJkPK4j3WlQL8bYCpNMrkPtNKiIjIVJZtehcBr0S1rGwiST61A6DZ3EgLEwMXYdKqcxgJ54X4SJoetQOg39VJ+9MLk4PqcxgLrhC5N26Kn+P5ALOqKAEHxEhwAfEXqFiYCcnhwLE/OIXpRbYZIFYq/Tl0thks2fKZ/zkzIYwBUmHs7l0REmyb+WzilSK4jd47ExliG6xMn2cMZbcpRdNnQrSxhVmODVxYn2CUZbchb3kFyf+JaVRUufrE1QVQmTChOyAPqowkSDSHyLmLVKwoimSphUmCTXaGGtwZacJCLxLRhxB1WVMKkwQQ59YaJCrO8hviUdkbotx+IKk3REeoXJqk2RTx4gxoT4ltdmh8WJpqoSJhUmKUS9CpNXS23fHCbGhPi
&quot;type&quot;: &quot;image/png&quot;,
&quot;created&quot;: &quot;20151024064703806&quot;,
&quot;modified&quot;: &quot;20151024064720670&quot;
},
&quot;$:/plugins/ihm/tidgraph/utils.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/ihm/tidgraph/utils.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/plugins/ihm/tidgraph/utils.js\ntype: application/javascript\nmodule-type: library\n\nInternal utility functions for tidgraph plugin.\n\n\\*/\n(function(){function u(a){var c=a.getBoundingClientRect(),b=document.body,e=document.documentElement,g=c.top-(a.scrollTop||window.pageYOffset||e.scrollTop||b.scrollTop)-(e.clientTop||b.clientTop||0);a=c.left-(a.scrollLeft||window.pageXOffset||e.scrollLeft||b.scrollLeft)-(e.clientLeft||b.clientLeft||0);return{top:g,left:a,width:c.width,height:c.height,right:a+c.width,bottom:g+c.height}}function q(a,c,b){b=b||function(a,b,c){if(a)return!0};a=$tw.utils.parseStringArray(a);for(var e=a.length,g=c.length,\nf=0;f&lt;g;f++)for(var h=0;h&lt;e;h++){var d=$tw.wiki.getTiddler(c[f]);if(d&amp;&amp;(d=d.getFieldString(a[h]),b(d,a[h],c[f])))return d}return\&quot;\&quot;}function x(a){var c=!1;return(a=q(\&quot;_tgr_node_class _tgr_node_class_add\&quot;,[a.id,a.template],function(a,e,g){if(a)return c=\&quot;_tgr_node_class_add\&quot;===e?!0:!1,!0}))&amp;&amp;\&quot;tgr-default\&quot;!==a?c?\&quot;ihm-tgr-node tgr-node \&quot;+a:a:\&quot;ihm-tgr-node tgr-node\&quot;}function w(a,c,b){var e;a=u(a);if(\&quot;string\&quot;===typeof b){if(e=document.querySelector(b),null==e)return null}else b instanceof HTMLElement&amp;&amp;(e=\nb);var g=u(e);b=g.bottom-a.top;e=g.left-a.left;var f=g.right-a.left;a=g.top-a.top;g=\&quot;\&quot;;switch(c.toUpperCase()){case \&quot;L\&quot;:g=[Math.round(e),Math.round(b/2+a/2)];break;case \&quot;R\&quot;:g=[Math.round(f),Math.round(b/2+a/2)];break;case \&quot;T\&quot;:g=[Math.round(f/2+e/2),Math.round(a)];break;case \&quot;B\&quot;:g=[Math.round(f/2+e/2),Math.round(b)]}return g}function y(a,c,b,e,g){var f;a:{var h=u(c),d=u(b);f=h.left+h.width/2;var h=h.top+h.height/2,n=d.left+d.width/2,d=d.top+d.height/2;switch(e){case \&quot;E\&quot;:f=4&gt;n-f?[\&quot;R\&quot;,\&quot;R\&quot;]:[\&quot;R\&quot;,\&quot;L\&quot;];\nbreak a;case \&quot;S\&quot;:f=4&gt;d-h?[\&quot;B\&quot;,\&quot;B\&quot;]:[\&quot;B\&quot;,\&quot;T\&quot;];break a}f=void 0}d=w(a,f[0],c);a=w(a,f[1],b);var m,l,h=10,n=\&quot;\&quot;;g&amp;&amp;(n=' class=\&quot;tgr-edge-weak\&quot;');if(null==c||null==b)return error(\&quot;can't connect null element\&quot;);if(null==d)return error(\&quot;port not found for \&quot;+c.tagName+\&quot; - \&quot;+c.innerHTML);if(null==a)return error(\&quot;port not found for \&quot;+b.tagName+\&quot; - \&quot;+b.innerHTML);c=Math.abs(a[1]-d[1]);b=Math.abs(a[0]-d[0]);switch(e){case \&quot;E\&quot;:return a[1]&gt;d[1]&amp;&amp;(m=c/2),a[1]&lt;d[1]&amp;&amp;(m=-c/2),5&gt;c&amp;&amp;(m=0),\&quot;L\&quot;==f[1]&amp;&amp;(l=-10),\&quot;R\&quot;==f[1]&amp;&amp;\n(l=10,h=20),'&lt;path d=\&quot;M'+d[0]+\&quot;,\&quot;+d[1]+\&quot; Q\&quot;+(d[0]+h)+\&quot;,\&quot;+d[1]+\&quot; \&quot;+(d[0]+h)+\&quot;,\&quot;+(d[1]+m)+\&quot; Q\&quot;+(d[0]+h)+\&quot;,\&quot;+a[1]+\&quot; \&quot;+(a[0]+l)+\&quot;,\&quot;+a[1]+'\&quot;'+n+' marker-end=\&quot;url(#tgr-arrow)\&quot;/&gt;';case \&quot;S\&quot;:return a[0]&gt;d[0]&amp;&amp;(l=b/2),a[0]&lt;d[0]&amp;&amp;(l=-b/2),5&gt;b&amp;&amp;(l=0),\&quot;T\&quot;==f[1]&amp;&amp;(m=-10,h=10),\&quot;B\&quot;==f[1]&amp;&amp;(m=10,h=20),'&lt;path d=\&quot;M'+d[0]+\&quot;,\&quot;+d[1]+\&quot; Q\&quot;+d[0]+\&quot;,\&quot;+(d[1]+h)+\&quot; \&quot;+(d[0]+l)+\&quot;,\&quot;+(d[1]+h)+\&quot; Q\&quot;+a[0]+\&quot;,\&quot;+(d[1]+h)+\&quot; \&quot;+a[0]+\&quot;,\&quot;+(a[1]+m)+'\&quot;'+n+' marker-end=\&quot;url(#tgr-arrow)\&quot;/&gt;'}}function v(a,c){var b;switch(c.mode){case \&quot;tagging\&quot;:b=\n\&quot;[[\&quot;+a+\&quot;]tagging[]]+\&quot;+c.filter;break;case \&quot;linking\&quot;:b=\&quot;[[\&quot;+a+\&quot;]links[]!is[missing]]+\&quot;+c.filter;break;default:b=\&quot;[[\&quot;+a+\&quot;]\&quot;+c.mode+\&quot;]+\&quot;+c.filter}return $tw.wiki.filterTiddlers(b)}function z(a,c,b){switch(b.mode.toLowerCase()){case \&quot;tagging\&quot;:return(b=$tw.wiki.getTiddler(a))?b.hasTag(c):!1;default:return b=v(c,b),-1!==b.indexOf(a)}}function A(a,c){function b(b,l,k){h=l;d=b;n=encodeURIComponent(h);m=encodeURIComponen
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;library&quot;
},
&quot;$:/plugins/ihm/widgets/tidgraph.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/ihm/widgets/tidgraph.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/plugins/ihm/widgets/tidgraph.js\ntype: application/javascript\nmodule-type: widget\n\nTidgraph widget to render HTML5/SVG graph of tiddlers\n\n\\*/\n(function(){var e=require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget,c=function(b,f){this.initialise(b,f)},d=require(\&quot;$:/plugins/ihm/tidgraph/utils.js\&quot;);c.prototype=new e;c.prototype.render=function(b,f){this.tidtree&amp;&amp;this.delTempTiddlers();this.parentDomNode=b;this.nextSiblingDomNode=f;this.computeAttributes();this.execute();-1===[\&quot;tagging\&quot;,\&quot;linking\&quot;].indexOf(this.mode)&amp;&amp;(this.mode=$tw.wiki.getTiddlerText(\&quot;$:/config/tidgraph/modes/\&quot;+this.mode)||this.mode);this.tidtree=[];this.tidtree.mode=this.mode;\nthis.tidtree.maxdepth=this.maxdepth;this.tidtree.startat=this.startat;this.tidtree.nodetitle=this.nodetitle;this.tidtree.tooltip=this.tooltip;this.tidtree.filter=this.filter;this.tidtree.nocollapse=this.nocollapse;this.tidtree.document=this.document;this.tidtree.nodetemplate=this.nodetemplate;this.tidtree.layout=this.layout;this.templatesInUse=$tw.utils.parseStringArray(this.nodetemplate);this.tidtree.id=(new Date).valueOf();if($tw.wiki.getTiddler(this.startTid)){this.div=this.document.createElement(\&quot;div\&quot;);\nthis.div.className=\&quot;tgr-container tgr\&quot;;this.tablediv=this.document.createElement(\&quot;div\&quot;);this.tablediv.className=\&quot;ihm-tgr-tablediv\&quot;;this.table=void 0;this.div.appendChild(this.tablediv);this.svgdiv=this.document.createElement(\&quot;div\&quot;);this.svgdiv.className=\&quot;tgr-svg-int\&quot;;this.div.appendChild(this.svgdiv);this.parentDomNode.insertBefore(this.div,this.nextSiblingDomNode);this.domNodes.push(this.div);this.tidtree.root=d.makeTidTree(this.startTid,this.tidtree,{widget:this});this.paint();var a=this,c=function(){a.svgdiv.innerHTML=\nd.buildSVG(a.tablediv,a.tidtree);a.oldresize&amp;&amp;a.oldresize()},e=function(){a.svgdiv.innerHTML=d.buildSVG(a.tablediv,a.tidtree)};this.div.onscroll=function(){a.scroll_to||clearTimeout(a.scroll_to);a.scroll_to=setTimeout(e,100)};this.onresize_updated||(window.onresize&amp;&amp;void 0==this.oldresize&amp;&amp;(this.oldresize=window.onresize),window.onresize=function(){a.resize_to||clearTimeout(a.resize_to);a.resize_to=setTimeout(c,100)},this.onresize_updated=!0)}};c.prototype.delTempTiddlers=function(){var b=$tw.wiki.filterTiddlers(\&quot;[prefix[$:/temp/tidgraph/\&quot;+\nthis.tidtree.id+\&quot;]]\&quot;);$tw.utils.each(b,function(b){$tw.wiki.deleteTiddler(b)})};c.prototype.paint=function(){this.sidebar=$tw.wiki.getTiddlerText(\&quot;$:/state/sidebar\&quot;);var b=d.buildTable(this.startTid,this.tidtree);this.table?this.tablediv.replaceChild(b,this.table):this.tablediv.appendChild(b);this.svgdiv.innerHTML=d.buildSVG(this.tablediv,this.tidtree);this.table=b};c.prototype.execute=function(){this.startTid=this.getAttribute(\&quot;start\&quot;);this.mode=this.getAttribute(\&quot;mode\&quot;,\&quot;tagging\&quot;);this.maxdepth=\nparseInt(this.getAttribute(\&quot;maxdepth\&quot;,\&quot;10\&quot;));this.startat=this.getAttribute(\&quot;startat\&quot;,\&quot;0\&quot;);this.nodetitle=this.getAttribute(\&quot;nodetitle\&quot;);this.tooltip=this.getAttribute(\&quot;tooltip\&quot;,\&quot;summary\&quot;);this.filter=this.getAttribute(\&quot;filter\&quot;,\&quot;[!is[system]]\&quot;);this.nocollapse=this.hasAttribute(\&quot;nocollapse\&quot;);this.nodetemplate=this.getAttribute(\&quot;nodetemplate\&quot;,\&quot;\&quot;);this.layout=this.getAttribute(\&quot;layout\&quot;,\&quot;E\&quot;);-1==[\&quot;E\&quot;,\&quot;S\&quot;].indexOf(this.layout)&amp;&amp;(this.layout=\&quot;E\&quot;)};c.prototype.refresh=function(b){var c=!1,a;this.computeAttributes();\nthis.execute();for(a in b)if((b=document.getElementById(this.tidtree.id+\&quot;-\&quot;+encodeURIComponent(a))||d.isDescendant(a,this.startTid,this.tidtree)||-1!==this.templatesInUse.indexOf(a))||(b=(b=$tw.wiki.getTiddler(a))&amp;&amp;b.hasTag(\&quot;$:/tags/Stylesheet\&quot;)?!0:!1),b||-1!==a.indexOf(\&quot;$:/config
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
}
}
}</pre>
</div>
<div author="kixam" core-version="&gt;=5.1.8" created="20210303231904987" dependents="" description="datepicker plugin for TiddlyWiki5, based on Pikaday version 1.6.1" list="readme license usage" modified="20210303231904987" plugin-type="plugin" source="https://github.com/kixam/TW5-datepicker" title="$:/plugins/kixam/datepicker" type="application/json" version="0.5.2">
<pre>{
&quot;tiddlers&quot;: {
&quot;$:/plugins/kixam/datepicker/icon&quot;: {
&quot;title&quot;: &quot;$:/plugins/kixam/datepicker/icon&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;text&quot;: &quot;&lt;svg height=\&quot;22pt\&quot; width=\&quot;22pt\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;\n&lt;path d=\&quot;M 13.775391 0 L 2.0664062 6.8671875 L 2.0664062 20.599609 L 13.775391 27.464844 L 25.484375 20.599609 L 25.484375 6.8671875 L 13.775391 0 z M 9.6582031 3.6230469 L 10.292969 3.6230469 C 10.728856 3.6230469 11.101705 3.7794391 11.412109 4.0898438 C 11.722514 4.4002483 11.876953 4.7730982 11.876953 5.2089844 L 11.876953 6.1601562 L 15.681641 6.1601562 L 15.681641 5.2089844 C 15.681641 4.7730982 15.83608 4.4002483 16.146484 4.0898438 C 16.456889 3.7794391 16.829738 3.6230469 17.265625 3.6230469 L 17.900391 3.6230469 C 18.336278 3.6230469 18.709127 3.7794391 19.019531 4.0898438 C 19.329936 4.4002483 19.484375 4.7730982 19.484375 5.2089844 L 19.484375 6.1601562 L 20.753906 6.1601562 C 21.097333 6.1601562 21.393566 6.284192 21.644531 6.5351562 C 21.895499 6.7861224 22.021484 7.0843085 22.021484 7.4277344 L 22.021484 20.107422 C 22.021484 20.450848 21.895499 20.749034 21.644531 21 C 21.393566 21.250966 21.097333 21.375 20.753906 21.375 L 6.8046875 21.375 C 6.4612605 21.375 6.1650274 21.250966 5.9140625 21 C 5.6630976 20.749034 5.5371094 20.450848 5.5371094 20.107422 L 5.5371094 7.4277344 C 5.5371094 7.0843085 5.6630976 6.7861224 5.9140625 6.5351562 C 6.1650274 6.284192 6.4612605 6.1601563 6.8046875 6.1601562 L 8.0722656 6.1601562 L 8.0722656 5.2089844 C 8.0722656 4.7730982 8.2286584 4.4002483 8.5390625 4.0898438 C 8.8494667 3.7794391 9.2223157 3.6230469 9.6582031 3.6230469 z M 9.6582031 4.890625 C 9.5723471 4.890625 9.4982891 4.923586 9.4355469 4.9863281 C 9.3728059 5.0490687 9.3417969 5.1231279 9.3417969 5.2089844 L 9.3417969 8.0605469 C 9.3417969 8.1464033 9.3728059 8.222414 9.4355469 8.2851562 C 9.4982891 8.3478969 9.5723471 8.3789062 9.6582031 8.3789062 L 10.292969 8.3789062 C 10.378825 8.3789062 10.452884 8.3478969 10.515625 8.2851562 C 10.578367 8.222414 10.609375 8.1464033 10.609375 8.0605469 L 10.609375 5.2089844 C 10.609375 5.1231279 10.578367 5.0490687 10.515625 4.9863281 C 10.452884 4.923586 10.378825 4.890625 10.292969 4.890625 L 9.6582031 4.890625 z M 17.265625 4.890625 C 17.179769 4.890625 17.105711 4.923586 17.042969 4.9863281 C 16.980227 5.0490687 16.949219 5.1231279 16.949219 5.2089844 L 16.949219 8.0605469 C 16.949219 8.1464033 16.980227 8.222414 17.042969 8.2851562 C 17.105711 8.3478969 17.179769 8.3789062 17.265625 8.3789062 L 17.900391 8.3789062 C 17.986247 8.3789062 18.060305 8.3478969 18.123047 8.2851562 C 18.185788 8.222414 18.216797 8.1464033 18.216797 8.0605469 L 18.216797 5.2089844 C 18.216797 5.1231279 18.185788 5.0490687 18.123047 4.9863281 C 18.060305 4.923586 17.986247 4.890625 17.900391 4.890625 L 17.265625 4.890625 z M 6.8046875 9.9628906 L 6.8046875 12.816406 L 9.6582031 12.816406 L 9.6582031 9.9628906 L 6.8046875 9.9628906 z M 10.292969 9.9628906 L 10.292969 12.816406 L 13.462891 12.816406 L 13.462891 9.9628906 L 10.292969 9.9628906 z M 14.095703 9.9628906 L 14.095703 12.816406 L 17.265625 12.816406 L 17.265625 9.9628906 L 14.095703 9.9628906 z M 17.900391 9.9628906 L 17.900391 12.816406 L 20.753906 12.816406 L 20.753906 9.9628906 L 17.900391 9.9628906 z M 6.8046875 13.451172 L 6.8046875 16.621094 L 9.6582031 16.621094 L 9.6582031 13.451172 L 6.8046875 13.451172 z M 10.292969 13.451172 L 10.292969 16.621094 L 13.462891 16.621094 L 13.462891 13.451172 L 10.292969 13.451172 z M 14.095703 13.451172 L 14.095703 16.621094 L 17.265625 16.621094 L 17.265625 13.451172 L 14.095703 13.451172 z M 17.900391 13.451172 L 17.900391 16.621094 L 20.753906 16.621094 L 20.753906 13.451172 L 17.900391 13.451172 z M 6.8046875 17.253906 L 6.8046875 20.107422 L 9.6582031 20.107422 L 9.6582031 17.253906 L 6.8046875 17.253906 z M 10.292969 17.253906 L 10.292969 20.107422 L 13.462891 20.107422 L 13.462891 17.253906 L 10.292969 17.253906 z M 14.095703 17.253906 L 14.095703 20.107422 L 17.265625 20.107422 L 17.265625 17.253906 L 14.095703 17.253906 z M 17.900391 17.253906 L 17.900391 20.107422 L 20.753906 20.107422 L 20.753906 17.253906 L 17.900391 17.253906 z\&quot; tra
},
&quot;$:/plugins/kixam/datepicker/license&quot;: {
&quot;title&quot;: &quot;$:/plugins/kixam/datepicker/license&quot;,
&quot;text&quot;: &quot;!! Pikaday licence: [[BSD 2-clause simplified license|http://www.freebsd.org/copyright/freebsd-license.html]] and [[MIT|http://mit-license.org/]]\n```\nCopyright (c) 2014 David Bushell BSD &amp; MIT license\n\nThe MIT License (MIT)\n\nCopyright (c) 2014 David Bushell\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \&quot;Software\&quot;), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \&quot;AS IS\&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n\nThe BSD License\n\nCopyright (c) 2014 David Bushell\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:\n\n1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \&quot;AS IS\&quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n```\n\n!! Plugin license: [[BSD 2-clause simplified license|http://www.freebsd.org/copyright/freebsd-license.html]]\n```\nCopyright (c) 2015, kixam\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n1. Redistributions of source code must retain the above copyright notice, this\n list of conditions and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and/or other materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \&quot;AS IS\&quot;\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTW
},
&quot;$:/plugins/kixam/datepicker/pikaday.css&quot;: {
&quot;title&quot;: &quot;$:/plugins/kixam/datepicker/pikaday.css&quot;,
&quot;text&quot;: &quot;@charset \&quot;UTF-8\&quot;;/*!\n * Pikaday\n * Copyright © 2014 David Bushell | BSD &amp; MIT license | http://dbushell.com/\n */.pika-single{z-index:9999;display:block;position:relative;color:#333;background:#fff;border:1px solid #ccc;border-bottom-color:#bbb;font-family:\&quot;Helvetica Neue\&quot;,Helvetica,Arial,sans-serif}.pika-single:before,.pika-single:after{content:\&quot; \&quot;;display:table}.pika-single:after{clear:both}.pika-single{*zoom:1}.pika-single.is-hidden{display:none}.pika-single.is-bound{position:absolute;box-shadow:0 5px 15px -5px rgba(0,0,0,.5)}.pika-lendar{float:left;width:240px;margin:8px}.pika-title{position:relative;text-align:center}.pika-label{display:inline-block;*display:inline;position:relative;z-index:9999;overflow:hidden;margin:0;padding:5px 3px;font-size:14px;line-height:20px;font-weight:bold;background-color:#fff}.pika-title select{cursor:pointer;position:absolute;z-index:9998;margin:0;left:0;top:5px;filter:alpha(opacity=0);opacity:0}.pika-prev,.pika-next{display:block;cursor:pointer;position:relative;outline:0;border:0;padding:0;width:20px;height:30px;color:rgba(0,0,0,0);white-space:nowrap;overflow:hidden;background-color:transparent;background-position:center center;background-repeat:no-repeat;background-size:75% 75%;opacity:.5;*position:absolute;*top:0}.pika-prev:hover,.pika-next:hover{opacity:1}.pika-prev,.is-rtl .pika-next{float:left;background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAUklEQVR42u3VMQoAIBADQf8Pgj+OD9hG2CtONJB2ymQkKe0HbwAP0xucDiQWARITIDEBEnMgMQ8S8+AqBIl6kKgHiXqQqAeJepBo/z38J/U0uAHlaBkBl9I4GwAAAABJRU5ErkJggg==');*left:0}.pika-next,.is-rtl .pika-prev{float:right;background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAU0lEQVR42u3VOwoAMAgE0dwfAnNjU26bYkBCFGwfiL9VVWoO+BJ4Gf3gtsEKKoFBNTCoCAYVwaAiGNQGMUHMkjGbgjk2mIONuXo0nC8XnCf1JXgArVIZAQh5TKYAAAAASUVORK5CYII=');*right:0}.pika-prev.is-disabled,.pika-next.is-disabled{cursor:default;opacity:.2}.pika-select{display:inline-block;*display:inline}.pika-table{width:100%;border-collapse:collapse;border-spacing:0;border:0}.pika-table th,.pika-table td{width:14.285714285714286%;padding:0}.pika-table th{color:#999;font-size:12px;line-height:25px;font-weight:bold;text-align:center}.pika-button{cursor:pointer;display:block;box-sizing:border-box;-moz-box-sizing:border-box;outline:0;border:0;margin:0;width:100%;padding:5px;color:#666;font-size:12px;line-height:15px;text-align:right;background:#f5f5f5}.pika-week{font-size:11px;color:#999}.is-today .pika-button{color:#3af;font-weight:bold}.is-selected .pika-button,.has-event .pika-button{color:#fff;font-weight:bold;background:#3af;box-shadow:inset 0 1px 3px #178fe5;border-radius:3px}.has-event .pika-button{background:#005da9;box-shadow:inset 0 1px 3px #0076c9}.is-disabled .pika-button,.is-inrange .pika-button{background:#d5e9f7}.is-startrange .pika-button{color:#fff;background:#6cb31d;box-shadow:none;border-radius:3px}.is-endrange .pika-button{color:#fff;background:#3af;box-shadow:none;border-radius:3px}.is-disabled .pika-button{pointer-events:none;cursor:default;color:#999;opacity:.3}.is-outside-current-month .pika-button{color:#999;opacity:.3}.is-selection-disabled{pointer-events:none;cursor:default}.pika-button:hover,.pika-row.pick-whole-week:hover .pika-button{color:#fff;background:#ff8000;box-shadow:none;border-radius:3px}.pika-table abbr{border-bottom:0;cursor:help}.pika-time-container{clear:both}.pika-time{margin:7px auto 7px}.pika-time .pika-time-label{font-weight:bold;font-size:11px;color:#666;padding-right:.33em}&quot;,
&quot;tags&quot;: &quot;$:/tags/Stylesheet&quot;,
&quot;type&quot;: &quot;text/css&quot;
},
&quot;$:/plugins/kixam/datepicker/pikaday.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/kixam/datepicker/pikaday.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/plugins/kixam/datepicker/pikaday.js\ntype: application/javascript\nmodule-type: library\n\n@preserve\n\\*/\n\n(function(root,factory){\&quot;use strict\&quot;;var moment;if(typeof exports===\&quot;object\&quot;){try{moment=require(\&quot;$:/plugins/kixam/moment/moment.js\&quot;)}catch(e){}module.exports=factory(moment)}else if(typeof define===\&quot;function\&quot;&amp;&amp;define.amd){define(function(req){var id=\&quot;moment\&quot;;try{moment=req(id)}catch(e){}return factory(moment)})}else{root.Pikaday=factory(root.moment)}})(this,function(moment){\&quot;use strict\&quot;;var hasMoment=typeof moment===\&quot;function\&quot;,addEvent=function(el,e,callback,capture){if(!!window.addEventListener){el.addEventListener(e,callback,!!capture)}else{el.attachEvent(\&quot;on\&quot;+e,callback)}},removeEvent=function(el,e,callback,capture){if(!!window.addEventListener){el.removeEventListener(e,callback,!!capture)}else{el.detachEvent(\&quot;on\&quot;+e,callback)}},trim=function(str){return str.trim?str.trim():str.replace(/^\\s+|\\s+$/g,\&quot;\&quot;)},hasClass=function(el,cn){return(\&quot; \&quot;+el.className+\&quot; \&quot;).indexOf(\&quot; \&quot;+cn+\&quot; \&quot;)!==-1},addClass=function(el,cn){if(!hasClass(el,cn)){el.className=el.className===\&quot;\&quot;?cn:el.className+\&quot; \&quot;+cn}},removeClass=function(el,cn){el.className=trim((\&quot; \&quot;+el.className+\&quot; \&quot;).replace(\&quot; \&quot;+cn+\&quot; \&quot;,\&quot; \&quot;))},isArray=function(obj){return/Array/.test(Object.prototype.toString.call(obj))},isDate=function(obj){return/Date/.test(Object.prototype.toString.call(obj))&amp;&amp;!isNaN(obj.getTime())},isWeekend=function(date){var day=date.getDay();return day===0||day===6},isLeapYear=function(year){return year%4===0&amp;&amp;year%100!==0||year%400===0},getDaysInMonth=function(year,month){return[31,isLeapYear(year)?29:28,31,30,31,30,31,31,30,31,30,31][month]},setToStartOfDay=function(date){if(isDate(date))date.setHours(0,0,0,0)},compareDates=function(a,b){var _a=new Date(a.getTime());var _b=new Date(b.getTime());setToStartOfDay(_a);setToStartOfDay(_b);return _a.getTime()===_b.getTime()},extend=function(to,from,overwrite){var prop,hasProp;for(prop in from){hasProp=to[prop]!==undefined;if(hasProp&amp;&amp;typeof from[prop]===\&quot;object\&quot;&amp;&amp;from[prop]!==null&amp;&amp;from[prop].nodeName===undefined){if(isDate(from[prop])){if(overwrite){to[prop]=new Date(from[prop].getTime())}}else if(isArray(from[prop])){if(overwrite){to[prop]=from[prop].slice(0)}}else{to[prop]=extend({},from[prop],overwrite)}}else if(overwrite||!hasProp){to[prop]=from[prop]}}return to},fireEvent=function(el,eventName,data){var ev;if(document.createEvent){ev=window.document.createEvent(\&quot;HTMLEvents\&quot;);ev.initEvent(eventName,true,false);ev=extend(ev,data);el.dispatchEvent(ev)}else if(document.createEventObject){ev=window.document.createEventObject();ev=extend(ev,data);el.fireEvent(\&quot;on\&quot;+eventName,ev)}},adjustCalendar=function(calendar){if(calendar.month&lt;0){calendar.year-=Math.ceil(Math.abs(calendar.month)/12);calendar.month+=12}if(calendar.month&gt;11){calendar.year+=Math.floor(Math.abs(calendar.month)/12);calendar.month-=12}return calendar},defaults={field:null,bound:undefined,ariaLabel:\&quot;Use the arrow keys to pick a date\&quot;,position:\&quot;bottom left\&quot;,reposition:true,format:null,inputFormats:null,toString:null,parse:null,defaultDate:null,setDefaultDate:false,firstDay:0,formatStrict:false,minDate:null,maxDate:null,yearRange:10,showWeekNumber:false,pickWholeWeek:false,minYear:0,maxYear:9999,minMonth:undefined,maxMonth:undefined,startRange:null,endRange:null,isRTL:false,yearSuffix:\&quot;\&quot;,showMonthAfterYear:false,showDaysInNextAndPreviousMonths:false,enableSelectionDaysInNextAndPreviousMonths:false,numberOfMonths:1,showTime:true,showMinutes:true,showSeconds:false,use24hour:false,incrementHourBy:1,incrementMinuteBy:1,incrementSecondBy:1,timeLabel:null,autoClose:true,mainCalendar:\&quot;left\&quot;,container:undefined,blurFie
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;library&quot;
},
&quot;$:/plugins/kixam/datepicker/readme&quot;: {
&quot;title&quot;: &quot;$:/plugins/kixam/datepicker/readme&quot;,
&quot;text&quot;: &quot;! ~DatePicker\n\nA plugin for [[TiddlyWiki|http://tiddlywiki.com]] 5, that provides [[Pikaday|https://github.com/dbushell/Pikaday]].\n&quot;
},
&quot;$:/plugins/kixam/datepicker/usage&quot;: {
&quot;title&quot;: &quot;$:/plugins/kixam/datepicker/usage&quot;,
&quot;text&quot;: &quot;`&lt;$edit-date&gt;`\n\nThis plugin can pick days and times.\n\n!! attributes\nAll attributes are optional.\n\n|!Attribute|!Purpose|!Default value|\n|`tiddler`|Edited tiddler|//current tiddler//|\n|`field`|Edited field|`created`|\n|`format`|Date format as it is shown in input control, in [[moment.js|http://momentjs.com]]'s [[parse+string format|http://momentjs.com/docs/#/parsing/string-format/]]|`YYYY-MM-DD`|\n|`firstDay`|First day of the week (0: Sunday, 1: Monday, etc.)|`0`|\n|`fieldFormat`|Date format used to save into the field, in [[moment.js|http://momentjs.com]]'s [[parse+string format|http://momentjs.com/docs/#/parsing/string-format/]]|`YYYYMMDDHHmmssSSS`|\n|`placeholder`|Placeholder|//empty//|\n|`tag`|HTML tag to render the editor|`input`|\n|`index`|The index to edit|//empty//|\n|`class`|A CSS class to be assigned to the generated HTML editing element|\n|`attributes`|[[JSON Tiddler|http://tiddlywiki.com/#JSONTiddlers]] containing HTML attributes attached to the HTML object used to render the editor, typically `style`|//empty//|\n|`icon`|Image tiddler or URL to an image that will be rendered next to the `tag`. When clicked, it will trigger the date picker|//empty//|\n|`showTime`|Show time as well as date|//not set//|\n|`showSeconds`|If `showTime` is set, shows seconds as well|//not set//|\n|`use24hour`|If `showTime` is set, use 24-hour format|//not set//|\n&quot;
},
&quot;$:/plugins/kixam/datepicker/widget.datepicker.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/kixam/datepicker/widget.datepicker.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/plugins/kixam/datepicker/widget.datepicker.js\ntype: application/javascript\nmodule-type: widget\n\n A widget for displaying date pickers using Pikaday at https://github.com/owenmead/Pikaday\n\n For full help see $:/plugins/kixam/datepicker/usage\n\n TODO: use HTML5 \&quot;date\&quot; (and not \&quot;datetime-local\&quot;) input types if available\n TODO: set field type/flag to \&quot;date\&quot; to make TW5 render {{!!ourField}} as expected, i.e. like it renders e.g. {{!!created}}\n TODO: use our widget for system date fields (created, modified, ...)\n\\*/\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\n(function() {\n 'use strict';\n\n var Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n var moment = require(\&quot;$:/plugins/kixam/moment/moment.js\&quot;);\n var pikaday = require(\&quot;$:/plugins/kixam/datepicker/pikaday.js\&quot;); // this is a modified version of pikaday.js, see build.sh\n var image = require(\&quot;$:/core/modules/widgets/image.js\&quot;).image;\n\n var DatePickerWidget = function(parseTreeNode, options) {\n Widget.call(this);\n this.initialise(parseTreeNode, options);\n this.options = options;\n };\n\n DatePickerWidget.prototype = new Widget();\n\n DatePickerWidget.prototype.render = function(parent,nextSibling) {\n this.computeAttributes();\n this.renderChildren(parent,nextSibling);\n this.execute();\n this.parentDomNode = parent;\n\n // set HTML tag\n if(!this.editTag || $tw.config.htmlUnsafeElements.indexOf(this.editTag) !== -1) {\n this.editTag = \&quot;input\&quot;;\n }\n\n // set HTML item attributes\n if(this.editAttributesTiddlerName) {\n this.editAttributes = $tw.wiki.getTiddlerData(this.editAttributesTiddlerName, {});\n }\n\n // create HTML item\n this.editor = $tw.utils.domMaker(this.editTag, {attributes: this.editAttributes});\n\n if(this.editPlaceholder) {\n this.editor.setAttribute(\&quot;placeholder\&quot;,this.editPlaceholder);\n }\n\n if(this.editClass) {\n this.editor.setAttribute(\&quot;class\&quot;,this.editClass);\n }\n\n // render HTML item\n parent.insertBefore(this.editor, nextSibling);\n this.domNodes.push(this.editor);\n\n // render icon\n if(this.iconPath) {\n var tiddler = this.wiki.getTiddler(this.iconPath);\n if(tiddler &amp;&amp; tiddler.hasTag(\&quot;$:/tags/Image\&quot;)) {\n // this is a system icon tiddler: just transclude the tiddler\n this.icon = $tw.utils.domMaker(\&quot;span\&quot;, {innerHTML: tiddler.fields.text});\n parent.insertBefore(this.icon, this.editor);\n this.domNodes.push(this.icon);\n } else {\n // this is something else: render it using &lt;$image&gt; widget\n var ptn = this.parseTreeNode;\n ptn.attributes = {source: {name: \&quot;source\&quot;, type: \&quot;string\&quot;, value: this.iconPath} };\n this.icon = new image(ptn, this.options);\n this.icon.render(this.parentDomNode, this.editor);\n }\n }\n\n this.onPickerDateSelect = this.onPickerDateSelect.bind(this);\n\n var langprefix = \&quot;$:/languages/\&quot;.length,\n lang = $tw.wiki.getTiddlerText(\&quot;$:/language\&quot;).substring(langprefix, langprefix + 2);\n if(lang === \&quot;zh\&quot;) {\n // TW5 does not use standard codes for Chinese\n var suffix = $tw.wiki.getTiddlerText(\&quot;$:/language\&quot;);\n suffix = suffix.substring(suffix.length-1);\n if(suffix === \&quot;s\&quot;) {\n lang = \&quot;zh-cn\&quot;; //simplified\n } else {\n lang = \&quot;zh-tw\&quot;; //traditional\n }\n }\n\n var locale = moment.localeData(moment.locale([lang, \&quot;en\&quot;])),\n i18n = {\n previousMonth : \&quot;Previous Month\&quot;,\n nextMonth : \&quot;Next Month\&quot;,\n months : locale._months,\n monthsShort : locale._monthsShort,\n weekdays : locale._weekdays,\n
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
}
}
}</pre>
</div>
<div author="kixam" core-version="&gt;=5.1.8" created="20210307161555733" dependents="" description="moment.js plugin for TiddlyWiki5" list="readme license" modified="20210307161555734" plugin-type="plugin" source="https://github.com/kixam/TW5-moment.js" title="$:/plugins/kixam/moment" type="application/json" version="2.24.0">
<pre>{
&quot;tiddlers&quot;: {
&quot;$:/plugins/kixam/moment/icon&quot;: {
&quot;title&quot;: &quot;$:/plugins/kixam/moment/icon&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;&lt;svg height=\&quot;22pt\&quot; width=\&quot;22pt\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;\n&lt;path d=\&quot;m 64.116816,0 -54.4965957,31.959746 0.00139,63.919491 54.4965967,31.959743 54.496603,-31.959743 0,-63.919491 L 64.118211,0 Z M 63.842544,28.318892 A 35.326327,35.326327 0 0 1 99.17259,63.645219 35.326327,35.326327 0 0 1 63.842544,98.975265 35.326327,35.326327 0 0 1 28.516216,63.645219 35.326327,35.326327 0 0 1 63.842544,28.318892 Z m 0,4.775599 c -16.870097,0 -30.550728,13.680631 -30.550728,30.550728 0,16.874746 13.680631,30.555841 30.550728,30.555841 16.874745,0 30.555841,-13.681095 30.555841,-30.555841 0,-16.870097 -13.681096,-30.550728 -30.555841,-30.550728 z m 0,1.906893 c 1.06455,0 1.910611,0.860008 1.910611,1.915725 l 0,28.638722 -17.190856,0 c -1.027361,0 -1.905499,-0.85536 -1.905499,-1.910612 0,-1.059902 0.854895,-1.905963 1.905499,-1.905963 l 13.374282,0 0,-24.81285 c 0,-1.06362 0.855359,-1.925022 1.905963,-1.925022 z\&quot;/&gt;\n&lt;/svg&gt;\n&quot;
},
&quot;$:/plugins/kixam/moment/license&quot;: {
&quot;title&quot;: &quot;$:/plugins/kixam/moment/license&quot;,
&quot;text&quot;: &quot;!! moment.js licence: [[MIT|http://mit-license.org/]]\n```\nCopyright (c) 2011-2015 Tim Wood, Iskren Chernev, Moment.js contributors\n\nPermission is hereby granted, free of charge, to any person\nobtaining a copy of this software and associated documentation\nfiles (the \&quot;Software\&quot;), to deal in the Software without\nrestriction, including without limitation the rights to use,\ncopy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the\nSoftware is furnished to do so, subject to the following\nconditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \&quot;AS IS\&quot;, WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\nOF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\nHOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\nWHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\nFROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\nOTHER DEALINGS IN THE SOFTWARE.\n```\n\n!! Plugin license: [[BSD 2-clause simplified license|http://www.freebsd.org/copyright/freebsd-license.html]]\n```\nCopyright (c) 2015, kixam\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n1. Redistributions of source code must retain the above copyright notice, this\n list of conditions and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and/or other materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \&quot;AS IS\&quot;\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n```\n&quot;
},
&quot;$:/plugins/kixam/moment/moment.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/kixam/moment/moment.js&quot;,
&quot;text&quot;: &quot;!function(e,a){\&quot;object\&quot;==typeof exports&amp;&amp;\&quot;undefined\&quot;!=typeof module?module.exports=a():\&quot;function\&quot;==typeof define&amp;&amp;define.amd?define(a):e.moment=a()}(this,function(){\&quot;use strict\&quot;;var e,n;function l(){return e.apply(null,arguments)}function _(e){return e instanceof Array||\&quot;[object Array]\&quot;===Object.prototype.toString.call(e)}function i(e){return null!=e&amp;&amp;\&quot;[object Object]\&quot;===Object.prototype.toString.call(e)}function o(e){return void 0===e}function m(e){return\&quot;number\&quot;==typeof e||\&quot;[object Number]\&quot;===Object.prototype.toString.call(e)}function u(e){return e instanceof Date||\&quot;[object Date]\&quot;===Object.prototype.toString.call(e)}function M(e,a){var t,s=[];for(t=0;t&lt;e.length;++t)s.push(a(e[t],t));return s}function h(e,a){return Object.prototype.hasOwnProperty.call(e,a)}function L(e,a){for(var t in a)h(a,t)&amp;&amp;(e[t]=a[t]);return h(a,\&quot;toString\&quot;)&amp;&amp;(e.toString=a.toString),h(a,\&quot;valueOf\&quot;)&amp;&amp;(e.valueOf=a.valueOf),e}function c(e,a,t,s){return Sa(e,a,t,s,!0).utc()}function Y(e){return null==e._pf&amp;&amp;(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function y(e){if(null==e._isValid){var a=Y(e),t=n.call(a.parsedDateParts,function(e){return null!=e}),s=!isNaN(e._d.getTime())&amp;&amp;a.overflow&lt;0&amp;&amp;!a.empty&amp;&amp;!a.invalidMonth&amp;&amp;!a.invalidWeekday&amp;&amp;!a.weekdayMismatch&amp;&amp;!a.nullInput&amp;&amp;!a.invalidFormat&amp;&amp;!a.userInvalidated&amp;&amp;(!a.meridiem||a.meridiem&amp;&amp;t);if(e._strict&amp;&amp;(s=s&amp;&amp;0===a.charsLeftOver&amp;&amp;0===a.unusedTokens.length&amp;&amp;void 0===a.bigHour),null!=Object.isFrozen&amp;&amp;Object.isFrozen(e))return s;e._isValid=s}return e._isValid}function f(e){var a=c(NaN);return null!=e?L(Y(a),e):Y(a).userInvalidated=!0,a}n=Array.prototype.some?Array.prototype.some:function(e){for(var a=Object(this),t=a.length&gt;&gt;&gt;0,s=0;s&lt;t;s++)if(s in a&amp;&amp;e.call(this,a[s],s,a))return!0;return!1};var d=l.momentProperties=[];function k(e,a){var t,s,n;if(o(a._isAMomentObject)||(e._isAMomentObject=a._isAMomentObject),o(a._i)||(e._i=a._i),o(a._f)||(e._f=a._f),o(a._l)||(e._l=a._l),o(a._strict)||(e._strict=a._strict),o(a._tzm)||(e._tzm=a._tzm),o(a._isUTC)||(e._isUTC=a._isUTC),o(a._offset)||(e._offset=a._offset),o(a._pf)||(e._pf=Y(a)),o(a._locale)||(e._locale=a._locale),0&lt;d.length)for(t=0;t&lt;d.length;t++)o(n=a[s=d[t]])||(e[s]=n);return e}var a=!1;function p(e){k(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===a&amp;&amp;(a=!0,l.updateOffset(this),a=!1)}function D(e){return e instanceof p||null!=e&amp;&amp;null!=e._isAMomentObject}function T(e){return e&lt;0?Math.ceil(e)||0:Math.floor(e)}function g(e){var a=+e,t=0;return 0!==a&amp;&amp;isFinite(a)&amp;&amp;(t=T(a)),t}function r(e,a,t){var s,n=Math.min(e.length,a.length),d=Math.abs(e.length-a.length),r=0;for(s=0;s&lt;n;s++)(t&amp;&amp;e[s]!==a[s]||!t&amp;&amp;g(e[s])!==g(a[s]))&amp;&amp;r++;return r+d}function w(e){!1===l.suppressDeprecationWarnings&amp;&amp;\&quot;undefined\&quot;!=typeof console&amp;&amp;console.warn&amp;&amp;console.warn(\&quot;Deprecation warning: \&quot;+e)}function t(n,d){var r=!0;return L(function(){if(null!=l.deprecationHandler&amp;&amp;l.deprecationHandler(null,n),r){for(var e,a=[],t=0;t&lt;arguments.length;t++){if(e=\&quot;\&quot;,\&quot;object\&quot;==typeof arguments[t]){for(var s in e+=\&quot;\\n[\&quot;+t+\&quot;] \&quot;,arguments[0])e+=s+\&quot;: \&quot;+arguments[0][s]+\&quot;, \&quot;;e=e.slice(0,-2)}else e=arguments[t];a.push(e)}w(n+\&quot;\\nArguments: \&quot;+Array.prototype.slice.call(a).join(\&quot;\&quot;)+\&quot;\\n\&quot;+(new Error).stack),r=!1}return d.apply(this,arguments)},d)}var s,v={};function S(e,a){null!=l.deprecationHandler&amp;&amp
&quot;module-type&quot;: &quot;library&quot;,
&quot;type&quot;: &quot;application/javascript&quot;
},
&quot;$:/plugins/kixam/moment/readme&quot;: {
&quot;title&quot;: &quot;$:/plugins/kixam/moment/readme&quot;,
&quot;text&quot;: &quot;! moment.js\n\nA plugin for [[TiddlyWiki|http://tiddlywiki.com]] 5, that provides the [[moment.js library|http://momentjs.com]].\n&quot;
}
}
}</pre>
</div>
<div created="20181214085707714" modified="20210710124941724" tags="$:/tags/Stylesheet" title="$:/plugins/kookma/refnotes/styles/footnote-counter" type="text/css">
<pre>/*automatic counter for fnote macro. The counter resets at the begining of each tiddler*/
.tc-tiddler-frame {
counter-reset: fnote-count;
}
.refnotes-footnote {
counter-increment: fnote-count;
}
.refnotes-footnote:after {
content: counter(fnote-count);
font-size:small;
/* color:#0000ee;*/
vertical-align: super;
line-height: 1;
/*line-height: 1.5;*/
margin-left: -0.1em;
}
</pre>
</div>
<div caption="Bibliography" created="20181220153648454" description="This code adds the `bibtex-entry` tag to all tiddlers imported by `BibTeX Importer` plugin thus having a `bibtex-title` field." modified="20210709011254977" tags="" title="$:/plugins/kookma/refnotes/ui/bibtexlibrary" type="text/vnd.tiddlywiki">
<pre>\define dispEntry()
&lt;$link/&gt;
&lt;$macrocall $name=stretchText text=&quot;&quot;&quot;
&lt;$view field=&quot;bibtex-author&quot;/&gt;. (&lt;$view field=&quot;bibtex-year&quot;/&gt;). &lt;$view field=&quot;bibtex-title&quot;/&gt;.&quot;&quot;&quot; /&gt;
\end
\define searchFilter() [has[bibtex-title]search:$(sField)$[$(sTerm)$]]
\define bibLibrary()
&lt;$vars sField={{{[&lt;searchTid&gt;get[field]] ~[[bibtex-author]]}}} sTerm={{{[&lt;searchTid&gt;get[text]]}}}&gt;
&lt;!-- show hide entry details --&gt;
&lt;div class=&quot;tc-search refnotes-library&quot; style=&quot;margin:10px 0 0 20px;&quot;&gt;
Show and Hide Details: &amp;nbsp;
&lt;$button class=&quot;tc-btn-invisible&quot;&gt;{{$:/core/images/down-arrow}}
&lt;$list filter=&quot;[subfilter&lt;searchFilter&gt;]&quot;&gt;
&lt;$action-setfield $tiddler=&lt;&lt;tTemp&gt;&gt; text=show /&gt;
&lt;/$list&gt;
&lt;/$button&gt;
&lt;$button class=&quot;tc-btn-invisible&quot;&gt;{{$:/core/images/up-arrow}}
&lt;$list filter=&quot;[subfilter&lt;searchFilter&gt;]&quot;&gt;
&lt;$action-deletetiddler $tiddler=&lt;&lt;tTemp&gt;&gt; /&gt;
&lt;/$list&gt;
&lt;/$button&gt;
&lt;/div&gt;
&lt;!-- show the library data --&gt;
&lt;ol&gt;
&lt;$list filter=&quot;[subfilter&lt;searchFilter&gt;]&quot;&gt;
&lt;li&gt;&lt;&lt;dispEntry&gt;&gt;&lt;/li&gt;
&lt;/$list&gt;
&lt;/ol&gt;
&lt;/$vars&gt;
\end
&lt;!-- interface --&gt;
&lt;div style=&quot;margin-bottom:8px;&quot;&gt;
&lt;&lt;process-entries &quot;Process New Entries&quot;&gt;&gt;
&lt;/div&gt;
&lt;!-- make this optional
[[Bibliography Table]]
--&gt;
&lt;&lt;searchUi&gt;&gt;
&lt;&lt;bibLibrary&gt;&gt;
</pre>
</div>
<div author="Soren Bjornstad, after Danielo Rodriguez" core-version="&gt;=5.1.0" dependents="" description="triple-click to edit tiddlers" list="readme" plugin-type="plugin" source="https://github.com/sobjornstad/TW5-3click2edit" title="$:/plugins/sobjornstad/3click2edit" type="application/json" version="0.1">
<pre>{
&quot;tiddlers&quot;: {
&quot;$:/plugins/danielo515/2click2edit/ClickListener.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/danielo515/2click2edit/ClickListener.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/plugins/danielo515/2click2edit/ClickListener.js\ntype: application/javascript\nmodule-type: widget\n\nThis widgets adds an double click event listener to its parent\n\n\\*/\n\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\nvar ClickListener = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nClickListener.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nClickListener.prototype.render = function(parent,nextSibling) {\n\tthis.parentDomNode = parent;\n\tthis.execute();\n\tvar self = this;\n /*Since the event listener have been added to the parent, the \&quot;this\&quot; property is pointing to the\n wrong object, we should call our edit function with our widget object set as the this property.*/\n /* https://stackoverflow.com/questions/6480060/how-do-i-listen-for-triple-clicks-in-javascript */\n parent.addEventListener(\&quot;click\&quot;, function (event) {\n if (event.detail === 3) {\n self.editTiddler.call(self, event);\n }\n });\n};\n\nClickListener.prototype.editTiddler = function(event) {\n this.dispatchEvent({type: \&quot;tm-edit-tiddler\&quot;, param: this.getVariable(\&quot;currentTiddler\&quot;)});\n};\n\n/*\nCompute the internal state of the widget\n*/\nClickListener.prototype.execute = function() {\n};\n\n/*\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\n*/\nClickListener.prototype.refresh = function(changedTiddlers) {\n\treturn false;\n};\n\nexports.click = ClickListener;\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/plugins/danielo515/2click2edit/readme&quot;: {
&quot;title&quot;: &quot;$:/plugins/danielo515/2click2edit/readme&quot;,
&quot;text&quot;: &quot;Modified by Soren Bjornstad to require 3 clicks instead of 2.\n\nThis plugin adds the ability to edit tiddlers by double clicking on its body.\nJust try to edit any tiddler shown here by double clicking on it.\n\nThis can be considered a fast solution. It is only to fill the gap until TiddlyWiki adds support \nfor it officially.\n&quot;
},
&quot;$:/plugins/danielo515/2click2edit/ui/ViewTemplate&quot;: {
&quot;title&quot;: &quot;$:/plugins/danielo515/2click2edit/ui/ViewTemplate&quot;,
&quot;tags&quot;: &quot;$:/tags/ViewTemplate&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;&lt;$click&gt;&quot;
}
}
}</pre>
</div>
<div author="Soren Bjornstad" core-version="&gt;=5.1.21" dependents="" description="TiddlyRemember: Embed Anki notes in your TiddlyWiki" list="readme license" plugin-type="plugin" source="https://github.com/sobjornstad/TiddlyRemember" title="$:/plugins/sobjornstad/TiddlyRemember" type="application/json" version="1.2.2">
<pre>{
&quot;tiddlers&quot;: {
&quot;$:/config/ShortcutInfo/remembercz&quot;: {
&quot;title&quot;: &quot;$:/config/ShortcutInfo/remembercz&quot;,
&quot;created&quot;: &quot;20200926193600000&quot;,
&quot;modified&quot;: &quot;20200926193600000&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;Create a new `remembercz` macro snippet&quot;
},
&quot;$:/config/ShortcutInfo/rememberq&quot;: {
&quot;title&quot;: &quot;$:/config/ShortcutInfo/rememberq&quot;,
&quot;created&quot;: &quot;20200926193600000&quot;,
&quot;modified&quot;: &quot;20200926193600000&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;Create a new `rememberq` macro snippet&quot;
},
&quot;$:/config/TiddlyRemember/DeckMapping&quot;: {
&quot;title&quot;: &quot;$:/config/TiddlyRemember/DeckMapping&quot;,
&quot;created&quot;: &quot;20200516223625569&quot;,
&quot;modified&quot;: &quot;20200516223658777&quot;,
&quot;tags&quot;: &quot;&quot;
},
&quot;$:/config/TiddlyRemember/IdPrefix&quot;: {
&quot;title&quot;: &quot;$:/config/TiddlyRemember/IdPrefix&quot;,
&quot;created&quot;: &quot;20200516223625569&quot;,
&quot;modified&quot;: &quot;20200516223658777&quot;,
&quot;tags&quot;: &quot;&quot;
},
&quot;$:/config/TiddlyRemember/TagMapping&quot;: {
&quot;title&quot;: &quot;$:/config/TiddlyRemember/TagMapping&quot;,
&quot;created&quot;: &quot;20200516190911842&quot;,
&quot;modified&quot;: &quot;20200516223231730&quot;,
&quot;tags&quot;: &quot;&quot;
},
&quot;$:/config/shortcuts/remembercz&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts/remembercz&quot;,
&quot;created&quot;: &quot;20200926193600000&quot;,
&quot;modified&quot;: &quot;20200926193600000&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;alt-shift-R&quot;
},
&quot;$:/config/shortcuts/rememberq&quot;: {
&quot;title&quot;: &quot;$:/config/shortcuts/rememberq&quot;,
&quot;created&quot;: &quot;20200926193600000&quot;,
&quot;modified&quot;: &quot;20200926193600000&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;alt-R&quot;
},
&quot;$:/plugins/sobjornstad/TiddlyRemember/icons/lightbulb-black.svg&quot;: {
&quot;title&quot;: &quot;$:/plugins/sobjornstad/TiddlyRemember/icons/lightbulb-black.svg&quot;,
&quot;text&quot;: &quot;&lt;?xml version=\&quot;1.0\&quot; encoding=\&quot;utf-8\&quot;?&gt;\n&lt;svg width=\&quot;18px\&quot; height=\&quot;18px\&quot; viewBox=\&quot;0 0 1792 1792\&quot; xmlns=\&quot;http://www.w3.org/2000/svg\&quot;&gt;&lt;path d=\&quot;M1120 576q0 13-9.5 22.5t-22.5 9.5-22.5-9.5-9.5-22.5q0-46-54-71t-106-25q-13 0-22.5-9.5t-9.5-22.5 9.5-22.5 22.5-9.5q50 0 99.5 16t87 54 37.5 90zm160 0q0-72-34.5-134t-90-101.5-123-62-136.5-22.5-136.5 22.5-123 62-90 101.5-34.5 134q0 101 68 180 10 11 30.5 33t30.5 33q128 153 141 298h228q13-145 141-298 10-11 30.5-33t30.5-33q68-79 68-180zm128 0q0 155-103 268-45 49-74.5 87t-59.5 95.5-34 107.5q47 28 47 82 0 37-25 64 25 27 25 64 0 52-45 81 13 23 13 47 0 46-31.5 71t-77.5 25q-20 44-60 70t-87 26-87-26-60-70q-46 0-77.5-25t-31.5-71q0-24 13-47-45-29-45-81 0-37 25-64-25-27-25-64 0-54 47-82-4-50-34-107.5t-59.5-95.5-74.5-87q-103-113-103-268 0-99 44.5-184.5t117-142 164-89 186.5-32.5 186.5 32.5 164 89 117 142 44.5 184.5z\&quot;/&gt;&lt;/svg&gt;\n&lt;!-- Source: FontAwesome --&gt;&quot;,
&quot;type&quot;: &quot;image/svg+xml&quot;,
&quot;created&quot;: &quot;20200517161140014&quot;,
&quot;modified&quot;: &quot;20200517161732249&quot;
},
&quot;$:/plugins/sobjornstad/TiddlyRemember/icons/lightbulb-white.svg&quot;: {
&quot;title&quot;: &quot;$:/plugins/sobjornstad/TiddlyRemember/icons/lightbulb-white.svg&quot;,
&quot;text&quot;: &quot;&lt;?xml version=\&quot;1.0\&quot; encoding=\&quot;utf-8\&quot;?&gt;\n&lt;svg width=\&quot;18px\&quot; height=\&quot;18px\&quot; viewBox=\&quot;0 0 1792 1792\&quot; xmlns=\&quot;http://www.w3.org/2000/svg\&quot;&gt;&lt;path d=\&quot;M1120 576q0 13-9.5 22.5t-22.5 9.5-22.5-9.5-9.5-22.5q0-46-54-71t-106-25q-13 0-22.5-9.5t-9.5-22.5 9.5-22.5 22.5-9.5q50 0 99.5 16t87 54 37.5 90zm160 0q0-72-34.5-134t-90-101.5-123-62-136.5-22.5-136.5 22.5-123 62-90 101.5-34.5 134q0 101 68 180 10 11 30.5 33t30.5 33q128 153 141 298h228q13-145 141-298 10-11 30.5-33t30.5-33q68-79 68-180zm128 0q0 155-103 268-45 49-74.5 87t-59.5 95.5-34 107.5q47 28 47 82 0 37-25 64 25 27 25 64 0 52-45 81 13 23 13 47 0 46-31.5 71t-77.5 25q-20 44-60 70t-87 26-87-26-60-70q-46 0-77.5-25t-31.5-71q0-24 13-47-45-29-45-81 0-37 25-64-25-27-25-64 0-54 47-82-4-50-34-107.5t-59.5-95.5-74.5-87q-103-113-103-268 0-99 44.5-184.5t117-142 164-89 186.5-32.5 186.5 32.5 164 89 117 142 44.5 184.5z\&quot; fill=\&quot;#fff\&quot;/&gt;&lt;/svg&gt;\n&lt;!-- Source: FontAwesome --&gt;&quot;,
&quot;type&quot;: &quot;image/svg+xml&quot;,
&quot;created&quot;: &quot;20200517161252694&quot;,
&quot;modified&quot;: &quot;20200517161645377&quot;
},
&quot;$:/plugins/sobjornstad/TiddlyRemember/license&quot;: {
&quot;title&quot;: &quot;$:/plugins/sobjornstad/TiddlyRemember/license&quot;,
&quot;text&quot;: &quot;The MIT License (MIT)\n\nCopyright (c) 2020 Soren Bjornstad.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \&quot;Software\&quot;), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \&quot;AS IS\&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n&quot;,
&quot;type&quot;: &quot;text/plain&quot;
},
&quot;$:/plugins/sobjornstad/TiddlyRemember/macros/remember&quot;: {
&quot;title&quot;: &quot;$:/plugins/sobjornstad/TiddlyRemember/macros/remember&quot;,
&quot;created&quot;: &quot;20200510004110231&quot;,
&quot;modified&quot;: &quot;20200730205800000&quot;,
&quot;tags&quot;: &quot;$:/tags/Macro&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;\\define remembertwo(id, reference)\n\t&lt;div class=\&quot;tr-selfidentification\&quot;&gt;\n\t\t&lt;$set name=\&quot;selfid\&quot; filter=\&quot;\&quot;\&quot;[enlist[$reference$]]\&quot;\&quot;\&quot; value=\&quot;\&quot;\&quot;[&lt;$link to=\&quot;$reference$\&quot;&gt;$reference$&lt;/$link&gt;: $id$]\&quot;\&quot;\&quot; emptyValue=\&quot;[$id$]\&quot;&gt;\n\t\t\t&lt;&lt;selfid&gt;&gt;\n\t\t&lt;/$set&gt;\n\t&lt;/div&gt;\n\t&lt;div class=\&quot;rid\&quot;&gt;\n\t\t[$id$]\n\t&lt;/div&gt;\n\t&lt;div class=\&quot;tr-reference\&quot;&gt;\n\t\t&lt;$text text=&lt;&lt;__reference__&gt;&gt;/&gt;\n\t&lt;/div&gt;\n\\end\n\n\\define rememberq(id, question, answer, reference: \&quot;\&quot;)\n &lt;div class=\&quot;rememberq remembertwo\&quot;&gt;\n &lt;div class=\&quot;rquestion tr-ritem\&quot;&gt;\n &lt;div&gt;Q:&lt;/div&gt;\n &lt;p&gt;$question$&lt;/p&gt;\n &lt;/div&gt;\n &lt;div class=\&quot;ranswer tr-ritem\&quot;&gt;\n &lt;div&gt;A:&lt;/div&gt;\n &lt;p&gt;$answer$&lt;/p&gt;\n &lt;/div&gt;\n\t\t&lt;$macrocall $name=remembertwo id=&lt;&lt;__id__&gt;&gt; reference=&lt;&lt;__reference__&gt;&gt;/&gt;\n &lt;/div&gt;\n\\end\n\n\\define rememberp(id, first, second, reference: \&quot;\&quot;)\n &lt;div class=\&quot;rememberp remembertwo\&quot;&gt;\n &lt;div class=\&quot;rfirst tr-ritem\&quot;&gt;\n &lt;div&gt;1:&lt;/div&gt;\n &lt;p&gt;$first$&lt;/p&gt;\n &lt;/div&gt;\n &lt;div class=\&quot;rsecond tr-ritem\&quot;&gt;\n &lt;div&gt;2:&lt;/div&gt;\n &lt;p&gt;$second$&lt;/p&gt;\n &lt;/div&gt;\n\t\t&lt;$macrocall $name=remembertwo id=&lt;&lt;__id__&gt;&gt; reference=&lt;&lt;__reference__&gt;&gt;/&gt;\n &lt;/div&gt;\n\\end\n\n\\define remembercz(id, text, mode: \&quot;block\&quot;, reference: \&quot;\&quot;)\n\t&lt;$list filter=\&quot;[[$mode$]match[inline]]\&quot;&gt;\n\t\t&lt;$macrocall $name=twRememberClozeInline id=&lt;&lt;__id__&gt;&gt; text=&lt;&lt;__text__&gt;&gt; reference=&lt;&lt;__reference__&gt;&gt;/&gt;\n\t&lt;/$list&gt;\n\t&lt;$list filter=\&quot;[[$mode$]!match[inline]]\&quot;&gt;\n\t\t&lt;$macrocall $name=twRememberClozeBlock id=&lt;&lt;__id__&gt;&gt; text=&lt;&lt;__text__&gt;&gt; reference=&lt;&lt;__reference__&gt;&gt;/&gt;\n\t&lt;/$list&gt;\n\\end\n\n\\define twRememberClozeBlock(id, text, reference)\n\t&lt;div class=\&quot;remembercz\&quot;&gt;\n\t\t&lt;span class=\&quot;cloze-identifier\&quot;&gt;cloze: &lt;/span&gt;\n\t\t&lt;span class=\&quot;cloze-text\&quot;&gt;$text$&lt;/span&gt;\n\t\t&lt;div class=\&quot;tr-selfidentification\&quot;&gt;\n\t\t\t&lt;$set name=\&quot;selfid\&quot; filter=\&quot;\&quot;\&quot;[enlist[$reference$]]\&quot;\&quot;\&quot; value=\&quot;\&quot;\&quot;[&lt;$link to=\&quot;$reference$\&quot;&gt;$reference$&lt;/$link&gt;: $id$]\&quot;\&quot;\&quot; emptyValue=\&quot;[$id$]\&quot;&gt;\n\t\t\t\t&lt;&lt;selfid&gt;&gt;\n\t\t\t&lt;/$set&gt;\n\t\t&lt;/div&gt;\n\t\t&lt;div class=\&quot;rid\&quot;&gt;\n\t\t\t[$id$]\n\t\t&lt;/div&gt;\n\t\t&lt;div class=\&quot;tr-reference\&quot;&gt;\n\t\t\t&lt;$text text=&lt;&lt;__reference__&gt;&gt;/&gt;\n\t\t&lt;/div&gt;\n\t&lt;/div&gt;\n\\end\n\n\\define twRememberClozeInline(id, text, reference)\n\t&lt;span class=\&quot;remembercz\&quot;&gt;\n\t\t&lt;span class=\&quot;cloze-identifier\&quot;&gt;{cloze: &lt;/span&gt;\n\t\t&lt;span class=\&quot;cloze-text\&quot;&gt;$text$&lt;/span&gt;\n\t\t&lt;span class=\&quot;cloze-identifier\&quot;&gt;}&lt;/span&gt;\n\t\t&lt;div class=\&quot;tr-selfidentification\&quot;&gt;\n\t\t\t&lt;$set name=\&quot;selfid\&quot; filter=\&quot;\&quot;\&quot;[enlist[$reference$]]\&quot;\&quot;\&quot; value=\&quot;\&quot;\&quot;[&lt;$link to=\&quot;$reference$\&quot;&gt;$reference$&lt;/$link&gt;: $id$]\&quot;\&quot;\&quot; emptyValue=\&quot;[$id$]\&quot;&gt;\n\t\t\t\t&lt;&lt;selfid&gt;&gt;\n\t\t\t&lt;/$set&gt;\n\t\t&lt;/div&gt;\n\t\t&lt;div class=\&quot;rid\&quot;&gt;\n\t\t\t[$id$]\n\t\t&lt;/div&gt;\n\t\t&lt;div class=\&quot;tr-reference\&quot;&gt;\n\t\t\t&lt
},
&quot;$:/plugins/sobjornstad/TiddlyRemember/readme&quot;: {
&quot;title&quot;: &quot;$:/plugins/sobjornstad/TiddlyRemember/readme&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;TiddlyRemember is a tool that integrates TiddlyWiki with Anki.\nYou can interleave questions with your notes in TiddlyWiki,\n then sync them into Anki notes with one click.\nYou can edit and move the questions around your TiddlyWiki,\n and they will stay connected to the Anki notes.\nScheduling information in Anki is preserved when editing notes in TiddlyWiki.\n\n* [[Documentation|https://sobjornstad.github.io/TiddlyRemember/]]\n* [[GitHub|https://github.com/sobjornstad/TiddlyRemember]]\n&quot;
},
&quot;$:/plugins/sobjornstad/TiddlyRemember/stylesheets/remember&quot;: {
&quot;title&quot;: &quot;$:/plugins/sobjornstad/TiddlyRemember/stylesheets/remember&quot;,
&quot;created&quot;: &quot;20200510004425508&quot;,
&quot;modified&quot;: &quot;20200517155210548&quot;,
&quot;tags&quot;: &quot;$:/tags/Stylesheet&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;div.remembertwo {\n\tborder-left: 3px solid &lt;&lt;colour tag-background&gt;&gt;;\n\tpadding-left: 0.5em;\n\tmargin-bottom: 22px; /* line-height of the selfidentification block */\n}\n\ndiv.remembertwo .tr-ritem p {\n\tmargin-top: 0px;\n\tmargin-bottom: 0px;\n\tmargin-left: 2em;\n}\n\ndiv.remembertwo .tr-ritem div {\n\tfont-weight: bold;\n\tcolor: &lt;&lt;colour primary&gt;&gt;;\n\tfloat: left;\n}\n\ndiv.remembertwo div.tr-selfidentification {\n\tfloat: right;\n\tcolor: &lt;&lt;colour muted-foreground&gt;&gt;;\n}\n\ndiv.remembercz {\n\tborder-left: 3px solid &lt;&lt;colour tag-background&gt;&gt;;\n\tpadding-left: 0.5em;\n\tline-height: 22px; /* default; setting explicitly */\n}\n\n.remembercz &gt; span.cloze-identifier {\n\tcolor: &lt;&lt;colour tag-background&gt;&gt;;\n}\n\n.remembercz div.tr-selfidentification {\n\tfloat: right;\n\tmargin-left: 0.5em;\n\tcolor: &lt;&lt;colour muted-foreground&gt;&gt;;\n}\n\n/* the separate reference and ID fields are only for TR's benefit */\ndiv.remembertwo div.tr-reference, .remembercz div.tr-reference {\n\tdisplay: none;\n}\n\ndiv.remembertwo div.rid, .remembercz div.rid {\n\tdisplay: none;\n}&quot;
},
&quot;$:/plugins/sobjornstad/TiddlyRemember/templates/AnkiDecks&quot;: {
&quot;title&quot;: &quot;$:/plugins/sobjornstad/TiddlyRemember/templates/AnkiDecks&quot;,
&quot;created&quot;: &quot;20200516223716380&quot;,
&quot;modified&quot;: &quot;20200516232507031&quot;,
&quot;revision&quot;: &quot;7&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;&lt;ul id=\&quot;anki-decks\&quot;&gt;\n\t&lt;$list\n\t\t\tfilter=\&quot;[[$:/config/TiddlyRemember/DeckMapping]get[text]splitregexp[\\n]!is[blank]]\&quot;\n\t\t\tvariable=\&quot;subfilter\&quot;&gt;\n\t\t&lt;$list filter=\&quot;[&lt;currentTiddler&gt;subfilter&lt;subfilter&gt;]\&quot;&gt;\n\t\t\t&lt;li&gt;&lt;&lt;currentTiddler&gt;&gt;&lt;/li&gt;\n\t\t&lt;/$list&gt;\n\t&lt;/$list&gt;\n&lt;/ul&gt;&quot;
},
&quot;$:/plugins/sobjornstad/TiddlyRemember/templates/AnkiTags&quot;: {
&quot;title&quot;: &quot;$:/plugins/sobjornstad/TiddlyRemember/templates/AnkiTags&quot;,
&quot;created&quot;: &quot;20200516191131056&quot;,
&quot;modified&quot;: &quot;20200516232427612&quot;,
&quot;revision&quot;: &quot;174&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;&lt;ul id=\&quot;anki-tags\&quot;&gt;\n\t&lt;$list\n\t\t\tfilter=\&quot;[[$:/config/TiddlyRemember/TagMapping]get[text]splitregexp[\\n]!is[blank]]\&quot;\n\t\t\tvariable=\&quot;subfilter\&quot;&gt;\n\t\t&lt;$list filter=\&quot;[&lt;currentTiddler&gt;subfilter&lt;subfilter&gt;]\&quot;&gt;\n\t\t\t&lt;li&gt;&lt;&lt;currentTiddler&gt;&gt;&lt;/li&gt;\n\t\t&lt;/$list&gt;\n\t&lt;/$list&gt;\n&lt;/ul&gt;&quot;
},
&quot;$:/plugins/sobjornstad/TiddlyRemember/templates/TiddlyRememberParseable&quot;: {
&quot;title&quot;: &quot;$:/plugins/sobjornstad/TiddlyRemember/templates/TiddlyRememberParseable&quot;,
&quot;created&quot;: &quot;20200510211830000&quot;,
&quot;modified&quot;: &quot;20200516223853339&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;\\import [[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]\n\n&lt;span id=\&quot;tr-version\&quot;&gt;1.2.2&lt;/span&gt;\n\n{{||$:/plugins/sobjornstad/TiddlyRemember/templates/AnkiDecks}}\n{{||$:/plugins/sobjornstad/TiddlyRemember/templates/AnkiTags}}\n\n&lt;$transclude mode=\&quot;block\&quot; /&gt;\n&quot;
},
&quot;$:/plugins/sobjornstad/TiddlyRemember/toolbar/remembercz&quot;: {
&quot;title&quot;: &quot;$:/plugins/sobjornstad/TiddlyRemember/toolbar/remembercz&quot;,
&quot;caption&quot;: &quot;RememberCz&quot;,
&quot;condition&quot;: &quot;[&lt;targetTiddler&gt;!has[type]] [&lt;targetTiddler&gt;type[text/vnd.tiddlywiki]]&quot;,
&quot;created&quot;: &quot;20200517155905263&quot;,
&quot;description&quot;: &quot;Remember Cloze Deletion&quot;,
&quot;icon&quot;: &quot;$:/plugins/sobjornstad/TiddlyRemember/icons/lightbulb-black.svg&quot;,
&quot;list-after&quot;: &quot;$:/plugins/sobjornstad/TiddlyRemember/toolbar/rememberq&quot;,
&quot;modified&quot;: &quot;20200517162124307&quot;,
&quot;shortcuts&quot;: &quot;((remembercz))&quot;,
&quot;tags&quot;: &quot;$:/tags/EditorToolbar&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;\\define getMacro()\n&lt;&lt;remembercz \&quot;$(clozeid)$\&quot;\n\t\&quot;Cloze\&quot;&gt;&gt;\n\\end\n\n\\define prefixId() $(theprefix)$$(thetime)$\n\n&lt;$set name=thetime value=&lt;&lt;now \&quot;[UTC]YYYY0MM0DD0hh0mm0ss0XXX\&quot;&gt;&gt; &gt;\n&lt;$set name=theprefix value={{$:/config/TiddlyRemember/IdPrefix}}&gt;\n&lt;$set name=clozeid value=&lt;&lt;prefixId&gt;&gt; &gt;\n\t&lt;$action-sendmessage\n\t\t$message=\&quot;tm-edit-text-operation\&quot;\n\t\t$param=\&quot;replace-selection\&quot;\n\t\ttext=&lt;&lt;getMacro&gt;&gt;\n\t/&gt;\n&lt;/$set&gt;\n&lt;/$set&gt;\n&lt;/$set&gt;\n&quot;
},
&quot;$:/plugins/sobjornstad/TiddlyRemember/toolbar/rememberq&quot;: {
&quot;title&quot;: &quot;$:/plugins/sobjornstad/TiddlyRemember/toolbar/rememberq&quot;,
&quot;caption&quot;: &quot;RememberQ&quot;,
&quot;condition&quot;: &quot;[&lt;targetTiddler&gt;!has[type]] [&lt;targetTiddler&gt;type[text/vnd.tiddlywiki]]&quot;,
&quot;created&quot;: &quot;20161118171456554&quot;,
&quot;description&quot;: &quot;Remember Question/Answer&quot;,
&quot;icon&quot;: &quot;$:/plugins/sobjornstad/TiddlyRemember/icons/lightbulb-white.svg&quot;,
&quot;modified&quot;: &quot;20200517161709608&quot;,
&quot;shortcuts&quot;: &quot;((rememberq))&quot;,
&quot;tags&quot;: &quot;$:/tags/EditorToolbar&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;\\define getMacro()\n&lt;&lt;rememberq \&quot;$(questionid)$\&quot;\n\t\&quot;Q\&quot;\n\t\&quot;A\&quot;&gt;&gt;\n\\end\n\n\\define prefixId() $(theprefix)$$(thetime)$\n\n&lt;$set name=thetime value=&lt;&lt;now \&quot;[UTC]YYYY0MM0DD0hh0mm0ss0XXX\&quot;&gt;&gt; &gt;\n&lt;$set name=theprefix value={{$:/config/TiddlyRemember/IdPrefix}}&gt;\n&lt;$set name=questionid value=&lt;&lt;prefixId&gt;&gt; &gt;\n\t&lt;$action-sendmessage\n\t\t$message=\&quot;tm-edit-text-operation\&quot;\n\t\t$param=\&quot;replace-selection\&quot;\n\t\ttext=&lt;&lt;getMacro&gt;&gt;\n\t/&gt;\n&lt;/$set&gt;\n&lt;/$set&gt;\n&lt;/$set&gt;\n&quot;
}
}
}</pre>
</div>
<div author="Soren Bjornstad" core-version="&gt;=5.1.21" dependents="$:/plugins/TheDiveO/FontAwesome" description="Stretchtext in TiddlyWiki" list="readme license [[TiddlyStretch Macros]]" plugin-type="plugin" source="https://github.com/sobjornstad/TiddlyStretch" title="$:/plugins/sobjornstad/TiddlyStretch" type="application/json" version="0.1.0">
<pre>{
&quot;tiddlers&quot;: {
&quot;$:/plugins/sobjornstad/TiddlyStretch/TiddlyStretch Macros&quot;: {
&quot;title&quot;: &quot;$:/plugins/sobjornstad/TiddlyStretch/TiddlyStretch Macros&quot;,
&quot;created&quot;: &quot;20210304022132594&quot;,
&quot;description&quot;: &quot;TiddlyStretch provides four macros for creating stretchtext: `stretch`, `stretch-template`, `stretch-links`, and `stretch-template-links`.&quot;,
&quot;modified&quot;: &quot;20210304032037222&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;The following four macros are used to create expandos:\n\n&lt;&lt;stretch-template-links \&quot;[all[tiddlers+shadows]tag[$:/plugins/sobjornstad/TiddlyStretch/doc/Macro]]\&quot; \&quot;$:/plugins/sobjornstad/TiddlyStretch/doc/st/MacroSummary\&quot; \&quot;$:/plugins/sobjornstad/TiddlyStretch/doc/st/Identity\&quot;&gt;&gt;\n&quot;
},
&quot;$:/plugins/sobjornstad/TiddlyStretch/doc/EmptyMessage&quot;: {
&quot;title&quot;: &quot;$:/plugins/sobjornstad/TiddlyStretch/doc/EmptyMessage&quot;,
&quot;created&quot;: &quot;20210304024358659&quot;,
&quot;description&quot;: &quot;Optional wikitext to display if the filter yields no result.&quot;,
&quot;modified&quot;: &quot;20210306022349423&quot;,
&quot;name&quot;: &quot;emptyMessage&quot;,
&quot;tags&quot;: &quot;$:/plugins/sobjornstad/TiddlyStretch/doc/Parameter&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;
},
&quot;$:/plugins/sobjornstad/TiddlyStretch/doc/Filter&quot;: {
&quot;title&quot;: &quot;$:/plugins/sobjornstad/TiddlyStretch/doc/Filter&quot;,
&quot;created&quot;: &quot;20210304024354323&quot;,
&quot;description&quot;: &quot;A filter expression describing the tiddlers to list.&quot;,
&quot;modified&quot;: &quot;20210306022349455&quot;,
&quot;name&quot;: &quot;filter&quot;,
&quot;tags&quot;: &quot;$:/plugins/sobjornstad/TiddlyStretch/doc/Parameter&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;
},
&quot;$:/plugins/sobjornstad/TiddlyStretch/doc/LargeField&quot;: {
&quot;title&quot;: &quot;$:/plugins/sobjornstad/TiddlyStretch/doc/LargeField&quot;,
&quot;created&quot;: &quot;20210304024150673&quot;,
&quot;description&quot;: &quot;The field to display (in block mode) when the expando is expanded. Defaults to `text`.&quot;,
&quot;modified&quot;: &quot;20210306022349461&quot;,
&quot;name&quot;: &quot;largeField&quot;,
&quot;tags&quot;: &quot;$:/plugins/sobjornstad/TiddlyStretch/doc/Parameter&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;
},
&quot;$:/plugins/sobjornstad/TiddlyStretch/doc/LargeMode&quot;: {
&quot;title&quot;: &quot;$:/plugins/sobjornstad/TiddlyStretch/doc/LargeMode&quot;,
&quot;created&quot;: &quot;20210304024317434&quot;,
&quot;description&quot;: &quot;Whether to render the expanded template in `block` or `inline` mode (default: block).&quot;,
&quot;modified&quot;: &quot;20210306022349464&quot;,
&quot;name&quot;: &quot;largeMode&quot;,
&quot;tags&quot;: &quot;$:/plugins/sobjornstad/TiddlyStretch/doc/Parameter&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;
},
&quot;$:/plugins/sobjornstad/TiddlyStretch/doc/LargeTemplate&quot;: {
&quot;title&quot;: &quot;$:/plugins/sobjornstad/TiddlyStretch/doc/LargeTemplate&quot;,
&quot;created&quot;: &quot;20210304024308673&quot;,
&quot;description&quot;: &quot;The template tiddler to use when the expando is expanded.&quot;,
&quot;modified&quot;: &quot;20210306022349466&quot;,
&quot;name&quot;: &quot;largeTemplate&quot;,
&quot;tags&quot;: &quot;$:/plugins/sobjornstad/TiddlyStretch/doc/Parameter&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;
},
&quot;$:/plugins/sobjornstad/TiddlyStretch/doc/Macro&quot;: {
&quot;title&quot;: &quot;$:/plugins/sobjornstad/TiddlyStretch/doc/Macro&quot;,
&quot;created&quot;: &quot;20210304032156159&quot;,
&quot;list&quot;: &quot;$:/plugins/sobjornstad/TiddlyStretch/doc/stretch $:/plugins/sobjornstad/TiddlyStretch/doc/stretch-template $:/plugins/sobjornstad/TiddlyStretch/doc/stretch-links $:/plugins/sobjornstad/TiddlyStretch/doc/stretch-template-links&quot;,
&quot;modified&quot;: &quot;20210306022058465&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;
},
&quot;$:/plugins/sobjornstad/TiddlyStretch/doc/MacroInfoTemplate&quot;: {
&quot;title&quot;: &quot;$:/plugins/sobjornstad/TiddlyStretch/doc/MacroInfoTemplate&quot;,
&quot;created&quot;: &quot;20210304025753399&quot;,
&quot;modified&quot;: &quot;20210306022549030&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;&lt;$macrocall $name=\&quot;stretch-template\&quot; tiddler=&lt;&lt;currentTiddler&gt;&gt; smallTemplate=\&quot;$:/plugins/sobjornstad/TiddlyStretch/doc/ParameterListingTemplate\&quot; largeTemplate=\&quot;$:/plugins/sobjornstad/TiddlyStretch/doc/ParametersTemplate\&quot;/&gt;&quot;
},
&quot;$:/plugins/sobjornstad/TiddlyStretch/doc/ParameterListingTemplate&quot;: {
&quot;title&quot;: &quot;$:/plugins/sobjornstad/TiddlyStretch/doc/ParameterListingTemplate&quot;,
&quot;created&quot;: &quot;20210304025229965&quot;,
&quot;modified&quot;: &quot;20210306022014774&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;Parameters:\n\n&lt;$wikify name=\&quot;w\&quot; mode=\&quot;inline\&quot; output=\&quot;html\&quot; text={{{ [enlist{!!parameters}join[&lt;/code&gt;, &lt;code&gt;]addprefix[&lt;code&gt;]addsuffix[&lt;/code&gt;]] }}}&gt;\n &lt;&lt;w&gt;&gt;\n&lt;/$wikify&gt;&quot;
},
&quot;$:/plugins/sobjornstad/TiddlyStretch/doc/ParametersTemplate&quot;: {
&quot;title&quot;: &quot;$:/plugins/sobjornstad/TiddlyStretch/doc/ParametersTemplate&quot;,
&quot;created&quot;: &quot;20210304024810329&quot;,
&quot;modified&quot;: &quot;20210306022349469&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;Parameters:\n\n&lt;dl&gt;\n&lt;$list filter={{!!parameters}}&gt;\n &lt;$tiddler tiddler={{{ [all[tiddlers+shadows]tag[$:/plugins/sobjornstad/TiddlyStretch/doc/Parameter]name&lt;currentTiddler&gt;] }}}&gt;\n &lt;dt&gt;&lt;code&gt;{{!!name}}&lt;/code&gt;&lt;/dt&gt;\n &lt;dd&gt;{{!!description}}&lt;/dd&gt;\n &lt;/$tiddler&gt;\n&lt;/$list&gt;\n&lt;/dl&gt;\n&quot;
},
&quot;$:/plugins/sobjornstad/TiddlyStretch/doc/SmallField&quot;: {
&quot;title&quot;: &quot;$:/plugins/sobjornstad/TiddlyStretch/doc/SmallField&quot;,
&quot;created&quot;: &quot;20210304024141880&quot;,
&quot;description&quot;: &quot;The field to display (in inline mode) when the expando is contracted. Defaults to `description`.&quot;,
&quot;modified&quot;: &quot;20210306022830648&quot;,
&quot;name&quot;: &quot;smallField&quot;,
&quot;tags&quot;: &quot;$:/plugins/sobjornstad/TiddlyStretch/doc/Parameter&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;
},
&quot;$:/plugins/sobjornstad/TiddlyStretch/doc/SmallMode&quot;: {
&quot;title&quot;: &quot;$:/plugins/sobjornstad/TiddlyStretch/doc/SmallMode&quot;,
&quot;created&quot;: &quot;20210304024312605&quot;,
&quot;description&quot;: &quot;Whether to render the contracted template in `block` or `inline` mode (default: inline).&quot;,
&quot;modified&quot;: &quot;20210306022349474&quot;,
&quot;name&quot;: &quot;smallMode&quot;,
&quot;tags&quot;: &quot;$:/plugins/sobjornstad/TiddlyStretch/doc/Parameter&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;
},
&quot;$:/plugins/sobjornstad/TiddlyStretch/doc/SmallTemplate&quot;: {
&quot;title&quot;: &quot;$:/plugins/sobjornstad/TiddlyStretch/doc/SmallTemplate&quot;,
&quot;created&quot;: &quot;20210304024303208&quot;,
&quot;description&quot;: &quot;The template tiddler to use when the expando is contracted.&quot;,
&quot;modified&quot;: &quot;20210306022807061&quot;,
&quot;name&quot;: &quot;smallTemplate&quot;,
&quot;tags&quot;: &quot;$:/plugins/sobjornstad/TiddlyStretch/doc/Parameter&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;
},
&quot;$:/plugins/sobjornstad/TiddlyStretch/doc/Tiddler&quot;: {
&quot;title&quot;: &quot;$:/plugins/sobjornstad/TiddlyStretch/doc/Tiddler&quot;,
&quot;created&quot;: &quot;20210304024157079&quot;,
&quot;description&quot;: &quot;Name of the tiddler to stretch. This tiddler will become the current tiddler when transcluded in either the small or large form.&quot;,
&quot;modified&quot;: &quot;20210306022349481&quot;,
&quot;name&quot;: &quot;tiddler&quot;,
&quot;tags&quot;: &quot;$:/plugins/sobjornstad/TiddlyStretch/doc/Parameter&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;
},
&quot;$:/plugins/sobjornstad/TiddlyStretch/doc/st/Identity&quot;: {
&quot;title&quot;: &quot;$:/plugins/sobjornstad/TiddlyStretch/doc/st/Identity&quot;,
&quot;created&quot;: &quot;20210304023945301&quot;,
&quot;modified&quot;: &quot;20210306022158599&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;{{!!text}}\n&quot;
},
&quot;$:/plugins/sobjornstad/TiddlyStretch/doc/st/MacroSummary&quot;: {
&quot;title&quot;: &quot;$:/plugins/sobjornstad/TiddlyStretch/doc/st/MacroSummary&quot;,
&quot;created&quot;: &quot;20210304023959526&quot;,
&quot;modified&quot;: &quot;20210306022211394&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;&lt;code&gt;{{!!name}}&lt;/code&gt;: {{!!description}}\n&quot;
},
&quot;$:/plugins/sobjornstad/TiddlyStretch/doc/stretch-links&quot;: {
&quot;title&quot;: &quot;$:/plugins/sobjornstad/TiddlyStretch/doc/stretch-links&quot;,
&quot;created&quot;: &quot;20210304023056728&quot;,
&quot;description&quot;: &quot;Create a bulleted list of expandos from the tiddlers that match a filter, displaying one of two fields on each tiddler.&quot;,
&quot;modified&quot;: &quot;20210306022047185&quot;,
&quot;name&quot;: &quot;stretch-links&quot;,
&quot;parameters&quot;: &quot;filter smallField largeField emptyMessage&quot;,
&quot;tags&quot;: &quot;$:/plugins/sobjornstad/TiddlyStretch/doc/Macro&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;The `stretch-links` macro creates a bulleted list where each item is an expando. It is a cross between TiddlyStretch's `stretch` macro and the built-in `list-links` macro.\n\n{{||$:/plugins/sobjornstad/TiddlyStretch/doc/MacroInfoTemplate}}&quot;
},
&quot;$:/plugins/sobjornstad/TiddlyStretch/doc/stretch-template-links&quot;: {
&quot;title&quot;: &quot;$:/plugins/sobjornstad/TiddlyStretch/doc/stretch-template-links&quot;,
&quot;created&quot;: &quot;20210304023737915&quot;,
&quot;description&quot;: &quot;Create a bulleted list of expandos from the tiddlers that match a filter, rendering each tiddler through one of two templates.&quot;,
&quot;modified&quot;: &quot;20210306023011647&quot;,
&quot;name&quot;: &quot;stretch-template-links&quot;,
&quot;parameters&quot;: &quot;filter smallTemplate largeTemplate smallMode largeMode emptyMessage&quot;,
&quot;tags&quot;: &quot;$:/plugins/sobjornstad/TiddlyStretch/doc/Macro&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;The `stretch-template-links` macro works just like the [[stretch-links|$:/plugins/sobjornstad/TiddlyStretch/doc/stretch-links]] macro, but instead of directly rendering one of two fields of each tiddler to be stretched, it renders the tiddler through one of two templates.\n\n{{||$:/plugins/sobjornstad/TiddlyStretch/doc/MacroInfoTemplate}}\n&quot;
},
&quot;$:/plugins/sobjornstad/TiddlyStretch/doc/stretch-template&quot;: {
&quot;title&quot;: &quot;$:/plugins/sobjornstad/TiddlyStretch/doc/stretch-template&quot;,
&quot;created&quot;: &quot;20210304022640887&quot;,
&quot;description&quot;: &quot;Create an expando from a tiddler, rendering the tiddler through one of two templates.&quot;,
&quot;modified&quot;: &quot;20210306022706090&quot;,
&quot;name&quot;: &quot;stretch-template&quot;,
&quot;parameters&quot;: &quot;tiddler smallTemplate largeTemplate smallMode largeMode&quot;,
&quot;tags&quot;: &quot;$:/plugins/sobjornstad/TiddlyStretch/doc/Macro&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;The `stretch-template` macro works just like the [[stretch|$:/plugins/sobjornstad/TiddlyStretch/doc/stretch]] macro, but instead of directly rendering one of two fields of the tiddler to be stretched, it renders the tiddler through one of two templates.\n\n{{||$:/plugins/sobjornstad/TiddlyStretch/doc/MacroInfoTemplate}}&quot;
},
&quot;$:/plugins/sobjornstad/TiddlyStretch/doc/stretch&quot;: {
&quot;title&quot;: &quot;$:/plugins/sobjornstad/TiddlyStretch/doc/stretch&quot;,
&quot;created&quot;: &quot;20210304022329779&quot;,
&quot;description&quot;: &quot;Create an expando from a tiddler, displaying one of two fields on the tiddler.&quot;,
&quot;modified&quot;: &quot;20210306022740596&quot;,
&quot;name&quot;: &quot;stretch&quot;,
&quot;parameters&quot;: &quot;tiddler smallField largeField&quot;,
&quot;tags&quot;: &quot;$:/plugins/sobjornstad/TiddlyStretch/doc/Macro&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;The `stretch` macro creates an expando out of a single tiddler. The `smallField` is shown when contracted, and the `largeField` is shown when expanded.\n\n{{||$:/plugins/sobjornstad/TiddlyStretch/doc/MacroInfoTemplate}}&quot;
},
&quot;$:/plugins/sobjornstad/TiddlyStretch/license&quot;: {
&quot;title&quot;: &quot;$:/plugins/sobjornstad/TiddlyStretch/license&quot;,
&quot;text&quot;: &quot;The MIT License (MIT)\n\nCopyright (c) 2021 Soren Bjornstad.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \&quot;Software\&quot;), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \&quot;AS IS\&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n&quot;,
&quot;type&quot;: &quot;text/plain&quot;
},
&quot;$:/plugins/sobjornstad/TiddlyStretch/macros/stretch&quot;: {
&quot;title&quot;: &quot;$:/plugins/sobjornstad/TiddlyStretch/macros/stretch&quot;,
&quot;created&quot;: &quot;20210304002537855&quot;,
&quot;modified&quot;: &quot;20210304014023505&quot;,
&quot;tags&quot;: &quot;$:/tags/Macro&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;\\define stretchtext-tools(tiddler)\n &lt;$button class=\&quot;tc-btn-invisible tc-tiddlylink\&quot; to=&lt;&lt;__tiddler__&gt;&gt;&gt;\n &lt;i class=\&quot;fa fa-expand\&quot;/&gt;\n &lt;/$button&gt;\n &lt;$button class=\&quot;tc-btn-invisible tc-tiddlylink\&quot; message=\&quot;tm-edit-tiddler\&quot; param=&lt;&lt;__tiddler__&gt;&gt;&gt;\n &lt;i class=\&quot;fa fa-pen\&quot;/&gt;\n &lt;/$button&gt;\n\\end\n\n\\define stretchtext-missing-tiddler(tiddler, descr: \&quot;tiddler\&quot;)\n &lt;$list filter=\&quot;[&lt;__tiddler__&gt;!is[tiddler]!is[shadow]]\&quot; variable=_&gt;\n //Missing $descr$ &lt;$link to=&lt;&lt;__tiddler__&gt;&gt;/&gt;//\n &lt;/$list&gt;\n\\end\n\n\\define stretchtext-missing(tiddler, field)\n &lt;$macrocall $name=\&quot;stretchtext-missing-tiddler\&quot; tiddler=&lt;&lt;__tiddler__&gt;&gt;/&gt;\n &lt;$list filter=\&quot;[&lt;__tiddler__&gt;is[tiddler]!is[shadow]!has&lt;__field__&gt;]\&quot; variable=_&gt;\n //Missing field '$field$' on existing tiddler &lt;$link to=&lt;&lt;__tiddler__&gt;&gt;/&gt;//\n &lt;/$list&gt;\n\\end\n\n\\define stretch(tiddler, smallField: \&quot;description\&quot;, largeField: \&quot;text\&quot;)\n &lt;$set name=\&quot;stateTiddler\&quot; value=&lt;&lt;qualify \&quot;\&quot;\&quot;$:/state/stretchtext/$tiddler$\&quot;\&quot;\&quot;&gt;&gt;&gt;\n &lt;$reveal stateTitle=&lt;&lt;stateTiddler&gt;&gt; stateIndex=&lt;&lt;__tiddler__&gt;&gt; type=\&quot;match\&quot; text=\&quot;hide\&quot; default=\&quot;hide\&quot;&gt;\n &lt;div class=\&quot;st-closed\&quot;&gt;\n &lt;$button setTitle=&lt;&lt;stateTiddler&gt;&gt; setIndex=&lt;&lt;__tiddler__&gt;&gt; setTo=\&quot;show\&quot; class=\&quot;tc-btn-invisible tc-tiddlylink\&quot;&gt;\n &lt;i class=\&quot;fa fa-search-plus\&quot;/&gt;\n &lt;/$button&gt;\n &lt;$macrocall $name=\&quot;stretchtext-tools\&quot; tiddler=&lt;&lt;__tiddler__&gt;&gt;/&gt;\n &lt;$macrocall $name=\&quot;stretchtext-missing\&quot; tiddler=&lt;&lt;__tiddler__&gt;&gt; field=&lt;&lt;__smallField__&gt;&gt;/&gt;\n &lt;$tiddler tiddler=&lt;&lt;__tiddler__&gt;&gt;&gt;\n &lt;$transclude tiddler=&lt;&lt;__tiddler__&gt;&gt; field=&lt;&lt;__smallField__&gt;&gt; /&gt;\n &lt;/$tiddler&gt;\n &lt;/div&gt;\n &lt;/$reveal&gt;\n &lt;$reveal stateTitle=&lt;&lt;stateTiddler&gt;&gt; stateIndex=&lt;&lt;__tiddler__&gt;&gt; type=\&quot;match\&quot; text=\&quot;show\&quot; default=\&quot;hide\&quot;&gt;\n &lt;div class=\&quot;st-open\&quot;&gt;\n &lt;$button setTitle=&lt;&lt;stateTiddler&gt;&gt; setIndex=&lt;&lt;__tiddler__&gt;&gt; setTo=\&quot;hide\&quot; class=\&quot;tc-btn-invisible tc-tiddlylink\&quot;&gt;\n &lt;i class=\&quot;fa fa-search-minus st-expanded-colorize\&quot;/&gt;\n &lt;/$button&gt;\n &lt;$macrocall $name=\&quot;stretchtext-tools\&quot; tiddler=&lt;&lt;__tiddler__&gt;&gt;/&gt;\n [&lt;$link to=&lt;&lt;__tiddler__&gt;&gt;/&gt;]\n\n &lt;$macrocall $name=\&quot;stretchtext-missing\&quot; tiddler=&lt;&lt;__tiddler__&gt;&gt; field=&lt;&lt;__largeField__&gt;&gt;/&gt;\n &lt;$tiddler tiddler=&lt;&lt;__tiddler__&gt;&gt;&gt;\n &lt;$transclude mode=\&quot;block\&quot; field=&lt;&lt;__largeField__&gt;&gt; tiddler=&lt;&lt;__tiddler__&gt;&gt;/&gt;\n &lt;/$tiddler&gt;\n &lt;/div&gt;\n &lt;/$reveal&gt;\n &lt;/$set&gt;\n\\end\n\n\\define stretch-template(tiddler, smallTemplate, largeTemplate, smallMode: \&quot;inline\&quot;, largeMode: \&quot;block\&quot;)\n &lt;$set name=\&quot;stateTiddler\&quot; value=&lt;&lt;qualify \&quot;\&quot;\&quot;$:/state/stretchtext/$tiddler$\&quot;\&quot;\&quot;&gt;&gt;&gt;\n &lt;$reveal stateTitle=&lt;&lt;stateTiddler&gt;&gt; stateIndex=&lt;&lt;__tiddler__&gt;&gt; type=\&quot;match\&quot; text=\&quot;hide\&quot; default=\&quot;hide\&quot;&gt;\n &lt;div class=\&quot;st-closed\&quot;&gt;\n &lt;$button setTitle=&lt;&lt;stateTiddler&gt;&gt; setIndex=&lt;&lt;__tiddler__&gt;&gt; setTo=\&quot;show\&quot
},
&quot;$:/plugins/sobjornstad/TiddlyStretch/readme&quot;: {
&quot;title&quot;: &quot;$:/plugins/sobjornstad/TiddlyStretch/readme&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;TiddlyStretch allows you to conveniently write\n [[stretchtext|https://en.wikipedia.org/wiki/StretchText]] in TiddlyWiki.\n\n* [[Documentation|https://sobjornstad.github.io/TiddlyStretch/]]\n* [[GitHub|https://github.com/sobjornstad/TiddlyStretch]]\n&quot;
},
&quot;$:/plugins/sobjornstad/TiddlyStretch/styles/stretch&quot;: {
&quot;title&quot;: &quot;$:/plugins/sobjornstad/TiddlyStretch/styles/stretch&quot;,
&quot;created&quot;: &quot;20210304003038202&quot;,
&quot;modified&quot;: &quot;20210304003233865&quot;,
&quot;tags&quot;: &quot;$:/tags/Stylesheet&quot;,
&quot;text&quot;: &quot;.st-open {\n border-left: 3px solid &lt;&lt;colour muted-foreground&gt;&gt;;\n padding-left: 0.5em;\n}\n\n.st-open p {\n margin-block-start: 0em;\n}\n\n.st-closed { }\n\ni.st-expanded-colorize {\n color: &lt;&lt;colour tag-background&gt;&gt;;\n}\n&quot;
}
}
}</pre>
</div>
<div created="20210304002537855" modified="20210714025439865" tags="$:/tags/Macro" title="$:/plugins/sobjornstad/TiddlyStretch/macros/stretch" type="text/vnd.tiddlywiki">
<pre>\define stretchtext-tools(tiddler)
&lt;$button class=&quot;tc-btn-invisible tc-tiddlylink&quot; to=&lt;&lt;__tiddler__&gt;&gt; tooltip=&quot;Open this node's tiddler as a new item in the story river.&quot;&gt;
&lt;i class=&quot;fa fa-expand&quot;/&gt;
&lt;/$button&gt;
&lt;$button class=&quot;tc-btn-invisible tc-tiddlylink&quot; message=&quot;tm-edit-tiddler&quot; param=&lt;&lt;__tiddler__&gt;&gt; tooltip=&quot;Edit this node's tiddler.&quot;&gt;
&lt;i class=&quot;fa fa-pen&quot;/&gt;
&lt;/$button&gt;
\end
\define stretchtext-missing-tiddler(tiddler, descr: &quot;tiddler&quot;)
&lt;$list filter=&quot;[&lt;__tiddler__&gt;!is[tiddler]!is[shadow]]&quot; variable=_&gt;
//Missing $descr$ &lt;$link to=&lt;&lt;__tiddler__&gt;&gt;/&gt;//
&lt;/$list&gt;
\end
\define stretchtext-missing(tiddler, field)
&lt;$macrocall $name=&quot;stretchtext-missing-tiddler&quot; tiddler=&lt;&lt;__tiddler__&gt;&gt;/&gt;
&lt;$list filter=&quot;[&lt;__tiddler__&gt;is[tiddler]!is[shadow]!has&lt;__field__&gt;]&quot; variable=_&gt;
//Missing field '$field$' on existing tiddler &lt;$link to=&lt;&lt;__tiddler__&gt;&gt;/&gt;//
&lt;/$list&gt;
\end
\define stretch(tiddler, smallField: &quot;description&quot;, largeField: &quot;text&quot;)
&lt;$set name=&quot;stateTiddler&quot; value=&lt;&lt;qualify &quot;&quot;&quot;$:/state/stretchtext/$tiddler$&quot;&quot;&quot;&gt;&gt;&gt;
&lt;$reveal stateTitle=&lt;&lt;stateTiddler&gt;&gt; stateIndex=&lt;&lt;__tiddler__&gt;&gt; type=&quot;match&quot; text=&quot;hide&quot; default=&quot;hide&quot;&gt;
&lt;div class=&quot;st-closed&quot;&gt;
&lt;$button setTitle=&lt;&lt;stateTiddler&gt;&gt; setIndex=&lt;&lt;__tiddler__&gt;&gt; setTo=&quot;show&quot; class=&quot;tc-btn-invisible tc-tiddlylink&quot; tooltip=&quot;Expand this node to show more detail.&quot;&gt;
&lt;i class=&quot;fa fa-search-plus&quot;/&gt;
&lt;/$button&gt;
&lt;$macrocall $name=&quot;stretchtext-tools&quot; tiddler=&lt;&lt;__tiddler__&gt;&gt;/&gt;
&lt;$macrocall $name=&quot;stretchtext-missing&quot; tiddler=&lt;&lt;__tiddler__&gt;&gt; field=&lt;&lt;__smallField__&gt;&gt;/&gt;
&lt;$tiddler tiddler=&lt;&lt;__tiddler__&gt;&gt;&gt;
&lt;$transclude tiddler=&lt;&lt;__tiddler__&gt;&gt; field=&lt;&lt;__smallField__&gt;&gt; /&gt;
&lt;/$tiddler&gt;
&lt;/div&gt;
&lt;/$reveal&gt;
&lt;$reveal stateTitle=&lt;&lt;stateTiddler&gt;&gt; stateIndex=&lt;&lt;__tiddler__&gt;&gt; type=&quot;match&quot; text=&quot;show&quot; default=&quot;hide&quot;&gt;
&lt;div class=&quot;st-open&quot;&gt;
&lt;$button setTitle=&lt;&lt;stateTiddler&gt;&gt; setIndex=&lt;&lt;__tiddler__&gt;&gt; setTo=&quot;hide&quot; class=&quot;tc-btn-invisible tc-tiddlylink&quot; tooltip=&quot;Shrink this node to show less detail.&quot;&gt;
&lt;i class=&quot;fa fa-search-minus st-expanded-colorize&quot;/&gt;
&lt;/$button&gt;
&lt;$macrocall $name=&quot;stretchtext-tools&quot; tiddler=&lt;&lt;__tiddler__&gt;&gt;/&gt;
[&lt;$link to=&lt;&lt;__tiddler__&gt;&gt;/&gt;]
&lt;$macrocall $name=&quot;stretchtext-missing&quot; tiddler=&lt;&lt;__tiddler__&gt;&gt; field=&lt;&lt;__largeField__&gt;&gt;/&gt;
&lt;$tiddler tiddler=&lt;&lt;__tiddler__&gt;&gt;&gt;
&lt;$transclude mode=&quot;block&quot; field=&lt;&lt;__largeField__&gt;&gt; tiddler=&lt;&lt;__tiddler__&gt;&gt;/&gt;
&lt;/$tiddler&gt;
&lt;/div&gt;
&lt;/$reveal&gt;
&lt;/$set&gt;
\end
\define stretch-template(tiddler, smallTemplate, largeTemplate, smallMode: &quot;inline&quot;, largeMode: &quot;block&quot;)
&lt;$set name=&quot;stateTiddler&quot; value=&lt;&lt;qualify &quot;&quot;&quot;$:/state/stretchtext/$tiddler$&quot;&quot;&quot;&gt;&gt;&gt;
&lt;$reveal stateTitle=&lt;&lt;stateTiddler&gt;&gt; stateIndex=&lt;&lt;__tiddler__&gt;&gt; type=&quot;match&quot; text=&quot;hide&quot; default=&quot;hide&quot;&gt;
&lt;div class=&quot;st-closed&quot;&gt;
&lt;$button setTitle=&lt;&lt;stateTiddler&gt;&gt; setIndex=&lt;&lt;__tiddler__&gt;&gt; setTo=&quot;show&quot; class=&quot;tc-btn-invisible tc-tiddlylink&quot; tooltip=&quot;Expand this node to show more detail.&quot;&gt;
&lt;i class=&quot;fa fa-search-plus&quot;/&gt;
&lt;/$button&gt;
&lt;$macrocall $name=&quot;stretchtext-tools&quot; tiddler=&lt;&lt;__tiddler__&gt;&gt;/&gt;
&lt;$macrocall $name=&quot;stretchtext-missing-tiddler&quot; tiddler=&lt;&lt;__smallTemplate__&gt;&gt; descr=&quot;template&quot;/&gt;
&lt;$tiddler tiddler=&lt;&lt;__tiddler__&gt;&gt;&gt;
&lt;$transclude mode=&lt;&lt;__smallMode__&gt;&gt; tiddler=&lt;&lt;__smallTemplate__&gt;&gt;/&gt;
&lt;/$tiddler&gt;
&lt;/div&gt;
&lt;/$reveal&gt;
&lt;$reveal stateTitle=&lt;&lt;stateTiddler&gt;&gt; stateIndex=&lt;&lt;__tiddler__&gt;&gt; type=&quot;match&quot; text=&quot;show&quot; default=&quot;hide&quot;&gt;
&lt;div class=&quot;st-open&quot;&gt;
&lt;$button setTitle=&lt;&lt;stateTiddler&gt;&gt; setIndex=&lt;&lt;__tiddler__&gt;&gt; setTo=&quot;hide&quot; class=&quot;tc-btn-invisible tc-tiddlylink&quot; tooltip=&quot;Shrink this node to show less detail.&quot;&gt;
&lt;i class=&quot;fa fa-search-minus st-expanded-colorize&quot;/&gt;
&lt;/$button&gt;
&lt;$macrocall $name=&quot;stretchtext-tools&quot; tiddler=&lt;&lt;__tiddler__&gt;&gt;/&gt;
[&lt;$link to=&lt;&lt;__tiddler__&gt;&gt;/&gt;]
&lt;$macrocall $name=&quot;stretchtext-missing-tiddler&quot; tiddler=&lt;&lt;__tiddler__&gt;&gt;/&gt;
&lt;$macrocall $name=&quot;stretchtext-missing-tiddler&quot; tiddler=&lt;&lt;__largeTemplate__&gt;&gt; descr=&quot;template&quot;/&gt;
&lt;$tiddler tiddler=&lt;&lt;__tiddler__&gt;&gt;&gt;
&lt;$transclude mode=&lt;&lt;__largeMode__&gt;&gt; tiddler=&lt;&lt;__largeTemplate__&gt;&gt;/&gt;
&lt;/$tiddler&gt;
&lt;/div&gt;
&lt;/$reveal&gt;
&lt;/$set&gt;
\end
\define stretch-links(filter, smallField: &quot;description&quot;, largeField: &quot;text&quot;, emptyMessage: &quot;&quot;)
&lt;ul&gt;
&lt;$list filter=&lt;&lt;__filter__&gt;&gt; emptyMessage=&lt;&lt;__emptyMessage__&gt;&gt;&gt;
&lt;li&gt;&lt;$macrocall $name=&quot;stretch&quot; tiddler=&lt;&lt;currentTiddler&gt;&gt; smallField=&lt;&lt;__smallField__&gt;&gt; largeField=&lt;&lt;__largeField__&gt;&gt;/&gt;&lt;/li&gt;
&lt;/$list&gt;
&lt;/ul&gt;
\end
\define stretch-template-links(filter, smallTemplate, largeTemplate, smallMode: &quot;inline&quot;, largeMode: &quot;block&quot;, emptyMessage: &quot;&quot;)
&lt;ul&gt;
&lt;$list filter=&lt;&lt;__filter__&gt;&gt; emptyMessage=&lt;&lt;__emptyMessage__&gt;&gt;&gt;
&lt;li&gt;&lt;$macrocall $name=&quot;stretch-template&quot; tiddler=&lt;&lt;currentTiddler&gt;&gt; smallTemplate=&lt;&lt;__smallTemplate__&gt;&gt; largeTemplate=&lt;&lt;__largeTemplate__&gt;&gt; smallMode=&lt;&lt;__smallMode__&gt;&gt; largeMode=&lt;&lt;__largeMode__&gt;&gt;/&gt;&lt;/li&gt;
&lt;/$list&gt;
&lt;/ul&gt;
\end
</pre>
</div>
<div author="Thomas Elmiger" core-version="&gt;=5.1.13" dependents="" description="DetailsWidget" list="readme license" name="Disclosure HTML element" plugin-type="plugin" source="https://tid.li/tw5/plugins.html" title="$:/plugins/telmiger/details" type="application/json" version="0.7.4">
<pre>{
&quot;tiddlers&quot;: {
&quot;$:/plugins/telmiger/details/accordion&quot;: {
&quot;title&quot;: &quot;$:/plugins/telmiger/details/accordion&quot;,
&quot;created&quot;: &quot;20180928194557274&quot;,
&quot;creator&quot;: &quot;Thomas Elmiger&quot;,
&quot;modified&quot;: &quot;20200219093956524&quot;,
&quot;modifier&quot;: &quot;Thomas Elmiger&quot;,
&quot;tags&quot;: &quot;$:/tags/Macro&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;\\define accordion(filter:\&quot;_no_\&quot;,open:\&quot;no\&quot;,class:\&quot;\&quot;)\n&lt;$vars accordion-filter=\&quot;\&quot;\&quot;$filter$\&quot;\&quot;\&quot; open=\&quot;\&quot;\&quot;$open$\&quot;\&quot;\&quot; class=\&quot;\&quot;\&quot;$class$\&quot;\&quot;\&quot;&gt;\n&lt;$list filter=&lt;&lt;accordion-filter&gt;&gt;&gt;\n&lt;$details summary=&lt;&lt;currentTiddler&gt;&gt; open=&lt;&lt;open&gt;&gt; class=&lt;&lt;class&gt;&gt;&gt;\n\n&lt;$transclude tiddler=&lt;&lt;currentTiddler&gt;&gt;/&gt;\n\n&lt;/$details&gt;\n&lt;/$list&gt;\n&lt;/$vars&gt;\n\\end\n\n&lt;!-- !!! Accordion Macro for Details\n\nList tiddlers and open them in a details-summary structure\n\n!!!! Attributes\n* filter: filter to select tiddlers\n* open: set to \&quot;open\&quot; to display details on load\n* class: set a class for the details tag\n\n--&gt;&quot;
},
&quot;$:/plugins/telmiger/details/colours.css&quot;: {
&quot;title&quot;: &quot;$:/plugins/telmiger/details/colours.css&quot;,
&quot;created&quot;: &quot;20180925155320737&quot;,
&quot;creator&quot;: &quot;Thomas Elmiger&quot;,
&quot;modified&quot;: &quot;20200219093956600&quot;,
&quot;modifier&quot;: &quot;Thomas Elmiger&quot;,
&quot;tags&quot;: &quot;$:/tags/Stylesheet&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;/* details and summary colours */\n\ndetails {\n background-color: &lt;&lt;colour tiddler-info-tab-background&gt;&gt;;\n color: &lt;&lt;colour foreground&gt;&gt;;\n}\n\ndetails summary {\n background-color: &lt;&lt;colour dropdown-tab-background&gt;&gt;;\n}\n\ndetails.notification summary {\n background-color: &lt;&lt;colour notification-background&gt;&gt;;\n /* TW leaves color undefined/uses foreground */\n}\n\ndetails.warning summary {\n background-color: #ffbbaf;\n color: #000;\n}\n\ndetails.success summary {\n background-color: #88edc5;\n color: #000;\n}\n&quot;
},
&quot;$:/plugins/telmiger/details/details.css&quot;: {
&quot;title&quot;: &quot;$:/plugins/telmiger/details/details.css&quot;,
&quot;created&quot;: &quot;20170122140815442&quot;,
&quot;creator&quot;: &quot;Thomas Elmiger&quot;,
&quot;modified&quot;: &quot;20200219093956595&quot;,
&quot;modifier&quot;: &quot;Thomas Elmiger&quot;,
&quot;tags&quot;: &quot;$:/tags/Stylesheet&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;/* details and summary */\n\ndetails {\n transition: height 1s ease;\n padding: 0 0.5em 0 0.66em;\n margin-top: 0.66em;\n margin-bottom: 0.66em;\n}\n\ndetails + details {\n margin-top: -0.46em;\n}\n\ndetails[open] {\n padding-bottom: 1em;\n}\n\ndetails:not([open]) { \n cursor: pointer;\n}\n\ndetails &gt; summary {\n display: list-item;\n margin: 0 -0.5em 0 -0.66em;\n padding: 0.2em 0.5em 0.2em 0.66em;\n padding-left: 1.76em; /* adjust for indentation */\n text-indent: -1.1em;\n cursor: pointer;\n}\n\ndetails[open] &gt; summary {\n margin-bottom: 1em;\n}\n\ndetails[open] &gt; *:first-child:not(summary) {\n margin-top: 1em;\n}\n&quot;
},
&quot;$:/plugins/telmiger/details/details.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/telmiger/details/details.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/plugins/telmiger/details/details.js\ntype: application/javascript\nmodule-type: widget\n\nDetails widget v 0.8\n\nWill output an HTML 5 &lt;details&gt; section including a &lt;summary&gt;\n\n```\n\t&lt;details&gt;\n\t\t&lt;summary&gt;This sums it up&lt;/summary&gt; \n\t\tAll the details follow here.\n\t&lt;/details&gt;\n```\n\n|Parameter |Description |h\n|summary |Optional text to display as summary. Wins over field (see below). |\n|open |Optional initial state, set to \&quot;open\&quot; to show details on load. Defaults to \&quot;\&quot;. |\n|state |An optional TextReference containing the state. Wins over open. |\n|field |Optionally, the summary is taken from the field with this name in a given tiddler. Defaults to \&quot;title\&quot;. |\n|tiddler |Optional title of a tiddler to watch, connected to field. Defaults to current tiddler. |\n|class |Optional CSS classes to be assigned to the details tag. |\n\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar Widget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n\nvar DetailsWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nDetailsWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nDetailsWidget.prototype.render = function(parent,nextSibling) {\n\t// Save the parent dom node\n\tthis.parentDomNode = parent;\n\t// Compute attributes\n\tthis.computeAttributes();\n\t// Execute logic\n\tthis.execute();\n\t// Create elements\n\tthis.detailsDomNode = this.document.createElement(\&quot;details\&quot;);\n\tif(this.detailsClass !== \&quot;\&quot;) {\n\t\t// this.detailsClass += \&quot; \&quot;;\n\t\t// this.detailsClass += \&quot;tc-details\&quot;;\n\t\tthis.detailsDomNode.setAttribute(\&quot;class\&quot;,this.detailsClass);\n\t}\n\tif(this.detailsOpen == \&quot;open\&quot;) {\n\t\tthis.detailsDomNode.setAttribute(\&quot;open\&quot;,\&quot;open\&quot;);\n\t}\n\tif(this.detailsSummary !== \&quot;\&quot;) {\n\t\tthis.summaryDomNode = this.document.createElement(\&quot;summary\&quot;);\n\t\t// this.summaryDomNode.setAttribute(\&quot;class\&quot;,\&quot;tc-summary\&quot;);\n\t\tthis.detailsDomNode.appendChild(this.summaryDomNode);\n\t\tthis.summaryDomNode.appendChild(this.document.createTextNode(this.detailsSummary));\n\t}\n// register an event listener\n/* Maybe this can be reactivated later, see below.\n\tif(this.detailsStateTitle) {\n\t\t$tw.utils.addEventListeners(this.detailsDomNode,[\n\t\t\t{name: \&quot;toggle\&quot;, handlerObject: this, handlerMethod: \&quot;handleToggleEvent\&quot;},\n\t\t]);\n\t}\n*/\n// As iOS mobile browsers lack support of toggle events on details \n// we emulate the toggle event using click\n\tif(this.detailsStateTitle &amp;&amp; this.summaryDomNode) {\n\t\t$tw.utils.addEventListeners(this.summaryDomNode,[\n\t\t\t{name: \&quot;click\&quot;, handlerObject: this, handlerMethod: \&quot;handleToggleEvent\&quot;},\n\t\t]);\n\t} else {\n\t\tif(this.detailsStateTitle) {\n\t\t\t$tw.utils.addEventListeners(this.detailsDomNode,[\n\t\t\t\t{name: \&quot;click\&quot;, handlerObject: this, handlerMethod: \&quot;handleToggleEvent\&quot;},\n\t\t\t]);\n\t\t}\n\t}\n\t// Insert the details into the DOM and render any children\n\tthis.parentDomNode.insertBefore(this.detailsDomNode,nextSibling);\n\tthis.renderChildren(this.detailsDomNode,null);\n\tthis.domNodes.push(this.detailsDomNode);\n};\n\n/*\nRetrieve the value of the summary\n*/\nDetailsWidget.prototype.getSummary = function() {\n\tvar summary = \&quot;\&quot;;\n\tif(this.summaryTitle === \&quot;Tiddler not found\&quot; &amp;&amp; this.summaryField === \&quot;\&quot;) {\n\t// nothing defined: leave empty \n\t\tsummary = \&quot;\&quot;;\n\t} else {\n\t\t// tiddler defined? use defined field or title\n\t\tif(this.myTiddler) {\n\t\t\tif(this.summaryField === \&quot;title\&quot; || this.summaryField === \&quot;\&quot;) {\n\t\t\t\tsummary = this.summaryTitle;\n\t\t\t} else {
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;,
&quot;created&quot;: &quot;20170124173619910&quot;,
&quot;creator&quot;: &quot;Thomas Elmiger&quot;,
&quot;modified&quot;: &quot;20200219093956587&quot;,
&quot;modifier&quot;: &quot;Thomas Elmiger&quot;,
&quot;tags&quot;: &quot;Plugins&quot;
},
&quot;$:/plugins/telmiger/details/icon&quot;: {
&quot;title&quot;: &quot;$:/plugins/telmiger/details/icon&quot;,
&quot;created&quot;: &quot;20170205205314072&quot;,
&quot;modified&quot;: &quot;20200219093956580&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;&lt;svg class=\&quot;tc-image-button telmiger-icon\&quot; viewBox=\&quot;0 0 128 128\&quot; xmlns=\&quot;http://www.w3.org/2000/svg\&quot; fill-rule=\&quot;evenodd\&quot; viewBox=\&quot;0 0 128 128\&quot; role=\&quot;img\&quot; aria-labelledby=\&quot;title\&quot;&gt;&lt;title id=\&quot;title\&quot;&gt;T&lt;/title&gt;&lt;path class=\&quot;circle\&quot; d=\&quot;M64 2C30 2 2 29.753 2 64c0 34.235 27.753 62 62 62s62-27.752 62-62C126 29.753 98.221 2 64 2z\&quot;/&gt;&lt;path class=\&quot;t\&quot; d=\&quot;M100.41 63.254c-2.886 1.92-7.544 2.883-13.979 2.883h-8.008c-4.246 0-7.331.845-9.254 2.536-1.922 1.69-3.449 5.086-4.576 10.19 0 0-.181 1.481-.503 1.481s-.369-.877-.518-1.586a37.897 37.897 0 0 0-.721-2.754c-.631-2.137-1.262-3.753-1.894-4.847-.764-1.359-1.727-2.452-2.889-3.28-1.162-.83-2.49-1.326-3.985-1.492l-2.092-.248H41.73c-6.144 0-10.711-.962-13.7-2.884-4.976-3.159-7.649-9.129-8.02-17.91-.03-.706.003-1.351.132-2.171h.585c.399 3.975 3.679 7.048 6.086 9.219 2.408 2.172 6.269 3.258 11.581 3.258h9.313c5.347 0 9.257 1.226 11.731 3.68 2.231 2.213 3.701 5.68 4.406 10.4.076.511.03.736.178.736.149 0 .11-.256.17-.783.713-6.122 3.085-10.219 7.117-12.294 2.487-1.292 6.434-1.906 11.841-1.839l6.368.1c4.311.066 7.942-.788 10.893-2.56 2.953-1.773 6.447-5.079 6.844-9.917h.595c.183.478.16 1.576.127 2.333-.371 8.752-2.894 14.668-7.567 17.749z\&quot;/&gt;&lt;/svg&gt;\n&lt;style&gt;\n.telmiger-icon .circle { fill: #e2001a }\n.telmiger-icon .t { fill: #fff }\n&lt;/style&gt;&quot;
},
&quot;$:/plugins/telmiger/details/license&quot;: {
&quot;title&quot;: &quot;$:/plugins/telmiger/details/license&quot;,
&quot;created&quot;: &quot;20170205213335455&quot;,
&quot;modified&quot;: &quot;20200219093956569&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;!! Plugin license\n!!!The MIT License (MIT)\n\n```\nCopyright © 2017/2018 Thomas Elmiger thomas-elmiger.ch\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n```&quot;
},
&quot;$:/plugins/telmiger/details/readme&quot;: {
&quot;title&quot;: &quot;$:/plugins/telmiger/details/readme&quot;,
&quot;created&quot;: &quot;20170205212323032&quot;,
&quot;modified&quot;: &quot;20200219093956554&quot;,
&quot;tags&quot;: &quot;&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;! ~DetailsWidget\n\nA plugin for [[TiddlyWiki|http://tiddlywiki.com]] 5 containing a script and some styles to create an HTML 5 `&lt;details&gt;` section including a `&lt;summary&gt;`. Heres an example:\n\n&lt;$details summary=\&quot;W3C definition\&quot;&gt;\n\n&lt;&lt;&lt;\nThe [[details|http://w3c.github.io/html/interactive-elements.html#elementdef-details]] element represents a disclosure widget from which the user can obtain additional information or controls.\n&lt;&lt;&lt; W3C\n\n&lt;/$details&gt;\n\nDocumentation can be found at http://tid.li/tw5/plugins.html#DetailsWidget\n&quot;
}
}
}</pre>
</div>
<div created="20180925155320737" creator="Thomas Elmiger" modified="20210920202652482" modifier="soren" tags="$:/tags/Stylesheet" title="$:/plugins/telmiger/details/colours.css" type="text/vnd.tiddlywiki">
<pre>/* details and summary colours */
details {
background-color: &lt;&lt;details-background-color&gt;&gt;;
color: &lt;&lt;colour foreground&gt;&gt;;
}
details summary {
background-color: &lt;&lt;colour dropdown-tab-background&gt;&gt;;
}
details.notification summary {
background-color: &lt;&lt;colour notification-background&gt;&gt;;
/* TW leaves color undefined/uses foreground */
}
details.warning summary {
background-color: #ffbbaf;
color: #000;
}
details.success summary {
background-color: #88edc5;
color: #000;
}
</pre>
</div>
<div author="TheDiveO" core-version="&gt;=5.1.0" created="20140901105647564" dependents="" description="FontAwesome embedded font support for TW5" fa-version="5.8.2" list="readme license history" modified="20200419150315831" plugin-type="plugin" source="https://github.com/TheDiveO/TW5FontAwesome" title="$:/plugins/TheDiveO/FontAwesome" type="application/json" version="1.2.18">
<pre>{
&quot;tiddlers&quot;: {
&quot;$:/plugins/TheDiveO/FontAwesome/fonts/Font Awesome 5 Free Brands.css&quot;: {
&quot;title&quot;: &quot;$:/plugins/TheDiveO/FontAwesome/fonts/Font Awesome 5 Free Brands.css&quot;,
&quot;text&quot;: &quot;/* autoimported retrieved from 'fontawesome-free-5.8.2-web' */\n@font-face {\n font-family: 'Font Awesome 5 Brands';\n font-style: normal;\n font-weight: normal;\n src: url('data:application/font-woff;charset=utf-8;base64,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
&quot;tags&quot;: &quot;$:/tags/Stylesheet&quot;,
&quot;type&quot;: &quot;text/css&quot;
},
&quot;$:/plugins/TheDiveO/FontAwesome/fonts/Font Awesome 5 Free Regular.css&quot;: {
&quot;title&quot;: &quot;$:/plugins/TheDiveO/FontAwesome/fonts/Font Awesome 5 Free Regular.css&quot;,
&quot;text&quot;: &quot;/* autoimported retrieved from 'fontawesome-free-5.8.2-web' */\n@font-face {\n font-family: 'Font Awesome 5 Free';\n font-style: normal;\n font-weight: 400;\n src: url('data:application/font-woff;charset=utf-8;base64,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
&quot;tags&quot;: &quot;$:/tags/Stylesheet&quot;,
&quot;type&quot;: &quot;text/css&quot;
},
&quot;$:/plugins/TheDiveO/FontAwesome/fonts/Font Awesome 5 Free Solid.css&quot;: {
&quot;title&quot;: &quot;$:/plugins/TheDiveO/FontAwesome/fonts/Font Awesome 5 Free Solid.css&quot;,
&quot;text&quot;: &quot;/* autoimported retrieved from 'fontawesome-free-5.8.2-web' */\n@font-face {\n font-family: 'Font Awesome 5 Free';\n font-style: normal;\n font-weight: 900;\n src: url('data:application/font-woff;charset=utf-8;base64,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
&quot;tags&quot;: &quot;$:/tags/Stylesheet&quot;,
&quot;type&quot;: &quot;text/css&quot;
},
&quot;$:/plugins/TheDiveO/FontAwesome/history&quot;: {
&quot;title&quot;: &quot;$:/plugins/TheDiveO/FontAwesome/history&quot;,
&quot;created&quot;: &quot;20140901110931199&quot;,
&quot;modified&quot;: &quot;20190509195707164&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;* ''1.2.18'' -- updates to Font Awesome 5.8.2.\n\n* ''1.2.17'' -- updates to Font Awesome 5.8.1, adding several new categories, such as \&quot;alert\&quot;, \&quot;beverage\&quot;, \&quot;energy\&quot;, et cetera. However, most of these new categories simply rehash existing icons, so there are only few really new icons to be found in this release.\n\n* ''1.2.16'' -- updates to Font Awesome 5.7.2.\n\n* ''1.2.15'' -- updates to Font Awesome 5.6.3. This adds new categories, such as \&quot;autumn\&quot;, \&quot;holliday\&quot; and \&quot;halloween\&quot; with new icons, as well as updating existing categories with additional icons.\n\n* ''1.2.14''\n** updates to Font Awesome Free 5.3.1.\n** fixes crash in `--update` command when glyph in icons.json lacks a search terms property.\n\n* ''1.2.13''\n** switches to fetching the most recent Font Awesome Free download URL via GitHub API; this way, we can get rid of the (fine!) Puppeteer package and a truckload of update overhead.\n** npm package maintenance update: move development dependencies out of the general dependencies.\n\n* ''1.2.12'' -- updates to Font Awesome Free 5.2.0. This adds new category packs for \&quot;automotive\&quot;, \&quot;medical\&quot;, \&quot;education\&quot;, and \&quot;maps\&quot;.\n\n* ''1.2.11'' -- updates to Font Awesome Free 5.1.11.\n\n* ''1.2.10'' (1.2.9)\n** updates to Font Awesome 5.1.0, which brings new categories \&quot;design\&quot;, \&quot;emoji\&quot; and \&quot;travel\&quot;, and their icons -- as well as some updates and icon additions.\n** updates the update mechanism to work with the new 5.1.x packaging.\n\n* ''1.2.8'' -- updates to Font Awesome Free 5.0.13. This brings three new catogies: animals, buildings, and mathematics.\n\n* ''1.2.7'' -- updates to Font Awesome Free 5.0.12 -- they really do rapid updates, do they?! Glad that updating this plugin is automated...\n\n* ''1.2.6'' -- updates to Font Awesome Free 5.0.11.\n\n* ''1.2.5'' -- updates to Font Awesome Free 5.0.10.\n\n* ''1.2.4''\n** adds unicode code point info to the cheatsheet.\n\n* ''1.2.3''\n** makes TW5FontAwesome plugin available as npm package `tw5-fontawesome`.\n** adds ~ThirdFlow plugin as npm dependency `tw5-thirdflow`.\n\n* ''1.2.2''\n** updates to Font Awesome Free 5.0.9.\n** adds new categories //Charity//, //Chat//, and //Moving//.\n** adds new \&quot;Font Awesome 5\&quot; tab to the [[Control Panel|$:/ControlPanel]] that allows customizing the plugin: enable/disable internal and external link styling.\n\n* ''1.2.1''\n** adds missing category information.\n** adds automated update of category information from the Font Awesome 5 web site, as part of the normal update process:\n*** `npm run update` updates only if there is a newer version of Font Awesome 5 Free available from https://fontawesome.com/\n*** `npm run forceupdate` updates unconditionally.\n\n* ''1.2.0''\n** updates to Font Awesome Free 5.0.8.\n** adds category filtering to the cheatsheet.\n** adds Font Awesome 5 category meta data.\n** brings a new (fully) automatic update and release mechanism:\n*** use `$ npm run update-fontawesome` to update the development files to the newest Font Awesome version that is available online.\n*** use `$ npm run release` to create the plugin release file(s).\n** upgrades to most recent version of the [[ThirdFlow|http://thediveo.github.io/ThirdFlow/]] plugin: this comes with a new automated release mechanism.\n** refactors development command `--update-fontawesome` to directly download the most recent Font Awesome 5 Free package .zip from https://fontawesome.com. The only optional parameter to this command is `force` which forces re-updating, even if the font currently installed in the dev wiki is the same version as the one downloaded.\n** upgrades ThirdFlow plugin and now uses the new automated release file generation mechanism.\n\n* ''1.1.2''\n** fixes ~TiddlyWiki-internal links to system tiddlers not showing the gear symbol in the tiddler editor preview pane.\n\n* ''1.1.1''\n** upgrades to Font Awesome 5.0.4.\n** adds update/impor
},
&quot;$:/plugins/TheDiveO/FontAwesome/icon&quot;: {
&quot;title&quot;: &quot;$:/plugins/TheDiveO/FontAwesome/icon&quot;,
&quot;created&quot;: &quot;20140901103643546&quot;,
&quot;modified&quot;: &quot;20140901123044951&quot;,
&quot;tags&quot;: &quot;$:/tags/Image&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;&lt;svg width=\&quot;22pt\&quot; height=\&quot;22pt\&quot; viewBox=\&quot;0 0 128 128\&quot;&gt;\n &lt;g fill-rule=\&quot;evenodd\&quot;&gt;\n &lt;path \n d=\&quot;m 13.75,0 -11.71875,6.875 0,13.75 11.71875,6.875 11.71875,-6.875 0,-13.75 L 13.75,0 z M 6.28125,5.78125 c 0.3579097,1.42e-5 0.6530496,0.1218163 0.90625,0.375 0.2531946,0.2532114 0.4062468,0.5796012 0.40625,0.9375 -3.2e-6,0.4864625 -0.2240993,0.8370553 -0.65625,1.09375 l 0,12.84375 c -2.6e-6,0.08791 -0.029668,0.15448 -0.09375,0.21875 -0.064087,0.06427 -0.1620941,0.09375 -0.25,0.09375 l -0.625,0 c -0.08791,-1e-6 -0.1859173,-0.02948 -0.25,-0.09375 C 5.6546643,21.18573 5.6249987,21.119157 5.625,21.03125 l 0,-12.84375 C 5.1924761,7.9308053 4.9999994,7.5802125 5,7.09375 4.9999994,6.7358512 5.1216167,6.4094614 5.375,6.15625 5.6283811,5.9030663 5.9233364,5.7812642 6.28125,5.78125 z m 6.6875,1.3125 c 0.722833,1.29e-5 1.403139,0.085316 2.03125,0.28125 0.628089,0.1959592 1.367727,0.4764702 2.21875,0.875 0.256694,0.1281803 0.53739,0.2187616 0.875,0.21875 0.364546,1.16e-5 0.758471,-0.076903 1.1875,-0.21875 0.428999,-0.1418231 0.811026,-0.2931062 1.125,-0.46875 0.313942,-0.1756193 0.594637,-0.3581524 0.875,-0.5 0.28033,-0.1418222 0.474573,-0.1874871 0.5625,-0.1875 0.175429,1.29e-5 0.340379,0.059159 0.46875,0.1875 0.128335,0.1283659 0.187481,0.2616962 0.1875,0.4375 l 0,7.75 c -1.9e-5,0.168803 -0.04062,0.283957 -0.125,0.375 -0.08442,0.09105 -0.223803,0.186697 -0.40625,0.28125 -1.45198,0.78379 -2.709891,1.187503 -3.75,1.1875 -0.412222,3e-6 -0.828017,-0.07008 -1.25,-0.21875 -0.422009,-0.148665 -0.782943,-0.324365 -1.09375,-0.5 -0.310829,-0.175628 -0.686986,-0.351512 -1.15625,-0.5 C 14.249466,15.94527 13.743089,15.875004 13.25,15.875 c -1.296838,4e-6 -2.850298,0.514176 -4.6875,1.5 -0.1148759,0.06095 -0.2359002,0.09375 -0.34375,0.09375 -0.1758202,3e-6 -0.3091502,-0.09039 -0.4375,-0.21875 -0.1283567,-0.12835 -0.1875032,-0.26205 -0.1875,-0.4375 l 0,-7.53125 c -3.2e-6,-0.2164353 0.1030684,-0.4073566 0.3125,-0.5625 0.1418315,-0.094545 0.3893527,-0.2417266 0.78125,-0.4375 1.593792,-0.8107376 3.03169,-1.1874871 4.28125,-1.1875 z m 4.4375,1.9375 c -0.342706,0.1226406 -0.355438,0.656233 -0.5,1.375 -0.223336,-0.06073 -0.456025,-0.114193 -0.6875,-0.125 -0.319018,-0.021 -0.822172,0.073 -1.1875,0.0625 -0.365324,-0.0105 -1.089266,-0.319558 -1.6875,-0.25 -0.240525,0.02958 -0.495457,0.05507 -0.71875,0.15625 -0.136605,0.0619 -0.307097,0.253524 -0.40625,0.28125 -0.999033,0.2793 -2.6450261,0.290617 -2.3125,-1.21875 0.02589,-0.1159319 0.051471,-0.2239389 0,-0.25 -0.06413,-0.032479 -0.11842,0.018948 -0.15625,0.09375 -0.5817319,1.263211 0.450231,2.090082 1.625,2.09375 0.368882,-0.02847 0.188339,-0.02825 0.53125,-0.09375 l 0,0.0625 c -0.02423,0.418425 0.151498,0.773091 0.5,1 -0.159883,0.455791 -0.470574,0.831401 -0.6875,1.25 0.08154,0.520418 0.625493,1.213538 0.84375,1.3125 0.19213,0.08713 0.590499,0.108967 0.6875,-0.03125 0.03464,-0.06594 0.03819,-0.208665 0,-0.28125 0.164063,0.181767 0.379948,0.409467 0.59375,0.53125 0.128025,0.06105 0.26257,0.120068 0.40625,0.125 l 0.15625,-0.03125 c 0.09128,-0.01967 0.220122,-0.01257 0.28125,-0.09375 0.06906,-0.117457 0.0042,-0.445257 -0.28125,-0.46875 -0.285459,-0.02351 -0.487565,-0.141306 -0.75,-0.53125 -0.216207,-0.376982 0.06825,-0.879067 0.15625,-1.25 0.451569,0.07267 0.885787,0.123856 1.34375,0.125 0.198682,-0.0101 0.397908,-0.02487 0.59375,-0.0625 0.06247,0.159574 0.248509,0.592654 0.25,0.71875 0.0042,0.355223 -0.119979,0.738597 -0.0625,1.09375 0.03593,0.104625 -0.01675,0.27314 0.1875,0.28125 0.122159,0.0062 0.03564,0.02295 0.21875,0.03125 l 0.1875,0 c 0.201842,0.338685 0.353672,0.332318 0.75,0.34375 L 17.375,15.25 c 0.06687,-0.02489 0.146577,-0.02959 0.1875,-0.09375 0.133768,-0.194285 -0.220263,-0.284732 -0.34375,-0.5 -0.123507,-0.215248 -0.635898,-1.387969 -0.25,-1.71875 0.385924,-0.330776 0.809257,-0.471475 0.96875,-0.78125 0.06907,-0.139714 0.138021,-0.279525 0.15625,-0.4375 0.09397,0.07799 0.154815,0.152169 0.28125,0.15625 0.334451,0.02101 0.632038,-0.392722 0.78125,-0.78125 0.07973,-0.238471 0.140218,-0.485
},
&quot;$:/plugins/TheDiveO/FontAwesome/license&quot;: {
&quot;title&quot;: &quot;$:/plugins/TheDiveO/FontAwesome/license&quot;,
&quot;created&quot;: &quot;20140901105404058&quot;,
&quot;modified&quot;: &quot;20170223103858754&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;This plugin is licensed as follows:\n\n* Font Awesome font license: [[SIL OFL 1.1|http://scripts.sil.org/OFL]].\n* Font Awesome CSS and LESS files licenses: [[MIT License|http://opensource.org/licenses/mit-license.html]].\n* everything else in this plugin is (c) by TheDiveO and licensed under the [[MIT License|http://opensource.org/licenses/mit-license.html]].&quot;
},
&quot;$:/plugins/TheDiveO/FontAwesome/macros/css settings&quot;: {
&quot;title&quot;: &quot;$:/plugins/TheDiveO/FontAwesome/macros/css settings&quot;,
&quot;created&quot;: &quot;20171230210524160&quot;,
&quot;modified&quot;: &quot;20171230211107336&quot;,
&quot;tags&quot;: &quot;$:/tags/Macro&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;\\define fa-plugin-font-solid()\n font-family: 'Font Awesome 5 Free';\n font-style: normal;\n font-weight: 900; \n\\end\n\n\\define fa-plugin-font-regular()\n font-family: 'Font Awesome 5 Free';\n font-style: normal;\n font-weight: 400; \n\\end\n\n\\define fa-plugin-font-brands()\n font-family: 'Font Awesome 5 Brands';\n font-style: normal;\n font-weight: normal; \n\\end\n&quot;
},
&quot;$:/plugins/TheDiveO/FontAwesome/macros/fa&quot;: {
&quot;title&quot;: &quot;$:/plugins/TheDiveO/FontAwesome/macros/fa&quot;,
&quot;created&quot;: &quot;20140831145445334&quot;,
&quot;modified&quot;: &quot;20171230204202514&quot;,
&quot;tags&quot;: &quot;$:/tags/Macro&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;\\define fa-lbox(glyph:\&quot;fa-flag\&quot;,fam:\&quot;fas\&quot;)\n&lt;i class=\&quot;$fam$ fa-2x pull-left fa-border $glyph$\&quot;&gt;&lt;/i&gt;\n\\end\n\n\\define fa-lbadge(glyph:\&quot;fa-flag\&quot;,fam:\&quot;fas\&quot;)\n&lt;span class=\&quot;fa-stack fa-lg fa-pull-left\&quot; style=\&quot;margin-right: .3em;\&quot;&gt;&lt;i class=\&quot;fas fa-circle fa-stack-2x\&quot;&gt;&lt;/i&gt;&lt;i class=\&quot;$fam$ fa-stack-1x fa-inverse $glyph$\&quot;&gt;&lt;/i&gt;&lt;/span&gt;\n\\end\n\n\\define fa-clear()\n&lt;div style=\&quot;clear:both;\&quot;/&gt;\n\\end\n&quot;
},
&quot;$:/plugins/TheDiveO/FontAwesome/macros/fa/doc&quot;: {
&quot;title&quot;: &quot;$:/plugins/TheDiveO/FontAwesome/macros/fa/doc&quot;,
&quot;created&quot;: &quot;20140831145557569&quot;,
&quot;modified&quot;: &quot;20171230205047837&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;Convenience macros to typeset symbols from Font Awesome.\n\n;`fa-lbox` //glyph//:\&quot;fa-flag\&quot; //fam//:\&quot;fas\&quot;\n: typesets the Font Awesome glyp (defaults to `fa-flag` glyph) in a gray box, and pulls it to the left.\n: As Font Awesome 5.0 has broken up the single 4.x font into multiple fonts, this macro now sports a second optional parameter for setting the font family. Allowed values are `fas` (for //Font Awesome Solid//), `far` (for //Font Awesome Regular//), and finally `fab` (for //Font Awesome Brands//).\n\n;`fa-lbadge` //glyph//:\&quot;fa-flag\&quot;\n: typesets the Font Awesome glyph (defaults to `fa-flag` glyph) in inverse, on a round badge. Also pulls the badge with the icon to the left.\n: As Font Awesome 5.0 has broken up the single 4.x font into multiple fonts, this macro now sports a second optional parameter for setting the font family. Allowed values are `fas` (for //Font Awesome Solid//), `far` (for //Font Awesome Regular//), and finally `fab` (for //Font Awesome Brands//).\n\n;`fa-clear`\n: convenience macro that inserts an empty HTML `div` element with styling `clear:both`. Use this before multiple `fa-lbox` and `fa-lbadge` macros to avoid them piling up from left to right.&quot;
},
&quot;$:/plugins/TheDiveO/FontAwesome/macros/global-macros&quot;: {
&quot;title&quot;: &quot;$:/plugins/TheDiveO/FontAwesome/macros/global-macros&quot;,
&quot;created&quot;: &quot;20180328184036630&quot;,
&quot;modified&quot;: &quot;20180328191101221&quot;,
&quot;tags&quot;: &quot;$:/tags/Macro&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;\\define fa5-cfgpath(cfg) $:/config/fa5/$cfg$\n\n\\define fa5-cfgfilterexpr() [&lt;cfg&gt;get[text]] [[yes]] +[first[]prefix[yes]]&quot;
},
&quot;$:/plugins/TheDiveO/FontAwesome/readme&quot;: {
&quot;title&quot;: &quot;$:/plugins/TheDiveO/FontAwesome/readme&quot;,
&quot;created&quot;: &quot;20140901105307611&quot;,
&quot;modified&quot;: &quot;20180112190527729&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;This plugin adds support for Font Awesome to your ~TiddlyWiki&amp;nbsp;5. It embeds the [[Font Awesome|http://fontawesome.io/]] within this plugin, so you don't need to install this font in your operating system. You may, but the //embedded// Font Awesome will take precedence to ensure a consistent user experience.\n\nTo install this plugin in your own ~TiddlyWiki(s), simply drop this [[FontAwesome plugin|$:/plugins/TheDiveO/FontAwesome]] onto your own ~TiddlyWiki(s): this will then import it.&quot;
},
&quot;$:/plugins/TheDiveO/FontAwesome/styles/extlinks&quot;: {
&quot;title&quot;: &quot;$:/plugins/TheDiveO/FontAwesome/styles/extlinks&quot;,
&quot;created&quot;: &quot;20170223100043117&quot;,
&quot;modified&quot;: &quot;20180328191133975&quot;,
&quot;tags&quot;: &quot;$:/tags/Stylesheet&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;\\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline html\n\n&lt;$set name=\&quot;cfg\&quot; value=&lt;&lt;fa5-cfgpath \&quot;decorate-extlinks\&quot;&gt;&gt; &gt;\n&lt;$list filter=&lt;&lt;fa5-cfgfilterexpr&gt;&gt; &gt;\n\na[href^=\&quot;http://\&quot;]:before {\n &lt;&lt;fa-plugin-font-solid&gt;&gt;\n font-size: 80%;\n content: '\\f35d\\202f';\n display: inline-block;\n}\n\na[href^=\&quot;https://\&quot;]:before {\n &lt;&lt;fa-plugin-font-solid&gt;&gt;\n font-size: 80%;\n content: '\\f023\\202f';\n display: inline-block;\n}\n\n&lt;/$list&gt;\n&lt;/$set&gt;&quot;
},
&quot;$:/plugins/TheDiveO/FontAwesome/styles/extlinks/FontAwesome&quot;: {
&quot;title&quot;: &quot;$:/plugins/TheDiveO/FontAwesome/styles/extlinks/FontAwesome&quot;,
&quot;created&quot;: &quot;20170227162302202&quot;,
&quot;list-after&quot;: &quot;$:/plugins/TheDiveO/FontAwesome/styles/extlinks&quot;,
&quot;modified&quot;: &quot;20180328191153542&quot;,
&quot;tags&quot;: &quot;$:/tags/Stylesheet&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;\\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline html\n\n&lt;$set name=\&quot;cfg\&quot; value=&lt;&lt;fa5-cfgpath \&quot;decorate-wk-extlinks\&quot;&gt;&gt; &gt;\n&lt;$list filter=&lt;&lt;fa5-cfgfilterexpr&gt;&gt; &gt;\n\na[href^=\&quot;http://fontawesome.io/\&quot;].tc-tiddlylink-external:before,\na[href^=\&quot;http://fontawesome.com/\&quot;].tc-tiddlylink-external:before,\na[href^=\&quot;https://fontawesome.io/\&quot;].tc-tiddlylink-external:before,\na[href^=\&quot;https://fontawesome.com/\&quot;].tc-tiddlylink-external:before {\n &lt;&lt;fa-plugin-font-brands&gt;&gt;\n content: '\\f425\\202f' !important;\n display: inline-block;\n}\n\n&lt;/$list&gt;\n&lt;/$set&gt;&quot;
},
&quot;$:/plugins/TheDiveO/FontAwesome/styles/extlinks/GitHub&quot;: {
&quot;title&quot;: &quot;$:/plugins/TheDiveO/FontAwesome/styles/extlinks/GitHub&quot;,
&quot;created&quot;: &quot;20170223102202986&quot;,
&quot;list-after&quot;: &quot;$:/plugins/TheDiveO/FontAwesome/styles/extlinks&quot;,
&quot;modified&quot;: &quot;20180328191203844&quot;,
&quot;tags&quot;: &quot;$:/tags/Stylesheet&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;\\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline html\n\n&lt;$set name=\&quot;cfg\&quot; value=&lt;&lt;fa5-cfgpath \&quot;decorate-wk-extlinks\&quot;&gt;&gt; &gt;\n&lt;$list filter=&lt;&lt;fa5-cfgfilterexpr&gt;&gt; &gt;\n\na[href^=\&quot;http://\&quot;][href*=\&quot;github.com\&quot;]:before {\n &lt;&lt;fa-plugin-font-brands&gt;&gt;\n font-size: 90%;\n content: '\\f09b\\202f';\n}\n\n&lt;/$list&gt;\n&lt;/$set&gt;&quot;
},
&quot;$:/plugins/TheDiveO/FontAwesome/styles/extlinks/Wikipedia&quot;: {
&quot;title&quot;: &quot;$:/plugins/TheDiveO/FontAwesome/styles/extlinks/Wikipedia&quot;,
&quot;created&quot;: &quot;20170223100306336&quot;,
&quot;modified&quot;: &quot;20180328191215033&quot;,
&quot;tags&quot;: &quot;$:/tags/Stylesheet&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;\\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline html\n\n&lt;$set name=\&quot;cfg\&quot; value=&lt;&lt;fa5-cfgpath \&quot;decorate-wk-extlinks\&quot;&gt;&gt; &gt;\n&lt;$list filter=&lt;&lt;fa5-cfgfilterexpr&gt;&gt; &gt;\n\na[href^=\&quot;http://\&quot;][href*=\&quot;.wikipedia.org\&quot;]:before {\n &lt;&lt;fa-plugin-font-brands&gt;&gt;\n font-size: 90%;\n content: '[\\f266]\\202f';\n}\n\n&lt;/$list&gt;\n&lt;/$set&gt;&quot;
},
&quot;$:/plugins/TheDiveO/FontAwesome/styles/extlinks/doctypes&quot;: {
&quot;title&quot;: &quot;$:/plugins/TheDiveO/FontAwesome/styles/extlinks/doctypes&quot;,
&quot;created&quot;: &quot;20170301201914393&quot;,
&quot;list-after&quot;: &quot;$:/plugins/TheDiveO/FontAwesome/styles/extlinks&quot;,
&quot;modified&quot;: &quot;20180328191142557&quot;,
&quot;tags&quot;: &quot;$:/tags/Stylesheet&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;\\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline html\n\n&lt;$set name=\&quot;cfg\&quot; value=&lt;&lt;fa5-cfgpath \&quot;decorate-extdoclinks\&quot;&gt;&gt; &gt;\n&lt;$list filter=&lt;&lt;fa5-cfgfilterexpr&gt;&gt; &gt;\n\na[href$=\&quot;.pdf\&quot;].tc-tiddlylink-external:before {\n &lt;&lt;fa-plugin-font-regular&gt;&gt;\n content: '\\f1c1\\202f';\n display: inline-block;\n}\n\na[href$=\&quot;.gz\&quot;].tc-tiddlylink-external:before, \na[href$=\&quot;.zip\&quot;].tc-tiddlylink-external:before,\na[href$=\&quot;.7z\&quot;].tc-tiddlylink-external:before {\n &lt;&lt;fa-plugin-font-regular&gt;&gt;\n content: '\\f1c6\\202f';\n display: inline-block;\n}\n\na[href$=\&quot;.jpg\&quot;].tc-tiddlylink-external:before,\na[href$=\&quot;.jpeg\&quot;].tc-tiddlylink-external:before,\na[href$=\&quot;.png\&quot;].tc-tiddlylink-external:before,\na[href$=\&quot;.gif\&quot;].tc-tiddlylink-external:before,\na[href$=\&quot;.tif\&quot;].tc-tiddlylink-external:before,\na[href$=\&quot;.tiff\&quot;].tc-tiddlylink-external:before {\n &lt;&lt;fa-plugin-font-regular&gt;&gt;\n content: '\\f1c5\\202f';\n display: inline-block;\n}\n\n&lt;/$list&gt;\n&lt;/$set&gt;&quot;
},
&quot;$:/plugins/TheDiveO/FontAwesome/styles/fontawesome 5.css&quot;: {
&quot;title&quot;: &quot;$:/plugins/TheDiveO/FontAwesome/styles/fontawesome 5.css&quot;,
&quot;text&quot;: &quot;/* autoimported from 'fontawesome-free-5.8.2-web' */\n/*!\n * Font Awesome Free 5.8.2 by @fontawesome - https://fontawesome.com\n * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)\n */\n.fa,\n.fas,\n.far,\n.fal,\n.fab {\n -moz-osx-font-smoothing: grayscale;\n -webkit-font-smoothing: antialiased;\n display: inline-block;\n font-style: normal;\n font-variant: normal;\n text-rendering: auto;\n line-height: 1; }\n\n.fa-lg {\n font-size: 1.33333em;\n line-height: 0.75em;\n vertical-align: -.0667em; }\n\n.fa-xs {\n font-size: .75em; }\n\n.fa-sm {\n font-size: .875em; }\n\n.fa-1x {\n font-size: 1em; }\n\n.fa-2x {\n font-size: 2em; }\n\n.fa-3x {\n font-size: 3em; }\n\n.fa-4x {\n font-size: 4em; }\n\n.fa-5x {\n font-size: 5em; }\n\n.fa-6x {\n font-size: 6em; }\n\n.fa-7x {\n font-size: 7em; }\n\n.fa-8x {\n font-size: 8em; }\n\n.fa-9x {\n font-size: 9em; }\n\n.fa-10x {\n font-size: 10em; }\n\n.fa-fw {\n text-align: center;\n width: 1.25em; }\n\n.fa-ul {\n list-style-type: none;\n margin-left: 2.5em;\n padding-left: 0; }\n .fa-ul &gt; li {\n position: relative; }\n\n.fa-li {\n left: -2em;\n position: absolute;\n text-align: center;\n width: 2em;\n line-height: inherit; }\n\n.fa-border {\n border: solid 0.08em #eee;\n border-radius: .1em;\n padding: .2em .25em .15em; }\n\n.fa-pull-left {\n float: left; }\n\n.fa-pull-right {\n float: right; }\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n margin-right: .3em; }\n\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n margin-left: .3em; }\n\n.fa-spin {\n -webkit-animation: fa-spin 2s infinite linear;\n animation: fa-spin 2s infinite linear; }\n\n.fa-pulse {\n -webkit-animation: fa-spin 1s infinite steps(8);\n animation: fa-spin 1s infinite steps(8); }\n\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg); }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg); } }\n\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg); }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg); } }\n\n.fa-rotate-90 {\n -ms-filter: \&quot;progid:DXImageTransform.Microsoft.BasicImage(rotation=1)\&quot;;\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg); }\n\n.fa-rotate-180 {\n -ms-filter: \&quot;progid:DXImageTransform.Microsoft.BasicImage(rotation=2)\&quot;;\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg); }\n\n.fa-rotate-270 {\n -ms-filter: \&quot;progid:DXImageTransform.Microsoft.BasicImage(rotation=3)\&quot;;\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg); }\n\n.fa-flip-horizontal {\n -ms-filter: \&quot;progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)\&quot;;\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1); }\n\n.fa-flip-vertical {\n -ms-filter: \&quot;progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)\&quot;;\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1); }\n\n.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {\n -ms-filter: \&quot;progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)\&quot;;\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1); }\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical,\n:root .fa-flip-both {\n -webkit-filter: none;\n filter: none; }\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n line-height: 2em;\n position: relative;\n vertical-align: middle;\n width: 2.5em; }\n\n.fa-stack-1x,\n.fa-stack-2x {\n left: 0;\n position: absolute;\n text-align: center;\n width: 100%; }\n\n.fa-stack-1x {\n line-height: inherit; }\n\n.fa-stack-2x {\n font-s
&quot;tags&quot;: &quot;$:/tags/Stylesheet&quot;,
&quot;type&quot;: &quot;text/css&quot;
},
&quot;$:/plugins/TheDiveO/FontAwesome/styles/tiddlylinks/system&quot;: {
&quot;title&quot;: &quot;$:/plugins/TheDiveO/FontAwesome/styles/tiddlylinks/system&quot;,
&quot;created&quot;: &quot;20171230212437805&quot;,
&quot;modified&quot;: &quot;20180328191223958&quot;,
&quot;tags&quot;: &quot;$:/tags/Stylesheet&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;\\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline html\n\n&lt;$set name=\&quot;cfg\&quot; value=&lt;&lt;fa5-cfgpath \&quot;decorate-syslinks\&quot;&gt;&gt; &gt;\n&lt;$list filter=&lt;&lt;fa5-cfgfilterexpr&gt;&gt; &gt;\n\n/* system tiddler titles starting with $:/... */\n.tc-tiddler-body a.tc-tiddlylink[href^=\&quot;#%24%3A%2F\&quot;]:before,\n.tc-tiddler-preview-preview a.tc-tiddlylink[href^=\&quot;#%24%3A%2F\&quot;]:before {\n &lt;&lt;fa-plugin-font-solid&gt;&gt;\n font-size: 80%;\n content: '\\f013\\202f';\n display: inline-block;\n}\n\n&lt;/$list&gt;\n&lt;/$set&gt;&quot;
},
&quot;$:/plugins/TheDiveO/FontAwesome/ui/ControlPanel/FontAwesome&quot;: {
&quot;title&quot;: &quot;$:/plugins/TheDiveO/FontAwesome/ui/ControlPanel/FontAwesome&quot;,
&quot;caption&quot;: &quot;Font Awesome&quot;,
&quot;created&quot;: &quot;20180328182555066&quot;,
&quot;modified&quot;: &quot;20180328190604063&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel&quot;,
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;Customize the Font Awesome 5 plugin.\n\n&lt;$checkbox tiddler=&lt;&lt;fa5-cfgpath \&quot;decorate-syslinks\&quot;&gt;&gt; field=\&quot;text\&quot; checked=\&quot;yes\&quot; unchecked=\&quot;no\&quot; default=\&quot;yes\&quot; &gt;&amp;nbsp;decorate system links: [[$:/ControlPanel]]&lt;/$checkbox&gt;\n\n&lt;$checkbox tiddler=&lt;&lt;fa5-cfgpath \&quot;decorate-extlinks\&quot;&gt;&gt; field=\&quot;text\&quot; checked=\&quot;yes\&quot; unchecked=\&quot;no\&quot; default=\&quot;yes\&quot; &gt;&amp;nbsp;decorate external links: [[TiddlyWiki|http://tiddlywiki.com]] [[Wikipedia|https://en.wikipedia.org/wiki/TiddlyWiki]]&lt;/$checkbox&gt;\n\n&lt;$checkbox tiddler=&lt;&lt;fa5-cfgpath \&quot;decorate-extdoclinks\&quot;&gt;&gt; field=\&quot;text\&quot; checked=\&quot;yes\&quot; unchecked=\&quot;no\&quot; default=\&quot;yes\&quot; &gt;&amp;nbsp;decorate external document links: https://example.org/document.pdf&lt;/$checkbox&gt;\n\n&lt;$checkbox tiddler=&lt;&lt;fa5-cfgpath \&quot;decorate-wk-extlinks\&quot;&gt;&gt; field=\&quot;text\&quot; checked=\&quot;yes\&quot; unchecked=\&quot;no\&quot; default=\&quot;yes\&quot; &gt;&amp;nbsp;decorate external well-known links: http://github.com http://en.wikipedia.org&lt;/$checkbox&gt;&quot;
}
}
}</pre>
</div>
<div created="20210514004614277" list-after="$:/plugins/TheDiveO/FontAwesome/styles/extlinks" modified="20210514005019052" tags="$:/tags/Stylesheet" title="$:/plugins/TheDiveO/FontAwesome/styles/extlinks/randomthoughts" type="text/vnd.tiddlywiki">
<pre>\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline html
&lt;$set name=&quot;cfg&quot; value=&lt;&lt;fa5-cfgpath &quot;decorate-wk-extlinks&quot;&gt;&gt; &gt;
&lt;$list filter=&lt;&lt;fa5-cfgfilterexpr&gt;&gt; &gt;
a[href^=&quot;https://&quot;][href*=&quot;randomthoughts.sorenbjornstad.com&quot;]:before {
font-size: 90%;
content: '\f249\202f';
}
&lt;/$list&gt;
&lt;/$set&gt;</pre>
</div>
<div dependents="" description="CodeMirror editor" list="readme usage keyboard license" name="CodeMirror" plugin-type="plugin" title="$:/plugins/tiddlywiki/codemirror" type="application/json" version="5.1.23">
<pre>{
&quot;tiddlers&quot;: {
&quot;$:/config/EditorTypeMappings/application/javascript&quot;: {
&quot;title&quot;: &quot;$:/config/EditorTypeMappings/application/javascript&quot;,
&quot;text&quot;: &quot;codemirror&quot;
},
&quot;$:/config/EditorTypeMappings/application/json&quot;: {
&quot;title&quot;: &quot;$:/config/EditorTypeMappings/application/json&quot;,
&quot;text&quot;: &quot;codemirror&quot;
},
&quot;$:/config/EditorTypeMappings/application/x-tiddler-dictionary&quot;: {
&quot;title&quot;: &quot;$:/config/EditorTypeMappings/application/x-tiddler-dictionary&quot;,
&quot;text&quot;: &quot;codemirror&quot;
},
&quot;$:/config/EditorTypeMappings/text/css&quot;: {
&quot;title&quot;: &quot;$:/config/EditorTypeMappings/text/css&quot;,
&quot;text&quot;: &quot;codemirror&quot;
},
&quot;$:/config/EditorTypeMappings/text/html&quot;: {
&quot;title&quot;: &quot;$:/config/EditorTypeMappings/text/html&quot;,
&quot;text&quot;: &quot;codemirror&quot;
},
&quot;$:/config/EditorTypeMappings/text/plain&quot;: {
&quot;title&quot;: &quot;$:/config/EditorTypeMappings/text/plain&quot;,
&quot;text&quot;: &quot;codemirror&quot;
},
&quot;$:/config/EditorTypeMappings/text/vnd.tiddlywiki&quot;: {
&quot;title&quot;: &quot;$:/config/EditorTypeMappings/text/vnd.tiddlywiki&quot;,
&quot;text&quot;: &quot;codemirror&quot;
},
&quot;$:/config/EditorTypeMappings/text/x-markdown&quot;: {
&quot;title&quot;: &quot;$:/config/EditorTypeMappings/text/x-markdown&quot;,
&quot;text&quot;: &quot;codemirror&quot;
},
&quot;$:/config/EditorTypeMappings/text/x-tiddlywiki&quot;: {
&quot;title&quot;: &quot;$:/config/EditorTypeMappings/text/x-tiddlywiki&quot;,
&quot;text&quot;: &quot;codemirror&quot;
},
&quot;$:/config/codemirror/cursorBlinkRate&quot;: {
&quot;title&quot;: &quot;$:/config/codemirror/cursorBlinkRate&quot;,
&quot;type&quot;: &quot;integer&quot;,
&quot;text&quot;: &quot;530&quot;
},
&quot;$:/config/codemirror/extraKeysTW&quot;: {
&quot;title&quot;: &quot;$:/config/codemirror/extraKeysTW&quot;,
&quot;extend&quot;: &quot;extraKeys&quot;,
&quot;type&quot;: &quot;json&quot;,
&quot;text&quot;: &quot;{\n\t\&quot;Ctrl-Esc\&quot;: \&quot;singleSelection\&quot;,\n\t\&quot;Esc\&quot;: \&quot;\&quot;,\n\t\&quot;Ctrl-S\&quot;: \&quot;\&quot;,\n\t\&quot;Ctrl-U\&quot;: \&quot;\&quot;,\n\t\&quot;Ctrl-T\&quot;: \&quot;\&quot;,\n\t\&quot;Alt-T\&quot;: \&quot;transposeChars\&quot;,\n\t\&quot;Alt-U\&quot;: \&quot;undoSelection\&quot;,\n\t\&quot;Shift-Alt-U\&quot;: \&quot;redoSelection\&quot;,\n\t\&quot;Cmd-U\&quot;: \&quot;\&quot;,\n\t\&quot;Tab\&quot;: \&quot;indentAuto()\&quot;,\n\t\&quot;Enter\&quot;: \&quot;newLineAndIndent()\&quot;\n}\n&quot;
},
&quot;$:/config/codemirror/indentUnit&quot;: {
&quot;title&quot;: &quot;$:/config/codemirror/indentUnit&quot;,
&quot;type&quot;: &quot;integer&quot;,
&quot;text&quot;: &quot;2&quot;
},
&quot;$:/config/codemirror/indentWithTabs&quot;: {
&quot;title&quot;: &quot;$:/config/codemirror/indentWithTabs&quot;,
&quot;type&quot;: &quot;bool&quot;,
&quot;text&quot;: &quot;true&quot;
},
&quot;$:/config/codemirror/inputStyle&quot;: {
&quot;title&quot;: &quot;$:/config/codemirror/inputStyle&quot;,
&quot;type&quot;: &quot;string&quot;,
&quot;text&quot;: &quot;textarea&quot;
},
&quot;$:/config/codemirror/keyMap&quot;: {
&quot;title&quot;: &quot;$:/config/codemirror/keyMap&quot;,
&quot;type&quot;: &quot;string&quot;,
&quot;text&quot;: &quot;default&quot;
},
&quot;$:/config/codemirror/lineNumbers&quot;: {
&quot;title&quot;: &quot;$:/config/codemirror/lineNumbers&quot;,
&quot;type&quot;: &quot;bool&quot;,
&quot;text&quot;: &quot;false&quot;
},
&quot;$:/config/codemirror/lineWrapping&quot;: {
&quot;title&quot;: &quot;$:/config/codemirror/lineWrapping&quot;,
&quot;type&quot;: &quot;bool&quot;,
&quot;text&quot;: &quot;true&quot;
},
&quot;$:/config/codemirror/showCursorWhenSelecting&quot;: {
&quot;title&quot;: &quot;$:/config/codemirror/showCursorWhenSelecting&quot;,
&quot;type&quot;: &quot;bool&quot;,
&quot;text&quot;: &quot;true&quot;
},
&quot;$:/config/codemirror/smartIndent&quot;: {
&quot;title&quot;: &quot;$:/config/codemirror/smartIndent&quot;,
&quot;type&quot;: &quot;bool&quot;,
&quot;text&quot;: &quot;true&quot;
},
&quot;$:/config/codemirror/styleActiveLine&quot;: {
&quot;title&quot;: &quot;$:/config/codemirror/styleActiveLine&quot;,
&quot;type&quot;: &quot;bool&quot;,
&quot;text&quot;: &quot;false&quot;
},
&quot;$:/config/codemirror/tabSize&quot;: {
&quot;title&quot;: &quot;$:/config/codemirror/tabSize&quot;,
&quot;type&quot;: &quot;integer&quot;,
&quot;text&quot;: &quot;2&quot;
},
&quot;$:/config/codemirror/theme&quot;: {
&quot;title&quot;: &quot;$:/config/codemirror/theme&quot;,
&quot;type&quot;: &quot;string&quot;,
&quot;text&quot;: &quot;tiddlywiki&quot;
},
&quot;$:/language/codemirror/homeUrl&quot;: {
&quot;title&quot;: &quot;$:/language/codemirror/homeUrl&quot;,
&quot;text&quot;: &quot;http://codemirror.net&quot;
},
&quot;$:/language/codemirror/addOnUrl&quot;: {
&quot;title&quot;: &quot;$:/language/codemirror/addOnUrl&quot;,
&quot;text&quot;: &quot;http://codemirror.net/doc/manual.html#addons&quot;
},
&quot;$:/language/codemirror/configUrl&quot;: {
&quot;title&quot;: &quot;$:/language/codemirror/configUrl&quot;,
&quot;text&quot;: &quot;http://codemirror.net/doc/manual.html#config&quot;
},
&quot;$:/language/codemirror/controlPanel/hint&quot;: {
&quot;title&quot;: &quot;$:/language/codemirror/controlPanel/hint&quot;,
&quot;text&quot;: &quot;These settings let you customise the behaviour of [[CodeMirror|$:/plugins/tiddlywiki/codemirror]].&quot;
},
&quot;$:/language/codemirror/controlPanel/keyboard&quot;: {
&quot;title&quot;: &quot;$:/language/codemirror/controlPanel/keyboard&quot;,
&quot;text&quot;: &quot;Keyboard shortcuts&quot;
},
&quot;$:/language/codemirror/controlPanel/usage&quot;: {
&quot;title&quot;: &quot;$:/language/codemirror/controlPanel/usage&quot;,
&quot;text&quot;: &quot;Usage information&quot;
},
&quot;$:/language/codemirror/cursorBlinkRate/hint&quot;: {
&quot;title&quot;: &quot;$:/language/codemirror/cursorBlinkRate/hint&quot;,
&quot;text&quot;: &quot;Cursor blink rate&quot;
},
&quot;$:/language/codemirror/editorFont/hint&quot;: {
&quot;title&quot;: &quot;$:/language/codemirror/editorFont/hint&quot;,
&quot;text&quot;: &quot;Editor font family&quot;
},
&quot;$:/language/codemirror/editorFont/info&quot;: {
&quot;title&quot;: &quot;$:/language/codemirror/editorFont/info&quot;,
&quot;text&quot;: &quot;Set the font family for the ~CodeMirror text-editor&quot;
},
&quot;$:/language/codemirror/indentUnit/hint&quot;: {
&quot;title&quot;: &quot;$:/language/codemirror/indentUnit/hint&quot;,
&quot;text&quot;: &quot;How many spaces a block should be indented&quot;
},
&quot;$:/language/codemirror/indentWithTabs/hint&quot;: {
&quot;title&quot;: &quot;$:/language/codemirror/indentWithTabs/hint&quot;,
&quot;text&quot;: &quot;Enable indenting with tabs&quot;
},
&quot;$:/language/codemirror/indentWithTabs/info&quot;: {
&quot;title&quot;: &quot;$:/language/codemirror/indentWithTabs/info&quot;,
&quot;text&quot;: &quot;Whether, when indenting, the first N*`tabSize` spaces should be replaced by N tabs.&quot;
},
&quot;$:/language/codemirror/keyMap/hint&quot;: {
&quot;title&quot;: &quot;$:/language/codemirror/keyMap/hint&quot;,
&quot;text&quot;: &quot;~CodeMirror keymap&quot;
},
&quot;$:/language/codemirror/keyMap/info&quot;: {
&quot;title&quot;: &quot;$:/language/codemirror/keyMap/info&quot;,
&quot;text&quot;: &quot;~The Keyboard KeyMap used within the ~CodeMirror text-editor&quot;
},
&quot;$:/language/codemirror/lineNumbers/hint&quot;: {
&quot;title&quot;: &quot;$:/language/codemirror/lineNumbers/hint&quot;,
&quot;text&quot;: &quot;Enable line numbers&quot;
},
&quot;$:/language/codemirror/lineNumbers/info&quot;: {
&quot;title&quot;: &quot;$:/language/codemirror/lineNumbers/info&quot;,
&quot;text&quot;: &quot;Whether to show line numbers to the left of the editor.&quot;
},
&quot;$:/language/codemirror/lineWrapping/hint&quot;: {
&quot;title&quot;: &quot;$:/language/codemirror/lineWrapping/hint&quot;,
&quot;text&quot;: &quot;Enable line wrapping&quot;
},
&quot;$:/language/codemirror/lineWrapping/info&quot;: {
&quot;title&quot;: &quot;$:/language/codemirror/lineWrapping/info&quot;,
&quot;text&quot;: &quot;Whether CodeMirror should scroll or wrap for long lines. Defaults to `false` (scroll).&quot;
},
&quot;$:/language/codemirror/showCursorWhenSelecting/hint&quot;: {
&quot;title&quot;: &quot;$:/language/codemirror/showCursorWhenSelecting/hint&quot;,
&quot;text&quot;: &quot;Show cursor, when selecting&quot;
},
&quot;$:/language/codemirror/showCursorWhenSelecting/info&quot;: {
&quot;title&quot;: &quot;$:/language/codemirror/showCursorWhenSelecting/info&quot;,
&quot;text&quot;: &quot;Whether the cursor should be drawn when a selection is active.&quot;
},
&quot;$:/language/codemirror/smartIndent/hint&quot;: {
&quot;title&quot;: &quot;$:/language/codemirror/smartIndent/hint&quot;,
&quot;text&quot;: &quot;Enable smart indent&quot;
},
&quot;$:/language/codemirror/smartIndent/info&quot;: {
&quot;title&quot;: &quot;$:/language/codemirror/smartIndent/info&quot;,
&quot;text&quot;: &quot;Whether to use the context-sensitive indentation that the mode provides (or just indent the same as the line before). Defaults to `true`.&quot;
},
&quot;$:/language/codemirror/styleActiveLine/hint&quot;: {
&quot;title&quot;: &quot;$:/language/codemirror/styleActiveLine/hint&quot;,
&quot;text&quot;: &quot;Highlight active line&quot;
},
&quot;$:/language/codemirror/styleActiveLine/info&quot;: {
&quot;title&quot;: &quot;$:/language/codemirror/styleActiveLine/info&quot;,
&quot;text&quot;: &quot;Whether or not to highlight the active text-editor line&quot;
},
&quot;$:/language/codemirror/tabSize/hint&quot;: {
&quot;title&quot;: &quot;$:/language/codemirror/tabSize/hint&quot;,
&quot;text&quot;: &quot;Width of a tab character&quot;
},
&quot;$:/language/codemirror/theme/hint&quot;: {
&quot;title&quot;: &quot;$:/language/codemirror/theme/hint&quot;,
&quot;text&quot;: &quot;Select a theme&quot;
},
&quot;$:/language/codemirror/theme/info&quot;: {
&quot;title&quot;: &quot;$:/language/codemirror/theme/info&quot;,
&quot;text&quot;: &quot;Choose between ~CodeMirror themes&quot;
},
&quot;$:/plugins/tiddlywiki/codemirror/edit-codemirror.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/codemirror/edit-codemirror.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/plugins/tiddlywiki/codemirror/edit-codemirror.js\ntype: application/javascript\nmodule-type: widget\n\nEdit-codemirror widget\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar editTextWidgetFactory = require(\&quot;$:/core/modules/editor/factory.js\&quot;).editTextWidgetFactory,\n\tCodeMirrorEngine = require(\&quot;$:/plugins/tiddlywiki/codemirror/engine.js\&quot;).CodeMirrorEngine;\n\nexports[\&quot;edit-codemirror\&quot;] = editTextWidgetFactory(CodeMirrorEngine,CodeMirrorEngine);\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/plugins/tiddlywiki/codemirror/engine.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/codemirror/engine.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/plugins/tiddlywiki/codemirror/engine.js\ntype: application/javascript\nmodule-type: library\n\nText editor engine based on a CodeMirror instance\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar CODEMIRROR_OPTIONS = \&quot;$:/config/CodeMirror\&quot;,\nHEIGHT_VALUE_TITLE = \&quot;$:/config/TextEditor/EditorHeight/Height\&quot;,\nCONFIG_FILTER = \&quot;[all[shadows+tiddlers]prefix[$:/config/codemirror/]]\&quot;\n\t\n// Install CodeMirror\nif($tw.browser &amp;&amp; !window.CodeMirror) {\n\n\tvar modules = $tw.modules.types[\&quot;codemirror\&quot;];\n\tvar req = Object.getOwnPropertyNames(modules);\n\n\twindow.CodeMirror = require(\&quot;$:/plugins/tiddlywiki/codemirror/lib/codemirror.js\&quot;);\n\t// Install required CodeMirror plugins\n\tif(req) {\n\t\tif($tw.utils.isArray(req)) {\n\t\t\tfor(var index=0; index&lt;req.length; index++) {\n\t\t\t\trequire(req[index]);\n\t\t\t}\n\t\t} else {\n\t\t\trequire(req);\n\t\t}\n\t}\n}\n\nfunction getCmConfig() {\n\tvar type,\n\t\ttest,\n\t\tvalue,\n\t\telement,\n\t\textend,\n\t\ttiddler,\n\t\tconfig = {},\n\t\tconfigTiddlers = $tw.wiki.filterTiddlers(CONFIG_FILTER);\n\n\tif ($tw.utils.isArray(configTiddlers)) {\n\t\tfor (var i=0; i&lt;configTiddlers.length; i++) {\n\t\t\ttiddler = $tw.wiki.getTiddler(configTiddlers[i]);\n\t\t\t\tif (tiddler) {\n\t\t\t\telement = configTiddlers[i].replace(/\\$:\\/config\\/codemirror\\//ig,\&quot;\&quot;);\n\t\t\t\t\ttype = (tiddler.fields.type) ? tiddler.fields.type.trim().toLocaleLowerCase() : \&quot;string\&quot;;\n\t\t\t\tswitch (type) {\n\t\t\t\t\tcase \&quot;bool\&quot;:\n\t\t\t\t\ttest = tiddler.fields.text.trim().toLowerCase();\n\t\t\t\t\tvalue = (test === \&quot;true\&quot;) ? true : false;\n\t\t\t\t\tconfig[element] = value;\n\t\t\t\t\tbreak;\n\t\t\t\t\tcase \&quot;string\&quot;:\n\t\t\t\t\tvalue = tiddler.fields.text.trim();\n\t\t\t\t\tconfig[element] = value;\n\t\t\t\t\tbreak;\n\t\t\t\t\tcase \&quot;integer\&quot;:\n\t\t\t\t\tvalue = parseInt(tiddler.fields.text.trim(), 10);\n\t\t\t\t\tconfig[element] = value;\n\t\t\t\t\tbreak;\n\t\t\t\t\tcase \&quot;json\&quot;:\n\t\t\t\t\tvalue = JSON.parse(tiddler.fields.text.trim());\n\t\t\t\t\t\textend = (tiddler.fields.extend) ? tiddler.fields.extend : element;\n\n\t\t\t\t\tif (config[extend]) {\n\t\t\t\t\t\t$tw.utils.extend(config[extend], value);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tconfig[extend] = value;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\treturn config;\n}\n\nfunction CodeMirrorEngine(options) {\n\n\t// Save our options\n\tvar self = this;\n\toptions = options || {};\n\tthis.widget = options.widget;\n\tthis.value = options.value;\n\tthis.parentNode = options.parentNode;\n\tthis.nextSibling = options.nextSibling;\n\t// Create the wrapper DIV\n\tthis.domNode = this.widget.document.createElement(\&quot;div\&quot;);\n\tif(this.widget.editClass) {\n\t\tthis.domNode.className = this.widget.editClass;\n\t}\n\tthis.domNode.style.display = \&quot;inline-block\&quot;;\n\tthis.parentNode.insertBefore(this.domNode,this.nextSibling);\n\tthis.widget.domNodes.push(this.domNode);\n\t\n\t// Set all cm-plugin defaults\n\t// Get the configuration options for the CodeMirror object\n\tvar config = getCmConfig();\n\n\tconfig.mode = options.type;\n\tconfig.value = options.value;\n\tif(this.widget.editTabIndex) {\n\t\tconfig[\&quot;tabindex\&quot;] = this.widget.editTabIndex;\n\t}\n\t// Create the CodeMirror instance\n\tthis.cm = window.CodeMirror(function(cmDomNode) {\n\t\t// Note that this is a synchronous callback that is called before the constructor returns\n\t\tif(!self.widget.document.isTiddlyWikiFakeDom) {\n\t\t\tself.domNode.appendChild(cmDomNode);\n\t\t}\n\t},config);\n\n\t// Set up a change event handler\n\tthis.cm.on(\&quot;change\&quot;,function() {\n\t\tself.widget.saveChanges(self.getText());\n\t\tif(self.widget.editInputActions) {\n\t\t\tself.widget.invokeActionString(self.widget.editInputActions);\n\t\t}\n\t});\n\tthis.cm.on(\&quot;drop\&quot;,function(c
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;library&quot;
},
&quot;$:/plugins/tiddlywiki/codemirror/lib/codemirror.js&quot;: {
&quot;text&quot;: &quot;!function(e,t){\&quot;object\&quot;==typeof exports&amp;&amp;\&quot;undefined\&quot;!=typeof module?module.exports=t():\&quot;function\&quot;==typeof define&amp;&amp;define.amd?define(t):(e=e||self).CodeMirror=t()}(this,function(){\&quot;use strict\&quot;;var e=navigator.userAgent,t=navigator.platform,d=/gecko\\/\\d/i.test(e),n=/MSIE \\d/.test(e),r=/Trident\\/(?:[7-9]|\\d{2,})\\..*rv:(\\d+)/.exec(e),i=/Edge\\/(\\d+)/.exec(e),w=n||r||i,v=w&amp;&amp;(n?document.documentMode||6:+(i||r)[1]),f=!i&amp;&amp;/WebKit\\//.test(e),r=f&amp;&amp;/Qt\\/\\d+\\.\\d+/.test(e),o=!i&amp;&amp;/Chrome\\//.test(e),p=/Opera\\//.test(e),c=/Apple Computer/.test(navigator.vendor),l=/Mac OS X 1\\d\\D([8-9]|\\d\\d)\\D/.test(e),u=/PhantomJS/.test(e),s=!i&amp;&amp;/AppleWebKit/.test(e)&amp;&amp;/Mobile\\/\\w+/.test(e),a=/Android/.test(e),h=s||a||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(e),g=s||/Mac/.test(t),m=/\\bCrOS\\b/.test(e),y=/win/i.test(t),e=p&amp;&amp;e.match(/Version\\/(\\d*\\.\\d*)/);(e=e&amp;&amp;Number(e[1]))&amp;&amp;15&lt;=e&amp;&amp;(f=!(p=!1));var b=g&amp;&amp;(r||p&amp;&amp;(null==e||e&lt;12.11)),x=d||w&amp;&amp;9&lt;=v;function C(e){return new RegExp(\&quot;(^|\\\\s)\&quot;+e+\&quot;(?:$|\\\\s)\\\\s*\&quot;)}var S,L=function(e,t){var n=e.className,r=C(t).exec(n);r&amp;&amp;(t=n.slice(r.index+r[0].length),e.className=n.slice(0,r.index)+(t?r[1]+t:\&quot;\&quot;))};function k(e){for(var t=e.childNodes.length;0&lt;t;--t)e.removeChild(e.firstChild);return e}function T(e,t){return k(e).appendChild(t)}function M(e,t,n,r){var i=document.createElement(e);if(n&amp;&amp;(i.className=n),r&amp;&amp;(i.style.cssText=r),\&quot;string\&quot;==typeof t)i.appendChild(document.createTextNode(t));else if(t)for(var o=0;o&lt;t.length;++o)i.appendChild(t[o]);return i}function N(e,t,n,r){r=M(e,t,n,r);return r.setAttribute(\&quot;role\&quot;,\&quot;presentation\&quot;),r}function A(e,t){if(3==t.nodeType&amp;&amp;(t=t.parentNode),e.contains)return e.contains(t);do{if(11==t.nodeType&amp;&amp;(t=t.host),t==e)return!0}while(t=t.parentNode)}function O(){var t;try{t=document.activeElement}catch(e){t=document.body||null}for(;t&amp;&amp;t.shadowRoot&amp;&amp;t.shadowRoot.activeElement;)t=t.shadowRoot.activeElement;return t}function D(e,t){var n=e.className;C(t).test(n)||(e.className+=(n?\&quot; \&quot;:\&quot;\&quot;)+t)}function W(e,t){for(var n=e.split(\&quot; \&quot;),r=0;r&lt;n.length;r++)n[r]&amp;&amp;!C(n[r]).test(t)&amp;&amp;(t+=\&quot; \&quot;+n[r]);return t}S=document.createRange?function(e,t,n,r){var i=document.createRange();return i.setEnd(r||e,n),i.setStart(e,t),i}:function(e,t,n){var r=document.body.createTextRange();try{r.moveToElementText(e.parentNode)}catch(e){return r}return r.collapse(!0),r.moveEnd(\&quot;character\&quot;,n),r.moveStart(\&quot;character\&quot;,t),r};var H=function(e){e.select()};function F(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t)}}function E(e,t,n){for(var r in t=t||{},e)!e.hasOwnProperty(r)||!1===n&amp;&amp;t.hasOwnProperty(r)||(t[r]=e[r]);return t}function P(e,t,n,r,i){null==t&amp;&amp;-1==(t=e.search(/[^\\s\\u00a0]/))&amp;&amp;(t=e.length);for(var o=r||0,l=i||0;;){var s=e.indexOf(\&quot;\\t\&quot;,o);if(s&lt;0||t&lt;=s)return l+(t-o);l+=s-o,l+=n-l%n,o=s+1}}s?H=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:w&amp;&amp;(H=function(e){try{e.select()}catch(e){}});var I=function(){this.id=null,this.f=null,this.time=0,this.handler=F(this.onTimeout,this)};function R(e,t){for(var n=0;n&lt;e.length;++n)if(e[n]==t)return n;return-1}I.prototype.onTimeout=function(e){e.id=0,e.time&lt;=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},I.prototype.set=function(e,t){this.f=t;t=+new Date+e;(!this.id||t&lt;this.time)&amp;&amp;(clearTimeout(this.id),this.id=setTimeout(this.handler,e),this.time=t)};var z=50,B={toString:function(){return\&quot;CodeMirror.Pass\&quot;}},G={scroll:!1},U={origin:\&quot;*mouse\&quot;},V={origin:\&quot;+move\&quot;};function K(e,t,n){for(var r=0,i=0;;){var o=e.indexOf(\&quot;\\t\&quot;,r);-1==o&amp;&
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/codemirror/lib/codemirror.js&quot;,
&quot;module-type&quot;: &quot;library&quot;
},
&quot;$:/plugins/tiddlywiki/codemirror/lib/codemirror.css&quot;: {
&quot;text&quot;: &quot;.CodeMirror{font-family:monospace;height:300px;color:#000;direction:ltr}.CodeMirror-lines{padding:4px 0}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{padding:0 4px}.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid #000;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-fat-cursor-mark{background-color:rgba(20,255,20,0.5);-webkit-animation:blink 1.06s steps(1) infinite;-moz-animation:blink 1.06s steps(1) infinite;animation:blink 1.06s steps(1) infinite}.cm-animate-fat-cursor{width:auto;border:0;-webkit-animation:blink 1.06s steps(1) infinite;-moz-animation:blink 1.06s steps(1) infinite;animation:blink 1.06s steps(1) infinite;background-color:#7e7}@-moz-keyframes blink{50%{background-color:transparent}}@-webkit-keyframes blink{50%{background-color:transparent}}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{position:absolute;left:0;right:0;top:-50px;bottom:0;overflow:hidden}.CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}.cm-s-default .cm-header{color:blue}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-variable-3,.cm-s-default .cm-type{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta{color:#555}.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-s-default .cm-error{color:red}.cm-invalidchar{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}.CodeMirror-matchingtag{background:rgba(255,150,0,.3)}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-50px;margin-right:-50px;padding-bottom:50px;height:100%;outline:none;position:relative}.CodeMirror-sizer{position:relative;border-right:50px solid transparent}.CodeMirror-vscrollbar,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{position:absolute;z-index:6;display:none;outline:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-50px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:none!important;border:none!important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparen
&quot;type&quot;: &quot;text/vnd.tiddlywiki&quot;,
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/codemirror/lib/codemirror.css&quot;,
&quot;tags&quot;: &quot;[[$:/tags/Stylesheet]]&quot;
},
&quot;$:/plugins/tiddlywiki/codemirror/addon/dialog/dialog.css&quot;: {
&quot;text&quot;: &quot;.CodeMirror-dialog {\n position: absolute;\n left: 0; right: 0;\n background: inherit;\n z-index: 15;\n padding: .1em .8em;\n overflow: hidden;\n color: inherit;\n}\n\n.CodeMirror-dialog-top {\n border-bottom: 1px solid #eee;\n top: 0;\n}\n\n.CodeMirror-dialog-bottom {\n border-top: 1px solid #eee;\n bottom: 0;\n}\n\n.CodeMirror-dialog input {\n border: none;\n outline: none;\n background: transparent;\n width: 20em;\n color: inherit;\n font-family: monospace;\n}\n\n.CodeMirror-dialog button {\n font-size: 70%;\n}\n&quot;,
&quot;type&quot;: &quot;text/css&quot;,
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/codemirror/addon/dialog/dialog.css&quot;,
&quot;tags&quot;: &quot;[[$:/tags/Stylesheet]]&quot;
},
&quot;$:/plugins/tiddlywiki/codemirror/addon/dialog/dialog.js&quot;: {
&quot;text&quot;: &quot;!function(e){\&quot;object\&quot;==typeof exports&amp;&amp;\&quot;object\&quot;==typeof module?e(require(\&quot;../../lib/codemirror\&quot;)):\&quot;function\&quot;==typeof define&amp;&amp;define.amd?define([\&quot;../../lib/codemirror\&quot;],e):e(CodeMirror)}(function(s){function f(e,o,n){var t=e.getWrapperElement(),i=t.appendChild(document.createElement(\&quot;div\&quot;));return i.className=n?\&quot;CodeMirror-dialog CodeMirror-dialog-bottom\&quot;:\&quot;CodeMirror-dialog CodeMirror-dialog-top\&quot;,\&quot;string\&quot;==typeof o?i.innerHTML=o:i.appendChild(o),s.addClass(t,\&quot;dialog-opened\&quot;),i}function p(e,o){e.state.currentNotificationClose&amp;&amp;e.state.currentNotificationClose(),e.state.currentNotificationClose=o}s.defineExtension(\&quot;openDialog\&quot;,function(e,o,n){n=n||{},p(this,null);var t=f(this,e,n.bottom),i=!1,r=this;function u(e){if(\&quot;string\&quot;==typeof e)a.value=e;else{if(i)return;i=!0,s.rmClass(t.parentNode,\&quot;dialog-opened\&quot;),t.parentNode.removeChild(t),r.focus(),n.onClose&amp;&amp;n.onClose(t)}}var l,a=t.getElementsByTagName(\&quot;input\&quot;)[0];return a?(a.focus(),n.value&amp;&amp;(a.value=n.value,!1!==n.selectValueOnOpen&amp;&amp;a.select()),n.onInput&amp;&amp;s.on(a,\&quot;input\&quot;,function(e){n.onInput(e,a.value,u)}),n.onKeyUp&amp;&amp;s.on(a,\&quot;keyup\&quot;,function(e){n.onKeyUp(e,a.value,u)}),s.on(a,\&quot;keydown\&quot;,function(e){n&amp;&amp;n.onKeyDown&amp;&amp;n.onKeyDown(e,a.value,u)||((27==e.keyCode||!1!==n.closeOnEnter&amp;&amp;13==e.keyCode)&amp;&amp;(a.blur(),s.e_stop(e),u()),13==e.keyCode&amp;&amp;o(a.value,e))}),!1!==n.closeOnBlur&amp;&amp;s.on(t,\&quot;focusout\&quot;,function(e){null!==e.relatedTarget&amp;&amp;u()})):(l=t.getElementsByTagName(\&quot;button\&quot;)[0])&amp;&amp;(s.on(l,\&quot;click\&quot;,function(){u(),r.focus()}),!1!==n.closeOnBlur&amp;&amp;s.on(l,\&quot;blur\&quot;,u),l.focus()),u}),s.defineExtension(\&quot;openConfirm\&quot;,function(e,o,n){p(this,null);var t=f(this,e,n&amp;&amp;n.bottom),i=t.getElementsByTagName(\&quot;button\&quot;),r=!1,u=this,l=1;function a(){r||(r=!0,s.rmClass(t.parentNode,\&quot;dialog-opened\&quot;),t.parentNode.removeChild(t),u.focus())}i[0].focus();for(var c=0;c&lt;i.length;++c){var d=i[c];!function(o){s.on(d,\&quot;click\&quot;,function(e){s.e_preventDefault(e),a(),o&amp;&amp;o(u)})}(o[c]),s.on(d,\&quot;blur\&quot;,function(){--l,setTimeout(function(){l&lt;=0&amp;&amp;a()},200)}),s.on(d,\&quot;focus\&quot;,function(){++l})}}),s.defineExtension(\&quot;openNotification\&quot;,function(e,o){p(this,u);var n,t=f(this,e,o&amp;&amp;o.bottom),i=!1,r=o&amp;&amp;void 0!==o.duration?o.duration:5e3;function u(){i||(i=!0,clearTimeout(n),s.rmClass(t.parentNode,\&quot;dialog-opened\&quot;),t.parentNode.removeChild(t))}return s.on(t,\&quot;click\&quot;,function(e){s.e_preventDefault(e),u()}),r&amp;&amp;(n=setTimeout(u,r)),u})});\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/codemirror/addon/dialog/dialog.js&quot;,
&quot;module-type&quot;: &quot;codemirror&quot;
},
&quot;$:/plugins/tiddlywiki/codemirror/addon/selection/activeline.js&quot;: {
&quot;text&quot;: &quot;!function(e){\&quot;object\&quot;==typeof exports&amp;&amp;\&quot;object\&quot;==typeof module?e(require(\&quot;../../lib/codemirror\&quot;)):\&quot;function\&quot;==typeof define&amp;&amp;define.amd?define([\&quot;../../lib/codemirror\&quot;],e):e(CodeMirror)}(function(r){\&quot;use strict\&quot;;var s=\&quot;CodeMirror-activeline\&quot;,c=\&quot;CodeMirror-activeline-background\&quot;,l=\&quot;CodeMirror-activeline-gutter\&quot;;function f(e){for(var t=0;t&lt;e.state.activeLines.length;t++)e.removeLineClass(e.state.activeLines[t],\&quot;wrap\&quot;,s),e.removeLineClass(e.state.activeLines[t],\&quot;background\&quot;,c),e.removeLineClass(e.state.activeLines[t],\&quot;gutter\&quot;,l)}function o(t,e){for(var n=[],i=0;i&lt;e.length;i++){var r,o=e[i],a=t.getOption(\&quot;styleActiveLine\&quot;);(\&quot;object\&quot;==typeof a&amp;&amp;a.nonEmpty?o.anchor.line==o.head.line:o.empty())&amp;&amp;(r=t.getLineHandleVisualStart(o.head.line),n[n.length-1]!=r&amp;&amp;n.push(r))}!function(e,t){if(e.length==t.length){for(var n=0;n&lt;e.length;n++)if(e[n]!=t[n])return;return 1}}(t.state.activeLines,n)&amp;&amp;t.operation(function(){f(t);for(var e=0;e&lt;n.length;e++)t.addLineClass(n[e],\&quot;wrap\&quot;,s),t.addLineClass(n[e],\&quot;background\&quot;,c),t.addLineClass(n[e],\&quot;gutter\&quot;,l);t.state.activeLines=n})}function a(e,t){o(e,t.ranges)}r.defineOption(\&quot;styleActiveLine\&quot;,!1,function(e,t,n){var i=n!=r.Init&amp;&amp;n;t!=i&amp;&amp;(i&amp;&amp;(e.off(\&quot;beforeSelectionChange\&quot;,a),f(e),delete e.state.activeLines),t&amp;&amp;(e.state.activeLines=[],o(e,e.listSelections()),e.on(\&quot;beforeSelectionChange\&quot;,a)))})});\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/codemirror/addon/selection/activeline.js&quot;,
&quot;module-type&quot;: &quot;codemirror&quot;
},
&quot;$:/plugins/tiddlywiki/codemirror/mode/tw-meta.js&quot;: {
&quot;text&quot;: &quot;!function(e){\&quot;object\&quot;==typeof exports&amp;&amp;\&quot;object\&quot;==typeof module?e(require(\&quot;../lib/codemirror\&quot;)):\&quot;function\&quot;==typeof define&amp;&amp;define.amd?define([\&quot;../lib/codemirror\&quot;],e):e(CodeMirror)}(function(e){\&quot;use strict\&quot;;e.modeInfo=[{name:\&quot;CMake\&quot;,mime:\&quot;text/x-cmake\&quot;,mode:\&quot;cmake\&quot;,ext:[\&quot;cmake\&quot;,\&quot;cmake.in\&quot;],file:/^CMakeLists.txt$/},{name:\&quot;Cython\&quot;,mime:\&quot;text/x-cython\&quot;,mode:\&quot;python\&quot;,ext:[\&quot;pyx\&quot;,\&quot;pxd\&quot;,\&quot;pxi\&quot;]},{name:\&quot;CSS\&quot;,mime:\&quot;text/css\&quot;,mode:\&quot;css\&quot;,ext:[\&quot;css\&quot;]},{name:\&quot;diff\&quot;,mime:\&quot;text/x-diff\&quot;,mode:\&quot;diff\&quot;,ext:[\&quot;diff\&quot;,\&quot;patch\&quot;]},{name:\&quot;Embedded Javascript\&quot;,mime:\&quot;application/x-ejs\&quot;,mode:\&quot;htmlembedded\&quot;,ext:[\&quot;ejs\&quot;]},{name:\&quot;Embedded Ruby\&quot;,mime:\&quot;application/x-erb\&quot;,mode:\&quot;htmlembedded\&quot;,ext:[\&quot;erb\&quot;]},{name:\&quot;Erlang\&quot;,mime:\&quot;text/x-erlang\&quot;,mode:\&quot;erlang\&quot;,ext:[\&quot;erl\&quot;]},{name:\&quot;GitHub Flavored Markdown\&quot;,mime:\&quot;text/x-gfm\&quot;,mode:\&quot;gfm\&quot;,file:/^(readme|contributing|history).md$/i},{name:\&quot;Go\&quot;,mime:\&quot;text/x-go\&quot;,mode:\&quot;go\&quot;,ext:[\&quot;go\&quot;]},{name:\&quot;ASP.NET\&quot;,mime:\&quot;application/x-aspx\&quot;,mode:\&quot;htmlembedded\&quot;,ext:[\&quot;aspx\&quot;],alias:[\&quot;asp\&quot;,\&quot;aspx\&quot;]},{name:\&quot;HTML\&quot;,mime:\&quot;text/html\&quot;,mode:\&quot;htmlmixed\&quot;,ext:[\&quot;html\&quot;,\&quot;htm\&quot;,\&quot;handlebars\&quot;,\&quot;hbs\&quot;],alias:[\&quot;xhtml\&quot;]},{name:\&quot;HTTP\&quot;,mime:\&quot;message/http\&quot;,mode:\&quot;http\&quot;},{name:\&quot;JavaScript\&quot;,mimes:[\&quot;text/javascript\&quot;,\&quot;text/ecmascript\&quot;,\&quot;application/javascript\&quot;,\&quot;application/x-javascript\&quot;,\&quot;application/ecmascript\&quot;],mode:\&quot;javascript\&quot;,ext:[\&quot;js\&quot;],alias:[\&quot;ecmascript\&quot;,\&quot;js\&quot;,\&quot;node\&quot;]},{name:\&quot;JSON\&quot;,mimes:[\&quot;application/json\&quot;,\&quot;application/x-json\&quot;],mode:\&quot;javascript\&quot;,ext:[\&quot;json\&quot;,\&quot;map\&quot;],alias:[\&quot;json5\&quot;]},{name:\&quot;JSON-LD\&quot;,mime:\&quot;application/ld+json\&quot;,mode:\&quot;javascript\&quot;,ext:[\&quot;jsonld\&quot;],alias:[\&quot;jsonld\&quot;]},{name:\&quot;Lua\&quot;,mime:\&quot;text/x-lua\&quot;,mode:\&quot;lua\&quot;,ext:[\&quot;lua\&quot;]},{name:\&quot;Markdown\&quot;,mime:\&quot;text/x-markdown\&quot;,mode:\&quot;markdown\&quot;,ext:[\&quot;markdown\&quot;,\&quot;md\&quot;,\&quot;mkd\&quot;]},{name:\&quot;MySQL\&quot;,mime:\&quot;text/x-mysql\&quot;,mode:\&quot;sql\&quot;},{name:\&quot;Plain Text\&quot;,mime:\&quot;text/plain\&quot;,mode:\&quot;null\&quot;,ext:[\&quot;txt\&quot;,\&quot;text\&quot;,\&quot;conf\&quot;,\&quot;def\&quot;,\&quot;list\&quot;,\&quot;log\&quot;]},{name:\&quot;Python\&quot;,mime:\&quot;text/x-python\&quot;,mode:\&quot;python\&quot;,ext:[\&quot;BUILD\&quot;,\&quot;bzl\&quot;,\&quot;py\&quot;,\&quot;pyw\&quot;],file:/^(BUCK|BUILD)$/},{name:\&quot;SCSS\&quot;,mime:\&quot;text/x-scss\&quot;,mode:\&quot;css\&quot;,ext:[\&quot;scss\&quot;]},{name:\&quot;LaTeX\&quot;,mime:\&quot;text/x-latex\&quot;,mode:\&quot;stex\&quot;,ext:[\&quot;text\&quot;,\&quot;ltx\&quot;,\&quot;tex\&quot;],alias:[\&quot;tex\&quot;]},{name:\&quot;TiddlyWiki \&quot;,mime:\&quot;text/x-tiddlywiki\&quot;,mode:\&quot;tiddlywiki\&quot;}];for(var t=0;t&lt;e.modeInfo.length;t++){var m=e.modeInfo[t];m.mimes&amp;&amp;(m.mime=m.mimes[0])}e.findModeByMIME=function(t){t=t.toLowerCase();for(var m=0;m&lt;e.modeInfo.length;m++){var i=e.modeInfo[m];if(i.mime==t)return i;if(i.mimes)for(var a=0;a&lt;i.mimes.length;a++)if(i.mimes[a]==t)return i}return/\\+xml$/.test(t)?e.findModeByMIME(\&quot;application/xml\&qu
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/codemirror/mode/tw-meta.js&quot;,
&quot;module-type&quot;: &quot;codemirror&quot;
},
&quot;$:/plugins/tiddlywiki/codemirror/keyboard&quot;: {
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/codemirror/keyboard&quot;,
&quot;text&quot;: &quot;\n!!Default keyboard shortcuts\n\n!!!Basic shortcuts\n\n|Shortcut |Function |h\n|Left |goCharLeft |\n|Right |goCharRight |\n|Up |goLineUp |\n|Down |goLineDown |\n|End |goLineEnd |\n|Home |goLineStartSmart |\n|~PageUp |goPageUp |\n|~PageDown |goPageDown |\n|Delete |delCharAfter |\n|Backspace |delCharBefore |\n|Shift-Backspace |delCharBefore |\n|Tab |defaultTab |\n|Shift-Tab |indentAuto |\n|Enter |newlineAndIndent |\n|Insert |toggleOverwrite |\n|Ctrl-Esc |singleSelection |\n\n\n!!!Shortcuts on Windows and Linux\n\n|Shortcut |Function |h\n|Ctrl-A |selectAll |\n|Ctrl-D |deleteLine |\n|Ctrl-Z |undo |\n|Shift-Ctrl-Z |redo |\n|Ctrl-Y |redo |\n|Ctrl-Home |goDocStart |\n|Ctrl-End |goDocEnd |\n|Ctrl-Up |goLineUp |\n|Ctrl-Down |goLineDown |\n|Ctrl-Left |goGroupLeft |\n|Ctrl-Right |goGroupRight |\n|Alt-Left |goLineStart |\n|Alt-Right |goLineEnd |\n|Ctrl-Backspace |delGroupBefore |\n|Ctrl-Delete |delGroupAfter |\n|Ctrl-F |find |\n|Ctrl-G |findNext |\n|Shift-Ctrl-G |findPrev |\n|Shift-Ctrl-F |replace |\n|Shift-Ctrl-R |replaceAll |\n|Ctrl-[ |indentLess |\n|Ctrl-] |indentMore |\n|Alt-U |undoSelection |\n|Shift-Ctrl-U |redoSelection |\n|Shift-Alt-U |redoSelection |\n\n\n!!!Shortcuts on ~MacOs\n\n|Shortcut |Function |h\n|Cmd-A |selectAll |\n|Cmd-D |deleteLine |\n|Cmd-Z |undo |\n|Shift-Cmd-Z |redo |\n|Cmd-Y |redo |\n|Cmd-Home |goDocStart |\n|Cmd-Up |goDocStart |\n|Cmd-End |goDocEnd |\n|Cmd-Down |goDocEnd |\n|Alt-Left |goGroupLeft |\n|Alt-Right |goGroupRight |\n|Cmd-Left |goLineLeft |\n|Cmd-Right |goLineRight |\n|Alt-Backspace |delGroupBefore |\n|Ctrl-Alt-Backspace |delGroupAfter |\n|Alt-Delete |delGroupAfter |\n|Cmd-F |find |\n|Cmd-G |findNext |\n|Shift-Cmd-G |findPrev |\n|Cmd-Alt-F |replace |\n|Shift-Cmd-Alt-F |replaceAll |\n|Cmd-[ |indentLess |\n|Cmd-] |indentMore |\n|Cmd-Backspace |delWrappedLineLeft |\n|Cmd-Delete |delWrappedLineRight |\n|Alt-U |undoSelection |\n|Shift-Alt-U |redoSelection |\n|Ctrl-Up |goDocStart |\n|Ctrl-Down |goDocEnd |\n|Ctrl-F |goCharRight |\n|Ctrl-B |goCharLeft |\n|Ctrl-P |goLineUp |\n|Ctrl-N |goLineDown |\n|Alt-F |goWordRight |\n|Alt-B |goWordLeft |\n|Ctrl-A |goLineStart |\n|Ctrl-E |goLineEnd |\n|Ctrl-V |goPageDown |\n|Shift-Ctrl-V |goPageUp |\n|Ctrl-D |delCharAfter |\n|Ctrl-H |delCharBefore |\n|Alt-D |delWordAfter |\n|Alt-Backspace |delWordBefore |\n|Ctrl-K |killLine |\n|Alt-T |transposeChars |\n|Ctrl-O |openLine |\n\n\n&quot;
},
&quot;$:/plugins/tiddlywiki/codemirror/license&quot;: {
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/codemirror/license&quot;,
&quot;text&quot;: &quot;\&quot;\&quot;\&quot;\n~CodeMirror, copyright (c) by Marijn Haverbeke and others\nDistributed under an MIT license: http://codemirror.net/LICENSE\n\nCopyright (c) 2004-2007, Jeremy Ruston\nCopyright (c) 2007-2018, UnaMesa Association\nDistributed under an BSD license: https://tiddlywiki.com/#License\n\&quot;\&quot;\&quot;\n&quot;
},
&quot;$:/plugins/tiddlywiki/codemirror/readme&quot;: {
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/codemirror/readme&quot;,
&quot;text&quot;: &quot;This plugin provides an enhanced text editor component based on [[CodeMirror|http://codemirror.net]]. The basic configuration is designed to be as lightweight as possible and is just around 235kb of size. Additional features can be installed with ~CodeMirror ~AddOns from the plugin library.\n\n[[Source code|https://github.com/Jermolene/TiddlyWiki5/blob/master/plugins/tiddlywiki/codemirror]]\n\nBased on ~CodeMirror version 5.58.3\n&quot;
},
&quot;$:/core/ui/ControlPanel/Settings/codemirror/cursorBlinkRate&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Settings/codemirror/cursorBlinkRate&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel/Settings/CodeMirror&quot;,
&quot;caption&quot;: &quot;{{$:/language/codemirror/cursorBlinkRate/hint}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/codemirror/cursorBlinkRate/\n\n|&lt;$link to=\&quot;$:/config/codemirror/cursorBlinkRate\&quot;&gt;&lt;&lt;lingo hint&gt;&gt;&lt;/$link&gt; |&lt;$edit-text tiddler=\&quot;$:/config/codemirror/cursorBlinkRate\&quot; default=\&quot;\&quot; placeholder=\&quot;cursorBlinkRate\&quot; tag=\&quot;input\&quot;/&gt; |\n&quot;
},
&quot;$:/core/ui/ControlPanel/Settings/codemirror/editorFont&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Settings/codemirror/editorFont&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel/Settings/CodeMirror&quot;,
&quot;caption&quot;: &quot;{{$:/language/codemirror/editorFont/hint}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/ThemeTweaks/\n\n|&lt;$link to=\&quot;$:/themes/tiddlywiki/vanilla/settings/editorfontfamily\&quot;&gt;&lt;&lt;lingo Settings/EditorFontFamily&gt;&gt;&lt;/$link&gt; |&lt;$edit-text tiddler=\&quot;$:/themes/tiddlywiki/vanilla/settings/editorfontfamily\&quot; default=\&quot;\&quot; tag=\&quot;input\&quot;/&gt; | |\n&quot;
},
&quot;$:/core/ui/ControlPanel/Settings/codemirror/indentUnit&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Settings/codemirror/indentUnit&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel/Settings/CodeMirror&quot;,
&quot;caption&quot;: &quot;{{$:/language/codemirror/indentUnit/hint}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/codemirror/indentUnit/\n\n|&lt;$link to=\&quot;$:/config/codemirror/indentUnit\&quot;&gt;&lt;&lt;lingo hint&gt;&gt;&lt;/$link&gt; |&lt;$edit-text tiddler=\&quot;$:/config/codemirror/indentUnit\&quot; default=\&quot;\&quot; placeholder=\&quot;indentUnit\&quot; tag=\&quot;input\&quot;/&gt; |\n&quot;
},
&quot;$:/core/ui/ControlPanel/Settings/codemirror/indentWithTabs&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Settings/codemirror/indentWithTabs&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel/Settings/CodeMirror&quot;,
&quot;caption&quot;: &quot;{{$:/language/codemirror/indentWithTabs/hint}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/codemirror/indentWithTabs/\n&lt;&lt;lingo hint&gt;&gt;\n\n&lt;$checkbox tiddler=\&quot;$:/config/codemirror/indentWithTabs\&quot; field=\&quot;text\&quot; checked=\&quot;true\&quot; unchecked=\&quot;false\&quot; default=\&quot;true\&quot;&gt; &lt;$link to=\&quot;$:/config/codemirror/indentWithTabs\&quot;&gt;&lt;&lt;lingo info&gt;&gt;&lt;/$link&gt; &lt;/$checkbox&gt;\n&quot;
},
&quot;$:/core/ui/ControlPanel/Settings/codemirror/keyMap&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Settings/codemirror/keyMap&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel/Settings/CodeMirror&quot;,
&quot;caption&quot;: &quot;{{$:/language/codemirror/keyMap/hint}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/codemirror/keyMap\n\n&lt;$link to=\&quot;$:/config/codemirror/keyMap\&quot;&gt;&lt;&lt;lingo hint&gt;&gt;&lt;/$link&gt;\n\n&lt;$select tiddler=\&quot;$:/config/codemirror/keyMap\&quot; default=\&quot;default\&quot;&gt;\n&lt;option value=\&quot;default\&quot;&gt;default&lt;/option&gt;\n&lt;$list filter=\&quot;[all[shadows+tiddlers]module-type[codemirror-keymap]!has[draft.of]get[text]]\&quot;&gt;\n&lt;option value=&lt;&lt;currentTiddler&gt;&gt;&gt;&lt;$transclude&gt;&lt;$text text=&lt;&lt;currentTiddler&gt;&gt;/&gt;&lt;/$transclude&gt;&lt;/option&gt;\n&lt;/$list&gt;\n&lt;/$select&gt;\n\n&quot;
},
&quot;$:/core/ui/ControlPanel/Settings/codemirror/lineNumbers&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Settings/codemirror/lineNumbers&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel/Settings/CodeMirror&quot;,
&quot;caption&quot;: &quot;{{$:/language/codemirror/lineNumbers/hint}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/codemirror/lineNumbers/\n&lt;&lt;lingo hint&gt;&gt;\n\n&lt;$checkbox tiddler=\&quot;$:/config/codemirror/lineNumbers\&quot; field=\&quot;text\&quot; checked=\&quot;true\&quot; unchecked=\&quot;false\&quot; default=\&quot;false\&quot;&gt; &lt;$link to=\&quot;$:/config/codemirror/lineNumbers\&quot;&gt;&lt;&lt;lingo info&gt;&gt;&lt;/$link&gt; &lt;/$checkbox&gt;\n\n&quot;
},
&quot;$:/core/ui/ControlPanel/Settings/codemirror/lineWrapping&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Settings/codemirror/lineWrapping&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel/Settings/CodeMirror&quot;,
&quot;caption&quot;: &quot;{{$:/language/codemirror/lineWrapping/hint}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/codemirror/lineWrapping/\n&lt;&lt;lingo hint&gt;&gt;\n\n&lt;$checkbox tiddler=\&quot;$:/config/codemirror/lineWrapping\&quot; field=\&quot;text\&quot; checked=\&quot;true\&quot; unchecked=\&quot;false\&quot; default=\&quot;true\&quot;&gt; &lt;$link to=\&quot;$:/config/codemirror/lineWrapping\&quot;&gt;&lt;&lt;lingo info&gt;&gt;&lt;/$link&gt; &lt;/$checkbox&gt;\n\n&quot;
},
&quot;$:/core/ui/ControlPanel/Settings/codemirror/showCursorWhenSelecting&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Settings/codemirror/showCursorWhenSelecting&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel/Settings/CodeMirror&quot;,
&quot;caption&quot;: &quot;{{$:/language/codemirror/showCursorWhenSelecting/hint}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/codemirror/showCursorWhenSelecting/\n&lt;&lt;lingo hint&gt;&gt;\n\n&lt;$checkbox tiddler=\&quot;$:/config/codemirror/showCursorWhenSelecting\&quot; field=\&quot;text\&quot; checked=\&quot;true\&quot; unchecked=\&quot;false\&quot; default=\&quot;true\&quot;&gt; &lt;$link to=\&quot;$:/config/codemirror/showCursorWhenSelecting\&quot;&gt;&lt;&lt;lingo info&gt;&gt;&lt;/$link&gt; &lt;/$checkbox&gt;\n\n&quot;
},
&quot;$:/core/ui/ControlPanel/Settings/codemirror/smartIndent&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Settings/codemirror/smartIndent&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel/Settings/CodeMirror&quot;,
&quot;caption&quot;: &quot;{{$:/language/codemirror/smartIndent/hint}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/codemirror/smartIndent/\n&lt;&lt;lingo hint&gt;&gt;\n\n&lt;$checkbox tiddler=\&quot;$:/config/codemirror/smartIndent\&quot; field=\&quot;text\&quot; checked=\&quot;true\&quot; unchecked=\&quot;false\&quot; default=\&quot;true\&quot;&gt; &lt;$link to=\&quot;$:/config/codemirror/smartIndent\&quot;&gt;&lt;&lt;lingo info&gt;&gt;&lt;/$link&gt; &lt;/$checkbox&gt;\n&quot;
},
&quot;$:/core/ui/ControlPanel/Settings/codemirror/styleActiveLine&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Settings/codemirror/styleActiveLine&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel/Settings/CodeMirror&quot;,
&quot;caption&quot;: &quot;{{$:/language/codemirror/styleActiveLine/hint}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/codemirror/styleActiveLine/\n&lt;&lt;lingo hint&gt;&gt;\n\n&lt;$checkbox tiddler=\&quot;$:/config/codemirror/styleActiveLine\&quot; field=\&quot;text\&quot; checked=\&quot;true\&quot; unchecked=\&quot;false\&quot; default=\&quot;false\&quot;&gt; &lt;$link to=\&quot;$:/config/codemirror/styleActiveLine\&quot;&gt;&lt;&lt;lingo info&gt;&gt;&lt;/$link&gt; &lt;/$checkbox&gt;\n\n&quot;
},
&quot;$:/core/ui/ControlPanel/Settings/codemirror/tabSize&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Settings/codemirror/tabSize&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel/Settings/CodeMirror&quot;,
&quot;caption&quot;: &quot;{{$:/language/codemirror/tabSize/hint}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/codemirror/tabSize/\n\n|&lt;$link to=\&quot;$:/config/codemirror/tabSize\&quot;&gt;&lt;&lt;lingo hint&gt;&gt;&lt;/$link&gt; |&lt;$edit-text tiddler=\&quot;$:/config/codemirror/tabSize\&quot; default=\&quot;\&quot; placeholder=\&quot;tabSize\&quot; tag=\&quot;input\&quot;/&gt; |\n&quot;
},
&quot;$:/core/ui/ControlPanel/Settings/codemirror/theme&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Settings/codemirror/theme&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel/Settings/CodeMirror&quot;,
&quot;caption&quot;: &quot;{{$:/language/codemirror/theme/hint}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/codemirror/\n\n&lt;$link to=\&quot;$:/config/codemirror/theme\&quot;&gt;&lt;&lt;lingo hint&gt;&gt;&lt;/$link&gt;\n\n&lt;$select tiddler=\&quot;$:/config/codemirror/theme\&quot; default=\&quot;default\&quot;&gt;\n&lt;option value=\&quot;default\&quot;&gt;default&lt;/option&gt;\n&lt;$list filter=\&quot;[all[shadows+tiddlers]tag[$:/tags/Stylesheet]module-type[codemirror-theme]!has[draft.of]get[name]]\&quot;&gt;\n&lt;option value=&lt;&lt;currentTiddler&gt;&gt;&gt;&lt;$transclude field=\&quot;name\&quot;&gt;&lt;$text text=&lt;&lt;currentTiddler&gt;&gt;/&gt;&lt;/$transclude&gt;&lt;/option&gt;\n&lt;/$list&gt;\n&lt;/$select&gt;\n\n//see the [[CodeMirror Usage|$:/plugins/tiddlywiki/codemirror/usage]] how to add themes//\n&quot;
},
&quot;$:/plugins/tiddlywiki/codemirror/styles&quot;: {
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/codemirror/styles&quot;,
&quot;tags&quot;: &quot;[[$:/tags/Stylesheet]]&quot;,
&quot;module-type&quot;: &quot;codemirror-theme&quot;,
&quot;name&quot;: &quot;tiddlywiki&quot;,
&quot;text&quot;: &quot;\\define set-fat-cursor-background-css(colour,colourA,colourB)\n&lt;$set name=\&quot;backgroundColour\&quot; value=&lt;&lt;contrastcolour target:\&quot;\&quot;\&quot;$colour$\&quot;\&quot;\&quot; fallbackTarget:\&quot;\&quot;\&quot;\&quot;\&quot;\&quot; colourA:\&quot;\&quot;\&quot;$colourA$\&quot;\&quot;\&quot; colourB:\&quot;\&quot;\&quot;$colourB$\&quot;\&quot;\&quot;&gt;&gt;&gt;\n.cm-s-tiddlywiki.cm-fat-cursor .CodeMirror-cursor { background: &lt;&lt;backgroundColour&gt;&gt;; }\n.cm-s-tiddlywiki .cm-animate-fat-cursor { background-color: &lt;&lt;backgroundColour&gt;&gt;; }\n&lt;/$set&gt;\n\\end\n\\define set-fat-cursor-background-colours(palette)\n&lt;$macrocall $name=\&quot;set-fat-cursor-background-css\&quot; colour={{$palette$##foreground}} colourA=\&quot;#77ee77\&quot; colourB=\&quot;#586e75\&quot;/&gt;\n\\end\n\\define set-fat-cursor-background()\n&lt;$macrocall $name=\&quot;set-fat-cursor-background-colours\&quot; palette={{$:/palette}}/&gt;\n\\end\n\\define set-selection-background-css(colour,colourA,colourB,tiddlerEditorBackground)\n&lt;$wikify name=\&quot;tiddlerEditorBackground\&quot; text={{{ [[$tiddlerEditorBackground$]lowercase[]] }}}&gt;\n&lt;$set name=\&quot;backgroundColour\&quot; value=&lt;&lt;contrastcolour target:\&quot;\&quot;\&quot;$colour$\&quot;\&quot;\&quot; fallbackTarget:\&quot;\&quot;\&quot;\&quot;\&quot;\&quot; colourA:\&quot;\&quot;\&quot;$colourA$\&quot;\&quot;\&quot; colourB:\&quot;\&quot;\&quot;$colourB$\&quot;\&quot;\&quot;&gt;&gt;&gt;\n&lt;$set name=\&quot;backgroundColour\&quot; value={{{ [&lt;backgroundColour&gt;lowercase[]match&lt;tiddlerEditorBackground&gt;then[]] ~[&lt;backgroundColour&gt;] }}}&gt;\n.cm-s-tiddlywiki div.CodeMirror-selected { background: &lt;&lt;backgroundColour&gt;&gt;; color: &lt;&lt;colour foreground&gt;&gt;; }\n.cm-s-tiddlywiki.CodeMirror ::selection { background: &lt;&lt;backgroundColour&gt;&gt;; color: &lt;&lt;colour foreground&gt;&gt;; }\n.cm-s-tiddlywiki .CodeMirror-line::-moz-selection, .CodeMirror-line &gt; span::-moz-selection, .CodeMirror-line &gt; span &gt; span::-moz-selection { background: &lt;&lt;backgroundColour&gt;&gt;; color: &lt;&lt;colour foreground&gt;&gt;; }\n.cm-s-tiddlywiki .CodeMirror-line::selection, .CodeMirror-line &gt; span::selection, .CodeMirror-line &gt; span &gt; span::selection { background: &lt;&lt;backgroundColour&gt;&gt;; color: &lt;&lt;colour foreground&gt;&gt;; }\n&lt;/$set&gt;\n&lt;/$set&gt;\n&lt;/$wikify&gt;\n\\end\n\\define set-selection-background-colours(palette)\n&lt;$macrocall $name=\&quot;set-selection-background-css\&quot; colour={{$palette$##foreground}} colourA={{{ [{$palette$##selection-background}!match[]!prefix[&lt;&lt;]!suffix[&gt;&gt;]] ~#073642 }}} colourB={{{ [{$palette$##selection-background}!match[]!prefix[&lt;&lt;]!suffix[&gt;&gt;]] ~#eee8d5 }}} tiddlerEditorBackground={{$palette$##tiddler-editor-background}}/&gt;\n\\end\n\\define set-selection-background()\n&lt;$macrocall $name=\&quot;set-selection-background-colours\&quot; palette={{$:/palette}}/&gt;\n\\end\n\n\\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline macrocallblock\n\n/* Make the editor resize to fit its content */\n\n.CodeMirror {\n\theight: auto;\n\tborder: 1px solid &lt;&lt;colour tiddler-editor-border&gt;&gt;;\n\tline-height: 1.5;\n\tfont-family: {{$:/themes/tiddlywiki/vanilla/settings/editorfontfamily}};\n\tfont-size: {{$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize}};\n}\n\n.CodeMirror-scroll {\n\toverflow-x: auto;\n\toverflow-y: hidden;\n}\n\n.cm-s-tiddlywiki {\n color-profile: sRGB;\n rendering-intent: auto;\n}\n\n.cm-s-tiddlywiki.CodeMirror, .cm-s-tiddlywiki .CodeMirror-gutters { background-color: &lt;&lt;colour tiddler-editor-background&gt;&gt;; color: &lt;&lt;colour foreground&gt;&gt;; }\n.cm-s-tiddlywiki .CodeMirror-gutters {background: &lt;&lt;colour tiddler-editor-background&gt;&gt;; border-right: 1px solid &lt;&lt;colour tiddler-editor-border&gt;&gt;;}\n.cm-s-tiddlywiki .CodeMirror-linenumber {color: &lt;&lt;colour foreground&gt;&gt;;}\n.cm-s-tiddlywiki
},
&quot;$:/core/ui/ControlPanel/Settings/CodeMirror&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Settings/CodeMirror&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel/SettingsTab&quot;,
&quot;caption&quot;: &quot;CodeMirror&quot;,
&quot;list-after&quot;: &quot;$:/core/ui/ControlPanel/Settings/TiddlyWiki&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/codemirror/controlPanel/\n\n&lt;&lt;lingo hint&gt;&gt;\n\n&lt;$link to=\&quot;$:/plugins/tiddlywiki/codemirror/usage\&quot;&gt;&lt;&lt;lingo usage&gt;&gt;&lt;/$link&gt;\n\n&lt;$link to=\&quot;$:/plugins/tiddlywiki/codemirror/keyboard\&quot;&gt;&lt;&lt;lingo keyboard&gt;&gt;&lt;/$link&gt;\n\n&lt;$list filter=\&quot;[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Settings/CodeMirror]]\&quot;&gt;\n\n&lt;div style=\&quot;border-top:1px solid #eee;\&quot;&gt;\n\n!! &lt;$link&gt;&lt;$transclude field=\&quot;caption\&quot;/&gt;&lt;/$link&gt;\n\n&lt;$transclude/&gt;\n\n&lt;/div&gt;\n\n&lt;/$list&gt;\n&quot;
},
&quot;$:/core/ui/ControlPanel/Settings&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Settings&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel&quot;,
&quot;caption&quot;: &quot;{{$:/language/ControlPanel/Settings/Caption}}&quot;,
&quot;text&quot;: &quot;&lt;div class=\&quot;tc-control-panel\&quot;&gt;\n&lt;$macrocall $name=\&quot;tabs\&quot; tabsList=\&quot;[all[shadows+tiddlers]tag[$:/tags/ControlPanel/SettingsTab]!has[draft.of]]\&quot; default=\&quot;$:/core/ui/ControlPanel/Settings/TiddlyWiki\&quot; explicitState=\&quot;$:/state/tab--697582678\&quot;/&gt;\n&lt;/div&gt;\n&quot;
},
&quot;$:/core/ui/ControlPanel/Settings/TiddlyWiki&quot;: {
&quot;title&quot;: &quot;$:/core/ui/ControlPanel/Settings/TiddlyWiki&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel/SettingsTab&quot;,
&quot;caption&quot;: &quot;TiddlyWiki&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/ControlPanel/Settings/\n\n&lt;&lt;lingo Hint&gt;&gt;\n\n&lt;$list filter=\&quot;[all[shadows+tiddlers]tag[$:/tags/ControlPanel/Settings]]\&quot;&gt;\n\n&lt;div style=\&quot;border-top:1px solid #eee;\&quot;&gt;\n\n!! &lt;$link&gt;&lt;$transclude field=\&quot;caption\&quot;/&gt;&lt;/$link&gt;\n\n&lt;$transclude/&gt;\n\n&lt;/div&gt;\n\n&lt;/$list&gt;\n&quot;
},
&quot;$:/plugins/tiddlywiki/codemirror/usage&quot;: {
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/codemirror/usage&quot;,
&quot;text&quot;: &quot;! Configuration\n\nConfiguration for the ~CodeMirror text-editor can be done from within the CodeMirror Settings Tab in the [[ControlPanel|$:/ControlPanel]] (Settings - ~CodeMirror)\n\n\n!!Setting a different Theme\n\n~CodeMirror themes are available in the [ext[official GitHub repository|https://github.com/codemirror/CodeMirror/tree/master/theme]]\n\nMore themes can be found at https://github.com/FarhadG/code-mirror-themes/tree/master/themes and previewed [ext[here|http://farhadg.github.io/code-mirror-themes/]]\n\n\nTo add a theme to your wiki, follow these four steps:\n\n* choose one of the CSS files and copy its content to a new tiddler\n* remove all comments from the top and tag the tiddler with &lt;&lt;tag-pill \&quot;$:/tags/Stylesheet\&quot;&gt;&gt;\n* add a field \&quot;module-type\&quot; with the value \&quot;codemirror-theme\&quot;. add a field \&quot;name\&quot; with the exact ''name'' of the theme as value\n* save the tiddler and go to the Settings tab in $:/ControlPanel - look for the \&quot;theme\&quot; dropdown to select your newly added theme\n\n\n!!Line Numbers\n\nTo show or hide the Line Numbers at the left, go to ~ControlPanel - Settings - ~CodeMirror and look for the \&quot;Line Numbers\&quot; checkbox\n\n\n!!Line Wrapping\n\nControls if long lines get visually wrapped to a new line if they're too long to fit the editor width or if the editor should scroll horizontally\n\nTo change the line-wrapping behaviour, go to ~ControlPanel - Settings - ~CodeMirror and look for the \&quot;Line Wrapping\&quot; checkbox\n\n\n!!Show Cursor when selecting\n\nDefines whether the Mouse cursor should be visually shown or hidden when making a text-selection\n\nTo change the show-cursor-when-selecting behaviour, go to ~ControlPanel - Settings - ~CodeMirror and look for the \&quot;Show cursor when selecting\&quot; checkbox\n\n\n!!~CodeMirror Font Family\n\nThe Font-Family used within the ~CodeMirror text-editor defaults to \&quot;monospace\&quot; which will choose your configured monospace system-font\n\nThat setting can be overridden entering one or more Font-Families in the \&quot;Font Family\&quot; input field at ~ControlPanel - Settings - ~CodeMirror\n\n* The entries must be separated by semicolons ','\n* Font-Family Names that contain spaces must be quoted like \&quot;My Font\&quot;\n* If a list of Font-Families is specified, the last Font-Family found on the user-system gets used, non-existing fonts get ignored\n* If none of the specified Font-Families is available, ~CodeMirror uses the default \&quot;monospace\&quot;\n\n\n!!\&quot;Hidden\&quot; Settings:\n\n!!!Cursor Blink Rate\n\nThe cursor blink-rate defines how fast (in milliseconds) the cursor blinks inside the textarea\n\nYou can change it by editing $:/config/codemirror/cursorBlinkRate\n\&quot;0\&quot; disables blinking\n\n!!!Tabsize\n\nThe Tabsize defines the width of a tab character. Default is 4.\n\nYou can change it by editing $:/config/codemirror/tabSize\n\n!!!Indent Unit\n\nNot enabled for vnd.tiddlywiki and x-tiddlywiki\n\nDefines how many spaces a text-block should be indented. Defaults to 2.\n\nYou can change it by editing $:/config/codemirror/indentUnit\n\n&quot;
}
}
}</pre>
</div>
<div dependents="$:/plugins/tiddlywiki/codemirror-mode-css" description="Autocompletion for CodeMirror" list="readme" name="CodeMirror Autocomplete" parent-plugin="$:/plugins/tiddlywiki/codemirror" plugin-type="plugin" title="$:/plugins/tiddlywiki/codemirror-autocomplete" type="application/json" version="5.1.23">
<pre>{
&quot;tiddlers&quot;: {
&quot;$:/config/codemirror/autocomplete&quot;: {
&quot;title&quot;: &quot;$:/config/codemirror/autocomplete&quot;,
&quot;extend&quot;: &quot;extraKeys&quot;,
&quot;type&quot;: &quot;json&quot;,
&quot;text&quot;: &quot;{\n\t\&quot;Ctrl-Space\&quot;: \&quot;autocomplete\&quot;\n}&quot;
},
&quot;$:/plugins/tiddlywiki/codemirror/addon/hint/anyword-hint.js&quot;: {
&quot;text&quot;: &quot;// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: https://codemirror.net/LICENSE\n!function(e){\&quot;object\&quot;==typeof exports&amp;&amp;\&quot;object\&quot;==typeof module?e(require(\&quot;../../lib/codemirror\&quot;)):\&quot;function\&quot;==typeof define&amp;&amp;define.amd?define([\&quot;../../lib/codemirror\&quot;],e):e(CodeMirror)}(function(y){\&quot;use strict\&quot;;var b=/[\\w$]+/;y.registerHelper(\&quot;hint\&quot;,\&quot;anyword\&quot;,function(e,r){for(var t=r&amp;&amp;r.word||b,o=r&amp;&amp;r.range||500,i=e.getCursor(),n=e.getLine(i.line),f=i.ch,s=f;s&amp;&amp;t.test(n.charAt(s-1));)--s;for(var a=s!=f&amp;&amp;n.slice(s,f),c=r&amp;&amp;r.list||[],l={},d=new RegExp(t.source,\&quot;g\&quot;),u=-1;u&lt;=1;u+=2)for(var p=i.line,g=Math.min(Math.max(p+u*o,e.firstLine()),e.lastLine())+u;p!=g;p+=u)for(var h,m=e.getLine(p);h=d.exec(m);)p==i.line&amp;&amp;h[0]===a||a&amp;&amp;0!=h[0].lastIndexOf(a,0)||Object.prototype.hasOwnProperty.call(l,h[0])||(l[h[0]]=!0,c.push(h[0]));return{list:c,from:y.Pos(i.line,s),to:y.Pos(i.line,f)}})});\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/codemirror/addon/hint/anyword-hint.js&quot;,
&quot;module-type&quot;: &quot;codemirror&quot;
},
&quot;$:/plugins/tiddlywiki/codemirror/addon/hint/css-hint.js&quot;: {
&quot;text&quot;: &quot;// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: https://codemirror.net/LICENSE\n!function(e){\&quot;object\&quot;==typeof exports&amp;&amp;\&quot;object\&quot;==typeof module?e(require(\&quot;../../lib/codemirror\&quot;),require(\&quot;../../mode/css/css\&quot;)):\&quot;function\&quot;==typeof define&amp;&amp;define.amd?define([\&quot;../../lib/codemirror\&quot;,\&quot;../../mode/css/css\&quot;],e):e(CodeMirror)}(function(f){\&quot;use strict\&quot;;var p={active:1,after:1,before:1,checked:1,default:1,disabled:1,empty:1,enabled:1,\&quot;first-child\&quot;:1,\&quot;first-letter\&quot;:1,\&quot;first-line\&quot;:1,\&quot;first-of-type\&quot;:1,focus:1,hover:1,\&quot;in-range\&quot;:1,indeterminate:1,invalid:1,lang:1,\&quot;last-child\&quot;:1,\&quot;last-of-type\&quot;:1,link:1,not:1,\&quot;nth-child\&quot;:1,\&quot;nth-last-child\&quot;:1,\&quot;nth-last-of-type\&quot;:1,\&quot;nth-of-type\&quot;:1,\&quot;only-of-type\&quot;:1,\&quot;only-child\&quot;:1,optional:1,\&quot;out-of-range\&quot;:1,placeholder:1,\&quot;read-only\&quot;:1,\&quot;read-write\&quot;:1,required:1,root:1,selection:1,target:1,valid:1,visited:1};f.registerHelper(\&quot;hint\&quot;,\&quot;css\&quot;,function(e){var t=e.getCursor(),r=e.getTokenAt(t),o=f.innerMode(e.getMode(),r.state);if(\&quot;css\&quot;==o.mode.name){if(\&quot;keyword\&quot;==r.type&amp;&amp;0==\&quot;!important\&quot;.indexOf(r.string))return{list:[\&quot;!important\&quot;],from:f.Pos(t.line,r.start),to:f.Pos(t.line,r.end)};var i=r.start,s=t.ch,n=r.string.slice(0,s-i);/[^\\w$_-]/.test(n)&amp;&amp;(n=\&quot;\&quot;,i=s=t.ch);var a=f.resolveMode(\&quot;text/css\&quot;),d=[],l=o.state.state;return\&quot;pseudo\&quot;==l||\&quot;variable-3\&quot;==r.type?c(p):\&quot;block\&quot;==l||\&quot;maybeprop\&quot;==l?c(a.propertyKeywords):\&quot;prop\&quot;==l||\&quot;parens\&quot;==l||\&quot;at\&quot;==l||\&quot;params\&quot;==l?(c(a.valueKeywords),c(a.colorKeywords)):\&quot;media\&quot;!=l&amp;&amp;\&quot;media_parens\&quot;!=l||(c(a.mediaTypes),c(a.mediaFeatures)),d.length?{list:d,from:f.Pos(t.line,i),to:f.Pos(t.line,s)}:void 0}function c(e){for(var t in e)n&amp;&amp;0!=t.lastIndexOf(n,0)||d.push(t)}})});\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/codemirror/addon/hint/css-hint.js&quot;,
&quot;module-type&quot;: &quot;codemirror&quot;
},
&quot;$:/plugins/tiddlywiki/codemirror/addon/hint/html-hint.js&quot;: {
&quot;text&quot;: &quot;// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: https://codemirror.net/LICENSE\n!function(l){\&quot;object\&quot;==typeof exports&amp;&amp;\&quot;object\&quot;==typeof module?l(require(\&quot;../../lib/codemirror\&quot;),require(\&quot;./xml-hint\&quot;)):\&quot;function\&quot;==typeof define&amp;&amp;define.amd?define([\&quot;../../lib/codemirror\&quot;,\&quot;./xml-hint\&quot;],l):l(CodeMirror)}(function(n){\&quot;use strict\&quot;;var l=\&quot;ab aa af ak sq am ar an hy as av ae ay az bm ba eu be bn bh bi bs br bg my ca ch ce ny zh cv kw co cr hr cs da dv nl dz en eo et ee fo fj fi fr ff gl ka de el gn gu ht ha he hz hi ho hu ia id ie ga ig ik io is it iu ja jv kl kn kr ks kk km ki rw ky kv kg ko ku kj la lb lg li ln lo lt lu lv gv mk mg ms ml mt mi mr mh mn na nv nb nd ne ng nn no ii nr oc oj cu om or os pa pi fa pl ps pt qu rm rn ro ru sa sc sd se sm sg sr gd sn si sk sl so st es su sw ss sv ta te tg th ti bo tk tl tn to tr ts tt tw ty ug uk ur uz ve vi vo wa cy wo fy xh yi yo za zu\&quot;.split(\&quot; \&quot;),t=[\&quot;_blank\&quot;,\&quot;_self\&quot;,\&quot;_top\&quot;,\&quot;_parent\&quot;],e=[\&quot;ascii\&quot;,\&quot;utf-8\&quot;,\&quot;utf-16\&quot;,\&quot;latin1\&quot;,\&quot;latin1\&quot;],a=[\&quot;get\&quot;,\&quot;post\&quot;,\&quot;put\&quot;,\&quot;delete\&quot;],r=[\&quot;application/x-www-form-urlencoded\&quot;,\&quot;multipart/form-data\&quot;,\&quot;text/plain\&quot;],o=[\&quot;all\&quot;,\&quot;screen\&quot;,\&quot;print\&quot;,\&quot;embossed\&quot;,\&quot;braille\&quot;,\&quot;handheld\&quot;,\&quot;print\&quot;,\&quot;projection\&quot;,\&quot;screen\&quot;,\&quot;tty\&quot;,\&quot;tv\&quot;,\&quot;speech\&quot;,\&quot;3d-glasses\&quot;,\&quot;resolution [&gt;][&lt;][=] [X]\&quot;,\&quot;device-aspect-ratio: X/Y\&quot;,\&quot;orientation:portrait\&quot;,\&quot;orientation:landscape\&quot;,\&quot;device-height: [X]\&quot;,\&quot;device-width: [X]\&quot;],s={attrs:{}},u={a:{attrs:{href:null,ping:null,type:null,media:o,target:t,hreflang:l}},abbr:s,acronym:s,address:s,applet:s,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:o,hreflang:l,type:null,shape:[\&quot;default\&quot;,\&quot;rect\&quot;,\&quot;circle\&quot;,\&quot;poly\&quot;]}},article:s,aside:s,audio:{attrs:{src:null,mediagroup:null,crossorigin:[\&quot;anonymous\&quot;,\&quot;use-credentials\&quot;],preload:[\&quot;none\&quot;,\&quot;metadata\&quot;,\&quot;auto\&quot;],autoplay:[\&quot;\&quot;,\&quot;autoplay\&quot;],loop:[\&quot;\&quot;,\&quot;loop\&quot;],controls:[\&quot;\&quot;,\&quot;controls\&quot;]}},b:s,base:{attrs:{href:null,target:t}},basefont:s,bdi:s,bdo:s,big:s,blockquote:{attrs:{cite:null}},body:s,br:s,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:[\&quot;\&quot;,\&quot;autofocus\&quot;],disabled:[\&quot;\&quot;,\&quot;autofocus\&quot;],formenctype:r,formmethod:a,formnovalidate:[\&quot;\&quot;,\&quot;novalidate\&quot;],formtarget:t,type:[\&quot;submit\&quot;,\&quot;reset\&quot;,\&quot;button\&quot;]}},canvas:{attrs:{width:null,height:null}},caption:s,center:s,cite:s,code:s,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:[\&quot;command\&quot;,\&quot;checkbox\&quot;,\&quot;radio\&quot;],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:[\&quot;\&quot;,\&quot;disabled\&quot;],checked:[\&quot;\&quot;,\&quot;checked\&quot;]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:[\&quot;\&quot;,\&quot;disabled\&quot;],multiple:[\&quot;\&quot;,\&quot;multiple\&quot;]}},datalist:{attrs:{data:null}},dd:s,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:[\&quot;\&quot;,\&quot;open\&quot;]}},dfn:s,dir:s,div:s,dl:s,dt:s,em:s,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:[\&quot;\&quot;,\&quot;disabled\&quot;],form:null,name:null}},figcaption:s,figure:s,font:s,footer:s,form:{attrs:{action:null,name:null,\&quot;accept-charset\&quot;:e,autocomplete:[\&quot;on\&quot;,\&quot;off\&quot
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/codemirror/addon/hint/html-hint.js&quot;,
&quot;module-type&quot;: &quot;codemirror&quot;
},
&quot;$:/plugins/tiddlywiki/codemirror/addon/hint/javascript-hint.js&quot;: {
&quot;text&quot;: &quot;// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: https://codemirror.net/LICENSE\n!function(t){\&quot;object\&quot;==typeof exports&amp;&amp;\&quot;object\&quot;==typeof module?t(require(\&quot;../../lib/codemirror\&quot;)):\&quot;function\&quot;==typeof define&amp;&amp;define.amd?define([\&quot;../../lib/codemirror\&quot;],t):t(CodeMirror)}(function(f){var c=f.Pos;function g(t,e){for(var r=0,n=t.length;r&lt;n;++r)e(t[r])}function r(t,e,r,n){var i=t.getCursor(),o=r(t,i);if(!/\\b(?:string|comment)\\b/.test(o.type)){var s=f.innerMode(t.getMode(),o.state);if(\&quot;json\&quot;!==s.mode.helperType){o.state=s.state,/^[\\w$_]*$/.test(o.string)?o.end&gt;i.ch&amp;&amp;(o.end=i.ch,o.string=o.string.slice(0,i.ch-o.start)):o={start:i.ch,end:i.ch,string:\&quot;\&quot;,state:o.state,type:\&quot;.\&quot;==o.string?\&quot;property\&quot;:null};for(var a=o;\&quot;property\&quot;==a.type;){if(\&quot;.\&quot;!=(a=r(t,c(i.line,a.start))).string)return;a=r(t,c(i.line,a.start));var l=l||[];l.push(a)}return{list:function(t,e,r,n){var i=[],o=t.string,s=n&amp;&amp;n.globalScope||window;function a(t){0!=t.lastIndexOf(o,0)||function(t,e){if(Array.prototype.indexOf)return-1!=t.indexOf(e);for(var r=t.length;r--;)if(t[r]===e)return 1}(i,t)||i.push(t)}function l(t){\&quot;string\&quot;==typeof t?g(y,a):t instanceof Array?g(h,a):t instanceof Function&amp;&amp;g(v,a),function(t,e){if(Object.getOwnPropertyNames&amp;&amp;Object.getPrototypeOf)for(var r=t;r;r=Object.getPrototypeOf(r))Object.getOwnPropertyNames(r).forEach(e);else for(var n in t)e(n)}(t,a)}if(e&amp;&amp;e.length){var f,c=e.pop();for(c.type&amp;&amp;0===c.type.indexOf(\&quot;variable\&quot;)?(n&amp;&amp;n.additionalContext&amp;&amp;(f=n.additionalContext[c.string]),n&amp;&amp;!1===n.useGlobalScope||(f=f||s[c.string])):\&quot;string\&quot;==c.type?f=\&quot;\&quot;:\&quot;atom\&quot;==c.type?f=1:\&quot;function\&quot;==c.type&amp;&amp;(null==s.jQuery||\&quot;$\&quot;!=c.string&amp;&amp;\&quot;jQuery\&quot;!=c.string||\&quot;function\&quot;!=typeof s.jQuery?null!=s._&amp;&amp;\&quot;_\&quot;==c.string&amp;&amp;\&quot;function\&quot;==typeof s._&amp;&amp;(f=s._()):f=s.jQuery());null!=f&amp;&amp;e.length;)f=f[e.pop().string];null!=f&amp;&amp;l(f)}else{for(var p=t.state.localVars;p;p=p.next)a(p.name);for(var u=t.state.context;u;u=u.prev)for(p=u.vars;p;p=p.next)a(p.name);for(p=t.state.globalVars;p;p=p.next)a(p.name);if(n&amp;&amp;null!=n.additionalContext)for(var d in n.additionalContext)a(d);n&amp;&amp;!1===n.useGlobalScope||l(s),g(r,a)}return i}(o,l,e,n),from:c(i.line,o.start),to:c(i.line,o.end)}}}}function n(t,e){var r=t.getTokenAt(e);return e.ch==r.start+1&amp;&amp;\&quot;.\&quot;==r.string.charAt(0)?(r.end=r.start,r.string=\&quot;.\&quot;,r.type=\&quot;property\&quot;):/^\\.[\\w$_]*$/.test(r.string)&amp;&amp;(r.type=\&quot;property\&quot;,r.start++,r.string=r.string.replace(/\\./,\&quot;\&quot;)),r}f.registerHelper(\&quot;hint\&quot;,\&quot;javascript\&quot;,function(t,e){return r(t,i,function(t,e){return t.getTokenAt(e)},e)}),f.registerHelper(\&quot;hint\&quot;,\&quot;coffeescript\&quot;,function(t,e){return r(t,o,n,e)});var y=\&quot;charAt charCodeAt indexOf lastIndexOf substring substr slice trim trimLeft trimRight toUpperCase toLowerCase split concat match replace search\&quot;.split(\&quot; \&quot;),h=\&quot;length concat join splice push pop shift unshift slice reverse sort indexOf lastIndexOf every some filter forEach map reduce reduceRight \&quot;.split(\&quot; \&quot;),v=\&quot;prototype apply call bind\&quot;.split(\&quot; \&quot;),i=\&quot;break case catch class const continue debugger default delete do else export extends false finally for function if in import instanceof new null return super switch this throw true try typeof var void while with yield\&quot;.split(\&quot; \&quot;),o=\&quot;and break catch class continue delete do else extends false finally for if in instanceof isnt new no not null of off on or return switch then throw true try typeof until void while with yes\&quot;.split(\&quot;
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/codemirror/addon/hint/javascript-hint.js&quot;,
&quot;module-type&quot;: &quot;codemirror&quot;
},
&quot;$:/plugins/tiddlywiki/codemirror/addon/hint/show-hint.js&quot;: {
&quot;text&quot;: &quot;// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: https://codemirror.net/LICENSE\n!function(t){\&quot;object\&quot;==typeof exports&amp;&amp;\&quot;object\&quot;==typeof module?t(require(\&quot;../../lib/codemirror\&quot;)):\&quot;function\&quot;==typeof define&amp;&amp;define.amd?define([\&quot;../../lib/codemirror\&quot;],t):t(CodeMirror)}(function(W){\&quot;use strict\&quot;;var I=\&quot;CodeMirror-hint-active\&quot;;function o(t,i){this.cm=t,this.options=i,this.widget=null,this.debounce=0,this.tick=0,this.startPos=this.cm.getCursor(\&quot;start\&quot;),this.startLen=this.cm.getLine(this.startPos.line).length-this.cm.getSelection().length;var e=this;t.on(\&quot;cursorActivity\&quot;,this.activityFunc=function(){e.cursorActivity()})}W.showHint=function(t,i,e){if(!i)return t.showHint(e);e&amp;&amp;e.async&amp;&amp;(i.async=!0);var n={hint:i};if(e)for(var o in e)n[o]=e[o];return t.showHint(n)},W.defineExtension(\&quot;showHint\&quot;,function(t){t=function(t,i,e){var n=t.options.hintOptions,o={};for(var s in l)o[s]=l[s];if(n)for(var s in n)void 0!==n[s]&amp;&amp;(o[s]=n[s]);if(e)for(var s in e)void 0!==e[s]&amp;&amp;(o[s]=e[s]);o.hint.resolve&amp;&amp;(o.hint=o.hint.resolve(t,i));return o}(this,this.getCursor(\&quot;start\&quot;),t);var i=this.listSelections();if(!(1&lt;i.length)){if(this.somethingSelected()){if(!t.hint.supportsSelection)return;for(var e=0;e&lt;i.length;e++)if(i[e].head.line!=i[e].anchor.line)return}this.state.completionActive&amp;&amp;this.state.completionActive.close();var n=this.state.completionActive=new o(this,t);n.options.hint&amp;&amp;(W.signal(this,\&quot;startCompletion\&quot;,this),n.update(!0))}}),W.defineExtension(\&quot;closeHint\&quot;,function(){this.state.completionActive&amp;&amp;this.state.completionActive.close()});var s=window.requestAnimationFrame||function(t){return setTimeout(t,1e3/60)},c=window.cancelAnimationFrame||clearTimeout;function B(t){return\&quot;string\&quot;==typeof t?t:t.text}function K(t,i){for(;i&amp;&amp;i!=t;){if(\&quot;LI\&quot;===i.nodeName.toUpperCase()&amp;&amp;i.parentNode==t)return i;i=i.parentNode}}function n(o,t){this.completion=o,this.data=t,this.picked=!1;var e=this,s=o.cm,c=s.getInputField().ownerDocument,r=c.defaultView||c.parentWindow,l=this.hints=c.createElement(\&quot;ul\&quot;),i=o.cm.options.theme;l.className=\&quot;CodeMirror-hints \&quot;+i,this.selectedHint=t.selectedHint||0;for(var n=t.list,h=0;h&lt;n.length;++h){var a=l.appendChild(c.createElement(\&quot;li\&quot;)),u=n[h],f=\&quot;CodeMirror-hint\&quot;+(h!=this.selectedHint?\&quot;\&quot;:\&quot; \&quot;+I);null!=u.className&amp;&amp;(f=u.className+\&quot; \&quot;+f),a.className=f,u.render?u.render(a,t,u):a.appendChild(c.createTextNode(u.displayText||B(u))),a.hintId=h}var p,d,m,g=o.options.container||c.body,v=s.cursorCoords(o.options.alignWithWord?t.from:null),y=v.left,w=v.bottom,H=!0,C=0,b=0;g!==c.body&amp;&amp;(d=(p=-1!==[\&quot;absolute\&quot;,\&quot;relative\&quot;,\&quot;fixed\&quot;].indexOf(r.getComputedStyle(g).position)?g:g.offsetParent).getBoundingClientRect(),m=c.body.getBoundingClientRect(),C=d.left-m.left-p.scrollLeft,b=d.top-m.top-p.scrollTop),l.style.left=y-C+\&quot;px\&quot;,l.style.top=w-b+\&quot;px\&quot;;var k=r.innerWidth||Math.max(c.body.offsetWidth,c.documentElement.offsetWidth),A=r.innerHeight||Math.max(c.body.offsetHeight,c.documentElement.offsetHeight);g.appendChild(l);var x,T,S=l.getBoundingClientRect(),M=S.bottom-A,N=l.scrollHeight&gt;l.clientHeight+1,F=s.getScrollInfo();0&lt;M&amp;&amp;(x=S.bottom-S.top,0&lt;v.top-(v.bottom-S.top)-x?(l.style.top=(w=v.top-x-b)+\&quot;px\&quot;,H=!1):A&lt;x&amp;&amp;(l.style.height=A-5+\&quot;px\&quot;,l.style.top=(w=v.bottom-S.top-b)+\&quot;px\&quot;,T=s.getCursor(),t.from.ch!=T.ch&amp;&amp;(v=s.cursorCoords(T),l.style.left=(y=v.left-C)+\&quot;px\&quot;,S=l.getBoundingClientRect())));var E,O=S.right-k;if(0&lt;O&amp;&amp;(S.right-S.left&gt;k&amp;&amp;(l.style.width=k-5+\&quot;px\&quot;,O-=S.right-S.left-k),l.style.left=(y=v.left-O-C)+\&quot;px\&quot
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/codemirror/addon/hint/show-hint.js&quot;,
&quot;module-type&quot;: &quot;codemirror&quot;
},
&quot;$:/plugins/tiddlywiki/codemirror/addon/hint/show-hint.css&quot;: {
&quot;text&quot;: &quot;.CodeMirror-hints {\n position: absolute;\n z-index: 10;\n overflow: hidden;\n list-style: none;\n\n margin: 0;\n padding: 2px;\n\n -webkit-box-shadow: 2px 3px 5px rgba(0,0,0,.2);\n -moz-box-shadow: 2px 3px 5px rgba(0,0,0,.2);\n box-shadow: 2px 3px 5px rgba(0,0,0,.2);\n border-radius: 3px;\n border: 1px solid silver;\n\n background: white;\n font-size: 90%;\n font-family: monospace;\n\n max-height: 20em;\n overflow-y: auto;\n}\n\n.CodeMirror-hint {\n margin: 0;\n padding: 0 4px;\n border-radius: 2px;\n white-space: pre;\n color: black;\n cursor: pointer;\n}\n\nli.CodeMirror-hint-active {\n background: #08f;\n color: white;\n}\n&quot;,
&quot;type&quot;: &quot;text/css&quot;,
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/codemirror/addon/hint/show-hint.css&quot;,
&quot;tags&quot;: &quot;[[$:/tags/Stylesheet]]&quot;
},
&quot;$:/plugins/tiddlywiki/codemirror/addon/hint/xml-hint.js&quot;: {
&quot;text&quot;: &quot;// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: https://codemirror.net/LICENSE\n!function(t){\&quot;object\&quot;==typeof exports&amp;&amp;\&quot;object\&quot;==typeof module?t(require(\&quot;../../lib/codemirror\&quot;)):\&quot;function\&quot;==typeof define&amp;&amp;define.amd?define([\&quot;../../lib/codemirror\&quot;],t):t(CodeMirror)}(function(H){\&quot;use strict\&quot;;var R=H.Pos;function z(t,e,r){return r?0&lt;=t.indexOf(e):0==t.lastIndexOf(e,0)}H.registerHelper(\&quot;hint\&quot;,\&quot;xml\&quot;,function(t,e){var r=e&amp;&amp;e.schemaInfo,n=e&amp;&amp;e.quoteChar||'\&quot;',s=e&amp;&amp;e.matchInMiddle;if(r){var i=t.getCursor(),o=t.getTokenAt(i);if(o.end&gt;i.ch&amp;&amp;(o.end=i.ch,o.string=o.string.slice(0,i.ch-o.start)),(p=H.innerMode(t.getMode(),o.state)).mode.xmlCurrentTag){var a,l,g,c=[],f=!1,h=/\\btag\\b/.test(o.type)&amp;&amp;!/&gt;$/.test(o.string),u=h&amp;&amp;/^\\w/.test(o.string);u?(M=t.getLine(i.line).slice(Math.max(0,o.start-2),o.start),(g=/&lt;\\/$/.test(M)?\&quot;close\&quot;:/&lt;$/.test(M)?\&quot;open\&quot;:null)&amp;&amp;(l=o.start-(\&quot;close\&quot;==g?2:1))):h&amp;&amp;\&quot;&lt;\&quot;==o.string?g=\&quot;open\&quot;:h&amp;&amp;\&quot;&lt;/\&quot;==o.string&amp;&amp;(g=\&quot;close\&quot;);var d=p.mode.xmlCurrentTag(p.state);if(!h&amp;&amp;!d||g){u&amp;&amp;(a=o.string),f=g;var p,m=p.mode.xmlCurrentContext?p.mode.xmlCurrentContext(p.state):[],v=(p=m.length&amp;&amp;m[m.length-1])&amp;&amp;r[p],y=p?v&amp;&amp;v.children:r[\&quot;!top\&quot;];if(y&amp;&amp;\&quot;close\&quot;!=g)for(var x=0;x&lt;y.length;++x)a&amp;&amp;!z(y[x],a,s)||c.push(\&quot;&lt;\&quot;+y[x]);else if(\&quot;close\&quot;!=g)for(var C in r)!r.hasOwnProperty(C)||\&quot;!top\&quot;==C||\&quot;!attrs\&quot;==C||a&amp;&amp;!z(C,a,s)||c.push(\&quot;&lt;\&quot;+C);p&amp;&amp;(!a||\&quot;close\&quot;==g&amp;&amp;z(p,a,s))&amp;&amp;c.push(\&quot;&lt;/\&quot;+p+\&quot;&gt;\&quot;)}else{var b=(v=d&amp;&amp;r[d.name])&amp;&amp;v.attrs,O=r[\&quot;!attrs\&quot;];if(!b&amp;&amp;!O)return;if(b){if(O){var w={};for(var A in O)O.hasOwnProperty(A)&amp;&amp;(w[A]=O[A]);for(var A in b)b.hasOwnProperty(A)&amp;&amp;(w[A]=b[A]);b=w}}else b=O;if(\&quot;string\&quot;==o.type||\&quot;=\&quot;==o.string){var M,P,$,I,T,j=(M=t.getRange(R(i.line,Math.max(0,i.ch-60)),R(i.line,\&quot;string\&quot;==o.type?o.start:o.end))).match(/([^\\s\\u00a0=&lt;&gt;\\\&quot;\\']+)=$/);if(!j||!b.hasOwnProperty(j[1])||!(P=b[j[1]]))return;\&quot;function\&quot;==typeof P&amp;&amp;(P=P.call(this,t)),\&quot;string\&quot;==o.type&amp;&amp;(a=o.string,$=0,/['\&quot;]/.test(o.string.charAt(0))&amp;&amp;(n=o.string.charAt(0),a=o.string.slice(1),$++),I=o.string.length,/['\&quot;]/.test(o.string.charAt(I-1))&amp;&amp;(n=o.string.charAt(I-1),a=o.string.substr($,I-2)),!$||(T=t.getLine(i.line)).length&gt;o.end&amp;&amp;T.charAt(o.end)==n&amp;&amp;o.end++,f=!0);var q=function(t){if(t)for(var e=0;e&lt;t.length;++e)a&amp;&amp;!z(t[e],a,s)||c.push(n+t[e]+n);return k()};return P&amp;&amp;P.then?P.then(q):q(P)}for(var L in\&quot;attribute\&quot;==o.type&amp;&amp;(a=o.string,f=!0),b)!b.hasOwnProperty(L)||a&amp;&amp;!z(L,a,s)||c.push(L)}return k()}}function k(){return{list:c,from:f?R(i.line,null==l?o.start:l):i,to:f?R(i.line,o.end):i}}})});\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/codemirror/addon/hint/xml-hint.js&quot;,
&quot;module-type&quot;: &quot;codemirror&quot;
},
&quot;$:/plugins/tiddlywiki/codemirror-autocomplete/readme&quot;: {
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/codemirror-autocomplete/readme&quot;,
&quot;text&quot;: &quot;This plugin enhances the [[CodeMirror|http://codemirror.net]] text editor with Autocompletion functionality. It needs the latest [[CodeMirror plugin|$:/plugins/tiddlywiki/codemirror]] to be installed\n\nIt adds Autocompletion for ''html'', ''javascript'' and ''xml'' and also for ''already present words'' within a text-editor instance\n\nThe ''Keyboard Shortcut'' for autocompletion is `Ctrl+Space`\n\n&quot;
}
}
}</pre>
</div>
<div dependents="" description="Close brackets for CodeMirror" list="readme" name="CodeMirror Close Brackets" parent-plugin="$:/plugins/tiddlywiki/codemirror" plugin-type="plugin" title="$:/plugins/tiddlywiki/codemirror-closebrackets" type="application/json" version="5.1.23">
<pre>{
&quot;tiddlers&quot;: {
&quot;$:/config/codemirror/autoCloseBrackets&quot;: {
&quot;title&quot;: &quot;$:/config/codemirror/autoCloseBrackets&quot;,
&quot;type&quot;: &quot;bool&quot;,
&quot;text&quot;: &quot;true&quot;
},
&quot;$:/config/codemirror/matchBrackets&quot;: {
&quot;title&quot;: &quot;$:/config/codemirror/matchBrackets&quot;,
&quot;type&quot;: &quot;bool&quot;,
&quot;text&quot;: &quot;true\n&quot;
},
&quot;$:/plugins/tiddlywiki/codemirror/addon/edit/closebrackets.js&quot;: {
&quot;text&quot;: &quot;// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: https://codemirror.net/LICENSE\n!function(e){\&quot;object\&quot;==typeof exports&amp;&amp;\&quot;object\&quot;==typeof module?e(require(\&quot;../../lib/codemirror\&quot;)):\&quot;function\&quot;==typeof define&amp;&amp;define.amd?define([\&quot;../../lib/codemirror\&quot;],e):e(CodeMirror)}(function(C){var r={pairs:\&quot;()[]{}''\\\&quot;\\\&quot;\&quot;,closeBefore:\&quot;)]}'\\\&quot;:;&gt;\&quot;,triples:\&quot;\&quot;,explode:\&quot;[]{}\&quot;},x=C.Pos;function P(e,t){return\&quot;pairs\&quot;==t&amp;&amp;\&quot;string\&quot;==typeof e?e:\&quot;object\&quot;==typeof e&amp;&amp;null!=e[t]?e[t]:r[t]}C.defineOption(\&quot;autoCloseBrackets\&quot;,!1,function(e,t,r){r&amp;&amp;r!=C.Init&amp;&amp;(e.removeKeyMap(i),e.state.closeBrackets=null),t&amp;&amp;(n(P(t,\&quot;pairs\&quot;)),e.state.closeBrackets=t,e.addKeyMap(i))});var i={Backspace:function(e){var t=k(e);if(!t||e.getOption(\&quot;disableInput\&quot;))return C.Pass;for(var r=P(t,\&quot;pairs\&quot;),n=e.listSelections(),i=0;i&lt;n.length;i++){if(!n[i].empty())return C.Pass;var a=s(e,n[i].head);if(!a||r.indexOf(a)%2!=0)return C.Pass}for(i=n.length-1;0&lt;=i;i--){var o=n[i].head;e.replaceRange(\&quot;\&quot;,x(o.line,o.ch-1),x(o.line,o.ch+1),\&quot;+delete\&quot;)}},Enter:function(n){var e=k(n),t=e&amp;&amp;P(e,\&quot;explode\&quot;);if(!t||n.getOption(\&quot;disableInput\&quot;))return C.Pass;for(var i=n.listSelections(),r=0;r&lt;i.length;r++){if(!i[r].empty())return C.Pass;var a=s(n,i[r].head);if(!a||t.indexOf(a)%2!=0)return C.Pass}n.operation(function(){var e=n.lineSeparator()||\&quot;\\n\&quot;;n.replaceSelection(e+e,null),n.execCommand(\&quot;goCharLeft\&quot;),i=n.listSelections();for(var t=0;t&lt;i.length;t++){var r=i[t].head.line;n.indentLine(r,null,!0),n.indentLine(r+1,null,!0)}})}};function n(e){for(var t=0;t&lt;e.length;t++){var r=e.charAt(t),n=\&quot;'\&quot;+r+\&quot;'\&quot;;i[n]||(i[n]=function(t){return function(e){return function(i,e){var t=k(i);if(!t||i.getOption(\&quot;disableInput\&quot;))return C.Pass;var r=P(t,\&quot;pairs\&quot;),n=r.indexOf(e);if(-1==n)return C.Pass;for(var a,o=P(t,\&quot;closeBefore\&quot;),s=P(t,\&quot;triples\&quot;),l=r.charAt(n+1)==e,c=i.listSelections(),f=n%2==0,h=0;h&lt;c.length;h++){var u,d=c[h],p=d.head,g=i.getRange(p,x(p.line,p.ch+1));if(f&amp;&amp;!d.empty())u=\&quot;surround\&quot;;else if(!l&amp;&amp;f||g!=e)if(l&amp;&amp;1&lt;p.ch&amp;&amp;0&lt;=s.indexOf(e)&amp;&amp;i.getRange(x(p.line,p.ch-2),p)==e+e){if(2&lt;p.ch&amp;&amp;/\\bstring/.test(i.getTokenTypeAt(x(p.line,p.ch-2))))return C.Pass;u=\&quot;addFour\&quot;}else if(l){var v=0==p.ch?\&quot; \&quot;:i.getRange(x(p.line,p.ch-1),p);if(C.isWordChar(g)||v==e||C.isWordChar(v))return C.Pass;u=\&quot;both\&quot;}else{if(!f||!(0===g.length||/\\s/.test(g)||-1&lt;o.indexOf(g)))return C.Pass;u=\&quot;both\&quot;}else u=l&amp;&amp;function(e,t){var r=e.getTokenAt(x(t.line,t.ch+1));return/\\bstring/.test(r.type)&amp;&amp;r.start==t.ch&amp;&amp;(0==t.ch||!/\\bstring/.test(e.getTokenTypeAt(t)))}(i,p)?\&quot;both\&quot;:0&lt;=s.indexOf(e)&amp;&amp;i.getRange(p,x(p.line,p.ch+3))==e+e+e?\&quot;skipThree\&quot;:\&quot;skip\&quot;;if(a){if(a!=u)return C.Pass}else a=u}var m=n%2?r.charAt(n-1):e,b=n%2?e:r.charAt(n+1);i.operation(function(){if(\&quot;skip\&quot;==a)i.execCommand(\&quot;goCharRight\&quot;);else if(\&quot;skipThree\&quot;==a)for(var e=0;e&lt;3;e++)i.execCommand(\&quot;goCharRight\&quot;);else if(\&quot;surround\&quot;==a){for(var t=i.getSelections(),e=0;e&lt;t.length;e++)t[e]=m+t[e]+b;i.replaceSelections(t,\&quot;around\&quot;),t=i.listSelections().slice();for(e=0;e&lt;t.length;e++)t[e]=(r=t[e],n=0&lt;C.cmpPos(r.anchor,r.head),{anchor:new x(r.anchor.line,r.anchor.ch+(n?-1:1)),head:new x(r.head.line,r.head.ch+(n?1:-1))});i.setSelections(t)}else\&quot;both\&quot;==a?(i.replaceSelection(m+b,null),i.triggerElectric(m+b),i.execCommand(\&quot;goCharLeft\&quot;)):\&quot;addFour\&quot;==a&amp;&amp;(i.replaceSelection(m+m+m+m,\&quot;before
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/codemirror/addon/edit/closebrackets.js&quot;,
&quot;module-type&quot;: &quot;codemirror&quot;
},
&quot;$:/plugins/tiddlywiki/codemirror/addon/edit/matchbrackets.js&quot;: {
&quot;text&quot;: &quot;// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: https://codemirror.net/LICENSE\n!function(t){\&quot;object\&quot;==typeof exports&amp;&amp;\&quot;object\&quot;==typeof module?t(require(\&quot;../../lib/codemirror\&quot;)):\&quot;function\&quot;==typeof define&amp;&amp;define.amd?define([\&quot;../../lib/codemirror\&quot;],t):t(CodeMirror)}(function(i){var h=/MSIE \\d/.test(navigator.userAgent)&amp;&amp;(null==document.documentMode||document.documentMode&lt;8),k=i.Pos,p={\&quot;(\&quot;:\&quot;)&gt;\&quot;,\&quot;)\&quot;:\&quot;(&lt;\&quot;,\&quot;[\&quot;:\&quot;]&gt;\&quot;,\&quot;]\&quot;:\&quot;[&lt;\&quot;,\&quot;{\&quot;:\&quot;}&gt;\&quot;,\&quot;}\&quot;:\&quot;{&lt;\&quot;,\&quot;&lt;\&quot;:\&quot;&gt;&gt;\&quot;,\&quot;&gt;\&quot;:\&quot;&lt;&lt;\&quot;};function v(t){return t&amp;&amp;t.bracketRegex||/[(){}[\\]]/}function u(t,e,n){var r=t.getLineHandle(e.line),i=e.ch-1,c=n&amp;&amp;n.afterCursor;null==c&amp;&amp;(c=/(^| )cm-fat-cursor($| )/.test(t.getWrapperElement().className));var a=v(n),o=!c&amp;&amp;0&lt;=i&amp;&amp;a.test(r.text.charAt(i))&amp;&amp;p[r.text.charAt(i)]||a.test(r.text.charAt(i+1))&amp;&amp;p[r.text.charAt(++i)];if(!o)return null;var l=\&quot;&gt;\&quot;==o.charAt(1)?1:-1;if(n&amp;&amp;n.strict&amp;&amp;0&lt;l!=(i==e.ch))return null;var s=t.getTokenTypeAt(k(e.line,i+1)),h=f(t,k(e.line,i+(0&lt;l?1:0)),l,s||null,n);return null==h?null:{from:k(e.line,i),to:h&amp;&amp;h.pos,match:h&amp;&amp;h.ch==o.charAt(0),forward:0&lt;l}}function f(t,e,n,r,i){for(var c=i&amp;&amp;i.maxScanLineLength||1e4,a=i&amp;&amp;i.maxScanLines||1e3,o=[],l=v(i),s=0&lt;n?Math.min(e.line+a,t.lastLine()+1):Math.max(t.firstLine()-1,e.line-a),h=e.line;h!=s;h+=n){var u=t.getLine(h);if(u){var f=0&lt;n?0:u.length-1,m=0&lt;n?u.length:-1;if(!(u.length&gt;c))for(h==e.line&amp;&amp;(f=e.ch-(n&lt;0?1:0));f!=m;f+=n){var g=u.charAt(f);if(l.test(g)&amp;&amp;(void 0===r||t.getTokenTypeAt(k(h,f+1))==r)){var d=p[g];if(d&amp;&amp;\&quot;&gt;\&quot;==d.charAt(1)==0&lt;n)o.push(g);else{if(!o.length)return{pos:k(h,f),ch:g};o.pop()}}}}}return h-n!=(0&lt;n?t.lastLine():t.firstLine())&amp;&amp;null}function e(t,e,n){for(var r=t.state.matchBrackets.maxHighlightLineLength||1e3,i=[],c=t.listSelections(),a=0;a&lt;c.length;a++){var o,l=c[a].empty()&amp;&amp;u(t,c[a].head,n);l&amp;&amp;t.getLine(l.from.line).length&lt;=r&amp;&amp;(o=l.match?\&quot;CodeMirror-matchingbracket\&quot;:\&quot;CodeMirror-nonmatchingbracket\&quot;,i.push(t.markText(l.from,k(l.from.line,l.from.ch+1),{className:o})),l.to&amp;&amp;t.getLine(l.to.line).length&lt;=r&amp;&amp;i.push(t.markText(l.to,k(l.to.line,l.to.ch+1),{className:o})))}if(i.length){h&amp;&amp;t.state.focused&amp;&amp;t.focus();function s(){t.operation(function(){for(var t=0;t&lt;i.length;t++)i[t].clear()})}if(!e)return s;setTimeout(s,800)}}function c(t){t.operation(function(){t.state.matchBrackets.currentlyHighlighted&amp;&amp;(t.state.matchBrackets.currentlyHighlighted(),t.state.matchBrackets.currentlyHighlighted=null),t.state.matchBrackets.currentlyHighlighted=e(t,!1,t.state.matchBrackets)})}i.defineOption(\&quot;matchBrackets\&quot;,!1,function(t,e,n){function r(t){t.state.matchBrackets&amp;&amp;t.state.matchBrackets.currentlyHighlighted&amp;&amp;(t.state.matchBrackets.currentlyHighlighted(),t.state.matchBrackets.currentlyHighlighted=null)}n&amp;&amp;n!=i.Init&amp;&amp;(t.off(\&quot;cursorActivity\&quot;,c),t.off(\&quot;focus\&quot;,c),t.off(\&quot;blur\&quot;,r),r(t)),e&amp;&amp;(t.state.matchBrackets=\&quot;object\&quot;==typeof e?e:{},t.on(\&quot;cursorActivity\&quot;,c),t.on(\&quot;focus\&quot;,c),t.on(\&quot;blur\&quot;,r))}),i.defineExtension(\&quot;matchBrackets\&quot;,function(){e(this,!0)}),i.defineExtension(\&quot;findMatchingBracket\&quot;,function(t,e,n){return!n&amp;&amp;\&quot;boolean\&quot;!=typeof e||(e=n?(n.strict=e,n):e?{strict:!0}:null),u(this,t,e)}),i.defineExtension(\&quot;scanForBracket\&quot;,function(t,e,n,r){return f(this,t,e,n,r)})});\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/codemirror/addon/edit/matchbrackets.js&quot;,
&quot;module-type&quot;: &quot;codemirror&quot;
},
&quot;$:/plugins/tiddlywiki/codemirror-closebrackets/readme&quot;: {
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/codemirror-closebrackets/readme&quot;,
&quot;text&quot;: &quot;This plugin adds the ability to automatically insert the closing brackets when you type an opening bracket.\nAlso enables highlighting of matching brackets.\n\nIt needs the latest [[CodeMirror plugin|$:/plugins/tiddlywiki/codemirror]] to be installed\n\n&quot;
}
}
}</pre>
</div>
<div dependents="$:/plugins/tiddlywiki/codemirror-search-replace $:/plugins/tiddlywiki/codemirror-closebrackets" description="Keymap compatible with Vim for CodeMirror" list="readme" name="CodeMirror Keymap Vim" parent-plugin="$:/plugins/tiddlywiki/codemirror" plugin-type="plugin" title="$:/plugins/tiddlywiki/codemirror-keymap-vim" type="application/json" version="5.1.23">
<pre>{
&quot;tiddlers&quot;: {
&quot;$:/plugins/tiddlywiki/codemirror/keymaps/vim&quot;: {
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/codemirror/keymaps/vim&quot;,
&quot;module-type&quot;: &quot;codemirror-keymap&quot;,
&quot;text&quot;: &quot;vim\n&quot;
},
&quot;$:/plugins/tiddlywiki/codemirror/keymap/vim.js&quot;: {
&quot;text&quot;: &quot;// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: https://codemirror.net/LICENSE\n!function(e){\&quot;object\&quot;==typeof exports&amp;&amp;\&quot;object\&quot;==typeof module?e(require(\&quot;../lib/codemirror\&quot;),require(\&quot;../addon/search/searchcursor\&quot;),require(\&quot;../addon/dialog/dialog\&quot;),require(\&quot;../addon/edit/matchbrackets.js\&quot;)):\&quot;function\&quot;==typeof define&amp;&amp;define.amd?define([\&quot;../lib/codemirror\&quot;,\&quot;../addon/search/searchcursor\&quot;,\&quot;../addon/dialog/dialog\&quot;,\&quot;../addon/edit/matchbrackets\&quot;],e):e(CodeMirror)}(function(Ze){\&quot;use strict\&quot;;var Ge=[{keys:\&quot;&lt;Left&gt;\&quot;,type:\&quot;keyToKey\&quot;,toKeys:\&quot;h\&quot;},{keys:\&quot;&lt;Right&gt;\&quot;,type:\&quot;keyToKey\&quot;,toKeys:\&quot;l\&quot;},{keys:\&quot;&lt;Up&gt;\&quot;,type:\&quot;keyToKey\&quot;,toKeys:\&quot;k\&quot;},{keys:\&quot;&lt;Down&gt;\&quot;,type:\&quot;keyToKey\&quot;,toKeys:\&quot;j\&quot;},{keys:\&quot;&lt;Space&gt;\&quot;,type:\&quot;keyToKey\&quot;,toKeys:\&quot;l\&quot;},{keys:\&quot;&lt;BS&gt;\&quot;,type:\&quot;keyToKey\&quot;,toKeys:\&quot;h\&quot;,context:\&quot;normal\&quot;},{keys:\&quot;&lt;Del&gt;\&quot;,type:\&quot;keyToKey\&quot;,toKeys:\&quot;x\&quot;,context:\&quot;normal\&quot;},{keys:\&quot;&lt;C-Space&gt;\&quot;,type:\&quot;keyToKey\&quot;,toKeys:\&quot;W\&quot;},{keys:\&quot;&lt;C-BS&gt;\&quot;,type:\&quot;keyToKey\&quot;,toKeys:\&quot;B\&quot;,context:\&quot;normal\&quot;},{keys:\&quot;&lt;S-Space&gt;\&quot;,type:\&quot;keyToKey\&quot;,toKeys:\&quot;w\&quot;},{keys:\&quot;&lt;S-BS&gt;\&quot;,type:\&quot;keyToKey\&quot;,toKeys:\&quot;b\&quot;,context:\&quot;normal\&quot;},{keys:\&quot;&lt;C-n&gt;\&quot;,type:\&quot;keyToKey\&quot;,toKeys:\&quot;j\&quot;},{keys:\&quot;&lt;C-p&gt;\&quot;,type:\&quot;keyToKey\&quot;,toKeys:\&quot;k\&quot;},{keys:\&quot;&lt;C-[&gt;\&quot;,type:\&quot;keyToKey\&quot;,toKeys:\&quot;&lt;Esc&gt;\&quot;},{keys:\&quot;&lt;C-c&gt;\&quot;,type:\&quot;keyToKey\&quot;,toKeys:\&quot;&lt;Esc&gt;\&quot;},{keys:\&quot;&lt;C-[&gt;\&quot;,type:\&quot;keyToKey\&quot;,toKeys:\&quot;&lt;Esc&gt;\&quot;,context:\&quot;insert\&quot;},{keys:\&quot;&lt;C-c&gt;\&quot;,type:\&quot;keyToKey\&quot;,toKeys:\&quot;&lt;Esc&gt;\&quot;,context:\&quot;insert\&quot;},{keys:\&quot;s\&quot;,type:\&quot;keyToKey\&quot;,toKeys:\&quot;cl\&quot;,context:\&quot;normal\&quot;},{keys:\&quot;s\&quot;,type:\&quot;keyToKey\&quot;,toKeys:\&quot;c\&quot;,context:\&quot;visual\&quot;},{keys:\&quot;S\&quot;,type:\&quot;keyToKey\&quot;,toKeys:\&quot;cc\&quot;,context:\&quot;normal\&quot;},{keys:\&quot;S\&quot;,type:\&quot;keyToKey\&quot;,toKeys:\&quot;VdO\&quot;,context:\&quot;visual\&quot;},{keys:\&quot;&lt;Home&gt;\&quot;,type:\&quot;keyToKey\&quot;,toKeys:\&quot;0\&quot;},{keys:\&quot;&lt;End&gt;\&quot;,type:\&quot;keyToKey\&quot;,toKeys:\&quot;$\&quot;},{keys:\&quot;&lt;PageUp&gt;\&quot;,type:\&quot;keyToKey\&quot;,toKeys:\&quot;&lt;C-b&gt;\&quot;},{keys:\&quot;&lt;PageDown&gt;\&quot;,type:\&quot;keyToKey\&quot;,toKeys:\&quot;&lt;C-f&gt;\&quot;},{keys:\&quot;&lt;CR&gt;\&quot;,type:\&quot;keyToKey\&quot;,toKeys:\&quot;j^\&quot;,context:\&quot;normal\&quot;},{keys:\&quot;&lt;Ins&gt;\&quot;,type:\&quot;action\&quot;,action:\&quot;toggleOverwrite\&quot;,context:\&quot;insert\&quot;},{keys:\&quot;H\&quot;,type:\&quot;motion\&quot;,motion:\&quot;moveToTopLine\&quot;,motionArgs:{linewise:!0,toJumplist:!0}},{keys:\&quot;M\&quot;,type:\&quot;motion\&quot;,motion:\&quot;moveToMiddleLine\&quot;,motionArgs:{linewise:!0,toJumplist:!0}},{keys:\&quot;L\&quot;,type:\&quot;motion\&quot;,motion:\&quot;moveToBottomLine\&quot;,motionArgs:{linewise:!0,toJumplist:!0}},{keys:\&quot;h\&quot;,type:\&quot;motion\&quot;,motion:\&quot;moveByCharacters\&quot;,motionArgs:{forward:!1}},{keys:\&quot;l\&quot;,type:\&quot;motion\&quot;,motion:\&quot;moveByCharacters\&quot;,motionArgs:{forward:!0}},{keys:\&quot;j\&quot;,type:\&quot;motion\&quot;,motion:\&quot;moveByLines\&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/codemirror/keymap/vim.js&quot;,
&quot;module-type&quot;: &quot;codemirror&quot;
},
&quot;$:/plugins/tiddlywiki/codemirror-keymap-vim/readme&quot;: {
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/codemirror-keymap-vim/readme&quot;,
&quot;text&quot;: &quot;This plugin adds a ''Keymap'' with some of the most important ''Vim'' keyboard shortcuts\n\nFor information about available ''keyboard shortcuts'' see the [ext[CodeMirror vim demo|https://codemirror.net/demo/vim.html]]\n&quot;
}
}
}</pre>
</div>
<div dependents="" description="Search and replace for CodeMirror" list="readme" name="CodeMirror Search and Replace" parent-plugin="$:/plugins/tiddlywiki/codemirror" plugin-type="plugin" title="$:/plugins/tiddlywiki/codemirror-search-replace" type="application/json" version="5.1.23">
<pre>{
&quot;tiddlers&quot;: {
&quot;$:/plugins/tiddlywiki/codemirror/addon/search/search.js&quot;: {
&quot;text&quot;: &quot;// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: https://codemirror.net/LICENSE\n!function(e){\&quot;object\&quot;==typeof exports&amp;&amp;\&quot;object\&quot;==typeof module?e(require(\&quot;../../lib/codemirror\&quot;),require(\&quot;./searchcursor\&quot;),require(\&quot;../dialog/dialog\&quot;)):\&quot;function\&quot;==typeof define&amp;&amp;define.amd?define([\&quot;../../lib/codemirror\&quot;,\&quot;./searchcursor\&quot;,\&quot;../dialog/dialog\&quot;],e):e(CodeMirror)}(function(d){\&quot;use strict\&quot;;function o(){this.posFrom=this.posTo=this.lastQuery=this.query=null,this.overlay=null}function m(e){return e.state.search||(e.state.search=new o)}function a(e){return\&quot;string\&quot;==typeof e&amp;&amp;e==e.toLowerCase()}function y(e,o,n){return e.getSearchCursor(o,n,{caseFold:a(o),multiline:!0})}function h(e,o,n,r,t){e.openDialog?e.openDialog(o,t,{value:r,selectValueOnOpen:!0,bottom:e.options.search.bottom}):t(prompt(n,r))}function r(e){return e.replace(/\\\\([nrt\\\\])/g,function(e,o){return\&quot;n\&quot;==o?\&quot;\\n\&quot;:\&quot;r\&quot;==o?\&quot;\\r\&quot;:\&quot;t\&quot;==o?\&quot;\\t\&quot;:\&quot;\\\\\&quot;==o?\&quot;\\\\\&quot;:e})}function s(e){var o=e.match(/^\\/(.*)\\/([a-z]*)$/);if(o)try{e=new RegExp(o[1],-1==o[2].indexOf(\&quot;i\&quot;)?\&quot;\&quot;:\&quot;i\&quot;)}catch(e){}else e=r(e);return(\&quot;string\&quot;==typeof e?\&quot;\&quot;==e:e.test(\&quot;\&quot;))&amp;&amp;(e=/x^/),e}function g(e,o,n){var r,t;o.queryText=n,o.query=s(n),e.removeOverlay(o.overlay,a(o.query)),o.overlay=(r=o.query,t=a(o.query),\&quot;string\&quot;==typeof r?r=new RegExp(r.replace(/[\\-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]/g,\&quot;\\\\$&amp;\&quot;),t?\&quot;gi\&quot;:\&quot;g\&quot;):r.global||(r=new RegExp(r.source,r.ignoreCase?\&quot;gi\&quot;:\&quot;g\&quot;)),{token:function(e){r.lastIndex=e.pos;var o=r.exec(e.string);if(o&amp;&amp;o.index==e.pos)return e.pos+=o[0].length||1,\&quot;searching\&quot;;o?e.pos=o.index:e.skipToEnd()}}),e.addOverlay(o.overlay),e.showMatchesOnScrollbar&amp;&amp;(o.annotate&amp;&amp;(o.annotate.clear(),o.annotate=null),o.annotate=e.showMatchesOnScrollbar(o.query,a(o.query)))}function n(a,o,e,n){var r=m(a);if(r.query)return x(a,o);var t,s,i,c,l,u,p,f=a.getSelection()||r.lastQuery;f instanceof RegExp&amp;&amp;\&quot;x^\&quot;==f.source&amp;&amp;(f=null),e&amp;&amp;a.openDialog?(t=null,s=function(e,o){d.e_stop(o),e&amp;&amp;(e!=r.queryText&amp;&amp;(g(a,r,e),r.posFrom=r.posTo=a.getCursor()),t&amp;&amp;(t.style.opacity=1),x(a,o.shiftKey,function(e,o){var n;o.line&lt;3&amp;&amp;document.querySelector&amp;&amp;(n=a.display.wrapper.querySelector(\&quot;.CodeMirror-dialog\&quot;))&amp;&amp;n.getBoundingClientRect().bottom-4&gt;a.cursorCoords(o,\&quot;window\&quot;).top&amp;&amp;((t=n).style.opacity=.4)}))},c=b(i=a),l=f,u=s,p=function(e,o){var n=d.keyName(e),r=a.getOption(\&quot;extraKeys\&quot;),t=r&amp;&amp;r[n]||d.keyMap[a.getOption(\&quot;keyMap\&quot;)][n];\&quot;findNext\&quot;==t||\&quot;findPrev\&quot;==t||\&quot;findPersistentNext\&quot;==t||\&quot;findPersistentPrev\&quot;==t?(d.e_stop(e),g(a,m(a),o),a.execCommand(t)):\&quot;find\&quot;!=t&amp;&amp;\&quot;findPersistent\&quot;!=t||(d.e_stop(e),s(o,e))},i.openDialog(c,u,{value:l,selectValueOnOpen:!0,closeOnEnter:!1,onClose:function(){v(i)},onKeyDown:p,bottom:i.options.search.bottom}),n&amp;&amp;f&amp;&amp;(g(a,r,f),x(a,o))):h(a,b(a),\&quot;Search for:\&quot;,f,function(e){e&amp;&amp;!r.query&amp;&amp;a.operation(function(){g(a,r,e),r.posFrom=r.posTo=a.getCursor(),x(a,o)})})}function x(n,r,t){n.operation(function(){var e=m(n),o=y(n,e.query,r?e.posFrom:e.posTo);(o.find(r)||(o=y(n,e.query,r?d.Pos(n.lastLine()):d.Pos(n.firstLine(),0))).find(r))&amp;&amp;(n.setSelection(o.from(),o.to()),n.scrollIntoView({from:o.from(),to:o.to()},20),e.posFrom=o.from(),e.posTo=o.to(),t&amp;&amp;t(o.from(),o.to()))})}function v(o){o.operation(function(){var e=m(o);e.lastQuery=e.query,e.query&amp;&amp;(e.query=e.queryText=null,o.removeOverlay(e.overlay),e.
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/codemirror/addon/search/search.js&quot;,
&quot;module-type&quot;: &quot;codemirror&quot;
},
&quot;$:/plugins/tiddlywiki/codemirror/addon/search/jump-to-line.js&quot;: {
&quot;text&quot;: &quot;// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: https://codemirror.net/LICENSE\n!function(e){\&quot;object\&quot;==typeof exports&amp;&amp;\&quot;object\&quot;==typeof module?e(require(\&quot;../../lib/codemirror\&quot;),require(\&quot;../dialog/dialog\&quot;)):\&quot;function\&quot;==typeof define&amp;&amp;define.amd?define([\&quot;../../lib/codemirror\&quot;,\&quot;../dialog/dialog\&quot;],e):e(CodeMirror)}(function(e){\&quot;use strict\&quot;;function u(e,o){var r=Number(o);return/^[-+]/.test(o)?e.getCursor().line+r:r-1}e.defineOption(\&quot;search\&quot;,{bottom:!1}),e.commands.jumpToLine=function(t){var e,o,r,s,i,n,l=t.getCursor();o=(n=e=t).phrase(\&quot;Jump to line:\&quot;)+' &lt;input type=\&quot;text\&quot; style=\&quot;width: 10em\&quot; class=\&quot;CodeMirror-search-field\&quot;/&gt; &lt;span style=\&quot;color: #888\&quot; class=\&quot;CodeMirror-search-hint\&quot;&gt;'+n.phrase(\&quot;(Use line:column or scroll% syntax)\&quot;)+\&quot;&lt;/span&gt;\&quot;,r=t.phrase(\&quot;Jump to line:\&quot;),s=l.line+1+\&quot;:\&quot;+l.ch,i=function(e){var o,r;e&amp;&amp;((o=/^\\s*([\\+\\-]?\\d+)\\s*\\:\\s*(\\d+)\\s*$/.exec(e))?t.setCursor(u(t,o[1]),Number(o[2])):(o=/^\\s*([\\+\\-]?\\d+(\\.\\d+)?)\\%\\s*/.exec(e))?(r=Math.round(t.lineCount()*Number(o[1])/100),/^[-+]/.test(o[1])&amp;&amp;(r=l.line+r+1),t.setCursor(r-1,l.ch)):(o=/^\\s*\\:?\\s*([\\+\\-]?\\d+)\\s*/.exec(e))&amp;&amp;t.setCursor(u(t,o[1]),l.ch))},e.openDialog?e.openDialog(o,i,{value:s,selectValueOnOpen:!0,bottom:e.options.search.bottom}):i(prompt(r,s))},e.keyMap.default[\&quot;Alt-G\&quot;]=\&quot;jumpToLine\&quot;});\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/codemirror/addon/search/jump-to-line.js&quot;,
&quot;module-type&quot;: &quot;codemirror&quot;
},
&quot;$:/plugins/tiddlywiki/codemirror/addon/search/searchcursor.js&quot;: {
&quot;text&quot;: &quot;// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: https://codemirror.net/LICENSE\n!function(t){\&quot;object\&quot;==typeof exports&amp;&amp;\&quot;object\&quot;==typeof module?t(require(\&quot;../../lib/codemirror\&quot;)):\&quot;function\&quot;==typeof define&amp;&amp;define.amd?define([\&quot;../../lib/codemirror\&quot;],t):t(CodeMirror)}(function(i){\&quot;use strict\&quot;;var p,x,L=i.Pos;function d(t,e){for(var n,r,i=null!=(r=(n=t).flags)?r:(n.ignoreCase?\&quot;i\&quot;:\&quot;\&quot;)+(n.global?\&quot;g\&quot;:\&quot;\&quot;)+(n.multiline?\&quot;m\&quot;:\&quot;\&quot;),o=i,l=0;l&lt;e.length;l++)-1==o.indexOf(e.charAt(l))&amp;&amp;(o+=e.charAt(l));return i==o?t:new RegExp(t.source,o)}function v(t){return/\\\\s|\\\\n|\\n|\\\\W|\\\\D|\\[\\^/.test(t.source)}function m(t,e,n){e=d(e,\&quot;g\&quot;);for(var r=n.line,i=n.ch,o=t.lastLine();r&lt;=o;r++,i=0){e.lastIndex=i;var l=t.getLine(r),h=e.exec(l);if(h)return{from:L(r,h.index),to:L(r,h.index+h[0].length),match:h}}}function C(t,e,n){for(var r,i=0;i&lt;=t.length;){e.lastIndex=i;var o=e.exec(t);if(!o)break;var l=o.index+o[0].length;if(l&gt;t.length-n)break;(!r||l&gt;r.index+r[0].length)&amp;&amp;(r=o),i=o.index+1}return r}function O(t,e,n){e=d(e,\&quot;g\&quot;);for(var r=n.line,i=n.ch,o=t.firstLine();o&lt;=r;r--,i=-1){var l=t.getLine(r),h=C(l,e,i&lt;0?0:l.length-i);if(h)return{from:L(r,h.index),to:L(r,h.index+h[0].length),match:h}}}function b(t,e,n,r){if(t.length==e.length)return n;for(var i=0,o=n+Math.max(0,t.length-e.length);;){if(i==o)return i;var l=i+o&gt;&gt;1,h=r(t.slice(0,l)).length;if(h==n)return l;n&lt;h?o=l:i=1+l}}function r(n,r,t,e){var i;this.atOccurrence=!1,this.doc=n,t=t?n.clipPos(t):L(0,0),this.pos={from:t,to:t},\&quot;object\&quot;==typeof e?i=e.caseFold:(i=e,e=null),\&quot;string\&quot;==typeof r?(null==i&amp;&amp;(i=!1),this.matches=function(t,e){return(t?function(t,e,n,r){if(!e.length)return null;var i=r?p:x,o=i(e).split(/\\r|\\n\\r?/);t:for(var l=n.line,h=n.ch,s=t.firstLine()-1+o.length;s&lt;=l;l--,h=-1){var c=t.getLine(l);-1&lt;h&amp;&amp;(c=c.slice(0,h));var f=i(c);if(1==o.length){var u=f.lastIndexOf(o[0]);if(-1==u)continue t;return{from:L(l,b(c,f,u,i)),to:L(l,b(c,f,u+o[0].length,i))}}var g=o[o.length-1];if(f.slice(0,g.length)==g){for(var a=1,n=l-o.length+1;a&lt;o.length-1;a++)if(i(t.getLine(n+a))!=o[a])continue t;var m=t.getLine(l+1-o.length),d=i(m);if(d.slice(d.length-o[0].length)==o[0])return{from:L(l+1-o.length,b(m,d,m.length-o[0].length,i)),to:L(l,b(c,f,g.length,i))}}}}:function(t,e,n,r){if(!e.length)return null;var i=r?p:x,o=i(e).split(/\\r|\\n\\r?/);t:for(var l=n.line,h=n.ch,s=t.lastLine()+1-o.length;l&lt;=s;l++,h=0){var c=t.getLine(l).slice(h),f=i(c);if(1==o.length){var u=f.indexOf(o[0]);if(-1==u)continue t;n=b(c,f,u,i)+h;return{from:L(l,b(c,f,u,i)+h),to:L(l,b(c,f,u+o[0].length,i)+h)}}var g=f.length-o[0].length;if(f.slice(g)==o[0]){for(var a=1;a&lt;o.length-1;a++)if(i(t.getLine(l+a))!=o[a])continue t;var m=t.getLine(l+o.length-1),d=i(m),v=o[o.length-1];if(d.slice(0,v.length)==v)return{from:L(l,b(c,f,g,i)+h),to:L(l+o.length-1,b(m,d,v.length,i))}}}})(n,r,e,i)}):(r=d(r,\&quot;gm\&quot;),e&amp;&amp;!1===e.multiline?this.matches=function(t,e){return(t?O:m)(n,r,e)}:this.matches=function(t,e){return(t?function(t,e,n){if(!v(e))return O(t,e,n);e=d(e,\&quot;gm\&quot;);for(var r=1,i=t.getLine(n.line).length-n.ch,o=n.line,l=t.firstLine();l&lt;=o;){for(var h=0;h&lt;r&amp;&amp;l&lt;=o;h++)var s=t.getLine(o--),c=null==c?s:s+\&quot;\\n\&quot;+c;r*=2;var f=C(c,e,i);if(f){var u=c.slice(0,f.index).split(\&quot;\\n\&quot;),g=f[0].split(\&quot;\\n\&quot;),a=o+u.length,m=u[u.length-1].length;return{from:L(a,m),to:L(a+g.length-1,1==g.length?m+g[0].length:g[g.length-1].length),match:f}}}}:function(t,e,n){if(!v(e))return m(t,e,n);e=d(e,\&quot;gm\&quot;);for(var r=1,i=n.line,o=t.lastLine();i&lt;=o;){for(var l=0;l&lt;r&amp;&amp;!(o&lt;i);l++)var h=t.getLine(i++),s=null==s?h:s+\&quot;\\n\&quot;+h;r*=2,e.lastIndex=n.ch;var c=e.exec(s);if(c){var f=s.slice(0,c.index).split(\&quot;\\n\&qu
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/codemirror/addon/search/searchcursor.js&quot;,
&quot;module-type&quot;: &quot;codemirror&quot;
},
&quot;$:/plugins/tiddlywiki/codemirror-search-replace/readme&quot;: {
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/codemirror-search-replace/readme&quot;,
&quot;text&quot;: &quot;This plugin enhances the [[CodeMirror|http://codemirror.net]] text editor with Search and Replace functionality. It needs the latest [[CodeMirror plugin|$:/plugins/tiddlywiki/codemirror]] to be installed\n\nIt adds these Keyboard Shortcuts to ~CodeMirror:\n\n|Shortcut |Function |h\n|Ctrl-F / Cmd-F |Start searching |\n|Ctrl-G / Cmd-G / Shift-F3 |Find next |\n|Shift-Ctrl-G / Shift-Cmd-G / F3 |Find previous |\n|Shift-Ctrl-F / Cmd-Option-F |Replace |\n|Shift-Ctrl-R / Shift-Cmd-Option-F |Replace all |\n|Alt-F |Persistent search (dialog doesn't autoclose, enter to find next, Shift-Enter to find previous) |\n|Alt-G |Jump to line |\n\n&quot;
}
}
}</pre>
</div>
<div created="20200504175204795" creator="soren" modified="20210827213549101" modifier="soren" module-type="codemirrorDISABLED" tags="$:/tags/DisabledPlugin" title="$:/plugins/tiddlywiki/codemirror/addon/hint/anyword-hint.js2" type="application/javascript">
<pre>// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: https://codemirror.net/LICENSE
(function(mod) {
if (typeof exports == &quot;object&quot; &amp;&amp; typeof module == &quot;object&quot;) // CommonJS
mod(require(&quot;../../lib/codemirror&quot;));
else if (typeof define == &quot;function&quot; &amp;&amp; define.amd) // AMD
define([&quot;../../lib/codemirror&quot;], mod);
else // Plain browser env
mod(CodeMirror);
})(function(CodeMirror) {
&quot;use strict&quot;;
CodeMirror.registerHelper('hint', 'anyword', function(editor) {
var cur = editor.getCursor();
var curLine = editor.getLine(cur.line);
var start = cur.ch;
var end = start;
var tiddlers = $tw.wiki.filterTiddlers(&quot;[all[tiddlers]!is[system]]&quot;);
while (end &lt; curLine.length &amp;&amp; /[\w$]/.test(curLine.charAt(end))) ++end;
while (start &amp;&amp; /[\w$]/.test(curLine.charAt(start - 1))) --start;
var curWord = start !== end &amp;&amp; curLine.slice(start, end);
var regex = new RegExp('^' + curWord, 'i');
return {
list: (!curWord ? [] : tiddlers.filter(function(item) {
return item.match(regex);
})).sort(),
from: CodeMirror.Pos(cur.line, start),
to: CodeMirror.Pos(cur.line, end)
}
})
});</pre>
</div>
<div created="20200815103937889" modified="20210329230405134" module-type="codemirror-theme" name="cmplus" tags="$:/tags/Stylesheet" title="$:/plugins/tiddlywiki/codemirror/mode/tw5/tw5.css" type="text/vnd.tiddlywiki">
<pre>```
/*
Tiddlywiki Metadata
----
Name: $:/plugins/tiddlywiki/codemirror/mode/tw5/tw5.css
Additional Fields -
module-type: codemirror-theme
name: cmplus
*/
```
.cm-s-cmplus{
line-height: 1.5em;
background: &lt;&lt;colour tiddler-editor-background&gt;&gt; !important;
color: &lt;&lt;colour foreground&gt;&gt; !important;
}
.cm-s-cmplus .CodeMirror-lines {
padding: 8px 0;
}
.cm-s-cmplus .CodeMirror-linenumber {
color: &lt;&lt;cmcolour linenumber&gt;&gt;;
}
.cm-s-cmplus .CodeMirror-gutters {
background-color: &lt;&lt;colour page-background&gt;&gt;;
padding-right: 10px;
z-index: 3;
border: none;
}
.cm-s-cmplus div.CodeMirror-cursor {
border-left: 3px solid &lt;&lt;colour foreground&gt;&gt;;
}
.cm-s-cmplus .CodeMirror-activeline-background {
background: &lt;&lt;colour tiddler-editor-fields-even&gt;&gt;;
}
.cm-s-cmplus .CodeMirror-selected {
background: &lt;&lt;cmcolour selected&gt;&gt; !important;
}
.cm-s-cmplus .cm-comment {
font-style: italic;
color: &lt;&lt;colour muted-foreground&gt;&gt;;
}
.cm-s-cmplus .CodeMirror-matchingbracket {
text-decoration: underline;
color: &lt;&lt;cmcolour matching-bracket&gt;&gt; !important;
}
.cm-s-cmplus .cm-strikethrough {
text-decoration-color: &lt;&lt;colour very-muted-foreground&gt;&gt;;
}
.cm-s-cmplus .cm-underlined {
text-decoration-line: underline;
text-decoration-style: solid;
text-decoration-color: &lt;&lt;colour very-muted-foreground&gt;&gt;;
}
.cm-s-cmplus .cm-superscript {
vertical-align: super;
font-size: 0.7em;
line-height: 0.1em;
}
.cm-s-cmplus .cm-subscript {
font-size: 0.7em;
line-height: 0.5;
}
.cm-s-cmplus .cm-macro {
color: &lt;&lt;cmcolour macro&gt;&gt;;
font-family: {{$:/themes/tiddlywiki/vanilla/settings/codefontfamily}};
}
.cm-s-cmplus .cm-keyword {
color: &lt;&lt;cmcolour keyword&gt;&gt;;
font-family: {{$:/themes/tiddlywiki/vanilla/settings/codefontfamily}};
font-weight: 600;
}
.cm-s-cmplus .cm-quote {
font-style: italic;
padding-left: 0.6em;
border-left: &lt;&lt;cmcolour quote&gt;&gt; solid 0.2em;
}
.cm-s-cmplus .cm-hr {
color: &lt;&lt;cmcolour hr&gt;&gt;;
}
.cm-s-cmplus .cm-h1 {
color: &lt;&lt;cmcolour h1&gt;&gt;;
font-weight: 700;
font-size: 1.383em;
line-height: 1.802em;
}
.cm-s-cmplus .cm-h2 {
color: &lt;&lt;cmcolour h2&gt;&gt;;
font-weight: 600;
font-size: 1.296em;
line-height: 1.602em;
}
.cm-s-cmplus .cm-h3 {
color: &lt;&lt;cmcolour h3&gt;&gt;;
font-weight: 500;
font-size: 1.215em;
line-height: 1.424em;
}
.cm-s-cmplus .cm-h4 {
color: &lt;&lt;cmcolour h4&gt;&gt;;
font-weight: 400;
font-size: 1.138em;
line-height: 1.266em;
}
.cm-s-cmplus .cm-h5 {
color: &lt;&lt;cmcolour h5&gt;&gt;;
font-weight: 400;
font-size: 1.067em;
line-height: 1.125em;
}
.cm-s-cmplus .cm-h6 {
color: &lt;&lt;cmcolour h6&gt;&gt;;
font-weight: 400;
}
.cm-s-cmplus .cm-link {
color: &lt;&lt;cmcolour link&gt;&gt;;
text-decoration: none;
font-weight: 600;
}
.cm-s-cmplus .cm-internallink {
color: &lt;&lt;cmcolour internallink&gt;&gt;;
font-weight:600;
}
.cm-s-cmplus .cm-externallink {
color: &lt;&lt;cmcolour externallink&gt;&gt;;
text-decoration: underline;
}
.cm-s-cmplus .cm-transclude {
color: &lt;&lt;cmcolour transclude&gt;&gt;;
}
.cm-s-cmplus .cm-pre {
color: &lt;&lt;cmcolour pre&gt;&gt;;
font-family: {{$:/plugins/adithyab/cmplus/settings##monospace-font}};
}
.cm-s-cmplus .cm-monospace {
color: &lt;&lt;cmcolour monospace&gt;&gt;;
font-family: {{$:/plugins/adithyab/cmplus/settings##monospace-font}};
}
.cm-s-cmplus .cm-list1 {
color: &lt;&lt;cmcolour list1&gt;&gt;;
padding-left: 1em;
padding-right: 0.5em;
font-family: {{$:/themes/tiddlywiki/vanilla/settings/codefontfamily}};
}
.cm-s-cmplus .cm-list2 {
color: &lt;&lt;cmcolour list2&gt;&gt;;
padding-left: 2em;
padding-right: 0.5em;
font-family: {{$:/themes/tiddlywiki/vanilla/settings/codefontfamily}};
}
.cm-s-cmplus .cm-list3 {
color: &lt;&lt;cmcolour list3&gt;&gt;;
padding-left: 3em;
padding-right: 0.5em;
font-family: {{$:/themes/tiddlywiki/vanilla/settings/codefontfamily}};
}
.cm-s-cmplus .cm-list4 {
color: &lt;&lt;cmcolour list4&gt;&gt;;
padding-left: 4em;
padding-right: 0.5em;
font-family: {{$:/themes/tiddlywiki/vanilla/settings/codefontfamily}};
}
.cm-s-cmplus .cm-list5 {
color: &lt;&lt;cmcolour list5&gt;&gt;;
padding-left: 5em;
padding-right: 0.5em;
font-family: {{$:/themes/tiddlywiki/vanilla/settings/codefontfamily}};
}</pre>
</div>
<div created="20200815103937889" creator="soren" modified="20210827213558174" modifier="soren" module-type="codemirror-theme" name="tw5plus" tags="$:/tags/DisabledPlugin" title="$:/plugins/tiddlywiki/codemirror/mode/tw5/tw5.css2" type="text/vnd.tiddlywiki">
<pre>```
/*
Tiddlywiki Metadata
----
Name: $:/plugins/tiddlywiki/codemirror/mode/tw5/tw5.css
Additional Fields -
module-type: codemirror-theme
name: tw5plus
*/
```
.cm-s-tw5plus {
line-height: 1.5em;
background: &lt;&lt;colour tiddler-editor-background&gt;&gt;;
color: &lt;&lt;colour foreground&gt;&gt;;
}
.cm-s-tw5plus .CodeMirror-lines {
padding: 8px 0;
}
.cm-s-tw5plus .CodeMirror-linenumber {
color: #586E75;
}
.cm-s-tw5plus .CodeMirror-gutters {
background-color: &lt;&lt;colour page-background&gt;&gt;;
padding-right: 10px;
z-index: 3;
border: none;
}
.cm-s-tw5plus div.CodeMirror-cursor {
border-left: 3px solid &lt;&lt;colour foreground&gt;&gt;;
}
.cm-s-tw5plus .CodeMirror-activeline-background {
background: &lt;&lt;colour tiddler-editor-fields-odd&gt;&gt;;
}
.cm-s-tw5plus .CodeMirror-selected {
background: &lt;&lt;colour very-muted-foreground&gt;&gt;;
}
.cm-s-tw5plus .cm-comment {
font-style: italic;
color: &lt;&lt;colour muted-foreground&gt;&gt;;
}
.cm-s-tw5plus .CodeMirror-matchingbracket {
text-decoration: underline;
color: #d33682 !important;
}
.cm-s-tw5plus .cm-strikethrough {
text-decoration-color: &lt;&lt;colour very-muted-foreground&gt;&gt;;
}
.cm-s-tw5plus .cm-underlined {
text-decoration-line: underline;
text-decoration-style: solid;
text-decoration-color: &lt;&lt;colour very-muted-foreground&gt;&gt;;
}
.cm-s-tw5plus .cm-superscript {
vertical-align: super;
font-size: 0.7em;
line-height: 0.1em;
}
.cm-s-tw5plus .cm-subscript {
font-size: 0.7em;
line-height: 0.5;
}
.cm-s-tw5plus .cm-string {
color: #586E75;
}
.cm-s-tw5plus .cm-number {
color: #268BD2;
}
.cm-s-tw5plus .cm-macro {
color: #cb4b16;
font-family: {{$:/themes/tiddlywiki/vanilla/settings/codefontfamily}};
}
.cm-s-tw5plus .cm-keyword {
color: #859900;
font-family: {{$:/themes/tiddlywiki/vanilla/settings/codefontfamily}};
font-weight: 600;
}
.cm-s-tw5plus .cm-variable {
color: #268BD2;
}
.cm-s-tw5plus .cm-variable-2 {
color: #268BD2;
}
.cm-s-tw5plus .cm-property {
color: #268BD2;
}
.cm-s-tw5plus .cm-atom {
color: #268BD2;
}
.cm-s-tw5plus .cm-operator {
color: #859900;
}
.cm-s-tw5plus .cm-quote {
font-style: italic;
padding-left: 0.6em;
border-left: #d33682 solid 0.2em;
}
.cm-s-tw5plus .cm-hr {
color: #268bd2;
}
.cm-s-tw5plus .cm-h1 {
color: #d33682;
font-weight: 700;
font-size: 1.383em;
line-height: 1.802em;
}
.cm-s-tw5plus .cm-h2 {
color: #d33682;
font-weight: 600;
font-size: 1.296em;
line-height: 1.602em;
}
.cm-s-tw5plus .cm-h3 {
color: #d33682;
font-weight: 500;
font-size: 1.215em;
line-height: 1.424em;
}
.cm-s-tw5plus .cm-h4 {
color: #d33682;
font-weight: 400;
font-size: 1.138em;
line-height: 1.266em;
}
.cm-s-tw5plus .cm-h5 {
color: #d33682;
font-weight: 400;
font-size: 1.067em;
line-height: 1.125em;
}
.cm-s-tw5plus .cm-h6 {
color: #d33682;
font-weight: 400;
}
.cm-s-tw5plus .cm-link {
color: #2aa198;
text-decoration: none;
}
.cm-s-tw5plus .cm-internallink {
color: #268bd2;
font-weight:600;
}
.cm-s-tw5plus .cm-externallink {
color: #d33682;
text-decoration: underline;
}
.cm-s-tw5plus .cm-transclude {
color: #dc322f;
}
.cm-s-tw5plus .cm-pre {
color: #268BD2;
font-family: {{$:/themes/tiddlywiki/vanilla/settings/codefontfamily}};
}
.cm-s-tw5plus .cm-monospace {
color: #cb4b16;
font-family: {{$:/themes/tiddlywiki/vanilla/settings/codefontfamily}};
}
.cm-s-tw5plus .cm-list1 {
color: #268BD2;
padding-left: 1em;
padding-right: 0.5em;
font-family: {{$:/themes/tiddlywiki/vanilla/settings/codefontfamily}};
}
.cm-s-tw5plus .cm-list2 {
color: #268BD2;
padding-left: 2em;
padding-right: 0.5em;
font-family: {{$:/themes/tiddlywiki/vanilla/settings/codefontfamily}};
}
.cm-s-tw5plus .cm-list3 {
color: #268BD2;
padding-left: 3em;
padding-right: 0.5em;
font-family: {{$:/themes/tiddlywiki/vanilla/settings/codefontfamily}};
}
.cm-s-tw5plus .cm-list4 {
color: #268BD2;
padding-left: 4em;
padding-right: 0.5em;
font-family: {{$:/themes/tiddlywiki/vanilla/settings/codefontfamily}};
}
.cm-s-tw5plus .cm-list5 {
color: #268BD2;
padding-left: 5em;
padding-right: 0.5em;
font-family: {{$:/themes/tiddlywiki/vanilla/settings/codefontfamily}};
}</pre>
</div>
<div created="20200818164318584" creator="soren" modified="20210827213607229" modifier="soren" module-type="codemirrorDISABLED" tags="$:/tags/DisabledPlugin" title="$:/plugins/tiddlywiki/codemirror/mode/tw5/tw5.js2" type="application/javascript">
<pre>// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: https://codemirror.net/LICENSE
/***
|''Name''|tw5.js|
|''Description''|Enables TiddlyWikiy syntax highlighting using CodeMirror|
|''Original Contributor''|PMario|
|''Author''|[[adithya-badidey|https://github.com/adithya-badidey]]|
|''Version''|0.1.8|
|''Status''|''stable''|
|''Source''|[[GitHub|https://github.com/adithya-badidey/TW5-codemirror-plus]]|
|''Documentation''|https://codemirror.tiddlyspace.com/|
|''License''|[[MIT License|http://www.opensource.org/licenses/mit-license.php]]|
|''Requires''|codemirror.js|
|''Keywords''|syntax highlighting color code mirror codemirror|
!! Tiddlywiki Metadata
Name: $:/plugins/tiddlywiki/codemirror/mode/tw5/tw5.js
Type: application/javascript
Additional Field:
module-type: codemirror
Info: CoreVersion parameter is needed for TiddlyWiki only!
***/
(function (mod) {
if (typeof exports == &quot;object&quot; &amp;&amp; typeof module == &quot;object&quot;) // CommonJS
mod(require(&quot;../../lib/codemirror&quot;));
else if (typeof define == &quot;function&quot; &amp;&amp; define.amd) // AMD
define([&quot;../../lib/codemirror&quot;], mod);
else // Plain browser env
mod(CodeMirror);
})(function (CodeMirror) {
&quot;use strict&quot;;
CodeMirror.defineMode(&quot;tiddlywiki5&quot;, function () {
// Tokenizer
var textwords = {};
var keywords = {
&quot;changecount&quot;: true, &quot;colour&quot;: true,
&quot;colour-picker&quot;: true, &quot;contrastcolour&quot;: true,
&quot;copy-to-clipboard&quot;: true, &quot;csvtiddlers&quot;: true,
&quot;datauri&quot;: true, &quot;dumpvariables&quot;: true,
&quot;image-picker&quot;: true, &quot;jsontiddler&quot;: true,
&quot;jsontiddlers&quot;: true, &quot;lingo&quot;: true,
&quot;list-links&quot;: true, &quot;list-links-draggable&quot;: true,
&quot;list-tagged-draggable&quot;: true, &quot;list-thumbnails&quot;: true,
&quot;makedatauri&quot;: true, &quot;now&quot;: true,
&quot;qualify&quot;: true, &quot;resolvepath&quot;: true,
&quot;box-shadow&quot;: true, &quot;filter&quot;: true,
&quot;transition&quot;: true, &quot;background-linear-gradient&quot;: true,
&quot;transform-origin&quot;: true, &quot;toc&quot;: true,
&quot;toc-expandable&quot;: true, &quot;toc-selective-expandable&quot;: true,
&quot;toc-tabbed-internal-nav&quot;: true, &quot;toc-tabbed-external-nav&quot;: true,
&quot;tabs&quot;: true, &quot;tag&quot;: true,
&quot;tag-picker&quot;: true, &quot;tag-pill&quot;: true,
&quot;thumbnail&quot;: true, &quot;timeline&quot;: true,
&quot;tree&quot;: true, &quot;unusedtitle&quot;: true,
&quot;version&quot;: true
};
var isSpaceName = /[\w_\-]/i,
reHR = /^\-\-\-\-+$/, // &lt;hr&gt;
reBlockQuote = /^&lt;&lt;&lt;/,
rePreStart = /^```$/;
function chain(stream, state, f) {
state.tokenize = f;
return f(stream, state);
}
function tokenBase(stream, state) {
var sol = stream.sol(), // sol() -&gt; Returns true only if the stream is at the start of the line.
ch = stream.peek(); // Returns the next character in the stream without advancing it. Will return a null at the end of the line.
// check start of blocks
if (sol &amp;&amp; /[&lt;\/\*{}\-`]/.test(ch)) { //is at the start of a line and the next char is not
if (stream.match(reBlockQuote)) {
return chain(stream, state, twTokenQuote);
}
if (stream.match(reHR))
return 'hr';
if (stream.match(rePreStart))
return chain(stream, state, twTokenPre);
}
stream.next();
if (sol &amp;&amp; /[\/\*!#;:&gt;|]/.test(ch)) {
if (ch == &quot;!&quot;) { // tw header
var count = 1;
while (stream.eat('!'))
count++;
stream.skipToEnd();
return &quot;h&quot; + count;
}
if (ch == &quot;*&quot; || ch == &quot;#&quot;) { // tw list
var count = 1;
while (stream.eat('*') || stream.eat('#'))
count++;
return &quot;list&quot; + count;
}
if (ch == &quot;;&quot;) { // definition list, term
stream.eatWhile(';');
return &quot;list1&quot;;
}
if (ch == &quot;:&quot;) { // definition list, description
stream.eatWhile(':');
return &quot;list2&quot;;
}
if (ch == &quot;&gt;&quot;) { // single line quote
stream.eatWhile(&quot;&gt;&quot;);
return &quot;quote&quot;;
}
if (ch == '|')
return 'header';
}
// rudimentary html:// file:// link matching. TW knows much more ...
if (/[hf]/i.test(ch) &amp;&amp;
/[ti]/i.test(stream.peek()) &amp;&amp;
stream.match(/\b(ttps?|tp|ile):\/\/[\-A-Z0-9+&amp;@#\/%?=~_|$!:,.;]*[A-Z0-9+&amp;@#\/%=~_|$]/i, true))
return &quot;externallink&quot;;
if (ch == '`') { //
return chain(stream, state, twTokenMonospace);
}
if (ch == &quot;/&quot; &amp;&amp; stream.eat(&quot;/&quot;)) { //
return chain(stream, state, twTokenEm);
}
if (ch == &quot;{&quot; &amp;&amp; stream.eat(&quot;{&quot;))
return chain(stream, state, twTranslclude);
if (ch == &quot;[&quot; &amp;&amp; stream.eat(&quot;[&quot;)) // tw InternalLink
return chain(stream, state, twInternalLink);
if (ch == &quot;_&quot; &amp;&amp; stream.eat(&quot;_&quot;)) // tw underline
return chain(stream, state, twTokenUnderline);
if (ch == &quot;^&quot; &amp;&amp; stream.eat(&quot;^&quot;))
return chain(stream, state, twSuperscript);
if (ch == &quot;,&quot; &amp;&amp; stream.eat(&quot;,&quot;)) // tw underline
return chain(stream, state, twSubscript);
// tw strikethrough
if (ch == &quot;~&quot; &amp;&amp; stream.eat(&quot;~&quot;)) {
return chain(stream, state, twTokenStrike);
}
if (ch == &quot;'&quot; &amp;&amp; stream.eat(&quot;'&quot;)) // tw bold
return chain(stream, state, twTokenStrong);
if (ch == &quot;&lt;&quot; &amp;&amp; stream.eat(&quot;&lt;&quot;)) // tw macro
return chain(stream, state, twTokenMacro);
return null
}
// // tw invisible comment
// function twTokenComment(stream, state) {
// var maybeEnd = false, ch;
// while (ch = stream.next()) {
// if (ch == &quot;/&quot; &amp;&amp; maybeEnd) {
// state.tokenize = tokenBase;
// break;
// }
// maybeEnd = (ch == &quot;%&quot;);
// }
// return &quot;comment&quot;;
// }
// tw strong / bold
function twTokenStrong(stream, state) {
var maybeEnd = false,
ch;
while (ch = stream.next()) {
if (ch == &quot;'&quot; &amp;&amp; maybeEnd) {
state.tokenize = tokenBase;
break;
}
maybeEnd = (ch == &quot;'&quot;);
}
return &quot;strong&quot;;
}
function twTokenMonospace(stream, state) {
var ch;
while (ch = stream.next()) {
if (ch == &quot;`&quot;) {
state.tokenize = tokenBase;
break;
}
}
return &quot;monospace&quot;;
}
// tw em / italic
function twTokenEm(stream, state) {
var maybeEnd = false,
ch;
while (ch = stream.next()) {
if (ch == &quot;/&quot; &amp;&amp; maybeEnd) {
state.tokenize = tokenBase;
break;
}
maybeEnd = (ch == &quot;/&quot;);
}
return &quot;em&quot;;
}
// tw transclusions
function twTranslclude(stream, state) {
var maybeEnd = false,
ch;
while (ch = stream.next()) {
if (ch == &quot;}&quot; &amp;&amp; maybeEnd) {
state.tokenize = tokenBase;
break;
}
maybeEnd = (ch == &quot;}&quot;);
}
return &quot;transclude&quot;;
}
// tw internal links
function twInternalLink(stream, state) {
if (stream.current() == '[[') {
state.pastDivider = false;
// console.log(&quot;Start of link&quot;);
return 'link';
}
if (stream.peek() == ']') {
stream.next()
if(stream.next() == ']') {
state.tokenize = tokenBase;
// console.log(&quot;End of link&quot;);
return 'link';
}
}
var pastDivider = state.pastDivider,
ch;
while (ch = stream.peek()) {
// console.log(&quot;Peeking :&quot; + ch);
if (!pastDivider &amp;&amp; ch=='|') {
stream.next();
state.pastDivider = true;
// console.log(&quot;Past the divider&quot;);
return 'link';
}
if (ch == &quot;]&quot; &amp;&amp; stream.peek() == &quot;]&quot;) {
// console.log(&quot;Found end of link&quot;);
return &quot;internallink&quot;;
}
ch = stream.next();
if (/[hf]/i.test(ch) &amp;&amp;
/[ti]/i.test(stream.peek()) &amp;&amp;
stream.match(/\b(ttps?|tp|ile):\/\/[\-A-Z0-9+&amp;@#\/%?=~_|$!:,.;]*[A-Z0-9+&amp;@#\/%=~_|$]/i, true)) {
// console.log(&quot;Found external link&quot;);
return &quot;externallink&quot;;
}
stream.eatWhile(/[^|\]]/);
}
return null;
}
// tw underlined text
function twTokenUnderline(stream, state) {
var maybeEnd = false,
ch;
while (ch = stream.next()) {
if (ch == &quot;_&quot; &amp;&amp; maybeEnd) {
state.tokenize = tokenBase;
break;
}
maybeEnd = (ch == &quot;_&quot;);
}
return &quot;underlined&quot;;
}
function twSubscript(stream, state) {
var maybeEnd = false, ch;
while (ch = stream.next()) {
if (ch == &quot;,&quot; &amp;&amp; maybeEnd) {
state.tokenize = tokenBase;
break;
}
maybeEnd = (ch == &quot;,&quot;);
}
return &quot;subscript&quot;;
}
function twSuperscript(stream, state) {
var maybeEnd = false, ch;
while (ch = stream.next()) {
if (ch == &quot;^&quot; &amp;&amp; maybeEnd) {
state.tokenize = tokenBase;
break;
}
maybeEnd = (ch == &quot;^&quot;);
}
return &quot;superscript&quot;;
}
function twTokenStrike(stream, state) {
var maybeEnd = false, ch;
while (ch = stream.next()) {
if (ch == &quot;~&quot; &amp;&amp; maybeEnd) {
state.tokenize = tokenBase;
break;
}
maybeEnd = (ch == &quot;~&quot;);
}
return &quot;strikethrough&quot;;
}
function twTokenPre(stream, state) {
var sol = stream.sol(), maybeEnd = false, surelyend = false, ch;
while (ch = stream.next()) {
if (ch == '`' &amp;&amp; surelyend &amp;&amp; stream.eol()) {
stream.next();
state.tokenize = tokenBase;
return &quot;pre&quot;;
}
surelyend = (maybeEnd &amp;&amp; (ch == '`'));
maybeEnd = (sol &amp;&amp; ch == '`');
sol = stream.sol();
}
return &quot;pre&quot;;
}
function twTokenQuote(stream, state) {
var sol = stream.sol(), maybeEnd = false, surelyend = false, ch;
while (ch = stream.next()) {
if (ch == '&lt;' &amp;&amp; surelyend) {
stream.skipToEnd();
state.tokenize = tokenBase;
return &quot;quote&quot;;
}
surelyend = (maybeEnd &amp;&amp; (ch == '&lt;'));
maybeEnd = (sol &amp;&amp; ch == '&lt;');
sol = stream.sol();
}
return &quot;quote&quot;;
}
function twTokenMacro(stream, state) {
if (stream.current() == '&lt;&lt;') {
return 'macro';
}
var ch = stream.next();
if (!ch) {
state.tokenize = tokenBase;
return null;
}
if (ch == &quot;&gt;&quot;) {
if (stream.peek() == '&gt;') {
stream.next();
state.tokenize = tokenBase;
return &quot;macro&quot;;
}
}
stream.eatWhile(/[\w\$_]/);
return keywords.propertyIsEnumerable(stream.current()) ? &quot;keyword&quot; : &quot;macro&quot;
}
// Interface
return {
startState: function () {
return { tokenize: tokenBase };
},
token: function (stream, state) {
if (stream.eatSpace()) return null;
var style = state.tokenize(stream, state);
return style;
}
};
});
CodeMirror.defineMIME(&quot;text/vnd.tiddlywiki&quot;, &quot;tiddlywiki5&quot;);
});</pre>
</div>
<div author="Joao Bolila" dependents="" description="Highlight.js syntax highlighting" list="readme usage howto license" name="Highlight" plugin-type="plugin" title="$:/plugins/tiddlywiki/highlight" type="application/json" version="5.1.23">
<pre>{
&quot;tiddlers&quot;: {
&quot;$:/config/HighlightPlugin/TypeMappings/application/javascript&quot;: {
&quot;title&quot;: &quot;$:/config/HighlightPlugin/TypeMappings/application/javascript&quot;,
&quot;text&quot;: &quot;javascript&quot;
},
&quot;$:/config/HighlightPlugin/TypeMappings/application/json&quot;: {
&quot;title&quot;: &quot;$:/config/HighlightPlugin/TypeMappings/application/json&quot;,
&quot;text&quot;: &quot;json&quot;
},
&quot;$:/config/HighlightPlugin/TypeMappings/text/css&quot;: {
&quot;title&quot;: &quot;$:/config/HighlightPlugin/TypeMappings/text/css&quot;,
&quot;text&quot;: &quot;css&quot;
},
&quot;$:/config/HighlightPlugin/TypeMappings/text/html&quot;: {
&quot;title&quot;: &quot;$:/config/HighlightPlugin/TypeMappings/text/html&quot;,
&quot;text&quot;: &quot;html&quot;
},
&quot;$:/config/HighlightPlugin/TypeMappings/image/svg+xml&quot;: {
&quot;title&quot;: &quot;$:/config/HighlightPlugin/TypeMappings/image/svg+xml&quot;,
&quot;text&quot;: &quot;xml&quot;
},
&quot;$:/config/HighlightPlugin/TypeMappings/text/x-markdown&quot;: {
&quot;title&quot;: &quot;$:/config/HighlightPlugin/TypeMappings/text/x-markdown&quot;,
&quot;text&quot;: &quot;markdown&quot;
},
&quot;$:/plugins/tiddlywiki/highlight/highlight.js&quot;: {
&quot;text&quot;: &quot;var hljs = require(\&quot;$:/plugins/tiddlywiki/highlight/highlight.js\&quot;);\n/*! highlight.js v9.18.1 | BSD3 License | git.io/hljslicense */\n!function(e){var n=\&quot;object\&quot;==typeof window&amp;&amp;window||\&quot;object\&quot;==typeof self&amp;&amp;self;\&quot;undefined\&quot;==typeof exports||exports.nodeType?n&amp;&amp;(n.hljs=e({}),\&quot;function\&quot;==typeof define&amp;&amp;define.amd&amp;&amp;define([],function(){return n.hljs})):e(exports)}(function(a){var f=[],i=Object.keys,_={},c={},C=!0,n=/^(no-?highlight|plain|text)$/i,l=/\\blang(?:uage)?-([\\w-]+)\\b/i,t=/((^(&lt;[^&gt;]+&gt;|\\t|)+|(?:\\n)))/gm,r={case_insensitive:\&quot;cI\&quot;,lexemes:\&quot;l\&quot;,contains:\&quot;c\&quot;,keywords:\&quot;k\&quot;,subLanguage:\&quot;sL\&quot;,className:\&quot;cN\&quot;,begin:\&quot;b\&quot;,beginKeywords:\&quot;bK\&quot;,end:\&quot;e\&quot;,endsWithParent:\&quot;eW\&quot;,illegal:\&quot;i\&quot;,excludeBegin:\&quot;eB\&quot;,excludeEnd:\&quot;eE\&quot;,returnBegin:\&quot;rB\&quot;,returnEnd:\&quot;rE\&quot;,variants:\&quot;v\&quot;,IDENT_RE:\&quot;IR\&quot;,UNDERSCORE_IDENT_RE:\&quot;UIR\&quot;,NUMBER_RE:\&quot;NR\&quot;,C_NUMBER_RE:\&quot;CNR\&quot;,BINARY_NUMBER_RE:\&quot;BNR\&quot;,RE_STARTERS_RE:\&quot;RSR\&quot;,BACKSLASH_ESCAPE:\&quot;BE\&quot;,APOS_STRING_MODE:\&quot;ASM\&quot;,QUOTE_STRING_MODE:\&quot;QSM\&quot;,PHRASAL_WORDS_MODE:\&quot;PWM\&quot;,C_LINE_COMMENT_MODE:\&quot;CLCM\&quot;,C_BLOCK_COMMENT_MODE:\&quot;CBCM\&quot;,HASH_COMMENT_MODE:\&quot;HCM\&quot;,NUMBER_MODE:\&quot;NM\&quot;,C_NUMBER_MODE:\&quot;CNM\&quot;,BINARY_NUMBER_MODE:\&quot;BNM\&quot;,CSS_NUMBER_MODE:\&quot;CSSNM\&quot;,REGEXP_MODE:\&quot;RM\&quot;,TITLE_MODE:\&quot;TM\&quot;,UNDERSCORE_TITLE_MODE:\&quot;UTM\&quot;,COMMENT:\&quot;C\&quot;,beginRe:\&quot;bR\&quot;,endRe:\&quot;eR\&quot;,illegalRe:\&quot;iR\&quot;,lexemesRe:\&quot;lR\&quot;,terminators:\&quot;t\&quot;,terminator_end:\&quot;tE\&quot;},m=\&quot;&lt;/span&gt;\&quot;,O=\&quot;Could not find the language '{}', did you forget to load/include a language module?\&quot;,B={classPrefix:\&quot;hljs-\&quot;,tabReplace:null,useBR:!1,languages:void 0},o=\&quot;of and for in not or if then\&quot;.split(\&quot; \&quot;);function x(e){return e.replace(/&amp;/g,\&quot;&amp;amp;\&quot;).replace(/&lt;/g,\&quot;&amp;lt;\&quot;).replace(/&gt;/g,\&quot;&amp;gt;\&quot;)}function g(e){return e.nodeName.toLowerCase()}function u(e){return n.test(e)}function s(e){var n,t={},r=Array.prototype.slice.call(arguments,1);for(n in e)t[n]=e[n];return r.forEach(function(e){for(n in e)t[n]=e[n]}),t}function E(e){var a=[];return function e(n,t){for(var r=n.firstChild;r;r=r.nextSibling)3===r.nodeType?t+=r.nodeValue.length:1===r.nodeType&amp;&amp;(a.push({event:\&quot;start\&quot;,offset:t,node:r}),t=e(r,t),g(r).match(/br|hr|img|input/)||a.push({event:\&quot;stop\&quot;,offset:t,node:r}));return t}(e,0),a}function d(e,n,t){var r=0,a=\&quot;\&quot;,i=[];function o(){return e.length&amp;&amp;n.length?e[0].offset!==n[0].offset?e[0].offset&lt;n[0].offset?e:n:\&quot;start\&quot;===n[0].event?e:n:e.length?e:n}function c(e){a+=\&quot;&lt;\&quot;+g(e)+f.map.call(e.attributes,function(e){return\&quot; \&quot;+e.nodeName+'=\&quot;'+x(e.value).replace(/\&quot;/g,\&quot;&amp;quot;\&quot;)+'\&quot;'}).join(\&quot;\&quot;)+\&quot;&gt;\&quot;}function l(e){a+=\&quot;&lt;/\&quot;+g(e)+\&quot;&gt;\&quot;}function u(e){(\&quot;start\&quot;===e.event?c:l)(e.node)}for(;e.length||n.length;){var s=o();if(a+=x(t.substring(r,s[0].offset)),r=s[0].offset,s===e){for(i.reverse().forEach(l);u(s.splice(0,1)[0]),(s=o())===e&amp;&amp;s.length&amp;&amp;s[0].offset===r;);i.reverse().forEach(c)}else\&quot;start\&quot;===s[0].event?i.push(s[0].node):i.pop(),u(s.splice(0,1)[0])}return a+x(t.substr(r))}function R(n){return n.v&amp;&amp;!n.cached_variants&amp;&amp;(n.cached_variants=n.v.map(function(e){return s(n,{v:null},e)})),n.cached_variants?n.cached_variants:function e(n){return!!n&amp;&amp;(n.eW||e(n.starts))}(n)?[s(n,{starts:n.starts?s(n.starts):null})]:Object.isFrozen(n)?[s(n)]:[n]}function p(e
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/highlight/highlight.js&quot;,
&quot;module-type&quot;: &quot;library&quot;
},
&quot;$:/plugins/tiddlywiki/highlight/highlight.css&quot;: {
&quot;text&quot;: &quot;/*\n\nOriginal highlight.js style (c) Ivan Sagalaev &lt;maniac@softwaremaniacs.org&gt;\n\n*/\n\n.hljs {\n display: block;\n overflow-x: auto;\n padding: 0.5em;\n background: #F0F0F0;\n}\n\n\n/* Base color: saturation 0; */\n\n.hljs,\n.hljs-subst {\n color: #444;\n}\n\n.hljs-comment {\n color: #888888;\n}\n\n.hljs-keyword,\n.hljs-attribute,\n.hljs-selector-tag,\n.hljs-meta-keyword,\n.hljs-doctag,\n.hljs-name {\n font-weight: bold;\n}\n\n\n/* User color: hue: 0 */\n\n.hljs-type,\n.hljs-string,\n.hljs-number,\n.hljs-selector-id,\n.hljs-selector-class,\n.hljs-quote,\n.hljs-template-tag,\n.hljs-deletion {\n color: #880000;\n}\n\n.hljs-title,\n.hljs-section {\n color: #880000;\n font-weight: bold;\n}\n\n.hljs-regexp,\n.hljs-symbol,\n.hljs-variable,\n.hljs-template-variable,\n.hljs-link,\n.hljs-selector-attr,\n.hljs-selector-pseudo {\n color: #BC6060;\n}\n\n\n/* Language color: hue: 90; */\n\n.hljs-literal {\n color: #78A960;\n}\n\n.hljs-built_in,\n.hljs-bullet,\n.hljs-code,\n.hljs-addition {\n color: #397300;\n}\n\n\n/* Meta color: hue: 200 */\n\n.hljs-meta {\n color: #1f7199;\n}\n\n.hljs-meta-string {\n color: #4d99bf;\n}\n\n\n/* Misc effects */\n\n.hljs-emphasis {\n font-style: italic;\n}\n\n.hljs-strong {\n font-weight: bold;\n}\n&quot;,
&quot;type&quot;: &quot;text/css&quot;,
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/highlight/highlight.css&quot;,
&quot;tags&quot;: &quot;[[$:/tags/Stylesheet]]&quot;
},
&quot;$:/plugins/tiddlywiki/highlight/highlightblock.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/highlight/highlightblock.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/plugins/tiddlywiki/highlight/highlightblock.js\ntype: application/javascript\nmodule-type: widget\n\nWraps up the fenced code blocks parser for highlight and use in TiddlyWiki5\n\n\\*/\n(function() {\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar TYPE_MAPPINGS_BASE = \&quot;$:/config/HighlightPlugin/TypeMappings/\&quot;;\n\nvar CodeBlockWidget = require(\&quot;$:/core/modules/widgets/codeblock.js\&quot;).codeblock;\n\nvar hljs = require(\&quot;$:/plugins/tiddlywiki/highlight/highlight.js\&quot;);\n\nhljs.configure({tabReplace: \&quot; \&quot;});\t\n\nCodeBlockWidget.prototype.postRender = function() {\n\tvar domNode = this.domNodes[0],\n\t\tlanguage = this.language,\n\t\ttiddler = this.wiki.getTiddler(TYPE_MAPPINGS_BASE + language);\n\tif(tiddler) {\n\t\tlanguage = tiddler.fields.text || \&quot;\&quot;;\n\t}\n\tif(language &amp;&amp; hljs.getLanguage(language)) {\n\t\tdomNode.className = language.toLowerCase() + \&quot; hljs\&quot;;\n\t\tif($tw.browser &amp;&amp; !domNode.isTiddlyWikiFakeDom) {\n\t\t\thljs.highlightBlock(domNode);\t\t\t\n\t\t} else {\n\t\t\tvar text = domNode.textContent;\n\t\t\tdomNode.children[0].innerHTML = hljs.fixMarkup(hljs.highlight(language,text).value);\n\t\t\t// If we're using the fakedom then specially save the original raw text\n\t\t\tif(domNode.isTiddlyWikiFakeDom) {\n\t\t\t\tdomNode.children[0].textInnerHTML = text;\n\t\t\t}\n\t\t}\n\t}\t\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
},
&quot;$:/plugins/tiddlywiki/highlight/howto&quot;: {
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/highlight/howto&quot;,
&quot;text&quot;: &quot;! Supporting Additional Languages\n \nThe [[highlight.js|https://github.com/highlightjs/highlight.js]] project supports many languages. Only a subset of these languages are supported by the plugin. It is possible for users to change the set of languages supported by the plugin by following these steps:\n \n# Go to the highlight.js project [[download page|https://highlightjs.org/download/]], select the language definitions to include, and press the Download button to download a zip archive containing customised support files for a highlight.js syntax highlighting server.\n# Locate the `highlight.pack.js` file in the highlight plugin -- on a stock Debian 8 system running Tiddlywiki5 under node-js it is located at `/usr/local/lib/node_modules/tiddlywiki/plugins/tiddlywiki/highlight/files/highlight.pack.js`.\n# Replace the plugin `highlight.pack.js` file located in step 2 with the one from the downloaded archive obtained in step 1.\n# Restart the Tiddlywiki server.\n&quot;
},
&quot;$:/plugins/tiddlywiki/highlight/license&quot;: {
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/highlight/license&quot;,
&quot;type&quot;: &quot;text/plain&quot;,
&quot;text&quot;: &quot;Copyright (c) 2006, Ivan Sagalaev\nAll rights reserved.\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n * Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n * Redistributions in binary form must reproduce the above copyright\n notice, this list of conditions and the following disclaimer in the\n documentation and/or other materials provided with the distribution.\n * Neither the name of highlight.js nor the names of its contributors\n may be used to endorse or promote products derived from this software\n without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY\nEXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE REGENTS AND CONTRIBUTORS BE LIABLE FOR ANY\nDIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\nON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n&quot;
},
&quot;$:/plugins/tiddlywiki/highlight/readme&quot;: {
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/highlight/readme&quot;,
&quot;text&quot;: &quot;This plugin provides syntax highlighting of code blocks using v9.18.1 of [[highlight.js|https://github.com/isagalaev/highlight.js]] from Ivan Sagalaev.\n\n! Usage\n\nWhen the plugin is installed it automatically applies highlighting to all codeblocks defined with triple backticks or with the CodeBlockWidget.\n\nThe language can optionally be specified after the opening triple braces:\n\n&lt;$codeblock code=\&quot;\&quot;\&quot;```css\n * { margin: 0; padding: 0; } /* micro reset */\n\nhtml { font-size: 62.5%; }\nbody { font-size: 14px; font-size: 1.4rem; } /* =14px */\nh1 { font-size: 24px; font-size: 2.4rem; } /* =24px */\n```\&quot;\&quot;\&quot;/&gt;\n\nIf no language is specified highlight.js will attempt to automatically detect the language.\n\n! Built-in Language Brushes\n\nThe plugin includes support for the following languages (referred to as \&quot;brushes\&quot; by highlight.js):\n\n* apache\n* arduino\n* arm assembly\n* asciidoc\n* autohotkey\n* awk\n* bash\n* cmake\n* coffeescript\n* cpp\n* cs\n* css\n* diff\n* dockerfile\n* erlang\n* elixir\n* fortran\n* go\n* gradle\n* haskell\n* html\n* http\n* ini\n* intel x86 assembly\n* java\n* javascript\n* json\n* kotlin\n* less\n* lua\n* makefile\n* markdown\n* mathematica\n* matlab\n* nginx\n* objectivec\n* perl\n* php\n* plaintext\n* powershell\n* properties\n* python\n* R\n* ruby\n* rust\n* scss\n* shell session\n* sql\n* swift\n* toml\n* typescript\n* vala\n* vim script\n* xml\n* yaml\n\nYou can also specify the language as a MIME content type (eg `text/html` or `text/css`). The mapping is accomplished via mapping tiddlers whose titles start with `$:/config/HighlightPlugin/TypeMappings/`.\n&quot;
},
&quot;$:/plugins/tiddlywiki/highlight/styles&quot;: {
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/highlight/styles&quot;,
&quot;tags&quot;: &quot;[[$:/tags/Stylesheet]]&quot;,
&quot;text&quot;: &quot;.hljs {\n display: block;\n overflow-x: auto;\n padding: 0.5em;\n background: &lt;&lt;colour tiddler-editor-background&gt;&gt;;\n color: &lt;&lt;colour foreground&gt;&gt;;\n -webkit-text-size-adjust:none\n}\n\n.hljs-comment,\n.hljs-quote {\n color: #93a1a1;\n}\n\n/* Solarized Green */\n.hljs-keyword,\n.hljs-selector-tag,\n.hljs-addition {\n color: #859900;\n}\n\n/* Solarized Cyan */\n.hljs-number,\n.hljs-string,\n.hljs-meta .hljs-meta-string,\n.hljs-literal,\n.hljs-doctag,\n.hljs-regexp {\n color: #2aa198;\n}\n\n/* Solarized Blue */\n.hljs-title,\n.hljs-section,\n.hljs-name,\n.hljs-selector-id,\n.hljs-selector-class {\n color: #268bd2;\n}\n\n/* Solarized Yellow */\n.hljs-attribute,\n.hljs-attr,\n.hljs-variable,\n.hljs-template-variable,\n.hljs-class .hljs-title,\n.hljs-type {\n color: #b58900;\n}\n\n/* Solarized Orange */\n.hljs-symbol,\n.hljs-bullet,\n.hljs-subst,\n.hljs-meta,\n.hljs-meta .hljs-keyword,\n.hljs-selector-attr,\n.hljs-selector-pseudo,\n.hljs-link {\n color: #cb4b16;\n}\n\n/* Solarized Red */\n.hljs-built_in,\n.hljs-deletion {\n color: #dc322f;\n}\n\n.hljs-formula {\n background: #eee8d5;\n}\n\n.hljs-emphasis {\n font-style: italic;\n}\n\n.hljs-strong {\n font-weight: bold;\n}\n&quot;
},
&quot;$:/plugins/tiddlywiki/highlight/usage&quot;: {
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/highlight/usage&quot;,
&quot;text&quot;: &quot;! Usage\n\nFenced code blocks can have a language specifier added to trigger highlighting in a specific language. Otherwise heuristics are used to detect the language.\n\n```\n ```js\n var a = b + c; // Highlighted as JavaScript\n ```\n```\n! Adding Themes\n\nYou can add themes from highlight.js by copying the CSS to a new tiddler and tagging it with [[$:/tags/Stylesheet]]. The available themes can be found on GitHub:\n\nhttps://github.com/isagalaev/highlight.js/tree/master/src/styles\n&quot;
}
}
}</pre>
</div>
<div dependents="" description="KaTeX library for mathematical typography" library-version="v0.10.2" list="readme usage" name="KaTeX" plugin-type="plugin" title="$:/plugins/tiddlywiki/katex" type="application/json" version="5.1.23">
<pre>{
&quot;tiddlers&quot;: {
&quot;$:/plugins/tiddlywiki/katex/katex.min.css&quot;: {
&quot;text&quot;: &quot;.katex{font:normal 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0;text-rendering:auto}.katex *{-ms-high-contrast-adjust:none!important}.katex .katex-version:after{content:\&quot;0.10.2\&quot;}.katex .katex-mathml{position:absolute;clip:rect(1px,1px,1px,1px);padding:0;border:0;height:1px;width:1px;overflow:hidden}.katex .katex-html&gt;.newline{display:block}.katex .base{position:relative;white-space:nowrap;width:min-content}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathdefault{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-weight:700;font-style:italic}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{display:inline-table;table-layout:fixed}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;vertical-align:bottom;position:relative}.katex .vlist&gt;span{display:block;height:0;position:relative}.katex .vlist&gt;span&gt;span{display:inline-block}.katex .vlist&gt;span&gt;.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;vertical-align:bottom;font-size:1px;width:2px;min-width:2px}.katex .msupsub{text-align:left}.katex .mfrac&gt;span&gt;span{text-align:center}.katex .mfrac .frac-line{display:inline-block;width:100%;border-bottom-style:solid}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .clap,.katex .llap,.katex .rlap{width:0;position:relative}.katex .clap&gt;.inner,.katex .llap&gt;.inner,.katex .rlap&gt;.inner{position:absolute}.katex .clap&gt;.fix,.katex .llap&gt;.fix,.katex .rlap&gt;.fix{display:inline-block}.katex .llap&gt;.inner{right:0}.katex .clap&gt;.inner,.katex .rlap&gt;.inner{left:0}.katex .clap&gt;.inner&gt;span{margin-left:-50%;margin-right:50%}.katex .rule{display:inline-block;border:0 solid;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{display:inline-block;width:100%;border-bottom-style:solid}.katex .hdashline{display:inline-block;width:100%;border-bottom-style:dashed}.katex .sqrt&gt;.root{margin-left:.27777778em;margin-right:-.55555556em}.katex .fontsize-ensurer,.katex .sizing{display:inline-block}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex
&quot;type&quot;: &quot;text/plain&quot;,
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/katex/katex.min.css&quot;
},
&quot;$:/plugins/tiddlywiki/katex/katex.min.js&quot;: {
&quot;text&quot;: &quot;(function(document) {\n!function(t,e){\&quot;object\&quot;==typeof exports&amp;&amp;\&quot;object\&quot;==typeof module?module.exports=e():\&quot;function\&quot;==typeof define&amp;&amp;define.amd?define([],e):\&quot;object\&quot;==typeof exports?exports.katex=e():t.katex=e()}(\&quot;undefined\&quot;!=typeof self?self:this,function(){return function(t){var e={};function r(a){if(e[a])return e[a].exports;var n=e[a]={i:a,l:!1,exports:{}};return t[a].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=t,r.c=e,r.d=function(t,e,a){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:a})},r.r=function(t){\&quot;undefined\&quot;!=typeof Symbol&amp;&amp;Symbol.toStringTag&amp;&amp;Object.defineProperty(t,Symbol.toStringTag,{value:\&quot;Module\&quot;}),Object.defineProperty(t,\&quot;__esModule\&quot;,{value:!0})},r.t=function(t,e){if(1&amp;e&amp;&amp;(t=r(t)),8&amp;e)return t;if(4&amp;e&amp;&amp;\&quot;object\&quot;==typeof t&amp;&amp;t&amp;&amp;t.__esModule)return t;var a=Object.create(null);if(r.r(a),Object.defineProperty(a,\&quot;default\&quot;,{enumerable:!0,value:t}),2&amp;e&amp;&amp;\&quot;string\&quot;!=typeof t)for(var n in t)r.d(a,n,function(e){return t[e]}.bind(null,n));return a},r.n=function(t){var e=t&amp;&amp;t.__esModule?function(){return t.default}:function(){return t};return r.d(e,\&quot;a\&quot;,e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p=\&quot;\&quot;,r(r.s=1)}([function(t,e,r){},function(t,e,r){\&quot;use strict\&quot;;r.r(e);r(0);var a=function(){function t(t,e,r){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=t,this.start=e,this.end=r}return t.range=function(e,r){return r?e&amp;&amp;e.loc&amp;&amp;r.loc&amp;&amp;e.loc.lexer===r.loc.lexer?new t(e.loc.lexer,e.loc.start,r.loc.end):null:e&amp;&amp;e.loc},t}(),n=function(){function t(t,e){this.text=void 0,this.loc=void 0,this.text=t,this.loc=e}return t.prototype.range=function(e,r){return new t(r,a.range(this,e))},t}(),o=function t(e,r){this.position=void 0;var a,n=\&quot;KaTeX parse error: \&quot;+e,o=r&amp;&amp;r.loc;if(o&amp;&amp;o.start&lt;=o.end){var i=o.lexer.input;a=o.start;var s=o.end;a===i.length?n+=\&quot; at end of input: \&quot;:n+=\&quot; at position \&quot;+(a+1)+\&quot;: \&quot;;var h=i.slice(a,s).replace(/[^]/g,\&quot;$&amp;\\u0332\&quot;);n+=(a&gt;15?\&quot;\\u2026\&quot;+i.slice(a-15,a):i.slice(0,a))+h+(s+15&lt;i.length?i.slice(s,s+15)+\&quot;\\u2026\&quot;:i.slice(s))}var l=new Error(n);return l.name=\&quot;ParseError\&quot;,l.__proto__=t.prototype,l.position=a,l};o.prototype.__proto__=Error.prototype;var i=o,s=/([A-Z])/g,h={\&quot;&amp;\&quot;:\&quot;&amp;amp;\&quot;,\&quot;&gt;\&quot;:\&quot;&amp;gt;\&quot;,\&quot;&lt;\&quot;:\&quot;&amp;lt;\&quot;,'\&quot;':\&quot;&amp;quot;\&quot;,\&quot;'\&quot;:\&quot;&amp;#x27;\&quot;},l=/[&amp;&gt;&lt;\&quot;']/g;var m=function t(e){return\&quot;ordgroup\&quot;===e.type?1===e.body.length?t(e.body[0]):e:\&quot;color\&quot;===e.type?1===e.body.length?t(e.body[0]):e:\&quot;font\&quot;===e.type?t(e.body):e},c={contains:function(t,e){return-1!==t.indexOf(e)},deflt:function(t,e){return void 0===t?e:t},escape:function(t){return String(t).replace(l,function(t){return h[t]})},hyphenate:function(t){return t.replace(s,\&quot;-$1\&quot;).toLowerCase()},getBaseElem:m,isCharacterBox:function(t){var e=m(t);return\&quot;mathord\&quot;===e.type||\&quot;textord\&quot;===e.type||\&quot;atom\&quot;===e.type}},u=function(){function t(t){this.displayMode=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.allowedProtocols=void 0,t=t||{},this.displayMode=c.deflt(t.displayMode,!1),this.leqno=c.deflt(t.leqno,!1),this.fleqn=c.deflt(t.fleqn,!1),this.throwOnError=c.deflt(t.throwOnError,!0),this.errorColor=c.deflt(t.errorColor,\&quot;#cc0000\&quot;),this.macros=t.macros||{},this.colorIsTextColor=c.deflt(t.colorIsTextColor,!1),this.strict=c.deflt(t.strict,\&quot;warn\&quot;),this.maxSize=M
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/katex/katex.min.js&quot;,
&quot;module-type&quot;: &quot;library&quot;
},
&quot;$:/plugins/tiddlywiki/katex/mhchem.min.js&quot;: {
&quot;text&quot;: &quot;/* eslint-disable */\n/* -*- Mode: Javascript; indent-tabs-mode:nil; js-indent-level: 2 -*- */\n/* vim: set ts=2 et sw=2 tw=80: */\n\n/*************************************************************\n *\n * KaTeX mhchem.js\n *\n * This file implements a KaTeX version of mhchem version 3.3.0.\n * It is adapted from MathJax/extensions/TeX/mhchem.js\n * It differs from the MathJax version as follows:\n * 1. The interface is changed so that it can be called from KaTeX, not MathJax.\n * 2. \\rlap and \\llap are replaced with \\mathrlap and \\mathllap.\n * 3. Four lines of code are edited in order to use \\raisebox instead of \\raise.\n * 4. The reaction arrow code is simplified. All reaction arrows are rendered\n * using KaTeX extensible arrows instead of building non-extensible arrows.\n * 5. \\tripledash vertical alignment is slightly adjusted.\n *\n * This code, as other KaTeX code, is released under the MIT license.\n * \n * /*************************************************************\n *\n * MathJax/extensions/TeX/mhchem.js\n *\n * Implements the \\ce command for handling chemical formulas\n * from the mhchem LaTeX package.\n *\n * ---------------------------------------------------------------------\n *\n * Copyright (c) 2011-2015 The MathJax Consortium\n * Copyright (c) 2015-2018 Martin Hensel\n *\n * Licensed under the Apache License, Version 2.0 (the \&quot;License\&quot;);\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \&quot;AS IS\&quot; BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n//\n// Coding Style\n// - use '' for identifiers that can by minified/uglified\n// - use \&quot;\&quot; for strings that need to stay untouched\n\n// version: \&quot;3.3.0\&quot; for MathJax and KaTeX\n\n/****************************************\n*****************************************\n* TiddlyWiki: moved the katex-module definitions to wrapper.js\n*****************************************\n*****************************************/\n\n //\n // This is the main function for handing the \\ce and \\pu commands.\n // It takes the argument to \\ce or \\pu and returns the corresponding TeX string.\n //\n\n // TiddlyWiki: replaced `var chemParse =` with `module.exports =` ... no more modifications in this file\n module.exports = function (tokens, stateMachine) {\n // Recreate the argument string from KaTeX's array of tokens.\n var str = \&quot;\&quot;;\n var expectedLoc = tokens[tokens.length - 1].loc.start\n for (var i = tokens.length - 1; i &gt;= 0; i--) {\n if(tokens[i].loc.start &gt; expectedLoc) {\n // context.consumeArgs has eaten a space.\n str += \&quot; \&quot;;\n expectedLoc = tokens[i].loc.start;\n }\n str += tokens[i].text;\n expectedLoc += tokens[i].text.length;\n }\n var tex = texify.go(mhchemParser.go(str, stateMachine));\n return tex;\n };\n\n //\n // Core parser for mhchem syntax (recursive)\n //\n /** @type {MhchemParser} */\n var mhchemParser = {\n //\n // Parses mchem \\ce syntax\n //\n // Call like\n // go(\&quot;H2O\&quot;);\n //\n go: function (input, stateMachine) {\n if (!input) { return []; }\n if (stateMachine === undefined) { stateMachine = 'ce'; }\n var state = '0';\n\n //\n // String buffers for parsing:\n //\n // buffer.a == amount\n // buffer.o == element\n // buffer.b == left-side superscript\n // buffer.p == left-side subscript\n // buffer.q == right-side subscript\n // buffer.d == right-side superscript\n //\n // buffer.r == arrow\n // buffer.rdt == arro
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/katex/mhchem.min.js&quot;,
&quot;module-type&quot;: &quot;library&quot;
},
&quot;$:/plugins/tiddlywiki/katex/fonts/KaTeX_AMS-Regular.woff&quot;: {
&quot;text&quot;: &quot;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
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/katex/fonts/KaTeX_AMS-Regular.woff&quot;,
&quot;type&quot;: &quot;application/font-woff&quot;
},
&quot;$:/plugins/tiddlywiki/katex/fonts/KaTeX_Caligraphic-Bold.woff&quot;: {
&quot;text&quot;: &quot;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
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/katex/fonts/KaTeX_Caligraphic-Bold.woff&quot;,
&quot;type&quot;: &quot;application/font-woff&quot;
},
&quot;$:/plugins/tiddlywiki/katex/fonts/KaTeX_Caligraphic-Regular.woff&quot;: {
&quot;text&quot;: &quot;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
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/katex/fonts/KaTeX_Caligraphic-Regular.woff&quot;,
&quot;type&quot;: &quot;application/font-woff&quot;
},
&quot;$:/plugins/tiddlywiki/katex/fonts/KaTeX_Fraktur-Bold.woff&quot;: {
&quot;text&quot;: &quot;d09GRgABAAAAAFhoAA4AAAAAi0wAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAABNdAAAAFYAAABgRrphw2NtYXAAAE3MAAAA2wAAAZrCd5kKY3Z0IAAAVLQAAAAnAAAAOgJLDw9mcGdtAABOqAAABYsAAAuX2BTb8Gdhc3AAAFhgAAAACAAAAAgAAAAQZ2x5ZgAAAUQAAEm9AABxCg1qrlxoZWFkAABL7AAAADYAAAA2FUZ04mhoZWEAAE1UAAAAHwAAACQIAgRHaG10eAAATCQAAAEuAAABiOS1Dspsb2NhAABLJAAAAMYAAADGeuVfBG1heHAAAEsEAAAAIAAAACABpwybbmFtZQAAVNwAAAK+AAAG5H9rG3twb3N0AABXnAAAAMEAAAE+MpFEfHByZXAAAFQ0AAAAfgAAAIqSjPzKeNqMeAVg28jS/8ystCvJDJJMMcmW48RJHGOTBlwIFNODtpfCS+EY+475MTMzM/PB//8xMzPzY2a45tPagXv9HgXl2VlpZ34DvxEQNADg98gEBgK0z3AFgeqjzUgzUmlGnMZrr240yHziiw38BBDctP4t+Dp9AqIwBDc/EhaEgPsPfNx35KpeGADsA4BIp4AoTgfTBz4e2JCbl8irP1G/FwAEQjojV+Dg6urqo5mUbRYZN0djrU6zYVtmXARJmEK0iEmJFedO0b0vkXd0QrQt1A0nWE2lh4fTmQrd4mZTqp3T1d//DVVB5PimJ/4mUcg1nBIAgYEfh8/SoxCCHFx4hBExkrbo3tksYIxOAlH/gHBSQQAb5cl9T141f3z1p21bXe2FENKpWERwCGFI5fHRWMM2uRBOxW23up1mx271zeMhKrZdT2iGQ0Yg4I+EBTeuHbYNgT6/3y+0CD0anrpvL15561BSUyltC5GMXncOcXLnA8Cgtv41tkSPwSm4CR6GL/bsXcjFCoK66CfUb0cNC8g0dcPMLqgcQL0edEDQ8QJwA0HncB6EUE6CongGaho7CYzF+0hJ2yJ9BJ1fZLv9U7b3Gj91pwaMNHZ+EAhrWzcS0olpFe6/58KtZ9dOXH744FR32M1nIyE4pZ7yeQ7FStF1iqaMEG5attVsdDvdbsvqC4QXJRV38N8duLzbaQ9c3xgoCGFb3rfdabcqbqUoiu223ejfpdnk5ZZ3b27GPQW5EeNyoVtx5bcjN3O2K5/fq4bVFUUrF9J2pJBT/H5fwJxaXVkkrdZuT554TlStJ5fTudne2sPBSCPdLsUXO2NlVi9m2lMc1dCV5jXPiVoqu3i2miy5iSBLG3MXn3jgcmvWcq6acQNInOfDAVxDwmFxjRdeWjjoiy/ryBhqQyXnaJOUeCB4bG80vVxPVsO41DxdmzxdSBadSDo2dPVcM0/1XWPFNLJkAolj92up0XqlMZlhIVG+7OL7Vu6PcefE8W6cMSU6lAZAOIKfhrf2syTWC/ejGvpBbReJW4O0NOMhijuO57cjyaiD0bBu+P302nCkZPCbzyE/cxMgPHd9EU/Sv0MB+KeiiPVR7DZMU/qu71fv24xLkCqu9KpEpoMrPqxYc3G9FczmkoyM9mQm7zeZax+if2G6Hk8sfvDA6S/fkktlNCFYYGJod+cpzw998ra9x+TJb1hfwEX6Vyh6T4zJJ8ZaTUt+y6dtgt7udjvyW6Lufd9ASAxLmSuqiXTMrR71IZuyq7FQzBwfqtFfG4havPvKa5/7lusvH2uESNPIjJdvWXvNi0/eNuVE5VOH8dfRpE/DFFR6pW5nojbi5IciAUNgQNZKQIRVAAjhQa96mSRLQaXbkWfwHu9FrIxB7zDtpsm57QVZw7blSQfByYXnHc9dTrvT9mK0HVBYUJ2KBAP7DKEFMqk4y6KGtCdKQg8vhkgwlh41RVBfFFpWQeUAftUk0lg2oGkVgwvDigS50/Qx7TiOB3RDc32oIkUtPw/yScU3VRalaX9H2rVj/aNsgY5BAmq9agIJlgM+wiUAhnAUGBAyOg8AuAoIeCjuOnGFJwYoF3iInIiQOeUU256RhQj+ShLxFkXRPvqxRBIffVRRNTxNK+Ktb9WNGF78E0N/1ztRXo4Dwt3ru+AJuAnyEO4FUj6CJQC4oYheX+gO+sIAUm4OMrzb2UDUbbt352M+1YjlOKE62VDQj8G8Sjo1+Gw0o6jJatYfYD4qTU9HMTgd4SE7wGbQDwgd+BLbhTHQINuTqYBwvG8foTQQADTQ+r3Jw66Ql9W8I/z4ID7IVPGlQEqeHhCuW/86fBmuBQ3GDny84FVNn7zJSUCMyJYR3rqxlAGurH46FiVuScNkdyu617nT7kjHrSWKxbpTBITq+n5y6c/BD6GeXyAsS2cMS2dgtGk3vDBB4XkZw59ljPlV82I7mbweg/ibSKj86JmIfwhAMLL+LTLx25CEcWjKjFwetGXfZo7HoX88BMDjGzKEldXPuKVx4qYEdjOPLqmrtheZ3EvqfhHeBALLcRzZNbqQcI9Vq/nCwZv8SIF9szOGYhaqdafQGmv4fcx/A35Z81vVhSsb9cM70iHf2rKws77T+2fKTI9eOTm+mkzmnWw5Gpq6to8QUAk/D2NQ743VkMn8YoDIrlcQINHvOScG5ILBUMKMh4MwxsYG/VcWrq3i02yalmkX2q1Wu9sv+vLc7dagwFfcNfHZBnKVExfKkSOIF6P4rHBC44z0aNK/o0aI+O+aUlxcfvlNioFIFIvZ3KcwEmqw+Kwr0+WyoQoRCgEg1ICoiV+EBhzu+Uo+IhhHRuT15DHP/wkAJAS6AIieBUTslOyfzAPDBAS8XYJ3+5Pkq49cMzdd7Oea7FKCc49AVCQQzcYAniAJLrEoeTQjzrmQWDltqYHNMbd8QBiqouv3LongzqWgVWXLB0j1qUoKs1Gvkgfw7ZVHUsdmjqVO4kp5ssgU5CLAFzRstlKZkSpbXCaVUCcVa5Mc0WruS/VjJbc+Tz78LCzAdT1f0UeAXVRUaWfWszPLEUBVQD2/yQw8axWlzxai0tr0toICTGFrW3oeo+rFEPbu3jk1ORGPahwWcEF4oHYb/WCTTpCFUhbV5laUciHZgSUFfUk/aPsx2x2whT7cjtN+5ZV35q2JuH9kXAkpBVo6Eixqh3KBYmQpxQiZJhbWwtqLzyVzVxwYNny+XftunEiXqrNP8f/R3PzokMX0DAuwFDY09HfiQ5NubEwQKQry6YlE6vR9QaUcZ2gYam7RnWnuDJkuEATWZ6iNXwUXujDZGy8hAe73IbHlrCWrLGO0KgP5wEaFxTgebE06xVhN4ZbMRUv2Txbnpog3TCEcL/1MwQc2ylAueHiLdku6Rn6bZrPd6eCNZ1FRUSBeb+hHFU3LBqeRdMSLv/TRj9kKMoy078n9JyL+a5hzHGpf/E6kpBuIuWwwdmOQMUM19Yq53B36t3/7q30JRrG5d48qyo7wLRL/2Ppu4vjvMC3xtxBYg0gFiX9K4g+MI6gMzgMRnhxEu6r26V5UkfhvK6igqMralh4N8O+0yk4mFfRrHKZxuo9/UcIekYkdIsccNASz2U+FbcjHFadS3IRdov65bleNKn/5FxQIve99qCDjwe7MQ7P1F93sr1xzGalMIUTUtPD8zOrNi782jIJwnqhWQ1KYoZQWRhiLzjYP3Hh/iEaQSGqTL6Dlb1ldOARAUPdqrUO/BpOwgMd6IR0JrTiptBu5yja4uAMEKif1vMCNuWiTgXM+oNCsP3/8dFX7EtXAparmT1XN/OJ3rUpVgaDA7ZsbfpqqLGf5S1Q5MM7WtnbIFuhuqCiApOD5bVXG+PGNO3K2str/6pkIvblOa2LcLQ2lQwGYxElN0v/GBr5CluztMO9ugS/4ZpOSdaHRYa5Uk/V/u1Hhf4uugarwGwEzPJS2ZpsrfgzsXTByu8f2z9funJ06n8keXbn3hWSUfFfMj/QM9M2VRsd360i/JojtRkRVqCoPNg69VvhUreKjbPvovvna5K7u/JGzn9hzrY4X2Y6FIZV07aU7srNVHrVkJ1vfSSv4r5CCKx9RgQg2J9Gw/CDbcVgiEsUNCLbliU25J0LCOzblMkt
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/katex/fonts/KaTeX_Fraktur-Bold.woff&quot;,
&quot;type&quot;: &quot;application/font-woff&quot;
},
&quot;$:/plugins/tiddlywiki/katex/fonts/KaTeX_Fraktur-Regular.woff&quot;: {
&quot;text&quot;: &quot;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
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/katex/fonts/KaTeX_Fraktur-Regular.woff&quot;,
&quot;type&quot;: &quot;application/font-woff&quot;
},
&quot;$:/plugins/tiddlywiki/katex/fonts/KaTeX_Main-Bold.woff&quot;: {
&quot;text&quot;: &quot;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
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/katex/fonts/KaTeX_Main-Bold.woff&quot;,
&quot;type&quot;: &quot;application/font-woff&quot;
},
&quot;$:/plugins/tiddlywiki/katex/fonts/KaTeX_Main-BoldItalic.woff&quot;: {
&quot;text&quot;: &quot;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
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/katex/fonts/KaTeX_Main-BoldItalic.woff&quot;,
&quot;type&quot;: &quot;application/font-woff&quot;
},
&quot;$:/plugins/tiddlywiki/katex/fonts/KaTeX_Main-Italic.woff&quot;: {
&quot;text&quot;: &quot;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
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/katex/fonts/KaTeX_Main-Italic.woff&quot;,
&quot;type&quot;: &quot;application/font-woff&quot;
},
&quot;$:/plugins/tiddlywiki/katex/fonts/KaTeX_Main-Regular.woff&quot;: {
&quot;text&quot;: &quot;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
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/katex/fonts/KaTeX_Main-Regular.woff&quot;,
&quot;type&quot;: &quot;application/font-woff&quot;
},
&quot;$:/plugins/tiddlywiki/katex/fonts/KaTeX_Math-BoldItalic.woff&quot;: {
&quot;text&quot;: &quot;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
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/katex/fonts/KaTeX_Math-BoldItalic.woff&quot;,
&quot;type&quot;: &quot;application/font-woff&quot;
},
&quot;$:/plugins/tiddlywiki/katex/fonts/KaTeX_Math-Italic.woff&quot;: {
&quot;text&quot;: &quot;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
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/katex/fonts/KaTeX_Math-Italic.woff&quot;,
&quot;type&quot;: &quot;application/font-woff&quot;
},
&quot;$:/plugins/tiddlywiki/katex/fonts/KaTeX_SansSerif-Bold.woff&quot;: {
&quot;text&quot;: &quot;d09GRgABAAAAAEhUAA4AAAAAg5gAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAA8mAAAAFYAAABgRuBhfmNtYXAAADzwAAABTAAAAiJym1SAY3Z0IAAAREgAAAAuAAAAOgMBEApmcGdtAAA+PAAABYsAAAuX2BTb8Gdhc3AAAEhMAAAACAAAAAgAAAAQZ2x5ZgAAAUQAADikAABnzq1rTE5oZWFkAAA7CAAAADYAAAA2FIl05WhoZWEAADx4AAAAHwAAACQHTwOkaG10eAAAO0AAAAE2AAAB+BguHJRsb2NhAAA6CAAAAP4AAAD+4cDIZm1heHAAADnoAAAAIAAAACABigw/bmFtZQAARHgAAALAAAAG/O5MD5Vwb3N0AABHOAAAARMAAAF9LbDAfnByZXAAAEPIAAAAfgAAAIqSjPzKeNqUVwV421gSnpn39CSDbMmSJdsxO7a3dcCxHXspXbuUpM1tupjm0sWU26XSMTPfLeMHx8zMzMzw0R4zfXTU9J5kN83ybhsYzfzy++Z/M/NPgKABAF+lODBQQfuQ4AhUrzXNplltmqXG7bsbDYqf/FMD3wcE1wPI8IfBhDLs+HDBJUa4bft7Szt2dh2QsSWOiPp2IGKLwFiEzQ2tCURXAyabW+xGAHJpOwYmGI4i4jXLcUkVolipyv+TrU67ydoN13EdWxWqKElvVTr/rVBYYZELI4ypQmG9Or+cWwqRiCkjtbhAUujDqlhpqgqiwv/wtZjN6OTPiZSYuFRYnFCzajVhARCU8eP4RplNAibg+m5sopBPJjRJAsGoTUgkMwvJzGyOSIT7FCSCJYYAOs0N9bO2vBgefWDood4ozS0udgOJxKZEoidEqma1m+1m03HjfmpFP99Oq1Stdh4pUGEcez3GpUHpHKOYFY2Kvzyck94jkLMXdM5GEsRobJRQvPChLgCCqVMXsAXJwH44Cq/phjsV4soSI0Aa3GpFE8QjAWLE2bXRIJEeIgTCa1RUFH172CCAGMiUHxUYXQUudqsIR244fGD3NYsLl1w0Nzu9pTs12RwfGS5mM4m4ZYYDsB/3m8KuuUW/CNp++j4NzQto8rTZaUumGk5c1oZQVbv5UIfr2WpJ8hhfY4vSmo/1HThZKsp37Ganc7/lFrWYwufnC0NiaZcdv/FGafynXGbBlJUoqhZXZmfz6xXdkUDVksAdylB+1y7bxvul8axnFQYxLSaRM94T1mdmEauzM/bnkqZ6IrkhGiUMZTNBhltnWN963vMVNxlTjyd6kSgduUWNSWT/gQUzaV0CkfWtQdD/GB9JyJC9knArAIOJU1/F39NfYStcDAsw1T03ioAL0yXgnC6ZbI1wxtk2IOBA/EbgTH5dDwgM2VUA4MJcd0NjvFZKKMKtWRVJk89pc1LyGo97jejaar8oq8VKqRr3PD6xcdvntTpZ8nq35d+EF2s2zZZHbtyWdsNqT7aqv9t+VTO7LhtlSmlc2Xx+DAOaxkR4rE6CKB/JJbbcbaSUqG2RurTJwBgyTQm2N4eRUNVNK8JxoVLBfPTohcuTOT0YrFQ1DJRDilJvaMFyAPGuoDCcTbs/lWGBrIYxO2iMhDjfRyIwbhDet0E381krsvJmuzOeAUV2wFfZlyVnQUhDHXowD1u6GxVEYIRsGQhAECyDAC0gtN0Q4DywAIEAX1KDxAN8PpvZvm3zpt4FneZZlUw9W6+UNxVCIlFDu1SUBDYkE5IeR6bf8dKvlIpCxK1+DcJqxYIqyn2wT6hfplZlwJz/Jr75Ax++jwzlQ7/k8XhALRbVQDzOx2MJQZQT4ZiZDPKTv1RCuOs+jPFNta15PTnS/fAvwxtVRVE3hhUa/trXP2rg1618McONq640eLaYP3lz0gwFOH1XDbuxqC5ONhXtaxKVGX3OznHHyGC4XjC7PbNQj03UgcH4qT8ypG/CNCzCAXh319i3VLF0TSAfrxKtTo2kipzDkkCA+HYFEWmJIZHjj811DwS4awBJHzAmAY50Sg/SVWuQXM6ZjLSkC4EvSwgRLqy+jjS/KKesOzuDsGd5ZnF2sdUYWV8qwDROa3KgYJ9rVZWcuq4s0gmfb8f1CZcz178kNy4GNV6V7uJAijobqONZbQko+rcSd6RXXowEsKpQpa//ARKGS7MHI7mnxUrDo4G9o4I0rFcjksrdIcSslTt3JBQWofNaCWNmWjEWrpg/bIrJ6LBqBLjILc8aWuasmEB13LHiUfE0lTM3bmiBUjMc30DfXN6WzHfndWV0bFTbeXtM6EFFaIVX7wtjSLGVwCHBDApWSVvPpqes1HQj6ihBQfqOJ112JEALrWq7YyAThUIunx7T2MoLgoy7zey4QhEW7wHCDvw4/NLXxF1d3VNDTmDjGTE0wddC8JQN1iqhAZ7krfU/yOVr4Iek/jHhPrL+XfR4FQ0Q5k+peL3s3SEwuxFAwCMAcGA2RsKpKbZa8vYI7+78swZ9FTdcB69XZwP3FjWteG8Acbikhq5ytGeF/spV9YV/nbh54u/PVzHAlMjxL0xdvfKluyMAKOeEwF3yrKw8y3ccAcQD6+ryLC+Z5mBPidJqxbRbVd/cxIZLp08rZUKM9EtSkUjqEp3+TJp/3l9fqCJxToq5743zf59/wwGTqQAIm7CMv5RnzsFEd0wgwnTBbzIZY+DVPUdiSMsAwJaAAZtPD9XSQ0V/wWj5syUuM257aufXflGo3nwRpYqsbltG7T75nVZ7UnLjlbs/s/ql3pSt4VYltPKTopOo6rqdKJuhdDmBR/BYopwOmeWRVEXTq6ag1MPEkFSm06etTNpWzjsXLaeoYyWd04exrOfSFdSL6/AYipxOWT0grYcDqFpGP7fP/ytZig5ACerd0TACZpAzSQUCxwVCUJBxYNcAIl+SLj4/bJftSsyjotPqFPwb6Y/XeGGwDXjZe5Xn7RRTBRwmFgwa2RDhsNTym2+mwIYA3Xxz4T8p47WvExERzIrXvbYvw/I5k5FPGPY65tTt8Eu4+TE7BoAWgSjy4I5Z43+Qy1zbMZ0n1DGveLh9DyEMH8cJNMGERDcuHQgL/nYuQzjf3kjCkWz5qtTXIf+gcIofuyKrmqaaueKYkvptUSXk4dRQmCOp4DEA4DNgwDkfCTNigDgQgjAhot/9EZDpnXk0vVUwKA0D9Ekml/+OzGzQPH6mv2Ccs17LZIRefjdz9kLGEBXW6wn060H1dx0Lct20zsg70x8BhAAHEEIBsNBi/h75ULHdZ7lIuEDBVCyJyso7ePDfSVMwwW7hbspUmPG/m7gJBLVTf8T/0DcgCWfDS/opOf484760AWMed+hgX9jWRt3VaNKPNmTUAgbI8KozIO/Sk55FDGgZGCJbGLzH0JezKMLYSHooEoYkJhVfxrJM9vCqTLX6stR2vd2iJL2+FsWdgZ61Oy1/8UBtw87JTBB5qfOyl3ZKHBMFd+cxu0QaFo0QJ6SIbSUTlh2RpkLfKE/t3jtjTChP23zw4OanKRPGoZc0hkeOpFEru9P5ve5m7fKebVl273Jts7uneBkgzAHiz+ibUIaXdiNRRGIImEXO2KAcUoACQXqXgcjbDBjjTwbOI9zX/Qcj3DMIUyJkkJCOrCLWBiVRFkIhn0pasYiuqVDGsirJsmRF+a1/uv1Ns5klWQWFimz8dqc52SqJE06MXMVZbkQDXB0RdGkooA6tfNQIqNYSpakecwohQj4RQUyKlR+t/Ehohl4IqhEnZmr//GcIAGEMAP8qc5+CZ37k7HaNcYaDpDOA/rXfCAC05CcOjPHFtXk/FOSugvzUh1bjBIAEy2eiMvePnHNoxC4qIlnDlqwC9XRprO7w/prjqP3iaDZ8x+qmKYHVSZ8gvKRdC4peUgkqjsbzXJTOH+vWx7pzDCeSvfX8hhemN4qcGPy5/ZlPWRryezen/9/eW8C3dWSLw3POwCVJVyxLMoglS0bZMsWgQJ2kTtqmSZuk3CTbLeN2mZmZeR8tY5t0mRl+j5YeM3f3LRQetOo3c8lynYXvz1QnqnXmyJ45THMzCH+2sAesi2ODBq/ryM29g9lo7rZz962
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/katex/fonts/KaTeX_SansSerif-Bold.woff&quot;,
&quot;type&quot;: &quot;application/font-woff&quot;
},
&quot;$:/plugins/tiddlywiki/katex/fonts/KaTeX_SansSerif-Italic.woff&quot;: {
&quot;text&quot;: &quot;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
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/katex/fonts/KaTeX_SansSerif-Italic.woff&quot;,
&quot;type&quot;: &quot;application/font-woff&quot;
},
&quot;$:/plugins/tiddlywiki/katex/fonts/KaTeX_SansSerif-Regular.woff&quot;: {
&quot;text&quot;: &quot;d09GRgABAAAAAD9kAA4AAAAAdHQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAAzqAAAAFMAAABgRbRZbGNtYXAAADP8AAABSAAAAhoVQrJlY3Z0IAAAO1AAAAAuAAAAOgKPD8NmcGdtAAA1RAAABYsAAAuX2BTb8Gdhc3AAAD9cAAAACAAAAAgAAAAQZ2x5ZgAAAUQAAC+sAABYhCNUxN9oZWFkAAAyEAAAADYAAAA2FDB052hoZWEAADOIAAAAHwAAACQG9wNFaG10eAAAMkgAAAE+AAAB/P+pG7hsb2NhAAAxEAAAAQAAAAEACVIgS21heHAAADDwAAAAIAAAACABggw1bmFtZQAAO4AAAALEAAAHF3AnSqVwb3N0AAA+RAAAARgAAAGPMPGRenByZXAAADrQAAAAfgAAAIqSjPzKeNrdvAVgXNeVMHzOuY8H39DTiAc0MyJLGtBIMmhkS7YFtmQUmCUldtIwJ02TcjcNNOU2ZXJT+Nvsl1qh8lK5XSwvM+8WvoV4/N/7Zp5GkmUv//CN4ui9e857c+655x6+AoIsAHyFwsBABe2CIiFQb2fOzJnpnJnIvm05m6Xwxb/K4i8CwU0A8B1aARf44JrJp+Izc6UIIMIxAPBMAhGbl5AxL5tqmHwqeQWoyaE1gG8dYH6+5OYfn9sXSCZkxeos5qmQz4ZDFA7F1UIufI+xaOw3Fl9I4adSiKnywRQ+v7gIQNCK38UxmzYL7ljxMSLAicmnDEGFhEiEZ1VZEcPzDAE85NAYFlC8fSNws3EfCQrDbjeA23JbAdPrARe4gqamRDqDnDxFTRT7i/lEbs11bNFszfp86HvauaDDi2c6Dm/fjuT8BoKBSzuYzuk/DdfBgxcAZZt8QWBKIgKvh2QF5EW/z80Ul06qpqhLDBE9kwZqWkDjFF8d0ecgzpeaz5w5c92Zc8tLJ47NHj04vXfPrlKoLZkshsZCcVNp6gzmi7lsIVDsz2UjVojU0OpdOKSo/DYXCalKIqHyGytr8VE1EQ8TH4qnCvn+YjG/8TbBL4q5Ir9OpFPplJwvVh4e8N533yEmuVU3zuDJU4eYYiieTCg0N+8zlBOnFNXnu+N2xfBxLAe0Dsvrf0HRvL477lBlwl/s/Jx44CSe9KiI/ZJuqFL5NxHta13Vntg7jlqdzKLWQBE5c9walr+2CnGu3zk+jqrHJ0cbChxLlv4veq/9ADDouvQV/Cz9LWyBApSgvZQaKvb2tGeSTfWhgJd5CHEChCzSCUC0cKqxIRZiQjQ4E7hE5DirOLPUEGdBIhyxmRlOFFJpwZwih1mFdIrfWQVVCYciVjoeDhf7+wv5VHF+bJxZHa0thtfIbZdHFxZGx+fHXJpqbJvUXcV9Lum9xrb0bTqqTfFWvDh6i7uvx+sJq7QP1Yz+Q9/tU/tv9fX1GFmVMJPWet30v8l3oGgO/7LcPNxaeFy6+WbJO9iWGASQuSR+hWl8ll6IQQ5GYRZeM/mUxQUxLRsEQAxoyY0KaLqiLYOuukjSpVOAyI4BY37kkthdwwQGqDBc+4Qk6bOg69KxyqPT86VEgUsMwv59e3dv35ofLYx2d8ZziVydFfBrCnjR61FCnUEhfkKobH71W6lE3OZTLsvlinMpnWJxGwK2qKoKqApWRFZI4hWf+qWBAwNtXXs76/Jt2zUW8XobI0yrd8myK6GJNX2Oy6fuRirvkiX8zODM0Ba/mRkzPZeh09/eeeTa7anZ7MiZbV37qbFl5+gQGYPBVFtw8GLWo5FC9C+S7ta1F8tMwjffdWjvS0xlOJ/qO719Iz4w6Lj0l/R5+gbsgsOwDJ8vBZZnD+0f2d6XrtOZpCIwmqjoYAskiY4BUXhSRsbgGCJABBwFtyk4aoMza8HWZeBuDg7xQRTCf2oVT+Ir3AAEEiNpiYMB2Ozqowym5/mn5Fk6s3d3aUdrcyam8C0g2+uWTitKZQWry1Esit9V1SI0At8gWb4u9tpkIzk1pIhRsVrZEOYri8c3SgWDpdJxRalsFoFCn80NR/zbCx61QxvdXW92jpqegjeRUSKFdP/wNPnvM6PbBqSEe3ccCXEKkbD3Zld3794uKn+sqbEjoDNT8rYHQhp6D/SiFaXmRKMeGt6l+shI8tVmjZI+kGlOjOe8DS3myN4bt3ct7wpo+xa92X2jCd+ReyRFwjCRwj56k6s5cJB60n09keT2QcOdiNY1yOXpIwuhEDb2xYs6awFAmMfvwmdtu3XiAsOa0QqAbbMYCuMDaw2WCcIurQOsH3MMlQugYp6kDeZp4XJLBAgTlxTcx/e9C8ySV5B2GyBeFw4SfzriLxZzquK3rER64rw5Zbz73caUWaI7Pma6zl+877zLFA8U+RuGrviGdDpnRfwqp+HH4uHz4jXj9Fr+7PmLrz1vusQDw5jFz/A3lGBraUABQijl21uaA6pQXMiITQAgAy5uKCExpCUAEHoH2HRLW3tLG5eH+s5gv2251PVyJeyUkL20FalcpdJFIYxVQUylbZnkj1jWd5jl99WRclzVzXqXVMhbTQXJVW8qxnEkVmf6BUzTNsLom95g0PvACKsL+l1yY6PH1yi7/MGoNNLYuJUFI5vDAJDr3E/Rb9AeCEO21KPLBBj0k8R3OIdJOEsIMjIJ2BlAlI7xIWk6EAgGEgEx3f58MVYQc7XMGDfMMVOJp83YgBc70dA9Knb4fOXfUevV8m//Tb36trd5+J1Wp5V/x+vFDiGBl14Fn4XFK0kgANC8kCyvLYHxVQlcB9g4Zl4ugbnNJLAmfxzxeQwjAwbNXL0AIhwBAJwnRMB9AMBBJlPCncVCLOxC4/nxcUBYALCpZ9BbIc7tPIReYYpqtyZy18eovccmaGFxcdHmv2Jbdh9YpZAtueKJ6wD4iM8SyJaQE2FZIhE1BKoyqbrxOJM9mhvLH5HVf3GrBvucZKBblV8cMwwgSF/6S/wGnYcgZODeyadaha8JRI4/zBgeA8QIOlwNgmMy14Eym4GiYmp1tVFENluFMRQKeCUTzcQkpY7vBdvtWGc6i1UjKMaFHbTN4J2D41u7uxuT+wb2XzuQZ54fKGapsT4U7PCHQ2auqd6iGwdbmrfNPvY7MwPzsx8sxd/QQTuGHn1ox1BI0+pfc9ejQ32CcYcA8FNi1tyLDSDJOFGZer2CADKBvATCaZWQiC2AEyzEBQYg4G2raOswrgB0goYgguk3dE1VZIlBEIOq8Bf4puaBTDhWyHH3wrYjhZMvG1Ktl5Y//jJET9eQh5aVfuXih8bHf/oTlLyI42IGHQD4JfoIpOCakktXScQWjISxbbaXEMBegmpIs24KQUAAQlhaC9ow6hC9YnZn4mKFbLPGiUun+crkspWlqv4UBfkVY4en9gz1bDel+qjcfbd3f/4kecb1jtR4zvXud5dvHesqbG3ow69sO7St5I/FPfd7Y6UHfN6dY3qydazXhUenR7uzhfhWQOFX4Ff5Cg3DL5X8USRpCyJtG8oyQFadZIutB4DwDEiSfAxk2TOpIoByDLgxV5zpNoEMEsnS0ir6BqTM1ZGiHKmU2AyuKDDroIEiBLoURhjoT3EF5/W4DU2BYRzW+CoXs8JBTqe5C5mz+SRuhXirXNZT/J4j5HLZ6g5YZweKRX79j7lt2c6eHvSZmUCss7cj29bcEI5QzFMYI6/EhpdMpc3sbZf2uvDBuZtndFVpUMb69w4VRg1MpZBI825vz3TWB7tbW4iSRoeGI/lQeChXFw+xvinVe/SeGaOtrUEeACBoBMDv0uPggSicLrl8iIATLkQcr7pyCgrlo8pUtW+LjhBtChGCVLK8XgJv1GutbgAPeQRr0Bb/BA8xhAwFTVuk7PgNfXjDsWMny+V777EQ9UcljdhheozKx6be976p7/x6+RTeIStHf6L6ZAkBEGKX/gq/xOkuwG9dyCKQ2NUNIjYVco0EtwADSWaSsE+2vPg3k5fkZdgyCBWxtAG3+9/GdaSn4ypomwtRZ3tzYygYMP0+TYECFqpCVMynbbERejGRMGOcb6Ecl6airT8d8amoUD5a5GO/N1CiXaq
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/katex/fonts/KaTeX_SansSerif-Regular.woff&quot;,
&quot;type&quot;: &quot;application/font-woff&quot;
},
&quot;$:/plugins/tiddlywiki/katex/fonts/KaTeX_Script-Regular.woff&quot;: {
&quot;text&quot;: &quot;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
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/katex/fonts/KaTeX_Script-Regular.woff&quot;,
&quot;type&quot;: &quot;application/font-woff&quot;
},
&quot;$:/plugins/tiddlywiki/katex/fonts/KaTeX_Size1-Regular.woff&quot;: {
&quot;text&quot;: &quot;d09GRgABAAAAABooAA4AAAAAMnQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAAPSAAAAE4AAABgQ2JZAWNtYXAAAA+YAAAA7QAAAhobTaO1Y3Z0IAAAFnwAAAAKAAAADAAAAABmcGdtAAAQiAAABYwAAAuX1RTb8Gdhc3AAABogAAAACAAAAAgAAAAQZ2x5ZgAAAUQAAAyXAAAYrO5FPkxoZWFkAAAOZAAAADYAAAA2E2h062hoZWEAAA8oAAAAHwAAACQGkwLaaG10eAAADpwAAACMAAAAzHYWCaVsb2NhAAAN/AAAAGgAAABoij+Qfm1heHAAAA3cAAAAIAAAACAA0Ax7bmFtZQAAFogAAALBAAAG50jJ4LVwb3N0AAAZTAAAANMAAAGcu8W4hHByZXAAABYUAAAAaAAAAH/i0Eg6eNrtWAV420q21jkzGskiW7IlOYljx3ZiO3HQWAxs4ZZxy11Ibm4vM0O/9rvpMjNT+xiWmZmZmZmZo74Z2c7zMvN6PkU0+c//n3PmjGYklCqSJL0RXYlIiqQ+j1GQcLJctat2sWrnK49erFTQXf5KBZ4lgfTY4Bz8G9knxSX2nBiByXKz5jSrnptQmB3zxTlfwMfefm2Kac98psZS197+k9fB1DwjVH99cO/gfm/UKWHzMCVxrDzHmuJYLseyBdZQApV8rlBvNBt2rFgo1hrVqufA1G3XmaaK2tOfrqFqmhzyDcE756ki66+FW+DW1+qySuaDd3DEZnAONY4Y5YgR4IjQqFY8l0kKC3El+JSqR0wIjlFm8jP8K9lsmBr5yemIONHTHOPNnNX9OYbCMUDiGHG76ub58eZXPparp88o/eRppZ+zpaGwleBGigWpWOBGfU9CjZtgNDgGwC8UCv8avFgzjQg9TdSoEfnJaeEDLzgnvb9tjYCwVudO54f3ylc+loyUfrK3RO/B+13KWX2M99vD+02EyhRhjLdirc5P/OCtUK81mqLVxFGv1cMb7sVKo1Kt+iJKTGHixJvie6K5Cd8TJ/gYM62hhcGoCkAhPp3RDEoNLTMd57egRotXOYBIGVpMHd2hy8AyhR1G9FjOkUHWd4yqwX8yvX/cyT4tWbxMA5jIWpQyw5RlamU5Zf0As4rJs+nEVJoBsxw0xlPWU5/ASplCD2UD430p9oSnWqlxA50uvbu43lLol2ZFeJU3P+EKvoJ0S5CQk3ATrsJE43EW6sPWvmqGjuLP+d9xzPOLq2RZNlfEGttGVXV0m9ESOrgwmGJA3Ol0ggHITu5Y1Dg+KFQm7k4VBgrZC1yonT3bEppZZRLbIeaqTEfk07LOeL/OLBMpS6QTPezxT2CpvvEBRjOTLZmVDCBBOyrB+R9iEWv4RcnjSs0wj3I0L8hWmw1O3aM+11gsDILPgh9BRIW4szX7IAIeizAKcnAen3STE0PQtJKzCx9DHVMGcp3ILcADOILvlooc2Q19GCamaNVKsyncx7MgTFrR8jlFEXa50blpUx6cWjskR9Zu0Ay9z7Tuss72ekprB2Wt9cTCp1SB+b0UahGuk3iaVpUVp+ueM1h+KxYl9bfQFnzld9S2/D48cD7o1ga/pbZA/6OIQwBJwggebVdNuVU1s3Y1bADlZ5fx6PK/iUPE4hreu4yHpQTnq4d8myKVXTGA7bwthiMfrLBFVnbcWzYWdpplc+eCIS/h7oh+0ySO0qFtRqDCD41tQ3QUR38O0RCIQ9yuSHZXgAncOrcAq9pAezrI94QfBmob5o4VcMFxNUd8Fx6ShkU9bnEUDhU0C2GlUXgd5GcmDLRIMyZoc+InVUr3PGU4Y5JhbfOcBmVjYEyWU0WjrG3YpA0TMzP8FLwgpkTOHUvqchlsOVdXn/98eJSRm2PqSNkILocr1EZWtqEs68ljLT7A+RwO+aQ6CjmdcEjzguwLyw2hVxASDIVoTzCGLgKgzW1uM9jTxXLThq/CFcHlHfvwqOc/X63nOvbPdVPNNkS9P8/ILfh1aZCzSVPORvb8qputVwWZrB3vuuM88vWsm+feIY6xwwpebW2OkeBKWLkmsc0WmbNKw8oTqrRUomUxg+0O9nRuykqZX2FPn9RleUjMuaHlX2GL0/h50z99RcccTAtzAI/o3AjbP2+Oc9hNFlaMg7SK2/4Ct91cqcONbNZPo8+HcejxbM71JN9TIFGttMtulRuXB8RwC0d5bQJr6wn8J/zHsOZrmEh48zPNE+ngW/clsBEYDR75vo9FL5u5ZrVmlqKrreBwcJgwAi88fvzFLwL8Kl7VN93PYM2hRFxBIMEGjLBgLwB1Bo7GsuX/GgFEhVD88JVXwvnzekx47OrgLPkpnz1SIpMVkTkVnhZSU9QIFxgyXhmKvCqE5yYocOJigAAVg0fpS2ueuAGUmMHhYk4Wenf86OtfB5rVdIctv+jW4KUP5N2Xf2pYvb1ruaWHnf+W9FK8XkpyS0rLP7wMxcLKU1+HhXW0UavVH04HZADi2AQAF6NRXH4qRqNaJFturtkwvWFNs5yNSBIKNHh8iDbFa8pArwL4KxCbv8nMx1vXtvNrTGq/ion4unk7LpAhaRPXNZPmurxKe7ZVEq0a2+hqlUbVExU3txJzUXJF704TRPnL/SOpJKiU6DTmx82kYUetWC/t2dKTxqg8MZ0KXxMatb3RhGFqViyhmX7/VG96S9p4eH8ibQABBA2NiFWYfMfL73yL+9CJGAOyftxLtV4jyKpR67/o3i9d+p/aBWPTSXPa7fMkFIrIy0JFD+C+vdfiTBr/WKoG/+K+gZvbb3Vqe471K/6ZkmjM/+M6NvWHBEUiIipysh2Vd0naC97yXyIy5I8YmX/GF27+C4261F8qschK/Toh3Szdh+fV0h3XX3LPyV+VV832ZBauF6axyY9fG1v+z62lE7+0UFEs+v9hjtdEjzxjLjdQFyg1/lnihongVjjKz+dBLEpkasIGX1V798tRmwJoKvzy6MQ11e/qiDozolo7Ut8DAIKj6yeHAOU3jA2ogCxGWKxQ//kYjr12GIkMua3JXDa5P4uUgiZvn5Z/uXdHH3YCI7xvNtfpax3Kz5QTbWdjHQCMnbXxjXFGUxv7yhfEKKN9Wx7kyoq1rfX9opAIfl1Ki1W5WFH7LX+25mPP8YUnW5/qSCSFzcd9QJhFvccz8eyePZh0+MXgpQ8KvszMH/XYjKjkkcR1aFD9wuc1aicdcgIm4WE//ZjidNsT30s9KObkWmgIGo6IazXMAIVhZ3lAxrFYaPqOZxHoWX/5qpEYmp6TxD17zqLlWrpCjUcN7R8GxNc6yTj96YefDpWn3TZKnKRNtc9/IahSW5W1FPzPpd+8EbVuBuOcgQVCcWjKjvHwcwKCTXuxYrfm8BrW28sUkZnkAdG+TATBeMEpOQIRQx0bW9h8UAOMZNI6orXqwM0bplfv1BE+NNDPYB3MqktPNwFA791y5FY1eGXwWtY/cAU8/XJz35oDmdRFc2bwsm5eY5xXbmVF6Ntx3+sMhmbNqYuHITPRQhe1uG/WYv06AYyevrsTv/nAKgvRTAmi2sHtF5YWi4vbBUmCn9X65OBlwcvNI7eZeGDNflNQyfSz4LXBK5XbjmxPalpy+5HbFJiFdcxq77m8iuyT5J/dc3nzD97R2nC5tbVTAmbYp3unxPZ+UAq3Seh9fgWO2LkphTg/ubX0S3FsjlP/XOkHwVvoffh+iwSwSpLgQrG26+CIdR1fSnVWc/PB2XCPKNHJaKj4CULijhvGGbHmOM0G3BjHU6dPn0LbZHjnqVN3okL2OUrwqeCTvH1KcQwF8pBWIQ15xRC4OznuTW1cox0fHhjHSSC28iQeJ7gT44bcAmSmHZogsw7oSvCx4NNq8OngY4rhKJCBAd4ykkTEVzxN87hn+JpqI6+Gd1lXGYwD4bzbqeh1ylm7jLVrYQNqK1nJEivLa5HEQ2JMtWoj3HBkV1Qdy934ynrBgFzh4fOH77lwYP4RhVyu8Ah8wQeeECl7pfu80gGwj97tQQPDzdGb/ttlQaKcHhwrbyzjW/KgJB5y2e6768XFu84/vJDPc4i7Li4
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/katex/fonts/KaTeX_Size1-Regular.woff&quot;,
&quot;type&quot;: &quot;application/font-woff&quot;
},
&quot;$:/plugins/tiddlywiki/katex/fonts/KaTeX_Size2-Regular.woff&quot;: {
&quot;text&quot;: &quot;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
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/katex/fonts/KaTeX_Size2-Regular.woff&quot;,
&quot;type&quot;: &quot;application/font-woff&quot;
},
&quot;$:/plugins/tiddlywiki/katex/fonts/KaTeX_Size3-Regular.woff&quot;: {
&quot;text&quot;: &quot;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
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/katex/fonts/KaTeX_Size3-Regular.woff&quot;,
&quot;type&quot;: &quot;application/font-woff&quot;
},
&quot;$:/plugins/tiddlywiki/katex/fonts/KaTeX_Size4-Regular.woff&quot;: {
&quot;text&quot;: &quot;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
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/katex/fonts/KaTeX_Size4-Regular.woff&quot;,
&quot;type&quot;: &quot;application/font-woff&quot;
},
&quot;$:/plugins/tiddlywiki/katex/fonts/KaTeX_Typewriter-Regular.woff&quot;: {
&quot;text&quot;: &quot;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
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/katex/fonts/KaTeX_Typewriter-Regular.woff&quot;,
&quot;type&quot;: &quot;application/font-woff&quot;
},
&quot;$:/plugins/tiddlywiki/katex/katex-logo&quot;: {
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/katex/katex-logo&quot;,
&quot;text&quot;: &quot;$$\\KaTeX$$\n&quot;
},
&quot;$:/plugins/tiddlywiki/katex/latex-parser.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/katex/latex-parser.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/plugins/tiddlywiki/katex/latex-parser.js\ntype: application/javascript\nmodule-type: wikirule\n\nWiki text inline rule for LaTeX. For example:\n\n```\n\t$$latex-goes-here$$\n```\n\nThis wikiparser can be modified using the rules eg:\n\n```\n\\rules except latex-parser \n\\rules only latex-parser \n```\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nexports.name = \&quot;latex-parser\&quot;;\nexports.types = {inline: true};\n\nexports.init = function(parser) {\n\tthis.parser = parser;\n\t// Regexp to match\n\tthis.matchRegExp = /\\$\\$(?!\\$)/mg;\n};\n\nexports.parse = function() {\n\t// Move past the match\n\tthis.parser.pos = this.matchRegExp.lastIndex;\n\tvar reEnd = /\\$\\$/mg;\n\t// Look for the end marker\n\treEnd.lastIndex = this.parser.pos;\n\tvar match = reEnd.exec(this.parser.source),\n\t\ttext,\n\t\tdisplayMode;\n\t// Process the text\n\tif(match) {\n\t\ttext = this.parser.source.substring(this.parser.pos,match.index);\n\t\tdisplayMode = text.indexOf('\\n') != -1;\n\t\tthis.parser.pos = match.index + match[0].length;\n\t} else {\n\t\ttext = this.parser.source.substr(this.parser.pos);\n\t\tdisplayMode = false;\n\t\tthis.parser.pos = this.parser.sourceLength;\n\t}\n\treturn [{\n\t\ttype: \&quot;latex\&quot;,\n\t\tattributes: {\n\t\t\ttext: {\n\t\t\t\ttype: \&quot;text\&quot;,\n\t\t\t\tvalue: text\n\t\t\t},\n\t\t\tdisplayMode: {\n\t\t\t\ttype: \&quot;text\&quot;,\n\t\t\t\tvalue: displayMode ? \&quot;true\&quot; : \&quot;false\&quot;\n\t\t\t}\n\t\t}\n\t}];\n};\n\n})();\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;wikirule&quot;
},
&quot;$:/plugins/tiddlywiki/katex/readme&quot;: {
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/katex/readme&quot;,
&quot;text&quot;: &quot;This is a TiddlyWiki plugin for mathematical and chemical typesetting based on [ext[KaTeX from Khan Academy|http://khan.github.io/KaTeX/]] (v0.10.2) and [ext[mhchem|https://github.com/mhchem/MathJax-mhchem]] through a [ext[Katex extension|https://github.com/KaTeX/KaTeX/tree/master/contrib/mhchem]].\n\nIt is completely self-contained, and doesn't need an Internet connection in order to work. It works both in the browser and under Node.js.\n\n[[Source code|https://github.com/Jermolene/TiddlyWiki5/blob/master/plugins/tiddlywiki/katex]]\n&quot;
},
&quot;$:/plugins/tiddlywiki/katex/snippets/logo&quot;: {
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/katex/snippets/logo&quot;,
&quot;tags&quot;: &quot;$:/tags/KaTeX/Snippet&quot;,
&quot;text&quot;: &quot;$$\\KaTeX$$\n&quot;
},
&quot;$:/plugins/tiddlywiki/katex/styles&quot;: {
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/katex/styles&quot;,
&quot;tags&quot;: &quot;[[$:/tags/Stylesheet]]&quot;,
&quot;text&quot;: &quot;\\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline\n\n/* KaTeX styles */\n\n{{$:/plugins/tiddlywiki/katex/katex.min.css}}\n\n/* Force text-rendering (see https://github.com/Jermolene/TiddlyWiki5/issues/2500) */\n\n.katex {\n text-rendering: auto;\n}\n\n/* Avoid TW5's max-width: 100% */\n\n.katex svg {\n max-width: initial;\n}\n\n/* Override font URLs */\n\n@font-face {\n\tfont-family: KaTeX_AMS;\n\tsrc: url(&lt;&lt;datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_AMS-Regular.woff'&gt;&gt;) format('woff');\n\tfont-weight: 400;\n\tfont-style: normal;\n}\n\n@font-face {\n\tfont-family: KaTeX_Caligraphic;\n\tsrc: url(&lt;&lt;datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Caligraphic-Bold.woff'&gt;&gt;) format('woff');\n\tfont-weight: 700;\n\tfont-style: normal;\n}\n\n@font-face {\n\tfont-family: KaTeX_Caligraphic;\n\tsrc: url(&lt;&lt;datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Caligraphic-Regular.woff'&gt;&gt;) format('woff');\n\tfont-weight: 400;\n\tfont-style: normal;\n}\n\n@font-face {\n\tfont-family: KaTeX_Fraktur;\n\tsrc: url(&lt;&lt;datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Fraktur-Bold.woff'&gt;&gt;) format('woff');\n\tfont-weight: 700;\n\tfont-style: normal;\n}\n\n@font-face {\n\tfont-family: KaTeX_Fraktur;\n\tsrc: url(&lt;&lt;datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Fraktur-Regular.woff'&gt;&gt;) format('woff');\n\tfont-weight: 400;\n\tfont-style: normal;\n}\n\n@font-face {\n\tfont-family: KaTeX_Main;\n\tsrc: url(&lt;&lt;datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Main-Bold.woff'&gt;&gt;) format('woff');\n\tfont-weight: 700;\n\tfont-style: normal;\n}\n\n@font-face {\n\tfont-family: KaTeX_Main;\n\tsrc: url(&lt;&lt;datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Main-BoldItalic.woff'&gt;&gt;) format('woff');\n\tfont-weight: 700;\n\tfont-style: italic;\n}\n\n@font-face {\n\tfont-family: KaTeX_Main;\n\tsrc: url(&lt;&lt;datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Main-Italic.woff'&gt;&gt;) format('woff');\n\tfont-weight: 400;\n\tfont-style: italic;\n}\n\n@font-face {\n\tfont-family: KaTeX_Main;\n\tsrc: url(&lt;&lt;datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Main-Regular.woff'&gt;&gt;) format('woff');\n\tfont-weight: 400;\n\tfont-style: normal;\n}\n\n@font-face {\n\tfont-family: KaTeX_Math;\n\tsrc: url(&lt;&lt;datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Math-Italic.woff'&gt;&gt;) format('woff');\n\tfont-weight: 400;\n\tfont-style: italic;\n}\n\n@font-face {\n\tfont-family: KaTeX_SansSerif;\n\tsrc: url(&lt;&lt;datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_SansSerif-Bold.woff'&gt;&gt;) format('woff');\n\tfont-weight: 700;\n\tfont-style: normal;\n}\n\n@font-face {\n\tfont-family: KaTeX_SansSerif;\n\tsrc: url(&lt;&lt;datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_SansSerif-Italic.woff'&gt;&gt;) format('woff');\n\tfont-weight: 400;\n\tfont-style: italic;\n}\n\n@font-face {\n\tfont-family: KaTeX_SansSerif;\n\tsrc: url(&lt;&lt;datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_SansSerif-Regular.woff'&gt;&gt;) format('woff');\n\tfont-weight: 400;\n\tfont-style: normal;\n}\n\n@font-face {\n\tfont-family: KaTeX_Script;\n\tsrc: url(&lt;&lt;datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Script-Regular.woff'&gt;&gt;) format('woff');\n\tfont-weight: 400;\n\tfont-style: normal;\n}\n\n@font-face {\n\tfont-family: KaTeX_Size1;\n\tsrc: url(&lt;&lt;datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Size1-Regular.woff'&gt;&gt;) format('woff');\n\tfont-weight: 400;\n\tfont-style: normal;\n}\n\n@font-face {\n\tfont-family: KaTeX_Size2;\n\tsrc: url(&lt;&lt;datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Size2-Regular.woff'&gt;&gt;) format('woff');\n\tfont-weight: 400;\n\tfont-style: normal;\n}\n\n@font-face {\n\tfont-family: KaTeX_Size3;\n\tsrc: url(&lt;&lt;datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Size3-Regular.woff'&gt;&gt;) format('woff');\n\tfont-weight: 400;\n\tfont-style: normal;\n}\n\n@font-face {\n\tfont-family: KaTeX_Size4;\n\tsrc: url(&lt;&lt;datauri '$:/plugins/tiddlywiki/katex/fonts/KaTeX_Size4-Regular.woff'&g
},
&quot;$:/plugins/tiddlywiki/katex/ui/EditorToolbar/katex-dropdown&quot;: {
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/katex/ui/EditorToolbar/katex-dropdown&quot;,
&quot;text&quot;: &quot;\\define toolbar-button-stamp-inner()\n&lt;$button tag=\&quot;a\&quot;&gt;\n\n&lt;$action-sendmessage\n\t$message=\&quot;tm-edit-text-operation\&quot;\n\t$param=\&quot;replace-selection\&quot;\n\ttext={{$(snippetTitle)$}}\n/&gt;\n\n&lt;$action-deletetiddler\n\t$tiddler=&lt;&lt;dropdown-state&gt;&gt;\n/&gt;\n\n&lt;$view tiddler=&lt;&lt;snippetTitle&gt;&gt; field=\&quot;caption\&quot; mode=\&quot;inline\&quot;&gt;\n\n&lt;$transclude tiddler=&lt;&lt;snippetTitle&gt;&gt; mode=\&quot;inline\&quot;/&gt;\n\n&lt;/$view&gt;\n\n&lt;/$button&gt;\n\\end\n\n&lt;$list filter=\&quot;[all[shadows+tiddlers]tag[$:/tags/KaTeX/Snippet]!has[draft.of]sort[caption]]\&quot; variable=\&quot;snippetTitle\&quot;&gt;\n\n&lt;&lt;toolbar-button-stamp-inner&gt;&gt;\n\n&lt;/$list&gt;\n\n----\n\n&lt;$button tag=\&quot;a\&quot;&gt;\n\n&lt;$action-sendmessage\n\t$message=\&quot;tm-new-tiddler\&quot;\n\ttags=\&quot;$:/tags/KaTeX/Snippet\&quot;\n\ttext=\&quot;\&quot;\&quot;$$snippet$$\&quot;\&quot;\&quot;\n\tcaption=\&quot;description shown in dropdown\&quot;\n/&gt;\n\n&lt;$action-deletetiddler\n\t$tiddler=&lt;&lt;dropdown-state&gt;&gt;\n/&gt;\n\n&lt;em&gt;\n\n&lt;$text text={{$:/language/Buttons/Stamp/Caption/New}}/&gt;\n\n&lt;/em&gt;\n\n&lt;/$button&gt;\n\n[ext[KaTeX functions catalogue|https://khan.github.io/KaTeX/function-support.html]]\n\n[ext[Chemical equations reference|https://mhchem.github.io/MathJax-mhchem/]]\n&quot;
},
&quot;$:/plugins/tiddlywiki/katex/ui/EditorToolbar/katex&quot;: {
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/katex/ui/EditorToolbar/katex&quot;,
&quot;tags&quot;: &quot;$:/tags/EditorToolbar&quot;,
&quot;icon&quot;: &quot;$:/plugins/tiddlywiki/katex/katex-logo&quot;,
&quot;caption&quot;: &quot;katex&quot;,
&quot;description&quot;: &quot;create and insert preconfigured KaTeX snippets&quot;,
&quot;condition&quot;: &quot;[&lt;targetTiddler&gt;!is[image]]&quot;,
&quot;dropdown&quot;: &quot;$:/plugins/tiddlywiki/katex/ui/EditorToolbar/katex-dropdown&quot;,
&quot;text&quot;: &quot;&quot;
},
&quot;$:/plugins/tiddlywiki/katex/usage&quot;: {
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/katex/usage&quot;,
&quot;text&quot;: &quot;!! Reference:\n\n# Mathematical typesetting: [ext[https://katex.org/docs/supported.html]]\n# Chemical typesetting: [ext[https://mhchem.github.io/MathJax-mhchem/]]\n\n&lt;hr&gt;\n\nThe usual way to include ~LaTeX is to use `$$`. For example:\n\n```\n$$\\displaystyle f(x) = \\int_{-\\infty}^\\infty\\hat f(\\xi)\\,e^{2 \\pi i \\xi x}\\,d\\xi$$\n```\n\nSingle line equations will render in inline mode. If there are newlines between the `$$` delimiters, the equations will be rendered in display mode.\n\nThe underlying widget can also be used directly, giving more flexibility:\n\n```\n&lt;$latex text=\&quot;f(x) = \\int_{-\\infty}^\\infty\\hat f(\\xi)\\,e^{2 \\pi i \\xi x}\\,d\\xi\&quot; displayMode=\&quot;true\&quot;&gt;&lt;/$latex&gt;\n```\n\nThe KaTeX widget is provided under the name `&lt;$latex&gt;` and is also available under the alias `&lt;$katex&gt;`. It's better to use the generic `&lt;$latex&gt;` name unless you are running multiple ~LaTeX plugins and wish to specifically target KaTeX.\n&quot;
},
&quot;$:/plugins/tiddlywiki/katex/wrapper.js&quot;: {
&quot;title&quot;: &quot;$:/plugins/tiddlywiki/katex/wrapper.js&quot;,
&quot;text&quot;: &quot;/*\\\ntitle: $:/plugins/tiddlywiki/katex/wrapper.js\ntype: application/javascript\nmodule-type: widget\n\nWrapper for `katex.min.js` that provides a `&lt;$latex&gt;` widget. It is also available under the alias `&lt;$katex&gt;`\n\n\\*/\n(function(){\n\n/*jslint node: true, browser: true */\n/*global $tw: false */\n\&quot;use strict\&quot;;\n\nvar katex = require(\&quot;$:/plugins/tiddlywiki/katex/katex.min.js\&quot;),\n chemParse = require(\&quot;$:/plugins/tiddlywiki/katex/mhchem.min.js\&quot;),\n\tWidget = require(\&quot;$:/core/modules/widgets/widget.js\&quot;).widget;\n// Add \\ce, \\pu, and \\tripledash to the KaTeX macros.\nkatex.__defineMacro(\&quot;\\\\ce\&quot;, function(context) {\n return chemParse(context.consumeArgs(1)[0], \&quot;ce\&quot;)\n});\nkatex.__defineMacro(\&quot;\\\\pu\&quot;, function(context) {\n return chemParse(context.consumeArgs(1)[0], \&quot;pu\&quot;);\n});\n// Needed for \\bond for the ~ forms\n// Raise by 2.56mu, not 2mu. We're raising a hyphen-minus, U+002D, not \n// a mathematical minus, U+2212. So we need that extra 0.56.\nkatex.__defineMacro(\&quot;\\\\tripledash\&quot;, \&quot;{\\\\vphantom{-}\\\\raisebox{2.56mu}{$\\\\mkern2mu\&quot;\n+ \&quot;\\\\tiny\\\\text{-}\\\\mkern1mu\\\\text{-}\\\\mkern1mu\\\\text{-}\\\\mkern2mu$}}\&quot;);\n\nvar KaTeXWidget = function(parseTreeNode,options) {\n\tthis.initialise(parseTreeNode,options);\n};\n\n/*\nInherit from the base widget class\n*/\nKaTeXWidget.prototype = new Widget();\n\n/*\nRender this widget into the DOM\n*/\nKaTeXWidget.prototype.render = function(parent,nextSibling) {\n\t// Housekeeping\n\tthis.parentDomNode = parent;\n\tthis.computeAttributes();\n\tthis.execute();\n\t// Get the source text\n\tvar text = this.getAttribute(\&quot;text\&quot;,this.parseTreeNode.text || \&quot;\&quot;);\n\tvar displayMode = this.getAttribute(\&quot;displayMode\&quot;,this.parseTreeNode.displayMode || \&quot;false\&quot;) === \&quot;true\&quot;;\n\t// Render it into a span\n\tvar span = this.document.createElement(\&quot;span\&quot;),\n\t\toptions = {throwOnError: false, displayMode: displayMode};\n\ttry {\n\t\tif(!this.document.isTiddlyWikiFakeDom) {\n\t\t\tkatex.render(text,span,options);\n\t\t} else {\n\t\t\tspan.innerHTML = katex.renderToString(text,options);\n\t\t}\n\t} catch(ex) {\n\t\tspan.className = \&quot;tc-error\&quot;;\n\t\tspan.textContent = ex;\n\t}\n\t// Insert it into the DOM\n\tparent.insertBefore(span,nextSibling);\n\tthis.domNodes.push(span);\n};\n\n/*\nCompute the internal state of the widget\n*/\nKaTeXWidget.prototype.execute = function() {\n\t// Nothing to do for a katex widget\n};\n\n/*\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\n*/\nKaTeXWidget.prototype.refresh = function(changedTiddlers) {\n\tvar changedAttributes = this.computeAttributes();\n\tif(changedAttributes.text) {\n\t\tthis.refreshSelf();\n\t\treturn true;\n\t} else {\n\t\treturn false;\t\n\t}\n};\n\nexports.latex = KaTeXWidget;\nexports.katex = KaTeXWidget;\n\n})();\n\n&quot;,
&quot;type&quot;: &quot;application/javascript&quot;,
&quot;module-type&quot;: &quot;widget&quot;
}
}
}</pre>
</div>
<div caption="copy public link" created="20201120172611922" creator="soren" description="Copy a link to this tiddler in the public Zettelkasten" list-after="$:/core/ui/Buttons/info" modified="20210922125543768" modifier="soren" tags="$:/tags/ViewToolbar" title="$:/sib/Buttons/CopyPublicZettelkastenLink" type="text/vnd.tiddlywiki">
2021-09-21 16:32:33 +00:00
<pre>\whitespace trim
\define copier()
https://zettelkasten.sorenbjornstad.com/#$(tidTitle)$
\end
&lt;$set name=&quot;tidTitle&quot; value={{!!title}}&gt;
&lt;$button message=&quot;tm-copy-to-clipboard&quot; param=&lt;&lt;copier&gt;&gt; tooltip={{$:/sib/Buttons/CopyPublicZettelkastenLink!!caption}} class=&lt;&lt;tv-config-toolbar-class&gt;&gt;&gt;
&lt;$list filter=&quot;[&lt;tv-config-toolbar-icons&gt;match[yes]]&quot;&gt;
2021-09-21 16:32:33 +00:00
{{$:/core/images/permalink-button}}
&lt;/$list&gt;
&lt;$list filter=&quot;[&lt;tv-config-toolbar-text&gt;match[yes]]&quot;&gt;
&lt;span class=&quot;tc-btn-text&quot;&gt;
&lt;$text text=&quot; &quot;/&gt;
&lt;$text text={{$:/sib/Buttons/CopyPublicZettelkastenLink!!caption}}/&gt;
&lt;/span&gt;
&lt;/$list&gt;
2021-09-21 16:32:33 +00:00
&lt;/$button&gt;
&lt;/$set&gt;</pre>
</div>
<div caption="copy tiddler title" created="20200419143537510" creator="soren" description="Copy the name of this tiddler to the clipboard" list-after="$:/core/ui/Buttons/info" modified="20210922125723154" modifier="soren" tags="$:/tags/ViewToolbar" title="$:/sib/Buttons/CopyTitleReference" type="text/vnd.tiddlywiki">
2021-09-21 16:32:33 +00:00
<pre>\whitespace trim
&lt;$button message=&quot;tm-copy-to-clipboard&quot; param={{!!title}} tooltip={{$:/sib/Buttons/CopyTitleReference!!caption}} class=&lt;&lt;tv-config-toolbar-class&gt;&gt;&gt;
&lt;$list filter=&quot;[&lt;tv-config-toolbar-icons&gt;match[yes]]&quot;&gt;
&lt;i class=&quot;far fa-copy&quot; style=&quot;font-size:160%; position:relative; bottom:-4px; left:-1px;&quot;/&gt;
&lt;/$list&gt;
&lt;$list filter=&quot;[&lt;tv-config-toolbar-text&gt;match[yes]]&quot;&gt;
&lt;span class=&quot;tc-btn-text&quot;&gt;
&lt;$text text=&quot; &quot;/&gt;
&lt;$text text={{$:/sib/Buttons/CopyTitleReference!!caption}}/&gt;
&lt;/span&gt;
&lt;/$list&gt;
2021-09-21 16:32:33 +00:00
&lt;/$button&gt;</pre>
</div>
<div caption="Excise private chunk" condition="[&lt;targetTiddler&gt;type[]] [&lt;targetTiddler&gt;type[text/vnd.tiddlywiki]] +[first[]]" created="20210522034413324" description="Create a new private chunk from the selection" icon="$:/core/images/locked-padlock" list-after="$:/core/ui/EditorToolbar/excise" modified="20210522034828757" shortcuts="((excise-private-chunk))" tags="$:/tags/EditorToolbar" title="$:/sib/Buttons/excise-private-chunk" type="text/vnd.tiddlywiki">
<pre>&lt;$action-sendmessage
$message=&quot;tm-edit-text-operation&quot;
$param=&quot;excisePrivateChunk&quot;
/&gt;</pre>
</div>
<div caption="new source" created="20200822190145295" description="Create a new source tiddler" list-after="$:/core/ui/Buttons/new-tiddler" modified="20210522014032330" tags="$:/tags/PageControls" title="$:/sib/Buttons/NewSource" type="text/vnd.tiddlywiki">
<pre>&lt;$button class=&lt;&lt;tv-config-toolbar-class&gt;&gt; selectedClass=&quot;tc-selected&quot; tooltip={{!!caption}}&gt;
&lt;$list filter=&quot;[&lt;tv-config-toolbar-icons&gt;match[yes]]&quot;&gt;
{{$:/core/images/quote}}
&lt;/$list&gt;
&lt;$list filter=&quot;[&lt;tv-config-toolbar-text&gt;match[yes]]&quot;&gt;
&lt;span class=&quot;tc-btn-text&quot;&gt;&lt;$text text={{$:/sib/Buttons/NewSource!!caption}}/&gt;&lt;/span&gt;
&lt;/$list&gt;
&lt;$action-sendmessage
$message=&quot;tm-new-tiddler&quot;
title=&quot;New Source&quot;
tags=&quot;Source&quot;
caption=&quot;&quot;
medium=&quot;&quot;
url=&quot;&quot;
readstatus=&quot;unread&quot;
author=&quot;&quot;
completed=&quot;&quot;
year=&quot;2021&quot;
/&gt;
&lt;/$button&gt;</pre>
</div>
<div created="20210307212922834" modified="20210825122822234" modifier="soren" tags="$:/tags/PageControls" title="$:/sib/Buttons/ReadingInbox" type="text/vnd.tiddlywiki">
<pre>&lt;$button to=&quot;$:/sib/Tools/ReadingInbox&quot; class=&lt;&lt;tv-config-toolbar-class&gt;&gt; selectedClass=&quot;tc-selected&quot;&gt;&lt;i class=&quot;fa fa-inbox&quot; style=&quot;font-size:140%; position:relative; bottom:-3px; left:-1px;&quot;/&gt;&lt;/$button&gt;</pre>
</div>
<div caption="tools" created="20210825121643555" creator="soren" description="Open the Zettelkasten tools" list-after="$:/core/ui/Buttons/control-panel" modified="20210825121844661" modifier="soren" tags="$:/tags/PageControls" title="$:/sib/Buttons/Tools" type="text/vnd.tiddlywiki">
<pre>&lt;$button class=&lt;&lt;tv-config-toolbar-class&gt;&gt; selectedClass=&quot;tc-selected&quot; tooltip={{!!caption}}&gt;
&lt;$list filter=&quot;[&lt;tv-config-toolbar-icons&gt;match[yes]]&quot;&gt;
{{$:/core/images/theme-button}}
&lt;/$list&gt;
&lt;$list filter=&quot;[&lt;tv-config-toolbar-text&gt;match[yes]]&quot;&gt;
&lt;span class=&quot;tc-btn-text&quot;&gt;&lt;$text text={{$:/sib/Buttons/Tools!!caption}}/&gt;&lt;/span&gt;
&lt;/$list&gt;
&lt;$action-navigate $to=&quot;$:/sib/Tools&quot;/&gt;
&lt;/$button&gt;</pre>
</div>
<div created="20210523144533696" modified="20210523144359908" tags="" title="$:/sib/Documentation" type="text/vnd.tiddlywiki">
<pre>&lt;&lt;tabs &quot;[prefix[$:/sib/Documentation/]]&quot; default:&quot;$:/sib/Documentation/Macros&quot;&gt;&gt;</pre>
</div>
<div caption="Macros" created="20210523143205876" modified="20210523144411256" tags="" title="$:/sib/Documentation/Macros" type="text/vnd.tiddlywiki">
<pre>Click into a macro to see an example of its usage and its definition.
&lt;table&gt;
&lt;tr&gt;
&lt;th style=&quot;width: 10em;&quot;&gt;Name&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;$list filter=&quot;[prefix[$:/sib/Macros/]tag[$:/tags/Macro]]&quot;&gt;
&lt;tr&gt;
&lt;td&gt;&lt;$link to=&lt;&lt;currentTiddler&gt;&gt;&gt;&lt;$text text={{{ [all[current]removeprefix[$:/sib/Macros/]] }}}/&gt;&lt;/$link&gt;&lt;/td&gt;
&lt;td&gt;{{!!description}}&lt;/td&gt;
&lt;/tr&gt;
&lt;/$list&gt;
&lt;/table&gt;</pre>
</div>
<div caption="View templates" created="20210523143729032" modified="20210523144417979" tags="" title="$:/sib/Documentation/ViewTemplates" type="text/vnd.tiddlywiki">
<pre>\define lastbit() [{!!caption}!is[blank]] ~[split[/]last[]]
&lt;table&gt;
&lt;tr&gt;
&lt;th style=&quot;width: 15em;&quot;&gt;Name&lt;/th&gt;
&lt;th&gt;Purpose&lt;/th&gt;
&lt;th&gt;Transcluded in&lt;/th&gt;
&lt;/tr&gt;
&lt;$list filter=&quot;[prefix[$:/sib/]tag[$:/tags/ViewTemplate]sortsub&lt;lastbit&gt;]&quot;&gt;
&lt;tr&gt;
&lt;td&gt;&lt;$link to=&lt;&lt;currentTiddler&gt;&gt;&gt;&lt;$text text={{{ [{!!caption}!is[blank]] ~[all[current]subfilter&lt;lastbit&gt;] }}}/&gt;&lt;/$link&gt;&lt;/td&gt;
&lt;td&gt;{{!!description}}&lt;/td&gt;
&lt;td&gt;{{!!transcludedin}}&lt;/td&gt;
&lt;/tr&gt;
&lt;/$list&gt;
&lt;/table&gt;</pre>
</div>
<div caption="confident" color="green" created="20210508225005508" modified="20210818135736812" section="main" stackorder="10" tags="" title="$:/sib/EpistemicStatus/confident" type="text/vnd.tiddlywiki">
<pre>I would vouch for this idea without qualification in a public blog post or speech. That said, [[I could still be wrong|IntellectualHumility]], and I'm willing to hear why I'm wrong and [[change my mind|ChangeYourMind]] if warranted.</pre>
</div>
<div created="20210508223048629" creator="soren" description="Show the [[epistemic status|EpistemicStatuses]] of the current tiddler, if any. The status is editable in the private edition." modified="20210920193540286" modifier="soren" tags="$:/tags/ViewTemplate" title="$:/sib/EpistemicStatus/Display" transcludedin="All [[idea tiddlers|ZettelkastenCardType]]: those that are not tagged with a red type tag and are not system tiddlers, except that index tiddlers are included." type="text/vnd.tiddlywiki">
<pre>\define color-style() color: $(itemColor)$;
&lt;$list filter=&lt;&lt;ff EpistemicStatus&gt;&gt; variable=_&gt;
&lt;$list filter=&quot;[all[current]!is[system]]&quot;&gt;
&lt;$list filter=&quot;[all[current]tag[Idea]] [all[current]tag[Index]]&quot; variable=_&gt;
&lt;div style=&quot;float: right; vertical-align: center;&quot;&gt;
&lt;$list filter=&quot;[[$:/config/sib/IsPublicEdition]text[true]]&quot; variable=_&gt;
&lt;$link to=&quot;EpistemicStatuses&quot;&gt;&lt;span style={{{ [prefix[$:/sib/EpistemicStatus]caption{!!es}get[color]addprefix[color: ]addsuffix[;]] }}}&gt;epistemic status&lt;/span&gt;&lt;/$link&gt;:
&lt;$select field=&quot;es&quot; default=&quot;&quot;&gt;
&lt;$list filter=&quot;[prefix[$:/sib/EpistemicStatus]has[caption]nsort[stackorder]]&quot;&gt;
&lt;$set name=&quot;itemColor&quot; value={{!!color}}&gt;
&lt;option style=&lt;&lt;color-style&gt;&gt; value={{!!caption}}&gt;{{!!caption}}&lt;/option&gt;
&lt;/$set&gt;
&lt;/$list&gt;
&lt;/$select&gt;
&lt;/$list&gt;
&lt;$list filter=&quot;[[$:/config/sib/IsPublicEdition]!text[true]]&quot; variable=_&gt;
&lt;$list filter=&quot;[all[current]has[es]]&quot;&gt;
[[epistemic status|EpistemicStatuses]]: &lt;span style={{{ [prefix[$:/sib/EpistemicStatus]caption{!!es}get[color]addprefix[color: ]addsuffix[;]] }}}&gt;{{!!es}}&lt;/span&gt;
&lt;/$list&gt;
&lt;/$list&gt;
&lt;/div&gt;
&lt;/$list&gt;
&lt;/$list&gt;
&lt;/$list&gt;</pre>
</div>
<div caption="likely" color="lightgreen" created="20210508225031010" modified="20210509004556699" section="main" stackorder="20" tags="" title="$:/sib/EpistemicStatus/likely" type="text/vnd.tiddlywiki">
<pre>I believe this idea is more likely than not to be true, but perhaps with some qualifications. I may be suspicious that the effect size is smaller than claimed, or that it may be true only in a more specific case; or I may just not have finished thinking through enough implications or doing enough research to be fully confident about it.</pre>
</div>
<div caption="mythological" color="white" created="20210508225357539" modified="20210508233248388" section="auxiliary" stackorder="120" tags="" title="$:/sib/EpistemicStatus/mythological" type="text/vnd.tiddlywiki">
<pre>Judging the tiddler's correctness is a nonsensical operation or misses the point. Includes jokes, fiction, aphorisms, [[stories whose main purpose is not to tell what happened|SoWhat]], and so on.</pre>
</div>
<div caption="personal" color="gray" created="20210508225329258" modified="20210508230857314" section="auxiliary" stackorder="110" tags="" title="$:/sib/EpistemicStatus/personal" type="text/vnd.tiddlywiki">
<pre>The tiddler describes me on a subjective level, so it is difficult or impossible to get an objective assessment. I am probably the best expert on myself [[but still not very good|PeopleDontKnowWhatTheyWant]].</pre>
</div>
<div caption="possible" color="lightblue" created="20210508225155649" modified="20210508230813020" section="main" stackorder="30" tags="" title="$:/sib/EpistemicStatus/possible" type="text/vnd.tiddlywiki">
<pre>I [[withhold judgment|OpinionsRequireCounterarguments]] on the idea; I am merely reporting it.</pre>
</div>
<div caption="probably wrong" color="orange" created="20210508225317301" modified="20210508233223543" section="main" stackorder="50" tags="" title="$:/sib/EpistemicStatus/probably-wrong" type="text/vnd.tiddlywiki">
<pre>I would bet against this idea, or think it is so wild that I would be embarrassed to bring it up in a more formal context, but I think it's worth recording anyway.</pre>
</div>
<div caption="unlikely" color="yellow" created="20210508225252519" modified="20210522030711474" section="main" stackorder="40" tags="" title="$:/sib/EpistemicStatus/unlikely" type="text/vnd.tiddlywiki">
<pre>I find this idea interesting or worth recording, but suspect it is flawed or incorrect.</pre>
</div>
<div created="20210320220143398" font-family="source_sans_pro" modified="20210512222813071" tags="$:/tags/Stylesheet" title="$:/sib/Fonts/SourceSansPro" type="text/plain">
<pre>/*! Generated by Font Squirrel (https://www.fontsquirrel.com) on March 20, 2021.
+------------+--------------------------+-------------+------------+
|to get: | font-family | font-weight | font-style |
+------------+--------------------------+-------------+------------+
|regular | Source Sans Pro | normal | normal |
|italic | Source Sans Pro | normal | italic |
|bold | Source Sans Pro | bold | normal |
|bold italic | Source Sans Pro | bold | italic |
|semibold | Source Sans Pro Semibold | normal | normal |
+------------+--------------------------+-------------+------------+
TW font embed instructions: https://groups.google.com/g/tiddlywiki/c/7HPSS67j4uU
Copyright 2010, 2012 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name 'Source'. All Rights Reserved. Source is a trademark of Adobe Systems Incorporated in the United States and/or other countries.
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide development of collaborative font projects, to support the font creation efforts of academic and linguistic communities, and to provide a free and open framework in which fonts may be shared and improved in partnership with others.
The OFL allows the licensed fonts to be used, studied, modified and redistributed freely as long as they are not sold by themselves. The fonts, including any derivative works, can be bundled, embedded, redistributed and/or sold with any software provided that any reserved names are not used by derivative works. The fonts and derivatives, however, cannot be released under any other type of license. The requirement for fonts to remain under this license does not apply to any document created using the fonts or their derivatives.
DEFINITIONS
&quot;Font Software&quot; refers to the set of files released by the Copyright Holder(s) under this license and clearly marked as such. This may include source files, build scripts and documentation.
&quot;Reserved Font Name&quot; refers to any names specified as such after the copyright statement(s).
&quot;Original Version&quot; refers to the collection of Font Software components as distributed by the Copyright Holder(s).
&quot;Modified Version&quot; refers to any derivative made by adding to, deleting, or substituting -- in part or in whole -- any of the components of the Original Version, by changing formats or by porting the Font Software to a new environment.
&quot;Author&quot; refers to any designer, engineer, programmer, technical writer or other person who contributed to the Font Software.
PERMISSION &amp; CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining a copy of the Font Software, to use, study, copy, merge, embed, modify, redistribute, and sell modified and unmodified copies of the Font Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components, in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled, redistributed and/or sold with any software, provided that each copy contains the above copyright notice and this license. These can be included either as stand-alone text files, human-readable headers or in the appropriate machine-readable metadata fields within text or binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font Name(s) unless explicit written permission is granted by the corresponding Copyright Holder. This restriction only applies to the primary font name as presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font Software shall not be used to promote, endorse or advertise any Modified Version, except to acknowledge the contribution(s) of the Copyright Holder(s) and the Author(s) or with their explicit written permission.
5) The Font Software, modified or unmodified, in part or in whole, must be distributed entirely under this license, and must not be distributed under any other license. The requirement for fonts to remain under this license does not apply to any document created using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.
*/
@font-face {
font-family: 'Source Sans Pro';
src: url(data:application/font-woff2;charset=utf-8;base64,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
url(data:application/font-woff;charset=utf-8;base64,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
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'Source Sans Pro';
src: url(data:application/font-woff2;charset=utf-8;base64,d09GMgABAAAAAFXUABMAAAAA2ewAAFVoAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGYEIP0ZGVE0cGiYbtl4cgxwGYACDUgheCYRlEQgKgslogqtGC4NSAAE2AiQDhyAEIAWORAeFSAyBfxurxzVsm0bPux1Apr+aSUYihI0D8sA4MhJhA0gryv7/U5KKjJlkkrbdGIj6wwjO6hQzc80wZRR1po2VJ87u3bhmNXZw+H5joXHpKXtKD4cHpnLEtHzHMt2Wj2Va26pgYbIyGoEQD/yCJI9Mbx/jc+Bn+Utmm8tqe6CMTRHi5Bj94c7fHxVlJhWH6UadHmv84xJBmz5UeupQX6xTxHHOwLaRP8nJC89/47478zUfXtGniwlQU95QwRbgtlWl7H+Hdv3PJNk9UI9y99FCqmS3ggZgm2KDNiraQ8XEIRZgEW0gIiJiJSImGIWFtc2qGZOpaxN1zuU33dw+nat2kS6/8rE7qKtSsoAsWWjzGGd48XYfELp0fdo2Kds7gnAMvXw+KY3AVpih0BVuahoIhGFwQEICgJ2bHksgnv9+v986990vmEz/0ElePRKiWCMFSmWI3Uq1CPt/p+0rmedvDjV3egfIZHcl6abCCVAYjYG21i5WmS0EmRDwLNciKglqtXgP6aoBL7WoxF6q7r8AwA91/itFsmQSnMxBJw84959U0lyc5y4TTp2JXCYXVl62/m/OzJ6yYKBLQCeGL305Skbz6kwzJXZGC8n2xrgMtwKwbLnJQgneffsfwP/42Jo6lPWj+CkCN/W5luUI6FM1AjUJdONL1YCKcFmKN8ASDeC/slVWL/Yudw3w4swS9VFJbJjef5k5dxGy5FgyfDRpFNJSV43GWVB864DhHoCL/hNQcHFzmv7Y/5GXYr/zcedW1worgFDpZKSA6K6AlKfHi0wutxoQLdS4QpU3O5/IOcMg+Co7odWHVrvL/+mySqtalmnHe24fLVEfsCeIljHIjuKLpF/qLkklqdEz3a32GBfaHu5he26F6+Yh9BwgGQ48c8icIkRE2QbhhpeFFEF6QRzcOx4+b7o/Sh9gGAbchb42+nkCiXWdz/9/U832vv8H5PsQeQ4BagPllCtX7klJu7lzLEq37oA3A/zBnwEJfAwpAeBaTJuAjaC0gaKPGcQVFDYmxyrkMiQ6hNCl07t2ZRety8pnqy1detsv+0m4C3TtuoAYKSJS531e549s5h9UlG1fONHOawGCR4y8l/SOsbQWm6dfrvZ69rnUTa1BRUQYEWEUNO7+b6Zh2htziEgQEbHj8b/xqkMBDMBKjqx4EDa1sQHlsYuzB6aL6jQC5LJUhADzWtFANFUQLlQoJIX/LraUpcc4QyPp//zy8sL+oLdhk/OBr93Qzszn1AOIYUcg9JwCBtBl6FOhS5wGioIzbWE7zLGUhM4ptTRZ9Zga0FZhCgzKk9zUlFiiRmQ1LKQiKgQ5c0aTwzAqp5rg6CyhEi4Rb1fPoNpbM9RYgAC5rRfuUTqYDkBz3vfLT3HxRZSl9Bk6Bc0lwzxjjm2tfgSnytAiqKkrzILCnXWuZ/KBmImTUt2wyzXETfnjhm9/DA8OP0J1IcdLFo9lPr1MVMRjD0iN58b0UjSMknFbFUQULzk/vRB64Qxi6MXRS6CQiJOEl0wohVgqlTRS6dTy9gYK0BkoZqiEgXLKahioY6CRiSammqlpAdJKVxur6qxhvHrapgUh5ndWsFAviEWdIRYbomp5Z02rHGRgQ17fRuOQ2WMhKIews4HDzjB1PKjhZFDDqSDE6aCBM0FNN4Jabv8yVMszbxhCAoyaW6ZexaoozrwEZRC+14yFEQ60T4QAJ7FR+zcn+USJ81UpvetnShL14RiR4E9OWvl4CY75E2bPUjYDmKE4UMd83mCU4pWi7AjYRF5g1xIclm8r/zbDYMf6wJg/EkRdXSkIkbh2sXUbruNDDCH3Tl+MicY5IbCqZksHeydw4FrTpTkiVHcZJRHbPSLG4wtcbJleSwwJcZi1vl5oKuUxJYkNshO0UhYkwi1CZNP3A59ZbuaRZ1e9lWP36GtRzba750qN48HV2yiqZrFjYn9QHZE06AfuxYfiVTrOvKynnhPW6lYMCIdROFNss1VK9FWOwaG9UGOXaKFXnxMJyoNFpKue8WZX+wRF/Tjsbq4iSxqJ7krtJyVeCL0zvUeBGdVRuVtSgrMhukJsG55IyfKT2cg/l3i9aj4ieCtucOYED8NarnWT/1XytXiczaIslJ6aNDEO+55OoPSVM94qAjl1yRKWYZrqxAXbiZ1owYRMN2wJR6j+3HeqnAro4dBMQCZbRgyLciJWOc8oTFpkqv4CiY+Lyxxajt+gD7SnwZerxdjH00SiEoRJ+zrUmbFvVtMj15zm1KLMBJbp9HuTMM/9pt+SYk0C8GNR+1U4X1y/KCvJVOtRlamgOKtkTyKn1Iw0IkFkgnDRKw0IED6TRqjRKcGR+mO7PM7x2JrF1GoMAPgGGE8LIKHzUtJniXaiG4tFi8SganMZGiKiUCziZ8BJDGrUTkEMUf6VZaPQCuQDI3BhaQfiVgfAWKIo7GeJdD9JNXjIcA6dpOQi/AgftOtQwRm3yxtSqdxQuXyzlQm0VWPIBE90UVwKAaLcCU2x+aSaZ0ANXzgHSwsIuG3TBE1s9ncizHPES9yyaw6aMo28EHpad2MQZ1r6KITVzOTVaRNJXCfXOdQe+7xC0ISPm289kAAJqcOaVtavaekmSxJ9cwLL99QrplSKH8PpRvRMye2MiOurNRoDxHZptcEFs0VxvVo9X7Jn+RmYSseyoB4/8Zmuph8mJecy+oIY8n3gnD27ZJeCPlWGpsSgPmrVH4Zi8+qE0h6Yo6WIlVHhHEgDgZ10cEgTOIebA6AnhdMNDLUIj9FXgkIgYu1U3JN6i5IlGjth6KQqN/EMMU0rlcjSRWB2RpxcBYJJR5LQfVKo4LBWGOJ1xDIkuKxaJBxwpXnH9TiXIFOcOdrM0dBjscdlD4X4IqPYLMYsXCF0CW+kZS9ZvkbFSRZmFsa9sp3QCHOq0coJl6+AVjelJ5SMtq3eVC3GKMqbiyXTif8VH2p/1pUi00ykUyZOdCcamcma5cgTShRWO4SWN02yFc5dUCHztkwKwezhWrGKJijUKJ51vYYpd8NhOsbdNz+Jg5VPQIhwkaLFipfIxl+xqJGAIYLUEYr6Tk2ImoUF8vILhiJEiREngU3c7HUmHfb3KdbbnQP2SE060AiOeji59fGCSGBIiCNsgmuHWGQASqnEAYuT2AdaY9Z2EHDzcCUMtGJ6yb8rsegJG6Ir7GTpUGYy2OZNel0rhYIDJQZxNjZRXnriQVqKmPs7HV9qSsWJ0QCiuAAK8BR4WEXXrU9PLkBKRkHJTC0oqi598YRTzz+ZgY/mi7Yr4Hv0tlyOGhICDHmQgWMnFVuOlrhcjvZ12RVTa1YTfmfJT4STF4ghSIKQoafKkI8D2PFIwowzAZdZPbsKKpSNHc8rQChYCKkV/WWXi5FBJQ+VpSKBrFQIZqtKLDuDZPI0RDaUUcqhjVcPY5pGWPO1w1moF95e4yjkFvAs+kOcC5akue2RdE88kWvDM3kUAC5Jer6z1mTJofIk/fzRRfexA4OlKWFgualwGcBADiQcfW4ZjpSeU5A4PECLUvF29RZFpjJxN9Jihys2KJxqH8oTe9DNjJaeqdsx87nWHE4dhYxFmpK+hInKIs/3kIYsHXbPnsbxSgcc6WVqkWGu301hmO+jMC96Xh+GY1N6GFH2YjeoZSxSZlFOI6WoEcTyQXtWtXT0aP2KU1SwtttX88zel+fa7liVGvEAemQyDH2Ya30GHExI/HprH1vewIrzN1H1DwAzoT3P4DEAUN+jE4A0FNzoSeXYg9gMTB/vUPJG3hqM0GjbhauoXWyPZmLoJnKQj0KUIIJaLKAtW9vF/363bQBIs6KE7m8cnJMQILepBtXPbv4/zvnkBPzl78c7j285vvGZJy+cenBN9P0PGxf6vaIgjqtuIkcUKuTYILXQkqPx5OdgI
url(data:application/font-woff;charset=utf-8;base64,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
font-weight: bold;
font-style: italic;
}
@font-face {
font-family: 'Source Sans Pro';
src: url(data:application/font-woff2;charset=utf-8;base64,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
url(data:application/font-woff;charset=utf-8;base64,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
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Source Sans Pro Semibold';
src: url(data:application/font-woff2;charset=utf-8;base64,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
url(data:application/font-woff;charset=utf-8;base64,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
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Source Sans Pro';
src: url(data:application/font-woff2;charset=utf-8;base64,d09GMgABAAAAAFY4ABMAAAAA3QQAAFXOAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGYEIP0ZGVE0cGiYbtl4cgxwGYACDUghYCYRlEQgKgs9AgrIkC4NSAAE2AiQDhyAEIAWOIAeFSAyCaxtLyyfQbdtRLUp3Eqy7bK3uFUYihI0DBIFXc40MBBsHIKBdA7L//z9p2ZDj/wr/qjIb8/FAk/TIkJFB9yL2TG8gzGmoo+9VvfbRshgnaOQ1XbprROhUuWKog3qfU4tS+ReYPjdz9/9H3kZqE4QJglS4hXo/5eUygrrxOswUPit/5/LOzVST7sMXBzVS/U1b5JQniFvkyW4XuiG6WZZJp3zGJBqoJVKYFsYxtBINkRjNBEGCKl9Rd+RIQd3hOH7S7x7Cxa595yW58FS4ftPPwLaRP8nJy/P/v9//5t7n/u9Jkwl0QsKbN6rZ6ERSpkWSNdNQiI+1KEclaQ/kJGoy9O8J0iZoALZZOJVhzAIxTh3a08ZIRAUJERBpKVERxSpCsbB7OrFqoYvSRbaruL2Lq/2G9vP1APBh4CcFEm4gtCs4PyqMoH4/2J78h1poYiVY6Ew3SSbZtDGExBASCc/iDW+a9Udd9UqWbEkWPtmWPZ7hpbubO2tP/uT/g9ARdGkKgipFjyVWG2KHacMdToouPOm0EgiyMFmEkCxsHPLep9AU3TfFz/YAgQGsP+fed1Mq5z+CIi6wS1LgNAUSTmxqCQ5Q3wAgGAIPdan8SUlKN0Q66Z5gLG+BLd06rDQSTgGCs+S3gpD//gD+P/fz0vLRzrO3SkqOwjUlR2nzeJa84yMZ6r+/7pcO9YT9+khuLAFQAUlE7ACrjvCNmkvTjatGZDU1mx24gyVIfiT4EFLRuS099r9UNcLO/2MJw6l2767yzF+8BRbgMki5dFryO2HUUXKX4t1NH8qQp78MQXcsL6QCFISkXVc3iTkMCLabpfr5r/5+3zdMC8ltir8WVlG7RS276Ey6TQfRSVfVaST4+arl/0rLTdwjFagYbpcbxUt0Sr0rw3Xjpn5vZiQBrtwUBxf9d8oC/H82K9NfaulNz+H0jJFk4ImcAlLqIOz+XdOlqlKLF9St8WpnbtcLKB3P3j11q3Urvt0j4oEj8OwaGELGyBnnhLnDDR06ygEjDoLYSWr//03V2vv+ANb7IHlWQ9GB3JCLcnulXG1qynUHvBnOB/4MQHBmmAZUgqgEiDYFSFag9yxA0hQoaVNKneTNsV0XVbeuZKi61V/ZuVGb+LEiZGO49s7+dtGITQqU4AWap/9il79XOwmD+nJGGQ/lfJRSgoW8FhuxEXuKhmjo++t1jO3f4df3I2JGYnF4pGBsfYyp1XSk63/7c5oEcaKwD7iT9DWngEVgIon23HOzIksZaG258lbBcltVkYD3rmI3hu/z2joDLiD4eaFyYeLw32vr1TwQV498+HZ9n7rJ29kWV0c/ntJOGVzfVWCLjU0Qek4DB9qGncqXWWHYhFwaoO23opVLzPw6pbTvfsHAYAlzALE3R3P3aGoMtB2DOJOCoqKab5KwWEMwYE2QDpFBl8nb4jrW+dpjMzMMiBuB/mSWzI1U4id8ucSkn0Ci7IUZl5+EdWMBNpS9CSHDHms90IWhurWE7gHlt77z00hGyC5k64h+mXg5OcTS2Q/wflwrUCFKs+ExfRzKbW7hJoL4oSFZDUhX05KibVKlaWq6U23EjINmwFCDctWgPDQzcA3KT4MK0AzZatrsNCB7DcRB0+WoGQvT9DlrJtCDITBwIPCaqRgNgqhpidAgaBoEU7PA0iyxtc0SNB2JmhHuYD3N6hjo0qA6B2sY1Q9qcDDUkBFAC4P1LZsGMbMQbNYi5FccUPwQDoY4bJWlNU3PcU3PCQ3qpAZxStN3Q9vi9v9obfHMG6Y0COFk2UFKJlNp04proAXW79VGCOIBoI081IjTiukwl7v4sCHJEs8TfQQZMMIBwZn5yTKSOBLsmEkkMtHo6Zqfc2SlcaPOTSKIT2NWCsRwWnvUIJwMImNJaoD2fhMSpsettZ8uSNKwSFQynwCCowhroPXQxgd6Jqmc3QsRJNxQ0gs0UaHBIE+AmvlwUCvLKZ5Y8YSDJH9oQOxNLilMQzgFw42NGsx0xW84OiE0Zh2MwKrSbbe4j4CPEm/qNoBg1a+bKj793CI7VK/GeeqfK60SeBd7nj1JOENrcLLBUn42cRjGZJOaBhvBhjKTZ5bZKrbU7w1XM8FBPkoz2OfUx++aIaIHzOa6F+NdN3JNujUA5zhBGIOMCEYSnir73fgEdTyNFBXiIYj9+S5xv/bYxpNpB53qOhkLrF02r6dpQ7H7cR0Kceftc9ggfen9VaHpgfXcSto03I0Y2jZMSFfJf4LEnouQRJaoPOaAyKtua7tq3HAkSiMsfNUqSUwcCEo1Y262NuUaAx/iezLQhTU0rFkH967JNXYC530sePGlZvOw+vUkFHHgKeg5qlMTiwUickZRZoGX0rwST7eScTQyax7xzWICCa6dXm/AObpbGiX5bIWidWlWXHjw3FgDjEmCesC2jNY8qJgRAOx+qRk/d3V1G+LyQfbwrwbbEIQIGctaNy5KzmUMgpyfuw/7FgrQBrNgG6AtE9BMOQ813FYNFb8xUmnzO0Y3pakqRxEPfCF9iHhWAsDqTKKoNuHExoyIZyWGR9k0yy3iw5B1jP3GpDj3ptWN+dqineHOADHhHrNcW+hzJjyxfbFYsvULu9wyYMyoyhJmnCjnc7i3YDm3vwmLv/vNMFsJnLV06OIyq6sL70CXjRFIXM1b6m7hyFhX2tNIkM01MW/neiCHHujJMcGIh/2hMPOEW0kZYzkYu30LWzhu9H/IY47FMqkKNxUQcEvSqzQBGMXGbMZpIaqM7KJbqrCmRLV6eAPj4PoRSLCvRePLy+AU46gvewOTvRaTBaOx1VJQqOhcyaXFvXx2Tes/rRVEWIcsg8Eo8+2ZdJZXEkKucW/vgp5BkRVas1vX+GUwhvcBx7CiRl4htb32nkWbwmMm+QBp2tCeobtR0YgNW9q1mixLs8POl7K8/l5m5pdtmilFl2x/A9+15IOktLBvsQ+lezcvlgbZ9zCKnxjy0JbxIihXGUq668WgoKKN6VzYzrjIza4bY0G2SskupJ9cWqtUYSaZHPrSTafaHE1yikHoduK/Jwgef+zLRILtExCnrjYN5ZUBeRVPFlJqpdBeD46tKxDK/Un6oWEj0XE58DZyrwSV5QhRWO0UFXfbzObmN8n55aw0epMFcbA5i8StoSX2LgUB86TwNJNgOpRztQ5lsLc6OtkGFcfVQoCP1TvcTFbfIMV2ZDIKwGZ69puWDEe5HO9BN0wCDsAyzD8iAA4g9GhwwTlfelDIagmCcumWgVF/VhIVnrUbNn8Xn60rMP5uVgDvSJ5EJEEzZwG6VEr9jY5rI4CBUQOgyrcxlFgJrmXE8yvakfr61kA0ywmYWgAAcNs7kctjP7iRFnk/561aMg/8RY+IIiAYjUL3vteHLcoI8AwM75RCViznAu4uhuYH4RIRqGZbtH3xQU7ejS1keqzc4P9bCbMAtBbjnGsI7uohDyx2kjgazhgahg0cAlskJI7i8DnJksVfjhwBypQJVKVOkAYNwnXqhNStX4RBi6ItO4DtkOMETjpF7LZH0j3xRJ5nnsunASyzk/SNtR4bBTen7kmzbXdTDpA/z07vvJeDZbwEBwCsFfb8cgLEKYJx4QcINDOk80ACqVtaq7HDbhc8o9G3P9hjPNiqQKW9ei3YN1o5osgmYWB5kwa1cFCQDP4OuzhkQ7VuTYA+BIBX+lkaNMrnmyky6NsoMtg8rGjRsRskA9EBo6rJM6+TPjJHY8UxNQoVkTZdeaagNOtz1U4bn8bpch4abNZbU16WmjSAnpMTQonI6A5gAYTqN9r5LUcBNGj/JkH0D1i439n7oHEDgPra3QD2aYLX9radfIMbu5qW3fxsz9tDi7B6v+t2SftMP9oXhW3ALGE2MDuYE8wLFgITaG/XyR3/+93/Cdg3G
url(data:application/font-woff;charset=utf-8;base64,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
font-weight: normal;
font-style: italic;
}
</pre>
</div>
<div created="20210523150144006" creator="soren" description="Guided wizard that walks you through basic settings and the most important things to know about this edition." list="$:/sib/GettingStarted/Warning $:/sib/GettingStarted/Title $:/sib/GettingStarted/Copyright $:/sib/GettingStarted/ZettelkastenCardTypes $:/sib/GettingStarted/ReferenceExplorer $:/sib/GettingStarted/ThingsToDo $:/sib/GettingStarted/NextSteps" modified="20210922011910182" modifier="soren" tags="Meta Tool" title="$:/sib/GettingStarted" tooltype="configuration" type="text/vnd.tiddlywiki">
2021-09-21 16:32:33 +00:00
<pre>\define go-back() &lt;$action-setfield $tiddler=&quot;$:/config/zettelkasten/GettingStartedWizardCurr&quot; text={{{ [enlist{$:/sib/GettingStarted!!list}before{$:/config/zettelkasten/GettingStartedWizardCurr}] }}}/&gt;
\define go-forward() &lt;$action-setfield $tiddler=&quot;$:/config/zettelkasten/GettingStartedWizardCurr&quot; text={{{ [enlist{$:/sib/GettingStarted!!list}after{$:/config/zettelkasten/GettingStartedWizardCurr}] }}}/&gt;
\define wizard-navbar()
&lt;div style=&quot;margin: auto; text-align: center;&quot;&gt;
&lt;h2 style=&quot;margin-bottom: 5px;&quot;&gt;{{!!caption}}&lt;/h2&gt;
&lt;$list filter=&quot;[enlist{$:/sib/GettingStarted!!list}before{$:/config/zettelkasten/GettingStartedWizardCurr}!is[blank]]&quot; variable=_&gt;
&lt;$button actions=&lt;&lt;go-back&gt;&gt;&gt;
← Back
&lt;/$button&gt;
&lt;/$list&gt;
&lt;$list filter=&quot;[enlist{$:/sib/GettingStarted!!list}after{$:/config/zettelkasten/GettingStartedWizardCurr}!is[blank]]&quot; variable=_&gt;
&lt;$button actions=&lt;&lt;go-forward&gt;&gt;&gt;
Next →
&lt;/$button&gt;
&lt;/$list&gt;
&lt;/div&gt;
\end
Welcome to ~TiddlyZettelKasten, usually known as ''tzk'' (pronounced /tə'ziːk/, tuh-ZEEK). tzk is an occasionally updated version of [[Soren's Zettelkasten|https://zettelkasten.sorenbjornstad.com]] in a format that you can use as a launching point for your own Zettelkasten or similar wiki.
You are expected and encouraged to make tzk your own by changing its conventions, tools, tags, and so on as you learn more about the Zettelkasten approach to note-taking. Rather than a full-service application, tzk is a framework you can use to build your own system (although it works out of the box if you happen to like Soren's highly opinionated approach).
It's recommended that you have a basic understanding of TiddlyWiki before getting started with tzk. [[Grok TiddlyWiki|https://groktiddlywiki.com]] is a free online textbook you can use to learn TiddlyWiki; completing at least chapters 1 and 2 is recommended before getting too serious with tzk. (Jumping in first is totally fine, but if you find yourself with lots of questions about how things work, check //Grok ~TiddlyWiki// before getting frustrated).
If you're viewing this page on the web, you have two options for installation:
&lt;$details summary=&quot;As a single file&quot;&gt;
You can start out by downloading the wiki as a single HTML file and working with it directly in your browser:
{{$:/snippets/download-wiki-button}}
You will need a way of saving changes to this file as you work. You can [[view the full list of options at tiddlywiki.com|https://tiddlywiki.com/#Saving]]; if you've never used TiddlyWiki before and aren't sure what to pick, [[I recommend TiddlyDesktop|https://groktiddlywiki.com/read/#Installing%20TiddlyWiki]].
You can always convert your single-file wiki to Node.js later using the `tzk convert` command.
&lt;/$details&gt;
&lt;$details summary=&quot;Through Node.js (full-service)&quot;&gt;
tzk is primarily designed for use with Node.js and has an associated helper command-line interface. Using tzk this way is more involved and technical but offers the following features you can't get in the single-file version:
* Instant setup of your wiki on Node.js.
* Highly configurable builds, allowing you to publish different versions of your wiki -- a common use case is publishing some of your content on the web and keeping some of it private.
* Space-efficient backups and version history with Git.
Full instructions for installing and initializing the tzk command-line tool can be [[found on Read the Docs|https://tzk.readthedocs.io/en/latest/]].
2021-09-21 16:32:33 +00:00
If you're familiar with command-line tools like tzk, you can get a quick start by making sure you have Git, NPM, and Python 3.6 or greater installed, then running:
```
$ pip install tzk
$ mkdir my_wiki_folder
$ cd my_wiki_folder
$ tzk init
$ tzk listen
```
If everything goes well, this will launch a web server and tell you what URL to enter into your web browser, and when you go there you'll have your wiki waiting for you.
&lt;/$details&gt;
-------
Once you have a copy of tzk, open it up on your computer and get started with the following quick-start wizard!
&lt;div style=&quot;border: 1px solid gray; padding: 0.5rem;&quot;&gt;
&lt;$tiddler tiddler={{$:/config/zettelkasten/GettingStartedWizardCurr}}&gt;
&lt;&lt;wizard-navbar&gt;&gt;
&lt;/$tiddler&gt;
&lt;$transclude tiddler={{$:/config/zettelkasten/GettingStartedWizardCurr}}/&gt;
&lt;&lt;wizard-navbar&gt;&gt;
&lt;/div&gt;</pre>
</div>
<div caption="Copyright" created="20210523153031971" creator="soren" modified="20210920170823196" modifier="soren" tags="Meta" title="$:/sib/GettingStarted/Copyright" type="text/vnd.tiddlywiki">
<pre>If you're sure you will never share any part of your Zettelkasten with others, you can skip this step. Otherwise, take a moment now to decide under what terms you will share your content.
The built-in licensing model for this edition involves two different licenses: one on the //content// (your actual notes) and a second on the //system tiddlers// (the custom logic that sits behind the wiki).
&lt;$details summary=&quot;Easy mode: Keep the existing terms&quot;&gt;
If you take this option, here's what you're letting other people do:
* Your ''notes'' will be all-rights-reserved: people who have access to the notes can read them and use them under [[fair use|https://en.wikipedia.org/wiki/Fair_use]] in your jurisdiction, but can't do anything else with them.
* Your changes to ''system tiddlers'' will be licensed under the [[MIT license|https://en.wikipedia.org/wiki/MIT_License]] (others can freely copy and reuse them in their own wikis).
Assuming you are comfortable with that, this method is recommended if you are unfamiliar with open-source licensing or copyright law; simply filling in the copyright notice below will automatically ensure your stake in your content is recognized and meet your legal obligations under the MIT license of this edition.
What should your copyright notice look like? This will normally be something like `Copyright © 1995 Your Name Here.` If you want the copyright date to automatically update, use `&lt;&lt;now YYYY&gt;&gt;` in place of the year.
//Your copyright notice//: &lt;$edit-text tiddler=&quot;$:/config/zettelkasten/copyright/UserNotice&quot; tag=&quot;input&quot; class=&quot;sib-copyright-input&quot;/&gt;
&lt;/$details&gt;
&lt;$details summary=&quot;Or alter the notices yourself&quot;&gt;
If you don't like the built-in model, you can freely change the license used for your notes by editing the tiddler [[$:/config/zettelkasten/copyright/Content]]. For instance, maybe you'd like to make your notes available under a [[Creative Commons|https://creativecommons.org/]] license.
It's possible to use a different license than the MIT license for your modifications to system tiddlers, including forbidding anyone else from using them at all, by editing the [[$:/config/zettelkasten/copyright/System]] tiddler, but you ''must do so in a way that is compatible with the MIT license and preserves the original copyright notice''. Doing this correctly requires background knowledge and some attention to detail, so if you are not familiar with open-source licensing, you are probably better off sticking with the defaults and adding a copyright notice using the text box above, or having a quick chat with someone who is more familiar.
You can change the copyright notice that appears in the footer of the public edition in [[$:/sib/Templates/Automatic/StoryRiverFooter]].
&lt;/$details&gt;
!! Preview
Visit [[CopyrightNotice]] to see what the notice will look like.
&lt;style&gt;
input.sib-copyright-input {
width: 100%;
}
&lt;/style&gt;</pre>
</div>
<div caption="Next steps" created="20210828133924602" creator="soren" modified="20210828134435065" modifier="soren" tags="" title="$:/sib/GettingStarted/NextSteps" type="text/vnd.tiddlywiki">
<pre>Where do you go from here?
I recommend starting by ''adding some notes''! Add a couple of tiddlers for the ideas rolling around in your head. Read a book, add a source tiddler for it, and link to it in some idea tiddlers.
Once you've gotten a few notes into the system, you will be in a good place to ''decide what elements of this edition you like and what things you'll want to change''. If you want to get into customizing the wiki and you don't have much experience with TiddlyWiki, check out [[Grok TiddlyWiki|https://groktiddlywiki.com/read]], a complete textbook and reference designed for learning how this stuff works from the ground up.
At any time, you can click the ''tools button {{$:/core/images/theme-button}}'' on the page toolbar (upper-right corner of the wiki, right under the title) to access a wide variety of tools, settings, and documentation related to the Zettelkasten edition.
If you have questions, comments, or suggestions, please feel free to get in touch at `zettelkasten@sorenbjornstad.com`.</pre>
</div>
<div caption="Finding related content" created="20210920161148251" creator="soren" modified="20210920161326799" modifier="soren" tags="" title="$:/sib/GettingStarted/ReferenceExplorer" type="text/vnd.tiddlywiki">
<pre>{{ReferenceExplorer}}</pre>
</div>
<div caption="Keeping track of things to do" created="20210828132735971" creator="soren" modified="20210828133749250" modifier="soren" tags="" title="$:/sib/GettingStarted/ThingsToDo" type="text/vnd.tiddlywiki">
<pre>A Zettelkasten is never complete and always full of new things you could work on and existing things you can improve. As such, tzk has a variety of tools for keeping track of what you might want to work on next, so you'll always be ready to do something useful whenever you have time to work.
These tools are gathered together on the ''Write'' tab of the sidebar.
; Stubs
: Tag a tiddler &lt;&lt;tag Stub&gt;&gt; to indicate that you've decided this topic deserves a tiddler, but haven't had time to write much of significance about it yet. If I have an idea but no time to write about it, I commonly add a tiddler with just a title, or a title and a sentence or two explaining what would go in it, then tag it as a stub and save it.
; Missing
: All tiddlers that you've linked to but not created appear here. Just because you linked to a tiddler doesn't mean you //have// to create it -- often it's sufficient just to gather a list of things that link to that person, place, or idea, which works just fine without ever creating the tiddler -- but this list often contains things that could be promoted to stubs or full-blown tiddlers, so it's good to skim through it from time to time.
; Needing attention
: If you have a tiddler that obviously needs some work -- for instance, it no longer represents your opinion, it's full of errors, half of it consists of text you copied and pasted from somewhere else, and so on -- tag it &lt;&lt;tag NeedsAttention&gt;&gt; to add it to this list.
; Needing excision
: The &lt;&lt;tag NeedsExcision&gt;&gt; tag is a more specific version of //Needing attention// which indicates the tiddler is too long and should be [[broken out into atomic units|https://groktiddlywiki.com/read/#Slicing%20Up%20Content]]. For instance, if you took a bunch of notes on a book but left them sitting in the tiddler about the book rather than splitting them up into separate tiddlers for each idea, you might add this tag to the book tiddler as a reminder to come back and think more clearly about the boundaries between ideas.
; To-do items
: If you need to be more specific about what needs to be done in a tiddler than the on-or-off NeedsAttention tag allows, in the text field of that tiddler, link to `[[TODO]]` and follow the link with a sentence ending in a period. For instance, ``[[TODO]]: Find a reference for this claim.`` A link to the tiddler containing the todo and the text of the todo item will then appear in this tab.
; Open questions
: Similar to to-do items, tiddlers containing a link to `[[OpenQuestion]]` appear here. Open questions are ones that you don't know how to answer, but think are important and hope that with more study or life experience you might be able to understand better.
; Tray
: If you have some tiddlers you want to keep “front of mind,” but you don't want to keep them open in the story river, you can drag and drop them into this tab, where they'll stay until you manually remove them.</pre>
</div>
<div caption="Title" created="20210825150825394" creator="soren" modified="20210920133523652" modifier="soren" tags="" title="$:/sib/GettingStarted/Title" type="text/vnd.tiddlywiki">
<pre>\define set-favicon-actions()
&lt;$action-sendmessage $message=&quot;tm-rename-tiddler&quot; from={{{[[$:/Import]links[]first[]]}}} to=&quot;$:/favicon.ico&quot;/&gt;
\end
\define favicon-cell()
[img width=24 [$:/favicon.ico]]
&lt;$navigator&gt;
&lt;$browse accept=&quot;ico,png,gif&quot;/&gt;
&lt;/$navigator&gt;
&lt;$list filter=&quot;[[$:/Import]plugin-type[import]]&quot;&gt;
&lt;$button actions=&lt;&lt;set-favicon-actions&gt;&gt;&gt;
change favicon
&lt;$action-sendmessage $message=&quot;tm-perform-import&quot; $param=&quot;$:/Import&quot;/&gt;
&lt;/$button&gt;
&lt;/$list&gt;
\end
&lt;!-- Thanks to Saq for helping figure out how to import/replace the favicon:
https://talk.tiddlywiki.org/t/importing-a-tiddler-with-a-specific-name/680 --&gt;
Let's start with some basic information.
What do you want to call your Zettelkasten? The title and subtitle will appear at the top of the sidebar and in your web browser's title bar.
&lt;$set name=&quot;tv-auto-open-on-import&quot; value=&quot;no&quot;&gt;
&lt;$navigator&gt;
|!Title |&lt;$edit-text tiddler=&quot;$:/SiteTitle&quot; tag=&quot;input&quot;/&gt;|
|!Subtitle |&lt;$edit-text tiddler=&quot;$:/SiteSubtitle&quot; tag=&quot;input&quot;/&gt;|
The favicon appears next to the title in tabs, bookmarks, and other places throughout your web browser's interface. You can upload a new favicon in ICO, PNG, or GIF format.
|!Favicon |&lt;&lt;favicon-cell&gt;&gt;|
&lt;/$navigator&gt;
&lt;/$set&gt;</pre>
</div>
<div caption="WARNING and DISCLAIMER" created="20210828134445553" creator="soren" modified="20210920133400209" modifier="soren" tags="" title="$:/sib/GettingStarted/Warning" type="text/vnd.tiddlywiki">
<pre>''tzk should be considered alpha software.'' The underlying platform, TiddlyWiki, is extremely stable, and it is highly unlikely you will lose any data as a result of using tzk, nor will the system become obsolete or unusable in the near future. However, there may not be an obvious upgrade path to newer versions, I cannot guarantee support if you encounter problems, and the edition remains primarily focused on my specific needs.
In other words, it's //safe// to use tzk for your production Zettelkasten, but you should expect to have to dive into some system tiddlers to make the edition work the way you want, and you may have to do some manual merging and copy-pasting of tiddlers if you want to backport features that I add to tzk in the future to your wiki. Think of the current version of tzk as a piece of hardware that you bought: you get it as-is, and if you want changes or upgrades to it, you have to make them yourself. If you're not willing to take on that responsibility, please do not use tzk for real work.
!! Why?
As I am still trying to figure out how to get the most value out of TiddlyWiki and my Zettelkasten, I need to preserve my ability to rapidly make changes to my tooling. Worrying about backwards compatibility, upgrades, supportability, and changing things so they work well for other users and not just me would require a significant portion of my development time and motivation, and I don't have that time to give at the moment. If I tried to supply these things, I wouldn't be able to publish this at all. (Ordinarily I would just keep the tools to myself until they were a bit more mature, but I have gotten so many curious people casting jealous looks at my [[public Zettelkasten|https://zettelkasten.sorenbjornstad.com]] that I'm making an exception.)</pre>
</div>
<div caption="Card types" created="20210827233526864" creator="soren" modified="20210827233548929" modifier="soren" tags="" title="$:/sib/GettingStarted/ZettelkastenCardTypes" type="text/vnd.tiddlywiki">
<pre>{{ZettelkastenCardType}}</pre>
</div>
<div created="20201129183646538" modified="20201129184104788" tags="" title="$:/sib/gis/AddInfo" type="text/vnd.tiddlywiki">
<pre>&lt;table&gt;
&lt;tr&gt;
&lt;th&gt;Latitude, Longitude&lt;/th&gt;&lt;td&gt;&lt;$edit-text tag=input default=&quot;&quot; tiddler=&quot;$:/temp/AddValues&quot; field=&quot;latlong&quot;/&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;th&gt;Zoom&lt;/th&gt;&lt;td&gt;&lt;$edit-text tag=input default=&quot;&quot; tiddler=&quot;$:/temp/AddValues&quot; field=&quot;gis-zoom&quot;/&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;$vars
lat={{{ [[$:/temp/AddValues]get[latlong]split[,]first[]trim[]] }}}
long={{{ [[$:/temp/AddValues]get[latlong]split[,]last[]trim[]] }}}&gt;
&lt;$button&gt;
&lt;$action-setfield $field=&quot;gis-lat&quot; $value=&lt;&lt;lat&gt;&gt;/&gt;
&lt;$action-setfield $field=&quot;gis-long&quot; $value=&lt;&lt;long&gt;&gt;/&gt;
&lt;$action-setfield $field=&quot;gis-zoom&quot; $value={{$:/temp/AddValues!!gis-zoom}}/&gt;
&lt;$action-deletetiddler $tiddler=&quot;$:/temp/AddValues&quot;/&gt;
Add
&lt;/$button&gt;
&lt;/$vars&gt;</pre>
</div>
<div caption="Directions" created="20201129175445792" creator="soren" modified="20210910154651732" modifier="soren" tags="$:/sib/gis/MappingTools" title="$:/sib/gis/DrivingDirections" type="text/vnd.tiddlywiki">
<pre>\define dirUrl(lat, long) https://www.google.com/maps/embed/v1/directions?key=$(gmapsApiKey)$&amp;origin=$(sourceLoc)$&amp;destination=$(lat)$%2C$(long)$
&lt;$list filter=&quot;[all[current]has[gis-lat]]&quot; variable=_&gt;
&lt;div style=&quot;margin-bottom:1ex;&quot;&gt;
Directions from &lt;$link to=&quot;PrivateMetadata&quot;&gt;home&lt;/$link&gt; or: &lt;$edit-text tiddler=&quot;$:/temp/CurrentDirectionsSource&quot; tag=input default=&quot;&quot; size=56 /&gt;
&lt;/div&gt;
&lt;$set name=&quot;directionsSource&quot; value={{{ [{$:/temp/CurrentDirectionsSource}!is[blank]encodeuri[]] ~[{PrivateMetadata##Address}encodeuri[]] }}}&gt;
&lt;$list filter=&quot;[&lt;directionsSource&gt;!is[blank]]&quot; variable=_ emptyMessage=&quot;Please enter an address to start from, or set the `Address` index of the `PrivateMetadata` data tiddler to a default address.&quot;&gt;
&lt;$vars
gmapsApiKey={{$:/config/zettelkasten/gis/GMapsApiKey}}
lat={{!!gis-lat}}
long={{!!gis-long}}
sourceLoc=&lt;&lt;directionsSource&gt;&gt;&gt;
&lt;iframe
width=&quot;600&quot;
height=&quot;450&quot;
frameborder=&quot;0&quot;
style=&quot;border:0&quot;
src=&lt;&lt;dirUrl&gt;&gt;
allowfullscreen&gt;&lt;/iframe&gt;
&lt;/$vars&gt;
&lt;/$list&gt;
&lt;/$set&gt;
&lt;/$list&gt;</pre>
</div>
<div caption="Info" created="20201129181525887" modified="20201129182049518" tags="$:/sib/gis/MappingTools" title="$:/sib/gis/Info" type="text/vnd.tiddlywiki">
<pre>|!Address|{{!!gis-address}}|
|!Latitude|{{!!gis-lat}}|
|!Longitude|{{!!gis-long}}|
|!GMaps zoom level|{{!!gis-zoom}}|</pre>
</div>
<div created="20201129175820541" creator="soren" description="Show the mapping tools available for place tiddlers with location information, or prompt the user to add such information." list="$:/sib/gis/SatelliteMap $:/sib/gis/DrivingDirections $:/sib/gis/Info" modified="20210910154242175" modifier="soren" tags="$:/tags/ViewTemplate" title="$:/sib/gis/MappingTools" transcludedin="All tiddlers tagged &lt;&lt;tag Place&gt;&gt;." type="text/vnd.tiddlywiki">
<pre>\define no-gis-info()
There is no GIS information available for this place, but you can add it (try from [[Google Maps|https://www.google.com/maps]]):
{{||$:/sib/gis/AddInfo}}
\end
\define no-api-key()
To use the mapping tools on Place tiddlers, you must configure a Maps Embed API key in Google Cloud Platform (GCP), then set the text field of the $:/config/zettelkasten/gis/GMapsApiKey tiddler to this API key. The Maps Embed API is free to use. Documentation on the API may be [[found here|https://developers.google.com/maps/documentation/embed/get-started]].
If you don't want to see this message again, disable the //GIS// [[feature flag|$:/sib/Tools/FeatureFlags]].
\end
&lt;$list filter=&quot;[all[current]tag[Place]]&quot; variable=_&gt;
&lt;$list filter=&lt;&lt;ff GisTools&gt;&gt; variable=_&gt;
&lt;$list filter=&quot;[all[current]has[gis-lat]]&quot; emptyMessage=&lt;&lt;no-gis-info&gt;&gt; variable=_&gt;
&lt;$list filter=&quot;[{$:/config/zettelkasten/gis/GMapsApiKey}!is[blank]]&quot; emptyMessage=&lt;&lt;no-api-key&gt;&gt; variable=&quot;gmapsApiKey&quot;&gt;
&lt;&lt;tabs
tabsList:&quot;[list[$:/sib/gis/MappingTools]]&quot;
default:&quot;$:/sib/gis/SatelliteMap&quot;
retain:yes
&gt;&gt;
&lt;/$list&gt;
&lt;/$list&gt;
&lt;/$list&gt;
&lt;/$list&gt;</pre>
</div>
<div caption="Satellite" created="20201129174511282" creator="soren" modified="20210910152248350" modifier="soren" tags="$:/sib/gis/MappingTools" title="$:/sib/gis/SatelliteMap" type="text/vnd.tiddlywiki">
<pre>\define mapUrl() https://www.google.com/maps/embed/v1/view?key=$(gmapsApiKey)$&amp;zoom=$(zoom)$&amp;center=$(lat)$%2C$(long)$&amp;maptype=satellite
\define changebutton(operation, faClass)
&lt;$button class=&quot;tc-btn-invisible tc-tiddlylink&quot;&gt;
&lt;$action-setfield $field=&quot;gis-zoom&quot; $value={{{ [{!!gis-zoom}$operation$[1]] }}}/&gt;
&lt;i class=&quot;fa $faClass$&quot;/&gt;
&lt;/$button&gt;
\end
&lt;$list filter=&quot;[all[current]has[gis-lat]]&quot; variable=_&gt;
&lt;$vars
lat={{!!gis-lat}}
long={{!!gis-long}}
zoom={{!!gis-zoom}}&gt;
&lt;iframe
width=&quot;600&quot;
height=&quot;450&quot;
frameborder=&quot;0&quot;
style=&quot;border:0&quot;
src=&lt;&lt;mapUrl&gt;&gt;
allowfullscreen&gt;
&lt;/iframe&gt;
&lt;/$vars&gt;
Edit map zoom: &lt;&lt;changebutton add fa-search-plus&gt;&gt; &lt;&lt;changebutton subtract fa-search-minus&gt;&gt;
&lt;/$list&gt;
&lt;!--
&lt;$list filter=&quot;[all[current]!has[gis-lat]]&quot; variable=_&gt;
Please add `gis-lat`, `gis-long`, and `gis-zoom` fields to this tiddler to display a map.
&lt;/$list&gt;
--&gt;</pre>
</div>
<div created="20210731165017938" creator="soren" description="Configure phrases that should cause public builds to fail." modified="20210920155725847" modifier="soren" tags="Tool" title="$:/sib/gui/KillPhrases" tooltype="configuration" type="text/vnd.tiddlywiki">
<pre>//Kill phrases// are an extra measure of security to ensure you don't accidentally publish something that was supposed to be private. After building the public wiki, if the source of any tiddler therein contains any of the words or phrases below in any field, the build will fail and point out the location where a kill phrase ended up in the output.
Enter kill phrases below, one per line.
&lt;div class=&quot;kill-phrase-entry&quot;&gt;
&lt;$edit-text
tiddler=&quot;$:/config/zettelkasten/Build/KillPhrases&quot;
default=&quot;&quot;
/&gt;
&lt;/div&gt;
Each line is treated as a Python-dialect regular expression ([[documentation|https://docs.python.org/3/library/re.html#regular-expression-syntax]] of this dialect).
Kill phrases are ''case-sensitive''. If you want to kill the build on multiple cases of a word, use a //character class// (`[sS]ecret` to allow both `secret` and `Secret`), or begin the phrase with `(?i)` to make the entire regular expression case-insensitive.}
Kill phrases ''match substrings'': that is, “kill” will also match “skillet” and “killdeer”. If you want to match only a whole word, use `\b` (a //word boundary// marker) before and after the word, like `\bkill\b`. (This still ignores punctuation, so it will find `kill,` -- but that's probably what you want.)
Your list of kill phrases will not be published so long as you do not alter the build filter (if you do, watch out -- system tiddlers, including the one which stores your kill phrases, are published by default).
&lt;style&gt;
div.kill-phrase-entry textarea {
width: 100%;
}
&lt;/style&gt;</pre>
</div>
<div created="20210731162946420" creator="soren" description="Choose which top-level tabs you want to show in the sidebar in your public and private editions." modified="20210920155630850" modifier="soren" tags="Tool" title="$:/sib/gui/SidebarTabSelector" tooltype="configuration" type="text/vnd.tiddlywiki">
<pre>{{!!description}}
&lt;table&gt;
&lt;tr&gt;
&lt;th style=&quot;min-width: 6em;&quot;&gt;Tab&lt;/th&gt;
&lt;th&gt;Private&lt;/th&gt;
&lt;th&gt;Public&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;$list filter=&quot;[all[shadows+tiddlers]tag[$:/tags/SideBar]!has[draft.of]]&quot;&gt;
&lt;$list filter=&quot;[all[current]addprefix[$:/config/zettelkasten/SideBar/Visibility/]]&quot; variable=&quot;vizTiddler&quot;&gt;
&lt;tr&gt;
&lt;td&gt;&lt;$link to=&lt;&lt;currentTiddler&gt;&gt;&gt;{{!!caption}}&lt;/$link&gt;&lt;/td&gt;
&lt;td&gt;&lt;$checkbox tiddler=&lt;&lt;vizTiddler&gt;&gt; field=&quot;private&quot; checked=&quot;yes&quot; unchecked=&quot;no&quot;/&gt;&lt;/td&gt;
&lt;td&gt;&lt;$checkbox tiddler=&lt;&lt;vizTiddler&gt;&gt; field=&quot;public&quot; checked=&quot;yes&quot; unchecked=&quot;no&quot;/&gt;&lt;/td&gt;
&lt;td&gt;&lt;$transclude field=&quot;description&quot;&gt;(//built-in tab//)&lt;/$transclude&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/$list&gt;
&lt;/$list&gt;
&lt;/table&gt;</pre>
</div>
<div created="20210415020141514" modified="20210421012848006" tags="" title="$:/sib/indite/ChildListItemTemplate" type="text/vnd.tiddlywiki">
<pre>&lt;$link to=&lt;&lt;currentTiddler&gt;&gt;/&gt; ({{!!indite-class}})</pre>
</div>
<div created="20210410004529968" creator="soren" modified="20210825162735756" modifier="soren" tags="" title="$:/sib/indite/InditeChildren" type="text/vnd.tiddlywiki">
<pre>\define copy-me() &lt;$button message=&quot;tm-copy-to-clipboard&quot; param={{!!text}} class=&quot;tc-btn-invisible tc-tiddlylink&quot;&gt;wikitext&lt;/$button&gt;
\define copy-rendered()
&lt;$set name=&quot;hideNotes&quot; value=&quot;yes&quot;&gt;
&lt;$wikify name=&quot;copyText&quot; text=&quot;{{!!text}}&quot; output=&quot;html&quot; mode=&quot;block&quot;&gt;
&lt;$button message=&quot;tm-copy-to-clipboard&quot; param=&lt;&lt;copyText&gt;&gt; class=&quot;tc-btn-invisible tc-tiddlylink&quot;&gt;html&lt;/$button&gt;
&lt;/$wikify&gt;
&lt;/$set&gt;
\end
\define copies()
copy &lt;&lt;copy-me&gt;&gt; · &lt;&lt;copy-rendered&gt;&gt;
\end
\define editmode()
&lt;$radio field=&quot;editmode&quot; value=&quot;view&quot;&gt;view&lt;/$radio&gt;&amp;nbsp;
&lt;$radio field=&quot;editmode&quot; value=&quot;edit&quot;&gt;edit&lt;/$radio&gt;&amp;nbsp;
&lt;$radio field=&quot;editmode&quot; value=&quot;both&quot;&gt;side-by-side&lt;/$radio&gt;
\end
\define remove-action() &lt;$action-listops $tiddler=&lt;&lt;listingTiddler&gt;&gt; $filter=&quot;[&lt;listingTiddler&gt;get[list]enlist-input[]remove&lt;currentTiddler&gt;]&quot;/&gt;
\define remove() &lt;$button class=&quot;tc-btn-invisible tc-tiddlylink&quot; actions=&lt;&lt;remove-action&gt;&gt;&gt;remove&lt;/$button&gt;
\define move-up-action() &lt;$action-listops $tiddler=&lt;&lt;listingTiddler&gt;&gt; $filter=&quot;[&lt;listingTiddler&gt;get[list]enlist-input[]]&quot;
\define move-down-action() &lt;$action-listops $tiddler=&lt;&lt;listingTiddler&gt;&gt; $filter=&quot;[&lt;listingTiddler&gt;get[list]enlist-input[]]&quot;
\define moves() &lt;$button class=&quot;tc-btn-invisible tc-tiddlylink&quot; actions=&lt;&lt;move-up-action&gt;&gt;&gt;up&lt;/$button&gt; · &lt;$button class=&quot;tc-btn-invisible tc-tiddlylink&quot; actions=&lt;&lt;move-down-action&gt;&gt;&gt;down&lt;/$button&gt;
\define tidblock(typeName, viewBlock:&quot;&quot;&quot;&lt;$transclude mode=&quot;block&quot;/&gt;&quot;&quot;&quot;)
&lt;$set name=&quot;thewidth&quot; value={{{ [all[current]editmode[both]then[indite-halfwidth]else[indite-fullwidth]] }}}&gt;
&lt;$list filter=&quot;[&lt;hideNotes&gt;match[yes]then[]else[yes]!is[blank]]&quot; variable=_&gt;
&lt;title-block&gt;
&lt;&lt;__typeName__&gt;&gt;: &lt;$link /&gt;&lt;br&gt;
&lt;&lt;remove&gt;&gt; · &lt;&lt;moves&gt;&gt;&lt;br&gt;
&lt;&lt;copies&gt;&gt;&lt;br&gt;
&lt;&lt;editmode&gt;&gt;
&lt;/title-block&gt;
&lt;/$list&gt;
&lt;$list filter=&quot;[all[current]editmode[view]] [all[current]editmode[both]] [all[current]!has[editmode]]&quot;&gt;
&lt;div class={{{ [[indite-sbs-viewer]addsuffix[ ]addsuffix&lt;thewidth&gt;] }}}&gt;
$viewBlock$
&lt;/div&gt;
&lt;/$list&gt;
&lt;$list filter=&quot;[all[current]editmode[edit]] [all[current]editmode[both]]&quot;&gt;
&lt;div class={{{ [[indite-sbs-editor]addsuffix[ ]addsuffix&lt;thewidth&gt;] }}}&gt;
&lt;$transclude tiddler=&quot;$:/core/ui/EditTemplate/body/editor&quot;/&gt;
&lt;/div&gt;
&lt;/$list&gt;
&lt;/$set&gt;
\end
\define add-here-action() &lt;$action-listops $subfilter=&quot;[enlist{!!list}insertbefore:childTiddler&lt;actionTiddler&gt;]&quot;/&gt;
&lt;$set name=&quot;listingTiddler&quot; value=&lt;&lt;currentTiddler&gt;&gt;&gt;
&lt;$list filter={{!!list}} variable=&quot;childTiddler&quot;&gt;
&lt;title-block&gt;
&lt;$droppable actions=&lt;&lt;add-here-action&gt;&gt;&gt;(//drop to insert tiddler here//)&lt;/$droppable&gt;
&lt;/title-block&gt;
&lt;$list filter=&quot;[&lt;childTiddler&gt;indite-class[chapter]]&quot;&gt;
&lt;&lt;tidblock &quot;Chapter&quot;&gt;&gt;
&lt;/$list&gt;
&lt;$list filter=&quot;[&lt;childTiddler&gt;indite-class[epigraph]]&quot;&gt;
&lt;&lt;tidblock &quot;Epigraph&quot; &quot;&quot;&quot;&lt;blockquote&gt;&lt;$transclude mode=&quot;block&quot;/&gt;&lt;/blockquote&gt;&quot;&quot;&quot;&gt;&gt;
&lt;/$list&gt;
&lt;$list filter=&quot;[&lt;childTiddler&gt;indite-class[scene]]&quot;&gt;
&lt;&lt;tidblock &quot;Scene&quot;&gt;&gt;
&lt;/$list&gt;
&lt;$list filter=&quot;[&lt;childTiddler&gt;!has[indite-class]]&quot;&gt;
&lt;&lt;tidblock &quot;Other&quot;&gt;&gt;
&lt;/$list&gt;
&lt;br&gt;
&lt;/$list&gt;
&lt;/$set&gt;</pre>
</div>
<div created="20210410020513999" modified="20210410031557381" tags="$:/tags/Macro" title="$:/sib/indite/macros" type="text/vnd.tiddlywiki">
<pre>\define indite-note(txt)
&lt;$list filter=&quot;[&lt;hideNotes&gt;match[yes]then[]else[yes]!is[blank]]&quot; variable=_&gt;
&lt;aside&gt;$txt$&lt;/aside&gt;
&lt;/$list&gt;
\end</pre>
</div>
<div created="20210410005234756" modified="20210410005104788" tags="" title="$:/sib/indite/Sidebar" type="text/vnd.tiddlywiki">
<pre>This is the sidebar.</pre>
</div>
<div created="20210410003437115" modified="20210415015805553" tags="$:/tags/Stylesheet" title="$:/sib/indite/Stylesheet" type="text/vnd.tiddlywiki">
<pre>div[data-tags*=&quot;Indite&quot;] div.tc-tiddler-body {
display: none;
}
div.indite-text {
font-family: &quot;Bitstream Charter&quot;, Garamond, Georgia, serif;
font-size: 16px;
max-width: 80rem;
width: 80%;
/*margin-left: 30%;*/
margin-left: 20%;
}
div.indite-text &gt; p &gt; div.indite-halfwidth {
width: 49%;
display: inline-block;
vertical-align: top;
}
div.indite-text &gt; p &gt; div.indite-fullwidth {
width: 100%;
}
div.indite-text &gt; p &gt; div.indite-fullwidth.indite-sbs-viewer {
max-width: 40em;
margin-left: 2em;
margin-right: auto;
}
div.indite-text div p:first-child {
margin-top: 0;
padding-top: 0;
}
div.indite-text div.indite-sbs-editor div {
font-size: 12px;
}
.hide-notes title-block, .hide-notes aside {
display: none;
}
title-block, aside {
font-size: 12px;
font-family: &quot;Bitstream Vera Sans&quot;, &quot;Bitstream Sans&quot;, Arial, sans-serif;
vertical-align: top;
display: block;
float: left;
/*position: absolute;*/
padding-left: 2rem;
padding-right: 1rem;
margin-left: -50%;
/*left: 0;*/
width: 50%;
text-align: right;
list-style-type: none;
clear: both;
margin-bottom: 1rem;
}
</pre>
</div>
<div caption="Indite view template" created="20210410004824597" description="Tiddlers that are part of the Indite writing system (under development) hide the normal view template via CSS and use this one instead." modified="20210523143848140" tags="$:/tags/ViewTemplate" title="$:/sib/indite/ViewTemplate" transcludedin="All tiddlers tagged &lt;&lt;tag Indite&gt;&gt;." type="text/vnd.tiddlywiki">
<pre>&lt;$list filter=&quot;[all[current]tag[Indite]]&quot; variable=_&gt;
&lt;$reveal tag=&quot;div&quot; class=&quot;indite-body&quot; type=&quot;nomatch&quot; stateTitle=&lt;&lt;folded-state&gt;&gt; text=&quot;hide&quot; retain=&quot;yes&quot; animate=&quot;yes&quot;&gt;
&lt;div style=&quot;border: 1px solid;&quot;&gt;
&lt;$count filter=&quot;[all[current]list[]]&quot;/&gt; children (drag and drop to add or reorder):
&lt;$macrocall $name=&quot;list-links-draggable&quot; tiddler=&lt;&lt;currentTiddler&gt;&gt; itemTemplate=&quot;$:/sib/indite/ChildListItemTemplate&quot;/&gt;
&lt;/div&gt;
&lt;div class=&quot;indite-text&quot;&gt;
&lt;$transclude mode=&quot;block&quot;/&gt;
&lt;/div&gt;
&lt;/$reveal&gt;
&lt;/$list&gt;</pre>
</div>
<div created="20210522033305614" modified="20210522034730351" module-type="texteditoroperation" tags="" title="$:/sib/js/excise-private-chunk.js" type="application/javascript">
<pre>/*\
title: $:/sib/js/excise-private-chunk.js
type: application/javascript
module-type: texteditoroperation
Text editor operation to excise the selection to a new private-chunk tiddler.
SIB 2021-05-21: Copied from the standard excise operation and modified as needed.
\*/
(function(){
/*jslint node: true, browser: true */
/*global $tw: false */
&quot;use strict&quot;;
exports[&quot;excisePrivateChunk&quot;] = function(event, operation) {
var editTiddler = this.wiki.getTiddler(this.editTitle),
editTiddlerTitle = this.editTitle;
if(editTiddler &amp;&amp; editTiddler.fields[&quot;draft.of&quot;]) {
editTiddlerTitle = editTiddler.fields[&quot;draft.of&quot;];
}
var excisionTitle = this.wiki.generateNewTitle(editTiddlerTitle + &quot;/p&quot;);
this.wiki.addTiddler(new $tw.Tiddler(
this.wiki.getCreationFields(),
this.wiki.getModificationFields(),
{
title: excisionTitle,
text: operation.selection,
tags: &quot;PrivateChunk&quot;
}
));
operation.replacement = &quot;{{&quot; + excisionTitle + &quot;||PrivateChunk}}&quot;;
operation.cutStart = operation.selStart;
operation.cutEnd = operation.selEnd;
operation.newSelStart = operation.selStart;
operation.newSelEnd = operation.selStart + operation.replacement.length;
};
})();</pre>
</div>
<div created="20210612152514906" modified="20210612171809654" module-type="widget" tags="" title="$:/sib/js/ListSubscriptionsWidget" type="application/javascript">
<pre>/*\
title: action-refreshsubscriptions
type: application/javascript
module-type: widget
Pull details on all subscriptions for a given user into the TiddlyWiki.
\*/
(function(){
/*jslint node: true, browser: true */
/*global $tw: false */
&quot;use strict&quot;;
let ENDPOINT = &quot;https://0tkdn6wpl9.execute-api.us-east-1.amazonaws.com/default/SubscribeToZettelkastenTiddler&quot;;
function gfv(id) {
return document.getElementById(id).value
}
function sendRequest(widget, url, params, callback) {
let xhr = new XMLHttpRequest();
xhr.open('POST', url, true);
xhr.responseType = 'json';
xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
xhr.onload = () =&gt; {
let status = xhr.status;
if (status == 200) {
console.log(xhr.response);
if (xhr.response[&quot;status&quot;] == &quot;success&quot;) {
callback(null, xhr.response, widget);
} else {
callback(status, xhr.response, widget);
}
} else {
callback(status, xhr.response);
}
};
// Turn the data object into an array of URL-encoded key/value pairs.
// https://stackoverflow.com/questions/9713058/send-post-data-using-xmlhttprequest
let urlEncodedDataPairs = [], name;
for (name in params) {
urlEncodedDataPairs.push(encodeURIComponent(name) + '=' + encodeURIComponent(params[name]));
}
xhr.send(urlEncodedDataPairs.join('&amp;'))
};
function getSubscriptions(widget, user, token) {
var params = new Object();
params.user = user;
params.token = token;
params.operation = &quot;list&quot;;
sendRequest(widget, ENDPOINT, params, (err, data, widget) =&gt; {
if (err != null) {
if (data['reason'] === &quot;Invalid token&quot;) {
alert(&quot;Your access code is invalid or missing. Please choose 'send a new one' and try the new access code you are emailed.&quot;)
} else {
alert(&quot;Unknown error viewing subscriptions. Please contact zettelkasten@sorenbjornstad.com for assistance.&quot;);
}
return false;
} else {
var subs = data['subscribed_tiddlers'];
var tiddlerList = &quot;[[&quot; + subs.join(&quot;]] [[&quot;) + &quot;]]&quot;;
widget.wiki.setText(&quot;$:/temp/Subscriptions&quot;, &quot;list&quot;, undefined, tiddlerList);
return true;
}
});
}
var Widget = require(&quot;$:/core/modules/widgets/widget.js&quot;).widget;
var FeedbackWidget = function(parseTreeNode,options) {
this.initialise(parseTreeNode,options);
};
/*
Inherit from the base widget class
*/
FeedbackWidget.prototype = new Widget();
/*
Render this widget into the DOM
*/
FeedbackWidget.prototype.render = function(parent,nextSibling) {
this.computeAttributes();
this.execute();
};
/*
Compute the internal state of the widget
*/
FeedbackWidget.prototype.execute = function() {
this.user = this.getAttribute(&quot;user&quot;);
this.token = this.getAttribute(&quot;token&quot;);
};
/*
Refresh the widget by ensuring our attributes are up to date
*/
FeedbackWidget.prototype.refresh = function(changedTiddlers) {
var changedAttributes = this.computeAttributes();
if(changedAttributes[&quot;name&quot;]) {
this.refreshSelf();
return true;
}
return this.refreshChildren(changedTiddlers);
};
/*
Invoke the action associated with this widget
*/
FeedbackWidget.prototype.invokeAction = function(triggeringWidget,event) {
var self = this, options = {};
return getSubscriptions(self, this.user, this.token);
};
exports[&quot;action-refreshsubscriptions&quot;] = FeedbackWidget;
})();</pre>
</div>
<div created="20210102234204312" modified="20210608025558775" module-type="widget" tags="" title="$:/sib/js/SendFeedbackWidget" type="application/javascript">
<pre>/*\
title: action-sendfeedback
type: application/javascript
module-type: widget
Action widget to call an API.
\*/
(function(){
/*jslint node: true, browser: true */
/*global $tw: false */
&quot;use strict&quot;;
let ENDPOINT = &quot;https://351uof5dxh.execute-api.us-east-1.amazonaws.com/default/startZettelkastenConversation&quot;;
function gfv(id) {
return document.getElementById(id).value
}
function sendRequest(url, params, callback) {
let xhr = new XMLHttpRequest();
xhr.open('POST', url, true);
xhr.responseType = 'json';
xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
xhr.onload = () =&gt; {
let status = xhr.status;
if (status == 200) {
console.log(xhr.response);
if (xhr.response[&quot;status&quot;] == &quot;success&quot;) {
callback(null, xhr.response);
} else {
callback(status, xhr.response);
}
} else {
callback(status, xhr.response);
}
};
// Turn the data object into an array of URL-encoded key/value pairs.
// https://stackoverflow.com/questions/9713058/send-post-data-using-xmlhttprequest
let urlEncodedDataPairs = [], name;
for (name in params) {
urlEncodedDataPairs.push(encodeURIComponent(name) + '=' + encodeURIComponent(params[name]));
}
xhr.send(urlEncodedDataPairs.join('&amp;'))
};
function submitFeedback(tiddler, email, comment) {
var params = new Object();
params.tiddler = tiddler
params.email = email
params.comment = comment
sendRequest(ENDPOINT, params, (err, data) =&gt; {
if (err != null) {
alert(&quot;Error sending mail: &quot; + data.reason);
return false;
} else {
alert(&quot;Thanks for getting in touch! You'll receive a copy of your message and I will write back to you when I am able.&quot;);
return true;
}
});
}
var Widget = require(&quot;$:/core/modules/widgets/widget.js&quot;).widget;
var FeedbackWidget = function(parseTreeNode,options) {
this.initialise(parseTreeNode,options);
};
/*
Inherit from the base widget class
*/
FeedbackWidget.prototype = new Widget();
/*
Render this widget into the DOM
*/
FeedbackWidget.prototype.render = function(parent,nextSibling) {
this.computeAttributes();
this.execute();
};
/*
Compute the internal state of the widget
*/
FeedbackWidget.prototype.execute = function() {
this.tiddlerName = this.getAttribute(&quot;tiddler&quot;);
this.email = this.getAttribute(&quot;email&quot;);
this.comment = this.getAttribute(&quot;comment&quot;);
this.debuginfo = this.getAttribute(&quot;debuginfo&quot;);
};
/*
Refresh the widget by ensuring our attributes are up to date
*/
FeedbackWidget.prototype.refresh = function(changedTiddlers) {
var changedAttributes = this.computeAttributes();
if(changedAttributes[&quot;name&quot;]) {
this.refreshSelf();
return true;
}
return this.refreshChildren(changedTiddlers);
};
/*
Invoke the action associated with this widget
*/
FeedbackWidget.prototype.invokeAction = function(triggeringWidget,event) {
return submitFeedback(this.tiddlerName, this.email, this.comment);
};
exports[&quot;action-sendfeedback&quot;] = FeedbackWidget;
})();</pre>
</div>
<div created="20210612035906052" modified="20210612171757426" module-type="widget" tags="" title="$:/sib/js/SubscriptionManagementWidget" type="application/javascript">
<pre>/*\
title: action-managesubscription
type: application/javascript
module-type: widget
Action widget to call an API.
\*/
(function(){
/*jslint node: true, browser: true */
/*global $tw: false */
&quot;use strict&quot;;
let ENDPOINT = &quot;https://0tkdn6wpl9.execute-api.us-east-1.amazonaws.com/default/SubscribeToZettelkastenTiddler&quot;;
function gfv(id) {
return document.getElementById(id).value
}
function sendRequest(url, params, callback) {
let xhr = new XMLHttpRequest();
xhr.open('POST', url, true);
xhr.responseType = 'json';
xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
xhr.onload = () =&gt; {
let status = xhr.status;
if (status == 200) {
console.log(xhr.response);
if (xhr.response[&quot;status&quot;] == &quot;success&quot;) {
callback(null, xhr.response);
} else {
callback(status, xhr.response);
}
} else {
callback(status, xhr.response);
}
};
// Turn the data object into an array of URL-encoded key/value pairs.
// https://stackoverflow.com/questions/9713058/send-post-data-using-xmlhttprequest
let urlEncodedDataPairs = [], name;
for (name in params) {
urlEncodedDataPairs.push(encodeURIComponent(name) + '=' + encodeURIComponent(params[name]));
}
xhr.send(urlEncodedDataPairs.join('&amp;'))
};
function subscribe(tiddler, user, token, operation) {
var params = new Object();
params.tiddler = tiddler;
params.user = user;
params.token = token;
params.operation = operation;
sendRequest(ENDPOINT, params, (err, data) =&gt; {
if (err != null) {
if (data['reason'] == &quot;Invalid token&quot;) {
alert(&quot;Your access code is invalid or missing. Please choose 'send a new one' and try the new access code you are emailed.&quot;)
} else {
alert(&quot;Unknown error managing subscriptions. Please contact zettelkasten@sorenbjornstad.com for assistance.&quot;);
}
return false;
} else {
console.log(&quot;Subscription operation returned success.&quot;);
return true;
}
});
}
var Widget = require(&quot;$:/core/modules/widgets/widget.js&quot;).widget;
var FeedbackWidget = function(parseTreeNode,options) {
this.initialise(parseTreeNode,options);
};
/*
Inherit from the base widget class
*/
FeedbackWidget.prototype = new Widget();
/*
Render this widget into the DOM
*/
FeedbackWidget.prototype.render = function(parent,nextSibling) {
this.computeAttributes();
this.execute();
};
/*
Compute the internal state of the widget
*/
FeedbackWidget.prototype.execute = function() {
this.tiddlerName = this.getAttribute(&quot;tiddler&quot;);
this.user = this.getAttribute(&quot;user&quot;);
this.token = this.getAttribute(&quot;token&quot;);
this.operation = this.getAttribute(&quot;operation&quot;);
};
/*
Refresh the widget by ensuring our attributes are up to date
*/
FeedbackWidget.prototype.refresh = function(changedTiddlers) {
var changedAttributes = this.computeAttributes();
if(changedAttributes[&quot;name&quot;]) {
this.refreshSelf();
return true;
}
return this.refreshChildren(changedTiddlers);
};
/*
Invoke the action associated with this widget
*/
FeedbackWidget.prototype.invokeAction = function(triggeringWidget,event) {
return subscribe(this.tiddlerName, this.user, this.token, this.operation);
};
exports[&quot;action-managesubscription&quot;] = FeedbackWidget;
})();</pre>
</div>
<div author="Eric Shulman elsdesign@gmail.com" created="20150728060155235" modified="20210627164432078" module-type="widget" revision="1.4" tags="" title="$:/sib/js/thirdparty/TiddlyTools/Time/action-timeout.js" type="application/javascript">
<pre>/*\
title: action-timeout.js
type: application/javascript
module-type: widget
author: Eric Shulman elsdesign@gmail.com
revision: 1.4
$action-timeout invokes actions once after a specified delay, or repeatedly at a specified interval
\*/
(function(){
/*jslint node: true, browser: true */
/*global $tw: false */
&quot;use strict&quot;;
var Widget = require(&quot;$:/core/modules/widgets/widget.js&quot;).widget;
var TimeoutWidget= function(parseTreeNode,options) {
this.initialise(parseTreeNode,options);
};
TimeoutWidget.prototype = new Widget();
TimeoutWidget.prototype.render = function(parent,nextSibling) {
this.computeAttributes();
this.execute();
};
TimeoutWidget.prototype.execute = function() {
this.delay = this.getAttribute(&quot;delay&quot;, &quot;1000&quot;);
this.interval = this.getAttribute(&quot;interval&quot;,&quot;1000&quot;);
this.actions = this.getAttribute(&quot;actions&quot;, &quot;&quot;);
};
TimeoutWidget.prototype.refresh = function(changedTiddlers) {
var changedAttributes = this.computeAttributes();
if(Object.keys(changedAttributes).length &gt; 0) { this.refreshSelf(); return true; }
return this.refreshChildren(changedTiddlers);
};
TimeoutWidget.prototype.allowActionPropagation = function() { return false; };
TimeoutWidget.prototype.invokeAction = function(triggeringWidget,event) {
var self=this;
if (self.delay) setTimeout( function() { self.invokeActionString(self.actions,self,event); }, self.delay);
if (self.interval) setInterval(function() { self.invokeActionString(self.actions,self,event); }, self.interval);
return true; // Action was invoked
};
exports[&quot;action-timeout&quot;] = TimeoutWidget;
})();</pre>
</div>
<div created="20210807150635941" description="Create a reference to an entry in Chrono Book, linking to the ChronoBook page and showing the UOF (Unified Occurrence Format) afterwards." example="&lt;&lt;cb &quot;10.15&quot;&gt;&gt;" modified="20210807150453524" tags="$:/tags/Macro" title="$:/sib/Macros/cb" type="text/vnd.tiddlywiki">
<pre>\define cb(uof) [[CB|ChronoBook]] $uof$</pre>
</div>
<div created="20210626162736737" description="Create a single item on a persistent checklist. State for the checklist in a given tiddler is stored in a data tiddler called $:/checkify/TiddlerName." example="&lt;div class=&quot;checklist&quot;&gt;&lt;&lt;check-item One&gt;&gt;&lt;&lt;check-item Two&gt;&gt;&lt;&lt;check-item Three id:3&gt;&gt;&lt;/div&gt;" modified="20210626164153871" tags="$:/tags/Macro" title="$:/sib/Macros/check-item" type="text/vnd.tiddlywiki">
<pre>\whitespace trim
\define check-item(text, id:&quot;&quot;)
&lt;$set name=&quot;checkbox-index&quot; value={{{ [&lt;__id__&gt;!is[blank]] ~[&lt;__text__&gt;] }}}&gt;
&lt;$set name=&quot;tiddler-key&quot; value={{{ [all[current]!is[draft]] ~[all[current]get[draft.of]] }}}&gt;
&lt;$checkbox tiddler={{{ [[$:/checkify/]addsuffix&lt;tiddler-key&gt;] }}} index=&lt;&lt;checkbox-index&gt;&gt; checked=&quot;yes&quot; unchecked=&quot;no&quot; default=&quot;no&quot;&gt;
&lt;&lt;__text__&gt;&gt;
&lt;/$checkbox&gt;
&lt;/$set&gt;
&lt;/$set&gt;
\end</pre>
</div>
<div created="20210522021311753" description="Insert an empty div that clears any floats. Useful after large images, or to separate blockquotes using the `&gt;` syntax." example="&lt;&lt;float-image &quot;freezer-example.jpg&quot;&gt;&gt;Text wrapping beside the float &lt;&lt;clarify&gt;&gt;Text forced after the float by clarification." modified="20210622002720372" tags="$:/tags/Macro" title="$:/sib/Macros/clarify" type="text/vnd.tiddlywiki">
<pre>\define clarify() &lt;div class=&quot;clarify&quot;/&gt;</pre>
</div>
<div created="20210522022802823" description="Display a small box of color, the color being any CSS color. This macro usually only works properly at the beginning of a line." example="&lt;&lt;colorsplotch &quot;#ffffff&quot;&gt;&gt; White" modified="20210523135019901" tags="$:/tags/Macro" title="$:/sib/Macros/colorsplotch" type="text/vnd.tiddlywiki">
<pre>\define colorsplotch(col) &lt;div class=&quot;color-splotch&quot; style=&quot;background: $col$;&quot;&gt;</pre>
</div>
<div created="20210622002240940" description="Transclude a filter expression that returns `yes` if the specified [[feature flag|$:/sib/Tools/FeatureFlags]] is enabled for the current edition, and nothing otherwise." example="&lt;$list filter=&lt;&lt;ff ViewerPublicLine&gt;&gt; variable=_ emptyMessage=&quot;The viewer public line is off in this edition.&quot;&gt;The viewer public line is on in this edition. Transclude it here.&lt;/$list&gt;" modified="20210825145522659" modifier="soren" tags="$:/tags/Macro" title="$:/sib/Macros/ff" type="text/vnd.tiddlywiki">
<pre>\define ff(tid) [[$:/config/zettelkasten/FeatureFlags/$tid$]get{$:/config/sib/CurrentEditionPublicity}] -[[no]]</pre>
</div>
<div created="20210510222933926" description="Show an image floated to the side of the text of a tiddler. This macro is often used with the `clarify` macro, which forces further content to come after the float." example="&lt;&lt;float-image &quot;freezer-example.jpg&quot; width:200 side:left&gt;&gt; Text next to the float. &lt;&lt;clarify&gt;&gt;" modified="20210523135143792" tags="$:/tags/Macro" title="$:/sib/Macros/float-image" type="text/vnd.tiddlywiki">
<pre>\define float-image(tiddler, width:&quot;400&quot;, side:&quot;right&quot;)
[img width=$width$ class=&quot;$side$-float&quot; [$tiddler$]]
\end</pre>
</div>
<div created="20210719234454927" description="Create a footnote at the current location. Based on Refnotes (https://kookma.github.io/TW-Refnotes/), but doesn't use the plugin." example="This is my body text.&lt;&lt;fnote &quot;This is my footnote.&quot;&gt;&gt;" modified="20210731165949531" tags="$:/tags/Macro" title="$:/sib/Macros/fnote" type="text/vnd.tiddlywiki">
<pre>\define fnote(note)
&lt;div class=&quot;refnotes-tooltip refnotes-footnote&quot;&gt;&lt;div class=&quot;refnotes-tooltiptext&quot;&gt;$note$&lt;/div&gt;&lt;/div&gt;
\end</pre>
</div>
<div created="20210522022034880" creator="soren" description="Show the provided string of initials, linking to the `PrivatePerson` tiddler. Ordinarily not used in the private Zettelkasten; names of people whose tiddlers are not public may be automatically replaced with calls to this macro by the build process for the public wiki." example="&lt;&lt;privateperson &quot;R.A.B.&quot;&gt;&gt;" modified="20210828135531817" modifier="soren" tags="$:/tags/Macro" title="$:/sib/Macros/privateperson" type="text/vnd.tiddlywiki">
<pre>\define privateperson(initials) //[[$initials$|PrivatePerson]]//</pre>
</div>
<div created="20210522020717636" description="Create a web link to an item in [[RandomThoughts]], with the link text &quot;RT #whatever&quot;." example="&lt;&lt;rt 12345&gt;&gt;" modified="20210523134724295" tags="$:/tags/Macro" title="$:/sib/Macros/rt" type="text/vnd.tiddlywiki">
<pre>\define rt(refnum)
[[RT|RandomThoughts]] [[$refnum$|https://randomthoughts.sorenbjornstad.com/#$refnum$]]
\end</pre>
</div>
<div created="20210522025359296" description="Create a line of dialogue. To be used inside a div with the `dialogue` class." example="&lt;div class=&quot;dialogue&quot;&gt;&lt;&lt;speaker &quot;Mother&quot; &quot;Did you look for cars before you ran across?&quot;&gt;&gt;&lt;&lt;speaker Girl &quot;Nope. I just ran!&quot;&gt;&gt;&lt;/div&gt;" modified="20210523135210957" tags="$:/tags/Macro" title="$:/sib/Macros/speaker" type="text/vnd.tiddlywiki">
<pre>\define speaker(name, txt) ''$name$:''&amp;ensp;$txt$&lt;br&gt;</pre>
</div>
<div created="20210817143607812" description="Show a rating out of 5 stars, with filled stars up until the argument and empty stars to fill out the total of 5." example="&lt;&lt;star-rating 4&gt;&gt;" modified="20210817143846288" tags="$:/tags/Macro" title="$:/sib/Macros/star-rating" type="text/vnd.tiddlywiki">
<pre>\define open-star() &lt;i class=&quot;far fa-star&quot;/&gt;
\define filled-star() &lt;i class=&quot;fa fa-star&quot;/&gt;
\define star-rating(stars) &lt;$list filter=&quot;[range&lt;__stars__&gt;]&quot; variable=_&gt;&lt;&lt;filled-star&gt;&gt;&lt;/$list&gt;&lt;$set name=&quot;remainder&quot; value={{{ [[5]subtract&lt;__stars__&gt;] }}}&gt;&lt;$list filter=&quot;[range&lt;remainder&gt;]&quot; variable=_&gt;&lt;&lt;open-star&gt;&gt;&lt;/$list&gt;&lt;/$set&gt;
</pre>
</div>
<div created="20210522021038565" description="Create a web link to a named subreddit, with the link text &quot;/r/yoursubreddit&quot;." example="&lt;&lt;subreddit TiddlyWiki5&gt;&gt;" modified="20210523135249615" tags="$:/tags/Macro" title="$:/sib/Macros/subreddit" type="text/vnd.tiddlywiki">
<pre>\define subreddit(name) [[/r/$name$|https://www.reddit.com/r/$name$/]]</pre>
</div>
<div caption="average" color="yellow" created="20210606220650099" modified="20210606221147494" section="main" stackorder="30" tags="" title="$:/sib/MediaRating/average" type="text/vnd.tiddlywiki">
<pre>The work is entertaining or useful in some way and is worth working through quickly if the subject matter / summary interests you (or maybe slowly if it's primarily for entertainment purposes and this is more entertaining). It is not difficult to understand, unless perhaps you are unfamiliar with the subject, and there is little reason to come back to it again.</pre>
</div>
<div caption="classic" color="gray" created="20210606230345519" modified="20210606230507495" section="auxiliary" stackorder="3" tags="" title="$:/sib/MediaRating/classic" type="text/vnd.tiddlywiki">
<pre>I cannot, on my own subjective judgment at this time, countenance giving this work a rating of “good” or above, but because the work has stuck around for so long and is so well-known, I assume there must be something to it, so I compromise by assigning this status. I may come back to it later and see if I like it better.</pre>
</div>
<div created="20210606221940244" creator="soren" description="Show the [[rating|MediaRating]] of the current source tiddler, if any. The status is editable in the private edition." modified="20210920193209324" modifier="soren" tags="$:/tags/ViewTemplate" title="$:/sib/MediaRating/Display" transcludedin="All non-system tiddlers tagged `Source`. (Unlike the source details box, this doesn't go on sinks because I don't claim to be capable of rating my own work!)" type="text/vnd.tiddlywiki">
<pre>\define color-style() color: $(itemColor)$;
&lt;$list filter=&lt;&lt;ff MediaRating&gt;&gt; variable=_&gt;
&lt;$list filter=&quot;[all[current]!is[system]]&quot;&gt;
&lt;$list filter=&quot;[all[current]tag[Source]]&quot; variable=_&gt;
&lt;div style=&quot;float: right; vertical-align: center;&quot;&gt;
&lt;$list filter=&quot;[[$:/config/sib/IsPublicEdition]text[true]]&quot; variable=_&gt;
&lt;$link to=&quot;MediaRating&quot;&gt;&lt;span style={{{ [prefix[$:/sib/MediaRating/]caption{!!rating}get[color]addprefix[color: ]addsuffix[;]] }}}&gt;rating&lt;/span&gt;&lt;/$link&gt;:
&lt;$select field=&quot;rating&quot; default=&quot;&quot;&gt;
&lt;$list filter=&quot;[prefix[$:/sib/MediaRating]has[caption]!nsort[stackorder]]&quot;&gt;
&lt;$set name=&quot;itemColor&quot; value={{!!color}}&gt;
&lt;option style=&lt;&lt;color-style&gt;&gt; value={{!!caption}}&gt;{{!!caption}}&lt;/option&gt;
&lt;/$set&gt;
&lt;/$list&gt;
&lt;/$select&gt;
&lt;/$list&gt;
&lt;$list filter=&quot;[[$:/config/sib/IsPublicEdition]!text[true]]&quot; variable=_&gt;
&lt;$list filter=&quot;[all[current]has[rating]]&quot;&gt;
[[rating|MediaRating]]: &lt;span style={{{ [prefix[$:/sib/MediaRating/]caption{!!rating}get[color]addprefix[color: ]addsuffix[;]] }}}&gt;{{!!rating}}&lt;/span&gt;
&lt;/$list&gt;
&lt;/$list&gt;
&lt;/div&gt;
&lt;/$list&gt;
&lt;/$list&gt;
&lt;/$list&gt;</pre>
</div>
<div caption="distinguished" color="lightgreen" created="20210606223811463" modified="20210606224757982" section="main" stackorder="35" tags="" title="$:/sib/MediaRating/distinguished" type="text/vnd.tiddlywiki">
<pre>These works are “average plus”: they may not quite rise to the level of providing significant insights on subjects of enduring interest needed to obtain a //good// rating, but they are of noticeably higher quality than their peers and are worth calling out as such. They may be somewhat more work to read or watch, have a particularly fine prose style or visual effect, have particularly enjoyable or beautiful subject matter, have a particularly high concentration of useful information, or some combination of these. They most often fall out of the “good” bracket by dint of having insufficient lasting importance (for instance, they talk about current issues in a way that will not be relevant in thirty years), or by covering an insufficient amount of insight-bearing territory. To a greater degree than other ratings, the distinction between //average// and //distinguished// is subjective.</pre>
</div>
<div caption="good" color="green" created="20210606220541565" modified="20210606225711134" section="main" stackorder="40" tags="" title="$:/sib/MediaRating/good" type="text/vnd.tiddlywiki">
<pre>These works “convey to the reader significant insights about subjects of enduring interest to human beings.” They are somewhat challenging to process, and might be worth revisiting if you don't feel you picked everything up the first time, but you may be disappointed on returning to them. This is an Adler and van Doren term, and one must be careful about applying it: //good// is such a nondescript word that it is easy to accidentally apply it to works that should rather be termed //distinguished// in this model. Since it may be difficult to judge “enduring interest” for current topics, a work should in most cases not be labeled //good// if it was published in the last ten years; indeed, this may be overly liberal. (It can plainly be //distinguished// the day after publication, though.)</pre>
</div>
<div caption="great" color="dodgerblue" created="20210606201123409" modified="20210606224548456" section="main" stackorder="50" tags="" title="$:/sib/MediaRating/great" type="text/vnd.tiddlywiki">
<pre>These works do everything that good ones do, and additionally they “grow with you”: they will always be worth revisiting, and every time you do so you will find new insights. When you put a great work back on the physical or virtual shelf, no matter how carefully you studied it, you have a sneaking suspicion that it has more to give you haven't fully understood it because it's above your level and probably always will be, not because you didn't read or watch it closely enough. There are probably fewer than a thousand of these in the whole world (Adler and van Doren claim there are fewer than a hundred, but the definition seems too fuzzy and subjective for me to be that confident).</pre>
</div>
<div caption="irrationally enjoyed" color="white" created="20210606220802580" modified="20210606225447217" section="auxiliary" stackorder="5" tags="" title="$:/sib/MediaRating/irrational" type="text/vnd.tiddlywiki">
<pre>The work isn't //great// or //good// or maybe even //distinguished// by a traditional definition, but nevertheless I (and sometimes others) find it unexpectedly pleasurable and come back to it over and over again, with a tenacity and enjoyment that seems difficult to justify on the work's merits.</pre>
</div>
<div caption="poor" color="orangered" created="20210606220736962" modified="20210606221128242" section="main" stackorder="10" tags="" title="$:/sib/MediaRating/poor" type="text/vnd.tiddlywiki">
<pre>The work has insufficient merits to be worth your time unless you have somehow run out of other options.</pre>
</div>
<div caption="skimmable" color="orange" created="20210606220706034" modified="20210606220546683" section="main" stackorder="20" tags="" title="$:/sib/MediaRating/skimmable" type="text/vnd.tiddlywiki">
<pre>The work contains some interesting ideas, but as a whole is not particularly worthwhile. You will want to skim over most of it or watch it on high speed, and you might prefer to read someone else's summary or select a different work that touches on the same ideas.</pre>
</div>
<div created="20210205231937423" modified="20210522013616001" tags="$:/tags/Stylesheet" title="$:/sib/Overrides/CodeMirrorPopupFix" type="text/css">
<pre>/* Fix CodeMirror hints appearing behind the story river.
https://groups.google.com/g/tiddlywiki/c/wznyIhGJd9U */
.CodeMirror-hints {
z-index: 1000;
}</pre>
</div>
<div created="20210920202013745" creator="soren" modified="20210920202606337" modifier="soren" tags="$:/tags/Macro" title="$:/sib/Overrides/details-background-color" type="text/vnd.tiddlywiki">
<pre>\define details-background-color() &lt;&lt;colour dropdown-background&gt;&gt;</pre>
</div>
<div created="20210627133302793" modified="20210627195152860" tags="$:/tags/StartupAction/Browser" title="$:/sib/RawMarkup/ClockTicker" type="text/vnd.tiddlywiki">
<pre>\define clock-ticker()
&lt;$action-setfield $tiddler=&quot;$:/temp/time/ticker&quot; text=&lt;&lt;now [UTC]0hh0mm0ss&gt;&gt; /&gt;
&lt;$action-setfield $tiddler=&quot;$:/temp/time/pomodoro-remaining&quot; text={{{ [[$:/temp/time/pomodoro-remaining]get[text]subtract[5]] }}}/&gt;
\end
&lt;$action-timeout interval=5000 actions=&lt;&lt;clock-ticker&gt;&gt; /&gt;</pre>
</div>
<div created="20200913152403709" modified="20210522015229611" tags="$:/tags/RawMarkup" title="$:/sib/RawMarkup/SimpleAnalytics" type="text/html">
<pre>&lt;!--
This snippet sends pageviews to Simple Analytics, a privacy-friendly analytics service.
It records only aggregate statistics and cannot identify you.
--&gt;
&lt;script&gt;window.sa_event=window.sa_event||function(){a=[].slice.call(arguments);sa_event.q?sa_event.q.push(a):sa_event.q=[a]};&lt;/script&gt;
&lt;script async defer src=&quot;https://scripts.simpleanalyticscdn.com/latest.js&quot;&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;img src=&quot;https://queue.simpleanalyticscdn.com/noscript.gif&quot; alt=&quot;&quot;
/&gt;&lt;/noscript&gt;</pre>
</div>
<div created="20200605141146097" creator="soren" modified="20210910163321618" modifier="soren" tags="$:/tags/RawMarkupWikified/TopBody" title="$:/sib/RawMarkup/SplashScreen" type="text/vnd.tiddlywiki">
<pre>\import [[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]
\rules only filteredtranscludeinline transcludeinline macrocallinline
&lt;!-- Spinner mechanism shamelessly stolen from https://tiddlywiki.org. --&gt;
&lt;div class=&quot;tc-remove-when-wiki-loaded&quot;&gt;
&lt;style scoped&gt;
.tc-splash-text {
font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Helvetica, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;;
font-size: 16px;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
margin: 20px auto 0;
width: 200px;
text-align: center;
color: &lt;&lt;colour foreground&gt;&gt;;
fill: &lt;&lt;colour foreground&gt;&gt;;
}
.tc-splash-text img {
width: 150px;
&lt;&lt;box-shadow &quot;2px 2px 10px rgba(0, 0, 0, 0.5)&quot;&gt;&gt;
}
html body.tc-body {
background: &lt;&lt;colour page-background&gt;&gt;;
}
/*
Spinner from https://github.com/tobiasahlin/SpinKit/ by Tobias Ahlin
The MIT License (MIT)
Copyright (c) 2015 Tobias Ahlin
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the &quot;Software&quot;), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
.tc-splash-spinner {
margin: 20px auto 0;
width: 70px;
text-align: center;
}
.tc-splash-spinner &gt; div {
width: 18px;
height: 18px;
border-radius: 100%;
display: inline-block;
-webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
animation: sk-bouncedelay 1.4s infinite ease-in-out both;
background-color: #f88;
}
.tc-splash-spinner .tc-splash-bounce-1 {
-webkit-animation-delay: -0.32s;
animation-delay: -0.32s;
background-color: #8f8;
}
.tc-splash-spinner .tc-splash-bounce-2 {
-webkit-animation-delay: -0.16s;
animation-delay: -0.16s;
background-color: #88f;
}
@-webkit-keyframes sk-bouncedelay {
0%, 80%, 100% { -webkit-transform: scale(0) }
40% { -webkit-transform: scale(1.0) }
}
@keyframes sk-bouncedelay {
0%, 80%, 100% {
-webkit-transform: scale(0);
transform: scale(0);
} 40% {
-webkit-transform: scale(1.0);
transform: scale(1.0);
}
}
&lt;/style&gt;
&lt;div class=&quot;tc-splash-spinner&quot;&gt;
&lt;div class=&quot;tc-splash-bounce-1&quot;&gt;&lt;/div&gt;
&lt;div class=&quot;tc-splash-bounce-2&quot;&gt;&lt;/div&gt;
&lt;div class=&quot;tc-splash-bounce-3&quot;&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;tc-splash-text&quot;&gt;
{{$:/config/zettelkasten/SplashScreenMessage}}
&lt;/div&gt;
&lt;/div&gt;</pre>
</div>
<div caption="All" condition="[&lt;storyTiddler&gt;backlinks[]] [&lt;storyTiddler&gt;links[]] [&lt;storyTiddler&gt;tagging[]] +[!title&lt;storyTiddler&gt;sort[]]" created="20200329160001633" creator="soren" modified="20210825191857536" modifier="soren" tags="$:/tags/ReferenceExplorerTab" title="$:/sib/refexplorer/All" type="text/vnd.tiddlywiki">
<pre>&lt;table class=&quot;ideas-table&quot;&gt;
&lt;caption class=&quot;ideas-table-caption&quot;&gt;Reference Explorer (all types)&lt;/caption&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Title&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Tags&lt;/th&gt;
&lt;th style=&quot;width: 8rem;&quot;&gt;Modified&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;$list filter={{$:/sib/refexplorer/All!!condition}}&gt;
&lt;$vars currentRecord=&lt;&lt;currentTiddler&gt;&gt; thisTooltip={{{ [all[current]get[description]!is[blank]] ~[all[current]get[text]split[ ]first[100]join[ ]addsuffix[...]] }}}&gt;
&lt;tr&gt;
&lt;td&gt;&lt;$link to={{!!title}} tooltip=&lt;&lt;thisTooltip&gt;&gt; style=&quot;color: white;&quot;/&gt;&lt;/td&gt;
{{$:/sib/refexplorer/LinkTypeTemplate}}
&lt;td&gt;&lt;$list filter=&quot;[all[current]tags[]sort[]]&quot;&gt;&lt;$macrocall $name=&quot;tag-pill&quot; tag=&lt;&lt;currentTiddler&gt;&gt;/&gt;&lt;/$list&gt;&lt;/td&gt;
&lt;td&gt;&lt;$view field=&quot;modified&quot; format=&quot;date&quot; template=&quot;YYYY-0MM-0DD 0hh:0ss&quot;/&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/$vars&gt;
&lt;/$list&gt;
&lt;/tbody&gt;
&lt;/table&gt;</pre>
</div>
<div caption="Footnotes" condition="[search[fnote]]" created="20210719234943395" modified="20210825191857601" modifier="soren" tags="$:/tags/ReferenceExplorerTab" title="$:/sib/refexplorer/Footnotes" type="text/vnd.tiddlywiki">
<pre>\define find(text, begin, end, output:&quot;simple&quot;, mode:&quot;all&quot;)
&lt;$vars
fulltext=&lt;&lt;__text__&gt;&gt;
start=&lt;&lt;__begin__&gt;&gt;
stop=&lt;&lt;__end__&gt;&gt;
output-macro=&lt;&lt;__output__&gt;&gt;
&gt;
&lt;$list variable=&quot;p1&quot; filter=&quot;[&lt;fulltext&gt;splitbefore&lt;start&gt;]&quot;&gt;
&lt;$list variable=&quot;p2&quot; filter=&quot;[&lt;fulltext&gt;removeprefix&lt;p1&gt;]&quot;&gt;
&lt;$list variable=&quot;p3&quot; filter=&quot;[&lt;p2&gt;splitbefore&lt;stop&gt;removesuffix&lt;stop&gt;]&quot;&gt;
&lt;$macrocall $name=&lt;&lt;output-macro&gt;&gt; p=&lt;&lt;p3&gt;&gt; /&gt;
&lt;$reveal type=&quot;match&quot; text=&quot;all&quot; default=&lt;&lt;__mode__&gt;&gt; &gt;
&lt;$macrocall $name=&quot;find&quot;
text={{{[&lt;p2&gt;removeprefix&lt;p3&gt;removeprefix&lt;stop&gt;]}}}
begin=&lt;&lt;start&gt;&gt;
end=&lt;&lt;stop&gt;&gt;
output=&lt;&lt;output-macro&gt;&gt;
/&gt;
&lt;/$reveal&gt;
&lt;/$list&gt;
&lt;/$list&gt;
&lt;/$list&gt;
&lt;/$vars&gt;
\end
\define simple(p)
&lt;$text text=&lt;&lt;__p__&gt;&gt; /&gt;
\end
\define simple-list(p)
&lt;li&gt;&lt;$text text=&lt;&lt;__p__&gt;&gt;/&gt;&lt;/li&gt;
\end
\define showfnotes(filter:&quot;[&lt;currentTiddler&gt;]&quot;, title:&quot;Empty&quot; class:&quot;fnote-list&quot;, emptyMessage:&quot;&quot;)
&lt;$vars leftDelimiter=&quot;&lt;&lt;fnote &quot;&gt;
&lt;$list filter=&quot;[subfilter&lt;__filter__&gt;search:text:literal&lt;leftDelimiter&gt;limit[1]]&quot; variable=null emptyMessage=&lt;&lt;__emptyMessage__&gt;&gt; &gt;&lt;!-- check to see if there is any footnote --&gt;
&lt;$reveal tag=&quot;div&quot; type=&quot;nomatch&quot; default=&quot;Empty&quot; text=&lt;&lt;__title__&gt;&gt; &gt;
&lt;h2&gt;$title$&lt;/h2&gt;
&lt;/$reveal&gt;
&lt;ol class=&quot;$class$&quot;&gt;
&lt;$list filter=&lt;&lt;__filter__&gt;&gt; &gt;
&lt;$macrocall $name=&quot;find&quot;
text={{!!text}}
begin=&quot;&lt;&lt;fnote &quot;
end=&quot;&gt;&gt;&quot;
output=&quot;output-fnote&quot;
/&gt;
&lt;/$list&gt;
&lt;/ol&gt;
&lt;/$list&gt;
&lt;/$vars&gt;
\end
\define output-fnote(p)
&lt;$vars output=$p$&gt;
&lt;li&gt;&lt;&lt;output&gt;&gt;&lt;/li&gt;
&lt;/$vars&gt;
\end
&lt;$tiddler tiddler=&lt;&lt;storyTiddler&gt;&gt;&gt;
&lt;&lt;showfnotes emptyMessage:&quot;There are no footnotes in this tiddler. (Use the `fnote` macro to create a footnote.)&quot;&gt;&gt;
&lt;/$tiddler&gt;
&lt;!--
Based on https://kookma.github.io/TW-Refnotes/.
Copyright (c) 2019--2021 Mohammad Rahmani.
Copyright (c) 2021 Soren Bjornstad.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the &quot;Software&quot;), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
--&gt;</pre>
</div>
<div caption="Ideas" condition="[&lt;storyTiddler&gt;backlinks[]] [&lt;storyTiddler&gt;links[]] [&lt;storyTiddler&gt;tagging[]] +[tag[Idea]!title&lt;storyTiddler&gt;sort[]]" created="20200321225433677" creator="soren" modified="20210825191857613" modifier="soren" tags="$:/tags/ReferenceExplorerTab" title="$:/sib/refexplorer/Ideas" type="text/vnd.tiddlywiki">
<pre>&lt;table class=&quot;ideas-table&quot;&gt;
&lt;caption class=&quot;ideas-table-caption&quot;&gt;Idea Explorer&lt;/caption&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Title&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Tags&lt;/th&gt;
&lt;th style=&quot;width: 8rem;&quot;&gt;Modified&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;$list filter={{$:/sib/refexplorer/Ideas!!condition}}&gt;
&lt;$vars currentRecord=&lt;&lt;currentTiddler&gt;&gt; thisTooltip={{{ [all[current]get[description]!is[blank]] ~[all[current]get[text]split[ ]first[100]join[ ]addsuffix[...]] }}}&gt;
&lt;tr&gt;
&lt;td&gt;&lt;$link to={{!!title}} tooltip=&lt;&lt;thisTooltip&gt;&gt; style=&quot;color: white;&quot;/&gt;&lt;/td&gt;
{{$:/sib/refexplorer/LinkTypeTemplate}}
&lt;td&gt;&lt;$list filter=&quot;[all[current]tags[]sort[]]&quot;&gt;&lt;$macrocall $name=&quot;tag-pill&quot; tag=&lt;&lt;currentTiddler&gt;&gt;/&gt;&lt;/$list&gt;&lt;/td&gt;
&lt;td&gt;&lt;$view field=&quot;modified&quot; format=&quot;date&quot; template=&quot;YYYY-0MM-0DD 0hh:0ss&quot;/&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/$vars&gt;
&lt;/$list&gt;
&lt;/tbody&gt;
&lt;/table&gt;</pre>
</div>
<div caption="Link graph" condition="[links[]]" created="20210301193644181" modified="20210825191857621" modifier="soren" tags="$:/tags/ReferenceExplorerTab" title="$:/sib/refexplorer/LinkGraph" type="text/vnd.tiddlywiki">
<pre>&lt;!--
Depth:&amp;ensp;&lt;$range tiddler=&quot;$:/temp/OutboundLinkDepth&quot; index=&lt;&lt;currentTiddler&gt;&gt; min=1 max=4/&gt;&amp;ensp;&lt;$text text={{{ [[$:/temp/OutboundLinkDepth]getindex&lt;currentTiddler&gt;!is[blank]else[2]] }}}/&gt;
&lt;$tidgraph start=&lt;&lt;currentTiddler&gt;&gt; mode=&quot;linking&quot; maxdepth={{{ [[$:/temp/OutboundLinkDepth]getindex&lt;currentTiddler&gt;] }}}/&gt;
--&gt;
&lt;$tidgraph start=&lt;&lt;currentTiddler&gt;&gt; mode=&quot;linking&quot; maxdepth=3 /&gt;</pre>
</div>
<div created="20200322005021864" creator="soren" modified="20210825190353974" modifier="soren" tags="" title="$:/sib/refexplorer/LinkTypeTemplate" type="text/vnd.tiddlywiki">
<pre>&lt;td&gt;
&lt;!-- The list filter operator does not seem to offer any way to use a dynamic tiddler parameter other than the current tiddler, so we set the current tiddler to the story tiddler (it'll be overridden again by the list widget itself). We use storyTiddler where possible for clarity. --&gt;
&lt;$set name=&quot;currentTiddler&quot; value=&lt;&lt;storyTiddler&gt;&gt; &gt;
&lt;$list filter=&quot;
[&lt;currentRecord&gt;]
-[&lt;storyTiddler&gt;tagging[]] +[else[Tagged]]
-[&lt;storyTiddler&gt;links[]] +[else[Link]]
-[&lt;storyTiddler&gt;backlinks[]] +[else[Backlink]]
-[&lt;currentRecord&gt;] +[else[Subtiddler]]
&quot;&gt;
&lt;&lt;currentTiddler&gt;&gt;
&lt;/$list&gt;
&lt;/$set&gt;
&lt;/td&gt;</pre>
</div>
<div caption="People" condition="[&lt;storyTiddler&gt;backlinks[]] [&lt;storyTiddler&gt;links[]] [&lt;storyTiddler&gt;tagging[]] +[tag[PAO]sort[]]" created="20200321230153705" creator="soren" modified="20210825191857631" modifier="soren" tags="$:/tags/ReferenceExplorerTab" title="$:/sib/refexplorer/PAO" type="text/vnd.tiddlywiki">
<pre>&lt;table class=&quot;ideas-table&quot;&gt;
&lt;caption class=&quot;ideas-table-caption&quot;&gt;Person/Animal/Organization Explorer&lt;/caption&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Title&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Tags&lt;/th&gt;
&lt;th style=&quot;width: 8rem;&quot;&gt;Modified&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;$list filter={{$:/sib/refexplorer/PAO!!condition}}&gt;
&lt;$vars currentRecord=&lt;&lt;currentTiddler&gt;&gt; thisTooltip={{{ [all[current]get[description]!is[blank]] ~[all[current]get[text]split[ ]first[100]join[ ]addsuffix[...]] }}}&gt;
&lt;tr&gt;
&lt;td&gt;&lt;$link to={{!!title}} tooltip=&lt;&lt;thisTooltip&gt;&gt; style=&quot;color: white;&quot;/&gt;&lt;/td&gt;
{{$:/sib/refexplorer/LinkTypeTemplate}}
&lt;td&gt;&lt;$list filter=&quot;[all[current]tags[]sort[]]&quot;&gt;&lt;$macrocall $name=&quot;tag-pill&quot; tag=&lt;&lt;currentTiddler&gt;&gt;/&gt;&lt;/$list&gt;&lt;/td&gt;
&lt;td&gt;&lt;$view field=&quot;modified&quot; format=&quot;date&quot; template=&quot;YYYY-0MM-0DD 0hh:0ss&quot;/&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/$vars&gt;
&lt;/$list&gt;
&lt;/tbody&gt;
&lt;/table&gt;</pre>
</div>
<div caption="Places" condition="[&lt;storyTiddler&gt;backlinks[]] [&lt;storyTiddler&gt;links[]] [&lt;storyTiddler&gt;tagging[]] +[tag[Place]sort[]]" created="20200329145138606" creator="soren" modified="20210825191857644" modifier="soren" tags="$:/tags/ReferenceExplorerTab" title="$:/sib/refexplorer/Places" type="text/vnd.tiddlywiki">
<pre>&lt;table class=&quot;ideas-table&quot;&gt;
&lt;caption class=&quot;ideas-table-caption&quot;&gt;Place Explorer&lt;/caption&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Title&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Tags&lt;/th&gt;
&lt;th style=&quot;width: 8rem;&quot;&gt;Modified&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;$list filter={{$:/sib/refexplorer/Places!!condition}}&gt;
&lt;$vars currentRecord=&lt;&lt;currentTiddler&gt;&gt; thisTooltip={{{ [all[current]get[description]!is[blank]] ~[all[current]get[text]split[ ]first[100]join[ ]addsuffix[...]] }}}&gt;
&lt;tr&gt;
&lt;td&gt;&lt;$link to={{!!title}} tooltip=&lt;&lt;thisTooltip&gt;&gt; style=&quot;color: white;&quot;/&gt;&lt;/td&gt;
{{$:/sib/refexplorer/LinkTypeTemplate}}
&lt;td&gt;&lt;$list filter=&quot;[all[current]tags[]sort[]]&quot;&gt;&lt;$macrocall $name=&quot;tag-pill&quot; tag=&lt;&lt;currentTiddler&gt;&gt;/&gt;&lt;/$list&gt;&lt;/td&gt;
&lt;td&gt;&lt;$view field=&quot;modified&quot; format=&quot;date&quot; template=&quot;YYYY-0MM-0DD 0hh:0ss&quot;/&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/$vars&gt;
&lt;/$list&gt;
&lt;/tbody&gt;
&lt;/table&gt;</pre>
</div>
<div created="20200321225156394" creator="soren" description="Display the Reference Explorer, a table that shows related topics, for the current tiddler." modified="20210920193434935" modifier="soren" tags="$:/tags/ViewTemplate" title="$:/sib/refexplorer/ReferenceExplorer" transcludedin="All non-system tiddlers." type="text/vnd.tiddlywiki">
<pre>\define ref-explorer()
&lt;$set name=&quot;tabList&quot; value={{{ [tag[$:/tags/ReferenceExplorerTab]] :reduce[&lt;storyTiddler&gt;subfilter{!!condition}then&lt;currentTiddler&gt;addprefix[ ]addprefix&lt;accumulator&gt;] }}}&gt;
&lt;$set name=&quot;myDefaultTab&quot; value={{{ [&lt;storyTiddler&gt;has[refexplorer-starttab]get[refexplorer-starttab]addprefix[$:/sib/refexplorer/]] ~[enlist&lt;tabList&gt;first[]] }}}&gt;
&lt;$list filter=&quot;[&lt;tabList&gt;!is[blank]]&quot; variable=_&gt;
&lt;$macrocall $name=&quot;tabs&quot; tabsList=&lt;&lt;tabList&gt;&gt; default=&lt;&lt;myDefaultTab&gt;&gt; class=&quot;sib-reference-explorer&quot;/&gt;
&lt;/$list&gt;
&lt;/$set&gt;
&lt;/$set&gt;
\end
&lt;!-- If this is a system tiddler, don't do anything. --&gt;
&lt;$list filter=&quot;[all[current]!is[system]]&quot; variable=_&gt;
&lt;!-- If the refexplorer-hide field is not set, just render the explorer. --&gt;
&lt;$reveal stateTitle=&lt;&lt;currentTiddler&gt;&gt;
stateField=&quot;refexplorer-hide&quot;
type=&quot;match&quot;
text=&quot;&quot;
default=&quot;&quot; &gt;
&lt;&lt;ref-explorer&gt;&gt;
&lt;/$reveal&gt;
&lt;!-- Otherwise... --&gt;
&lt;$reveal stateTitle=&lt;&lt;currentTiddler&gt;&gt;
stateField=&quot;refexplorer-hide&quot;
type=&quot;nomatch&quot;
text=&quot;&quot;
default=&quot;&quot; &gt;
&lt;!-- If collapsed: --&gt;
&lt;$reveal stateTitle=&quot;$:/temp/sibrefexplorer-shows&quot;
stateIndex=&lt;&lt;currentTiddler&gt;&gt;
type=&quot;nomatch&quot;
text=&quot;show&quot;
default=&quot;hide&quot;&gt;
&lt;&lt;clarify&gt;&gt;
&lt;hr&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 50%;&quot;&gt;
&lt;&lt;fa-lbox fa-info&gt;&gt;
&lt;/span&gt;
This tiddler does not display its references automatically, likely because there are a large number of them which could slow the wiki down.
&lt;/div&gt;
&lt;$button setTitle=&quot;$:/temp/sibrefexplorer-shows&quot;
setIndex=&lt;&lt;currentTiddler&gt;&gt;
setTo=&quot;show&quot;&gt;
Show Reference Explorer
&lt;/$button&gt;
&lt;/$reveal&gt;
&lt;!-- If expanded: --&gt;
&lt;$reveal stateTitle=&quot;$:/temp/sibrefexplorer-shows&quot;
stateIndex=&lt;&lt;currentTiddler&gt;&gt;
type=&quot;match&quot;
text=&quot;show&quot;
default=&quot;hide&quot;&gt;
&lt;&lt;clarify&gt;&gt;
&lt;hr&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 50%;&quot;&gt;
&lt;&lt;fa-lbox fa-info&gt;&gt;
&lt;/span&gt;
Experiencing poor performance? Try hiding the reference explorer on this tiddler.
&lt;/div&gt;
&lt;$button setTitle=&quot;$:/temp/sibrefexplorer-shows&quot;
setIndex=&lt;&lt;currentTiddler&gt;&gt;
setTo=&quot;hide&quot;&gt;
Hide Reference Explorer
&lt;/$button&gt;
&lt;&lt;ref-explorer&gt;&gt;
&lt;/$reveal&gt;
&lt;/$reveal&gt;
&lt;/$list&gt;</pre>
</div>
<div caption="Sinks" condition="[&lt;storyTiddler&gt;backlinks[]] [&lt;storyTiddler&gt;links[]] [&lt;storyTiddler&gt;tagging[]] +[tag[Sink]sort[]]" created="20200329154311717" creator="soren" modified="20210825191857667" modifier="soren" tags="$:/tags/ReferenceExplorerTab" title="$:/sib/refexplorer/Sinks" type="text/vnd.tiddlywiki">
<pre>&lt;table class=&quot;ideas-table&quot;&gt;
&lt;caption class=&quot;ideas-table-caption&quot;&gt;Sink Explorer&lt;/caption&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Title&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Tags&lt;/th&gt;
&lt;th style=&quot;width: 8rem;&quot;&gt;Modified&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;$list filter={{$:/sib/refexplorer/Sinks!!condition}}&gt;
&lt;$vars currentRecord=&lt;&lt;currentTiddler&gt;&gt; thisTooltip={{{ [all[current]get[description]!is[blank]] ~[all[current]get[text]split[ ]first[100]join[ ]addsuffix[...]] }}}&gt;
&lt;tr&gt;
&lt;td&gt;&lt;$link to={{!!title}} tooltip=&lt;&lt;thisTooltip&gt;&gt; style=&quot;color: white;&quot;/&gt;&lt;/td&gt;
{{$:/sib/refexplorer/LinkTypeTemplate}}
&lt;td&gt;&lt;$list filter=&quot;[all[current]tags[]sort[]]&quot;&gt;&lt;$macrocall $name=&quot;tag-pill&quot; tag=&lt;&lt;currentTiddler&gt;&gt;/&gt;&lt;/$list&gt;&lt;/td&gt;
&lt;td&gt;&lt;$view field=&quot;modified&quot; format=&quot;date&quot; template=&quot;YYYY-0MM-0DD 0hh:0ss&quot;/&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/$vars&gt;
&lt;/$list&gt;
&lt;/tbody&gt;
&lt;/table&gt;</pre>
</div>
<div caption="Sources" condition="[&lt;storyTiddler&gt;backlinks[]] [&lt;storyTiddler&gt;links[]] [&lt;storyTiddler&gt;tagging[]] +[regexp:tags[Class|Publication|Source]sort[]]" created="20200321225758173" creator="soren" modified="20210825191857675" modifier="soren" tags="$:/tags/ReferenceExplorerTab" title="$:/sib/refexplorer/Sources" type="text/vnd.tiddlywiki">
<pre>&lt;table class=&quot;ideas-table&quot;&gt;
&lt;caption class=&quot;ideas-table-caption&quot;&gt;Source Explorer&lt;/caption&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Title&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Tags&lt;/th&gt;
&lt;th style=&quot;width: 8rem;&quot;&gt;Modified&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;$list filter={{$:/sib/refexplorer/Sources!!condition}}&gt;
&lt;$vars currentRecord=&lt;&lt;currentTiddler&gt;&gt; thisTooltip={{{ [all[current]get[description]!is[blank]] ~[all[current]get[text]split[ ]first[100]join[ ]addsuffix[...]] }}}&gt;
&lt;tr&gt;
&lt;td&gt;&lt;$link to={{!!title}} tooltip=&lt;&lt;thisTooltip&gt;&gt; style=&quot;color: white;&quot;/&gt;&lt;/td&gt;
{{$:/sib/refexplorer/LinkTypeTemplate}}
&lt;td&gt;&lt;$list filter=&quot;[all[current]tags[]sort[]]&quot;&gt;&lt;$macrocall $name=&quot;tag-pill&quot; tag=&lt;&lt;currentTiddler&gt;&gt;/&gt;&lt;/$list&gt;&lt;/td&gt;
&lt;td&gt;&lt;$view field=&quot;modified&quot; format=&quot;date&quot; template=&quot;YYYY-0MM-0DD 0hh:0ss&quot;/&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/$vars&gt;
&lt;/$list&gt;
&lt;/tbody&gt;
&lt;/table&gt;</pre>
</div>
<div caption="Subtiddlers" condition="[all[tiddlers]prefix&lt;storyTiddler&gt;!field:title&lt;storyTiddler&gt;sort[]]" created="20201206210345097" creator="soren" modified="20210920161045390" modifier="soren" tags="$:/tags/ReferenceExplorerTab" title="$:/sib/refexplorer/Subtiddlers" type="text/vnd.tiddlywiki">
<pre>&lt;table class=&quot;ideas-table&quot;&gt;
&lt;caption class=&quot;ideas-table-caption&quot;&gt;Subtiddler Explorer&lt;/caption&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Title&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Tags&lt;/th&gt;
&lt;th style=&quot;width: 8rem;&quot;&gt;Modified&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;$list filter={{$:/sib/refexplorer/Subtiddlers!!condition}}&gt;
&lt;$vars currentRecord=&lt;&lt;currentTiddler&gt;&gt; thisTooltip={{{ [all[current]get[description]!is[blank]] ~[all[current]get[text]split[ ]first[100]join[ ]addsuffix[...]] }}}&gt;
&lt;tr&gt;
&lt;td&gt;&lt;$link to={{!!title}} tooltip=&lt;&lt;thisTooltip&gt;&gt; style=&quot;color: white;&quot;/&gt;&lt;/td&gt;
{{$:/sib/refexplorer/LinkTypeTemplate}}
&lt;td&gt;&lt;$list filter=&quot;[all[current]tags[]sort[]]&quot;&gt;&lt;$macrocall $name=&quot;tag-pill&quot; tag=&lt;&lt;currentTiddler&gt;&gt;/&gt;&lt;/$list&gt;&lt;/td&gt;
&lt;td&gt;&lt;$view field=&quot;modified&quot; format=&quot;date&quot; template=&quot;YYYY-0MM-0DD 0hh:0ss&quot;/&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/$vars&gt;
&lt;/$list&gt;
&lt;/tbody&gt;
&lt;/table&gt;</pre>
</div>
<div created="20201229225912046" modified="20210119030132561" tags="$:/tags/Macro" title="$:/sib/Reviewer/Dateops" type="text/vnd.tiddlywiki">
<pre>\whitespace trim
\define g(y,m,d,offset:&quot;0&quot;)
&lt;$set name=m value={{{ [&lt;__m__&gt;add[9]remainder[12]] }}}&gt;
&lt;$set name=y value={{{ [&lt;m&gt;divide[10]floor[]negate[]add&lt;__y__&gt;] }}} &gt;
&lt;$set name=y4 value={{{ [&lt;y&gt;divide[4]floor[]] }}}&gt;
&lt;$set name=y100 value={{{ [&lt;y&gt;divide[100]floor[]] }}}&gt;
&lt;$set name=y400 value={{{ [&lt;y&gt;divide[400]floor[]] }}}&gt;
&lt;$set name=m306 value={{{ [&lt;m&gt;multiply[306]add[5]divide[10]floor[]] }}}&gt;
&lt;$set name=result value={{{ [[365]multiply&lt;y&gt;add&lt;y4&gt;subtract&lt;y100&gt;add&lt;y400&gt;add&lt;m306&gt;add[$d$]add[$offset$]subtract[1]] }}} &gt;
&lt;&lt;result&gt;&gt;
&lt;/$set&gt;&lt;/$set&gt;&lt;/$set&gt;&lt;/$set&gt;&lt;/$set&gt;&lt;/$set&gt;&lt;/$set&gt;
\end
\define d(g)
&lt;$set name=daysperyear value=&quot;365.2425&quot;&gt;
&lt;!-- y = (10000*g + 14780)/3652425 --&gt;
&lt;$set name=y value={{{ [[10000]multiply&lt;__g__&gt;add[14780]divide[3652425]floor[]] }}}&gt;
&lt;!-- ddd = g - (365*y + y/4 - y/100 + y/400) --&gt;
&lt;$set name=y4 value={{{ [&lt;y&gt;divide[4]floor[]] }}}&gt;
&lt;$set name=y100 value={{{ [&lt;y&gt;divide[100]floor[]] }}}&gt;
&lt;$set name=y400 value={{{ [&lt;y&gt;divide[400]floor[]] }}}&gt;
&lt;$set name=dddtest value={{{ [[365]multiply&lt;y&gt;add&lt;y4&gt;subtract&lt;y100&gt;add&lt;y400&gt;negate[]add&lt;__g__&gt;] }}} &gt;
&lt;$set name=prioryear value={{{ [&lt;y&gt;subtract[1]] }}} &gt;
&lt;$set name=y value={{{ [&lt;dddtest&gt;prefix[-]then&lt;prioryear&gt;] [&lt;dddtest&gt;!prefix[-]then&lt;y&gt;] }}} &gt;
&lt;$set name=ddd value={{{ [[365]multiply&lt;y&gt;add&lt;y4&gt;subtract&lt;y100&gt;add&lt;y400&gt;negate[]add&lt;__g__&gt;] }}} &gt;
&lt;!-- mi = (100*ddd + 52)/3060 --&gt;
&lt;$set name=mi value={{{ [[100]multiply&lt;ddd&gt;add[52]divide[3060]floor[]] }}} &gt;
&lt;!-- mm = (mi + 2)%12 + 1 --&gt;
&lt;$set name=mm value={{{ [&lt;mi&gt;add[2]remainder[12]add[1]] }}} &gt;
&lt;!-- y = y + (mi + 2)/12 --&gt;
&lt;$set name=y value={{{ [&lt;mi&gt;add[2]divide[12]floor[]add&lt;y&gt;] }}} &gt;
&lt;!-- dd= ddd - (mi*306 + 5)/10 + 1 --&gt;
&lt;$set name=dd value={{{ [&lt;mi&gt;multiply[306]add[5]divide[10]floor[]negate[]add&lt;ddd&gt;add[1]] }}} &gt;
&lt;&lt;y&gt;&gt;, &lt;&lt;mm&gt;&gt;, &lt;&lt;dd&gt;&gt; &lt;br/&gt;
&lt;/$set&gt;&lt;/$set&gt;&lt;/$set&gt;&lt;/$set&gt;&lt;/$set&gt;&lt;/$set&gt;&lt;/$set&gt;&lt;/$set&gt;&lt;/$set&gt;&lt;/$set&gt;&lt;/$set&gt;&lt;/$set&gt;&lt;/$set&gt;
\end
\define daysfrom(y,m,d,o)
&lt;$wikify name=future text=&quot;&lt;&lt;g $y$ $m$ $d$ $o$&gt;&gt;&quot;&gt;
&lt;$macrocall $name=&quot;d&quot; g=&lt;&lt;future&gt;&gt;/&gt;
&lt;/$wikify&gt;
\end
\define datestampFromOffset(y, m, d, o)
&lt;$wikify name=result text=&quot;&lt;&lt;daysfrom $y$ $m$ $d$ $o$&gt;&gt;&quot;&gt;
&lt;$vars
year={{{ [&lt;result&gt;split[,]nth[1]trim[]] }}}
month={{{ [&lt;result&gt;split[,]nth[2]trim[]] }}}
day={{{ [&lt;result&gt;split[,]nth[3]trim[]] }}}&gt;
&lt;$vars
paddedmonth={{{ [&lt;month&gt;addprefix[0]] }}}
paddedday={{{ [&lt;day&gt;addprefix[0]] }}}&gt;
&lt;&lt;year&gt;&gt;&lt;$text text={{{ [&lt;month&gt;minlength[2]else&lt;paddedmonth&gt;] }}}/&gt;&lt;$text text={{{ [&lt;day&gt;minlength[2]else&lt;paddedday&gt;] }}}/&gt;1200
&lt;/$vars&gt;
&lt;/$vars&gt;
&lt;/$wikify&gt;
\end
\define daysFromDatestamp(datestamp, offset)
&lt;$vars
year={{{ [&lt;__datestamp__&gt;split[]first[4]join[]] }}}
month={{{ [&lt;__datestamp__&gt;split[]first[6]last[2]join[]] }}}
day={{{ [&lt;__datestamp__&gt;split[]first[8]last[2]join[]] }}}&gt;
&lt;$macrocall $name=datestampFromOffset
y=&lt;&lt;year&gt;&gt; m=&lt;&lt;month&gt;&gt; d=&lt;&lt;day&gt;&gt; o=&lt;&lt;__offset__&gt;&gt; /&gt;
&lt;/$vars&gt;
\end
&lt;!-- First 4 macros are from here: https://groups.google.com/g/tiddlywiki/c/y_GjM302u60/m/H0eGNUQCCgAJ --&gt;
</pre>
</div>
<div created="20210119015940853" description="Show buttons that exponentially postpone a tiddler from the reading inbox to a later date." modified="20210523142535687" tags="$:/tags/ViewTemplate" title="$:/sib/Reviewer/SchedulableTemplate" transcludedin="All tiddlers tagged &lt;&lt;tag Source&gt;&gt; that are marked unread or partially read." type="text/vnd.tiddlywiki">
<pre>\define rescheduleme()
&lt;$macrocall $name=inbox-postpone ivlExpr={{$:/temp/NextReviewTime}}/&gt;
\end
&lt;$list filter=&quot;[all[current]tag[Source]readstatus[unread]] [all[current]tag[Source]readstatus[partial]]&quot;&gt;
&lt;div class=&quot;schedule-next&quot;&gt;
!!! ExpoPostpone
&lt;$list filter=&quot;[{!!due}!is[blank]first[]]&quot; emptyMessage=&quot;Not scheduled for review.&quot; variable=_&gt;
This item has been postponed until &lt;$view field=&quot;due&quot; format=&quot;date&quot; template=&quot;YYYY-0MM-0DD&quot;/&gt;.
&lt;/$list&gt;&lt;br&gt;
Bump to:
&lt;div&gt;
&lt;$button&gt;
&lt;$action-setfield due=&quot;&quot; ivl=&quot;&quot;/&gt;
now
&lt;/$button&gt;
&lt;$button&gt;
&lt;$macrocall $name=inbox-postpone ivlExpr=&quot;1&quot;/&gt;
tomorrow
&lt;/$button&gt;
&lt;$button&gt;
&lt;$macrocall $name=inbox-postpone ivlExpr=&quot;5&quot;/&gt;
in 5 days
&lt;/$button&gt;
&lt;$button&gt;
&lt;$macrocall $name=inbox-postpone ivlExpr={{{ [all[current]get[ivl]else[5]multiply[2]] }}}/&gt;
later
&lt;/$button&gt;
&lt;$button&gt;
&lt;$macrocall $name=inbox-postpone ivlExpr={{{ [all[current]get[ivl]else[5]multiply[3]] }}}/&gt;
even later
&lt;/$button&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/$list&gt;
&lt;style&gt;
.schedule-next {
padding: 5px;
border: 2px solid &lt;&lt;color &quot;tag-background&quot;&gt;&gt;;
max-width: 500px;
text-align: center;
}
.schedule-next h3 {
margin-top: 0.5em;
}
&lt;/style&gt;</pre>
</div>
<div created="20210119014145169" modified="20210331005114060" tags="$:/tags/Macro" title="$:/sib/Reviewer/SchedulerMacros" type="text/vnd.tiddlywiki">
<pre>\define inbox-setdue(newIvl, newDueDate)
&lt;$action-setfield
ivl=&lt;&lt;__newIvl__&gt;&gt;
due={{{ [&lt;__newDueDate__&gt;trim[]] }}}/&gt;
\end
\define getNextDueDate() &lt;$macrocall $name=daysFromDatestamp datestamp=&lt;&lt;now YYYY0MM0DD&gt;&gt; offset=&lt;&lt;nextInterval&gt;&gt;/&gt;
\define daysFromToday(days) &lt;$macrocall $name=daysFromDatestamp datestamp=&lt;&lt;now YYYY0MM0DD&gt;&gt; offset=&lt;&lt;__days__&gt;&gt;/&gt;
\define inbox-postpone(ivlExpr)
&lt;$set name=nextInterval value=$ivlExpr$&gt;
&lt;$wikify name=nextDueDate text=&quot;&lt;&lt;getNextDueDate&gt;&gt;&quot; mode=&quot;inline&quot;&gt;
&lt;$macrocall $name=inbox-setdue
newIvl=&lt;&lt;nextInterval&gt;&gt;
newDueDate=&lt;&lt;nextDueDate&gt;&gt; /&gt;
&lt;/$wikify&gt;
&lt;/$set&gt;
\end
\define read-status-selector()
&lt;$select field=&quot;readstatus&quot; default=&quot;&quot;&gt;
&lt;option value=&quot;unread&quot;&gt;unread&lt;/option&gt;
&lt;option value=&quot;partial&quot;&gt;partial&lt;/option&gt;
&lt;option value=&quot;read&quot;&gt;read&lt;/option&gt;
&lt;option value=&quot;reread&quot;&gt;reread&lt;/option&gt;
&lt;/$select&gt;
\end</pre>
</div>
<div created="20210119013649056" list-before="$:/core/ui/PageTemplate/sidebar" modified="20210522022533184" title="$:/sib/Reviewer/Tiddlers due for review" type="text/vnd.tiddlywiki">
<pre>\define hasReviewsFilter(frag:&quot;&quot;) [!days:due[-1]] [days:due[0]] +[tag[SpacedRepetition]has[due]$frag$]
''Please retag this $:/tags/PageTemplate to use''
&lt;$list filter=&quot;[all[current]!is[blank]]&quot;&gt;
Tiddlers due for review:
&lt;ul&gt;
&lt;$list filter=&lt;&lt;hasReviewsFilter &quot;sort[due]&quot;&gt;&gt; emptyMessage=&quot;Congratulations! You're all caught up.&quot;&gt;
&lt;li&gt;&lt;$link to=&lt;&lt;currentTiddler&gt;&gt;/&gt; (due &lt;$view format=&quot;date&quot; template=&quot;YYYY-0MM-0DD&quot; field=&quot;due&quot;/&gt;)&lt;/li&gt;
&lt;/$list&gt;
&lt;/ul&gt;
&lt;/$list&gt;
&lt;$list filter=&quot;[all[current]then[]else[dummy]!is[blank]]&quot;&gt;
&lt;div class=&quot;review-notification&quot;&gt;
&lt;$list filter=&lt;&lt;hasReviewsFilter &quot;first[]&quot;&gt;&gt;&gt;
You have tiddlers due for review.
&lt;$link to=&quot;$:/sib/Reviewer/Tiddlers due for review&quot;&gt;Click here&lt;/$link&gt; to see them.
&lt;/$list&gt;
&lt;/div&gt;
&lt;style&gt;
.review-notification {
text-align: center;
background-color: &lt;&lt;color message-background&gt;&gt;;
width: 50%;
margin: auto;
}
&lt;/style&gt;
&lt;/$list&gt;</pre>
</div>
<div caption="Locator" created="20200404140917333" creator="soren" modified="20210522015055747" modifier="soren" tags="$:/tags/SearchResults" title="$:/sib/Search/Locator" type="text/vnd.tiddlywiki">
<pre>&lt;&lt;locator-search&gt;&gt;</pre>
</div>
<div caption="Fields" created="20200404141432994" creator="soren" modified="20210522015101940" modifier="soren" tags="$:/tags/SearchResults" title="$:/sib/Search/LocatorFields" type="text/vnd.tiddlywiki">
<pre>&lt;&lt;locator-fields&gt;&gt;</pre>
</div>
<div caption="Explore" created="20200913180105683" description="Curated public navigation menu for those less familiar with TiddlyWiki." extras="$:/core/ui/MoreSideBar/Tags $:/core/ui/MoreSideBar/Recent $:/sib/SideBar/Explore/Bibliographies $:/core/ui/MoreSideBar/All $:/core/ui/MoreSideBar/Explorer" modified="20210731163510974" tags="$:/tags/SideBar" title="$:/sib/SideBar/Explore" type="text/vnd.tiddlywiki">
<pre>//To learn about navigation options, visit the [[PublicHomepage]].//
&lt;div class=&quot;tc-more-sidebar&quot;&gt;
&lt;$macrocall $name=&quot;tabs&quot; tabsList=&quot;[enlist{$:/sib/SideBar/Explore!!extras}]&quot; default={{$:/config/DefaultMoreSidebarTab}} state=&quot;$:/state/tab/moresidebar&quot; class=&quot;tc-vertical tc-sidebar-tabs-more&quot; /&gt;
&lt;/div&gt;</pre>
</div>
<div caption="Bibliographies" created="20200913180810431" modified="20210610114217425" tags="$:/tags/MoreSideBar" title="$:/sib/SideBar/Explore/Bibliographies" type="text/vnd.tiddlywiki">
<pre>&lt;div class=&quot;sib-tab-description&quot;&gt;
&lt;/div&gt;
[[Recently Read|RecentlyRead]]&lt;br&gt;
&lt;$list filter=&quot;[tag[Bibliography]!has[draft.of]]&quot;&gt;
&lt;$link to={{!!title}}&gt;{{!!bibliography}}&lt;/$link&gt;&lt;br&gt;
&lt;/$list&gt;
&lt;style&gt;
.sib-tab-description {
font-style: italic;
margin-left: 2em;
margin-right: 2em;
margin-bottom: 2ex;
}
&lt;/style&gt;</pre>
</div>
<div created="20210623014041787" list-after="$:/core/ui/SideBarSegments/site-subtitle" modified="20210623014719347" tags="$:/tags/SideBarSegment" title="$:/sib/SideBar/InfoLinks" type="text/vnd.tiddlywiki">
<pre>&lt;$list filter=&lt;&lt;ff SidebarInfoLinks&gt;&gt; variable=_&gt;
[[about|PublicHomepage]]&amp;nbsp;·
[[reading|RecentlyRead]]&amp;nbsp;·
[[favorites|Favorites]]
&lt;style&gt;
.gtw-sidebar-links a, .gtw-sidebar-links button {
color: &lt;&lt;color sidebar-foreground&gt;&gt;;
text-decoration: underline;
}
&lt;/style&gt;
&lt;/$list&gt;</pre>
</div>
<div caption="Write" created="20201203015757977" description="When you have some time to work on your Zettelkasten but don't have a particular task in mind, come here to see what needs doing." list="$:/sib/SideBar/Write/Stub $:/core/ui/MoreSideBar/Missing NeedsAttention NeedsExcision TODO OpenQuestion $:/sib/Tools/Tray" modified="20210825122036070" modifier="soren" tags="$:/tags/SideBar" title="$:/sib/SideBar/Write" type="text/vnd.tiddlywiki">
<pre>&lt;div class=&quot;tc-more-sidebar&quot;&gt;
&lt;$macrocall $name=&quot;tabs&quot; tabsList={{$:/sib/SideBar/Write!!list}} default=&quot;$:/sib/SideBar/Write/Stub&quot; state=&quot;$:/state/tab/writesidebar&quot; class=&quot;tc-vertical tc-sidebar-tabs-more&quot; /&gt;
&lt;/div&gt;</pre>
</div>
<div caption="Stubs" created="20200516155336361" list-after="$:/core/ui/MoreSideBar/Missing" modified="20210522014721028" title="$:/sib/SideBar/Write/Stub" type="text/vnd.tiddlywiki">
<pre>&lt;$list filter=&quot;[tag[Stub]sort[]]&quot; emptyMessage=&quot;No stubs right now! You're awesome!&quot;&gt;
&lt;$link to=&lt;&lt;currentTiddler&gt;&gt;&gt;&lt;&lt;currentTiddler&gt;&gt;&lt;/$link&gt;&lt;br/&gt;
&lt;/$list&gt;
</pre>
</div>
<div caption="~TiddlyRemember collapsible" created="20210307213447524" modified="20210522013632019" tags="$:/tags/TextEditor/Snippet" title="$:/sib/Snippets/TiddlyRememberDetailsWidget" type="text/vnd.tiddlywiki">
<pre>&lt;$details summary=&quot;Flashcards&quot;&gt;
&lt;/$details&gt;</pre>
</div>
<div created="20201126014757319" modified="20201129155303116" title="$:/sib/StorySaver/Saver" type="text/vnd.tiddlywiki">
<pre>&lt;!-- Eric Shulman, https://groups.google.com/g/tiddlywiki/c/2WWN0Lf0G-E, alt. --&gt;
&lt;$set name=savedStoryTag value=&quot;$:/sib/StorySaver/SavedStory&quot;&gt;
&lt;$set name=savedStoryPrefix value=&quot;$:/sib/StorySaver/saved/&quot;&gt;
&lt;$button popup=&quot;$:/state/popup/savestory&quot;&gt; {{$:/core/images/save-button}} save story &lt;/$button&gt;
&lt;$reveal type=&quot;popup&quot; state=&quot;$:/state/popup/savestory&quot; class=&quot;tc-drop-down tc-popup-keep&quot; style=&quot;min-width:auto;padding:0.5em;&quot;&gt;
Enter a new story name:&lt;br&gt;
&lt;$edit-text tiddler=&quot;$:/state/popup/savestory&quot; field=&quot;storyname&quot; /&gt;&lt;br&gt;
&lt;$list filter=&quot;[tag&lt;savedStoryTag&gt;limit[1]]&quot;&gt;
or, select an existing story:&lt;br&gt;
&lt;style&gt; .savedStoryList { width:100%; } &lt;/style&gt;
&lt;$select tiddler=&quot;$:/state/popup/savestory&quot; field=&quot;storyname&quot; size=&quot;5&quot; class=&quot;savedStoryList&quot;&gt;
&lt;$list filter=&quot;[tag&lt;savedStoryTag&gt;removeprefix&lt;savedStoryPrefix&gt;]&quot;&gt;&lt;option&gt;&lt;&lt;currentTiddler&gt;&gt;&lt;/option&gt;&lt;/$list&gt;
&lt;/$select&gt;
&lt;/$list&gt;
&lt;$button style=&quot;text-align:center;&quot;&gt; save
&lt;$action-setfield $tiddler={{{ [{$:/state/popup/savestory!!storyname}addprefix&lt;savedStoryPrefix&gt;] }}} list={{$:/StoryList!!list}} tags=&lt;&lt;savedStoryTag&gt;&gt; /&gt;
&lt;$action-deletetiddler $tiddler=&quot;$:/state/popup/savestory&quot; /&gt;
&lt;/$button&gt;
&lt;/$reveal&gt;
&lt;$button popup=&quot;$:/state/popup/loadstory&quot;&gt; {{$:/core/images/storyview-classic}} load story &lt;/$button&gt;
&lt;$reveal type=&quot;popup&quot; state=&quot;$:/state/popup/loadstory&quot; class=&quot;tc-drop-down tc-popup-keep&quot; style=&quot;min-width:auto;padding:0.5em;&quot;&gt;
&lt;$list filter=&quot;[tag&lt;savedStoryTag&gt;limit[1]]&quot; emptyMessage=&quot;no saved stories&quot;&gt;
select an existing story:&lt;br&gt;
&lt;style&gt; .savedStoryList { width:100%; } &lt;/style&gt;
&lt;$select tiddler=&quot;$:/state/popup/loadstory&quot; field=&quot;storyname&quot; size=&quot;5&quot; class=&quot;savedStoryList&quot;&gt;
&lt;$list filter=&quot;[tag&lt;savedStoryTag&gt;removeprefix&lt;savedStoryPrefix&gt;]&quot;&gt;&lt;option&gt;&lt;&lt;currentTiddler&gt;&gt;&lt;/option&gt;&lt;/$list&gt;
&lt;/$select&gt;
&lt;/$list&gt;
&lt;$button style=&quot;text-align:center;&quot;&gt; load
&lt;$action-setfield $tiddler=&quot;$:/StoryList&quot; list={{{ [{$:/state/popup/loadstory!!storyname}addprefix&lt;savedStoryPrefix&gt;get[list]] }}} /&gt;
&lt;$action-deletetiddler $tiddler=&quot;$:/state/popup/loadstory&quot; /&gt;
&lt;/$button&gt;
&lt;/$reveal&gt;
&lt;$button popup=&quot;$:/state/popup/exportstory&quot;&gt; {{$:/core/images/export-button}} export story &lt;/$button&gt;
&lt;$reveal type=&quot;popup&quot; state=&quot;$:/state/popup/exportstory&quot; class=&quot;tc-drop-down tc-popup-keep&quot; style=&quot;min-width:auto;padding:0.5em;&quot;&gt;
&lt;$list filter=&quot;[tag&lt;savedStoryTag&gt;limit[1]]&quot; emptyMessage=&quot;no saved stories&quot;&gt;
select an existing story:&lt;br&gt;
&lt;style&gt; .savedStoryList { width:100%; } &lt;/style&gt;
&lt;$select tiddler=&quot;$:/state/popup/exportstory&quot; field=&quot;storyname&quot; size=&quot;5&quot; class=&quot;savedStoryList&quot;&gt;
&lt;$list filter=&quot;[tag&lt;savedStoryTag&gt;removeprefix&lt;savedStoryPrefix&gt;]&quot;&gt;&lt;option&gt;&lt;&lt;currentTiddler&gt;&gt;&lt;/option&gt;&lt;/$list&gt;
&lt;/$select&gt;
&lt;/$list&gt;
&lt;$macrocall $name=&quot;exportButton&quot; exportFilter={{{ [{$:/state/popup/exportstory!!storyname}addprefix&lt;savedStoryPrefix&gt;get[list]] }}} lingoBase=&quot;$:/language/Buttons/ExportTiddlers/&quot;/&gt;
&lt;/$reveal&gt;
&lt;/$set&gt;
&lt;/$set&gt;</pre>
</div>
<div created="20210615030339909" creator="soren" modified="20210917203545404" modifier="soren" tags="$:/tags/Stylesheet" title="$:/sib/styles/body" type="text/vnd.tiddlywiki">
<pre>/* Allow the story river to get a good bit wider than the text since this gives useful space to the navbars and balances out any empty space more nicely, but not so long that it looks ridiculous. */
div.tc-tiddler-frame { max-width: 60em; margin-left: auto; margin-right: auto; }
div.tc-tiddler-edit-frame { max-width: 90em; margin-left: auto; margin-right: auto; }
div.tc-tiddler-body { max-width: 50em; margin: auto; }
.tc-tiddler-frame .tc-tiddler-preview .tc-edit-texteditor { width: 69%; }
div[data-tiddler-title*=&quot;$:/sib/Tools/ReadingInbox&quot;] div.tc-tiddler-body, div[data-tags*=&quot;Indite&quot;] div.tc-tiddler-body {
max-width: 100%;
}
div[data-tiddler-title*=&quot;$:/sib/Tools/ReadingInbox&quot;],
div[data-tags*=&quot;Indite&quot;] {
max-width: 90em;
}
div[data-tiddler-title*=&quot;LifetimeReading&quot;] div.tc-tiddler-body {
max-width: 100%;
}
div[data-tiddler-title*=&quot;LifetimeReading&quot;] {
max-width: 90em;
}
div.tc-tiddler-preview-preview {
width: 29%;
}
h2:not(.tc-title) {
text-align: center;
}</pre>
</div>
<div created="20210719234124096" modified="20210719235343017" tags="$:/tags/Stylesheet" title="$:/sib/styles/footnote" type="text/vnd.tiddlywiki">
<pre>/*
Based on https://kookma.github.io/TW-Refnotes/.
Copyright (c) 2019--2021 Mohammad Rahmani.
Copyright (c) 2021 Soren Bjornstad.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the &quot;Software&quot;), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
/*
/* Automatic counter for fnote macro. The counter resets at the begining of each tiddler. */
.tc-tiddler-frame {
counter-reset: fnote-count;
}
.refnotes-footnote {
counter-increment: fnote-count;
}
.refnotes-footnote:after {
content: counter(fnote-count);
font-size:small;
vertical-align: super;
line-height: 1.5;
margin-left: 0em;
color: yellow;
}
/* tooltip class used for ref, fnote and other macros */
.refnotes-tooltip {
position: relative;
display: inline-block;
cursor: pointer;
}
.refnotes-tooltip .refnotes-tooltiptext{
font-size: 0.90em; /* change if it is too small */
}
.refnotes-tooltip .refnotes-tooltiptext {
visibility: hidden;
background-color: #fff;
color: #222222;
text-align: left;
border-radius: 2px;
padding: 5px 10px;
max-width: 30vw;
max-height:20em;
overflow-y: auto;
cursor: auto;
width: max-content;
width: -moz-max-content;
width: -webkit-max-content;
width: -o-max-content;
/* Position the tooltip */
position: absolute;
z-index: 1;
bottom: 100%;
left: 50%;
margin-left: -40px;
box-shadow:0 4px 10px 0 rgba(0,0,0,0.2),0 4px 20px 0 rgba(0,0,0,0.19);
}
.refnotes-tooltip:hover .refnotes-tooltiptext {
visibility: visible;
/*opacity: 0.9;*/
}
/* for small screens */
@media screen and (max-width: 960px) {
.refnotes-tooltip .refnotes-tooltiptext {
/* Position the tooltip */
position:fixed;
top:0;
left: 0;
margin-left: 0px;
bottom: unset;
width:100%;
max-width: 100vw;
z-index: 9999;
}
.refnotes-tooltip:hover .refnotes-tooltiptext {
opacity: 1;
}
}
/* Footnote class*/
.fnote-list{
/* color:blue;*/
font-size:90%;
}
.fnote-pretty{
display: block;
margin: 0.5em;
margin-right: auto;
width: 100% !important;
border-collapse: collapse;
padding: 15px 15px 15px 25px; /*left padding=25px*/
border-width: 0px;
border-style: solid;
border-left-width: 1px;
background-color: rgb(255,248,220);
color: rgb(91,49,7);
line-height: 1.2em;
font-size:0.9em;
}</pre>
</div>
<div created="20200221170525425" creator="soren" modified="20210127230518810" modifier="soren" tags="$:/tags/Stylesheet" title="$:/sib/styles/FourColMode" type="text/css">
<pre>/* FOUR COLUMN MODE */
.fourcolumns {
display:block;
-moz-column-count:5;
-moz-column-gap:0em;
-webkit-column-count: 5;
-webkit-column-gap:0em;
}
</pre>
</div>
<div created="20201121015759457" creator="soren" modified="20210920193138900" modifier="soren" tags="$:/tags/Stylesheet" title="$:/sib/styles/GeneralStyles" type="text/vnd.tiddlywiki">
<pre>.left-float {
float: left;
margin-right: 30px;
}
.right-float {
float: right;
margin-left: 30px;
}
.clarify {
clear: both;
}
.sib-private-chunk {
border-left: 3px solid &lt;&lt;colour muted-foreground&gt;&gt;;
padding-left: 0.5em;
}
.color-splotch {
float: left;
width: 10px;
height: 10px;
margin: 5px;
margin-left: 0px;
border: 1px solid rgba(0, 0, 0, 0.2)
}
.dialogue {
border: 1px solid &lt;&lt;colour foreground&gt;&gt;;
padding: 1rem;
}
.dialogue p {
margin: 0;
padding: 0;
}
.checklist p, .checklist p span {
margin: 0;
padding: 0;
}
.epistemic-color-box {
width: 10px;
height: 10px;
margin: 5px;
margin-left: 0px;
border: 1px solid rgba(0, 0, 0, 0.2);
display: inline-block;
}</pre>
</div>
<div created="20210624125244567" modified="20210629025407566" tags="$:/tags/Stylesheet" title="$:/sib/styles/hr" type="text/vnd.tiddlywiki">
<pre>/* Based on: Flaired edges, by Tomas Theunissen
https://css-tricks.com/examples/hrs/ */
.tc-tiddler-body hr, .tc-tiddler-preview-preview hr {
overflow: visible; /* For IE */
height: 30px;
border-style: solid;
border-color: &lt;&lt;color primary&gt;&gt;;
border-width: 1px 0 0 0;
border-radius: 20px;
margin-bottom: -15px;
max-width: 80%;
margin-top: 30px;
}
.tc-tiddler-body hr:before, .tc-tiddler-preview-preview hr:before { /* Not really supposed to work, but does */
display: block;
content: &quot;&quot;;
height: 30px;
border-style: solid;
border-color: &lt;&lt;color primary&gt;&gt;;
border-width: 0 0 1px 0;
border-radius: 20px;
margin-top: -31px;
}</pre>
</div>
<div created="20210627163819671" modified="20210627200105492" tags="$:/tags/Stylesheet" title="$:/sib/styles/OpenTopBar" type="text/vnd.tiddlywiki">
<pre>div.sib-quick-tiddler-jump {
background-color: &lt;&lt;color menubar-background&gt;&gt;;
position: fixed;
z-index: 850;
display: inline-block;
top: 0;
right: 0;
left: 0;
text-align: center;
height: {{$:/config/sib/TopBarHeight}};
overflow: auto;
border-bottom: 1px solid &lt;&lt;color muted-foreground&gt;&gt;;
padding-bottom: 3px;
padding-top: 3px;
font-size: 12px;
}
div.sib-quick-tiddler-jump a {
color: &lt;&lt;color menubar-foreground&gt;&gt;;
}
div.sib-quick-tiddler-jump a.tc-tiddlylink-shadow {
font-weight: normal;
}
div.sib-quick-tiddler-jump ul {
list-style-type: none;
margin: 0;
padding: 0;
}
/* Droppable placeholders take up no space until we drag something there. */
div.sib-quick-tiddler-jump ul li.tc-droppable div.tc-droppable-placeholder {
height: 0;
}
/* TW inserts this as a placeholder after the last item. We have to resize it to match the rest. */
div.sib-quick-tiddler-jump ul &gt; div.tc-droppable div.tc-droppable-placeholder svg {
height: 0;
width: 1rem;
}
div.sib-quick-tiddler-jump .tc-dropzone.tc-dragover:before {
display: inline-block;
}
div.sib-quick-tiddler-jump ul &gt; li.tc-droppable div,
div.sib-quick-tiddler-jump ul &gt; div.tc-droppable div {
display: inline-block;
}
div.sib-quick-tiddler-jump .tc-droppable.tc-dragover &gt; .tc-droppable-placeholder {
display: inline-block;
background-color: green;
border: 0px;
width: 1rem;
height: 1rem;
margin-bottom: 0;
margin-top: 0;
padding-bottom: 0;
padding-top: 0;
}
div.sib-quick-tiddler-jump ul li, div.sib-quick-tiddler-jump ul &gt; div.tc-droppable {
display: inline-block;
}
.sib-quick-tiddler-jump ul li div:nth-child(2):after {
padding-left: 5px;
content: &quot;·&quot;;
padding-right: 5px;
}
/* not last-child because there's a dropzone after it */
.sib-quick-tiddler-jump ul li:nth-last-child(2) div:after {
content: &quot;&quot;;
}</pre>
</div>
<div created="20210825185232587" creator="soren" modified="20210825185606721" modifier="soren" tags="$:/tags/Stylesheet" title="$:/sib/styles/Publicity" type="text/vnd.tiddlywiki">
<pre>.sib-viewer-clarify {
clear: both;
}
.sib-viewer-public-line {
float: right;
color: #5E81AC;
margin-top: 1ex;
}
@media print
{
.sib-viewer-public-line {
display: none;
}
}</pre>
</div>
<div created="20210721020857476" creator="soren" modified="20210825185624720" modifier="soren" tags="$:/tags/Stylesheet" title="$:/sib/styles/ReferenceExplorer" type="text/vnd.tiddlywiki">
<pre>table.ideas-table {
width: 100%;
background-color: #686868;
caption-side: top;
}
table.ideas-table th {
background-color: #595959;
}
table.ideas-table th, table.ideas-table td {
border: 0;
border-right: 1px solid #999999;
border-left: 1px solid #999999;
}
table.ideas-table th {
border-top: 1px solid #999999;
}
table.ideas-table tr:last-child {
border-bottom: 1px solid #999999;
}
.ideas-table-caption {
margin: 0 0 0 0;
padding: 2px 7px 2px 7px;
text-shadow: none;
color: #FFFFFF;
background-color: #3D3D3D;
vertical-align: middle;
border-top: 1px solid #999999;
border-right: 1px solid #999999;
border-bottom: 0px solid #999999;
border-left: 1px solid #999999;
text-align: center;
}
table.ideas-table tr:nth-child(odd) {
background-color: #737373;
}
table.ideas-table a {
color: &lt;&lt;color foreground&gt;&gt;;
}
@media print
{
.sib-reference-explorer {
display: none;
}
}</pre>
</div>
<div created="20210611020047183" modified="20210611024114066" tags="$:/tags/Stylesheet" title="$:/sib/styles/Subtitle" type="text/vnd.tiddlywiki">
<pre>.tc-subtitle { font-size: 0.9em; color: &lt;&lt;color tiddler-title-foreground&gt;&gt;; }
.tc-subtitle .tc-tiddlylink { margin-right: 0; }</pre>
</div>
<div created="20210627025415569" modified="20210627154440472" tags="$:/tags/TopRightBar" title="$:/sib/Templates/Automatic/Clock" type="text/vnd.tiddlywiki">
<pre>\define reset-pomodoro() &lt;$action-setfield $tiddler=&quot;$:/temp/time/pomodoro-remaining&quot; text=&quot;1500&quot;/&gt;
\define introspect-pomodoro()
&lt;$vars
minutes={{{ [{$:/temp/time/pomodoro-remaining}divide[60]floor[]] }}}
seconds={{{ [{$:/temp/time/pomodoro-remaining}remainder[60]] }}}&gt;
&lt;$vars
zeroedMinutes={{{ [&lt;minutes&gt;addprefix[0]] }}}
zeroedSeconds={{{ [&lt;seconds&gt;addprefix[0]] }}}&gt;
&lt;$text text={{{ [&lt;minutes&gt;length[]match[1]then&lt;zeroedMinutes&gt;else&lt;minutes&gt;] }}}/&gt;:&lt;$text text={{{ [&lt;seconds&gt;length[]match[1]then&lt;zeroedSeconds&gt;else&lt;seconds&gt;] }}}/&gt;
&lt;/$vars&gt;
&lt;/$vars&gt;
\end
&lt;$list filter=&lt;&lt;ff Clock&gt;&gt;&gt;
&lt;$vars ticker={{$:/temp/time/ticker}}&gt;
&lt;div class=&quot;sib-clock&quot;&gt;
&lt;div class=&quot;sib-clock-item&quot;&gt;&lt;&lt;now &quot;0hh12:0mm AM&quot;&gt;&gt;&lt;/div&gt;
&lt;div class=&quot;sib-clock-item&quot;&gt;
&lt;$button actions=&lt;&lt;reset-pomodoro&gt;&gt; class=&quot;tc-tiddlylink tc-btn-invisible&quot; tooltip=&quot;Reset pomodoro to 25 minutes&quot;&gt;&lt;i class=&quot;fa fa-stopwatch&quot;/&gt;&lt;/$button&gt;&lt;$list filter=&quot;[{$:/temp/time/pomodoro-remaining}compare:number:gt[0]]&quot; emptyMessage=&quot;&amp;nbsp;done&quot;&gt;&lt;&lt;introspect-pomodoro&gt;&gt;&lt;/$list&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/$vars&gt;
&lt;/$list&gt;
&lt;style&gt;
div.sib-clock {
background-color: &lt;&lt;color tiddler-background&gt;&gt;;
padding: 5px;
width: 5rem;
}
div.sib-clock-item {
text-align: center;
}
div.sib-clock-item button {
margin: 0;
padding: 0;
}
&lt;/style&gt;</pre>
</div>
<div created="20210522021355703" description="Provide a summary of the purpose, usage, and definition of the global macro defined in the current tiddler." modified="20210523141047728" tags="$:/tags/ViewTemplate" title="$:/sib/Templates/Automatic/MacroDescription" transcludedin="All tiddlers within the $:/sib/Macros namespace that are tagged &lt;&lt;tag $:/tags/Macro&gt;&gt;." type="text/vnd.tiddlywiki">
<pre>&lt;$list filter=&quot;[all[current]prefix[$:/sib/Macros/]tag[$:/tags/Macro]]&quot;&gt;
!! &lt;code&gt;&lt;$text text={{{ [all[current]removeprefix[$:/sib/Macros/]] }}}/&gt;&lt;/code&gt; macro
; Purpose
: {{!!description}}
; Example
: &lt;pre&gt;&lt;code&gt;&lt;$view field=&quot;example&quot;/&gt;&lt;/code&gt;&lt;/pre&gt;
: {{!!example}}
; Definition
: &lt;$codeblock code={{{ [all[current]get[text]] }}}/&gt;
&lt;/$list&gt;</pre>
</div>
<div created="20201204132021892" modified="20210522014049552" tags="$:/tags/EditTemplate" title="$:/sib/Templates/Automatic/MissingTiddlerCreationNotification" type="text/vnd.tiddlywiki">
<pre>&lt;$list filter=&quot;[all[current]get[draft.of]prefix[New Tiddler]]&quot; variable=&quot;draftof&quot;&gt;
&lt;$list filter=&quot;[all[current]get[draft.title]backlinks[]first[]]&quot; variable=_&gt;
Creating missing tiddler &lt;$link to={{!!draft.title}}/&gt;. The following tiddlers will link here when you save:
&lt;&lt;list-links &quot;[all[current]get[draft.title]backlinks[]]&quot;&gt;&gt;
&lt;/$list&gt;
&lt;/$list&gt;
</pre>
</div>
<div created="20210626221212233" modified="20210627171414206" tags="$:/tags/TopLeftBar" title="$:/sib/Templates/Automatic/OpenTopBar" type="text/vnd.tiddlywiki">
<pre>&lt;$list filter=&lt;&lt;ff OpenTopBar&gt;&gt; variable=_&gt;
&lt;div class=&quot;sib-quick-tiddler-jump&quot;&gt;
&lt;&lt;list-links-draggable &quot;$:/StoryList&quot;&gt;&gt;
&lt;/div&gt;
&lt;/$list&gt;</pre>
</div>
<div created="20200516175612822" description="Show a notice that this is a private chunk of another tiddler, and provide another link to the parent tiddler." modified="20210523140536264" tags="$:/tags/ViewTemplate" title="$:/sib/Templates/Automatic/PrivateChunkParentNotice" transcludedin="All tiddlers tagged &lt;&lt;tag PrivateChunk&gt;&gt;." type="text/vnd.tiddlywiki">
<pre>&lt;$list filter=&quot;[all[current]tag[PrivateChunk]]&quot;&gt;
//This is a PrivateChunk of the public tiddler &lt;$link to={{{ [all[current]split[/]first[]] }}}/&gt;.//
&lt;/$list&gt;</pre>
</div>
<div created="20200511015953198" modified="20210622003322324" tags="$:/tags/EditTemplate" title="$:/sib/Templates/Automatic/Publicity/EditorPublicLine" type="text/vnd.tiddlywiki">
<pre>&lt;$list filter=&lt;&lt;ff EditorPublicLine&gt;&gt; variable=_&gt;
&lt;div style=&quot;float: right; color: #5E81AC; margin-top: 1ex;&quot;&gt;
&lt;$checkbox tag=Public&gt; Publish this tiddler&lt;/$checkbox&gt;
&lt;/div&gt;
&lt;/$list&gt;</pre>
</div>
<div created="20200508004653657" modified="20210606175143055" tags="$:/tags/EditTemplate" title="$:/sib/Templates/Automatic/Publicity/LevelDisplay" type="text/vnd.tiddlywiki">
<pre>\define editingSystemTiddler(not)[all[current]has[draft.of]get[draft.title]$not$is[system]]
\define editingPublicZk(not) [[$:/config/sib/IsPublicEdition]] +[get[text]$not$match[true]]
&lt;$list filter=&lt;&lt;editingPublicZk &quot;!&quot;&gt;&gt; variable=_&gt;
&lt;div style=&quot;color: orangered; font-weight: bold&quot;&gt;
WARNING: You are editing the public Zettelkasten. Your changes will not be saved unless you export them manually.
&lt;/div&gt;
&lt;/$list&gt;
&lt;$list filter=&lt;&lt;editingPublicZk&gt;&gt; variable=_&gt;
&lt;$list filter=&lt;&lt;editingSystemTiddler&gt;&gt; &gt;
&lt;div style=&quot;color: #d08770; float:left;&quot;&gt;
&lt;div style=&quot;width: 16px; float:left;&quot;&gt;{{$:/core/images/theme-button}}&lt;/div&gt;
&lt;div style=&quot;padding-top: 5px; padding-left: 20px;&quot;&gt;
You are editing a //system tiddler//. System tiddlers are intrinsically public.
&lt;/div&gt;
&lt;/div&gt;
&lt;/$list&gt;
&lt;$list filter=&lt;&lt;editingSystemTiddler &quot;!&quot;&gt;&gt; variable=_&gt;
&lt;$list filter=&quot;[all[current]!tag[Public]]&quot;&gt;
&lt;div style=&quot;color: #81a1c1; float:left;&quot;&gt;
&lt;div style=&quot;width: 16px; float:left;&quot;&gt;{{$:/core/images/locked-padlock}}&lt;/div&gt;
&lt;div style=&quot;padding-top: 5px; padding-left: 20px;&quot;&gt;
You are editing a //private tiddler//.
&lt;/div&gt;
&lt;/div&gt;
&lt;/$list&gt;
&lt;$list filter=&quot;[all[current]tag[Public]!is[system]]&quot;&gt;
&lt;div style=&quot;color: #d08770; float:left;&quot;&gt;
&lt;div style=&quot;width: 16px; float:left;&quot;&gt;{{$:/core/images/globe}}&lt;/div&gt;
&lt;div style=&quot;padding-top: 4px; padding-left: 20px;&quot;&gt;You are editing a //public tiddler//.
&lt;/div&gt;
&lt;/div&gt;
&lt;/$list&gt;
&lt;/$list&gt;
&lt;/$list&gt;</pre>
</div>
<div created="20200508002211355" creator="soren" description="Show a checkbox to make the tiddler private or public while viewing it." modified="20210825185507543" modifier="soren" tags="$:/tags/ViewTemplate" title="$:/sib/Templates/Automatic/Publicity/ViewerPublicLine" transcludedin="All non-system tiddlers, in the private edition. Never, in the public edition." type="text/vnd.tiddlywiki">
<pre>&lt;!-- Clear any outstanding floats or things will look really weird. This also clears for the Reference Explorer since the public checkbox is floated, so it comes outside the list widget. --&gt;
&lt;div class=&quot;sib-viewer-clarify&quot;/&gt;
&lt;!-- If this is a system tiddler, don't show the public line. --&gt;
&lt;$list filter=&quot;[all[current]!is[system]]&quot; variable=_&gt;
&lt;$list filter=&lt;&lt;ff ViewerPublicLine&gt;&gt; variable=_&gt;
&lt;div class=&quot;sib-viewer-public-line&quot;&gt;
&lt;$checkbox tag=Public&gt; Publish this tiddler&lt;/$checkbox&gt;
&lt;/div&gt;
&lt;/$list&gt;
&lt;/$list&gt;</pre>
</div>
<div created="20210608021806427" description="Provide links that allow users to get in touch with the author, share content, or otherwise interact with it." modified="20210622002447440" tags="$:/tags/ViewTemplate" title="$:/sib/Templates/Automatic/ReaderActions" transcludedin="All non-system tiddlers, if this is the public edition." type="text/vnd.tiddlywiki">
<pre>\define startConvoAction()
&lt;$action-createtiddler $basetitle=&quot;$:/temp/Conversation&quot; $savetitle=&quot;$:/temp/ConversationCollector&quot; target=&lt;&lt;currentTiddler&gt;&gt; email={{$:/config/sobjornstad/UserEmail}} comment=&quot;&quot;/&gt;
&lt;$action-navigate $to=&quot;StartAConversation&quot;/&gt;
\end
\define subscribeAction()
&lt;$action-setfield $tiddler=&lt;&lt;qualify &quot;$:/temp/SubscribeSection&quot;&gt;&gt; text=&quot;open&quot;/&gt;
&lt;!--&lt;$action-managesubscription tiddler=&lt;&lt;currentTiddler&gt;&gt; user=&quot;greata@sorenbjornstad.com&quot; operation=&quot;subscribe&quot;/&gt;--&gt;
\end
\define complete-subscription-action()
&lt;$action-managesubscription tiddler=&lt;&lt;currentTiddler&gt;&gt; user={{$:/config/sobjornstad/UserEmail}} operation=&quot;subscribe&quot;/&gt;
&lt;$action-setfield $tiddler=&lt;&lt;qualify &quot;$:/temp/SubscribeSection&quot;&gt;&gt; text=&quot;&quot;/&gt;
\end
&lt;$list filter=&quot;[all[current]!is[system]]&quot; variable=_&gt;
&lt;$list filter=&lt;&lt;ff ContactButtons&gt;&gt; variable=_&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;$button class=&quot;tc-btn-invisible tc-tiddlylink&quot; tooltip=&quot;Send Soren email about this idea or note.&quot; actions=&lt;&lt;startConvoAction&gt;&gt;&gt;
&lt;i class=&quot;fa fa-envelope&quot;/&gt;&amp;nbsp;start a conversation
&lt;/$button&gt;&amp;emsp;
&lt;$button class=&quot;tc-btn-invisible tc-tiddlylink&quot; tooltip=&quot;Get emails whenever this idea or note is updated.&quot; actions=&lt;&lt;subscribeAction&gt;&gt;&gt;
&lt;i class=&quot;fa fa-bell&quot;/&gt;&amp;nbsp;subscribe
&lt;/$button&gt;
&lt;/div&gt;
&lt;div class=&quot;sib-subscribe-info&quot;&gt;
&lt;$reveal state=&lt;&lt;qualify &quot;$:/temp/SubscribeSection&quot;&gt;&gt; type=&quot;match&quot; text=&quot;open&quot;&gt;
&lt;$list filter=&quot;[all[current]is[missing]]&quot;&gt;//This tiddler doesn't exist yet. You'll be notified if and when it is created.//&lt;br&gt;&lt;/$list&gt;
Subscribe with email:&amp;nbsp;&lt;$edit-text tiddler=&quot;$:/config/sobjornstad/UserEmail&quot; tag=&quot;input&quot; default=&quot;&quot;/&gt;
&lt;$button actions=&lt;&lt;complete-subscription-action&gt;&gt;&gt;Subscribe&lt;/$button&gt;
&lt;/$reveal&gt;
&lt;/div&gt;
&lt;/$list&gt;
&lt;/$list&gt;
&lt;style&gt;
div.sib-subscribe-info {
text-align: center;
margin-top: 0.5rem;
}
div.sib-subscribe-info input {
width: 20em;
max-width: 50%;
}
&lt;/style&gt;</pre>
</div>
<div created="20200808023836194" creator="soren" description="Display a table of fields and other information about the source described by this tiddler." modified="20210916133730677" modifier="soren" tags="$:/tags/ViewTemplate" title="$:/sib/Templates/Automatic/Source" transcludedin="All tiddlers tagged &lt;&lt;tag Source&gt;&gt; or &lt;&lt;tag Sink&gt;&gt;." type="text/vnd.tiddlywiki">
<pre>\define isbnsearch(isbn) https://isbnsearch.org/isbn/$(isbn)$
&lt;$list filter=&quot;[all[current]tag[Source]] [all[current]tag[Sink]]&quot;&gt;
&lt;table class=&quot;sourceDeetsTable&quot;&gt;
&lt;tr&gt;
&lt;th&gt;Title&lt;/th&gt;
&lt;td&gt;{{!!caption}}&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;th&gt;Author&lt;/th&gt;
&lt;td&gt;{{!!author}}&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;th&gt;Publication year&lt;/th&gt;
&lt;td&gt;{{!!year}}&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;th&gt;Medium&lt;/th&gt;
&lt;td&gt;{{!!medium}}&lt;/td&gt;
&lt;/tr&gt;
&lt;$list filter={{{ [all[current]has[universe]!universe[nonfiction]] }}}&gt;
&lt;tr&gt;
&lt;th&gt;Universe&lt;/th&gt;
&lt;td&gt;
&lt;$link to={{!!universe}}/&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/$list&gt;
&lt;tr&gt;
&lt;th&gt;URL&lt;/th&gt;
&lt;td&gt;{{!!url}}&lt;/td&gt;
&lt;/tr&gt;
&lt;$list filter=&quot;[all[current]has[isbn]]&quot;&gt;
&lt;tr&gt;
&lt;th&gt;ISBN&lt;/th&gt;
&lt;td&gt;
&lt;$set name=isbn value={{!!isbn}}&gt;
&lt;a href=&lt;&lt;isbnsearch&gt;&gt; class=&quot;tc-tiddlylink-external&quot;&gt;{{!!isbn}}&lt;/a&gt;
&lt;/$set&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/$list&gt;
&lt;tr&gt;
&lt;th&gt;Bibliographies&lt;/th&gt;
&lt;td&gt;
&lt;$list filter=&quot;[all[current]enlist{!!bibliography}]&quot;&gt;
&lt;$link to={{{ [tag[Bibliography]bibliography&lt;currentTiddler&gt;] }}}&gt;
&lt;$text text=&lt;&lt;currentTiddler&gt;&gt;/&gt;
&lt;/$link&gt;
&lt;/$list&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;th&gt;Status&lt;/th&gt;
&lt;td&gt;
&lt;&lt;read-status-selector&gt;&gt;
&lt;$list filter=&quot;[all[current]readstatus[read]]&quot;&gt;
on &lt;$view field=&quot;completed&quot; format=&quot;date&quot; template=&quot;YYYY-0MM-0DD&quot;/&gt;
&lt;/$list&gt;
&lt;$list filter=&quot;[all[current]readstatus[reread]]&quot;&gt;
(last read &lt;$view field=&quot;completed&quot; format=&quot;date&quot; template=&quot;YYYY-0MM-0DD&quot;/&gt;)
&lt;/$list&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;style&gt;
.sourceDeetsTable tr th {
text-align: right;
}
&lt;/style&gt;
&lt;/$list&gt;</pre>
</div>
<div created="20210606181123394" creator="soren" description="Show a banner to public users warning them that spoilers may be present in tiddlers related to a work of fiction they may not have read." modified="20210909023752258" modifier="soren" tags="$:/tags/ViewTemplate" title="$:/sib/Templates/Automatic/SpoilerBanner" transcludedin="All tiddlers that have a `universe` field which is not set to `nonfiction`, if this is the public edition." type="text/vnd.tiddlywiki">
<pre>\define hide-action() &lt;$action-setfield $tiddler=&quot;$:/config/sib/HideSpoilerBanner&quot; text=&quot;yes&quot;/&gt;
&lt;$list filter=&lt;&lt;ff SpoilerBanner&gt;&gt; variable=_&gt;
&lt;$list filter=&quot;[[$:/config/sib/HideSpoilerBanner]!text[yes]]&quot; variable=_&gt;
&lt;$list filter=&quot;[all[current]has[universe]!universe[nonfiction]]&quot;&gt;
&lt;div class=&quot;sib-spoiler-banner&quot;&gt;
&lt;div style=&quot;display: inline-block; vertical-align: center; margin-top: 6px; margin-left: 1em;&quot;&gt;
&lt;span style=&quot;height: 44px; fill: yellow;&quot;&gt;{{$:/core/images/warning}}&lt;/span&gt;
&lt;/div&gt;
&lt;div style=&quot;display: inline-block; margin-left: 1em; margin-right: 1em;&quot;&gt;
&lt;$list filter=&quot;[all[current]tag[Source]]&quot; variable=_&gt;
This tiddler is about a work of fiction. Absolutely no attempt is made to avoid or &lt;br&gt;
mark spoilers; read at your own risk.&amp;ensp;(&lt;$button class=&quot;tc-tiddlylink tc-btn-invisible&quot; actions=&lt;&lt;hide-action&gt;&gt;&gt;don't show again this session&lt;/$button&gt;)&lt;br&gt;
&lt;/$list&gt;
&lt;$list filter=&quot;[all[current]!tag[Source]]&quot;&gt;
This tiddler may contain spoilers for //&lt;$link to={{!!universe}}&gt;&lt;$text text={{{ [{!!universe}get[caption]] }}}/&gt;&lt;/$link&gt;//.&lt;br&gt;
Read at your own risk.&amp;ensp;(&lt;$button class=&quot;tc-tiddlylink tc-btn-invisible&quot; actions=&lt;&lt;hide-action&gt;&gt;&gt;don't show again this session&lt;/$button&gt;)&lt;br&gt;
&lt;/$list&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/$list&gt;
&lt;/$list&gt;
&lt;/$list&gt;
&lt;style&gt;
.sib-spoiler-banner {
background-color: &lt;&lt;color message-background&gt;&gt;;
display: block;
border-radius: 10px;
padding: 5px;
margin: 0 auto;
width: 35rem;
}
&lt;/style&gt;</pre>
</div>
<div created="20210825140429794" creator="soren" modified="20210902152411592" modifier="soren" tags="$:/tags/BelowStory" title="$:/sib/Templates/Automatic/StoryRiverFooter" type="text/vnd.tiddlywiki">
<pre>&lt;$list filter=&lt;&lt;ff CopyrightFooter&gt;&gt; variable=_&gt;
&lt;div class=&quot;zk-footer-row&quot;&gt;
&lt;$list filter=&quot;[[$:/config/zettelkasten/copyright/UserNotice]has[text]]&quot; emptyMessage={{$:/config/zettelkasten/copyright/InitialNotice}}&gt;{{$:/config/zettelkasten/copyright/UserNotice}}&lt;/$list&gt;
See the [[content copyright notice|CopyrightNotice]] for details.
&lt;/div&gt;
&lt;div class=&quot;zk-footer-row&quot;&gt;
Zettelkasten [[edition of TiddlyWiki|https://zettelkasten.sorenbjornstad.com]] by [[Soren Bjornstad|https://sorenbjornstad.com]].
&lt;/div&gt;
&lt;style&gt;
div.zk-footer-row {
color: &lt;&lt;color muted-foreground&gt;&gt;;
text-align: center;
}
div.zk-footer-row a.tc-tiddlylink, div.zk-footer-row a.tc-tiddlylink-external {
color: &lt;&lt;color muted-foreground&gt;&gt;;
text-decoration: underline;
}
&lt;/style&gt;
&lt;/$list&gt;</pre>
</div>
<div created="20210307160101458" description="Display buttons enabling a workflow where you paste content directly into TiddlyWiki and then use a custom form to turn it into a tiddler." modified="20210523141850561" tags="$:/tags/ViewTemplate" title="$:/sib/Templates/Automatic/Untitled" transcludedin="Tiddlers whose name begins with `Untitled` (the name you get when you paste text into TiddlyWiki)." type="text/vnd.tiddlywiki">
<pre>\define make-source()
&lt;$action-sendmessage $message=&quot;tm-close-tiddler&quot; $param=&quot;$:/Import&quot;/&gt;
&lt;$action-setfield $field=&quot;tags&quot; $value=&quot;Source&quot;/&gt;
&lt;$action-setfield $field=&quot;url&quot; $value={{!!text}}/&gt;
&lt;$action-setfield $field=&quot;text&quot; $value=&quot;&quot;/&gt;
&lt;$action-setfield $field=&quot;type&quot; $value=&quot;&quot;/&gt;
&lt;$action-setfield $field=&quot;medium&quot; $value=&quot;article&quot;/&gt;
&lt;$action-setfield $field=&quot;year&quot; $value=&lt;&lt;now &quot;YYYY&quot;&gt;&gt;/&gt;
\end
\define finish-import()
&lt;$action-setfield $field=&quot;title&quot; $value={{$:/temp/RenameTitle}}/&gt;
&lt;$action-sendmessage $message=&quot;tm-close-tiddler&quot; $param=&lt;&lt;currentTiddler&gt;&gt;/&gt;
&lt;$action-deletetiddler $tiddler=&lt;&lt;currentTiddler&gt;&gt;/&gt;
&lt;$action-navigate $to={{$:/temp/RenameTitle}}/&gt;
&lt;$action-deletetiddler $tiddler=&quot;$:/temp/RenameTitle&quot;/&gt;
\end
&lt;$list filter=&quot;[all[current]prefix[Untitled]]&quot;&gt;
&lt;div class=&quot;import-options&quot;&gt;
&lt;h3&gt;Import Options&lt;/h3&gt;
&lt;$button actions=&lt;&lt;make-source&gt;&gt;&gt;Create Source&lt;/$button&gt;
&lt;$reveal type=&quot;match&quot; state=&quot;!!tags&quot; text=&quot;Source&quot;&gt;
|!Tiddler Title |&lt;$edit-text tiddler=&quot;$:/temp/RenameTitle&quot; default=&quot;&quot; tag=&quot;input&quot;/&gt;|
|!Source Title |&lt;$edit-text field=&quot;caption&quot; default=&quot;&quot; tag=&quot;input&quot;/&gt;|
|!Author |&lt;$edit-text field=&quot;author&quot; default=&quot;&quot; tag=&quot;input&quot;/&gt;|
|!Medium |&lt;$radio field=&quot;medium&quot; value=&quot;article&quot;&gt;&amp;nbsp;Article&lt;/$radio&gt;&amp;ensp;&lt;$radio field=&quot;medium&quot; value=&quot;book&quot;&gt;Book&lt;/$radio&gt;|
|!Year |&lt;$edit-text field=&quot;year&quot; default=&lt;&lt;now &quot;YYYY&quot;&gt;&gt; tag=&quot;input&quot;/&gt;|
|!Read status |&lt;&lt;read-status-selector&gt;&gt;|
|!Completed |&lt;$edit-date field=&quot;completed&quot;/&gt;|
&lt;$button actions=&lt;&lt;finish-import&gt;&gt;&gt;Import&lt;/$button&gt;
&lt;/$reveal&gt;
&lt;/div&gt;
&lt;/$list&gt;
&lt;style&gt;
div.import-options {
padding: 5px;
border: 2px solid &lt;&lt;color &quot;tag-background&quot;&gt;&gt;;
width: 100%;
}
div.import-options h3 {
text-align: center;
margin-top: 5px;
margin-bottom: 0;
}
&lt;/style&gt;</pre>
</div>
<div created="20210523140149097" description="Provide a summary of the purpose, usage, and definition of the view template defined in the current tiddler." modified="20210523141255035" tags="$:/tags/ViewTemplate" title="$:/sib/Templates/Automatic/ViewTemplateDescription" transcludedin="All tiddlers within the $:/sib namespace that are tagged &lt;&lt;tag $:/tags/ViewTemplate&gt;&gt;." type="text/vnd.tiddlywiki">
<pre>&lt;$list filter=&quot;[all[current]prefix[$:/sib/]tag[$:/tags/ViewTemplate]]&quot;&gt;
!! &lt;code&gt;&lt;$text text=&lt;&lt;currentTiddler&gt;&gt;/&gt;&lt;/code&gt; view template
; Purpose
: {{!!description}}
; Transcluded in
: {{!!transcludedin}}
; Definition
: &lt;$codeblock code={{{ [all[current]get[text]] }}} language=&quot;html&quot;/&gt;
&lt;/$list&gt;</pre>
</div>
<div created="20210807200136273" modified="20210807205025301" tags="" title="$:/sib/Templates/Export/SabbaticalUpdateCabCrosspost" type="text/vnd.tiddlywiki">
<pre>\import [[$:/core/ui/PageMacros]] [all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]
&lt;div id=&quot;__title&quot;&gt;{{!!title}}&lt;/div&gt;
&lt;div id=&quot;__caption&quot;&gt;{{!!caption}}&lt;/div&gt;
&lt;div id=&quot;__slug&quot;&gt;{{!!cab-slug}}&lt;/div&gt;
&lt;div id=&quot;__content&quot;&gt;
&lt;$transclude mode=&quot;block&quot; /&gt;
&lt;/div&gt;</pre>
</div>
<div created="20210303032019619" creator="soren" modified="20210825162843813" modifier="soren" tags="" title="$:/sib/Templates/General/IdentityTemplate" type="text/vnd.tiddlywiki">
<pre>{{!!text}}</pre>
</div>
<div created="20210606231459712" modified="20210606231553647" tags="$:/tags/table/BodyTemplate" tbl-column-list="rating" tbl-noedit="" title="$:/sib/Templates/TableColumns/BookRating" type="text/vnd.tiddlywiki">
<pre>&lt;td&gt;
&lt;span style={{{ [&lt;currentRecord&gt;get[rating]addprefix[$:/sib/MediaRating/]get[color]addprefix[color: ]addsuffix[;]] }}}&gt;&lt;$text text={{{ [&lt;currentRecord&gt;get[rating]] }}}/&gt;&lt;/span&gt;
&lt;/td&gt;</pre>
</div>
<div created="20201203034806153" date="20201128" modified="20210522013921371" tags="$:/tags/table/BodyTemplate" tbl-column-list="at" tbl-noedit="" title="$:/sib/Templates/TableColumns/ThanksgivingDate" type="text/vnd.tiddlywiki">
<pre>&lt;td&gt;
&lt;$view tiddler=&lt;&lt;currentRecord&gt;&gt; field=&quot;at&quot; format=&quot;date&quot; template=&quot;[UTC]MMM 0DD&quot;/&gt;
&lt;/td&gt;</pre>
</div>
<div created="20210312221833396" creator="soren" modified="20210825162849017" modifier="soren" tags="" title="$:/sib/Templates/Topical/AnkiPattern" type="text/vnd.tiddlywiki">
<pre>\define transclude-section-with-name(sect, name, isopen:&quot;&quot;)
&lt;$details summary=&lt;&lt;__name__&gt;&gt; open=&lt;&lt;__isopen__&gt;&gt;&gt;
&lt;$tiddler tiddler={{{ [all[current]addsuffix[/]addsuffix&lt;__sect__&gt;] }}}&gt;
&lt;$list filter=&quot;[&lt;isedit&gt;match[yes]]&quot; variable=_&gt;
&lt;div style=&quot;float: left; width: 49%;&quot;&gt;
{{||$:/core/ui/EditTemplate/body/editor}}
&lt;/div&gt;
&lt;div style=&quot;float: right; width: 49%;&quot;&gt;
&lt;$transclude mode=&quot;block&quot;&gt;
None.
&lt;/$transclude&gt;
&lt;/div&gt;
&lt;div style=&quot;clear: both;&quot;/&gt;
&lt;/$list&gt;
&lt;$list filter=&quot;[&lt;isedit&gt;match[no]]&quot; variable=_&gt;
&lt;$transclude mode=&quot;block&quot;&gt;
None.
&lt;/$transclude&gt;
&lt;/$list&gt;
&lt;/$tiddler&gt;
&lt;/$details&gt;
\end
\define transclude-section(sect, isopen:&quot;&quot;) &lt;$macrocall $name=&quot;transclude-section-with-name&quot; sect=&lt;&lt;__sect__&gt;&gt; name=&lt;&lt;__sect__&gt;&gt; isopen=&lt;&lt;__isopen__&gt;&gt;/&gt;
&lt;$list filter=&quot;[[$:/config/sib/IsPublicEdition]text[true]]&quot; emptyMessage=&quot;&quot;&quot;&lt;$transclude tiddler=&quot;$:/sib/Templates/Topical/AnkiPattern/View&quot;/&gt;&quot;&quot;&quot; variable=_&gt;
&lt;&lt;tabs &quot;$:/sib/Templates/Topical/AnkiPattern/View $:/sib/Templates/Topical/AnkiPattern/Edit&quot; default:&quot;$:/sib/Templates/Topical/AnkiPattern/View&quot;&gt;&gt;
&lt;/$list&gt;</pre>
</div>
<div created="20210313002520118" modified="20210522013653257" tags="" title="$:/sib/Templates/Topical/AnkiPattern/Common" type="text/vnd.tiddlywiki">
<pre> &lt;&lt;transclude-section &quot;Formula&quot; &quot;open&quot;&gt;&gt;
&lt;&lt;transclude-section &quot;Examples&quot; &quot;open&quot;&gt;&gt;
&lt;&lt;transclude-section &quot;Advantages&quot; &quot;open&quot;&gt;&gt;
&lt;&lt;transclude-section &quot;Disadvantages&quot; &quot;open&quot;&gt;&gt;
&lt;&lt;transclude-section &quot;Cautions&quot; &quot;open&quot;&gt;&gt;
&lt;&lt;transclude-section-with-name &quot;UsageNotes&quot; &quot;Usage notes&quot; &quot;open&quot;&gt;&gt;
&lt;&lt;transclude-section &quot;Contributors&quot;&gt;&gt;</pre>
</div>
<div caption="Edit" created="20210313002532320" modified="20210522013659519" tags="" title="$:/sib/Templates/Topical/AnkiPattern/Edit" type="text/vnd.tiddlywiki">
<pre>&lt;$set name=&quot;isedit&quot; value=&quot;yes&quot;&gt;
{{||$:/sib/Templates/Topical/AnkiPattern/Common}}
&lt;/$set&gt;</pre>
</div>
<div caption="View" created="20210313002551320" modified="20210522013709625" tags="" title="$:/sib/Templates/Topical/AnkiPattern/View" type="text/vnd.tiddlywiki">
<pre>&lt;$set name=&quot;isedit&quot; value=&quot;no&quot;&gt;
{{||$:/sib/Templates/Topical/AnkiPattern/Common}}
&lt;/$set&gt;</pre>
</div>
<div created="20200808152932642" modified="20210522013411650" tags="" title="$:/sib/Templates/Topical/BibliographyList" type="text/vnd.tiddlywiki">
<pre>\define biblioFilter(sortSnippet)
[contains:bibliography{!!bibliography}$sortSnippet$] -[&lt;currentTiddler&gt;] -[&lt;currentTiddler&gt;get[draft.of]]
\end
&lt;!-- TODO: Add sort radio button options --&gt;
&lt;ul&gt;
&lt;$list filter=&lt;&lt;biblioFilter &quot;sort[title]sort[caption]&quot;&gt;&gt; &gt;
&lt;li&gt;
&lt;$set name=itemTitle filter={{!!caption}} value={{!!caption}} emptyValue={{!!title}}&gt;
&lt;$link to={{!!title}}&gt;&lt;$text text=&lt;&lt;itemTitle&gt;&gt;/&gt;&lt;/$link&gt;
&lt;/$set&gt;
&lt;$list filter=&quot;[&lt;currentTiddler&gt;get[medium]]&quot; variable=_&gt;
({{!!medium}}&lt;$list filter=&quot;[&lt;currentTiddler&gt;get[year]]&quot; variable=&quot;year&quot;&gt;, &lt;&lt;year&gt;&gt;&lt;/$list&gt;)
&lt;/$list&gt;
&lt;$list filter=&quot;[&lt;currentTiddler&gt;has[url]]&quot; variable=_&gt;&lt;a class=&quot;tc-tiddlylink-external&quot; href={{!!url}}&gt;full text&lt;/a&gt;&lt;/$list&gt;
&lt;$list filter=&quot;[{!!description}]&quot;&gt;
&lt;ul&gt;&lt;li&gt;&lt;&lt;currentTiddler&gt;&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;/$list&gt;
&lt;/li&gt;
&lt;/$list&gt;
&lt;/ul&gt;</pre>
</div>
<div created="20200518210455646" creator="soren" modified="20210825162854523" modifier="soren" tags="Public" title="$:/sib/Templates/Topical/Build2020SessionDetails" type="text/vnd.tiddlywiki">
<pre>&lt;style&gt;
table.msbuild-session {
margin-left: auto;
margin-right: auto;
}
table.msbuild-session tr td:first-child {
font-weight: bold;
text-align: right;
}
/* override non-bold style */
table.msbuild-session &gt; tr &gt; th a.tc-tiddlylink {
font-weight: bold;
}
&lt;/style&gt;
&lt;table class=&quot;msbuild-session&quot;&gt;
&lt;tr&gt;&lt;th colspan=2&gt;MicrosoftBuild2020 Session Details&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Title&lt;/td&gt;
&lt;td&gt;{{!!caption}}&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Time&lt;/td&gt;
&lt;td&gt;&lt;$view field=&quot;at&quot; format=&quot;date&quot; template=&quot;DDD YYYY-0MM-0DD 0hh:0mm&quot; /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Presenter(s)&lt;/td&gt;
&lt;td&gt;{{!!presenter}}&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Session URL&lt;/td&gt;
&lt;td&gt;&lt;a class=&quot;tc-tiddlylink-external&quot; href={{!!url}}&gt;Go&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</pre>
</div>
<div created="20200115233038885" creator="soren" modified="20210825162901788" modifier="soren" tags="" title="$:/sib/Templates/Topical/MaudWikiImport" type="text/vnd.tiddlywiki">
<pre>//This article was originally part of MaudWiki.//</pre>
</div>
<div created="20201129205832011" creator="soren" description="Display information about the Minnesota state park or recreation area described by the current tiddler." modified="20210825162907272" modifier="soren" tags="Public $:/tags/ViewTemplate" title="$:/sib/Templates/Topical/MinnesotaStateParkInfo" transcludedin="All tiddlers tagged &lt;&lt;tag MinnesotaStatePark&gt;&gt;." type="text/vnd.tiddlywiki">
<pre>\define dnrInfo(id)
&lt;$list filter={{{ [&lt;__id__&gt;is[blank]then[oops]] }}}&gt;
//Please specify the `foreignid` field//
&lt;/$list&gt;
&lt;$list filter={{{ [&lt;__id__&gt;!is[blank]] }}}&gt;
https://www.dnr.state.mn.us/state_parks/park.html?id=spk$id$#information
&lt;/$list&gt;
\end
\define dnrMap(id)
&lt;$list filter={{{ [&lt;__id__&gt;is[blank]then[oops]] }}}&gt;
//Please specify the `foreignid` field//
&lt;/$list&gt;
&lt;$list filter={{{ [&lt;__id__&gt;!is[blank]] }}}&gt;
https://files.dnr.state.mn.us/maps/state_parks/spk$id$.pdf
&lt;/$list&gt;
\end
\define newTitle(suffix) $(currentTiddler)$$suffix$
\define detailsPart(suffix)
&lt;$list filter=&quot;[&lt;currentTiddler&gt;addsuffix[/$suffix$]is[tiddler]]&quot; variable=sectionTitle&gt;&lt;$details summary=$suffix$&gt;
&lt;$transclude tiddler={{{ [all[current]addsuffix[/$suffix$]] }}} /&gt;
@@margin-block-end: 0;
&lt;$button&gt;
&lt;$action-sendmessage $message=&quot;tm-edit-tiddler&quot; $param=&lt;&lt;sectionTitle&gt;&gt; class=&quot;tc-btn-invisible&quot;/&gt;
edit
&lt;/$button&gt;
@@
&lt;/$details&gt;&lt;/$list&gt;
\end
\define buttonPart(suffix, moreTags: &quot; Public&quot;)
&lt;$list filter=&quot;[&lt;currentTiddler&gt;addsuffix[/$suffix$]!is[tiddler]]&quot; variable=_&gt;&lt;$button&gt;
&lt;$action-sendmessage $message=&quot;tm-new-tiddler&quot; title=&lt;&lt;newTitle &quot;/$suffix$&quot;&gt;&gt; tags=&quot;Subplace$moreTags$&quot;/&gt;
{{$:/core/images/add-comment}} add &lt;$text text={{{ [[$suffix$]lowercase[]] }}}/&gt;
&lt;/$button&gt;&lt;/$list&gt;
\end
&lt;!------------------ Start of template ------------------&gt;
&lt;$list filter=&quot;[all[current]tag[MinnesotaStatePark]]&quot; variable=_&gt;
&lt;$list filter=&quot;[[$:/config/sib/IsPublicEdition]field:text[false]]&quot; variable=_&gt;
//Please note: Campsite preferences (jealously guarded!) and visits are private and will never appear in the public wiki.//
&lt;/$list&gt;
|!{{!!caption}}|&lt;|
|!Park info |&lt;$macrocall $name=dnrInfo id={{!!foreignid}}/&gt;|
|!Park map |&lt;$macrocall $name=dnrMap id={{!!foreignid}}/&gt;|
|!Park office |{{!!phone}}|
|!Make reservations |https://reservemn.usedirect.com/MinnesotaWeb/|
|!Problems with reservations |(866) 857-2757|
|!Check-in/out at |16:00 / 16:00|
&lt;&lt;buttonPart Travel&gt;&gt; &lt;&lt;buttonPart Amenities&gt;&gt; &lt;&lt;buttonPart Campsites &quot;&quot;&gt;&gt; &lt;&lt;buttonPart Visits &quot;&quot;&gt;&gt;
&lt;&lt;detailsPart Travel&gt;&gt;&lt;&lt;detailsPart Amenities&gt;&gt;&lt;&lt;detailsPart Campsites&gt;&gt; &lt;&lt;detailsPart Visits&gt;&gt;
&lt;/$list&gt;</pre>
</div>
<div created="20200917013705104" modified="20210522015636611" tags="" title="$:/sib/Templates/Topical/PublicHomepageTab" type="text/vnd.tiddlywiki">
<pre>{{{ [&lt;currentTab&gt;removeprefix[PublicHomepage/]] }}}</pre>
</div>
<div created="20210123155242287" modified="20210522013432694" tags="" title="$:/sib/Templates/Topical/ReadingList/LargeTemplate" type="text/vnd.tiddlywiki">
<pre>{{!!text}}
&lt;$set name=storyTiddler value=&lt;&lt;currentTiddler&gt;&gt;&gt;
{{||$:/sib/refexplorer/ReferenceExplorer}}
&lt;/$set&gt;</pre>
</div>
<div created="20210703174501801" modified="20210703174533455" tags="" title="$:/sib/Templates/Topical/ReadingList/Rating" type="text/vnd.tiddlywiki">
<pre>&lt;$list filter=&quot;[all[current]get[rating]!is[blank]]&quot; variable=_&gt;
&lt;span style={{{ [all[current]get[rating]addprefix[$:/sib/MediaRating/]get[color]addprefix[color: ]addsuffix[;]] }}}&gt;[{{!!rating}}]&lt;/span&gt;
&lt;/$list&gt;</pre>
</div>
<div created="20210123155216014" modified="20210809162905890" tags="" title="$:/sib/Templates/Topical/ReadingList/SmallTemplate" type="text/vnd.tiddlywiki">
<pre>[&lt;$link to={{!!title}}/&gt;] //{{!!caption}}// ({{!!year}}), {{!!author}}.
{{||$:/sib/Templates/Topical/ReadingList/Rating}} &lt;$list filter=&quot;[all[current]contains:bibliography[LifetimeReading]]&quot; variable=_&gt;([[LT|LifetimeReading]])&lt;/$list&gt;</pre>
</div>
<div created="20210807194134012" description="Show links to the chronologically previous and next sabbatical update tiddlers." modified="20210807194948834" tags="$:/tags/ViewTemplate" title="$:/sib/Templates/Topical/SabbaticalUpdates/DateNavigation" transcludedin="Subtiddlers of SabbaticalUpdate." type="text/vnd.tiddlywiki">
<pre>&lt;$list filter=&quot;[all[current]prefix[SabbaticalUpdate/]]&quot; variable=_&gt;
&lt;div class=&quot;sab-upd-navigator&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
← Previous: &lt;$list filter=&quot;[prefix[SabbaticalUpdate]sort[]!field:title[SabbaticalUpdate]before&lt;currentTiddler&gt;]&quot; variable=&quot;prevTiddler&quot; emptyMessage=&quot;//(at first update)//&quot;&gt;&lt;$link to=&lt;&lt;prevTiddler&gt;&gt;&gt;&lt;$text text={{{ [&lt;prevTiddler&gt;get[caption]] }}}/&gt;&lt;/$link&gt;&lt;/$list&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: right;&quot;&gt;
Next: &lt;$list filter=&quot;[prefix[SabbaticalUpdate]sort[]!field:title[SabbaticalUpdate]after&lt;currentTiddler&gt;]&quot; variable=&quot;nextTiddler&quot; emptyMessage=&quot;//(at last update)//&quot;&gt;&lt;$link to=&lt;&lt;nextTiddler&gt;&gt;&gt;&lt;$text text={{{ [&lt;nextTiddler&gt;get[caption]] }}}/&gt;&lt;/$link&gt;&lt;/$list&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/$list&gt;
&lt;style&gt;
div.sab-upd-navigator div {
border-top: 1px solid &lt;&lt;color table-border&gt;&gt;;
padding-top: 10px;
margin-top: 6ex;
width: 50%;
float: left;
}
&lt;/style&gt;</pre>
</div>
<div created="20210807191548391" modified="20210807192805541" tags="" title="$:/sib/Templates/Topical/SabbaticalUpdates/ReadOnZettelkasten" type="text/vnd.tiddlywiki">
<pre>If you're currently on Control-Alt-Backspace, you can &lt;$link to=&lt;&lt;currentTiddler&gt;&gt;&gt;read this post on Soren's Zettelkasten&lt;/$link&gt;.</pre>
</div>
<div created="20210303031840037" creator="soren" modified="20210825162913436" modifier="soren" tags="Public" title="$:/sib/Templates/Topical/TitleDescriptionStretch" type="text/vnd.tiddlywiki">
<pre>{{!!title}}: {{!!description}}</pre>
</div>
<div created="20201121012833365" creator="soren" modified="20210825162920735" modifier="soren" tags="" title="$:/sib/Templates/Topical/WhoIAmTab" type="text/vnd.tiddlywiki">
<pre>&lt;$tiddler tiddler=&lt;&lt;currentTab&gt;&gt;&gt;
&lt;$set name=&quot;storyTiddler&quot; value=&lt;&lt;currentTab&gt;&gt;&gt;
&lt;$transclude mode=&quot;block&quot;/&gt;
&lt;$link to=&lt;&lt;currentTiddler&gt;&gt;&gt;&lt;i class=&quot;fa fa-expand&quot;/&gt;&amp;nbsp;Explode this section&lt;/$link&gt;
{{||$:/sib/refexplorer/ReferenceExplorer}}
&lt;/$set&gt;
&lt;/$tiddler&gt;</pre>
</div>
<div created="20210825121854435" creator="soren" description="Tools to manage your Zettelkasten." modified="20210920160417142" modifier="soren" tags="Meta" title="$:/sib/Tools" type="text/vnd.tiddlywiki">
<pre>\define item() &lt;li&gt;&lt;$link to=&lt;&lt;currentTiddler&gt;&gt;&gt;&lt;$text text={{{ [all[current]split[/]last[]] }}}/&gt;&lt;/$link&gt;: {{!!description}}&lt;/li&gt;
\define sorter() [split[/]last[]sort[]]
\define tooltype(type) &lt;ul&gt;&lt;$list filter=&quot;[tag[Tool]tooltype[$type$]sortsub&lt;sorter&gt;]&quot;&gt;&lt;&lt;item&gt;&gt;&lt;/$list&gt;&lt;/ul&gt;
!! Documentation
* [[ZettelkastenCardType]]: The types of red tags you can assign to tiddlers to get specific effects.
* [[OurNamingConventions]]: Naming conventions for tiddler titles; you're expected to edit this tiddler to match the conventions you wish to use yourself.
* [[$:/sib/Documentation]]: Documentation on the macros and view templates available within the Zettelkasten.
!! Configuration
&lt;&lt;tooltype configuration&gt;&gt;
!! Aggregation
&lt;&lt;tooltype aggregator&gt;&gt;
!! Maintenance
&lt;&lt;tooltype maintenance&gt;&gt;</pre>
</div>
<div created="20210622001737586" creator="soren" description="Selectively hide and show interface elements or other features." modified="20210920155749092" modifier="soren" tags="Meta Tool Public" title="$:/sib/Tools/FeatureFlags" tooltype="configuration" type="text/vnd.tiddlywiki">
<pre>Feature flags allow many elements of the wiki to be selectively enabled and disabled. Feature flags may be set to different values in the private and public editions of your wiki.
To add your own feature flag, create a new tiddler under `$:/config/zettelkasten/FeatureFlags` and setting its `caption` and `description` fields to the values you'd like to see in the table below. You can then check the feature flag's value using the [[ff macro|$:/sib/Macros/ff]]; see the macro's tiddler for an example.
&lt;table&gt;
&lt;tr&gt;
&lt;th&gt;Feature&lt;/th&gt;
&lt;th&gt;Private&lt;/th&gt;
&lt;th&gt;Public&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;$list filter=&quot;[prefix[$:/config/zettelkasten/FeatureFlags/]sort[caption]]&quot;&gt;
&lt;tr&gt;
&lt;td&gt;{{!!caption}}&lt;/td&gt;
&lt;td&gt;&lt;$checkbox field=&quot;private&quot; checked=&quot;yes&quot; unchecked=&quot;no&quot;/&gt;&lt;/td&gt;
&lt;td&gt;&lt;$checkbox field=&quot;public&quot; checked=&quot;yes&quot; unchecked=&quot;no&quot;/&gt;&lt;/td&gt;
&lt;td&gt;{{!!description}}&lt;/td&gt;
&lt;/tr&gt;
&lt;/$list&gt;
&lt;/table&gt;</pre>
</div>
<div created="20210118021217305" creator="soren" description="Find non-subtiddler idea tiddlers that have fewer than a specified number of outbound links." modified="20210920155025769" modifier="soren" tags="Tool" title="$:/sib/Tools/LowLinkTiddlers" tooltype="maintenance" type="text/vnd.tiddlywiki">
<pre>\define sorty() [links[]count[]]
Find non-subtiddler idea tiddlers that have fewer than &lt;$edit-text tiddler=&quot;$:/temp/LowLinkTiddlers&quot; tag=&quot;input&quot; default=&quot;&quot;/&gt; outbound links:
&lt;ul&gt;
&lt;$list filter=&quot;[!is[system]has[text]tag[Idea]!search:title[/]sortsub&lt;sorty&gt;]&quot;&gt;
&lt;$list filter=&quot;[all[current]links[]count[]compare:number:lt{$:/temp/LowLinkTiddlers}]&quot; variable=&quot;count&quot;&gt;
&lt;li&gt;&lt;$link to=&lt;&lt;currentTiddler&gt;&gt;/&gt;: &lt;&lt;count&gt;&gt; outbound links&lt;/li&gt;
&lt;/$list&gt;
&lt;/$list&gt;
&lt;/ul&gt;</pre>
</div>
<div created="20200309202554627" creator="soren" description="Show all missing tiddlers that have the naming convention for people." modified="20210920155034053" modifier="soren" tags="Tool" title="$:/sib/Tools/MissingPeople" tooltype="maintenance" type="text/vnd.tiddlywiki">
<pre>&quot;Missing&quot; of course meaning that the ZK doesn't know about them, not that nobody in ConsensusPhysicalReality knows about them...
&lt;ul&gt;
&lt;$list filter=&quot;[all[missing]regexp[^(Mr|Ms|The)]sort[]]&quot; emptyMessage=&quot;No references to nonexistent people right now!&quot;&gt;
&lt;li&gt;&lt;$link&gt;&lt;&lt;currentTiddler&gt;&gt;&lt;/$link&gt;&lt;/li&gt;
&lt;/$list&gt;
&lt;/ul&gt;</pre>
</div>
<div created="20210329204050908" creator="soren" description="View all the colors in the current palette and conveniently copy their hex codes or `&lt;&lt;color&gt;&gt;` macros for use elsewhere in the wiki." modified="20210920155041358" modifier="soren" tags="Meta Tool" title="$:/sib/Tools/PaletteBrowser" tooltype="maintenance" type="text/vnd.tiddlywiki">
<pre>\define colorsplotch(col)
&lt;div class=&quot;color-splotch&quot; style=&quot;background: $col$;&quot;&gt;
\end
\define copy-hex() &lt;$action-sendmessage $message=&quot;tm-copy-to-clipboard&quot; $param=&lt;&lt;hexvalue&gt;&gt;/&gt;
\define copy-mac() &lt;$action-sendmessage $message=&quot;tm-copy-to-clipboard&quot; $param=&quot;&quot;&quot;&lt;&lt;color $(currentTiddler)$&gt;&gt;&quot;&quot;&quot;/&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;Current palette: &lt;$link to={{$:/palette}}/&gt;&lt;/div&gt;
&lt;table&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;HTML color code&lt;/th&gt;
&lt;th&gt;TiddlyWiki name&lt;/th&gt;
&lt;th&gt;Copy to clipboard&lt;/th&gt;
&lt;/tr&gt;
&lt;$list filter=&quot;[{$:/palette}indexes[]]&quot;&gt;
&lt;$list filter=&quot;[{$:/palette}getindex&lt;currentTiddler&gt;]&quot; variable=&quot;hexvalue&quot;&gt;
&lt;tr&gt;
&lt;td&gt;&lt;$macrocall $name=colorsplotch col=&lt;&lt;hexvalue&gt;&gt;/&gt;&lt;/td&gt;
&lt;td&gt;&lt;&lt;hexvalue&gt;&gt;&lt;/td&gt;
&lt;td&gt;&lt;&lt;currentTiddler&gt;&gt;&lt;/td&gt;
&lt;td&gt;
&lt;$button class=&quot;tc-tiddlylink tc-btn-invisible&quot; actions=&lt;&lt;copy-mac&gt;&gt;&gt;`&lt;&lt;color&gt;&gt;` macro&lt;/$button&gt; --
&lt;$button class=&quot;tc-tiddlylink tc-btn-invisible&quot; actions=&lt;&lt;copy-hex&gt;&gt;&gt;hex code&lt;/$button&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/$list&gt;
&lt;/$list&gt;
&lt;/table&gt;
&lt;style&gt;
.color-splotch {
float: left;
width: 20px;
height: 20px;
border: 1px solid #000000;
margin: 0;
}
&lt;/style&gt;</pre>
</div>
<div created="20210215024632766" creator="soren" description="Show sources you might want to read soon." modified="20210920155102294" modifier="soren" tags="Tool" title="$:/sib/Tools/ReadingInbox" tooltype="aggregator" type="text/vnd.tiddlywiki">
<pre>\define tableRow(dueFragment)
&lt;tr&gt;
&lt;td&gt;&lt;$list filter=&quot;[all[current]has[url]]&quot;&gt;&lt;a href={{!!url}} class=&quot;tc-tiddlylink-external&quot;&gt;go&lt;/a&gt;&lt;/$list&gt;&lt;/td&gt;
&lt;td&gt;&lt;$link to=&lt;&lt;currentTiddler&gt;&gt;&gt;open&lt;/$link&gt;&lt;/td&gt;
&lt;td&gt;//{{!!caption}}//&lt;/td&gt;
&lt;td&gt;{{!!author}}&lt;/td&gt;
&lt;td&gt;{{!!medium}}&lt;/td&gt;
&lt;td&gt;{{!!bibliography}}&lt;/td&gt;
&lt;!--&lt;td&gt;$dueFragment$&lt;/td&gt;--&gt;
&lt;td&gt;
&lt;&lt;read-status-selector&gt;&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;$button class=&quot;tc-tiddlylink tc-btn-invisible&quot;&gt;
&lt;$macrocall $name=inbox-postpone ivlExpr=&quot;1&quot;/&gt;
tomorrow
&lt;/$button&gt;&amp;nbsp;|
&lt;$button class=&quot;tc-tiddlylink tc-btn-invisible&quot;&gt;
&lt;$macrocall $name=inbox-postpone ivlExpr=&quot;5&quot;/&gt;
in 5 days
&lt;/$button&gt;&amp;nbsp;|
&lt;$button class=&quot;tc-tiddlylink tc-btn-invisible&quot;&gt;
&lt;$macrocall $name=inbox-postpone ivlExpr={{{ [all[current]get[ivl]else[5]multiply[2]] }}}/&gt;
later
&lt;/$button&gt;&amp;nbsp;|
&lt;$button class=&quot;tc-tiddlylink tc-btn-invisible&quot;&gt;
&lt;$macrocall $name=inbox-postpone ivlExpr={{{ [all[current]get[ivl]else[5]multiply[3]] }}}/&gt;
even later
&lt;/$button&gt;
&lt;/td&gt;
&lt;/tr&gt;
\end
This table first lists anything in progress; try to limit this to a handful of works. Then it lists items that are unread and potentially interesting, but have not been postponed. Postponing uses //exponential backoff//, to use MrAndyMatuschak's term: if you pick //later// or //even later//, the time until you see the item again doubles or triples from its previous value. This allows you to get items that presently seem of low value out of your way without requiring you to decide you will certainly never read it; perhaps some time later, they will look interesting again.
The table does not include [[lifetime reading items|LifetimeReading]] unless they're currently in progress, as it would then become miles long and cease to function effectively as an “inbox”; those items are a separate queue.
&lt;table&gt;
&lt;tr&gt;
&lt;th style=&quot;width: 3.5em;&quot;&gt;Text&lt;/th&gt;
&lt;th&gt;Tiddler&lt;/th&gt;
&lt;th&gt;Title&lt;/th&gt;
&lt;th style=&quot;width: 15%;&quot;&gt;Author&lt;/th&gt;
&lt;th&gt;Medium&lt;/th&gt;
&lt;th&gt;Biblio&lt;/th&gt;
&lt;!--&lt;th style=&quot;width: 6.2em;&quot;&gt;Due&lt;/th&gt;--&gt;
&lt;th style=&quot;width: 6.5em;&quot;&gt;Status&lt;/th&gt;
&lt;th style=&quot;width: 18em;&quot;&gt;Postpone&lt;/th&gt;
&lt;/tr&gt;
&lt;$list filter=&quot;[!days:due[-1]] [days:due[0]] +[sort[due]] [!has[due]] +[tag[Source]readstatus[partial]!is[draft]]&quot;&gt;
&lt;&lt;tableRow &quot;&quot;&quot;(reading)&quot;&quot;&quot;&gt;&gt;
&lt;/$list&gt;
&lt;$list filter=&quot;[!days:due[-1]] [days:due[0]] +[sort[due]] [!has[due]] +[tag[Source]readstatus[unread]!bibliography[LifetimeReading]!is[draft]]&quot;&gt;
&lt;&lt;tableRow &quot;&quot;&quot;&lt;$view field=&quot;due&quot; format=&quot;date&quot; template=&quot;YYYY-0MM-0DD&quot;/&gt;&quot;&quot;&quot;&gt;&gt;
&lt;/$list&gt;
&lt;/table&gt;
See also RecentlyRead for completed items.</pre>
</div>
<div created="20200401230406669" creator="soren" description="Show all values used for a particular field in the wiki." modified="20210920155116145" modifier="soren" tags="Tool" title="$:/sib/Tools/RelationshipValueTool" tooltype="maintenance" type="text/vnd.tiddlywiki">
<pre>This tool shows you what values have been used for a particular field. For instance, when filling out the `medium` field on a [[Source]], you might want to know what values you've already used for this field.
If you're not sure what field you're looking for, expand the list of all fields:
&lt;$details summary=&quot;List of all fields&quot;&gt;
&lt;ul&gt;
&lt;$list filter=&quot;[fields[]sort[]]&quot;&gt;
&lt;li&gt;&lt;&lt;currentTiddler&gt;&gt;&lt;/li&gt;
&lt;/$list&gt;
&lt;/ul&gt;
&lt;/$details&gt;
----
|!Field to search |&lt;$edit-text tiddler=&quot;$:/temp/field-list-tool&quot; default=&quot;&quot; tag=input/&gt;|
The following values have been used for the &lt;code&gt;{{$:/temp/field-list-tool}}&lt;/code&gt; field in this wiki:
&lt;ul&gt;
&lt;$list filter=&quot;[!is[system]each:list-item{$:/temp/field-list-tool}sort[]]&quot;&gt;
&lt;li&gt;&lt;&lt;currentTiddler&gt;&gt;&lt;/li&gt;
&lt;/$list&gt;
&lt;/ul&gt;</pre>
</div>
<div created="20200325215908710" creator="soren" description="List of orphans that excludes types of tiddlers that wouldn't be expected to have hardlinks; you can also permanently hide items." modified="20210920155127747" modifier="soren" tags="Tool" title="$:/sib/Tools/SmartOrphanList" tooltype="maintenance" type="text/vnd.tiddlywiki">
<pre>The following list of outstanding orphans excludes images and attachments (as they don't hard-link when used), templates, meta items, stubs (as they haven't been filled out yet), and any items that have been manually excluded.
{{||$:/sib/Tools/SmartOrphanList/Table}}</pre>
</div>
<div created="20210522014752620" creator="soren" modified="20210920140719298" modifier="soren" tbl-add-records="" tbl-anything="" tbl-button-actions="&lt;$action-setfield $tiddler=&lt;&lt;currentRecord&gt;&gt; $field=&quot;hideorphan&quot; $value=&quot;true&quot; modified=&quot;no&quot; /&gt;" tbl-button-icon="{{$:/core/images/delete-button}}" tbl-button-tip="Exclude this tiddler from the smart orphans list" tbl-caption="''{{!!title}}''" tbl-checkbox-actions-selected="" tbl-checkbox-actions-unselected="" tbl-checkbox-field="" tbl-checkbox-tag="" tbl-checkbox-tip="" tbl-checkbox-value-selected="" tbl-checkbox-value-unselected="" tbl-class="tbl-style-default" tbl-columns="tbl-expand title modified tags tbl-button" tbl-expand="" tbl-filter="[is[orphan]!field:hideorphan[true]!tag[Image]!tag[Attachment]!tag[Template]!tag[Meta]!tag[Tool]!tag[Stub]!tag[PrivateChunk]!tag[Bibliography]!tag[Journal]!search:title[/]!tag[Indite]]" tbl-limit="25" tbl-mode="normal" tbl-page-marker="ThreePersonTeam" tbl-show-caption="true" tbl-show-colgroup="false" tbl-show-edit="true" tbl-show-footer="false" tbl-show-header="true" tbl-show-mode="true" tbl-show-pagination="auto" tbl-sort-by="title" tbl-sort-negate="false" tbl-sort-type="nsort" tbl-style-colgroup="" tbl-style-container="" tbl-style-table="width:100%;" title="$:/sib/Tools/SmartOrphanList/Table" type="text/vnd.tiddlywiki">
<pre>&lt;&lt;table $:/sib/Tools/SmartOrphanList/Table&gt;&gt;</pre>
</div>
<div created="20200516031757915" creator="soren" description="General information about the number of tiddlers accumulated in the wiki." modified="20210920155422635" modifier="soren" tags="Tool" title="$:/sib/Tools/Statistics" tooltype="maintenance" type="text/vnd.tiddlywiki">
<pre>* &lt;$list filter=&quot;[!is[system]count[]]&quot;&gt;&lt;&lt;currentTiddler&gt;&gt;&lt;/$list&gt; (non-system) tiddlers
** &lt;$list filter=&quot;[tag[Idea]count[]]&quot;&gt;&lt;&lt;currentTiddler&gt;&gt;&lt;/$list&gt; ideas
** &lt;$list filter=&quot;[tag[PAO]count[]]&quot;&gt;&lt;&lt;currentTiddler&gt;&gt;&lt;/$list&gt; people
** &lt;$list filter=&quot;[tag[Source]count[]]&quot;&gt;&lt;&lt;currentTiddler&gt;&gt;&lt;/$list&gt; sources
** &lt;$list filter=&quot;[tag[Sink]count[]]&quot;&gt;&lt;&lt;currentTiddler&gt;&gt;&lt;/$list&gt; sinks
** &lt;$list filter=&quot;[all[tags]!is[system]count[]]&quot;&gt;&lt;&lt;currentTiddler&gt;&gt;&lt;/$list&gt; tags
** &lt;$list filter=&quot;[!is[system]tag[Journal]count[]]&quot;&gt;&lt;&lt;currentTiddler&gt;&gt;&lt;/$list&gt; journal entries
* &lt;$list filter=&quot;[tag[Public]count[]]&quot;&gt;&lt;&lt;currentTiddler&gt;&gt;&lt;/$list&gt; public tiddlers &lt;&lt;publicAmount&gt;&gt;</pre>
</div>
<div created="20200225231807460" creator="soren" description="Do a find and replace to merge tags. (Pure renames can be accomplished by editing the tag tiddler.)" modified="20210920155146151" modifier="soren" tags="Tool" title="$:/sib/Tools/TagReplace" tooltype="maintenance" type="text/vnd.tiddlywiki">
<pre>&lt;!--
https://groups.google.com/forum/#!msg/tiddlywiki/OCntQ79DuwM/_vYCTYRXfaUJ
Version taken from the linked &quot;TiddlyWiki Magic&quot; post
--&gt;
|!Search tag: | &lt;$edit-text tiddler=&quot;$:/temp/RenameTags/search&quot; tag=&quot;input&quot; type=&quot;text&quot;/&gt; |
|!Replace by: | &lt;$edit-text tiddler=&quot;$:/temp/RenameTags/replace&quot; tag=&quot;input&quot; type=&quot;text&quot;/&gt; |
---
&lt;$reveal type=&quot;nomatch&quot; text=&quot;&quot; state=&quot;$:/temp/RenameTags/replace&quot;&gt;
Apply the tag &lt;$tiddler tiddler={{$:/temp/RenameTags/replace}}&gt;&lt;$transclude tiddler=&quot;$:/core/ui/TagTemplate&quot;/&gt;&lt;/$tiddler&gt; to the following tiddlers:
&lt;$list filter=&quot;[!has[draft.of]tag{$:/temp/RenameTags/search}!tag{$:/temp/RenameTags/replace}sort[created]]&quot;&gt;
&lt;$checkbox tag={{$:/temp/RenameTags/replace}}&gt; &lt;$link to={{!!title}}&gt;&lt;$view field=&quot;title&quot;/&gt;&lt;/$link&gt;&lt;/$checkbox&gt;&lt;br/&gt;
&lt;/$list&gt;
&lt;/$reveal&gt;
&lt;$reveal type=&quot;nomatch&quot; text=&quot;&quot; state=&quot;$:/temp/RenameTags/search&quot;&gt;
Remove the tag &lt;$tiddler tiddler={{$:/temp/RenameTags/search}}&gt;&lt;$transclude tiddler=&quot;$:/core/ui/TagTemplate&quot;/&gt;&lt;/$tiddler&gt; from the following tiddlers:
&lt;$list filter=&quot;[!has[draft.of]tag{$:/temp/RenameTags/search}tag{$:/temp/RenameTags/replace}sort[created]]&quot;&gt;
&lt;$checkbox tag={{$:/temp/RenameTags/search}}&gt; ~~&lt;$link to={{!!title}}&gt;&lt;$view field=&quot;title&quot;/&gt;&lt;/$link&gt;~~&lt;/$checkbox&gt;&lt;br/&gt;
&lt;/$list&gt;
&lt;/$reveal&gt;</pre>
</div>
2021-09-22 15:54:06 +00:00
<div caption="Tray" created="20210701023215046" creator="soren" description="Items we're currently working on but don't need to leave open. Drag and drop a link to a tiddler to add it." list="" modified="20210920155431768" modifier="soren" tags="Meta Tool" title="$:/sib/Tools/Tray" tooltype="aggregator" type="text/vnd.tiddlywiki">
<pre>Stuff I'm working on but don't need to keep open:
&lt;&lt;list-links-draggable &quot;$:/sib/Tools/Tray&quot; itemTemplate:&quot;$:/sib/Tools/Tray/Template&quot;&gt;&gt;</pre>
</div>
2021-09-21 16:32:33 +00:00
<div created="20210711192716590" creator="soren" modified="20210920140956221" modifier="soren" tags="" title="$:/sib/Tools/Tray/Template" type="text/vnd.tiddlywiki">
<pre>\define remove-tiddler()
&lt;$action-listops $tiddler=&quot;$:/sib/Tools/Tray&quot; $field=&quot;list&quot; $filter=&quot;[enlist{$:/sib/Tools/Tray!!list}] -[all[current]]&quot;/&gt;
\end
&lt;$link/&gt;&amp;nbsp;&lt;$button actions=&lt;&lt;remove-tiddler&gt;&gt; class=&quot;tc-btn-invisible&quot;&gt;&lt;span style=&quot;fill: white;&quot;&gt;{{$:/core/images/delete-button}}&lt;/span&gt;&lt;/$button&gt;</pre>
</div>
<div created="20200118003902418" creator="soren" modified="20200118003906515" modifier="soren" title="$:/SiteSubtitle" type="text/vnd.tiddlywiki">
<pre>Say something clever about it here</pre>
</div>
<div created="20200118003822985" creator="soren" modified="20200118003845743" modifier="soren" title="$:/SiteTitle" type="text/vnd.tiddlywiki">
<pre>My TiddlyZettelKasten</pre>
</div>
<div title="$:/status/RequireReloadDueToPluginChange">
<pre>no</pre>
</div>
<div list="$:/sib/GettingStarted" title="$:/StoryList">
<pre></pre>
</div>
<div created="20201204132628163" list="$:/core/ui/EditTemplate/controls $:/sib/Templates/Automatic/Publicity/EditorPublicLine $:/sib/Templates/Automatic/Publicity/LevelDisplay $:/core/ui/EditTemplate/title $:/plugins/bimlas/locator/edit-template/locator-references $:/sib/Templates/Automatic/MissingTiddlerCreationNotification $:/core/ui/EditTemplate/tags $:/core/ui/EditTemplate/shadow $:/core/ui/ViewTemplate/classic $:/core/ui/EditTemplate/body $:/core/ui/EditTemplate/type $:/core/ui/EditTemplate/fields" modified="20210522015314483" title="$:/tags/EditTemplate" type="text/vnd.tiddlywiki">
<pre></pre>
</div>
<div created="20210626221416384" creator="soren" list="$:/core/ui/PageTemplate/topleftbar $:/core/ui/PageTemplate/toprightbar $:/core/ui/PageTemplate/sidebar $:/core/ui/PageTemplate/story $:/core/ui/PageTemplate/alerts $:/core/ui/PageTemplate/drafts $:/core/ui/PageTemplate/pluginreloadwarning $:/sib/Templates/Automatic/OpenTopBar" modified="20210825131835004" modifier="soren" title="$:/tags/PageTemplate" type="text/vnd.tiddlywiki">
<pre></pre>
</div>
<div created="20200329153524761" creator="soren" list="$:/sib/refexplorer/Ideas $:/sib/refexplorer/PAO $:/sib/refexplorer/Places $:/sib/refexplorer/Sources $:/sib/refexplorer/Sinks $:/sib/refexplorer/Indexes $:/sib/refexplorer/Subtiddlers $:/sib/refexplorer/LinkGraph $:/sib/refexplorer/Footnotes $:/sib/refexplorer/All" modified="20210825191857696" modifier="soren" title="$:/tags/ReferenceExplorerTab" type="text/vnd.tiddlywiki">
<pre></pre>
</div>
<div created="20201203015851994" list="$:/core/ui/SideBar/Open $:/core/ui/SideBar/Recent $:/core/ui/SideBar/Tools $:/core/ui/SideBar/More $:/sib/SideBar/Write $:/sib/SideBar/Explore" modified="20210522014736560" title="$:/tags/SideBar" type="text/vnd.tiddlywiki">
<pre></pre>
</div>
<div created="20210127230406756" modified="20210127230518943" tags="$:/tags/Stylesheet" title="$:/tags/Stylesheet" type="text/vnd.tiddlywiki">
<pre></pre>
</div>
<div created="20201129183705439" list="$:/core/ui/ViewTemplate/title $:/core/ui/ViewTemplate/unfold $:/core/ui/ViewTemplate/subtitle $:/sib/EpistemicStatus/Display $:/sib/MediaRating/Display $:/core/ui/ViewTemplate/tags $:/core/ui/ViewTemplate/classic $:/sib/Templates/Automatic/SpoilerBanner $:/sib/Templates/Automatic/Untitled $:/sib/Templates/Automatic/PrivateChunkParentNotice $:/sib/Templates/Automatic/Source $:/sib/Templates/Topical/MinnesotaStateParkInfo $:/sib/Templates/Automatic/MacroDescription $:/core/ui/ViewTemplate/body $:/sib/indite/ViewTemplate $:/sib/Reviewer/SchedulableTemplate $:/sib/gis/MappingTools $:/sib/Templates/Topical/SabbaticalUpdates/DateNavigation $:/sib/Templates/Automatic/Publicity/ViewerPublicLine $:/core/ui/ViewTemplate/import $:/core/ui/ViewTemplate/plugin $:/plugins/danielo515/2click2edit/ui/ViewTemplate $:/sib/refexplorer/ReferenceExplorer $:/sib/Templates/Automatic/ViewTemplateDescription $:/sib/Templates/Automatic/ReaderActions $:/plugins/kookma/refnotes/viewtemplates/main" modified="20210807194815491" title="$:/tags/ViewTemplate" type="text/vnd.tiddlywiki">
<pre></pre>
</div>
<div created="20210827213731043" creator="soren" modified="20210828132716711" modifier="soren" tags="Attachment Bibliography Class Conversation Idea Image Index Journal Meta Notes PAO Place Publication Sink Source Tool PrivateChunk Public NeedsAttention NeedsExcision Stub" title="$:/TagSaver" type="text/vnd.tiddlywiki">
<pre>! Apologies for the noise, please read here
This tiddler exists to ensure that all tags foundational to the Zettelkasten continue to be displayed in the “Tags” bar even in an empty edition. Once you've used all of the tags on this tiddler on real tiddlers, or if you feel you do not need them displayed there anymore, you can delete this tiddler.
All the noise is because the tags cause a bunch of templates to be transcluded. :-)
! End of the important part</pre>
</div>
<div created="20200118003448758" creator="soren" modified="20210205020036977" modifier="soren" title="$:/theme" type="text/vnd.tiddlywiki">
<pre>$:/themes/tiddlywiki/vanilla</pre>
</div>
<div author="JeremyRuston" core-version="&gt;=5.0.0" dependents="$:/themes/tiddlywiki/vanilla" description="Emphasises individual tiddlers" name="Snow White" plugin-priority="0" plugin-type="theme" title="$:/themes/tiddlywiki/snowwhite" type="application/json" version="5.1.23">
<pre>{
&quot;tiddlers&quot;: {
&quot;$:/themes/tiddlywiki/snowwhite/base&quot;: {
&quot;title&quot;: &quot;$:/themes/tiddlywiki/snowwhite/base&quot;,
&quot;tags&quot;: &quot;[[$:/tags/Stylesheet]]&quot;,
&quot;text&quot;: &quot;\\define sidebarbreakpoint-minus-one()\n&lt;$text text={{{ [{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}removesuffix[px]subtract[1]addsuffix[px]] ~[{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}] }}}/&gt;\n\\end\n\n\\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline\n\n.tc-sidebar-header {\n\ttext-shadow: 0 1px 0 &lt;&lt;colour sidebar-foreground-shadow&gt;&gt;;\n}\n\n.tc-tiddler-info {\n\t&lt;&lt;box-shadow \&quot;inset 1px 2px 3px rgba(0,0,0,0.1)\&quot;&gt;&gt;\n}\n\n@media screen {\n\t.tc-tiddler-frame {\n\t\t&lt;&lt;box-shadow \&quot;1px 1px 5px rgba(0, 0, 0, 0.3)\&quot;&gt;&gt;\n\t}\n}\n\n@media (max-width: &lt;&lt;sidebarbreakpoint-minus-one&gt;&gt;) {\n\t.tc-tiddler-frame {\n\t\t&lt;&lt;box-shadow none&gt;&gt;\n\t}\n}\n\n.tc-page-controls button svg, .tc-tiddler-controls button svg, .tc-topbar button svg {\n\t&lt;&lt;transition \&quot;fill 150ms ease-in-out\&quot;&gt;&gt;\n}\n\n.tc-tiddler-controls button.tc-selected,\n.tc-page-controls button.tc-selected {\n\t&lt;&lt;filter \&quot;drop-shadow(0px -1px 2px rgba(0,0,0,0.25))\&quot;&gt;&gt;\n}\n\n.tc-tiddler-frame input.tc-edit-texteditor {\n\t&lt;&lt;box-shadow \&quot;inset 0 1px 8px rgba(0, 0, 0, 0.15)\&quot;&gt;&gt;\n}\n\n.tc-edit-tags {\n\t&lt;&lt;box-shadow \&quot;inset 0 1px 8px rgba(0, 0, 0, 0.15)\&quot;&gt;&gt;\n}\n\n.tc-tiddler-frame .tc-edit-tags input.tc-edit-texteditor {\n\t&lt;&lt;box-shadow \&quot;none\&quot;&gt;&gt;\n\tborder: none;\n\toutline: none;\n}\n\ntextarea.tc-edit-texteditor {\n\tfont-family: {{$:/themes/tiddlywiki/vanilla/settings/editorfontfamily}};\n}\n\ncanvas.tc-edit-bitmapeditor {\n\t&lt;&lt;box-shadow \&quot;2px 2px 5px rgba(0, 0, 0, 0.5)\&quot;&gt;&gt;\n}\n\n.tc-drop-down {\n\tborder-radius: 4px;\n\t&lt;&lt;box-shadow \&quot;2px 2px 10px rgba(0, 0, 0, 0.5)\&quot;&gt;&gt;\n}\n\n.tc-block-dropdown {\n\tborder-radius: 4px;\n\t&lt;&lt;box-shadow \&quot;2px 2px 10px rgba(0, 0, 0, 0.5)\&quot;&gt;&gt;\n}\n\n.tc-modal {\n\tborder-radius: 6px;\n\t&lt;&lt;box-shadow \&quot;0 3px 7px rgba(0,0,0,0.3)\&quot;&gt;&gt;\n}\n\n.tc-modal-footer {\n\tborder-radius: 0 0 6px 6px;\n\t&lt;&lt;box-shadow \&quot;inset 0 1px 0 #fff\&quot;&gt;&gt;;\n}\n\n\n.tc-alert {\n\tborder-radius: 6px;\n\t&lt;&lt;box-shadow \&quot;0 3px 7px rgba(0,0,0,0.6)\&quot;&gt;&gt;\n}\n\n.tc-notification {\n\tborder-radius: 6px;\n\t&lt;&lt;box-shadow \&quot;0 3px 7px rgba(0,0,0,0.3)\&quot;&gt;&gt;\n\ttext-shadow: 0 1px 0 rgba(255,255,255, 0.8);\n}\n\n.tc-sidebar-lists .tc-tab-set .tc-tab-divider {\n\tborder-top: none;\n\theight: 1px;\n\t&lt;&lt;background-linear-gradient \&quot;left, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.0) 100%\&quot;&gt;&gt;\n}\n\n.tc-more-sidebar &gt; .tc-tab-set &gt; .tc-tab-buttons &gt; button {\n\t&lt;&lt;background-linear-gradient \&quot;left, rgba(0,0,0,0.01) 0%, rgba(0,0,0,0.1) 100%\&quot;&gt;&gt;\n}\n\n.tc-more-sidebar &gt; .tc-tab-set &gt; .tc-tab-buttons &gt; button.tc-tab-selected {\n\t&lt;&lt;background-linear-gradient \&quot;left, rgba(0,0,0,0.05) 0%, rgba(255,255,255,0.05) 100%\&quot;&gt;&gt;\n}\n\n.tc-message-box img {\n\t&lt;&lt;box-shadow \&quot;1px 1px 3px rgba(0,0,0,0.5)\&quot;&gt;&gt;\n}\n\n.tc-plugin-info {\n\t&lt;&lt;box-shadow \&quot;1px 1px 3px rgba(0,0,0,0.5)\&quot;&gt;&gt;\n}\n&quot;
}
}
}</pre>
</div>
<div author="JeremyRuston" core-version="&gt;=5.0.0" dependents="" description="Basic theme" name="Vanilla" plugin-priority="0" plugin-type="theme" title="$:/themes/tiddlywiki/vanilla" type="application/json" version="5.1.23">
<pre>{
&quot;tiddlers&quot;: {
&quot;$:/themes/tiddlywiki/vanilla/themetweaks&quot;: {
&quot;title&quot;: &quot;$:/themes/tiddlywiki/vanilla/themetweaks&quot;,
&quot;tags&quot;: &quot;$:/tags/ControlPanel/Appearance&quot;,
&quot;caption&quot;: &quot;{{$:/language/ThemeTweaks/ThemeTweaks}}&quot;,
&quot;text&quot;: &quot;\\define lingo-base() $:/language/ThemeTweaks/\n\n\\define replacement-text()\n[img[$(imageTitle)$]]\n\\end\n\n\\define backgroundimage-dropdown()\n&lt;div class=\&quot;tc-drop-down-wrapper\&quot;&gt;\n&lt;$button popup=&lt;&lt;qualify \&quot;$:/state/popup/themetweaks/backgroundimage\&quot;&gt;&gt; class=\&quot;tc-btn-invisible tc-btn-dropdown\&quot;&gt;{{$:/core/images/down-arrow}}&lt;/$button&gt;\n&lt;$reveal state=&lt;&lt;qualify \&quot;$:/state/popup/themetweaks/backgroundimage\&quot;&gt;&gt; type=\&quot;popup\&quot; position=\&quot;belowleft\&quot; text=\&quot;\&quot; default=\&quot;\&quot;&gt;\n&lt;div class=\&quot;tc-drop-down\&quot;&gt;\n&lt;$macrocall $name=\&quot;image-picker\&quot; actions=\&quot;\&quot;\&quot;\n\n&lt;$action-setfield\n\t$tiddler=\&quot;$:/themes/tiddlywiki/vanilla/settings/backgroundimage\&quot;\n\t$value=&lt;&lt;imageTitle&gt;&gt;\n/&gt;\n\n\&quot;\&quot;\&quot;/&gt;\n&lt;/div&gt;\n&lt;/$reveal&gt;\n&lt;/div&gt;\n\\end\n\n\\define backgroundimageattachment-dropdown()\n&lt;$select tiddler=\&quot;$:/themes/tiddlywiki/vanilla/settings/backgroundimageattachment\&quot; default=\&quot;scroll\&quot;&gt;\n&lt;option value=\&quot;scroll\&quot;&gt;&lt;&lt;lingo Settings/BackgroundImageAttachment/Scroll&gt;&gt;&lt;/option&gt;\n&lt;option value=\&quot;fixed\&quot;&gt;&lt;&lt;lingo Settings/BackgroundImageAttachment/Fixed&gt;&gt;&lt;/option&gt;\n&lt;/$select&gt;\n\\end\n\n\\define backgroundimagesize-dropdown()\n&lt;$select tiddler=\&quot;$:/themes/tiddlywiki/vanilla/settings/backgroundimagesize\&quot; default=\&quot;scroll\&quot;&gt;\n&lt;option value=\&quot;auto\&quot;&gt;&lt;&lt;lingo Settings/BackgroundImageSize/Auto&gt;&gt;&lt;/option&gt;\n&lt;option value=\&quot;cover\&quot;&gt;&lt;&lt;lingo Settings/BackgroundImageSize/Cover&gt;&gt;&lt;/option&gt;\n&lt;option value=\&quot;contain\&quot;&gt;&lt;&lt;lingo Settings/BackgroundImageSize/Contain&gt;&gt;&lt;/option&gt;\n&lt;/$select&gt;\n\\end\n\n&lt;&lt;lingo ThemeTweaks/Hint&gt;&gt;\n\n! &lt;&lt;lingo Options&gt;&gt;\n\n|&lt;$link to=\&quot;$:/themes/tiddlywiki/vanilla/options/sidebarlayout\&quot;&gt;&lt;&lt;lingo Options/SidebarLayout&gt;&gt;&lt;/$link&gt; |&lt;$select tiddler=\&quot;$:/themes/tiddlywiki/vanilla/options/sidebarlayout\&quot;&gt;&lt;option value=\&quot;fixed-fluid\&quot;&gt;&lt;&lt;lingo Options/SidebarLayout/Fixed-Fluid&gt;&gt;&lt;/option&gt;&lt;option value=\&quot;fluid-fixed\&quot;&gt;&lt;&lt;lingo Options/SidebarLayout/Fluid-Fixed&gt;&gt;&lt;/option&gt;&lt;/$select&gt; |\n|&lt;$link to=\&quot;$:/themes/tiddlywiki/vanilla/options/stickytitles\&quot;&gt;&lt;&lt;lingo Options/StickyTitles&gt;&gt;&lt;/$link&gt;&lt;br&gt;//&lt;&lt;lingo Options/StickyTitles/Hint&gt;&gt;// |&lt;$select tiddler=\&quot;$:/themes/tiddlywiki/vanilla/options/stickytitles\&quot;&gt;&lt;option value=\&quot;no\&quot;&gt;{{$:/language/No}}&lt;/option&gt;&lt;option value=\&quot;yes\&quot;&gt;{{$:/language/Yes}}&lt;/option&gt;&lt;/$select&gt; |\n|&lt;$link to=\&quot;$:/themes/tiddlywiki/vanilla/options/codewrapping\&quot;&gt;&lt;&lt;lingo Options/CodeWrapping&gt;&gt;&lt;/$link&gt; |&lt;$select tiddler=\&quot;$:/themes/tiddlywiki/vanilla/options/codewrapping\&quot;&gt;&lt;option value=\&quot;pre\&quot;&gt;{{$:/language/No}}&lt;/option&gt;&lt;option value=\&quot;pre-wrap\&quot;&gt;{{$:/language/Yes}}&lt;/option&gt;&lt;/$select&gt; |\n\n! &lt;&lt;lingo Settings&gt;&gt;\n\n|&lt;$link to=\&quot;$:/themes/tiddlywiki/vanilla/settings/fontfamily\&quot;&gt;&lt;&lt;lingo Settings/FontFamily&gt;&gt;&lt;/$link&gt; |&lt;$edit-text tiddler=\&quot;$:/themes/tiddlywiki/vanilla/settings/fontfamily\&quot; default=\&quot;\&quot; tag=\&quot;input\&quot;/&gt; | |\n|&lt;$link to=\&quot;$:/themes/tiddlywiki/vanilla/settings/codefontfamily\&quot;&gt;&lt;&lt;lingo Settings/CodeFontFamily&gt;&gt;&lt;/$link&gt; |&lt;$edit-text tiddler=\&quot;$:/themes/tiddlywiki/vanilla/settings/codefontfamily\&quot; default=\&quot;\&quot; tag=\&quot;input\&quot;/&gt; | |\n|&lt;$link to=\&quot;$:/themes/tiddlywiki/vanilla/settings/editorfontfamily\&quot;&gt;&lt;&lt;lingo
},
&quot;$:/themes/tiddlywiki/vanilla/base&quot;: {
&quot;title&quot;: &quot;$:/themes/tiddlywiki/vanilla/base&quot;,
&quot;tags&quot;: &quot;[[$:/tags/Stylesheet]]&quot;,
&quot;text&quot;: &quot;\\define custom-background-datauri()\n&lt;$set name=\&quot;background\&quot; value={{$:/themes/tiddlywiki/vanilla/settings/backgroundimage}}&gt;\n&lt;$list filter=\&quot;[&lt;background&gt;is[image]]\&quot;&gt;\n`background: url(`\n&lt;$list filter=\&quot;[&lt;background&gt;!has[_canonical_uri]]\&quot;&gt;\n`\&quot;`&lt;$macrocall $name=\&quot;datauri\&quot; title={{$:/themes/tiddlywiki/vanilla/settings/backgroundimage}}/&gt;`\&quot;`\n&lt;/$list&gt;\n&lt;$list filter=\&quot;[&lt;background&gt;has[_canonical_uri]]\&quot;&gt;\n`\&quot;`&lt;$view tiddler={{$:/themes/tiddlywiki/vanilla/settings/backgroundimage}} field=\&quot;_canonical_uri\&quot;/&gt;`\&quot;`\n&lt;/$list&gt;\n`) center center;`\n`background-attachment: `{{$:/themes/tiddlywiki/vanilla/settings/backgroundimageattachment}}`;\n-webkit-background-size:` {{$:/themes/tiddlywiki/vanilla/settings/backgroundimagesize}}`;\n-moz-background-size:` {{$:/themes/tiddlywiki/vanilla/settings/backgroundimagesize}}`;\n-o-background-size:` {{$:/themes/tiddlywiki/vanilla/settings/backgroundimagesize}}`;\nbackground-size:` {{$:/themes/tiddlywiki/vanilla/settings/backgroundimagesize}}`;`\n&lt;/$list&gt;\n&lt;/$set&gt;\n\\end\n\n\\define sidebarbreakpoint()\n&lt;$text text={{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}}/&gt;\n\\end\n\n\\define sidebarbreakpoint-minus-one()\n&lt;$text text={{{ [{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}removesuffix[px]subtract[1]addsuffix[px]] ~[{$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint}] }}}/&gt;\n\\end\n\n\\define if-fluid-fixed(text,hiddenSidebarText)\n&lt;$reveal state=\&quot;$:/themes/tiddlywiki/vanilla/options/sidebarlayout\&quot; type=\&quot;match\&quot; text=\&quot;fluid-fixed\&quot;&gt;\n$text$\n&lt;$reveal state=\&quot;$:/state/sidebar\&quot; type=\&quot;nomatch\&quot; text=\&quot;yes\&quot; default=\&quot;yes\&quot;&gt;\n$hiddenSidebarText$\n&lt;/$reveal&gt;\n&lt;/$reveal&gt;\n\\end\n\n\\define if-editor-height-fixed(then,else)\n&lt;$reveal state=\&quot;$:/config/TextEditor/EditorHeight/Mode\&quot; type=\&quot;match\&quot; text=\&quot;fixed\&quot;&gt;\n$then$\n&lt;/$reveal&gt;\n&lt;$reveal state=\&quot;$:/config/TextEditor/EditorHeight/Mode\&quot; type=\&quot;match\&quot; text=\&quot;auto\&quot;&gt;\n$else$\n&lt;/$reveal&gt;\n\\end\n\n\\define set-type-selector-min-width()\n&lt;$set name=\&quot;typeLength\&quot; value={{{ [all[shadows+tiddlers]prefix[$:/language/Docs/Types/]get[name]length[]maxall[]] }}}&gt;\n\n\t.tc-type-selector-dropdown-wrapper {\n\t\tmin-width: calc(&lt;&lt;typeLength&gt;&gt;ch + 4em);\n\t}\n\n\t.tc-type-selector-dropdown-wrapper input.tc-edit-typeeditor {\n\t\tmin-width: &lt;&lt;typeLength&gt;&gt;ch;\n\t}\n\n&lt;/$set&gt;\n\\end\n\n\\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline macrocallblock\n\n/*\n** Start with the normalize CSS reset, and then belay some of its effects\n*/\n\n{{$:/themes/tiddlywiki/vanilla/reset}}\n\n*, input[type=\&quot;search\&quot;] {\n\tbox-sizing: border-box;\n\t-moz-box-sizing: border-box;\n\t-webkit-box-sizing: border-box;\n}\n\ninput[type=\&quot;search\&quot;] {\n outline-offset: initial;\n}\n\nhtml button {\n\tline-height: 1.2;\n\tcolor: &lt;&lt;colour button-foreground&gt;&gt;;\n\tfill: &lt;&lt;colour button-foreground&gt;&gt;;\n\tbackground: &lt;&lt;colour button-background&gt;&gt;;\n\tborder-color: &lt;&lt;colour button-border&gt;&gt;;\n}\n\n/*\n** Basic element styles\n*/\n\nhtml, body {\n\tfont-family: {{$:/themes/tiddlywiki/vanilla/settings/fontfamily}};\n\ttext-rendering: optimizeLegibility; /* Enables kerning and ligatures etc. */\n\t-webkit-font-smoothing: antialiased;\n\t-moz-osx-font-smoothing: grayscale;\n}\n\nhtml:-webkit-full-screen {\n\tbackground-color: &lt;&lt;colour page-background&gt;&gt;;\n}\n\nbody.tc-body {\n\tfont-size: {{$:/themes/tiddlywiki/vanilla/metrics/fontsize}};\n\tline-height: {{$:/themes/tiddlywiki/vanilla/metrics/lineheight}};\n\tword-wrap: break-word;\n\t&lt;&lt;custom-background-datauri&gt;&gt;\n\tcolor: &lt;&lt;colour foreground&gt;&gt;;\n\tba
},
&quot;$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize&quot;: {
&quot;title&quot;: &quot;$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize&quot;,
&quot;text&quot;: &quot;15px&quot;
},
&quot;$:/themes/tiddlywiki/vanilla/metrics/bodylineheight&quot;: {
&quot;title&quot;: &quot;$:/themes/tiddlywiki/vanilla/metrics/bodylineheight&quot;,
&quot;text&quot;: &quot;22px&quot;
},
&quot;$:/themes/tiddlywiki/vanilla/metrics/fontsize&quot;: {
&quot;title&quot;: &quot;$:/themes/tiddlywiki/vanilla/metrics/fontsize&quot;,
&quot;text&quot;: &quot;14px&quot;
},
&quot;$:/themes/tiddlywiki/vanilla/metrics/lineheight&quot;: {
&quot;title&quot;: &quot;$:/themes/tiddlywiki/vanilla/metrics/lineheight&quot;,
&quot;text&quot;: &quot;20px&quot;
},
&quot;$:/themes/tiddlywiki/vanilla/metrics/storyleft&quot;: {
&quot;title&quot;: &quot;$:/themes/tiddlywiki/vanilla/metrics/storyleft&quot;,
&quot;text&quot;: &quot;0px&quot;
},
&quot;$:/themes/tiddlywiki/vanilla/metrics/storytop&quot;: {
&quot;title&quot;: &quot;$:/themes/tiddlywiki/vanilla/metrics/storytop&quot;,
&quot;text&quot;: &quot;0px&quot;
},
&quot;$:/themes/tiddlywiki/vanilla/metrics/storyright&quot;: {
&quot;title&quot;: &quot;$:/themes/tiddlywiki/vanilla/metrics/storyright&quot;,
&quot;text&quot;: &quot;770px&quot;
},
&quot;$:/themes/tiddlywiki/vanilla/metrics/storywidth&quot;: {
&quot;title&quot;: &quot;$:/themes/tiddlywiki/vanilla/metrics/storywidth&quot;,
&quot;text&quot;: &quot;770px&quot;
},
&quot;$:/themes/tiddlywiki/vanilla/metrics/tiddlerwidth&quot;: {
&quot;title&quot;: &quot;$:/themes/tiddlywiki/vanilla/metrics/tiddlerwidth&quot;,
&quot;text&quot;: &quot;686px&quot;
},
&quot;$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint&quot;: {
&quot;title&quot;: &quot;$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint&quot;,
&quot;text&quot;: &quot;960px&quot;
},
&quot;$:/themes/tiddlywiki/vanilla/metrics/sidebarwidth&quot;: {
&quot;title&quot;: &quot;$:/themes/tiddlywiki/vanilla/metrics/sidebarwidth&quot;,
&quot;text&quot;: &quot;350px&quot;
},
&quot;$:/themes/tiddlywiki/vanilla/options/stickytitles&quot;: {
&quot;title&quot;: &quot;$:/themes/tiddlywiki/vanilla/options/stickytitles&quot;,
&quot;text&quot;: &quot;no&quot;
},
&quot;$:/themes/tiddlywiki/vanilla/options/sidebarlayout&quot;: {
&quot;title&quot;: &quot;$:/themes/tiddlywiki/vanilla/options/sidebarlayout&quot;,
&quot;text&quot;: &quot;fixed-fluid&quot;
},
&quot;$:/themes/tiddlywiki/vanilla/options/codewrapping&quot;: {
&quot;title&quot;: &quot;$:/themes/tiddlywiki/vanilla/options/codewrapping&quot;,
&quot;text&quot;: &quot;pre-wrap&quot;
},
&quot;$:/themes/tiddlywiki/vanilla/reset&quot;: {
&quot;title&quot;: &quot;$:/themes/tiddlywiki/vanilla/reset&quot;,
&quot;type&quot;: &quot;text/plain&quot;,
&quot;text&quot;: &quot;/*! modern-normalize v1.0.0 | MIT License | https://github.com/sindresorhus/modern-normalize */\n\n/*\nDocument\n========\n*/\n\n/**\nUse a better box model (opinionated).\n*/\n\n*,\n*::before,\n*::after {\n box-sizing: border-box;\n}\n\n/**\nUse a more readable tab size (opinionated).\n*/\n\n:root {\n -moz-tab-size: 4;\n tab-size: 4;\n}\n\n/**\n1. Correct the line height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n*/\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/*\nSections\n========\n*/\n\n/**\nRemove the margin in all browsers.\n*/\n\nbody {\n margin: 0;\n}\n\n/**\nImprove consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)\n*/\n\nbody {\n font-family:\n system-ui,\n -apple-system, /* Firefox supports this but not yet `system-ui` */\n 'Segoe UI',\n Roboto,\n Helvetica,\n Arial,\n sans-serif,\n 'Apple Color Emoji',\n 'Segoe UI Emoji';\n}\n\n/*\nGrouping content\n================\n*/\n\n/**\n1. Add the correct height in Firefox.\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n*/\n\nhr {\n height: 0; /* 1 */\n color: inherit; /* 2 */\n}\n\n/*\nText-level semantics\n====================\n*/\n\n/**\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/\n\nabbr[title] {\n text-decoration: underline dotted;\n}\n\n/**\nAdd the correct font weight in Edge and Safari.\n*/\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)\n2. Correct the odd 'em' font sizing in all browsers.\n*/\n\ncode,\nkbd,\nsamp,\npre {\n font-family:\n ui-monospace,\n SFMono-Regular,\n Consolas,\n 'Liberation Mono',\n Menlo,\n monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\nAdd the correct font size in all browsers.\n*/\n\nsmall {\n font-size: 80%;\n}\n\n/**\nPrevent 'sub' and 'sup' elements from affecting the line height in all browsers.\n*/\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/*\nTabular data\n============\n*/\n\n/**\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n*/\n\ntable {\n text-indent: 0; /* 1 */\n border-color: inherit; /* 2 */\n}\n\n/*\nForms\n=====\n*/\n\n/**\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n*/\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\nRemove the inheritance of text transform in Edge and Firefox.\n1. Remove the inheritance of text transform in Firefox.\n*/\n\nbutton,\nselect { /* 1 */\n text-transform: none;\n}\n\n/**\nCorrect the inability to style clickable types in iOS and Safari.\n*/\n\nbutton,\n[type='button'],\n[type='reset'],\n[type='submit'] {\n -webkit-appearance: button;\n}\n\n/**\nRemove the inner border and padding in Firefox.\n*/\n\n::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/**\nRestore the focus styles unset by the previous rule.\n*/\n\n:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/**\nRemove the additional ':invalid' styles in Firefox.\nSee: https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737\n*/\n\n:-moz-ui-invalid {\n box-shadow: none;\n}\n\n/**\nRemove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.\n*/\n\nlegend
},
&quot;$:/themes/tiddlywiki/vanilla/settings/fontfamily&quot;: {
&quot;title&quot;: &quot;$:/themes/tiddlywiki/vanilla/settings/fontfamily&quot;,
&quot;text&quot;: &quot;system-ui, -apple-system, \&quot;Segoe UI\&quot;, Roboto, Helvetica, Arial, sans-serif, \&quot;Apple Color Emoji\&quot;, \&quot;Segoe UI Emoji\&quot;&quot;
},
&quot;$:/themes/tiddlywiki/vanilla/settings/codefontfamily&quot;: {
&quot;title&quot;: &quot;$:/themes/tiddlywiki/vanilla/settings/codefontfamily&quot;,
&quot;text&quot;: &quot;\&quot;SFMono-Regular\&quot;,Consolas,\&quot;Liberation Mono\&quot;,Menlo,Courier,monospace&quot;
},
&quot;$:/themes/tiddlywiki/vanilla/settings/backgroundimageattachment&quot;: {
&quot;title&quot;: &quot;$:/themes/tiddlywiki/vanilla/settings/backgroundimageattachment&quot;,
&quot;text&quot;: &quot;fixed&quot;
},
&quot;$:/themes/tiddlywiki/vanilla/settings/backgroundimagesize&quot;: {
&quot;title&quot;: &quot;$:/themes/tiddlywiki/vanilla/settings/backgroundimagesize&quot;,
&quot;text&quot;: &quot;auto&quot;
},
&quot;$:/themes/tiddlywiki/vanilla/sticky&quot;: {
&quot;title&quot;: &quot;$:/themes/tiddlywiki/vanilla/sticky&quot;,
&quot;text&quot;: &quot;&lt;$reveal state=\&quot;$:/themes/tiddlywiki/vanilla/options/stickytitles\&quot; type=\&quot;match\&quot; text=\&quot;yes\&quot;&gt;\n``\n.tc-tiddler-title {\n\tposition: -webkit-sticky;\n\tposition: -moz-sticky;\n\tposition: -o-sticky;\n\tposition: -ms-sticky;\n\tposition: sticky;\n\ttop: 0px;\n\tbackground: ``&lt;&lt;colour tiddler-background&gt;&gt;``;\n\tz-index: 500;\n}\n\n``\n&lt;$list filter=\&quot;[range[100]]\&quot;&gt;\n`.tc-story-river .tc-tiddler-frame:nth-child(100n+`&lt;$text text=&lt;&lt;currentTiddler&gt;&gt;/&gt;`) {\nz-index: `&lt;$text text={{{ [[200]subtract&lt;currentTiddler&gt;] }}}/&gt;`;\n}\n`\n&lt;/$list&gt;\n&lt;/$reveal&gt;\n&quot;
}
}
}</pre>
</div>
<div created="20210512223132839" modified="20210512222944307" title="$:/themes/tiddlywiki/vanilla/metrics/bodyfontsize" type="text/vnd.tiddlywiki">
<pre>16px</pre>
</div>
<div created="20200118003537759" creator="soren" modified="20210615030640584" modifier="soren" title="$:/themes/tiddlywiki/vanilla/metrics/sidebarbreakpoint" type="text/vnd.tiddlywiki">
<pre>70em</pre>
</div>
<div created="20200118003510457" creator="soren" modified="20210615030637328" modifier="soren" title="$:/themes/tiddlywiki/vanilla/metrics/sidebarwidth" type="text/vnd.tiddlywiki">
<pre>35em</pre>
</div>
<div created="20200118003517900" creator="soren" modified="20210615030746421" modifier="soren" title="$:/themes/tiddlywiki/vanilla/metrics/storyright" type="text/vnd.tiddlywiki">
<pre>1100px</pre>
</div>
<div created="20200118003525524" creator="soren" modified="20200118003527568" modifier="soren" title="$:/themes/tiddlywiki/vanilla/metrics/storywidth" type="text/vnd.tiddlywiki">
<pre>900px</pre>
</div>
<div created="20200118003521373" creator="soren" modified="20200118003529130" modifier="soren" title="$:/themes/tiddlywiki/vanilla/metrics/tiddlerwidth" type="text/vnd.tiddlywiki">
<pre>900px</pre>
</div>
<div created="20200402134512912" modified="20200913202515610" title="$:/themes/tiddlywiki/vanilla/options/sidebarlayout" type="text/vnd.tiddlywiki">
<pre>fluid-fixed</pre>
</div>
<div created="20200118003611689" creator="soren" modified="20210627195923430" modifier="soren" title="$:/themes/tiddlywiki/vanilla/options/stickytitles" type="text/vnd.tiddlywiki">
<pre>yes</pre>
</div>
<div created="20210220212625107" modified="20210220213159398" title="$:/themes/tiddlywiki/vanilla/settings/backgroundimage" type="text/vnd.tiddlywiki">
<pre></pre>
</div>
<div created="20210512223028998" modified="20210512222846850" title="$:/themes/tiddlywiki/vanilla/settings/codefontfamily" type="text/vnd.tiddlywiki">
<pre>&quot;Fira Code&quot;,Inconsolata,Consolas,&quot;Liberation Mono&quot;,Menlo,Courier,monospace</pre>
</div>
<div created="20200118003620709" creator="soren" modified="20200118003640548" modifier="soren" title="$:/themes/tiddlywiki/vanilla/settings/editorfontfamily" type="text/vnd.tiddlywiki">
<pre>&quot;Fira Code&quot;,Inconsolata,Consolas,Courier,monospace</pre>
</div>
<div created="20210512223039511" modified="20210512222852786" title="$:/themes/tiddlywiki/vanilla/settings/fontfamily" type="text/vnd.tiddlywiki">
<pre>Source Sans Pro, system-ui, -apple-system, &quot;Segoe UI&quot;, Roboto, Helvetica, Arial, sans-serif, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;</pre>
</div>
<div created="20210626223253788" modified="20210627201302480" title="$:/themes/tiddlywiki/vanilla/sticky" type="text/vnd.tiddlywiki">
<pre>&lt;$reveal state=&quot;$:/themes/tiddlywiki/vanilla/options/stickytitles&quot; type=&quot;match&quot; text=&quot;yes&quot;&gt;
``
.tc-tiddler-title {
position: -webkit-sticky;
position: -moz-sticky;
position: -o-sticky;
position: -ms-sticky;
position: sticky;
top: ``{{$:/config/sib/TopBarHeight}}``;
background: ``&lt;&lt;colour tiddler-background&gt;&gt;``;
z-index: 500;
}
``
&lt;$list filter=&quot;[range[100]]&quot;&gt;
`.tc-story-river .tc-tiddler-frame:nth-child(100n+`&lt;$text text=&lt;&lt;currentTiddler&gt;&gt;/&gt;`) {
z-index: `&lt;$text text={{{ [[200]subtract&lt;currentTiddler&gt;] }}}/&gt;`;
}
`
&lt;/$list&gt;
&lt;/$reveal&gt;
</pre>
</div>
<div created="20200612234035819" modified="20200612234036052" title="$:/todolist/data/base/archive" type="application/json">
<pre>{
&quot;20200411132349135&quot;: &quot;Identify and populate fields for Sources&quot;,
&quot;20200411132355040&quot;: &quot;Try to add pictures for more people&quot;,
&quot;20200411132404648&quot;: &quot;Identify a way to keep track of the characters in works of fiction (universe field or something?)&quot;,
&quot;20200427032342224&quot;: &quot;Journals should be easily splittable into sections with /'s (and slotted that way in the folder) -- have to think about order.&quot;,
&quot;20200427032347386&quot;: &quot;Readjust bucketing in filesystem&quot;,
&quot;20200427033916350&quot;: &quot;Journal section in the ReferenceExplorer&quot;,
&quot;20200520144155787&quot;: &quot;Look into keyboard shortcuts&quot;
}</pre>
</div>
<div created="20200416123626170" creator="soren" modified="20200612234035835" modifier="soren" title="$:/todolist/data/base/done" type="application/json">
<pre>{}</pre>
</div>
<div created="20200411132343915" creator="soren" modified="20200831174646077" modifier="soren" title="$:/todolist/data/base/priority" type="application/json">
<pre>{
&quot;20200411132349135&quot;: &quot;none&quot;,
&quot;20200411132355040&quot;: &quot;none&quot;,
&quot;20200411132404648&quot;: &quot;none&quot;,
&quot;20200423024915852&quot;: &quot;yellow&quot;,
&quot;20200427032342224&quot;: &quot;limegreen&quot;,
&quot;20200427032347386&quot;: &quot;none&quot;,
&quot;20200427033916350&quot;: &quot;limegreen&quot;,
&quot;20200428184308637&quot;: &quot;none&quot;,
&quot;20200519141610053&quot;: &quot;none&quot;,
&quot;20200520144155787&quot;: &quot;none&quot;,
&quot;20200831174643357&quot;: &quot;none&quot;
}</pre>
</div>
<div created="20200411132340008" creator="soren" modified="20200913151437409" modifier="soren" title="$:/todolist/data/base/state" type="application/json">
<pre>{
&quot;itemtext&quot;: &quot;&quot;,
&quot;option&quot;: &quot;yes&quot;,
&quot;timestamp&quot;: &quot;show&quot;,
&quot;editview&quot;: &quot;view&quot;,
&quot;markall&quot;: &quot;no&quot;
}</pre>
</div>
<div created="20200411132343915" creator="soren" modified="20200831174646171" modifier="soren" title="$:/todolist/data/base/status" type="application/json">
<pre>{
&quot;20200423024915852&quot;: &quot;undone&quot;,
&quot;20200428184308637&quot;: &quot;undone&quot;,
&quot;20200519141610053&quot;: &quot;undone&quot;,
&quot;20200831174643357&quot;: &quot;undone&quot;
}</pre>
</div>
<div created="20200411132343915" creator="soren" list="20200831174643357 20200519141610053 20200423024915852 20200428184308637" modified="20200831174646196" modifier="soren" title="$:/todolist/data/base/tasks" type="application/json">
<pre>{
&quot;20200423024915852&quot;: &quot;Fix the fact that rich relationships are missing from the \&quot;All\&quot; ReferenceExplorer view&quot;,
&quot;20200428184308637&quot;: &quot;Create maintenance tool for naming conventions (no 'Vs', only 'Versus'; PAO names)&quot;,
&quot;20200519141610053&quot;: &quot;Public ZK should use zoomin view; also can we not render backgrounded tiddlers to improve performance?&quot;,
&quot;20200831174643357&quot;: &quot;Possibility of a nopub macro for little snippets of things that can't be publicized; would need to regex-replace out of the source prior to publish&quot;
}</pre>
</div>
<div caption="Any embedded file that is not an [[Image]]." color="#ff0000" created="20200122024451228" creator="soren" icon="$:/core/images/tag-button" modified="20210825155401976" modifier="soren" refexplorer-hide="yes" tags="Meta Public" title="Attachment" type="text/vnd.tiddlywiki">
<pre>The //Attachment// tag is applied to any file embedded within the wiki as a tiddler that is not an [[Image]].</pre>
</div>
<div caption="An aggregation of sources that might be useful to someone studying a particular topic the ZK touches on." color="#ff0000" created="20200808024704618" creator="soren" icon="$:/core/images/tag-button" modified="20210827233651142" modifier="soren" tags="Meta Public" title="Bibliography" type="text/vnd.tiddlywiki">
<pre>A ''bibliography'' provides a concise list of useful [[Source]]s for someone who's unfamiliar with a topic that's treated at length in the Zettelkasten, without requiring the reader (or the author, hoping to find them some references!) to aimlessly wander through the ConceptWeb hoping to find more sources.
!! Current bibliographies in this Zettelkasten
&lt;&lt;list-links &quot;[!is[system]tag[Bibliography]]&quot;&gt;&gt;
!! How bibliographies work
Each bibliography has its own tiddler:
* The tiddler can be named anything, but conventionally ends with the word `Bibliography`.
* It should be tagged `bibliography`.
* It should have a `bibliography` field containing a //bibliography key//, which will be used to connect it to sources. The bibliography key is usually a short string of letters and numbers, but may contain other characters if needed for some reason.
* The body of the tiddler can contain information about the bibliography, or even interactive features, as desired. Where the sources contained in the bibliography should be displayed, transclude the bibliography-list template: `{{||$:/sib/Templates/Topical/BibliographyList}}`.
A source (or a [[Publication]]) is placed in a bibliography as follows:
* The bibliography key (see above) is added to the `bibliography` field of the source. `bibliography` is a list field, so a source can be contained in multiple bibliographies if appropriate; all the bibliography keys are added to this field, separated by spaces. If the bibliography key itself contains spaces, it should be placed in double square brackets, like `[[my bibliography key]]` (as with any other list field).
* A short summary of the source should be added to the `description` field of the source; this will be used on the list.
* The `caption`, `year`, `medium`, and, if available, `url` fields will also be used on the bibliography list and should be filled out with appropriate metadata; see [[Source]] for details.</pre>
</div>
<div caption="A [[metasource|Metasource]] representing a class or course which uses multiple [[Source]]s." color="#ff0000" created="20200312153108522" creator="soren" icon="$:/core/images/tag-button" modified="20210825155749259" modifier="soren" tags="Meta Public" title="Class" type="text/vnd.tiddlywiki">
<pre>{{!!caption}}</pre>
</div>
<div caption="Raw notes or reflections on a conversation or meeting with someone." color="#ff0000" created="20200702013212138" creator="soren" icon="$:/core/images/tag-button" modified="20210825155537333" modifier="soren" tags="Meta Public" title="Conversation" type="text/vnd.tiddlywiki">
<pre>{{!!caption}}</pre>
</div>
<div created="20210523180344305" modified="20210525001746812" tags="Meta Public" title="CopyrightNotice" type="text/vnd.tiddlywiki">
<pre>A TiddlyWiki [[blurs the lines between code and data|CodeDataEquivalence]], but most [[TiddlyWiki]]s can be divided into two types of tiddlers, ''content'' and ''system tiddlers''. These two types of tiddlers are licensed differently.
!! Content
{{$:/config/zettelkasten/copyright/Content}}
!! System tiddlers
{{$:/config/zettelkasten/copyright/System}}</pre>
</div>
<div created="20210917204123567" creator="soren" modified="20210917204403789" modifier="soren" tags="Meta Public" title="Footnote" type="text/vnd.tiddlywiki">
<pre>To add a footnote in a Zettelkasten tiddler, use the [[fnote|$:/sib/Macros/fnote]] macro in the spot where you want to create the footnote. Footnotes are primarily accessed by hovering over the number; the ReferenceExplorer also displays footnotes on a [[footnotes tab|$:/sib/refexplorer/Footnotes]].
Internal links in footnotes don't appear in the reference explorer, so they shouldn't be used to discuss concepts critical to the central idea of the tiddler. In general, I use footnotes more in quasi-essays aimed primarily at discussing something in detail or sharing information with the public than in tightly focused and internally-bound notes.</pre>
</div>
<div caption="The core of the Zettelkasten. Ideas are tiddlers that describe some concept, thought, lesson, or similar topic." color="#ff0000" created="20210721004110425" creator="soren" description="" icon="$:/core/images/tag-button" modified="20210825160340787" modifier="soren" refexplorer-hide="true" tags="Public Meta" title="Idea" type="text/vnd.tiddlywiki">
<pre>{{!!caption}}
!! Fields
; description
: When possible, the main idea of a tiddler should be summed up into a sentence or two and placed in the `description` field. This be displayed next to a gem icon underneath the tiddler's title, and it will appear in a tooltip when you hover over the tiddler in the ReferenceExplorer. (If no `description` field is available, a short excerpt of the beginning of the tiddler is shown in this tooltip.)
; es
: The [[epistemic status|EpistemicStatuses]] of this idea, if one is appropriate. This may be chosen from the drop-down in the upper-right of the tiddler in view mode.
; universe
: If this idea is associated with a fictional [[Source]], that source's universe key.
; url
: If this idea has a single URL strongly associated with it (for instance, a blog post describing the idea that everyone knows about), it may be placed here.</pre>
</div>
<div caption="Any image in a standard format embedded within the wiki for transclusion in other tiddlers." color="#ff0000" created="20200118044638935" creator="soren" icon="$:/core/images/tag-button" modified="20210825160451093" modifier="soren" tags="Meta Public" title="Image" type="text/vnd.tiddlywiki">
<pre>{{!!caption}} See also [[Attachment]].</pre>
</div>
<div caption="A tiddler that serves primarily as an overview of or collection of links to other information, containing little information of its own." color="#ff0000" created="20200314213905906" creator="soren" icon="$:/core/images/tag-button" modified="20210825160727571" modifier="soren" tags="Meta Public" title="Index" type="text/vnd.tiddlywiki">
<pre>//Not to be confused with [[Indexing]], the art and science of creating lists of keywords that describe where information is to be found in a resource.//
An ''index'' tiddler serves primarily as an overview of or collection of links to other information, containing little information of its own. These tiddlers become more and more useful the larger your Zettelkasten gets; you can use them to create ad-hoc lists or hierarchies or keep track of ideas in a specific topic you're currently working on.
Index tiddlers don't have any special naming conventions or fields.</pre>
</div>
<div caption="Journal tiddlers describe events as they happen. They might be written daily or near-daily to describe what's going on, or be created for a particular event." color="#ff0000" created="20200425035307739" creator="soren" icon="$:/core/images/tag-button" modified="20210828132307946" modifier="soren" tags="Meta Public" title="Journal" type="text/vnd.tiddlywiki">
<pre>{{!!caption}}
Journal tiddlers don't have any special naming conventions or fields.</pre>
</div>
<div caption="Content that is about the ZettelKasten itself or its software." color="#ff0000" created="20200115231440413" creator="soren" icon="$:/core/images/tag-button" modified="20210825160942535" modifier="soren" tags="Meta Public" title="Meta" type="text/vnd.tiddlywiki">
<pre>{{!!caption}}
Meta tiddlers don't have any special naming conventions or fields.</pre>
</div>
<div caption="Needing attention" color="#fff12e" created="20200115231518581" creator="soren" icon="$:/core/images/info-button" modified="20201203021140893" modifier="soren" tags="Meta Public" title="NeedsAttention" type="text/vnd.tiddlywiki">
<pre>&lt;$list filter=&quot;[&lt;currentTiddler&gt;!is[blank]]&quot;&gt;
Marks tiddlers that need some kind of work done on them not defined by another existing tag (e.g., NeedsExcision, NeedsPhotograph, [[Stub]]).
&lt;/$list&gt;
&lt;$list filter=&quot;[&lt;currentTiddler&gt;is[blank]then[true]]&quot;&gt;
&lt;$list filter=&quot;[tag[NeedsAttention]]&quot;&gt;
&lt;$link/&gt;&lt;br&gt;
&lt;/$list&gt;
&lt;/$list&gt;</pre>
</div>
<div caption="Needing excision" color="#fff12e" created="20200117032011552" creator="soren" icon="$:/core/images/new-here-button" modified="20201203021151197" modifier="soren" tags="Meta Public" title="NeedsExcision" type="text/vnd.tiddlywiki">
<pre>&lt;$list filter=&quot;[&lt;currentTiddler&gt;!is[blank]]&quot;&gt;
Articles that are not atomic and need to be split into pieces.
&lt;/$list&gt;
&lt;$list filter=&quot;[&lt;currentTiddler&gt;is[blank]then[true]]&quot;&gt;
&lt;$list filter=&quot;[tag[NeedsExcision]]&quot;&gt;
&lt;$link /&gt;&lt;br&gt;
&lt;/$list&gt;
&lt;/$list&gt;</pre>
</div>
<div color="#fff12e" created="20200203142752768" creator="soren" icon="$:/core/images/new-here-button" modified="20210102041913072" modifier="soren" tags="Meta" title="NeedsPhotograph" type="text/vnd.tiddlywiki">
<pre>Tag for things that would do well to have a picture of some kind added for illustration purposes.</pre>
</div>
<div caption="Items that were placed in the ZK due to convenience but do not really belong and should be migrated to another notes system." color="#fff12e" created="20200325230351650" creator="soren" icon="$:/core/images/info-button" modified="20210825122842375" modifier="soren" tags="Meta" title="NeedsRemoval" type="text/vnd.tiddlywiki">
<pre>Tag for items that have drifted into the ZettelKasten but do not belong and should be removed to another notes source.</pre>
</div>
<div caption="Raw notes from an ephemeral or non-print source such as a lecture." color="#ff0000" created="20200512003031926" creator="soren" icon="$:/core/images/tag-button" modified="20210825161003319" modifier="soren" tags="Meta Public" title="Notes" type="text/vnd.tiddlywiki">
<pre>{{!!caption}}
Notes tiddlers don't have any special naming conventions or fields.</pre>
</div>
<div caption="Open questions" created="20200325232310538" creator="soren" description="Tiddlers that pose questions that don't currently have answers." modified="20210920155901913" modifier="soren" tags="Meta Tool" title="OpenQuestion" tooltype="aggregator" type="text/vnd.tiddlywiki">
<pre>&lt;$list filter=&quot;[&lt;currentTiddler&gt;!is[blank]!is[system]]&quot;&gt;
Target tiddler for questions I'm pondering and don't know how to answer. To get your question included, just start a phrase in the text with `OpenQuestion:`.
&lt;ul&gt;
&lt;$list filter=&quot;[all[current]backlinks[]!is[system]![OurProjectSurface]![Questions]]&quot;&gt;
&lt;li&gt;&lt;$link to=&lt;&lt;currentTiddler&gt;&gt;&gt;&lt;&lt;currentTiddler&gt;&gt;&lt;/$link&gt;&lt;/li&gt;
&lt;/$list&gt;
&lt;/ul&gt;
&lt;/$list&gt;
&lt;$list filter=&quot;[&lt;currentTiddler&gt;is[blank]then[true]]&quot;&gt;
&lt;$list filter=&quot;[[OpenQuestion]backlinks[]!is[system]![OurProjectSurface]![Questions]]&quot;&gt;
&lt;$link to=&lt;&lt;currentTiddler&gt;&gt;/&gt;&lt;br&gt;
&lt;/$list&gt;
&lt;/$list&gt;</pre>
</div>
<div created="20200115225047720" creator="soren" modified="20210920205010621" modifier="soren" tags="Meta Public" title="OurNamingConventions" type="text/vnd.tiddlywiki">
<pre>In order to help keep track of all the entries here, certain [[NamingConvention]]s are observed on tiddler titles. Titles serve as [[IdeaApi]]s, so need to be clear and consistent.
!!! Casing
TiddlyWiki titles are case-sensitive, which can cause some irritation when you accidentally create tiddlers that differ only in case. These rules help to keep the capitalization consistent and avoid such confusion:
* Titles should generally be WikiCamelCase (really, PascalCase, but everyone in the wiki world calls it CamelCase). However, a single-word concept or title should not have its capitalization mangled or gratuitous words added for the sole purpose of making it into a ~CamelCase title; it should simply be rendered as the single word.
** It is, however, OK and encouraged to spell out a number or standard abbreviation where this enables a match with the ~CamelCase pattern, e.g., NineteenEightyFour. This tends to read better anyway.
* When writing ~CamelCase titles, capitalization is normalized as if all components were normal words. Acronyms do not retain upper-casing or proprietary weirdness. So it is QwertyResidue, not *QWERTYResidue; TheAdoSupportTeam, not *~TheADOSupportTeam.
** But acronyms and proprietary weirdness not incorporated into a ~CamelCase word do retain their capitalization: [[BDFL]], not *Bdfl; [[LaTeX]], not *Latex.
* Barring proprietary weirdness (e.g., [[xkcd]]), titles always begin with a capital letter.
!!! Wording
* Titles, when they are nouns, are always singular.
** But names of organizations (e.g., TheManitouSingers) and titles of sources (e.g., ComputerStupidities) should not have their number mangled to match.
** The last word of a phrasal title might be pluralized. This is fine as long as the title as a whole is not a plural noun. E.g., SpacedRepetitionEncouragesFloatingIdeas is fine.
* `The` may not begin any title which does not refer to an organization or group of people (see //Type patterns//, below). `The` should simply be omitted in such cases; e.g., GreatGatsby, not *~TheGreatGatsby. It's often hard to remember if `The` is part of the title anyway!
* Abbreviations should be avoided unless they are standard/genericized (e.g., SQL, HTML).
* Numbers should be spelled out unless this looks silly, especially when they're small (e.g., EightSeasons, not *8Seasons).
* Punctuation, including apostrophes, is removed, and accented characters are turned to standard Latin letters, in titles. This avoids confusion about whether this was done, as well as possible quoting and encoding issues in filenames, URLs, etc. The correct spelling should be used within the tiddler.
* If the tiddler is about the relationship between two things, or discusses two things, it should place those two things in alphabetical order within the title, absent a strong reason to do otherwise.
!!! Type patterns
Titles of certain [[ZettelkastenCardType]]s follow specific patterns:
* //PAO//, ''^(Mr|Ms|The)[A-Z][a-zA-Z]+'': Identifies a person, author, or organization. 'The' is used for nongendered, impersonal sources.
* //Source//, ''^[A-Z][a-zA-Z]*[0-9]{4,8}'': Identifies a source (an individual instance of a book, article, or other medium). Typically the page will note it as written by a //PAO//. The final number should be the publication date to as many digits of precision as known.
* //Image//, ''.*\.(png|jpg|gif)$'': Identifies an image embedded in the wiki.
* //Meta//, ''^Our[A-Z][a-zA-Z]+'': Something (like this article) that discusses the wiki rather than an idea.
!!! Looser conventions
These aren't types, but are generally conventions I try to follow.
* ''My'' before a name indicates that it's a work I created.</pre>
</div>
<div caption="A Person, Animal, or Organization exhibiting agency." color="#ff0000" created="20200115231447676" creator="soren" icon="$:/core/images/tag-button" modified="20210827234120899" modifier="soren" refexplorer-hide="true" tags="Meta Public" title="PAO" type="text/vnd.tiddlywiki">
<pre>\define invalidFilter()
[tag[PAO]!prefix[Mr]!prefix[Ms]!prefix[Mx]!prefix[The]]
\end
Tiddler type, the name of which stands for “''P''erson, ''A''nimal, or ''O''rganization.”
See $:/sib/Tools/PaoList for a list of all PAOs, and $:/sib/Tools/MissingPeople to find PAOs that have been referenced but not had a tiddler created.
!! Linking
If a person, animal, or organization is referenced anywhere in the wiki, it should virtually always have its name written ~CamelCase to create a PAO tiddler. The tiddler need not contain any meaningful content; it can be blank except for the title and the PAO tag. This is a matter of searchability -- if you do this, you can quickly jump to all tiddlers that mention a person if all you remember is the person's name, and you can move between ideas that mention the person using the ReferenceExplorer.
Sources should be connected to their authors by linking to the author or authors' PAO tiddler somewhere in the body text.
!! Naming conventions
In addition to being tagged `PAO`, PAOs should have names which begin with `Mr`, `Ms`, or `The`. The first two indicate a person/animal and indicate gender (my intention is to use `Mx` for non-binary people, but I haven't needed it yet). `The` is used for organizations. Note that the titles of tiddlers which do not represent organizations should consequently not begin with //The// to avoid confusion; see OurNamingConventions.
!! Tags and fields
P's, A's and O's need not be part of ConsensusPhysicalReality. When one comes from a work of fiction, it should additionally be tagged &lt;&lt;tag Character&gt;&gt; and have its `universe` field populated with an appropriate universe key (see the explanation in [[Source]]).
!! Private person replacement
When building a private wiki using the `tzk` build tools, the `replace_private_people()` builder may be used to replace the names of people who aren't tagged &lt;&lt;tag Public&gt;&gt; throughout the wiki, in order to prevent anything you say about those people from becoming searchable on the web.
!! In this wiki
Currently, there are &lt;$count filter=&quot;[tag[PAO]]&quot;/&gt; PAOs:
&lt;ul&gt;
&lt;li&gt;&lt;$count filter=&quot;[tag[PAO]prefix[Mr]]&quot;/&gt; male&lt;/li&gt;
&lt;li&gt;&lt;$count filter=&quot;[tag[PAO]prefix[Ms]]&quot;/&gt; female&lt;/li&gt;
&lt;li&gt;&lt;$count filter=&quot;[tag[PAO]prefix[The]]&quot;/&gt; organizations&lt;/li&gt;
&lt;li&gt;
&lt;$count filter=&lt;&lt;invalidFilter&gt;&gt;/&gt; folks with an unrecognized PAO prefix:
&lt;ul&gt;
&lt;$list filter=&lt;&lt;invalidFilter&gt;&gt; &gt;
&lt;li&gt;&lt;&lt;currentTiddler&gt;&gt;&lt;/li&gt;
&lt;/$list&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;</pre>
</div>
<div caption="A physical location in ConsensusPhysicalReality or in a fictional world." color="#ff0000" created="20200121032316713" creator="soren" icon="$:/core/images/tag-button" modified="20210910155618846" modifier="soren" tags="Meta Public" title="Place" type="text/vnd.tiddlywiki">
<pre>{{!!caption}}
For places that have usable addresses or GPS coordinates, you can configure maps and directions to appear at the bottom of the tiddler via Google Maps. To do this in an empty edition of this Zettelkasten:
# Set up a Maps Embed API key in Google Cloud Platform (this is rather technical, so if you don't know what an API key is, you may want to skip this feature). Set $:/config/zettelkasten/gis/GMapsApiKey to your new key.
# (Optionally) set the `Address` index of the `PrivateMetadata` data tiddler to your home address; this will save you having to type it in every time you want directions from your home to somewhere else. Since this isn't a system tiddler, it won't be published unless you check the “publish this tiddler” option.
# Turn on the //GIS tools// [[feature flag|$:/sib/Tools/FeatureFlags]].
You should now see a form on any tiddler tagged &lt;&lt;tag Place&gt;&gt; where you can enter latitude and longitude and zoom level for the place. If you don't already have a favorite tool for finding latitude and longitude, in Google Maps, you can right-click on any point and select the first option to copy the coordinates to your clipboard. I usually start with a zoom level of 12 to 15 depending on the size of the place (you can see the current zoom level at the end of a Google Maps URL, followed by a //z//).
After clicking //Add//, you'll be able to see maps, directions, or raw data for the location. The data is stored in the `gis-lat`, `gis-long`, and `gis-zoom` fields; you can also add a `gis-address` field if you'd like to display a street address on the //Info// tab.</pre>
</div>
<div color="#000001" created="20200509180315396" creator="soren" icon="$:/core/images/excise" modified="20210901215354072" modifier="soren" refexplorer-hide="true" tags="Meta Public" title="PrivateChunk" type="text/vnd.tiddlywiki">
<pre>&lt;!-- not being used as a template --&gt;
&lt;$list filter=&quot;[all[current]field:title[PrivateChunk]]&quot;&gt;
Tiddlers whose subject matter is sensitive or personal are not made publicly available. However, sometimes a topic is almost entirely fit for publication, but you'd like to add a little bit of private commentary to it. In this case, you can use a //private chunk//. This is a separate tiddler, generally named the same as the public tiddler followed by a `/p`, and tagged &lt;&lt;tag PrivateChunk&gt;&gt; (this tiddler). To include the private chunk in the public tiddler, it is transcluded, using `PrivateChunk` (this tiddler again) as a template. Some list magic hides this bit and shows the template bit when this is done.
Since you won't mark the private chunk as public, when the wiki is published, the private chunks don't come along. The title must not contain any sensitive information, since the transclusion directive will still be present in the source, but this shouldn't be a concern if the naming convention above is followed.
The lock button {{$:/core/images/locked-padlock}} on the editor toolbar can be used to create a new private chunk from the selected text.
&lt;/$list&gt;
&lt;!-- being used as a template --&gt;
&lt;$list filter=&quot;[all[current]is[tiddler]!field:title[PrivateChunk]]&quot; variable=_&gt;
&lt;$list filter=&quot;[all[current]!tag[PrivateChunk]]&quot; variable=_&gt;
&lt;span style=&quot;color: yellow;&quot;&gt;Warning: This private chunk is not tagged PrivateChunk.&lt;/span&gt;
&lt;$fieldmangler tiddler=&lt;&lt;currentTiddler&gt;&gt;&gt;
&lt;$button&gt;
&lt;$action-sendmessage $message=&quot;tm-add-tag&quot; $param=&quot;PrivateChunk&quot;/&gt;
Add tag
&lt;/$button&gt;
&lt;/$fieldmangler&gt;
&lt;/$list&gt;
&lt;div class=&quot;sib-private-chunk&quot;&gt;&lt;$link to=&lt;&lt;currentTiddler&gt;&gt;&gt;private&lt;/$link&gt;:
&lt;$transclude name=&lt;&lt;currentTiddler&gt;&gt; mode=&quot;block&quot;/&gt;
&lt;/div&gt;
&lt;/$list&gt;</pre>
</div>
<div color="#000001" created="20200507032259254" icon="$:/core/images/globe" modified="20200512034215900" refexplorer-hide="true" tags="Public Meta" title="Public" type="text/vnd.tiddlywiki">
<pre>All tiddlers tagged with this tag, as well as all system tiddlers, will be included in the nightly upload to https://zettelkasten.sorenbjornstad.com.
Tiddlers not tagged Public may still be redlinked from elsewhere in the wiki, which may be useful for establishing connections between other ideas.</pre>
</div>
<div caption="A [[metasource|Metasource]] consisting of an organization or location that publishes or groups together multiple Sources." color="#ff0000" created="20200201045921067" creator="soren" icon="$:/core/images/tag-button" modified="20210825162348971" modifier="soren" tags="Meta Public" title="Publication" type="text/vnd.tiddlywiki">
<pre>{{!!caption}}
For instance, magazines, newspapers, journals, book series, and websites are publications. Articles, papers, individual books, and pages on websites are [[Source]]s.
Publications have no special naming conventions or fields.</pre>
</div>
<div created="20200507143136944" list="PublicHomepage/Navigating PublicHomepage/Organization [[PublicHomepage/Points of Interest]] [[PublicHomepage/No Warranty]] PublicHomepage/Copyright PublicHomepage/Contact [[PublicHomepage/Video Tour]]" modified="20210720015457472" tags="Public Meta" title="PublicHomepage" type="text/vnd.tiddlywiki">
<pre>My Public Homepage Goes Here</pre>
</div>
<div created="20200410133657263" creator="soren" modified="20210920192218164" modifier="soren" tags="Meta Public" title="ReferenceExplorer" type="text/vnd.tiddlywiki">
<pre>At the bottom of every tiddler in the Zettelkasten is the ''Reference Explorer'', which shows all links between tiddlers, separated into tabs based on the ZettelkastenCardType, and allows quickly navigating through them. Several auxiliary tabs (//Link graph// and //Footnotes//) are available as well.
Only the tabs that have at least one item on them for the current tiddler will be shown, and if the current tiddler has no links or relationships at all or is a system tiddler, the reference explorer will not appear.
The possible tabs are as follows:
* [[Ideas|Idea]]
* People ([[PAO]] tag)
* [[Places|Place]]
* [[Sources|Source]] (and [[Metasources|Metasource]])
* [[Sinks|Sink]]
* [[Indexes|Index]]
* [[Subtiddlers|Subtiddler]] -- tiddlers named for the current tiddler plus some additional characters, usually separated by `/`
* Link graph -- a graphical view of the outbound links from this tiddler, going several layers deep
* [[Footnotes|Footnote]] -- display of all footnotes in the current tiddler (you can also hover over a footnote indicator to read it)
* All -- all the types of links combined into one view
It's possible to add new tabs or customize the existing ones by editing the tiddlers tagged with [[$:/tags/ReferenceExplorerTab]].
The behavior of the explorer can be customized per-tiddler by setting the following fields:
* `refexplorer-starttab` -- Instead of starting the Reference Explorer on the first tab that is shown, start it on the tab with this name (`$:/sib/refexplorer/` is prepended to this value to select a tiddler name).
* `refexplorer-hide` -- if set to `yes`, don't show the Reference Explorer until the user clicks a button. Useful to avoid performance issues on tiddlers that have dozens, hundreds, or thousands of links or tagged tiddlers.
The Reference Explorer is homegrown for the ZK wiki. It used to use TiddlyTables, but once I settled on how it should work, I rewrote it with pure HTML tables to improve performance (they use much of the CSS from TiddlyTables, so they're hard to tell apart!). Its system tiddlers can be found in `$:/sib/refexplorer`; you can borrow these for another wiki [[under the MIT license|CopyrightNotice]] if you so desire.
&lt;$details summary=&quot;Flashcards&quot;&gt;
&lt;&lt;rememberq &quot;20210123160338153&quot;
&quot;What variable must be set manually when trying to transclude the ReferenceExplorer within a nested tiddler (e.g., within a tab)?&quot;
&quot;`storyTiddler`&quot;&gt;&gt;
&lt;&lt;rememberq &quot;20210123160402884&quot;
&quot;If the ReferenceExplorer shows the references for the wrong tiddler, what variable is most likely set incorrectly?&quot;
&quot;`storyTiddler`&quot;&gt;&gt;
&lt;/$details&gt;</pre>
</div>
<div caption="The opposite of a [[Source]]: where ideas leave the system in the form of things I create." color="#ff0000" created="20200226131429312" creator="soren" icon="$:/core/images/tag-button" modified="20210825162301331" modifier="soren" tags="Meta Public" title="Sink" type="text/vnd.tiddlywiki">
<pre>{{!!caption}}
Sinks are very much like sources in most regards. They use the same naming conventions and fields as [[Source]]s, to the extent that this makes sense.</pre>
</div>
<div caption="A single source of ideas, such as a blog post, book, or musical work. Sources may be part of [[Publication]]s or [[Class]]es." color="#ff0000" created="20200115231452835" creator="soren" icon="$:/core/images/tag-button" modified="20210920171016829" modifier="soren" refexplorer-hide="true" tags="Meta Public" title="Source" type="text/vnd.tiddlywiki">
<pre>{{!!caption}}
{{SorenSourceInfo}}
!! Naming
The names of source tiddlers consist of a short CamelCase slug -- possibly the [[mangled|OurNamingConventions]] title, or a description of it if the title is long -- plus, if available, the publication year. The actual title of the source goes in the `caption` field.
!! Fields
As sources often need to be reformatted, displayed in tables, searched in complex ways, and so on, they should have a significant amount of metadata attached in fields.
; bibliography
: A list of [[bibliographies|Bibliography]] to include this source in.
; caption
: The full title and subtitle of the source, as it is known outside the wiki.
; description
: A one- or two-sentence explanation of what the source is. Optional, but highly recommended if the source is included in any bibliographies using the `bibliography` field.
; medium
: Description of what kind of source this is -- `article`, `book`, `website`, `film`, etc. Use the [[RelationshipValueTool|$:/sib/Tools/RelationshipValueTool]] for a full, up-to-date list.
; rating
: An appropriate MediaRating. Optional, but highly recommended if you've finished reading/consuming the source.
; url
: If the source is available online and not behind a paywall, a URL leading to the source. Otherwise, don't bother -- anyone who doesn't have a copy will have to do their own research anyway.
; universe
: If the source is fiction, an arbitrary //universe key// which is placed on all sources and ideas taking place in the same fictional world. If you're not sure what to use as a universe key, you can just use the title of the source; but if multiple sources share the same universe (say, books in a series) you'll want to use the same key for all of them.
; year
: If the source is not published on an ongoing basis (e.g., a website), the year of its publication. Updated editions should use the new copyright date if updated by the author, but not if the edition is merely a re-release by the publisher without substantive changes, or the addition of commentary or introductions.
!!! Only used for books
; format
: `paperback`, `hardcover`, or `ebook`. Only relevant if //owned//.
; isbn
: The ISBN of the edition at issue, without dashes. (This can be scanned in with my barcode reader if a barcode is available.)
; owned
: `yes` or `no`
; readstatus
: `read` (fully read), `partial` (partly read), `unread` (never read), or `reread` (have read fully, but would be interested in reading again).</pre>
</div>
<div color="#fff12e" created="20200116024803799" creator="soren" icon="$:/core/images/new-here-button" modified="20200530141202429" modifier="soren" tags="Meta Public" title="Stub" type="text/vnd.tiddlywiki">
<pre>Stub tiddlers, like in [[Wikipedia]] or similar, are those that have been created with a few momentary thoughts, or even just a title, but need more expansion to be useful.
Things don't have to be tagged with &lt;&lt;tag Stub&gt;&gt; just because they're short. We don't want to go OverEngineering things, because many tiddlers may be dead-ends. If they aren't dead-ends, then we'll end up seeing them again and can improve on them if appropriate. Things should be tagged Stub if we believe the material is inadequate for even the present moment and the only limitation to expanding it is time.</pre>
</div>
<div created="20210920160651222" creator="soren" modified="20210920204851937" modifier="soren" tags="Meta Public" title="Subtiddler" type="text/vnd.tiddlywiki">
<pre>A ''subtiddler'' is a tiddler which is tightly coupled to another, larger tiddler. It's not an idea of its own, it's a part of some larger idea which benefits from being compartmentalized.
Subtiddlers are identified by containing one or more slashes `/` in their names. The main tiddler or //supertiddler//'s title comes prior to the slash, then the subtiddler's name. There can be multiple levels of hierarchy if needed, but this is generally rare.
Subtiddlers of the current tiddler appear on a [[Subtiddlers tab|$:/sib/refexplorer/Subtiddlers]] of the ReferenceExplorer.</pre>
</div>
<div caption="To-do items" created="20201203005550171" creator="soren" description="List of all tiddlers which contain a link to TODO." modified="20210920155226812" modifier="soren" tags="Meta Tool" title="TODO" tooltype="aggregator" type="text/vnd.tiddlywiki">
<pre>\define todore() \[\[TODO\]\]:
\define splitre() [\.\?!](\s|$)
To add a TODO item to this list, simply link to [[TODO]].
&lt;dl&gt;
&lt;$list filter=&quot;[[TODO]backlinks[]] -[[TODO]]&quot; variable=outer&gt;
&lt;$list filter=&quot;[&lt;outer&gt;get[text]splitregexp&lt;todore&gt;last[]splitregexp&lt;splitre&gt;first[]]&quot; variable=inner&gt;
&lt;dt&gt;&lt;$link to=&lt;&lt;outer&gt;&gt;/&gt;&lt;/dt&gt;
&lt;dd&gt;''TODO:'' &lt;&lt;inner&gt;&gt;.&lt;/dd&gt;
&lt;/$list&gt;
&lt;/$list&gt;
&lt;/dl&gt;</pre>
</div>
<div caption="Tiddler that provides miniature widgets helping to perform administrative or search tasks in the ZK." color="#ff0000" created="20200225233351305" creator="soren" icon="$:/core/images/tag-button" modified="20210921153046753" modifier="soren" tags="Meta Public" title="Tool" type="text/vnd.tiddlywiki">
<pre>A tiddler designed to help you work with the rest of the wiki.
A list of tools can be found at [[$:/sib/Tools]].</pre>
</div>
<div created="20200410135331736" creator="soren" description="What types of tiddlers are used within this Zettelkasten?" modified="20210920160035899" modifier="soren" tags="Meta Public" title="ZettelkastenCardType" type="text/vnd.tiddlywiki">
<pre>This ZettelKasten has tiddlers (also “cards”, or “Zettel” in ZK terminology) of a number of defined //types//. Ideas, are of course, the ZK's //raison d'être//; but the other types are useful because they help to put ideas in context and link them together (e.g., what other ideas did this person have or were found in this source?). Types are identified by the red tags with tag icons next to them.
Click on a type to learn more about what it's used for, its naming conventions, and the fields that should be used on tiddlers of that type.
&lt;ul&gt;
&lt;$list filter=&quot;[color[#ff0000]!has[draft.of]icon[$:/core/images/tag-button]sort[title]]&quot;&gt;
&lt;li&gt;&lt;$link&gt;{{!!title}}&lt;/$link&gt; -- {{!!caption}}&lt;/li&gt;
&lt;/$list&gt;
&lt;/ul&gt;</pre>
</div>
</div>
<!--~~ Library modules ~~-->
<div id="libraryModules" style="display:none;">
<script data-tiddler-library="yes" data-tiddler-title="$:/library/sjcl.js" data-tiddler-type="application/javascript" type="text/javascript">"use strict";var sjcl={cipher:{},hash:{},keyexchange:{},mode:{},misc:{},codec:{},exception:{corrupt:function(a){this.toString=function(){return"CORRUPT: "+this.message};this.message=a},invalid:function(a){this.toString=function(){return"INVALID: "+this.message};this.message=a},bug:function(a){this.toString=function(){return"BUG: "+this.message};this.message=a},notReady:function(a){this.toString=function(){return"NOT READY: "+this.message};this.message=a}}};
sjcl.cipher.aes=function(a){this.s[0][0][0]||this.O();var b,c,d,e,f=this.s[0][4],g=this.s[1];b=a.length;var h=1;if(4!==b&&6!==b&&8!==b)throw new sjcl.exception.invalid("invalid aes key size");this.b=[d=a.slice(0),e=[]];for(a=b;a<4*b+28;a++){c=d[a-1];if(0===a%b||8===b&&4===a%b)c=f[c>>>24]<<24^f[c>>16&255]<<16^f[c>>8&255]<<8^f[c&255],0===a%b&&(c=c<<8^c>>>24^h<<24,h=h<<1^283*(h>>7));d[a]=d[a-b]^c}for(b=0;a;b++,a--)c=d[b&3?a:a-4],e[b]=4>=a||4>b?c:g[0][f[c>>>24]]^g[1][f[c>>16&255]]^g[2][f[c>>8&255]]^g[3][f[c&
255]]};
sjcl.cipher.aes.prototype={encrypt:function(a){return t(this,a,0)},decrypt:function(a){return t(this,a,1)},s:[[[],[],[],[],[]],[[],[],[],[],[]]],O:function(){var a=this.s[0],b=this.s[1],c=a[4],d=b[4],e,f,g,h=[],k=[],l,n,m,p;for(e=0;0x100>e;e++)k[(h[e]=e<<1^283*(e>>7))^e]=e;for(f=g=0;!c[f];f^=l||1,g=k[g]||1)for(m=g^g<<1^g<<2^g<<3^g<<4,m=m>>8^m&255^99,c[f]=m,d[m]=f,n=h[e=h[l=h[f]]],p=0x1010101*n^0x10001*e^0x101*l^0x1010100*f,n=0x101*h[m]^0x1010100*m,e=0;4>e;e++)a[e][f]=n=n<<24^n>>>8,b[e][m]=p=p<<24^p>>>8;for(e=
0;5>e;e++)a[e]=a[e].slice(0),b[e]=b[e].slice(0)}};
function t(a,b,c){if(4!==b.length)throw new sjcl.exception.invalid("invalid aes block size");var d=a.b[c],e=b[0]^d[0],f=b[c?3:1]^d[1],g=b[2]^d[2];b=b[c?1:3]^d[3];var h,k,l,n=d.length/4-2,m,p=4,r=[0,0,0,0];h=a.s[c];a=h[0];var q=h[1],v=h[2],w=h[3],x=h[4];for(m=0;m<n;m++)h=a[e>>>24]^q[f>>16&255]^v[g>>8&255]^w[b&255]^d[p],k=a[f>>>24]^q[g>>16&255]^v[b>>8&255]^w[e&255]^d[p+1],l=a[g>>>24]^q[b>>16&255]^v[e>>8&255]^w[f&255]^d[p+2],b=a[b>>>24]^q[e>>16&255]^v[f>>8&255]^w[g&255]^d[p+3],p+=4,e=h,f=k,g=l;for(m=
0;4>m;m++)r[c?3&-m:m]=x[e>>>24]<<24^x[f>>16&255]<<16^x[g>>8&255]<<8^x[b&255]^d[p++],h=e,e=f,f=g,g=b,b=h;return r}
sjcl.bitArray={bitSlice:function(a,b,c){a=sjcl.bitArray.$(a.slice(b/32),32-(b&31)).slice(1);return void 0===c?a:sjcl.bitArray.clamp(a,c-b)},extract:function(a,b,c){var d=Math.floor(-b-c&31);return((b+c-1^b)&-32?a[b/32|0]<<32-d^a[b/32+1|0]>>>d:a[b/32|0]>>>d)&(1<<c)-1},concat:function(a,b){if(0===a.length||0===b.length)return a.concat(b);var c=a[a.length-1],d=sjcl.bitArray.getPartial(c);return 32===d?a.concat(b):sjcl.bitArray.$(b,d,c|0,a.slice(0,a.length-1))},bitLength:function(a){var b=a.length;return 0===
b?0:32*(b-1)+sjcl.bitArray.getPartial(a[b-1])},clamp:function(a,b){if(32*a.length<b)return a;a=a.slice(0,Math.ceil(b/32));var c=a.length;b=b&31;0<c&&b&&(a[c-1]=sjcl.bitArray.partial(b,a[c-1]&2147483648>>b-1,1));return a},partial:function(a,b,c){return 32===a?b:(c?b|0:b<<32-a)+0x10000000000*a},getPartial:function(a){return Math.round(a/0x10000000000)||32},equal:function(a,b){if(sjcl.bitArray.bitLength(a)!==sjcl.bitArray.bitLength(b))return!1;var c=0,d;for(d=0;d<a.length;d++)c|=a[d]^b[d];return 0===
c},$:function(a,b,c,d){var e;e=0;for(void 0===d&&(d=[]);32<=b;b-=32)d.push(c),c=0;if(0===b)return d.concat(a);for(e=0;e<a.length;e++)d.push(c|a[e]>>>b),c=a[e]<<32-b;e=a.length?a[a.length-1]:0;a=sjcl.bitArray.getPartial(e);d.push(sjcl.bitArray.partial(b+a&31,32<b+a?c:d.pop(),1));return d},i:function(a,b){return[a[0]^b[0],a[1]^b[1],a[2]^b[2],a[3]^b[3]]},byteswapM:function(a){var b,c;for(b=0;b<a.length;++b)c=a[b],a[b]=c>>>24|c>>>8&0xff00|(c&0xff00)<<8|c<<24;return a}};
sjcl.codec.utf8String={fromBits:function(a){var b="",c=sjcl.bitArray.bitLength(a),d,e;for(d=0;d<c/8;d++)0===(d&3)&&(e=a[d/4]),b+=String.fromCharCode(e>>>8>>>8>>>8),e<<=8;return decodeURIComponent(escape(b))},toBits:function(a){a=unescape(encodeURIComponent(a));var b=[],c,d=0;for(c=0;c<a.length;c++)d=d<<8|a.charCodeAt(c),3===(c&3)&&(b.push(d),d=0);c&3&&b.push(sjcl.bitArray.partial(8*(c&3),d));return b}};
sjcl.codec.hex={fromBits:function(a){var b="",c;for(c=0;c<a.length;c++)b+=((a[c]|0)+0xf00000000000).toString(16).substr(4);return b.substr(0,sjcl.bitArray.bitLength(a)/4)},toBits:function(a){var b,c=[],d;a=a.replace(/\s|0x/g,"");d=a.length;a=a+"00000000";for(b=0;b<a.length;b+=8)c.push(parseInt(a.substr(b,8),16)^0);return sjcl.bitArray.clamp(c,4*d)}};
sjcl.codec.base32={B:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",X:"0123456789ABCDEFGHIJKLMNOPQRSTUV",BITS:32,BASE:5,REMAINING:27,fromBits:function(a,b,c){var d=sjcl.codec.base32.BASE,e=sjcl.codec.base32.REMAINING,f="",g=0,h=sjcl.codec.base32.B,k=0,l=sjcl.bitArray.bitLength(a);c&&(h=sjcl.codec.base32.X);for(c=0;f.length*d<l;)f+=h.charAt((k^a[c]>>>g)>>>e),g<d?(k=a[c]<<d-g,g+=e,c++):(k<<=d,g-=d);for(;f.length&7&&!b;)f+="=";return f},toBits:function(a,b){a=a.replace(/\s|=/g,"").toUpperCase();var c=sjcl.codec.base32.BITS,
d=sjcl.codec.base32.BASE,e=sjcl.codec.base32.REMAINING,f=[],g,h=0,k=sjcl.codec.base32.B,l=0,n,m="base32";b&&(k=sjcl.codec.base32.X,m="base32hex");for(g=0;g<a.length;g++){n=k.indexOf(a.charAt(g));if(0>n){if(!b)try{return sjcl.codec.base32hex.toBits(a)}catch(p){}throw new sjcl.exception.invalid("this isn't "+m+"!");}h>e?(h-=e,f.push(l^n>>>h),l=n<<c-h):(h+=d,l^=n<<c-h)}h&56&&f.push(sjcl.bitArray.partial(h&56,l,1));return f}};
sjcl.codec.base32hex={fromBits:function(a,b){return sjcl.codec.base32.fromBits(a,b,1)},toBits:function(a){return sjcl.codec.base32.toBits(a,1)}};
sjcl.codec.base64={B:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",fromBits:function(a,b,c){var d="",e=0,f=sjcl.codec.base64.B,g=0,h=sjcl.bitArray.bitLength(a);c&&(f=f.substr(0,62)+"-_");for(c=0;6*d.length<h;)d+=f.charAt((g^a[c]>>>e)>>>26),6>e?(g=a[c]<<6-e,e+=26,c++):(g<<=6,e-=6);for(;d.length&3&&!b;)d+="=";return d},toBits:function(a,b){a=a.replace(/\s|=/g,"");var c=[],d,e=0,f=sjcl.codec.base64.B,g=0,h;b&&(f=f.substr(0,62)+"-_");for(d=0;d<a.length;d++){h=f.indexOf(a.charAt(d));
if(0>h)throw new sjcl.exception.invalid("this isn't base64!");26<e?(e-=26,c.push(g^h>>>e),g=h<<32-e):(e+=6,g^=h<<32-e)}e&56&&c.push(sjcl.bitArray.partial(e&56,g,1));return c}};sjcl.codec.base64url={fromBits:function(a){return sjcl.codec.base64.fromBits(a,1,1)},toBits:function(a){return sjcl.codec.base64.toBits(a,1)}};sjcl.hash.sha256=function(a){this.b[0]||this.O();a?(this.F=a.F.slice(0),this.A=a.A.slice(0),this.l=a.l):this.reset()};sjcl.hash.sha256.hash=function(a){return(new sjcl.hash.sha256).update(a).finalize()};
sjcl.hash.sha256.prototype={blockSize:512,reset:function(){this.F=this.Y.slice(0);this.A=[];this.l=0;return this},update:function(a){"string"===typeof a&&(a=sjcl.codec.utf8String.toBits(a));var b,c=this.A=sjcl.bitArray.concat(this.A,a);b=this.l;a=this.l=b+sjcl.bitArray.bitLength(a);if(0x1fffffffffffff<a)throw new sjcl.exception.invalid("Cannot hash more than 2^53 - 1 bits");if("undefined"!==typeof Uint32Array){var d=new Uint32Array(c),e=0;for(b=512+b-(512+b&0x1ff);b<=a;b+=512)u(this,d.subarray(16*e,
16*(e+1))),e+=1;c.splice(0,16*e)}else for(b=512+b-(512+b&0x1ff);b<=a;b+=512)u(this,c.splice(0,16));return this},finalize:function(){var a,b=this.A,c=this.F,b=sjcl.bitArray.concat(b,[sjcl.bitArray.partial(1,1)]);for(a=b.length+2;a&15;a++)b.push(0);b.push(Math.floor(this.l/0x100000000));for(b.push(this.l|0);b.length;)u(this,b.splice(0,16));this.reset();return c},Y:[],b:[],O:function(){function a(a){return 0x100000000*(a-Math.floor(a))|0}for(var b=0,c=2,d,e;64>b;c++){e=!0;for(d=2;d*d<=c;d++)if(0===c%d){e=
!1;break}e&&(8>b&&(this.Y[b]=a(Math.pow(c,.5))),this.b[b]=a(Math.pow(c,1/3)),b++)}}};
function u(a,b){var c,d,e,f=a.F,g=a.b,h=f[0],k=f[1],l=f[2],n=f[3],m=f[4],p=f[5],r=f[6],q=f[7];for(c=0;64>c;c++)16>c?d=b[c]:(d=b[c+1&15],e=b[c+14&15],d=b[c&15]=(d>>>7^d>>>18^d>>>3^d<<25^d<<14)+(e>>>17^e>>>19^e>>>10^e<<15^e<<13)+b[c&15]+b[c+9&15]|0),d=d+q+(m>>>6^m>>>11^m>>>25^m<<26^m<<21^m<<7)+(r^m&(p^r))+g[c],q=r,r=p,p=m,m=n+d|0,n=l,l=k,k=h,h=d+(k&l^n&(k^l))+(k>>>2^k>>>13^k>>>22^k<<30^k<<19^k<<10)|0;f[0]=f[0]+h|0;f[1]=f[1]+k|0;f[2]=f[2]+l|0;f[3]=f[3]+n|0;f[4]=f[4]+m|0;f[5]=f[5]+p|0;f[6]=f[6]+r|0;f[7]=
f[7]+q|0}
sjcl.mode.ccm={name:"ccm",G:[],listenProgress:function(a){sjcl.mode.ccm.G.push(a)},unListenProgress:function(a){a=sjcl.mode.ccm.G.indexOf(a);-1<a&&sjcl.mode.ccm.G.splice(a,1)},fa:function(a){var b=sjcl.mode.ccm.G.slice(),c;for(c=0;c<b.length;c+=1)b[c](a)},encrypt:function(a,b,c,d,e){var f,g=b.slice(0),h=sjcl.bitArray,k=h.bitLength(c)/8,l=h.bitLength(g)/8;e=e||64;d=d||[];if(7>k)throw new sjcl.exception.invalid("ccm: iv must be at least 7 bytes");for(f=2;4>f&&l>>>8*f;f++);f<15-k&&(f=15-k);c=h.clamp(c,
8*(15-f));b=sjcl.mode.ccm.V(a,b,c,d,e,f);g=sjcl.mode.ccm.C(a,g,c,b,e,f);return h.concat(g.data,g.tag)},decrypt:function(a,b,c,d,e){e=e||64;d=d||[];var f=sjcl.bitArray,g=f.bitLength(c)/8,h=f.bitLength(b),k=f.clamp(b,h-e),l=f.bitSlice(b,h-e),h=(h-e)/8;if(7>g)throw new sjcl.exception.invalid("ccm: iv must be at least 7 bytes");for(b=2;4>b&&h>>>8*b;b++);b<15-g&&(b=15-g);c=f.clamp(c,8*(15-b));k=sjcl.mode.ccm.C(a,k,c,l,e,b);a=sjcl.mode.ccm.V(a,k.data,c,d,e,b);if(!f.equal(k.tag,a))throw new sjcl.exception.corrupt("ccm: tag doesn't match");
return k.data},na:function(a,b,c,d,e,f){var g=[],h=sjcl.bitArray,k=h.i;d=[h.partial(8,(b.length?64:0)|d-2<<2|f-1)];d=h.concat(d,c);d[3]|=e;d=a.encrypt(d);if(b.length)for(c=h.bitLength(b)/8,65279>=c?g=[h.partial(16,c)]:0xffffffff>=c&&(g=h.concat([h.partial(16,65534)],[c])),g=h.concat(g,b),b=0;b<g.length;b+=4)d=a.encrypt(k(d,g.slice(b,b+4).concat([0,0,0])));return d},V:function(a,b,c,d,e,f){var g=sjcl.bitArray,h=g.i;e/=8;if(e%2||4>e||16<e)throw new sjcl.exception.invalid("ccm: invalid tag length");
if(0xffffffff<d.length||0xffffffff<b.length)throw new sjcl.exception.bug("ccm: can't deal with 4GiB or more data");c=sjcl.mode.ccm.na(a,d,c,e,g.bitLength(b)/8,f);for(d=0;d<b.length;d+=4)c=a.encrypt(h(c,b.slice(d,d+4).concat([0,0,0])));return g.clamp(c,8*e)},C:function(a,b,c,d,e,f){var g,h=sjcl.bitArray;g=h.i;var k=b.length,l=h.bitLength(b),n=k/50,m=n;c=h.concat([h.partial(8,f-1)],c).concat([0,0,0]).slice(0,4);d=h.bitSlice(g(d,a.encrypt(c)),0,e);if(!k)return{tag:d,data:[]};for(g=0;g<k;g+=4)g>n&&(sjcl.mode.ccm.fa(g/
k),n+=m),c[3]++,e=a.encrypt(c),b[g]^=e[0],b[g+1]^=e[1],b[g+2]^=e[2],b[g+3]^=e[3];return{tag:d,data:h.clamp(b,l)}}};
sjcl.mode.ocb2={name:"ocb2",encrypt:function(a,b,c,d,e,f){if(128!==sjcl.bitArray.bitLength(c))throw new sjcl.exception.invalid("ocb iv must be 128 bits");var g,h=sjcl.mode.ocb2.S,k=sjcl.bitArray,l=k.i,n=[0,0,0,0];c=h(a.encrypt(c));var m,p=[];d=d||[];e=e||64;for(g=0;g+4<b.length;g+=4)m=b.slice(g,g+4),n=l(n,m),p=p.concat(l(c,a.encrypt(l(c,m)))),c=h(c);m=b.slice(g);b=k.bitLength(m);g=a.encrypt(l(c,[0,0,0,b]));m=k.clamp(l(m.concat([0,0,0]),g),b);n=l(n,l(m.concat([0,0,0]),g));n=a.encrypt(l(n,l(c,h(c))));
d.length&&(n=l(n,f?d:sjcl.mode.ocb2.pmac(a,d)));return p.concat(k.concat(m,k.clamp(n,e)))},decrypt:function(a,b,c,d,e,f){if(128!==sjcl.bitArray.bitLength(c))throw new sjcl.exception.invalid("ocb iv must be 128 bits");e=e||64;var g=sjcl.mode.ocb2.S,h=sjcl.bitArray,k=h.i,l=[0,0,0,0],n=g(a.encrypt(c)),m,p,r=sjcl.bitArray.bitLength(b)-e,q=[];d=d||[];for(c=0;c+4<r/32;c+=4)m=k(n,a.decrypt(k(n,b.slice(c,c+4)))),l=k(l,m),q=q.concat(m),n=g(n);p=r-32*c;m=a.encrypt(k(n,[0,0,0,p]));m=k(m,h.clamp(b.slice(c),p).concat([0,
0,0]));l=k(l,m);l=a.encrypt(k(l,k(n,g(n))));d.length&&(l=k(l,f?d:sjcl.mode.ocb2.pmac(a,d)));if(!h.equal(h.clamp(l,e),h.bitSlice(b,r)))throw new sjcl.exception.corrupt("ocb: tag doesn't match");return q.concat(h.clamp(m,p))},pmac:function(a,b){var c,d=sjcl.mode.ocb2.S,e=sjcl.bitArray,f=e.i,g=[0,0,0,0],h=a.encrypt([0,0,0,0]),h=f(h,d(d(h)));for(c=0;c+4<b.length;c+=4)h=d(h),g=f(g,a.encrypt(f(h,b.slice(c,c+4))));c=b.slice(c);128>e.bitLength(c)&&(h=f(h,d(h)),c=e.concat(c,[-2147483648,0,0,0]));g=f(g,c);
return a.encrypt(f(d(f(h,d(h))),g))},S:function(a){return[a[0]<<1^a[1]>>>31,a[1]<<1^a[2]>>>31,a[2]<<1^a[3]>>>31,a[3]<<1^135*(a[0]>>>31)]}};
sjcl.mode.gcm={name:"gcm",encrypt:function(a,b,c,d,e){var f=b.slice(0);b=sjcl.bitArray;d=d||[];a=sjcl.mode.gcm.C(!0,a,f,d,c,e||128);return b.concat(a.data,a.tag)},decrypt:function(a,b,c,d,e){var f=b.slice(0),g=sjcl.bitArray,h=g.bitLength(f);e=e||128;d=d||[];e<=h?(b=g.bitSlice(f,h-e),f=g.bitSlice(f,0,h-e)):(b=f,f=[]);a=sjcl.mode.gcm.C(!1,a,f,d,c,e);if(!g.equal(a.tag,b))throw new sjcl.exception.corrupt("gcm: tag doesn't match");return a.data},ka:function(a,b){var c,d,e,f,g,h=sjcl.bitArray.i;e=[0,0,
0,0];f=b.slice(0);for(c=0;128>c;c++){(d=0!==(a[Math.floor(c/32)]&1<<31-c%32))&&(e=h(e,f));g=0!==(f[3]&1);for(d=3;0<d;d--)f[d]=f[d]>>>1|(f[d-1]&1)<<31;f[0]>>>=1;g&&(f[0]^=-0x1f000000)}return e},j:function(a,b,c){var d,e=c.length;b=b.slice(0);for(d=0;d<e;d+=4)b[0]^=0xffffffff&c[d],b[1]^=0xffffffff&c[d+1],b[2]^=0xffffffff&c[d+2],b[3]^=0xffffffff&c[d+3],b=sjcl.mode.gcm.ka(b,a);return b},C:function(a,b,c,d,e,f){var g,h,k,l,n,m,p,r,q=sjcl.bitArray;m=c.length;p=q.bitLength(c);r=q.bitLength(d);h=q.bitLength(e);
g=b.encrypt([0,0,0,0]);96===h?(e=e.slice(0),e=q.concat(e,[1])):(e=sjcl.mode.gcm.j(g,[0,0,0,0],e),e=sjcl.mode.gcm.j(g,e,[0,0,Math.floor(h/0x100000000),h&0xffffffff]));h=sjcl.mode.gcm.j(g,[0,0,0,0],d);n=e.slice(0);d=h.slice(0);a||(d=sjcl.mode.gcm.j(g,h,c));for(l=0;l<m;l+=4)n[3]++,k=b.encrypt(n),c[l]^=k[0],c[l+1]^=k[1],c[l+2]^=k[2],c[l+3]^=k[3];c=q.clamp(c,p);a&&(d=sjcl.mode.gcm.j(g,h,c));a=[Math.floor(r/0x100000000),r&0xffffffff,Math.floor(p/0x100000000),p&0xffffffff];d=sjcl.mode.gcm.j(g,d,a);k=b.encrypt(e);
d[0]^=k[0];d[1]^=k[1];d[2]^=k[2];d[3]^=k[3];return{tag:q.bitSlice(d,0,f),data:c}}};sjcl.misc.hmac=function(a,b){this.W=b=b||sjcl.hash.sha256;var c=[[],[]],d,e=b.prototype.blockSize/32;this.w=[new b,new b];a.length>e&&(a=b.hash(a));for(d=0;d<e;d++)c[0][d]=a[d]^909522486,c[1][d]=a[d]^1549556828;this.w[0].update(c[0]);this.w[1].update(c[1]);this.R=new b(this.w[0])};
sjcl.misc.hmac.prototype.encrypt=sjcl.misc.hmac.prototype.mac=function(a){if(this.aa)throw new sjcl.exception.invalid("encrypt on already updated hmac called!");this.update(a);return this.digest(a)};sjcl.misc.hmac.prototype.reset=function(){this.R=new this.W(this.w[0]);this.aa=!1};sjcl.misc.hmac.prototype.update=function(a){this.aa=!0;this.R.update(a)};sjcl.misc.hmac.prototype.digest=function(){var a=this.R.finalize(),a=(new this.W(this.w[1])).update(a).finalize();this.reset();return a};
sjcl.misc.pbkdf2=function(a,b,c,d,e){c=c||1E4;if(0>d||0>c)throw new sjcl.exception.invalid("invalid params to pbkdf2");"string"===typeof a&&(a=sjcl.codec.utf8String.toBits(a));"string"===typeof b&&(b=sjcl.codec.utf8String.toBits(b));e=e||sjcl.misc.hmac;a=new e(a);var f,g,h,k,l=[],n=sjcl.bitArray;for(k=1;32*l.length<(d||1);k++){e=f=a.encrypt(n.concat(b,[k]));for(g=1;g<c;g++)for(f=a.encrypt(f),h=0;h<f.length;h++)e[h]^=f[h];l=l.concat(e)}d&&(l=n.clamp(l,d));return l};
sjcl.prng=function(a){this.c=[new sjcl.hash.sha256];this.m=[0];this.P=0;this.H={};this.N=0;this.U={};this.Z=this.f=this.o=this.ha=0;this.b=[0,0,0,0,0,0,0,0];this.h=[0,0,0,0];this.L=void 0;this.M=a;this.D=!1;this.K={progress:{},seeded:{}};this.u=this.ga=0;this.I=1;this.J=2;this.ca=0x10000;this.T=[0,48,64,96,128,192,0x100,384,512,768,1024];this.da=3E4;this.ba=80};
sjcl.prng.prototype={randomWords:function(a,b){var c=[],d;d=this.isReady(b);var e;if(d===this.u)throw new sjcl.exception.notReady("generator isn't seeded");if(d&this.J){d=!(d&this.I);e=[];var f=0,g;this.Z=e[0]=(new Date).valueOf()+this.da;for(g=0;16>g;g++)e.push(0x100000000*Math.random()|0);for(g=0;g<this.c.length&&(e=e.concat(this.c[g].finalize()),f+=this.m[g],this.m[g]=0,d||!(this.P&1<<g));g++);this.P>=1<<this.c.length&&(this.c.push(new sjcl.hash.sha256),this.m.push(0));this.f-=f;f>this.o&&(this.o=
f);this.P++;this.b=sjcl.hash.sha256.hash(this.b.concat(e));this.L=new sjcl.cipher.aes(this.b);for(d=0;4>d&&(this.h[d]=this.h[d]+1|0,!this.h[d]);d++);}for(d=0;d<a;d+=4)0===(d+1)%this.ca&&y(this),e=z(this),c.push(e[0],e[1],e[2],e[3]);y(this);return c.slice(0,a)},setDefaultParanoia:function(a,b){if(0===a&&"Setting paranoia=0 will ruin your security; use it only for testing"!==b)throw new sjcl.exception.invalid("Setting paranoia=0 will ruin your security; use it only for testing");this.M=a},addEntropy:function(a,
b,c){c=c||"user";var d,e,f=(new Date).valueOf(),g=this.H[c],h=this.isReady(),k=0;d=this.U[c];void 0===d&&(d=this.U[c]=this.ha++);void 0===g&&(g=this.H[c]=0);this.H[c]=(this.H[c]+1)%this.c.length;switch(typeof a){case "number":void 0===b&&(b=1);this.c[g].update([d,this.N++,1,b,f,1,a|0]);break;case "object":c=Object.prototype.toString.call(a);if("[object Uint32Array]"===c){e=[];for(c=0;c<a.length;c++)e.push(a[c]);a=e}else for("[object Array]"!==c&&(k=1),c=0;c<a.length&&!k;c++)"number"!==typeof a[c]&&
(k=1);if(!k){if(void 0===b)for(c=b=0;c<a.length;c++)for(e=a[c];0<e;)b++,e=e>>>1;this.c[g].update([d,this.N++,2,b,f,a.length].concat(a))}break;case "string":void 0===b&&(b=a.length);this.c[g].update([d,this.N++,3,b,f,a.length]);this.c[g].update(a);break;default:k=1}if(k)throw new sjcl.exception.bug("random: addEntropy only supports number, array of numbers or string");this.m[g]+=b;this.f+=b;h===this.u&&(this.isReady()!==this.u&&A("seeded",Math.max(this.o,this.f)),A("progress",this.getProgress()))},
isReady:function(a){a=this.T[void 0!==a?a:this.M];return this.o&&this.o>=a?this.m[0]>this.ba&&(new Date).valueOf()>this.Z?this.J|this.I:this.I:this.f>=a?this.J|this.u:this.u},getProgress:function(a){a=this.T[a?a:this.M];return this.o>=a?1:this.f>a?1:this.f/a},startCollectors:function(){if(!this.D){this.a={loadTimeCollector:B(this,this.ma),mouseCollector:B(this,this.oa),keyboardCollector:B(this,this.la),accelerometerCollector:B(this,this.ea),touchCollector:B(this,this.qa)};if(window.addEventListener)window.addEventListener("load",
this.a.loadTimeCollector,!1),window.addEventListener("mousemove",this.a.mouseCollector,!1),window.addEventListener("keypress",this.a.keyboardCollector,!1),window.addEventListener("devicemotion",this.a.accelerometerCollector,!1),window.addEventListener("touchmove",this.a.touchCollector,!1);else if(document.attachEvent)document.attachEvent("onload",this.a.loadTimeCollector),document.attachEvent("onmousemove",this.a.mouseCollector),document.attachEvent("keypress",this.a.keyboardCollector);else throw new sjcl.exception.bug("can't attach event");
this.D=!0}},stopCollectors:function(){this.D&&(window.removeEventListener?(window.removeEventListener("load",this.a.loadTimeCollector,!1),window.removeEventListener("mousemove",this.a.mouseCollector,!1),window.removeEventListener("keypress",this.a.keyboardCollector,!1),window.removeEventListener("devicemotion",this.a.accelerometerCollector,!1),window.removeEventListener("touchmove",this.a.touchCollector,!1)):document.detachEvent&&(document.detachEvent("onload",this.a.loadTimeCollector),document.detachEvent("onmousemove",
this.a.mouseCollector),document.detachEvent("keypress",this.a.keyboardCollector)),this.D=!1)},addEventListener:function(a,b){this.K[a][this.ga++]=b},removeEventListener:function(a,b){var c,d,e=this.K[a],f=[];for(d in e)e.hasOwnProperty(d)&&e[d]===b&&f.push(d);for(c=0;c<f.length;c++)d=f[c],delete e[d]},la:function(){C(this,1)},oa:function(a){var b,c;try{b=a.x||a.clientX||a.offsetX||0,c=a.y||a.clientY||a.offsetY||0}catch(d){c=b=0}0!=b&&0!=c&&this.addEntropy([b,c],2,"mouse");C(this,0)},qa:function(a){a=
a.touches[0]||a.changedTouches[0];this.addEntropy([a.pageX||a.clientX,a.pageY||a.clientY],1,"touch");C(this,0)},ma:function(){C(this,2)},ea:function(a){a=a.accelerationIncludingGravity.x||a.accelerationIncludingGravity.y||a.accelerationIncludingGravity.z;if(window.orientation){var b=window.orientation;"number"===typeof b&&this.addEntropy(b,1,"accelerometer")}a&&this.addEntropy(a,2,"accelerometer");C(this,0)}};
function A(a,b){var c,d=sjcl.random.K[a],e=[];for(c in d)d.hasOwnProperty(c)&&e.push(d[c]);for(c=0;c<e.length;c++)e[c](b)}function C(a,b){"undefined"!==typeof window&&window.performance&&"function"===typeof window.performance.now?a.addEntropy(window.performance.now(),b,"loadtime"):a.addEntropy((new Date).valueOf(),b,"loadtime")}function y(a){a.b=z(a).concat(z(a));a.L=new sjcl.cipher.aes(a.b)}function z(a){for(var b=0;4>b&&(a.h[b]=a.h[b]+1|0,!a.h[b]);b++);return a.L.encrypt(a.h)}
function B(a,b){return function(){b.apply(a,arguments)}}sjcl.random=new sjcl.prng(6);
a:try{var D,E,F,G;if(G="undefined"!==typeof module&&module.exports){var H;try{H=require("crypto")}catch(a){H=null}G=E=H}if(G&&E.randomBytes)D=E.randomBytes(128),D=new Uint32Array((new Uint8Array(D)).buffer),sjcl.random.addEntropy(D,1024,"crypto['randomBytes']");else if("undefined"!==typeof window&&"undefined"!==typeof Uint32Array){F=new Uint32Array(32);if(window.crypto&&window.crypto.getRandomValues)window.crypto.getRandomValues(F);else if(window.msCrypto&&window.msCrypto.getRandomValues)window.msCrypto.getRandomValues(F);
else break a;sjcl.random.addEntropy(F,1024,"crypto['getRandomValues']")}}catch(a){"undefined"!==typeof window&&window.console&&(console.log("There was an error collecting entropy from the browser:"),console.log(a))}
sjcl.json={defaults:{v:1,iter:1E4,ks:128,ts:64,mode:"ccm",adata:"",cipher:"aes"},ja:function(a,b,c,d){c=c||{};d=d||{};var e=sjcl.json,f=e.g({iv:sjcl.random.randomWords(4,0)},e.defaults),g;e.g(f,c);c=f.adata;"string"===typeof f.salt&&(f.salt=sjcl.codec.base64.toBits(f.salt));"string"===typeof f.iv&&(f.iv=sjcl.codec.base64.toBits(f.iv));if(!sjcl.mode[f.mode]||!sjcl.cipher[f.cipher]||"string"===typeof a&&100>=f.iter||64!==f.ts&&96!==f.ts&&128!==f.ts||128!==f.ks&&192!==f.ks&&0x100!==f.ks||2>f.iv.length||
4<f.iv.length)throw new sjcl.exception.invalid("json encrypt: invalid parameters");"string"===typeof a?(g=sjcl.misc.cachedPbkdf2(a,f),a=g.key.slice(0,f.ks/32),f.salt=g.salt):sjcl.ecc&&a instanceof sjcl.ecc.elGamal.publicKey&&(g=a.kem(),f.kemtag=g.tag,a=g.key.slice(0,f.ks/32));"string"===typeof b&&(b=sjcl.codec.utf8String.toBits(b));"string"===typeof c&&(f.adata=c=sjcl.codec.utf8String.toBits(c));g=new sjcl.cipher[f.cipher](a);e.g(d,f);d.key=a;f.ct="ccm"===f.mode&&sjcl.arrayBuffer&&sjcl.arrayBuffer.ccm&&
b instanceof ArrayBuffer?sjcl.arrayBuffer.ccm.encrypt(g,b,f.iv,c,f.ts):sjcl.mode[f.mode].encrypt(g,b,f.iv,c,f.ts);return f},encrypt:function(a,b,c,d){var e=sjcl.json,f=e.ja.apply(e,arguments);return e.encode(f)},ia:function(a,b,c,d){c=c||{};d=d||{};var e=sjcl.json;b=e.g(e.g(e.g({},e.defaults),b),c,!0);var f,g;f=b.adata;"string"===typeof b.salt&&(b.salt=sjcl.codec.base64.toBits(b.salt));"string"===typeof b.iv&&(b.iv=sjcl.codec.base64.toBits(b.iv));if(!sjcl.mode[b.mode]||!sjcl.cipher[b.cipher]||"string"===
typeof a&&100>=b.iter||64!==b.ts&&96!==b.ts&&128!==b.ts||128!==b.ks&&192!==b.ks&&0x100!==b.ks||!b.iv||2>b.iv.length||4<b.iv.length)throw new sjcl.exception.invalid("json decrypt: invalid parameters");"string"===typeof a?(g=sjcl.misc.cachedPbkdf2(a,b),a=g.key.slice(0,b.ks/32),b.salt=g.salt):sjcl.ecc&&a instanceof sjcl.ecc.elGamal.secretKey&&(a=a.unkem(sjcl.codec.base64.toBits(b.kemtag)).slice(0,b.ks/32));"string"===typeof f&&(f=sjcl.codec.utf8String.toBits(f));g=new sjcl.cipher[b.cipher](a);f="ccm"===
b.mode&&sjcl.arrayBuffer&&sjcl.arrayBuffer.ccm&&b.ct instanceof ArrayBuffer?sjcl.arrayBuffer.ccm.decrypt(g,b.ct,b.iv,b.tag,f,b.ts):sjcl.mode[b.mode].decrypt(g,b.ct,b.iv,f,b.ts);e.g(d,b);d.key=a;return 1===c.raw?f:sjcl.codec.utf8String.fromBits(f)},decrypt:function(a,b,c,d){var e=sjcl.json;return e.ia(a,e.decode(b),c,d)},encode:function(a){var b,c="{",d="";for(b in a)if(a.hasOwnProperty(b)){if(!b.match(/^[a-z0-9]+$/i))throw new sjcl.exception.invalid("json encode: invalid property name");c+=d+'"'+
b+'":';d=",";switch(typeof a[b]){case "number":case "boolean":c+=a[b];break;case "string":c+='"'+escape(a[b])+'"';break;case "object":c+='"'+sjcl.codec.base64.fromBits(a[b],0)+'"';break;default:throw new sjcl.exception.bug("json encode: unsupported type");}}return c+"}"},decode:function(a){a=a.replace(/\s/g,"");if(!a.match(/^\{.*\}$/))throw new sjcl.exception.invalid("json decode: this isn't json!");a=a.replace(/^\{|\}$/g,"").split(/,/);var b={},c,d;for(c=0;c<a.length;c++){if(!(d=a[c].match(/^\s*(?:(["']?)([a-z][a-z0-9]*)\1)\s*:\s*(?:(-?\d+)|"([a-z0-9+\/%*_.@=\-]*)"|(true|false))$/i)))throw new sjcl.exception.invalid("json decode: this isn't json!");
null!=d[3]?b[d[2]]=parseInt(d[3],10):null!=d[4]?b[d[2]]=d[2].match(/^(ct|adata|salt|iv)$/)?sjcl.codec.base64.toBits(d[4]):unescape(d[4]):null!=d[5]&&(b[d[2]]="true"===d[5])}return b},g:function(a,b,c){void 0===a&&(a={});if(void 0===b)return a;for(var d in b)if(b.hasOwnProperty(d)){if(c&&void 0!==a[d]&&a[d]!==b[d])throw new sjcl.exception.invalid("required parameter overridden");a[d]=b[d]}return a},sa:function(a,b){var c={},d;for(d in a)a.hasOwnProperty(d)&&a[d]!==b[d]&&(c[d]=a[d]);return c},ra:function(a,
b){var c={},d;for(d=0;d<b.length;d++)void 0!==a[b[d]]&&(c[b[d]]=a[b[d]]);return c}};sjcl.encrypt=sjcl.json.encrypt;sjcl.decrypt=sjcl.json.decrypt;sjcl.misc.pa={};sjcl.misc.cachedPbkdf2=function(a,b){var c=sjcl.misc.pa,d;b=b||{};d=b.iter||1E3;c=c[a]=c[a]||{};d=c[d]=c[d]||{firstSalt:b.salt&&b.salt.length?b.salt.slice(0):sjcl.random.randomWords(2,0)};c=void 0===b.salt?d.firstSalt:b.salt;d[c]=d[c]||sjcl.misc.pbkdf2(a,c,b.iter);return{key:d[c].slice(0),salt:c.slice(0)}};
"undefined"!==typeof module&&module.exports&&(module.exports=sjcl);"function"===typeof define&&define([],function(){return sjcl});
</script>
</div>
<!--~~ Boot kernel prologue ~~-->
<div id="bootKernelPrefix" style="display:none;">
<script data-tiddler-title="$:/boot/bootprefix.js" data-tiddler-type="application/javascript" type="text/javascript">/*\
title: $:/boot/bootprefix.js
type: application/javascript
This file sets up the globals that need to be available when JavaScript modules are executed in the browser. The overall sequence is:
# BootPrefix.js
# <module definitions>
# Boot.js
See Boot.js for further details of the boot process.
\*/
var _bootprefix = (function($tw) {
"use strict";
$tw = $tw || Object.create(null);
$tw.boot = $tw.boot || Object.create(null);
// Detect platforms
if(!("browser" in $tw)) {
$tw.browser = typeof(window) !== "undefined" ? {} : null;
}
if(!("node" in $tw)) {
$tw.node = typeof(process) === "object" ? {} : null;
}
if(!("nodeWebKit" in $tw)) {
$tw.nodeWebKit = $tw.node && global.window && global.window.nwDispatcher ? {} : null;
}
// Set default boot tasks
$tw.boot.tasks = {
trapErrors: !!($tw.browser && !$tw.node),
readBrowserTiddlers: !!($tw.browser && !$tw.node)
};
/*
Information about each module is kept in an object with these members:
moduleType: type of module
definition: object, function or string defining the module; see below
exports: exports of the module, filled in after execution
The `definition` can be of several types:
* An object can be used to directly specify the exports of the module
* A function with the arguments `module,require,exports` that returns `exports`
* A string function body with the same arguments
Each moduleInfo object is stored in two hashmaps: $tw.modules.titles and $tw.modules.types. The first is indexed by title and the second is indexed by type and then title
*/
$tw.modules = {
titles: {}, // hashmap by module name of moduleInfo
types: {} // hashmap by module type and then name of moduleInfo
};
/*
Define a JavaScript tiddler module for later execution
moduleName: name of module being defined
moduleType: type of module
definition: module definition; see discussion above
*/
$tw.modules.define = function(moduleName,moduleType,definition) {
// Create the moduleInfo
var moduleInfo = {
moduleType: moduleType,
definition: definition,
exports: undefined
};
// If the definition is already an object we can use it as the exports
if(typeof moduleInfo.definition === "object") {
moduleInfo.exports = definition;
}
// Store the module in the titles hashmap
if(Object.prototype.hasOwnProperty.call($tw.modules.titles,moduleName)) {
console.log("Warning: Redefined module - " + moduleName);
}
$tw.modules.titles[moduleName] = moduleInfo;
// Store the module in the types hashmap
if(!Object.prototype.hasOwnProperty.call($tw.modules.types,moduleType)) {
$tw.modules.types[moduleType] = {};
}
if(Object.prototype.hasOwnProperty.call($tw.modules.types[moduleType],moduleName)) {
console.log("Warning: Redefined module - " + moduleName);
}
$tw.modules.types[moduleType][moduleName] = moduleInfo;
};
/*
External JavaScript can populate this array before calling boot.js in order to preload tiddlers
*/
$tw.preloadTiddlers = $tw.preloadTiddlers || [];
/*
Convenience function for pushing a tiddler onto the preloading array
*/
$tw.preloadTiddler = function(fields) {
$tw.preloadTiddlers.push(fields);
};
/*
Convenience function for pushing an array of tiddlers onto the preloading array
*/
$tw.preloadTiddlerArray = function(fieldsArray) {
$tw.preloadTiddlers.push.apply($tw.preloadTiddlers,fieldsArray);
};
return $tw;
});
if(typeof(exports) === "undefined") {
// Set up $tw global for the browser
window.$tw = _bootprefix(window.$tw);
} else {
// Export functionality as a module
exports.bootprefix = _bootprefix;
}
</script>
</div>
<!--~~ Boot kernel ~~-->
<div id="bootKernel" style="display:none;">
<script data-tiddler-title="$:/boot/boot.js" data-tiddler-type="application/javascript" type="text/javascript">/*\
title: $:/boot/boot.js
type: application/javascript
The main boot kernel for TiddlyWiki. This single file creates a barebones TW environment that is just sufficient to bootstrap the modules containing the main logic of the application.
On the server this file is executed directly to boot TiddlyWiki. In the browser, this file is packed into a single HTML file.
\*/
var _boot = (function($tw) {
/*jslint node: true, browser: true */
/*global modules: false, $tw: false */
"use strict";
// Include bootprefix if we're not given module data
if(!$tw) {
$tw = require("./bootprefix.js").bootprefix();
}
$tw.utils = $tw.utils || Object.create(null);
/////////////////////////// Standard node.js libraries
var fs, path, vm;
if($tw.node) {
fs = require("fs");
path = require("path");
vm = require("vm");
}
/////////////////////////// Utility functions
$tw.boot.log = function(str) {
$tw.boot.logMessages = $tw.boot.logMessages || [];
$tw.boot.logMessages.push(str);
}
/*
Check if an object has a property
*/
$tw.utils.hop = function(object,property) {
return object ? Object.prototype.hasOwnProperty.call(object,property) : false;
};
/*
Determine if a value is an array
*/
$tw.utils.isArray = function(value) {
return Object.prototype.toString.call(value) == "[object Array]";
};
/*
Check if an array is equal by value and by reference.
*/
$tw.utils.isArrayEqual = function(array1,array2) {
if(array1 === array2) {
return true;
}
array1 = array1 || [];
array2 = array2 || [];
if(array1.length !== array2.length) {
return false;
}
return array1.every(function(value,index) {
return value === array2[index];
});
};
/*
Push entries onto an array, removing them first if they already exist in the array
array: array to modify (assumed to be free of duplicates)
value: a single value to push or an array of values to push
*/
$tw.utils.pushTop = function(array,value) {
var t,p;
if($tw.utils.isArray(value)) {
// Remove any array entries that are duplicated in the new values
if(value.length !== 0) {
if(array.length !== 0) {
if(value.length < array.length) {
for(t=0; t<value.length; t++) {
p = array.indexOf(value[t]);
if(p !== -1) {
array.splice(p,1);
}
}
} else {
for(t=array.length-1; t>=0; t--) {
p = value.indexOf(array[t]);
if(p !== -1) {
array.splice(t,1);
}
}
}
}
// Push the values on top of the main array
array.push.apply(array,value);
}
} else {
p = array.indexOf(value);
if(p !== -1) {
array.splice(p,1);
}
array.push(value);
}
return array;
};
/*
Determine if a value is a date
*/
$tw.utils.isDate = function(value) {
return Object.prototype.toString.call(value) === "[object Date]";
};
/*
Iterate through all the own properties of an object or array. Callback is invoked with (element,title,object)
*/
$tw.utils.each = function(object,callback) {
var next,f,length;
if(object) {
if(Object.prototype.toString.call(object) == "[object Array]") {
for (f=0, length=object.length; f<length; f++) {
next = callback(object[f],f,object);
if(next === false) {
break;
}
}
} else {
var keys = Object.keys(object);
for (f=0, length=keys.length; f<length; f++) {
var key = keys[f];
next = callback(object[key],key,object);
if(next === false) {
break;
}
}
}
}
};
/*
Helper for making DOM elements
tag: tag name
options: see below
Options include:
namespace: defaults to http://www.w3.org/1999/xhtml
attributes: hashmap of attribute values
style: hashmap of styles
text: text to add as a child node
children: array of further child nodes
innerHTML: optional HTML for element
class: class name(s)
document: defaults to current document
eventListeners: array of event listeners (this option won't work until $tw.utils.addEventListeners() has been loaded)
*/
$tw.utils.domMaker = function(tag,options) {
var doc = options.document || document;
var element = doc.createElementNS(options.namespace || "http://www.w3.org/1999/xhtml",tag);
if(options["class"]) {
element.className = options["class"];
}
if(options.text) {
element.appendChild(doc.createTextNode(options.text));
}
$tw.utils.each(options.children,function(child) {
element.appendChild(child);
});
if(options.innerHTML) {
element.innerHTML = options.innerHTML;
}
$tw.utils.each(options.attributes,function(attribute,name) {
element.setAttribute(name,attribute);
});
$tw.utils.each(options.style,function(value,name) {
element.style[name] = value;
});
if(options.eventListeners) {
$tw.utils.addEventListeners(element,options.eventListeners);
}
return element;
};
/*
Display an error and exit
*/
$tw.utils.error = function(err) {
// Prepare the error message
var errHeading = ( $tw.language == undefined ? "Internal JavaScript Error" : $tw.language.getString("InternalJavaScriptError/Title") ),
promptMsg = ( $tw.language == undefined ? "Well, this is embarrassing. It is recommended that you restart TiddlyWiki by refreshing your browser" : $tw.language.getString("InternalJavaScriptError/Hint") );
// Log the error to the console
console.error($tw.node ? "\x1b[1;31m" + err + "\x1b[0m" : err);
if($tw.browser && !$tw.node) {
// Display an error message to the user
var dm = $tw.utils.domMaker,
heading = dm("h1",{text: errHeading}),
prompt = dm("div",{text: promptMsg, "class": "tc-error-prompt"}),
message = dm("div",{text: err, "class":"tc-error-message"}),
button = dm("div",{children: [dm("button",{text: ( $tw.language == undefined ? "close" : $tw.language.getString("Buttons/Close/Caption") )})], "class": "tc-error-prompt"}),
form = dm("form",{children: [heading,prompt,message,button], "class": "tc-error-form"});
document.body.insertBefore(form,document.body.firstChild);
form.addEventListener("submit",function(event) {
document.body.removeChild(form);
event.preventDefault();
return false;
},true);
return null;
} else if(!$tw.browser) {
// Exit if we're under node.js
process.exit(1);
}
};
/*
Use our custom error handler if we're in the browser
*/
if($tw.boot.tasks.trapErrors) {
window.onerror = function(errorMsg,url,lineNumber) {
$tw.utils.error(errorMsg);
return false;
};
}
/*
Extend an object with the properties from a list of source objects
*/
$tw.utils.extend = function(object /*, sourceObjectList */) {
$tw.utils.each(Array.prototype.slice.call(arguments,1),function(source) {
if(source) {
for (var p in source) {
object[p] = source[p];
}
}
});
return object;
};
/*
Fill in any null or undefined properties of an object with the properties from a list of source objects. Each property that is an object is called recursively
*/
$tw.utils.deepDefaults = function(object /*, sourceObjectList */) {
$tw.utils.each(Array.prototype.slice.call(arguments,1),function(source) {
if(source) {
for (var p in source) {
if(object[p] === null || object[p] === undefined) {
object[p] = source[p];
}
if(typeof object[p] === "object" && typeof source[p] === "object") {
$tw.utils.deepDefaults(object[p],source[p]);
}
}
}
});
return object;
};
/*
Convert "&amp;" to &, "&nbsp;" to nbsp, "&lt;" to <, "&gt;" to > and "&quot;" to "
*/
$tw.utils.htmlDecode = function(s) {
return s.toString().replace(/&lt;/mg,"<").replace(/&nbsp;/mg,"\xA0").replace(/&gt;/mg,">").replace(/&quot;/mg,"\"").replace(/&amp;/mg,"&");
};
/*
Get the browser location.hash. We don't use location.hash because of the way that Firefox auto-urldecodes it (see http://stackoverflow.com/questions/1703552/encoding-of-window-location-hash)
*/
$tw.utils.getLocationHash = function() {
var href = window.location.href;
var idx = href.indexOf('#');
if(idx === -1) {
return "#";
} else if(idx < href.length-1 && href[idx+1] === '#') {
// Special case: ignore location hash if it itself starts with a #
return "#";
} else {
return href.substring(idx);
}
};
/*
Pad a string to a given length with "0"s. Length defaults to 2
*/
$tw.utils.pad = function(value,length) {
length = length || 2;
var s = value.toString();
if(s.length < length) {
s = "000000000000000000000000000".substr(0,length - s.length) + s;
}
return s;
};
// Convert a date into UTC YYYYMMDDHHMMSSmmm format
$tw.utils.stringifyDate = function(value) {
return value.getUTCFullYear() +
$tw.utils.pad(value.getUTCMonth() + 1) +
$tw.utils.pad(value.getUTCDate()) +
$tw.utils.pad(value.getUTCHours()) +
$tw.utils.pad(value.getUTCMinutes()) +
$tw.utils.pad(value.getUTCSeconds()) +
$tw.utils.pad(value.getUTCMilliseconds(),3);
};
// Parse a date from a UTC YYYYMMDDHHMMSSmmm format string
$tw.utils.parseDate = function(value) {
if(typeof value === "string") {
var negative = 1;
if(value.charAt(0) === "-") {
negative = -1;
value = value.substr(1);
}
var year = parseInt(value.substr(0,4),10) * negative,
d = new Date(Date.UTC(year,
parseInt(value.substr(4,2),10)-1,
parseInt(value.substr(6,2),10),
parseInt(value.substr(8,2)||"00",10),
parseInt(value.substr(10,2)||"00",10),
parseInt(value.substr(12,2)||"00",10),
parseInt(value.substr(14,3)||"000",10)));
d.setUTCFullYear(year); // See https://stackoverflow.com/a/5870822
return d;
} else if($tw.utils.isDate(value)) {
return value;
} else {
return null;
}
};
// Stringify an array of tiddler titles into a list string
$tw.utils.stringifyList = function(value) {
if($tw.utils.isArray(value)) {
var result = new Array(value.length);
for(var t=0, l=value.length; t<l; t++) {
var entry = value[t] || "";
if(entry.indexOf(" ") !== -1) {
result[t] = "[[" + entry + "]]";
} else {
result[t] = entry;
}
}
return result.join(" ");
} else {
return value || "";
}
};
// Parse a string array from a bracketted list. For example "OneTiddler [[Another Tiddler]] LastOne"
$tw.utils.parseStringArray = function(value, allowDuplicate) {
if(typeof value === "string") {
var memberRegExp = /(?:^|[^\S\xA0])(?:\[\[(.*?)\]\])(?=[^\S\xA0]|$)|([\S\xA0]+)/mg,
results = [], names = {},
match;
do {
match = memberRegExp.exec(value);
if(match) {
var item = match[1] || match[2];
if(item !== undefined && (!$tw.utils.hop(names,item) || allowDuplicate)) {
results.push(item);
names[item] = true;
}
}
} while(match);
return results;
} else if($tw.utils.isArray(value)) {
return value;
} else {
return null;
}
};
// Parse a block of name:value fields. The `fields` object is used as the basis for the return value
$tw.utils.parseFields = function(text,fields) {
fields = fields || Object.create(null);
text.split(/\r?\n/mg).forEach(function(line) {
if(line.charAt(0) !== "#") {
var p = line.indexOf(":");
if(p !== -1) {
var field = line.substr(0, p).trim(),
value = line.substr(p+1).trim();
if(field) {
fields[field] = value;
}
}
}
});
return fields;
};
/*
Resolves a source filepath delimited with `/` relative to a specified absolute root filepath.
In relative paths, the special folder name `..` refers to immediate parent directory, and the
name `.` refers to the current directory
*/
$tw.utils.resolvePath = function(sourcepath,rootpath) {
// If the source path starts with ./ or ../ then it is relative to the root
if(sourcepath.substr(0,2) === "./" || sourcepath.substr(0,3) === "../" ) {
var src = sourcepath.split("/"),
root = rootpath.split("/");
// Remove the filename part of the root
root.splice(root.length-1,1);
// Process the source path bit by bit onto the end of the root path
while(src.length > 0) {
var c = src.shift();
if(c === "..") { // Slice off the last root entry for a double dot
if(root.length > 0) {
root.splice(root.length-1,1);
}
} else if(c !== ".") { // Ignore dots
root.push(c); // Copy other elements across
}
}
return root.join("/");
} else {
// If it isn't relative, just return the path
if(rootpath) {
var root = rootpath.split("/");
// Remove the filename part of the root
root.splice(root.length - 1, 1);
return root.join("/") + "/" + sourcepath;
} else {
return sourcepath;
}
}
};
/*
Parse a semantic version string into its constituent parts -- see https://semver.org
*/
$tw.utils.parseVersion = function(version) {
var match = /^v?((\d+)\.(\d+)\.(\d+))(?:-([\dA-Za-z\-]+(?:\.[\dA-Za-z\-]+)*))?(?:\+([\dA-Za-z\-]+(?:\.[\dA-Za-z\-]+)*))?$/.exec(version);
if(match) {
return {
version: match[1],
major: parseInt(match[2],10),
minor: parseInt(match[3],10),
patch: parseInt(match[4],10),
prerelease: match[5],
build: match[6]
};
} else {
return null;
}
};
/*
Returns +1 if the version string A is greater than the version string B, 0 if they are the same, and +1 if B is greater than A.
Missing or malformed version strings are parsed as 0.0.0
*/
$tw.utils.compareVersions = function(versionStringA,versionStringB) {
var defaultVersion = {
major: 0,
minor: 0,
patch: 0
},
versionA = $tw.utils.parseVersion(versionStringA) || defaultVersion,
versionB = $tw.utils.parseVersion(versionStringB) || defaultVersion,
diff = [
versionA.major - versionB.major,
versionA.minor - versionB.minor,
versionA.patch - versionB.patch
];
if((diff[0] > 0) || (diff[0] === 0 && diff[1] > 0) || (diff[0] === 0 & diff[1] === 0 & diff[2] > 0)) {
return +1;
} else if((diff[0] < 0) || (diff[0] === 0 && diff[1] < 0) || (diff[0] === 0 & diff[1] === 0 & diff[2] < 0)) {
return -1;
} else {
return 0;
}
};
/*
Returns true if the version string A is greater than the version string B. Returns true if the versions are the same
*/
$tw.utils.checkVersions = function(versionStringA,versionStringB) {
return $tw.utils.compareVersions(versionStringA,versionStringB) !== -1;
};
/*
Register file type information
options: {flags: flags,deserializerType: deserializerType}
flags:"image" for image types
deserializerType: defaults to type if not specified
*/
$tw.utils.registerFileType = function(type,encoding,extension,options) {
options = options || {};
if($tw.utils.isArray(extension)) {
$tw.utils.each(extension,function(extension) {
$tw.config.fileExtensionInfo[extension] = {type: type};
});
extension = extension[0];
} else {
$tw.config.fileExtensionInfo[extension] = {type: type};
}
$tw.config.contentTypeInfo[type] = {encoding: encoding, extension: extension, flags: options.flags || [], deserializerType: options.deserializerType || type};
};
/*
Given an extension, always access the $tw.config.fileExtensionInfo
using a lowercase extension only.
*/
$tw.utils.getFileExtensionInfo = function(ext) {
return ext ? $tw.config.fileExtensionInfo[ext.toLowerCase()] : null;
}
/*
Given an extension, get the correct encoding for that file.
defaults to utf8
*/
$tw.utils.getTypeEncoding = function(ext) {
var extensionInfo = $tw.utils.getFileExtensionInfo(ext),
type = extensionInfo ? extensionInfo.type : null,
typeInfo = type ? $tw.config.contentTypeInfo[type] : null;
return typeInfo ? typeInfo.encoding : "utf8";
};
/*
Run code globally with specified context variables in scope
*/
$tw.utils.evalGlobal = function(code,context,filename) {
var contextCopy = $tw.utils.extend(Object.create(null),context);
// Get the context variables as a pair of arrays of names and values
var contextNames = [], contextValues = [];
$tw.utils.each(contextCopy,function(value,name) {
contextNames.push(name);
contextValues.push(value);
});
// Add the code prologue and epilogue
code = "(function(" + contextNames.join(",") + ") {(function(){\n" + code + "\n;})();\nreturn exports;\n})\n";
// Compile the code into a function
var fn;
if($tw.browser) {
fn = window["eval"](code + "\n\n//# sourceURL=" + filename);
} else {
fn = vm.runInThisContext(code,filename);
}
// Call the function and return the exports
return fn.apply(null,contextValues);
};
/*
Run code in a sandbox with only the specified context variables in scope
*/
$tw.utils.evalSandboxed = $tw.browser ? $tw.utils.evalGlobal : function(code,context,filename) {
var sandbox = $tw.utils.extend(Object.create(null),context);
vm.runInNewContext(code,sandbox,filename);
return sandbox.exports;
};
/*
Creates a PasswordPrompt object
*/
$tw.utils.PasswordPrompt = function() {
// Store of pending password prompts
this.passwordPrompts = [];
// Create the wrapper
this.promptWrapper = $tw.utils.domMaker("div",{"class":"tc-password-wrapper"});
document.body.appendChild(this.promptWrapper);
// Hide the empty wrapper
this.setWrapperDisplay();
};
/*
Hides or shows the wrapper depending on whether there are any outstanding prompts
*/
$tw.utils.PasswordPrompt.prototype.setWrapperDisplay = function() {
if(this.passwordPrompts.length) {
this.promptWrapper.style.display = "block";
} else {
this.promptWrapper.style.display = "none";
}
};
/*
Adds a new password prompt. Options are:
submitText: text to use for submit button (defaults to "Login")
serviceName: text of the human readable service name
noUserName: set true to disable username prompt
canCancel: set true to enable a cancel button (callback called with null)
repeatPassword: set true to prompt for the password twice
callback: function to be called on submission with parameter of object {username:,password:}. Callback must return `true` to remove the password prompt
*/
$tw.utils.PasswordPrompt.prototype.createPrompt = function(options) {
// Create and add the prompt to the DOM
var self = this,
submitText = options.submitText || "Login",
dm = $tw.utils.domMaker,
children = [dm("h1",{text: options.serviceName})];
if(!options.noUserName) {
children.push(dm("input",{
attributes: {type: "text", name: "username", placeholder: $tw.language.getString("Encryption/Username")}
}));
}
children.push(dm("input",{
attributes: {
type: "password",
name: "password",
placeholder: ( $tw.language == undefined ? "Password" : $tw.language.getString("Encryption/Password") )
}
}));
if(options.repeatPassword) {
children.push(dm("input",{
attributes: {
type: "password",
name: "password2",
placeholder: $tw.language.getString("Encryption/RepeatPassword")
}
}));
}
if(options.canCancel) {
children.push(dm("button",{
text: $tw.language.getString("Encryption/Cancel"),
attributes: {
type: "button"
},
eventListeners: [{
name: "click",
handlerFunction: function(event) {
self.removePrompt(promptInfo);
options.callback(null);
}
}]
}));
}
children.push(dm("button",{
attributes: {type: "submit"},
text: submitText
}));
var form = dm("form",{
attributes: {autocomplete: "off"},
children: children
});
this.promptWrapper.appendChild(form);
window.setTimeout(function() {
form.elements[0].focus();
},10);
// Add a submit event handler
var self = this;
form.addEventListener("submit",function(event) {
// Collect the form data
var data = {},t;
$tw.utils.each(form.elements,function(element) {
if(element.name && element.value) {
data[element.name] = element.value;
}
});
// Check that the passwords match
if(options.repeatPassword && data.password !== data.password2) {
alert($tw.language.getString("Encryption/PasswordNoMatch"));
} else {
// Call the callback
if(options.callback(data)) {
// Remove the prompt if the callback returned true
self.removePrompt(promptInfo);
} else {
// Clear the password if the callback returned false
$tw.utils.each(form.elements,function(element) {
if(element.name === "password" || element.name === "password2") {
element.value = "";
}
});
}
}
event.preventDefault();
return false;
},true);
// Add the prompt to the list
var promptInfo = {
serviceName: options.serviceName,
callback: options.callback,
form: form,
owner: this
};
this.passwordPrompts.push(promptInfo);
// Make sure the wrapper is displayed
this.setWrapperDisplay();
return promptInfo;
};
$tw.utils.PasswordPrompt.prototype.removePrompt = function(promptInfo) {
var i = this.passwordPrompts.indexOf(promptInfo);
if(i !== -1) {
this.passwordPrompts.splice(i,1);
promptInfo.form.parentNode.removeChild(promptInfo.form);
this.setWrapperDisplay();
}
}
/*
Crypto helper object for encrypted content. It maintains the password text in a closure, and provides methods to change
the password, and to encrypt/decrypt a block of text
*/
$tw.utils.Crypto = function() {
var sjcl = $tw.node ? (global.sjcl || require("./sjcl.js")) : window.sjcl,
currentPassword = null,
callSjcl = function(method,inputText,password) {
password = password || currentPassword;
var outputText;
try {
if(password) {
outputText = sjcl[method](password,inputText);
}
} catch(ex) {
console.log("Crypto error:" + ex);
outputText = null;
}
return outputText;
};
this.setPassword = function(newPassword) {
currentPassword = newPassword;
this.updateCryptoStateTiddler();
};
this.updateCryptoStateTiddler = function() {
if($tw.wiki) {
var state = currentPassword ? "yes" : "no",
tiddler = $tw.wiki.getTiddler("$:/isEncrypted");
if(!tiddler || tiddler.fields.text !== state) {
$tw.wiki.addTiddler(new $tw.Tiddler({title: "$:/isEncrypted", text: state}));
}
}
};
this.hasPassword = function() {
return !!currentPassword;
}
this.encrypt = function(text,password) {
return callSjcl("encrypt",text,password);
};
this.decrypt = function(text,password) {
return callSjcl("decrypt",text,password);
};
};
/////////////////////////// Module mechanism
/*
Execute the module named 'moduleName'. The name can optionally be relative to the module named 'moduleRoot'
*/
$tw.modules.execute = function(moduleName,moduleRoot) {
var name = moduleName;
if(moduleName.charAt(0) === ".") {
name = $tw.utils.resolvePath(moduleName,moduleRoot)
}
if(!$tw.modules.titles[name]) {
if($tw.modules.titles[name + ".js"]) {
name = name + ".js";
} else if($tw.modules.titles[name + "/index.js"]) {
name = name + "/index.js";
} else if($tw.modules.titles[moduleName]) {
name = moduleName;
} else if($tw.modules.titles[moduleName + ".js"]) {
name = moduleName + ".js";
} else if($tw.modules.titles[moduleName + "/index.js"]) {
name = moduleName + "/index.js";
}
}
var moduleInfo = $tw.modules.titles[name],
tiddler = $tw.wiki.getTiddler(name),
_exports = {},
sandbox = {
module: {exports: _exports},
//moduleInfo: moduleInfo,
exports: _exports,
console: console,
setInterval: setInterval,
clearInterval: clearInterval,
setTimeout: setTimeout,
clearTimeout: clearTimeout,
Buffer: $tw.browser ? undefined : Buffer,
$tw: $tw,
require: function(title) {
return $tw.modules.execute(title, name);
}
};
Object.defineProperty(sandbox.module, "id", {
value: name,
writable: false,
enumerable: true,
configurable: false
});
if(!$tw.browser) {
$tw.utils.extend(sandbox,{
process: process
});
} else {
/*
CommonJS optional require.main property:
In a browser we offer a fake main module which points back to the boot function
(Theoretically, this may allow TW to eventually load itself as a module in the browser)
*/
Object.defineProperty(sandbox.require, "main", {
value: (typeof(require) !== "undefined") ? require.main : {TiddlyWiki: _boot},
writable: false,
enumerable: true,
configurable: false
});
}
if(!moduleInfo) {
// We could not find the module on this path
// Try to defer to browserify etc, or node
var deferredModule;
if($tw.browser) {
if(window.require) {
try {
return window.require(moduleName);
} catch(e) {}
}
throw "Cannot find module named '" + moduleName + "' required by module '" + moduleRoot + "', resolved to " + name;
} else {
// If we don't have a module with that name, let node.js try to find it
return require(moduleName);
}
}
// Execute the module if we haven't already done so
if(!moduleInfo.exports) {
try {
// Check the type of the definition
if(typeof moduleInfo.definition === "function") { // Function
moduleInfo.exports = _exports;
moduleInfo.definition(moduleInfo,moduleInfo.exports,sandbox.require);
} else if(typeof moduleInfo.definition === "string") { // String
moduleInfo.exports = _exports;
$tw.utils.evalSandboxed(moduleInfo.definition,sandbox,tiddler.fields.title);
if(sandbox.module.exports) {
moduleInfo.exports = sandbox.module.exports; //more codemirror workaround
}
} else { // Object
moduleInfo.exports = moduleInfo.definition;
}
} catch(e) {
if (e instanceof SyntaxError) {
var line = e.lineNumber || e.line; // Firefox || Safari
if (typeof(line) != "undefined" && line !== null) {
$tw.utils.error("Syntax error in boot module " + name + ":" + line + ":\n" + e.stack);
} else if(!$tw.browser) {
// this is the only way to get node.js to display the line at which the syntax error appeared,
// and $tw.utils.error would exit anyway
// cf. https://bugs.chromium.org/p/v8/issues/detail?id=2589
throw e;
} else {
// Opera: line number is included in e.message
// Chrome/IE: there's currently no way to get the line number
$tw.utils.error("Syntax error in boot module " + name + ": " + e.message + "\n" + e.stack);
}
} else {
// line number should be included in e.stack for runtime errors
$tw.utils.error("Error executing boot module " + name + ": " + JSON.stringify(e) + "\n\n" + e.stack);
}
}
}
// Return the exports of the module
return moduleInfo.exports;
};
/*
Apply a callback to each module of a particular type
moduleType: type of modules to enumerate
callback: function called as callback(title,moduleExports) for each module
*/
$tw.modules.forEachModuleOfType = function(moduleType,callback) {
var modules = $tw.modules.types[moduleType];
$tw.utils.each(modules,function(element,title) {
callback(title,$tw.modules.execute(title));
});
};
/*
Get all the modules of a particular type in a hashmap by their `name` field
*/
$tw.modules.getModulesByTypeAsHashmap = function(moduleType,nameField) {
nameField = nameField || "name";
var results = Object.create(null);
$tw.modules.forEachModuleOfType(moduleType,function(title,module) {
results[module[nameField]] = module;
});
return results;
};
/*
Apply the exports of the modules of a particular type to a target object
*/
$tw.modules.applyMethods = function(moduleType,targetObject) {
if(!targetObject) {
targetObject = Object.create(null);
}
$tw.modules.forEachModuleOfType(moduleType,function(title,module) {
$tw.utils.each(module,function(element,title,object) {
targetObject[title] = module[title];
});
});
return targetObject;
};
/*
Return an array of classes created from the modules of a specified type. Each module should export the properties to be added to those of the optional base class
*/
$tw.modules.createClassesFromModules = function(moduleType,subType,baseClass) {
var classes = Object.create(null);
$tw.modules.forEachModuleOfType(moduleType,function(title,moduleExports) {
if(!subType || moduleExports.types[subType]) {
var newClass = function() {};
if(baseClass) {
newClass.prototype = new baseClass();
newClass.prototype.constructor = baseClass;
}
$tw.utils.extend(newClass.prototype,moduleExports);
classes[moduleExports.name] = newClass;
}
});
return classes;
};
/////////////////////////// Barebones tiddler object
/*
Construct a tiddler object from a hashmap of tiddler fields. If multiple hasmaps are provided they are merged,
taking precedence to the right
*/
$tw.Tiddler = function(/* [fields,] fields */) {
this.fields = Object.create(null);
this.cache = Object.create(null);
for(var c=0; c<arguments.length; c++) {
var arg = arguments[c],
src = (arg instanceof $tw.Tiddler) ? arg.fields : arg;
for(var t in src) {
if(src[t] === undefined || src[t] === null) {
if(t in this.fields) {
delete this.fields[t]; // If we get a field that's undefined, delete any previous field value
}
} else {
// Parse the field with the associated field module (if any)
var fieldModule = $tw.Tiddler.fieldModules[t],
value;
if(fieldModule && fieldModule.parse) {
value = fieldModule.parse.call(this,src[t]);
} else {
value = src[t];
}
// Freeze the field to keep it immutable
if(value != null && typeof value === "object") {
Object.freeze(value);
}
this.fields[t] = value;
}
}
}
// Freeze the tiddler against modification
Object.freeze(this.fields);
Object.freeze(this);
};
$tw.Tiddler.prototype.hasField = function(field) {
return $tw.utils.hop(this.fields,field);
};
/*
Compare two tiddlers for equality
tiddler: the tiddler to compare
excludeFields: array of field names to exclude from the comparison
*/
$tw.Tiddler.prototype.isEqual = function(tiddler,excludeFields) {
if(!(tiddler instanceof $tw.Tiddler)) {
return false;
}
excludeFields = excludeFields || [];
var self = this,
differences = []; // Fields that have differences
// Add to the differences array
function addDifference(fieldName) {
// Check for this field being excluded
if(excludeFields.indexOf(fieldName) === -1) {
// Save the field as a difference
$tw.utils.pushTop(differences,fieldName);
}
}
// Returns true if the two values of this field are equal
function isFieldValueEqual(fieldName) {
var valueA = self.fields[fieldName],
valueB = tiddler.fields[fieldName];
// Check for identical string values
if(typeof(valueA) === "string" && typeof(valueB) === "string" && valueA === valueB) {
return true;
}
// Check for identical array values
if($tw.utils.isArray(valueA) && $tw.utils.isArray(valueB) && $tw.utils.isArrayEqual(valueA,valueB)) {
return true;
}
// Check for identical date values
if($tw.utils.isDate(valueA) && $tw.utils.isDate(valueB) && valueA.getTime() === valueB.getTime()) {
return true;
}
// Otherwise the fields must be different
return false;
}
// Compare our fields
for(var fieldName in this.fields) {
if(!isFieldValueEqual(fieldName)) {
addDifference(fieldName);
}
}
// There's a difference for every field in the other tiddler that we don't have
for(fieldName in tiddler.fields) {
if(!(fieldName in this.fields)) {
addDifference(fieldName);
}
}
// Return whether there were any differences
return differences.length === 0;
};
/*
Register and install the built in tiddler field modules
*/
$tw.modules.define("$:/boot/tiddlerfields/modified","tiddlerfield",{
name: "modified",
parse: $tw.utils.parseDate,
stringify: $tw.utils.stringifyDate
});
$tw.modules.define("$:/boot/tiddlerfields/created","tiddlerfield",{
name: "created",
parse: $tw.utils.parseDate,
stringify: $tw.utils.stringifyDate
});
$tw.modules.define("$:/boot/tiddlerfields/color","tiddlerfield",{
name: "color",
editTag: "input",
editType: "color"
});
$tw.modules.define("$:/boot/tiddlerfields/tags","tiddlerfield",{
name: "tags",
parse: $tw.utils.parseStringArray,
stringify: $tw.utils.stringifyList
});
$tw.modules.define("$:/boot/tiddlerfields/list","tiddlerfield",{
name: "list",
parse: $tw.utils.parseStringArray,
stringify: $tw.utils.stringifyList
});
/////////////////////////// Barebones wiki store
/*
Wiki constructor. State is stored in private members that only a small number of privileged accessor methods have direct access. Methods added via the prototype have to use these accessors and cannot access the state data directly.
options include:
enableIndexers - Array of indexer names to enable, or null to use all available indexers
*/
$tw.Wiki = function(options) {
options = options || {};
var self = this,
tiddlers = Object.create(null), // Hashmap of tiddlers
tiddlerTitles = null, // Array of tiddler titles
getTiddlerTitles = function() {
if(!tiddlerTitles) {
tiddlerTitles = Object.keys(tiddlers);
}
return tiddlerTitles;
},
pluginTiddlers = [], // Array of tiddlers containing registered plugins, ordered by priority
pluginInfo = Object.create(null), // Hashmap of parsed plugin content
shadowTiddlers = Object.create(null), // Hashmap by title of {source:, tiddler:}
shadowTiddlerTitles = null,
getShadowTiddlerTitles = function() {
if(!shadowTiddlerTitles) {
shadowTiddlerTitles = Object.keys(shadowTiddlers);
}
return shadowTiddlerTitles;
},
enableIndexers = options.enableIndexers || null,
indexers = [],
indexersByName = Object.create(null);
this.addIndexer = function(indexer,name) {
// Bail if this indexer is not enabled
if(enableIndexers && enableIndexers.indexOf(name) === -1) {
return;
}
indexers.push(indexer);
indexersByName[name] = indexer;
indexer.init();
};
this.getIndexer = function(name) {
return indexersByName[name] || null;
};
// Add a tiddler to the store
this.addTiddler = function(tiddler) {
if(!(tiddler instanceof $tw.Tiddler)) {
tiddler = new $tw.Tiddler(tiddler);
}
// Save the tiddler
if(tiddler) {
var title = tiddler.fields.title;
if(title) {
// Uncomment the following line for detailed logs of all tiddler writes
// console.log("Adding",title,tiddler)
// Record the old tiddler state
var updateDescriptor = {
old: {
tiddler: this.getTiddler(title),
shadow: this.isShadowTiddler(title),
exists: this.tiddlerExists(title)
}
}
// Save the new tiddler
tiddlers[title] = tiddler;
// Check we've got it's title
if(tiddlerTitles && tiddlerTitles.indexOf(title) === -1) {
tiddlerTitles.push(title);
}
// Record the new tiddler state
updateDescriptor["new"] = {
tiddler: tiddler,
shadow: this.isShadowTiddler(title),
exists: this.tiddlerExists(title)
}
// Update indexes
this.clearCache(title);
this.clearGlobalCache();
$tw.utils.each(indexers,function(indexer) {
indexer.update(updateDescriptor);
});
// Queue a change event
this.enqueueTiddlerEvent(title);
}
}
};
// Delete a tiddler
this.deleteTiddler = function(title) {
// Uncomment the following line for detailed logs of all tiddler deletions
// console.log("Deleting",title)
if($tw.utils.hop(tiddlers,title)) {
// Record the old tiddler state
var updateDescriptor = {
old: {
tiddler: this.getTiddler(title),
shadow: this.isShadowTiddler(title),
exists: this.tiddlerExists(title)
}
}
// Delete the tiddler
delete tiddlers[title];
// Delete it from the list of titles
if(tiddlerTitles) {
var index = tiddlerTitles.indexOf(title);
if(index !== -1) {
tiddlerTitles.splice(index,1);
}
}
// Record the new tiddler state
updateDescriptor["new"] = {
tiddler: this.getTiddler(title),
shadow: this.isShadowTiddler(title),
exists: this.tiddlerExists(title)
}
// Update indexes
this.clearCache(title);
this.clearGlobalCache();
$tw.utils.each(indexers,function(indexer) {
indexer.update(updateDescriptor);
});
// Queue a change event
this.enqueueTiddlerEvent(title,true);
}
};
// Get a tiddler from the store
this.getTiddler = function(title) {
if(title) {
var t = tiddlers[title];
if(t instanceof $tw.Tiddler) {
return t;
} else if(title !== undefined && shadowTiddlers[title]) {
return shadowTiddlers[title].tiddler;
}
return undefined;
}
};
// Get an array of all tiddler titles
this.allTitles = function() {
return getTiddlerTitles().slice(0);
};
// Iterate through all tiddler titles
this.each = function(callback) {
var titles = getTiddlerTitles(),
index,titlesLength,title;
for(index = 0, titlesLength = titles.length; index < titlesLength; index++) {
title = titles[index];
callback(tiddlers[title],title);
}
};
// Get an array of all shadow tiddler titles
this.allShadowTitles = function() {
return getShadowTiddlerTitles().slice(0);
};
// Iterate through all shadow tiddler titles
this.eachShadow = function(callback) {
var titles = getShadowTiddlerTitles(),
index,titlesLength,title;
for(index = 0, titlesLength = titles.length; index < titlesLength; index++) {
title = titles[index];
var shadowInfo = shadowTiddlers[title];
callback(shadowInfo.tiddler,title);
}
};
// Iterate through all tiddlers and then the shadows
this.eachTiddlerPlusShadows = function(callback) {
var index,titlesLength,title,
titles = getTiddlerTitles();
for(index = 0, titlesLength = titles.length; index < titlesLength; index++) {
title = titles[index];
callback(tiddlers[title],title);
}
titles = getShadowTiddlerTitles();
for(index = 0, titlesLength = titles.length; index < titlesLength; index++) {
title = titles[index];
if(!tiddlers[title]) {
var shadowInfo = shadowTiddlers[title];
callback(shadowInfo.tiddler,title);
}
}
};
// Iterate through all the shadows and then the tiddlers
this.eachShadowPlusTiddlers = function(callback) {
var index,titlesLength,title,
titles = getShadowTiddlerTitles();
for(index = 0, titlesLength = titles.length; index < titlesLength; index++) {
title = titles[index];
if(tiddlers[title]) {
callback(tiddlers[title],title);
} else {
var shadowInfo = shadowTiddlers[title];
callback(shadowInfo.tiddler,title);
}
}
titles = getTiddlerTitles();
for(index = 0, titlesLength = titles.length; index < titlesLength; index++) {
title = titles[index];
if(!shadowTiddlers[title]) {
callback(tiddlers[title],title);
}
}
};
// Test for the existence of a tiddler (excludes shadow tiddlers)
this.tiddlerExists = function(title) {
return !!$tw.utils.hop(tiddlers,title);
};
// Determines if a tiddler is a shadow tiddler, regardless of whether it has been overridden by a real tiddler
this.isShadowTiddler = function(title) {
return $tw.utils.hop(shadowTiddlers,title);
};
this.getShadowSource = function(title) {
if($tw.utils.hop(shadowTiddlers,title)) {
return shadowTiddlers[title].source;
}
return null;
};
// Get an array of all the currently recognised plugin types
this.getPluginTypes = function() {
var types = [];
$tw.utils.each(pluginTiddlers,function(pluginTiddler) {
var pluginType = pluginTiddler.fields["plugin-type"];
if(pluginType && types.indexOf(pluginType) === -1) {
types.push(pluginType);
}
});
return types;
};
// Read plugin info for all plugins, or just an array of titles. Returns the number of plugins updated or deleted
this.readPluginInfo = function(titles) {
var results = {
modifiedPlugins: [],
deletedPlugins: []
};
$tw.utils.each(titles || getTiddlerTitles(),function(title) {
var tiddler = tiddlers[title];
if(tiddler) {
if(tiddler.fields.type === "application/json" && tiddler.hasField("plugin-type") && tiddler.fields.text) {
pluginInfo[tiddler.fields.title] = JSON.parse(tiddler.fields.text);
results.modifiedPlugins.push(tiddler.fields.title);
}
} else {
if(pluginInfo[title]) {
delete pluginInfo[title];
results.deletedPlugins.push(title);
}
}
});
return results;
};
// Get plugin info for a plugin
this.getPluginInfo = function(title) {
return pluginInfo[title];
};
// Register the plugin tiddlers of a particular type, or null/undefined for any type, optionally restricting registration to an array of tiddler titles. Return the array of titles affected
this.registerPluginTiddlers = function(pluginType,titles) {
var self = this,
registeredTitles = [],
checkTiddler = function(tiddler,title) {
if(tiddler && tiddler.fields.type === "application/json" && tiddler.fields["plugin-type"] && (!pluginType || tiddler.fields["plugin-type"] === pluginType)) {
var disablingTiddler = self.getTiddler("$:/config/Plugins/Disabled/" + title);
if(title === "$:/core" || !disablingTiddler || (disablingTiddler.fields.text || "").trim() !== "yes") {
self.unregisterPluginTiddlers(null,[title]); // Unregister the plugin if it's already registered
pluginTiddlers.push(tiddler);
registeredTitles.push(tiddler.fields.title);
}
}
};
if(titles) {
$tw.utils.each(titles,function(title) {
checkTiddler(self.getTiddler(title),title);
});
} else {
this.each(function(tiddler,title) {
checkTiddler(tiddler,title);
});
}
return registeredTitles;
};
// Unregister the plugin tiddlers of a particular type, or null/undefined for any type, optionally restricting unregistering to an array of tiddler titles. Returns an array of the titles affected
this.unregisterPluginTiddlers = function(pluginType,titles) {
var self = this,
unregisteredTitles = [];
// Remove any previous registered plugins of this type
for(var t=pluginTiddlers.length-1; t>=0; t--) {
var tiddler = pluginTiddlers[t];
if(tiddler.fields["plugin-type"] && (!pluginType || tiddler.fields["plugin-type"] === pluginType) && (!titles || titles.indexOf(tiddler.fields.title) !== -1)) {
unregisteredTitles.push(tiddler.fields.title);
pluginTiddlers.splice(t,1);
}
}
return unregisteredTitles;
};
// Unpack the currently registered plugins, creating shadow tiddlers for their constituent tiddlers
this.unpackPluginTiddlers = function() {
var self = this;
// Sort the plugin titles by the `plugin-priority` field
pluginTiddlers.sort(function(a,b) {
if("plugin-priority" in a.fields && "plugin-priority" in b.fields) {
return a.fields["plugin-priority"] - b.fields["plugin-priority"];
} else if("plugin-priority" in a.fields) {
return -1;
} else if("plugin-priority" in b.fields) {
return +1;
} else if(a.fields.title < b.fields.title) {
return -1;
} else if(a.fields.title === b.fields.title) {
return 0;
} else {
return +1;
}
});
// Now go through the plugins in ascending order and assign the shadows
shadowTiddlers = Object.create(null);
$tw.utils.each(pluginTiddlers,function(tiddler) {
// Extract the constituent tiddlers
if($tw.utils.hop(pluginInfo,tiddler.fields.title)) {
$tw.utils.each(pluginInfo[tiddler.fields.title].tiddlers,function(constituentTiddler,constituentTitle) {
// Save the tiddler object
if(constituentTitle) {
shadowTiddlers[constituentTitle] = {
source: tiddler.fields.title,
tiddler: new $tw.Tiddler(constituentTiddler,{title: constituentTitle})
};
}
});
}
});
shadowTiddlerTitles = null;
this.clearCache(null);
this.clearGlobalCache();
$tw.utils.each(indexers,function(indexer) {
indexer.rebuild();
});
};
if(this.addIndexersToWiki) {
this.addIndexersToWiki();
}
};
// Dummy methods that will be filled in after boot
$tw.Wiki.prototype.clearCache =
$tw.Wiki.prototype.clearGlobalCache =
$tw.Wiki.prototype.enqueueTiddlerEvent = function() {};
// Add an array of tiddlers
$tw.Wiki.prototype.addTiddlers = function(tiddlers) {
for(var t=0; t<tiddlers.length; t++) {
this.addTiddler(tiddlers[t]);
}
};
/*
Define all modules stored in ordinary tiddlers
*/
$tw.Wiki.prototype.defineTiddlerModules = function() {
this.each(function(tiddler,title) {
if(tiddler.hasField("module-type")) {
switch (tiddler.fields.type) {
case "application/javascript":
// We only define modules that haven't already been defined, because in the browser modules in system tiddlers are defined in inline script
if(!$tw.utils.hop($tw.modules.titles,tiddler.fields.title)) {
$tw.modules.define(tiddler.fields.title,tiddler.fields["module-type"],tiddler.fields.text);
}
break;
case "application/json":
$tw.modules.define(tiddler.fields.title,tiddler.fields["module-type"],JSON.parse(tiddler.fields.text));
break;
case "application/x-tiddler-dictionary":
$tw.modules.define(tiddler.fields.title,tiddler.fields["module-type"],$tw.utils.parseFields(tiddler.fields.text));
break;
}
}
});
};
/*
Register all the module tiddlers that have a module type
*/
$tw.Wiki.prototype.defineShadowModules = function() {
var self = this;
this.eachShadow(function(tiddler,title) {
// Don't define the module if it is overidden by an ordinary tiddler
if(!self.tiddlerExists(title) && tiddler.hasField("module-type")) {
// Define the module
$tw.modules.define(tiddler.fields.title,tiddler.fields["module-type"],tiddler.fields.text);
}
});
};
/*
Enable safe mode by deleting any tiddlers that override a shadow tiddler
*/
$tw.Wiki.prototype.processSafeMode = function() {
var self = this,
overrides = [];
// Find the overriding tiddlers
this.each(function(tiddler,title) {
if(self.isShadowTiddler(title)) {
console.log(title);
overrides.push(title);
}
});
// Assemble a report tiddler
var titleReportTiddler = "TiddlyWiki Safe Mode",
report = [];
report.push("TiddlyWiki has been started in [[safe mode|https://tiddlywiki.com/static/SafeMode.html]]. All plugins are temporarily disabled. Most customisations have been disabled by renaming the following tiddlers:")
// Delete the overrides
overrides.forEach(function(title) {
var tiddler = self.getTiddler(title),
newTitle = "SAFE: " + title;
self.deleteTiddler(title);
self.addTiddler(new $tw.Tiddler(tiddler, {title: newTitle}));
report.push("* [[" + title + "|" + newTitle + "]]");
});
report.push()
this.addTiddler(new $tw.Tiddler({title: titleReportTiddler, text: report.join("\n\n")}));
// Set $:/DefaultTiddlers to point to our report
this.addTiddler(new $tw.Tiddler({title: "$:/DefaultTiddlers", text: "[[" + titleReportTiddler + "]]"}));
};
/*
Extracts tiddlers from a typed block of text, specifying default field values
*/
$tw.Wiki.prototype.deserializeTiddlers = function(type,text,srcFields,options) {
srcFields = srcFields || Object.create(null);
options = options || {};
var deserializer = $tw.Wiki.tiddlerDeserializerModules[options.deserializer],
fields = Object.create(null);
if(!deserializer) {
deserializer = $tw.Wiki.tiddlerDeserializerModules[type];
}
if(!deserializer && $tw.utils.getFileExtensionInfo(type)) {
// If we didn't find the serializer, try converting it from an extension to a content type
type = $tw.utils.getFileExtensionInfo(type).type;
deserializer = $tw.Wiki.tiddlerDeserializerModules[type];
}
if(!deserializer && $tw.config.contentTypeInfo[type]) {
// see if this type has a different deserializer registered with it
type = $tw.config.contentTypeInfo[type].deserializerType;
deserializer = $tw.Wiki.tiddlerDeserializerModules[type];
}
if(!deserializer) {
// If we still don't have a deserializer, treat it as plain text
deserializer = $tw.Wiki.tiddlerDeserializerModules["text/plain"];
}
for(var f in srcFields) {
fields[f] = srcFields[f];
}
if(deserializer) {
return deserializer.call(this,text,fields,type);
} else {
// Return a raw tiddler for unknown types
fields.text = text;
return [fields];
}
};
/*
Register the built in tiddler deserializer modules
*/
var deserializeHeaderComment = function(text,fields) {
var headerCommentRegExp = new RegExp($tw.config.jsModuleHeaderRegExpString,"mg"),
match = headerCommentRegExp.exec(text);
fields.text = text;
if(match) {
fields = $tw.utils.parseFields(match[1].split(/\r?\n\r?\n/mg)[0],fields);
}
return [fields];
};
$tw.modules.define("$:/boot/tiddlerdeserializer/js","tiddlerdeserializer",{
"application/javascript": deserializeHeaderComment
});
$tw.modules.define("$:/boot/tiddlerdeserializer/css","tiddlerdeserializer",{
"text/css": deserializeHeaderComment
});
$tw.modules.define("$:/boot/tiddlerdeserializer/tid","tiddlerdeserializer",{
"application/x-tiddler": function(text,fields) {
var split = text.split(/\r?\n\r?\n/mg);
if(split.length >= 1) {
fields = $tw.utils.parseFields(split[0],fields);
}
if(split.length >= 2) {
fields.text = split.slice(1).join("\n\n");
}
return [fields];
}
});
$tw.modules.define("$:/boot/tiddlerdeserializer/tids","tiddlerdeserializer",{
"application/x-tiddlers": function(text,fields) {
var titles = [],
tiddlers = [],
match = /\r?\n\r?\n/mg.exec(text);
if(match) {
fields = $tw.utils.parseFields(text.substr(0,match.index),fields);
var lines = text.substr(match.index + match[0].length).split(/\r?\n/mg);
for(var t=0; t<lines.length; t++) {
var line = lines[t];
if(line.charAt(0) !== "#") {
var colonPos= line.indexOf(":");
if(colonPos !== -1) {
var tiddler = $tw.utils.extend(Object.create(null),fields);
tiddler.title = (tiddler.title || "") + line.substr(0,colonPos).trim();
if(titles.indexOf(tiddler.title) !== -1) {
console.log("Warning: .multids file contains multiple definitions for " + tiddler.title);
}
titles.push(tiddler.title);
tiddler.text = line.substr(colonPos + 2).trim();
tiddlers.push(tiddler);
}
}
}
}
return tiddlers;
}
});
$tw.modules.define("$:/boot/tiddlerdeserializer/txt","tiddlerdeserializer",{
"text/plain": function(text,fields,type) {
fields.text = text;
fields.type = type || "text/plain";
return [fields];
}
});
$tw.modules.define("$:/boot/tiddlerdeserializer/html","tiddlerdeserializer",{
"text/html": function(text,fields) {
fields.text = text;
fields.type = "text/html";
return [fields];
}
});
$tw.modules.define("$:/boot/tiddlerdeserializer/json","tiddlerdeserializer",{
"application/json": function(text,fields) {
var isTiddlerValid = function(data) {
// Not valid if it's not an object with a title property
if(typeof(data) !== "object" || !$tw.utils.hop(data,"title")) {
return false;
}
for(var f in data) {
if($tw.utils.hop(data,f)) {
// Check field name doesn't contain whitespace or control characters
if(typeof(data[f]) !== "string" || /[\x00-\x1F\s]/.test(f)) {
return false;
}
}
}
return true;
},
isTiddlerArrayValid = function(data) {
for(var t=0; t<data.length; t++) {
if(!isTiddlerValid(data[t])) {
return false;
}
}
return true;
},
data = JSON.parse(text);
if($tw.utils.isArray(data) && isTiddlerArrayValid(data)) {
return data;
} else if(isTiddlerValid(data)) {
return [data];
} else {
// Plain JSON file
fields.text = text;
fields.type = "application/json";
return [fields];
}
}
});
/////////////////////////// Browser definitions
if($tw.browser && !$tw.node) {
/*
Decrypt any tiddlers stored within the element with the ID "encryptedArea". The function is asynchronous to allow the user to be prompted for a password
callback: function to be called the decryption is complete
*/
$tw.boot.decryptEncryptedTiddlers = function(callback) {
var encryptedArea = document.getElementById("encryptedStoreArea");
if(encryptedArea) {
var encryptedText = encryptedArea.innerHTML,
prompt = "Enter a password to decrypt this TiddlyWiki";
// Prompt for the password
if($tw.utils.hop($tw.boot,"encryptionPrompts")) {
prompt = $tw.boot.encryptionPrompts.decrypt;
}
$tw.passwordPrompt.createPrompt({
serviceName: prompt,
noUserName: true,
submitText: "Decrypt",
callback: function(data) {
// Attempt to decrypt the tiddlers
$tw.crypto.setPassword(data.password);
var decryptedText = $tw.crypto.decrypt(encryptedText);
if(decryptedText) {
var json = JSON.parse(decryptedText);
for(var title in json) {
$tw.preloadTiddler(json[title]);
}
// Call the callback
callback();
// Exit and remove the password prompt
return true;
} else {
// We didn't decrypt everything, so continue to prompt for password
return false;
}
}
});
} else {
// Just invoke the callback straight away if there weren't any encrypted tiddlers
callback();
}
};
/*
Register a deserializer that can extract tiddlers from the DOM
*/
$tw.modules.define("$:/boot/tiddlerdeserializer/dom","tiddlerdeserializer",{
"(DOM)": function(node) {
var extractTextTiddlers = function(node) {
var e = node.firstChild;
while(e && e.nodeName.toLowerCase() !== "pre") {
e = e.nextSibling;
}
var title = node.getAttribute ? node.getAttribute("title") : null;
if(e && title) {
var attrs = node.attributes,
tiddler = {
text: $tw.utils.htmlDecode(e.innerHTML)
};
for(var i=attrs.length-1; i >= 0; i--) {
tiddler[attrs[i].name] = attrs[i].value;
}
return [tiddler];
} else {
return null;
}
},
extractModuleTiddlers = function(node) {
if(node.hasAttribute && node.hasAttribute("data-tiddler-title")) {
var text = node.innerHTML,
s = text.indexOf("{"),
e = text.lastIndexOf("}");
if(node.hasAttribute("data-module") && s !== -1 && e !== -1) {
text = text.substring(s+1,e);
}
var fields = {text: text},
attributes = node.attributes;
for(var a=0; a<attributes.length; a++) {
if(attributes[a].nodeName.substr(0,13) === "data-tiddler-") {
fields[attributes[a].nodeName.substr(13)] = attributes[a].value;
}
}
return [fields];
} else {
return null;
}
},
t,result = [];
if(node) {
for(t = 0; t < node.childNodes.length; t++) {
var childNode = node.childNodes[t],
tiddlers = extractTextTiddlers(childNode);
tiddlers = tiddlers || extractModuleTiddlers(childNode);
if(tiddlers) {
result.push.apply(result,tiddlers);
}
}
}
return result;
}
});
$tw.loadTiddlersBrowser = function() {
// In the browser, we load tiddlers from certain elements
var containerIds = [
"libraryModules",
"modules",
"bootKernelPrefix",
"bootKernel",
"styleArea",
"storeArea",
"systemArea"
];
for(var t=0; t<containerIds.length; t++) {
$tw.wiki.addTiddlers($tw.wiki.deserializeTiddlers("(DOM)",document.getElementById(containerIds[t])));
}
};
} else {
/////////////////////////// Server definitions
/*
Get any encrypted tiddlers
*/
$tw.boot.decryptEncryptedTiddlers = function(callback) {
// Storing encrypted tiddlers on the server isn't supported yet
callback();
};
} // End of if($tw.browser && !$tw.node)
/////////////////////////// Node definitions
if($tw.node) {
/*
Load the tiddlers contained in a particular file (and optionally extract fields from the accompanying .meta file) returned as {filepath:,type:,tiddlers:[],hasMetaFile:}
*/
$tw.loadTiddlersFromFile = function(filepath,fields) {
var ext = path.extname(filepath),
extensionInfo = $tw.utils.getFileExtensionInfo(ext),
type = extensionInfo ? extensionInfo.type : null,
typeInfo = type ? $tw.config.contentTypeInfo[type] : null,
data = fs.readFileSync(filepath,typeInfo ? typeInfo.encoding : "utf8"),
tiddlers = $tw.wiki.deserializeTiddlers(ext,data,fields),
metadata = $tw.loadMetadataForFile(filepath);
if(metadata) {
if(type === "application/json") {
tiddlers = [{text: data, type: "application/json"}];
}
tiddlers = [$tw.utils.extend({},tiddlers[0],metadata)];
}
return {filepath: filepath, type: type, tiddlers: tiddlers, hasMetaFile: !!metadata};
};
/*
Load the metadata fields in the .meta file corresponding to a particular file
*/
$tw.loadMetadataForFile = function(filepath) {
var metafilename = filepath + ".meta";
if(fs.existsSync(metafilename)) {
return $tw.utils.parseFields(fs.readFileSync(metafilename,"utf8") || "");
} else {
return null;
}
};
/*
A default set of files for TiddlyWiki to ignore during load.
This matches what NPM ignores, and adds "*.meta" to ignore tiddler
metadata files.
*/
$tw.boot.excludeRegExp = /^\.DS_Store$|^.*\.meta$|^\..*\.swp$|^\._.*$|^\.git$|^\.hg$|^\.lock-wscript$|^\.svn$|^\.wafpickle-.*$|^CVS$|^npm-debug\.log$/;
/*
Load all the tiddlers recursively from a directory, including honouring `tiddlywiki.files` files for drawing in external files. Returns an array of {filepath:,type:,tiddlers: [{..fields...}],hasMetaFile:}. Note that no file information is returned for externally loaded tiddlers, just the `tiddlers` property.
*/
$tw.loadTiddlersFromPath = function(filepath,excludeRegExp) {
excludeRegExp = excludeRegExp || $tw.boot.excludeRegExp;
var tiddlers = [];
if(fs.existsSync(filepath)) {
var stat = fs.statSync(filepath);
if(stat.isDirectory()) {
var files = fs.readdirSync(filepath);
// Look for a tiddlywiki.files file
if(files.indexOf("tiddlywiki.files") !== -1) {
Array.prototype.push.apply(tiddlers,$tw.loadTiddlersFromSpecification(filepath,excludeRegExp));
} else {
// If not, read all the files in the directory
$tw.utils.each(files,function(file) {
if(!excludeRegExp.test(file) && file !== "plugin.info") {
tiddlers.push.apply(tiddlers,$tw.loadTiddlersFromPath(filepath + path.sep + file,excludeRegExp));
}
});
}
} else if(stat.isFile()) {
tiddlers.push($tw.loadTiddlersFromFile(filepath,{title: filepath}));
}
}
return tiddlers;
};
/*
Load all the tiddlers defined by a `tiddlywiki.files` specification file
filepath: pathname of the directory containing the specification file
*/
$tw.loadTiddlersFromSpecification = function(filepath,excludeRegExp) {
var tiddlers = [];
// Read the specification
var filesInfo = JSON.parse(fs.readFileSync(filepath + path.sep + "tiddlywiki.files","utf8"));
// Helper to process a file
var processFile = function(filename,isTiddlerFile,fields,isEditableFile) {
var extInfo = $tw.config.fileExtensionInfo[path.extname(filename)],
type = (extInfo || {}).type || fields.type || "text/plain",
typeInfo = $tw.config.contentTypeInfo[type] || {},
pathname = path.resolve(filepath,filename),
text = fs.readFileSync(pathname,typeInfo.encoding || "utf8"),
metadata = $tw.loadMetadataForFile(pathname) || {},
fileTiddlers;
if(isTiddlerFile) {
fileTiddlers = $tw.wiki.deserializeTiddlers(path.extname(pathname),text,metadata) || [];
} else {
fileTiddlers = [$tw.utils.extend({text: text},metadata)];
}
var combinedFields = $tw.utils.extend({},fields,metadata);
$tw.utils.each(fileTiddlers,function(tiddler) {
$tw.utils.each(combinedFields,function(fieldInfo,name) {
if(typeof fieldInfo === "string" || $tw.utils.isArray(fieldInfo)) {
tiddler[name] = fieldInfo;
} else {
var value = tiddler[name];
switch(fieldInfo.source) {
case "filename":
value = path.basename(filename);
break;
case "filename-uri-decoded":
value = decodeURIComponent(path.basename(filename));
break;
case "basename":
value = path.basename(filename,path.extname(filename));
break;
case "basename-uri-decoded":
value = decodeURIComponent(path.basename(filename,path.extname(filename)));
break;
case "extname":
value = path.extname(filename);
break;
case "created":
value = new Date(fs.statSync(pathname).birthtime);
break;
case "modified":
value = new Date(fs.statSync(pathname).mtime);
break;
}
if(fieldInfo.prefix) {
value = fieldInfo.prefix + value;
}
if(fieldInfo.suffix) {
value = value + fieldInfo.suffix;
}
tiddler[name] = value;
}
});
});
if(isEditableFile) {
tiddlers.push({filepath: pathname, hasMetaFile: !!metadata && !isTiddlerFile, isEditableFile: true, tiddlers: fileTiddlers});
} else {
tiddlers.push({tiddlers: fileTiddlers});
}
};
// Process the listed tiddlers
$tw.utils.each(filesInfo.tiddlers,function(tidInfo) {
if(tidInfo.prefix && tidInfo.suffix) {
tidInfo.fields.text = {prefix: tidInfo.prefix,suffix: tidInfo.suffix};
} else if(tidInfo.prefix) {
tidInfo.fields.text = {prefix: tidInfo.prefix};
} else if(tidInfo.suffix) {
tidInfo.fields.text = {suffix: tidInfo.suffix};
}
processFile(tidInfo.file,tidInfo.isTiddlerFile,tidInfo.fields);
});
// Process any listed directories
$tw.utils.each(filesInfo.directories,function(dirSpec) {
// Read literal directories directly
if(typeof dirSpec === "string") {
var pathname = path.resolve(filepath,dirSpec);
if(fs.existsSync(pathname) && fs.statSync(pathname).isDirectory()) {
tiddlers.push.apply(tiddlers,$tw.loadTiddlersFromPath(pathname,excludeRegExp));
}
} else {
// Process directory specifier
var dirPath = path.resolve(filepath,dirSpec.path);
if(fs.existsSync(dirPath) && fs.statSync(dirPath).isDirectory()) {
var files = fs.readdirSync(dirPath),
fileRegExp = new RegExp(dirSpec.filesRegExp || "^.*$"),
metaRegExp = /^.*\.meta$/;
for(var t=0; t<files.length; t++) {
var filename = files[t];
if(filename !== "tiddlywiki.files" && !metaRegExp.test(filename) && fileRegExp.test(filename)) {
processFile(dirPath + path.sep + filename,dirSpec.isTiddlerFile,dirSpec.fields,dirSpec.isEditableFile);
}
}
} else {
console.log("Warning: a directory in a tiddlywiki.files file does not exist.");
console.log("dirPath: " + dirPath);
console.log("tiddlywiki.files location: " + filepath);
}
}
});
return tiddlers;
};
/*
Load the tiddlers from a plugin folder, and package them up into a proper JSON plugin tiddler
*/
$tw.loadPluginFolder = function(filepath,excludeRegExp) {
excludeRegExp = excludeRegExp || $tw.boot.excludeRegExp;
var infoPath = filepath + path.sep + "plugin.info";
if(fs.existsSync(filepath) && fs.statSync(filepath).isDirectory()) {
// Read the plugin information
if(!fs.existsSync(infoPath) || !fs.statSync(infoPath).isFile()) {
console.log("Warning: missing plugin.info file in " + filepath);
return null;
}
var pluginInfo = JSON.parse(fs.readFileSync(infoPath,"utf8"));
// Read the plugin files
var pluginFiles = $tw.loadTiddlersFromPath(filepath,excludeRegExp);
// Save the plugin tiddlers into the plugin info
pluginInfo.tiddlers = pluginInfo.tiddlers || Object.create(null);
for(var f=0; f<pluginFiles.length; f++) {
var tiddlers = pluginFiles[f].tiddlers;
for(var t=0; t<tiddlers.length; t++) {
var tiddler= tiddlers[t];
if(tiddler.title) {
pluginInfo.tiddlers[tiddler.title] = tiddler;
}
}
}
// Give the plugin the same version number as the core if it doesn't have one
if(!("version" in pluginInfo)) {
pluginInfo.version = $tw.packageInfo.version;
}
// Use "plugin" as the plugin-type if we don't have one
if(!("plugin-type" in pluginInfo)) {
pluginInfo["plugin-type"] = "plugin";
}
pluginInfo.dependents = pluginInfo.dependents || [];
pluginInfo.type = "application/json";
// Set plugin text
pluginInfo.text = JSON.stringify({tiddlers: pluginInfo.tiddlers},null,4);
delete pluginInfo.tiddlers;
// Deserialise array fields (currently required for the dependents field)
for(var field in pluginInfo) {
if($tw.utils.isArray(pluginInfo[field])) {
pluginInfo[field] = $tw.utils.stringifyList(pluginInfo[field]);
}
}
return pluginInfo;
} else {
return null;
}
};
/*
name: Name of the plugin to find
paths: array of file paths to search for it
Returns the path of the plugin folder
*/
$tw.findLibraryItem = function(name,paths) {
var pathIndex = 0;
do {
var pluginPath = path.resolve(paths[pathIndex],"./" + name)
if(fs.existsSync(pluginPath) && fs.statSync(pluginPath).isDirectory()) {
return pluginPath;
}
} while(++pathIndex < paths.length);
return null;
};
/*
name: Name of the plugin to load
paths: array of file paths to search for it
*/
$tw.loadPlugin = function(name,paths) {
var pluginPath = $tw.findLibraryItem(name,paths);
if(pluginPath) {
var pluginFields = $tw.loadPluginFolder(pluginPath);
if(pluginFields) {
$tw.wiki.addTiddler(pluginFields);
return;
}
}
console.log("Warning: Cannot find plugin '" + name + "'");
};
/*
libraryPath: Path of library folder for these plugins (relative to core path)
envVar: Environment variable name for these plugins
Returns an array of search paths
*/
$tw.getLibraryItemSearchPaths = function(libraryPath,envVar) {
var pluginPaths = [path.resolve($tw.boot.corePath,libraryPath)],
env = process.env[envVar];
if(env) {
env.split(path.delimiter).map(function(item) {
if(item) {
pluginPaths.push(item);
}
});
}
return pluginPaths;
};
/*
plugins: Array of names of plugins (eg, "tiddlywiki/filesystemadaptor")
libraryPath: Path of library folder for these plugins (relative to core path)
envVar: Environment variable name for these plugins
*/
$tw.loadPlugins = function(plugins,libraryPath,envVar) {
if(plugins) {
var pluginPaths = $tw.getLibraryItemSearchPaths(libraryPath,envVar);
for(var t=0; t<plugins.length; t++) {
$tw.loadPlugin(plugins[t],pluginPaths);
}
}
};
/*
path: path of wiki directory
options:
parentPaths: array of parent paths that we mustn't recurse into
readOnly: true if the tiddler file paths should not be retained
*/
$tw.loadWikiTiddlers = function(wikiPath,options) {
options = options || {};
var parentPaths = options.parentPaths || [],
wikiInfoPath = path.resolve(wikiPath,$tw.config.wikiInfo),
wikiInfo,
pluginFields;
// Bail if we don't have a wiki info file
if(fs.existsSync(wikiInfoPath)) {
wikiInfo = JSON.parse(fs.readFileSync(wikiInfoPath,"utf8"));
} else {
return null;
}
// Save the path to the tiddlers folder for the filesystemadaptor
var config = wikiInfo.config || {};
if($tw.boot.wikiPath == wikiPath) {
$tw.boot.wikiTiddlersPath = path.resolve($tw.boot.wikiPath,config["default-tiddler-location"] || $tw.config.wikiTiddlersSubDir);
}
// Load any parent wikis
if(wikiInfo.includeWikis) {
parentPaths = parentPaths.slice(0);
parentPaths.push(wikiPath);
$tw.utils.each(wikiInfo.includeWikis,function(info) {
if(typeof info === "string") {
info = {path: info};
}
var resolvedIncludedWikiPath = path.resolve(wikiPath,info.path);
if(parentPaths.indexOf(resolvedIncludedWikiPath) === -1) {
var subWikiInfo = $tw.loadWikiTiddlers(resolvedIncludedWikiPath,{
parentPaths: parentPaths,
readOnly: info["read-only"]
});
// Merge the build targets
wikiInfo.build = $tw.utils.extend([],subWikiInfo.build,wikiInfo.build);
} else {
$tw.utils.error("Cannot recursively include wiki " + resolvedIncludedWikiPath);
}
});
}
// Load any plugins, themes and languages listed in the wiki info file
$tw.loadPlugins(wikiInfo.plugins,$tw.config.pluginsPath,$tw.config.pluginsEnvVar);
$tw.loadPlugins(wikiInfo.themes,$tw.config.themesPath,$tw.config.themesEnvVar);
$tw.loadPlugins(wikiInfo.languages,$tw.config.languagesPath,$tw.config.languagesEnvVar);
// Load the wiki files, registering them as writable
var resolvedWikiPath = path.resolve(wikiPath,$tw.config.wikiTiddlersSubDir);
$tw.utils.each($tw.loadTiddlersFromPath(resolvedWikiPath),function(tiddlerFile) {
if(!options.readOnly && tiddlerFile.filepath) {
$tw.utils.each(tiddlerFile.tiddlers,function(tiddler) {
$tw.boot.files[tiddler.title] = {
filepath: tiddlerFile.filepath,
type: tiddlerFile.type,
hasMetaFile: tiddlerFile.hasMetaFile,
isEditableFile: config["retain-original-tiddler-path"] || tiddlerFile.isEditableFile || tiddlerFile.filepath.indexOf($tw.boot.wikiTiddlersPath) !== 0
};
});
}
$tw.wiki.addTiddlers(tiddlerFile.tiddlers);
});
if ($tw.boot.wikiPath == wikiPath) {
// Save the original tiddler file locations if requested
var output = {}, relativePath, fileInfo;
for(var title in $tw.boot.files) {
fileInfo = $tw.boot.files[title];
if(fileInfo.isEditableFile) {
relativePath = path.relative($tw.boot.wikiTiddlersPath,fileInfo.filepath);
output[title] =
path.sep === "/" ?
relativePath :
relativePath.split(path.sep).join("/");
}
}
if(Object.keys(output).length > 0){
$tw.wiki.addTiddler({title: "$:/config/OriginalTiddlerPaths", type: "application/json", text: JSON.stringify(output)});
}
}
// Load any plugins within the wiki folder
var wikiPluginsPath = path.resolve(wikiPath,$tw.config.wikiPluginsSubDir);
if(fs.existsSync(wikiPluginsPath)) {
var pluginFolders = fs.readdirSync(wikiPluginsPath);
for(var t=0; t<pluginFolders.length; t++) {
pluginFields = $tw.loadPluginFolder(path.resolve(wikiPluginsPath,"./" + pluginFolders[t]));
if(pluginFields) {
$tw.wiki.addTiddler(pluginFields);
}
}
}
// Load any themes within the wiki folder
var wikiThemesPath = path.resolve(wikiPath,$tw.config.wikiThemesSubDir);
if(fs.existsSync(wikiThemesPath)) {
var themeFolders = fs.readdirSync(wikiThemesPath);
for(var t=0; t<themeFolders.length; t++) {
pluginFields = $tw.loadPluginFolder(path.resolve(wikiThemesPath,"./" + themeFolders[t]));
if(pluginFields) {
$tw.wiki.addTiddler(pluginFields);
}
}
}
// Load any languages within the wiki folder
var wikiLanguagesPath = path.resolve(wikiPath,$tw.config.wikiLanguagesSubDir);
if(fs.existsSync(wikiLanguagesPath)) {
var languageFolders = fs.readdirSync(wikiLanguagesPath);
for(var t=0; t<languageFolders.length; t++) {
pluginFields = $tw.loadPluginFolder(path.resolve(wikiLanguagesPath,"./" + languageFolders[t]));
if(pluginFields) {
$tw.wiki.addTiddler(pluginFields);
}
}
}
return wikiInfo;
};
$tw.loadTiddlersNode = function() {
// Load the boot tiddlers
$tw.utils.each($tw.loadTiddlersFromPath($tw.boot.bootPath),function(tiddlerFile) {
$tw.wiki.addTiddlers(tiddlerFile.tiddlers);
});
// Load the core tiddlers
$tw.wiki.addTiddler($tw.loadPluginFolder($tw.boot.corePath));
// Load any extra plugins
$tw.utils.each($tw.boot.extraPlugins,function(name) {
if(name.charAt(0) === "+") { // Relative path to plugin
var pluginFields = $tw.loadPluginFolder(name.substring(1));
if(pluginFields) {
$tw.wiki.addTiddler(pluginFields);
}
} else {
var parts = name.split("/"),
type = parts[0];
if(parts.length === 3 && ["plugins","themes","languages"].indexOf(type) !== -1) {
$tw.loadPlugins([parts[1] + "/" + parts[2]],$tw.config[type + "Path"],$tw.config[type + "EnvVar"]);
}
}
});
// Load the tiddlers from the wiki directory
if($tw.boot.wikiPath) {
$tw.boot.wikiInfo = $tw.loadWikiTiddlers($tw.boot.wikiPath);
}
};
// End of if($tw.node)
}
/////////////////////////// Main startup function called once tiddlers have been decrypted
/*
Startup TiddlyWiki
*/
$tw.boot.initStartup = function(options) {
// Get the URL hash and check for safe mode
$tw.locationHash = "#";
if($tw.browser && !$tw.node) {
if(location.hash === "#:safe") {
$tw.safeMode = true;
} else {
$tw.locationHash = $tw.utils.getLocationHash();
}
}
// Initialise some more $tw properties
$tw.utils.deepDefaults($tw,{
modules: { // Information about each module
titles: Object.create(null), // hashmap by module title of {fn:, exports:, moduleType:}
types: {} // hashmap by module type of hashmap of exports
},
config: { // Configuration overridables
pluginsPath: "../plugins/",
themesPath: "../themes/",
languagesPath: "../languages/",
editionsPath: "../editions/",
wikiInfo: "./tiddlywiki.info",
wikiPluginsSubDir: "./plugins",
wikiThemesSubDir: "./themes",
wikiLanguagesSubDir: "./languages",
wikiTiddlersSubDir: "./tiddlers",
wikiOutputSubDir: "./output",
jsModuleHeaderRegExpString: "^\\/\\*\\\\(?:\\r?\\n)((?:^[^\\r\\n]*(?:\\r?\\n))+?)(^\\\\\\*\\/$(?:\\r?\\n)?)",
fileExtensionInfo: Object.create(null), // Map file extension to {type:}
contentTypeInfo: Object.create(null), // Map type to {encoding:,extension:}
pluginsEnvVar: "TIDDLYWIKI_PLUGIN_PATH",
themesEnvVar: "TIDDLYWIKI_THEME_PATH",
languagesEnvVar: "TIDDLYWIKI_LANGUAGE_PATH",
editionsEnvVar: "TIDDLYWIKI_EDITION_PATH"
},
log: {}, // Log flags
unloadTasks: []
});
if(!$tw.boot.tasks.readBrowserTiddlers) {
// For writable tiddler files, a hashmap of title to {filepath:,type:,hasMetaFile:}
$tw.boot.files = Object.create(null);
// System paths and filenames
$tw.boot.bootPath = options.bootPath || path.dirname(module.filename);
$tw.boot.corePath = path.resolve($tw.boot.bootPath,"../core");
// If there's no arguments then default to `--help`
if($tw.boot.argv.length === 0) {
$tw.boot.argv = ["--help"];
}
// Parse any extra plugin references
$tw.boot.extraPlugins = $tw.boot.extraPlugins || [];
while($tw.boot.argv[0] && $tw.boot.argv[0].indexOf("+") === 0) {
$tw.boot.extraPlugins.push($tw.boot.argv[0].substring(1));
$tw.boot.argv.splice(0,1);
}
// If the first command line argument doesn't start with `--` then we
// interpret it as the path to the wiki folder, which will otherwise default
// to the current folder
if($tw.boot.argv[0] && $tw.boot.argv[0].indexOf("--") !== 0) {
$tw.boot.wikiPath = $tw.boot.argv[0];
$tw.boot.argv = $tw.boot.argv.slice(1);
} else {
$tw.boot.wikiPath = process.cwd();
}
// Read package info
$tw.packageInfo = $tw.packageInfo || require("../package.json");
// Check node version number
if(!$tw.utils.checkVersions(process.version.substr(1),$tw.packageInfo.engines.node.substr(2))) {
$tw.utils.error("TiddlyWiki5 requires node.js version " + $tw.packageInfo.engines.node);
}
}
// Add file extension information
$tw.utils.registerFileType("text/vnd.tiddlywiki","utf8",".tid");
$tw.utils.registerFileType("application/x-tiddler","utf8",".tid");
$tw.utils.registerFileType("application/x-tiddlers","utf8",".multids");
$tw.utils.registerFileType("application/x-tiddler-html-div","utf8",".tiddler");
$tw.utils.registerFileType("text/vnd.tiddlywiki2-recipe","utf8",".recipe");
$tw.utils.registerFileType("text/plain","utf8",".txt");
$tw.utils.registerFileType("text/css","utf8",".css");
$tw.utils.registerFileType("text/html","utf8",[".html",".htm"]);
$tw.utils.registerFileType("application/hta","utf16le",".hta",{deserializerType:"text/html"});
$tw.utils.registerFileType("application/javascript","utf8",".js");
$tw.utils.registerFileType("application/json","utf8",".json");
$tw.utils.registerFileType("application/pdf","base64",".pdf",{flags:["image"]});
$tw.utils.registerFileType("application/zip","base64",".zip");
$tw.utils.registerFileType("application/x-zip-compressed","base64",".zip");
$tw.utils.registerFileType("image/jpeg","base64",[".jpg",".jpeg"],{flags:["image"]});
$tw.utils.registerFileType("image/jpg","base64",[".jpg",".jpeg"],{flags:["image"]});
$tw.utils.registerFileType("image/png","base64",".png",{flags:["image"]});
$tw.utils.registerFileType("image/gif","base64",".gif",{flags:["image"]});
$tw.utils.registerFileType("image/webp","base64",".webp",{flags:["image"]});
$tw.utils.registerFileType("image/heic","base64",".heic",{flags:["image"]});
$tw.utils.registerFileType("image/heif","base64",".heif",{flags:["image"]});
$tw.utils.registerFileType("image/svg+xml","utf8",".svg",{flags:["image"]});
$tw.utils.registerFileType("image/x-icon","base64",".ico",{flags:["image"]});
$tw.utils.registerFileType("application/font-woff","base64",".woff");
$tw.utils.registerFileType("application/x-font-ttf","base64",".woff");
$tw.utils.registerFileType("application/font-woff2","base64",".woff2");
$tw.utils.registerFileType("audio/ogg","base64",".ogg");
$tw.utils.registerFileType("video/ogg","base64",[".ogm",".ogv",".ogg"]);
$tw.utils.registerFileType("video/webm","base64",".webm");
$tw.utils.registerFileType("video/mp4","base64",".mp4");
$tw.utils.registerFileType("audio/mp3","base64",".mp3");
$tw.utils.registerFileType("audio/mp4","base64",[".mp4",".m4a"]);
$tw.utils.registerFileType("text/markdown","utf8",[".md",".markdown"],{deserializerType:"text/x-markdown"});
$tw.utils.registerFileType("text/x-markdown","utf8",[".md",".markdown"]);
$tw.utils.registerFileType("application/enex+xml","utf8",".enex");
$tw.utils.registerFileType("application/vnd.openxmlformats-officedocument.wordprocessingml.document","base64",".docx");
$tw.utils.registerFileType("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","base64",".xlsx");
$tw.utils.registerFileType("application/vnd.openxmlformats-officedocument.presentationml.presentation","base64",".pptx");
$tw.utils.registerFileType("text/x-bibtex","utf8",".bib",{deserializerType:"application/x-bibtex"});
$tw.utils.registerFileType("application/x-bibtex","utf8",".bib");
$tw.utils.registerFileType("application/epub+zip","base64",".epub");
$tw.utils.registerFileType("application/octet-stream","base64",".octet-stream");
// Create the wiki store for the app
$tw.wiki = new $tw.Wiki();
// Install built in tiddler fields modules
$tw.Tiddler.fieldModules = $tw.modules.getModulesByTypeAsHashmap("tiddlerfield");
// Install the tiddler deserializer modules
$tw.Wiki.tiddlerDeserializerModules = Object.create(null);
$tw.modules.applyMethods("tiddlerdeserializer",$tw.Wiki.tiddlerDeserializerModules);
// Call unload handlers in the browser
if($tw.browser) {
window.onbeforeunload = function(event) {
event = event || {};
var result;
$tw.utils.each($tw.unloadTasks,function(task) {
var r = task(event);
if(r) {
result = r;
}
});
return result;
}
}
};
$tw.boot.loadStartup = function(options){
// Load tiddlers
if($tw.boot.tasks.readBrowserTiddlers) {
$tw.loadTiddlersBrowser();
} else {
$tw.loadTiddlersNode();
}
// Load any preloaded tiddlers
if($tw.preloadTiddlers) {
$tw.wiki.addTiddlers($tw.preloadTiddlers);
}
// Give hooks a chance to modify the store
$tw.hooks.invokeHook("th-boot-tiddlers-loaded");
}
$tw.boot.execStartup = function(options){
// Unpack plugin tiddlers
$tw.wiki.readPluginInfo();
$tw.wiki.registerPluginTiddlers("plugin",$tw.safeMode ? ["$:/core"] : undefined);
$tw.wiki.unpackPluginTiddlers();
// Process "safe mode"
if($tw.safeMode) {
$tw.wiki.processSafeMode();
}
// Register typed modules from the tiddlers we've just loaded
$tw.wiki.defineTiddlerModules();
// And any modules within plugins
$tw.wiki.defineShadowModules();
// Make sure the crypto state tiddler is up to date
if($tw.crypto) {
$tw.crypto.updateCryptoStateTiddler();
}
// Gather up any startup modules
$tw.boot.remainingStartupModules = []; // Array of startup modules
$tw.modules.forEachModuleOfType("startup",function(title,module) {
if(module.startup) {
$tw.boot.remainingStartupModules.push(module);
}
});
// Keep track of the startup tasks that have been executed
$tw.boot.executedStartupModules = Object.create(null);
$tw.boot.disabledStartupModules = $tw.boot.disabledStartupModules || [];
// Repeatedly execute the next eligible task
$tw.boot.executeNextStartupTask(options.callback);
}
/*
Startup TiddlyWiki
*/
$tw.boot.startup = function(options) {
options = options || {};
// Get the URL hash and check for safe mode
$tw.boot.initStartup(options);
$tw.boot.loadStartup(options);
$tw.boot.execStartup(options);
};
/*
Add another unload task
*/
$tw.addUnloadTask = function(task) {
if($tw.unloadTasks.indexOf(task) === -1) {
$tw.unloadTasks.push(task);
}
}
/*
Execute the remaining eligible startup tasks
*/
$tw.boot.executeNextStartupTask = function(callback) {
// Find the next eligible task
var taskIndex = 0, task,
asyncTaskCallback = function() {
if(task.name) {
$tw.boot.executedStartupModules[task.name] = true;
}
return $tw.boot.executeNextStartupTask(callback);
};
while(taskIndex < $tw.boot.remainingStartupModules.length) {
task = $tw.boot.remainingStartupModules[taskIndex];
if($tw.boot.isStartupTaskEligible(task)) {
// Remove this task from the list
$tw.boot.remainingStartupModules.splice(taskIndex,1);
// Assemble log message
var s = ["Startup task:",task.name];
if(task.platforms) {
s.push("platforms:",task.platforms.join(","));
}
if(task.after) {
s.push("after:",task.after.join(","));
}
if(task.before) {
s.push("before:",task.before.join(","));
}
$tw.boot.log(s.join(" "));
// Execute task
if(!$tw.utils.hop(task,"synchronous") || task.synchronous) {
task.startup();
if(task.name) {
$tw.boot.executedStartupModules[task.name] = true;
}
return $tw.boot.executeNextStartupTask(callback);
} else {
task.startup(asyncTaskCallback);
return true;
}
}
taskIndex++;
}
if(typeof callback === 'function') {
callback();
}
return false;
};
/*
Returns true if we are running on one platforms specified in a task modules `platforms` array
*/
$tw.boot.doesTaskMatchPlatform = function(taskModule) {
var platforms = taskModule.platforms;
if(platforms) {
for(var t=0; t<platforms.length; t++) {
if((platforms[t] === "browser" && !$tw.browser) || (platforms[t] === "node" && !$tw.node)) {
return false;
}
}
}
return true;
};
$tw.boot.isStartupTaskEligible = function(taskModule) {
var t;
// Check that the platform is correct
if(!$tw.boot.doesTaskMatchPlatform(taskModule)) {
return false;
}
var name = taskModule.name,
remaining = $tw.boot.remainingStartupModules;
if(name) {
// Fail if this module is disabled
if($tw.boot.disabledStartupModules.indexOf(name) !== -1) {
return false;
}
// Check that no other outstanding tasks must be executed before this one
for(t=0; t<remaining.length; t++) {
var task = remaining[t];
if(task.before && task.before.indexOf(name) !== -1) {
if($tw.boot.doesTaskMatchPlatform(task) || (task.name && $tw.boot.disabledStartupModules.indexOf(name) !== -1)) {
return false;
}
}
}
}
// Check that all of the tasks that we must be performed after has been done
var after = taskModule.after;
if(after) {
for(t=0; t<after.length; t++) {
if(!$tw.boot.executedStartupModules[after[t]]) {
return false;
}
}
}
return true;
};
/*
Global Hooks mechanism which allows plugins to modify default functionality
*/
$tw.hooks = $tw.hooks || { names: {}};
/*
Add hooks to the hashmap
*/
$tw.hooks.addHook = function(hookName,definition) {
if($tw.utils.hop($tw.hooks.names,hookName)) {
$tw.hooks.names[hookName].push(definition);
}
else {
$tw.hooks.names[hookName] = [definition];
}
};
/*
Invoke the hook by key
*/
$tw.hooks.invokeHook = function(hookName /*, value,... */) {
var args = Array.prototype.slice.call(arguments,1);
if($tw.utils.hop($tw.hooks.names,hookName)) {
for (var i = 0; i < $tw.hooks.names[hookName].length; i++) {
args[0] = $tw.hooks.names[hookName][i].apply(null,args);
}
}
return args[0];
};
/////////////////////////// Main boot function to decrypt tiddlers and then startup
$tw.boot.boot = function(callback) {
// Initialise crypto object
$tw.crypto = new $tw.utils.Crypto();
// Initialise password prompter
if($tw.browser && !$tw.node) {
$tw.passwordPrompt = new $tw.utils.PasswordPrompt();
}
// Preload any encrypted tiddlers
$tw.boot.decryptEncryptedTiddlers(function() {
// Startup
$tw.boot.startup({callback: callback});
});
};
/////////////////////////// Autoboot in the browser
if($tw.browser && !$tw.boot.suppressBoot) {
$tw.boot.boot();
}
return $tw;
});
if(typeof(exports) !== "undefined") {
exports.TiddlyWiki = _boot;
} else {
_boot(window.$tw);
}
</script>
</div>
<!--~~ Raw markup for the bottom of the body section ~~-->
</body>
</html>