@salaxy/reports
Version:
Salaxy (Palkkaus.fi) reporting library
958 lines • 640 kB
JavaScript
import { Translations as d, Dates as g, Numeric as y, Objects as ul, CalcGroup as O, CalculationRowType as v, IncomeTypesLogic as V, EnumerationsLogic as G, Unit as L, ReportType as ke, CalculatorLogic as Jr, PaymentChannel as X, TaxcardKind as Rn, FrameworkAgreement as ql, PensionCalculation as E, UnionPaymentType as Kl, UnionPaymentKind as Jl, Years as Qr, TaxDeductionWorkCategories as Zr, CalculationRowCategory as De, Arrays as nn, Iban as ea, BicHelper as ln, InvoiceType as ae, InvoiceStatus as An, CalcRowsLogic as Ql } from "@salaxy/core";
function wt(l) {
return l && l.__esModule && Object.prototype.hasOwnProperty.call(l, "default") ? l.default : l;
}
var $n = { exports: {} }, W = {}, Y = {};
Y.__esModule = !0;
Y.extend = Rt;
Y.indexOf = aa;
Y.escapeExpression = oa;
Y.isEmpty = ua;
Y.createFrame = ia;
Y.blockParams = sa;
Y.appendContextPath = ca;
var na = {
"&": "&",
"<": "<",
">": ">",
'"': """,
"'": "'",
"`": "`",
"=": "="
}, la = /[&<>"'`=]/g, ta = /[&<>"'`=]/;
function ra(l) {
return na[l];
}
function Rt(l) {
for (var e = 1; e < arguments.length; e++)
for (var t in arguments[e])
Object.prototype.hasOwnProperty.call(arguments[e], t) && (l[t] = arguments[e][t]);
return l;
}
var il = Object.prototype.toString;
Y.toString = il;
var Bn = function(e) {
return typeof e == "function";
};
Bn(/x/) && (Y.isFunction = Bn = function(l) {
return typeof l == "function" && il.call(l) === "[object Function]";
});
Y.isFunction = Bn;
var At = Array.isArray || function(l) {
return l && typeof l == "object" ? il.call(l) === "[object Array]" : !1;
};
Y.isArray = At;
function aa(l, e) {
for (var t = 0, s = l.length; t < s; t++)
if (l[t] === e)
return t;
return -1;
}
function oa(l) {
if (typeof l != "string") {
if (l && l.toHTML)
return l.toHTML();
if (l == null)
return "";
if (!l)
return l + "";
l = "" + l;
}
return ta.test(l) ? l.replace(la, ra) : l;
}
function ua(l) {
return !l && l !== 0 ? !0 : !!(At(l) && l.length === 0);
}
function ia(l) {
var e = Rt({}, l);
return e._parent = l, e;
}
function sa(l, e) {
return l.path = e, l;
}
function ca(l, e) {
return (l ? l + "." : "") + e;
}
var Fn = { exports: {} };
(function(l, e) {
e.__esModule = !0;
var t = ["description", "fileName", "lineNumber", "endLineNumber", "message", "name", "number", "stack"];
function s(a, n) {
var o = n && n.loc, r = void 0, u = void 0, i = void 0, c = void 0;
o && (r = o.start.line, u = o.end.line, i = o.start.column, c = o.end.column, a += " - " + r + ":" + i);
for (var f = Error.prototype.constructor.call(this, a), m = 0; m < t.length; m++)
this[t[m]] = f[t[m]];
Error.captureStackTrace && Error.captureStackTrace(this, s);
try {
o && (this.lineNumber = r, this.endLineNumber = u, Object.defineProperty ? (Object.defineProperty(this, "column", {
value: i,
enumerable: !0
}), Object.defineProperty(this, "endColumn", {
value: c,
enumerable: !0
})) : (this.column = i, this.endColumn = c));
} catch {
}
}
s.prototype = new Error(), e.default = s, l.exports = e.default;
})(Fn, Fn.exports);
var ye = Fn.exports, Fe = {}, jn = { exports: {} };
(function(l, e) {
e.__esModule = !0;
var t = Y;
e.default = function(s) {
s.registerHelper("blockHelperMissing", function(a, n) {
var o = n.inverse, r = n.fn;
if (a === !0)
return r(this);
if (a === !1 || a == null)
return o(this);
if (t.isArray(a))
return a.length > 0 ? (n.ids && (n.ids = [n.name]), s.helpers.each(a, n)) : o(this);
if (n.data && n.ids) {
var u = t.createFrame(n.data);
u.contextPath = t.appendContextPath(n.data.contextPath, n.name), n = { data: u };
}
return r(a, n);
});
}, l.exports = e.default;
})(jn, jn.exports);
var ma = jn.exports, Vn = { exports: {} };
(function(l, e) {
e.__esModule = !0;
function t(o) {
return o && o.__esModule ? o : { default: o };
}
var s = Y, a = ye, n = t(a);
e.default = function(o) {
o.registerHelper("each", function(r, u) {
if (!u)
throw new n.default("Must pass iterator to #each");
var i = u.fn, c = u.inverse, f = 0, m = "", p = void 0, w = void 0;
u.data && u.ids && (w = s.appendContextPath(u.data.contextPath, u.ids[0]) + "."), s.isFunction(r) && (r = r.call(this)), u.data && (p = s.createFrame(u.data));
function b(k, T, M) {
p && (p.key = k, p.index = T, p.first = T === 0, p.last = !!M, w && (p.contextPath = w + k)), m = m + i(r[k], {
data: p,
blockParams: s.blockParams([r[k], k], [w + k, null])
});
}
if (r && typeof r == "object")
if (s.isArray(r))
for (var C = r.length; f < C; f++)
f in r && b(f, f, f === r.length - 1);
else if (typeof Symbol == "function" && r[Symbol.iterator]) {
for (var S = [], h = r[Symbol.iterator](), A = h.next(); !A.done; A = h.next())
S.push(A.value);
r = S;
for (var C = r.length; f < C; f++)
b(f, f, f === r.length - 1);
} else
(function() {
var k = void 0;
Object.keys(r).forEach(function(T) {
k !== void 0 && b(k, f - 1), k = T, f++;
}), k !== void 0 && b(k, f - 1, !0);
})();
return f === 0 && (m = c(this)), m;
});
}, l.exports = e.default;
})(Vn, Vn.exports);
var fa = Vn.exports, Un = { exports: {} };
(function(l, e) {
e.__esModule = !0;
function t(n) {
return n && n.__esModule ? n : { default: n };
}
var s = ye, a = t(s);
e.default = function(n) {
n.registerHelper("helperMissing", function() {
if (arguments.length !== 1)
throw new a.default('Missing helper: "' + arguments[arguments.length - 1].name + '"');
});
}, l.exports = e.default;
})(Un, Un.exports);
var ya = Un.exports, zn = { exports: {} };
(function(l, e) {
e.__esModule = !0;
function t(o) {
return o && o.__esModule ? o : { default: o };
}
var s = Y, a = ye, n = t(a);
e.default = function(o) {
o.registerHelper("if", function(r, u) {
if (arguments.length != 2)
throw new n.default("#if requires exactly one argument");
return s.isFunction(r) && (r = r.call(this)), !u.hash.includeZero && !r || s.isEmpty(r) ? u.inverse(this) : u.fn(this);
}), o.registerHelper("unless", function(r, u) {
if (arguments.length != 2)
throw new n.default("#unless requires exactly one argument");
return o.helpers.if.call(this, r, {
fn: u.inverse,
inverse: u.fn,
hash: u.hash
});
});
}, l.exports = e.default;
})(zn, zn.exports);
var da = zn.exports, Nn = { exports: {} };
(function(l, e) {
e.__esModule = !0, e.default = function(t) {
t.registerHelper("log", function() {
for (var s = [void 0], a = arguments[arguments.length - 1], n = 0; n < arguments.length - 1; n++)
s.push(arguments[n]);
var o = 1;
a.hash.level != null ? o = a.hash.level : a.data && a.data.level != null && (o = a.data.level), s[0] = o, t.log.apply(t, s);
});
}, l.exports = e.default;
})(Nn, Nn.exports);
var ga = Nn.exports, Gn = { exports: {} };
(function(l, e) {
e.__esModule = !0, e.default = function(t) {
t.registerHelper("lookup", function(s, a, n) {
return s && n.lookupProperty(s, a);
});
}, l.exports = e.default;
})(Gn, Gn.exports);
var Pa = Gn.exports, Wn = { exports: {} };
(function(l, e) {
e.__esModule = !0;
function t(o) {
return o && o.__esModule ? o : { default: o };
}
var s = Y, a = ye, n = t(a);
e.default = function(o) {
o.registerHelper("with", function(r, u) {
if (arguments.length != 2)
throw new n.default("#with requires exactly one argument");
s.isFunction(r) && (r = r.call(this));
var i = u.fn;
if (s.isEmpty(r))
return u.inverse(this);
var c = u.data;
return u.data && u.ids && (c = s.createFrame(u.data), c.contextPath = s.appendContextPath(u.data.contextPath, u.ids[0])), i(r, {
data: c,
blockParams: s.blockParams([r], [c && c.contextPath])
});
});
}, l.exports = e.default;
})(Wn, Wn.exports);
var pa = Wn.exports;
Fe.__esModule = !0;
Fe.registerDefaultHelpers = _a;
Fe.moveHelperToHooks = Da;
function de(l) {
return l && l.__esModule ? l : { default: l };
}
var ha = ma, va = de(ha), Sa = fa, ka = de(Sa), wa = ya, Ra = de(wa), Aa = da, ba = de(Aa), Ea = ga, Ca = de(Ea), Oa = Pa, Ta = de(Oa), xa = pa, La = de(xa);
function _a(l) {
va.default(l), ka.default(l), Ra.default(l), ba.default(l), Ca.default(l), Ta.default(l), La.default(l);
}
function Da(l, e, t) {
l.helpers[e] && (l.hooks[e] = l.helpers[e], t || delete l.helpers[e]);
}
var sl = {}, qn = { exports: {} };
(function(l, e) {
e.__esModule = !0;
var t = Y;
e.default = function(s) {
s.registerDecorator("inline", function(a, n, o, r) {
var u = a;
return n.partials || (n.partials = {}, u = function(i, c) {
var f = o.partials;
o.partials = t.extend({}, f, n.partials);
var m = a(i, c);
return o.partials = f, m;
}), n.partials[r.args[0]] = r.fn, u;
});
}, l.exports = e.default;
})(qn, qn.exports);
var Ma = qn.exports;
sl.__esModule = !0;
sl.registerDefaultDecorators = Ha;
function Xa(l) {
return l && l.__esModule ? l : { default: l };
}
var Ya = Ma, Ia = Xa(Ya);
function Ha(l) {
Ia.default(l);
}
var Kn = { exports: {} };
(function(l, e) {
e.__esModule = !0;
var t = Y, s = {
methodMap: ["debug", "info", "warn", "error"],
level: "info",
// Maps a given level value to the `methodMap` indexes above.
lookupLevel: function(n) {
if (typeof n == "string") {
var o = t.indexOf(s.methodMap, n.toLowerCase());
o >= 0 ? n = o : n = parseInt(n, 10);
}
return n;
},
// Can be overridden in the host environment
log: function(n) {
if (n = s.lookupLevel(n), typeof console < "u" && s.lookupLevel(s.level) <= n) {
var o = s.methodMap[n];
console[o] || (o = "log");
for (var r = arguments.length, u = Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++)
u[i - 1] = arguments[i];
console[o].apply(console, u);
}
}
};
e.default = s, l.exports = e.default;
})(Kn, Kn.exports);
var bt = Kn.exports, Ce = {}, cl = {};
cl.__esModule = !0;
cl.createNewLookupObject = Ba;
var $a = Y;
function Ba() {
for (var l = arguments.length, e = Array(l), t = 0; t < l; t++)
e[t] = arguments[t];
return $a.extend.apply(void 0, [/* @__PURE__ */ Object.create(null)].concat(e));
}
Ce.__esModule = !0;
Ce.createProtoAccessControl = Ua;
Ce.resultIsAllowed = za;
Ce.resetLoggedProperties = Ga;
function Fa(l) {
return l && l.__esModule ? l : { default: l };
}
var Zl = cl, ja = bt, Va = Fa(ja), tn = /* @__PURE__ */ Object.create(null);
function Ua(l) {
var e = /* @__PURE__ */ Object.create(null);
e.constructor = !1, e.__defineGetter__ = !1, e.__defineSetter__ = !1, e.__lookupGetter__ = !1;
var t = /* @__PURE__ */ Object.create(null);
return t.__proto__ = !1, {
properties: {
whitelist: Zl.createNewLookupObject(t, l.allowedProtoProperties),
defaultValue: l.allowProtoPropertiesByDefault
},
methods: {
whitelist: Zl.createNewLookupObject(e, l.allowedProtoMethods),
defaultValue: l.allowProtoMethodsByDefault
}
};
}
function za(l, e, t) {
return et(typeof l == "function" ? e.methods : e.properties, t);
}
function et(l, e) {
return l.whitelist[e] !== void 0 ? l.whitelist[e] === !0 : l.defaultValue !== void 0 ? l.defaultValue : (Na(e), !1);
}
function Na(l) {
tn[l] !== !0 && (tn[l] = !0, Va.default.log("error", 'Handlebars: Access has been denied to resolve the property "' + l + `" because it is not an "own property" of its parent.
You can add a runtime option to disable the check or this warning:
See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details`));
}
function Ga() {
Object.keys(tn).forEach(function(l) {
delete tn[l];
});
}
W.__esModule = !0;
W.HandlebarsEnvironment = Jn;
function Et(l) {
return l && l.__esModule ? l : { default: l };
}
var me = Y, Wa = ye, bn = Et(Wa), qa = Fe, Ka = sl, Ja = bt, rn = Et(Ja), Qa = Ce, Za = "4.7.8";
W.VERSION = Za;
var eo = 8;
W.COMPILER_REVISION = eo;
var no = 7;
W.LAST_COMPATIBLE_COMPILER_REVISION = no;
var lo = {
1: "<= 1.0.rc.2",
// 1.0.rc.2 is actually rev2 but doesn't report it
2: "== 1.0.0-rc.3",
3: "== 1.0.0-rc.4",
4: "== 1.x.x",
5: "== 2.0.0-alpha.x",
6: ">= 2.0.0-beta.1",
7: ">= 4.0.0 <4.3.0",
8: ">= 4.3.0"
};
W.REVISION_CHANGES = lo;
var En = "[object Object]";
function Jn(l, e, t) {
this.helpers = l || {}, this.partials = e || {}, this.decorators = t || {}, qa.registerDefaultHelpers(this), Ka.registerDefaultDecorators(this);
}
Jn.prototype = {
constructor: Jn,
logger: rn.default,
log: rn.default.log,
registerHelper: function(e, t) {
if (me.toString.call(e) === En) {
if (t)
throw new bn.default("Arg not supported with multiple helpers");
me.extend(this.helpers, e);
} else
this.helpers[e] = t;
},
unregisterHelper: function(e) {
delete this.helpers[e];
},
registerPartial: function(e, t) {
if (me.toString.call(e) === En)
me.extend(this.partials, e);
else {
if (typeof t > "u")
throw new bn.default('Attempting to register a partial called "' + e + '" as undefined');
this.partials[e] = t;
}
},
unregisterPartial: function(e) {
delete this.partials[e];
},
registerDecorator: function(e, t) {
if (me.toString.call(e) === En) {
if (t)
throw new bn.default("Arg not supported with multiple decorators");
me.extend(this.decorators, e);
} else
this.decorators[e] = t;
},
unregisterDecorator: function(e) {
delete this.decorators[e];
},
/**
* Reset the memory of illegal property accesses that have already been logged.
* @deprecated should only be used in handlebars test-cases
*/
resetLoggedPropertyAccesses: function() {
Qa.resetLoggedProperties();
}
};
var to = rn.default.log;
W.log = to;
W.createFrame = me.createFrame;
W.logger = rn.default;
var Qn = { exports: {} };
(function(l, e) {
e.__esModule = !0;
function t(s) {
this.string = s;
}
t.prototype.toString = t.prototype.toHTML = function() {
return "" + this.string;
}, e.default = t, l.exports = e.default;
})(Qn, Qn.exports);
var ro = Qn.exports, ie = {}, ml = {};
ml.__esModule = !0;
ml.wrapHelper = ao;
function ao(l, e) {
if (typeof l != "function")
return l;
var t = function() {
var a = arguments[arguments.length - 1];
return arguments[arguments.length - 1] = e(a), l.apply(this, arguments);
};
return t;
}
ie.__esModule = !0;
ie.checkRevision = mo;
ie.template = fo;
ie.wrapProgram = en;
ie.resolvePartial = yo;
ie.invokePartial = go;
ie.noop = Ct;
function oo(l) {
return l && l.__esModule ? l : { default: l };
}
function uo(l) {
if (l && l.__esModule)
return l;
var e = {};
if (l != null)
for (var t in l)
Object.prototype.hasOwnProperty.call(l, t) && (e[t] = l[t]);
return e.default = l, e;
}
var io = Y, ee = uo(io), so = ye, ne = oo(so), le = W, nt = Fe, co = ml, lt = Ce;
function mo(l) {
var e = l && l[0] || 1, t = le.COMPILER_REVISION;
if (!(e >= le.LAST_COMPATIBLE_COMPILER_REVISION && e <= le.COMPILER_REVISION))
if (e < le.LAST_COMPATIBLE_COMPILER_REVISION) {
var s = le.REVISION_CHANGES[t], a = le.REVISION_CHANGES[e];
throw new ne.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version (" + s + ") or downgrade your runtime to an older version (" + a + ").");
} else
throw new ne.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version (" + l[1] + ").");
}
function fo(l, e) {
if (!e)
throw new ne.default("No environment passed to template");
if (!l || !l.main)
throw new ne.default("Unknown template object: " + typeof l);
l.main.decorator = l.main_d, e.VM.checkRevision(l.compiler);
var t = l.compiler && l.compiler[0] === 7;
function s(o, r, u) {
u.hash && (r = ee.extend({}, r, u.hash), u.ids && (u.ids[0] = !0)), o = e.VM.resolvePartial.call(this, o, r, u);
var i = ee.extend({}, u, {
hooks: this.hooks,
protoAccessControl: this.protoAccessControl
}), c = e.VM.invokePartial.call(this, o, r, i);
if (c == null && e.compile && (u.partials[u.name] = e.compile(o, l.compilerOptions, e), c = u.partials[u.name](r, i)), c != null) {
if (u.indent) {
for (var f = c.split(`
`), m = 0, p = f.length; m < p && !(!f[m] && m + 1 === p); m++)
f[m] = u.indent + f[m];
c = f.join(`
`);
}
return c;
} else
throw new ne.default("The partial " + u.name + " could not be compiled when running in runtime-only mode");
}
var a = {
strict: function(r, u, i) {
if (!r || !(u in r))
throw new ne.default('"' + u + '" not defined in ' + r, {
loc: i
});
return a.lookupProperty(r, u);
},
lookupProperty: function(r, u) {
var i = r[u];
if (i == null || Object.prototype.hasOwnProperty.call(r, u) || lt.resultIsAllowed(i, a.protoAccessControl, u))
return i;
},
lookup: function(r, u) {
for (var i = r.length, c = 0; c < i; c++) {
var f = r[c] && a.lookupProperty(r[c], u);
if (f != null)
return r[c][u];
}
},
lambda: function(r, u) {
return typeof r == "function" ? r.call(u) : r;
},
escapeExpression: ee.escapeExpression,
invokePartial: s,
fn: function(r) {
var u = l[r];
return u.decorator = l[r + "_d"], u;
},
programs: [],
program: function(r, u, i, c, f) {
var m = this.programs[r], p = this.fn(r);
return u || f || c || i ? m = en(this, r, p, u, i, c, f) : m || (m = this.programs[r] = en(this, r, p)), m;
},
data: function(r, u) {
for (; r && u--; )
r = r._parent;
return r;
},
mergeIfNeeded: function(r, u) {
var i = r || u;
return r && u && r !== u && (i = ee.extend({}, u, r)), i;
},
// An empty object to use as replacement for null-contexts
nullContext: Object.seal({}),
noop: e.VM.noop,
compilerInfo: l.compiler
};
function n(o) {
var r = arguments.length <= 1 || arguments[1] === void 0 ? {} : arguments[1], u = r.data;
n._setup(r), !r.partial && l.useData && (u = Po(o, u));
var i = void 0, c = l.useBlockParams ? [] : void 0;
l.useDepths && (r.depths ? i = o != r.depths[0] ? [o].concat(r.depths) : r.depths : i = [o]);
function f(m) {
return "" + l.main(a, m, a.helpers, a.partials, u, c, i);
}
return f = Ot(l.main, f, a, r.depths || [], u, c), f(o, r);
}
return n.isTop = !0, n._setup = function(o) {
if (o.partial)
a.protoAccessControl = o.protoAccessControl, a.helpers = o.helpers, a.partials = o.partials, a.decorators = o.decorators, a.hooks = o.hooks;
else {
var r = ee.extend({}, e.helpers, o.helpers);
po(r, a), a.helpers = r, l.usePartial && (a.partials = a.mergeIfNeeded(o.partials, e.partials)), (l.usePartial || l.useDecorators) && (a.decorators = ee.extend({}, e.decorators, o.decorators)), a.hooks = {}, a.protoAccessControl = lt.createProtoAccessControl(o);
var u = o.allowCallsToHelperMissing || t;
nt.moveHelperToHooks(a, "helperMissing", u), nt.moveHelperToHooks(a, "blockHelperMissing", u);
}
}, n._child = function(o, r, u, i) {
if (l.useBlockParams && !u)
throw new ne.default("must pass block params");
if (l.useDepths && !i)
throw new ne.default("must pass parent depths");
return en(a, o, l[o], r, 0, u, i);
}, n;
}
function en(l, e, t, s, a, n, o) {
function r(u) {
var i = arguments.length <= 1 || arguments[1] === void 0 ? {} : arguments[1], c = o;
return o && u != o[0] && !(u === l.nullContext && o[0] === null) && (c = [u].concat(o)), t(l, u, l.helpers, l.partials, i.data || s, n && [i.blockParams].concat(n), c);
}
return r = Ot(t, r, l, o, s, n), r.program = e, r.depth = o ? o.length : 0, r.blockParams = a || 0, r;
}
function yo(l, e, t) {
return l ? !l.call && !t.name && (t.name = l, l = t.partials[l]) : t.name === "@partial-block" ? l = t.data["partial-block"] : l = t.partials[t.name], l;
}
function go(l, e, t) {
var s = t.data && t.data["partial-block"];
t.partial = !0, t.ids && (t.data.contextPath = t.ids[0] || t.data.contextPath);
var a = void 0;
if (t.fn && t.fn !== Ct && function() {
t.data = le.createFrame(t.data);
var n = t.fn;
a = t.data["partial-block"] = function(r) {
var u = arguments.length <= 1 || arguments[1] === void 0 ? {} : arguments[1];
return u.data = le.createFrame(u.data), u.data["partial-block"] = s, n(r, u);
}, n.partials && (t.partials = ee.extend({}, t.partials, n.partials));
}(), l === void 0 && a && (l = a), l === void 0)
throw new ne.default("The partial " + t.name + " could not be found");
if (l instanceof Function)
return l(e, t);
}
function Ct() {
return "";
}
function Po(l, e) {
return (!e || !("root" in e)) && (e = e ? le.createFrame(e) : {}, e.root = l), e;
}
function Ot(l, e, t, s, a, n) {
if (l.decorator) {
var o = {};
e = l.decorator(e, o, t, s && s[0], a, n, s), ee.extend(e, o);
}
return e;
}
function po(l, e) {
Object.keys(l).forEach(function(t) {
var s = l[t];
l[t] = ho(s, e);
});
}
function ho(l, e) {
var t = e.lookupProperty;
return co.wrapHelper(l, function(s) {
return ee.extend({ lookupProperty: t }, s);
});
}
var Zn = { exports: {} };
(function(l, e) {
e.__esModule = !0, e.default = function(t) {
(function() {
typeof globalThis != "object" && (Object.prototype.__defineGetter__("__magic__", function() {
return this;
}), __magic__.globalThis = __magic__, delete Object.prototype.__magic__);
})();
var s = globalThis.Handlebars;
t.noConflict = function() {
return globalThis.Handlebars === t && (globalThis.Handlebars = s), t;
};
}, l.exports = e.default;
})(Zn, Zn.exports);
var vo = Zn.exports;
(function(l, e) {
e.__esModule = !0;
function t(h) {
return h && h.__esModule ? h : { default: h };
}
function s(h) {
if (h && h.__esModule)
return h;
var A = {};
if (h != null)
for (var k in h)
Object.prototype.hasOwnProperty.call(h, k) && (A[k] = h[k]);
return A.default = h, A;
}
var a = W, n = s(a), o = ro, r = t(o), u = ye, i = t(u), c = Y, f = s(c), m = ie, p = s(m), w = vo, b = t(w);
function C() {
var h = new n.HandlebarsEnvironment();
return f.extend(h, n), h.SafeString = r.default, h.Exception = i.default, h.Utils = f, h.escapeExpression = f.escapeExpression, h.VM = p, h.template = function(A) {
return p.template(A, h);
}, h;
}
var S = C();
S.create = C, b.default(S), S.default = S, e.default = S, l.exports = e.default;
})($n, $n.exports);
var So = $n.exports, ko = So.default;
const P = /* @__PURE__ */ wt(ko), wo = P.template({ 1: function(l, e, t, s, a) {
var n, o = l.lookupProperty || function(r, u) {
if (Object.prototype.hasOwnProperty.call(r, u))
return r[u];
};
return (n = l.invokePartial(o(s, "page"), e, { name: "page", fn: l.program(2, a, 0), inverse: l.noop, data: a, helpers: t, partials: s, decorators: l.decorators })) != null ? n : "";
}, 2: function(l, e, t, s, a) {
var n, o = l.lookupProperty || function(r, u) {
if (Object.prototype.hasOwnProperty.call(r, u))
return r[u];
};
return `\r
Still going strong at ` + l.escapeExpression(l.lambda((n = e != null ? o(e, "report") : e) != null ? o(n, "timestamp") : n, e)) + ` GMT\r
\r
`;
}, compiler: [8, ">= 4.3.0"], main: function(l, e, t, s, a) {
var n, o = l.lookupProperty || function(r, u) {
if (Object.prototype.hasOwnProperty.call(r, u))
return r[u];
};
return ((n = l.invokePartial(o(s, "document"), e, { name: "document", fn: l.program(1, a, 0), inverse: l.noop, data: a, helpers: t, partials: s, decorators: l.decorators })) != null ? n : "") + `\r
`;
}, usePartial: !0, useData: !0 }), Ro = P.template({ 1: function(l, e, t, s, a) {
var n, o = l.lookupProperty || function(r, u) {
if (Object.prototype.hasOwnProperty.call(r, u))
return r[u];
};
return (n = l.invokePartial(o(s, "page"), e, { name: "page", fn: l.program(2, a, 0), inverse: l.noop, data: a, helpers: t, partials: s, decorators: l.decorators })) != null ? n : "";
}, 2: function(l, e, t, s, a) {
var n, o = l.lookupProperty || function(r, u) {
if (Object.prototype.hasOwnProperty.call(r, u))
return r[u];
};
return `\r
` + ((n = l.invokePartial(o(s, "accountingReportHead"), e, { name: "accountingReportHead", data: a, helpers: t, partials: s, decorators: l.decorators })) != null ? n : "") + `\r
` + ((n = l.invokePartial(o(s, "accountingTable"), e, { name: "accountingTable", data: a, helpers: t, partials: s, decorators: l.decorators })) != null ? n : "") + `\r
`;
}, compiler: [8, ">= 4.3.0"], main: function(l, e, t, s, a) {
var n, o = l.lookupProperty || function(r, u) {
if (Object.prototype.hasOwnProperty.call(r, u))
return r[u];
};
return ((n = l.invokePartial(o(s, "document"), e, { name: "document", fn: l.program(1, a, 0), inverse: l.noop, data: a, helpers: t, partials: s, decorators: l.decorators })) != null ? n : "") + `\r
`;
}, usePartial: !0, useData: !0 }), Ao = P.template({ 1: function(l, e, t, s, a) {
var n, o = l.lookupProperty || function(r, u) {
if (Object.prototype.hasOwnProperty.call(r, u))
return r[u];
};
return ((n = l.invokePartial(o(s, "page"), e, { name: "page", fn: l.program(2, a, 0), inverse: l.noop, data: a, helpers: t, partials: s, decorators: l.decorators })) != null ? n : "") + `<div style="page-break-before: always"></div>\r
` + ((n = l.invokePartial(o(s, "page"), e, { name: "page", fn: l.program(4, a, 0), inverse: l.noop, data: a, helpers: t, partials: s, decorators: l.decorators })) != null ? n : "");
}, 2: function(l, e, t, s, a) {
var n, o = l.lookupProperty || function(r, u) {
if (Object.prototype.hasOwnProperty.call(r, u))
return r[u];
};
return `\r
` + ((n = l.invokePartial(o(s, "employerReportHeadV2"), e, { name: "employerReportHeadV2", data: a, helpers: t, partials: s, decorators: l.decorators })) != null ? n : "") + `\r
` + ((n = l.invokePartial(o(s, "employerCalculationTablesV2"), e, { name: "employerCalculationTablesV2", data: a, helpers: t, partials: s, decorators: l.decorators })) != null ? n : "") + `\r
<h3>` + l.escapeExpression((o(t, "t") || e && o(e, "t") || l.hooks.helperMissing).call(e ?? (l.nullContext || {}), "SALAXY.REPORTS.salary.heading.moreInfoOnNextPage", { name: "t", hash: {}, data: a, loc: { start: { line: 8, column: 4 }, end: { line: 8, column: 61 } } })) + `</h3>\r
\r
\r
`;
}, 4: function(l, e, t, s, a) {
var n, o = l.lookupProperty || function(r, u) {
if (Object.prototype.hasOwnProperty.call(r, u))
return r[u];
};
return `\r
` + ((n = l.invokePartial(o(s, "employerReportHeadV2"), e, { name: "employerReportHeadV2", data: a, helpers: t, partials: s, decorators: l.decorators })) != null ? n : "") + `\r
<h2 class="salaxy-content-subheader">` + l.escapeExpression((o(t, "t") || e && o(e, "t") || l.hooks.helperMissing).call(e ?? (l.nullContext || {}), "SALAXY.REPORTS.salary.heading.salaryAdditionalInfo", { name: "t", hash: {}, data: a, loc: { start: { line: 17, column: 37 }, end: { line: 17, column: 96 } } })) + `</h2>\r
<p> </p>\r
\r
` + ((n = l.invokePartial(o(s, "employerCalculationAdditionalInfoV2"), e, { name: "employerCalculationAdditionalInfoV2", data: a, helpers: t, partials: s, decorators: l.decorators })) != null ? n : "") + `\r
`;
}, compiler: [8, ">= 4.3.0"], main: function(l, e, t, s, a) {
var n, o = l.lookupProperty || function(r, u) {
if (Object.prototype.hasOwnProperty.call(r, u))
return r[u];
};
return (n = l.invokePartial(o(s, "document"), e, { name: "document", fn: l.program(1, a, 0), inverse: l.noop, data: a, helpers: t, partials: s, decorators: l.decorators })) != null ? n : "";
}, usePartial: !0, useData: !0 }), bo = P.template({ 1: function(l, e, t, s, a) {
var n, o = l.lookupProperty || function(r, u) {
if (Object.prototype.hasOwnProperty.call(r, u))
return r[u];
};
return (n = l.invokePartial(o(s, "page"), e, { name: "page", fn: l.program(2, a, 0), inverse: l.noop, data: a, helpers: t, partials: s, decorators: l.decorators })) != null ? n : "";
}, 2: function(l, e, t, s, a) {
var n, o = l.lookupProperty || function(r, u) {
if (Object.prototype.hasOwnProperty.call(r, u))
return r[u];
};
return ((n = l.invokePartial(o(s, "employerReportHeadV2"), e, { name: "employerReportHeadV2", data: a, indent: " ", helpers: t, partials: s, decorators: l.decorators })) != null ? n : "") + ((n = l.invokePartial(o(s, "employerCalculationTablesV2"), e, { name: "employerCalculationTablesV2", data: a, indent: " ", helpers: t, partials: s, decorators: l.decorators })) != null ? n : "");
}, compiler: [8, ">= 4.3.0"], main: function(l, e, t, s, a) {
var n, o = l.lookupProperty || function(r, u) {
if (Object.prototype.hasOwnProperty.call(r, u))
return r[u];
};
return (n = l.invokePartial(o(s, "document"), e, { name: "document", fn: l.program(1, a, 0), inverse: l.noop, data: a, helpers: t, partials: s, decorators: l.decorators })) != null ? n : "";
}, usePartial: !0, useData: !0 }), Eo = P.template({ 1: function(l, e, t, s, a) {
var n, o = l.lookupProperty || function(r, u) {
if (Object.prototype.hasOwnProperty.call(r, u))
return r[u];
};
return (n = l.invokePartial(o(s, "page"), e, { name: "page", fn: l.program(2, a, 0), inverse: l.noop, data: a, helpers: t, partials: s, decorators: l.decorators })) != null ? n : "";
}, 2: function(l, e, t, s, a) {
var n, o = l.lookupProperty || function(r, u) {
if (Object.prototype.hasOwnProperty.call(r, u))
return r[u];
};
return `\r
` + ((n = l.invokePartial(o(s, "paymentReportHeadV2"), e, { name: "paymentReportHeadV2", data: a, indent: " ", helpers: t, partials: s, decorators: l.decorators })) != null ? n : "") + `\r
` + ((n = l.invokePartial(o(s, "paymentTablesV2"), e, { name: "paymentTablesV2", data: a, indent: " ", helpers: t, partials: s, decorators: l.decorators })) != null ? n : "") + `\r
`;
}, compiler: [8, ">= 4.3.0"], main: function(l, e, t, s, a) {
var n, o = l.lookupProperty || function(r, u) {
if (Object.prototype.hasOwnProperty.call(r, u))
return r[u];
};
return (n = l.invokePartial(o(s, "document"), e, { name: "document", fn: l.program(1, a, 0), inverse: l.noop, data: a, helpers: t, partials: s, decorators: l.decorators })) != null ? n : "";
}, usePartial: !0, useData: !0 }), Co = P.template({ 1: function(l, e, t, s, a) {
var n, o = l.lookupProperty || function(r, u) {
if (Object.prototype.hasOwnProperty.call(r, u))
return r[u];
};
return (n = l.invokePartial(o(s, "page"), e, { name: "page", fn: l.program(2, a, 0), inverse: l.noop, data: a, helpers: t, partials: s, decorators: l.decorators })) != null ? n : "";
}, 2: function(l, e, t, s, a) {
var n, o = l.lookupProperty || function(r, u) {
if (Object.prototype.hasOwnProperty.call(r, u))
return r[u];
};
return `\r
` + ((n = l.invokePartial(o(s, "summaryReportHead"), e, { name: "summaryReportHead", data: a, helpers: t, partials: s, decorators: l.decorators })) != null ? n : "") + `\r
` + ((n = l.invokePartial(o(s, "summaryReportTable"), e, { name: "summaryReportTable", data: a, helpers: t, partials: s, decorators: l.decorators })) != null ? n : "") + `\r
`;
}, compiler: [8, ">= 4.3.0"], main: function(l, e, t, s, a) {
var n, o = l.lookupProperty || function(r, u) {
if (Object.prototype.hasOwnProperty.call(r, u))
return r[u];
};
return ((n = l.invokePartial(o(s, "document"), e, { name: "document", fn: l.program(1, a, 0), inverse: l.noop, data: a, helpers: t, partials: s, decorators: l.decorators })) != null ? n : "") + `\r
`;
}, usePartial: !0, useData: !0 }), Oo = P.template({ 1: function(l, e, t, s, a) {
var n, o = l.lookupProperty || function(r, u) {
if (Object.prototype.hasOwnProperty.call(r, u))
return r[u];
};
return (n = l.invokePartial(o(s, "page"), e, { name: "page", fn: l.program(2, a, 0), inverse: l.noop, data: a, helpers: t, partials: s, decorators: l.decorators })) != null ? n : "";
}, 2: function(l, e, t, s, a) {
var n, o = e ?? (l.nullContext || {}), r = l.hooks.helperMissing, u = l.escapeExpression, i = l.lambda, c = l.lookupProperty || function(f, m) {
if (Object.prototype.hasOwnProperty.call(f, m))
return f[m];
};
return `<h1>\r
` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.attorney", { name: "t", hash: {}, data: a, loc: { start: { line: 4, column: 2 }, end: { line: 4, column: 47 } } })) + `\r
</h1>\r
<br>\r
<div>\r
<p><b>` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.authorizer", { name: "t", hash: {}, data: a, loc: { start: { line: 8, column: 8 }, end: { line: 8, column: 55 } } })) + `</b></p>\r
<ul>\r
<li>` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.person.name", { name: "t", hash: {}, data: a, loc: { start: { line: 10, column: 8 }, end: { line: 10, column: 56 } } })) + ": " + u(i((n = (n = e != null ? c(e, "report") : e) != null ? c(n, "signer") : n) != null ? c(n, "name") : n, e)) + `</li>\r
<li>` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.person.personalId", { name: "t", hash: {}, data: a, loc: { start: { line: 11, column: 8 }, end: { line: 11, column: 62 } } })) + ": " + u(i((n = (n = e != null ? c(e, "report") : e) != null ? c(n, "signer") : n) != null ? c(n, "personalId") : n, e)) + `</li>\r
<li>` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.person.telephone", { name: "t", hash: {}, data: a, loc: { start: { line: 12, column: 8 }, end: { line: 12, column: 61 } } })) + ": " + u(i((n = (n = e != null ? c(e, "report") : e) != null ? c(n, "signer") : n) != null ? c(n, "telephone") : n, e)) + `</li>\r
<li>` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.person.email", { name: "t", hash: {}, data: a, loc: { start: { line: 13, column: 8 }, end: { line: 13, column: 57 } } })) + ": " + u(i((n = (n = e != null ? c(e, "report") : e) != null ? c(n, "signer") : n) != null ? c(n, "email") : n, e)) + `</li>\r
</ul>\r
<p><b>` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.authorized", { name: "t", hash: {}, data: a, loc: { start: { line: 15, column: 8 }, end: { line: 15, column: 55 } } })) + `</b></p>\r
<ul>\r
<li>` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.palkkausfi", { name: "t", hash: {}, data: a, loc: { start: { line: 17, column: 8 }, end: { line: 17, column: 55 } } })) + `</li>\r
<li>` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.companyId", { name: "t", hash: {}, data: a, loc: { start: { line: 18, column: 8 }, end: { line: 18, column: 54 } } })) + `: 2554393-3</li>\r
<li>` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.contactInfo", { name: "t", hash: {}, data: a, loc: { start: { line: 19, column: 8 }, end: { line: 19, column: 56 } } })) + `</li>\r
</ul>\r
<br>\r
<p>` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.person.authorizedInfo", { name: "t", hash: {}, data: a, loc: { start: { line: 22, column: 5 }, end: { line: 22, column: 63 } } })) + `</p>\r
<ul>\r
<li>` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.lists.employeeAndEmployer", { name: "t", hash: {}, data: a, loc: { start: { line: 24, column: 8 }, end: { line: 24, column: 70 } } })) + `</li>\r
<li>` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.lists.taxAndIr", { name: "t", hash: {}, data: a, loc: { start: { line: 25, column: 8 }, end: { line: 25, column: 59 } } })) + `</li>\r
<li>` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.lists.pensions", { name: "t", hash: {}, data: a, loc: { start: { line: 26, column: 8 }, end: { line: 26, column: 59 } } })) + `</li>\r
<li>` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.lists.insurances", { name: "t", hash: {}, data: a, loc: { start: { line: 27, column: 8 }, end: { line: 27, column: 61 } } })) + `</li>\r
<li>` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.lists.employmentFund", { name: "t", hash: {}, data: a, loc: { start: { line: 28, column: 8 }, end: { line: 28, column: 65 } } })) + `</li>\r
<li>` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.lists.unEmploymentFund", { name: "t", hash: {}, data: a, loc: { start: { line: 29, column: 8 }, end: { line: 29, column: 67 } } })) + `</li>\r
</ul>\r
<br>\r
<p>` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.person.authorizationValid", { name: "t", hash: {}, data: a, loc: { start: { line: 32, column: 5 }, end: { line: 32, column: 67 } } })) + " " + u(i((n = e != null ? c(e, "report") : e) != null ? c(n, "signedAt") : n, e)) + `</p><br>\r
<p>` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.person.palkkausSite", { name: "t", hash: {}, data: a, loc: { start: { line: 33, column: 5 }, end: { line: 33, column: 61 } } })) + " " + u(i((n = e != null ? c(e, "report") : e) != null ? c(n, "signedAt") : n, e)) + `</p>\r
<p>` + u(i((n = (n = e != null ? c(e, "report") : e) != null ? c(n, "signer") : n) != null ? c(n, "name") : n, e)) + `</p>\r
</div>\r
\r
`;
}, compiler: [8, ">= 4.3.0"], main: function(l, e, t, s, a) {
var n, o = l.lookupProperty || function(r, u) {
if (Object.prototype.hasOwnProperty.call(r, u))
return r[u];
};
return (n = l.invokePartial(o(s, "document"), e, { name: "document", fn: l.program(1, a, 0), inverse: l.noop, data: a, helpers: t, partials: s, decorators: l.decorators })) != null ? n : "";
}, usePartial: !0, useData: !0 }), To = P.template({ 1: function(l, e, t, s, a) {
var n, o = l.lookupProperty || function(r, u) {
if (Object.prototype.hasOwnProperty.call(r, u))
return r[u];
};
return (n = l.invokePartial(o(s, "page"), e, { name: "page", fn: l.program(2, a, 0), inverse: l.noop, data: a, helpers: t, partials: s, decorators: l.decorators })) != null ? n : "";
}, 2: function(l, e, t, s, a) {
var n, o = e ?? (l.nullContext || {}), r = l.hooks.helperMissing, u = l.escapeExpression, i = l.lambda, c = l.lookupProperty || function(f, m) {
if (Object.prototype.hasOwnProperty.call(f, m))
return f[m];
};
return `<h1>\r
` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.attorney", { name: "t", hash: {}, data: a, loc: { start: { line: 4, column: 2 }, end: { line: 4, column: 47 } } })) + `\r
</h1>\r
<br>\r
<div>\r
<p><b>` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.authorizer", { name: "t", hash: {}, data: a, loc: { start: { line: 8, column: 8 }, end: { line: 8, column: 55 } } })) + `</b></p>\r
<ul>\r
<li>` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.company.name", { name: "t", hash: {}, data: a, loc: { start: { line: 10, column: 8 }, end: { line: 10, column: 57 } } })) + ": " + u(i((n = e != null ? c(e, "report") : e) != null ? c(n, "name") : n, e)) + `</li>\r
<li>` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.companyId", { name: "t", hash: {}, data: a, loc: { start: { line: 11, column: 8 }, end: { line: 11, column: 54 } } })) + ": " + u(i((n = e != null ? c(e, "report") : e) != null ? c(n, "officialId") : n, e)) + `</li>\r
<li>` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.company.email", { name: "t", hash: {}, data: a, loc: { start: { line: 12, column: 8 }, end: { line: 12, column: 58 } } })) + ": " + u(i((n = (n = e != null ? c(e, "report") : e) != null ? c(n, "signer") : n) != null ? c(n, "email") : n, e)) + `</li>\r
<li>` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.company.authorizerName", { name: "t", hash: {}, data: a, loc: { start: { line: 13, column: 8 }, end: { line: 13, column: 67 } } })) + ": " + u(i((n = (n = e != null ? c(e, "report") : e) != null ? c(n, "signer") : n) != null ? c(n, "name") : n, e)) + `</li>\r
<li>` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.company.authorizerPersonalId", { name: "t", hash: {}, data: a, loc: { start: { line: 14, column: 8 }, end: { line: 14, column: 73 } } })) + ": " + u(i((n = (n = e != null ? c(e, "report") : e) != null ? c(n, "signer") : n) != null ? c(n, "personalId") : n, e)) + `</li>\r
<li>` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.company.authorizerPhone", { name: "t", hash: {}, data: a, loc: { start: { line: 15, column: 8 }, end: { line: 15, column: 68 } } })) + ": " + u(i((n = (n = e != null ? c(e, "report") : e) != null ? c(n, "signer") : n) != null ? c(n, "telephone") : n, e)) + `</li>\r
</ul>\r
<p><b>` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.authorized", { name: "t", hash: {}, data: a, loc: { start: { line: 17, column: 8 }, end: { line: 17, column: 55 } } })) + `</b></p>\r
<ul>\r
<li>` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.palkkausfi", { name: "t", hash: {}, data: a, loc: { start: { line: 19, column: 8 }, end: { line: 19, column: 55 } } })) + `</li>\r
<li>` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.companyId", { name: "t", hash: {}, data: a, loc: { start: { line: 20, column: 8 }, end: { line: 20, column: 54 } } })) + `: 2554393-3</li>\r
<li>` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.contactInfo", { name: "t", hash: {}, data: a, loc: { start: { line: 21, column: 8 }, end: { line: 21, column: 56 } } })) + `</li>\r
</ul>\r
<br>\r
<p>` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.company.authorizedInfo", { name: "t", hash: {}, data: a, loc: { start: { line: 24, column: 5 }, end: { line: 24, column: 64 } } })) + `</p>\r
<ul>\r
<li>` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.lists.workers", { name: "t", hash: {}, data: a, loc: { start: { line: 26, column: 8 }, end: { line: 26, column: 58 } } })) + `</li>\r
<li>` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.lists.taxIr", { name: "t", hash: {}, data: a, loc: { start: { line: 27, column: 8 }, end: { line: 27, column: 56 } } })) + `</li>\r
<li>` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.lists.pensions", { name: "t", hash: {}, data: a, loc: { start: { line: 28, column: 8 }, end: { line: 28, column: 59 } } })) + `</li>\r
<li>` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.lists.insurances", { name: "t", hash: {}, data: a, loc: { start: { line: 29, column: 8 }, end: { line: 29, column: 61 } } })) + `</li>\r
<li>` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.lists.employmentFund", { name: "t", hash: {}, data: a, loc: { start: { line: 30, column: 8 }, end: { line: 30, column: 65 } } })) + `</li>\r
<li>` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.lists.banksAndPaymentIntermediaries", { name: "t", hash: {}, data: a, loc: { start: { line: 31, column: 8 }, end: { line: 31, column: 80 } } })) + `</li>\r
<li>` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.lists.workerUnions", { name: "t", hash: {}, data: a, loc: { start: { line: 32, column: 8 }, end: { line: 32, column: 63 } } })) + `</li>\r
</ul>\r
<br>\r
<p>` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.company.authorizationValid", { name: "t", hash: {}, data: a, loc: { start: { line: 35, column: 5 }, end: { line: 35, column: 68 } } })) + " " + u(i((n = e != null ? c(e, "report") : e) != null ? c(n, "signedAt") : n, e)) + `</p><br>\r
\r
<p>` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.company.palkkausService", { name: "t", hash: {}, data: a, loc: { start: { line: 37, column: 5 }, end: { line: 37, column: 65 } } })) + " " + u(i((n = e != null ? c(e, "report") : e) != null ? c(n, "signedAt") : n, e)) + `</p>\r
<p>` + u(i((n = (n = e != null ? c(e, "report") : e) != null ? c(n, "signer") : n) != null ? c(n, "name") : n, e)) + `</p>\r
</div>\r
\r
`;
}, compiler: [8, ">= 4.3.0"], main: function(l, e, t, s, a) {
var n, o = l.lookupProperty || function(r, u) {
if (Object.prototype.hasOwnProperty.call(r, u))
return r[u];
};
return (n = l.invokePartial(o(s, "document"), e, { name: "document", fn: l.program(1, a, 0), inverse: l.noop, data: a, helpers: t, partials: s, decorators: l.decorators })) != null ? n : "";
}, usePartial: !0, useData: !0 }), xo = P.template({ 1: function(l, e, t, s, a) {
var n, o = l.lookupProperty || function(r, u) {
if (Object.prototype.hasOwnProperty.call(r, u))
return r[u];
};
return (n = l.invokePartial(o(s, "page"), e, { name: "page", fn: l.program(2, a, 0), inverse: l.noop, data: a, helpers: t, partials: s, decorators: l.decorators })) != null ? n : "";
}, 2: function(l, e, t, s, a) {
var n, o = e ?? (l.nullContext || {}), r = l.hooks.helperMissing, u = l.escapeExpression, i = l.lambda, c = l.lookupProperty || function(f, m) {
if (Object.prototype.hasOwnProperty.call(f, m))
return f[m];
};
return `<h1>\r
` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.attorney", { name: "t", hash: {}, data: a, loc: { start: { line: 4, column: 2 }, end: { line: 4, column: 47 } } })) + `\r
</h1>\r
<br>\r
<p>` + ((n = i((n = (n = e != null ? c(e, "report") : e) != null ? c(n, "signer") : n) != null ? c(n, "name") : n, e)) != null ? n : "") + `</p>\r
<div>\r
<p><b>` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.authorizer", { name: "t", hash: {}, data: a, loc: { start: { line: 9, column: 8 }, end: { line: 9, column: 55 } } })) + `</b></p>\r
<ul>\r
<li>` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.person.name", { name: "t", hash: {}, data: a, loc: { start: { line: 11, column: 8 }, end: { line: 11, column: 56 } } })) + ": " + u(i((n = (n = e != null ? c(e, "report") : e) != null ? c(n, "signer") : n) != null ? c(n, "name") : n, e)) + `</li>\r
<li>` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.person.personalId", { name: "t", hash: {}, data: a, loc: { start: { line: 12, column: 8 }, end: { line: 12, column: 62 } } })) + ": " + u(i((n = (n = e != null ? c(e, "report") : e) != null ? c(n, "signer") : n) != null ? c(n, "personalId") : n, e)) + `</li>\r
<li>` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.person.telephone", { name: "t", hash: {}, data: a, loc: { start: { line: 13, column: 8 }, end: { line: 13, column: 61 } } })) + ": " + u(i((n = (n = e != null ? c(e, "report") : e) != null ? c(n, "signer") : n) != null ? c(n, "telephone") : n, e)) + `</li>\r
<li>` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.person.email", { name: "t", hash: {}, data: a, loc: { start: { line: 14, column: 8 }, end: { line: 14, column: 57 } } })) + ": " + u(i((n = (n = e != null ? c(e, "report") : e) != null ? c(n, "signer") : n) != null ? c(n, "email") : n, e)) + `</li>\r
</ul>\r
<p><b>` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.authorized", { name: "t", hash: {}, data: a, loc: { start: { line: 16, column: 8 }, end: { line: 16, column: 55 } } })) + `</b></p>\r
<ul>\r
<li>` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.palkkausfi", { name: "t", hash: {}, data: a, loc: { start: { line: 18, column: 8 }, end: { line: 18, column: 55 } } })) + `</li>\r
<li>` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.companyId", { name: "t", hash: {}, data: a, loc: { start: { line: 19, column: 8 }, end: { line: 19, column: 54 } } })) + `: 2554393-3</li>\r
<li>` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.contactInfo", { name: "t", hash: {}, data: a, loc: { start: { line: 20, column: 8 }, end: { line: 20, column: 56 } } })) + `</li>\r
</ul>\r
<br>\r
<p>` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.person.authorizedInfo", { name: "t", hash: {}, data: a, loc: { start: { line: 23, column: 5 }, end: { line: 23, column: 63 } } })) + `</p>\r
<ul>\r
<li>` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.lists.employeeAndEmployer", { name: "t", hash: {}, data: a, loc: { start: { line: 25, column: 8 }, end: { line: 25, column: 70 } } })) + `</li>\r
<li>` + u((c(t, "t") || e && c(e, "t") || r).call(o, "SALAXY.REPORTS.authorization.lists.taxAndIr", { name: "t", hash: {}, data: a, loc: { start: { line: 26, column: 8 }, end: { line: 26, column: 59 } } })) + `</li>\r
<li>` + u((c(t, "t") || e && c(e, "t") || r).c