From 4e829fa06cf63c3e6d806c0606de5f5e6c131813 Mon Sep 17 00:00:00 2001 From: Zane Meyers Date: Tue, 22 Jul 2025 16:59:59 -0400 Subject: [PATCH] vault backup: 2025-07-22 16:59:59 --- {datasets => .datasets}/overrun-trends.tsv | 0 .obsidian/core-plugins.json | 2 +- .obsidian/plugins/templater-obsidian/main.js | 37 +++ .../plugins/templater-obsidian/manifest.json | 11 + .../plugins/templater-obsidian/styles.css | 220 ++++++++++++++++++ .obsidian/templates.json | 3 + assemblies.md | 33 --- assembly-philosophy.md | 32 ++- construction-estimating.md | 50 +++- .../construction-estimating-using-excel.md | 41 ++++ .../electrical-estimating-methods.md | 35 +++ .../electrical-estimators-manual.md | 47 ++++ ...ustrated-guide-to-electrical-estimating.md | 39 ++++ .../the-failure-of-risk-management.md | 4 +- monte-carlo-methods.md | 17 ++ new-additions/abbreviations.md | 5 +- .../automation/necessary-automation.md | 0 .../automation/portable-tools.md | 0 .../automation/possible-automation.md | 0 .../powershell-document-conversion-module.md | 0 new-additions/evpi-takeoff.md | 23 -- new-additions/excel-macros.md | 1 - new-additions/takeoff/breakdowns.md | 60 ++--- new-additions/takeoff/designations.md | 5 + new-additions/takeoff/electrical.md | 90 ++++--- .../takeoff/{scratch.md => feeders.md} | 7 +- new-additions/takeoff/lighting-controls.md | 42 ++-- new-additions/takeoff/lighting.md | 112 ++++----- new-additions/takeoff/lightning-protection.md | 50 ++++ new-additions/takeoff/project-setup.md | 70 ++++++ ...t-information.md => perfect-information.md | 13 +- purpose-of-estimating.md | 51 ---- risk-oriented-estimating.md | 37 ++- risk.md | 4 +- software-based-estimating.md | 2 +- strategy.md | 8 +- supertopics.md | 4 + templates/System.md | 16 ++ traditional-estimating-methods.md | 6 +- uncertainty.md | 5 +- 40 files changed, 900 insertions(+), 282 deletions(-) rename {datasets => .datasets}/overrun-trends.tsv (100%) create mode 100644 .obsidian/plugins/templater-obsidian/main.js create mode 100644 .obsidian/plugins/templater-obsidian/manifest.json create mode 100644 .obsidian/plugins/templater-obsidian/styles.css create mode 100644 .obsidian/templates.json delete mode 100644 assemblies.md create mode 100644 media-commentary/construction-estimating-using-excel.md create mode 100644 media-commentary/electrical-estimating-methods.md create mode 100644 media-commentary/electrical-estimators-manual.md create mode 100644 media-commentary/mike-holts-illustrated-guide-to-electrical-estimating.md rename {new-additions => media-commentary}/the-failure-of-risk-management.md (99%) create mode 100644 monte-carlo-methods.md rename necessary-automation.md => new-additions/automation/necessary-automation.md (100%) rename portable-tools.md => new-additions/automation/portable-tools.md (100%) rename possible-automation.md => new-additions/automation/possible-automation.md (100%) rename new-additions/{ => automation}/powershell-document-conversion-module.md (100%) delete mode 100644 new-additions/evpi-takeoff.md rename new-additions/takeoff/{scratch.md => feeders.md} (52%) create mode 100644 new-additions/takeoff/lightning-protection.md create mode 100644 new-additions/takeoff/project-setup.md rename expected-value-of-perfect-information.md => perfect-information.md (61%) delete mode 100644 purpose-of-estimating.md create mode 100644 templates/System.md diff --git a/datasets/overrun-trends.tsv b/.datasets/overrun-trends.tsv similarity index 100% rename from datasets/overrun-trends.tsv rename to .datasets/overrun-trends.tsv diff --git a/.obsidian/core-plugins.json b/.obsidian/core-plugins.json index b977c25..498e513 100644 --- a/.obsidian/core-plugins.json +++ b/.obsidian/core-plugins.json @@ -7,7 +7,7 @@ "canvas": true, "outgoing-link": true, "tag-pane": true, - "properties": false, + "properties": true, "page-preview": true, "daily-notes": true, "templates": true, diff --git a/.obsidian/plugins/templater-obsidian/main.js b/.obsidian/plugins/templater-obsidian/main.js new file mode 100644 index 0000000..f9ec15c --- /dev/null +++ b/.obsidian/plugins/templater-obsidian/main.js @@ -0,0 +1,37 @@ +/* +THIS IS A GENERATED/BUNDLED FILE BY ESBUILD +if you want to view the source, please visit the github repository of this plugin +*/ + +var Aa=Object.create;var Hn=Object.defineProperty;var _a=Object.getOwnPropertyDescriptor;var xa=Object.getOwnPropertyNames;var ya=Object.getPrototypeOf,ja=Object.prototype.hasOwnProperty;var Yi=n=>Hn(n,"__esModule",{value:!0});var va=(n,e)=>{Yi(n);for(var t in e)Hn(n,t,{get:e[t],enumerable:!0})},wa=(n,e,t)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of xa(e))!ja.call(n,r)&&r!=="default"&&Hn(n,r,{get:()=>e[r],enumerable:!(t=_a(e,r))||t.enumerable});return n},X=n=>wa(Yi(Hn(n!=null?Aa(ya(n)):{},"default",n&&n.__esModule&&"default"in n?{get:()=>n.default,enumerable:!0}:{value:n,enumerable:!0})),n);var Ui=(()=>{for(var n=new Uint8Array(128),e=0;e<64;e++)n[e<26?e+65:e<52?e+71:e<62?e-4:e*4-205]=e;return t=>{for(var r=t.length,i=new Uint8Array((r-(t[r-1]=="=")-(t[r-2]=="="))*3/4|0),o=0,a=0;o>4,i[a++]=c<<4|d>>2,i[a++]=d<<6|m}return i}})();va(exports,{default:()=>Oi});var jr=X(require("obsidian"));var L=X(require("obsidian"));var Gi=X(require("obsidian"));function oe(n){let e=new Gi.Notice("",8e3),t=createFragment(r=>{r.createEl("b",{text:"Templater Error"}),r.createEl("span",{text:":"}),r.createEl("br"),r.createEl("span",{text:n.message}),n instanceof O&&n.console_msg&&(r.createEl("br"),r.createEl("span",{text:"Check console for more information"}),console.error("Templater Error:",n.message,` +`,n.console_msg))});e.noticeEl.appendChild(t)}var O=class extends Error{constructor(e,t){super(e);this.console_msg=t;this.name=this.constructor.name,Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}};async function Te(n,e){try{return await n()}catch(t){return t instanceof O?oe(t):oe(new O(e,t.message)),null}}function ke(n,e){try{return n()}catch(t){return oe(new O(e,t.message)),null}}var re=function(){function n(){}return n.explainIfInvalidTSDocTagName=function(e){if(e[0]!=="@")return'A TSDoc tag name must start with an "@" symbol';if(!n._tsdocTagNameRegExp.test(e))return"A TSDoc tag name must start with a letter and contain only letters and numbers"},n.validateTSDocTagName=function(e){var t=n.explainIfInvalidTSDocTagName(e);if(t)throw new Error(t)},n.explainIfInvalidLinkUrl=function(e){if(e.length===0)return"The URL cannot be empty";if(!n._urlSchemeRegExp.test(e))return'An @link URL must begin with a scheme comprised only of letters and numbers followed by "://". (For general URLs, use an HTML "" tag instead.)';if(!n._urlSchemeAfterRegExp.test(e))return'An @link URL must have at least one character after "://"'},n.explainIfInvalidHtmlName=function(e){if(!n._htmlNameRegExp.test(e))return"An HTML name must be an ASCII letter followed by zero or more letters, digits, or hyphens"},n.validateHtmlName=function(e){var t=n.explainIfInvalidHtmlName(e);if(t)throw new Error(t)},n.explainIfInvalidPackageName=function(e){if(e.length===0)return"The package name cannot be an empty string";if(!n._validPackageNameRegExp.test(e))return"The package name ".concat(JSON.stringify(e)," is not a valid package name")},n.explainIfInvalidImportPath=function(e,t){if(e.length>0){if(e.indexOf("//")>=0)return'An import path must not contain "//"';if(e[e.length-1]==="/")return'An import path must not end with "/"';if(!t&&e[0]==="/")return'An import path must not start with "/" unless prefixed by a package name'}},n.isSystemSelector=function(e){return n._systemSelectors.has(e)},n.explainIfInvalidUnquotedIdentifier=function(e){if(e.length===0)return"The identifier cannot be an empty string";if(n._identifierBadCharRegExp.test(e))return"The identifier cannot non-word characters";if(n._identifierNumberStartRegExp.test(e))return"The identifier must not start with a number"},n.explainIfInvalidUnquotedMemberIdentifier=function(e){var t=n.explainIfInvalidUnquotedIdentifier(e);if(t!==void 0)return t;if(n.isSystemSelector(e))return'The identifier "'.concat(e,'" must be quoted because it is a TSDoc system selector name')},n._tsdocTagNameRegExp=/^@[a-z][a-z0-9]*$/i,n._urlSchemeRegExp=/^[a-z][a-z0-9]*\:\/\//i,n._urlSchemeAfterRegExp=/^[a-z][a-z0-9]*\:\/\/./i,n._htmlNameRegExp=/^[a-z]+[a-z0-9\-]*$/i,n._identifierBadCharRegExp=/[^a-z0-9_$]/i,n._identifierNumberStartRegExp=/^[0-9]/,n._validPackageNameRegExp=/^(?:@[a-z0-9\-_\.]+\/)?[a-z0-9\-_\.]+$/i,n._systemSelectors=new Set(["instance","static","constructor","class","enum","function","interface","namespace","type","variable"]),n}();var kr=function(){function n(){this._docNodeDefinitionsByKind=new Map,this._docNodeDefinitionsByConstructor=new Map}return n.prototype.registerDocNodes=function(e,t){var r=re.explainIfInvalidPackageName(e);if(r)throw new Error("Invalid NPM package name: "+r);for(var i=0,o=t;i0&&i.appendNodes(r),i}return Object.defineProperty(e.prototype,"nodes",{get:function(){return this._nodes},enumerable:!1,configurable:!0}),e.prototype.appendNode=function(t){if(!this.configuration.docNodeManager.isAllowedChild(this.kind,t.kind))throw new Error("The TSDocConfiguration does not allow a ".concat(this.kind," node to")+" contain a node of type ".concat(t.kind));this._nodes.push(t)},e.prototype.appendNodes=function(t){for(var r=0,i=t;r0){var i=this.nodes[this.nodes.length-1];i.kind===g.Paragraph&&(r=i)}r||(r=new at({configuration:this.configuration}),this.appendNode(r)),r.appendNode(t)},e.prototype.appendNodesInParagraph=function(t){for(var r=0,i=t;r1){var e=this._chunks.join("");this._chunks.length=1,this._chunks[0]=e}return this._chunks[0]},n}();var zi=function(){function n(){}return n.transform=function(e){for(var t=[],r=!1,i=[],o=[],a=!1,l=0,c=e.nodes;l0&&(r&&(i.push(" "),r=!1),i.push(P),o.push(d),a=!0),E&&a&&(r=!0);break;case g.SoftBreak:a&&(r=!0),o.push(d);break;default:r&&(i.push(" "),r=!1),i.length>0&&(t.push(new Ge({configuration:e.configuration,text:i.join("")})),i.length=0,o.length=0),t.push(d),a=!0}}i.length>0&&(t.push(new Ge({configuration:e.configuration,text:i.join("")})),i.length=0,o.length=0);var k=new at({configuration:e.configuration});return k.appendNodes(t),k},n}();var Or=function(){function n(){}return n.trimSpacesInParagraph=function(e){return zi.transform(e)},n}();var Mr=function(n,e,t){if(t||arguments.length===2)for(var r=0,i=e.length,o;r0&&(this._ensureLineSkipped(),this._renderNodes(a.modifierTagSet.nodes));break;case g.DeclarationReference:var l=e;this._writeContent(l.packageName),this._writeContent(l.importPath),(l.packageName!==void 0||l.importPath!==void 0)&&this._writeContent("#"),this._renderNodes(l.memberReferences);break;case g.ErrorText:var c=e;this._writeContent(c.text);break;case g.EscapedText:var d=e;this._writeContent(d.encodedText);break;case g.FencedCode:var m=e;this._ensureAtStartOfLine(),this._writeContent("```"),this._writeContent(m.language),this._writeNewline(),this._writeContent(m.code),this._writeContent("```"),this._writeNewline(),this._writeNewline();break;case g.HtmlAttribute:var y=e;this._writeContent(y.name),this._writeContent(y.spacingAfterName),this._writeContent("="),this._writeContent(y.spacingAfterEquals),this._writeContent(y.value),this._writeContent(y.spacingAfterValue);break;case g.HtmlEndTag:var b=e;this._writeContent("");break;case g.HtmlStartTag:var E=e;this._writeContent("<"),this._writeContent(E.name),this._writeContent(E.spacingAfterName);for(var P=E.spacingAfterName===void 0||E.spacingAfterName.length===0,k=0,w=E.htmlAttributes;k":">");break;case g.InheritDocTag:var $=e;this._renderInlineTag($,function(){$.declarationReference&&(t._writeContent(" "),t._renderNode($.declarationReference))});break;case g.InlineTag:var K=e;this._renderInlineTag(K,function(){K.tagContent.length>0&&(t._writeContent(" "),t._writeContent(K.tagContent))});break;case g.LinkTag:var C=e;this._renderInlineTag(C,function(){(C.urlDestination!==void 0||C.codeDestination!==void 0)&&(C.urlDestination!==void 0?(t._writeContent(" "),t._writeContent(C.urlDestination)):C.codeDestination!==void 0&&(t._writeContent(" "),t._renderNode(C.codeDestination))),C.linkText!==void 0&&(t._writeContent(" "),t._writeContent("|"),t._writeContent(" "),t._writeContent(C.linkText))});break;case g.MemberIdentifier:var H=e;H.hasQuotes?(this._writeContent('"'),this._writeContent(H.identifier),this._writeContent('"')):this._writeContent(H.identifier);break;case g.MemberReference:var I=e;I.hasDot&&this._writeContent("."),I.selector&&this._writeContent("("),I.memberSymbol?this._renderNode(I.memberSymbol):this._renderNode(I.memberIdentifier),I.selector&&(this._writeContent(":"),this._renderNode(I.selector),this._writeContent(")"));break;case g.MemberSelector:var J=e;this._writeContent(J.selector);break;case g.MemberSymbol:var te=e;this._writeContent("["),this._renderNode(te.symbolReference),this._writeContent("]");break;case g.Section:var ne=e;this._renderNodes(ne.nodes);break;case g.Paragraph:var Q=Or.trimSpacesInParagraph(e);Q.nodes.length>0&&(this._hangingParagraph?this._hangingParagraph=!1:this._ensureLineSkipped(),this._renderNodes(Q.nodes),this._writeNewline());break;case g.ParamBlock:var h=e;this._ensureLineSkipped(),this._renderNode(h.blockTag),this._writeContent(" "),this._writeContent(h.parameterName),this._writeContent(" - "),this._hangingParagraph=!0,this._renderNode(h.content),this._hangingParagraph=!1;break;case g.ParamCollection:var S=e;this._renderNodes(S.blocks);break;case g.PlainText:var f=e;this._writeContent(f.text);break}},n.prototype._renderInlineTag=function(e,t){this._writeContent("{"),this._writeContent(e.tagName),t(),this._writeContent("}")},n.prototype._renderNodes=function(e){for(var t=0,r=e;t1){for(var r=!0,i=0,o=t;i0?this.params:void 0,this.typeParams.count>0?this.typeParams:void 0,this.returnsBlock],this.customBlocks,!0),this.seeBlocks,!0),[this.inheritDocTag],!1),this.modifierTagSet.nodes,!0)},e.prototype.emitAsTsdoc=function(){var t=new st,r=new ct;return r.renderComment(t,this),t.toString()},e}(T);var Ma=function(){var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(r[o]=i[o])},n(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}}(),Ba=function(n,e,t){if(t||arguments.length===2)for(var r=0,i=e.length,o;r=t},n._scanTextContent=function(e,t,r){for(var i=0,o=e;i=t||(r+=n._scanTextContent(a.getChildNodes(),t,r),r>=t))break}return r},n._countNonSpaceCharacters=function(e){for(var t=0,r=e.length,i=0;ithis.buffer.length)return{line:0,column:0};for(var t=1,r=1,i=0;ithis.buffer.length)throw new Error("TextRange.pos cannot exceed the associated text buffer length");if(this.end>this.buffer.length)throw new Error("TextRange.end cannot exceed the associated text buffer length")},n.empty=new n("",0,0),n}();var mn=function(){function n(e){this.messageId=e.messageId,this.unformattedText=e.messageText,this.textRange=e.textRange,this.tokenSequence=e.tokenSequence,this.docNode=e.docNode,this._text=void 0}return n._formatMessageText=function(e,t){if(e||(e="An unknown error occurred"),t.pos!==0||t.end!==0){var r=t.getLocation(t.pos);if(r.line)return"(".concat(r.line,",").concat(r.column,"): ")+e}return e},Object.defineProperty(n.prototype,"text",{get:function(){return this._text===void 0&&(this._text=n._formatMessageText(this.unformattedText,this.textRange)),this._text},enumerable:!1,configurable:!0}),n.prototype.toString=function(){return this.text},n}();var Br=function(){function n(){this._messages=[]}return Object.defineProperty(n.prototype,"messages",{get:function(){return this._messages},enumerable:!1,configurable:!0}),n.prototype.addMessage=function(e){this._messages.push(e)},n.prototype.addMessageForTextRange=function(e,t,r){this.addMessage(new mn({messageId:e,messageText:t,textRange:r}))},n.prototype.addMessageForTokenSequence=function(e,t,r,i){this.addMessage(new mn({messageId:e,messageText:t,textRange:r.getContainingTextRange(),tokenSequence:r,docNode:i}))},n.prototype.addMessageForDocErrorText=function(e){var t;e.textExcerpt?t=e.textExcerpt:t=e.errorLocation,this.addMessage(new mn({messageId:e.messageId,messageText:e.errorMessage,textRange:t.getContainingTextRange(),tokenSequence:t,docNode:e}))},n}();var Fr=function(){function n(e,t){this.commentRange=We.empty,this.lines=[],this.tokens=[],this.configuration=e,this.sourceRange=t,this.docComment=new Rn({configuration:this.configuration}),this.log=new Br}return n}();var xt=function(){function n(e){this.parserContext=e.parserContext,this._startIndex=e.startIndex,this._endIndex=e.endIndex,this._validateBounds()}return n.createEmpty=function(e){return new n({parserContext:e,startIndex:0,endIndex:0})},Object.defineProperty(n.prototype,"startIndex",{get:function(){return this._startIndex},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"endIndex",{get:function(){return this._endIndex},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"tokens",{get:function(){return this.parserContext.tokens.slice(this._startIndex,this._endIndex)},enumerable:!1,configurable:!0}),n.prototype.getNewSequence=function(e,t){return new n({parserContext:this.parserContext,startIndex:e,endIndex:t})},n.prototype.getContainingTextRange=function(){return this.isEmpty()?We.empty:this.parserContext.sourceRange.getNewRange(this.parserContext.tokens[this._startIndex].range.pos,this.parserContext.tokens[this._endIndex-1].range.end)},n.prototype.isEmpty=function(){return this._startIndex===this._endIndex},n.prototype.toString=function(){return this.tokens.map(function(e){return e.toString()}).join("")},n.prototype._validateBounds=function(){if(this.startIndex<0)throw new Error("TokenSequence.startIndex cannot be negative");if(this.endIndex<0)throw new Error("TokenSequence.endIndex cannot be negative");if(this.endIndexthis.parserContext.tokens.length)throw new Error("TokenSequence.startIndex cannot exceed the associated token array");if(this.endIndex>this.parserContext.tokens.length)throw new Error("TokenSequence.endIndex cannot exceed the associated token array")},n}();var pe;(function(n){n[n.BeginComment1=0]="BeginComment1",n[n.BeginComment2=1]="BeginComment2",n[n.CollectingFirstLine=2]="CollectingFirstLine",n[n.CollectingLine=3]="CollectingLine",n[n.AdvancingLine=4]="AdvancingLine",n[n.Done=5]="Done"})(pe||(pe={}));var Xi=function(){function n(){}return n.extract=function(e){for(var t=e.sourceRange,r=t.buffer,i=0,o=0,a=0,l=0,c=t.pos,d=pe.BeginComment1,m=[];d!==pe.Done;){if(c>=t.end)switch(d){case pe.BeginComment1:case pe.BeginComment2:return e.log.addMessageForTextRange(v.CommentNotFound,'Expecting a "/**" comment',t),!1;default:return e.log.addMessageForTextRange(v.CommentMissingClosingDelimiter,"Unexpected end of input",t),!1}var y=r[c],b=c;++c;var E=ca)&&m.push(t.getNewRange(a,l)),a=c,l=c,d=pe.AdvancingLine):y==="*"&&E==="/"?(l>a&&m.push(t.getNewRange(a,l)),a=0,l=0,++c,o=c,d=pe.Done):n._whitespaceCharacterRegExp.test(y)||(l=c);break;case pe.AdvancingLine:y==="*"?E==="/"?(a=0,l=0,++c,o=c,d=pe.Done):(E===" "&&++c,a=c,l=c,d=pe.CollectingLine):y===` +`?(m.push(t.getNewRange(b,b)),a=c):n._whitespaceCharacterRegExp.test(y)||(l=c,d=pe.CollectingLine);break}}return e.commentRange=t.getNewRange(i,o),e.lines=m,!0},n._whitespaceCharacterRegExp=/^\s$/,n}();var gn=function(){function n(){}return n.readTokens=function(e){n._ensureInitialized();for(var t=[],r=void 0,i=0,o=e;i":u.GreaterThan,"=":u.Equals,"'":u.SingleQuote,'"':u.DoubleQuote,"/":u.Slash,"-":u.Hyphen,"@":u.AtSign,"{":u.LeftCurlyBracket,"}":u.RightCurlyBracket,"`":u.Backtick,".":u.Period,":":u.Colon,",":u.Comma,"[":u.LeftSquareBracket,"]":u.RightSquareBracket,"|":u.Pipe,"(":u.LeftParenthesis,")":u.RightParenthesis,"#":u.PoundSymbol,"+":u.Plus,$:u.DollarSign},o=0,a=Object.getOwnPropertyNames(i);o?@[\\]^`{|}~",n._wordCharacters="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_",n}();var Ir=function(){function n(e,t){if(this._parserContext=e,this.tokens=e.tokens,t){if(t.parserContext!==this._parserContext)throw new Error("The embeddedTokenSequence must use the same parser context");this._readerStartIndex=t.startIndex,this._readerEndIndex=t.endIndex}else this._readerStartIndex=0,this._readerEndIndex=this.tokens.length;this._currentIndex=this._readerStartIndex,this._accumulatedStartIndex=this._readerStartIndex}return n.prototype.extractAccumulatedSequence=function(){if(this._accumulatedStartIndex===this._currentIndex)throw new Error("Parser assertion failed: The queue should not be empty when extractAccumulatedSequence() is called");var e=new xt({parserContext:this._parserContext,startIndex:this._accumulatedStartIndex,endIndex:this._currentIndex});return this._accumulatedStartIndex=this._currentIndex,e},n.prototype.isAccumulatedSequenceEmpty=function(){return this._accumulatedStartIndex===this._currentIndex},n.prototype.tryExtractAccumulatedSequence=function(){if(!this.isAccumulatedSequenceEmpty())return this.extractAccumulatedSequence()},n.prototype.assertAccumulatedSequenceIsEmpty=function(){if(!this.isAccumulatedSequenceEmpty()){var e=new xt({parserContext:this._parserContext,startIndex:this._accumulatedStartIndex,endIndex:this._currentIndex}),t=e.tokens.map(function(r){return r.toString()});throw new Error(`Parser assertion failed: The queue should be empty, but it contains: +`+JSON.stringify(t))}},n.prototype.peekToken=function(){return this.tokens[this._currentIndex]},n.prototype.peekTokenKind=function(){return this._currentIndex>=this._readerEndIndex?u.EndOfInput:this.tokens[this._currentIndex].kind},n.prototype.peekTokenAfterKind=function(){return this._currentIndex+1>=this._readerEndIndex?u.EndOfInput:this.tokens[this._currentIndex+1].kind},n.prototype.peekTokenAfterAfterKind=function(){return this._currentIndex+2>=this._readerEndIndex?u.EndOfInput:this.tokens[this._currentIndex+2].kind},n.prototype.readToken=function(){if(this._currentIndex>=this._readerEndIndex)throw new Error("Cannot read past end of stream");var e=this.tokens[this._currentIndex];if(e.kind===u.EndOfInput)throw new Error("The EndOfInput token cannot be read");return this._currentIndex++,e},n.prototype.peekPreviousTokenKind=function(){return this._currentIndex===0?u.EndOfInput:this.tokens[this._currentIndex-1].kind},n.prototype.createMarker=function(){return this._currentIndex},n.prototype.backtrackToMarker=function(e){if(e>this._currentIndex)throw new Error("The marker has expired");this._currentIndex=e,e" character should be escaped using a backslash to avoid confusion with an HTML tag'));break;case u.Backtick:this._pushAccumulatedPlainText(e),e.peekTokenAfterKind()===u.Backtick&&e.peekTokenAfterAfterKind()===u.Backtick?this._pushNode(this._parseFencedCode(e)):this._pushNode(this._parseCodeSpan(e));break;default:e.readToken();break}this._pushAccumulatedPlainText(e),this._performValidationChecks()},n.prototype._performValidationChecks=function(){var e=this._parserContext.docComment;e.deprecatedBlock&&(or.hasAnyTextContent(e.deprecatedBlock)||this._parserContext.log.addMessageForTokenSequence(v.MissingDeprecationMessage,"The ".concat(e.deprecatedBlock.blockTag.tagName," block must include a deprecation message,")+" e.g. describing the recommended alternative",e.deprecatedBlock.blockTag.getTokenSequence(),e.deprecatedBlock)),e.inheritDocTag&&(e.remarksBlock&&this._parserContext.log.addMessageForTokenSequence(v.InheritDocIncompatibleTag,'A "'.concat(e.remarksBlock.blockTag.tagName,'" block must not be used, because that')+" content is provided by the @inheritDoc tag",e.remarksBlock.blockTag.getTokenSequence(),e.remarksBlock.blockTag),or.hasAnyTextContent(e.summarySection)&&this._parserContext.log.addMessageForTextRange(v.InheritDocIncompatibleSummary,"The summary section must not have any content, because that content is provided by the @inheritDoc tag",this._parserContext.commentRange))},n.prototype._validateTagDefinition=function(e,t,r,i,o){if(e){var a=e.syntaxKind===R.InlineTag;a!==r?r?this._parserContext.log.addMessageForTokenSequence(v.TagShouldNotHaveBraces,'The TSDoc tag "'.concat(t,'" is not an inline tag; it must not be enclosed in "{ }" braces'),i,o):this._parserContext.log.addMessageForTokenSequence(v.InlineTagMissingBraces,'The TSDoc tag "'.concat(t,'" is an inline tag; it must be enclosed in "{ }" braces'),i,o):this._parserContext.configuration.validation.reportUnsupportedTags&&(this._parserContext.configuration.isTagSupported(e)||this._parserContext.log.addMessageForTokenSequence(v.UnsupportedTag,'The TSDoc tag "'.concat(t,'" is not supported by this tool'),i,o))}else this._parserContext.configuration.validation.ignoreUndefinedTags||this._parserContext.log.addMessageForTokenSequence(v.UndefinedTag,'The TSDoc tag "'.concat(t,'" is not defined in this configuration'),i,o)},n.prototype._pushAccumulatedPlainText=function(e){e.isAccumulatedSequenceEmpty()||this._pushNode(new Ge({parsed:!0,configuration:this._configuration,textExcerpt:e.extractAccumulatedSequence()}))},n.prototype._parseAndPushBlock=function(e){var t=this._parserContext.docComment,r=this._parserContext.configuration,i=t.modifierTagSet,o=this._parseBlockTag(e);if(o.kind!==g.BlockTag){this._pushNode(o);return}var a=o,l=r.tryGetTagDefinitionWithUpperCase(a.tagNameWithUpperCase);if(this._validateTagDefinition(l,a.tagName,!1,a.getTokenSequence(),a),l)switch(l.syntaxKind){case R.BlockTag:if(a.tagNameWithUpperCase===G.param.tagNameWithUpperCase){var c=this._parseParamBlock(e,a,G.param.tagName);this._parserContext.docComment.params.add(c),this._currentSection=c.content;return}else if(a.tagNameWithUpperCase===G.typeParam.tagNameWithUpperCase){var c=this._parseParamBlock(e,a,G.typeParam.tagName);this._parserContext.docComment.typeParams.add(c),this._currentSection=c.content;return}else{var d=new Gt({configuration:this._configuration,blockTag:a});this._addBlockToDocComment(d),this._currentSection=d.content}return;case R.ModifierTag:i.addTag(a);return}this._pushNode(a)},n.prototype._addBlockToDocComment=function(e){var t=this._parserContext.docComment;switch(e.blockTag.tagNameWithUpperCase){case G.remarks.tagNameWithUpperCase:t.remarksBlock=e;break;case G.privateRemarks.tagNameWithUpperCase:t.privateRemarks=e;break;case G.deprecated.tagNameWithUpperCase:t.deprecatedBlock=e;break;case G.returns.tagNameWithUpperCase:t.returnsBlock=e;break;case G.see.tagNameWithUpperCase:t._appendSeeBlock(e);break;default:t.appendCustomBlock(e)}},n.prototype._tryParseJSDocTypeOrValueRest=function(e,t,r,i){for(var o,a=1;a>0;){var l=e.peekTokenKind();switch(l){case t:o===void 0&&a++;break;case r:o===void 0&&a--;break;case u.Backslash:o!==void 0&&(e.readToken(),l=e.peekTokenKind());break;case u.DoubleQuote:case u.SingleQuote:case u.Backtick:o===l?o=void 0:o===void 0&&(o=l);break}if(l===u.EndOfInput){e.backtrackToMarker(i);return}e.readToken()}return e.tryExtractAccumulatedSequence()},n.prototype._tryParseUnsupportedJSDocType=function(e,t,r){if(e.assertAccumulatedSequenceIsEmpty(),!(e.peekTokenKind()!==u.LeftCurlyBracket||e.peekTokenAfterKind()===u.AtSign)){var i=e.createMarker();e.readToken();var o=this._tryParseJSDocTypeOrValueRest(e,u.LeftCurlyBracket,u.RightCurlyBracket,i);if(o){this._parserContext.log.addMessageForTokenSequence(v.ParamTagWithInvalidType,"The "+r+" block should not include a JSDoc-style '{type}'",o,t);var a=this._tryReadSpacingAndNewlines(e);a&&(o=o.getNewSequence(o.startIndex,a.endIndex))}return o}},n.prototype._tryParseJSDocOptionalNameRest=function(e){if(e.assertAccumulatedSequenceIsEmpty(),e.peekTokenKind()!==u.EndOfInput){var t=e.createMarker();return this._tryParseJSDocTypeOrValueRest(e,u.LeftSquareBracket,u.RightSquareBracket,t)}},n.prototype._parseParamBlock=function(e,t,r){var i=e.createMarker(),o=this._tryReadSpacingAndNewlines(e),a=this._tryParseUnsupportedJSDocType(e,t,r),l;e.peekTokenKind()===u.LeftSquareBracket&&(e.readToken(),l=e.extractAccumulatedSequence());for(var c="",d=!1;!d;)switch(e.peekTokenKind()){case u.AsciiWord:case u.Period:case u.DollarSign:c+=e.readToken();break;default:d=!0;break}var m=re.explainIfInvalidUnquotedIdentifier(c);if(m!==void 0){e.backtrackToMarker(i);var y=new dn({configuration:this._configuration,blockTag:t,parameterName:""}),b=c.length>0?"The "+r+" block should be followed by a valid parameter name: "+m:"The "+r+" block should be followed by a parameter name";return this._parserContext.log.addMessageForTokenSequence(v.ParamTagWithInvalidName,b,t.getTokenSequence(),t),y}var E=e.extractAccumulatedSequence(),P;if(l){P=this._tryParseJSDocOptionalNameRest(e);var k=l;P&&(k=t.getTokenSequence().getNewSequence(l.startIndex,P.endIndex)),this._parserContext.log.addMessageForTokenSequence(v.ParamTagWithInvalidOptionalName,"The "+r+" should not include a JSDoc-style optional name; it must not be enclosed in '[ ]' brackets.",k,t)}var w=this._tryReadSpacingAndNewlines(e),M=this._tryParseUnsupportedJSDocType(e,t,r),$,K,C;return e.peekTokenKind()===u.Hyphen?(e.readToken(),$=e.extractAccumulatedSequence(),K=this._tryReadSpacingAndNewlines(e),C=this._tryParseUnsupportedJSDocType(e,t,r)):this._parserContext.log.addMessageForTokenSequence(v.ParamTagMissingHyphen,"The "+r+" block should be followed by a parameter name and then a hyphen",t.getTokenSequence(),t),new dn({parsed:!0,configuration:this._configuration,blockTag:t,spacingBeforeParameterNameExcerpt:o,unsupportedJsdocTypeBeforeParameterNameExcerpt:a,unsupportedJsdocOptionalNameOpenBracketExcerpt:l,parameterNameExcerpt:E,parameterName:c,unsupportedJsdocOptionalNameRestExcerpt:P,spacingAfterParameterNameExcerpt:w,unsupportedJsdocTypeAfterParameterNameExcerpt:M,hyphenExcerpt:$,spacingAfterHyphenExcerpt:K,unsupportedJsdocTypeAfterHyphenExcerpt:C})},n.prototype._pushNode=function(e){this._configuration.docNodeManager.isAllowedChild(g.Paragraph,e.kind)?this._currentSection.appendNodeInParagraph(e):this._currentSection.appendNode(e)},n.prototype._parseBackslashEscape=function(e){e.assertAccumulatedSequenceIsEmpty();var t=e.createMarker();if(e.readToken(),e.peekTokenKind()===u.EndOfInput)return this._backtrackAndCreateError(e,t,v.UnnecessaryBackslash,"A backslash must precede another character that is being escaped");var r=e.readToken();if(!gn.isPunctuation(r.kind))return this._backtrackAndCreateError(e,t,v.UnnecessaryBackslash,"A backslash can only be used to escape a punctuation character");var i=e.extractAccumulatedSequence();return new Un({parsed:!0,configuration:this._configuration,escapeStyle:ir.CommonMarkBackslash,encodedTextExcerpt:i,decodedText:r.toString()})},n.prototype._parseBlockTag=function(e){e.assertAccumulatedSequenceIsEmpty();var t=e.createMarker();if(e.peekTokenKind()!==u.AtSign)return this._backtrackAndCreateError(e,t,v.MissingTag,'Expecting a TSDoc tag starting with "@"');switch(e.peekPreviousTokenKind()){case u.EndOfInput:case u.Spacing:case u.Newline:break;default:return this._backtrackAndCreateError(e,t,v.AtSignInWord,'The "@" character looks like part of a TSDoc tag; use a backslash to escape it')}var r=e.readToken().toString();if(e.peekTokenKind()!==u.AsciiWord)return this._backtrackAndCreateError(e,t,v.AtSignWithoutTagName,'Expecting a TSDoc tag name after "@"; if it is not a tag, use a backslash to escape this character');for(var i=e.createMarker();e.peekTokenKind()===u.AsciiWord;)r+=e.readToken().toString();switch(e.peekTokenKind()){case u.Spacing:case u.Newline:case u.EndOfInput:break;default:var o=e.peekToken().range.toString()[0];return this._backtrackAndCreateError(e,t,v.CharactersAfterBlockTag,'The token "'.concat(r,'" looks like a TSDoc tag but contains an invalid character')+" ".concat(JSON.stringify(o),'; if it is not a tag, use a backslash to escape the "@"'))}if(re.explainIfInvalidTSDocTagName(r)){var a=this._createFailureForTokensSince(e,v.MalformedTagName,"A TSDoc tag name must start with a letter and contain only letters and numbers",i);return this._backtrackAndCreateErrorForFailure(e,t,"",a)}return new $n({parsed:!0,configuration:this._configuration,tagName:r,tagNameExcerpt:e.extractAccumulatedSequence()})},n.prototype._parseInlineTag=function(e){e.assertAccumulatedSequenceIsEmpty();var t=e.createMarker();if(e.peekTokenKind()!==u.LeftCurlyBracket)return this._backtrackAndCreateError(e,t,v.MissingTag,'Expecting a TSDoc tag starting with "{"');e.readToken();var r=e.extractAccumulatedSequence(),i=e.createMarker();if(e.peekTokenKind()!==u.AtSign)return this._backtrackAndCreateError(e,t,v.MalformedInlineTag,'Expecting a TSDoc tag starting with "{@"');for(var o=e.readToken().toString();e.peekTokenKind()===u.AsciiWord;)o+=e.readToken().toString();if(o==="@"){var a=this._createFailureForTokensSince(e,v.MalformedInlineTag,'Expecting a TSDoc inline tag name after the "{@" characters',i);return this._backtrackAndCreateErrorRangeForFailure(e,t,i,"",a)}if(re.explainIfInvalidTSDocTagName(o)){var a=this._createFailureForTokensSince(e,v.MalformedTagName,"A TSDoc tag name must start with a letter and contain only letters and numbers",i);return this._backtrackAndCreateErrorRangeForFailure(e,t,i,"",a)}var l=e.extractAccumulatedSequence(),c=this._tryReadSpacingAndNewlines(e);if(c===void 0&&e.peekTokenKind()!==u.RightCurlyBracket){var d=e.peekToken().range.toString()[0],a=this._createFailureForToken(e,v.CharactersAfterInlineTag,"The character ".concat(JSON.stringify(d)," cannot appear after the TSDoc tag name; expecting a space"));return this._backtrackAndCreateErrorRangeForFailure(e,t,i,"",a)}for(var m=!1;!m;)switch(e.peekTokenKind()){case u.EndOfInput:return this._backtrackAndCreateErrorRange(e,t,i,v.InlineTagMissingRightBrace,'The TSDoc inline tag name is missing its closing "}"');case u.Backslash:if(e.readToken(),!gn.isPunctuation(e.peekTokenKind())){var a=this._createFailureForToken(e,v.UnnecessaryBackslash,"A backslash can only be used to escape a punctuation character");return this._backtrackAndCreateErrorRangeForFailure(e,t,i,"Error reading inline TSDoc tag: ",a)}e.readToken();break;case u.LeftCurlyBracket:{var a=this._createFailureForToken(e,v.InlineTagUnescapedBrace,'The "{" character must be escaped with a backslash when used inside a TSDoc inline tag');return this._backtrackAndCreateErrorRangeForFailure(e,t,i,"",a)}case u.RightCurlyBracket:m=!0;break;default:e.readToken();break}var y=e.tryExtractAccumulatedSequence();e.readToken();var b=e.extractAccumulatedSequence(),E={parsed:!0,configuration:this._configuration,openingDelimiterExcerpt:r,tagNameExcerpt:l,tagName:o,spacingAfterTagNameExcerpt:c,tagContentExcerpt:y,closingDelimiterExcerpt:b},P=o.toUpperCase(),k=new Ir(this._parserContext,y||xt.createEmpty(this._parserContext)),w;switch(P){case G.inheritDoc.tagNameWithUpperCase:w=this._parseInheritDocTag(E,k);break;case G.link.tagNameWithUpperCase:w=this._parseLinkTag(E,k);break;default:w=new Wt(E)}var M=this._parserContext.configuration.tryGetTagDefinitionWithUpperCase(P);return this._validateTagDefinition(M,o,!0,l,w),w},n.prototype._parseInheritDocTag=function(e,t){var r=new Wt(e),i=ar({},e);if(t.peekTokenKind()!==u.EndOfInput){if(i.declarationReference=this._parseDeclarationReference(t,e.tagNameExcerpt,r),!i.declarationReference)return r;if(t.peekTokenKind()!==u.EndOfInput)return t.readToken(),this._parserContext.log.addMessageForTokenSequence(v.InheritDocTagSyntax,"Unexpected character after declaration reference",t.extractAccumulatedSequence(),r),r}return new un(i)},n.prototype._parseLinkTag=function(e,t){var r=new Wt(e),i=ar({},e);if(!e.tagContentExcerpt)return this._parserContext.log.addMessageForTokenSequence(v.LinkTagEmpty,"The @link tag content is missing",i.tagNameExcerpt,r),r;for(var o=t.peekTokenKind()===u.Slash&&t.peekTokenAfterKind()===u.Slash,a=t.createMarker(),l=o;!l;)switch(t.peekTokenKind()){case u.AsciiWord:case u.Period:case u.Hyphen:case u.Plus:t.readToken();break;case u.Colon:t.readToken(),o=t.peekTokenKind()===u.Slash&&t.peekTokenAfterKind()===u.Slash,l=!0;break;default:l=!0}if(t.backtrackToMarker(a),o){if(!this._parseLinkTagUrlDestination(t,i,e.tagNameExcerpt,r))return r}else if(!this._parseLinkTagCodeDestination(t,i,e.tagNameExcerpt,r))return r;if(t.peekTokenKind()===u.Spacing)throw new Error("Unconsumed spacing encountered after construct");if(t.peekTokenKind()===u.Pipe){t.readToken(),i.pipeExcerpt=t.extractAccumulatedSequence(),i.spacingAfterPipeExcerpt=this._tryReadSpacingAndNewlines(t),l=!1;for(var c=void 0;!l;)switch(t.peekTokenKind()){case u.EndOfInput:l=!0;break;case u.Pipe:case u.LeftCurlyBracket:var d=t.readToken().toString();return this._parserContext.log.addMessageForTokenSequence(v.LinkTagUnescapedText,'The "'.concat(d,'" character may not be used in the link text without escaping it'),t.extractAccumulatedSequence(),r),r;case u.Spacing:case u.Newline:t.readToken();break;default:c=t.createMarker()+1,t.readToken()}var m=t.tryExtractAccumulatedSequence();m&&(c===void 0?i.spacingAfterLinkTextExcerpt=m:c>=m.endIndex?i.linkTextExcerpt=m:(i.linkTextExcerpt=m.getNewSequence(m.startIndex,c),i.spacingAfterLinkTextExcerpt=m.getNewSequence(c,m.endIndex)))}else if(t.peekTokenKind()!==u.EndOfInput)return t.readToken(),this._parserContext.log.addMessageForTokenSequence(v.LinkTagDestinationSyntax,"Unexpected character after link destination",t.extractAccumulatedSequence(),r),r;return new Jn(i)},n.prototype._parseLinkTagUrlDestination=function(e,t,r,i){for(var o="",a=!1;!a;)switch(e.peekTokenKind()){case u.Spacing:case u.Newline:case u.EndOfInput:case u.Pipe:case u.RightCurlyBracket:a=!0;break;default:o+=e.readToken();break}if(o.length===0)throw new Error("Missing URL in _parseLinkTagUrlDestination()");var l=e.extractAccumulatedSequence(),c=re.explainIfInvalidLinkUrl(o);return c?(this._parserContext.log.addMessageForTokenSequence(v.LinkTagInvalidUrl,c,l,i),!1):(t.urlDestinationExcerpt=l,t.spacingAfterDestinationExcerpt=this._tryReadSpacingAndNewlines(e),!0)},n.prototype._parseLinkTagCodeDestination=function(e,t,r,i){return t.codeDestination=this._parseDeclarationReference(e,r,i),!!t.codeDestination},n.prototype._parseDeclarationReference=function(e,t,r){e.assertAccumulatedSequenceIsEmpty();for(var i=e.createMarker(),o=!1,a=!0,l=!1,c=!1;!c;)switch(e.peekTokenKind()){case u.DoubleQuote:case u.EndOfInput:case u.LeftCurlyBracket:case u.LeftParenthesis:case u.LeftSquareBracket:case u.Newline:case u.Pipe:case u.RightCurlyBracket:case u.RightParenthesis:case u.RightSquareBracket:case u.SingleQuote:case u.Spacing:c=!0;break;case u.PoundSymbol:o=!0,c=!0;break;case u.Slash:case u.AtSign:a&&(l=!0),e.readToken();break;case u.AsciiWord:case u.Period:case u.Hyphen:e.readToken();break;default:a=!1,e.readToken()}if(!o&&l){this._parserContext.log.addMessageForTokenSequence(v.ReferenceMissingHash,'The declaration reference appears to contain a package name or import path, but it is missing the "#" delimiter',e.extractAccumulatedSequence(),r);return}e.backtrackToMarker(i);var d,m,y,b;if(o){if(e.peekTokenKind()!==u.Period){var E=e.peekTokenKind()===u.AtSign,P=!1;for(c=!1;!c;)switch(e.peekTokenKind()){case u.EndOfInput:throw new Error("Expecting pound symbol");case u.Slash:E&&!P?(e.readToken(),P=!0):c=!0;break;case u.PoundSymbol:c=!0;break;default:e.readToken()}if(!e.isAccumulatedSequenceEmpty()){d=e.extractAccumulatedSequence();var k=re.explainIfInvalidPackageName(d.toString());if(k){this._parserContext.log.addMessageForTokenSequence(v.ReferenceMalformedPackageName,k,d,r);return}}}for(c=!1;!c;)switch(e.peekTokenKind()){case u.EndOfInput:throw new Error("Expecting pound symbol");case u.PoundSymbol:c=!0;break;default:e.readToken()}if(!e.isAccumulatedSequenceEmpty()){m=e.extractAccumulatedSequence();var k=re.explainIfInvalidImportPath(m.toString(),!!d);if(k){this._parserContext.log.addMessageForTokenSequence(v.ReferenceMalformedImportPath,k,m,r);return}}if(e.peekTokenKind()!==u.PoundSymbol)throw new Error("Expecting pound symbol");if(e.readToken(),y=e.extractAccumulatedSequence(),b=this._tryReadSpacingAndNewlines(e),d===void 0&&m===void 0){this._parserContext.log.addMessageForTokenSequence(v.ReferenceHashSyntax,"The hash character must be preceded by a package name or import path",y,r);return}}var w=[];for(c=!1;!c;)switch(e.peekTokenKind()){case u.Period:case u.LeftParenthesis:case u.AsciiWord:case u.Colon:case u.LeftSquareBracket:case u.DoubleQuote:var M=w.length>0,$=this._parseMemberReference(e,M,t,r);if(!$)return;w.push($);break;default:c=!0}if(d===void 0&&m===void 0&&w.length===0){this._parserContext.log.addMessageForTokenSequence(v.MissingReference,"Expecting a declaration reference",t,r);return}return new Yn({parsed:!0,configuration:this._configuration,packageNameExcerpt:d,importPathExcerpt:m,importHashExcerpt:y,spacingAfterImportHashExcerpt:b,memberReferences:w})},n.prototype._parseMemberReference=function(e,t,r,i){var o={parsed:!0,configuration:this._configuration};if(t){if(e.peekTokenKind()!==u.Period){this._parserContext.log.addMessageForTokenSequence(v.ReferenceMissingDot,"Expecting a period before the next component of a declaration reference",r,i);return}e.readToken(),o.dotExcerpt=e.extractAccumulatedSequence(),o.spacingAfterDotExcerpt=this._tryReadSpacingAndNewlines(e)}if(e.peekTokenKind()===u.LeftParenthesis&&(e.readToken(),o.leftParenthesisExcerpt=e.extractAccumulatedSequence(),o.spacingAfterLeftParenthesisExcerpt=this._tryReadSpacingAndNewlines(e)),e.peekTokenKind()===u.LeftSquareBracket){if(o.memberSymbol=this._parseMemberSymbol(e,i),!o.memberSymbol)return}else if(o.memberIdentifier=this._parseMemberIdentifier(e,r,i),!o.memberIdentifier)return;if(o.spacingAfterMemberExcerpt=this._tryReadSpacingAndNewlines(e),e.peekTokenKind()===u.Colon){if(e.readToken(),o.colonExcerpt=e.extractAccumulatedSequence(),o.spacingAfterColonExcerpt=this._tryReadSpacingAndNewlines(e),!o.leftParenthesisExcerpt){this._parserContext.log.addMessageForTokenSequence(v.ReferenceSelectorMissingParens,"Syntax error in declaration reference: the member selector must be enclosed in parentheses",o.colonExcerpt,i);return}if(o.selector=this._parseMemberSelector(e,o.colonExcerpt,i),!o.selector)return;o.spacingAfterSelectorExcerpt=this._tryReadSpacingAndNewlines(e)}else if(o.leftParenthesisExcerpt){this._parserContext.log.addMessageForTokenSequence(v.ReferenceMissingColon,"Expecting a colon after the identifier because the expression is in parentheses",o.leftParenthesisExcerpt,i);return}if(o.leftParenthesisExcerpt){if(e.peekTokenKind()!==u.RightParenthesis){this._parserContext.log.addMessageForTokenSequence(v.ReferenceMissingRightParen,"Expecting a matching right parenthesis",o.leftParenthesisExcerpt,i);return}e.readToken(),o.rightParenthesisExcerpt=e.extractAccumulatedSequence(),o.spacingAfterRightParenthesisExcerpt=this._tryReadSpacingAndNewlines(e)}return new Qn(o)},n.prototype._parseMemberSymbol=function(e,t){if(e.peekTokenKind()!==u.LeftSquareBracket)throw new Error('Expecting "["');e.readToken();var r=e.extractAccumulatedSequence(),i=this._tryReadSpacingAndNewlines(e),o=this._parseDeclarationReference(e,r,t);if(!o){this._parserContext.log.addMessageForTokenSequence(v.ReferenceSymbolSyntax,"Missing declaration reference in symbol reference",r,t);return}if(e.peekTokenKind()!==u.RightSquareBracket){this._parserContext.log.addMessageForTokenSequence(v.ReferenceMissingRightBracket,"Missing closing square bracket for symbol reference",r,t);return}e.readToken();var a=e.extractAccumulatedSequence();return new Zn({parsed:!0,configuration:this._configuration,leftBracketExcerpt:r,spacingAfterLeftBracketExcerpt:i,symbolReference:o,rightBracketExcerpt:a})},n.prototype._parseMemberIdentifier=function(e,t,r){var i=void 0,o=void 0;if(e.peekTokenKind()===u.DoubleQuote){for(e.readToken(),i=e.extractAccumulatedSequence();e.peekTokenKind()!==u.DoubleQuote;){if(e.peekTokenKind()===u.EndOfInput){this._parserContext.log.addMessageForTokenSequence(v.ReferenceMissingQuote,"Unexpected end of input inside quoted member identifier",i,r);return}e.readToken()}if(e.isAccumulatedSequenceEmpty()){this._parserContext.log.addMessageForTokenSequence(v.ReferenceEmptyIdentifier,"The quoted identifier cannot be empty",i,r);return}var a=e.extractAccumulatedSequence();return e.readToken(),o=e.extractAccumulatedSequence(),new fn({parsed:!0,configuration:this._configuration,leftQuoteExcerpt:i,identifierExcerpt:a,rightQuoteExcerpt:o})}else{for(var l=!1;!l;)switch(e.peekTokenKind()){case u.AsciiWord:case u.DollarSign:e.readToken();break;default:l=!0;break}if(e.isAccumulatedSequenceEmpty()){this._parserContext.log.addMessageForTokenSequence(v.ReferenceMissingIdentifier,"Syntax error in declaration reference: expecting a member identifier",t,r);return}var a=e.extractAccumulatedSequence(),c=a.toString(),d=re.explainIfInvalidUnquotedMemberIdentifier(c);if(d){this._parserContext.log.addMessageForTokenSequence(v.ReferenceUnquotedIdentifier,d,a,r);return}return new fn({parsed:!0,configuration:this._configuration,leftQuoteExcerpt:i,identifierExcerpt:a,rightQuoteExcerpt:o})}},n.prototype._parseMemberSelector=function(e,t,r){e.peekTokenKind()!==u.AsciiWord&&this._parserContext.log.addMessageForTokenSequence(v.ReferenceMissingLabel,"Expecting a selector label after the colon",t,r);var i=e.readToken().toString(),o=e.extractAccumulatedSequence(),a=new Xn({parsed:!0,configuration:this._configuration,selectorExcerpt:o,selector:i});if(a.errorMessage){this._parserContext.log.addMessageForTokenSequence(v.ReferenceSelectorSyntax,a.errorMessage,o,r);return}return a},n.prototype._parseHtmlStartTag=function(e){e.assertAccumulatedSequenceIsEmpty();var t=e.createMarker(),r=e.readToken();if(r.kind!==u.LessThan)throw new Error('Expecting an HTML tag starting with "<"');var i=e.extractAccumulatedSequence(),o=this._parseHtmlName(e);if(hn(o))return this._backtrackAndCreateErrorForFailure(e,t,"Invalid HTML element: ",o);for(var a=this._tryReadSpacingAndNewlines(e),l=[];e.peekTokenKind()===u.AsciiWord;){var c=this._parseHtmlAttribute(e);if(hn(c))return this._backtrackAndCreateErrorForFailure(e,t,"The HTML element has an invalid attribute: ",c);l.push(c)}e.assertAccumulatedSequenceIsEmpty();var d=e.createMarker(),m=!1;if(e.peekTokenKind()===u.Slash&&(e.readToken(),m=!0),e.peekTokenKind()!==u.GreaterThan){var y=this._createFailureForTokensSince(e,v.HtmlTagMissingGreaterThan,'Expecting an attribute or ">" or "/>"',d);return this._backtrackAndCreateErrorForFailure(e,t,"The HTML tag has invalid syntax: ",y)}e.readToken();var b=e.extractAccumulatedSequence();return new zn({parsed:!0,configuration:this._configuration,openingDelimiterExcerpt:i,nameExcerpt:o,spacingAfterNameExcerpt:a,htmlAttributes:l,selfClosingTag:m,closingDelimiterExcerpt:b})},n.prototype._parseHtmlAttribute=function(e){e.assertAccumulatedSequenceIsEmpty();var t=this._parseHtmlName(e);if(hn(t))return t;var r=this._tryReadSpacingAndNewlines(e);if(e.peekTokenKind()!==u.Equals)return this._createFailureForToken(e,v.HtmlTagMissingEquals,'Expecting "=" after HTML attribute name');e.readToken();var i=e.extractAccumulatedSequence(),o=this._tryReadSpacingAndNewlines(e),a=this._parseHtmlString(e);if(hn(a))return a;var l=e.extractAccumulatedSequence(),c=this._tryReadSpacingAndNewlines(e);return new Wn({parsed:!0,configuration:this._configuration,nameExcerpt:t,spacingAfterNameExcerpt:r,equalsExcerpt:i,spacingAfterEqualsExcerpt:o,valueExcerpt:l,spacingAfterValueExcerpt:c})},n.prototype._parseHtmlString=function(e){var t=e.createMarker(),r=e.peekTokenKind();if(r!==u.DoubleQuote&&r!==u.SingleQuote)return this._createFailureForToken(e,v.HtmlTagMissingString,"Expecting an HTML string starting with a single-quote or double-quote character");e.readToken();for(var i="";;){var o=e.peekTokenKind();if(o===r){e.readToken();break}if(o===u.EndOfInput||o===u.Newline)return this._createFailureForToken(e,v.HtmlStringMissingQuote,"The HTML string is missing its closing quote",t);i+=e.readToken().toString()}return e.peekTokenKind()===u.AsciiWord?this._createFailureForToken(e,v.TextAfterHtmlString,"The next character after a closing quote must be spacing or punctuation"):i},n.prototype._parseHtmlEndTag=function(e){e.assertAccumulatedSequenceIsEmpty();var t=e.createMarker(),r=e.peekToken();if(r.kind!==u.LessThan)return this._backtrackAndCreateError(e,t,v.MissingHtmlEndTag,'Expecting an HTML tag starting with "" for the HTML tag');return this._backtrackAndCreateErrorForFailure(e,t,"",c)}e.readToken();var d=e.extractAccumulatedSequence();return new Vn({parsed:!0,configuration:this._configuration,openingDelimiterExcerpt:o,nameExcerpt:a,spacingAfterNameExcerpt:l,closingDelimiterExcerpt:d})},n.prototype._parseHtmlName=function(e){var t=e.createMarker();if(e.peekTokenKind()===u.Spacing)return this._createFailureForTokensSince(e,v.MalformedHtmlName,"A space is not allowed here",t);for(var r=!1;!r;)switch(e.peekTokenKind()){case u.Hyphen:case u.Period:case u.AsciiWord:e.readToken();break;default:r=!0;break}var i=e.tryExtractAccumulatedSequence();if(!i)return this._createFailureForToken(e,v.MalformedHtmlName,"Expecting an HTML name");var o=i.toString(),a=re.explainIfInvalidHtmlName(o);return a?this._createFailureForTokensSince(e,v.MalformedHtmlName,a,t):this._configuration.validation.reportUnsupportedHtmlElements&&!this._configuration.isHtmlElementSupported(o)?this._createFailureForToken(e,v.UnsupportedHtmlElementName,"The HTML element name ".concat(JSON.stringify(o)," is not defined by your TSDoc configuration"),t):i},n.prototype._parseFencedCode=function(e){e.assertAccumulatedSequenceIsEmpty();var t=e.createMarker(),r=t+2;switch(e.peekPreviousTokenKind()){case u.Newline:case u.EndOfInput:break;default:return this._backtrackAndCreateErrorRange(e,t,r,v.CodeFenceOpeningIndent,"The opening backtick for a code fence must appear at the start of the line")}var i="";if(i+=e.readToken(),i+=e.readToken(),i+=e.readToken(),i!=="```")throw new Error("Expecting three backticks");for(var o=e.extractAccumulatedSequence();e.peekTokenKind()===u.Spacing;)e.readToken();for(var a=e.tryExtractAccumulatedSequence(),l=!1,c=void 0;!l;)switch(e.peekTokenKind()){case u.Spacing:case u.Newline:c===void 0&&(c=e.createMarker()),e.peekTokenKind()===u.Newline&&(l=!0),e.readToken();break;case u.Backtick:var d=this._createFailureForToken(e,v.CodeFenceSpecifierSyntax,"The language specifier cannot contain backtick characters");return this._backtrackAndCreateErrorRangeForFailure(e,t,r,"Error parsing code fence: ",d);case u.EndOfInput:var m=this._createFailureForToken(e,v.CodeFenceMissingDelimiter,"Missing closing delimiter");return this._backtrackAndCreateErrorRangeForFailure(e,t,r,"Error parsing code fence: ",m);default:c=void 0,e.readToken();break}var y=e.extractAccumulatedSequence(),b=y.getNewSequence(y.startIndex,c),E=y.getNewSequence(c,y.endIndex),P=-1,k=-1;l=!1;for(var w;!l;)switch(e.peekTokenKind()){case u.EndOfInput:var m=this._createFailureForToken(e,v.CodeFenceMissingDelimiter,"Missing closing delimiter");return this._backtrackAndCreateErrorRangeForFailure(e,t,r,"Error parsing code fence: ",m);case u.Newline:for(w=e.readToken(),P=e.createMarker();e.peekTokenKind()===u.Spacing;)w=e.readToken();if(e.peekTokenKind()!==u.Backtick||(k=e.createMarker(),e.readToken(),e.peekTokenKind()!==u.Backtick)||(e.readToken(),e.peekTokenKind()!==u.Backtick))break;e.readToken(),l=!0;break;default:e.readToken();break}w.kind!==u.Newline&&this._parserContext.log.addMessageForTextRange(v.CodeFenceClosingIndent,"The closing delimiter for a code fence must not be indented",w.range);var M=e.extractAccumulatedSequence(),$=M.getNewSequence(M.startIndex,P),K=M.getNewSequence(P,k),C=M.getNewSequence(k,M.endIndex);for(l=!1;!l;)switch(e.peekTokenKind()){case u.Spacing:e.readToken();break;case u.Newline:l=!0,e.readToken();break;case u.EndOfInput:l=!0;break;default:this._parserContext.log.addMessageForTextRange(v.CodeFenceClosingSyntax,"Unexpected characters after closing delimiter for code fence",e.peekToken().range),l=!0;break}var H=e.tryExtractAccumulatedSequence();return new Gn({parsed:!0,configuration:this._configuration,openingFenceExcerpt:o,spacingAfterOpeningFenceExcerpt:a,languageExcerpt:b,spacingAfterLanguageExcerpt:E,codeExcerpt:$,spacingBeforeClosingFenceExcerpt:K,closingFenceExcerpt:C,spacingAfterClosingFenceExcerpt:H})},n.prototype._parseCodeSpan=function(e){e.assertAccumulatedSequenceIsEmpty();var t=e.createMarker();if(e.peekTokenKind()!==u.Backtick)throw new Error('Expecting a code span starting with a backtick character "`"');e.readToken();for(var r=e.extractAccumulatedSequence(),i=void 0,o=void 0;;){var a=e.peekTokenKind();if(a===u.Backtick){if(e.isAccumulatedSequenceEmpty())return this._backtrackAndCreateErrorRange(e,t,t+1,v.CodeSpanEmpty,"A code span must contain at least one character between the backticks");i=e.extractAccumulatedSequence(),e.readToken(),o=e.extractAccumulatedSequence();break}if(a===u.EndOfInput||a===u.Newline)return this._backtrackAndCreateError(e,t,v.CodeSpanMissingDelimiter,"The code span is missing its closing backtick");e.readToken()}return new Kn({parsed:!0,configuration:this._configuration,openingDelimiterExcerpt:r,codeExcerpt:i,closingDelimiterExcerpt:o})},n.prototype._tryReadSpacingAndNewlines=function(e){var t=!1;do switch(e.peekTokenKind()){case u.Spacing:case u.Newline:e.readToken();break;default:t=!0;break}while(!t);return e.tryExtractAccumulatedSequence()},n.prototype._createError=function(e,t,r){e.readToken();var i=e.extractAccumulatedSequence(),o=new St({parsed:!0,configuration:this._configuration,textExcerpt:i,messageId:t,errorMessage:r,errorLocation:i});return this._parserContext.log.addMessageForDocErrorText(o),o},n.prototype._backtrackAndCreateError=function(e,t,r,i){return e.backtrackToMarker(t),this._createError(e,r,i)},n.prototype._backtrackAndCreateErrorRange=function(e,t,r,i,o){for(e.backtrackToMarker(t);e.createMarker()!==r;)e.readToken();e.peekTokenKind()!==u.EndOfInput&&e.readToken();var a=e.extractAccumulatedSequence(),l=new St({parsed:!0,configuration:this._configuration,textExcerpt:a,messageId:i,errorMessage:o,errorLocation:a});return this._parserContext.log.addMessageForDocErrorText(l),l},n.prototype._backtrackAndCreateErrorForFailure=function(e,t,r,i){e.backtrackToMarker(t),e.readToken();var o=e.extractAccumulatedSequence(),a=new St({parsed:!0,configuration:this._configuration,textExcerpt:o,messageId:i.failureMessageId,errorMessage:r+i.failureMessage,errorLocation:i.failureLocation});return this._parserContext.log.addMessageForDocErrorText(a),a},n.prototype._backtrackAndCreateErrorRangeForFailure=function(e,t,r,i,o){for(e.backtrackToMarker(t);e.createMarker()!==r;)e.readToken();e.peekTokenKind()!==u.EndOfInput&&e.readToken();var a=e.extractAccumulatedSequence(),l=new St({parsed:!0,configuration:this._configuration,textExcerpt:a,messageId:o.failureMessageId,errorMessage:i+o.failureMessage,errorLocation:o.failureLocation});return this._parserContext.log.addMessageForDocErrorText(l),l},n.prototype._createFailureForToken=function(e,t,r,i){i||(i=e.createMarker());var o=new xt({parserContext:this._parserContext,startIndex:i,endIndex:i+1});return{failureMessageId:t,failureMessage:r,failureLocation:o}},n.prototype._createFailureForTokensSince=function(e,t,r,i){var o=e.createMarker();if(osetTimeout(e,n))}function no(n){return n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function ro(){return/(<%(?:-|_)?\s*[*~]{0,1})\+((?:.|\s)*?%>)/g}function Za(n,e){e=(0,Ve.normalizePath)(e);let t=n.vault.getAbstractFileByPath(e);if(!t)throw new O(`Folder "${e}" doesn't exist`);if(!(t instanceof Ve.TFolder))throw new O(`${e} is a file, not a folder`);return t}function Dt(n,e){e=(0,Ve.normalizePath)(e);let t=n.vault.getAbstractFileByPath(e);if(!t)throw new O(`File "${e}" doesn't exist`);if(!(t instanceof Ve.TFile))throw new O(`${e} is a folder, not a file`);return t}function ze(n,e){let t=Za(n,e),r=[];return Ve.Vault.recurseChildren(t,i=>{i instanceof Ve.TFile&&r.push(i)}),r.sort((i,o)=>i.path.localeCompare(o.path)),r}async function io(n,e){return await Promise.all(e.map(async r=>{let i=await n.vault.cachedRead(r);return es(r,i)}))}function es(n,e){let r=new qr().parseString(e),i=new Lr(n);return i.description=ts(r.docComment.summarySection),i.returns=ns(r.docComment.returnsBlock),i.arguments=rs(r.docComment.params),i}function ts(n){try{return n.nodes.map(t=>t.getChildNodes().filter(r=>r instanceof Ge).map(r=>r.text).join(` +`)).join(` +`)}catch(e){throw console.error("Failed to parse sumamry section"),e}}function ns(n){if(!n)return"";try{return n.content.nodes[0].getChildNodes()[0].text.trim()}catch{return""}}function rs(n){try{return n.blocks.map(r=>{let i=r.parameterName,o=r.content.getChildNodes()[0].getChildNodes().filter(a=>a instanceof Ge).map(a=>a.text).join(" ");return new Hr(i,o)})}catch{return[]}}function Pt(n,e,t){if(t<0||t===n.length)return;let r=n[e];n[e]=n[t],n[t]=r}function Jt(n){return n.workspace.activeEditor?.file??n.workspace.getActiveFile()}function oo(n){let e=n.lastIndexOf("/");return e!==-1?n.slice(0,e):""}function $r(n){return n!==null&&typeof n=="object"}function ao(n){let e=n.toString(),t=e.indexOf("(");return e.substring(t+1,e.indexOf(")")).replace(/ /g,"").split(",")}function Kr(n,e,t){let r=n instanceof HTMLOListElement?"li":"p",i=n.createEl(r),o=n.createEl("b",{text:e});return i.appendChild(o),i.appendChild(document.createTextNode(`: ${t}`)),i}var Po=X(require("obsidian"));var Co=X(require("obsidian"));var ie="top",ue="bottom",ce="right",ae="left",sr="auto",yt=[ie,ue,ce,ae],lt="start",Nt="end",so="clippingParents",cr="viewport",Qt="popper",co="reference",Rr=yt.reduce(function(n,e){return n.concat([e+"-"+lt,e+"-"+Nt])},[]),lr=[].concat(yt,[sr]).reduce(function(n,e){return n.concat([e,e+"-"+lt,e+"-"+Nt])},[]),is="beforeRead",os="read",as="afterRead",ss="beforeMain",cs="main",ls="afterMain",ps="beforeWrite",us="write",fs="afterWrite",lo=[is,os,as,ss,cs,ls,ps,us,fs];function de(n){return n?(n.nodeName||"").toLowerCase():null}function Z(n){if(n==null)return window;if(n.toString()!=="[object Window]"){var e=n.ownerDocument;return e&&e.defaultView||window}return n}function De(n){var e=Z(n).Element;return n instanceof e||n instanceof Element}function fe(n){var e=Z(n).HTMLElement;return n instanceof e||n instanceof HTMLElement}function Xt(n){if(typeof ShadowRoot=="undefined")return!1;var e=Z(n).ShadowRoot;return n instanceof e||n instanceof ShadowRoot}function ds(n){var e=n.state;Object.keys(e.elements).forEach(function(t){var r=e.styles[t]||{},i=e.attributes[t]||{},o=e.elements[t];!fe(o)||!de(o)||(Object.assign(o.style,r),Object.keys(i).forEach(function(a){var l=i[a];l===!1?o.removeAttribute(a):o.setAttribute(a,l===!0?"":l)}))})}function ms(n){var e=n.state,t={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,t.popper),e.styles=t,e.elements.arrow&&Object.assign(e.elements.arrow.style,t.arrow),function(){Object.keys(e.elements).forEach(function(r){var i=e.elements[r],o=e.attributes[r]||{},a=Object.keys(e.styles.hasOwnProperty(r)?e.styles[r]:t[r]),l=a.reduce(function(c,d){return c[d]="",c},{});!fe(i)||!de(i)||(Object.assign(i.style,l),Object.keys(o).forEach(function(c){i.removeAttribute(c)}))})}}var po={name:"applyStyles",enabled:!0,phase:"write",fn:ds,effect:ms,requires:["computeStyles"]};function me(n){return n.split("-")[0]}var Fe=Math.max,Ot=Math.min,pt=Math.round;function Zt(){var n=navigator.userAgentData;return n!=null&&n.brands&&Array.isArray(n.brands)?n.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function _n(){return!/^((?!chrome|android).)*safari/i.test(Zt())}function Pe(n,e,t){e===void 0&&(e=!1),t===void 0&&(t=!1);var r=n.getBoundingClientRect(),i=1,o=1;e&&fe(n)&&(i=n.offsetWidth>0&&pt(r.width)/n.offsetWidth||1,o=n.offsetHeight>0&&pt(r.height)/n.offsetHeight||1);var a=De(n)?Z(n):window,l=a.visualViewport,c=!_n()&&t,d=(r.left+(c&&l?l.offsetLeft:0))/i,m=(r.top+(c&&l?l.offsetTop:0))/o,y=r.width/i,b=r.height/o;return{width:y,height:b,top:m,right:d+y,bottom:m+b,left:d,x:d,y:m}}function Mt(n){var e=Pe(n),t=n.offsetWidth,r=n.offsetHeight;return Math.abs(e.width-t)<=1&&(t=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:n.offsetLeft,y:n.offsetTop,width:t,height:r}}function xn(n,e){var t=e.getRootNode&&e.getRootNode();if(n.contains(e))return!0;if(t&&Xt(t)){var r=e;do{if(r&&n.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ve(n){return Z(n).getComputedStyle(n)}function Yr(n){return["table","td","th"].indexOf(de(n))>=0}function he(n){return((De(n)?n.ownerDocument:n.document)||window.document).documentElement}function ut(n){return de(n)==="html"?n:n.assignedSlot||n.parentNode||(Xt(n)?n.host:null)||he(n)}function uo(n){return!fe(n)||ve(n).position==="fixed"?null:n.offsetParent}function gs(n){var e=/firefox/i.test(Zt()),t=/Trident/i.test(Zt());if(t&&fe(n)){var r=ve(n);if(r.position==="fixed")return null}var i=ut(n);for(Xt(i)&&(i=i.host);fe(i)&&["html","body"].indexOf(de(i))<0;){var o=ve(i);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||e&&o.willChange==="filter"||e&&o.filter&&o.filter!=="none")return i;i=i.parentNode}return null}function Ie(n){for(var e=Z(n),t=uo(n);t&&Yr(t)&&ve(t).position==="static";)t=uo(t);return t&&(de(t)==="html"||de(t)==="body"&&ve(t).position==="static")?e:t||gs(n)||e}function Bt(n){return["top","bottom"].indexOf(n)>=0?"x":"y"}function Ft(n,e,t){return Fe(n,Ot(e,t))}function fo(n,e,t){var r=Ft(n,e,t);return r>t?t:r}function yn(){return{top:0,right:0,bottom:0,left:0}}function jn(n){return Object.assign({},yn(),n)}function vn(n,e){return e.reduce(function(t,r){return t[r]=n,t},{})}var hs=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,jn(typeof e!="number"?e:vn(e,yt))};function As(n){var e,t=n.state,r=n.name,i=n.options,o=t.elements.arrow,a=t.modifiersData.popperOffsets,l=me(t.placement),c=Bt(l),d=[ae,ce].indexOf(l)>=0,m=d?"height":"width";if(!(!o||!a)){var y=hs(i.padding,t),b=Mt(o),E=c==="y"?ie:ae,P=c==="y"?ue:ce,k=t.rects.reference[m]+t.rects.reference[c]-a[c]-t.rects.popper[m],w=a[c]-t.rects.reference[c],M=Ie(o),$=M?c==="y"?M.clientHeight||0:M.clientWidth||0:0,K=k/2-w/2,C=y[E],H=$-b[m]-y[P],I=$/2-b[m]/2+K,J=Ft(C,I,H),te=c;t.modifiersData[r]=(e={},e[te]=J,e.centerOffset=J-I,e)}}function _s(n){var e=n.state,t=n.options,r=t.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=e.elements.popper.querySelector(i),!i)||!xn(e.elements.popper,i)||(e.elements.arrow=i))}var mo={name:"arrow",enabled:!0,phase:"main",fn:As,effect:_s,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ne(n){return n.split("-")[1]}var xs={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ys(n,e){var t=n.x,r=n.y,i=e.devicePixelRatio||1;return{x:pt(t*i)/i||0,y:pt(r*i)/i||0}}function go(n){var e,t=n.popper,r=n.popperRect,i=n.placement,o=n.variation,a=n.offsets,l=n.position,c=n.gpuAcceleration,d=n.adaptive,m=n.roundOffsets,y=n.isFixed,b=a.x,E=b===void 0?0:b,P=a.y,k=P===void 0?0:P,w=typeof m=="function"?m({x:E,y:k}):{x:E,y:k};E=w.x,k=w.y;var M=a.hasOwnProperty("x"),$=a.hasOwnProperty("y"),K=ae,C=ie,H=window;if(d){var I=Ie(t),J="clientHeight",te="clientWidth";if(I===Z(t)&&(I=he(t),ve(I).position!=="static"&&l==="absolute"&&(J="scrollHeight",te="scrollWidth")),I=I,i===ie||(i===ae||i===ce)&&o===Nt){C=ue;var ne=y&&I===H&&H.visualViewport?H.visualViewport.height:I[J];k-=ne-r.height,k*=c?1:-1}if(i===ae||(i===ie||i===ue)&&o===Nt){K=ce;var Q=y&&I===H&&H.visualViewport?H.visualViewport.width:I[te];E-=Q-r.width,E*=c?1:-1}}var h=Object.assign({position:l},d&&xs),S=m===!0?ys({x:E,y:k},Z(t)):{x:E,y:k};if(E=S.x,k=S.y,c){var f;return Object.assign({},h,(f={},f[C]=$?"0":"",f[K]=M?"0":"",f.transform=(H.devicePixelRatio||1)<=1?"translate("+E+"px, "+k+"px)":"translate3d("+E+"px, "+k+"px, 0)",f))}return Object.assign({},h,(e={},e[C]=$?k+"px":"",e[K]=M?E+"px":"",e.transform="",e))}function js(n){var e=n.state,t=n.options,r=t.gpuAcceleration,i=r===void 0?!0:r,o=t.adaptive,a=o===void 0?!0:o,l=t.roundOffsets,c=l===void 0?!0:l,d={placement:me(e.placement),variation:Ne(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,go(Object.assign({},d,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:c})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,go(Object.assign({},d,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}var ho={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:js,data:{}};var pr={passive:!0};function vs(n){var e=n.state,t=n.instance,r=n.options,i=r.scroll,o=i===void 0?!0:i,a=r.resize,l=a===void 0?!0:a,c=Z(e.elements.popper),d=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&d.forEach(function(m){m.addEventListener("scroll",t.update,pr)}),l&&c.addEventListener("resize",t.update,pr),function(){o&&d.forEach(function(m){m.removeEventListener("scroll",t.update,pr)}),l&&c.removeEventListener("resize",t.update,pr)}}var Ao={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:vs,data:{}};var ws={left:"right",right:"left",bottom:"top",top:"bottom"};function en(n){return n.replace(/left|right|bottom|top/g,function(e){return ws[e]})}var bs={start:"end",end:"start"};function ur(n){return n.replace(/start|end/g,function(e){return bs[e]})}function It(n){var e=Z(n),t=e.pageXOffset,r=e.pageYOffset;return{scrollLeft:t,scrollTop:r}}function qt(n){return Pe(he(n)).left+It(n).scrollLeft}function Ur(n,e){var t=Z(n),r=he(n),i=t.visualViewport,o=r.clientWidth,a=r.clientHeight,l=0,c=0;if(i){o=i.width,a=i.height;var d=_n();(d||!d&&e==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}return{width:o,height:a,x:l+qt(n),y:c}}function Gr(n){var e,t=he(n),r=It(n),i=(e=n.ownerDocument)==null?void 0:e.body,o=Fe(t.scrollWidth,t.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=Fe(t.scrollHeight,t.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),l=-r.scrollLeft+qt(n),c=-r.scrollTop;return ve(i||t).direction==="rtl"&&(l+=Fe(t.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:l,y:c}}function Lt(n){var e=ve(n),t=e.overflow,r=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(t+i+r)}function fr(n){return["html","body","#document"].indexOf(de(n))>=0?n.ownerDocument.body:fe(n)&&Lt(n)?n:fr(ut(n))}function jt(n,e){var t;e===void 0&&(e=[]);var r=fr(n),i=r===((t=n.ownerDocument)==null?void 0:t.body),o=Z(r),a=i?[o].concat(o.visualViewport||[],Lt(r)?r:[]):r,l=e.concat(a);return i?l:l.concat(jt(ut(a)))}function tn(n){return Object.assign({},n,{left:n.x,top:n.y,right:n.x+n.width,bottom:n.y+n.height})}function Es(n,e){var t=Pe(n,!1,e==="fixed");return t.top=t.top+n.clientTop,t.left=t.left+n.clientLeft,t.bottom=t.top+n.clientHeight,t.right=t.left+n.clientWidth,t.width=n.clientWidth,t.height=n.clientHeight,t.x=t.left,t.y=t.top,t}function _o(n,e,t){return e===cr?tn(Ur(n,t)):De(e)?Es(e,t):tn(Gr(he(n)))}function Ts(n){var e=jt(ut(n)),t=["absolute","fixed"].indexOf(ve(n).position)>=0,r=t&&fe(n)?Ie(n):n;return De(r)?e.filter(function(i){return De(i)&&xn(i,r)&&de(i)!=="body"}):[]}function Wr(n,e,t,r){var i=e==="clippingParents"?Ts(n):[].concat(e),o=[].concat(i,[t]),a=o[0],l=o.reduce(function(c,d){var m=_o(n,d,r);return c.top=Fe(m.top,c.top),c.right=Ot(m.right,c.right),c.bottom=Ot(m.bottom,c.bottom),c.left=Fe(m.left,c.left),c},_o(n,a,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function wn(n){var e=n.reference,t=n.element,r=n.placement,i=r?me(r):null,o=r?Ne(r):null,a=e.x+e.width/2-t.width/2,l=e.y+e.height/2-t.height/2,c;switch(i){case ie:c={x:a,y:e.y-t.height};break;case ue:c={x:a,y:e.y+e.height};break;case ce:c={x:e.x+e.width,y:l};break;case ae:c={x:e.x-t.width,y:l};break;default:c={x:e.x,y:e.y}}var d=i?Bt(i):null;if(d!=null){var m=d==="y"?"height":"width";switch(o){case lt:c[d]=c[d]-(e[m]/2-t[m]/2);break;case Nt:c[d]=c[d]+(e[m]/2-t[m]/2);break;default:}}return c}function qe(n,e){e===void 0&&(e={});var t=e,r=t.placement,i=r===void 0?n.placement:r,o=t.strategy,a=o===void 0?n.strategy:o,l=t.boundary,c=l===void 0?so:l,d=t.rootBoundary,m=d===void 0?cr:d,y=t.elementContext,b=y===void 0?Qt:y,E=t.altBoundary,P=E===void 0?!1:E,k=t.padding,w=k===void 0?0:k,M=jn(typeof w!="number"?w:vn(w,yt)),$=b===Qt?co:Qt,K=n.rects.popper,C=n.elements[P?$:b],H=Wr(De(C)?C:C.contextElement||he(n.elements.popper),c,m,a),I=Pe(n.elements.reference),J=wn({reference:I,element:K,strategy:"absolute",placement:i}),te=tn(Object.assign({},K,J)),ne=b===Qt?te:I,Q={top:H.top-ne.top+M.top,bottom:ne.bottom-H.bottom+M.bottom,left:H.left-ne.left+M.left,right:ne.right-H.right+M.right},h=n.modifiersData.offset;if(b===Qt&&h){var S=h[i];Object.keys(Q).forEach(function(f){var Me=[ce,ue].indexOf(f)>=0?1:-1,be=[ie,ue].indexOf(f)>=0?"y":"x";Q[f]+=S[be]*Me})}return Q}function Vr(n,e){e===void 0&&(e={});var t=e,r=t.placement,i=t.boundary,o=t.rootBoundary,a=t.padding,l=t.flipVariations,c=t.allowedAutoPlacements,d=c===void 0?lr:c,m=Ne(r),y=m?l?Rr:Rr.filter(function(P){return Ne(P)===m}):yt,b=y.filter(function(P){return d.indexOf(P)>=0});b.length===0&&(b=y);var E=b.reduce(function(P,k){return P[k]=qe(n,{placement:k,boundary:i,rootBoundary:o,padding:a})[me(k)],P},{});return Object.keys(E).sort(function(P,k){return E[P]-E[k]})}function ks(n){if(me(n)===sr)return[];var e=en(n);return[ur(n),e,ur(e)]}function Ss(n){var e=n.state,t=n.options,r=n.name;if(!e.modifiersData[r]._skip){for(var i=t.mainAxis,o=i===void 0?!0:i,a=t.altAxis,l=a===void 0?!0:a,c=t.fallbackPlacements,d=t.padding,m=t.boundary,y=t.rootBoundary,b=t.altBoundary,E=t.flipVariations,P=E===void 0?!0:E,k=t.allowedAutoPlacements,w=e.options.placement,M=me(w),$=M===w,K=c||($||!P?[en(w)]:ks(w)),C=[w].concat(K).reduce(function(B,D){return B.concat(me(D)===sr?Vr(e,{placement:D,boundary:m,rootBoundary:y,padding:d,flipVariations:P,allowedAutoPlacements:k}):D)},[]),H=e.rects.reference,I=e.rects.popper,J=new Map,te=!0,ne=C[0],Q=0;Q=0,be=Me?"width":"height",Ae=qe(e,{placement:h,boundary:m,rootBoundary:y,altBoundary:b,padding:d}),_e=Me?f?ce:ae:f?ue:ie;H[be]>I[be]&&(_e=en(_e));var Ke=en(_e),Ee=[];if(o&&Ee.push(Ae[S]<=0),l&&Ee.push(Ae[_e]<=0,Ae[Ke]<=0),Ee.every(function(B){return B})){ne=h,te=!1;break}J.set(h,Ee)}if(te)for(var $t=P?3:1,Re=function(D){var q=C.find(function(ee){var et=J.get(ee);if(et)return et.slice(0,D).every(function(W){return W})});if(q)return ne=q,"break"},Ze=$t;Ze>0;Ze--){var xe=Re(Ze);if(xe==="break")break}e.placement!==ne&&(e.modifiersData[r]._skip=!0,e.placement=ne,e.reset=!0)}}var xo={name:"flip",enabled:!0,phase:"main",fn:Ss,requiresIfExists:["offset"],data:{_skip:!1}};function yo(n,e,t){return t===void 0&&(t={x:0,y:0}),{top:n.top-e.height-t.y,right:n.right-e.width+t.x,bottom:n.bottom-e.height+t.y,left:n.left-e.width-t.x}}function jo(n){return[ie,ce,ue,ae].some(function(e){return n[e]>=0})}function Cs(n){var e=n.state,t=n.name,r=e.rects.reference,i=e.rects.popper,o=e.modifiersData.preventOverflow,a=qe(e,{elementContext:"reference"}),l=qe(e,{altBoundary:!0}),c=yo(a,r),d=yo(l,i,o),m=jo(c),y=jo(d);e.modifiersData[t]={referenceClippingOffsets:c,popperEscapeOffsets:d,isReferenceHidden:m,hasPopperEscaped:y},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":m,"data-popper-escaped":y})}var vo={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Cs};function Ds(n,e,t){var r=me(n),i=[ae,ie].indexOf(r)>=0?-1:1,o=typeof t=="function"?t(Object.assign({},e,{placement:n})):t,a=o[0],l=o[1];return a=a||0,l=(l||0)*i,[ae,ce].indexOf(r)>=0?{x:l,y:a}:{x:a,y:l}}function Ps(n){var e=n.state,t=n.options,r=n.name,i=t.offset,o=i===void 0?[0,0]:i,a=lr.reduce(function(m,y){return m[y]=Ds(y,e.rects,o),m},{}),l=a[e.placement],c=l.x,d=l.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=c,e.modifiersData.popperOffsets.y+=d),e.modifiersData[r]=a}var wo={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Ps};function Ns(n){var e=n.state,t=n.name;e.modifiersData[t]=wn({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}var bo={name:"popperOffsets",enabled:!0,phase:"read",fn:Ns,data:{}};function zr(n){return n==="x"?"y":"x"}function Os(n){var e=n.state,t=n.options,r=n.name,i=t.mainAxis,o=i===void 0?!0:i,a=t.altAxis,l=a===void 0?!1:a,c=t.boundary,d=t.rootBoundary,m=t.altBoundary,y=t.padding,b=t.tether,E=b===void 0?!0:b,P=t.tetherOffset,k=P===void 0?0:P,w=qe(e,{boundary:c,rootBoundary:d,padding:y,altBoundary:m}),M=me(e.placement),$=Ne(e.placement),K=!$,C=Bt(M),H=zr(C),I=e.modifiersData.popperOffsets,J=e.rects.reference,te=e.rects.popper,ne=typeof k=="function"?k(Object.assign({},e.rects,{placement:e.placement})):k,Q=typeof ne=="number"?{mainAxis:ne,altAxis:ne}:Object.assign({mainAxis:0,altAxis:0},ne),h=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,S={x:0,y:0};if(!!I){if(o){var f,Me=C==="y"?ie:ae,be=C==="y"?ue:ce,Ae=C==="y"?"height":"width",_e=I[C],Ke=_e+w[Me],Ee=_e-w[be],$t=E?-te[Ae]/2:0,Re=$===lt?J[Ae]:te[Ae],Ze=$===lt?-te[Ae]:-J[Ae],xe=e.elements.arrow,B=E&&xe?Mt(xe):{width:0,height:0},D=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:yn(),q=D[Me],ee=D[be],et=Ft(0,J[Ae],B[Ae]),W=K?J[Ae]/2-$t-et-q-Q.mainAxis:Re-et-q-Q.mainAxis,ye=K?-J[Ae]/2+$t+et+ee+Q.mainAxis:Ze+et+ee+Q.mainAxis,bt=e.elements.arrow&&Ie(e.elements.arrow),Cn=bt?C==="y"?bt.clientTop||0:bt.clientLeft||0:0,tt=(f=h==null?void 0:h[C])!=null?f:0,nt=_e+W-tt-Cn,gt=_e+ye-tt,Et=Ft(E?Ot(Ke,nt):Ke,_e,E?Fe(Ee,gt):Ee);I[C]=Et,S[C]=Et-_e}if(l){var Dn,Pn=C==="x"?ie:ae,Nn=C==="x"?ue:ce,rt=I[H],Kt=H==="y"?"height":"width",On=rt+w[Pn],Mn=rt-w[Nn],an=[ie,ae].indexOf(M)!==-1,Tt=(Dn=h==null?void 0:h[H])!=null?Dn:0,Bn=an?On:rt-J[Kt]-te[Kt]-Tt+Q.altAxis,Ye=an?rt+J[Kt]+te[Kt]-Tt-Q.altAxis:Mn,se=E&&an?fo(Bn,rt,Ye):Ft(E?Bn:On,rt,E?Ye:Mn);I[H]=se,S[H]=se-rt}e.modifiersData[r]=S}}var Eo={name:"preventOverflow",enabled:!0,phase:"main",fn:Os,requiresIfExists:["offset"]};function Jr(n){return{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}}function Qr(n){return n===Z(n)||!fe(n)?It(n):Jr(n)}function Ms(n){var e=n.getBoundingClientRect(),t=pt(e.width)/n.offsetWidth||1,r=pt(e.height)/n.offsetHeight||1;return t!==1||r!==1}function Xr(n,e,t){t===void 0&&(t=!1);var r=fe(e),i=fe(e)&&Ms(e),o=he(e),a=Pe(n,i,t),l={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!t)&&((de(e)!=="body"||Lt(o))&&(l=Qr(e)),fe(e)?(c=Pe(e,!0),c.x+=e.clientLeft,c.y+=e.clientTop):o&&(c.x=qt(o))),{x:a.left+l.scrollLeft-c.x,y:a.top+l.scrollTop-c.y,width:a.width,height:a.height}}function Bs(n){var e=new Map,t=new Set,r=[];n.forEach(function(o){e.set(o.name,o)});function i(o){t.add(o.name);var a=[].concat(o.requires||[],o.requiresIfExists||[]);a.forEach(function(l){if(!t.has(l)){var c=e.get(l);c&&i(c)}}),r.push(o)}return n.forEach(function(o){t.has(o.name)||i(o)}),r}function Zr(n){var e=Bs(n);return lo.reduce(function(t,r){return t.concat(e.filter(function(i){return i.phase===r}))},[])}function ei(n){var e;return function(){return e||(e=new Promise(function(t){Promise.resolve().then(function(){e=void 0,t(n())})})),e}}function ti(n){var e=n.reduce(function(t,r){var i=t[r.name];return t[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,t},{});return Object.keys(e).map(function(t){return e[t]})}var To={placement:"bottom",modifiers:[],strategy:"absolute"};function ko(){for(var n=arguments.length,e=new Array(n),t=0;t(n%e+e)%e,Do=class{constructor(e,t,r){this.owner=e,this.containerEl=t,t.on("click",".suggestion-item",this.onSuggestionClick.bind(this)),t.on("mousemove",".suggestion-item",this.onSuggestionMouseover.bind(this)),r.register([],"ArrowUp",i=>{if(!i.isComposing)return this.setSelectedItem(this.selectedItem-1,!0),!1}),r.register([],"ArrowDown",i=>{if(!i.isComposing)return this.setSelectedItem(this.selectedItem+1,!0),!1}),r.register([],"Enter",i=>{if(!i.isComposing)return this.useSelectedItem(i),!1})}onSuggestionClick(e,t){e.preventDefault();let r=this.suggestions.indexOf(t);this.setSelectedItem(r,!1),this.useSelectedItem(e)}onSuggestionMouseover(e,t){let r=this.suggestions.indexOf(t);this.setSelectedItem(r,!1)}setSuggestions(e){this.containerEl.empty();let t=[];e.forEach(r=>{let i=this.containerEl.createDiv("suggestion-item");this.owner.renderSuggestion(r,i),t.push(i)}),this.values=e,this.suggestions=t,this.setSelectedItem(0,!1)}useSelectedItem(e){let t=this.values[this.selectedItem];t&&this.owner.selectSuggestion(t,e)}setSelectedItem(e,t){let r=Is(e,this.suggestions.length),i=this.suggestions[this.selectedItem],o=this.suggestions[r];i?.removeClass("is-selected"),o?.addClass("is-selected"),this.selectedItem=r,t&&o.scrollIntoView(!1)}},bn=class{constructor(e,t){this.app=e,this.inputEl=t,this.scope=new Co.Scope,this.suggestEl=createDiv("suggestion-container");let r=this.suggestEl.createDiv("suggestion");this.suggest=new Do(this,r,this.scope),this.scope.register([],"Escape",this.close.bind(this)),this.inputEl.addEventListener("input",this.onInputChanged.bind(this)),this.inputEl.addEventListener("focus",this.onInputChanged.bind(this)),this.inputEl.addEventListener("blur",this.close.bind(this)),this.suggestEl.on("mousedown",".suggestion-container",i=>{i.preventDefault()})}onInputChanged(){let e=this.inputEl.value,t=this.getSuggestions(e);if(!t){this.close();return}t.length>0?(this.suggest.setSuggestions(t),this.open(this.app.dom.appContainerEl,this.inputEl)):this.close()}open(e,t){this.app.keymap.pushScope(this.scope),e.appendChild(this.suggestEl),this.popper=ni(t,this.suggestEl,{placement:"bottom-start",modifiers:[{name:"sameWidth",enabled:!0,fn:({state:r,instance:i})=>{let o=`${r.rects.reference.width}px`;r.styles.popper.width!==o&&(r.styles.popper.width=o,i.update())},phase:"beforeWrite",requires:["computeStyles"]}]})}close(){this.app.keymap.popScope(this.scope),this.suggest.setSuggestions([]),this.popper&&this.popper.destroy(),this.suggestEl.detach()}};var Le;(function(t){t[t.TemplateFiles=0]="TemplateFiles",t[t.ScriptFiles=1]="ScriptFiles"})(Le||(Le={}));var nn=class extends bn{constructor(e,t,r){super(t.app,e);this.inputEl=e;this.plugin=t;this.mode=r}get_folder(e){switch(e){case 0:return this.plugin.settings.templates_folder;case 1:return this.plugin.settings.user_scripts_folder}}get_error_msg(e){switch(e){case 0:return"Templates folder doesn't exist";case 1:return"User Scripts folder doesn't exist"}}getSuggestions(e){let t=ke(()=>ze(this.plugin.app,this.get_folder(this.mode)),this.get_error_msg(this.mode));if(!t)return[];let r=[],i=e.toLowerCase();return t.forEach(o=>{o instanceof Po.TFile&&o.extension==="md"&&o.path.toLowerCase().contains(i)&&r.push(o)}),r.slice(0,1e3)}renderSuggestion(e,t){t.setText(e.path)}selectSuggestion(e){this.inputEl.value=e.path,this.inputEl.trigger("input"),this.close()}};var No=X(require("obsidian"));var En=class extends bn{constructor(e,t){super(e,t)}getSuggestions(e){let t=this.app.vault.getAllLoadedFiles(),r=[],i=e.toLowerCase();return t.forEach(o=>{o instanceof No.TFolder&&o.path.toLowerCase().contains(i)&&r.push(o)}),r.slice(0,1e3)}renderSuggestion(e,t){t.setText(e.path)}selectSuggestion(e){this.inputEl.value=e.path,this.inputEl.trigger("input"),this.close()}};var ft;(function(o){o[o.Off=0]="Off",o[o.RenderDescriptionParameterReturn=1]="RenderDescriptionParameterReturn",o[o.RenderDescriptionParameterList=2]="RenderDescriptionParameterList",o[o.RenderDescriptionReturn=3]="RenderDescriptionReturn",o[o.RenderDescriptionOnly=4]="RenderDescriptionOnly"})(ft||(ft={}));function Oo(n){return isBoolean(n)?n:[1,3].includes(n)}function Mo(n){return isBoolean(n)?n:[1,2].includes(n)}function Bo(n){return isBoolean(n)?n:n!=0}var Fo={command_timeout:5,templates_folder:"",templates_pairs:[["",""]],trigger_on_file_creation:!1,auto_jump_to_cursor:!1,enable_system_commands:!1,shell_path:"",user_scripts_folder:"",enable_folder_templates:!0,folder_templates:[{folder:"",template:""}],enable_file_templates:!1,file_templates:[{regex:".*",template:""}],syntax_highlighting:!0,syntax_highlighting_mobile:!1,enabled_templates_hotkeys:[""],startup_templates:[""],intellisense_render:ft.RenderDescriptionParameterReturn},ri=class extends L.PluginSettingTab{constructor(e){super(e.app,e);this.plugin=e}display(){this.containerEl.empty(),this.add_template_folder_setting(),this.add_internal_functions_setting(),this.add_syntax_highlighting_settings(),this.add_auto_jump_to_cursor(),this.add_trigger_on_new_file_creation_setting(),this.plugin.settings.trigger_on_file_creation&&(this.add_folder_templates_setting(),this.add_file_templates_setting()),this.add_templates_hotkeys_setting(),this.add_startup_templates_setting(),this.add_user_script_functions_setting(),this.add_user_system_command_functions_setting(),this.add_donating_setting()}add_template_folder_setting(){new L.Setting(this.containerEl).setName("Template folder location").setDesc("Files in this folder will be available as templates.").addSearch(e=>{new En(this.app,e.inputEl),e.setPlaceholder("Example: folder1/folder2").setValue(this.plugin.settings.templates_folder).onChange(t=>{t=t.trim(),t=t.replace(/\/$/,""),this.plugin.settings.templates_folder=t,this.plugin.save_settings()}),e.containerEl.addClass("templater_search")})}add_internal_functions_setting(){let e=document.createDocumentFragment();e.append("Templater provides multiples predefined variables / functions that you can use.",e.createEl("br"),"Check the ",e.createEl("a",{href:"https://silentvoid13.github.io/Templater/",text:"documentation"})," to get a list of all the available internal variables / functions."),new L.Setting(this.containerEl).setName("Internal variables and functions").setDesc(e)}add_syntax_highlighting_settings(){let e=document.createDocumentFragment();e.append("Adds syntax highlighting for Templater commands in edit mode.");let t=document.createDocumentFragment();t.append("Adds syntax highlighting for Templater commands in edit mode on mobile. Use with caution: this may break live preview on mobile platforms."),new L.Setting(this.containerEl).setName("Syntax highlighting on desktop").setDesc(e).addToggle(r=>{r.setValue(this.plugin.settings.syntax_highlighting).onChange(i=>{this.plugin.settings.syntax_highlighting=i,this.plugin.save_settings(),this.plugin.event_handler.update_syntax_highlighting()})}),new L.Setting(this.containerEl).setName("Syntax highlighting on mobile").setDesc(t).addToggle(r=>{r.setValue(this.plugin.settings.syntax_highlighting_mobile).onChange(i=>{this.plugin.settings.syntax_highlighting_mobile=i,this.plugin.save_settings(),this.plugin.event_handler.update_syntax_highlighting()})})}add_auto_jump_to_cursor(){let e=document.createDocumentFragment();e.append("Automatically triggers ",e.createEl("code",{text:"tp.file.cursor"})," after inserting a template.",e.createEl("br"),"You can also set a hotkey to manually trigger ",e.createEl("code",{text:"tp.file.cursor"}),"."),new L.Setting(this.containerEl).setName("Automatic jump to cursor").setDesc(e).addToggle(t=>{t.setValue(this.plugin.settings.auto_jump_to_cursor).onChange(r=>{this.plugin.settings.auto_jump_to_cursor=r,this.plugin.save_settings()})})}add_trigger_on_new_file_creation_setting(){let e=document.createDocumentFragment();e.append("Templater will listen for the new file creation event, and, if it matches a rule you've set, replace every command it finds in the new file's content. ","This makes Templater compatible with other plugins like the Daily note core plugin, Calendar plugin, Review plugin, Note refactor plugin, etc. ",e.createEl("br"),e.createEl("br"),"Make sure to set up rules under either folder templates or file regex template below.",e.createEl("br"),e.createEl("br"),e.createEl("b",{text:"Warning: "}),"This can be dangerous if you create new files with unknown / unsafe content on creation. Make sure that every new file's content is safe on creation."),new L.Setting(this.containerEl).setName("Trigger Templater on new file creation").setDesc(e).addToggle(t=>{t.setValue(this.plugin.settings.trigger_on_file_creation).onChange(r=>{this.plugin.settings.trigger_on_file_creation=r,this.plugin.save_settings(),this.plugin.event_handler.update_trigger_file_on_creation(),this.display()})})}add_templates_hotkeys_setting(){new L.Setting(this.containerEl).setName("Template hotkeys").setHeading();let e=document.createDocumentFragment();e.append("Template hotkeys allows you to bind a template to a hotkey."),new L.Setting(this.containerEl).setDesc(e),this.plugin.settings.enabled_templates_hotkeys.forEach((t,r)=>{new L.Setting(this.containerEl).addSearch(o=>{new nn(o.inputEl,this.plugin,Le.TemplateFiles),o.setPlaceholder("Example: folder1/template_file").setValue(t).onChange(a=>{if(a&&this.plugin.settings.enabled_templates_hotkeys.contains(a)){oe(new O("This template is already bound to a hotkey"));return}this.plugin.command_handler.add_template_hotkey(this.plugin.settings.enabled_templates_hotkeys[r],a),this.plugin.settings.enabled_templates_hotkeys[r]=a,this.plugin.save_settings()}),o.containerEl.addClass("templater_search")}).addExtraButton(o=>{o.setIcon("any-key").setTooltip("Configure Hotkey").onClick(()=>{this.app.setting.openTabById("hotkeys");let a=this.app.setting.activeTab;a.searchComponent.inputEl.value=t,a.updateHotkeyVisibility()})}).addExtraButton(o=>{o.setIcon("up-chevron-glyph").setTooltip("Move up").onClick(()=>{Pt(this.plugin.settings.enabled_templates_hotkeys,r,r-1),this.plugin.save_settings(),this.display()})}).addExtraButton(o=>{o.setIcon("down-chevron-glyph").setTooltip("Move down").onClick(()=>{Pt(this.plugin.settings.enabled_templates_hotkeys,r,r+1),this.plugin.save_settings(),this.display()})}).addExtraButton(o=>{o.setIcon("cross").setTooltip("Delete").onClick(()=>{this.plugin.command_handler.remove_template_hotkey(this.plugin.settings.enabled_templates_hotkeys[r]),this.plugin.settings.enabled_templates_hotkeys.splice(r,1),this.plugin.save_settings(),this.display()})}).infoEl.remove()}),new L.Setting(this.containerEl).addButton(t=>{t.setButtonText("Add new hotkey for template").setCta().onClick(()=>{this.plugin.settings.enabled_templates_hotkeys.push(""),this.plugin.save_settings(),this.display()})})}add_folder_templates_setting(){new L.Setting(this.containerEl).setName("Folder templates").setHeading();let e=document.createDocumentFragment();e.append("Folder templates are triggered when a new ",e.createEl("strong",{text:"empty "}),"file is created in a given folder.",e.createEl("br"),"Templater will fill the empty file with the specified template.",e.createEl("br"),"The deepest match is used. A global default template would be defined on the root ",e.createEl("code",{text:"/"}),"."),new L.Setting(this.containerEl).setDesc(e);let t=document.createDocumentFragment();t.append("When enabled, Templater will make use of the folder templates defined below. This option is mutually exclusive with file regex templates below, so enabling one will disable the other."),new L.Setting(this.containerEl).setName("Enable folder templates").setDesc(t).addToggle(r=>{r.setValue(this.plugin.settings.enable_folder_templates).onChange(i=>{this.plugin.settings.enable_folder_templates=i,i&&(this.plugin.settings.enable_file_templates=!1),this.plugin.save_settings(),this.display()})}),!!this.plugin.settings.enable_folder_templates&&(this.plugin.settings.folder_templates.forEach((r,i)=>{new L.Setting(this.containerEl).addSearch(a=>{new En(this.app,a.inputEl),a.setPlaceholder("Folder").setValue(r.folder).onChange(l=>{if(l&&this.plugin.settings.folder_templates.some(c=>c.folder==l)){oe(new O("This folder already has a template associated with it"));return}this.plugin.settings.folder_templates[i].folder=l,this.plugin.save_settings()}),a.containerEl.addClass("templater_search")}).addSearch(a=>{new nn(a.inputEl,this.plugin,Le.TemplateFiles),a.setPlaceholder("Template").setValue(r.template).onChange(l=>{this.plugin.settings.folder_templates[i].template=l,this.plugin.save_settings()}),a.containerEl.addClass("templater_search")}).addExtraButton(a=>{a.setIcon("up-chevron-glyph").setTooltip("Move up").onClick(()=>{Pt(this.plugin.settings.folder_templates,i,i-1),this.plugin.save_settings(),this.display()})}).addExtraButton(a=>{a.setIcon("down-chevron-glyph").setTooltip("Move down").onClick(()=>{Pt(this.plugin.settings.folder_templates,i,i+1),this.plugin.save_settings(),this.display()})}).addExtraButton(a=>{a.setIcon("cross").setTooltip("Delete").onClick(()=>{this.plugin.settings.folder_templates.splice(i,1),this.plugin.save_settings(),this.display()})}).infoEl.remove()}),new L.Setting(this.containerEl).addButton(r=>{r.setButtonText("Add new folder template").setTooltip("Add additional folder template").setCta().onClick(()=>{this.plugin.settings.folder_templates.push({folder:"",template:""}),this.plugin.save_settings(),this.display()})}))}add_file_templates_setting(){new L.Setting(this.containerEl).setName("File regex templates").setHeading();let e=document.createDocumentFragment();e.append("File regex templates are triggered when a new ",e.createEl("strong",{text:"empty"})," file is created that matches one of them. Templater will fill the empty file with the specified template.",e.createEl("br"),"The first match from the top is used, so the order of the rules is important.",e.createEl("br"),"Use ",e.createEl("code",{text:".*"})," as a final catch-all, if you need it."),new L.Setting(this.containerEl).setDesc(e);let t=document.createDocumentFragment();t.append("When enabled, Templater will make use of the file regex templates defined below. This option is mutually exclusive with folder templates above, so enabling one will disable the other."),new L.Setting(this.containerEl).setName("Enable file regex templates").setDesc(t).addToggle(r=>{r.setValue(this.plugin.settings.enable_file_templates).onChange(i=>{this.plugin.settings.enable_file_templates=i,i&&(this.plugin.settings.enable_folder_templates=!1),this.plugin.save_settings(),this.display()})}),!!this.plugin.settings.enable_file_templates&&(this.plugin.settings.file_templates.forEach((r,i)=>{new L.Setting(this.containerEl).addText(a=>{a.setPlaceholder("File regex").setValue(r.regex).onChange(l=>{this.plugin.settings.file_templates[i].regex=l,this.plugin.save_settings()}),a.inputEl.addClass("templater_search")}).addSearch(a=>{new nn(a.inputEl,this.plugin,Le.TemplateFiles),a.setPlaceholder("Template").setValue(r.template).onChange(l=>{this.plugin.settings.file_templates[i].template=l,this.plugin.save_settings()}),a.containerEl.addClass("templater_search")}).addExtraButton(a=>{a.setIcon("up-chevron-glyph").setTooltip("Move up").onClick(()=>{Pt(this.plugin.settings.file_templates,i,i-1),this.plugin.save_settings(),this.display()})}).addExtraButton(a=>{a.setIcon("down-chevron-glyph").setTooltip("Move down").onClick(()=>{Pt(this.plugin.settings.file_templates,i,i+1),this.plugin.save_settings(),this.display()})}).addExtraButton(a=>{a.setIcon("cross").setTooltip("Delete").onClick(()=>{this.plugin.settings.file_templates.splice(i,1),this.plugin.save_settings(),this.display()})}).infoEl.remove()}),new L.Setting(this.containerEl).addButton(r=>{r.setButtonText("Add new file regex").setTooltip("Add additional file regex").setCta().onClick(()=>{this.plugin.settings.file_templates.push({regex:"",template:""}),this.plugin.save_settings(),this.display()})}))}add_startup_templates_setting(){new L.Setting(this.containerEl).setName("Startup templates").setHeading();let e=document.createDocumentFragment();e.append("Startup templates are templates that will get executed once when Templater starts.",e.createEl("br"),"These templates won't output anything.",e.createEl("br"),"This can be useful to set up templates adding hooks to Obsidian events for example."),new L.Setting(this.containerEl).setDesc(e),this.plugin.settings.startup_templates.forEach((t,r)=>{new L.Setting(this.containerEl).addSearch(o=>{new nn(o.inputEl,this.plugin,Le.TemplateFiles),o.setPlaceholder("Example: folder1/template_file").setValue(t).onChange(a=>{if(a&&this.plugin.settings.startup_templates.contains(a)){oe(new O("This startup template already exist"));return}this.plugin.settings.startup_templates[r]=a,this.plugin.save_settings()}),o.containerEl.addClass("templater_search")}).addExtraButton(o=>{o.setIcon("cross").setTooltip("Delete").onClick(()=>{this.plugin.settings.startup_templates.splice(r,1),this.plugin.save_settings(),this.display()})}).infoEl.remove()}),new L.Setting(this.containerEl).addButton(t=>{t.setButtonText("Add new startup template").setCta().onClick(()=>{this.plugin.settings.startup_templates.push(""),this.plugin.save_settings(),this.display()})})}add_user_script_functions_setting(){new L.Setting(this.containerEl).setName("User script functions").setHeading();let e=document.createDocumentFragment();e.append("All JavaScript files in this folder will be loaded as CommonJS modules, to import custom user functions.",e.createEl("br"),"The folder needs to be accessible from the vault.",e.createEl("br"),"Check the ",e.createEl("a",{href:"https://silentvoid13.github.io/Templater/",text:"documentation"})," for more information."),new L.Setting(this.containerEl).setName("Script files folder location").setDesc(e).addSearch(r=>{new En(this.app,r.inputEl),r.setPlaceholder("Example: folder1/folder2").setValue(this.plugin.settings.user_scripts_folder).onChange(i=>{this.plugin.settings.user_scripts_folder=i,this.plugin.save_settings()}),r.containerEl.addClass("templater_search")}),new L.Setting(this.containerEl).setName("User script intellisense").setDesc("Determine how you'd like to have user script intellisense render. Note values will not render if not in the script.").addDropdown(r=>{r.addOption("0","Turn off intellisense").addOption("1","Render method description, parameters list, and return").addOption("2","Render method description and parameters list").addOption("3","Render method description and return").addOption("4","Render method description").setValue(this.plugin.settings.intellisense_render.toString()).onChange(i=>{this.plugin.settings.intellisense_render=parseInt(i),this.plugin.save_settings()})}),e=document.createDocumentFragment();let t;if(!this.plugin.settings.user_scripts_folder)t="No user scripts folder set";else{let r=ke(()=>ze(this.app,this.plugin.settings.user_scripts_folder),"User scripts folder doesn't exist");if(!r||r.length===0)t="No user scripts detected";else{let i=0;for(let o of r)o.extension==="js"&&(i++,e.append(e.createEl("li",{text:`tp.user.${o.basename}`})));t=`Detected ${i} User Script(s)`}}new L.Setting(this.containerEl).setName(t).setDesc(e).addExtraButton(r=>{r.setIcon("sync").setTooltip("Refresh").onClick(()=>{this.display()})})}add_user_system_command_functions_setting(){let e=document.createDocumentFragment();if(e.append("Allows you to create user functions linked to system commands.",e.createEl("br"),e.createEl("b",{text:"Warning: "}),"It can be dangerous to execute arbitrary system commands from untrusted sources. Only run system commands that you understand, from trusted sources."),new L.Setting(this.containerEl).setName("User system command functions").setHeading(),new L.Setting(this.containerEl).setName("Enable user system command functions").setDesc(e).addToggle(t=>{t.setValue(this.plugin.settings.enable_system_commands).onChange(r=>{this.plugin.settings.enable_system_commands=r,this.plugin.save_settings(),this.display()})}),this.plugin.settings.enable_system_commands){new L.Setting(this.containerEl).setName("Timeout").setDesc("Maximum timeout in seconds for a system command.").addText(o=>{o.setPlaceholder("Timeout").setValue(this.plugin.settings.command_timeout.toString()).onChange(a=>{let l=Number(a);if(isNaN(l)){oe(new O("Timeout must be a number"));return}this.plugin.settings.command_timeout=l,this.plugin.save_settings()})}),e=document.createDocumentFragment(),e.append("Full path to the shell binary to execute the command with.",e.createEl("br"),"This setting is optional and will default to the system's default shell if not specified.",e.createEl("br"),"You can use forward slashes ('/') as path separators on all platforms if in doubt."),new L.Setting(this.containerEl).setName("Shell binary location").setDesc(e).addText(o=>{o.setPlaceholder("Example: /bin/bash, ...").setValue(this.plugin.settings.shell_path).onChange(a=>{this.plugin.settings.shell_path=a,this.plugin.save_settings()})});let t=1;this.plugin.settings.templates_pairs.forEach(o=>{let a=this.containerEl.createEl("div");a.addClass("templater_div");let l=this.containerEl.createEl("h4",{text:"User function n\xB0"+t});l.addClass("templater_title"),new L.Setting(this.containerEl).addExtraButton(d=>{d.setIcon("cross").setTooltip("Delete").onClick(()=>{let m=this.plugin.settings.templates_pairs.indexOf(o);m>-1&&(this.plugin.settings.templates_pairs.splice(m,1),this.plugin.save_settings(),this.display())})}).addText(d=>{let m=d.setPlaceholder("Function name").setValue(o[0]).onChange(y=>{let b=this.plugin.settings.templates_pairs.indexOf(o);b>-1&&(this.plugin.settings.templates_pairs[b][0]=y,this.plugin.save_settings())});return m.inputEl.addClass("templater_template"),m}).addTextArea(d=>{let m=d.setPlaceholder("System command").setValue(o[1]).onChange(y=>{let b=this.plugin.settings.templates_pairs.indexOf(o);b>-1&&(this.plugin.settings.templates_pairs[b][1]=y,this.plugin.save_settings())});return m.inputEl.setAttr("rows",2),m.inputEl.addClass("templater_cmd"),m}).infoEl.remove(),a.appendChild(l),a.appendChild(this.containerEl.lastChild),t+=1});let r=this.containerEl.createEl("div");r.addClass("templater_div2"),new L.Setting(this.containerEl).addButton(o=>{o.setButtonText("Add new user function").setCta().onClick(()=>{this.plugin.settings.templates_pairs.push(["",""]),this.plugin.save_settings(),this.display()})}).infoEl.remove(),r.appendChild(this.containerEl.lastChild)}}add_donating_setting(){let e=new L.Setting(this.containerEl).setName("Donate").setDesc("If you like this Plugin, consider donating to support continued development."),t=document.createElement("a");t.setAttribute("href","https://github.com/sponsors/silentvoid13"),t.addClass("templater_donating");let r=document.createElement("img");r.src="https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub&color=%23fe8e86",t.appendChild(r);let i=document.createElement("a");i.setAttribute("href","https://www.paypal.com/donate?hosted_button_id=U2SRGAFYXT32Q"),i.addClass("templater_donating");let o=document.createElement("img");o.src="https://img.shields.io/badge/paypal-silentvoid13-yellow?style=social&logo=paypal",i.appendChild(o),e.settingEl.appendChild(t),e.settingEl.appendChild(i)}};var dr=X(require("obsidian"));var rn;(function(t){t[t.InsertTemplate=0]="InsertTemplate",t[t.CreateNoteTemplate=1]="CreateNoteTemplate"})(rn||(rn={}));var ii=class extends dr.FuzzySuggestModal{constructor(e){super(e.app);this.plugin=e,this.setPlaceholder("Type name of a template...")}getItems(){if(!this.plugin.settings.templates_folder)return this.app.vault.getMarkdownFiles();let e=ke(()=>ze(this.plugin.app,this.plugin.settings.templates_folder),`Couldn't retrieve template files from templates folder ${this.plugin.settings.templates_folder}`);return e||[]}getItemText(e){let t=e.path;if(e.path.startsWith(this.plugin.settings.templates_folder)&&(0,dr.normalizePath)(this.plugin.settings.templates_folder)!="/"){let r=this.plugin.settings.templates_folder.length,i=this.plugin.settings.templates_folder.endsWith("/")?r:r+1;t=e.path.slice(i)}return t.split(".").slice(0,-1).join(".")}onChooseItem(e){switch(this.open_mode){case 0:this.plugin.templater.append_template_to_active_file(e);break;case 1:this.plugin.templater.create_new_note_from_template(e,this.creation_folder);break}}start(){try{this.open()}catch(e){oe(e)}}insert_template(){this.open_mode=0,this.start()}create_new_note_from_template(e){this.creation_folder=e,this.open_mode=1,this.start()}};var Io="Error_MobileUnsupportedTemplate",qo='';var Oe=X(require("obsidian"));var dt=X(require("obsidian"));var we=class{constructor(e){this.plugin=e;this.static_functions=new Map;this.dynamic_functions=new Map}getName(){return this.name}async init(){await this.create_static_templates(),this.static_object=Object.fromEntries(this.static_functions)}async generate_object(e){return this.config=e,await this.create_dynamic_templates(),{...this.static_object,...Object.fromEntries(this.dynamic_functions)}}};var oi=class extends we{constructor(){super(...arguments);this.name="date"}async create_static_templates(){this.static_functions.set("now",this.generate_now()),this.static_functions.set("tomorrow",this.generate_tomorrow()),this.static_functions.set("weekday",this.generate_weekday()),this.static_functions.set("yesterday",this.generate_yesterday())}async create_dynamic_templates(){}async teardown(){}generate_now(){return(e="YYYY-MM-DD",t,r,i)=>{if(r&&!(0,dt.moment)(r,i).isValid())throw new O("Invalid reference date format, try specifying one with the argument 'reference_format'");let o;return typeof t=="string"?o=dt.moment.duration(t):typeof t=="number"&&(o=dt.moment.duration(t,"days")),(0,dt.moment)(r,i).add(o).format(e)}}generate_tomorrow(){return(e="YYYY-MM-DD")=>(0,dt.moment)().add(1,"days").format(e)}generate_weekday(){return(e="YYYY-MM-DD",t,r,i)=>{if(r&&!(0,dt.moment)(r,i).isValid())throw new O("Invalid reference date format, try specifying one with the argument 'reference_format'");return(0,dt.moment)(r,i).weekday(t).format(e)}}generate_yesterday(){return(e="YYYY-MM-DD")=>(0,dt.moment)().add(-1,"days").format(e)}};var le=X(require("obsidian"));var Lo=10,ai=class extends we{constructor(){super(...arguments);this.name="file";this.include_depth=0;this.create_new_depth=0;this.linkpath_regex=new RegExp("^\\[\\[(.*)\\]\\]$")}async create_static_templates(){this.static_functions.set("creation_date",this.generate_creation_date()),this.static_functions.set("create_new",this.generate_create_new()),this.static_functions.set("cursor",this.generate_cursor()),this.static_functions.set("cursor_append",this.generate_cursor_append()),this.static_functions.set("exists",this.generate_exists()),this.static_functions.set("find_tfile",this.generate_find_tfile()),this.static_functions.set("folder",this.generate_folder()),this.static_functions.set("include",this.generate_include()),this.static_functions.set("last_modified_date",this.generate_last_modified_date()),this.static_functions.set("move",this.generate_move()),this.static_functions.set("path",this.generate_path()),this.static_functions.set("rename",this.generate_rename()),this.static_functions.set("selection",this.generate_selection())}async create_dynamic_templates(){this.dynamic_functions.set("content",await this.generate_content()),this.dynamic_functions.set("tags",this.generate_tags()),this.dynamic_functions.set("title",this.generate_title())}async teardown(){}async generate_content(){return await this.plugin.app.vault.read(this.config.target_file)}generate_create_new(){return async(e,t,r=!1,i)=>{if(this.create_new_depth+=1,this.create_new_depth>Lo)throw this.create_new_depth=0,new O("Reached create_new depth limit (max = 10)");let o=await this.plugin.templater.create_new_note_from_template(e,i,t,r);return this.create_new_depth-=1,o}}generate_creation_date(){return(e="YYYY-MM-DD HH:mm")=>(0,le.moment)(this.config.target_file.stat.ctime).format(e)}generate_cursor(){return e=>`<% tp.file.cursor(${e??""}) %>`}generate_cursor_append(){return e=>{let t=this.plugin.app.workspace.activeEditor;if(!t||!t.editor){oe(new O("No active editor, can't append to cursor."));return}return t.editor.getDoc().replaceSelection(e),""}}generate_exists(){return async e=>{let t=(0,le.normalizePath)(e);return await this.plugin.app.vault.exists(t)}}generate_find_tfile(){return e=>{let t=(0,le.normalizePath)(e);return this.plugin.app.metadataCache.getFirstLinkpathDest(t,"")}}generate_folder(){return(e=!1)=>{let t=this.config.target_file.parent,r;return e?r=t.path:r=t.name,r}}generate_include(){return async e=>{if(this.include_depth+=1,this.include_depth>Lo)throw this.include_depth-=1,new O("Reached inclusion depth limit (max = 10)");let t;if(e instanceof le.TFile)t=await this.plugin.app.vault.read(e);else{let r;if((r=this.linkpath_regex.exec(e))===null)throw this.include_depth-=1,new O("Invalid file format, provide an obsidian link between quotes.");let{path:i,subpath:o}=(0,le.parseLinktext)(r[1]),a=this.plugin.app.metadataCache.getFirstLinkpathDest(i,"");if(!a)throw this.include_depth-=1,new O(`File ${e} doesn't exist`);if(t=await this.plugin.app.vault.read(a),o){let l=this.plugin.app.metadataCache.getFileCache(a);if(l){let c=(0,le.resolveSubpath)(l,o);c&&(t=t.slice(c.start.offset,c.end?.offset))}}}try{let r=await this.plugin.templater.parser.parse_commands(t,this.plugin.templater.current_functions_object);return this.include_depth-=1,r}catch(r){throw this.include_depth-=1,r}}}generate_last_modified_date(){return(e="YYYY-MM-DD HH:mm")=>(0,le.moment)(this.config.target_file.stat.mtime).format(e)}generate_move(){return async(e,t)=>{let r=t||this.config.target_file,i=(0,le.normalizePath)(`${e}.${r.extension}`),o=i.replace(/\\/g,"/").split("/");if(o.pop(),o.length){let a=o.join("/");this.plugin.app.vault.getAbstractFileByPath(a)||await this.plugin.app.vault.createFolder(a)}return await this.plugin.app.fileManager.renameFile(r,i),""}}generate_path(){return(e=!1)=>{let t="";if(le.Platform.isMobile){let r=this.plugin.app.vault.adapter.fs.uri,i=this.plugin.app.vault.adapter.basePath;t=`${r}/${i}`}else if(this.plugin.app.vault.adapter instanceof le.FileSystemAdapter)t=this.plugin.app.vault.adapter.getBasePath();else throw new O("app.vault is not a FileSystemAdapter instance");return e?this.config.target_file.path:`${t}/${this.config.target_file.path}`}}generate_rename(){return async e=>{if(e.match(/[\\/:]+/g))throw new O("File name cannot contain any of these characters: \\ / :");let t=(0,le.normalizePath)(`${this.config.target_file.parent.path}/${e}.${this.config.target_file.extension}`);return await this.plugin.app.fileManager.renameFile(this.config.target_file,t),""}}generate_selection(){return()=>{let e=this.plugin.app.workspace.activeEditor;if(!e||!e.editor)throw new O("Active editor is null, can't read selection.");return e.editor.getSelection()}}generate_tags(){let e=this.plugin.app.metadataCache.getFileCache(this.config.target_file);return e?(0,le.getAllTags)(e):null}generate_title(){return this.config.target_file.basename}};var Ho=X(require("obsidian"));var si=class extends we{constructor(){super(...arguments);this.name="web"}async create_static_templates(){this.static_functions.set("daily_quote",this.generate_daily_quote()),this.static_functions.set("request",this.generate_request()),this.static_functions.set("random_picture",this.generate_random_picture())}async create_dynamic_templates(){}async teardown(){}async getRequest(e){try{let t=await(0,Ho.requestUrl)(e);if(t.status<200&&t.status>=300)throw new O("Error performing GET request");return t}catch{throw new O("Error performing GET request")}}generate_daily_quote(){return async()=>{try{let t=(await this.getRequest("https://raw.githubusercontent.com/Zachatoo/quotes-database/refs/heads/main/quotes.json")).json,r=t[Math.floor(Math.random()*t.length)],{quote:i,author:o}=r;return`> [!quote] ${i} +> \u2014 ${o}`}catch{return new O("Error generating daily quote"),"Error generating daily quote"}}}generate_random_picture(){return async(e,t,r=!1)=>{try{let i=await this.getRequest(`https://templater-unsplash-2.fly.dev/${t?"?q="+t:""}`).then(a=>a.json),o=i.full;if(e&&!r)if(e.includes("x")){let[a,l]=e.split("x");o=o.concat(`&w=${a}&h=${l}`)}else o=o.concat(`&w=${e}`);return r?`![photo by ${i.photog}(${i.photogUrl}) on Unsplash|${e}](${o})`:`![photo by ${i.photog}(${i.photogUrl}) on Unsplash](${o})`}catch{return new O("Error generating random picture"),"Error generating random picture"}}}generate_request(){return async(e,t)=>{try{let i=await(await this.getRequest(e)).json;return t&&i?t.split(".").reduce((o,a)=>{if(o&&o.hasOwnProperty(a))return o[a];throw new Error(`Path ${t} not found in the JSON response`)},i):i}catch(r){throw console.error(r),new O("Error fetching and extracting value")}}}};var ci=class extends we{constructor(){super(...arguments);this.name="hooks";this.event_refs=[]}async create_static_templates(){this.static_functions.set("on_all_templates_executed",this.generate_on_all_templates_executed())}async create_dynamic_templates(){}async teardown(){this.event_refs.forEach(e=>{e.e.offref(e)}),this.event_refs=[]}generate_on_all_templates_executed(){return e=>{let t=this.plugin.app.workspace.on("templater:all-templates-executed",async()=>{await An(1),e()});t&&this.event_refs.push(t)}}};var li=class extends we{constructor(){super(...arguments);this.name="frontmatter"}async create_static_templates(){}async create_dynamic_templates(){let e=this.plugin.app.metadataCache.getFileCache(this.config.target_file);this.dynamic_functions=new Map(Object.entries(e?.frontmatter||{}))}async teardown(){}};var Je=X(require("obsidian"));var pi=class extends Je.Modal{constructor(e,t,r,i){super(e);this.prompt_text=t;this.default_value=r;this.multi_line=i;this.submitted=!1}onOpen(){this.titleEl.setText(this.prompt_text),this.createForm()}onClose(){this.contentEl.empty(),this.submitted||this.reject(new O("Cancelled prompt"))}createForm(){let e=this.contentEl.createDiv();e.addClass("templater-prompt-div");let t;if(this.multi_line){t=new Je.TextAreaComponent(e);let r=this.contentEl.createDiv();r.addClass("templater-button-div");let i=new Je.ButtonComponent(r);i.buttonEl.addClass("mod-cta"),i.setButtonText("Submit").onClick(o=>{this.resolveAndClose(o)})}else t=new Je.TextComponent(e);this.value=this.default_value??"",t.inputEl.addClass("templater-prompt-input"),t.setPlaceholder("Type text here"),t.setValue(this.value),t.onChange(r=>this.value=r),t.inputEl.focus(),t.inputEl.addEventListener("keydown",r=>this.enterCallback(r))}enterCallback(e){e.isComposing||e.keyCode===229||(this.multi_line?Je.Platform.isDesktop&&e.key==="Enter"&&!e.shiftKey&&this.resolveAndClose(e):e.key==="Enter"&&this.resolveAndClose(e))}resolveAndClose(e){this.submitted=!0,e.preventDefault(),this.resolve(this.value),this.close()}async openAndGetValue(e,t){this.resolve=e,this.reject=t,this.open()}};var $o=X(require("obsidian")),ui=class extends $o.FuzzySuggestModal{constructor(e,t,r,i,o){super(e);this.text_items=t;this.items=r;this.submitted=!1;this.setPlaceholder(i),o&&(this.limit=o)}getItems(){return this.items}onClose(){this.submitted||this.reject(new O("Cancelled prompt"))}selectSuggestion(e,t){this.submitted=!0,this.close(),this.onChooseSuggestion(e,t)}getItemText(e){return this.text_items instanceof Function?this.text_items(e):this.text_items[this.items.indexOf(e)]||"Undefined Text Item"}onChooseItem(e){this.resolve(e)}async openAndGetValue(e,t){this.resolve=e,this.reject=t,this.open()}};var fi=class extends we{constructor(){super(...arguments);this.name="system"}async create_static_templates(){this.static_functions.set("clipboard",this.generate_clipboard()),this.static_functions.set("prompt",this.generate_prompt()),this.static_functions.set("suggester",this.generate_suggester())}async create_dynamic_templates(){}async teardown(){}generate_clipboard(){return async()=>await navigator.clipboard.readText()}generate_prompt(){return async(e,t,r=!1,i=!1)=>{let o=new pi(this.plugin.app,e,t,i),a=new Promise((l,c)=>o.openAndGetValue(l,c));try{return await a}catch(l){if(r)throw l;return null}}}generate_suggester(){return async(e,t,r=!1,i="",o)=>{let a=new ui(this.plugin.app,e,t,i,o),l=new Promise((c,d)=>a.openAndGetValue(c,d));try{return await l}catch(c){if(r)throw c;return null}}}};var di=class extends we{constructor(){super(...arguments);this.name="config"}async create_static_templates(){}async create_dynamic_templates(){}async teardown(){}async generate_object(e){return e}};var mi=class{constructor(e){this.plugin=e;this.modules_array=[];this.modules_array.push(new oi(this.plugin)),this.modules_array.push(new ai(this.plugin)),this.modules_array.push(new si(this.plugin)),this.modules_array.push(new li(this.plugin)),this.modules_array.push(new ci(this.plugin)),this.modules_array.push(new fi(this.plugin)),this.modules_array.push(new di(this.plugin))}async init(){for(let e of this.modules_array)await e.init()}async teardown(){for(let e of this.modules_array)await e.teardown()}async generate_object(e){let t={};for(let r of this.modules_array)t[r.getName()]=await r.generate_object(e);return t}};var Tn=X(require("obsidian"));var gi=class{constructor(e){this.plugin=e;if(Tn.Platform.isMobile||!(this.plugin.app.vault.adapter instanceof Tn.FileSystemAdapter))this.cwd="";else{this.cwd=this.plugin.app.vault.adapter.getBasePath();let{promisify:t}=require("util"),{exec:r}=require("child_process");this.exec_promise=t(r)}}async generate_system_functions(e){let t=new Map,r=await this.plugin.templater.functions_generator.generate_object(e,Qe.INTERNAL);for(let i of this.plugin.settings.templates_pairs){let o=i[0],a=i[1];!o||!a||(Tn.Platform.isMobile?t.set(o,()=>new Promise(l=>l(Io))):(a=await this.plugin.templater.parser.parse_commands(a,r),t.set(o,async l=>{let c={...process.env,...l},d={timeout:this.plugin.settings.command_timeout*1e3,cwd:this.cwd,env:c,...this.plugin.settings.shell_path&&{shell:this.plugin.settings.shell_path}};try{let{stdout:m}=await this.exec_promise(a,d);return m.trimRight()}catch(m){throw new O(`Error with User Template ${o}`,m)}})))}return t}async generate_object(e){let t=await this.generate_system_functions(e);return Object.fromEntries(t)}};var hi=class{constructor(e){this.plugin=e}async generate_user_script_functions(){let e=new Map,t=ke(()=>ze(this.plugin.app,this.plugin.settings.user_scripts_folder),`Couldn't find user script folder "${this.plugin.settings.user_scripts_folder}"`);if(!t)return new Map;for(let r of t)r.extension.toLowerCase()==="js"&&await this.load_user_script_function(r,e);return e}async load_user_script_function(e,t){let r=c=>window.require&&window.require(c),i={},o={exports:i},a=await this.plugin.app.vault.read(e);try{window.eval("(function anonymous(require, module, exports){"+a+` +})`)(r,o,i)}catch(c){throw new O(`Failed to load user script at "${e.path}".`,c.message)}let l=i.default||o.exports;if(!l)throw new O(`Failed to load user script at "${e.path}". No exports detected.`);if(!(l instanceof Function))throw new O(`Failed to load user script at "${e.path}". Default export is not a function.`);t.set(`${e.basename}`,l)}async generate_object(){let e=await this.generate_user_script_functions();return Object.fromEntries(e)}};var Ai=class{constructor(e){this.plugin=e;this.user_system_functions=new gi(e),this.user_script_functions=new hi(e)}async generate_object(e){let t={},r={};return this.plugin.settings.enable_system_commands&&(t=await this.user_system_functions.generate_object(e)),this.plugin.settings.user_scripts_folder&&(r=await this.user_script_functions.generate_object()),{...t,...r}}};var qs=X(require("obsidian")),Qe;(function(t){t[t.INTERNAL=0]="INTERNAL",t[t.USER_INTERNAL=1]="USER_INTERNAL"})(Qe||(Qe={}));var _i=class{constructor(e){this.plugin=e;this.internal_functions=new mi(this.plugin),this.user_functions=new Ai(this.plugin)}async init(){await this.internal_functions.init()}async teardown(){await this.internal_functions.teardown()}additional_functions(){return{app:this.plugin.app,obsidian:qs}}async generate_object(e,t=1){let r={},i=this.additional_functions(),o=await this.internal_functions.generate_object(e),a={};switch(Object.assign(r,i),t){case 0:Object.assign(r,o);break;case 1:a=await this.user_functions.generate_object(e),Object.assign(r,{...o,user:a});break}return r}};var Vs={},N,He=new Array(32).fill(void 0);He.push(void 0,null,!0,!1);function Se(n){return He[n]}var kn=He.length;function Ls(n){n<36||(He[n]=kn,kn=n)}function xi(n){let e=Se(n);return Ls(n),e}var Ko=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});Ko.decode();var mr=new Uint8Array;function gr(){return mr.byteLength===0&&(mr=new Uint8Array(N.memory.buffer)),mr}function vt(n,e){return Ko.decode(gr().subarray(n,n+e))}function wt(n){kn===He.length&&He.push(He.length+1);let e=kn;return kn=He[e],He[e]=n,e}var $e=0,hr=new TextEncoder("utf-8"),Hs=typeof hr.encodeInto=="function"?function(n,e){return hr.encodeInto(n,e)}:function(n,e){let t=hr.encode(n);return e.set(t),{read:n.length,written:t.length}};function mt(n,e,t){if(t===void 0){let l=hr.encode(n),c=e(l.length);return gr().subarray(c,c+l.length).set(l),$e=l.length,c}let r=n.length,i=e(r),o=gr(),a=0;for(;a127)break;o[i+a]=l}if(a!==r){a!==0&&(n=n.slice(a)),i=t(i,r,r=a+n.length*3);let l=gr().subarray(i+a,i+r);a+=Hs(n,l).written}return $e=a,i}function $s(n){return n==null}var Ar=new Int32Array;function Ce(){return Ar.byteLength===0&&(Ar=new Int32Array(N.memory.buffer)),Ar}function yi(n){let e=typeof n;if(e=="number"||e=="boolean"||n==null)return`${n}`;if(e=="string")return`"${n}"`;if(e=="symbol"){let i=n.description;return i==null?"Symbol":`Symbol(${i})`}if(e=="function"){let i=n.name;return typeof i=="string"&&i.length>0?`Function(${i})`:"Function"}if(Array.isArray(n)){let i=n.length,o="[";i>0&&(o+=yi(n[0]));for(let a=1;a1)r=t[1];else return toString.call(n);if(r=="Object")try{return"Object("+JSON.stringify(n)+")"}catch{return"Object"}return n instanceof Error?`${n.name}: ${n.message} +${n.stack}`:r}function Ks(n,e){if(!(n instanceof e))throw new Error(`expected instance of ${e.name}`);return n.ptr}var _r=32;function Rs(n){if(_r==1)throw new Error("out of js stack");return He[--_r]=n,_r}function ji(n,e){try{return n.apply(this,e)}catch(t){N.__wbindgen_exn_store(wt(t))}}var Ht=class{static __wrap(e){let t=Object.create(Ht.prototype);return t.ptr=e,t}__destroy_into_raw(){let e=this.ptr;return this.ptr=0,e}free(){let e=this.__destroy_into_raw();N.__wbg_parserconfig_free(e)}get interpolate(){let e=N.__wbg_get_parserconfig_interpolate(this.ptr);return String.fromCodePoint(e)}set interpolate(e){N.__wbg_set_parserconfig_interpolate(this.ptr,e.codePointAt(0))}get execution(){let e=N.__wbg_get_parserconfig_execution(this.ptr);return String.fromCodePoint(e)}set execution(e){N.__wbg_set_parserconfig_execution(this.ptr,e.codePointAt(0))}get single_whitespace(){let e=N.__wbg_get_parserconfig_single_whitespace(this.ptr);return String.fromCodePoint(e)}set single_whitespace(e){N.__wbg_set_parserconfig_single_whitespace(this.ptr,e.codePointAt(0))}get multiple_whitespace(){let e=N.__wbg_get_parserconfig_multiple_whitespace(this.ptr);return String.fromCodePoint(e)}set multiple_whitespace(e){N.__wbg_set_parserconfig_multiple_whitespace(this.ptr,e.codePointAt(0))}constructor(e,t,r,i,o,a,l){let c=mt(e,N.__wbindgen_malloc,N.__wbindgen_realloc),d=$e,m=mt(t,N.__wbindgen_malloc,N.__wbindgen_realloc),y=$e,b=mt(l,N.__wbindgen_malloc,N.__wbindgen_realloc),E=$e,P=N.parserconfig_new(c,d,m,y,r.codePointAt(0),i.codePointAt(0),o.codePointAt(0),a.codePointAt(0),b,E);return Ht.__wrap(P)}get opening_tag(){try{let r=N.__wbindgen_add_to_stack_pointer(-16);N.parserconfig_opening_tag(r,this.ptr);var e=Ce()[r/4+0],t=Ce()[r/4+1];return vt(e,t)}finally{N.__wbindgen_add_to_stack_pointer(16),N.__wbindgen_free(e,t)}}set opening_tag(e){let t=mt(e,N.__wbindgen_malloc,N.__wbindgen_realloc),r=$e;N.parserconfig_set_opening_tag(this.ptr,t,r)}get closing_tag(){try{let r=N.__wbindgen_add_to_stack_pointer(-16);N.parserconfig_closing_tag(r,this.ptr);var e=Ce()[r/4+0],t=Ce()[r/4+1];return vt(e,t)}finally{N.__wbindgen_add_to_stack_pointer(16),N.__wbindgen_free(e,t)}}set closing_tag(e){let t=mt(e,N.__wbindgen_malloc,N.__wbindgen_realloc),r=$e;N.parserconfig_set_closing_tag(this.ptr,t,r)}get global_var(){try{let r=N.__wbindgen_add_to_stack_pointer(-16);N.parserconfig_global_var(r,this.ptr);var e=Ce()[r/4+0],t=Ce()[r/4+1];return vt(e,t)}finally{N.__wbindgen_add_to_stack_pointer(16),N.__wbindgen_free(e,t)}}set global_var(e){let t=mt(e,N.__wbindgen_malloc,N.__wbindgen_realloc),r=$e;N.parserconfig_set_global_var(this.ptr,t,r)}},on=class{static __wrap(e){let t=Object.create(on.prototype);return t.ptr=e,t}__destroy_into_raw(){let e=this.ptr;return this.ptr=0,e}free(){let e=this.__destroy_into_raw();N.__wbg_renderer_free(e)}constructor(e){Ks(e,Ht);var t=e.ptr;e.ptr=0;let r=N.renderer_new(t);return on.__wrap(r)}render_content(e,t){try{let a=N.__wbindgen_add_to_stack_pointer(-16),l=mt(e,N.__wbindgen_malloc,N.__wbindgen_realloc),c=$e;N.renderer_render_content(a,this.ptr,l,c,Rs(t));var r=Ce()[a/4+0],i=Ce()[a/4+1],o=Ce()[a/4+2];if(o)throw xi(i);return xi(r)}finally{N.__wbindgen_add_to_stack_pointer(16),He[_r++]=void 0}}};async function Ys(n,e){if(typeof Response=="function"&&n instanceof Response){if(typeof WebAssembly.instantiateStreaming=="function")try{return await WebAssembly.instantiateStreaming(n,e)}catch(r){if(n.headers.get("Content-Type")!="application/wasm")console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",r);else throw r}let t=await n.arrayBuffer();return await WebAssembly.instantiate(t,e)}else{let t=await WebAssembly.instantiate(n,e);return t instanceof WebAssembly.Instance?{instance:t,module:n}:t}}function Us(){let n={};return n.wbg={},n.wbg.__wbindgen_object_drop_ref=function(e){xi(e)},n.wbg.__wbindgen_string_new=function(e,t){let r=vt(e,t);return wt(r)},n.wbg.__wbindgen_string_get=function(e,t){let r=Se(t),i=typeof r=="string"?r:void 0;var o=$s(i)?0:mt(i,N.__wbindgen_malloc,N.__wbindgen_realloc),a=$e;Ce()[e/4+1]=a,Ce()[e/4+0]=o},n.wbg.__wbg_call_97ae9d8645dc388b=function(){return ji(function(e,t){let r=Se(e).call(Se(t));return wt(r)},arguments)},n.wbg.__wbg_new_8d2af00bc1e329ee=function(e,t){let r=new Error(vt(e,t));return wt(r)},n.wbg.__wbg_message_fe2af63ccc8985bc=function(e){let t=Se(e).message;return wt(t)},n.wbg.__wbg_newwithargs_8fe23e3842840c8e=function(e,t,r,i){let o=new Function(vt(e,t),vt(r,i));return wt(o)},n.wbg.__wbg_call_168da88779e35f61=function(){return ji(function(e,t,r){let i=Se(e).call(Se(t),Se(r));return wt(i)},arguments)},n.wbg.__wbg_call_3999bee59e9f7719=function(){return ji(function(e,t,r,i){let o=Se(e).call(Se(t),Se(r),Se(i));return wt(o)},arguments)},n.wbg.__wbindgen_debug_string=function(e,t){let r=yi(Se(t)),i=mt(r,N.__wbindgen_malloc,N.__wbindgen_realloc),o=$e;Ce()[e/4+1]=o,Ce()[e/4+0]=i},n.wbg.__wbindgen_throw=function(e,t){throw new Error(vt(e,t))},n}function Gs(n,e){}function Ws(n,e){return N=n.exports,Ro.__wbindgen_wasm_module=e,Ar=new Int32Array,mr=new Uint8Array,N}async function Ro(n){typeof n=="undefined"&&(n=new URL("rusty_engine_bg.wasm",Vs.url));let e=Us();(typeof n=="string"||typeof Request=="function"&&n instanceof Request||typeof URL=="function"&&n instanceof URL)&&(n=fetch(n)),Gs(e);let{instance:t,module:r}=await Ys(await n,e);return Ws(t,r)}var Yo=Ro;var Uo=Ui("AGFzbQEAAAABvwEaYAJ/fwBgAn9/AX9gAX8Bf2ADf39/AX9gA39/fwBgAX8AYAV/f39/fwBgBH9/f38AYAR/f39/AX9gAABgBX9/f39/AX9gAX8BfmAAAX9gBn9/f39/fwBgB39/f39/f38AYAV/f35/fwBgBX9/fX9/AGAFf398f38AYAR/fn9/AGAFf35/f38AYAR/fX9/AGAEf3x/fwBgBn9/f39/fwF/YAd/f39/f39/AX9gCn9/f39/f39/f38Bf2ACfn8BfwLkAgsDd2JnGl9fd2JpbmRnZW5fb2JqZWN0X2Ryb3BfcmVmAAUDd2JnFV9fd2JpbmRnZW5fc3RyaW5nX25ldwABA3diZxVfX3diaW5kZ2VuX3N0cmluZ19nZXQAAAN3YmcbX193YmdfY2FsbF85N2FlOWQ4NjQ1ZGMzODhiAAEDd2JnGl9fd2JnX25ld184ZDJhZjAwYmMxZTMyOWVlAAEDd2JnHl9fd2JnX21lc3NhZ2VfZmUyYWY2M2NjYzg5ODViYwACA3diZyJfX3diZ19uZXd3aXRoYXJnc184ZmUyM2UzODQyODQwYzhlAAgDd2JnG19fd2JnX2NhbGxfMTY4ZGE4ODc3OWUzNWY2MQADA3diZxtfX3diZ19j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gBiAHNgIMIAYgATYCCAtBwLHAACAFNgIAQbixwAAgAzYCAAwBCyAAIAMgBGoQjQELIAAQvAEiAw0BCwJAAkACQAJAAkACQAJAAkBBuLHAACgCACIAIARJBEBBvLHAACgCACIAIARLDQIgC0EIQQgQlwEgBGpBFEEIEJcBakEQQQgQlwFqQYCABBCXARBxIAsoAgAiCA0BQQAhAwwJC0HAscAAKAIAIQIgACAEayIBQRBBCBCXAUkEQEHAscAAQQA2AgBBuLHAACgCACEAQbixwABBADYCACACIAAQjQEgAhC8ASEDDAkLIAIgBBC6ASEAQbixwAAgATYCAEHAscAAIAA2AgAgACABEJQBIAIgBBCmASACELwBIQMMCAsgCygCCCEMQcixwAAgCygCBCIKQcixwAAoAgBqIgE2AgBBzLHAAEHMscAAKAIAIgAgASAAIAFLGzYCAAJAAkBBxLHAACgCAARAQdCxwAAhAANAIAAQpwEgCEYNAiAAKAIIIgANAAsMAgtB5LHAACgCACIARSAIIABJcg0DDAcLIAAQsQENACAAELIBIAxHDQAgACIBKAIAIgVBxLHAACgCACICTQR/IAUgASgCBGogAksFQQALDQMLQeSxwABB5LHAACgCACIAIAggCCAASxs2AgAgCCAKaiEBQdCxwAAhAAJAAkADQCABIAAoAgBHBEAgACgCCCIADQEMAgsLIAAQsQENACAAELIBIAxGDQELQcSxwAAoAgAhCUHQscAAIQACQANAIAAoAgAgCU0EQCAAEKcBIAlLDQILIAAoAggiAA0AC0EAIQALIAkgABCnASIGQRRBCBCXASIPa0FpaiIBELwBIgBBCBCXASAAayABaiIAIABBEEEIEJcBIAlqSRsiDRC8ASEOIA0gDxC6ASEAQQhBCBCXASEDQRRBCBCXASEFQRBBCBCXASECQcSxwAAgCCAIELwBIgFBCBCXASABayIBELoBIgc2AgBBvLHAACAKQQhqIAIgAyAFamogAWprIgM2AgAgByADQQFyNgIEQQhBCBCXASEFQRRBCBCXASECQRBBCBCXASEBIAcgAxC6ASABIAIgBUEIa2pqNgIEQeCxwABBgICAATYCACANIA8QpgFB0L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iAGLQAAQQJGG0EBEBAgA0EIaiADKAIQIAMoAhRBACAHQQ1qIgQgBC0AAEECRhtBABAQIANBGGogAygCCCADKAIMEBIgA0EBNgI0IANBATYCLCADIAU2AiggAyADQRhqNgIwIAMgADYCRCADQQI2AlwgA0IDNwJMIANBmITAADYCSCADIANBKGo2AlggA0HEAGpBmIrAACADQcgAahAeDQUgAygCHEUNACADKAIYEBULIAdBDmohBgJAIAdBDGotAABFBEAgA0ECNgIsIAMgCTYCKCADIAA2AhggA0EBNgJcIANCAjcCTCADQfSEwAA2AkggAyADQShqNgJYIANBGGpBmIrAACADQcgAahAeDQcgA0ECNgI0IANBoIXAADYCMCADQQE2AiwgAyAFNgIoIAMgADYCGCADQQI2AlwgA0IDNwJMIANBmITAADYCSCADIANBKGo2AlggA0EYakGYisAAIANByABqEB5FDQFBq4HAAEErIANByABqQdiBwABBqIXAABBSAAsgA0ECNgIsIAMgCTYCKCADIAA2AhggA0EBNgJcIANCAjcCTCADQcSEwAA2AkggAyADQShqNgJYIANBGGpBmIrAACADQcgAahAeDQcLQQALIQQgCiABQRBqIgFHDQALIARFDQAgAyAEKAIAIAQoAgRBACAGIAYtAABBAkYbQQEQECADQRhqIAMoAgAgAygCBBASIANBNGpBATYCACADQQE2AiwgAyAFNgIoIAMgA0EYajYCMCADIAA2AkQgA0HcAGpBAjYCACADQgM3AkwgA0GYhMAANgJIIAMgA0EoajYCWCADQcQAakGYisAAIANByABqEB4NBSADKAIcRQ0AIAMoAhgQFQsgAEEEaigCACAAQQhqIgQoAgAiAWtBJ00EQCAAIAFBKBBBIAQoAgAhAQsgBCABQShqNgIAIAAoAgAgAWoiAUHIhcAAKQAANwAAIAFBCGpB0IXAACkAADcAACABQRBqQdiFwAApAAA3AAAgAUEYakHghcAAKQAANwAAIAFBIGpB6IXAACkAADcAACADQTxqQQI2AgAgA0E0akEBNgIAIANBoIXAADYCOCADIAU2AjAgA0EBNgIsIAMgBTYCKCADIAA2AhggA0HcAGoiAUEDNgIAIANCBDcCTCADQZiGwAA2AkggAyADQShqNgJYIANBGGpBmIrAACADQcgAahAeDQUgA0EBNgIsIAMgBTYCKCADIAA2AhggAUEBNgIAIANCAjcCTCADQdCGwAA2AkggAyADQShqNgJYIANBGGpBmIrAACADQcgAahAeDQYgAkEEaigCAARAIAgQFQsgA0HgAGokAA8LQauBwABBKyADQcgAakHYgcAAQYCEwAAQUgALQauBwABBKyADQcgAakHYgcAAQbCEwAAQUgALQauBwABBKyADQcgAakHYgcAAQYSFwAAQUgALQauBwABBKyADQcgAakHYgcAAQdSEwAAQUgALQauBwABBKyADQcgAakHYgcAAQbiFwAAQUgALQauBwABBKyADQcgAakHYgcAAQbiGwAAQUgALQauBwABBKyADQcgAakHYgcAAQeCGwAAQUgAL7QkCCH8GfiMAQdAAayIDJAACQAJAAkAQVCIEBEAgA0EgakIANwMAIANBHGpBkIrAADYCACAEIAQpAwAiC0IBfDcDACADQQA2AhggAyALNwMIIAMgBEEIaikDADcDECADQqeAgIDwBDcDSCADQo2AgICgDjcDQCADQoqAgIDgDTcDOCADQtyAgIDACzcDMCADQQhqIANBMGoQGSADQQA2AjggA0IENwMwIAJFBEAgAEEANgIIIABCATcCAEEEIQRBBCEBDAQLIAEgAmohCEEAIQIDQAJ/IAEsAAAiBEF/SgRAIARB/wFxIQQgAUEBagwBCyABLQABQT9xIQUgBEEfcSEGIARBX00EQCAGQQZ0IAVyIQQgAUECagwBCyABLQACQT9xIAVBBnRyIQUgBEFwSQRAIAUgBkEMdHIhBCABQQNqDAELIAZBEnRBgIDwAHEgAS0AA0E/cSAFQQZ0cnIiBEGAgMQARg0EIAFBBGoLIQEgAyAENgIsAkAgA0EIaiADQSxqECJFBEAgAygCLCECIAMoAjgiBCADKAI0RgRAIANBMGogBBA+IAMoAjghBAsgAygCMCAEQQJ0aiACNgIADAELIAMoAjgiBCADKAI0RgRAIANBMGogBBA+IAMoAjghBAsgAygCMCAEQQJ0akHcADYCACADIAMoAjhBAWoiAjYCOCADKAIkR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Av+BAEKfyMAQTBrIgMkACADQSRqIAE2AgAgA0EDOgAoIANCgICAgIAENwMIIAMgADYCICADQQA2AhggA0EANgIQAkACQAJAIAIoAggiCkUEQCACQRRqKAIAIgRFDQEgAigCACEBIAIoAhAhACAEQX9qQf////8BcUEBaiIHIQQDQCABQQRqKAIAIgUEQCADKAIgIAEoAgAgBSADKAIkKAIMEQMADQQLIAAoAgAgA0EIaiAAQQRqKAIAEQEADQMgAEEIaiEAIAFBCGohASAEQX9qIgQNAAsMAQsgAkEMaigCACIARQ0AIABBBXQhCyAAQX9qQf///z9xQQFqIQcgAigCACEBA0AgAUEEaigCACIABEAgAygCICABKAIAIAAgAygCJCgCDBEDAA0DCyADIAQgCmoiBUEcai0AADoAKCADIAVBBGopAgBCIIk3AwggBUEYaigCACEGIAIoAhAhCEEAIQlBACEAAkACQAJAIAVBFGooAgBBAWsOAgACAQsgBkEDdCAIaiIMKAIEQTdHDQEgDCgCACgCACEGC0EBIQALIAMgBjYCFCADIAA2AhAgBUEQaigCACEAAkACQAJAIAVBDGooAgBBAWsOAgACAQsgAEEDdCAIaiIGKAIEQTdHDQEgBigCACgCACEAC0EBIQkLIAMgADYCHCADIAk2AhggCCAFKAIAQQN0aiIAKAIAIANBCGogACgCBBEBAA0CIAFBCGohASALIARBIGoiBEcNAAsLQQAhACAHIAIoAgRJIgFFDQEgAygCICACKAIAIAdBA3RqQQAgARsiASgCACABKAIEIAMoAiQoAgwRAwBFDQELQQEhAAsgA0EwaiQAIAALwgQBCH8jAEHQAGsiBCQAIARBEGogASACIAMoAgAgA0EIaigCABAOAkACQAJAAkACQAJAIAQoAhBFBEAgBEEeai0AAA0EIARBxABqKAIAIQYgBCgCQCEHIARBHGotAABFIQggBCgCFCEDA0ACQCADRQ0AIAYgA00EQCADIAZGDQEMCQsgAyAHaiwAAEFASA0ICyADIAZGDQICfyADIAdqIgksAAAiBUF/TARAIAktAAFBP3EiCiAFQR9xIgtBBnRyIAVBYEkNARogCS0AAkE/cSA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E8EQCACIAFBP3FBgAFyOgAPIAIgAUEGdkE/cUGAAXI6AA4gAiABQQx2QT9xQYABcjoADSACIAFBEnZBB3FB8AFyOgAMQQQMAQsgAiABQT9xQYABcjoADiACIAFBDHZB4AFyOgAMIAIgAUEGdkE/cUGAAXI6AA1BAwshASAAQQRqKAIAIABBCGoiBCgCACIDayABSQRAIAAgAyABEEIgBCgCACEDCyAAKAIAIANqIAJBDGogARC5ARogBCABIANqNgIACyACQRBqJAAL1wIBA38jAEEQayICJAACQAJ/AkACQCABQYABTwRAIAJBADYCDCABQYAQSQ0BIAFBgIAETw0CIAIgAUE/cUGAAXI6AA4gAiABQQx2QeABcjoADCACIAFBBnZBP3FBgAFyOgANQQMMAwsgACgCCCIDIABBBGooAgBGBEAgACADEEMgACgCCCEDCyAAIANBAWo2AgggACgCACADaiABOgAADAMLIAIgAUE/cUGAAXI6AA0gAiABQQZ2QcABcjoADEECDAELIAIgAUE/cUGAAXI6AA8gAiABQQZ2QT9xQYABcjoADiACIAFBDHZBP3FBgAFyOgANIAIgAUESdkEHcUHwAXI6AAxBBAshASAAQQRqKAIAIABBCGoiBCgCACIDayABSQRAIAAgAyABEEIgBCgCACEDCyAAKAIAIANqIAJBDGogARC5ARogBCABIANqNgIACyACQRBqJAALtgIBB38CQCACQQ9NBEAgACEDDAELIABBACAAa0EDcSIEaiEFIAQEQCAAIQMgASEGA0AgAyAGLQAAOgAAIAZBAWohBiADQQFqIgMgBUkNAAsLIAUgAiAEayIIQXxxIgdqIQMCQCABIARqIgRBA3EEQCAHQQFIDQEgBEEDdCICQRhxIQkgBEF8cSIGQQRqIQFBACACa0EYcSECIAYoAgAhBgNAIAUgBiAJdiABKAIAIgYgAnRyNgIAIAFBBGohASAFQQRqIgUgA0kNAAsMAQsgB0EBSA0AIAQhAQNAIAUgASgCADYCACABQQRqIQEgBUEEaiIFIANJDQALCyAIQQNxIQIgBCAHaiEBCyACBEAgAiADaiECA0AgAyABLQAAOgAAIAFBAWohASADQQFqI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gAyACQRBqEEsgAigCAARAIAJBCGooAgAiAEUNASACKAIEIAAQswEACyACKAIEIQMgAEEEaiABNgIAIAAgAzYCACACQSBqJAAPCxBzAAvTAQEFfyMAQSBrIgIkAAJAIAFBAWoiAyABSQ0AQQQhBCAAQQRqKAIAIgVBAXQiASADIAEgA0sbIgFBBCABQQRLGyIBQf////8DcSABRkECdCEDIAFBAnQhBgJAIAVFBEBBACEEDAELIAIgBUECdDYCFCACIAAoAgA2AhALIAIgBDYCGCACIAYgAyACQRBqEEsgAigCAARAIAJBCGooAgAiAEUNASACKAIEIAAQswEACyACKAIEIQMgAEEEaiABNgIAIAAgAzYCACACQSBqJAAPCxBzAAu3AQEEfyAAKAIAIgEgACgCBEYEQEGAgMQADwsgACABQQFqNgIAIAEtAAAiA0EYdEEYdUF/TAR/IAAgAUECajYCACABLQABQT9xIQIgA0EfcSEEIANB3wFNBEAgBEEGdCACcg8LIAAgAUEDajYCACABLQACQT9xIAJBBnRyIQIgA0HwAUkEQCACIARBDHRyDwsgACABQQRqNgIAIARBEnRBgIDwAHEgAS0AA0E/cSACQQZ0cnIFIAMLC68BAQN/IwBBIGsiAiQAAkAgAUEBaiIDIAFJDQAgAEEEaigCACIBQQF0IgQgAyAEIANLGyIDQQggA0EISxshAyACIAEEfyACIAE2AhQgAiAAKAIANgIQQQEFQQALNgIYIAIgA0EBIAJBEGoQSyACKAIABEAgAkEIaigCACIARQ0BIAIoAgQgABCzAQALIAIoAgQhASAAQQRqIAM2AgAgACABNgIAIAJBIGokAA8LEHMAC68BAQJ/IwBBIGsiAyQAAkAgASACaiICIAFJDQAgAEEEaigCACIBQQF0IgQgAiAEIAJLGyICQQggAkEISxshBCADIAEEfyADIAE2AhQgAyAAKAIANgIQQQEFQQALNgIYIAMgBEEBIANBEGoQSyADKAIABEAgA0EIaigCACIARQ0BIAMoAgQgABCzAQALIAMoAgQhASAAQQRqIAQ2AgAgACABNgIAIANBIGokAA8LEHMAC60BAQJ/IwBBIGsiAyQAAkAgASACaiICIAFJDQAgAEEEaigCACIBQQF0IgQgAiAEIAJLGyICQQggAkEISxshBCADIAEEfyADIAE2AhQgAyAAKAIANgIQQQEFQQALNgIYIAMgBCADQRBqEEogAygCAARAIANBCGooAgAiAEUNASADKAIEIAAQswEACyADKAIEIQEgAEEEaiAENgIAIAAgATYCACADQSBqJAAPCxBzAAutAQEDfyMAQSBrIgIkAAJAIAFBAWoiAyABSQ0AIABBBGooAgAiAUEBdCIEIAMgBCADSxsiA0EIIANBCEsbIQMgAiABBH8gAiABNgIUIAIgACgCADYCEEEBBUEACzYCGCACIAMgAkEQahBKIAIoAgAEQCACQQhqKAIAIgBFDQEgAigCBCAAELMBAAsgAigCBCEBIABBBGogAzYCACAAIAE2AgAgAkEgaiQADwsQcwAL7wEBA38jAEEgayIFJABBjK7AAEGMrsAAKAIAIgdBAWo2AgBB7LHAAEHsscAAKAIAQQFqIgY2AgACQAJAIAdBAEggBkECS3INACAFIAQ6ABggBSADNgIUIAUgAjYCEEGArsAAKAIAIgJBf0wNAEGArsAAIAJBAWoiAjYCAEGArsAAQYiuwAAoAgAiAwR/QYSuwAAoAgAgBSAAIAEoAhARAAAgBSAFKQMANwMIIAVBCGogAygCFBEAAEGArsAAKAIABSACC0F/ajYCACAGQQFLDQAgBA0BCwALIwBBEGsiAiQAIAIgATYCDCACIAA2AggAC58BAQN/AkAgAUEPTQRAIAAhAgwBCyAAQQAgAGtBA3EiBGohAyAEBEAgACECA0AgAkH/AToAACACQQFqIgIgA0kNAAsLIAMgASAEayIBQXxxIgRqIQIgBEEBTgRAA0AgA0F/NgIAIANBBGoiAyACSQ0ACwsgAUEDcSEBCyABBEAgASACaiEBA0AgAkH/AToAACACQQFqIgIgAUkNAAsLIAALrAEBA38jAEEQayIDJAACQAJAIAEEQCABKAIAIgJBf0YNASABIAJBAWo2AgAgAyABQQRqEGEgASABKAIAQX9qNgIAIAMoAgAhAQJAIAMoAgQiAiADKAIIIgRNBEAgASECDAELIARFBEBBASECIAEQFQwBCyABIAJBASAEEJkBIgJFDQMLIAAgBDYCBCAAIAI2AgAgA0EQaiQADwsQrQEACxCuAQALIARBARCzAQALrAEBA38jAEEQayIDJAACQAJAIAEEQCABKAIAIgJBf0YNASABIAJBAWo2AgAgAyABQRBqEGEgASABKAIAQX9qNgIAIAMoAgAhAQJAIAMoAgQiAiADKAIIIgRNBEAgASECDAELIARFBEBBASECIAEQFQwBCyABIAJBASAEEJkBIgJFDQMLIAAgBDYCBCAAIAI2AgAgA0EQaiQADwsQrQEACxCuAQALIARBARCzAQALrAEBA38jAEEQayIDJAACQAJAIAEEQCABKAIAIgJBf0YNASABIAJBAWo2AgAgAyABQSxqEGEgASABKAIAQX9qNgIAIAMoAgAhAQJAIAMoAgQiAiADKAIIIgRNBEAgASECDAELIARFBEBBASECIAEQFQwBCyABIAJBASAEEJkBIgJFDQMLIAAgBDYCBCAAIAI2AgAgA0EQaiQADwsQrQEACxCuAQALIARBARCzAQALrAEBA38jAEEwayICJAAgAUEEaiEDIAEoAgRFBEAgASgCACEBIAJBEGoiBEEANgIAIAJCATcDCCACIAJBCGo2AhQgAkEoaiABQRBqKQIANwMAIAJBIGogAUEIaikCADcDACACIAEpAgA3AxggAkEUakGAjsAAIAJBGGoQHhogA0EIaiAEKAIANgIAIAMgAikDCDcCAAsgAEHoj8AANgIEIAAgAzYCACACQTBqJAALkAEBAn8CQAJ/AkACQAJAAn9BASIDIAFBAEgNABogAigCCEUNAiACKAIEIgQNASABDQNBAQwECyEDQQAhAQwECyACKAIAIARBASABEJkBDAILIAENAEEBDAELIAFBARCeAQsiAgRAIAAgAjYCBEEAIQMMAQsgACABNgIEQQEhAQsgACADNgIAIABBCGogATYCAAunAQECfwJAAkACQAJAAkACQAJAAn8gAgRAQQEiBCABQQBIDQEaIAMoAghFDQMgAygCBCIFDQIgAQ0EDAYLIAAgATYCBEEBCyEEQQAhAQwGCyADKAIAIAUgAiABEJkBIgNFDQIMBAsgAUUNAgsgASACEJ4BIgMNAgsgACAB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o2AhggAiACQQRqNgIoIAIgAjYCICACQQhqQdSWwAAQdAALbwEBfyMAQTBrIgIkACACIAE2AgQgAiAANgIAIAJBHGpBAjYCACACQSxqQQM2AgAgAkICNwIMIAJBuJfAADYCCCACQQM2AiQgAiACQSBqNgIYIAIgAkEEajYCKCACIAI2AiAgAkEIakHIl8AAEHQAC28BAX8jAEEwayICJAAgAiABNgIEIAIgADYCACACQRxqQQI2AgAgAkEsakEDNgIAIAJCAjcCDCACQfSWwAA2AgggAkEDNgIkIAIgAkEgajYCGCACIAJBBGo2AiggAiACNgIgIAJBCGpBhJfAABB0AAtsAQF/IwBBMGsiAyQAIAMgATYCBCADIAA2AgAgA0EcakECNgIAIANBLGpBAzYCACADQgI3AgwgA0HAk8AANgIIIANBAzYCJCADIANBIGo2AhggAyADNgIoIAMgA0EEajYCICADQQhqIAIQdAALVgECfyMAQSBrIgIkACAAQRxqKAIAIQMgACgCGCACQRhqIAFBEGopAgA3AwAgAkEQaiABQQhqKQIANwMAIAIgASkCADcDCCADIAJBCGoQHiACQSBqJAALWQEBfyMAQSBrIgIkACACIAAoAgA2AgQgAkEYaiABQRBqKQIANwMAIAJBEGogAUEIaikCADcDACACIAEpAgA3AwggAkEEakGYisAAIAJBCGoQHiACQSBqJAALWQEBfyMAQSBrIgIkACACIAAoAgA2AgQgAkEYaiABQRBqKQIANwMAIAJBEGogAUEIaikCADcDACACIAEpAgA3AwggAkEEakGAjsAAIAJBCGoQHiACQSBqJAALZwAjAEEwayIBJABB2K3AAC0AAARAIAFBHGpBATYCACABQgI3AgwgAUH0jsAANgIIIAFBAzYCJCABIAA2AiwgASABQSBqNgIYIAEgAUEsajYCICABQQhqQZyPwAAQdAALIAFBMGokAAtZAQF/IwBBIGsiAiQAIAIgACgCADYCBCACQRhqIAFBEGopAgA3AwAgAkEQaiABQQhqKQIANwMAIAIgASkCADcDCCACQQRqQbSRwAAgAkEIahAeIAJBIGokAAtnAQJ/IAEoAgAhAwJAAkACQCABQQhqKAIAIgFFBEBBASECDAELIAFBf0wNASABQQEQngEiAkUNAgsgAiADIAEQuQEhAiAAIAE2AgggACABNgIEIAAgAjYCAA8LEHMACyABQQEQswEAC1YBAX8jAEEgayICJAAgAiAANgIEIAJBGGogAUEQaikCADcDACACQRBqIAFBCGopAgA3AwAgAiABKQIANwMIIAJBBGpBmIrAACACQQhqEB4gAkEgaiQAC1YBAX8CQCAABEAgACgCAA0BIABBfzYCACAAQQhqIgMoAgAEQCAAKAIEEBULIAAgATYCBCAAQQA2AgAgAEEMaiACNgIAIAMgAjYCAA8LEK0BAAsQrgEAC1YBAX8CQCAABEAgACgCAA0BIABBfzYCACAAQRRqIgMoAgAEQCAAKAIQEBULIAAgATYCECAAQQA2AgAgAEEYaiACNgIAIAMgAjYCAA8LEK0BAAsQrgEAC1YBAX8CQCAABEAgACgCAA0BIABBfzYCACAAQTBqIgMoAgAEQCAAKAIsEBULIAAgATYCLCAAQQA2AgAgAEE0aiACNgIAIAMgAjYCAA8LEK0BAAsQrgEAC1YBAX8jAEEQayIFJAAgASgCACACKAIAIAMoAgAgBCgCABAIIQEgBUEIahCDASAFKAIMIQIgACAFKAIIIgNBAEc2AgAgACACIAEgAxs2AgQgBUEQaiQAC08BAn8gACgCACIDQQRqKAIAIANBCGoiBCgCACIAayACSQRAIAMgACACEEEgBCgCACEACyADKAIAIABqIAEgAhC5ARogBCAAIAJqNgIAQQALTwECfyAAKAIAIgNBBGooAgAgA0EIaiIEKAIAIgBrIAJJBEAgAyAAIAIQQiAEKAIAIQALIAMoAgAgAGogASACELkBGiAEIAAgAmo2AgBBAAtRAQF/IwBBEGsiBCQAIAEoAgAgAigCACADKAIAEAchASAEQQhqEIMBIAQoAgwhAiAAIAQoAggiA0EARzYCACAAIAIgASADGzYCBCAEQRBqJAALSgECfyAAQQRqKAIAIABBCGoiBCgCACIDayACSQRAIAAgAyACEEEgBCgCACEDCyAAKAIAIANqIAEgAhC5ARogBCACIANqNgIAQQALPwEBfyMAQSBrIgAkACAAQ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AAQSBqIAE2AgAPCxCtAQALEK4BAAsrAAJAIAAEQCAAKAIADQEgAEEANgIAIABBJGogATYCAA8LEK0BAAsQrgEACysAAkAgAARAIAAoAgANASAAQQA2AgAgAEEoaiABNgIADwsQrQEACxCuAQALQAEBfyMAQRBrIgQkACAEIAM2AgwgBCACNgIIIAQgATYCBCAEIAA2AgAgBCgCACAEKAIEIAQoAgggBCgCDBATAAs3ACAAQQM6ACAgAEKAgICAgAQ3AgAgACABNgIYIABBADYCECAAQQA2AgggAEEcakHEh8AANgIACzUBAX8gASgCGEHDjsAAQQsgAUEcaigCACgCDBEDACECIABBADoABSAAIAI6AAQgACABNgIACyUAAkAgAARAIAAoAgBBf0YNASAAQRxqKAIADwsQrQEACxCuAQALJQACQCAABEAgACgCAEF/Rg0BIABBIGooAgAPCxCtAQALEK4BAAslAAJAIAAEQCAAKAIAQX9GDQEgAEEkaigCAA8LEK0BAAsQrgEACyUAAkAgAARAIAAoAgBBf0YNASAAQShqKAIADwsQrQEACxCuAQALJwAgACAAKAIEQQFxIAFyQQJyNgIEIAAgAWoiACAAKAIEQQFyNgIECzoBAn9B3K3AAC0AACEBQdytwABBADoAAEHgrcAAKAIAIQJB4K3AAEEANgIAIAAgAjYCBCAAIAE2AgALIAEBfwJAIAAoAgQiAUUNACAAQQhqKAIARQ0AIAEQFQsLHwACQCABQXxNBEAgACABQQQgAhCZASIADQELAAsgAAsjACACIAIoAgRBfnE2AgQgACABQQFyNgIEIAAgAWogATYCAAslACAARQRAQciMwABBMBCsAQALIAAgAiADIAQgBSABKAIQEQoACyMAIABFBEBByIzAAEEwEKwBAAsgACACIAMgBCABKAIQEQgACyMAIABFBEBByIzAAEEwEKwBAAsgACACIAMgBCABKAIQEQcACyMAIABFBEBByIzAAEEwEKwBAAsgACACIAMgBCABKAIQERUACyMAIABFBEBByIzAAEEwEKwBAAsgACACIAMgBCABKAIQERIACyMAIABFBEBByIzAAEEwEKwBAAsgACACIAMgBCABKAIQERQACx4AIAAgAUE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MBARcBUQECBgEBAgEBAgEC6wECBAYCAQIbAlUIAgEBAmoBAQECBgEBZQMCBAEFAAkBAvUBCgIBAQQBkAQCAgQBIAooBgIECAEJBgIDLg0BAgAHAQYBAVIWAgcBAgECegYDAQECAQcBAUgCAwEBAQACAAU7BwABPwRRAQACAC4CFwABAQMEBQgIAgceBJQDADcEMggBDgEWBQEPAAcBEQIHAQIBBQAHAAE9BAAHbQcAYIDwAACAFgAAACAgAQAwYAEBMHECCQUSAWQBGgEAAQALHQIFAS8BAAEAewlwcm9kdWNlcnMCCGxhbmd1YWdlAQRSdXN0AAxwcm9jZXNzZWQtYnkDBXJ1c3RjHTEuNjQuMCAoYTU1ZGQ3MWQ1IDIwMjItMDktMTkpBndhbHJ1cwYwLjE5LjAMd2FzbS1iaW5kZ2VuEjAuMi44MyAoZWJhNjkxZjM4KQ==");var vi=class{async init(){await Yo(Uo);let e=new Ht("<%","%>","\0","*","-","_","tR");this.renderer=new on(e)}async parse_commands(e,t){return this.renderer.render_content(e,t)}};var Xe;(function(a){a[a.CreateNewFromTemplate=0]="CreateNewFromTemplate",a[a.AppendActiveFile=1]="AppendActiveFile",a[a.OverwriteFile=2]="OverwriteFile",a[a.OverwriteActiveFile=3]="OverwriteActiveFile",a[a.DynamicProcessor=4]="DynamicProcessor",a[a.StartupTemplate=5]="StartupTemplate"})(Xe||(Xe={}));var Sn=class{constructor(e){this.plugin=e;this.functions_generator=new _i(this.plugin),this.parser=new vi}async setup(){this.files_with_pending_templates=new Set,await this.parser.init(),await this.functions_generator.init(),this.plugin.registerMarkdownPostProcessor((e,t)=>this.process_dynamic_templates(e,t))}create_running_config(e,t,r){let i=Jt(this.plugin.app);return{template_file:e,target_file:t,run_mode:r,active_file:i}}async read_and_parse_template(e){let t=await this.plugin.app.vault.read(e.template_file);return this.parse_template(e,t)}async parse_template(e,t){let r=await this.functions_generator.generate_object(e,Qe.USER_INTERNAL);return this.current_functions_object=r,await this.parser.parse_commands(t,r)}start_templater_task(e){this.files_with_pending_templates.add(e)}async end_templater_task(e){this.files_with_pending_templates.delete(e),this.files_with_pending_templates.size===0&&(this.plugin.app.workspace.trigger("templater:all-templates-executed"),await this.functions_generator.teardown())}async create_new_note_from_template(e,t,r,i=!0){if(!t)switch(this.plugin.app.vault.getConfig("newFileLocation")){case"current":{let y=Jt(this.plugin.app);y&&(t=y.parent);break}case"folder":t=this.plugin.app.fileManager.getNewFileParent("");break;case"root":t=this.plugin.app.vault.getRoot();break;default:break}let o=e instanceof Oe.TFile&&e.extension||"md",a=await Te(async()=>{let m=t instanceof Oe.TFolder?t.path:t,y=this.plugin.app.vault.getAvailablePath((0,Oe.normalizePath)(`${m??""}/${r||"Untitled"}`),o),b=oo(y);return b&&!this.plugin.app.vault.getAbstractFileByPathInsensitive(b)&&await this.plugin.app.vault.createFolder(b),this.plugin.app.vault.create(y,"")},`Couldn't create ${o} file.`);if(a==null)return;let{path:l}=a;this.start_templater_task(l);let c,d;if(e instanceof Oe.TFile?(c=this.create_running_config(e,a,0),d=await Te(async()=>this.read_and_parse_template(c),"Template parsing error, aborting.")):(c=this.create_running_config(void 0,a,0),d=await Te(async()=>this.parse_template(c,e),"Template parsing error, aborting.")),d==null){await this.plugin.app.vault.delete(a),await this.end_templater_task(l);return}if(await this.plugin.app.vault.modify(a,d),this.plugin.app.workspace.trigger("templater:new-note-from-template",{file:a,content:d}),i){let m=this.plugin.app.workspace.getLeaf(!1);if(!m){oe(new O("No active leaf"));return}await m.openFile(a,{state:{mode:"source"}}),await this.plugin.editor_handler.jump_to_next_cursor_location(a,!0),m.setEphemeralState({rename:"all"})}return await this.end_templater_task(l),a}async append_template_to_active_file(e){let t=this.plugin.app.workspace.getActiveViewOfType(Oe.MarkdownView),r=this.plugin.app.workspace.activeEditor;if(!r||!r.file||!r.editor){oe(new O("No active editor, can't append templates."));return}let{path:i}=r.file;this.start_templater_task(i);let o=this.create_running_config(e,r.file,1),a=await Te(async()=>this.read_and_parse_template(o),"Template parsing error, aborting.");if(a==null){await this.end_templater_task(i);return}let c=r.editor.getDoc(),d=c.listSelections();c.replaceSelection(a),t&&(await An(100),await t.save()),this.plugin.app.workspace.trigger("templater:template-appended",{view:t,editor:r,content:a,oldSelections:d,newSelections:c.listSelections()}),await this.plugin.editor_handler.jump_to_next_cursor_location(r.file,!0),await this.end_templater_task(i)}async write_template_to_file(e,t){let{path:r}=t;this.start_templater_task(r);let i=this.plugin.app.workspace.activeEditor,o=Jt(this.plugin.app),a=this.create_running_config(e,t,2),l=await Te(async()=>this.read_and_parse_template(a),"Template parsing error, aborting.");if(l==null){await this.end_templater_task(r);return}await this.plugin.app.vault.modify(t,l),o?.path===t.path&&i&&i.editor&&i.editor.setSelection({line:0,ch:0},{line:0,ch:0}),this.plugin.app.workspace.trigger("templater:new-note-from-template",{file:t,content:l}),await this.plugin.editor_handler.jump_to_next_cursor_location(t,!0),await this.end_templater_task(r)}overwrite_active_file_commands(){let e=this.plugin.app.workspace.activeEditor;if(!e||!e.file){oe(new O("Active editor is null, can't overwrite content"));return}this.overwrite_file_commands(e.file,!0)}async overwrite_file_commands(e,t=!1){let{path:r}=e;this.start_templater_task(r);let i=this.create_running_config(e,e,t?3:2),o=await Te(async()=>this.read_and_parse_template(i),"Template parsing error, aborting.");if(o==null){await this.end_templater_task(r);return}await this.plugin.app.vault.modify(e,o),this.plugin.app.workspace.trigger("templater:overwrite-file",{file:e,content:o}),await this.plugin.editor_handler.jump_to_next_cursor_location(e,!0),await this.end_templater_task(r)}async process_dynamic_templates(e,t){let r=ro(),i=document.createNodeIterator(e,NodeFilter.SHOW_TEXT),o,a=!1,l;for(;o=i.nextNode();){let c=o.nodeValue;if(c!==null){let d=r.exec(c);if(d!==null){let m=this.plugin.app.metadataCache.getFirstLinkpathDest("",t.sourcePath);if(!m||!(m instanceof Oe.TFile))return;if(!a){a=!0;let y=this.create_running_config(m,m,4);l=await this.functions_generator.generate_object(y,Qe.USER_INTERNAL),this.current_functions_object=l}}for(;d!=null;){let m=d[1]+d[2],y=await Te(async()=>await this.parser.parse_commands(m,l),`Command Parsing error in dynamic command '${m}'`);if(y==null)return;let b=r.lastIndex-d[0].length,E=r.lastIndex;c=c.substring(0,b)+y+c.substring(E),r.lastIndex+=y.length-d[0].length,d=r.exec(c)}o.nodeValue=c}}}get_new_file_template_for_folder(e){do{let t=this.plugin.settings.folder_templates.find(r=>r.folder==e.path);if(t&&t.template)return t.template;e=e.parent}while(e)}get_new_file_template_for_file(e){let t=this.plugin.settings.file_templates.find(r=>new RegExp(r.regex).test(e.path));if(t&&t.template)return t.template}static async on_file_creation(e,t,r){if(!(r instanceof Oe.TFile)||r.extension!=="md")return;let i=(0,Oe.normalizePath)(e.plugin.settings.templates_folder);if(!(r.path.includes(i)&&i!=="/")&&(await An(300),!e.files_with_pending_templates.has(r.path)))if(r.stat.size==0&&e.plugin.settings.enable_folder_templates){let o=e.get_new_file_template_for_folder(r.parent);if(!o)return;let a=await Te(async()=>Dt(t,o),`Couldn't find template ${o}`);if(a==null)return;await e.write_template_to_file(a,r)}else if(r.stat.size==0&&e.plugin.settings.enable_file_templates){let o=e.get_new_file_template_for_file(r);if(!o)return;let a=await Te(async()=>Dt(t,o),`Couldn't find template ${o}`);if(a==null)return;await e.write_template_to_file(a,r)}else r.stat.size<=1e5?await e.overwrite_file_commands(r):console.log(`Templater skipped parsing ${r.path} because file size exceeds 10000`)}async execute_startup_scripts(){for(let e of this.plugin.settings.startup_templates){if(!e)continue;let t=ke(()=>Dt(this.plugin.app,e),`Couldn't find startup template "${e}"`);if(!t)continue;let{path:r}=t;this.start_templater_task(r);let i=this.create_running_config(t,t,5);await Te(async()=>this.read_and_parse_template(i),"Startup Template parsing error, aborting."),await this.end_templater_task(r)}}};var Go=X(require("obsidian")),xr=class{constructor(e,t,r){this.plugin=e;this.templater=t;this.settings=r}setup(){Array.isArray(this.plugin.app.workspace.onLayoutReadyCallbacks)?this.plugin.app.workspace.onLayoutReadyCallbacks.unshift({pluginId:this.plugin.manifest.id,callback:()=>{this.update_trigger_file_on_creation()}}):this.plugin.app.workspace.onLayoutReady(()=>{this.update_trigger_file_on_creation()}),this.update_syntax_highlighting(),this.update_file_menu()}update_syntax_highlighting(){let e=this.plugin.editor_handler.desktopShouldHighlight(),t=this.plugin.editor_handler.mobileShouldHighlight();e||t?this.plugin.editor_handler.enable_highlighter():this.plugin.editor_handler.disable_highlighter()}update_trigger_file_on_creation(){this.settings.trigger_on_file_creation?(this.trigger_on_file_creation_event=this.plugin.app.vault.on("create",e=>Sn.on_file_creation(this.templater,this.plugin.app,e)),this.plugin.registerEvent(this.trigger_on_file_creation_event)):this.trigger_on_file_creation_event&&(this.plugin.app.vault.offref(this.trigger_on_file_creation_event),this.trigger_on_file_creation_event=void 0)}update_file_menu(){this.plugin.registerEvent(this.plugin.app.workspace.on("file-menu",(e,t)=>{t instanceof Go.TFolder&&e.addItem(r=>{r.setTitle("Create new note from template").setIcon("templater-icon").onClick(()=>{this.plugin.fuzzy_suggester.create_new_note_from_template(t)})})}))}};var yr=X(require("obsidian"));var wi=class{constructor(e){this.plugin=e}setup(){this.plugin.addCommand({id:"insert-templater",name:"Open insert template modal",icon:"templater-icon",hotkeys:yr.Platform.isMacOS?void 0:[{modifiers:["Alt"],key:"e"}],callback:()=>{this.plugin.fuzzy_suggester.insert_template()}}),this.plugin.addCommand({id:"replace-in-file-templater",name:"Replace templates in the active file",icon:"templater-icon",hotkeys:yr.Platform.isMacOS?void 0:[{modifiers:["Alt"],key:"r"}],callback:()=>{this.plugin.templater.overwrite_active_file_commands()}}),this.plugin.addCommand({id:"jump-to-next-cursor-location",name:"Jump to next cursor location",icon:"text-cursor",hotkeys:[{modifiers:["Alt"],key:"Tab"}],callback:()=>{this.plugin.editor_handler.jump_to_next_cursor_location()}}),this.plugin.addCommand({id:"create-new-note-from-template",name:"Create new note from template",icon:"templater-icon",hotkeys:yr.Platform.isMacOS?void 0:[{modifiers:["Alt"],key:"n"}],callback:()=>{this.plugin.fuzzy_suggester.create_new_note_from_template()}}),this.register_templates_hotkeys()}register_templates_hotkeys(){this.plugin.settings.enabled_templates_hotkeys.forEach(e=>{e&&this.add_template_hotkey(null,e)})}add_template_hotkey(e,t){if(this.remove_template_hotkey(e),t){let r=t.slice(this.plugin.settings.templates_folder.length+1,-3);this.plugin.addCommand({id:t,name:`Insert ${r}`,icon:"templater-icon",callback:()=>{let i=ke(()=>Dt(this.plugin.app,t),"Couldn't find the template file associated with this hotkey");!i||this.plugin.templater.append_template_to_active_file(i)}}),this.plugin.addCommand({id:`create-${t}`,name:`Create ${r}`,icon:"templater-icon",callback:()=>{let i=ke(()=>Dt(this.plugin.app,t),"Couldn't find the template file associated with this hotkey");!i||this.plugin.templater.create_new_note_from_template(i)}})}}remove_template_hotkey(e){e&&(this.plugin.removeCommand(`${e}`),this.plugin.removeCommand(`create-${e}`))}};var Ci=X(require("obsidian"));var bi=X(require("obsidian"));var Ei=class{constructor(e){this.app=e}async jump_to_next_cursor_location(){let e=this.app.workspace.activeEditor;if(!e||!e.editor)return;let t=e.editor.getValue(),{new_content:r,positions:i}=this.replace_and_get_cursor_positions(t);if(i){let o=e instanceof bi.MarkdownView?e.currentMode.getFoldInfo():null;e.editor.setValue(r),o&&Array.isArray(o.folds)&&(i.forEach(a=>{o.folds=o.folds.filter(l=>l.from>a.line||l.to[0-9]*)\\)\\s*%>","g");for(;(r=i.exec(e))!=null;)t.push(r);if(t.length===0)return{};t.sort((c,d)=>Number(c.groups&&c.groups.order)-Number(d.groups&&d.groups.order));let o=t[0][0];t=t.filter(c=>c[0]===o);let a=[],l=0;for(let c of t){let d=c.index-l;if(a.push(this.get_editor_position_from_index(e,d)),e=e.replace(new RegExp(no(c[0])),""),l+=c[0].length,c[1]==="")break}return{new_content:e,positions:a}}set_cursor_location(e){let t=this.app.workspace.activeEditor;if(!t||!t.editor)return;let r=t.editor,i=[];for(let a of e)i.push({from:a});let o={selections:i};r.transaction(o)}};var Jo=X(require("obsidian"));var Js={app:{name:"app",description:"This module exposes the app instance. Prefer to use this over the global app instance."},user:{name:"user",description:"This module exposes custom made scripts, written by yourself within the script file folder location"},config:{name:"config",description:`This module exposes Templater's running configuration. + +This is mostly useful when writing scripts requiring some context information. +`,functions:{template_file:{name:"template_file",description:"The `TFile` object representing the template file.",definition:"tp.config.template_file"},target_file:{name:"target_file",description:"The `TFile` object representing the target file where the template will be inserted.",definition:"tp.config.target_file"},run_mode:{name:"run_mode",description:"The `RunMode`, representing the way Templater was launched (Create new from template, Append to active file, ...).",definition:"tp.config.run_mode"},active_file:{name:"active_file",description:"The active file (if existing) when launching Templater.",definition:"tp.config.active_file?"}}},date:{name:"date",description:"This module contains every internal function related to dates.",functions:{now:{name:"now",description:"Retrieves the date.",definition:'tp.date.now(format: string = "YYYY-MM-DD", offset?: number\u23AEstring, reference?: string, reference_format?: string)',args:[{name:"format",description:'The format for the date. Defaults to `"YYYY-MM-DD"`. Refer to [format reference](https://momentjs.com/docs/#/displaying/format/).'},{name:"offset",description:"Duration to offset the date from. If a number is provided, duration will be added to the date in days. You can also specify the offset as a string using the ISO 8601 format."},{name:"reference",description:"The date referential, e.g. set this to the note's title."},{name:"reference_format",description:"The format for the reference date. Refer to [format reference](https://momentjs.com/docs/#/displaying/format/)."}],examples:[{name:"Date now",example:"<% tp.date.now() %>"},{name:"Date now with format",example:'<% tp.date.now("Do MMMM YYYY") %>'},{name:"Last week",example:'<% tp.date.now("YYYY-MM-DD", -7) %>'},{name:"Next week",example:'<% tp.date.now("YYYY-MM-DD", 7) %>'},{name:"Last month",example:'<% tp.date.now("YYYY-MM-DD", "P-1M") %>'},{name:"Next year",example:'<% tp.date.now("YYYY-MM-DD", "P1Y") %>'},{name:"File's title date + 1 day (tomorrow)",example:'<% tp.date.now("YYYY-MM-DD", 1, tp.file.title, "YYYY-MM-DD") %>'},{name:"File's title date - 1 day (yesterday)",example:'<% tp.date.now("YYYY-MM-DD", -1, tp.file.title, "YYYY-MM-DD") %>'}]},tomorrow:{name:"tomorrow",description:"Retrieves tomorrow's date.",definition:'tp.date.tomorrow(format: string = "YYYY-MM-DD")',args:[{name:"format",description:'The format for the date. Defaults to `"YYYY-MM-DD"`. Refer to [format reference](https://momentjs.com/docs/#/displaying/format/).'}],examples:[{name:"Date tomorrow",example:"<% tp.date.tomorrow() %>"},{name:"Date tomorrow with format",example:'<% tp.date.tomorrow("Do MMMM YYYY") %>'}]},yesterday:{name:"yesterday",description:"Retrieves yesterday's date.",definition:'tp.date.yesterday(format: string = "YYYY-MM-DD")',args:[{name:"format",description:'The format for the date. Defaults to `"YYYY-MM-DD"`. Refer to [format reference](https://momentjs.com/docs/#/displaying/format/).'}],examples:[{name:"Date yesterday",example:"<% tp.date.yesterday() %>"},{name:"Date yesterday with format",example:'<% tp.date.yesterday("Do MMMM YYYY") %>'}]},weekday:{name:"weekday",description:"",definition:'tp.date.weekday(format: string = "YYYY-MM-DD", weekday: number, reference?: string, reference_format?: string)',args:[{name:"format",description:'The format for the date. Defaults to `"YYYY-MM-DD"`. Refer to [format reference](https://momentjs.com/docs/#/displaying/format/).'},{name:"weekday",description:"Week day number. If the locale assigns Monday as the first day of the week, `0` will be Monday, `-7` will be last week's day."},{name:"reference",description:"The date referential, e.g. set this to the note's title."},{name:"reference_format",description:"The format for the reference date. Refer to [format reference](https://momentjs.com/docs/#/displaying/format/)."}],examples:[{name:"This week's Monday",example:'<% tp.date.weekday("YYYY-MM-DD", 0) %>'},{name:"Next Monday",example:'<% tp.date.weekday("YYYY-MM-DD", 7) %>'},{name:"File's title Monday",example:'<% tp.date.weekday("YYYY-MM-DD", 0, tp.file.title, "YYYY-MM-DD") %>'},{name:"File's title previous Monday",example:'<% tp.date.weekday("YYYY-MM-DD", -7, tp.file.title, "YYYY-MM-DD") %>'}]}},momentjs:{examples:[{name:"Date now",example:'<% moment(tp.file.title, "YYYY-MM-DD").format("YYYY-MM-DD") %>'},{name:"Get start of month from note title",example:'<% moment(tp.file.title, "YYYY-MM-DD").startOf("month").format("YYYY-MM-DD") %>'},{name:"Get end of month from note title",example:'<% moment(tp.file.title, "YYYY-MM-DD").endOf("month").format("YYYY-MM-DD") %>'}]}},file:{name:"file",description:"This module contains every internal function related to files.",functions:{content:{name:"content",description:"The string contents of the file at the time that Templater was executed. Manipulating this string will *not* update the current file.",definition:"tp.file.content",examples:[{name:"Retrieve file content",example:"<% tp.file.content %>"}]},create_new:{name:"create_new",description:"Creates a new file using a specified template or with a specified content.",definition:"tp.file.create_new(template: TFile \u23AE string, filename?: string, open_new: boolean = false, folder?: TFolder | string)",args:[{name:"template",description:"Either the template used for the new file content, or the file content as a string. If it is the template to use, you retrieve it with `tp.file.find_tfile(TEMPLATENAME)`."},{name:"filename",description:'The filename of the new file, defaults to "Untitled".'},{name:"open_new",description:"Whether to open or not the newly created file. Warning: if you use this option, since commands are executed asynchronously, the file can be opened first and then other commands are appended to that new file and not the previous file."},{name:"folder",description:'The folder to put the new file in, defaults to Obsidian\'s default location. If you want the file to appear in a different folder, specify it with `"PATH/TO/FOLDERNAME"` or `tp.app.vault.getAbstractFileByPath("PATH/TO/FOLDERNAME")`.'}],examples:[{name:"File creation",example:'<%* await tp.file.create_new("MyFileContent", "MyFilename") %>'},{name:"File creation with template",example:'<%* await tp.file.create_new(tp.file.find_tfile("MyTemplate"), "MyFilename") %>'},{name:"File creation and open created note",example:'<%* await tp.file.create_new("MyFileContent", "MyFilename", true) %>'},{name:"File creation in current folder",example:'<%* await tp.file.create_new("MyFileContent", "MyFilename", false, tp.file.folder(true)) %>'},{name:"File creation in specified folder with string path",example:'<%* await tp.file.create_new("MyFileContent", "MyFilename", false, "Path/To/MyFolder") %>'},{name:"File creation in specified folder with TFolder",example:'<%* await tp.file.create_new("MyFileContent", "MyFilename", false, tp.app.vault.getAbstractFileByPath("MyFolder")) %>'},{name:"File creation and append link to current note",example:'[[<% (await tp.file.create_new("MyFileContent", "MyFilename")).basename %>]]'}]},creation_date:{name:"creation_date",description:"Retrieves the file's creation date.",definition:'tp.file.creation_date(format: string = "YYYY-MM-DD HH:mm")',args:[{name:"format",description:'The format for the date. Defaults to `"YYYY-MM-DD HH:mm"`. Refer to [format reference](https://momentjs.com/docs/#/displaying/format/).'}],examples:[{name:"File creation date",example:"<% tp.file.creation_date() %>"},{name:"File creation date with format",example:'<% tp.file.creation_date("dddd Do MMMM YYYY HH:mm") %>'}]},cursor:{name:"cursor",description:`Sets the cursor to this location after the template has been inserted. + +You can navigate between the different cursors using the configured hotkey in Obsidian settings. +`,definition:"tp.file.cursor(order?: number)",args:[{name:"order",description:`The order of the different cursors jump, e.g. it will jump from 1 to 2 to 3, and so on. +If you specify multiple tp.file.cursor with the same order, the editor will switch to multi-cursor. +`}],examples:[{name:"File cursor",example:"<% tp.file.cursor() %>"},{name:"File multi-cursor",example:"<% tp.file.cursor(1) %>Content<% tp.file.cursor(1) %>"}]},cursor_append:{name:"cursor_append",description:"Appends some content after the active cursor in the file.",definition:"tp.file.cursor_append(content: string)",args:[{name:"content",description:"The content to append after the active cursor."}],examples:[{name:"File cursor append",example:'<% tp.file.cursor_append("Some text") %>'}]},exists:{name:"exists",description:"Check to see if a file exists by it's file path. The full path to the file, relative to the Vault and containing the extension, must be provided.",definition:"tp.file.exists(filepath: string)",args:[{name:"filepath",description:"The full file path of the file we want to check existence for."}],examples:[{name:"File existence",example:'<% await tp.file.exists("MyFolder/MyFile.md") %>'},{name:"File existence of current file",example:'<% await tp.file.exists(tp.file.folder(true) + "/" + tp.file.title + ".md") %>'}]},find_tfile:{name:"find_tfile",description:"Search for a file and returns its `TFile` instance.",definition:"tp.file.find_tfile(filename: string)",args:[{name:"filename",description:"The filename we want to search and resolve as a `TFile`."}],examples:[{name:"File find TFile",example:'<% tp.file.find_tfile("MyFile").basename %>'}]},folder:{name:"folder",description:"Retrieves the file's folder name.",definition:"tp.file.folder(absolute: boolean = false)",args:[{name:"absolute",description:"If set to `true`, returns the vault-absolute path of the folder. If `false`, only returns the basename of the folder (the last part). Defaults to `false`."}],examples:[{name:"File folder (Folder)",example:"<% tp.file.folder() %>"},{name:"File folder with vault-absolute path (Path/To/Folder)",example:"<% tp.file.folder(true) %>"}]},include:{name:"include",description:"Includes the file's link content. Templates in the included content will be resolved.",definition:"tp.file.include(include_link: string \u23AE TFile)",args:[{name:"include_link",description:'The link to the file to include, e.g. `"[[MyFile]]"`, or a TFile object. Also supports sections or blocks inclusions.'}],examples:[{name:"File include",example:'<% await tp.file.include("[[Template1]]") %>'},{name:"File include TFile",example:'<% await tp.file.include(tp.file.find_tfile("MyFile")) %>'},{name:"File include section",example:'<% await tp.file.include("[[MyFile#Section1]]") %>'},{name:"File include block",example:'<% await tp.file.include("[[MyFile#^block1]]") %>'}]},last_modified_date:{name:"last_modified_date",description:"Retrieves the file's last modification date.",definition:'tp.file.last_modified_date(format: string = "YYYY-MM-DD HH:mm")',args:[{name:"format",description:'The format for the date. Defaults to `"YYYY-MM-DD HH:mm"`. Refer to [format reference](https://momentjs.com/docs/#/displaying/format/).'}],examples:[{name:"File last modified date",example:"<% tp.file.last_modified_date() %>"},{name:"File last modified date with format",example:'<% tp.file.last_modified_date("dddd Do MMMM YYYY HH:mm") %>'}]},move:{name:"move",description:"Moves the file to the desired vault location.",definition:"tp.file.move(new_path: string, file_to_move?: TFile)",args:[{name:"new_path",description:'The new vault relative path of the file, without the file extension. Note: the new path needs to include the folder and the filename, e.g. `"/Notes/MyNote"`.'},{name:"file_to_move",description:"The file to move, defaults to the current file."}],examples:[{name:"File move",example:'<%* await tp.file.move("/A/B/" + tp.file.title) %>'},{name:"File move and rename",example:'<%* await tp.file.move("/A/B/NewTitle") %>'}]},path:{name:"path",description:"Retrieves the file's absolute path on the system.",definition:"tp.file.path(relative: boolean = false)",args:[{name:"relative",description:"If set to `true`, only retrieves the vault's relative path."}],examples:[{name:"File path",example:"<% tp.file.path() %>"},{name:"File relative path (relative to vault root)",example:"<% tp.file.path(true) %>"}]},rename:{name:"rename",description:"Renames the file (keeps the same file extension).",definition:"tp.file.rename(new_title: string)",args:[{name:"new_title",description:"The new file title."}],examples:[{name:"File rename",example:'<%* await tp.file.rename("MyNewName") %>'},{name:"File append a 2 to the file name",example:'<%* await tp.file.rename(tp.file.title + "2") %>'}]},selection:{name:"selection",description:"Retrieves the active file's text selection.",definition:"tp.file.selection()",examples:[{name:"File selection",example:"<% tp.file.selection() %>"}]},tags:{name:"tags",description:"Retrieves the file's tags (array of string).",definition:"tp.file.tags",examples:[{name:"File tags",example:"<% tp.file.tags %>"}]},title:{name:"title",definition:"tp.file.title",description:"Retrieves the file's title.",examples:[{name:"File title",example:"<% tp.file.title %>"},{name:"Strip the Zettelkasten ID of title (if space separated)",example:'<% tp.file.title.split(" ")[1] %>'}]}}},frontmatter:{name:"frontmatter",description:"This modules exposes all the frontmatter variables of a file as variables."},hooks:{name:"hooks",description:"This module exposes hooks that allow you to execute code when a Templater event occurs.",functions:{on_all_templates_executed:{name:"on_all_templates_executed",description:"Hooks into when all actively running templates have finished executing. Most of the time this will be a single template, unless you are using `tp.file.include` or `tp.file.create_new`.\n\nMultiple invokations of this method will have their callback functions run in parallel.",definition:"tp.hooks.on_all_templates_executed(callback_function: () => any)",args:[{name:"callback_function",description:"Callback function that will be executed when all actively running templates have finished executing."}]}}},obsidian:{name:"obsidian",description:"This module exposes all the functions and classes from the Obsidian API."},system:{name:"system",description:"This module contains system related functions.",functions:{clipboard:{name:"clipboard",description:"Retrieves the clipboard's content.",definition:"tp.system.clipboard()",examples:[{name:"Clipboard",example:"<% tp.system.clipboard() %>"}]},prompt:{name:"prompt",description:"Spawns a prompt modal and returns the user's input.",definition:"tp.system.prompt(prompt_text?: string, default_value?: string, throw_on_cancel: boolean = false, multiline?: boolean = false)",args:[{name:"prompt_text",description:"Text placed above the input field."},{name:"default_value",description:"A default value for the input field."},{name:"throw_on_cancel",description:"Throws an error if the prompt is canceled, instead of returning a `null` value."},{name:"multiline",description:"If set to `true`, the input field will be a multiline textarea. Defaults to `false`."}],examples:[{name:"Prompt",example:'<% await tp.system.prompt("Please enter a value") %>'},{name:"Prompt with default value",example:'<% await tp.system.prompt("What is your mood today?", "happy") %>'},{name:"Multiline prompt",example:'<% await tp.system.prompt("What is your mood today?", null, false, true) %>'},{name:"Reuse output from prompt",example:`<%* +let value = await tp.system.prompt("Please enter a value"); +%> +# <% value %> +selected value: <% value %>`}]},suggester:{name:"suggester",description:"Spawns a suggester prompt and returns the user's chosen item.",definition:'tp.system.suggester(text_items: string[] \u23AE ((item: T) => string), items: T[], throw_on_cancel: boolean = false, placeholder: string = "", limit?: number = undefined)',args:[{name:"text_items",description:"Array of strings representing the text that will be displayed for each item in the suggester prompt. This can also be a function that maps an item to its text representation."},{name:"items",description:"Array containing the values of each item in the correct order."},{name:"throw_on_cancel",description:"Throws an error if the prompt is canceled, instead of returning a `null` value."},{name:"placeholder",description:"Placeholder string of the prompt."},{name:"limit",description:"Limit the number of items rendered at once (useful to improve performance when displaying large lists)."}],examples:[{name:"Suggester",example:'<% await tp.system.suggester(["Happy", "Sad", "Confused"], ["Happy", "Sad", "Confused"]) %>'},{name:"Suggester with mapping function (same as above example)",example:'<% await tp.system.suggester((item) => item, ["Happy", "Sad", "Confused"]) %>'},{name:"Suggester for files",example:"[[<% (await tp.system.suggester((item) => item.basename, tp.app.vault.getMarkdownFiles())).basename %>]]"},{name:"Suggester for tags",example:'<% await tp.system.suggester(item => item, Object.keys(tp.app.metadataCache.getTags()).map(x => x.replace("#", ""))) %>'},{name:"Reuse value from suggester",example:`<%* +let selectedValue = await tp.system.suggester(["Happy", "Sad", "Confused"], ["Happy", "Sad", "Confused"]); +%> +# <% selectedValue %> +selected value: <% selectedValue %>`}]}}},web:{name:"web",description:"This modules contains every internal function related to the web (making web requests).",functions:{daily_quote:{name:"daily_quote",description:"Retrieves and parses the daily quote from `https://github.com/Zachatoo/quotes-database` as a callout.",definition:"tp.web.daily_quote()",examples:[{name:"Daily quote",example:"<% await tp.web.daily_quote() %>"}]},random_picture:{name:"random_picture",description:"Gets a random image from `https://unsplash.com/`.",definition:"tp.web.random_picture(size?: string, query?: string, include_size?: boolean)",args:[{name:"size",description:"Image size in the format `x`."},{name:"query",description:"Limits selection to photos matching a search term. Multiple search terms can be passed separated by a comma."},{name:"include_size",description:"Optional argument to include the specified size in the image link markdown. Defaults to false."}],examples:[{name:"Random picture",example:"<% await tp.web.random_picture() %>"},{name:"Random picture with size",example:'<% await tp.web.random_picture("200x200") %>'},{name:"Random picture with size and query",example:'<% await tp.web.random_picture("200x200", "landscape,water") %>'}]},request:{name:"request",description:"Makes a HTTP request to the specified URL. Optionally, you can specify a path to extract specific data from the response.",definition:"tp.web.request(url: string, path?: string)",args:[{name:"url",description:"The URL to which the HTTP request will be made."},{name:"path",description:"A path within the response JSON to extract specific data."}],examples:[{name:"Simple request",example:'<% await tp.web.request("https://jsonplaceholder.typicode.com/todos/1") %>'},{name:"Request with path",example:'<% await tp.web.request("https://jsonplaceholder.typicode.com/todos", "0.title") %>'}]}}}},Vo={tp:Js};var Qs=["app","config","date","file","frontmatter","hooks","obsidian","system","user","web"],Xs=new Set(Qs);function zo(n){return typeof n=="string"&&Xs.has(n)}function Ti(n){return!!(n.definition||n.returns||n.args)}var ki=class{constructor(e){this.plugin=e;this.documentation=Vo}get_all_modules_documentation(){let e=this.documentation.tp;return(!this.plugin.settings||!this.plugin.settings.user_scripts_folder)&&(e=Object.values(e).filter(t=>t.name!=="user")),Object.values(e).map(t=>(t.queryKey=t.name,t))}async get_all_functions_documentation(e,t){if(e==="app")return this.get_app_functions_documentation(this.plugin.app,t);if(e==="user"){if(!this.plugin.settings||!this.plugin.settings.user_scripts_folder)return;let r=await Te(async()=>{let i=ze(this.plugin.app,this.plugin.settings.user_scripts_folder).filter(a=>a.extension=="js");return await io(this.plugin.app,i)},"User Scripts folder doesn't exist");return!r||r.length===0?void 0:r.reduce((i,o)=>o.extension!=="js"?i:[...i,{name:o.basename,queryKey:o.basename,definition:"",description:o.description,returns:o.returns,args:o.arguments.reduce((l,c)=>(l[c.name]={name:c.name,description:c.description},l),{}),example:""}],[])}if(!!this.documentation.tp[e].functions)return Object.values(this.documentation.tp[e].functions).map(r=>(r.queryKey=r.name,r))}get_app_functions_documentation(e,t){if(!$r(e))return[];let r=t.split(".");if(r.length===0)return[];let i=e;for(let c=0;c[a-z]*)?(?\.(?[a-zA-Z_.]*)?)?$/;this.documentation=new ki(e),this.intellisense_render_setting=e.settings.intellisense_render}onTrigger(e,t,r){let i=t.getRange({line:e.line,ch:0},{line:e.line,ch:e.ch}),o=this.tp_keyword_regex.exec(i);if(!o)return null;let a,l=o.groups&&o.groups.module||"";if(this.module_name=l,o.groups&&o.groups.fn_trigger){if(l==""||!zo(l))return null;this.function_trigger=!0,this.function_name=o.groups.fn||"",a=this.function_name}else this.function_trigger=!1,a=this.module_name;let c={start:{line:e.line,ch:e.ch-a.length},end:{line:e.line,ch:e.ch},query:a};return this.latest_trigger_info=c,c}async getSuggestions(e){let t;return this.module_name&&this.function_trigger?t=await this.documentation.get_all_functions_documentation(this.module_name,this.function_name):t=this.documentation.get_all_modules_documentation(),t?t.filter(r=>r.queryKey.toLowerCase().startsWith(e.query.toLowerCase())):[]}renderSuggestion(e,t){if(t.createEl("b",{text:e.name}),Ti(e)){if(e.args&&this.getNumberOfArguments(e.args)>0&&Mo(this.intellisense_render_setting)){t.createEl("p",{text:"Parameter list:"});let r=t.createEl("ol");for(let[i,o]of Object.entries(e.args))Kr(r,i,o.description)}e.returns&&Oo(this.intellisense_render_setting)&&Kr(t,"Returns",e.returns)}this.function_trigger&&Ti(e)&&t.createEl("code",{text:e.definition}),e.description&&Bo(this.intellisense_render_setting)&&t.createEl("div",{text:e.description})}selectSuggestion(e,t){let r=this.app.workspace.activeEditor;if(!(!r||!r.editor)&&(r.editor.replaceRange(e.queryKey,this.latest_trigger_info.start,this.latest_trigger_info.end),this.latest_trigger_info.start.ch==this.latest_trigger_info.end.ch)){let i=this.latest_trigger_info.end;i.ch+=e.queryKey.length,r.editor.setCursor(i)}}getNumberOfArguments(e){try{return new Map(Object.entries(e)).size}catch{return 0}}updateAutocompleteIntellisenseSetting(e){this.intellisense_render_setting=e}};(function(n){n(window.CodeMirror)})(function(n){"use strict";n.defineMode("javascript",function(e,t){var r=e.indentUnit,i=t.statementIndent,o=t.jsonld,a=t.json||o,l=t.trackScope!==!1,c=t.typescript,d=t.wordCharacters||/[\w$\xa1-\uffff]/,m=function(){function s(je){return{type:je,style:"keyword"}}var p=s("keyword a"),A=s("keyword b"),_=s("keyword c"),F=s("keyword d"),Y=s("operator"),z={type:"atom",style:"atom"};return{if:s("if"),while:p,with:p,else:A,do:A,try:A,finally:A,return:F,break:F,continue:F,new:s("new"),delete:_,void:_,throw:_,debugger:s("debugger"),var:s("var"),const:s("var"),let:s("var"),function:s("function"),catch:s("catch"),for:s("for"),switch:s("switch"),case:s("case"),default:s("default"),in:Y,typeof:Y,instanceof:Y,true:z,false:z,null:z,undefined:z,NaN:z,Infinity:z,this:s("this"),class:s("class"),super:s("atom"),yield:_,export:s("export"),import:s("import"),extends:_,await:_}}(),y=/[+\-*&%=<>!?|~^@]/,b=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function E(s){for(var p=!1,A,_=!1;(A=s.next())!=null;){if(!p){if(A=="/"&&!_)return;A=="["?_=!0:_&&A=="]"&&(_=!1)}p=!p&&A=="\\"}}var P,k;function w(s,p,A){return P=s,k=A,p}function M(s,p){var A=s.next();if(A=='"'||A=="'")return p.tokenize=$(A),p.tokenize(s,p);if(A=="."&&s.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return w("number","number");if(A=="."&&s.match(".."))return w("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(A))return w(A);if(A=="="&&s.eat(">"))return w("=>","operator");if(A=="0"&&s.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return w("number","number");if(/\d/.test(A))return s.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),w("number","number");if(A=="/")return s.eat("*")?(p.tokenize=K,K(s,p)):s.eat("/")?(s.skipToEnd(),w("comment","comment")):Ri(s,p,1)?(E(s),s.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),w("regexp","string-2")):(s.eat("="),w("operator","operator",s.current()));if(A=="`")return p.tokenize=C,C(s,p);if(A=="#"&&s.peek()=="!")return s.skipToEnd(),w("meta","meta");if(A=="#"&&s.eatWhile(d))return w("variable","property");if(A=="<"&&s.match("!--")||A=="-"&&s.match("->")&&!/\S/.test(s.string.slice(0,s.start)))return s.skipToEnd(),w("comment","comment");if(y.test(A))return(A!=">"||!p.lexical||p.lexical.type!=">")&&(s.eat("=")?(A=="!"||A=="=")&&s.eat("="):/[<>*+\-|&?]/.test(A)&&(s.eat(A),A==">"&&s.eat(A))),A=="?"&&s.eat(".")?w("."):w("operator","operator",s.current());if(d.test(A)){s.eatWhile(d);var _=s.current();if(p.lastType!="."){if(m.propertyIsEnumerable(_)){var F=m[_];return w(F.type,F.style,_)}if(_=="async"&&s.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return w("async","keyword",_)}return w("variable","variable",_)}}function $(s){return function(p,A){var _=!1,F;if(o&&p.peek()=="@"&&p.match(b))return A.tokenize=M,w("jsonld-keyword","meta");for(;(F=p.next())!=null&&!(F==s&&!_);)_=!_&&F=="\\";return _||(A.tokenize=M),w("string","string")}}function K(s,p){for(var A=!1,_;_=s.next();){if(_=="/"&&A){p.tokenize=M;break}A=_=="*"}return w("comment","comment")}function C(s,p){for(var A=!1,_;(_=s.next())!=null;){if(!A&&(_=="`"||_=="$"&&s.eat("{"))){p.tokenize=M;break}A=!A&&_=="\\"}return w("quasi","string-2",s.current())}var H="([{}])";function I(s,p){p.fatArrowAt&&(p.fatArrowAt=null);var A=s.string.indexOf("=>",s.start);if(!(A<0)){if(c){var _=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(s.string.slice(s.start,A));_&&(A=_.index)}for(var F=0,Y=!1,z=A-1;z>=0;--z){var je=s.string.charAt(z),Ue=H.indexOf(je);if(Ue>=0&&Ue<3){if(!F){++z;break}if(--F==0){je=="("&&(Y=!0);break}}else if(Ue>=3&&Ue<6)++F;else if(d.test(je))Y=!0;else if(/["'\/`]/.test(je))for(;;--z){if(z==0)return;var ha=s.string.charAt(z-1);if(ha==je&&s.string.charAt(z-2)!="\\"){z--;break}}else if(Y&&!F){++z;break}}Y&&!F&&(p.fatArrowAt=z)}}var J={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function te(s,p,A,_,F,Y){this.indented=s,this.column=p,this.type=A,this.prev=F,this.info=Y,_!=null&&(this.align=_)}function ne(s,p){if(!l)return!1;for(var A=s.localVars;A;A=A.next)if(A.name==p)return!0;for(var _=s.context;_;_=_.prev)for(var A=_.vars;A;A=A.next)if(A.name==p)return!0}function Q(s,p,A,_,F){var Y=s.cc;for(h.state=s,h.stream=F,h.marked=null,h.cc=Y,h.style=p,s.lexical.hasOwnProperty("align")||(s.lexical.align=!0);;){var z=Y.length?Y.pop():a?W:ee;if(z(A,_)){for(;Y.length&&Y[Y.length-1].lex;)Y.pop()();return h.marked?h.marked:A=="variable"&&ne(s,_)?"variable-2":p}}}var h={state:null,column:null,marked:null,cc:null};function S(){for(var s=arguments.length-1;s>=0;s--)h.cc.push(arguments[s])}function f(){return S.apply(null,arguments),!0}function Me(s,p){for(var A=p;A;A=A.next)if(A.name==s)return!0;return!1}function be(s){var p=h.state;if(h.marked="def",!!l){if(p.context){if(p.lexical.info=="var"&&p.context&&p.context.block){var A=Ae(s,p.context);if(A!=null){p.context=A;return}}else if(!Me(s,p.localVars)){p.localVars=new Ee(s,p.localVars);return}}t.globalVars&&!Me(s,p.globalVars)&&(p.globalVars=new Ee(s,p.globalVars))}}function Ae(s,p){if(p)if(p.block){var A=Ae(s,p.prev);return A?A==p.prev?p:new Ke(A,p.vars,!0):null}else return Me(s,p.vars)?p:new Ke(p.prev,new Ee(s,p.vars),!1);else return null}function _e(s){return s=="public"||s=="private"||s=="protected"||s=="abstract"||s=="readonly"}function Ke(s,p,A){this.prev=s,this.vars=p,this.block=A}function Ee(s,p){this.name=s,this.next=p}var $t=new Ee("this",new Ee("arguments",null));function Re(){h.state.context=new Ke(h.state.context,h.state.localVars,!1),h.state.localVars=$t}function Ze(){h.state.context=new Ke(h.state.context,h.state.localVars,!0),h.state.localVars=null}function xe(){h.state.localVars=h.state.context.vars,h.state.context=h.state.context.prev}xe.lex=!0;function B(s,p){var A=function(){var _=h.state,F=_.indented;if(_.lexical.type=="stat")F=_.lexical.indented;else for(var Y=_.lexical;Y&&Y.type==")"&&Y.align;Y=Y.prev)F=Y.indented;_.lexical=new te(F,h.stream.column(),s,null,_.lexical,p)};return A.lex=!0,A}function D(){var s=h.state;s.lexical.prev&&(s.lexical.type==")"&&(s.indented=s.lexical.indented),s.lexical=s.lexical.prev)}D.lex=!0;function q(s){function p(A){return A==s?f():s==";"||A=="}"||A==")"||A=="]"?S():f(p)}return p}function ee(s,p){return s=="var"?f(B("vardef",p),Er,q(";"),D):s=="keyword a"?f(B("form"),bt,ee,D):s=="keyword b"?f(B("form"),ee,D):s=="keyword d"?h.stream.match(/^\s*$/,!1)?f():f(B("stat"),tt,q(";"),D):s=="debugger"?f(q(";")):s=="{"?f(B("}"),Ze,Fn,D,xe):s==";"?f():s=="if"?(h.state.lexical.info=="else"&&h.state.cc[h.state.cc.length-1]==D&&h.state.cc.pop()(),f(B("form"),bt,ee,D,Fi)):s=="function"?f(At):s=="for"?f(B("form"),Ze,Ii,ee,xe,D):s=="class"||c&&p=="interface"?(h.marked="keyword",f(B("form",s=="class"?s:p),Li,D)):s=="variable"?c&&p=="declare"?(h.marked="keyword",f(ee)):c&&(p=="module"||p=="enum"||p=="type")&&h.stream.match(/^\s*\w/,!1)?(h.marked="keyword",p=="enum"?f(Ki):p=="type"?f(qi,q("operator"),V,q(";")):f(B("form"),Be,q("{"),B("}"),Fn,D,D)):c&&p=="namespace"?(h.marked="keyword",f(B("form"),W,ee,D)):c&&p=="abstract"?(h.marked="keyword",f(ee)):f(B("stat"),Mn):s=="switch"?f(B("form"),bt,q("{"),B("}","switch"),Ze,Fn,D,D,xe):s=="case"?f(W,q(":")):s=="default"?f(q(":")):s=="catch"?f(B("form"),Re,et,ee,D,xe):s=="export"?f(B("stat"),pa,D):s=="import"?f(B("stat"),ua,D):s=="async"?f(ee):p=="@"?f(W,ee):S(B("stat"),W,q(";"),D)}function et(s){if(s=="(")return f(kt,q(")"))}function W(s,p){return Cn(s,p,!1)}function ye(s,p){return Cn(s,p,!0)}function bt(s){return s!="("?S():f(B(")"),tt,q(")"),D)}function Cn(s,p,A){if(h.state.fatArrowAt==h.stream.start){var _=A?Nn:Pn;if(s=="(")return f(Re,B(")"),se(kt,")"),D,q("=>"),_,xe);if(s=="variable")return S(Re,Be,q("=>"),_,xe)}var F=A?gt:nt;return J.hasOwnProperty(s)?f(F):s=="function"?f(At,F):s=="class"||c&&p=="interface"?(h.marked="keyword",f(B("form"),la,D)):s=="keyword c"||s=="async"?f(A?ye:W):s=="("?f(B(")"),tt,q(")"),D,F):s=="operator"||s=="spread"?f(A?ye:W):s=="["?f(B("]"),da,D,F):s=="{"?sn(Tt,"}",null,F):s=="quasi"?S(Et,F):s=="new"?f(rt(A)):f()}function tt(s){return s.match(/[;\}\)\],]/)?S():S(W)}function nt(s,p){return s==","?f(tt):gt(s,p,!1)}function gt(s,p,A){var _=A==!1?nt:gt,F=A==!1?W:ye;if(s=="=>")return f(Re,A?Nn:Pn,xe);if(s=="operator")return/\+\+|--/.test(p)||c&&p=="!"?f(_):c&&p=="<"&&h.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?f(B(">"),se(V,">"),D,_):p=="?"?f(W,q(":"),F):f(F);if(s=="quasi")return S(Et,_);if(s!=";"){if(s=="(")return sn(ye,")","call",_);if(s==".")return f(an,_);if(s=="[")return f(B("]"),tt,q("]"),D,_);if(c&&p=="as")return h.marked="keyword",f(V,_);if(s=="regexp")return h.state.lastType=h.marked="operator",h.stream.backUp(h.stream.pos-h.stream.start-1),f(F)}}function Et(s,p){return s!="quasi"?S():p.slice(p.length-2)!="${"?f(Et):f(tt,Dn)}function Dn(s){if(s=="}")return h.marked="string-2",h.state.tokenize=C,f(Et)}function Pn(s){return I(h.stream,h.state),S(s=="{"?ee:W)}function Nn(s){return I(h.stream,h.state),S(s=="{"?ee:ye)}function rt(s){return function(p){return p=="."?f(s?On:Kt):p=="variable"&&c?f(ia,s?gt:nt):S(s?ye:W)}}function Kt(s,p){if(p=="target")return h.marked="keyword",f(nt)}function On(s,p){if(p=="target")return h.marked="keyword",f(gt)}function Mn(s){return s==":"?f(D,ee):S(nt,q(";"),D)}function an(s){if(s=="variable")return h.marked="property",f()}function Tt(s,p){if(s=="async")return h.marked="property",f(Tt);if(s=="variable"||h.style=="keyword"){if(h.marked="property",p=="get"||p=="set")return f(Bn);var A;return c&&h.state.fatArrowAt==h.stream.start&&(A=h.stream.match(/^\s*:\s*/,!1))&&(h.state.fatArrowAt=h.stream.pos+A[0].length),f(Ye)}else{if(s=="number"||s=="string")return h.marked=o?"property":h.style+" property",f(Ye);if(s=="jsonld-keyword")return f(Ye);if(c&&_e(p))return h.marked="keyword",f(Tt);if(s=="[")return f(W,Rt,q("]"),Ye);if(s=="spread")return f(ye,Ye);if(p=="*")return h.marked="keyword",f(Tt);if(s==":")return S(Ye)}}function Bn(s){return s!="variable"?S(Ye):(h.marked="property",f(At))}function Ye(s){if(s==":")return f(ye);if(s=="(")return S(At)}function se(s,p,A){function _(F,Y){if(A?A.indexOf(F)>-1:F==","){var z=h.state.lexical;return z.info=="call"&&(z.pos=(z.pos||0)+1),f(function(je,Ue){return je==p||Ue==p?S():S(s)},_)}return F==p||Y==p?f():A&&A.indexOf(";")>-1?S(s):f(q(p))}return function(F,Y){return F==p||Y==p?f():S(s,_)}}function sn(s,p,A){for(var _=3;_"),V);if(s=="quasi")return S(wr,it)}function na(s){if(s=="=>")return f(V)}function vr(s){return s.match(/[\}\)\]]/)?f():s==","||s==";"?f(vr):S(cn,vr)}function cn(s,p){if(s=="variable"||h.style=="keyword")return h.marked="property",f(cn);if(p=="?"||s=="number"||s=="string")return f(cn);if(s==":")return f(V);if(s=="[")return f(q("variable"),ea,q("]"),cn);if(s=="(")return S(Ut,cn);if(!s.match(/[;\}\)\],]/))return f()}function wr(s,p){return s!="quasi"?S():p.slice(p.length-2)!="${"?f(wr):f(V,ra)}function ra(s){if(s=="}")return h.marked="string-2",h.state.tokenize=C,f(wr)}function br(s,p){return s=="variable"&&h.stream.match(/^\s*[?:]/,!1)||p=="?"?f(br):s==":"?f(V):s=="spread"?f(br):S(V)}function it(s,p){if(p=="<")return f(B(">"),se(V,">"),D,it);if(p=="|"||s=="."||p=="&")return f(V);if(s=="[")return f(V,q("]"),it);if(p=="extends"||p=="implements")return h.marked="keyword",f(V);if(p=="?")return f(V,q(":"),V)}function ia(s,p){if(p=="<")return f(B(">"),se(V,">"),D,it)}function In(){return S(V,oa)}function oa(s,p){if(p=="=")return f(V)}function Er(s,p){return p=="enum"?(h.marked="keyword",f(Ki)):S(Be,Rt,ht,sa)}function Be(s,p){if(c&&_e(p))return h.marked="keyword",f(Be);if(s=="variable")return be(p),f();if(s=="spread")return f(Be);if(s=="[")return sn(aa,"]");if(s=="{")return sn(Bi,"}")}function Bi(s,p){return s=="variable"&&!h.stream.match(/^\s*:/,!1)?(be(p),f(ht)):(s=="variable"&&(h.marked="property"),s=="spread"?f(Be):s=="}"?S():s=="["?f(W,q("]"),q(":"),Bi):f(q(":"),Be,ht))}function aa(){return S(Be,ht)}function ht(s,p){if(p=="=")return f(ye)}function sa(s){if(s==",")return f(Er)}function Fi(s,p){if(s=="keyword b"&&p=="else")return f(B("form","else"),ee,D)}function Ii(s,p){if(p=="await")return f(Ii);if(s=="(")return f(B(")"),ca,D)}function ca(s){return s=="var"?f(Er,Yt):s=="variable"?f(Yt):S(Yt)}function Yt(s,p){return s==")"?f():s==";"?f(Yt):p=="in"||p=="of"?(h.marked="keyword",f(W,Yt)):S(W,Yt)}function At(s,p){if(p=="*")return h.marked="keyword",f(At);if(s=="variable")return be(p),f(At);if(s=="(")return f(Re,B(")"),se(kt,")"),D,Mi,ee,xe);if(c&&p=="<")return f(B(">"),se(In,">"),D,At)}function Ut(s,p){if(p=="*")return h.marked="keyword",f(Ut);if(s=="variable")return be(p),f(Ut);if(s=="(")return f(Re,B(")"),se(kt,")"),D,Mi,xe);if(c&&p=="<")return f(B(">"),se(In,">"),D,Ut)}function qi(s,p){if(s=="keyword"||s=="variable")return h.marked="type",f(qi);if(p=="<")return f(B(">"),se(In,">"),D)}function kt(s,p){return p=="@"&&f(W,kt),s=="spread"?f(kt):c&&_e(p)?(h.marked="keyword",f(kt)):c&&s=="this"?f(Rt,ht):S(Be,Rt,ht)}function la(s,p){return s=="variable"?Li(s,p):qn(s,p)}function Li(s,p){if(s=="variable")return be(p),f(qn)}function qn(s,p){if(p=="<")return f(B(">"),se(In,">"),D,qn);if(p=="extends"||p=="implements"||c&&s==",")return p=="implements"&&(h.marked="keyword"),f(c?V:W,qn);if(s=="{")return f(B("}"),ot,D)}function ot(s,p){if(s=="async"||s=="variable"&&(p=="static"||p=="get"||p=="set"||c&&_e(p))&&h.stream.match(/^\s+[\w$\xa1-\uffff]/,!1))return h.marked="keyword",f(ot);if(s=="variable"||h.style=="keyword")return h.marked="property",f(ln,ot);if(s=="number"||s=="string")return f(ln,ot);if(s=="[")return f(W,Rt,q("]"),ln,ot);if(p=="*")return h.marked="keyword",f(ot);if(c&&s=="(")return S(Ut,ot);if(s==";"||s==",")return f(ot);if(s=="}")return f();if(p=="@")return f(W,ot)}function ln(s,p){if(p=="!"||p=="?")return f(ln);if(s==":")return f(V,ht);if(p=="=")return f(ye);var A=h.state.lexical.prev,_=A&&A.info=="interface";return S(_?Ut:At)}function pa(s,p){return p=="*"?(h.marked="keyword",f(Tr,q(";"))):p=="default"?(h.marked="keyword",f(W,q(";"))):s=="{"?f(se(Hi,"}"),Tr,q(";")):S(ee)}function Hi(s,p){if(p=="as")return h.marked="keyword",f(q("variable"));if(s=="variable")return S(ye,Hi)}function ua(s){return s=="string"?f():s=="("?S(W):s=="."?S(nt):S(Ln,$i,Tr)}function Ln(s,p){return s=="{"?sn(Ln,"}"):(s=="variable"&&be(p),p=="*"&&(h.marked="keyword"),f(fa))}function $i(s){if(s==",")return f(Ln,$i)}function fa(s,p){if(p=="as")return h.marked="keyword",f(Ln)}function Tr(s,p){if(p=="from")return h.marked="keyword",f(W)}function da(s){return s=="]"?f():S(se(ye,"]"))}function Ki(){return S(B("form"),Be,q("{"),B("}"),se(ma,"}"),D,D)}function ma(){return S(Be,ht)}function ga(s,p){return s.lastType=="operator"||s.lastType==","||y.test(p.charAt(0))||/[,.]/.test(p.charAt(0))}function Ri(s,p,A){return p.tokenize==M&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(p.lastType)||p.lastType=="quasi"&&/\{\s*$/.test(s.string.slice(0,s.pos-(A||0)))}return{startState:function(s){var p={tokenize:M,lastType:"sof",cc:[],lexical:new te((s||0)-r,0,"block",!1),localVars:t.localVars,context:t.localVars&&new Ke(null,null,!1),indented:s||0};return t.globalVars&&typeof t.globalVars=="object"&&(p.globalVars=t.globalVars),p},token:function(s,p){if(s.sol()&&(p.lexical.hasOwnProperty("align")||(p.lexical.align=!1),p.indented=s.indentation(),I(s,p)),p.tokenize!=K&&s.eatSpace())return null;var A=p.tokenize(s,p);return P=="comment"?A:(p.lastType=P=="operator"&&(k=="++"||k=="--")?"incdec":P,Q(p,A,P,k,s))},indent:function(s,p){if(s.tokenize==K||s.tokenize==C)return n.Pass;if(s.tokenize!=M)return 0;var A=p&&p.charAt(0),_=s.lexical,F;if(!/^\s*else\b/.test(p))for(var Y=s.cc.length-1;Y>=0;--Y){var z=s.cc[Y];if(z==D)_=_.prev;else if(z!=Fi&&z!=xe)break}for(;(_.type=="stat"||_.type=="form")&&(A=="}"||(F=s.cc[s.cc.length-1])&&(F==nt||F==gt)&&!/^[,\.=+\-*:?[\(]/.test(p));)_=_.prev;i&&_.type==")"&&_.prev.type=="stat"&&(_=_.prev);var je=_.type,Ue=A==je;return je=="vardef"?_.indented+(s.lastType=="operator"||s.lastType==","?_.info.length+1:0):je=="form"&&A=="{"?_.indented:je=="form"?_.indented+r:je=="stat"?_.indented+(ga(s,p)?i||r:0):_.info=="switch"&&!Ue&&t.doubleIndentSwitch!=!1?_.indented+(/^(?:case|default)\b/.test(p)?r:2*r):_.align?_.column+(Ue?0:1):_.indented+(Ue?0:r)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:a?null:"/*",blockCommentEnd:a?null:"*/",blockCommentContinue:a?null:" * ",lineComment:a?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:a?"json":"javascript",jsonldMode:o,jsonMode:a,expressionAllowed:Ri,skipExpression:function(s){Q(s,"atom","atom","true",new n.StringStream("",2,null))}}}),n.registerHelper("wordChars","javascript",/[\w$]/),n.defineMIME("text/javascript","javascript"),n.defineMIME("text/ecmascript","javascript"),n.defineMIME("application/javascript","javascript"),n.defineMIME("application/x-javascript","javascript"),n.defineMIME("application/ecmascript","javascript"),n.defineMIME("application/json",{name:"javascript",json:!0}),n.defineMIME("application/x-json",{name:"javascript",json:!0}),n.defineMIME("application/manifest+json",{name:"javascript",json:!0}),n.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),n.defineMIME("text/typescript",{name:"javascript",typescript:!0}),n.defineMIME("application/typescript",{name:"javascript",typescript:!0})});(function(n){n(window.CodeMirror)})(function(n){"use strict";n.customOverlayMode=function(e,t,r){return{startState:function(){return{base:n.startState(e),overlay:n.startState(t),basePos:0,baseCur:null,overlayPos:0,overlayCur:null,streamSeen:null}},copyState:function(i){return{base:n.copyState(e,i.base),overlay:n.copyState(t,i.overlay),basePos:i.basePos,baseCur:null,overlayPos:i.overlayPos,overlayCur:null}},token:function(i,o){return(i!=o.streamSeen||Math.min(o.basePos,o.overlayPos)0&&(this.activeEditorExtensions.pop(),this.plugin.app.workspace.updateOptions())}async jump_to_next_cursor_location(e=null,t=!1){t&&!this.plugin.settings.auto_jump_to_cursor||e&&Jt(this.plugin.app)!==e||await this.cursor_jumper.jump_to_next_cursor_location()}async registerCodeMirrorMode(){if(!this.desktopShouldHighlight()&&!this.mobileShouldHighlight())return;let e=window.CodeMirror.getMode({},"javascript");if(e.name==="null"){oe(new O("Javascript syntax mode couldn't be found, can't enable syntax highlighting."));return}let t=window.CodeMirror.customOverlayMode;if(t==null){oe(new O("Couldn't find customOverlayMode, can't enable syntax highlighting."));return}window.CodeMirror.defineMode(Zo,function(r){let i={startState:function(){return{...window.CodeMirror.startState(e),inCommand:!1,tag_class:"",freeLine:!1}},copyState:function(o){return{...window.CodeMirror.startState(e),inCommand:o.inCommand,tag_class:o.tag_class,freeLine:o.freeLine}},blankLine:function(o){return o.inCommand?"line-background-templater-command-bg":null},token:function(o,a){if(o.sol()&&a.inCommand&&(a.freeLine=!0),a.inCommand){let c="";if(o.match(/[-_]{0,1}%>/,!0)){a.inCommand=!1,a.freeLine=!1;let m=a.tag_class;return a.tag_class="",`line-${Pi} ${Di} ${ec} ${m}`}let d=e.token&&e.token(o,a);return o.peek()==null&&a.freeLine&&(c+=" line-background-templater-command-bg"),a.freeLine||(c+=` line-${Pi}`),`${c} ${Di} ${d}`}let l=o.match(/<%[-_]{0,1}\s*([*+]{0,1})/,!0);if(l!=null){switch(l[1]){case"*":a.tag_class=nc;break;default:a.tag_class=tc;break}return a.inCommand=!0,`line-${Pi} ${Di} ${Zs} ${a.tag_class}`}for(;o.next()!=null&&!o.match(/<%/,!1););return null}};return t(window.CodeMirror.getMode(r,"hypermd"),i)})}updateEditorIntellisenseSetting(e){this.autocomplete.updateAutocompleteIntellisenseSetting(e)}};var Oi=class extends jr.Plugin{async onload(){await this.load_settings(),this.templater=new Sn(this),await this.templater.setup(),this.editor_handler=new Ni(this),await this.editor_handler.setup(),this.fuzzy_suggester=new ii(this),this.event_handler=new xr(this,this.templater,this.settings),this.event_handler.setup(),this.command_handler=new wi(this),this.command_handler.setup(),(0,jr.addIcon)("templater-icon",qo),this.addRibbonIcon("templater-icon","Templater",async()=>{this.fuzzy_suggester.insert_template()}).setAttribute("id","rb-templater-icon"),this.addSettingTab(new ri(this)),this.app.workspace.onLayoutReady(()=>{this.templater.execute_startup_scripts()})}async onExternalSettingsChange(){await this.load_settings()}onunload(){this.templater.functions_generator.teardown()}async save_settings(){await this.saveData(this.settings),this.editor_handler.updateEditorIntellisenseSetting(this.settings.intellisense_render)}async load_settings(){this.settings=Object.assign({},Fo,await this.loadData())}}; + +/* nosourcemap */ \ No newline at end of file diff --git a/.obsidian/plugins/templater-obsidian/manifest.json b/.obsidian/plugins/templater-obsidian/manifest.json new file mode 100644 index 0000000..1f53b2c --- /dev/null +++ b/.obsidian/plugins/templater-obsidian/manifest.json @@ -0,0 +1,11 @@ +{ + "id": "templater-obsidian", + "name": "Templater", + "version": "2.13.1", + "description": "Create and use templates", + "minAppVersion": "1.5.0", + "author": "SilentVoid", + "authorUrl": "https://github.com/SilentVoid13", + "helpUrl": "https://silentvoid13.github.io/Templater/", + "isDesktopOnly": false +} diff --git a/.obsidian/plugins/templater-obsidian/styles.css b/.obsidian/plugins/templater-obsidian/styles.css new file mode 100644 index 0000000..c9ece98 --- /dev/null +++ b/.obsidian/plugins/templater-obsidian/styles.css @@ -0,0 +1,220 @@ +.templater_search { + width: calc(100% - 20px); +} + +.templater_div { + border-top: 1px solid var(--background-modifier-border); +} + +.templater_div > .setting-item { + border-top: none !important; + align-self: center; +} + +.templater_div > .setting-item > .setting-item-control { + justify-content: space-around; + padding: 0; + width: 100%; +} + +.templater_div + > .setting-item + > .setting-item-control + > .setting-editor-extra-setting-button { + align-self: center; +} + +.templater_donating { + margin: 10px; +} + +.templater_title { + margin: 0; + padding: 0; + margin-top: 5px; + text-align: center; +} + +.templater_template { + align-self: center; + margin-left: 5px; + margin-right: 5px; + width: 70%; +} + +.templater_cmd { + margin-left: 5px; + margin-right: 5px; + font-size: 14px; + width: 100%; +} + +.templater_div2 > .setting-item { + align-content: center; + justify-content: center; +} + +.templater-prompt-div { + display: flex; +} + +.templater-prompt-form { + display: flex; + flex-grow: 1; +} + +.templater-prompt-input { + flex-grow: 1; +} + +.templater-button-div { + display: flex; + flex-direction: column; + align-items: center; + margin-top: 1rem; +} + +textarea.templater-prompt-input { + height: 10rem; +} + +textarea.templater-prompt-input:focus { + border-color: var(--interactive-accent); +} + +.cm-s-obsidian .templater-command-bg { + left: 0px; + right: 0px; + background-color: var(--background-primary-alt); +} + +.cm-s-obsidian .cm-templater-command { + font-size: 0.85em; + font-family: var(--font-monospace); + line-height: 1.3; +} + +.cm-s-obsidian .templater-inline .cm-templater-command { + background-color: var(--background-primary-alt); +} + +.cm-s-obsidian .cm-templater-command.cm-templater-opening-tag { + font-weight: bold; +} + +.cm-s-obsidian .cm-templater-command.cm-templater-closing-tag { + font-weight: bold; +} + +.cm-s-obsidian .cm-templater-command.cm-templater-interpolation-tag { + color: var(--code-property, #008bff); +} + +.cm-s-obsidian .cm-templater-command.cm-templater-execution-tag { + color: var(--code-function, #c0d700); +} + +.cm-s-obsidian .cm-templater-command.cm-keyword { + color: var(--code-keyword, #00a7aa); + font-weight: normal; +} + +.cm-s-obsidian .cm-templater-command.cm-atom { + color: var(--code-normal, #f39b35); +} + +.cm-s-obsidian .cm-templater-command.cm-value, +.cm-s-obsidian .cm-templater-command.cm-number, +.cm-s-obsidian .cm-templater-command.cm-type { + color: var(--code-value, #a06fca); +} + +.cm-s-obsidian .cm-templater-command.cm-def, +.cm-s-obsidian .cm-templater-command.cm-type.cm-def { + color: var(--code-normal, var(--text-normal)); +} + +.cm-s-obsidian .cm-templater-command.cm-property, +.cm-s-obsidian .cm-templater-command.cm-property.cm-def, +.cm-s-obsidian .cm-templater-command.cm-attribute { + color: var(--code-function, #98e342); +} + +.cm-s-obsidian .cm-templater-command.cm-variable, +.cm-s-obsidian .cm-templater-command.cm-variable-2, +.cm-s-obsidian .cm-templater-command.cm-variable-3, +.cm-s-obsidian .cm-templater-command.cm-meta { + color: var(--code-property, #d4d4d4); +} + +.cm-s-obsidian .cm-templater-command.cm-callee, +.cm-s-obsidian .cm-templater-command.cm-operator, +.cm-s-obsidian .cm-templater-command.cm-qualifier, +.cm-s-obsidian .cm-templater-command.cm-builtin { + color: var(--code-operator, #fc4384); +} + +.cm-s-obsidian .cm-templater-command.cm-tag { + color: var(--code-tag, #fc4384); +} + +.cm-s-obsidian .cm-templater-command.cm-comment, +.cm-s-obsidian .cm-templater-command.cm-comment.cm-tag, +.cm-s-obsidian .cm-templater-command.cm-comment.cm-attribute { + color: var(--code-comment, #696d70); +} + +.cm-s-obsidian .cm-templater-command.cm-string, +.cm-s-obsidian .cm-templater-command.cm-string-2 { + color: var(--code-string, #e6db74); +} + +.cm-s-obsidian .cm-templater-command.cm-header, +.cm-s-obsidian .cm-templater-command.cm-hr { + color: var(--code-keyword, #da7dae); +} + +.cm-s-obsidian .cm-templater-command.cm-link { + color: var(--code-normal, #696d70); +} + +.cm-s-obsidian .cm-templater-command.cm-error { + border-bottom: 1px solid #c42412; +} + +.CodeMirror-hints { + position: absolute; + z-index: 10; + overflow: hidden; + list-style: none; + + margin: 0; + padding: 2px; + + -webkit-box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.2); + -moz-box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.2); + box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.2); + border-radius: 3px; + border: 1px solid silver; + + background: white; + font-size: 90%; + font-family: monospace; + + max-height: 20em; + overflow-y: auto; +} + +.CodeMirror-hint { + margin: 0; + padding: 0 4px; + border-radius: 2px; + white-space: pre; + color: black; + cursor: pointer; +} + +li.CodeMirror-hint-active { + background: #08f; + color: white; +} diff --git a/.obsidian/templates.json b/.obsidian/templates.json new file mode 100644 index 0000000..cda2aca --- /dev/null +++ b/.obsidian/templates.json @@ -0,0 +1,3 @@ +{ + "folder": "templates" +} \ No newline at end of file diff --git a/assemblies.md b/assemblies.md deleted file mode 100644 index a5ab0da..0000000 --- a/assemblies.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -tags: - - estimating ---- -# Assemblies - -In [[construction-estimating-software]], -assemblies are groups of material items -representing a specific scope of work. - -Assemblies reduce the effort required for takeoff -by grouping related items, -for example 3/4" EMT connectors and couplings -in addition to conduit. - -Assemblies allow... (in order of necessity): - -1. complex items (devices, conduit runs, etc.) with known proportions to be counted as one. -2. changes to be made to measures and counts without recounting an entire area. -3. takeoffs to be skimmed for obvious deficiencies that would otherwise be obscured -4. changes to be made to project requirements (specifications) without recounting an entire area. - -If we agree on the definition of `Branch Wiring: 2#12 #12G; 3/4"C, EMT; On Structure` -and its contents as ratios of its length, -then their quantities can be calculated with only one measurement. - -This is how "estimating software" assembly takeoff works, -however its a simple generic process, -possible with several tools an estimator should be familiar with: - -* `XLOOKUP()` - Excel -* `Table.Join` - MS Power Query -* `JOIN` - SQL diff --git a/assembly-philosophy.md b/assembly-philosophy.md index 2f8a6da..fbb9220 100644 --- a/assembly-philosophy.md +++ b/assembly-philosophy.md @@ -6,15 +6,41 @@ tags: also "Modularization" +## Assemblies + In [[construction-estimating-software]], -[[assemblies]] are groups of material items +assemblies are groups of material items representing a specific scope of work. +Assemblies reduce the effort required for takeoff +by grouping related items, +for example 3/4" EMT connectors and couplings +in addition to conduit. + +Assemblies allow... (in order of necessity): + +1. complex items (devices, conduit runs, etc.) with known proportions to be counted as one. +2. changes to be made to measures and counts without recounting an entire area. +3. takeoffs to be skimmed for obvious deficiencies that would otherwise be obscured +4. changes to be made to project requirements (specifications) without recounting an entire area. + +If we agree on the definition of `Branch Wiring: 2#12 #12G; 3/4"C, EMT; On Structure` +and its contents as ratios of its length, +then their quantities can be calculated with only one measurement. + +This is how "estimating software" assembly takeoff works, +however its a simple generic process, +possible with several tools an estimator should be familiar with: + +* `XLOOKUP()` - Excel +* `Table.Join` - MS Power Query +* `JOIN` - SQL + +## Abstract Assemblies + Assembly _philosophy_ is essentially minimizing the number of necessary counts and measurements. More generally, it is minimizing the effort required for measurement. -## Abstract Assemblies - > [!info] Abstractions > An abstraction is a model that intentionally ignores details > that are irrelevant to problem it is used to solve diff --git a/construction-estimating.md b/construction-estimating.md index 06a32d3..f412343 100644 --- a/construction-estimating.md +++ b/construction-estimating.md @@ -1,3 +1,51 @@ # Construction Estimating -Construction estimating is a subset of cost estimation. \ No newline at end of file +Construction estimating is a subset of cost estimation. + +## Purpose + +The purpose of [[construction-estimating]] in practice +is not to determine the cost of the scope, +which would take far longer than allotted for bid, + +### For the Solicitor + +* Determine feasibility of functional requirements + +> [!info] Type 2 Owners +> For some owners, money is no object, +> and standardization is far more important +> than any potential construction savings. +> +> These owners can be expected to decline every [[value-engineering]] option offered +> (see [[gold-plating]]). + +### For the Contractor + +* Make profit to meet growth target +* Secure work for current and projected employees (fill backlog) + +%% TODO: "Determine the sale price of a service" %% + +> [!aside] +> I take increasing issue with the common model +> of measuring operational success by negative overrun, +> as it is incompatible with the preferable target of estimate certainty. + +#### The Role of the Estimator + +The role of the estimator is to model the potential cost distribution of the project, +taking actions to reduce the model's uncertainty. + +The effect of estimating methods can be represented as $d\sigma$, +thus efficiency is $\frac{d\sigma}{dt}$. + +#### The Role of the Executive + +The role of the executive is to allocate profit and contingency +according to the potential cost distribution +weighted by the organizational desire to win the project. + +$$ +{E}[P]= +$$ diff --git a/media-commentary/construction-estimating-using-excel.md b/media-commentary/construction-estimating-using-excel.md new file mode 100644 index 0000000..399f8a1 --- /dev/null +++ b/media-commentary/construction-estimating-using-excel.md @@ -0,0 +1,41 @@ +--- +id: construction-estimating-using-excel +aliases: [] +tags: + - media-commentary +--- +# *Construction Estimating Using Excel* + +Construction Estimating Using Excel +(Peterson MBA PE, Steven) + +432 page book + +## Pros + +* Lots of attractively formatted formulas for costs and quantities + +### Notable Inclusions + +* Lots of references +* Review questions/problems +* Detailed cost of ownership and operation of heavy equipment +* Bracketed percent calculation (bond premium) +* Glossary of terms + +## Cons + +* Intimidatingly long +* Teaches suboptimal excel practice +* Print-antagonistic + * Heavy use of highlighter-blue for text, unnecessary backgrounds, and coloring entire pages + * Uses a full width portion of the cover image at every chapter header + +### Notable Exclusions + +* Any significant detail on indirect/overhead/general expense costs + * All lumped into the 6 page Chapter 25 - Markups + +## Target audience + +* Construction project managers with no prior experience estimating or using excel \ No newline at end of file diff --git a/media-commentary/electrical-estimating-methods.md b/media-commentary/electrical-estimating-methods.md new file mode 100644 index 0000000..5b61b6b --- /dev/null +++ b/media-commentary/electrical-estimating-methods.md @@ -0,0 +1,35 @@ +--- +id: electrical-estimating-methods +aliases: [] +tags: + - media-commentary +--- +# *Electrical Estimating Methods* + +Electrical Estimating Methods, Fourth Edition +(Wayne J. Del Pico) + +264 page book + +## Pros + +* Clear and condensed prose +* Lots of philosophy +* Practical attitude +* Includes an appendix of common symbols and abbreviations + +## Cons + +* Some confusing non-electrical considerations/tangents (lap) +* Doesn't acknowledge lack of standardization of certain terms + (direct/indirect only, no incidental) + +## Best Suited For + +* Study by estimators in training +* Reference by estimating teams looking to standardize procedures and terminology + +## Overall + +* Incredible book, I would love to have a copy + diff --git a/media-commentary/electrical-estimators-manual.md b/media-commentary/electrical-estimators-manual.md new file mode 100644 index 0000000..bd59310 --- /dev/null +++ b/media-commentary/electrical-estimators-manual.md @@ -0,0 +1,47 @@ +--- +id: electrical-estimators-manual +aliases: [] +tags: + - media-commentary +--- +# *Electrical Estimators Manual* + +Electrical Estimators Manual: +How to Estimate Electrical Construction Projects Including Everyday Labor Installation Rates +(William Penn) + +199 page book + +## Pros + +* Intelligent prose where present + +* Condensed + +* Notable Inclusions + * Labor hours + * Unit conversions + * too many, including rare units + * Checklist + * VERY brief + * Sample forms for small-scale manual estimation + +## Cons + +* No mention of certain fundamental topics: + * Expenses + * Indirect labor + * Overhead + +* Purely instruction, no philosophy + +* Avoids addressing complications + +## Best Suited For + +* General info for electricians with no prior estimating experience +* Use as a manual for very small outfits + +## Overall + +* Really more of a labor units manual than an estimating manual diff --git a/media-commentary/mike-holts-illustrated-guide-to-electrical-estimating.md b/media-commentary/mike-holts-illustrated-guide-to-electrical-estimating.md new file mode 100644 index 0000000..aa6bcf0 --- /dev/null +++ b/media-commentary/mike-holts-illustrated-guide-to-electrical-estimating.md @@ -0,0 +1,39 @@ +--- +id: mike-holts-illustrated-guide-to-electrical-estimating +aliases: [] +tags: + - media-commentary +--- +# *Mike Holt's Illustrated Guide to Electrical Estimating* + +Holt, C. M. (2023). Mike Holt's Illustrated Guide to Electrical Estimating. Mike Holt Enterprises, Inc + +234 page textbook + +## Pros + +* Attractive design +* Detailed color illustrations +* Compelling topic organization and progression + +## Cons + +* No mention of RFQ process + +* Many/most topics are grossly oversimplified + +* Tone is undeservedly authoritative and principled, + refusing to acknowledge the questions of complexity + that the content itself begs + + > "Never make assumptions" + > What happens when RFI's go unanswered? + +## Best Suited For + +* Electricians with no prior estimating experience and no real need of detail + +## Overall + +This book is far too large in scope to lack the detail it does. The curriculum +is clearly designed for those unlikely to need or understand its topics diff --git a/new-additions/the-failure-of-risk-management.md b/media-commentary/the-failure-of-risk-management.md similarity index 99% rename from new-additions/the-failure-of-risk-management.md rename to media-commentary/the-failure-of-risk-management.md index a7a7d91..f249401 100644 --- a/new-additions/the-failure-of-risk-management.md +++ b/media-commentary/the-failure-of-risk-management.md @@ -1,9 +1,9 @@ --- id: the-failure-of-risk-management aliases: [] -tags: [] +tags: + - media-commentary --- - # *The Failure of Risk Management* The Failure of Risk Management diff --git a/monte-carlo-methods.md b/monte-carlo-methods.md new file mode 100644 index 0000000..c94b51f --- /dev/null +++ b/monte-carlo-methods.md @@ -0,0 +1,17 @@ +# Monte Carlo Methods + +> [!quote] +> [Monte Carlo methods](https://en.wikipedia.org/wiki/Monte_Carlo_method), +> or Monte Carlo experiments, are a broad class of computational algorithms +> that rely on repeated random sampling to obtain numerical results. +> The underlying concept is to use randomness to solve problems +> that might be deterministic in principle. + +Popular examples of Monte Carlo methods include +estimating the area of an irregular shape +by randomly sampling points in a known area, +and estimating the value of pi +by tossing toothpicks onto a ruled surface. + +[Professor Art Owen](https://artowen.su.domains/) at Stanford University +has several excellent resources on the subject. diff --git a/new-additions/abbreviations.md b/new-additions/abbreviations.md index 9c9bd04..263ef33 100644 --- a/new-additions/abbreviations.md +++ b/new-additions/abbreviations.md @@ -1,9 +1,8 @@ --- id: abbreviations -aliases: [] -tags: [] +aliases: +tags: --- - # Abbreviations ## Americans with Disabilities Act (ADA) diff --git a/necessary-automation.md b/new-additions/automation/necessary-automation.md similarity index 100% rename from necessary-automation.md rename to new-additions/automation/necessary-automation.md diff --git a/portable-tools.md b/new-additions/automation/portable-tools.md similarity index 100% rename from portable-tools.md rename to new-additions/automation/portable-tools.md diff --git a/possible-automation.md b/new-additions/automation/possible-automation.md similarity index 100% rename from possible-automation.md rename to new-additions/automation/possible-automation.md diff --git a/new-additions/powershell-document-conversion-module.md b/new-additions/automation/powershell-document-conversion-module.md similarity index 100% rename from new-additions/powershell-document-conversion-module.md rename to new-additions/automation/powershell-document-conversion-module.md diff --git a/new-additions/evpi-takeoff.md b/new-additions/evpi-takeoff.md deleted file mode 100644 index 9fbf825..0000000 --- a/new-additions/evpi-takeoff.md +++ /dev/null @@ -1,23 +0,0 @@ -# EVPI Takeoff - -Expected value of perfect information (EVPI) - -Count-based takeoff speed increases with count. - -*** - -Optimizing the takeoff process means: - -* *Minimizing* the need for information outside of drawings -* *Maximizing* organizational consistency - -*** - -Recent events have complicated my philosophy above. -It appears that similar efforts have already been made here, -their success being a matter of perspective. - -## Naming Conventions (Use Case vs. Description) - -Naming by use case is intuitive for those without estimating or field experience, -but has the side effect that those accustomed to the names will inevitably treat them as descriptive. diff --git a/new-additions/excel-macros.md b/new-additions/excel-macros.md index b408135..f062c48 100644 --- a/new-additions/excel-macros.md +++ b/new-additions/excel-macros.md @@ -3,7 +3,6 @@ id: excel-macros aliases: [] tags: [] --- - # Excel Macros Excel macros are a poor solution for most problems, diff --git a/new-additions/takeoff/breakdowns.md b/new-additions/takeoff/breakdowns.md index 3e2a8a7..bc88b3d 100644 --- a/new-additions/takeoff/breakdowns.md +++ b/new-additions/takeoff/breakdowns.md @@ -1,3 +1,8 @@ +--- +id: breakdowns +aliases: [] +tags: [] +--- # Breakdowns Managing breakdowns is the most time consuming part of takeoff. @@ -5,76 +10,73 @@ Assembly selection is comparatively quick compared to Anywhere. ## Site -Area: `2 - Site` -Phase: `Site` +Area: "2 - Site" +Phase: "Site" ## Garage ### General -Area: `XX - Level P1 Garage` -Phase: `Garage` - -`XX - Level P1 Garage` -`XX - Level P1 Building` +Area: "XX - Level P1 Garage" +Phase: "Garage" ### Stairwells -Area: `S - Stairwells Garage` -Phase: `Garage` +Area: "S - Stairwells Garage" +Phase: "Garage" ## Building ### General -Area: `XX - Level XX Building` -Phase: `Building - BOH, Storage & Common` +Area: "XX - Level XX Building" +Phase: "Building - BOH, Storage & Common" ### Corridors -Area: `XX - Level XX Building` -Phase: `Building - Corridors` +Area: "XX - Level XX Building" +Phase: "Building - Corridors" ### Stairwells -Area: `S - Stairwells Building` -Phase: `Building - BOH, Storage & Common` +Area: "S - Stairwells Building" +Phase: "Building - BOH, Storage & Common" ### Rentable #### Residential -Area: `XX - Level XX Building` -Phase: `Unit Residential` +Area: "XX - Level XX Building" +Phase: "Unit Residential" #### Hotel -Area: `XX - Level XX Building` -Phase: `Unit Key` +Area: "XX - Level XX Building" +Phase: "Unit Key" ### Interior Amenity #### General -Area: `XX - Level XX Amenity Building` -Phase: `Interior Amenity` +Area: "XX - Level XX Amenity Building" +Phase: "Interior Amenity" #### Kitchen -Area: `XX - Level XX Kitchen Building` -Phase: `Kitchen` +Area: "XX - Level XX Kitchen Building" +Phase: "Kitchen" #### Retail -Area: `XX - Level XX Retail Building` -Phase: `Retail` +Area: "XX - Level XX Retail Building" +Phase: "Retail" #### Ballroom -Area: `XX - Level XX Ballroom Building` -Phase: `Ballrooms` +Area: "XX - Level XX Ballroom Building" +Phase: "Ballrooms" ### Exterior Amenity -Area: `XX - Level XX Exterior Amenity Building` -Phase: `Exterior Amenity (Courtyards, Pool Decks)` +Area: "XX - Level XX Exterior Amenity Building" +Phase: "Exterior Amenity (Courtyards, Pool Decks)" diff --git a/new-additions/takeoff/designations.md b/new-additions/takeoff/designations.md index 86992bd..120a6c8 100644 --- a/new-additions/takeoff/designations.md +++ b/new-additions/takeoff/designations.md @@ -1,3 +1,8 @@ +--- +id: designations +aliases: [] +tags: [] +--- # Designations ## Building Designations diff --git a/new-additions/takeoff/electrical.md b/new-additions/takeoff/electrical.md index 850db25..462f29c 100644 --- a/new-additions/takeoff/electrical.md +++ b/new-additions/takeoff/electrical.md @@ -1,14 +1,21 @@ +--- +id: electrical +aliases: [] +tags: [] +--- # Final SOE ## 1. Trash Chute -- Check elevations for floor height -- Uncheck Link 'Enable Livecount' -- CA.33(Misc. Ass.). 2 -- 100' Horizontal (If not shown) -- Vertical Put in Typical +Horizontal: +- Check if shown on power drawings as mech connection + - If not, use 100ft length -- Check Bottom of chute if taken off already in elec. THIS IS ONLY FOR THE HORIZONTAL +Vertical (Riser): +- Takeoff: `COMMON ASSEMBLIES`/`MISC ASSEMBLIES`/`TRASH CHUTE RISER CIRCUIT...` +- Uncheck Link 'Enable Livecount' +- Takeoff in Typical + - Length = average floor to floor height ## 2. CU/IP @@ -17,46 +24,67 @@ ## 3. Slab Deck -- Create Area Typical for every Concrete slab floor -- ID.37.16.1 -- ID. MISC PDI PRODUCT. MISC MATERIAL. SLAB/DECK -- 2 Typicals +Create Area Typicals for every Concrete slab floor: - 'All Building' - -- 1 every level (Not Roof) - -- HD 1 Per Section + - 1 every level (Not Roof) + - HD: 1 Per Section - 'All Garage' + - 1 every level -- 1 every level +- Takeoff: `ITEM DATABASE`/`MISC PDI PRODUCT`/`MISC MATERIAL - SLAB/DECK & FEEDER`/`MISC MATERIAL - SLAB/DECK (NAILS, PAINT, TAPE, ETC = $250)` + - 1 Takeoff each Typical, Count = 1 ## 4. Temporary Power & Lighting +### 4.1 Temp Power + ``` -Area = "" +Area = "2 - Site" +Phase = "Temp Power" +System = "TPS - Temp Power Service (Site)" +BidItem = "1 - Site" +``` +Hoxton Hotel (aka Nashville Hotel) +- Takeoff: `ITEM DATABASE`/`TEMPORARY POWER`/`TEMPORARY POWER - * SERVICE` + +### 4.2A Temp Lighting (Building) + +``` +Area = "01 - Temp Power Distribution Building" +Phase = "Temp Power" +System = "TPD - Temp Power Distribution (Gag. & Bldg.)" +BidItem = "3 - Building" ``` -- ID.27. - - 3/4/5 (A-bid>>) - - 8/9 - - Total GSF - Garage GSF = Building Size - - Garage SF = Temp lighting Garage - - Enter in count +- Takeoff: `ITEM DATABASE`/`TEMPORARY POWER`/`* - TEMPORARY LIGHTING / PWR PNL (PER BLDG AREA SFT)` + - *Count* = Building Size = Total GSF - Garage GSF -Gardens: Take off 1 Tpole `ID.28.1` per 150' per building +Garden Styles: +- Takeoff: `ITEM DATABASE`/`TEMPORARY POWER`/`TEMPORARY POWER - T POLE (EACH)` + - *Count* = 1 per 150' per building -TEMP LIGHTING ^^^^ +### 4.2B Temp Lighting (Garage) + +``` +Area = "01 - Temp Power Distribution Building" +Phase = "Temp Power" +System = "TPD - Temp Power Distribution (Gag. & Bldg.)" +BidItem = "3 - Building" +``` + +- Takeoff: `ITEM DATABASE`/`TEMPORARY POWER`/`* - TEMPORARY LIGHTING / PWR PNL (PER BLDG AREA SFT)` + - *Count* = Garage SF ## 5. Irrigation pumps -- SYSTEM: `MISC - Site Miscellaneous` +``` +Area = "2 - Site" +Phase = "Temp Power" +System = `MISC - Site Miscellaneous` +BidItem = "1 - Site" +``` - (3) 3Phase 30A 200' Mech. Con. -- Append to name: "Irrigation Pump - " - -## 6. Lightning Protection - -- Check line Item on Proposal -- Go to the notes and take off \ No newline at end of file + - Append to name: "Irrigation Pump - " diff --git a/new-additions/takeoff/scratch.md b/new-additions/takeoff/feeders.md similarity index 52% rename from new-additions/takeoff/scratch.md rename to new-additions/takeoff/feeders.md index d53fd81..5e9ca47 100644 --- a/new-additions/takeoff/scratch.md +++ b/new-additions/takeoff/feeders.md @@ -1,11 +1,6 @@ -# PDI Takeoff Scratch - -Notes taken in review with Joel. - -%% TODO: Split to more appropriate notes and delete this one. %% +# Feeders * Use 15ft adders for site runs (primaries, secondaries, etc.), as opposed to standard 10ft adder, to account for variability. - diff --git a/new-additions/takeoff/lighting-controls.md b/new-additions/takeoff/lighting-controls.md index 8c25f38..7aa72b6 100644 --- a/new-additions/takeoff/lighting-controls.md +++ b/new-additions/takeoff/lighting-controls.md @@ -1,33 +1,31 @@ -# Lighting Controls Takeoff +# Lighting Controls + +## Information + +> [!info] Lighting Control Technologies +> * Triac (Line voltage dim) +> * Analog (0-10V dim) +> * Digital +> * Wireless + +All these control methods are likely to appear in drawings. + +## Conventions By PDI convention, lighting controls are generally "Electrical", not "Lighting". -All control methods are likely to appear in drawings. - -* Triac (Line voltage dim) -* Analog (0-10V dim) -* Digital -* Wireless - > [!info] "Local Control" as a PDI proposal qualification > The term "local control only" is sometimes used to indicate > no consideration for *any* lighting control beyond standard devices, -> (with `$D`s being the triac type) +> (with `$D`'s being the triac type) > however, this phrasing is ambiguous and non-universal. > Confirm with the bid team on what must be included. -## Custom Switch Boxes +## Scope + +### Designations + +#### Custom Switch Boxes For switch combinations not in `COMMON ASSEMBLIES`, -create heating designations based on the most similar. - -### Naming - -#### Format - -```regex - - (\: )?( - )? \(\)( )* ft -``` - -> [!example] -> `A - Surface: Pendant - 2.0hrs (MC) LV 20ft` +create heating [[designations]] based on the most similar. diff --git a/new-additions/takeoff/lighting.md b/new-additions/takeoff/lighting.md index abd2f07..1f49c2b 100644 --- a/new-additions/takeoff/lighting.md +++ b/new-additions/takeoff/lighting.md @@ -1,8 +1,14 @@ -# Lighting Takeoff (Fixtures) +# Lighting (Fixtures) -## Naming +## Info -### Format +## Scope + +### Building Designations + +#### Naming + +##### Format ```regex - (\: )?( - )? \(\)( )* ft @@ -11,7 +17,7 @@ > [!example] > `A - Surface: Pendant - 2.0hrs (MC) LV 20ft` -### Order +#### Order Use empty designations to separate phases. @@ -28,7 +34,7 @@ Use empty designations to separate phases. > CU - Surface: Wall (MC) LV 25ft > ``` -## Fixture Labor +#### Fixture Labor > | Fixture Type | Labor | > | ------------ | -------------- | @@ -41,7 +47,7 @@ Use empty designations to separate phases. > > [^1]: Determine exact labor from fixture and size. -## Fixture Branch Length +#### Fixture Branch Length > | Case | Standard Length | > | ------------- | --------------- | @@ -58,7 +64,7 @@ Use empty designations to separate phases. > > [^2]: See fixture types below for special cases. -## Fixture Branch Wire size +#### Fixture Branch Wire size > | Case | Wire Size | > | -------------- | --------- | @@ -71,9 +77,9 @@ Use empty designations to separate phases. > > [^2]: Kitchen and bathroom fixtures shall be #12 (NOT #14) on wood frame (NM) projects. -## Garage +#### Garage -### Fixtures +#### Fixtures Use ENT Assembly unless spec requires otherwise. @@ -87,7 +93,7 @@ If PVC, use following assemblies: | Ceiling | `PVC/ENT ASSEMBLIES`/`... - SLAB BOX / 45 DEG STUBBY` | | Wall | `PVC/ENT ASSEMBLIES`/`... - STL BOX & TILE RING / 45 DEG STUBBY/ ENT DROP` | -### Homeruns +#### Homeruns > `System` = "EL - Electrical" @@ -95,13 +101,14 @@ Use 1 Homerun for every 3 circuits in Garage Use assembly `Common Assemblies`/`Device Homeruns in Slab/Deck` -## Surface Mount +#### Surface Mount -* Wall Mount (Sconce) -* Pendant -* Linear -* Tape -* Track +> [!info] Surface Mount Fixtures +> * Wall Mount (Sconce) +> * Pendant +> * Linear +> * Tape +> * Track | Wiring Method | Assembly Path | | ---------------------------------------------------------------------------- | @@ -114,7 +121,7 @@ Use assembly `Common Assemblies`/`Device Homeruns in Slab/Deck` > [!note] > Use lighting control cable assemblies in Amenity areas -### Tape Lighting +##### Tape Lighting Also called "cove" or "strip", however those terms are less specific @@ -132,34 +139,24 @@ and change `Fct 1` to match the calculated labor. Separate these fixtures by labor, not length ``` -A - Tape 0.5hr (1-6ft) - MC #12 40ft -A - Tape 1.0hr (7-12ft) - MC #12 40ft -A - Tape 1.5hr (13-18ft) - MC #12 40ft -A - Tape 2.0hr (19-24ft) - MC #12 40ft -A - Tape 2.5hr (25-30ft) - MC #12 40ft -A - Tape 3.0hr (31-36ft) - MC #12 40ft -A - Tape 3.5hr (37-42ft) - MC #12 40ft -A - Tape 4.0hr (43-48ft) - MC #12 40ft -A - Tape 4.5hr (49-54ft) - MC #12 40ft -A - Tape 5.0hr (55-60ft) - MC #12 40ft -A - Tape 5.5hr (61-66ft) - MC #12 40ft -A - Tape 6.0hr (67-72ft) - MC #12 40ft -A - Tape 6.5hr (73-78ft) - MC #12 40ft -A - Tape 7.0hr (79-84ft) - MC #12 40ft -A - Tape 7.5hr (85-90ft) - MC #12 40ft -A - Tape 8.0hr (91-96ft) - MC #12 40ft -A - Tape 8.5hr (97-102ft) - MC #12 40ft -A - Tape 9.0hr (103-108ft) - MC #12 40ft -A - Tape 9.5hr (109-114ft) - MC #12 40ft -A - Tape 10.0hr (115-120ft) - MC #12 40ft +A - Surface: Tape - 0.5hr (01-06ft) - MC #12 40ft +A - Surface: Tape - 1.0hr (07-12ft) - MC #12 40ft +A - Surface: Tape - 1.5hr (13-18ft) - MC #12 40ft +A - Surface: Tape - 2.0hr (19-24ft) - MC #12 40ft +A - Surface: Tape - 2.5hr (25-30ft) - MC #12 40ft +A - Surface: Tape - 3.0hr (31-36ft) - MC #12 40ft +A - Surface: Tape - 3.5hr (37-42ft) - MC #12 40ft +A - Surface: Tape - 4.0hr (43-48ft) - MC #12 40ft +A - Surface: Tape - 4.5hr (49-54ft) - MC #12 40ft ``` -## Recessed +#### Recessed -* recessed downlight -* recessed linear -* wall grazer -* troffer +> [!info] Recessed Fixtures +> * recessed downlight +> * recessed linear +> * wall grazer +> * troffer | Wiring Method | Assembly Path | | ------------- | ------------------------------ | @@ -173,7 +170,7 @@ round up to the nearest 5ft > [!note] > "HI HAT" refers to a recessed can fixture. -## Undercabinet Fixtures +#### Undercabinet Fixtures | Wiring Method | Assembly Path | | ------------- | ------------------------------------- | @@ -183,9 +180,9 @@ round up to the nearest 5ft > [!note] > Takeoff 2 fixtures if jumping over oven -Use 10ft #12/2 for MC & NM +Use 10ft \#12/2 for MC & NM -## Paddle Fans +#### Paddle Fans | Wiring Method | Assembly Path | | ------------- | ----------------------------------------------------- | @@ -193,11 +190,11 @@ Use 10ft #12/2 for MC & NM | MC Cable | `MC ASSEMBLIES`/`FAN RATED OCT BOX W/ BAR HNGR - ...` | | PVC | `PVC/ENT ASSEMBLIES`/`... - SLAB BOX / 45 DEG STUBBY` | -## Stairwells & Elevators +#### Stairwells & Elevators `PVC/ENT ASSEMBLIES`/`... - SLAB BOX / 45 DEG STUBBY` -## Facade +#### Facade > `Phase` = "Facade" @@ -211,24 +208,25 @@ Length and Labor will be more than a normal fixture in BOH/Amenity > 1. `3/4" PVC W/ 3#10 - STL BOX & TILE RING / 45 DEG STUBBY/ ENT DROP` > * `Length per Unit` = Distance to panel -## Porte Cochere (Drive up Area) +#### Porte Cochere (Drive up Area) Create its own breakout in WBS, and phase in Accubid -This is not technically exposed or drop ceiling, but still use PVC +> [!quote] +> This is not technically exposed or drop ceiling, but still use PVC -## FAA Lighting +#### FAA Lighting > 1. `FIXTURE LABOR`/`FIXTURE LABOR 1HR` > 2. `FESTOON & ROOF ASSEMBLIES`/`Aircraft Warning, 3/4" Conduit GRC/PVC 2#10, 1#10G` -# Site & Courtyard +### Site & Courtyard -## Breakdowns +#### Breakdowns -> `System` = "FML - Site Fixtures Material & Labor" +> System: "FML - Site Fixtures Material & Labor" -## Fixture Assemblies +#### Fixture Assemblies > | Fixture Type | Assembly Path | > | ------------------------------------ | -------------------------------------------------------------------------------- | @@ -243,12 +241,14 @@ This is not technically exposed or drop ceiling, but still use PVC > > [^2]: Per Corwin: Hand rail lights should have a rigid 90 stub up and some flex -### Festoon Lighting +##### Festoon Lighting -AKA "string" or "market" lights +> AKA "string" or "market" lights > 1. `FIXTURE LABOR`/`FIXTURE LABOR 2HR` > 2. `FESTOON & ROOF ASSEMBLIES`/`FESTOON CABLE HANGER & EYE BOLTS - LENGTH` > * `Length per Unit` = Light string length > 3. `COURTYARDS & LANDSCAPE`/`ALUM BOX W/ FLEX FIX, 3/4" CONDUIT - PVC40 - ...` > * `Length per Unit` = Distance to panel + 15ft + +### Takeoff diff --git a/new-additions/takeoff/lightning-protection.md b/new-additions/takeoff/lightning-protection.md new file mode 100644 index 0000000..a344982 --- /dev/null +++ b/new-additions/takeoff/lightning-protection.md @@ -0,0 +1,50 @@ +# Lightning Protection + +## Info + +Two Types: +- Protection \$\$\$ +- Prevention \$ + - ESE (EARLY STREAMER EMISSIONS) + +## Estimate Scope + +May or may not be included, see proposal on [[bpm|BPM]] + +### Subcontractors + +Find lightning protection subcontractor quotes on BPM + +> [!tip] +> While you have them open, put the quote costs in Accubid. + +Search the quotes for direction on downlead counts, total length, and conduit size + +> [!example] +> Contractor to furnish 1,980' of 1" PVC conduit and pull string + +If no quote is available: + +- **Downlead locations** = building corners + additional locations + such that downlead spacing is not greater than 100ft + - Minimum 10 locations for High Rise + +- **Total downlead conduit length** = building height * downlead locations + +- **Conduit size** = 1-1/4" + +### Takeoff + +``` +Area = "Lightning Protection" // confirm +Phase = "Building - BOH, Storage & Common" +System = "LPT - Lightning Protection" +BidItem = "3 - Building" +``` + +- Takeoff: `COMMON ASSEMBLIES`/`PDI EMPTY CONDUIT`/`PVC ASSEMBLIES`/`* CONDUIT - PVC40` + - **Length** = total downlead conduit length + - **Count** = downlead locations + + - Add item: `ITEM DATABASE`/`BOXES & CABINETS`/`JUNCTION BOXES AND INDUSTRIAL CABINETS`/ + `BOXES - HNGD CVR - PAINTED STEEL - NEMA 1`/` 6x 4x 4" BOX HNGD CVR - NEMA 1` \ No newline at end of file diff --git a/new-additions/takeoff/project-setup.md b/new-additions/takeoff/project-setup.md new file mode 100644 index 0000000..198fd7d --- /dev/null +++ b/new-additions/takeoff/project-setup.md @@ -0,0 +1,70 @@ +# Project Setup + +## Create Project Folder + +```pwsh +# Copy template folder to +Set-Location "\\EgnyteDrive\Shared\Estimating\7 ConEst Team\Projects\ConEst 2025\" +Copy-Item ".\z.Template Folder\" ".\$region\$projectName" +``` + +## Download Project Documents + +``` +Set-Location ".\$region\$projectName" +# Download docs from BPM to ".\3. Plans & Spec's" +# TODO: Automate + +# copying from "\\EgnyteDrive\Shared\Estimating\$region\00 Open Bids\$projectName" +# may be more practical +``` + +## Create Unit Matrix + +See Architecturals + +## Create Area Breakout + +`SF Calcs.xlsx` + +## Create Blank WBS + +```pwsh +Set-Location "\\EgnyteDrive\Shared\Estimating\19 WBS Agreement GP" +Copy-Item ".\1. Wizard Template - WBS\MEP Wizard v3.111.4 (7-21-2025)(Summary Adjustments).xlsm" \ + ".\2. Blank Project WBS\2025\$projectName WBS $date.xlsm" +``` + +## Create LiveCount Project + +- In [Trimble Connect](https://web.connect.trimble.com), + find the project "CONEST TEMPLATE", + open its context menu, + then click "Use as template for a new project". +- Ensure all checkboxes are checked, + then click `Next`. +- Name with format "{Project Name} - ConEst". + +Refresh the page and open the newly created project. + +## Upload Drawings to LiveCount + +``` +# Extract drawings to ".\Trimble Connect (Plans)" +``` + +Upload extracted drawings to LiveCount + +## Create Accubid Job + +> [!important] +> The LiveCount project must be created **before** +> creating the Accubid job. + +- Create a new Accubid job: + Path: "\\EgnyteDrive\Shared\Trimble\Accubid\Bid\{Project Name} - ConEst.es16" + +## Add Drawings to Accubid Job + +- In the LiveCount window, find `Document Manager` > `Select Existing Project`. + Add all previously uploaded drawings. diff --git a/expected-value-of-perfect-information.md b/perfect-information.md similarity index 61% rename from expected-value-of-perfect-information.md rename to perfect-information.md index 9a94b43..13c662a 100644 --- a/expected-value-of-perfect-information.md +++ b/perfect-information.md @@ -1,8 +1,13 @@ -# Expected Value of Perfect Information +# Perfect Information -In [[decision-theory]], the expected value of perfect information (EVPI) +In [[strategy]], perfect information is hypothetical information +that would eliminate some defined [[uncertainty]]. + +## Expected Value of Perfect Information + +Expected value of perfect information (EVPI) is the price that one would be willing to pay -in order to gain access to [[perfect-information]] +in order to gain access to perfect information. The perceived *value* of decreased uncertainty must be weighed against its *cost*. @@ -15,4 +20,4 @@ however the greater cost is the opportunity cost of tying up an estimator who could otherwise be starting a new project. In many cases, the utility of doubled throughput -far outweighs the increased risk of individual bids. \ No newline at end of file +far outweighs the increased risk of individual bids. diff --git a/purpose-of-estimating.md b/purpose-of-estimating.md deleted file mode 100644 index 0b91750..0000000 --- a/purpose-of-estimating.md +++ /dev/null @@ -1,51 +0,0 @@ -# The Purpose of Estimating - -%% TODO: The content of this note is likely better put elsewhere %% - -## The Purpose of Construction Cost Estimation - -The purpose of [[construction-estimating]] in practice -is not to determine the cost of the scope, -which would take far longer than allotted for bid, - -## For the Solicitor - -* Determine feasibility of functional requirements - -> [!info] Type 2 Owners -> For some owners, money is no object, -> and standardization is far more important -> than any potential construction savings. -> -> These owners can be expected to decline every [[value-engineering]] option offered -> (see [[gold-plating]]). - -## For the Contractor - -* Make profit to meet growth target -* Secure work for current and projected employees (fill backlog) - -%% TODO: "Determine the sale price of a service" %% - -> [!aside] -> I take increasing issue with the common model -> of measuring operational success by negative overrun, -> as it is incompatible with the preferable target of estimate certainty. - -### The Role of the Estimator - -The role of the estimator is to model the potential cost distribution of the project, -taking actions to reduce the model's uncertainty. - -The effect of estimating methods can be represented as $d\sigma$, -thus efficiency is $\frac{d\sigma}{dt}$. - -### The Role of the Executive - -The role of the executive is to allocate profit and contingency -according to the potential cost distribution -weighted by the organizational desire to win the project. - -$$ -{E}[P]= -$$ diff --git a/risk-oriented-estimating.md b/risk-oriented-estimating.md index 94c1c94..4d2521f 100644 --- a/risk-oriented-estimating.md +++ b/risk-oriented-estimating.md @@ -10,7 +10,7 @@ Risk-Oriented Estimating (ROE), is a methodology for [[construction-estimating]] * prioritizes estimating tasks, * determines necessary [[estimating-detail]] -ROE leans heavily on [[expected-value-of-perfect-information]], +ROE leans heavily on [[perfect-information]], which challenges the natural tendency to shy from uncertainty with the reality of the cost of certainty. @@ -18,9 +18,17 @@ ROE does not endorse common shortcuts that round up to "cover" uncertainty, as these ultimately _increase_ risk by inflating the apparent project cost, increasing the probability of loss to a competitor. -> Bid risk may fit a [Taleb distribution](https://en.wikipedia.org/wiki/Taleb_distribution). +%% +## Scratch -> Actuarial Science +Bid risk may fit a [Taleb distribution](https://en.wikipedia.org/wiki/Taleb_distribution). + +Actuarial Science + +Estimating as risk mitigation, +resources allocated by Return on Mitigation (RoM) + +%% ## Prioritizing Tasks @@ -31,3 +39,26 @@ ROE prioritizes estimating tasks by their contribution to _cost certainty_. ROE determines the appropriate level of [[estimating-detail]] given an organization's [[risk#Risk Tolerance]]. +## EVPI Takeoff + +%% +## Scratch + +Expected value of perfect information (EVPI) + +Count-based takeoff speed increases with count. +%% + +Optimizing the takeoff process means: + +* *Minimizing* the need for information outside of drawings +* *Maximizing* organizational consistency + +> [!note] +> Recent events have complicated my philosophy above. +> It appears that similar efforts have already been made here, +> their success being a matter of perspective. + +> [!note] Naming Conventions (Use Case vs. Description) +> Naming by use case is intuitive for those without estimating or field experience, +> but has the side effect that those accustomed to the names will inevitably *treat them as descriptive*. diff --git a/risk.md b/risk.md index 9468033..84bc50d 100644 --- a/risk.md +++ b/risk.md @@ -4,8 +4,6 @@ tags: --- # Risk -## In Common Use - Risk, in common parlance, is the chance that something "bad" will happen. As such, it is generally understood as a binary, win/loss relationship. @@ -18,7 +16,7 @@ and is the sort assumed when using [[risk-registers]]. ## In Cost Estimation The prior model is well suited to project management, -which (being reductive) cares about "why"s, +which (being reductive) cares about why's, where cost estimation only cares about the bottom line. It is generally not useful for construction cost estimation. diff --git a/software-based-estimating.md b/software-based-estimating.md index 3c9189e..868c922 100644 --- a/software-based-estimating.md +++ b/software-based-estimating.md @@ -15,7 +15,7 @@ independent of any specific example of [[construction-estimating-software]] Most estimating manuals treat "software based estimating" as an afterthought, when in practice there's no meaningful difference in practice from manual. -* Manual estimation is best done in terms of [[assemblies]] anyway. +* Manual estimation is best done in terms of [[assembly-philosophy#Assemblies|assemblies]] anyway. * On-screen takeoff just eliminates a single manual process. * Any estimator trained on Accubid could do the same by hand, the methodology is quite transparent. * At what point in Excel automation does manual estimation become software based? diff --git a/strategy.md b/strategy.md index a8d7bfb..7de49d3 100644 --- a/strategy.md +++ b/strategy.md @@ -2,9 +2,7 @@ The field of strategy is concerned with the optimal solutions of problematic scenarios. -## Disciplines - -### Decision Theory +## Decision Theory Decision theory concerns @@ -12,14 +10,14 @@ Decision theory concerns * ~~no competition~~ * ~~internal optimization~~ -### Game Theory +## Game Theory Game theory concerns decisions made in competition with other intelligent actors. Predictions of competitor behavior in bids and market movements are made with a game-theoretic lens. -#### Auction Theory +### Auction Theory Auction theory is a subset of game theory that specifically addresses the competitive bid format diff --git a/supertopics.md b/supertopics.md index ac30a25..cb1001e 100644 --- a/supertopics.md +++ b/supertopics.md @@ -2,3 +2,7 @@ Supertopics are a concept that I use to visualize and categorize my knowledge and interests. + +They are a group of topics that, +while they may seem disparate in a vacuum, +are all fundamental to a greater understanding of the whole. \ No newline at end of file diff --git a/templates/System.md b/templates/System.md new file mode 100644 index 0000000..a9f65c8 --- /dev/null +++ b/templates/System.md @@ -0,0 +1,16 @@ +--- +id: {{title}} +aliases: [] +tags: [ + - system +] +--- +# {{title}} + +## Info + +## Conventions + +## Scope + +### Takeoff \ No newline at end of file diff --git a/traditional-estimating-methods.md b/traditional-estimating-methods.md index 58b759d..94951c1 100644 --- a/traditional-estimating-methods.md +++ b/traditional-estimating-methods.md @@ -5,5 +5,7 @@ Also "single-point estimation" as opposed to the standard three-point. "Traditional estimating methods" as referenced frequently in [[this notebook]] are those [[construction-estimating]] methods that produce: -* an exhaustive and specific bill of material -* a single definitive final price for each bid item +* an *exhaustive* and *specific* bill of material +* a single, definitive final price for each bid item + +Such methods lack the ability to intelligently express [[uncertainty]]. diff --git a/uncertainty.md b/uncertainty.md index 8ceee3f..78a68a8 100644 --- a/uncertainty.md +++ b/uncertainty.md @@ -1,6 +1,7 @@ --- -tags: - +id: uncertainty +aliases: [] +tags: [] --- # Uncertainty