\\\",\\\"\\\").replace(\\\"
\\\",\\\"\\\")}var lingoBase=\\\"$:/plugins/linonetwo/autocomplete/language/\\\";function lingo(e){const t=$tw.wiki.filterTiddlers(\\\"[[$:/language]get[text]get[name]else[en-GB]]\\\")[0];return $tw.wiki.getGlobalCache(`lingo-${t}-`+e,()=>$tw.wiki.getTiddlerText(\\\"\\\"+lingoBase+t+\\\"/\\\"+e,e))}var cachedTiddlers=[],plugin={getSources(t){if(0===t.query.length)return[];if(!checkIsSearchSystem(t)||checkIsUnderFilter(t))return[];const o=t.state.context[\\\"widget\\\"],n=e=>{t.setContext({noNavigate:!0}),$tw.wiki.setText(\\\"$:/layout\\\",\\\"text\\\",void 0,e.title,{suppressTimestamp:!0})};return[{sourceId:\\\"layout\\\",async getItems({query:t}){return(cachedTiddlers=0!==cachedTiddlers.length&&cacheSystemTiddlers()?cachedTiddlers:await filterTiddlersAsync(\\\"[all[tiddlers+shadows]tag[$:/tags/Layout]] [[$:/core/ui/PageTemplate]] +[!is[draft]sort[name]]\\\",{system:!0})).filter(e=>0<$tw.wiki.filterTiddlers(`[search[${t.slice(1)}]]`,void 0,$tw.wiki.makeTiddlerIterator([renderTextWithCache(e.name,o),renderTextWithCache(e.description,o),e.title.replace(\\\"$:/plugins/\\\",\\\"\\\")])).length)},getItemUrl({item:e}){return e.title},onSelect({item:e}){n(e)},templates:{header(){var e=$tw.wiki.getTiddlerText(\\\"$:/layout\\\",\\\"\\\"),e=$tw.wiki.getTiddler(e)?.fields?.name,e=e?renderTextWithCache(e,o):$tw.wiki.getTiddlerText(\\\"$:/language/PageTemplate/Name\\\");return`${lingo(\\\"Layout\\\")} - ${lingo(\\\"CurrentLayout\\\")}: `+e},item({item:e,createElement:t}){var i,r;return\\\"string\\\"==typeof e.name&&\\\"\\\"!==e.name?(i=renderTextWithCache(e.name,o),r=renderTextWithCache(e.description,o),t(\\\"div\\\",{\\\"class\\\":\\\"tw-commandpalette-layout-result\\\",onclick:()=>{n(e)},innerHTML:\\\"\\\"+getIconSvg(e.icon,o)+i+(r?\\\" - \\\"+r:\\\"\\\")})):t(\\\"div\\\",{onclick:()=>{n(e)}},e.title)}}}]}};\"},\"$:/plugins/linonetwo/autocomplete/widget/build-in-sub-plugins/search-recent.js\":{\"title\":\"$:/plugins/linonetwo/autocomplete/widget/build-in-sub-plugins/search-recent.js\",\"tags\":\"$:/tags/AutoCompletePlugin\",\"type\":\"application/javascript\",\"module-type\":\"library\",\"priority\":\"1\",\"Modern.TiddlyDev#Origin\":\"widgets/build-in-sub-plugins/search-recent.ts\",\"text\":\"\\\"use strict\\\";var __defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__hasOwnProp=Object.prototype.hasOwnProperty,__export=(e,t)=>{for(var r in t)__defProp(e,r,{get:t[r],enumerable:!0})},__copyProps=(t,r,n,o)=>{if(r&&\\\"object\\\"==typeof r||\\\"function\\\"==typeof r)for(let e of __getOwnPropNames(r))__hasOwnProp.call(t,e)||e===n||__defProp(t,e,{get:()=>r[e],enumerable:!(o=__getOwnPropDesc(r,e))||o.enumerable});return t},__toCommonJS=e=>__copyProps(__defProp({},\\\"__esModule\\\",{value:!0}),e),search_recent_exports={};function _typeof(e){return(_typeof=\\\"function\\\"==typeof Symbol&&\\\"symbol\\\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\\\"function\\\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\\\"symbol\\\":typeof e})(e)}function ownKeys(t,e){var r,n=Object.keys(t);return Object.getOwnPropertySymbols&&(r=Object.getOwnPropertySymbols(t),e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)),n}function _objectSpread(t){for(var e=1;e\\\",\\\"\\\").replace(\\\"
\\\",\\\"\\\")}var lingoBase=\\\"$:/plugins/linonetwo/autocomplete/language/\\\";function lingo(e){const t=$tw.wiki.filterTiddlers(\\\"[[$:/language]get[text]get[name]else[en-GB]]\\\")[0];return $tw.wiki.getGlobalCache(`lingo-${t}-`+e,()=>$tw.wiki.getTiddlerText(\\\"\\\"+lingoBase+t+\\\"/\\\"+e,e))}var plugin=e=>{let n,o;const a=getIconSvg(\\\"$:/core/images/delete-button\\\",void 0),i=createLocalStorageRecentSearchesPlugin({key:\\\"recent-\\\"+e,subscribe(e){e.setContext?.({addHistoryItem:e=>i.data?.addItem({id:e,label:e})}),n=e.setContext,o=e.refresh.bind(e)},transformSource({source:t}){const r=e=>{n?.({newQuery:e,noClose:!0,noNavigate:!0})};return{...t,getItemUrl({item:e}){return e.id},async getItems(e){return 0\\\",\\\"\\\").replace(\\\"
\\\",\\\"\\\")}var lingoBase=\\\"$:/plugins/linonetwo/commandpalette/language/\\\";function lingo(e){const t=$tw.wiki.filterTiddlers(\\\"[[$:/language]get[text]get[name]else[en-GB]]\\\")[0];return $tw.wiki.getGlobalCache(\\\"lingo-\\\".concat(t,\\\"-\\\").concat(e),()=>$tw.wiki.getTiddlerText(\\\"\\\".concat(lingoBase).concat(t,\\\"/\\\").concat(e),e))}var cachedTiddlers=[],plugin={getSources(t){if(0===t.query.length)return[];if(!checkIsSearchSystem(t)||checkIsUnderFilter(t))return[];const l=t.state.context[\\\"widget\\\"],o=e=>{t.setContext({noNavigate:!0}),$tw.wiki.setText(\\\"$:/layout\\\",\\\"text\\\",void 0,e.title,{suppressTimestamp:!0})};return[{sourceId:\\\"layout\\\",async getItems({query:t}){return(cachedTiddlers=0!==cachedTiddlers.length&&cacheSystemTiddlers()?cachedTiddlers:await filterTiddlersAsync(\\\"[all[tiddlers+shadows]tag[$:/tags/Layout]] [[$:/core/ui/PageTemplate]] +[!is[draft]sort[name]]\\\",{system:!0})).filter(e=>0<$tw.wiki.filterTiddlers(\\\"[search[\\\".concat(t.slice(1),\\\"]]\\\"),void 0,$tw.wiki.makeTiddlerIterator([renderTextWithCache(e.name,l),renderTextWithCache(e.description,l),e.title.replace(\\\"$:/plugins/\\\",\\\"\\\")])).length)},getItemUrl({item:e}){return e.title},onSelect({item:e}){o(e)},templates:{header(){var e=$tw.wiki.getTiddlerText(\\\"$:/layout\\\",\\\"\\\"),e=null==(e=null==(e=$tw.wiki.getTiddler(e))?void 0:e.fields)?void 0:e.name,e=e?renderTextWithCache(e,l):$tw.wiki.getTiddlerText(\\\"$:/language/PageTemplate/Name\\\");return\\\"\\\".concat(lingo(\\\"Layout\\\"),\\\" - \\\").concat(lingo(\\\"CurrentLayout\\\"),\\\": \\\").concat(e)},item({item:e,createElement:t}){var i,n,r;return\\\"string\\\"==typeof e.name&&\\\"\\\"!==e.name?(i=renderTextWithCache(e.name,l),n=renderTextWithCache(e.description,l),r=getIconSvg(e.icon,l),t(\\\"div\\\",{\\\"class\\\":\\\"tw-commandpalette-layout-result\\\",onclick:()=>{o(e)},innerHTML:\\\"\\\".concat(r).concat(i).concat(n?\\\" - \\\".concat(n):\\\"\\\")})):t(\\\"div\\\",{onclick:()=>{o(e)}},e.title)}}}]}};\"},\"$:/plugins/linonetwo/commandpalette/widget/build-in-sub-plugins/search-story-history.js\":{\"title\":\"$:/plugins/linonetwo/commandpalette/widget/build-in-sub-plugins/search-story-history.js\",\"tags\":\"$:/tags/CommandPalettePlugin\",\"type\":\"application/javascript\",\"module-type\":\"library\",\"priority\":\"0\",\"Modern.TiddlyDev#Origin\":\"widgets/build-in-sub-plugins/search-story-history.ts\",\"text\":\"\\\"use strict\\\";var _a,_b,_c,_d,_a2,_b2,_a3,_b3,_a4,_b4,__create=Object.create,__defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty,__esm=(e,o)=>function(){return o=e?(0,e[__getOwnPropNames(e)[0]])(e=0):o},__commonJS=(e,o)=>function(){return o||(0,e[__getOwnPropNames(e)[0]])((o={exports:{}}).exports,o),o.exports},__export=(e,o)=>{for(var t in o)__defProp(e,t,{get:o[t],enumerable:!0})},__copyProps=(o,t,r,i)=>{if(t&&\\\"object\\\"==typeof t||\\\"function\\\"==typeof t)for(let e of __getOwnPropNames(t))__hasOwnProp.call(o,e)||e===r||__defProp(o,e,{get:()=>t[e],enumerable:!(i=__getOwnPropDesc(t,e))||i.enumerable});return o},__toESM=(e,o,t)=>(t=null!=e?__create(__getProtoOf(e)):{},__copyProps(!o&&e&&e.__esModule?t:__defProp(t,\\\"default\\\",{value:e,enumerable:!0}),e)),__toCommonJS=e=>__copyProps(__defProp({},\\\"__esModule\\\",{value:!0}),e),init_esbuild_inject=__esm({\\\"node_modules/.pnpm/tiddlywiki-plugin-dev@0.2.0_postcss@8.4.38_ts-node@10.9.2_@types+node@20.12.12_typescript@5.4.5_/node_modules/tiddlywiki-plugin-dev/dist/js/esbuild-inject.js\\\"(){}}),require_freeGlobal=__commonJS({\\\"node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_freeGlobal.js\\\"(e,o){init_esbuild_inject();var t=\\\"object\\\"==typeof global&&global&&global.Object===Object&&global;o.exports=t}}),require_root=__commonJS({\\\"node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_root.js\\\"(e,o){init_esbuild_inject();var t=require_freeGlobal(),r=\\\"object\\\"==typeof self&&self&&self.Object===Object&&self,t=t||r||Function(\\\"return this\\\")();o.exports=t}}),require_Symbol=__commonJS({\\\"node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Symbol.js\\\"(e,o){init_esbuild_inject();var t=require_root().Symbol;o.exports=t}}),require_getRawTag=__commonJS({\\\"node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getRawTag.js\\\"(e,o){init_esbuild_inject();var t=require_Symbol(),r=Object.prototype,s=r.hasOwnProperty,_=r.toString,a=t?t.toStringTag:void 0;o.exports=function(e){var o=s.call(e,a),t=e[a];try{var r=!(e[a]=void 0)}catch(n){}var i=_.call(e);return r&&(o?e[a]=t:delete e[a]),i}}}),require_objectToString=__commonJS({\\\"node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_objectToString.js\\\"(e,o){init_esbuild_inject();var t=Object.prototype.toString;o.exports=function(e){return t.call(e)}}}),require_baseGetTag=__commonJS({\\\"node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseGetTag.js\\\"(e,o){init_esbuild_inject();var t=require_Symbol(),r=require_getRawTag(),i=require_objectToString(),n=t?t.toStringTag:void 0;o.exports=function(e){return null==e?void 0===e?\\\"[object Undefined]\\\":\\\"[object Null]\\\":(n&&n in Object(e)?r:i)(e)}}}),require_isObject=__commonJS({\\\"node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isObject.js\\\"(e,o){init_esbuild_inject(),o.exports=function(e){var o=typeof e;return null!=e&&(\\\"object\\\"==o||\\\"function\\\"==o)}}}),require_isFunction=__commonJS({\\\"node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isFunction.js\\\"(e,o){init_esbuild_inject();var t=require_baseGetTag(),r=require_isObject();o.exports=function(e){var o;return!!r(e)&&(\\\"[object Function]\\\"==(o=t(e))||\\\"[object GeneratorFunction]\\\"==o||\\\"[object AsyncFunction]\\\"==o||\\\"[object Proxy]\\\"==o)}}}),require_coreJsData=__commonJS({\\\"node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_coreJsData.js\\\"(e,o){init_esbuild_inject();var t=require_root()[\\\"__core-js_shared__\\\"];o.exports=t}}),require_isMasked=__commonJS({\\\"node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_isMasked.js\\\"(e,o){init_esbuild_inject();var t=require_coreJsData(),r=(t=/[^.]+$/.exec(t&&t.keys&&t.keys.IE_PROTO||\\\"\\\"))?\\\"Symbol(src)_1.\\\"+t:\\\"\\\";o.exports=function(e){return!!r&&r in e}}}),require_toSource=__commonJS({\\\"node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_toSource.js\\\"(e,o){init_esbuild_inject();var t=Function.prototype.toString;o.exports=function(e){if(null!=e){try{return t.call(e)}catch(o){}try{return e+\\\"\\\"}catch(o){}}return\\\"\\\"}}}),require_baseIsNative=__commonJS({\\\"node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsNative.js\\\"(e,o){init_esbuild_inject();var t=require_isFunction(),r=require_isMasked(),i=require_isObject(),n=require_toSource(),s=/^\\\\[object .+?Constructor\\\\]$/,_=Function.prototype,a=Object.prototype,_=_.toString,a=a.hasOwnProperty,l=RegExp(\\\"^\\\"+_.call(a).replace(/[\\\\\\\\^$.*+?()[\\\\]{}|]/g,\\\"\\\\\\\\$&\\\").replace(/hasOwnProperty|(function).*?(?=\\\\\\\\\\\\()| for .+?(?=\\\\\\\\\\\\])/g,\\\"$1.*?\\\")+\\\"$\\\");o.exports=function(e){return!(!i(e)||r(e))&&(t(e)?l:s).test(n(e))}}}),require_getValue=__commonJS({\\\"node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getValue.js\\\"(e,o){init_esbuild_inject(),o.exports=function(e,o){return null==e?void 0:e[o]}}}),require_getNative=__commonJS({\\\"node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_getNative.js\\\"(e,o){init_esbuild_inject();var r=require_baseIsNative(),i=require_getValue();o.exports=function(e,o){var t=i(e,o);return r(t)?t:void 0}}}),require_nativeCreate=__commonJS({\\\"node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_nativeCreate.js\\\"(e,o){init_esbuild_inject();var t=require_getNative()(Object,\\\"create\\\");o.exports=t}}),require_hashClear=__commonJS({\\\"node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashClear.js\\\"(e,o){init_esbuild_inject();var t=require_nativeCreate();o.exports=function(){this.__data__=t?t(null):{},this.size=0}}}),require_hashDelete=__commonJS({\\\"node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashDelete.js\\\"(e,o){init_esbuild_inject(),o.exports=function(e){var o=this.has(e)&&delete this.__data__[e];return this.size-=o?1:0,o}}}),require_hashGet=__commonJS({\\\"node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashGet.js\\\"(e,o){init_esbuild_inject();var r=require_nativeCreate(),i=Object.prototype.hasOwnProperty;o.exports=function(e){var o,t=this.__data__;return r?\\\"__lodash_hash_undefined__\\\"===(o=t[e])?void 0:o:i.call(t,e)?t[e]:void 0}}}),require_hashHas=__commonJS({\\\"node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashHas.js\\\"(e,o){init_esbuild_inject();var t=require_nativeCreate(),r=Object.prototype.hasOwnProperty;o.exports=function(e){var o=this.__data__;return t?void 0!==o[e]:r.call(o,e)}}}),require_hashSet=__commonJS({\\\"node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_hashSet.js\\\"(e,o){init_esbuild_inject();var r=require_nativeCreate();o.exports=function(e,o){var t=this.__data__;return this.size+=this.has(e)?0:1,t[e]=r&&void 0===o?\\\"__lodash_hash_undefined__\\\":o,this}}}),require_Hash=__commonJS({\\\"node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_Hash.js\\\"(e,o){init_esbuild_inject();var t=require_hashClear(),r=require_hashDelete(),i=require_hashGet(),n=require_hashHas(),s=require_hashSet();function _(e){var o=-1,t=null==e?0:e.length;for(this.clear();++o