/* Compiled from: rsx/theme/components/page_elements/breadcrumb_item.jqhtml */ (function() { 'use strict'; const template_Breadcrumb_Item = { _jqhtml_version: '2.2.185', name: 'Breadcrumb_Item', tag: 'li', defaultAttributes: {"class": "breadcrumb-item"}, render: function render(data, args, content, jqhtml) { let _output = []; const _cid = this._cid; const that = this; _output.push(" "); if (this.args.active) { _output.push(" "); (() => { if (this.args._inner_html) { _output.push(this.args._inner_html); } else if (typeof content === 'function') { const [contentInstructions] = content.call(this); _output.push(['_content', contentInstructions]); } })(); _output.push(" "); } else if (this.args.href) { _output.push(" ");_output.push({tag: ["a", {"href": (this.args.href)}, false]}); (() => { if (this.args._inner_html) { _output.push(this.args._inner_html); } else if (typeof content === 'function') { const [contentInstructions] = content.call(this); _output.push(['_content', contentInstructions]); } })(); _output.push(""); _output.push(" "); } else { _output.push(" "); (() => { if (this.args._inner_html) { _output.push(this.args._inner_html); } else if (typeof content === 'function') { const [contentInstructions] = content.call(this); _output.push(['_content', contentInstructions]); } })(); _output.push(" "); } _output.push(" "); return [_output, this]; }, dependencies: [] }; // Self-register with jqhtml runtime // Must use window.jqhtml since we're in bundle scope if (!window.jqhtml) { throw new Error('FATAL: window.jqhtml is not defined. The jqhtml runtime must be loaded before registering templates.'); } // Auto-register following standard jqhtml pattern window.jqhtml.register_template(template_Breadcrumb_Item); })(); //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImJyZWFkY3J1bWJfaXRlbS5qcWh0bWwiXSwic291cmNlc0NvbnRlbnQiOlsiPCEtLVxuQnJlYWRjcnVtYl9JdGVtXG5cbkluZGl2aWR1YWwgYnJlYWRjcnVtYiBpdGVtLiBDYW4gYmUgYSBsaW5rIG9yIGFjdGl2ZSAoY3VycmVudCBwYWdlKS5cblxuJGhyZWYgLSBPcHRpb25hbCBsaW5rIFVSTC4gSWYgb21pdHRlZCwgcmVuZGVycyBhcyBwbGFpbiB0ZXh0LlxuJGFjdGl2ZSA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