0||!n)&&(r[a]=i+r[a]);return r.join("\n")},$.prototype.renderPartial=function(e,t,i,r){if(i){var a=this.getConfigTags(r),s=n(i)?i(e[1]):i[e[1]];if(null!=s){var l=e[6],o=e[5],d=e[4],u=s;0==o&&d&&(u=this.indentPartial(s,d,l));var c=this.parse(u,a);return this.renderTokens(c,t,i,u,r)}}},$.prototype.unescapedValue=function(e,t){var n=t.lookup(e[1]);if(null!=n)return n},$.prototype.escapedValue=function(e,t,n){var i=this.getConfigEscape(n)||w.escape,r=t.lookup(e[1]);if(null!=r)return"number"==typeof r&&i===w.escape?String(r):i(r)},$.prototype.rawValue=function(e){return e[1]},$.prototype.getConfigTags=function(e){return t(e)?e:e&&"object"==typeof e?e.tags:void 0},$.prototype.getConfigEscape=function(e){return e&&"object"==typeof e&&!t(e)?e.escape:void 0};var w={name:"mustache.js",version:"4.2.0",tags:["{{","}}"],clearCache:void 0,escape:void 0,parse:void 0,render:void 0,Scanner:void 0,Context:void 0,Writer:void 0,set templateCache(e){q.templateCache=e},get templateCache(){return q.templateCache}},q=new $;return w.clearCache=function(){return q.clearCache()},w.parse=function(e,t){return q.parse(e,t)},w.render=function(e,t,n,r){if("string"!=typeof e)throw new TypeError('Invalid template! Template should be a "string" but "'+i(e)+'" was given as the first argument for mustache#render(template, view, partials)');return q.render(e,t,n,r)},w.escape=p,w.Scanner=y,w.Context=k,w.Writer=$,w}()}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var a=t[i]={exports:{}};return e[i].call(a.exports,a,a.exports,n),a.exports}!function(){"use strict";var e=n(2404);const t=n(7965);class i{constructor({name:t,translations:n}){this.name=t,this.templates=null,this.id=null,this.translations={...e.A,...n}}t(e,t){return this.translate(e,t)}translate(e,t){if(!this.translations)throw new Error("Translations are missing");function n(e,t,i){return"string"==typeof t&&(t=t.split(".")),1===t.length&&void 0!==i?(e[t[0]]=i,i):0===t.length?e:n(e[t[0]],t.slice(1),i)}const i=drupalSettings.path.currentLanguage||"fi",r=this.translations[e]?this.translations[e][i]:null;return r?r.replace(/\$\{.+?\}/g,(e=>{const i=e.replace(/(^\$\{|\}$)/g,"");return n(t,i)})):`Missing translation: ${e}:${i}`}parseSettings(e){let t;try{t=JSON.parse(e)}catch(t){throw console.error(`Problem with ${this.name} settings:`,e),t}return t}getElement(e){const t=document.querySelector(`#${e}_${this.id}`);if(!t)throw new Error(`Element #${e}_${this.id} missing from ${this.name} at getElement`);return t}getPartialRender(e,n){return this.preprocessData(n),t.render(e,n,this.templates.partials)}getMinimumRange(e,t){const n=Object.keys(t).reverse();for(let i=0;i
{{text}}
\n ",hr:"\n\n {{total_prefix}}\n {{total_value}}\n {{total_suffix}}\n
\n {{#total_explanation}}\n{{total_explanation}}
\n {{/total_explanation}}\n {{#hr}}\n{{.}}
{{/text}}\n {{/additional_details}}\n {{/breakdown}}\n0||!n)&&(r[a]=i+r[a]);return r.join("\n")},$.prototype.renderPartial=function(e,t,i,r){if(i){var a=this.getConfigTags(r),s=n(i)?i(e[1]):i[e[1]];if(null!=s){var l=e[6],o=e[5],d=e[4],u=s;0==o&&d&&(u=this.indentPartial(s,d,l));var c=this.parse(u,a);return this.renderTokens(c,t,i,u,r)}}},$.prototype.unescapedValue=function(e,t){var n=t.lookup(e[1]);if(null!=n)return n},$.prototype.escapedValue=function(e,t,n){var i=this.getConfigEscape(n)||w.escape,r=t.lookup(e[1]);if(null!=r)return"number"==typeof r&&i===w.escape?String(r):i(r)},$.prototype.rawValue=function(e){return e[1]},$.prototype.getConfigTags=function(e){return t(e)?e:e&&"object"==typeof e?e.tags:void 0},$.prototype.getConfigEscape=function(e){return e&&"object"==typeof e&&!t(e)?e.escape:void 0};var w={name:"mustache.js",version:"4.2.0",tags:["{{","}}"],clearCache:void 0,escape:void 0,parse:void 0,render:void 0,Scanner:void 0,Context:void 0,Writer:void 0,set templateCache(e){q.templateCache=e},get templateCache(){return q.templateCache}},q=new $;return w.clearCache=function(){return q.clearCache()},w.parse=function(e,t){return q.parse(e,t)},w.render=function(e,t,n,r){if("string"!=typeof e)throw new TypeError('Invalid template! Template should be a "string" but "'+i(e)+'" was given as the first argument for mustache#render(template, view, partials)');return q.render(e,t,n,r)},w.escape=p,w.Scanner=y,w.Context=k,w.Writer=$,w}()}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var a=t[i]={exports:{}};return e[i].call(a.exports,a,a.exports,n),a.exports}!function(){"use strict";var e=n(2404);const t=n(7965);class i{constructor({name:t,translations:n}){this.name=t,this.templates=null,this.id=null,this.translations={...e.A,...n}}t(e,t){return this.translate(e,t)}translate(e,t){if(!this.translations)throw new Error("Translations are missing");function n(e,t,i){return"string"==typeof t&&(t=t.split(".")),1===t.length&&void 0!==i?(e[t[0]]=i,i):0===t.length?e:n(e[t[0]],t.slice(1),i)}const i=drupalSettings.path.currentLanguage||"fi",r=this.translations[e]?this.translations[e][i]:null;return r?r.replace(/\$\{.+?\}/g,(e=>{const i=e.replace(/(^\$\{|\}$)/g,"");return n(t,i)})):`Missing translation: ${e}:${i}`}parseSettings(e){let t;try{t=JSON.parse(e)}catch(t){throw console.error(`Problem with ${this.name} settings:`,e),t}return t}getElement(e){const t=document.querySelector(`#${e}_${this.id}`);if(!t)throw new Error(`Element #${e}_${this.id} missing from ${this.name} at getElement`);return t}getPartialRender(e,n){return this.preprocessData(n),t.render(e,n,this.templates.partials)}getMinimumRange(e,t){const n=Object.keys(t).reverse();for(let i=0;i
{{text}}
\n ',hr:"\n\n {{total_prefix}}\n {{total_value}}\n {{total_suffix}}\n
\n {{#total_explanation}}\n{{total_explanation}}
\n {{/total_explanation}}\n {{#hr}}\n{{.}}
{{/text}}\n {{/additional_details}}\n {{/breakdown}}\n{{text}}
+{{text}}
`, hr: `