@salaxy/reports
Version:
Salaxy (Palkkaus.fi) reporting library
958 lines • 511 kB
JavaScript
import { Translations as P, Dates as d, Numeric as f, Objects as wl, CalcGroup as w, CalculationRowType as k, IncomeTypesLogic as M, EnumerationsLogic as Y, Unit as v, ReportType as W, CalculatorLogic as En, PaymentChannel as O, TaxcardKind as el, FrameworkAgreement as El, PensionCalculation as p, UnionPaymentType as xl, UnionPaymentKind as Ll, Years as xn, TaxDeductionWorkCategories as Ln, CalculationRowCategory as N, Arrays as J, InvoiceType as z, BicHelper as Q, Iban as hn, Barcodes as ol, QrCodes as Vl, InvoiceStatus as hl, CalcRowsLogic as Yl } from "@salaxy/core";
function Yn(a) {
return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
}
var ul = { exports: {} }, X = {}, T = {};
T.__esModule = !0;
T.extend = _l;
T.indexOf = In;
T.escapeExpression = Fn;
T.isEmpty = Vn;
T.createFrame = _n;
T.blockParams = jn;
T.appendContextPath = zn;
var Xn = {
"&": "&",
"<": "<",
">": ">",
'"': """,
"'": "'",
"`": "`",
"=": "="
}, Dn = /[&<>"'`=]/g, Mn = /[&<>"'`=]/;
function Hn(a) {
return Xn[a];
}
function _l(a) {
for (var l = 1; l < arguments.length; l++)
for (var r in arguments[l])
Object.prototype.hasOwnProperty.call(arguments[l], r) && (a[r] = arguments[l][r]);
return a;
}
var bl = Object.prototype.toString;
T.toString = bl;
var sl = function(l) {
return typeof l == "function";
};
sl(/x/) && (T.isFunction = sl = function(a) {
return typeof a == "function" && bl.call(a) === "[object Function]";
});
T.isFunction = sl;
var jl = Array.isArray || function(a) {
return a && typeof a == "object" ? bl.call(a) === "[object Array]" : !1;
};
T.isArray = jl;
function In(a, l) {
for (var r = 0, c = a.length; r < c; r++)
if (a[r] === l)
return r;
return -1;
}
function Fn(a) {
if (typeof a != "string") {
if (a && a.toHTML)
return a.toHTML();
if (a == null)
return "";
if (!a)
return a + "";
a = "" + a;
}
return Mn.test(a) ? a.replace(Dn, Hn) : a;
}
function Vn(a) {
return !a && a !== 0 ? !0 : !!(jl(a) && a.length === 0);
}
function _n(a) {
var l = _l({}, a);
return l._parent = a, l;
}
function jn(a, l) {
return a.path = l, a;
}
function zn(a, l) {
return (a ? a + "." : "") + l;
}
var il = { exports: {} };
(function(a, l) {
l.__esModule = !0;
var r = ["description", "fileName", "lineNumber", "endLineNumber", "message", "name", "number", "stack"];
function c(t, n) {
var o = n && n.loc, e = void 0, u = void 0, s = void 0, i = void 0;
o && (e = o.start.line, u = o.end.line, s = o.start.column, i = o.end.column, t += " - " + e + ":" + s);
for (var y = Error.prototype.constructor.call(this, t), m = 0; m < r.length; m++)
this[r[m]] = y[r[m]];
Error.captureStackTrace && Error.captureStackTrace(this, c);
try {
o && (this.lineNumber = e, this.endLineNumber = u, Object.defineProperty ? (Object.defineProperty(this, "column", {
value: s,
enumerable: !0
}), Object.defineProperty(this, "endColumn", {
value: i,
enumerable: !0
})) : (this.column = s, this.endColumn = i));
} catch {
}
}
c.prototype = new Error(), l.default = c, a.exports = l.default;
})(il, il.exports);
var B = il.exports, q = {}, cl = { exports: {} };
(function(a, l) {
l.__esModule = !0;
var r = T;
l.default = function(c) {
c.registerHelper("blockHelperMissing", function(t, n) {
var o = n.inverse, e = n.fn;
if (t === !0)
return e(this);
if (t === !1 || t == null)
return o(this);
if (r.isArray(t))
return t.length > 0 ? (n.ids && (n.ids = [n.name]), c.helpers.each(t, n)) : o(this);
if (n.data && n.ids) {
var u = r.createFrame(n.data);
u.contextPath = r.appendContextPath(n.data.contextPath, n.name), n = { data: u };
}
return e(t, n);
});
}, a.exports = l.default;
})(cl, cl.exports);
var Un = cl.exports, ml = { exports: {} };
(function(a, l) {
l.__esModule = !0;
function r(o) {
return o && o.__esModule ? o : { default: o };
}
var c = T, t = B, n = r(t);
l.default = function(o) {
o.registerHelper("each", function(e, u) {
if (!u)
throw new n.default("Must pass iterator to #each");
var s = u.fn, i = u.inverse, y = 0, m = "", A = void 0, x = void 0;
u.data && u.ids && (x = c.appendContextPath(u.data.contextPath, u.ids[0]) + "."), c.isFunction(e) && (e = e.call(this)), u.data && (A = c.createFrame(u.data));
function H(h, K, Tn) {
A && (A.key = h, A.index = K, A.first = K === 0, A.last = !!Tn, x && (A.contextPath = x + h)), m = m + s(e[h], {
data: A,
blockParams: c.blockParams([e[h], h], [x + h, null])
});
}
if (e && typeof e == "object")
if (c.isArray(e))
for (var L = e.length; y < L; y++)
y in e && H(y, y, y === e.length - 1);
else if (typeof Symbol == "function" && e[Symbol.iterator]) {
for (var E = [], R = e[Symbol.iterator](), I = R.next(); !I.done; I = R.next())
E.push(I.value);
e = E;
for (var L = e.length; y < L; y++)
H(y, y, y === e.length - 1);
} else
(function() {
var h = void 0;
Object.keys(e).forEach(function(K) {
h !== void 0 && H(h, y - 1), h = K, y++;
}), h !== void 0 && H(h, y - 1, !0);
})();
return y === 0 && (m = i(this)), m;
});
}, a.exports = l.default;
})(ml, ml.exports);
var Bn = ml.exports, yl = { exports: {} };
(function(a, l) {
l.__esModule = !0;
function r(n) {
return n && n.__esModule ? n : { default: n };
}
var c = B, t = r(c);
l.default = function(n) {
n.registerHelper("helperMissing", function() {
if (arguments.length !== 1)
throw new t.default('Missing helper: "' + arguments[arguments.length - 1].name + '"');
});
}, a.exports = l.default;
})(yl, yl.exports);
var $n = yl.exports, fl = { exports: {} };
(function(a, l) {
l.__esModule = !0;
function r(o) {
return o && o.__esModule ? o : { default: o };
}
var c = T, t = B, n = r(t);
l.default = function(o) {
o.registerHelper("if", function(e, u) {
if (arguments.length != 2)
throw new n.default("#if requires exactly one argument");
return c.isFunction(e) && (e = e.call(this)), !u.hash.includeZero && !e || c.isEmpty(e) ? u.inverse(this) : u.fn(this);
}), o.registerHelper("unless", function(e, u) {
if (arguments.length != 2)
throw new n.default("#unless requires exactly one argument");
return o.helpers.if.call(this, e, {
fn: u.inverse,
inverse: u.fn,
hash: u.hash
});
});
}, a.exports = l.default;
})(fl, fl.exports);
var Wn = fl.exports, Pl = { exports: {} };
(function(a, l) {
l.__esModule = !0, l.default = function(r) {
r.registerHelper("log", function() {
for (var c = [void 0], t = arguments[arguments.length - 1], n = 0; n < arguments.length - 1; n++)
c.push(arguments[n]);
var o = 1;
t.hash.level != null ? o = t.hash.level : t.data && t.data.level != null && (o = t.data.level), c[0] = o, r.log.apply(r, c);
});
}, a.exports = l.default;
})(Pl, Pl.exports);
var Gn = Pl.exports, dl = { exports: {} };
(function(a, l) {
l.__esModule = !0, l.default = function(r) {
r.registerHelper("lookup", function(c, t, n) {
return c && n.lookupProperty(c, t);
});
}, a.exports = l.default;
})(dl, dl.exports);
var Nn = dl.exports, gl = { exports: {} };
(function(a, l) {
l.__esModule = !0;
function r(o) {
return o && o.__esModule ? o : { default: o };
}
var c = T, t = B, n = r(t);
l.default = function(o) {
o.registerHelper("with", function(e, u) {
if (arguments.length != 2)
throw new n.default("#with requires exactly one argument");
c.isFunction(e) && (e = e.call(this));
var s = u.fn;
if (c.isEmpty(e))
return u.inverse(this);
var i = u.data;
return u.data && u.ids && (i = c.createFrame(u.data), i.contextPath = c.appendContextPath(u.data.contextPath, u.ids[0])), s(e, {
data: i,
blockParams: c.blockParams([e], [i && i.contextPath])
});
});
}, a.exports = l.default;
})(gl, gl.exports);
var qn = gl.exports;
q.__esModule = !0;
q.registerDefaultHelpers = ce;
q.moveHelperToHooks = me;
function $(a) {
return a && a.__esModule ? a : { default: a };
}
var Kn = Un, Zn = $(Kn), Jn = Bn, Qn = $(Jn), le = $n, ne = $(le), ee = Wn, re = $(ee), ae = Gn, te = $(ae), oe = Nn, ue = $(oe), se = qn, ie = $(se);
function ce(a) {
Zn.default(a), Qn.default(a), ne.default(a), re.default(a), te.default(a), ue.default(a), ie.default(a);
}
function me(a, l, r) {
a.helpers[l] && (a.hooks[l] = a.helpers[l], r || delete a.helpers[l]);
}
var Cl = {}, kl = { exports: {} };
(function(a, l) {
l.__esModule = !0;
var r = T;
l.default = function(c) {
c.registerDecorator("inline", function(t, n, o, e) {
var u = t;
return n.partials || (n.partials = {}, u = function(s, i) {
var y = o.partials;
o.partials = r.extend({}, y, n.partials);
var m = t(s, i);
return o.partials = y, m;
}), n.partials[e.args[0]] = e.fn, u;
});
}, a.exports = l.default;
})(kl, kl.exports);
var ye = kl.exports;
Cl.__esModule = !0;
Cl.registerDefaultDecorators = ge;
function fe(a) {
return a && a.__esModule ? a : { default: a };
}
var Pe = ye, de = fe(Pe);
function ge(a) {
de.default(a);
}
var Sl = { exports: {} };
(function(a, l) {
l.__esModule = !0;
var r = T, c = {
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 = r.indexOf(c.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 = c.lookupLevel(n), typeof console < "u" && c.lookupLevel(c.level) <= n) {
var o = c.methodMap[n];
console[o] || (o = "log");
for (var e = arguments.length, u = Array(e > 1 ? e - 1 : 0), s = 1; s < e; s++)
u[s - 1] = arguments[s];
console[o].apply(console, u);
}
}
};
l.default = c, a.exports = l.default;
})(Sl, Sl.exports);
var zl = Sl.exports, G = {}, vl = {};
vl.__esModule = !0;
vl.createNewLookupObject = Se;
var ke = T;
function Se() {
for (var a = arguments.length, l = Array(a), r = 0; r < a; r++)
l[r] = arguments[r];
return ke.extend.apply(void 0, [/* @__PURE__ */ Object.create(null)].concat(l));
}
G.__esModule = !0;
G.createProtoAccessControl = we;
G.resultIsAllowed = be;
G.resetLoggedProperties = ve;
function pe(a) {
return a && a.__esModule ? a : { default: a };
}
var Xl = vl, Re = zl, Ae = pe(Re), ll = /* @__PURE__ */ Object.create(null);
function we(a) {
var l = /* @__PURE__ */ Object.create(null);
l.constructor = !1, l.__defineGetter__ = !1, l.__defineSetter__ = !1, l.__lookupGetter__ = !1;
var r = /* @__PURE__ */ Object.create(null);
return r.__proto__ = !1, {
properties: {
whitelist: Xl.createNewLookupObject(r, a.allowedProtoProperties),
defaultValue: a.allowProtoPropertiesByDefault
},
methods: {
whitelist: Xl.createNewLookupObject(l, a.allowedProtoMethods),
defaultValue: a.allowProtoMethodsByDefault
}
};
}
function be(a, l, r) {
return Dl(typeof a == "function" ? l.methods : l.properties, r);
}
function Dl(a, l) {
return a.whitelist[l] !== void 0 ? a.whitelist[l] === !0 : a.defaultValue !== void 0 ? a.defaultValue : (Ce(l), !1);
}
function Ce(a) {
ll[a] !== !0 && (ll[a] = !0, Ae.default.log("error", 'Handlebars: Access has been denied to resolve the property "' + a + `" 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 ve() {
Object.keys(ll).forEach(function(a) {
delete ll[a];
});
}
X.__esModule = !0;
X.HandlebarsEnvironment = pl;
function Ul(a) {
return a && a.__esModule ? a : { default: a };
}
var U = T, Oe = B, rl = Ul(Oe), Te = q, Ee = Cl, xe = zl, nl = Ul(xe), Le = G, he = "4.7.8";
X.VERSION = he;
var Ye = 8;
X.COMPILER_REVISION = Ye;
var Xe = 7;
X.LAST_COMPATIBLE_COMPILER_REVISION = Xe;
var De = {
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"
};
X.REVISION_CHANGES = De;
var al = "[object Object]";
function pl(a, l, r) {
this.helpers = a || {}, this.partials = l || {}, this.decorators = r || {}, Te.registerDefaultHelpers(this), Ee.registerDefaultDecorators(this);
}
pl.prototype = {
constructor: pl,
logger: nl.default,
log: nl.default.log,
registerHelper: function(l, r) {
if (U.toString.call(l) === al) {
if (r)
throw new rl.default("Arg not supported with multiple helpers");
U.extend(this.helpers, l);
} else
this.helpers[l] = r;
},
unregisterHelper: function(l) {
delete this.helpers[l];
},
registerPartial: function(l, r) {
if (U.toString.call(l) === al)
U.extend(this.partials, l);
else {
if (typeof r > "u")
throw new rl.default('Attempting to register a partial called "' + l + '" as undefined');
this.partials[l] = r;
}
},
unregisterPartial: function(l) {
delete this.partials[l];
},
registerDecorator: function(l, r) {
if (U.toString.call(l) === al) {
if (r)
throw new rl.default("Arg not supported with multiple decorators");
U.extend(this.decorators, l);
} else
this.decorators[l] = r;
},
unregisterDecorator: function(l) {
delete this.decorators[l];
},
/**
* Reset the memory of illegal property accesses that have already been logged.
* @deprecated should only be used in handlebars test-cases
*/
resetLoggedPropertyAccesses: function() {
Le.resetLoggedProperties();
}
};
var Me = nl.default.log;
X.log = Me;
X.createFrame = U.createFrame;
X.logger = nl.default;
var Rl = { exports: {} };
(function(a, l) {
l.__esModule = !0;
function r(c) {
this.string = c;
}
r.prototype.toString = r.prototype.toHTML = function() {
return "" + this.string;
}, l.default = r, a.exports = l.default;
})(Rl, Rl.exports);
var He = Rl.exports, j = {}, Ol = {};
Ol.__esModule = !0;
Ol.wrapHelper = Ie;
function Ie(a, l) {
if (typeof a != "function")
return a;
var r = function() {
var t = arguments[arguments.length - 1];
return arguments[arguments.length - 1] = l(t), a.apply(this, arguments);
};
return r;
}
j.__esModule = !0;
j.checkRevision = Ue;
j.template = Be;
j.wrapProgram = Z;
j.resolvePartial = $e;
j.invokePartial = We;
j.noop = Bl;
function Fe(a) {
return a && a.__esModule ? a : { default: a };
}
function Ve(a) {
if (a && a.__esModule)
return a;
var l = {};
if (a != null)
for (var r in a)
Object.prototype.hasOwnProperty.call(a, r) && (l[r] = a[r]);
return l.default = a, l;
}
var _e = T, F = Ve(_e), je = B, V = Fe(je), _ = X, Ml = q, ze = Ol, Hl = G;
function Ue(a) {
var l = a && a[0] || 1, r = _.COMPILER_REVISION;
if (!(l >= _.LAST_COMPATIBLE_COMPILER_REVISION && l <= _.COMPILER_REVISION))
if (l < _.LAST_COMPATIBLE_COMPILER_REVISION) {
var c = _.REVISION_CHANGES[r], t = _.REVISION_CHANGES[l];
throw new V.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version (" + c + ") or downgrade your runtime to an older version (" + t + ").");
} else
throw new V.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version (" + a[1] + ").");
}
function Be(a, l) {
if (!l)
throw new V.default("No environment passed to template");
if (!a || !a.main)
throw new V.default("Unknown template object: " + typeof a);
a.main.decorator = a.main_d, l.VM.checkRevision(a.compiler);
var r = a.compiler && a.compiler[0] === 7;
function c(o, e, u) {
u.hash && (e = F.extend({}, e, u.hash), u.ids && (u.ids[0] = !0)), o = l.VM.resolvePartial.call(this, o, e, u);
var s = F.extend({}, u, {
hooks: this.hooks,
protoAccessControl: this.protoAccessControl
}), i = l.VM.invokePartial.call(this, o, e, s);
if (i == null && l.compile && (u.partials[u.name] = l.compile(o, a.compilerOptions, l), i = u.partials[u.name](e, s)), i != null) {
if (u.indent) {
for (var y = i.split(`
`), m = 0, A = y.length; m < A && !(!y[m] && m + 1 === A); m++)
y[m] = u.indent + y[m];
i = y.join(`
`);
}
return i;
} else
throw new V.default("The partial " + u.name + " could not be compiled when running in runtime-only mode");
}
var t = {
strict: function(e, u, s) {
if (!e || !(u in e))
throw new V.default('"' + u + '" not defined in ' + e, {
loc: s
});
return t.lookupProperty(e, u);
},
lookupProperty: function(e, u) {
var s = e[u];
if (s == null || Object.prototype.hasOwnProperty.call(e, u) || Hl.resultIsAllowed(s, t.protoAccessControl, u))
return s;
},
lookup: function(e, u) {
for (var s = e.length, i = 0; i < s; i++) {
var y = e[i] && t.lookupProperty(e[i], u);
if (y != null)
return e[i][u];
}
},
lambda: function(e, u) {
return typeof e == "function" ? e.call(u) : e;
},
escapeExpression: F.escapeExpression,
invokePartial: c,
fn: function(e) {
var u = a[e];
return u.decorator = a[e + "_d"], u;
},
programs: [],
program: function(e, u, s, i, y) {
var m = this.programs[e], A = this.fn(e);
return u || y || i || s ? m = Z(this, e, A, u, s, i, y) : m || (m = this.programs[e] = Z(this, e, A)), m;
},
data: function(e, u) {
for (; e && u--; )
e = e._parent;
return e;
},
mergeIfNeeded: function(e, u) {
var s = e || u;
return e && u && e !== u && (s = F.extend({}, u, e)), s;
},
// An empty object to use as replacement for null-contexts
nullContext: Object.seal({}),
noop: l.VM.noop,
compilerInfo: a.compiler
};
function n(o) {
var e = arguments.length <= 1 || arguments[1] === void 0 ? {} : arguments[1], u = e.data;
n._setup(e), !e.partial && a.useData && (u = Ge(o, u));
var s = void 0, i = a.useBlockParams ? [] : void 0;
a.useDepths && (e.depths ? s = o != e.depths[0] ? [o].concat(e.depths) : e.depths : s = [o]);
function y(m) {
return "" + a.main(t, m, t.helpers, t.partials, u, i, s);
}
return y = $l(a.main, y, t, e.depths || [], u, i), y(o, e);
}
return n.isTop = !0, n._setup = function(o) {
if (o.partial)
t.protoAccessControl = o.protoAccessControl, t.helpers = o.helpers, t.partials = o.partials, t.decorators = o.decorators, t.hooks = o.hooks;
else {
var e = F.extend({}, l.helpers, o.helpers);
Ne(e, t), t.helpers = e, a.usePartial && (t.partials = t.mergeIfNeeded(o.partials, l.partials)), (a.usePartial || a.useDecorators) && (t.decorators = F.extend({}, l.decorators, o.decorators)), t.hooks = {}, t.protoAccessControl = Hl.createProtoAccessControl(o);
var u = o.allowCallsToHelperMissing || r;
Ml.moveHelperToHooks(t, "helperMissing", u), Ml.moveHelperToHooks(t, "blockHelperMissing", u);
}
}, n._child = function(o, e, u, s) {
if (a.useBlockParams && !u)
throw new V.default("must pass block params");
if (a.useDepths && !s)
throw new V.default("must pass parent depths");
return Z(t, o, a[o], e, 0, u, s);
}, n;
}
function Z(a, l, r, c, t, n, o) {
function e(u) {
var s = arguments.length <= 1 || arguments[1] === void 0 ? {} : arguments[1], i = o;
return o && u != o[0] && !(u === a.nullContext && o[0] === null) && (i = [u].concat(o)), r(a, u, a.helpers, a.partials, s.data || c, n && [s.blockParams].concat(n), i);
}
return e = $l(r, e, a, o, c, n), e.program = l, e.depth = o ? o.length : 0, e.blockParams = t || 0, e;
}
function $e(a, l, r) {
return a ? !a.call && !r.name && (r.name = a, a = r.partials[a]) : r.name === "@partial-block" ? a = r.data["partial-block"] : a = r.partials[r.name], a;
}
function We(a, l, r) {
var c = r.data && r.data["partial-block"];
r.partial = !0, r.ids && (r.data.contextPath = r.ids[0] || r.data.contextPath);
var t = void 0;
if (r.fn && r.fn !== Bl && function() {
r.data = _.createFrame(r.data);
var n = r.fn;
t = r.data["partial-block"] = function(e) {
var u = arguments.length <= 1 || arguments[1] === void 0 ? {} : arguments[1];
return u.data = _.createFrame(u.data), u.data["partial-block"] = c, n(e, u);
}, n.partials && (r.partials = F.extend({}, r.partials, n.partials));
}(), a === void 0 && t && (a = t), a === void 0)
throw new V.default("The partial " + r.name + " could not be found");
if (a instanceof Function)
return a(l, r);
}
function Bl() {
return "";
}
function Ge(a, l) {
return (!l || !("root" in l)) && (l = l ? _.createFrame(l) : {}, l.root = a), l;
}
function $l(a, l, r, c, t, n) {
if (a.decorator) {
var o = {};
l = a.decorator(l, o, r, c && c[0], t, n, c), F.extend(l, o);
}
return l;
}
function Ne(a, l) {
Object.keys(a).forEach(function(r) {
var c = a[r];
a[r] = qe(c, l);
});
}
function qe(a, l) {
var r = l.lookupProperty;
return ze.wrapHelper(a, function(c) {
return F.extend({ lookupProperty: r }, c);
});
}
var Al = { exports: {} };
(function(a, l) {
l.__esModule = !0, l.default = function(r) {
(function() {
typeof globalThis != "object" && (Object.prototype.__defineGetter__("__magic__", function() {
return this;
}), __magic__.globalThis = __magic__, delete Object.prototype.__magic__);
})();
var c = globalThis.Handlebars;
r.noConflict = function() {
return globalThis.Handlebars === r && (globalThis.Handlebars = c), r;
};
}, a.exports = l.default;
})(Al, Al.exports);
var Ke = Al.exports;
(function(a, l) {
l.__esModule = !0;
function r(R) {
return R && R.__esModule ? R : { default: R };
}
function c(R) {
if (R && R.__esModule)
return R;
var I = {};
if (R != null)
for (var h in R)
Object.prototype.hasOwnProperty.call(R, h) && (I[h] = R[h]);
return I.default = R, I;
}
var t = X, n = c(t), o = He, e = r(o), u = B, s = r(u), i = T, y = c(i), m = j, A = c(m), x = Ke, H = r(x);
function L() {
var R = new n.HandlebarsEnvironment();
return y.extend(R, n), R.SafeString = e.default, R.Exception = s.default, R.Utils = y, R.escapeExpression = y.escapeExpression, R.VM = A, R.template = function(I) {
return A.template(I, R);
}, R;
}
var E = L();
E.create = L, H.default(E), E.default = E, l.default = E, a.exports = l.default;
})(ul, ul.exports);
var Ze = ul.exports, Je = Ze.default;
const g = /* @__PURE__ */ Yn(Je), Qe = g.template({ 1: function(a, l, r, c, t) {
var n, o = a.lookupProperty || function(e, u) {
if (Object.prototype.hasOwnProperty.call(e, u))
return e[u];
};
return (n = a.invokePartial(o(c, "page"), l, { name: "page", fn: a.program(2, t, 0), inverse: a.noop, data: t, helpers: r, partials: c, decorators: a.decorators })) != null ? n : "";
}, 2: function(a, l, r, c, t) {
var n, o = a.lookupProperty || function(e, u) {
if (Object.prototype.hasOwnProperty.call(e, u))
return e[u];
};
return `\r
Still going strong at ` + a.escapeExpression(a.lambda((n = l != null ? o(l, "report") : l) != null ? o(n, "timestamp") : n, l)) + ` GMT\r
\r
`;
}, compiler: [8, ">= 4.3.0"], main: function(a, l, r, c, t) {
var n, o = a.lookupProperty || function(e, u) {
if (Object.prototype.hasOwnProperty.call(e, u))
return e[u];
};
return ((n = a.invokePartial(o(c, "document"), l, { name: "document", fn: a.program(1, t, 0), inverse: a.noop, data: t, helpers: r, partials: c, decorators: a.decorators })) != null ? n : "") + `\r
`;
}, usePartial: !0, useData: !0 }), lr = g.template({ 1: function(a, l, r, c, t) {
var n, o = a.lookupProperty || function(e, u) {
if (Object.prototype.hasOwnProperty.call(e, u))
return e[u];
};
return (n = a.invokePartial(o(c, "page"), l, { name: "page", fn: a.program(2, t, 0), inverse: a.noop, data: t, helpers: r, partials: c, decorators: a.decorators })) != null ? n : "";
}, 2: function(a, l, r, c, t) {
var n, o = a.lookupProperty || function(e, u) {
if (Object.prototype.hasOwnProperty.call(e, u))
return e[u];
};
return `\r
` + ((n = a.invokePartial(o(c, "accountingReportHead"), l, { name: "accountingReportHead", data: t, helpers: r, partials: c, decorators: a.decorators })) != null ? n : "") + `\r
` + ((n = a.invokePartial(o(c, "accountingTable"), l, { name: "accountingTable", data: t, helpers: r, partials: c, decorators: a.decorators })) != null ? n : "") + `\r
`;
}, compiler: [8, ">= 4.3.0"], main: function(a, l, r, c, t) {
var n, o = a.lookupProperty || function(e, u) {
if (Object.prototype.hasOwnProperty.call(e, u))
return e[u];
};
return ((n = a.invokePartial(o(c, "document"), l, { name: "document", fn: a.program(1, t, 0), inverse: a.noop, data: t, helpers: r, partials: c, decorators: a.decorators })) != null ? n : "") + `\r
`;
}, usePartial: !0, useData: !0 }), nr = g.template({ 1: function(a, l, r, c, t) {
var n, o = a.lookupProperty || function(e, u) {
if (Object.prototype.hasOwnProperty.call(e, u))
return e[u];
};
return ((n = a.invokePartial(o(c, "page"), l, { name: "page", fn: a.program(2, t, 0), inverse: a.noop, data: t, helpers: r, partials: c, decorators: a.decorators })) != null ? n : "") + `<div style="page-break-before: always"></div>\r
` + ((n = a.invokePartial(o(c, "page"), l, { name: "page", fn: a.program(4, t, 0), inverse: a.noop, data: t, helpers: r, partials: c, decorators: a.decorators })) != null ? n : "");
}, 2: function(a, l, r, c, t) {
var n, o = a.lookupProperty || function(e, u) {
if (Object.prototype.hasOwnProperty.call(e, u))
return e[u];
};
return `\r
` + ((n = a.invokePartial(o(c, "employerReportHeadV2"), l, { name: "employerReportHeadV2", data: t, helpers: r, partials: c, decorators: a.decorators })) != null ? n : "") + `\r
` + ((n = a.invokePartial(o(c, "employerCalculationTablesV2"), l, { name: "employerCalculationTablesV2", data: t, helpers: r, partials: c, decorators: a.decorators })) != null ? n : "") + `\r
<h3>` + a.escapeExpression((o(r, "t") || l && o(l, "t") || a.hooks.helperMissing).call(l ?? (a.nullContext || {}), "SALAXY.REPORTS.salary.heading.moreInfoOnNextPage", { name: "t", hash: {}, data: t, loc: { start: { line: 8, column: 4 }, end: { line: 8, column: 61 } } })) + `</h3>\r
\r
\r
`;
}, 4: function(a, l, r, c, t) {
var n, o = a.lookupProperty || function(e, u) {
if (Object.prototype.hasOwnProperty.call(e, u))
return e[u];
};
return `\r
` + ((n = a.invokePartial(o(c, "employerReportHeadV2"), l, { name: "employerReportHeadV2", data: t, helpers: r, partials: c, decorators: a.decorators })) != null ? n : "") + `\r
<h2 class="salaxy-content-subheader">` + a.escapeExpression((o(r, "t") || l && o(l, "t") || a.hooks.helperMissing).call(l ?? (a.nullContext || {}), "SALAXY.REPORTS.salary.heading.salaryAdditionalInfo", { name: "t", hash: {}, data: t, loc: { start: { line: 17, column: 37 }, end: { line: 17, column: 96 } } })) + `</h2>\r
<p> </p>\r
\r
` + ((n = a.invokePartial(o(c, "employerCalculationAdditionalInfoV2"), l, { name: "employerCalculationAdditionalInfoV2", data: t, helpers: r, partials: c, decorators: a.decorators })) != null ? n : "") + `\r
`;
}, compiler: [8, ">= 4.3.0"], main: function(a, l, r, c, t) {
var n, o = a.lookupProperty || function(e, u) {
if (Object.prototype.hasOwnProperty.call(e, u))
return e[u];
};
return (n = a.invokePartial(o(c, "document"), l, { name: "document", fn: a.program(1, t, 0), inverse: a.noop, data: t, helpers: r, partials: c, decorators: a.decorators })) != null ? n : "";
}, usePartial: !0, useData: !0 }), er = g.template({ 1: function(a, l, r, c, t) {
var n, o = a.lookupProperty || function(e, u) {
if (Object.prototype.hasOwnProperty.call(e, u))
return e[u];
};
return (n = a.invokePartial(o(c, "page"), l, { name: "page", fn: a.program(2, t, 0), inverse: a.noop, data: t, helpers: r, partials: c, decorators: a.decorators })) != null ? n : "";
}, 2: function(a, l, r, c, t) {
var n, o = a.lookupProperty || function(e, u) {
if (Object.prototype.hasOwnProperty.call(e, u))
return e[u];
};
return ((n = a.invokePartial(o(c, "employerReportHeadV2"), l, { name: "employerReportHeadV2", data: t, indent: " ", helpers: r, partials: c, decorators: a.decorators })) != null ? n : "") + ((n = a.invokePartial(o(c, "employerCalculationTablesV2"), l, { name: "employerCalculationTablesV2", data: t, indent: " ", helpers: r, partials: c, decorators: a.decorators })) != null ? n : "");
}, compiler: [8, ">= 4.3.0"], main: function(a, l, r, c, t) {
var n, o = a.lookupProperty || function(e, u) {
if (Object.prototype.hasOwnProperty.call(e, u))
return e[u];
};
return (n = a.invokePartial(o(c, "document"), l, { name: "document", fn: a.program(1, t, 0), inverse: a.noop, data: t, helpers: r, partials: c, decorators: a.decorators })) != null ? n : "";
}, usePartial: !0, useData: !0 }), rr = g.template({ 1: function(a, l, r, c, t) {
var n, o = a.lookupProperty || function(e, u) {
if (Object.prototype.hasOwnProperty.call(e, u))
return e[u];
};
return (n = a.invokePartial(o(c, "page"), l, { name: "page", fn: a.program(2, t, 0), inverse: a.noop, data: t, helpers: r, partials: c, decorators: a.decorators })) != null ? n : "";
}, 2: function(a, l, r, c, t) {
var n, o = a.lookupProperty || function(e, u) {
if (Object.prototype.hasOwnProperty.call(e, u))
return e[u];
};
return `\r
` + ((n = a.invokePartial(o(c, "paymentReportHeadV2"), l, { name: "paymentReportHeadV2", data: t, indent: " ", helpers: r, partials: c, decorators: a.decorators })) != null ? n : "") + `\r
` + ((n = a.invokePartial(o(c, "paymentTablesV2"), l, { name: "paymentTablesV2", data: t, indent: " ", helpers: r, partials: c, decorators: a.decorators })) != null ? n : "") + `\r
`;
}, compiler: [8, ">= 4.3.0"], main: function(a, l, r, c, t) {
var n, o = a.lookupProperty || function(e, u) {
if (Object.prototype.hasOwnProperty.call(e, u))
return e[u];
};
return (n = a.invokePartial(o(c, "document"), l, { name: "document", fn: a.program(1, t, 0), inverse: a.noop, data: t, helpers: r, partials: c, decorators: a.decorators })) != null ? n : "";
}, usePartial: !0, useData: !0 }), ar = g.template({ 1: function(a, l, r, c, t) {
var n, o = a.lookupProperty || function(e, u) {
if (Object.prototype.hasOwnProperty.call(e, u))
return e[u];
};
return (n = a.invokePartial(o(c, "page"), l, { name: "page", fn: a.program(2, t, 0), inverse: a.noop, data: t, helpers: r, partials: c, decorators: a.decorators })) != null ? n : "";
}, 2: function(a, l, r, c, t) {
var n, o = a.lookupProperty || function(e, u) {
if (Object.prototype.hasOwnProperty.call(e, u))
return e[u];
};
return `\r
` + ((n = a.invokePartial(o(c, "summaryReportHead"), l, { name: "summaryReportHead", data: t, helpers: r, partials: c, decorators: a.decorators })) != null ? n : "") + `\r
` + ((n = a.invokePartial(o(c, "summaryReportTable"), l, { name: "summaryReportTable", data: t, helpers: r, partials: c, decorators: a.decorators })) != null ? n : "") + `\r
`;
}, compiler: [8, ">= 4.3.0"], main: function(a, l, r, c, t) {
var n, o = a.lookupProperty || function(e, u) {
if (Object.prototype.hasOwnProperty.call(e, u))
return e[u];
};
return ((n = a.invokePartial(o(c, "document"), l, { name: "document", fn: a.program(1, t, 0), inverse: a.noop, data: t, helpers: r, partials: c, decorators: a.decorators })) != null ? n : "") + `\r
`;
}, usePartial: !0, useData: !0 }), tr = g.template({ 1: function(a, l, r, c, t) {
var n, o = a.lookupProperty || function(e, u) {
if (Object.prototype.hasOwnProperty.call(e, u))
return e[u];
};
return (n = a.invokePartial(o(c, "page"), l, { name: "page", fn: a.program(2, t, 0), inverse: a.noop, data: t, helpers: r, partials: c, decorators: a.decorators })) != null ? n : "";
}, 2: function(a, l, r, c, t) {
var n, o = l ?? (a.nullContext || {}), e = a.hooks.helperMissing, u = a.escapeExpression, s = a.lambda, i = a.lookupProperty || function(y, m) {
if (Object.prototype.hasOwnProperty.call(y, m))
return y[m];
};
return `<h1>\r
` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.attorney", { name: "t", hash: {}, data: t, loc: { start: { line: 4, column: 2 }, end: { line: 4, column: 47 } } })) + `\r
</h1>\r
<br>\r
<div>\r
<p><b>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.authorizer", { name: "t", hash: {}, data: t, loc: { start: { line: 8, column: 8 }, end: { line: 8, column: 55 } } })) + `</b></p>\r
<ul>\r
<li>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.person.name", { name: "t", hash: {}, data: t, loc: { start: { line: 10, column: 8 }, end: { line: 10, column: 56 } } })) + ": " + u(s((n = (n = l != null ? i(l, "report") : l) != null ? i(n, "signer") : n) != null ? i(n, "name") : n, l)) + `</li>\r
<li>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.person.personalId", { name: "t", hash: {}, data: t, loc: { start: { line: 11, column: 8 }, end: { line: 11, column: 62 } } })) + ": " + u(s((n = (n = l != null ? i(l, "report") : l) != null ? i(n, "signer") : n) != null ? i(n, "personalId") : n, l)) + `</li>\r
<li>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.person.telephone", { name: "t", hash: {}, data: t, loc: { start: { line: 12, column: 8 }, end: { line: 12, column: 61 } } })) + ": " + u(s((n = (n = l != null ? i(l, "report") : l) != null ? i(n, "signer") : n) != null ? i(n, "telephone") : n, l)) + `</li>\r
<li>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.person.email", { name: "t", hash: {}, data: t, loc: { start: { line: 13, column: 8 }, end: { line: 13, column: 57 } } })) + ": " + u(s((n = (n = l != null ? i(l, "report") : l) != null ? i(n, "signer") : n) != null ? i(n, "email") : n, l)) + `</li>\r
</ul>\r
<p><b>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.authorized", { name: "t", hash: {}, data: t, loc: { start: { line: 15, column: 8 }, end: { line: 15, column: 55 } } })) + `</b></p>\r
<ul>\r
<li>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.palkkausfi", { name: "t", hash: {}, data: t, loc: { start: { line: 17, column: 8 }, end: { line: 17, column: 55 } } })) + `</li>\r
<li>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.companyId", { name: "t", hash: {}, data: t, loc: { start: { line: 18, column: 8 }, end: { line: 18, column: 54 } } })) + `: 2554393-3</li>\r
<li>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.contactInfo", { name: "t", hash: {}, data: t, loc: { start: { line: 19, column: 8 }, end: { line: 19, column: 56 } } })) + `</li>\r
</ul>\r
<br>\r
<p>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.person.authorizedInfo", { name: "t", hash: {}, data: t, loc: { start: { line: 22, column: 5 }, end: { line: 22, column: 63 } } })) + `</p>\r
<ul>\r
<li>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.lists.employeeAndEmployer", { name: "t", hash: {}, data: t, loc: { start: { line: 24, column: 8 }, end: { line: 24, column: 70 } } })) + `</li>\r
<li>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.lists.taxAndIr", { name: "t", hash: {}, data: t, loc: { start: { line: 25, column: 8 }, end: { line: 25, column: 59 } } })) + `</li>\r
<li>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.lists.pensions", { name: "t", hash: {}, data: t, loc: { start: { line: 26, column: 8 }, end: { line: 26, column: 59 } } })) + `</li>\r
<li>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.lists.insurances", { name: "t", hash: {}, data: t, loc: { start: { line: 27, column: 8 }, end: { line: 27, column: 61 } } })) + `</li>\r
<li>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.lists.employmentFund", { name: "t", hash: {}, data: t, loc: { start: { line: 28, column: 8 }, end: { line: 28, column: 65 } } })) + `</li>\r
<li>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.lists.unEmploymentFund", { name: "t", hash: {}, data: t, loc: { start: { line: 29, column: 8 }, end: { line: 29, column: 67 } } })) + `</li>\r
</ul>\r
<br>\r
<p>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.person.authorizationValid", { name: "t", hash: {}, data: t, loc: { start: { line: 32, column: 5 }, end: { line: 32, column: 67 } } })) + " " + u(s((n = l != null ? i(l, "report") : l) != null ? i(n, "signedAt") : n, l)) + `</p><br>\r
<p>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.person.palkkausSite", { name: "t", hash: {}, data: t, loc: { start: { line: 33, column: 5 }, end: { line: 33, column: 61 } } })) + " " + u(s((n = l != null ? i(l, "report") : l) != null ? i(n, "signedAt") : n, l)) + `</p>\r
<p>` + u(s((n = (n = l != null ? i(l, "report") : l) != null ? i(n, "signer") : n) != null ? i(n, "name") : n, l)) + `</p>\r
</div>\r
\r
`;
}, compiler: [8, ">= 4.3.0"], main: function(a, l, r, c, t) {
var n, o = a.lookupProperty || function(e, u) {
if (Object.prototype.hasOwnProperty.call(e, u))
return e[u];
};
return (n = a.invokePartial(o(c, "document"), l, { name: "document", fn: a.program(1, t, 0), inverse: a.noop, data: t, helpers: r, partials: c, decorators: a.decorators })) != null ? n : "";
}, usePartial: !0, useData: !0 }), or = g.template({ 1: function(a, l, r, c, t) {
var n, o = a.lookupProperty || function(e, u) {
if (Object.prototype.hasOwnProperty.call(e, u))
return e[u];
};
return (n = a.invokePartial(o(c, "page"), l, { name: "page", fn: a.program(2, t, 0), inverse: a.noop, data: t, helpers: r, partials: c, decorators: a.decorators })) != null ? n : "";
}, 2: function(a, l, r, c, t) {
var n, o = l ?? (a.nullContext || {}), e = a.hooks.helperMissing, u = a.escapeExpression, s = a.lambda, i = a.lookupProperty || function(y, m) {
if (Object.prototype.hasOwnProperty.call(y, m))
return y[m];
};
return `<h1>\r
` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.attorney", { name: "t", hash: {}, data: t, loc: { start: { line: 4, column: 2 }, end: { line: 4, column: 47 } } })) + `\r
</h1>\r
<br>\r
<div>\r
<p><b>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.authorizer", { name: "t", hash: {}, data: t, loc: { start: { line: 8, column: 8 }, end: { line: 8, column: 55 } } })) + `</b></p>\r
<ul>\r
<li>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.company.name", { name: "t", hash: {}, data: t, loc: { start: { line: 10, column: 8 }, end: { line: 10, column: 57 } } })) + ": " + u(s((n = l != null ? i(l, "report") : l) != null ? i(n, "name") : n, l)) + `</li>\r
<li>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.companyId", { name: "t", hash: {}, data: t, loc: { start: { line: 11, column: 8 }, end: { line: 11, column: 54 } } })) + ": " + u(s((n = l != null ? i(l, "report") : l) != null ? i(n, "officialId") : n, l)) + `</li>\r
<li>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.company.email", { name: "t", hash: {}, data: t, loc: { start: { line: 12, column: 8 }, end: { line: 12, column: 58 } } })) + ": " + u(s((n = (n = l != null ? i(l, "report") : l) != null ? i(n, "signer") : n) != null ? i(n, "email") : n, l)) + `</li>\r
<li>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.company.authorizerName", { name: "t", hash: {}, data: t, loc: { start: { line: 13, column: 8 }, end: { line: 13, column: 67 } } })) + ": " + u(s((n = (n = l != null ? i(l, "report") : l) != null ? i(n, "signer") : n) != null ? i(n, "name") : n, l)) + `</li>\r
<li>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.company.authorizerPersonalId", { name: "t", hash: {}, data: t, loc: { start: { line: 14, column: 8 }, end: { line: 14, column: 73 } } })) + ": " + u(s((n = (n = l != null ? i(l, "report") : l) != null ? i(n, "signer") : n) != null ? i(n, "personalId") : n, l)) + `</li>\r
<li>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.company.authorizerPhone", { name: "t", hash: {}, data: t, loc: { start: { line: 15, column: 8 }, end: { line: 15, column: 68 } } })) + ": " + u(s((n = (n = l != null ? i(l, "report") : l) != null ? i(n, "signer") : n) != null ? i(n, "telephone") : n, l)) + `</li>\r
</ul>\r
<p><b>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.authorized", { name: "t", hash: {}, data: t, loc: { start: { line: 17, column: 8 }, end: { line: 17, column: 55 } } })) + `</b></p>\r
<ul>\r
<li>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.palkkausfi", { name: "t", hash: {}, data: t, loc: { start: { line: 19, column: 8 }, end: { line: 19, column: 55 } } })) + `</li>\r
<li>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.companyId", { name: "t", hash: {}, data: t, loc: { start: { line: 20, column: 8 }, end: { line: 20, column: 54 } } })) + `: 2554393-3</li>\r
<li>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.contactInfo", { name: "t", hash: {}, data: t, loc: { start: { line: 21, column: 8 }, end: { line: 21, column: 56 } } })) + `</li>\r
</ul>\r
<br>\r
<p>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.company.authorizedInfo", { name: "t", hash: {}, data: t, loc: { start: { line: 24, column: 5 }, end: { line: 24, column: 64 } } })) + `</p>\r
<ul>\r
<li>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.lists.workers", { name: "t", hash: {}, data: t, loc: { start: { line: 26, column: 8 }, end: { line: 26, column: 58 } } })) + `</li>\r
<li>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.lists.taxIr", { name: "t", hash: {}, data: t, loc: { start: { line: 27, column: 8 }, end: { line: 27, column: 56 } } })) + `</li>\r
<li>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.lists.pensions", { name: "t", hash: {}, data: t, loc: { start: { line: 28, column: 8 }, end: { line: 28, column: 59 } } })) + `</li>\r
<li>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.lists.insurances", { name: "t", hash: {}, data: t, loc: { start: { line: 29, column: 8 }, end: { line: 29, column: 61 } } })) + `</li>\r
<li>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.lists.employmentFund", { name: "t", hash: {}, data: t, loc: { start: { line: 30, column: 8 }, end: { line: 30, column: 65 } } })) + `</li>\r
<li>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.lists.banksAndPaymentIntermediaries", { name: "t", hash: {}, data: t, loc: { start: { line: 31, column: 8 }, end: { line: 31, column: 80 } } })) + `</li>\r
<li>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.lists.workerUnions", { name: "t", hash: {}, data: t, loc: { start: { line: 32, column: 8 }, end: { line: 32, column: 63 } } })) + `</li>\r
</ul>\r
<br>\r
<p>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.company.authorizationValid", { name: "t", hash: {}, data: t, loc: { start: { line: 35, column: 5 }, end: { line: 35, column: 68 } } })) + " " + u(s((n = l != null ? i(l, "report") : l) != null ? i(n, "signedAt") : n, l)) + `</p><br>\r
\r
<p>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.company.palkkausService", { name: "t", hash: {}, data: t, loc: { start: { line: 37, column: 5 }, end: { line: 37, column: 65 } } })) + " " + u(s((n = l != null ? i(l, "report") : l) != null ? i(n, "signedAt") : n, l)) + `</p>\r
<p>` + u(s((n = (n = l != null ? i(l, "report") : l) != null ? i(n, "signer") : n) != null ? i(n, "name") : n, l)) + `</p>\r
</div>\r
\r
`;
}, compiler: [8, ">= 4.3.0"], main: function(a, l, r, c, t) {
var n, o = a.lookupProperty || function(e, u) {
if (Object.prototype.hasOwnProperty.call(e, u))
return e[u];
};
return (n = a.invokePartial(o(c, "document"), l, { name: "document", fn: a.program(1, t, 0), inverse: a.noop, data: t, helpers: r, partials: c, decorators: a.decorators })) != null ? n : "";
}, usePartial: !0, useData: !0 }), ur = g.template({ 1: function(a, l, r, c, t) {
var n, o = a.lookupProperty || function(e, u) {
if (Object.prototype.hasOwnProperty.call(e, u))
return e[u];
};
return (n = a.invokePartial(o(c, "page"), l, { name: "page", fn: a.program(2, t, 0), inverse: a.noop, data: t, helpers: r, partials: c, decorators: a.decorators })) != null ? n : "";
}, 2: function(a, l, r, c, t) {
var n, o = l ?? (a.nullContext || {}), e = a.hooks.helperMissing, u = a.escapeExpression, s = a.lambda, i = a.lookupProperty || function(y, m) {
if (Object.prototype.hasOwnProperty.call(y, m))
return y[m];
};
return `<h1>\r
` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.attorney", { name: "t", hash: {}, data: t, loc: { start: { line: 4, column: 2 }, end: { line: 4, column: 47 } } })) + `\r
</h1>\r
<br>\r
<p>` + ((n = s((n = (n = l != null ? i(l, "report") : l) != null ? i(n, "signer") : n) != null ? i(n, "name") : n, l)) != null ? n : "") + `</p>\r
<div>\r
<p><b>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.authorizer", { name: "t", hash: {}, data: t, loc: { start: { line: 9, column: 8 }, end: { line: 9, column: 55 } } })) + `</b></p>\r
<ul>\r
<li>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.person.name", { name: "t", hash: {}, data: t, loc: { start: { line: 11, column: 8 }, end: { line: 11, column: 56 } } })) + ": " + u(s((n = (n = l != null ? i(l, "report") : l) != null ? i(n, "signer") : n) != null ? i(n, "name") : n, l)) + `</li>\r
<li>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.person.personalId", { name: "t", hash: {}, data: t, loc: { start: { line: 12, column: 8 }, end: { line: 12, column: 62 } } })) + ": " + u(s((n = (n = l != null ? i(l, "report") : l) != null ? i(n, "signer") : n) != null ? i(n, "personalId") : n, l)) + `</li>\r
<li>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.person.telephone", { name: "t", hash: {}, data: t, loc: { start: { line: 13, column: 8 }, end: { line: 13, column: 61 } } })) + ": " + u(s((n = (n = l != null ? i(l, "report") : l) != null ? i(n, "signer") : n) != null ? i(n, "telephone") : n, l)) + `</li>\r
<li>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.person.email", { name: "t", hash: {}, data: t, loc: { start: { line: 14, column: 8 }, end: { line: 14, column: 57 } } })) + ": " + u(s((n = (n = l != null ? i(l, "report") : l) != null ? i(n, "signer") : n) != null ? i(n, "email") : n, l)) + `</li>\r
</ul>\r
<p><b>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.authorized", { name: "t", hash: {}, data: t, loc: { start: { line: 16, column: 8 }, end: { line: 16, column: 55 } } })) + `</b></p>\r
<ul>\r
<li>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.palkkausfi", { name: "t", hash: {}, data: t, loc: { start: { line: 18, column: 8 }, end: { line: 18, column: 55 } } })) + `</li>\r
<li>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.companyId", { name: "t", hash: {}, data: t, loc: { start: { line: 19, column: 8 }, end: { line: 19, column: 54 } } })) + `: 2554393-3</li>\r
<li>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.contactInfo", { name: "t", hash: {}, data: t, loc: { start: { line: 20, column: 8 }, end: { line: 20, column: 56 } } })) + `</li>\r
</ul>\r
<br>\r
<p>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.person.authorizedInfo", { name: "t", hash: {}, data: t, loc: { start: { line: 23, column: 5 }, end: { line: 23, column: 63 } } })) + `</p>\r
<ul>\r
<li>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.lists.employeeAndEmployer", { name: "t", hash: {}, data: t, loc: { start: { line: 25, column: 8 }, end: { line: 25, column: 70 } } })) + `</li>\r
<li>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.lists.taxAndIr", { name: "t", hash: {}, data: t, loc: { start: { line: 26, column: 8 }, end: { line: 26, column: 59 } } })) + `</li>\r
<li>` + u((i(r, "t") || l && i(l, "t") || e).call(o, "SALAXY.REPORTS.authorization.lists.pensions",