A free open source IT asset/license management system
Update BS tables and table export to latest
snipea5760cfe7bf0
diff --git a/package-lock.json b/package-lock.jsonindex a2ee172779..6fc86768f3 100644--- a/package-lock.json+++ b/package-lock.json@@ -1473,11 +1473,6 @@"through": ">=2.2.7 <3"}},- "abab": {- "version": "1.0.4",- "resolved": "https://registry.npmjs.org/abab/-/abab-1.0.4.tgz",- "integrity": "sha1-X6rZwsB/YN12dw9xzwJbYqY8/U4="- },"accepts": {"version": "1.3.7","resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz",@@ -1493,21 +1488,6 @@"resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz","integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A=="},- "acorn-globals": {- "version": "1.0.9",- "resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-1.0.9.tgz",- "integrity": "sha1-VbtemGkVB7dFedBRNBMhfDgMVM8=",- "requires": {- "acorn": "^2.1.0"- },- "dependencies": {- "acorn": {- "version": "2.7.0",- "resolved": "https://registry.npmjs.org/acorn/-/acorn-2.7.0.tgz",- "integrity": "sha1-q259nYhqrKiwhbwzEreaGYQz8Oc="- }- }- },"acorn-node": {"version": "1.8.2","resolved": "https://registry.npmjs.org/acorn-node/-/acorn-node-1.8.2.tgz",@@ -1524,13 +1504,9 @@"integrity": "sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA=="},"adler-32": {- "version": "1.2.0",- "resolved": "https://registry.npmjs.org/adler-32/-/adler-32-1.2.0.tgz",- "integrity": "sha1-aj5r8KY5ALoVZSgIyxXGgT0aXyU=",- "requires": {- "exit-on-epipe": "~1.0.1",- "printj": "~1.1.0"- }+ "version": "1.3.1",+ "resolved": "https://registry.npmjs.org/adler-32/-/adler-32-1.3.1.tgz",+ "integrity": "sha512-ynZ4w/nUUv5rrsR8UUGoe1VC9hZj6V5hU9Qw1HlMDJGEJw5S7TfTErWTjMys6M7vr0YWcPqs3qAr4ss0nDfP+A=="},"admin-lte": {"version": "2.4.18",@@ -1611,6 +1587,12 @@"integrity": "sha1-l6ERlkmyEa0zaR2fn0hqjsn74KM=","dev": true},+ "amdefine": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz",+ "integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=",+ "optional": true+ },"ansi-colors": {"version": "3.2.4","resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-3.2.4.tgz",@@ -1687,11 +1669,6 @@"integrity": "sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=","dev": true},- "array-equal": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/array-equal/-/array-equal-1.0.0.tgz",- "integrity": "sha1-jCpe8kcv2ep0KwTHenUJO6J1fJM="- },"array-filter": {"version": "1.0.0","resolved": "https://registry.npmjs.org/array-filter/-/array-filter-1.0.0.tgz",@@ -1703,6 +1680,11 @@"integrity": "sha512-hNfzcOV8W4NdualtqBFPyVO+54DSJuZGY9qT4pRroB6S9e3iiido2ISIC5h9R2sPJ8H3FHCIiEnsv1lPXO3KtQ==","dev": true},+ "array-from": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/array-from/-/array-from-2.1.1.tgz",+ "integrity": "sha1-z+nYwmYoudxa7MYqn12PHzUsEZU="+ },"array-union": {"version": "1.0.2","resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz",@@ -1789,6 +1771,53 @@"integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=","dev": true},+ "ast-transform": {+ "version": "0.0.0",+ "resolved": "https://registry.npmjs.org/ast-transform/-/ast-transform-0.0.0.tgz",+ "integrity": "sha1-dJRAWIh9goPhidlUYAlHvJj+AGI=",+ "requires": {+ "escodegen": "~1.2.0",+ "esprima": "~1.0.4",+ "through": "~2.3.4"+ },+ "dependencies": {+ "escodegen": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.2.0.tgz",+ "integrity": "sha1-Cd55Z3kcyVi3+Jot220jRRrzJ+E=",+ "requires": {+ "esprima": "~1.0.4",+ "estraverse": "~1.5.0",+ "esutils": "~1.0.0",+ "source-map": "~0.1.30"+ }+ },+ "esprima": {+ "version": "1.0.4",+ "resolved": "https://registry.npmjs.org/esprima/-/esprima-1.0.4.tgz",+ "integrity": "sha1-n1V+CPw7TSbs6d00+Pv0drYlha0="+ },+ "estraverse": {+ "version": "1.5.1",+ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-1.5.1.tgz",+ "integrity": "sha1-hno+jlip+EYYr7bC3bzZFrfLr3E="+ },+ "esutils": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/esutils/-/esutils-1.0.0.tgz",+ "integrity": "sha1-gVHTWOIMisx/t0XnRywAJf5JZXA="+ },+ "source-map": {+ "version": "0.1.43",+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.1.43.tgz",+ "integrity": "sha1-wkvBRspRfBRx9drL4lcbK3+eM0Y=",+ "optional": true,+ "requires": {+ "amdefine": ">=0.0.4"+ }+ }+ }+ },"ast-types": {"version": "0.9.6","resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.9.6.tgz",@@ -2415,7 +2444,6 @@"version": "6.26.0","resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz","integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=",- "dev": true,"requires": {"core-js": "^2.4.0","regenerator-runtime": "^0.11.0"@@ -2501,9 +2529,9 @@}},"base64-arraybuffer": {- "version": "0.2.0",- "resolved": "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-0.2.0.tgz",- "integrity": "sha512-7emyCsu1/xiBXgQZrscw/8KPRT44I4Yq9Pe6EGs3aPRTsWuggML1/1DTuZUuIaJPIm1FTDUVXl4x/yW8s0kQDQ=="+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-1.0.2.tgz",+ "integrity": "sha512-I3yl4r9QB5ZRY3XuJVEPfc2XhZO6YweFPI+UovAzn+8/hb3oJ6lnysaFcjVpkCPfVWFUDvoZ8kmVDP7WyRtYtQ=="},"base64-js": {"version": "1.5.1",@@ -2693,9 +2721,9 @@"integrity": "sha1-EQPWvADPv6jPyaJZmrUYxVZD2j8="},"bootstrap-table": {- "version": "1.18.3",- "resolved": "https://registry.npmjs.org/bootstrap-table/-/bootstrap-table-1.18.3.tgz",- "integrity": "sha512-/eFLkldDlNFi37qC/d9THfRVxMUGD34E8fQBFtXJLDHLBOVKWDTq7BV+udoP7k3FfCEyhM1jWQnQ0rMQdBv//w=="+ "version": "1.20.0",+ "resolved": "https://registry.npmjs.org/bootstrap-table/-/bootstrap-table-1.20.0.tgz",+ "integrity": "sha512-e6lOTG44aAeSFuOqFSjuMakXUlVF2jSkgtlDqa2lXbwq/Hn3Sn4TMSSJgSKdMnwX8WOpdlF3DIGUKQLiQ9vlXA=="},"brace-expansion": {"version": "1.1.11",@@ -2724,11 +2752,30 @@"to-regex": "^3.0.1"}},+ "brfs": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/brfs/-/brfs-2.0.2.tgz",+ "integrity": "sha512-IrFjVtwu4eTJZyu8w/V2gxU7iLTtcHih67sgEdzrhjLBMHp2uYefUBfdM4k2UvcuWMgV7PQDZHSLeNWnLFKWVQ==",+ "requires": {+ "quote-stream": "^1.0.1",+ "resolve": "^1.1.5",+ "static-module": "^3.0.2",+ "through2": "^2.0.0"+ }+ },"brorand": {"version": "1.1.0","resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz","integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8="},+ "brotli": {+ "version": "1.3.2",+ "resolved": "https://registry.npmjs.org/brotli/-/brotli-1.3.2.tgz",+ "integrity": "sha1-UlqcrU/LqWR119OI9q7LE+7VL0Y=",+ "requires": {+ "base64-js": "^1.1.2"+ }+ },"browser-pack": {"version": "6.1.0","resolved": "https://registry.npmjs.org/browser-pack/-/browser-pack-6.1.0.tgz",@@ -2896,6 +2943,36 @@"safe-buffer": "^5.1.2"}},+ "browserify-optional": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/browserify-optional/-/browserify-optional-1.0.1.tgz",+ "integrity": "sha1-HhNyLP3g2F8SFnbCpyztUzoBiGk=",+ "requires": {+ "ast-transform": "0.0.0",+ "ast-types": "^0.7.0",+ "browser-resolve": "^1.8.1"+ },+ "dependencies": {+ "ast-types": {+ "version": "0.7.8",+ "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.7.8.tgz",+ "integrity": "sha1-kC0uDWDQcb3NRtwRXhgJ7RHBOKk="+ },+ "browser-resolve": {+ "version": "1.11.3",+ "resolved": "https://registry.npmjs.org/browser-resolve/-/browser-resolve-1.11.3.tgz",+ "integrity": "sha512-exDi1BYWB/6raKHmDTCicQfTkqwN5fioMFV4j8BsfMU4R2DK/QfZfK7kOVkmWCNANf0snkBzqGqAJBao9gZMdQ==",+ "requires": {+ "resolve": "1.1.7"+ }+ },+ "resolve": {+ "version": "1.1.7",+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.1.7.tgz",+ "integrity": "sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs="+ }+ }+ },"browserify-rsa": {"version": "4.1.0","resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.1.0.tgz",@@ -2981,6 +3058,11 @@"ieee754": "^1.1.4"}},+ "buffer-equal": {+ "version": "0.0.1",+ "resolved": "https://registry.npmjs.org/buffer-equal/-/buffer-equal-0.0.1.tgz",+ "integrity": "sha1-kbx0sR6kBbyRa8aqkI+q+ltKrEs="+ },"buffer-from": {"version": "1.1.1","resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz",@@ -3171,9 +3253,9 @@"dev": true},"canvg": {- "version": "3.0.9",- "resolved": "https://registry.npmjs.org/canvg/-/canvg-3.0.9.tgz",- "integrity": "sha512-rDXcnRPuz4QHoCilMeoTxql+fvGqNAxp+qV/KHD8rOiJSAfVjFclbdUNHD2Uqfthr+VMg17bD2bVuk6F07oLGw==",+ "version": "3.0.10",+ "resolved": "https://registry.npmjs.org/canvg/-/canvg-3.0.10.tgz",+ "integrity": "sha512-qwR2FRNO9NlzTeKIPIKpnTY6fqwuYSequ8Ru8c0YkYU7U0oW+hLUvWadLvAu1Rl72OMNiFhoLu4f8eUjQ7l/+Q==","optional": true,"requires": {"@babel/runtime": "^7.12.5",@@ -3187,9 +3269,9 @@},"dependencies": {"core-js": {- "version": "3.19.1",- "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.19.1.tgz",- "integrity": "sha512-Tnc7E9iKd/b/ff7GFbhwPVzJzPztGrChB8X8GLqoYGdEOG8IpLnK1xPyo3ZoO3HsK6TodJS58VGPOxA+hLHQMg==",+ "version": "3.22.4",+ "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.22.4.tgz",+ "integrity": "sha512-1uLykR+iOfYja+6Jn/57743gc9n73EWiOnSJJ4ba3B4fOEYDBv25MagmEZBxTp5cWq4b/KPx/l77zgsp28ju4w==","optional": true},"regenerator-runtime": {@@ -3206,35 +3288,12 @@"integrity": "sha1-cVuW6phBWTzDMGeSP17GDr2k99c="},"cfb": {- "version": "1.2.1",- "resolved": "https://registry.npmjs.org/cfb/-/cfb-1.2.1.tgz",- "integrity": "sha512-wT2ScPAFGSVy7CY+aauMezZBnNrfnaLSrxHUHdea+Td/86vrk6ZquggV+ssBR88zNs0OnBkL2+lf9q0K+zVGzQ==",+ "version": "1.2.2",+ "resolved": "https://registry.npmjs.org/cfb/-/cfb-1.2.2.tgz",+ "integrity": "sha512-KfdUZsSOw19/ObEWasvBP/Ac4reZvAGauZhs6S/gqNhXhI7cKwvlH7ulj+dOEYnca4bm4SGo8C1bTAQvnTjgQA==","requires": {"adler-32": "~1.3.0",- "crc-32": "~1.2.0",- "printj": "~1.3.0"- },- "dependencies": {- "adler-32": {- "version": "1.3.0",- "resolved": "https://registry.npmjs.org/adler-32/-/adler-32-1.3.0.tgz",- "integrity": "sha512-f5nltvjl+PRUh6YNfUstRaXwJxtfnKEWhAWWlmKvh+Y3J2+98a0KKVYDEhz6NdKGqswLhjNGznxfSsZGOvOd9g==",- "requires": {- "printj": "~1.2.2"- },- "dependencies": {- "printj": {- "version": "1.2.3",- "resolved": "https://registry.npmjs.org/printj/-/printj-1.2.3.tgz",- "integrity": "sha512-sanczS6xOJOg7IKDvi4sGOUOe7c1tsEzjwlLFH/zgwx/uyImVM9/rgBkc8AfiQa/Vg54nRd8mkm9yI7WV/O+WA=="- }- }- },- "printj": {- "version": "1.3.0",- "resolved": "https://registry.npmjs.org/printj/-/printj-1.3.0.tgz",- "integrity": "sha512-017o8YIaz8gLhaNxRB9eBv2mWXI2CtzhPJALnQTP+OPpuUfP0RMWqr/mHCzqVeu1AQxfzSfAtAq66vKB8y7Lzg=="- }+ "crc-32": "~1.2.0"}},"chalk": {@@ -3730,7 +3789,6 @@"version": "1.7.0","resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.7.0.tgz","integrity": "sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA==",- "dev": true,"requires": {"safe-buffer": "~5.1.1"}@@ -3789,8 +3847,7 @@"core-js": {"version": "2.6.12","resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.12.tgz",- "integrity": "sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==",- "dev": true+ "integrity": "sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ=="},"core-js-compat": {"version": "3.9.0",@@ -3828,13 +3885,9 @@}},"crc-32": {- "version": "1.2.0",- "resolved": "https://registry.npmjs.org/crc-32/-/crc-32-1.2.0.tgz",- "integrity": "sha512-1uBwHxF+Y/4yF5G48fwnKq6QsIXheor3ZLPT80yGBV1oEUwpPojlEhQbWKVw1VwcTQyMGHK1/XMmTjmlsmTTGA==",- "requires": {- "exit-on-epipe": "~1.0.1",- "printj": "~1.1.0"- }+ "version": "1.2.2",+ "resolved": "https://registry.npmjs.org/crc-32/-/crc-32-1.2.2.tgz",+ "integrity": "sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ=="},"create-ecdh": {"version": "4.0.4",@@ -3929,6 +3982,11 @@"randomfill": "^1.0.3"}},+ "crypto-js": {+ "version": "4.1.1",+ "resolved": "https://registry.npmjs.org/crypto-js/-/crypto-js-4.1.1.tgz",+ "integrity": "sha512-o2JlM7ydqd3Qk9CA0L4NL6mTzU2sdx96a+oOfPu8Mkl/PK51vSyoi8/rQ8NknZtk44vq15lmhAj9CIAGwgeWKw=="+ },"css-color-names": {"version": "0.0.4","resolved": "https://registry.npmjs.org/css-color-names/-/css-color-names-0.0.4.tgz",@@ -3946,11 +4004,11 @@}},"css-line-break": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/css-line-break/-/css-line-break-2.0.1.tgz",- "integrity": "sha512-gwKYIMUn7xodIcb346wgUhE2Dt5O1Kmrc16PWi8sL4FTfyDj8P5095rzH7+O8CTZudJr+uw2GCI/hwEkDJFI2w==",+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/css-line-break/-/css-line-break-2.1.0.tgz",+ "integrity": "sha512-FHcKFCZcAha3LwfVBhCQbW2nCNbkZXn7KVUJcsT5/P8YmfsVja0FMPJr0B903j/E69HUphKiV9iQArX8SDYA4w==","requires": {- "base64-arraybuffer": "^0.2.0"+ "utrie": "^1.0.2"}},"css-loader": {@@ -4140,25 +4198,21 @@}}},- "cssom": {- "version": "0.3.8",- "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.3.8.tgz",- "integrity": "sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg=="- },- "cssstyle": {- "version": "0.2.37",- "resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-0.2.37.tgz",- "integrity": "sha1-VBCXI0yyUTyDzu06zdwn/yeYfVQ=",- "requires": {- "cssom": "0.3.x"- }- },"cyclist": {"version": "1.0.1","resolved": "https://registry.npmjs.org/cyclist/-/cyclist-1.0.1.tgz","integrity": "sha1-WW6WmP0MgOEgOMK4LW6xs1tiJNk=","dev": true},+ "d": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/d/-/d-1.0.1.tgz",+ "integrity": "sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==",+ "requires": {+ "es5-ext": "^0.10.50",+ "type": "^1.0.1"+ }+ },"dash-ast": {"version": "1.0.0","resolved": "https://registry.npmjs.org/dash-ast/-/dash-ast-1.0.0.tgz",@@ -4234,7 +4288,6 @@"version": "1.1.1","resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-1.1.1.tgz","integrity": "sha512-yd9c5AdiqVcR+JjcwUQb9DkhJc8ngNr0MahEBGvDiJw8puWab2yZlh+nkasOnZP+EGTAP6rRp2JzJhJZzvNF8g==",- "dev": true,"requires": {"is-arguments": "^1.0.4","is-date-object": "^1.0.1",@@ -4376,6 +4429,11 @@"minimist": "^1.1.1"}},+ "dfa": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/dfa/-/dfa-1.2.0.tgz",+ "integrity": "sha512-ED3jP8saaweFTjeGX8HQPjeC1YYyZs98jGNZx6IiBvxW7JG5v492kamAQB3m2wop07CvU/RQmzcKr6bgcC5D/Q=="+ },"diffie-hellman": {"version": "5.0.3","resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz",@@ -4468,9 +4526,9 @@}},"dompurify": {- "version": "2.3.3",- "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-2.3.3.tgz",- "integrity": "sha512-dqnqRkPMAjOZE0FogZ+ceJNM2dZ3V/yNOuFB7+39qpO93hHhfRpHw3heYQC7DPK9FqbQTfBKUJhiSfz4MvXYwg==",+ "version": "2.3.6",+ "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-2.3.6.tgz",+ "integrity": "sha512-OFP2u/3T1R5CEgWCEONuJ1a5+MFKnOYpkywpUSxv/dj1LeBT1erK+JwM7zK0ROy2BRhqVCf0LRw/kHqKuMkVGg==","optional": true},"domutils": {@@ -4688,10 +4746,70 @@"is-symbol": "^1.0.2"}},- "es6-promise": {- "version": "4.2.8",- "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz",- "integrity": "sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w=="+ "es5-ext": {+ "version": "0.10.61",+ "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.61.tgz",+ "integrity": "sha512-yFhIqQAzu2Ca2I4SE2Au3rxVfmohU9Y7wqGR+s7+H7krk26NXhIRAZDgqd6xqjCEFUomDEA3/Bo/7fKmIkW1kA==",+ "requires": {+ "es6-iterator": "^2.0.3",+ "es6-symbol": "^3.1.3",+ "next-tick": "^1.1.0"+ }+ },+ "es6-iterator": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz",+ "integrity": "sha1-p96IkUGgWpSwhUQDstCg+/qY87c=",+ "requires": {+ "d": "1",+ "es5-ext": "^0.10.35",+ "es6-symbol": "^3.1.1"+ }+ },+ "es6-map": {+ "version": "0.1.5",+ "resolved": "https://registry.npmjs.org/es6-map/-/es6-map-0.1.5.tgz",+ "integrity": "sha1-kTbgUD3MBqMBaQ8LsU/042TpSfA=",+ "requires": {+ "d": "1",+ "es5-ext": "~0.10.14",+ "es6-iterator": "~2.0.1",+ "es6-set": "~0.1.5",+ "es6-symbol": "~3.1.1",+ "event-emitter": "~0.3.5"+ }+ },+ "es6-set": {+ "version": "0.1.5",+ "resolved": "https://registry.npmjs.org/es6-set/-/es6-set-0.1.5.tgz",+ "integrity": "sha1-0rPsXU2ADO2BjbU40ol02wpzzLE=",+ "requires": {+ "d": "1",+ "es5-ext": "~0.10.14",+ "es6-iterator": "~2.0.1",+ "es6-symbol": "3.1.1",+ "event-emitter": "~0.3.5"+ },+ "dependencies": {+ "es6-symbol": {+ "version": "3.1.1",+ "resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.1.tgz",+ "integrity": "sha1-vwDvT9q2uhtG7Le2KbTH7VcVzHc=",+ "requires": {+ "d": "1",+ "es5-ext": "~0.10.14"+ }+ }+ }+ },+ "es6-symbol": {+ "version": "3.1.3",+ "resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.3.tgz",+ "integrity": "sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA==",+ "requires": {+ "d": "^1.0.1",+ "ext": "^1.1.2"+ }},"es6-templates": {"version": "0.2.3",@@ -4777,6 +4895,11 @@"resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz","integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw=="},+ "estree-is-function": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/estree-is-function/-/estree-is-function-1.0.0.tgz",+ "integrity": "sha512-nSCWn1jkSq2QAtkaVLJZY2ezwcFO161HVc174zL1KPW3RJ+O6C3eJb8Nx7OXzvhoEv+nLgSR1g71oWUHUDTrJA=="+ },"esutils": {"version": "2.0.3","resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz",@@ -4793,6 +4916,15 @@"resolved": "https://registry.npmjs.org/eve-raphael/-/eve-raphael-0.5.0.tgz","integrity": "sha1-F8dUt5K+7z+maE15z1pHxjxM2jA="},+ "event-emitter": {+ "version": "0.3.5",+ "resolved": "https://registry.npmjs.org/event-emitter/-/event-emitter-0.3.5.tgz",+ "integrity": "sha1-34xp7vFkeSPHFXuc6DhAYQsCzDk=",+ "requires": {+ "d": "1",+ "es5-ext": "~0.10.14"+ }+ },"eventemitter3": {"version": "4.0.7","resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz",@@ -4897,11 +5029,6 @@}}},- "exit-on-epipe": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/exit-on-epipe/-/exit-on-epipe-1.0.1.tgz",- "integrity": "sha512-h2z5mrROTxce56S+pnvAV890uu7ls7f1kEvVGJbw1OlFH3/mlJ5bkXu0KRyW94v37zzHPiUd55iLn3DA7TjWpw=="- },"expand-brackets": {"version": "2.1.4","resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz",@@ -5026,6 +5153,21 @@}}},+ "ext": {+ "version": "1.6.0",+ "resolved": "https://registry.npmjs.org/ext/-/ext-1.6.0.tgz",+ "integrity": "sha512-sdBImtzkq2HpkdRLtlLWDa6w4DX22ijZLKx8BMPUuKe1c5lbN6xwQDQCxSfxBQnHZ13ls/FH0MQZx/q/gr6FQg==",+ "requires": {+ "type": "^2.5.0"+ },+ "dependencies": {+ "type": {+ "version": "2.6.0",+ "resolved": "https://registry.npmjs.org/type/-/type-2.6.0.tgz",+ "integrity": "sha512-eiDBDOmkih5pMbo9OqsqPRGMljLodLcwd5XD5JbtNB0o89xZAwynY9EdCDsJU7LtcVCClu9DvM7/0Ep1hYX3EQ=="+ }+ }+ },"extend": {"version": "3.0.2","resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",@@ -5356,6 +5498,45 @@"resolved": "https://registry.npmjs.org/font-awesome/-/font-awesome-4.7.0.tgz","integrity": "sha1-j6jPBBGhoxr9B7BtKQK7n8gVoTM="},+ "fontkit": {+ "version": "1.8.1",+ "resolved": "https://registry.npmjs.org/fontkit/-/fontkit-1.8.1.tgz",+ "integrity": "sha512-BsNCjDoYRxmNWFdAuK1y9bQt+igIxGtTC9u/jSFjR9MKhmI00rP1fwSvERt+5ddE82544l0XH5mzXozQVUy2Tw==",+ "requires": {+ "babel-runtime": "^6.26.0",+ "brfs": "^2.0.0",+ "brotli": "^1.2.0",+ "browserify-optional": "^1.0.1",+ "clone": "^1.0.4",+ "deep-equal": "^1.0.0",+ "dfa": "^1.2.0",+ "restructure": "^0.5.3",+ "tiny-inflate": "^1.0.2",+ "unicode-properties": "^1.2.2",+ "unicode-trie": "^0.3.0"+ },+ "dependencies": {+ "clone": {+ "version": "1.0.4",+ "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz",+ "integrity": "sha1-2jCcwmPfFZlMaIypAheco8fNfH4="+ },+ "pako": {+ "version": "0.2.9",+ "resolved": "https://registry.npmjs.org/pako/-/pako-0.2.9.tgz",+ "integrity": "sha1-8/dSL073gjSNqBYbrZ7P1Rv4OnU="+ },+ "unicode-trie": {+ "version": "0.3.1",+ "resolved": "https://registry.npmjs.org/unicode-trie/-/unicode-trie-0.3.1.tgz",+ "integrity": "sha1-1nHd3YkQGgi6w3tqUWEBBgIFIIU=",+ "requires": {+ "pako": "^0.2.5",+ "tiny-inflate": "^1.0.0"+ }+ }+ }+ },"for-in": {"version": "1.0.2","resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz",@@ -15399,12 +15580,12 @@}},"html2canvas": {- "version": "1.3.2",- "resolved": "https://registry.npmjs.org/html2canvas/-/html2canvas-1.3.2.tgz",- "integrity": "sha512-4+zqv87/a1LsaCrINV69wVLGG8GBZcYBboz1JPWEgiXcWoD9kroLzccsBRU/L9UlfV2MAZ+3J92U9IQPVMDeSQ==",+ "version": "1.4.1",+ "resolved": "https://registry.npmjs.org/html2canvas/-/html2canvas-1.4.1.tgz",+ "integrity": "sha512-fPU6BHNpsyIhr8yyMpTLLxAbkaK8ArIBcmZIRiBLiDhjeqvXolaEmDGmELFuX9I4xDcaKKcJl+TKZLqruBbmWA==","requires": {- "css-line-break": "2.0.1",- "text-segmentation": "^1.0.2"+ "css-line-break": "^2.1.0",+ "text-segmentation": "^1.0.3"}},"htmlescape": {@@ -15497,6 +15678,7 @@"version": "0.4.24","resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz","integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",+ "dev": true,"requires": {"safer-buffer": ">= 2.1.2 < 3"}@@ -16276,37 +16458,6 @@"resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz","integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM="},- "jsdom": {- "version": "8.5.0",- "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-8.5.0.tgz",- "integrity": "sha1-1Nj12/J2hjW2KmKCO5R89wcevJg=",- "requires": {- "abab": "^1.0.0",- "acorn": "^2.4.0",- "acorn-globals": "^1.0.4",- "array-equal": "^1.0.0",- "cssom": ">= 0.3.0 < 0.4.0",- "cssstyle": ">= 0.2.34 < 0.3.0",- "escodegen": "^1.6.1",- "iconv-lite": "^0.4.13",- "nwmatcher": ">= 1.3.7 < 2.0.0",- "parse5": "^1.5.1",- "request": "^2.55.0",- "sax": "^1.1.4",- "symbol-tree": ">= 3.1.0 < 4.0.0",- "tough-cookie": "^2.2.0",- "webidl-conversions": "^3.0.1",- "whatwg-url": "^2.0.1",- "xml-name-validator": ">= 2.0.1 < 3.0.0"- },- "dependencies": {- "acorn": {- "version": "2.7.0",- "resolved": "https://registry.npmjs.org/acorn/-/acorn-2.7.0.tgz",- "integrity": "sha1-q259nYhqrKiwhbwzEreaGYQz8Oc="- }- }- },"jsesc": {"version": "2.5.2","resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz",@@ -16374,9 +16525,9 @@"integrity": "sha512-CXcRvMyTlnR53xMcKnuMzfCA5i/nfblTnnr74CZb6C4vG39eu6w51t7nKmU5MfLfbTgGItliNyjO/ciNPDqClg=="},"jspdf": {- "version": "2.4.0",- "resolved": "https://registry.npmjs.org/jspdf/-/jspdf-2.4.0.tgz",- "integrity": "sha512-nsZ92YfbNG/EimR1yqmOkxf2D4iJRypBsw7pvP1aPiIEnoGITaLl6XDR/GYA36/R29vMZSBedpEhBCzutSGytA==",+ "version": "2.5.1",+ "resolved": "https://registry.npmjs.org/jspdf/-/jspdf-2.5.1.tgz",+ "integrity": "sha512-hXObxz7ZqoyhxET78+XR34Xu2qFGrJJ2I2bE5w4SM8eFaFEkW2xcGRVUss360fYelwRSid/jT078kbNvmoW0QA==","requires": {"@babel/runtime": "^7.14.0","atob": "^2.1.2",@@ -16389,17 +16540,17 @@},"dependencies": {"@babel/runtime": {- "version": "7.16.0",- "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.16.0.tgz",- "integrity": "sha512-Nht8L0O8YCktmsDV6FqFue7vQLRx3Hb0B37lS5y0jDRqRxlBG4wIJHnf9/bgSE2UyipKFA01YtS+npRdTWBUyw==",+ "version": "7.17.9",+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.17.9.tgz",+ "integrity": "sha512-lSiBBvodq29uShpWGNbgFdKYNiFDo5/HIYsaCEY9ff4sb10x9jizo2+pRrSyF4jKZCXqgzuqBOQKbUm90gQwJg==","requires": {"regenerator-runtime": "^0.13.4"}},"core-js": {- "version": "3.19.1",- "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.19.1.tgz",- "integrity": "sha512-Tnc7E9iKd/b/ff7GFbhwPVzJzPztGrChB8X8GLqoYGdEOG8IpLnK1xPyo3ZoO3HsK6TodJS58VGPOxA+hLHQMg==",+ "version": "3.22.4",+ "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.22.4.tgz",+ "integrity": "sha512-1uLykR+iOfYja+6Jn/57743gc9n73EWiOnSJJ4ba3B4fOEYDBv25MagmEZBxTp5cWq4b/KPx/l77zgsp28ju4w==","optional": true},"regenerator-runtime": {@@ -16409,83 +16560,6 @@}}},- "jspdf-autotable": {- "version": "2.0.17",- "resolved": "https://registry.npmjs.org/jspdf-autotable/-/jspdf-autotable-2.0.17.tgz",- "integrity": "sha1-usPRFK4S1E4NeXVjTROZ+GZxbHc=",- "requires": {- "jspdf": "^1.0.272"- },- "dependencies": {- "base64-arraybuffer": {- "version": "0.1.5",- "resolved": "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-0.1.5.tgz",- "integrity": "sha1-c5JncZI7Whl0etZmqlzUv5xunOg="- },- "canvg": {- "version": "1.5.3",- "resolved": "https://registry.npmjs.org/canvg/-/canvg-1.5.3.tgz",- "integrity": "sha512-7Gn2IuQzvUQWPIuZuFHrzsTM0gkPz2RRT9OcbdmA03jeKk8kltrD8gqUzNX15ghY/4PV5bbe5lmD6yDLDY6Ybg==",- "requires": {- "jsdom": "^8.1.0",- "rgbcolor": "^1.0.1",- "stackblur-canvas": "^1.4.1",- "xmldom": "^0.1.22"- },- "dependencies": {- "stackblur-canvas": {- "version": "1.4.1",- "resolved": "https://registry.npmjs.org/stackblur-canvas/-/stackblur-canvas-1.4.1.tgz",- "integrity": "sha1-hJqm+UsnL/JvZHH6QTDtH35HlVs="- }- }- },- "css-line-break": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/css-line-break/-/css-line-break-1.0.1.tgz",- "integrity": "sha1-GfIGOjPpX7KDG4ZEbAuAwYivRQo=",- "requires": {- "base64-arraybuffer": "^0.1.5"- }- },- "file-saver": {- "version": "github:eligrey/FileSaver.js#e865e37af9f9947ddcced76b549e27dc45c1cb2e",- "from": "github:eligrey/FileSaver.js#1.3.8"- },- "html2canvas": {- "version": "1.0.0-alpha.12",- "resolved": "https://registry.npmjs.org/html2canvas/-/html2canvas-1.0.0-alpha.12.tgz",- "integrity": "sha1-OxmS48mz9WBjw1/WIElPN+uohRM=",- "requires": {- "css-line-break": "1.0.1"- }- },- "jspdf": {- "version": "1.5.3",- "resolved": "https://registry.npmjs.org/jspdf/-/jspdf-1.5.3.tgz",- "integrity": "sha512-J9X76xnncMw+wIqb15HeWfPMqPwYxSpPY8yWPJ7rAZN/ZDzFkjCSZObryCyUe8zbrVRNiuCnIeQteCzMn7GnWw==",- "requires": {- "canvg": "1.5.3",- "file-saver": "github:eligrey/FileSaver.js#e865e37af9f9947ddcced76b549e27dc45c1cb2e",- "html2canvas": "1.0.0-alpha.12",- "omggif": "1.0.7",- "promise-polyfill": "8.1.0",- "stackblur-canvas": "2.2.0"- },- "dependencies": {- "file-saver": {- "version": "github:eligrey/FileSaver.js#e865e37af9f9947ddcced76b549e27dc45c1cb2e",- "from": "github:eligrey/FileSaver.js#e865e37af9f9947ddcced76b549e27dc45c1cb2e"- }- }- },- "stackblur-canvas": {- "version": "2.2.0",- "resolved": "https://registry.npmjs.org/stackblur-canvas/-/stackblur-canvas-2.2.0.tgz",- "integrity": "sha512-5Gf8dtlf8k6NbLzuly2NkGrkS/Ahh+I5VUjO7TnFizdJtgpfpLLEdQlLe9umbcnZlitU84kfYjXE67xlSXfhfQ=="- }- }- },"jsprim": {"version": "1.4.1","resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz",@@ -16856,6 +16930,23 @@"type-check": "~0.3.2"}},+ "linebreak": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/linebreak/-/linebreak-1.0.2.tgz",+ "integrity": "sha512-bJwSRsJeAmaZYnkcwl5sCQNfSDAhBuXxb6L27tb+qkBRtUQSSTUa5bcgCPD6hFEkRNlpWHfK7nFMmcANU7ZP1w==",+ "requires": {+ "base64-js": "0.0.8",+ "brfs": "^2.0.2",+ "unicode-trie": "^1.0.0"+ },+ "dependencies": {+ "base64-js": {+ "version": "0.0.8",+ "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-0.0.8.tgz",+ "integrity": "sha1-EQHpVE9KdrG8OybUUsqW16NeeXg="+ }+ }+ },"list.js": {"version": "1.5.0","resolved": "https://registry.npmjs.org/list.js/-/list.js-1.5.0.tgz",@@ -16951,6 +17042,14 @@"yallist": "^3.0.2"}},+ "magic-string": {+ "version": "0.25.1",+ "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.1.tgz",+ "integrity": "sha512-sCuTz6pYom8Rlt4ISPFn6wuFodbKMIHUMv4Qko9P17dpxb7s52KJTmRuZZqHdGmLCK9AOcDare039nRIcfdkEg==",+ "requires": {+ "sourcemap-codec": "^1.4.1"+ }+ },"make-dir": {"version": "1.3.0","resolved": "https://registry.npmjs.org/make-dir/-/make-dir-1.3.0.tgz",@@ -17468,6 +17567,11 @@"integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==","dev": true},+ "next-tick": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.1.0.tgz",+ "integrity": "sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ=="+ },"nice-try": {"version": "1.0.5","resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz",@@ -17756,11 +17860,6 @@"integrity": "sha1-b2gragJ6Tp3fpFZM0lidHU5mnt4=","dev": true},- "nwmatcher": {- "version": "1.4.4",- "resolved": "https://registry.npmjs.org/nwmatcher/-/nwmatcher-1.4.4.tgz",- "integrity": "sha512-3iuY4N5dhgMpCUrOVnuAdGrgxVqV2cJpM+XNccjR2DKOB1RUP0aA+wGXEiNziG/UKboFyGBIoKOaNlJxx8bciQ=="- },"oauth-sign": {"version": "0.8.2","resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.8.2.tgz",@@ -17839,7 +17938,6 @@"version": "1.1.4","resolved": "https://registry.npmjs.org/object-is/-/object-is-1.1.4.tgz","integrity": "sha512-1ZvAZ4wlF7IyPVOcE1Omikt7UpaFlOQq0HlSti+ZvDH3UiD2brwGMwDbyV43jao2bKJ+4+WdPJHSd7kgzKYVqg==",- "dev": true,"requires": {"call-bind": "^1.0.0","define-properties": "^1.1.3"@@ -17928,11 +18026,6 @@"integrity": "sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg==","dev": true},- "omggif": {- "version": "1.0.7",- "resolved": "https://registry.npmjs.org/omggif/-/omggif-1.0.7.tgz",- "integrity": "sha1-WdLuywJj3oRjWz/riHwMmXPx5J0="- },"on-finished": {"version": "2.3.0","resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz",@@ -18178,11 +18271,6 @@"integrity": "sha1-bVuTSkVpk7I9N/QKOC1vFmao5cY=","dev": true},- "parse5": {- "version": "1.5.1",- "resolved": "https://registry.npmjs.org/parse5/-/parse5-1.5.1.tgz",- "integrity": "sha1-m387DeMr543CQBsXVzzK8Pb1nZQ="- },"parseurl": {"version": "1.3.3","resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",@@ -18274,6 +18362,39 @@"sha.js": "^2.4.8"}},+ "pdfkit": {+ "version": "0.12.3",+ "resolved": "https://registry.npmjs.org/pdfkit/-/pdfkit-0.12.3.tgz",+ "integrity": "sha512-+qDLgm2yq6WOKcxTb43lDeo3EtMIDQs0CK1RNqhHC9iT6u0KOmgwAClkYh9xFw2ATbmUZzt4f7KMwDCOfPDluA==",+ "requires": {+ "crypto-js": "^4.0.0",+ "fontkit": "^1.8.1",+ "linebreak": "^1.0.2",+ "png-js": "^1.0.0"+ }+ },+ "pdfmake": {+ "version": "0.1.72",+ "resolved": "https://registry.npmjs.org/pdfmake/-/pdfmake-0.1.72.tgz",+ "integrity": "sha512-xZrPS+Safjf1I8ZYtMoXX83E6C6Pd1zFwa168yNTeeJWHclqf1z9DoYajjlY2uviN7gGyxwVZeou39uSk1oh1g==",+ "requires": {+ "iconv-lite": "^0.6.2",+ "linebreak": "^1.0.2",+ "pdfkit": "^0.12.0",+ "svg-to-pdfkit": "^0.1.8",+ "xmldoc": "^1.1.2"+ },+ "dependencies": {+ "iconv-lite": {+ "version": "0.6.3",+ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz",+ "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==",+ "requires": {+ "safer-buffer": ">= 2.1.2 < 3.0.0"+ }+ }+ }+ },"pend": {"version": "1.2.0","resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz",@@ -18363,6 +18484,11 @@"find-up": "^4.0.0"}},+ "png-js": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/png-js/-/png-js-1.0.0.tgz",+ "integrity": "sha512-k+YsbhpA9e+EFfKjTCH3VW6aoKlyNYI6NYdTfDL4CIvFnvsuO84ttonmZE7rc+v23SLTH8XX+5w/Ak9v0xGY4g=="+ },"portfinder": {"version": "1.0.28","resolved": "https://registry.npmjs.org/portfinder/-/portfinder-1.0.28.tgz",@@ -19027,11 +19153,6 @@"dev": true,"optional": true},- "printj": {- "version": "1.1.2",- "resolved": "https://registry.npmjs.org/printj/-/printj-1.1.2.tgz",- "integrity": "sha512-zA2SmoLaxZyArQTOPj5LXecR+RagfPSU5Kw1qP+jkWeNlrq+eJZyY2oS68SU1Z/7/myXM4lo9716laOFAVStCQ=="- },"private": {"version": "0.1.8","resolved": "https://registry.npmjs.org/private/-/private-0.1.8.tgz",@@ -19059,11 +19180,6 @@"integrity": "sha1-mEcocL8igTL8vdhoEputEsPAKeM=","dev": true},- "promise-polyfill": {- "version": "8.1.0",- "resolved": "https://registry.npmjs.org/promise-polyfill/-/promise-polyfill-8.1.0.tgz",- "integrity": "sha512-OzSf6gcCUQ01byV4BgwyUCswlaQQ6gzXc23aLQWhicvfX9kfsUiUhgt3CCQej8jDnl8/PhGF31JdHX2/MzF3WA=="- },"proxy-addr": {"version": "2.0.6","resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.6.tgz",@@ -19180,6 +19296,16 @@"integrity": "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==","dev": true},+ "quote-stream": {+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/quote-stream/-/quote-stream-1.0.2.tgz",+ "integrity": "sha1-hJY/jJwmuULhU/7rU6rnRlK34LI=",+ "requires": {+ "buffer-equal": "0.0.1",+ "minimist": "^1.1.3",+ "through2": "^2.0.0"+ }+ },"raf": {"version": "3.4.1","resolved": "https://registry.npmjs.org/raf/-/raf-3.4.1.tgz",@@ -19310,8 +19436,7 @@"regenerator-runtime": {"version": "0.11.1","resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz",- "integrity": "sha1-vgWtf5v30i4Fb5cmzuUBf78Z4uk=",- "dev": true+ "integrity": "sha1-vgWtf5v30i4Fb5cmzuUBf78Z4uk="},"regenerator-transform": {"version": "0.10.1",@@ -19359,7 +19484,6 @@"version": "1.3.1","resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.3.1.tgz","integrity": "sha512-JiBdRBq91WlY7uRJ0ds7R+dU02i6LKi8r3BuQhNXn+kmeLN+EfHhfjqMRis1zJxnlu88hq/4dx0P2OP3APRTOA==",- "dev": true,"requires": {"call-bind": "^1.0.2","define-properties": "^1.1.3"@@ -19564,6 +19688,14 @@"lowercase-keys": "^1.0.0"}},+ "restructure": {+ "version": "0.5.4",+ "resolved": "https://registry.npmjs.org/restructure/-/restructure-0.5.4.tgz",+ "integrity": "sha1-9U591WNZD7NP1r9Vh2EJrsyyjeg=",+ "requires": {+ "browserify-optional": "^1.0.0"+ }+ },"ret": {"version": "0.1.15","resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz",@@ -19591,7 +19723,8 @@"rgbcolor": {"version": "1.0.1","resolved": "https://registry.npmjs.org/rgbcolor/-/rgbcolor-1.0.1.tgz",- "integrity": "sha1-1lBezbMEplldom+ktDMHMGd1lF0="+ "integrity": "sha1-1lBezbMEplldom+ktDMHMGd1lF0=",+ "optional": true},"rimraf": {"version": "2.7.1",@@ -19653,6 +19786,27 @@"ajv-keywords": "^3.5.2"}},+ "scope-analyzer": {+ "version": "2.1.2",+ "resolved": "https://registry.npmjs.org/scope-analyzer/-/scope-analyzer-2.1.2.tgz",+ "integrity": "sha512-5cfCmsTYV/wPaRIItNxatw02ua/MThdIUNnUOCYp+3LSEJvnG804ANw2VLaavNILIfWXF1D1G2KNANkBBvInwQ==",+ "requires": {+ "array-from": "^2.1.1",+ "dash-ast": "^2.0.1",+ "es6-map": "^0.1.5",+ "es6-set": "^0.1.5",+ "es6-symbol": "^3.1.1",+ "estree-is-function": "^1.0.0",+ "get-assigned-identifiers": "^1.1.0"+ },+ "dependencies": {+ "dash-ast": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/dash-ast/-/dash-ast-2.0.1.tgz",+ "integrity": "sha512-5TXltWJGc+RdnabUGzhRae1TRq6m4gr+3K2wQX0is5/F2yS6MJXJvLyI3ErAnsAXuJoGqvfVD5icRgim07DrxQ=="+ }+ }+ },"select-hose": {"version": "2.0.0","resolved": "https://registry.npmjs.org/select-hose/-/select-hose-2.0.0.tgz",@@ -19808,6 +19962,11 @@"safe-buffer": "^5.0.1"}},+ "shallow-copy": {+ "version": "0.0.1",+ "resolved": "https://registry.npmjs.org/shallow-copy/-/shallow-copy-0.0.1.tgz",+ "integrity": "sha1-QV9CcC1z2BAzApLMXuhurhoRoXA="+ },"shasum-object": {"version": "1.0.0","resolved": "https://registry.npmjs.org/shasum-object/-/shasum-object-1.0.0.tgz",@@ -20093,6 +20252,11 @@"integrity": "sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw==","dev": true},+ "sourcemap-codec": {+ "version": "1.4.8",+ "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz",+ "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA=="+ },"spdy": {"version": "4.0.2","resolved": "https://registry.npmjs.org/spdy/-/spdy-4.0.2.tgz",@@ -20275,6 +20439,14 @@"integrity": "sha512-GrdeshiRmS1YLMYgzF16olf2jJ/IzxXY9lhKOskuVziubpTYcYqyOwYeJKzQkwy7uN0fYSsbsC4RQaXf9LCrYA==","dev": true},+ "static-eval": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/static-eval/-/static-eval-2.1.0.tgz",+ "integrity": "sha512-agtxZ/kWSsCkI5E4QifRwsaPs0P0JmZV6dkLz6ILYfFYQGn+5plctanRN+IC8dJRiFkyXHrwEE3W9Wmx67uDbw==",+ "requires": {+ "escodegen": "^1.11.1"+ }+ },"static-extend": {"version": "0.1.2","resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz",@@ -20333,6 +20505,75 @@}}},+ "static-module": {+ "version": "3.0.4",+ "resolved": "https://registry.npmjs.org/static-module/-/static-module-3.0.4.tgz",+ "integrity": "sha512-gb0v0rrgpBkifXCa3yZXxqVmXDVE+ETXj6YlC/jt5VzOnGXR2C15+++eXuMDUYsePnbhf+lwW0pE1UXyOLtGCw==",+ "requires": {+ "acorn-node": "^1.3.0",+ "concat-stream": "~1.6.0",+ "convert-source-map": "^1.5.1",+ "duplexer2": "~0.1.4",+ "escodegen": "^1.11.1",+ "has": "^1.0.1",+ "magic-string": "0.25.1",+ "merge-source-map": "1.0.4",+ "object-inspect": "^1.6.0",+ "readable-stream": "~2.3.3",+ "scope-analyzer": "^2.0.1",+ "shallow-copy": "~0.0.1",+ "static-eval": "^2.0.5",+ "through2": "~2.0.3"+ },+ "dependencies": {+ "concat-stream": {+ "version": "1.6.2",+ "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz",+ "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==",+ "requires": {+ "buffer-from": "^1.0.0",+ "inherits": "^2.0.3",+ "readable-stream": "^2.2.2",+ "typedarray": "^0.0.6"+ }+ },+ "merge-source-map": {+ "version": "1.0.4",+ "resolved": "https://registry.npmjs.org/merge-source-map/-/merge-source-map-1.0.4.tgz",+ "integrity": "sha1-pd5GU42uhNQRTMXqArR3KmNGcB8=",+ "requires": {+ "source-map": "^0.5.6"+ }+ },+ "process-nextick-args": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz",+ "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag=="+ },+ "readable-stream": {+ "version": "2.3.7",+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz",+ "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==",+ "requires": {+ "core-util-is": "~1.0.0",+ "inherits": "~2.0.3",+ "isarray": "~1.0.0",+ "process-nextick-args": "~2.0.0",+ "safe-buffer": "~5.1.1",+ "string_decoder": "~1.1.1",+ "util-deprecate": "~1.0.1"+ }+ },+ "string_decoder": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",+ "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==",+ "requires": {+ "safe-buffer": "~5.1.0"+ }+ }+ }+ },"statuses": {"version": "1.5.0","resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz",@@ -20588,6 +20829,14 @@"integrity": "sha512-qsjeeq5YjBZ5eMdFuUa4ZosMLxgr5RZ+F+Y1OrDhuOCEInRMA3x74XdBtggJcj9kOeInz0WE+LgCPDkZFlBYJw==","optional": true},+ "svg-to-pdfkit": {+ "version": "0.1.8",+ "resolved": "https://registry.npmjs.org/svg-to-pdfkit/-/svg-to-pdfkit-0.1.8.tgz",+ "integrity": "sha512-QItiGZBy5TstGy+q8mjQTMGRlDDOARXLxH+sgVm1n/LYeo0zFcQlcCh8m4zi8QxctrxB9Kue/lStc/RD5iLadQ==",+ "requires": {+ "pdfkit": ">=0.8.1"+ }+ },"svgo": {"version": "1.3.2","resolved": "https://registry.npmjs.org/svgo/-/svgo-1.3.2.tgz",@@ -20649,11 +20898,6 @@}}},- "symbol-tree": {- "version": "3.2.4",- "resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz",- "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw=="- },"syntax-error": {"version": "1.4.0","resolved": "https://registry.npmjs.org/syntax-error/-/syntax-error-1.4.0.tgz",@@ -20663,17 +20907,16 @@}},"tableexport.jquery.plugin": {- "version": "1.10.21",- "resolved": "https://registry.npmjs.org/tableexport.jquery.plugin/-/tableexport.jquery.plugin-1.10.21.tgz",- "integrity": "sha512-mLzuFmL1zo1hBjGqdG0Ico92LQOHo7AECHhe+GFyywdTBE6fWX93Ww9pKhWJW3MqzRghJYl4cEGz1a9KjppiUw==",+ "version": "1.25.0",+ "resolved": "https://registry.npmjs.org/tableexport.jquery.plugin/-/tableexport.jquery.plugin-1.25.0.tgz",+ "integrity": "sha512-+9dpFTZ2toqQJ0l+Rfoc3eW1ZMBgqvdK3ie+sDgCHRGnT5r/tZf2ZRyhoiHzRAvdLyoY283oJyVD/HCkwCzhlA==","requires": {- "es6-promise": ">=4.2.4",- "file-saver": ">=1.2.0",- "html2canvas": ">=0.5.0-beta4",- "jquery": ">=1.9.1",- "jspdf": ">=1.3.4",- "jspdf-autotable": "2.0.14 || 2.0.17",- "xlsx": ">=0.12.5"+ "file-saver": ">=2.0.1",+ "html2canvas": ">=1.0.0",+ "jquery": ">=3.2.1",+ "jspdf": ">=2.0.0",+ "pdfmake": "^0.1.71",+ "xlsx": ">=0.16.0"}},"tapable": {@@ -20743,11 +20986,11 @@"integrity": "sha1-1WqBhZDY/nLjh/d6Z/k6uW2OH7I="},"text-segmentation": {- "version": "1.0.2",- "resolved": "https://registry.npmjs.org/text-segmentation/-/text-segmentation-1.0.2.tgz",- "integrity": "sha512-uTqvLxdBrVnx/CFQOtnf8tfzSXFm+1Qxau7Xi54j4OPTZokuDOX8qncQzrg2G8ZicAMOM8TgzFAYTb+AqNO4Cw==",+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/text-segmentation/-/text-segmentation-1.0.3.tgz",+ "integrity": "sha512-iOiPUo/BGnZ6+54OsWxZidGCsdU8YbE4PSpdPinp7DeMtUJNJBoJ/ouUSTJjHkh1KntHaltHl/gDs2FC4i5+Nw==","requires": {- "utrie": "^1.0.1"+ "utrie": "^1.0.2"}},"throttleit": {@@ -20823,6 +21066,11 @@"integrity": "sha1-QFQRqOfmM5/mTbmiNN4R3DHgK9Q=","dev": true},+ "tiny-inflate": {+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/tiny-inflate/-/tiny-inflate-1.0.3.tgz",+ "integrity": "sha512-pkY1fj1cKHb2seWDy0B16HeWyczlJA9/WW3u3c4z/NiWDsO3DOU5D7nhTLE9CF0yXv/QZFY7sEJmj24dK+Rrqw=="+ },"to-arraybuffer": {"version": "1.0.1","resolved": "https://registry.npmjs.org/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz",@@ -20898,11 +21146,6 @@"resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.2.2.tgz","integrity": "sha1-yDoYMPTl7wuT7yo0iOck+N4Basc="},- "tr46": {- "version": "0.0.3",- "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz",- "integrity": "sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o="- },"tslib": {"version": "1.14.1","resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",@@ -20923,6 +21166,11 @@"resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz","integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q="},+ "type": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/type/-/type-1.2.0.tgz",+ "integrity": "sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg=="+ },"type-check": {"version": "0.3.2","resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz",@@ -21009,12 +21257,53 @@"integrity": "sha512-wjuQHGQVofmSJv1uVISKLE5zO2rNGzM/KCYZch/QQvez7C1hUhBIuZ701fYXExuufJFMPhv2SyL8CyoIfMLbIQ==","dev": true},+ "unicode-properties": {+ "version": "1.3.1",+ "resolved": "https://registry.npmjs.org/unicode-properties/-/unicode-properties-1.3.1.tgz",+ "integrity": "sha512-nIV3Tf3LcUEZttY/2g4ZJtGXhWwSkuLL+rCu0DIAMbjyVPj+8j5gNVz4T/sVbnQybIsd5SFGkPKg/756OY6jlA==",+ "requires": {+ "base64-js": "^1.3.0",+ "unicode-trie": "^2.0.0"+ },+ "dependencies": {+ "pako": {+ "version": "0.2.9",+ "resolved": "https://registry.npmjs.org/pako/-/pako-0.2.9.tgz",+ "integrity": "sha1-8/dSL073gjSNqBYbrZ7P1Rv4OnU="+ },+ "unicode-trie": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/unicode-trie/-/unicode-trie-2.0.0.tgz",+ "integrity": "sha512-x7bc76x0bm4prf1VLg79uhAzKw8DVboClSN5VxJuQ+LKDOVEW9CdH+VY7SP+vX7xCYQqzzgQpFqz15zeLvAtZQ==",+ "requires": {+ "pako": "^0.2.5",+ "tiny-inflate": "^1.0.0"+ }+ }+ }+ },"unicode-property-aliases-ecmascript": {"version": "1.1.0","resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-1.1.0.tgz","integrity": "sha512-PqSoPh/pWetQ2phoj5RLiaqIk4kCNwoV3CI+LfGmWLKI3rE3kl1h59XpX2BjgDrmbxD9ARtQobPGU1SguCYuQg==","dev": true},+ "unicode-trie": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/unicode-trie/-/unicode-trie-1.0.0.tgz",+ "integrity": "sha512-v5raLKsobbFbWLMoX9+bChts/VhPPj3XpkNr/HbqkirXR1DPk8eo9IYKyvk0MQZFkaoRsFj2Rmaqgi2rfAZYtA==",+ "requires": {+ "pako": "^0.2.5",+ "tiny-inflate": "^1.0.0"+ },+ "dependencies": {+ "pako": {+ "version": "0.2.9",+ "resolved": "https://registry.npmjs.org/pako/-/pako-0.2.9.tgz",+ "integrity": "sha1-8/dSL073gjSNqBYbrZ7P1Rv4OnU="+ }+ }+ },"union-value": {"version": "1.0.1","resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz",@@ -21255,18 +21544,11 @@"dev": true},"utrie": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/utrie/-/utrie-1.0.1.tgz",- "integrity": "sha512-JPaDXF3vzgZxfeEwutdGzlrNoVFL5UvZcbO6Qo9D4GoahrieUPoMU8GCpVpR7MQqcKhmShIh8VlbEN3PLM3EBg==",+ "version": "1.0.2",+ "resolved": "https://registry.npmjs.org/utrie/-/utrie-1.0.2.tgz",+ "integrity": "sha512-1MLa5ouZiOmQzUbjbu9VmjLzn1QLXBhwpUa7kdLUQK+KQ5KA9I1vk5U4YHe/X2Ch7PYnJfWuWT+VbuxbGwljhw==","requires": {- "base64-arraybuffer": "^1.0.1"- },- "dependencies": {- "base64-arraybuffer": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-1.0.1.tgz",- "integrity": "sha512-vFIUq7FdLtjZMhATwDul5RZWv2jpXQ09Pd6jcVEOvIsqCWTRFD/ONHNfyOS8dA/Ippi5dsIgpyKWKZaAKZltbA=="- }+ "base64-arraybuffer": "^1.0.2"}},"uuid": {@@ -21516,11 +21798,6 @@"minimalistic-assert": "^1.0.0"}},- "webidl-conversions": {- "version": "3.0.1",- "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz",- "integrity": "sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE="- },"webpack": {"version": "4.46.0","resolved": "https://registry.npmjs.org/webpack/-/webpack-4.46.0.tgz",@@ -22292,15 +22569,6 @@"integrity": "sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg==","dev": true},- "whatwg-url": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-2.0.1.tgz",- "integrity": "sha1-U5ayBD8CDub3BNnEXqhRnnJN5lk=",- "requires": {- "tr46": "~0.0.3",- "webidl-conversions": "^3.0.0"- }- },"which": {"version": "2.0.2","resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",@@ -22432,43 +22700,26 @@}},"xlsx": {- "version": "0.17.3",- "resolved": "https://registry.npmjs.org/xlsx/-/xlsx-0.17.3.tgz",- "integrity": "sha512-dGZKfyPSXfnoITruwisuDVZkvnxhjgqzWJXBJm2Khmh01wcw8//baRUvhroVRhW2SLbnlpGcCZZbeZO1qJgMIw==",+ "version": "0.18.5",+ "resolved": "https://registry.npmjs.org/xlsx/-/xlsx-0.18.5.tgz",+ "integrity": "sha512-dmg3LCjBPHZnQp5/F/+nnTa+miPJxUXB6vtk42YjBBKayDNagxGEeIdWApkYPOf3Z3pm3k62Knjzp7lMeTEtFQ==","requires": {- "adler-32": "~1.2.0",- "cfb": "^1.1.4",+ "adler-32": "~1.3.0",+ "cfb": "~1.2.1","codepage": "~1.15.0",- "commander": "~2.17.1",- "crc-32": "~1.2.0",- "exit-on-epipe": "~1.0.1",- "fflate": "^0.7.1",+ "crc-32": "~1.2.1","ssf": "~0.11.2","wmf": "~1.0.1","word": "~0.3.0"- },- "dependencies": {- "commander": {- "version": "2.17.1",- "resolved": "https://registry.npmjs.org/commander/-/commander-2.17.1.tgz",- "integrity": "sha512-wPMUt6FnH2yzG95SA6mzjQOEKUU3aLaDEmzs1ti+1E9h+CsrZghRlqEM/EJ4KscsQVG8uNN4uVreUeT8+drlgg=="- },- "fflate": {- "version": "0.7.1",- "resolved": "https://registry.npmjs.org/fflate/-/fflate-0.7.1.tgz",- "integrity": "sha512-VYM2Xy1gSA5MerKzCnmmuV2XljkpKwgJBKezW+495TTnTCh1x5HcYa1aH8wRU/MfTGhW4ziXqgwprgQUVl3Ohw=="- }}},- "xml-name-validator": {- "version": "2.0.1",- "resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-2.0.1.tgz",- "integrity": "sha1-TYuPHszTQZqjYgYb7O9RXh5VljU="- },- "xmldom": {- "version": "0.1.31",- "resolved": "https://registry.npmjs.org/xmldom/-/xmldom-0.1.31.tgz",- "integrity": "sha512-yS2uJflVQs6n+CyjHoaBmVSqIDevTAWrzMmjG1Gc7h1qQ7uVozNhEPJAwZXWyGQ/Gafo3fCwrcaokezLPupVyQ=="+ "xmldoc": {+ "version": "1.1.2",+ "resolved": "https://registry.npmjs.org/xmldoc/-/xmldoc-1.1.2.tgz",+ "integrity": "sha512-ruPC/fyPNck2BD1dpz0AZZyrEwMOrWTO5lDdIXS91rs3wtm4j+T8Rp2o+zoOYkkAxJTZRPOSnOGei1egoRmKMQ==",+ "requires": {+ "sax": "^1.2.1"+ }},"xtend": {"version": "4.0.2",diff --git a/package.json b/package.jsonindex 983114ca99..02ea88fe59 100644--- a/package.json+++ b/package.json@@ -32,7 +32,7 @@"bootstrap-colorpicker": "^2.5.3","bootstrap-datepicker": "^1.9.0","bootstrap-less": "^3.3.8",- "bootstrap-table": "1.18.x",+ "bootstrap-table": "1.20.0","chart.js": "^2.9.4","css-loader": "^3.6.0","ekko-lightbox": "^5.1.1",@@ -51,7 +51,7 @@"phantomjs": "^2.1.7","select2": "4.0.13","sheetjs": "^2.0.0",- "tableexport.jquery.plugin": "=1.10.21",+ "tableexport.jquery.plugin": "1.25.0","tether": "^1.4.0","vue-resource": "^1.3.3"}diff --git a/public/css/dist/all.css b/public/css/dist/all.cssindex b6ae954f5b..19c04faeac 100644--- a/public/css/dist/all.css+++ b/public/css/dist/all.css@@ -28,4 +28,4 @@* Licensed under the Apache License v2.0* http://www.apache.org/licenses/LICENSE-2.0.txt*- */.colorpicker-saturation{width:100px;height:100px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAQAAADa613fAAAP9klEQVR4XnRWC47rNgwcKjlA0bv2VL1Qi/YELRav7203iS1ppqZoiXCAhuBHVLI74xFtG3/Hz2joIOjRGuR5eMYuRn9YA1fds859KX8ZvczLr9/pImiR3Rqky9/wlajRIdVE/1Rufeu/0No3/ASgBZAJUkwgi0iCaEatekJJoEqiTQncd67/gyOfRCZshTed0Nl8LbLj8D6qxtoq9/7kJz/aH/3Xfu8VwI5+AUH8DxE7gUyiIpZ5LwiGzUqE3CScJsCDQHAsvBnxWpkbC0QMHmBp6latWS0bnvrCN/x1+xPfce+Ij0GAyeAGGz15sOiax2UylPhKrFaMPnVWClwepKh07hdhkVDsK2uoyEIySergjdbY2VBtV8VLr8Mf9mF/4wMb7kR8FOhzFWZZe7HIZD9JRIbee28eJKBweTB6TwjYkAgWaUmtDveGw1Wx3zZ76YlPPfQd/+gTTUFkiGiJ+NQAszU1EPT/QJEgufolAMPkNU4CVOyUIBLg4xglEZHGQnTFOFV0VaulYddBhA986ge/7N/yQi/3flFgwfQq2ibLnTDBRl9TmUHyJASPV/eoN0UISIr+ICQKIFV4EpljSjV1uFVUq9hRtet5e9gXvuyHPW0zMhQxWaoBBa9Tg8vsCEhww23Smd0CKjIkmPIoxWrUBDgJqFCyESF43ctQxLUoHN7Q1KyVhqrNNm3cy2vMyQNPVKjc29Rh5SSU+giWdRJHkLnQG71FQEuNyNGBTDdBQQAKCuGiEUS/jcyGbkMPq931OIzb/dUPGuVlG7f+slqkO5NAAlzTMdcq0NkzmsEBmAQkbI+pSHbiqnuWIA6lijhvqwIxMyWxMGZiPU669XJE1tADDTs2HWpwKxuqdnTpOiOR42xlzLtm3pXGel3xd8/oTs8Xy0MV8GM1RlsC2Y3Wy3wut3M+2mEVux0Gt9fhzTWyLvGiiJYaqY5DWRFIwAiQ5r6gB9GpQihJw4I9j5Mkscj3BnzGjBhv8xna5P1Jo428o6IOPY5KFZtVOkEKqUjqQY9Gi+jrIOFwJUDzRtA9xyoIrGGmkNRmxVAnZoK+TkUIeUYni5wEzgOG5iZX5HCr2JyQNqdk++G0rgb1ochSIGutTj4P7F0PuRUAolmh5sCzAHn1BYyaADh6bgFeoBx6vst091CEvcSLWBBpqGq384jZ5llVHSwEShLx+D4d0mU3D5eEAJQ9KEhOZUYnDENV2qKgmIlQhWfdvcoXYaegPp/n1oKIOgYFqxrzQSciqNhv/5FqPpy6b0UcX2vf13DfWySRSEgkEYlEJJGQSyKJSEQSCYlEEpHexIVO3XOevffze2a+PfPv9x1rne1c3b3Mmlmz9mE++zuzngfnw/E+Dlc4LL4NwHdFy7u3KGPVmZ6/4eeMoDyre3i/KHADIHYO04w9zO0mAotuKnrc7XaPjvu66bNe5cDT7RlPepEnfS2X8dF1/utDvD+OwGDBxEgQywLCvIMYWBY+DShwAAORAdv9PswhDAqOUCi5+71AbFcDMR4xBDNfhySKXPXZ1+Vub+Q1Ltf5z7eC0AjVldHI26rIFdKIAyYBJCFVUhVDwttAnM52B3Ect1TFQXzJ0z33lOuib/QO8g+CuO0gKBRU80A8hkeJ0b1KRQWmFQVSh8mf3lpUpNaRulzN5NArrmKKGMijXgzk7w5ijdFVgT8f1IdFNjVWjDWicUYWEEMmSFDtILdzHW5XueHp7p+yuS54ep5/c5BE2Gw/gWPNYU4/PZaak2VGEsFjSbOf8irea6KQgojGCk0KxZY31tWWgzwayF8N5KYyo3VADVicWWrhwzr3ZqIOa5xW5zbqMPPMiyDURHDIHQTeWq7KFXcQPOqzPOL5Ov/iIDEDy7DHEwx0PTgjO8SS0fOEHcZNMt+XKEFMj8Q4QUSvPu6HPuvd4N9/x12RPwcIVRCAakSOUzHgsUSMFWYzDQ+PiOJqAOuYc9jh5TecnA+xHfFyOYhebeTH89P80wrCJzUjlsx7euIV0g4zQFUSiBPioIWBACFC7GgDj8P91ZSJOQmQP74MAnQo8H5RIe8kZ0kBcQCMAlEpRDiKROBxbR0ksdhWFq0gR9q9uQzkDzuIFQSPqAgRCAsCaVNF2ZAAhxvtzcqcnDk6tpXxSsayqXLIgSOb6zqeH+fvO0i9XEu5EVV+OZehRZJ6BGTeaRhCkTzVIZeAzaWGAFfErIPogQI5CuR3HQQx7DzBB16R3s7e0MBUPedjWutgG/JUTPqMeAQNEiytJRnJearWUgdwFNxN7rtBoECuj/O3BMHaTIxQ0a4GctireElTJHJvLTaalih5kvBCGMvkdESUMAdCFaI4yG8SpDfRWAptqkAJUwCG6B7lOREFSZBqKs57MEHqVJEBwHa2lp0OiKtiQ18gx9P89QrSXyc0vObBM4vPmBADqJZLAo/yzK7qPSZstCy+fDSZlhrm+Zkyjsf5q2otdC14zkLjHLf0me9wjNqQo0B1a6wBJRaIEgC2Qw9oby/cRHA+xHCQy/xlB1HVSV3Y/5yVhsc7dBi2UoIWCMcbELZWgxNCGUZ5y4ceBaLlE8dAfrEosrYT+z8ya3sxXndFBxuQivNGEHFCbLGBlBLKGYHZoeoQpcjtMn/uICPefcxecpuDOEemg9S/44cflZPIlWolyHkLrEpgbS9IQRlAgZgi0WDjsEiPh+PN/Fkogq4GdzPtarlRGW2tJwEK1RMTEvdVdmhAKHO1pdUuGQsVcX+rSfGzDbwGyE8NRPQc83HCaOkTZwPqABZBdFq8zAN1gue0FPO8wYUFBE1WkMwVzM1iQ4BItFh+H36Qy/yJg0DRQICmBl+tbKUC5cCj3yXI+SUFBS78ZAcBtHt+e9lBuiqpTNh9zTvIjzuIWxVYGQJpAZY+VWS3QKh84iSZbwuIdiDpc4KztQa/sjhMaDJEJDSZ8mZ+kCBdC0JpKVNQzZdKu+EsOeFCosrngVAkDS/uy6iGnW7UxmMpkB8FyFKo6iQW8z1HuBdMu1pdkZdB8jWTjlFtNaiJRYniIDcD+eECMqFLS9ED6DgxzCMKnRD3HYYA2uMCJUh70OK8G0EUnJV8lqe8nj84QdqLhdoJskNlEw1ivajM8LtPBhIeN99LESXI9xcQIHFQudHngZjUhXOQeGlUYmAddh5pxMhzV0M1vMAtMFIVmfp6fq+DgEWefjQVenstaqUy3bJQAiVlEihDghCDINFQg8oUhoQPkO8SBEM7SFQ72VYBwPuE7k8uYF5LNwg/TEd2zkuKjIIhTiJRlYrDfNS1QL7DYUcbcCyKJNwOwucVCVSwBBj/DwghXA2hQtACgCBBPprfXkAIFIYRXhONQARFU00Tsh6LEmmQUbkTImMi9me5qaHDIeBgHeRbdxAIqAJBCDSoCNVQglrciqX/ZCD9RRP6rgpBvhmKAFhg2ForBLXBYPtUjj7vCHPe8SXbYAY47gHB9mKeqjjIg/53fmMD0fR9Bug7SFcHI6EA1OC/E8QTL4NgBSGiCiyTChnI1zcQxmyfRZGM6w701KRybDvsIK3LWDx6mxGkcglEZQLkawnCdppZ6sgCh8trWWBUQaUWCEOlOs7HAenFE45QSu9RQQDAqchXNxDq4orQR44qRIFUQvM+mRJuB6GDEixgCbSBQGXghEEbdn1P/zO/QhAWCsWsmRhLa2VFkSZIgSVKmgEQhvk6K8YKMRZl7Dwg4amOUYvFBfLlE4RasOCB5S9PXKq0AqGDMiYIReXF0mYctITWBmqR5F38X5Y7yJfeCtKBzNbWYm5XpsMpf3dRZD3jPDesvdVCOs6KYQXIFw1E4fcE8dHWOepZBXpLJcACWUZVMRZbfvgXR4Ak8A7VVSKSVuu9p6/mFxyE7cOWavtLp952O8huK83+gmHzHaAsVXLgAvl8gPCvHzAFsM8GNXGKPH5cmN02sXTLa8QdKRXMzHv67/k5A9k1UIx36UH/VlWWtuKssNiRapB6BaLXl6MA+ayDcNS3v/sYXgCL620F1kk8QhKAEOvKu4DvajDO5zkHc4fBg76anyEIIcamBPex5EK8AoVHhMW7QAqWrYD1204CJB1hCfOAV/PTBPH0zBmJmsZZKCEaAmdqm4zMcYxYLN0JuHThIAjirAnp3px7TRgD+ZSD/K92M1CNIgbC8Ex7FkSEIlQEEUQEQQQBRBABEUQQEQTx3X0Evap9AhP39jL5OvuzAWuvbDaTTDIzX2aypUCJ0i7nAigoQAk9gUIUSxXEoCFyyVIuL9ZQcMZoArnwr4D0OLS8jGNGTgGnsZQWMYrcOARoIReAALBeWhf+RUCAIEsECFQHLkwR5zj4JW3t5WOUU5djvgQIawD53EDsctmYz8xGaZGPBUR3qNkiGwqDICUYIFpqBgRaayCfFiAWR2wWvoobmzxdF8N5kyxXmvap/sgGcLF/aoBosbG+lE395R8zCA4BqUYgOgYq+HtvBrT0LK15X8lZwx5f9klCX0rdgXzIIGbdhXMqZtHzJhuptEjmsFc4KzmN5IFPtfM7gWw2kPczSIqQSPUDYKYBMamsBCpKphW0iA5H8AbMDPJOQYjLZg1Vk4G49GlCYNYAkdOd0kwRQ8FCyAHydgLZ6Z2AqrVtjDUQ7hCEmrkEooDAsB2YnBCvkBpZ6yBvJpCd7Mn5zJ6C4QF2BUQPgHEIGUrGnHzQ8rlMekBeTyAzwDJksxwM4+w3BY02B8mIl0CmFRm+ZscxAuSnvwqQsECTIGSV6FEoJFTygVuzB5xAsKqBvAQE3+nkVoJDI1BJIaPBWik7ZSu5NIp5A3mRQaTFvLgkO9fVgEgMqqeVfb+p55tijWH+Kea71ubq4v8Sl8089sZKbKEZNq+VUfISJJF7j79WrbYgS994ZEf+nIz0pNFRWqapSmK6P45i3OQuItIiPDyg6RnxZ4D0g+CFPxAzluoRsWsaA6I6JOqVWCisDvJ0BgHTzMSRgMi0vmi8R+sR6tg/XUh7kCc7kMRqSNkTBDx0OkAUegFcMazciBXNpm798R6klXap/WZz49TQwBHqEcj4oCToUPjUuP9lfxcbyKMAwT6bTf1qqIIQDl3i5oCERNmVm0wgW4A8BGRxMX3hWh8bEV5Rvfp4DS5F3djWH2ztDNWKW7OBjgjIwsDWaKRknJjqMsh9QCa1p608lLovFkBE969DYtYelSzwSRcg535vAsFeNU9SzRCYZb4LDmxmFQKkwYGM+5y/G7b1uxMIylLdyE5yxIyYsoXWhQIpzQhYPi3JkJoKkB9+BxD0OMuyOEBe36DgyPSrxscmATldgKj8PxrkA/kA5PYMgkrocwIQ6GSRGmF0VaNqBKQZ5FYDEZSDzFTzq9mBQjAayE1A+ryDTzcQZe0Ibbxj7EwpAmTrJwEimZR9CCPtODhzxuNtY19Zd2Lf/fjCTnEiDAOg62j1utb/dv9mZ/aHCj4AyOHbsW3/As0BTzIgeJU7AAAAAElFTkSuQmCC);cursor:crosshair;float:left}.colorpicker-saturation i{display:block;height:5px;width:5px;border:1px solid #000;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;position:absolute;top:0;left:0;margin:-4px 0 0 -4px}.colorpicker-saturation i b{display:block;height:5px;width:5px;border:1px solid #fff;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.colorpicker-alpha,.colorpicker-hue{width:15px;height:100px;float:left;cursor:row-resize;margin-left:4px;margin-bottom:4px}.colorpicker-alpha i,.colorpicker-hue i{display:block;height:1px;background:#000;border-top:1px solid #fff;position:absolute;top:0;left:0;width:100%;margin-top:-1px}.colorpicker-hue{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAABkCAMAAABw8qpSAAABLFBMVEXqFBb/ABH/ACL/ADH/AEH/AFD/AGD/AG7/AH7/AI3/AJ3/AKz/ALz/AMr/ANv/AOr/APr2AP/mAP/XAP/HAP+4AP+oAP+aAP+JAP97AP9rAP9cAP9MAP8+AP8tAP8fAP8PAP8BAv8AEP8AH/8AL/8APv8ATv8AXP8Abf8Ae/8Ai/8Amv8Aqv8AuP8Ayf8A1/8A5/8A9/8A//gA/+kA/9kA/8oA/7oA/6wA/5sA/40A/30A/24A/14A/1AA/z8A/zEA/yEA/xEB/wMN/wAd/wAs/wA8/wBK/wBb/wBp/wB5/wCI/wCY/wCm/wC3/wDF/wDV/wDk/wD1/wD/+gD/7AD/3AD/zAD/vgD/rQD/nwD/jgD/gAD/cAD/YgD/UQD/QwD/MgD/JAD/FAD4Eg42qAedAAAAh0lEQVR4XgXAg3EDAAAAwI9to7Zt27a1/w49BASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTS1tHXo1KVbj159+g0YNGTYiFFjxk2YNGXajFlz5i1YtGTZilVr1m3YtGXbjl179h04dOTYiVNnzl24dOXajVt37j149OTZi1dv3n349OXbj19//wOxE1dQ8reGAAAAAElFTkSuQmCC)}.colorpicker-alpha{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAABkCAQAAAAVxWkcAAABr0lEQVR4Xo2VwU0DQQxF7dmRuNIFlzlSAR3QAaXQQdIBJVABFXDcOVAAd67cjJLR07dkhcSrkZKfb/t7bG88rFo3B5gZPMNycItu2xloGV7MWHzM9zuzFWCkmA0nK6AszCUJDW6+mG6R03ncw5v8EMTEvZ2O3AliYjpslblc0RF9LmZYWxURU6aKytWZYsoWCAe+xwOZp1GsEukGiIkYxcQCHck99+gRgB7JncyIB5SGEhP3Yh5P6JwX+u6AnYot104d8DJT7uH7M9JH6OZbimj0vfMVaYnJIZFJDBW9kHlerL2C6JV4mSt7uuo2N57RxnZ+usQjn0R1jwBJBrNO3evJpVYUWsJ/E3UiXRlv24/7YZ04xmEdWlzcKS+B/eapeyMvFd2k0+hRk/T0AmTW8h69s2sjYMsdPntECiILhAeIMZAeH4QvUwfn6ijC0tTV+fT9ky8jM9nK2g7Ly1VjSpKYq6IvsAm7MtNu1orEqa/K3KNvgMFdhfquPfJmp2dbh0/8Gzb6Y22ViaNr6n5410zXdngVhbu6XqdOtWOuin5hjABGp4a2uotZ71MVCfwDBt2/v37yo6AAAAAASUVORK5CYII=);display:none}.colorpicker-alpha,.colorpicker-hue,.colorpicker-saturation{background-size:contain}.colorpicker{padding:4px;min-width:130px;margin-top:1px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;z-index:2500}.colorpicker:after,.colorpicker:before{display:table;content:"";line-height:0}.colorpicker:after{clear:both}.colorpicker:before{content:'';display:inline-block;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #ccc;border-bottom-color:rgba(0,0,0,.2);position:absolute;top:-7px;left:6px}.colorpicker:after{content:'';display:inline-block;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #fff;position:absolute;top:-6px;left:7px}.colorpicker div{position:relative}.colorpicker.colorpicker-with-alpha{min-width:140px}.colorpicker.colorpicker-with-alpha .colorpicker-alpha{display:block}.colorpicker-color{height:10px;margin-top:5px;clear:both;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAABkCAQAAAAVxWkcAAABr0lEQVR4Xo2VwU0DQQxF7dmRuNIFlzlSAR3QAaXQQdIBJVABFXDcOVAAd67cjJLR07dkhcSrkZKfb/t7bG88rFo3B5gZPMNycItu2xloGV7MWHzM9zuzFWCkmA0nK6AszCUJDW6+mG6R03ncw5v8EMTEvZ2O3AliYjpslblc0RF9LmZYWxURU6aKytWZYsoWCAe+xwOZp1GsEukGiIkYxcQCHck99+gRgB7JncyIB5SGEhP3Yh5P6JwX+u6AnYot104d8DJT7uH7M9JH6OZbimj0vfMVaYnJIZFJDBW9kHlerL2C6JV4mSt7uuo2N57RxnZ+usQjn0R1jwBJBrNO3evJpVYUWsJ/E3UiXRlv24/7YZ04xmEdWlzcKS+B/eapeyMvFd2k0+hRk/T0AmTW8h69s2sjYMsdPntECiILhAeIMZAeH4QvUwfn6ijC0tTV+fT9ky8jM9nK2g7Ly1VjSpKYq6IvsAm7MtNu1orEqa/K3KNvgMFdhfquPfJmp2dbh0/8Gzb6Y22ViaNr6n5410zXdngVhbu6XqdOtWOuin5hjABGp4a2uotZ71MVCfwDBt2/v37yo6AAAAAASUVORK5CYII=);background-position:0 100%}.colorpicker-color div{height:10px}.colorpicker-selectors{display:none;height:10px;margin-top:5px;clear:both}.colorpicker-selectors i{cursor:pointer;float:left;height:10px;width:10px}.colorpicker-selectors i+i{margin-left:3px}.colorpicker-element .add-on i,.colorpicker-element .input-group-addon i{display:inline-block;cursor:pointer;height:16px;vertical-align:text-top;width:16px}.colorpicker.colorpicker-inline{position:relative;display:inline-block;float:none;z-index:auto}.colorpicker.colorpicker-horizontal{width:110px;min-width:110px;height:auto}.colorpicker.colorpicker-horizontal .colorpicker-saturation{margin-bottom:4px}.colorpicker.colorpicker-horizontal .colorpicker-color{width:100px}.colorpicker.colorpicker-horizontal .colorpicker-alpha,.colorpicker.colorpicker-horizontal .colorpicker-hue{width:100px;height:15px;float:left;cursor:col-resize;margin-left:0;margin-bottom:4px}.colorpicker.colorpicker-horizontal .colorpicker-alpha i,.colorpicker.colorpicker-horizontal .colorpicker-hue i{display:block;height:15px;background:#fff;position:absolute;top:0;left:0;width:1px;border:none;margin-top:0}.colorpicker.colorpicker-horizontal .colorpicker-hue{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAAABCAMAAAAfBfuPAAABLFBMVEXqFBb/ABH/ACL/ADH/AEH/AFD/AGD/AG7/AH7/AI3/AJ3/AKz/ALz/AMr/ANv/AOr/APr2AP/mAP/XAP/HAP+4AP+oAP+aAP+JAP97AP9rAP9cAP9MAP8+AP8tAP8fAP8PAP8BAv8AEP8AH/8AL/8APv8ATv8AXP8Abf8Ae/8Ai/8Amv8Aqv8AuP8Ayf8A1/8A5/8A9/8A//gA/+kA/9kA/8oA/7oA/6wA/5sA/40A/30A/24A/14A/1AA/z8A/zEA/yEA/xEB/wMN/wAd/wAs/wA8/wBK/wBb/wBp/wB5/wCI/wCY/wCm/wC3/wDF/wDV/wDk/wD1/wD/+gD/7AD/3AD/zAD/vgD/rQD/nwD/jgD/gAD/cAD/YgD/UQD/QwD/MgD/JAD/FAD4Eg42qAedAAAAbUlEQVR4XgXAghEDsbxtlrZt27ax/w49ACAYQTGcICmaYTleECVZUTXdMC1Wm93hdLk9Xp8/EAyFI9FYPJFMpTPZXL5QLJUr1Vq90Wy1O91efzAcjSfT2XyxXK03293+cDydL9fb/fF8vT/f3x+LfRNXARMbCAAAAABJRU5ErkJggg==)}.colorpicker.colorpicker-horizontal .colorpicker-alpha{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAAAKCAQAAADoFTP1AAAB9ElEQVR4XoWTQW4VMRBEu9qWEimL7DhEMp8NF+ASnJJLcAQgE1bcgBUSkYKUuHCrZ9pjeqSU5Yn9LPu7umJQBIIv+k7vIOrtK66L4lmr3pVOrOv3otp619KZ0/KjdNI79L52Uo09FBQWrU0vfe5trezU+hLsoUKd3Repovte+0vbq/7Lj5XbaHECKasR9G4MPlbp+gzZxd6koPEJCkAYC5SjcOTAIIOK90Dja1IfIZ8Z+zAY9jm3b5Ia+MT5sFcqRJrR2AYYA8Kua5BzYRrFPNmD4PQMegGJMOffJJUsWiI3nCHZZjInNdffLWOufzbc3JaboCAVxwmnRHbhLSPwRJ4wU0BRSc6HkECYYVw95nMKgJOcylxrJttE5Ibzf9Xq9GPvP+WX3MiV/MGHfRu/SentRQrfG1GzsIrytdNXucSRKxQNIGHM9YhGFQJcdjNcBZvfJayuYe4Sia1CzwW+19mWOhe37HsxJWKwbu/jluEU15QzAQjAqCEbhMJc78GYV2E0kooHDubUImWkTOhGpgv8PoT8DJG/bzxna4BZ0eOFSOaLADGeSpFsg5AzeaDZIDQQXjZ4y/8ryfzUXBwdELRjTjCNvOeT0rNlrJz90vwy6N9pXXQEluX0inElpPWokSdiLCfiNJJjMKQ8Qsh8GEKQKMo/eiHrNbI9UksAAAAASUVORK5CYII=)}.colorpicker-right:before{left:auto;right:6px}.colorpicker-right:after{left:auto;right:7px}.colorpicker-no-arrow:before{border-right:0;border-left:0}.colorpicker-no-arrow:after{border-right:0;border-left:0}.colorpicker-alpha.colorpicker-visible,.colorpicker-hue.colorpicker-visible,.colorpicker-saturation.colorpicker-visible,.colorpicker-selectors.colorpicker-visible,.colorpicker.colorpicker-visible{display:block}.colorpicker-alpha.colorpicker-hidden,.colorpicker-hue.colorpicker-hidden,.colorpicker-saturation.colorpicker-hidden,.colorpicker-selectors.colorpicker-hidden,.colorpicker.colorpicker-hidden{display:none}.colorpicker-inline.colorpicker-visible{display:inline-block}.fileinput-button{position:relative;overflow:hidden;display:inline-block}.fileinput-button input{position:absolute;top:0;right:0;margin:0;opacity:0;-ms-filter:'alpha(opacity=0)';font-size:200px!important;direction:ltr;cursor:pointer}@media screen\9{.fileinput-button input{font-size:100%;height:100%}}.fileupload-buttonbar .btn,.fileupload-buttonbar .toggle{margin-bottom:5px}.progress-animated .bar,.progress-animated .progress-bar{background:url(../img/progressbar.gif)!important;filter:none}.fileupload-process{float:right;display:none}.files .processing .preview,.fileupload-processing .fileupload-process{display:block;width:32px;height:32px;background:url(../img/loading.gif) center no-repeat;background-size:contain}.files audio,.files video{max-width:300px}@media (max-width:767px){.files .btn span,.files .toggle,.fileupload-buttonbar .toggle{display:none}.files .name{width:80px;word-wrap:break-word}.files audio,.files video{max-width:80px}.files canvas,.files img{max-width:100%}}.ekko-lightbox{display:-ms-flexbox!important;display:flex!important;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;padding-right:0!important}.ekko-lightbox-container{position:relative}.ekko-lightbox-container>div.ekko-lightbox-item{position:absolute;top:0;left:0;bottom:0;right:0;width:100%}.ekko-lightbox iframe{width:100%;height:100%}.ekko-lightbox-nav-overlay{z-index:1;position:absolute;top:0;left:0;width:100%;height:100%;display:-ms-flexbox;display:flex}.ekko-lightbox-nav-overlay a{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0;transition:opacity .5s;color:#fff;font-size:30px;z-index:1}.ekko-lightbox-nav-overlay a>*{-ms-flex-positive:1;flex-grow:1}.ekko-lightbox-nav-overlay a>:focus{outline:0}.ekko-lightbox-nav-overlay a span{padding:0 30px}.ekko-lightbox-nav-overlay a:last-child span{text-align:right}.ekko-lightbox-nav-overlay a:hover{text-decoration:none}.ekko-lightbox-nav-overlay a:focus{outline:0}.ekko-lightbox-nav-overlay a.disabled{cursor:default;visibility:hidden}.ekko-lightbox a:hover{opacity:1;text-decoration:none}.ekko-lightbox .modal-dialog{display:none}.ekko-lightbox .modal-footer{text-align:left}.ekko-lightbox-loader{position:absolute;top:0;left:0;bottom:0;right:0;width:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.ekko-lightbox-loader>div{width:40px;height:40px;position:relative;text-align:center}.ekko-lightbox-loader>div>div{width:100%;height:100%;border-radius:50%;background-color:#fff;opacity:.6;position:absolute;top:0;left:0;animation:a 2s infinite ease-in-out}.ekko-lightbox-loader>div>div:last-child{animation-delay:-1s}.modal-dialog .ekko-lightbox-loader>div>div{background-color:#333}@keyframes a{0%,to{transform:scale(0);-webkit-transform:scale(0)}50%{transform:scale(1);-webkit-transform:scale(1)}}.bootstrap-table .fixed-table-toolbar::after{content:"";display:block;clear:both}.bootstrap-table .fixed-table-toolbar .bs-bars,.bootstrap-table .fixed-table-toolbar .columns,.bootstrap-table .fixed-table-toolbar .search{position:relative;margin-top:10px;margin-bottom:10px}.bootstrap-table .fixed-table-toolbar .columns .btn-group>.btn-group{display:inline-block;margin-left:-1px!important}.bootstrap-table .fixed-table-toolbar .columns .btn-group>.btn-group>.btn{border-radius:0}.bootstrap-table .fixed-table-toolbar .columns .btn-group>.btn-group:first-child>.btn{border-top-left-radius:4px;border-bottom-left-radius:4px}.bootstrap-table .fixed-table-toolbar .columns .btn-group>.btn-group:last-child>.btn{border-top-right-radius:4px;border-bottom-right-radius:4px}.bootstrap-table .fixed-table-toolbar .columns .dropdown-menu{text-align:left;max-height:300px;overflow:auto;-ms-overflow-style:scrollbar;z-index:1001}.bootstrap-table .fixed-table-toolbar .columns label{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.428571429}.bootstrap-table .fixed-table-toolbar .columns-left{margin-right:5px}.bootstrap-table .fixed-table-toolbar .columns-right{margin-left:5px}.bootstrap-table .fixed-table-toolbar .pull-right .dropdown-menu{right:0;left:auto}.bootstrap-table .fixed-table-container{position:relative;clear:both}.bootstrap-table .fixed-table-container .table{width:100%;margin-bottom:0!important}.bootstrap-table .fixed-table-container .table td,.bootstrap-table .fixed-table-container .table th{vertical-align:middle;box-sizing:border-box}.bootstrap-table .fixed-table-container .table thead th{vertical-align:bottom;padding:0;margin:0}.bootstrap-table .fixed-table-container .table thead th:focus{outline:0 solid transparent}.bootstrap-table .fixed-table-container .table thead th.detail{width:30px}.bootstrap-table .fixed-table-container .table thead th .th-inner{padding:.75rem;vertical-align:bottom;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bootstrap-table .fixed-table-container .table thead th .sortable{cursor:pointer;background-position:right;background-repeat:no-repeat;padding-right:30px!important}.bootstrap-table .fixed-table-container .table thead th .both{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAAkElEQVQoz7X QMQ5AQBCF4dWQSJxC5wwax1Cq1e7BAdxD5SL+Tq/QCM1oNiJidwox0355mXnG/DrEtIQ6azioNZQxI0ykPhTQIwhCR+BmBYtlK7kLJYwWCcJA9M4qdrZrd8pPjZWPtOqdRQy320YSV17OatFC4euts6z39GYMKRPCTKY9UnPQ6P+GtMRfGtPnBCiqhAeJPmkqAAAAAElFTkSuQmCC")}.bootstrap-table .fixed-table-container .table thead th .asc{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAZ0lEQVQ4y2NgGLKgquEuFxBPAGI2ahhWCsS/gDibUoO0gPgxEP8H4ttArEyuQYxAPBdqEAxPBImTY5gjEL9DM+wTENuQahAvEO9DMwiGdwAxOymGJQLxTyD+jgWDxCMZRsEoGAVoAADeemwtPcZI2wAAAABJRU5ErkJggg==)}.bootstrap-table .fixed-table-container .table thead th .desc{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAZUlEQVQ4y2NgGAWjYBSggaqGu5FA/BOIv2PBIPFEUgxjB+IdQPwfC94HxLykus4GiD+hGfQOiB3J8SojEE9EM2wuSJzcsFMG4ttQgx4DsRalkZENxL+AuJQaMcsGxBOAmGvopk8AVz1sLZgg0bsAAAAASUVORK5CYII=)}.bootstrap-table .fixed-table-container .table tbody tr.selected td{background-color:rgba(0,0,0,.075)}.bootstrap-table .fixed-table-container .table tbody tr.no-records-found td{text-align:center}.bootstrap-table .fixed-table-container .table tbody tr .card-view{display:flex}.bootstrap-table .fixed-table-container .table tbody tr .card-view .card-view-title{font-weight:700;display:inline-block;min-width:30%;width:auto!important;text-align:left!important}.bootstrap-table .fixed-table-container .table tbody tr .card-view .card-view-value{width:100%!important}.bootstrap-table .fixed-table-container .table .bs-checkbox{text-align:center}.bootstrap-table .fixed-table-container .table .bs-checkbox label{margin-bottom:0}.bootstrap-table .fixed-table-container .table .bs-checkbox label input[type=checkbox],.bootstrap-table .fixed-table-container .table .bs-checkbox label input[type=radio]{margin:0 auto!important}.bootstrap-table .fixed-table-container .table.table-sm .th-inner{padding:.3rem}.bootstrap-table .fixed-table-container.fixed-height:not(.has-footer){border-bottom:1px solid #dee2e6}.bootstrap-table .fixed-table-container.fixed-height.has-card-view{border-top:1px solid #dee2e6;border-bottom:1px solid #dee2e6}.bootstrap-table .fixed-table-container.fixed-height .fixed-table-border{border-left:1px solid #dee2e6;border-right:1px solid #dee2e6}.bootstrap-table .fixed-table-container.fixed-height .table thead th{border-bottom:1px solid #dee2e6}.bootstrap-table .fixed-table-container.fixed-height .table-dark thead th{border-bottom:1px solid #32383e}.bootstrap-table .fixed-table-container .fixed-table-header{overflow:hidden}.bootstrap-table .fixed-table-container .fixed-table-body{overflow-x:auto;overflow-y:auto;height:100%}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading{align-items:center;background:#fff;display:flex;justify-content:center;position:absolute;bottom:0;width:100%;z-index:1000;transition:visibility 0s,opacity .15s ease-in-out;opacity:0;visibility:hidden}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.open{visibility:visible;opacity:1}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap{align-items:baseline;display:flex;justify-content:center}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .loading-text{margin-right:6px}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap{align-items:center;display:flex;justify-content:center}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-dot,.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap::after,.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap::before{content:"";animation-duration:1.5s;animation-iteration-count:infinite;animation-name:LOADING;background:#212529;border-radius:50%;display:block;height:5px;margin:0 4px;opacity:0;width:5px}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-dot{animation-delay:.3s}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap::after{animation-delay:.6s}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark{background:#212529}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark .animation-dot,.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark .animation-wrap::after,.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark .animation-wrap::before{background:#fff}.bootstrap-table .fixed-table-container .fixed-table-footer{overflow:hidden}.bootstrap-table .fixed-table-pagination::after{content:"";display:block;clear:both}.bootstrap-table .fixed-table-pagination>.pagination,.bootstrap-table .fixed-table-pagination>.pagination-detail{margin-top:10px;margin-bottom:10px}.bootstrap-table .fixed-table-pagination>.pagination-detail .pagination-info{line-height:34px;margin-right:5px}.bootstrap-table .fixed-table-pagination>.pagination-detail .page-list{display:inline-block}.bootstrap-table .fixed-table-pagination>.pagination-detail .page-list .btn-group{position:relative;display:inline-block;vertical-align:middle}.bootstrap-table .fixed-table-pagination>.pagination-detail .page-list .btn-group .dropdown-menu{margin-bottom:0}.bootstrap-table .fixed-table-pagination>.pagination ul.pagination{margin:0}.bootstrap-table .fixed-table-pagination>.pagination ul.pagination li.page-intermediate a{color:#c8c8c8}.bootstrap-table .fixed-table-pagination>.pagination ul.pagination li.page-intermediate a::before{content:'\2B05'}.bootstrap-table .fixed-table-pagination>.pagination ul.pagination li.page-intermediate a::after{content:'\27A1'}.bootstrap-table .fixed-table-pagination>.pagination ul.pagination li.disabled a{pointer-events:none;cursor:default}.bootstrap-table.fullscreen{position:fixed;top:0;left:0;z-index:1050;width:100%!important;background:#fff;height:calc(100vh);overflow-y:scroll}.bootstrap-table.bootstrap4 .pagination-lg .page-link,.bootstrap-table.bootstrap5 .pagination-lg .page-link{padding:.5rem 1rem}.bootstrap-table.bootstrap5 .float-left{float:left}.bootstrap-table.bootstrap5 .float-right{float:right}div.fixed-table-scroll-inner{width:100%;height:200px}div.fixed-table-scroll-outer{top:0;left:0;visibility:hidden;width:200px;height:150px;overflow:hidden}@keyframes LOADING{0%{opacity:0}50%{opacity:1}to{opacity:0}}@media (max-width:400px){.navbar-left{margin:2px}.nav:after{clear:none}}.skin-blue .main-header .logo{background-color:inherit!important}.skin-blue .main-header .navbar .dropdown-menu li a{color:#333}.left-navblock{max-width:500px}.skin-red .skin-purple .skin-blue .skin-black .skin-orange .skin-yellow .skin-green .skin-red-dark .skin-purple-dark .skin-blue-dark .skin-black-dark .skin-orange-dark .skin-yellow-dark .skin-green-dark .skin-contrast .main-header .logo{background-color:inherit}.main-header .logo{width:100%!important;white-space:nowrap;text-align:left;display:block;clear:both}.main-header .logo a:hover,.main-header .logo a:visited,.main-header .logoa:link{color:#fff}.huge{font-size:40px}.btn-file{position:relative;overflow:hidden}.dropdown-menu>li>a{color:#354044}#sort tr.cansort{border-radius:2px;padding:10px;background:#f4f4f4;margin-bottom:3px;border-left:2px solid #e6e7e8;color:#444;cursor:move}.user-image-inline{float:left;width:25px;height:25px;border-radius:50%;margin-right:10px}.input-group .input-group-addon{background-color:#f4f4f4}a.accordion-header{color:#333}.dynamic-form-row{padding:10px;margin:20px}.handle{padding-left:10px}.btn-file input[type=file]{position:absolute;top:0;right:0;min-width:100%;min-height:100%;font-size:100px;text-align:right;opacity:0;outline:0;background:#fff;cursor:inherit;display:block}.main-footer{font-size:13px}.main-header{max-height:150px}.navbar-nav>.user-menu>.dropdown-menu{width:inherit}.main-header .logo{padding:0 5px 0 15px}.sidebar-toggle{margin-left:-48px;z-index:100;background-color:inherit}.sidebar-toggle-mobile{z-index:100;width:50px;padding-top:10px}.main-header .sidebar-toggle:before{content:"\f0c9"}.direct-chat-contacts{padding:10px;height:150px}.select2-container{width:100%}.error input{color:#a94442;border:2px solid #a94442!important}.alert-msg,.error label{color:#a94442;display:block}.input-group[class*=col-]{padding-right:15px;padding-left:15px}.control-label.multiline{padding-top:10px}.btn-outline{color:inherit;background-color:transparent;transition:all .5s}.btn-primary.btn-outline{color:#428bca}.btn-success.btn-outline{color:#5cb85c}.btn-info.btn-outline{color:#5bc0de}.btn-warning.btn-outline{color:#f0ad4e}.btn-danger.btn-outline{color:#d9534f}.btn-danger.btn-outline:hover,.btn-info.btn-outline:hover,.btn-primary.btn-outline:hover,.btn-success.btn-outline:hover,.btn-warning.btn-outline:hover{color:#fff}.slideout-menu{position:fixed;top:0;right:-250px;width:250px;height:100%;background:#333;z-index:100;margin-top:100px;color:#fff;padding:10px}.slideout-menu h3{position:relative;padding:5px;color:#fff;font-size:1.2em;font-weight:400;border-bottom:4px solid #222}.slideout-menu .slideout-menu-toggle{position:absolute;top:12px;right:10px;display:inline-block;padding:6px 9px 5px;font-family:Arial,sans-serif;font-weight:700;line-height:1;background:#222;color:#999;text-decoration:none;vertical-align:top}.slideout-menu .slideout-menu-toggle:hover{color:#fff}.slideout-menu ul{list-style:none;font-weight:300;border-top:1px solid #151515;border-bottom:1px solid #454545}.slideout-menu ul li{border-top:1px solid #454545;border-bottom:1px solid #151515}.slideout-menu ul li a{position:relative;display:block;padding:10px;color:#999;text-decoration:none}.slideout-menu ul li a:hover{background:#000;color:#fff}.slideout-menu ul li a i{position:absolute;top:15px;right:10px;opacity:.5}.btn-box-tool-lg{font-size:16px;color:orange}.bs-wizard{margin-top:20px;border-bottom:1px solid #e0e0e0;padding:0 0 10px}.bs-wizard>.bs-wizard-step{padding:0;position:relative}.bs-wizard>.bs-wizard-step .bs-wizard-stepnum{color:#595959;font-size:16px;margin-bottom:5px}.bs-wizard>.bs-wizard-step .bs-wizard-info{color:#999;font-size:14px}.bs-wizard>.bs-wizard-step>.bs-wizard-dot{position:absolute;width:30px;height:30px;display:block;background:#fbe8aa;top:45px;left:50%;margin-top:-15px;margin-left:-15px;border-radius:50%}.bs-wizard>.bs-wizard-step>.bs-wizard-dot:after{content:" ";width:14px;height:14px;background:#fbbd19;border-radius:50px;position:absolute;top:8px;left:8px}.bs-wizard>.bs-wizard-step>.progress{position:relative;border-radius:0;height:8px;box-shadow:none;margin:20px 0}.bs-wizard>.bs-wizard-step>.progress>.progress-bar{width:0;box-shadow:none;background:#fbe8aa}.bs-wizard>.bs-wizard-step.complete>.progress>.progress-bar{width:100%}.bs-wizard>.bs-wizard-step.active>.progress>.progress-bar{width:50%}.bs-wizard>.bs-wizard-step:first-child.active>.progress>.progress-bar{width:0}.bs-wizard>.bs-wizard-step:last-child.active>.progress>.progress-bar{width:100%}.bs-wizard>.bs-wizard-step.disabled>.bs-wizard-dot{background-color:#f5f5f5}.bs-wizard>.bs-wizard-step.disabled>.bs-wizard-dot:after{opacity:0}.bs-wizard>.bs-wizard-step:first-child>.progress{left:50%;width:50%}.bs-wizard>.bs-wizard-step:last-child>.progress{width:50%}.bs-wizard>.bs-wizard-step.disabled a.bs-wizard-dot{pointer-events:none}.left-navblock{display:inline-block;float:left;text-align:left;color:#fff;padding:0}.skin-red .skin-purple .skin-blue .skin-black .skin-orange .skin-yellow .skin-green .skin-red-dark .skin-purple-dark .skin-blue-dark .skin-black-dark .skin-orange-dark .skin-yellow-dark .skin-green-dark .skin-contrast .main-header .navbar .dropdown-menu li a{color:#333}a.logo.no-hover a:hover{background-color:transparent}.required{border-right:6px solid orange}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:13px}.sidebar-menu{font-size:14px;white-space:normal}@media print{a[href]:after{content:none}.tab-content>.tab-pane{display:block!important;opacity:1!important;visibility:visible!important}}.navbar-brand>img,img.navbar-brand-img{float:left;padding:5px 5px 5px 0;max-height:50px}.input-daterange{border-radius:0}.btn.bg-maroon,.btn.bg-purple{min-width:90px}[hidden]{display:none!important}#toolbar{margin-top:10px}#uploadPreview{border:1px solid grey}.icon-med{font-size:20px;color:#889195}#login-logo{padding-top:20px;padding-bottom:10px;max-width:200px}a.skip-main{left:-999px;position:absolute;top:auto;width:1px;height:1px;overflow:hidden;z-index:-999}a.skip-main:active,a.skip-main:focus{color:#fff;background-color:#000;left:auto;top:auto;width:30%;height:auto;overflow:auto;margin:10px 35%;padding:5px;border-radius:15px;border:4px solid #ff0;text-align:center;font-size:1.2em;z-index:999}h2{font-size:22px}h3{font-size:20px}h4{font-size:16px}.row-striped{vertical-align:top;line-height:2.6;padding:0;margin-left:20px;box-sizing:border-box;display:table}.row-striped .row:nth-of-type(odd) div{background-color:#f9f9f9;border-top:1px solid #ddd;display:table-cell}.row-striped .row:nth-of-type(2n) div{background:#fff;border-top:1px solid #ddd;display:table-cell}.card-view-title{min-width:40%!important;line-height:3!important;padding-right:20px}.card-view{display:table-row;flex-direction:column}th.css-accessory>.th-inner,th.css-barcode>.th-inner,th.css-consumable>.th-inner,th.css-envelope>.th-inner,th.css-license>.th-inner{font-size:0;line-height:4!important;text-align:left;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}th.css-accessory>.th-inner:before,th.css-barcode>.th-inner:before,th.css-consumable>.th-inner:before,th.css-envelope>.th-inner:before,th.css-license>.th-inner:before,th.css-padlock>.th-inner:before{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:20px}th.css-padlock>.th-inner:before{content:"\f023";padding-right:2px}th.css-barcode>.th-inner:before{content:"\f02a"}th.css-license>.th-inner:before{content:"\f0c7"}th.css-consumable>.th-inner:before{content:"\f043"}th.css-envelope>.th-inner:before{content:"\f003"}th.css-accessory>.th-inner:before{content:"\f11c"}.small-box .inner{padding-left:15px;padding-right:15px;padding-top:15px;color:#fff}.small-box>a:hover,.small-box>a:link,.small-box>a:visited{color:#fff}.select2-container--default .select2-selection--single,.select2-selection .select2-selection--single{border:1px solid #d2d6de;border-radius:0;padding:6px 12px;height:34px}.form-group.has-error label{color:#a94442}.select2-container--default .select2-selection--multiple{border-radius:0}.select2-container{box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle}.select2-container .select2-selection--single{box-sizing:border-box;cursor:pointer;display:block;height:28px;user-select:none;-webkit-user-select:none}.select2-container .select2-selection--single .select2-selection__rendered{display:block;padding-left:8px;padding-right:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-selection--single .select2-selection__clear{position:relative}.select2-container[dir=rtl] .select2-selection--single .select2-selection__rendered{padding-right:8px;padding-left:20px}.select2-container .select2-selection--multiple{box-sizing:border-box;cursor:pointer;display:block;min-height:32px;user-select:none;-webkit-user-select:none}.select2-container .select2-selection--multiple .select2-selection__rendered{display:inline-block;overflow:hidden;padding-left:8px;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-search--inline{float:left}.select2-container .select2-search--inline .select2-search__field{box-sizing:border-box;border:none;font-size:100%;margin-top:5px;padding:0}.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-dropdown{background-color:#fff;border:1px solid #aaa;border-radius:4px;box-sizing:border-box;display:block;position:absolute;left:-100000px;width:100%;z-index:1051}.select2-results{display:block}.select2-results__options{list-style:none;margin:0;padding:0}.select2-results__option{padding:6px;user-select:none;-webkit-user-select:none}.select2-results__option[aria-selected]{cursor:pointer}.select2-container--open .select2-dropdown{left:0}.select2-container--open .select2-dropdown--above{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--open .select2-dropdown--below{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-search--dropdown{display:block;padding:4px}.select2-search--dropdown .select2-search__field{padding:4px;width:100%;box-sizing:border-box}.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-search--dropdown.select2-search--hide{display:none}.select2-close-mask{border:0;margin:0;padding:0;display:block;position:fixed;left:0;top:0;min-height:100%;min-width:100%;height:auto;width:auto;opacity:0;z-index:99;background-color:#fff}.select2-hidden-accessible{border:0!important;clip:rect(0 0 0 0)!important;-webkit-clip-path:inset(50%)!important;clip-path:inset(50%)!important;height:1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;width:1px!important;white-space:nowrap!important}.select2-container--default .select2-selection--single{background-color:#fff;border:1px solid #aaa;border-radius:4px}.select2-container--default .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}.select2-container--default .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:700}.select2-container--default .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--default .select2-selection--single .select2-selection__arrow{height:26px;position:absolute;top:1px;right:1px;width:20px}.select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--default[dir=rtl] .select2-selection--single .select2-selection__clear{float:left}.select2-container--default[dir=rtl] .select2-selection--single .select2-selection__arrow{left:1px;right:auto}.select2-container--default.select2-container--disabled .select2-selection--single{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear{display:none}.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.select2-container--default .select2-selection--multiple{background-color:#fff;border:1px solid #aaa;border-radius:4px;cursor:text}.select2-container--default .select2-selection--multiple .select2-selection__rendered{box-sizing:border-box;list-style:none;margin:0;padding:0 5px;width:100%}.select2-container--default .select2-selection--multiple .select2-selection__rendered li{list-style:none}.select2-container--default .select2-selection--multiple .select2-selection__clear{cursor:pointer;float:right;font-weight:700;margin-top:5px;margin-right:10px;padding:1px}.select2-container--default .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{color:#999;cursor:pointer;display:inline-block;font-weight:700;margin-right:2px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover{color:#333}.select2-container--default[dir=rtl] .select2-selection--multiple .select2-search--inline,.select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__choice{float:right}.select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__choice{margin-left:5px;margin-right:auto}.select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__choice__remove{margin-left:2px;margin-right:auto}.select2-container--default.select2-container--focus .select2-selection--multiple{border:solid #000 1px;outline:0}.select2-container--default.select2-container--disabled .select2-selection--multiple{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection__choice__remove{display:none}.select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple,.select2-container--default.select2-container--open.select2-container--above .select2-selection--single{border-top-left-radius:0;border-top-right-radius:0}.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple,.select2-container--default.select2-container--open.select2-container--below .select2-selection--single{border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--default .select2-search--dropdown .select2-search__field{border:1px solid #aaa}.select2-container--default .select2-search--inline .select2-search__field{background:0 0;border:none;outline:0;box-shadow:none;-webkit-appearance:textfield}.select2-container--default .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--default .select2-results__option[role=group]{padding:0}.select2-container--default .select2-results__option[aria-disabled=true]{color:#999}.select2-container--default .select2-results__option[aria-selected=true]{background-color:#ddd}.select2-container--default .select2-results__option .select2-results__option{padding-left:1em}.select2-container--default .select2-results__option .select2-results__option .select2-results__group{padding-left:0}.select2-container--default .select2-results__option .select2-results__option .select2-results__option{margin-left:-1em;padding-left:2em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-2em;padding-left:3em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-3em;padding-left:4em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-4em;padding-left:5em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-5em;padding-left:6em}.select2-container--default .select2-results__option--highlighted[aria-selected]{background-color:#5897fb;color:#fff}.select2-container--default .select2-results__group{cursor:default;display:block;padding:6px}.select2-container--classic .select2-selection--single{background-color:#f7f7f7;border:1px solid #aaa;border-radius:4px;outline:0;background-image:-webkit-linear-gradient(top,#fff 50%,#eee 100%);background-image:-o-linear-gradient(top,#fff 50%,#eee 100%);background-image:linear-gradient(to bottom,#fff 50%,#eee 100%);background-repeat:repeat-x}.select2-container--classic .select2-selection--single:focus{border:1px solid #5897fb}.select2-container--classic .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}.select2-container--classic .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:700;margin-right:10px}.select2-container--classic .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--classic .select2-selection--single .select2-selection__arrow{background-color:#ddd;border:none;border-left:1px solid #aaa;border-top-right-radius:4px;border-bottom-right-radius:4px;height:26px;position:absolute;top:1px;right:1px;width:20px;background-image:-webkit-linear-gradient(top,#eee 50%,#ccc 100%);background-image:-o-linear-gradient(top,#eee 50%,#ccc 100%);background-image:linear-gradient(to bottom,#eee 50%,#ccc 100%);background-repeat:repeat-x}.select2-container--classic .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--classic[dir=rtl] .select2-selection--single .select2-selection__clear{float:left}.select2-container--classic[dir=rtl] .select2-selection--single .select2-selection__arrow{border:none;border-right:1px solid #aaa;border-radius:0;border-top-left-radius:4px;border-bottom-left-radius:4px;left:1px;right:auto}.select2-container--classic.select2-container--open .select2-selection--single{border:1px solid #5897fb}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow{background:0 0;border:none}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single{border-top:none;border-top-left-radius:0;border-top-right-radius:0;background-image:-webkit-linear-gradient(top,#fff 0,#eee 50%);background-image:-o-linear-gradient(top,#fff 0,#eee 50%);background-image:linear-gradient(to bottom,#fff 0,#eee 50%);background-repeat:repeat-x}.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;background-image:-webkit-linear-gradient(top,#eee 50%,#fff 100%);background-image:-o-linear-gradient(top,#eee 50%,#fff 100%);background-image:linear-gradient(to bottom,#eee 50%,#fff 100%);background-repeat:repeat-x}.select2-container--classic .select2-selection--multiple{background-color:#fff;border:1px solid #aaa;border-radius:4px;cursor:text;outline:0}.select2-container--classic .select2-selection--multiple:focus{border:1px solid #5897fb}.select2-container--classic .select2-selection--multiple .select2-selection__rendered{list-style:none;margin:0;padding:0 5px}.select2-container--classic .select2-selection--multiple .select2-selection__clear{display:none}.select2-container--classic .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove{color:#888;cursor:pointer;display:inline-block;font-weight:700;margin-right:2px}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover{color:#555}.select2-container--classic[dir=rtl] .select2-selection--multiple .select2-selection__choice{float:right;margin-left:5px;margin-right:auto}.select2-container--classic[dir=rtl] .select2-selection--multiple .select2-selection__choice__remove{margin-left:2px;margin-right:auto}.select2-container--classic.select2-container--open .select2-selection--multiple{border:1px solid #5897fb}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--classic .select2-search--dropdown .select2-search__field{border:1px solid #aaa;outline:0}.select2-container--classic .select2-search--inline .select2-search__field{outline:0;box-shadow:none}.select2-container--classic .select2-dropdown{background-color:#fff;border:1px solid transparent}.select2-container--classic .select2-dropdown--above{border-bottom:none}.select2-container--classic .select2-dropdown--below{border-top:none}.select2-container--classic .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--classic .select2-results__option[role=group]{padding:0}.select2-container--classic .select2-results__option[aria-disabled=true]{color:grey}.select2-container--classic .select2-results__option--highlighted[aria-selected]{background-color:#3875d7;color:#fff}.select2-container--classic .select2-results__group{cursor:default;display:block;padding:6px}.select2-container--classic.select2-container--open .select2-dropdown{border-color:#5897fb}.skin-red .skin-purple .skin-blue .skin-black .skin-orange .skin-yellow .skin-green .skin-red-dark .skin-purple-dark .skin-blue-dark .skin-black-dark .skin-orange-dark .skin-yellow-dark .skin-green-dark .skin-contrast .main-header .logo{background-color:inherit}.main-header .logo{width:100%!important;white-space:nowrap;text-align:left;display:block;clear:both}.main-header .logo a:hover,.main-header .logo a:visited,.main-header .logoa:link{color:#fff}.huge{font-size:40px}.btn-file{position:relative;overflow:hidden}.dropdown-menu>li>a{color:#354044}#sort tr.cansort{border-radius:2px;padding:10px;background:#f4f4f4;margin-bottom:3px;border-left:2px solid #e6e7e8;color:#444;cursor:move}.user-image-inline{float:left;width:25px;height:25px;border-radius:50%;margin-right:10px}.input-group .input-group-addon{background-color:#f4f4f4}a.accordion-header{color:#333}.dynamic-form-row{padding:10px;margin:20px}.handle{padding-left:10px}.btn-file input[type=file]{position:absolute;top:0;right:0;min-width:100%;min-height:100%;font-size:100px;text-align:right;opacity:0;outline:0;background:#fff;cursor:inherit;display:block}.main-footer{font-size:13px}.main-header{max-height:150px}.navbar-nav>.user-menu>.dropdown-menu{width:inherit}.main-header .logo{padding:0 5px 0 15px}.sidebar-toggle{margin-left:-48px;z-index:100;background-color:inherit}.sidebar-toggle-mobile{z-index:100;width:50px;padding-top:10px}.main-header .sidebar-toggle:before{content:"\f0c9"}.direct-chat-contacts{padding:10px;height:150px}.select2-container{width:100%}.error input{color:#a94442;border:2px solid #a94442!important}.alert-msg,.error label{color:#a94442;display:block}.input-group[class*=col-]{padding-right:15px;padding-left:15px}.control-label.multiline{padding-top:10px}.btn-outline{color:inherit;background-color:transparent;transition:all .5s}.btn-primary.btn-outline{color:#428bca}.btn-success.btn-outline{color:#5cb85c}.btn-info.btn-outline{color:#5bc0de}.btn-warning.btn-outline{color:#f0ad4e}.btn-danger.btn-outline{color:#d9534f}.btn-danger.btn-outline:hover,.btn-info.btn-outline:hover,.btn-primary.btn-outline:hover,.btn-success.btn-outline:hover,.btn-warning.btn-outline:hover{color:#fff}.slideout-menu{position:fixed;top:0;right:-250px;width:250px;height:100%;background:#333;z-index:100;margin-top:100px;color:#fff;padding:10px}.slideout-menu h3{position:relative;padding:5px;color:#fff;font-size:1.2em;font-weight:400;border-bottom:4px solid #222}.slideout-menu .slideout-menu-toggle{position:absolute;top:12px;right:10px;display:inline-block;padding:6px 9px 5px;font-family:Arial,sans-serif;font-weight:700;line-height:1;background:#222;color:#999;text-decoration:none;vertical-align:top}.slideout-menu .slideout-menu-toggle:hover{color:#fff}.slideout-menu ul{list-style:none;font-weight:300;border-top:1px solid #151515;border-bottom:1px solid #454545}.slideout-menu ul li{border-top:1px solid #454545;border-bottom:1px solid #151515}.slideout-menu ul li a{position:relative;display:block;padding:10px;color:#999;text-decoration:none}.slideout-menu ul li a:hover{background:#000;color:#fff}.slideout-menu ul li a i{position:absolute;top:15px;right:10px;opacity:.5}.btn-box-tool-lg{font-size:16px;color:orange}.bs-wizard{margin-top:20px;border-bottom:1px solid #e0e0e0;padding:0 0 10px}.bs-wizard>.bs-wizard-step{padding:0;position:relative}.bs-wizard>.bs-wizard-step .bs-wizard-stepnum{color:#595959;font-size:16px;margin-bottom:5px}.bs-wizard>.bs-wizard-step .bs-wizard-info{color:#999;font-size:14px}.bs-wizard>.bs-wizard-step>.bs-wizard-dot{position:absolute;width:30px;height:30px;display:block;background:#fbe8aa;top:45px;left:50%;margin-top:-15px;margin-left:-15px;border-radius:50%}.bs-wizard>.bs-wizard-step>.bs-wizard-dot:after{content:" ";width:14px;height:14px;background:#fbbd19;border-radius:50px;position:absolute;top:8px;left:8px}.bs-wizard>.bs-wizard-step>.progress{position:relative;border-radius:0;height:8px;box-shadow:none;margin:20px 0}.bs-wizard>.bs-wizard-step>.progress>.progress-bar{width:0;box-shadow:none;background:#fbe8aa}.bs-wizard>.bs-wizard-step.complete>.progress>.progress-bar{width:100%}.bs-wizard>.bs-wizard-step.active>.progress>.progress-bar{width:50%}.bs-wizard>.bs-wizard-step:first-child.active>.progress>.progress-bar{width:0}.bs-wizard>.bs-wizard-step:last-child.active>.progress>.progress-bar{width:100%}.bs-wizard>.bs-wizard-step.disabled>.bs-wizard-dot{background-color:#f5f5f5}.bs-wizard>.bs-wizard-step.disabled>.bs-wizard-dot:after{opacity:0}.bs-wizard>.bs-wizard-step:first-child>.progress{left:50%;width:50%}.bs-wizard>.bs-wizard-step:last-child>.progress{width:50%}.bs-wizard>.bs-wizard-step.disabled a.bs-wizard-dot{pointer-events:none}.left-navblock{display:inline-block;float:left;text-align:left;color:#fff;padding:0}.skin-red .skin-purple .skin-blue .skin-black .skin-orange .skin-yellow .skin-green .skin-red-dark .skin-purple-dark .skin-blue-dark .skin-black-dark .skin-orange-dark .skin-yellow-dark .skin-green-dark .skin-contrast .main-header .navbar .dropdown-menu li a{color:#333}a.logo.no-hover a:hover{background-color:transparent}.required{border-right:6px solid orange}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:13px}.sidebar-menu{font-size:14px;white-space:normal}@media print{a[href]:after{content:none}.tab-content>.tab-pane{display:block!important;opacity:1!important;visibility:visible!important}}.navbar-brand>img,img.navbar-brand-img{float:left;padding:5px 5px 5px 0;max-height:50px}.input-daterange{border-radius:0}.btn.bg-maroon,.btn.bg-purple{min-width:90px}[hidden]{display:none!important}#toolbar{margin-top:10px}#uploadPreview{border:1px solid grey}.icon-med{font-size:20px;color:#889195}#login-logo{padding-top:20px;padding-bottom:10px;max-width:200px}a.skip-main{left:-999px;position:absolute;top:auto;width:1px;height:1px;overflow:hidden;z-index:-999}a.skip-main:active,a.skip-main:focus{color:#fff;background-color:#000;left:auto;top:auto;width:30%;height:auto;overflow:auto;margin:10px 35%;padding:5px;border-radius:15px;border:4px solid #ff0;text-align:center;font-size:1.2em;z-index:999}h2{font-size:22px}h3{font-size:20px}h4{font-size:16px}.row-striped{vertical-align:top;line-height:2.6;padding:0;margin-left:20px;box-sizing:border-box;display:table}.row-striped .row:nth-of-type(odd) div{background-color:#f9f9f9;border-top:1px solid #ddd;display:table-cell}.row-striped .row:nth-of-type(2n) div{background:#fff;border-top:1px solid #ddd;display:table-cell}.card-view-title{min-width:40%!important;line-height:3!important;padding-right:20px}.card-view{display:table-row;flex-direction:column}th.css-accessory>.th-inner,th.css-barcode>.th-inner,th.css-consumable>.th-inner,th.css-envelope>.th-inner,th.css-license>.th-inner{font-size:0;line-height:4!important;text-align:left;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}th.css-accessory>.th-inner:before,th.css-barcode>.th-inner:before,th.css-consumable>.th-inner:before,th.css-envelope>.th-inner:before,th.css-license>.th-inner:before,th.css-padlock>.th-inner:before{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:20px}th.css-padlock>.th-inner:before{content:"\f023";padding-right:2px}th.css-barcode>.th-inner:before{content:"\f02a"}th.css-license>.th-inner:before{content:"\f0c7"}th.css-consumable>.th-inner:before{content:"\f043"}th.css-envelope>.th-inner:before{content:"\f003"}th.css-accessory>.th-inner:before{content:"\f11c"}.small-box .inner{padding-left:15px;padding-right:15px;padding-top:15px;color:#fff}.small-box>a:hover,.small-box>a:link,.small-box>a:visited{color:#fff}.select2-container--default .select2-selection--single,.select2-selection .select2-selection--single{border:1px solid #d2d6de;border-radius:0;padding:6px 12px;height:34px}.form-group.has-error label{color:#a94442}.select2-container--default .select2-selection--multiple{border-radius:0}+ */.colorpicker-saturation{width:100px;height:100px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAQAAADa613fAAAP9klEQVR4XnRWC47rNgwcKjlA0bv2VL1Qi/YELRav7203iS1ppqZoiXCAhuBHVLI74xFtG3/Hz2joIOjRGuR5eMYuRn9YA1fds859KX8ZvczLr9/pImiR3Rqky9/wlajRIdVE/1Rufeu/0No3/ASgBZAJUkwgi0iCaEatekJJoEqiTQncd67/gyOfRCZshTed0Nl8LbLj8D6qxtoq9/7kJz/aH/3Xfu8VwI5+AUH8DxE7gUyiIpZ5LwiGzUqE3CScJsCDQHAsvBnxWpkbC0QMHmBp6latWS0bnvrCN/x1+xPfce+Ij0GAyeAGGz15sOiax2UylPhKrFaMPnVWClwepKh07hdhkVDsK2uoyEIySergjdbY2VBtV8VLr8Mf9mF/4wMb7kR8FOhzFWZZe7HIZD9JRIbee28eJKBweTB6TwjYkAgWaUmtDveGw1Wx3zZ76YlPPfQd/+gTTUFkiGiJ+NQAszU1EPT/QJEgufolAMPkNU4CVOyUIBLg4xglEZHGQnTFOFV0VaulYddBhA986ge/7N/yQi/3flFgwfQq2ibLnTDBRl9TmUHyJASPV/eoN0UISIr+ICQKIFV4EpljSjV1uFVUq9hRtet5e9gXvuyHPW0zMhQxWaoBBa9Tg8vsCEhww23Smd0CKjIkmPIoxWrUBDgJqFCyESF43ctQxLUoHN7Q1KyVhqrNNm3cy2vMyQNPVKjc29Rh5SSU+giWdRJHkLnQG71FQEuNyNGBTDdBQQAKCuGiEUS/jcyGbkMPq931OIzb/dUPGuVlG7f+slqkO5NAAlzTMdcq0NkzmsEBmAQkbI+pSHbiqnuWIA6lijhvqwIxMyWxMGZiPU669XJE1tADDTs2HWpwKxuqdnTpOiOR42xlzLtm3pXGel3xd8/oTs8Xy0MV8GM1RlsC2Y3Wy3wut3M+2mEVux0Gt9fhzTWyLvGiiJYaqY5DWRFIwAiQ5r6gB9GpQihJw4I9j5Mkscj3BnzGjBhv8xna5P1Jo428o6IOPY5KFZtVOkEKqUjqQY9Gi+jrIOFwJUDzRtA9xyoIrGGmkNRmxVAnZoK+TkUIeUYni5wEzgOG5iZX5HCr2JyQNqdk++G0rgb1ochSIGutTj4P7F0PuRUAolmh5sCzAHn1BYyaADh6bgFeoBx6vst091CEvcSLWBBpqGq384jZ5llVHSwEShLx+D4d0mU3D5eEAJQ9KEhOZUYnDENV2qKgmIlQhWfdvcoXYaegPp/n1oKIOgYFqxrzQSciqNhv/5FqPpy6b0UcX2vf13DfWySRSEgkEYlEJJGQSyKJSEQSCYlEEpHexIVO3XOevffze2a+PfPv9x1rne1c3b3Mmlmz9mE++zuzngfnw/E+Dlc4LL4NwHdFy7u3KGPVmZ6/4eeMoDyre3i/KHADIHYO04w9zO0mAotuKnrc7XaPjvu66bNe5cDT7RlPepEnfS2X8dF1/utDvD+OwGDBxEgQywLCvIMYWBY+DShwAAORAdv9PswhDAqOUCi5+71AbFcDMR4xBDNfhySKXPXZ1+Vub+Q1Ltf5z7eC0AjVldHI26rIFdKIAyYBJCFVUhVDwttAnM52B3Ect1TFQXzJ0z33lOuib/QO8g+CuO0gKBRU80A8hkeJ0b1KRQWmFQVSh8mf3lpUpNaRulzN5NArrmKKGMijXgzk7w5ijdFVgT8f1IdFNjVWjDWicUYWEEMmSFDtILdzHW5XueHp7p+yuS54ep5/c5BE2Gw/gWPNYU4/PZaak2VGEsFjSbOf8irea6KQgojGCk0KxZY31tWWgzwayF8N5KYyo3VADVicWWrhwzr3ZqIOa5xW5zbqMPPMiyDURHDIHQTeWq7KFXcQPOqzPOL5Ov/iIDEDy7DHEwx0PTgjO8SS0fOEHcZNMt+XKEFMj8Q4QUSvPu6HPuvd4N9/x12RPwcIVRCAakSOUzHgsUSMFWYzDQ+PiOJqAOuYc9jh5TecnA+xHfFyOYhebeTH89P80wrCJzUjlsx7euIV0g4zQFUSiBPioIWBACFC7GgDj8P91ZSJOQmQP74MAnQo8H5RIe8kZ0kBcQCMAlEpRDiKROBxbR0ksdhWFq0gR9q9uQzkDzuIFQSPqAgRCAsCaVNF2ZAAhxvtzcqcnDk6tpXxSsayqXLIgSOb6zqeH+fvO0i9XEu5EVV+OZehRZJ6BGTeaRhCkTzVIZeAzaWGAFfErIPogQI5CuR3HQQx7DzBB16R3s7e0MBUPedjWutgG/JUTPqMeAQNEiytJRnJearWUgdwFNxN7rtBoECuj/O3BMHaTIxQ0a4GctireElTJHJvLTaalih5kvBCGMvkdESUMAdCFaI4yG8SpDfRWAptqkAJUwCG6B7lOREFSZBqKs57MEHqVJEBwHa2lp0OiKtiQ18gx9P89QrSXyc0vObBM4vPmBADqJZLAo/yzK7qPSZstCy+fDSZlhrm+Zkyjsf5q2otdC14zkLjHLf0me9wjNqQo0B1a6wBJRaIEgC2Qw9oby/cRHA+xHCQy/xlB1HVSV3Y/5yVhsc7dBi2UoIWCMcbELZWgxNCGUZ5y4ceBaLlE8dAfrEosrYT+z8ya3sxXndFBxuQivNGEHFCbLGBlBLKGYHZoeoQpcjtMn/uICPefcxecpuDOEemg9S/44cflZPIlWolyHkLrEpgbS9IQRlAgZgi0WDjsEiPh+PN/Fkogq4GdzPtarlRGW2tJwEK1RMTEvdVdmhAKHO1pdUuGQsVcX+rSfGzDbwGyE8NRPQc83HCaOkTZwPqABZBdFq8zAN1gue0FPO8wYUFBE1WkMwVzM1iQ4BItFh+H36Qy/yJg0DRQICmBl+tbKUC5cCj3yXI+SUFBS78ZAcBtHt+e9lBuiqpTNh9zTvIjzuIWxVYGQJpAZY+VWS3QKh84iSZbwuIdiDpc4KztQa/sjhMaDJEJDSZ8mZ+kCBdC0JpKVNQzZdKu+EsOeFCosrngVAkDS/uy6iGnW7UxmMpkB8FyFKo6iQW8z1HuBdMu1pdkZdB8jWTjlFtNaiJRYniIDcD+eECMqFLS9ED6DgxzCMKnRD3HYYA2uMCJUh70OK8G0EUnJV8lqe8nj84QdqLhdoJskNlEw1ivajM8LtPBhIeN99LESXI9xcQIHFQudHngZjUhXOQeGlUYmAddh5pxMhzV0M1vMAtMFIVmfp6fq+DgEWefjQVenstaqUy3bJQAiVlEihDghCDINFQg8oUhoQPkO8SBEM7SFQ72VYBwPuE7k8uYF5LNwg/TEd2zkuKjIIhTiJRlYrDfNS1QL7DYUcbcCyKJNwOwucVCVSwBBj/DwghXA2hQtACgCBBPprfXkAIFIYRXhONQARFU00Tsh6LEmmQUbkTImMi9me5qaHDIeBgHeRbdxAIqAJBCDSoCNVQglrciqX/ZCD9RRP6rgpBvhmKAFhg2ForBLXBYPtUjj7vCHPe8SXbYAY47gHB9mKeqjjIg/53fmMD0fR9Bug7SFcHI6EA1OC/E8QTL4NgBSGiCiyTChnI1zcQxmyfRZGM6w701KRybDvsIK3LWDx6mxGkcglEZQLkawnCdppZ6sgCh8trWWBUQaUWCEOlOs7HAenFE45QSu9RQQDAqchXNxDq4orQR44qRIFUQvM+mRJuB6GDEixgCbSBQGXghEEbdn1P/zO/QhAWCsWsmRhLa2VFkSZIgSVKmgEQhvk6K8YKMRZl7Dwg4amOUYvFBfLlE4RasOCB5S9PXKq0AqGDMiYIReXF0mYctITWBmqR5F38X5Y7yJfeCtKBzNbWYm5XpsMpf3dRZD3jPDesvdVCOs6KYQXIFw1E4fcE8dHWOepZBXpLJcACWUZVMRZbfvgXR4Ak8A7VVSKSVuu9p6/mFxyE7cOWavtLp952O8huK83+gmHzHaAsVXLgAvl8gPCvHzAFsM8GNXGKPH5cmN02sXTLa8QdKRXMzHv67/k5A9k1UIx36UH/VlWWtuKssNiRapB6BaLXl6MA+ayDcNS3v/sYXgCL620F1kk8QhKAEOvKu4DvajDO5zkHc4fBg76anyEIIcamBPex5EK8AoVHhMW7QAqWrYD1204CJB1hCfOAV/PTBPH0zBmJmsZZKCEaAmdqm4zMcYxYLN0JuHThIAjirAnp3px7TRgD+ZSD/K92M1CNIgbC8Ex7FkSEIlQEEUQEQQQBRBABEUQQEQTx3X0Evap9AhP39jL5OvuzAWuvbDaTTDIzX2aypUCJ0i7nAigoQAk9gUIUSxXEoCFyyVIuL9ZQcMZoArnwr4D0OLS8jGNGTgGnsZQWMYrcOARoIReAALBeWhf+RUCAIEsECFQHLkwR5zj4JW3t5WOUU5djvgQIawD53EDsctmYz8xGaZGPBUR3qNkiGwqDICUYIFpqBgRaayCfFiAWR2wWvoobmzxdF8N5kyxXmvap/sgGcLF/aoBosbG+lE395R8zCA4BqUYgOgYq+HtvBrT0LK15X8lZwx5f9klCX0rdgXzIIGbdhXMqZtHzJhuptEjmsFc4KzmN5IFPtfM7gWw2kPczSIqQSPUDYKYBMamsBCpKphW0iA5H8AbMDPJOQYjLZg1Vk4G49GlCYNYAkdOd0kwRQ8FCyAHydgLZ6Z2AqrVtjDUQ7hCEmrkEooDAsB2YnBCvkBpZ6yBvJpCd7Mn5zJ6C4QF2BUQPgHEIGUrGnHzQ8rlMekBeTyAzwDJksxwM4+w3BY02B8mIl0CmFRm+ZscxAuSnvwqQsECTIGSV6FEoJFTygVuzB5xAsKqBvAQE3+nkVoJDI1BJIaPBWik7ZSu5NIp5A3mRQaTFvLgkO9fVgEgMqqeVfb+p55tijWH+Kea71ubq4v8Sl8089sZKbKEZNq+VUfISJJF7j79WrbYgS994ZEf+nIz0pNFRWqapSmK6P45i3OQuItIiPDyg6RnxZ4D0g+CFPxAzluoRsWsaA6I6JOqVWCisDvJ0BgHTzMSRgMi0vmi8R+sR6tg/XUh7kCc7kMRqSNkTBDx0OkAUegFcMazciBXNpm798R6klXap/WZz49TQwBHqEcj4oCToUPjUuP9lfxcbyKMAwT6bTf1qqIIQDl3i5oCERNmVm0wgW4A8BGRxMX3hWh8bEV5Rvfp4DS5F3djWH2ztDNWKW7OBjgjIwsDWaKRknJjqMsh9QCa1p608lLovFkBE969DYtYelSzwSRcg535vAsFeNU9SzRCYZb4LDmxmFQKkwYGM+5y/G7b1uxMIylLdyE5yxIyYsoXWhQIpzQhYPi3JkJoKkB9+BxD0OMuyOEBe36DgyPSrxscmATldgKj8PxrkA/kA5PYMgkrocwIQ6GSRGmF0VaNqBKQZ5FYDEZSDzFTzq9mBQjAayE1A+ryDTzcQZe0Ibbxj7EwpAmTrJwEimZR9CCPtODhzxuNtY19Zd2Lf/fjCTnEiDAOg62j1utb/dv9mZ/aHCj4AyOHbsW3/As0BTzIgeJU7AAAAAElFTkSuQmCC);cursor:crosshair;float:left}.colorpicker-saturation i{display:block;height:5px;width:5px;border:1px solid #000;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;position:absolute;top:0;left:0;margin:-4px 0 0 -4px}.colorpicker-saturation i b{display:block;height:5px;width:5px;border:1px solid #fff;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.colorpicker-alpha,.colorpicker-hue{width:15px;height:100px;float:left;cursor:row-resize;margin-left:4px;margin-bottom:4px}.colorpicker-alpha i,.colorpicker-hue i{display:block;height:1px;background:#000;border-top:1px solid #fff;position:absolute;top:0;left:0;width:100%;margin-top:-1px}.colorpicker-hue{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAABkCAMAAABw8qpSAAABLFBMVEXqFBb/ABH/ACL/ADH/AEH/AFD/AGD/AG7/AH7/AI3/AJ3/AKz/ALz/AMr/ANv/AOr/APr2AP/mAP/XAP/HAP+4AP+oAP+aAP+JAP97AP9rAP9cAP9MAP8+AP8tAP8fAP8PAP8BAv8AEP8AH/8AL/8APv8ATv8AXP8Abf8Ae/8Ai/8Amv8Aqv8AuP8Ayf8A1/8A5/8A9/8A//gA/+kA/9kA/8oA/7oA/6wA/5sA/40A/30A/24A/14A/1AA/z8A/zEA/yEA/xEB/wMN/wAd/wAs/wA8/wBK/wBb/wBp/wB5/wCI/wCY/wCm/wC3/wDF/wDV/wDk/wD1/wD/+gD/7AD/3AD/zAD/vgD/rQD/nwD/jgD/gAD/cAD/YgD/UQD/QwD/MgD/JAD/FAD4Eg42qAedAAAAh0lEQVR4XgXAg3EDAAAAwI9to7Zt27a1/w49BASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTS1tHXo1KVbj159+g0YNGTYiFFjxk2YNGXajFlz5i1YtGTZilVr1m3YtGXbjl179h04dOTYiVNnzl24dOXajVt37j149OTZi1dv3n349OXbj19//wOxE1dQ8reGAAAAAElFTkSuQmCC)}.colorpicker-alpha{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAABkCAQAAAAVxWkcAAABr0lEQVR4Xo2VwU0DQQxF7dmRuNIFlzlSAR3QAaXQQdIBJVABFXDcOVAAd67cjJLR07dkhcSrkZKfb/t7bG88rFo3B5gZPMNycItu2xloGV7MWHzM9zuzFWCkmA0nK6AszCUJDW6+mG6R03ncw5v8EMTEvZ2O3AliYjpslblc0RF9LmZYWxURU6aKytWZYsoWCAe+xwOZp1GsEukGiIkYxcQCHck99+gRgB7JncyIB5SGEhP3Yh5P6JwX+u6AnYot104d8DJT7uH7M9JH6OZbimj0vfMVaYnJIZFJDBW9kHlerL2C6JV4mSt7uuo2N57RxnZ+usQjn0R1jwBJBrNO3evJpVYUWsJ/E3UiXRlv24/7YZ04xmEdWlzcKS+B/eapeyMvFd2k0+hRk/T0AmTW8h69s2sjYMsdPntECiILhAeIMZAeH4QvUwfn6ijC0tTV+fT9ky8jM9nK2g7Ly1VjSpKYq6IvsAm7MtNu1orEqa/K3KNvgMFdhfquPfJmp2dbh0/8Gzb6Y22ViaNr6n5410zXdngVhbu6XqdOtWOuin5hjABGp4a2uotZ71MVCfwDBt2/v37yo6AAAAAASUVORK5CYII=);display:none}.colorpicker-alpha,.colorpicker-hue,.colorpicker-saturation{background-size:contain}.colorpicker{padding:4px;min-width:130px;margin-top:1px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;z-index:2500}.colorpicker:after,.colorpicker:before{display:table;content:"";line-height:0}.colorpicker:after{clear:both}.colorpicker:before{content:'';display:inline-block;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #ccc;border-bottom-color:rgba(0,0,0,.2);position:absolute;top:-7px;left:6px}.colorpicker:after{content:'';display:inline-block;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #fff;position:absolute;top:-6px;left:7px}.colorpicker div{position:relative}.colorpicker.colorpicker-with-alpha{min-width:140px}.colorpicker.colorpicker-with-alpha .colorpicker-alpha{display:block}.colorpicker-color{height:10px;margin-top:5px;clear:both;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAABkCAQAAAAVxWkcAAABr0lEQVR4Xo2VwU0DQQxF7dmRuNIFlzlSAR3QAaXQQdIBJVABFXDcOVAAd67cjJLR07dkhcSrkZKfb/t7bG88rFo3B5gZPMNycItu2xloGV7MWHzM9zuzFWCkmA0nK6AszCUJDW6+mG6R03ncw5v8EMTEvZ2O3AliYjpslblc0RF9LmZYWxURU6aKytWZYsoWCAe+xwOZp1GsEukGiIkYxcQCHck99+gRgB7JncyIB5SGEhP3Yh5P6JwX+u6AnYot104d8DJT7uH7M9JH6OZbimj0vfMVaYnJIZFJDBW9kHlerL2C6JV4mSt7uuo2N57RxnZ+usQjn0R1jwBJBrNO3evJpVYUWsJ/E3UiXRlv24/7YZ04xmEdWlzcKS+B/eapeyMvFd2k0+hRk/T0AmTW8h69s2sjYMsdPntECiILhAeIMZAeH4QvUwfn6ijC0tTV+fT9ky8jM9nK2g7Ly1VjSpKYq6IvsAm7MtNu1orEqa/K3KNvgMFdhfquPfJmp2dbh0/8Gzb6Y22ViaNr6n5410zXdngVhbu6XqdOtWOuin5hjABGp4a2uotZ71MVCfwDBt2/v37yo6AAAAAASUVORK5CYII=);background-position:0 100%}.colorpicker-color div{height:10px}.colorpicker-selectors{display:none;height:10px;margin-top:5px;clear:both}.colorpicker-selectors i{cursor:pointer;float:left;height:10px;width:10px}.colorpicker-selectors i+i{margin-left:3px}.colorpicker-element .add-on i,.colorpicker-element .input-group-addon i{display:inline-block;cursor:pointer;height:16px;vertical-align:text-top;width:16px}.colorpicker.colorpicker-inline{position:relative;display:inline-block;float:none;z-index:auto}.colorpicker.colorpicker-horizontal{width:110px;min-width:110px;height:auto}.colorpicker.colorpicker-horizontal .colorpicker-saturation{margin-bottom:4px}.colorpicker.colorpicker-horizontal .colorpicker-color{width:100px}.colorpicker.colorpicker-horizontal .colorpicker-alpha,.colorpicker.colorpicker-horizontal .colorpicker-hue{width:100px;height:15px;float:left;cursor:col-resize;margin-left:0;margin-bottom:4px}.colorpicker.colorpicker-horizontal .colorpicker-alpha i,.colorpicker.colorpicker-horizontal .colorpicker-hue i{display:block;height:15px;background:#fff;position:absolute;top:0;left:0;width:1px;border:none;margin-top:0}.colorpicker.colorpicker-horizontal .colorpicker-hue{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAAABCAMAAAAfBfuPAAABLFBMVEXqFBb/ABH/ACL/ADH/AEH/AFD/AGD/AG7/AH7/AI3/AJ3/AKz/ALz/AMr/ANv/AOr/APr2AP/mAP/XAP/HAP+4AP+oAP+aAP+JAP97AP9rAP9cAP9MAP8+AP8tAP8fAP8PAP8BAv8AEP8AH/8AL/8APv8ATv8AXP8Abf8Ae/8Ai/8Amv8Aqv8AuP8Ayf8A1/8A5/8A9/8A//gA/+kA/9kA/8oA/7oA/6wA/5sA/40A/30A/24A/14A/1AA/z8A/zEA/yEA/xEB/wMN/wAd/wAs/wA8/wBK/wBb/wBp/wB5/wCI/wCY/wCm/wC3/wDF/wDV/wDk/wD1/wD/+gD/7AD/3AD/zAD/vgD/rQD/nwD/jgD/gAD/cAD/YgD/UQD/QwD/MgD/JAD/FAD4Eg42qAedAAAAbUlEQVR4XgXAghEDsbxtlrZt27ax/w49ACAYQTGcICmaYTleECVZUTXdMC1Wm93hdLk9Xp8/EAyFI9FYPJFMpTPZXL5QLJUr1Vq90Wy1O91efzAcjSfT2XyxXK03293+cDydL9fb/fF8vT/f3x+LfRNXARMbCAAAAABJRU5ErkJggg==)}.colorpicker.colorpicker-horizontal .colorpicker-alpha{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAAAKCAQAAADoFTP1AAAB9ElEQVR4XoWTQW4VMRBEu9qWEimL7DhEMp8NF+ASnJJLcAQgE1bcgBUSkYKUuHCrZ9pjeqSU5Yn9LPu7umJQBIIv+k7vIOrtK66L4lmr3pVOrOv3otp619KZ0/KjdNI79L52Uo09FBQWrU0vfe5trezU+hLsoUKd3Repovte+0vbq/7Lj5XbaHECKasR9G4MPlbp+gzZxd6koPEJCkAYC5SjcOTAIIOK90Dja1IfIZ8Z+zAY9jm3b5Ia+MT5sFcqRJrR2AYYA8Kua5BzYRrFPNmD4PQMegGJMOffJJUsWiI3nCHZZjInNdffLWOufzbc3JaboCAVxwmnRHbhLSPwRJ4wU0BRSc6HkECYYVw95nMKgJOcylxrJttE5Ibzf9Xq9GPvP+WX3MiV/MGHfRu/SentRQrfG1GzsIrytdNXucSRKxQNIGHM9YhGFQJcdjNcBZvfJayuYe4Sia1CzwW+19mWOhe37HsxJWKwbu/jluEU15QzAQjAqCEbhMJc78GYV2E0kooHDubUImWkTOhGpgv8PoT8DJG/bzxna4BZ0eOFSOaLADGeSpFsg5AzeaDZIDQQXjZ4y/8ryfzUXBwdELRjTjCNvOeT0rNlrJz90vwy6N9pXXQEluX0inElpPWokSdiLCfiNJJjMKQ8Qsh8GEKQKMo/eiHrNbI9UksAAAAASUVORK5CYII=)}.colorpicker-right:before{left:auto;right:6px}.colorpicker-right:after{left:auto;right:7px}.colorpicker-no-arrow:before{border-right:0;border-left:0}.colorpicker-no-arrow:after{border-right:0;border-left:0}.colorpicker-alpha.colorpicker-visible,.colorpicker-hue.colorpicker-visible,.colorpicker-saturation.colorpicker-visible,.colorpicker-selectors.colorpicker-visible,.colorpicker.colorpicker-visible{display:block}.colorpicker-alpha.colorpicker-hidden,.colorpicker-hue.colorpicker-hidden,.colorpicker-saturation.colorpicker-hidden,.colorpicker-selectors.colorpicker-hidden,.colorpicker.colorpicker-hidden{display:none}.colorpicker-inline.colorpicker-visible{display:inline-block}.fileinput-button{position:relative;overflow:hidden;display:inline-block}.fileinput-button input{position:absolute;top:0;right:0;margin:0;opacity:0;-ms-filter:'alpha(opacity=0)';font-size:200px!important;direction:ltr;cursor:pointer}@media screen\9{.fileinput-button input{font-size:100%;height:100%}}.fileupload-buttonbar .btn,.fileupload-buttonbar .toggle{margin-bottom:5px}.progress-animated .bar,.progress-animated .progress-bar{background:url(../img/progressbar.gif)!important;filter:none}.fileupload-process{float:right;display:none}.files .processing .preview,.fileupload-processing .fileupload-process{display:block;width:32px;height:32px;background:url(../img/loading.gif) center no-repeat;background-size:contain}.files audio,.files video{max-width:300px}@media (max-width:767px){.files .btn span,.files .toggle,.fileupload-buttonbar .toggle{display:none}.files .name{width:80px;word-wrap:break-word}.files audio,.files video{max-width:80px}.files canvas,.files img{max-width:100%}}.ekko-lightbox{display:-ms-flexbox!important;display:flex!important;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;padding-right:0!important}.ekko-lightbox-container{position:relative}.ekko-lightbox-container>div.ekko-lightbox-item{position:absolute;top:0;left:0;bottom:0;right:0;width:100%}.ekko-lightbox iframe{width:100%;height:100%}.ekko-lightbox-nav-overlay{z-index:1;position:absolute;top:0;left:0;width:100%;height:100%;display:-ms-flexbox;display:flex}.ekko-lightbox-nav-overlay a{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0;transition:opacity .5s;color:#fff;font-size:30px;z-index:1}.ekko-lightbox-nav-overlay a>*{-ms-flex-positive:1;flex-grow:1}.ekko-lightbox-nav-overlay a>:focus{outline:0}.ekko-lightbox-nav-overlay a span{padding:0 30px}.ekko-lightbox-nav-overlay a:last-child span{text-align:right}.ekko-lightbox-nav-overlay a:hover{text-decoration:none}.ekko-lightbox-nav-overlay a:focus{outline:0}.ekko-lightbox-nav-overlay a.disabled{cursor:default;visibility:hidden}.ekko-lightbox a:hover{opacity:1;text-decoration:none}.ekko-lightbox .modal-dialog{display:none}.ekko-lightbox .modal-footer{text-align:left}.ekko-lightbox-loader{position:absolute;top:0;left:0;bottom:0;right:0;width:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.ekko-lightbox-loader>div{width:40px;height:40px;position:relative;text-align:center}.ekko-lightbox-loader>div>div{width:100%;height:100%;border-radius:50%;background-color:#fff;opacity:.6;position:absolute;top:0;left:0;animation:a 2s infinite ease-in-out}.ekko-lightbox-loader>div>div:last-child{animation-delay:-1s}.modal-dialog .ekko-lightbox-loader>div>div{background-color:#333}@keyframes a{0%,to{transform:scale(0);-webkit-transform:scale(0)}50%{transform:scale(1);-webkit-transform:scale(1)}}.bootstrap-table .fixed-table-toolbar::after{content:"";display:block;clear:both}.bootstrap-table .fixed-table-toolbar .bs-bars,.bootstrap-table .fixed-table-toolbar .columns,.bootstrap-table .fixed-table-toolbar .search{position:relative;margin-top:10px;margin-bottom:10px}.bootstrap-table .fixed-table-toolbar .columns .btn-group>.btn-group{display:inline-block;margin-left:-1px!important}.bootstrap-table .fixed-table-toolbar .columns .btn-group>.btn-group>.btn{border-radius:0}.bootstrap-table .fixed-table-toolbar .columns .btn-group>.btn-group:first-child>.btn{border-top-left-radius:4px;border-bottom-left-radius:4px}.bootstrap-table .fixed-table-toolbar .columns .btn-group>.btn-group:last-child>.btn{border-top-right-radius:4px;border-bottom-right-radius:4px}.bootstrap-table .fixed-table-toolbar .columns .dropdown-menu{text-align:left;max-height:300px;overflow:auto;-ms-overflow-style:scrollbar;z-index:1001}.bootstrap-table .fixed-table-toolbar .columns label{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.428571429}.bootstrap-table .fixed-table-toolbar .columns-left{margin-right:5px}.bootstrap-table .fixed-table-toolbar .columns-right{margin-left:5px}.bootstrap-table .fixed-table-toolbar .pull-right .dropdown-menu{right:0;left:auto}.bootstrap-table .fixed-table-container{position:relative;clear:both}.bootstrap-table .fixed-table-container .table{width:100%;margin-bottom:0!important}.bootstrap-table .fixed-table-container .table td,.bootstrap-table .fixed-table-container .table th{vertical-align:middle;box-sizing:border-box}.bootstrap-table .fixed-table-container .table thead th{vertical-align:bottom;padding:0;margin:0}.bootstrap-table .fixed-table-container .table thead th:focus{outline:0 solid transparent}.bootstrap-table .fixed-table-container .table thead th.detail{width:30px}.bootstrap-table .fixed-table-container .table thead th .th-inner{padding:.75rem;vertical-align:bottom;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bootstrap-table .fixed-table-container .table thead th .sortable{cursor:pointer;background-position:right;background-repeat:no-repeat;padding-right:30px!important}.bootstrap-table .fixed-table-container .table thead th .both{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAAkElEQVQoz7X QMQ5AQBCF4dWQSJxC5wwax1Cq1e7BAdxD5SL+Tq/QCM1oNiJidwox0355mXnG/DrEtIQ6azioNZQxI0ykPhTQIwhCR+BmBYtlK7kLJYwWCcJA9M4qdrZrd8pPjZWPtOqdRQy320YSV17OatFC4euts6z39GYMKRPCTKY9UnPQ6P+GtMRfGtPnBCiqhAeJPmkqAAAAAElFTkSuQmCC")}.bootstrap-table .fixed-table-container .table thead th .asc{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAZ0lEQVQ4y2NgGLKgquEuFxBPAGI2ahhWCsS/gDibUoO0gPgxEP8H4ttArEyuQYxAPBdqEAxPBImTY5gjEL9DM+wTENuQahAvEO9DMwiGdwAxOymGJQLxTyD+jgWDxCMZRsEoGAVoAADeemwtPcZI2wAAAABJRU5ErkJggg==)}.bootstrap-table .fixed-table-container .table thead th .desc{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAZUlEQVQ4y2NgGAWjYBSggaqGu5FA/BOIv2PBIPFEUgxjB+IdQPwfC94HxLykus4GiD+hGfQOiB3J8SojEE9EM2wuSJzcsFMG4ttQgx4DsRalkZENxL+AuJQaMcsGxBOAmGvopk8AVz1sLZgg0bsAAAAASUVORK5CYII=)}.bootstrap-table .fixed-table-container .table tbody tr.selected td{background-color:rgba(0,0,0,.075)}.bootstrap-table .fixed-table-container .table tbody tr.no-records-found td{text-align:center}.bootstrap-table .fixed-table-container .table tbody tr .card-view{display:flex}.bootstrap-table .fixed-table-container .table tbody tr .card-view .card-view-title{font-weight:700;display:inline-block;min-width:30%;width:auto!important;text-align:left!important}.bootstrap-table .fixed-table-container .table tbody tr .card-view .card-view-value{width:100%!important;text-align:left!important}.bootstrap-table .fixed-table-container .table .bs-checkbox{text-align:center}.bootstrap-table .fixed-table-container .table .bs-checkbox label{margin-bottom:0}.bootstrap-table .fixed-table-container .table .bs-checkbox label input[type=checkbox],.bootstrap-table .fixed-table-container .table .bs-checkbox label input[type=radio]{margin:0 auto!important}.bootstrap-table .fixed-table-container .table.table-sm .th-inner{padding:.3rem}.bootstrap-table .fixed-table-container.fixed-height:not(.has-footer){border-bottom:1px solid #dee2e6}.bootstrap-table .fixed-table-container.fixed-height.has-card-view{border-top:1px solid #dee2e6;border-bottom:1px solid #dee2e6}.bootstrap-table .fixed-table-container.fixed-height .fixed-table-border{border-left:1px solid #dee2e6;border-right:1px solid #dee2e6}.bootstrap-table .fixed-table-container.fixed-height .table thead th{border-bottom:1px solid #dee2e6}.bootstrap-table .fixed-table-container.fixed-height .table-dark thead th{border-bottom:1px solid #32383e}.bootstrap-table .fixed-table-container .fixed-table-header{overflow:hidden}.bootstrap-table .fixed-table-container .fixed-table-body{overflow-x:auto;overflow-y:auto;height:100%}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading{align-items:center;background:#fff;display:flex;justify-content:center;position:absolute;bottom:0;width:100%;max-width:100%;z-index:1000;transition:visibility 0s,opacity .15s ease-in-out;opacity:0;visibility:hidden}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.open{visibility:visible;opacity:1}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap{align-items:baseline;display:flex;justify-content:center}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .loading-text{margin-right:6px}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap{align-items:center;display:flex;justify-content:center}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-dot,.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap::after,.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap::before{content:"";animation-duration:1.5s;animation-iteration-count:infinite;animation-name:LOADING;background:#212529;border-radius:50%;display:block;height:5px;margin:0 4px;opacity:0;width:5px}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-dot{animation-delay:.3s}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap::after{animation-delay:.6s}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark{background:#212529}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark .animation-dot,.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark .animation-wrap::after,.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark .animation-wrap::before{background:#fff}.bootstrap-table .fixed-table-container .fixed-table-footer{overflow:hidden}.bootstrap-table .fixed-table-pagination::after{content:"";display:block;clear:both}.bootstrap-table .fixed-table-pagination>.pagination,.bootstrap-table .fixed-table-pagination>.pagination-detail{margin-top:10px;margin-bottom:10px}.bootstrap-table .fixed-table-pagination>.pagination-detail .pagination-info{line-height:34px;margin-right:5px}.bootstrap-table .fixed-table-pagination>.pagination-detail .page-list{display:inline-block}.bootstrap-table .fixed-table-pagination>.pagination-detail .page-list .btn-group{position:relative;display:inline-block;vertical-align:middle}.bootstrap-table .fixed-table-pagination>.pagination-detail .page-list .btn-group .dropdown-menu{margin-bottom:0}.bootstrap-table .fixed-table-pagination>.pagination ul.pagination{margin:0}.bootstrap-table .fixed-table-pagination>.pagination ul.pagination li.page-intermediate a{color:#c8c8c8}.bootstrap-table .fixed-table-pagination>.pagination ul.pagination li.page-intermediate a::before{content:'\2B05'}.bootstrap-table .fixed-table-pagination>.pagination ul.pagination li.page-intermediate a::after{content:'\27A1'}.bootstrap-table .fixed-table-pagination>.pagination ul.pagination li.disabled a{pointer-events:none;cursor:default}.bootstrap-table.fullscreen{position:fixed;top:0;left:0;z-index:1050;width:100%!important;background:#fff;height:calc(100vh);overflow-y:scroll}.bootstrap-table.bootstrap4 .pagination-lg .page-link,.bootstrap-table.bootstrap5 .pagination-lg .page-link{padding:.5rem 1rem}.bootstrap-table.bootstrap5 .float-left{float:left}.bootstrap-table.bootstrap5 .float-right{float:right}div.fixed-table-scroll-inner{width:100%;height:200px}div.fixed-table-scroll-outer{top:0;left:0;visibility:hidden;width:200px;height:150px;overflow:hidden}@keyframes LOADING{0%{opacity:0}50%{opacity:1}to{opacity:0}}@media (max-width:400px){.navbar-left{margin:2px}.nav:after{clear:none}}.skin-blue .main-header .logo{background-color:inherit!important}.skin-blue .main-header .navbar .dropdown-menu li a{color:#333}.left-navblock{max-width:500px}.skin-red .skin-purple .skin-blue .skin-black .skin-orange .skin-yellow .skin-green .skin-red-dark .skin-purple-dark .skin-blue-dark .skin-black-dark .skin-orange-dark .skin-yellow-dark .skin-green-dark .skin-contrast .main-header .logo{background-color:inherit}.main-header .logo{width:100%!important;white-space:nowrap;text-align:left;display:block;clear:both}.main-header .logo a:hover,.main-header .logo a:visited,.main-header .logoa:link{color:#fff}.huge{font-size:40px}.btn-file{position:relative;overflow:hidden}.dropdown-menu>li>a{color:#354044}#sort tr.cansort{border-radius:2px;padding:10px;background:#f4f4f4;margin-bottom:3px;border-left:2px solid #e6e7e8;color:#444;cursor:move}.user-image-inline{float:left;width:25px;height:25px;border-radius:50%;margin-right:10px}.input-group .input-group-addon{background-color:#f4f4f4}a.accordion-header{color:#333}.dynamic-form-row{padding:10px;margin:20px}.handle{padding-left:10px}.btn-file input[type=file]{position:absolute;top:0;right:0;min-width:100%;min-height:100%;font-size:100px;text-align:right;opacity:0;outline:0;background:#fff;cursor:inherit;display:block}.main-footer{font-size:13px}.main-header{max-height:150px}.navbar-nav>.user-menu>.dropdown-menu{width:inherit}.main-header .logo{padding:0 5px 0 15px}.sidebar-toggle{margin-left:-48px;z-index:100;background-color:inherit}.sidebar-toggle-mobile{z-index:100;width:50px;padding-top:10px}.main-header .sidebar-toggle:before{content:"\f0c9"}.direct-chat-contacts{padding:10px;height:150px}.select2-container{width:100%}.error input{color:#a94442;border:2px solid #a94442!important}.alert-msg,.error label{color:#a94442;display:block}.input-group[class*=col-]{padding-right:15px;padding-left:15px}.control-label.multiline{padding-top:10px}.btn-outline{color:inherit;background-color:transparent;transition:all .5s}.btn-primary.btn-outline{color:#428bca}.btn-success.btn-outline{color:#5cb85c}.btn-info.btn-outline{color:#5bc0de}.btn-warning.btn-outline{color:#f0ad4e}.btn-danger.btn-outline{color:#d9534f}.btn-danger.btn-outline:hover,.btn-info.btn-outline:hover,.btn-primary.btn-outline:hover,.btn-success.btn-outline:hover,.btn-warning.btn-outline:hover{color:#fff}.slideout-menu{position:fixed;top:0;right:-250px;width:250px;height:100%;background:#333;z-index:100;margin-top:100px;color:#fff;padding:10px}.slideout-menu h3{position:relative;padding:5px;color:#fff;font-size:1.2em;font-weight:400;border-bottom:4px solid #222}.slideout-menu .slideout-menu-toggle{position:absolute;top:12px;right:10px;display:inline-block;padding:6px 9px 5px;font-family:Arial,sans-serif;font-weight:700;line-height:1;background:#222;color:#999;text-decoration:none;vertical-align:top}.slideout-menu .slideout-menu-toggle:hover{color:#fff}.slideout-menu ul{list-style:none;font-weight:300;border-top:1px solid #151515;border-bottom:1px solid #454545}.slideout-menu ul li{border-top:1px solid #454545;border-bottom:1px solid #151515}.slideout-menu ul li a{position:relative;display:block;padding:10px;color:#999;text-decoration:none}.slideout-menu ul li a:hover{background:#000;color:#fff}.slideout-menu ul li a i{position:absolute;top:15px;right:10px;opacity:.5}.btn-box-tool-lg{font-size:16px;color:orange}.bs-wizard{margin-top:20px;border-bottom:1px solid #e0e0e0;padding:0 0 10px}.bs-wizard>.bs-wizard-step{padding:0;position:relative}.bs-wizard>.bs-wizard-step .bs-wizard-stepnum{color:#595959;font-size:16px;margin-bottom:5px}.bs-wizard>.bs-wizard-step .bs-wizard-info{color:#999;font-size:14px}.bs-wizard>.bs-wizard-step>.bs-wizard-dot{position:absolute;width:30px;height:30px;display:block;background:#fbe8aa;top:45px;left:50%;margin-top:-15px;margin-left:-15px;border-radius:50%}.bs-wizard>.bs-wizard-step>.bs-wizard-dot:after{content:" ";width:14px;height:14px;background:#fbbd19;border-radius:50px;position:absolute;top:8px;left:8px}.bs-wizard>.bs-wizard-step>.progress{position:relative;border-radius:0;height:8px;box-shadow:none;margin:20px 0}.bs-wizard>.bs-wizard-step>.progress>.progress-bar{width:0;box-shadow:none;background:#fbe8aa}.bs-wizard>.bs-wizard-step.complete>.progress>.progress-bar{width:100%}.bs-wizard>.bs-wizard-step.active>.progress>.progress-bar{width:50%}.bs-wizard>.bs-wizard-step:first-child.active>.progress>.progress-bar{width:0}.bs-wizard>.bs-wizard-step:last-child.active>.progress>.progress-bar{width:100%}.bs-wizard>.bs-wizard-step.disabled>.bs-wizard-dot{background-color:#f5f5f5}.bs-wizard>.bs-wizard-step.disabled>.bs-wizard-dot:after{opacity:0}.bs-wizard>.bs-wizard-step:first-child>.progress{left:50%;width:50%}.bs-wizard>.bs-wizard-step:last-child>.progress{width:50%}.bs-wizard>.bs-wizard-step.disabled a.bs-wizard-dot{pointer-events:none}.left-navblock{display:inline-block;float:left;text-align:left;color:#fff;padding:0}.skin-red .skin-purple .skin-blue .skin-black .skin-orange .skin-yellow .skin-green .skin-red-dark .skin-purple-dark .skin-blue-dark .skin-black-dark .skin-orange-dark .skin-yellow-dark .skin-green-dark .skin-contrast .main-header .navbar .dropdown-menu li a{color:#333}a.logo.no-hover a:hover{background-color:transparent}.required{border-right:6px solid orange}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:13px}.sidebar-menu{font-size:14px;white-space:normal}@media print{a[href]:after{content:none}.tab-content>.tab-pane{display:block!important;opacity:1!important;visibility:visible!important}}.navbar-brand>img,img.navbar-brand-img{float:left;padding:5px 5px 5px 0;max-height:50px}.input-daterange{border-radius:0}.btn.bg-maroon,.btn.bg-purple{min-width:90px}[hidden]{display:none!important}#toolbar{margin-top:10px}#uploadPreview{border:1px solid grey}.icon-med{font-size:20px;color:#889195}#login-logo{padding-top:20px;padding-bottom:10px;max-width:200px}a.skip-main{left:-999px;position:absolute;top:auto;width:1px;height:1px;overflow:hidden;z-index:-999}a.skip-main:active,a.skip-main:focus{color:#fff;background-color:#000;left:auto;top:auto;width:30%;height:auto;overflow:auto;margin:10px 35%;padding:5px;border-radius:15px;border:4px solid #ff0;text-align:center;font-size:1.2em;z-index:999}h2{font-size:22px}h3{font-size:20px}h4{font-size:16px}.row-striped{vertical-align:top;line-height:2.6;padding:0;margin-left:20px;box-sizing:border-box;display:table}.row-striped .row:nth-of-type(odd) div{background-color:#f9f9f9;border-top:1px solid #ddd;display:table-cell}.row-striped .row:nth-of-type(2n) div{background:#fff;border-top:1px solid #ddd;display:table-cell}.card-view-title{min-width:40%!important;line-height:3!important;padding-right:20px}.card-view{display:table-row;flex-direction:column}th.css-accessory>.th-inner,th.css-barcode>.th-inner,th.css-consumable>.th-inner,th.css-envelope>.th-inner,th.css-license>.th-inner{font-size:0;line-height:4!important;text-align:left;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}th.css-accessory>.th-inner:before,th.css-barcode>.th-inner:before,th.css-consumable>.th-inner:before,th.css-envelope>.th-inner:before,th.css-license>.th-inner:before,th.css-padlock>.th-inner:before{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:20px}th.css-padlock>.th-inner:before{content:"\f023";padding-right:2px}th.css-barcode>.th-inner:before{content:"\f02a"}th.css-license>.th-inner:before{content:"\f0c7"}th.css-consumable>.th-inner:before{content:"\f043"}th.css-envelope>.th-inner:before{content:"\f003"}th.css-accessory>.th-inner:before{content:"\f11c"}.small-box .inner{padding-left:15px;padding-right:15px;padding-top:15px;color:#fff}.small-box>a:hover,.small-box>a:link,.small-box>a:visited{color:#fff}.select2-container--default .select2-selection--single,.select2-selection .select2-selection--single{border:1px solid #d2d6de;border-radius:0;padding:6px 12px;height:34px}.form-group.has-error label{color:#a94442}.select2-container--default .select2-selection--multiple{border-radius:0}.select2-container{box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle}.select2-container .select2-selection--single{box-sizing:border-box;cursor:pointer;display:block;height:28px;user-select:none;-webkit-user-select:none}.select2-container .select2-selection--single .select2-selection__rendered{display:block;padding-left:8px;padding-right:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-selection--single .select2-selection__clear{position:relative}.select2-container[dir=rtl] .select2-selection--single .select2-selection__rendered{padding-right:8px;padding-left:20px}.select2-container .select2-selection--multiple{box-sizing:border-box;cursor:pointer;display:block;min-height:32px;user-select:none;-webkit-user-select:none}.select2-container .select2-selection--multiple .select2-selection__rendered{display:inline-block;overflow:hidden;padding-left:8px;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-search--inline{float:left}.select2-container .select2-search--inline .select2-search__field{box-sizing:border-box;border:none;font-size:100%;margin-top:5px;padding:0}.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-dropdown{background-color:#fff;border:1px solid #aaa;border-radius:4px;box-sizing:border-box;display:block;position:absolute;left:-100000px;width:100%;z-index:1051}.select2-results{display:block}.select2-results__options{list-style:none;margin:0;padding:0}.select2-results__option{padding:6px;user-select:none;-webkit-user-select:none}.select2-results__option[aria-selected]{cursor:pointer}.select2-container--open .select2-dropdown{left:0}.select2-container--open .select2-dropdown--above{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--open .select2-dropdown--below{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-search--dropdown{display:block;padding:4px}.select2-search--dropdown .select2-search__field{padding:4px;width:100%;box-sizing:border-box}.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-search--dropdown.select2-search--hide{display:none}.select2-close-mask{border:0;margin:0;padding:0;display:block;position:fixed;left:0;top:0;min-height:100%;min-width:100%;height:auto;width:auto;opacity:0;z-index:99;background-color:#fff}.select2-hidden-accessible{border:0!important;clip:rect(0 0 0 0)!important;-webkit-clip-path:inset(50%)!important;clip-path:inset(50%)!important;height:1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;width:1px!important;white-space:nowrap!important}.select2-container--default .select2-selection--single{background-color:#fff;border:1px solid #aaa;border-radius:4px}.select2-container--default .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}.select2-container--default .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:700}.select2-container--default .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--default .select2-selection--single .select2-selection__arrow{height:26px;position:absolute;top:1px;right:1px;width:20px}.select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--default[dir=rtl] .select2-selection--single .select2-selection__clear{float:left}.select2-container--default[dir=rtl] .select2-selection--single .select2-selection__arrow{left:1px;right:auto}.select2-container--default.select2-container--disabled .select2-selection--single{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear{display:none}.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.select2-container--default .select2-selection--multiple{background-color:#fff;border:1px solid #aaa;border-radius:4px;cursor:text}.select2-container--default .select2-selection--multiple .select2-selection__rendered{box-sizing:border-box;list-style:none;margin:0;padding:0 5px;width:100%}.select2-container--default .select2-selection--multiple .select2-selection__rendered li{list-style:none}.select2-container--default .select2-selection--multiple .select2-selection__clear{cursor:pointer;float:right;font-weight:700;margin-top:5px;margin-right:10px;padding:1px}.select2-container--default .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{color:#999;cursor:pointer;display:inline-block;font-weight:700;margin-right:2px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover{color:#333}.select2-container--default[dir=rtl] .select2-selection--multiple .select2-search--inline,.select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__choice{float:right}.select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__choice{margin-left:5px;margin-right:auto}.select2-container--default[dir=rtl] .select2-selection--multiple .select2-selection__choice__remove{margin-left:2px;margin-right:auto}.select2-container--default.select2-container--focus .select2-selection--multiple{border:solid #000 1px;outline:0}.select2-container--default.select2-container--disabled .select2-selection--multiple{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection__choice__remove{display:none}.select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple,.select2-container--default.select2-container--open.select2-container--above .select2-selection--single{border-top-left-radius:0;border-top-right-radius:0}.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple,.select2-container--default.select2-container--open.select2-container--below .select2-selection--single{border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--default .select2-search--dropdown .select2-search__field{border:1px solid #aaa}.select2-container--default .select2-search--inline .select2-search__field{background:0 0;border:none;outline:0;box-shadow:none;-webkit-appearance:textfield}.select2-container--default .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--default .select2-results__option[role=group]{padding:0}.select2-container--default .select2-results__option[aria-disabled=true]{color:#999}.select2-container--default .select2-results__option[aria-selected=true]{background-color:#ddd}.select2-container--default .select2-results__option .select2-results__option{padding-left:1em}.select2-container--default .select2-results__option .select2-results__option .select2-results__group{padding-left:0}.select2-container--default .select2-results__option .select2-results__option .select2-results__option{margin-left:-1em;padding-left:2em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-2em;padding-left:3em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-3em;padding-left:4em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-4em;padding-left:5em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-5em;padding-left:6em}.select2-container--default .select2-results__option--highlighted[aria-selected]{background-color:#5897fb;color:#fff}.select2-container--default .select2-results__group{cursor:default;display:block;padding:6px}.select2-container--classic .select2-selection--single{background-color:#f7f7f7;border:1px solid #aaa;border-radius:4px;outline:0;background-image:-webkit-linear-gradient(top,#fff 50%,#eee 100%);background-image:-o-linear-gradient(top,#fff 50%,#eee 100%);background-image:linear-gradient(to bottom,#fff 50%,#eee 100%);background-repeat:repeat-x}.select2-container--classic .select2-selection--single:focus{border:1px solid #5897fb}.select2-container--classic .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}.select2-container--classic .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:700;margin-right:10px}.select2-container--classic .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--classic .select2-selection--single .select2-selection__arrow{background-color:#ddd;border:none;border-left:1px solid #aaa;border-top-right-radius:4px;border-bottom-right-radius:4px;height:26px;position:absolute;top:1px;right:1px;width:20px;background-image:-webkit-linear-gradient(top,#eee 50%,#ccc 100%);background-image:-o-linear-gradient(top,#eee 50%,#ccc 100%);background-image:linear-gradient(to bottom,#eee 50%,#ccc 100%);background-repeat:repeat-x}.select2-container--classic .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--classic[dir=rtl] .select2-selection--single .select2-selection__clear{float:left}.select2-container--classic[dir=rtl] .select2-selection--single .select2-selection__arrow{border:none;border-right:1px solid #aaa;border-radius:0;border-top-left-radius:4px;border-bottom-left-radius:4px;left:1px;right:auto}.select2-container--classic.select2-container--open .select2-selection--single{border:1px solid #5897fb}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow{background:0 0;border:none}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single{border-top:none;border-top-left-radius:0;border-top-right-radius:0;background-image:-webkit-linear-gradient(top,#fff 0,#eee 50%);background-image:-o-linear-gradient(top,#fff 0,#eee 50%);background-image:linear-gradient(to bottom,#fff 0,#eee 50%);background-repeat:repeat-x}.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;background-image:-webkit-linear-gradient(top,#eee 50%,#fff 100%);background-image:-o-linear-gradient(top,#eee 50%,#fff 100%);background-image:linear-gradient(to bottom,#eee 50%,#fff 100%);background-repeat:repeat-x}.select2-container--classic .select2-selection--multiple{background-color:#fff;border:1px solid #aaa;border-radius:4px;cursor:text;outline:0}.select2-container--classic .select2-selection--multiple:focus{border:1px solid #5897fb}.select2-container--classic .select2-selection--multiple .select2-selection__rendered{list-style:none;margin:0;padding:0 5px}.select2-container--classic .select2-selection--multiple .select2-selection__clear{display:none}.select2-container--classic .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove{color:#888;cursor:pointer;display:inline-block;font-weight:700;margin-right:2px}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover{color:#555}.select2-container--classic[dir=rtl] .select2-selection--multiple .select2-selection__choice{float:right;margin-left:5px;margin-right:auto}.select2-container--classic[dir=rtl] .select2-selection--multiple .select2-selection__choice__remove{margin-left:2px;margin-right:auto}.select2-container--classic.select2-container--open .select2-selection--multiple{border:1px solid #5897fb}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--classic .select2-search--dropdown .select2-search__field{border:1px solid #aaa;outline:0}.select2-container--classic .select2-search--inline .select2-search__field{outline:0;box-shadow:none}.select2-container--classic .select2-dropdown{background-color:#fff;border:1px solid transparent}.select2-container--classic .select2-dropdown--above{border-bottom:none}.select2-container--classic .select2-dropdown--below{border-top:none}.select2-container--classic .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--classic .select2-results__option[role=group]{padding:0}.select2-container--classic .select2-results__option[aria-disabled=true]{color:grey}.select2-container--classic .select2-results__option--highlighted[aria-selected]{background-color:#3875d7;color:#fff}.select2-container--classic .select2-results__group{cursor:default;display:block;padding:6px}.select2-container--classic.select2-container--open .select2-dropdown{border-color:#5897fb}.skin-red .skin-purple .skin-blue .skin-black .skin-orange .skin-yellow .skin-green .skin-red-dark .skin-purple-dark .skin-blue-dark .skin-black-dark .skin-orange-dark .skin-yellow-dark .skin-green-dark .skin-contrast .main-header .logo{background-color:inherit}.main-header .logo{width:100%!important;white-space:nowrap;text-align:left;display:block;clear:both}.main-header .logo a:hover,.main-header .logo a:visited,.main-header .logoa:link{color:#fff}.huge{font-size:40px}.btn-file{position:relative;overflow:hidden}.dropdown-menu>li>a{color:#354044}#sort tr.cansort{border-radius:2px;padding:10px;background:#f4f4f4;margin-bottom:3px;border-left:2px solid #e6e7e8;color:#444;cursor:move}.user-image-inline{float:left;width:25px;height:25px;border-radius:50%;margin-right:10px}.input-group .input-group-addon{background-color:#f4f4f4}a.accordion-header{color:#333}.dynamic-form-row{padding:10px;margin:20px}.handle{padding-left:10px}.btn-file input[type=file]{position:absolute;top:0;right:0;min-width:100%;min-height:100%;font-size:100px;text-align:right;opacity:0;outline:0;background:#fff;cursor:inherit;display:block}.main-footer{font-size:13px}.main-header{max-height:150px}.navbar-nav>.user-menu>.dropdown-menu{width:inherit}.main-header .logo{padding:0 5px 0 15px}.sidebar-toggle{margin-left:-48px;z-index:100;background-color:inherit}.sidebar-toggle-mobile{z-index:100;width:50px;padding-top:10px}.main-header .sidebar-toggle:before{content:"\f0c9"}.direct-chat-contacts{padding:10px;height:150px}.select2-container{width:100%}.error input{color:#a94442;border:2px solid #a94442!important}.alert-msg,.error label{color:#a94442;display:block}.input-group[class*=col-]{padding-right:15px;padding-left:15px}.control-label.multiline{padding-top:10px}.btn-outline{color:inherit;background-color:transparent;transition:all .5s}.btn-primary.btn-outline{color:#428bca}.btn-success.btn-outline{color:#5cb85c}.btn-info.btn-outline{color:#5bc0de}.btn-warning.btn-outline{color:#f0ad4e}.btn-danger.btn-outline{color:#d9534f}.btn-danger.btn-outline:hover,.btn-info.btn-outline:hover,.btn-primary.btn-outline:hover,.btn-success.btn-outline:hover,.btn-warning.btn-outline:hover{color:#fff}.slideout-menu{position:fixed;top:0;right:-250px;width:250px;height:100%;background:#333;z-index:100;margin-top:100px;color:#fff;padding:10px}.slideout-menu h3{position:relative;padding:5px;color:#fff;font-size:1.2em;font-weight:400;border-bottom:4px solid #222}.slideout-menu .slideout-menu-toggle{position:absolute;top:12px;right:10px;display:inline-block;padding:6px 9px 5px;font-family:Arial,sans-serif;font-weight:700;line-height:1;background:#222;color:#999;text-decoration:none;vertical-align:top}.slideout-menu .slideout-menu-toggle:hover{color:#fff}.slideout-menu ul{list-style:none;font-weight:300;border-top:1px solid #151515;border-bottom:1px solid #454545}.slideout-menu ul li{border-top:1px solid #454545;border-bottom:1px solid #151515}.slideout-menu ul li a{position:relative;display:block;padding:10px;color:#999;text-decoration:none}.slideout-menu ul li a:hover{background:#000;color:#fff}.slideout-menu ul li a i{position:absolute;top:15px;right:10px;opacity:.5}.btn-box-tool-lg{font-size:16px;color:orange}.bs-wizard{margin-top:20px;border-bottom:1px solid #e0e0e0;padding:0 0 10px}.bs-wizard>.bs-wizard-step{padding:0;position:relative}.bs-wizard>.bs-wizard-step .bs-wizard-stepnum{color:#595959;font-size:16px;margin-bottom:5px}.bs-wizard>.bs-wizard-step .bs-wizard-info{color:#999;font-size:14px}.bs-wizard>.bs-wizard-step>.bs-wizard-dot{position:absolute;width:30px;height:30px;display:block;background:#fbe8aa;top:45px;left:50%;margin-top:-15px;margin-left:-15px;border-radius:50%}.bs-wizard>.bs-wizard-step>.bs-wizard-dot:after{content:" ";width:14px;height:14px;background:#fbbd19;border-radius:50px;position:absolute;top:8px;left:8px}.bs-wizard>.bs-wizard-step>.progress{position:relative;border-radius:0;height:8px;box-shadow:none;margin:20px 0}.bs-wizard>.bs-wizard-step>.progress>.progress-bar{width:0;box-shadow:none;background:#fbe8aa}.bs-wizard>.bs-wizard-step.complete>.progress>.progress-bar{width:100%}.bs-wizard>.bs-wizard-step.active>.progress>.progress-bar{width:50%}.bs-wizard>.bs-wizard-step:first-child.active>.progress>.progress-bar{width:0}.bs-wizard>.bs-wizard-step:last-child.active>.progress>.progress-bar{width:100%}.bs-wizard>.bs-wizard-step.disabled>.bs-wizard-dot{background-color:#f5f5f5}.bs-wizard>.bs-wizard-step.disabled>.bs-wizard-dot:after{opacity:0}.bs-wizard>.bs-wizard-step:first-child>.progress{left:50%;width:50%}.bs-wizard>.bs-wizard-step:last-child>.progress{width:50%}.bs-wizard>.bs-wizard-step.disabled a.bs-wizard-dot{pointer-events:none}.left-navblock{display:inline-block;float:left;text-align:left;color:#fff;padding:0}.skin-red .skin-purple .skin-blue .skin-black .skin-orange .skin-yellow .skin-green .skin-red-dark .skin-purple-dark .skin-blue-dark .skin-black-dark .skin-orange-dark .skin-yellow-dark .skin-green-dark .skin-contrast .main-header .navbar .dropdown-menu li a{color:#333}a.logo.no-hover a:hover{background-color:transparent}.required{border-right:6px solid orange}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:13px}.sidebar-menu{font-size:14px;white-space:normal}@media print{a[href]:after{content:none}.tab-content>.tab-pane{display:block!important;opacity:1!important;visibility:visible!important}}.navbar-brand>img,img.navbar-brand-img{float:left;padding:5px 5px 5px 0;max-height:50px}.input-daterange{border-radius:0}.btn.bg-maroon,.btn.bg-purple{min-width:90px}[hidden]{display:none!important}#toolbar{margin-top:10px}#uploadPreview{border:1px solid grey}.icon-med{font-size:20px;color:#889195}#login-logo{padding-top:20px;padding-bottom:10px;max-width:200px}a.skip-main{left:-999px;position:absolute;top:auto;width:1px;height:1px;overflow:hidden;z-index:-999}a.skip-main:active,a.skip-main:focus{color:#fff;background-color:#000;left:auto;top:auto;width:30%;height:auto;overflow:auto;margin:10px 35%;padding:5px;border-radius:15px;border:4px solid #ff0;text-align:center;font-size:1.2em;z-index:999}h2{font-size:22px}h3{font-size:20px}h4{font-size:16px}.row-striped{vertical-align:top;line-height:2.6;padding:0;margin-left:20px;box-sizing:border-box;display:table}.row-striped .row:nth-of-type(odd) div{background-color:#f9f9f9;border-top:1px solid #ddd;display:table-cell}.row-striped .row:nth-of-type(2n) div{background:#fff;border-top:1px solid #ddd;display:table-cell}.card-view-title{min-width:40%!important;line-height:3!important;padding-right:20px}.card-view{display:table-row;flex-direction:column}th.css-accessory>.th-inner,th.css-barcode>.th-inner,th.css-consumable>.th-inner,th.css-envelope>.th-inner,th.css-license>.th-inner{font-size:0;line-height:4!important;text-align:left;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}th.css-accessory>.th-inner:before,th.css-barcode>.th-inner:before,th.css-consumable>.th-inner:before,th.css-envelope>.th-inner:before,th.css-license>.th-inner:before,th.css-padlock>.th-inner:before{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:20px}th.css-padlock>.th-inner:before{content:"\f023";padding-right:2px}th.css-barcode>.th-inner:before{content:"\f02a"}th.css-license>.th-inner:before{content:"\f0c7"}th.css-consumable>.th-inner:before{content:"\f043"}th.css-envelope>.th-inner:before{content:"\f003"}th.css-accessory>.th-inner:before{content:"\f11c"}.small-box .inner{padding-left:15px;padding-right:15px;padding-top:15px;color:#fff}.small-box>a:hover,.small-box>a:link,.small-box>a:visited{color:#fff}.select2-container--default .select2-selection--single,.select2-selection .select2-selection--single{border:1px solid #d2d6de;border-radius:0;padding:6px 12px;height:34px}.form-group.has-error label{color:#a94442}.select2-container--default .select2-selection--multiple{border-radius:0}diff --git a/public/css/dist/bootstrap-table.css b/public/css/dist/bootstrap-table.cssindex e029aaa9a1..d6c1de4860 100644--- a/public/css/dist/bootstrap-table.css+++ b/public/css/dist/bootstrap-table.css@@ -1 +1 @@-.bootstrap-table .fixed-table-toolbar::after{content:"";display:block;clear:both}.bootstrap-table .fixed-table-toolbar .bs-bars,.bootstrap-table .fixed-table-toolbar .columns,.bootstrap-table .fixed-table-toolbar .search{position:relative;margin-top:10px;margin-bottom:10px}.bootstrap-table .fixed-table-toolbar .columns .btn-group>.btn-group{display:inline-block;margin-left:-1px!important}.bootstrap-table .fixed-table-toolbar .columns .btn-group>.btn-group>.btn{border-radius:0}.bootstrap-table .fixed-table-toolbar .columns .btn-group>.btn-group:first-child>.btn{border-top-left-radius:4px;border-bottom-left-radius:4px}.bootstrap-table .fixed-table-toolbar .columns .btn-group>.btn-group:last-child>.btn{border-top-right-radius:4px;border-bottom-right-radius:4px}.bootstrap-table .fixed-table-toolbar .columns .dropdown-menu{text-align:left;max-height:300px;overflow:auto;-ms-overflow-style:scrollbar;z-index:1001}.bootstrap-table .fixed-table-toolbar .columns label{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.428571429}.bootstrap-table .fixed-table-toolbar .columns-left{margin-right:5px}.bootstrap-table .fixed-table-toolbar .columns-right{margin-left:5px}.bootstrap-table .fixed-table-toolbar .pull-right .dropdown-menu{right:0;left:auto}.bootstrap-table .fixed-table-container{position:relative;clear:both}.bootstrap-table .fixed-table-container .table{width:100%;margin-bottom:0!important}.bootstrap-table .fixed-table-container .table td,.bootstrap-table .fixed-table-container .table th{vertical-align:middle;box-sizing:border-box}.bootstrap-table .fixed-table-container .table thead th{vertical-align:bottom;padding:0;margin:0}.bootstrap-table .fixed-table-container .table thead th:focus{outline:0 solid transparent}.bootstrap-table .fixed-table-container .table thead th.detail{width:30px}.bootstrap-table .fixed-table-container .table thead th .th-inner{padding:.75rem;vertical-align:bottom;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bootstrap-table .fixed-table-container .table thead th .sortable{cursor:pointer;background-position:right;background-repeat:no-repeat;padding-right:30px!important}.bootstrap-table .fixed-table-container .table thead th .both{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAAkElEQVQoz7X QMQ5AQBCF4dWQSJxC5wwax1Cq1e7BAdxD5SL+Tq/QCM1oNiJidwox0355mXnG/DrEtIQ6azioNZQxI0ykPhTQIwhCR+BmBYtlK7kLJYwWCcJA9M4qdrZrd8pPjZWPtOqdRQy320YSV17OatFC4euts6z39GYMKRPCTKY9UnPQ6P+GtMRfGtPnBCiqhAeJPmkqAAAAAElFTkSuQmCC")}.bootstrap-table .fixed-table-container .table thead th .asc{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAZ0lEQVQ4y2NgGLKgquEuFxBPAGI2ahhWCsS/gDibUoO0gPgxEP8H4ttArEyuQYxAPBdqEAxPBImTY5gjEL9DM+wTENuQahAvEO9DMwiGdwAxOymGJQLxTyD+jgWDxCMZRsEoGAVoAADeemwtPcZI2wAAAABJRU5ErkJggg==)}.bootstrap-table .fixed-table-container .table thead th .desc{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAZUlEQVQ4y2NgGAWjYBSggaqGu5FA/BOIv2PBIPFEUgxjB+IdQPwfC94HxLykus4GiD+hGfQOiB3J8SojEE9EM2wuSJzcsFMG4ttQgx4DsRalkZENxL+AuJQaMcsGxBOAmGvopk8AVz1sLZgg0bsAAAAASUVORK5CYII=)}.bootstrap-table .fixed-table-container .table tbody tr.selected td{background-color:rgba(0,0,0,.075)}.bootstrap-table .fixed-table-container .table tbody tr.no-records-found td{text-align:center}.bootstrap-table .fixed-table-container .table tbody tr .card-view{display:flex}.bootstrap-table .fixed-table-container .table tbody tr .card-view .card-view-title{font-weight:700;display:inline-block;min-width:30%;width:auto!important;text-align:left!important}.bootstrap-table .fixed-table-container .table tbody tr .card-view .card-view-value{width:100%!important}.bootstrap-table .fixed-table-container .table .bs-checkbox{text-align:center}.bootstrap-table .fixed-table-container .table .bs-checkbox label{margin-bottom:0}.bootstrap-table .fixed-table-container .table .bs-checkbox label input[type=checkbox],.bootstrap-table .fixed-table-container .table .bs-checkbox label input[type=radio]{margin:0 auto!important}.bootstrap-table .fixed-table-container .table.table-sm .th-inner{padding:.3rem}.bootstrap-table .fixed-table-container.fixed-height:not(.has-footer){border-bottom:1px solid #dee2e6}.bootstrap-table .fixed-table-container.fixed-height.has-card-view{border-top:1px solid #dee2e6;border-bottom:1px solid #dee2e6}.bootstrap-table .fixed-table-container.fixed-height .fixed-table-border{border-left:1px solid #dee2e6;border-right:1px solid #dee2e6}.bootstrap-table .fixed-table-container.fixed-height .table thead th{border-bottom:1px solid #dee2e6}.bootstrap-table .fixed-table-container.fixed-height .table-dark thead th{border-bottom:1px solid #32383e}.bootstrap-table .fixed-table-container .fixed-table-header{overflow:hidden}.bootstrap-table .fixed-table-container .fixed-table-body{overflow-x:auto;overflow-y:auto;height:100%}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading{align-items:center;background:#fff;display:flex;justify-content:center;position:absolute;bottom:0;width:100%;z-index:1000;transition:visibility 0s,opacity .15s ease-in-out;opacity:0;visibility:hidden}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.open{visibility:visible;opacity:1}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap{align-items:baseline;display:flex;justify-content:center}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .loading-text{margin-right:6px}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap{align-items:center;display:flex;justify-content:center}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-dot,.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap::after,.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap::before{content:"";animation-duration:1.5s;animation-iteration-count:infinite;animation-name:LOADING;background:#212529;border-radius:50%;display:block;height:5px;margin:0 4px;opacity:0;width:5px}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-dot{animation-delay:.3s}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap::after{animation-delay:.6s}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark{background:#212529}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark .animation-dot,.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark .animation-wrap::after,.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark .animation-wrap::before{background:#fff}.bootstrap-table .fixed-table-container .fixed-table-footer{overflow:hidden}.bootstrap-table .fixed-table-pagination::after{content:"";display:block;clear:both}.bootstrap-table .fixed-table-pagination>.pagination,.bootstrap-table .fixed-table-pagination>.pagination-detail{margin-top:10px;margin-bottom:10px}.bootstrap-table .fixed-table-pagination>.pagination-detail .pagination-info{line-height:34px;margin-right:5px}.bootstrap-table .fixed-table-pagination>.pagination-detail .page-list{display:inline-block}.bootstrap-table .fixed-table-pagination>.pagination-detail .page-list .btn-group{position:relative;display:inline-block;vertical-align:middle}.bootstrap-table .fixed-table-pagination>.pagination-detail .page-list .btn-group .dropdown-menu{margin-bottom:0}.bootstrap-table .fixed-table-pagination>.pagination ul.pagination{margin:0}.bootstrap-table .fixed-table-pagination>.pagination ul.pagination li.page-intermediate a{color:#c8c8c8}.bootstrap-table .fixed-table-pagination>.pagination ul.pagination li.page-intermediate a::before{content:'\2B05'}.bootstrap-table .fixed-table-pagination>.pagination ul.pagination li.page-intermediate a::after{content:'\27A1'}.bootstrap-table .fixed-table-pagination>.pagination ul.pagination li.disabled a{pointer-events:none;cursor:default}.bootstrap-table.fullscreen{position:fixed;top:0;left:0;z-index:1050;width:100%!important;background:#fff;height:calc(100vh);overflow-y:scroll}.bootstrap-table.bootstrap4 .pagination-lg .page-link,.bootstrap-table.bootstrap5 .pagination-lg .page-link{padding:.5rem 1rem}.bootstrap-table.bootstrap5 .float-left{float:left}.bootstrap-table.bootstrap5 .float-right{float:right}div.fixed-table-scroll-inner{width:100%;height:200px}div.fixed-table-scroll-outer{top:0;left:0;visibility:hidden;width:200px;height:150px;overflow:hidden}@keyframes LOADING{0%{opacity:0}50%{opacity:1}to{opacity:0}}.fix-sticky{position:fixed!important;overflow:hidden;z-index:100}.fix-sticky table thead{background:#fff}.fix-sticky table thead.thead-light{background:#e9ecef}.fix-sticky table thead.thead-dark{background:#212529}+.bootstrap-table .fixed-table-toolbar::after{content:"";display:block;clear:both}.bootstrap-table .fixed-table-toolbar .bs-bars,.bootstrap-table .fixed-table-toolbar .columns,.bootstrap-table .fixed-table-toolbar .search{position:relative;margin-top:10px;margin-bottom:10px}.bootstrap-table .fixed-table-toolbar .columns .btn-group>.btn-group{display:inline-block;margin-left:-1px!important}.bootstrap-table .fixed-table-toolbar .columns .btn-group>.btn-group>.btn{border-radius:0}.bootstrap-table .fixed-table-toolbar .columns .btn-group>.btn-group:first-child>.btn{border-top-left-radius:4px;border-bottom-left-radius:4px}.bootstrap-table .fixed-table-toolbar .columns .btn-group>.btn-group:last-child>.btn{border-top-right-radius:4px;border-bottom-right-radius:4px}.bootstrap-table .fixed-table-toolbar .columns .dropdown-menu{text-align:left;max-height:300px;overflow:auto;-ms-overflow-style:scrollbar;z-index:1001}.bootstrap-table .fixed-table-toolbar .columns label{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.428571429}.bootstrap-table .fixed-table-toolbar .columns-left{margin-right:5px}.bootstrap-table .fixed-table-toolbar .columns-right{margin-left:5px}.bootstrap-table .fixed-table-toolbar .pull-right .dropdown-menu{right:0;left:auto}.bootstrap-table .fixed-table-container{position:relative;clear:both}.bootstrap-table .fixed-table-container .table{width:100%;margin-bottom:0!important}.bootstrap-table .fixed-table-container .table td,.bootstrap-table .fixed-table-container .table th{vertical-align:middle;box-sizing:border-box}.bootstrap-table .fixed-table-container .table thead th{vertical-align:bottom;padding:0;margin:0}.bootstrap-table .fixed-table-container .table thead th:focus{outline:0 solid transparent}.bootstrap-table .fixed-table-container .table thead th.detail{width:30px}.bootstrap-table .fixed-table-container .table thead th .th-inner{padding:.75rem;vertical-align:bottom;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bootstrap-table .fixed-table-container .table thead th .sortable{cursor:pointer;background-position:right;background-repeat:no-repeat;padding-right:30px!important}.bootstrap-table .fixed-table-container .table thead th .both{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAAkElEQVQoz7X QMQ5AQBCF4dWQSJxC5wwax1Cq1e7BAdxD5SL+Tq/QCM1oNiJidwox0355mXnG/DrEtIQ6azioNZQxI0ykPhTQIwhCR+BmBYtlK7kLJYwWCcJA9M4qdrZrd8pPjZWPtOqdRQy320YSV17OatFC4euts6z39GYMKRPCTKY9UnPQ6P+GtMRfGtPnBCiqhAeJPmkqAAAAAElFTkSuQmCC")}.bootstrap-table .fixed-table-container .table thead th .asc{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAZ0lEQVQ4y2NgGLKgquEuFxBPAGI2ahhWCsS/gDibUoO0gPgxEP8H4ttArEyuQYxAPBdqEAxPBImTY5gjEL9DM+wTENuQahAvEO9DMwiGdwAxOymGJQLxTyD+jgWDxCMZRsEoGAVoAADeemwtPcZI2wAAAABJRU5ErkJggg==)}.bootstrap-table .fixed-table-container .table thead th .desc{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAZUlEQVQ4y2NgGAWjYBSggaqGu5FA/BOIv2PBIPFEUgxjB+IdQPwfC94HxLykus4GiD+hGfQOiB3J8SojEE9EM2wuSJzcsFMG4ttQgx4DsRalkZENxL+AuJQaMcsGxBOAmGvopk8AVz1sLZgg0bsAAAAASUVORK5CYII=)}.bootstrap-table .fixed-table-container .table tbody tr.selected td{background-color:rgba(0,0,0,.075)}.bootstrap-table .fixed-table-container .table tbody tr.no-records-found td{text-align:center}.bootstrap-table .fixed-table-container .table tbody tr .card-view{display:flex}.bootstrap-table .fixed-table-container .table tbody tr .card-view .card-view-title{font-weight:700;display:inline-block;min-width:30%;width:auto!important;text-align:left!important}.bootstrap-table .fixed-table-container .table tbody tr .card-view .card-view-value{width:100%!important;text-align:left!important}.bootstrap-table .fixed-table-container .table .bs-checkbox{text-align:center}.bootstrap-table .fixed-table-container .table .bs-checkbox label{margin-bottom:0}.bootstrap-table .fixed-table-container .table .bs-checkbox label input[type=checkbox],.bootstrap-table .fixed-table-container .table .bs-checkbox label input[type=radio]{margin:0 auto!important}.bootstrap-table .fixed-table-container .table.table-sm .th-inner{padding:.3rem}.bootstrap-table .fixed-table-container.fixed-height:not(.has-footer){border-bottom:1px solid #dee2e6}.bootstrap-table .fixed-table-container.fixed-height.has-card-view{border-top:1px solid #dee2e6;border-bottom:1px solid #dee2e6}.bootstrap-table .fixed-table-container.fixed-height .fixed-table-border{border-left:1px solid #dee2e6;border-right:1px solid #dee2e6}.bootstrap-table .fixed-table-container.fixed-height .table thead th{border-bottom:1px solid #dee2e6}.bootstrap-table .fixed-table-container.fixed-height .table-dark thead th{border-bottom:1px solid #32383e}.bootstrap-table .fixed-table-container .fixed-table-header{overflow:hidden}.bootstrap-table .fixed-table-container .fixed-table-body{overflow-x:auto;overflow-y:auto;height:100%}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading{align-items:center;background:#fff;display:flex;justify-content:center;position:absolute;bottom:0;width:100%;max-width:100%;z-index:1000;transition:visibility 0s,opacity .15s ease-in-out;opacity:0;visibility:hidden}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.open{visibility:visible;opacity:1}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap{align-items:baseline;display:flex;justify-content:center}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .loading-text{margin-right:6px}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap{align-items:center;display:flex;justify-content:center}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-dot,.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap::after,.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap::before{content:"";animation-duration:1.5s;animation-iteration-count:infinite;animation-name:LOADING;background:#212529;border-radius:50%;display:block;height:5px;margin:0 4px;opacity:0;width:5px}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-dot{animation-delay:.3s}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap::after{animation-delay:.6s}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark{background:#212529}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark .animation-dot,.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark .animation-wrap::after,.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark .animation-wrap::before{background:#fff}.bootstrap-table .fixed-table-container .fixed-table-footer{overflow:hidden}.bootstrap-table .fixed-table-pagination::after{content:"";display:block;clear:both}.bootstrap-table .fixed-table-pagination>.pagination,.bootstrap-table .fixed-table-pagination>.pagination-detail{margin-top:10px;margin-bottom:10px}.bootstrap-table .fixed-table-pagination>.pagination-detail .pagination-info{line-height:34px;margin-right:5px}.bootstrap-table .fixed-table-pagination>.pagination-detail .page-list{display:inline-block}.bootstrap-table .fixed-table-pagination>.pagination-detail .page-list .btn-group{position:relative;display:inline-block;vertical-align:middle}.bootstrap-table .fixed-table-pagination>.pagination-detail .page-list .btn-group .dropdown-menu{margin-bottom:0}.bootstrap-table .fixed-table-pagination>.pagination ul.pagination{margin:0}.bootstrap-table .fixed-table-pagination>.pagination ul.pagination li.page-intermediate a{color:#c8c8c8}.bootstrap-table .fixed-table-pagination>.pagination ul.pagination li.page-intermediate a::before{content:'\2B05'}.bootstrap-table .fixed-table-pagination>.pagination ul.pagination li.page-intermediate a::after{content:'\27A1'}.bootstrap-table .fixed-table-pagination>.pagination ul.pagination li.disabled a{pointer-events:none;cursor:default}.bootstrap-table.fullscreen{position:fixed;top:0;left:0;z-index:1050;width:100%!important;background:#fff;height:calc(100vh);overflow-y:scroll}.bootstrap-table.bootstrap4 .pagination-lg .page-link,.bootstrap-table.bootstrap5 .pagination-lg .page-link{padding:.5rem 1rem}.bootstrap-table.bootstrap5 .float-left{float:left}.bootstrap-table.bootstrap5 .float-right{float:right}div.fixed-table-scroll-inner{width:100%;height:200px}div.fixed-table-scroll-outer{top:0;left:0;visibility:hidden;width:200px;height:150px;overflow:hidden}@keyframes LOADING{0%{opacity:0}50%{opacity:1}to{opacity:0}}.fix-sticky{position:fixed!important;overflow:hidden;z-index:100}.fix-sticky table thead{background:#fff}.fix-sticky table thead.thead-light{background:#e9ecef}.fix-sticky table thead.thead-dark{background:#212529}diff --git a/public/js/dist/bootstrap-table.js b/public/js/dist/bootstrap-table.jsindex bc10e7dd6a..7557d545a4 100644--- a/public/js/dist/bootstrap-table.js+++ b/public/js/dist/bootstrap-table.js@@ -1 +1 @@-!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).BootstrapTable=t(e.jQuery)}(this,function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e);function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,a=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){a=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(a)throw i}}return n}(e,t)||c(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||c(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function f(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=c(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw i}}}}var h="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function d(e,t){return e(t={exports:{}},t.exports),t.exports}var p=function(e){return e&&e.Math==Math&&e},g=p("object"==typeof globalThis&&globalThis)||p("object"==typeof window&&window)||p("object"==typeof self&&self)||p("object"==typeof h&&h)||function(){return this}()||Function("return this")(),m=function(e){try{return!!e()}catch(e){return!0}},v=!m(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),b={}.propertyIsEnumerable,y=Object.getOwnPropertyDescriptor,w={f:y&&!b.call({1:2},1)?function(e){var t=y(this,e);return!!t&&t.enumerable}:b},S=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},x={}.toString,E=function(e){return x.call(e).slice(8,-1)},_="".split,k=m(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==E(e)?_.call(e,""):Object(e)}:Object,A=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},C=function(e){return k(A(e))},T=function(e){return"object"==typeof e?null!==e:"function"==typeof e},R=function(e,t){if(!T(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!T(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!T(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!T(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},N={}.hasOwnProperty,B=function(e,t){return N.call(e,t)},I=g.document,L=T(I)&&T(I.createElement),O=function(e){return L?I.createElement(e):{}},P=!v&&!m(function(){return 7!=Object.defineProperty(O("div"),"a",{get:function(){return 7}}).a}),F=Object.getOwnPropertyDescriptor,D={f:v?F:function(e,t){if(e=C(e),t=R(t,!0),P)try{return F(e,t)}catch(e){}if(B(e,t))return S(!w.f.call(e,t),e[t])}},M=function(e){if(!T(e))throw TypeError(String(e)+" is not an object");return e},j=Object.defineProperty,W={f:v?j:function(e,t,n){if(M(e),t=R(t,!0),M(n),P)try{return j(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},U=v?function(e,t,n){return W.f(e,t,S(1,n))}:function(e,t,n){return e[t]=n,e},z=function(e,t){try{U(g,e,t)}catch(n){g[e]=t}return t},H=g["__core-js_shared__"]||z("__core-js_shared__",{}),V=Function.toString;"function"!=typeof H.inspectSource&&(H.inspectSource=function(e){return V.call(e)});var q,G,X,$=H.inspectSource,Y=g.WeakMap,K="function"==typeof Y&&/native code/.test($(Y)),J=d(function(e){(e.exports=function(e,t){return H[e]||(H[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.9.1",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})}),Z=0,Q=Math.random(),ee=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++Z+Q).toString(36)},te=J("keys"),ne=function(e){return te[e]||(te[e]=ee(e))},re={},ae=g.WeakMap;if(K){var ie=H.state||(H.state=new ae),oe=ie.get,se=ie.has,le=ie.set;q=function(e,t){return t.facade=e,le.call(ie,e,t),t},G=function(e){return oe.call(ie,e)||{}},X=function(e){return se.call(ie,e)}}else{var ce=ne("state");re[ce]=!0,q=function(e,t){return t.facade=e,U(e,ce,t),t},G=function(e){return B(e,ce)?e[ce]:{}},X=function(e){return B(e,ce)}}var ue={set:q,get:G,has:X,enforce:function(e){return X(e)?G(e):q(e,{})},getterFor:function(e){return function(t){var n;if(!T(t)||(n=G(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},fe=d(function(e){var t=ue.get,n=ue.enforce,r=String(String).split("String");(e.exports=function(e,t,a,i){var o,s=!!i&&!!i.unsafe,l=!!i&&!!i.enumerable,c=!!i&&!!i.noTargetGet;"function"==typeof a&&("string"!=typeof t||B(a,"name")||U(a,"name",t),(o=n(a)).source||(o.source=r.join("string"==typeof t?t:""))),e!==g?(s?!c&&e[t]&&(l=!0):delete e[t],l?e[t]=a:U(e,t,a)):l?e[t]=a:z(t,a)})(Function.prototype,"toString",function(){return"function"==typeof this&&t(this).source||$(this)})}),he=g,de=function(e){return"function"==typeof e?e:void 0},pe=function(e,t){return arguments.length<2?de(he[e])||de(g[e]):he[e]&&he[e][t]||g[e]&&g[e][t]},ge=Math.ceil,me=Math.floor,ve=function(e){return isNaN(e=+e)?0:(e>0?me:ge)(e)},be=Math.min,ye=function(e){return e>0?be(ve(e),9007199254740991):0},we=Math.max,Se=Math.min,xe=function(e,t){var n=ve(e);return n<0?we(n+t,0):Se(n,t)},Ee=function(e){return function(t,n,r){var a,i=C(t),o=ye(i.length),s=xe(r,o);if(e&&n!=n){for(;o>s;)if((a=i[s++])!=a)return!0}else for(;o>s;s++)if((e||s in i)&&i[s]===n)return e||s||0;return!e&&-1}},_e={includes:Ee(!0),indexOf:Ee(!1)},ke=_e.indexOf,Ae=function(e,t){var n,r=C(e),a=0,i=[];for(n in r)!B(re,n)&&B(r,n)&&i.push(n);for(;t.length>a;)B(r,n=t[a++])&&(~ke(i,n)||i.push(n));return i},Ce=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Te=Ce.concat("length","prototype"),Re={f:Object.getOwnPropertyNames||function(e){return Ae(e,Te)}},Ne={f:Object.getOwnPropertySymbols},Be=pe("Reflect","ownKeys")||function(e){var t=Re.f(M(e)),n=Ne.f;return n?t.concat(n(e)):t},Ie=function(e,t){for(var n=Be(t),r=W.f,a=D.f,i=0;i<n.length;i++){var o=n[i];B(e,o)||r(e,o,a(t,o))}},Le=/#|\.prototype\./,Oe=function(e,t){var n=Fe[Pe(e)];return n==Me||n!=De&&("function"==typeof t?m(t):!!t)},Pe=Oe.normalize=function(e){return String(e).replace(Le,".").toLowerCase()},Fe=Oe.data={},De=Oe.NATIVE="N",Me=Oe.POLYFILL="P",je=Oe,We=D.f,Ue=function(e,t){var n,r,a,i,o,s=e.target,l=e.global,c=e.stat;if(n=l?g:c?g[s]||z(s,{}):(g[s]||{}).prototype)for(r in t){if(i=t[r],a=e.noTargetGet?(o=We(n,r))&&o.value:n[r],!je(l?r:s+(c?".":"#")+r,e.forced)&&void 0!==a){if(typeof i==typeof a)continue;Ie(i,a)}(e.sham||a&&a.sham)&&U(i,"sham",!0),fe(n,r,i,e)}},ze="\t\n\v\f\r \u2028\u2029\ufeff",He="["+ze+"]",Ve=RegExp("^"+He+He+"*"),qe=RegExp(He+He+"*$"),Ge=function(e){return function(t){var n=String(A(t));return 1&e&&(n=n.replace(Ve,"")),2&e&&(n=n.replace(qe,"")),n}},Xe={start:Ge(1),end:Ge(2),trim:Ge(3)},$e=Xe.trim;Ue({target:"String",proto:!0,forced:function(e){return m(function(){return!!ze[e]()||" "!=" "[e]()||ze[e].name!==e})}("trim")},{trim:function(){return $e(this)}});var Ye=function(e,t){var n=[][e];return!!n&&m(function(){n.call(null,t||function(){throw 1},1)})},Ke=[].join,Je=k!=Object,Ze=Ye("join",",");Ue({target:"Array",proto:!0,forced:Je||!Ze},{join:function(e){return Ke.call(C(this),void 0===e?",":e)}});var Qe=function(){var e=M(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t};function et(e,t){return RegExp(e,t)}var tt={UNSUPPORTED_Y:m(function(){var e=et("a","y");return e.lastIndex=2,null!=e.exec("abcd")}),BROKEN_CARET:m(function(){var e=et("^r","gy");return e.lastIndex=2,null!=e.exec("str")})},nt=RegExp.prototype.exec,rt=String.prototype.replace,at=nt,it=function(){var e=/a/,t=/b*/g;return nt.call(e,"a"),nt.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),ot=tt.UNSUPPORTED_Y||tt.BROKEN_CARET,st=void 0!==/()??/.exec("")[1];(it||st||ot)&&(at=function(e){var t,n,r,a,i=this,o=ot&&i.sticky,s=Qe.call(i),l=i.source,c=0,u=e;return o&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),u=String(e).slice(i.lastIndex),i.lastIndex>0&&(!i.multiline||i.multiline&&"\n"!==e[i.lastIndex-1])&&(l="(?: "+l+")",u=" "+u,c++),n=new RegExp("^(?:"+l+")",s)),st&&(n=new RegExp("^"+l+"$(?!\\s)",s)),it&&(t=i.lastIndex),r=nt.call(o?n:i,u),o?r?(r.input=r.input.slice(c),r[0]=r[0].slice(c),r.index=i.lastIndex,i.lastIndex+=r[0].length):i.lastIndex=0:it&&r&&(i.lastIndex=i.global?r.index+r[0].length:t),st&&r&&r.length>1&&rt.call(r[0],n,function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(r[a]=void 0)}),r});var lt=at;Ue({target:"RegExp",proto:!0,forced:/./.exec!==lt},{exec:lt});var ct,ut,ft="process"==E(g.process),ht=pe("navigator","userAgent")||"",dt=g.process,pt=dt&&dt.versions,gt=pt&&pt.v8;gt?ut=(ct=gt.split("."))[0]+ct[1]:ht&&(!(ct=ht.match(/Edge\/(\d+)/))||ct[1]>=74)&&(ct=ht.match(/Chrome\/(\d+)/))&&(ut=ct[1]);var mt=ut&&+ut,vt=!!Object.getOwnPropertySymbols&&!m(function(){return!Symbol.sham&&(ft?38===mt:mt>37&&mt<41)}),bt=vt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,yt=J("wks"),wt=g.Symbol,St=bt?wt:wt&&wt.withoutSetter||ee,xt=function(e){return B(yt,e)&&(vt||"string"==typeof yt[e])||(vt&&B(wt,e)?yt[e]=wt[e]:yt[e]=St("Symbol."+e)),yt[e]},Et=xt("species"),_t=!m(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}),kt="$0"==="a".replace(/./,"$0"),At=xt("replace"),Ct=!!/./[At]&&""===/./[At]("a","$0"),Tt=!m(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}),Rt=function(e,t,n,r){var a=xt(e),i=!m(function(){var t={};return t[a]=function(){return 7},7!=""[e](t)}),o=i&&!m(function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[Et]=function(){return n},n.flags="",n[a]=/./[a]),n.exec=function(){return t=!0,null},n[a](""),!t});if(!i||!o||"replace"===e&&(!_t||!kt||Ct)||"split"===e&&!Tt){var s=/./[a],l=n(a,""[e],function(e,t,n,r,a){return t.exec===lt?i&&!a?{done:!0,value:s.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}},{REPLACE_KEEPS_$0:kt,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:Ct}),c=l[0],u=l[1];fe(String.prototype,e,c),fe(RegExp.prototype,a,2==t?function(e,t){return u.call(e,this,t)}:function(e){return u.call(e,this)})}r&&U(RegExp.prototype[a],"sham",!0)},Nt=xt("match"),Bt=function(e){var t;return T(e)&&(void 0!==(t=e[Nt])?!!t:"RegExp"==E(e))},It=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},Lt=xt("species"),Ot=function(e){return function(t,n){var r,a,i=String(A(t)),o=ve(n),s=i.length;return o<0||o>=s?e?"":void 0:(r=i.charCodeAt(o))<55296||r>56319||o+1===s||(a=i.charCodeAt(o+1))<56320||a>57343?e?i.charAt(o):r:e?i.slice(o,o+2):a-56320+(r-55296<<10)+65536}},Pt={codeAt:Ot(!1),charAt:Ot(!0)}.charAt,Ft=function(e,t,n){return t+(n?Pt(e,t).length:1)},Dt=function(e,t){var n=e.exec;if("function"==typeof n){var r=n.call(e,t);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==E(e))throw TypeError("RegExp#exec called on incompatible receiver");return lt.call(e,t)},Mt=[].push,jt=Math.min,Wt=!m(function(){return!RegExp(4294967295,"y")});Rt("split",2,function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=String(A(this)),a=void 0===n?4294967295:n>>>0;if(0===a)return[];if(void 0===e)return[r];if(!Bt(e))return t.call(r,e,a);for(var i,o,s,l=[],c=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),u=0,f=new RegExp(e.source,c+"g");(i=lt.call(f,r))&&!((o=f.lastIndex)>u&&(l.push(r.slice(u,i.index)),i.length>1&&i.index<r.length&&Mt.apply(l,i.slice(1)),s=i[0].length,u=o,l.length>=a));)f.lastIndex===i.index&&f.lastIndex++;return u===r.length?!s&&f.test("")||l.push(""):l.push(r.slice(u)),l.length>a?l.slice(0,a):l}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var a=A(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,a,n):r.call(String(a),t,n)},function(e,a){var i=n(r,e,this,a,r!==t);if(i.done)return i.value;var o=M(e),s=String(this),l=function(e,t){var n,r=M(e).constructor;return void 0===r||null==(n=M(r)[Lt])?t:It(n)}(o,RegExp),c=o.unicode,u=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(Wt?"y":"g"),f=new l(Wt?o:"^(?:"+o.source+")",u),h=void 0===a?4294967295:a>>>0;if(0===h)return[];if(0===s.length)return null===Dt(f,s)?[s]:[];for(var d=0,p=0,g=[];p<s.length;){f.lastIndex=Wt?p:0;var m,v=Dt(f,Wt?s:s.slice(p));if(null===v||(m=jt(ye(f.lastIndex+(Wt?0:p)),s.length))===d)p=Ft(s,p,c);else{if(g.push(s.slice(d,p)),g.length===h)return g;for(var b=1;b<=v.length-1;b++)if(g.push(v[b]),g.length===h)return g;p=d=m}}return g.push(s.slice(d)),g}]},!Wt);var Ut,zt=Object.keys||function(e){return Ae(e,Ce)},Ht=v?Object.defineProperties:function(e,t){M(e);for(var n,r=zt(t),a=r.length,i=0;a>i;)W.f(e,n=r[i++],t[n]);return e},Vt=pe("document","documentElement"),qt=ne("IE_PROTO"),Gt=function(){},Xt=function(e){return"<script>"+e+"<\/script>"},$t=function(){try{Ut=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;$t=Ut?function(e){e.write(Xt("")),e.close();var t=e.parentWindow.Object;return e=null,t}(Ut):((t=O("iframe")).style.display="none",Vt.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Xt("document.F=Object")),e.close(),e.F);for(var n=Ce.length;n--;)delete $t.prototype[Ce[n]];return $t()};re[qt]=!0;var Yt=Object.create||function(e,t){var n;return null!==e?(Gt.prototype=M(e),n=new Gt,Gt.prototype=null,n[qt]=e):n=$t(),void 0===t?n:Ht(n,t)},Kt=xt("unscopables"),Jt=Array.prototype;null==Jt[Kt]&&W.f(Jt,Kt,{configurable:!0,value:Yt(null)});var Zt=function(e){Jt[Kt][e]=!0},Qt=_e.includes;Ue({target:"Array",proto:!0},{includes:function(e){return Qt(this,e,arguments.length>1?arguments[1]:void 0)}}),Zt("includes");var en=Array.isArray||function(e){return"Array"==E(e)},tn=function(e){return Object(A(e))},nn=function(e,t,n){var r=R(t);r in e?W.f(e,r,S(0,n)):e[r]=n},rn=xt("species"),an=function(e,t){var n;return en(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!en(n.prototype)?T(n)&&null===(n=n[rn])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)},on=xt("species"),sn=function(e){return mt>=51||!m(function(){var t=[];return(t.constructor={})[on]=function(){return{foo:1}},1!==t[e](Boolean).foo})},ln=xt("isConcatSpreadable"),cn=mt>=51||!m(function(){var e=[];return e[ln]=!1,e.concat()[0]!==e}),un=sn("concat"),fn=function(e){if(!T(e))return!1;var t=e[ln];return void 0!==t?!!t:en(e)};Ue({target:"Array",proto:!0,forced:!cn||!un},{concat:function(e){var t,n,r,a,i,o=tn(this),s=an(o,0),l=0;for(t=-1,r=arguments.length;t<r;t++)if(i=-1===t?o:arguments[t],fn(i)){if(l+(a=ye(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<a;n++,l++)n in i&&nn(s,l,i[n])}else{if(l>=9007199254740991)throw TypeError("Maximum allowed index exceeded");nn(s,l++,i)}return s.length=l,s}});var hn=[].push,dn=function(e){var t=1==e,n=2==e,r=3==e,a=4==e,i=6==e,o=7==e,s=5==e||i;return function(l,c,u,f){for(var h,d,p=tn(l),g=k(p),m=function(e,t,n){if(It(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,a){return e.call(t,n,r,a)}}return function(){return e.apply(t,arguments)}}(c,u,3),v=ye(g.length),b=0,y=f||an,w=t?y(l,v):n||o?y(l,0):void 0;v>b;b++)if((s||b in g)&&(d=m(h=g[b],b,p),e))if(t)w[b]=d;else if(d)switch(e){case 3:return!0;case 5:return h;case 6:return b;case 2:hn.call(w,h)}else switch(e){case 4:return!1;case 7:hn.call(w,h)}return i?-1:r||a?a:w}},pn={forEach:dn(0),map:dn(1),filter:dn(2),some:dn(3),every:dn(4),find:dn(5),findIndex:dn(6),filterOut:dn(7)},gn=pn.find,mn=!0;"find"in[]&&Array(1).find(function(){mn=!1}),Ue({target:"Array",proto:!0,forced:mn},{find:function(e){return gn(this,e,arguments.length>1?arguments[1]:void 0)}}),Zt("find");var vn=function(e){if(Bt(e))throw TypeError("The method doesn't accept regular expressions");return e},bn=xt("match"),yn=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[bn]=!1,"/./"[e](t)}catch(e){}}return!1};Ue({target:"String",proto:!0,forced:!yn("includes")},{includes:function(e){return!!~String(A(this)).indexOf(vn(e),arguments.length>1?arguments[1]:void 0)}});var wn={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Sn=pn.forEach,xn=Ye("forEach")?[].forEach:function(e){return Sn(this,e,arguments.length>1?arguments[1]:void 0)};for(var En in wn){var _n=g[En],kn=_n&&_n.prototype;if(kn&&kn.forEach!==xn)try{U(kn,"forEach",xn)}catch(e){kn.forEach=xn}}var An=Xe.trim,Cn=g.parseFloat,Tn=1/Cn(ze+"-0")!=-1/0?function(e){var t=An(String(e)),n=Cn(t);return 0===n&&"-"==t.charAt(0)?-0:n}:Cn;Ue({global:!0,forced:parseFloat!=Tn},{parseFloat:Tn});var Rn=w.f,Nn=function(e){return function(t){for(var n,r=C(t),a=zt(r),i=a.length,o=0,s=[];i>o;)n=a[o++],v&&!Rn.call(r,n)||s.push(e?[n,r[n]]:r[n]);return s}},Bn={entries:Nn(!0),values:Nn(!1)}.entries;Ue({target:"Object",stat:!0},{entries:function(e){return Bn(e)}});var In=_e.indexOf,Ln=[].indexOf,On=!!Ln&&1/[1].indexOf(1,-0)<0,Pn=Ye("indexOf");Ue({target:"Array",proto:!0,forced:On||!Pn},{indexOf:function(e){return On?Ln.apply(this,arguments)||0:In(this,e,arguments.length>1?arguments[1]:void 0)}});var Fn=[],Dn=Fn.sort,Mn=m(function(){Fn.sort(void 0)}),jn=m(function(){Fn.sort(null)}),Wn=Ye("sort");Ue({target:"Array",proto:!0,forced:Mn||!jn||!Wn},{sort:function(e){return void 0===e?Dn.call(tn(this)):Dn.call(tn(this),It(e))}});var Un=Math.floor,zn="".replace,Hn=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Vn=/\$([$&'`]|\d{1,2})/g,qn=function(e,t,n,r,a,i){var o=n+e.length,s=r.length,l=Vn;return void 0!==a&&(a=tn(a),l=Hn),zn.call(i,l,function(i,l){var c;switch(l.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,n);case"'":return t.slice(o);case"<":c=a[l.slice(1,-1)];break;default:var u=+l;if(0===u)return i;if(u>s){var f=Un(u/10);return 0===f?i:f<=s?void 0===r[f-1]?l.charAt(1):r[f-1]+l.charAt(1):i}c=r[u-1]}return void 0===c?"":c})},Gn=Math.max,Xn=Math.min;Rt("replace",2,function(e,t,n,r){var a=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,i=r.REPLACE_KEEPS_$0,o=a?"$":"$0";return[function(n,r){var a=A(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,a,r):t.call(String(a),n,r)},function(e,r){if(!a&&i||"string"==typeof r&&-1===r.indexOf(o)){var s=n(t,e,this,r);if(s.done)return s.value}var l=M(e),c=String(this),u="function"==typeof r;u||(r=String(r));var f=l.global;if(f){var h=l.unicode;l.lastIndex=0}for(var d=[];;){var p=Dt(l,c);if(null===p)break;if(d.push(p),!f)break;""===String(p[0])&&(l.lastIndex=Ft(c,ye(l.lastIndex),h))}for(var g,m="",v=0,b=0;b<d.length;b++){p=d[b];for(var y=String(p[0]),w=Gn(Xn(ve(p.index),c.length),0),S=[],x=1;x<p.length;x++)S.push(void 0===(g=p[x])?g:String(g));var E=p.groups;if(u){var _=[y].concat(S,w,c);void 0!==E&&_.push(E);var k=String(r.apply(void 0,_))}else k=qn(y,c,w,S,E,r);w>=v&&(m+=c.slice(v,w)+k,v=w+y.length)}return m+c.slice(v)}]});var $n=Object.assign,Yn=Object.defineProperty,Kn=!$n||m(function(){if(v&&1!==$n({b:1},$n(Yn({},"a",{enumerable:!0,get:function(){Yn(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach(function(e){t[e]=e}),7!=$n({},e)[n]||"abcdefghijklmnopqrst"!=zt($n({},t)).join("")})?function(e,t){for(var n=tn(e),r=arguments.length,a=1,i=Ne.f,o=w.f;r>a;)for(var s,l=k(arguments[a++]),c=i?zt(l).concat(i(l)):zt(l),u=c.length,f=0;u>f;)s=c[f++],v&&!o.call(l,s)||(n[s]=l[s]);return n}:$n;Ue({target:"Object",stat:!0,forced:Object.assign!==Kn},{assign:Kn});var Jn=pn.filter,Zn=sn("filter");Ue({target:"Array",proto:!0,forced:!Zn},{filter:function(e){return Jn(this,e,arguments.length>1?arguments[1]:void 0)}});var Qn=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};Rt("search",1,function(e,t,n){return[function(t){var n=A(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var a=M(e),i=String(this),o=a.lastIndex;Qn(o,0)||(a.lastIndex=0);var s=Dt(a,i);return Qn(a.lastIndex,o)||(a.lastIndex=o),null===s?-1:s.index}]});var er=Xe.trim,tr=g.parseInt,nr=/^[+-]?0[Xx]/,rr=8!==tr(ze+"08")||22!==tr(ze+"0x16")?function(e,t){var n=er(String(e));return tr(n,t>>>0||(nr.test(n)?16:10))}:tr;Ue({global:!0,forced:parseInt!=rr},{parseInt:rr});var ar=pn.map,ir=sn("map");Ue({target:"Array",proto:!0,forced:!ir},{map:function(e){return ar(this,e,arguments.length>1?arguments[1]:void 0)}});var or=pn.findIndex,sr=!0;"findIndex"in[]&&Array(1).findIndex(function(){sr=!1}),Ue({target:"Array",proto:!0,forced:sr},{findIndex:function(e){return or(this,e,arguments.length>1?arguments[1]:void 0)}}),Zt("findIndex");var lr=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return M(n),function(e){if(!T(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype")}(r),t?e.call(n,r):n.__proto__=r,n}}():void 0),cr=function(e,t,n){var r,a;return lr&&"function"==typeof(r=t.constructor)&&r!==n&&T(a=r.prototype)&&a!==n.prototype&&lr(e,a),e},ur=xt("species"),fr=W.f,hr=Re.f,dr=ue.set,pr=xt("match"),gr=g.RegExp,mr=gr.prototype,vr=/a/g,br=/a/g,yr=new gr(vr)!==vr,wr=tt.UNSUPPORTED_Y;if(v&&je("RegExp",!yr||wr||m(function(){return br[pr]=!1,gr(vr)!=vr||gr(br)==br||"/a/i"!=gr(vr,"i")}))){for(var Sr=function(e,t){var n,r=this instanceof Sr,a=Bt(e),i=void 0===t;if(!r&&a&&e.constructor===Sr&&i)return e;yr?a&&!i&&(e=e.source):e instanceof Sr&&(i&&(t=Qe.call(e)),e=e.source),wr&&(n=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,""));var o=cr(yr?new gr(e,t):gr(e,t),r?this:mr,Sr);return wr&&n&&dr(o,{sticky:n}),o},xr=function(e){e in Sr||fr(Sr,e,{configurable:!0,get:function(){return gr[e]},set:function(t){gr[e]=t}})},Er=hr(gr),_r=0;Er.length>_r;)xr(Er[_r++]);mr.constructor=Sr,Sr.prototype=mr,fe(g,"RegExp",Sr)}!function(e){var t=pe(e),n=W.f;v&&t&&!t[ur]&&n(t,ur,{configurable:!0,get:function(){return this}})}("RegExp");var kr=RegExp.prototype,Ar=kr.toString,Cr=m(function(){return"/a/b"!=Ar.call({source:"a",flags:"b"})}),Tr="toString"!=Ar.name;(Cr||Tr)&&fe(RegExp.prototype,"toString",function(){var e=M(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in kr)?Qe.call(e):n)},{unsafe:!0});var Rr={};Rr[xt("toStringTag")]="z";var Nr="[object z]"===String(Rr),Br=xt("toStringTag"),Ir="Arguments"==E(function(){return arguments}()),Lr=Nr?E:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),Br))?n:Ir?E(t):"Object"==(r=E(t))&&"function"==typeof t.callee?"Arguments":r},Or=Nr?{}.toString:function(){return"[object "+Lr(this)+"]"};Nr||fe(Object.prototype,"toString",Or,{unsafe:!0});var Pr=sn("slice"),Fr=xt("species"),Dr=[].slice,Mr=Math.max;Ue({target:"Array",proto:!0,forced:!Pr},{slice:function(e,t){var n,r,a,i=C(this),o=ye(i.length),s=xe(e,o),l=xe(void 0===t?o:t,o);if(en(i)&&("function"!=typeof(n=i.constructor)||n!==Array&&!en(n.prototype)?T(n)&&null===(n=n[Fr])&&(n=void 0):n=void 0,n===Array||void 0===n))return Dr.call(i,s,l);for(r=new(void 0===n?Array:n)(Mr(l-s,0)),a=0;s<l;s++,a++)s in i&&nn(r,a,i[s]);return r.length=a,r}});var jr,Wr,Ur,zr=!m(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),Hr=ne("IE_PROTO"),Vr=Object.prototype,qr=zr?Object.getPrototypeOf:function(e){return e=tn(e),B(e,Hr)?e[Hr]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Vr:null},Gr=xt("iterator"),Xr=!1;[].keys&&("next"in(Ur=[].keys())?(Wr=qr(qr(Ur)))!==Object.prototype&&(jr=Wr):Xr=!0),(null==jr||m(function(){var e={};return jr[Gr].call(e)!==e}))&&(jr={}),B(jr,Gr)||U(jr,Gr,function(){return this});var $r={IteratorPrototype:jr,BUGGY_SAFARI_ITERATORS:Xr},Yr=W.f,Kr=xt("toStringTag"),Jr=function(e,t,n){e&&!B(e=n?e:e.prototype,Kr)&&Yr(e,Kr,{configurable:!0,value:t})},Zr=$r.IteratorPrototype,Qr=$r.IteratorPrototype,ea=$r.BUGGY_SAFARI_ITERATORS,ta=xt("iterator"),na=function(){return this},ra=ue.set,aa=ue.getterFor("Array Iterator"),ia=function(e,t,n,r,a,i,o){!function(e,t,n){var r=t+" Iterator";e.prototype=Yt(Zr,{next:S(1,n)}),Jr(e,r,!1)}(n,t,r);var s,l,c,u=function(e){if(e===a&&g)return g;if(!ea&&e in d)return d[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},f=t+" Iterator",h=!1,d=e.prototype,p=d[ta]||d["@@iterator"]||a&&d[a],g=!ea&&p||u(a),m="Array"==t&&d.entries||p;if(m&&(s=qr(m.call(new e)),Qr!==Object.prototype&&s.next&&(qr(s)!==Qr&&(lr?lr(s,Qr):"function"!=typeof s[ta]&&U(s,ta,na)),Jr(s,f,!0))),"values"==a&&p&&"values"!==p.name&&(h=!0,g=function(){return p.call(this)}),d[ta]!==g&&U(d,ta,g),a)if(l={values:u("values"),keys:i?g:u("keys"),entries:u("entries")},o)for(c in l)!ea&&!h&&c in d||fe(d,c,l[c]);else Ue({target:t,proto:!0,forced:ea||h},l);return l}(Array,"Array",function(e,t){ra(this,{type:"Array Iterator",target:C(e),index:0,kind:t})},function(){var e=aa(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values");Zt("keys"),Zt("values"),Zt("entries");var oa=xt("iterator"),sa=xt("toStringTag"),la=ia.values;for(var ca in wn){var ua=g[ca],fa=ua&&ua.prototype;if(fa){if(fa[oa]!==la)try{U(fa,oa,la)}catch(e){fa[oa]=la}if(fa[sa]||U(fa,sa,ca),wn[ca])for(var ha in ia)if(fa[ha]!==ia[ha])try{U(fa,ha,ia[ha])}catch(e){fa[ha]=ia[ha]}}}var da=sn("splice"),pa=Math.max,ga=Math.min;Ue({target:"Array",proto:!0,forced:!da},{splice:function(e,t){var n,r,a,i,o,s,l=tn(this),c=ye(l.length),u=xe(e,c),f=arguments.length;if(0===f?n=r=0:1===f?(n=0,r=c-u):(n=f-2,r=ga(pa(ve(t),0),c-u)),c+n-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(a=an(l,r),i=0;i<r;i++)(o=u+i)in l&&nn(a,i,l[o]);if(a.length=r,n<r){for(i=u;i<c-r;i++)s=i+n,(o=i+r)in l?l[s]=l[o]:delete l[s];for(i=c;i>c-r+n;i--)delete l[i-1]}else if(n>r)for(i=c-r;i>u;i--)s=i+n-1,(o=i+r-1)in l?l[s]=l[o]:delete l[s];for(i=0;i<n;i++)l[i+u]=arguments[i+2];return l.length=c-r+n,a}});var ma=Re.f,va=D.f,ba=W.f,ya=Xe.trim,wa=g.Number,Sa=wa.prototype,xa="Number"==E(Yt(Sa)),Ea=function(e){var t,n,r,a,i,o,s,l,c=R(e,!1);if("string"==typeof c&&c.length>2)if(43===(t=(c=ya(c)).charCodeAt(0))||45===t){if(88===(n=c.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(c.charCodeAt(1)){case 66:case 98:r=2,a=49;break;case 79:case 111:r=8,a=55;break;default:return+c}for(o=(i=c.slice(2)).length,s=0;s<o;s++)if((l=i.charCodeAt(s))<48||l>a)return NaN;return parseInt(i,r)}return+c};if(je("Number",!wa(" 0o1")||!wa("0b1")||wa("+0x1"))){for(var _a,ka=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof ka&&(xa?m(function(){Sa.valueOf.call(n)}):"Number"!=E(n))?cr(new wa(Ea(t)),n,ka):Ea(t)},Aa=v?ma(wa):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),Ca=0;Aa.length>Ca;Ca++)B(wa,_a=Aa[Ca])&&!B(ka,_a)&&ba(ka,_a,va(wa,_a));ka.prototype=Sa,Sa.constructor=ka,fe(g,"Number",ka)}var Ta=[].reverse,Ra=[1,2];Ue({target:"Array",proto:!0,forced:String(Ra)===String(Ra.reverse())},{reverse:function(){return en(this)&&(this.length=this.length),Ta.call(this)}});var Na=4;try{var Ba=n.default.fn.dropdown.Constructor.VERSION;void 0!==Ba&&(Na=parseInt(Ba,10))}catch(e){}try{var Ia=bootstrap.Tooltip.VERSION;void 0!==Ia&&(Na=parseInt(Ia,10))}catch(e){}var La={3:{iconsPrefix:"glyphicon",icons:{paginationSwitchDown:"glyphicon-collapse-down icon-chevron-down",paginationSwitchUp:"glyphicon-collapse-up icon-chevron-up",refresh:"glyphicon-refresh icon-refresh",toggleOff:"glyphicon-list-alt icon-list-alt",toggleOn:"glyphicon-list-alt icon-list-alt",columns:"glyphicon-th icon-th",detailOpen:"glyphicon-plus icon-plus",detailClose:"glyphicon-minus icon-minus",fullscreen:"glyphicon-fullscreen",search:"glyphicon-search",clearSearch:"glyphicon-trash"},classes:{buttonsPrefix:"btn",buttons:"default",buttonsGroup:"btn-group",buttonsDropdown:"btn-group",pull:"pull",inputGroup:"input-group",inputPrefix:"input-",input:"form-control",paginationDropdown:"btn-group dropdown",dropup:"dropup",dropdownActive:"active",paginationActive:"active",buttonActive:"active"},html:{toolbarDropdown:['<ul class="dropdown-menu" role="menu">',"</ul>"],toolbarDropdownItem:'<li class="dropdown-item-marker" role="menuitem"><label>%s</label></li>',toolbarDropdownSeparator:'<li class="divider"></li>',pageDropdown:['<ul class="dropdown-menu" role="menu">',"</ul>"],pageDropdownItem:'<li role="menuitem" class="%s"><a href="#">%s</a></li>',dropdownCaret:'<span class="caret"></span>',pagination:['<ul class="pagination%s">',"</ul>"],paginationItem:'<li class="page-item%s"><a class="page-link" aria-label="%s" href="javascript:void(0)">%s</a></li>',icon:'<i class="%s %s"></i>',inputGroup:'<div class="input-group">%s<span class="input-group-btn">%s</span></div>',searchInput:'<input class="%s%s" type="text" placeholder="%s">',searchButton:'<button class="%s" type="button" name="search" title="%s">%s %s</button>',searchClearButton:'<button class="%s" type="button" name="clearSearch" title="%s">%s %s</button>'}},4:{iconsPrefix:"fa",icons:{paginationSwitchDown:"fa-caret-square-down",paginationSwitchUp:"fa-caret-square-up",refresh:"fa-sync",toggleOff:"fa-toggle-off",toggleOn:"fa-toggle-on",columns:"fa-th-list",detailOpen:"fa-plus",detailClose:"fa-minus",fullscreen:"fa-arrows-alt",search:"fa-search",clearSearch:"fa-trash"},classes:{buttonsPrefix:"btn",buttons:"secondary",buttonsGroup:"btn-group",buttonsDropdown:"btn-group",pull:"float",inputGroup:"btn-group",inputPrefix:"form-control-",input:"form-control",paginationDropdown:"btn-group dropdown",dropup:"dropup",dropdownActive:"active",paginationActive:"active",buttonActive:"active"},html:{toolbarDropdown:['<div class="dropdown-menu dropdown-menu-right">',"</div>"],toolbarDropdownItem:'<label class="dropdown-item dropdown-item-marker">%s</label>',pageDropdown:['<div class="dropdown-menu">',"</div>"],pageDropdownItem:'<a class="dropdown-item %s" href="#">%s</a>',toolbarDropdownSeparator:'<div class="dropdown-divider"></div>',dropdownCaret:'<span class="caret"></span>',pagination:['<ul class="pagination%s">',"</ul>"],paginationItem:'<li class="page-item%s"><a class="page-link" aria-label="%s" href="javascript:void(0)">%s</a></li>',icon:'<i class="%s %s"></i>',inputGroup:'<div class="input-group">%s<div class="input-group-append">%s</div></div>',searchInput:'<input class="%s%s" type="text" placeholder="%s">',searchButton:'<button class="%s" type="button" name="search" title="%s">%s %s</button>',searchClearButton:'<button class="%s" type="button" name="clearSearch" title="%s">%s %s</button>'}},5:{iconsPrefix:"fa",icons:{paginationSwitchDown:"fa-caret-square-down",paginationSwitchUp:"fa-caret-square-up",refresh:"fa-sync",toggleOff:"fa-toggle-off",toggleOn:"fa-toggle-on",columns:"fa-th-list",detailOpen:"fa-plus",detailClose:"fa-minus",fullscreen:"fa-arrows-alt",search:"fa-search",clearSearch:"fa-trash"},classes:{buttonsPrefix:"btn",buttons:"secondary",buttonsGroup:"btn-group",buttonsDropdown:"btn-group",pull:"float",inputGroup:"btn-group",inputPrefix:"form-control-",input:"form-control",paginationDropdown:"btn-group dropdown",dropup:"dropup",dropdownActive:"active",paginationActive:"active",buttonActive:"active"},html:{dataToggle:"data-bs-toggle",toolbarDropdown:['<div class="dropdown-menu dropdown-menu-right">',"</div>"],toolbarDropdownItem:'<label class="dropdown-item dropdown-item-marker">%s</label>',pageDropdown:['<div class="dropdown-menu">',"</div>"],pageDropdownItem:'<a class="dropdown-item %s" href="#">%s</a>',toolbarDropdownSeparator:'<div class="dropdown-divider"></div>',dropdownCaret:'<span class="caret"></span>',pagination:['<ul class="pagination%s">',"</ul>"],paginationItem:'<li class="page-item%s"><a class="page-link" aria-label="%s" href="javascript:void(0)">%s</a></li>',icon:'<i class="%s %s"></i>',inputGroup:'<div class="input-group">%s<div class="input-group-append">%s</div></div>',searchInput:'<input class="%s%s" type="text" placeholder="%s">',searchButton:'<button class="%s" type="button" name="search" title="%s">%s %s</button>',searchClearButton:'<button class="%s" type="button" name="clearSearch" title="%s">%s %s</button>'}}}[Na],Oa={height:void 0,classes:"table table-bordered table-hover",buttons:{},theadClasses:"",headerStyle:function(e){return{}},rowStyle:function(e,t){return{}},rowAttributes:function(e,t){return{}},undefinedText:"-",locale:void 0,virtualScroll:!1,virtualScrollItemHeight:void 0,sortable:!0,sortClass:void 0,silentSort:!0,sortName:void 0,sortOrder:void 0,sortReset:!1,sortStable:!1,rememberOrder:!1,serverSort:!0,customSort:void 0,columns:[[]],data:[],url:void 0,method:"get",cache:!0,contentType:"application/json",dataType:"json",ajax:void 0,ajaxOptions:{},queryParams:function(e){return e},queryParamsType:"limit",responseHandler:function(e){return e},totalField:"total",totalNotFilteredField:"totalNotFiltered",dataField:"rows",footerField:"footer",pagination:!1,paginationParts:["pageInfo","pageSize","pageList"],showExtendedPagination:!1,paginationLoop:!0,sidePagination:"client",totalRows:0,totalNotFiltered:0,pageNumber:1,pageSize:10,pageList:[10,25,50,100],paginationHAlign:"right",paginationVAlign:"bottom",paginationDetailHAlign:"left",paginationPreText:"‹",paginationNextText:"›",paginationSuccessivelySize:5,paginationPagesBySide:1,paginationUseIntermediate:!1,search:!1,searchHighlight:!1,searchOnEnterKey:!1,strictSearch:!1,searchSelector:!1,visibleSearch:!1,showButtonIcons:!0,showButtonText:!1,showSearchButton:!1,showSearchClearButton:!1,trimOnSearch:!0,searchAlign:"right",searchTimeOut:500,searchText:"",customSearch:void 0,showHeader:!0,showFooter:!1,footerStyle:function(e){return{}},searchAccentNeutralise:!1,showColumns:!1,showColumnsToggleAll:!1,showColumnsSearch:!1,minimumCountColumns:1,showPaginationSwitch:!1,showRefresh:!1,showToggle:!1,showFullscreen:!1,smartDisplay:!0,escape:!1,filterOptions:{filterAlgorithm:"and"},idField:void 0,selectItemName:"btSelectItem",clickToSelect:!1,ignoreClickToSelectOn:function(e){var t=e.tagName;return["A","BUTTON"].includes(t)},singleSelect:!1,checkboxHeader:!0,maintainMetaData:!1,multipleSelectRow:!1,uniqueId:void 0,cardView:!1,detailView:!1,detailViewIcon:!0,detailViewByClick:!1,detailViewAlign:"left",detailFormatter:function(e,t){return""},detailFilter:function(e,t){return!0},toolbar:void 0,toolbarAlign:"left",buttonsToolbar:void 0,buttonsAlign:"right",buttonsOrder:["paginationSwitch","refresh","toggle","fullscreen","columns"],buttonsPrefix:La.classes.buttonsPrefix,buttonsClass:La.classes.buttons,icons:La.icons,iconSize:void 0,iconsPrefix:La.iconsPrefix,loadingFontSize:"auto",loadingTemplate:function(e){return'<span class="loading-wrap">\n <span class="loading-text">'.concat(e,'</span>\n <span class="animation-wrap"><span class="animation-dot"></span></span>\n </span>\n ')},onAll:function(e,t){return!1},onClickCell:function(e,t,n,r){return!1},onDblClickCell:function(e,t,n,r){return!1},onClickRow:function(e,t){return!1},onDblClickRow:function(e,t){return!1},onSort:function(e,t){return!1},onCheck:function(e){return!1},onUncheck:function(e){return!1},onCheckAll:function(e){return!1},onUncheckAll:function(e){return!1},onCheckSome:function(e){return!1},onUncheckSome:function(e){return!1},onLoadSuccess:function(e){return!1},onLoadError:function(e){return!1},onColumnSwitch:function(e,t){return!1},onPageChange:function(e,t){return!1},onSearch:function(e){return!1},onToggle:function(e){return!1},onPreBody:function(e){return!1},onPostBody:function(){return!1},onPostHeader:function(){return!1},onPostFooter:function(){return!1},onExpandRow:function(e,t,n){return!1},onCollapseRow:function(e,t){return!1},onRefreshOptions:function(e){return!1},onRefresh:function(e){return!1},onResetView:function(){return!1},onScrollBody:function(){return!1}},Pa={formatLoadingMessage:function(){return"Loading, please wait"},formatRecordsPerPage:function(e){return"".concat(e," rows per page")},formatShowingRows:function(e,t,n,r){return void 0!==r&&r>0&&r>n?"Showing ".concat(e," to ").concat(t," of ").concat(n," rows (filtered from ").concat(r," total rows)"):"Showing ".concat(e," to ").concat(t," of ").concat(n," rows")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(e){return"to page ".concat(e)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(e){return"Showing ".concat(e," rows")},formatSearch:function(){return"Search"},formatClearSearch:function(){return"Clear Search"},formatNoMatches:function(){return"No matching records found"},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Refresh"},formatToggle:function(){return"Toggle"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Columns"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"All"}},Fa={field:void 0,title:void 0,titleTooltip:void 0,class:void 0,width:void 0,widthUnit:"px",rowspan:void 0,colspan:void 0,align:void 0,halign:void 0,falign:void 0,valign:void 0,cellStyle:void 0,radio:!1,checkbox:!1,checkboxEnabled:!0,clickToSelect:!0,showSelectTitle:!1,sortable:!1,sortName:void 0,order:"asc",sorter:void 0,visible:!0,switchable:!0,cardVisible:!0,searchable:!0,formatter:void 0,footerFormatter:void 0,detailFormatter:void 0,searchFormatter:!0,searchHighlightFormatter:!1,escape:!1,events:void 0};Object.assign(Oa,Pa);var Da={VERSION:"1.18.3",THEME:"bootstrap".concat(Na),CONSTANTS:La,DEFAULTS:Oa,COLUMN_DEFAULTS:Fa,METHODS:["getOptions","refreshOptions","getData","getSelections","load","append","prepend","remove","removeAll","insertRow","updateRow","getRowByUniqueId","updateByUniqueId","removeByUniqueId","updateCell","updateCellByUniqueId","showRow","hideRow","getHiddenRows","showColumn","hideColumn","getVisibleColumns","getHiddenColumns","showAllColumns","hideAllColumns","mergeCells","checkAll","uncheckAll","checkInvert","check","uncheck","checkBy","uncheckBy","refresh","destroy","resetView","showLoading","hideLoading","togglePagination","toggleFullscreen","toggleView","resetSearch","filterBy","scrollTo","getScrollPosition","selectPage","prevPage","nextPage","toggleDetailView","expandRow","collapseRow","expandRowByUniqueId","collapseRowByUniqueId","expandAllRows","collapseAllRows","updateColumnTitle","updateFormatText"],EVENTS:{"all.bs.table":"onAll","click-row.bs.table":"onClickRow","dbl-click-row.bs.table":"onDblClickRow","click-cell.bs.table":"onClickCell","dbl-click-cell.bs.table":"onDblClickCell","sort.bs.table":"onSort","check.bs.table":"onCheck","uncheck.bs.table":"onUncheck","check-all.bs.table":"onCheckAll","uncheck-all.bs.table":"onUncheckAll","check-some.bs.table":"onCheckSome","uncheck-some.bs.table":"onUncheckSome","load-success.bs.table":"onLoadSuccess","load-error.bs.table":"onLoadError","column-switch.bs.table":"onColumnSwitch","page-change.bs.table":"onPageChange","search.bs.table":"onSearch","toggle.bs.table":"onToggle","pre-body.bs.table":"onPreBody","post-body.bs.table":"onPostBody","post-header.bs.table":"onPostHeader","post-footer.bs.table":"onPostFooter","expand-row.bs.table":"onExpandRow","collapse-row.bs.table":"onCollapseRow","refresh-options.bs.table":"onRefreshOptions","reset-view.bs.table":"onResetView","refresh.bs.table":"onRefresh","scroll-body.bs.table":"onScrollBody"},LOCALES:{en:Pa,"en-US":Pa}},Ma=m(function(){zt(1)});Ue({target:"Object",stat:!0,forced:Ma},{keys:function(e){return zt(tn(e))}});var ja,Wa=D.f,Ua="".startsWith,za=Math.min,Ha=yn("startsWith"),Va=!(Ha||(ja=Wa(String.prototype,"startsWith"),!ja||ja.writable));Ue({target:"String",proto:!0,forced:!Va&&!Ha},{startsWith:function(e){var t=String(A(this));vn(e);var n=ye(za(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return Ua?Ua.call(t,r,n):t.slice(n,n+r.length)===r}});var qa=D.f,Ga="".endsWith,Xa=Math.min,$a=yn("endsWith"),Ya=!$a&&!!function(){var e=qa(String.prototype,"endsWith");return e&&!e.writable}();Ue({target:"String",proto:!0,forced:!Ya&&!$a},{endsWith:function(e){var t=String(A(this));vn(e);var n=arguments.length>1?arguments[1]:void 0,r=ye(t.length),a=void 0===n?r:Xa(ye(n),r),i=String(e);return Ga?Ga.call(t,i,a):t.slice(a-i.length,a)===i}});var Ka={getSearchInput:function(e){return"string"==typeof e.options.searchSelector?n.default(e.options.searchSelector):e.$toolbar.find(".search input")},sprintf:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var a=!0,i=0,o=e.replace(/%s/g,function(){var e=n[i++];return void 0===e?(a=!1,""):e});return a?o:""},isObject:function(e){return e instanceof Object&&!Array.isArray(e)},isEmptyObject:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return 0===Object.entries(e).length&&e.constructor===Object},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},getFieldTitle:function(e,t){var n,r=f(e);try{for(r.s();!(n=r.n()).done;){var a=n.value;if(a.field===t)return a.title}}catch(e){r.e(e)}finally{r.f()}return""},setFieldIndex:function(e){var t,n=0,r=[],a=f(e[0]);try{for(a.s();!(t=a.n()).done;){n+=t.value.colspan||1}}catch(e){a.e(e)}finally{a.f()}for(var i=0;i<e.length;i++){r[i]=[];for(var o=0;o<n;o++)r[i][o]=!1}for(var s=0;s<e.length;s++){var l,c=f(e[s]);try{for(c.s();!(l=c.n()).done;){var u=l.value,h=u.rowspan||1,d=u.colspan||1,p=r[s].indexOf(!1);u.colspanIndex=p,1===d?(u.fieldIndex=p,void 0===u.field&&(u.field=p)):u.colspanGroup=u.colspan;for(var g=0;g<h;g++)for(var m=0;m<d;m++)r[s+g][p+m]=!0}}catch(e){c.e(e)}finally{c.f()}}},normalizeAccent:function(e){return"string"!=typeof e?e:e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")},updateFieldGroup:function(e){var t,n,r=(t=[]).concat.apply(t,l(e)),a=f(e);try{for(a.s();!(n=a.n()).done;){var i,o=f(n.value);try{for(o.s();!(i=o.n()).done;){var s=i.value;if(s.colspanGroup>1){for(var c=0,u=function(e){r.find(function(t){return t.fieldIndex===e}).visible&&c++},h=s.colspanIndex;h<s.colspanIndex+s.colspanGroup;h++)u(h);s.colspan=c,s.visible=c>0}}}catch(e){o.e(e)}finally{o.f()}}}catch(e){a.e(e)}finally{a.f()}},getScrollBarWidth:function(){if(void 0===this.cachedWidth){var e=n.default("<div/>").addClass("fixed-table-scroll-inner"),t=n.default("<div/>").addClass("fixed-table-scroll-outer");t.append(e),n.default("body").append(t);var r=e[0].offsetWidth;t.css("overflow","scroll");var a=e[0].offsetWidth;r===a&&(a=t[0].clientWidth),t.remove(),this.cachedWidth=r-a}return this.cachedWidth},calculateObjectValue:function(e,t,n,a){var i=t;if("string"==typeof t){var o=t.split(".");if(o.length>1){i=window;var s,c=f(o);try{for(c.s();!(s=c.n()).done;){i=i[s.value]}}catch(e){c.e(e)}finally{c.f()}}else i=window[t]}return null!==i&&"object"===r(i)?i:"function"==typeof i?i.apply(e,n||[]):!i&&"string"==typeof t&&this.sprintf.apply(this,[t].concat(l(n)))?this.sprintf.apply(this,[t].concat(l(n))):a},compareObjects:function(e,t,n){var r=Object.keys(e),a=Object.keys(t);if(n&&r.length!==a.length)return!1;for(var i=0,o=r;i<o.length;i++){var s=o[i];if(a.includes(s)&&e[s]!==t[s])return!1}return!0},escapeHTML:function(e){return"string"==typeof e?e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/`/g,"`"):e},unescapeHTML:function(e){return"string"==typeof e?e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'").replace(/`/g,"`"):e},getRealDataAttr:function(e){for(var t=0,n=Object.entries(e);t<n.length;t++){var r=s(n[t],2),a=r[0],i=r[1],o=a.split(/(?=[A-Z])/).join("-").toLowerCase();o!==a&&(e[o]=i,delete e[a])}return e},getItemField:function(e,t,n){var r=e;if("string"!=typeof t||e.hasOwnProperty(t))return n?this.escapeHTML(e[t]):e[t];var a,i=f(t.split("."));try{for(i.s();!(a=i.n()).done;){var o=a.value;r=r&&r[o]}}catch(e){i.e(e)}finally{i.f()}return n?this.escapeHTML(r):r},isIEBrowser:function(){return navigator.userAgent.includes("MSIE ")||/Trident.*rv:11\./.test(navigator.userAgent)},findIndex:function(e,t){var n,r=f(e);try{for(r.s();!(n=r.n()).done;){var a=n.value;if(JSON.stringify(a)===JSON.stringify(t))return e.indexOf(a)}}catch(e){r.e(e)}finally{r.f()}return-1},trToData:function(e,t){var r=this,a=[],i=[];return t.each(function(t,o){var s=n.default(o),l={};l._id=s.attr("id"),l._class=s.attr("class"),l._data=r.getRealDataAttr(s.data()),l._style=s.attr("style"),s.find(">td,>th").each(function(a,o){for(var s=n.default(o),c=+s.attr("colspan")||1,u=+s.attr("rowspan")||1,f=a;i[t]&&i[t][f];f++);for(var h=f;h<f+c;h++)for(var d=t;d<t+u;d++)i[d]||(i[d]=[]),i[d][h]=!0;var p=e[f].field;l[p]=s.html().trim(),l["_".concat(p,"_id")]=s.attr("id"),l["_".concat(p,"_class")]=s.attr("class"),l["_".concat(p,"_rowspan")]=s.attr("rowspan"),l["_".concat(p,"_colspan")]=s.attr("colspan"),l["_".concat(p,"_title")]=s.attr("title"),l["_".concat(p,"_data")]=r.getRealDataAttr(s.data()),l["_".concat(p,"_style")]=s.attr("style")}),a.push(l)}),a},sort:function(e,t,n,r,a,i){return null==e&&(e=""),null==t&&(t=""),r&&e===t&&(e=a,t=i),this.isNumeric(e)&&this.isNumeric(t)?(e=parseFloat(e))<(t=parseFloat(t))?-1*n:e>t?n:0:e===t?0:("string"!=typeof e&&(e=e.toString()),-1===e.localeCompare(t)?-1*n:n)},getEventName:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return t=t||"".concat(+new Date).concat(~~(1e6*Math.random())),"".concat(e,"-").concat(t)},hasDetailViewIcon:function(e){return e.detailView&&e.detailViewIcon&&!e.cardView},getDetailViewIndexOffset:function(e){return this.hasDetailViewIcon(e)&&"right"!==e.detailViewAlign?1:0},checkAutoMergeCells:function(e){var t,n=f(e);try{for(n.s();!(t=n.n()).done;)for(var r=t.value,a=0,i=Object.keys(r);a<i.length;a++){var o=i[a];if(o.startsWith("_")&&(o.endsWith("_rowspan")||o.endsWith("_colspan")))return!0}}catch(e){n.e(e)}finally{n.f()}return!1},deepCopy:function(e){return void 0===e?e:n.default.extend(!0,Array.isArray(e)?[]:{},e)}},Ja=function(){function e(t){var n=this;a(this,e),this.rows=t.rows,this.scrollEl=t.scrollEl,this.contentEl=t.contentEl,this.callback=t.callback,this.itemHeight=t.itemHeight,this.cache={},this.scrollTop=this.scrollEl.scrollTop,this.initDOM(this.rows,t.fixedScroll),this.scrollEl.scrollTop=this.scrollTop,this.lastCluster=0;var r=function(){n.lastCluster!==(n.lastCluster=n.getNum())&&(n.initDOM(n.rows),n.callback())};this.scrollEl.addEventListener("scroll",r,!1),this.destroy=function(){n.contentEl.innerHtml="",n.scrollEl.removeEventListener("scroll",r,!1)}}return o(e,[{key:"initDOM",value:function(e,t){void 0===this.clusterHeight&&(this.cache.scrollTop=this.scrollEl.scrollTop,this.cache.data=this.contentEl.innerHTML=e[0]+e[0]+e[0],this.getRowsHeight(e));var n=this.initData(e,this.getNum(t)),r=n.rows.join(""),a=this.checkChanges("data",r),i=this.checkChanges("top",n.topOffset),o=this.checkChanges("bottom",n.bottomOffset),s=[];a&&i?(n.topOffset&&s.push(this.getExtra("top",n.topOffset)),s.push(r),n.bottomOffset&&s.push(this.getExtra("bottom",n.bottomOffset)),this.contentEl.innerHTML=s.join(""),t&&(this.contentEl.scrollTop=this.cache.scrollTop)):o&&(this.contentEl.lastChild.style.height="".concat(n.bottomOffset,"px"))}},{key:"getRowsHeight",value:function(){if(void 0===this.itemHeight){var e=this.contentEl.children,t=e[Math.floor(e.length/2)];this.itemHeight=t.offsetHeight}this.blockHeight=50*this.itemHeight,this.clusterRows=200,this.clusterHeight=4*this.blockHeight}},{key:"getNum",value:function(e){return this.scrollTop=e?this.cache.scrollTop:this.scrollEl.scrollTop,Math.floor(this.scrollTop/(this.clusterHeight-this.blockHeight))||0}},{key:"initData",value:function(e,t){if(e.length<50)return{topOffset:0,bottomOffset:0,rowsAbove:0,rows:e};var n=Math.max((this.clusterRows-50)*t,0),r=n+this.clusterRows,a=Math.max(n*this.itemHeight,0),i=Math.max((e.length-r)*this.itemHeight,0),o=[],s=n;a<1&&s++;for(var l=n;l<r;l++)e[l]&&o.push(e[l]);return{topOffset:a,bottomOffset:i,rowsAbove:s,rows:o}}},{key:"checkChanges",value:function(e,t){var n=t!==this.cache[e];return this.cache[e]=t,n}},{key:"getExtra",value:function(e,t){var n=document.createElement("tr");return n.className="virtual-scroll-".concat(e),t&&(n.style.height="".concat(t,"px")),n.outerHTML}}]),e}(),Za=function(){function e(t,r){a(this,e),this.options=r,this.$el=n.default(t),this.$el_=this.$el.clone(),this.timeoutId_=0,this.timeoutFooter_=0}return o(e,[{key:"init",value:function(){this.initConstants(),this.initLocale(),this.initContainer(),this.initTable(),this.initHeader(),this.initData(),this.initHiddenRows(),this.initToolbar(),this.initPagination(),this.initBody(),this.initSearchText(),this.initServer()}},{key:"initConstants",value:function(){var e=this.options;this.constants=Da.CONSTANTS,this.constants.theme=n.default.fn.bootstrapTable.theme,this.constants.dataToggle=this.constants.html.dataToggle||"data-toggle";var t=e.buttonsPrefix?"".concat(e.buttonsPrefix,"-"):"";this.constants.buttonsClass=[e.buttonsPrefix,t+e.buttonsClass,Ka.sprintf("".concat(t,"%s"),e.iconSize)].join(" ").trim(),this.buttons=Ka.calculateObjectValue(this,e.buttons,[],{}),"object"!==r(this.buttons)&&(this.buttons={}),"string"==typeof e.icons&&(e.icons=Ka.calculateObjectValue(null,e.icons))}},{key:"initLocale",value:function(){if(this.options.locale){var e=n.default.fn.bootstrapTable.locales,t=this.options.locale.split(/-|_/);t[0]=t[0].toLowerCase(),t[1]&&(t[1]=t[1].toUpperCase()),e[this.options.locale]?n.default.extend(this.options,e[this.options.locale]):e[t.join("-")]?n.default.extend(this.options,e[t.join("-")]):e[t[0]]&&n.default.extend(this.options,e[t[0]])}}},{key:"initContainer",value:function(){var e=["top","both"].includes(this.options.paginationVAlign)?'<div class="fixed-table-pagination clearfix"></div>':"",t=["bottom","both"].includes(this.options.paginationVAlign)?'<div class="fixed-table-pagination"></div>':"",r=Ka.calculateObjectValue(this.options,this.options.loadingTemplate,[this.options.formatLoadingMessage()]);this.$container=n.default('\n <div class="bootstrap-table '.concat(this.constants.theme,'">\n <div class="fixed-table-toolbar"></div>\n ').concat(e,'\n <div class="fixed-table-container">\n <div class="fixed-table-header"><table></table></div>\n <div class="fixed-table-body">\n <div class="fixed-table-loading">\n ').concat(r,'\n </div>\n </div>\n <div class="fixed-table-footer"></div>\n </div>\n ').concat(t,"\n </div>\n ")),this.$container.insertAfter(this.$el),this.$tableContainer=this.$container.find(".fixed-table-container"),this.$tableHeader=this.$container.find(".fixed-table-header"),this.$tableBody=this.$container.find(".fixed-table-body"),this.$tableLoading=this.$container.find(".fixed-table-loading"),this.$tableFooter=this.$el.find("tfoot"),this.options.buttonsToolbar?this.$toolbar=n.default("body").find(this.options.buttonsToolbar):this.$toolbar=this.$container.find(".fixed-table-toolbar"),this.$pagination=this.$container.find(".fixed-table-pagination"),this.$tableBody.append(this.$el),this.$container.after('<div class="clearfix"></div>'),this.$el.addClass(this.options.classes),this.$tableLoading.addClass(this.options.classes),this.options.height&&(this.$tableContainer.addClass("fixed-height"),this.options.showFooter&&this.$tableContainer.addClass("has-footer"),this.options.classes.split(" ").includes("table-bordered")&&(this.$tableBody.append('<div class="fixed-table-border"></div>'),this.$tableBorder=this.$tableBody.find(".fixed-table-border"),this.$tableLoading.addClass("fixed-table-border")),this.$tableFooter=this.$container.find(".fixed-table-footer"))}},{key:"initTable",value:function(){var t=this,r=[];if(this.$header=this.$el.find(">thead"),this.$header.length?this.options.theadClasses&&this.$header.addClass(this.options.theadClasses):this.$header=n.default('<thead class="'.concat(this.options.theadClasses,'"></thead>')).appendTo(this.$el),this._headerTrClasses=[],this._headerTrStyles=[],this.$header.find("tr").each(function(e,a){var i=n.default(a),o=[];i.find("th").each(function(e,t){var r=n.default(t);void 0!==r.data("field")&&r.data("field","".concat(r.data("field"))),o.push(n.default.extend({},{title:r.html(),class:r.attr("class"),titleTooltip:r.attr("title"),rowspan:r.attr("rowspan")?+r.attr("rowspan"):void 0,colspan:r.attr("colspan")?+r.attr("colspan"):void 0},r.data()))}),r.push(o),i.attr("class")&&t._headerTrClasses.push(i.attr("class")),i.attr("style")&&t._headerTrStyles.push(i.attr("style"))}),Array.isArray(this.options.columns[0])||(this.options.columns=[this.options.columns]),this.options.columns=n.default.extend(!0,[],r,this.options.columns),this.columns=[],this.fieldsColumnsIndex=[],Ka.setFieldIndex(this.options.columns),this.options.columns.forEach(function(r,a){r.forEach(function(r,i){var o=n.default.extend({},e.COLUMN_DEFAULTS,r);void 0!==o.fieldIndex&&(t.columns[o.fieldIndex]=o,t.fieldsColumnsIndex[o.field]=o.fieldIndex),t.options.columns[a][i]=o})}),!this.options.data.length){var a=Ka.trToData(this.columns,this.$el.find(">tbody>tr"));a.length&&(this.options.data=a,this.fromHtml=!0)}this.options.pagination&&"server"!==this.options.sidePagination||(this.footerData=Ka.trToData(this.columns,this.$el.find(">tfoot>tr"))),this.footerData&&this.$el.find("tfoot").html("<tr></tr>"),!this.options.showFooter||this.options.cardView?this.$tableFooter.hide():this.$tableFooter.show()}},{key:"initHeader",value:function(){var e=this,t={},r=[];this.header={fields:[],styles:[],classes:[],formatters:[],detailFormatters:[],events:[],sorters:[],sortNames:[],cellStyles:[],searchables:[]},Ka.updateFieldGroup(this.options.columns),this.options.columns.forEach(function(n,a){var i=[];i.push("<tr".concat(Ka.sprintf(' class="%s"',e._headerTrClasses[a])," ").concat(Ka.sprintf(' style="%s"',e._headerTrStyles[a]),">"));var o="";if(0===a&&Ka.hasDetailViewIcon(e.options)){var l=e.options.columns.length>1?' rowspan="'.concat(e.options.columns.length,'"'):"";o='<th class="detail"'.concat(l,'>\n <div class="fht-cell"></div>\n </th>')}o&&"right"!==e.options.detailViewAlign&&i.push(o),n.forEach(function(n,r){var o=Ka.sprintf(' class="%s"',n.class),l=n.widthUnit,c=parseFloat(n.width),u=Ka.sprintf("text-align: %s; ",n.halign?n.halign:n.align),f=Ka.sprintf("text-align: %s; ",n.align),h=Ka.sprintf("vertical-align: %s; ",n.valign);if(h+=Ka.sprintf("width: %s; ",!n.checkbox&&!n.radio||c?c?c+l:void 0:n.showSelectTitle?void 0:"36px"),void 0!==n.fieldIndex||n.visible){var d=Ka.calculateObjectValue(null,e.options.headerStyle,[n]),p=[],g="";if(d&&d.css)for(var m=0,v=Object.entries(d.css);m<v.length;m++){var b=s(v[m],2),y=b[0],w=b[1];p.push("".concat(y,": ").concat(w))}if(d&&d.classes&&(g=Ka.sprintf(' class="%s"',n.class?[n.class,d.classes].join(" "):d.classes)),void 0!==n.fieldIndex){if(e.header.fields[n.fieldIndex]=n.field,e.header.styles[n.fieldIndex]=f+h,e.header.classes[n.fieldIndex]=o,e.header.formatters[n.fieldIndex]=n.formatter,e.header.detailFormatters[n.fieldIndex]=n.detailFormatter,e.header.events[n.fieldIndex]=n.events,e.header.sorters[n.fieldIndex]=n.sorter,e.header.sortNames[n.fieldIndex]=n.sortName,e.header.cellStyles[n.fieldIndex]=n.cellStyle,e.header.searchables[n.fieldIndex]=n.searchable,!n.visible)return;if(e.options.cardView&&!n.cardVisible)return;t[n.field]=n}i.push("<th".concat(Ka.sprintf(' title="%s"',n.titleTooltip)),n.checkbox||n.radio?Ka.sprintf(' class="bs-checkbox %s"',n.class||""):g||o,Ka.sprintf(' style="%s"',u+h+p.join("; ")),Ka.sprintf(' rowspan="%s"',n.rowspan),Ka.sprintf(' colspan="%s"',n.colspan),Ka.sprintf(' data-field="%s"',n.field),0===r&&a>0?" data-not-first-th":"",">"),i.push(Ka.sprintf('<div class="th-inner %s">',e.options.sortable&&n.sortable?"sortable both":""));var S=e.options.escape?Ka.escapeHTML(n.title):n.title,x=S;n.checkbox&&(S="",!e.options.singleSelect&&e.options.checkboxHeader&&(S='<label><input name="btSelectAll" type="checkbox" /><span></span></label>'),e.header.stateField=n.field),n.radio&&(S="",e.header.stateField=n.field),!S&&n.showSelectTitle&&(S+=x),i.push(S),i.push("</div>"),i.push('<div class="fht-cell"></div>'),i.push("</div>"),i.push("</th>")}}),o&&"right"===e.options.detailViewAlign&&i.push(o),i.push("</tr>"),i.length>3&&r.push(i.join(""))}),this.$header.html(r.join("")),this.$header.find("th[data-field]").each(function(e,r){n.default(r).data(t[n.default(r).data("field")])}),this.$container.off("click",".th-inner").on("click",".th-inner",function(t){var r=n.default(t.currentTarget);if(e.options.detailView&&!r.parent().hasClass("bs-checkbox")&&r.closest(".bootstrap-table")[0]!==e.$container[0])return!1;e.options.sortable&&r.parent().data().sortable&&e.onSort(t)}),this.$header.children().children().off("keypress").on("keypress",function(t){e.options.sortable&&n.default(t.currentTarget).data().sortable&&(13===(t.keyCode||t.which)&&e.onSort(t))});var a=Ka.getEventName("resize.bootstrap-table",this.$el.attr("id"));n.default(window).off(a),!this.options.showHeader||this.options.cardView?(this.$header.hide(),this.$tableHeader.hide(),this.$tableLoading.css("top",0)):(this.$header.show(),this.$tableHeader.show(),this.$tableLoading.css("top",this.$header.outerHeight()+1),this.getCaret(),n.default(window).on(a,function(){return e.resetView()})),this.$selectAll=this.$header.find('[name="btSelectAll"]'),this.$selectAll.off("click").on("click",function(t){t.stopPropagation();var r=n.default(t.currentTarget).prop("checked");e[r?"checkAll":"uncheckAll"](),e.updateSelected()})}},{key:"initData",value:function(e,t){"append"===t?this.options.data=this.options.data.concat(e):"prepend"===t?this.options.data=[].concat(e).concat(this.options.data):(e=e||Ka.deepCopy(this.options.data),this.options.data=Array.isArray(e)?e:e[this.options.dataField]),this.data=l(this.options.data),this.options.sortReset&&(this.unsortedData=l(this.data)),"server"!==this.options.sidePagination&&this.initSort()}},{key:"initSort",value:function(){var e=this,t=this.options.sortName,n="desc"===this.options.sortOrder?-1:1,r=this.header.fields.indexOf(this.options.sortName),a=0;-1!==r?(this.options.sortStable&&this.data.forEach(function(e,t){e.hasOwnProperty("_position")||(e._position=t)}),this.options.customSort?Ka.calculateObjectValue(this.options,this.options.customSort,[this.options.sortName,this.options.sortOrder,this.data]):this.data.sort(function(a,i){e.header.sortNames[r]&&(t=e.header.sortNames[r]);var o=Ka.getItemField(a,t,e.options.escape),s=Ka.getItemField(i,t,e.options.escape),l=Ka.calculateObjectValue(e.header,e.header.sorters[r],[o,s,a,i]);return void 0!==l?e.options.sortStable&&0===l?n*(a._position-i._position):n*l:Ka.sort(o,s,n,e.options.sortStable,a._position,i._position)}),void 0!==this.options.sortClass&&(clearTimeout(a),a=setTimeout(function(){e.$el.removeClass(e.options.sortClass);var t=e.$header.find('[data-field="'.concat(e.options.sortName,'"]')).index();e.$el.find("tr td:nth-child(".concat(t+1,")")).addClass(e.options.sortClass)},250))):this.options.sortReset&&(this.data=l(this.unsortedData))}},{key:"onSort",value:function(e){var t=e.type,r=e.currentTarget,a="keypress"===t?n.default(r):n.default(r).parent(),i=this.$header.find("th").eq(a.index());if(this.$header.add(this.$header_).find("span.order").remove(),this.options.sortName===a.data("field")){var o=this.options.sortOrder;void 0===o?this.options.sortOrder="asc":"asc"===o?this.options.sortOrder="desc":"desc"===this.options.sortOrder&&(this.options.sortOrder=this.options.sortReset?void 0:"asc"),void 0===this.options.sortOrder&&(this.options.sortName=void 0)}else this.options.sortName=a.data("field"),this.options.rememberOrder?this.options.sortOrder="asc"===a.data("order")?"desc":"asc":this.options.sortOrder=this.columns[this.fieldsColumnsIndex[a.data("field")]].sortOrder||this.columns[this.fieldsColumnsIndex[a.data("field")]].order;if(this.trigger("sort",this.options.sortName,this.options.sortOrder),a.add(i).data("order",this.options.sortOrder),this.getCaret(),"server"===this.options.sidePagination&&this.options.serverSort)return this.options.pageNumber=1,void this.initServer(this.options.silentSort);this.initSort(),this.initBody()}},{key:"initToolbar",value:function(){var e,t=this,a=this.options,i=[],o=0,l=0;this.$toolbar.find(".bs-bars").children().length&&n.default("body").append(n.default(a.toolbar)),this.$toolbar.html(""),"string"!=typeof a.toolbar&&"object"!==r(a.toolbar)||n.default(Ka.sprintf('<div class="bs-bars %s-%s"></div>',this.constants.classes.pull,a.toolbarAlign)).appendTo(this.$toolbar).append(n.default(a.toolbar)),i=['<div class="'.concat(["columns","columns-".concat(a.buttonsAlign),this.constants.classes.buttonsGroup,"".concat(this.constants.classes.pull,"-").concat(a.buttonsAlign)].join(" "),'">')],"string"==typeof a.buttonsOrder&&(a.buttonsOrder=a.buttonsOrder.replace(/\[|\]| |'/g,"").split(",")),this.buttons=Object.assign(this.buttons,{paginationSwitch:{text:a.pagination?a.formatPaginationSwitchUp():a.formatPaginationSwitchDown(),icon:a.pagination?a.icons.paginationSwitchDown:a.icons.paginationSwitchUp,render:!1,event:this.togglePagination,attributes:{"aria-label":a.formatPaginationSwitch(),title:a.formatPaginationSwitch()}},refresh:{text:a.formatRefresh(),icon:a.icons.refresh,render:!1,event:this.refresh,attributes:{"aria-label":a.formatRefresh(),title:a.formatRefresh()}},toggle:{text:a.formatToggle(),icon:a.icons.toggleOff,render:!1,event:this.toggleView,attributes:{"aria-label":a.formatToggleOn(),title:a.formatToggleOn()}},fullscreen:{text:a.formatFullscreen(),icon:a.icons.fullscreen,render:!1,event:this.toggleFullscreen,attributes:{"aria-label":a.formatFullscreen(),title:a.formatFullscreen()}},columns:{render:!1,html:function(){var e=[];if(e.push('<div class="keep-open '.concat(t.constants.classes.buttonsDropdown,'" title="').concat(a.formatColumns(),'">\n <button class="').concat(t.constants.buttonsClass,' dropdown-toggle" type="button" ').concat(t.constants.dataToggle,'="dropdown"\n aria-label="Columns" title="').concat(a.formatColumns(),'">\n ').concat(a.showButtonIcons?Ka.sprintf(t.constants.html.icon,a.iconsPrefix,a.icons.columns):"","\n ").concat(a.showButtonText?a.formatColumns():"","\n ").concat(t.constants.html.dropdownCaret,"\n </button>\n ").concat(t.constants.html.toolbarDropdown[0])),a.showColumnsSearch&&(e.push(Ka.sprintf(t.constants.html.toolbarDropdownItem,Ka.sprintf('<input type="text" class="%s" name="columnsSearch" placeholder="%s" autocomplete="off">',t.constants.classes.input,a.formatSearch()))),e.push(t.constants.html.toolbarDropdownSeparator)),a.showColumnsToggleAll){var n=t.getVisibleColumns().length===t.columns.filter(function(e){return!t.isSelectionColumn(e)}).length;e.push(Ka.sprintf(t.constants.html.toolbarDropdownItem,Ka.sprintf('<input type="checkbox" class="toggle-all" %s> <span>%s</span>',n?'checked="checked"':"",a.formatColumnsToggleAll()))),e.push(t.constants.html.toolbarDropdownSeparator)}var r=0;return t.columns.forEach(function(e){e.visible&&r++}),t.columns.forEach(function(n,i){if(!t.isSelectionColumn(n)&&(!a.cardView||n.cardVisible)){var o=n.visible?' checked="checked"':"",s=r<=a.minimumCountColumns&&o?' disabled="disabled"':"";n.switchable&&(e.push(Ka.sprintf(t.constants.html.toolbarDropdownItem,Ka.sprintf('<input type="checkbox" data-field="%s" value="%s"%s%s> <span>%s</span>',n.field,i,o,s,n.title))),l++)}}),e.push(t.constants.html.toolbarDropdown[1],"</div>"),e.join("")}}});for(var c={},u=0,h=Object.entries(this.buttons);u<h.length;u++){var d=s(h[u],2),p=d[0],g=d[1],m=void 0;if(g.hasOwnProperty("html"))"function"==typeof g.html?m=g.html():"string"==typeof g.html&&(m=g.html);else{if(m='<button class="'.concat(this.constants.buttonsClass,'" type="button" name="').concat(p,'"'),g.hasOwnProperty("attributes"))for(var v=0,b=Object.entries(g.attributes);v<b.length;v++){var y=s(b[v],2),w=y[0],S=y[1];m+=" ".concat(w,'="').concat(S,'"')}m+=">",a.showButtonIcons&&g.hasOwnProperty("icon")&&(m+="".concat(Ka.sprintf(this.constants.html.icon,a.iconsPrefix,g.icon)," ")),a.showButtonText&&g.hasOwnProperty("text")&&(m+=g.text),m+="</button>"}c[p]=m;var x="show".concat(p.charAt(0).toUpperCase()).concat(p.substring(1)),E=a[x];!(!g.hasOwnProperty("render")||g.hasOwnProperty("render")&&g.render)||void 0!==E&&!0!==E||(a[x]=!0),a.buttonsOrder.includes(p)||a.buttonsOrder.push(p)}var _,k=f(a.buttonsOrder);try{for(k.s();!(_=k.n()).done;){var A=_.value;a["show".concat(A.charAt(0).toUpperCase()).concat(A.substring(1))]&&i.push(c[A])}}catch(e){k.e(e)}finally{k.f()}i.push("</div>"),(this.showToolbar||i.length>2)&&this.$toolbar.append(i.join(""));for(var C=0,T=Object.entries(this.buttons);C<T.length;C++){var R=s(T[C],2),N=R[0],B=R[1];if(B.hasOwnProperty("event")){if("function"==typeof B.event||"string"==typeof B.event)if("continue"===function(){var e="string"==typeof B.event?window[B.event]:B.event;return t.$toolbar.find('button[name="'.concat(N,'"]')).off("click").on("click",function(){return e.call(t)}),"continue"}())continue;for(var I=function(){var e=s(O[L],2),n=e[0],r=e[1],a="string"==typeof r?window[r]:r;t.$toolbar.find('button[name="'.concat(N,'"]')).off(n).on(n,function(){return a.call(t)})},L=0,O=Object.entries(B.event);L<O.length;L++)I()}}if(a.showColumns){var P=(e=this.$toolbar.find(".keep-open")).find('input[type="checkbox"]:not(".toggle-all")'),F=e.find('input[type="checkbox"].toggle-all');if(l<=a.minimumCountColumns&&e.find("input").prop("disabled",!0),e.find("li, label").off("click").on("click",function(e){e.stopImmediatePropagation()}),P.off("click").on("click",function(e){var r=e.currentTarget,a=n.default(r);t._toggleColumn(a.val(),a.prop("checked"),!1),t.trigger("column-switch",a.data("field"),a.prop("checked")),F.prop("checked",P.filter(":checked").length===t.columns.filter(function(e){return!t.isSelectionColumn(e)}).length)}),F.off("click").on("click",function(e){var r=e.currentTarget;t._toggleAllColumns(n.default(r).prop("checked"))}),a.showColumnsSearch){var D=e.find('[name="columnsSearch"]'),M=e.find(".dropdown-item-marker");D.on("keyup paste change",function(e){var t=e.currentTarget,r=n.default(t).val().toLowerCase();M.show(),P.each(function(e,t){var a=n.default(t).parents(".dropdown-item-marker");a.text().toLowerCase().includes(r)||a.hide()})})}}var j=function(e){e.off("keyup drop blur mouseup").on("keyup drop blur mouseup",function(e){a.searchOnEnterKey&&13!==e.keyCode||[37,38,39,40].includes(e.keyCode)||(clearTimeout(o),o=setTimeout(function(){t.onSearch({currentTarget:e.currentTarget})},a.searchTimeOut))})};if((a.search||this.showSearchClearButton)&&"string"!=typeof a.searchSelector){i=[];var W=Ka.sprintf(this.constants.html.searchButton,this.constants.buttonsClass,a.formatSearch(),a.showButtonIcons?Ka.sprintf(this.constants.html.icon,a.iconsPrefix,a.icons.search):"",a.showButtonText?a.formatSearch():""),U=Ka.sprintf(this.constants.html.searchClearButton,this.constants.buttonsClass,a.formatClearSearch(),a.showButtonIcons?Ka.sprintf(this.constants.html.icon,a.iconsPrefix,a.icons.clearSearch):"",a.showButtonText?a.formatClearSearch():""),z='<input class="'.concat(this.constants.classes.input,"\n ").concat(Ka.sprintf(" %s%s",this.constants.classes.inputPrefix,a.iconSize),'\n search-input" type="search" placeholder="').concat(a.formatSearch(),'" autocomplete="off">'),H=z;if(a.showSearchButton||a.showSearchClearButton){var V=(a.showSearchButton?W:"")+(a.showSearchClearButton?U:"");H=a.search?Ka.sprintf(this.constants.html.inputGroup,z,V):V}i.push(Ka.sprintf('\n <div class="'.concat(this.constants.classes.pull,"-").concat(a.searchAlign," search ").concat(this.constants.classes.inputGroup,'">\n %s\n </div>\n '),H)),this.$toolbar.append(i.join(""));var q=Ka.getSearchInput(this);a.showSearchButton?(this.$toolbar.find(".search button[name=search]").off("click").on("click",function(){clearTimeout(o),o=setTimeout(function(){t.onSearch({currentTarget:q})},a.searchTimeOut)}),a.searchOnEnterKey&&j(q)):j(q),a.showSearchClearButton&&this.$toolbar.find(".search button[name=clearSearch]").click(function(){t.resetSearch()})}else if("string"==typeof a.searchSelector){j(Ka.getSearchInput(this))}}},{key:"onSearch",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.currentTarget,r=e.firedByInitSearchText,a=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(void 0!==t&&n.default(t).length&&a){var i=n.default(t).val().trim();if(this.options.trimOnSearch&&n.default(t).val()!==i&&n.default(t).val(i),this.searchText===i)return;(t===Ka.getSearchInput(this)[0]||n.default(t).hasClass("search-input"))&&(this.searchText=i,this.options.searchText=i)}r||(this.options.pageNumber=1),this.initSearch(),r?"client"===this.options.sidePagination&&this.updatePagination():this.updatePagination(),this.trigger("search",this.searchText)}},{key:"initSearch",value:function(){var e=this;if(this.filterOptions=this.filterOptions||this.options.filterOptions,"server"!==this.options.sidePagination){if(this.options.customSearch)return this.data=Ka.calculateObjectValue(this.options,this.options.customSearch,[this.options.data,this.searchText,this.filterColumns]),void(this.options.sortReset&&(this.unsortedData=l(this.data)));var t=this.searchText&&(this.fromHtml?Ka.escapeHTML(this.searchText):this.searchText).toLowerCase(),n=Ka.isEmptyObject(this.filterColumns)?null:this.filterColumns;this.options.searchAccentNeutralise&&(t=Ka.normalizeAccent(t)),"function"==typeof this.filterOptions.filterAlgorithm?this.data=this.options.data.filter(function(t){return e.filterOptions.filterAlgorithm.apply(null,[t,n])}):"string"==typeof this.filterOptions.filterAlgorithm&&(this.data=n?this.options.data.filter(function(t){var r=e.filterOptions.filterAlgorithm;if("and"===r){for(var a in n)if(Array.isArray(n[a])&&!n[a].includes(t[a])||!Array.isArray(n[a])&&t[a]!==n[a])return!1}else if("or"===r){var i=!1;for(var o in n)(Array.isArray(n[o])&&n[o].includes(t[o])||!Array.isArray(n[o])&&t[o]===n[o])&&(i=!0);return i}return!0}):l(this.options.data));var r=this.getVisibleFields();this.data=t?this.data.filter(function(n,a){for(var i=0;i<e.header.fields.length;i++)if(e.header.searchables[i]&&(!e.options.visibleSearch||-1!==r.indexOf(e.header.fields[i]))){var o=Ka.isNumeric(e.header.fields[i])?parseInt(e.header.fields[i],10):e.header.fields[i],s=e.columns[e.fieldsColumnsIndex[o]],l=void 0;if("string"==typeof o){l=n;for(var c=o.split("."),u=0;u<c.length;u++)null!==l[c[u]]&&(l=l[c[u]])}else l=n[o];if(e.options.searchAccentNeutralise&&(l=Ka.normalizeAccent(l)),s&&s.searchFormatter&&(l=Ka.calculateObjectValue(s,e.header.formatters[i],[l,n,a,s.field],l)),"string"==typeof l||"number"==typeof l)if(e.options.strictSearch){if("".concat(l).toLowerCase()===t)return!0}else{var f=/(?:(<=|=>|=<|>=|>|<)(?:\s+)?(-?\d+)?|(-?\d+)?(\s+)?(<=|=>|=<|>=|>|<))/gm.exec(e.searchText),h=!1;if(f){var d=f[1]||"".concat(f[5],"l"),p=f[2]||f[3],g=parseInt(l,10),m=parseInt(p,10);switch(d){case">":case"<l":h=g>m;break;case"<":case">l":h=g<m;break;case"<=":case"=<":case">=l":case"=>l":h=g<=m;break;case">=":case"=>":case"<=l":case"=<l":h=g>=m}}if(h||"".concat(l).toLowerCase().includes(t))return!0}}return!1}):this.data,this.options.sortReset&&(this.unsortedData=l(this.data)),this.initSort()}}},{key:"initPagination",value:function(){var e=this,t=this.options;if(t.pagination){this.$pagination.show();var n,r,a,i,o,s,l,c=[],u=!1,f=this.getData({includeHiddenRows:!1}),h=t.pageList;if("string"==typeof h&&(h=h.replace(/\[|\]| /g,"").toLowerCase().split(",")),h=h.map(function(e){return"string"==typeof e?e.toLowerCase()===t.formatAllRows().toLowerCase()||["all","unlimited"].includes(e.toLowerCase())?t.formatAllRows():+e:e}),this.paginationParts=t.paginationParts,"string"==typeof this.paginationParts&&(this.paginationParts=this.paginationParts.replace(/\[|\]| |'/g,"").split(",")),"server"!==t.sidePagination&&(t.totalRows=f.length),this.totalPages=0,t.totalRows&&(t.pageSize===t.formatAllRows()&&(t.pageSize=t.totalRows,u=!0),this.totalPages=1+~~((t.totalRows-1)/t.pageSize),t.totalPages=this.totalPages),this.totalPages>0&&t.pageNumber>this.totalPages&&(t.pageNumber=this.totalPages),this.pageFrom=(t.pageNumber-1)*t.pageSize+1,this.pageTo=t.pageNumber*t.pageSize,this.pageTo>t.totalRows&&(this.pageTo=t.totalRows),this.options.pagination&&"server"!==this.options.sidePagination&&(this.options.totalNotFiltered=this.options.data.length),this.options.showExtendedPagination||(this.options.totalNotFiltered=void 0),(this.paginationParts.includes("pageInfo")||this.paginationParts.includes("pageInfoShort")||this.paginationParts.includes("pageSize"))&&c.push('<div class="'.concat(this.constants.classes.pull,"-").concat(t.paginationDetailHAlign,' pagination-detail">')),this.paginationParts.includes("pageInfo")||this.paginationParts.includes("pageInfoShort")){var d=this.paginationParts.includes("pageInfoShort")?t.formatDetailPagination(t.totalRows):t.formatShowingRows(this.pageFrom,this.pageTo,t.totalRows,t.totalNotFiltered);c.push('<span class="pagination-info">\n '.concat(d,"\n </span>"))}if(this.paginationParts.includes("pageSize")){c.push('<div class="page-list">');var p=['<div class="'.concat(this.constants.classes.paginationDropdown,'">\n <button class="').concat(this.constants.buttonsClass,' dropdown-toggle" type="button" ').concat(this.constants.dataToggle,'="dropdown">\n <span class="page-size">\n ').concat(u?t.formatAllRows():t.pageSize,"\n </span>\n ").concat(this.constants.html.dropdownCaret,"\n </button>\n ").concat(this.constants.html.pageDropdown[0])];h.forEach(function(n,r){var a;(!t.smartDisplay||0===r||h[r-1]<t.totalRows||n===t.formatAllRows())&&(a=u?n===t.formatAllRows()?e.constants.classes.dropdownActive:"":n===t.pageSize?e.constants.classes.dropdownActive:"",p.push(Ka.sprintf(e.constants.html.pageDropdownItem,a,n)))}),p.push("".concat(this.constants.html.pageDropdown[1],"</div>")),c.push(t.formatRecordsPerPage(p.join("")))}if((this.paginationParts.includes("pageInfo")||this.paginationParts.includes("pageInfoShort")||this.paginationParts.includes("pageSize"))&&c.push("</div></div>"),this.paginationParts.includes("pageList")){c.push('<div class="'.concat(this.constants.classes.pull,"-").concat(t.paginationHAlign,' pagination">'),Ka.sprintf(this.constants.html.pagination[0],Ka.sprintf(" pagination-%s",t.iconSize)),Ka.sprintf(this.constants.html.paginationItem," page-pre",t.formatSRPaginationPreText(),t.paginationPreText)),this.totalPages<t.paginationSuccessivelySize?(r=1,a=this.totalPages):a=(r=t.pageNumber-t.paginationPagesBySide)+2*t.paginationPagesBySide,t.pageNumber<t.paginationSuccessivelySize-1&&(a=t.paginationSuccessivelySize),t.paginationSuccessivelySize>this.totalPages-r&&(r=r-(t.paginationSuccessivelySize-(this.totalPages-r))+1),r<1&&(r=1),a>this.totalPages&&(a=this.totalPages);var g=Math.round(t.paginationPagesBySide/2),m=function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Ka.sprintf(e.constants.html.paginationItem,r+(n===t.pageNumber?" ".concat(e.constants.classes.paginationActive):""),t.formatSRPaginationPageText(n),n)};if(r>1){var v=t.paginationPagesBySide;for(v>=r&&(v=r-1),n=1;n<=v;n++)c.push(m(n));r-1===v+1?(n=r-1,c.push(m(n))):r-1>v&&(r-2*t.paginationPagesBySide>t.paginationPagesBySide&&t.paginationUseIntermediate?(n=Math.round((r-g)/2+g),c.push(m(n," page-intermediate"))):c.push(Ka.sprintf(this.constants.html.paginationItem," page-first-separator disabled","","...")))}for(n=r;n<=a;n++)c.push(m(n));if(this.totalPages>a){var b=this.totalPages-(t.paginationPagesBySide-1);for(a>=b&&(b=a+1),a+1===b-1?(n=a+1,c.push(m(n))):b>a+1&&(this.totalPages-a>2*t.paginationPagesBySide&&t.paginationUseIntermediate?(n=Math.round((this.totalPages-g-a)/2+a),c.push(m(n," page-intermediate"))):c.push(Ka.sprintf(this.constants.html.paginationItem," page-last-separator disabled","","..."))),n=b;n<=this.totalPages;n++)c.push(m(n))}c.push(Ka.sprintf(this.constants.html.paginationItem," page-next",t.formatSRPaginationNextText(),t.paginationNextText)),c.push(this.constants.html.pagination[1],"</div>")}this.$pagination.html(c.join(""));var y=["bottom","both"].includes(t.paginationVAlign)?" ".concat(this.constants.classes.dropup):"";this.$pagination.last().find(".page-list > div").addClass(y),t.onlyInfoPagination||(i=this.$pagination.find(".page-list a"),o=this.$pagination.find(".page-pre"),s=this.$pagination.find(".page-next"),l=this.$pagination.find(".page-item").not(".page-next, .page-pre, .page-last-separator, .page-first-separator"),this.totalPages<=1&&this.$pagination.find("div.pagination").hide(),t.smartDisplay&&(h.length<2||t.totalRows<=h[0])&&this.$pagination.find("span.page-list").hide(),this.$pagination[this.getData().length?"show":"hide"](),t.paginationLoop||(1===t.pageNumber&&o.addClass("disabled"),t.pageNumber===this.totalPages&&s.addClass("disabled")),u&&(t.pageSize=t.formatAllRows()),i.off("click").on("click",function(t){return e.onPageListChange(t)}),o.off("click").on("click",function(t){return e.onPagePre(t)}),s.off("click").on("click",function(t){return e.onPageNext(t)}),l.off("click").on("click",function(t){return e.onPageNumber(t)}))}else this.$pagination.hide()}},{key:"updatePagination",value:function(e){e&&n.default(e.currentTarget).hasClass("disabled")||(this.options.maintainMetaData||this.resetRows(),this.initPagination(),this.trigger("page-change",this.options.pageNumber,this.options.pageSize),"server"===this.options.sidePagination?this.initServer():this.initBody())}},{key:"onPageListChange",value:function(e){e.preventDefault();var t=n.default(e.currentTarget);return t.parent().addClass(this.constants.classes.dropdownActive).siblings().removeClass(this.constants.classes.dropdownActive),this.options.pageSize=t.text().toUpperCase()===this.options.formatAllRows().toUpperCase()?this.options.formatAllRows():+t.text(),this.$toolbar.find(".page-size").text(this.options.pageSize),this.updatePagination(e),!1}},{key:"onPagePre",value:function(e){return e.preventDefault(),this.options.pageNumber-1==0?this.options.pageNumber=this.options.totalPages:this.options.pageNumber--,this.updatePagination(e),!1}},{key:"onPageNext",value:function(e){return e.preventDefault(),this.options.pageNumber+1>this.options.totalPages?this.options.pageNumber=1:this.options.pageNumber++,this.updatePagination(e),!1}},{key:"onPageNumber",value:function(e){if(e.preventDefault(),this.options.pageNumber!==+n.default(e.currentTarget).text())return this.options.pageNumber=+n.default(e.currentTarget).text(),this.updatePagination(e),!1}},{key:"initRow",value:function(e,t,n,a){var i=this,o=[],l={},c=[],u="",f={},h=[];if(!(Ka.findIndex(this.hiddenRows,e)>-1)){if((l=Ka.calculateObjectValue(this.options,this.options.rowStyle,[e,t],l))&&l.css)for(var d=0,p=Object.entries(l.css);d<p.length;d++){var g=s(p[d],2),m=g[0],v=g[1];c.push("".concat(m,": ").concat(v))}if(f=Ka.calculateObjectValue(this.options,this.options.rowAttributes,[e,t],f))for(var b=0,y=Object.entries(f);b<y.length;b++){var w=s(y[b],2),S=w[0],x=w[1];h.push("".concat(S,'="').concat(Ka.escapeHTML(x),'"'))}if(e._data&&!Ka.isEmptyObject(e._data))for(var E=0,_=Object.entries(e._data);E<_.length;E++){var k=s(_[E],2),A=k[0],C=k[1];if("index"===A)return;u+=" data-".concat(A,"='").concat("object"===r(C)?JSON.stringify(C):C,"'")}o.push("<tr",Ka.sprintf(" %s",h.length?h.join(" "):void 0),Ka.sprintf(' id="%s"',Array.isArray(e)?void 0:e._id),Ka.sprintf(' class="%s"',l.classes||(Array.isArray(e)?void 0:e._class)),Ka.sprintf(' style="%s"',Array.isArray(e)?void 0:e._style),' data-index="'.concat(t,'"'),Ka.sprintf(' data-uniqueid="%s"',Ka.getItemField(e,this.options.uniqueId,!1)),Ka.sprintf(' data-has-detail-view="%s"',this.options.detailView&&Ka.calculateObjectValue(null,this.options.detailFilter,[t,e])?"true":void 0),Ka.sprintf("%s",u),">"),this.options.cardView&&o.push('<td colspan="'.concat(this.header.fields.length,'"><div class="card-views">'));var T="";return Ka.hasDetailViewIcon(this.options)&&(T="<td>",Ka.calculateObjectValue(null,this.options.detailFilter,[t,e])&&(T+='\n <a class="detail-icon" href="#">\n '.concat(Ka.sprintf(this.constants.html.icon,this.options.iconsPrefix,this.options.icons.detailOpen),"\n </a>\n ")),T+="</td>"),T&&"right"!==this.options.detailViewAlign&&o.push(T),this.header.fields.forEach(function(n,r){var a="",l=Ka.getItemField(e,n,i.options.escape),u="",f="",h={},d="",p=i.header.classes[r],g="",m="",v="",b="",y="",w="",S=i.columns[r];if((!i.fromHtml&&!i.autoMergeCells||void 0!==l||S.checkbox||S.radio)&&S.visible&&(!i.options.cardView||S.cardVisible)){if(S.escape&&(l=Ka.escapeHTML(l)),c.concat([i.header.styles[r]]).length&&(m+="".concat(c.concat([i.header.styles[r]]).join("; "))),e["_".concat(n,"_style")]&&(m+="".concat(e["_".concat(n,"_style")])),m&&(g=' style="'.concat(m,'"')),e["_".concat(n,"_id")]&&(d=Ka.sprintf(' id="%s"',e["_".concat(n,"_id")])),e["_".concat(n,"_class")]&&(p=Ka.sprintf(' class="%s"',e["_".concat(n,"_class")])),e["_".concat(n,"_rowspan")]&&(b=Ka.sprintf(' rowspan="%s"',e["_".concat(n,"_rowspan")])),e["_".concat(n,"_colspan")]&&(y=Ka.sprintf(' colspan="%s"',e["_".concat(n,"_colspan")])),e["_".concat(n,"_title")]&&(w=Ka.sprintf(' title="%s"',e["_".concat(n,"_title")])),(h=Ka.calculateObjectValue(i.header,i.header.cellStyles[r],[l,e,t,n],h)).classes&&(p=' class="'.concat(h.classes,'"')),h.css){for(var x=[],E=0,_=Object.entries(h.css);E<_.length;E++){var k=s(_[E],2),A=k[0],C=k[1];x.push("".concat(A,": ").concat(C))}g=' style="'.concat(x.concat(i.header.styles[r]).join("; "),'"')}if(u=Ka.calculateObjectValue(S,i.header.formatters[r],[l,e,t,n],l),S.checkbox||S.radio||(u=null==u?i.options.undefinedText:u),S.searchable&&i.searchText&&i.options.searchHighlight){var T="",R=new RegExp("(".concat(i.searchText.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),")"),"gim");if(u&&/<(?=.*? .*?\/ ?>|br|hr|input|!--|wbr)[a-z]+.*?>|<([a-z]+).*?<\/\1>/i.test(u)){var N=(new DOMParser).parseFromString(u.toString(),"text/html").documentElement.textContent,B=N.replace(R,"<mark>$1</mark>");T=u.replace(new RegExp("(>\\s*)(".concat(N,")(\\s*)"),"gm"),"$1".concat(B,"$3"))}else T=u.toString().replace(R,"<mark>$1</mark>");u=Ka.calculateObjectValue(S,S.searchHighlightFormatter,[u,i.searchText],T)}if(e["_".concat(n,"_data")]&&!Ka.isEmptyObject(e["_".concat(n,"_data")]))for(var I=0,L=Object.entries(e["_".concat(n,"_data")]);I<L.length;I++){var O=s(L[I],2),P=O[0],F=O[1];if("index"===P)return;v+=" data-".concat(P,'="').concat(F,'"')}if(S.checkbox||S.radio){f=S.checkbox?"checkbox":f,f=S.radio?"radio":f;var D=S.class||"",M=Ka.isObject(u)&&u.hasOwnProperty("checked")?u.checked:(!0===u||l)&&!1!==u,j=!S.checkboxEnabled||u&&u.disabled;a=[i.options.cardView?'<div class="card-view '.concat(D,'">'):'<td class="bs-checkbox '.concat(D,'"').concat(p).concat(g,">"),'<label>\n <input\n data-index="'.concat(t,'"\n name="').concat(i.options.selectItemName,'"\n type="').concat(f,'"\n ').concat(Ka.sprintf('value="%s"',e[i.options.idField]),"\n ").concat(Ka.sprintf('checked="%s"',M?"checked":void 0),"\n ").concat(Ka.sprintf('disabled="%s"',j?"disabled":void 0)," />\n <span></span>\n </label>"),i.header.formatters[r]&&"string"==typeof u?u:"",i.options.cardView?"</div>":"</td>"].join(""),e[i.header.stateField]=!0===u||!!l||u&&u.checked}else if(i.options.cardView){var W=i.options.showHeader?'<span class="card-view-title '.concat(h.classes,'"').concat(g,">").concat(Ka.getFieldTitle(i.columns,n),"</span>"):"";a='<div class="card-view">'.concat(W,'<span class="card-view-value ').concat(h.classes,'"').concat(g,">").concat(u,"</span></div>"),i.options.smartDisplay&&""===u&&(a='<div class="card-view"></div>')}else a="<td".concat(d).concat(p).concat(g).concat(v).concat(b).concat(y).concat(w,">").concat(u,"</td>");o.push(a)}}),T&&"right"===this.options.detailViewAlign&&o.push(T),this.options.cardView&&o.push("</div></td>"),o.push("</tr>"),o.join("")}}},{key:"initBody",value:function(e){var t=this,r=this.getData();this.trigger("pre-body",r),this.$body=this.$el.find(">tbody"),this.$body.length||(this.$body=n.default("<tbody></tbody>").appendTo(this.$el)),this.options.pagination&&"server"!==this.options.sidePagination||(this.pageFrom=1,this.pageTo=r.length);var a=[],i=n.default(document.createDocumentFragment()),o=!1;this.autoMergeCells=Ka.checkAutoMergeCells(r.slice(this.pageFrom-1,this.pageTo));for(var s=this.pageFrom-1;s<this.pageTo;s++){var l=r[s],c=this.initRow(l,s,r,i);o=o||!!c,c&&"string"==typeof c&&(this.options.virtualScroll?a.push(c):i.append(c))}o?this.options.virtualScroll?(this.virtualScroll&&this.virtualScroll.destroy(),this.virtualScroll=new Ja({rows:a,fixedScroll:e,scrollEl:this.$tableBody[0],contentEl:this.$body[0],itemHeight:this.options.virtualScrollItemHeight,callback:function(){t.fitHeader(),t.initBodyEvent()}})):this.$body.html(i):this.$body.html('<tr class="no-records-found">'.concat(Ka.sprintf('<td colspan="%s">%s</td>',this.getVisibleFields().length+Ka.getDetailViewIndexOffset(this.options),this.options.formatNoMatches()),"</tr>")),e||this.scrollTo(0),this.initBodyEvent(),this.updateSelected(),this.initFooter(),this.resetView(),"server"!==this.options.sidePagination&&(this.options.totalRows=r.length),this.trigger("post-body",r)}},{key:"initBodyEvent",value:function(){var e=this;this.$body.find("> tr[data-index] > td").off("click dblclick").on("click dblclick",function(t){var r=n.default(t.currentTarget),a=r.parent(),i=n.default(t.target).parents(".card-views").children(),o=n.default(t.target).parents(".card-view"),s=a.data("index"),l=e.data[s],c=e.options.cardView?i.index(o):r[0].cellIndex,u=e.getVisibleFields()[c-Ka.getDetailViewIndexOffset(e.options)],f=e.columns[e.fieldsColumnsIndex[u]],h=Ka.getItemField(l,u,e.options.escape);if(!r.find(".detail-icon").length){if(e.trigger("click"===t.type?"click-cell":"dbl-click-cell",u,h,l,r),e.trigger("click"===t.type?"click-row":"dbl-click-row",l,a,u),"click"===t.type&&e.options.clickToSelect&&f.clickToSelect&&!Ka.calculateObjectValue(e.options,e.options.ignoreClickToSelectOn,[t.target])){var d=a.find(Ka.sprintf('[name="%s"]',e.options.selectItemName));d.length&&d[0].click()}"click"===t.type&&e.options.detailViewByClick&&e.toggleDetailView(s,e.header.detailFormatters[e.fieldsColumnsIndex[u]])}}).off("mousedown").on("mousedown",function(t){e.multipleSelectRowCtrlKey=t.ctrlKey||t.metaKey,e.multipleSelectRowShiftKey=t.shiftKey}),this.$body.find("> tr[data-index] > td > .detail-icon").off("click").on("click",function(t){return t.preventDefault(),e.toggleDetailView(n.default(t.currentTarget).parent().parent().data("index")),!1}),this.$selectItem=this.$body.find(Ka.sprintf('[name="%s"]',this.options.selectItemName)),this.$selectItem.off("click").on("click",function(t){t.stopImmediatePropagation();var r=n.default(t.currentTarget);e._toggleCheck(r.prop("checked"),r.data("index"))}),this.header.events.forEach(function(t,r){var a=t;if(a){"string"==typeof a&&(a=Ka.calculateObjectValue(null,a));var i=e.header.fields[r],o=e.getVisibleFields().indexOf(i);if(-1!==o){o+=Ka.getDetailViewIndexOffset(e.options);var s=function(t){if(!a.hasOwnProperty(t))return"continue";var r=a[t];e.$body.find(">tr:not(.no-records-found)").each(function(a,s){var l=n.default(s),c=l.find(e.options.cardView?".card-views>.card-view":">td").eq(o),u=t.indexOf(" "),f=t.substring(0,u),h=t.substring(u+1);c.find(h).off(f).on(f,function(t){var n=l.data("index"),a=e.data[n],o=a[i];r.apply(e,[t,o,a,n])})})};for(var l in a)s(l)}}})}},{key:"initServer",value:function(e,t,r){var a=this,i={},o=this.header.fields.indexOf(this.options.sortName),s={searchText:this.searchText,sortName:this.options.sortName,sortOrder:this.options.sortOrder};if(this.header.sortNames[o]&&(s.sortName=this.header.sortNames[o]),this.options.pagination&&"server"===this.options.sidePagination&&(s.pageSize=this.options.pageSize===this.options.formatAllRows()?this.options.totalRows:this.options.pageSize,s.pageNumber=this.options.pageNumber),r||this.options.url||this.options.ajax){if("limit"===this.options.queryParamsType&&(s={search:s.searchText,sort:s.sortName,order:s.sortOrder},this.options.pagination&&"server"===this.options.sidePagination&&(s.offset=this.options.pageSize===this.options.formatAllRows()?0:this.options.pageSize*(this.options.pageNumber-1),s.limit=this.options.pageSize===this.options.formatAllRows()?this.options.totalRows:this.options.pageSize,0===s.limit&&delete s.limit)),this.options.search&&"server"===this.options.sidePagination&&this.columns.filter(function(e){return!e.searchable}).length){s.searchable=[];var l,c=f(this.columns);try{for(c.s();!(l=c.n()).done;){var u=l.value;!u.checkbox&&u.searchable&&(this.options.visibleSearch&&u.visible||!this.options.visibleSearch)&&s.searchable.push(u.field)}}catch(e){c.e(e)}finally{c.f()}}if(Ka.isEmptyObject(this.filterColumnsPartial)||(s.filter=JSON.stringify(this.filterColumnsPartial,null)),n.default.extend(s,t||{}),!1!==(i=Ka.calculateObjectValue(this.options,this.options.queryParams,[s],i))){e||this.showLoading();var h=n.default.extend({},Ka.calculateObjectValue(null,this.options.ajaxOptions),{type:this.options.method,url:r||this.options.url,data:"application/json"===this.options.contentType&&"post"===this.options.method?JSON.stringify(i):i,cache:this.options.cache,contentType:this.options.contentType,dataType:this.options.dataType,success:function(t,n,r){var i=Ka.calculateObjectValue(a.options,a.options.responseHandler,[t,r],t);a.load(i),a.trigger("load-success",i,r&&r.status,r),e||a.hideLoading(),"server"===a.options.sidePagination&&i[a.options.totalField]>0&&!i[a.options.dataField].length&&a.updatePagination()},error:function(t){var n=[];"server"===a.options.sidePagination&&((n={})[a.options.totalField]=0,n[a.options.dataField]=[]),a.load(n),a.trigger("load-error",t&&t.status,t),e||a.$tableLoading.hide()}});return this.options.ajax?Ka.calculateObjectValue(this,this.options.ajax,[h],null):(this._xhr&&4!==this._xhr.readyState&&this._xhr.abort(),this._xhr=n.default.ajax(h)),i}}}},{key:"initSearchText",value:function(){if(this.options.search&&(this.searchText="",""!==this.options.searchText)){var e=Ka.getSearchInput(this);e.val(this.options.searchText),this.onSearch({currentTarget:e,firedByInitSearchText:!0})}}},{key:"getCaret",value:function(){var e=this;this.$header.find("th").each(function(t,r){n.default(r).find(".sortable").removeClass("desc asc").addClass(n.default(r).data("field")===e.options.sortName?e.options.sortOrder:"both")})}},{key:"updateSelected",value:function(){var e=this.$selectItem.filter(":enabled").length&&this.$selectItem.filter(":enabled").length===this.$selectItem.filter(":enabled").filter(":checked").length;this.$selectAll.add(this.$selectAll_).prop("checked",e),this.$selectItem.each(function(e,t){n.default(t).closest("tr")[n.default(t).prop("checked")?"addClass":"removeClass"]("selected")})}},{key:"updateRows",value:function(){var e=this;this.$selectItem.each(function(t,r){e.data[n.default(r).data("index")][e.header.stateField]=n.default(r).prop("checked")})}},{key:"resetRows",value:function(){var e,t=f(this.data);try{for(t.s();!(e=t.n()).done;){var n=e.value;this.$selectAll.prop("checked",!1),this.$selectItem.prop("checked",!1),this.header.stateField&&(n[this.header.stateField]=!1)}}catch(e){t.e(e)}finally{t.f()}this.initHiddenRows()}},{key:"trigger",value:function(t){for(var r,a,i="".concat(t,".bs.table"),o=arguments.length,s=new Array(o>1?o-1:0),l=1;l<o;l++)s[l-1]=arguments[l];(r=this.options)[e.EVENTS[i]].apply(r,[].concat(s,[this])),this.$el.trigger(n.default.Event(i,{sender:this}),s),(a=this.options).onAll.apply(a,[i].concat([].concat(s,[this]))),this.$el.trigger(n.default.Event("all.bs.table",{sender:this}),[i,s])}},{key:"resetHeader",value:function(){var e=this;clearTimeout(this.timeoutId_),this.timeoutId_=setTimeout(function(){return e.fitHeader()},this.$el.is(":hidden")?100:0)}},{key:"fitHeader",value:function(){var e=this;if(this.$el.is(":hidden"))this.timeoutId_=setTimeout(function(){return e.fitHeader()},100);else{var t=this.$tableBody.get(0),r=t.scrollWidth>t.clientWidth&&t.scrollHeight>t.clientHeight+this.$header.outerHeight()?Ka.getScrollBarWidth():0;this.$el.css("margin-top",-this.$header.outerHeight());var a=n.default(":focus");if(a.length>0){var i=a.parents("th");if(i.length>0){var o=i.attr("data-field");if(void 0!==o){var s=this.$header.find("[data-field='".concat(o,"']"));s.length>0&&s.find(":input").addClass("focus-temp")}}}this.$header_=this.$header.clone(!0,!0),this.$selectAll_=this.$header_.find('[name="btSelectAll"]'),this.$tableHeader.css("margin-right",r).find("table").css("width",this.$el.outerWidth()).html("").attr("class",this.$el.attr("class")).append(this.$header_),this.$tableLoading.css("width",this.$el.outerWidth());var l=n.default(".focus-temp:visible:eq(0)");l.length>0&&(l.focus(),this.$header.find(".focus-temp").removeClass("focus-temp")),this.$header.find("th[data-field]").each(function(t,r){e.$header_.find(Ka.sprintf('th[data-field="%s"]',n.default(r).data("field"))).data(n.default(r).data())});for(var c=this.getVisibleFields(),u=this.$header_.find("th"),f=this.$body.find(">tr:not(.no-records-found,.virtual-scroll-top)").eq(0);f.length&&f.find('>td[colspan]:not([colspan="1"])').length;)f=f.next();var h=f.find("> *").length;f.find("> *").each(function(t,r){var a=n.default(r);if(Ka.hasDetailViewIcon(e.options)&&(0===t&&"right"!==e.options.detailViewAlign||t===h-1&&"right"===e.options.detailViewAlign)){var i=u.filter(".detail"),o=i.innerWidth()-i.find(".fht-cell").width();i.find(".fht-cell").width(a.innerWidth()-o)}else{var s=t-Ka.getDetailViewIndexOffset(e.options),l=e.$header_.find(Ka.sprintf('th[data-field="%s"]',c[s]));l.length>1&&(l=n.default(u[a[0].cellIndex]));var f=l.innerWidth()-l.find(".fht-cell").width();l.find(".fht-cell").width(a.innerWidth()-f)}}),this.horizontalScroll(),this.trigger("post-header")}}},{key:"initFooter",value:function(){if(this.options.showFooter&&!this.options.cardView){var e=this.getData(),t=[],n="";Ka.hasDetailViewIcon(this.options)&&(n='<th class="detail"><div class="th-inner"></div><div class="fht-cell"></div></th>'),n&&"right"!==this.options.detailViewAlign&&t.push(n);var r,a=f(this.columns);try{for(a.s();!(r=a.n()).done;){var i,o,l=r.value,c=[],u={},h=Ka.sprintf(' class="%s"',l.class);if(l.visible&&(!(this.footerData&&this.footerData.length>0)||l.field in this.footerData[0])){if(this.options.cardView&&!l.cardVisible)return;if(i=Ka.sprintf("text-align: %s; ",l.falign?l.falign:l.align),o=Ka.sprintf("vertical-align: %s; ",l.valign),(u=Ka.calculateObjectValue(null,this.options.footerStyle,[l]))&&u.css)for(var d=0,p=Object.entries(u.css);d<p.length;d++){var g=s(p[d],2),m=g[0],v=g[1];c.push("".concat(m,": ").concat(v))}u&&u.classes&&(h=Ka.sprintf(' class="%s"',l.class?[l.class,u.classes].join(" "):u.classes)),t.push("<th",h,Ka.sprintf(' style="%s"',i+o+c.concat().join("; ")));var b=0;this.footerData&&this.footerData.length>0&&(b=this.footerData[0]["_".concat(l.field,"_colspan")]||0),b&&t.push(' colspan="'.concat(b,'" ')),t.push(">"),t.push('<div class="th-inner">');var y="";this.footerData&&this.footerData.length>0&&(y=this.footerData[0][l.field]||""),t.push(Ka.calculateObjectValue(l,l.footerFormatter,[e,y],y)),t.push("</div>"),t.push('<div class="fht-cell"></div>'),t.push("</div>"),t.push("</th>")}}}catch(e){a.e(e)}finally{a.f()}n&&"right"===this.options.detailViewAlign&&t.push(n),this.options.height||this.$tableFooter.length||(this.$el.append("<tfoot><tr></tr></tfoot>"),this.$tableFooter=this.$el.find("tfoot")),this.$tableFooter.find("tr").length||this.$tableFooter.html("<table><thead><tr></tr></thead></table>"),this.$tableFooter.find("tr").html(t.join("")),this.trigger("post-footer",this.$tableFooter)}}},{key:"fitFooter",value:function(){var e=this;if(this.$el.is(":hidden"))setTimeout(function(){return e.fitFooter()},100);else{var t=this.$tableBody.get(0),r=t.scrollWidth>t.clientWidth&&t.scrollHeight>t.clientHeight+this.$header.outerHeight()?Ka.getScrollBarWidth():0;this.$tableFooter.css("margin-right",r).find("table").css("width",this.$el.outerWidth()).attr("class",this.$el.attr("class"));var a=this.$tableFooter.find("th"),i=this.$body.find(">tr:first-child:not(.no-records-found)");for(a.find(".fht-cell").width("auto");i.length&&i.find('>td[colspan]:not([colspan="1"])').length;)i=i.next();var o=i.find("> *").length;i.find("> *").each(function(t,r){var i=n.default(r);if(Ka.hasDetailViewIcon(e.options)&&(0===t&&"left"===e.options.detailViewAlign||t===o-1&&"right"===e.options.detailViewAlign)){var s=a.filter(".detail"),l=s.innerWidth()-s.find(".fht-cell").width();s.find(".fht-cell").width(i.innerWidth()-l)}else{var c=a.eq(t),u=c.innerWidth()-c.find(".fht-cell").width();c.find(".fht-cell").width(i.innerWidth()-u)}}),this.horizontalScroll()}}},{key:"horizontalScroll",value:function(){var e=this;this.$tableBody.off("scroll").on("scroll",function(){var t=e.$tableBody.scrollLeft();e.options.showHeader&&e.options.height&&e.$tableHeader.scrollLeft(t),e.options.showFooter&&!e.options.cardView&&e.$tableFooter.scrollLeft(t),e.trigger("scroll-body",e.$tableBody)})}},{key:"getVisibleFields",value:function(){var e,t=[],n=f(this.header.fields);try{for(n.s();!(e=n.n()).done;){var r=e.value,a=this.columns[this.fieldsColumnsIndex[r]];a&&a.visible&&t.push(r)}}catch(e){n.e(e)}finally{n.f()}return t}},{key:"initHiddenRows",value:function(){this.hiddenRows=[]}},{key:"getOptions",value:function(){var e=n.default.extend({},this.options);return delete e.data,n.default.extend(!0,{},e)}},{key:"refreshOptions",value:function(e){Ka.compareObjects(this.options,e,!0)||(this.options=n.default.extend(this.options,e),this.trigger("refresh-options",this.options),this.destroy(),this.init())}},{key:"getData",value:function(e){var t=this,n=this.options.data;if(!(this.searchText||this.options.customSearch||void 0!==this.options.sortName||this.enableCustomSort)&&Ka.isEmptyObject(this.filterColumns)&&Ka.isEmptyObject(this.filterColumnsPartial)||e&&e.unfiltered||(n=this.data),e&&e.useCurrentPage&&(n=n.slice(this.pageFrom-1,this.pageTo)),e&&!e.includeHiddenRows){var r=this.getHiddenRows();n=n.filter(function(e){return-1===Ka.findIndex(r,e)})}return e&&e.formatted&&n.forEach(function(e){for(var n=0,r=Object.entries(e);n<r.length;n++){var a=s(r[n],2),i=a[0],o=a[1],l=t.columns[t.fieldsColumnsIndex[i]];if(!l)return;e[i]=Ka.calculateObjectValue(l,t.header.formatters[l.fieldIndex],[o,e,e.index,l.field],o)}}),n}},{key:"getSelections",value:function(){var e=this;return(this.options.maintainMetaData?this.options.data:this.data).filter(function(t){return!0===t[e.header.stateField]})}},{key:"load",value:function(e){var t,n=e;this.options.pagination&&"server"===this.options.sidePagination&&(this.options.totalRows=n[this.options.totalField],this.options.totalNotFiltered=n[this.options.totalNotFilteredField],this.footerData=n[this.options.footerField]?[n[this.options.footerField]]:void 0),t=n.fixedScroll,n=Array.isArray(n)?n:n[this.options.dataField],this.initData(n),this.initSearch(),this.initPagination(),this.initBody(t)}},{key:"append",value:function(e){this.initData(e,"append"),this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0)}},{key:"prepend",value:function(e){this.initData(e,"prepend"),this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0)}},{key:"remove",value:function(e){for(var t=0,n=this.options.data.length-1;n>=0;n--){var r=this.options.data[n];(r.hasOwnProperty(e.field)||"$index"===e.field)&&((!r.hasOwnProperty(e.field)&&"$index"===e.field&&e.values.includes(n)||e.values.includes(r[e.field]))&&(t++,this.options.data.splice(n,1)))}t&&("server"===this.options.sidePagination&&(this.options.totalRows-=t,this.data=l(this.options.data)),this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0))}},{key:"removeAll",value:function(){this.options.data.length>0&&(this.options.data.splice(0,this.options.data.length),this.initSearch(),this.initPagination(),this.initBody(!0))}},{key:"insertRow",value:function(e){e.hasOwnProperty("index")&&e.hasOwnProperty("row")&&(this.options.data.splice(e.index,0,e.row),this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0))}},{key:"updateRow",value:function(e){var t,r=f(Array.isArray(e)?e:[e]);try{for(r.s();!(t=r.n()).done;){var a=t.value;a.hasOwnProperty("index")&&a.hasOwnProperty("row")&&(a.hasOwnProperty("replace")&&a.replace?this.options.data[a.index]=a.row:n.default.extend(this.options.data[a.index],a.row))}}catch(e){r.e(e)}finally{r.f()}this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0)}},{key:"getRowByUniqueId",value:function(e){var t,n,r,a=this.options.uniqueId,i=e,o=null;for(t=this.options.data.length-1;t>=0;t--){if((n=this.options.data[t]).hasOwnProperty(a))r=n[a];else{if(!n._data||!n._data.hasOwnProperty(a))continue;r=n._data[a]}if("string"==typeof r?i=i.toString():"number"==typeof r&&(Number(r)===r&&r%1==0?i=parseInt(i):r===Number(r)&&0!==r&&(i=parseFloat(i))),r===i){o=n;break}}return o}},{key:"updateByUniqueId",value:function(e){var t,r=f(Array.isArray(e)?e:[e]);try{for(r.s();!(t=r.n()).done;){var a=t.value;if(a.hasOwnProperty("id")&&a.hasOwnProperty("row")){var i=this.options.data.indexOf(this.getRowByUniqueId(a.id));-1!==i&&(a.hasOwnProperty("replace")&&a.replace?this.options.data[i]=a.row:n.default.extend(this.options.data[i],a.row))}}}catch(e){r.e(e)}finally{r.f()}this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0)}},{key:"removeByUniqueId",value:function(e){var t=this.options.data.length,n=this.getRowByUniqueId(e);n&&this.options.data.splice(this.options.data.indexOf(n),1),t!==this.options.data.length&&("server"===this.options.sidePagination&&(this.options.totalRows-=1,this.data=l(this.options.data)),this.initSearch(),this.initPagination(),this.initBody(!0))}},{key:"updateCell",value:function(e){e.hasOwnProperty("index")&&e.hasOwnProperty("field")&&e.hasOwnProperty("value")&&(this.data[e.index][e.field]=e.value,!1!==e.reinit&&(this.initSort(),this.initBody(!0)))}},{key:"updateCellByUniqueId",value:function(e){var t=this;(Array.isArray(e)?e:[e]).forEach(function(e){var n=e.id,r=e.field,a=e.value,i=t.options.data.indexOf(t.getRowByUniqueId(n));-1!==i&&(t.options.data[i][r]=a)}),!1!==e.reinit&&(this.initSort(),this.initBody(!0))}},{key:"showRow",value:function(e){this._toggleRow(e,!0)}},{key:"hideRow",value:function(e){this._toggleRow(e,!1)}},{key:"_toggleRow",value:function(e,t){var n;if(e.hasOwnProperty("index")?n=this.getData()[e.index]:e.hasOwnProperty("uniqueId")&&(n=this.getRowByUniqueId(e.uniqueId)),n){var r=Ka.findIndex(this.hiddenRows,n);t||-1!==r?t&&r>-1&&this.hiddenRows.splice(r,1):this.hiddenRows.push(n),this.initBody(!0),this.initPagination()}}},{key:"getHiddenRows",value:function(e){if(e)return this.initHiddenRows(),this.initBody(!0),void this.initPagination();var t,n=[],r=f(this.getData());try{for(r.s();!(t=r.n()).done;){var a=t.value;this.hiddenRows.includes(a)&&n.push(a)}}catch(e){r.e(e)}finally{r.f()}return this.hiddenRows=n,n}},{key:"showColumn",value:function(e){var t=this;(Array.isArray(e)?e:[e]).forEach(function(e){t._toggleColumn(t.fieldsColumnsIndex[e],!0,!0)})}},{key:"hideColumn",value:function(e){var t=this;(Array.isArray(e)?e:[e]).forEach(function(e){t._toggleColumn(t.fieldsColumnsIndex[e],!1,!0)})}},{key:"_toggleColumn",value:function(e,t,n){if(-1!==e&&this.columns[e].visible!==t&&(this.columns[e].visible=t,this.initHeader(),this.initSearch(),this.initPagination(),this.initBody(),this.options.showColumns)){var r=this.$toolbar.find('.keep-open input:not(".toggle-all")').prop("disabled",!1);n&&r.filter(Ka.sprintf('[value="%s"]',e)).prop("checked",t),r.filter(":checked").length<=this.options.minimumCountColumns&&r.filter(":checked").prop("disabled",!0)}}},{key:"getVisibleColumns",value:function(){var e=this;return this.columns.filter(function(t){return t.visible&&!e.isSelectionColumn(t)})}},{key:"getHiddenColumns",value:function(){return this.columns.filter(function(e){return!e.visible})}},{key:"isSelectionColumn",value:function(e){return e.radio||e.checkbox}},{key:"showAllColumns",value:function(){this._toggleAllColumns(!0)}},{key:"hideAllColumns",value:function(){this._toggleAllColumns(!1)}},{key:"_toggleAllColumns",value:function(e){var t,r=this,a=f(this.columns.slice().reverse());try{for(a.s();!(t=a.n()).done;){var i=t.value;if(i.switchable){if(!e&&this.options.showColumns&&this.getVisibleColumns().length===this.options.minimumCountColumns)continue;i.visible=e}}}catch(e){a.e(e)}finally{a.f()}if(this.initHeader(),this.initSearch(),this.initPagination(),this.initBody(),this.options.showColumns){var o=this.$toolbar.find('.keep-open input[type="checkbox"]:not(".toggle-all")').prop("disabled",!1);e?o.prop("checked",e):o.get().reverse().forEach(function(t){o.filter(":checked").length>r.options.minimumCountColumns&&n.default(t).prop("checked",e)}),o.filter(":checked").length<=this.options.minimumCountColumns&&o.filter(":checked").prop("disabled",!0)}}},{key:"mergeCells",value:function(e){var t,n,r=e.index,a=this.getVisibleFields().indexOf(e.field),i=e.rowspan||1,o=e.colspan||1,s=this.$body.find(">tr");a+=Ka.getDetailViewIndexOffset(this.options);var l=s.eq(r).find(">td").eq(a);if(!(r<0||a<0||r>=this.data.length)){for(t=r;t<r+i;t++)for(n=a;n<a+o;n++)s.eq(t).find(">td").eq(n).hide();l.attr("rowspan",i).attr("colspan",o).show()}}},{key:"checkAll",value:function(){this._toggleCheckAll(!0)}},{key:"uncheckAll",value:function(){this._toggleCheckAll(!1)}},{key:"_toggleCheckAll",value:function(e){var t=this.getSelections();this.$selectAll.add(this.$selectAll_).prop("checked",e),this.$selectItem.filter(":enabled").prop("checked",e),this.updateRows(),this.updateSelected();var n=this.getSelections();e?this.trigger("check-all",n,t):this.trigger("uncheck-all",n,t)}},{key:"checkInvert",value:function(){var e=this.$selectItem.filter(":enabled"),t=e.filter(":checked");e.each(function(e,t){n.default(t).prop("checked",!n.default(t).prop("checked"))}),this.updateRows(),this.updateSelected(),this.trigger("uncheck-some",t),t=this.getSelections(),this.trigger("check-some",t)}},{key:"check",value:function(e){this._toggleCheck(!0,e)}},{key:"uncheck",value:function(e){this._toggleCheck(!1,e)}},{key:"_toggleCheck",value:function(e,t){var n=this.$selectItem.filter('[data-index="'.concat(t,'"]')),r=this.data[t];if(n.is(":radio")||this.options.singleSelect||this.options.multipleSelectRow&&!this.multipleSelectRowCtrlKey&&!this.multipleSelectRowShiftKey){var a,i=f(this.options.data);try{for(i.s();!(a=i.n()).done;){a.value[this.header.stateField]=!1}}catch(e){i.e(e)}finally{i.f()}this.$selectItem.filter(":checked").not(n).prop("checked",!1)}if(r[this.header.stateField]=e,this.options.multipleSelectRow){if(this.multipleSelectRowShiftKey&&this.multipleSelectRowLastSelectedIndex>=0)for(var o=s(this.multipleSelectRowLastSelectedIndex<t?[this.multipleSelectRowLastSelectedIndex,t]:[t,this.multipleSelectRowLastSelectedIndex],2),l=o[0],c=o[1],u=l+1;u<c;u++)this.data[u][this.header.stateField]=!0,this.$selectItem.filter('[data-index="'.concat(u,'"]')).prop("checked",!0);this.multipleSelectRowCtrlKey=!1,this.multipleSelectRowShiftKey=!1,this.multipleSelectRowLastSelectedIndex=e?t:-1}n.prop("checked",e),this.updateSelected(),this.trigger(e?"check":"uncheck",this.data[t],n)}},{key:"checkBy",value:function(e){this._toggleCheckBy(!0,e)}},{key:"uncheckBy",value:function(e){this._toggleCheckBy(!1,e)}},{key:"_toggleCheckBy",value:function(e,t){var n=this;if(t.hasOwnProperty("field")&&t.hasOwnProperty("values")){var r=[];this.data.forEach(function(a,i){if(!a.hasOwnProperty(t.field))return!1;if(t.values.includes(a[t.field])){var o=n.$selectItem.filter(":enabled").filter(Ka.sprintf('[data-index="%s"]',i));if(!(o=e?o.not(":checked"):o.filter(":checked")).length)return;o.prop("checked",e),a[n.header.stateField]=e,r.push(a),n.trigger(e?"check":"uncheck",a,o)}}),this.updateSelected(),this.trigger(e?"check-some":"uncheck-some",r)}}},{key:"refresh",value:function(e){e&&e.url&&(this.options.url=e.url),e&&e.pageNumber&&(this.options.pageNumber=e.pageNumber),e&&e.pageSize&&(this.options.pageSize=e.pageSize),this.trigger("refresh",this.initServer(e&&e.silent,e&&e.query,e&&e.url))}},{key:"destroy",value:function(){this.$el.insertBefore(this.$container),n.default(this.options.toolbar).insertBefore(this.$el),this.$container.next().remove(),this.$container.remove(),this.$el.html(this.$el_.html()).css("margin-top","0").attr("class",this.$el_.attr("class")||"")}},{key:"resetView",value:function(e){var t=0;if(e&&e.height&&(this.options.height=e.height),this.$selectAll.prop("checked",this.$selectItem.length>0&&this.$selectItem.length===this.$selectItem.filter(":checked").length),this.$tableContainer.toggleClass("has-card-view",this.options.cardView),!this.options.cardView&&this.options.showHeader&&this.options.height?(this.$tableHeader.show(),this.resetHeader(),t+=this.$header.outerHeight(!0)+1):(this.$tableHeader.hide(),this.trigger("post-header")),!this.options.cardView&&this.options.showFooter&&(this.$tableFooter.show(),this.fitFooter(),this.options.height&&(t+=this.$tableFooter.outerHeight(!0))),this.$container.hasClass("fullscreen"))this.$tableContainer.css("height",""),this.$tableContainer.css("width","");else if(this.options.height){this.$tableBorder&&(this.$tableBorder.css("width",""),this.$tableBorder.css("height",""));var n=this.$toolbar.outerHeight(!0),r=this.$pagination.outerHeight(!0),a=this.options.height-n-r,i=this.$tableBody.find(">table"),o=i.outerHeight();if(this.$tableContainer.css("height","".concat(a,"px")),this.$tableBorder&&i.is(":visible")){var s=a-o-2;this.$tableBody[0].scrollWidth-this.$tableBody.innerWidth()&&(s-=Ka.getScrollBarWidth()),this.$tableBorder.css("width","".concat(i.outerWidth(),"px")),this.$tableBorder.css("height","".concat(s,"px"))}}this.options.cardView?(this.$el.css("margin-top","0"),this.$tableContainer.css("padding-bottom","0"),this.$tableFooter.hide()):(this.getCaret(),this.$tableContainer.css("padding-bottom","".concat(t,"px"))),this.trigger("reset-view")}},{key:"showLoading",value:function(){this.$tableLoading.toggleClass("open",!0);var e=this.options.loadingFontSize;"auto"===this.options.loadingFontSize&&(e=.04*this.$tableLoading.width(),e=Math.max(12,e),e=Math.min(32,e),e="".concat(e,"px")),this.$tableLoading.find(".loading-text").css("font-size",e)}},{key:"hideLoading",value:function(){this.$tableLoading.toggleClass("open",!1)}},{key:"togglePagination",value:function(){this.options.pagination=!this.options.pagination;var e=this.options.showButtonIcons?this.options.pagination?this.options.icons.paginationSwitchDown:this.options.icons.paginationSwitchUp:"",t=this.options.showButtonText?this.options.pagination?this.options.formatPaginationSwitchUp():this.options.formatPaginationSwitchDown():"";this.$toolbar.find('button[name="paginationSwitch"]').html("".concat(Ka.sprintf(this.constants.html.icon,this.options.iconsPrefix,e)," ").concat(t)),this.updatePagination()}},{key:"toggleFullscreen",value:function(){this.$el.closest(".bootstrap-table").toggleClass("fullscreen"),this.resetView()}},{key:"toggleView",value:function(){this.options.cardView=!this.options.cardView,this.initHeader();var e=this.options.showButtonIcons?this.options.cardView?this.options.icons.toggleOn:this.options.icons.toggleOff:"",t=this.options.showButtonText?this.options.cardView?this.options.formatToggleOff():this.options.formatToggleOn():"";this.$toolbar.find('button[name="toggle"]').html("".concat(Ka.sprintf(this.constants.html.icon,this.options.iconsPrefix,e)," ").concat(t)),this.initBody(),this.trigger("toggle",this.options.cardView)}},{key:"resetSearch",value:function(e){var t=Ka.getSearchInput(this);t.val(e||""),this.onSearch({currentTarget:t})}},{key:"filterBy",value:function(e,t){this.filterOptions=Ka.isEmptyObject(t)?this.options.filterOptions:n.default.extend(this.options.filterOptions,t),this.filterColumns=Ka.isEmptyObject(e)?{}:e,this.options.pageNumber=1,this.initSearch(),this.updatePagination()}},{key:"scrollTo",value:function(e){var t={unit:"px",value:0};"object"===r(e)?t=Object.assign(t,e):"string"==typeof e&&"bottom"===e?t.value=this.$tableBody[0].scrollHeight:"string"!=typeof e&&"number"!=typeof e||(t.value=e);var a=t.value;"rows"===t.unit&&(a=0,this.$body.find("> tr:lt(".concat(t.value,")")).each(function(e,t){a+=n.default(t).outerHeight(!0)})),this.$tableBody.scrollTop(a)}},{key:"getScrollPosition",value:function(){return this.$tableBody.scrollTop()}},{key:"selectPage",value:function(e){e>0&&e<=this.options.totalPages&&(this.options.pageNumber=e,this.updatePagination())}},{key:"prevPage",value:function(){this.options.pageNumber>1&&(this.options.pageNumber--,this.updatePagination())}},{key:"nextPage",value:function(){this.options.pageNumber<this.options.totalPages&&(this.options.pageNumber++,this.updatePagination())}},{key:"toggleDetailView",value:function(e,t){this.$body.find(Ka.sprintf('> tr[data-index="%s"]',e)).next().is("tr.detail-view")?this.collapseRow(e):this.expandRow(e,t),this.resetView()}},{key:"expandRow",value:function(e,t){var n=this.data[e],r=this.$body.find(Ka.sprintf('> tr[data-index="%s"][data-has-detail-view]',e));if(!r.next().is("tr.detail-view")){this.options.detailViewIcon&&r.find("a.detail-icon").html(Ka.sprintf(this.constants.html.icon,this.options.iconsPrefix,this.options.icons.detailClose)),r.after(Ka.sprintf('<tr class="detail-view"><td colspan="%s"></td></tr>',r.children("td").length));var a=r.next().find("td"),i=t||this.options.detailFormatter,o=Ka.calculateObjectValue(this.options,i,[e,n,a],"");1===a.length&&a.append(o),this.trigger("expand-row",e,n,a)}}},{key:"expandRowByUniqueId",value:function(e){var t=this.getRowByUniqueId(e);t&&this.expandRow(this.data.indexOf(t))}},{key:"collapseRow",value:function(e){var t=this.data[e],n=this.$body.find(Ka.sprintf('> tr[data-index="%s"][data-has-detail-view]',e));n.next().is("tr.detail-view")&&(this.options.detailViewIcon&&n.find("a.detail-icon").html(Ka.sprintf(this.constants.html.icon,this.options.iconsPrefix,this.options.icons.detailOpen)),this.trigger("collapse-row",e,t,n.next()),n.next().remove())}},{key:"collapseRowByUniqueId",value:function(e){var t=this.getRowByUniqueId(e);t&&this.collapseRow(this.data.indexOf(t))}},{key:"expandAllRows",value:function(){for(var e=this.$body.find("> tr[data-index][data-has-detail-view]"),t=0;t<e.length;t++)this.expandRow(n.default(e[t]).data("index"))}},{key:"collapseAllRows",value:function(){for(var e=this.$body.find("> tr[data-index][data-has-detail-view]"),t=0;t<e.length;t++)this.collapseRow(n.default(e[t]).data("index"))}},{key:"updateColumnTitle",value:function(e){e.hasOwnProperty("field")&&e.hasOwnProperty("title")&&(this.columns[this.fieldsColumnsIndex[e.field]].title=this.options.escape?Ka.escapeHTML(e.title):e.title,this.columns[this.fieldsColumnsIndex[e.field]].visible&&(this.$header.find("th[data-field]").each(function(t,r){if(n.default(r).data("field")===e.field)return n.default(n.default(r).find(".th-inner")[0]).text(e.title),!1}),this.resetView()))}},{key:"updateFormatText",value:function(e,t){/^format/.test(e)&&this.options[e]&&("string"==typeof t?this.options[e]=function(){return t}:"function"==typeof t&&(this.options[e]=t),this.initToolbar(),this.initPagination(),this.initBody())}}]),e}();return Za.VERSION=Da.VERSION,Za.DEFAULTS=Da.DEFAULTS,Za.LOCALES=Da.LOCALES,Za.COLUMN_DEFAULTS=Da.COLUMN_DEFAULTS,Za.METHODS=Da.METHODS,Za.EVENTS=Da.EVENTS,n.default.BootstrapTable=Za,n.default.fn.bootstrapTable=function(e){for(var t=arguments.length,a=new Array(t>1?t-1:0),i=1;i<t;i++)a[i-1]=arguments[i];var o;return this.each(function(t,i){var s=n.default(i).data("bootstrap.table"),l=n.default.extend({},Za.DEFAULTS,n.default(i).data(),"object"===r(e)&&e);if("string"==typeof e){var c;if(!Da.METHODS.includes(e))throw new Error("Unknown method: ".concat(e));if(!s)return;o=(c=s)[e].apply(c,a),"destroy"===e&&n.default(i).removeData("bootstrap.table")}s||(s=new n.default.BootstrapTable(i,l),n.default(i).data("bootstrap.table",s),s.init())}),void 0===o?this:o},n.default.fn.bootstrapTable.Constructor=Za,n.default.fn.bootstrapTable.theme=Da.THEME,n.default.fn.bootstrapTable.VERSION=Da.VERSION,n.default.fn.bootstrapTable.defaults=Za.DEFAULTS,n.default.fn.bootstrapTable.columnDefaults=Za.COLUMN_DEFAULTS,n.default.fn.bootstrapTable.events=Za.EVENTS,n.default.fn.bootstrapTable.locales=Za.LOCALES,n.default.fn.bootstrapTable.methods=Za.METHODS,n.default.fn.bootstrapTable.utils=Ka,n.default(function(){n.default('[data-toggle="table"]').bootstrapTable()}),Za}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).jQuery)}(this,function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e);function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function s(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=a(e);if(t){var i=a(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return o(this,n)}}function l(e,t,n){return(l="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=a(e)););return e}(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}})(e,t,n||e)}var c="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function u(e,t){return e(t={exports:{}},t.exports),t.exports}var f=function(e){return e&&e.Math==Math&&e},h=f("object"==typeof globalThis&&globalThis)||f("object"==typeof window&&window)||f("object"==typeof self&&self)||f("object"==typeof c&&c)||function(){return this}()||Function("return this")(),d=function(e){try{return!!e()}catch(e){return!0}},p=!d(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),g={}.propertyIsEnumerable,m=Object.getOwnPropertyDescriptor,v={f:m&&!g.call({1:2},1)?function(e){var t=m(this,e);return!!t&&t.enumerable}:g},b=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},y={}.toString,w=function(e){return y.call(e).slice(8,-1)},S="".split,x=d(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==w(e)?S.call(e,""):Object(e)}:Object,E=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},_=function(e){return x(E(e))},k=function(e){return"object"==typeof e?null!==e:"function"==typeof e},A=function(e,t){if(!k(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!k(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!k(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!k(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},C={}.hasOwnProperty,T=function(e,t){return C.call(e,t)},R=h.document,N=k(R)&&k(R.createElement),B=function(e){return N?R.createElement(e):{}},I=!p&&!d(function(){return 7!=Object.defineProperty(B("div"),"a",{get:function(){return 7}}).a}),L=Object.getOwnPropertyDescriptor,O={f:p?L:function(e,t){if(e=_(e),t=A(t,!0),I)try{return L(e,t)}catch(e){}if(T(e,t))return b(!v.f.call(e,t),e[t])}},P=function(e){if(!k(e))throw TypeError(String(e)+" is not an object");return e},F=Object.defineProperty,D={f:p?F:function(e,t,n){if(P(e),t=A(t,!0),P(n),I)try{return F(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},M=p?function(e,t,n){return D.f(e,t,b(1,n))}:function(e,t,n){return e[t]=n,e},j=function(e,t){try{M(h,e,t)}catch(n){h[e]=t}return t},W=h["__core-js_shared__"]||j("__core-js_shared__",{}),U=Function.toString;"function"!=typeof W.inspectSource&&(W.inspectSource=function(e){return U.call(e)});var z,H,V,q=W.inspectSource,G=h.WeakMap,X="function"==typeof G&&/native code/.test(q(G)),$=u(function(e){(e.exports=function(e,t){return W[e]||(W[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.9.1",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})}),Y=0,K=Math.random(),J=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++Y+K).toString(36)},Z=$("keys"),Q=function(e){return Z[e]||(Z[e]=J(e))},ee={},te=h.WeakMap;if(X){var ne=W.state||(W.state=new te),re=ne.get,ae=ne.has,ie=ne.set;z=function(e,t){return t.facade=e,ie.call(ne,e,t),t},H=function(e){return re.call(ne,e)||{}},V=function(e){return ae.call(ne,e)}}else{var oe=Q("state");ee[oe]=!0,z=function(e,t){return t.facade=e,M(e,oe,t),t},H=function(e){return T(e,oe)?e[oe]:{}},V=function(e){return T(e,oe)}}var se,le,ce={set:z,get:H,has:V,enforce:function(e){return V(e)?H(e):z(e,{})},getterFor:function(e){return function(t){var n;if(!k(t)||(n=H(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},ue=u(function(e){var t=ce.get,n=ce.enforce,r=String(String).split("String");(e.exports=function(e,t,a,i){var o,s=!!i&&!!i.unsafe,l=!!i&&!!i.enumerable,c=!!i&&!!i.noTargetGet;"function"==typeof a&&("string"!=typeof t||T(a,"name")||M(a,"name",t),(o=n(a)).source||(o.source=r.join("string"==typeof t?t:""))),e!==h?(s?!c&&e[t]&&(l=!0):delete e[t],l?e[t]=a:M(e,t,a)):l?e[t]=a:j(t,a)})(Function.prototype,"toString",function(){return"function"==typeof this&&t(this).source||q(this)})}),fe=h,he=function(e){return"function"==typeof e?e:void 0},de=function(e,t){return arguments.length<2?he(fe[e])||he(h[e]):fe[e]&&fe[e][t]||h[e]&&h[e][t]},pe=Math.ceil,ge=Math.floor,me=function(e){return isNaN(e=+e)?0:(e>0?ge:pe)(e)},ve=Math.min,be=function(e){return e>0?ve(me(e),9007199254740991):0},ye=Math.max,we=Math.min,Se=function(e){return function(t,n,r){var a,i=_(t),o=be(i.length),s=function(e,t){var n=me(e);return n<0?ye(n+t,0):we(n,t)}(r,o);if(e&&n!=n){for(;o>s;)if((a=i[s++])!=a)return!0}else for(;o>s;s++)if((e||s in i)&&i[s]===n)return e||s||0;return!e&&-1}},xe={includes:Se(!0),indexOf:Se(!1)},Ee=xe.indexOf,_e=function(e,t){var n,r=_(e),a=0,i=[];for(n in r)!T(ee,n)&&T(r,n)&&i.push(n);for(;t.length>a;)T(r,n=t[a++])&&(~Ee(i,n)||i.push(n));return i},ke=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ae=ke.concat("length","prototype"),Ce={f:Object.getOwnPropertyNames||function(e){return _e(e,Ae)}},Te={f:Object.getOwnPropertySymbols},Re=de("Reflect","ownKeys")||function(e){var t=Ce.f(P(e)),n=Te.f;return n?t.concat(n(e)):t},Ne=function(e,t){for(var n=Re(t),r=D.f,a=O.f,i=0;i<n.length;i++){var o=n[i];T(e,o)||r(e,o,a(t,o))}},Be=/#|\.prototype\./,Ie=function(e,t){var n=Oe[Le(e)];return n==Fe||n!=Pe&&("function"==typeof t?d(t):!!t)},Le=Ie.normalize=function(e){return String(e).replace(Be,".").toLowerCase()},Oe=Ie.data={},Pe=Ie.NATIVE="N",Fe=Ie.POLYFILL="P",De=Ie,Me=O.f,je=function(e,t){var n,r,a,i,o,s=e.target,l=e.global,c=e.stat;if(n=l?h:c?h[s]||j(s,{}):(h[s]||{}).prototype)for(r in t){if(i=t[r],a=e.noTargetGet?(o=Me(n,r))&&o.value:n[r],!De(l?r:s+(c?".":"#")+r,e.forced)&&void 0!==a){if(typeof i==typeof a)continue;Ne(i,a)}(e.sham||a&&a.sham)&&M(i,"sham",!0),ue(n,r,i,e)}},We=Array.isArray||function(e){return"Array"==w(e)},Ue=function(e){return Object(E(e))},ze=function(e,t,n){var r=A(t);r in e?D.f(e,r,b(0,n)):e[r]=n},He="process"==w(h.process),Ve=de("navigator","userAgent")||"",qe=h.process,Ge=qe&&qe.versions,Xe=Ge&&Ge.v8;Xe?le=(se=Xe.split("."))[0]+se[1]:Ve&&(!(se=Ve.match(/Edge\/(\d+)/))||se[1]>=74)&&(se=Ve.match(/Chrome\/(\d+)/))&&(le=se[1]);var $e,Ye=le&&+le,Ke=!!Object.getOwnPropertySymbols&&!d(function(){return!Symbol.sham&&(He?38===Ye:Ye>37&&Ye<41)}),Je=Ke&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Ze=$("wks"),Qe=h.Symbol,et=Je?Qe:Qe&&Qe.withoutSetter||J,tt=function(e){return T(Ze,e)&&(Ke||"string"==typeof Ze[e])||(Ke&&T(Qe,e)?Ze[e]=Qe[e]:Ze[e]=et("Symbol."+e)),Ze[e]},nt=tt("species"),rt=function(e,t){var n;return We(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!We(n.prototype)?k(n)&&null===(n=n[nt])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)},at=tt("species"),it=tt("isConcatSpreadable"),ot=Ye>=51||!d(function(){var e=[];return e[it]=!1,e.concat()[0]!==e}),st=($e="concat",Ye>=51||!d(function(){var e=[];return(e.constructor={})[at]=function(){return{foo:1}},1!==e[$e](Boolean).foo})),lt=function(e){if(!k(e))return!1;var t=e[it];return void 0!==t?!!t:We(e)};je({target:"Array",proto:!0,forced:!ot||!st},{concat:function(e){var t,n,r,a,i,o=Ue(this),s=rt(o,0),l=0;for(t=-1,r=arguments.length;t<r;t++)if(i=-1===t?o:arguments[t],lt(i)){if(l+(a=be(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<a;n++,l++)n in i&&ze(s,l,i[n])}else{if(l>=9007199254740991)throw TypeError("Maximum allowed index exceeded");ze(s,l++,i)}return s.length=l,s}});var ct,ut=Object.keys||function(e){return _e(e,ke)},ft=p?Object.defineProperties:function(e,t){P(e);for(var n,r=ut(t),a=r.length,i=0;a>i;)D.f(e,n=r[i++],t[n]);return e},ht=de("document","documentElement"),dt=Q("IE_PROTO"),pt=function(){},gt=function(e){return"<script>"+e+"<\/script>"},mt=function(){try{ct=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;mt=ct?function(e){e.write(gt("")),e.close();var t=e.parentWindow.Object;return e=null,t}(ct):((t=B("iframe")).style.display="none",ht.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(gt("document.F=Object")),e.close(),e.F);for(var n=ke.length;n--;)delete mt.prototype[ke[n]];return mt()};ee[dt]=!0;var vt=Object.create||function(e,t){var n;return null!==e?(pt.prototype=P(e),n=new pt,pt.prototype=null,n[dt]=e):n=mt(),void 0===t?n:ft(n,t)},bt=tt("unscopables"),yt=Array.prototype;null==yt[bt]&&D.f(yt,bt,{configurable:!0,value:vt(null)});var wt,St=xe.includes;je({target:"Array",proto:!0},{includes:function(e){return St(this,e,arguments.length>1?arguments[1]:void 0)}}),wt="includes",yt[bt][wt]=!0;var xt=function(e,t,n){if(function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function")}(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,a){return e.call(t,n,r,a)}}return function(){return e.apply(t,arguments)}},Et=[].push,_t=function(e){var t=1==e,n=2==e,r=3==e,a=4==e,i=6==e,o=7==e,s=5==e||i;return function(l,c,u,f){for(var h,d,p=Ue(l),g=x(p),m=xt(c,u,3),v=be(g.length),b=0,y=f||rt,w=t?y(l,v):n||o?y(l,0):void 0;v>b;b++)if((s||b in g)&&(d=m(h=g[b],b,p),e))if(t)w[b]=d;else if(d)switch(e){case 3:return!0;case 5:return h;case 6:return b;case 2:Et.call(w,h)}else switch(e){case 4:return!1;case 7:Et.call(w,h)}return i?-1:r||a?a:w}},kt={forEach:_t(0),map:_t(1),filter:_t(2),some:_t(3),every:_t(4),find:_t(5),findIndex:_t(6),filterOut:_t(7)}.forEach,At=function(e,t){var n=[][e];return!!n&&d(function(){n.call(null,t||function(){throw 1},1)})}("forEach")?[].forEach:function(e){return kt(this,e,arguments.length>1?arguments[1]:void 0)};for(var Ct in{CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}){var Tt=h[Ct],Rt=Tt&&Tt.prototype;if(Rt&&Rt.forEach!==At)try{M(Rt,"forEach",At)}catch(e){Rt.forEach=At}}var Nt=tt("match"),Bt=function(e){if(function(e){var t;return k(e)&&(void 0!==(t=e[Nt])?!!t:"RegExp"==w(e))}(e))throw TypeError("The method doesn't accept regular expressions");return e},It=tt("match");je({target:"String",proto:!0,forced:!function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[It]=!1,"/./"[e](t)}catch(e){}}return!1}("includes")},{includes:function(e){return!!~String(E(this)).indexOf(Bt(e),arguments.length>1?arguments[1]:void 0)}});n.default.extend(n.default.fn.bootstrapTable.defaults,{mobileResponsive:!1,minWidth:562,minHeight:void 0,heightThreshold:100,checkOnInit:!0,columnsHidden:[]}),n.default.BootstrapTable=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i(e,t)}(f,n["default"].BootstrapTable);var t,o,c,u=s(f);function f(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),u.apply(this,arguments)}return t=f,(o=[{key:"init",value:function(){for(var e,t=this,r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];if((e=l(a(f.prototype),"init",this)).call.apply(e,[this].concat(i)),this.options.mobileResponsive&&this.options.minWidth){this.options.minWidth<100&&this.options.resizable&&(console.warn("The minWidth when the resizable extension is active should be greater or equal than 100"),this.options.minWidth=100);var s,c,u,h={width:n.default(window).width(),height:n.default(window).height()};if(n.default(window).on("resize orientationchange",(s=function(){var e=n.default(window).width(),r=n.default(window).height(),a=n.default(document.activeElement);a.length&&["INPUT","SELECT","TEXTAREA"].includes(a.prop("nodeName"))||(Math.abs(h.height-r)>t.options.heightThreshold||h.width!==e)&&(t.changeView(e,r),h={width:e,height:r})},c=200,u=0,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];clearTimeout(u),u=setTimeout(function(){u=0,s.apply(void 0,t)},c)})),this.options.checkOnInit){var d=n.default(window).width(),p=n.default(window).height();this.changeView(d,p),h={width:d,height:p}}}}},{key:"conditionCardView",value:function(){this.changeTableView(!1),this.showHideColumns(!1)}},{key:"conditionFullView",value:function(){this.changeTableView(!0),this.showHideColumns(!0)}},{key:"changeTableView",value:function(e){this.options.cardView=e,this.toggleView()}},{key:"showHideColumns",value:function(e){var t=this;this.options.columnsHidden.length>0&&this.columns.forEach(function(n){t.options.columnsHidden.includes(n.field)&&n.visible!==e&&t._toggleColumn(t.fieldsColumnsIndex[n.field],e,!0)})}},{key:"changeView",value:function(e,t){this.options.minHeight?e<=this.options.minWidth&&t<=this.options.minHeight?this.conditionCardView():e>this.options.minWidth&&t>this.options.minHeight&&this.conditionFullView():e<=this.options.minWidth?this.conditionCardView():e>this.options.minWidth&&this.conditionFullView(),this.resetView()}}])&&r(t.prototype,o),c&&r(t,c),f}()}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).jQuery)}(this,function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e);function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e){return(i=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=i(e);if(t){var a=i(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return s(this,n)}}function c(e,t,n){return(c="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=i(e)););return e}(e,t);if(r){var a=Object.getOwnPropertyDescriptor(r,t);return a.get?a.get.call(n):a.value}})(e,t,n||e)}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function f(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw i}}}}var h="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function d(e,t){return e(t={exports:{}},t.exports),t.exports}var p=function(e){return e&&e.Math==Math&&e},g=p("object"==typeof globalThis&&globalThis)||p("object"==typeof window&&window)||p("object"==typeof self&&self)||p("object"==typeof h&&h)||function(){return this}()||Function("return this")(),m=function(e){try{return!!e()}catch(e){return!0}},v=!m(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),b={}.propertyIsEnumerable,y=Object.getOwnPropertyDescriptor,w={f:y&&!b.call({1:2},1)?function(e){var t=y(this,e);return!!t&&t.enumerable}:b},S=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},x={}.toString,E=function(e){return x.call(e).slice(8,-1)},_="".split,k=m(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==E(e)?_.call(e,""):Object(e)}:Object,A=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},C=function(e){return k(A(e))},T=function(e){return"object"==typeof e?null!==e:"function"==typeof e},R=function(e,t){if(!T(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!T(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!T(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!T(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},N={}.hasOwnProperty,B=function(e,t){return N.call(e,t)},I=g.document,L=T(I)&&T(I.createElement),O=function(e){return L?I.createElement(e):{}},P=!v&&!m(function(){return 7!=Object.defineProperty(O("div"),"a",{get:function(){return 7}}).a}),F=Object.getOwnPropertyDescriptor,D={f:v?F:function(e,t){if(e=C(e),t=R(t,!0),P)try{return F(e,t)}catch(e){}if(B(e,t))return S(!w.f.call(e,t),e[t])}},M=function(e){if(!T(e))throw TypeError(String(e)+" is not an object");return e},j=Object.defineProperty,W={f:v?j:function(e,t,n){if(M(e),t=R(t,!0),M(n),P)try{return j(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},U=v?function(e,t,n){return W.f(e,t,S(1,n))}:function(e,t,n){return e[t]=n,e},z=function(e,t){try{U(g,e,t)}catch(n){g[e]=t}return t},H=g["__core-js_shared__"]||z("__core-js_shared__",{}),V=Function.toString;"function"!=typeof H.inspectSource&&(H.inspectSource=function(e){return V.call(e)});var q,G,X,$=H.inspectSource,Y=g.WeakMap,K="function"==typeof Y&&/native code/.test($(Y)),J=d(function(e){(e.exports=function(e,t){return H[e]||(H[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.9.1",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})}),Z=0,Q=Math.random(),ee=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++Z+Q).toString(36)},te=J("keys"),ne=function(e){return te[e]||(te[e]=ee(e))},re={},ae=g.WeakMap;if(K){var ie=H.state||(H.state=new ae),oe=ie.get,se=ie.has,le=ie.set;q=function(e,t){return t.facade=e,le.call(ie,e,t),t},G=function(e){return oe.call(ie,e)||{}},X=function(e){return se.call(ie,e)}}else{var ce=ne("state");re[ce]=!0,q=function(e,t){return t.facade=e,U(e,ce,t),t},G=function(e){return B(e,ce)?e[ce]:{}},X=function(e){return B(e,ce)}}var ue,fe,he={set:q,get:G,has:X,enforce:function(e){return X(e)?G(e):q(e,{})},getterFor:function(e){return function(t){var n;if(!T(t)||(n=G(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},de=d(function(e){var t=he.get,n=he.enforce,r=String(String).split("String");(e.exports=function(e,t,a,i){var o,s=!!i&&!!i.unsafe,l=!!i&&!!i.enumerable,c=!!i&&!!i.noTargetGet;"function"==typeof a&&("string"!=typeof t||B(a,"name")||U(a,"name",t),(o=n(a)).source||(o.source=r.join("string"==typeof t?t:""))),e!==g?(s?!c&&e[t]&&(l=!0):delete e[t],l?e[t]=a:U(e,t,a)):l?e[t]=a:z(t,a)})(Function.prototype,"toString",function(){return"function"==typeof this&&t(this).source||$(this)})}),pe=g,ge=function(e){return"function"==typeof e?e:void 0},me=function(e,t){return arguments.length<2?ge(pe[e])||ge(g[e]):pe[e]&&pe[e][t]||g[e]&&g[e][t]},ve=Math.ceil,be=Math.floor,ye=function(e){return isNaN(e=+e)?0:(e>0?be:ve)(e)},we=Math.min,Se=function(e){return e>0?we(ye(e),9007199254740991):0},xe=Math.max,Ee=Math.min,_e=function(e,t){var n=ye(e);return n<0?xe(n+t,0):Ee(n,t)},ke=function(e){return function(t,n,r){var a,i=C(t),o=Se(i.length),s=_e(r,o);if(e&&n!=n){for(;o>s;)if((a=i[s++])!=a)return!0}else for(;o>s;s++)if((e||s in i)&&i[s]===n)return e||s||0;return!e&&-1}},Ae={includes:ke(!0),indexOf:ke(!1)}.indexOf,Ce=function(e,t){var n,r=C(e),a=0,i=[];for(n in r)!B(re,n)&&B(r,n)&&i.push(n);for(;t.length>a;)B(r,n=t[a++])&&(~Ae(i,n)||i.push(n));return i},Te=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Re=Te.concat("length","prototype"),Ne={f:Object.getOwnPropertyNames||function(e){return Ce(e,Re)}},Be={f:Object.getOwnPropertySymbols},Ie=me("Reflect","ownKeys")||function(e){var t=Ne.f(M(e)),n=Be.f;return n?t.concat(n(e)):t},Le=function(e,t){for(var n=Ie(t),r=W.f,a=D.f,i=0;i<n.length;i++){var o=n[i];B(e,o)||r(e,o,a(t,o))}},Oe=/#|\.prototype\./,Pe=function(e,t){var n=De[Fe(e)];return n==je||n!=Me&&("function"==typeof t?m(t):!!t)},Fe=Pe.normalize=function(e){return String(e).replace(Oe,".").toLowerCase()},De=Pe.data={},Me=Pe.NATIVE="N",je=Pe.POLYFILL="P",We=Pe,Ue=D.f,ze=function(e,t){var n,r,a,i,o,s=e.target,l=e.global,c=e.stat;if(n=l?g:c?g[s]||z(s,{}):(g[s]||{}).prototype)for(r in t){if(i=t[r],a=e.noTargetGet?(o=Ue(n,r))&&o.value:n[r],!We(l?r:s+(c?".":"#")+r,e.forced)&&void 0!==a){if(typeof i==typeof a)continue;Le(i,a)}(e.sham||a&&a.sham)&&U(i,"sham",!0),de(n,r,i,e)}},He=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},Ve=function(e){return Object(A(e))},qe=Array.isArray||function(e){return"Array"==E(e)},Ge="process"==E(g.process),Xe=me("navigator","userAgent")||"",$e=g.process,Ye=$e&&$e.versions,Ke=Ye&&Ye.v8;Ke?fe=(ue=Ke.split("."))[0]+ue[1]:Xe&&(!(ue=Xe.match(/Edge\/(\d+)/))||ue[1]>=74)&&(ue=Xe.match(/Chrome\/(\d+)/))&&(fe=ue[1]);var Je,Ze=fe&&+fe,Qe=!!Object.getOwnPropertySymbols&&!m(function(){return!Symbol.sham&&(Ge?38===Ze:Ze>37&&Ze<41)}),et=Qe&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,tt=J("wks"),nt=g.Symbol,rt=et?nt:nt&&nt.withoutSetter||ee,at=function(e){return B(tt,e)&&(Qe||"string"==typeof tt[e])||(Qe&&B(nt,e)?tt[e]=nt[e]:tt[e]=rt("Symbol."+e)),tt[e]},it=at("species"),ot=function(e,t){var n;return qe(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!qe(n.prototype)?T(n)&&null===(n=n[it])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)},st=[].push,lt=function(e){var t=1==e,n=2==e,r=3==e,a=4==e,i=6==e,o=7==e,s=5==e||i;return function(l,c,u,f){for(var h,d,p=Ve(l),g=k(p),m=function(e,t,n){if(He(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,a){return e.call(t,n,r,a)}}return function(){return e.apply(t,arguments)}}(c,u,3),v=Se(g.length),b=0,y=f||ot,w=t?y(l,v):n||o?y(l,0):void 0;v>b;b++)if((s||b in g)&&(d=m(h=g[b],b,p),e))if(t)w[b]=d;else if(d)switch(e){case 3:return!0;case 5:return h;case 6:return b;case 2:st.call(w,h)}else switch(e){case 4:return!1;case 7:st.call(w,h)}return i?-1:r||a?a:w}},ct={forEach:lt(0),map:lt(1),filter:lt(2),some:lt(3),every:lt(4),find:lt(5),findIndex:lt(6),filterOut:lt(7)},ut=Object.keys||function(e){return Ce(e,Te)},ft=v?Object.defineProperties:function(e,t){M(e);for(var n,r=ut(t),a=r.length,i=0;a>i;)W.f(e,n=r[i++],t[n]);return e},ht=me("document","documentElement"),dt=ne("IE_PROTO"),pt=function(){},gt=function(e){return"<script>"+e+"<\/script>"},mt=function(){try{Je=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;mt=Je?function(e){e.write(gt("")),e.close();var t=e.parentWindow.Object;return e=null,t}(Je):((t=O("iframe")).style.display="none",ht.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(gt("document.F=Object")),e.close(),e.F);for(var n=Te.length;n--;)delete mt.prototype[Te[n]];return mt()};re[dt]=!0;var vt=Object.create||function(e,t){var n;return null!==e?(pt.prototype=M(e),n=new pt,pt.prototype=null,n[dt]=e):n=mt(),void 0===t?n:ft(n,t)},bt=at("unscopables"),yt=Array.prototype;null==yt[bt]&&W.f(yt,bt,{configurable:!0,value:vt(null)});var wt,St=ct.find,xt=!0;"find"in[]&&Array(1).find(function(){xt=!1}),ze({target:"Array",proto:!0,forced:xt},{find:function(e){return St(this,e,arguments.length>1?arguments[1]:void 0)}}),wt="find",yt[bt][wt]=!0;function Et(e,t){return RegExp(e,t)}var _t,kt,At={UNSUPPORTED_Y:m(function(){var e=Et("a","y");return e.lastIndex=2,null!=e.exec("abcd")}),BROKEN_CARET:m(function(){var e=Et("^r","gy");return e.lastIndex=2,null!=e.exec("str")})},Ct=RegExp.prototype.exec,Tt=String.prototype.replace,Rt=Ct,Nt=(_t=/a/,kt=/b*/g,Ct.call(_t,"a"),Ct.call(kt,"a"),0!==_t.lastIndex||0!==kt.lastIndex),Bt=At.UNSUPPORTED_Y||At.BROKEN_CARET,It=void 0!==/()??/.exec("")[1];(Nt||It||Bt)&&(Rt=function(e){var t,n,r,a,i=this,o=Bt&&i.sticky,s=function(){var e=M(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}.call(i),l=i.source,c=0,u=e;return o&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),u=String(e).slice(i.lastIndex),i.lastIndex>0&&(!i.multiline||i.multiline&&"\n"!==e[i.lastIndex-1])&&(l="(?: "+l+")",u=" "+u,c++),n=new RegExp("^(?:"+l+")",s)),It&&(n=new RegExp("^"+l+"$(?!\\s)",s)),Nt&&(t=i.lastIndex),r=Ct.call(o?n:i,u),o?r?(r.input=r.input.slice(c),r[0]=r[0].slice(c),r.index=i.lastIndex,i.lastIndex+=r[0].length):i.lastIndex=0:Nt&&r&&(i.lastIndex=i.global?r.index+r[0].length:t),It&&r&&r.length>1&&Tt.call(r[0],n,function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(r[a]=void 0)}),r});var Lt=Rt;ze({target:"RegExp",proto:!0,forced:/./.exec!==Lt},{exec:Lt});var Ot=at("species"),Pt=!m(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}),Ft="$0"==="a".replace(/./,"$0"),Dt=at("replace"),Mt=!!/./[Dt]&&""===/./[Dt]("a","$0"),jt=!m(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}),Wt=function(e,t,n,r){var a=at(e),i=!m(function(){var t={};return t[a]=function(){return 7},7!=""[e](t)}),o=i&&!m(function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[Ot]=function(){return n},n.flags="",n[a]=/./[a]),n.exec=function(){return t=!0,null},n[a](""),!t});if(!i||!o||"replace"===e&&(!Pt||!Ft||Mt)||"split"===e&&!jt){var s=/./[a],l=n(a,""[e],function(e,t,n,r,a){return t.exec===Lt?i&&!a?{done:!0,value:s.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}},{REPLACE_KEEPS_$0:Ft,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:Mt}),c=l[0],u=l[1];de(String.prototype,e,c),de(RegExp.prototype,a,2==t?function(e,t){return u.call(e,this,t)}:function(e){return u.call(e,this)})}r&&U(RegExp.prototype[a],"sham",!0)},Ut=at("match"),zt=at("species"),Ht=function(e){return function(t,n){var r,a,i=String(A(t)),o=ye(n),s=i.length;return o<0||o>=s?e?"":void 0:(r=i.charCodeAt(o))<55296||r>56319||o+1===s||(a=i.charCodeAt(o+1))<56320||a>57343?e?i.charAt(o):r:e?i.slice(o,o+2):a-56320+(r-55296<<10)+65536}},Vt={codeAt:Ht(!1),charAt:Ht(!0)}.charAt,qt=function(e,t,n){return t+(n?Vt(e,t).length:1)},Gt=function(e,t){var n=e.exec;if("function"==typeof n){var r=n.call(e,t);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==E(e))throw TypeError("RegExp#exec called on incompatible receiver");return Lt.call(e,t)},Xt=[].push,$t=Math.min,Yt=!m(function(){return!RegExp(4294967295,"y")});Wt("split",2,function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r,a,i=String(A(this)),o=void 0===n?4294967295:n>>>0;if(0===o)return[];if(void 0===e)return[i];if(!T(r=e)||(void 0!==(a=r[Ut])?!a:"RegExp"!=E(r)))return t.call(i,e,o);for(var s,l,c,u=[],f=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),h=0,d=new RegExp(e.source,f+"g");(s=Lt.call(d,i))&&!((l=d.lastIndex)>h&&(u.push(i.slice(h,s.index)),s.length>1&&s.index<i.length&&Xt.apply(u,s.slice(1)),c=s[0].length,h=l,u.length>=o));)d.lastIndex===s.index&&d.lastIndex++;return h===i.length?!c&&d.test("")||u.push(""):u.push(i.slice(h)),u.length>o?u.slice(0,o):u}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var a=A(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,a,n):r.call(String(a),t,n)},function(e,a){var i=n(r,e,this,a,r!==t);if(i.done)return i.value;var o=M(e),s=String(this),l=function(e,t){var n,r=M(e).constructor;return void 0===r||null==(n=M(r)[zt])?t:He(n)}(o,RegExp),c=o.unicode,u=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(Yt?"y":"g"),f=new l(Yt?o:"^(?:"+o.source+")",u),h=void 0===a?4294967295:a>>>0;if(0===h)return[];if(0===s.length)return null===Gt(f,s)?[s]:[];for(var d=0,p=0,g=[];p<s.length;){f.lastIndex=Yt?p:0;var m,v=Gt(f,Yt?s:s.slice(p));if(null===v||(m=$t(Se(f.lastIndex+(Yt?0:p)),s.length))===d)p=qt(s,p,c);else{if(g.push(s.slice(d,p)),g.length===h)return g;for(var b=1;b<=v.length-1;b++)if(g.push(v[b]),g.length===h)return g;p=d=m}}return g.push(s.slice(d)),g}]},!Yt);var Kt=Math.floor,Jt="".replace,Zt=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Qt=/\$([$&'`]|\d{1,2})/g,en=function(e,t,n,r,a,i){var o=n+e.length,s=r.length,l=Qt;return void 0!==a&&(a=Ve(a),l=Zt),Jt.call(i,l,function(i,l){var c;switch(l.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,n);case"'":return t.slice(o);case"<":c=a[l.slice(1,-1)];break;default:var u=+l;if(0===u)return i;if(u>s){var f=Kt(u/10);return 0===f?i:f<=s?void 0===r[f-1]?l.charAt(1):r[f-1]+l.charAt(1):i}c=r[u-1]}return void 0===c?"":c})},tn=Math.max,nn=Math.min;Wt("replace",2,function(e,t,n,r){var a=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,i=r.REPLACE_KEEPS_$0,o=a?"$":"$0";return[function(n,r){var a=A(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,a,r):t.call(String(a),n,r)},function(e,r){if(!a&&i||"string"==typeof r&&-1===r.indexOf(o)){var s=n(t,e,this,r);if(s.done)return s.value}var l=M(e),c=String(this),u="function"==typeof r;u||(r=String(r));var f=l.global;if(f){var h=l.unicode;l.lastIndex=0}for(var d=[];;){var p=Gt(l,c);if(null===p)break;if(d.push(p),!f)break;""===String(p[0])&&(l.lastIndex=qt(c,Se(l.lastIndex),h))}for(var g,m="",v=0,b=0;b<d.length;b++){p=d[b];for(var y=String(p[0]),w=tn(nn(ye(p.index),c.length),0),S=[],x=1;x<p.length;x++)S.push(void 0===(g=p[x])?g:String(g));var E=p.groups;if(u){var _=[y].concat(S,w,c);void 0!==E&&_.push(E);var k=String(r.apply(void 0,_))}else k=en(y,c,w,S,E,r);w>=v&&(m+=c.slice(v,w)+k,v=w+y.length)}return m+c.slice(v)}]});var rn=function(e,t,n){var r=R(t);r in e?W.f(e,r,S(0,n)):e[r]=n},an=at("species"),on=function(e){return Ze>=51||!m(function(){var t=[];return(t.constructor={})[an]=function(){return{foo:1}},1!==t[e](Boolean).foo})},sn=on("slice"),ln=at("species"),cn=[].slice,un=Math.max;ze({target:"Array",proto:!0,forced:!sn},{slice:function(e,t){var n,r,a,i=C(this),o=Se(i.length),s=_e(e,o),l=_e(void 0===t?o:t,o);if(qe(i)&&("function"!=typeof(n=i.constructor)||n!==Array&&!qe(n.prototype)?T(n)&&null===(n=n[ln])&&(n=void 0):n=void 0,n===Array||void 0===n))return cn.call(i,s,l);for(r=new(void 0===n?Array:n)(un(l-s,0)),a=0;s<l;s++,a++)s in i&&rn(r,a,i[s]);return r.length=a,r}});var fn=ct.map;ze({target:"Array",proto:!0,forced:!on("map")},{map:function(e){return fn(this,e,arguments.length>1?arguments[1]:void 0)}});var hn=Object.assign,dn=Object.defineProperty,pn=!hn||m(function(){if(v&&1!==hn({b:1},hn(dn({},"a",{enumerable:!0,get:function(){dn(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach(function(e){t[e]=e}),7!=hn({},e)[n]||"abcdefghijklmnopqrst"!=ut(hn({},t)).join("")})?function(e,t){for(var n=Ve(e),r=arguments.length,a=1,i=Be.f,o=w.f;r>a;)for(var s,l=k(arguments[a++]),c=i?ut(l).concat(i(l)):ut(l),u=c.length,f=0;u>f;)s=c[f++],v&&!o.call(l,s)||(n[s]=l[s]);return n}:hn;ze({target:"Object",stat:!0,forced:Object.assign!==pn},{assign:pn});var gn=at("isConcatSpreadable"),mn=Ze>=51||!m(function(){var e=[];return e[gn]=!1,e.concat()[0]!==e}),vn=on("concat"),bn=function(e){if(!T(e))return!1;var t=e[gn];return void 0!==t?!!t:qe(e)};ze({target:"Array",proto:!0,forced:!mn||!vn},{concat:function(e){var t,n,r,a,i,o=Ve(this),s=ot(o,0),l=0;for(t=-1,r=arguments.length;t<r;t++)if(i=-1===t?o:arguments[t],bn(i)){if(l+(a=Se(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<a;n++,l++)n in i&&rn(s,l,i[n])}else{if(l>=9007199254740991)throw TypeError("Maximum allowed index exceeded");rn(s,l++,i)}return s.length=l,s}});var yn=function(e,t){var n=[][e];return!!n&&m(function(){n.call(null,t||function(){throw 1},1)})},wn=[].join,Sn=k!=Object,xn=yn("join",",");ze({target:"Array",proto:!0,forced:Sn||!xn},{join:function(e){return wn.call(C(this),void 0===e?",":e)}});var En=ct.forEach,_n=yn("forEach")?[].forEach:function(e){return En(this,e,arguments.length>1?arguments[1]:void 0)};for(var kn in{CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}){var An=g[kn],Cn=An&&An.prototype;if(Cn&&Cn.forEach!==_n)try{U(Cn,"forEach",_n)}catch(e){Cn.forEach=_n}}var Tn=n.default.fn.bootstrapTable.utils,Rn={json:"JSON",xml:"XML",png:"PNG",csv:"CSV",txt:"TXT",sql:"SQL",doc:"MS-Word",excel:"MS-Excel",xlsx:"MS-Excel (OpenXML)",powerpoint:"MS-Powerpoint",pdf:"PDF"};n.default.extend(n.default.fn.bootstrapTable.defaults,{showExport:!1,exportDataType:"basic",exportTypes:["json","xml","csv","txt","sql","excel"],exportOptions:{onCellHtmlData:function(e,t,n,r){return e.is("th")?e.find(".th-inner").text():r}},exportFooter:!1}),n.default.extend(n.default.fn.bootstrapTable.columnDefaults,{forceExport:!1,forceHide:!1}),n.default.extend(n.default.fn.bootstrapTable.defaults.icons,{export:{bootstrap3:"glyphicon-export icon-share",materialize:"file_download","bootstrap-table":"icon-download"}[n.default.fn.bootstrapTable.theme]||"fa-download"}),n.default.extend(n.default.fn.bootstrapTable.locales,{formatExport:function(){return"Export data"}}),n.default.extend(n.default.fn.bootstrapTable.defaults,n.default.fn.bootstrapTable.locales),n.default.fn.bootstrapTable.methods.push("exportTable"),n.default.extend(n.default.fn.bootstrapTable.defaults,{onExportSaved:function(e){return!1}}),n.default.extend(n.default.fn.bootstrapTable.Constructor.EVENTS,{"export-saved.bs.table":"onExportSaved"}),n.default.BootstrapTable=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(d,n["default"].BootstrapTable);var t,s,u,h=l(d);function d(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),h.apply(this,arguments)}return t=d,(s=[{key:"initToolbar",value:function(){var e,t=this,r=this.options,a=r.exportTypes;if(this.showToolbar=this.showToolbar||r.showExport,this.options.showExport){if("string"==typeof a){var o=a.slice(1,-1).replace(/ /g,"").split(",");a=o.map(function(e){return e.slice(1,-1)})}if(this.$export=this.$toolbar.find(">.columns div.export"),this.$export.length)return void this.updateExportButton();this.buttons=Object.assign(this.buttons,{export:{html:1===a.length?'\n <div class="export '.concat(this.constants.classes.buttonsDropdown,'"\n data-type="').concat(a[0],'">\n <button class="').concat(this.constants.buttonsClass,'"\n aria-label="Export"\n type="button"\n title="').concat(r.formatExport(),'">\n ').concat(r.showButtonIcons?Tn.sprintf(this.constants.html.icon,r.iconsPrefix,r.icons.export):"","\n ").concat(r.showButtonText?r.formatExport():"","\n </button>\n </div>\n "):'\n <div class="export '.concat(this.constants.classes.buttonsDropdown,'">\n <button class="').concat(this.constants.buttonsClass,' dropdown-toggle"\n aria-label="Export"\n ').concat(this.constants.dataToggle,'="dropdown"\n type="button"\n title="').concat(r.formatExport(),'">\n ').concat(r.showButtonIcons?Tn.sprintf(this.constants.html.icon,r.iconsPrefix,r.icons.export):"","\n ").concat(r.showButtonText?r.formatExport():"","\n ").concat(this.constants.html.dropdownCaret,"\n </button>\n </div>\n ")}})}for(var s=arguments.length,l=new Array(s),u=0;u<s;u++)l[u]=arguments[u];if((e=c(i(d.prototype),"initToolbar",this)).call.apply(e,[this].concat(l)),this.$export=this.$toolbar.find(">.columns div.export"),this.options.showExport){var h=n.default(this.constants.html.toolbarDropdown.join("")),p=this.$export;if(a.length>1){this.$export.append(h),h.children().length&&(h=h.children().eq(0));var g,m=f(a);try{for(m.s();!(g=m.n()).done;){var v=g.value;if(Rn.hasOwnProperty(v)){var b=n.default(Tn.sprintf(this.constants.html.pageDropdownItem,"",Rn[v]));b.attr("data-type",v),h.append(b)}}}catch(e){m.e(e)}finally{m.f()}p=h.children()}this.updateExportButton(),p.click(function(e){e.preventDefault();var r={type:n.default(e.currentTarget).data("type"),escape:!1};t.exportTable(r)}),this.handleToolbar()}}},{key:"handleToolbar",value:function(){this.$export&&c(i(d.prototype),"handleToolbar",this)&&c(i(d.prototype),"handleToolbar",this).call(this)}},{key:"exportTable",value:function(e){var t=this,r=this.options,i=this.header.stateField,o=r.cardView,s=function(a){i&&t.hideColumn(i),o&&t.toggleView(),t.columns.forEach(function(e){e.forceHide&&t.hideColumn(e.field)});var s=t.getData();if(r.detailView&&r.detailViewIcon){var l="left"===r.detailViewAlign?0:t.getVisibleFields().length+Tn.getDetailViewIndexOffset(t.options);r.exportOptions.ignoreColumn=[l].concat(r.exportOptions.ignoreColumn||[])}if(r.exportFooter){var c=t.$tableFooter.find("tr").first(),u={},f=[];n.default.each(c.children(),function(e,r){var a=n.default(r).children(".th-inner").first().html();u[t.columns[e].field]=" "===a?null:a,f.push(a)}),t.$body.append(t.$body.children().last()[0].outerHTML);var h=t.$body.children().last();n.default.each(h.children(),function(e,t){n.default(t).html(f[e])})}var d=t.getHiddenColumns();d.forEach(function(e){e.forceExport&&t.showColumn(e.field)}),"function"==typeof r.exportOptions.fileName&&(e.fileName=r.exportOptions.fileName()),t.$el.tableExport(n.default.extend({onAfterSaveToFile:function(){r.exportFooter&&t.load(s),i&&t.showColumn(i),o&&t.toggleView(),d.forEach(function(e){e.forceExport&&t.hideColumn(e.field)}),t.columns.forEach(function(e){e.forceHide&&t.showColumn(e.field)}),a&&a()}},r.exportOptions,e))};if("all"===r.exportDataType&&r.pagination){var l="server"===r.sidePagination?"post-body.bs.table":"page-change.bs.table",c=this.options.virtualScroll;this.$el.one(l,function(){setTimeout(function(){s(function(){t.options.virtualScroll=c,t.togglePagination()})},0)}),this.options.virtualScroll=!1,this.togglePagination(),this.trigger("export-saved",this.getData())}else if("selected"===r.exportDataType){var u=this.getData(),f=this.getSelections(),h=r.pagination;if(!f.length)return;"server"===r.sidePagination&&(u=a({total:r.totalRows},this.options.dataField,u),f=a({total:f.length},this.options.dataField,f)),this.load(f),h&&this.togglePagination(),s(function(){h&&t.togglePagination(),t.load(u)}),this.trigger("export-saved",f)}else s(),this.trigger("export-saved",this.getData(!0))}},{key:"updateSelected",value:function(){c(i(d.prototype),"updateSelected",this).call(this),this.updateExportButton()}},{key:"updateExportButton",value:function(){"selected"===this.options.exportDataType&&this.$export.find("> button").prop("disabled",!this.getSelections().length)}}])&&r(t.prototype,s),u&&r(t,u),d}()}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).jQuery)}(this,function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e);function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function s(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=a(e);if(t){var i=a(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return o(this,n)}}function l(e,t,n){return(l="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=a(e)););return e}(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}})(e,t,n||e)}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function u(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw i}}}}var f="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function h(e,t){return e(t={exports:{}},t.exports),t.exports}var d=function(e){return e&&e.Math==Math&&e},p=d("object"==typeof globalThis&&globalThis)||d("object"==typeof window&&window)||d("object"==typeof self&&self)||d("object"==typeof f&&f)||function(){return this}()||Function("return this")(),g=function(e){try{return!!e()}catch(e){return!0}},m=!g(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),v={}.propertyIsEnumerable,b=Object.getOwnPropertyDescriptor,y={f:b&&!v.call({1:2},1)?function(e){var t=b(this,e);return!!t&&t.enumerable}:v},w=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},S={}.toString,x=function(e){return S.call(e).slice(8,-1)},E="".split,_=g(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==x(e)?E.call(e,""):Object(e)}:Object,k=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},A=function(e){return _(k(e))},C=function(e){return"object"==typeof e?null!==e:"function"==typeof e},T=function(e,t){if(!C(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!C(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!C(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!C(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},R={}.hasOwnProperty,N=function(e,t){return R.call(e,t)},B=p.document,I=C(B)&&C(B.createElement),L=function(e){return I?B.createElement(e):{}},O=!m&&!g(function(){return 7!=Object.defineProperty(L("div"),"a",{get:function(){return 7}}).a}),P=Object.getOwnPropertyDescriptor,F={f:m?P:function(e,t){if(e=A(e),t=T(t,!0),O)try{return P(e,t)}catch(e){}if(N(e,t))return w(!y.f.call(e,t),e[t])}},D=function(e){if(!C(e))throw TypeError(String(e)+" is not an object");return e},M=Object.defineProperty,j={f:m?M:function(e,t,n){if(D(e),t=T(t,!0),D(n),O)try{return M(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},W=m?function(e,t,n){return j.f(e,t,w(1,n))}:function(e,t,n){return e[t]=n,e},U=function(e,t){try{W(p,e,t)}catch(n){p[e]=t}return t},z=p["__core-js_shared__"]||U("__core-js_shared__",{}),H=Function.toString;"function"!=typeof z.inspectSource&&(z.inspectSource=function(e){return H.call(e)});var V,q,G,X=z.inspectSource,$=p.WeakMap,Y="function"==typeof $&&/native code/.test(X($)),K=h(function(e){(e.exports=function(e,t){return z[e]||(z[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.9.1",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})}),J=0,Z=Math.random(),Q=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++J+Z).toString(36)},ee=K("keys"),te=function(e){return ee[e]||(ee[e]=Q(e))},ne={},re=p.WeakMap;if(Y){var ae=z.state||(z.state=new re),ie=ae.get,oe=ae.has,se=ae.set;V=function(e,t){return t.facade=e,se.call(ae,e,t),t},q=function(e){return ie.call(ae,e)||{}},G=function(e){return oe.call(ae,e)}}else{var le=te("state");ne[le]=!0,V=function(e,t){return t.facade=e,W(e,le,t),t},q=function(e){return N(e,le)?e[le]:{}},G=function(e){return N(e,le)}}var ce,ue,fe={set:V,get:q,has:G,enforce:function(e){return G(e)?q(e):V(e,{})},getterFor:function(e){return function(t){var n;if(!C(t)||(n=q(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},he=h(function(e){var t=fe.get,n=fe.enforce,r=String(String).split("String");(e.exports=function(e,t,a,i){var o,s=!!i&&!!i.unsafe,l=!!i&&!!i.enumerable,c=!!i&&!!i.noTargetGet;"function"==typeof a&&("string"!=typeof t||N(a,"name")||W(a,"name",t),(o=n(a)).source||(o.source=r.join("string"==typeof t?t:""))),e!==p?(s?!c&&e[t]&&(l=!0):delete e[t],l?e[t]=a:W(e,t,a)):l?e[t]=a:U(t,a)})(Function.prototype,"toString",function(){return"function"==typeof this&&t(this).source||X(this)})}),de=p,pe=function(e){return"function"==typeof e?e:void 0},ge=function(e,t){return arguments.length<2?pe(de[e])||pe(p[e]):de[e]&&de[e][t]||p[e]&&p[e][t]},me=Math.ceil,ve=Math.floor,be=function(e){return isNaN(e=+e)?0:(e>0?ve:me)(e)},ye=Math.min,we=function(e){return e>0?ye(be(e),9007199254740991):0},Se=Math.max,xe=Math.min,Ee=function(e){return function(t,n,r){var a,i=A(t),o=we(i.length),s=function(e,t){var n=be(e);return n<0?Se(n+t,0):xe(n,t)}(r,o);if(e&&n!=n){for(;o>s;)if((a=i[s++])!=a)return!0}else for(;o>s;s++)if((e||s in i)&&i[s]===n)return e||s||0;return!e&&-1}},_e={includes:Ee(!0),indexOf:Ee(!1)}.indexOf,ke=function(e,t){var n,r=A(e),a=0,i=[];for(n in r)!N(ne,n)&&N(r,n)&&i.push(n);for(;t.length>a;)N(r,n=t[a++])&&(~_e(i,n)||i.push(n));return i},Ae=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ce=Ae.concat("length","prototype"),Te={f:Object.getOwnPropertyNames||function(e){return ke(e,Ce)}},Re={f:Object.getOwnPropertySymbols},Ne=ge("Reflect","ownKeys")||function(e){var t=Te.f(D(e)),n=Re.f;return n?t.concat(n(e)):t},Be=function(e,t){for(var n=Ne(t),r=j.f,a=F.f,i=0;i<n.length;i++){var o=n[i];N(e,o)||r(e,o,a(t,o))}},Ie=/#|\.prototype\./,Le=function(e,t){var n=Pe[Oe(e)];return n==De||n!=Fe&&("function"==typeof t?g(t):!!t)},Oe=Le.normalize=function(e){return String(e).replace(Ie,".").toLowerCase()},Pe=Le.data={},Fe=Le.NATIVE="N",De=Le.POLYFILL="P",Me=Le,je=F.f,We=function(e,t){var n,r,a,i,o,s=e.target,l=e.global,c=e.stat;if(n=l?p:c?p[s]||U(s,{}):(p[s]||{}).prototype)for(r in t){if(i=t[r],a=e.noTargetGet?(o=je(n,r))&&o.value:n[r],!Me(l?r:s+(c?".":"#")+r,e.forced)&&void 0!==a){if(typeof i==typeof a)continue;Be(i,a)}(e.sham||a&&a.sham)&&W(i,"sham",!0),he(n,r,i,e)}},Ue=Array.isArray||function(e){return"Array"==x(e)},ze=function(e){return Object(k(e))},He=function(e,t,n){var r=T(t);r in e?j.f(e,r,w(0,n)):e[r]=n},Ve="process"==x(p.process),qe=ge("navigator","userAgent")||"",Ge=p.process,Xe=Ge&&Ge.versions,$e=Xe&&Xe.v8;$e?ue=(ce=$e.split("."))[0]+ce[1]:qe&&(!(ce=qe.match(/Edge\/(\d+)/))||ce[1]>=74)&&(ce=qe.match(/Chrome\/(\d+)/))&&(ue=ce[1]);var Ye=ue&&+ue,Ke=!!Object.getOwnPropertySymbols&&!g(function(){return!Symbol.sham&&(Ve?38===Ye:Ye>37&&Ye<41)}),Je=Ke&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Ze=K("wks"),Qe=p.Symbol,et=Je?Qe:Qe&&Qe.withoutSetter||Q,tt=function(e){return N(Ze,e)&&(Ke||"string"==typeof Ze[e])||(Ke&&N(Qe,e)?Ze[e]=Qe[e]:Ze[e]=et("Symbol."+e)),Ze[e]},nt=tt("species"),rt=function(e,t){var n;return Ue(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!Ue(n.prototype)?C(n)&&null===(n=n[nt])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)},at=tt("species"),it=function(e){return Ye>=51||!g(function(){var t=[];return(t.constructor={})[at]=function(){return{foo:1}},1!==t[e](Boolean).foo})},ot=tt("isConcatSpreadable"),st=Ye>=51||!g(function(){var e=[];return e[ot]=!1,e.concat()[0]!==e}),lt=it("concat"),ct=function(e){if(!C(e))return!1;var t=e[ot];return void 0!==t?!!t:Ue(e)};We({target:"Array",proto:!0,forced:!st||!lt},{concat:function(e){var t,n,r,a,i,o=ze(this),s=rt(o,0),l=0;for(t=-1,r=arguments.length;t<r;t++)if(i=-1===t?o:arguments[t],ct(i)){if(l+(a=we(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<a;n++,l++)n in i&&He(s,l,i[n])}else{if(l>=9007199254740991)throw TypeError("Maximum allowed index exceeded");He(s,l++,i)}return s.length=l,s}});var ut=function(e,t){var n=[][e];return!!n&&g(function(){n.call(null,t||function(){throw 1},1)})},ft=[].join,ht=_!=Object,dt=ut("join",",");We({target:"Array",proto:!0,forced:ht||!dt},{join:function(e){return ft.call(A(this),void 0===e?",":e)}});var pt=function(){var e=D(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t};function gt(e,t){return RegExp(e,t)}var mt,vt,bt={UNSUPPORTED_Y:g(function(){var e=gt("a","y");return e.lastIndex=2,null!=e.exec("abcd")}),BROKEN_CARET:g(function(){var e=gt("^r","gy");return e.lastIndex=2,null!=e.exec("str")})},yt=RegExp.prototype.exec,wt=String.prototype.replace,St=yt,xt=(mt=/a/,vt=/b*/g,yt.call(mt,"a"),yt.call(vt,"a"),0!==mt.lastIndex||0!==vt.lastIndex),Et=bt.UNSUPPORTED_Y||bt.BROKEN_CARET,_t=void 0!==/()??/.exec("")[1];(xt||_t||Et)&&(St=function(e){var t,n,r,a,i=this,o=Et&&i.sticky,s=pt.call(i),l=i.source,c=0,u=e;return o&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),u=String(e).slice(i.lastIndex),i.lastIndex>0&&(!i.multiline||i.multiline&&"\n"!==e[i.lastIndex-1])&&(l="(?: "+l+")",u=" "+u,c++),n=new RegExp("^(?:"+l+")",s)),_t&&(n=new RegExp("^"+l+"$(?!\\s)",s)),xt&&(t=i.lastIndex),r=yt.call(o?n:i,u),o?r?(r.input=r.input.slice(c),r[0]=r[0].slice(c),r.index=i.lastIndex,i.lastIndex+=r[0].length):i.lastIndex=0:xt&&r&&(i.lastIndex=i.global?r.index+r[0].length:t),_t&&r&&r.length>1&&wt.call(r[0],n,function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(r[a]=void 0)}),r});var kt=St;We({target:"RegExp",proto:!0,forced:/./.exec!==kt},{exec:kt});var At=tt("species"),Ct=!g(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}),Tt="$0"==="a".replace(/./,"$0"),Rt=tt("replace"),Nt=!!/./[Rt]&&""===/./[Rt]("a","$0"),Bt=!g(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}),It=function(e,t,n,r){var a=tt(e),i=!g(function(){var t={};return t[a]=function(){return 7},7!=""[e](t)}),o=i&&!g(function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[At]=function(){return n},n.flags="",n[a]=/./[a]),n.exec=function(){return t=!0,null},n[a](""),!t});if(!i||!o||"replace"===e&&(!Ct||!Tt||Nt)||"split"===e&&!Bt){var s=/./[a],l=n(a,""[e],function(e,t,n,r,a){return t.exec===kt?i&&!a?{done:!0,value:s.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}},{REPLACE_KEEPS_$0:Tt,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:Nt}),c=l[0],u=l[1];he(String.prototype,e,c),he(RegExp.prototype,a,2==t?function(e,t){return u.call(e,this,t)}:function(e){return u.call(e,this)})}r&&W(RegExp.prototype[a],"sham",!0)},Lt=tt("match"),Ot=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},Pt=tt("species"),Ft=function(e){return function(t,n){var r,a,i=String(k(t)),o=be(n),s=i.length;return o<0||o>=s?e?"":void 0:(r=i.charCodeAt(o))<55296||r>56319||o+1===s||(a=i.charCodeAt(o+1))<56320||a>57343?e?i.charAt(o):r:e?i.slice(o,o+2):a-56320+(r-55296<<10)+65536}},Dt={codeAt:Ft(!1),charAt:Ft(!0)}.charAt,Mt=function(e,t,n){return t+(n?Dt(e,t).length:1)},jt=function(e,t){var n=e.exec;if("function"==typeof n){var r=n.call(e,t);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==x(e))throw TypeError("RegExp#exec called on incompatible receiver");return kt.call(e,t)},Wt=[].push,Ut=Math.min,zt=!g(function(){return!RegExp(4294967295,"y")});It("split",2,function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r,a,i=String(k(this)),o=void 0===n?4294967295:n>>>0;if(0===o)return[];if(void 0===e)return[i];if(!C(r=e)||(void 0!==(a=r[Lt])?!a:"RegExp"!=x(r)))return t.call(i,e,o);for(var s,l,c,u=[],f=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),h=0,d=new RegExp(e.source,f+"g");(s=kt.call(d,i))&&!((l=d.lastIndex)>h&&(u.push(i.slice(h,s.index)),s.length>1&&s.index<i.length&&Wt.apply(u,s.slice(1)),c=s[0].length,h=l,u.length>=o));)d.lastIndex===s.index&&d.lastIndex++;return h===i.length?!c&&d.test("")||u.push(""):u.push(i.slice(h)),u.length>o?u.slice(0,o):u}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var a=k(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,a,n):r.call(String(a),t,n)},function(e,a){var i=n(r,e,this,a,r!==t);if(i.done)return i.value;var o=D(e),s=String(this),l=function(e,t){var n,r=D(e).constructor;return void 0===r||null==(n=D(r)[Pt])?t:Ot(n)}(o,RegExp),c=o.unicode,u=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(zt?"y":"g"),f=new l(zt?o:"^(?:"+o.source+")",u),h=void 0===a?4294967295:a>>>0;if(0===h)return[];if(0===s.length)return null===jt(f,s)?[s]:[];for(var d=0,p=0,g=[];p<s.length;){f.lastIndex=zt?p:0;var m,v=jt(f,zt?s:s.slice(p));if(null===v||(m=Ut(we(f.lastIndex+(zt?0:p)),s.length))===d)p=Mt(s,p,c);else{if(g.push(s.slice(d,p)),g.length===h)return g;for(var b=1;b<=v.length-1;b++)if(g.push(v[b]),g.length===h)return g;p=d=m}}return g.push(s.slice(d)),g}]},!zt);var Ht=Math.floor,Vt="".replace,qt=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Gt=/\$([$&'`]|\d{1,2})/g,Xt=function(e,t,n,r,a,i){var o=n+e.length,s=r.length,l=Gt;return void 0!==a&&(a=ze(a),l=qt),Vt.call(i,l,function(i,l){var c;switch(l.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,n);case"'":return t.slice(o);case"<":c=a[l.slice(1,-1)];break;default:var u=+l;if(0===u)return i;if(u>s){var f=Ht(u/10);return 0===f?i:f<=s?void 0===r[f-1]?l.charAt(1):r[f-1]+l.charAt(1):i}c=r[u-1]}return void 0===c?"":c})},$t=Math.max,Yt=Math.min;It("replace",2,function(e,t,n,r){var a=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,i=r.REPLACE_KEEPS_$0,o=a?"$":"$0";return[function(n,r){var a=k(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,a,r):t.call(String(a),n,r)},function(e,r){if(!a&&i||"string"==typeof r&&-1===r.indexOf(o)){var s=n(t,e,this,r);if(s.done)return s.value}var l=D(e),c=String(this),u="function"==typeof r;u||(r=String(r));var f=l.global;if(f){var h=l.unicode;l.lastIndex=0}for(var d=[];;){var p=jt(l,c);if(null===p)break;if(d.push(p),!f)break;""===String(p[0])&&(l.lastIndex=Mt(c,we(l.lastIndex),h))}for(var g,m="",v=0,b=0;b<d.length;b++){p=d[b];for(var y=String(p[0]),w=$t(Yt(be(p.index),c.length),0),S=[],x=1;x<p.length;x++)S.push(void 0===(g=p[x])?g:String(g));var E=p.groups;if(u){var _=[y].concat(S,w,c);void 0!==E&&_.push(E);var k=String(r.apply(void 0,_))}else k=Xt(y,c,w,S,E,r);w>=v&&(m+=c.slice(v,w)+k,v=w+y.length)}return m+c.slice(v)}]});var Kt=[].push,Jt=function(e){var t=1==e,n=2==e,r=3==e,a=4==e,i=6==e,o=7==e,s=5==e||i;return function(l,c,u,f){for(var h,d,p=ze(l),g=_(p),m=function(e,t,n){if(Ot(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,a){return e.call(t,n,r,a)}}return function(){return e.apply(t,arguments)}}(c,u,3),v=we(g.length),b=0,y=f||rt,w=t?y(l,v):n||o?y(l,0):void 0;v>b;b++)if((s||b in g)&&(d=m(h=g[b],b,p),e))if(t)w[b]=d;else if(d)switch(e){case 3:return!0;case 5:return h;case 6:return b;case 2:Kt.call(w,h)}else switch(e){case 4:return!1;case 7:Kt.call(w,h)}return i?-1:r||a?a:w}},Zt={forEach:Jt(0),map:Jt(1),filter:Jt(2),some:Jt(3),every:Jt(4),find:Jt(5),findIndex:Jt(6),filterOut:Jt(7)},Qt=Zt.forEach,en=ut("forEach")?[].forEach:function(e){return Qt(this,e,arguments.length>1?arguments[1]:void 0)};for(var tn in{CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}){var nn=p[tn],rn=nn&&nn.prototype;if(rn&&rn.forEach!==en)try{W(rn,"forEach",en)}catch(e){rn.forEach=en}}var an={};an[tt("toStringTag")]="z";var on="[object z]"===String(an),sn=tt("toStringTag"),ln="Arguments"==x(function(){return arguments}()),cn=on?x:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),sn))?n:ln?x(t):"Object"==(r=x(t))&&"function"==typeof t.callee?"Arguments":r},un=on?{}.toString:function(){return"[object "+cn(this)+"]"};on||he(Object.prototype,"toString",un,{unsafe:!0});var fn=RegExp.prototype,hn=fn.toString,dn=g(function(){return"/a/b"!=hn.call({source:"a",flags:"b"})}),pn="toString"!=hn.name;(dn||pn)&&he(RegExp.prototype,"toString",function(){var e=D(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in fn)?pt.call(e):n)},{unsafe:!0});var gn,mn=Object.keys||function(e){return ke(e,Ae)},vn=m?Object.defineProperties:function(e,t){D(e);for(var n,r=mn(t),a=r.length,i=0;a>i;)j.f(e,n=r[i++],t[n]);return e},bn=ge("document","documentElement"),yn=te("IE_PROTO"),wn=function(){},Sn=function(e){return"<script>"+e+"<\/script>"},xn=function(){try{gn=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;xn=gn?function(e){e.write(Sn("")),e.close();var t=e.parentWindow.Object;return e=null,t}(gn):((t=L("iframe")).style.display="none",bn.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Sn("document.F=Object")),e.close(),e.F);for(var n=Ae.length;n--;)delete xn.prototype[Ae[n]];return xn()};ne[yn]=!0;var En=Object.create||function(e,t){var n;return null!==e?(wn.prototype=D(e),n=new wn,wn.prototype=null,n[yn]=e):n=xn(),void 0===t?n:vn(n,t)},_n=tt("unscopables"),kn=Array.prototype;null==kn[_n]&&j.f(kn,_n,{configurable:!0,value:En(null)});var An,Cn=Zt.find,Tn=!0;"find"in[]&&Array(1).find(function(){Tn=!1}),We({target:"Array",proto:!0,forced:Tn},{find:function(e){return Cn(this,e,arguments.length>1?arguments[1]:void 0)}}),An="find",kn[_n][An]=!0;var Rn=Zt.filter;We({target:"Array",proto:!0,forced:!it("filter")},{filter:function(e){return Rn(this,e,arguments.length>1?arguments[1]:void 0)}});var Nn=Zt.map;We({target:"Array",proto:!0,forced:!it("map")},{map:function(e){return Nn(this,e,arguments.length>1?arguments[1]:void 0)}});var Bn=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};It("search",1,function(e,t,n){return[function(t){var n=k(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var a=D(e),i=String(this),o=a.lastIndex;Bn(o,0)||(a.lastIndex=0);var s=jt(a,i);return Bn(a.lastIndex,o)||(a.lastIndex=o),null===s?-1:s.index}]});var In=n.default.fn.bootstrapTable.utils,Ln={cookieIds:{sortOrder:"bs.table.sortOrder",sortName:"bs.table.sortName",pageNumber:"bs.table.pageNumber",pageList:"bs.table.pageList",columns:"bs.table.columns",searchText:"bs.table.searchText",reorderColumns:"bs.table.reorderColumns",filterControl:"bs.table.filterControl",filterBy:"bs.table.filterBy"},getCurrentHeader:function(e){var t=e.$header;return e.options.height&&(t=e.$tableHeader),t},getCurrentSearchControls:function(e){var t="select, input";return e.options.height&&(t="table select, table input"),t},cookieEnabled:function(){return!!navigator.cookieEnabled},inArrayCookiesEnabled:function(e,t){for(var n=-1,r=0;r<t.length;r++)if(e.toLowerCase()===t[r].toLowerCase()){n=r;break}return n},setCookie:function(e,t,n){if(e.options.cookie&&Ln.cookieEnabled()&&""!==e.options.cookieIdTable&&-1!==Ln.inArrayCookiesEnabled(t,e.options.cookiesEnabled)){switch(t="".concat(e.options.cookieIdTable,".").concat(t),e.options.cookieStorage){case"cookieStorage":document.cookie=[t,"=",encodeURIComponent(n),"; expires=".concat(Ln.calculateExpiration(e.options.cookieExpire)),e.options.cookiePath?"; path=".concat(e.options.cookiePath):"",e.options.cookieDomain?"; domain=".concat(e.options.cookieDomain):"",e.options.cookieSecure?"; secure":"",";SameSite=".concat(e.options.cookieSameSite)].join("");break;case"localStorage":localStorage.setItem(t,n);break;case"sessionStorage":sessionStorage.setItem(t,n);break;case"customStorage":if(!e.options.cookieCustomStorageSet||!e.options.cookieCustomStorageGet||!e.options.cookieCustomStorageDelete)throw new Error("The following options must be set while using the customStorage: cookieCustomStorageSet, cookieCustomStorageGet and cookieCustomStorageDelete");In.calculateObjectValue(e.options,e.options.cookieCustomStorageSet,[t,n],"");break;default:return!1}return!0}},getCookie:function(e,t,n){if(!n)return null;if(-1===Ln.inArrayCookiesEnabled(n,e.options.cookiesEnabled))return null;switch(n="".concat(t,".").concat(n),e.options.cookieStorage){case"cookieStorage":var r="; ".concat(document.cookie).split("; ".concat(n,"="));return 2===r.length?decodeURIComponent(r.pop().split(";").shift()):null;case"localStorage":return localStorage.getItem(n);case"sessionStorage":return sessionStorage.getItem(n);case"customStorage":if(!e.options.cookieCustomStorageSet||!e.options.cookieCustomStorageGet||!e.options.cookieCustomStorageDelete)throw new Error("The following options must be set while using the customStorage: cookieCustomStorageSet, cookieCustomStorageGet and cookieCustomStorageDelete");return In.calculateObjectValue(e.options,e.options.cookieCustomStorageGet,[n],"");default:return null}},deleteCookie:function(e,t,n){switch(n="".concat(t,".").concat(n),e.options.cookieStorage){case"cookieStorage":document.cookie=[encodeURIComponent(n),"=","; expires=Thu, 01 Jan 1970 00:00:00 GMT",e.options.cookiePath?"; path=".concat(e.options.cookiePath):"",e.options.cookieDomain?"; domain=".concat(e.options.cookieDomain):"",";SameSite=".concat(e.options.cookieSameSite)].join("");break;case"localStorage":localStorage.removeItem(n);break;case"sessionStorage":sessionStorage.removeItem(n);break;case"customStorage":if(!e.options.cookieCustomStorageSet||!e.options.cookieCustomStorageGet||!e.options.cookieCustomStorageDelete)throw new Error("The following options must be set while using the customStorage: cookieCustomStorageSet, cookieCustomStorageGet and cookieCustomStorageDelete");In.calculateObjectValue(e.options,e.options.cookieCustomStorageDelete,[n],"");break;default:return!1}return!0},calculateExpiration:function(e){var t=e.replace(/[0-9]*/,"");switch(e=e.replace(/[A-Za-z]{1,2}/,""),t.toLowerCase()){case"s":e=+e;break;case"mi":e*=60;break;case"h":e=60*e*60;break;case"d":e=24*e*60*60;break;case"m":e=30*e*24*60*60;break;case"y":e=365*e*24*60*60;break;default:e=void 0}if(!e)return"";var n=new Date;return n.setTime(n.getTime()+1e3*e),n.toGMTString()},initCookieFilters:function(e){setTimeout(function(){var t=JSON.parse(Ln.getCookie(e,e.options.cookieIdTable,Ln.cookieIds.filterControl));if(!e.options.filterControlValuesLoaded&&t){var r={},a=Ln.getCurrentHeader(e),i=Ln.getCurrentSearchControls(e),o=a;e.options.filterControlContainer&&(o=n.default("".concat(e.options.filterControlContainer))),o.find(i).each(function(){var a=n.default(this).closest("[data-field]").data("field");!function(t,n){n.forEach(function(n){if(""!==n.text&&("radio"!==t.type||t.value.toString()===n.text.toString()))if("INPUT"===t.tagName&&"radio"===t.type&&t.value.toString()===n.text.toString())t.checked=!0,r[n.field]=n.text;else if("INPUT"===t.tagName)t.value=n.text,r[n.field]=n.text;else if("SELECT"===t.tagName&&e.options.filterControlContainer)t.value=n.text,r[n.field]=n.text;else if(""!==n.text&&"SELECT"===t.tagName){for(var a=0;a<t.length;a++){var i=t[a];if(i.value===n.text)return void(i.selected=!0)}var o=document.createElement("option");o.value=n.text,o.text=n.text,t.add(o,t[1]),t.selectedIndex=1,r[n.field]=n.text}})}(this,t.filter(function(e){return e.field===a}))}),e.initColumnSearch(r),e.options.filterControlValuesLoaded=!0,e.initServer()}},250)}};n.default.extend(n.default.fn.bootstrapTable.defaults,{cookie:!1,cookieExpire:"2h",cookiePath:null,cookieDomain:null,cookieSecure:null,cookieSameSite:"Lax",cookieIdTable:"",cookiesEnabled:["bs.table.sortOrder","bs.table.sortName","bs.table.pageNumber","bs.table.pageList","bs.table.columns","bs.table.searchText","bs.table.filterControl","bs.table.filterBy","bs.table.reorderColumns"],cookieStorage:"cookieStorage",cookieCustomStorageGet:null,cookieCustomStorageSet:null,cookieCustomStorageDelete:null,filterControls:[],filterControlValuesLoaded:!1}),n.default.fn.bootstrapTable.methods.push("getCookies"),n.default.fn.bootstrapTable.methods.push("deleteCookie"),n.default.extend(n.default.fn.bootstrapTable.utils,{setCookie:Ln.setCookie,getCookie:Ln.getCookie}),n.default.BootstrapTable=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i(e,t)}(h,n["default"].BootstrapTable);var t,o,c,f=s(h);function h(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,h),f.apply(this,arguments)}return t=h,(o=[{key:"init",value:function(){if(this.options.cookie){var e=Ln.getCookie(this,this.options.cookieIdTable,Ln.cookieIds.filterBy);if("boolean"==typeof e&&!e)throw new Error("The cookie value of filterBy must be a json!");var t={};try{t=JSON.parse(e)}catch(e){throw new Error("Could not parse the json of the filterBy cookie!")}if(this.filterColumns=t||{},this.options.filterControls=[],this.options.filterControlValuesLoaded=!1,this.options.cookiesEnabled="string"==typeof this.options.cookiesEnabled?this.options.cookiesEnabled.replace("[","").replace("]","").replace(/'/g,"").replace(/ /g,"").toLowerCase().split(","):this.options.cookiesEnabled,this.options.filterControl){var n=this;this.$el.on("column-search.bs.table",function(e,t,r){for(var a=!0,i=0;i<n.options.filterControls.length;i++)if(n.options.filterControls[i].field===t){n.options.filterControls[i].text=r,a=!1;break}a&&n.options.filterControls.push({field:t,text:r}),Ln.setCookie(n,Ln.cookieIds.filterControl,JSON.stringify(n.options.filterControls))}).on("created-controls.bs.table",Ln.initCookieFilters(n))}}l(a(h.prototype),"init",this).call(this)}},{key:"initServer",value:function(){var e;if(this.options.cookie&&this.options.filterControl&&!this.options.filterControlValuesLoaded&&JSON.parse(Ln.getCookie(this,this.options.cookieIdTable,Ln.cookieIds.filterControl)))return;for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=l(a(h.prototype),"initServer",this)).call.apply(e,[this].concat(n))}},{key:"initTable",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=l(a(h.prototype),"initTable",this)).call.apply(e,[this].concat(n)),this.initCookie()}},{key:"onSort",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if((e=l(a(h.prototype),"onSort",this)).call.apply(e,[this].concat(n)),void 0===this.options.sortName||void 0===this.options.sortOrder)return Ln.deleteCookie(this,this.options.cookieIdTable,Ln.cookieIds.sortName),void Ln.deleteCookie(this,this.options.cookieIdTable,Ln.cookieIds.sortOrder);Ln.setCookie(this,Ln.cookieIds.sortOrder,this.options.sortOrder),Ln.setCookie(this,Ln.cookieIds.sortName,this.options.sortName)}},{key:"onPageNumber",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=l(a(h.prototype),"onPageNumber",this)).call.apply(e,[this].concat(n)),Ln.setCookie(this,Ln.cookieIds.pageNumber,this.options.pageNumber)}},{key:"onPageListChange",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=l(a(h.prototype),"onPageListChange",this)).call.apply(e,[this].concat(n)),Ln.setCookie(this,Ln.cookieIds.pageList,this.options.pageSize),Ln.setCookie(this,Ln.cookieIds.pageNumber,this.options.pageNumber)}},{key:"onPagePre",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=l(a(h.prototype),"onPagePre",this)).call.apply(e,[this].concat(n)),Ln.setCookie(this,Ln.cookieIds.pageNumber,this.options.pageNumber)}},{key:"onPageNext",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=l(a(h.prototype),"onPageNext",this)).call.apply(e,[this].concat(n)),Ln.setCookie(this,Ln.cookieIds.pageNumber,this.options.pageNumber)}},{key:"_toggleColumn",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=l(a(h.prototype),"_toggleColumn",this)).call.apply(e,[this].concat(n)),Ln.setCookie(this,Ln.cookieIds.columns,JSON.stringify(this.getVisibleColumns().map(function(e){return e.field})))}},{key:"_toggleAllColumns",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=l(a(h.prototype),"_toggleAllColumns",this)).call.apply(e,[this].concat(n)),Ln.setCookie(this,Ln.cookieIds.columns,JSON.stringify(this.getVisibleColumns().map(function(e){return e.field})))}},{key:"selectPage",value:function(e){l(a(h.prototype),"selectPage",this).call(this,e),Ln.setCookie(this,Ln.cookieIds.pageNumber,e)}},{key:"onSearch",value:function(e){l(a(h.prototype),"onSearch",this).call(this,e),this.options.search&&Ln.setCookie(this,Ln.cookieIds.searchText,this.searchText),Ln.setCookie(this,Ln.cookieIds.pageNumber,this.options.pageNumber)}},{key:"initHeader",value:function(){var e;this.options.reorderableColumns&&(this.columnsSortOrder=JSON.parse(Ln.getCookie(this,this.options.cookieIdTable,Ln.cookieIds.reorderColumns)));for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=l(a(h.prototype),"initHeader",this)).call.apply(e,[this].concat(n))}},{key:"persistReorderColumnsState",value:function(e){Ln.setCookie(e,Ln.cookieIds.reorderColumns,JSON.stringify(e.columnsSortOrder))}},{key:"filterBy",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=l(a(h.prototype),"filterBy",this)).call.apply(e,[this].concat(n)),Ln.setCookie(this,Ln.cookieIds.filterBy,JSON.stringify(this.filterColumns))}},{key:"initCookie",value:function(){var e=this;if(this.options.cookie){if(""===this.options.cookieIdTable||""===this.options.cookieExpire||!Ln.cookieEnabled())return console.error("Configuration error. Please review the cookieIdTable and the cookieExpire property. If the properties are correct, then this browser does not support cookies."),void(this.options.cookie=!1);var t=Ln.getCookie(this,this.options.cookieIdTable,Ln.cookieIds.sortOrder),n=Ln.getCookie(this,this.options.cookieIdTable,Ln.cookieIds.sortName),r=Ln.getCookie(this,this.options.cookieIdTable,Ln.cookieIds.pageNumber),a=Ln.getCookie(this,this.options.cookieIdTable,Ln.cookieIds.pageList),i=Ln.getCookie(this,this.options.cookieIdTable,Ln.cookieIds.searchText),o=Ln.getCookie(this,this.options.cookieIdTable,Ln.cookieIds.columns);if("boolean"==typeof o&&!o)throw new Error("The cookie value of filterBy must be a json!");var s={};try{s=JSON.parse(o)}catch(e){throw new Error("Could not parse the json of the columns cookie!",o)}if(this.options.sortOrder=t||this.options.sortOrder,this.options.sortName=n||this.options.sortName,this.options.pageNumber=r?+r:this.options.pageNumber,this.options.pageSize=a?a===this.options.formatAllRows()?a:+a:this.options.pageSize,this.options.searchText=i||"",s){var l,c=u(this.columns);try{var f=function(){var t=l.value;t.visible=s.filter(function(n){return!!e.isSelectionColumn(t)||(n instanceof Object?n.field===t.field:n===t.field)}).length>0||!t.switchable};for(c.s();!(l=c.n()).done;)f()}catch(e){c.e(e)}finally{c.f()}}}}},{key:"getCookies",value:function(){var e=this,t={};return n.default.each(Ln.cookieIds,function(n,r){t[n]=Ln.getCookie(e,e.options.cookieIdTable,r),"columns"===n&&(t[n]=JSON.parse(t[n]))}),t}},{key:"deleteCookie",value:function(e){""!==e&&Ln.cookieEnabled()&&Ln.deleteCookie(this,this.options.cookieIdTable,Ln.cookieIds[e])}}])&&r(t.prototype,o),c&&r(t,c),h}()}),jQuery.base64=function(e){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function n(e){var n,r,a,i,o,s,l,c="",u=0;for(e=function(e){e=e.replace(/\r\n/g,"\n");for(var t="",n=0;n<e.length;n++){var r=e.charCodeAt(n);r<128?t+=String.fromCharCode(r):r>127&&r<2048?(t+=String.fromCharCode(r>>6|192),t+=String.fromCharCode(63&r|128)):(t+=String.fromCharCode(r>>12|224),t+=String.fromCharCode(r>>6&63|128),t+=String.fromCharCode(63&r|128))}return t}(e);u<e.length;)i=(n=e.charCodeAt(u++))>>2,o=(3&n)<<4|(r=e.charCodeAt(u++))>>4,s=(15&r)<<2|(a=e.charCodeAt(u++))>>6,l=63&a,isNaN(r)?s=l=64:isNaN(a)&&(l=64),c=c+t.charAt(i)+t.charAt(o)+t.charAt(s)+t.charAt(l);return c}return{encode:function(e){return n(e)}}}(jQuery),function(e){e.fn.tableExport=function(t){var n,r={csvEnclosure:'"',csvSeparator:",",csvUseBOM:!0,date:{html:"dd/mm/yyyy"},displayTableName:!1,escape:!1,exportHiddenCells:!1,fileName:"tableExport",htmlContent:!1,htmlHyperlink:"content",ignoreColumn:[],ignoreRow:[],jsonScope:"all",jspdf:{orientation:"p",unit:"pt",format:"a4",margins:{left:20,right:10,top:10,bottom:10},onDocCreated:null,autotable:{styles:{cellPadding:2,rowHeight:12,fontSize:8,fillColor:255,textColor:50,fontStyle:"normal",overflow:"ellipsize",halign:"inherit",valign:"middle"},headerStyles:{fillColor:[52,73,94],textColor:255,fontStyle:"bold",halign:"inherit",valign:"middle"},alternateRowStyles:{fillColor:245},tableExport:{doc:null,onAfterAutotable:null,onBeforeAutotable:null,onAutotableText:null,onTable:null,outputImages:!0}}},mso:{fileFormat:"xlshtml",onMsoNumberFormat:null,pageFormat:"a4",pageOrientation:"portrait",rtl:!1,styles:[],worksheetName:"",xslx:{formatId:{date:14,numbers:2}}},numbers:{html:{decimalMark:".",thousandsSeparator:","},output:{decimalMark:".",thousandsSeparator:","}},onAfterSaveToFile:null,onBeforeSaveToFile:null,onCellData:null,onCellHtmlData:null,onCellHtmlHyperlink:null,onIgnoreRow:null,onTableExportBegin:null,onTableExportEnd:null,outputMode:"file",pdfmake:{enabled:!1,docDefinition:{pageSize:"A4",pageOrientation:"portrait",styles:{header:{background:"#34495E",color:"#FFFFFF",bold:!0,alignment:"center",fillColor:"#34495E"},alternateRow:{fillColor:"#f5f5f5"}},defaultStyle:{color:"#505050",fontSize:8,font:"Roboto"}},fonts:{}},preserve:{leadingWS:!1,trailingWS:!1},preventInjection:!0,sql:{tableEnclosure:"`",columnEnclosure:"`"},tbodySelector:"tr",tfootSelector:"tr",theadSelector:"tr",tableName:"Table",type:"csv"},a={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]},i=1.15,o=this,s=null,l=[],c=[],u=0,f="",h=[],d=[],p=[],g=!1;if(e.extend(!0,r,t),"xlsx"===r.type&&(r.mso.fileFormat=r.type,r.type="excel"),void 0!==r.excelFileFormat&&"undefined"===r.mso.fileFormat&&(r.mso.fileFormat=r.excelFileFormat),void 0!==r.excelPageFormat&&"undefined"===r.mso.pageFormat&&(r.mso.pageFormat=r.excelPageFormat),void 0!==r.excelPageOrientation&&"undefined"===r.mso.pageOrientation&&(r.mso.pageOrientation=r.excelPageOrientation),void 0!==r.excelRTL&&"undefined"===r.mso.rtl&&(r.mso.rtl=r.excelRTL),void 0!==r.excelstyles&&"undefined"===r.mso.styles&&(r.mso.styles=r.excelstyles),void 0!==r.onMsoNumberFormat&&"undefined"===r.mso.onMsoNumberFormat&&(r.mso.onMsoNumberFormat=r.onMsoNumberFormat),void 0!==r.worksheetName&&"undefined"===r.mso.worksheetName&&(r.mso.worksheetName=r.worksheetName),r.mso.pageOrientation="l"===r.mso.pageOrientation.substr(0,1)?"landscape":"portrait",r.date.html=r.date.html||"",r.date.html.length){var m=[];m.dd="(3[01]|[12][0-9]|0?[1-9])",m.mm="(1[012]|0?[1-9])",m.yyyy="((?:1[6-9]|2[0-2])\\d{2})",m.yy="(\\d{2})";var v=r.date.html.match(/[^a-zA-Z0-9]/)[0],b=r.date.html.toLowerCase().split(v);r.date.regex="^\\s*",r.date.regex+=m[b[0]],r.date.regex+="(.)",r.date.regex+=m[b[1]],r.date.regex+="\\2",r.date.regex+=m[b[2]],r.date.regex+="\\s*$",r.date.pattern=new RegExp(r.date.regex,"g");var y=b.indexOf("dd")+1;r.date.match_d=y+(y>1?1:0),y=b.indexOf("mm")+1,r.date.match_m=y+(y>1?1:0),y=(b.indexOf("yyyy")>=0?b.indexOf("yyyy"):b.indexOf("yy"))+1,r.date.match_y=y+(y>1?1:0)}if(h=re(o),"function"==typeof r.onTableExportBegin&&r.onTableExportBegin(),"csv"===r.type||"tsv"===r.type||"txt"===r.type){var w="",S=0;d=[],u=0;var x=function(t,n,a){return t.each(function(){f="",oe(this,n,u,a+t.length,function(e,t,n){f+=function(e,t,n){var a="";if(null!==e){var i=me(e,t,n),o=null===i||""===i?"":i.toString();"tsv"===r.type?(i instanceof Date&&i.toLocaleString(),a=fe(o,"\t"," ")):i instanceof Date?a=r.csvEnclosure+i.toLocaleString()+r.csvEnclosure:((a=fe(a=ve(o),r.csvEnclosure,r.csvEnclosure+r.csvEnclosure)).indexOf(r.csvSeparator)>=0||/[\r\n ]/g.test(a))&&(a=r.csvEnclosure+a+r.csvEnclosure)}return a}(e,t,n)+("tsv"===r.type?"\t":r.csvSeparator)}),(f=e.trim(f).substring(0,f.length-1)).length>0&&(w.length>0&&(w+="\n"),w+=f),u++}),t.length};if(S+=x(e(o).find("thead").first().find(r.theadSelector),"th,td",S),ne(e(o),"tbody").each(function(){S+=x(ne(e(this),r.tbodySelector),"td,th",S)}),r.tfootSelector.length&&x(e(o).find("tfoot").first().find(r.tfootSelector),"td,th",S),w+="\n","string"===r.outputMode)return w;if("base64"===r.outputMode)return Be(w);if("window"===r.outputMode)return void Ne(!1,"data:text/"+("csv"===r.type?"csv":"plain")+";charset=utf-8,",w);Re(w,r.fileName+"."+r.type,"text/"+("csv"===r.type?"csv":"plain"),"utf-8","","csv"===r.type&&r.csvUseBOM)}else if("sql"===r.type){u=0,d=[];var E="INSERT INTO "+r.sql.tableEnclosure+r.tableName+r.sql.tableEnclosure+" (";if(l=ee(e(o)),e(l).each(function(){oe(this,"th,td",u,l.length,function(e,t,n){var a=me(e,t,n)||"";a.indexOf(r.sql.columnEnclosure)>-1&&(a=fe(a.toString(),r.sql.columnEnclosure,r.sql.columnEnclosure+r.sql.columnEnclosure)),E+=r.sql.columnEnclosure+a+r.sql.columnEnclosure+","}),u++,E=e.trim(E).substring(0,E.length-1)}),E+=") VALUES ",c=te(e(o)),e(c).each(function(){f="",oe(this,"td,th",u,l.length+c.length,function(e,t,n){var r=me(e,t,n)||"";r.indexOf("'")>-1&&(r=fe(r.toString(),"'","''")),f+="'"+r+"',"}),f.length>3&&(E+="("+f,E=e.trim(E).substring(0,E.length-1),E+="),"),u++}),E=e.trim(E).substring(0,E.length-1),E+=";","string"===r.outputMode)return E;if("base64"===r.outputMode)return Be(E);Re(E,r.fileName+".sql","application/sql","utf-8","",!1)}else if("json"===r.type){var _=[];d=[],l=ee(e(o)),e(l).each(function(){var e=[];oe(this,"th,td",u,l.length,function(t,n,r){e.push(me(t,n,r))}),_.push(e)});var k,A=[];if(c=te(e(o)),e(c).each(function(){var t={},n=0;oe(this,"td,th",u,l.length+c.length,function(e,r,a){_.length?t[_[_.length-1][n]]=me(e,r,a):t[n]=me(e,r,a),n++}),!1===e.isEmptyObject(t)&&A.push(t),u++}),k="head"===r.jsonScope?JSON.stringify(_):"data"===r.jsonScope?JSON.stringify(A):JSON.stringify({header:_,data:A}),"string"===r.outputMode)return k;if("base64"===r.outputMode)return Be(k);Re(k,r.fileName+".json","application/json","utf-8","base64",!1)}else if("xml"===r.type){u=0,d=[];var C='<?xml version="1.0" encoding="utf-8"?>';C+="<tabledata><fields>",l=ee(e(o)),e(l).each(function(){oe(this,"th,td",u,l.length,function(e,t,n){C+="<field>"+me(e,t,n)+"</field>"}),u++}),C+="</fields><data>";var T=1;if(c=te(e(o)),e(c).each(function(){var e=1;f="",oe(this,"td,th",u,l.length+c.length,function(t,n,r){f+="<column-"+e+">"+me(t,n,r)+"</column-"+e+">",e++}),f.length>0&&"<column-1></column-1>"!==f&&(C+='<row id="'+T+'">'+f+"</row>",T++),u++}),C+="</data></tabledata>","string"===r.outputMode)return C;if("base64"===r.outputMode)return Be(C);Re(C,r.fileName+".xml","application/xml","utf-8","base64",!1)}else if("excel"===r.type&&"xmlss"===r.mso.fileFormat){var R=[],N=[];e(o).filter(function(){return ae(e(this))}).each(function(){var t=e(this),n="";function a(t,n,r){var a=[];return e(t).each(function(){var n=0,i=0;f="",oe(this,"td,th",u,r+t.length,function(t,r,o){if(null!==t){var s="",l=me(t,r,o),c="String";if(!1!==jQuery.isNumeric(l))c="Number";else{var h=function(e){e.indexOf("%")>-1?!1!==(e=ge(e.replace(/%/g,"")))&&(e/=100):e=!1;return e}(l);!1!==h&&(l=h,c="Number",s+=' ss:StyleID="pct1"')}"Number"!==c&&(l=l.replace(/\n/g,"<br>"));var d=Se(t),p=xe(t);e.each(a,function(){if(u>=this.s.r&&u<=this.e.r&&i>=this.s.c&&i<=this.e.c)for(var e=0;e<=this.e.c-this.s.c;++e)i++,n++}),(p||d)&&(p=p||1,d=d||1,a.push({s:{r:u,c:i},e:{r:u+p-1,c:i+d-1}})),d>1&&(s+=' ss:MergeAcross="'+(d-1)+'"',i+=d-1),p>1&&(s+=' ss:MergeDown="'+(p-1)+'" ss:StyleID="rsp1"'),n>0&&(s+=' ss:Index="'+(i+1)+'"',n=0),f+="<Cell"+s+'><Data ss:Type="'+c+'">'+e("<div />").text(l).html()+"</Data></Cell>\r",i++}}),f.length>0&&(V+='<Row ss:AutoFitHeight="0">\r'+f+"</Row>\r"),u++}),t.length}"string"==typeof r.mso.worksheetName&&r.mso.worksheetName.length?n=r.mso.worksheetName+" "+(N.length+1):void 0!==r.mso.worksheetName[N.length]&&(n=r.mso.worksheetName[N.length]),n.length||(n=t.find("caption").text()||""),n.length||(n="Table "+(N.length+1)),n=e.trim(n.replace(/[\\\/[\]*:?'"]/g,"").substring(0,31)),N.push(e("<div />").text(n).html()),!1===r.exportHiddenCells&&(p=t.find("tr, th, td").filter(":hidden"),g=p.length>0),u=0,h=re(this),V="<Table>\r";var i=a(ee(t),0,0);a(te(t),0,i),V+="</Table>\r",R.push(V)});for(var B,I,L={},O={},P=0,F=N.length;P<F;P++)I=L[B=N[P]],2===(I=L[B]=null==I?1:I+1)&&(N[O[B]]=N[O[B]].substring(0,29)+"-1"),L[B]>1?N[P]=N[P].substring(0,29)+"-"+L[B]:O[B]=P;for(var D='<?xml version="1.0" encoding="UTF-8"?>\r<?mso-application progid="Excel.Sheet"?>\r<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"\r xmlns:o="urn:schemas-microsoft-com:office:office"\r xmlns:x="urn:schemas-microsoft-com:office:excel"\r xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"\r xmlns:html="http://www.w3.org/TR/REC-html40">\r<DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">\r <Created>'+(new Date).toISOString()+'</Created>\r</DocumentProperties>\r<OfficeDocumentSettings xmlns="urn:schemas-microsoft-com:office:office">\r <AllowPNG/>\r</OfficeDocumentSettings>\r<ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">\r <WindowHeight>9000</WindowHeight>\r <WindowWidth>13860</WindowWidth>\r <WindowTopX>0</WindowTopX>\r <WindowTopY>0</WindowTopY>\r <ProtectStructure>False</ProtectStructure>\r <ProtectWindows>False</ProtectWindows>\r</ExcelWorkbook>\r<Styles>\r <Style ss:ID="Default" ss:Name="Normal">\r <Alignment ss:Vertical="Bottom"/>\r <Borders/>\r <Font/>\r <Interior/>\r <NumberFormat/>\r <Protection/>\r </Style>\r <Style ss:ID="rsp1">\r <Alignment ss:Vertical="Center"/>\r </Style>\r <Style ss:ID="pct1">\r <NumberFormat ss:Format="Percent"/>\r </Style>\r</Styles>\r',M=0;M<R.length;M++)D+='<Worksheet ss:Name="'+N[M]+'" ss:RightToLeft="'+(r.mso.rtl?"1":"0")+'">\r'+R[M],r.mso.rtl?D+='<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">\r<DisplayRightToLeft/>\r</WorksheetOptions>\r':D+='<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel"/>\r',D+="</Worksheet>\r";if(D+="</Workbook>\r","string"===r.outputMode)return D;if("base64"===r.outputMode)return Be(D);Re(D,r.fileName+".xml","application/xml","utf-8","base64",!1)}else if("excel"===r.type&&"xlsx"===r.mso.fileFormat){var j=[],W=XLSX.utils.book_new();e(o).filter(function(){return ae(e(this))}).each(function(){var t=e(this),n=function(t){for(var n,a,i,o,s,l={},c=t.getElementsByTagName("tr"),u={s:{r:0,c:0},e:{r:0,c:0}},f=[],h=0,d=[],p=0,g=0,m=XLSX.SSF.get_table();p<c.length&&g<1e7;++p){var v=c[p],b=!1;if("function"==typeof r.onIgnoreRow&&(b=r.onIgnoreRow(e(v),p)),!0!==b&&(0===r.ignoreRow.length||-1===e.inArray(p,r.ignoreRow)&&-1===e.inArray(p-c.length,r.ignoreRow))&&!1!==ae(e(v))){var y=v.children,w=0;for(n=0;n<y.length;++n)s=y[n],o=+Se(s)||1,w+=o;var S=0;for(n=a=0;n<y.length;++n){s=y[n],o=+Se(s)||1;var x=n+S;if(!ie(e(s),w,x+(x<a?a-x:0))){for(S+=o-1,h=0;h<f.length;++h){var E=f[h];E.s.c==a&&E.s.r<=g&&g<=E.e.r&&(a=E.e.c+1,h=-1)}((i=+xe(s))>0||o>1)&&f.push({s:{r:g,c:a},e:{r:g+(i||1)-1,c:a+o-1}});var _,k={type:""},A=me(s,p,n+S,k),C={t:"s",v:A},T="",R=e(s).attr("data-tableexport-cellformat");if(""!==R){var N=parseInt(e(s).attr("data-tableexport-xlsxformatid")||0);0===N&&"function"==typeof r.mso.xslx.formatId.numbers&&(N=r.mso.xslx.formatId.numbers(e(s),p,n+S)),0===N&&"function"==typeof r.mso.xslx.formatId.date&&(N=r.mso.xslx.formatId.date(e(s),p,n+S)),49===N||"@"===N?T="s":"number"===k.type||N>0&&N<14||N>36&&N<41||48===N?T="n":("date"===k.type||N>13&&N<37||N>44&&N<48||56===N)&&(T="d")}else T="s";if(null!=A)if(0===A.length)C.t="z";else if(0===A.trim().length||"s"===T);else if("function"===k.type)C={f:A};else if("TRUE"===A)C={t:"b",v:!0};else if("FALSE"===A)C={t:"b",v:!1};else if(""===T&&e(s).find("a").length)A="href"!==r.htmlHyperlink?A:"",C={f:'=HYPERLINK("'+e(s).find("a").attr("href")+(A.length?'","'+A:"")+'")'};else if("n"===T||isFinite(Ce(A,r.numbers.output))){var B=Ce(A,r.numbers.output);0===N&&"function"!=typeof r.mso.xslx.formatId.numbers&&(N=r.mso.xslx.formatId.numbers),(isFinite(B)||isFinite(A))&&(C={t:"n",v:isFinite(B)?B:A,z:"string"==typeof N?N:N in m?m[N]:"0.00"})}else!1===(_=pe(A))&&"d"!==T||(0===N&&"function"!=typeof r.mso.xslx.formatId.date&&(N=r.mso.xslx.formatId.date),C={t:"d",v:!1!==_?_:A,z:"string"==typeof N?N:N in m?m[N]:"m/d/yy"});l[ke({c:a,r:g})]=C,u.e.c<a&&(u.e.c=a),a+=o}}++g}}f.length&&(l["!merges"]=f);d.length&&(l["!rows"]=d);u.e.r=g-1,l["!ref"]=Ae(u),g>=1e7&&(l["!fullref"]=Ae((u.e.r=c.length-p+g-1,u)));return l}(this),a="";"string"==typeof r.mso.worksheetName&&r.mso.worksheetName.length?a=r.mso.worksheetName+" "+(j.length+1):void 0!==r.mso.worksheetName[j.length]&&(a=r.mso.worksheetName[j.length]),a.length||(a=t.find("caption").text()||""),a.length||(a="Table "+(j.length+1)),a=e.trim(a.replace(/[\\\/[\]*:?'"]/g,"").substring(0,31)),j.push(a),XLSX.utils.book_append_sheet(W,n,a)}),Re(function(e){for(var t=new ArrayBuffer(e.length),n=new Uint8Array(t),r=0;r!==e.length;++r)n[r]=255&e.charCodeAt(r);return t}(XLSX.write(W,{type:"binary",bookType:r.mso.fileFormat,bookSST:!1})),r.fileName+"."+r.mso.fileFormat,"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","UTF-8","",!1)}else if("excel"===r.type||"xls"===r.type||"word"===r.type||"doc"===r.type){var U="excel"===r.type||"xls"===r.type?"excel":"word",z="excel"===U?"xls":"doc",H='xmlns:x="urn:schemas-microsoft-com:office:'+U+'"',V="",q="";e(o).filter(function(){return ae(e(this))}).each(function(){var t=e(this);""===q&&(q=r.mso.worksheetName||t.find("caption").text()||"Table",q=e.trim(q.replace(/[\\\/[\]*:?'"]/g,"").substring(0,31))),!1===r.exportHiddenCells&&(p=t.find("tr, th, td").filter(":hidden"),g=p.length>0),u=0,d=[],h=re(this),V+="<table><thead>",l=ee(t),e(l).each(function(){var t=e(this);f="",oe(this,"th,td",u,l.length,function(e,n,a){if(null!==e){var i="";if(f+="<th",r.mso.styles.length){var o=document.defaultView.getComputedStyle(e,null),s=document.defaultView.getComputedStyle(t[0],null);for(var l in r.mso.styles){var c=o[r.mso.styles[l]];""===c&&(c=s[r.mso.styles[l]]),""!==c&&"0px none rgb(0, 0, 0)"!==c&&"rgba(0, 0, 0, 0)"!==c&&(i+=""===i?'style="':";",i+=r.mso.styles[l]+":"+c)}}""!==i&&(f+=" "+i+'"');var u=Se(e);u>0&&(f+=' colspan="'+u+'"');var h=xe(e);h>0&&(f+=' rowspan="'+h+'"'),f+=">"+me(e,n,a)+"</th>"}}),f.length>0&&(V+="<tr>"+f+"</tr>"),u++}),V+="</thead><tbody>",c=te(t),e(c).each(function(){var t=e(this);f="",oe(this,"td,th",u,l.length+c.length,function(n,a,i){if(null!==n){var o=me(n,a,i),s="",l=e(n).attr("data-tableexport-msonumberformat");if(void 0===l&&"function"==typeof r.mso.onMsoNumberFormat&&(l=r.mso.onMsoNumberFormat(n,a,i)),void 0!==l&&""!==l&&(s="style=\"mso-number-format:'"+l+"'"),r.mso.styles.length){var c=document.defaultView.getComputedStyle(n,null),u=document.defaultView.getComputedStyle(t[0],null);for(var h in r.mso.styles)""===(l=c[r.mso.styles[h]])&&(l=u[r.mso.styles[h]]),""!==l&&"0px none rgb(0, 0, 0)"!==l&&"rgba(0, 0, 0, 0)"!==l&&(s+=""===s?'style="':";",s+=r.mso.styles[h]+":"+l)}f+="<td",""!==s&&(f+=" "+s+'"');var d=Se(n);d>0&&(f+=' colspan="'+d+'"');var p=xe(n);p>0&&(f+=' rowspan="'+p+'"'),"string"==typeof o&&""!==o&&(o=(o=ve(o)).replace(/\n/g,"<br>")),f+=">"+o+"</td>"}}),f.length>0&&(V+="<tr>"+f+"</tr>"),u++}),r.displayTableName&&(V+="<tr><td></td></tr><tr><td></td></tr><tr><td>"+me(e("<p>"+r.tableName+"</p>"))+"</td></tr>"),V+="</tbody></table>"});var G='<html xmlns:o="urn:schemas-microsoft-com:office:office" '+H+' xmlns="http://www.w3.org/TR/REC-html40">';if(G+='<meta http-equiv="content-type" content="application/vnd.ms-'+U+'; charset=UTF-8">',G+="<head>","excel"===U&&(G+="\x3c!--[if gte mso 9]>",G+="<xml>",G+="<x:ExcelWorkbook>",G+="<x:ExcelWorksheets>",G+="<x:ExcelWorksheet>",G+="<x:Name>",G+=q,G+="</x:Name>",G+="<x:WorksheetOptions>",G+="<x:DisplayGridlines/>",r.mso.rtl&&(G+="<x:DisplayRightToLeft/>"),G+="</x:WorksheetOptions>",G+="</x:ExcelWorksheet>",G+="</x:ExcelWorksheets>",G+="</x:ExcelWorkbook>",G+="</xml>",G+="<![endif]--\x3e"),G+="<style>",G+="@page { size:"+r.mso.pageOrientation+"; mso-page-orientation:"+r.mso.pageOrientation+"; }",G+="@page Section1 {size:"+a[r.mso.pageFormat][0]+"pt "+a[r.mso.pageFormat][1]+"pt",G+="; margin:1.0in 1.25in 1.0in 1.25in;mso-header-margin:.5in;mso-footer-margin:.5in;mso-paper-source:0;}",G+="div.Section1 {page:Section1;}",G+="@page Section2 {size:"+a[r.mso.pageFormat][1]+"pt "+a[r.mso.pageFormat][0]+"pt",G+=";mso-page-orientation:"+r.mso.pageOrientation+";margin:1.25in 1.0in 1.25in 1.0in;mso-header-margin:.5in;mso-footer-margin:.5in;mso-paper-source:0;}",G+="div.Section2 {page:Section2;}",G+="br {mso-data-placement:same-cell;}",G+="</style>",G+="</head>",G+="<body>",G+='<div class="Section'+("landscape"===r.mso.pageOrientation?"2":"1")+'">',G+=V,G+="</div>",G+="</body>",G+="</html>","string"===r.outputMode)return G;if("base64"===r.outputMode)return Be(G);Re(G,r.fileName+"."+z,"application/vnd.ms-"+U,"","base64",!1)}else if("png"===r.type)html2canvas(e(o)[0]).then(function(e){for(var t=e.toDataURL(),n=atob(t.substring(22)),a=new ArrayBuffer(n.length),i=new Uint8Array(a),o=0;o<n.length;o++)i[o]=n.charCodeAt(o);return"string"===r.outputMode?n:"base64"===r.outputMode?Be(t):void("window"!==r.outputMode?Re(a,r.fileName+".png","image/png","","",!1):window.open(t))});else if("pdf"===r.type)if(!0===r.pdfmake.enabled){var X={content:[]};e.extend(!0,X,r.pdfmake.docDefinition),d=[],e(o).filter(function(){return ae(e(this))}).each(function(){var t=e(this),n=[],a=[];u=0;for(var i=function(t,n,r){var i=0;return e(t).each(function(){var e=[];oe(this,n,u,r,function(t,r,a){var i;if(null!=t){var o=Se(t),s=xe(t);i={text:me(t,r,a)||" "},(o>1||s>1)&&(i.colSpan=o||1,i.rowSpan=s||1)}else i={text:" "};n.indexOf("th")>=0&&(i.style="header"),e.push(i)});for(var t=e.length;t<r;t++)e.push("");e.length&&a.push(e),i<e.length&&(i=e.length),u++}),i},o=i(l=ee(t),"th,td",l.length),s=n.length;s<o;s++)n.push("*");o=i(c=te(t),"td",l.length+c.length);for(s=n.length;s<o;s++)n.push("*");X.content.push({table:{headerRows:l.length?l.length:null,widths:n,body:a},layout:{layout:"noBorders",hLineStyle:function(e,t){return 0},vLineWidth:function(e,t){return 0},hLineColor:function(e,t){return e<t.table.headerRows?r.pdfmake.docDefinition.styles.header.background:r.pdfmake.docDefinition.styles.alternateRow.fillColor},vLineColor:function(e,t){return e<t.table.headerRows?r.pdfmake.docDefinition.styles.header.background:r.pdfmake.docDefinition.styles.alternateRow.fillColor},fillColor:function(e,t,n){return e%2==0?r.pdfmake.docDefinition.styles.alternateRow.fillColor:null}},pageBreak:X.content.length?"before":void 0})}),"undefined"!=typeof pdfMake&&void 0!==pdfMake.createPdf&&(pdfMake.fonts={Roboto:{normal:"Roboto-Regular.ttf",bold:"Roboto-Medium.ttf",italics:"Roboto-Italic.ttf",bolditalics:"Roboto-MediumItalic.ttf"}},pdfMake.vfs.hasOwnProperty("Mirza-Regular.ttf")?(r.pdfmake.docDefinition.defaultStyle.font="Mirza",e.extend(!0,pdfMake.fonts,{Mirza:{normal:"Mirza-Regular.ttf",bold:"Mirza-Bold.ttf",italics:"Mirza-Medium.ttf",bolditalics:"Mirza-SemiBold.ttf"}})):pdfMake.vfs.hasOwnProperty("gbsn00lp.ttf")?(r.pdfmake.docDefinition.defaultStyle.font="gbsn00lp",e.extend(!0,pdfMake.fonts,{gbsn00lp:{normal:"gbsn00lp.ttf",bold:"gbsn00lp.ttf",italics:"gbsn00lp.ttf",bolditalics:"gbsn00lp.ttf"}})):pdfMake.vfs.hasOwnProperty("ZCOOLXiaoWei-Regular.ttf")&&(r.pdfmake.docDefinition.defaultStyle.font="ZCOOLXiaoWei",e.extend(!0,pdfMake.fonts,{ZCOOLXiaoWei:{normal:"ZCOOLXiaoWei-Regular.ttf",bold:"ZCOOLXiaoWei-Regular.ttf",italics:"ZCOOLXiaoWei-Regular.ttf",bolditalics:"ZCOOLXiaoWei-Regular.ttf"}})),e.extend(!0,pdfMake.fonts,r.pdfmake.fonts),pdfMake.createPdf(X).getBuffer(function(e){Re(e,r.fileName+".pdf","application/pdf","","",!1)}))}else if(!1===r.jspdf.autotable){var $={dim:{w:_e(e(o).first().get(0),"width","mm"),h:_e(e(o).first().get(0),"height","mm")},pagesplit:!1},Y=new jsPDF(r.jspdf.orientation,r.jspdf.unit,r.jspdf.format);Y.addHTML(e(o).first(),r.jspdf.margins.left,r.jspdf.margins.top,$,function(){le(Y,!1)})}else{var K=r.jspdf.autotable.tableExport;if("string"==typeof r.jspdf.format&&"bestfit"===r.jspdf.format.toLowerCase()){var J="",Z="",Q=0;e(o).each(function(){if(ae(e(this))){var t=_e(e(this).get(0),"width","pt");if(t>Q){for(var n in t>a.a0[0]&&(J="a0",Z="l"),a)a.hasOwnProperty(n)&&a[n][1]>t&&(J=n,Z="l",a[n][0]>t&&(Z="p"));Q=t}}}),r.jspdf.format=""===J?"a4":J,r.jspdf.orientation=""===Z?"w":Z}null==K.doc&&(K.doc=new jsPDF(r.jspdf.orientation,r.jspdf.unit,r.jspdf.format),K.wScaleFactor=1,K.hScaleFactor=1,"function"==typeof r.jspdf.onDocCreated&&r.jspdf.onDocCreated(K.doc)),!0===K.outputImages&&(K.images={}),void 0!==K.images&&(e(o).filter(function(){return ae(e(this))}).each(function(){var t=0;d=[],!1===r.exportHiddenCells&&(p=e(this).find("tr, th, td").filter(":hidden"),g=p.length>0),l=ee(e(this)),c=te(e(this)),e(c).each(function(){oe(this,"td,th",l.length+t,l.length+c.length,function(t){!function t(n,r,a){if(null!=n)if(n.hasAttribute("data-tableexport-canvas")){var i=(new Date).getTime();e(n).attr("data-tableexport-canvas",i),a.images[i]={url:'[data-tableexport-canvas="'+i+'"]',src:null}}else"undefined"!==r&&null!=r&&r.each(function(){if(e(this).is("img")){var r=Te(this.src);a.images[r]={url:this.src,src:this.src}}t(n,e(this).children(),a)})}(t,e(t).children(),K)}),t++})}),l=[],c=[]),function(t,n){var r=0,a=0;function i(){n(r)}function o(t){if(t.url)if(t.src){var n=new Image;r=++a,n.crossOrigin="Anonymous",n.onerror=n.onload=function(){if(n.complete&&(0===n.src.indexOf("data:image/")&&(n.width=t.width||n.width||0,n.height=t.height||n.height||0),n.width+n.height)){var e=document.createElement("canvas"),r=e.getContext("2d");e.width=n.width,e.height=n.height,r.drawImage(n,0,0),t.src=e.toDataURL("image/png")}--a||i()},n.src=t.url}else{var o=e(t.url);o.length&&(r=++a,html2canvas(o[0]).then(function(e){t.src=e.toDataURL("image/png"),--a||i()}))}}if(void 0!==t.images)for(var s in t.images)t.images.hasOwnProperty(s)&&o(t.images[s]);a||i()}(K,function(){e(o).filter(function(){return ae(e(this))}).each(function(){var t;if(u=0,d=[],!1===r.exportHiddenCells&&(p=e(this).find("tr, th, td").filter(":hidden"),g=p.length>0),h=re(this),K.columns=[],K.rows=[],K.teCells={},"function"==typeof K.onTable&&!1===K.onTable(e(this),r))return!0;r.jspdf.autotable.tableExport=null;var n=e.extend(!0,{},r.jspdf.autotable);if(r.jspdf.autotable.tableExport=K,n.margin={},e.extend(!0,n.margin,r.jspdf.margins),n.tableExport=K,"function"!=typeof n.beforePageContent&&(n.beforePageContent=function(t){if(1===t.pageCount){var n=t.table.rows.concat(t.table.headerRow);e.each(n,function(){this.height>0&&(this.height+=(2-i)/2*this.styles.fontSize,t.table.height+=(2-i)/2*this.styles.fontSize)})}}),"function"!=typeof n.createdHeaderCell&&(n.createdHeaderCell=function(t,r){if(t.styles=e.extend({},r.row.styles),void 0!==K.columns[r.column.dataKey]){var a,i=K.columns[r.column.dataKey];if(void 0!==i.rect)t.contentWidth=i.rect.width,void 0!==K.heightRatio&&0!==K.heightRatio||(a=r.row.raw[r.column.dataKey].rowspan?r.row.raw[r.column.dataKey].rect.height/r.row.raw[r.column.dataKey].rowspan:r.row.raw[r.column.dataKey].rect.height,K.heightRatio=t.styles.rowHeight/a),(a=r.row.raw[r.column.dataKey].rect.height*K.heightRatio)>t.styles.rowHeight&&(t.styles.rowHeight=a);t.styles.halign="inherit"===n.headerStyles.halign?"center":n.headerStyles.halign,t.styles.valign=n.headerStyles.valign,void 0!==i.style&&!0!==i.style.hidden&&("inherit"===n.headerStyles.halign&&(t.styles.halign=i.style.align),"inherit"===n.styles.fillColor&&(t.styles.fillColor=i.style.bcolor),"inherit"===n.styles.textColor&&(t.styles.textColor=i.style.color),"inherit"===n.styles.fontStyle&&(t.styles.fontStyle=i.style.fstyle))}}),"function"!=typeof n.createdCell&&(n.createdCell=function(e,t){var r=K.teCells[t.row.index+":"+t.column.dataKey];e.styles.halign="inherit"===n.styles.halign?"center":n.styles.halign,e.styles.valign=n.styles.valign,void 0!==r&&void 0!==r.style&&!0!==r.style.hidden&&("inherit"===n.styles.halign&&(e.styles.halign=r.style.align),"inherit"===n.styles.fillColor&&(e.styles.fillColor=r.style.bcolor),"inherit"===n.styles.textColor&&(e.styles.textColor=r.style.color),"inherit"===n.styles.fontStyle&&(e.styles.fontStyle=r.style.fstyle))}),"function"!=typeof n.drawHeaderCell&&(n.drawHeaderCell=function(e,t){var n=K.columns[t.column.dataKey];return(!0!==n.style.hasOwnProperty("hidden")||!0!==n.style.hidden)&&n.rowIndex>=0&&ce(e,t,n)}),"function"!=typeof n.drawCell&&(n.drawCell=function(t,n){var a=K.teCells[n.row.index+":"+n.column.dataKey];if(!0!==(void 0!==a&&a.isCanvas)){if(ce(t,n,a))if(K.doc.rect(t.x,t.y,t.width,t.height,t.styles.fillStyle),void 0===a||void 0!==a.hasUserDefText&&!0===a.hasUserDefText||void 0===a.elements||!a.elements.length)ue(t,{},K);else{var i=t.height/a.rect.height;i>K.hScaleFactor&&(K.hScaleFactor=i),K.wScaleFactor=t.width/a.rect.width;var o=t.textPos.y;!function t(n,a,i){a.each(function(){if(e(this).is("div")){var a=ye(Ee(this,"background-color"),[255,255,255]),o=ye(Ee(this,"border-top-color"),[0,0,0]),s=_e(this,"border-top-width",r.jspdf.unit),l=this.getBoundingClientRect(),c=this.offsetLeft*i.wScaleFactor,u=this.offsetTop*i.hScaleFactor,f=l.width*i.wScaleFactor,h=l.height*i.hScaleFactor;i.doc.setDrawColor.apply(void 0,o),i.doc.setFillColor.apply(void 0,a),i.doc.setLineWidth(s),i.doc.rect(n.x+c,n.y+u,f,h,s?"FD":"F")}else if(e(this).is("img")){var d=Te(this.src);se(n,this,d,i)}t(n,e(this).children(),i)})}(t,a.elements,K),t.textPos.y=o,ue(t,a.elements,K)}}else{var s=a.elements[0],l=e(s).attr("data-tableexport-canvas"),c=s.getBoundingClientRect();t.width=c.width*K.wScaleFactor,t.height=c.height*K.hScaleFactor,n.row.height=t.height,se(t,s,l,K)}return!1}),K.headerrows=[],l=ee(e(this)),e(l).each(function(){t=0,K.headerrows[u]=[],oe(this,"th,td",u,l.length,function(e,n,r){var a=we(e);a.title=me(e,n,r),a.key=t++,a.rowIndex=u,K.headerrows[u].push(a)}),u++}),u>0)for(var a=u-1;a>=0;)e.each(K.headerrows[a],function(){var e=this;a>0&&null===this.rect&&(e=K.headerrows[a-1][this.key]),null!==e&&e.rowIndex>=0&&(!0!==e.style.hasOwnProperty("hidden")||!0!==e.style.hidden)&&K.columns.push(e)}),a=K.columns.length>0?-1:a-1;var o=0;c=[],c=te(e(this)),e(c).each(function(){var n=[];t=0,oe(this,"td,th",u,l.length+c.length,function(r,a,i){var s;void 0===K.columns[t]&&(s={title:"",key:t,style:{hidden:!0}},K.columns.push(s)),n.push(me(r,a,i)),null!=r?((s=we(r)).isCanvas=r.hasAttribute("data-tableexport-canvas"),s.elements=s.isCanvas?e(r):e(r).children(),void 0!==e(r).data("teUserDefText")&&(s.hasUserDefText=!0),K.teCells[o+":"+t++]=s):((s=e.extend(!0,{},K.teCells[o+":"+(t-1)])).colspan=-1,K.teCells[o+":"+t++]=s)}),n.length&&(K.rows.push(n),o++),u++}),"function"==typeof K.onBeforeAutotable&&K.onBeforeAutotable(e(this),K.columns,K.rows,n),K.doc.autoTable(K.columns,K.rows,n),"function"==typeof K.onAfterAutotable&&K.onAfterAutotable(e(this),n),r.jspdf.autotable.startY=K.doc.autoTableEndPosY()+n.margin.top}),le(K.doc,void 0!==K.images&&!1===jQuery.isEmptyObject(K.images)),void 0!==K.headerrows&&(K.headerrows.length=0),void 0!==K.columns&&(K.columns.length=0),void 0!==K.rows&&(K.rows.length=0),delete K.doc,K.doc=null})}function ee(t){var n=[];return ne(t,"thead").each(function(){n.push.apply(n,ne(e(this),r.theadSelector).toArray())}),n}function te(t){var n=[];return ne(t,"tbody").each(function(){n.push.apply(n,ne(e(this),r.tbodySelector).toArray())}),r.tfootSelector.length&&ne(t,"tfoot").each(function(){n.push.apply(n,ne(e(this),r.tfootSelector).toArray())}),n}function ne(t,n){var r=t[0].tagName,a=t.parents(r).length;return t.find(n).filter(function(){return a===e(this).closest(r).parents(r).length})}function re(t){var n=[],r=0,a=0,i=0;return e(t).find("thead").first().find("th").each(function(t,o){var s=void 0!==e(o).attr("data-field");void 0!==o.parentNode.rowIndex&&a!==o.parentNode.rowIndex&&(a=o.parentNode.rowIndex,i=0,r=0);var l=Se(o);for(r+=l||1;i<r;)n[i]=s?e(o).attr("data-field"):i.toString(),i++}),n}function ae(t){var n=void 0!==t[0].rowIndex,r=!1===n&&void 0!==t[0].cellIndex,a=r||n?function(e){var t=[];g&&(t=p.filter(function(){var t=!1;return this.nodeType===e[0].nodeType&&(void 0!==this.rowIndex&&this.rowIndex===e[0].rowIndex?t=!0:void 0!==this.cellIndex&&this.cellIndex===e[0].cellIndex&&void 0!==this.parentNode.rowIndex&&void 0!==e[0].parentNode.rowIndex&&this.parentNode.rowIndex===e[0].parentNode.rowIndex&&(t=!0)),t}));return!1===g||0===t.length}(t):t.is(":visible"),i=t.attr("data-tableexport-display");return r&&"none"!==i&&"always"!==i&&(n=void 0!==(t=e(t[0].parentNode))[0].rowIndex,i=t.attr("data-tableexport-display")),n&&"none"!==i&&"always"!==i&&(i=t.closest("table").attr("data-tableexport-display")),"none"!==i&&(!0===a||"always"===i)}function ie(t,n,a){var i=!1;return ae(t)?r.ignoreColumn.length>0&&(-1!==e.inArray(a,r.ignoreColumn)||-1!==e.inArray(a-n,r.ignoreColumn)||h.length>a&&void 0!==h[a]&&-1!==e.inArray(h[a],r.ignoreColumn))&&(i=!0):i=!0,i}function oe(t,n,a,i,o){if("function"==typeof o){var s=!1;if("function"==typeof r.onIgnoreRow&&(s=r.onIgnoreRow(e(t),a)),!1===s&&(0===r.ignoreRow.length||-1===e.inArray(a,r.ignoreRow)&&-1===e.inArray(a-i,r.ignoreRow))&&ae(e(t))){var l=ne(e(t),n),c=l.length,u=0,f=0;l.each(function(){var t,n=e(this),r=Se(this),i=xe(this);if(e.each(d,function(){if(a>this.s.r&&a<=this.e.r&&u>=this.s.c&&u<=this.e.c)for(t=0;t<=this.e.c-this.s.c;++t)c++,f++,o(null,a,u++)}),(i||r)&&(i=i||1,r=r||1,d.push({s:{r:a,c:u},e:{r:a+i-1,c:u+r-1}})),!1===ie(n,c,f++)&&o(this,a,u++),r>1)for(t=0;t<r-1;++t)f++,o(null,a,u++)}),e.each(d,function(){if(a>=this.s.r&&a<=this.e.r&&u>=this.s.c&&u<=this.e.c)for(F=0;F<=this.e.c-this.s.c;++F)o(null,a,u++)})}}}function se(e,t,n,r){if(void 0!==r.images){var a=r.images[n];if(void 0!==a){var i=t.getBoundingClientRect(),o=e.width/e.height,s=i.width/i.height,l=e.width,c=e.height,u=0;s<=o?(c=Math.min(e.height,i.height),l=i.width*c/i.height):s>o&&(l=Math.min(e.width,i.width),c=i.height*l/i.width),l*=19.049976/25.4,(c*=19.049976/25.4)<e.height&&(u=(e.height-c)/2);try{r.doc.addImage(a.src,e.textPos.x,e.y+u,l,c)}catch(e){}e.textPos.x+=l}}}function le(e,t){if("string"===r.outputMode)return e.output();if("base64"===r.outputMode)return Be(e.output());if("window"===r.outputMode)return window.URL=window.URL||window.webkitURL,void window.open(window.URL.createObjectURL(e.output("blob")));try{var n=e.output("blob");saveAs(n,r.fileName+".pdf")}catch(n){Ne(r.fileName+".pdf","data:application/pdf"+(t?"":";base64")+",",t?e.output("blob"):e.output())}}function ce(e,t,n){var r=0;if(void 0!==n&&(r=n.colspan),r>=0){for(var a=e.width,o=e.textPos.x,s=t.table.columns.indexOf(t.column),l=1;l<r;l++){a+=t.table.columns[s+l].width}if(r>1&&("right"===e.styles.halign?o=e.textPos.x+a-e.width:"center"===e.styles.halign&&(o=e.textPos.x+(a-e.width)/2)),e.width=a,e.textPos.x=o,void 0!==n&&n.rowspan>1&&(e.height=e.height*n.rowspan),"middle"===e.styles.valign||"bottom"===e.styles.valign){var c=("string"==typeof e.text?e.text.split(/\r\n|\r|\n/g):e.text).length||1;c>2&&(e.textPos.y-=(2-i)/2*t.row.styles.fontSize*(c-2)/3)}return!0}return!1}function ue(t,n,a){if("function"==typeof a.onAutotableText)a.onAutotableText(a.doc,t,n);else{var i=t.textPos.x,o=t.textPos.y,s={halign:t.styles.halign,valign:t.styles.valign};if(n.length){for(var l=n[0];l.previousSibling;)l=l.previousSibling;for(var c=!1,u=!1;l;){var f=l.innerText||l.textContent||"",h=f.length&&" "===f[0]?" ":"",d=f.length>1&&" "===f[f.length-1]?" ":"";!0!==r.preserve.leadingWS&&(f=h+he(f)),!0!==r.preserve.trailingWS&&(f=de(f)+d),e(l).is("br")&&(i=t.textPos.x,o+=a.doc.internal.getFontSize()),e(l).is("b")?c=!0:e(l).is("i")&&(u=!0),(c||u)&&a.doc.setFontType(c&&u?"bolditalic":c?"bold":"italic");var p=a.doc.getStringUnitWidth(f)*a.doc.internal.getFontSize();if(p){if("linebreak"===t.styles.overflow&&i>t.textPos.x&&i+p>t.textPos.x+t.width){if(".,!%*;:=-".indexOf(f.charAt(0))>=0){var g=f.charAt(0);i+(p=a.doc.getStringUnitWidth(g)*a.doc.internal.getFontSize())<=t.textPos.x+t.width&&(a.doc.autoTableText(g,i,o,s),f=f.substring(1,f.length)),p=a.doc.getStringUnitWidth(f)*a.doc.internal.getFontSize()}i=t.textPos.x,o+=a.doc.internal.getFontSize()}if("visible"!==t.styles.overflow)for(;f.length&&i+p>t.textPos.x+t.width;)f=f.substring(0,f.length-1),p=a.doc.getStringUnitWidth(f)*a.doc.internal.getFontSize();a.doc.autoTableText(f,i,o,s),i+=p}(c||u)&&(e(l).is("b")?c=!1:e(l).is("i")&&(u=!1),a.doc.setFontType(c||u?c?"bold":"italic":"normal")),l=l.nextSibling}t.textPos.x=i,t.textPos.y=o}else a.doc.autoTableText(t.text,t.textPos.x,t.textPos.y,s)}}function fe(e,t,n){return null==e?"":e.toString().replace(new RegExp(function(e){return null==e?"":e.toString().replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1")}(t),"g"),n)}function he(e){return null==e?"":e.toString().replace(/^\s+/,"")}function de(e){return null==e?"":e.toString().replace(/\s+$/,"")}function pe(e){if(0===r.date.html.length)return!1;r.date.pattern.lastIndex=0;var t=r.date.pattern.exec(e);if(null==t)return!1;var n=+t[r.date.match_y];if(n<0||n>8099)return!1;var a=1*t[r.date.match_m],i=1*t[r.date.match_d];if(!isFinite(i))return!1;var o=new Date(n,a-1,i,0,0,0);return o.getFullYear()===n&&o.getMonth()===a-1&&o.getDate()===i&&new Date(Date.UTC(n,a-1,i,0,0,0))}function ge(e){return e=e||"0",""!==r.numbers.html.thousandsSeparator&&(e=fe(e,r.numbers.html.thousandsSeparator,"")),"."!==r.numbers.html.decimalMark&&(e=fe(e,r.numbers.html.decimalMark,".")),("number"==typeof e||!1!==jQuery.isNumeric(e))&&e}function me(t,n,a,i){var o="",s="text";if(null!==t){var l,c=e(t);if(c.removeData("teUserDefText"),c[0].hasAttribute("data-tableexport-canvas"))l="";else if(c[0].hasAttribute("data-tableexport-value"))l=(l=c.attr("data-tableexport-value"))?l+"":"",c.data("teUserDefText",1);else if(l=c.html(),"function"==typeof r.onCellHtmlData)l=r.onCellHtmlData(c,n,a,l),c.data("teUserDefText",1);else if(""!==l){var u=e.parseHTML(l),f=0,h=0;l="",e.each(u,function(){if(e(this).is("input"))l+=c.find("input").eq(f++).val();else if(e(this).is("select"))l+=c.find("select option:selected").eq(h++).text();else if(e(this).is("br"))l+="<br>";else if(void 0===e(this).html()?l+=e(this).text():(void 0===jQuery().bootstrapTable||!1===e(this).hasClass("fht-cell")&&!1===e(this).hasClass("filterControl")&&0===c.parents(".detail-view").length)&&(l+=e(this).html()),e(this).is("a")){var t=c.find("a").attr("href")||"";"function"==typeof r.onCellHtmlHyperlink?o+=r.onCellHtmlHyperlink(c,n,a,t,l):"href"===r.htmlHyperlink?o+=t:o+=l,l=""}})}if(l&&""!==l&&!0===r.htmlContent)o=e.trim(l);else if(l&&""!==l){if(""!==c.attr("data-tableexport-cellformat")){var d=l.replace(/\n/g,"\u2028").replace(/(<\s*br([^>]*)>)/gi,""),p=e("<div/>").html(d).contents(),g=!1;if(d="",e.each(p.text().split("\u2028"),function(e,t){e>0&&(d+=" "),!0!==r.preserve.leadingWS&&(t=he(t)),d+=!0!==r.preserve.trailingWS?de(t):t}),e.each(d.split(""),function(e,t){e>0&&(o+="\n"),!0!==r.preserve.leadingWS&&(t=he(t)),!0!==r.preserve.trailingWS&&(t=de(t)),o+=t.replace(/\u00AD/g,"")}),o=o.replace(/\u00A0/g," "),"json"===r.type||"excel"===r.type&&"xmlss"===r.mso.fileFormat||!1===r.numbers.output)!1!==(g=ge(o))&&(s="number",o=Number(g));else if((r.numbers.html.decimalMark!==r.numbers.output.decimalMark||r.numbers.html.thousandsSeparator!==r.numbers.output.thousandsSeparator)&&!1!==(g=ge(o))){var m=(""+g.substr(g<0?1:0)).split(".");1===m.length&&(m[1]="");var v=m[0].length>3?m[0].length%3:0;s="number",o=(g<0?"-":"")+(r.numbers.output.thousandsSeparator?(v?m[0].substr(0,v)+r.numbers.output.thousandsSeparator:"")+m[0].substr(v).replace(/(\d{3})(?=\d)/g,"$1"+r.numbers.output.thousandsSeparator):m[0])+(m[1].length?r.numbers.output.decimalMark+m[1]:"")}}else o=l}!0===r.escape&&(o=escape(o)),"function"==typeof r.onCellData&&(o=r.onCellData(c,n,a,o,s),c.data("teUserDefText",1))}return void 0!==i&&(i.type=s),o}function ve(e){if(e.length>0&&!0===r.preventInjection){if("=+-@".indexOf(e.charAt(0))>=0)return"'"+e}return e}function be(e,t,n){return t+"-"+n.toLowerCase()}function ye(e,t){var n=/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/.exec(e),r=t;return n&&(r=[parseInt(n[1]),parseInt(n[2]),parseInt(n[3])]),r}function we(e){var t=Ee(e,"text-align"),n=Ee(e,"font-weight"),r=Ee(e,"font-style"),a="";"start"===t&&(t="rtl"===Ee(e,"direction")?"right":"left"),n>=700&&(a="bold"),"italic"===r&&(a+=r),""===a&&(a="normal");var i={style:{align:t,bcolor:ye(Ee(e,"background-color"),[255,255,255]),color:ye(Ee(e,"color"),[0,0,0]),fstyle:a},colspan:Se(e),rowspan:xe(e)};if(null!==e){var o=e.getBoundingClientRect();i.rect={width:o.width,height:o.height}}return i}function Se(t){var n=e(t).attr("data-tableexport-colspan");return void 0===n&&e(t).is("[colspan]")&&(n=e(t).attr("colspan")),parseInt(n)||0}function xe(t){var n=e(t).attr("data-tableexport-rowspan");return void 0===n&&e(t).is("[rowspan]")&&(n=e(t).attr("rowspan")),parseInt(n)||0}function Ee(e,t){try{return window.getComputedStyle?(t=t.replace(/([a-z])([A-Z])/,be),window.getComputedStyle(e,null).getPropertyValue(t)):e.currentStyle?e.currentStyle[t]:e.style[t]}catch(e){}return""}function _e(e,t,n){var r=Ee(e,t).match(/\d+/);return null!==r?(r=r[0],function(e,t,n){var r=document.createElement("div");r.style.overflow="hidden",r.style.visibility="hidden",e.appendChild(r),r.style.width=100+n;var a=100/r.offsetWidth;return e.removeChild(r),t*a}(e.parentElement,r,n)):0}function ke(e){return function(e){var t="";for(++e;e;e=Math.floor((e-1)/26))t=String.fromCharCode((e-1)%26+65)+t;return t}(e.c)+(""+(e.r+1))}function Ae(e,t){return void 0===t||"number"==typeof t?Ae(e.s,e.e):("string"!=typeof e&&(e=ke(e)),"string"!=typeof t&&(t=ke(t)),e===t?e:e+":"+t)}function Ce(e,t){var n=Number(e);if(isFinite(n))return n;var r=1,a=e;return""!==t.thousandsSeparator&&(a=a.replace(new RegExp("([\\d])"+t.thousandsSeparator+"([\\d])","g"),"$1$2")),"."!==t.decimalMark&&(a=a.replace(new RegExp("([\\d])"+t.decimalMark+"([\\d])","g"),"$1.$2")),a=a.replace(/[$]/g,"").replace(/[%]/g,function(){return r*=100,""}),isFinite(n=Number(a))?n/r:(a=a.replace(/[(](.*)[)]/,function(e,t){return r=-r,t}),isFinite(n=Number(a))?n/r:n)}function Te(e){var t,n,r=0;if(0===e.length)return r;for(t=0,n=e.length;t<n;t++)r=(r<<5)-r+e.charCodeAt(t),r|=0;return r}function Re(e,t,a,i,o,s){var l=!0;if("function"==typeof r.onBeforeSaveToFile&&"boolean"!=typeof(l=r.onBeforeSaveToFile(e,t,a,i,o))&&(l=!0),l)try{n=new Blob([e],{type:a+";charset="+i}),saveAs(n,t,!1===s),"function"==typeof r.onAfterSaveToFile&&r.onAfterSaveToFile(e,t)}catch(n){Ne(t,"data:"+a+(i.length?";charset="+i:"")+(o.length?";"+o:"")+",",s?"\ufeff"+e:e)}}function Ne(e,t,n){var a=window.navigator.userAgent;if(!1!==e&&window.navigator.msSaveOrOpenBlob)window.navigator.msSaveOrOpenBlob(new Blob([n]),e);else if(!1!==e&&(a.indexOf("MSIE ")>0||a.match(/Trident.*rv\:11\./))){var i=document.createElement("iframe");if(i){switch(document.body.appendChild(i),i.setAttribute("style","display:none"),i.contentDocument.open("txt/plain","replace"),i.contentDocument.write(n),i.contentDocument.close(),i.contentWindow.focus(),e.substr(e.lastIndexOf(".")+1)){case"doc":case"json":case"png":case"pdf":case"xls":case"xlsx":e+=".txt"}i.contentDocument.execCommand("SaveAs",!0,e),document.body.removeChild(i)}}else{var o=document.createElement("a");if(o){var l=null;if(o.style.display="none",!1!==e?o.download=e:o.target="_blank","object"==typeof n){window.URL=window.URL||window.webkitURL;var c=[];c.push(n),l=window.URL.createObjectURL(new Blob(c,{type:t})),o.href=l}else t.toLowerCase().indexOf("base64,")>=0?o.href=t+Be(n):o.href=t+encodeURIComponent(n);document.body.appendChild(o),document.createEvent?(null===s&&(s=document.createEvent("MouseEvents")),s.initEvent("click",!0,!1),o.dispatchEvent(s)):document.createEventObject?o.fireEvent("onclick"):"function"==typeof o.onclick&&o.onclick(),setTimeout(function(){l&&window.URL.revokeObjectURL(l),document.body.removeChild(o),"function"==typeof r.onAfterSaveToFile&&r.onAfterSaveToFile(n,e)},100)}}}function Be(e){var t,n,r,a,i,o,s,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",c="",u=0;for(e=function(e){if("string"==typeof e){e=e.replace(/\x0d\x0a/g,"\n");for(var t="",n=0;n<e.length;n++){var r=e.charCodeAt(n);r<128?t+=String.fromCharCode(r):r>127&&r<2048?(t+=String.fromCharCode(r>>6|192),t+=String.fromCharCode(63&r|128)):(t+=String.fromCharCode(r>>12|224),t+=String.fromCharCode(r>>6&63|128),t+=String.fromCharCode(63&r|128))}return t}return e}(e);u<e.length;)a=(t=e.charCodeAt(u++))>>2,i=(3&t)<<4|(n=e.charCodeAt(u++))>>4,o=(15&n)<<2|(r=e.charCodeAt(u++))>>6,s=63&r,isNaN(n)?o=s=64:isNaN(r)&&(s=64),c=c+l.charAt(a)+l.charAt(i)+l.charAt(o)+l.charAt(s);return c}return"function"==typeof r.onTableExportEnd&&r.onTableExportEnd(),this}}(jQuery),function(e){"function"==typeof define&&define.amd?define(e):e()}(function(){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}!function(t){if("object"!==e(t.console)){t.console={};for(var n,r,a=t.console,i=function(){},o=["memory"],s="assert,clear,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profiles,profileEnd,show,table,time,timeEnd,timeline,timelineEnd,timeStamp,trace,warn".split(",");n=o.pop();)a[n]||(a[n]={});for(;r=s.pop();)a[r]||(a[r]=i)}var l,c,u,f,h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";void 0===t.btoa&&(t.btoa=function(e){var t,n,r,a,i,o=0,s=0,l="",c=[];if(!e)return e;for(;t=(i=e.charCodeAt(o++)<<16|e.charCodeAt(o++)<<8|e.charCodeAt(o++))>>18&63,n=i>>12&63,r=i>>6&63,a=63&i,c[s++]=h.charAt(t)+h.charAt(n)+h.charAt(r)+h.charAt(a),o<e.length;);l=c.join("");var u=e.length%3;return(u?l.slice(0,u-3):l)+"===".slice(u||3)}),void 0===t.atob&&(t.atob=function(e){var t,n,r,a,i,o,s=0,l=0,c=[];if(!e)return e;for(e+="";t=(o=h.indexOf(e.charAt(s++))<<18|h.indexOf(e.charAt(s++))<<12|(a=h.indexOf(e.charAt(s++)))<<6|(i=h.indexOf(e.charAt(s++))))>>16&255,n=o>>8&255,r=255&o,c[l++]=64==a?String.fromCharCode(t):64==i?String.fromCharCode(t,n):String.fromCharCode(t,n,r),s<e.length;);return c.join("")}),Array.prototype.map||(Array.prototype.map=function(e){if(null==this||"function"!=typeof e)throw new TypeError;for(var t=Object(this),n=t.length>>>0,r=new Array(n),a=1<arguments.length?arguments[1]:void 0,i=0;i<n;i++)i in t&&(r[i]=e.call(a,t[i],i,t));return r}),Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),Array.prototype.forEach||(Array.prototype.forEach=function(e,t){if(null==this||"function"!=typeof e)throw new TypeError;for(var n=Object(this),r=n.length>>>0,a=0;a<r;a++)a in n&&e.call(t,n[a],a,n)}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null==this)throw new TypeError('"this" is null or not defined');var t=Object(this),n=t.length>>>0;if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var r=arguments[1],a=0;a<n;){var i=t[a];if(e.call(r,i,a,t))return i;a++}},configurable:!0,writable:!0}),Object.keys||(Object.keys=(l=Object.prototype.hasOwnProperty,c=!{toString:null}.propertyIsEnumerable("toString"),f=(u=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"]).length,function(t){if("object"!==e(t)&&("function"!=typeof t||null===t))throw new TypeError;var n,r,a=[];for(n in t)l.call(t,n)&&a.push(n);if(c)for(r=0;r<f;r++)l.call(t,u[r])&&a.push(u[r]);return a})),"function"!=typeof Object.assign&&(Object.assign=function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");e=Object(e);for(var t=1;t<arguments.length;t++){var n=arguments[t];if(null!=n)for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}),String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")}),String.prototype.trimLeft||(String.prototype.trimLeft=function(){return this.replace(/^\s+/g,"")}),String.prototype.trimRight||(String.prototype.trimRight=function(){return this.replace(/\s+$/g,"")}),Number.isInteger=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e}}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||"undefined"!=typeof global&&global||Function('return typeof this === "object" && this.content')()||Function("return this")());var t,n,r,a,i,o,s,l,c,u,f,h,d,p,g,m,v,b,y,w,S,x,E,_,k,A,C,T,R,N,B,I,L,O,P,F,D,M,j,W,U,z,H,V,q,G,X,$,Y,K,J,Z,Q,ee,te,ne,re,ae,ie,oe,se,le,ce=function(t){function n(n){if("object"!==e(n))throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var r={};this.subscribe=function(e,t,n){if(n=n||!1,"string"!=typeof e||"function"!=typeof t||"boolean"!=typeof n)throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");r.hasOwnProperty(e)||(r[e]={});var a=Math.random().toString(35);return r[e][a]=[t,!!n],a},this.unsubscribe=function(e){for(var t in r)if(r[t][e])return delete r[t][e],0===Object.keys(r[t]).length&&delete r[t],!0;return!1},this.publish=function(e){if(r.hasOwnProperty(e)){var a=Array.prototype.slice.call(arguments,1),i=[];for(var o in r[e]){var s=r[e][o];try{s[0].apply(n,a)}catch(e){t.console&&console.error("jsPDF PubSub Error",e.message,e)}s[1]&&i.push(o)}i.length&&i.forEach(this.unsubscribe)}},this.getTopics=function(){return r}}function r(a,i,o,s){var l={},c=[],u=1;"object"===e(a)&&(a=(l=a).orientation,i=l.unit||i,o=l.format||o,s=l.compress||l.compressPdf||s,c=l.filters||(!0===s?["FlateEncode"]:c),u="number"==typeof l.userUnit?Math.abs(l.userUnit):1),i=i||"mm",a=(""+(a||"P")).toLowerCase();var f=l.putOnlyUsedFonts||!0,h={},d={internal:{},__private__:{}};d.__private__.PubSub=n;var p="1.3",g=d.__private__.getPdfVersion=function(){return p},m=(d.__private__.setPdfVersion=function(e){p=e},{a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]}),v=(d.__private__.getPageFormats=function(){return m},d.__private__.getPageFormat=function(e){return m[e]});"string"==typeof o&&(o=v(o)),o=o||v("a4");var b,y=d.f2=d.__private__.f2=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.f2");return e.toFixed(2)},w=d.__private__.f3=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.f3");return e.toFixed(3)},S="00000000000000000000000000000000",x=d.__private__.getFileId=function(){return S},E=d.__private__.setFileId=function(e){return e=e||"12345678901234567890123456789012".split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),S=e};d.setFileId=function(e){return E(e),this},d.getFileId=function(){return x()};var _=d.__private__.convertDateToPDFDate=function(e){var t=e.getTimezoneOffset(),n=t<0?"+":"-",r=Math.floor(Math.abs(t/60)),a=Math.abs(t%60),i=[n,F(r),"'",F(a),"'"].join("");return["D:",e.getFullYear(),F(e.getMonth()+1),F(e.getDate()),F(e.getHours()),F(e.getMinutes()),F(e.getSeconds()),i].join("")},k=d.__private__.convertPDFDateToDate=function(e){var t=parseInt(e.substr(2,4),10),n=parseInt(e.substr(6,2),10)-1,r=parseInt(e.substr(8,2),10),a=parseInt(e.substr(10,2),10),i=parseInt(e.substr(12,2),10),o=parseInt(e.substr(14,2),10);return parseInt(e.substr(16,2),10),parseInt(e.substr(20,2),10),new Date(t,n,r,a,i,o,0)},A=d.__private__.setCreationDate=function(t){var n;if(void 0===t&&(t=new Date),"object"===e(t)&&"[object Date]"===Object.prototype.toString.call(t))n=_(t);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|\-0[0-9]|\-1[0-1])\'(0[0-9]|[1-5][0-9])\'?$/.test(t))throw new Error("Invalid argument passed to jsPDF.setCreationDate");n=t}return b=n},C=d.__private__.getCreationDate=function(e){var t=b;return"jsDate"===e&&(t=k(b)),t};d.setCreationDate=function(e){return A(e),this},d.getCreationDate=function(e){return C(e)};var T,R,N,B,I,L,O,P,F=d.__private__.padd2=function(e){return("0"+parseInt(e)).slice(-2)},D=!1,M=[],j=[],W=0,U=(d.__private__.setCustomOutputDestination=function(e){R=e},d.__private__.resetCustomOutputDestination=function(e){R=void 0},d.__private__.out=function(e){var t;return e="string"==typeof e?e:e.toString(),(t=void 0===R?D?M[T]:j:R).push(e),D||(W+=e.length+1),t}),z=d.__private__.write=function(e){return U(1===arguments.length?e.toString():Array.prototype.join.call(arguments," "))},H=d.__private__.getArrayBuffer=function(e){for(var t=e.length,n=new ArrayBuffer(t),r=new Uint8Array(n);t--;)r[t]=e.charCodeAt(t);return n},V=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]],q=(d.__private__.getStandardFonts=function(e){return V},l.fontSize||16),G=(d.__private__.setFontSize=d.setFontSize=function(e){return q=e,this},d.__private__.getFontSize=d.getFontSize=function(){return q}),X=l.R2L||!1,$=(d.__private__.setR2L=d.setR2L=function(e){return X=e,this},d.__private__.getR2L=d.getR2L=function(e){return X},d.__private__.setZoomMode=function(e){if(/^\d*\.?\d*\%$/.test(e))N=e;else if(isNaN(e)){if(-1===[void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(e))throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+e+'" is not recognized.');N=e}else N=parseInt(e,10)}),Y=(d.__private__.getZoomMode=function(){return N},d.__private__.setPageMode=function(e){if(-1==[void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(e))throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+e+'" is not recognized.');B=e}),K=(d.__private__.getPageMode=function(){return B},d.__private__.setLayoutMode=function(e){if(-1==[void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(e))throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+e+'" is not recognized.');I=e}),J=(d.__private__.getLayoutMode=function(){return I},d.__private__.setDisplayMode=d.setDisplayMode=function(e,t,n){return $(e),K(t),Y(n),this},{title:"",subject:"",author:"",keywords:"",creator:""}),Z=(d.__private__.getDocumentProperty=function(e){if(-1===Object.keys(J).indexOf(e))throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return J[e]},d.__private__.getDocumentProperties=function(e){return J},d.__private__.setDocumentProperties=d.setProperties=d.setDocumentProperties=function(e){for(var t in J)J.hasOwnProperty(t)&&e[t]&&(J[t]=e[t]);return this},d.__private__.setDocumentProperty=function(e,t){if(-1===Object.keys(J).indexOf(e))throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return J[e]=t},0),Q=[],ee={},te={},ne=0,re=[],ae=[],ie=new n(d),oe=l.hotfixes||[],se=d.__private__.newObject=function(){var e=le();return ce(e,!0),e},le=d.__private__.newObjectDeferred=function(){return Q[++Z]=function(){return W},Z},ce=function(e,t){return t="boolean"==typeof t&&t,Q[e]=W,t&&U(e+" 0 obj"),e},ue=d.__private__.newAdditionalObject=function(){var e={objId:le(),content:""};return ae.push(e),e},fe=le(),he=le(),de=d.__private__.decodeColorString=function(e){var t=e.split(" ");if(2===t.length&&("g"===t[1]||"G"===t[1])){var n=parseFloat(t[0]);t=[n,n,n,"r"]}for(var r="#",a=0;a<3;a++)r+=("0"+Math.floor(255*parseFloat(t[a])).toString(16)).slice(-2);return r},pe=d.__private__.encodeColorString=function(t){var n;"string"==typeof t&&(t={ch1:t});var r=t.ch1,a=t.ch2,i=t.ch3,o=t.ch4,s=(t.precision,"draw"===t.pdfColorType?["G","RG","K"]:["g","rg","k"]);if("string"==typeof r&&"#"!==r.charAt(0)){var l=new RGBColor(r);if(l.ok)r=l.toHex();else if(!/^\d*\.?\d*$/.test(r))throw new Error('Invalid color "'+r+'" passed to jsPDF.encodeColorString.')}if("string"==typeof r&&/^#[0-9A-Fa-f]{3}$/.test(r)&&(r="#"+r[1]+r[1]+r[2]+r[2]+r[3]+r[3]),"string"==typeof r&&/^#[0-9A-Fa-f]{6}$/.test(r)){var c=parseInt(r.substr(1),16);r=c>>16&255,a=c>>8&255,i=255&c}if(void 0===a||void 0===o&&r===a&&a===i)if("string"==typeof r)n=r+" "+s[0];else switch(t.precision){case 2:n=y(r/255)+" "+s[0];break;case 3:default:n=w(r/255)+" "+s[0]}else if(void 0===o||"object"===e(o)){if(o&&!isNaN(o.a)&&0===o.a)return["1.000","1.000","1.000",s[1]].join(" ");if("string"==typeof r)n=[r,a,i,s[1]].join(" ");else switch(t.precision){case 2:n=[y(r/255),y(a/255),y(i/255),s[1]].join(" ");break;default:case 3:n=[w(r/255),w(a/255),w(i/255),s[1]].join(" ")}}else if("string"==typeof r)n=[r,a,i,o,s[2]].join(" ");else switch(t.precision){case 2:n=[y(r/255),y(a/255),y(i/255),y(o/255),s[2]].join(" ");break;case 3:default:n=[w(r/255),w(a/255),w(i/255),w(o/255),s[2]].join(" ")}return n},ge=d.__private__.getFilters=function(){return c},me=d.__private__.putStream=function(e){var t,n=(e=e||{}).data||"",a=e.filters||ge(),i=e.alreadyAppliedFilters||[],o=e.addLength1||!1,s=n.length;!0===a&&(a=["FlateEncode"]);var l=e.additionalKeyValues||[],c=(t=void 0!==r.API.processDataByFilters?r.API.processDataByFilters(n,a):{data:n,reverseChain:[]}).reverseChain+(Array.isArray(i)?i.join(" "):i.toString());0!==t.data.length&&(l.push({key:"Length",value:t.data.length}),!0===o&&l.push({key:"Length1",value:s})),0!=c.length&&(c.split("/").length-1==1?l.push({key:"Filter",value:c}):l.push({key:"Filter",value:"["+c+"]"})),U("<<");for(var u=0;u<l.length;u++)U("/"+l[u].key+" "+l[u].value);U(">>"),0!==t.data.length&&(U("stream"),U(t.data),U("endstream"))},ve=d.__private__.putPage=function(e){e.mediaBox;var t=e.number,n=e.data,r=e.objId,a=e.contentsObjId;ce(r,!0),re[T].mediaBox.topRightX,re[T].mediaBox.bottomLeftX,re[T].mediaBox.topRightY,re[T].mediaBox.bottomLeftY,U("<</Type /Page"),U("/Parent "+e.rootDictionaryObjId+" 0 R"),U("/Resources "+e.resourceDictionaryObjId+" 0 R"),U("/MediaBox ["+parseFloat(y(e.mediaBox.bottomLeftX))+" "+parseFloat(y(e.mediaBox.bottomLeftY))+" "+y(e.mediaBox.topRightX)+" "+y(e.mediaBox.topRightY)+"]"),null!==e.cropBox&&U("/CropBox ["+y(e.cropBox.bottomLeftX)+" "+y(e.cropBox.bottomLeftY)+" "+y(e.cropBox.topRightX)+" "+y(e.cropBox.topRightY)+"]"),null!==e.bleedBox&&U("/BleedBox ["+y(e.bleedBox.bottomLeftX)+" "+y(e.bleedBox.bottomLeftY)+" "+y(e.bleedBox.topRightX)+" "+y(e.bleedBox.topRightY)+"]"),null!==e.trimBox&&U("/TrimBox ["+y(e.trimBox.bottomLeftX)+" "+y(e.trimBox.bottomLeftY)+" "+y(e.trimBox.topRightX)+" "+y(e.trimBox.topRightY)+"]"),null!==e.artBox&&U("/ArtBox ["+y(e.artBox.bottomLeftX)+" "+y(e.artBox.bottomLeftY)+" "+y(e.artBox.topRightX)+" "+y(e.artBox.topRightY)+"]"),"number"==typeof e.userUnit&&1!==e.userUnit&&U("/UserUnit "+e.userUnit),ie.publish("putPage",{objId:r,pageContext:re[t],pageNumber:t,page:n}),U("/Contents "+a+" 0 R"),U(">>"),U("endobj");var i=n.join("\n");return ce(a,!0),me({data:i,filters:ge()}),U("endobj"),r},be=d.__private__.putPages=function(){var e,t,n=[];for(e=1;e<=ne;e++)re[e].objId=le(),re[e].contentsObjId=le();for(e=1;e<=ne;e++)n.push(ve({number:e,data:M[e],objId:re[e].objId,contentsObjId:re[e].contentsObjId,mediaBox:re[e].mediaBox,cropBox:re[e].cropBox,bleedBox:re[e].bleedBox,trimBox:re[e].trimBox,artBox:re[e].artBox,userUnit:re[e].userUnit,rootDictionaryObjId:fe,resourceDictionaryObjId:he}));ce(fe,!0),U("<</Type /Pages");var r="/Kids [";for(t=0;t<ne;t++)r+=n[t]+" 0 R ";U(r+"]"),U("/Count "+ne),U(">>"),U("endobj"),ie.publish("postPutPages")},ye=function(e,t,n){te.hasOwnProperty(t)||(te[t]={}),te[t][n]=e},we=function(e,t,n,r,a){a=a||!1;var i="F"+(Object.keys(ee).length+1).toString(10),o={id:i,postScriptName:e,fontName:t,fontStyle:n,encoding:r,isStandardFont:a,metadata:{}};return ie.publish("addFont",{font:o,instance:this}),void 0!==i&&(ee[i]=o,ye(i,t,n)),i},Se=d.__private__.pdfEscape=d.pdfEscape=function(e,t){return function(e,t){var n,r,a,i,o,s,l,c,u;if(a=(t=t||{}).sourceEncoding||"Unicode",o=t.outputEncoding,(t.autoencode||o)&&ee[L].metadata&&ee[L].metadata[a]&&ee[L].metadata[a].encoding&&(i=ee[L].metadata[a].encoding,!o&&ee[L].encoding&&(o=ee[L].encoding),!o&&i.codePages&&(o=i.codePages[0]),"string"==typeof o&&(o=i[o]),o)){for(l=!1,s=[],n=0,r=e.length;n<r;n++)(c=o[e.charCodeAt(n)])?s.push(String.fromCharCode(c)):s.push(e[n]),s[n].charCodeAt(0)>>8&&(l=!0);e=s.join("")}for(n=e.length;void 0===l&&0!==n;)e.charCodeAt(n-1)>>8&&(l=!0),n--;if(!l)return e;for(s=t.noBOM?[]:[254,255],n=0,r=e.length;n<r;n++){if((u=(c=e.charCodeAt(n))>>8)>>8)throw new Error("Character at position "+n+" of string '"+e+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");s.push(u),s.push(c-(u<<8))}return String.fromCharCode.apply(void 0,s)}(e,t).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},xe=d.__private__.beginPage=function(e,t){var n,r="string"==typeof t&&t.toLowerCase();if("string"==typeof e&&(n=v(e.toLowerCase()))&&(e=n[0],t=n[1]),Array.isArray(e)&&(t=e[1],e=e[0]),(isNaN(e)||isNaN(t))&&(e=o[0],t=o[1]),r){switch(r.substr(0,1)){case"l":e<t&&(r="s");break;case"p":t<e&&(r="s")}"s"===r&&(n=e,e=t,t=n)}(14400<e||14400<t)&&(console.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),e=Math.min(14400,e),t=Math.min(14400,t)),o=[e,t],D=!0,M[++ne]=[],re[ne]={objId:0,contentsObjId:0,userUnit:Number(u),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(e),topRightY:Number(t)}},_e(ne)},Ee=function(){xe.apply(this,arguments),Ve(He),U(Ze),0!==at&&U(at+" J"),0!==ot&&U(ot+" j"),ie.publish("addPage",{pageNumber:ne})},_e=function(e){0<e&&e<=ne&&(T=e)},Ae=d.__private__.getNumberOfPages=d.getNumberOfPages=function(){return M.length-1},Ce=function(e,t,n){var r,a=void 0;return n=n||{},e=void 0!==e?e:ee[L].fontName,t=void 0!==t?t:ee[L].fontStyle,r=e.toLowerCase(),void 0!==te[r]&&void 0!==te[r][t]?a=te[r][t]:void 0!==te[e]&&void 0!==te[e][t]?a=te[e][t]:!1===n.disableWarning&&console.warn("Unable to look up font label for font '"+e+"', '"+t+"'. Refer to getFontList() for available fonts."),a||n.noFallback||null==(a=te.times[t])&&(a=te.times.normal),a},Te=d.__private__.putInfo=function(){for(var e in se(),U("<<"),U("/Producer (jsPDF "+r.version+")"),J)J.hasOwnProperty(e)&&J[e]&&U("/"+e.substr(0,1).toUpperCase()+e.substr(1)+" ("+Se(J[e])+")");U("/CreationDate ("+b+")"),U(">>"),U("endobj")},Re=d.__private__.putCatalog=function(e){var t=(e=e||{}).rootDictionaryObjId||fe;switch(se(),U("<<"),U("/Type /Catalog"),U("/Pages "+t+" 0 R"),N||(N="fullwidth"),N){case"fullwidth":U("/OpenAction [3 0 R /FitH null]");break;case"fullheight":U("/OpenAction [3 0 R /FitV null]");break;case"fullpage":U("/OpenAction [3 0 R /Fit]");break;case"original":U("/OpenAction [3 0 R /XYZ null null 1]");break;default:var n=""+N;"%"===n.substr(n.length-1)&&(N=parseInt(N)/100),"number"==typeof N&&U("/OpenAction [3 0 R /XYZ null null "+y(N)+"]")}switch(I||(I="continuous"),I){case"continuous":U("/PageLayout /OneColumn");break;case"single":U("/PageLayout /SinglePage");break;case"two":case"twoleft":U("/PageLayout /TwoColumnLeft");break;case"tworight":U("/PageLayout /TwoColumnRight")}B&&U("/PageMode /"+B),ie.publish("putCatalog"),U(">>"),U("endobj")},Ne=d.__private__.putTrailer=function(){U("trailer"),U("<<"),U("/Size "+(Z+1)),U("/Root "+Z+" 0 R"),U("/Info "+(Z-1)+" 0 R"),U("/ID [ <"+S+"> <"+S+"> ]"),U(">>")},Be=d.__private__.putHeader=function(){U("%PDF-"+p),U("%ºß¬à")},Ie=d.__private__.putXRef=function(){var e=1,t="0000000000";for(U("xref"),U("0 "+(Z+1)),U("0000000000 65535 f "),e=1;e<=Z;e++)"function"==typeof Q[e]?U((t+Q[e]()).slice(-10)+" 00000 n "):void 0!==Q[e]?U((t+Q[e]).slice(-10)+" 00000 n "):U("0000000000 00000 n ")},Le=d.__private__.buildDocument=function(){D=!1,W=Z=0,j=[],Q=[],ae=[],fe=le(),he=le(),ie.publish("buildDocument"),Be(),be(),function(){ie.publish("putAdditionalObjects");for(var e=0;e<ae.length;e++){var t=ae[e];ce(t.objId,!0),U(t.content),U("endobj")}ie.publish("postPutAdditionalObjects")}(),function(){for(var e in ee)ee.hasOwnProperty(e)&&(!1===f||!0===f&&h.hasOwnProperty(e))&&(t=ee[e],ie.publish("putFont",{font:t,out:U,newObject:se,putStream:me}),!0!==t.isAlreadyPutted&&(t.objectNumber=se(),U("<<"),U("/Type /Font"),U("/BaseFont /"+t.postScriptName),U("/Subtype /Type1"),"string"==typeof t.encoding&&U("/Encoding /"+t.encoding),U("/FirstChar 32"),U("/LastChar 255"),U(">>"),U("endobj")));var t}(),ie.publish("putResources"),ce(he,!0),U("<<"),function(){for(var e in U("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),U("/Font <<"),ee)ee.hasOwnProperty(e)&&(!1===f||!0===f&&h.hasOwnProperty(e))&&U("/"+e+" "+ee[e].objectNumber+" 0 R");U(">>"),U("/XObject <<"),ie.publish("putXobjectDict"),U(">>")}(),U(">>"),U("endobj"),ie.publish("postPutResources"),Te(),Re();var e=W;return Ie(),Ne(),U("startxref"),U(""+e),U("%%EOF"),D=!0,j.join("\n")},Oe=d.__private__.getBlob=function(e){return new Blob([H(e)],{type:"application/pdf"})},Pe=d.output=d.__private__.output=((P=function(e,n){n=n||{};var r=Le();switch("string"==typeof n?n={filename:n}:n.filename=n.filename||"generated.pdf",e){case void 0:return r;case"save":d.save(n.filename);break;case"arraybuffer":return H(r);case"blob":return Oe(r);case"bloburi":case"bloburl":if(void 0!==t.URL&&"function"==typeof t.URL.createObjectURL)return t.URL&&t.URL.createObjectURL(Oe(r))||void 0;console.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":return"data:application/pdf;filename="+n.filename+";base64,"+btoa(r);case"dataurlnewwindow":var a='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring")+'"></iframe></body></html>',i=t.open();if(null!==i&&i.document.write(a),i||"undefined"==typeof safari)return i;case"datauri":case"dataurl":return t.document.location.href="data:application/pdf;filename="+n.filename+";base64,"+btoa(r);default:return null}}).foo=function(){try{return P.apply(this,arguments)}catch(r){var e=r.stack||"";~e.indexOf(" at ")&&(e=e.split(" at ")[1]);var n="Error in function "+e.split("\n")[0].split("<")[0]+": "+r.message;if(!t.console)throw new Error(n);t.console.error(n,r),t.alert&&alert(n)}},(P.foo.bar=P).foo),Fe=function(e){return!0===Array.isArray(oe)&&-1<oe.indexOf(e)};switch(i){case"pt":O=1;break;case"mm":O=72/25.4;break;case"cm":O=72/2.54;break;case"in":O=72;break;case"px":O=1==Fe("px_scaling")?.75:96/72;break;case"pc":case"em":O=12;break;case"ex":O=6;break;default:throw new Error("Invalid unit: "+i)}A(),E();var De=d.__private__.getPageInfo=function(e){if(isNaN(e)||e%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:re[e].objId,pageNumber:e,pageContext:re[e]}},Me=d.__private__.getPageInfoByObjId=function(e){for(var t in re)if(re[t].objId===e)break;if(isNaN(e)||e%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");return De(t)},je=d.__private__.getCurrentPageInfo=function(){return{objId:re[T].objId,pageNumber:T,pageContext:re[T]}};d.addPage=function(){return Ee.apply(this,arguments),this},d.setPage=function(){return _e.apply(this,arguments),this},d.insertPage=function(e){return this.addPage(),this.movePage(T,e),this},d.movePage=function(e,t){if(t<e){for(var n=M[e],r=re[e],a=e;t<a;a--)M[a]=M[a-1],re[a]=re[a-1];M[t]=n,re[t]=r,this.setPage(t)}else if(e<t){for(n=M[e],r=re[e],a=e;a<t;a++)M[a]=M[a+1],re[a]=re[a+1];M[t]=n,re[t]=r,this.setPage(t)}return this},d.deletePage=function(){return function(e){0<e&&e<=ne&&(M.splice(e,1),--ne<T&&(T=ne),this.setPage(T))}.apply(this,arguments),this},d.__private__.text=d.text=function(t,n,r,a){var i;"number"!=typeof t||"number"!=typeof n||"string"!=typeof r&&!Array.isArray(r)||(i=r,r=n,n=t,t=i);var o=arguments[3],s=arguments[4],l=arguments[5];if("object"===e(o)&&null!==o||("string"==typeof s&&(l=s,s=null),"string"==typeof o&&(l=o,o=null),"number"==typeof o&&(s=o,o=null),a={flags:o,angle:s,align:l}),(o=o||{}).noBOM=o.noBOM||!0,o.autoencode=o.autoencode||!0,isNaN(n)||isNaN(r)||null==t)throw new Error("Invalid arguments passed to jsPDF.text");if(0===t.length)return d;var c,u="",f="number"==typeof a.lineHeightFactor?a.lineHeightFactor:ze,d=a.scope||this;function p(e){for(var t,n=e.concat(),r=[],a=n.length;a--;)"string"==typeof(t=n.shift())?r.push(t):Array.isArray(e)&&1===t.length?r.push(t[0]):r.push([t[0],t[1],t[2]]);return r}function g(e,t){var n;if("string"==typeof e)n=t(e)[0];else if(Array.isArray(e)){for(var r,a,i=e.concat(),o=[],s=i.length;s--;)"string"==typeof(r=i.shift())?o.push(t(r)[0]):Array.isArray(r)&&"string"===r[0]&&(a=t(r[0],r[1],r[2]),o.push([a[0],a[1],a[2]]));n=o}return n}var m=!1,v=!0;if("string"==typeof t)m=!0;else if(Array.isArray(t)){for(var b,S=t.concat(),x=[],E=S.length;E--;)("string"!=typeof(b=S.shift())||Array.isArray(b)&&"string"!=typeof b[0])&&(v=!1);m=v}if(!1===m)throw new Error('Type of text must be string or Array. "'+t+'" is not recognized.');var _=ee[L].encoding;"WinAnsiEncoding"!==_&&"StandardEncoding"!==_||(t=g(t,function(e,t,n){return[(r=e,r=r.split("\t").join(Array(a.TabLen||9).join(" ")),Se(r,o)),t,n];var r})),"string"==typeof t&&(t=t.match(/[\r?\n]/)?t.split(/\r\n|\r|\n/g):[t]);var k=q/d.internal.scaleFactor,A=k*(ze-1);switch(a.baseline){case"bottom":r-=A;break;case"top":r+=k-A;break;case"hanging":r+=k-2*A;break;case"middle":r+=k/2-A}0<(z=a.maxWidth||0)&&("string"==typeof t?t=d.splitTextToSize(t,z):"[object Array]"===Object.prototype.toString.call(t)&&(t=d.splitTextToSize(t.join(" "),z)));var C={text:t,x:n,y:r,options:a,mutex:{pdfEscape:Se,activeFontKey:L,fonts:ee,activeFontSize:q}};ie.publish("preProcessText",C),t=C.text,s=(a=C.options).angle;var T=d.internal.scaleFactor,R=[];if(s){s*=Math.PI/180;var N=Math.cos(s),B=Math.sin(s);R=[y(N),y(B),y(-1*B),y(N)]}void 0!==(W=a.charSpace)&&(u+=w(W*T)+" Tc\n"),a.lang;var I=-1,O=void 0!==a.renderingMode?a.renderingMode:a.stroke,P=d.internal.getCurrentPageInfo().pageContext;switch(O){case 0:case!1:case"fill":I=0;break;case 1:case!0:case"stroke":I=1;break;case 2:case"fillThenStroke":I=2;break;case 3:case"invisible":I=3;break;case 4:case"fillAndAddForClipping":I=4;break;case 5:case"strokeAndAddPathForClipping":I=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":I=6;break;case 7:case"addToPathForClipping":I=7}var F=void 0!==P.usedRenderingMode?P.usedRenderingMode:-1;-1!==I?u+=I+" Tr\n":-1!==F&&(u+="0 Tr\n"),-1!==I&&(P.usedRenderingMode=I),l=a.align||"left";var D=q*f,M=d.internal.pageSize.getWidth(),j=(T=d.internal.scaleFactor,ee[L]),W=a.charSpace||nt,z=a.maxWidth||0,H=(o={},[]);if("[object Array]"===Object.prototype.toString.call(t)){var V,G;x=p(t),"left"!==l&&(G=x.map(function(e){return d.getStringUnitWidth(e,{font:j,charSpace:W,fontSize:q})*q/T}));Math.max.apply(Math,G);var $,Y=0;if("right"===l){n-=G[0],t=[];var K=0;for(E=x.length;K<E;K++)G[K],V=0===K?($=$e(n),Ye(r)):($=(Y-G[K])*T,-D),t.push([x[K],$,V]),Y=G[K]}else if("center"===l)for(n-=G[0]/2,t=[],K=0,E=x.length;K<E;K++)G[K],V=0===K?($=$e(n),Ye(r)):($=(Y-G[K])/2*T,-D),t.push([x[K],$,V]),Y=G[K];else if("left"===l)for(t=[],K=0,E=x.length;K<E;K++)V=0===K?Ye(r):-D,$=0===K?$e(n):0,t.push(x[K]);else{if("justify"!==l)throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(t=[],z=0!==z?z:M,K=0,E=x.length;K<E;K++)V=0===K?Ye(r):-D,$=0===K?$e(n):0,K<E-1&&H.push(((z-G[K])/(x[K].split(" ").length-1)*T).toFixed(2)),t.push([x[K],$,V])}}!0===("boolean"==typeof a.R2L?a.R2L:X)&&(t=g(t,function(e,t,n){return[e.split("").reverse().join(""),t,n]})),C={text:t,x:n,y:r,options:a,mutex:{pdfEscape:Se,activeFontKey:L,fonts:ee,activeFontSize:q}},ie.publish("postProcessText",C),t=C.text,c=C.mutex.isHex,x=p(t),t=[];var J,Z,Q,te=0,ne=(E=x.length,"");for(K=0;K<E;K++)ne="",Array.isArray(x[K])?(J=parseFloat(x[K][1]),Z=parseFloat(x[K][2]),Q=(c?"<":"(")+x[K][0]+(c?">":")"),te=1):(J=$e(n),Z=Ye(r),Q=(c?"<":"(")+x[K]+(c?">":")")),void 0!==H&&void 0!==H[K]&&(ne=H[K]+" Tw\n"),0!==R.length&&0===K?t.push(ne+R.join(" ")+" "+J.toFixed(2)+" "+Z.toFixed(2)+" Tm\n"+Q):1===te||0===te&&0===K?t.push(ne+J.toFixed(2)+" "+Z.toFixed(2)+" Td\n"+Q):t.push(ne+Q);t=0===te?t.join(" Tj\nT* "):t.join(" Tj\n"),t+=" Tj\n";var re="BT\n/"+L+" "+q+" Tf\n"+(q*f).toFixed(2)+" TL\n"+et+"\n";return re+=u,re+=t,U(re+="ET"),h[L]=!0,d},d.__private__.lstext=d.lstext=function(e,t,n,r){return console.warn("jsPDF.lstext is deprecated"),this.text(e,t,n,{charSpace:r})},d.__private__.clip=d.clip=function(e){U("evenodd"===e?"W*":"W"),U("n")},d.__private__.clip_fixed=d.clip_fixed=function(e){console.log("clip_fixed is deprecated"),d.clip(e)};var We=d.__private__.isValidStyle=function(e){var t=!1;return-1!==[void 0,null,"S","F","DF","FD","f","f*","B","B*"].indexOf(e)&&(t=!0),t},Ue=d.__private__.getStyle=function(e){var t="S";return"F"===e?t="f":"FD"===e||"DF"===e?t="B":"f"!==e&&"f*"!==e&&"B"!==e&&"B*"!==e||(t=e),t};d.__private__.line=d.line=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw new Error("Invalid arguments passed to jsPDF.line");return this.lines([[n-e,r-t]],e,t)},d.__private__.lines=d.lines=function(e,t,n,r,a,i){var o,s,l,c,u,f,h,d,p,g,m,v;if("number"==typeof e&&(v=n,n=t,t=e,e=v),r=r||[1,1],i=i||!1,isNaN(t)||isNaN(n)||!Array.isArray(e)||!Array.isArray(r)||!We(a)||"boolean"!=typeof i)throw new Error("Invalid arguments passed to jsPDF.lines");for(U(w($e(t))+" "+w(Ye(n))+" m "),o=r[0],s=r[1],c=e.length,g=t,m=n,l=0;l<c;l++)2===(u=e[l]).length?(g=u[0]*o+g,m=u[1]*s+m,U(w($e(g))+" "+w(Ye(m))+" l")):(f=u[0]*o+g,h=u[1]*s+m,d=u[2]*o+g,p=u[3]*s+m,g=u[4]*o+g,m=u[5]*s+m,U(w($e(f))+" "+w(Ye(h))+" "+w($e(d))+" "+w(Ye(p))+" "+w($e(g))+" "+w(Ye(m))+" c"));return i&&U(" h"),null!==a&&U(Ue(a)),this},d.__private__.rect=d.rect=function(e,t,n,r,a){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||!We(a))throw new Error("Invalid arguments passed to jsPDF.rect");return U([y($e(e)),y(Ye(t)),y(n*O),y(-r*O),"re"].join(" ")),null!==a&&U(Ue(a)),this},d.__private__.triangle=d.triangle=function(e,t,n,r,a,i,o){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||isNaN(a)||isNaN(i)||!We(o))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[n-e,r-t],[a-n,i-r],[e-a,t-i]],e,t,[1,1],o,!0),this},d.__private__.roundedRect=d.roundedRect=function(e,t,n,r,a,i,o){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||isNaN(a)||isNaN(i)||!We(o))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var s=4/3*(Math.SQRT2-1);return this.lines([[n-2*a,0],[a*s,0,a,i-i*s,a,i],[0,r-2*i],[0,i*s,-a*s,i,-a,i],[2*a-n,0],[-a*s,0,-a,-i*s,-a,-i],[0,2*i-r],[0,-i*s,a*s,-i,a,-i]],e+a,t,[1,1],o),this},d.__private__.ellipse=d.ellipse=function(e,t,n,r,a){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||!We(a))throw new Error("Invalid arguments passed to jsPDF.ellipse");var i=4/3*(Math.SQRT2-1)*n,o=4/3*(Math.SQRT2-1)*r;return U([y($e(e+n)),y(Ye(t)),"m",y($e(e+n)),y(Ye(t-o)),y($e(e+i)),y(Ye(t-r)),y($e(e)),y(Ye(t-r)),"c"].join(" ")),U([y($e(e-i)),y(Ye(t-r)),y($e(e-n)),y(Ye(t-o)),y($e(e-n)),y(Ye(t)),"c"].join(" ")),U([y($e(e-n)),y(Ye(t+o)),y($e(e-i)),y(Ye(t+r)),y($e(e)),y(Ye(t+r)),"c"].join(" ")),U([y($e(e+i)),y(Ye(t+r)),y($e(e+n)),y(Ye(t+o)),y($e(e+n)),y(Ye(t)),"c"].join(" ")),null!==a&&U(Ue(a)),this},d.__private__.circle=d.circle=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||!We(r))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(e,t,n,n,r)},d.setFont=function(e,t){return L=Ce(e,t,{disableWarning:!1}),this},d.setFontStyle=d.setFontType=function(e){return L=Ce(void 0,e),this},d.__private__.getFontList=d.getFontList=function(){var e,t,n,r={};for(e in te)if(te.hasOwnProperty(e))for(t in r[e]=n=[],te[e])te[e].hasOwnProperty(t)&&n.push(t);return r},d.addFont=function(e,t,n,r){we.call(this,e,t,n,r=r||"Identity-H")};var ze,He=l.lineWidth||.200025,Ve=d.__private__.setLineWidth=d.setLineWidth=function(e){return U((e*O).toFixed(2)+" w"),this},qe=(d.__private__.setLineDash=r.API.setLineDash=function(e,t){if(e=e||[],t=t||0,isNaN(t)||!Array.isArray(e))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return e=e.map(function(e){return(e*O).toFixed(3)}).join(" "),t=parseFloat((t*O).toFixed(3)),U("["+e+"] "+t+" d"),this},d.__private__.getLineHeight=d.getLineHeight=function(){return q*ze}),Ge=(qe=d.__private__.getLineHeight=d.getLineHeight=function(){return q*ze},d.__private__.setLineHeightFactor=d.setLineHeightFactor=function(e){return"number"==typeof(e=e||1.15)&&(ze=e),this}),Xe=d.__private__.getLineHeightFactor=d.getLineHeightFactor=function(){return ze};Ge(l.lineHeight);var $e=d.__private__.getHorizontalCoordinate=function(e){return e*O},Ye=d.__private__.getVerticalCoordinate=function(e){return re[T].mediaBox.topRightY-re[T].mediaBox.bottomLeftY-e*O},Ke=d.__private__.getHorizontalCoordinateString=function(e){return y(e*O)},Je=d.__private__.getVerticalCoordinateString=function(e){return y(re[T].mediaBox.topRightY-re[T].mediaBox.bottomLeftY-e*O)},Ze=l.strokeColor||"0 G",Qe=(d.__private__.getStrokeColor=d.getDrawColor=function(){return de(Ze)},d.__private__.setStrokeColor=d.setDrawColor=function(e,t,n,r){return Ze=pe({ch1:e,ch2:t,ch3:n,ch4:r,pdfColorType:"draw",precision:2}),U(Ze),this},l.fillColor||"0 g"),et=(d.__private__.getFillColor=d.getFillColor=function(){return de(Qe)},d.__private__.setFillColor=d.setFillColor=function(e,t,n,r){return Qe=pe({ch1:e,ch2:t,ch3:n,ch4:r,pdfColorType:"fill",precision:2}),U(Qe),this},l.textColor||"0 g"),tt=d.__private__.getTextColor=d.getTextColor=function(){return de(et)},nt=(d.__private__.setTextColor=d.setTextColor=function(e,t,n,r){return et=pe({ch1:e,ch2:t,ch3:n,ch4:r,pdfColorType:"text",precision:3}),this},l.charSpace||0),rt=d.__private__.getCharSpace=d.getCharSpace=function(){return nt},at=(d.__private__.setCharSpace=d.setCharSpace=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return nt=e,this},0);d.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},d.__private__.setLineCap=d.setLineCap=function(e){var t=d.CapJoinStyles[e];if(void 0===t)throw new Error("Line cap style of '"+e+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return U((at=t)+" J"),this};var it,ot=0;for(var st in d.__private__.setLineJoin=d.setLineJoin=function(e){var t=d.CapJoinStyles[e];if(void 0===t)throw new Error("Line join style of '"+e+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return U((ot=t)+" j"),this},d.__private__.setMiterLimit=d.setMiterLimit=function(e){if(e=e||0,isNaN(e))throw new Error("Invalid argument passed to jsPDF.setMiterLimit");return it=parseFloat(y(e*O)),U(it+" M"),this},d.save=function(e,n){if(e=e||"generated.pdf",(n=n||{}).returnPromise=n.returnPromise||!1,!1!==n.returnPromise)return new Promise(function(n,r){try{var a=ke(Oe(Le()),e);"function"==typeof ke.unload&&t.setTimeout&&setTimeout(ke.unload,911),n(a)}catch(n){r(n.message)}});ke(Oe(Le()),e),"function"==typeof ke.unload&&t.setTimeout&&setTimeout(ke.unload,911)},r.API)r.API.hasOwnProperty(st)&&("events"===st&&r.API.events.length?function(e,t){var n,r,a;for(a=t.length-1;-1!==a;a--)n=t[a][0],r=t[a][1],e.subscribe.apply(e,[n].concat("function"==typeof r?[r]:r))}(ie,r.API.events):d[st]=r.API[st]);return d.internal={pdfEscape:Se,getStyle:Ue,getFont:function(){return ee[Ce.apply(d,arguments)]},getFontSize:G,getCharSpace:rt,getTextColor:tt,getLineHeight:qe,getLineHeightFactor:Xe,write:z,getHorizontalCoordinate:$e,getVerticalCoordinate:Ye,getCoordinateString:Ke,getVerticalCoordinateString:Je,collections:{},newObject:se,newAdditionalObject:ue,newObjectDeferred:le,newObjectDeferredBegin:ce,getFilters:ge,putStream:me,events:ie,scaleFactor:O,pageSize:{getWidth:function(){return(re[T].mediaBox.topRightX-re[T].mediaBox.bottomLeftX)/O},setWidth:function(e){re[T].mediaBox.topRightX=e*O+re[T].mediaBox.bottomLeftX},getHeight:function(){return(re[T].mediaBox.topRightY-re[T].mediaBox.bottomLeftY)/O},setHeight:function(e){re[T].mediaBox.topRightY=e*O+re[T].mediaBox.bottomLeftY}},output:Pe,getNumberOfPages:Ae,pages:M,out:U,f2:y,f3:w,getPageInfo:De,getPageInfoByObjId:Me,getCurrentPageInfo:je,getPDFVersion:g,hasHotfix:Fe},Object.defineProperty(d.internal.pageSize,"width",{get:function(){return(re[T].mediaBox.topRightX-re[T].mediaBox.bottomLeftX)/O},set:function(e){re[T].mediaBox.topRightX=e*O+re[T].mediaBox.bottomLeftX},enumerable:!0,configurable:!0}),Object.defineProperty(d.internal.pageSize,"height",{get:function(){return(re[T].mediaBox.topRightY-re[T].mediaBox.bottomLeftY)/O},set:function(e){re[T].mediaBox.topRightY=e*O+re[T].mediaBox.bottomLeftY},enumerable:!0,configurable:!0}),function(e){for(var t=0,n=V.length;t<n;t++){var r=we(e[t][0],e[t][1],e[t][2],V[t][3],!0);h[r]=!0;var a=e[t][0].split("-");ye(r,a[0],a[1]||"")}ie.publish("addFonts",{fonts:ee,dictionary:te})}(V),L="F1",Ee(o,a),ie.publish("initialized"),d}return r.API={events:[]},r.version="1.5.3","function"==typeof define&&define.amd?define("jsPDF",function(){return r}):"undefined"!=typeof module&&module.exports?(module.exports=r,module.exports.jsPDF=r):t.jsPDF=r,r}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||"undefined"!=typeof global&&global||Function('return typeof this === "object" && this.content')()||Function("return this")());(function(t,n){var r,a=1,i=function(e){return e.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},o=function(e){return e.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},s=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.f2");return e.toFixed(2)},l=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.f2");return e.toFixed(5)};t.__acroform__={};var c=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e},u=function(e){return e*a},f=function(e){return e/a},h=function(e){var t=new O,n=$.internal.getHeight(e)||0,r=$.internal.getWidth(e)||0;return t.BBox=[0,0,Number(s(r)),Number(s(n))],t},d=t.__acroform__.setBit=function(e,t){if(e=e||0,t=t||0,isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return e|1<<t},p=t.__acroform__.clearBit=function(e,t){if(e=e||0,t=t||0,isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return e&~(1<<t)},g=t.__acroform__.getBit=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return 0==(e&1<<t)?0:1},m=t.__acroform__.getBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return g(e,t-1)},v=t.__acroform__.setBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return d(e,t-1)},b=t.__acroform__.clearBitForPdf=function(e,t,n){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return p(e,t-1)},y=t.__acroform__.calculateCoordinates=function(e){var t=this.internal.getHorizontalCoordinate,n=this.internal.getVerticalCoordinate,r=e[0],a=e[1],i=e[2],o=e[3],l={};return l.lowerLeft_X=t(r)||0,l.lowerLeft_Y=n(a+o)||0,l.upperRight_X=t(r+i)||0,l.upperRight_Y=n(a)||0,[Number(s(l.lowerLeft_X)),Number(s(l.lowerLeft_Y)),Number(s(l.upperRight_X)),Number(s(l.upperRight_Y))]},w=function(e){if(e.appearanceStreamContent)return e.appearanceStreamContent;if(e.V||e.DV){var t=[],n=e.V||e.DV,a=S(e,n),i=r.internal.getFont(e.fontName,e.fontStyle).id;t.push("/Tx BMC"),t.push("q"),t.push("BT"),t.push(r.__private__.encodeColorString(e.color)),t.push("/"+i+" "+s(a.fontSize)+" Tf"),t.push("1 0 0 1 0 0 Tm"),t.push(a.text),t.push("ET"),t.push("Q"),t.push("EMC");var o=new h(e);return o.stream=t.join("\n"),o}},S=function(e,t){var n=e.maxFontSize||12,a=(e.fontName,{text:"",fontSize:""}),o=(t=")"==(t="("==t.substr(0,1)?t.substr(1):t).substr(t.length-1)?t.substr(0,t.length-1):t).split(" "),l=(r.__private__.encodeColorString(e.color),n),c=$.internal.getHeight(e)||0;c=c<0?-c:c;var u=$.internal.getWidth(e)||0;u=u<0?-u:u;var f=function(t,n,r){if(t+1<o.length){var a=n+" "+o[t+1];return x(a,e,r).width<=u-4}return!1};l++;e:for(;;){t="";var h=x("3",e,--l).height,d=e.multiline?c-l:(c-h)/2,p=-2,g=d+=2,m=0,v=0,b=0;if(l<=0){t="(...) Tj\n",t+="% Width of Text: "+x(t,e,l=12).width+", FieldWidth:"+u+"\n";break}b=x(o[0]+" ",e,l).width;var y="",w=0;for(var S in o)if(o.hasOwnProperty(S)){y=" "==(y+=o[S]+" ").substr(y.length-1)?y.substr(0,y.length-1):y;var E=parseInt(S);b=x(y+" ",e,l).width;var _=f(E,y,l),k=S>=o.length-1;if(_&&!k){y+=" ";continue}if(_||k){if(k)v=E;else if(e.multiline&&c<(h+2)*(w+2)+2)continue e}else{if(!e.multiline)continue e;if(c<(h+2)*(w+2)+2)continue e;v=E}for(var A="",C=m;C<=v;C++)A+=o[C]+" ";switch(A=" "==A.substr(A.length-1)?A.substr(0,A.length-1):A,b=x(A,e,l).width,e.textAlign){case"right":p=u-b-2;break;case"center":p=(u-b)/2;break;case"left":default:p=2}t+=s(p)+" "+s(g)+" Td\n",t+="("+i(A)+") Tj\n",t+=-s(p)+" 0 Td\n",g=-(l+2),b=0,m=v+1,w++,y=""}break}return a.text=t,a.fontSize=l,a},x=function(e,t,n){var a=r.internal.getFont(t.fontName,t.fontStyle),i=r.getStringUnitWidth(e,{font:a,fontSize:parseFloat(n),charSpace:0})*parseFloat(n);return{height:r.getStringUnitWidth("3",{font:a,fontSize:parseFloat(n),charSpace:0})*parseFloat(n)*1.5,width:i}},E={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},_=function(){r.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var e=r.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var t in e)if(e.hasOwnProperty(t)){var n=e[t];n.objId=void 0,n.hasAnnotation&&k.call(r,n)}},k=function(e){var t={type:"reference",object:e};void 0===r.internal.getPageInfo(e.page).pageContext.annotations.find(function(e){return e.type===t.type&&e.object===t.object})&&r.internal.getPageInfo(e.page).pageContext.annotations.push(t)},A=function(){if(void 0===r.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("putCatalogCallback: Root missing.");r.internal.write("/AcroForm "+r.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")},C=function(){r.internal.events.unsubscribe(r.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete r.internal.acroformPlugin.acroFormDictionaryRoot._eventID,r.internal.acroformPlugin.printedOut=!0},T=function(t){var n=!t;for(var a in t||(r.internal.newObjectDeferredBegin(r.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),r.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),t=t||r.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(t.hasOwnProperty(a)){var i=t[a],o=[],s=i.Rect;if(i.Rect&&(i.Rect=y.call(this,i.Rect)),r.internal.newObjectDeferredBegin(i.objId,!0),i.DA=$.createDefaultAppearanceStream(i),"object"===e(i)&&"function"==typeof i.getKeyValueListForStream&&(o=i.getKeyValueListForStream()),i.Rect=s,i.hasAppearanceStream&&!i.appearanceStreamContent){var l=w.call(this,i);o.push({key:"AP",value:"<</N "+l+">>"}),r.internal.acroformPlugin.xForms.push(l)}if(i.appearanceStreamContent){var c="";for(var u in i.appearanceStreamContent)if(i.appearanceStreamContent.hasOwnProperty(u)){var f=i.appearanceStreamContent[u];if(c+="/"+u+" ",c+="<<",1<=Object.keys(f).length||Array.isArray(f))for(var a in f){var h;f.hasOwnProperty(a)&&("function"==typeof(h=f[a])&&(h=h.call(this,i)),c+="/"+a+" "+h+" ",0<=r.internal.acroformPlugin.xForms.indexOf(h)||r.internal.acroformPlugin.xForms.push(h))}else"function"==typeof(h=f)&&(h=h.call(this,i)),c+="/"+a+" "+h,0<=r.internal.acroformPlugin.xForms.indexOf(h)||r.internal.acroformPlugin.xForms.push(h);c+=">>"}o.push({key:"AP",value:"<<\n"+c+">>"})}r.internal.putStream({additionalKeyValues:o}),r.internal.out("endobj")}n&&R.call(this,r.internal.acroformPlugin.xForms)},R=function(t){for(var n in t)if(t.hasOwnProperty(n)){var a=n,i=t[n];r.internal.newObjectDeferredBegin(i&&i.objId,!0),"object"===e(i)&&"function"==typeof i.putStream&&i.putStream(),delete t[a]}},N=function(){if(void 0!==this.internal&&(void 0===this.internal.acroformPlugin||!1===this.internal.acroformPlugin.isInitialized)){if(r=this,F.FieldNum=0,this.internal.acroformPlugin=JSON.parse(JSON.stringify(E)),this.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");a=r.internal.scaleFactor,r.internal.acroformPlugin.acroFormDictionaryRoot=new P,r.internal.acroformPlugin.acroFormDictionaryRoot._eventID=r.internal.events.subscribe("postPutResources",C),r.internal.events.subscribe("buildDocument",_),r.internal.events.subscribe("putCatalog",A),r.internal.events.subscribe("postPutPages",T),r.internal.acroformPlugin.isInitialized=!0}},B=t.__acroform__.arrayToPdfArray=function(t){if(Array.isArray(t)){for(var n="[",r=0;r<t.length;r++)switch(0!==r&&(n+=" "),e(t[r])){case"boolean":case"number":case"object":n+=t[r].toString();break;case"string":"/"!==t[r].substr(0,1)?n+="("+i(t[r].toString())+")":n+=t[r].toString()}return n+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},I=function(e){return(e=e||"").toString(),"("+i(e)+")"},L=function(){var e;Object.defineProperty(this,"objId",{configurable:!0,get:function(){if(e||(e=r.internal.newObjectDeferred()),!e)throw new Error("AcroFormPDFObject: Couldn't create Object ID");return e},set:function(t){e=t}})};L.prototype.toString=function(){return this.objId+" 0 R"},L.prototype.putStream=function(){var e=this.getKeyValueListForStream();r.internal.putStream({data:this.stream,additionalKeyValues:e}),r.internal.out("endobj")},L.prototype.getKeyValueListForStream=function(){return function(e){var t=[],n=Object.getOwnPropertyNames(e).filter(function(e){return"content"!=e&&"appearanceStreamContent"!=e&&"_"!=e.substring(0,1)});for(var r in n)if(!1===Object.getOwnPropertyDescriptor(e,n[r]).configurable){var a=n[r],i=e[a];i&&(Array.isArray(i)?t.push({key:a,value:B(i)}):i instanceof L?t.push({key:a,value:i.objId+" 0 R"}):"function"!=typeof i&&t.push({key:a,value:i}))}return t}(this)};var O=function(){L.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writeable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writeable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writeable:!0});var e,t=[];Object.defineProperty(this,"BBox",{configurable:!1,writeable:!0,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writeable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(t){e=t.trim()},get:function(){return e||null}})};c(O,L);var P=function(){L.call(this);var e,t=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return 0<t.length?t:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return t}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(e)return"("+e+")"},set:function(t){e=t}})};c(P,L);var F=function e(){L.call(this);var t=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){if(isNaN(e))throw new Error('Invalid value "'+e+'" for attribute F supplied.');t=e}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean(m(t,3))},set:function(e){!0===Boolean(e)?this.F=v(t,3):this.F=b(t,3)}});var n=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return n},set:function(e){if(isNaN(e))throw new Error('Invalid value "'+e+'" for attribute Ff supplied.');n=e}});var r=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(0!==r.length)return r},set:function(e){r=void 0!==e?e:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[0])?0:f(r[0])},set:function(e){r[0]=u(e)}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[1])?0:f(r[1])},set:function(e){r[1]=u(e)}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[2])?0:f(r[2])},set:function(e){r[2]=u(e)}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[3])?0:f(r[3])},set:function(e){r[3]=u(e)}});var a="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return a},set:function(e){switch(e){case"/Btn":case"/Tx":case"/Ch":case"/Sig":a=e;break;default:throw new Error('Invalid value "'+e+'" for attribute FT supplied.')}}});var s=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!s||s.length<1){if(this instanceof V)return;s="FieldObject"+e.FieldNum++}return"("+i(s)+")"},set:function(e){s=e.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return s},set:function(e){s=e}});var l="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return l},set:function(e){l=e}});var c="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return c},set:function(e){c=e}});var h=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return f(h)},set:function(e){h=u(e)}});var d=50;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return f(d)},set:function(e){d=u(e)}});var p="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return p},set:function(e){p=e}});var g="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!g||this instanceof V||this instanceof G))return I(g)},set:function(e){e=e.toString(),g=e}});var y=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(y)return this instanceof U==0?I(y):y},set:function(e){e=e.toString(),y=this instanceof U==0?"("===e.substr(0,1)?o(e.substr(1,e.length-2)):o(e):e}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof U==1?o(y.substr(1,y.length-1)):y},set:function(e){e=e.toString(),y=this instanceof U==1?"/"+e:e}});var w=null;Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(w)return this instanceof U==0?I(w):w},set:function(e){e=e.toString(),w=this instanceof U==0?"("===e.substr(0,1)?o(e.substr(1,e.length-2)):o(e):e}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof U==1?o(w.substr(1,w.length-1)):w},set:function(e){e=e.toString(),w=this instanceof U==1?"/"+e:e}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var S,x=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,writeable:!0,get:function(){return x},set:function(e){e=Boolean(e),x=e}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,writeable:!0,get:function(){if(S)return S},set:function(e){S=e}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean(m(this.Ff,1))},set:function(e){!0===Boolean(e)?this.Ff=v(this.Ff,1):this.Ff=b(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(m(this.Ff,2))},set:function(e){!0===Boolean(e)?this.Ff=v(this.Ff,2):this.Ff=b(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(m(this.Ff,3))},set:function(e){!0===Boolean(e)?this.Ff=v(this.Ff,3):this.Ff=b(this.Ff,3)}});var E=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(null!==E)return E},set:function(e){if(-1===[0,1,2].indexOf(e))throw new Error('Invalid value "'+e+'" for attribute Q supplied.');E=e}}),Object.defineProperty(this,"textAlign",{get:function(){var e="left";switch(E){case 0:default:e="left";break;case 1:e="center";break;case 2:e="right"}return e},configurable:!0,enumerable:!0,set:function(e){switch(e){case"right":case 2:E=2;break;case"center":case 1:E=1;break;case"left":case 0:default:E=0}}})};c(F,L);var D=function(){F.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var e=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return e},set:function(t){e=t}});var t=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return B(t)},set:function(e){var n,r;r=[],"string"==typeof(n=e)&&(r=function(e,t,n){n||(n=1);for(var r,a=[];r=t.exec(e);)a.push(r[n]);return a}(n,/\((.*?)\)/g)),t=r}}),this.getOptions=function(){return t},this.setOptions=function(e){t=e,this.sort&&t.sort()},this.addOption=function(e){e=(e=e||"").toString(),t.push(e),this.sort&&t.sort()},this.removeOption=function(e,n){for(n=n||!1,e=(e=e||"").toString();-1!==t.indexOf(e)&&(t.splice(t.indexOf(e),1),!1!==n););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean(m(this.Ff,18))},set:function(e){!0===Boolean(e)?this.Ff=v(this.Ff,18):this.Ff=b(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(m(this.Ff,19))},set:function(e){!0===this.combo&&(!0===Boolean(e)?this.Ff=v(this.Ff,19):this.Ff=b(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(m(this.Ff,20))},set:function(e){!0===Boolean(e)?(this.Ff=v(this.Ff,20),t.sort()):this.Ff=b(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(m(this.Ff,22))},set:function(e){!0===Boolean(e)?this.Ff=v(this.Ff,22):this.Ff=b(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(m(this.Ff,23))},set:function(e){!0===Boolean(e)?this.Ff=v(this.Ff,23):this.Ff=b(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(m(this.Ff,27))},set:function(e){!0===Boolean(e)?this.Ff=v(this.Ff,27):this.Ff=b(this.Ff,27)}}),this.hasAppearanceStream=!1};c(D,F);var M=function(){D.call(this),this.fontName="helvetica",this.combo=!1};c(M,D);var j=function(){M.call(this),this.combo=!0};c(j,M);var W=function(){j.call(this),this.edit=!0};c(W,j);var U=function(){F.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(m(this.Ff,15))},set:function(e){!0===Boolean(e)?this.Ff=v(this.Ff,15):this.Ff=b(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(m(this.Ff,16))},set:function(e){!0===Boolean(e)?this.Ff=v(this.Ff,16):this.Ff=b(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(m(this.Ff,17))},set:function(e){!0===Boolean(e)?this.Ff=v(this.Ff,17):this.Ff=b(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(m(this.Ff,26))},set:function(e){!0===Boolean(e)?this.Ff=v(this.Ff,26):this.Ff=b(this.Ff,26)}});var t,n={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){if(0!==Object.keys(n).length){var e,t=[];for(e in t.push("<<"),n)t.push("/"+e+" ("+n[e]+")");return t.push(">>"),t.join("\n")}},set:function(t){"object"===e(t)&&(n=t)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return n.CA||""},set:function(e){"string"==typeof e&&(n.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return t.substr(1,t.length-1)},set:function(e){t="/"+e}})};c(U,F);var z=function(){U.call(this),this.pushButton=!0};c(z,U);var H=function(){U.call(this),this.radio=!0,this.pushButton=!1;var e=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=void 0!==t?t:[]}})};c(H,U);var V=function(){var t,n;F.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return n},set:function(e){n=e}});var r,a={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var e,t=[];for(e in t.push("<<"),a)t.push("/"+e+" ("+a[e]+")");return t.push(">>"),t.join("\n")},set:function(t){"object"===e(t)&&(a=t)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return a.CA||""},set:function(e){"string"==typeof e&&(a.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return r},set:function(e){r=e}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return r.substr(1,r.length-1)},set:function(e){r="/"+e}}),this.optionName=name,this.caption="l",this.appearanceState="Off",this._AppearanceType=$.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(name)};c(V,F),H.prototype.setAppearance=function(e){if(!("createAppearanceStream"in e&&"getCA"in e))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var t in this.Kids)if(this.Kids.hasOwnProperty(t)){var n=this.Kids[t];n.appearanceStreamContent=e.createAppearanceStream(n.optionName),n.caption=e.getCA()}},H.prototype.createOption=function(e){this.Kids.length;var t=new V;return t.Parent=this,t.optionName=e,this.Kids.push(t),Y.call(this,t),t};var q=function(){U.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=$.CheckBox.createAppearanceStream()};c(q,U);var G=function(){F.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(m(this.Ff,13))},set:function(e){!0===Boolean(e)?this.Ff=v(this.Ff,13):this.Ff=b(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(m(this.Ff,21))},set:function(e){!0===Boolean(e)?this.Ff=v(this.Ff,21):this.Ff=b(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(m(this.Ff,23))},set:function(e){!0===Boolean(e)?this.Ff=v(this.Ff,23):this.Ff=b(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(m(this.Ff,24))},set:function(e){!0===Boolean(e)?this.Ff=v(this.Ff,24):this.Ff=b(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(m(this.Ff,25))},set:function(e){!0===Boolean(e)?this.Ff=v(this.Ff,25):this.Ff=b(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(m(this.Ff,26))},set:function(e){!0===Boolean(e)?this.Ff=v(this.Ff,26):this.Ff=b(this.Ff,26)}});var e=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return e},set:function(t){Number.isInteger(t)&&(e=t)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};c(G,F);var X=function(){G.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(m(this.Ff,14))},set:function(e){!0===Boolean(e)?this.Ff=v(this.Ff,14):this.Ff=b(this.Ff,14)}}),this.password=!0};c(X,G);var $={CheckBox:{createAppearanceStream:function(){return{N:{On:$.CheckBox.YesNormal},D:{On:$.CheckBox.YesPushDown,Off:$.CheckBox.OffPushDown}}},YesPushDown:function(e){var t=h(e),n=[],a=r.internal.getFont(e.fontName,e.fontStyle).id,i=r.__private__.encodeColorString(e.color),o=S(e,e.caption);return n.push("0.749023 g"),n.push("0 0 "+s($.internal.getWidth(e))+" "+s($.internal.getHeight(e))+" re"),n.push("f"),n.push("BMC"),n.push("q"),n.push("0 0 1 rg"),n.push("/"+a+" "+s(o.fontSize)+" Tf "+i),n.push("BT"),n.push(o.text),n.push("ET"),n.push("Q"),n.push("EMC"),t.stream=n.join("\n"),t},YesNormal:function(e){var t=h(e),n=r.internal.getFont(e.fontName,e.fontStyle).id,a=r.__private__.encodeColorString(e.color),i=[],o=$.internal.getHeight(e),l=$.internal.getWidth(e),c=S(e,e.caption);return i.push("1 g"),i.push("0 0 "+s(l)+" "+s(o)+" re"),i.push("f"),i.push("q"),i.push("0 0 1 rg"),i.push("0 0 "+s(l-1)+" "+s(o-1)+" re"),i.push("W"),i.push("n"),i.push("0 g"),i.push("BT"),i.push("/"+n+" "+s(c.fontSize)+" Tf "+a),i.push(c.text),i.push("ET"),i.push("Q"),t.stream=i.join("\n"),t},OffPushDown:function(e){var t=h(e),n=[];return n.push("0.749023 g"),n.push("0 0 "+s($.internal.getWidth(e))+" "+s($.internal.getHeight(e))+" re"),n.push("f"),t.stream=n.join("\n"),t}},RadioButton:{Circle:{createAppearanceStream:function(e){var t={D:{Off:$.RadioButton.Circle.OffPushDown},N:{}};return t.N[e]=$.RadioButton.Circle.YesNormal,t.D[e]=$.RadioButton.Circle.YesPushDown,t},getCA:function(){return"l"},YesNormal:function(e){var t=h(e),n=[],r=$.internal.getWidth(e)<=$.internal.getHeight(e)?$.internal.getWidth(e)/4:$.internal.getHeight(e)/4;r=Number((.9*r).toFixed(5));var a=$.internal.Bezier_C,i=Number((r*a).toFixed(5));return n.push("q"),n.push("1 0 0 1 "+l($.internal.getWidth(e)/2)+" "+l($.internal.getHeight(e)/2)+" cm"),n.push(r+" 0 m"),n.push(r+" "+i+" "+i+" "+r+" 0 "+r+" c"),n.push("-"+i+" "+r+" -"+r+" "+i+" -"+r+" 0 c"),n.push("-"+r+" -"+i+" -"+i+" -"+r+" 0 -"+r+" c"),n.push(i+" -"+r+" "+r+" -"+i+" "+r+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join("\n"),t},YesPushDown:function(e){var t=h(e),n=[],r=$.internal.getWidth(e)<=$.internal.getHeight(e)?$.internal.getWidth(e)/4:$.internal.getHeight(e)/4,a=(r=Number((.9*r).toFixed(5)),Number((2*r).toFixed(5))),i=Number((a*$.internal.Bezier_C).toFixed(5)),o=Number((r*$.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+l($.internal.getWidth(e)/2)+" "+l($.internal.getHeight(e)/2)+" cm"),n.push(a+" 0 m"),n.push(a+" "+i+" "+i+" "+a+" 0 "+a+" c"),n.push("-"+i+" "+a+" -"+a+" "+i+" -"+a+" 0 c"),n.push("-"+a+" -"+i+" -"+i+" -"+a+" 0 -"+a+" c"),n.push(i+" -"+a+" "+a+" -"+i+" "+a+" 0 c"),n.push("f"),n.push("Q"),n.push("0 g"),n.push("q"),n.push("1 0 0 1 "+l($.internal.getWidth(e)/2)+" "+l($.internal.getHeight(e)/2)+" cm"),n.push(r+" 0 m"),n.push(r+" "+o+" "+o+" "+r+" 0 "+r+" c"),n.push("-"+o+" "+r+" -"+r+" "+o+" -"+r+" 0 c"),n.push("-"+r+" -"+o+" -"+o+" -"+r+" 0 -"+r+" c"),n.push(o+" -"+r+" "+r+" -"+o+" "+r+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join("\n"),t},OffPushDown:function(e){var t=h(e),n=[],r=$.internal.getWidth(e)<=$.internal.getHeight(e)?$.internal.getWidth(e)/4:$.internal.getHeight(e)/4,a=(r=Number((.9*r).toFixed(5)),Number((2*r).toFixed(5))),i=Number((a*$.internal.Bezier_C).toFixed(5));return n.push("0.749023 g"),n.push("q"),n.push("1 0 0 1 "+l($.internal.getWidth(e)/2)+" "+l($.internal.getHeight(e)/2)+" cm"),n.push(a+" 0 m"),n.push(a+" "+i+" "+i+" "+a+" 0 "+a+" c"),n.push("-"+i+" "+a+" -"+a+" "+i+" -"+a+" 0 c"),n.push("-"+a+" -"+i+" -"+i+" -"+a+" 0 -"+a+" c"),n.push(i+" -"+a+" "+a+" -"+i+" "+a+" 0 c"),n.push("f"),n.push("Q"),t.stream=n.join("\n"),t}},Cross:{createAppearanceStream:function(e){var t={D:{Off:$.RadioButton.Cross.OffPushDown},N:{}};return t.N[e]=$.RadioButton.Cross.YesNormal,t.D[e]=$.RadioButton.Cross.YesPushDown,t},getCA:function(){return"8"},YesNormal:function(e){var t=h(e),n=[],r=$.internal.calculateCross(e);return n.push("q"),n.push("1 1 "+s($.internal.getWidth(e)-2)+" "+s($.internal.getHeight(e)-2)+" re"),n.push("W"),n.push("n"),n.push(s(r.x1.x)+" "+s(r.x1.y)+" m"),n.push(s(r.x2.x)+" "+s(r.x2.y)+" l"),n.push(s(r.x4.x)+" "+s(r.x4.y)+" m"),n.push(s(r.x3.x)+" "+s(r.x3.y)+" l"),n.push("s"),n.push("Q"),t.stream=n.join("\n"),t},YesPushDown:function(e){var t=h(e),n=$.internal.calculateCross(e),r=[];return r.push("0.749023 g"),r.push("0 0 "+s($.internal.getWidth(e))+" "+s($.internal.getHeight(e))+" re"),r.push("f"),r.push("q"),r.push("1 1 "+s($.internal.getWidth(e)-2)+" "+s($.internal.getHeight(e)-2)+" re"),r.push("W"),r.push("n"),r.push(s(n.x1.x)+" "+s(n.x1.y)+" m"),r.push(s(n.x2.x)+" "+s(n.x2.y)+" l"),r.push(s(n.x4.x)+" "+s(n.x4.y)+" m"),r.push(s(n.x3.x)+" "+s(n.x3.y)+" l"),r.push("s"),r.push("Q"),t.stream=r.join("\n"),t},OffPushDown:function(e){var t=h(e),n=[];return n.push("0.749023 g"),n.push("0 0 "+s($.internal.getWidth(e))+" "+s($.internal.getHeight(e))+" re"),n.push("f"),t.stream=n.join("\n"),t}}},createDefaultAppearanceStream:function(e){var t=r.internal.getFont(e.fontName,e.fontStyle).id,n=r.__private__.encodeColorString(e.color);return"/"+t+" "+e.fontSize+" Tf "+n}};$.internal={Bezier_C:.551915024494,calculateCross:function(e){var t=$.internal.getWidth(e),n=$.internal.getHeight(e),r=Math.min(t,n);return{x1:{x:(t-r)/2,y:(n-r)/2+r},x2:{x:(t-r)/2+r,y:(n-r)/2},x3:{x:(t-r)/2,y:(n-r)/2},x4:{x:(t-r)/2+r,y:(n-r)/2+r}}}},$.internal.getWidth=function(t){var n=0;return"object"===e(t)&&(n=u(t.Rect[2])),n},$.internal.getHeight=function(t){var n=0;return"object"===e(t)&&(n=u(t.Rect[3])),n};var Y=t.addField=function(e){if(N.call(this),!(e instanceof F))throw new Error("Invalid argument passed to jsPDF.addField.");return function(e){r.internal.acroformPlugin.printedOut&&(r.internal.acroformPlugin.printedOut=!1,r.internal.acroformPlugin.acroFormDictionaryRoot=null),r.internal.acroformPlugin.acroFormDictionaryRoot||N.call(r),r.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(e)}.call(this,e),e.page=r.internal.getCurrentPageInfo().pageNumber,this};t.addButton=function(e){if(e instanceof U==0)throw new Error("Invalid argument passed to jsPDF.addButton.");return Y.call(this,e)},t.addTextField=function(e){if(e instanceof G==0)throw new Error("Invalid argument passed to jsPDF.addTextField.");return Y.call(this,e)},t.addChoiceField=function(e){if(e instanceof D==0)throw new Error("Invalid argument passed to jsPDF.addChoiceField.");return Y.call(this,e)},"object"==e(n)&&void 0===n.ChoiceField&&void 0===n.ListBox&&void 0===n.ComboBox&&void 0===n.EditBox&&void 0===n.Button&&void 0===n.PushButton&&void 0===n.RadioButton&&void 0===n.CheckBox&&void 0===n.TextField&&void 0===n.PasswordField?(n.ChoiceField=D,n.ListBox=M,n.ComboBox=j,n.EditBox=W,n.Button=U,n.PushButton=z,n.RadioButton=H,n.CheckBox=q,n.TextField=G,n.PasswordField=X,n.AcroForm={Appearance:$}):console.warn("AcroForm-Classes are not populated into global-namespace, because the class-Names exist already."),t.AcroFormChoiceField=D,t.AcroFormListBox=M,t.AcroFormComboBox=j,t.AcroFormEditBox=W,t.AcroFormButton=U,t.AcroFormPushButton=z,t.AcroFormRadioButton=H,t.AcroFormCheckBox=q,t.AcroFormTextField=G,t.AcroFormPasswordField=X,t.AcroFormAppearance=$,t.AcroForm={ChoiceField:D,ListBox:M,ComboBox:j,EditBox:W,Button:U,PushButton:z,RadioButton:H,CheckBox:q,TextField:G,PasswordField:X,Appearance:$}})((window.tmp=ce).API,"undefined"!=typeof window&&window||"undefined"!=typeof global&&global),function(t){var n="addImage_",r={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},a=t.getImageFileTypeByImageData=function(e,n){var a,i;n=n||"UNKNOWN";var o,s,l,c="UNKNOWN";for(l in t.isArrayBufferView(e)&&(e=t.arrayBufferToBinaryString(e)),r)for(o=r[l],a=0;a<o.length;a+=1){for(s=!0,i=0;i<o[a].length;i+=1)if(void 0!==o[a][i]&&o[a][i]!==e.charCodeAt(i)){s=!1;break}if(!0===s){c=l;break}}return"UNKNOWN"===c&&"UNKNOWN"!==n&&(console.warn('FileType of Image not recognized. Processing image as "'+n+'".'),c=n),c},i=function e(t){for(var n=this.internal.newObject(),r=this.internal.write,a=this.internal.putStream,i=(0,this.internal.getFilters)();-1!==i.indexOf("FlateEncode");)i.splice(i.indexOf("FlateEncode"),1);t.n=n;var o=[];if(o.push({key:"Type",value:"/XObject"}),o.push({key:"Subtype",value:"/Image"}),o.push({key:"Width",value:t.w}),o.push({key:"Height",value:t.h}),t.cs===this.color_spaces.INDEXED?o.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(t.pal.length/3-1)+" "+("smask"in t?n+2:n+1)+" 0 R]"}):(o.push({key:"ColorSpace",value:"/"+t.cs}),t.cs===this.color_spaces.DEVICE_CMYK&&o.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),o.push({key:"BitsPerComponent",value:t.bpc}),"dp"in t&&o.push({key:"DecodeParms",value:"<<"+t.dp+">>"}),"trns"in t&&t.trns.constructor==Array){for(var s="",l=0,c=t.trns.length;l<c;l++)s+=t.trns[l]+" "+t.trns[l]+" ";o.push({key:"Mask",value:"["+s+"]"})}"smask"in t&&o.push({key:"SMask",value:n+1+" 0 R"});var u=void 0!==t.f?["/"+t.f]:void 0;if(a({data:t.data,additionalKeyValues:o,alreadyAppliedFilters:u}),r("endobj"),"smask"in t){var f="/Predictor "+t.p+" /Colors 1 /BitsPerComponent "+t.bpc+" /Columns "+t.w,h={w:t.w,h:t.h,cs:"DeviceGray",bpc:t.bpc,dp:f,data:t.smask};"f"in t&&(h.f=t.f),e.call(this,h)}t.cs===this.color_spaces.INDEXED&&(this.internal.newObject(),a({data:this.arrayBufferToBinaryString(new Uint8Array(t.pal))}),r("endobj"))},o=function(){var e=this.internal.collections[n+"images"];for(var t in e)i.call(this,e[t])},s=function(){var e,t=this.internal.collections[n+"images"],r=this.internal.write;for(var a in t)r("/I"+(e=t[a]).i,e.n,"0","R")},l=function(e){return"function"==typeof t["process"+e.toUpperCase()]},c=function(t){return"object"===e(t)&&1===t.nodeType},u=function(e,n){if("IMG"===e.nodeName&&e.hasAttribute("src")){var r=""+e.getAttribute("src");if(0===r.indexOf("data:image/"))return unescape(r);var a=t.loadFile(r);if(void 0!==a)return btoa(a)}if("CANVAS"===e.nodeName){var i=e;return e.toDataURL("image/jpeg",1)}(i=document.createElement("canvas")).width=e.clientWidth||e.width,i.height=e.clientHeight||e.height;var o=i.getContext("2d");if(!o)throw"addImage requires canvas to be supported by browser.";return o.drawImage(e,0,0,i.width,i.height),i.toDataURL("png"==(""+n).toLowerCase()?"image/png":"image/jpeg")},f=function(e,t){var n;if(t)for(var r in t)if(e===t[r].alias){n=t[r];break}return n};t.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"},t.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"},t.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},t.sHashCode=function(e){var t,n=0;if(0===(e=e||"").length)return n;for(t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return n},t.isString=function(e){return"string"==typeof e},t.validateStringAsBase64=function(e){(e=e||"").toString().trim();var t=!0;return 0===e.length&&(t=!1),e.length%4!=0&&(t=!1),!1===/^[A-Za-z0-9+\/]+$/.test(e.substr(0,e.length-2))&&(t=!1),!1===/^[A-Za-z0-9\/][A-Za-z0-9+\/]|[A-Za-z0-9+\/]=|==$/.test(e.substr(-2))&&(t=!1),t},t.extractInfoFromBase64DataURI=function(e){return/^data:([\w]+?\/([\w]+?));\S*;*base64,(.+)$/g.exec(e)},t.extractImageFromDataUrl=function(e){var t=(e=e||"").split("base64,"),n=null;if(2===t.length){var r=/^data:(\w*\/\w*);*(charset=[\w=-]*)*;*$/.exec(t[0]);Array.isArray(r)&&(n={mimeType:r[1],charset:r[2],data:t[1]})}return n},t.supportsArrayBuffer=function(){return"undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array},t.isArrayBuffer=function(e){return!!this.supportsArrayBuffer()&&e instanceof ArrayBuffer},t.isArrayBufferView=function(e){return!!this.supportsArrayBuffer()&&"undefined"!=typeof Uint32Array&&(e instanceof Int8Array||e instanceof Uint8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)},t.binaryStringToUint8Array=function(e){for(var t=e.length,n=new Uint8Array(t),r=0;r<t;r++)n[r]=e.charCodeAt(r);return n},t.arrayBufferToBinaryString=function(e){if("function"==typeof atob)return atob(this.arrayBufferToBase64(e))},t.arrayBufferToBase64=function(e){for(var t,n="",r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=new Uint8Array(e),i=a.byteLength,o=i%3,s=i-o,l=0;l<s;l+=3)n+=r[(16515072&(t=a[l]<<16|a[l+1]<<8|a[l+2]))>>18]+r[(258048&t)>>12]+r[(4032&t)>>6]+r[63&t];return 1==o?n+=r[(252&(t=a[s]))>>2]+r[(3&t)<<4]+"==":2==o&&(n+=r[(64512&(t=a[s]<<8|a[s+1]))>>10]+r[(1008&t)>>4]+r[(15&t)<<2]+"="),n},t.createImageInfo=function(e,t,n,r,a,i,o,s,l,c,u,f,h){var d={alias:s,w:t,h:n,cs:r,bpc:a,i:o,data:e};return i&&(d.f=i),l&&(d.dp=l),c&&(d.trns=c),u&&(d.pal=u),f&&(d.smask=f),h&&(d.p=h),d},t.addImage=function(r,a,i,h,d,p,g,m,v){var b="";if("string"!=typeof a){var y=p;p=d,d=h,h=i,i=a,a=y}if("object"===e(r)&&!c(r)&&"imageData"in r){var w=r;r=w.imageData,a=w.format||a||"UNKNOWN",i=w.x||i||0,h=w.y||h||0,d=w.w||d,p=w.h||p,g=w.alias||g,m=w.compression||m,v=w.rotation||w.angle||v}var S=this.internal.getFilters();if(void 0===m&&-1!==S.indexOf("FlateEncode")&&(m="SLOW"),"string"==typeof r&&(r=unescape(r)),isNaN(i)||isNaN(h))throw console.error("jsPDF.addImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addImage");var x,E,_,k,A,C,T,R=function(){var e=this.internal.collections[n+"images"];return e||(this.internal.collections[n+"images"]=e={},this.internal.events.subscribe("putResources",o),this.internal.events.subscribe("putXobjectDict",s)),e}.call(this);if(!((x=f(r,R))||(c(r)&&(r=u(r,a)),(null==(T=g)||0===T.length)&&(g="string"==typeof(C=r)?t.sHashCode(C):t.isArrayBufferView(C)?t.sHashCode(t.arrayBufferToBinaryString(C)):null),x=f(g,R)))){if(this.isString(r)&&(""!==(b=this.convertStringToImageData(r))?r=b:void 0!==(b=t.loadFile(r))&&(r=b)),a=this.getImageFileTypeByImageData(r,a),!l(a))throw new Error("addImage does not support files of type '"+a+"', please ensure that a plugin for '"+a+"' support is added.");if(this.supportsArrayBuffer()&&(r instanceof Uint8Array||(E=r,r=this.binaryStringToUint8Array(r))),!(x=this["process"+a.toUpperCase()](r,(A=0,(k=R)&&(A=Object.keys?Object.keys(k).length:function(e){var t=0;for(var n in e)e.hasOwnProperty(n)&&t++;return t}(k)),A),g,((_=m)&&"string"==typeof _&&(_=_.toUpperCase()),_ in t.image_compression?_:t.image_compression.NONE),E)))throw new Error("An unknown error occurred whilst processing the image")}return function(e,t,n,r,a,i,o,s){var l=function(e,t,n){return e||t||(t=e=-96),e<0&&(e=-1*n.w*72/e/this.internal.scaleFactor),t<0&&(t=-1*n.h*72/t/this.internal.scaleFactor),0===e&&(e=t*n.w/n.h),0===t&&(t=e*n.h/n.w),[e,t]}.call(this,n,r,a),c=this.internal.getCoordinateString,u=this.internal.getVerticalCoordinateString;if(n=l[0],r=l[1],o[i]=a,s){s*=Math.PI/180;var f=Math.cos(s),h=Math.sin(s),d=function(e){return e.toFixed(4)},p=[d(f),d(h),d(-1*h),d(f),0,0,"cm"]}this.internal.write("q"),s?(this.internal.write([1,"0","0",1,c(e),u(t+r),"cm"].join(" ")),this.internal.write(p.join(" ")),this.internal.write([c(n),"0","0",c(r),"0","0","cm"].join(" "))):this.internal.write([c(n),"0","0",c(r),c(e),u(t+r),"cm"].join(" ")),this.internal.write("/I"+a.i+" Do"),this.internal.write("Q")}.call(this,i,h,d,p,x,x.i,R,v),this},t.convertStringToImageData=function(e){var n,r="";if(this.isString(e)){var a;n=null!==(a=this.extractImageFromDataUrl(e))?a.data:e;try{r=atob(n)}catch(e){throw t.validateStringAsBase64(n)?new Error("atob-Error in jsPDF.convertStringToImageData "+e.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertStringToImageData ")}}return r};var h=function(e,t){return e.subarray(t,t+5)};t.processJPEG=function(e,t,n,r,i,o){var s,l=this.decode.DCT_DECODE;if(!this.isString(e)&&!this.isArrayBuffer(e)&&!this.isArrayBufferView(e))return null;if(this.isString(e)&&(s=function(e){var t;if("JPEG"!==a(e))throw new Error("getJpegSize requires a binary string jpeg file");for(var n=256*e.charCodeAt(4)+e.charCodeAt(5),r=4,i=e.length;r<i;){if(r+=n,255!==e.charCodeAt(r))throw new Error("getJpegSize could not find the size of the image");if(192===e.charCodeAt(r+1)||193===e.charCodeAt(r+1)||194===e.charCodeAt(r+1)||195===e.charCodeAt(r+1)||196===e.charCodeAt(r+1)||197===e.charCodeAt(r+1)||198===e.charCodeAt(r+1)||199===e.charCodeAt(r+1))return t=256*e.charCodeAt(r+5)+e.charCodeAt(r+6),[256*e.charCodeAt(r+7)+e.charCodeAt(r+8),t,e.charCodeAt(r+9)];r+=2,n=256*e.charCodeAt(r)+e.charCodeAt(r+1)}}(e)),this.isArrayBuffer(e)&&(e=new Uint8Array(e)),this.isArrayBufferView(e)&&(s=function(e){if(65496!=(e[0]<<8|e[1]))throw new Error("Supplied data is not a JPEG");for(var t,n=e.length,r=(e[4]<<8)+e[5],a=4;a<n;){if(r=((t=h(e,a+=r))[2]<<8)+t[3],(192===t[1]||194===t[1])&&255===t[0]&&7<r)return{width:((t=h(e,a+5))[2]<<8)+t[3],height:(t[0]<<8)+t[1],numcomponents:t[4]};a+=2}throw new Error("getJpegSizeFromBytes could not find the size of the image")}(e),e=i||this.arrayBufferToBinaryString(e)),void 0===o)switch(s.numcomponents){case 1:o=this.color_spaces.DEVICE_GRAY;break;case 4:o=this.color_spaces.DEVICE_CMYK;break;default:case 3:o=this.color_spaces.DEVICE_RGB}return this.createImageInfo(e,s.width,s.height,o,8,l,t,n)},t.processJPG=function(){return this.processJPEG.apply(this,arguments)},t.getImageProperties=function(e){var n,r,a="";if(c(e)&&(e=u(e)),this.isString(e)&&(""!==(a=this.convertStringToImageData(e))?e=a:void 0!==(a=t.loadFile(e))&&(e=a)),r=this.getImageFileTypeByImageData(e),!l(r))throw new Error("addImage does not support files of type '"+r+"', please ensure that a plugin for '"+r+"' support is added.");if(this.supportsArrayBuffer()&&(e instanceof Uint8Array||(e=this.binaryStringToUint8Array(e))),!(n=this["process"+r.toUpperCase()](e)))throw new Error("An unknown error occurred whilst processing the image");return{fileType:r,width:n.w,height:n.h,colorSpace:n.cs,compressionMode:n.f,bitsPerComponent:n.bpc}}}(ce.API),t=ce.API,ce.API.events.push(["addPage",function(e){this.internal.getPageInfo(e.pageNumber).pageContext.annotations=[]}]),t.events.push(["putPage",function(e){for(var t=this.internal.getPageInfoByObjId(e.objId),n=e.pageContext.annotations,r=function(e){if(void 0!==e&&""!=e)return!0},a=!1,i=0;i<n.length&&!a;i++)switch((l=n[i]).type){case"link":if(r(l.options.url)||r(l.options.pageNumber)){a=!0;break}case"reference":case"text":case"freetext":a=!0}if(0!=a){this.internal.write("/Annots ["),this.internal.pageSize.height;var o=this.internal.getCoordinateString,s=this.internal.getVerticalCoordinateString;for(i=0;i<n.length;i++){var l;switch((l=n[i]).type){case"reference":this.internal.write(" "+l.object.objId+" 0 R ");break;case"text":var c=this.internal.newAdditionalObject(),u=this.internal.newAdditionalObject(),f=l.title||"Note";m="<</Type /Annot /Subtype /Text "+(d="/Rect ["+o(l.bounds.x)+" "+s(l.bounds.y+l.bounds.h)+" "+o(l.bounds.x+l.bounds.w)+" "+s(l.bounds.y)+"] ")+"/Contents ("+l.contents+")",m+=" /Popup "+u.objId+" 0 R",m+=" /P "+t.objId+" 0 R",m+=" /T ("+f+") >>",c.content=m;var h=c.objId+" 0 R";m="<</Type /Annot /Subtype /Popup "+(d="/Rect ["+o(l.bounds.x+30)+" "+s(l.bounds.y+l.bounds.h)+" "+o(l.bounds.x+l.bounds.w+30)+" "+s(l.bounds.y)+"] ")+" /Parent "+h,l.open&&(m+=" /Open true"),m+=" >>",u.content=m,this.internal.write(c.objId,"0 R",u.objId,"0 R");break;case"freetext":var d="/Rect ["+o(l.bounds.x)+" "+s(l.bounds.y)+" "+o(l.bounds.x+l.bounds.w)+" "+s(l.bounds.y+l.bounds.h)+"] ",p=l.color||"#000000";m="<</Type /Annot /Subtype /FreeText "+d+"/Contents ("+l.contents+")",m+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+p+")",m+=" /Border [0 0 0]",m+=" >>",this.internal.write(m);break;case"link":if(l.options.name){var g=this.annotations._nameMap[l.options.name];l.options.pageNumber=g.page,l.options.top=g.y}else l.options.top||(l.options.top=0);d="/Rect ["+o(l.x)+" "+s(l.y)+" "+o(l.x+l.w)+" "+s(l.y+l.h)+"] ";var m="";if(l.options.url)m="<</Type /Annot /Subtype /Link "+d+"/Border [0 0 0] /A <</S /URI /URI ("+l.options.url+") >>";else if(l.options.pageNumber)switch(m="<</Type /Annot /Subtype /Link "+d+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(l.options.pageNumber).objId+" 0 R",l.options.magFactor=l.options.magFactor||"XYZ",l.options.magFactor){case"Fit":m+=" /Fit]";break;case"FitH":m+=" /FitH "+l.options.top+"]";break;case"FitV":l.options.left=l.options.left||0,m+=" /FitV "+l.options.left+"]";break;case"XYZ":default:var v=s(l.options.top);l.options.left=l.options.left||0,void 0===l.options.zoom&&(l.options.zoom=0),m+=" /XYZ "+l.options.left+" "+v+" "+l.options.zoom+"]"}""!=m&&(m+=" >>",this.internal.write(m))}}this.internal.write("]")}}]),t.createAnnotation=function(e){var t=this.internal.getCurrentPageInfo();switch(e.type){case"link":this.link(e.bounds.x,e.bounds.y,e.bounds.w,e.bounds.h,e);break;case"text":case"freetext":t.pageContext.annotations.push(e)}},t.link=function(e,t,n,r,a){this.internal.getCurrentPageInfo().pageContext.annotations.push({x:e,y:t,w:n,h:r,options:a,type:"link"})},t.textWithLink=function(e,t,n,r){var a=this.getTextWidth(e),i=this.internal.getLineHeight()/this.internal.scaleFactor;return this.text(e,t,n),n+=.2*i,this.link(t,n-i,a,i,r),a},t.getTextWidth=function(e){var t=this.internal.getFontSize();return this.getStringUnitWidth(e)*t/this.internal.scaleFactor},function(e){var t={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},n={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},r={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},a=[1570,1571,1573,1575];e.__arabicParser__={};var i=e.__arabicParser__.isInArabicSubstitutionA=function(e){return void 0!==t[e.charCodeAt(0)]},o=e.__arabicParser__.isArabicLetter=function(e){return"string"==typeof e&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(e)},s=e.__arabicParser__.isArabicEndLetter=function(e){return o(e)&&i(e)&&t[e.charCodeAt(0)].length<=2},l=e.__arabicParser__.isArabicAlfLetter=function(e){return o(e)&&0<=a.indexOf(e.charCodeAt(0))},c=(e.__arabicParser__.arabicLetterHasIsolatedForm=function(e){return o(e)&&i(e)&&1<=t[e.charCodeAt(0)].length},e.__arabicParser__.arabicLetterHasFinalForm=function(e){return o(e)&&i(e)&&2<=t[e.charCodeAt(0)].length}),u=(e.__arabicParser__.arabicLetterHasInitialForm=function(e){return o(e)&&i(e)&&3<=t[e.charCodeAt(0)].length},e.__arabicParser__.arabicLetterHasMedialForm=function(e){return o(e)&&i(e)&&4==t[e.charCodeAt(0)].length}),f=e.__arabicParser__.resolveLigatures=function(e){var t=0,r=n,a=0,i="",o=0;for(t=0;t<e.length;t+=1)void 0!==r[e.charCodeAt(t)]?(o++,"number"==typeof(r=r[e.charCodeAt(t)])&&(a=-1!==(a=h(e.charAt(t),e.charAt(t-o),e.charAt(t+1)))?a:0,i+=String.fromCharCode(r),r=n,o=0),t===e.length-1&&(r=n,i+=e.charAt(t-(o-1)),t-=o-1,o=0)):(r=n,i+=e.charAt(t-o),t-=o,o=0);return i},h=(e.__arabicParser__.isArabicDiacritic=function(e){return void 0!==e&&void 0!==r[e.charCodeAt(0)]},e.__arabicParser__.getCorrectForm=function(e,t,n){return o(e)?!1===i(e)?-1:!c(e)||!o(t)&&!o(n)||!o(n)&&s(t)||s(e)&&!o(t)||s(e)&&l(t)||s(e)&&s(t)?0:u(e)&&o(t)&&!s(t)&&o(n)&&c(n)?3:s(e)||!o(n)?1:2:-1}),d=e.__arabicParser__.processArabic=e.processArabic=function(e){var n=0,r=0,a=0,i="",s="",l="",c=(e=e||"").split("\\s+"),u=[];for(n=0;n<c.length;n+=1){for(u.push(""),r=0;r<c[n].length;r+=1)i=c[n][r],s=c[n][r-1],l=c[n][r+1],o(i)?(a=h(i,s,l),u[n]+=-1!==a?String.fromCharCode(t[i.charCodeAt(0)][a]):i):u[n]+=i;u[n]=f(u[n])}return u.join(" ")};e.events.push(["preProcessText",function(e){var t=e.text,n=(e.x,e.y,e.options||{}),r=(e.mutex,n.lang,[]);if("[object Array]"===Object.prototype.toString.call(t)){var a=0;for(r=[],a=0;a<t.length;a+=1)"[object Array]"===Object.prototype.toString.call(t[a])?r.push([d(t[a][0]),t[a][1],t[a][2]]):r.push([d(t[a])]);e.text=r}else e.text=d(t)}])}(ce.API),ce.API.autoPrint=function(e){var t;switch((e=e||{}).variant=e.variant||"non-conform",e.variant){case"javascript":this.addJS("print({});");break;case"non-conform":default:this.internal.events.subscribe("postPutResources",function(){t=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /Named"),this.internal.out("/Type /Action"),this.internal.out("/N /Print"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+t+" 0 R")})}return this},n=ce.API,(r=function(){var e=void 0;Object.defineProperty(this,"pdf",{get:function(){return e},set:function(t){e=t}});var t=150;Object.defineProperty(this,"width",{get:function(){return t},set:function(e){t=isNaN(e)||!1===Number.isInteger(e)||e<0?150:e,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=t+1)}});var n=300;Object.defineProperty(this,"height",{get:function(){return n},set:function(e){n=isNaN(e)||!1===Number.isInteger(e)||e<0?300:e,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=n+1)}});var r=[];Object.defineProperty(this,"childNodes",{get:function(){return r},set:function(e){r=e}});var a={};Object.defineProperty(this,"style",{get:function(){return a},set:function(e){a=e}}),Object.defineProperty(this,"parentNode",{get:function(){return!1}})}).prototype.getContext=function(e,t){var n;if("2d"!==(e=e||"2d"))return null;for(n in t)this.pdf.context2d.hasOwnProperty(n)&&(this.pdf.context2d[n]=t[n]);return(this.pdf.context2d._canvas=this).pdf.context2d},r.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},n.events.push(["initialized",function(){this.canvas=new r,this.canvas.pdf=this}]),a=ce.API,o={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},s=1,l=function(e,t,n,r,a){o={x:e,y:t,w:n,h:r,ln:a}},c=function(){return o},u={left:0,top:0,bottom:0},a.setHeaderFunction=function(e){i=e},a.getTextDimensions=function(e,t){var n=this.table_font_size||this.internal.getFontSize(),r=(this.internal.getFont().fontStyle,(t=t||{}).scaleFactor||this.internal.scaleFactor),a=0,i=0,o=0;if("string"==typeof e)0!=(a=this.getStringUnitWidth(e)*n)&&(i=1);else{if("[object Array]"!==Object.prototype.toString.call(e))throw new Error("getTextDimensions expects text-parameter to be of type String or an Array of Strings.");for(var s=0;s<e.length;s++)a<(o=this.getStringUnitWidth(e[s])*n)&&(a=o);0!==a&&(i=e.length)}return{w:a/=r,h:Math.max((i*n*this.getLineHeightFactor()-n*(this.getLineHeightFactor()-1))/r,0)}},a.cellAddPage=function(){var e=this.margins||u;this.addPage(),l(e.left,e.top,void 0,void 0),s+=1},a.cellInitialize=function(){o={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},s=1},a.cell=function(e,t,n,r,a,i,o){var s=c(),f=!1;if(void 0!==s.ln)if(s.ln===i)e=s.x+s.w,t=s.y;else{var h=this.margins||u;s.y+s.h+r+13>=this.internal.pageSize.getHeight()-h.bottom&&(this.cellAddPage(),f=!0,this.printHeaders&&this.tableHeaderRow&&this.printHeaderRow(i,!0)),t=c().y+c().h,f&&(t=23)}if(void 0!==a[0])if(this.printingHeaderRow?this.rect(e,t,n,r,"FD"):this.rect(e,t,n,r),"right"===o){a instanceof Array||(a=[a]);for(var d=0;d<a.length;d++){var p=a[d],g=this.getStringUnitWidth(p)*this.internal.getFontSize()/this.internal.scaleFactor;this.text(p,e+n-g-3,t+this.internal.getLineHeight()*(d+1))}}else this.text(a,e+3,t+this.internal.getLineHeight());return l(e,t,n,r,i),this},a.arrayMax=function(e,t){var n,r,a,i=e[0];for(n=0,r=e.length;n<r;n+=1)a=e[n],t?-1===t(i,a)&&(i=a):i<a&&(i=a);return i},a.table=function(e,t,n,r,i){if(!n)throw"No data for PDF table";var l,c,f,h,d,p,g,m,v,b,y=[],w=[],S={},x={},E=[],_=[],k=!1,A=!0,C=12,T=u;if(T.width=this.internal.pageSize.getWidth(),i&&(!0===i.autoSize&&(k=!0),!1===i.printHeaders&&(A=!1),i.fontSize&&(C=i.fontSize),i.css&&void 0!==i.css["font-size"]&&(C=16*i.css["font-size"]),i.margins&&(T=i.margins)),this.lnMod=0,o={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},s=1,this.printHeaders=A,this.margins=T,this.setFontSize(C),this.table_font_size=C,null==r)y=Object.keys(n[0]);else if(r[0]&&"string"!=typeof r[0])for(c=0,f=r.length;c<f;c+=1)l=r[c],y.push(l.name),w.push(l.prompt),x[l.name]=l.width*(19.049976/25.4);else y=r;if(k)for(b=function(e){return e[l]},c=0,f=y.length;c<f;c+=1){for(S[l=y[c]]=n.map(b),E.push(this.getTextDimensions(w[c]||l,{scaleFactor:1}).w),g=0,h=(p=S[l]).length;g<h;g+=1)d=p[g],E.push(this.getTextDimensions(d,{scaleFactor:1}).w);x[l]=a.arrayMax(E),E=[]}if(A){var R=this.calculateLineHeight(y,x,w.length?w:y);for(c=0,f=y.length;c<f;c+=1)l=y[c],_.push([e,t,x[l],R,String(w.length?w[c]:l)]);this.setTableHeaderRow(_),this.printHeaderRow(1,!1)}for(c=0,f=n.length;c<f;c+=1)for(m=n[c],R=this.calculateLineHeight(y,x,m),g=0,v=y.length;g<v;g+=1)l=y[g],this.cell(e,t,x[l],R,m[l],c+2,l.align);return this.lastCellPos=o,this.table_x=e,this.table_y=t,this},a.calculateLineHeight=function(e,t,n){for(var r,a=0,i=0;i<e.length;i++){n[r=e[i]]=this.splitTextToSize(String(n[r]),t[r]-3);var o=this.internal.getLineHeight()*n[r].length+3;a<o&&(a=o)}return a},a.setTableHeaderRow=function(e){this.tableHeaderRow=e},a.printHeaderRow=function(e,t){if(!this.tableHeaderRow)throw"Property tableHeaderRow does not exist.";var n,r,a,o;if(this.printingHeaderRow=!0,void 0!==i){var c=i(this,s);l(c[0],c[1],c[2],c[3],-1)}this.setFontStyle("bold");var u=[];for(a=0,o=this.tableHeaderRow.length;a<o;a+=1)this.setFillColor(200,200,200),n=this.tableHeaderRow[a],t&&(this.margins.top=13,n[1]=this.margins&&this.margins.top||0,u.push(n)),r=[].concat(n),this.cell.apply(this,r.concat(e));0<u.length&&this.setTableHeaderRow(u),this.setFontStyle("normal"),this.printingHeaderRow=!1},function(t,n){var r,a,i,o,s,l=function(e){return e=e||{},this.isStrokeTransparent=e.isStrokeTransparent||!1,this.strokeOpacity=e.strokeOpacity||1,this.strokeStyle=e.strokeStyle||"#000000",this.fillStyle=e.fillStyle||"#000000",this.isFillTransparent=e.isFillTransparent||!1,this.fillOpacity=e.fillOpacity||1,this.font=e.font||"10px sans-serif",this.textBaseline=e.textBaseline||"alphabetic",this.textAlign=e.textAlign||"left",this.lineWidth=e.lineWidth||1,this.lineJoin=e.lineJoin||"miter",this.lineCap=e.lineCap||"butt",this.path=e.path||[],this.transform=void 0!==e.transform?e.transform.clone():new P,this.globalCompositeOperation=e.globalCompositeOperation||"normal",this.globalAlpha=e.globalAlpha||1,this.clip_path=e.clip_path||[],this.currentPoint=e.currentPoint||new L,this.miterLimit=e.miterLimit||10,this.lastPoint=e.lastPoint||new L,this.ignoreClearRect="boolean"!=typeof e.ignoreClearRect||e.ignoreClearRect,this};t.events.push(["initialized",function(){this.context2d=new c(this),r=this.internal.f2,this.internal.f3,a=this.internal.getCoordinateString,i=this.internal.getVerticalCoordinateString,o=this.internal.getHorizontalCoordinate,s=this.internal.getVerticalCoordinate}]);var c=function(e){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}}),Object.defineProperty(this,"pdf",{get:function(){return e}});var t=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return t},set:function(e){t=Boolean(e)}});var n=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return n},set:function(e){n=Boolean(e)}});var r=0;Object.defineProperty(this,"posX",{get:function(){return r},set:function(e){isNaN(e)||(r=e)}});var a=0;Object.defineProperty(this,"posY",{get:function(){return a},set:function(e){isNaN(e)||(a=e)}});var i=!1;Object.defineProperty(this,"autoPaging",{get:function(){return i},set:function(e){i=Boolean(e)}});var o=0;Object.defineProperty(this,"lastBreak",{get:function(){return o},set:function(e){o=e}});var s=[];Object.defineProperty(this,"pageBreaks",{get:function(){return s},set:function(e){s=e}});var c=new l;Object.defineProperty(this,"ctx",{get:function(){return c},set:function(e){e instanceof l&&(c=e)}}),Object.defineProperty(this,"path",{get:function(){return c.path},set:function(e){c.path=e}});var f=[];Object.defineProperty(this,"ctxStack",{get:function(){return f},set:function(e){f=e}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(e){var t;t=u(e),this.ctx.fillStyle=t.style,this.ctx.isFillTransparent=0===t.a,this.ctx.fillOpacity=t.a,this.pdf.setFillColor(t.r,t.g,t.b,{a:t.a}),this.pdf.setTextColor(t.r,t.g,t.b,{a:t.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(e){var t=u(e);this.ctx.strokeStyle=t.style,this.ctx.isStrokeTransparent=0===t.a,this.ctx.strokeOpacity=t.a,0===t.a?this.pdf.setDrawColor(255,255,255):(t.a,this.pdf.setDrawColor(t.r,t.g,t.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(e){-1!==["butt","round","square"].indexOf(e)&&(this.ctx.lineCap=e,this.pdf.setLineCap(e))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(e){isNaN(e)||(this.ctx.lineWidth=e,this.pdf.setLineWidth(e))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(e){-1!==["bevel","round","miter"].indexOf(e)&&(this.ctx.lineJoin=e,this.pdf.setLineJoin(e))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(e){isNaN(e)||(this.ctx.miterLimit=e,this.pdf.setMiterLimit(e))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(e){this.ctx.textBaseline=e}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(e){-1!==["right","end","center","left","start"].indexOf(e)&&(this.ctx.textAlign=e)}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(e){var t;if(this.ctx.font=e,null!==(t=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z]+?)\s*$/i.exec(e))){var n=t[1],r=(t[2],t[3]),a=t[4],i=t[5],o=t[6];a="px"===i?Math.floor(parseFloat(a)):"em"===i?Math.floor(parseFloat(a)*this.pdf.getFontSize()):Math.floor(parseFloat(a)),this.pdf.setFontSize(a);var s="";("bold"===r||700<=parseInt(r,10)||"bold"===n)&&(s="bold"),"italic"===n&&(s+="italic"),0===s.length&&(s="normal");for(var l="",c=o.toLowerCase().replace(/"|'/g,"").split(/\s*,\s*/),u={arial:"Helvetica",verdana:"Helvetica",helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",courier:"Courier",times:"Times",cursive:"Times",fantasy:"Times",serif:"Times"},f=0;f<c.length;f++){if(void 0!==this.pdf.internal.getFont(c[f],s,{noFallback:!0,disableWarning:!0})){l=c[f];break}if("bolditalic"===s&&void 0!==this.pdf.internal.getFont(c[f],"bold",{noFallback:!0,disableWarning:!0}))l=c[f],s="bold";else if(void 0!==this.pdf.internal.getFont(c[f],"normal",{noFallback:!0,disableWarning:!0})){l=c[f],s="normal";break}}if(""===l)for(f=0;f<c.length;f++)if(u[c[f]]){l=u[c[f]];break}l=""===l?"Times":l,this.pdf.setFont(l,s)}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(e){this.ctx.globalCompositeOperation=e}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(e){this.ctx.globalAlpha=e}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(e){this.ctx.ignoreClearRect=Boolean(e)}})};c.prototype.fill=function(){m.call(this,"fill",!1)},c.prototype.stroke=function(){m.call(this,"stroke",!1)},c.prototype.beginPath=function(){this.path=[{type:"begin"}]},c.prototype.moveTo=function(e,t){if(isNaN(e)||isNaN(t))throw console.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var n=this.ctx.transform.applyToPoint(new L(e,t));this.path.push({type:"mt",x:n.x,y:n.y}),this.ctx.lastPoint=new L(e,t)},c.prototype.closePath=function(){var t=new L(0,0),n=0;for(n=this.path.length-1;-1!==n;n--)if("begin"===this.path[n].type&&"object"===e(this.path[n+1])&&"number"==typeof this.path[n+1].x){t=new L(this.path[n+1].x,this.path[n+1].y),this.path.push({type:"lt",x:t.x,y:t.y});break}"object"===e(this.path[n+2])&&"number"==typeof this.path[n+2].x&&this.path.push(JSON.parse(JSON.stringify(this.path[n+2]))),this.path.push({type:"close"}),this.ctx.lastPoint=new L(t.x,t.y)},c.prototype.lineTo=function(e,t){if(isNaN(e)||isNaN(t))throw console.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var n=this.ctx.transform.applyToPoint(new L(e,t));this.path.push({type:"lt",x:n.x,y:n.y}),this.ctx.lastPoint=new L(n.x,n.y)},c.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),m.call(this,null,!0)},c.prototype.quadraticCurveTo=function(e,t,n,r){if(isNaN(n)||isNaN(r)||isNaN(e)||isNaN(t))throw console.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var a=this.ctx.transform.applyToPoint(new L(n,r)),i=this.ctx.transform.applyToPoint(new L(e,t));this.path.push({type:"qct",x1:i.x,y1:i.y,x:a.x,y:a.y}),this.ctx.lastPoint=new L(a.x,a.y)},c.prototype.bezierCurveTo=function(e,t,n,r,a,i){if(isNaN(a)||isNaN(i)||isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw console.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var o=this.ctx.transform.applyToPoint(new L(a,i)),s=this.ctx.transform.applyToPoint(new L(e,t)),l=this.ctx.transform.applyToPoint(new L(n,r));this.path.push({type:"bct",x1:s.x,y1:s.y,x2:l.x,y2:l.y,x:o.x,y:o.y}),this.ctx.lastPoint=new L(o.x,o.y)},c.prototype.arc=function(e,t,n,r,a,i){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||isNaN(a))throw console.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(i=Boolean(i),!this.ctx.transform.isIdentity){var o=this.ctx.transform.applyToPoint(new L(e,t));e=o.x,t=o.y;var s=this.ctx.transform.applyToPoint(new L(0,n)),l=this.ctx.transform.applyToPoint(new L(0,0));n=Math.sqrt(Math.pow(s.x-l.x,2)+Math.pow(s.y-l.y,2))}Math.abs(a-r)>=2*Math.PI&&(r=0,a=2*Math.PI),this.path.push({type:"arc",x:e,y:t,radius:n,startAngle:r,endAngle:a,counterclockwise:i})},c.prototype.arcTo=function(e,t,n,r,a){throw new Error("arcTo not implemented.")},c.prototype.rect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw console.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(e,t),this.lineTo(e+n,t),this.lineTo(e+n,t+r),this.lineTo(e,t+r),this.lineTo(e,t),this.lineTo(e+n,t),this.lineTo(e,t)},c.prototype.fillRect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw console.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!f.call(this)){var a={};"butt"!==this.lineCap&&(a.lineCap=this.lineCap,this.lineCap="butt"),"miter"!==this.lineJoin&&(a.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(e,t,n,r),this.fill(),a.hasOwnProperty("lineCap")&&(this.lineCap=a.lineCap),a.hasOwnProperty("lineJoin")&&(this.lineJoin=a.lineJoin)}},c.prototype.strokeRect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw console.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");h.call(this)||(this.beginPath(),this.rect(e,t,n,r),this.stroke())},c.prototype.clearRect=function(e,t,n,r){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r))throw console.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(e,t,n,r))},c.prototype.save=function(e){e="boolean"!=typeof e||e;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,n=0;n<this.pdf.internal.getNumberOfPages();n++)this.pdf.setPage(n+1),this.pdf.internal.out("q");if(this.pdf.setPage(t),e){this.ctx.fontSize=this.pdf.internal.getFontSize();var r=new l(this.ctx);this.ctxStack.push(this.ctx),this.ctx=r}},c.prototype.restore=function(e){e="boolean"!=typeof e||e;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,n=0;n<this.pdf.internal.getNumberOfPages();n++)this.pdf.setPage(n+1),this.pdf.internal.out("Q");this.pdf.setPage(t),e&&0!==this.ctxStack.length&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin)},c.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var u=function(e){var t,n,r,a;if(!0===e.isCanvasGradient&&(e=e.getColor()),!e)return{r:0,g:0,b:0,a:0,style:e};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(e))a=r=n=t=0;else{var i=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(e);if(null!==i)t=parseInt(i[1]),n=parseInt(i[2]),r=parseInt(i[3]),a=1;else if(null!==(i=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d\.]+)\s*\)/.exec(e)))t=parseInt(i[1]),n=parseInt(i[2]),r=parseInt(i[3]),a=parseFloat(i[4]);else{if(a=1,"string"==typeof e&&"#"!==e.charAt(0)){var o=new RGBColor(e);e=o.ok?o.toHex():"#000000"}4===e.length?(t=e.substring(1,2),t+=t,n=e.substring(2,3),n+=n,r=e.substring(3,4),r+=r):(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7)),t=parseInt(t,16),n=parseInt(n,16),r=parseInt(r,16)}}return{r:t,g:n,b:r,a:a,style:e}},f=function(){return this.ctx.isFillTransparent||0==this.globalAlpha},h=function(){return Boolean(this.ctx.isStrokeTransparent||0==this.globalAlpha)};c.prototype.fillText=function(e,t,n,r){if(isNaN(t)||isNaN(n)||"string"!=typeof e)throw console.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(r=isNaN(r)?void 0:r,!f.call(this)){n=b.call(this,n);var a=R(this.ctx.transform.rotation),i=this.ctx.transform.scaleX;E.call(this,{text:e,x:t,y:n,scale:i,angle:a,align:this.textAlign,maxWidth:r})}},c.prototype.strokeText=function(e,t,n,r){if(isNaN(t)||isNaN(n)||"string"!=typeof e)throw console.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!h.call(this)){r=isNaN(r)?void 0:r,n=b.call(this,n);var a=R(this.ctx.transform.rotation),i=this.ctx.transform.scaleX;E.call(this,{text:e,x:t,y:n,scale:i,renderingMode:"stroke",angle:a,align:this.textAlign,maxWidth:r})}},c.prototype.measureText=function(e){if("string"!=typeof e)throw console.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var t=this.pdf,n=this.pdf.internal.scaleFactor,r=t.internal.getFontSize(),a=t.getStringUnitWidth(e)*r/t.internal.scaleFactor;return new function(e){var t=(e=e||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return t}}),this}({width:a*=Math.round(96*n/72*1e4)/1e4})},c.prototype.scale=function(e,t){if(isNaN(e)||isNaN(t))throw console.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var n=new P(e,0,0,t,0,0);this.ctx.transform=this.ctx.transform.multiply(n)},c.prototype.rotate=function(e){if(isNaN(e))throw console.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var t=new P(Math.cos(e),Math.sin(e),-Math.sin(e),Math.cos(e),0,0);this.ctx.transform=this.ctx.transform.multiply(t)},c.prototype.translate=function(e,t){if(isNaN(e)||isNaN(t))throw console.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var n=new P(1,0,0,1,e,t);this.ctx.transform=this.ctx.transform.multiply(n)},c.prototype.transform=function(e,t,n,r,a,i){if(isNaN(e)||isNaN(t)||isNaN(n)||isNaN(r)||isNaN(a)||isNaN(i))throw console.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var o=new P(e,t,n,r,a,i);this.ctx.transform=this.ctx.transform.multiply(o)},c.prototype.setTransform=function(e,t,n,r,a,i){e=isNaN(e)?1:e,t=isNaN(t)?0:t,n=isNaN(n)?0:n,r=isNaN(r)?1:r,a=isNaN(a)?0:a,i=isNaN(i)?0:i,this.ctx.transform=new P(e,t,n,r,a,i)},c.prototype.drawImage=function(e,t,n,r,a,i,o,s,l){var c=this.pdf.getImageProperties(e),u=1,f=1,h=1,p=1;void 0!==r&&void 0!==s&&(h=s/r,p=l/a,u=c.width/r*s/r,f=c.height/a*l/a),void 0===i&&(i=t,o=n,n=t=0),void 0!==r&&void 0===s&&(s=r,l=a),void 0===r&&void 0===s&&(s=c.width,l=c.height);var m=this.ctx.transform.decompose(),b=R(m.rotate.shx);m.scale.sx,m.scale.sy;for(var y,w=new P,S=((w=(w=(w=w.multiply(m.translate)).multiply(m.skew)).multiply(m.scale)).applyToPoint(new L(s,l)),w.applyToRectangle(new O(i-t*h,o-n*p,r*u,a*f))),x=d.call(this,S),E=[],_=0;_<x.length;_+=1)-1===E.indexOf(x[_])&&E.push(x[_]);if(E.sort(),this.autoPaging)for(var k=E[0],A=E[E.length-1],C=k;C<A+1;C++){if(this.pdf.setPage(C),0!==this.ctx.clip_path.length){var T=this.path;y=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=g(y,this.posX,-1*this.pdf.internal.pageSize.height*(C-1)+this.posY),v.call(this,"fill",!0),this.path=T}var N=JSON.parse(JSON.stringify(S));N=g([N],this.posX,-1*this.pdf.internal.pageSize.height*(C-1)+this.posY)[0],this.pdf.addImage(e,"jpg",N.x,N.y,N.w,N.h,null,null,b)}else this.pdf.addImage(e,"jpg",S.x,S.y,S.w,S.h,null,null,b)};var d=function(e,t,n){var r=[];switch(t=t||this.pdf.internal.pageSize.width,n=n||this.pdf.internal.pageSize.height,e.type){default:case"mt":case"lt":r.push(Math.floor((e.y+this.posY)/n)+1);break;case"arc":r.push(Math.floor((e.y+this.posY-e.radius)/n)+1),r.push(Math.floor((e.y+this.posY+e.radius)/n)+1);break;case"qct":var a=B(this.ctx.lastPoint.x,this.ctx.lastPoint.y,e.x1,e.y1,e.x,e.y);r.push(Math.floor(a.y/n)+1),r.push(Math.floor((a.y+a.h)/n)+1);break;case"bct":var i=I(this.ctx.lastPoint.x,this.ctx.lastPoint.y,e.x1,e.y1,e.x2,e.y2,e.x,e.y);r.push(Math.floor(i.y/n)+1),r.push(Math.floor((i.y+i.h)/n)+1);break;case"rect":r.push(Math.floor((e.y+this.posY)/n)+1),r.push(Math.floor((e.y+e.h+this.posY)/n)+1)}for(var o=0;o<r.length;o+=1)for(;this.pdf.internal.getNumberOfPages()<r[o];)p.call(this);return r},p=function(){var e=this.fillStyle,t=this.strokeStyle,n=this.font,r=this.lineCap,a=this.lineWidth,i=this.lineJoin;this.pdf.addPage(),this.fillStyle=e,this.strokeStyle=t,this.font=n,this.lineCap=r,this.lineWidth=a,this.lineJoin=i},g=function(e,t,n){for(var r=0;r<e.length;r++)switch(e[r].type){case"bct":e[r].x2+=t,e[r].y2+=n;case"qct":e[r].x1+=t,e[r].y1+=n;case"mt":case"lt":case"arc":default:e[r].x+=t,e[r].y+=n}return e},m=function(e,t){for(var n,r,a=this.fillStyle,i=this.strokeStyle,o=(this.font,this.lineCap),s=this.lineWidth,l=this.lineJoin,c=JSON.parse(JSON.stringify(this.path)),u=JSON.parse(JSON.stringify(this.path)),f=[],h=0;h<u.length;h++)if(void 0!==u[h].x)for(var m=d.call(this,u[h]),b=0;b<m.length;b+=1)-1===f.indexOf(m[b])&&f.push(m[b]);for(h=0;h<f.length;h++)for(;this.pdf.internal.getNumberOfPages()<f[h];)p.call(this);if(f.sort(),this.autoPaging){var y=f[0],w=f[f.length-1];for(h=y;h<w+1;h++){if(this.pdf.setPage(h),this.fillStyle=a,this.strokeStyle=i,this.lineCap=o,this.lineWidth=s,this.lineJoin=l,0!==this.ctx.clip_path.length){var S=this.path;n=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=g(n,this.posX,-1*this.pdf.internal.pageSize.height*(h-1)+this.posY),v.call(this,e,!0),this.path=S}r=JSON.parse(JSON.stringify(c)),this.path=g(r,this.posX,-1*this.pdf.internal.pageSize.height*(h-1)+this.posY),!1!==t&&0!==h||v.call(this,e,t)}}else v.call(this,e,t);this.path=c},v=function(e,t){if(("stroke"!==e||t||!h.call(this))&&("stroke"===e||t||!f.call(this))){var n=[];this.ctx.globalAlpha,this.ctx.fillOpacity<1&&this.ctx.fillOpacity;for(var r,a=this.path,i=0;i<a.length;i++){var o=a[i];switch(o.type){case"begin":n.push({begin:!0});break;case"close":n.push({close:!0});break;case"mt":n.push({start:o,deltas:[],abs:[]});break;case"lt":var s=n.length;if(!isNaN(a[i-1].x)){var l=[o.x-a[i-1].x,o.y-a[i-1].y];if(0<s)for(;0<=s;s--)if(!0!==n[s-1].close&&!0!==n[s-1].begin){n[s-1].deltas.push(l),n[s-1].abs.push(o);break}}break;case"bct":l=[o.x1-a[i-1].x,o.y1-a[i-1].y,o.x2-a[i-1].x,o.y2-a[i-1].y,o.x-a[i-1].x,o.y-a[i-1].y],n[n.length-1].deltas.push(l);break;case"qct":var c=a[i-1].x+2/3*(o.x1-a[i-1].x),u=a[i-1].y+2/3*(o.y1-a[i-1].y),d=o.x+2/3*(o.x1-o.x),p=o.y+2/3*(o.y1-o.y),g=o.x,m=o.y;l=[c-a[i-1].x,u-a[i-1].y,d-a[i-1].x,p-a[i-1].y,g-a[i-1].x,m-a[i-1].y],n[n.length-1].deltas.push(l);break;case"arc":n.push({deltas:[],abs:[],arc:!0}),Array.isArray(n[n.length-1].abs)&&n[n.length-1].abs.push(o)}}for(r=t?null:"stroke"===e?"stroke":"fill",i=0;i<n.length;i++){if(n[i].arc)for(var v=n[i].abs,b=0;b<v.length;b++){var x=v[b];if(void 0!==x.startAngle){var E=R(x.startAngle),A=R(x.endAngle),C=x.x,T=x.y;y.call(this,C,T,x.radius,E,A,x.counterclockwise,r,t)}else _.call(this,x.x,x.y)}n[i].arc||!0===n[i].close||!0===n[i].begin||(C=n[i].start.x,T=n[i].start.y,k.call(this,n[i].deltas,C,T,null,null))}r&&w.call(this,r),t&&S.call(this)}},b=function(e){var t=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,n=t*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return e-n;case"top":return e+t-n;case"hanging":return e+t-2*n;case"middle":return e+t/2-n;case"ideographic":return e;case"alphabetic":default:return e}};c.prototype.createLinearGradient=function(){var e=function(){};return e.colorStops=[],e.addColorStop=function(e,t){this.colorStops.push([e,t])},e.getColor=function(){return 0===this.colorStops.length?"#000000":this.colorStops[0][1]},e.isCanvasGradient=!0,e},c.prototype.createPattern=function(){return this.createLinearGradient()},c.prototype.createRadialGradient=function(){return this.createLinearGradient()};var y=function(e,t,n,r,a,i,o,s){this.pdf.internal.scaleFactor;for(var l=N(r),c=N(a),u=C.call(this,n,l,c,i),f=0;f<u.length;f++){var h=u[f];0===f&&x.call(this,h.x1+e,h.y1+t),A.call(this,e,t,h.x2,h.y2,h.x3,h.y3,h.x4,h.y4)}s?S.call(this):w.call(this,o)},w=function(e){switch(e){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},S=function(){this.pdf.clip()},x=function(e,t){this.pdf.internal.out(a(e)+" "+i(t)+" m")},E=function(e){var t;switch(e.align){case"right":case"end":t="right";break;case"center":t="center";break;case"left":case"start":default:t="left"}var n=this.ctx.transform.applyToPoint(new L(e.x,e.y)),r=this.ctx.transform.decompose(),a=new P;a=(a=(a=a.multiply(r.translate)).multiply(r.skew)).multiply(r.scale);for(var i,o=this.pdf.getTextDimensions(e.text),s=this.ctx.transform.applyToRectangle(new O(e.x,e.y,o.w,o.h)),l=a.applyToRectangle(new O(e.x,e.y-o.h,o.w,o.h)),c=d.call(this,l),u=[],f=0;f<c.length;f+=1)-1===u.indexOf(c[f])&&u.push(c[f]);if(u.sort(),!0===this.autoPaging)for(var h=u[0],p=u[u.length-1],m=h;m<p+1;m++){if(this.pdf.setPage(m),0!==this.ctx.clip_path.length){var b=this.path;i=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=g(i,this.posX,-1*this.pdf.internal.pageSize.height*(m-1)+this.posY),v.call(this,"fill",!0),this.path=b}var y=JSON.parse(JSON.stringify(s));if(y=g([y],this.posX,-1*this.pdf.internal.pageSize.height*(m-1)+this.posY)[0],.01<=e.scale){var w=this.pdf.internal.getFontSize();this.pdf.setFontSize(w*e.scale)}this.pdf.text(e.text,y.x,y.y,{angle:e.angle,align:t,renderingMode:e.renderingMode,maxWidth:e.maxWidth}),.01<=e.scale&&this.pdf.setFontSize(w)}else.01<=e.scale&&(w=this.pdf.internal.getFontSize(),this.pdf.setFontSize(w*e.scale)),this.pdf.text(e.text,n.x+this.posX,n.y+this.posY,{angle:e.angle,align:t,renderingMode:e.renderingMode,maxWidth:e.maxWidth}),.01<=e.scale&&this.pdf.setFontSize(w)},_=function(e,t,n,r){n=n||0,r=r||0,this.pdf.internal.out(a(e+n)+" "+i(t+r)+" l")},k=function(e,t,n){return this.pdf.lines(e,t,n,null,null)},A=function(e,t,n,a,i,l,c,u){this.pdf.internal.out([r(o(n+e)),r(s(a+t)),r(o(i+e)),r(s(l+t)),r(o(c+e)),r(s(u+t)),"c"].join(" "))},C=function(e,t,n,r){var a=2*Math.PI,i=t;(i<a||a<i)&&(i%=a);var o=n;(o<a||a<o)&&(o%=a);for(var s=[],l=Math.PI/2,c=r?-1:1,u=t,f=Math.min(a,Math.abs(o-i));1e-5<f;){var h=u+c*Math.min(f,l);s.push(T.call(this,e,u,h)),f-=Math.abs(h-u),u=h}return s},T=function(e,t,n){var r=(n-t)/2,a=e*Math.cos(r),i=e*Math.sin(r),o=a,s=-i,l=o*o+s*s,c=l+o*a+s*i,u=4/3*(Math.sqrt(2*l*c)-c)/(o*i-s*a),f=o-u*s,h=s+u*o,d=f,p=-h,g=r+t,m=Math.cos(g),v=Math.sin(g);return{x1:e*Math.cos(t),y1:e*Math.sin(t),x2:f*m-h*v,y2:f*v+h*m,x3:d*m-p*v,y3:d*v+p*m,x4:e*Math.cos(n),y4:e*Math.sin(n)}},R=function(e){return 180*e/Math.PI},N=function(e){return e*Math.PI/180},B=function(e,t,n,r,a,i){var o=e+.5*(n-e),s=t+.5*(r-t),l=a+.5*(n-a),c=i+.5*(r-i),u=Math.min(e,a,o,l),f=Math.max(e,a,o,l),h=Math.min(t,i,s,c),d=Math.max(t,i,s,c);return new O(u,h,f-u,d-h)},I=function(e,t,n,r,a,i,o,s){for(var l,c,u,f,h,d,p,g,m,v,b,y,w,S=n-e,x=r-t,E=a-n,_=i-r,k=o-a,A=s-i,C=0;C<41;C++)g=(d=(c=e+(l=C/40)*S)+l*((f=n+l*E)-c))+l*(f+l*(a+l*k-f)-d),m=(p=(u=t+l*x)+l*((h=r+l*_)-u))+l*(h+l*(i+l*A-h)-p),w=0==C?(y=v=g,b=m):(v=Math.min(v,g),b=Math.min(b,m),y=Math.max(y,g),Math.max(w,m));return new O(Math.round(v),Math.round(b),Math.round(y-v),Math.round(w-b))},L=function(e,t){var n=e||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return n},set:function(e){isNaN(e)||(n=parseFloat(e))}});var r=t||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return r},set:function(e){isNaN(e)||(r=parseFloat(e))}});var a="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return a},set:function(e){a=e.toString()}}),this},O=function(e,t,n,r){L.call(this,e,t),this.type="rect";var a=n||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return a},set:function(e){isNaN(e)||(a=parseFloat(e))}});var i=r||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return i},set:function(e){isNaN(e)||(i=parseFloat(e))}}),this},P=function(e,t,n,r,a,i){var o=[];return Object.defineProperty(this,"sx",{get:function(){return o[0]},set:function(e){o[0]=Math.round(1e5*e)/1e5}}),Object.defineProperty(this,"shy",{get:function(){return o[1]},set:function(e){o[1]=Math.round(1e5*e)/1e5}}),Object.defineProperty(this,"shx",{get:function(){return o[2]},set:function(e){o[2]=Math.round(1e5*e)/1e5}}),Object.defineProperty(this,"sy",{get:function(){return o[3]},set:function(e){o[3]=Math.round(1e5*e)/1e5}}),Object.defineProperty(this,"tx",{get:function(){return o[4]},set:function(e){o[4]=Math.round(1e5*e)/1e5}}),Object.defineProperty(this,"ty",{get:function(){return o[5]},set:function(e){o[5]=Math.round(1e5*e)/1e5}}),Object.defineProperty(this,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(this,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(this,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(this,"isIdentity",{get:function(){return 1===this.sx&&0===this.shy&&0===this.shx&&1===this.sy&&0===this.tx&&0===this.ty}}),this.sx=isNaN(e)?1:e,this.shy=isNaN(t)?0:t,this.shx=isNaN(n)?0:n,this.sy=isNaN(r)?1:r,this.tx=isNaN(a)?0:a,this.ty=isNaN(i)?0:i,this};P.prototype.multiply=function(e){var t=e.sx*this.sx+e.shy*this.shx,n=e.sx*this.shy+e.shy*this.sy,r=e.shx*this.sx+e.sy*this.shx,a=e.shx*this.shy+e.sy*this.sy,i=e.tx*this.sx+e.ty*this.shx+this.tx,o=e.tx*this.shy+e.ty*this.sy+this.ty;return new P(t,n,r,a,i,o)},P.prototype.decompose=function(){var e=this.sx,t=this.shy,n=this.shx,r=this.sy,a=this.tx,i=this.ty,o=Math.sqrt(e*e+t*t),s=(e/=o)*n+(t/=o)*r;n-=e*s,r-=t*s;var l=Math.sqrt(n*n+r*r);return s/=l,e*(r/=l)<t*(n/=l)&&(e=-e,t=-t,s=-s,o=-o),{scale:new P(o,0,0,l,0,0),translate:new P(1,0,0,1,a,i),rotate:new P(e,t,-t,e,0,0),skew:new P(1,0,s,1,0,0)}},P.prototype.applyToPoint=function(e){var t=e.x*this.sx+e.y*this.shx+this.tx,n=e.x*this.shy+e.y*this.sy+this.ty;return new L(t,n)},P.prototype.applyToRectangle=function(e){var t=this.applyToPoint(e),n=this.applyToPoint(new L(e.x+e.w,e.y+e.h));return new O(t.x,t.y,n.x-t.x,n.y-t.y)},P.prototype.clone=function(){var e=this.sx,t=this.shy,n=this.shx,r=this.sy,a=this.tx,i=this.ty;return new P(e,t,n,r,a,i)}}(ce.API,"undefined"!=typeof self&&self||"undefined"!=typeof window&&window||"undefined"!=typeof global&&global||Function('return typeof this === "object" && this.content')()||Function("return this")()),f=ce.API,h=function(e){var t,n,r,a,i,o,s,l,c,u;for(/[^\x00-\xFF]/.test(e),n=[],r=0,a=(e+=t="\0\0\0\0".slice(e.length%4||4)).length;r<a;r+=4)0!==(i=(e.charCodeAt(r)<<24)+(e.charCodeAt(r+1)<<16)+(e.charCodeAt(r+2)<<8)+e.charCodeAt(r+3))?(o=(i=((i=((i=((i=(i-(u=i%85))/85)-(c=i%85))/85)-(l=i%85))/85)-(s=i%85))/85)%85,n.push(o+33,s+33,l+33,c+33,u+33)):n.push(122);return function(e,n){for(var r=t.length;0<r;r--)e.pop()}(n),String.fromCharCode.apply(String,n)+"~>"},d=function(e){var t,n,r,a,i,o=String,s="length",l="charCodeAt",c="slice",u="replace";for(e[c](-2),e=e[c](0,-2)[u](/\s/g,"")[u]("z","!!!!!"),r=[],a=0,i=(e+=t="uuuuu"[c](e[s]%5||5))[s];a<i;a+=5)n=52200625*(e[l](a)-33)+614125*(e[l](a+1)-33)+7225*(e[l](a+2)-33)+85*(e[l](a+3)-33)+(e[l](a+4)-33),r.push(255&n>>24,255&n>>16,255&n>>8,255&n);return function(e,n){for(var r=t[s];0<r;r--)e.pop()}(r),o.fromCharCode.apply(o,r)},p=function(e){for(var t="",n=0;n<e.length;n+=1)t+=("0"+e.charCodeAt(n).toString(16)).slice(-2);return t+">"},g=function(e){var t=new RegExp(/^([0-9A-Fa-f]{2})+$/);if(-1!==(e=e.replace(/\s/g,"")).indexOf(">")&&(e=e.substr(0,e.indexOf(">"))),e.length%2&&(e+="0"),!1===t.test(e))return"";for(var n="",r=0;r<e.length;r+=2)n+=String.fromCharCode("0x"+(e[r]+e[r+1]));return n},m=function(e,t){t=Object.assign({predictor:1,colors:1,bitsPerComponent:8,columns:1},t);for(var n,r,a=[],i=e.length;i--;)a[i]=e.charCodeAt(i);return n=f.adler32cs.from(e),(r=new Deflater(6)).append(new Uint8Array(a)),e=r.flush(),(a=new Uint8Array(e.length+6)).set(new Uint8Array([120,156])),a.set(e,2),a.set(new Uint8Array([255&n,n>>8&255,n>>16&255,n>>24&255]),e.length+2),String.fromCharCode.apply(null,a)},f.processDataByFilters=function(e,t){var n=0,r=e||"",a=[];for("string"==typeof(t=t||[])&&(t=[t]),n=0;n<t.length;n+=1)switch(t[n]){case"ASCII85Decode":case"/ASCII85Decode":r=d(r),a.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":r=h(r),a.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":r=g(r),a.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":r=p(r),a.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":r=m(r),a.push("/FlateDecode");break;default:throw'The filter: "'+t[n]+'" is not implemented'}return{data:r,reverseChain:a.reverse().join(" ")}},(v=ce.API).loadFile=function(e,t,n){var r;t=t||!0,n=n||function(){};try{r=function(e,t,n){var r=new XMLHttpRequest,a=[],i=0,o=function(e){var t=e.length,n=String.fromCharCode;for(i=0;i<t;i+=1)a.push(n(255&e.charCodeAt(i)));return a.join("")};if(r.open("GET",e,!t),r.overrideMimeType("text/plain; charset=x-user-defined"),!1===t&&(r.onload=function(){return o(this.responseText)}),r.send(null),200===r.status)return t?o(r.responseText):void 0;console.warn('Unable to load file "'+e+'"')}(e,t)}catch(e){r=void 0}return r},v.loadImageFile=v.loadFile,b=ce.API,y="undefined"!=typeof window&&window||"undefined"!=typeof global&&global,w=function(t){var n=e(t);return"undefined"===n?"undefined":"string"===n||t instanceof String?"string":"number"===n||t instanceof Number?"number":"function"===n||t instanceof Function?"function":t&&t.constructor===Array?"array":t&&1===t.nodeType?"element":"object"===n?"object":"unknown"},S=function(e,t){var n=document.createElement(e);if(t.className&&(n.className=t.className),t.innerHTML){n.innerHTML=t.innerHTML;for(var r=n.getElementsByTagName("script"),a=r.length;0<a--;null)r[a].parentNode.removeChild(r[a])}for(var i in t.style)n.style[i]=t.style[i];return n},(((x=function e(t){var n=Object.assign(e.convert(Promise.resolve()),JSON.parse(JSON.stringify(e.template))),r=e.convert(Promise.resolve(),n);return(r=r.setProgress(1,e,1,[e])).set(t)}).prototype=Object.create(Promise.prototype)).constructor=x).convert=function(e,t){return e.__proto__=t||x.prototype,e},x.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{}}},x.prototype.from=function(e,t){return this.then(function(){switch(t=t||function(e){switch(w(e)){case"string":return"string";case"element":return"canvas"===e.nodeName.toLowerCase?"canvas":"element";default:return"unknown"}}(e)){case"string":return this.set({src:S("div",{innerHTML:e})});case"element":return this.set({src:e});case"canvas":return this.set({canvas:e});case"img":return this.set({img:e});default:return this.error("Unknown source type.")}})},x.prototype.to=function(e){switch(e){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},x.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then(function(){var e={position:"relative",display:"inline-block",width:Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:"white"},t=function e(t,n){for(var r=3===t.nodeType?document.createTextNode(t.nodeValue):t.cloneNode(!1),a=t.firstChild;a;a=a.nextSibling)!0!==n&&1===a.nodeType&&"SCRIPT"===a.nodeName||r.appendChild(e(a,n));return 1===t.nodeType&&("CANVAS"===t.nodeName?(r.width=t.width,r.height=t.height,r.getContext("2d").drawImage(t,0,0)):"TEXTAREA"!==t.nodeName&&"SELECT"!==t.nodeName||(r.value=t.value),r.addEventListener("load",function(){r.scrollTop=t.scrollTop,r.scrollLeft=t.scrollLeft},!0)),r}(this.prop.src,this.opt.html2canvas.javascriptEnabled);"BODY"===t.tagName&&(e.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=S("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=S("div",{className:"html2pdf__container",style:e}),this.prop.container.appendChild(t),this.prop.container.firstChild.appendChild(S("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"})},x.prototype.toCanvas=function(){var e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(e).then(function(){var e=Object.assign({},this.opt.html2canvas);if(delete e.onrendered,this.isHtml2CanvasLoaded())return html2canvas(this.prop.container,e)}).then(function(e){(this.opt.html2canvas.onrendered||function(){})(e),this.prop.canvas=e,document.body.removeChild(this.prop.overlay)})},x.prototype.toContext2d=function(){var e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(e).then(function(){var e=this.opt.jsPDF,t=Object.assign({async:!0,allowTaint:!0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete t.onrendered,e.context2d.autoPaging=!0,e.context2d.posX=this.opt.x,e.context2d.posY=this.opt.y,t.windowHeight=t.windowHeight||0,t.windowHeight=0==t.windowHeight?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):t.windowHeight,this.isHtml2CanvasLoaded())return html2canvas(this.prop.container,t)}).then(function(e){(this.opt.html2canvas.onrendered||function(){})(e),this.prop.canvas=e,document.body.removeChild(this.prop.overlay)})},x.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var e=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=e})},x.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},x.prototype.output=function(e,t,n){return"img"===(n=n||"pdf").toLowerCase()||"image"===n.toLowerCase()?this.outputImg(e,t):this.outputPdf(e,t)},x.prototype.outputPdf=function(e,t){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(e,t)})},x.prototype.outputImg=function(e,t){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(e){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+e+'" is not supported.'}})},x.prototype.isHtml2CanvasLoaded=function(){var e=void 0!==y.html2canvas;return e||console.error("html2canvas not loaded."),e},x.prototype.save=function(e){if(this.isHtml2CanvasLoaded())return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(e?{filename:e}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},x.prototype.doCallback=function(e){if(this.isHtml2CanvasLoaded())return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},x.prototype.set=function(e){if("object"!==w(e))return this;var t=Object.keys(e||{}).map(function(t){if(t in x.template.prop)return function(){this.prop[t]=e[t]};switch(t){case"margin":return this.setMargin.bind(this,e.margin);case"jsPDF":return function(){return this.opt.jsPDF=e.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,e.pageSize);default:return function(){this.opt[t]=e[t]}}},this);return this.then(function(){return this.thenList(t)})},x.prototype.get=function(e,t){return this.then(function(){var n=e in x.template.prop?this.prop[e]:this.opt[e];return t?t(n):n})},x.prototype.setMargin=function(e){return this.then(function(){switch(w(e)){case"number":e=[e,e,e,e];case"array":if(2===e.length&&(e=[e[0],e[1],e[0],e[1]]),4===e.length)break;default:return this.error("Invalid margin array.")}this.opt.margin=e}).then(this.setPageSize)},x.prototype.setPageSize=function(e){function t(e,t){return Math.floor(e*t/72*96)}return this.then(function(){(e=e||ce.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(e.inner={width:e.width-this.opt.margin[1]-this.opt.margin[3],height:e.height-this.opt.margin[0]-this.opt.margin[2]},e.inner.px={width:t(e.inner.width,e.k),height:t(e.inner.height,e.k)},e.inner.ratio=e.inner.height/e.inner.width),this.prop.pageSize=e})},x.prototype.setProgress=function(e,t,n,r){return null!=e&&(this.progress.val=e),null!=t&&(this.progress.state=t),null!=n&&(this.progress.n=n),null!=r&&(this.progress.stack=r),this.progress.ratio=this.progress.val/this.progress.state,this},x.prototype.updateProgress=function(e,t,n,r){return this.setProgress(e?this.progress.val+e:null,t||null,n?this.progress.n+n:null,r?this.progress.stack.concat(r):null)},x.prototype.then=function(e,t){var n=this;return this.thenCore(e,t,function(e,t){return n.updateProgress(null,null,1,[e]),Promise.prototype.then.call(this,function(t){return n.updateProgress(null,e),t}).then(e,t).then(function(e){return n.updateProgress(1),e})})},x.prototype.thenCore=function(e,t,n){n=n||Promise.prototype.then;var r=this;e&&(e=e.bind(r)),t&&(t=t.bind(r));var a=-1!==Promise.toString().indexOf("[native code]")&&"Promise"===Promise.name?r:x.convert(Object.assign({},r),Promise.prototype),i=n.call(a,e,t);return x.convert(i,r.__proto__)},x.prototype.thenExternal=function(e,t){return Promise.prototype.then.call(this,e,t)},x.prototype.thenList=function(e){var t=this;return e.forEach(function(e){t=t.thenCore(e)}),t},x.prototype.catch=function(e){e&&(e=e.bind(this));var t=Promise.prototype.catch.call(this,e);return x.convert(t,this)},x.prototype.catchExternal=function(e){return Promise.prototype.catch.call(this,e)},x.prototype.error=function(e){return this.then(function(){throw new Error(e)})},x.prototype.using=x.prototype.set,x.prototype.saveAs=x.prototype.save,x.prototype.export=x.prototype.output,x.prototype.run=x.prototype.then,ce.getPageSize=function(t,n,r){if("object"===e(t)){var a=t;t=a.orientation,n=a.unit||n,r=a.format||r}n=n||"mm",r=r||"a4",t=(""+(t||"P")).toLowerCase();var i=(""+r).toLowerCase(),o={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(n){case"pt":var s=1;break;case"mm":s=72/25.4;break;case"cm":s=72/2.54;break;case"in":s=72;break;case"px":s=.75;break;case"pc":case"em":s=12;break;case"ex":s=6;break;default:throw"Invalid unit: "+n}if(o.hasOwnProperty(i))var l=o[i][1]/s,c=o[i][0]/s;else try{l=r[1],c=r[0]}catch(t){throw new Error("Invalid format: "+r)}if("p"===t||"portrait"===t){if(t="p",l<c){var u=c;c=l,l=u}}else{if("l"!==t&&"landscape"!==t)throw"Invalid orientation: "+t;t="l",c<l&&(u=c,c=l,l=u)}return{width:c,height:l,unit:n,k:s}},b.html=function(e,t){(t=t||{}).callback=t.callback||function(){},t.html2canvas=t.html2canvas||{},t.html2canvas.canvas=t.html2canvas.canvas||this.canvas,t.jsPDF=t.jsPDF||this,t.jsPDF;var n=new x(t);return t.worker?n:n.from(e).doCallback()},ce.API.addJS=function(e){return k=e,this.internal.events.subscribe("postPutResources",function(e){E=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(E+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),_=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+k+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){void 0!==E&&void 0!==_&&this.internal.out("/Names <</JavaScript "+E+" 0 R>>")}),this},(A=ce.API).events.push(["postPutResources",function(){var e=this,t=/^(\d+) 0 obj$/;if(0<this.outline.root.children.length)for(var n=e.outline.render().split(/\r\n/),r=0;r<n.length;r++){var a=n[r],i=t.exec(a);if(null!=i){var o=i[1];e.internal.newObjectDeferredBegin(o,!1)}e.internal.write(a)}if(this.outline.createNamedDestinations){var s=this.internal.pages.length,l=[];for(r=0;r<s;r++){var c=e.internal.newObject();l.push(c);var u=e.internal.getPageInfo(r+1);e.internal.write("<< /D["+u.objId+" 0 R /XYZ null null null]>> endobj")}var f=e.internal.newObject();for(e.internal.write("<< /Names [ "),r=0;r<l.length;r++)e.internal.write("(page_"+(r+1)+")"+l[r]+" 0 R");e.internal.write(" ] >>","endobj"),e.internal.newObject(),e.internal.write("<< /Dests "+f+" 0 R"),e.internal.write(">>","endobj")}}]),A.events.push(["putCatalog",function(){0<this.outline.root.children.length&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+namesOid+" 0 R"))}]),A.events.push(["initialized",function(){var e=this;e.outline={createNamedDestinations:!1,root:{children:[]}},e.outline.add=function(e,t,n){var r={title:t,options:n,children:[]};return null==e&&(e=this.root),e.children.push(r),r},e.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=e,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},e.outline.genIds_r=function(t){t.id=e.internal.newObjectDeferred();for(var n=0;n<t.children.length;n++)this.genIds_r(t.children[n])},e.outline.renderRoot=function(e){this.objStart(e),this.line("/Type /Outlines"),0<e.children.length&&(this.line("/First "+this.makeRef(e.children[0])),this.line("/Last "+this.makeRef(e.children[e.children.length-1]))),this.line("/Count "+this.count_r({count:0},e)),this.objEnd()},e.outline.renderItems=function(t){this.ctx.pdf.internal.getCoordinateString;for(var n=this.ctx.pdf.internal.getVerticalCoordinateString,r=0;r<t.children.length;r++){var a=t.children[r];this.objStart(a),this.line("/Title "+this.makeString(a.title)),this.line("/Parent "+this.makeRef(t)),0<r&&this.line("/Prev "+this.makeRef(t.children[r-1])),r<t.children.length-1&&this.line("/Next "+this.makeRef(t.children[r+1])),0<a.children.length&&(this.line("/First "+this.makeRef(a.children[0])),this.line("/Last "+this.makeRef(a.children[a.children.length-1])));var i=this.count=this.count_r({count:0},a);if(0<i&&this.line("/Count "+i),a.options&&a.options.pageNumber){var o=e.internal.getPageInfo(a.options.pageNumber);this.line("/Dest ["+o.objId+" 0 R /XYZ 0 "+n(0)+" 0]")}this.objEnd()}for(r=0;r<t.children.length;r++)a=t.children[r],this.renderItems(a)},e.outline.line=function(e){this.ctx.val+=e+"\r\n"},e.outline.makeRef=function(e){return e.id+" 0 R"},e.outline.makeString=function(t){return"("+e.internal.pdfEscape(t)+")"},e.outline.objStart=function(e){this.ctx.val+="\r\n"+e.id+" 0 obj\r\n<<\r\n"},e.outline.objEnd=function(e){this.ctx.val+=">> \r\nendobj\r\n"},e.outline.count_r=function(e,t){for(var n=0;n<t.children.length;n++)e.count++,this.count_r(e,t.children[n]);return e.count}}]),C=ce.API,T=function(){var e="function"==typeof Deflater;if(!e)throw new Error("requires deflate.js for compression");return e},R=function(e,t,n,r){var a=5,i=P;switch(r){case C.image_compression.FAST:a=3,i=O;break;case C.image_compression.MEDIUM:a=6,i=F;break;case C.image_compression.SLOW:a=9,i=D}e=I(e,t,n,i);var o=new Uint8Array(N(a)),s=B(e),l=new Deflater(a),c=l.append(e),u=l.flush(),f=o.length+c.length+u.length,h=new Uint8Array(f+4);return h.set(o),h.set(c,o.length),h.set(u,o.length+c.length),h[f++]=s>>>24&255,h[f++]=s>>>16&255,h[f++]=s>>>8&255,h[f++]=255&s,C.arrayBufferToBinaryString(h)},N=function(e,t){var n=Math.LOG2E*Math.log(32768)-8<<4|8,r=n<<8;return r|=Math.min(3,(t-1&255)>>1)<<6,r|=0,[n,255&(r+=31-r%31)]},B=function(e,t){for(var n,r=1,a=0,i=e.length,o=0;0<i;){for(i-=n=t<i?t:i;a+=r+=e[o++],--n;);r%=65521,a%=65521}return(a<<16|r)>>>0},I=function(e,t,n,r){for(var a,i,o,s=e.length/t,l=new Uint8Array(e.length+s),c=j(),u=0;u<s;u++){if(o=u*t,a=e.subarray(o,o+t),r)l.set(r(a,n,i),o+u);else{for(var f=0,h=c.length,d=[];f<h;f++)d[f]=c[f](a,n,i);var p=W(d.concat());l.set(d[p],o+u)}i=a}return l},L=function(e,t,n){var r=Array.apply([],e);return r.unshift(0),r},O=function(e,t,n){var r,a=[],i=0,o=e.length;for(a[0]=1;i<o;i++)r=e[i-t]||0,a[i+1]=e[i]-r+256&255;return a},P=function(e,t,n){var r,a=[],i=0,o=e.length;for(a[0]=2;i<o;i++)r=n&&n[i]||0,a[i+1]=e[i]-r+256&255;return a},F=function(e,t,n){var r,a,i=[],o=0,s=e.length;for(i[0]=3;o<s;o++)r=e[o-t]||0,a=n&&n[o]||0,i[o+1]=e[o]+256-(r+a>>>1)&255;return i},D=function(e,t,n){var r,a,i,o,s=[],l=0,c=e.length;for(s[0]=4;l<c;l++)r=e[l-t]||0,a=n&&n[l]||0,i=n&&n[l-t]||0,o=M(r,a,i),s[l+1]=e[l]-o+256&255;return s},M=function(e,t,n){var r=e+t-n,a=Math.abs(r-e),i=Math.abs(r-t),o=Math.abs(r-n);return a<=i&&a<=o?e:i<=o?t:n},j=function(){return[L,O,P,F,D]},W=function(e){for(var t,n,r,a=0,i=e.length;a<i;)((t=U(e[a].slice(1)))<n||!n)&&(n=t,r=a),a++;return r},U=function(e){for(var t=0,n=e.length,r=0;t<n;)r+=Math.abs(e[t++]);return r},C.processPNG=function(e,t,n,r,a){var i,o,s,l,c,u,f=this.color_spaces.DEVICE_RGB,h=this.decode.FLATE_DECODE,d=8;if(this.isArrayBuffer(e)&&(e=new Uint8Array(e)),this.isArrayBufferView(e)){if("function"!=typeof PNG||"function"!=typeof Be)throw new Error("PNG support requires png.js and zlib.js");if(e=(i=new PNG(e)).imgData,d=i.bits,f=i.colorSpace,l=i.colors,-1!==[4,6].indexOf(i.colorType)){if(8===i.bits)for(var p,g=(A=32==i.pixelBitlength?new Uint32Array(i.decodePixels().buffer):16==i.pixelBitlength?new Uint16Array(i.decodePixels().buffer):new Uint8Array(i.decodePixels().buffer)).length,m=new Uint8Array(g*i.colors),v=new Uint8Array(g),b=i.pixelBitlength-i.bits,y=0,w=0;y<g;y++){for(S=A[y],p=0;p<b;)m[w++]=S>>>p&255,p+=i.bits;v[y]=S>>>p&255}if(16===i.bits){g=(A=new Uint32Array(i.decodePixels().buffer)).length,m=new Uint8Array(g*(32/i.pixelBitlength)*i.colors),v=new Uint8Array(g*(32/i.pixelBitlength));for(var S,x=1<i.colors,E=w=y=0;y<g;)S=A[y++],m[w++]=S>>>0&255,x&&(m[w++]=S>>>16&255,S=A[y++],m[w++]=S>>>0&255),v[E++]=S>>>16&255;d=8}r!==C.image_compression.NONE&&T()?(e=R(m,i.width*i.colors,i.colors,r),u=R(v,i.width,1,r)):(e=m,u=v,h=null)}if(3===i.colorType&&(f=this.color_spaces.INDEXED,c=i.palette,i.transparency.indexed)){var _=i.transparency.indexed,k=0;for(y=0,g=_.length;y<g;++y)k+=_[y];if((k/=255)==g-1&&-1!==_.indexOf(0))s=[_.indexOf(0)];else if(k!==g){var A=i.decodePixels();for(v=new Uint8Array(A.length),y=0,g=A.length;y<g;y++)v[y]=_[A[y]];u=R(v,i.width,1)}}var N=function(e){var t;switch(r){case C.image_compression.FAST:t=11;break;case C.image_compression.MEDIUM:t=13;break;case C.image_compression.SLOW:t=14;break;default:t=12}return t}();return o=h===this.decode.FLATE_DECODE?"/Predictor "+N+" /Colors "+l+" /BitsPerComponent "+d+" /Columns "+i.width:"/Colors "+l+" /BitsPerComponent "+d+" /Columns "+i.width,(this.isArrayBuffer(e)||this.isArrayBufferView(e))&&(e=this.arrayBufferToBinaryString(e)),(u&&this.isArrayBuffer(u)||this.isArrayBufferView(u))&&(u=this.arrayBufferToBinaryString(u)),this.createImageInfo(e,i.width,i.height,f,d,h,t,n,o,s,c,u,N)}throw new Error("Unsupported PNG image data, try using JPEG instead.")},(z=ce.API).processGIF89A=function(e,t,n,r,a){var i=new Ae(e),o=i.width,s=i.height,l=[];i.decodeAndBlitFrameRGBA(0,l);var c={data:l,width:o,height:s},u=new Te(100).encode(c,100);return z.processJPEG.call(this,u,t,n,r)},z.processGIF87A=z.processGIF89A,(H=ce.API).processBMP=function(e,t,n,r,a){var i=new Re(e,!1),o=i.width,s=i.height,l={data:i.getData(),width:o,height:s},c=new Te(100).encode(l,100);return H.processJPEG.call(this,c,t,n,r)},ce.API.setLanguage=function(e){return void 0===this.internal.languageSettings&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),void 0!=={af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"FYRO Macedonian",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[e]&&(this.internal.languageSettings.languageCode=e,!1===this.internal.languageSettings.isSubscribed&&(this.internal.events.subscribe("putCatalog",function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")}),this.internal.languageSettings.isSubscribed=!0)),this},V=ce.API,q=V.getCharWidthsArray=function(e,t){var n,r,a,i=(t=t||{}).font||this.internal.getFont(),o=t.fontSize||this.internal.getFontSize(),s=t.charSpace||this.internal.getCharSpace(),l=t.widths?t.widths:i.metadata.Unicode.widths,c=l.fof?l.fof:1,u=t.kerning?t.kerning:i.metadata.Unicode.kerning,f=u.fof?u.fof:1,h=0,d=l[0]||c,p=[];for(n=0,r=e.length;n<r;n++)a=e.charCodeAt(n),"function"==typeof i.metadata.widthOfString?p.push((i.metadata.widthOfGlyph(i.metadata.characterToGlyph(a))+s*(1e3/o)||0)/1e3):p.push((l[a]||d)/c+(u[a]&&u[a][h]||0)/f),h=a;return p},G=V.getArraySum=function(e){for(var t=e.length,n=0;t;)n+=e[--t];return n},X=V.getStringUnitWidth=function(e,t){var n=(t=t||{}).fontSize||this.internal.getFontSize(),r=t.font||this.internal.getFont(),a=t.charSpace||this.internal.getCharSpace();return"function"==typeof r.metadata.widthOfString?r.metadata.widthOfString(e,n,a)/n:G(q.apply(this,arguments))},$=function(e,t,n,r){for(var a=[],i=0,o=e.length,s=0;i!==o&&s+t[i]<n;)s+=t[i],i++;a.push(e.slice(0,i));var l=i;for(s=0;i!==o;)s+t[i]>r&&(a.push(e.slice(l,i)),s=0,l=i),s+=t[i],i++;return l!==i&&a.push(e.slice(l,i)),a},Y=function(e,t,n){n||(n={});var r,a,i,o,s,l,c=[],u=[c],f=n.textIndent||0,h=0,d=0,p=e.split(" "),g=q.apply(this,[" ",n])[0];if(l=-1===n.lineIndent?p[0].length+2:n.lineIndent||0){var m=Array(l).join(" "),v=[];p.map(function(e){1<(e=e.split(/\s*\n/)).length?v=v.concat(e.map(function(e,t){return(t&&e.length?"\n":"")+e})):v.push(e[0])}),p=v,l=X.apply(this,[m,n])}for(i=0,o=p.length;i<o;i++){var b=0;if(r=p[i],l&&"\n"==r[0]&&(r=r.substr(1),b=1),a=q.apply(this,[r,n]),t<f+h+(d=G(a))||b){if(t<d){for(s=$.apply(this,[r,a,t-(f+h),t]),c.push(s.shift()),c=[s.pop()];s.length;)u.push([s.shift()]);d=G(a.slice(r.length-(c[0]?c[0].length:0)))}else c=[r];u.push(c),f=d+l,h=g}else c.push(r),f+=h+d,h=g}if(l)var y=function(e,t){return(t?m:"")+e.join(" ")};else y=function(e){return e.join(" ")};return u.map(y)},V.splitTextToSize=function(e,t,n){var r,a=(n=n||{}).fontSize||this.internal.getFontSize(),i=function(e){if(e.widths&&e.kerning)return{widths:e.widths,kerning:e.kerning};var t=this.internal.getFont(e.fontName,e.fontStyle),n="Unicode";return t.metadata[n]?{widths:t.metadata[n].widths||{0:1},kerning:t.metadata[n].kerning||{}}:{font:t.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,n);r=Array.isArray(e)?e:e.split(/\r?\n/);var o=1*this.internal.scaleFactor*t/a;i.textIndent=n.textIndent?1*n.textIndent*this.internal.scaleFactor/a:0,i.lineIndent=n.lineIndent;var s,l,c=[];for(s=0,l=r.length;s<l;s++)c=c.concat(Y.apply(this,[r[s],o,i]));return c},K=ce.API,Z={codePages:["WinAnsiEncoding"],WinAnsiEncoding:(J=function(e){for(var t="klmnopqrstuvwxyz",n={},r=0;r<t.length;r++)n[t[r]]="0123456789abcdef"[r];var a,i,o,s,l,c={},u=1,f=c,h=[],d="",p="",g=e.length-1;for(r=1;r!=g;)l=e[r],r+=1,"'"==l?i=i?(s=i.join(""),a):[]:i?i.push(l):"{"==l?(h.push([f,s]),f={},s=a):"}"==l?((o=h.pop())[0][o[1]]=f,s=a,f=o[0]):"-"==l?u=-1:s===a?n.hasOwnProperty(l)?(d+=n[l],s=parseInt(d,16)*u,u=1,d=""):d+=l:n.hasOwnProperty(l)?(p+=n[l],f[s]=parseInt(p,16)*u,u=1,s=a,p=""):p+=l;return c})("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},Q={Unicode:{Courier:Z,"Courier-Bold":Z,"Courier-BoldOblique":Z,"Courier-Oblique":Z,Helvetica:Z,"Helvetica-Bold":Z,"Helvetica-BoldOblique":Z,"Helvetica-Oblique":Z,"Times-Roman":Z,"Times-Bold":Z,"Times-BoldItalic":Z,"Times-Italic":Z}},ee={Unicode:{"Courier-Oblique":J("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":J("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":J("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:J("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":J("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":J("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:J("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:J("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":J("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:J("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":J("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":J("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":J("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":J("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}},K.events.push(["addFont",function(e){var t,n,r,a=e.font,i="Unicode";(t=ee[i][a.postScriptName])&&((n=a.metadata[i]?a.metadata[i]:a.metadata[i]={}).widths=t.widths,n.kerning=t.kerning),(r=Q[i][a.postScriptName])&&((n=a.metadata[i]?a.metadata[i]:a.metadata[i]={}).encoding=r).codePages&&r.codePages.length&&(a.encoding=r.codePages[0])}]),te=ce,"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||"undefined"!=typeof window&&window||Function("return this")(),te.API.events.push(["addFont",function(e){var t=e.font,n=e.instance;if(void 0!==n&&n.existsFileInVFS(t.postScriptName)){var r=n.getFileFromVFS(t.postScriptName);if("string"!=typeof r)throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+t.postScriptName+"').");t.metadata=te.API.TTFFont.open(t.postScriptName,t.fontName,r,t.encoding),t.metadata.Unicode=t.metadata.Unicode||{encoding:{},kerning:{},widths:[]},t.metadata.glyIdsUsed=[0]}else if(!1===t.isStandardFont)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+t.postScriptName+"').")}]),(ne=ce.API).addSvg=function(e,t,n,r,a){if(void 0===t||void 0===n)throw new Error("addSVG needs values for 'x' and 'y'");function i(e){for(var t=parseFloat(e[1]),n=parseFloat(e[2]),r=[],a=3,i=e.length;a<i;)"c"===e[a]?(r.push([parseFloat(e[a+1]),parseFloat(e[a+2]),parseFloat(e[a+3]),parseFloat(e[a+4]),parseFloat(e[a+5]),parseFloat(e[a+6])]),a+=7):"l"===e[a]?(r.push([parseFloat(e[a+1]),parseFloat(e[a+2])]),a+=3):a+=1;return[t,n,r]}var o,s,l,c,u,f,h,d,p=(o=e,(l=((s=(d=(c=document).createElement("iframe"),u=".jsPDF_sillysvg_iframe {display:none;position:absolute;}",(h=(f=c).createElement("style")).type="text/css",h.styleSheet?h.styleSheet.cssText=u:h.appendChild(f.createTextNode(u)),f.getElementsByTagName("head")[0].appendChild(h),d.name="childframe",d.setAttribute("width",0),d.setAttribute("height",0),d.setAttribute("frameborder","0"),d.setAttribute("scrolling","no"),d.setAttribute("seamless","seamless"),d.setAttribute("class","jsPDF_sillysvg_iframe"),c.body.appendChild(d),d)).contentWindow||s.contentDocument).document).write(o),l.close(),l.getElementsByTagName("svg")[0]),g=[1,1],m=parseFloat(p.getAttribute("width")),v=parseFloat(p.getAttribute("height"));m&&v&&(r&&a?g=[r/m,a/v]:r?g=[r/m,r/m]:a&&(g=[a/v,a/v]));var b,y,w,S,x=p.childNodes;for(b=0,y=x.length;b<y;b++)(w=x[b]).tagName&&"PATH"===w.tagName.toUpperCase()&&((S=i(w.getAttribute("d").split(" ")))[0]=S[0]*g[0]+t,S[1]=S[1]*g[1]+n,this.lines.call(this,S[2],S[0],S[1],g));return this},ne.addSVG=ne.addSvg,ne.addSvgAsImage=function(e,t,n,r,a,i,o,s){if(isNaN(t)||isNaN(n))throw console.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(r)||isNaN(a))throw console.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var l=document.createElement("canvas");l.width=r,l.height=a;var c=l.getContext("2d");return c.fillStyle="#fff",c.fillRect(0,0,l.width,l.height),canvg(l,e,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0}),this.addImage(l.toDataURL("image/jpeg",1),t,n,r,a,o,s),this},ce.API.putTotalPages=function(e){var t,n;n=parseInt(this.internal.getFont().id.substr(1),10)<15?(t=new RegExp(e,"g"),this.internal.getNumberOfPages()):(t=new RegExp(this.pdfEscape16(e,this.internal.getFont()),"g"),this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var r=1;r<=this.internal.getNumberOfPages();r++)for(var a=0;a<this.internal.pages[r].length;a++)this.internal.pages[r][a]=this.internal.pages[r][a].replace(t,n);return this},ce.API.viewerPreferences=function(t,n){var r;t=t||{},n=n||!1;var a,i,o={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},s=Object.keys(o),l=[],c=0,u=0,f=0,h=!0;function d(e,t){var n,r=!1;for(n=0;n<e.length;n+=1)e[n]===t&&(r=!0);return r}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(o)),this.internal.viewerpreferences.isSubscribed=!1),r=this.internal.viewerpreferences.configuration,"reset"===t||!0===n){var p=s.length;for(f=0;f<p;f+=1)r[s[f]].value=r[s[f]].defaultValue,r[s[f]].explicitSet=!1}if("object"===e(t))for(a in t)if(i=t[a],d(s,a)&&void 0!==i){if("boolean"===r[a].type&&"boolean"==typeof i)r[a].value=i;else if("name"===r[a].type&&d(r[a].valueSet,i))r[a].value=i;else if("integer"===r[a].type&&Number.isInteger(i))r[a].value=i;else if("array"===r[a].type){for(c=0;c<i.length;c+=1)if(h=!0,1===i[c].length&&"number"==typeof i[c][0])l.push(String(i[c]-1));else if(1<i[c].length){for(u=0;u<i[c].length;u+=1)"number"!=typeof i[c][u]&&(h=!1);!0===h&&l.push([i[c][0]-1,i[c][1]-1].join(" "))}r[a].value="["+l.join(" ")+"]"}else r[a].value=r[a].defaultValue;r[a].explicitSet=!0}return!1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",function(){var e,t=[];for(e in r)!0===r[e].explicitSet&&("name"===r[e].type?t.push("/"+e+" /"+r[e].value):t.push("/"+e+" "+r[e].value));0!==t.length&&this.internal.write("/ViewerPreferences\n<<\n"+t.join("\n")+"\n>>")}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=r,this},re=ce.API,oe=ie=ae="",re.addMetadata=function(e,t){return ie=t||"http://jspdf.default.namespaceuri/",ae=e,this.internal.events.subscribe("postPutResources",function(){if(ae){var e='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+ie+'"><jspdf:metadata>',t=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),n=unescape(encodeURIComponent(e)),r=unescape(encodeURIComponent(ae)),a=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),i=unescape(encodeURIComponent("</x:xmpmeta>")),o=n.length+r.length+a.length+t.length+i.length;oe=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+o+" >>"),this.internal.write("stream"),this.internal.write(t+n+r+a+i),this.internal.write("endstream"),this.internal.write("endobj")}else oe=""}),this.internal.events.subscribe("putCatalog",function(){oe&&this.internal.write("/Metadata "+oe+" 0 R")}),this},function(e,t){var n=e.API,r=n.pdfEscape16=function(e,t){for(var n,r=t.metadata.Unicode.widths,a=["","0","00","000","0000"],i=[""],o=0,s=e.length;o<s;++o){if(n=t.metadata.characterToGlyph(e.charCodeAt(o)),t.metadata.glyIdsUsed.push(n),t.metadata.toUnicode[n]=e.charCodeAt(o),-1==r.indexOf(n)&&(r.push(n),r.push([parseInt(t.metadata.widthOfGlyph(n),10)])),"0"==n)return i.join("");n=n.toString(16),i.push(a[4-n.length],n)}return i.join("")},a=function(e){var t,n,r,a,i,o,s;for(i="/CIDInit /ProcSet findresource begin\n12 dict begin\nbegincmap\n/CIDSystemInfo <<\n /Registry (Adobe)\n /Ordering (UCS)\n /Supplement 0\n>> def\n/CMapName /Adobe-Identity-UCS def\n/CMapType 2 def\n1 begincodespacerange\n<0000><ffff>\nendcodespacerange",r=[],o=0,s=(n=Object.keys(e).sort(function(e,t){return e-t})).length;o<s;o++)t=n[o],100<=r.length&&(i+="\n"+r.length+" beginbfchar\n"+r.join("\n")+"\nendbfchar",r=[]),a=("0000"+e[t].toString(16)).slice(-4),t=("0000"+(+t).toString(16)).slice(-4),r.push("<"+t+"><"+a+">");return r.length&&(i+="\n"+r.length+" beginbfchar\n"+r.join("\n")+"\nendbfchar\n"),i+"endcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"};n.events.push(["putFont",function(t){!function(t,n,r,i){if(t.metadata instanceof e.API.TTFFont&&"Identity-H"===t.encoding){for(var o=t.metadata.Unicode.widths,s=t.metadata.subset.encode(t.metadata.glyIdsUsed,1),l="",c=0;c<s.length;c++)l+=String.fromCharCode(s[c]);var u=r();i({data:l,addLength1:!0}),n("endobj");var f=r();i({data:a(t.metadata.toUnicode),addLength1:!0}),n("endobj");var h=r();n("<<"),n("/Type /FontDescriptor"),n("/FontName /"+t.fontName),n("/FontFile2 "+u+" 0 R"),n("/FontBBox "+e.API.PDFObject.convert(t.metadata.bbox)),n("/Flags "+t.metadata.flags),n("/StemV "+t.metadata.stemV),n("/ItalicAngle "+t.metadata.italicAngle),n("/Ascent "+t.metadata.ascender),n("/Descent "+t.metadata.decender),n("/CapHeight "+t.metadata.capHeight),n(">>"),n("endobj");var d=r();n("<<"),n("/Type /Font"),n("/BaseFont /"+t.fontName),n("/FontDescriptor "+h+" 0 R"),n("/W "+e.API.PDFObject.convert(o)),n("/CIDToGIDMap /Identity"),n("/DW 1000"),n("/Subtype /CIDFontType2"),n("/CIDSystemInfo"),n("<<"),n("/Supplement 0"),n("/Registry (Adobe)"),n("/Ordering ("+t.encoding+")"),n(">>"),n(">>"),n("endobj"),t.objectNumber=r(),n("<<"),n("/Type /Font"),n("/Subtype /Type0"),n("/ToUnicode "+f+" 0 R"),n("/BaseFont /"+t.fontName),n("/Encoding /"+t.encoding),n("/DescendantFonts ["+d+" 0 R]"),n(">>"),n("endobj"),t.isAlreadyPutted=!0}}(t.font,t.out,t.newObject,t.putStream)}]),n.events.push(["putFont",function(t){!function(t,n,r,i){if(t.metadata instanceof e.API.TTFFont&&"WinAnsiEncoding"===t.encoding){t.metadata.Unicode.widths;for(var o=t.metadata.rawData,s="",l=0;l<o.length;l++)s+=String.fromCharCode(o[l]);var c=r();i({data:s,addLength1:!0}),n("endobj");var u=r();i({data:a(t.metadata.toUnicode),addLength1:!0}),n("endobj");var f=r();for(n("<<"),n("/Descent "+t.metadata.decender),n("/CapHeight "+t.metadata.capHeight),n("/StemV "+t.metadata.stemV),n("/Type /FontDescriptor"),n("/FontFile2 "+c+" 0 R"),n("/Flags 96"),n("/FontBBox "+e.API.PDFObject.convert(t.metadata.bbox)),n("/FontName /"+t.fontName),n("/ItalicAngle "+t.metadata.italicAngle),n("/Ascent "+t.metadata.ascender),n(">>"),n("endobj"),t.objectNumber=r(),l=0;l<t.metadata.hmtx.widths.length;l++)t.metadata.hmtx.widths[l]=parseInt(t.metadata.hmtx.widths[l]*(1e3/t.metadata.head.unitsPerEm));n("<</Subtype/TrueType/Type/Font/ToUnicode "+u+" 0 R/BaseFont/"+t.fontName+"/FontDescriptor "+f+" 0 R/Encoding/"+t.encoding+" /FirstChar 29 /LastChar 255 /Widths "+e.API.PDFObject.convert(t.metadata.hmtx.widths)+">>"),n("endobj"),t.isAlreadyPutted=!0}}(t.font,t.out,t.newObject,t.putStream)}]);var i=function(e){var t,n,a=e.text||"",i=e.x,o=e.y,s=e.options||{},l=e.mutex||{},c=l.pdfEscape,u=l.activeFontKey,f=l.fonts,h=(l.activeFontSize,""),d=0,p="",g=f[n=u].encoding;if("Identity-H"!==f[n].encoding)return{text:a,x:i,y:o,options:s,mutex:l};for(p=a,n=u,"[object Array]"===Object.prototype.toString.call(a)&&(p=a[0]),d=0;d<p.length;d+=1)f[n].metadata.hasOwnProperty("cmap")&&(t=f[n].metadata.cmap.unicode.codeMap[p[d].charCodeAt(0)]),t?h+=p[d]:p[d].charCodeAt(0)<256&&f[n].metadata.hasOwnProperty("Unicode")?h+=p[d]:h+="";var m="";return parseInt(n.slice(1))<14||"WinAnsiEncoding"===g?m=function(e){for(var t="",n=0;n<e.length;n++)t+=""+e.charCodeAt(n).toString(16);return t}(c(h,n)):"Identity-H"===g&&(m=r(h,f[n])),l.isHex=!0,{text:m,x:i,y:o,options:s,mutex:l}};n.events.push(["postProcessText",function(e){var t=e.text||"",n=e.x,r=e.y,a=e.options,o=e.mutex,s=(a.lang,[]),l={text:t,x:n,y:r,options:a,mutex:o};if("[object Array]"===Object.prototype.toString.call(t)){var c=0;for(c=0;c<t.length;c+=1)"[object Array]"===Object.prototype.toString.call(t[c])&&3===t[c].length?s.push([i(Object.assign({},l,{text:t[c][0]})).text,t[c][1],t[c][2]]):s.push(i(Object.assign({},l,{text:t[c]})).text);e.text=s}else e.text=i(Object.assign({},l,{text:t})).text}])}(ce,"undefined"!=typeof self&&self||"undefined"!=typeof global&&global||"undefined"!=typeof window&&window||Function("return this")()),se=ce.API,le=function(e){return void 0!==e&&(void 0===e.vFS&&(e.vFS={}),!0)},se.existsFileInVFS=function(e){return!!le(this.internal)&&void 0!==this.internal.vFS[e]},se.addFileToVFS=function(e,t){return le(this.internal),this.internal.vFS[e]=t,this},se.getFileFromVFS=function(e){return le(this.internal),void 0!==this.internal.vFS[e]?this.internal.vFS[e]:null},ce.API.addHTML=function(e,t,n,r,a){if("undefined"==typeof html2canvas&&"undefined"==typeof rasterizeHTML)throw new Error("You need either https://github.com/niklasvh/html2canvas or https://github.com/cburgmer/rasterizeHTML.js");"number"!=typeof t&&(r=t,a=n),"function"==typeof r&&(a=r,r=null),"function"!=typeof a&&(a=function(){});var i=this.internal,o=i.scaleFactor,s=i.pageSize.getWidth(),l=i.pageSize.getHeight();if((r=r||{}).onrendered=function(e){t=parseInt(t)||0,n=parseInt(n)||0;var i=r.dim||{},c=Object.assign({top:0,right:0,bottom:0,left:0,useFor:"content"},r.margin),u=i.h||Math.min(l,e.height/o),f=i.w||Math.min(s,e.width/o)-t,h=r.format||"JPEG",d=r.imageCompression||"SLOW";if(e.height>l-c.top-c.bottom&&r.pagesplit){var p=function(e,t,n,a,i){var o=document.createElement("canvas");o.height=i,o.width=a;var s=o.getContext("2d");return s.mozImageSmoothingEnabled=!1,s.webkitImageSmoothingEnabled=!1,s.msImageSmoothingEnabled=!1,s.imageSmoothingEnabled=!1,s.fillStyle=r.backgroundColor||"#ffffff",s.fillRect(0,0,a,i),s.drawImage(e,t,n,a,i,0,0,a,i),o},g=function(){for(var r,i,u=0,g=0,m={},v=!1;;){var b;if(g=0,m.top=0!==u?c.top:n,m.left=0!==u?c.left:t,v=(s-c.left-c.right)*o<e.width,"content"===c.useFor?0===u?(r=Math.min((s-c.left)*o,e.width),i=Math.min((l-c.top)*o,e.height-u)):(r=Math.min(s*o,e.width),i=Math.min(l*o,e.height-u),m.top=0):(r=Math.min((s-c.left-c.right)*o,e.width),i=Math.min((l-c.bottom-c.top)*o,e.height-u)),v)for(;;){"content"===c.useFor&&(0===g?r=Math.min((s-c.left)*o,e.width):(r=Math.min(s*o,e.width-g),m.left=0));var y=[b=p(e,g,u,r,i),m.left,m.top,b.width/o,b.height/o,h,null,d];if(this.addImage.apply(this,y),(g+=r)>=e.width)break;this.addPage()}else y=[b=p(e,0,u,r,i),m.left,m.top,b.width/o,b.height/o,h,null,d],this.addImage.apply(this,y);if((u+=i)>=e.height)break;this.addPage()}a(f,u,null,y)}.bind(this);if("CANVAS"===e.nodeName){var m=new Image;m.onload=g,m.src=e.toDataURL("image/png"),e=m}else g()}else{var v=Math.random().toString(35),b=[e,t,n,f,u,h,v,d];this.addImage.apply(this,b),a(f,u,v,b)}}.bind(this),"undefined"!=typeof html2canvas&&!r.rstz)return html2canvas(e,r);if("undefined"==typeof rasterizeHTML)return null;var c="drawDocument";return"string"==typeof e&&(c=/^http/.test(e)?"drawURL":"drawHTML"),r.width=r.width||s*o,rasterizeHTML[c](e,void 0,r).then(function(e){r.onrendered(e.image)},function(e){a(null,e)})},function(t){var n,r,a,i,o,s,l,c,u,f,h,d,p,g,m,v,b,y,w,S;n=function(){return function(t){return e.prototype=t,new e};function e(){}}(),f=function(e){var t,n,r,a,i,o,s;for(n=0,r=e.length,t=void 0,o=a=!1;!a&&n!==r;)(t=e[n]=e[n].trimLeft())&&(a=!0),n++;for(n=r-1;r&&!o&&-1!==n;)(t=e[n]=e[n].trimRight())&&(o=!0),n--;for(i=/\s+$/g,s=!0,n=0;n!==r;)"\u2028"!=e[n]&&(t=e[n].replace(/\s+/g," "),s&&(t=t.trimLeft()),t&&(s=i.test(t)),e[n]=t),n++;return e},d=function(e){var t,n,r;for(t=void 0,n=(r=e.split(",")).shift();!t&&n;)t=a[n.trim().toLowerCase()],n=r.shift();return t},p=function(e){var t;return-1<(e="auto"===e?"0px":e).indexOf("em")&&!isNaN(Number(e.replace("em","")))&&(e=18.719*Number(e.replace("em",""))+"px"),-1<e.indexOf("pt")&&!isNaN(Number(e.replace("pt","")))&&(e=1.333*Number(e.replace("pt",""))+"px"),(t=g[e])?t:void 0!==(t={"xx-small":9,"x-small":11,small:13,medium:16,large:19,"x-large":23,"xx-large":28,auto:0}[e])?g[e]=t/16:(t=parseFloat(e))?g[e]=t/16:(t=e.match(/([\d\.]+)(px)/),Array.isArray(t)&&3===t.length?g[e]=parseFloat(t[1])/16:g[e]=1)},u=function(e){var t,n,r,a,u;return u=e,a=document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(u,null):u.currentStyle?u.currentStyle:u.style,n=void 0,(t={})["font-family"]=d((r=function(e){return e=e.replace(/-\D/g,function(e){return e.charAt(1).toUpperCase()}),a[e]})("font-family"))||"times",t["font-style"]=i[r("font-style")]||"normal",t["text-align"]=o[r("text-align")]||"left","bold"===(n=s[r("font-weight")]||"normal")&&("normal"===t["font-style"]?t["font-style"]=n:t["font-style"]=n+t["font-style"]),t["font-size"]=p(r("font-size"))||1,t["line-height"]=p(r("line-height"))||1,t.display="inline"===r("display")?"inline":"block",n="block"===t.display,t["margin-top"]=n&&p(r("margin-top"))||0,t["margin-bottom"]=n&&p(r("margin-bottom"))||0,t["padding-top"]=n&&p(r("padding-top"))||0,t["padding-bottom"]=n&&p(r("padding-bottom"))||0,t["margin-left"]=n&&p(r("margin-left"))||0,t["margin-right"]=n&&p(r("margin-right"))||0,t["padding-left"]=n&&p(r("padding-left"))||0,t["padding-right"]=n&&p(r("padding-right"))||0,t["page-break-before"]=r("page-break-before")||"auto",t.float=l[r("cssFloat")]||"none",t.clear=c[r("clear")]||"none",t.color=r("color"),t},m=function(e,t,n){var r,a,i,o,s;if(i=!1,o=a=void 0,r=n["#"+e.id])if("function"==typeof r)i=r(e,t);else for(a=0,o=r.length;!i&&a!==o;)i=r[a](e,t),a++;if(r=n[e.nodeName],!i&&r)if("function"==typeof r)i=r(e,t);else for(a=0,o=r.length;!i&&a!==o;)i=r[a](e,t),a++;for(s="string"==typeof e.className?e.className.split(" "):[],a=0;a<s.length;a++)if(r=n["."+s[a]],!i&&r)if("function"==typeof r)i=r(e,t);else for(a=0,o=r.length;!i&&a!==o;)i=r[a](e,t),a++;return i},S=function(e,t){var n,r,a,i,o,s,l,c,u;for(n=[],r=[],a=0,u=e.rows[0].cells.length,l=e.clientWidth;a<u;)c=e.rows[0].cells[a],r[a]={name:c.textContent.toLowerCase().replace(/\s+/g,""),prompt:c.textContent.replace(/\r?\n/g,""),width:c.clientWidth/l*t.pdf.internal.pageSize.getWidth()},a++;for(a=1;a<e.rows.length;){for(s=e.rows[a],o={},i=0;i<s.cells.length;)o[r[i].name]=s.cells[i].textContent.replace(/\r?\n/g,""),i++;n.push(o),a++}return{rows:n,headers:r}};var x={SCRIPT:1,STYLE:1,NOSCRIPT:1,OBJECT:1,EMBED:1,SELECT:1},E=1;r=function(t,a,i){var o,s,l,c,f,h,d,p;for(s=t.childNodes,o=void 0,(f="block"===(l=u(t)).display)&&(a.setBlockBoundary(),a.setBlockStyle(l)),c=0,h=s.length;c<h;){if("object"===e(o=s[c])){if(a.executeWatchFunctions(o),1===o.nodeType&&"HEADER"===o.nodeName){var g=o,b=a.pdf.margins_doc.top;a.pdf.internal.events.subscribe("addPage",function(e){a.y=b,r(g,a,i),a.pdf.margins_doc.top=a.y+10,a.y+=10},!1)}if(8===o.nodeType&&"#comment"===o.nodeName)~o.textContent.indexOf("ADD_PAGE")&&(a.pdf.addPage(),a.y=a.pdf.margins_doc.top);else if(1!==o.nodeType||x[o.nodeName])if(3===o.nodeType){var y=o.nodeValue;if(o.nodeValue&&"LI"===o.parentNode.nodeName)if("OL"===o.parentNode.parentNode.nodeName)y=E+++". "+y;else{var w=l["font-size"],_=(3-.75*w)*a.pdf.internal.scaleFactor,k=.75*w*a.pdf.internal.scaleFactor,A=1.74*w/a.pdf.internal.scaleFactor;p=function(e,t){this.pdf.circle(e+_,t+k,A,"FD")}}16&o.ownerDocument.body.compareDocumentPosition(o)&&a.addText(y,l)}else"string"==typeof o&&a.addText(o,l);else{var C;if("IMG"===o.nodeName){var T=o.getAttribute("src");C=v[a.pdf.sHashCode(T)||T]}if(C){a.pdf.internal.pageSize.getHeight()-a.pdf.margins_doc.bottom<a.y+o.height&&a.y>a.pdf.margins_doc.top&&(a.pdf.addPage(),a.y=a.pdf.margins_doc.top,a.executeWatchFunctions(o));var R=u(o),N=a.x,B=12/a.pdf.internal.scaleFactor,I=(R["margin-left"]+R["padding-left"])*B,L=(R["margin-right"]+R["padding-right"])*B,O=(R["margin-top"]+R["padding-top"])*B,P=(R["margin-bottom"]+R["padding-bottom"])*B;void 0!==R.float&&"right"===R.float?N+=a.settings.width-o.width-L:N+=I,a.pdf.addImage(C,N,a.y+O,o.width,o.height),C=void 0,"right"===R.float||"left"===R.float?(a.watchFunctions.push(function(e,t,n,r){return a.y>=t?(a.x+=e,a.settings.width+=n,!0):!!(r&&1===r.nodeType&&!x[r.nodeName]&&a.x+r.width>a.pdf.margins_doc.left+a.pdf.margins_doc.width)&&(a.x+=e,a.y=t,a.settings.width+=n,!0)}.bind(this,"left"===R.float?-o.width-I-L:0,a.y+o.height+O+P,o.width)),a.watchFunctions.push(function(e,t,n){return!(a.y<e&&t===a.pdf.internal.getNumberOfPages())||1===n.nodeType&&"both"===u(n).clear&&(a.y=e,!0)}.bind(this,a.y+o.height,a.pdf.internal.getNumberOfPages())),a.settings.width-=o.width+I+L,"left"===R.float&&(a.x+=o.width+I+L)):a.y+=o.height+O+P}else if("TABLE"===o.nodeName)d=S(o,a),a.y+=10,a.pdf.table(a.x,a.y,d.rows,d.headers,{autoSize:!1,printHeaders:i.printHeaders,margins:a.pdf.margins_doc,css:u(o)}),a.y=a.pdf.lastCellPos.y+a.pdf.lastCellPos.h+20;else if("OL"===o.nodeName||"UL"===o.nodeName)E=1,m(o,a,i)||r(o,a,i),a.y+=10;else if("LI"===o.nodeName){var F=a.x;a.x+=20/a.pdf.internal.scaleFactor,a.y+=3,m(o,a,i)||r(o,a,i),a.x=F}else"BR"===o.nodeName?(a.y+=l["font-size"]*a.pdf.internal.scaleFactor,a.addText("\u2028",n(l))):m(o,a,i)||r(o,a,i)}}c++}if(i.outY=a.y,f)return a.setBlockBoundary(p)},v={},b=function(e,t,n,r){var a,i=e.getElementsByTagName("img"),o=i.length,s=0;function l(){t.pdf.internal.events.publish("imagesLoaded"),r(a)}function c(e,n,r){if(e){var i=new Image;a=++s,i.crossOrigin="",i.onerror=i.onload=function(){if(i.complete&&(0===i.src.indexOf("data:image/")&&(i.width=n||i.width||0,i.height=r||i.height||0),i.width+i.height)){var a=t.pdf.sHashCode(e)||e;v[a]=v[a]||i}--s||l()},i.src=e}}for(;o--;)c(i[o].getAttribute("src"),i[o].width,i[o].height);return s||l()},y=function(e,t,n){var a=e.getElementsByTagName("footer");if(0<a.length){a=a[0];var i=t.pdf.internal.write,o=t.y;t.pdf.internal.write=function(){},r(a,t,n);var s=Math.ceil(t.y-o)+5;t.y=o,t.pdf.internal.write=i,t.pdf.margins_doc.bottom+=s;for(var l=function(e){var i=void 0!==e?e.pageNumber:1,o=t.y;t.y=t.pdf.internal.pageSize.getHeight()-t.pdf.margins_doc.bottom,t.pdf.margins_doc.bottom-=s;for(var l=a.getElementsByTagName("span"),c=0;c<l.length;++c)-1<(" "+l[c].className+" ").replace(/[\n\t]/g," ").indexOf(" pageCounter ")&&(l[c].innerHTML=i),-1<(" "+l[c].className+" ").replace(/[\n\t]/g," ").indexOf(" totalPages ")&&(l[c].innerHTML="###jsPDFVarTotalPages###");r(a,t,n),t.pdf.margins_doc.bottom+=s,t.y=o},c=a.getElementsByTagName("span"),u=0;u<c.length;++u)-1<(" "+c[u].className+" ").replace(/[\n\t]/g," ").indexOf(" totalPages ")&&t.pdf.internal.events.subscribe("htmlRenderingFinished",t.pdf.putTotalPages.bind(t.pdf,"###jsPDFVarTotalPages###"),!0);t.pdf.internal.events.subscribe("addPage",l,!1),l(),x.FOOTER=1}},w=function(e,t,n,a,i,o){if(!t)return!1;var s,l,c,u;"string"==typeof t||t.parentNode||(t=""+t.innerHTML),"string"==typeof t&&(s=t.replace(/<\/?script[^>]*?>/gi,""),u="jsPDFhtmlText"+Date.now().toString()+(1e3*Math.random()).toFixed(0),(c=document.createElement("div")).style.cssText="position: absolute !important;clip: rect(1px 1px 1px 1px); /* IE6, IE7 */clip: rect(1px, 1px, 1px, 1px);padding:0 !important;border:0 !important;height: 1px !important;width: 1px !important; top:auto;left:-100px;overflow: hidden;",c.innerHTML='<iframe style="height:1px;width:1px" name="'+u+'" />',document.body.appendChild(c),(l=window.frames[u]).document.open(),l.document.writeln(s),l.document.close(),t=l.document.body);var f,d=new h(e,n,a,i);return b.call(this,t,d,i.elementHandlers,function(e){y(t,d,i.elementHandlers),r(t,d,i.elementHandlers),d.pdf.internal.events.publish("htmlRenderingFinished"),f=d.dispose(),"function"==typeof o?o(f):e&&console.error("jsPDF Warning: rendering issues? provide a callback to fromHTML!")}),f||{x:d.x,y:d.y}},(h=function(e,t,n,r){return this.pdf=e,this.x=t,this.y=n,this.settings=r,this.watchFunctions=[],this.init(),this}).prototype.init=function(){return this.paragraph={text:[],style:[]},this.pdf.internal.write("q")},h.prototype.dispose=function(){return this.pdf.internal.write("Q"),{x:this.x,y:this.y,ready:!0}},h.prototype.executeWatchFunctions=function(e){var t=!1,n=[];if(0<this.watchFunctions.length){for(var r=0;r<this.watchFunctions.length;++r)!0===this.watchFunctions[r](e)?t=!0:n.push(this.watchFunctions[r]);this.watchFunctions=n}return t},h.prototype.splitFragmentsIntoLines=function(e,t){var r,a,i,o,s,l,c,u,f,h,d,p,g,m;for(h=this.pdf.internal.scaleFactor,o={},l=c=u=m=s=i=f=a=void 0,p=[d=[]],r=0,g=this.settings.width;e.length;)if(s=e.shift(),m=t.shift(),s)if((i=o[(a=m["font-family"])+(f=m["font-style"])])||(i=this.pdf.internal.getFont(a,f).metadata.Unicode,o[a+f]=i),u={widths:i.widths,kerning:i.kerning,fontSize:12*m["font-size"],textIndent:r},c=this.pdf.getStringUnitWidth(s,u)*u.fontSize/h,"\u2028"==s)d=[],p.push(d);else if(g<r+c){for(l=this.pdf.splitTextToSize(s,g,u),d.push([l.shift(),m]);l.length;)d=[[l.shift(),m]],p.push(d);r=this.pdf.getStringUnitWidth(d[0][0],u)*u.fontSize/h}else d.push([s,m]),r+=c;if(void 0!==m["text-align"]&&("center"===m["text-align"]||"right"===m["text-align"]||"justify"===m["text-align"]))for(var v=0;v<p.length;++v){var b=this.pdf.getStringUnitWidth(p[v][0][0],u)*u.fontSize/h;0<v&&(p[v][0][1]=n(p[v][0][1]));var y=g-b;if("right"===m["text-align"])p[v][0][1]["margin-left"]=y;else if("center"===m["text-align"])p[v][0][1]["margin-left"]=y/2;else if("justify"===m["text-align"]){var w=p[v][0][0].split(" ").length-1;p[v][0][1]["word-spacing"]=y/w,v===p.length-1&&(p[v][0][1]["word-spacing"]=0)}}return p},h.prototype.RenderTextFragment=function(e,t){var n,r;r=0,this.pdf.internal.pageSize.getHeight()-this.pdf.margins_doc.bottom<this.y+this.pdf.internal.getFontSize()&&(this.pdf.internal.write("ET","Q"),this.pdf.addPage(),this.y=this.pdf.margins_doc.top,this.pdf.internal.write("q","BT",this.getPdfColor(t.color),this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td"),r=Math.max(r,t["line-height"],t["font-size"]),this.pdf.internal.write(0,(-12*r).toFixed(2),"Td")),n=this.pdf.internal.getFont(t["font-family"],t["font-style"]);var a=this.getPdfColor(t.color);a!==this.lastTextColor&&(this.pdf.internal.write(a),this.lastTextColor=a),void 0!==t["word-spacing"]&&0<t["word-spacing"]&&this.pdf.internal.write(t["word-spacing"].toFixed(2),"Tw"),this.pdf.internal.write("/"+n.id,(12*t["font-size"]).toFixed(2),"Tf","("+this.pdf.internal.pdfEscape(e)+") Tj"),void 0!==t["word-spacing"]&&this.pdf.internal.write(0,"Tw")},h.prototype.getPdfColor=function(e){var t,n,r,a=/rgb\s*\(\s*(\d+),\s*(\d+),\s*(\d+\s*)\)/.exec(e);if(null!=a)t=parseInt(a[1]),n=parseInt(a[2]),r=parseInt(a[3]);else{if("string"==typeof e&&"#"!=e.charAt(0)){var i=new RGBColor(e);e=i.ok?i.toHex():"#000000"}t=e.substring(1,3),t=parseInt(t,16),n=e.substring(3,5),n=parseInt(n,16),r=e.substring(5,7),r=parseInt(r,16)}if("string"==typeof t&&/^#[0-9A-Fa-f]{6}$/.test(t)){var o=parseInt(t.substr(1),16);t=o>>16&255,n=o>>8&255,r=255&o}var s=this.f3;return 0===t&&0===n&&0===r||void 0===n?s(t/255)+" g":[s(t/255),s(n/255),s(r/255),"rg"].join(" ")},h.prototype.f3=function(e){return e.toFixed(3)},h.prototype.renderParagraph=function(e){var t,n,r,a,i,o,s,l,c,u,h,d,p;if(r=f(this.paragraph.text),d=this.paragraph.style,t=this.paragraph.blockstyle,this.paragraph.priorblockstyle,this.paragraph={text:[],style:[],blockstyle:{},priorblockstyle:t},r.join("").trim()){s=this.splitFragmentsIntoLines(r,d),l=o=void 0,n=12/this.pdf.internal.scaleFactor,this.priorMarginBottom=this.priorMarginBottom||0,h=(Math.max((t["margin-top"]||0)-this.priorMarginBottom,0)+(t["padding-top"]||0))*n,u=((t["margin-bottom"]||0)+(t["padding-bottom"]||0))*n,this.priorMarginBottom=t["margin-bottom"]||0,"always"===t["page-break-before"]&&(this.pdf.addPage(),this.y=0,h=((t["margin-top"]||0)+(t["padding-top"]||0))*n),c=this.pdf.internal.write,i=a=void 0,this.y+=h,c("q","BT 0 g",this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td");for(var g=0;s.length;){for(a=l=0,i=(o=s.shift()).length;a!==i;)o[a][0].trim()&&(l=Math.max(l,o[a][1]["line-height"],o[a][1]["font-size"]),p=7*o[a][1]["font-size"]),a++;var m=0,v=0;for(void 0!==o[0][1]["margin-left"]&&0<o[0][1]["margin-left"]&&(m=(v=this.pdf.internal.getCoordinateString(o[0][1]["margin-left"]))-g,g=v),c(m+Math.max(t["margin-left"]||0,0)*n,(-12*l).toFixed(2),"Td"),a=0,i=o.length;a!==i;)o[a][0]&&this.RenderTextFragment(o[a][0],o[a][1]),a++;if(this.y+=l*n,this.executeWatchFunctions(o[0][1])&&0<s.length){var b=[],y=[];s.forEach(function(e){for(var t=0,n=e.length;t!==n;)e[t][0]&&(b.push(e[t][0]+" "),y.push(e[t][1])),++t}),s=this.splitFragmentsIntoLines(f(b),y),c("ET","Q"),c("q","BT 0 g",this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td")}}return e&&"function"==typeof e&&e.call(this,this.x-9,this.y-p/2),c("ET","Q"),this.y+=u}},h.prototype.setBlockBoundary=function(e){return this.renderParagraph(e)},h.prototype.setBlockStyle=function(e){return this.paragraph.blockstyle=e},h.prototype.addText=function(e,t){return this.paragraph.text.push(e),this.paragraph.style.push(t)},a={helvetica:"helvetica","sans-serif":"helvetica","times new roman":"times",serif:"times",times:"times",monospace:"courier",courier:"courier"},s={100:"normal",200:"normal",300:"normal",400:"normal",500:"bold",600:"bold",700:"bold",800:"bold",900:"bold",normal:"normal",bold:"bold",bolder:"bold",lighter:"normal"},i={normal:"normal",italic:"italic",oblique:"italic"},o={left:"left",right:"right",center:"center",justify:"justify"},l={none:"none",right:"right",left:"left"},c={none:"none",both:"both"},g={normal:1},t.fromHTML=function(e,t,n,r,a,i){return this.margins_doc=i||{top:0,bottom:0},r||(r={}),r.elementHandlers||(r.elementHandlers={}),w(this,e,isNaN(t)?4:t,isNaN(n)?4:n,r,a)}}(ce.API),ce.API,("undefined"!=typeof window&&window||"undefined"!=typeof global&&global).html2pdf=function(e,t,n){var r=t.canvas;if(r){var a,i;if((r.pdf=t).annotations={_nameMap:[],createAnnotation:function(e,n){var r,a=t.context2d._wrapX(n.left),i=t.context2d._wrapY(n.top),o=(t.context2d._page(n.top),e.indexOf("#"));r=0<=o?{name:e.substring(o+1)}:{url:e},t.link(a,i,n.right-n.left,n.bottom-n.top,r)},setName:function(e,n){var r=t.context2d._wrapX(n.left),a=t.context2d._wrapY(n.top),i=t.context2d._page(n.top);this._nameMap[e]={page:i,x:r,y:a}}},r.annotations=t.annotations,t.context2d._pageBreakAt=function(e){this.pageBreaks.push(e)},t.context2d._gotoPage=function(e){for(;t.internal.getNumberOfPages()<e;)t.addPage();t.setPage(e)},"string"==typeof e){e=e.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,"");var o,s,l=document.createElement("iframe");document.body.appendChild(l),null!=(o=l.contentDocument)&&null!=o||(o=l.contentWindow.document),o.open(),o.write(e),o.close(),a=o.body,s=o.body||{},e=o.documentElement||{},i=Math.max(s.scrollHeight,s.offsetHeight,e.clientHeight,e.scrollHeight,e.offsetHeight)}else s=(a=e).body||{},i=Math.max(s.scrollHeight,s.offsetHeight,e.clientHeight,e.scrollHeight,e.offsetHeight);var c={async:!0,allowTaint:!0,backgroundColor:"#ffffff",canvas:r,imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1,windowHeight:i=t.internal.pageSize.getHeight(),scrollY:i};t.context2d.pageWrapYEnabled=!0,t.context2d.pageWrapY=t.internal.pageSize.getHeight(),html2canvas(a,c).then(function(e){n&&(l&&l.parentElement.removeChild(l),n(t))})}else alert("jsPDF canvas plugin not installed")},window.tmp=html2pdf,function(e){var t=e.BlobBuilder||e.WebKitBlobBuilder||e.MSBlobBuilder||e.MozBlobBuilder;e.URL=e.URL||e.webkitURL||function(e,t){return(t=document.createElement("a")).href=e,t};var n=e.Blob,r=URL.createObjectURL,a=URL.revokeObjectURL,i=e.Symbol&&e.Symbol.toStringTag,o=!1,s=!1,l=!!e.ArrayBuffer,c=t&&t.prototype.append&&t.prototype.getBlob;try{o=2===new Blob(["ä"]).size,s=2===new Blob([new Uint8Array([1,2])]).size}catch(o){}function u(e){return e.map(function(e){if(e.buffer instanceof ArrayBuffer){var t=e.buffer;if(e.byteLength!==t.byteLength){var n=new Uint8Array(e.byteLength);n.set(new Uint8Array(t,e.byteOffset,e.byteLength)),t=n.buffer}return t}return e})}function f(e,n){n=n||{};var r=new t;return u(e).forEach(function(e){r.append(e)}),n.type?r.getBlob(n.type):r.getBlob()}function h(e,t){return new n(u(e),t||{})}if(e.Blob&&(f.prototype=Blob.prototype,h.prototype=Blob.prototype),i)try{File.prototype[i]="File",Blob.prototype[i]="Blob",FileReader.prototype[i]="FileReader"}catch(o){}function d(){var t=!!e.ActiveXObject||"-ms-scroll-limit"in document.documentElement.style&&"-ms-ime-align"in document.documentElement.style,n=e.XMLHttpRequest&&e.XMLHttpRequest.prototype.send;t&&n&&(XMLHttpRequest.prototype.send=function(e){e instanceof Blob&&this.setRequestHeader("Content-Type",e.type),n.call(this,e)});try{new File([],"")}catch(t){try{var r=new Function('class File extends Blob {constructor(chunks, name, opts) {opts = opts || {};super(chunks, opts || {});this.name = name;this.lastModifiedDate = opts.lastModified ? new Date(opts.lastModified) : new Date;this.lastModified = +this.lastModifiedDate;}};return new File([], ""), File')();e.File=r}catch(t){r=function(e,t,n){var r=new Blob(e,n),a=n&&void 0!==n.lastModified?new Date(n.lastModified):new Date;return r.name=t,r.lastModifiedDate=a,r.lastModified=+a,r.toString=function(){return"[object File]"},i&&(r[i]="File"),r},e.File=r}}}o?(d(),e.Blob=s?e.Blob:h):c?(d(),e.Blob=f):function(){function t(e){for(var t=[],n=0;n<e.length;n++){var r=e.charCodeAt(n);r<128?t.push(r):r<2048?t.push(192|r>>6,128|63&r):r<55296||57344<=r?t.push(224|r>>12,128|r>>6&63,128|63&r):(n++,r=65536+((1023&r)<<10|1023&e.charCodeAt(n)),t.push(240|r>>18,128|r>>12&63,128|r>>6&63,128|63&r))}return t}function n(e){var t,n,r,a,i,o;for(t="",r=e.length,n=0;n<r;)switch((a=e[n++])>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:t+=String.fromCharCode(a);break;case 12:case 13:i=e[n++],t+=String.fromCharCode((31&a)<<6|63&i);break;case 14:i=e[n++],o=e[n++],t+=String.fromCharCode((15&a)<<12|(63&i)<<6|(63&o)<<0)}return t}function i(e){for(var t=new Array(e.byteLength),n=new Uint8Array(e),r=t.length;r--;)t[r]=n[r];return t}function o(e){for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=[],r=0;r<e.length;r+=3){var a=e[r],i=r+1<e.length,o=i?e[r+1]:0,s=r+2<e.length,l=s?e[r+2]:0,c=a>>2,u=(3&a)<<4|o>>4,f=(15&o)<<2|l>>6,h=63&l;s||(h=64,i||(f=64)),n.push(t[c],t[u],t[f],t[h])}return n.join("")}var s=Object.create||function(e){function t(){}return t.prototype=e,new t};if(l)var c=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],u=ArrayBuffer.isView||function(e){return e&&-1<c.indexOf(Object.prototype.toString.call(e))};function f(e,n){for(var r=0,a=(e=e||[]).length;r<a;r++){var o=e[r];o instanceof f?e[r]=o._buffer:"string"==typeof o?e[r]=t(o):l&&(ArrayBuffer.prototype.isPrototypeOf(o)||u(o))?e[r]=i(o):l&&(s=o)&&DataView.prototype.isPrototypeOf(s)?e[r]=i(o.buffer):e[r]=t(String(o))}var s;this._buffer=[].concat.apply([],e),this.size=this._buffer.length,this.type=n&&n.type||""}function h(e,t,n){var r=f.call(this,e,n=n||{})||this;return r.name=t,r.lastModifiedDate=n.lastModified?new Date(n.lastModified):new Date,r.lastModified=+r.lastModifiedDate,r}if(f.prototype.slice=function(e,t,n){return new f([this._buffer.slice(e||0,t||this._buffer.length)],{type:n})},f.prototype.toString=function(){return"[object Blob]"},(h.prototype=s(f.prototype)).constructor=h,Object.setPrototypeOf)Object.setPrototypeOf(h,f);else try{h.__proto__=f}catch(s){}function d(){if(!(this instanceof d))throw new TypeError("Failed to construct 'FileReader': Please use the 'new' operator, this DOM object constructor cannot be called as a function.");var e=document.createDocumentFragment();this.addEventListener=e.addEventListener,this.dispatchEvent=function(t){var n=this["on"+t.type];"function"==typeof n&&n(t),e.dispatchEvent(t)},this.removeEventListener=e.removeEventListener}function p(e,t,n){if(!(t instanceof f))throw new TypeError("Failed to execute '"+n+"' on 'FileReader': parameter 1 is not of type 'Blob'.");e.result="",setTimeout(function(){this.readyState=d.LOADING,e.dispatchEvent(new Event("load")),e.dispatchEvent(new Event("loadend"))})}h.prototype.toString=function(){return"[object File]"},d.EMPTY=0,d.LOADING=1,d.DONE=2,d.prototype.error=null,d.prototype.onabort=null,d.prototype.onerror=null,d.prototype.onload=null,d.prototype.onloadend=null,d.prototype.onloadstart=null,d.prototype.onprogress=null,d.prototype.readAsDataURL=function(e){p(this,e,"readAsDataURL"),this.result="data:"+e.type+";base64,"+o(e._buffer)},d.prototype.readAsText=function(e){p(this,e,"readAsText"),this.result=n(e._buffer)},d.prototype.readAsArrayBuffer=function(e){p(this,e,"readAsText"),this.result=e._buffer.slice()},d.prototype.abort=function(){},URL.createObjectURL=function(e){return e instanceof f?"data:"+e.type+";base64,"+o(e._buffer):r.call(URL,e)},URL.revokeObjectURL=function(e){a&&a.call(URL,e)};var g=e.XMLHttpRequest&&e.XMLHttpRequest.prototype.send;g&&(XMLHttpRequest.prototype.send=function(e){e instanceof f?(this.setRequestHeader("Content-Type",e.type),g.call(this,n(e._buffer))):g.call(this,e)}),e.FileReader=d,e.File=h,e.Blob=f}()}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||"undefined"!=typeof global&&global||Function('return typeof this === "object" && this.content')()||Function("return this")());var ue,fe,he,de,pe,ge,me,ve,be,ye,we,Se,xe,Ee,_e,ke=ke||function(e){if(!(void 0===e||"undefined"!=typeof navigator&&/MSIE [1-9]\./.test(navigator.userAgent))){var t=e.document,n=function(){return e.URL||e.webkitURL||e},r=t.createElementNS("http://www.w3.org/1999/xhtml","a"),a="download"in r,i=/constructor/i.test(e.HTMLElement)||e.safari,o=/CriOS\/[\d]+/.test(navigator.userAgent),s=e.setImmediate||e.setTimeout,l=function(e){s(function(){throw e},0)},c=function(e){setTimeout(function(){"string"==typeof e?n().revokeObjectURL(e):e.remove()},4e4)},u=function(e){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e},f=function(t,f,h){h||(t=u(t));var d,p=this,g="application/octet-stream"===t.type,m=function(){!function(e,t,n){for(var r=(t=[].concat(t)).length;r--;){var a=e["on"+t[r]];if("function"==typeof a)try{a.call(e,e)}catch(e){l(e)}}}(p,"writestart progress write writeend".split(" "))};if(p.readyState=p.INIT,a)return d=n().createObjectURL(t),void s(function(){var e,t;r.href=d,r.download=f,e=r,t=new MouseEvent("click"),e.dispatchEvent(t),m(),c(d),p.readyState=p.DONE},0);!function(){if((o||g&&i)&&e.FileReader){var r=new FileReader;return r.onloadend=function(){var t=o?r.result:r.result.replace(/^data:[^;]*;/,"data:attachment/file;");e.open(t,"_blank")||(e.location.href=t),t=void 0,p.readyState=p.DONE,m()},r.readAsDataURL(t),p.readyState=p.INIT}d||(d=n().createObjectURL(t)),g?e.location.href=d:e.open(d,"_blank")||(e.location.href=d),p.readyState=p.DONE,m(),c(d)}()},h=f.prototype;return"undefined"!=typeof navigator&&navigator.msSaveOrOpenBlob?function(e,t,n){return t=t||e.name||"download",n||(e=u(e)),navigator.msSaveOrOpenBlob(e,t)}:(h.abort=function(){},h.readyState=h.INIT=0,h.WRITING=1,h.DONE=2,h.error=h.onwritestart=h.onprogress=h.onwrite=h.onabort=h.onerror=h.onwriteend=null,function(e,t,n){return new f(e,t||e.name||"download",n)})}}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||void 0);function Ae(e){var t=0;if(71!==e[t++]||73!==e[t++]||70!==e[t++]||56!==e[t++]||56!=(e[t++]+1&253)||97!==e[t++])throw"Invalid GIF 87a/89a header.";var n=e[t++]|e[t++]<<8,r=e[t++]|e[t++]<<8,a=e[t++],i=a>>7,o=1<<1+(7&a);e[t++],e[t++];var s=null;i&&(s=t,t+=3*o);var l=!0,c=[],u=0,f=null,h=0,d=null;for(this.width=n,this.height=r;l&&t<e.length;)switch(e[t++]){case 33:switch(e[t++]){case 255:if(11!==e[t]||78==e[t+1]&&69==e[t+2]&&84==e[t+3]&&83==e[t+4]&&67==e[t+5]&&65==e[t+6]&&80==e[t+7]&&69==e[t+8]&&50==e[t+9]&&46==e[t+10]&&48==e[t+11]&&3==e[t+12]&&1==e[t+13]&&0==e[t+16])t+=14,d=e[t++]|e[t++]<<8,t++;else for(t+=12;0!==(_=e[t++]);)t+=_;break;case 249:if(4!==e[t++]||0!==e[t+4])throw"Invalid graphics extension block.";var p=e[t++];u=e[t++]|e[t++]<<8,f=e[t++],0==(1&p)&&(f=null),h=p>>2&7,t++;break;case 254:for(;0!==(_=e[t++]);)t+=_;break;default:throw"Unknown graphic control label: 0x"+e[t-1].toString(16)}break;case 44:var g=e[t++]|e[t++]<<8,m=e[t++]|e[t++]<<8,v=e[t++]|e[t++]<<8,b=e[t++]|e[t++]<<8,y=e[t++],w=y>>6&1,S=s,x=!1;y>>7&&(x=!0,S=t,t+=3*(1<<1+(7&y)));var E=t;for(t++;;){var _;if(0===(_=e[t++]))break;t+=_}c.push({x:g,y:m,width:v,height:b,has_local_palette:x,palette_offset:S,data_offset:E,data_length:t-E,transparent_index:f,interlaced:!!w,delay:u,disposal:h});break;case 59:l=!1;break;default:throw"Unknown gif block: 0x"+e[t-1].toString(16)}this.numFrames=function(){return c.length},this.loopCount=function(){return d},this.frameInfo=function(e){if(e<0||e>=c.length)throw"Frame index out of range.";return c[e]},this.decodeAndBlitFrameBGRA=function(t,r){var a=this.frameInfo(t),i=a.width*a.height,o=new Uint8Array(i);Ce(e,a.data_offset,o,i);var s=a.palette_offset,l=a.transparent_index;null===l&&(l=256);var c=a.width,u=n-c,f=c,h=4*(a.y*n+a.x),d=4*((a.y+a.height)*n+a.x),p=h,g=4*u;!0===a.interlaced&&(g+=4*(c+u)*7);for(var m=8,v=0,b=o.length;v<b;++v){var y=o[v];if(0===f&&(f=c,d<=(p+=g)&&(g=u+4*(c+u)*(m-1),p=h+(c+u)*(m<<1),m>>=1)),y===l)p+=4;else{var w=e[s+3*y],S=e[s+3*y+1],x=e[s+3*y+2];r[p++]=x,r[p++]=S,r[p++]=w,r[p++]=255}--f}},this.decodeAndBlitFrameRGBA=function(t,r){var a=this.frameInfo(t),i=a.width*a.height,o=new Uint8Array(i);Ce(e,a.data_offset,o,i);var s=a.palette_offset,l=a.transparent_index;null===l&&(l=256);var c=a.width,u=n-c,f=c,h=4*(a.y*n+a.x),d=4*((a.y+a.height)*n+a.x),p=h,g=4*u;!0===a.interlaced&&(g+=4*(c+u)*7);for(var m=8,v=0,b=o.length;v<b;++v){var y=o[v];if(0===f&&(f=c,d<=(p+=g)&&(g=u+4*(c+u)*(m-1),p=h+(c+u)*(m<<1),m>>=1)),y===l)p+=4;else{var w=e[s+3*y],S=e[s+3*y+1],x=e[s+3*y+2];r[p++]=w,r[p++]=S,r[p++]=x,r[p++]=255}--f}}}function Ce(e,t,n,r){for(var a=e[t++],i=1<<a,o=i+1,s=o+1,l=a+1,c=(1<<l)-1,u=0,f=0,h=0,d=e[t++],p=new Int32Array(4096),g=null;;){for(;u<16&&0!==d;)f|=e[t++]<<u,u+=8,1===d?d=e[t++]:--d;if(u<l)break;var m=f&c;if(f>>=l,u-=l,m!==i){if(m===o)break;for(var v=m<s?m:g,b=0,y=v;i<y;)y=p[y]>>8,++b;var w=y;if(r<h+b+(v!==m?1:0))return void console.log("Warning, gif stream longer than expected.");n[h++]=w;var S=h+=b;for(v!==m&&(n[h++]=w),y=v;b--;)y=p[y],n[--S]=255&y,y>>=8;null!==g&&s<4096&&(p[s++]=g<<8|w,c+1<=s&&l<12&&(++l,c=c<<1|1)),g=m}else s=o+1,c=(1<<(l=a+1))-1,g=null}return h!==r&&console.log("Warning, gif stream shorter than expected."),n}try{exports.GifWriter=function(e,t,n,r){var a=0,i=void 0===(r=void 0===r?{}:r).loop?null:r.loop,o=void 0===r.palette?null:r.palette;if(t<=0||n<=0||65535<t||65535<n)throw"Width/Height invalid.";function s(e){var t=e.length;if(t<2||256<t||t&t-1)throw"Invalid code/color length, must be power of 2 and 2 .. 256.";return t}e[a++]=71,e[a++]=73,e[a++]=70,e[a++]=56,e[a++]=57,e[a++]=97;var l=0,c=0;if(null!==o){for(var u=s(o);u>>=1;)++l;if(u=1<<l,--l,void 0!==r.background){if(u<=(c=r.background))throw"Background index out of range.";if(0===c)throw"Background index explicitly passed as 0."}}if(e[a++]=255&t,e[a++]=t>>8&255,e[a++]=255&n,e[a++]=n>>8&255,e[a++]=(null!==o?128:0)|l,e[a++]=c,e[a++]=0,null!==o)for(var f=0,h=o.length;f<h;++f){var d=o[f];e[a++]=d>>16&255,e[a++]=d>>8&255,e[a++]=255&d}if(null!==i){if(i<0||65535<i)throw"Loop count invalid.";e[a++]=33,e[a++]=255,e[a++]=11,e[a++]=78,e[a++]=69,e[a++]=84,e[a++]=83,e[a++]=67,e[a++]=65,e[a++]=80,e[a++]=69,e[a++]=50,e[a++]=46,e[a++]=48,e[a++]=3,e[a++]=1,e[a++]=255&i,e[a++]=i>>8&255,e[a++]=0}var p=!1;this.addFrame=function(t,n,r,i,l,c){if(!0===p&&(--a,p=!1),c=void 0===c?{}:c,t<0||n<0||65535<t||65535<n)throw"x/y invalid.";if(r<=0||i<=0||65535<r||65535<i)throw"Width/Height invalid.";if(l.length<r*i)throw"Not enough pixels for the frame size.";var u=!0,f=c.palette;if(null==f&&(u=!1,f=o),null==f)throw"Must supply either a local or global palette.";for(var h=s(f),d=0;h>>=1;)++d;h=1<<d;var g=void 0===c.delay?0:c.delay,m=void 0===c.disposal?0:c.disposal;if(m<0||3<m)throw"Disposal out of range.";var v=!1,b=0;if(void 0!==c.transparent&&null!==c.transparent&&(v=!0,(b=c.transparent)<0||h<=b))throw"Transparent color index.";if((0!==m||v||0!==g)&&(e[a++]=33,e[a++]=249,e[a++]=4,e[a++]=m<<2|(!0===v?1:0),e[a++]=255&g,e[a++]=g>>8&255,e[a++]=b,e[a++]=0),e[a++]=44,e[a++]=255&t,e[a++]=t>>8&255,e[a++]=255&n,e[a++]=n>>8&255,e[a++]=255&r,e[a++]=r>>8&255,e[a++]=255&i,e[a++]=i>>8&255,e[a++]=!0===u?128|d-1:0,!0===u)for(var y=0,w=f.length;y<w;++y){var S=f[y];e[a++]=S>>16&255,e[a++]=S>>8&255,e[a++]=255&S}a=function(e,t,n,r){e[t++]=n;var a=t++,i=1<<n,o=i-1,s=i+1,l=s+1,c=n+1,u=0,f=0;function h(n){for(;n<=u;)e[t++]=255&f,f>>=8,u-=8,t===a+256&&(e[a]=255,a=t++)}function d(e){f|=e<<u,u+=c,h(8)}var p=r[0]&o,g={};d(i);for(var m=1,v=r.length;m<v;++m){var b=r[m]&o,y=p<<8|b,w=g[y];if(void 0===w){for(f|=p<<u,u+=c;8<=u;)e[t++]=255&f,f>>=8,u-=8,t===a+256&&(e[a]=255,a=t++);4096===l?(d(i),l=s+1,c=n+1,g={}):(1<<c<=l&&++c,g[y]=l++),p=b}else p=w}return d(p),d(s),h(1),a+1===t?e[a]=0:(e[a]=t-a-1,e[t++]=0),t}(e,a,d<2?2:d,l)},this.end=function(){return!1===p&&(e[a++]=59,p=!0),a}},exports.GifReader=Ae}catch(t){}function Te(e){var t,n,r,a,i,o=Math.floor,s=new Array(64),l=new Array(64),c=new Array(64),u=new Array(64),f=new Array(65535),h=new Array(65535),d=new Array(64),p=new Array(64),g=[],m=0,v=7,b=new Array(64),y=new Array(64),w=new Array(64),S=new Array(256),x=new Array(2048),E=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],_=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],k=[0,1,2,3,4,5,6,7,8,9,10,11],A=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],C=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],T=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],R=[0,1,2,3,4,5,6,7,8,9,10,11],N=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],B=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function I(e,t){for(var n=0,r=0,a=new Array,i=1;i<=16;i++){for(var o=1;o<=e[i];o++)a[t[r]]=[],a[t[r]][0]=n,a[t[r]][1]=i,r++,n++;n*=2}return a}function L(e){for(var t=e[0],n=e[1]-1;0<=n;)t&1<<n&&(m|=1<<v),n--,--v<0&&(255==m?(O(255),O(0)):O(m),v=7,m=0)}function O(e){g.push(e)}function P(e){O(e>>8&255),O(255&e)}function F(e,t,n,r,a){for(var i,o=a[0],s=a[240],l=function(e,t){var n,r,a,i,o,s,l,c,u,f,h=0;for(u=0;u<8;++u){n=e[h],r=e[h+1],a=e[h+2],i=e[h+3],o=e[h+4],s=e[h+5],l=e[h+6];var p=n+(c=e[h+7]),g=n-c,m=r+l,v=r-l,b=a+s,y=a-s,w=i+o,S=i-o,x=p+w,E=p-w,_=m+b,k=m-b;e[h]=x+_,e[h+4]=x-_;var A=.707106781*(k+E);e[h+2]=E+A,e[h+6]=E-A;var C=.382683433*((x=S+y)-(k=v+g)),T=.5411961*x+C,R=1.306562965*k+C,N=.707106781*(_=y+v),B=g+N,I=g-N;e[h+5]=I+T,e[h+3]=I-T,e[h+1]=B+R,e[h+7]=B-R,h+=8}for(u=h=0;u<8;++u){n=e[h],r=e[h+8],a=e[h+16],i=e[h+24],o=e[h+32],s=e[h+40],l=e[h+48];var L=n+(c=e[h+56]),O=n-c,P=r+l,F=r-l,D=a+s,M=a-s,j=i+o,W=i-o,U=L+j,z=L-j,H=P+D,V=P-D;e[h]=U+H,e[h+32]=U-H;var q=.707106781*(V+z);e[h+16]=z+q,e[h+48]=z-q;var G=.382683433*((U=W+M)-(V=F+O)),X=.5411961*U+G,$=1.306562965*V+G,Y=.707106781*(H=M+F),K=O+Y,J=O-Y;e[h+40]=J+X,e[h+24]=J-X,e[h+8]=K+$,e[h+56]=K-$,h++}for(u=0;u<64;++u)f=e[u]*t[u],d[u]=0<f?f+.5|0:f-.5|0;return d}(e,t),c=0;c<64;++c)p[E[c]]=l[c];var u=p[0]-n;n=p[0],0==u?L(r[0]):(L(r[h[i=32767+u]]),L(f[i]));for(var g=63;0<g&&0==p[g];g--);if(0==g)return L(o),n;for(var m,v=1;v<=g;){for(var b=v;0==p[v]&&v<=g;++v);var y=v-b;if(16<=y){m=y>>4;for(var w=1;w<=m;++w)L(s);y&=15}i=32767+p[v],L(a[(y<<4)+h[i]]),L(f[i]),v++}return 63!=g&&L(o),n}function D(e){e<=0&&(e=1),100<e&&(e=100),i!=e&&(function(e){for(var t=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],n=0;n<64;n++){var r=o((t[n]*e+50)/100);r<1?r=1:255<r&&(r=255),s[E[n]]=r}for(var a=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],i=0;i<64;i++){var f=o((a[i]*e+50)/100);f<1?f=1:255<f&&(f=255),l[E[i]]=f}for(var h=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],d=0,p=0;p<8;p++)for(var g=0;g<8;g++)c[d]=1/(s[E[d]]*h[p]*h[g]*8),u[d]=1/(l[E[d]]*h[p]*h[g]*8),d++}(e<50?Math.floor(5e3/e):Math.floor(200-2*e)),i=e)}this.encode=function(e,i){var o,f;(new Date).getTime(),i&&D(i),g=new Array,m=0,v=7,P(65496),P(65504),P(16),O(74),O(70),O(73),O(70),O(0),O(1),O(1),O(0),P(1),P(1),O(0),O(0),function(){P(65499),P(132),O(0);for(var e=0;e<64;e++)O(s[e]);O(1);for(var t=0;t<64;t++)O(l[t])}(),o=e.width,f=e.height,P(65472),P(17),O(8),P(f),P(o),O(3),O(1),O(17),O(0),O(2),O(17),O(1),O(3),O(17),O(1),function(){P(65476),P(418),O(0);for(var e=0;e<16;e++)O(_[e+1]);for(var t=0;t<=11;t++)O(k[t]);O(16);for(var n=0;n<16;n++)O(A[n+1]);for(var r=0;r<=161;r++)O(C[r]);O(1);for(var a=0;a<16;a++)O(T[a+1]);for(var i=0;i<=11;i++)O(R[i]);O(17);for(var o=0;o<16;o++)O(N[o+1]);for(var s=0;s<=161;s++)O(B[s])}(),P(65498),P(12),O(3),O(1),O(0),O(2),O(17),O(3),O(17),O(0),O(63),O(0);var h=0,d=0,p=0;m=0,v=7,this.encode.displayName="_encode_";for(var S,E,I,M,j,W,U,z,H,V=e.data,q=e.width,G=e.height,X=4*q,$=0;$<G;){for(S=0;S<X;){for(W=j=X*$+S,U=-1,H=z=0;H<64;H++)W=j+(z=H>>3)*X+(U=4*(7&H)),G<=$+z&&(W-=X*($+1+z-G)),X<=S+U&&(W-=S+U-X+4),E=V[W++],I=V[W++],M=V[W++],b[H]=(x[E]+x[I+256>>0]+x[M+512>>0]>>16)-128,y[H]=(x[E+768>>0]+x[I+1024>>0]+x[M+1280>>0]>>16)-128,w[H]=(x[E+1280>>0]+x[I+1536>>0]+x[M+1792>>0]>>16)-128;h=F(b,c,h,t,r),d=F(y,u,d,n,a),p=F(w,u,p,n,a),S+=32}$+=8}if(0<=v){var Y=[];Y[1]=v+1,Y[0]=(1<<v+1)-1,L(Y)}return P(65497),new Uint8Array(g)},(new Date).getTime(),e||(e=50),function(){for(var e=String.fromCharCode,t=0;t<256;t++)S[t]=e(t)}(),t=I(_,k),n=I(T,R),r=I(A,C),a=I(N,B),function(){for(var e=1,t=2,n=1;n<=15;n++){for(var r=e;r<t;r++)h[32767+r]=n,f[32767+r]=[],f[32767+r][1]=n,f[32767+r][0]=r;for(var a=-(t-1);a<=-e;a++)h[32767+a]=n,f[32767+a]=[],f[32767+a][1]=n,f[32767+a][0]=t-1+a;e<<=1,t<<=1}}(),function(){for(var e=0;e<256;e++)x[e]=19595*e,x[e+256>>0]=38470*e,x[e+512>>0]=7471*e+32768,x[e+768>>0]=-11059*e,x[e+1024>>0]=-21709*e,x[e+1280>>0]=32768*e+8421375,x[e+1536>>0]=-27439*e,x[e+1792>>0]=-5329*e}(),D(e),(new Date).getTime()}function Re(e,t){if(this.pos=0,this.buffer=e,this.datav=new DataView(e.buffer),this.is_with_alpha=!!t,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,-1===["BM","BA","CI","CP","IC","PT"].indexOf(this.flag))throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}window.tmp=Ae,ce.API.adler32cs=(ge="function"==typeof ArrayBuffer&&"function"==typeof Uint8Array,me=null,ve=function(){if(!ge)return function(){return!1};try{var e={};"function"==typeof e.Buffer&&(me=e.Buffer)}catch(e){}return function(e){return e instanceof ArrayBuffer||null!==me&&e instanceof me}}(),be=null!==me?function(e){return new me(e,"utf8").toString("binary")}:function(e){return unescape(encodeURIComponent(e))},ye=function(e,t){for(var n=65535&e,r=e>>>16,a=0,i=t.length;a<i;a++)r=(r+(n=(n+(255&t.charCodeAt(a)))%65521))%65521;return(r<<16|n)>>>0},we=function(e,t){for(var n=65535&e,r=e>>>16,a=0,i=t.length;a<i;a++)r=(r+(n=(n+t[a])%65521))%65521;return(r<<16|n)>>>0},xe=(Se={}).Adler32=(((pe=(de=function(e){if(!(this instanceof de))throw new TypeError("Constructor cannot called be as a function.");if(!isFinite(e=null==e?1:+e))throw new Error("First arguments needs to be a finite number.");this.checksum=e>>>0}).prototype={}).constructor=de).from=((ue=function(e){if(!(this instanceof de))throw new TypeError("Constructor cannot called be as a function.");if(null==e)throw new Error("First argument needs to be a string.");this.checksum=ye(1,e.toString())}).prototype=pe,ue),de.fromUtf8=((fe=function(e){if(!(this instanceof de))throw new TypeError("Constructor cannot called be as a function.");if(null==e)throw new Error("First argument needs to be a string.");var t=be(e.toString());this.checksum=ye(1,t)}).prototype=pe,fe),ge&&(de.fromBuffer=((he=function(e){if(!(this instanceof de))throw new TypeError("Constructor cannot called be as a function.");if(!ve(e))throw new Error("First argument needs to be ArrayBuffer.");var t=new Uint8Array(e);return this.checksum=we(1,t)}).prototype=pe,he)),pe.update=function(e){if(null==e)throw new Error("First argument needs to be a string.");return e=e.toString(),this.checksum=ye(this.checksum,e)},pe.updateUtf8=function(e){if(null==e)throw new Error("First argument needs to be a string.");var t=be(e.toString());return this.checksum=ye(this.checksum,t)},ge&&(pe.updateBuffer=function(e){if(!ve(e))throw new Error("First argument needs to be ArrayBuffer.");var t=new Uint8Array(e);return this.checksum=we(this.checksum,t)}),pe.clone=function(){return new xe(this.checksum)},de),Se.from=function(e){if(null==e)throw new Error("First argument needs to be a string.");return ye(1,e.toString())},Se.fromUtf8=function(e){if(null==e)throw new Error("First argument needs to be a string.");var t=be(e.toString());return ye(1,t)},ge&&(Se.fromBuffer=function(e){if(!ve(e))throw new Error("First argument need to be ArrayBuffer.");var t=new Uint8Array(e);return we(1,t)}),Se),function(e){e.__bidiEngine__=e.prototype.__bidiEngine__=function(e){var n,r,a,i,o,s,l,c=t,u=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],f=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],h={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},d={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},p=["(",")","(","<",">","<","[","]","[","{","}","{","«","»","«","‹","›","‹","⁅","⁆","⁅","⁽","⁾","⁽","₍","₎","₍","≤","≥","≤","〈","〉","〈","﹙","﹚","﹙","﹛","﹜","﹛","﹝","﹞","﹝","﹤","﹥","﹤"],g=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),m=!1,v=0;this.__bidiEngine__={};var b=function(e){var t=e.charCodeAt(),n=t>>8,r=d[n];return void 0!==r?c[256*r+(255&t)]:252===n||253===n?"AL":g.test(n)?"L":8===n?"R":"N"},y=function(e){for(var t,n=0;n<e.length;n++){if("L"===(t=b(e.charAt(n))))return!1;if("R"===t)return!0}return!1},w=function(e,t,o,s){var l,c,u,f,h=t[s];switch(h){case"L":case"R":m=!1;break;case"N":case"AN":break;case"EN":m&&(h="AN");break;case"AL":m=!0,h="R";break;case"WS":h="N";break;case"CS":s<1||s+1>=t.length||"EN"!==(l=o[s-1])&&"AN"!==l||"EN"!==(c=t[s+1])&&"AN"!==c?h="N":m&&(c="AN"),h=c===l?c:"N";break;case"ES":h="EN"===(l=0<s?o[s-1]:"B")&&s+1<t.length&&"EN"===t[s+1]?"EN":"N";break;case"ET":if(0<s&&"EN"===o[s-1]){h="EN";break}if(m){h="N";break}for(u=s+1,f=t.length;u<f&&"ET"===t[u];)u++;h=u<f&&"EN"===t[u]?"EN":"N";break;case"NSM":if(a&&!i){for(f=t.length,u=s+1;u<f&&"NSM"===t[u];)u++;if(u<f){var d=e[s],p=1425<=d&&d<=2303||64286===d;if(l=t[u],p&&("R"===l||"AL"===l)){h="R";break}}}h=s<1||"B"===(l=t[s-1])?"N":o[s-1];break;case"B":n=!(m=!1),h=v;break;case"S":r=!0,h="N";break;case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":m=!1;break;case"BN":h="N"}return h},S=function(e,t,n){var r=e.split("");return n&&x(r,n,{hiLevel:v}),r.reverse(),t&&t.reverse(),r.join("")},x=function(e,t,a){var i,o,s,l,c,d=-1,p=e.length,g=0,y=[],S=v?f:u,x=[];for(r=n=m=!1,o=0;o<p;o++)x[o]=b(e[o]);for(s=0;s<p;s++){if(c=g,y[s]=w(e,x,y,s),i=240&(g=S[c][h[y[s]]]),g&=15,t[s]=l=S[g][5],0<i)if(16===i){for(o=d;o<s;o++)t[o]=1;d=-1}else d=-1;if(S[g][6])-1===d&&(d=s);else if(-1<d){for(o=d;o<s;o++)t[o]=l;d=-1}"B"===x[s]&&(t[s]=0),a.hiLevel|=l}r&&function(e,t,n){for(var r=0;r<n;r++)if("S"===e[r]){t[r]=v;for(var a=r-1;0<=a&&"WS"===e[a];a--)t[a]=v}}(x,t,p)},E=function(e,t,r,a,i){if(!(i.hiLevel<e)){if(1===e&&1===v&&!n)return t.reverse(),void(r&&r.reverse());for(var o,s,l,c,u=t.length,f=0;f<u;){if(a[f]>=e){for(l=f+1;l<u&&a[l]>=e;)l++;for(c=f,s=l-1;c<s;c++,s--)o=t[c],t[c]=t[s],t[s]=o,r&&(o=r[c],r[c]=r[s],r[s]=o);f=l}f++}}},_=function(e,t,n){var r=e.split(""),a={hiLevel:v};return n||(n=[]),x(r,n,a),function(e,t,n){if(0!==n.hiLevel&&l)for(var r,a=0;a<e.length;a++)1===t[a]&&0<=(r=p.indexOf(e[a]))&&(e[a]=p[r+1])}(r,n,a),E(2,r,t,n,a),E(1,r,t,n,a),r.join("")};return this.__bidiEngine__.doBidiReorder=function(e,t,n){if(function(e,t){if(t)for(var n=0;n<e.length;n++)t[n]=n;void 0===i&&(i=y(e)),void 0===s&&(s=y(e))}(e,t),a||!o||s)if(a&&o&&i^s)v=i?1:0,e=S(e,t,n);else if(!a&&o&&s)v=i?1:0,e=_(e,t,n),e=S(e,t);else if(!a||i||o||s){if(a&&!o&&i^s)e=S(e,t),e=i?(v=0,_(e,t,n)):(v=1,e=_(e,t,n),S(e,t));else if(a&&i&&!o&&s)v=1,e=_(e,t,n),e=S(e,t);else if(!a&&!o&&i^s){var r=l;i?(v=1,e=_(e,t,n),v=0,l=!1,e=_(e,t,n),l=r):(v=0,e=_(e,t,n),e=S(e,t),l=!(v=1),e=_(e,t,n),l=r,e=S(e,t))}}else v=0,e=_(e,t,n);else v=i?1:0,e=_(e,t,n);return e},this.__bidiEngine__.setOptions=function(e){e&&(a=e.isInputVisual,o=e.isOutputVisual,i=e.isInputRtl,s=e.isOutputRtl,l=e.isSymmetricSwapping)},this.__bidiEngine__.setOptions(e),this.__bidiEngine__};var t=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],n=new e.__bidiEngine__({isInputVisual:!0});e.API.events.push(["postProcessText",function(e){var t=e.text,r=(e.x,e.y,e.options||{}),a=(e.mutex,r.lang,[]);if("[object Array]"===Object.prototype.toString.call(t)){var i=0;for(a=[],i=0;i<t.length;i+=1)"[object Array]"===Object.prototype.toString.call(t[i])?a.push([n.doBidiReorder(t[i][0]),t[i][1],t[i][2]]):a.push([n.doBidiReorder(t[i])]);e.text=a}else e.text=n.doBidiReorder(t)}])}(ce),window.tmp=Te,Re.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,16===this.bitPP&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var e=0===this.colors?1<<this.bitPP:this.colors;this.palette=new Array(e);for(var t=0;t<e;t++){var n=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0);this.palette[t]={red:a,green:r,blue:n,quad:i}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},Re.prototype.parseBGR=function(){this.pos=this.offset;try{var e="bit"+this.bitPP,t=this.width*this.height*4;this.data=new Uint8Array(t),this[e]()}catch(e){console.log("bit decode error:"+e)}},Re.prototype.bit1=function(){var e=Math.ceil(this.width/8),t=e%4,n=0<=this.height?this.height-1:-this.height;for(n=this.height-1;0<=n;n--){for(var r=this.bottom_up?n:this.height-1-n,a=0;a<e;a++)for(var i=this.datav.getUint8(this.pos++,!0),o=r*this.width*4+8*a*4,s=0;s<8&&8*a+s<this.width;s++){var l=this.palette[i>>7-s&1];this.data[o+4*s]=l.blue,this.data[o+4*s+1]=l.green,this.data[o+4*s+2]=l.red,this.data[o+4*s+3]=255}0!=t&&(this.pos+=4-t)}},Re.prototype.bit4=function(){for(var e=Math.ceil(this.width/2),t=e%4,n=this.height-1;0<=n;n--){for(var r=this.bottom_up?n:this.height-1-n,a=0;a<e;a++){var i=this.datav.getUint8(this.pos++,!0),o=r*this.width*4+2*a*4,s=i>>4,l=15&i,c=this.palette[s];if(this.data[o]=c.blue,this.data[o+1]=c.green,this.data[o+2]=c.red,this.data[o+3]=255,2*a+1>=this.width)break;c=this.palette[l],this.data[o+4]=c.blue,this.data[o+4+1]=c.green,this.data[o+4+2]=c.red,this.data[o+4+3]=255}0!=t&&(this.pos+=4-t)}},Re.prototype.bit8=function(){for(var e=this.width%4,t=this.height-1;0<=t;t--){for(var n=this.bottom_up?t:this.height-1-t,r=0;r<this.width;r++){var a=this.datav.getUint8(this.pos++,!0),i=n*this.width*4+4*r;if(a<this.palette.length){var o=this.palette[a];this.data[i]=o.red,this.data[i+1]=o.green,this.data[i+2]=o.blue,this.data[i+3]=255}else this.data[i]=255,this.data[i+1]=255,this.data[i+2]=255,this.data[i+3]=255}0!=e&&(this.pos+=4-e)}},Re.prototype.bit15=function(){for(var e=this.width%3,t=parseInt("11111",2),n=this.height-1;0<=n;n--){for(var r=this.bottom_up?n:this.height-1-n,a=0;a<this.width;a++){var i=this.datav.getUint16(this.pos,!0);this.pos+=2;var o=(i&t)/t*255|0,s=(i>>5&t)/t*255|0,l=(i>>10&t)/t*255|0,c=i>>15?255:0,u=r*this.width*4+4*a;this.data[u]=l,this.data[u+1]=s,this.data[u+2]=o,this.data[u+3]=c}this.pos+=e}},Re.prototype.bit16=function(){for(var e=this.width%3,t=parseInt("11111",2),n=parseInt("111111",2),r=this.height-1;0<=r;r--){for(var a=this.bottom_up?r:this.height-1-r,i=0;i<this.width;i++){var o=this.datav.getUint16(this.pos,!0);this.pos+=2;var s=(o&t)/t*255|0,l=(o>>5&n)/n*255|0,c=(o>>11)/t*255|0,u=a*this.width*4+4*i;this.data[u]=c,this.data[u+1]=l,this.data[u+2]=s,this.data[u+3]=255}this.pos+=e}},Re.prototype.bit24=function(){for(var e=this.height-1;0<=e;e--){for(var t=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var r=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),o=t*this.width*4+4*n;this.data[o]=i,this.data[o+1]=a,this.data[o+2]=r,this.data[o+3]=255}this.pos+=this.width%4}},Re.prototype.bit32=function(){for(var e=this.height-1;0<=e;e--)for(var t=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var r=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),s=t*this.width*4+4*n;this.data[s]=i,this.data[s+1]=a,this.data[s+2]=r,this.data[s+3]=o}},Re.prototype.getData=function(){return this.data},window.tmp=Re,function(e){var t=15,n=573,r=[0,1,2,3,4,4,5,5,6,6,6,6,7,7,7,7,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,0,0,16,17,18,18,19,19,20,20,20,20,21,21,21,21,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29];function a(){var e=this;function r(e,t){for(var n=0;n|=1&e,e>>>=1,n<<=1,0<--t;);return n>>>1}e.build_tree=function(a){var i,o,s,l=e.dyn_tree,c=e.stat_desc.static_tree,u=e.stat_desc.elems,f=-1;for(a.heap_len=0,a.heap_max=n,i=0;i<u;i++)0!==l[2*i]?(a.heap[++a.heap_len]=f=i,a.depth[i]=0):l[2*i+1]=0;for(;a.heap_len<2;)l[2*(s=a.heap[++a.heap_len]=f<2?++f:0)]=1,a.depth[s]=0,a.opt_len--,c&&(a.static_len-=c[2*s+1]);for(e.max_code=f,i=Math.floor(a.heap_len/2);1<=i;i--)a.pqdownheap(l,i);for(s=u;i=a.heap[1],a.heap[1]=a.heap[a.heap_len--],a.pqdownheap(l,1),o=a.heap[1],a.heap[--a.heap_max]=i,a.heap[--a.heap_max]=o,l[2*s]=l[2*i]+l[2*o],a.depth[s]=Math.max(a.depth[i],a.depth[o])+1,l[2*i+1]=l[2*o+1]=s,a.heap[1]=s++,a.pqdownheap(l,1),2<=a.heap_len;);a.heap[--a.heap_max]=a.heap[1],function(r){var a,i,o,s,l,c,u=e.dyn_tree,f=e.stat_desc.static_tree,h=e.stat_desc.extra_bits,d=e.stat_desc.extra_base,p=e.stat_desc.max_length,g=0;for(s=0;s<=t;s++)r.bl_count[s]=0;for(u[2*r.heap[r.heap_max]+1]=0,a=r.heap_max+1;a<n;a++)p<(s=u[2*u[2*(i=r.heap[a])+1]+1]+1)&&(s=p,g++),u[2*i+1]=s,i>e.max_code||(r.bl_count[s]++,l=0,d<=i&&(l=h[i-d]),c=u[2*i],r.opt_len+=c*(s+l),f&&(r.static_len+=c*(f[2*i+1]+l)));if(0!==g){do{for(s=p-1;0===r.bl_count[s];)s--;r.bl_count[s]--,r.bl_count[s+1]+=2,r.bl_count[p]--,g-=2}while(0<g);for(s=p;0!==s;s--)for(i=r.bl_count[s];0!==i;)(o=r.heap[--a])>e.max_code||(u[2*o+1]!=s&&(r.opt_len+=(s-u[2*o+1])*u[2*o],u[2*o+1]=s),i--)}}(a),function(e,n,a){var i,o,s,l=[],c=0;for(i=1;i<=t;i++)l[i]=c=c+a[i-1]<<1;for(o=0;o<=n;o++)0!==(s=e[2*o+1])&&(e[2*o]=r(l[s]++,s))}(l,e.max_code,a.bl_count)}}function i(e,t,n,r,a){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=a}function o(e,t,n,r,a){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=a}a._length_code=[0,1,2,3,4,5,6,7,8,8,9,9,10,10,11,11,12,12,12,12,13,13,13,13,14,14,14,14,15,15,15,15,16,16,16,16,16,16,16,16,17,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,28],a.base_length=[0,1,2,3,4,5,6,7,8,10,12,14,16,20,24,28,32,40,48,56,64,80,96,112,128,160,192,224,0],a.base_dist=[0,1,2,3,4,6,8,12,16,24,32,48,64,96,128,192,256,384,512,768,1024,1536,2048,3072,4096,6144,8192,12288,16384,24576],a.d_code=function(e){return e<256?r[e]:r[256+(e>>>7)]},a.extra_lbits=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],a.extra_dbits=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],a.extra_blbits=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],a.bl_order=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],i.static_ltree=[12,8,140,8,76,8,204,8,44,8,172,8,108,8,236,8,28,8,156,8,92,8,220,8,60,8,188,8,124,8,252,8,2,8,130,8,66,8,194,8,34,8,162,8,98,8,226,8,18,8,146,8,82,8,210,8,50,8,178,8,114,8,242,8,10,8,138,8,74,8,202,8,42,8,170,8,106,8,234,8,26,8,154,8,90,8,218,8,58,8,186,8,122,8,250,8,6,8,134,8,70,8,198,8,38,8,166,8,102,8,230,8,22,8,150,8,86,8,214,8,54,8,182,8,118,8,246,8,14,8,142,8,78,8,206,8,46,8,174,8,110,8,238,8,30,8,158,8,94,8,222,8,62,8,190,8,126,8,254,8,1,8,129,8,65,8,193,8,33,8,161,8,97,8,225,8,17,8,145,8,81,8,209,8,49,8,177,8,113,8,241,8,9,8,137,8,73,8,201,8,41,8,169,8,105,8,233,8,25,8,153,8,89,8,217,8,57,8,185,8,121,8,249,8,5,8,133,8,69,8,197,8,37,8,165,8,101,8,229,8,21,8,149,8,85,8,213,8,53,8,181,8,117,8,245,8,13,8,141,8,77,8,205,8,45,8,173,8,109,8,237,8,29,8,157,8,93,8,221,8,61,8,189,8,125,8,253,8,19,9,275,9,147,9,403,9,83,9,339,9,211,9,467,9,51,9,307,9,179,9,435,9,115,9,371,9,243,9,499,9,11,9,267,9,139,9,395,9,75,9,331,9,203,9,459,9,43,9,299,9,171,9,427,9,107,9,363,9,235,9,491,9,27,9,283,9,155,9,411,9,91,9,347,9,219,9,475,9,59,9,315,9,187,9,443,9,123,9,379,9,251,9,507,9,7,9,263,9,135,9,391,9,71,9,327,9,199,9,455,9,39,9,295,9,167,9,423,9,103,9,359,9,231,9,487,9,23,9,279,9,151,9,407,9,87,9,343,9,215,9,471,9,55,9,311,9,183,9,439,9,119,9,375,9,247,9,503,9,15,9,271,9,143,9,399,9,79,9,335,9,207,9,463,9,47,9,303,9,175,9,431,9,111,9,367,9,239,9,495,9,31,9,287,9,159,9,415,9,95,9,351,9,223,9,479,9,63,9,319,9,191,9,447,9,127,9,383,9,255,9,511,9,0,7,64,7,32,7,96,7,16,7,80,7,48,7,112,7,8,7,72,7,40,7,104,7,24,7,88,7,56,7,120,7,4,7,68,7,36,7,100,7,20,7,84,7,52,7,116,7,3,8,131,8,67,8,195,8,35,8,163,8,99,8,227,8],i.static_dtree=[0,5,16,5,8,5,24,5,4,5,20,5,12,5,28,5,2,5,18,5,10,5,26,5,6,5,22,5,14,5,30,5,1,5,17,5,9,5,25,5,5,5,21,5,13,5,29,5,3,5,19,5,11,5,27,5,7,5,23,5],i.static_l_desc=new i(i.static_ltree,a.extra_lbits,257,286,t),i.static_d_desc=new i(i.static_dtree,a.extra_dbits,0,30,t),i.static_bl_desc=new i(null,a.extra_blbits,0,19,7);var s=[new o(0,0,0,0,0),new o(4,4,8,4,1),new o(4,5,16,8,1),new o(4,6,32,32,1),new o(4,4,16,16,2),new o(8,16,32,32,2),new o(8,16,128,128,2),new o(8,32,128,256,2),new o(32,128,258,1024,2),new o(32,258,258,4096,2)],l=["need dictionary","stream end","","","stream error","data error","","buffer error","",""];function c(e,t,n,r){var a=e[2*t],i=e[2*n];return a<i||a==i&&r[t]<=r[n]}function u(){var e,t,n,r,o,u,f,h,d,p,g,m,v,b,y,w,S,x,E,_,k,A,C,T,R,N,B,I,L,O,P,F,D,M,j,W,U,z,H,V,q,G=this,X=new a,$=new a,Y=new a;function K(){var e;for(e=0;e<286;e++)P[2*e]=0;for(e=0;e<30;e++)F[2*e]=0;for(e=0;e<19;e++)D[2*e]=0;P[512]=1,G.opt_len=G.static_len=0,W=z=0}function J(e,t){var n,r,a=-1,i=e[1],o=0,s=7,l=4;for(0===i&&(s=138,l=3),e[2*(t+1)+1]=65535,n=0;n<=t;n++)r=i,i=e[2*(n+1)+1],++o<s&&r==i||(o<l?D[2*r]+=o:0!==r?(r!=a&&D[2*r]++,D[32]++):o<=10?D[34]++:D[36]++,a=r,l=(o=0)===i?(s=138,3):r==i?(s=6,3):(s=7,4))}function Z(e){G.pending_buf[G.pending++]=e}function Q(e){Z(255&e),Z(e>>>8&255)}function ee(e,t){var n,r=t;16-r<q?(Q(V|=(n=e)<<q&65535),V=n>>>16-q,q+=r-16):(V|=e<<q&65535,q+=r)}function te(e,t){var n=2*e;ee(65535&t[n],65535&t[n+1])}function ne(e,t){var n,r,a=-1,i=e[1],o=0,s=7,l=4;for(0===i&&(s=138,l=3),n=0;n<=t;n++)if(r=i,i=e[2*(n+1)+1],!(++o<s&&r==i)){if(o<l)for(;te(r,D),0!=--o;);else 0!==r?(r!=a&&(te(r,D),o--),te(16,D),ee(o-3,2)):o<=10?(te(17,D),ee(o-3,3)):(te(18,D),ee(o-11,7));a=r,l=(o=0)===i?(s=138,3):r==i?(s=6,3):(s=7,4)}}function re(){16==q?(Q(V),q=V=0):8<=q&&(Z(255&V),V>>>=8,q-=8)}function ae(e,t){var n,r,i;if(G.pending_buf[U+2*W]=e>>>8&255,G.pending_buf[U+2*W+1]=255&e,G.pending_buf[M+W]=255&t,W++,0===e?P[2*t]++:(z++,e--,P[2*(a._length_code[t]+256+1)]++,F[2*a.d_code(e)]++),0==(8191&W)&&2<B){for(n=8*W,r=k-S,i=0;i<30;i++)n+=F[2*i]*(5+a.extra_dbits[i]);if(n>>>=3,z<Math.floor(W/2)&&n<Math.floor(r/2))return!0}return W==j-1}function ie(e,t){var n,r,i,o,s=0;if(0!==W)for(;n=G.pending_buf[U+2*s]<<8&65280|255&G.pending_buf[U+2*s+1],r=255&G.pending_buf[M+s],s++,0===n?te(r,e):(te((i=a._length_code[r])+256+1,e),0!==(o=a.extra_lbits[i])&&ee(r-=a.base_length[i],o),te(i=a.d_code(--n),t),0!==(o=a.extra_dbits[i])&&ee(n-=a.base_dist[i],o)),s<W;);te(256,e),H=e[513]}function oe(){8<q?Q(V):0<q&&Z(255&V),q=V=0}function se(e,t,n){var r,a;ee(0+(n?1:0),3),r=e,a=t,oe(),H=8,Q(a),Q(~a),G.pending_buf.set(h.subarray(r,r+a),G.pending),G.pending+=a}function le(t){(function(e,t,n){var r,o,s=0;0<B?(X.build_tree(G),$.build_tree(G),s=function(){var e;for(J(P,X.max_code),J(F,$.max_code),Y.build_tree(G),e=18;3<=e&&0===D[2*a.bl_order[e]+1];e--);return G.opt_len+=3*(e+1)+5+5+4,e}(),r=G.opt_len+3+7>>>3,(o=G.static_len+3+7>>>3)<=r&&(r=o)):r=o=t+5,t+4<=r&&-1!=e?se(e,t,n):o==r?(ee(2+(n?1:0),3),ie(i.static_ltree,i.static_dtree)):(ee(4+(n?1:0),3),function(e,t,n){var r;for(ee(e-257,5),ee(t-1,5),ee(n-4,4),r=0;r<n;r++)ee(D[2*a.bl_order[r]+1],3);ne(P,e-1),ne(F,t-1)}(X.max_code+1,$.max_code+1,s+1),ie(P,F)),K(),n&&oe()})(0<=S?S:-1,k-S,t),S=k,e.flush_pending()}function ce(){var t,n,r,a;do{if(0==(a=d-C-k)&&0===k&&0===C)a=o;else if(-1==a)a--;else if(o+o-262<=k){for(h.set(h.subarray(o,o+o),0),A-=o,k-=o,S-=o,r=t=v;n=65535&g[--r],g[r]=o<=n?n-o:0,0!=--t;);for(r=t=o;n=65535&p[--r],p[r]=o<=n?n-o:0,0!=--t;);a+=o}if(0===e.avail_in)return;t=e.read_buf(h,k+C,a),3<=(C+=t)&&(m=((m=255&h[k])<<w^255&h[k+1])&y)}while(C<262&&0!==e.avail_in)}function ue(e){var t,n,r=R,a=k,i=T,s=o-262<k?k-(o-262):0,l=O,c=f,u=k+258,d=h[a+i-1],g=h[a+i];L<=T&&(r>>=2),C<l&&(l=C);do{if(h[(t=e)+i]==g&&h[t+i-1]==d&&h[t]==h[a]&&h[++t]==h[a+1]){a+=2,t++;do{}while(h[++a]==h[++t]&&h[++a]==h[++t]&&h[++a]==h[++t]&&h[++a]==h[++t]&&h[++a]==h[++t]&&h[++a]==h[++t]&&h[++a]==h[++t]&&h[++a]==h[++t]&&a<u);if(n=258-(u-a),a=u-258,i<n){if(A=e,l<=(i=n))break;d=h[a+i-1],g=h[a+i]}}}while((e=65535&p[e&c])>s&&0!=--r);return i<=C?i:C}function fe(e){return e.total_in=e.total_out=0,e.msg=null,G.pending=0,G.pending_out=0,t=113,r=0,X.dyn_tree=P,X.stat_desc=i.static_l_desc,$.dyn_tree=F,$.stat_desc=i.static_d_desc,Y.dyn_tree=D,Y.stat_desc=i.static_bl_desc,q=V=0,H=8,K(),function(){var e;for(d=2*o,e=g[v-1]=0;e<v-1;e++)g[e]=0;N=s[B].max_lazy,L=s[B].good_length,O=s[B].nice_length,R=s[B].max_chain,x=T=2,m=_=C=S=k=0}(),0}G.depth=[],G.bl_count=[],G.heap=[],P=[],F=[],D=[],G.pqdownheap=function(e,t){for(var n=G.heap,r=n[t],a=t<<1;a<=G.heap_len&&(a<G.heap_len&&c(e,n[a+1],n[a],G.depth)&&a++,!c(e,r,n[a],G.depth));)n[t]=n[a],t=a,a<<=1;n[t]=r},G.deflateInit=function(e,t,r,a,i,s){return a||(a=8),i||(i=8),s||(s=0),e.msg=null,-1==t&&(t=6),i<1||9<i||8!=a||r<9||15<r||t<0||9<t||s<0||2<s?-2:(e.dstate=G,f=(o=1<<(u=r))-1,y=(v=1<<(b=i+7))-1,w=Math.floor((b+3-1)/3),h=new Uint8Array(2*o),p=[],g=[],j=1<<i+6,G.pending_buf=new Uint8Array(4*j),n=4*j,U=Math.floor(j/2),M=3*j,B=t,I=s,fe(e))},G.deflateEnd=function(){return 42!=t&&113!=t&&666!=t?-2:(G.pending_buf=null,h=p=g=null,G.dstate=null,113==t?-3:0)},G.deflateParams=function(e,t,n){var r=0;return-1==t&&(t=6),t<0||9<t||n<0||2<n?-2:(s[B].func!=s[t].func&&0!==e.total_in&&(r=e.deflate(1)),B!=t&&(N=s[B=t].max_lazy,L=s[B].good_length,O=s[B].nice_length,R=s[B].max_chain),I=n,r)},G.deflateSetDictionary=function(e,n,r){var a,i=r,s=0;if(!n||42!=t)return-2;if(i<3)return 0;for(o-262<i&&(s=r-(i=o-262)),h.set(n.subarray(s,s+i),0),S=k=i,m=((m=255&h[0])<<w^255&h[1])&y,a=0;a<=i-3;a++)m=(m<<w^255&h[a+2])&y,p[a&f]=g[m],g[m]=a;return 0},G.deflate=function(a,c){var d,b,R,L,O,P;if(4<c||c<0)return-2;if(!a.next_out||!a.next_in&&0!==a.avail_in||666==t&&4!=c)return a.msg=l[4],-2;if(0===a.avail_out)return a.msg=l[7],-5;if(e=a,L=r,r=c,42==t&&(b=8+(u-8<<4)<<8,3<(R=(B-1&255)>>1)&&(R=3),b|=R<<6,0!==k&&(b|=32),t=113,Z((P=b+=31-b%31)>>8&255),Z(255&P)),0!==G.pending){if(e.flush_pending(),0===e.avail_out)return r=-1,0}else if(0===e.avail_in&&c<=L&&4!=c)return e.msg=l[7],-5;if(666==t&&0!==e.avail_in)return a.msg=l[7],-5;if(0!==e.avail_in||0!==C||0!=c&&666!=t){switch(O=-1,s[B].func){case 0:O=function(t){var r,a=65535;for(n-5<a&&(a=n-5);;){if(C<=1){if(ce(),0===C&&0==t)return 0;if(0===C)break}if(k+=C,r=S+a,((C=0)===k||r<=k)&&(C=k-r,k=r,le(!1),0===e.avail_out))return 0;if(o-262<=k-S&&(le(!1),0===e.avail_out))return 0}return le(4==t),0===e.avail_out?4==t?2:0:4==t?3:1}(c);break;case 1:O=function(t){for(var n,r=0;;){if(C<262){if(ce(),C<262&&0==t)return 0;if(0===C)break}if(3<=C&&(m=(m<<w^255&h[k+2])&y,r=65535&g[m],p[k&f]=g[m],g[m]=k),0!==r&&(k-r&65535)<=o-262&&2!=I&&(x=ue(r)),3<=x)if(n=ae(k-A,x-3),C-=x,x<=N&&3<=C){for(x--;m=(m<<w^255&h[++k+2])&y,r=65535&g[m],p[k&f]=g[m],g[m]=k,0!=--x;);k++}else k+=x,x=0,m=((m=255&h[k])<<w^255&h[k+1])&y;else n=ae(0,255&h[k]),C--,k++;if(n&&(le(!1),0===e.avail_out))return 0}return le(4==t),0===e.avail_out?4==t?2:0:4==t?3:1}(c);break;case 2:O=function(t){for(var n,r,a=0;;){if(C<262){if(ce(),C<262&&0==t)return 0;if(0===C)break}if(3<=C&&(m=(m<<w^255&h[k+2])&y,a=65535&g[m],p[k&f]=g[m],g[m]=k),T=x,E=A,x=2,0!==a&&T<N&&(k-a&65535)<=o-262&&(2!=I&&(x=ue(a)),x<=5&&(1==I||3==x&&4096<k-A)&&(x=2)),3<=T&&x<=T){for(r=k+C-3,n=ae(k-1-E,T-3),C-=T-1,T-=2;++k<=r&&(m=(m<<w^255&h[k+2])&y,a=65535&g[m],p[k&f]=g[m],g[m]=k),0!=--T;);if(_=0,x=2,k++,n&&(le(!1),0===e.avail_out))return 0}else if(0!==_){if((n=ae(0,255&h[k-1]))&&le(!1),k++,C--,0===e.avail_out)return 0}else _=1,k++,C--}return 0!==_&&(n=ae(0,255&h[k-1]),_=0),le(4==t),0===e.avail_out?4==t?2:0:4==t?3:1}(c)}if(2!=O&&3!=O||(t=666),0==O||2==O)return 0===e.avail_out&&(r=-1),0;if(1==O){if(1==c)ee(2,3),te(256,i.static_ltree),re(),1+H+10-q<9&&(ee(2,3),te(256,i.static_ltree),re()),H=7;else if(se(0,0,!1),3==c)for(d=0;d<v;d++)g[d]=0;if(e.flush_pending(),0===e.avail_out)return r=-1,0}}return 4!=c?0:1}}function f(){this.next_in_index=0,this.next_out_index=0,this.avail_in=0,this.total_in=0,this.avail_out=0,this.total_out=0}f.prototype={deflateInit:function(e,n){return this.dstate=new u,n||(n=t),this.dstate.deflateInit(this,e,n)},deflate:function(e){return this.dstate?this.dstate.deflate(this,e):-2},deflateEnd:function(){if(!this.dstate)return-2;var e=this.dstate.deflateEnd();return this.dstate=null,e},deflateParams:function(e,t){return this.dstate?this.dstate.deflateParams(this,e,t):-2},deflateSetDictionary:function(e,t){return this.dstate?this.dstate.deflateSetDictionary(this,e,t):-2},read_buf:function(e,t,n){var r=this.avail_in;return n<r&&(r=n),0===r?0:(this.avail_in-=r,e.set(this.next_in.subarray(this.next_in_index,this.next_in_index+r),t),this.next_in_index+=r,this.total_in+=r,r)},flush_pending:function(){var e=this,t=e.dstate.pending;t>e.avail_out&&(t=e.avail_out),0!==t&&(e.next_out.set(e.dstate.pending_buf.subarray(e.dstate.pending_out,e.dstate.pending_out+t),e.next_out_index),e.next_out_index+=t,e.dstate.pending_out+=t,e.total_out+=t,e.avail_out-=t,e.dstate.pending-=t,0===e.dstate.pending&&(e.dstate.pending_out=0))}};var h=e.zip||e;h.Deflater=h._jzlib_Deflater=function(e){var t=new f,n=new Uint8Array(512),r=e?e.level:-1;void 0===r&&(r=-1),t.deflateInit(r),t.next_out=n,this.append=function(e,r){var a,i=[],o=0,s=0,l=0;if(e.length){t.next_in_index=0,t.next_in=e,t.avail_in=e.length;do{if(t.next_out_index=0,t.avail_out=512,0!=t.deflate(0))throw new Error("deflating: "+t.msg);t.next_out_index&&(512==t.next_out_index?i.push(new Uint8Array(n)):i.push(new Uint8Array(n.subarray(0,t.next_out_index)))),l+=t.next_out_index,r&&0<t.next_in_index&&t.next_in_index!=o&&(r(t.next_in_index),o=t.next_in_index)}while(0<t.avail_in||0===t.avail_out);return a=new Uint8Array(l),i.forEach(function(e){a.set(e,s),s+=e.length}),a}},this.flush=function(){var e,r,a=[],i=0,o=0;do{if(t.next_out_index=0,t.avail_out=512,1!=(e=t.deflate(4))&&0!=e)throw new Error("deflating: "+t.msg);0<512-t.avail_out&&a.push(new Uint8Array(n.subarray(0,t.next_out_index))),o+=t.next_out_index}while(0<t.avail_in||0===t.avail_out);return t.deflateEnd(),r=new Uint8Array(o),a.forEach(function(e){r.set(e,i),i+=e.length}),r}}}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||"undefined"!=typeof global&&global||Function('return typeof this === "object" && this.content')()||Function("return this")()),("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||"undefined"!=typeof global&&global||Function('return typeof this === "object" && this.content')()||Function("return this")()).RGBColor=function(e){var t;e=e||"",this.ok=!1,"#"==e.charAt(0)&&(e=e.substr(1,6)),e=(e=e.replace(/ /g,"")).toLowerCase();var n={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};for(var r in n)e==r&&(e=n[r]);for(var a=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(e){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}}],i=0;i<a.length;i++){var o=a[i].re,s=a[i].process,l=o.exec(e);l&&(t=s(l),this.r=t[0],this.g=t[1],this.b=t[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:255<this.r?255:this.r,this.g=this.g<0||isNaN(this.g)?0:255<this.g?255:this.g,this.b=this.b<0||isNaN(this.b)?0:255<this.b?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var e=this.r.toString(16),t=this.g.toString(16),n=this.b.toString(16);return 1==e.length&&(e="0"+e),1==t.length&&(t="0"+t),1==n.length&&(n="0"+n),"#"+e+t+n}},function(e){var t="+".charCodeAt(0),n="/".charCodeAt(0),r="0".charCodeAt(0),a="a".charCodeAt(0),i="A".charCodeAt(0),o="-".charCodeAt(0),s="_".charCodeAt(0),l=function(e){var l=e.charCodeAt(0);return l===t||l===o?62:l===n||l===s?63:l<r?-1:l<r+10?l-r+26+26:l<i+26?l-i:l<a+26?l-a+26:void 0};e.API.TTFFont=function(){function e(e,t,n){var r;if(this.rawData=e,r=this.contents=new u(e),this.contents.pos=4,"ttcf"===r.readString(4)){if(!t)throw new Error("Must specify a font name for TTC files.");throw new Error("Font "+t+" not found in TTC file.")}r.pos=0,this.parse(),this.subset=new R(this),this.registerTTF()}return e.open=function(t,n,r,a){if("string"!=typeof r)throw new Error("Invalid argument supplied in TTFFont.open");return new e(function(e){var t,n,r,a,i,o;if(0<e.length%4)throw new Error("Invalid string. Length must be a multiple of 4");var s=e.length;i="="===e.charAt(s-2)?2:"="===e.charAt(s-1)?1:0,o=new Uint8Array(3*e.length/4-i),r=0<i?e.length-4:e.length;var c=0;function u(e){o[c++]=e}for(n=t=0;t<r;t+=4,n+=3)u((16711680&(a=l(e.charAt(t))<<18|l(e.charAt(t+1))<<12|l(e.charAt(t+2))<<6|l(e.charAt(t+3))))>>16),u((65280&a)>>8),u(255&a);return 2===i?u(255&(a=l(e.charAt(t))<<2|l(e.charAt(t+1))>>4)):1===i&&(u((a=l(e.charAt(t))<<10|l(e.charAt(t+1))<<4|l(e.charAt(t+2))>>2)>>8&255),u(255&a)),o}(r),n,a)},e.prototype.parse=function(){return this.directory=new f(this.contents),this.head=new p(this),this.name=new S(this),this.cmap=new m(this),this.toUnicode=new Map,this.hhea=new v(this),this.maxp=new x(this),this.hmtx=new E(this),this.post=new y(this),this.os2=new b(this),this.loca=new T(this),this.glyf=new k(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},e.prototype.registerTTF=function(){var e,t,n,r,a;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var t,n,r,a;for(a=[],t=0,n=(r=this.bbox).length;t<n;t++)e=r[t],a.push(Math.round(e*this.scaleFactor));return a}.call(this),this.stemV=0,this.post.exists?(n=255&(r=this.post.italic_angle),!0&(t=r>>16)&&(t=-(1+(65535^t))),this.italicAngle=+(t+"."+n)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=1===(a=this.familyClass)||2===a||3===a||4===a||5===a||7===a,this.isScript=10===this.familyClass,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),0!==this.italicAngle&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},e.prototype.characterToGlyph=function(e){var t;return(null!=(t=this.cmap.unicode)?t.codeMap[e]:void 0)||0},e.prototype.widthOfGlyph=function(e){var t;return t=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(e).advance*t},e.prototype.widthOfString=function(e,t,n){var r,a,i,o,s;for(a=o=i=0,s=(e=""+e).length;0<=s?o<s:s<o;a=0<=s?++o:--o)r=e.charCodeAt(a),i+=this.widthOfGlyph(this.characterToGlyph(r))+n*(1e3/t)||0;return i*(t/1e3)},e.prototype.lineHeight=function(e,t){var n;return null==t&&(t=!1),n=t?this.lineGap:0,(this.ascender+n-this.decender)/1e3*e},e}();var c,u=function(){function e(e){this.data=null!=e?e:[],this.pos=0,this.length=this.data.length}return e.prototype.readByte=function(){return this.data[this.pos++]},e.prototype.writeByte=function(e){return this.data[this.pos++]=e},e.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},e.prototype.writeUInt32=function(e){return this.writeByte(e>>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e)},e.prototype.readInt32=function(){var e;return 2147483648<=(e=this.readUInt32())?e-4294967296:e},e.prototype.writeInt32=function(e){return e<0&&(e+=4294967296),this.writeUInt32(e)},e.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},e.prototype.writeUInt16=function(e){return this.writeByte(e>>8&255),this.writeByte(255&e)},e.prototype.readInt16=function(){var e;return 32768<=(e=this.readUInt16())?e-65536:e},e.prototype.writeInt16=function(e){return e<0&&(e+=65536),this.writeUInt16(e)},e.prototype.readString=function(e){var t,n,r;for(n=[],t=r=0;0<=e?r<e:e<r;t=0<=e?++r:--r)n[t]=String.fromCharCode(this.readByte());return n.join("")},e.prototype.writeString=function(e){var t,n,r,a;for(a=[],t=n=0,r=e.length;0<=r?n<r:r<n;t=0<=r?++n:--n)a.push(this.writeByte(e.charCodeAt(t)));return a},e.prototype.readShort=function(){return this.readInt16()},e.prototype.writeShort=function(e){return this.writeInt16(e)},e.prototype.readLongLong=function(){var e,t,n,r,a,i,o,s;return e=this.readByte(),t=this.readByte(),n=this.readByte(),r=this.readByte(),a=this.readByte(),i=this.readByte(),o=this.readByte(),s=this.readByte(),128&e?-1*(72057594037927940*(255^e)+281474976710656*(255^t)+1099511627776*(255^n)+4294967296*(255^r)+16777216*(255^a)+65536*(255^i)+256*(255^o)+(255^s)+1):72057594037927940*e+281474976710656*t+1099511627776*n+4294967296*r+16777216*a+65536*i+256*o+s},e.prototype.writeLongLong=function(e){var t,n;return t=Math.floor(e/4294967296),n=4294967295&e,this.writeByte(t>>24&255),this.writeByte(t>>16&255),this.writeByte(t>>8&255),this.writeByte(255&t),this.writeByte(n>>24&255),this.writeByte(n>>16&255),this.writeByte(n>>8&255),this.writeByte(255&n)},e.prototype.readInt=function(){return this.readInt32()},e.prototype.writeInt=function(e){return this.writeInt32(e)},e.prototype.read=function(e){var t,n;for(t=[],n=0;0<=e?n<e:e<n;0<=e?++n:--n)t.push(this.readByte());return t},e.prototype.write=function(e){var t,n,r,a;for(a=[],n=0,r=e.length;n<r;n++)t=e[n],a.push(this.writeByte(t));return a},e}(),f=function(){var e;function t(e){var t,n,r;for(this.scalarType=e.readInt(),this.tableCount=e.readShort(),this.searchRange=e.readShort(),this.entrySelector=e.readShort(),this.rangeShift=e.readShort(),this.tables={},n=0,r=this.tableCount;0<=r?n<r:r<n;0<=r?++n:--n)t={tag:e.readString(4),checksum:e.readInt(),offset:e.readInt(),length:e.readInt()},this.tables[t.tag]=t}return t.prototype.encode=function(t){var n,r,a,i,o,s,l,c,f,h,d,p,g;for(g in d=Object.keys(t).length,s=Math.log(2),f=16*Math.floor(Math.log(d)/s),i=Math.floor(f/s),c=16*d-f,(r=new u).writeInt(this.scalarType),r.writeShort(d),r.writeShort(f),r.writeShort(i),r.writeShort(c),a=16*d,l=r.pos+a,o=null,p=[],t)for(h=t[g],r.writeString(g),r.writeInt(e(h)),r.writeInt(l),r.writeInt(h.length),p=p.concat(h),"head"===g&&(o=l),l+=h.length;l%4;)p.push(0),l++;return r.write(p),n=2981146554-e(r.data),r.pos=o+8,r.writeUInt32(n),r.data},e=function(e){var t,n,r,a;for(e=_.call(e);e.length%4;)e.push(0);for(n=new u(e),r=t=0,a=e.length;r<a;r+=4)t+=n.readUInt32();return 4294967295&t},t}(),h={}.hasOwnProperty,d=function(e,t){for(var n in t)h.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e};c=function(){function e(e){var t;this.file=e,t=this.file.directory.tables[this.tag],this.exists=!!t,t&&(this.offset=t.offset,this.length=t.length,this.parse(this.file.contents))}return e.prototype.parse=function(){},e.prototype.encode=function(){},e.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},e}();var p=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return d(t,c),t.prototype.tag="head",t.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.revision=e.readInt(),this.checkSumAdjustment=e.readInt(),this.magicNumber=e.readInt(),this.flags=e.readShort(),this.unitsPerEm=e.readShort(),this.created=e.readLongLong(),this.modified=e.readLongLong(),this.xMin=e.readShort(),this.yMin=e.readShort(),this.xMax=e.readShort(),this.yMax=e.readShort(),this.macStyle=e.readShort(),this.lowestRecPPEM=e.readShort(),this.fontDirectionHint=e.readShort(),this.indexToLocFormat=e.readShort(),this.glyphDataFormat=e.readShort()},t.prototype.encode=function(e){var t;return(t=new u).writeInt(this.version),t.writeInt(this.revision),t.writeInt(this.checkSumAdjustment),t.writeInt(this.magicNumber),t.writeShort(this.flags),t.writeShort(this.unitsPerEm),t.writeLongLong(this.created),t.writeLongLong(this.modified),t.writeShort(this.xMin),t.writeShort(this.yMin),t.writeShort(this.xMax),t.writeShort(this.yMax),t.writeShort(this.macStyle),t.writeShort(this.lowestRecPPEM),t.writeShort(this.fontDirectionHint),t.writeShort(e),t.writeShort(this.glyphDataFormat),t.data},t}(),g=function(){function e(e,t){var n,r,a,i,o,s,l,c,u,f,h,d,p,g,m,v,b,y;switch(this.platformID=e.readUInt16(),this.encodingID=e.readShort(),this.offset=t+e.readInt(),u=e.pos,e.pos=this.offset,this.format=e.readUInt16(),this.length=e.readUInt16(),this.language=e.readUInt16(),this.isUnicode=3===this.platformID&&1===this.encodingID&&4===this.format||0===this.platformID&&4===this.format,this.codeMap={},this.format){case 0:for(s=m=0;m<256;s=++m)this.codeMap[s]=e.readByte();break;case 4:for(h=e.readUInt16(),f=h/2,e.pos+=6,a=function(){var t,n;for(n=[],s=t=0;0<=f?t<f:f<t;s=0<=f?++t:--t)n.push(e.readUInt16());return n}(),e.pos+=2,p=function(){var t,n;for(n=[],s=t=0;0<=f?t<f:f<t;s=0<=f?++t:--t)n.push(e.readUInt16());return n}(),l=function(){var t,n;for(n=[],s=t=0;0<=f?t<f:f<t;s=0<=f?++t:--t)n.push(e.readUInt16());return n}(),c=function(){var t,n;for(n=[],s=t=0;0<=f?t<f:f<t;s=0<=f?++t:--t)n.push(e.readUInt16());return n}(),r=(this.length-e.pos+this.offset)/2,o=function(){var t,n;for(n=[],s=t=0;0<=r?t<r:r<t;s=0<=r?++t:--t)n.push(e.readUInt16());return n}(),s=v=0,y=a.length;v<y;s=++v)for(g=a[s],n=b=d=p[s];d<=g?b<=g:g<=b;n=d<=g?++b:--b)0===c[s]?i=n+l[s]:0!==(i=o[c[s]/2+(n-d)-(f-s)]||0)&&(i+=l[s]),this.codeMap[n]=65535&i}e.pos=u}return e.encode=function(e,t){var n,r,a,i,o,s,l,c,f,h,d,p,g,m,v,b,y,w,S,x,E,_,k,A,C,T,R,N,B,I,L,O,P,F,D,M,j,W,U,z,H,V,q,G,X,$;switch(N=new u,i=Object.keys(e).sort(function(e,t){return e-t}),t){case"macroman":for(g=0,m=function(){var e,t;for(t=[],p=e=0;e<256;p=++e)t.push(0);return t}(),b={0:0},a={},B=0,P=i.length;B<P;B++)null==b[q=e[r=i[B]]]&&(b[q]=++g),a[r]={old:e[r],new:b[e[r]]},m[r]=b[e[r]];return N.writeUInt16(1),N.writeUInt16(0),N.writeUInt32(12),N.writeUInt16(0),N.writeUInt16(262),N.writeUInt16(0),N.write(m),{charMap:a,subtable:N.data,maxGlyphID:g+1};case"unicode":for(T=[],f=[],b={},n={},v=l=null,I=y=0,F=i.length;I<F;I++)null==b[S=e[r=i[I]]]&&(b[S]=++y),n[r]={old:S,new:b[S]},o=b[S]-r,null!=v&&o===l||(v&&f.push(v),T.push(r),l=o),v=r;for(v&&f.push(v),f.push(65535),T.push(65535),A=2*(k=T.length),_=2*Math.pow(Math.log(k)/Math.LN2,2),h=Math.log(_/2)/Math.LN2,E=2*k-_,s=[],x=[],d=[],p=L=0,D=T.length;L<D;p=++L){if(C=T[p],c=f[p],65535===C){s.push(0),x.push(0);break}if(32768<=C-(R=n[C].new))for(s.push(0),x.push(2*(d.length+k-p)),r=O=C;C<=c?O<=c:c<=O;r=C<=c?++O:--O)d.push(n[r].new);else s.push(R-C),x.push(0)}for(N.writeUInt16(3),N.writeUInt16(1),N.writeUInt32(12),N.writeUInt16(4),N.writeUInt16(16+8*k+2*d.length),N.writeUInt16(0),N.writeUInt16(A),N.writeUInt16(_),N.writeUInt16(h),N.writeUInt16(E),H=0,M=f.length;H<M;H++)r=f[H],N.writeUInt16(r);for(N.writeUInt16(0),V=0,j=T.length;V<j;V++)r=T[V],N.writeUInt16(r);for(G=0,W=s.length;G<W;G++)o=s[G],N.writeUInt16(o);for(X=0,U=x.length;X<U;X++)w=x[X],N.writeUInt16(w);for($=0,z=d.length;$<z;$++)g=d[$],N.writeUInt16(g);return{charMap:n,subtable:N.data,maxGlyphID:y+1}}},e}(),m=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return d(t,c),t.prototype.tag="cmap",t.prototype.parse=function(e){var t,n,r;for(e.pos=this.offset,this.version=e.readUInt16(),n=e.readUInt16(),this.tables=[],this.unicode=null,r=0;0<=n?r<n:n<r;0<=n?++r:--r)t=new g(e,this.offset),this.tables.push(t),t.isUnicode&&null==this.unicode&&(this.unicode=t);return!0},t.encode=function(e,t){var n,r;return null==t&&(t="macroman"),n=g.encode(e,t),(r=new u).writeUInt16(0),r.writeUInt16(1),n.table=r.data.concat(n.subtable),n},t}(),v=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return d(t,c),t.prototype.tag="hhea",t.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.ascender=e.readShort(),this.decender=e.readShort(),this.lineGap=e.readShort(),this.advanceWidthMax=e.readShort(),this.minLeftSideBearing=e.readShort(),this.minRightSideBearing=e.readShort(),this.xMaxExtent=e.readShort(),this.caretSlopeRise=e.readShort(),this.caretSlopeRun=e.readShort(),this.caretOffset=e.readShort(),e.pos+=8,this.metricDataFormat=e.readShort(),this.numberOfMetrics=e.readUInt16()},t}(),b=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return d(t,c),t.prototype.tag="OS/2",t.prototype.parse=function(e){if(e.pos=this.offset,this.version=e.readUInt16(),this.averageCharWidth=e.readShort(),this.weightClass=e.readUInt16(),this.widthClass=e.readUInt16(),this.type=e.readShort(),this.ySubscriptXSize=e.readShort(),this.ySubscriptYSize=e.readShort(),this.ySubscriptXOffset=e.readShort(),this.ySubscriptYOffset=e.readShort(),this.ySuperscriptXSize=e.readShort(),this.ySuperscriptYSize=e.readShort(),this.ySuperscriptXOffset=e.readShort(),this.ySuperscriptYOffset=e.readShort(),this.yStrikeoutSize=e.readShort(),this.yStrikeoutPosition=e.readShort(),this.familyClass=e.readShort(),this.panose=function(){var t,n;for(n=[],t=0;t<10;++t)n.push(e.readByte());return n}(),this.charRange=function(){var t,n;for(n=[],t=0;t<4;++t)n.push(e.readInt());return n}(),this.vendorID=e.readString(4),this.selection=e.readShort(),this.firstCharIndex=e.readShort(),this.lastCharIndex=e.readShort(),0<this.version&&(this.ascent=e.readShort(),this.descent=e.readShort(),this.lineGap=e.readShort(),this.winAscent=e.readShort(),this.winDescent=e.readShort(),this.codePageRange=function(){var t,n;for(n=[],t=0;t<2;++t)n.push(e.readInt());return n}(),1<this.version))return this.xHeight=e.readShort(),this.capHeight=e.readShort(),this.defaultChar=e.readShort(),this.breakChar=e.readShort(),this.maxContext=e.readShort()},t}(),y=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return d(t,c),t.prototype.tag="post",t.prototype.parse=function(e){var t,n,r,a;switch(e.pos=this.offset,this.format=e.readInt(),this.italicAngle=e.readInt(),this.underlinePosition=e.readShort(),this.underlineThickness=e.readShort(),this.isFixedPitch=e.readInt(),this.minMemType42=e.readInt(),this.maxMemType42=e.readInt(),this.minMemType1=e.readInt(),this.maxMemType1=e.readInt(),this.format){case 65536:break;case 131072:for(n=e.readUInt16(),this.glyphNameIndex=[],r=0;0<=n?r<n:n<r;0<=n?++r:--r)this.glyphNameIndex.push(e.readUInt16());for(this.names=[],a=[];e.pos<this.offset+this.length;)t=e.readByte(),a.push(this.names.push(e.readString(t)));return a;case 151552:return n=e.readUInt16(),this.offsets=e.read(n);case 196608:break;case 262144:return this.map=function(){var t,n,r;for(r=[],t=0,n=this.file.maxp.numGlyphs;0<=n?t<n:n<t;0<=n?++t:--t)r.push(e.readUInt32());return r}.call(this)}},t}(),w=function(e,t){this.raw=e,this.length=e.length,this.platformID=t.platformID,this.encodingID=t.encodingID,this.languageID=t.languageID},S=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return d(t,c),t.prototype.tag="name",t.prototype.parse=function(e){var t,n,r,a,i,o,s,l,c,u,f,h;for(e.pos=this.offset,e.readShort(),t=e.readShort(),o=e.readShort(),n=[],a=c=0;0<=t?c<t:t<c;a=0<=t?++c:--c)n.push({platformID:e.readShort(),encodingID:e.readShort(),languageID:e.readShort(),nameID:e.readShort(),length:e.readShort(),offset:this.offset+o+e.readShort()});for(s={},a=u=0,f=n.length;u<f;a=++u)r=n[a],e.pos=r.offset,l=e.readString(r.length),i=new w(l,r),null==s[h=r.nameID]&&(s[h]=[]),s[r.nameID].push(i);this.strings=s,this.copyright=s[0],this.fontFamily=s[1],this.fontSubfamily=s[2],this.uniqueSubfamily=s[3],this.fontName=s[4],this.version=s[5];try{this.postscriptName=s[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(e){this.postscriptName=s[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=s[7],this.manufacturer=s[8],this.designer=s[9],this.description=s[10],this.vendorUrl=s[11],this.designerUrl=s[12],this.license=s[13],this.licenseUrl=s[14],this.preferredFamily=s[15],this.preferredSubfamily=s[17],this.compatibleFull=s[18],this.sampleText=s[19]},t}(),x=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return d(t,c),t.prototype.tag="maxp",t.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.numGlyphs=e.readUInt16(),this.maxPoints=e.readUInt16(),this.maxContours=e.readUInt16(),this.maxCompositePoints=e.readUInt16(),this.maxComponentContours=e.readUInt16(),this.maxZones=e.readUInt16(),this.maxTwilightPoints=e.readUInt16(),this.maxStorage=e.readUInt16(),this.maxFunctionDefs=e.readUInt16(),this.maxInstructionDefs=e.readUInt16(),this.maxStackElements=e.readUInt16(),this.maxSizeOfInstructions=e.readUInt16(),this.maxComponentElements=e.readUInt16(),this.maxComponentDepth=e.readUInt16()},t}(),E=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return d(t,c),t.prototype.tag="hmtx",t.prototype.parse=function(e){var t,n,r,a,i,o,s;for(e.pos=this.offset,this.metrics=[],a=0,o=this.file.hhea.numberOfMetrics;0<=o?a<o:o<a;0<=o?++a:--a)this.metrics.push({advance:e.readUInt16(),lsb:e.readInt16()});for(n=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var t,r;for(r=[],t=0;0<=n?t<n:n<t;0<=n?++t:--t)r.push(e.readInt16());return r}(),this.widths=function(){var e,t,n,a;for(a=[],e=0,t=(n=this.metrics).length;e<t;e++)r=n[e],a.push(r.advance);return a}.call(this),t=this.widths[this.widths.length-1],s=[],i=0;0<=n?i<n:n<i;0<=n?++i:--i)s.push(this.widths.push(t));return s},t.prototype.forGlyph=function(e){return e in this.metrics?this.metrics[e]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[e-this.metrics.length]}},t}(),_=[].slice,k=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return d(t,c),t.prototype.tag="glyf",t.prototype.parse=function(e){return this.cache={}},t.prototype.glyphFor=function(e){var t,n,r,a,i,o,s,l,c,f;return(e=e)in this.cache?this.cache[e]:(a=this.file.loca,t=this.file.contents,n=a.indexOf(e),0===(r=a.lengthOf(e))?this.cache[e]=null:(t.pos=this.offset+n,i=(o=new u(t.read(r))).readShort(),l=o.readShort(),f=o.readShort(),s=o.readShort(),c=o.readShort(),this.cache[e]=-1===i?new C(o,l,f,s,c):new A(o,i,l,f,s,c),this.cache[e]))},t.prototype.encode=function(e,t,n){var r,a,i,o,s;for(i=[],a=[],o=0,s=t.length;o<s;o++)r=e[t[o]],a.push(i.length),r&&(i=i.concat(r.encode(n)));return a.push(i.length),{table:i,offsets:a}},t}(),A=function(){function e(e,t,n,r,a,i){this.raw=e,this.numberOfContours=t,this.xMin=n,this.yMin=r,this.xMax=a,this.yMax=i,this.compound=!1}return e.prototype.encode=function(){return this.raw.data},e}(),C=function(){function e(e,t,n,r,a){var i,o;for(this.raw=e,this.xMin=t,this.yMin=n,this.xMax=r,this.yMax=a,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],i=this.raw;o=i.readShort(),this.glyphOffsets.push(i.pos),this.glyphIDs.push(i.readShort()),32&o;)i.pos+=1&o?4:2,128&o?i.pos+=8:64&o?i.pos+=4:8&o&&(i.pos+=2)}return e.prototype.encode=function(e){var t,n,r,a,i;for(n=new u(_.call(this.raw.data)),t=r=0,a=(i=this.glyphIDs).length;r<a;t=++r)i[t],n.pos=this.glyphOffsets[t];return n.data},e}(),T=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return d(t,c),t.prototype.tag="loca",t.prototype.parse=function(e){var t;return e.pos=this.offset,t=this.file.head.indexToLocFormat,this.offsets=0===t?function(){var t,n,r;for(r=[],t=0,n=this.length;t<n;t+=2)r.push(2*e.readUInt16());return r}.call(this):function(){var t,n,r;for(r=[],t=0,n=this.length;t<n;t+=4)r.push(e.readUInt32());return r}.call(this)},t.prototype.indexOf=function(e){return this.offsets[e]},t.prototype.lengthOf=function(e){return this.offsets[e+1]-this.offsets[e]},t.prototype.encode=function(e,t){for(var n=new Uint32Array(this.offsets.length),r=0,a=0,i=0;i<n.length;++i)if(n[i]=r,a<t.length&&t[a]==i){++a,n[i]=r;var o=this.offsets[i],s=this.offsets[i+1]-o;0<s&&(r+=s)}for(var l=new Array(4*n.length),c=0;c<n.length;++c)l[4*c+3]=255&n[c],l[4*c+2]=(65280&n[c])>>8,l[4*c+1]=(16711680&n[c])>>16,l[4*c]=(4278190080&n[c])>>24;return l},t}(),R=function(){function e(e){this.font=e,this.subset={},this.unicodes={},this.next=33}return e.prototype.generateCmap=function(){var e,t,n,r,a;for(t in r=this.font.cmap.tables[0].codeMap,e={},a=this.subset)n=a[t],e[t]=r[n];return e},e.prototype.glyphsFor=function(e){var t,n,r,a,i,o,s;for(r={},i=0,o=e.length;i<o;i++)r[a=e[i]]=this.font.glyf.glyphFor(a);for(a in t=[],r)(null!=(n=r[a])?n.compound:void 0)&&t.push.apply(t,n.glyphIDs);if(0<t.length)for(a in s=this.glyphsFor(t))n=s[a],r[a]=n;return r},e.prototype.encode=function(e,t){var n,r,a,i,o,s,l,c,u,f,h,d,p,g,v;for(r in n=m.encode(this.generateCmap(),"unicode"),i=this.glyphsFor(e),h={0:0},v=n.charMap)h[(s=v[r]).old]=s.new;for(d in f=n.maxGlyphID,i)d in h||(h[d]=f++);return c=function(e){var t,n;for(t in n={},e)n[e[t]]=t;return n}(h),u=Object.keys(c).sort(function(e,t){return e-t}),p=function(){var e,t,n;for(n=[],e=0,t=u.length;e<t;e++)o=u[e],n.push(c[o]);return n}(),a=this.font.glyf.encode(i,p,h),l=this.font.loca.encode(a.offsets,p),g={cmap:this.font.cmap.raw(),glyf:a.table,loca:l,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(t)},this.font.os2.exists&&(g["OS/2"]=this.font.os2.raw()),this.font.directory.encode(g)},e}();e.API.PDFObject=function(){var e;function t(){}return e=function(e,t){return(Array(t+1).join("0")+e).slice(-t)},t.convert=function(n){var r,a,i,o;if(Array.isArray(n))return"["+function(){var e,a,i;for(i=[],e=0,a=n.length;e<a;e++)r=n[e],i.push(t.convert(r));return i}().join(" ")+"]";if("string"==typeof n)return"/"+n;if(null!=n?n.isString:void 0)return"("+n+")";if(n instanceof Date)return"(D:"+e(n.getUTCFullYear(),4)+e(n.getUTCMonth(),2)+e(n.getUTCDate(),2)+e(n.getUTCHours(),2)+e(n.getUTCMinutes(),2)+e(n.getUTCSeconds(),2)+"Z)";if("[object Object]"!=={}.toString.call(n))return""+n;for(a in i=["<<"],n)o=n[a],i.push("/"+a+" "+t.convert(o));return i.push(">>"),i.join("\n")},t}()}(ce),Ee="undefined"!=typeof self&&self||"undefined"!=typeof window&&window||"undefined"!=typeof global&&global||Function('return typeof this === "object" && this.content')()||Function("return this")(),_e=function(){var e,t,n;function r(e){var t,n,r,a,i,o,s,l,c,u,f,h,d,p;for(this.data=e,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},o=null;;){switch(t=this.readUInt32(),c=function(){var e,t;for(t=[],e=0;e<4;++e)t.push(String.fromCharCode(this.data[this.pos++]));return t}.call(this).join("")){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"acTL":this.animation={numFrames:this.readUInt32(),numPlays:this.readUInt32()||1/0,frames:[]};break;case"PLTE":this.palette=this.read(t);break;case"fcTL":o&&this.animation.frames.push(o),this.pos+=4,o={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},i=this.readUInt16(),a=this.readUInt16()||100,o.delay=1e3*i/a,o.disposeOp=this.data[this.pos++],o.blendOp=this.data[this.pos++],o.data=[];break;case"IDAT":case"fdAT":for("fdAT"===c&&(this.pos+=4,t-=4),e=(null!=o?o.data:void 0)||this.imgData,h=0;0<=t?h<t:t<h;0<=t?++h:--h)e.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(r=this.palette.length/3,this.transparency.indexed=this.read(t),this.transparency.indexed.length>r)throw new Error("More transparent colors than palette size");if(0<(u=r-this.transparency.indexed.length))for(d=0;0<=u?d<u:u<d;0<=u?++d:--d)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(t)[0];break;case 2:this.transparency.rgb=this.read(t)}break;case"tEXt":s=(f=this.read(t)).indexOf(0),l=String.fromCharCode.apply(String,f.slice(0,s)),this.text[l]=String.fromCharCode.apply(String,f.slice(s+1));break;case"IEND":return o&&this.animation.frames.push(o),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=4===(p=this.colorType)||6===p,n=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*n,this.colorSpace=function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}.call(this),void(this.imgData=new Uint8Array(this.imgData));default:this.pos+=t}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}r.load=function(e,t,n){var a;return"function"==typeof t&&(n=t),(a=new XMLHttpRequest).open("GET",e,!0),a.responseType="arraybuffer",a.onload=function(){var e;return e=new r(new Uint8Array(a.response||a.mozResponseArrayBuffer)),"function"==typeof(null!=t?t.getContext:void 0)&&e.render(t),"function"==typeof n?n(e):void 0},a.send(null)},r.prototype.read=function(e){var t,n;for(n=[],t=0;0<=e?t<e:e<t;0<=e?++t:--t)n.push(this.data[this.pos++]);return n},r.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},r.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},r.prototype.decodePixels=function(e){var t=this.pixelBitlength/8,n=new Uint8Array(this.width*this.height*t),r=0,a=this;if(null==e&&(e=this.imgData),0===e.length)return new Uint8Array(0);function i(i,o,s,l){var c,u,f,h,d,p,g,m,v,b,y,w,S,x,E,_,k,A,C,T,R,N=Math.ceil((a.width-i)/s),B=Math.ceil((a.height-o)/l),I=a.width==N&&a.height==B;for(x=t*N,w=I?n:new Uint8Array(x*B),p=e.length,u=S=0;S<B&&r<p;){switch(e[r++]){case 0:for(h=k=0;k<x;h=k+=1)w[u++]=e[r++];break;case 1:for(h=A=0;A<x;h=A+=1)c=e[r++],d=h<t?0:w[u-t],w[u++]=(c+d)%256;break;case 2:for(h=C=0;C<x;h=C+=1)c=e[r++],f=(h-h%t)/t,E=S&&w[(S-1)*x+f*t+h%t],w[u++]=(E+c)%256;break;case 3:for(h=T=0;T<x;h=T+=1)c=e[r++],f=(h-h%t)/t,d=h<t?0:w[u-t],E=S&&w[(S-1)*x+f*t+h%t],w[u++]=(c+Math.floor((d+E)/2))%256;break;case 4:for(h=R=0;R<x;h=R+=1)c=e[r++],f=(h-h%t)/t,d=h<t?0:w[u-t],0===S?E=_=0:(E=w[(S-1)*x+f*t+h%t],_=f&&w[(S-1)*x+(f-1)*t+h%t]),g=d+E-_,m=Math.abs(g-d),b=Math.abs(g-E),y=Math.abs(g-_),v=m<=b&&m<=y?d:b<=y?E:_,w[u++]=(c+v)%256;break;default:throw new Error("Invalid filter algorithm: "+e[r-1])}if(!I){var L=((o+S*l)*a.width+i)*t,O=S*x;for(h=0;h<N;h+=1){for(var P=0;P<t;P+=1)n[L++]=w[O++];L+=(s-1)*t}}S++}}return e=(e=new Be(e)).getBytes(),1==a.interlaceMethod?(i(0,0,8,8),i(4,0,8,8),i(0,4,4,8),i(2,0,4,4),i(0,2,2,4),i(1,0,2,2),i(0,1,1,2)):i(0,0,1,1),n},r.prototype.decodePalette=function(){var e,t,n,r,a,i,o,s,l;for(n=this.palette,i=this.transparency.indexed||[],a=new Uint8Array((i.length||0)+n.length),r=0,n.length,t=o=e=0,s=n.length;o<s;t=o+=3)a[r++]=n[t],a[r++]=n[t+1],a[r++]=n[t+2],a[r++]=null!=(l=i[e++])?l:255;return a},r.prototype.copyToImageData=function(e,t){var n,r,a,i,o,s,l,c,u,f,h;if(r=this.colors,u=null,n=this.hasAlphaChannel,this.palette.length&&(u=null!=(h=this._decodedPalette)?h:this._decodedPalette=this.decodePalette(),r=4,n=!0),c=(a=e.data||e).length,o=u||t,i=s=0,1===r)for(;i<c;)l=u?4*t[i/4]:s,f=o[l++],a[i++]=f,a[i++]=f,a[i++]=f,a[i++]=n?o[l++]:255,s=l;else for(;i<c;)l=u?4*t[i/4]:s,a[i++]=o[l++],a[i++]=o[l++],a[i++]=o[l++],a[i++]=n?o[l++]:255,s=l},r.prototype.decode=function(){var e;return e=new Uint8Array(this.width*this.height*4),this.copyToImageData(e,this.decodePixels()),e};try{t=Ee.document.createElement("canvas"),n=t.getContext("2d")}catch(e){return-1}return e=function(e){var r;return n.width=e.width,n.height=e.height,n.clearRect(0,0,e.width,e.height),n.putImageData(e,0,0),(r=new Image).src=t.toDataURL(),r},r.prototype.decodeFrames=function(t){var n,r,a,i,o,s,l,c;if(this.animation){for(c=[],r=o=0,s=(l=this.animation.frames).length;o<s;r=++o)n=l[r],a=t.createImageData(n.width,n.height),i=this.decodePixels(new Uint8Array(n.data)),this.copyToImageData(a,i),n.imageData=a,c.push(n.image=e(a));return c}},r.prototype.renderFrame=function(e,t){var n,r,a;return n=(r=this.animation.frames)[t],a=r[t-1],0===t&&e.clearRect(0,0,this.width,this.height),1===(null!=a?a.disposeOp:void 0)?e.clearRect(a.xOffset,a.yOffset,a.width,a.height):2===(null!=a?a.disposeOp:void 0)&&e.putImageData(a.imageData,a.xOffset,a.yOffset),0===n.blendOp&&e.clearRect(n.xOffset,n.yOffset,n.width,n.height),e.drawImage(n.image,n.xOffset,n.yOffset)},r.prototype.animate=function(e){var t,n,r,a,i,o,s=this;return n=0,o=this.animation,a=o.numFrames,r=o.frames,i=o.numPlays,(t=function(){var o,l;if(o=n++%a,l=r[o],s.renderFrame(e,o),1<a&&n/a<i)return s.animation._timeout=setTimeout(t,l.delay)})()},r.prototype.stopAnimation=function(){var e;return clearTimeout(null!=(e=this.animation)?e._timeout:void 0)},r.prototype.render=function(e){var t,n;return e._png&&e._png.stopAnimation(),e._png=this,e.width=this.width,e.height=this.height,t=e.getContext("2d"),this.animation?(this.decodeFrames(t),this.animate(t)):(n=t.createImageData(this.width,this.height),this.copyToImageData(n,this.decodePixels()),t.putImageData(n,0,0))},r}(),Ee.PNG=_e;var Ne=function(){function e(){this.pos=0,this.bufferLength=0,this.eof=!1,this.buffer=null}return e.prototype={ensureBuffer:function(e){var t=this.buffer,n=t?t.byteLength:0;if(e<n)return t;for(var r=512;r<e;)r<<=1;for(var a=new Uint8Array(r),i=0;i<n;++i)a[i]=t[i];return this.buffer=a},getByte:function(){for(var e=this.pos;this.bufferLength<=e;){if(this.eof)return null;this.readBlock()}return this.buffer[this.pos++]},getBytes:function(e){var t=this.pos;if(e){this.ensureBuffer(t+e);for(var n=t+e;!this.eof&&this.bufferLength<n;)this.readBlock();var r=this.bufferLength;r<n&&(n=r)}else{for(;!this.eof;)this.readBlock();n=this.bufferLength}return this.pos=n,this.buffer.subarray(t,n)},lookChar:function(){for(var e=this.pos;this.bufferLength<=e;){if(this.eof)return null;this.readBlock()}return String.fromCharCode(this.buffer[this.pos])},getChar:function(){for(var e=this.pos;this.bufferLength<=e;){if(this.eof)return null;this.readBlock()}return String.fromCharCode(this.buffer[this.pos++])},makeSubStream:function(e,t,n){for(var r=e+t;this.bufferLength<=r&&!this.eof;)this.readBlock();return new Stream(this.buffer,e,t,n)},skip:function(e){e||(e=1),this.pos+=e},reset:function(){this.pos=0}},e}(),Be=function(){if("undefined"!=typeof Uint32Array){var e=new Uint32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),t=new Uint32Array([3,4,5,6,7,8,9,10,65547,65549,65551,65553,131091,131095,131099,131103,196643,196651,196659,196667,262211,262227,262243,262259,327811,327843,327875,327907,258,258,258]),n=new Uint32Array([1,2,3,4,65541,65543,131081,131085,196625,196633,262177,262193,327745,327777,393345,393409,459009,459137,524801,525057,590849,591361,657409,658433,724993,727041,794625,798721,868353,876545]),r=[new Uint32Array([459008,524368,524304,524568,459024,524400,524336,590016,459016,524384,524320,589984,524288,524416,524352,590048,459012,524376,524312,589968,459028,524408,524344,590032,459020,524392,524328,59e4,524296,524424,524360,590064,459010,524372,524308,524572,459026,524404,524340,590024,459018,524388,524324,589992,524292,524420,524356,590056,459014,524380,524316,589976,459030,524412,524348,590040,459022,524396,524332,590008,524300,524428,524364,590072,459009,524370,524306,524570,459025,524402,524338,590020,459017,524386,524322,589988,524290,524418,524354,590052,459013,524378,524314,589972,459029,524410,524346,590036,459021,524394,524330,590004,524298,524426,524362,590068,459011,524374,524310,524574,459027,524406,524342,590028,459019,524390,524326,589996,524294,524422,524358,590060,459015,524382,524318,589980,459031,524414,524350,590044,459023,524398,524334,590012,524302,524430,524366,590076,459008,524369,524305,524569,459024,524401,524337,590018,459016,524385,524321,589986,524289,524417,524353,590050,459012,524377,524313,589970,459028,524409,524345,590034,459020,524393,524329,590002,524297,524425,524361,590066,459010,524373,524309,524573,459026,524405,524341,590026,459018,524389,524325,589994,524293,524421,524357,590058,459014,524381,524317,589978,459030,524413,524349,590042,459022,524397,524333,590010,524301,524429,524365,590074,459009,524371,524307,524571,459025,524403,524339,590022,459017,524387,524323,589990,524291,524419,524355,590054,459013,524379,524315,589974,459029,524411,524347,590038,459021,524395,524331,590006,524299,524427,524363,590070,459011,524375,524311,524575,459027,524407,524343,590030,459019,524391,524327,589998,524295,524423,524359,590062,459015,524383,524319,589982,459031,524415,524351,590046,459023,524399,524335,590014,524303,524431,524367,590078,459008,524368,524304,524568,459024,524400,524336,590017,459016,524384,524320,589985,524288,524416,524352,590049,459012,524376,524312,589969,459028,524408,524344,590033,459020,524392,524328,590001,524296,524424,524360,590065,459010,524372,524308,524572,459026,524404,524340,590025,459018,524388,524324,589993,524292,524420,524356,590057,459014,524380,524316,589977,459030,524412,524348,590041,459022,524396,524332,590009,524300,524428,524364,590073,459009,524370,524306,524570,459025,524402,524338,590021,459017,524386,524322,589989,524290,524418,524354,590053,459013,524378,524314,589973,459029,524410,524346,590037,459021,524394,524330,590005,524298,524426,524362,590069,459011,524374,524310,524574,459027,524406,524342,590029,459019,524390,524326,589997,524294,524422,524358,590061,459015,524382,524318,589981,459031,524414,524350,590045,459023,524398,524334,590013,524302,524430,524366,590077,459008,524369,524305,524569,459024,524401,524337,590019,459016,524385,524321,589987,524289,524417,524353,590051,459012,524377,524313,589971,459028,524409,524345,590035,459020,524393,524329,590003,524297,524425,524361,590067,459010,524373,524309,524573,459026,524405,524341,590027,459018,524389,524325,589995,524293,524421,524357,590059,459014,524381,524317,589979,459030,524413,524349,590043,459022,524397,524333,590011,524301,524429,524365,590075,459009,524371,524307,524571,459025,524403,524339,590023,459017,524387,524323,589991,524291,524419,524355,590055,459013,524379,524315,589975,459029,524411,524347,590039,459021,524395,524331,590007,524299,524427,524363,590071,459011,524375,524311,524575,459027,524407,524343,590031,459019,524391,524327,589999,524295,524423,524359,590063,459015,524383,524319,589983,459031,524415,524351,590047,459023,524399,524335,590015,524303,524431,524367,590079]),9],a=[new Uint32Array([327680,327696,327688,327704,327684,327700,327692,327708,327682,327698,327690,327706,327686,327702,327694,0,327681,327697,327689,327705,327685,327701,327693,327709,327683,327699,327691,327707,327687,327703,327695,0]),5];return(o.prototype=Object.create(Ne.prototype)).getBits=function(e){for(var t,n=this.codeSize,r=this.codeBuf,a=this.bytes,o=this.bytesPos;n<e;)void 0===(t=a[o++])&&i("Bad encoding in flate stream"),r|=t<<n,n+=8;return t=r&(1<<e)-1,this.codeBuf=r>>e,this.codeSize=n-=e,this.bytesPos=o,t},o.prototype.getCode=function(e){for(var t=e[0],n=e[1],r=this.codeSize,a=this.codeBuf,o=this.bytes,s=this.bytesPos;r<n;){var l;void 0===(l=o[s++])&&i("Bad encoding in flate stream"),a|=l<<r,r+=8}var c=t[a&(1<<n)-1],u=c>>16,f=65535&c;return(0==r||r<u||0==u)&&i("Bad encoding in flate stream"),this.codeBuf=a>>u,this.codeSize=r-u,this.bytesPos=s,f},o.prototype.generateHuffmanTable=function(e){for(var t=e.length,n=0,r=0;r<t;++r)e[r]>n&&(n=e[r]);for(var a=1<<n,i=new Uint32Array(a),o=1,s=0,l=2;o<=n;++o,s<<=1,l<<=1)for(var c=0;c<t;++c)if(e[c]==o){var u=0,f=s;for(r=0;r<o;++r)u=u<<1|1&f,f>>=1;for(r=u;r<a;r+=l)i[r]=o<<16|c;++s}return[i,n]},o.prototype.readBlock=function(){function o(e,t,n,r,a){for(var i=e.getBits(n)+r;0<i--;)t[p++]=a}var s=this.getBits(3);if(1&s&&(this.eof=!0),0!=(s>>=1)){var l,c;if(1==s)l=r,c=a;else if(2==s){for(var u=this.getBits(5)+257,f=this.getBits(5)+1,h=this.getBits(4)+4,d=Array(e.length),p=0;p<h;)d[e[p++]]=this.getBits(3);for(var g=this.generateHuffmanTable(d),m=0,v=(p=0,u+f),b=new Array(v);p<v;){var y=this.getCode(g);16==y?o(this,b,2,3,m):17==y?o(this,b,3,3,m=0):18==y?o(this,b,7,11,m=0):b[p++]=m=y}l=this.generateHuffmanTable(b.slice(0,u)),c=this.generateHuffmanTable(b.slice(u,v))}else i("Unknown block type in flate stream");for(var w=(I=this.buffer)?I.length:0,S=this.bufferLength;;){var x=this.getCode(l);if(x<256)w<=S+1&&(w=(I=this.ensureBuffer(S+1)).length),I[S++]=x;else{if(256==x)return void(this.bufferLength=S);var E=(x=t[x-=257])>>16;0<E&&(E=this.getBits(E)),m=(65535&x)+E,x=this.getCode(c),0<(E=(x=n[x])>>16)&&(E=this.getBits(E));var _=(65535&x)+E;w<=S+m&&(w=(I=this.ensureBuffer(S+m)).length);for(var k=0;k<m;++k,++S)I[S]=I[S-_]}}}else{var A,C=this.bytes,T=this.bytesPos;void 0===(A=C[T++])&&i("Bad block header in flate stream");var R=A;void 0===(A=C[T++])&&i("Bad block header in flate stream"),R|=A<<8,void 0===(A=C[T++])&&i("Bad block header in flate stream");var N=A;void 0===(A=C[T++])&&i("Bad block header in flate stream"),(N|=A<<8)!=(65535&~R)&&i("Bad uncompressed block length in flate stream"),this.codeBuf=0,this.codeSize=0;var B=this.bufferLength,I=this.ensureBuffer(B+R),L=B+R;this.bufferLength=L;for(var O=B;O<L;++O){if(void 0===(A=C[T++])){this.eof=!0;break}I[O]=A}this.bytesPos=T}},o}function i(e){throw new Error(e)}function o(e){var t=0,n=e[t++],r=e[t++];-1!=n&&-1!=r||i("Invalid header in flate stream"),8!=(15&n)&&i("Unknown compression method in flate stream"),((n<<8)+r)%31!=0&&i("Bad FCHECK in flate stream"),32&r&&i("FDICT bit set in flate stream"),this.bytes=e,this.bytesPos=2,this.codeSize=0,this.codeBuf=0,Ne.call(this)}}();window.tmp=Be});try{module.exports=jsPDF}catch(e){}var saveAs=saveAs||function(e){"use strict";if(!(void 0===e||"undefined"!=typeof navigator&&/MSIE [1-9]\./.test(navigator.userAgent))){var t=e.document,n=function(){return e.URL||e.webkitURL||e},r=t.createElementNS("http://www.w3.org/1999/xhtml","a"),a="download"in r,i=/constructor/i.test(e.HTMLElement)||e.safari,o=/CriOS\/[\d]+/.test(navigator.userAgent),s=function(t){(e.setImmediate||e.setTimeout)(function(){throw t},0)},l=function(e){setTimeout(function(){"string"==typeof e?n().revokeObjectURL(e):e.remove()},4e4)},c=function(e,t,n){for(var r=(t=[].concat(t)).length;r--;){var a=e["on"+t[r]];if("function"==typeof a)try{a.call(e,n||e)}catch(e){s(e)}}},u=function(e){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e},f=function(t,s,f){f||(t=u(t));var h,d=this,p="application/octet-stream"===t.type,g=function(){c(d,"writestart progress write writeend".split(" "))};if(d.readyState=d.INIT,a)return h=n().createObjectURL(t),void setTimeout(function(){var e,t;r.href=h,r.download=s,e=r,t=new MouseEvent("click"),e.dispatchEvent(t),g(),l(h),d.readyState=d.DONE});!function(){if((o||p&&i)&&e.FileReader){var r=new FileReader;return r.onloadend=function(){var t=o?r.result:r.result.replace(/^data:[^;]*;/,"data:attachment/file;");e.open(t,"_blank")||(e.location.href=t),t=void 0,d.readyState=d.DONE,g()},r.readAsDataURL(t),void(d.readyState=d.INIT)}h||(h=n().createObjectURL(t)),p?e.location.href=h:e.open(h,"_blank")||(e.location.href=h);d.readyState=d.DONE,g(),l(h)}()},h=f.prototype;return"undefined"!=typeof navigator&&navigator.msSaveOrOpenBlob?function(e,t,n){return t=t||e.name||"download",n||(e=u(e)),navigator.msSaveOrOpenBlob(e,t)}:(h.abort=function(){},h.readyState=h.INIT=0,h.WRITING=1,h.DONE=2,h.error=h.onwritestart=h.onprogress=h.onwrite=h.onabort=h.onerror=h.onwriteend=null,function(e,t,n){return new f(e,t||e.name||"download",n)})}}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||this.content);"undefined"!=typeof module&&module.exports?module.exports.saveAs=saveAs:"undefined"!=typeof define&&null!==define&&null!==define.amd&&define("FileSaver.js",function(){return saveAs});var DO_NOT_EXPORT_CODEPAGE=!0,DO_NOT_EXPORT_JSZIP=!0;!function(e){if("object"==typeof exports&&"undefined"!=typeof module&&void 0===DO_NOT_EXPORT_JSZIP)module.exports=e();else if("function"==typeof define&&define.amd&&void 0===DO_NOT_EXPORT_JSZIP)JSZipSync=e(),define("j",[],e);else{var t;"undefined"!=typeof globalThis?t=globalThis:"undefined"!=typeof window?t=window:"undefined"!=typeof global?t=global:"undefined"!=typeof $&&$.global?t=$.global:"undefined"!=typeof self&&(t=self),t.JSZipSync=e()}}(function(){return function e(t,n,r){function a(o,s){if(!n[o]){if(!t[o]){var l="function"==typeof require&&require;if(!s&&l)return l(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var c=n[o]={exports:{}};t[o][0].call(c.exports,function(e){var n=t[o][1][e];return a(n||e)},c,c.exports,e,t,n,r)}return n[o].exports}for(var i="function"==typeof require&&require,o=0;o<r.length;o++)a(r[o]);return a}({1:[function(e,t,n){"use strict";var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.encode=function(e,t){for(var n,a,i,o,s,l,c,u="",f=0;f<e.length;)o=(n=e.charCodeAt(f++))>>2,s=(3&n)<<4|(a=e.charCodeAt(f++))>>4,l=(15&a)<<2|(i=e.charCodeAt(f++))>>6,c=63&i,isNaN(a)?l=c=64:isNaN(i)&&(c=64),u=u+r.charAt(o)+r.charAt(s)+r.charAt(l)+r.charAt(c);return u},n.decode=function(e,t){var n,a,i,o,s,l,c="",u=0;for(e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");u<e.length;)n=r.indexOf(e.charAt(u++))<<2|(o=r.indexOf(e.charAt(u++)))>>4,a=(15&o)<<4|(s=r.indexOf(e.charAt(u++)))>>2,i=(3&s)<<6|(l=r.indexOf(e.charAt(u++))),c+=String.fromCharCode(n),64!=s&&(c+=String.fromCharCode(a)),64!=l&&(c+=String.fromCharCode(i));return c}},{}],2:[function(e,t,n){"use strict";function r(){this.compressedSize=0,this.uncompressedSize=0,this.crc32=0,this.compressionMethod=null,this.compressedContent=null}r.prototype={getContent:function(){return null},getCompressedContent:function(){return null}},t.exports=r},{}],3:[function(e,t,n){"use strict";n.STORE={magic:"\0\0",compress:function(e){return e},uncompress:function(e){return e},compressInputType:null,uncompressInputType:null},n.DEFLATE=e("./flate")},{"./flate":8}],4:[function(e,t,n){"use strict";var r=e("./utils"),a=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];t.exports=function(e,t){if(void 0===e||!e.length)return 0;var n="string"!==r.getTypeOf(e);void 0===t&&(t=0);var i=0,o=0;t^=-1;for(var s=0,l=e.length;s<l;s++)o=n?e[s]:e.charCodeAt(s),i=a[255&(t^o)],t=t>>>8^i;return-1^t}},{"./utils":21}],5:[function(e,t,n){"use strict";var r=e("./utils");function a(e){this.data=null,this.length=0,this.index=0}a.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(e){},readInt:function(e){var t,n=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)n=(n<<8)+this.byteAt(t);return this.index+=e,n},readString:function(e){return r.transformTo("string",this.readData(e))},readData:function(e){},lastIndexOfSignature:function(e){},readDate:function(){var e=this.readInt(4);return new Date(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1)}},t.exports=a},{"./utils":21}],6:[function(e,t,n){"use strict";n.base64=!1,n.binary=!1,n.dir=!1,n.createFolders=!1,n.date=null,n.compression=null,n.comment=null},{}],7:[function(e,t,n){"use strict";var r=e("./utils");n.string2binary=function(e){return r.string2binary(e)},n.string2Uint8Array=function(e){return r.transformTo("uint8array",e)},n.uint8Array2String=function(e){return r.transformTo("string",e)},n.string2Blob=function(e){var t=r.transformTo("arraybuffer",e);return r.arrayBuffer2Blob(t)},n.arrayBuffer2Blob=function(e){return r.arrayBuffer2Blob(e)},n.transformTo=function(e,t){return r.transformTo(e,t)},n.getTypeOf=function(e){return r.getTypeOf(e)},n.checkSupport=function(e){return r.checkSupport(e)},n.MAX_VALUE_16BITS=r.MAX_VALUE_16BITS,n.MAX_VALUE_32BITS=r.MAX_VALUE_32BITS,n.pretty=function(e){return r.pretty(e)},n.findCompression=function(e){return r.findCompression(e)},n.isRegExp=function(e){return r.isRegExp(e)}},{"./utils":21}],8:[function(e,t,n){"use strict";var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,a=e("pako");n.uncompressInputType=r?"uint8array":"array",n.compressInputType=r?"uint8array":"array",n.magic="\b\0",n.compress=function(e){return a.deflateRaw(e)},n.uncompress=function(e){return a.inflateRaw(e)}},{pako:24}],9:[function(e,t,n){"use strict";var r=e("./base64");function a(e,t){if(!(this instanceof a))return new a(e,t);this.files={},this.comment=null,this.root="",e&&this.load(e,t),this.clone=function(){var e=new a;for(var t in this)"function"!=typeof this[t]&&(e[t]=this[t]);return e}}a.prototype=e("./object"),a.prototype.load=e("./load"),a.support=e("./support"),a.defaults=e("./defaults"),a.utils=e("./deprecatedPublicUtils"),a.base64={encode:function(e){return r.encode(e)},decode:function(e){return r.decode(e)}},a.compressions=e("./compressions"),t.exports=a},{"./base64":1,"./compressions":3,"./defaults":6,"./deprecatedPublicUtils":7,"./load":10,"./object":13,"./support":17}],10:[function(e,t,n){"use strict";var r=e("./base64"),a=e("./zipEntries");t.exports=function(e,t){var n,i,o,s;for((t=t||{}).base64&&(e=r.decode(e)),n=(i=new a(e,t)).files,o=0;o<n.length;o++)s=n[o],this.file(s.fileName,s.decompressed,{binary:!0,optimizedBinaryString:!0,date:s.date,dir:s.dir,comment:s.fileComment.length?s.fileComment:null,createFolders:t.createFolders});return i.zipComment.length&&(this.comment=i.zipComment),this}},{"./base64":1,"./zipEntries":22}],11:[function(e,t,n){(function(e){"use strict";var n=function(){};if(void 0!==e){var r=!e.from;if(!r)try{e.from("foo","utf8")}catch(e){r=!0}n=r?function(t,n){return n?new e(t,n):new e(t)}:e.from.bind(e),e.alloc||(e.alloc=function(t){return new e(t)})}t.exports=function(t,r){return"number"==typeof t?e.alloc(t):n(t,r)},t.exports.test=function(t){return e.isBuffer(t)}}).call(this,"undefined"!=typeof Buffer?Buffer:void 0)},{}],12:[function(e,t,n){"use strict";var r=e("./uint8ArrayReader");function a(e){this.data=e,this.length=this.data.length,this.index=0}a.prototype=new r,a.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.index,this.index+e);return this.index+=e,t},t.exports=a},{"./uint8ArrayReader":18}],13:[function(e,t,n){"use strict";var r=e("./support"),a=e("./utils"),i=e("./crc32"),o=e("./signature"),s=e("./defaults"),l=e("./base64"),c=e("./compressions"),u=e("./compressedObject"),f=e("./nodeBuffer"),h=e("./utf8"),d=e("./stringWriter"),p=e("./uint8ArrayWriter"),g=function(e){if(e._data instanceof u&&(e._data=e._data.getContent(),e.options.binary=!0,e.options.base64=!1,"uint8array"===a.getTypeOf(e._data))){var t=e._data;e._data=new Uint8Array(t.length),0!==t.length&&e._data.set(t,0)}return e._data},m=function(e){var t=g(e);return"string"===a.getTypeOf(t)?!e.options.binary&&r.nodebuffer?f(t,"utf-8"):e.asBinary():t},v=function(e){var t=g(this);return null==t?"":(this.options.base64&&(t=l.decode(t)),t=e&&this.options.binary?A.utf8decode(t):a.transformTo("string",t),e||this.options.binary||(t=a.transformTo("string",A.utf8encode(t))),t)},b=function(e,t,n){this.name=e,this.dir=n.dir,this.date=n.date,this.comment=n.comment,this._data=t,this.options=n,this._initialMetadata={dir:n.dir,date:n.date}};b.prototype={asText:function(){return v.call(this,!0)},asBinary:function(){return v.call(this,!1)},asNodeBuffer:function(){var e=m(this);return a.transformTo("nodebuffer",e)},asUint8Array:function(){var e=m(this);return a.transformTo("uint8array",e)},asArrayBuffer:function(){return this.asUint8Array().buffer}};var y=function(e,t){var n,r="";for(n=0;n<t;n++)r+=String.fromCharCode(255&e),e>>>=8;return r},w=function(){var e,t,n={};for(e=0;e<arguments.length;e++)for(t in arguments[e])arguments[e].hasOwnProperty(t)&&void 0===n[t]&&(n[t]=arguments[e][t]);return n},S=function(e,t,n){var r,i=a.getTypeOf(t);if((n=function(e){return!0!==(e=e||{}).base64||null!==e.binary&&void 0!==e.binary||(e.binary=!0),(e=w(e,s)).date=e.date||new Date,null!==e.compression&&(e.compression=e.compression.toUpperCase()),e}(n)).createFolders&&(r=x(e))&&E.call(this,r,!0),n.dir||null==t)n.base64=!1,n.binary=!1,t=null;else if("string"===i)n.binary&&!n.base64&&!0!==n.optimizedBinaryString&&(t=a.string2binary(t));else{if(n.base64=!1,n.binary=!0,!(i||t instanceof u))throw new Error("The data of '"+e+"' is in an unsupported format !");"arraybuffer"===i&&(t=a.transformTo("uint8array",t))}var o=new b(e,t,n);return this.files[e]=o,o},x=function(e){"/"==e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return t>0?e.substring(0,t):""},E=function(e,t){return"/"!=e.slice(-1)&&(e+="/"),t=void 0!==t&&t,this.files[e]||S.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]},_=function(e,t){var n,r=new u;return e._data instanceof u?(r.uncompressedSize=e._data.uncompressedSize,r.crc32=e._data.crc32,0===r.uncompressedSize||e.dir?(t=c.STORE,r.compressedContent="",r.crc32=0):e._data.compressionMethod===t.magic?r.compressedContent=e._data.getCompressedContent():(n=e._data.getContent(),r.compressedContent=t.compress(a.transformTo(t.compressInputType,n)))):((n=m(e))&&0!==n.length&&!e.dir||(t=c.STORE,n=""),r.uncompressedSize=n.length,r.crc32=i(n),r.compressedContent=t.compress(a.transformTo(t.compressInputType,n))),r.compressedSize=r.compressedContent.length,r.compressionMethod=t.magic,r},k=function(e,t,n,r){n.compressedContent;var s,l,c,u,f=a.transformTo("string",h.utf8encode(t.name)),d=t.comment||"",p=a.transformTo("string",h.utf8encode(d)),g=f.length!==t.name.length,m=p.length!==d.length,v=t.options,b="",w="",S="";c=t._initialMetadata.dir!==t.dir?t.dir:v.dir,s=(u=t._initialMetadata.date!==t.date?t.date:v.date).getHours(),s<<=6,s|=u.getMinutes(),s<<=5,s|=u.getSeconds()/2,l=u.getFullYear()-1980,l<<=4,l|=u.getMonth()+1,l<<=5,l|=u.getDate(),g&&(w=y(1,1)+y(i(f),4)+f,b+="up"+y(w.length,2)+w),m&&(S=y(1,1)+y(this.crc32(p),4)+p,b+="uc"+y(S.length,2)+S);var x="";return x+="\n\0",x+=g||m?"\0\b":"\0\0",x+=n.compressionMethod,x+=y(s,2),x+=y(l,2),x+=y(n.crc32,4),x+=y(n.compressedSize,4),x+=y(n.uncompressedSize,4),x+=y(f.length,2),x+=y(b.length,2),{fileRecord:o.LOCAL_FILE_HEADER+x+f+b,dirRecord:o.CENTRAL_FILE_HEADER+"\0"+x+y(p.length,2)+"\0\0\0\0"+(!0===c?"\0\0\0":"\0\0\0\0")+y(r,4)+f+b+p,compressedObject:n}},A={load:function(e,t){throw new Error("Load method is not defined. Is the file jszip-load.js included ?")},filter:function(e){var t,n,r,a,i=[];for(t in this.files)this.files.hasOwnProperty(t)&&(r=this.files[t],a=new b(r.name,r._data,w(r.options)),n=t.slice(this.root.length,t.length),t.slice(0,this.root.length)===this.root&&e(n,a)&&i.push(a));return i},file:function(e,t,n){if(1===arguments.length){if(a.isRegExp(e)){var r=e;return this.filter(function(e,t){return!t.dir&&r.test(e)})}return this.filter(function(t,n){return!n.dir&&t===e})[0]||null}return e=this.root+e,S.call(this,e,t,n),this},folder:function(e){if(!e)return this;if(a.isRegExp(e))return this.filter(function(t,n){return n.dir&&e.test(t)});var t=this.root+e,n=E.call(this,t),r=this.clone();return r.root=n.name,r},remove:function(e){e=this.root+e;var t=this.files[e];if(t||("/"!=e.slice(-1)&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var n=this.filter(function(t,n){return n.name.slice(0,e.length)===e}),r=0;r<n.length;r++)delete this.files[n[r].name];return this},generate:function(e){e=w(e||{},{base64:!0,compression:"STORE",type:"base64",comment:null}),a.checkSupport(e.type);var t,n,r=[],i=0,s=0,u=a.transformTo("string",this.utf8encode(e.comment||this.comment||""));for(var f in this.files)if(this.files.hasOwnProperty(f)){var h=this.files[f],g=h.options.compression||e.compression.toUpperCase(),m=c[g];if(!m)throw new Error(g+" is not a valid compression method !");var v=_.call(this,h,m),b=k.call(this,f,h,v,i);i+=b.fileRecord.length+v.compressedSize,s+=b.dirRecord.length,r.push(b)}var S;S=o.CENTRAL_DIRECTORY_END+"\0\0\0\0"+y(r.length,2)+y(r.length,2)+y(s,4)+y(i,4)+y(u.length,2)+u;var x=e.type.toLowerCase();for(t="uint8array"===x||"arraybuffer"===x||"blob"===x||"nodebuffer"===x?new p(i+s+S.length):new d(i+s+S.length),n=0;n<r.length;n++)t.append(r[n].fileRecord),t.append(r[n].compressedObject.compressedContent);for(n=0;n<r.length;n++)t.append(r[n].dirRecord);t.append(S);var E=t.finalize();switch(e.type.toLowerCase()){case"uint8array":case"arraybuffer":case"nodebuffer":return a.transformTo(e.type.toLowerCase(),E);case"blob":return a.arrayBuffer2Blob(a.transformTo("arraybuffer",E));case"base64":return e.base64?l.encode(E):E;default:return E}},crc32:function(e,t){return i(e,t)},utf8encode:function(e){return a.transformTo("string",h.utf8encode(e))},utf8decode:function(e){return h.utf8decode(e)}};t.exports=A},{"./base64":1,"./compressedObject":2,"./compressions":3,"./crc32":4,"./defaults":6,"./nodeBuffer":11,"./signature":14,"./stringWriter":16,"./support":17,"./uint8ArrayWriter":19,"./utf8":20,"./utils":21}],14:[function(e,t,n){"use strict";n.LOCAL_FILE_HEADER="PK",n.CENTRAL_FILE_HEADER="PK",n.CENTRAL_DIRECTORY_END="PK",n.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",n.ZIP64_CENTRAL_DIRECTORY_END="PK",n.DATA_DESCRIPTOR="PK\b"},{}],15:[function(e,t,n){"use strict";var r=e("./dataReader"),a=e("./utils");function i(e,t){this.data=e,t||(this.data=a.string2binary(this.data)),this.length=this.data.length,this.index=0}i.prototype=new r,i.prototype.byteAt=function(e){return this.data.charCodeAt(e)},i.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)},i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.index,this.index+e);return this.index+=e,t},t.exports=i},{"./dataReader":5,"./utils":21}],16:[function(e,t,n){"use strict";var r=e("./utils"),a=function(){this.data=[]};a.prototype={append:function(e){e=r.transformTo("string",e),this.data.push(e)},finalize:function(){return this.data.join("")}},t.exports=a},{"./utils":21}],17:[function(e,t,n){(function(e){"use strict";if(n.base64=!0,n.array=!0,n.string=!0,n.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,n.nodebuffer=void 0!==e,n.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)n.blob=!1;else{var t=new ArrayBuffer(0);try{n.blob=0===new Blob([t],{type:"application/zip"}).size}catch(e){try{var r=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder);r.append(t),n.blob=0===r.getBlob("application/zip").size}catch(e){n.blob=!1}}}}).call(this,"undefined"!=typeof Buffer?Buffer:void 0)},{}],18:[function(e,t,n){"use strict";var r=e("./dataReader");function a(e){e&&(this.data=e,this.length=this.data.length,this.index=0)}a.prototype=new r,a.prototype.byteAt=function(e){return this.data[e]},a.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),a=e.charCodeAt(3),i=this.length-4;i>=0;--i)if(this.data[i]===t&&this.data[i+1]===n&&this.data[i+2]===r&&this.data[i+3]===a)return i;return-1},a.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.index,this.index+e);return this.index+=e,t},t.exports=a},{"./dataReader":5}],19:[function(e,t,n){"use strict";var r=e("./utils"),a=function(e){this.data=new Uint8Array(e),this.index=0};a.prototype={append:function(e){0!==e.length&&(e=r.transformTo("uint8array",e),this.data.set(e,this.index),this.index+=e.length)},finalize:function(){return this.data}},t.exports=a},{"./utils":21}],20:[function(e,t,n){"use strict";for(var r=e("./utils"),a=e("./support"),i=e("./nodeBuffer"),o=new Array(256),s=0;s<256;s++)o[s]=s>=252?6:s>=248?5:s>=240?4:s>=224?3:s>=192?2:1;o[254]=o[254]=1;var l=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;n>=0&&128==(192&e[n]);)n--;return n<0?t:0===n?t:n+o[e[n]]>t?n:t},c=function(e){var t,n,a,i,s=e.length,l=new Array(2*s);for(n=0,t=0;t<s;)if((a=e[t++])<128)l[n++]=a;else if((i=o[a])>4)l[n++]=65533,t+=i-1;else{for(a&=2===i?31:3===i?15:7;i>1&&t<s;)a=a<<6|63&e[t++],i--;i>1?l[n++]=65533:a<65536?l[n++]=a:(a-=65536,l[n++]=55296|a>>10&1023,l[n++]=56320|1023&a)}return l.length!==n&&(l.subarray?l=l.subarray(0,n):l.length=n),r.applyFromCharCode(l)};n.utf8encode=function(e){return a.nodebuffer?i(e,"utf-8"):function(e){var t,n,r,i,o,s=e.length,l=0;for(i=0;i<s;i++)55296==(64512&(n=e.charCodeAt(i)))&&i+1<s&&56320==(64512&(r=e.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(r-56320),i++),l+=n<128?1:n<2048?2:n<65536?3:4;for(t=a.uint8array?new Uint8Array(l):new Array(l),o=0,i=0;o<l;i++)55296==(64512&(n=e.charCodeAt(i)))&&i+1<s&&56320==(64512&(r=e.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(r-56320),i++),n<128?t[o++]=n:n<2048?(t[o++]=192|n>>>6,t[o++]=128|63&n):n<65536?(t[o++]=224|n>>>12,t[o++]=128|n>>>6&63,t[o++]=128|63&n):(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63,t[o++]=128|n>>>6&63,t[o++]=128|63&n);return t}(e)},n.utf8decode=function(e){if(a.nodebuffer)return r.transformTo("nodebuffer",e).toString("utf-8");for(var t=[],n=0,i=(e=r.transformTo(a.uint8array?"uint8array":"array",e)).length;n<i;){var o=l(e,Math.min(n+65536,i));a.uint8array?t.push(c(e.subarray(n,o))):t.push(c(e.slice(n,o))),n=o}return t.join("")}},{"./nodeBuffer":11,"./support":17,"./utils":21}],21:[function(e,t,n){"use strict";var r=e("./support"),a=e("./compressions"),i=e("./nodeBuffer");function o(e){return e}function s(e,t){for(var n=0;n<e.length;++n)t[n]=255&e.charCodeAt(n);return t}function l(e){var t=65536,r=[],a=e.length,o=n.getTypeOf(e),s=0,l=!0;try{switch(o){case"uint8array":String.fromCharCode.apply(null,new Uint8Array(0));break;case"nodebuffer":String.fromCharCode.apply(null,i(0))}}catch(e){l=!1}if(!l){for(var c="",u=0;u<e.length;u++)c+=String.fromCharCode(e[u]);return c}for(;s<a&&t>1;)try{"array"===o||"nodebuffer"===o?r.push(String.fromCharCode.apply(null,e.slice(s,Math.min(s+t,a)))):r.push(String.fromCharCode.apply(null,e.subarray(s,Math.min(s+t,a)))),s+=t}catch(e){t=Math.floor(t/2)}return r.join("")}function c(e,t){for(var n=0;n<e.length;n++)t[n]=e[n];return t}n.string2binary=function(e){for(var t="",n=0;n<e.length;n++)t+=String.fromCharCode(255&e.charCodeAt(n));return t},n.arrayBuffer2Blob=function(e){n.checkSupport("blob");try{return new Blob([e],{type:"application/zip"})}catch(n){try{var t=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder);return t.append(e),t.getBlob("application/zip")}catch(e){throw new Error("Bug : can't construct the Blob.")}}},n.applyFromCharCode=l;var u={};u.string={string:o,array:function(e){return s(e,new Array(e.length))},arraybuffer:function(e){return u.string.uint8array(e).buffer},uint8array:function(e){return s(e,new Uint8Array(e.length))},nodebuffer:function(e){return s(e,i(e.length))}},u.array={string:l,array:o,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return i(e)}},u.arraybuffer={string:function(e){return l(new Uint8Array(e))},array:function(e){return c(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:o,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return i(new Uint8Array(e))}},u.uint8array={string:l,array:function(e){return c(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:o,nodebuffer:function(e){return i(e)}},u.nodebuffer={string:l,array:function(e){return c(e,new Array(e.length))},arraybuffer:function(e){return u.nodebuffer.uint8array(e).buffer},uint8array:function(e){return c(e,new Uint8Array(e.length))},nodebuffer:o},n.transformTo=function(e,t){if(t||(t=""),!e)return t;n.checkSupport(e);var r=n.getTypeOf(t);return u[r][e](t)},n.getTypeOf=function(e){return"string"==typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":r.nodebuffer&&i.test(e)?"nodebuffer":r.uint8array&&e instanceof Uint8Array?"uint8array":r.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},n.checkSupport=function(e){if(!r[e.toLowerCase()])throw new Error(e+" is not supported by this browser")},n.MAX_VALUE_16BITS=65535,n.MAX_VALUE_32BITS=-1,n.pretty=function(e){var t,n,r="";for(n=0;n<(e||"").length;n++)r+="\\x"+((t=e.charCodeAt(n))<16?"0":"")+t.toString(16).toUpperCase();return r},n.findCompression=function(e){for(var t in a)if(a.hasOwnProperty(t)&&a[t].magic===e)return a[t];return null},n.isRegExp=function(e){return"[object RegExp]"===Object.prototype.toString.call(e)}},{"./compressions":3,"./nodeBuffer":11,"./support":17}],22:[function(e,t,n){"use strict";var r=e("./stringReader"),a=e("./nodeBufferReader"),i=e("./uint8ArrayReader"),o=e("./utils"),s=e("./signature"),l=e("./zipEntry"),c=e("./support"),u=e("./object");function f(e,t){this.files=[],this.loadOptions=t,e&&this.load(e)}f.prototype={checkSignature:function(e){var t=this.reader.readString(4);if(t!==e)throw new Error("Corrupted zip or bug : unexpected signature ("+o.pretty(t)+", expected "+o.pretty(e)+")")},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2),this.zipComment=this.reader.readString(this.zipCommentLength),this.zipComment=u.utf8decode(this.zipComment)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.versionMadeBy=this.reader.readString(2),this.versionNeeded=this.reader.readInt(2),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var e,t,n,r=this.zip64EndOfCentralSize-44;0<r;)e=this.reader.readInt(2),t=this.reader.readInt(4),n=this.reader.readString(t),this.zip64ExtensibleData[e]={id:e,length:t,value:n}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(s.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readString(4)===s.CENTRAL_FILE_HEADER;)(e=new l({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(s.CENTRAL_DIRECTORY_END);if(-1===e)throw new Error("Corrupted zip : can't find end of central directory");if(this.reader.setIndex(e),this.checkSignature(s.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===o.MAX_VALUE_16BITS||this.diskWithCentralDirStart===o.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===o.MAX_VALUE_16BITS||this.centralDirRecords===o.MAX_VALUE_16BITS||this.centralDirSize===o.MAX_VALUE_32BITS||this.centralDirOffset===o.MAX_VALUE_32BITS){if(this.zip64=!0,-1===(e=this.reader.lastIndexOfSignature(s.ZIP64_CENTRAL_DIRECTORY_LOCATOR)))throw new Error("Corrupted zip : can't find the ZIP64 end of central directory locator");this.reader.setIndex(e),this.checkSignature(s.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(s.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}},prepareReader:function(e){var t=o.getTypeOf(e);"string"!==t||c.uint8array?this.reader="nodebuffer"===t?new a(e):new i(o.transformTo("uint8array",e)):this.reader=new r(e,this.loadOptions.optimizedBinaryString)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},t.exports=f},{"./nodeBufferReader":12,"./object":13,"./signature":14,"./stringReader":15,"./support":17,"./uint8ArrayReader":18,"./utils":21,"./zipEntry":23}],23:[function(e,t,n){"use strict";var r=e("./stringReader"),a=e("./utils"),i=e("./compressedObject"),o=e("./object");function s(e,t){this.options=e,this.loadOptions=t}s.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},prepareCompressedContent:function(e,t,n){return function(){var r=e.index;e.setIndex(t);var a=e.readData(n);return e.setIndex(r),a}},prepareContent:function(e,t,n,r,i){return function(){var e=a.transformTo(r.uncompressInputType,this.getCompressedContent()),t=r.uncompress(e);if(t.length!==i)throw new Error("Bug : uncompressed data size mismatch");return t}},readLocalPart:function(e){var t,n;if(e.skip(22),this.fileNameLength=e.readInt(2),n=e.readInt(2),this.fileName=e.readString(this.fileNameLength),e.skip(n),-1==this.compressedSize||-1==this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough informations from the central directory (compressedSize == -1 || uncompressedSize == -1)");if(null===(t=a.findCompression(this.compressionMethod)))throw new Error("Corrupted zip : compression "+a.pretty(this.compressionMethod)+" unknown (inner file : "+this.fileName+")");if(this.decompressed=new i,this.decompressed.compressedSize=this.compressedSize,this.decompressed.uncompressedSize=this.uncompressedSize,this.decompressed.crc32=this.crc32,this.decompressed.compressionMethod=this.compressionMethod,this.decompressed.getCompressedContent=this.prepareCompressedContent(e,e.index,this.compressedSize,t),this.decompressed.getContent=this.prepareContent(e,e.index,this.compressedSize,t,this.uncompressedSize),this.loadOptions.checkCRC32&&(this.decompressed=a.transformTo("string",this.decompressed.getContent()),o.crc32(this.decompressed)!==this.crc32))throw new Error("Corrupted zip : CRC32 mismatch")},readCentralPart:function(e){if(this.versionMadeBy=e.readString(2),this.versionNeeded=e.readInt(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4),this.fileNameLength=e.readInt(2),this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");this.fileName=e.readString(this.fileNameLength),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readString(this.fileCommentLength),this.dir=!!(16&this.externalFileAttributes)},parseZIP64ExtraField:function(e){if(this.extraFields[1]){var t=new r(this.extraFields[1].value);this.uncompressedSize===a.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===a.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===a.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===a.MAX_VALUE_32BITS&&(this.diskNumberStart=t.readInt(4))}},readExtraFields:function(e){var t,n,r,a=e.index;for(this.extraFields=this.extraFields||{};e.index<a+this.extraFieldsLength;)t=e.readInt(2),n=e.readInt(2),r=e.readString(n),this.extraFields[t]={id:t,length:n,value:r}},handleUTF8:function(){if(this.useUTF8())this.fileName=o.utf8decode(this.fileName),this.fileComment=o.utf8decode(this.fileComment);else{var e=this.findExtraFieldUnicodePath();null!==e&&(this.fileName=e);var t=this.findExtraFieldUnicodeComment();null!==t&&(this.fileComment=t)}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=new r(e.value);return 1!==t.readInt(1)?null:o.crc32(this.fileName)!==t.readInt(4)?null:o.utf8decode(t.readString(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=new r(e.value);return 1!==t.readInt(1)?null:o.crc32(this.fileComment)!==t.readInt(4)?null:o.utf8decode(t.readString(e.length-5))}return null}},t.exports=s},{"./compressedObject":2,"./object":13,"./stringReader":15,"./utils":21}],24:[function(e,t,n){"use strict";var r={};(0,e("./lib/utils/common").assign)(r,e("./lib/deflate"),e("./lib/inflate"),e("./lib/zlib/constants")),t.exports=r},{"./lib/deflate":25,"./lib/inflate":26,"./lib/utils/common":27,"./lib/zlib/constants":30}],25:[function(e,t,n){"use strict";var r=e("./zlib/deflate.js"),a=e("./utils/common"),i=e("./utils/strings"),o=e("./zlib/messages"),s=e("./zlib/zstream"),l=function(e){this.options=a.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var n=r.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(0!==n)throw new Error(o[n]);t.header&&r.deflateSetHeader(this.strm,t.header)};function c(e,t){var n=new l(t);if(n.push(e,!0),n.err)throw n.msg;return n.result}l.prototype.push=function(e,t){var n,o,s=this.strm,l=this.options.chunkSize;if(this.ended)return!1;o=t===~~t?t:!0===t?4:0,s.input="string"==typeof e?i.string2buf(e):e,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new a.Buf8(l),s.next_out=0,s.avail_out=l),1!==(n=r.deflate(s,o))&&0!==n)return this.onEnd(n),this.ended=!0,!1;(0===s.avail_out||0===s.avail_in&&4===o)&&("string"===this.options.to?this.onData(i.buf2binstring(a.shrinkBuf(s.output,s.next_out))):this.onData(a.shrinkBuf(s.output,s.next_out)))}while((s.avail_in>0||0===s.avail_out)&&1!==n);return 4!==o||(n=r.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,0===n)},l.prototype.onData=function(e){this.chunks.push(e)},l.prototype.onEnd=function(e){0===e&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=a.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Deflate=l,n.deflate=c,n.deflateRaw=function(e,t){return(t=t||{}).raw=!0,c(e,t)},n.gzip=function(e,t){return(t=t||{}).gzip=!0,c(e,t)}},{"./utils/common":27,"./utils/strings":28,"./zlib/deflate.js":32,"./zlib/messages":37,"./zlib/zstream":39}],26:[function(e,t,n){"use strict";var r=e("./zlib/inflate.js"),a=e("./utils/common"),i=e("./utils/strings"),o=e("./zlib/constants"),s=e("./zlib/messages"),l=e("./zlib/zstream"),c=e("./zlib/gzheader"),u=function(e){this.options=a.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var n=r.inflateInit2(this.strm,t.windowBits);if(n!==o.Z_OK)throw new Error(s[n]);this.header=new c,r.inflateGetHeader(this.strm,this.header)};function f(e,t){var n=new u(t);if(n.push(e,!0),n.err)throw n.msg;return n.result}u.prototype.push=function(e,t){var n,s,l,c,u,f=this.strm,h=this.options.chunkSize;if(this.ended)return!1;s=t===~~t?t:!0===t?o.Z_FINISH:o.Z_NO_FLUSH,f.input="string"==typeof e?i.binstring2buf(e):e,f.next_in=0,f.avail_in=f.input.length;do{if(0===f.avail_out&&(f.output=new a.Buf8(h),f.next_out=0,f.avail_out=h),(n=r.inflate(f,o.Z_NO_FLUSH))!==o.Z_STREAM_END&&n!==o.Z_OK)return this.onEnd(n),this.ended=!0,!1;f.next_out&&(0===f.avail_out||n===o.Z_STREAM_END||0===f.avail_in&&s===o.Z_FINISH)&&("string"===this.options.to?(l=i.utf8border(f.output,f.next_out),c=f.next_out-l,u=i.buf2string(f.output,l),f.next_out=c,f.avail_out=h-c,c&&a.arraySet(f.output,f.output,l,c,0),this.onData(u)):this.onData(a.shrinkBuf(f.output,f.next_out)))}while(f.avail_in>0&&n!==o.Z_STREAM_END);return n===o.Z_STREAM_END&&(s=o.Z_FINISH),s!==o.Z_FINISH||(n=r.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===o.Z_OK)},u.prototype.onData=function(e){this.chunks.push(e)},u.prototype.onEnd=function(e){e===o.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=a.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Inflate=u,n.inflate=f,n.inflateRaw=function(e,t){return(t=t||{}).raw=!0,f(e,t)},n.ungzip=f},{"./utils/common":27,"./utils/strings":28,"./zlib/constants":30,"./zlib/gzheader":33,"./zlib/inflate.js":35,"./zlib/messages":37,"./zlib/zstream":39}],27:[function(e,t,n){"use strict";var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;n.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(n){if("object"!=typeof n)throw new TypeError(n+"must be non-object");for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}}return e},n.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var a={arraySet:function(e,t,n,r,a){if(t.subarray&&e.subarray)e.set(t.subarray(n,n+r),a);else for(var i=0;i<r;i++)e[a+i]=t[n+i]},flattenChunks:function(e){var t,n,r,a,i,o;for(r=0,t=0,n=e.length;t<n;t++)r+=e[t].length;for(o=new Uint8Array(r),a=0,t=0,n=e.length;t<n;t++)i=e[t],o.set(i,a),a+=i.length;return o}},i={arraySet:function(e,t,n,r,a){for(var i=0;i<r;i++)e[a+i]=t[n+i]},flattenChunks:function(e){return[].concat.apply([],e)}};n.setTyped=function(e){e?(n.Buf8=Uint8Array,n.Buf16=Uint16Array,n.Buf32=Int32Array,n.assign(n,a)):(n.Buf8=Array,n.Buf16=Array,n.Buf32=Array,n.assign(n,i))},n.setTyped(r)},{}],28:[function(e,t,n){"use strict";var r=e("./common"),a=!0,i=!0;try{String.fromCharCode.apply(null,[0])}catch(e){a=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){i=!1}for(var o=new r.Buf8(256),s=0;s<256;s++)o[s]=s>=252?6:s>=248?5:s>=240?4:s>=224?3:s>=192?2:1;function l(e,t){if(t<65537&&(e.subarray&&i||!e.subarray&&a))return String.fromCharCode.apply(null,r.shrinkBuf(e,t));for(var n="",o=0;o<t;o++)n+=String.fromCharCode(e[o]);return n}o[254]=o[254]=1,n.string2buf=function(e){var t,n,a,i,o,s=e.length,l=0;for(i=0;i<s;i++)55296==(64512&(n=e.charCodeAt(i)))&&i+1<s&&56320==(64512&(a=e.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(a-56320),i++),l+=n<128?1:n<2048?2:n<65536?3:4;for(t=new r.Buf8(l),o=0,i=0;o<l;i++)55296==(64512&(n=e.charCodeAt(i)))&&i+1<s&&56320==(64512&(a=e.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(a-56320),i++),n<128?t[o++]=n:n<2048?(t[o++]=192|n>>>6,t[o++]=128|63&n):n<65536?(t[o++]=224|n>>>12,t[o++]=128|n>>>6&63,t[o++]=128|63&n):(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63,t[o++]=128|n>>>6&63,t[o++]=128|63&n);return t},n.buf2binstring=function(e){return l(e,e.length)},n.binstring2buf=function(e){for(var t=new r.Buf8(e.length),n=0,a=t.length;n<a;n++)t[n]=e.charCodeAt(n);return t},n.buf2string=function(e,t){var n,r,a,i,s=t||e.length,c=new Array(2*s);for(r=0,n=0;n<s;)if((a=e[n++])<128)c[r++]=a;else if((i=o[a])>4)c[r++]=65533,n+=i-1;else{for(a&=2===i?31:3===i?15:7;i>1&&n<s;)a=a<<6|63&e[n++],i--;i>1?c[r++]=65533:a<65536?c[r++]=a:(a-=65536,c[r++]=55296|a>>10&1023,c[r++]=56320|1023&a)}return l(c,r)},n.utf8border=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;n>=0&&128==(192&e[n]);)n--;return n<0?t:0===n?t:n+o[e[n]]>t?n:t}},{"./common":27}],29:[function(e,t,n){"use strict";t.exports=function(e,t,n,r){for(var a=65535&e|0,i=e>>>16&65535|0,o=0;0!==n;){n-=o=n>2e3?2e3:n;do{i=i+(a=a+t[r++]|0)|0}while(--o);a%=65521,i%=65521}return a|i<<16|0}},{}],30:[function(e,t,n){t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],31:[function(e,t,n){"use strict";var r=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t,n,a){var i=r,o=a+n;e^=-1;for(var s=a;s<o;s++)e=e>>>8^i[255&(e^t[s])];return-1^e}},{}],32:[function(e,t,n){"use strict";var r=e("../utils/common"),a=e("./trees"),i=e("./adler32"),o=e("./crc32"),s=e("./messages"),l=0,c=1,u=3,f=4,h=5,d=0,p=1,g=-2,m=-3,v=-5,b=-1,y=1,w=2,S=3,x=4,E=0,_=2,k=8,A=9,C=15,T=8,R=286,N=30,B=19,I=2*R+1,L=15,O=3,P=258,F=P+O+1,D=32,M=42,j=69,W=73,U=91,z=103,H=113,V=666,q=1,G=2,X=3,$=4,Y=3;function K(e,t){return e.msg=s[t],t}function J(e){return(e<<1)-(e>4?9:0)}function Z(e){for(var t=e.length;--t>=0;)e[t]=0}function Q(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(r.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))}function ee(e,t){a._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,Q(e.strm)}function te(e,t){e.pending_buf[e.pending++]=t}function ne(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function re(e,t,n,a){var s=e.avail_in;return s>a&&(s=a),0===s?0:(e.avail_in-=s,r.arraySet(t,e.input,e.next_in,s,n),1===e.state.wrap?e.adler=i(e.adler,t,s,n):2===e.state.wrap&&(e.adler=o(e.adler,t,s,n)),e.next_in+=s,e.total_in+=s,s)}function ae(e,t){var n,r,a=e.max_chain_length,i=e.strstart,o=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-F?e.strstart-(e.w_size-F):0,c=e.window,u=e.w_mask,f=e.prev,h=e.strstart+P,d=c[i+o-1],p=c[i+o];e.prev_length>=e.good_match&&(a>>=2),s>e.lookahead&&(s=e.lookahead);do{if(c[(n=t)+o]===p&&c[n+o-1]===d&&c[n]===c[i]&&c[++n]===c[i+1]){i+=2,n++;do{}while(c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&i<h);if(r=P-(h-i),i=h-P,r>o){if(e.match_start=t,o=r,r>=s)break;d=c[i+o-1],p=c[i+o]}}}while((t=f[t&u])>l&&0!=--a);return o<=e.lookahead?o:e.lookahead}function ie(e){var t,n,a,i,o,s=e.w_size;do{if(i=e.window_size-e.lookahead-e.strstart,e.strstart>=s+(s-F)){r.arraySet(e.window,e.window,s,s,0),e.match_start-=s,e.strstart-=s,e.block_start-=s,t=n=e.hash_size;do{a=e.head[--t],e.head[t]=a>=s?a-s:0}while(--n);t=n=s;do{a=e.prev[--t],e.prev[t]=a>=s?a-s:0}while(--n);i+=s}if(0===e.strm.avail_in)break;if(n=re(e.strm,e.window,e.strstart+e.lookahead,i),e.lookahead+=n,e.lookahead+e.insert>=O)for(o=e.strstart-e.insert,e.ins_h=e.window[o],e.ins_h=(e.ins_h<<e.hash_shift^e.window[o+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[o+O-1])&e.hash_mask,e.prev[o&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=o,o++,e.insert--,!(e.lookahead+e.insert<O)););}while(e.lookahead<F&&0!==e.strm.avail_in)}function oe(e,t){for(var n,r;;){if(e.lookahead<F){if(ie(e),e.lookahead<F&&t===l)return q;if(0===e.lookahead)break}if(n=0,e.lookahead>=O&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+O-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==n&&e.strstart-n<=e.w_size-F&&(e.match_length=ae(e,n)),e.match_length>=O)if(r=a._tr_tally(e,e.strstart-e.match_start,e.match_length-O),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=O){e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+O-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!=--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else r=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(ee(e,!1),0===e.strm.avail_out))return q}return e.insert=e.strstart<O-1?e.strstart:O-1,t===f?(ee(e,!0),0===e.strm.avail_out?X:$):e.last_lit&&(ee(e,!1),0===e.strm.avail_out)?q:G}function se(e,t){for(var n,r,i;;){if(e.lookahead<F){if(ie(e),e.lookahead<F&&t===l)return q;if(0===e.lookahead)break}if(n=0,e.lookahead>=O&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+O-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=O-1,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-F&&(e.match_length=ae(e,n),e.match_length<=5&&(e.strategy===y||e.match_length===O&&e.strstart-e.match_start>4096)&&(e.match_length=O-1)),e.prev_length>=O&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-O,r=a._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-O),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+O-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!=--e.prev_length);if(e.match_available=0,e.match_length=O-1,e.strstart++,r&&(ee(e,!1),0===e.strm.avail_out))return q}else if(e.match_available){if((r=a._tr_tally(e,0,e.window[e.strstart-1]))&&ee(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return q}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=a._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<O-1?e.strstart:O-1,t===f?(ee(e,!0),0===e.strm.avail_out?X:$):e.last_lit&&(ee(e,!1),0===e.strm.avail_out)?q:G}var le,ce=function(e,t,n,r,a){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=a};function ue(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=k,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new r.Buf16(2*I),this.dyn_dtree=new r.Buf16(2*(2*N+1)),this.bl_tree=new r.Buf16(2*(2*B+1)),Z(this.dyn_ltree),Z(this.dyn_dtree),Z(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new r.Buf16(L+1),this.heap=new r.Buf16(2*R+1),Z(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new r.Buf16(2*R+1),Z(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function fe(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=_,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?M:H,e.adler=2===t.wrap?0:1,t.last_flush=l,a._tr_init(t),d):K(e,g)}function he(e){var t=fe(e);return t===d&&function(e){e.window_size=2*e.w_size,Z(e.head),e.max_lazy_match=le[e.level].max_lazy,e.good_match=le[e.level].good_length,e.nice_match=le[e.level].nice_length,e.max_chain_length=le[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=O-1,e.match_available=0,e.ins_h=0}(e.state),t}function de(e,t,n,a,i,o){if(!e)return g;var s=1;if(t===b&&(t=6),a<0?(s=0,a=-a):a>15&&(s=2,a-=16),i<1||i>A||n!==k||a<8||a>15||t<0||t>9||o<0||o>x)return K(e,g);8===a&&(a=9);var l=new ue;return e.state=l,l.strm=e,l.wrap=s,l.gzhead=null,l.w_bits=a,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=i+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+O-1)/O),l.window=new r.Buf8(2*l.w_size),l.head=new r.Buf16(l.hash_size),l.prev=new r.Buf16(l.w_size),l.lit_bufsize=1<<i+6,l.pending_buf_size=4*l.lit_bufsize,l.pending_buf=new r.Buf8(l.pending_buf_size),l.d_buf=l.lit_bufsize>>1,l.l_buf=3*l.lit_bufsize,l.level=t,l.strategy=o,l.method=n,he(e)}le=[new ce(0,0,0,0,function(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(ie(e),0===e.lookahead&&t===l)return q;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((0===e.strstart||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,ee(e,!1),0===e.strm.avail_out))return q;if(e.strstart-e.block_start>=e.w_size-F&&(ee(e,!1),0===e.strm.avail_out))return q}return e.insert=0,t===f?(ee(e,!0),0===e.strm.avail_out?X:$):(e.strstart>e.block_start&&(ee(e,!1),e.strm.avail_out),q)}),new ce(4,4,8,4,oe),new ce(4,5,16,8,oe),new ce(4,6,32,32,oe),new ce(4,4,16,16,se),new ce(8,16,32,32,se),new ce(8,16,128,128,se),new ce(8,32,128,256,se),new ce(32,128,258,1024,se),new ce(32,258,258,4096,se)],n.deflateInit=function(e,t){return de(e,t,k,C,T,E)},n.deflateInit2=de,n.deflateReset=he,n.deflateResetKeep=fe,n.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?g:(e.state.gzhead=t,d):g},n.deflate=function(e,t){var n,r,i,s;if(!e||!e.state||t>h||t<0)return e?K(e,g):g;if(r=e.state,!e.output||!e.input&&0!==e.avail_in||r.status===V&&t!==f)return K(e,0===e.avail_out?v:g);if(r.strm=e,n=r.last_flush,r.last_flush=t,r.status===M)if(2===r.wrap)e.adler=0,te(r,31),te(r,139),te(r,8),r.gzhead?(te(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),te(r,255&r.gzhead.time),te(r,r.gzhead.time>>8&255),te(r,r.gzhead.time>>16&255),te(r,r.gzhead.time>>24&255),te(r,9===r.level?2:r.strategy>=w||r.level<2?4:0),te(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(te(r,255&r.gzhead.extra.length),te(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(e.adler=o(e.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=j):(te(r,0),te(r,0),te(r,0),te(r,0),te(r,0),te(r,9===r.level?2:r.strategy>=w||r.level<2?4:0),te(r,Y),r.status=H);else{var m=k+(r.w_bits-8<<4)<<8;m|=(r.strategy>=w||r.level<2?0:r.level<6?1:6===r.level?2:3)<<6,0!==r.strstart&&(m|=D),m+=31-m%31,r.status=H,ne(r,m),0!==r.strstart&&(ne(r,e.adler>>>16),ne(r,65535&e.adler)),e.adler=1}if(r.status===j)if(r.gzhead.extra){for(i=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>i&&(e.adler=o(e.adler,r.pending_buf,r.pending-i,i)),Q(e),i=r.pending,r.pending!==r.pending_buf_size));)te(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>i&&(e.adler=o(e.adler,r.pending_buf,r.pending-i,i)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=W)}else r.status=W;if(r.status===W)if(r.gzhead.name){i=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>i&&(e.adler=o(e.adler,r.pending_buf,r.pending-i,i)),Q(e),i=r.pending,r.pending===r.pending_buf_size)){s=1;break}s=r.gzindex<r.gzhead.name.length?255&r.gzhead.name.charCodeAt(r.gzindex++):0,te(r,s)}while(0!==s);r.gzhead.hcrc&&r.pending>i&&(e.adler=o(e.adler,r.pending_buf,r.pending-i,i)),0===s&&(r.gzindex=0,r.status=U)}else r.status=U;if(r.status===U)if(r.gzhead.comment){i=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>i&&(e.adler=o(e.adler,r.pending_buf,r.pending-i,i)),Q(e),i=r.pending,r.pending===r.pending_buf_size)){s=1;break}s=r.gzindex<r.gzhead.comment.length?255&r.gzhead.comment.charCodeAt(r.gzindex++):0,te(r,s)}while(0!==s);r.gzhead.hcrc&&r.pending>i&&(e.adler=o(e.adler,r.pending_buf,r.pending-i,i)),0===s&&(r.status=z)}else r.status=z;if(r.status===z&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&Q(e),r.pending+2<=r.pending_buf_size&&(te(r,255&e.adler),te(r,e.adler>>8&255),e.adler=0,r.status=H)):r.status=H),0!==r.pending){if(Q(e),0===e.avail_out)return r.last_flush=-1,d}else if(0===e.avail_in&&J(t)<=J(n)&&t!==f)return K(e,v);if(r.status===V&&0!==e.avail_in)return K(e,v);if(0!==e.avail_in||0!==r.lookahead||t!==l&&r.status!==V){var b=r.strategy===w?function(e,t){for(var n;;){if(0===e.lookahead&&(ie(e),0===e.lookahead)){if(t===l)return q;break}if(e.match_length=0,n=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(ee(e,!1),0===e.strm.avail_out))return q}return e.insert=0,t===f?(ee(e,!0),0===e.strm.avail_out?X:$):e.last_lit&&(ee(e,!1),0===e.strm.avail_out)?q:G}(r,t):r.strategy===S?function(e,t){for(var n,r,i,o,s=e.window;;){if(e.lookahead<=P){if(ie(e),e.lookahead<=P&&t===l)return q;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=O&&e.strstart>0&&(r=s[i=e.strstart-1])===s[++i]&&r===s[++i]&&r===s[++i]){o=e.strstart+P;do{}while(r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&i<o);e.match_length=P-(o-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=O?(n=a._tr_tally(e,1,e.match_length-O),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(ee(e,!1),0===e.strm.avail_out))return q}return e.insert=0,t===f?(ee(e,!0),0===e.strm.avail_out?X:$):e.last_lit&&(ee(e,!1),0===e.strm.avail_out)?q:G}(r,t):le[r.level].func(r,t);if(b!==X&&b!==$||(r.status=V),b===q||b===X)return 0===e.avail_out&&(r.last_flush=-1),d;if(b===G&&(t===c?a._tr_align(r):t!==h&&(a._tr_stored_block(r,0,0,!1),t===u&&(Z(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),Q(e),0===e.avail_out))return r.last_flush=-1,d}return t!==f?d:r.wrap<=0?p:(2===r.wrap?(te(r,255&e.adler),te(r,e.adler>>8&255),te(r,e.adler>>16&255),te(r,e.adler>>24&255),te(r,255&e.total_in),te(r,e.total_in>>8&255),te(r,e.total_in>>16&255),te(r,e.total_in>>24&255)):(ne(r,e.adler>>>16),ne(r,65535&e.adler)),Q(e),r.wrap>0&&(r.wrap=-r.wrap),0!==r.pending?d:p)},n.deflateEnd=function(e){var t;return e&&e.state?(t=e.state.status)!==M&&t!==j&&t!==W&&t!==U&&t!==z&&t!==H&&t!==V?K(e,g):(e.state=null,t===H?K(e,m):d):g},n.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":27,"./adler32":29,"./crc32":31,"./messages":37,"./trees":38}],33:[function(e,t,n){"use strict";t.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],34:[function(e,t,n){"use strict";t.exports=function(e,t){var n,r,a,i,o,s,l,c,u,f,h,d,p,g,m,v,b,y,w,S,x,E,_,k,A;n=e.state,r=e.next_in,k=e.input,a=r+(e.avail_in-5),i=e.next_out,A=e.output,o=i-(t-e.avail_out),s=i+(e.avail_out-257),l=n.dmax,c=n.wsize,u=n.whave,f=n.wnext,h=n.window,d=n.hold,p=n.bits,g=n.lencode,m=n.distcode,v=(1<<n.lenbits)-1,b=(1<<n.distbits)-1;e:do{p<15&&(d+=k[r++]<<p,p+=8,d+=k[r++]<<p,p+=8),y=g[d&v];t:for(;;){if(d>>>=w=y>>>24,p-=w,0===(w=y>>>16&255))A[i++]=65535&y;else{if(!(16&w)){if(0==(64&w)){y=g[(65535&y)+(d&(1<<w)-1)];continue t}if(32&w){n.mode=12;break e}e.msg="invalid literal/length code",n.mode=30;break e}S=65535&y,(w&=15)&&(p<w&&(d+=k[r++]<<p,p+=8),S+=d&(1<<w)-1,d>>>=w,p-=w),p<15&&(d+=k[r++]<<p,p+=8,d+=k[r++]<<p,p+=8),y=m[d&b];n:for(;;){if(d>>>=w=y>>>24,p-=w,!(16&(w=y>>>16&255))){if(0==(64&w)){y=m[(65535&y)+(d&(1<<w)-1)];continue n}e.msg="invalid distance code",n.mode=30;break e}if(x=65535&y,p<(w&=15)&&(d+=k[r++]<<p,(p+=8)<w&&(d+=k[r++]<<p,p+=8)),(x+=d&(1<<w)-1)>l){e.msg="invalid distance too far back",n.mode=30;break e}if(d>>>=w,p-=w,x>(w=i-o)){if((w=x-w)>u&&n.sane){e.msg="invalid distance too far back",n.mode=30;break e}if(E=0,_=h,0===f){if(E+=c-w,w<S){S-=w;do{A[i++]=h[E++]}while(--w);E=i-x,_=A}}else if(f<w){if(E+=c+f-w,(w-=f)<S){S-=w;do{A[i++]=h[E++]}while(--w);if(E=0,f<S){S-=w=f;do{A[i++]=h[E++]}while(--w);E=i-x,_=A}}}else if(E+=f-w,w<S){S-=w;do{A[i++]=h[E++]}while(--w);E=i-x,_=A}for(;S>2;)A[i++]=_[E++],A[i++]=_[E++],A[i++]=_[E++],S-=3;S&&(A[i++]=_[E++],S>1&&(A[i++]=_[E++]))}else{E=i-x;do{A[i++]=A[E++],A[i++]=A[E++],A[i++]=A[E++],S-=3}while(S>2);S&&(A[i++]=A[E++],S>1&&(A[i++]=A[E++]))}break}}break}}while(r<a&&i<s);r-=S=p>>3,d&=(1<<(p-=S<<3))-1,e.next_in=r,e.next_out=i,e.avail_in=r<a?a-r+5:5-(r-a),e.avail_out=i<s?s-i+257:257-(i-s),n.hold=d,n.bits=p}},{}],35:[function(e,t,n){"use strict";var r=e("../utils/common"),a=e("./adler32"),i=e("./crc32"),o=e("./inffast"),s=e("./inftrees"),l=0,c=1,u=2,f=4,h=5,d=6,p=0,g=1,m=2,v=-2,b=-3,y=-4,w=-5,S=8,x=1,E=2,_=3,k=4,A=5,C=6,T=7,R=8,N=9,B=10,I=11,L=12,O=13,P=14,F=15,D=16,M=17,j=18,W=19,U=20,z=21,H=22,V=23,q=24,G=25,X=26,$=27,Y=28,K=29,J=30,Z=31,Q=32,ee=852,te=592,ne=15;function re(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function ae(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new r.Buf16(320),this.work=new r.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function ie(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=x,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new r.Buf32(ee),t.distcode=t.distdyn=new r.Buf32(te),t.sane=1,t.back=-1,p):v}function oe(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,ie(e)):v}function se(e,t){var n,r;return e&&e.state?(r=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?v:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,oe(e))):v}function le(e,t){var n,r;return e?(r=new ae,e.state=r,r.window=null,(n=se(e,t))!==p&&(e.state=null),n):v}var ce,ue,fe=!0;function he(e){if(fe){var t;for(ce=new r.Buf32(512),ue=new r.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(s(c,e.lens,0,288,ce,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;s(u,e.lens,0,32,ue,0,e.work,{bits:5}),fe=!1}e.lencode=ce,e.lenbits=9,e.distcode=ue,e.distbits=5}n.inflateReset=oe,n.inflateReset2=se,n.inflateResetKeep=ie,n.inflateInit=function(e){return le(e,ne)},n.inflateInit2=le,n.inflate=function(e,t){var n,ee,te,ne,ae,ie,oe,se,le,ce,ue,fe,de,pe,ge,me,ve,be,ye,we,Se,xe,Ee,_e,ke=0,Ae=new r.Buf8(4),Ce=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return v;(n=e.state).mode===L&&(n.mode=O),ae=e.next_out,te=e.output,oe=e.avail_out,ne=e.next_in,ee=e.input,ie=e.avail_in,se=n.hold,le=n.bits,ce=ie,ue=oe,xe=p;e:for(;;)switch(n.mode){case x:if(0===n.wrap){n.mode=O;break}for(;le<16;){if(0===ie)break e;ie--,se+=ee[ne++]<<le,le+=8}if(2&n.wrap&&35615===se){n.check=0,Ae[0]=255&se,Ae[1]=se>>>8&255,n.check=i(n.check,Ae,2,0),se=0,le=0,n.mode=E;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&se)<<8)+(se>>8))%31){e.msg="incorrect header check",n.mode=J;break}if((15&se)!==S){e.msg="unknown compression method",n.mode=J;break}if(le-=4,Se=8+(15&(se>>>=4)),0===n.wbits)n.wbits=Se;else if(Se>n.wbits){e.msg="invalid window size",n.mode=J;break}n.dmax=1<<Se,e.adler=n.check=1,n.mode=512&se?B:L,se=0,le=0;break;case E:for(;le<16;){if(0===ie)break e;ie--,se+=ee[ne++]<<le,le+=8}if(n.flags=se,(255&n.flags)!==S){e.msg="unknown compression method",n.mode=J;break}if(57344&n.flags){e.msg="unknown header flags set",n.mode=J;break}n.head&&(n.head.text=se>>8&1),512&n.flags&&(Ae[0]=255&se,Ae[1]=se>>>8&255,n.check=i(n.check,Ae,2,0)),se=0,le=0,n.mode=_;case _:for(;le<32;){if(0===ie)break e;ie--,se+=ee[ne++]<<le,le+=8}n.head&&(n.head.time=se),512&n.flags&&(Ae[0]=255&se,Ae[1]=se>>>8&255,Ae[2]=se>>>16&255,Ae[3]=se>>>24&255,n.check=i(n.check,Ae,4,0)),se=0,le=0,n.mode=k;case k:for(;le<16;){if(0===ie)break e;ie--,se+=ee[ne++]<<le,le+=8}n.head&&(n.head.xflags=255&se,n.head.os=se>>8),512&n.flags&&(Ae[0]=255&se,Ae[1]=se>>>8&255,n.check=i(n.check,Ae,2,0)),se=0,le=0,n.mode=A;case A:if(1024&n.flags){for(;le<16;){if(0===ie)break e;ie--,se+=ee[ne++]<<le,le+=8}n.length=se,n.head&&(n.head.extra_len=se),512&n.flags&&(Ae[0]=255&se,Ae[1]=se>>>8&255,n.check=i(n.check,Ae,2,0)),se=0,le=0}else n.head&&(n.head.extra=null);n.mode=C;case C:if(1024&n.flags&&((fe=n.length)>ie&&(fe=ie),fe&&(n.head&&(Se=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),r.arraySet(n.head.extra,ee,ne,fe,Se)),512&n.flags&&(n.check=i(n.check,ee,fe,ne)),ie-=fe,ne+=fe,n.length-=fe),n.length))break e;n.length=0,n.mode=T;case T:if(2048&n.flags){if(0===ie)break e;fe=0;do{Se=ee[ne+fe++],n.head&&Se&&n.length<65536&&(n.head.name+=String.fromCharCode(Se))}while(Se&&fe<ie);if(512&n.flags&&(n.check=i(n.check,ee,fe,ne)),ie-=fe,ne+=fe,Se)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=R;case R:if(4096&n.flags){if(0===ie)break e;fe=0;do{Se=ee[ne+fe++],n.head&&Se&&n.length<65536&&(n.head.comment+=String.fromCharCode(Se))}while(Se&&fe<ie);if(512&n.flags&&(n.check=i(n.check,ee,fe,ne)),ie-=fe,ne+=fe,Se)break e}else n.head&&(n.head.comment=null);n.mode=N;case N:if(512&n.flags){for(;le<16;){if(0===ie)break e;ie--,se+=ee[ne++]<<le,le+=8}if(se!==(65535&n.check)){e.msg="header crc mismatch",n.mode=J;break}se=0,le=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=L;break;case B:for(;le<32;){if(0===ie)break e;ie--,se+=ee[ne++]<<le,le+=8}e.adler=n.check=re(se),se=0,le=0,n.mode=I;case I:if(0===n.havedict)return e.next_out=ae,e.avail_out=oe,e.next_in=ne,e.avail_in=ie,n.hold=se,n.bits=le,m;e.adler=n.check=1,n.mode=L;case L:if(t===h||t===d)break e;case O:if(n.last){se>>>=7&le,le-=7&le,n.mode=$;break}for(;le<3;){if(0===ie)break e;ie--,se+=ee[ne++]<<le,le+=8}switch(n.last=1&se,le-=1,3&(se>>>=1)){case 0:n.mode=P;break;case 1:if(he(n),n.mode=U,t===d){se>>>=2,le-=2;break e}break;case 2:n.mode=M;break;case 3:e.msg="invalid block type",n.mode=J}se>>>=2,le-=2;break;case P:for(se>>>=7&le,le-=7≤le<32;){if(0===ie)break e;ie--,se+=ee[ne++]<<le,le+=8}if((65535&se)!=(se>>>16^65535)){e.msg="invalid stored block lengths",n.mode=J;break}if(n.length=65535&se,se=0,le=0,n.mode=F,t===d)break e;case F:n.mode=D;case D:if(fe=n.length){if(fe>ie&&(fe=ie),fe>oe&&(fe=oe),0===fe)break e;r.arraySet(te,ee,ne,fe,ae),ie-=fe,ne+=fe,oe-=fe,ae+=fe,n.length-=fe;break}n.mode=L;break;case M:for(;le<14;){if(0===ie)break e;ie--,se+=ee[ne++]<<le,le+=8}if(n.nlen=257+(31&se),se>>>=5,le-=5,n.ndist=1+(31&se),se>>>=5,le-=5,n.ncode=4+(15&se),se>>>=4,le-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=J;break}n.have=0,n.mode=j;case j:for(;n.have<n.ncode;){for(;le<3;){if(0===ie)break e;ie--,se+=ee[ne++]<<le,le+=8}n.lens[Ce[n.have++]]=7&se,se>>>=3,le-=3}for(;n.have<19;)n.lens[Ce[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,Ee={bits:n.lenbits},xe=s(l,n.lens,0,19,n.lencode,0,n.work,Ee),n.lenbits=Ee.bits,xe){e.msg="invalid code lengths set",n.mode=J;break}n.have=0,n.mode=W;case W:for(;n.have<n.nlen+n.ndist;){for(;me=(ke=n.lencode[se&(1<<n.lenbits)-1])>>>16&255,ve=65535&ke,!((ge=ke>>>24)<=le);){if(0===ie)break e;ie--,se+=ee[ne++]<<le,le+=8}if(ve<16)se>>>=ge,le-=ge,n.lens[n.have++]=ve;else{if(16===ve){for(_e=ge+2;le<_e;){if(0===ie)break e;ie--,se+=ee[ne++]<<le,le+=8}if(se>>>=ge,le-=ge,0===n.have){e.msg="invalid bit length repeat",n.mode=J;break}Se=n.lens[n.have-1],fe=3+(3&se),se>>>=2,le-=2}else if(17===ve){for(_e=ge+3;le<_e;){if(0===ie)break e;ie--,se+=ee[ne++]<<le,le+=8}le-=ge,Se=0,fe=3+(7&(se>>>=ge)),se>>>=3,le-=3}else{for(_e=ge+7;le<_e;){if(0===ie)break e;ie--,se+=ee[ne++]<<le,le+=8}le-=ge,Se=0,fe=11+(127&(se>>>=ge)),se>>>=7,le-=7}if(n.have+fe>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=J;break}for(;fe--;)n.lens[n.have++]=Se}}if(n.mode===J)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=J;break}if(n.lenbits=9,Ee={bits:n.lenbits},xe=s(c,n.lens,0,n.nlen,n.lencode,0,n.work,Ee),n.lenbits=Ee.bits,xe){e.msg="invalid literal/lengths set",n.mode=J;break}if(n.distbits=6,n.distcode=n.distdyn,Ee={bits:n.distbits},xe=s(u,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,Ee),n.distbits=Ee.bits,xe){e.msg="invalid distances set",n.mode=J;break}if(n.mode=U,t===d)break e;case U:n.mode=z;case z:if(ie>=6&&oe>=258){e.next_out=ae,e.avail_out=oe,e.next_in=ne,e.avail_in=ie,n.hold=se,n.bits=le,o(e,ue),ae=e.next_out,te=e.output,oe=e.avail_out,ne=e.next_in,ee=e.input,ie=e.avail_in,se=n.hold,le=n.bits,n.mode===L&&(n.back=-1);break}for(n.back=0;me=(ke=n.lencode[se&(1<<n.lenbits)-1])>>>16&255,ve=65535&ke,!((ge=ke>>>24)<=le);){if(0===ie)break e;ie--,se+=ee[ne++]<<le,le+=8}if(me&&0==(240&me)){for(be=ge,ye=me,we=ve;me=(ke=n.lencode[we+((se&(1<<be+ye)-1)>>be)])>>>16&255,ve=65535&ke,!(be+(ge=ke>>>24)<=le);){if(0===ie)break e;ie--,se+=ee[ne++]<<le,le+=8}se>>>=be,le-=be,n.back+=be}if(se>>>=ge,le-=ge,n.back+=ge,n.length=ve,0===me){n.mode=X;break}if(32&me){n.back=-1,n.mode=L;break}if(64&me){e.msg="invalid literal/length code",n.mode=J;break}n.extra=15&me,n.mode=H;case H:if(n.extra){for(_e=n.extra;le<_e;){if(0===ie)break e;ie--,se+=ee[ne++]<<le,le+=8}n.length+=se&(1<<n.extra)-1,se>>>=n.extra,le-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=V;case V:for(;me=(ke=n.distcode[se&(1<<n.distbits)-1])>>>16&255,ve=65535&ke,!((ge=ke>>>24)<=le);){if(0===ie)break e;ie--,se+=ee[ne++]<<le,le+=8}if(0==(240&me)){for(be=ge,ye=me,we=ve;me=(ke=n.distcode[we+((se&(1<<be+ye)-1)>>be)])>>>16&255,ve=65535&ke,!(be+(ge=ke>>>24)<=le);){if(0===ie)break e;ie--,se+=ee[ne++]<<le,le+=8}se>>>=be,le-=be,n.back+=be}if(se>>>=ge,le-=ge,n.back+=ge,64&me){e.msg="invalid distance code",n.mode=J;break}n.offset=ve,n.extra=15&me,n.mode=q;case q:if(n.extra){for(_e=n.extra;le<_e;){if(0===ie)break e;ie--,se+=ee[ne++]<<le,le+=8}n.offset+=se&(1<<n.extra)-1,se>>>=n.extra,le-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=J;break}n.mode=G;case G:if(0===oe)break e;if(fe=ue-oe,n.offset>fe){if((fe=n.offset-fe)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=J;break}fe>n.wnext?(fe-=n.wnext,de=n.wsize-fe):de=n.wnext-fe,fe>n.length&&(fe=n.length),pe=n.window}else pe=te,de=ae-n.offset,fe=n.length;fe>oe&&(fe=oe),oe-=fe,n.length-=fe;do{te[ae++]=pe[de++]}while(--fe);0===n.length&&(n.mode=z);break;case X:if(0===oe)break e;te[ae++]=n.length,oe--,n.mode=z;break;case $:if(n.wrap){for(;le<32;){if(0===ie)break e;ie--,se|=ee[ne++]<<le,le+=8}if(ue-=oe,e.total_out+=ue,n.total+=ue,ue&&(e.adler=n.check=n.flags?i(n.check,te,ue,ae-ue):a(n.check,te,ue,ae-ue)),ue=oe,(n.flags?se:re(se))!==n.check){e.msg="incorrect data check",n.mode=J;break}se=0,le=0}n.mode=Y;case Y:if(n.wrap&&n.flags){for(;le<32;){if(0===ie)break e;ie--,se+=ee[ne++]<<le,le+=8}if(se!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=J;break}se=0,le=0}n.mode=K;case K:xe=g;break e;case J:xe=b;break e;case Z:return y;case Q:default:return v}return e.next_out=ae,e.avail_out=oe,e.next_in=ne,e.avail_in=ie,n.hold=se,n.bits=le,(n.wsize||ue!==e.avail_out&&n.mode<J&&(n.mode<$||t!==f))&&function(e,t,n,a){var i,o=e.state;return null===o.window&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new r.Buf8(o.wsize)),a>=o.wsize?(r.arraySet(o.window,t,n-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):((i=o.wsize-o.wnext)>a&&(i=a),r.arraySet(o.window,t,n-a,i,o.wnext),(a-=i)?(r.arraySet(o.window,t,n-a,a,0),o.wnext=a,o.whave=o.wsize):(o.wnext+=i,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=i))),0}(e,e.output,e.next_out,ue-e.avail_out)?(n.mode=Z,y):(ce-=e.avail_in,ue-=e.avail_out,e.total_in+=ce,e.total_out+=ue,n.total+=ue,n.wrap&&ue&&(e.adler=n.check=n.flags?i(n.check,te,ue,e.next_out-ue):a(n.check,te,ue,e.next_out-ue)),e.data_type=n.bits+(n.last?64:0)+(n.mode===L?128:0)+(n.mode===U||n.mode===F?256:0),(0===ce&&0===ue||t===f)&&xe===p&&(xe=w),xe)},n.inflateEnd=function(e){if(!e||!e.state)return v;var t=e.state;return t.window&&(t.window=null),e.state=null,p},n.inflateGetHeader=function(e,t){var n;return e&&e.state?0==(2&(n=e.state).wrap)?v:(n.head=t,t.done=!1,p):v},n.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":27,"./adler32":29,"./crc32":31,"./inffast":34,"./inftrees":36}],36:[function(e,t,n){"use strict";var r=e("../utils/common"),a=15,i=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],o=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],s=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],l=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(e,t,n,c,u,f,h,d){var p,g,m,v,b,y,w,S,x,E=d.bits,_=0,k=0,A=0,C=0,T=0,R=0,N=0,B=0,I=0,L=0,O=null,P=0,F=new r.Buf16(16),D=new r.Buf16(16),M=null,j=0;for(_=0;_<=a;_++)F[_]=0;for(k=0;k<c;k++)F[t[n+k]]++;for(T=E,C=a;C>=1&&0===F[C];C--);if(T>C&&(T=C),0===C)return u[f++]=20971520,u[f++]=20971520,d.bits=1,0;for(A=1;A<C&&0===F[A];A++);for(T<A&&(T=A),B=1,_=1;_<=a;_++)if(B<<=1,(B-=F[_])<0)return-1;if(B>0&&(0===e||1!==C))return-1;for(D[1]=0,_=1;_<a;_++)D[_+1]=D[_]+F[_];for(k=0;k<c;k++)0!==t[n+k]&&(h[D[t[n+k]]++]=k);if(0===e?(O=M=h,y=19):1===e?(O=i,P-=257,M=o,j-=257,y=256):(O=s,M=l,y=-1),L=0,k=0,_=A,b=f,R=T,N=0,m=-1,v=(I=1<<T)-1,1===e&&I>852||2===e&&I>592)return 1;for(;;){0,w=_-N,h[k]<y?(S=0,x=h[k]):h[k]>y?(S=M[j+h[k]],x=O[P+h[k]]):(S=96,x=0),p=1<<_-N,A=g=1<<R;do{u[b+(L>>N)+(g-=p)]=w<<24|S<<16|x|0}while(0!==g);for(p=1<<_-1;L&p;)p>>=1;if(0!==p?(L&=p-1,L+=p):L=0,k++,0==--F[_]){if(_===C)break;_=t[n+h[k]]}if(_>T&&(L&v)!==m){for(0===N&&(N=T),b+=A,B=1<<(R=_-N);R+N<C&&!((B-=F[R+N])<=0);)R++,B<<=1;if(I+=1<<R,1===e&&I>852||2===e&&I>592)return 1;u[m=L&v]=T<<24|R<<16|b-f|0}}return 0!==L&&(u[b+L]=_-N<<24|64<<16|0),d.bits=T,0}},{"../utils/common":27}],37:[function(e,t,n){"use strict";t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],38:[function(e,t,n){"use strict";var r=e("../utils/common"),a=4,i=0,o=1,s=2;function l(e){for(var t=e.length;--t>=0;)e[t]=0}var c=0,u=1,f=2,h=29,d=256,p=d+1+h,g=30,m=19,v=2*p+1,b=15,y=16,w=7,S=256,x=16,E=17,_=18,k=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],A=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],C=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],T=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],R=new Array(2*(p+2));l(R);var N=new Array(2*g);l(N);var B=new Array(512);l(B);var I=new Array(256);l(I);var L=new Array(h);l(L);var O=new Array(g);l(O);var P,F,D,M=function(e,t,n,r,a){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=a,this.has_stree=e&&e.length},j=function(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t};function W(e){return e<256?B[e]:B[256+(e>>>7)]}function U(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function z(e,t,n){e.bi_valid>y-n?(e.bi_buf|=t<<e.bi_valid&65535,U(e,e.bi_buf),e.bi_buf=t>>y-e.bi_valid,e.bi_valid+=n-y):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function H(e,t,n){z(e,n[2*t],n[2*t+1])}function V(e,t){var n=0;do{n|=1&e,e>>>=1,n<<=1}while(--t>0);return n>>>1}function q(e,t,n){var r,a,i=new Array(b+1),o=0;for(r=1;r<=b;r++)i[r]=o=o+n[r-1]<<1;for(a=0;a<=t;a++){var s=e[2*a+1];0!==s&&(e[2*a]=V(i[s]++,s))}}function G(e){var t;for(t=0;t<p;t++)e.dyn_ltree[2*t]=0;for(t=0;t<g;t++)e.dyn_dtree[2*t]=0;for(t=0;t<m;t++)e.bl_tree[2*t]=0;e.dyn_ltree[2*S]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function X(e){e.bi_valid>8?U(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function $(e,t,n,a){X(e),a&&(U(e,n),U(e,~n)),r.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}function Y(e,t,n,r){var a=2*t,i=2*n;return e[a]<e[i]||e[a]===e[i]&&r[t]<=r[n]}function K(e,t,n){for(var r=e.heap[n],a=n<<1;a<=e.heap_len&&(a<e.heap_len&&Y(t,e.heap[a+1],e.heap[a],e.depth)&&a++,!Y(t,r,e.heap[a],e.depth));)e.heap[n]=e.heap[a],n=a,a<<=1;e.heap[n]=r}function J(e,t,n){var r,a,i,o,s=0;if(0!==e.last_lit)do{r=e.pending_buf[e.d_buf+2*s]<<8|e.pending_buf[e.d_buf+2*s+1],a=e.pending_buf[e.l_buf+s],s++,0===r?H(e,a,t):(H(e,(i=I[a])+d+1,t),0!==(o=k[i])&&z(e,a-=L[i],o),H(e,i=W(--r),n),0!==(o=A[i])&&z(e,r-=O[i],o))}while(s<e.last_lit);H(e,S,t)}function Z(e,t){var n,r,a,i=t.dyn_tree,o=t.stat_desc.static_tree,s=t.stat_desc.has_stree,l=t.stat_desc.elems,c=-1;for(e.heap_len=0,e.heap_max=v,n=0;n<l;n++)0!==i[2*n]?(e.heap[++e.heap_len]=c=n,e.depth[n]=0):i[2*n+1]=0;for(;e.heap_len<2;)i[2*(a=e.heap[++e.heap_len]=c<2?++c:0)]=1,e.depth[a]=0,e.opt_len--,s&&(e.static_len-=o[2*a+1]);for(t.max_code=c,n=e.heap_len>>1;n>=1;n--)K(e,i,n);a=l;do{n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],K(e,i,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,i[2*a]=i[2*n]+i[2*r],e.depth[a]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,i[2*n+1]=i[2*r+1]=a,e.heap[1]=a++,K(e,i,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,r,a,i,o,s,l=t.dyn_tree,c=t.max_code,u=t.stat_desc.static_tree,f=t.stat_desc.has_stree,h=t.stat_desc.extra_bits,d=t.stat_desc.extra_base,p=t.stat_desc.max_length,g=0;for(i=0;i<=b;i++)e.bl_count[i]=0;for(l[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<v;n++)(i=l[2*l[2*(r=e.heap[n])+1]+1]+1)>p&&(i=p,g++),l[2*r+1]=i,r>c||(e.bl_count[i]++,o=0,r>=d&&(o=h[r-d]),s=l[2*r],e.opt_len+=s*(i+o),f&&(e.static_len+=s*(u[2*r+1]+o)));if(0!==g){do{for(i=p-1;0===e.bl_count[i];)i--;e.bl_count[i]--,e.bl_count[i+1]+=2,e.bl_count[p]--,g-=2}while(g>0);for(i=p;0!==i;i--)for(r=e.bl_count[i];0!==r;)(a=e.heap[--n])>c||(l[2*a+1]!==i&&(e.opt_len+=(i-l[2*a+1])*l[2*a],l[2*a+1]=i),r--)}}(e,t),q(i,c,e.bl_count)}function Q(e,t,n){var r,a,i=-1,o=t[1],s=0,l=7,c=4;for(0===o&&(l=138,c=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)a=o,o=t[2*(r+1)+1],++s<l&&a===o||(s<c?e.bl_tree[2*a]+=s:0!==a?(a!==i&&e.bl_tree[2*a]++,e.bl_tree[2*x]++):s<=10?e.bl_tree[2*E]++:e.bl_tree[2*_]++,s=0,i=a,0===o?(l=138,c=3):a===o?(l=6,c=3):(l=7,c=4))}function ee(e,t,n){var r,a,i=-1,o=t[1],s=0,l=7,c=4;for(0===o&&(l=138,c=3),r=0;r<=n;r++)if(a=o,o=t[2*(r+1)+1],!(++s<l&&a===o)){if(s<c)do{H(e,a,e.bl_tree)}while(0!=--s);else 0!==a?(a!==i&&(H(e,a,e.bl_tree),s--),H(e,x,e.bl_tree),z(e,s-3,2)):s<=10?(H(e,E,e.bl_tree),z(e,s-3,3)):(H(e,_,e.bl_tree),z(e,s-11,7));s=0,i=a,0===o?(l=138,c=3):a===o?(l=6,c=3):(l=7,c=4)}}function te(e){var t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return i;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return o;for(t=32;t<d;t++)if(0!==e.dyn_ltree[2*t])return o;return i}var ne=!1;function re(e,t,n,r){z(e,(c<<1)+(r?1:0),3),$(e,t,n,!0)}n._tr_init=function(e){ne||(function(){var e,t,n,r,a,i=new Array(b+1);for(n=0,r=0;r<h-1;r++)for(L[r]=n,e=0;e<1<<k[r];e++)I[n++]=r;for(I[n-1]=r,a=0,r=0;r<16;r++)for(O[r]=a,e=0;e<1<<A[r];e++)B[a++]=r;for(a>>=7;r<g;r++)for(O[r]=a<<7,e=0;e<1<<A[r]-7;e++)B[256+a++]=r;for(t=0;t<=b;t++)i[t]=0;for(e=0;e<=143;)R[2*e+1]=8,e++,i[8]++;for(;e<=255;)R[2*e+1]=9,e++,i[9]++;for(;e<=279;)R[2*e+1]=7,e++,i[7]++;for(;e<=287;)R[2*e+1]=8,e++,i[8]++;for(q(R,p+1,i),e=0;e<g;e++)N[2*e+1]=5,N[2*e]=V(e,5);P=new M(R,k,d+1,p,b),F=new M(N,A,0,g,b),D=new M(new Array(0),C,0,m,w)}(),ne=!0),e.l_desc=new j(e.dyn_ltree,P),e.d_desc=new j(e.dyn_dtree,F),e.bl_desc=new j(e.bl_tree,D),e.bi_buf=0,e.bi_valid=0,G(e)},n._tr_stored_block=re,n._tr_flush_block=function(e,t,n,r){var i,o,l=0;e.level>0?(e.strm.data_type===s&&(e.strm.data_type=te(e)),Z(e,e.l_desc),Z(e,e.d_desc),l=function(e){var t;for(Q(e,e.dyn_ltree,e.l_desc.max_code),Q(e,e.dyn_dtree,e.d_desc.max_code),Z(e,e.bl_desc),t=m-1;t>=3&&0===e.bl_tree[2*T[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),i=e.opt_len+3+7>>>3,(o=e.static_len+3+7>>>3)<=i&&(i=o)):i=o=n+5,n+4<=i&&-1!==t?re(e,t,n,r):e.strategy===a||o===i?(z(e,(u<<1)+(r?1:0),3),J(e,R,N)):(z(e,(f<<1)+(r?1:0),3),function(e,t,n,r){var a;for(z(e,t-257,5),z(e,n-1,5),z(e,r-4,4),a=0;a<r;a++)z(e,e.bl_tree[2*T[a]+1],3);ee(e,e.dyn_ltree,t-1),ee(e,e.dyn_dtree,n-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,l+1),J(e,e.dyn_ltree,e.dyn_dtree)),G(e),r&&X(e)},n._tr_tally=function(e,t,n){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(I[n]+d+1)]++,e.dyn_dtree[2*W(t)]++),e.last_lit===e.lit_bufsize-1},n._tr_align=function(e){z(e,u<<1,3),H(e,S,R),function(e){16===e.bi_valid?(U(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},{"../utils/common":27}],39:[function(e,t,n){"use strict";t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}]},{},[9])(9)});var XLSX={};function make_xlsx_lib(e){e.version="0.17.3";var t=1200,n=1252;"undefined"!=typeof module&&"undefined"!=typeof require&&"undefined"==typeof cptable&&("undefined"!=typeof global?global.cptable=void 0:"undefined"!=typeof window&&(window.cptable=void 0));for(var r=[874,932,936,949,950],a=0;a<=8;++a)r.push(1250+a);var i={0:1252,1:65001,2:65001,77:1e4,128:932,129:949,130:1361,134:936,136:950,161:1253,162:1254,163:1258,177:1255,178:1256,186:1257,204:1251,222:874,238:1250,255:1252,69:6969},o=function(e){-1!=r.indexOf(e)&&(n=i[0]=e)};var s=function(e){t=e,o(e)};function l(){s(1200),o(1252)}function c(e){for(var t=[],n=0,r=e.length;n<r;++n)t[n]=e.charCodeAt(n);return t}var u=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1);return 255==t&&254==n?function(e){for(var t=[],n=0;n<e.length>>1;++n)t[n]=String.fromCharCode(e.charCodeAt(2*n)+(e.charCodeAt(2*n+1)<<8));return t.join("")}(e.slice(2)):254==t&&255==n?function(e){for(var t=[],n=0;n<e.length>>1;++n)t[n]=String.fromCharCode(e.charCodeAt(2*n+1)+(e.charCodeAt(2*n)<<8));return t.join("")}(e.slice(2)):65279==t?e.slice(1):e},f=function(e){return String.fromCharCode(e)},h=function(e){return String.fromCharCode(e)};"undefined"!=typeof cptable&&(s=function(e){t=e,o(e)},u=function(e){return 255===e.charCodeAt(0)&&254===e.charCodeAt(1)?cptable.utils.decode(1200,c(e.slice(2))):e},f=function(e){return 1200===t?String.fromCharCode(e):cptable.utils.decode(t,[255&e,e>>8])[0]},h=function(e){return cptable.utils.decode(n,[e])[0]});var d=null,p=!0,g=function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return{encode:function(t){for(var n="",r=0,a=0,i=0,o=0,s=0,l=0,c=0,u=0;u<t.length;)o=(r=t.charCodeAt(u++))>>2,s=(3&r)<<4|(a=t.charCodeAt(u++))>>4,l=(15&a)<<2|(i=t.charCodeAt(u++))>>6,c=63&i,isNaN(a)?l=c=64:isNaN(i)&&(c=64),n+=e.charAt(o)+e.charAt(s)+e.charAt(l)+e.charAt(c);return n},decode:function(t){var n="",r=0,a=0,i=0,o=0,s=0,l=0;t=t.replace(/[^\w\+\/\=]/g,"");for(var c=0;c<t.length;)r=e.indexOf(t.charAt(c++))<<2|(o=e.indexOf(t.charAt(c++)))>>4,n+=String.fromCharCode(r),a=(15&o)<<4|(s=e.indexOf(t.charAt(c++)))>>2,64!==s&&(n+=String.fromCharCode(a)),i=(3&s)<<6|(l=e.indexOf(t.charAt(c++))),64!==l&&(n+=String.fromCharCode(i));return n}}}(),m="undefined"!=typeof Buffer&&"undefined"!=typeof process&&void 0!==process.versions&&!!process.versions.node,v=function(){};if("undefined"!=typeof Buffer){var b=!Buffer.from;if(!b)try{Buffer.from("foo","utf8")}catch(e){b=!0}v=b?function(e,t){return t?new Buffer(e,t):new Buffer(e)}:Buffer.from.bind(Buffer),Buffer.alloc||(Buffer.alloc=function(e){return new Buffer(e)}),Buffer.allocUnsafe||(Buffer.allocUnsafe=function(e){return new Buffer(e)})}function y(e){return m?Buffer.alloc(e):new Array(e)}function w(e){return m?Buffer.allocUnsafe(e):new Array(e)}var S=function(e){return m?v(e,"binary"):e.split("").map(function(e){return 255&e.charCodeAt(0)})};function x(e){if("undefined"==typeof ArrayBuffer)return S(e);for(var t=new ArrayBuffer(e.length),n=new Uint8Array(t),r=0;r!=e.length;++r)n[r]=255&e.charCodeAt(r);return t}function E(e){if(Array.isArray(e))return e.map(function(e){return String.fromCharCode(e)}).join("");for(var t=[],n=0;n<e.length;++n)t[n]=String.fromCharCode(e[n]);return t.join("")}function _(e){if("undefined"==typeof ArrayBuffer)throw new Error("Unsupported");if(e instanceof ArrayBuffer)return _(new Uint8Array(e));for(var t=new Array(e.length),n=0;n<e.length;++n)t[n]=e[n];return t}var k=function(e){return[].concat.apply([],e)},A=/\u0000/g,C=/[\u0001-\u0006]/g,T={},R=function(e){function t(e){for(var t="",n=e.length-1;n>=0;)t+=e.charAt(n--);return t}function n(e,t){for(var n="";n.length<t;)n+=e;return n}function r(e,t){var r=""+e;return r.length>=t?r:n("0",t-r.length)+r}function a(e,t){var r=""+e;return r.length>=t?r:n(" ",t-r.length)+r}function i(e,t){var r=""+e;return r.length>=t?r:r+n(" ",t-r.length)}function o(e,t){var r=""+Math.round(e);return r.length>=t?r:n("0",t-r.length)+r}function s(e,t){var r=""+e;return r.length>=t?r:n("0",t-r.length)+r}e.version="0.11.2";var l=Math.pow(2,32);function c(e,t){return e>l||e<-l?o(e,t):s(Math.round(e),t)}function u(e,t){return t=t||0,e.length>=7+t&&103==(32|e.charCodeAt(t))&&101==(32|e.charCodeAt(t+1))&&110==(32|e.charCodeAt(t+2))&&101==(32|e.charCodeAt(t+3))&&114==(32|e.charCodeAt(t+4))&&97==(32|e.charCodeAt(t+5))&&108==(32|e.charCodeAt(t+6))}var f=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],h=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]];function d(e){e[0]="General",e[1]="0",e[2]="0.00",e[3]="#,##0",e[4]="#,##0.00",e[9]="0%",e[10]="0.00%",e[11]="0.00E+00",e[12]="# ?/?",e[13]="# ??/??",e[14]="m/d/yy",e[15]="d-mmm-yy",e[16]="d-mmm",e[17]="mmm-yy",e[18]="h:mm AM/PM",e[19]="h:mm:ss AM/PM",e[20]="h:mm",e[21]="h:mm:ss",e[22]="m/d/yy h:mm",e[37]="#,##0 ;(#,##0)",e[38]="#,##0 ;[Red](#,##0)",e[39]="#,##0.00;(#,##0.00)",e[40]="#,##0.00;[Red](#,##0.00)",e[45]="mm:ss",e[46]="[h]:mm:ss",e[47]="mmss.0",e[48]="##0.0E+0",e[49]="@",e[56]='"上午/下午 "hh"時"mm"分"ss"秒 "'}var p={};d(p);var g=[],m=0;for(m=5;m<=8;++m)g[m]=32+m;for(m=23;m<=26;++m)g[m]=0;for(m=27;m<=31;++m)g[m]=14;for(m=50;m<=58;++m)g[m]=14;for(m=59;m<=62;++m)g[m]=m-58;for(m=67;m<=68;++m)g[m]=m-58;for(m=72;m<=75;++m)g[m]=m-58;for(m=67;m<=68;++m)g[m]=m-57;for(m=76;m<=78;++m)g[m]=m-56;for(m=79;m<=81;++m)g[m]=m-34;var v=[];function b(e,t,n){for(var r=e<0?-1:1,a=e*r,i=0,o=1,s=0,l=1,c=0,u=0,f=Math.floor(a);c<t&&(s=(f=Math.floor(a))*o+i,u=f*c+l,!(a-f<5e-8));)a=1/(a-f),i=o,o=s,l=c,c=u;if(u>t&&(c>t?(u=l,s=i):(u=c,s=o)),!n)return[0,r*s,u];var h=Math.floor(r*s/u);return[h,r*s-h*u,u]}function y(e,t,n){if(e>2958465||e<0)return null;var r=0|e,a=Math.floor(86400*(e-r)),i=0,o=[],s={D:r,T:a,u:86400*(e-r)-a,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(s.u)<1e-6&&(s.u=0),t&&t.date1904&&(r+=1462),s.u>.9999&&(s.u=0,86400==++a&&(s.T=a=0,++r,++s.D)),60===r)o=n?[1317,10,29]:[1900,2,29],i=3;else if(0===r)o=n?[1317,8,29]:[1900,1,0],i=6;else{r>60&&--r;var l=new Date(1900,0,1);l.setDate(l.getDate()+r-1),o=[l.getFullYear(),l.getMonth()+1,l.getDate()],i=l.getDay(),r<60&&(i=(i+6)%7),n&&(i=function(e,t){t[0]-=581;var n=e.getDay();e<60&&(n=(n+6)%7);return n}(l,o))}return s.y=o[0],s.m=o[1],s.d=o[2],s.S=a%60,a=Math.floor(a/60),s.M=a%60,a=Math.floor(a/60),s.H=a,s.q=i,s}v[5]=v[63]='"$"#,##0_);\\("$"#,##0\\)',v[6]=v[64]='"$"#,##0_);[Red]\\("$"#,##0\\)',v[7]=v[65]='"$"#,##0.00_);\\("$"#,##0.00\\)',v[8]=v[66]='"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',v[41]='_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',v[42]='_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',v[43]='_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',v[44]='_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)',e.parse_date_code=y;var w=new Date(1899,11,31,0,0,0),S=w.getTime(),x=new Date(1900,2,1,0,0,0);function E(e,t){var n=e.getTime();return t?n-=1262304e5:e>=x&&(n+=864e5),(n-(S+6e4*(e.getTimezoneOffset()-w.getTimezoneOffset())))/864e5}e._general_int=function(e){return e.toString(10)};var _=function(){var e=/(?:\.0*|(\.\d*[1-9])0+)$/;function t(t){return-1==t.indexOf(".")?t:t.replace(e,"$1")}var n=/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,r=/(E[+-])(\d)$/;function a(e){return-1==e.indexOf("E")?e:e.replace(n,"$1E").replace(r,"$10$2")}return function(e){var n,r=Math.floor(Math.log(Math.abs(e))*Math.LOG10E);return n=r>=-4&&r<=-1?e.toPrecision(10+r):Math.abs(r)<=9?function(e){var n=e<0?12:11,r=t(e.toFixed(12));return r.length<=n?r:(r=e.toPrecision(10)).length<=n?r:e.toExponential(5)}(e):10===r?e.toFixed(10).substr(0,12):function(e){var n=t(e.toFixed(11));return n.length>(e<0?12:11)||"0"===n||"-0"===n?e.toPrecision(6):n}(e),t(a(n.toUpperCase()))}}();function k(e,t){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(0|e)===e?e.toString(10):_(e);case"undefined":return"";case"object":if(null==e)return"";if(e instanceof Date)return F(14,E(e,t&&t.date1904),t)}throw new Error("unsupported value in General format: "+e)}function A(e,t,n,a){var i,o="",s=0,l=0,c=n.y,u=0;switch(e){case 98:c=n.y+543;case 121:switch(t.length){case 1:case 2:i=c%100,u=2;break;default:i=c%1e4,u=4}break;case 109:switch(t.length){case 1:case 2:i=n.m,u=t.length;break;case 3:return h[n.m-1][1];case 5:return h[n.m-1][0];default:return h[n.m-1][2]}break;case 100:switch(t.length){case 1:case 2:i=n.d,u=t.length;break;case 3:return f[n.q][0];default:return f[n.q][1]}break;case 104:switch(t.length){case 1:case 2:i=1+(n.H+11)%12,u=t.length;break;default:throw"bad hour format: "+t}break;case 72:switch(t.length){case 1:case 2:i=n.H,u=t.length;break;default:throw"bad hour format: "+t}break;case 77:switch(t.length){case 1:case 2:i=n.M,u=t.length;break;default:throw"bad minute format: "+t}break;case 115:if("s"!=t&&"ss"!=t&&".0"!=t&&".00"!=t&&".000"!=t)throw"bad second format: "+t;return 0!==n.u||"s"!=t&&"ss"!=t?(l=a>=2?3===a?1e3:100:1===a?10:1,(s=Math.round(l*(n.S+n.u)))>=60*l&&(s=0),"s"===t?0===s?"0":""+s/l:(o=r(s,2+a),"ss"===t?o.substr(0,2):"."+o.substr(2,t.length-1))):r(n.S,t.length);case 90:switch(t){case"[h]":case"[hh]":i=24*n.D+n.H;break;case"[m]":case"[mm]":i=60*(24*n.D+n.H)+n.M;break;case"[s]":case"[ss]":i=60*(60*(24*n.D+n.H)+n.M)+Math.round(n.S+n.u);break;default:throw"bad abstime format: "+t}u=3===t.length?1:2;break;case 101:i=c,u=1}return u>0?r(i,u):""}function C(e){if(e.length<=3)return e;for(var t=e.length%3,n=e.substr(0,t);t!=e.length;t+=3)n+=(n.length>0?",":"")+e.substr(t,3);return n}e._general_num=_,e._general=k;var T=function(){var e=/%/g;function o(t,r,a){var i=r.replace(e,""),o=r.length-i.length;return T(t,i,a*Math.pow(10,2*o))+n("%",o)}var s=/# (\?+)( ?)\/( ?)(\d+)/;var l=/^#*0*\.([0#]+)/,u=/\).*[0#]/,f=/\(###\) ###\\?-####/;function h(e){for(var t,n="",r=0;r!=e.length;++r)switch(t=e.charCodeAt(r)){case 35:break;case 63:n+=" ";break;case 48:n+="0";break;default:n+=String.fromCharCode(t)}return n}function d(e,t){var n=Math.pow(10,t);return""+Math.round(e*n)/n}function p(e,t){var n=e-Math.floor(e),r=Math.pow(10,t);return t<(""+Math.round(n*r)).length?0:Math.round(n*r)}function g(e,m,v){if(40===e.charCodeAt(0)&&!m.match(u)){var y=m.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return v>=0?g("n",y,v):"("+g("n",y,-v)+")"}if(44===m.charCodeAt(m.length-1))return function(e,t,n){for(var r=t.length-1;44===t.charCodeAt(r-1);)--r;return T(e,t.substr(0,r),n/Math.pow(10,3*(t.length-r)))}(e,m,v);if(-1!==m.indexOf("%"))return o(e,m,v);if(-1!==m.indexOf("E"))return function e(t,n){var r,a=t.indexOf("E")-t.indexOf(".")-1;if(t.match(/^#+0.0E\+0$/)){if(0==n)return"0.0E+0";if(n<0)return"-"+e(t,-n);var i=t.indexOf(".");-1===i&&(i=t.indexOf("E"));var o=Math.floor(Math.log(n)*Math.LOG10E)%i;if(o<0&&(o+=i),-1===(r=(n/Math.pow(10,o)).toPrecision(a+1+(i+o)%i)).indexOf("e")){var s=Math.floor(Math.log(n)*Math.LOG10E);for(-1===r.indexOf(".")?r=r.charAt(0)+"."+r.substr(1)+"E+"+(s-r.length+o):r+="E+"+(s-o);"0."===r.substr(0,2);)r=(r=r.charAt(0)+r.substr(2,i)+"."+r.substr(2+i)).replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(e,t,n,r){return t+n+r.substr(0,(i+o)%i)+"."+r.substr(o)+"E"})}else r=n.toExponential(a);return t.match(/E\+00$/)&&r.match(/e[+-]\d$/)&&(r=r.substr(0,r.length-1)+"0"+r.charAt(r.length-1)),t.match(/E\-/)&&r.match(/e\+/)&&(r=r.replace(/e\+/,"e")),r.replace("e","E")}(m,v);if(36===m.charCodeAt(0))return"$"+g(e,m.substr(" "==m.charAt(1)?2:1),v);var w,S,x,E,_=Math.abs(v),k=v<0?"-":"";if(m.match(/^00+$/))return k+c(_,m.length);if(m.match(/^[#?]+$/))return"0"===(w=c(v,0))&&(w=""),w.length>m.length?w:h(m.substr(0,m.length-w.length))+w;if(S=m.match(s))return function(e,t,i){var o=parseInt(e[4],10),s=Math.round(t*o),l=Math.floor(s/o),c=s-l*o,u=o;return i+(0===l?"":""+l)+" "+(0===c?n(" ",e[1].length+1+e[4].length):a(c,e[1].length)+e[2]+"/"+e[3]+r(u,e[4].length))}(S,_,k);if(m.match(/^#+0+$/))return k+c(_,m.length-m.indexOf("0"));if(S=m.match(l))return w=d(v,S[1].length).replace(/^([^\.]+)$/,"$1."+h(S[1])).replace(/\.$/,"."+h(S[1])).replace(/\.(\d*)$/,function(e,t){return"."+t+n("0",h(S[1]).length-t.length)}),-1!==m.indexOf("0.")?w:w.replace(/^0\./,".");if(m=m.replace(/^#+([0.])/,"$1"),S=m.match(/^(0*)\.(#*)$/))return k+d(_,S[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,S[1].length?"0.":".");if(S=m.match(/^#{1,3},##0(\.?)$/))return k+C(c(_,0));if(S=m.match(/^#,##0\.([#0]*0)$/))return v<0?"-"+g(e,m,-v):C(""+(Math.floor(v)+function(e,t){return t<(""+Math.round((e-Math.floor(e))*Math.pow(10,t))).length?1:0}(v,S[1].length)))+"."+r(p(v,S[1].length),S[1].length);if(S=m.match(/^#,#*,#0/))return g(e,m.replace(/^#,#*,/,""),v);if(S=m.match(/^([0#]+)(\\?-([0#]+))+$/))return w=t(g(e,m.replace(/[\\-]/g,""),v)),x=0,t(t(m.replace(/\\/g,"")).replace(/[0#]/g,function(e){return x<w.length?w.charAt(x++):"0"===e?"0":""}));if(m.match(f))return"("+(w=g(e,"##########",v)).substr(0,3)+") "+w.substr(3,3)+"-"+w.substr(6);var A="";if(S=m.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return x=Math.min(S[4].length,7),E=b(_,Math.pow(10,x)-1,!1),w=""+k," "==(A=T("n",S[1],E[1])).charAt(A.length-1)&&(A=A.substr(0,A.length-1)+"0"),w+=A+S[2]+"/"+S[3],(A=i(E[2],x)).length<S[4].length&&(A=h(S[4].substr(S[4].length-A.length))+A),w+=A;if(S=m.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return x=Math.min(Math.max(S[1].length,S[4].length),7),k+((E=b(_,Math.pow(10,x)-1,!0))[0]||(E[1]?"":"0"))+" "+(E[1]?a(E[1],x)+S[2]+"/"+S[3]+i(E[2],x):n(" ",2*x+1+S[2].length+S[3].length));if(S=m.match(/^[#0?]+$/))return w=c(v,0),m.length<=w.length?w:h(m.substr(0,m.length-w.length))+w;if(S=m.match(/^([#0?]+)\.([#0]+)$/)){w=""+v.toFixed(Math.min(S[2].length,10)).replace(/([^0])0+$/,"$1"),x=w.indexOf(".");var R=m.indexOf(".")-x,N=m.length-w.length-R;return h(m.substr(0,R)+w+m.substr(m.length-N))}if(S=m.match(/^00,000\.([#0]*0)$/))return x=p(v,S[1].length),v<0?"-"+g(e,m,-v):C(function(e){return e<2147483647&&e>-2147483648?""+(e>=0?0|e:e-1|0):""+Math.floor(e)}(v)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(e){return"00,"+(e.length<3?r(0,3-e.length):"")+e})+"."+r(x,S[1].length);switch(m){case"###,##0.00":return g(e,"#,##0.00",v);case"###,###":case"##,###":case"#,###":var B=C(c(_,0));return"0"!==B?k+B:"";case"###,###.00":return g(e,"###,##0.00",v).replace(/^0\./,".");case"#,###.00":return g(e,"#,##0.00",v).replace(/^0\./,".")}throw new Error("unsupported format |"+m+"|")}function m(t,r,a){var i=r.replace(e,""),o=r.length-i.length;return T(t,i,a*Math.pow(10,2*o))+n("%",o)}function v(e,o,c){if(40===e.charCodeAt(0)&&!o.match(u)){var d=o.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return c>=0?v("n",d,c):"("+v("n",d,-c)+")"}if(44===o.charCodeAt(o.length-1))return function(e,t,n){for(var r=t.length-1;44===t.charCodeAt(r-1);)--r;return T(e,t.substr(0,r),n/Math.pow(10,3*(t.length-r)))}(e,o,c);if(-1!==o.indexOf("%"))return m(e,o,c);if(-1!==o.indexOf("E"))return function e(t,n){var r,a=t.indexOf("E")-t.indexOf(".")-1;if(t.match(/^#+0.0E\+0$/)){if(0==n)return"0.0E+0";if(n<0)return"-"+e(t,-n);var i=t.indexOf(".");-1===i&&(i=t.indexOf("E"));var o=Math.floor(Math.log(n)*Math.LOG10E)%i;if(o<0&&(o+=i),!(r=(n/Math.pow(10,o)).toPrecision(a+1+(i+o)%i)).match(/[Ee]/)){var s=Math.floor(Math.log(n)*Math.LOG10E);-1===r.indexOf(".")?r=r.charAt(0)+"."+r.substr(1)+"E+"+(s-r.length+o):r+="E+"+(s-o),r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(e,t,n,r){return t+n+r.substr(0,(i+o)%i)+"."+r.substr(o)+"E"})}else r=n.toExponential(a);return t.match(/E\+00$/)&&r.match(/e[+-]\d$/)&&(r=r.substr(0,r.length-1)+"0"+r.charAt(r.length-1)),t.match(/E\-/)&&r.match(/e\+/)&&(r=r.replace(/e\+/,"e")),r.replace("e","E")}(o,c);if(36===o.charCodeAt(0))return"$"+v(e,o.substr(" "==o.charAt(1)?2:1),c);var p,g,y,w,S=Math.abs(c),x=c<0?"-":"";if(o.match(/^00+$/))return x+r(S,o.length);if(o.match(/^[#?]+$/))return p=""+c,0===c&&(p=""),p.length>o.length?p:h(o.substr(0,o.length-p.length))+p;if(g=o.match(s))return function(e,t,r){return r+(0===t?"":""+t)+n(" ",e[1].length+2+e[4].length)}(g,S,x);if(o.match(/^#+0+$/))return x+r(S,o.length-o.indexOf("0"));if(g=o.match(l))return p=(p=(""+c).replace(/^([^\.]+)$/,"$1."+h(g[1])).replace(/\.$/,"."+h(g[1]))).replace(/\.(\d*)$/,function(e,t){return"."+t+n("0",h(g[1]).length-t.length)}),-1!==o.indexOf("0.")?p:p.replace(/^0\./,".");if(o=o.replace(/^#+([0.])/,"$1"),g=o.match(/^(0*)\.(#*)$/))return x+(""+S).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,g[1].length?"0.":".");if(g=o.match(/^#{1,3},##0(\.?)$/))return x+C(""+S);if(g=o.match(/^#,##0\.([#0]*0)$/))return c<0?"-"+v(e,o,-c):C(""+c)+"."+n("0",g[1].length);if(g=o.match(/^#,#*,#0/))return v(e,o.replace(/^#,#*,/,""),c);if(g=o.match(/^([0#]+)(\\?-([0#]+))+$/))return p=t(v(e,o.replace(/[\\-]/g,""),c)),y=0,t(t(o.replace(/\\/g,"")).replace(/[0#]/g,function(e){return y<p.length?p.charAt(y++):"0"===e?"0":""}));if(o.match(f))return"("+(p=v(e,"##########",c)).substr(0,3)+") "+p.substr(3,3)+"-"+p.substr(6);var E="";if(g=o.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return y=Math.min(g[4].length,7),w=b(S,Math.pow(10,y)-1,!1),p=""+x," "==(E=T("n",g[1],w[1])).charAt(E.length-1)&&(E=E.substr(0,E.length-1)+"0"),p+=E+g[2]+"/"+g[3],(E=i(w[2],y)).length<g[4].length&&(E=h(g[4].substr(g[4].length-E.length))+E),p+=E;if(g=o.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return y=Math.min(Math.max(g[1].length,g[4].length),7),x+((w=b(S,Math.pow(10,y)-1,!0))[0]||(w[1]?"":"0"))+" "+(w[1]?a(w[1],y)+g[2]+"/"+g[3]+i(w[2],y):n(" ",2*y+1+g[2].length+g[3].length));if(g=o.match(/^[#0?]+$/))return p=""+c,o.length<=p.length?p:h(o.substr(0,o.length-p.length))+p;if(g=o.match(/^([#0]+)\.([#0]+)$/)){p=""+c.toFixed(Math.min(g[2].length,10)).replace(/([^0])0+$/,"$1"),y=p.indexOf(".");var _=o.indexOf(".")-y,k=o.length-p.length-_;return h(o.substr(0,_)+p+o.substr(o.length-k))}if(g=o.match(/^00,000\.([#0]*0)$/))return c<0?"-"+v(e,o,-c):C(""+c).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(e){return"00,"+(e.length<3?r(0,3-e.length):"")+e})+"."+r(0,g[1].length);switch(o){case"###,###":case"##,###":case"#,###":var A=C(""+S);return"0"!==A?x+A:"";default:if(o.match(/\.[0#?]*$/))return v(e,o.slice(0,o.lastIndexOf(".")),c)+h(o.slice(o.lastIndexOf(".")))}throw new Error("unsupported format |"+o+"|")}return function(e,t,n){return(0|n)===n?v(e,t,n):g(e,t,n)}}();function R(e){for(var t=[],n=!1,r=0,a=0;r<e.length;++r)switch(e.charCodeAt(r)){case 34:n=!n;break;case 95:case 42:case 92:++r;break;case 59:t[t.length]=e.substr(a,r-a),a=r+1}if(t[t.length]=e.substr(a),!0===n)throw new Error("Format |"+e+"| unterminated string ");return t}e._split=R;var N=/\[[HhMmSs\u0E0A\u0E19\u0E17]*\]/;function B(e){for(var t=0,n="",r="";t<e.length;)switch(n=e.charAt(t)){case"G":u(e,t)&&(t+=6),t++;break;case'"':for(;34!==e.charCodeAt(++t)&&t<e.length;);++t;break;case"\\":case"_":t+=2;break;case"@":++t;break;case"B":case"b":if("1"===e.charAt(t+1)||"2"===e.charAt(t+1))return!0;case"M":case"D":case"Y":case"H":case"S":case"E":case"m":case"d":case"y":case"h":case"s":case"e":case"g":return!0;case"A":case"a":case"上":if("A/P"===e.substr(t,3).toUpperCase())return!0;if("AM/PM"===e.substr(t,5).toUpperCase())return!0;if("上午/下午"===e.substr(t,5).toUpperCase())return!0;++t;break;case"[":for(r=n;"]"!==e.charAt(t++)&&t<e.length;)r+=e.charAt(t);if(r.match(N))return!0;break;case".":case"0":case"#":for(;t<e.length&&("0#?.,E+-%".indexOf(n=e.charAt(++t))>-1||"\\"==n&&"-"==e.charAt(t+1)&&"0#".indexOf(e.charAt(t+2))>-1););break;case"?":for(;e.charAt(++t)===n;);break;case"*":++t," "!=e.charAt(t)&&"*"!=e.charAt(t)||++t;break;case"(":case")":++t;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;t<e.length&&"0123456789".indexOf(e.charAt(++t))>-1;);break;case" ":default:++t}return!1}function I(e,t,n,r){for(var a,i,o,s=[],l="",c=0,f="",h="t",d="H";c<e.length;)switch(f=e.charAt(c)){case"G":if(!u(e,c))throw new Error("unrecognized character "+f+" in "+e);s[s.length]={t:"G",v:"General"},c+=7;break;case'"':for(l="";34!==(o=e.charCodeAt(++c))&&c<e.length;)l+=String.fromCharCode(o);s[s.length]={t:"t",v:l},++c;break;case"\\":var p=e.charAt(++c),g="("===p||")"===p?p:"t";s[s.length]={t:g,v:p},++c;break;case"_":s[s.length]={t:"t",v:" "},c+=2;break;case"@":s[s.length]={t:"T",v:t},++c;break;case"B":case"b":if("1"===e.charAt(c+1)||"2"===e.charAt(c+1)){if(null==a&&null==(a=y(t,n,"2"===e.charAt(c+1))))return"";s[s.length]={t:"X",v:e.substr(c,2)},h=f,c+=2;break}case"M":case"D":case"Y":case"H":case"S":case"E":f=f.toLowerCase();case"m":case"d":case"y":case"h":case"s":case"e":case"g":if(t<0)return"";if(null==a&&null==(a=y(t,n)))return"";for(l=f;++c<e.length&&e.charAt(c).toLowerCase()===f;)l+=f;"m"===f&&"h"===h.toLowerCase()&&(f="M"),"h"===f&&(f=d),s[s.length]={t:f,v:l},h=f;break;case"A":case"a":case"上":var m={t:f,v:f};if(null==a&&(a=y(t,n)),"A/P"===e.substr(c,3).toUpperCase()?(null!=a&&(m.v=a.H>=12?"P":"A"),m.t="T",d="h",c+=3):"AM/PM"===e.substr(c,5).toUpperCase()?(null!=a&&(m.v=a.H>=12?"PM":"AM"),m.t="T",c+=5,d="h"):"上午/下午"===e.substr(c,5).toUpperCase()?(null!=a&&(m.v=a.H>=12?"下午":"上午"),m.t="T",c+=5,d="h"):(m.t="t",++c),null==a&&"T"===m.t)return"";s[s.length]=m,h=f;break;case"[":for(l=f;"]"!==e.charAt(c++)&&c<e.length;)l+=e.charAt(c);if("]"!==l.slice(-1))throw'unterminated "[" block: |'+l+"|";if(l.match(N)){if(null==a&&null==(a=y(t,n)))return"";s[s.length]={t:"Z",v:l.toLowerCase()},h=l.charAt(1)}else l.indexOf("$")>-1&&(l=(l.match(/\$([^-\[\]]*)/)||[])[1]||"$",B(e)||(s[s.length]={t:"t",v:l}));break;case".":if(null!=a){for(l=f;++c<e.length&&"0"===(f=e.charAt(c));)l+=f;s[s.length]={t:"s",v:l};break}case"0":case"#":for(l=f;++c<e.length&&"0#?.,E+-%".indexOf(f=e.charAt(c))>-1;)l+=f;s[s.length]={t:"n",v:l};break;case"?":for(l=f;e.charAt(++c)===f;)l+=f;s[s.length]={t:f,v:l},h=f;break;case"*":++c," "!=e.charAt(c)&&"*"!=e.charAt(c)||++c;break;case"(":case")":s[s.length]={t:1===r?"t":f,v:f},++c;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(l=f;c<e.length&&"0123456789".indexOf(e.charAt(++c))>-1;)l+=e.charAt(c);s[s.length]={t:"D",v:l};break;case" ":s[s.length]={t:f,v:f},++c;break;case"$":s[s.length]={t:"t",v:"$"},++c;break;default:if(-1===",$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP".indexOf(f))throw new Error("unrecognized character "+f+" in "+e);s[s.length]={t:"t",v:f},++c}var v,b=0,w=0;for(c=s.length-1,h="t";c>=0;--c)switch(s[c].t){case"h":case"H":s[c].t=d,h="h",b<1&&(b=1);break;case"s":(v=s[c].v.match(/\.0+$/))&&(w=Math.max(w,v[0].length-1)),b<3&&(b=3);case"d":case"y":case"M":case"e":h=s[c].t;break;case"m":"s"===h&&(s[c].t="M",b<2&&(b=2));break;case"X":break;case"Z":b<1&&s[c].v.match(/[Hh]/)&&(b=1),b<2&&s[c].v.match(/[Mm]/)&&(b=2),b<3&&s[c].v.match(/[Ss]/)&&(b=3)}switch(b){case 0:break;case 1:a.u>=.5&&(a.u=0,++a.S),a.S>=60&&(a.S=0,++a.M),a.M>=60&&(a.M=0,++a.H);break;case 2:a.u>=.5&&(a.u=0,++a.S),a.S>=60&&(a.S=0,++a.M)}var S,x="";for(c=0;c<s.length;++c)switch(s[c].t){case"t":case"T":case" ":case"D":break;case"X":s[c].v="",s[c].t=";";break;case"d":case"m":case"y":case"h":case"H":case"M":case"s":case"e":case"b":case"Z":s[c].v=A(s[c].t.charCodeAt(0),s[c].v,a,w),s[c].t="t";break;case"n":case"?":for(S=c+1;null!=s[S]&&("?"===(f=s[S].t)||"D"===f||(" "===f||"t"===f)&&null!=s[S+1]&&("?"===s[S+1].t||"t"===s[S+1].t&&"/"===s[S+1].v)||"("===s[c].t&&(" "===f||"n"===f||")"===f)||"t"===f&&("/"===s[S].v||" "===s[S].v&&null!=s[S+1]&&"?"==s[S+1].t));)s[c].v+=s[S].v,s[S]={v:"",t:";"},++S;x+=s[c].v,c=S-1;break;case"G":s[c].t="t",s[c].v=k(t,n)}var E,_,C="";if(x.length>0){40==x.charCodeAt(0)?(E=t<0&&45===x.charCodeAt(0)?-t:t,_=T("n",x,E)):(_=T("n",x,E=t<0&&r>1?-t:t),E<0&&s[0]&&"t"==s[0].t&&(_=_.substr(1),s[0].v="-"+s[0].v)),S=_.length-1;var R=s.length;for(c=0;c<s.length;++c)if(null!=s[c]&&"t"!=s[c].t&&s[c].v.indexOf(".")>-1){R=c;break}var I=s.length;if(R===s.length&&-1===_.indexOf("E")){for(c=s.length-1;c>=0;--c)null!=s[c]&&-1!=="n?".indexOf(s[c].t)&&(S>=s[c].v.length-1?(S-=s[c].v.length,s[c].v=_.substr(S+1,s[c].v.length)):S<0?s[c].v="":(s[c].v=_.substr(0,S+1),S=-1),s[c].t="t",I=c);S>=0&&I<s.length&&(s[I].v=_.substr(0,S+1)+s[I].v)}else if(R!==s.length&&-1===_.indexOf("E")){for(S=_.indexOf(".")-1,c=R;c>=0;--c)if(null!=s[c]&&-1!=="n?".indexOf(s[c].t)){for(i=s[c].v.indexOf(".")>-1&&c===R?s[c].v.indexOf(".")-1:s[c].v.length-1,C=s[c].v.substr(i+1);i>=0;--i)S>=0&&("0"===s[c].v.charAt(i)||"#"===s[c].v.charAt(i))&&(C=_.charAt(S--)+C);s[c].v=C,s[c].t="t",I=c}for(S>=0&&I<s.length&&(s[I].v=_.substr(0,S+1)+s[I].v),S=_.indexOf(".")+1,c=R;c<s.length;++c)if(null!=s[c]&&(-1!=="n?(".indexOf(s[c].t)||c===R)){for(i=s[c].v.indexOf(".")>-1&&c===R?s[c].v.indexOf(".")+1:0,C=s[c].v.substr(0,i);i<s[c].v.length;++i)S<_.length&&(C+=_.charAt(S++));s[c].v=C,s[c].t="t",I=c}}}for(c=0;c<s.length;++c)null!=s[c]&&"n?".indexOf(s[c].t)>-1&&(E=r>1&&t<0&&c>0&&"-"===s[c-1].v?-t:t,s[c].v=T(s[c].t,s[c].v,E),s[c].t="t");var L="";for(c=0;c!==s.length;++c)null!=s[c]&&(L+=s[c].v);return L}e.is_date=B,e._eval=I;var L=/\[[=<>]/,O=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function P(e,t){if(null==t)return!1;var n=parseFloat(t[2]);switch(t[1]){case"=":if(e==n)return!0;break;case">":if(e>n)return!0;break;case"<":if(e<n)return!0;break;case"<>":if(e!=n)return!0;break;case">=":if(e>=n)return!0;break;case"<=":if(e<=n)return!0}return!1}function F(e,t,n){null==n&&(n={});var r="";switch(typeof e){case"string":r="m/d/yy"==e&&n.dateNF?n.dateNF:e;break;case"number":null==(r=14==e&&n.dateNF?n.dateNF:(null!=n.table?n.table:p)[e])&&(r=n.table&&n.table[g[e]]||p[g[e]]),null==r&&(r=v[e]||"General")}if(u(r,0))return k(t,n);t instanceof Date&&(t=E(t,n.date1904));var a=function(e,t){var n=R(e),r=n.length,a=n[r-1].indexOf("@");if(r<4&&a>-1&&--r,n.length>4)throw new Error("cannot find right format for |"+n.join("|")+"|");if("number"!=typeof t)return[4,4===n.length||a>-1?n[n.length-1]:"@"];switch(n.length){case 1:n=a>-1?["General","General","General",n[0]]:[n[0],n[0],n[0],"@"];break;case 2:n=a>-1?[n[0],n[0],n[0],n[1]]:[n[0],n[1],n[0],"@"];break;case 3:n=a>-1?[n[0],n[1],n[0],n[2]]:[n[0],n[1],n[2],"@"]}var i=t>0?n[0]:t<0?n[1]:n[2];if(-1===n[0].indexOf("[")&&-1===n[1].indexOf("["))return[r,i];if(null!=n[0].match(L)||null!=n[1].match(L)){var o=n[0].match(O),s=n[1].match(O);return P(t,o)?[r,n[0]]:P(t,s)?[r,n[1]]:[r,n[null!=o&&null!=s?2:1]]}return[r,i]}(r,t);if(u(a[1]))return k(t,n);if(!0===t)t="TRUE";else if(!1===t)t="FALSE";else if(""===t||null==t)return"";return I(a[1],t,n,a[0])}function D(e,t){if("number"!=typeof t){t=+t||-1;for(var n=0;n<392;++n)if(null!=p[n]){if(p[n]==e){t=n;break}}else t<0&&(t=n);t<0&&(t=391)}return p[t]=e,t}e.load=D,e._table=p,e.get_table=function(){return p},e.load_table=function(e){for(var t=0;392!=t;++t)void 0!==e[t]&&D(e[t],t)},e.init_table=d,e.format=F};R(T);var N={"General Number":"General","General Date":T._table[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":T._table[15],"Short Date":T._table[14],"Long Time":T._table[19],"Medium Time":T._table[18],"Short Time":T._table[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:T._table[2],Standard:T._table[4],Percent:T._table[10],Scientific:T._table[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'},B={5:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',23:"General",24:"General",25:"General",26:"General",27:"m/d/yy",28:"m/d/yy",29:"m/d/yy",30:"m/d/yy",31:"m/d/yy",32:"h:mm:ss",33:"h:mm:ss",34:"h:mm:ss",35:"h:mm:ss",36:"m/d/yy",41:'_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* (#,##0);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)',50:"m/d/yy",51:"m/d/yy",52:"m/d/yy",53:"m/d/yy",54:"m/d/yy",55:"m/d/yy",56:"m/d/yy",57:"m/d/yy",58:"m/d/yy",59:"0",60:"0.00",61:"#,##0",62:"#,##0.00",63:'"$"#,##0_);\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',67:"0%",68:"0.00%",69:"# ?/?",70:"# ??/??",71:"m/d/yy",72:"m/d/yy",73:"d-mmm-yy",74:"d-mmm",75:"mmm-yy",76:"h:mm",77:"h:mm:ss",78:"m/d/yy h:mm",79:"mm:ss",80:"[h]:mm:ss",81:"mmss.0"},I=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;var L;!function(e){e.version="1.2.0";var t=function(){for(var e=0,t=new Array(256),n=0;256!=n;++n)e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=n)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1,t[n]=e;return"undefined"!=typeof Int32Array?new Int32Array(t):t}();e.table=t,e.bstr=function(e,n){for(var r=-1^n,a=e.length-1,i=0;i<a;)r=(r=r>>>8^t[255&(r^e.charCodeAt(i++))])>>>8^t[255&(r^e.charCodeAt(i++))];return i===a&&(r=r>>>8^t[255&(r^e.charCodeAt(i))]),-1^r},e.buf=function(e,n){if(e.length>1e4)return function(e,n){for(var r=-1^n,a=e.length-7,i=0;i<a;)r=(r=(r=(r=(r=(r=(r=(r=r>>>8^t[255&(r^e[i++])])>>>8^t[255&(r^e[i++])])>>>8^t[255&(r^e[i++])])>>>8^t[255&(r^e[i++])])>>>8^t[255&(r^e[i++])])>>>8^t[255&(r^e[i++])])>>>8^t[255&(r^e[i++])])>>>8^t[255&(r^e[i++])];for(;i<a+7;)r=r>>>8^t[255&(r^e[i++])];return-1^r}(e,n);for(var r=-1^n,a=e.length-3,i=0;i<a;)r=(r=(r=(r=r>>>8^t[255&(r^e[i++])])>>>8^t[255&(r^e[i++])])>>>8^t[255&(r^e[i++])])>>>8^t[255&(r^e[i++])];for(;i<a+3;)r=r>>>8^t[255&(r^e[i++])];return-1^r},e.str=function(e,n){for(var r,a,i=-1^n,o=0,s=e.length;o<s;)(r=e.charCodeAt(o++))<128?i=i>>>8^t[255&(i^r)]:r<2048?i=(i=i>>>8^t[255&(i^(192|r>>6&31))])>>>8^t[255&(i^(128|63&r))]:r>=55296&&r<57344?(r=64+(1023&r),a=1023&e.charCodeAt(o++),i=(i=(i=(i=i>>>8^t[255&(i^(240|r>>8&7))])>>>8^t[255&(i^(128|r>>2&63))])>>>8^t[255&(i^(128|a>>6&15|(3&r)<<4))])>>>8^t[255&(i^(128|63&a))]):i=(i=(i=i>>>8^t[255&(i^(224|r>>12&15))])>>>8^t[255&(i^(128|r>>6&63))])>>>8^t[255&(i^(128|63&r))];return-1^i}}(L={});var O,P=function(){var e,t={};function n(e){if("/"==e.charAt(e.length-1))return-1===e.slice(0,-1).indexOf("/")?e:n(e.slice(0,-1));var t=e.lastIndexOf("/");return-1===t?e:e.slice(0,t+1)}function r(e){if("/"==e.charAt(e.length-1))return r(e.slice(0,-1));var t=e.lastIndexOf("/");return-1===t?e:e.slice(t+1)}function a(e,t){"string"==typeof t&&(t=new Date(t));var n=t.getHours();n=(n=n<<6|t.getMinutes())<<5|t.getSeconds()>>>1,e._W(2,n);var r=t.getFullYear()-1980;r=(r=r<<4|t.getMonth()+1)<<5|t.getDate(),e._W(2,r)}function i(e){It(e,0);for(var t={},n=0;e.l<=e.length-4;){var r=e._R(2),a=e._R(2),i=e.l+a,o={};switch(r){case 21589:1&(n=e._R(1))&&(o.mtime=e._R(4)),a>5&&(2&n&&(o.atime=e._R(4)),4&n&&(o.ctime=e._R(4))),o.mtime&&(o.mt=new Date(1e3*o.mtime))}e.l=i,t[r]=o}return t}function o(){return e||(e=require("fs"))}function s(e,t){if(80==e[0]&&75==e[1])return le(e,t);if(e.length<512)throw new Error("CFB file size "+e.length+" < 512");var n,r,a,i,o,s,l=512,c=[],f=e.slice(0,512);It(f,0);var h=function(e){if(80==e[e.l]&&75==e[e.l+1])return[0,0];e.chk(E,"Header Signature: "),e.l+=16;var t=e._R(2,"u");return[e._R(2,"u"),t]}(f);switch(n=h[0]){case 3:l=512;break;case 4:l=4096;break;case 0:if(0==h[1])return le(e,t);default:throw new Error("Major Version: Expected 3 or 4 saw "+n)}512!==l&&It(f=e.slice(0,l),28);var d=e.slice(0,l);!function(e,t){var n=9;switch(e.l+=2,n=e._R(2)){case 9:if(3!=t)throw new Error("Sector Shift: Expected 9 saw "+n);break;case 12:if(4!=t)throw new Error("Sector Shift: Expected 12 saw "+n);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+n)}e.chk("0600","Mini Sector Shift: "),e.chk("000000000000","Reserved: ")}(f,n);var p=f._R(4,"i");if(3===n&&0!==p)throw new Error("# Directory Sectors: Expected 0 saw "+p);f.l+=4,i=f._R(4,"i"),f.l+=4,f.chk("00100000","Mini Stream Cutoff Size: "),o=f._R(4,"i"),r=f._R(4,"i"),s=f._R(4,"i"),a=f._R(4,"i");for(var g=-1,m=0;m<109&&!((g=f._R(4,"i"))<0);++m)c[m]=g;var v=function(e,t){for(var n=Math.ceil(e.length/t)-1,r=[],a=1;a<n;++a)r[a-1]=e.slice(a*t,(a+1)*t);return r[n-1]=e.slice(n*t),r}(e,l);!function e(t,n,r,a,i){var o=x;if(t===x){if(0!==n)throw new Error("DIFAT chain shorter than expected")}else if(-1!==t){var s=r[t],l=(a>>>2)-1;if(!s)return;for(var c=0;c<l&&(o=_t(s,4*c))!==x;++c)i.push(o);e(_t(s,a-4),n-1,r,a,i)}}(s,a,v,l,c);var b=function(e,t,n,r){var a=e.length,i=[],o=[],s=[],l=[],c=r-1,u=0,f=0,h=0,d=0;for(u=0;u<a;++u)if(s=[],(h=u+t)>=a&&(h-=a),!o[h]){l=[];var p=[];for(f=h;f>=0;){p[f]=!0,o[f]=!0,s[s.length]=f,l.push(e[f]);var g=n[Math.floor(4*f/r)];if(r<4+(d=4*f&c))throw new Error("FAT boundary crossed: "+f+" 4 "+r);if(!e[g])break;if(f=_t(e[g],d),p[f])break}i[h]={nodes:s,data:tt([l])}}return i}(v,i,c,l);b[i].name="!Directory",r>0&&o!==x&&(b[o].name="!MiniFAT"),b[c[0]].name="!FAT",b.fat_addrs=c,b.ssz=l;var y=[],w=[],S=[];u(i,b,v,y,r,{},w,o),function(e,t,n){for(var r=0,a=0,i=0,o=0,s=0,l=n.length,c=[],u=[];r<l;++r)c[r]=u[r]=r,t[r]=n[r];for(;s<u.length;++s)r=u[s],a=e[r].L,i=e[r].R,o=e[r].C,c[r]===r&&(-1!==a&&c[a]!==a&&(c[r]=c[a]),-1!==i&&c[i]!==i&&(c[r]=c[i])),-1!==o&&(c[o]=r),-1!==a&&r!=c[r]&&(c[a]=c[r],u.lastIndexOf(a)<s&&u.push(a)),-1!==i&&r!=c[r]&&(c[i]=c[r],u.lastIndexOf(i)<s&&u.push(i));for(r=1;r<l;++r)c[r]===r&&(-1!==i&&c[i]!==i?c[r]=c[i]:-1!==a&&c[a]!==a&&(c[r]=c[a]));for(r=1;r<l;++r)if(0!==e[r].type){if((s=r)!=c[s])do{s=c[s],t[r]=t[s]+"/"+t[r]}while(0!==s&&-1!==c[s]&&s!=c[s]);c[r]=-1}for(t[0]+="/",r=1;r<l;++r)2!==e[r].type&&(t[r]+="/")}(w,S,y),y.shift();var _={FileIndex:w,FullPaths:S};return t&&t.raw&&(_.raw={header:d,sectors:v}),_}function l(e,t,n){for(var r=e.start,a=e.size,i=[],o=r;n&&a>0&&o>=0;)i.push(t.slice(o*b,o*b+b)),a-=b,o=_t(n,4*o);return 0===i.length?Ot(0):k(i).slice(0,e.size)}function c(e,t,n,r,a){var i=[],o=[];a||(a=[]);var s=r-1,l=0,c=0;for(l=t;l>=0;){a[l]=!0,i[i.length]=l,o.push(e[l]);var u=n[Math.floor(4*l/r)];if(r<4+(c=4*l&s))throw new Error("FAT boundary crossed: "+l+" 4 "+r);if(!e[u])break;l=_t(e[u],c)}return{nodes:i,data:tt([o])}}function u(e,t,n,r,a,i,o,s){for(var u,h=0,d=r.length?2:0,p=t[e].data,g=0,m=0;g<p.length;g+=128){var v=p.slice(g,g+128);It(v,64),m=v._R(2),u=rt(v,0,m-d),r.push(u);var b={name:u,type:v._R(1),color:v._R(1),L:v._R(4,"i"),R:v._R(4,"i"),C:v._R(4,"i"),clsid:v._R(16),state:v._R(4,"i"),start:0,size:0};0!==v._R(2)+v._R(2)+v._R(2)+v._R(2)&&(b.ct=f(v,v.l-8)),0!==v._R(2)+v._R(2)+v._R(2)+v._R(2)&&(b.mt=f(v,v.l-8)),b.start=v._R(4,"i"),b.size=v._R(4,"i"),b.size<0&&b.start<0&&(b.size=b.type=0,b.start=x,b.name=""),5===b.type?(h=b.start,a>0&&h!==x&&(t[h].name="!StreamData")):b.size>=4096?(b.storage="fat",void 0===t[b.start]&&(t[b.start]=c(n,b.start,t.fat_addrs,t.ssz)),t[b.start].name=b.name,b.content=t[b.start].data.slice(0,b.size)):(b.storage="minifat",b.size<0?b.size=0:h!==x&&b.start!==x&&t[h]&&(b.content=l(b,t[h].data,(t[s]||{}).data))),b.content&&It(b.content,0),i[u]=b,o.push(b)}}function f(e,t){return new Date(1e3*(Et(e,t+4)/1e7*Math.pow(2,32)+Et(e,t)/1e7-11644473600))}function h(e,t){var n=t||{},r=n.root||"Root Entry";if(e.FullPaths||(e.FullPaths=[]),e.FileIndex||(e.FileIndex=[]),e.FullPaths.length!==e.FileIndex.length)throw new Error("inconsistent CFB structure");0===e.FullPaths.length&&(e.FullPaths[0]=r+"/",e.FileIndex[0]={name:r,type:5}),n.CLSID&&(e.FileIndex[0].clsid=n.CLSID),function(e){var t="Sh33tJ5";if(P.find(e,"/"+t))return;var n=Ot(4);n[0]=55,n[1]=n[3]=50,n[2]=54,e.FileIndex.push({name:t,type:2,content:n,size:4,L:69,R:69,C:69}),e.FullPaths.push(e.FullPaths[0]+t),d(e)}(e)}function d(e,t){h(e);for(var a=!1,i=!1,o=e.FullPaths.length-1;o>=0;--o){var s=e.FileIndex[o];switch(s.type){case 0:i?a=!0:(e.FileIndex.pop(),e.FullPaths.pop());break;case 1:case 2:case 5:i=!0,isNaN(s.R*s.L*s.C)&&(a=!0),s.R>-1&&s.L>-1&&s.R==s.L&&(a=!0);break;default:a=!0}}if(a||t){var l=new Date(1987,1,19),c=0,u=[];for(o=0;o<e.FullPaths.length;++o)0!==e.FileIndex[o].type&&u.push([e.FullPaths[o],e.FileIndex[o]]);for(o=0;o<u.length;++o){var f=n(u[o][0]);for(i=!1,c=0;c<u.length;++c)u[c][0]===f&&(i=!0);i||u.push([f,{name:r(f).replace("/",""),type:1,clsid:T,ct:l,mt:l,content:null}])}for(u.sort(function(e,t){return function(e,t){for(var n=e.split("/"),r=t.split("/"),a=0,i=0,o=Math.min(n.length,r.length);a<o;++a){if(i=n[a].length-r[a].length)return i;if(n[a]!=r[a])return n[a]<r[a]?-1:1}return n.length-r.length}(e[0],t[0])}),e.FullPaths=[],e.FileIndex=[],o=0;o<u.length;++o)e.FullPaths[o]=u[o][0],e.FileIndex[o]=u[o][1];for(o=0;o<u.length;++o){var d=e.FileIndex[o],p=e.FullPaths[o];if(d.name=r(p).replace("/",""),d.L=d.R=d.C=-(d.color=1),d.size=d.content?d.content.length:0,d.start=0,d.clsid=d.clsid||T,0===o)d.C=u.length>1?1:-1,d.size=0,d.type=5;else if("/"==p.slice(-1)){for(c=o+1;c<u.length&&n(e.FullPaths[c])!=p;++c);for(d.C=c>=u.length?-1:c,c=o+1;c<u.length&&n(e.FullPaths[c])!=n(p);++c);d.R=c>=u.length?-1:c,d.type=1}else n(e.FullPaths[o+1]||"")==n(p)&&(d.R=o+1),d.type=2}}}function p(e,t){var n=t||{};if(d(e),"zip"==n.fileType)return ue(e,n);var r=function(e){for(var t=0,n=0,r=0;r<e.FileIndex.length;++r){var a=e.FileIndex[r];if(a.content){var i=a.content.length;i>0&&(i<4096?t+=i+63>>6:n+=i+511>>9)}}for(var o=e.FullPaths.length+3>>2,s=t+127>>7,l=(t+7>>3)+n+o+s,c=l+127>>7,u=c<=109?0:Math.ceil((c-109)/127);l+c+u+127>>7>c;)u=++c<=109?0:Math.ceil((c-109)/127);var f=[1,u,c,s,o,n,t,0];return e.FileIndex[0].size=t<<6,f[7]=(e.FileIndex[0].start=f[0]+f[1]+f[2]+f[3]+f[4]+f[5])+(f[6]+7>>3),f}(e),a=Ot(r[7]<<9),i=0,o=0;for(i=0;i<8;++i)a._W(1,_[i]);for(i=0;i<8;++i)a._W(2,0);for(a._W(2,62),a._W(2,3),a._W(2,65534),a._W(2,9),a._W(2,6),i=0;i<3;++i)a._W(2,0);for(a._W(4,0),a._W(4,r[2]),a._W(4,r[0]+r[1]+r[2]+r[3]-1),a._W(4,0),a._W(4,4096),a._W(4,r[3]?r[0]+r[1]+r[2]-1:x),a._W(4,r[3]),a._W(-4,r[1]?r[0]-1:x),a._W(4,r[1]),i=0;i<109;++i)a._W(-4,i<r[2]?r[1]+i:-1);if(r[1])for(o=0;o<r[1];++o){for(;i<236+127*o;++i)a._W(-4,i<r[2]?r[1]+i:-1);a._W(-4,o===r[1]-1?x:o+1)}var s=function(e){for(o+=e;i<o-1;++i)a._W(-4,i+1);e&&(++i,a._W(-4,x))};for(o=i=0,o+=r[1];i<o;++i)a._W(-4,R.DIFSECT);for(o+=r[2];i<o;++i)a._W(-4,R.FATSECT);s(r[3]),s(r[4]);for(var l=0,c=0,u=e.FileIndex[0];l<e.FileIndex.length;++l)(u=e.FileIndex[l]).content&&((c=u.content.length)<4096||(u.start=o,s(c+511>>9)));for(s(r[6]+7>>3);511&a.l;)a._W(-4,R.ENDOFCHAIN);for(o=i=0,l=0;l<e.FileIndex.length;++l)(u=e.FileIndex[l]).content&&(!(c=u.content.length)||c>=4096||(u.start=o,s(c+63>>6)));for(;511&a.l;)a._W(-4,R.ENDOFCHAIN);for(i=0;i<r[4]<<2;++i){var f=e.FullPaths[i];if(f&&0!==f.length){u=e.FileIndex[i],0===i&&(u.start=u.size?u.start-1:x);var h=0===i&&n.root||u.name;if(c=2*(h.length+1),a._W(64,h,"utf16le"),a._W(2,c),a._W(1,u.type),a._W(1,u.color),a._W(-4,u.L),a._W(-4,u.R),a._W(-4,u.C),u.clsid)a._W(16,u.clsid,"hex");else for(l=0;l<4;++l)a._W(4,0);a._W(4,u.state||0),a._W(4,0),a._W(4,0),a._W(4,0),a._W(4,0),a._W(4,u.start),a._W(4,u.size),a._W(4,0)}else{for(l=0;l<17;++l)a._W(4,0);for(l=0;l<3;++l)a._W(4,-1);for(l=0;l<12;++l)a._W(4,0)}}for(i=1;i<e.FileIndex.length;++i)if((u=e.FileIndex[i]).size>=4096){for(a.l=u.start+1<<9,l=0;l<u.size;++l)a._W(1,u.content[l]);for(;511&l;++l)a._W(1,0)}for(i=1;i<e.FileIndex.length;++i)if((u=e.FileIndex[i]).size>0&&u.size<4096){for(l=0;l<u.size;++l)a._W(1,u.content[l]);for(;63&l;++l)a._W(1,0)}for(;a.l<a.length;)a._W(1,0);return a}t.version="1.1.4";var v,b=64,x=-2,E="d0cf11e0a1b11ae1",_=[208,207,17,224,161,177,26,225],T="00000000000000000000000000000000",R={MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:x,FREESECT:-1,HEADER_SIGNATURE:E,HEADER_MINOR_VERSION:"3e00",MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:T,EntryTypes:["unknown","storage","stream","lockbytes","property","root"]};function N(e){for(var t=new Array(e.length),n=0;n<e.length;++n)t[n]=String.fromCharCode(e[n]);return t.join("")}function B(e){return v?v.deflateRawSync(e):Y(e)}var I=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],O=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258],F=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577];function D(e){var t=139536&(e<<1|e<<11)|558144&(e<<5|e<<15);return 255&(t>>16|t>>8|t)}for(var M="undefined"!=typeof Uint8Array,j=M?new Uint8Array(256):[],W=0;W<256;++W)j[W]=D(W);function U(e,t){var n=j[255&e];return t<=8?n>>>8-t:(n=n<<8|j[e>>8&255],t<=16?n>>>16-t:(n=n<<8|j[e>>16&255])>>>24-t)}function z(e,t){var n=7&t,r=t>>>3;return(e[r]|(n<=6?0:e[r+1]<<8))>>>n&3}function H(e,t){var n=7&t,r=t>>>3;return(e[r]|(n<=5?0:e[r+1]<<8))>>>n&7}function V(e,t){var n=7&t,r=t>>>3;return(e[r]|(n<=3?0:e[r+1]<<8))>>>n&31}function q(e,t){var n=7&t,r=t>>>3;return(e[r]|(n<=1?0:e[r+1]<<8))>>>n&127}function G(e,t,n){var r=7&t,a=t>>>3,i=(1<<n)-1,o=e[a]>>>r;return n<8-r?o&i:(o|=e[a+1]<<8-r,n<16-r?o&i:(o|=e[a+2]<<16-r,n<24-r?o&i:(o|=e[a+3]<<24-r)&i))}function X(e,t){var n=e.length,r=2*n>t?2*n:t+5,a=0;if(n>=t)return e;if(m){var i=w(r);if(e.copy)e.copy(i);else for(;a<e.length;++a)i[a]=e[a];return i}if(M){var o=new Uint8Array(r);if(o.set)o.set(e);else for(;a<e.length;++a)o[a]=e[a];return o}return e.length=r,e}function $(e){for(var t=new Array(e),n=0;n<e;++n)t[n]=0;return t}var Y=function(){var e=function(e,t){for(var n=0;n<e.length;){var r=Math.min(65535,e.length-n),a=n+r==e.length;for(t._W(1,+a),t._W(2,r),t._W(2,65535&~r);r-- >0;)t[t.l++]=e[n++]}return t.l};return function(t){var n=Ot(50+Math.floor(1.1*t.length)),r=e(t,n);return n.slice(0,r)}}();function K(e,t,n){var r=1,a=0,i=0,o=0,s=0,l=e.length,c=M?new Uint16Array(32):$(32);for(i=0;i<32;++i)c[i]=0;for(i=l;i<n;++i)e[i]=0;l=e.length;var u=M?new Uint16Array(l):$(l);for(i=0;i<l;++i)c[a=e[i]]++,r<a&&(r=a),u[i]=0;for(c[0]=0,i=1;i<=r;++i)c[i+16]=s=s+c[i-1]<<1;for(i=0;i<l;++i)0!=(s=e[i])&&(u[i]=c[s+16]++);var f=0;for(i=0;i<l;++i)if(0!=(f=e[i]))for(s=U(u[i],r)>>r-f,o=(1<<r+4-f)-1;o>=0;--o)t[s|o<<f]=15&f|i<<4;return r}var J=M?new Uint16Array(512):$(512),Z=M?new Uint16Array(32):$(32);if(!M){for(var Q=0;Q<512;++Q)J[Q]=0;for(Q=0;Q<32;++Q)Z[Q]=0}!function(){for(var e=[],t=0;t<32;t++)e.push(5);K(e,Z,32);var n=[];for(t=0;t<=143;t++)n.push(8);for(;t<=255;t++)n.push(9);for(;t<=279;t++)n.push(7);for(;t<=287;t++)n.push(8);K(n,J,288)}();var ee=M?new Uint16Array(32768):$(32768),te=M?new Uint16Array(32768):$(32768),ne=M?new Uint16Array(128):$(128),re=1,ae=1;function ie(e,t){var n=V(e,t)+257,r=V(e,t+=5)+1,a=function(e,t){var n=7&t,r=t>>>3;return(e[r]|(n<=4?0:e[r+1]<<8))>>>n&15}(e,t+=5)+4;t+=4;for(var i=0,o=M?new Uint8Array(19):$(19),s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],l=1,c=M?new Uint8Array(8):$(8),u=M?new Uint8Array(8):$(8),f=o.length,h=0;h<a;++h)o[I[h]]=i=H(e,t),l<i&&(l=i),c[i]++,t+=3;var d=0;for(c[0]=0,h=1;h<=l;++h)u[h]=d=d+c[h-1]<<1;for(h=0;h<f;++h)0!=(d=o[h])&&(s[h]=u[d]++);var p=0;for(h=0;h<f;++h)if(0!=(p=o[h])){d=j[s[h]]>>8-p;for(var g=(1<<7-p)-1;g>=0;--g)ne[d|g<<p]=7&p|h<<3}var m=[];for(l=1;m.length<n+r;)switch(t+=7&(d=ne[q(e,t)]),d>>>=3){case 16:for(i=3+z(e,t),t+=2,d=m[m.length-1];i-- >0;)m.push(d);break;case 17:for(i=3+H(e,t),t+=3;i-- >0;)m.push(0);break;case 18:for(i=11+q(e,t),t+=7;i-- >0;)m.push(0);break;default:m.push(d),l<d&&(l=d)}var v=m.slice(0,n),b=m.slice(n);for(h=n;h<286;++h)v[h]=0;for(h=r;h<30;++h)b[h]=0;return re=K(v,ee,286),ae=K(b,te,30),t}function oe(e,t){var n=function(e,t){if(3==e[0]&&!(3&e[1]))return[y(t),2];for(var n=0,r=0,a=w(t||1<<18),i=0,o=a.length>>>0,s=0,l=0;0==(1&r);)if(r=H(e,n),n+=3,r>>>1!=0)for(r>>>1==1?(s=9,l=5):(n=ie(e,n),s=re,l=ae),!t&&o<i+32767&&(o=(a=X(a,i+32767)).length);;){var c=G(e,n,s),u=r>>>1==1?J[c]:ee[c];if(n+=15&u,0==((u>>>=4)>>>8&255))a[i++]=u;else{if(256==u)break;var f=(u-=257)<8?0:u-4>>2;f>5&&(f=0);var h=i+O[u];f>0&&(h+=G(e,n,f),n+=f),c=G(e,n,l),n+=15&(u=r>>>1==1?Z[c]:te[c]);var d=(u>>>=4)<4?0:u-2>>1,p=F[u];for(d>0&&(p+=G(e,n,d),n+=d),!t&&o<h&&(o=(a=X(a,h)).length);i<h;)a[i]=a[i-p],++i}}else{7&n&&(n+=8-(7&n));var g=e[n>>>3]|e[1+(n>>>3)]<<8;if(n+=32,!t&&o<i+g&&(o=(a=X(a,i+g)).length),"function"==typeof e.copy)e.copy(a,i,n>>>3,(n>>>3)+g),i+=g,n+=8*g;else for(;g-- >0;)a[i++]=e[n>>>3],n+=8}return[t?a:a.slice(0,i),n+7>>>3]}(e.slice(e.l||0),t);return e.l+=n[1],n[0]}function se(e,t){if(!e)throw new Error(t);"undefined"!=typeof console&&console.error(t)}function le(e,t){var n=e;It(n,0);var r={FileIndex:[],FullPaths:[]};h(r,{root:t.root});for(var a=n.length-4;(80!=n[a]||75!=n[a+1]||5!=n[a+2]||6!=n[a+3])&&a>=0;)--a;n.l=a+4,n.l+=4;var o=n._R(2);n.l+=6;var s=n._R(4);for(n.l=s,a=0;a<o;++a){n.l+=20;var l=n._R(4),c=n._R(4),u=n._R(2),f=n._R(2),d=n._R(2);n.l+=8;var p=n._R(4),g=i(n.slice(n.l+u,n.l+u+f));n.l+=u+f+d;var m=n.l;n.l=p+4,ce(n,l,c,r,g),n.l=m}return r}function ce(e,t,n,r,a){e.l+=2;var o=e._R(2),s=e._R(2),l=function(e){var t=65535&e._R(2),n=65535&e._R(2),r=new Date,a=31&n,i=15&(n>>>=5);n>>>=4,r.setMilliseconds(0),r.setFullYear(n+1980),r.setMonth(i-1),r.setDate(a);var o=31&t,s=63&(t>>>=5);return t>>>=6,r.setHours(t),r.setMinutes(s),r.setSeconds(o<<1),r}(e);if(8257&o)throw new Error("Unsupported ZIP encryption");for(var c=e._R(4),u=e._R(4),f=e._R(4),h=e._R(2),d=e._R(2),p="",g=0;g<h;++g)p+=String.fromCharCode(e[e.l++]);if(d){var m=i(e.slice(e.l,e.l+d));(m[21589]||{}).mt&&(l=m[21589].mt),((a||{})[21589]||{}).mt&&(l=a[21589].mt)}e.l+=d;var b=e.slice(e.l,e.l+u);switch(s){case 8:b=function(e,t){if(!v)return oe(e,t);var n=new(0,v.InflateRaw),r=n._processChunk(e.slice(e.l),n._finishFlushFlag);return e.l+=n.bytesRead,r}(e,f);break;case 0:break;default:throw new Error("Unsupported ZIP Compression method "+s)}var y=!1;8&o&&(134695760==(c=e._R(4))&&(c=e._R(4),y=!0),u=e._R(4),f=e._R(4)),u!=t&&se(y,"Bad compressed size: "+t+" != "+u),f!=n&&se(y,"Bad uncompressed size: "+n+" != "+f);var w=L.buf(b,0);c>>0!=w>>0&&se(y,"Bad CRC32 checksum: "+c+" != "+w),fe(r,p,b,{unsafe:!0,mt:l})}function ue(e,t){var n=t||{},r=[],i=[],o=Ot(1),s=n.compression?8:0,l=0;var c=0,u=0,f=0,h=0,d=e.FullPaths[0],p=d,g=e.FileIndex[0],m=[],v=0;for(c=1;c<e.FullPaths.length;++c)if(p=e.FullPaths[c].slice(d.length),(g=e.FileIndex[c]).size&&g.content&&"Sh33tJ5"!=p){var b=f,y=Ot(p.length);for(u=0;u<p.length;++u)y._W(1,127&p.charCodeAt(u));y=y.slice(0,y.l),m[h]=L.buf(g.content,0);var w=g.content;8==s&&(w=B(w)),(o=Ot(30))._W(4,67324752),o._W(2,20),o._W(2,l),o._W(2,s),g.mt?a(o,g.mt):o._W(4,0),o._W(-4,8&l?0:m[h]),o._W(4,8&l?0:w.length),o._W(4,8&l?0:g.content.length),o._W(2,y.length),o._W(2,0),f+=o.length,r.push(o),f+=y.length,r.push(y),f+=w.length,r.push(w),8&l&&((o=Ot(12))._W(-4,m[h]),o._W(4,w.length),o._W(4,g.content.length),f+=o.l,r.push(o)),(o=Ot(46))._W(4,33639248),o._W(2,0),o._W(2,20),o._W(2,l),o._W(2,s),o._W(4,0),o._W(-4,m[h]),o._W(4,w.length),o._W(4,g.content.length),o._W(2,y.length),o._W(2,0),o._W(2,0),o._W(2,0),o._W(2,0),o._W(4,0),o._W(4,b),v+=o.l,i.push(o),v+=y.length,i.push(y),++h}return(o=Ot(22))._W(4,101010256),o._W(2,0),o._W(2,0),o._W(2,h),o._W(2,h),o._W(4,v),o._W(4,f),o._W(2,0),k([k(r),k(i),o])}function fe(e,t,n,a){var i=a&&a.unsafe;i||h(e);var o=!i&&P.find(e,t);if(!o){var s=e.FullPaths[0];t.slice(0,s.length)==s?s=t:("/"!=s.slice(-1)&&(s+="/"),s=(s+t).replace("//","/")),o={name:r(t),type:2},e.FileIndex.push(o),e.FullPaths.push(s),i||P.utils.cfb_gc(e)}return o.content=n,o.size=n?n.length:0,a&&(a.CLSID&&(o.clsid=a.CLSID),a.mt&&(o.mt=a.mt),a.ct&&(o.ct=a.ct)),o}return t.find=function(e,t){var n=e.FullPaths.map(function(e){return e.toUpperCase()}),r=n.map(function(e){var t=e.split("/");return t[t.length-("/"==e.slice(-1)?2:1)]}),a=!1;47===t.charCodeAt(0)?(a=!0,t=n[0].slice(0,-1)+t):a=-1!==t.indexOf("/");var i=t.toUpperCase(),o=!0===a?n.indexOf(i):r.indexOf(i);if(-1!==o)return e.FileIndex[o];var s=!i.match(C);for(i=i.replace(A,""),s&&(i=i.replace(C,"!")),o=0;o<n.length;++o){if((s?n[o].replace(C,"!"):n[o]).replace(A,"")==i)return e.FileIndex[o];if((s?r[o].replace(C,"!"):r[o]).replace(A,"")==i)return e.FileIndex[o]}return null},t.read=function(t,n){switch(n&&n.type||"base64"){case"file":return function(t,n){return o(),s(e.readFileSync(t),n)}(t,n);case"base64":return s(S(g.decode(t)),n);case"binary":return s(S(t),n)}return s(t,n)},t.parse=s,t.write=function(t,n){var r=p(t,n);switch(n&&n.type){case"file":return o(),e.writeFileSync(n.filename,r),r;case"binary":return N(r);case"base64":return g.encode(N(r))}return r},t.writeFile=function(t,n,r){o();var a=p(t,r);e.writeFileSync(n,a)},t.utils={cfb_new:function(e){var t={};return h(t,e),t},cfb_add:fe,cfb_del:function(e,t){h(e);var n=P.find(e,t);if(n)for(var r=0;r<e.FileIndex.length;++r)if(e.FileIndex[r]==n)return e.FileIndex.splice(r,1),e.FullPaths.splice(r,1),!0;return!1},cfb_mov:function(e,t,n){h(e);var a=P.find(e,t);if(a)for(var i=0;i<e.FileIndex.length;++i)if(e.FileIndex[i]==a)return e.FileIndex[i].name=r(n),e.FullPaths[i]=n,!0;return!1},cfb_gc:function(e){d(e,!0)},ReadShift:At,CheckField:Bt,prep_blob:It,bconcat:k,use_zlib:function(e){try{var t=new(0,e.InflateRaw);if(t._processChunk(new Uint8Array([3,0]),t._finishFlushFlag),!t.bytesRead)throw new Error("zlib does not expose bytesRead");v=e}catch(e){console.error("cannot use native zlib: "+(e.message||e))}},_deflateRaw:Y,_inflateRaw:oe,consts:R},t}();if("undefined"!=typeof require)try{O=require("fs")}catch(e){}function F(e){return"string"==typeof e?x(e):Array.isArray(e)?function(e){if("undefined"==typeof Uint8Array)throw new Error("Unsupported");return new Uint8Array(e)}(e):e}function D(e,t,n){if(void 0!==O&&O.writeFileSync)return n?O.writeFileSync(e,t,n):O.writeFileSync(e,t);var r="utf8"==n?Fe(t):t;if("undefined"!=typeof IE_SaveFile)return IE_SaveFile(r,e);if("undefined"!=typeof Blob){var a=new Blob([F(r)],{type:"application/octet-stream"});if("undefined"!=typeof navigator&&navigator.msSaveBlob)return navigator.msSaveBlob(a,e);if(void 0!==saveAs)return saveAs(a,e);if("undefined"!=typeof URL&&"undefined"!=typeof document&&document.createElement&&URL.createObjectURL){var i=URL.createObjectURL(a);if("object"==typeof chrome&&"function"==typeof(chrome.downloads||{}).download)return URL.revokeObjectURL&&"undefined"!=typeof setTimeout&&setTimeout(function(){URL.revokeObjectURL(i)},6e4),chrome.downloads.download({url:i,filename:e,saveAs:!0});var o=document.createElement("a");if(null!=o.download)return o.download=e,o.href=i,document.body.appendChild(o),o.click(),document.body.removeChild(o),URL.revokeObjectURL&&"undefined"!=typeof setTimeout&&setTimeout(function(){URL.revokeObjectURL(i)},6e4),i}}if("undefined"!=typeof $&&"undefined"!=typeof File&&"undefined"!=typeof Folder)try{var s=File(e);return s.open("w"),s.encoding="binary",Array.isArray(t)&&(t=E(t)),s.write(t),s.close(),t}catch(e){if(!e.message||!e.message.match(/onstruct/))throw e}throw new Error("cannot save file "+e)}function M(e){for(var t=Object.keys(e),n=[],r=0;r<t.length;++r)Object.prototype.hasOwnProperty.call(e,t[r])&&n.push(t[r]);return n}function j(e,t){for(var n=[],r=M(e),a=0;a!==r.length;++a)null==n[e[r[a]][t]]&&(n[e[r[a]][t]]=r[a]);return n}function W(e){for(var t=[],n=M(e),r=0;r!==n.length;++r)t[e[n[r]]]=n[r];return t}function U(e){for(var t=[],n=M(e),r=0;r!==n.length;++r)t[e[n[r]]]=parseInt(n[r],10);return t}var z=new Date(1899,11,30,0,0,0);function H(e,t){var n=e.getTime();return t&&(n-=1263168e5),(n-(z.getTime()+6e4*(e.getTimezoneOffset()-z.getTimezoneOffset())))/864e5}var V=new Date,q=z.getTime()+6e4*(V.getTimezoneOffset()-z.getTimezoneOffset()),G=V.getTimezoneOffset();function X(e){var t=new Date;return t.setTime(24*e*60*60*1e3+q),t.getTimezoneOffset()!==G&&t.setTime(t.getTime()+6e4*(t.getTimezoneOffset()-G)),t}function Y(e){var t=0,n=0,r=!1,a=e.match(/P([0-9\.]+Y)?([0-9\.]+M)?([0-9\.]+D)?T([0-9\.]+H)?([0-9\.]+M)?([0-9\.]+S)?/);if(!a)throw new Error("|"+e+"| is not an ISO8601 Duration");for(var i=1;i!=a.length;++i)if(a[i]){switch(n=1,i>3&&(r=!0),a[i].slice(a[i].length-1)){case"Y":throw new Error("Unsupported ISO Duration Field: "+a[i].slice(a[i].length-1));case"D":n*=24;case"H":n*=60;case"M":if(!r)throw new Error("Unsupported ISO Duration Field: M");n*=60}t+=n*parseInt(a[i],10)}return t}var K=new Date("2017-02-19T19:06:09.000Z");isNaN(K.getFullYear())&&(K=new Date("2/19/17"));var J=2017==K.getFullYear();function Z(e,t){var n=new Date(e);if(J)return t>0?n.setTime(n.getTime()+60*n.getTimezoneOffset()*1e3):t<0&&n.setTime(n.getTime()-60*n.getTimezoneOffset()*1e3),n;if(e instanceof Date)return e;if(1917==K.getFullYear()&&!isNaN(n.getFullYear())){var r=n.getFullYear();return e.indexOf(""+r)>-1?n:(n.setFullYear(n.getFullYear()+100),n)}var a=e.match(/\d+/g)||["2017","2","19","0","0","0"],i=new Date(+a[0],+a[1]-1,+a[2],+a[3]||0,+a[4]||0,+a[5]||0);return e.indexOf("Z")>-1&&(i=new Date(i.getTime()-60*i.getTimezoneOffset()*1e3)),i}function Q(e){for(var t="",n=0;n!=e.length;++n)t+=String.fromCharCode(e[n]);return t}function ee(e){if("undefined"!=typeof JSON&&!Array.isArray(e))return JSON.parse(JSON.stringify(e));if("object"!=typeof e||null==e)return e;if(e instanceof Date)return new Date(e.getTime());var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=ee(e[n]));return t}function te(e,t){for(var n="";n.length<t;)n+=e;return n}function ne(e){var t=Number(e);if(isFinite(t))return t;if(!isNaN(t))return NaN;if(!/\d/.test(e))return t;var n=1,r=e.replace(/([\d]),([\d])/g,"$1$2").replace(/[$]/g,"").replace(/[%]/g,function(){return n*=100,""});return isNaN(t=Number(r))?(r=r.replace(/[(](.*)[)]/,function(e,t){return n=-n,t}),isNaN(t=Number(r))?t:t/n):t/n}function re(e){var t=new Date(e),n=new Date(NaN),r=t.getYear(),a=t.getMonth(),i=t.getDate();return isNaN(i)?n:r<0||r>8099?n:(a>0||i>1)&&101!=r?t:e.toLowerCase().match(/jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec/)?t:e.match(/[^-0-9:,\/\\]/)?n:t}var ae,ie=5=="abacaba".split(/(:?b)/i).length;function oe(e){return e?e.data?u(e.data):e.asNodeBuffer&&m?u(e.asNodeBuffer().toString("binary")):e.asBinary?u(e.asBinary()):e._data&&e._data.getContent?u(Q(Array.prototype.slice.call(e._data.getContent(),0))):e.content&&e.type?u(Q(e.content)):null:null}function se(e){return e&&".bin"===e.name.slice(-4)?function(e){if(!e)return null;if(e.data)return c(e.data);if(e.asNodeBuffer&&m)return e.asNodeBuffer();if(e._data&&e._data.getContent){var t=e._data.getContent();return"string"==typeof t?c(t):Array.prototype.slice.call(t)}return e.content&&e.type?e.content:null}(e):oe(e)}function le(e,t){for(var n=e.FullPaths||M(e.files),r=t.toLowerCase().replace(/[\/]/g,"\\"),a=r.replace(/\\/g,"/"),i=0;i<n.length;++i){var o=n[i].replace(/^Root Entry[\/]/,"").toLowerCase();if(r==o||a==o)return e.files?e.files[n[i]]:e.FileIndex[i]}return null}function ce(e,t){var n=le(e,t);if(null==n)throw new Error("Cannot find file "+t+" in zip");return n}function ue(e,t,n){if(!n)return se(ce(e,t));if(!t)return null;try{return ue(e,t)}catch(e){return null}}function fe(e,t,n){if(!n)return oe(ce(e,t));if(!t)return null;try{return fe(e,t)}catch(e){return null}}function he(e,t,n){e.FullPaths?P.utils.cfb_add(e,t,n):e.file(t,n)}function de(){return ae?new ae:P.utils.cfb_new()}function pe(e,t){var n;if(ae)switch(t.type){case"base64":n=new ae(e,{base64:!0});break;case"binary":case"array":n=new ae(e,{base64:!1});break;case"buffer":n=new ae(e);break;default:throw new Error("Unrecognized type "+t.type)}else switch(t.type){case"base64":n=P.read(e,{type:"base64"});break;case"binary":n=P.read(e,{type:"binary"});break;case"buffer":case"array":n=P.read(e,{type:"buffer"});break;default:throw new Error("Unrecognized type "+t.type)}return n}function ge(e,t){if("/"==e.charAt(0))return e.slice(1);var n=t.split("/");"/"!=t.slice(-1)&&n.pop();for(var r=e.split("/");0!==r.length;){var a=r.shift();".."===a?n.pop():"."!==a&&n.push(a)}return n.join("/")}"undefined"!=typeof JSZipSync&&(ae=JSZipSync),"undefined"!=typeof exports&&"undefined"!=typeof module&&module.exports&&void 0===ae&&(ae=void 0);var me='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r\n',ve=/([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g,be=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s*[\/\?]?>/gm;me.match(be)||(be=/<[^>]*>/g);var ye=/<\w*:/,we=/<(\/?)\w+:/;function Se(e,t,n){for(var r={},a=0,i=0;a!==e.length&&(32!==(i=e.charCodeAt(a))&&10!==i&&13!==i);++a);if(t||(r[0]=e.slice(0,a)),a===e.length)return r;var o=e.match(ve),s=0,l="",c=0,u="",f="",h=1;if(o)for(c=0;c!=o.length;++c){for(f=o[c],i=0;i!=f.length&&61!==f.charCodeAt(i);++i);for(u=f.slice(0,i).trim();32==f.charCodeAt(i+1);)++i;for(h=34==(a=f.charCodeAt(i+1))||39==a?1:0,l=f.slice(i+1+h,f.length-h),s=0;s!=u.length&&58!==u.charCodeAt(s);++s);if(s===u.length)u.indexOf("_")>0&&(u=u.slice(0,u.indexOf("_"))),r[u]=l,n||(r[u.toLowerCase()]=l);else{var d=(5===s&&"xmlns"===u.slice(0,5)?"xmlns":"")+u.slice(s+1);if(r[d]&&"ext"==u.slice(s-3,s))continue;r[d]=l,n||(r[d.toLowerCase()]=l)}}return r}function xe(e){return e.replace(we,"<$1")}var Ee={""":'"',"'":"'",">":">","<":"<","&":"&"},_e=W(Ee),ke=function(){var e=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/gi,t=/_x([\da-fA-F]{4})_/gi;return function n(r){var a=r+"",i=a.indexOf("<![CDATA[");if(-1==i)return a.replace(e,function(e,t){return Ee[e]||String.fromCharCode(parseInt(t,e.indexOf("x")>-1?16:10))||e}).replace(t,function(e,t){return String.fromCharCode(parseInt(t,16))});var o=a.indexOf("]]>");return n(a.slice(0,i))+a.slice(i+9,o)+n(a.slice(o+3))}}(),Ae=/[&<>'"]/g,Ce=/[\u0000-\u0008\u000b-\u001f]/g;function Te(e){return(e+"").replace(Ae,function(e){return _e[e]}).replace(Ce,function(e){return"_x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+"_"})}function Re(e){return Te(e).replace(/ /g,"_x0020_")}var Ne=/[\u0000-\u001f]/g;function Be(e){return(e+"").replace(Ae,function(e){return _e[e]}).replace(/\n/g,"<br/>").replace(Ne,function(e){return"&#x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+";"})}var Ie=function(){var e=/&#(\d+);/g;function t(e,t){return String.fromCharCode(parseInt(t,10))}return function(n){return n.replace(e,t)}}(),Le=function(e){return e.replace(/(\r\n|[\r\n])/g," ")};function Oe(e){switch(e){case 1:case!0:case"1":case"true":case"TRUE":return!0;default:return!1}}var Pe=function(e){for(var t="",n=0,r=0,a=0,i=0,o=0,s=0;n<e.length;)(r=e.charCodeAt(n++))<128?t+=String.fromCharCode(r):(a=e.charCodeAt(n++),r>191&&r<224?(o=(31&r)<<6,o|=63&a,t+=String.fromCharCode(o)):(i=e.charCodeAt(n++),r<240?t+=String.fromCharCode((15&r)<<12|(63&a)<<6|63&i):(s=((7&r)<<18|(63&a)<<12|(63&i)<<6|63&(o=e.charCodeAt(n++)))-65536,t+=String.fromCharCode(55296+(s>>>10&1023)),t+=String.fromCharCode(56320+(1023&s)))));return t},Fe=function(e){for(var t=[],n=0,r=0,a=0;n<e.length;)switch(r=e.charCodeAt(n++),!0){case r<128:t.push(String.fromCharCode(r));break;case r<2048:t.push(String.fromCharCode(192+(r>>6))),t.push(String.fromCharCode(128+(63&r)));break;case r>=55296&&r<57344:r-=55296,a=e.charCodeAt(n++)-56320+(r<<10),t.push(String.fromCharCode(240+(a>>18&7))),t.push(String.fromCharCode(144+(a>>12&63))),t.push(String.fromCharCode(128+(a>>6&63))),t.push(String.fromCharCode(128+(63&a)));break;default:t.push(String.fromCharCode(224+(r>>12))),t.push(String.fromCharCode(128+(r>>6&63))),t.push(String.fromCharCode(128+(63&r)))}return t.join("")};if(m){var De=function(e){var t,n,r,a=Buffer.alloc(2*e.length),i=1,o=0,s=0;for(n=0;n<e.length;n+=i)i=1,(r=e.charCodeAt(n))<128?t=r:r<224?(t=64*(31&r)+(63&e.charCodeAt(n+1)),i=2):r<240?(t=4096*(15&r)+64*(63&e.charCodeAt(n+1))+(63&e.charCodeAt(n+2)),i=3):(i=4,t=262144*(7&r)+4096*(63&e.charCodeAt(n+1))+64*(63&e.charCodeAt(n+2))+(63&e.charCodeAt(n+3)),s=55296+((t-=65536)>>>10&1023),t=56320+(1023&t)),0!==s&&(a[o++]=255&s,a[o++]=s>>>8,s=0),a[o++]=t%256,a[o++]=t>>>8;return a.slice(0,o).toString("ucs2")},Me="foo bar bazâð£";Pe(Me)==De(Me)&&(Pe=De);var je=function(e){return v(e,"binary").toString("utf8")};Pe(Me)==je(Me)&&(Pe=je),Fe=function(e){return v(e,"utf8").toString("binary")}}var We=function(){var e={};return function(t,n){var r=t+"|"+(n||"");return e[r]?e[r]:e[r]=new RegExp("<(?:\\w+:)?"+t+'(?: xml:space="preserve")?(?:[^>]*)>([\\s\\S]*?)</(?:\\w+:)?'+t+">",n||"")}}(),Ue=function(){var e=[["nbsp"," "],["middot","·"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map(function(e){return[new RegExp("&"+e[0]+";","ig"),e[1]]});return function(t){for(var n=t.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+</g,"<").replace(/[\t\n\r ]+/g," ").replace(/<\s*[bB][rR]\s*\/?>/g,"\n").replace(/<[^>]*>/g,""),r=0;r<e.length;++r)n=n.replace(e[r][0],e[r][1]);return n}}(),ze=function(){var e={};return function(t){return void 0!==e[t]?e[t]:e[t]=new RegExp("<(?:vt:)?"+t+">([\\s\\S]*?)</(?:vt:)?"+t+">","g")}}(),He=/<\/?(?:vt:)?variant>/g,Ve=/<(?:vt:)([^>]*)>([\s\S]*)</;function qe(e,t){var n=Se(e),r=e.match(ze(n.baseType))||[],a=[];if(r.length!=n.size){if(t.WTF)throw new Error("unexpected vector length "+r.length+" != "+n.size);return a}return r.forEach(function(e){var t=e.replace(He,"").match(Ve);t&&a.push({v:Pe(t[2]),t:t[1]})}),a}var Ge=/(^\s|\s$|\n)/;function Xe(e,t){return"<"+e+(t.match(Ge)?' xml:space="preserve"':"")+">"+t+"</"+e+">"}function $e(e){return M(e).map(function(t){return" "+t+'="'+e[t]+'"'}).join("")}function Ye(e,t,n){return"<"+e+(null!=n?$e(n):"")+(null!=t?(t.match(Ge)?' xml:space="preserve"':"")+">"+t+"</"+e:"/")+">"}function Ke(e,t){try{return e.toISOString().replace(/\.\d*/,"")}catch(e){if(t)throw e}return""}var Je={dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",mx:"http://schemas.microsoft.com/office/mac/excel/2008/main",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",sjs:"http://schemas.openxmlformats.org/package/2006/sheetjs/core-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",xsi:"http://www.w3.org/2001/XMLSchema-instance",xsd:"http://www.w3.org/2001/XMLSchema",main:["http://schemas.openxmlformats.org/spreadsheetml/2006/main","http://purl.oclc.org/ooxml/spreadsheetml/main","http://schemas.microsoft.com/office/excel/2006/main","http://schemas.microsoft.com/office/excel/2006/2"]},Ze={o:"urn:schemas-microsoft-com:office:office",x:"urn:schemas-microsoft-com:office:excel",ss:"urn:schemas-microsoft-com:office:spreadsheet",dt:"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882",mv:"http://macVmlSchemaUri",v:"urn:schemas-microsoft-com:vml",html:"http://www.w3.org/TR/REC-html40"};var Qe,et,tt=function(e){for(var t=[],n=0;n<e[0].length;++n)if(e[0][n])for(var r=0,a=e[0][n].length;r<a;r+=10240)t.push.apply(t,e[0][n].slice(r,r+10240));return t},nt=tt,rt=function(e,t,n){for(var r=[],a=t;a<n;a+=2)r.push(String.fromCharCode(St(e,a)));return r.join("").replace(A,"")},at=rt,it=function(e,t,n){for(var r=[],a=t;a<t+n;++a)r.push(("0"+e[a].toString(16)).slice(-2));return r.join("")},ot=it,st=function(e,t,n){for(var r=[],a=t;a<n;a++)r.push(String.fromCharCode(wt(e,a)));return r.join("")},lt=st,ct=function(e,t){var n=Et(e,t);return n>0?st(e,t+4,t+4+n-1):""},ut=ct,ft=function(e,t){var n=Et(e,t);return n>0?st(e,t+4,t+4+n-1):""},ht=ft,dt=function(e,t){var n=2*Et(e,t);return n>0?st(e,t+4,t+4+n-1):""},pt=dt;Qe=et=function(e,t){var n=Et(e,t);return n>0?rt(e,t+4,t+4+n):""};var gt,mt,vt=function(e,t){var n=Et(e,t);return n>0?st(e,t+4,t+4+n):""},bt=vt;gt=mt=function(e,t){return function(e,t){for(var n=1-2*(e[t+7]>>>7),r=((127&e[t+7])<<4)+(e[t+6]>>>4&15),a=15&e[t+6],i=5;i>=0;--i)a=256*a+e[t+i];return 2047==r?0==a?n*(1/0):NaN:(0==r?r=-1022:(r-=1023,a+=Math.pow(2,52)),n*Math.pow(2,r-52)*a)}(e,t)};var yt=function(e){return Array.isArray(e)};m&&(rt=function(e,t,n){return Buffer.isBuffer(e)?e.toString("utf16le",t,n).replace(A,""):at(e,t,n)},it=function(e,t,n){return Buffer.isBuffer(e)?e.toString("hex",t,t+n):ot(e,t,n)},ct=function(e,t){if(!Buffer.isBuffer(e))return ut(e,t);var n=e.readUInt32LE(t);return n>0?e.toString("utf8",t+4,t+4+n-1):""},ft=function(e,t){if(!Buffer.isBuffer(e))return ht(e,t);var n=e.readUInt32LE(t);return n>0?e.toString("utf8",t+4,t+4+n-1):""},dt=function(e,t){if(!Buffer.isBuffer(e))return pt(e,t);var n=2*e.readUInt32LE(t);return e.toString("utf16le",t+4,t+4+n-1)},Qe=function(e,t){if(!Buffer.isBuffer(e))return et(e,t);var n=e.readUInt32LE(t);return e.toString("utf16le",t+4,t+4+n)},vt=function(e,t){if(!Buffer.isBuffer(e))return bt(e,t);var n=e.readUInt32LE(t);return e.toString("utf8",t+4,t+4+n)},st=function(e,t,n){return Buffer.isBuffer(e)?e.toString("utf8",t,n):lt(e,t,n)},tt=function(e){return e[0].length>0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0]):nt(e)},k=function(e){return Buffer.isBuffer(e[0])?Buffer.concat(e):[].concat.apply([],e)},gt=function(e,t){return Buffer.isBuffer(e)?e.readDoubleLE(t):mt(e,t)},yt=function(e){return Buffer.isBuffer(e)||Array.isArray(e)}),"undefined"!=typeof cptable&&(rt=function(e,t,n){return cptable.utils.decode(1200,e.slice(t,n)).replace(A,"")},st=function(e,t,n){return cptable.utils.decode(65001,e.slice(t,n))},ct=function(e,t){var r=Et(e,t);return r>0?cptable.utils.decode(n,e.slice(t+4,t+4+r-1)):""},ft=function(e,n){var r=Et(e,n);return r>0?cptable.utils.decode(t,e.slice(n+4,n+4+r-1)):""},dt=function(e,t){var n=2*Et(e,t);return n>0?cptable.utils.decode(1200,e.slice(t+4,t+4+n-1)):""},Qe=function(e,t){var n=Et(e,t);return n>0?cptable.utils.decode(1200,e.slice(t+4,t+4+n)):""},vt=function(e,t){var n=Et(e,t);return n>0?cptable.utils.decode(65001,e.slice(t+4,t+4+n)):""});var wt=function(e,t){return e[t]},St=function(e,t){return 256*e[t+1]+e[t]},xt=function(e,t){var n=256*e[t+1]+e[t];return n<32768?n:-1*(65535-n+1)},Et=function(e,t){return e[t+3]*(1<<24)+(e[t+2]<<16)+(e[t+1]<<8)+e[t]},_t=function(e,t){return e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]},kt=function(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]};function At(e,n){var r,a,i,o,s,l,c="",u=[];switch(n){case"dbcs":if(l=this.l,m&&Buffer.isBuffer(this))c=this.slice(this.l,this.l+2*e).toString("utf16le");else for(s=0;s<e;++s)c+=String.fromCharCode(St(this,l)),l+=2;e*=2;break;case"utf8":c=st(this,this.l,this.l+e);break;case"utf16le":e*=2,c=rt(this,this.l,this.l+e);break;case"wstr":if("undefined"==typeof cptable)return At.call(this,e,"dbcs");c=cptable.utils.decode(t,this.slice(this.l,this.l+2*e)),e*=2;break;case"lpstr-ansi":c=ct(this,this.l),e=4+Et(this,this.l);break;case"lpstr-cp":c=ft(this,this.l),e=4+Et(this,this.l);break;case"lpwstr":c=dt(this,this.l),e=4+2*Et(this,this.l);break;case"lpp4":e=4+Et(this,this.l),c=Qe(this,this.l),2&e&&(e+=2);break;case"8lpp4":e=4+Et(this,this.l),c=vt(this,this.l),3&e&&(e+=4-(3&e));break;case"cstr":for(e=0,c="";0!==(i=wt(this,this.l+e++));)u.push(f(i));c=u.join("");break;case"_wstr":for(e=0,c="";0!==(i=St(this,this.l+e));)u.push(f(i)),e+=2;e+=2,c=u.join("");break;case"dbcs-cont":for(c="",l=this.l,s=0;s<e;++s){if(this.lens&&-1!==this.lens.indexOf(l))return i=wt(this,l),this.l=l+1,o=At.call(this,e-s,i?"dbcs-cont":"sbcs-cont"),u.join("")+o;u.push(f(St(this,l))),l+=2}c=u.join(""),e*=2;break;case"cpstr":if("undefined"!=typeof cptable){c=cptable.utils.decode(t,this.slice(this.l,this.l+e));break}case"sbcs-cont":for(c="",l=this.l,s=0;s!=e;++s){if(this.lens&&-1!==this.lens.indexOf(l))return i=wt(this,l),this.l=l+1,o=At.call(this,e-s,i?"dbcs-cont":"sbcs-cont"),u.join("")+o;u.push(f(wt(this,l))),l+=1}c=u.join("");break;default:switch(e){case 1:return r=wt(this,this.l),this.l++,r;case 2:return r=("i"===n?xt:St)(this,this.l),this.l+=2,r;case 4:case-4:return"i"===n||0==(128&this[this.l+3])?(r=(e>0?_t:kt)(this,this.l),this.l+=4,r):(a=Et(this,this.l),this.l+=4,a);case 8:case-8:if("f"===n)return a=8==e?gt(this,this.l):gt([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0),this.l+=8,a;e=8;case 16:c=it(this,this.l,e)}}return this.l+=e,c}var Ct=function(e,t,n){e[n]=255&t,e[n+1]=t>>>8&255,e[n+2]=t>>>16&255,e[n+3]=t>>>24&255},Tt=function(e,t,n){e[n]=255&t,e[n+1]=t>>8&255,e[n+2]=t>>16&255,e[n+3]=t>>24&255},Rt=function(e,t,n){e[n]=255&t,e[n+1]=t>>>8&255};function Nt(e,t,r){var a=0,i=0;if("dbcs"===r){for(i=0;i!=t.length;++i)Rt(this,t.charCodeAt(i),this.l+2*i);a=2*t.length}else if("sbcs"===r){if("undefined"!=typeof cptable&&874==n)for(i=0;i!=t.length;++i){var o=cptable.utils.encode(n,t.charAt(i));this[this.l+i]=o[0]}else for(t=t.replace(/[^\x00-\x7F]/g,"_"),i=0;i!=t.length;++i)this[this.l+i]=255&t.charCodeAt(i);a=t.length}else{if("hex"===r){for(;i<e;++i)this[this.l++]=parseInt(t.slice(2*i,2*i+2),16)||0;return this}if("utf16le"===r){var s=Math.min(this.l+e,this.length);for(i=0;i<Math.min(t.length,e);++i){var l=t.charCodeAt(i);this[this.l++]=255&l,this[this.l++]=l>>8}for(;this.l<s;)this[this.l++]=0;return this}switch(e){case 1:a=1,this[this.l]=255&t;break;case 2:a=2,this[this.l]=255&t,t>>>=8,this[this.l+1]=255&t;break;case 3:a=3,this[this.l]=255&t,t>>>=8,this[this.l+1]=255&t,t>>>=8,this[this.l+2]=255&t;break;case 4:a=4,Ct(this,t,this.l);break;case 8:if(a=8,"f"===r){!function(e,t,n){var r=(t<0||1/t==-1/0?1:0)<<7,a=0,i=0,o=r?-t:t;isFinite(o)?0==o?a=i=0:(a=Math.floor(Math.log(o)/Math.LN2),i=o*Math.pow(2,52-a),a<=-1023&&(!isFinite(i)||i<Math.pow(2,52))?a=-1022:(i-=Math.pow(2,52),a+=1023)):(a=2047,i=isNaN(t)?26985:0);for(var s=0;s<=5;++s,i/=256)e[n+s]=255&i;e[n+6]=(15&a)<<4|15&i,e[n+7]=a>>4|r}(this,t,this.l);break}case 16:break;case-4:a=4,Tt(this,t,this.l)}}return this.l+=a,this}function Bt(e,t){var n=it(this,this.l,e.length>>1);if(n!==e)throw new Error(t+"Expected "+e+" saw "+n);this.l+=e.length>>1}function It(e,t){e.l=t,e._R=At,e.chk=Bt,e._W=Nt}function Lt(e,t){e.l+=t}function Ot(e){var t=y(e);return It(t,0),t}function Pt(e,t,n){if(e){var r,a,i;It(e,e.l||0);for(var o=e.length,s=0,l=0;e.l<o;){128&(s=e._R(1))&&(s=(127&s)+((127&e._R(1))<<7));var c=hc[s]||hc[65535];for(i=127&(r=e._R(1)),a=1;a<4&&128&r;++a)i+=(127&(r=e._R(1)))<<7*a;l=e.l+i;var u=(c.f||Lt)(e,i,n);if(e.l=l,t(u,c.n,s))return}}}function Ft(){var e=[],t=m?256:2048,n=function(e){var t=Ot(e);return It(t,0),t},r=n(t),a=function(){r&&(r.length>r.l&&((r=r.slice(0,r.l)).l=r.length),r.length>0&&e.push(r),r=null)},i=function(e){return r&&e<r.length-r.l?r:(a(),r=n(Math.max(e+1,t)))};return{next:i,push:function(e){a(),null==(r=e).l&&(r.l=r.length),i(t)},end:function(){return a(),tt([e])},_bufs:e}}function Dt(e,t,n,r){var a,i=+dc[t];if(!isNaN(i)){r||(r=hc[i].p||(n||[]).length||0),a=1+(i>=128?1:0)+1,r>=128&&++a,r>=16384&&++a,r>=2097152&&++a;var o=e.next(a);i<=127?o._W(1,i):(o._W(1,128+(127&i)),o._W(1,i>>7));for(var s=0;4!=s;++s){if(!(r>=128)){o._W(1,r);break}o._W(1,128+(127&r)),r>>=7}r>0&&yt(n)&&e.push(n)}}function Mt(e,t,n){var r=ee(e);if(t.s?(r.cRel&&(r.c+=t.s.c),r.rRel&&(r.r+=t.s.r)):(r.cRel&&(r.c+=t.c),r.rRel&&(r.r+=t.r)),!n||n.biff<12){for(;r.c>=256;)r.c-=256;for(;r.r>=65536;)r.r-=65536}return r}function jt(e,t,n){var r=ee(e);return r.s=Mt(r.s,t.s,n),r.e=Mt(r.e,t.s,n),r}function Wt(e,t){if(e.cRel&&e.c<0)for(e=ee(e);e.c<0;)e.c+=t>8?16384:256;if(e.rRel&&e.r<0)for(e=ee(e);e.r<0;)e.r+=t>8?1048576:t>5?65536:16384;var n=Xt(e);return e.cRel||null==e.cRel||(n=function(e){return e.replace(/^([A-Z])/,"$$$1")}(n)),e.rRel||null==e.rRel||(n=function(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}(n)),n}function Ut(e,t){return 0!=e.s.r||e.s.rRel||e.e.r!=(t.biff>=12?1048575:t.biff>=8?65536:16384)||e.e.rRel?0!=e.s.c||e.s.cRel||e.e.c!=(t.biff>=12?16383:255)||e.e.cRel?Wt(e.s,t.biff)+":"+Wt(e.e,t.biff):(e.s.rRel?"":"$")+Ht(e.s.r)+":"+(e.e.rRel?"":"$")+Ht(e.e.r):(e.s.cRel?"":"$")+qt(e.s.c)+":"+(e.e.cRel?"":"$")+qt(e.e.c)}function zt(e){return parseInt(function(e){return e.replace(/\$(\d+)$/,"$1")}(e),10)-1}function Ht(e){return""+(e+1)}function Vt(e){for(var t=function(e){return e.replace(/^\$([A-Z])/,"$1")}(e),n=0,r=0;r!==t.length;++r)n=26*n+t.charCodeAt(r)-64;return n-1}function qt(e){if(e<0)throw new Error("invalid column "+e);var t="";for(++e;e;e=Math.floor((e-1)/26))t=String.fromCharCode((e-1)%26+65)+t;return t}function Gt(e){for(var t=0,n=0,r=0;r<e.length;++r){var a=e.charCodeAt(r);a>=48&&a<=57?t=10*t+(a-48):a>=65&&a<=90&&(n=26*n+(a-64))}return{c:n-1,r:t-1}}function Xt(e){for(var t=e.c+1,n="";t;t=(t-1)/26|0)n=String.fromCharCode((t-1)%26+65)+n;return n+(e.r+1)}function $t(e){var t=e.indexOf(":");return-1==t?{s:Gt(e),e:Gt(e)}:{s:Gt(e.slice(0,t)),e:Gt(e.slice(t+1))}}function Yt(e,t){return void 0===t||"number"==typeof t?Yt(e.s,e.e):("string"!=typeof e&&(e=Xt(e)),"string"!=typeof t&&(t=Xt(t)),e==t?e:e+":"+t)}function Kt(e){var t={s:{c:0,r:0},e:{c:0,r:0}},n=0,r=0,a=0,i=e.length;for(n=0;r<i&&!((a=e.charCodeAt(r)-64)<1||a>26);++r)n=26*n+a;for(t.s.c=--n,n=0;r<i&&!((a=e.charCodeAt(r)-48)<0||a>9);++r)n=10*n+a;if(t.s.r=--n,r===i||58===e.charCodeAt(++r))return t.e.c=t.s.c,t.e.r=t.s.r,t;for(n=0;r!=i&&!((a=e.charCodeAt(r)-64)<1||a>26);++r)n=26*n+a;for(t.e.c=--n,n=0;r!=i&&!((a=e.charCodeAt(r)-48)<0||a>9);++r)n=10*n+a;return t.e.r=--n,t}function Jt(e,t){var n="d"==e.t&&t instanceof Date;if(null!=e.z)try{return e.w=T.format(e.z,n?H(t):t)}catch(e){}try{return e.w=T.format((e.XF||{}).numFmtId||(n?14:0),n?H(t):t)}catch(e){return""+t}}function Zt(e,t,n){return null==e||null==e.t||"z"==e.t?"":void 0!==e.w?e.w:("d"==e.t&&!e.z&&n&&n.dateNF&&(e.z=n.dateNF),"e"==e.t?Hn[e.v]||e.v:Jt(e,null==t?e.v:t))}function Qt(e,t){var n=t&&t.sheet?t.sheet:"Sheet1",r={};return r[n]=e,{SheetNames:[n],Sheets:r}}function en(e,t,n){var r=n||{},a=e?Array.isArray(e):r.dense;null!=d&&null==a&&(a=d);var i=e||(a?[]:{}),o=0,s=0;if(i&&null!=r.origin){if("number"==typeof r.origin)o=r.origin;else{var l="string"==typeof r.origin?Gt(r.origin):r.origin;o=l.r,s=l.c}i["!ref"]||(i["!ref"]="A1:A1")}var c={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(i["!ref"]){var u=Kt(i["!ref"]);c.s.c=u.s.c,c.s.r=u.s.r,c.e.c=Math.max(c.e.c,u.e.c),c.e.r=Math.max(c.e.r,u.e.r),-1==o&&(c.e.r=o=u.e.r+1)}for(var f=0;f!=t.length;++f)if(t[f]){if(!Array.isArray(t[f]))throw new Error("aoa_to_sheet expects an array of arrays");for(var h=0;h!=t[f].length;++h)if(void 0!==t[f][h]){var p={v:t[f][h]},g=o+f,m=s+h;if(c.s.r>g&&(c.s.r=g),c.s.c>m&&(c.s.c=m),c.e.r<g&&(c.e.r=g),c.e.c<m&&(c.e.c=m),!t[f][h]||"object"!=typeof t[f][h]||Array.isArray(t[f][h])||t[f][h]instanceof Date)if(Array.isArray(p.v)&&(p.f=t[f][h][1],p.v=p.v[0]),null===p.v)if(p.f)p.t="n";else if(r.nullError)p.t="e",p.v=0;else{if(!r.sheetStubs)continue;p.t="z"}else"number"==typeof p.v?p.t="n":"boolean"==typeof p.v?p.t="b":p.v instanceof Date?(p.z=r.dateNF||T._table[14],r.cellDates?(p.t="d",p.w=T.format(p.z,H(p.v))):(p.t="n",p.v=H(p.v),p.w=T.format(p.z,p.v))):p.t="s";else p=t[f][h];if(a)i[g]||(i[g]=[]),i[g][m]&&i[g][m].z&&(p.z=i[g][m].z),i[g][m]=p;else{var v=Xt({c:m,r:g});i[v]&&i[v].z&&(p.z=i[v].z),i[v]=p}}}return c.s.c<1e7&&(i["!ref"]=Yt(c)),i}function tn(e,t){return en(null,e,t)}function nn(e,t){return t||(t=Ot(4)),t._W(4,e),t}function rn(e){var t=e._R(4);return 0===t?"":e._R(t,"dbcs")}function an(e,t){var n=!1;return null==t&&(n=!0,t=Ot(4+2*e.length)),t._W(4,e.length),e.length>0&&t._W(0,e,"dbcs"),n?t.slice(0,t.l):t}function on(e){return{ich:e._R(2),ifnt:e._R(2)}}function sn(e,t){var n=e.l,r=e._R(1),a=rn(e),i=[],o={t:a,h:a};if(0!=(1&r)){for(var s=e._R(4),l=0;l!=s;++l)i.push(on(e));o.r=i}else o.r=[{ich:0,ifnt:0}];return e.l=n+t,o}!function(e,t){var n;if(void 0!==t)n=t;else if("undefined"!=typeof require)try{n=void 0}catch(e){n=null}e.rc4=function(e,t){var n=new Array(256),r=0,a=0,i=0,o=0;for(a=0;256!=a;++a)n[a]=a;for(a=0;256!=a;++a)i=i+n[a]+e[a%e.length].charCodeAt(0)&255,o=n[a],n[a]=n[i],n[i]=o;a=i=0;var s=y(t.length);for(r=0;r!=t.length;++r)i=(i+n[a=a+1&255])%256,o=n[a],n[a]=n[i],n[i]=o,s[r]=t[r]^n[n[a]+n[i]&255];return s},e.md5=function(e){if(!n)throw new Error("Unsupported crypto");return n.createHash("md5").update(e).digest("hex")}}({},"undefined"!=typeof crypto?crypto:void 0);var ln=sn;function cn(e,t){var n=!1;return null==t&&(n=!0,t=Ot(23+4*e.t.length)),t._W(1,1),an(e.t,t),t._W(4,1),function(e,t){t||(t=Ot(4)),t._W(2,e.ich||0),t._W(2,e.ifnt||0)}({ich:0,ifnt:0},t),n?t.slice(0,t.l):t}function un(e){var t=e._R(4),n=e._R(2);return n+=e._R(1)<<16,e.l++,{c:t,iStyleRef:n}}function fn(e,t){return null==t&&(t=Ot(8)),t._W(-4,e.c),t._W(3,e.iStyleRef||e.s),t._W(1,0),t}function hn(e){var t=e._R(2);return t+=e._R(1)<<16,e.l++,{c:-1,iStyleRef:t}}function dn(e,t){return null==t&&(t=Ot(4)),t._W(3,e.iStyleRef||e.s),t._W(1,0),t}var pn=rn,gn=an;function mn(e){var t=e._R(4);return 0===t||4294967295===t?"":e._R(t,"dbcs")}function vn(e,t){var n=!1;return null==t&&(n=!0,t=Ot(127)),t._W(4,e.length>0?e.length:4294967295),e.length>0&&t._W(0,e,"dbcs"),n?t.slice(0,t.l):t}var bn=rn,yn=mn,wn=vn;function Sn(e){var t=e.slice(e.l,e.l+4),n=1&t[0],r=2&t[0];e.l+=4,t[0]&=252;var a=0===r?gt([0,0,0,0,t[0],t[1],t[2],t[3]],0):_t(t,0)>>2;return n?a/100:a}function xn(e,t){null==t&&(t=Ot(4));var n=0,r=0,a=100*e;if(e==(0|e)&&e>=-(1<<29)&&e<1<<29?r=1:a==(0|a)&&a>=-(1<<29)&&a<1<<29&&(r=1,n=1),!r)throw new Error("unsupported RkNumber "+e);t._W(-4,((n?a:e)<<2)+(n+2))}function En(e){var t={s:{},e:{}};return t.s.r=e._R(4),t.e.r=e._R(4),t.s.c=e._R(4),t.e.c=e._R(4),t}var _n=En,kn=function(e,t){return t||(t=Ot(16)),t._W(4,e.s.r),t._W(4,e.e.r),t._W(4,e.s.c),t._W(4,e.e.c),t};function An(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e._R(8,"f")}function Cn(e,t){return(t||Ot(8))._W(8,e,"f")}function Tn(e,t){if(t||(t=Ot(8)),!e||e.auto)return t._W(4,0),t._W(4,0),t;null!=e.index?(t._W(1,2),t._W(1,e.index)):null!=e.theme?(t._W(1,6),t._W(1,e.theme)):(t._W(1,5),t._W(1,0));var n=e.tint||0;if(n>0?n*=32767:n<0&&(n*=32768),t._W(2,n),e.rgb&&null==e.theme){var r=e.rgb||"FFFFFF";"number"==typeof r&&(r=("000000"+r.toString(16)).slice(-6)),t._W(1,parseInt(r.slice(0,2),16)),t._W(1,parseInt(r.slice(2,4),16)),t._W(1,parseInt(r.slice(4,6),16)),t._W(1,255)}else t._W(2,0),t._W(1,0),t._W(1,0);return t}function Rn(e,t){var n=e._R(4);switch(n){case 0:return"";case 4294967295:case 4294967294:return{2:"BITMAP",3:"METAFILEPICT",8:"DIB",14:"ENHMETAFILE"}[e._R(4)]||""}if(n>400)throw new Error("Unsupported Clipboard: "+n.toString(16));return e.l-=4,e._R(0,1==t?"lpstr":"lpwstr")}var Nn=2,Bn=3,In=12,Ln=81,On=[80,Ln],Pn={1:{n:"CodePage",t:Nn},2:{n:"Category",t:80},3:{n:"PresentationFormat",t:80},4:{n:"ByteCount",t:Bn},5:{n:"LineCount",t:Bn},6:{n:"ParagraphCount",t:Bn},7:{n:"SlideCount",t:Bn},8:{n:"NoteCount",t:Bn},9:{n:"HiddenCount",t:Bn},10:{n:"MultimediaClipCount",t:Bn},11:{n:"ScaleCrop",t:11},12:{n:"HeadingPairs",t:4096|In},13:{n:"TitlesOfParts",t:4126},14:{n:"Manager",t:80},15:{n:"Company",t:80},16:{n:"LinksUpToDate",t:11},17:{n:"CharacterCount",t:Bn},19:{n:"SharedDoc",t:11},22:{n:"HyperlinksChanged",t:11},23:{n:"AppVersion",t:Bn,p:"version"},24:{n:"DigSig",t:65},26:{n:"ContentType",t:80},27:{n:"ContentStatus",t:80},28:{n:"Language",t:80},29:{n:"Version",t:80},255:{}},Fn={1:{n:"CodePage",t:Nn},2:{n:"Title",t:80},3:{n:"Subject",t:80},4:{n:"Author",t:80},5:{n:"Keywords",t:80},6:{n:"Comments",t:80},7:{n:"Template",t:80},8:{n:"LastAuthor",t:80},9:{n:"RevNumber",t:80},10:{n:"EditTime",t:64},11:{n:"LastPrinted",t:64},12:{n:"CreatedDate",t:64},13:{n:"ModifiedDate",t:64},14:{n:"PageCount",t:Bn},15:{n:"WordCount",t:Bn},16:{n:"CharCount",t:Bn},17:{n:"Thumbnail",t:71},18:{n:"Application",t:80},19:{n:"DocSecurity",t:Bn},255:{}},Dn={2147483648:{n:"Locale",t:19},2147483651:{n:"Behavior",t:19},1919054434:{}};!function(){for(var e in Dn)Object.prototype.hasOwnProperty.call(Dn,e)&&(Pn[e]=Fn[e]=Dn[e])}();var Mn=j(Pn,"n"),jn=j(Fn,"n"),Wn={1:"US",2:"CA",3:"",7:"RU",20:"EG",30:"GR",31:"NL",32:"BE",33:"FR",34:"ES",36:"HU",39:"IT",41:"CH",43:"AT",44:"GB",45:"DK",46:"SE",47:"NO",48:"PL",49:"DE",52:"MX",55:"BR",61:"AU",64:"NZ",66:"TH",81:"JP",82:"KR",84:"VN",86:"CN",90:"TR",105:"JS",213:"DZ",216:"MA",218:"LY",351:"PT",354:"IS",358:"FI",420:"CZ",886:"TW",961:"LB",962:"JO",963:"SY",964:"IQ",965:"KW",966:"SA",971:"AE",972:"IL",974:"QA",981:"IR",65535:"US"},Un=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];var zn=ee(function(e){return e.map(function(e){return[e>>16&255,e>>8&255,255&e]})}([0,16777215,16711680,65280,255,16776960,16711935,65535,0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0])),Hn={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},Vn=U(Hn),qn={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops","application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":"TODO","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+xml":"TODO","application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO","application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO","application/vnd.ms-excel.attachedToolbars":"TODO","application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO","application/vnd.ms-excel.externalLink":"links","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"links","application/vnd.ms-excel.sheetMetadata":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"TODO","application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO","application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO","application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO","application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO","application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO","application/vnd.ms-excel.wsSortMap":"TODO","application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO","application/vnd.openxmlformats-officedocument.theme+xml":"themes","application/vnd.openxmlformats-officedocument.themeOverride+xml":"TODO","application/vnd.ms-excel.Timeline+xml":"TODO","application/vnd.ms-excel.TimelineCache+xml":"TODO","application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"vba","application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO","application/vnd.ms-excel.controlproperties+xml":"TODO","application/vnd.openxmlformats-officedocument.model+data":"TODO","application/vnd.ms-excel.Survey+xml":"TODO","application/vnd.openxmlformats-officedocument.drawing+xml":"drawings","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO","application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO","image/png":"TODO",sheet:"js"},Gn=function(){var e={workbooks:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",xlsm:"application/vnd.ms-excel.sheet.macroEnabled.main+xml",xlsb:"application/vnd.ms-excel.sheet.binary.macroEnabled.main",xlam:"application/vnd.ms-excel.addin.macroEnabled.main+xml",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml"},strs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml",xlsb:"application/vnd.ms-excel.sharedStrings"},comments:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml",xlsb:"application/vnd.ms-excel.comments"},sheets:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",xlsb:"application/vnd.ms-excel.worksheet"},charts:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml",xlsb:"application/vnd.ms-excel.chartsheet"},dialogs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml",xlsb:"application/vnd.ms-excel.dialogsheet"},macros:{xlsx:"application/vnd.ms-excel.macrosheet+xml",xlsb:"application/vnd.ms-excel.macrosheet"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};return M(e).forEach(function(t){["xlsm","xlam"].forEach(function(n){e[t][n]||(e[t][n]=e[t].xlsx)})}),M(e).forEach(function(t){M(e[t]).forEach(function(n){qn[e[t][n]]=t})}),e}(),Xn=function(e){for(var t=[],n=M(e),r=0;r!==n.length;++r)null==t[e[n[r]]]&&(t[e[n[r]]]=[]),t[e[n[r]]].push(n[r]);return t}(qn);Je.CT="http://schemas.openxmlformats.org/package/2006/content-types";var $n=Ye("Types",null,{xmlns:Je.CT,"xmlns:xsd":Je.xsd,"xmlns:xsi":Je.xsi}),Yn=[["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["data","application/vnd.openxmlformats-officedocument.model+data"],["bmp","image/bmp"],["png","image/png"],["gif","image/gif"],["emf","image/x-emf"],["wmf","image/x-wmf"],["jpg","image/jpeg"],["jpeg","image/jpeg"],["tif","image/tiff"],["tiff","image/tiff"],["pdf","application/pdf"],["rels",Xn.rels[0]]].map(function(e){return Ye("Default",null,{Extension:e[0],ContentType:e[1]})});var Kn={WB:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",SHEET:"http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument",HLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",VML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",XLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",CXML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",CXMLP:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function Jn(e){var t=e.lastIndexOf("/");return e.slice(0,t+1)+"_rels/"+e.slice(t+1)+".rels"}function Zn(e,t){var n={"!id":{}};if(!e)return n;"/"!==t.charAt(0)&&(t="/"+t);var r={};return(e.match(be)||[]).forEach(function(e){var a=Se(e);if("<Relationship"===a[0]){var i={};i.Type=a.Type,i.Target=a.Target,i.Id=a.Id,i.TargetMode=a.TargetMode;var o="External"===a.TargetMode?a.Target:ge(a.Target,t);n[o]=i,r[a.Id]=i}}),n["!id"]=r,n}Je.RELS="http://schemas.openxmlformats.org/package/2006/relationships";var Qn=Ye("Relationships",null,{xmlns:Je.RELS});function er(e){var t=[me,Qn];return M(e["!id"]).forEach(function(n){t[t.length]=Ye("Relationship",null,e["!id"][n])}),t.length>2&&(t[t.length]="</Relationships>",t[1]=t[1].replace("/>",">")),t.join("")}var tr=[Kn.HLINK,Kn.XPATH,Kn.XMISS];function nr(e,t,n,r,a,i){if(a||(a={}),e["!id"]||(e["!id"]={}),t<0)for(t=1;e["!id"]["rId"+t];++t);if(a.Id="rId"+t,a.Type=r,a.Target=n,i?a.TargetMode=i:tr.indexOf(a.Type)>-1&&(a.TargetMode="External"),e["!id"][a.Id])throw new Error("Cannot rewrite rId "+t);return e["!id"][a.Id]=a,e[("/"+a.Target).replace("//","/")]=a,t}var rr="application/vnd.oasis.opendocument.spreadsheet";function ar(e,t,n){return[' <rdf:Description rdf:about="'+e+'">\n',' <rdf:type rdf:resource="http://docs.oasis-open.org/ns/office/1.2/meta/'+(n||"odf")+"#"+t+'"/>\n'," </rdf:Description>\n"].join("")}function ir(e,t){return[' <rdf:Description rdf:about="'+e+'">\n',' <ns0:hasPart xmlns:ns0="http://docs.oasis-open.org/ns/office/1.2/meta/pkg#" rdf:resource="'+t+'"/>\n'," </rdf:Description>\n"].join("")}var or=function(){var t='<office:document-meta xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xlink="http://www.w3.org/1999/xlink" office:version="1.2"><office:meta><meta:generator>SheetJS '+e.version+"</meta:generator></office:meta></office:document-meta>";return function(){return t}}(),sr=[["cp:category","Category"],["cp:contentStatus","ContentStatus"],["cp:keywords","Keywords"],["cp:lastModifiedBy","LastAuthor"],["cp:lastPrinted","LastPrinted"],["cp:revision","RevNumber"],["cp:version","Version"],["dc:creator","Author"],["dc:description","Comments"],["dc:identifier","Identifier"],["dc:language","Language"],["dc:subject","Subject"],["dc:title","Title"],["dcterms:created","CreatedDate","date"],["dcterms:modified","ModifiedDate","date"]];Je.CORE_PROPS="http://schemas.openxmlformats.org/package/2006/metadata/core-properties",Kn.CORE_PROPS="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties";var lr=function(){for(var e=new Array(sr.length),t=0;t<sr.length;++t){var n=sr[t],r="(?:"+n[0].slice(0,n[0].indexOf(":"))+":)"+n[0].slice(n[0].indexOf(":")+1);e[t]=new RegExp("<"+r+"[^>]*>([\\s\\S]*?)</"+r+">")}return e}();function cr(e){var t={};e=Pe(e);for(var n=0;n<sr.length;++n){var r=sr[n],a=e.match(lr[n]);null!=a&&a.length>0&&(t[r[1]]=ke(a[1])),"date"===r[2]&&t[r[1]]&&(t[r[1]]=Z(t[r[1]]))}return t}var ur=Ye("cp:coreProperties",null,{"xmlns:cp":Je.CORE_PROPS,"xmlns:dc":Je.dc,"xmlns:dcterms":Je.dcterms,"xmlns:dcmitype":Je.dcmitype,"xmlns:xsi":Je.xsi});function fr(e,t,n,r,a){null==a[e]&&null!=t&&""!==t&&(a[e]=t,t=Te(t),r[r.length]=n?Ye(e,t,n):Xe(e,t))}var hr=[["Application","Application","string"],["AppVersion","AppVersion","string"],["Company","Company","string"],["DocSecurity","DocSecurity","string"],["Manager","Manager","string"],["HyperlinksChanged","HyperlinksChanged","bool"],["SharedDoc","SharedDoc","bool"],["LinksUpToDate","LinksUpToDate","bool"],["ScaleCrop","ScaleCrop","bool"],["HeadingPairs","HeadingPairs","raw"],["TitlesOfParts","TitlesOfParts","raw"]];Je.EXT_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",Kn.EXT_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties";function dr(e,t,n,r){var a=[];if("string"==typeof e)a=qe(e,r);else for(var i=0;i<e.length;++i)a=a.concat(e[i].map(function(e){return{v:e}}));var o="string"==typeof t?qe(t,r).map(function(e){return e.v}):t,s=0,l=0;if(o.length>0)for(var c=0;c!==a.length;c+=2){switch(l=+a[c+1].v,a[c].v){case"Worksheets":case"工作表":case"Листы":case"أوراق العمل":case"ワークシート":case"גליונות עבודה":case"Arbeitsblätter":case"Çalışma Sayfaları":case"Feuilles de calcul":case"Fogli di lavoro":case"Folhas de cálculo":case"Planilhas":case"Regneark":case"Hojas de cálculo":case"Werkbladen":n.Worksheets=l,n.SheetNames=o.slice(s,s+l);break;case"Named Ranges":case"Rangos con nombre":case"名前付き一覧":case"Benannte Bereiche":case"Navngivne områder":n.NamedRanges=l,n.DefinedNames=o.slice(s,s+l);break;case"Charts":case"Diagramme":n.Chartsheets=l,n.ChartNames=o.slice(s,s+l)}s+=l}}var pr=Ye("Properties",null,{xmlns:Je.EXT_PROPS,"xmlns:vt":Je.vt});Je.CUST_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",Kn.CUST_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties";var gr=/<[^>]+>[^<]*/g;var mr=Ye("Properties",null,{xmlns:Je.CUST_PROPS,"xmlns:vt":Je.vt});function vr(e){var t=[me,mr];if(!e)return t.join("");var n=1;return M(e).forEach(function(r){++n,t[t.length]=Ye("property",function(e,t){switch(typeof e){case"string":var n=Ye("vt:lpwstr",Te(e));return t&&(n=n.replace(/"/g,"_x0022_")),n;case"number":return Ye((0|e)==e?"vt:i4":"vt:r8",Te(String(e)));case"boolean":return Ye("vt:bool",e?"true":"false")}if(e instanceof Date)return Ye("vt:filetime",Ke(e));throw new Error("Unable to serialize "+e)}(e[r],!0),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:n,name:Te(r)})}),t.length>2&&(t[t.length]="</Properties>",t[1]=t[1].replace("/>",">")),t.join("")}var br={Title:"Title",Subject:"Subject",Author:"Author",Keywords:"Keywords",Comments:"Description",LastAuthor:"LastAuthor",RevNumber:"Revision",Application:"AppName",LastPrinted:"LastPrinted",CreatedDate:"Created",ModifiedDate:"LastSaved",Category:"Category",Manager:"Manager",Company:"Company",AppVersion:"Version",ContentStatus:"ContentStatus",Identifier:"Identifier",Language:"Language"},yr=W(br);function wr(e,t,n){e[t=yr[t]||t]=n}function Sr(e){var t=e._R(4),n=e._R(4);return new Date(1e3*(n/1e7*Math.pow(2,32)+t/1e7-11644473600)).toISOString().replace(/\.000/,"")}function xr(e,t,n){var r=e.l,a=e._R(0,"lpstr-cp");if(n)for(;e.l-r&3;)++e.l;return a}function Er(e,t,n){var r=e._R(0,"lpwstr");return n&&(e.l+=4-(r.length+1&3)&3),r}function _r(e,t,n){return 31===t?Er(e):xr(e,0,n)}function kr(e,t,n){return _r(e,t,!1===n?0:4)}function Ar(e){var t=e.l,n=Rr(e,Ln);return 0==e[e.l]&&0==e[e.l+1]&&e.l-t&2&&(e.l+=2),[n,Rr(e,Bn)]}function Cr(e,t){for(var n=e._R(4),r={},a=0;a!=n;++a){var i=e._R(4),o=e._R(4);r[i]=e._R(o,1200===t?"utf16le":"utf8").replace(A,"").replace(C,"!"),1200===t&&o%2&&(e.l+=2)}return 3&e.l&&(e.l=e.l>>3<<2),r}function Tr(e){var t=e._R(4),n=e.slice(e.l,e.l+t);return e.l+=t,(3&t)>0&&(e.l+=4-(3&t)&3),n}function Rr(e,t,n){var r,a=e._R(2),i=n||{};if(e.l+=2,t!==In&&a!==t&&-1===On.indexOf(t)&&(4126!=(65534&t)||4126!=(65534&a)))throw new Error("Expected type "+t+" saw "+a);switch(t===In?a:t){case 2:return r=e._R(2,"i"),i.raw||(e.l+=2),r;case 3:return r=e._R(4,"i");case 11:return 0!==e._R(4);case 19:return r=e._R(4);case 30:return xr(e,0,4).replace(A,"");case 31:return Er(e);case 64:return Sr(e);case 65:return Tr(e);case 71:return function(e){var t={};return t.Size=e._R(4),e.l+=t.Size+3-(t.Size-1)%4,t}(e);case 80:return kr(e,a,!i.raw).replace(A,"");case 81:return function(e,t){if(!t)throw new Error("VtUnalignedString must have positive length");return _r(e,t,0)}(e,a).replace(A,"");case 4108:return function(e){for(var t=e._R(4),n=[],r=0;r<t/2;++r)n.push(Ar(e));return n}(e);case 4126:case 4127:return 4127==a?function(e){for(var t=e._R(4),n=[],r=0;r!=t;++r){var a=e.l;n[r]=e._R(0,"lpwstr").replace(A,""),e.l-a&2&&(e.l+=2)}return n}(e):function(e){for(var t=e._R(4),n=[],r=0;r!=t;++r)n[r]=e._R(0,"lpstr-cp").replace(A,"");return n}(e);default:throw new Error("TypedPropertyValue unrecognized type "+t+" "+a)}}function Nr(e,t){var n=Ot(4),r=Ot(4);switch(n._W(4,80==e?31:e),e){case 3:r._W(-4,t);break;case 5:(r=Ot(8))._W(8,t,"f");break;case 11:r._W(4,t?1:0);break;case 64:r=function(e){var t=("string"==typeof e?new Date(Date.parse(e)):e).getTime()/1e3+11644473600,n=t%Math.pow(2,32),r=(t-n)/Math.pow(2,32);r*=1e7;var a=(n*=1e7)/Math.pow(2,32)|0;a>0&&(n%=Math.pow(2,32),r+=a);var i=Ot(8);return i._W(4,n),i._W(4,r),i}(t);break;case 31:case 80:for((r=Ot(4+2*(t.length+1)+(t.length%2?0:2)))._W(4,t.length+1),r._W(0,t,"dbcs");r.l!=r.length;)r._W(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+t)}return k([n,r])}function Br(e,t){var n=e.l,r=e._R(4),a=e._R(4),i=[],o=0,l=0,c=-1,u={};for(o=0;o!=a;++o){var f=e._R(4),h=e._R(4);i[o]=[f,h+n]}i.sort(function(e,t){return e[1]-t[1]});var d={};for(o=0;o!=a;++o){if(e.l!==i[o][1]){var p=!0;if(o>0&&t)switch(t[i[o-1][0]].t){case 2:e.l+2===i[o][1]&&(e.l+=2,p=!1);break;case 80:case 4108:e.l<=i[o][1]&&(e.l=i[o][1],p=!1)}if((!t||0==o)&&e.l<=i[o][1]&&(p=!1,e.l=i[o][1]),p)throw new Error("Read Error: Expected address "+i[o][1]+" at "+e.l+" :"+o)}if(t){var g=t[i[o][0]];if(d[g.n]=Rr(e,g.t,{raw:!0}),"version"===g.p&&(d[g.n]=String(d[g.n]>>16)+"."+("0000"+String(65535&d[g.n])).slice(-4)),"CodePage"==g.n)switch(d[g.n]){case 0:d[g.n]=1252;case 874:case 932:case 936:case 949:case 950:case 1250:case 1251:case 1253:case 1254:case 1255:case 1256:case 1257:case 1258:case 1e4:case 1200:case 1201:case 1252:case 65e3:case-536:case 65001:case-535:s(l=d[g.n]>>>0&65535);break;default:throw new Error("Unsupported CodePage: "+d[g.n])}}else if(1===i[o][0]){if(l=d.CodePage=Rr(e,Nn),s(l),-1!==c){var m=e.l;e.l=i[c][1],u=Cr(e,l),e.l=m}}else if(0===i[o][0]){if(0===l){c=o,e.l=i[o+1][1];continue}u=Cr(e,l)}else{var v,b=u[i[o][0]];switch(e[e.l]){case 65:e.l+=4,v=Tr(e);break;case 30:case 31:e.l+=4,v=kr(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 3:e.l+=4,v=e._R(4,"i");break;case 19:e.l+=4,v=e._R(4);break;case 5:e.l+=4,v=e._R(8,"f");break;case 11:e.l+=4,v=Mr(e,4);break;case 64:e.l+=4,v=Z(Sr(e));break;default:throw new Error("unparsed value: "+e[e.l])}d[b]=v}}return e.l=n+r,d}var Ir=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"].concat(["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"]);function Lr(e){switch(typeof e){case"boolean":return 11;case"number":return(0|e)==e?3:5;case"string":return 31;case"object":if(e instanceof Date)return 64}return-1}function Or(e,t,n){var r=Ot(8),a=[],i=[],o=8,s=0,l=Ot(8),c=Ot(8);if(l._W(4,2),l._W(4,1200),c._W(4,1),i.push(l),a.push(c),o+=8+l.length,!t){(c=Ot(8))._W(4,0),a.unshift(c);var u=[Ot(4)];for(u[0]._W(4,e.length),s=0;s<e.length;++s){var f=e[s][0];for((l=Ot(8+2*(f.length+1)+(f.length%2?0:2)))._W(4,s+2),l._W(4,f.length+1),l._W(0,f,"dbcs");l.l!=l.length;)l._W(1,0);u.push(l)}l=k(u),i.unshift(l),o+=8+l.length}for(s=0;s<e.length;++s)if((!t||t[e[s][0]])&&!(Ir.indexOf(e[s][0])>-1)&&null!=e[s][1]){var h=e[s][1],d=0;if(t){var p=n[d=+t[e[s][0]]];if("version"==p.p&&"string"==typeof h){var g=h.split(".");h=(+g[0]<<16)+(+g[1]||0)}l=Nr(p.t,h)}else{var m=Lr(h);-1==m&&(m=31,h=String(h)),l=Nr(m,h)}i.push(l),(c=Ot(8))._W(4,t?d:2+s),a.push(c),o+=8+l.length}var v=8*(i.length+1);for(s=0;s<i.length;++s)a[s]._W(4,v),v+=i[s].length;return r._W(4,o),r._W(4,i.length),k([r].concat(a).concat(i))}function Pr(e,t,n){var r=e.content;if(!r)return{};It(r,0);var a,i,o,s,l=0;r.chk("feff","Byte Order: "),r._R(2);var c=r._R(4),u=r._R(16);if(u!==P.utils.consts.HEADER_CLSID&&u!==n)throw new Error("Bad PropertySet CLSID "+u);if(1!==(a=r._R(4))&&2!==a)throw new Error("Unrecognized #Sets: "+a);if(i=r._R(16),s=r._R(4),1===a&&s!==r.l)throw new Error("Length mismatch: "+s+" !== "+r.l);2===a&&(o=r._R(16),l=r._R(4));var f,h=Br(r,t),d={SystemIdentifier:c};for(var p in h)d[p]=h[p];if(d.FMTID=i,1===a)return d;if(l-r.l==2&&(r.l+=2),r.l!==l)throw new Error("Length mismatch 2: "+r.l+" !== "+l);try{f=Br(r,null)}catch(e){}for(p in f)d[p]=f[p];return d.FMTID=[i,o],d}function Fr(e,t,n,r,a,i){var o=Ot(a?68:48),s=[o];o._W(2,65534),o._W(2,0),o._W(4,842412599),o._W(16,P.utils.consts.HEADER_CLSID,"hex"),o._W(4,a?2:1),o._W(16,t,"hex"),o._W(4,a?68:48);var l=Or(e,n,r);if(s.push(l),a){var c=Or(a,null,null);o._W(16,i,"hex"),o._W(4,68+l.length),s.push(c)}return k(s)}function Dr(e,t){return e._R(t),null}function Mr(e,t){return 1===e._R(t)}function jr(e,t){return t||(t=Ot(2)),t._W(2,+!!e),t}function Wr(e){return e._R(2,"u")}function Ur(e,t){return t||(t=Ot(2)),t._W(2,e),t}function zr(e,t){return function(e,t,n){for(var r=[],a=e.l+t;e.l<a;)r.push(n(e,a-e.l));if(a!==e.l)throw new Error("Slurp error");return r}(e,t,Wr)}function Hr(e,t,n){return n||(n=Ot(2)),n._W(1,"e"==t?+e:+!!e),n._W(1,"e"==t?1:0),n}function Vr(e,n,r){var a=e._R(r&&r.biff>=12?2:1),i="sbcs-cont",o=t;(r&&r.biff>=8&&(t=1200),r&&8!=r.biff)?12==r.biff&&(i="wstr"):e._R(1)&&(i="dbcs-cont");r.biff>=2&&r.biff<=5&&(i="cpstr");var s=a?e._R(a,i):"";return t=o,s}function qr(e){var n=t;t=1200;var r,a=e._R(2),i=e._R(1),o=4&i,s=8&i,l=1+(1&i),c=0,u={};s&&(c=e._R(2)),o&&(r=e._R(4));var f=2==l?"dbcs-cont":"sbcs-cont",h=0===a?"":e._R(a,f);return s&&(e.l+=4*c),o&&(e.l+=r),u.t=h,s||(u.raw="<t>"+u.t+"</t>",u.r=u.t),t=n,u}function Gr(e){var t=e.t||"",n=Ot(3);n._W(2,t.length),n._W(1,1);var r=Ot(2*t.length);return r._W(2*t.length,t,"utf16le"),k([n,r])}function Xr(e,t,n){if(n){if(n.biff>=2&&n.biff<=5)return e._R(t,"cpstr");if(n.biff>=12)return e._R(t,"dbcs-cont")}return 0===e._R(1)?e._R(t,"sbcs-cont"):e._R(t,"dbcs-cont")}function $r(e,t,n){var r=e._R(n&&2==n.biff?1:2);return 0===r?(e.l++,""):Xr(e,r,n)}function Yr(e,t,n){if(n.biff>5)return $r(e,0,n);var r=e._R(1);return 0===r?(e.l++,""):e._R(r,n.biff<=4||!e.lens?"cpstr":"sbcs-cont")}function Kr(e,t,n){return n||(n=Ot(3+2*e.length)),n._W(2,e.length),n._W(1,1),n._W(31,e,"utf16le"),n}function Jr(e,t){var n=e._R(16);switch(16,n){case"e0c9ea79f9bace118c8200aa004ba90b":return function(e){var t=e._R(4),n=e.l,r=!1;t>24&&(e.l+=t-24,"795881f43b1d7f48af2c825dc4852763"===e._R(16)&&(r=!0),e.l=n);var a=e._R((r?t-24:t)>>1,"utf16le").replace(A,"");return r&&(e.l+=24),a}(e);case"0303000000000000c000000000000046":return function(e){for(var t=e._R(2),n="";t-- >0;)n+="../";var r=e._R(0,"lpstr-ansi");if(e.l+=2,57005!=e._R(2))throw new Error("Bad FileMoniker");if(0===e._R(4))return n+r.replace(/\\/g,"/");var a=e._R(4);if(3!=e._R(2))throw new Error("Bad FileMoniker");return n+e._R(a>>1,"utf16le").replace(A,"")}(e);default:throw new Error("Unsupported Moniker "+n)}}function Zr(e){var t=e._R(4);return t>0?e._R(t,"utf16le").replace(A,""):""}function Qr(e,t){t||(t=Ot(6+2*e.length)),t._W(4,1+e.length);for(var n=0;n<e.length;++n)t._W(2,e.charCodeAt(n));return t._W(2,0),t}function ea(e){var t=Ot(512),n=0,r=e.Target;"file://"==r.slice(0,7)&&(r=r.slice(7));var a=r.indexOf("#"),i=a>-1?31:23;switch(r.charAt(0)){case"#":i=28;break;case".":i&=-3}t._W(4,2),t._W(4,i);var o=[8,6815827,6619237,4849780,83];for(n=0;n<o.length;++n)t._W(4,o[n]);if(28==i)Qr(r=r.slice(1),t);else if(2&i){for(o="e0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),n=0;n<o.length;++n)t._W(1,parseInt(o[n],16));var s=a>-1?r.slice(0,a):r;for(t._W(4,2*(s.length+1)),n=0;n<s.length;++n)t._W(2,s.charCodeAt(n));t._W(2,0),8&i&&Qr(a>-1?r.slice(a+1):"",t)}else{for(o="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" "),n=0;n<o.length;++n)t._W(1,parseInt(o[n],16));for(var l=0;"../"==r.slice(3*l,3*l+3)||"..\\"==r.slice(3*l,3*l+3);)++l;for(t._W(2,l),t._W(4,r.length-3*l+1),n=0;n<r.length-3*l;++n)t._W(1,255&r.charCodeAt(n+3*l));for(t._W(1,0),t._W(2,65535),t._W(2,57005),n=0;n<6;++n)t._W(4,0)}return t.slice(0,t.l)}function ta(e){return[e._R(1),e._R(1),e._R(1),e._R(1)]}function na(e,t){var n=ta(e);return n[3]=0,n}function ra(e){return{r:e._R(2),c:e._R(2),ixfe:e._R(2)}}function aa(e,t,n,r){return r||(r=Ot(6)),r._W(2,e),r._W(2,t),r._W(2,n||0),r}function ia(e,t,n){var r=n.biff>8?4:2;return[e._R(r),e._R(r,"i"),e._R(r,"i")]}function oa(e){return[e._R(2),Sn(e)]}function sa(e){var t=e._R(2),n=e._R(2);return{s:{c:e._R(2),r:t},e:{c:e._R(2),r:n}}}function la(e,t){return t||(t=Ot(8)),t._W(2,e.s.r),t._W(2,e.e.r),t._W(2,e.s.c),t._W(2,e.e.c),t}function ca(e){var t=e._R(2),n=e._R(2);return{s:{c:e._R(1),r:t},e:{c:e._R(1),r:n}}}var ua=ca;function fa(e){e.l+=4;var t=e._R(2),n=e._R(2),r=e._R(2);return e.l+=12,[n,t,r]}function ha(e){e.l+=2,e.l+=e._R(2)}var da={0:ha,4:ha,5:ha,6:ha,7:function(e){return e.l+=4,e.cf=e._R(2),{}},8:ha,9:ha,10:ha,11:ha,12:ha,13:function(e){var t={};return e.l+=4,e.l+=16,t.fSharedNote=e._R(2),e.l+=4,t},14:ha,15:ha,16:ha,17:ha,18:ha,19:ha,20:ha,21:fa};function pa(e,t){var n={BIFFVer:0,dt:0};switch(n.BIFFVer=e._R(2),(t-=2)>=2&&(n.dt=e._R(2),e.l-=2),n.BIFFVer){case 1536:case 1280:case 1024:case 768:case 512:case 2:case 7:break;default:if(t>6)throw new Error("Unexpected BIFF Ver "+n.BIFFVer)}return e._R(t),n}function ga(e,t,n){var r=1536,a=16;switch(n.bookType){case"biff8":break;case"biff5":r=1280,a=8;break;case"biff4":r=4,a=6;break;case"biff3":r=3,a=6;break;case"biff2":r=2,a=4;break;case"xla":break;default:throw new Error("unsupported BIFF version")}var i=Ot(a);return i._W(2,r),i._W(2,t),a>4&&i._W(2,29282),a>6&&i._W(2,1997),a>8&&(i._W(2,49161),i._W(2,1),i._W(2,1798),i._W(2,0)),i}function ma(e,t){var n=!t||t.biff>=8?2:1,r=Ot(8+n*e.name.length);r._W(4,e.pos),r._W(1,e.hs||0),r._W(1,e.dt),r._W(1,e.name.length),t.biff>=8&&r._W(1,1),r._W(n*e.name.length,e.name,t.biff<8?"sbcs":"utf16le");var a=r.slice(0,r.l);return a.l=r.l,a}function va(e,t,n){var r=0;n&&2==n.biff||(r=e._R(2));var a=e._R(2);return n&&2==n.biff&&(r=1-(a>>15),a&=32767),[{Unsynced:1&r,DyZero:(2&r)>>1,ExAsc:(4&r)>>2,ExDsc:(8&r)>>3},a]}function ba(e,t,n,r){var a=n&&5==n.biff;r||(r=Ot(a?3+t.length:5+2*t.length)),r._W(2,e),r._W(a?1:2,t.length),a||r._W(1,1),r._W((a?1:2)*t.length,t,a?"sbcs":"utf16le");var i=r.length>r.l?r.slice(0,r.l):r;return null==i.l&&(i.l=i.length),i}var ya=Yr;function wa(e,t,n){var r=e.l+t,a=8!=n.biff&&n.biff?2:4,i=e._R(a),o=e._R(a),s=e._R(2),l=e._R(2);return e.l=r,{s:{r:i,c:s},e:{r:o,c:l}}}function Sa(e,t,n,r){var a=n&&5==n.biff;r||(r=Ot(a?16:20)),r._W(2,0),e.style?(r._W(2,e.numFmtId||0),r._W(2,65524)):(r._W(2,e.numFmtId||0),r._W(2,t<<4));var i=0;return e.numFmtId>0&&a&&(i|=1024),r._W(4,i),r._W(4,0),a||r._W(4,0),r._W(2,0),r}function xa(e,t,n){var r=ra(e);2!=n.biff&&9!=t||++e.l;var a=function(e){var t=e._R(1);return 1===e._R(1)?t:1===t}(e);return r.val=a,r.t=!0===a||!1===a?"b":"e",r}var Ea=function(e,t,n){return 0===t?"":Yr(e,0,n)};function _a(e,t,n){var r,a=e._R(2),i={fBuiltIn:1&a,fWantAdvise:a>>>1&1,fWantPict:a>>>2&1,fOle:a>>>3&1,fOleLink:a>>>4&1,cf:a>>>5&1023,fIcon:a>>>15&1};return 14849===n.sbcch&&(r=function(e,t,n){e.l+=4,t-=4;var r=e.l+t,a=Vr(e,0,n),i=e._R(2);if(i!==(r-=e.l))throw new Error("Malformed AddinUdf: padding = "+r+" != "+i);return e.l+=i,a}(e,t-2,n)),i.body=r||e._R(t-2),"string"==typeof r&&(i.Name=r),i}var ka=["_xlnm.Consolidate_Area","_xlnm.Auto_Open","_xlnm.Auto_Close","_xlnm.Extract","_xlnm.Database","_xlnm.Criteria","_xlnm.Print_Area","_xlnm.Print_Titles","_xlnm.Recorder","_xlnm.Data_Form","_xlnm.Auto_Activate","_xlnm.Auto_Deactivate","_xlnm.Sheet_Title","_xlnm._FilterDatabase"];function Aa(e,t,n){var r=e.l+t,a=e._R(2),i=e._R(1),o=e._R(1),s=e._R(n&&2==n.biff?1:2),l=0;(!n||n.biff>=5)&&(5!=n.biff&&(e.l+=2),l=e._R(2),5==n.biff&&(e.l+=2),e.l+=4);var c=Xr(e,o,n);32&a&&(c=ka[c.charCodeAt(0)]);var u=r-e.l;return n&&2==n.biff&&--u,{chKey:i,Name:c,itab:l,rgce:r!=e.l&&0!==s&&u>0?function(e,t,n,r){var a,i=e.l+t,o=Ko(e,r,n);i!==e.l&&(a=Yo(e,i-e.l,o,n));return[o,a]}(e,u,n,s):[]}}function Ca(e,t,n){if(n.biff<8)return function(e,t,n){3==e[e.l+1]&&e[e.l]++;var r=Vr(e,0,n);return 3==r.charCodeAt(0)?r.slice(1):r}(e,0,n);for(var r=[],a=e.l+t,i=e._R(n.biff>8?4:2);0!=i--;)r.push(ia(e,n.biff,n));if(e.l!=a)throw new Error("Bad ExternSheet: "+e.l+" != "+a);return r}function Ta(e,t,n){var r=ua(e,6);switch(n.biff){case 2:e.l++,t-=7;break;case 3:case 4:e.l+=2,t-=8;break;default:e.l+=6,t-=12}return[r,rs(e,t,n)]}var Ra=[];function Na(e){var t=Ot(24),n=Gt(e[0]);t._W(2,n.r),t._W(2,n.r),t._W(2,n.c),t._W(2,n.c);for(var r="d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),a=0;a<16;++a)t._W(1,parseInt(r[a],16));return k([t,ea(e[1])])}function Ba(e){var t=e[1].Tooltip,n=Ot(10+2*(t.length+1));n._W(2,2048);var r=Gt(e[0]);n._W(2,r.r),n._W(2,r.r),n._W(2,r.c),n._W(2,r.c);for(var a=0;a<t.length;++a)n._W(2,t.charCodeAt(a));return n._W(2,0),n}function Ia(e,t,n){if(!n.cellStyles)return Lt(e,t);var r=n&&n.biff>=12?4:2,a=e._R(r),i=e._R(r),o=e._R(r),s=e._R(r),l=e._R(2);2==r&&(e.l+=2);var c={s:a,e:i,w:o,ixfe:s,flags:l};return(n.biff>=5||!n.biff)&&(c.level=l>>8&7),c}Ra[8]=function(e,t){var n=e.l+t;e.l+=10;var r=e._R(2);e.l+=4,e.l+=2,e.l+=2,e.l+=2,e.l+=4;var a=e._R(1);return e.l+=a,e.l=n,{fmt:r}};var La=ra,Oa=zr,Pa=$r;var Fa=function(){var e={1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127,8:865,9:437,10:850,11:437,13:437,14:850,15:437,16:850,17:437,18:850,19:932,20:850,21:437,22:850,23:865,24:437,25:437,26:850,27:437,28:863,29:850,31:852,34:852,35:852,36:860,37:850,38:866,55:850,64:852,77:936,78:949,79:950,80:874,87:1252,88:1252,89:1252,108:863,134:737,135:852,136:857,204:1257,255:16969},t=W({1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127});function r(t,n){var r=[],a=y(1);switch(n.type){case"base64":a=S(g.decode(t));break;case"binary":a=S(t);break;case"buffer":case"array":a=t}It(a,0);var i=a._R(1),o=!!(136&i),s=!1,l=!1;switch(i){case 2:case 3:break;case 48:case 49:s=!0,o=!0;break;case 131:case 139:break;case 140:l=!0;break;case 245:break;default:throw new Error("DBF Unsupported Version: "+i.toString(16))}var c=0,u=521;2==i&&(c=a._R(2)),a.l+=3,2!=i&&(c=a._R(4)),c>1048576&&(c=1e6),2!=i&&(u=a._R(2));var f=a._R(2),h=n.codepage||1252;2!=i&&(a.l+=16,a._R(1),0!==a[a.l]&&(h=e[a[a.l]]),a.l+=1,a.l+=2),l&&(a.l+=36);for(var d=[],p={},m=Math.min(a.length,2==i?521:u-10-(s?264:0)),v=l?32:11;a.l<m&&13!=a[a.l];)switch((p={}).name=cptable.utils.decode(h,a.slice(a.l,a.l+v)).replace(/[\u0000\r\n].*$/g,""),a.l+=v,p.type=String.fromCharCode(a._R(1)),2==i||l||(p.offset=a._R(4)),p.len=a._R(1),2==i&&(p.offset=a._R(2)),p.dec=a._R(1),p.name.length&&d.push(p),2!=i&&(a.l+=l?13:14),p.type){case"B":s&&8==p.len||!n.WTF||console.log("Skipping "+p.name+":"+p.type);break;case"G":case"P":n.WTF&&console.log("Skipping "+p.name+":"+p.type);break;case"+":case"0":case"@":case"C":case"D":case"F":case"I":case"L":case"M":case"N":case"O":case"T":case"Y":break;default:throw new Error("Unknown Field Type: "+p.type)}if(13!==a[a.l]&&(a.l=u-1),13!==a._R(1))throw new Error("DBF Terminator not found "+a.l+" "+a[a.l]);a.l=u;var b=0,w=0;for(r[0]=[],w=0;w!=d.length;++w)r[0][w]=d[w].name;for(;c-- >0;)if(42!==a[a.l])for(++a.l,r[++b]=[],w=0,w=0;w!=d.length;++w){var x=a.slice(a.l,a.l+d[w].len);a.l+=d[w].len,It(x,0);var E=cptable.utils.decode(h,x);switch(d[w].type){case"C":E.trim().length&&(r[b][w]=E.replace(/\s+$/,""));break;case"D":8===E.length?r[b][w]=new Date(+E.slice(0,4),+E.slice(4,6)-1,+E.slice(6,8)):r[b][w]=E;break;case"F":r[b][w]=parseFloat(E.trim());break;case"+":case"I":r[b][w]=l?2147483648^x._R(-4,"i"):x._R(4,"i");break;case"L":switch(E.trim().toUpperCase()){case"Y":case"T":r[b][w]=!0;break;case"N":case"F":r[b][w]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+E+"|")}break;case"M":if(!o)throw new Error("DBF Unexpected MEMO for type "+i.toString(16));r[b][w]="##MEMO##"+(l?parseInt(E.trim(),10):x._R(4));break;case"N":(E=E.replace(/\u0000/g,"").trim())&&"."!=E&&(r[b][w]=+E||0);break;case"@":r[b][w]=new Date(x._R(-8,"f")-621356832e5);break;case"T":r[b][w]=new Date(864e5*(x._R(4)-2440588)+x._R(4));break;case"Y":r[b][w]=x._R(4,"i")/1e4;break;case"O":r[b][w]=-x._R(-8,"f");break;case"B":if(s&&8==d[w].len){r[b][w]=x._R(8,"f");break}case"G":case"P":x.l+=d[w].len;break;case"0":if("_NullFlags"===d[w].name)break;default:throw new Error("DBF Unsupported data type "+d[w].type)}}else a.l+=f;if(2!=i&&a.l<a.length&&26!=a[a.l++])throw new Error("DBF EOF Marker missing "+(a.l-1)+" of "+a.length+" "+a[a.l-1].toString(16));return n&&n.sheetRows&&(r=r.slice(0,n.sheetRows)),r}function a(e,t){var n=t||{};return n.dateNF||(n.dateNF="yyyymmdd"),tn(r(e,n),n)}var i={B:8,C:250,L:1,D:8,"?":0,"":0};return{versions:[2,3,48,49,131,139,140,245],to_workbook:function(e,t){try{return Qt(a(e,t),t)}catch(e){if(t&&t.WTF)throw e}return{SheetNames:[],Sheets:{}}},to_sheet:a,from_sheet:function(e,r){var a=r||{};if(+a.codepage>=0&&s(+a.codepage),"string"==a.type)throw new Error("Cannot write DBF to JS string");var o=Ft(),l=du(e,{header:1,raw:!0,cellDates:!0}),c=l[0],u=l.slice(1),f=0,h=0,d=0,p=1;for(f=0;f<c.length;++f)if(null!=f){if(++d,"number"==typeof c[f]&&(c[f]=c[f].toString(10)),"string"!=typeof c[f])throw new Error("DBF Invalid column name "+c[f]+" |"+typeof c[f]+"|");if(c.indexOf(c[f])!==f)for(h=0;h<1024;++h)if(-1==c.indexOf(c[f]+"_"+h)){c[f]+="_"+h;break}}var g=Kt(e["!ref"]),m=[];for(f=0;f<=g.e.c-g.s.c;++f){var v=[];for(h=0;h<u.length;++h)null!=u[h][f]&&v.push(u[h][f]);if(0!=v.length&&null!=c[f]){var b="",y="";for(h=0;h<v.length;++h){switch(typeof v[h]){case"number":y="B";break;case"string":y="C";break;case"boolean":y="L";break;case"object":y=v[h]instanceof Date?"D":"C";break;default:y="C"}if("C"==(b=b&&b!=y?"C":y))break}p+=i[b]||0,m[f]=b}else m[f]="?"}var w=o.next(32);for(w._W(4,318902576),w._W(4,u.length),w._W(2,296+32*d),w._W(2,p),f=0;f<4;++f)w._W(4,0);for(w._W(4,0|(+t[n]||3)<<8),f=0,h=0;f<c.length;++f)if(null!=c[f]){var S=o.next(32),x=(c[f].slice(-10)+"\0\0\0\0\0\0\0\0\0\0\0").slice(0,11);S._W(1,x,"sbcs"),S._W(1,"?"==m[f]?"C":m[f],"sbcs"),S._W(4,h),S._W(1,i[m[f]]||0),S._W(1,0),S._W(1,2),S._W(4,0),S._W(1,0),S._W(4,0),S._W(4,0),h+=i[m[f]]||0}var E=o.next(264);for(E._W(4,13),f=0;f<65;++f)E._W(4,0);for(f=0;f<u.length;++f){var _=o.next(p);for(_._W(1,0),h=0;h<c.length;++h)if(null!=c[h])switch(m[h]){case"L":_._W(1,null==u[f][h]?63:u[f][h]?84:70);break;case"B":_._W(8,u[f][h]||0,"f");break;case"D":u[f][h]?(_._W(4,("0000"+u[f][h].getFullYear()).slice(-4),"sbcs"),_._W(2,("00"+(u[f][h].getMonth()+1)).slice(-2),"sbcs"),_._W(2,("00"+u[f][h].getDate()).slice(-2),"sbcs")):_._W(8,"00000000","sbcs");break;case"C":var k=String(u[f][h]||"");for(_._W(1,k,"sbcs"),d=0;d<250-k.length;++d)_._W(1,32)}}return o.next(1)._W(1,26),o.end()}}}(),Da=function(){var e={AA:"À",BA:"Á",CA:"Â",DA:195,HA:"Ä",JA:197,AE:"È",BE:"É",CE:"Ê",HE:"Ë",AI:"Ì",BI:"Í",CI:"Î",HI:"Ï",AO:"Ò",BO:"Ó",CO:"Ô",DO:213,HO:"Ö",AU:"Ù",BU:"Ú",CU:"Û",HU:"Ü",Aa:"à",Ba:"á",Ca:"â",Da:227,Ha:"ä",Ja:229,Ae:"è",Be:"é",Ce:"ê",He:"ë",Ai:"ì",Bi:"í",Ci:"î",Hi:"ï",Ao:"ò",Bo:"ó",Co:"ô",Do:245,Ho:"ö",Au:"ù",Bu:"ú",Cu:"û",Hu:"ü",KC:"Ç",Kc:"ç",q:"æ",z:"œ",a:"Æ",j:"Œ",DN:209,Dn:241,Hy:255,S:169,c:170,R:174,"B ":180,0:176,1:177,2:178,3:179,5:181,6:182,7:183,Q:185,k:186,b:208,i:216,l:222,s:240,y:248,"!":161,'"':162,"#":163,"(":164,"%":165,"'":167,"H ":168,"+":171,";":187,"<":188,"=":189,">":190,"?":191,"{":223},t=new RegExp("N("+M(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),n=function(t,n){var r=e[n];return"number"==typeof r?h(r):r},r=function(e,t,n){var r=t.charCodeAt(0)-32<<4|n.charCodeAt(0)-48;return 59==r?e:h(r)};function a(e,t){switch(t.type){case"base64":return i(g.decode(e),t);case"binary":return i(e,t);case"buffer":return i(m&&Buffer.isBuffer(e)?e.toString("binary"):E(e),t);case"array":return i(Q(e),t)}throw new Error("Unrecognized type "+t.type)}function i(e,a){var i,o=e.split(/[\n\r]+/),l=-1,c=-1,u=0,f=0,h=[],d=[],p=null,g={},m=[],v=[],b=[],y=0;for(+a.codepage>=0&&s(+a.codepage);u!==o.length;++u){y=0;var w,S=o[u].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,r).replace(t,n),x=S.replace(/;;/g,"\0").split(";").map(function(e){return e.replace(/\u0000/g,";")}),E=x[0];if(S.length>0)switch(E){case"ID":case"E":case"B":case"O":case"W":break;case"P":"P"==x[1].charAt(0)&&d.push(S.slice(3).replace(/;;/g,";"));break;case"C":var _=!1,k=!1,A=!1,C=!1,R=-1,N=-1;for(f=1;f<x.length;++f)switch(x[f].charAt(0)){case"A":break;case"X":c=parseInt(x[f].slice(1))-1,k=!0;break;case"Y":for(l=parseInt(x[f].slice(1))-1,k||(c=0),i=h.length;i<=l;++i)h[i]=[];break;case"K":'"'===(w=x[f].slice(1)).charAt(0)?w=w.slice(1,w.length-1):"TRUE"===w?w=!0:"FALSE"===w?w=!1:isNaN(ne(w))?isNaN(re(w).getDate())||(w=Z(w)):(w=ne(w),null!==p&&T.is_date(p)&&(w=X(w))),"undefined"!=typeof cptable&&"string"==typeof w&&"string"!=(a||{}).type&&(a||{}).codepage&&(w=cptable.utils.decode(a.codepage,w)),_=!0;break;case"E":C=!0;var B=mo(x[f].slice(1),{r:l,c:c});h[l][c]=[h[l][c],B];break;case"S":A=!0,h[l][c]=[h[l][c],"S5S"];break;case"G":break;case"R":R=parseInt(x[f].slice(1))-1;break;case"C":N=parseInt(x[f].slice(1))-1;break;default:if(a&&a.WTF)throw new Error("SYLK bad record "+S)}if(_&&(h[l][c]&&2==h[l][c].length?h[l][c][0]=w:h[l][c]=w,p=null),A){if(C)throw new Error("SYLK shared formula cannot have own formula");var I=R>-1&&h[R][N];if(!I||!I[1])throw new Error("SYLK shared formula cannot find base");h[l][c][1]=yo(I[1],{r:l-R,c:c-N})}break;case"F":var L=0;for(f=1;f<x.length;++f)switch(x[f].charAt(0)){case"X":c=parseInt(x[f].slice(1))-1,++L;break;case"Y":for(l=parseInt(x[f].slice(1))-1,i=h.length;i<=l;++i)h[i]=[];break;case"M":y=parseInt(x[f].slice(1))/20;break;case"F":case"G":break;case"P":p=d[parseInt(x[f].slice(1))];break;case"S":case"D":case"N":break;case"W":for(b=x[f].slice(1).split(" "),i=parseInt(b[0],10);i<=parseInt(b[1],10);++i)y=parseInt(b[2],10),v[i-1]=0===y?{hidden:!0}:{wch:y},Ai(v[i-1]);break;case"C":v[c=parseInt(x[f].slice(1))-1]||(v[c]={});break;case"R":m[l=parseInt(x[f].slice(1))-1]||(m[l]={}),y>0?(m[l].hpt=y,m[l].hpx=Ri(y)):0===y&&(m[l].hidden=!0);break;default:if(a&&a.WTF)throw new Error("SYLK bad record "+S)}L<1&&(p=null);break;default:if(a&&a.WTF)throw new Error("SYLK bad record "+S)}}return m.length>0&&(g["!rows"]=m),v.length>0&&(g["!cols"]=v),a&&a.sheetRows&&(h=h.slice(0,a.sheetRows)),[h,g]}function o(e,t){var n=a(e,t),r=n[0],i=n[1],o=tn(r,t);return M(i).forEach(function(e){o[e]=i[e]}),o}function l(e,t,n,r){var a="C;Y"+(n+1)+";X"+(r+1)+";K";switch(e.t){case"n":a+=e.v||0,e.f&&!e.F&&(a+=";E"+bo(e.f,{r:n,c:r}));break;case"b":a+=e.v?"TRUE":"FALSE";break;case"e":a+=e.w||e.v;break;case"d":a+='"'+(e.w||e.v)+'"';break;case"s":a+='"'+e.v.replace(/"/g,"")+'"'}return a}return e["|"]=254,{to_workbook:function(e,t){return Qt(o(e,t),t)},to_sheet:o,from_sheet:function(e,t){var n,r=["ID;PWXL;N;E"],a=[],i=Kt(e["!ref"]),o=Array.isArray(e),s="\r\n";r.push("P;PGeneral"),r.push("F;P0;DG0G8;M255"),e["!cols"]&&function(e,t){t.forEach(function(t,n){var r="F;W"+(n+1)+" "+(n+1)+" ";t.hidden?r+="0":("number"!=typeof t.width||t.wpx||(t.wpx=Si(t.width)),"number"!=typeof t.wpx||t.wch||(t.wch=xi(t.wpx)),"number"==typeof t.wch&&(r+=Math.round(t.wch)))," "!=r.charAt(r.length-1)&&e.push(r)})}(r,e["!cols"]),e["!rows"]&&function(e,t){t.forEach(function(t,n){var r="F;";t.hidden?r+="M0;":t.hpt?r+="M"+20*t.hpt+";":t.hpx&&(r+="M"+20*Ti(t.hpx)+";"),r.length>2&&e.push(r+"R"+(n+1))})}(r,e["!rows"]),r.push("B;Y"+(i.e.r-i.s.r+1)+";X"+(i.e.c-i.s.c+1)+";D"+[i.s.c,i.s.r,i.e.c,i.e.r].join(" "));for(var c=i.s.r;c<=i.e.r;++c)for(var u=i.s.c;u<=i.e.c;++u){var f=Xt({r:c,c:u});(n=o?(e[c]||[])[u]:e[f])&&(null!=n.v||n.f&&!n.F)&&a.push(l(n,0,c,u))}return r.join(s)+s+a.join(s)+s+"E"+s}}}(),Ma=function(){function e(e,n){switch(n.type){case"base64":return t(g.decode(e),n);case"binary":return t(e,n);case"buffer":return t(m&&Buffer.isBuffer(e)?e.toString("binary"):E(e),n);case"array":return t(Q(e),n)}throw new Error("Unrecognized type "+n.type)}function t(e,t){for(var n=e.split("\n"),r=-1,a=-1,i=0,o=[];i!==n.length;++i)if("BOT"!==n[i].trim()){if(!(r<0)){for(var s=n[i].trim().split(","),l=s[0],c=s[1],u=n[++i]||"";1&(u.match(/["]/g)||[]).length&&i<n.length-1;)u+="\n"+n[++i];switch(u=u.trim(),+l){case-1:if("BOT"===u){o[++r]=[],a=0;continue}if("EOD"!==u)throw new Error("Unrecognized DIF special command "+u);break;case 0:"TRUE"===u?o[r][a]=!0:"FALSE"===u?o[r][a]=!1:isNaN(ne(c))?isNaN(re(c).getDate())?o[r][a]=c:o[r][a]=Z(c):o[r][a]=ne(c),++a;break;case 1:u=(u=u.slice(1,u.length-1)).replace(/""/g,'"'),p&&u&&u.match(/^=".*"$/)&&(u=u.slice(2,-1)),o[r][a++]=""!==u?u:null}if("EOD"===u)break}}else o[++r]=[],a=0;return t&&t.sheetRows&&(o=o.slice(0,t.sheetRows)),o}function n(t,n){return tn(e(t,n),n)}return{to_workbook:function(e,t){return Qt(n(e,t),t)},to_sheet:n,from_sheet:function(){var e=function(e,t,n,r,a){e.push(t),e.push(n+","+r),e.push('"'+a.replace(/"/g,'""')+'"')},t=function(e,t,n,r){e.push(t+","+n),e.push(1==t?'"'+r.replace(/"/g,'""')+'"':r)};return function(n){var r,a=[],i=Kt(n["!ref"]),o=Array.isArray(n);e(a,"TABLE",0,1,"sheetjs"),e(a,"VECTORS",0,i.e.r-i.s.r+1,""),e(a,"TUPLES",0,i.e.c-i.s.c+1,""),e(a,"DATA",0,0,"");for(var s=i.s.r;s<=i.e.r;++s){t(a,-1,0,"BOT");for(var l=i.s.c;l<=i.e.c;++l){var c=Xt({r:s,c:l});if(r=o?(n[s]||[])[l]:n[c])switch(r.t){case"n":var u=p?r.w:r.v;u||null==r.v||(u=r.v),null==u?p&&r.f&&!r.F?t(a,1,0,"="+r.f):t(a,1,0,""):t(a,0,u,"V");break;case"b":t(a,0,r.v?1:0,r.v?"TRUE":"FALSE");break;case"s":t(a,1,0,!p||isNaN(r.v)?r.v:'="'+r.v+'"');break;case"d":r.w||(r.w=T.format(r.z||T._table[14],H(Z(r.v)))),p?t(a,0,r.w,"V"):t(a,1,0,r.w);break;default:t(a,1,0,"")}else t(a,1,0,"")}}t(a,-1,0,"EOD");return a.join("\r\n")}}()}}(),ja=function(){function e(e){return e.replace(/\\b/g,"\\").replace(/\\c/g,":").replace(/\\n/g,"\n")}function t(e){return e.replace(/\\/g,"\\b").replace(/:/g,"\\c").replace(/\n/g,"\\n")}function n(t,n){for(var r=t.split("\n"),a=-1,i=-1,o=0,s=[];o!==r.length;++o){var l=r[o].trim().split(":");if("cell"===l[0]){var c=Gt(l[1]);if(s.length<=c.r)for(a=s.length;a<=c.r;++a)s[a]||(s[a]=[]);switch(a=c.r,i=c.c,l[2]){case"t":s[a][i]=e(l[3]);break;case"v":s[a][i]=+l[3];break;case"vtf":var u=l[l.length-1];case"vtc":switch(l[3]){case"nl":s[a][i]=!!+l[4];break;default:s[a][i]=+l[4]}"vtf"==l[2]&&(s[a][i]=[s[a][i],u])}}}return n&&n.sheetRows&&(s=s.slice(0,n.sheetRows)),s}function r(e,t){return tn(n(e,t),t)}var a=["socialcalc:version:1.5","MIME-Version: 1.0","Content-Type: multipart/mixed; boundary=SocialCalcSpreadsheetControlSave"].join("\n"),i=["--SocialCalcSpreadsheetControlSave","Content-type: text/plain; charset=UTF-8"].join("\n")+"\n",o=["# SocialCalc Spreadsheet Control Save","part:sheet"].join("\n"),s="--SocialCalcSpreadsheetControlSave--";function l(e){if(!e||!e["!ref"])return"";for(var n,r=[],a=[],i="",o=$t(e["!ref"]),s=Array.isArray(e),l=o.s.r;l<=o.e.r;++l)for(var c=o.s.c;c<=o.e.c;++c)if(i=Xt({r:l,c:c}),(n=s?(e[l]||[])[c]:e[i])&&null!=n.v&&"z"!==n.t){switch(a=["cell",i,"t"],n.t){case"s":case"str":a.push(t(n.v));break;case"n":n.f?(a[2]="vtf",a[3]="n",a[4]=n.v,a[5]=t(n.f)):(a[2]="v",a[3]=n.v);break;case"b":a[2]="vt"+(n.f?"f":"c"),a[3]="nl",a[4]=n.v?"1":"0",a[5]=t(n.f||(n.v?"TRUE":"FALSE"));break;case"d":var u=H(Z(n.v));a[2]="vtc",a[3]="nd",a[4]=""+u,a[5]=n.w||T.format(n.z||T._table[14],u);break;case"e":continue}r.push(a.join(":"))}return r.push("sheet:c:"+(o.e.c-o.s.c+1)+":r:"+(o.e.r-o.s.r+1)+":tvf:1"),r.push("valueformat:1:text-wiki"),r.join("\n")}return{to_workbook:function(e,t){return Qt(r(e,t),t)},to_sheet:r,from_sheet:function(e){return[a,i,o,i,l(e),s].join("\n")}}}(),Wa=function(){function e(e,t,n,r,a){a.raw?t[n][r]=e:""===e||("TRUE"===e?t[n][r]=!0:"FALSE"===e?t[n][r]=!1:isNaN(ne(e))?isNaN(re(e).getDate())?t[n][r]=e:t[n][r]=Z(e):t[n][r]=ne(e))}function t(t,n){var r=n||{},a=[];if(!t||0===t.length)return a;for(var i=t.split(/[\r\n]/),o=i.length-1;o>=0&&0===i[o].length;)--o;for(var s=10,l=0,c=0;c<=o;++c)-1==(l=i[c].indexOf(" "))?l=i[c].length:l++,s=Math.max(s,l);for(c=0;c<=o;++c){a[c]=[];var u=0;for(e(i[c].slice(0,s).trim(),a,c,u,r),u=1;u<=(i[c].length-s)/10+1;++u)e(i[c].slice(s+10*(u-1),s+10*u).trim(),a,c,u,r)}return r.sheetRows&&(a=a.slice(0,r.sheetRows)),a}var n={44:",",9:"\t",59:";",124:"|"},r={44:3,9:2,59:1,124:0};function a(e){for(var t={},a=!1,i=0,o=0;i<e.length;++i)34==(o=e.charCodeAt(i))?a=!a:!a&&o in n&&(t[o]=(t[o]||0)+1);for(i in o=[],t)Object.prototype.hasOwnProperty.call(t,i)&&o.push([t[i],i]);if(!o.length)for(i in t=r)Object.prototype.hasOwnProperty.call(t,i)&&o.push([t[i],i]);return o.sort(function(e,t){return e[0]-t[0]||r[e[1]]-r[t[1]]}),n[o.pop()[1]]||44}function i(e,t){var n=t||{},r="";null!=d&&null==n.dense&&(n.dense=d);var i=n.dense?[]:{},o={s:{c:0,r:0},e:{c:0,r:0}};"sep="==e.slice(0,4)?13==e.charCodeAt(5)&&10==e.charCodeAt(6)?(r=e.charAt(4),e=e.slice(7)):13==e.charCodeAt(5)||10==e.charCodeAt(5)?(r=e.charAt(4),e=e.slice(6)):r=a(e.slice(0,1024)):r=a(e.slice(0,1024));var s=0,l=0,c=0,u=0,f=0,h=r.charCodeAt(0),p=!1,g=0,m=e.charCodeAt(0);e=e.replace(/\r\n/gm,"\n");var v=null!=n.dateNF?function(e){var t="number"==typeof e?T._table[e]:e;return t=t.replace(I,"(\\d+)"),new RegExp("^"+t+"$")}(n.dateNF):null;function b(){var t=e.slice(u,f),r={};if('"'==t.charAt(0)&&'"'==t.charAt(t.length-1)&&(t=t.slice(1,-1).replace(/""/g,'"')),0===t.length)r.t="z";else if(n.raw)r.t="s",r.v=t;else if(0===t.trim().length)r.t="s",r.v=t;else if(61==t.charCodeAt(0))34==t.charCodeAt(1)&&34==t.charCodeAt(t.length-1)?(r.t="s",r.v=t.slice(2,-1).replace(/""/g,'"')):!function(e){return 1!=e.length}(t)?(r.t="s",r.v=t):(r.t="n",r.f=t.slice(1));else if("TRUE"==t)r.t="b",r.v=!0;else if("FALSE"==t)r.t="b",r.v=!1;else if(isNaN(c=ne(t)))if(!isNaN(re(t).getDate())||v&&t.match(v)){r.z=n.dateNF||T._table[14];var a=0;v&&t.match(v)&&(t=function(e,t,n){var r=-1,a=-1,i=-1,o=-1,s=-1,l=-1;(t.match(I)||[]).forEach(function(e,t){var c=parseInt(n[t+1],10);switch(e.toLowerCase().charAt(0)){case"y":r=c;break;case"d":i=c;break;case"h":o=c;break;case"s":l=c;break;case"m":o>=0?s=c:a=c}}),l>=0&&-1==s&&a>=0&&(s=a,a=-1);var c=(""+(r>=0?r:(new Date).getFullYear())).slice(-4)+"-"+("00"+(a>=1?a:1)).slice(-2)+"-"+("00"+(i>=1?i:1)).slice(-2);7==c.length&&(c="0"+c),8==c.length&&(c="20"+c);var u=("00"+(o>=0?o:0)).slice(-2)+":"+("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(l>=0?l:0)).slice(-2);return-1==o&&-1==s&&-1==l?c:-1==r&&-1==a&&-1==i?u:c+"T"+u}(0,n.dateNF,t.match(v)||[]),a=1),n.cellDates?(r.t="d",r.v=Z(t,a)):(r.t="n",r.v=H(Z(t,a))),!1!==n.cellText&&(r.w=T.format(r.z,r.v instanceof Date?H(r.v):r.v)),n.cellNF||delete r.z}else r.t="s",r.v=t;else r.t="n",!1!==n.cellText&&(r.w=t),r.v=c;if("z"==r.t||(n.dense?(i[s]||(i[s]=[]),i[s][l]=r):i[Xt({c:l,r:s})]=r),u=f+1,m=e.charCodeAt(u),o.e.c<l&&(o.e.c=l),o.e.r<s&&(o.e.r=s),g==h)++l;else if(l=0,++s,n.sheetRows&&n.sheetRows<=s)return!0}e:for(;f<e.length;++f)switch(g=e.charCodeAt(f)){case 34:34===m&&(p=!p);break;case h:case 10:case 13:if(!p&&b())break e}return f-u>0&&b(),i["!ref"]=Yt(o),i}function o(e,n){return n&&n.PRN?"sep="==e.slice(0,4)?i(e,n):e.indexOf("\t")>=0||e.indexOf(",")>=0||e.indexOf(";")>=0?i(e,n):tn(t(e,n),n):i(e,n)}function s(e,t){var n="",r="string"==t.type?[0,0,0,0]:tu(e,t);switch(t.type){case"base64":n=g.decode(e);break;case"binary":n=e;break;case"buffer":n=65001==t.codepage?e.toString("utf8"):t.codepage&&"undefined"!=typeof cptable?cptable.utils.decode(t.codepage,e):m&&Buffer.isBuffer(e)?e.toString("binary"):E(e);break;case"array":n=Q(e);break;case"string":n=e;break;default:throw new Error("Unrecognized type "+t.type)}return 239==r[0]&&187==r[1]&&191==r[2]?n=Pe(n.slice(3)):"string"!=t.type&&65001==t.codepage?n=Pe(n):"binary"==t.type&&"undefined"!=typeof cptable&&t.codepage&&(n=cptable.utils.decode(t.codepage,cptable.utils.encode(28591,n))),"socialcalc:version:"==n.slice(0,19)?ja.to_sheet("string"==t.type?n:Pe(n),t):o(n,t)}return{to_workbook:function(e,t){return Qt(s(e,t),t)},to_sheet:s,from_sheet:function(e){for(var t,n=[],r=Kt(e["!ref"]),a=Array.isArray(e),i=r.s.r;i<=r.e.r;++i){for(var o=[],s=r.s.c;s<=r.e.c;++s){var l=Xt({r:i,c:s});if((t=a?(e[i]||[])[s]:e[l])&&null!=t.v){for(var c=(t.w||(Zt(t),t.w)||"").slice(0,10);c.length<10;)c+=" ";o.push(c+(0===s?" ":""))}else o.push(" ")}n.push(o.join(""))}return n.join("\n")}}}();var Ua=function(){function e(e,t){if(!e)return e;var n=t||{};null!=d&&null==n.dense&&(n.dense=d);var r=n.dense?[]:{},a="Sheet1",i=0,l={},c=[a],u={s:{r:0,c:0},e:{r:0,c:0}},f=n.sheetRows||0;if(2==e[2])n.Enum=o;else if(26==e[2])n.Enum=s;else{if(14!=e[2])throw new Error("Unrecognized LOTUS BOF "+e[2]);n.Enum=s,n.qpro=!0,e.l=0}return function(e,t,n){if(e){It(e,e.l||0);for(var r=n.Enum||o;e.l<e.length;){var a=e._R(2),i=r[a]||r[255],s=e._R(2),l=e.l+s,c=(i.f||Lt)(e,s,n);if(e.l=l,t(c,i.n,a))return}}}(e,function(t,o,s){if(2==e[2])switch(s){case 0:n.vers=t,t>=4096&&(n.qpro=!0);break;case 6:u=t;break;case 15:n.qpro||(t[1].v=t[1].v.slice(1));case 13:case 14:case 16:case 51:14==s&&112==(112&t[2])&&(15&t[2])>1&&(15&t[2])<15&&(t[1].z=n.dateNF||T._table[14],n.cellDates&&(t[1].t="d",t[1].v=X(t[1].v))),n.dense?(r[t[0].r]||(r[t[0].r]=[]),r[t[0].r][t[0].c]=t[1]):r[Xt(t[0])]=t[1]}else switch(s){case 22:t[1].v=t[1].v.slice(1);case 23:case 24:case 25:case 37:case 39:case 40:if(t[3]>i&&(r["!ref"]=Yt(u),l[a]=r,r=n.dense?[]:{},u={s:{r:0,c:0},e:{r:0,c:0}},i=t[3],a="Sheet"+(i+1),c.push(a)),f>0&&t[0].r>=f)break;n.dense?(r[t[0].r]||(r[t[0].r]=[]),r[t[0].r][t[0].c]=t[1]):r[Xt(t[0])]=t[1],u.e.c<t[0].c&&(u.e.c=t[0].c),u.e.r<t[0].r&&(u.e.r=t[0].r)}},n),r["!ref"]=Yt(u),l[a]=r,{SheetNames:c,Sheets:l}}function t(e,t,n){var r=[{c:0,r:0},{t:"n",v:0},0];return n.qpro&&20768!=n.vers?(r[0].c=e._R(1),e.l++,r[0].r=e._R(2),e.l+=2):(r[2]=e._R(1),r[0].c=e._R(2),r[0].r=e._R(2)),r}function n(e,n,r){var a=e.l+n,i=t(e,0,r);if(i[1].t="s",20768==r.vers){e.l++;var o=e._R(1);return i[1].v=e._R(o,"utf8"),i}return r.qpro&&e.l++,i[1].v=e._R(a-e.l,"cstr"),i}function r(e){var t=[{c:0,r:0},{t:"n",v:0},0];return t[0].r=e._R(2),t[3]=e[e.l++],t[0].c=e[e.l++],t}function a(e,t){var n=r(e),a=e._R(4),i=e._R(4),o=e._R(2);if(65535==o)return n[1].v=0,n;var s=32768&o;return o=(32767&o)-16446,n[1].v=(2*s-1)*((o>0?i<<o:i>>>-o)+(o>-32?a<<o+32:a>>>-(o+32))),n}function i(e,t){var n=r(e),a=e._R(8,"f");return n[1].v=a,n}var o={0:{n:"BOF",f:Wr},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:function(e){var t={s:{c:0,r:0},e:{c:0,r:0}};return t.s.c=e._R(2),t.s.r=e._R(2),t.e.c=e._R(2),t.e.r=e._R(2),65535==t.s.c&&(t.s.c=t.e.c=t.s.r=t.e.r=0),t}},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:function(e,n,r){var a=t(e,0,r);return a[1].v=e._R(2,"i"),a}},14:{n:"NUMBER",f:function(e,n,r){var a=t(e,0,r);return a[1].v=e._R(8,"f"),a}},15:{n:"LABEL",f:n},16:{n:"FORMULA",f:function(e,n,r){var a=e.l+n,i=t(e,0,r);if(i[1].v=e._R(8,"f"),r.qpro)e.l=a;else{var o=e._R(2);e.l+=o}return i}},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f:n},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},255:{n:"",f:Lt}},s={0:{n:"BOF"},1:{n:"EOF"},3:{n:"??"},4:{n:"??"},5:{n:"??"},6:{n:"??"},7:{n:"??"},9:{n:"??"},10:{n:"??"},11:{n:"??"},12:{n:"??"},14:{n:"??"},15:{n:"??"},16:{n:"??"},17:{n:"??"},18:{n:"??"},19:{n:"??"},21:{n:"??"},22:{n:"LABEL16",f:function(e,t){var n=r(e);return n[1].t="s",n[1].v=e._R(t-4,"cstr"),n}},23:{n:"NUMBER17",f:a},24:{n:"NUMBER18",f:function(e,t){var n=r(e);n[1].v=e._R(2);var a=n[1].v>>1;if(1&n[1].v)switch(7&a){case 1:a=500*(a>>3);break;case 2:a=(a>>3)/20;break;case 4:a=(a>>3)/2e3;break;case 6:a=(a>>3)/16;break;case 7:a=(a>>3)/64;break;default:throw"unknown NUMBER_18 encoding "+(7&a)}return n[1].v=a,n}},25:{n:"FORMULA19",f:function(e,t){var n=a(e);return e.l+=t-14,n}},26:{n:"??"},27:{n:"??"},28:{n:"??"},29:{n:"??"},30:{n:"??"},31:{n:"??"},33:{n:"??"},37:{n:"NUMBER25",f:function(e,t){var n=r(e),a=e._R(4);return n[1].v=a>>6,n}},39:{n:"NUMBER27",f:i},40:{n:"FORMULA28",f:function(e,t){var n=i(e);return e.l+=t-10,n}},255:{n:"",f:Lt}};return{to_workbook:function(t,n){switch(n.type){case"base64":return e(S(g.decode(t)),n);case"binary":return e(S(t),n);case"buffer":case"array":return e(t,n)}throw"Unsupported type "+n.type}}}();function za(e){var t={},n=e.match(be),r=0,a=!1;if(n)for(;r!=n.length;++r){var o=Se(n[r]);switch(o[0].replace(/\w*:/g,"")){case"<condense":case"<extend":break;case"<shadow":if(!o.val)break;case"<shadow>":case"<shadow/>":t.shadow=1;break;case"</shadow>":break;case"<charset":if("1"==o.val)break;t.cp=i[parseInt(o.val,10)];break;case"<outline":if(!o.val)break;case"<outline>":case"<outline/>":t.outline=1;break;case"</outline>":break;case"<rFont":t.name=o.val;break;case"<sz":t.sz=o.val;break;case"<strike":if(!o.val)break;case"<strike>":case"<strike/>":t.strike=1;break;case"</strike>":break;case"<u":if(!o.val)break;switch(o.val){case"double":t.uval="double";break;case"singleAccounting":t.uval="single-accounting";break;case"doubleAccounting":t.uval="double-accounting"}case"<u>":case"<u/>":t.u=1;break;case"</u>":break;case"<b":if("0"==o.val)break;case"<b>":case"<b/>":t.b=1;break;case"</b>":break;case"<i":if("0"==o.val)break;case"<i>":case"<i/>":t.i=1;break;case"</i>":break;case"<color":o.rgb&&(t.color=o.rgb.slice(2,8));break;case"<family":t.family=o.val;break;case"<vertAlign":t.valign=o.val;break;case"<scheme":break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":a=!0;break;case"</ext>":a=!1;break;default:if(47!==o[0].charCodeAt(1)&&!a)throw new Error("Unrecognized rich format "+o[0])}}return t}var Ha=function(){var e=We("t"),t=We("rPr");function n(n){var r=n.match(e);if(!r)return{t:"s",v:""};var a={t:"s",v:ke(r[1])},i=n.match(t);return i&&(a.s=za(i[1])),a}var r=/<(?:\w+:)?r>/g,a=/<\/(?:\w+:)?r>/;return function(e){return e.replace(r,"").split(a).map(n).filter(function(e){return e.v})}}(),Va=function(){var e=/(\r\n|\n)/g;function t(t){var n=[[],t.v,[]];return t.v?(t.s&&function(e,t,n){var r=[];e.u&&r.push("text-decoration: underline;"),e.uval&&r.push("text-underline-style:"+e.uval+";"),e.sz&&r.push("font-size:"+e.sz+"pt;"),e.outline&&r.push("text-effect: outline;"),e.shadow&&r.push("text-shadow: auto;"),t.push('<span style="'+r.join("")+'">'),e.b&&(t.push("<b>"),n.push("</b>")),e.i&&(t.push("<i>"),n.push("</i>")),e.strike&&(t.push("<s>"),n.push("</s>"));var a=e.valign||"";"superscript"==a||"super"==a?a="sup":"subscript"==a&&(a="sub"),""!=a&&(t.push("<"+a+">"),n.push("</"+a+">")),n.push("</span>")}(t.s,n[0],n[2]),n[0].join("")+n[1].replace(e,"<br/>")+n[2].join("")):""}return function(e){return e.map(t).join("")}}(),qa=/<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g,Ga=/<(?:\w+:)?r>/,Xa=/<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g;function $a(e,t){var n=!t||t.cellHTML,r={};return e?(e.match(/^\s*<(?:\w+:)?t[^>]*>/)?(r.t=ke(Pe(e.slice(e.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||"")),r.r=Pe(e),n&&(r.h=Be(r.t))):e.match(Ga)&&(r.r=Pe(e),r.t=ke(Pe((e.replace(Xa,"").match(qa)||[]).join("").replace(be,""))),n&&(r.h=Va(Ha(r.r)))),r):{t:""}}var Ya=/<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/,Ka=/<(?:\w+:)?(?:si|sstItem)>/g,Ja=/<\/(?:\w+:)?(?:si|sstItem)>/;Kn.SST="http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings";var Za=/^\s|\s$|[\t\n\r]/;var Qa=function(e,t){var n=!1;return null==t&&(n=!0,t=Ot(15+4*e.t.length)),t._W(1,0),an(e.t,t),n?t.slice(0,t.l):t};function ei(e){var t=Ft();Dt(t,"BrtBeginSst",function(e,t){return t||(t=Ot(8)),t._W(4,e.Count),t._W(4,e.Unique),t}(e));for(var n=0;n<e.length;++n)Dt(t,"BrtSSTItem",Qa(e[n]));return Dt(t,"BrtEndSst"),t.end()}function ti(e){if("undefined"!=typeof cptable)return cptable.utils.encode(n,e);for(var t=[],r=e.split(""),a=0;a<r.length;++a)t[a]=r[a].charCodeAt(0);return t}function ni(e,t){var n={};return n.Major=e._R(2),n.Minor=e._R(2),t>=4&&(e.l+=t-4),n}function ri(e){for(var t=e._R(4),n=e.l+t-4,r={},a=e._R(4),i=[];a-- >0;)i.push({t:e._R(4),v:e._R(0,"lpp4")});if(r.name=e._R(0,"lpp4"),r.comps=i,e.l!=n)throw new Error("Bad DataSpaceMapEntry: "+e.l+" != "+n);return r}function ai(e){var t=function(e){var t={};return e._R(4),e.l+=4,t.id=e._R(0,"lpp4"),t.name=e._R(0,"lpp4"),t.R=ni(e,4),t.U=ni(e,4),t.W=ni(e,4),t}(e);if(t.ename=e._R(0,"8lpp4"),t.blksz=e._R(4),t.cmode=e._R(4),4!=e._R(4))throw new Error("Bad !Primary record");return t}function ii(e,t){var n=e.l+t,r={};r.Flags=63&e._R(4),e.l+=4,r.AlgID=e._R(4);var a=!1;switch(r.AlgID){case 26126:case 26127:case 26128:a=36==r.Flags;break;case 26625:a=4==r.Flags;break;case 0:a=16==r.Flags||4==r.Flags||36==r.Flags;break;default:throw"Unrecognized encryption algorithm: "+r.AlgID}if(!a)throw new Error("Encryption Flags/AlgID mismatch");return r.AlgIDHash=e._R(4),r.KeySize=e._R(4),r.ProviderType=e._R(4),e.l+=8,r.CSPName=e._R(n-e.l>>1,"utf16le"),e.l=n,r}function oi(e,t){var n={},r=e.l+t;return e.l+=4,n.Salt=e.slice(e.l,e.l+16),e.l+=16,n.Verifier=e.slice(e.l,e.l+16),e.l+=16,e._R(4),n.VerifierHash=e.slice(e.l,r),e.l=r,n}function si(e){if(36!=(63&e._R(4)))throw new Error("EncryptionInfo mismatch");var t=e._R(4);return{t:"Std",h:ii(e,t),v:oi(e,e.length-e.l)}}function li(){throw new Error("File is password-protected: ECMA-376 Extensible")}function ci(e){var t=["saltSize","blockSize","keyBits","hashSize","cipherAlgorithm","cipherChaining","hashAlgorithm","saltValue"];e.l+=4;var n=e._R(e.length-e.l,"utf8"),r={};return n.replace(be,function(e){var n=Se(e);switch(xe(n[0])){case"<?xml":break;case"<encryption":case"</encryption>":break;case"<keyData":t.forEach(function(e){r[e]=n[e]});break;case"<dataIntegrity":r.encryptedHmacKey=n.encryptedHmacKey,r.encryptedHmacValue=n.encryptedHmacValue;break;case"<keyEncryptors>":case"<keyEncryptors":r.encs=[];break;case"</keyEncryptors>":break;case"<keyEncryptor":r.uri=n.uri;break;case"</keyEncryptor>":break;case"<encryptedKey":r.encs.push(n);break;default:throw n[0]}}),r}function ui(e){var t,n,r=0,a=ti(e),i=a.length+1;for((t=y(i))[0]=a.length,n=1;n!=i;++n)t[n]=a[n-1];for(n=i-1;n>=0;--n)r=((0==(16384&r)?0:1)|r<<1&32767)^t[n];return 52811^r}var fi=function(){var e=[187,255,255,186,255,255,185,128,0,190,15,0,191,15,0],t=[57840,7439,52380,33984,4364,3600,61902,12606,6258,57657,54287,34041,10252,43370,20163],n=[44796,19929,39858,10053,20106,40212,10761,31585,63170,64933,60267,50935,40399,11199,17763,35526,1453,2906,5812,11624,23248,885,1770,3540,7080,14160,28320,56640,55369,41139,20807,41614,21821,43642,17621,28485,56970,44341,19019,38038,14605,29210,60195,50791,40175,10751,21502,43004,24537,18387,36774,3949,7898,15796,31592,63184,47201,24803,49606,37805,14203,28406,56812,17824,35648,1697,3394,6788,13576,27152,43601,17539,35078,557,1114,2228,4456,30388,60776,51953,34243,7079,14158,28316,14128,28256,56512,43425,17251,34502,7597,13105,26210,52420,35241,883,1766,3532,4129,8258,16516,33032,4657,9314,18628],r=function(e,t){return function(e){return 255&(e/2|128*e)}(e^t)},a=function(e){for(var r=t[e.length-1],a=104,i=e.length-1;i>=0;--i)for(var o=e[i],s=0;7!=s;++s)64&o&&(r^=n[a]),o*=2,--a;return r};return function(t){for(var n,i,o,s=ti(t),l=a(s),c=s.length,u=y(16),f=0;16!=f;++f)u[f]=0;for(1==(1&c)&&(n=l>>8,u[c]=r(e[0],n),--c,n=255&l,i=s[s.length-1],u[c]=r(i,n));c>0;)n=l>>8,u[--c]=r(s[c],n),n=255&l,u[--c]=r(s[c],n);for(c=15,o=15-s.length;o>0;)n=l>>8,u[c]=r(e[o],n),--o,n=255&l,u[--c]=r(s[c],n),--c,--o;return u}}(),hi=function(e){var t=0,n=fi(e);return function(e){var r=function(e,t,n,r,a){var i,o;for(a||(a=t),r||(r=fi(e)),i=0;i!=t.length;++i)o=t[i],o=255&((o^=r[n])>>5|o<<3),a[i]=o,++n;return[a,n,r]}("",e,t,n);return t=r[1],r[0]}};function di(e,t,n){var r=n||{};return r.Info=e._R(2),e.l-=2,1===r.Info?r.Data=function(e){var t={},n=t.EncryptionVersionInfo=ni(e,4);if(1!=n.Major||1!=n.Minor)throw"unrecognized version code "+n.Major+" : "+n.Minor;return t.Salt=e._R(16),t.EncryptedVerifier=e._R(16),t.EncryptedVerifierHash=e._R(16),t}(e):r.Data=function(e,t){var n={},r=n.EncryptionVersionInfo=ni(e,4);if(t-=4,2!=r.Minor)throw new Error("unrecognized minor version code: "+r.Minor);if(r.Major>4||r.Major<2)throw new Error("unrecognized major version code: "+r.Major);n.Flags=e._R(4),t-=4;var a=e._R(4);return t-=4,n.EncryptionHeader=ii(e,a),t-=a,n.EncryptionVerifier=oi(e,t),n}(e,t),r}var pi=function(){function e(e,n){switch(n.type){case"base64":return t(g.decode(e),n);case"binary":return t(e,n);case"buffer":return t(m&&Buffer.isBuffer(e)?e.toString("binary"):E(e),n);case"array":return t(Q(e),n)}throw new Error("Unrecognized type "+n.type)}function t(e,t){var n=(t||{}).dense?[]:{},r=e.match(/\\trowd.*?\\row\b/g);if(!r.length)throw new Error("RTF missing table");var a={s:{c:0,r:0},e:{c:0,r:r.length-1}};return r.forEach(function(e,t){Array.isArray(n)&&(n[t]=[]);for(var r,i=/\\\w+\b/g,o=0,s=-1;r=i.exec(e);){switch(r[0]){case"\\cell":var l=e.slice(o,i.lastIndex-r[0].length);if(" "==l[0]&&(l=l.slice(1)),++s,l.length){var c={v:l,t:"s"};Array.isArray(n)?n[t][s]=c:n[Xt({r:t,c:s})]=c}}o=i.lastIndex}s>a.e.c&&(a.e.c=s)}),n["!ref"]=Yt(a),n}return{to_workbook:function(t,n){return Qt(e(t,n),n)},to_sheet:e,from_sheet:function(e){for(var t,n=["{\\rtf1\\ansi"],r=Kt(e["!ref"]),a=Array.isArray(e),i=r.s.r;i<=r.e.r;++i){n.push("\\trowd\\trautofit1");for(var o=r.s.c;o<=r.e.c;++o)n.push("\\cellx"+(o+1));for(n.push("\\pard\\intbl"),o=r.s.c;o<=r.e.c;++o){var s=Xt({r:i,c:o});(t=a?(e[i]||[])[o]:e[s])&&(null!=t.v||t.f&&!t.F)&&(n.push(" "+(t.w||(Zt(t),t.w))),n.push("\\cell"))}n.push("\\pard\\intbl\\row")}return n.join("")+"}"}}}();function gi(e){for(var t=0,n=1;3!=t;++t)n=256*n+(e[t]>255?255:e[t]<0?0:e[t]);return n.toString(16).toUpperCase().slice(1)}function mi(e,t){if(0===t)return e;var n=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255,a=Math.max(t,n,r),i=Math.min(t,n,r),o=a-i;if(0===o)return[0,0,t];var s,l=0,c=a+i;switch(s=o/(c>1?2-c:c),a){case t:l=((n-r)/o+6)%6;break;case n:l=(r-t)/o+2;break;case r:l=(t-n)/o+4}return[l/6,s,c/2]}(function(e){var t=e.slice("#"===e[0]?1:0).slice(0,6);return[parseInt(t.slice(0,2),16),parseInt(t.slice(2,4),16),parseInt(t.slice(4,6),16)]}(e));return n[2]=t<0?n[2]*(1+t):1-(1-n[2])*(1-t),gi(function(e){var t,n=e[0],r=e[1],a=e[2],i=2*r*(a<.5?a:1-a),o=a-i/2,s=[o,o,o],l=6*n;if(0!==r)switch(0|l){case 0:case 6:t=i*l,s[0]+=i,s[1]+=t;break;case 1:t=i*(2-l),s[0]+=t,s[1]+=i;break;case 2:t=i*(l-2),s[1]+=i,s[2]+=t;break;case 3:t=i*(4-l),s[1]+=t,s[2]+=i;break;case 4:t=i*(l-4),s[2]+=i,s[0]+=t;break;case 5:t=i*(6-l),s[2]+=t,s[0]+=i}for(var c=0;3!=c;++c)s[c]=Math.round(255*s[c]);return s}(n))}var vi=6,bi=15,yi=1,wi=vi;function Si(e){return Math.floor((e+Math.round(128/wi)/256)*wi)}function xi(e){return Math.floor((e-5)/wi*100+.5)/100}function Ei(e){return Math.round((e*wi+5)/wi*256)/256}function _i(e){return Ei(xi(Si(e)))}function ki(e){var t=Math.abs(e-_i(e)),n=wi;if(t>.005)for(wi=yi;wi<bi;++wi)Math.abs(e-_i(e))<=t&&(t=Math.abs(e-_i(e)),n=wi);wi=n}function Ai(e){e.width?(e.wpx=Si(e.width),e.wch=xi(e.wpx),e.MDW=wi):e.wpx?(e.wch=xi(e.wpx),e.width=Ei(e.wch),e.MDW=wi):"number"==typeof e.wch&&(e.width=Ei(e.wch),e.wpx=Si(e.width),e.MDW=wi),e.customWidth&&delete e.customWidth}var Ci=96;function Ti(e){return 96*e/Ci}function Ri(e){return e*Ci/96}var Ni={None:"none",Solid:"solid",Gray50:"mediumGray",Gray75:"darkGray",Gray25:"lightGray",HorzStripe:"darkHorizontal",VertStripe:"darkVertical",ReverseDiagStripe:"darkDown",DiagStripe:"darkUp",DiagCross:"darkGrid",ThickDiagCross:"darkTrellis",ThinHorzStripe:"lightHorizontal",ThinVertStripe:"lightVertical",ThinReverseDiagStripe:"lightDown",ThinHorzCross:"lightGrid"};function Bi(e,t,n,r){t.Fonts=[];var a={},o=!1;(e[0].match(be)||[]).forEach(function(e){var s=Se(e);switch(xe(s[0])){case"<fonts":case"<fonts>":case"</fonts>":break;case"<font":case"<font>":break;case"</font>":case"<font/>":t.Fonts.push(a),a={};break;case"<name":s.val&&(a.name=Pe(s.val));break;case"<name/>":case"</name>":break;case"<b":a.bold=s.val?Oe(s.val):1;break;case"<b/>":a.bold=1;break;case"<i":a.italic=s.val?Oe(s.val):1;break;case"<i/>":a.italic=1;break;case"<u":switch(s.val){case"none":a.underline=0;break;case"single":a.underline=1;break;case"double":a.underline=2;break;case"singleAccounting":a.underline=33;break;case"doubleAccounting":a.underline=34}break;case"<u/>":a.underline=1;break;case"<strike":a.strike=s.val?Oe(s.val):1;break;case"<strike/>":a.strike=1;break;case"<outline":a.outline=s.val?Oe(s.val):1;break;case"<outline/>":a.outline=1;break;case"<shadow":a.shadow=s.val?Oe(s.val):1;break;case"<shadow/>":a.shadow=1;break;case"<condense":a.condense=s.val?Oe(s.val):1;break;case"<condense/>":a.condense=1;break;case"<extend":a.extend=s.val?Oe(s.val):1;break;case"<extend/>":a.extend=1;break;case"<sz":s.val&&(a.sz=+s.val);break;case"<sz/>":case"</sz>":break;case"<vertAlign":s.val&&(a.vertAlign=s.val);break;case"<vertAlign/>":case"</vertAlign>":break;case"<family":s.val&&(a.family=parseInt(s.val,10));break;case"<family/>":case"</family>":break;case"<scheme":s.val&&(a.scheme=s.val);break;case"<scheme/>":case"</scheme>":break;case"<charset":if("1"==s.val)break;s.codepage=i[parseInt(s.val,10)];break;case"<color":if(a.color||(a.color={}),s.auto&&(a.color.auto=Oe(s.auto)),s.rgb)a.color.rgb=s.rgb.slice(-6);else if(s.indexed){a.color.index=parseInt(s.indexed,10);var l=zn[a.color.index];81==a.color.index&&(l=zn[1]),l||(l=zn[1]),a.color.rgb=l[0].toString(16)+l[1].toString(16)+l[2].toString(16)}else s.theme&&(a.color.theme=parseInt(s.theme,10),s.tint&&(a.color.tint=parseFloat(s.tint)),s.theme&&n.themeElements&&n.themeElements.clrScheme&&(a.color.rgb=mi(n.themeElements.clrScheme[a.color.theme].rgb,a.color.tint||0)));break;case"<color/>":case"</color>":break;case"<AlternateContent":o=!0;break;case"</AlternateContent>":o=!1;break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":o=!0;break;case"</ext>":o=!1;break;default:if(r&&r.WTF&&!o)throw new Error("unrecognized "+s[0]+" in fonts")}})}var Ii=["numFmtId","fillId","fontId","borderId","xfId"],Li=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"];var Oi=function(){var e=/<(?:\w+:)?numFmts([^>]*)>[\S\s]*?<\/(?:\w+:)?numFmts>/,t=/<(?:\w+:)?cellXfs([^>]*)>[\S\s]*?<\/(?:\w+:)?cellXfs>/,n=/<(?:\w+:)?fills([^>]*)>[\S\s]*?<\/(?:\w+:)?fills>/,r=/<(?:\w+:)?fonts([^>]*)>[\S\s]*?<\/(?:\w+:)?fonts>/,a=/<(?:\w+:)?borders([^>]*)>[\S\s]*?<\/(?:\w+:)?borders>/;return function(i,o,s){var l,c={};return i?((l=(i=i.replace(/<!--([\s\S]*?)-->/gm,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"")).match(e))&&function(e,t,n){t.NumberFmt=[];for(var r=M(T._table),a=0;a<r.length;++a)t.NumberFmt[r[a]]=T._table[r[a]];var i=e[0].match(be);if(i)for(a=0;a<i.length;++a){var o=Se(i[a]);switch(xe(o[0])){case"<numFmts":case"</numFmts>":case"<numFmts/>":case"<numFmts>":break;case"<numFmt":var s=ke(Pe(o.formatCode)),l=parseInt(o.numFmtId,10);if(t.NumberFmt[l]=s,l>0){if(l>392){for(l=392;l>60&&null!=t.NumberFmt[l];--l);t.NumberFmt[l]=s}T.load(s,l)}break;case"</numFmt>":break;default:if(n.WTF)throw new Error("unrecognized "+o[0]+" in numFmts")}}}(l,c,s),(l=i.match(r))&&Bi(l,c,o,s),(l=i.match(n))&&function(e,t,n,r){t.Fills=[];var a={},i=!1;(e[0].match(be)||[]).forEach(function(e){var n=Se(e);switch(xe(n[0])){case"<fills":case"<fills>":case"</fills>":break;case"<fill>":case"<fill":case"<fill/>":a={},t.Fills.push(a);break;case"</fill>":case"<gradientFill>":break;case"<gradientFill":case"</gradientFill>":t.Fills.push(a),a={};break;case"<patternFill":case"<patternFill>":n.patternType&&(a.patternType=n.patternType);break;case"<patternFill/>":case"</patternFill>":break;case"<bgColor":a.bgColor||(a.bgColor={}),n.indexed&&(a.bgColor.indexed=parseInt(n.indexed,10)),n.theme&&(a.bgColor.theme=parseInt(n.theme,10)),n.tint&&(a.bgColor.tint=parseFloat(n.tint)),n.rgb&&(a.bgColor.rgb=n.rgb.slice(-6));break;case"<bgColor/>":case"</bgColor>":break;case"<fgColor":a.fgColor||(a.fgColor={}),n.theme&&(a.fgColor.theme=parseInt(n.theme,10)),n.tint&&(a.fgColor.tint=parseFloat(n.tint)),null!=n.rgb&&(a.fgColor.rgb=n.rgb.slice(-6));break;case"<fgColor/>":case"</fgColor>":break;case"<stop":case"<stop/>":case"</stop>":break;case"<color":case"<color/>":case"</color>":break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":i=!0;break;case"</ext>":i=!1;break;default:if(r&&r.WTF&&!i)throw new Error("unrecognized "+n[0]+" in fills")}})}(l,c,0,s),(l=i.match(a))&&function(e,t,n,r){t.Borders=[];var a={},i=!1;(e[0].match(be)||[]).forEach(function(e){var n=Se(e);switch(xe(n[0])){case"<borders":case"<borders>":case"</borders>":break;case"<border":case"<border>":case"<border/>":a={},n.diagonalUp&&(a.diagonalUp=Oe(n.diagonalUp)),n.diagonalDown&&(a.diagonalDown=Oe(n.diagonalDown)),t.Borders.push(a);break;case"</border>":case"<left/>":break;case"<left":case"<left>":case"</left>":case"<right/>":break;case"<right":case"<right>":case"</right>":case"<top/>":break;case"<top":case"<top>":case"</top>":case"<bottom/>":break;case"<bottom":case"<bottom>":case"</bottom>":break;case"<diagonal":case"<diagonal>":case"<diagonal/>":case"</diagonal>":break;case"<horizontal":case"<horizontal>":case"<horizontal/>":case"</horizontal>":break;case"<vertical":case"<vertical>":case"<vertical/>":case"</vertical>":break;case"<start":case"<start>":case"<start/>":case"</start>":break;case"<end":case"<end>":case"<end/>":case"</end>":break;case"<color":case"<color>":break;case"<color/>":case"</color>":break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":i=!0;break;case"</ext>":i=!1;break;default:if(r&&r.WTF&&!i)throw new Error("unrecognized "+n[0]+" in borders")}})}(l,c,0,s),(l=i.match(t))&&function(e,t,n){var r;t.CellXf=[];var a=!1;(e[0].match(be)||[]).forEach(function(e){var i=Se(e),o=0;switch(xe(i[0])){case"<cellXfs":case"<cellXfs>":case"<cellXfs/>":case"</cellXfs>":break;case"<xf":case"<xf/>":for(delete(r=i)[0],o=0;o<Ii.length;++o)r[Ii[o]]&&(r[Ii[o]]=parseInt(r[Ii[o]],10));for(o=0;o<Li.length;++o)r[Li[o]]&&(r[Li[o]]=Oe(r[Li[o]]));if(t.NumberFmt&&r.numFmtId>392)for(o=392;o>60;--o)if(t.NumberFmt[r.numFmtId]==t.NumberFmt[o]){r.numFmtId=o;break}t.CellXf.push(r);break;case"</xf>":break;case"<alignment":case"<alignment/>":var s={};i.vertical&&(s.vertical=i.vertical),i.horizontal&&(s.horizontal=i.horizontal),null!=i.textRotation&&(s.textRotation=i.textRotation),i.indent&&(s.indent=i.indent),i.wrapText&&(s.wrapText=Oe(i.wrapText)),r.alignment=s;break;case"</alignment>":case"<protection":break;case"</protection>":case"<protection/>":break;case"<AlternateContent":a=!0;break;case"</AlternateContent>":a=!1;break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":a=!0;break;case"</ext>":a=!1;break;default:if(n&&n.WTF&&!a)throw new Error("unrecognized "+i[0]+" in cellXfs")}})}(l,c,s),c):c}}(),Pi=Ye("styleSheet",null,{xmlns:Je.main[0],"xmlns:vt":Je.vt});function Fi(e,t){var n,r=[me,Pi];return e.SSF&&null!=(n=function(e){var t=["<numFmts>"];return[[5,8],[23,26],[41,44],[50,392]].forEach(function(n){for(var r=n[0];r<=n[1];++r)null!=e[r]&&(t[t.length]=Ye("numFmt",null,{numFmtId:r,formatCode:Te(e[r])}))}),1===t.length?"":(t[t.length]="</numFmts>",t[0]=Ye("numFmts",null,{count:t.length-2}).replace("/>",">"),t.join(""))}(e.SSF))&&(r[r.length]=n),r[r.length]='<fonts count="1"><font><sz val="12"/><color theme="1"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font></fonts>',r[r.length]='<fills count="2"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill></fills>',r[r.length]='<borders count="1"><border><left/><right/><top/><bottom/><diagonal/></border></borders>',r[r.length]='<cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs>',(n=function(e){var t=[];return t[t.length]=Ye("cellXfs",null),e.forEach(function(e){t[t.length]=Ye("xf",null,e)}),t[t.length]="</cellXfs>",2===t.length?"":(t[0]=Ye("cellXfs",null,{count:t.length-2}).replace("/>",">"),t.join(""))}(t.cellXfs))&&(r[r.length]=n),r[r.length]='<cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0"/></cellStyles>',r[r.length]='<dxfs count="0"/>',r[r.length]='<tableStyles count="0" defaultTableStyle="TableStyleMedium9" defaultPivotStyle="PivotStyleMedium4"/>',r.length>2&&(r[r.length]="</styleSheet>",r[1]=r[1].replace("/>",">")),r.join("")}function Di(e,t,n){n||(n=Ot(6+4*t.length)),n._W(2,e),an(t,n);var r=n.length>n.l?n.slice(0,n.l):n;return null==n.l&&(n.l=n.length),r}function Mi(e,t){t||(t=Ot(153)),t._W(2,20*e.sz),function(e,t){t||(t=Ot(2));var n=(e.italic?2:0)|(e.strike?8:0)|(e.outline?16:0)|(e.shadow?32:0)|(e.condense?64:0)|(e.extend?128:0);t._W(1,n),t._W(1,0)}(e,t),t._W(2,e.bold?700:400);var n=0;"superscript"==e.vertAlign?n=1:"subscript"==e.vertAlign&&(n=2),t._W(2,n),t._W(1,e.underline||0),t._W(1,e.family||0),t._W(1,e.charset||0),t._W(1,0),Tn(e.color,t);var r=0;return"major"==e.scheme&&(r=1),"minor"==e.scheme&&(r=2),t._W(1,r),an(e.name,t),t.length>t.l?t.slice(0,t.l):t}Kn.STY="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles";var ji=W(["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"]),Wi=Lt;function Ui(e,t){t||(t=Ot(84));var n=ji[e.patternType];null==n&&(n=40),t._W(4,n);var r=0;if(40!=n)for(Tn({auto:1},t),Tn({auto:1},t);r<12;++r)t._W(4,0);else{for(;r<4;++r)t._W(4,0);for(;r<12;++r)t._W(4,0)}return t.length>t.l?t.slice(0,t.l):t}function zi(e,t,n){n||(n=Ot(16)),n._W(2,t||0),n._W(2,e.numFmtId||0),n._W(2,0),n._W(2,0),n._W(2,0),n._W(1,0),n._W(1,0);return n._W(1,0),n._W(1,0),n._W(1,0),n._W(1,0),n}function Hi(e,t){return t||(t=Ot(10)),t._W(1,0),t._W(1,0),t._W(4,0),t._W(4,0),t}var Vi=Lt;function qi(e){Dt(e,"BrtBeginBorders",nn(1)),Dt(e,"BrtBorder",function(e,t){return t||(t=Ot(51)),t._W(1,0),Hi(0,t),Hi(0,t),Hi(0,t),Hi(0,t),Hi(0,t),t.length>t.l?t.slice(0,t.l):t}()),Dt(e,"BrtEndBorders")}function Gi(e){Dt(e,"BrtBeginStyles",nn(1)),Dt(e,"BrtStyle",function(e,t){return t||(t=Ot(52)),t._W(4,e.xfId),t._W(2,1),t._W(1,+e.builtinId),t._W(1,0),vn(e.name||"",t),t.length>t.l?t.slice(0,t.l):t}({xfId:0,builtinId:0,name:"Normal"})),Dt(e,"BrtEndStyles")}function Xi(e){Dt(e,"BrtBeginTableStyles",function(e,t,n){var r=Ot(2052);return r._W(4,e),vn(t,r),vn(n,r),r.length>r.l?r.slice(0,r.l):r}(0,"TableStyleMedium9","PivotStyleMedium4")),Dt(e,"BrtEndTableStyles")}function $i(e,t){var n=Ft();return Dt(n,"BrtBeginStyleSheet"),function(e,t){if(t){var n=0;[[5,8],[23,26],[41,44],[50,392]].forEach(function(e){for(var r=e[0];r<=e[1];++r)null!=t[r]&&++n}),0!=n&&(Dt(e,"BrtBeginFmts",nn(n)),[[5,8],[23,26],[41,44],[50,392]].forEach(function(n){for(var r=n[0];r<=n[1];++r)null!=t[r]&&Dt(e,"BrtFmt",Di(r,t[r]))}),Dt(e,"BrtEndFmts"))}}(n,e.SSF),function(e){Dt(e,"BrtBeginFonts",nn(1)),Dt(e,"BrtFont",Mi({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"})),Dt(e,"BrtEndFonts")}(n),function(e){Dt(e,"BrtBeginFills",nn(2)),Dt(e,"BrtFill",Ui({patternType:"none"})),Dt(e,"BrtFill",Ui({patternType:"gray125"})),Dt(e,"BrtEndFills")}(n),qi(n),function(e){Dt(e,"BrtBeginCellStyleXFs",nn(1)),Dt(e,"BrtXF",zi({numFmtId:0,fontId:0,fillId:0,borderId:0},65535)),Dt(e,"BrtEndCellStyleXFs")}(n),function(e,t){Dt(e,"BrtBeginCellXFs",nn(t.length)),t.forEach(function(t){Dt(e,"BrtXF",zi(t,0))}),Dt(e,"BrtEndCellXFs")}(n,t.cellXfs),Gi(n),function(e){Dt(e,"BrtBeginDXFs",nn(0)),Dt(e,"BrtEndDXFs")}(n),Xi(n),Dt(n,"BrtEndStyleSheet"),n.end()}Kn.THEME="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme";var Yi=["</a:lt1>","</a:dk1>","</a:lt2>","</a:dk2>","</a:accent1>","</a:accent2>","</a:accent3>","</a:accent4>","</a:accent5>","</a:accent6>","</a:hlink>","</a:folHlink>"];function Ki(e,t,n){t.themeElements.clrScheme=[];var r={};(e[0].match(be)||[]).forEach(function(e){var a=Se(e);switch(a[0]){case"<a:clrScheme":case"</a:clrScheme>":break;case"<a:srgbClr":r.rgb=a.val;break;case"<a:sysClr":r.rgb=a.lastClr;break;case"<a:dk1>":case"</a:dk1>":case"<a:lt1>":case"</a:lt1>":case"<a:dk2>":case"</a:dk2>":case"<a:lt2>":case"</a:lt2>":case"<a:accent1>":case"</a:accent1>":case"<a:accent2>":case"</a:accent2>":case"<a:accent3>":case"</a:accent3>":case"<a:accent4>":case"</a:accent4>":case"<a:accent5>":case"</a:accent5>":case"<a:accent6>":case"</a:accent6>":case"<a:hlink>":case"</a:hlink>":case"<a:folHlink>":case"</a:folHlink>":"/"===a[0].charAt(1)?(t.themeElements.clrScheme[Yi.indexOf(a[0])]=r,r={}):r.name=a[0].slice(3,a[0].length-1);break;default:if(n&&n.WTF)throw new Error("Unrecognized "+a[0]+" in clrScheme")}})}function Ji(){}function Zi(){}var Qi=/<a:clrScheme([^>]*)>[\s\S]*<\/a:clrScheme>/,eo=/<a:fontScheme([^>]*)>[\s\S]*<\/a:fontScheme>/,to=/<a:fmtScheme([^>]*)>[\s\S]*<\/a:fmtScheme>/;var no=/<a:themeElements([^>]*)>[\s\S]*<\/a:themeElements>/;function ro(e,t){if(!e||0===e.length)return ro(ao());var n,r={};if(!(n=e.match(no)))throw new Error("themeElements not found in theme");return function(e,t,n){var r;t.themeElements={},[["clrScheme",Qi,Ki],["fontScheme",eo,Ji],["fmtScheme",to,Zi]].forEach(function(a){if(!(r=e.match(a[1])))throw new Error(a[0]+" not found in themeElements");a[2](r,t,n)})}(n[0],r,t),r.raw=e,r}function ao(e,t){if(t&&t.themeXLSX)return t.themeXLSX;if(e&&"string"==typeof e.raw)return e.raw;var n=[me];return n[n.length]='<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme">',n[n.length]="<a:themeElements>",n[n.length]='<a:clrScheme name="Office">',n[n.length]='<a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1>',n[n.length]='<a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1>',n[n.length]='<a:dk2><a:srgbClr val="1F497D"/></a:dk2>',n[n.length]='<a:lt2><a:srgbClr val="EEECE1"/></a:lt2>',n[n.length]='<a:accent1><a:srgbClr val="4F81BD"/></a:accent1>',n[n.length]='<a:accent2><a:srgbClr val="C0504D"/></a:accent2>',n[n.length]='<a:accent3><a:srgbClr val="9BBB59"/></a:accent3>',n[n.length]='<a:accent4><a:srgbClr val="8064A2"/></a:accent4>',n[n.length]='<a:accent5><a:srgbClr val="4BACC6"/></a:accent5>',n[n.length]='<a:accent6><a:srgbClr val="F79646"/></a:accent6>',n[n.length]='<a:hlink><a:srgbClr val="0000FF"/></a:hlink>',n[n.length]='<a:folHlink><a:srgbClr val="800080"/></a:folHlink>',n[n.length]="</a:clrScheme>",n[n.length]='<a:fontScheme name="Office">',n[n.length]="<a:majorFont>",n[n.length]='<a:latin typeface="Cambria"/>',n[n.length]='<a:ea typeface=""/>',n[n.length]='<a:cs typeface=""/>',n[n.length]='<a:font script="Jpan" typeface="MS Pゴシック"/>',n[n.length]='<a:font script="Hang" typeface="맑은 고딕"/>',n[n.length]='<a:font script="Hans" typeface="宋体"/>',n[n.length]='<a:font script="Hant" typeface="新細明體"/>',n[n.length]='<a:font script="Arab" typeface="Times New Roman"/>',n[n.length]='<a:font script="Hebr" typeface="Times New Roman"/>',n[n.length]='<a:font script="Thai" typeface="Tahoma"/>',n[n.length]='<a:font script="Ethi" typeface="Nyala"/>',n[n.length]='<a:font script="Beng" typeface="Vrinda"/>',n[n.length]='<a:font script="Gujr" typeface="Shruti"/>',n[n.length]='<a:font script="Khmr" typeface="MoolBoran"/>',n[n.length]='<a:font script="Knda" typeface="Tunga"/>',n[n.length]='<a:font script="Guru" typeface="Raavi"/>',n[n.length]='<a:font script="Cans" typeface="Euphemia"/>',n[n.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',n[n.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',n[n.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',n[n.length]='<a:font script="Thaa" typeface="MV Boli"/>',n[n.length]='<a:font script="Deva" typeface="Mangal"/>',n[n.length]='<a:font script="Telu" typeface="Gautami"/>',n[n.length]='<a:font script="Taml" typeface="Latha"/>',n[n.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',n[n.length]='<a:font script="Orya" typeface="Kalinga"/>',n[n.length]='<a:font script="Mlym" typeface="Kartika"/>',n[n.length]='<a:font script="Laoo" typeface="DokChampa"/>',n[n.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',n[n.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',n[n.length]='<a:font script="Viet" typeface="Times New Roman"/>',n[n.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',n[n.length]='<a:font script="Geor" typeface="Sylfaen"/>',n[n.length]="</a:majorFont>",n[n.length]="<a:minorFont>",n[n.length]='<a:latin typeface="Calibri"/>',n[n.length]='<a:ea typeface=""/>',n[n.length]='<a:cs typeface=""/>',n[n.length]='<a:font script="Jpan" typeface="MS Pゴシック"/>',n[n.length]='<a:font script="Hang" typeface="맑은 고딕"/>',n[n.length]='<a:font script="Hans" typeface="宋体"/>',n[n.length]='<a:font script="Hant" typeface="新細明體"/>',n[n.length]='<a:font script="Arab" typeface="Arial"/>',n[n.length]='<a:font script="Hebr" typeface="Arial"/>',n[n.length]='<a:font script="Thai" typeface="Tahoma"/>',n[n.length]='<a:font script="Ethi" typeface="Nyala"/>',n[n.length]='<a:font script="Beng" typeface="Vrinda"/>',n[n.length]='<a:font script="Gujr" typeface="Shruti"/>',n[n.length]='<a:font script="Khmr" typeface="DaunPenh"/>',n[n.length]='<a:font script="Knda" typeface="Tunga"/>',n[n.length]='<a:font script="Guru" typeface="Raavi"/>',n[n.length]='<a:font script="Cans" typeface="Euphemia"/>',n[n.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',n[n.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',n[n.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',n[n.length]='<a:font script="Thaa" typeface="MV Boli"/>',n[n.length]='<a:font script="Deva" typeface="Mangal"/>',n[n.length]='<a:font script="Telu" typeface="Gautami"/>',n[n.length]='<a:font script="Taml" typeface="Latha"/>',n[n.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',n[n.length]='<a:font script="Orya" typeface="Kalinga"/>',n[n.length]='<a:font script="Mlym" typeface="Kartika"/>',n[n.length]='<a:font script="Laoo" typeface="DokChampa"/>',n[n.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',n[n.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',n[n.length]='<a:font script="Viet" typeface="Arial"/>',n[n.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',n[n.length]='<a:font script="Geor" typeface="Sylfaen"/>',n[n.length]="</a:minorFont>",n[n.length]="</a:fontScheme>",n[n.length]='<a:fmtScheme name="Office">',n[n.length]="<a:fillStyleLst>",n[n.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',n[n.length]='<a:gradFill rotWithShape="1">',n[n.length]="<a:gsLst>",n[n.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="50000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',n[n.length]='<a:gs pos="35000"><a:schemeClr val="phClr"><a:tint val="37000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',n[n.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="15000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',n[n.length]="</a:gsLst>",n[n.length]='<a:lin ang="16200000" scaled="1"/>',n[n.length]="</a:gradFill>",n[n.length]='<a:gradFill rotWithShape="1">',n[n.length]="<a:gsLst>",n[n.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="100000"/><a:shade val="100000"/><a:satMod val="130000"/></a:schemeClr></a:gs>',n[n.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="50000"/><a:shade val="100000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',n[n.length]="</a:gsLst>",n[n.length]='<a:lin ang="16200000" scaled="0"/>',n[n.length]="</a:gradFill>",n[n.length]="</a:fillStyleLst>",n[n.length]="<a:lnStyleLst>",n[n.length]='<a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"><a:shade val="95000"/><a:satMod val="105000"/></a:schemeClr></a:solidFill><a:prstDash val="solid"/></a:ln>',n[n.length]='<a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',n[n.length]='<a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',n[n.length]="</a:lnStyleLst>",n[n.length]="<a:effectStyleLst>",n[n.length]="<a:effectStyle>",n[n.length]="<a:effectLst>",n[n.length]='<a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="38000"/></a:srgbClr></a:outerShdw>',n[n.length]="</a:effectLst>",n[n.length]="</a:effectStyle>",n[n.length]="<a:effectStyle>",n[n.length]="<a:effectLst>",n[n.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',n[n.length]="</a:effectLst>",n[n.length]="</a:effectStyle>",n[n.length]="<a:effectStyle>",n[n.length]="<a:effectLst>",n[n.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',n[n.length]="</a:effectLst>",n[n.length]='<a:scene3d><a:camera prst="orthographicFront"><a:rot lat="0" lon="0" rev="0"/></a:camera><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="1200000"/></a:lightRig></a:scene3d>',n[n.length]='<a:sp3d><a:bevelT w="63500" h="25400"/></a:sp3d>',n[n.length]="</a:effectStyle>",n[n.length]="</a:effectStyleLst>",n[n.length]="<a:bgFillStyleLst>",n[n.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',n[n.length]='<a:gradFill rotWithShape="1">',n[n.length]="<a:gsLst>",n[n.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="40000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',n[n.length]='<a:gs pos="40000"><a:schemeClr val="phClr"><a:tint val="45000"/><a:shade val="99000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',n[n.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="20000"/><a:satMod val="255000"/></a:schemeClr></a:gs>',n[n.length]="</a:gsLst>",n[n.length]='<a:path path="circle"><a:fillToRect l="50000" t="-80000" r="50000" b="180000"/></a:path>',n[n.length]="</a:gradFill>",n[n.length]='<a:gradFill rotWithShape="1">',n[n.length]="<a:gsLst>",n[n.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="80000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',n[n.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="30000"/><a:satMod val="200000"/></a:schemeClr></a:gs>',n[n.length]="</a:gsLst>",n[n.length]='<a:path path="circle"><a:fillToRect l="50000" t="50000" r="50000" b="50000"/></a:path>',n[n.length]="</a:gradFill>",n[n.length]="</a:bgFillStyleLst>",n[n.length]="</a:fmtScheme>",n[n.length]="</a:themeElements>",n[n.length]="<a:objectDefaults>",n[n.length]="<a:spDef>",n[n.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="1"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="3"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="2"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="lt1"/></a:fontRef></a:style>',n[n.length]="</a:spDef>",n[n.length]="<a:lnDef>",n[n.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="2"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="0"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="1"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="tx1"/></a:fontRef></a:style>',n[n.length]="</a:lnDef>",n[n.length]="</a:objectDefaults>",n[n.length]="<a:extraClrSchemeLst/>",n[n.length]="</a:theme>",n.join("")}function io(e){var t={};switch(t.xclrType=e._R(2),t.nTintShade=e._R(2),t.xclrType){case 0:e.l+=4;break;case 1:t.xclrValue=function(e,t){return Lt(e,t)}(e,4);break;case 2:t.xclrValue=ta(e);break;case 3:t.xclrValue=function(e){return e._R(4)}(e);break;case 4:e.l+=4}return e.l+=8,t}function oo(e){var t=e._R(2),n=e._R(2)-4,r=[t];switch(t){case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 13:r[1]=io(e);break;case 6:r[1]=function(e,t){return Lt(e,t)}(e,n);break;case 14:case 15:r[1]=e._R(1===n?1:2);break;default:throw new Error("Unrecognized ExtProp type: "+t+" "+n)}return r}function so(e,t){t.forEach(function(e){e[0]})}Kn.IMG="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",Kn.DRAW="http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing";var lo=1024;function co(e,t){for(var n=[21600,21600],r=["m0,0l0",n[1],n[0],n[1],n[0],"0xe"].join(","),a=[Ye("xml",null,{"xmlns:v":Ze.v,"xmlns:o":Ze.o,"xmlns:x":Ze.x,"xmlns:mv":Ze.mv}).replace(/\/>/,">"),Ye("o:shapelayout",Ye("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"}),Ye("v:shapetype",[Ye("v:stroke",null,{joinstyle:"miter"}),Ye("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:n.join(","),path:r})];lo<1e3*e;)lo+=1e3;return t.forEach(function(e){var t=Gt(e[0]),n={color2:"#BEFF82",type:"gradient"};"gradient"==n.type&&(n.angle="-180");var r="gradient"==n.type?Ye("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null,i=Ye("v:fill",r,n);++lo,a=a.concat(["<v:shape"+$e({id:"_x0000_s"+lo,type:"#_x0000_t202",style:"position:absolute; margin-left:80pt;margin-top:5pt;width:104pt;height:64pt;z-index:10"+(e[1].hidden?";visibility:hidden":""),fillcolor:"#ECFAD4",strokecolor:"#edeaa1"})+">",i,Ye("v:shadow",null,{on:"t",obscured:"t"}),Ye("v:path",null,{"o:connecttype":"none"}),'<v:textbox><div style="text-align:left"></div></v:textbox>','<x:ClientData ObjectType="Note">',"<x:MoveWithCells/>","<x:SizeWithCells/>",Xe("x:Anchor",[t.c+1,0,t.r+1,0,t.c+3,20,t.r+5,20].join(",")),Xe("x:AutoFill","False"),Xe("x:Row",String(t.r)),Xe("x:Column",String(t.c)),e[1].hidden?"":"<x:Visible/>","</x:ClientData>","</v:shape>"])}),a.push("</xml>"),a.join("")}Kn.CMNT="http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments";var uo=Ye("comments",null,{xmlns:Je.main[0]});var fo=rn;function ho(e){var t=Ft(),n=[];return Dt(t,"BrtBeginComments"),Dt(t,"BrtBeginCommentAuthors"),e.forEach(function(e){e[1].forEach(function(e){n.indexOf(e.a)>-1||(n.push(e.a.slice(0,54)),Dt(t,"BrtCommentAuthor",function(e){return an(e.slice(0,54))}(e.a)))})}),Dt(t,"BrtEndCommentAuthors"),Dt(t,"BrtBeginCommentList"),e.forEach(function(e){e[1].forEach(function(r){r.iauthor=n.indexOf(r.a);var a={s:Gt(e[0]),e:Gt(e[0])};Dt(t,"BrtBeginComment",function(e,t){return null==t&&(t=Ot(36)),t._W(4,e[1].iauthor),kn(e[0],t),t._W(4,0),t._W(4,0),t._W(4,0),t._W(4,0),t}([a,r])),r.t&&r.t.length>0&&Dt(t,"BrtCommentText",cn(r)),Dt(t,"BrtEndComment"),delete r.iauthor})}),Dt(t,"BrtEndCommentList"),Dt(t,"BrtEndComments"),t.end()}var po="application/vnd.ms-office.vbaProject";var go=["xlsb","xlsm","xlam","biff8","xla"];Kn.DS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",Kn.MS="http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet";var mo=function(){var e=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,t={r:0,c:0};function n(e,n,r,a){var i=!1,o=!1;0==r.length?o=!0:"["==r.charAt(0)&&(o=!0,r=r.slice(1,-1)),0==a.length?i=!0:"["==a.charAt(0)&&(i=!0,a=a.slice(1,-1));var s=r.length>0?0|parseInt(r,10):0,l=a.length>0?0|parseInt(a,10):0;return i?l+=t.c:--l,o?s+=t.r:--s,n+(i?"":"$")+qt(l)+(o?"":"$")+Ht(s)}return function(r,a){return t=a,r.replace(e,n)}}(),vo=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g,bo=function(e,t){return e.replace(vo,function(e,n,r,a,i,o){var s=Vt(a)-(r?0:t.c),l=zt(o)-(i?0:t.r);return n+"R"+(0==l?"":i?l+1:"["+l+"]")+"C"+(0==s?"":r?s+1:"["+s+"]")})};function yo(e,t){return e.replace(vo,function(e,n,r,a,i,o){return n+("$"==r?r+a:qt(Vt(a)+t.c))+("$"==i?i+o:Ht(zt(o)+t.r))})}function wo(e,t,n){var r=$t(t).s,a=Gt(n);return yo(e,{r:a.r-r.r,c:a.c-r.c})}function So(e){return e.replace(/_xlfn\./g,"")}function xo(e){e.l+=1}function Eo(e,t){var n=e._R(1==t?1:2);return[16383&n,n>>14&1,n>>15&1]}function _o(e,t,n){var r=2;if(n){if(n.biff>=2&&n.biff<=5)return ko(e);12==n.biff&&(r=4)}var a=e._R(r),i=e._R(r),o=Eo(e,2),s=Eo(e,2);return{s:{r:a,c:o[0],cRel:o[1],rRel:o[2]},e:{r:i,c:s[0],cRel:s[1],rRel:s[2]}}}function ko(e){var t=Eo(e,2),n=Eo(e,2),r=e._R(1),a=e._R(1);return{s:{r:t[0],c:r,cRel:t[1],rRel:t[2]},e:{r:n[0],c:a,cRel:n[1],rRel:n[2]}}}function Ao(e,t,n){if(n&&n.biff>=2&&n.biff<=5)return function(e){var t=Eo(e,2),n=e._R(1);return{r:t[0],c:n,cRel:t[1],rRel:t[2]}}(e);var r=e._R(n&&12==n.biff?4:2),a=Eo(e,2);return{r:r,c:a[0],cRel:a[1],rRel:a[2]}}function Co(e){var t=e._R(2),n=e._R(2);return{r:t,c:255&n,fQuoted:!!(16384&n),cRel:n>>15,rRel:n>>15}}function To(e){return[e._R(1),e._R(1)]}function Ro(e,t){var n=[e._R(1)];if(12==t)switch(n[0]){case 2:n[0]=4;break;case 4:n[0]=16;break;case 0:n[0]=1;break;case 1:n[0]=2}switch(n[0]){case 4:n[1]=Mr(e,1)?"TRUE":"FALSE",12!=t&&(e.l+=7);break;case 37:case 16:n[1]=Hn[e[e.l]],e.l+=12==t?4:8;break;case 0:e.l+=8;break;case 1:n[1]=An(e);break;case 2:n[1]=Yr(e,0,{biff:t>0&&t<8?2:t});break;default:throw new Error("Bad SerAr: "+n[0])}return n}function No(e,t,n){for(var r=e._R(12==n.biff?4:2),a=[],i=0;i!=r;++i)a.push((12==n.biff?_n:sa)(e,8));return a}function Bo(e,t,n){var r=0,a=0;12==n.biff?(r=e._R(4),a=e._R(4)):(a=1+e._R(1),r=1+e._R(2)),n.biff>=2&&n.biff<8&&(--r,0==--a&&(a=256));for(var i=0,o=[];i!=r&&(o[i]=[]);++i)for(var s=0;s!=a;++s)o[i][s]=Ro(e,n.biff);return o}function Io(e,t,n){return e.l+=2,[Co(e)]}function Lo(e){return e.l+=6,[]}var Oo=Io,Po=Lo,Fo=Lo,Do=Io;function Mo(e){return e.l+=2,[Wr(e),1&e._R(2)]}var jo=Io,Wo=Mo,Uo=Lo,zo=Io,Ho=Io,Vo=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];var qo={1:{n:"PtgExp",f:function(e,t,n){return e.l++,n&&12==n.biff?[e._R(4,"i"),0]:[e._R(2),e._R(n&&2==n.biff?1:2)]}},2:{n:"PtgTbl",f:Lt},3:{n:"PtgAdd",f:xo},4:{n:"PtgSub",f:xo},5:{n:"PtgMul",f:xo},6:{n:"PtgDiv",f:xo},7:{n:"PtgPower",f:xo},8:{n:"PtgConcat",f:xo},9:{n:"PtgLt",f:xo},10:{n:"PtgLe",f:xo},11:{n:"PtgEq",f:xo},12:{n:"PtgGe",f:xo},13:{n:"PtgGt",f:xo},14:{n:"PtgNe",f:xo},15:{n:"PtgIsect",f:xo},16:{n:"PtgUnion",f:xo},17:{n:"PtgRange",f:xo},18:{n:"PtgUplus",f:xo},19:{n:"PtgUminus",f:xo},20:{n:"PtgPercent",f:xo},21:{n:"PtgParen",f:xo},22:{n:"PtgMissArg",f:xo},23:{n:"PtgStr",f:function(e,t,n){return e.l++,Vr(e,0,n)}},26:{n:"PtgSheet",f:function(e,t,n){return e.l+=5,e.l+=2,e.l+=2==n.biff?1:4,["PTGSHEET"]}},27:{n:"PtgEndSheet",f:function(e,t,n){return e.l+=2==n.biff?4:5,["PTGENDSHEET"]}},28:{n:"PtgErr",f:function(e){return e.l++,Hn[e._R(1)]}},29:{n:"PtgBool",f:function(e){return e.l++,0!==e._R(1)}},30:{n:"PtgInt",f:function(e){return e.l++,e._R(2)}},31:{n:"PtgNum",f:function(e){return e.l++,An(e)}},32:{n:"PtgArray",f:function(e,t,n){var r=(96&e[e.l++])>>5;return e.l+=2==n.biff?6:12==n.biff?14:7,[r]}},33:{n:"PtgFunc",f:function(e,t,n){var r=(96&e[e.l])>>5;e.l+=1;var a=e._R(n&&n.biff<=3?1:2);return[ps[a],ds[a],r]}},34:{n:"PtgFuncVar",f:function(e,t,n){var r=e[e.l++],a=e._R(1),i=n&&n.biff<=3?[88==r?-1:0,e._R(1)]:function(e){return[e[e.l+1]>>7,32767&e._R(2)]}(e);return[a,(0===i[0]?ds:hs)[i[1]]]}},35:{n:"PtgName",f:function(e,t,n){var r=e._R(1)>>>5&3,a=!n||n.biff>=8?4:2,i=e._R(a);switch(n.biff){case 2:e.l+=5;break;case 3:case 4:e.l+=8;break;case 5:e.l+=12}return[r,0,i]}},36:{n:"PtgRef",f:function(e,t,n){var r=(96&e[e.l])>>5;return e.l+=1,[r,Ao(e,0,n)]}},37:{n:"PtgArea",f:function(e,t,n){return[(96&e[e.l++])>>5,_o(e,n.biff>=2&&n.biff,n)]}},38:{n:"PtgMemArea",f:function(e,t,n){var r=e._R(1)>>>5&3;return e.l+=n&&2==n.biff?3:4,[r,e._R(n&&2==n.biff?1:2)]}},39:{n:"PtgMemErr",f:Lt},40:{n:"PtgMemNoMem",f:Lt},41:{n:"PtgMemFunc",f:function(e,t,n){return[e._R(1)>>>5&3,e._R(n&&2==n.biff?1:2)]}},42:{n:"PtgRefErr",f:function(e,t,n){var r=e._R(1)>>>5&3;return e.l+=4,n.biff<8&&e.l--,12==n.biff&&(e.l+=2),[r]}},43:{n:"PtgAreaErr",f:function(e,t,n){var r=(96&e[e.l++])>>5;return e.l+=n&&n.biff>8?12:n.biff<8?6:8,[r]}},44:{n:"PtgRefN",f:function(e,t,n){var r=(96&e[e.l])>>5;return e.l+=1,[r,function(e,t,n){var r=n&&n.biff?n.biff:8;if(r>=2&&r<=5)return function(e){var t=e._R(2),n=e._R(1),r=(32768&t)>>15,a=(16384&t)>>14;return t&=16383,1==r&&t>=8192&&(t-=16384),1==a&&n>=128&&(n-=256),{r:t,c:n,cRel:a,rRel:r}}(e);var a=e._R(r>=12?4:2),i=e._R(2),o=(16384&i)>>14,s=(32768&i)>>15;if(i&=16383,1==s)for(;a>524287;)a-=1048576;if(1==o)for(;i>8191;)i-=16384;return{r:a,c:i,cRel:o,rRel:s}}(e,0,n)]}},45:{n:"PtgAreaN",f:function(e,t,n){return[(96&e[e.l++])>>5,function(e,t,n){if(n.biff<8)return ko(e);var r=e._R(12==n.biff?4:2),a=e._R(12==n.biff?4:2),i=Eo(e,2),o=Eo(e,2);return{s:{r:r,c:i[0],cRel:i[1],rRel:i[2]},e:{r:a,c:o[0],cRel:o[1],rRel:o[2]}}}(e,0,n)]}},46:{n:"PtgMemAreaN",f:function(e){return[e._R(1)>>>5&3,e._R(2)]}},47:{n:"PtgMemNoMemN",f:function(e){return[e._R(1)>>>5&3,e._R(2)]}},57:{n:"PtgNameX",f:function(e,t,n){return 5==n.biff?function(e){var t=e._R(1)>>>5&3,n=e._R(2,"i");e.l+=8;var r=e._R(2);return e.l+=12,[t,n,r]}(e):[e._R(1)>>>5&3,e._R(2),e._R(4)]}},58:{n:"PtgRef3d",f:function(e,t,n){var r=(96&e[e.l])>>5;e.l+=1;var a=e._R(2);return n&&5==n.biff&&(e.l+=12),[r,a,Ao(e,0,n)]}},59:{n:"PtgArea3d",f:function(e,t,n){var r=(96&e[e.l++])>>5,a=e._R(2,"i");if(n)switch(n.biff){case 5:e.l+=12}return[r,a,_o(e,0,n)]}},60:{n:"PtgRefErr3d",f:function(e,t,n){var r=(96&e[e.l++])>>5,a=e._R(2),i=4;if(n)switch(n.biff){case 5:i=15;break;case 12:i=6}return e.l+=i,[r,a]}},61:{n:"PtgAreaErr3d",f:function(e,t,n){var r=(96&e[e.l++])>>5,a=e._R(2),i=8;if(n)switch(n.biff){case 5:e.l+=12,i=6;break;case 12:i=12}return e.l+=i,[r,a]}},255:{}},Go={64:32,96:32,65:33,97:33,66:34,98:34,67:35,99:35,68:36,100:36,69:37,101:37,70:38,102:38,71:39,103:39,72:40,104:40,73:41,105:41,74:42,106:42,75:43,107:43,76:44,108:44,77:45,109:45,78:46,110:46,79:47,111:47,88:34,120:34,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61};!function(){for(var e in Go)qo[e]=qo[Go[e]]}();var Xo={1:{n:"PtgElfLel",f:Mo},2:{n:"PtgElfRw",f:zo},3:{n:"PtgElfCol",f:Oo},6:{n:"PtgElfRwV",f:Ho},7:{n:"PtgElfColV",f:Do},10:{n:"PtgElfRadical",f:jo},11:{n:"PtgElfRadicalS",f:Uo},13:{n:"PtgElfColS",f:Po},15:{n:"PtgElfColSV",f:Fo},16:{n:"PtgElfRadicalLel",f:Wo},25:{n:"PtgList",f:function(e){e.l+=2;var t=e._R(2),n=e._R(2),r=e._R(4),a=e._R(2),i=e._R(2);return{ixti:t,coltype:3&n,rt:Vo[n>>2&31],idx:r,c:a,C:i}}},29:{n:"PtgSxName",f:function(e){return e.l+=2,[e._R(4)]}},255:{}},$o={0:{n:"PtgAttrNoop",f:function(e){return e.l+=4,[0,0]}},1:{n:"PtgAttrSemi",f:function(e,t,n){var r=255&e[e.l+1]?1:0;return e.l+=n&&2==n.biff?3:4,[r]}},2:{n:"PtgAttrIf",f:function(e,t,n){var r=255&e[e.l+1]?1:0;return e.l+=2,[r,e._R(n&&2==n.biff?1:2)]}},4:{n:"PtgAttrChoose",f:function(e,t,n){e.l+=2;for(var r=e._R(n&&2==n.biff?1:2),a=[],i=0;i<=r;++i)a.push(e._R(n&&2==n.biff?1:2));return a}},8:{n:"PtgAttrGoto",f:function(e,t,n){var r=255&e[e.l+1]?1:0;return e.l+=2,[r,e._R(n&&2==n.biff?1:2)]}},16:{n:"PtgAttrSum",f:function(e,t,n){e.l+=n&&2==n.biff?3:4}},32:{n:"PtgAttrBaxcel",f:function(e){var t=1&e[e.l+1];return e.l+=4,[t,1]}},64:{n:"PtgAttrSpace",f:function(e){return e._R(2),To(e)}},65:{n:"PtgAttrSpaceSemi",f:function(e){return e._R(2),To(e)}},128:{n:"PtgAttrIfError",f:function(e){var t=255&e[e.l+1]?1:0;return e.l+=2,[t,e._R(2)]}},255:{}};function Yo(e,t,n,r){if(r.biff<8)return Lt(e,t);for(var a=e.l+t,i=[],o=0;o!==n.length;++o)switch(n[o][0]){case"PtgArray":n[o][1]=Bo(e,0,r),i.push(n[o][1]);break;case"PtgMemArea":n[o][2]=No(e,n[o][1],r),i.push(n[o][2]);break;case"PtgExp":r&&12==r.biff&&(n[o][1][1]=e._R(4),i.push(n[o][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+n[o][0]}return 0!==(t=a-e.l)&&i.push(Lt(e,t)),i}function Ko(e,t,n){for(var r,a,i=e.l+t,o=[];i!=e.l;)t=i-e.l,a=e[e.l],r=qo[a],24!==a&&25!==a||(r=(24===a?Xo:$o)[e[e.l+1]]),r&&r.f?o.push([r.n,r.f(e,t,n)]):Lt(e,t);return o}function Jo(e){for(var t=[],n=0;n<e.length;++n){for(var r=e[n],a=[],i=0;i<r.length;++i){var o=r[i];if(o)switch(o[0]){case 2:a.push('"'+o[1].replace(/"/g,'""')+'"');break;default:a.push(o[1])}else a.push("")}t.push(a.join(","))}return t.join(";")}$o[33]=$o[32];var Zo={PtgAdd:"+",PtgConcat:"&",PtgDiv:"/",PtgEq:"=",PtgGe:">=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"},Qo=new RegExp(/[^\w\u4E00-\u9FFF\u3040-\u30FF]/);function es(e,t,n){if(!e)return"SH33TJSERR0";if(n.biff>8&&(!e.XTI||!e.XTI[t]))return e.SheetNames[t];if(!e.XTI)return"SH33TJSERR6";var r=e.XTI[t];if(n.biff<8)return t>1e4&&(t-=65536),t<0&&(t=-t),0==t?"":e.XTI[t-1];if(!r)return"SH33TJSERR1";var a="";if(n.biff>8)switch(e[r[0]][0]){case 357:return a=-1==r[1]?"#REF":e.SheetNames[r[1]],r[1]==r[2]?a:a+":"+e.SheetNames[r[2]];case 358:return null!=n.SID?e.SheetNames[n.SID]:"SH33TJSSAME"+e[r[0]][0];case 355:default:return"SH33TJSSRC"+e[r[0]][0]}switch(e[r[0]][0][0]){case 1025:return a=-1==r[1]?"#REF":e.SheetNames[r[1]]||"SH33TJSERR3",r[1]==r[2]?a:a+":"+e.SheetNames[r[2]];case 14849:return e[r[0]].slice(1).map(function(e){return e.Name}).join(";;");default:return e[r[0]][0][3]?(a=-1==r[1]?"#REF":e[r[0]][0][3][r[1]]||"SH33TJSERR4",r[1]==r[2]?a:a+":"+e[r[0]][0][3][r[2]]):"SH33TJSERR2"}}function ts(e,t,n){var r=es(e,t,n);return"#REF"==r?r:function(e,t){if(!(e||t&&t.biff<=5&&t.biff>=2))throw new Error("empty sheet name");return Qo.test(e)?"'"+e+"'":e}(r,n)}function ns(e,t,n,r,a){var i,o,s,l,c=a&&a.biff||8,u={s:{c:0,r:0},e:{c:0,r:0}},f=[],h=0,d=0,p="";if(!e[0]||!e[0][0])return"";for(var g=-1,m="",v=0,b=e[0].length;v<b;++v){var y=e[0][v];switch(y[0]){case"PtgUminus":f.push("-"+f.pop());break;case"PtgUplus":f.push("+"+f.pop());break;case"PtgPercent":f.push(f.pop()+"%");break;case"PtgAdd":case"PtgConcat":case"PtgDiv":case"PtgEq":case"PtgGe":case"PtgGt":case"PtgLe":case"PtgLt":case"PtgMul":case"PtgNe":case"PtgPower":case"PtgSub":if(i=f.pop(),o=f.pop(),g>=0){switch(e[0][g][1][0]){case 0:m=te(" ",e[0][g][1][1]);break;case 1:m=te("\r",e[0][g][1][1]);break;default:if(m="",a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][g][1][0])}o+=m,g=-1}f.push(o+Zo[y[0]]+i);break;case"PtgIsect":i=f.pop(),o=f.pop(),f.push(o+" "+i);break;case"PtgUnion":i=f.pop(),o=f.pop(),f.push(o+","+i);break;case"PtgRange":i=f.pop(),o=f.pop(),f.push(o+":"+i);break;case"PtgAttrChoose":case"PtgAttrGoto":case"PtgAttrIf":case"PtgAttrIfError":break;case"PtgRef":s=Mt(y[1][1],u,a),f.push(Wt(s,c));break;case"PtgRefN":s=n?Mt(y[1][1],n,a):y[1][1],f.push(Wt(s,c));break;case"PtgRef3d":h=y[1][1],s=Mt(y[1][2],u,a);p=ts(r,h,a);f.push(p+"!"+Wt(s,c));break;case"PtgFunc":case"PtgFuncVar":var w=y[1][0],S=y[1][1];w||(w=0);var x=0==(w&=127)?[]:f.slice(-w);f.length-=w,"User"===S&&(S=x.shift()),f.push(S+"("+x.join(",")+")");break;case"PtgBool":f.push(y[1]?"TRUE":"FALSE");break;case"PtgInt":f.push(y[1]);break;case"PtgNum":f.push(String(y[1]));break;case"PtgStr":f.push('"'+y[1].replace(/"/g,'""')+'"');break;case"PtgErr":f.push(y[1]);break;case"PtgAreaN":l=jt(y[1][1],n?{s:n}:u,a),f.push(Ut(l,a));break;case"PtgArea":l=jt(y[1][1],u,a),f.push(Ut(l,a));break;case"PtgArea3d":h=y[1][1],l=y[1][2],p=ts(r,h,a),f.push(p+"!"+Ut(l,a));break;case"PtgAttrSum":f.push("SUM("+f.pop()+")");break;case"PtgAttrBaxcel":case"PtgAttrSemi":break;case"PtgName":d=y[1][2];var E=(r.names||[])[d-1]||(r[0]||[])[d],_=E?E.Name:"SH33TJSNAME"+String(d);_ in gs&&(_=gs[_]),f.push(_);break;case"PtgNameX":var k,A=y[1][1];if(d=y[1][2],!(a.biff<=5)){var C="";if(14849==((r[A]||[])[0]||[])[0]||(1025==((r[A]||[])[0]||[])[0]?r[A][d]&&r[A][d].itab>0&&(C=r.SheetNames[r[A][d].itab-1]+"!"):C=r.SheetNames[d-1]+"!"),r[A]&&r[A][d])C+=r[A][d].Name;else if(r[0]&&r[0][d])C+=r[0][d].Name;else{var T=(es(r,A,a)||"").split(";;");T[d-1]?C=T[d-1]:C+="SH33TJSERRX"}f.push(C);break}A<0&&(A=-A),r[A]&&(k=r[A][d]),k||(k={Name:"SH33TJSERRY"}),f.push(k.Name);break;case"PtgParen":var R="(",N=")";if(g>=0){switch(m="",e[0][g][1][0]){case 2:R=te(" ",e[0][g][1][1])+R;break;case 3:R=te("\r",e[0][g][1][1])+R;break;case 4:N=te(" ",e[0][g][1][1])+N;break;case 5:N=te("\r",e[0][g][1][1])+N;break;default:if(a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][g][1][0])}g=-1}f.push(R+f.pop()+N);break;case"PtgRefErr":case"PtgRefErr3d":f.push("#REF!");break;case"PtgExp":s={c:y[1][1],r:y[1][0]};var B={c:n.c,r:n.r};if(r.sharedf[Xt(s)]){var I=r.sharedf[Xt(s)];f.push(ns(I,u,B,r,a))}else{var L=!1;for(i=0;i!=r.arrayf.length;++i)if(o=r.arrayf[i],!(s.c<o[0].s.c||s.c>o[0].e.c||s.r<o[0].s.r||s.r>o[0].e.r)){f.push(ns(o[1],u,B,r,a)),L=!0;break}L||f.push(y[1])}break;case"PtgArray":f.push("{"+Jo(y[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":g=v;break;case"PtgTbl":case"PtgMemErr":break;case"PtgMissArg":f.push("");break;case"PtgAreaErr":case"PtgAreaErr3d":f.push("#REF!");break;case"PtgList":f.push("Table"+y[1].idx+"[#"+y[1].rt+"]");break;case"PtgMemAreaN":case"PtgMemNoMemN":case"PtgAttrNoop":case"PtgSheet":case"PtgEndSheet":case"PtgMemFunc":case"PtgMemNoMem":break;case"PtgElfCol":case"PtgElfColS":case"PtgElfColSV":case"PtgElfColV":case"PtgElfLel":case"PtgElfRadical":case"PtgElfRadicalLel":case"PtgElfRadicalS":case"PtgElfRw":case"PtgElfRwV":throw new Error("Unsupported ELFs");case"PtgSxName":default:throw new Error("Unrecognized Formula Token: "+String(y))}if(3!=a.biff&&g>=0&&-1==["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"].indexOf(e[0][v][0])){var O=!0;switch((y=e[0][g])[1][0]){case 4:O=!1;case 0:m=te(" ",y[1][1]);break;case 5:O=!1;case 1:m=te("\r",y[1][1]);break;default:if(m="",a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+y[1][0])}f.push((O?m:"")+f.pop()+(O?"":m)),g=-1}}if(f.length>1&&a.WTF)throw new Error("bad formula stack");return f[0]}function rs(e,t,n){var r,a=e.l+t,i=2==n.biff?1:2,o=e._R(i);if(65535==o)return[[],Lt(e,t-2)];var s=Ko(e,o,n);return t!==o+i&&(r=Yo(e,t-o-i,s,n)),e.l=a,[s,r]}function as(e,t,n){var r,a=e.l+t,i=e._R(2),o=Ko(e,i,n);return 65535==i?[[],Lt(e,t-2)]:(t!==i+2&&(r=Yo(e,a-i-2,o,n)),[o,r])}function is(e,t,n){var r=e.l+t,a=ra(e);2==n.biff&&++e.l;var i=function(e){var t;if(65535!==St(e,e.l+6))return[An(e),"n"];switch(e[e.l]){case 0:return e.l+=8,["String","s"];case 1:return t=1===e[e.l+2],e.l+=8,[t,"b"];case 2:return t=e[e.l+2],e.l+=8,[t,"e"];case 3:return e.l+=8,["","s"]}return[]}(e),o=e._R(1);2!=n.biff&&(e._R(1),n.biff>=5&&e._R(4));var s=function(e,t,n){var r,a=e.l+t,i=2==n.biff?1:2,o=e._R(i);if(65535==o)return[[],Lt(e,t-2)];var s=Ko(e,o,n);return t!==o+i&&(r=Yo(e,t-o-i,s,n)),e.l=a,[s,r]}(e,r-e.l,n);return{cell:a,val:i[0],formula:s,shared:o>>3&1,tt:i[1]}}function os(e,t,n,r,a){var i=aa(t,n,a),o=function(e){if(null==e){var t=Ot(8);return t._W(1,3),t._W(1,0),t._W(2,0),t._W(2,0),t._W(2,65535),t}return Cn("number"==typeof e?e:0)}(e.v),s=Ot(6);s._W(2,33),s._W(4,0);for(var l=Ot(e.bf.length),c=0;c<e.bf.length;++c)l[c]=e.bf[c];return k([i,o,s,l])}function ss(e,t,n){var r=e._R(4),a=Ko(e,r,n),i=e._R(4);return[a,i>0?Yo(e,i,a,n):null]}var ls=ss,cs=ss,us=ss,fs=ss,hs={0:"BEEP",1:"OPEN",2:"OPEN.LINKS",3:"CLOSE.ALL",4:"SAVE",5:"SAVE.AS",6:"FILE.DELETE",7:"PAGE.SETUP",8:"PRINT",9:"PRINTER.SETUP",10:"QUIT",11:"NEW.WINDOW",12:"ARRANGE.ALL",13:"WINDOW.SIZE",14:"WINDOW.MOVE",15:"FULL",16:"CLOSE",17:"RUN",22:"SET.PRINT.AREA",23:"SET.PRINT.TITLES",24:"SET.PAGE.BREAK",25:"REMOVE.PAGE.BREAK",26:"FONT",27:"DISPLAY",28:"PROTECT.DOCUMENT",29:"PRECISION",30:"A1.R1C1",31:"CALCULATE.NOW",32:"CALCULATION",34:"DATA.FIND",35:"EXTRACT",36:"DATA.DELETE",37:"SET.DATABASE",38:"SET.CRITERIA",39:"SORT",40:"DATA.SERIES",41:"TABLE",42:"FORMAT.NUMBER",43:"ALIGNMENT",44:"STYLE",45:"BORDER",46:"CELL.PROTECTION",47:"COLUMN.WIDTH",48:"UNDO",49:"CUT",50:"COPY",51:"PASTE",52:"CLEAR",53:"PASTE.SPECIAL",54:"EDIT.DELETE",55:"INSERT",56:"FILL.RIGHT",57:"FILL.DOWN",61:"DEFINE.NAME",62:"CREATE.NAMES",63:"FORMULA.GOTO",64:"FORMULA.FIND",65:"SELECT.LAST.CELL",66:"SHOW.ACTIVE.CELL",67:"GALLERY.AREA",68:"GALLERY.BAR",69:"GALLERY.COLUMN",70:"GALLERY.LINE",71:"GALLERY.PIE",72:"GALLERY.SCATTER",73:"COMBINATION",74:"PREFERRED",75:"ADD.OVERLAY",76:"GRIDLINES",77:"SET.PREFERRED",78:"AXES",79:"LEGEND",80:"ATTACH.TEXT",81:"ADD.ARROW",82:"SELECT.CHART",83:"SELECT.PLOT.AREA",84:"PATTERNS",85:"MAIN.CHART",86:"OVERLAY",87:"SCALE",88:"FORMAT.LEGEND",89:"FORMAT.TEXT",90:"EDIT.REPEAT",91:"PARSE",92:"JUSTIFY",93:"HIDE",94:"UNHIDE",95:"WORKSPACE",96:"FORMULA",97:"FORMULA.FILL",98:"FORMULA.ARRAY",99:"DATA.FIND.NEXT",100:"DATA.FIND.PREV",101:"FORMULA.FIND.NEXT",102:"FORMULA.FIND.PREV",103:"ACTIVATE",104:"ACTIVATE.NEXT",105:"ACTIVATE.PREV",106:"UNLOCKED.NEXT",107:"UNLOCKED.PREV",108:"COPY.PICTURE",109:"SELECT",110:"DELETE.NAME",111:"DELETE.FORMAT",112:"VLINE",113:"HLINE",114:"VPAGE",115:"HPAGE",116:"VSCROLL",117:"HSCROLL",118:"ALERT",119:"NEW",120:"CANCEL.COPY",121:"SHOW.CLIPBOARD",122:"MESSAGE",124:"PASTE.LINK",125:"APP.ACTIVATE",126:"DELETE.ARROW",127:"ROW.HEIGHT",128:"FORMAT.MOVE",129:"FORMAT.SIZE",130:"FORMULA.REPLACE",131:"SEND.KEYS",132:"SELECT.SPECIAL",133:"APPLY.NAMES",134:"REPLACE.FONT",135:"FREEZE.PANES",136:"SHOW.INFO",137:"SPLIT",138:"ON.WINDOW",139:"ON.DATA",140:"DISABLE.INPUT",142:"OUTLINE",143:"LIST.NAMES",144:"FILE.CLOSE",145:"SAVE.WORKBOOK",146:"DATA.FORM",147:"COPY.CHART",148:"ON.TIME",149:"WAIT",150:"FORMAT.FONT",151:"FILL.UP",152:"FILL.LEFT",153:"DELETE.OVERLAY",155:"SHORT.MENUS",159:"SET.UPDATE.STATUS",161:"COLOR.PALETTE",162:"DELETE.STYLE",163:"WINDOW.RESTORE",164:"WINDOW.MAXIMIZE",166:"CHANGE.LINK",167:"CALCULATE.DOCUMENT",168:"ON.KEY",169:"APP.RESTORE",170:"APP.MOVE",171:"APP.SIZE",172:"APP.MINIMIZE",173:"APP.MAXIMIZE",174:"BRING.TO.FRONT",175:"SEND.TO.BACK",185:"MAIN.CHART.TYPE",186:"OVERLAY.CHART.TYPE",187:"SELECT.END",188:"OPEN.MAIL",189:"SEND.MAIL",190:"STANDARD.FONT",191:"CONSOLIDATE",192:"SORT.SPECIAL",193:"GALLERY.3D.AREA",194:"GALLERY.3D.COLUMN",195:"GALLERY.3D.LINE",196:"GALLERY.3D.PIE",197:"VIEW.3D",198:"GOAL.SEEK",199:"WORKGROUP",200:"FILL.GROUP",201:"UPDATE.LINK",202:"PROMOTE",203:"DEMOTE",204:"SHOW.DETAIL",206:"UNGROUP",207:"OBJECT.PROPERTIES",208:"SAVE.NEW.OBJECT",209:"SHARE",210:"SHARE.NAME",211:"DUPLICATE",212:"APPLY.STYLE",213:"ASSIGN.TO.OBJECT",214:"OBJECT.PROTECTION",215:"HIDE.OBJECT",216:"SET.EXTRACT",217:"CREATE.PUBLISHER",218:"SUBSCRIBE.TO",219:"ATTRIBUTES",220:"SHOW.TOOLBAR",222:"PRINT.PREVIEW",223:"EDIT.COLOR",224:"SHOW.LEVELS",225:"FORMAT.MAIN",226:"FORMAT.OVERLAY",227:"ON.RECALC",228:"EDIT.SERIES",229:"DEFINE.STYLE",240:"LINE.PRINT",243:"ENTER.DATA",249:"GALLERY.RADAR",250:"MERGE.STYLES",251:"EDITION.OPTIONS",252:"PASTE.PICTURE",253:"PASTE.PICTURE.LINK",254:"SPELLING",256:"ZOOM",259:"INSERT.OBJECT",260:"WINDOW.MINIMIZE",265:"SOUND.NOTE",266:"SOUND.PLAY",267:"FORMAT.SHAPE",268:"EXTEND.POLYGON",269:"FORMAT.AUTO",272:"GALLERY.3D.BAR",273:"GALLERY.3D.SURFACE",274:"FILL.AUTO",276:"CUSTOMIZE.TOOLBAR",277:"ADD.TOOL",278:"EDIT.OBJECT",279:"ON.DOUBLECLICK",280:"ON.ENTRY",281:"WORKBOOK.ADD",282:"WORKBOOK.MOVE",283:"WORKBOOK.COPY",284:"WORKBOOK.OPTIONS",285:"SAVE.WORKSPACE",288:"CHART.WIZARD",289:"DELETE.TOOL",290:"MOVE.TOOL",291:"WORKBOOK.SELECT",292:"WORKBOOK.ACTIVATE",293:"ASSIGN.TO.TOOL",295:"COPY.TOOL",296:"RESET.TOOL",297:"CONSTRAIN.NUMERIC",298:"PASTE.TOOL",302:"WORKBOOK.NEW",305:"SCENARIO.CELLS",306:"SCENARIO.DELETE",307:"SCENARIO.ADD",308:"SCENARIO.EDIT",309:"SCENARIO.SHOW",310:"SCENARIO.SHOW.NEXT",311:"SCENARIO.SUMMARY",312:"PIVOT.TABLE.WIZARD",313:"PIVOT.FIELD.PROPERTIES",314:"PIVOT.FIELD",315:"PIVOT.ITEM",316:"PIVOT.ADD.FIELDS",318:"OPTIONS.CALCULATION",319:"OPTIONS.EDIT",320:"OPTIONS.VIEW",321:"ADDIN.MANAGER",322:"MENU.EDITOR",323:"ATTACH.TOOLBARS",324:"VBAActivate",325:"OPTIONS.CHART",328:"VBA.INSERT.FILE",330:"VBA.PROCEDURE.DEFINITION",336:"ROUTING.SLIP",338:"ROUTE.DOCUMENT",339:"MAIL.LOGON",342:"INSERT.PICTURE",343:"EDIT.TOOL",344:"GALLERY.DOUGHNUT",350:"CHART.TREND",352:"PIVOT.ITEM.PROPERTIES",354:"WORKBOOK.INSERT",355:"OPTIONS.TRANSITION",356:"OPTIONS.GENERAL",370:"FILTER.ADVANCED",373:"MAIL.ADD.MAILER",374:"MAIL.DELETE.MAILER",375:"MAIL.REPLY",376:"MAIL.REPLY.ALL",377:"MAIL.FORWARD",378:"MAIL.NEXT.LETTER",379:"DATA.LABEL",380:"INSERT.TITLE",381:"FONT.PROPERTIES",382:"MACRO.OPTIONS",383:"WORKBOOK.HIDE",384:"WORKBOOK.UNHIDE",385:"WORKBOOK.DELETE",386:"WORKBOOK.NAME",388:"GALLERY.CUSTOM",390:"ADD.CHART.AUTOFORMAT",391:"DELETE.CHART.AUTOFORMAT",392:"CHART.ADD.DATA",393:"AUTO.OUTLINE",394:"TAB.ORDER",395:"SHOW.DIALOG",396:"SELECT.ALL",397:"UNGROUP.SHEETS",398:"SUBTOTAL.CREATE",399:"SUBTOTAL.REMOVE",400:"RENAME.OBJECT",412:"WORKBOOK.SCROLL",413:"WORKBOOK.NEXT",414:"WORKBOOK.PREV",415:"WORKBOOK.TAB.SPLIT",416:"FULL.SCREEN",417:"WORKBOOK.PROTECT",420:"SCROLLBAR.PROPERTIES",421:"PIVOT.SHOW.PAGES",422:"TEXT.TO.COLUMNS",423:"FORMAT.CHARTTYPE",424:"LINK.FORMAT",425:"TRACER.DISPLAY",430:"TRACER.NAVIGATE",431:"TRACER.CLEAR",432:"TRACER.ERROR",433:"PIVOT.FIELD.GROUP",434:"PIVOT.FIELD.UNGROUP",435:"CHECKBOX.PROPERTIES",436:"LABEL.PROPERTIES",437:"LISTBOX.PROPERTIES",438:"EDITBOX.PROPERTIES",439:"PIVOT.REFRESH",440:"LINK.COMBO",441:"OPEN.TEXT",442:"HIDE.DIALOG",443:"SET.DIALOG.FOCUS",444:"ENABLE.OBJECT",445:"PUSHBUTTON.PROPERTIES",446:"SET.DIALOG.DEFAULT",447:"FILTER",448:"FILTER.SHOW.ALL",449:"CLEAR.OUTLINE",450:"FUNCTION.WIZARD",451:"ADD.LIST.ITEM",452:"SET.LIST.ITEM",453:"REMOVE.LIST.ITEM",454:"SELECT.LIST.ITEM",455:"SET.CONTROL.VALUE",456:"SAVE.COPY.AS",458:"OPTIONS.LISTS.ADD",459:"OPTIONS.LISTS.DELETE",460:"SERIES.AXES",461:"SERIES.X",462:"SERIES.Y",463:"ERRORBAR.X",464:"ERRORBAR.Y",465:"FORMAT.CHART",466:"SERIES.ORDER",467:"MAIL.LOGOFF",468:"CLEAR.ROUTING.SLIP",469:"APP.ACTIVATE.MICROSOFT",470:"MAIL.EDIT.MAILER",471:"ON.SHEET",472:"STANDARD.WIDTH",473:"SCENARIO.MERGE",474:"SUMMARY.INFO",475:"FIND.FILE",476:"ACTIVE.CELL.FONT",477:"ENABLE.TIPWIZARD",478:"VBA.MAKE.ADDIN",480:"INSERTDATATABLE",481:"WORKGROUP.OPTIONS",482:"MAIL.SEND.MAILER",485:"AUTOCORRECT",489:"POST.DOCUMENT",491:"PICKLIST",493:"VIEW.SHOW",494:"VIEW.DEFINE",495:"VIEW.DELETE",509:"SHEET.BACKGROUND",510:"INSERT.MAP.OBJECT",511:"OPTIONS.MENONO",517:"MSOCHECKS",518:"NORMAL",519:"LAYOUT",520:"RM.PRINT.AREA",521:"CLEAR.PRINT.AREA",522:"ADD.PRINT.AREA",523:"MOVE.BRK",545:"HIDECURR.NOTE",546:"HIDEALL.NOTES",547:"DELETE.NOTE",548:"TRAVERSE.NOTES",549:"ACTIVATE.NOTES",620:"PROTECT.REVISIONS",621:"UNPROTECT.REVISIONS",647:"OPTIONS.ME",653:"WEB.PUBLISH",667:"NEWWEBQUERY",673:"PIVOT.TABLE.CHART",753:"OPTIONS.SAVE",755:"OPTIONS.SPELL",808:"HIDEALL.INKANNOTS"},ds={0:"COUNT",1:"IF",2:"ISNA",3:"ISERROR",4:"SUM",5:"AVERAGE",6:"MIN",7:"MAX",8:"ROW",9:"COLUMN",10:"NA",11:"NPV",12:"STDEV",13:"DOLLAR",14:"FIXED",15:"SIN",16:"COS",17:"TAN",18:"ATAN",19:"PI",20:"SQRT",21:"EXP",22:"LN",23:"LOG10",24:"ABS",25:"INT",26:"SIGN",27:"ROUND",28:"LOOKUP",29:"INDEX",30:"REPT",31:"MID",32:"LEN",33:"VALUE",34:"TRUE",35:"FALSE",36:"AND",37:"OR",38:"NOT",39:"MOD",40:"DCOUNT",41:"DSUM",42:"DAVERAGE",43:"DMIN",44:"DMAX",45:"DSTDEV",46:"VAR",47:"DVAR",48:"TEXT",49:"LINEST",50:"TREND",51:"LOGEST",52:"GROWTH",53:"GOTO",54:"HALT",55:"RETURN",56:"PV",57:"FV",58:"NPER",59:"PMT",60:"RATE",61:"MIRR",62:"IRR",63:"RAND",64:"MATCH",65:"DATE",66:"TIME",67:"DAY",68:"MONTH",69:"YEAR",70:"WEEKDAY",71:"HOUR",72:"MINUTE",73:"SECOND",74:"NOW",75:"AREAS",76:"ROWS",77:"COLUMNS",78:"OFFSET",79:"ABSREF",80:"RELREF",81:"ARGUMENT",82:"SEARCH",83:"TRANSPOSE",84:"ERROR",85:"STEP",86:"TYPE",87:"ECHO",88:"SET.NAME",89:"CALLER",90:"DEREF",91:"WINDOWS",92:"SERIES",93:"DOCUMENTS",94:"ACTIVE.CELL",95:"SELECTION",96:"RESULT",97:"ATAN2",98:"ASIN",99:"ACOS",100:"CHOOSE",101:"HLOOKUP",102:"VLOOKUP",103:"LINKS",104:"INPUT",105:"ISREF",106:"GET.FORMULA",107:"GET.NAME",108:"SET.VALUE",109:"LOG",110:"EXEC",111:"CHAR",112:"LOWER",113:"UPPER",114:"PROPER",115:"LEFT",116:"RIGHT",117:"EXACT",118:"TRIM",119:"REPLACE",120:"SUBSTITUTE",121:"CODE",122:"NAMES",123:"DIRECTORY",124:"FIND",125:"CELL",126:"ISERR",127:"ISTEXT",128:"ISNUMBER",129:"ISBLANK",130:"T",131:"N",132:"FOPEN",133:"FCLOSE",134:"FSIZE",135:"FREADLN",136:"FREAD",137:"FWRITELN",138:"FWRITE",139:"FPOS",140:"DATEVALUE",141:"TIMEVALUE",142:"SLN",143:"SYD",144:"DDB",145:"GET.DEF",146:"REFTEXT",147:"TEXTREF",148:"INDIRECT",149:"REGISTER",150:"CALL",151:"ADD.BAR",152:"ADD.MENU",153:"ADD.COMMAND",154:"ENABLE.COMMAND",155:"CHECK.COMMAND",156:"RENAME.COMMAND",157:"SHOW.BAR",158:"DELETE.MENU",159:"DELETE.COMMAND",160:"GET.CHART.ITEM",161:"DIALOG.BOX",162:"CLEAN",163:"MDETERM",164:"MINVERSE",165:"MMULT",166:"FILES",167:"IPMT",168:"PPMT",169:"COUNTA",170:"CANCEL.KEY",171:"FOR",172:"WHILE",173:"BREAK",174:"NEXT",175:"INITIATE",176:"REQUEST",177:"POKE",178:"EXECUTE",179:"TERMINATE",180:"RESTART",181:"HELP",182:"GET.BAR",183:"PRODUCT",184:"FACT",185:"GET.CELL",186:"GET.WORKSPACE",187:"GET.WINDOW",188:"GET.DOCUMENT",189:"DPRODUCT",190:"ISNONTEXT",191:"GET.NOTE",192:"NOTE",193:"STDEVP",194:"VARP",195:"DSTDEVP",196:"DVARP",197:"TRUNC",198:"ISLOGICAL",199:"DCOUNTA",200:"DELETE.BAR",201:"UNREGISTER",204:"USDOLLAR",205:"FINDB",206:"SEARCHB",207:"REPLACEB",208:"LEFTB",209:"RIGHTB",210:"MIDB",211:"LENB",212:"ROUNDUP",213:"ROUNDDOWN",214:"ASC",215:"DBCS",216:"RANK",219:"ADDRESS",220:"DAYS360",221:"TODAY",222:"VDB",223:"ELSE",224:"ELSE.IF",225:"END.IF",226:"FOR.CELL",227:"MEDIAN",228:"SUMPRODUCT",229:"SINH",230:"COSH",231:"TANH",232:"ASINH",233:"ACOSH",234:"ATANH",235:"DGET",236:"CREATE.OBJECT",237:"VOLATILE",238:"LAST.ERROR",239:"CUSTOM.UNDO",240:"CUSTOM.REPEAT",241:"FORMULA.CONVERT",242:"GET.LINK.INFO",243:"TEXT.BOX",244:"INFO",245:"GROUP",246:"GET.OBJECT",247:"DB",248:"PAUSE",251:"RESUME",252:"FREQUENCY",253:"ADD.TOOLBAR",254:"DELETE.TOOLBAR",255:"User",256:"RESET.TOOLBAR",257:"EVALUATE",258:"GET.TOOLBAR",259:"GET.TOOL",260:"SPELLING.CHECK",261:"ERROR.TYPE",262:"APP.TITLE",263:"WINDOW.TITLE",264:"SAVE.TOOLBAR",265:"ENABLE.TOOL",266:"PRESS.TOOL",267:"REGISTER.ID",268:"GET.WORKBOOK",269:"AVEDEV",270:"BETADIST",271:"GAMMALN",272:"BETAINV",273:"BINOMDIST",274:"CHIDIST",275:"CHIINV",276:"COMBIN",277:"CONFIDENCE",278:"CRITBINOM",279:"EVEN",280:"EXPONDIST",281:"FDIST",282:"FINV",283:"FISHER",284:"FISHERINV",285:"FLOOR",286:"GAMMADIST",287:"GAMMAINV",288:"CEILING",289:"HYPGEOMDIST",290:"LOGNORMDIST",291:"LOGINV",292:"NEGBINOMDIST",293:"NORMDIST",294:"NORMSDIST",295:"NORMINV",296:"NORMSINV",297:"STANDARDIZE",298:"ODD",299:"PERMUT",300:"POISSON",301:"TDIST",302:"WEIBULL",303:"SUMXMY2",304:"SUMX2MY2",305:"SUMX2PY2",306:"CHITEST",307:"CORREL",308:"COVAR",309:"FORECAST",310:"FTEST",311:"INTERCEPT",312:"PEARSON",313:"RSQ",314:"STEYX",315:"SLOPE",316:"TTEST",317:"PROB",318:"DEVSQ",319:"GEOMEAN",320:"HARMEAN",321:"SUMSQ",322:"KURT",323:"SKEW",324:"ZTEST",325:"LARGE",326:"SMALL",327:"QUARTILE",328:"PERCENTILE",329:"PERCENTRANK",330:"MODE",331:"TRIMMEAN",332:"TINV",334:"MOVIE.COMMAND",335:"GET.MOVIE",336:"CONCATENATE",337:"POWER",338:"PIVOT.ADD.DATA",339:"GET.PIVOT.TABLE",340:"GET.PIVOT.FIELD",341:"GET.PIVOT.ITEM",342:"RADIANS",343:"DEGREES",344:"SUBTOTAL",345:"SUMIF",346:"COUNTIF",347:"COUNTBLANK",348:"SCENARIO.GET",349:"OPTIONS.LISTS.GET",350:"ISPMT",351:"DATEDIF",352:"DATESTRING",353:"NUMBERSTRING",354:"ROMAN",355:"OPEN.DIALOG",356:"SAVE.DIALOG",357:"VIEW.GET",358:"GETPIVOTDATA",359:"HYPERLINK",360:"PHONETIC",361:"AVERAGEA",362:"MAXA",363:"MINA",364:"STDEVPA",365:"VARPA",366:"STDEVA",367:"VARA",368:"BAHTTEXT",369:"THAIDAYOFWEEK",370:"THAIDIGIT",371:"THAIMONTHOFYEAR",372:"THAINUMSOUND",373:"THAINUMSTRING",374:"THAISTRINGLENGTH",375:"ISTHAIDIGIT",376:"ROUNDBAHTDOWN",377:"ROUNDBAHTUP",378:"THAIYEAR",379:"RTD",380:"CUBEVALUE",381:"CUBEMEMBER",382:"CUBEMEMBERPROPERTY",383:"CUBERANKEDMEMBER",384:"HEX2BIN",385:"HEX2DEC",386:"HEX2OCT",387:"DEC2BIN",388:"DEC2HEX",389:"DEC2OCT",390:"OCT2BIN",391:"OCT2HEX",392:"OCT2DEC",393:"BIN2DEC",394:"BIN2OCT",395:"BIN2HEX",396:"IMSUB",397:"IMDIV",398:"IMPOWER",399:"IMABS",400:"IMSQRT",401:"IMLN",402:"IMLOG2",403:"IMLOG10",404:"IMSIN",405:"IMCOS",406:"IMEXP",407:"IMARGUMENT",408:"IMCONJUGATE",409:"IMAGINARY",410:"IMREAL",411:"COMPLEX",412:"IMSUM",413:"IMPRODUCT",414:"SERIESSUM",415:"FACTDOUBLE",416:"SQRTPI",417:"QUOTIENT",418:"DELTA",419:"GESTEP",420:"ISEVEN",421:"ISODD",422:"MROUND",423:"ERF",424:"ERFC",425:"BESSELJ",426:"BESSELK",427:"BESSELY",428:"BESSELI",429:"XIRR",430:"XNPV",431:"PRICEMAT",432:"YIELDMAT",433:"INTRATE",434:"RECEIVED",435:"DISC",436:"PRICEDISC",437:"YIELDDISC",438:"TBILLEQ",439:"TBILLPRICE",440:"TBILLYIELD",441:"PRICE",442:"YIELD",443:"DOLLARDE",444:"DOLLARFR",445:"NOMINAL",446:"EFFECT",447:"CUMPRINC",448:"CUMIPMT",449:"EDATE",450:"EOMONTH",451:"YEARFRAC",452:"COUPDAYBS",453:"COUPDAYS",454:"COUPDAYSNC",455:"COUPNCD",456:"COUPNUM",457:"COUPPCD",458:"DURATION",459:"MDURATION",460:"ODDLPRICE",461:"ODDLYIELD",462:"ODDFPRICE",463:"ODDFYIELD",464:"RANDBETWEEN",465:"WEEKNUM",466:"AMORDEGRC",467:"AMORLINC",468:"CONVERT",724:"SHEETJS",469:"ACCRINT",470:"ACCRINTM",471:"WORKDAY",472:"NETWORKDAYS",473:"GCD",474:"MULTINOMIAL",475:"LCM",476:"FVSCHEDULE",477:"CUBEKPIMEMBER",478:"CUBESET",479:"CUBESETCOUNT",480:"IFERROR",481:"COUNTIFS",482:"SUMIFS",483:"AVERAGEIF",484:"AVERAGEIFS"},ps={2:1,3:1,10:0,15:1,16:1,17:1,18:1,19:0,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:2,30:2,31:3,32:1,33:1,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,111:1,112:1,113:1,114:1,117:2,118:1,119:4,121:1,126:1,127:1,128:1,129:1,130:1,131:1,133:1,134:1,135:1,136:2,137:2,138:2,140:1,141:1,142:3,143:4,144:4,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186:1,189:3,190:1,195:3,196:3,197:1,198:1,199:3,201:1,207:4,210:3,211:1,212:2,213:2,214:1,215:1,225:0,229:1,230:1,231:1,232:1,233:1,234:1,235:3,244:1,247:4,252:2,257:1,261:1,271:1,273:4,274:2,275:2,276:2,277:3,278:3,279:1,280:3,281:3,282:3,283:1,284:1,285:2,286:4,287:3,288:2,289:4,290:3,291:3,292:3,293:4,294:1,295:3,296:1,297:3,298:1,299:2,300:3,301:3,302:4,303:2,304:2,305:2,306:2,307:2,308:2,309:3,310:2,311:2,312:2,313:2,314:2,315:2,316:4,325:2,326:2,327:2,328:2,331:2,332:2,337:2,342:1,343:1,346:2,347:1,350:4,351:3,352:1,353:2,360:1,368:1,369:1,370:1,371:1,372:1,373:1,374:1,375:1,376:1,377:1,378:1,382:3,385:1,392:1,393:1,396:2,397:2,398:2,399:1,400:1,401:1,402:1,403:1,404:1,405:1,406:1,407:1,408:1,409:1,410:1,414:4,415:1,416:1,417:2,420:1,421:1,422:2,424:1,425:2,426:2,427:2,428:2,430:3,438:3,439:3,440:3,443:2,444:2,445:2,446:2,447:6,448:6,449:2,450:2,464:2,468:3,476:2,479:1,480:2,65535:0},gs={"_xlfn.ACOT":"ACOT","_xlfn.ACOTH":"ACOTH","_xlfn.AGGREGATE":"AGGREGATE","_xlfn.ARABIC":"ARABIC","_xlfn.AVERAGEIF":"AVERAGEIF","_xlfn.AVERAGEIFS":"AVERAGEIFS","_xlfn.BASE":"BASE","_xlfn.BETA.DIST":"BETA.DIST","_xlfn.BETA.INV":"BETA.INV","_xlfn.BINOM.DIST":"BINOM.DIST","_xlfn.BINOM.DIST.RANGE":"BINOM.DIST.RANGE","_xlfn.BINOM.INV":"BINOM.INV","_xlfn.BITAND":"BITAND","_xlfn.BITLSHIFT":"BITLSHIFT","_xlfn.BITOR":"BITOR","_xlfn.BITRSHIFT":"BITRSHIFT","_xlfn.BITXOR":"BITXOR","_xlfn.CEILING.MATH":"CEILING.MATH","_xlfn.CEILING.PRECISE":"CEILING.PRECISE","_xlfn.CHISQ.DIST":"CHISQ.DIST","_xlfn.CHISQ.DIST.RT":"CHISQ.DIST.RT","_xlfn.CHISQ.INV":"CHISQ.INV","_xlfn.CHISQ.INV.RT":"CHISQ.INV.RT","_xlfn.CHISQ.TEST":"CHISQ.TEST","_xlfn.COMBINA":"COMBINA","_xlfn.CONCAT":"CONCAT","_xlfn.CONFIDENCE.NORM":"CONFIDENCE.NORM","_xlfn.CONFIDENCE.T":"CONFIDENCE.T","_xlfn.COT":"COT","_xlfn.COTH":"COTH","_xlfn.COUNTIFS":"COUNTIFS","_xlfn.COVARIANCE.P":"COVARIANCE.P","_xlfn.COVARIANCE.S":"COVARIANCE.S","_xlfn.CSC":"CSC","_xlfn.CSCH":"CSCH","_xlfn.DAYS":"DAYS","_xlfn.DECIMAL":"DECIMAL","_xlfn.ECMA.CEILING":"ECMA.CEILING","_xlfn.ERF.PRECISE":"ERF.PRECISE","_xlfn.ERFC.PRECISE":"ERFC.PRECISE","_xlfn.EXPON.DIST":"EXPON.DIST","_xlfn.F.DIST":"F.DIST","_xlfn.F.DIST.RT":"F.DIST.RT","_xlfn.F.INV":"F.INV","_xlfn.F.INV.RT":"F.INV.RT","_xlfn.F.TEST":"F.TEST","_xlfn.FILTERXML":"FILTERXML","_xlfn.FLOOR.MATH":"FLOOR.MATH","_xlfn.FLOOR.PRECISE":"FLOOR.PRECISE","_xlfn.FORECAST.ETS":"FORECAST.ETS","_xlfn.FORECAST.ETS.CONFINT":"FORECAST.ETS.CONFINT","_xlfn.FORECAST.ETS.SEASONALITY":"FORECAST.ETS.SEASONALITY","_xlfn.FORECAST.ETS.STAT":"FORECAST.ETS.STAT","_xlfn.FORECAST.LINEAR":"FORECAST.LINEAR","_xlfn.FORMULATEXT":"FORMULATEXT","_xlfn.GAMMA":"GAMMA","_xlfn.GAMMA.DIST":"GAMMA.DIST","_xlfn.GAMMA.INV":"GAMMA.INV","_xlfn.GAMMALN.PRECISE":"GAMMALN.PRECISE","_xlfn.GAUSS":"GAUSS","_xlfn.HYPGEOM.DIST":"HYPGEOM.DIST","_xlfn.IFERROR":"IFERROR","_xlfn.IFNA":"IFNA","_xlfn.IFS":"IFS","_xlfn.IMCOSH":"IMCOSH","_xlfn.IMCOT":"IMCOT","_xlfn.IMCSC":"IMCSC","_xlfn.IMCSCH":"IMCSCH","_xlfn.IMSEC":"IMSEC","_xlfn.IMSECH":"IMSECH","_xlfn.IMSINH":"IMSINH","_xlfn.IMTAN":"IMTAN","_xlfn.ISFORMULA":"ISFORMULA","_xlfn.ISO.CEILING":"ISO.CEILING","_xlfn.ISOWEEKNUM":"ISOWEEKNUM","_xlfn.LOGNORM.DIST":"LOGNORM.DIST","_xlfn.LOGNORM.INV":"LOGNORM.INV","_xlfn.MAXIFS":"MAXIFS","_xlfn.MINIFS":"MINIFS","_xlfn.MODE.MULT":"MODE.MULT","_xlfn.MODE.SNGL":"MODE.SNGL","_xlfn.MUNIT":"MUNIT","_xlfn.NEGBINOM.DIST":"NEGBINOM.DIST","_xlfn.NETWORKDAYS.INTL":"NETWORKDAYS.INTL","_xlfn.NIGBINOM":"NIGBINOM","_xlfn.NORM.DIST":"NORM.DIST","_xlfn.NORM.INV":"NORM.INV","_xlfn.NORM.S.DIST":"NORM.S.DIST","_xlfn.NORM.S.INV":"NORM.S.INV","_xlfn.NUMBERVALUE":"NUMBERVALUE","_xlfn.PDURATION":"PDURATION","_xlfn.PERCENTILE.EXC":"PERCENTILE.EXC","_xlfn.PERCENTILE.INC":"PERCENTILE.INC","_xlfn.PERCENTRANK.EXC":"PERCENTRANK.EXC","_xlfn.PERCENTRANK.INC":"PERCENTRANK.INC","_xlfn.PERMUTATIONA":"PERMUTATIONA","_xlfn.PHI":"PHI","_xlfn.POISSON.DIST":"POISSON.DIST","_xlfn.QUARTILE.EXC":"QUARTILE.EXC","_xlfn.QUARTILE.INC":"QUARTILE.INC","_xlfn.QUERYSTRING":"QUERYSTRING","_xlfn.RANK.AVG":"RANK.AVG","_xlfn.RANK.EQ":"RANK.EQ","_xlfn.RRI":"RRI","_xlfn.SEC":"SEC","_xlfn.SECH":"SECH","_xlfn.SHEET":"SHEET","_xlfn.SHEETS":"SHEETS","_xlfn.SKEW.P":"SKEW.P","_xlfn.STDEV.P":"STDEV.P","_xlfn.STDEV.S":"STDEV.S","_xlfn.SUMIFS":"SUMIFS","_xlfn.SWITCH":"SWITCH","_xlfn.T.DIST":"T.DIST","_xlfn.T.DIST.2T":"T.DIST.2T","_xlfn.T.DIST.RT":"T.DIST.RT","_xlfn.T.INV":"T.INV","_xlfn.T.INV.2T":"T.INV.2T","_xlfn.T.TEST":"T.TEST","_xlfn.TEXTJOIN":"TEXTJOIN","_xlfn.UNICHAR":"UNICHAR","_xlfn.UNICODE":"UNICODE","_xlfn.VAR.P":"VAR.P","_xlfn.VAR.S":"VAR.S","_xlfn.WEBSERVICE":"WEBSERVICE","_xlfn.WEIBULL.DIST":"WEIBULL.DIST","_xlfn.WORKDAY.INTL":"WORKDAY.INTL","_xlfn.XOR":"XOR","_xlfn.Z.TEST":"Z.TEST"};function ms(e){return"of:"==e.slice(0,3)&&(e=e.slice(3)),61==e.charCodeAt(0)&&61==(e=e.slice(1)).charCodeAt(0)&&(e=e.slice(1)),(e=(e=(e=e.replace(/COM\.MICROSOFT\./g,"")).replace(/\[((?:\.[A-Z]+[0-9]+)(?::\.[A-Z]+[0-9]+)?)\]/g,function(e,t){return t.replace(/\./g,"")})).replace(/\[.(#[A-Z]*[?!])\]/g,"$1")).replace(/[;~]/g,",").replace(/\|/g,";")}function vs(e){return("of:="+e.replace(vo,"$1[.$2$3$4$5]").replace(/\]:\[/g,":")).replace(/;/g,"|").replace(/,/g,";")}function bs(e){var t=e.split(":");return[t[0].split(".")[0],t[0].split(".")[1]+(t.length>1?":"+(t[1].split(".")[1]||t[1].split(".")[0]):"")]}function ys(e){return e.replace(/\./,"!")}var ws={},Ss={};Kn.WS=["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"];var xs="undefined"!=typeof Map;function Es(e,t,n){var r=0,a=e.length;if(n){if(xs?n.has(t):Object.prototype.hasOwnProperty.call(n,t))for(var i=xs?n.get(t):n[t];r<i.length;++r)if(e[i[r]].t===t)return e.Count++,i[r]}else for(;r<a;++r)if(e[r].t===t)return e.Count++,r;return e[a]={t:t},e.Count++,e.Unique++,n&&(xs?(n.has(t)||n.set(t,[]),n.get(t).push(a)):(Object.prototype.hasOwnProperty.call(n,t)||(n[t]=[]),n[t].push(a))),a}function _s(e,t){var n={min:e+1,max:e+1},r=-1;return t.MDW&&(wi=t.MDW),null!=t.width?n.customWidth=1:null!=t.wpx?r=xi(t.wpx):null!=t.wch&&(r=t.wch),r>-1?(n.width=Ei(r),n.customWidth=1):null!=t.width&&(n.width=t.width),t.hidden&&(n.hidden=!0),null!=t.level&&(n.outlineLevel=n.level=t.level),n}function ks(e,t){if(e){var n=[.7,.7,.75,.75,.3,.3];"xlml"==t&&(n=[1,1,1,1,.5,.5]),null==e.left&&(e.left=n[0]),null==e.right&&(e.right=n[1]),null==e.top&&(e.top=n[2]),null==e.bottom&&(e.bottom=n[3]),null==e.header&&(e.header=n[4]),null==e.footer&&(e.footer=n[5])}}function As(e,t,n){var r=n.revssf[null!=t.z?t.z:"General"],a=60,i=e.length;if(null==r&&n.ssf)for(;a<392;++a)if(null==n.ssf[a]){T.load(t.z,a),n.ssf[a]=t.z,n.revssf[t.z]=r=a;break}for(a=0;a!=i;++a)if(e[a].numFmtId===r)return a;return e[i]={numFmtId:r,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1},i}function Cs(e,t,n,r,a,i){try{r.cellNF&&(e.z=T._table[t])}catch(e){if(r.WTF)throw e}if("z"!==e.t||r.cellStyles){if("d"===e.t&&"string"==typeof e.v&&(e.v=Z(e.v)),(!r||!1!==r.cellText)&&"z"!==e.t)try{if(null==T._table[t]&&T.load(B[t]||"General",t),"e"===e.t)e.w=e.w||Hn[e.v];else if(0===t)if("n"===e.t)(0|e.v)===e.v?e.w=T._general_int(e.v):e.w=T._general_num(e.v);else if("d"===e.t){var o=H(e.v);e.w=(0|o)===o?T._general_int(o):T._general_num(o)}else{if(void 0===e.v)return"";e.w=T._general(e.v,Ss)}else"d"===e.t?e.w=T.format(t,H(e.v),Ss):e.w=T.format(t,e.v,Ss)}catch(e){if(r.WTF)throw e}if(r.cellStyles&&null!=n)try{e.s=i.Fills[n],e.s.fgColor&&e.s.fgColor.theme&&!e.s.fgColor.rgb&&(e.s.fgColor.rgb=mi(a.themeElements.clrScheme[e.s.fgColor.theme].rgb,e.s.fgColor.tint||0),r.WTF&&(e.s.fgColor.raw_rgb=a.themeElements.clrScheme[e.s.fgColor.theme].rgb)),e.s.bgColor&&e.s.bgColor.theme&&(e.s.bgColor.rgb=mi(a.themeElements.clrScheme[e.s.bgColor.theme].rgb,e.s.bgColor.tint||0),r.WTF&&(e.s.bgColor.raw_rgb=a.themeElements.clrScheme[e.s.bgColor.theme].rgb))}catch(e){if(r.WTF&&i.Fills)throw e}}}function Ts(e,t,n){if(e&&e["!ref"]){var r=Kt(e["!ref"]);if(r.e.c<r.s.c||r.e.r<r.s.r)throw new Error("Bad range ("+n+"): "+e["!ref"])}}var Rs=/<(?:\w:)?mergeCell ref="[A-Z0-9:]+"\s*[\/]?>/g,Ns=/<(?:\w+:)?sheetData[^>]*>([\s\S]*)<\/(?:\w+:)?sheetData>/,Bs=/<(?:\w:)?hyperlink [^>]*>/gm,Is=/"(\w*:\w*)"/,Ls=/<(?:\w:)?col\b[^>]*[\/]?>/g,Os=/<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g,Ps=/<(?:\w:)?pageMargins[^>]*\/>/g,Fs=/<(?:\w:)?sheetPr\b(?:[^>a-z][^>]*)?\/>/,Ds=/<(?:\w:)?sheetPr[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetPr)>/,Ms=/<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/;function js(e,t,n,r,a,i,o){if(!e)return e;r||(r={"!id":{}}),null!=d&&null==t.dense&&(t.dense=d);var s=t.dense?[]:{},l={s:{r:2e6,c:2e6},e:{r:0,c:0}},c="",u="",f=e.match(Ns);f?(c=e.slice(0,f.index),u=e.slice(f.index+f[0].length)):c=u=e;var h=c.match(Fs);h?Ws(h[0],s,a,n):(h=c.match(Ds))&&function(e,t,n,r,a,i,o){Ws(e.slice(0,e.indexOf(">")),n,r,a)}(h[0],h[1],s,a,n);var p=(c.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(p>0){var g=c.slice(p,p+50).match(Is);g&&function(e,t){var n=Kt(t);n.s.r<=n.e.r&&n.s.c<=n.e.c&&n.s.r>=0&&n.s.c>=0&&(e["!ref"]=Yt(n))}(s,g[1])}var m=c.match(Ms);m&&m[1]&&function(e,t){t.Views||(t.Views=[{}]);(e.match(Hs)||[]).forEach(function(e,n){var r=Se(e);t.Views[n]||(t.Views[n]={}),+r.zoomScale&&(t.Views[n].zoom=+r.zoomScale),Oe(r.rightToLeft)&&(t.Views[n].RTL=!0)})}(m[1],a);var v=[];if(t.cellStyles){var b=c.match(Ls);b&&function(e,t){for(var n=!1,r=0;r!=t.length;++r){var a=Se(t[r],!0);a.hidden&&(a.hidden=Oe(a.hidden));var i=parseInt(a.min,10)-1,o=parseInt(a.max,10)-1;for(a.outlineLevel&&(a.level=+a.outlineLevel||0),delete a.min,delete a.max,a.width=+a.width,!n&&a.width&&(n=!0,ki(a.width)),Ai(a);i<=o;)e[i++]=ee(a)}}(v,b)}f&&qs(f[1],s,t,l,i,o);var y=u.match(Os);y&&(s["!autofilter"]=function(e){return{ref:(e.match(/ref="([^"]*)"/)||[])[1]}}(y[0]));var w=[],S=u.match(Rs);if(S)for(p=0;p!=S.length;++p)w[p]=Kt(S[p].slice(S[p].indexOf('"')+1));var x=u.match(Bs);x&&function(e,t,n){for(var r=Array.isArray(e),a=0;a!=t.length;++a){var i=Se(Pe(t[a]),!0);if(!i.ref)return;var o=((n||{})["!id"]||[])[i.id];o?(i.Target=o.Target,i.location&&(i.Target+="#"+ke(i.location))):(i.Target="#"+ke(i.location),o={Target:i.Target,TargetMode:"Internal"}),i.Rel=o,i.tooltip&&(i.Tooltip=i.tooltip,delete i.tooltip);for(var s=Kt(i.ref),l=s.s.r;l<=s.e.r;++l)for(var c=s.s.c;c<=s.e.c;++c){var u=Xt({c:c,r:l});r?(e[l]||(e[l]=[]),e[l][c]||(e[l][c]={t:"z",v:void 0}),e[l][c].l=i):(e[u]||(e[u]={t:"z",v:void 0}),e[u].l=i)}}}(s,x,r);var E=u.match(Ps);if(E&&(s["!margins"]=function(e){var t={};return["left","right","top","bottom","header","footer"].forEach(function(n){e[n]&&(t[n]=parseFloat(e[n]))}),t}(Se(E[0]))),!s["!ref"]&&l.e.c>=l.s.c&&l.e.r>=l.s.r&&(s["!ref"]=Yt(l)),t.sheetRows>0&&s["!ref"]){var _=Kt(s["!ref"]);t.sheetRows<=+_.e.r&&(_.e.r=t.sheetRows-1,_.e.r>l.e.r&&(_.e.r=l.e.r),_.e.r<_.s.r&&(_.s.r=_.e.r),_.e.c>l.e.c&&(_.e.c=l.e.c),_.e.c<_.s.c&&(_.s.c=_.e.c),s["!fullref"]=s["!ref"],s["!ref"]=Yt(_))}return v.length>0&&(s["!cols"]=v),w.length>0&&(s["!merges"]=w),s}function Ws(e,t,n,r){var a=Se(e);n.Sheets[r]||(n.Sheets[r]={}),a.codeName&&(n.Sheets[r].CodeName=ke(Pe(a.codeName)))}var Us=["objects","scenarios","selectLockedCells","selectUnlockedCells"],zs=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];var Hs=/<(?:\w:)?sheetView(?:[^>a-z][^>]*)?\/?>/;function Vs(e,t,n,r){if(void 0===e.v&&"string"!=typeof e.f||"z"===e.t)return"";var a="",i=e.t,o=e.v;if("z"!==e.t)switch(e.t){case"b":a=e.v?"1":"0";break;case"n":a=""+e.v;break;case"e":a=Hn[e.v];break;case"d":r&&r.cellDates?a=Z(e.v,-1).toISOString():((e=ee(e)).t="n",a=""+(e.v=H(Z(e.v)))),void 0===e.z&&(e.z=T._table[14]);break;default:a=e.v}var s=Xe("v",Te(a)),l={r:t},c=As(r.cellXfs,e,r);switch(0!==c&&(l.s=c),e.t){case"n":break;case"d":l.t="d";break;case"b":l.t="b";break;case"e":l.t="e";break;case"z":break;default:if(null==e.v){delete e.t;break}if(e.v.length>32767)throw new Error("Text length must not exceed 32767 characters");if(r&&r.bookSST){s=Xe("v",""+Es(r.Strings,e.v,r.revStrings)),l.t="s";break}l.t="str"}if(e.t!=i&&(e.t=i,e.v=o),"string"==typeof e.f&&e.f){var u=e.F&&e.F.slice(0,t.length)==t?{t:"array",ref:e.F}:null;s=Ye("f",Te(e.f),u)+(null!=e.v?s:"")}return e.l&&n["!links"].push([t,e.l]),e.c&&n["!comments"].push([t,e.c]),Ye("c",s,l)}var qs=function(){var e=/<(?:\w+:)?c[ \/>]/,t=/<\/(?:\w+:)?row>/,n=/r=["']([^"']*)["']/,r=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/,a=/ref=["']([^"']*)["']/,i=We("v"),o=We("f");return function(s,l,c,u,f,h){for(var d,p,g,m,v,b=0,y="",w=[],S=[],x=0,E=0,_=0,k="",A=0,C=0,R=0,N=0,B=Array.isArray(h.CellXf),I=[],L=[],O=Array.isArray(l),P=[],F={},D=!1,M=!!c.sheetStubs,j=s.split(t),W=0,U=j.length;W!=U;++W){var z=(y=j[W].trim()).length;if(0!==z){var V=0;e:for(b=0;b<z;++b)switch(y[b]){case">":if("/"!=y[b-1]){++b;break e}if(c&&c.cellStyles){if(A=null!=(p=Se(y.slice(V,b),!0)).r?parseInt(p.r,10):A+1,C=-1,c.sheetRows&&c.sheetRows<A)continue;F={},D=!1,p.ht&&(D=!0,F.hpt=parseFloat(p.ht),F.hpx=Ri(F.hpt)),"1"==p.hidden&&(D=!0,F.hidden=!0),null!=p.outlineLevel&&(D=!0,F.level=+p.outlineLevel),D&&(P[A-1]=F)}break;case"<":V=b}if(V>=b)break;if(A=null!=(p=Se(y.slice(V,b),!0)).r?parseInt(p.r,10):A+1,C=-1,!(c.sheetRows&&c.sheetRows<A)){u.s.r>A-1&&(u.s.r=A-1),u.e.r<A-1&&(u.e.r=A-1),c&&c.cellStyles&&(F={},D=!1,p.ht&&(D=!0,F.hpt=parseFloat(p.ht),F.hpx=Ri(F.hpt)),"1"==p.hidden&&(D=!0,F.hidden=!0),null!=p.outlineLevel&&(D=!0,F.level=+p.outlineLevel),D&&(P[A-1]=F)),w=y.slice(b).split(e);for(var q=0;q!=w.length&&"<"==w[q].trim().charAt(0);++q);for(w=w.slice(q),b=0;b!=w.length;++b)if(0!==(y=w[b].trim()).length){if(S=y.match(n),x=b,E=0,_=0,y="<c "+("<"==y.slice(0,1)?">":"")+y,null!=S&&2===S.length){for(x=0,k=S[1],E=0;E!=k.length&&!((_=k.charCodeAt(E)-64)<1||_>26);++E)x=26*x+_;C=--x}else++C;for(E=0;E!=y.length&&62!==y.charCodeAt(E);++E);if(++E,(p=Se(y.slice(0,E),!0)).r||(p.r=Xt({r:A-1,c:C})),d={t:""},null!=(S=(k=y.slice(E)).match(i))&&""!==S[1]&&(d.v=ke(S[1])),c.cellFormula){if(null!=(S=k.match(o))&&""!==S[1]){if(d.f=ke(Pe(S[1])).replace(/\r\n/g,"\n"),c.xlfn||(d.f=So(d.f)),S[0].indexOf('t="array"')>-1)d.F=(k.match(a)||[])[1],d.F.indexOf(":")>-1&&I.push([Kt(d.F),d.F]);else if(S[0].indexOf('t="shared"')>-1){m=Se(S[0]);var G=ke(Pe(S[1]));c.xlfn||(G=So(G)),L[parseInt(m.si,10)]=[m,G,p.r]}}else(S=k.match(/<f[^>]*\/>/))&&L[(m=Se(S[0])).si]&&(d.f=wo(L[m.si][1],L[m.si][2],p.r));var $=Gt(p.r);for(E=0;E<I.length;++E)$.r>=I[E][0].s.r&&$.r<=I[E][0].e.r&&$.c>=I[E][0].s.c&&$.c<=I[E][0].e.c&&(d.F=I[E][1])}if(null==p.t&&void 0===d.v)if(d.f||d.F)d.v=0,d.t="n";else{if(!M)continue;d.t="z"}else d.t=p.t||"n";switch(u.s.c>C&&(u.s.c=C),u.e.c<C&&(u.e.c=C),d.t){case"n":if(""==d.v||null==d.v){if(!M)continue;d.t="z"}else d.v=parseFloat(d.v);break;case"s":if(void 0===d.v){if(!M)continue;d.t="z"}else g=ws[parseInt(d.v,10)],d.v=g.t,d.r=g.r,c.cellHTML&&(d.h=g.h);break;case"str":d.t="s",d.v=null!=d.v?Pe(d.v):"",c.cellHTML&&(d.h=Be(d.v));break;case"inlineStr":S=k.match(r),d.t="s",null!=S&&(g=$a(S[1]))?(d.v=g.t,c.cellHTML&&(d.h=g.h)):d.v="";break;case"b":d.v=Oe(d.v);break;case"d":c.cellDates?d.v=Z(d.v,1):(d.v=H(Z(d.v,1)),d.t="n");break;case"e":c&&!1===c.cellText||(d.w=d.v),d.v=Vn[d.v]}if(R=N=0,v=null,B&&void 0!==p.s&&null!=(v=h.CellXf[p.s])&&(null!=v.numFmtId&&(R=v.numFmtId),c.cellStyles&&null!=v.fillId&&(N=v.fillId)),Cs(d,R,N,c,f,h),c.cellDates&&B&&"n"==d.t&&T.is_date(T._table[R])&&(d.t="d",d.v=X(d.v)),O){var Y=Gt(p.r);l[Y.r]||(l[Y.r]=[]),l[Y.r][Y.c]=d}else l[p.r]=d}}}}P.length>0&&(l["!rows"]=P)}}();var Gs=Ye("worksheet",null,{xmlns:Je.main[0],"xmlns:r":Je.r});function Xs(e,t,n,r){var a,i=[me,Gs],o=n.SheetNames[e],s="",l=n.Sheets[o];null==l&&(l={});var c=l["!ref"]||"A1",u=Kt(c);if(u.e.c>16383||u.e.r>1048575){if(t.WTF)throw new Error("Range "+c+" exceeds format limit A1:XFD1048576");u.e.c=Math.min(u.e.c,16383),u.e.r=Math.min(u.e.c,1048575),c=Yt(u)}r||(r={}),l["!comments"]=[];var f=[];!function(e,t,n,r,a){var i=!1,o={},s=null;if("xlsx"!==r.bookType&&t.vbaraw){var l=t.SheetNames[n];try{t.Workbook&&(l=t.Workbook.Sheets[n].CodeName||l)}catch(e){}i=!0,o.codeName=Fe(Te(l))}if(e&&e["!outline"]){var c={summaryBelow:1,summaryRight:1};e["!outline"].above&&(c.summaryBelow=0),e["!outline"].left&&(c.summaryRight=0),s=(s||"")+Ye("outlinePr",null,c)}(i||s)&&(a[a.length]=Ye("sheetPr",s,o))}(l,n,e,t,i),i[i.length]=Ye("dimension",null,{ref:c}),i[i.length]=function(e,t,n,r){var a={workbookViewId:"0"};return(((r||{}).Workbook||{}).Views||[])[0]&&(a.rightToLeft=r.Workbook.Views[0].RTL?"1":"0"),Ye("sheetViews",Ye("sheetView",null,a),{})}(0,0,0,n),t.sheetFormat&&(i[i.length]=Ye("sheetFormatPr",null,{defaultRowHeight:t.sheetFormat.defaultRowHeight||"16",baseColWidth:t.sheetFormat.baseColWidth||"10",outlineLevelRow:t.sheetFormat.outlineLevelRow||"7"})),null!=l["!cols"]&&l["!cols"].length>0&&(i[i.length]=function(e,t){for(var n,r=["<cols>"],a=0;a!=t.length;++a)(n=t[a])&&(r[r.length]=Ye("col",null,_s(a,n)));return r[r.length]="</cols>",r.join("")}(0,l["!cols"])),i[a=i.length]="<sheetData/>",l["!links"]=[],null!=l["!ref"]&&(s=function(e,t,n,r){var a,i,o=[],s=[],l=Kt(e["!ref"]),c="",u="",f=[],h=0,d=0,p=e["!rows"],g=Array.isArray(e),m={r:u},v=-1;for(d=l.s.c;d<=l.e.c;++d)f[d]=qt(d);for(h=l.s.r;h<=l.e.r;++h){for(s=[],u=Ht(h),d=l.s.c;d<=l.e.c;++d){a=f[d]+u;var b=g?(e[h]||[])[d]:e[a];void 0!==b&&null!=(c=Vs(b,a,e,t))&&s.push(c)}(s.length>0||p&&p[h])&&(m={r:u},p&&p[h]&&((i=p[h]).hidden&&(m.hidden=1),v=-1,i.hpx?v=Ti(i.hpx):i.hpt&&(v=i.hpt),v>-1&&(m.ht=v,m.customHeight=1),i.level&&(m.outlineLevel=i.level)),o[o.length]=Ye("row",s.join(""),m))}if(p)for(;h<p.length;++h)p&&p[h]&&(m={r:h+1},(i=p[h]).hidden&&(m.hidden=1),v=-1,i.hpx?v=Ti(i.hpx):i.hpt&&(v=i.hpt),v>-1&&(m.ht=v,m.customHeight=1),i.level&&(m.outlineLevel=i.level),o[o.length]=Ye("row","",m));return o.join("")}(l,t,0,0)).length>0&&(i[i.length]=s),i.length>a+1&&(i[i.length]="</sheetData>",i[a]=i[a].replace("/>",">")),null!=l["!protect"]&&(i[i.length]=function(e){var t={sheet:1};return Us.forEach(function(n){null!=e[n]&&e[n]&&(t[n]="1")}),zs.forEach(function(n){null==e[n]||e[n]||(t[n]="0")}),e.password&&(t.password=ui(e.password).toString(16).toUpperCase()),Ye("sheetProtection",null,t)}(l["!protect"])),null!=l["!autofilter"]&&(i[i.length]=function(e,t,n,r){var a="string"==typeof e.ref?e.ref:Yt(e.ref);n.Workbook||(n.Workbook={Sheets:[]}),n.Workbook.Names||(n.Workbook.Names=[]);var i=n.Workbook.Names,o=$t(a);o.s.r==o.e.r&&(o.e.r=$t(t["!ref"]).e.r,a=Yt(o));for(var s=0;s<i.length;++s){var l=i[s];if("_xlnm._FilterDatabase"==l.Name&&l.Sheet==r){l.Ref="'"+n.SheetNames[r]+"'!"+a;break}}return s==i.length&&i.push({Name:"_xlnm._FilterDatabase",Sheet:r,Ref:"'"+n.SheetNames[r]+"'!"+a}),Ye("autoFilter",null,{ref:a})}(l["!autofilter"],l,n,e)),null!=l["!merges"]&&l["!merges"].length>0&&(i[i.length]=function(e){if(0===e.length)return"";for(var t='<mergeCells count="'+e.length+'">',n=0;n!=e.length;++n)t+='<mergeCell ref="'+Yt(e[n])+'"/>';return t+"</mergeCells>"}(l["!merges"]));var h,d=-1,p=-1;return l["!links"].length>0&&(i[i.length]="<hyperlinks>",l["!links"].forEach(function(e){e[1].Target&&(h={ref:e[0]},"#"!=e[1].Target.charAt(0)&&(p=nr(r,-1,Te(e[1].Target).replace(/#.*$/,""),Kn.HLINK),h["r:id"]="rId"+p),(d=e[1].Target.indexOf("#"))>-1&&(h.location=Te(e[1].Target.slice(d+1))),e[1].Tooltip&&(h.tooltip=Te(e[1].Tooltip)),i[i.length]=Ye("hyperlink",null,h))}),i[i.length]="</hyperlinks>"),delete l["!links"],null!=l["!margins"]&&(i[i.length]=function(e){return ks(e),Ye("pageMargins",null,e)}(l["!margins"])),t&&!t.ignoreEC&&null!=t.ignoreEC||(i[i.length]=Xe("ignoredErrors",Ye("ignoredError",null,{numberStoredAsText:1,sqref:c}))),f.length>0&&(p=nr(r,-1,"../drawings/drawing"+(e+1)+".xml",Kn.DRAW),i[i.length]=Ye("drawing",null,{"r:id":"rId"+p}),l["!drawing"]=f),l["!comments"].length>0&&(p=nr(r,-1,"../drawings/vmlDrawing"+(e+1)+".vml",Kn.VML),i[i.length]=Ye("legacyDrawing",null,{"r:id":"rId"+p}),l["!legacy"]=p),i.length>1&&(i[i.length]="</worksheet>",i[1]=i[1].replace("/>",">")),i.join("")}function $s(e,t,n,r){var a=function(e,t,n){var r=Ot(145),a=(n["!rows"]||[])[e]||{};r._W(4,e),r._W(4,0);var i=320;a.hpx?i=20*Ti(a.hpx):a.hpt&&(i=20*a.hpt),r._W(2,i),r._W(1,0);var o=0;a.level&&(o|=a.level),a.hidden&&(o|=16),(a.hpx||a.hpt)&&(o|=32),r._W(1,o),r._W(1,0);var s=0,l=r.l;r.l+=4;for(var c={r:e,c:0},u=0;u<16;++u)if(!(t.s.c>u+1<<10||t.e.c<u<<10)){for(var f=-1,h=-1,d=u<<10;d<u+1<<10;++d)c.c=d,(Array.isArray(n)?(n[c.r]||[])[c.c]:n[Xt(c)])&&(f<0&&(f=d),h=d);f<0||(++s,r._W(4,f),r._W(4,h))}var p=r.l;return r.l=l,r._W(4,s),r.l=p,r.length>r.l?r.slice(0,r.l):r}(r,n,t);(a.length>17||(t["!rows"]||[])[r])&&Dt(e,"BrtRowHdr",a)}var Ys=_n,Ks=kn;function Js(e){return[hn(e),An(e),"n"]}var Zs=_n,Qs=kn;var el=["left","right","top","bottom","header","footer"];function tl(e,t,n,r,a,i,o){if(void 0===t.v)return!1;var s="";switch(t.t){case"b":s=t.v?"1":"0";break;case"d":(t=ee(t)).z=t.z||T._table[14],t.v=H(Z(t.v)),t.t="n";break;case"n":case"e":s=""+t.v;break;default:s=t.v}var l={r:n,c:r};switch(l.s=As(a.cellXfs,t,a),t.l&&i["!links"].push([Xt(l),t.l]),t.c&&i["!comments"].push([Xt(l),t.c]),t.t){case"s":case"str":return a.bookSST?(s=Es(a.Strings,t.v,a.revStrings),l.t="s",l.v=s,o?Dt(e,"BrtShortIsst",function(e,t,n){return null==n&&(n=Ot(8)),dn(t,n),n._W(4,t.v),n}(0,l)):Dt(e,"BrtCellIsst",function(e,t,n){return null==n&&(n=Ot(12)),fn(t,n),n._W(4,t.v),n}(0,l))):(l.t="str",o?Dt(e,"BrtShortSt",function(e,t,n){return null==n&&(n=Ot(8+4*e.v.length)),dn(t,n),an(e.v,n),n.length>n.l?n.slice(0,n.l):n}(t,l)):Dt(e,"BrtCellSt",function(e,t,n){return null==n&&(n=Ot(12+4*e.v.length)),fn(t,n),an(e.v,n),n.length>n.l?n.slice(0,n.l):n}(t,l))),!0;case"n":return t.v==(0|t.v)&&t.v>-1e3&&t.v<1e3?o?Dt(e,"BrtShortRk",function(e,t,n){return null==n&&(n=Ot(8)),dn(t,n),xn(e.v,n),n}(t,l)):Dt(e,"BrtCellRk",function(e,t,n){return null==n&&(n=Ot(12)),fn(t,n),xn(e.v,n),n}(t,l)):o?Dt(e,"BrtShortReal",function(e,t,n){return null==n&&(n=Ot(12)),dn(t,n),Cn(e.v,n),n}(t,l)):Dt(e,"BrtCellReal",function(e,t,n){return null==n&&(n=Ot(16)),fn(t,n),Cn(e.v,n),n}(t,l)),!0;case"b":return l.t="b",o?Dt(e,"BrtShortBool",function(e,t,n){return null==n&&(n=Ot(5)),dn(t,n),n._W(1,e.v?1:0),n}(t,l)):Dt(e,"BrtCellBool",function(e,t,n){return null==n&&(n=Ot(9)),fn(t,n),n._W(1,e.v?1:0),n}(t,l)),!0;case"e":return l.t="e",o?Dt(e,"BrtShortError",function(e,t,n){return null==n&&(n=Ot(8)),dn(t,n),n._W(1,e.v),n._W(2,0),n._W(1,0),n}(t,l)):Dt(e,"BrtCellError",function(e,t,n){return null==n&&(n=Ot(9)),fn(t,n),n._W(1,e.v),n}(t,l)),!0}return o?Dt(e,"BrtShortBlank",function(e,t,n){return null==n&&(n=Ot(4)),dn(t,n)}(0,l)):Dt(e,"BrtCellBlank",function(e,t,n){return null==n&&(n=Ot(8)),fn(t,n)}(0,l)),!0}function nl(e,t){t&&t["!merges"]&&(Dt(e,"BrtBeginMergeCells",function(e,t){return null==t&&(t=Ot(4)),t._W(4,e),t}(t["!merges"].length)),t["!merges"].forEach(function(t){Dt(e,"BrtMergeCell",Qs(t))}),Dt(e,"BrtEndMergeCells"))}function rl(e,t){t&&t["!cols"]&&(Dt(e,"BrtBeginColInfos"),t["!cols"].forEach(function(t,n){t&&Dt(e,"BrtColInfo",function(e,t,n){null==n&&(n=Ot(18));var r=_s(e,t);n._W(-4,e),n._W(-4,e),n._W(4,256*(r.width||10)),n._W(4,0);var a=0;return t.hidden&&(a|=1),"number"==typeof r.width&&(a|=2),t.level&&(a|=t.level<<8),n._W(2,a),n}(n,t))}),Dt(e,"BrtEndColInfos"))}function al(e,t){t&&t["!ref"]&&(Dt(e,"BrtBeginCellIgnoreECs"),Dt(e,"BrtCellIgnoreEC",function(e){var t=Ot(24);return t._W(4,4),t._W(4,1),kn(e,t),t}(Kt(t["!ref"]))),Dt(e,"BrtEndCellIgnoreECs"))}function il(e,t,n){t["!links"].forEach(function(t){if(t[1].Target){var r=nr(n,-1,t[1].Target.replace(/#.*$/,""),Kn.HLINK);Dt(e,"BrtHLink",function(e,t){var n=Ot(50+4*(e[1].Target.length+(e[1].Tooltip||"").length));kn({s:Gt(e[0]),e:Gt(e[0])},n),wn("rId"+t,n);var r=e[1].Target.indexOf("#");return an((-1==r?"":e[1].Target.slice(r+1))||"",n),an(e[1].Tooltip||"",n),an("",n),n.slice(0,n.l)}(t,r))}}),delete t["!links"]}function ol(e,t,n){Dt(e,"BrtBeginWsViews"),Dt(e,"BrtBeginWsView",function(e,t,n){null==n&&(n=Ot(30));var r=924;return(((t||{}).Views||[])[0]||{}).RTL&&(r|=32),n._W(2,r),n._W(4,0),n._W(4,0),n._W(4,0),n._W(1,0),n._W(1,0),n._W(2,0),n._W(2,100),n._W(2,0),n._W(2,0),n._W(2,0),n._W(4,0),n}(0,n)),Dt(e,"BrtEndWsView"),Dt(e,"BrtEndWsViews")}function sl(e,t){t["!protect"]&&Dt(e,"BrtSheetProtection",function(e,t){return null==t&&(t=Ot(66)),t._W(2,e.password?ui(e.password):0),t._W(4,1),[["objects",!1],["scenarios",!1],["formatCells",!0],["formatColumns",!0],["formatRows",!0],["insertColumns",!0],["insertRows",!0],["insertHyperlinks",!0],["deleteColumns",!0],["deleteRows",!0],["selectLockedCells",!1],["sort",!0],["autoFilter",!0],["pivotTables",!0],["selectUnlockedCells",!1]].forEach(function(n){n[1]?t._W(4,null==e[n[0]]||e[n[0]]?0:1):t._W(4,null!=e[n[0]]&&e[n[0]]?0:1)}),t}(t["!protect"]))}function ll(e,t,n,r){var a=Ft(),i=n.SheetNames[e],o=n.Sheets[i]||{},s=i;try{n&&n.Workbook&&(s=n.Workbook.Sheets[e].CodeName||s)}catch(e){}var l=Kt(o["!ref"]||"A1");if(l.e.c>16383||l.e.r>1048575){if(t.WTF)throw new Error("Range "+(o["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");l.e.c=Math.min(l.e.c,16383),l.e.r=Math.min(l.e.c,1048575)}return o["!links"]=[],o["!comments"]=[],Dt(a,"BrtBeginSheet"),(n.vbaraw||o["!outline"])&&Dt(a,"BrtWsProp",function(e,t,n){null==n&&(n=Ot(84+4*e.length));var r=192;t&&(t.above&&(r&=-65),t.left&&(r&=-129)),n._W(1,r);for(var a=1;a<3;++a)n._W(1,0);return Tn({auto:1},n),n._W(-4,-1),n._W(-4,-1),gn(e,n),n.slice(0,n.l)}(s,o["!outline"])),Dt(a,"BrtWsDim",Ks(l)),ol(a,0,n.Workbook),rl(a,o),function(e,t,n,r){var a,i=Kt(t["!ref"]||"A1"),o="",s=[];Dt(e,"BrtBeginSheetData");var l=Array.isArray(t),c=i.e.r;t["!rows"]&&(c=Math.max(i.e.r,t["!rows"].length-1));for(var u=i.s.r;u<=c;++u){o=Ht(u),$s(e,t,i,u);var f=!1;if(u<=i.e.r)for(var h=i.s.c;h<=i.e.c;++h){u===i.s.r&&(s[h]=qt(h)),a=s[h]+o;var d=l?(t[u]||[])[h]:t[a];f=!!d&&tl(e,d,u,h,r,t,f)}}Dt(e,"BrtEndSheetData")}(a,o,0,t),sl(a,o),function(e,t,n,r){if(t["!autofilter"]){var a=t["!autofilter"],i="string"==typeof a.ref?a.ref:Yt(a.ref);n.Workbook||(n.Workbook={Sheets:[]}),n.Workbook.Names||(n.Workbook.Names=[]);var o=n.Workbook.Names,s=$t(i);s.s.r==s.e.r&&(s.e.r=$t(t["!ref"]).e.r,i=Yt(s));for(var l=0;l<o.length;++l){var c=o[l];if("_xlnm._FilterDatabase"==c.Name&&c.Sheet==r){c.Ref="'"+n.SheetNames[r]+"'!"+i;break}}l==o.length&&o.push({Name:"_xlnm._FilterDatabase",Sheet:r,Ref:"'"+n.SheetNames[r]+"'!"+i}),Dt(e,"BrtBeginAFilter",kn(Kt(i))),Dt(e,"BrtEndAFilter")}}(a,o,n,e),nl(a,o),il(a,o,r),o["!margins"]&&Dt(a,"BrtMargins",function(e,t){return null==t&&(t=Ot(48)),ks(e),el.forEach(function(n){Cn(e[n],t)}),t}(o["!margins"])),t&&!t.ignoreEC&&null!=t.ignoreEC||al(a,o),function(e,t,n,r){if(t["!comments"].length>0){var a=nr(r,-1,"../drawings/vmlDrawing"+(n+1)+".vml",Kn.VML);Dt(e,"BrtLegacyDrawing",wn("rId"+a)),t["!legacy"]=a}}(a,o,e,r),Dt(a,"BrtEndSheet"),a.end()}function cl(e,t,n,r,a,i){var o=i||{"!type":"chart"};if(!e)return i;var s=0,l=0,c="A",u={s:{r:2e6,c:2e6},e:{r:0,c:0}};return(e.match(/<c:numCache>[\s\S]*?<\/c:numCache>/gm)||[]).forEach(function(e){var t=function(e){var t,n=[],r=e.match(/^<c:numCache>/);(e.match(/<c:pt idx="(\d*)">(.*?)<\/c:pt>/gm)||[]).forEach(function(e){var t=e.match(/<c:pt idx="(\d*?)"><c:v>(.*)<\/c:v><\/c:pt>/);t&&(n[+t[1]]=r?+t[2]:t[2])});var a=ke((e.match(/<c:formatCode>([\s\S]*?)<\/c:formatCode>/)||["","General"])[1]);return(e.match(/<c:f>(.*?)<\/c:f>/gm)||[]).forEach(function(e){t=e.replace(/<.*?>/g,"")}),[n,a,t]}(e);u.s.r=u.s.c=0,u.e.c=s,c=qt(s),t[0].forEach(function(e,n){o[c+Ht(n)]={t:"n",v:e,z:t[1]},l=n}),u.e.r<l&&(u.e.r=l),++s}),s>0&&(o["!ref"]=Yt(u)),o}Kn.CHART="http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",Kn.CHARTEX="http://schemas.microsoft.com/office/2014/relationships/chartEx",Kn.CS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet";Ye("chartsheet",null,{xmlns:Je.main[0],"xmlns:r":Je.r});var ul=[["allowRefreshQuery",!1,"bool"],["autoCompressPictures",!0,"bool"],["backupFile",!1,"bool"],["checkCompatibility",!1,"bool"],["CodeName",""],["date1904",!1,"bool"],["defaultThemeVersion",0,"int"],["filterPrivacy",!1,"bool"],["hidePivotFieldList",!1,"bool"],["promptedSolutions",!1,"bool"],["publishItems",!1,"bool"],["refreshAllConnections",!1,"bool"],["saveExternalLinkValues",!0,"bool"],["showBorderUnselectedTables",!0,"bool"],["showInkAnnotation",!0,"bool"],["showObjects","all"],["showPivotChartFilter",!1,"bool"],["updateLinks","userSet"]],fl=[["activeTab",0,"int"],["autoFilterDateGrouping",!0,"bool"],["firstSheet",0,"int"],["minimized",!1,"bool"],["showHorizontalScroll",!0,"bool"],["showSheetTabs",!0,"bool"],["showVerticalScroll",!0,"bool"],["tabRatio",600,"int"],["visibility","visible"]],hl=[],dl=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function pl(e,t){for(var n=0;n!=e.length;++n)for(var r=e[n],a=0;a!=t.length;++a){var i=t[a];if(null==r[i[0]])r[i[0]]=i[1];else switch(i[2]){case"bool":"string"==typeof r[i[0]]&&(r[i[0]]=Oe(r[i[0]]));break;case"int":"string"==typeof r[i[0]]&&(r[i[0]]=parseInt(r[i[0]],10))}}}function gl(e,t){for(var n=0;n!=t.length;++n){var r=t[n];if(null==e[r[0]])e[r[0]]=r[1];else switch(r[2]){case"bool":"string"==typeof e[r[0]]&&(e[r[0]]=Oe(e[r[0]]));break;case"int":"string"==typeof e[r[0]]&&(e[r[0]]=parseInt(e[r[0]],10))}}}function ml(e){gl(e.WBProps,ul),gl(e.CalcPr,dl),pl(e.WBView,fl),pl(e.Sheets,hl),Ss.date1904=Oe(e.WBProps.date1904)}var vl="][*?/\\".split("");function bl(e,t){if(e.length>31){if(t)return!1;throw new Error("Sheet names cannot exceed 31 chars")}var n=!0;return vl.forEach(function(r){if(-1!=e.indexOf(r)){if(!t)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");n=!1}}),n}function yl(e){if(!e||!e.SheetNames||!e.Sheets)throw new Error("Invalid Workbook");if(!e.SheetNames.length)throw new Error("Workbook is empty");var t=e.Workbook&&e.Workbook.Sheets||[];!function(e,t,n){e.forEach(function(r,a){bl(r);for(var i=0;i<a;++i)if(r==e[i])throw new Error("Duplicate Sheet Name: "+r);if(n){var o=t&&t[a]&&t[a].CodeName||r;if(95==o.charCodeAt(0)&&o.length>22)throw new Error("Bad Code Name: Worksheet"+o)}})}(e.SheetNames,t,!!e.vbaraw);for(var n=0;n<e.SheetNames.length;++n)Ts(e.Sheets[e.SheetNames[n]],e.SheetNames[n],n)}var wl=/<\w+:workbook/;var Sl=Ye("workbook",null,{xmlns:Je.main[0],"xmlns:r":Je.r});function xl(e,t){return t||(t=Ot(127)),t._W(4,e.Hidden),t._W(4,e.iTabID),wn(e.strRelID,t),an(e.name.slice(0,31),t),t.length>t.l?t.slice(0,t.l):t}function El(e,t){var n={};return e._R(4),n.ArchID=e._R(4),e.l+=t-8,n}function _l(t,n){n||(n=Ot(127));for(var r=0;4!=r;++r)n._W(4,0);return an("SheetJS",n),an(e.version,n),an(e.version,n),an("7262",n),n.length>n.l?n.slice(0,n.l):n}function kl(e,t){if(t.Workbook&&t.Workbook.Sheets){for(var n=t.Workbook.Sheets,r=0,a=-1,i=-1;r<n.length;++r)!n[r]||!n[r].Hidden&&-1==a?a=r:1==n[r].Hidden&&-1==i&&(i=r);i>a||(Dt(e,"BrtBeginBookViews"),Dt(e,"BrtBookView",function(e,t){return t||(t=Ot(29)),t._W(-4,0),t._W(-4,460),t._W(4,28800),t._W(4,17600),t._W(4,500),t._W(4,e),t._W(4,e),t._W(1,120),t.length>t.l?t.slice(0,t.l):t}(a)),Dt(e,"BrtEndBookViews"))}}function Al(e,t){var n=Ft();return Dt(n,"BrtBeginBook"),Dt(n,"BrtFileVersion",_l()),Dt(n,"BrtWbProp",function(e,t){t||(t=Ot(72));var n=0;return e&&e.filterPrivacy&&(n|=8),t._W(4,n),t._W(4,0),gn(e&&e.CodeName||"ThisWorkbook",t),t.slice(0,t.l)}(e.Workbook&&e.Workbook.WBProps||null)),kl(n,e),function(e,t){Dt(e,"BrtBeginBundleShs");for(var n=0;n!=t.SheetNames.length;++n)Dt(e,"BrtBundleSh",xl({Hidden:t.Workbook&&t.Workbook.Sheets&&t.Workbook.Sheets[n]&&t.Workbook.Sheets[n].Hidden||0,iTabID:n+1,strRelID:"rId"+(n+1),name:t.SheetNames[n]}));Dt(e,"BrtEndBundleShs")}(n,e),Dt(n,"BrtEndBook"),n.end()}function Cl(e,t,n){return".bin"===t.slice(-4)?function(e,t){var n={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""},r=[],a=!1;t||(t={}),t.biff=12;var i=[],o=[[]];return o.SheetNames=[],o.XTI=[],hc[16]={n:"BrtFRTArchID$",f:El},Pt(e,function(e,s,l){switch(l){case 156:o.SheetNames.push(e.name),n.Sheets.push(e);break;case 153:n.WBProps=e;break;case 39:null!=e.Sheet&&(t.SID=e.Sheet),e.Ref=ns(e.Ptg,0,null,o,t),delete t.SID,delete e.Ptg,i.push(e);break;case 1036:break;case 357:case 358:case 355:case 667:o[0].length?o.push([l,e]):o[0]=[l,e],o[o.length-1].XTI=[];break;case 362:0===o.length&&(o[0]=[],o[0].XTI=[]),o[o.length-1].XTI=o[o.length-1].XTI.concat(e),o.XTI=o.XTI.concat(e);break;case 361:break;case 2071:case 158:case 143:case 664:case 353:break;case 3072:case 3073:case 534:case 677:case 157:case 610:case 2050:case 155:case 548:case 676:case 128:case 665:case 2128:case 2125:case 549:case 2053:case 596:case 2076:case 2075:case 2082:case 397:case 154:case 1117:case 553:case 2091:break;case 35:r.push(s),a=!0;break;case 36:r.pop(),a=!1;break;case 37:r.push(s),a=!0;break;case 38:r.pop(),a=!1;break;case 16:break;default:if((s||"").indexOf("Begin")>0);else if((s||"").indexOf("End")>0);else if(!a||t.WTF&&"BrtACBegin"!=r[r.length-1]&&"BrtFRTBegin"!=r[r.length-1])throw new Error("Unexpected record "+l+" "+s)}},t),ml(n),n.Names=i,n.supbooks=o,n}(e,n):function(e,t){if(!e)throw new Error("Could not find file");var n={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},Names:[],xmlns:""},r=!1,a="xmlns",i={},o=0;if(e.replace(be,function(s,l){var c=Se(s);switch(xe(c[0])){case"<?xml":break;case"<workbook":s.match(wl)&&(a="xmlns"+s.match(/<(\w+):/)[1]),n.xmlns=c[a];break;case"</workbook>":break;case"<fileVersion":delete c[0],n.AppVersion=c;break;case"<fileVersion/>":case"</fileVersion>":case"<fileSharing":case"<fileSharing/>":break;case"<workbookPr":case"<workbookPr/>":ul.forEach(function(e){if(null!=c[e[0]])switch(e[2]){case"bool":n.WBProps[e[0]]=Oe(c[e[0]]);break;case"int":n.WBProps[e[0]]=parseInt(c[e[0]],10);break;default:n.WBProps[e[0]]=c[e[0]]}}),c.codeName&&(n.WBProps.CodeName=Pe(c.codeName));break;case"</workbookPr>":case"<workbookProtection":case"<workbookProtection/>":break;case"<bookViews":case"<bookViews>":case"</bookViews>":break;case"<workbookView":case"<workbookView/>":delete c[0],n.WBView.push(c);break;case"</workbookView>":break;case"<sheets":case"<sheets>":case"</sheets>":break;case"<sheet":switch(c.state){case"hidden":c.Hidden=1;break;case"veryHidden":c.Hidden=2;break;default:c.Hidden=0}delete c.state,c.name=ke(Pe(c.name)),delete c[0],n.Sheets.push(c);break;case"</sheet>":break;case"<functionGroups":case"<functionGroups/>":case"<functionGroup":break;case"<externalReferences":case"</externalReferences>":case"<externalReferences>":case"<externalReference":case"<definedNames/>":break;case"<definedNames>":case"<definedNames":r=!0;break;case"</definedNames>":r=!1;break;case"<definedName":(i={}).Name=Pe(c.name),c.comment&&(i.Comment=c.comment),c.localSheetId&&(i.Sheet=+c.localSheetId),Oe(c.hidden||"0")&&(i.Hidden=!0),o=l+s.length;break;case"</definedName>":i.Ref=ke(Pe(e.slice(o,l))),n.Names.push(i);break;case"<definedName/>":break;case"<calcPr":case"<calcPr/>":delete c[0],n.CalcPr=c;break;case"</calcPr>":case"<oleSize":break;case"<customWorkbookViews>":case"</customWorkbookViews>":case"<customWorkbookViews":break;case"<customWorkbookView":case"</customWorkbookView>":break;case"<pivotCaches>":case"</pivotCaches>":case"<pivotCaches":case"<pivotCache":break;case"<smartTagPr":case"<smartTagPr/>":break;case"<smartTagTypes":case"<smartTagTypes>":case"</smartTagTypes>":case"<smartTagType":break;case"<webPublishing":case"<webPublishing/>":break;case"<fileRecoveryPr":case"<fileRecoveryPr/>":break;case"<webPublishObjects>":case"<webPublishObjects":case"</webPublishObjects>":case"<webPublishObject":break;case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<ext":r=!0;break;case"</ext>":r=!1;break;case"<ArchID":break;case"<AlternateContent":case"<AlternateContent>":r=!0;break;case"</AlternateContent>":r=!1;break;case"<revisionPtr":break;default:if(!r&&t.WTF)throw new Error("unrecognized "+c[0]+" in workbook")}return s}),-1===Je.main.indexOf(n.xmlns))throw new Error("Unknown Namespace: "+n.xmlns);return ml(n),n}(e,n)}function Tl(e,t,n,r,a,i,o,s){return".bin"===t.slice(-4)?function(e,t,n,r,a,i,o){if(!e)return e;var s=t||{};r||(r={"!id":{}}),null!=d&&null==s.dense&&(s.dense=d);var l,c,u,f,h,p,g,m,v,b,y=s.dense?[]:{},w={s:{r:2e6,c:2e6},e:{r:0,c:0}},S=[],x=!1,E=!1,_=[];s.biff=12,s["!row"]=0;var k=0,A=!1,C=[],R={},N=s.supbooks||a.supbooks||[[]];if(N.sharedf=R,N.arrayf=C,N.SheetNames=a.SheetNames||a.Sheets.map(function(e){return e.name}),!s.supbooks&&(s.supbooks=N,a.Names))for(var B=0;B<a.Names.length;++B)N[0][B+1]=a.Names[B];var I=[],L=[],O=!1;if(hc[16]={n:"BrtShortReal",f:Js},Pt(e,function(e,t,d){if(!E)switch(d){case 148:l=e;break;case 0:c=e,s.sheetRows&&s.sheetRows<=c.r&&(E=!0),v=Ht(h=c.r),s["!row"]=c.r,(e.hidden||e.hpt||null!=e.level)&&(e.hpt&&(e.hpx=Ri(e.hpt)),L[e.r]=e);break;case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 13:case 14:case 15:case 16:case 17:case 18:switch(u={t:e[2]},e[2]){case"n":u.v=e[1];break;case"s":m=ws[e[1]],u.v=m.t,u.r=m.r;break;case"b":u.v=!!e[1];break;case"e":u.v=e[1],!1!==s.cellText&&(u.w=Hn[u.v]);break;case"str":u.t="s",u.v=e[1]}if((f=o.CellXf[e[0].iStyleRef])&&Cs(u,f.numFmtId,null,s,i,o),p=-1==e[0].c?p+1:e[0].c,s.dense?(y[h]||(y[h]=[]),y[h][p]=u):y[qt(p)+v]=u,s.cellFormula){for(A=!1,k=0;k<C.length;++k){var B=C[k];c.r>=B[0].s.r&&c.r<=B[0].e.r&&p>=B[0].s.c&&p<=B[0].e.c&&(u.F=Yt(B[0]),A=!0)}!A&&e.length>3&&(u.f=e[3])}if(w.s.r>c.r&&(w.s.r=c.r),w.s.c>p&&(w.s.c=p),w.e.r<c.r&&(w.e.r=c.r),w.e.c<p&&(w.e.c=p),s.cellDates&&f&&"n"==u.t&&T.is_date(T._table[f.numFmtId])){var P=T.parse_date_code(u.v);P&&(u.t="d",u.v=new Date(P.y,P.m-1,P.d,P.H,P.M,P.S,P.u))}break;case 1:case 12:if(!s.sheetStubs||x)break;u={t:"z",v:void 0},p=-1==e[0].c?p+1:e[0].c,s.dense?(y[h]||(y[h]=[]),y[h][p]=u):y[qt(p)+v]=u,w.s.r>c.r&&(w.s.r=c.r),w.s.c>p&&(w.s.c=p),w.e.r<c.r&&(w.e.r=c.r),w.e.c<p&&(w.e.c=p);break;case 176:_.push(e);break;case 494:var F=r["!id"][e.relId];for(F?(e.Target=F.Target,e.loc&&(e.Target+="#"+e.loc),e.Rel=F):""==e.relId&&(e.Target="#"+e.loc),h=e.rfx.s.r;h<=e.rfx.e.r;++h)for(p=e.rfx.s.c;p<=e.rfx.e.c;++p)s.dense?(y[h]||(y[h]=[]),y[h][p]||(y[h][p]={t:"z",v:void 0}),y[h][p].l=e):(g=Xt({c:p,r:h}),y[g]||(y[g]={t:"z",v:void 0}),y[g].l=e);break;case 426:if(!s.cellFormula)break;C.push(e),(b=s.dense?y[h][p]:y[qt(p)+v]).f=ns(e[1],0,{r:c.r,c:p},N,s),b.F=Yt(e[0]);break;case 427:if(!s.cellFormula)break;R[Xt(e[0].s)]=e[1],(b=s.dense?y[h][p]:y[qt(p)+v]).f=ns(e[1],0,{r:c.r,c:p},N,s);break;case 60:if(!s.cellStyles)break;for(;e.e>=e.s;)I[e.e--]={width:e.w/256,hidden:!!(1&e.flags),level:e.level},O||(O=!0,ki(e.w/256)),Ai(I[e.e+1]);break;case 161:y["!autofilter"]={ref:Yt(e)};break;case 476:y["!margins"]=e;break;case 147:a.Sheets[n]||(a.Sheets[n]={}),e.name&&(a.Sheets[n].CodeName=e.name),(e.above||e.left)&&(y["!outline"]={above:e.above,left:e.left});break;case 137:a.Views||(a.Views=[{}]),a.Views[0]||(a.Views[0]={}),e.RTL&&(a.Views[0].RTL=!0);break;case 485:break;case 64:case 1053:case 151:break;case 152:case 175:case 644:case 625:case 562:case 396:case 1112:case 1146:case 471:case 1050:case 649:case 1105:case 49:case 589:case 607:case 564:case 1055:case 168:case 174:case 1180:case 499:case 507:case 550:case 171:case 167:case 1177:case 169:case 1181:case 551:case 552:case 661:case 639:case 478:case 537:case 477:case 536:case 1103:case 680:case 1104:case 1024:case 663:case 535:case 678:case 504:case 1043:case 428:case 170:case 3072:case 50:case 2070:case 1045:break;case 35:x=!0;break;case 36:x=!1;break;case 37:S.push(t),x=!0;break;case 38:S.pop(),x=!1;break;default:if((t||"").indexOf("Begin")>0);else if((t||"").indexOf("End")>0);else if(!x||s.WTF)throw new Error("Unexpected record "+d+" "+t)}},s),delete s.supbooks,delete s["!row"],!y["!ref"]&&(w.s.r<2e6||l&&(l.e.r>0||l.e.c>0||l.s.r>0||l.s.c>0))&&(y["!ref"]=Yt(l||w)),s.sheetRows&&y["!ref"]){var P=Kt(y["!ref"]);s.sheetRows<=+P.e.r&&(P.e.r=s.sheetRows-1,P.e.r>w.e.r&&(P.e.r=w.e.r),P.e.r<P.s.r&&(P.s.r=P.e.r),P.e.c>w.e.c&&(P.e.c=w.e.c),P.e.c<P.s.c&&(P.s.c=P.e.c),y["!fullref"]=y["!ref"],y["!ref"]=Yt(P))}return _.length>0&&(y["!merges"]=_),I.length>0&&(y["!cols"]=I),L.length>0&&(y["!rows"]=L),y}(e,r,n,a,i,o,s):js(e,r,n,a,i,o,s)}function Rl(e,t,n,r,a,i,o,s){return".bin"===t.slice(-4)?function(e,t,n,r,a){if(!e)return e;r||(r={"!id":{}});var i={"!type":"chart","!drawel":null,"!rel":""},o=[],s=!1;return Pt(e,function(e,r,l){switch(l){case 550:i["!rel"]=e;break;case 651:a.Sheets[n]||(a.Sheets[n]={}),e.name&&(a.Sheets[n].CodeName=e.name);break;case 562:case 652:case 669:case 679:case 551:case 552:case 476:case 3072:break;case 35:s=!0;break;case 36:s=!1;break;case 37:o.push(r);break;case 38:o.pop();break;default:if((r||"").indexOf("Begin")>0)o.push(r);else if((r||"").indexOf("End")>0)o.pop();else if(!s||t.WTF)throw new Error("Unexpected record "+l+" "+r)}},t),r["!id"][i["!rel"]]&&(i["!drawel"]=r["!id"][i["!rel"]]),i}(e,r,n,a,i):function(e,t,n,r,a){if(!e)return e;r||(r={"!id":{}});var i,o={"!type":"chart","!drawel":null,"!rel":""},s=e.match(Fs);return s&&Ws(s[0],0,a,n),(i=e.match(/drawing r:id="(.*?)"/))&&(o["!rel"]=i[1]),r["!id"][o["!rel"]]&&(o["!drawel"]=r["!id"][o["!rel"]]),o}(e,0,n,a,i)}function Nl(e,t,n,r){return".bin"===t.slice(-4)?function(e,t,n){var r={NumberFmt:[]};for(var a in T._table)r.NumberFmt[a]=T._table[a];r.CellXf=[],r.Fonts=[];var i=[],o=!1;return Pt(e,function(e,a,s){switch(s){case 44:r.NumberFmt[e[0]]=e[1],T.load(e[1],e[0]);break;case 43:r.Fonts.push(e),null!=e.color.theme&&t&&t.themeElements&&t.themeElements.clrScheme&&(e.color.rgb=mi(t.themeElements.clrScheme[e.color.theme].rgb,e.color.tint||0));break;case 1025:case 45:case 46:break;case 47:"BrtBeginCellXFs"==i[i.length-1]&&r.CellXf.push(e);break;case 48:case 507:case 572:case 475:break;case 1171:case 2102:case 1130:case 512:case 2095:case 3072:break;case 35:o=!0;break;case 36:o=!1;break;case 37:i.push(a),o=!0;break;case 38:i.pop(),o=!1;break;default:if((a||"").indexOf("Begin")>0)i.push(a);else if((a||"").indexOf("End")>0)i.pop();else if(!o||n.WTF&&"BrtACBegin"!=i[i.length-1])throw new Error("Unexpected record "+s+" "+a)}}),r}(e,n,r):Oi(e,n,r)}function Bl(e,t,n){return".bin"===t.slice(-4)?function(e,t){var n=[],r=!1;return Pt(e,function(e,a,i){switch(i){case 159:n.Count=e[0],n.Unique=e[1];break;case 19:n.push(e);break;case 160:return!0;case 35:r=!0;break;case 36:r=!1;break;default:if(a.indexOf("Begin")>0||a.indexOf("End"),!r||t.WTF)throw new Error("Unexpected record "+i+" "+a)}}),n}(e,n):function(e,t){var n=[],r="";if(!e)return n;var a=e.match(Ya);if(a){r=a[2].replace(Ka,"").split(Ja);for(var i=0;i!=r.length;++i){var o=$a(r[i].trim(),t);null!=o&&(n[n.length]=o)}a=Se(a[1]),n.Count=a.count,n.Unique=a.uniqueCount}return n}(e,n)}function Il(e,t,n){return".bin"===t.slice(-4)?function(e,t){var n=[],r=[],a={},i=!1;return Pt(e,function(e,o,s){switch(s){case 632:r.push(e);break;case 635:a=e;break;case 637:a.t=e.t,a.h=e.h,a.r=e.r;break;case 636:if(a.author=r[a.iauthor],delete a.iauthor,t.sheetRows&&a.rfx&&t.sheetRows<=a.rfx.r)break;a.t||(a.t=""),delete a.rfx,n.push(a);break;case 3072:break;case 35:i=!0;break;case 36:i=!1;break;case 37:case 38:break;default:if((o||"").indexOf("Begin")>0);else if((o||"").indexOf("End")>0);else if(!i||t.WTF)throw new Error("Unexpected record "+s+" "+o)}}),n}(e,n):function(e,t){if(e.match(/<(?:\w+:)?comments *\/>/))return[];var n=[],r=[],a=e.match(/<(?:\w+:)?authors>([\s\S]*)<\/(?:\w+:)?authors>/);a&&a[1]&&a[1].split(/<\/\w*:?author>/).forEach(function(e){if(""!==e&&""!==e.trim()){var t=e.match(/<(?:\w+:)?author[^>]*>(.*)/);t&&n.push(t[1])}});var i=e.match(/<(?:\w+:)?commentList>([\s\S]*)<\/(?:\w+:)?commentList>/);return i&&i[1]&&i[1].split(/<\/\w*:?comment>/).forEach(function(e){if(""!==e&&""!==e.trim()){var a=e.match(/<(?:\w+:)?comment[^>]*>/);if(a){var i=Se(a[0]),o={author:i.authorId&&n[i.authorId]||"sheetjsghost",ref:i.ref,guid:i.guid},s=Gt(i.ref);if(!(t.sheetRows&&t.sheetRows<=s.r)){var l=e.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/),c=!!l&&!!l[1]&&$a(l[1])||{r:"",t:"",h:""};o.r=c.r,"<t></t>"==c.r&&(c.t=c.h=""),o.t=(c.t||"").replace(/\r\n/g,"\n").replace(/\r/g,"\n"),t.cellHTML&&(o.h=c.h),r.push(o)}}}}),r}(e,n)}function Ll(e,t,n){return".bin"===t.slice(-4)?function(e,t,n){var r=[];return Pt(e,function(e,t,n){switch(n){case 63:r.push(e);break;default:if((t||"").indexOf("Begin")>0);else if(!((t||"").indexOf("End")>0))throw new Error("Unexpected record "+n+" "+t)}}),r}(e):function(e){var t=[];if(!e)return t;var n=1;return(e.match(be)||[]).forEach(function(e){var r=Se(e);switch(r[0]){case"<?xml":break;case"<calcChain":case"<calcChain>":case"</calcChain>":break;case"<c":delete r[0],r.i?n=r.i:r.i=n,t.push(r)}}),t}(e)}function Ol(e,t,n,r){if(".bin"===n.slice(-4))return function(e,t,n,r){if(!e)return e;var a=r||{},i=!1;Pt(e,function(e,t,n){switch(n){case 359:case 363:case 364:case 366:case 367:case 368:case 369:case 370:case 371:case 472:case 577:case 578:case 579:case 580:case 581:case 582:case 583:case 584:case 585:case 586:case 587:break;case 35:i=!0;break;case 36:i=!1;break;default:if((t||"").indexOf("Begin")>0);else if((t||"").indexOf("End")>0);else if(!i||a.WTF)throw new Error("Unexpected record "+n.toString(16)+" "+t)}},a)}(e,0,0,r)}function Pl(e,t,n){return(".bin"===t.slice(-4)?Al:function(e){var t=[me];t[t.length]=Sl;var n=e.Workbook&&(e.Workbook.Names||[]).length>0,r={codeName:"ThisWorkbook"};e.Workbook&&e.Workbook.WBProps&&(ul.forEach(function(t){null!=e.Workbook.WBProps[t[0]]&&e.Workbook.WBProps[t[0]]!=t[1]&&(r[t[0]]=e.Workbook.WBProps[t[0]])}),e.Workbook.WBProps.CodeName&&(r.codeName=e.Workbook.WBProps.CodeName,delete r.CodeName)),t[t.length]=Ye("workbookPr",null,r);var a=e.Workbook&&e.Workbook.Sheets||[],i=0;if(a&&a[0]&&a[0].Hidden){for(t[t.length]="<bookViews>",i=0;i!=e.SheetNames.length&&a[i]&&a[i].Hidden;++i);i==e.SheetNames.length&&(i=0),t[t.length]='<workbookView firstSheet="'+i+'" activeTab="'+i+'"/>',t[t.length]="</bookViews>"}for(t[t.length]="<sheets>",i=0;i!=e.SheetNames.length;++i){var o={name:Te(e.SheetNames[i].slice(0,31))};if(o.sheetId=""+(i+1),o["r:id"]="rId"+(i+1),a[i])switch(a[i].Hidden){case 1:o.state="hidden";break;case 2:o.state="veryHidden"}t[t.length]=Ye("sheet",null,o)}return t[t.length]="</sheets>",n&&(t[t.length]="<definedNames>",e.Workbook&&e.Workbook.Names&&e.Workbook.Names.forEach(function(e){var n={name:e.Name};e.Comment&&(n.comment=e.Comment),null!=e.Sheet&&(n.localSheetId=""+e.Sheet),e.Hidden&&(n.hidden="1"),e.Ref&&(t[t.length]=Ye("definedName",Te(e.Ref),n))}),t[t.length]="</definedNames>"),t.length>2&&(t[t.length]="</workbook>",t[1]=t[1].replace("/>",">")),t.join("")})(e,n)}function Fl(e,t,n,r,a){return(".bin"===t.slice(-4)?ll:Xs)(e,n,r,a)}function Dl(e,t,n){return(".bin"===t.slice(-4)?ei:function(e,t){if(!t.bookSST)return"";var n=[me];n[n.length]=Ye("sst",null,{xmlns:Je.main[0],count:e.Count,uniqueCount:e.Unique});for(var r=0;r!=e.length;++r)if(null!=e[r]){var a=e[r],i="<si>";a.r?i+=a.r:(i+="<t",a.t||(a.t=""),a.t.match(Za)&&(i+=' xml:space="preserve"'),i+=">"+Te(a.t)+"</t>"),i+="</si>",n[n.length]=i}return n.length>2&&(n[n.length]="</sst>",n[1]=n[1].replace("/>",">")),n.join("")})(e,n)}function Ml(e,t,n){return(".bin"===t.slice(-4)?ho:function(e){var t=[me,uo],n=[];return t.push("<authors>"),e.forEach(function(e){e[1].forEach(function(e){var r=Te(e.a);n.indexOf(r)>-1||(n.push(r),t.push("<author>"+r+"</author>"))})}),t.push("</authors>"),t.push("<commentList>"),e.forEach(function(e){e[1].forEach(function(r){t.push('<comment ref="'+e[0]+'" authorId="'+n.indexOf(Te(r.a))+'"><text>'),t.push(Xe("t",null==r.t?"":Te(r.t))),t.push("</text></comment>")})}),t.push("</commentList>"),t.length>2&&(t[t.length]="</comments>",t[1]=t[1].replace("/>",">")),t.join("")})(e,n)}var jl=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g,Wl=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/;function Ul(e,t){var n=e.split(/\s+/),r=[];if(t||(r[0]=n[0]),1===n.length)return r;var a,i,o,s=e.match(jl);if(s)for(o=0;o!=s.length;++o)-1===(i=(a=s[o].match(Wl))[1].indexOf(":"))?r[a[1]]=a[2].slice(1,a[2].length-1):r["xmlns:"===a[1].slice(0,6)?"xmlns"+a[1].slice(6):a[1].slice(i+1)]=a[2].slice(1,a[2].length-1);return r}function zl(e){var t={};if(1===e.split(/\s+/).length)return t;var n,r,a,i=e.match(jl);if(i)for(a=0;a!=i.length;++a)-1===(r=(n=i[a].match(Wl))[1].indexOf(":"))?t[n[1]]=n[2].slice(1,n[2].length-1):t["xmlns:"===n[1].slice(0,6)?"xmlns"+n[1].slice(6):n[1].slice(r+1)]=n[2].slice(1,n[2].length-1);return t}function Hl(e,t,n,r){var a=r;switch((n[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]){case"boolean":a=Oe(r);break;case"i2":case"int":a=parseInt(r,10);break;case"r4":case"float":a=parseFloat(r);break;case"date":case"dateTime.tz":a=Z(r);break;case"i8":case"string":case"fixed":case"uuid":case"bin.base64":break;default:throw new Error("bad custprop:"+n[0])}e[ke(t)]=a}function Vl(e,t,n){if("z"!==e.t){if(!n||!1!==n.cellText)try{"e"===e.t?e.w=e.w||Hn[e.v]:"General"===t?"n"===e.t?(0|e.v)===e.v?e.w=T._general_int(e.v):e.w=T._general_num(e.v):e.w=T._general(e.v):e.w=function(e,t){var n=N[e]||ke(e);return"General"===n?T._general(t):T.format(n,t)}(t||"General",e.v)}catch(e){if(n.WTF)throw e}try{var r=N[t]||t||"General";if(n.cellNF&&(e.z=r),n.cellDates&&"n"==e.t&&T.is_date(r)){var a=T.parse_date_code(e.v);a&&(e.t="d",e.v=new Date(a.y,a.m-1,a.d,a.H,a.M,a.S,a.u))}}catch(e){if(n.WTF)throw e}}}function ql(e,t,n){if(n.cellStyles&&t.Interior){var r=t.Interior;r.Pattern&&(r.patternType=Ni[r.Pattern]||r.Pattern)}e[t.ID]=t}function Gl(e,t,n,r,a,i,o,s,l,c){var u="General",f=r.StyleID,h={};c=c||{};var d=[],p=0;for(void 0===f&&s&&(f=s.StyleID),void 0===f&&o&&(f=o.StyleID);void 0!==i[f]&&(i[f].nf&&(u=i[f].nf),i[f].Interior&&d.push(i[f].Interior),i[f].Parent);)f=i[f].Parent;switch(n.Type){case"Boolean":r.t="b",r.v=Oe(e);break;case"String":r.t="s",r.r=Ie(ke(e)),r.v=e.indexOf("<")>-1?ke(t||e).replace(/<.*?>/g,""):r.r;break;case"DateTime":"Z"!=e.slice(-1)&&(e+="Z"),r.v=(Z(e)-new Date(Date.UTC(1899,11,30)))/864e5,r.v!=r.v?r.v=ke(e):r.v<60&&(r.v=r.v-1),u&&"General"!=u||(u="yyyy-mm-dd");case"Number":void 0===r.v&&(r.v=+e),r.t||(r.t="n");break;case"Error":r.t="e",r.v=Vn[e],!1!==c.cellText&&(r.w=e);break;default:""==e&&""==t?r.t="z":(r.t="s",r.v=Ie(t||e))}if(Vl(r,u,c),!1!==c.cellFormula)if(r.Formula){var g=ke(r.Formula);61==g.charCodeAt(0)&&(g=g.slice(1)),r.f=mo(g,a),delete r.Formula,"RC"==r.ArrayRange?r.F=mo("RC:RC",a):r.ArrayRange&&(r.F=mo(r.ArrayRange,a),l.push([Kt(r.F),r.F]))}else for(p=0;p<l.length;++p)a.r>=l[p][0].s.r&&a.r<=l[p][0].e.r&&a.c>=l[p][0].s.c&&a.c<=l[p][0].e.c&&(r.F=l[p][1]);c.cellStyles&&(d.forEach(function(e){!h.patternType&&e.patternType&&(h.patternType=e.patternType)}),r.s=h),void 0!==r.StyleID&&(r.ixfe=r.StyleID)}function Xl(e){e.t=e.v||"",e.t=e.t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),e.v=e.w=e.ixfe=void 0}function $l(e){if(m&&Buffer.isBuffer(e))return e.toString("utf8");if("string"==typeof e)return e;if("undefined"!=typeof Uint8Array&&e instanceof Uint8Array)return Pe(E(_(e)));throw new Error("Bad input format: expected Buffer or string")}var Yl=/<(\/?)([^\s?><!\/:]*:|)([^\s?<>:\/]+)(?:[\s?:\/][^>]*)?>/gm;function Kl(e,t){var n=t||{};R(T);var r=u($l(e));"binary"!=n.type&&"array"!=n.type&&"base64"!=n.type||(r="undefined"!=typeof cptable?cptable.utils.decode(65001,c(r)):Pe(r));var a,i=r.slice(0,1024).toLowerCase(),o=!1;if((1023&i.indexOf(">"))>Math.min(1023&i.indexOf(","),1023&i.indexOf(";"))){var s=ee(n);return s.type="string",Wa.to_workbook(r,s)}if(-1==i.indexOf("<?xml")&&["html","table","head","meta","script","style","div"].forEach(function(e){i.indexOf("<"+e)>=0&&(o=!0)}),o)return Ac.to_workbook(r,n);var l,f=[];null!=d&&null==n.dense&&(n.dense=d);var h,p={},g=[],m=n.dense?[]:{},v="",b={},y={},w=Ul('<Data ss:Type="String">'),S=0,x=0,E=0,_={s:{r:2e6,c:2e6},e:{r:0,c:0}},k={},A={},C="",B=0,I=[],L={},O={},P=0,F=[],D=[],M={},j=[],W=!1,U=[],z=[],H={},V=0,q=0,G={Sheets:[],WBProps:{date1904:!1}},X={};Yl.lastIndex=0,r=r.replace(/<!--([\s\S]*?)-->/gm,"");for(var $="";a=Yl.exec(r);)switch(a[3]=($=a[3]).toLowerCase()){case"data":if("data"==$){if("/"===a[1]){if((l=f.pop())[0]!==a[3])throw new Error("Bad state: "+l.join("|"))}else"/"!==a[0].charAt(a[0].length-2)&&f.push([a[3],!0]);break}if(f[f.length-1][1])break;"/"===a[1]?Gl(r.slice(S,a.index),C,w,"comment"==f[f.length-1][0]?M:b,{c:x,r:E},k,j[x],y,U,n):(C="",w=Ul(a[0]),S=a.index+a[0].length);break;case"cell":if("/"===a[1])if(D.length>0&&(b.c=D),(!n.sheetRows||n.sheetRows>E)&&void 0!==b.v&&(n.dense?(m[E]||(m[E]=[]),m[E][x]=b):m[qt(x)+Ht(E)]=b),b.HRef&&(b.l={Target:ke(b.HRef)},b.HRefScreenTip&&(b.l.Tooltip=b.HRefScreenTip),delete b.HRef,delete b.HRefScreenTip),(b.MergeAcross||b.MergeDown)&&(V=x+(0|parseInt(b.MergeAcross,10)),q=E+(0|parseInt(b.MergeDown,10)),I.push({s:{c:x,r:E},e:{c:V,r:q}})),n.sheetStubs)if(b.MergeAcross||b.MergeDown){for(var Y=x;Y<=V;++Y)for(var K=E;K<=q;++K)(Y>x||K>E)&&(n.dense?(m[K]||(m[K]=[]),m[K][Y]={t:"z"}):m[qt(Y)+Ht(K)]={t:"z"});x=V+1}else++x;else b.MergeAcross?x=V+1:++x;else(b=zl(a[0])).Index&&(x=+b.Index-1),x<_.s.c&&(_.s.c=x),x>_.e.c&&(_.e.c=x),"/>"===a[0].slice(-2)&&++x,D=[];break;case"row":"/"===a[1]||"/>"===a[0].slice(-2)?(E<_.s.r&&(_.s.r=E),E>_.e.r&&(_.e.r=E),"/>"===a[0].slice(-2)&&(y=Ul(a[0])).Index&&(E=+y.Index-1),x=0,++E):((y=Ul(a[0])).Index&&(E=+y.Index-1),H={},("0"==y.AutoFitHeight||y.Height)&&(H.hpx=parseInt(y.Height,10),H.hpt=Ti(H.hpx),z[E]=H),"1"==y.Hidden&&(H.hidden=!0,z[E]=H));break;case"worksheet":if("/"===a[1]){if((l=f.pop())[0]!==a[3])throw new Error("Bad state: "+l.join("|"));g.push(v),_.s.r<=_.e.r&&_.s.c<=_.e.c&&(m["!ref"]=Yt(_),n.sheetRows&&n.sheetRows<=_.e.r&&(m["!fullref"]=m["!ref"],_.e.r=n.sheetRows-1,m["!ref"]=Yt(_))),I.length&&(m["!merges"]=I),j.length>0&&(m["!cols"]=j),z.length>0&&(m["!rows"]=z),p[v]=m}else _={s:{r:2e6,c:2e6},e:{r:0,c:0}},E=x=0,f.push([a[3],!1]),l=Ul(a[0]),v=ke(l.Name),m=n.dense?[]:{},I=[],U=[],z=[],X={name:v,Hidden:0},G.Sheets.push(X);break;case"table":if("/"===a[1]){if((l=f.pop())[0]!==a[3])throw new Error("Bad state: "+l.join("|"))}else{if("/>"==a[0].slice(-2))break;Ul(a[0]),f.push([a[3],!1]),j=[],W=!1}break;case"style":"/"===a[1]?ql(k,A,n):A=Ul(a[0]);break;case"numberformat":A.nf=ke(Ul(a[0]).Format||"General"),N[A.nf]&&(A.nf=N[A.nf]);for(var J=0;392!=J&&T._table[J]!=A.nf;++J);if(392==J)for(J=57;392!=J;++J)if(null==T._table[J]){T.load(A.nf,J);break}break;case"column":if("table"!==f[f.length-1][0])break;if((h=Ul(a[0])).Hidden&&(h.hidden=!0,delete h.Hidden),h.Width&&(h.wpx=parseInt(h.Width,10)),!W&&h.wpx>10){W=!0,wi=vi;for(var Z=0;Z<j.length;++Z)j[Z]&&Ai(j[Z])}W&&Ai(h),j[h.Index-1||j.length]=h;for(var Q=0;Q<+h.Span;++Q)j[j.length]=ee(h);break;case"namedrange":if("/"===a[1])break;G.Names||(G.Names=[]);var te=Se(a[0]),ne={Name:te.Name,Ref:mo(te.RefersTo.slice(1),{r:0,c:0})};G.Sheets.length>0&&(ne.Sheet=G.Sheets.length-1),G.Names.push(ne);break;case"namedcell":case"b":case"i":case"u":case"s":case"em":case"h2":case"h3":case"sub":case"sup":case"span":case"alignment":case"borders":case"border":break;case"font":if("/>"===a[0].slice(-2))break;"/"===a[1]?C+=r.slice(B,a.index):B=a.index+a[0].length;break;case"interior":if(!n.cellStyles)break;A.Interior=Ul(a[0]);break;case"protection":break;case"author":case"title":case"description":case"created":case"keywords":case"subject":case"category":case"company":case"lastauthor":case"lastsaved":case"lastprinted":case"version":case"revision":case"totaltime":case"hyperlinkbase":case"manager":case"contentstatus":case"identifier":case"language":case"appname":if("/>"===a[0].slice(-2))break;"/"===a[1]?wr(L,$,r.slice(P,a.index)):P=a.index+a[0].length;break;case"paragraphs":break;case"styles":case"workbook":if("/"===a[1]){if((l=f.pop())[0]!==a[3])throw new Error("Bad state: "+l.join("|"))}else f.push([a[3],!1]);break;case"comment":if("/"===a[1]){if((l=f.pop())[0]!==a[3])throw new Error("Bad state: "+l.join("|"));Xl(M),D.push(M)}else f.push([a[3],!1]),M={a:(l=Ul(a[0])).Author};break;case"autofilter":if("/"===a[1]){if((l=f.pop())[0]!==a[3])throw new Error("Bad state: "+l.join("|"))}else if("/"!==a[0].charAt(a[0].length-2)){var re=Ul(a[0]);m["!autofilter"]={ref:mo(re.Range).replace(/\$/g,"")},f.push([a[3],!0])}break;case"name":break;case"datavalidation":if("/"===a[1]){if((l=f.pop())[0]!==a[3])throw new Error("Bad state: "+l.join("|"))}else"/"!==a[0].charAt(a[0].length-2)&&f.push([a[3],!0]);break;case"pixelsperinch":break;case"componentoptions":case"documentproperties":case"customdocumentproperties":case"officedocumentsettings":case"pivottable":case"pivotcache":case"names":case"mapinfo":case"pagebreaks":case"querytable":case"sorting":case"schema":case"conditionalformatting":case"smarttagtype":case"smarttags":case"excelworkbook":case"workbookoptions":case"worksheetoptions":if("/"===a[1]){if((l=f.pop())[0]!==a[3])throw new Error("Bad state: "+l.join("|"))}else"/"!==a[0].charAt(a[0].length-2)&&f.push([a[3],!0]);break;default:if(0==f.length&&"document"==a[3])return Ic(r,n);if(0==f.length&&"uof"==a[3])return Ic(r,n);var ae=!0;switch(f[f.length-1][0]){case"officedocumentsettings":switch(a[3]){case"allowpng":case"removepersonalinformation":case"downloadcomponents":case"locationofcomponents":case"colors":case"color":case"index":case"rgb":case"targetscreensize":case"readonlyrecommended":break;default:ae=!1}break;case"componentoptions":switch(a[3]){case"toolbar":case"hideofficelogo":case"spreadsheetautofit":case"label":case"caption":case"maxheight":case"maxwidth":case"nextsheetnumber":break;default:ae=!1}break;case"excelworkbook":switch(a[3]){case"date1904":G.WBProps.date1904=!0;break;case"windowheight":case"windowwidth":case"windowtopx":case"windowtopy":case"tabratio":case"protectstructure":case"protectwindow":case"protectwindows":case"activesheet":case"displayinknotes":case"firstvisiblesheet":case"supbook":case"sheetname":case"sheetindex":case"sheetindexfirst":case"sheetindexlast":case"dll":case"acceptlabelsinformulas":case"donotsavelinkvalues":case"iteration":case"maxiterations":case"maxchange":case"path":case"xct":case"count":case"selectedsheets":case"calculation":case"uncalced":case"startupprompt":case"crn":case"externname":case"formula":case"colfirst":case"collast":case"wantadvise":case"boolean":case"error":case"text":case"ole":case"noautorecover":case"publishobjects":case"donotcalculatebeforesave":case"number":case"refmoder1c1":case"embedsavesmarttags":break;default:ae=!1}break;case"workbookoptions":switch(a[3]){case"owcversion":case"height":case"width":break;default:ae=!1}break;case"worksheetoptions":switch(a[3]){case"visible":if("/>"===a[0].slice(-2));else if("/"===a[1])switch(r.slice(P,a.index)){case"SheetHidden":X.Hidden=1;break;case"SheetVeryHidden":X.Hidden=2}else P=a.index+a[0].length;break;case"header":m["!margins"]||ks(m["!margins"]={},"xlml"),m["!margins"].header=Se(a[0]).Margin;break;case"footer":m["!margins"]||ks(m["!margins"]={},"xlml"),m["!margins"].footer=Se(a[0]).Margin;break;case"pagemargins":var ie=Se(a[0]);m["!margins"]||ks(m["!margins"]={},"xlml"),ie.Top&&(m["!margins"].top=ie.Top),ie.Left&&(m["!margins"].left=ie.Left),ie.Right&&(m["!margins"].right=ie.Right),ie.Bottom&&(m["!margins"].bottom=ie.Bottom);break;case"displayrighttoleft":G.Views||(G.Views=[]),G.Views[0]||(G.Views[0]={}),G.Views[0].RTL=!0;break;case"freezepanes":case"frozennosplit":break;case"splithorizontal":case"splitvertical":case"donotdisplaygridlines":case"activerow":case"activecol":case"toprowbottompane":case"leftcolumnrightpane":case"unsynced":case"print":case"printerrors":case"panes":case"scale":case"pane":case"number":case"layout":case"pagesetup":case"selected":case"protectobjects":case"enableselection":case"protectscenarios":case"validprinterinfo":case"horizontalresolution":case"verticalresolution":case"numberofcopies":case"activepane":case"toprowvisible":case"leftcolumnvisible":case"fittopage":case"rangeselection":case"papersizeindex":case"pagelayoutzoom":case"pagebreakzoom":case"filteron":case"fitwidth":case"fitheight":case"commentslayout":case"zoom":case"lefttoright":case"gridlines":case"allowsort":case"allowfilter":case"allowinsertrows":case"allowdeleterows":case"allowinsertcols":case"allowdeletecols":case"allowinserthyperlinks":case"allowformatcells":case"allowsizecols":case"allowsizerows":break;case"nosummaryrowsbelowdetail":m["!outline"]||(m["!outline"]={}),m["!outline"].above=!0;break;case"tabcolorindex":case"donotdisplayheadings":case"showpagelayoutzoom":break;case"nosummarycolumnsrightdetail":m["!outline"]||(m["!outline"]={}),m["!outline"].left=!0;break;case"blackandwhite":case"donotdisplayzeros":case"displaypagebreak":case"rowcolheadings":case"donotdisplayoutline":case"noorientation":case"allowusepivottables":case"zeroheight":case"viewablerange":case"selection":case"protectcontents":break;default:ae=!1}break;case"pivottable":case"pivotcache":switch(a[3]){case"immediateitemsondrop":case"showpagemultipleitemlabel":case"compactrowindent":case"location":case"pivotfield":case"orientation":case"layoutform":case"layoutsubtotallocation":case"layoutcompactrow":case"position":case"pivotitem":case"datatype":case"datafield":case"sourcename":case"parentfield":case"ptlineitems":case"ptlineitem":case"countofsameitems":case"item":case"itemtype":case"ptsource":case"cacheindex":case"consolidationreference":case"filename":case"reference":case"nocolumngrand":case"norowgrand":case"blanklineafteritems":case"hidden":case"subtotal":case"basefield":case"mapchilditems":case"function":case"refreshonfileopen":case"printsettitles":case"mergelabels":case"defaultversion":case"refreshname":case"refreshdate":case"refreshdatecopy":case"versionlastrefresh":case"versionlastupdate":case"versionupdateablemin":case"versionrefreshablemin":case"calculation":break;default:ae=!1}break;case"pagebreaks":switch(a[3]){case"colbreaks":case"colbreak":case"rowbreaks":case"rowbreak":case"colstart":case"colend":case"rowend":break;default:ae=!1}break;case"autofilter":switch(a[3]){case"autofiltercolumn":case"autofiltercondition":case"autofilterand":case"autofilteror":break;default:ae=!1}break;case"querytable":switch(a[3]){case"id":case"autoformatfont":case"autoformatpattern":case"querysource":case"querytype":case"enableredirections":case"refreshedinxl9":case"urlstring":case"htmltables":case"connection":case"commandtext":case"refreshinfo":case"notitles":case"nextid":case"columninfo":case"overwritecells":case"donotpromptforfile":case"textwizardsettings":case"source":case"number":case"decimal":case"thousandseparator":case"trailingminusnumbers":case"formatsettings":case"fieldtype":case"delimiters":case"tab":case"comma":case"autoformatname":case"versionlastedit":case"versionlastrefresh":break;default:ae=!1}break;case"datavalidation":switch(a[3]){case"range":case"type":case"min":case"max":case"sort":case"descending":case"order":case"casesensitive":case"value":case"errorstyle":case"errormessage":case"errortitle":case"inputmessage":case"inputtitle":case"combohide":case"inputhide":case"condition":case"qualifier":case"useblank":case"value1":case"value2":case"format":case"cellrangelist":break;default:ae=!1}break;case"sorting":case"conditionalformatting":switch(a[3]){case"range":case"type":case"min":case"max":case"sort":case"descending":case"order":case"casesensitive":case"value":case"errorstyle":case"errormessage":case"errortitle":case"cellrangelist":case"inputmessage":case"inputtitle":case"combohide":case"inputhide":case"condition":case"qualifier":case"useblank":case"value1":case"value2":case"format":break;default:ae=!1}break;case"mapinfo":case"schema":case"data":switch(a[3]){case"map":case"entry":case"range":case"xpath":case"field":case"xsdtype":case"filteron":case"aggregate":case"elementtype":case"attributetype":break;case"schema":case"element":case"complextype":case"datatype":case"all":case"attribute":case"extends":case"row":break;default:ae=!1}break;case"smarttags":break;default:ae=!1}if(ae)break;if(a[3].match(/!\[CDATA/))break;if(!f[f.length-1][1])throw"Unrecognized tag: "+a[3]+"|"+f.join("|");if("customdocumentproperties"===f[f.length-1][0]){if("/>"===a[0].slice(-2))break;"/"===a[1]?Hl(O,$,F,r.slice(P,a.index)):(F=a,P=a.index+a[0].length);break}if(n.WTF)throw"Unrecognized tag: "+a[3]+"|"+f.join("|")}var oe={};return n.bookSheets||n.bookProps||(oe.Sheets=p),oe.SheetNames=g,oe.Workbook=G,oe.SSF=T.get_table(),oe.Props=L,oe.Custprops=O,oe}function Jl(e,t){switch(Xc(t=t||{}),t.type||"base64"){case"base64":return Kl(g.decode(e),t);case"binary":case"buffer":case"file":return Kl(e,t);case"array":return Kl(E(e),t)}}function Zl(e,t){var n=[];return e.Props&&n.push(function(e,t){var n=[];return M(br).map(function(e){for(var t=0;t<sr.length;++t)if(sr[t][1]==e)return sr[t];for(t=0;t<hr.length;++t)if(hr[t][1]==e)return hr[t];throw e}).forEach(function(r){if(null!=e[r[1]]){var a=t&&t.Props&&null!=t.Props[r[1]]?t.Props[r[1]]:e[r[1]];switch(r[2]){case"date":a=new Date(a).toISOString().replace(/\.\d*Z/,"Z")}"number"==typeof a?a=String(a):!0===a||!1===a?a=a?"1":"0":a instanceof Date&&(a=new Date(a).toISOString().replace(/\.\d*Z/,"")),n.push(Xe(br[r[1]]||r[1],a))}}),Ye("DocumentProperties",n.join(""),{xmlns:Ze.o})}(e.Props,t)),e.Custprops&&n.push(function(e,t){var n=["Worksheets","SheetNames"],r="CustomDocumentProperties",a=[];return e&&M(e).forEach(function(t){if(Object.prototype.hasOwnProperty.call(e,t)){for(var r=0;r<sr.length;++r)if(t==sr[r][1])return;for(r=0;r<hr.length;++r)if(t==hr[r][1])return;for(r=0;r<n.length;++r)if(t==n[r])return;var i=e[t],o="string";"number"==typeof i?(o="float",i=String(i)):!0===i||!1===i?(o="boolean",i=i?"1":"0"):i=String(i),a.push(Ye(Re(t),i,{"dt:dt":o}))}}),t&&M(t).forEach(function(n){if(Object.prototype.hasOwnProperty.call(t,n)&&(!e||!Object.prototype.hasOwnProperty.call(e,n))){var r=t[n],i="string";"number"==typeof r?(i="float",r=String(r)):!0===r||!1===r?(i="boolean",r=r?"1":"0"):r instanceof Date?(i="dateTime.tz",r=r.toISOString()):r=String(r),a.push(Ye(Re(n),r,{"dt:dt":i}))}}),"<"+r+' xmlns="'+Ze.o+'">'+a.join("")+"</"+r+">"}(e.Props,e.Custprops)),n.join("")}function Ql(e){return Ye("NamedRange",null,{"ss:Name":e.Name,"ss:RefersTo":"="+bo(e.Ref,{r:0,c:0})})}function ec(e,t,n,r,a,i,o){if(!e||null==e.v&&null==e.f)return"";var s={};if(e.f&&(s["ss:Formula"]="="+Te(bo(e.f,o))),e.F&&e.F.slice(0,t.length)==t){var l=Gt(e.F.slice(t.length+1));s["ss:ArrayRange"]="RC:R"+(l.r==o.r?"":"["+(l.r-o.r)+"]")+"C"+(l.c==o.c?"":"["+(l.c-o.c)+"]")}if(e.l&&e.l.Target&&(s["ss:HRef"]=Te(e.l.Target),e.l.Tooltip&&(s["x:HRefScreenTip"]=Te(e.l.Tooltip))),n["!merges"])for(var c=n["!merges"],u=0;u!=c.length;++u)c[u].s.c==o.c&&c[u].s.r==o.r&&(c[u].e.c>c[u].s.c&&(s["ss:MergeAcross"]=c[u].e.c-c[u].s.c),c[u].e.r>c[u].s.r&&(s["ss:MergeDown"]=c[u].e.r-c[u].s.r));var f="",h="";switch(e.t){case"z":if(!r.sheetStubs)return"";break;case"n":f="Number",h=String(e.v);break;case"b":f="Boolean",h=e.v?"1":"0";break;case"e":f="Error",h=Hn[e.v];break;case"d":f="DateTime",h=new Date(e.v).toISOString(),null==e.z&&(e.z=e.z||T._table[14]);break;case"s":f="String",h=function(e){return(e+"").replace(Ae,function(e){return _e[e]}).replace(Ne,function(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"})}(e.v||"")}var d=As(r.cellXfs,e,r);s["ss:StyleID"]="s"+(21+d),s["ss:Index"]=o.c+1;var p=null!=e.v?h:"",g="z"==e.t?"":'<Data ss:Type="'+f+'">'+p+"</Data>";return(e.c||[]).length>0&&(g+=function(e){return e.map(function(e){var t=Ye("ss:Data",Le(e.t||""),{xmlns:"http://www.w3.org/TR/REC-html40"});return Ye("Comment",t,{"ss:Author":e.a})}).join("")}(e.c)),Ye("Cell",g,s)}function tc(e,t){var n='<Row ss:Index="'+(e+1)+'"';return t&&(t.hpt&&!t.hpx&&(t.hpx=Ri(t.hpt)),t.hpx&&(n+=' ss:AutoFitHeight="0" ss:Height="'+t.hpx+'"'),t.hidden&&(n+=' ss:Hidden="1"')),n+">"}function nc(e,t,n){var r=[],a=n.SheetNames[e],i=n.Sheets[a],o=i?function(e,t,n,r){if(!e)return"";if(!((r||{}).Workbook||{}).Names)return"";for(var a=r.Workbook.Names,i=[],o=0;o<a.length;++o){var s=a[o];s.Sheet==n&&(s.Name.match(/^_xlfn\./)||i.push(Ql(s)))}return i.join("")}(i,0,e,n):"";return o.length>0&&r.push("<Names>"+o+"</Names>"),(o=i?function(e,t,n,r){if(!e["!ref"])return"";var a=Kt(e["!ref"]),i=e["!merges"]||[],o=0,s=[];e["!cols"]&&e["!cols"].forEach(function(e,t){Ai(e);var n=!!e.width,r=_s(t,e),a={"ss:Index":t+1};n&&(a["ss:Width"]=Si(r.width)),e.hidden&&(a["ss:Hidden"]="1"),s.push(Ye("Column",null,a))});for(var l=Array.isArray(e),c=a.s.r;c<=a.e.r;++c){for(var u=[tc(c,(e["!rows"]||[])[c])],f=a.s.c;f<=a.e.c;++f){var h=!1;for(o=0;o!=i.length;++o)if(!(i[o].s.c>f||i[o].s.r>c||i[o].e.c<f||i[o].e.r<c)){i[o].s.c==f&&i[o].s.r==c||(h=!0);break}if(!h){var d={r:c,c:f},p=Xt(d),g=l?(e[c]||[])[f]:e[p];u.push(ec(g,p,e,t,0,0,d))}}u.push("</Row>"),u.length>2&&s.push(u.join(""))}return s.join("")}(i,t):"").length>0&&r.push("<Table>"+o+"</Table>"),r.push(function(e,t,n,r){if(!e)return"";var a=[];if(e["!margins"]&&(a.push("<PageSetup>"),e["!margins"].header&&a.push(Ye("Header",null,{"x:Margin":e["!margins"].header})),e["!margins"].footer&&a.push(Ye("Footer",null,{"x:Margin":e["!margins"].footer})),a.push(Ye("PageMargins",null,{"x:Bottom":e["!margins"].bottom||"0.75","x:Left":e["!margins"].left||"0.7","x:Right":e["!margins"].right||"0.7","x:Top":e["!margins"].top||"0.75"})),a.push("</PageSetup>")),r&&r.Workbook&&r.Workbook.Sheets&&r.Workbook.Sheets[n])if(r.Workbook.Sheets[n].Hidden)a.push(Ye("Visible",1==r.Workbook.Sheets[n].Hidden?"SheetHidden":"SheetVeryHidden",{}));else{for(var i=0;i<n&&(!r.Workbook.Sheets[i]||r.Workbook.Sheets[i].Hidden);++i);i==n&&a.push("<Selected/>")}return((((r||{}).Workbook||{}).Views||[])[0]||{}).RTL&&a.push("<DisplayRightToLeft/>"),e["!protect"]&&(a.push(Xe("ProtectContents","True")),e["!protect"].objects&&a.push(Xe("ProtectObjects","True")),e["!protect"].scenarios&&a.push(Xe("ProtectScenarios","True")),null==e["!protect"].selectLockedCells||e["!protect"].selectLockedCells?null==e["!protect"].selectUnlockedCells||e["!protect"].selectUnlockedCells||a.push(Xe("EnableSelection","UnlockedCells")):a.push(Xe("EnableSelection","NoSelection")),[["formatCells","AllowFormatCells"],["formatColumns","AllowSizeCols"],["formatRows","AllowSizeRows"],["insertColumns","AllowInsertCols"],["insertRows","AllowInsertRows"],["insertHyperlinks","AllowInsertHyperlinks"],["deleteColumns","AllowDeleteCols"],["deleteRows","AllowDeleteRows"],["sort","AllowSort"],["autoFilter","AllowFilter"],["pivotTables","AllowUsePivotTables"]].forEach(function(t){e["!protect"][t[0]]&&a.push("<"+t[1]+"/>")})),0==a.length?"":Ye("WorksheetOptions",a.join(""),{xmlns:Ze.x})}(i,0,e,n)),r.join("")}function rc(e,t){t||(t={}),e.SSF||(e.SSF=T.get_table()),e.SSF&&(R(T),T.load_table(e.SSF),t.revssf=U(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF,t.cellXfs=[],As(t.cellXfs,{},{revssf:{General:0}}));var n=[];n.push(Zl(e,t)),n.push(""),n.push(""),n.push("");for(var r=0;r<e.SheetNames.length;++r)n.push(Ye("Worksheet",nc(r,t,e),{"ss:Name":Te(e.SheetNames[r])}));return n[2]=function(e,t){var n=['<Style ss:ID="Default" ss:Name="Normal"><NumberFormat/></Style>'];return t.cellXfs.forEach(function(e,t){var r=[];r.push(Ye("NumberFormat",null,{"ss:Format":Te(T._table[e.numFmtId])}));var a={"ss:ID":"s"+(21+t)};n.push(Ye("Style",r.join(""),a))}),Ye("Styles",n.join(""))}(0,t),n[3]=function(e){if(!((e||{}).Workbook||{}).Names)return"";for(var t=e.Workbook.Names,n=[],r=0;r<t.length;++r){var a=t[r];null==a.Sheet&&(a.Name.match(/^_xlfn\./)||n.push(Ql(a)))}return Ye("Names",n.join(""))}(e),me+Ye("Workbook",n.join(""),{xmlns:Ze.ss,"xmlns:o":Ze.o,"xmlns:x":Ze.x,"xmlns:ss":Ze.ss,"xmlns:dt":Ze.dt,"xmlns:html":Ze.html})}function ac(e){var t={},n=e.content;if(n.l=28,t.AnsiUserType=n._R(0,"lpstr-ansi"),t.AnsiClipboardFormat=function(e){return Rn(e,1)}(n),n.length-n.l<=4)return t;var r=n._R(4);return 0==r||r>40?t:(n.l-=4,t.Reserved1=n._R(0,"lpstr-ansi"),n.length-n.l<=4?t:1907505652!==(r=n._R(4))?t:(t.UnicodeClipboardFormat=function(e){return Rn(e,2)}(n),0==(r=n._R(4))||r>40?t:(n.l-=4,void(t.Reserved2=n._R(0,"lpwstr")))))}function ic(e,t,n,r){var a=n,i=[],o=t.slice(t.l,t.l+a);if(r&&r.enc&&r.enc.insitu&&o.length>0)switch(e.n){case"BOF":case"FilePass":case"FileLock":case"InterfaceHdr":case"RRDInfo":case"RRDHead":case"UsrExcl":case"EOF":case"BoundSheet8":break;default:r.enc.insitu(o)}i.push(o),t.l+=a;for(var s=pc[St(t,t.l)],l=0;null!=s&&"Continue"===s.n.slice(0,8);)a=St(t,t.l+2),l=t.l+4,"ContinueFrt"==s.n?l+=4:"ContinueFrt"==s.n.slice(0,11)&&(l+=12),o=t.slice(l,t.l+4+a),i.push(o),t.l+=4+a,s=pc[St(t,t.l)];var c=k(i);It(c,0);var u=0;c.lens=[];for(var f=0;f<i.length;++f)c.lens.push(u),u+=i[f].length;if(c.length<n)throw"XLS Record "+(e&&e.n||"??")+" Truncated: "+c.length+" < "+n;return e.f(c,c.length,r)}function oc(e,t,n){if("z"!==e.t&&e.XF){var r=0;try{r=e.z||e.XF.numFmtId||0,t.cellNF&&(e.z=T._table[r])}catch(e){if(t.WTF)throw e}if(!t||!1!==t.cellText)try{"e"===e.t?e.w=e.w||Hn[e.v]:0===r||"General"==r?"n"===e.t?(0|e.v)===e.v?e.w=T._general_int(e.v):e.w=T._general_num(e.v):e.w=T._general(e.v):e.w=T.format(r,e.v,{date1904:!!n,dateNF:t&&t.dateNF})}catch(e){if(t.WTF)throw e}if(t.cellDates&&r&&"n"==e.t&&T.is_date(T._table[r]||String(r))){var a=T.parse_date_code(e.v);a&&(e.t="d",e.v=new Date(a.y,a.m-1,a.d,a.H,a.M,a.S,a.u))}}}function sc(e,t,n){return{v:e,ixfe:t,t:n}}function lc(e,t){var n={opts:{}},r={};null!=d&&null==t.dense&&(t.dense=d);var a,i,o,l,c,u,f,h,p=t.dense?[]:{},g={},m={},v=null,b=[],y="",w={},S="",x={},E=[],_=!0,k=[],A=[],C={Sheets:[],WBProps:{date1904:!1},Views:[{}]},R={},N=function(e){return e<8?zn[e]:e<64&&A[e-8]||zn[e]},B=function(e,t,n){if(!(z>1)&&(n.sheetRows&&e.r>=n.sheetRows&&(_=!1),_)){if(n.cellStyles&&t.XF&&t.XF.data&&function(e,t,n){var r,a=t.XF.data;a&&a.patternType&&n&&n.cellStyles&&(t.s={},t.s.patternType=a.patternType,(r=gi(N(a.icvFore)))&&(t.s.fgColor={rgb:r}),(r=gi(N(a.icvBack)))&&(t.s.bgColor={rgb:r}))}(0,t,n),delete t.ixfe,delete t.XF,a=e,S=Xt(e),m&&m.s&&m.e||(m={s:{r:0,c:0},e:{r:0,c:0}}),e.r<m.s.r&&(m.s.r=e.r),e.c<m.s.c&&(m.s.c=e.c),e.r+1>m.e.r&&(m.e.r=e.r+1),e.c+1>m.e.c&&(m.e.c=e.c+1),n.cellFormula&&t.f)for(var r=0;r<E.length;++r)if(!(E[r][0].s.c>e.c||E[r][0].s.r>e.r||E[r][0].e.c<e.c||E[r][0].e.r<e.r)){t.F=Yt(E[r][0]),E[r][0].s.c==e.c&&E[r][0].s.r==e.r||delete t.f,t.f&&(t.f=""+ns(E[r][1],0,e,j,I));break}n.dense?(p[e.r]||(p[e.r]=[]),p[e.r][e.c]=t):p[S]=t}},I={enc:!1,sbcch:0,snames:[],sharedf:x,arrayf:E,rrtabid:[],lastuser:"",biff:8,codepage:0,winlocked:0,cellStyles:!!t&&!!t.cellStyles,WTF:!!t&&!!t.wtf};t.password&&(I.password=t.password);var L=[],O=[],P=[],F=[],D=!1,j=[];j.SheetNames=I.snames,j.sharedf=I.sharedf,j.arrayf=I.arrayf,j.names=[],j.XTI=[];var W,U="",z=0,H=0,V=[],q=[];I.codepage=1200,s(1200);for(var G=!1;e.l<e.length-1;){var X=e.l,$=e._R(2);if(0===$&&"EOF"===U)break;var Y=e.l===e.length?0:e._R(2),K=pc[$];if(K&&K.f){if(t.bookSheets&&"BoundSheet8"===U&&"BoundSheet8"!==K.n)break;if(U=K.n,2===K.r||12==K.r){var J=e._R(2);if(Y-=2,!I.enc&&J!==$&&((255&J)<<8|J>>8)!==$)throw new Error("rt mismatch: "+J+"!="+$);12==K.r&&(e.l+=10,Y-=10)}var Z={};Z="EOF"===K.n?K.f(e,Y,I):ic(K,e,Y,I);var Q=K.n;if(0==z&&"BOF"!=Q)continue;switch(Q){case"Date1904":n.opts.Date1904=C.WBProps.date1904=Z;break;case"WriteProtect":n.opts.WriteProtect=!0;break;case"FilePass":if(I.enc||(e.l=0),I.enc=Z,!t.password)throw new Error("File is password-protected");if(null==Z.valid)throw new Error("Encryption scheme unsupported");if(!Z.valid)throw new Error("Password is incorrect");break;case"WriteAccess":I.lastuser=Z;break;case"FileSharing":break;case"CodePage":var ee=Number(Z);switch(ee){case 21010:ee=1200;break;case 32768:ee=1e4;break;case 32769:ee=1252}s(I.codepage=ee),G=!0;break;case"RRTabId":I.rrtabid=Z;break;case"WinProtect":I.winlocked=Z;break;case"Template":case"BookBool":case"UsesELFs":case"MTRSettings":break;case"RefreshAll":case"CalcCount":case"CalcDelta":case"CalcIter":case"CalcMode":case"CalcPrecision":case"CalcSaveRecalc":n.opts[Q]=Z;break;case"CalcRefMode":I.CalcRefMode=Z;break;case"Uncalced":break;case"ForceFullCalculation":n.opts.FullCalc=Z;break;case"WsBool":Z.fDialog&&(p["!type"]="dialog"),Z.fBelow||((p["!outline"]||(p["!outline"]={})).above=!0),Z.fRight||((p["!outline"]||(p["!outline"]={})).left=!0);break;case"XF":k.push(Z);break;case"ExtSST":case"BookExt":case"RichTextStream":case"BkHim":break;case"SupBook":j.push([Z]),j[j.length-1].XTI=[];break;case"ExternName":j[j.length-1].push(Z);break;case"Index":break;case"Lbl":W={Name:Z.Name,Ref:ns(Z.rgce,0,null,j,I)},Z.itab>0&&(W.Sheet=Z.itab-1),j.names.push(W),j[0]||(j[0]=[],j[0].XTI=[]),j[j.length-1].push(Z),"_xlnm._FilterDatabase"==Z.Name&&Z.itab>0&&Z.rgce&&Z.rgce[0]&&Z.rgce[0][0]&&"PtgArea3d"==Z.rgce[0][0][0]&&(q[Z.itab-1]={ref:Yt(Z.rgce[0][0][1][2])});break;case"ExternCount":I.ExternCount=Z;break;case"ExternSheet":0==j.length&&(j[0]=[],j[0].XTI=[]),j[j.length-1].XTI=j[j.length-1].XTI.concat(Z),j.XTI=j.XTI.concat(Z);break;case"NameCmt":if(I.biff<8)break;null!=W&&(W.Comment=Z[1]);break;case"Protect":p["!protect"]=Z;break;case"Password":0!==Z&&I.WTF&&console.error("Password verifier: "+Z);break;case"Prot4Rev":case"Prot4RevPass":break;case"BoundSheet8":g[Z.pos]=Z,I.snames.push(Z.name);break;case"EOF":if(--z)break;if(m.e){if(m.e.r>0&&m.e.c>0){if(m.e.r--,m.e.c--,p["!ref"]=Yt(m),t.sheetRows&&t.sheetRows<=m.e.r){var te=m.e.r;m.e.r=t.sheetRows-1,p["!fullref"]=p["!ref"],p["!ref"]=Yt(m),m.e.r=te}m.e.r++,m.e.c++}L.length>0&&(p["!merges"]=L),O.length>0&&(p["!objects"]=O),P.length>0&&(p["!cols"]=P),F.length>0&&(p["!rows"]=F),C.Sheets.push(R)}""===y?w=p:r[y]=p,p=t.dense?[]:{};break;case"BOF":if(8===I.biff&&(I.biff={9:2,521:3,1033:4}[$]||{512:2,768:3,1024:4,1280:5,1536:8,2:2,7:2}[Z.BIFFVer]||8),I.biffguess=0==Z.BIFFVer,0==Z.BIFFVer&&4096==Z.dt&&(I.biff=5,G=!0,s(I.codepage=28591)),8==I.biff&&0==Z.BIFFVer&&16==Z.dt&&(I.biff=2),z++)break;if(_=!0,p=t.dense?[]:{},I.biff<8&&!G&&(G=!0,s(I.codepage=t.codepage||1252)),I.biff<5||0==Z.BIFFVer&&4096==Z.dt){""===y&&(y="Sheet1"),m={s:{r:0,c:0},e:{r:0,c:0}};var ne={pos:e.l-Y,name:y};g[ne.pos]=ne,I.snames.push(y)}else y=(g[X]||{name:""}).name;32==Z.dt&&(p["!type"]="chart"),64==Z.dt&&(p["!type"]="macro"),L=[],O=[],I.arrayf=E=[],P=[],F=[],0,D=!1,R={Hidden:(g[X]||{hs:0}).hs,name:y};break;case"Number":case"BIFF2NUM":case"BIFF2INT":"chart"==p["!type"]&&(t.dense?(p[Z.r]||[])[Z.c]:p[Xt({c:Z.c,r:Z.r})])&&++Z.c,u={ixfe:Z.ixfe,XF:k[Z.ixfe]||{},v:Z.val,t:"n"},H>0&&(u.z=V[u.ixfe>>8&63]),oc(u,t,n.opts.Date1904),B({c:Z.c,r:Z.r},u,t);break;case"BoolErr":u={ixfe:Z.ixfe,XF:k[Z.ixfe],v:Z.val,t:Z.t},H>0&&(u.z=V[u.ixfe>>8&63]),oc(u,t,n.opts.Date1904),B({c:Z.c,r:Z.r},u,t);break;case"RK":u={ixfe:Z.ixfe,XF:k[Z.ixfe],v:Z.rknum,t:"n"},H>0&&(u.z=V[u.ixfe>>8&63]),oc(u,t,n.opts.Date1904),B({c:Z.c,r:Z.r},u,t);break;case"MulRk":for(var re=Z.c;re<=Z.C;++re){var ae=Z.rkrec[re-Z.c][0];u={ixfe:ae,XF:k[ae],v:Z.rkrec[re-Z.c][1],t:"n"},H>0&&(u.z=V[u.ixfe>>8&63]),oc(u,t,n.opts.Date1904),B({c:re,r:Z.r},u,t)}break;case"Formula":if("String"==Z.val){v=Z;break}if((u=sc(Z.val,Z.cell.ixfe,Z.tt)).XF=k[u.ixfe],t.cellFormula){var ie=Z.formula;if(ie&&ie[0]&&ie[0][0]&&"PtgExp"==ie[0][0][0]){var oe=ie[0][0][1][0],se=ie[0][0][1][1],le=Xt({r:oe,c:se});x[le]?u.f=""+ns(Z.formula,0,Z.cell,j,I):u.F=((t.dense?(p[oe]||[])[se]:p[le])||{}).F}else u.f=""+ns(Z.formula,0,Z.cell,j,I)}H>0&&(u.z=V[u.ixfe>>8&63]),oc(u,t,n.opts.Date1904),B(Z.cell,u,t),v=Z;break;case"String":if(!v)throw new Error("String record expects Formula");v.val=Z,(u=sc(Z,v.cell.ixfe,"s")).XF=k[u.ixfe],t.cellFormula&&(u.f=""+ns(v.formula,0,v.cell,j,I)),H>0&&(u.z=V[u.ixfe>>8&63]),oc(u,t,n.opts.Date1904),B(v.cell,u,t),v=null;break;case"Array":E.push(Z);var ce=Xt(Z[0].s);if(i=t.dense?(p[Z[0].s.r]||[])[Z[0].s.c]:p[ce],t.cellFormula&&i){if(!v)break;if(!ce||!i)break;i.f=""+ns(Z[1],0,Z[0],j,I),i.F=Yt(Z[0])}break;case"ShrFmla":if(!_)break;if(!t.cellFormula)break;if(S){if(!v)break;x[Xt(v.cell)]=Z[0],((i=t.dense?(p[v.cell.r]||[])[v.cell.c]:p[Xt(v.cell)])||{}).f=""+ns(Z[0],0,a,j,I)}break;case"LabelSst":u=sc(b[Z.isst].t,Z.ixfe,"s"),b[Z.isst].h&&(u.h=b[Z.isst].h),u.XF=k[u.ixfe],H>0&&(u.z=V[u.ixfe>>8&63]),oc(u,t,n.opts.Date1904),B({c:Z.c,r:Z.r},u,t);break;case"Blank":t.sheetStubs&&(u={ixfe:Z.ixfe,XF:k[Z.ixfe],t:"z"},H>0&&(u.z=V[u.ixfe>>8&63]),oc(u,t,n.opts.Date1904),B({c:Z.c,r:Z.r},u,t));break;case"MulBlank":if(t.sheetStubs)for(var ue=Z.c;ue<=Z.C;++ue){var fe=Z.ixfe[ue-Z.c];u={ixfe:fe,XF:k[fe],t:"z"},H>0&&(u.z=V[u.ixfe>>8&63]),oc(u,t,n.opts.Date1904),B({c:ue,r:Z.r},u,t)}break;case"RString":case"Label":case"BIFF2STR":(u=sc(Z.val,Z.ixfe,"s")).XF=k[u.ixfe],H>0&&(u.z=V[u.ixfe>>8&63]),oc(u,t,n.opts.Date1904),B({c:Z.c,r:Z.r},u,t);break;case"Dimensions":1===z&&(m=Z);break;case"SST":b=Z;break;case"Format":if(4==I.biff){V[H++]=Z[1];for(var he=0;he<H+163&&T._table[he]!=Z[1];++he);he>=163&&T.load(Z[1],H+163)}else T.load(Z[1],Z[0]);break;case"BIFF2FORMAT":V[H++]=Z;for(var de=0;de<H+163&&T._table[de]!=Z;++de);de>=163&&T.load(Z,H+163);break;case"MergeCells":L=L.concat(Z);break;case"Obj":O[Z.cmo[0]]=I.lastobj=Z;break;case"TxO":I.lastobj.TxO=Z;break;case"ImData":I.lastobj.ImData=Z;break;case"HLink":for(c=Z[0].s.r;c<=Z[0].e.r;++c)for(l=Z[0].s.c;l<=Z[0].e.c;++l)(i=t.dense?(p[c]||[])[l]:p[Xt({c:l,r:c})])&&(i.l=Z[1]);break;case"HLinkTooltip":for(c=Z[0].s.r;c<=Z[0].e.r;++c)for(l=Z[0].s.c;l<=Z[0].e.c;++l)(i=t.dense?(p[c]||[])[l]:p[Xt({c:l,r:c})])&&i.l&&(i.l.Tooltip=Z[1]);break;case"Note":if(I.biff<=5&&I.biff>=2)break;i=t.dense?(p[Z[0].r]||[])[Z[0].c]:p[Xt(Z[0])];var pe=O[Z[2]];i||(t.dense?(p[Z[0].r]||(p[Z[0].r]=[]),i=p[Z[0].r][Z[0].c]={t:"z"}):i=p[Xt(Z[0])]={t:"z"},m.e.r=Math.max(m.e.r,Z[0].r),m.s.r=Math.min(m.s.r,Z[0].r),m.e.c=Math.max(m.e.c,Z[0].c),m.s.c=Math.min(m.s.c,Z[0].c)),i.c||(i.c=[]),o={a:Z[1],t:pe.TxO.t},i.c.push(o);break;default:switch(K.n){case"ClrtClient":break;case"XFExt":so(k[Z.ixfe],Z.ext);break;case"DefColWidth":Z;break;case"DefaultRowHeight":Z[1];break;case"ColInfo":if(!I.cellStyles)break;for(;Z.e>=Z.s;)P[Z.e--]={width:Z.w/256,level:Z.level||0,hidden:!!(1&Z.flags)},D||(D=!0,ki(Z.w/256)),Ai(P[Z.e+1]);break;case"Row":var ge={};null!=Z.level&&(F[Z.r]=ge,ge.level=Z.level),Z.hidden&&(F[Z.r]=ge,ge.hidden=!0),Z.hpt&&(F[Z.r]=ge,ge.hpt=Z.hpt,ge.hpx=Ri(Z.hpt));break;case"LeftMargin":case"RightMargin":case"TopMargin":case"BottomMargin":p["!margins"]||ks(p["!margins"]={}),p["!margins"][Q.slice(0,-6).toLowerCase()]=Z;break;case"Selection":break;case"Setup":p["!margins"]||ks(p["!margins"]={}),p["!margins"].header=Z.header,p["!margins"].footer=Z.footer;break;case"Window2":Z.RTL&&(C.Views[0].RTL=!0);break;case"Header":case"Footer":case"HCenter":case"VCenter":case"Pls":case"GCW":case"LHRecord":case"DBCell":case"EntExU2":case"SxView":case"Sxvd":case"SXVI":case"SXVDEx":case"SxIvd":case"SXString":case"Sync":case"Addin":case"SXDI":case"SXLI":case"SXEx":case"QsiSXTag":case"Feat":break;case"FeatHdr":case"FeatHdr11":break;case"Feature11":case"Feature12":case"List12":break;case"Country":f=Z;break;case"RecalcId":case"DxGCol":break;case"Fbi":case"Fbi2":case"GelFrame":case"Font":case"XFCRC":case"Style":case"StyleExt":break;case"Palette":A=Z;break;case"Theme":h=Z;break;case"ScenarioProtect":case"ObjProtect":case"CondFmt12":case"Table":case"TableStyles":case"TableStyle":case"TableStyleElement":case"SXStreamID":case"SXVS":case"DConRef":case"SXAddl":case"DConBin":case"DConName":case"SXPI":case"SxFormat":case"SxSelect":case"SxRule":case"SxFilt":case"SxItm":case"SxDXF":case"ScenMan":case"DCon":case"CellWatch":case"PrintRowCol":case"PrintGrid":case"PrintSize":case"XCT":case"CRN":case"Scl":case"SheetExt":case"SheetExtOptional":case"ObNoMacros":case"ObProj":break;case"CodeName":y?R.CodeName=Z||R.name:C.WBProps.CodeName=Z||"ThisWorkbook";break;case"GUIDTypeLib":case"WOpt":case"PhoneticInfo":case"OleObjectSize":break;case"DXF":case"DXFN":case"DXFN12":case"DXFN12List":case"DXFN12NoCB":break;case"Dv":case"DVal":break;case"BRAI":case"Series":case"SeriesText":case"DConn":case"DbOrParamQry":case"DBQueryExt":case"OleDbConn":case"ExtString":case"IFmtRecord":break;case"CondFmt":case"CF":case"CF12":case"CFEx":case"Excel9File":case"Units":break;case"InterfaceHdr":case"Mms":case"InterfaceEnd":case"DSF":case"BuiltInFnGroupCount":break;case"Window1":case"HideObj":case"GridSet":case"Guts":case"UserBView":case"UserSViewBegin":case"UserSViewEnd":case"Pane":break;default:switch(K.n){case"Dat":case"Begin":case"End":case"StartBlock":case"EndBlock":case"Frame":case"Area":case"Axis":case"AxisLine":case"Tick":break;case"AxesUsed":case"CrtLayout12":case"CrtLayout12A":case"CrtLink":case"CrtLine":case"CrtMlFrt":case"CrtMlFrtContinue":break;case"LineFormat":case"AreaFormat":case"Chart":case"Chart3d":case"Chart3DBarShape":case"ChartFormat":case"ChartFrtInfo":break;case"PlotArea":case"PlotGrowth":break;case"SeriesList":case"SerParent":case"SerAuxTrend":break;case"DataFormat":case"SerToCrt":case"FontX":break;case"CatSerRange":case"AxcExt":case"SerFmt":case"ShtProps":break;case"DefaultText":case"Text":case"CatLab":case"DataLabExtContents":break;case"Legend":case"LegendException":break;case"Pie":case"Scatter":break;case"PieFormat":case"MarkerFormat":break;case"StartObject":case"EndObject":break;case"AlRuns":case"ObjectLink":case"SIIndex":break;case"AttachedLabel":case"YMult":break;case"Line":case"Bar":case"Surf":case"AxisParent":case"Pos":case"ValueRange":case"SXViewEx9":case"SXViewLink":case"PivotChartBits":case"SBaseRef":case"TextPropsStream":case"LnExt":case"MkrExt":case"CrtCoopt":break;case"Qsi":case"Qsif":case"Qsir":case"QsiSXTag":case"TxtQry":case"FilterMode":break;case"AutoFilter":case"AutoFilterInfo":case"AutoFilter12":case"DropDownObjIds":case"Sort":case"SortData":case"ShapePropsStream":break;case"MsoDrawing":case"MsoDrawingGroup":case"MsoDrawingSelection":break;case"WebPub":case"AutoWebPub":break;case"HeaderFooter":case"HFPicture":case"PLV":case"HorizontalPageBreaks":case"VerticalPageBreaks":break;case"Backup":case"CompressPictures":case"Compat12":break;case"Continue":case"ContinueFrt12":break;case"FrtFontList":case"FrtWrapper":break;default:switch(K.n){case"TabIdConf":case"Radar":case"RadarArea":case"DropBar":case"Intl":case"CoordList":case"SerAuxErrBar":break;case"BIFF2FONTCLR":case"BIFF2FMTCNT":case"BIFF2FONTXTRA":break;case"BIFF2XF":case"BIFF3XF":case"BIFF4XF":case"BIFF2XFINDEX":break;case"BIFF4FMTCNT":case"BIFF2ROW":case"BIFF2WINDOW2":break;case"SCENARIO":case"DConBin":case"PicF":case"DataLabExt":case"Lel":case"BopPop":case"BopPopCustom":case"RealTimeData":case"Name":break;case"LHNGraph":case"FnGroupName":case"AddMenu":case"LPr":break;case"ListObj":case"ListField":case"RRSort":case"BigName":break;case"ToolbarHdr":case"ToolbarEnd":case"DDEObjName":case"FRTArchId$":break;default:if(t.WTF)throw"Unrecognized Record "+K.n}}}}}else e.l+=Y}return n.SheetNames=M(g).sort(function(e,t){return Number(e)-Number(t)}).map(function(e){return g[e].name}),t.bookSheets||(n.Sheets=r),!n.SheetNames.length&&w["!ref"]?(n.SheetNames.push("Sheet1"),n.Sheets&&(n.Sheets.Sheet1=w)):n.Preamble=w,n.Sheets&&q.forEach(function(e,t){n.Sheets[n.SheetNames[t]]["!autofilter"]=e}),n.Strings=b,n.SSF=T.get_table(),I.enc&&(n.Encryption=I.enc),h&&(n.Themes=h),n.Metadata={},void 0!==f&&(n.Metadata.Country=f),j.names.length>0&&(C.Names=j.names),n.Workbook=C,n}var cc={SI:"e0859ff2f94f6810ab9108002b27b3d9",DSI:"02d5cdd59c2e1b10939708002b2cf9ae",UDI:"05d5cdd59c2e1b10939708002b2cf9ae"};function uc(e,t){var n,r,a,i;if(t||(t={}),Xc(t),l(),t.codepage&&o(t.codepage),e.FullPaths){if(P.find(e,"/encryption"))throw new Error("File is password-protected");n=P.find(e,"!CompObj"),r=P.find(e,"/Workbook")||P.find(e,"/Book")}else{switch(t.type){case"base64":e=S(g.decode(e));break;case"binary":e=S(e);break;case"buffer":break;case"array":Array.isArray(e)||(e=Array.prototype.slice.call(e))}It(e,0),r={content:e}}if(n&&ac(n),t.bookProps&&!t.bookSheets)a={};else{var s=m?"buffer":"array";if(r&&r.content)a=lc(r.content,t);else if((i=P.find(e,"PerfectOffice_MAIN"))&&i.content)a=Ua.to_workbook(i.content,(t.type=s,t));else{if(!(i=P.find(e,"NativeContent_MAIN"))||!i.content)throw new Error("Cannot find Workbook stream");a=Ua.to_workbook(i.content,(t.type=s,t))}t.bookVBA&&e.FullPaths&&P.find(e,"/_VBA_PROJECT_CUR/VBA/dir")&&(a.vbaraw=function(e){var t=P.utils.cfb_new({root:"R"});return e.FullPaths.forEach(function(n,r){if("/"!==n.slice(-1)&&n.match(/_VBA_PROJECT_CUR/)){var a=n.replace(/^[^\/]*/,"R").replace(/\/_VBA_PROJECT_CUR\u0000*/,"");P.utils.cfb_add(t,a,e.FileIndex[r].content)}}),P.write(t)}(e))}var c={};return e.FullPaths&&function(e,t,n){var r=P.find(e,"!DocumentSummaryInformation");if(r&&r.size>0)try{var a=Pr(r,Pn,cc.DSI);for(var i in a)t[i]=a[i]}catch(e){if(n.WTF)throw e}var o=P.find(e,"!SummaryInformation");if(o&&o.size>0)try{var s=Pr(o,Fn,cc.SI);for(var l in s)null==t[l]&&(t[l]=s[l])}catch(e){if(n.WTF)throw e}t.HeadingPairs&&t.TitlesOfParts&&(dr(t.HeadingPairs,t.TitlesOfParts,t,n),delete t.HeadingPairs,delete t.TitlesOfParts)}(e,c,t),a.Props=a.Custprops=c,t.bookFiles&&(a.cfb=e),a}function fc(e,t){var n=t||{},r=P.utils.cfb_new({root:"R"}),a="/Workbook";switch(n.bookType||"xls"){case"xls":n.bookType="biff8";case"xla":n.bookType||(n.bookType="xla");case"biff8":a="/Workbook",n.biff=8;break;case"biff5":a="/Book",n.biff=5;break;default:throw new Error("invalid type "+n.bookType+" for XLS CFB")}return P.utils.cfb_add(r,a,kc(e,n)),8==n.biff&&(e.Props||e.Custprops)&&function(e,t){var n,r=[],a=[],i=[],o=0;if(e.Props)for(n=M(e.Props),o=0;o<n.length;++o)(Object.prototype.hasOwnProperty.call(Mn,n[o])?r:Object.prototype.hasOwnProperty.call(jn,n[o])?a:i).push([n[o],e.Props[n[o]]]);if(e.Custprops)for(n=M(e.Custprops),o=0;o<n.length;++o)Object.prototype.hasOwnProperty.call(e.Props||{},n[o])||(Object.prototype.hasOwnProperty.call(Mn,n[o])?r:Object.prototype.hasOwnProperty.call(jn,n[o])?a:i).push([n[o],e.Custprops[n[o]]]);var s=[];for(o=0;o<i.length;++o)Ir.indexOf(i[o][0])>-1||null!=i[o][1]&&s.push(i[o]);a.length&&P.utils.cfb_add(t,"/SummaryInformation",Fr(a,cc.SI,jn,Fn)),(r.length||s.length)&&P.utils.cfb_add(t,"/DocumentSummaryInformation",Fr(r,cc.DSI,Mn,Pn,s.length?s:null,cc.UDI))}(e,r),8==n.biff&&e.vbaraw&&function(e,t){t.FullPaths.forEach(function(n,r){if(0!=r){var a=n.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");"/"!==a.slice(-1)&&P.utils.cfb_add(e,a,t.FileIndex[r].content)}})}(r,P.read(e.vbaraw,{type:"string"==typeof e.vbaraw?"binary":"buffer"})),r}var hc={0:{n:"BrtRowHdr",f:function(e,t){var n={},r=e.l+t;n.r=e._R(4),e.l+=4;var a=e._R(2);e.l+=1;var i=e._R(1);return e.l=r,7&i&&(n.level=7&i),16&i&&(n.hidden=!0),32&i&&(n.hpt=a/20),n}},1:{n:"BrtCellBlank",f:function(e){return[un(e)]}},2:{n:"BrtCellRk",f:function(e){return[un(e),Sn(e),"n"]}},3:{n:"BrtCellError",f:function(e){return[un(e),e._R(1),"e"]}},4:{n:"BrtCellBool",f:function(e){return[un(e),e._R(1),"b"]}},5:{n:"BrtCellReal",f:function(e){return[un(e),An(e),"n"]}},6:{n:"BrtCellSt",f:function(e){return[un(e),rn(e),"str"]}},7:{n:"BrtCellIsst",f:function(e){return[un(e),e._R(4),"s"]}},8:{n:"BrtFmlaString",f:function(e,t,n){var r=e.l+t,a=un(e);a.r=n["!row"];var i=[a,rn(e),"str"];if(n.cellFormula){e.l+=2;var o=cs(e,r-e.l,n);i[3]=ns(o,0,a,n.supbooks,n)}else e.l=r;return i}},9:{n:"BrtFmlaNum",f:function(e,t,n){var r=e.l+t,a=un(e);a.r=n["!row"];var i=[a,An(e),"n"];if(n.cellFormula){e.l+=2;var o=cs(e,r-e.l,n);i[3]=ns(o,0,a,n.supbooks,n)}else e.l=r;return i}},10:{n:"BrtFmlaBool",f:function(e,t,n){var r=e.l+t,a=un(e);a.r=n["!row"];var i=[a,e._R(1),"b"];if(n.cellFormula){e.l+=2;var o=cs(e,r-e.l,n);i[3]=ns(o,0,a,n.supbooks,n)}else e.l=r;return i}},11:{n:"BrtFmlaError",f:function(e,t,n){var r=e.l+t,a=un(e);a.r=n["!row"];var i=[a,e._R(1),"e"];if(n.cellFormula){e.l+=2;var o=cs(e,r-e.l,n);i[3]=ns(o,0,a,n.supbooks,n)}else e.l=r;return i}},12:{n:"BrtShortBlank",f:function(e){return[hn(e)]}},13:{n:"BrtShortRk",f:function(e){return[hn(e),Sn(e),"n"]}},14:{n:"BrtShortError",f:function(e){return[hn(e),e._R(1),"e"]}},15:{n:"BrtShortBool",f:function(e){return[hn(e),e._R(1),"b"]}},16:{n:"BrtShortReal",f:Js},17:{n:"BrtShortSt",f:function(e){return[hn(e),rn(e),"str"]}},18:{n:"BrtShortIsst",f:function(e){return[hn(e),e._R(4),"s"]}},19:{n:"BrtSSTItem",f:sn},20:{n:"BrtPCDIMissing"},21:{n:"BrtPCDINumber"},22:{n:"BrtPCDIBoolean"},23:{n:"BrtPCDIError"},24:{n:"BrtPCDIString"},25:{n:"BrtPCDIDatetime"},26:{n:"BrtPCDIIndex"},27:{n:"BrtPCDIAMissing"},28:{n:"BrtPCDIANumber"},29:{n:"BrtPCDIABoolean"},30:{n:"BrtPCDIAError"},31:{n:"BrtPCDIAString"},32:{n:"BrtPCDIADatetime"},33:{n:"BrtPCRRecord"},34:{n:"BrtPCRRecordDt"},35:{n:"BrtFRTBegin"},36:{n:"BrtFRTEnd"},37:{n:"BrtACBegin"},38:{n:"BrtACEnd"},39:{n:"BrtName",f:function(e,t,n){var r=e.l+t;e.l+=4,e.l+=1;var a=e._R(4),i=bn(e),o=us(e,0,n),s=mn(e);e.l=r;var l={Name:i,Ptg:o};return a<268435455&&(l.Sheet=a),s&&(l.Comment=s),l}},40:{n:"BrtIndexRowBlock"},42:{n:"BrtIndexBlock"},43:{n:"BrtFont",f:function(e,t,n){var r={};r.sz=e._R(2)/20;var a=function(e){var t=e._R(1);return e.l++,{fBold:1&t,fItalic:2&t,fUnderline:4&t,fStrikeout:8&t,fOutline:16&t,fShadow:32&t,fCondense:64&t,fExtend:128&t}}(e);switch(a.fItalic&&(r.italic=1),a.fCondense&&(r.condense=1),a.fExtend&&(r.extend=1),a.fShadow&&(r.shadow=1),a.fOutline&&(r.outline=1),a.fStrikeout&&(r.strike=1),700===e._R(2)&&(r.bold=1),e._R(2)){case 1:r.vertAlign="superscript";break;case 2:r.vertAlign="subscript"}var i=e._R(1);0!=i&&(r.underline=i);var o=e._R(1);o>0&&(r.family=o);var s=e._R(1);switch(s>0&&(r.charset=s),e.l++,r.color=function(e){var t={},n=e._R(1)>>>1,r=e._R(1),a=e._R(2,"i"),i=e._R(1),o=e._R(1),s=e._R(1);switch(e.l++,n){case 0:t.auto=1;break;case 1:t.index=r;var l=zn[r];l&&(t.rgb=gi(l));break;case 2:t.rgb=gi([i,o,s]);break;case 3:t.theme=r}return 0!=a&&(t.tint=a>0?a/32767:a/32768),t}(e),e._R(1)){case 1:r.scheme="major";break;case 2:r.scheme="minor"}return r.name=rn(e),r}},44:{n:"BrtFmt",f:function(e,t){return[e._R(2),rn(e)]}},45:{n:"BrtFill",f:Wi},46:{n:"BrtBorder",f:Vi},47:{n:"BrtXF",f:function(e,t){var n=e.l+t,r=e._R(2),a=e._R(2);return e.l=n,{ixfe:r,numFmtId:a}}},48:{n:"BrtStyle"},49:{n:"BrtCellMeta"},50:{n:"BrtValueMeta"},51:{n:"BrtMdb"},52:{n:"BrtBeginFmd"},53:{n:"BrtEndFmd"},54:{n:"BrtBeginMdx"},55:{n:"BrtEndMdx"},56:{n:"BrtBeginMdxTuple"},57:{n:"BrtEndMdxTuple"},58:{n:"BrtMdxMbrIstr"},59:{n:"BrtStr"},60:{n:"BrtColInfo",f:Ia},62:{n:"BrtCellRString"},63:{n:"BrtCalcChainItem$",f:function(e){var t={};t.i=e._R(4);var n={};n.r=e._R(4),n.c=e._R(4),t.r=Xt(n);var r=e._R(1);return 2&r&&(t.l="1"),8&r&&(t.a="1"),t}},64:{n:"BrtDVal",f:function(){}},65:{n:"BrtSxvcellNum"},66:{n:"BrtSxvcellStr"},67:{n:"BrtSxvcellBool"},68:{n:"BrtSxvcellErr"},69:{n:"BrtSxvcellDate"},70:{n:"BrtSxvcellNil"},128:{n:"BrtFileVersion"},129:{n:"BrtBeginSheet"},130:{n:"BrtEndSheet"},131:{n:"BrtBeginBook",f:Lt,p:0},132:{n:"BrtEndBook"},133:{n:"BrtBeginWsViews"},134:{n:"BrtEndWsViews"},135:{n:"BrtBeginBookViews"},136:{n:"BrtEndBookViews"},137:{n:"BrtBeginWsView",f:function(e){var t=e._R(2);return e.l+=28,{RTL:32&t}}},138:{n:"BrtEndWsView"},139:{n:"BrtBeginCsViews"},140:{n:"BrtEndCsViews"},141:{n:"BrtBeginCsView"},142:{n:"BrtEndCsView"},143:{n:"BrtBeginBundleShs"},144:{n:"BrtEndBundleShs"},145:{n:"BrtBeginSheetData"},146:{n:"BrtEndSheetData"},147:{n:"BrtWsProp",f:function(e,t){var n={},r=e[e.l];return++e.l,n.above=!(64&r),n.left=!(128&r),e.l+=18,n.name=pn(e,t-19),n}},148:{n:"BrtWsDim",f:Ys,p:16},151:{n:"BrtPane",f:function(){}},152:{n:"BrtSel"},153:{n:"BrtWbProp",f:function(e,t){var n={},r=e._R(4);n.defaultThemeVersion=e._R(4);var a=t>8?rn(e):"";return a.length>0&&(n.CodeName=a),n.autoCompressPictures=!!(65536&r),n.backupFile=!!(64&r),n.checkCompatibility=!!(4096&r),n.date1904=!!(1&r),n.filterPrivacy=!!(8&r),n.hidePivotFieldList=!!(1024&r),n.promptedSolutions=!!(16&r),n.publishItems=!!(2048&r),n.refreshAllConnections=!!(262144&r),n.saveExternalLinkValues=!!(128&r),n.showBorderUnselectedTables=!!(4&r),n.showInkAnnotation=!!(32&r),n.showObjects=["all","placeholders","none"][r>>13&3],n.showPivotChartFilter=!!(32768&r),n.updateLinks=["userSet","never","always"][r>>8&3],n}},154:{n:"BrtWbFactoid"},155:{n:"BrtFileRecover"},156:{n:"BrtBundleSh",f:function(e,t){var n={};return n.Hidden=e._R(4),n.iTabID=e._R(4),n.strRelID=yn(e,t-8),n.name=rn(e),n}},157:{n:"BrtCalcProp"},158:{n:"BrtBookView"},159:{n:"BrtBeginSst",f:function(e){return[e._R(4),e._R(4)]}},160:{n:"BrtEndSst"},161:{n:"BrtBeginAFilter",f:_n},162:{n:"BrtEndAFilter"},163:{n:"BrtBeginFilterColumn"},164:{n:"BrtEndFilterColumn"},165:{n:"BrtBeginFilters"},166:{n:"BrtEndFilters"},167:{n:"BrtFilter"},168:{n:"BrtColorFilter"},169:{n:"BrtIconFilter"},170:{n:"BrtTop10Filter"},171:{n:"BrtDynamicFilter"},172:{n:"BrtBeginCustomFilters"},173:{n:"BrtEndCustomFilters"},174:{n:"BrtCustomFilter"},175:{n:"BrtAFilterDateGroupItem"},176:{n:"BrtMergeCell",f:Zs},177:{n:"BrtBeginMergeCells"},178:{n:"BrtEndMergeCells"},179:{n:"BrtBeginPivotCacheDef"},180:{n:"BrtEndPivotCacheDef"},181:{n:"BrtBeginPCDFields"},182:{n:"BrtEndPCDFields"},183:{n:"BrtBeginPCDField"},184:{n:"BrtEndPCDField"},185:{n:"BrtBeginPCDSource"},186:{n:"BrtEndPCDSource"},187:{n:"BrtBeginPCDSRange"},188:{n:"BrtEndPCDSRange"},189:{n:"BrtBeginPCDFAtbl"},190:{n:"BrtEndPCDFAtbl"},191:{n:"BrtBeginPCDIRun"},192:{n:"BrtEndPCDIRun"},193:{n:"BrtBeginPivotCacheRecords"},194:{n:"BrtEndPivotCacheRecords"},195:{n:"BrtBeginPCDHierarchies"},196:{n:"BrtEndPCDHierarchies"},197:{n:"BrtBeginPCDHierarchy"},198:{n:"BrtEndPCDHierarchy"},199:{n:"BrtBeginPCDHFieldsUsage"},200:{n:"BrtEndPCDHFieldsUsage"},201:{n:"BrtBeginExtConnection"},202:{n:"BrtEndExtConnection"},203:{n:"BrtBeginECDbProps"},204:{n:"BrtEndECDbProps"},205:{n:"BrtBeginECOlapProps"},206:{n:"BrtEndECOlapProps"},207:{n:"BrtBeginPCDSConsol"},208:{n:"BrtEndPCDSConsol"},209:{n:"BrtBeginPCDSCPages"},210:{n:"BrtEndPCDSCPages"},211:{n:"BrtBeginPCDSCPage"},212:{n:"BrtEndPCDSCPage"},213:{n:"BrtBeginPCDSCPItem"},214:{n:"BrtEndPCDSCPItem"},215:{n:"BrtBeginPCDSCSets"},216:{n:"BrtEndPCDSCSets"},217:{n:"BrtBeginPCDSCSet"},218:{n:"BrtEndPCDSCSet"},219:{n:"BrtBeginPCDFGroup"},220:{n:"BrtEndPCDFGroup"},221:{n:"BrtBeginPCDFGItems"},222:{n:"BrtEndPCDFGItems"},223:{n:"BrtBeginPCDFGRange"},224:{n:"BrtEndPCDFGRange"},225:{n:"BrtBeginPCDFGDiscrete"},226:{n:"BrtEndPCDFGDiscrete"},227:{n:"BrtBeginPCDSDTupleCache"},228:{n:"BrtEndPCDSDTupleCache"},229:{n:"BrtBeginPCDSDTCEntries"},230:{n:"BrtEndPCDSDTCEntries"},231:{n:"BrtBeginPCDSDTCEMembers"},232:{n:"BrtEndPCDSDTCEMembers"},233:{n:"BrtBeginPCDSDTCEMember"},234:{n:"BrtEndPCDSDTCEMember"},235:{n:"BrtBeginPCDSDTCQueries"},236:{n:"BrtEndPCDSDTCQueries"},237:{n:"BrtBeginPCDSDTCQuery"},238:{n:"BrtEndPCDSDTCQuery"},239:{n:"BrtBeginPCDSDTCSets"},240:{n:"BrtEndPCDSDTCSets"},241:{n:"BrtBeginPCDSDTCSet"},242:{n:"BrtEndPCDSDTCSet"},243:{n:"BrtBeginPCDCalcItems"},244:{n:"BrtEndPCDCalcItems"},245:{n:"BrtBeginPCDCalcItem"},246:{n:"BrtEndPCDCalcItem"},247:{n:"BrtBeginPRule"},248:{n:"BrtEndPRule"},249:{n:"BrtBeginPRFilters"},250:{n:"BrtEndPRFilters"},251:{n:"BrtBeginPRFilter"},252:{n:"BrtEndPRFilter"},253:{n:"BrtBeginPNames"},254:{n:"BrtEndPNames"},255:{n:"BrtBeginPName"},256:{n:"BrtEndPName"},257:{n:"BrtBeginPNPairs"},258:{n:"BrtEndPNPairs"},259:{n:"BrtBeginPNPair"},260:{n:"BrtEndPNPair"},261:{n:"BrtBeginECWebProps"},262:{n:"BrtEndECWebProps"},263:{n:"BrtBeginEcWpTables"},264:{n:"BrtEndECWPTables"},265:{n:"BrtBeginECParams"},266:{n:"BrtEndECParams"},267:{n:"BrtBeginECParam"},268:{n:"BrtEndECParam"},269:{n:"BrtBeginPCDKPIs"},270:{n:"BrtEndPCDKPIs"},271:{n:"BrtBeginPCDKPI"},272:{n:"BrtEndPCDKPI"},273:{n:"BrtBeginDims"},274:{n:"BrtEndDims"},275:{n:"BrtBeginDim"},276:{n:"BrtEndDim"},277:{n:"BrtIndexPartEnd"},278:{n:"BrtBeginStyleSheet"},279:{n:"BrtEndStyleSheet"},280:{n:"BrtBeginSXView"},281:{n:"BrtEndSXVI"},282:{n:"BrtBeginSXVI"},283:{n:"BrtBeginSXVIs"},284:{n:"BrtEndSXVIs"},285:{n:"BrtBeginSXVD"},286:{n:"BrtEndSXVD"},287:{n:"BrtBeginSXVDs"},288:{n:"BrtEndSXVDs"},289:{n:"BrtBeginSXPI"},290:{n:"BrtEndSXPI"},291:{n:"BrtBeginSXPIs"},292:{n:"BrtEndSXPIs"},293:{n:"BrtBeginSXDI"},294:{n:"BrtEndSXDI"},295:{n:"BrtBeginSXDIs"},296:{n:"BrtEndSXDIs"},297:{n:"BrtBeginSXLI"},298:{n:"BrtEndSXLI"},299:{n:"BrtBeginSXLIRws"},300:{n:"BrtEndSXLIRws"},301:{n:"BrtBeginSXLICols"},302:{n:"BrtEndSXLICols"},303:{n:"BrtBeginSXFormat"},304:{n:"BrtEndSXFormat"},305:{n:"BrtBeginSXFormats"},306:{n:"BrtEndSxFormats"},307:{n:"BrtBeginSxSelect"},308:{n:"BrtEndSxSelect"},309:{n:"BrtBeginISXVDRws"},310:{n:"BrtEndISXVDRws"},311:{n:"BrtBeginISXVDCols"},312:{n:"BrtEndISXVDCols"},313:{n:"BrtEndSXLocation"},314:{n:"BrtBeginSXLocation"},315:{n:"BrtEndSXView"},316:{n:"BrtBeginSXTHs"},317:{n:"BrtEndSXTHs"},318:{n:"BrtBeginSXTH"},319:{n:"BrtEndSXTH"},320:{n:"BrtBeginISXTHRws"},321:{n:"BrtEndISXTHRws"},322:{n:"BrtBeginISXTHCols"},323:{n:"BrtEndISXTHCols"},324:{n:"BrtBeginSXTDMPS"},325:{n:"BrtEndSXTDMPs"},326:{n:"BrtBeginSXTDMP"},327:{n:"BrtEndSXTDMP"},328:{n:"BrtBeginSXTHItems"},329:{n:"BrtEndSXTHItems"},330:{n:"BrtBeginSXTHItem"},331:{n:"BrtEndSXTHItem"},332:{n:"BrtBeginMetadata"},333:{n:"BrtEndMetadata"},334:{n:"BrtBeginEsmdtinfo"},335:{n:"BrtMdtinfo"},336:{n:"BrtEndEsmdtinfo"},337:{n:"BrtBeginEsmdb"},338:{n:"BrtEndEsmdb"},339:{n:"BrtBeginEsfmd"},340:{n:"BrtEndEsfmd"},341:{n:"BrtBeginSingleCells"},342:{n:"BrtEndSingleCells"},343:{n:"BrtBeginList"},344:{n:"BrtEndList"},345:{n:"BrtBeginListCols"},346:{n:"BrtEndListCols"},347:{n:"BrtBeginListCol"},348:{n:"BrtEndListCol"},349:{n:"BrtBeginListXmlCPr"},350:{n:"BrtEndListXmlCPr"},351:{n:"BrtListCCFmla"},352:{n:"BrtListTrFmla"},353:{n:"BrtBeginExternals"},354:{n:"BrtEndExternals"},355:{n:"BrtSupBookSrc",f:yn},357:{n:"BrtSupSelf"},358:{n:"BrtSupSame"},359:{n:"BrtSupTabs"},360:{n:"BrtBeginSupBook"},361:{n:"BrtPlaceholderName"},362:{n:"BrtExternSheet",f:Ca},363:{n:"BrtExternTableStart"},364:{n:"BrtExternTableEnd"},366:{n:"BrtExternRowHdr"},367:{n:"BrtExternCellBlank"},368:{n:"BrtExternCellReal"},369:{n:"BrtExternCellBool"},370:{n:"BrtExternCellError"},371:{n:"BrtExternCellString"},372:{n:"BrtBeginEsmdx"},373:{n:"BrtEndEsmdx"},374:{n:"BrtBeginMdxSet"},375:{n:"BrtEndMdxSet"},376:{n:"BrtBeginMdxMbrProp"},377:{n:"BrtEndMdxMbrProp"},378:{n:"BrtBeginMdxKPI"},379:{n:"BrtEndMdxKPI"},380:{n:"BrtBeginEsstr"},381:{n:"BrtEndEsstr"},382:{n:"BrtBeginPRFItem"},383:{n:"BrtEndPRFItem"},384:{n:"BrtBeginPivotCacheIDs"},385:{n:"BrtEndPivotCacheIDs"},386:{n:"BrtBeginPivotCacheID"},387:{n:"BrtEndPivotCacheID"},388:{n:"BrtBeginISXVIs"},389:{n:"BrtEndISXVIs"},390:{n:"BrtBeginColInfos"},391:{n:"BrtEndColInfos"},392:{n:"BrtBeginRwBrk"},393:{n:"BrtEndRwBrk"},394:{n:"BrtBeginColBrk"},395:{n:"BrtEndColBrk"},396:{n:"BrtBrk"},397:{n:"BrtUserBookView"},398:{n:"BrtInfo"},399:{n:"BrtCUsr"},400:{n:"BrtUsr"},401:{n:"BrtBeginUsers"},403:{n:"BrtEOF"},404:{n:"BrtUCR"},405:{n:"BrtRRInsDel"},406:{n:"BrtRREndInsDel"},407:{n:"BrtRRMove"},408:{n:"BrtRREndMove"},409:{n:"BrtRRChgCell"},410:{n:"BrtRREndChgCell"},411:{n:"BrtRRHeader"},412:{n:"BrtRRUserView"},413:{n:"BrtRRRenSheet"},414:{n:"BrtRRInsertSh"},415:{n:"BrtRRDefName"},416:{n:"BrtRRNote"},417:{n:"BrtRRConflict"},418:{n:"BrtRRTQSIF"},419:{n:"BrtRRFormat"},420:{n:"BrtRREndFormat"},421:{n:"BrtRRAutoFmt"},422:{n:"BrtBeginUserShViews"},423:{n:"BrtBeginUserShView"},424:{n:"BrtEndUserShView"},425:{n:"BrtEndUserShViews"},426:{n:"BrtArrFmla",f:function(e,t,n){var r=e.l+t,a=En(e),i=e._R(1),o=[a];if(o[2]=i,n.cellFormula){var s=ls(e,r-e.l,n);o[1]=s}else e.l=r;return o}},427:{n:"BrtShrFmla",f:function(e,t,n){var r=e.l+t,a=[_n(e,16)];if(n.cellFormula){var i=fs(e,r-e.l,n);a[1]=i,e.l=r}else e.l=r;return a}},428:{n:"BrtTable"},429:{n:"BrtBeginExtConnections"},430:{n:"BrtEndExtConnections"},431:{n:"BrtBeginPCDCalcMems"},432:{n:"BrtEndPCDCalcMems"},433:{n:"BrtBeginPCDCalcMem"},434:{n:"BrtEndPCDCalcMem"},435:{n:"BrtBeginPCDHGLevels"},436:{n:"BrtEndPCDHGLevels"},437:{n:"BrtBeginPCDHGLevel"},438:{n:"BrtEndPCDHGLevel"},439:{n:"BrtBeginPCDHGLGroups"},440:{n:"BrtEndPCDHGLGroups"},441:{n:"BrtBeginPCDHGLGroup"},442:{n:"BrtEndPCDHGLGroup"},443:{n:"BrtBeginPCDHGLGMembers"},444:{n:"BrtEndPCDHGLGMembers"},445:{n:"BrtBeginPCDHGLGMember"},446:{n:"BrtEndPCDHGLGMember"},447:{n:"BrtBeginQSI"},448:{n:"BrtEndQSI"},449:{n:"BrtBeginQSIR"},450:{n:"BrtEndQSIR"},451:{n:"BrtBeginDeletedNames"},452:{n:"BrtEndDeletedNames"},453:{n:"BrtBeginDeletedName"},454:{n:"BrtEndDeletedName"},455:{n:"BrtBeginQSIFs"},456:{n:"BrtEndQSIFs"},457:{n:"BrtBeginQSIF"},458:{n:"BrtEndQSIF"},459:{n:"BrtBeginAutoSortScope"},460:{n:"BrtEndAutoSortScope"},461:{n:"BrtBeginConditionalFormatting"},462:{n:"BrtEndConditionalFormatting"},463:{n:"BrtBeginCFRule"},464:{n:"BrtEndCFRule"},465:{n:"BrtBeginIconSet"},466:{n:"BrtEndIconSet"},467:{n:"BrtBeginDatabar"},468:{n:"BrtEndDatabar"},469:{n:"BrtBeginColorScale"},470:{n:"BrtEndColorScale"},471:{n:"BrtCFVO"},472:{n:"BrtExternValueMeta"},473:{n:"BrtBeginColorPalette"},474:{n:"BrtEndColorPalette"},475:{n:"BrtIndexedColor"},476:{n:"BrtMargins",f:function(e){var t={};return el.forEach(function(n){t[n]=An(e)}),t}},477:{n:"BrtPrintOptions"},478:{n:"BrtPageSetup"},479:{n:"BrtBeginHeaderFooter"},480:{n:"BrtEndHeaderFooter"},481:{n:"BrtBeginSXCrtFormat"},482:{n:"BrtEndSXCrtFormat"},483:{n:"BrtBeginSXCrtFormats"},484:{n:"BrtEndSXCrtFormats"},485:{n:"BrtWsFmtInfo",f:function(){}},486:{n:"BrtBeginMgs"},487:{n:"BrtEndMGs"},488:{n:"BrtBeginMGMaps"},489:{n:"BrtEndMGMaps"},490:{n:"BrtBeginMG"},491:{n:"BrtEndMG"},492:{n:"BrtBeginMap"},493:{n:"BrtEndMap"},494:{n:"BrtHLink",f:function(e,t){var n=e.l+t,r=_n(e,16),a=mn(e),i=rn(e),o=rn(e),s=rn(e);e.l=n;var l={rfx:r,relId:a,loc:i,display:s};return o&&(l.Tooltip=o),l}},495:{n:"BrtBeginDCon"},496:{n:"BrtEndDCon"},497:{n:"BrtBeginDRefs"},498:{n:"BrtEndDRefs"},499:{n:"BrtDRef"},500:{n:"BrtBeginScenMan"},501:{n:"BrtEndScenMan"},502:{n:"BrtBeginSct"},503:{n:"BrtEndSct"},504:{n:"BrtSlc"},505:{n:"BrtBeginDXFs"},506:{n:"BrtEndDXFs"},507:{n:"BrtDXF"},508:{n:"BrtBeginTableStyles"},509:{n:"BrtEndTableStyles"},510:{n:"BrtBeginTableStyle"},511:{n:"BrtEndTableStyle"},512:{n:"BrtTableStyleElement"},513:{n:"BrtTableStyleClient"},514:{n:"BrtBeginVolDeps"},515:{n:"BrtEndVolDeps"},516:{n:"BrtBeginVolType"},517:{n:"BrtEndVolType"},518:{n:"BrtBeginVolMain"},519:{n:"BrtEndVolMain"},520:{n:"BrtBeginVolTopic"},521:{n:"BrtEndVolTopic"},522:{n:"BrtVolSubtopic"},523:{n:"BrtVolRef"},524:{n:"BrtVolNum"},525:{n:"BrtVolErr"},526:{n:"BrtVolStr"},527:{n:"BrtVolBool"},528:{n:"BrtBeginCalcChain$"},529:{n:"BrtEndCalcChain$"},530:{n:"BrtBeginSortState"},531:{n:"BrtEndSortState"},532:{n:"BrtBeginSortCond"},533:{n:"BrtEndSortCond"},534:{n:"BrtBookProtection"},535:{n:"BrtSheetProtection"},536:{n:"BrtRangeProtection"},537:{n:"BrtPhoneticInfo"},538:{n:"BrtBeginECTxtWiz"},539:{n:"BrtEndECTxtWiz"},540:{n:"BrtBeginECTWFldInfoLst"},541:{n:"BrtEndECTWFldInfoLst"},542:{n:"BrtBeginECTwFldInfo"},548:{n:"BrtFileSharing"},549:{n:"BrtOleSize"},550:{n:"BrtDrawing",f:yn},551:{n:"BrtLegacyDrawing"},552:{n:"BrtLegacyDrawingHF"},553:{n:"BrtWebOpt"},554:{n:"BrtBeginWebPubItems"},555:{n:"BrtEndWebPubItems"},556:{n:"BrtBeginWebPubItem"},557:{n:"BrtEndWebPubItem"},558:{n:"BrtBeginSXCondFmt"},559:{n:"BrtEndSXCondFmt"},560:{n:"BrtBeginSXCondFmts"},561:{n:"BrtEndSXCondFmts"},562:{n:"BrtBkHim"},564:{n:"BrtColor"},565:{n:"BrtBeginIndexedColors"},566:{n:"BrtEndIndexedColors"},569:{n:"BrtBeginMRUColors"},570:{n:"BrtEndMRUColors"},572:{n:"BrtMRUColor"},573:{n:"BrtBeginDVals"},574:{n:"BrtEndDVals"},577:{n:"BrtSupNameStart"},578:{n:"BrtSupNameValueStart"},579:{n:"BrtSupNameValueEnd"},580:{n:"BrtSupNameNum"},581:{n:"BrtSupNameErr"},582:{n:"BrtSupNameSt"},583:{n:"BrtSupNameNil"},584:{n:"BrtSupNameBool"},585:{n:"BrtSupNameFmla"},586:{n:"BrtSupNameBits"},587:{n:"BrtSupNameEnd"},588:{n:"BrtEndSupBook"},589:{n:"BrtCellSmartTagProperty"},590:{n:"BrtBeginCellSmartTag"},591:{n:"BrtEndCellSmartTag"},592:{n:"BrtBeginCellSmartTags"},593:{n:"BrtEndCellSmartTags"},594:{n:"BrtBeginSmartTags"},595:{n:"BrtEndSmartTags"},596:{n:"BrtSmartTagType"},597:{n:"BrtBeginSmartTagTypes"},598:{n:"BrtEndSmartTagTypes"},599:{n:"BrtBeginSXFilters"},600:{n:"BrtEndSXFilters"},601:{n:"BrtBeginSXFILTER"},602:{n:"BrtEndSXFilter"},603:{n:"BrtBeginFills"},604:{n:"BrtEndFills"},605:{n:"BrtBeginCellWatches"},606:{n:"BrtEndCellWatches"},607:{n:"BrtCellWatch"},608:{n:"BrtBeginCRErrs"},609:{n:"BrtEndCRErrs"},610:{n:"BrtCrashRecErr"},611:{n:"BrtBeginFonts"},612:{n:"BrtEndFonts"},613:{n:"BrtBeginBorders"},614:{n:"BrtEndBorders"},615:{n:"BrtBeginFmts"},616:{n:"BrtEndFmts"},617:{n:"BrtBeginCellXFs"},618:{n:"BrtEndCellXFs"},619:{n:"BrtBeginStyles"},620:{n:"BrtEndStyles"},625:{n:"BrtBigName"},626:{n:"BrtBeginCellStyleXFs"},627:{n:"BrtEndCellStyleXFs"},628:{n:"BrtBeginComments"},629:{n:"BrtEndComments"},630:{n:"BrtBeginCommentAuthors"},631:{n:"BrtEndCommentAuthors"},632:{n:"BrtCommentAuthor",f:fo},633:{n:"BrtBeginCommentList"},634:{n:"BrtEndCommentList"},635:{n:"BrtBeginComment",f:function(e){var t={};t.iauthor=e._R(4);var n=_n(e,16);return t.rfx=n.s,t.ref=Xt(n.s),e.l+=16,t}},636:{n:"BrtEndComment"},637:{n:"BrtCommentText",f:ln},638:{n:"BrtBeginOleObjects"},639:{n:"BrtOleObject"},640:{n:"BrtEndOleObjects"},641:{n:"BrtBeginSxrules"},642:{n:"BrtEndSxRules"},643:{n:"BrtBeginActiveXControls"},644:{n:"BrtActiveX"},645:{n:"BrtEndActiveXControls"},646:{n:"BrtBeginPCDSDTCEMembersSortBy"},648:{n:"BrtBeginCellIgnoreECs"},649:{n:"BrtCellIgnoreEC"},650:{n:"BrtEndCellIgnoreECs"},651:{n:"BrtCsProp",f:function(e,t){return e.l+=10,{name:rn(e)}}},652:{n:"BrtCsPageSetup"},653:{n:"BrtBeginUserCsViews"},654:{n:"BrtEndUserCsViews"},655:{n:"BrtBeginUserCsView"},656:{n:"BrtEndUserCsView"},657:{n:"BrtBeginPcdSFCIEntries"},658:{n:"BrtEndPCDSFCIEntries"},659:{n:"BrtPCDSFCIEntry"},660:{n:"BrtBeginListParts"},661:{n:"BrtListPart"},662:{n:"BrtEndListParts"},663:{n:"BrtSheetCalcProp"},664:{n:"BrtBeginFnGroup"},665:{n:"BrtFnGroup"},666:{n:"BrtEndFnGroup"},667:{n:"BrtSupAddin"},668:{n:"BrtSXTDMPOrder"},669:{n:"BrtCsProtection"},671:{n:"BrtBeginWsSortMap"},672:{n:"BrtEndWsSortMap"},673:{n:"BrtBeginRRSort"},674:{n:"BrtEndRRSort"},675:{n:"BrtRRSortItem"},676:{n:"BrtFileSharingIso"},677:{n:"BrtBookProtectionIso"},678:{n:"BrtSheetProtectionIso"},679:{n:"BrtCsProtectionIso"},680:{n:"BrtRangeProtectionIso"},681:{n:"BrtDValList"},1024:{n:"BrtRwDescent"},1025:{n:"BrtKnownFonts"},1026:{n:"BrtBeginSXTupleSet"},1027:{n:"BrtEndSXTupleSet"},1028:{n:"BrtBeginSXTupleSetHeader"},1029:{n:"BrtEndSXTupleSetHeader"},1030:{n:"BrtSXTupleSetHeaderItem"},1031:{n:"BrtBeginSXTupleSetData"},1032:{n:"BrtEndSXTupleSetData"},1033:{n:"BrtBeginSXTupleSetRow"},1034:{n:"BrtEndSXTupleSetRow"},1035:{n:"BrtSXTupleSetRowItem"},1036:{n:"BrtNameExt"},1037:{n:"BrtPCDH14"},1038:{n:"BrtBeginPCDCalcMem14"},1039:{n:"BrtEndPCDCalcMem14"},1040:{n:"BrtSXTH14"},1041:{n:"BrtBeginSparklineGroup"},1042:{n:"BrtEndSparklineGroup"},1043:{n:"BrtSparkline"},1044:{n:"BrtSXDI14"},1045:{n:"BrtWsFmtInfoEx14"},1046:{n:"BrtBeginConditionalFormatting14"},1047:{n:"BrtEndConditionalFormatting14"},1048:{n:"BrtBeginCFRule14"},1049:{n:"BrtEndCFRule14"},1050:{n:"BrtCFVO14"},1051:{n:"BrtBeginDatabar14"},1052:{n:"BrtBeginIconSet14"},1053:{n:"BrtDVal14",f:function(){}},1054:{n:"BrtBeginDVals14"},1055:{n:"BrtColor14"},1056:{n:"BrtBeginSparklines"},1057:{n:"BrtEndSparklines"},1058:{n:"BrtBeginSparklineGroups"},1059:{n:"BrtEndSparklineGroups"},1061:{n:"BrtSXVD14"},1062:{n:"BrtBeginSXView14"},1063:{n:"BrtEndSXView14"},1064:{n:"BrtBeginSXView16"},1065:{n:"BrtEndSXView16"},1066:{n:"BrtBeginPCD14"},1067:{n:"BrtEndPCD14"},1068:{n:"BrtBeginExtConn14"},1069:{n:"BrtEndExtConn14"},1070:{n:"BrtBeginSlicerCacheIDs"},1071:{n:"BrtEndSlicerCacheIDs"},1072:{n:"BrtBeginSlicerCacheID"},1073:{n:"BrtEndSlicerCacheID"},1075:{n:"BrtBeginSlicerCache"},1076:{n:"BrtEndSlicerCache"},1077:{n:"BrtBeginSlicerCacheDef"},1078:{n:"BrtEndSlicerCacheDef"},1079:{n:"BrtBeginSlicersEx"},1080:{n:"BrtEndSlicersEx"},1081:{n:"BrtBeginSlicerEx"},1082:{n:"BrtEndSlicerEx"},1083:{n:"BrtBeginSlicer"},1084:{n:"BrtEndSlicer"},1085:{n:"BrtSlicerCachePivotTables"},1086:{n:"BrtBeginSlicerCacheOlapImpl"},1087:{n:"BrtEndSlicerCacheOlapImpl"},1088:{n:"BrtBeginSlicerCacheLevelsData"},1089:{n:"BrtEndSlicerCacheLevelsData"},1090:{n:"BrtBeginSlicerCacheLevelData"},1091:{n:"BrtEndSlicerCacheLevelData"},1092:{n:"BrtBeginSlicerCacheSiRanges"},1093:{n:"BrtEndSlicerCacheSiRanges"},1094:{n:"BrtBeginSlicerCacheSiRange"},1095:{n:"BrtEndSlicerCacheSiRange"},1096:{n:"BrtSlicerCacheOlapItem"},1097:{n:"BrtBeginSlicerCacheSelections"},1098:{n:"BrtSlicerCacheSelection"},1099:{n:"BrtEndSlicerCacheSelections"},1100:{n:"BrtBeginSlicerCacheNative"},1101:{n:"BrtEndSlicerCacheNative"},1102:{n:"BrtSlicerCacheNativeItem"},1103:{n:"BrtRangeProtection14"},1104:{n:"BrtRangeProtectionIso14"},1105:{n:"BrtCellIgnoreEC14"},1111:{n:"BrtList14"},1112:{n:"BrtCFIcon"},1113:{n:"BrtBeginSlicerCachesPivotCacheIDs"},1114:{n:"BrtEndSlicerCachesPivotCacheIDs"},1115:{n:"BrtBeginSlicers"},1116:{n:"BrtEndSlicers"},1117:{n:"BrtWbProp14"},1118:{n:"BrtBeginSXEdit"},1119:{n:"BrtEndSXEdit"},1120:{n:"BrtBeginSXEdits"},1121:{n:"BrtEndSXEdits"},1122:{n:"BrtBeginSXChange"},1123:{n:"BrtEndSXChange"},1124:{n:"BrtBeginSXChanges"},1125:{n:"BrtEndSXChanges"},1126:{n:"BrtSXTupleItems"},1128:{n:"BrtBeginSlicerStyle"},1129:{n:"BrtEndSlicerStyle"},1130:{n:"BrtSlicerStyleElement"},1131:{n:"BrtBeginStyleSheetExt14"},1132:{n:"BrtEndStyleSheetExt14"},1133:{n:"BrtBeginSlicerCachesPivotCacheID"},1134:{n:"BrtEndSlicerCachesPivotCacheID"},1135:{n:"BrtBeginConditionalFormattings"},1136:{n:"BrtEndConditionalFormattings"},1137:{n:"BrtBeginPCDCalcMemExt"},1138:{n:"BrtEndPCDCalcMemExt"},1139:{n:"BrtBeginPCDCalcMemsExt"},1140:{n:"BrtEndPCDCalcMemsExt"},1141:{n:"BrtPCDField14"},1142:{n:"BrtBeginSlicerStyles"},1143:{n:"BrtEndSlicerStyles"},1144:{n:"BrtBeginSlicerStyleElements"},1145:{n:"BrtEndSlicerStyleElements"},1146:{n:"BrtCFRuleExt"},1147:{n:"BrtBeginSXCondFmt14"},1148:{n:"BrtEndSXCondFmt14"},1149:{n:"BrtBeginSXCondFmts14"},1150:{n:"BrtEndSXCondFmts14"},1152:{n:"BrtBeginSortCond14"},1153:{n:"BrtEndSortCond14"},1154:{n:"BrtEndDVals14"},1155:{n:"BrtEndIconSet14"},1156:{n:"BrtEndDatabar14"},1157:{n:"BrtBeginColorScale14"},1158:{n:"BrtEndColorScale14"},1159:{n:"BrtBeginSxrules14"},1160:{n:"BrtEndSxrules14"},1161:{n:"BrtBeginPRule14"},1162:{n:"BrtEndPRule14"},1163:{n:"BrtBeginPRFilters14"},1164:{n:"BrtEndPRFilters14"},1165:{n:"BrtBeginPRFilter14"},1166:{n:"BrtEndPRFilter14"},1167:{n:"BrtBeginPRFItem14"},1168:{n:"BrtEndPRFItem14"},1169:{n:"BrtBeginCellIgnoreECs14"},1170:{n:"BrtEndCellIgnoreECs14"},1171:{n:"BrtDxf14"},1172:{n:"BrtBeginDxF14s"},1173:{n:"BrtEndDxf14s"},1177:{n:"BrtFilter14"},1178:{n:"BrtBeginCustomFilters14"},1180:{n:"BrtCustomFilter14"},1181:{n:"BrtIconFilter14"},1182:{n:"BrtPivotCacheConnectionName"},2048:{n:"BrtBeginDecoupledPivotCacheIDs"},2049:{n:"BrtEndDecoupledPivotCacheIDs"},2050:{n:"BrtDecoupledPivotCacheID"},2051:{n:"BrtBeginPivotTableRefs"},2052:{n:"BrtEndPivotTableRefs"},2053:{n:"BrtPivotTableRef"},2054:{n:"BrtSlicerCacheBookPivotTables"},2055:{n:"BrtBeginSxvcells"},2056:{n:"BrtEndSxvcells"},2057:{n:"BrtBeginSxRow"},2058:{n:"BrtEndSxRow"},2060:{n:"BrtPcdCalcMem15"},2067:{n:"BrtQsi15"},2068:{n:"BrtBeginWebExtensions"},2069:{n:"BrtEndWebExtensions"},2070:{n:"BrtWebExtension"},2071:{n:"BrtAbsPath15"},2072:{n:"BrtBeginPivotTableUISettings"},2073:{n:"BrtEndPivotTableUISettings"},2075:{n:"BrtTableSlicerCacheIDs"},2076:{n:"BrtTableSlicerCacheID"},2077:{n:"BrtBeginTableSlicerCache"},2078:{n:"BrtEndTableSlicerCache"},2079:{n:"BrtSxFilter15"},2080:{n:"BrtBeginTimelineCachePivotCacheIDs"},2081:{n:"BrtEndTimelineCachePivotCacheIDs"},2082:{n:"BrtTimelineCachePivotCacheID"},2083:{n:"BrtBeginTimelineCacheIDs"},2084:{n:"BrtEndTimelineCacheIDs"},2085:{n:"BrtBeginTimelineCacheID"},2086:{n:"BrtEndTimelineCacheID"},2087:{n:"BrtBeginTimelinesEx"},2088:{n:"BrtEndTimelinesEx"},2089:{n:"BrtBeginTimelineEx"},2090:{n:"BrtEndTimelineEx"},2091:{n:"BrtWorkBookPr15"},2092:{n:"BrtPCDH15"},2093:{n:"BrtBeginTimelineStyle"},2094:{n:"BrtEndTimelineStyle"},2095:{n:"BrtTimelineStyleElement"},2096:{n:"BrtBeginTimelineStylesheetExt15"},2097:{n:"BrtEndTimelineStylesheetExt15"},2098:{n:"BrtBeginTimelineStyles"},2099:{n:"BrtEndTimelineStyles"},2100:{n:"BrtBeginTimelineStyleElements"},2101:{n:"BrtEndTimelineStyleElements"},2102:{n:"BrtDxf15"},2103:{n:"BrtBeginDxfs15"},2104:{n:"brtEndDxfs15"},2105:{n:"BrtSlicerCacheHideItemsWithNoData"},2106:{n:"BrtBeginItemUniqueNames"},2107:{n:"BrtEndItemUniqueNames"},2108:{n:"BrtItemUniqueName"},2109:{n:"BrtBeginExtConn15"},2110:{n:"BrtEndExtConn15"},2111:{n:"BrtBeginOledbPr15"},2112:{n:"BrtEndOledbPr15"},2113:{n:"BrtBeginDataFeedPr15"},2114:{n:"BrtEndDataFeedPr15"},2115:{n:"BrtTextPr15"},2116:{n:"BrtRangePr15"},2117:{n:"BrtDbCommand15"},2118:{n:"BrtBeginDbTables15"},2119:{n:"BrtEndDbTables15"},2120:{n:"BrtDbTable15"},2121:{n:"BrtBeginDataModel"},2122:{n:"BrtEndDataModel"},2123:{n:"BrtBeginModelTables"},2124:{n:"BrtEndModelTables"},2125:{n:"BrtModelTable"},2126:{n:"BrtBeginModelRelationships"},2127:{n:"BrtEndModelRelationships"},2128:{n:"BrtModelRelationship"},2129:{n:"BrtBeginECTxtWiz15"},2130:{n:"BrtEndECTxtWiz15"},2131:{n:"BrtBeginECTWFldInfoLst15"},2132:{n:"BrtEndECTWFldInfoLst15"},2133:{n:"BrtBeginECTWFldInfo15"},2134:{n:"BrtFieldListActiveItem"},2135:{n:"BrtPivotCacheIdVersion"},2136:{n:"BrtSXDI15"},2137:{n:"BrtBeginModelTimeGroupings"},2138:{n:"BrtEndModelTimeGroupings"},2139:{n:"BrtBeginModelTimeGrouping"},2140:{n:"BrtEndModelTimeGrouping"},2141:{n:"BrtModelTimeGroupingCalcCol"},3072:{n:"BrtUid"},3073:{n:"BrtRevisionPtr"},5095:{n:"BrtBeginCalcFeatures"},5096:{n:"BrtEndCalcFeatures"},5097:{n:"BrtCalcFeature"},65535:{n:""}},dc=j(hc,"n");dc.BrtFRTArchID$=16;var pc={3:{n:"BIFF2NUM",f:function(e){var t=ra(e);++e.l;var n=An(e);return t.t="n",t.val=n,t}},4:{n:"BIFF2STR",f:function(e,t,n){n.biffguess&&5==n.biff&&(n.biff=2);var r=ra(e);++e.l;var a=Yr(e,0,n);return r.t="str",r.val=a,r}},6:{n:"Formula",f:is},9:{n:"BOF",f:pa},10:{n:"EOF",f:Dr},12:{n:"CalcCount",f:Wr},13:{n:"CalcMode",f:Wr},14:{n:"CalcPrecision",f:Mr},15:{n:"CalcRefMode",f:Mr},16:{n:"CalcDelta",f:An},17:{n:"CalcIter",f:Mr},18:{n:"Protect",f:Mr},19:{n:"Password",f:Wr},20:{n:"Header",f:Ea},21:{n:"Footer",f:Ea},23:{n:"ExternSheet",f:Ca},24:{n:"Lbl",f:Aa},25:{n:"WinProtect",f:Mr},26:{n:"VerticalPageBreaks"},27:{n:"HorizontalPageBreaks"},28:{n:"Note",f:function(e,t,n){return function(e,t,n){if(!(n.biff<8)){var r=e._R(2),a=e._R(2),i=e._R(2),o=e._R(2),s=Yr(e,0,n);return n.biff<8&&e._R(1),[{r:r,c:a},s,o,i]}}(e,0,n)}},29:{n:"Selection"},34:{n:"Date1904",f:Mr},35:{n:"ExternName",f:_a},36:{n:"COLWIDTH"},38:{n:"LeftMargin",f:An},39:{n:"RightMargin",f:An},40:{n:"TopMargin",f:An},41:{n:"BottomMargin",f:An},42:{n:"PrintRowCol",f:Mr},43:{n:"PrintGrid",f:Mr},47:{n:"FilePass",f:function(e,t,n){var r={Type:n.biff>=8?e._R(2):0};return r.Type?di(e,t-2,r):function(e,t,n,r){var a={key:Wr(e),verificationBytes:Wr(e)};n.password&&(a.verifier=ui(n.password)),r.valid=a.verificationBytes===a.verifier,r.valid&&(r.insitu=hi(n.password))}(e,n.biff,n,r),r}},49:{n:"Font",f:function(e,t,n){var r={dyHeight:e._R(2),fl:e._R(2)};switch(n&&n.biff||8){case 2:break;case 3:case 4:e.l+=2;break;default:e.l+=10}return r.name=Vr(e,0,n),r}},51:{n:"PrintSize",f:Wr},60:{n:"Continue"},61:{n:"Window1",f:function(e){return{Pos:[e._R(2),e._R(2)],Dim:[e._R(2),e._R(2)],Flags:e._R(2),CurTab:e._R(2),FirstTab:e._R(2),Selected:e._R(2),TabRatio:e._R(2)}}},64:{n:"Backup",f:Mr},65:{n:"Pane",f:function(){}},66:{n:"CodePage",f:Wr},77:{n:"Pls"},80:{n:"DCon"},81:{n:"DConRef"},82:{n:"DConName"},85:{n:"DefColWidth",f:Wr},89:{n:"XCT"},90:{n:"CRN"},91:{n:"FileSharing"},92:{n:"WriteAccess",f:function(e,t,n){if(n.enc)return e.l+=t,"";var r=e.l,a=Yr(e,0,n);return e._R(t+r-e.l),a}},93:{n:"Obj",f:function(e,t,n){if(n&&n.biff<8)return function(e,t,n){e.l+=4;var r=e._R(2),a=e._R(2),i=e._R(2);e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=6,t-=36;var o=[];return o.push((Ra[r]||Lt)(e,t,n)),{cmo:[a,r,i],ft:o}}(e,t,n);var r=fa(e),a=function(e,t){for(var n=e.l+t,r=[];e.l<n;){var a=e._R(2);e.l-=2;try{r.push(da[a](e,n-e.l))}catch(t){return e.l=n,r}}return e.l!=n&&(e.l=n),r}(e,t-22,r[1]);return{cmo:r,ft:a}}},94:{n:"Uncalced"},95:{n:"CalcSaveRecalc",f:Mr},96:{n:"Template"},97:{n:"Intl"},99:{n:"ObjProtect",f:Mr},125:{n:"ColInfo",f:Ia},128:{n:"Guts",f:function(e){e.l+=4;var t=[e._R(2),e._R(2)];if(0!==t[0]&&t[0]--,0!==t[1]&&t[1]--,t[0]>7||t[1]>7)throw new Error("Bad Gutters: "+t.join("|"));return t}},129:{n:"WsBool",f:function(e,t,n){var r=n&&8==n.biff||2==t?e._R(2):(e.l+=t,0);return{fDialog:16&r,fBelow:64&r,fRight:128&r}}},130:{n:"GridSet",f:Wr},131:{n:"HCenter",f:Mr},132:{n:"VCenter",f:Mr},133:{n:"BoundSheet8",f:function(e,t,n){var r=e._R(4),a=3&e._R(1),i=e._R(1);switch(i){case 0:i="Worksheet";break;case 1:i="Macrosheet";break;case 2:i="Chartsheet";break;case 6:i="VBAModule"}var o=Vr(e,0,n);return 0===o.length&&(o="Sheet1"),{pos:r,hs:a,dt:i,name:o}}},134:{n:"WriteProtect"},140:{n:"Country",f:function(e){var t,n=[0,0];return t=e._R(2),n[0]=Wn[t]||t,t=e._R(2),n[1]=Wn[t]||t,n}},141:{n:"HideObj",f:Wr},144:{n:"Sort"},146:{n:"Palette",f:function(e){for(var t=e._R(2),n=[];t-- >0;)n.push(na(e));return n}},151:{n:"Sync"},152:{n:"LPr"},153:{n:"DxGCol"},154:{n:"FnGroupName"},155:{n:"FilterMode"},156:{n:"BuiltInFnGroupCount",f:Wr},157:{n:"AutoFilterInfo"},158:{n:"AutoFilter"},160:{n:"Scl",f:Oa},161:{n:"Setup",f:function(e,t){var n={};return t<32?n:(e.l+=16,n.header=An(e),n.footer=An(e),e.l+=2,n)}},174:{n:"ScenMan"},175:{n:"SCENARIO"},176:{n:"SxView"},177:{n:"Sxvd"},178:{n:"SXVI"},180:{n:"SxIvd"},181:{n:"SXLI"},182:{n:"SXPI"},184:{n:"DocRoute"},185:{n:"RecipName"},189:{n:"MulRk",f:function(e,t){for(var n=e.l+t-2,r=e._R(2),a=e._R(2),i=[];e.l<n;)i.push(oa(e));if(e.l!==n)throw new Error("MulRK read error");var o=e._R(2);if(i.length!=o-a+1)throw new Error("MulRK length mismatch");return{r:r,c:a,C:o,rkrec:i}}},190:{n:"MulBlank",f:function(e,t){for(var n=e.l+t-2,r=e._R(2),a=e._R(2),i=[];e.l<n;)i.push(e._R(2));if(e.l!==n)throw new Error("MulBlank read error");var o=e._R(2);if(i.length!=o-a+1)throw new Error("MulBlank length mismatch");return{r:r,c:a,C:o,ixfe:i}}},193:{n:"Mms",f:Dr},197:{n:"SXDI"},198:{n:"SXDB"},199:{n:"SXFDB"},200:{n:"SXDBB"},201:{n:"SXNum"},202:{n:"SxBool",f:Mr},203:{n:"SxErr"},204:{n:"SXInt"},205:{n:"SXString"},206:{n:"SXDtr"},207:{n:"SxNil"},208:{n:"SXTbl"},209:{n:"SXTBRGIITM"},210:{n:"SxTbpg"},211:{n:"ObProj"},213:{n:"SXStreamID"},215:{n:"DBCell"},216:{n:"SXRng"},217:{n:"SxIsxoper"},218:{n:"BookBool",f:Wr},220:{n:"DbOrParamQry"},221:{n:"ScenarioProtect",f:Mr},222:{n:"OleObjectSize"},224:{n:"XF",f:function(e,t,n){var r={};return r.ifnt=e._R(2),r.numFmtId=e._R(2),r.flags=e._R(2),r.fStyle=r.flags>>2&1,r.data=function(e,t,n,r){var a={},i=e._R(4),o=e._R(4),s=e._R(4),l=e._R(2);return a.patternType=Un[s>>26],r.cellStyles?(a.alc=7&i,a.fWrap=i>>3&1,a.alcV=i>>4&7,a.fJustLast=i>>7&1,a.trot=i>>8&255,a.cIndent=i>>16&15,a.fShrinkToFit=i>>20&1,a.iReadOrder=i>>22&2,a.fAtrNum=i>>26&1,a.fAtrFnt=i>>27&1,a.fAtrAlc=i>>28&1,a.fAtrBdr=i>>29&1,a.fAtrPat=i>>30&1,a.fAtrProt=i>>31&1,a.dgLeft=15&o,a.dgRight=o>>4&15,a.dgTop=o>>8&15,a.dgBottom=o>>12&15,a.icvLeft=o>>16&127,a.icvRight=o>>23&127,a.grbitDiag=o>>30&3,a.icvTop=127&s,a.icvBottom=s>>7&127,a.icvDiag=s>>14&127,a.dgDiag=s>>21&15,a.icvFore=127&l,a.icvBack=l>>7&127,a.fsxButton=l>>14&1,a):a}(e,0,r.fStyle,n),r}},225:{n:"InterfaceHdr",f:function(e,t){return 0===t?1200:(e._R(2),1200)}},226:{n:"InterfaceEnd",f:Dr},227:{n:"SXVS"},229:{n:"MergeCells",f:function(e,t){for(var n=[],r=e._R(2);r--;)n.push(sa(e));return n}},233:{n:"BkHim"},235:{n:"MsoDrawingGroup"},236:{n:"MsoDrawing"},237:{n:"MsoDrawingSelection"},239:{n:"PhoneticInfo"},240:{n:"SxRule"},241:{n:"SXEx"},242:{n:"SxFilt"},244:{n:"SxDXF"},245:{n:"SxItm"},246:{n:"SxName"},247:{n:"SxSelect"},248:{n:"SXPair"},249:{n:"SxFmla"},251:{n:"SxFormat"},252:{n:"SST",f:function(e,t){for(var n=e.l+t,r=e._R(4),a=e._R(4),i=[],o=0;o!=a&&e.l<n;++o)i.push(qr(e));return i.Count=r,i.Unique=a,i}},253:{n:"LabelSst",f:function(e){var t=ra(e);return t.isst=e._R(4),t}},255:{n:"ExtSST",f:function(e,t){var n={};return n.dsst=e._R(2),e.l+=t-2,n}},256:{n:"SXVDEx"},259:{n:"SXFormula"},290:{n:"SXDBEx"},311:{n:"RRDInsDel"},312:{n:"RRDHead"},315:{n:"RRDChgCell"},317:{n:"RRTabId",f:zr},318:{n:"RRDRenSheet"},319:{n:"RRSort"},320:{n:"RRDMove"},330:{n:"RRFormat"},331:{n:"RRAutoFmt"},333:{n:"RRInsertSh"},334:{n:"RRDMoveBegin"},335:{n:"RRDMoveEnd"},336:{n:"RRDInsDelBegin"},337:{n:"RRDInsDelEnd"},338:{n:"RRDConflict"},339:{n:"RRDDefName"},340:{n:"RRDRstEtxp"},351:{n:"LRng"},352:{n:"UsesELFs",f:Mr},353:{n:"DSF",f:Dr},401:{n:"CUsr"},402:{n:"CbUsr"},403:{n:"UsrInfo"},404:{n:"UsrExcl"},405:{n:"FileLock"},406:{n:"RRDInfo"},407:{n:"BCUsrs"},408:{n:"UsrChk"},425:{n:"UserBView"},426:{n:"UserSViewBegin"},427:{n:"UserSViewEnd"},428:{n:"RRDUserView"},429:{n:"Qsi"},430:{n:"SupBook",f:function(e,t,n){var r=e.l+t,a=e._R(2),i=e._R(2);if(n.sbcch=i,1025==i||14849==i)return[i,a];if(i<1||i>255)throw new Error("Unexpected SupBook type: "+i);for(var o=Xr(e,i),s=[];r>e.l;)s.push($r(e));return[i,a,o,s]}},431:{n:"Prot4Rev",f:Mr},432:{n:"CondFmt"},433:{n:"CF"},434:{n:"DVal"},437:{n:"DConBin"},438:{n:"TxO",f:function(e,t,n){var r=e.l,a="";try{e.l+=4;var i=(n.lastobj||{cmo:[0,0]}).cmo[1];-1==[0,5,7,11,12,14].indexOf(i)?e.l+=6:function(e){var t=e._R(1);e.l++;var n=e._R(2);e.l+=2}(e);var o=e._R(2);e._R(2),Wr(e);var s=e._R(2);e.l+=s;for(var l=1;l<e.lens.length-1;++l){if(e.l-r!=e.lens[l])throw new Error("TxO: bad continue record");var c=e[e.l];if((a+=Xr(e,e.lens[l+1]-e.lens[l]-1)).length>=(c?o:2*o))break}if(a.length!==o&&a.length!==2*o)throw new Error("cchText: "+o+" != "+a.length);return e.l=r+t,{t:a}}catch(n){return e.l=r+t,{t:a}}}},439:{n:"RefreshAll",f:Mr},440:{n:"HLink",f:function(e,t){var n=sa(e);return e.l+=16,[n,function(e,t){var n=e.l+t,r=e._R(4);if(2!==r)throw new Error("Unrecognized streamVersion: "+r);var a=e._R(2);e.l+=2;var i,o,s,l,c,u,f="";16&a&&(i=Zr(e,e.l)),128&a&&(o=Zr(e,e.l)),257==(257&a)&&(s=Zr(e,e.l)),1==(257&a)&&(l=Jr(e,e.l)),8&a&&(f=Zr(e,e.l)),32&a&&(c=e._R(16)),64&a&&(u=Sr(e)),e.l=n;var h=o||s||l||"";h&&f&&(h+="#"+f),h||(h="#"+f),2&a&&"/"==h.charAt(0)&&"/"!=h.charAt(1)&&(h="file://"+h);var d={Target:h};return c&&(d.guid=c),u&&(d.time=u),i&&(d.Tooltip=i),d}(e,t-24)]}},441:{n:"Lel"},442:{n:"CodeName",f:$r},443:{n:"SXFDBType"},444:{n:"Prot4RevPass",f:Wr},445:{n:"ObNoMacros"},446:{n:"Dv"},448:{n:"Excel9File",f:Dr},449:{n:"RecalcId",f:function(e){return e._R(2),e._R(4)},r:2},450:{n:"EntExU2",f:Dr},512:{n:"Dimensions",f:wa},513:{n:"Blank",f:La},515:{n:"Number",f:function(e,t,n){n.biffguess&&2==n.biff&&(n.biff=5);var r=ra(e),a=An(e);return r.val=a,r}},516:{n:"Label",f:function(e,t,n){n.biffguess&&2==n.biff&&(n.biff=5),e.l;var r=ra(e);2==n.biff&&e.l++;var a=$r(e,e.l,n);return r.val=a,r}},517:{n:"BoolErr",f:xa},518:{n:"Formula",f:is},519:{n:"String",f:Pa},520:{n:"Row",f:function(e){var t={};t.r=e._R(2),t.c=e._R(2),t.cnt=e._R(2)-t.c;var n=e._R(2);e.l+=4;var r=e._R(1);return e.l+=3,7&r&&(t.level=7&r),32&r&&(t.hidden=!0),64&r&&(t.hpt=n/20),t}},523:{n:"Index"},545:{n:"Array",f:Ta},549:{n:"DefaultRowHeight",f:va},566:{n:"Table"},574:{n:"Window2",f:function(e,t,n){return n&&n.biff>=2&&n.biff<5?{}:{RTL:64&e._R(2)}}},638:{n:"RK",f:function(e){var t=e._R(2),n=e._R(2),r=oa(e);return{r:t,c:n,ixfe:r[0],rknum:r[1]}}},659:{n:"Style"},1030:{n:"Formula",f:is},1048:{n:"BigName"},1054:{n:"Format",f:function(e,t,n){return[e._R(2),Yr(e,0,n)]}},1084:{n:"ContinueBigName"},1212:{n:"ShrFmla",f:function(e,t,n){var r=ca(e);e.l++;var a=e._R(1);return[as(e,t-=8,n),a,r]}},2048:{n:"HLinkTooltip",f:function(e,t){e._R(2);var n=sa(e),r=e._R((t-10)/2,"dbcs-cont");return[n,r=r.replace(A,"")]}},2049:{n:"WebPub"},2050:{n:"QsiSXTag"},2051:{n:"DBQueryExt"},2052:{n:"ExtString"},2053:{n:"TxtQry"},2054:{n:"Qsir"},2055:{n:"Qsif"},2056:{n:"RRDTQSIF"},2057:{n:"BOF",f:pa},2058:{n:"OleDbConn"},2059:{n:"WOpt"},2060:{n:"SXViewEx"},2061:{n:"SXTH"},2062:{n:"SXPIEx"},2063:{n:"SXVDTEx"},2064:{n:"SXViewEx9"},2066:{n:"ContinueFrt"},2067:{n:"RealTimeData"},2128:{n:"ChartFrtInfo"},2129:{n:"FrtWrapper"},2130:{n:"StartBlock"},2131:{n:"EndBlock"},2132:{n:"StartObject"},2133:{n:"EndObject"},2134:{n:"CatLab"},2135:{n:"YMult"},2136:{n:"SXViewLink"},2137:{n:"PivotChartBits"},2138:{n:"FrtFontList"},2146:{n:"SheetExt"},2147:{n:"BookExt",r:12},2148:{n:"SXAddl"},2149:{n:"CrErr"},2150:{n:"HFPicture"},2151:{n:"FeatHdr",f:Dr},2152:{n:"Feat"},2154:{n:"DataLabExt"},2155:{n:"DataLabExtContents"},2156:{n:"CellWatch"},2161:{n:"FeatHdr11"},2162:{n:"Feature11"},2164:{n:"DropDownObjIds"},2165:{n:"ContinueFrt11"},2166:{n:"DConn"},2167:{n:"List12"},2168:{n:"Feature12"},2169:{n:"CondFmt12"},2170:{n:"CF12"},2171:{n:"CFEx"},2172:{n:"XFCRC",f:function(e){e.l+=2;var t={cxfs:0,crc:0};return t.cxfs=e._R(2),t.crc=e._R(4),t},r:12},2173:{n:"XFExt",f:function(e,t){e.l,e.l+=2;var n=e._R(2);e.l+=2;for(var r=e._R(2),a=[];r-- >0;)a.push(oo(e,e.l));return{ixfe:n,ext:a}},r:12},2174:{n:"AutoFilter12"},2175:{n:"ContinueFrt12"},2180:{n:"MDTInfo"},2181:{n:"MDXStr"},2182:{n:"MDXTuple"},2183:{n:"MDXSet"},2184:{n:"MDXProp"},2185:{n:"MDXKPI"},2186:{n:"MDB"},2187:{n:"PLV"},2188:{n:"Compat12",f:Mr,r:12},2189:{n:"DXF"},2190:{n:"TableStyles",r:12},2191:{n:"TableStyle"},2192:{n:"TableStyleElement"},2194:{n:"StyleExt"},2195:{n:"NamePublish"},2196:{n:"NameCmt",f:function(e,t,n){if(!(n.biff<8)){var r=e._R(2),a=e._R(2);return[Xr(e,r,n),Xr(e,a,n)]}e.l+=t},r:12},2197:{n:"SortData"},2198:{n:"Theme",f:function(e,t,n){var r=e.l+t;if(124226!==e._R(4))if(n.cellStyles){var a,i=e.slice(e.l);e.l=r;try{a=pe(i,{type:"array"})}catch(e){return}var o=fe(a,"theme/theme/theme1.xml",!0);if(o)return ro(o,n)}else e.l=r},r:12},2199:{n:"GUIDTypeLib"},2200:{n:"FnGrp12"},2201:{n:"NameFnGrp12"},2202:{n:"MTRSettings",f:function(e){return[0!==e._R(4),0!==e._R(4),e._R(4)]},r:12},2203:{n:"CompressPictures",f:Dr},2204:{n:"HeaderFooter"},2205:{n:"CrtLayout12"},2206:{n:"CrtMlFrt"},2207:{n:"CrtMlFrtContinue"},2211:{n:"ForceFullCalculation",f:function(e){var t=function(e){var t=e._R(2),n=e._R(2);return e.l+=8,{type:t,flags:n}}(e);if(2211!=t.type)throw new Error("Invalid Future Record "+t.type);return 0!==e._R(4)}},2212:{n:"ShapePropsStream"},2213:{n:"TextPropsStream"},2214:{n:"RichTextStream"},2215:{n:"CrtLayout12A"},4097:{n:"Units"},4098:{n:"Chart"},4099:{n:"Series"},4102:{n:"DataFormat"},4103:{n:"LineFormat"},4105:{n:"MarkerFormat"},4106:{n:"AreaFormat"},4107:{n:"PieFormat"},4108:{n:"AttachedLabel"},4109:{n:"SeriesText"},4116:{n:"ChartFormat"},4117:{n:"Legend"},4118:{n:"SeriesList"},4119:{n:"Bar"},4120:{n:"Line"},4121:{n:"Pie"},4122:{n:"Area"},4123:{n:"Scatter"},4124:{n:"CrtLine"},4125:{n:"Axis"},4126:{n:"Tick"},4127:{n:"ValueRange"},4128:{n:"CatSerRange"},4129:{n:"AxisLine"},4130:{n:"CrtLink"},4132:{n:"DefaultText"},4133:{n:"Text"},4134:{n:"FontX",f:Wr},4135:{n:"ObjectLink"},4146:{n:"Frame"},4147:{n:"Begin"},4148:{n:"End"},4149:{n:"PlotArea"},4154:{n:"Chart3d"},4156:{n:"PicF"},4157:{n:"DropBar"},4158:{n:"Radar"},4159:{n:"Surf"},4160:{n:"RadarArea"},4161:{n:"AxisParent"},4163:{n:"LegendException"},4164:{n:"ShtProps",f:function(e,t,n){var r={area:!1};if(5!=n.biff)return e.l+=t,r;var a=e._R(1);return e.l+=3,16&a&&(r.area=!0),r}},4165:{n:"SerToCrt"},4166:{n:"AxesUsed"},4168:{n:"SBaseRef"},4170:{n:"SerParent"},4171:{n:"SerAuxTrend"},4174:{n:"IFmtRecord"},4175:{n:"Pos"},4176:{n:"AlRuns"},4177:{n:"BRAI"},4187:{n:"SerAuxErrBar"},4188:{n:"ClrtClient",f:function(e){for(var t=e._R(2),n=[];t-- >0;)n.push(na(e));return n}},4189:{n:"SerFmt"},4191:{n:"Chart3DBarShape"},4192:{n:"Fbi"},4193:{n:"BopPop"},4194:{n:"AxcExt"},4195:{n:"Dat"},4196:{n:"PlotGrowth"},4197:{n:"SIIndex"},4198:{n:"GelFrame"},4199:{n:"BopPopCustom"},4200:{n:"Fbi2"},0:{n:"Dimensions",f:wa},2:{n:"BIFF2INT",f:function(e){var t=ra(e);++e.l;var n=e._R(2);return t.t="n",t.val=n,t}},5:{n:"BoolErr",f:xa},7:{n:"String",f:function(e){var t=e._R(1);return 0===t?(e.l++,""):e._R(t,"sbcs-cont")}},8:{n:"BIFF2ROW"},11:{n:"Index"},22:{n:"ExternCount",f:Wr},30:{n:"BIFF2FORMAT",f:ya},31:{n:"BIFF2FMTCNT"},32:{n:"BIFF2COLINFO"},33:{n:"Array",f:Ta},37:{n:"DefaultRowHeight",f:va},50:{n:"BIFF2FONTXTRA",f:function(e,t){e.l+=6,e.l+=2,e.l+=1,e.l+=3,e.l+=1,e.l+=t-13}},52:{n:"DDEObjName"},62:{n:"BIFF2WINDOW2"},67:{n:"BIFF2XF"},68:{n:"BIFF2XFINDEX",f:Wr},69:{n:"BIFF2FONTCLR"},86:{n:"BIFF4FMTCNT"},126:{n:"RK"},127:{n:"ImData",f:function(e){var t=e._R(2),n=e._R(2),r=e._R(4),a={fmt:t,env:n,len:r,data:e.slice(e.l,e.l+r)};return e.l+=r,a}},135:{n:"Addin"},136:{n:"Edg"},137:{n:"Pub"},145:{n:"Sub"},148:{n:"LHRecord"},149:{n:"LHNGraph"},150:{n:"Sound"},169:{n:"CoordList"},171:{n:"GCW"},188:{n:"ShrFmla"},191:{n:"ToolbarHdr"},192:{n:"ToolbarEnd"},194:{n:"AddMenu"},195:{n:"DelMenu"},214:{n:"RString",f:function(e,t,n){var r=e.l+t,a=ra(e),i=e._R(2),o=Xr(e,i,n);return e.l=r,a.t="str",a.val=o,a}},223:{n:"UDDesc"},234:{n:"TabIdConf"},354:{n:"XL5Modify"},421:{n:"FileSharing2"},521:{n:"BOF",f:pa},536:{n:"Lbl",f:Aa},547:{n:"ExternName",f:_a},561:{n:"Font"},579:{n:"BIFF3XF"},1033:{n:"BOF",f:pa},1091:{n:"BIFF4XF"},2157:{n:"FeatInfo"},2163:{n:"FeatInfo11"},2177:{n:"SXAddl12"},2240:{n:"AutoWebPub"},2241:{n:"ListObj"},2242:{n:"ListField"},2243:{n:"ListDV"},2244:{n:"ListCondFmt"},2245:{n:"ListCF"},2246:{n:"FMQry"},2247:{n:"FMSQry"},2248:{n:"PLV"},2249:{n:"LnExt"},2250:{n:"MkrExt"},2251:{n:"CrtCoopt"},2262:{n:"FRTArchId$",r:12},29282:{}},gc=j(pc,"n");function mc(e,t,n,r){var a=+t||+gc[t];if(!isNaN(a)){var i=r||(n||[]).length||0,o=e.next(4);o._W(2,a),o._W(2,i),i>0&&yt(n)&&e.push(n)}}function vc(e,t,n){return e||(e=Ot(7)),e._W(2,t),e._W(2,n),e._W(2,0),e._W(1,0),e}function bc(e,t,n,r){if(null!=t.v)switch(t.t){case"d":case"n":var a="d"==t.t?H(Z(t.v)):t.v;return void(a==(0|a)&&a>=0&&a<65536?mc(e,2,function(e,t,n){var r=Ot(9);return vc(r,e,t),r._W(2,n),r}(n,r,a)):mc(e,3,function(e,t,n){var r=Ot(15);return vc(r,e,t),r._W(8,n,"f"),r}(n,r,a)));case"b":case"e":return void mc(e,5,function(e,t,n,r){var a=Ot(9);return vc(a,e,t),Hr(n,r||"b",a),a}(n,r,t.v,t.t));case"s":case"str":return void mc(e,4,function(e,t,n){var r=Ot(8+2*n.length);return vc(r,e,t),r._W(1,n.length),r._W(n.length,n,"sbcs"),r.l<r.length?r.slice(0,r.l):r}(n,r,(t.v||"").slice(0,255)))}mc(e,1,vc(null,n,r))}function yc(e,t){var n=t||{};null!=d&&null==n.dense&&(n.dense=d);for(var r=Ft(),a=0,i=0;i<e.SheetNames.length;++i)e.SheetNames[i]==n.sheet&&(a=i);if(0==a&&n.sheet&&e.SheetNames[0]!=n.sheet)throw new Error("Sheet not found: "+n.sheet);return mc(r,4==n.biff?1033:3==n.biff?521:9,ga(0,16,n)),function(e,t,n,r){var a,i=Array.isArray(t),o=Kt(t["!ref"]||"A1"),s="",l=[];if(o.e.c>255||o.e.r>16383){if(r.WTF)throw new Error("Range "+(t["!ref"]||"A1")+" exceeds format limit A1:IV16384");o.e.c=Math.min(o.e.c,255),o.e.r=Math.min(o.e.c,16383),a=Yt(o)}for(var c=o.s.r;c<=o.e.r;++c){s=Ht(c);for(var u=o.s.c;u<=o.e.c;++u){c===o.s.r&&(l[u]=qt(u)),a=l[u]+s;var f=i?(t[c]||[])[u]:t[a];f&&bc(e,f,c,u)}}}(r,e.Sheets[e.SheetNames[a]],0,n),mc(r,10),r.end()}function wc(e,t,n){mc(e,"Font",function(e,t){var n=e.name||"Arial",r=t&&5==t.biff,a=Ot(r?15+n.length:16+2*n.length);return a._W(2,20*(e.sz||12)),a._W(4,0),a._W(2,400),a._W(4,0),a._W(2,0),a._W(1,n.length),r||a._W(1,1),a._W((r?1:2)*n.length,n,r?"sbcs":"utf16le"),a}({sz:12,color:{theme:1},name:"Arial",family:2,scheme:"minor"},n))}function Sc(e,t,n){if(t){var r=0;t.forEach(function(t,n){++r<=256&&t&&mc(e,"ColInfo",function(e,t){var n=Ot(12);n._W(2,t),n._W(2,t),n._W(2,256*e.width),n._W(2,0);var r=0;return e.hidden&&(r|=1),n._W(1,r),r=e.level||0,n._W(1,r),n._W(2,0),n}(_s(n,t),n))})}}function xc(e,t,n,r,a){var i=16+As(a.cellXfs,t,a);if(null!=t.v||t.bf)if(t.bf)mc(e,"Formula",os(t,n,r,0,i));else switch(t.t){case"d":case"n":mc(e,"Number",function(e,t,n,r){var a=Ot(14);return aa(e,t,r,a),Cn(n,a),a}(n,r,"d"==t.t?H(Z(t.v)):t.v,i));break;case"b":case"e":mc(e,517,function(e,t,n,r,a,i){var o=Ot(8);return aa(e,t,r,o),Hr(n,i,o),o}(n,r,t.v,i,0,t.t));break;case"s":case"str":if(a.bookSST)mc(e,"LabelSst",function(e,t,n,r){var a=Ot(10);return aa(e,t,r,a),a._W(4,n),a}(n,r,Es(a.Strings,t.v,a.revStrings),i));else mc(e,"Label",function(e,t,n,r,a){var i=!a||8==a.biff,o=Ot(+i+8+(1+i)*n.length);return aa(e,t,r,o),o._W(2,n.length),i&&o._W(1,1),o._W((1+i)*n.length,n,i?"utf16le":"sbcs"),o}(n,r,(t.v||"").slice(0,255),i,a));break;default:mc(e,"Blank",aa(n,r,i))}else mc(e,"Blank",aa(n,r,i))}function Ec(e,t,n){var r,a=Ft(),i=n.SheetNames[e],o=n.Sheets[i]||{},s=(n||{}).Workbook||{},l=(s.Sheets||[])[e]||{},c=Array.isArray(o),u=8==t.biff,f="",h=[],d=Kt(o["!ref"]||"A1"),p=u?65536:16384;if(d.e.c>255||d.e.r>=p){if(t.WTF)throw new Error("Range "+(o["!ref"]||"A1")+" exceeds format limit A1:IV16384");d.e.c=Math.min(d.e.c,255),d.e.r=Math.min(d.e.c,p-1)}mc(a,2057,ga(0,16,t)),mc(a,"CalcMode",Ur(1)),mc(a,"CalcCount",Ur(100)),mc(a,"CalcRefMode",jr(!0)),mc(a,"CalcIter",jr(!1)),mc(a,"CalcDelta",Cn(.001)),mc(a,"CalcSaveRecalc",jr(!0)),mc(a,"PrintRowCol",jr(!1)),mc(a,"PrintGrid",jr(!1)),mc(a,"GridSet",Ur(1)),mc(a,"Guts",function(e){var t=Ot(8);return t._W(4,0),t._W(2,e[0]?e[0]+1:0),t._W(2,e[1]?e[1]+1:0),t}([0,0])),mc(a,"HCenter",jr(!1)),mc(a,"VCenter",jr(!1)),u&&Sc(a,o["!cols"]),mc(a,512,function(e,t){var n=8!=t.biff&&t.biff?2:4,r=Ot(2*n+6);return r._W(n,e.s.r),r._W(n,e.e.r+1),r._W(2,e.s.c),r._W(2,e.e.c+1),r._W(2,0),r}(d,t)),u&&(o["!links"]=[]);for(var g=d.s.r;g<=d.e.r;++g){f=Ht(g);for(var m=d.s.c;m<=d.e.c;++m){g===d.s.r&&(h[m]=qt(m)),r=h[m]+f;var v=c?(o[g]||[])[m]:o[r];v&&(xc(a,v,g,m,t),u&&v.l&&o["!links"].push([r,v.l]))}}var b=l.CodeName||l.name||i;return u&&mc(a,"Window2",function(e){var t=Ot(18),n=1718;return e&&e.RTL&&(n|=64),t._W(2,n),t._W(4,0),t._W(4,64),t._W(4,0),t._W(4,0),t}((s.Views||[])[0])),u&&(o["!merges"]||[]).length&&mc(a,"MergeCells",function(e){var t=Ot(2+8*e.length);t._W(2,e.length);for(var n=0;n<e.length;++n)la(e[n],t);return t}(o["!merges"])),u&&function(e,t){for(var n=0;n<t["!links"].length;++n){var r=t["!links"][n];mc(e,"HLink",Na(r)),r[1].Tooltip&&mc(e,"HLinkTooltip",Ba(r))}delete t["!links"]}(a,o),mc(a,"CodeName",Kr(b)),u&&function(e,t){var n=Ot(19);n._W(4,2151),n._W(4,0),n._W(4,0),n._W(2,3),n._W(1,1),n._W(4,0),mc(e,"FeatHdr",n),(n=Ot(39))._W(4,2152),n._W(4,0),n._W(4,0),n._W(2,3),n._W(1,0),n._W(4,0),n._W(2,1),n._W(4,4),n._W(2,0),la(Kt(t["!ref"]||"A1"),n),n._W(4,4),mc(e,"Feat",n)}(a,o),mc(a,"EOF"),a.end()}function _c(e,t,n){var r=Ft(),a=(e||{}).Workbook||{},i=a.Sheets||[],o=a.WBProps||{},s=8==n.biff,l=5==n.biff;(mc(r,2057,ga(0,5,n)),"xla"==n.bookType&&mc(r,"Addin"),mc(r,"InterfaceHdr",s?Ur(1200):null),mc(r,"Mms",function(e,t){t||(t=Ot(e));for(var n=0;n<e;++n)t._W(1,0);return t}(2)),l&&mc(r,"ToolbarHdr"),l&&mc(r,"ToolbarEnd"),mc(r,"InterfaceEnd"),mc(r,"WriteAccess",function(e,t){var n=!t||8==t.biff,r=Ot(n?112:54);for(r._W(8==t.biff?2:1,7),n&&r._W(1,0),r._W(4,859007059),r._W(4,5458548|(n?0:536870912));r.l<r.length;)r._W(1,n?0:32);return r}(0,n)),mc(r,"CodePage",Ur(s?1200:1252)),s&&mc(r,"DSF",Ur(0)),s&&mc(r,"Excel9File"),mc(r,"RRTabId",function(e){for(var t=Ot(2*e),n=0;n<e;++n)t._W(2,n+1);return t}(e.SheetNames.length)),s&&e.vbaraw&&mc(r,"ObProj"),s&&e.vbaraw)&&mc(r,"CodeName",Kr(o.CodeName||"ThisWorkbook"));mc(r,"BuiltInFnGroupCount",Ur(17)),mc(r,"WinProtect",jr(!1)),mc(r,"Protect",jr(!1)),mc(r,"Password",Ur(0)),s&&mc(r,"Prot4Rev",jr(!1)),s&&mc(r,"Prot4RevPass",Ur(0)),mc(r,"Window1",function(){var e=Ot(18);return e._W(2,0),e._W(2,0),e._W(2,29280),e._W(2,17600),e._W(2,56),e._W(2,0),e._W(2,0),e._W(2,1),e._W(2,500),e}()),mc(r,"Backup",jr(!1)),mc(r,"HideObj",Ur(0)),mc(r,"Date1904",jr("true"==function(e){return e.Workbook&&e.Workbook.WBProps&&Oe(e.Workbook.WBProps.date1904)?"true":"false"}(e))),mc(r,"CalcPrecision",jr(!0)),s&&mc(r,"RefreshAll",jr(!1)),mc(r,"BookBool",Ur(0)),wc(r,0,n),function(e,t,n){t&&[[5,8],[23,26],[41,44],[50,392]].forEach(function(r){for(var a=r[0];a<=r[1];++a)null!=t[a]&&mc(e,"Format",ba(a,t[a],n))})}(r,e.SSF,n),function(e,t){for(var n=0;n<16;++n)mc(e,"XF",Sa({numFmtId:0,style:!0},0,t));t.cellXfs.forEach(function(n){mc(e,"XF",Sa(n,0,t))})}(r,n),s&&mc(r,"UsesELFs",jr(!1));var c=r.end(),u=Ft();s&&mc(u,"Country",function(e){return e||(e=Ot(4)),e._W(2,1),e._W(2,1),e}()),s&&n.Strings&&function(e,t,n,r){var a=r||(n||[]).length||0;if(a<=8224)return mc(e,t,n,a);var i=+t||+gc[t];if(!isNaN(i)){for(var o=n.parts||[],s=0,l=0,c=0;c+(o[s]||8224)<=8224;)c+=o[s]||8224,s++;var u=e.next(4);for(u._W(2,i),u._W(2,c),e.push(n.slice(l,l+c)),l+=c;l<a;){for((u=e.next(4))._W(2,60),c=0;c+(o[s]||8224)<=8224;)c+=o[s]||8224,s++;u._W(2,c),e.push(n.slice(l,l+c)),l+=c}}}(u,"SST",function(e,t){var n=Ot(8);n._W(4,e.Count),n._W(4,e.Unique);for(var r=[],a=0;a<e.length;++a)r[a]=Gr(e[a]);var i=k([n].concat(r));return i.parts=[n.length].concat(r.map(function(e){return e.length})),i}(n.Strings)),mc(u,"EOF");var f=u.end(),h=Ft(),d=0,p=0;for(p=0;p<e.SheetNames.length;++p)d+=(s?12:11)+(s?2:1)*e.SheetNames[p].length;var g=c.length+d+f.length;for(p=0;p<e.SheetNames.length;++p){mc(h,"BoundSheet8",ma({pos:g,hs:(i[p]||{}).Hidden||0,dt:0,name:e.SheetNames[p]},n)),g+=t[p].length}var m=h.end();if(d!=m.length)throw new Error("BS8 "+d+" != "+m.length);var v=[];return c.length&&v.push(c),m.length&&v.push(m),f.length&&v.push(f),tt([v])}function kc(e,t){var n=t||{};switch(n.biff||2){case 8:case 5:return function(e,t){var n=t||{},r=[];e&&!e.SSF&&(e.SSF=T.get_table()),e&&e.SSF&&(R(T),T.load_table(e.SSF),n.revssf=U(e.SSF),n.revssf[e.SSF[65535]]=0,n.ssf=e.SSF),n.Strings=[],n.Strings.Count=0,n.Strings.Unique=0,$c(n),n.cellXfs=[],As(n.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={});for(var a=0;a<e.SheetNames.length;++a)r[r.length]=Ec(a,n,e);return r.unshift(_c(e,r,n)),tt([r])}(e,t);case 4:case 3:case 2:return yc(e,t)}throw new Error("invalid type "+n.bookType+" for BIFF")}var Ac=function(){function e(e,t){var n=t||{};null!=d&&null==n.dense&&(n.dense=d);var r=n.dense?[]:{},a=(e=e.replace(/<!--.*?-->/g,"")).match(/<table/i);if(!a)throw new Error("Invalid HTML: could not find <table>");var i=e.match(/<\/table/i),o=a.index,s=i&&i.index||e.length,l=function(e,t,n){if(ie||"string"==typeof t)return e.split(t);for(var r=e.split(t),a=[r[0]],i=1;i<r.length;++i)a.push(n),a.push(r[i]);return a}(e.slice(o,s),/(:?<tr[^>]*>)/i,"<tr>"),c=-1,u=0,f=0,h=0,p={s:{r:1e7,c:1e7},e:{r:0,c:0}},g=[];for(o=0;o<l.length;++o){var m=l[o].trim(),v=m.slice(0,3).toLowerCase();if("<tr"!=v){if("<td"==v||"<th"==v){var b=m.split(/<\/t[dh]>/i);for(s=0;s<b.length;++s){var y=b[s].trim();if(y.match(/<t[dh]/i)){for(var w=y,S=0;"<"==w.charAt(0)&&(S=w.indexOf(">"))>-1;)w=w.slice(S+1);for(var x=0;x<g.length;++x){var E=g[x];E.s.c==u&&E.s.r<c&&c<=E.e.r&&(u=E.e.c+1,x=-1)}var _=Se(y.slice(0,y.indexOf(">")));h=_.colspan?+_.colspan:1,((f=+_.rowspan)>1||h>1)&&g.push({s:{r:c,c:u},e:{r:c+(f||1)-1,c:u+h-1}});var k=_.t||_["data-t"]||"";if(w.length){if(w=Ue(w),p.s.r>c&&(p.s.r=c),p.e.r<c&&(p.e.r=c),p.s.c>u&&(p.s.c=u),p.e.c<u&&(p.e.c=u),w.length){var A={t:"s",v:w};n.raw||!w.trim().length||"s"==k||("TRUE"===w?A={t:"b",v:!0}:"FALSE"===w?A={t:"b",v:!1}:isNaN(ne(w))?isNaN(re(w).getDate())||(A={t:"d",v:Z(w)},n.cellDates||(A={t:"n",v:H(A.v)}),A.z=n.dateNF||T._table[14]):A={t:"n",v:ne(w)}),n.dense?(r[c]||(r[c]=[]),r[c][u]=A):r[Xt({r:c,c:u})]=A,u+=h}}else u+=h}}}}else{if(++c,n.sheetRows&&n.sheetRows<=c){--c;break}u=0}}return r["!ref"]=Yt(p),g.length&&(r["!merges"]=g),r}function t(e,t,n,r){for(var a=e["!merges"]||[],i=[],o=t.s.c;o<=t.e.c;++o){for(var s=0,l=0,c=0;c<a.length;++c)if(!(a[c].s.r>n||a[c].s.c>o||a[c].e.r<n||a[c].e.c<o)){if(a[c].s.r<n||a[c].s.c<o){s=-1;break}s=a[c].e.r-a[c].s.r+1,l=a[c].e.c-a[c].s.c+1;break}if(!(s<0)){var u=Xt({r:n,c:o}),f=r.dense?(e[n]||[])[o]:e[u],h=f&&null!=f.v&&(f.h||Be(f.w||(Zt(f),f.w)||""))||"",d={};s>1&&(d.rowspan=s),l>1&&(d.colspan=l),r.editable?h='<span contenteditable="true">'+h+"</span>":f&&(d["data-t"]=f&&f.t||"z",null!=f.v&&(d["data-v"]=f.v),null!=f.z&&(d["data-z"]=f.z),f.l&&"#"!=(f.l.Target||"#").charAt(0)&&(h='<a href="'+f.l.Target+'">'+h+"</a>")),d.id=(r.id||"sjs")+"-"+u,i.push(Ye("td",h,d))}}return"<tr>"+i.join("")+"</tr>"}function n(e,t,n){return[].join("")+"<table"+(n&&n.id?' id="'+n.id+'"':"")+">"}var r='<html><head><meta charset="utf-8"/><title>SheetJS Table Export</title></head><body>',a="</body></html>";return{to_workbook:function(t,n){return Qt(e(t,n),n)},to_sheet:e,_row:t,BEGIN:r,END:a,_preamble:n,from_sheet:function(e,i){var o=i||{},s=null!=o.header?o.header:r,l=null!=o.footer?o.footer:a,c=[s],u=$t(e["!ref"]);o.dense=Array.isArray(e),c.push(n(0,0,o));for(var f=u.s.r;f<=u.e.r;++f)c.push(t(e,u,f,o));return c.push("</table>"+l),c.join("")}}}();function Cc(e,t,n){var r=n||{};null!=d&&(r.dense=d);var a=0,i=0;if(null!=r.origin)if("number"==typeof r.origin)a=r.origin;else{var o="string"==typeof r.origin?Gt(r.origin):r.origin;a=o.r,i=o.c}var s=t.getElementsByTagName("tr"),l=Math.min(r.sheetRows||1e7,s.length),c={s:{r:0,c:0},e:{r:a,c:i}};if(e["!ref"]){var u=$t(e["!ref"]);c.s.r=Math.min(c.s.r,u.s.r),c.s.c=Math.min(c.s.c,u.s.c),c.e.r=Math.max(c.e.r,u.e.r),c.e.c=Math.max(c.e.c,u.e.c),-1==a&&(c.e.r=a=u.e.r+1)}var f=[],h=0,p=e["!rows"]||(e["!rows"]=[]),g=0,m=0,v=0,b=0,y=0,w=0;for(e["!cols"]||(e["!cols"]=[]);g<s.length&&m<l;++g){var S=s[g];if(Rc(S)){if(r.display)continue;p[m]={hidden:!0}}var x=S.children;for(v=b=0;v<x.length;++v){var E=x[v];if(!r.display||!Rc(E)){var _=E.hasAttribute("data-v")?E.getAttribute("data-v"):E.hasAttribute("v")?E.getAttribute("v"):Ue(E.innerHTML),k=E.getAttribute("data-z")||E.getAttribute("z");for(h=0;h<f.length;++h){var A=f[h];A.s.c==b+i&&A.s.r<m+a&&m+a<=A.e.r&&(b=A.e.c+1-i,h=-1)}w=+E.getAttribute("colspan")||1,((y=+E.getAttribute("rowspan")||1)>1||w>1)&&f.push({s:{r:m+a,c:b+i},e:{r:m+a+(y||1)-1,c:b+i+(w||1)-1}});var C={t:"s",v:_},R=E.getAttribute("data-t")||E.getAttribute("t")||"";null!=_&&(0==_.length?C.t=R||"z":r.raw||0==_.trim().length||"s"==R||("TRUE"===_?C={t:"b",v:!0}:"FALSE"===_?C={t:"b",v:!1}:isNaN(ne(_))?isNaN(re(_).getDate())||(C={t:"d",v:Z(_)},r.cellDates||(C={t:"n",v:H(C.v)}),C.z=r.dateNF||T._table[14]):C={t:"n",v:ne(_)})),void 0===C.z&&null!=k&&(C.z=k);var N="",B=E.getElementsByTagName("A");if(B&&B.length)for(var I=0;I<B.length&&(!B[I].hasAttribute("href")||"#"==(N=B[I].getAttribute("href")).charAt(0));++I);N&&"#"!=N.charAt(0)&&(C.l={Target:N}),r.dense?(e[m+a]||(e[m+a]=[]),e[m+a][b+i]=C):e[Xt({c:b+i,r:m+a})]=C,c.e.c<b+i&&(c.e.c=b+i),b+=w}}++m}return f.length&&(e["!merges"]=(e["!merges"]||[]).concat(f)),c.e.r=Math.max(c.e.r,m-1+a),e["!ref"]=Yt(c),m>=l&&(e["!fullref"]=Yt((c.e.r=s.length-g+m-1+a,c))),e}function Tc(e,t){return Cc((t||{}).dense?[]:{},e,t)}function Rc(e){var t="",n=function(e){return e.ownerDocument.defaultView&&"function"==typeof e.ownerDocument.defaultView.getComputedStyle?e.ownerDocument.defaultView.getComputedStyle:"function"==typeof getComputedStyle?getComputedStyle:null}(e);return n&&(t=n(e).getPropertyValue("display")),t||(t=e.style.display),"none"===t}var Nc=function(){var e=function(e){var t=e.replace(/[\t\r\n]/g," ").trim().replace(/ +/g," ").replace(/<text:s\/>/g," ").replace(/<text:s text:c="(\d+)"\/>/g,function(e,t){return Array(parseInt(t,10)+1).join(" ")}).replace(/<text:tab[^>]*\/>/g,"\t").replace(/<text:line-break\/>/g,"\n");return[ke(t.replace(/<[^>]*>/g,""))]},t={day:["d","dd"],month:["m","mm"],year:["y","yy"],hours:["h","hh"],minutes:["m","mm"],seconds:["s","ss"],"am-pm":["A/P","AM/PM"],"day-of-week":["ddd","dddd"],era:["e","ee"],quarter:["\\Qm",'m\\"th quarter"']};return function(n,r){var a=r||{};null!=d&&null==a.dense&&(a.dense=d);var i,o,s,l,c,u,f=$l(n),h=[],p={name:""},g="",m=0,v={},b=[],y=a.dense?[]:{},w={value:""},S="",x=0,E=[],_=-1,k=-1,A={s:{r:1e6,c:1e7},e:{r:0,c:0}},C=0,T={},R=[],N={},B=[],I=1,L=1,O=[],P={Names:[]},F={},D=["",""],M=[],j={},W="",U=0,z=!1,V=!1,q=0;for(Yl.lastIndex=0,f=f.replace(/<!--([\s\S]*?)-->/gm,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"");c=Yl.exec(f);)switch(c[3]=c[3].replace(/_.*$/,"")){case"table":case"工作表":"/"===c[1]?(A.e.c>=A.s.c&&A.e.r>=A.s.r?y["!ref"]=Yt(A):y["!ref"]="A1:A1",a.sheetRows>0&&a.sheetRows<=A.e.r&&(y["!fullref"]=y["!ref"],A.e.r=a.sheetRows-1,y["!ref"]=Yt(A)),R.length&&(y["!merges"]=R),B.length&&(y["!rows"]=B),s.name=s["名称"]||s.name,"undefined"!=typeof JSON&&JSON.stringify(s),b.push(s.name),v[s.name]=y,V=!1):"/"!==c[0].charAt(c[0].length-2)&&(s=Se(c[0],!1),_=k=-1,A.s.r=A.s.c=1e7,A.e.r=A.e.c=0,y=a.dense?[]:{},R=[],B=[],V=!0);break;case"table-row-group":"/"===c[1]?--C:++C;break;case"table-row":case"行":if("/"===c[1]){_+=I,I=1;break}if((l=Se(c[0],!1))["行号"]?_=l["行号"]-1:-1==_&&(_=0),(I=+l["number-rows-repeated"]||1)<10)for(q=0;q<I;++q)C>0&&(B[_+q]={level:C});k=-1;break;case"covered-table-cell":"/"!==c[1]&&++k,a.sheetStubs&&(a.dense?(y[_]||(y[_]=[]),y[_][k]={t:"z"}):y[Xt({r:_,c:k})]={t:"z"}),S="",E=[];break;case"table-cell":case"数据":if("/"===c[0].charAt(c[0].length-2))++k,w=Se(c[0],!1),L=parseInt(w["number-columns-repeated"]||"1",10),u={t:"z",v:null},w.formula&&0!=a.cellFormula&&(u.f=ms(ke(w.formula))),"string"==(w["数据类型"]||w["value-type"])&&(u.t="s",u.v=ke(w["string-value"]||""),a.dense?(y[_]||(y[_]=[]),y[_][k]=u):y[Xt({r:_,c:k})]=u),k+=L-1;else if("/"!==c[1]){L=1;var G=I?_+I-1:_;if(++k>A.e.c&&(A.e.c=k),k<A.s.c&&(A.s.c=k),_<A.s.r&&(A.s.r=_),G>A.e.r&&(A.e.r=G),M=[],j={},u={t:(w=Se(c[0],!1))["数据类型"]||w["value-type"],v:null},a.cellFormula)if(w.formula&&(w.formula=ke(w.formula)),w["number-matrix-columns-spanned"]&&w["number-matrix-rows-spanned"]&&(N={s:{r:_,c:k},e:{r:_+(parseInt(w["number-matrix-rows-spanned"],10)||0)-1,c:k+(parseInt(w["number-matrix-columns-spanned"],10)||0)-1}},u.F=Yt(N),O.push([N,u.F])),w.formula)u.f=ms(w.formula);else for(q=0;q<O.length;++q)_>=O[q][0].s.r&&_<=O[q][0].e.r&&k>=O[q][0].s.c&&k<=O[q][0].e.c&&(u.F=O[q][1]);switch((w["number-columns-spanned"]||w["number-rows-spanned"])&&(N={s:{r:_,c:k},e:{r:_+(parseInt(w["number-rows-spanned"],10)||0)-1,c:k+(parseInt(w["number-columns-spanned"],10)||0)-1}},R.push(N)),w["number-columns-repeated"]&&(L=parseInt(w["number-columns-repeated"],10)),u.t){case"boolean":u.t="b",u.v=Oe(w["boolean-value"]);break;case"float":case"percentage":case"currency":u.t="n",u.v=parseFloat(w.value);break;case"date":u.t="d",u.v=Z(w["date-value"]),a.cellDates||(u.t="n",u.v=H(u.v)),u.z="m/d/yy";break;case"time":u.t="n",u.v=Y(w["time-value"])/86400,a.cellDates&&(u.t="d",u.v=X(u.v)),u.z="HH:MM:SS";break;case"number":u.t="n",u.v=parseFloat(w["数据数值"]);break;default:if("string"!==u.t&&"text"!==u.t&&u.t)throw new Error("Unsupported value type "+u.t);u.t="s",null!=w["string-value"]&&(S=ke(w["string-value"]),E=[])}}else{if(z=!1,"s"===u.t&&(u.v=S||"",E.length&&(u.R=E),z=0==x),F.Target&&(u.l=F),M.length>0&&(u.c=M,M=[]),S&&!1!==a.cellText&&(u.w=S),z&&(u.t="z",delete u.v),(!z||a.sheetStubs)&&!(a.sheetRows&&a.sheetRows<=_))for(var $=0;$<I;++$){if(L=parseInt(w["number-columns-repeated"]||"1",10),a.dense)for(y[_+$]||(y[_+$]=[]),y[_+$][k]=0==$?u:ee(u);--L>0;)y[_+$][k+L]=ee(u);else for(y[Xt({r:_+$,c:k})]=u;--L>0;)y[Xt({r:_+$,c:k+L})]=ee(u);A.e.c<=k&&(A.e.c=k)}k+=(L=parseInt(w["number-columns-repeated"]||"1",10))-1,L=0,u={},S="",E=[]}F={};break;case"document":case"document-content":case"电子表格文档":case"spreadsheet":case"主体":case"scripts":case"styles":case"font-face-decls":case"master-styles":if("/"===c[1]){if((i=h.pop())[0]!==c[3])throw"Bad state: "+i}else"/"!==c[0].charAt(c[0].length-2)&&h.push([c[3],!0]);break;case"annotation":if("/"===c[1]){if((i=h.pop())[0]!==c[3])throw"Bad state: "+i;j.t=S,E.length&&(j.R=E),j.a=W,M.push(j)}else"/"!==c[0].charAt(c[0].length-2)&&h.push([c[3],!1]);W="",U=0,S="",x=0,E=[];break;case"creator":"/"===c[1]?W=f.slice(U,c.index):U=c.index+c[0].length;break;case"meta":case"元数据":case"settings":case"config-item-set":case"config-item-map-indexed":case"config-item-map-entry":case"config-item-map-named":case"shapes":case"frame":case"text-box":case"image":case"data-pilot-tables":case"list-style":case"form":case"dde-links":case"event-listeners":case"chart":if("/"===c[1]){if((i=h.pop())[0]!==c[3])throw"Bad state: "+i}else"/"!==c[0].charAt(c[0].length-2)&&h.push([c[3],!1]);S="",x=0,E=[];break;case"scientific-number":case"currency-symbol":case"currency-style":break;case"number-style":case"percentage-style":case"date-style":case"time-style":if("/"===c[1]){if(T[p.name]=g,(i=h.pop())[0]!==c[3])throw"Bad state: "+i}else"/"!==c[0].charAt(c[0].length-2)&&(g="",p=Se(c[0],!1),h.push([c[3],!0]));break;case"script":case"libraries":case"automatic-styles":break;case"default-style":case"page-layout":case"style":case"map":case"font-face":case"paragraph-properties":case"table-properties":case"table-column-properties":case"table-row-properties":case"table-cell-properties":break;case"number":switch(h[h.length-1][0]){case"time-style":case"date-style":o=Se(c[0],!1),g+=t[c[3]]["long"===o.style?1:0]}break;case"fraction":break;case"day":case"month":case"year":case"era":case"day-of-week":case"week-of-year":case"quarter":case"hours":case"minutes":case"seconds":case"am-pm":switch(h[h.length-1][0]){case"time-style":case"date-style":o=Se(c[0],!1),g+=t[c[3]]["long"===o.style?1:0]}break;case"boolean-style":case"boolean":case"text-style":break;case"text":if("/>"===c[0].slice(-2))break;if("/"===c[1])switch(h[h.length-1][0]){case"number-style":case"date-style":case"time-style":g+=f.slice(m,c.index)}else m=c.index+c[0].length;break;case"named-range":D=bs((o=Se(c[0],!1))["cell-range-address"]);var K={Name:o.name,Ref:D[0]+"!"+D[1]};V&&(K.Sheet=b.length),P.Names.push(K);break;case"text-content":case"text-properties":case"embedded-text":break;case"body":case"电子表格":case"forms":case"table-column":case"table-header-rows":case"table-rows":case"table-column-group":case"table-header-columns":case"table-columns":case"null-date":case"graphic-properties":case"calculation-settings":case"named-expressions":case"label-range":case"label-ranges":case"named-expression":case"sort":case"sort-by":case"sort-groups":case"tab":case"line-break":case"span":break;case"p":case"文本串":if(["master-styles"].indexOf(h[h.length-1][0])>-1)break;if("/"!==c[1]||w&&w["string-value"])Se(c[0],!1),x=c.index+c[0].length;else{var J=e(f.slice(x,c.index));S=(S.length>0?S+"\n":"")+J[0]}break;case"s":break;case"database-range":if("/"===c[1])break;try{v[(D=bs(Se(c[0])["target-range-address"]))[0]]["!autofilter"]={ref:D[1]}}catch(e){}break;case"date":case"object":break;case"title":case"标题":case"desc":case"binary-data":case"table-source":case"scenario":case"iteration":case"content-validations":case"content-validation":case"help-message":case"error-message":case"database-ranges":case"filter":case"filter-and":case"filter-or":case"filter-condition":case"list-level-style-bullet":case"list-level-style-number":case"list-level-properties":break;case"sender-firstname":case"sender-lastname":case"sender-initials":case"sender-title":case"sender-position":case"sender-email":case"sender-phone-private":case"sender-fax":case"sender-company":case"sender-phone-work":case"sender-street":case"sender-city":case"sender-postal-code":case"sender-country":case"sender-state-or-province":case"author-name":case"author-initials":case"chapter":case"file-name":case"template-name":case"sheet-name":case"event-listener":break;case"initial-creator":case"creation-date":case"print-date":case"generator":case"document-statistic":case"user-defined":case"editing-duration":case"editing-cycles":case"config-item":case"page-number":case"page-count":case"time":case"cell-range-source":case"detective":case"operation":case"highlighted-range":break;case"data-pilot-table":case"source-cell-range":case"source-service":case"data-pilot-field":case"data-pilot-level":case"data-pilot-subtotals":case"data-pilot-subtotal":case"data-pilot-members":case"data-pilot-member":case"data-pilot-display-info":case"data-pilot-sort-info":case"data-pilot-layout-info":case"data-pilot-field-reference":case"data-pilot-groups":case"data-pilot-group":case"data-pilot-group-member":case"rect":break;case"dde-connection-decls":case"dde-connection-decl":case"dde-link":case"dde-source":case"properties":case"property":break;case"a":if("/"!==c[1]){if(!(F=Se(c[0],!1)).href)break;F.Target=ke(F.href),delete F.href,"#"==F.Target.charAt(0)&&F.Target.indexOf(".")>-1?(D=bs(F.Target.slice(1)),F.Target="#"+D[0]+"!"+D[1]):F.Target.match(/^\.\.[\\\/]/)&&(F.Target=F.Target.slice(3))}break;case"table-protection":case"data-pilot-grand-total":case"office-document-common-attrs":break;default:switch(c[2]){case"dc:":case"calcext:":case"loext:":case"ooo:":case"chartooo:":case"draw:":case"style:":case"chart:":case"form:":case"uof:":case"表:":case"字:":break;default:if(a.WTF)throw new Error(c)}}var Q={Sheets:v,SheetNames:b,Workbook:P};return a.bookSheets&&delete Q.Sheets,Q}}();function Bc(e,t){t=t||{};var n=!!le(e,"objectdata");n&&function(e,t){for(var n,r,a=$l(e);n=Yl.exec(a);)switch(n[3]){case"manifest":break;case"file-entry":if("/"==(r=Se(n[0],!1)).path&&r.type!==rr)throw new Error("This OpenDocument is not a spreadsheet");break;case"encryption-data":case"algorithm":case"start-key-generation":case"key-derivation":throw new Error("Unsupported ODS Encryption");default:if(t&&t.WTF)throw n}}(ue(e,"META-INF/manifest.xml"),t);var r=fe(e,"content.xml");if(!r)throw new Error("Missing content.xml in "+(n?"ODS":"UOF")+" file");var a=Nc(n?r:Pe(r),t);return le(e,"meta.xml")&&(a.Props=cr(ue(e,"meta.xml"))),a}function Ic(e,t){return Nc(e,t)}var Lc=function(){var e="<office:document-styles "+$e({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","office:version":"1.2"})+"></office:document-styles>";return function(){return me+e}}(),Oc=function(){var e=function(e){return Te(e).replace(/ +/g,function(e){return'<text:s text:c="'+e.length+'"/>'}).replace(/\t/g,"<text:tab/>").replace(/\n/g,"</text:p><text:p>").replace(/^ /,"<text:s/>").replace(/ $/,"<text:s/>")},t=" <table:table-cell />\n",n=function(n,r,a){var i=[];i.push(' <table:table table:name="'+Te(r.SheetNames[a])+'" table:style-name="ta1">\n');var o=0,s=0,l=$t(n["!ref"]||"A1"),c=n["!merges"]||[],u=0,f=Array.isArray(n);if(n["!cols"])for(s=0;s<=l.e.c;++s)i.push(" <table:table-column"+(n["!cols"][s]?' table:style-name="co'+n["!cols"][s].ods+'"':"")+"></table:table-column>\n");var h="",d=n["!rows"]||[];for(o=0;o<l.s.r;++o)h=d[o]?' table:style-name="ro'+d[o].ods+'"':"",i.push(" <table:table-row"+h+"></table:table-row>\n");for(;o<=l.e.r;++o){for(h=d[o]?' table:style-name="ro'+d[o].ods+'"':"",i.push(" <table:table-row"+h+">\n"),s=0;s<l.s.c;++s)i.push(t);for(;s<=l.e.c;++s){var p=!1,g={},m="";for(u=0;u!=c.length;++u)if(!(c[u].s.c>s||c[u].s.r>o||c[u].e.c<s||c[u].e.r<o)){c[u].s.c==s&&c[u].s.r==o||(p=!0),g["table:number-columns-spanned"]=c[u].e.c-c[u].s.c+1,g["table:number-rows-spanned"]=c[u].e.r-c[u].s.r+1;break}if(p)i.push(" <table:covered-table-cell/>\n");else{var v=Xt({r:o,c:s}),b=f?(n[o]||[])[s]:n[v];if(b&&b.f&&(g["table:formula"]=Te(vs(b.f)),b.F&&b.F.slice(0,v.length)==v)){var y=$t(b.F);g["table:number-matrix-columns-spanned"]=y.e.c-y.s.c+1,g["table:number-matrix-rows-spanned"]=y.e.r-y.s.r+1}if(b){switch(b.t){case"b":m=b.v?"TRUE":"FALSE",g["office:value-type"]="boolean",g["office:boolean-value"]=b.v?"true":"false";break;case"n":m=b.w||String(b.v||0),g["office:value-type"]="float",g["office:value"]=b.v||0;break;case"s":case"str":m=null==b.v?"":b.v,g["office:value-type"]="string";break;case"d":m=b.w||Z(b.v).toISOString(),g["office:value-type"]="date",g["office:date-value"]=Z(b.v).toISOString(),g["table:style-name"]="ce1";break;default:i.push(t);continue}var w=e(m);if(b.l&&b.l.Target){var S=b.l.Target;"#"==(S="#"==S.charAt(0)?"#"+ys(S.slice(1)):S).charAt(0)||S.match(/^\w+:/)||(S="../"+S),w=Ye("text:a",w,{"xlink:href":S.replace(/&/g,"&")})}i.push(" "+Ye("table:table-cell",Ye("text:p",w,{}),g)+"\n")}else i.push(t)}}i.push(" </table:table-row>\n")}return i.push(" </table:table>\n"),i.join("")};return function(e,t){var r=[me],a=$e({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:meta":"urn:oasis:names:tc:opendocument:xmlns:meta:1.0","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:presentation":"urn:oasis:names:tc:opendocument:xmlns:presentation:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:chart":"urn:oasis:names:tc:opendocument:xmlns:chart:1.0","xmlns:dr3d":"urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0","xmlns:math":"http://www.w3.org/1998/Math/MathML","xmlns:form":"urn:oasis:names:tc:opendocument:xmlns:form:1.0","xmlns:script":"urn:oasis:names:tc:opendocument:xmlns:script:1.0","xmlns:ooo":"http://openoffice.org/2004/office","xmlns:ooow":"http://openoffice.org/2004/writer","xmlns:oooc":"http://openoffice.org/2004/calc","xmlns:dom":"http://www.w3.org/2001/xml-events","xmlns:xforms":"http://www.w3.org/2002/xforms","xmlns:xsd":"http://www.w3.org/2001/XMLSchema","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","xmlns:sheet":"urn:oasis:names:tc:opendocument:sh33tjs:1.0","xmlns:rpt":"http://openoffice.org/2005/report","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","xmlns:xhtml":"http://www.w3.org/1999/xhtml","xmlns:grddl":"http://www.w3.org/2003/g/data-view#","xmlns:tableooo":"http://openoffice.org/2009/table","xmlns:drawooo":"http://openoffice.org/2010/draw","xmlns:calcext":"urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0","xmlns:loext":"urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0","xmlns:field":"urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0","xmlns:formx":"urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0","xmlns:css3t":"http://www.w3.org/TR/css3-text/","office:version":"1.2"}),i=$e({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});"fods"==t.bookType?(r.push("<office:document"+a+i+">\n"),r.push(or().replace(/office:document-meta/g,"office:meta"))):r.push("<office:document-content"+a+">\n"),function(e,t){e.push(" <office:automatic-styles>\n"),e.push(' <number:date-style style:name="N37" number:automatic-order="true">\n'),e.push(' <number:month number:style="long"/>\n'),e.push(" <number:text>/</number:text>\n"),e.push(' <number:day number:style="long"/>\n'),e.push(" <number:text>/</number:text>\n"),e.push(" <number:year/>\n"),e.push(" </number:date-style>\n");var n=0;t.SheetNames.map(function(e){return t.Sheets[e]}).forEach(function(t){if(t&&t["!cols"])for(var r=0;r<t["!cols"].length;++r)if(t["!cols"][r]){var a=t["!cols"][r];if(null==a.width&&null==a.wpx&&null==a.wch)continue;Ai(a),a.ods=n;var i=t["!cols"][r].wpx+"px";e.push(' <style:style style:name="co'+n+'" style:family="table-column">\n'),e.push(' <style:table-column-properties fo:break-before="auto" style:column-width="'+i+'"/>\n'),e.push(" </style:style>\n"),++n}});var r=0;t.SheetNames.map(function(e){return t.Sheets[e]}).forEach(function(t){if(t&&t["!rows"])for(var n=0;n<t["!rows"].length;++n)if(t["!rows"][n]){t["!rows"][n].ods=r;var a=t["!rows"][n].hpx+"px";e.push(' <style:style style:name="ro'+r+'" style:family="table-row">\n'),e.push(' <style:table-row-properties fo:break-before="auto" style:row-height="'+a+'"/>\n'),e.push(" </style:style>\n"),++r}}),e.push(' <style:style style:name="ta1" style:family="table">\n'),e.push(' <style:table-properties table:display="true" style:writing-mode="lr-tb"/>\n'),e.push(" </style:style>\n"),e.push(' <style:style style:name="ce1" style:family="table-cell" style:parent-style-name="Default" style:data-style-name="N37"/>\n'),e.push(" </office:automatic-styles>\n")}(r,e),r.push(" <office:body>\n"),r.push(" <office:spreadsheet>\n");for(var o=0;o!=e.SheetNames.length;++o)r.push(n(e.Sheets[e.SheetNames[o]],e,o));return r.push(" </office:spreadsheet>\n"),r.push(" </office:body>\n"),"fods"==t.bookType?r.push("</office:document>"):r.push("</office:document-content>"),r.join("")}}();function Pc(e,t){if("fods"==t.bookType)return Oc(e,t);var n=de(),r="",a=[],i=[];return he(n,r="mimetype","application/vnd.oasis.opendocument.spreadsheet"),he(n,r="content.xml",Oc(e,t)),a.push([r,"text/xml"]),i.push([r,"ContentFile"]),he(n,r="styles.xml",Lc(e,t)),a.push([r,"text/xml"]),i.push([r,"StylesFile"]),he(n,r="meta.xml",me+or()),a.push([r,"text/xml"]),i.push([r,"MetadataFile"]),he(n,r="manifest.rdf",function(e){var t=[me];t.push('<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">\n');for(var n=0;n!=e.length;++n)t.push(ar(e[n][0],e[n][1])),t.push(ir("",e[n][0]));return t.push(ar("","Document","pkg")),t.push("</rdf:RDF>"),t.join("")}(i)),a.push([r,"application/rdf+xml"]),he(n,r="META-INF/manifest.xml",function(e){var t=[me];t.push('<manifest:manifest xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0" manifest:version="1.2">\n'),t.push(' <manifest:file-entry manifest:full-path="/" manifest:version="1.2" manifest:media-type="application/vnd.oasis.opendocument.spreadsheet"/>\n');for(var n=0;n<e.length;++n)t.push(' <manifest:file-entry manifest:full-path="'+e[n][0]+'" manifest:media-type="'+e[n][1]+'"/>\n');return t.push("</manifest:manifest>"),t.join("")}(a)),n}function Fc(e){return function(t,n){var r=function(e,t){if(!t)return 0;var n=e.SheetNames.indexOf(t);if(-1==n)throw new Error("Sheet not found: "+t);return n}(t,n.sheet);return e.from_sheet(t.Sheets[t.SheetNames[r]],n,t)}}var Dc=Fc(Ac),Mc=Fc({from_sheet:mu}),jc=Fc(void 0!==Da?Da:{}),Wc=Fc(void 0!==Ma?Ma:{}),Uc=Fc(void 0!==Wa?Wa:{}),zc=Fc(void 0!==pi?pi:{}),Hc=Fc({from_sheet:vu}),Vc=Fc(void 0!==Fa?Fa:{}),qc=Fc(void 0!==ja?ja:{});function Gc(e){return function(t){for(var n=0;n!=e.length;++n){var r=e[n];void 0===t[r[0]]&&(t[r[0]]=r[1]),"n"===r[2]&&(t[r[0]]=Number(t[r[0]]))}}}var Xc=function(e){Gc([["cellNF",!1],["cellHTML",!0],["cellFormula",!0],["cellStyles",!1],["cellText",!0],["cellDates",!1],["sheetStubs",!1],["sheetRows",0,"n"],["bookDeps",!1],["bookSheets",!1],["bookProps",!1],["bookFiles",!1],["bookVBA",!1],["password",""],["WTF",!1]])(e)},$c=Gc([["cellDates",!1],["bookSST",!1],["bookType","xlsx"],["compression",!1],["WTF",!1]]);function Yc(e){return Kn.WS.indexOf(e)>-1?"sheet":Kn.CS&&e==Kn.CS?"chart":Kn.DS&&e==Kn.DS?"dialog":Kn.MS&&e==Kn.MS?"macro":e&&e.length?e:"sheet"}function Kc(e,t,n,r,a,i,o,s,l,c,u,f){try{i[r]=Zn(fe(e,n,!0),t);var h,d=ue(e,t);switch(s){case"sheet":h=Tl(d,t,a,l,i[r],c,u,f);break;case"chart":if(!(h=Rl(d,t,a,l,i[r],c))||!h["!drawel"])break;var p=ge(h["!drawel"].Target,t),g=Jn(p),m=ge(function(e,t){if(!e)return"??";var n=(e.match(/<c:chart [^>]*r:id="([^"]*)"/)||["",""])[1];return t["!id"][n].Target}(fe(e,p,!0),Zn(fe(e,g,!0),p)),p),v=Jn(m);h=cl(fe(e,m,!0),0,0,Zn(fe(e,v,!0),m),0,h);break;case"macro":h=function(e,t,n,r,a,i,o,s){return t.slice(-4),{"!type":"macro"}}(0,t,0,0,i[r]);break;case"dialog":h=function(e,t,n,r,a,i,o,s){return t.slice(-4),{"!type":"dialog"}}(0,t,0,0,i[r]);break;default:throw new Error("Unrecognized sheet type "+s)}o[r]=h;var b=[];i&&i[r]&&M(i[r]).forEach(function(n){if(i[r][n].Type==Kn.CMNT){var a=ge(i[r][n].Target,t);if(!(b=Il(ue(e,a,!0),a,l))||!b.length)return;!function(e,t){var n,r=Array.isArray(e);t.forEach(function(t){var a=Gt(t.ref);if(r?(e[a.r]||(e[a.r]=[]),n=e[a.r][a.c]):n=e[t.ref],!n){n={t:"z"},r?e[a.r][a.c]=n:e[t.ref]=n;var i=Kt(e["!ref"]||"BDWGO1000001:A1");i.s.r>a.r&&(i.s.r=a.r),i.e.r<a.r&&(i.e.r=a.r),i.s.c>a.c&&(i.s.c=a.c),i.e.c<a.c&&(i.e.c=a.c);var o=Yt(i);o!==e["!ref"]&&(e["!ref"]=o)}n.c||(n.c=[]);var s={a:t.author,t:t.t,r:t.r};t.h&&(s.h=t.h),n.c.push(s)})}(h,b)}})}catch(e){if(l.WTF)throw e}}function Jc(e){return"/"==e.charAt(0)?e.slice(1):e}function Zc(e,t){if(R(T),Xc(t=t||{}),le(e,"META-INF/manifest.xml"))return Bc(e,t);if(le(e,"objectdata.xml"))return Bc(e,t);if(le(e,"Index/Document.iwa"))throw new Error("Unsupported NUMBERS file");var n,r,a=function(e){for(var t=e.FullPaths||M(e.files),n=[],r=0;r<t.length;++r)"/"!=t[r].slice(-1)&&n.push(t[r]);return n.sort()}(e),i=function(e){var t={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],TODO:[],xmlns:""};if(!e||!e.match)return t;var n={};if((e.match(be)||[]).forEach(function(e){var r=Se(e);switch(r[0].replace(ye,"<")){case"<?xml":break;case"<Types":t.xmlns=r["xmlns"+(r[0].match(/<(\w+):/)||["",""])[1]];break;case"<Default":n[r.Extension]=r.ContentType;break;case"<Override":void 0!==t[qn[r.ContentType]]&&t[qn[r.ContentType]].push(r.PartName)}}),t.xmlns!==Je.CT)throw new Error("Unknown Namespace: "+t.xmlns);return t.calcchain=t.calcchains.length>0?t.calcchains[0]:"",t.sst=t.strs.length>0?t.strs[0]:"",t.style=t.styles.length>0?t.styles[0]:"",t.defaults=n,delete t.calcchains,t}(fe(e,"[Content_Types].xml")),o=!1;if(0===i.workbooks.length&&ue(e,r="xl/workbook.xml",!0)&&i.workbooks.push(r),0===i.workbooks.length){if(!ue(e,r="xl/workbook.bin",!0))throw new Error("Could not find workbook");i.workbooks.push(r),o=!0}"bin"==i.workbooks[0].slice(-3)&&(o=!0);var s={},l={};if(!t.bookSheets&&!t.bookProps){if(ws=[],i.sst)try{ws=Bl(ue(e,Jc(i.sst)),i.sst,t)}catch(e){if(t.WTF)throw e}t.cellStyles&&i.themes.length&&(s=function(e,t,n){return ro(e,n)}(fe(e,i.themes[0].replace(/^\//,""),!0)||"",i.themes[0],t)),i.style&&(l=Nl(ue(e,Jc(i.style)),i.style,s,t))}i.links.map(function(n){try{Zn(fe(e,Jn(Jc(n))),n);return Ol(ue(e,Jc(n)),0,n,t)}catch(e){}});var c=Cl(ue(e,Jc(i.workbooks[0])),i.workbooks[0],t),u={},f="";i.coreprops.length&&((f=ue(e,Jc(i.coreprops[0]),!0))&&(u=cr(f)),0!==i.extprops.length&&(f=ue(e,Jc(i.extprops[0]),!0))&&function(e,t,n){var r={};t||(t={}),e=Pe(e),hr.forEach(function(n){var a=(e.match(We(n[0]))||[])[1];switch(n[2]){case"string":a&&(t[n[1]]=ke(a));break;case"bool":t[n[1]]="true"===a;break;case"raw":var i=e.match(new RegExp("<"+n[0]+"[^>]*>([\\s\\S]*?)</"+n[0]+">"));i&&i.length>0&&(r[n[1]]=i[1])}}),r.HeadingPairs&&r.TitlesOfParts&&dr(r.HeadingPairs,r.TitlesOfParts,t,n)}(f,u,t));var h={};t.bookSheets&&!t.bookProps||0!==i.custprops.length&&(f=fe(e,Jc(i.custprops[0]),!0))&&(h=function(e,t){var n={},r="",a=e.match(gr);if(a)for(var i=0;i!=a.length;++i){var o=a[i],s=Se(o);switch(s[0]){case"<?xml":case"<Properties":break;case"<property":r=ke(s.name);break;case"</property>":r=null;break;default:if(0===o.indexOf("<vt:")){var l=o.split(">"),c=l[0].slice(4),u=l[1];switch(c){case"lpstr":case"bstr":case"lpwstr":n[r]=ke(u);break;case"bool":n[r]=Oe(u);break;case"i1":case"i2":case"i4":case"i8":case"int":case"uint":n[r]=parseInt(u,10);break;case"r4":case"r8":case"decimal":n[r]=parseFloat(u);break;case"filetime":case"date":n[r]=Z(u);break;case"cy":case"error":n[r]=ke(u);break;default:if("/"==c.slice(-1))break;t.WTF&&"undefined"!=typeof console&&console.warn("Unexpected",o,c,l)}}else if("</"===o.slice(0,2));else if(t.WTF)throw new Error(o)}}return n}(f,t));var d={};if((t.bookSheets||t.bookProps)&&(c.Sheets?n=c.Sheets.map(function(e){return e.name}):u.Worksheets&&u.SheetNames.length>0&&(n=u.SheetNames),t.bookProps&&(d.Props=u,d.Custprops=h),t.bookSheets&&void 0!==n&&(d.SheetNames=n),t.bookSheets?d.SheetNames:t.bookProps))return d;n={};var p={};t.bookDeps&&i.calcchain&&(p=Ll(ue(e,Jc(i.calcchain)),i.calcchain));var g,m,v=0,b={},y=c.Sheets;u.Worksheets=y.length,u.SheetNames=[];for(var w=0;w!=y.length;++w)u.SheetNames[w]=y[w].name;var S=o?"bin":"xml",x=i.workbooks[0].lastIndexOf("/"),E=(i.workbooks[0].slice(0,x+1)+"_rels/"+i.workbooks[0].slice(x+1)+".rels").replace(/^\//,"");le(e,E)||(E="xl/_rels/workbook."+S+".rels");var _=Zn(fe(e,E,!0),E);_&&(_=function(e,t){if(!e)return 0;try{e=t.map(function(t){return t.id||(t.id=t.strRelID),[t.name,e["!id"][t.id].Target,Yc(e["!id"][t.id].Type)]})}catch(e){return null}return e&&0!==e.length?e:null}(_,c.Sheets));var k=ue(e,"xl/worksheets/sheet.xml",!0)?1:0;e:for(v=0;v!=u.Worksheets;++v){var A="sheet";if(_&&_[v]?(g="xl/"+_[v][1].replace(/[\/]?xl\//,""),le(e,g)||(g=_[v][1]),le(e,g)||(g=E.replace(/_rels\/.*$/,"")+_[v][1]),A=_[v][2]):g=(g="xl/worksheets/sheet"+(v+1-k)+"."+S).replace(/sheet0\./,"sheet."),m=g.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels"),t&&null!=t.sheets)switch(typeof t.sheets){case"number":if(v!=t.sheets)continue e;break;case"string":if(u.SheetNames[v].toLowerCase()!=t.sheets.toLowerCase())continue e;break;default:if(Array.isArray&&Array.isArray(t.sheets)){for(var C=!1,N=0;N!=t.sheets.length;++N)"number"==typeof t.sheets[N]&&t.sheets[N]==v&&(C=1),"string"==typeof t.sheets[N]&&t.sheets[N].toLowerCase()==u.SheetNames[v].toLowerCase()&&(C=1);if(!C)continue e}}Kc(e,g,m,u.SheetNames[v],v,b,n,A,t,c,s,l)}return d={Directory:i,Workbook:c,Props:u,Custprops:h,Deps:p,Sheets:n,SheetNames:u.SheetNames,Strings:ws,Styles:l,Themes:s,SSF:T.get_table()},t&&t.bookFiles&&(e.files?(d.keys=a,d.files=e.files):(d.keys=[],d.files={},e.FullPaths.forEach(function(t,n){t=t.replace(/^Root Entry[\/]/,""),d.keys.push(t),d.files[t]=e.FileIndex[n]}))),t&&t.bookVBA&&(i.vba.length>0?d.vbaraw=ue(e,Jc(i.vba[0]),!0):i.defaults&&i.defaults.bin===po&&(d.vbaraw=ue(e,"xl/vbaProject.bin",!0))),d}function Qc(e,t){var n=t||{},r="Workbook",a=P.find(e,r);try{if(r="/!DataSpaces/Version",!(a=P.find(e,r))||!a.content)throw new Error("ECMA-376 Encrypted file missing "+r);if(function(e){var t={};t.id=e._R(0,"lpp4"),t.R=ni(e,4),t.U=ni(e,4),t.W=ni(e,4)}(a.content),r="/!DataSpaces/DataSpaceMap",!(a=P.find(e,r))||!a.content)throw new Error("ECMA-376 Encrypted file missing "+r);var i=function(e){var t=[];e.l+=4;for(var n=e._R(4);n-- >0;)t.push(ri(e));return t}(a.content);if(1!==i.length||1!==i[0].comps.length||0!==i[0].comps[0].t||"StrongEncryptionDataSpace"!==i[0].name||"EncryptedPackage"!==i[0].comps[0].v)throw new Error("ECMA-376 Encrypted file bad "+r);if(r="/!DataSpaces/DataSpaceInfo/StrongEncryptionDataSpace",!(a=P.find(e,r))||!a.content)throw new Error("ECMA-376 Encrypted file missing "+r);var o=function(e){var t=[];e.l+=4;for(var n=e._R(4);n-- >0;)t.push(e._R(0,"lpp4"));return t}(a.content);if(1!=o.length||"StrongEncryptionTransform"!=o[0])throw new Error("ECMA-376 Encrypted file bad "+r);if(r="/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary",!(a=P.find(e,r))||!a.content)throw new Error("ECMA-376 Encrypted file missing "+r);ai(a.content)}catch(e){}if(r="/EncryptionInfo",!(a=P.find(e,r))||!a.content)throw new Error("ECMA-376 Encrypted file missing "+r);var s=function(e){var t=ni(e);switch(t.Minor){case 2:return[t.Minor,si(e)];case 3:return[t.Minor,li()];case 4:return[t.Minor,ci(e)]}throw new Error("ECMA-376 Encrypted file unrecognized Version: "+t.Minor)}(a.content);if(r="/EncryptedPackage",!(a=P.find(e,r))||!a.content)throw new Error("ECMA-376 Encrypted file missing "+r);if(4==s[0]&&"undefined"!=typeof decrypt_agile)return decrypt_agile(s[1],a.content,n.password||"",n);if(2==s[0]&&"undefined"!=typeof decrypt_std76)return decrypt_std76(s[1],a.content,n.password||"",n);throw new Error("File is password-protected")}function eu(e,t){if(lo=1024,"ods"==t.bookType)return Pc(e,t);e&&!e.SSF&&(e.SSF=T.get_table()),e&&e.SSF&&(R(T),T.load_table(e.SSF),t.revssf=U(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF),t.rels={},t.wbrels={},t.Strings=[],t.Strings.Count=0,t.Strings.Unique=0,xs?t.revStrings=new Map:(t.revStrings={},t.revStrings.foo=[],delete t.revStrings.foo);var n="xlsb"==t.bookType?"bin":"xml",r=go.indexOf(t.bookType)>-1,a={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],TODO:[],xmlns:""};$c(t=t||{});var i=de(),o="",s=0;if(t.cellXfs=[],As(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),he(i,o="docProps/core.xml",function(e,t){var n=t||{},r=[me,ur],a={};if(!e&&!n.Props)return r.join("");e&&(null!=e.CreatedDate&&fr("dcterms:created","string"==typeof e.CreatedDate?e.CreatedDate:Ke(e.CreatedDate,n.WTF),{"xsi:type":"dcterms:W3CDTF"},r,a),null!=e.ModifiedDate&&fr("dcterms:modified","string"==typeof e.ModifiedDate?e.ModifiedDate:Ke(e.ModifiedDate,n.WTF),{"xsi:type":"dcterms:W3CDTF"},r,a));for(var i=0;i!=sr.length;++i){var o=sr[i],s=n.Props&&null!=n.Props[o[1]]?n.Props[o[1]]:e?e[o[1]]:null;!0===s?s="1":!1===s?s="0":"number"==typeof s&&(s=String(s)),null!=s&&fr(o[0],s,null,r,a)}return r.length>2&&(r[r.length]="</cp:coreProperties>",r[1]=r[1].replace("/>",">")),r.join("")}(e.Props,t)),a.coreprops.push(o),nr(t.rels,2,o,Kn.CORE_PROPS),o="docProps/app.xml",e.Props&&e.Props.SheetNames);else if(e.Workbook&&e.Workbook.Sheets){for(var l=[],c=0;c<e.SheetNames.length;++c)2!=(e.Workbook.Sheets[c]||{}).Hidden&&l.push(e.SheetNames[c]);e.Props.SheetNames=l}else e.Props.SheetNames=e.SheetNames;for(e.Props.Worksheets=e.Props.SheetNames.length,he(i,o,function(e){var t=[],n=Ye;return e||(e={}),e.Application="SheetJS",t[t.length]=me,t[t.length]=pr,hr.forEach(function(r){if(void 0!==e[r[1]]){var a;switch(r[2]){case"string":a=Te(String(e[r[1]]));break;case"bool":a=e[r[1]]?"true":"false"}void 0!==a&&(t[t.length]=n(r[0],a))}}),t[t.length]=n("HeadingPairs",n("vt:vector",n("vt:variant","<vt:lpstr>Worksheets</vt:lpstr>")+n("vt:variant",n("vt:i4",String(e.Worksheets))),{size:2,baseType:"variant"})),t[t.length]=n("TitlesOfParts",n("vt:vector",e.SheetNames.map(function(e){return"<vt:lpstr>"+Te(e)+"</vt:lpstr>"}).join(""),{size:e.Worksheets,baseType:"lpstr"})),t.length>2&&(t[t.length]="</Properties>",t[1]=t[1].replace("/>",">")),t.join("")}(e.Props)),a.extprops.push(o),nr(t.rels,3,o,Kn.EXT_PROPS),e.Custprops!==e.Props&&M(e.Custprops||{}).length>0&&(he(i,o="docProps/custom.xml",vr(e.Custprops)),a.custprops.push(o),nr(t.rels,4,o,Kn.CUST_PROPS)),s=1;s<=e.SheetNames.length;++s){var u={"!id":{}},f=e.Sheets[e.SheetNames[s-1]];switch((f||{})["!type"]||"sheet"){case"chart":default:he(i,o="xl/worksheets/sheet"+s+"."+n,Fl(s-1,o,t,e,u)),a.sheets.push(o),nr(t.wbrels,-1,"worksheets/sheet"+s+"."+n,Kn.WS[0])}if(f){var h=f["!comments"],d=!1;if(h&&h.length>0){var p="xl/comments"+s+"."+n;he(i,p,Ml(h,p,t)),a.comments.push(p),nr(u,-1,"../comments"+s+"."+n,Kn.CMNT),d=!0}f["!legacy"]&&d&&he(i,"xl/drawings/vmlDrawing"+s+".vml",co(s,f["!comments"])),delete f["!comments"],delete f["!legacy"]}u["!id"].rId1&&he(i,Jn(o),er(u))}return null!=t.Strings&&t.Strings.length>0&&(he(i,o="xl/sharedStrings."+n,Dl(t.Strings,o,t)),a.strs.push(o),nr(t.wbrels,-1,"sharedStrings."+n,Kn.SST)),he(i,o="xl/workbook."+n,Pl(e,o,t)),a.workbooks.push(o),nr(t.rels,1,o,Kn.WB),he(i,o="xl/theme/theme1.xml",ao(e.Themes,t)),a.themes.push(o),nr(t.wbrels,-1,"theme/theme1.xml",Kn.THEME),he(i,o="xl/styles."+n,function(e,t,n){return(".bin"===t.slice(-4)?$i:Fi)(e,n)}(e,o,t)),a.styles.push(o),nr(t.wbrels,-1,"styles."+n,Kn.STY),e.vbaraw&&r&&(he(i,o="xl/vbaProject.bin",e.vbaraw),a.vba.push(o),nr(t.wbrels,-1,"vbaProject.bin",Kn.VBA)),he(i,"[Content_Types].xml",function(e,t){var n,r=[];r[r.length]=me,r[r.length]=$n,r=r.concat(Yn);var a=function(a){e[a]&&e[a].length>0&&(n=e[a][0],r[r.length]=Ye("Override",null,{PartName:("/"==n[0]?"":"/")+n,ContentType:Gn[a][t.bookType||"xlsx"]}))},i=function(n){(e[n]||[]).forEach(function(e){r[r.length]=Ye("Override",null,{PartName:("/"==e[0]?"":"/")+e,ContentType:Gn[n][t.bookType||"xlsx"]})})},o=function(t){(e[t]||[]).forEach(function(e){r[r.length]=Ye("Override",null,{PartName:("/"==e[0]?"":"/")+e,ContentType:Xn[t][0]})})};return a("workbooks"),i("sheets"),i("charts"),o("themes"),["strs","styles"].forEach(a),["coreprops","extprops","custprops"].forEach(o),o("vba"),o("comments"),o("drawings"),r.length>2&&(r[r.length]="</Types>",r[1]=r[1].replace("/>",">")),r.join("")}(a,t)),he(i,"_rels/.rels",er(t.rels)),he(i,"xl/_rels/workbook."+n+".rels",er(t.wbrels)),delete t.revssf,delete t.ssf,i}function tu(e,t){var n="";switch((t||{}).type||"base64"){case"buffer":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case"base64":n=g.decode(e.slice(0,12));break;case"binary":n=e;break;case"array":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];default:throw new Error("Unrecognized type "+(t&&t.type||"undefined"))}return[n.charCodeAt(0),n.charCodeAt(1),n.charCodeAt(2),n.charCodeAt(3),n.charCodeAt(4),n.charCodeAt(5),n.charCodeAt(6),n.charCodeAt(7)]}function nu(e,t){var n=0;e:for(;n<e.length;)switch(e.charCodeAt(n)){case 10:case 13:case 32:++n;break;case 60:return Jl(e.slice(n),t);default:break e}return Wa.to_workbook(e,t)}function ru(e,t,n,r){return r?(n.type="string",Wa.to_workbook(e,n)):Wa.to_workbook(t,n)}function au(e,t){l();var n=t||{};if("undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer)return au(new Uint8Array(e),((n=ee(n)).type="array",n));var r,a=e,i=!1;if(n.cellStyles&&(n.cellNF=!0,n.sheetStubs=!0),Ss={},n.dateNF&&(Ss.dateNF=n.dateNF),n.type||(n.type=m&&Buffer.isBuffer(e)?"buffer":"base64"),"file"==n.type&&(n.type=m?"buffer":"binary",a=function(e){if(void 0!==O)return O.readFileSync(e);if("undefined"!=typeof $&&"undefined"!=typeof File&&"undefined"!=typeof Folder)try{var t=File(e);t.open("r"),t.encoding="binary";var n=t.read();return t.close(),n}catch(e){if(!e.message||!e.message.match(/onstruct/))throw e}throw new Error("Cannot access file "+e)}(e)),"string"==n.type&&(i=!0,n.type="binary",n.codepage=65001,a=function(e){return e.match(/[^\x00-\x7F]/)?Fe(e):e}(e)),"array"==n.type&&"undefined"!=typeof Uint8Array&&e instanceof Uint8Array&&"undefined"!=typeof ArrayBuffer){var o=new ArrayBuffer(3),s=new Uint8Array(o);if(s.foo="bar",!s.foo)return(n=ee(n)).type="array",au(_(a),n)}switch((r=tu(a,n))[0]){case 208:if(207===r[1]&&17===r[2]&&224===r[3]&&161===r[4]&&177===r[5]&&26===r[6]&&225===r[7])return function(e,t){return P.find(e,"EncryptedPackage")?Qc(e,t):uc(e,t)}(P.read(a,n),n);break;case 9:if(r[1]<=8)return uc(a,n);break;case 60:return Jl(a,n);case 73:if(73===r[1]&&42===r[2]&&0===r[3])throw new Error("TIFF Image File is not a spreadsheet");if(68===r[1])return function(e,t){var n=t||{},r=!!n.WTF;n.WTF=!0;try{var a=Da.to_workbook(e,n);return n.WTF=r,a}catch(a){if(n.WTF=r,!a.message.match(/SYLK bad record ID/)&&r)throw a;return Wa.to_workbook(e,t)}}(a,n);break;case 84:if(65===r[1]&&66===r[2]&&76===r[3])return Ma.to_workbook(a,n);break;case 80:return 75===r[1]&&r[2]<9&&r[3]<9?function(e,t){var n=e,r=t||{};return r.type||(r.type=m&&Buffer.isBuffer(e)?"buffer":"base64"),Zc(pe(n,r),r)}(a,n):ru(e,a,n,i);case 239:return 60===r[3]?Jl(a,n):ru(e,a,n,i);case 255:if(254===r[1])return function(e,t){var n=e;return"base64"==t.type&&(n=g.decode(n)),n=cptable.utils.decode(1200,n.slice(2),"str"),t.type="binary",nu(n,t)}(a,n);break;case 0:if(0===r[1]&&r[2]>=2&&0===r[3])return Ua.to_workbook(a,n);break;case 3:case 131:case 139:case 140:return Fa.to_workbook(a,n);case 123:if(92===r[1]&&114===r[2]&&116===r[3])return pi.to_workbook(a,n);break;case 10:case 13:case 32:return function(e,t){var n="",r=tu(e,t);switch(t.type){case"base64":n=g.decode(e);break;case"binary":n=e;break;case"buffer":n=e.toString("binary");break;case"array":n=Q(e);break;default:throw new Error("Unrecognized type "+t.type)}return 239==r[0]&&187==r[1]&&191==r[2]&&(n=Pe(n)),nu(n,t)}(a,n)}return Fa.versions.indexOf(r[0])>-1&&r[2]<=12&&r[3]<=31?Fa.to_workbook(a,n):ru(e,a,n,i)}function iu(e,t){var n=t||{};return n.type="file",au(e,n)}function ou(e,t){switch(t.type){case"base64":case"binary":break;case"buffer":case"array":t.type="";break;case"file":return D(t.file,P.write(e,{type:m?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");default:throw new Error("Unrecognized type "+t.type)}return P.write(e,t)}function su(e,t,n){n||(n="");var r=n+e;switch(t.type){case"base64":return g.encode(Fe(r));case"binary":return Fe(r);case"string":return e;case"file":return D(t.file,r,"utf8");case"buffer":return m?v(r,"utf8"):su(r,{type:"binary"}).split("").map(function(e){return e.charCodeAt(0)})}throw new Error("Unrecognized type "+t.type)}function lu(e,t){switch(t.type){case"string":case"base64":case"binary":for(var n="",r=0;r<e.length;++r)n+=String.fromCharCode(e[r]);return"base64"==t.type?g.encode(n):"string"==t.type?Pe(n):n;case"file":return D(t.file,e);case"buffer":return e;default:throw new Error("Unrecognized type "+t.type)}}function cu(e,t){l(),yl(e);var n=ee(t||{});if(n.cellStyles&&(n.cellNF=!0,n.sheetStubs=!0),"array"==n.type){n.type="binary";var r=cu(e,n);return n.type="array",x(r)}switch(n.bookType||"xlsb"){case"xml":case"xlml":return su(rc(e,n),n);case"slk":case"sylk":return su(jc(e,n),n);case"htm":case"html":return su(Dc(e,n),n);case"txt":return function(e,t){switch(t.type){case"base64":return g.encode(e);case"binary":case"string":return e;case"file":return D(t.file,e,"binary");case"buffer":return m?v(e,"binary"):e.split("").map(function(e){return e.charCodeAt(0)})}throw new Error("Unrecognized type "+t.type)}(Hc(e,n),n);case"csv":return su(Mc(e,n),n,"\ufeff");case"dif":return su(Wc(e,n),n);case"dbf":return lu(Vc(e,n),n);case"prn":return su(Uc(e,n),n);case"rtf":return su(zc(e,n),n);case"eth":return su(qc(e,n),n);case"fods":return su(Pc(e,n),n);case"biff2":n.biff||(n.biff=2);case"biff3":n.biff||(n.biff=3);case"biff4":return n.biff||(n.biff=4),lu(kc(e,n),n);case"biff5":n.biff||(n.biff=5);case"biff8":case"xla":case"xls":return n.biff||(n.biff=8),function(e,t){var n=t||{};return ou(fc(e,n),n)}(e,n);case"xlsx":case"xlsm":case"xlam":case"xlsb":case"ods":return function(e,t){var n=ee(t||{}),r=eu(e,n),a={};if(n.compression&&(a.compression="DEFLATE"),n.password)a.type=m?"nodebuffer":"string";else switch(n.type){case"base64":a.type="base64";break;case"binary":a.type="string";break;case"string":throw new Error("'string' output type invalid for '"+n.bookType+"' files");case"buffer":case"file":a.type=m?"nodebuffer":"string";break;default:throw new Error("Unrecognized type "+n.type)}var i=r.FullPaths?P.write(r,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[a.type]||a.type}):r.generate(a);return n.password&&"undefined"!=typeof encrypt_agile?ou(encrypt_agile(i,n.password),n):"file"===n.type?D(n.file,i):"string"==n.type?Pe(i):i}(e,n);default:throw new Error("Unrecognized bookType |"+n.bookType+"|")}}function uu(e){if(!e.bookType){var t=e.file.slice(e.file.lastIndexOf(".")).toLowerCase();t.match(/^\.[a-z]+$/)&&(e.bookType=t.slice(1)),e.bookType={xls:"biff8",htm:"html",slk:"sylk",socialcalc:"eth",Sh33tJS:"WTF"}[e.bookType]||e.bookType}}function fu(e,t,n){var r=n||{};return r.type="file",r.file=t,uu(r),cu(e,r)}function hu(e,t,n,r,a,i,o,s){var l=Ht(n),c=s.defval,u=s.raw||!Object.prototype.hasOwnProperty.call(s,"raw"),f=!0,h=1===a?[]:{};if(1!==a)if(Object.defineProperty)try{Object.defineProperty(h,"__rowNum__",{value:n,enumerable:!1})}catch(e){h.__rowNum__=n}else h.__rowNum__=n;if(!o||e[n])for(var d=t.s.c;d<=t.e.c;++d){var p=o?e[n][d]:e[r[d]+l];if(void 0!==p&&void 0!==p.t){var g=p.v;switch(p.t){case"z":if(null==g)break;continue;case"e":g=0==g?null:void 0;break;case"s":case"d":case"b":case"n":break;default:throw new Error("unrecognized type "+p.t)}if(null!=i[d]){if(null==g)if("e"==p.t&&null===g)h[i[d]]=null;else if(void 0!==c)h[i[d]]=c;else{if(!u||null!==g)continue;h[i[d]]=null}else h[i[d]]=u||s.rawNumbers&&"n"==p.t?g:Zt(p,g,s);null!=g&&(f=!1)}}else{if(void 0===c)continue;null!=i[d]&&(h[i[d]]=c)}}return{row:h,isempty:f}}function du(e,t){if(null==e||null==e["!ref"])return[];var n={t:"n",v:0},r=0,a=1,i=[],o=0,s="",l={s:{r:0,c:0},e:{r:0,c:0}},c=t||{},u=null!=c.range?c.range:e["!ref"];switch(1===c.header?r=1:"A"===c.header?r=2:Array.isArray(c.header)?r=3:null==c.header&&(r=0),typeof u){case"string":l=Kt(u);break;case"number":(l=Kt(e["!ref"])).s.r=u;break;default:l=u}r>0&&(a=0);var f=Ht(l.s.r),h=[],d=[],p=0,g=0,m=Array.isArray(e),v=l.s.r,b=0,y=0;for(m&&!e[v]&&(e[v]=[]),b=l.s.c;b<=l.e.c;++b)switch(h[b]=qt(b),n=m?e[v][b]:e[h[b]+f],r){case 1:i[b]=b-l.s.c;break;case 2:i[b]=h[b];break;case 3:i[b]=c.header[b-l.s.c];break;default:for(null==n&&(n={w:"__EMPTY",t:"s"}),s=o=Zt(n,null,c),g=0,y=0;y<i.length;++y)i[y]==s&&(s=o+"_"+ ++g);i[b]=s}for(v=l.s.r+a;v<=l.e.r;++v){var w=hu(e,l,v,h,r,i,m,c);(!1===w.isempty||(1===r?!1!==c.blankrows:c.blankrows))&&(d[p++]=w.row)}return d.length=p,d}var pu=/"/g;function gu(e,t,n,r,a,i,o,s){for(var l=!0,c=[],u="",f=Ht(n),h=t.s.c;h<=t.e.c;++h)if(r[h]){var d=s.dense?(e[n]||[])[h]:e[r[h]+f];if(null==d)u="";else if(null!=d.v){l=!1,u=""+(s.rawNumbers&&"n"==d.t?d.v:Zt(d,null,s));for(var p=0,g=0;p!==u.length;++p)if((g=u.charCodeAt(p))===a||g===i||34===g||s.forceQuotes){u='"'+u.replace(pu,'""')+'"';break}"ID"==u&&(u='"ID"')}else null==d.f||d.F?u="":(l=!1,(u="="+d.f).indexOf(",")>=0&&(u='"'+u.replace(pu,'""')+'"'));c.push(u)}return!1===s.blankrows&&l?null:c.join(o)}function mu(e,t){var n=[],r=null==t?{}:t;if(null==e||null==e["!ref"])return"";var a=Kt(e["!ref"]),i=void 0!==r.FS?r.FS:",",o=i.charCodeAt(0),s=void 0!==r.RS?r.RS:"\n",l=s.charCodeAt(0),c=new RegExp(("|"==i?"\\|":i)+"+$"),u="",f=[];r.dense=Array.isArray(e);for(var h=r.skipHidden&&e["!cols"]||[],d=r.skipHidden&&e["!rows"]||[],p=a.s.c;p<=a.e.c;++p)(h[p]||{}).hidden||(f[p]=qt(p));for(var g=a.s.r;g<=a.e.r;++g)(d[g]||{}).hidden||null!=(u=gu(e,a,g,f,o,l,i,r))&&(r.strip&&(u=u.replace(c,"")),n.push(u+s));return delete r.dense,n.join("")}function vu(e,t){t||(t={}),t.FS="\t",t.RS="\n";var n=mu(e,t);if("undefined"==typeof cptable||"string"==t.type)return n;var r=cptable.utils.encode(1200,n,"str");return String.fromCharCode(255)+String.fromCharCode(254)+r}function bu(e){var t,n="",r="";if(null==e||null==e["!ref"])return[];var a,i=Kt(e["!ref"]),o="",s=[],l=[],c=Array.isArray(e);for(a=i.s.c;a<=i.e.c;++a)s[a]=qt(a);for(var u=i.s.r;u<=i.e.r;++u)for(o=Ht(u),a=i.s.c;a<=i.e.c;++a)if(n=s[a]+o,r="",void 0!==(t=c?(e[u]||[])[a]:e[n])){if(null!=t.F){if(n=t.F,!t.f)continue;r=t.f,-1==n.indexOf(":")&&(n=n+":"+n)}if(null!=t.f)r=t.f;else{if("z"==t.t)continue;if("n"==t.t&&null!=t.v)r=""+t.v;else if("b"==t.t)r=t.v?"TRUE":"FALSE";else if(void 0!==t.w)r="'"+t.w;else{if(void 0===t.v)continue;r="s"==t.t?"'"+t.v:""+t.v}}l[l.length]=n+"="+r}return l}function yu(e,t,n){var r,a=n||{},i=+!a.skipHeader,o=e||{},s=0,l=0;if(o&&null!=a.origin)if("number"==typeof a.origin)s=a.origin;else{var c="string"==typeof a.origin?Gt(a.origin):a.origin;s=c.r,l=c.c}var u={s:{c:0,r:0},e:{c:l,r:s+t.length-1+i}};if(o["!ref"]){var f=Kt(o["!ref"]);u.e.c=Math.max(u.e.c,f.e.c),u.e.r=Math.max(u.e.r,f.e.r),-1==s&&(s=f.e.r+1,u.e.r=s+t.length-1+i)}else-1==s&&(s=0,u.e.r=t.length-1+i);var h=a.header||[],d=0;t.forEach(function(e,t){M(e).forEach(function(n){-1==(d=h.indexOf(n))&&(h[d=h.length]=n);var c=e[n],u="z",f="",p=Xt({c:l+d,r:s+t+i});r=wu.sheet_get_cell(o,p),!c||"object"!=typeof c||c instanceof Date?("number"==typeof c?u="n":"boolean"==typeof c?u="b":"string"==typeof c?u="s":c instanceof Date?(u="d",a.cellDates||(u="n",c=H(c)),f=a.dateNF||T._table[14]):null===c&&a.nullError&&(u="e",c=0),r?(r.t=u,r.v=c,delete r.w,delete r.R,f&&(r.z=f)):o[p]=r={t:u,v:c},f&&(r.z=f)):o[p]=c})}),u.e.c=Math.max(u.e.c,l+h.length-1);var p=Ht(s);if(i)for(d=0;d<h.length;++d)o[qt(d+l)+p]={t:"s",v:h[d]};return o["!ref"]=Yt(u),o}var wu={encode_col:qt,encode_row:Ht,encode_cell:Xt,encode_range:Yt,decode_col:Vt,decode_row:zt,split_cell:function(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")},decode_cell:Gt,decode_range:$t,format_cell:Zt,get_formulae:bu,make_csv:mu,make_json:du,make_formulae:bu,sheet_add_aoa:en,sheet_add_json:yu,sheet_add_dom:Cc,aoa_to_sheet:tn,json_to_sheet:function(e,t){return yu(null,e,t)},table_to_sheet:Tc,table_to_book:function(e,t){return Qt(Tc(e,t),t)},sheet_to_csv:mu,sheet_to_txt:vu,sheet_to_json:du,sheet_to_html:Ac.from_sheet,sheet_to_formulae:bu,sheet_to_row_object_array:du};!function(e){function t(e,t,n){return null!=e[t]?e[t]:e[t]=n}function n(e,t,r){if("string"==typeof t){if(Array.isArray(e)){var a=Gt(t);return e[a.r]||(e[a.r]=[]),e[a.r][a.c]||(e[a.r][a.c]={t:"z"})}return e[t]||(e[t]={t:"z"})}return n(e,Xt("number"!=typeof t?t:{r:t,c:r||0}))}e.consts=e.consts||{},e.sheet_get_cell=n,e.book_new=function(){return{SheetNames:[],Sheets:{}}},e.book_append_sheet=function(e,t,n){if(!n)for(var r=1;r<=65535&&-1!=e.SheetNames.indexOf(n="Sheet"+r);++r,n=void 0);if(!n||e.SheetNames.length>=65535)throw new Error("Too many worksheets");if(bl(n),e.SheetNames.indexOf(n)>=0)throw new Error("Worksheet with name |"+n+"| already exists!");e.SheetNames.push(n),e.Sheets[n]=t},e.book_set_sheet_visibility=function(e,n,r){t(e,"Workbook",{}),t(e.Workbook,"Sheets",[]);var a=function(e,t){if("number"==typeof t){if(t>=0&&e.SheetNames.length>t)return t;throw new Error("Cannot find sheet # "+t)}if("string"==typeof t){var n=e.SheetNames.indexOf(t);if(n>-1)return n;throw new Error("Cannot find sheet name |"+t+"|")}throw new Error("Cannot find sheet |"+t+"|")}(e,n);switch(t(e.Workbook.Sheets,a,{}),r){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+r)}e.Workbook.Sheets[a].Hidden=r},function(t){t.forEach(function(t){e.consts[t[0]]=t[1]})}([["SHEET_VISIBLE",0],["SHEET_HIDDEN",1],["SHEET_VERY_HIDDEN",2]]),e.cell_set_number_format=function(e,t){return e.z=t,e},e.cell_set_hyperlink=function(e,t,n){return t?(e.l={Target:t},n&&(e.l.Tooltip=n)):delete e.l,e},e.cell_set_internal_link=function(t,n,r){return e.cell_set_hyperlink(t,"#"+n,r)},e.cell_add_comment=function(e,t,n){e.c||(e.c=[]),e.c.push({t:t,a:n||"SheetJS"})},e.sheet_set_array_formula=function(e,t,r){for(var a="string"!=typeof t?t:Kt(t),i="string"==typeof t?t:Yt(t),o=a.s.r;o<=a.e.r;++o)for(var s=a.s.c;s<=a.e.c;++s){var l=n(e,o,s);l.t="n",l.F=i,delete l.v,o==a.s.r&&s==a.s.c&&(l.f=r)}return e}}(wu),m&&"undefined"!=typeof require&&function(){var t={}.Readable;e.stream={to_json:function(e,n){var r=t({objectMode:!0});if(null==e||null==e["!ref"])return r.push(null),r;var a={t:"n",v:0},i=0,o=1,s=[],l=0,c="",u={s:{r:0,c:0},e:{r:0,c:0}},f=n||{},h=null!=f.range?f.range:e["!ref"];switch(1===f.header?i=1:"A"===f.header?i=2:Array.isArray(f.header)&&(i=3),typeof h){case"string":u=Kt(h);break;case"number":(u=Kt(e["!ref"])).s.r=h;break;default:u=h}i>0&&(o=0);var d=Ht(u.s.r),p=[],g=0,m=Array.isArray(e),v=u.s.r,b=0,y=0;for(m&&!e[v]&&(e[v]=[]),b=u.s.c;b<=u.e.c;++b)switch(p[b]=qt(b),a=m?e[v][b]:e[p[b]+d],i){case 1:s[b]=b-u.s.c;break;case 2:s[b]=p[b];break;case 3:s[b]=f.header[b-u.s.c];break;default:for(null==a&&(a={w:"__EMPTY",t:"s"}),c=l=Zt(a,null,f),g=0,y=0;y<s.length;++y)s[y]==c&&(c=l+"_"+ ++g);s[b]=c}return v=u.s.r+o,r._read=function(){if(v>u.e.r)return r.push(null);for(;v<=u.e.r;){var t=hu(e,u,v,p,i,s,m,f);if(++v,!1===t.isempty||(1===i?!1!==f.blankrows:f.blankrows)){r.push(t.row);break}}},r},to_html:function(e,n){var r=t(),a=n||{},i=null!=a.header?a.header:Ac.BEGIN,o=null!=a.footer?a.footer:Ac.END;r.push(i);var s=$t(e["!ref"]);a.dense=Array.isArray(e),r.push(Ac._preamble(e,s,a));var l=s.s.r,c=!1;return r._read=function(){if(l>s.e.r)return c||(c=!0,r.push("</table>"+o)),r.push(null);for(;l<=s.e.r;){r.push(Ac._row(e,s,l,a)),++l;break}},r},to_csv:function(e,n){var r=t(),a=null==n?{}:n;if(null==e||null==e["!ref"])return r.push(null),r;var i=Kt(e["!ref"]),o=void 0!==a.FS?a.FS:",",s=o.charCodeAt(0),l=void 0!==a.RS?a.RS:"\n",c=l.charCodeAt(0),u=new RegExp(("|"==o?"\\|":o)+"+$"),f="",h=[];a.dense=Array.isArray(e);for(var d=a.skipHidden&&e["!cols"]||[],p=a.skipHidden&&e["!rows"]||[],g=i.s.c;g<=i.e.c;++g)(d[g]||{}).hidden||(h[g]=qt(g));var m=i.s.r,v=!1;return r._read=function(){if(!v)return v=!0,r.push("\ufeff");for(;m<=i.e.r;)if(!(p[++m-1]||{}).hidden&&null!=(f=gu(e,i,m-1,h,s,c,o,a))){a.strip&&(f=f.replace(u,"")),r.push(f+l);break}return m>i.e.r?r.push(null):void 0},r}}}(),void 0!==uc&&(e.parse_xlscfb=uc),e.parse_zip=Zc,e.read=au,e.readFile=iu,e.readFileSync=iu,e.write=cu,e.writeFile=fu,e.writeFileSync=fu,e.writeFileAsync=function(e,t,n,r){var a=n||{};a.type="file",a.file=e,uu(a),a.type="buffer";var i=r;return i instanceof Function||(i=n),O.writeFile(e,cu(t,a),i)},e.utils=wu,e.SSF=T,void 0!==P&&(e.CFB=P)}"undefined"!=typeof exports?make_xlsx_lib(exports):"undefined"!=typeof module&&module.exports?make_xlsx_lib(module.exports):"function"==typeof define&&define.amd?define("xlsx-dist",function(){return XLSX.version||make_xlsx_lib(XLSX),XLSX}):make_xlsx_lib(XLSX),"undefined"==typeof window||window.XLSX||(window.XLSX=XLSX);var XLS=XLSX,ODS=XLSX;function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}!function(e){"use strict";var t,n,r,a,i,o=1.15,s={cellPadding:5,fontSize:10,font:"helvetica",lineColor:200,lineWidth:.1,fontStyle:"normal",overflow:"ellipsize",fillColor:255,textColor:20,halign:"left",valign:"top",fillStyle:"F",rowHeight:20,columnWidth:"auto"},l={striped:{table:{fillColor:255,textColor:80,fontStyle:"normal",fillStyle:"F"},header:{textColor:255,fillColor:[41,128,185],rowHeight:23,fontStyle:"bold"},body:{},alternateRow:{fillColor:245}},grid:{table:{fillColor:255,textColor:80,fontStyle:"normal",lineWidth:.1,fillStyle:"DF"},header:{textColor:255,fillColor:[26,188,156],rowHeight:23,fillStyle:"F",fontStyle:"bold"},body:{},alternateRow:{}},plain:{header:{fontStyle:"bold"}}},c=function(){return{theme:"striped",styles:{},headerStyles:{},bodyStyles:{},alternateRowStyles:{},columnStyles:{},startY:!1,margin:40,pageBreak:"auto",tableWidth:"auto",createdHeaderCell:function(e,t){},createdCell:function(e,t){},drawHeaderRow:function(e,t){},drawRow:function(e,t){},drawHeaderCell:function(e,t){},drawCell:function(e,t){},beforePageContent:function(e){},afterPageContent:function(e){}}};function u(e,r){for(var a=0;a<i.columns.length;a++){var o=i.columns[a],s=e.cells[o.dataKey];if(s)f(s.styles),s.x=o.x,s.y=n.y,s.height=e.height,s.width=o.width,"top"===s.styles.valign?s.textPos.y=n.y+s.styles.cellPadding:"bottom"===s.styles.valign?s.textPos.y=n.y+e.height-s.styles.cellPadding:s.textPos.y=n.y+e.height/2,"right"===s.styles.halign?s.textPos.x=s.x+s.width-s.styles.cellPadding:"center"===s.styles.halign?s.textPos.x=s.x+s.width/2:s.textPos.x=s.x+s.styles.cellPadding,!1!==r(s,h({column:o,row:e}))&&(t.rect(s.x,s.y,s.width,s.height,s.styles.fillStyle),t.autoTableText(s.text,s.textPos.x,s.textPos.y,{halign:s.styles.halign,valign:s.styles.valign}))}n.y+=e.height}function f(e){[{func:t.setFillColor,value:e.fillColor},{func:t.setTextColor,value:e.textColor},{func:t.setFontStyle,value:e.fontStyle},{func:t.setDrawColor,value:e.lineColor},{func:t.setLineWidth,value:e.lineWidth},{func:t.setFont,value:e.font},{func:t.setFontSize,value:e.fontSize}].forEach(function(e){void 0!==e.value&&(e.value.constructor===Array?e.func.apply(this,e.value):e.func(e.value))})}function h(e){e=e||{};var t={pageCount:a,settings:r,table:i,cursor:n};for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o]);return t}function d(e,t,n,r){if(r=void 0!==r?r:"...",Array.isArray(e))return e.forEach(function(a,i){e[i]=d(a,t,n,r)}),e;if(t>=p(e,n))return e;for(;t<p(e+r,n)&&!(e.length<2);)e=e.substring(0,e.length-1);return e.trim()+r}function p(e,n){return f(n),t.getStringUnitWidth(e)*n.fontSize}function g(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);for(var r=1;r<arguments.length;r++){var a=arguments[r];for(t in a)a.hasOwnProperty(t)&&("object"!=typeof a[t]||Array.isArray(a[t]),n[t]=a[t])}return n}e.autoTable=function(e,m,v){t=this,r=function(e){var t=g(c(),e);void 0!==t.extendWidth&&(t.tableWidth=t.extendWidth?"auto":"wrap",console.error("Use of deprecated option: extendWidth, use tableWidth instead."));void 0!==t.margins&&(void 0===t.margin&&(t.margin=t.margins),console.error("Use of deprecated option: margins, use margin instead."));[["padding","cellPadding"],["lineHeight","rowHeight"],"fontSize","overflow"].forEach(function(e){var n="string"==typeof e?e:e[0],r="string"==typeof e?e:e[1];void 0!==t[n]&&(void 0===t.styles[r]&&(t.styles[r]=t[n]),console.error("Use of deprecated option: "+n+", use the style "+r+" instead."))});var n=t.margin;t.margin={},"number"==typeof n.horizontal&&(n.right=n.horizontal,n.left=n.horizontal);"number"==typeof n.vertical&&(n.top=n.vertical,n.bottom=n.vertical);return["top","right","bottom","left"].forEach(function(e,r){if("number"==typeof n)t.margin[e]=n;else{var a=Array.isArray(n)?r:e;t.margin[e]="number"==typeof n[a]?n[a]:40}}),t}(v||{}),a=1,n={y:!1===r.startY?r.margin.top:r.startY};var b={textColor:30,fontSize:t.internal.getFontSize(),fontStyle:t.internal.getFont().fontStyle};!function(e,t){(i=new Table).x=r.margin.left;var n=/\r\n|\r|\n/g,a=new Row(e);a.index=-1;var o=g(s,l[r.theme].table,l[r.theme].header);a.styles=g(o,r.styles,r.headerStyles),e.forEach(function(e,t){"object"==typeof e&&(t=void 0!==e.dataKey?e.dataKey:e.key),void 0!==e.width&&console.error("Use of deprecated option: column.width, use column.styles.columnWidth instead.");var o=new Column(t);o.styles=r.columnStyles[o.dataKey]||{},i.columns.push(o);var s=new Cell;s.raw="object"==typeof e?e.title:e,s.styles=a.styles,s.text=""+s.raw,s.contentWidth=2*s.styles.cellPadding+p(s.text,s.styles),s.text=s.text.split(n),a.cells[t]=s,r.createdHeaderCell(s,{column:o,row:a,settings:r})}),i.headerRow=a,t.forEach(function(e,t){var a=new Row(e),o=t%2==0,c=g(s,l[r.theme].table,o?l[r.theme].alternateRow:{}),u=g(r.styles,r.bodyStyles,o?r.alternateRowStyles:{});a.styles=g(c,u),a.index=t,i.columns.forEach(function(t){var i=new Cell;i.raw=e[t.dataKey],i.styles=g(a.styles,t.styles),i.text=void 0!==i.raw?""+i.raw:"",a.cells[t.dataKey]=i,r.createdCell(i,h({column:t,row:a})),i.contentWidth=2*i.styles.cellPadding+p(i.text,i.styles),i.text=i.text.split(n)}),i.rows.push(a)})}(e,m),function(){var e=0;i.columns.forEach(function(t){t.contentWidth=i.headerRow.cells[t.dataKey].contentWidth,i.rows.forEach(function(e){var n=e.cells[t.dataKey].contentWidth;n>t.contentWidth&&(t.contentWidth=n)}),t.width=t.contentWidth,e+=t.contentWidth}),i.contentWidth=e;var n=t.internal.pageSize.width-r.margin.left-r.margin.right,a=n;"number"==typeof r.tableWidth?a=r.tableWidth:"wrap"===r.tableWidth&&(a=i.contentWidth);i.width=a<n?a:n;var c=[],u=0,h=i.width/i.columns.length,p=0;i.columns.forEach(function(e){var t=g(s,l[r.theme].table,r.styles,e.styles);"wrap"===t.columnWidth?e.width=e.contentWidth:"number"==typeof t.columnWidth?e.width=t.columnWidth:(t.columnWidth,e.contentWidth<=h&&i.contentWidth>i.width?e.width=e.contentWidth:(c.push(e),u+=e.contentWidth,e.width=0)),p+=e.width}),function e(t,n,r,a){var o=i.width-n-r;for(var s=0;s<t.length;s++){var l=t[s],c=l.contentWidth/r,u=l.contentWidth+o*c<a;if(o<0&&u){t.splice(s,1),r-=l.contentWidth,l.width=a,n+=l.width,e(t,n,r,a);break}l.width=l.contentWidth+o*c}}(c,p,u,h),i.height=0,i.rows.concat(i.headerRow).forEach(function(e,n){var r=0,a=i.x;i.columns.forEach(function(n){var i=e.cells[n.dataKey];n.x=a,f(i.styles);var o=n.width-2*i.styles.cellPadding;"linebreak"===i.styles.overflow?i.text=t.splitTextToSize(i.text,o+1,{fontSize:i.styles.fontSize}):"ellipsize"===i.styles.overflow?i.text=d(i.text,o,i.styles):"visible"===i.styles.overflow||("hidden"===i.styles.overflow?i.text=d(i.text,o,i.styles,""):"function"==typeof i.styles.overflow?i.text=i.styles.overflow(i.text,o):console.error("Unrecognized overflow type: "+i.styles.overflow));var s=Array.isArray(i.text)?i.text.length-1:0;s>r&&(r=s),a+=n.width}),e.heightStyle=e.styles.rowHeight,e.height=e.heightStyle+r*e.styles.fontSize*o,i.height+=e.height})}();var y=i.rows[0]&&"auto"===r.pageBreak?i.rows[0].height:0,w=r.startY+r.margin.bottom+i.headerRow.height+y;return"avoid"===r.pageBreak&&(w+=i.height),("always"===r.pageBreak&&!1!==r.startY||!1!==r.startY&&w>t.internal.pageSize.height)&&(t.addPage(),n.y=r.margin.top),f(b),r.beforePageContent(h()),!1!==r.drawHeaderRow(i.headerRow,h({row:i.headerRow}))&&u(i.headerRow,r.drawHeaderCell),f(b),i.rows.forEach(function(e,o){var s;s=e.height,n.y+s+r.margin.bottom>=t.internal.pageSize.height&&(r.afterPageContent(h()),t.addPage(),a++,n={x:r.margin.left,y:r.margin.top},r.beforePageContent(h()),!1!==r.drawHeaderRow(i.headerRow,h({row:i.headerRow}))&&u(i.headerRow,r.drawHeaderCell)),e.y=n.y,!1!==r.drawRow(e,h({row:e}))&&u(e,r.drawCell)}),r.afterPageContent(h()),f(b),this},e.autoTableEndPosY=function(){return void 0===n||void 0===n.y?0:n.y},e.autoTableHtmlToJson=function(e){var t,n,r,a,i=[],o=[],s=e.rows[0];for(r=0;r<s.cells.length;r++)o.push(void 0!==s.cells[r]?s.cells[r].textContent:"");for(r=1;r<e.rows.length;r++){for(t=e.rows[r],n=[],a=0;a<s.cells.length;a++)n.push(void 0!==t.cells[a]?t.cells[a].textContent:"");i.push(n)}return{columns:o,data:i,rows:i}},e.autoTableText=function(e,n,r,a){"number"==typeof n&&"number"==typeof r||console.error("The x and y parameters are required. Missing for the text: ",e);var i=t.internal.getFontSize()/t.internal.scaleFactor,s=o,l=null,c=1;if("middle"!==a.valign&&"bottom"!==a.valign&&"center"!==a.halign&&"right"!==a.halign||(c=(l="string"==typeof e?e.split(/\r\n|\r|\n/g):e).length||1),r+=i*(2-s),"middle"===a.valign?r-=c/2*i:"bottom"===a.valign&&(r-=c*i),"center"===a.halign||"right"===a.halign){var u=i;if("center"===a.halign&&(u*=.5),c>=1){for(var f=0;f<l.length;f++)t.text(l[f],n-t.getStringUnitWidth(l[f])*u,r),r+=i;return t}n-=t.getStringUnitWidth(e)*u}return t.text(e,n,r),t}}(jsPDF.API);var Table=function e(){_classCallCheck(this,e),this.height=0,this.width=0,this.x=0,this.y=0,this.contentWidth=0,this.rows=[],this.columns=[],this.headerRow=null,this.settings={}},Row=function e(t){_classCallCheck(this,e),this.raw=t||{},this.index=0,this.styles={},this.cells={},this.height=0,this.y=0},Cell=function e(t){_classCallCheck(this,e),this.raw=t,this.styles={},this.text="",this.contentWidth=0,this.textPos={},this.height=0,this.width=0,this.x=0,this.y=0},Column=function e(t){_classCallCheck(this,e),this.dataKey=t,this.options={},this.styles={},this.contentWidth=0,this.width=0,this.x=0};!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).jQuery)}(this,function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e);function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function s(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=a(e);if(t){var i=a(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return o(this,n)}}function l(e,t,n){return(l="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=a(e)););return e}(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}})(e,t,n||e)}var c="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function u(e,t){return e(t={exports:{}},t.exports),t.exports}var f=function(e){return e&&e.Math==Math&&e},h=f("object"==typeof globalThis&&globalThis)||f("object"==typeof window&&window)||f("object"==typeof self&&self)||f("object"==typeof c&&c)||function(){return this}()||Function("return this")(),d=function(e){try{return!!e()}catch(e){return!0}},p=!d(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),g={}.propertyIsEnumerable,m=Object.getOwnPropertyDescriptor,v={f:m&&!g.call({1:2},1)?function(e){var t=m(this,e);return!!t&&t.enumerable}:g},b=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},y={}.toString,w=function(e){return y.call(e).slice(8,-1)},S="".split,x=d(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==w(e)?S.call(e,""):Object(e)}:Object,E=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},_=function(e){return x(E(e))},k=function(e){return"object"==typeof e?null!==e:"function"==typeof e},A=function(e,t){if(!k(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!k(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!k(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!k(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},C={}.hasOwnProperty,T=function(e,t){return C.call(e,t)},R=h.document,N=k(R)&&k(R.createElement),B=function(e){return N?R.createElement(e):{}},I=!p&&!d(function(){return 7!=Object.defineProperty(B("div"),"a",{get:function(){return 7}}).a}),L=Object.getOwnPropertyDescriptor,O={f:p?L:function(e,t){if(e=_(e),t=A(t,!0),I)try{return L(e,t)}catch(e){}if(T(e,t))return b(!v.f.call(e,t),e[t])}},P=function(e){if(!k(e))throw TypeError(String(e)+" is not an object");return e},F=Object.defineProperty,D={f:p?F:function(e,t,n){if(P(e),t=A(t,!0),P(n),I)try{return F(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},M=p?function(e,t,n){return D.f(e,t,b(1,n))}:function(e,t,n){return e[t]=n,e},j=function(e,t){try{M(h,e,t)}catch(n){h[e]=t}return t},W=h["__core-js_shared__"]||j("__core-js_shared__",{}),U=Function.toString;"function"!=typeof W.inspectSource&&(W.inspectSource=function(e){return U.call(e)});var z,H,V,q=W.inspectSource,G=h.WeakMap,X="function"==typeof G&&/native code/.test(q(G)),$=u(function(e){(e.exports=function(e,t){return W[e]||(W[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.9.1",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})}),Y=0,K=Math.random(),J=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++Y+K).toString(36)},Z=$("keys"),Q=function(e){return Z[e]||(Z[e]=J(e))},ee={},te=h.WeakMap;if(X){var ne=W.state||(W.state=new te),re=ne.get,ae=ne.has,ie=ne.set;z=function(e,t){return t.facade=e,ie.call(ne,e,t),t},H=function(e){return re.call(ne,e)||{}},V=function(e){return ae.call(ne,e)}}else{var oe=Q("state");ee[oe]=!0,z=function(e,t){return t.facade=e,M(e,oe,t),t},H=function(e){return T(e,oe)?e[oe]:{}},V=function(e){return T(e,oe)}}var se,le,ce={set:z,get:H,has:V,enforce:function(e){return V(e)?H(e):z(e,{})},getterFor:function(e){return function(t){var n;if(!k(t)||(n=H(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},ue=u(function(e){var t=ce.get,n=ce.enforce,r=String(String).split("String");(e.exports=function(e,t,a,i){var o,s=!!i&&!!i.unsafe,l=!!i&&!!i.enumerable,c=!!i&&!!i.noTargetGet;"function"==typeof a&&("string"!=typeof t||T(a,"name")||M(a,"name",t),(o=n(a)).source||(o.source=r.join("string"==typeof t?t:""))),e!==h?(s?!c&&e[t]&&(l=!0):delete e[t],l?e[t]=a:M(e,t,a)):l?e[t]=a:j(t,a)})(Function.prototype,"toString",function(){return"function"==typeof this&&t(this).source||q(this)})}),fe=h,he=function(e){return"function"==typeof e?e:void 0},de=function(e,t){return arguments.length<2?he(fe[e])||he(h[e]):fe[e]&&fe[e][t]||h[e]&&h[e][t]},pe=Math.ceil,ge=Math.floor,me=function(e){return isNaN(e=+e)?0:(e>0?ge:pe)(e)},ve=Math.min,be=function(e){return e>0?ve(me(e),9007199254740991):0},ye=Math.max,we=Math.min,Se=function(e){return function(t,n,r){var a,i=_(t),o=be(i.length),s=function(e,t){var n=me(e);return n<0?ye(n+t,0):we(n,t)}(r,o);if(e&&n!=n){for(;o>s;)if((a=i[s++])!=a)return!0}else for(;o>s;s++)if((e||s in i)&&i[s]===n)return e||s||0;return!e&&-1}},xe={includes:Se(!0),indexOf:Se(!1)}.indexOf,Ee=function(e,t){var n,r=_(e),a=0,i=[];for(n in r)!T(ee,n)&&T(r,n)&&i.push(n);for(;t.length>a;)T(r,n=t[a++])&&(~xe(i,n)||i.push(n));return i},_e=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],ke=_e.concat("length","prototype"),Ae={f:Object.getOwnPropertyNames||function(e){return Ee(e,ke)}},Ce={f:Object.getOwnPropertySymbols},Te=de("Reflect","ownKeys")||function(e){var t=Ae.f(P(e)),n=Ce.f;return n?t.concat(n(e)):t},Re=function(e,t){for(var n=Te(t),r=D.f,a=O.f,i=0;i<n.length;i++){var o=n[i];T(e,o)||r(e,o,a(t,o))}},Ne=/#|\.prototype\./,Be=function(e,t){var n=Le[Ie(e)];return n==Pe||n!=Oe&&("function"==typeof t?d(t):!!t)},Ie=Be.normalize=function(e){return String(e).replace(Ne,".").toLowerCase()},Le=Be.data={},Oe=Be.NATIVE="N",Pe=Be.POLYFILL="P",Fe=Be,De=O.f,Me=function(e,t){var n,r,a,i,o,s=e.target,l=e.global,c=e.stat;if(n=l?h:c?h[s]||j(s,{}):(h[s]||{}).prototype)for(r in t){if(i=t[r],a=e.noTargetGet?(o=De(n,r))&&o.value:n[r],!Fe(l?r:s+(c?".":"#")+r,e.forced)&&void 0!==a){if(typeof i==typeof a)continue;Re(i,a)}(e.sham||a&&a.sham)&&M(i,"sham",!0),ue(n,r,i,e)}},je=Array.isArray||function(e){return"Array"==w(e)},We=function(e){return Object(E(e))},Ue=function(e,t,n){var r=A(t);r in e?D.f(e,r,b(0,n)):e[r]=n},ze="process"==w(h.process),He=de("navigator","userAgent")||"",Ve=h.process,qe=Ve&&Ve.versions,Ge=qe&&qe.v8;Ge?le=(se=Ge.split("."))[0]+se[1]:He&&(!(se=He.match(/Edge\/(\d+)/))||se[1]>=74)&&(se=He.match(/Chrome\/(\d+)/))&&(le=se[1]);var Xe,$e=le&&+le,Ye=!!Object.getOwnPropertySymbols&&!d(function(){return!Symbol.sham&&(ze?38===$e:$e>37&&$e<41)}),Ke=Ye&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Je=$("wks"),Ze=h.Symbol,Qe=Ke?Ze:Ze&&Ze.withoutSetter||J,et=function(e){return T(Je,e)&&(Ye||"string"==typeof Je[e])||(Ye&&T(Ze,e)?Je[e]=Ze[e]:Je[e]=Qe("Symbol."+e)),Je[e]},tt=et("species"),nt=function(e,t){var n;return je(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!je(n.prototype)?k(n)&&null===(n=n[tt])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)},rt=et("species"),at=et("isConcatSpreadable"),it=$e>=51||!d(function(){var e=[];return e[at]=!1,e.concat()[0]!==e}),ot=(Xe="concat",$e>=51||!d(function(){var e=[];return(e.constructor={})[rt]=function(){return{foo:1}},1!==e[Xe](Boolean).foo})),st=function(e){if(!k(e))return!1;var t=e[at];return void 0!==t?!!t:je(e)};Me({target:"Array",proto:!0,forced:!it||!ot},{concat:function(e){var t,n,r,a,i,o=We(this),s=nt(o,0),l=0;for(t=-1,r=arguments.length;t<r;t++)if(i=-1===t?o:arguments[t],st(i)){if(l+(a=be(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<a;n++,l++)n in i&&Ue(s,l,i[n])}else{if(l>=9007199254740991)throw TypeError("Maximum allowed index exceeded");Ue(s,l++,i)}return s.length=l,s}});var lt,ct=function(e,t,n){if(function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function")}(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,a){return e.call(t,n,r,a)}}return function(){return e.apply(t,arguments)}},ut=[].push,ft=function(e){var t=1==e,n=2==e,r=3==e,a=4==e,i=6==e,o=7==e,s=5==e||i;return function(l,c,u,f){for(var h,d,p=We(l),g=x(p),m=ct(c,u,3),v=be(g.length),b=0,y=f||nt,w=t?y(l,v):n||o?y(l,0):void 0;v>b;b++)if((s||b in g)&&(d=m(h=g[b],b,p),e))if(t)w[b]=d;else if(d)switch(e){case 3:return!0;case 5:return h;case 6:return b;case 2:ut.call(w,h)}else switch(e){case 4:return!1;case 7:ut.call(w,h)}return i?-1:r||a?a:w}},ht={forEach:ft(0),map:ft(1),filter:ft(2),some:ft(3),every:ft(4),find:ft(5),findIndex:ft(6),filterOut:ft(7)},dt=Object.keys||function(e){return Ee(e,_e)},pt=p?Object.defineProperties:function(e,t){P(e);for(var n,r=dt(t),a=r.length,i=0;a>i;)D.f(e,n=r[i++],t[n]);return e},gt=de("document","documentElement"),mt=Q("IE_PROTO"),vt=function(){},bt=function(e){return"<script>"+e+"<\/script>"},yt=function(){try{lt=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;yt=lt?function(e){e.write(bt("")),e.close();var t=e.parentWindow.Object;return e=null,t}(lt):((t=B("iframe")).style.display="none",gt.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(bt("document.F=Object")),e.close(),e.F);for(var n=_e.length;n--;)delete yt.prototype[_e[n]];return yt()};ee[mt]=!0;var wt=Object.create||function(e,t){var n;return null!==e?(vt.prototype=P(e),n=new vt,vt.prototype=null,n[mt]=e):n=yt(),void 0===t?n:pt(n,t)},St=et("unscopables"),xt=Array.prototype;null==xt[St]&&D.f(xt,St,{configurable:!0,value:wt(null)});var Et,_t=ht.find,kt=!0;"find"in[]&&Array(1).find(function(){kt=!1}),Me({target:"Array",proto:!0,forced:kt},{find:function(e){return _t(this,e,arguments.length>1?arguments[1]:void 0)}}),Et="find",xt[St][Et]=!0;var At=n.default.fn.bootstrapTable.utils;n.default.extend(n.default.fn.bootstrapTable.defaults,{stickyHeader:!1,stickyHeaderOffsetY:0,stickyHeaderOffsetLeft:0,stickyHeaderOffsetRight:0}),n.default.BootstrapTable=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i(e,t)}(f,n["default"].BootstrapTable);var t,o,c,u=s(f);function f(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),u.apply(this,arguments)}return t=f,(o=[{key:"initHeader",value:function(){for(var e,t=this,r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];if((e=l(a(f.prototype),"initHeader",this)).call.apply(e,[this].concat(i)),this.options.stickyHeader){this.$tableBody.find(".sticky-header-container,.sticky_anchor_begin,.sticky_anchor_end").remove(),this.$el.before('<div class="sticky-header-container"></div>'),this.$el.before('<div class="sticky_anchor_begin"></div>'),this.$el.after('<div class="sticky_anchor_end"></div>'),this.$header.addClass("sticky-header"),this.$stickyContainer=this.$tableBody.find(".sticky-header-container"),this.$stickyBegin=this.$tableBody.find(".sticky_anchor_begin"),this.$stickyEnd=this.$tableBody.find(".sticky_anchor_end"),this.$stickyHeader=this.$header.clone(!0,!0);var s=At.getEventName("resize.sticky-header-table",this.$el.attr("id")),c=At.getEventName("scroll.sticky-header-table",this.$el.attr("id"));n.default(window).off(s).on(s,function(){return t.renderStickyHeader()}),n.default(window).off(c).on(c,function(){return t.renderStickyHeader()}),this.$tableBody.off("scroll").on("scroll",function(){return t.matchPositionX()})}}},{key:"onColumnSearch",value:function(e){var t=e.currentTarget,n=e.keyCode;l(a(f.prototype),"onColumnSearch",this).call(this,{currentTarget:t,keyCode:n}),this.renderStickyHeader()}},{key:"resetView",value:function(){for(var e,t=this,r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];(e=l(a(f.prototype),"resetView",this)).call.apply(e,[this].concat(i)),n.default(".bootstrap-table.fullscreen").off("scroll").on("scroll",function(){return t.renderStickyHeader()})}},{key:"getCaret",value:function(){for(var e,t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];if((e=l(a(f.prototype),"getCaret",this)).call.apply(e,[this].concat(r)),this.$stickyHeader){var o=this.$stickyHeader.find("th");this.$header.find("th").each(function(e,t){o.eq(e).find(".sortable").attr("class",n.default(t).find(".sortable").attr("class"))})}}},{key:"horizontalScroll",value:function(){var e=this;l(a(f.prototype),"horizontalScroll",this).call(this),this.$tableBody.on("scroll",function(){return e.matchPositionX()})}},{key:"renderStickyHeader",value:function(){var e=this,t=this;this.$stickyHeader=this.$header.clone(!0,!0),this.options.filterControl&&n.default(this.$stickyHeader).off("keyup change mouseup").on("keyup change mouse",function(e){var r=n.default(e.target),a=r.val(),i=r.parents("th").data("field"),o=t.$header.find('th[data-field="'.concat(i,'"]'));if(r.is("input"))o.find("input").val(a);else if(r.is("select")){var s=o.find("select");s.find("option[selected]").removeAttr("selected"),s.find('option[value="'.concat(a,'"]')).attr("selected",!0)}t.triggerSearch()});var r=n.default(window).scrollTop(),a=this.$stickyBegin.offset().top-this.options.stickyHeaderOffsetY,i=this.$stickyEnd.offset().top-this.options.stickyHeaderOffsetY-this.$header.height();if(r>a&&r<=i){this.$stickyHeader.find("tr:eq(0)").find("th").each(function(t,r){n.default(r).css("min-width",e.$header.find("tr:eq(0)").find("th").eq(t).css("width"))}),this.$stickyContainer.show().addClass("fix-sticky fixed-table-container");var o=this.$tableBody[0].getBoundingClientRect(),s="100%",l=this.options.stickyHeaderOffsetLeft,c=this.options.stickyHeaderOffsetRight;l||(l=o.left),c||(s="".concat(o.width,"px")),this.$el.closest(".bootstrap-table").hasClass("fullscreen")&&(l=0,c=0,s="100%"),this.$stickyContainer.css("top","".concat(this.options.stickyHeaderOffsetY,"px")),this.$stickyContainer.css("left","".concat(l,"px")),this.$stickyContainer.css("right","".concat(c,"px")),this.$stickyContainer.css("width","".concat(s)),this.$stickyTable=n.default("<table/>"),this.$stickyTable.addClass(this.options.classes),this.$stickyContainer.html(this.$stickyTable.append(this.$stickyHeader)),this.matchPositionX()}else this.$stickyContainer.removeClass("fix-sticky").hide()}},{key:"matchPositionX",value:function(){this.$stickyContainer.scrollLeft(this.$tableBody.scrollLeft())}}])&&r(t.prototype,o),c&&r(t,c),f}()}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).jQuery)}(this,function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e);function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function s(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=a(e);if(t){var i=a(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return o(this,n)}}function l(e,t,n){return(l="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=a(e)););return e}(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}})(e,t,n||e)}function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,a=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){a=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(a)throw i}}return n}(e,t)||f(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e){return function(e){if(Array.isArray(e))return h(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||f(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){if(e){if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?h(e,t):void 0}}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var d="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function p(e,t){return e(t={exports:{}},t.exports),t.exports}var g=function(e){return e&&e.Math==Math&&e},m=g("object"==typeof globalThis&&globalThis)||g("object"==typeof window&&window)||g("object"==typeof self&&self)||g("object"==typeof d&&d)||function(){return this}()||Function("return this")(),v=function(e){try{return!!e()}catch(e){return!0}},b=!v(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),y={}.propertyIsEnumerable,w=Object.getOwnPropertyDescriptor,S={f:w&&!y.call({1:2},1)?function(e){var t=w(this,e);return!!t&&t.enumerable}:y},x=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},E={}.toString,_=function(e){return E.call(e).slice(8,-1)},k="".split,A=v(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==_(e)?k.call(e,""):Object(e)}:Object,C=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},T=function(e){return A(C(e))},R=function(e){return"object"==typeof e?null!==e:"function"==typeof e},N=function(e,t){if(!R(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!R(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!R(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!R(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},B={}.hasOwnProperty,I=function(e,t){return B.call(e,t)},L=m.document,O=R(L)&&R(L.createElement),P=function(e){return O?L.createElement(e):{}},F=!b&&!v(function(){return 7!=Object.defineProperty(P("div"),"a",{get:function(){return 7}}).a}),D=Object.getOwnPropertyDescriptor,M={f:b?D:function(e,t){if(e=T(e),t=N(t,!0),F)try{return D(e,t)}catch(e){}if(I(e,t))return x(!S.f.call(e,t),e[t])}},j=function(e){if(!R(e))throw TypeError(String(e)+" is not an object");return e},W=Object.defineProperty,U={f:b?W:function(e,t,n){if(j(e),t=N(t,!0),j(n),F)try{return W(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},z=b?function(e,t,n){return U.f(e,t,x(1,n))}:function(e,t,n){return e[t]=n,e},H=function(e,t){try{z(m,e,t)}catch(n){m[e]=t}return t},V=m["__core-js_shared__"]||H("__core-js_shared__",{}),q=Function.toString;"function"!=typeof V.inspectSource&&(V.inspectSource=function(e){return q.call(e)});var G,X,$,Y=V.inspectSource,K=m.WeakMap,J="function"==typeof K&&/native code/.test(Y(K)),Z=p(function(e){(e.exports=function(e,t){return V[e]||(V[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.9.1",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})}),Q=0,ee=Math.random(),te=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++Q+ee).toString(36)},ne=Z("keys"),re=function(e){return ne[e]||(ne[e]=te(e))},ae={},ie=m.WeakMap;if(J){var oe=V.state||(V.state=new ie),se=oe.get,le=oe.has,ce=oe.set;G=function(e,t){return t.facade=e,ce.call(oe,e,t),t},X=function(e){return se.call(oe,e)||{}},$=function(e){return le.call(oe,e)}}else{var ue=re("state");ae[ue]=!0,G=function(e,t){return t.facade=e,z(e,ue,t),t},X=function(e){return I(e,ue)?e[ue]:{}},$=function(e){return I(e,ue)}}var fe={set:G,get:X,has:$,enforce:function(e){return $(e)?X(e):G(e,{})},getterFor:function(e){return function(t){var n;if(!R(t)||(n=X(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},he=p(function(e){var t=fe.get,n=fe.enforce,r=String(String).split("String");(e.exports=function(e,t,a,i){var o,s=!!i&&!!i.unsafe,l=!!i&&!!i.enumerable,c=!!i&&!!i.noTargetGet;"function"==typeof a&&("string"!=typeof t||I(a,"name")||z(a,"name",t),(o=n(a)).source||(o.source=r.join("string"==typeof t?t:""))),e!==m?(s?!c&&e[t]&&(l=!0):delete e[t],l?e[t]=a:z(e,t,a)):l?e[t]=a:H(t,a)})(Function.prototype,"toString",function(){return"function"==typeof this&&t(this).source||Y(this)})}),de=m,pe=function(e){return"function"==typeof e?e:void 0},ge=function(e,t){return arguments.length<2?pe(de[e])||pe(m[e]):de[e]&&de[e][t]||m[e]&&m[e][t]},me=Math.ceil,ve=Math.floor,be=function(e){return isNaN(e=+e)?0:(e>0?ve:me)(e)},ye=Math.min,we=function(e){return e>0?ye(be(e),9007199254740991):0},Se=Math.max,xe=Math.min,Ee=function(e){return function(t,n,r){var a,i=T(t),o=we(i.length),s=function(e,t){var n=be(e);return n<0?Se(n+t,0):xe(n,t)}(r,o);if(e&&n!=n){for(;o>s;)if((a=i[s++])!=a)return!0}else for(;o>s;s++)if((e||s in i)&&i[s]===n)return e||s||0;return!e&&-1}},_e={includes:Ee(!0),indexOf:Ee(!1)},ke=_e.indexOf,Ae=function(e,t){var n,r=T(e),a=0,i=[];for(n in r)!I(ae,n)&&I(r,n)&&i.push(n);for(;t.length>a;)I(r,n=t[a++])&&(~ke(i,n)||i.push(n));return i},Ce=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Te=Ce.concat("length","prototype"),Re={f:Object.getOwnPropertyNames||function(e){return Ae(e,Te)}},Ne={f:Object.getOwnPropertySymbols},Be=ge("Reflect","ownKeys")||function(e){var t=Re.f(j(e)),n=Ne.f;return n?t.concat(n(e)):t},Ie=function(e,t){for(var n=Be(t),r=U.f,a=M.f,i=0;i<n.length;i++){var o=n[i];I(e,o)||r(e,o,a(t,o))}},Le=/#|\.prototype\./,Oe=function(e,t){var n=Fe[Pe(e)];return n==Me||n!=De&&("function"==typeof t?v(t):!!t)},Pe=Oe.normalize=function(e){return String(e).replace(Le,".").toLowerCase()},Fe=Oe.data={},De=Oe.NATIVE="N",Me=Oe.POLYFILL="P",je=Oe,We=M.f,Ue=function(e,t){var n,r,a,i,o,s=e.target,l=e.global,c=e.stat;if(n=l?m:c?m[s]||H(s,{}):(m[s]||{}).prototype)for(r in t){if(i=t[r],a=e.noTargetGet?(o=We(n,r))&&o.value:n[r],!je(l?r:s+(c?".":"#")+r,e.forced)&&void 0!==a){if(typeof i==typeof a)continue;Ie(i,a)}(e.sham||a&&a.sham)&&z(i,"sham",!0),he(n,r,i,e)}};function ze(e,t){return RegExp(e,t)}var He,Ve,qe={UNSUPPORTED_Y:v(function(){var e=ze("a","y");return e.lastIndex=2,null!=e.exec("abcd")}),BROKEN_CARET:v(function(){var e=ze("^r","gy");return e.lastIndex=2,null!=e.exec("str")})},Ge=RegExp.prototype.exec,Xe=String.prototype.replace,$e=Ge,Ye=(He=/a/,Ve=/b*/g,Ge.call(He,"a"),Ge.call(Ve,"a"),0!==He.lastIndex||0!==Ve.lastIndex),Ke=qe.UNSUPPORTED_Y||qe.BROKEN_CARET,Je=void 0!==/()??/.exec("")[1];(Ye||Je||Ke)&&($e=function(e){var t,n,r,a,i=this,o=Ke&&i.sticky,s=function(){var e=j(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}.call(i),l=i.source,c=0,u=e;return o&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),u=String(e).slice(i.lastIndex),i.lastIndex>0&&(!i.multiline||i.multiline&&"\n"!==e[i.lastIndex-1])&&(l="(?: "+l+")",u=" "+u,c++),n=new RegExp("^(?:"+l+")",s)),Je&&(n=new RegExp("^"+l+"$(?!\\s)",s)),Ye&&(t=i.lastIndex),r=Ge.call(o?n:i,u),o?r?(r.input=r.input.slice(c),r[0]=r[0].slice(c),r.index=i.lastIndex,i.lastIndex+=r[0].length):i.lastIndex=0:Ye&&r&&(i.lastIndex=i.global?r.index+r[0].length:t),Je&&r&&r.length>1&&Xe.call(r[0],n,function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(r[a]=void 0)}),r});var Ze=$e;Ue({target:"RegExp",proto:!0,forced:/./.exec!==Ze},{exec:Ze});var Qe,et,tt="process"==_(m.process),nt=ge("navigator","userAgent")||"",rt=m.process,at=rt&&rt.versions,it=at&&at.v8;it?et=(Qe=it.split("."))[0]+Qe[1]:nt&&(!(Qe=nt.match(/Edge\/(\d+)/))||Qe[1]>=74)&&(Qe=nt.match(/Chrome\/(\d+)/))&&(et=Qe[1]);var ot=et&&+et,st=!!Object.getOwnPropertySymbols&&!v(function(){return!Symbol.sham&&(tt?38===ot:ot>37&&ot<41)}),lt=st&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ct=Z("wks"),ut=m.Symbol,ft=lt?ut:ut&&ut.withoutSetter||te,ht=function(e){return I(ct,e)&&(st||"string"==typeof ct[e])||(st&&I(ut,e)?ct[e]=ut[e]:ct[e]=ft("Symbol."+e)),ct[e]},dt=ht("species"),pt=!v(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}),gt="$0"==="a".replace(/./,"$0"),mt=ht("replace"),vt=!!/./[mt]&&""===/./[mt]("a","$0"),bt=!v(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}),yt=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};!function(e,t,n,r){var a=ht(e),i=!v(function(){var t={};return t[a]=function(){return 7},7!=""[e](t)}),o=i&&!v(function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[dt]=function(){return n},n.flags="",n[a]=/./[a]),n.exec=function(){return t=!0,null},n[a](""),!t});if(!i||!o||"replace"===e&&(!pt||!gt||vt)||"split"===e&&!bt){var s=/./[a],l=n(a,""[e],function(e,t,n,r,a){return t.exec===Ze?i&&!a?{done:!0,value:s.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}},{REPLACE_KEEPS_$0:gt,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:vt}),c=l[0],u=l[1];he(String.prototype,e,c),he(RegExp.prototype,a,2==t?function(e,t){return u.call(e,this,t)}:function(e){return u.call(e,this)})}r&&z(RegExp.prototype[a],"sham",!0)}("search",1,function(e,t,n){return[function(t){var n=C(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var a=j(e),i=String(this),o=a.lastIndex;yt(o,0)||(a.lastIndex=0);var s=function(e,t){var n=e.exec;if("function"==typeof n){var r=n.call(e,t);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==_(e))throw TypeError("RegExp#exec called on incompatible receiver");return Ze.call(e,t)}(a,i);return yt(a.lastIndex,o)||(a.lastIndex=o),null===s?-1:s.index}]});var wt=Object.keys||function(e){return Ae(e,Ce)},St=function(e){return Object(C(e))},xt=Object.assign,Et=Object.defineProperty,_t=!xt||v(function(){if(b&&1!==xt({b:1},xt(Et({},"a",{enumerable:!0,get:function(){Et(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach(function(e){t[e]=e}),7!=xt({},e)[n]||"abcdefghijklmnopqrst"!=wt(xt({},t)).join("")})?function(e,t){for(var n=St(e),r=arguments.length,a=1,i=Ne.f,o=S.f;r>a;)for(var s,l=A(arguments[a++]),c=i?wt(l).concat(i(l)):wt(l),u=c.length,f=0;u>f;)s=c[f++],b&&!o.call(l,s)||(n[s]=l[s]);return n}:xt;Ue({target:"Object",stat:!0,forced:Object.assign!==_t},{assign:_t});var kt=function(e,t){var n=[][e];return!!n&&v(function(){n.call(null,t||function(){throw 1},1)})},At=[].join,Ct=A!=Object,Tt=kt("join",",");Ue({target:"Array",proto:!0,forced:Ct||!Tt},{join:function(e){return At.call(T(this),void 0===e?",":e)}});var Rt,Nt=function(e,t,n){if(function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function")}(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,a){return e.call(t,n,r,a)}}return function(){return e.apply(t,arguments)}},Bt=Array.isArray||function(e){return"Array"==_(e)},It=ht("species"),Lt=function(e,t){var n;return Bt(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!Bt(n.prototype)?R(n)&&null===(n=n[It])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)},Ot=[].push,Pt=function(e){var t=1==e,n=2==e,r=3==e,a=4==e,i=6==e,o=7==e,s=5==e||i;return function(l,c,u,f){for(var h,d,p=St(l),g=A(p),m=Nt(c,u,3),v=we(g.length),b=0,y=f||Lt,w=t?y(l,v):n||o?y(l,0):void 0;v>b;b++)if((s||b in g)&&(d=m(h=g[b],b,p),e))if(t)w[b]=d;else if(d)switch(e){case 3:return!0;case 5:return h;case 6:return b;case 2:Ot.call(w,h)}else switch(e){case 4:return!1;case 7:Ot.call(w,h)}return i?-1:r||a?a:w}},Ft={forEach:Pt(0),map:Pt(1),filter:Pt(2),some:Pt(3),every:Pt(4),find:Pt(5),findIndex:Pt(6),filterOut:Pt(7)},Dt=b?Object.defineProperties:function(e,t){j(e);for(var n,r=wt(t),a=r.length,i=0;a>i;)U.f(e,n=r[i++],t[n]);return e},Mt=ge("document","documentElement"),jt=re("IE_PROTO"),Wt=function(){},Ut=function(e){return"<script>"+e+"<\/script>"},zt=function(){try{Rt=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;zt=Rt?function(e){e.write(Ut("")),e.close();var t=e.parentWindow.Object;return e=null,t}(Rt):((t=P("iframe")).style.display="none",Mt.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Ut("document.F=Object")),e.close(),e.F);for(var n=Ce.length;n--;)delete zt.prototype[Ce[n]];return zt()};ae[jt]=!0;var Ht=Object.create||function(e,t){var n;return null!==e?(Wt.prototype=j(e),n=new Wt,Wt.prototype=null,n[jt]=e):n=zt(),void 0===t?n:Dt(n,t)},Vt=ht("unscopables"),qt=Array.prototype;null==qt[Vt]&&U.f(qt,Vt,{configurable:!0,value:Ht(null)});var Gt=function(e){qt[Vt][e]=!0},Xt=Ft.find,$t=!0;"find"in[]&&Array(1).find(function(){$t=!1}),Ue({target:"Array",proto:!0,forced:$t},{find:function(e){return Xt(this,e,arguments.length>1?arguments[1]:void 0)}}),Gt("find");var Yt=function(e,t,n){var r=N(t);r in e?U.f(e,r,x(0,n)):e[r]=n},Kt=ht("species"),Jt=function(e){return ot>=51||!v(function(){var t=[];return(t.constructor={})[Kt]=function(){return{foo:1}},1!==t[e](Boolean).foo})},Zt=ht("isConcatSpreadable"),Qt=ot>=51||!v(function(){var e=[];return e[Zt]=!1,e.concat()[0]!==e}),en=Jt("concat"),tn=function(e){if(!R(e))return!1;var t=e[Zt];return void 0!==t?!!t:Bt(e)};Ue({target:"Array",proto:!0,forced:!Qt||!en},{concat:function(e){var t,n,r,a,i,o=St(this),s=Lt(o,0),l=0;for(t=-1,r=arguments.length;t<r;t++)if(i=-1===t?o:arguments[t],tn(i)){if(l+(a=we(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<a;n++,l++)n in i&&Yt(s,l,i[n])}else{if(l>=9007199254740991)throw TypeError("Maximum allowed index exceeded");Yt(s,l++,i)}return s.length=l,s}});var nn=Ft.filter;Ue({target:"Array",proto:!0,forced:!Jt("filter")},{filter:function(e){return nn(this,e,arguments.length>1?arguments[1]:void 0)}});var rn=S.f,an=function(e){return function(t){for(var n,r=T(t),a=wt(r),i=a.length,o=0,s=[];i>o;)n=a[o++],b&&!rn.call(r,n)||s.push(e?[n,r[n]]:r[n]);return s}},on={entries:an(!0),values:an(!1)}.entries;Ue({target:"Object",stat:!0},{entries:function(e){return on(e)}});var sn=_e.indexOf,ln=[].indexOf,cn=!!ln&&1/[1].indexOf(1,-0)<0,un=kt("indexOf");Ue({target:"Array",proto:!0,forced:cn||!un},{indexOf:function(e){return cn?ln.apply(this,arguments)||0:sn(this,e,arguments.length>1?arguments[1]:void 0)}});var fn=_e.includes;Ue({target:"Array",proto:!0},{includes:function(e){return fn(this,e,arguments.length>1?arguments[1]:void 0)}}),Gt("includes");var hn=ht("match"),dn=function(e){if(function(e){var t;return R(e)&&(void 0!==(t=e[hn])?!!t:"RegExp"==_(e))}(e))throw TypeError("The method doesn't accept regular expressions");return e},pn=ht("match");Ue({target:"String",proto:!0,forced:!function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[pn]=!1,"/./"[e](t)}catch(e){}}return!1}("includes")},{includes:function(e){return!!~String(C(this)).indexOf(dn(e),arguments.length>1?arguments[1]:void 0)}});var gn,mn="\t\n\v\f\r \u2028\u2029\ufeff",vn="["+mn+"]",bn=RegExp("^"+vn+vn+"*"),yn=RegExp(vn+vn+"*$"),wn=function(e){return function(t){var n=String(C(t));return 1&e&&(n=n.replace(bn,"")),2&e&&(n=n.replace(yn,"")),n}},Sn={start:wn(1),end:wn(2),trim:wn(3)},xn=Sn.trim;Ue({target:"String",proto:!0,forced:(gn="trim",v(function(){return!!mn[gn]()||" "!=" "[gn]()||mn[gn].name!==gn}))},{trim:function(){return xn(this)}});var En=n.default.fn.bootstrapTable.utils,_n={bootstrap3:{icons:{advancedSearchIcon:"glyphicon-chevron-down"},html:{modal:'\n <div id="avdSearchModal_%s" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true">\n <div class="modal-dialog modal-xs">\n <div class="modal-content">\n <div class="modal-header">\n <h4 class="modal-title">%s</h4>\n <button type="button" class="close" data-dismiss="modal" aria-label="Close">\n <span aria-hidden="true">×</span>\n </button>\n </div>\n <div class="modal-body modal-body-custom">\n <div class="container-fluid" id="avdSearchModalContent_%s"\n style="padding-right: 0px; padding-left: 0px;" >\n </div>\n </div>\n <div class="modal-footer">\n <button type="button" id="btnCloseAvd_%s" class="btn btn-%s">%s</button>\n </div>\n </div>\n </div>\n </div>\n '}},bootstrap4:{icons:{advancedSearchIcon:"fa-chevron-down"},html:{modal:'\n <div id="avdSearchModal_%s" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true">\n <div class="modal-dialog modal-xs">\n <div class="modal-content">\n <div class="modal-header">\n <h4 class="modal-title">%s</h4>\n <button type="button" class="close" data-dismiss="modal" aria-label="Close">\n <span aria-hidden="true">×</span>\n </button>\n </div>\n <div class="modal-body modal-body-custom">\n <div class="container-fluid" id="avdSearchModalContent_%s"\n style="padding-right: 0; padding-left: 0;" >\n </div>\n </div>\n <div class="modal-footer">\n <button type="button" id="btnCloseAvd_%s" class="btn btn-%s">%s</button>\n </div>\n </div>\n </div>\n </div>\n '}},bootstrap5:{icons:{advancedSearchIcon:"fa-chevron-down"},html:{modal:'\n <div id="avdSearchModal_%s" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true">\n <div class="modal-dialog modal-xs">\n <div class="modal-content">\n <div class="modal-header">\n <h4 class="modal-title">%s</h4>\n <button type="button" class="close" data-dismiss="modal" aria-label="Close">\n <span aria-hidden="true">×</span>\n </button>\n </div>\n <div class="modal-body modal-body-custom">\n <div class="container-fluid" id="avdSearchModalContent_%s"\n style="padding-right: 0; padding-left: 0;" >\n </div>\n </div>\n <div class="modal-footer">\n <button type="button" id="btnCloseAvd_%s" class="btn btn-%s">%s</button>\n </div>\n </div>\n </div>\n </div>\n '}},bulma:{icons:{advancedSearchIcon:"fa-chevron-down"},html:{modal:'\n <div class="modal" id="avdSearchModal_%s">\n <div class="modal-background"></div>\n <div class="modal-card">\n <header class="modal-card-head">\n <p class="modal-card-title">%s</p>\n <button class="delete" aria-label="close"></button>\n </header>\n <section class="modal-card-body" id="avdSearchModalContent_%s"></section>\n <footer class="modal-card-foot">\n <button class="button" id="btnCloseAvd_%s" data-close="btn btn-%s">%s</button>\n </footer>\n </div>\n </div>\n '}},foundation:{icons:{advancedSearchIcon:"fa-chevron-down"},html:{modal:'\n <div class="reveal" id="avdSearchModal_%s" data-reveal>\n <h1>%s</h1>\n <div id="avdSearchModalContent_%s">\n\n </div>\n <button class="close-button" data-close aria-label="Close modal" type="button">\n <span aria-hidden="true">×</span>\n </button>\n\n <button id="btnCloseAvd_%s" class="%s" type="button">%s</button>\n </div>\n '}},materialize:{icons:{advancedSearchIcon:"expand_more"},html:{modal:'\n <div id="avdSearchModal_%s" class="modal">\n <div class="modal-content">\n <h4>%s</h4>\n <div id="avdSearchModalContent_%s">\n\n </div>\n </div>\n <div class="modal-footer">\n <a href="javascript:void(0)"" id="btnCloseAvd_%s" class="modal-close waves-effect waves-green btn-flat %s">%s</a>\n </div>\n </div>\n '}},semantic:{icons:{advancedSearchIcon:"fa-chevron-down"},html:{modal:'\n <div class="ui modal" id="avdSearchModal_%s">\n <i class="close icon"></i>\n <div class="header">\n %s\n </div>\n <div class="image content ui form" id="avdSearchModalContent_%s"></div>\n <div class="actions">\n <div id="btnCloseAvd_%s" class="ui black deny button %s">%s</div>\n </div>\n </div>\n '}}}[n.default.fn.bootstrapTable.theme];n.default.extend(n.default.fn.bootstrapTable.defaults,{advancedSearch:!1,idForm:"advancedSearch",actionForm:"",idTable:void 0,onColumnAdvancedSearch:function(e,t){return!1}}),n.default.extend(n.default.fn.bootstrapTable.defaults.icons,{advancedSearchIcon:_n.icons.advancedSearchIcon}),n.default.extend(n.default.fn.bootstrapTable.Constructor.EVENTS,{"column-advanced-search.bs.table":"onColumnAdvancedSearch"}),n.default.extend(n.default.fn.bootstrapTable.locales,{formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"}}),n.default.extend(n.default.fn.bootstrapTable.defaults,n.default.fn.bootstrapTable.locales),n.default.BootstrapTable=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i(e,t)}(p,n["default"].BootstrapTable);var t,o,h,d=s(p);function p(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),d.apply(this,arguments)}return t=p,(o=[{key:"initToolbar",value:function(){var e=this.options;this.showToolbar=this.showToolbar||e.search&&e.advancedSearch&&e.idTable,e.search&&e.advancedSearch&&e.idTable&&(this.buttons=Object.assign(this.buttons,{advancedSearch:{text:this.options.formatAdvancedSearch(),icon:this.options.icons.advancedSearchIcon,event:this.showAvdSearch,attributes:{"aria-label":this.options.formatAdvancedSearch(),title:this.options.formatAdvancedSearch()}}})),l(a(p.prototype),"initToolbar",this).call(this)}},{key:"showAvdSearch",value:function(){var e=this,t=this.options,r="#avdSearchModal_".concat(t.idTable);if(n.default(r).length<=0){n.default("body").append(En.sprintf(_n.html.modal,t.idTable,t.formatAdvancedSearch(),t.idTable,t.idTable,t.buttonsClass,t.formatAdvancedCloseButton()));var a=0;n.default("#avdSearchModalContent_".concat(t.idTable)).append(this.createFormAvd().join("")),n.default("#".concat(t.idForm)).off("keyup blur","input").on("keyup blur","input",function(n){"server"===t.sidePagination?e.onColumnAdvancedSearch(n):(clearTimeout(a),a=setTimeout(function(){e.onColumnAdvancedSearch(n)},t.searchTimeOut))}),n.default("#btnCloseAvd_".concat(t.idTable)).click(function(){return e.hideModal()}),"bulma"===n.default.fn.bootstrapTable.theme&&n.default(r).find(".delete").off("click").on("click",function(){return e.hideModal()}),this.showModal()}else this.showModal()}},{key:"showModal",value:function(){var e="#avdSearchModal_".concat(this.options.idTable);-1!==n.default.inArray(n.default.fn.bootstrapTable.theme,["bootstrap3","bootstrap4"])?n.default(e).modal():"bootstrap5"===n.default.fn.bootstrapTable.theme?(this.toolbarModal||(this.toolbarModal=new bootstrap.Modal(document.getElementById("avdSearchModal_".concat(this.options.idTable)),{})),this.toolbarModal.show()):"bulma"===n.default.fn.bootstrapTable.theme?n.default(e).toggleClass("is-active"):"foundation"===n.default.fn.bootstrapTable.theme?(this.toolbarModal||(this.toolbarModal=new Foundation.Reveal(n.default(e))),this.toolbarModal.open()):"materialize"===n.default.fn.bootstrapTable.theme?(n.default(e).modal(),n.default(e).modal("open")):"semantic"===n.default.fn.bootstrapTable.theme&&n.default(e).modal("show")}},{key:"hideModal",value:function(){var e=n.default("#avdSearchModal_".concat(this.options.idTable)),t="#avdSearchModal_".concat(this.options.idTable);-1!==n.default.inArray(n.default.fn.bootstrapTable.theme,["bootstrap3","bootstrap4"])?e.modal("hide"):"bootstrap5"===n.default.fn.bootstrapTable.theme?this.toolbarModal.hide():"bulma"===n.default.fn.bootstrapTable.theme?(n.default("html").toggleClass("is-clipped"),n.default(t).toggleClass("is-active")):"foundation"===n.default.fn.bootstrapTable.theme?this.toolbarModal.close():"materialize"===n.default.fn.bootstrapTable.theme?n.default(t).modal("open"):"semantic"===n.default.fn.bootstrapTable.theme&&n.default(t).modal("close"),"server"===this.options.sidePagination&&(this.options.pageNumber=1,this.updatePagination(),this.trigger("column-advanced-search",this.filterColumnsPartial))}},{key:"createFormAvd",value:function(){var e,t=this.options,n=['<form class="form-horizontal" id="'.concat(t.idForm,'" action="').concat(t.actionForm,'">')],r=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=f(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw i}}}}(this.columns);try{for(r.s();!(e=r.n()).done;){var a=e.value;!a.checkbox&&a.visible&&a.searchable&&n.push('\n <div class="form-group row">\n <label class="col-sm-4 control-label">'.concat(a.title,'</label>\n <div class="col-sm-6">\n <input type="text" class="form-control ').concat(this.constants.classes.input,'" name="').concat(a.field,'" placeholder="').concat(a.title,'" id="').concat(a.field,'">\n </div>\n </div>\n '))}}catch(e){r.e(e)}finally{r.f()}return n.push("</form>"),n}},{key:"initSearch",value:function(){var e=this;if(l(a(p.prototype),"initSearch",this).call(this),this.options.advancedSearch&&"server"!==this.options.sidePagination){var t=n.default.isEmptyObject(this.filterColumnsPartial)?null:this.filterColumnsPartial;this.data=t?this.data.filter(function(n,r){for(var a=0,i=Object.entries(t);a<i.length;a++){var o=c(i[a],2),s=o[0],l=o[1].toLowerCase(),u=n[s],f=e.header.fields.indexOf(s);if(u=En.calculateObjectValue(e.header,e.header.formatters[f],[u,n,r],u),-1===f||"string"!=typeof u&&"number"!=typeof u||!"".concat(u).toLowerCase().includes(l))return!1}return!0}):this.data,this.unsortedData=u(this.data)}}},{key:"onColumnAdvancedSearch",value:function(e){var t=n.default.trim(n.default(e.currentTarget).val()),r=n.default(e.currentTarget)[0].id;n.default.isEmptyObject(this.filterColumnsPartial)&&(this.filterColumnsPartial={}),t?this.filterColumnsPartial[r]=t:delete this.filterColumnsPartial[r],"server"!==this.options.sidePagination&&(this.options.pageNumber=1,this.onSearch(e),this.updatePagination(),this.trigger("column-advanced-search",r,t))}}])&&r(t.prototype,o),h&&r(t,h),p}()});+!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).BootstrapTable=t(e.jQuery)}(this,function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=t(e);function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function i(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,a,o=[],i=!0,s=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);i=!0);}catch(e){s=!0,a=e}finally{try{i||null==r.return||r.return()}finally{if(s)throw a}}return o}(e,t)||l(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||l(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){if(e){if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(e,t):void 0}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function f(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=l(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){s=!0,o=e},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw o}}}}var h="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function d(e,t){return e(t={exports:{}},t.exports),t.exports}var p,g,m=function(e){return e&&e.Math==Math&&e},v=m("object"==typeof globalThis&&globalThis)||m("object"==typeof window&&window)||m("object"==typeof self&&self)||m("object"==typeof h&&h)||function(){return this}()||Function("return this")(),b=function(e){try{return!!e()}catch(e){return!0}},y=!b(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),w=!b(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}),S=Function.prototype.call,x=w?S.bind(S):function(){return S.apply(S,arguments)},k={}.propertyIsEnumerable,A=Object.getOwnPropertyDescriptor,T={f:A&&!k.call({1:2},1)?function(e){var t=A(this,e);return!!t&&t.enumerable}:k},E=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},_=Function.prototype,N=_.bind,C=_.call,R=w&&N.bind(C,C),O=w?function(e){return e&&R(e)}:function(e){return e&&function(){return C.apply(e,arguments)}},L=O({}.toString),P=O("".slice),I=function(e){return P(L(e),8,-1)},F=v.Object,D=O("".split),M=b(function(){return!F("z").propertyIsEnumerable(0)})?function(e){return"String"==I(e)?D(e,""):F(e)}:F,j=v.TypeError,B=function(e){if(null==e)throw j("Can't call method on "+e);return e},W=function(e){return M(B(e))},U=function(e){return"function"==typeof e},z=function(e){return"object"==typeof e?null!==e:U(e)},H=function(e,t){return arguments.length<2?(r=v[e],U(r)?r:void 0):v[e]&&v[e][t];var r},V=O({}.isPrototypeOf),q=H("navigator","userAgent")||"",$=v.process,G=v.Deno,X=$&&$.versions||G&&G.version,Y=X&&X.v8;Y&&(g=(p=Y.split("."))[0]>0&&p[0]<4?1:+(p[0]+p[1])),!g&&q&&(!(p=q.match(/Edge\/(\d+)/))||p[1]>=74)&&(p=q.match(/Chrome\/(\d+)/))&&(g=+p[1]);var K=g,J=!!Object.getOwnPropertySymbols&&!b(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&K&&K<41}),Z=J&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Q=v.Object,ee=Z?function(e){return"symbol"==typeof e}:function(e){var t=H("Symbol");return U(t)&&V(t.prototype,Q(e))},te=v.String,re=function(e){try{return te(e)}catch(e){return"Object"}},ne=v.TypeError,ae=function(e){if(U(e))return e;throw ne(re(e)+" is not a function")},oe=function(e,t){var r=e[t];return null==r?void 0:ae(r)},ie=v.TypeError,se=Object.defineProperty,ce=function(e,t){try{se(v,e,{value:t,configurable:!0,writable:!0})}catch(r){v[e]=t}return t},le=v["__core-js_shared__"]||ce("__core-js_shared__",{}),ue=d(function(e){(e.exports=function(e,t){return le[e]||(le[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.21.1",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE",source:"https://github.com/zloirock/core-js"})}),fe=v.Object,he=function(e){return fe(B(e))},de=O({}.hasOwnProperty),pe=Object.hasOwn||function(e,t){return de(he(e),t)},ge=0,me=Math.random(),ve=O(1..toString),be=function(e){return"Symbol("+(void 0===e?"":e)+")_"+ve(++ge+me,36)},ye=ue("wks"),we=v.Symbol,Se=we&&we.for,xe=Z?we:we&&we.withoutSetter||be,ke=function(e){if(!pe(ye,e)||!J&&"string"!=typeof ye[e]){var t="Symbol."+e;J&&pe(we,e)?ye[e]=we[e]:ye[e]=Z&&Se?Se(t):xe(t)}return ye[e]},Ae=v.TypeError,Te=ke("toPrimitive"),Ee=function(e,t){if(!z(e)||ee(e))return e;var r,n=oe(e,Te);if(n){if(void 0===t&&(t="default"),r=x(n,e,t),!z(r)||ee(r))return r;throw Ae("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var r,n;if("string"===t&&U(r=e.toString)&&!z(n=x(r,e)))return n;if(U(r=e.valueOf)&&!z(n=x(r,e)))return n;if("string"!==t&&U(r=e.toString)&&!z(n=x(r,e)))return n;throw ie("Can't convert object to primitive value")}(e,t)},_e=function(e){var t=Ee(e,"string");return ee(t)?t:t+""},Ne=v.document,Ce=z(Ne)&&z(Ne.createElement),Re=function(e){return Ce?Ne.createElement(e):{}},Oe=!y&&!b(function(){return 7!=Object.defineProperty(Re("div"),"a",{get:function(){return 7}}).a}),Le=Object.getOwnPropertyDescriptor,Pe={f:y?Le:function(e,t){if(e=W(e),t=_e(t),Oe)try{return Le(e,t)}catch(e){}if(pe(e,t))return E(!x(T.f,e,t),e[t])}},Ie=y&&b(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}),Fe=v.String,De=v.TypeError,Me=function(e){if(z(e))return e;throw De(Fe(e)+" is not an object")},je=v.TypeError,Be=Object.defineProperty,We=Object.getOwnPropertyDescriptor,Ue={f:y?Ie?function(e,t,r){if(Me(e),t=_e(t),Me(r),"function"==typeof e&&"prototype"===t&&"value"in r&&"writable"in r&&!r.writable){var n=We(e,t);n&&n.writable&&(e[t]=r.value,r={configurable:"configurable"in r?r.configurable:n.configurable,enumerable:"enumerable"in r?r.enumerable:n.enumerable,writable:!1})}return Be(e,t,r)}:Be:function(e,t,r){if(Me(e),t=_e(t),Me(r),Oe)try{return Be(e,t,r)}catch(e){}if("get"in r||"set"in r)throw je("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},ze=y?function(e,t,r){return Ue.f(e,t,E(1,r))}:function(e,t,r){return e[t]=r,e},He=O(Function.toString);U(le.inspectSource)||(le.inspectSource=function(e){return He(e)});var Ve,qe,$e,Ge=le.inspectSource,Xe=v.WeakMap,Ye=U(Xe)&&/native code/.test(Ge(Xe)),Ke=ue("keys"),Je=function(e){return Ke[e]||(Ke[e]=be(e))},Ze={},Qe=v.TypeError,et=v.WeakMap;if(Ye||le.state){var tt=le.state||(le.state=new et),rt=O(tt.get),nt=O(tt.has),at=O(tt.set);Ve=function(e,t){if(nt(tt,e))throw new Qe("Object already initialized");return t.facade=e,at(tt,e,t),t},qe=function(e){return rt(tt,e)||{}},$e=function(e){return nt(tt,e)}}else{var ot=Je("state");Ze[ot]=!0,Ve=function(e,t){if(pe(e,ot))throw new Qe("Object already initialized");return t.facade=e,ze(e,ot,t),t},qe=function(e){return pe(e,ot)?e[ot]:{}},$e=function(e){return pe(e,ot)}}var it={set:Ve,get:qe,has:$e,enforce:function(e){return $e(e)?qe(e):Ve(e,{})},getterFor:function(e){return function(t){var r;if(!z(t)||(r=qe(t)).type!==e)throw Qe("Incompatible receiver, "+e+" required");return r}}},st=Function.prototype,ct=y&&Object.getOwnPropertyDescriptor,lt=pe(st,"name"),ut={EXISTS:lt,PROPER:lt&&"something"===function(){}.name,CONFIGURABLE:lt&&(!y||y&&ct(st,"name").configurable)},ft=d(function(e){var t=ut.CONFIGURABLE,r=it.get,n=it.enforce,a=String(String).split("String");(e.exports=function(e,r,o,i){var s,c=!!i&&!!i.unsafe,l=!!i&&!!i.enumerable,u=!!i&&!!i.noTargetGet,f=i&&void 0!==i.name?i.name:r;U(o)&&("Symbol("===String(f).slice(0,7)&&(f="["+String(f).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!pe(o,"name")||t&&o.name!==f)&&ze(o,"name",f),(s=n(o)).source||(s.source=a.join("string"==typeof f?f:""))),e!==v?(c?!u&&e[r]&&(l=!0):delete e[r],l?e[r]=o:ze(e,r,o)):l?e[r]=o:ce(r,o)})(Function.prototype,"toString",function(){return U(this)&&r(this).source||Ge(this)})}),ht=Math.ceil,dt=Math.floor,pt=function(e){var t=+e;return t!=t||0===t?0:(t>0?dt:ht)(t)},gt=Math.max,mt=Math.min,vt=function(e,t){var r=pt(e);return r<0?gt(r+t,0):mt(r,t)},bt=Math.min,yt=function(e){return e>0?bt(pt(e),9007199254740991):0},wt=function(e){return yt(e.length)},St=function(e){return function(t,r,n){var a,o=W(t),i=wt(o),s=vt(n,i);if(e&&r!=r){for(;i>s;)if((a=o[s++])!=a)return!0}else for(;i>s;s++)if((e||s in o)&&o[s]===r)return e||s||0;return!e&&-1}},xt={includes:St(!0),indexOf:St(!1)},kt=xt.indexOf,At=O([].push),Tt=function(e,t){var r,n=W(e),a=0,o=[];for(r in n)!pe(Ze,r)&&pe(n,r)&&At(o,r);for(;t.length>a;)pe(n,r=t[a++])&&(~kt(o,r)||At(o,r));return o},Et=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],_t=Et.concat("length","prototype"),Nt={f:Object.getOwnPropertyNames||function(e){return Tt(e,_t)}},Ct={f:Object.getOwnPropertySymbols},Rt=O([].concat),Ot=H("Reflect","ownKeys")||function(e){var t=Nt.f(Me(e)),r=Ct.f;return r?Rt(t,r(e)):t},Lt=function(e,t,r){for(var n=Ot(t),a=Ue.f,o=Pe.f,i=0;i<n.length;i++){var s=n[i];pe(e,s)||r&&pe(r,s)||a(e,s,o(t,s))}},Pt=/#|\.prototype\./,It=function(e,t){var r=Dt[Ft(e)];return r==jt||r!=Mt&&(U(t)?b(t):!!t)},Ft=It.normalize=function(e){return String(e).replace(Pt,".").toLowerCase()},Dt=It.data={},Mt=It.NATIVE="N",jt=It.POLYFILL="P",Bt=It,Wt=Pe.f,Ut=function(e,t){var r,n,a,o,i,s=e.target,c=e.global,l=e.stat;if(r=c?v:l?v[s]||ce(s,{}):(v[s]||{}).prototype)for(n in t){if(o=t[n],a=e.noTargetGet?(i=Wt(r,n))&&i.value:r[n],!Bt(c?n:s+(l?".":"#")+n,e.forced)&&void 0!==a){if(typeof o==typeof a)continue;Lt(o,a)}(e.sham||a&&a.sham)&&ze(o,"sham",!0),ft(r,n,o,e)}},zt=Object.keys||function(e){return Tt(e,Et)},Ht=Object.assign,Vt=Object.defineProperty,qt=O([].concat),$t=!Ht||b(function(){if(y&&1!==Ht({b:1},Ht(Vt({},"a",{enumerable:!0,get:function(){Vt(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol();return e[r]=7,"abcdefghijklmnopqrst".split("").forEach(function(e){t[e]=e}),7!=Ht({},e)[r]||"abcdefghijklmnopqrst"!=zt(Ht({},t)).join("")})?function(e,t){for(var r=he(e),n=arguments.length,a=1,o=Ct.f,i=T.f;n>a;)for(var s,c=M(arguments[a++]),l=o?qt(zt(c),o(c)):zt(c),u=l.length,f=0;u>f;)s=l[f++],y&&!x(i,c,s)||(r[s]=c[s]);return r}:Ht;Ut({target:"Object",stat:!0,forced:Object.assign!==$t},{assign:$t});var Gt={};Gt[ke("toStringTag")]="z";var Xt,Yt="[object z]"===String(Gt),Kt=ke("toStringTag"),Jt=v.Object,Zt="Arguments"==I(function(){return arguments}()),Qt=Yt?I:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Jt(e),Kt))?r:Zt?I(t):"Object"==(n=I(t))&&U(t.callee)?"Arguments":n},er=v.String,tr=function(e){if("Symbol"===Qt(e))throw TypeError("Cannot convert a Symbol value to a string");return er(e)},rr="\t\n\v\f\r \u2028\u2029\ufeff",nr=O("".replace),ar="["+rr+"]",or=RegExp("^"+ar+ar+"*"),ir=RegExp(ar+ar+"*$"),sr=function(e){return function(t){var r=tr(B(t));return 1&e&&(r=nr(r,or,"")),2&e&&(r=nr(r,ir,"")),r}},cr={start:sr(1),end:sr(2),trim:sr(3)},lr=ut.PROPER,ur=cr.trim;Ut({target:"String",proto:!0,forced:(Xt="trim",b(function(){return!!rr[Xt]()||" "!==" "[Xt]()||lr&&rr[Xt].name!==Xt}))},{trim:function(){return ur(this)}});var fr=function(e,t){var r=[][e];return!!r&&b(function(){r.call(null,t||function(){return 1},1)})},hr=O([].join),dr=M!=Object,pr=fr("join",",");Ut({target:"Array",proto:!0,forced:dr||!pr},{join:function(e){return hr(W(this),void 0===e?",":e)}});var gr,mr=function(){var e=Me(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},vr=v.RegExp,br=b(function(){var e=vr("a","y");return e.lastIndex=2,null!=e.exec("abcd")}),yr=br||b(function(){return!vr("a","y").sticky}),wr={BROKEN_CARET:br||b(function(){var e=vr("^r","gy");return e.lastIndex=2,null!=e.exec("str")}),MISSED_STICKY:yr,UNSUPPORTED_Y:br},Sr={f:y&&!Ie?Object.defineProperties:function(e,t){Me(e);for(var r,n=W(t),a=zt(t),o=a.length,i=0;o>i;)Ue.f(e,r=a[i++],n[r]);return e}},xr=H("document","documentElement"),kr=Je("IE_PROTO"),Ar=function(){},Tr=function(e){return"<script>"+e+"<\/script>"},Er=function(e){e.write(Tr("")),e.close();var t=e.parentWindow.Object;return e=null,t},_r=function(){try{gr=new ActiveXObject("htmlfile")}catch(e){}var e,t;_r="undefined"!=typeof document?document.domain&&gr?Er(gr):((t=Re("iframe")).style.display="none",xr.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Tr("document.F=Object")),e.close(),e.F):Er(gr);for(var r=Et.length;r--;)delete _r.prototype[Et[r]];return _r()};Ze[kr]=!0;var Nr=Object.create||function(e,t){var r;return null!==e?(Ar.prototype=Me(e),r=new Ar,Ar.prototype=null,r[kr]=e):r=_r(),void 0===t?r:Sr.f(r,t)},Cr=v.RegExp,Rr=b(function(){var e=Cr(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}),Or=v.RegExp,Lr=b(function(){var e=Or("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}),Pr=it.get,Ir=ue("native-string-replace",String.prototype.replace),Fr=RegExp.prototype.exec,Dr=Fr,Mr=O("".charAt),jr=O("".indexOf),Br=O("".replace),Wr=O("".slice),Ur=function(){var e=/a/,t=/b*/g;return x(Fr,e,"a"),x(Fr,t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),zr=wr.BROKEN_CARET,Hr=void 0!==/()??/.exec("")[1];(Ur||Hr||zr||Rr||Lr)&&(Dr=function(e){var t,r,n,a,o,i,s,c=this,l=Pr(c),u=tr(e),f=l.raw;if(f)return f.lastIndex=c.lastIndex,t=x(Dr,f,u),c.lastIndex=f.lastIndex,t;var h=l.groups,d=zr&&c.sticky,p=x(mr,c),g=c.source,m=0,v=u;if(d&&(p=Br(p,"y",""),-1===jr(p,"g")&&(p+="g"),v=Wr(u,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&"\n"!==Mr(u,c.lastIndex-1))&&(g="(?: "+g+")",v=" "+v,m++),r=new RegExp("^(?:"+g+")",p)),Hr&&(r=new RegExp("^"+g+"$(?!\\s)",p)),Ur&&(n=c.lastIndex),a=x(Fr,d?r:c,v),d?a?(a.input=Wr(a.input,m),a[0]=Wr(a[0],m),a.index=c.lastIndex,c.lastIndex+=a[0].length):c.lastIndex=0:Ur&&a&&(c.lastIndex=c.global?a.index+a[0].length:n),Hr&&a&&a.length>1&&x(Ir,a[0],r,function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(a[o]=void 0)}),a&&h)for(a.groups=i=Nr(null),o=0;o<h.length;o++)i[(s=h[o])[0]]=a[s[1]];return a});var Vr=Dr;Ut({target:"RegExp",proto:!0,forced:/./.exec!==Vr},{exec:Vr});var qr=Function.prototype,$r=qr.apply,Gr=qr.call,Xr="object"==typeof Reflect&&Reflect.apply||(w?Gr.bind($r):function(){return Gr.apply($r,arguments)}),Yr=ke("species"),Kr=RegExp.prototype,Jr=function(e,t,r,n){var a=ke(e),o=!b(function(){var t={};return t[a]=function(){return 7},7!=""[e](t)}),i=o&&!b(function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[Yr]=function(){return r},r.flags="",r[a]=/./[a]),r.exec=function(){return t=!0,null},r[a](""),!t});if(!o||!i||r){var s=O(/./[a]),c=t(a,""[e],function(e,t,r,n,a){var i=O(e),c=t.exec;return c===Vr||c===Kr.exec?o&&!a?{done:!0,value:s(t,r,n)}:{done:!0,value:i(r,t,n)}:{done:!1}});ft(String.prototype,e,c[0]),ft(Kr,a,c[1])}n&&ze(Kr[a],"sham",!0)},Zr=ke("match"),Qr=function(e){var t;return z(e)&&(void 0!==(t=e[Zr])?!!t:"RegExp"==I(e))},en=function(){},tn=[],rn=H("Reflect","construct"),nn=/^\s*(?:class|function)\b/,an=O(nn.exec),on=!nn.exec(en),sn=function(e){if(!U(e))return!1;try{return rn(en,tn,e),!0}catch(e){return!1}},cn=function(e){if(!U(e))return!1;switch(Qt(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return on||!!an(nn,Ge(e))}catch(e){return!0}};cn.sham=!0;var ln=!rn||b(function(){var e;return sn(sn.call)||!sn(Object)||!sn(function(){e=!0})||e})?cn:sn,un=v.TypeError,fn=ke("species"),hn=function(e,t){var r,n=Me(e).constructor;return void 0===n||null==(r=Me(n)[fn])?t:function(e){if(ln(e))return e;throw un(re(e)+" is not a constructor")}(r)},dn=O("".charAt),pn=O("".charCodeAt),gn=O("".slice),mn=function(e){return function(t,r){var n,a,o=tr(B(t)),i=pt(r),s=o.length;return i<0||i>=s?e?"":void 0:(n=pn(o,i))<55296||n>56319||i+1===s||(a=pn(o,i+1))<56320||a>57343?e?dn(o,i):n:e?gn(o,i,i+2):a-56320+(n-55296<<10)+65536}},vn={codeAt:mn(!1),charAt:mn(!0)}.charAt,bn=function(e,t,r){return t+(r?vn(e,t).length:1)},yn=function(e,t,r){var n=_e(t);n in e?Ue.f(e,n,E(0,r)):e[n]=r},wn=v.Array,Sn=Math.max,xn=function(e,t,r){for(var n=wt(e),a=vt(t,n),o=vt(void 0===r?n:r,n),i=wn(Sn(o-a,0)),s=0;a<o;a++,s++)yn(i,s,e[a]);return i.length=s,i},kn=v.TypeError,An=function(e,t){var r=e.exec;if(U(r)){var n=x(r,e,t);return null!==n&&Me(n),n}if("RegExp"===I(e))return x(Vr,e,t);throw kn("RegExp#exec called on incompatible receiver")},Tn=wr.UNSUPPORTED_Y,En=Math.min,_n=[].push,Nn=O(/./.exec),Cn=O(_n),Rn=O("".slice);Jr("split",function(e,t,r){var n;return n="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,r){var n=tr(B(this)),a=void 0===r?4294967295:r>>>0;if(0===a)return[];if(void 0===e)return[n];if(!Qr(e))return x(t,n,e,a);for(var o,i,s,c=[],l=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),u=0,f=new RegExp(e.source,l+"g");(o=x(Vr,f,n))&&!((i=f.lastIndex)>u&&(Cn(c,Rn(n,u,o.index)),o.length>1&&o.index<n.length&&Xr(_n,c,xn(o,1)),s=o[0].length,u=i,c.length>=a));)f.lastIndex===o.index&&f.lastIndex++;return u===n.length?!s&&Nn(f,"")||Cn(c,""):Cn(c,Rn(n,u)),c.length>a?xn(c,0,a):c}:"0".split(void 0,0).length?function(e,r){return void 0===e&&0===r?[]:x(t,this,e,r)}:t,[function(t,r){var a=B(this),o=null==t?void 0:oe(t,e);return o?x(o,t,a,r):x(n,tr(a),t,r)},function(e,a){var o=Me(this),i=tr(e),s=r(n,o,i,a,n!==t);if(s.done)return s.value;var c=hn(o,RegExp),l=o.unicode,u=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(Tn?"g":"y"),f=new c(Tn?"^(?:"+o.source+")":o,u),h=void 0===a?4294967295:a>>>0;if(0===h)return[];if(0===i.length)return null===An(f,i)?[i]:[];for(var d=0,p=0,g=[];p<i.length;){f.lastIndex=Tn?0:p;var m,v=An(f,Tn?Rn(i,p):i);if(null===v||(m=En(yt(f.lastIndex+(Tn?p:0)),i.length))===d)p=bn(i,p,l);else{if(Cn(g,Rn(i,d,p)),g.length===h)return g;for(var b=1;b<=v.length-1;b++)if(Cn(g,v[b]),g.length===h)return g;p=d=m}}return Cn(g,Rn(i,d)),g}]},!!b(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}),Tn);var On=O(T.f),Ln=O([].push),Pn=function(e){return function(t){for(var r,n=W(t),a=zt(n),o=a.length,i=0,s=[];o>i;)r=a[i++],y&&!On(n,r)||Ln(s,e?[r,n[r]]:n[r]);return s}},In={entries:Pn(!0),values:Pn(!1)}.entries;Ut({target:"Object",stat:!0},{entries:function(e){return In(e)}});var Fn=ke("unscopables"),Dn=Array.prototype;null==Dn[Fn]&&Ue.f(Dn,Fn,{configurable:!0,value:Nr(null)});var Mn=function(e){Dn[Fn][e]=!0},jn=xt.includes;Ut({target:"Array",proto:!0},{includes:function(e){return jn(this,e,arguments.length>1?arguments[1]:void 0)}}),Mn("includes");var Bn=Array.isArray||function(e){return"Array"==I(e)},Wn=ke("species"),Un=v.Array,zn=function(e,t){return new(function(e){var t;return Bn(e)&&(t=e.constructor,ln(t)&&(t===Un||Bn(t.prototype))?t=void 0:z(t)&&null===(t=t[Wn])&&(t=void 0)),void 0===t?Un:t}(e))(0===t?0:t)},Hn=ke("species"),Vn=function(e){return K>=51||!b(function(){var t=[];return(t.constructor={})[Hn]=function(){return{foo:1}},1!==t[e](Boolean).foo})},qn=ke("isConcatSpreadable"),$n=v.TypeError,Gn=K>=51||!b(function(){var e=[];return e[qn]=!1,e.concat()[0]!==e}),Xn=Vn("concat"),Yn=function(e){if(!z(e))return!1;var t=e[qn];return void 0!==t?!!t:Bn(e)};Ut({target:"Array",proto:!0,forced:!Gn||!Xn},{concat:function(e){var t,r,n,a,o,i=he(this),s=zn(i,0),c=0;for(t=-1,n=arguments.length;t<n;t++)if(o=-1===t?i:arguments[t],Yn(o)){if(c+(a=wt(o))>9007199254740991)throw $n("Maximum allowed index exceeded");for(r=0;r<a;r++,c++)r in o&&yn(s,c,o[r])}else{if(c>=9007199254740991)throw $n("Maximum allowed index exceeded");yn(s,c++,o)}return s.length=c,s}});var Kn=O(O.bind),Jn=O([].push),Zn=function(e){var t=1==e,r=2==e,n=3==e,a=4==e,o=6==e,i=7==e,s=5==e||o;return function(c,l,u,f){for(var h,d,p=he(c),g=M(p),m=function(e,t){return ae(e),void 0===t?e:w?Kn(e,t):function(){return e.apply(t,arguments)}}(l,u),v=wt(g),b=0,y=f||zn,S=t?y(c,v):r||i?y(c,0):void 0;v>b;b++)if((s||b in g)&&(d=m(h=g[b],b,p),e))if(t)S[b]=d;else if(d)switch(e){case 3:return!0;case 5:return h;case 6:return b;case 2:Jn(S,h)}else switch(e){case 4:return!1;case 7:Jn(S,h)}return o?-1:n||a?a:S}},Qn={forEach:Zn(0),map:Zn(1),filter:Zn(2),some:Zn(3),every:Zn(4),find:Zn(5),findIndex:Zn(6),filterReject:Zn(7)},ea=Qn.find,ta=!0;"find"in[]&&Array(1).find(function(){ta=!1}),Ut({target:"Array",proto:!0,forced:ta},{find:function(e){return ea(this,e,arguments.length>1?arguments[1]:void 0)}}),Mn("find");var ra=Yt?{}.toString:function(){return"[object "+Qt(this)+"]"};Yt||ft(Object.prototype,"toString",ra,{unsafe:!0});var na=v.TypeError,aa=function(e){if(Qr(e))throw na("The method doesn't accept regular expressions");return e},oa=ke("match"),ia=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[oa]=!1,"/./"[e](t)}catch(e){}}return!1},sa=O("".indexOf);Ut({target:"String",proto:!0,forced:!ia("includes")},{includes:function(e){return!!~sa(tr(B(this)),tr(aa(e)),arguments.length>1?arguments[1]:void 0)}});var ca={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},la=Re("span").classList,ua=la&&la.constructor&&la.constructor.prototype,fa=ua===Object.prototype?void 0:ua,ha=Qn.forEach,da=fr("forEach")?[].forEach:function(e){return ha(this,e,arguments.length>1?arguments[1]:void 0)},pa=function(e){if(e&&e.forEach!==da)try{ze(e,"forEach",da)}catch(t){e.forEach=da}};for(var ga in ca)ca[ga]&&pa(v[ga]&&v[ga].prototype);pa(fa);var ma=cr.trim,va=O("".charAt),ba=v.parseFloat,ya=v.Symbol,wa=ya&&ya.iterator,Sa=1/ba(rr+"-0")!=-1/0||wa&&!b(function(){ba(Object(wa))})?function(e){var t=ma(tr(e)),r=ba(t);return 0===r&&"-"==va(t,0)?-0:r}:ba;Ut({global:!0,forced:parseFloat!=Sa},{parseFloat:Sa});var xa=xt.indexOf,ka=O([].indexOf),Aa=!!ka&&1/ka([1],1,-0)<0,Ta=fr("indexOf");Ut({target:"Array",proto:!0,forced:Aa||!Ta},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return Aa?ka(this,e,t)||0:xa(this,e,t)}});var Ea=Math.floor,_a=function(e,t){var r=e.length,n=Ea(r/2);return r<8?Na(e,t):Ca(e,_a(xn(e,0,n),t),_a(xn(e,n),t),t)},Na=function(e,t){for(var r,n,a=e.length,o=1;o<a;){for(n=o,r=e[o];n&&t(e[n-1],r)>0;)e[n]=e[--n];n!==o++&&(e[n]=r)}return e},Ca=function(e,t,r,n){for(var a=t.length,o=r.length,i=0,s=0;i<a||s<o;)e[i+s]=i<a&&s<o?n(t[i],r[s])<=0?t[i++]:r[s++]:i<a?t[i++]:r[s++];return e},Ra=_a,Oa=q.match(/firefox\/(\d+)/i),La=!!Oa&&+Oa[1],Pa=/MSIE|Trident/.test(q),Ia=q.match(/AppleWebKit\/(\d+)\./),Fa=!!Ia&&+Ia[1],Da=[],Ma=O(Da.sort),ja=O(Da.push),Ba=b(function(){Da.sort(void 0)}),Wa=b(function(){Da.sort(null)}),Ua=fr("sort"),za=!b(function(){if(K)return K<70;if(!(La&&La>3)){if(Pa)return!0;if(Fa)return Fa<603;var e,t,r,n,a="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)Da.push({k:t+n,v:r})}for(Da.sort(function(e,t){return t.v-e.v}),n=0;n<Da.length;n++)t=Da[n].k.charAt(0),a.charAt(a.length-1)!==t&&(a+=t);return"DGBEFHACIJK"!==a}});Ut({target:"Array",proto:!0,forced:Ba||!Wa||!Ua||!za},{sort:function(e){void 0!==e&&ae(e);var t=he(this);if(za)return void 0===e?Ma(t):Ma(t,e);var r,n,a=[],o=wt(t);for(n=0;n<o;n++)n in t&&ja(a,t[n]);for(Ra(a,function(e){return function(t,r){return void 0===r?-1:void 0===t?1:void 0!==e?+e(t,r)||0:tr(t)>tr(r)?1:-1}}(e)),r=a.length,n=0;n<r;)t[n]=a[n++];for(;n<o;)delete t[n++];return t}});var Ha=Math.floor,Va=O("".charAt),qa=O("".replace),$a=O("".slice),Ga=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Xa=/\$([$&'`]|\d{1,2})/g,Ya=function(e,t,r,n,a,o){var i=r+e.length,s=n.length,c=Xa;return void 0!==a&&(a=he(a),c=Ga),qa(o,c,function(o,c){var l;switch(Va(c,0)){case"$":return"$";case"&":return e;case"`":return $a(t,0,r);case"'":return $a(t,i);case"<":l=a[$a(c,1,-1)];break;default:var u=+c;if(0===u)return o;if(u>s){var f=Ha(u/10);return 0===f?o:f<=s?void 0===n[f-1]?Va(c,1):n[f-1]+Va(c,1):o}l=n[u-1]}return void 0===l?"":l})},Ka=ke("replace"),Ja=Math.max,Za=Math.min,Qa=O([].concat),eo=O([].push),to=O("".indexOf),ro=O("".slice),no="$0"==="a".replace(/./,"$0"),ao=!!/./[Ka]&&""===/./[Ka]("a","$0");Jr("replace",function(e,t,r){var n=ao?"$":"$0";return[function(e,r){var n=B(this),a=null==e?void 0:oe(e,Ka);return a?x(a,e,n,r):x(t,tr(n),e,r)},function(e,a){var o=Me(this),i=tr(e);if("string"==typeof a&&-1===to(a,n)&&-1===to(a,"$<")){var s=r(t,o,i,a);if(s.done)return s.value}var c=U(a);c||(a=tr(a));var l=o.global;if(l){var u=o.unicode;o.lastIndex=0}for(var f=[];;){var h=An(o,i);if(null===h)break;if(eo(f,h),!l)break;""===tr(h[0])&&(o.lastIndex=bn(i,yt(o.lastIndex),u))}for(var d,p="",g=0,m=0;m<f.length;m++){for(var v=tr((h=f[m])[0]),b=Ja(Za(pt(h.index),i.length),0),y=[],w=1;w<h.length;w++)eo(y,void 0===(d=h[w])?d:String(d));var S=h.groups;if(c){var x=Qa([v],y,b,i);void 0!==S&&eo(x,S);var k=tr(Xr(a,void 0,x))}else k=Ya(v,i,b,y,S,a);b>=g&&(p+=ro(i,g,b)+k,g=b+v.length)}return p+ro(i,g)}]},!!b(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})||!no||ao);var oo=Qn.filter,io=Vn("filter");Ut({target:"Array",proto:!0,forced:!io},{filter:function(e){return oo(this,e,arguments.length>1?arguments[1]:void 0)}});var so=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};Jr("search",function(e,t,r){return[function(t){var r=B(this),n=null==t?void 0:oe(t,e);return n?x(n,t,r):new RegExp(t)[e](tr(r))},function(e){var n=Me(this),a=tr(e),o=r(t,n,a);if(o.done)return o.value;var i=n.lastIndex;so(i,0)||(n.lastIndex=0);var s=An(n,a);return so(n.lastIndex,i)||(n.lastIndex=i),null===s?-1:s.index}]});var co=cr.trim,lo=v.parseInt,uo=v.Symbol,fo=uo&&uo.iterator,ho=/^[+-]?0x/i,po=O(ho.exec),go=8!==lo(rr+"08")||22!==lo(rr+"0x16")||fo&&!b(function(){lo(Object(fo))})?function(e,t){var r=co(tr(e));return lo(r,t>>>0||(po(ho,r)?16:10))}:lo;Ut({global:!0,forced:parseInt!=go},{parseInt:go});var mo=Qn.map,vo=Vn("map");Ut({target:"Array",proto:!0,forced:!vo},{map:function(e){return mo(this,e,arguments.length>1?arguments[1]:void 0)}});var bo=Qn.findIndex,yo=!0;"findIndex"in[]&&Array(1).findIndex(function(){yo=!1}),Ut({target:"Array",proto:!0,forced:yo},{findIndex:function(e){return bo(this,e,arguments.length>1?arguments[1]:void 0)}}),Mn("findIndex");var wo=v.String,So=v.TypeError,xo=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=O(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return Me(r),function(e){if("object"==typeof e||U(e))return e;throw So("Can't set "+wo(e)+" as a prototype")}(n),t?e(r,n):r.__proto__=n,r}}():void 0),ko=function(e,t,r){var n,a;return xo&&U(n=t.constructor)&&n!==r&&z(a=n.prototype)&&a!==r.prototype&&xo(e,a),e},Ao=ke("species"),To=Ue.f,Eo=Nt.f,_o=it.enforce,No=ke("match"),Co=v.RegExp,Ro=Co.prototype,Oo=v.SyntaxError,Lo=O(mr),Po=O(Ro.exec),Io=O("".charAt),Fo=O("".replace),Do=O("".indexOf),Mo=O("".slice),jo=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Bo=/a/g,Wo=/a/g,Uo=new Co(Bo)!==Bo,zo=wr.MISSED_STICKY,Ho=wr.UNSUPPORTED_Y,Vo=y&&(!Uo||zo||Rr||Lr||b(function(){return Wo[No]=!1,Co(Bo)!=Bo||Co(Wo)==Wo||"/a/i"!=Co(Bo,"i")}));if(Bt("RegExp",Vo)){for(var qo=function(e,t){var r,n,a,o,i,s,c=V(Ro,this),l=Qr(e),u=void 0===t,f=[],h=e;if(!c&&l&&u&&e.constructor===qo)return e;if((l||V(Ro,e))&&(e=e.source,u&&(t="flags"in h?h.flags:Lo(h))),e=void 0===e?"":tr(e),t=void 0===t?"":tr(t),h=e,Rr&&"dotAll"in Bo&&(n=!!t&&Do(t,"s")>-1)&&(t=Fo(t,/s/g,"")),r=t,zo&&"sticky"in Bo&&(a=!!t&&Do(t,"y")>-1)&&Ho&&(t=Fo(t,/y/g,"")),Lr&&(e=(o=function(e){for(var t,r=e.length,n=0,a="",o=[],i={},s=!1,c=!1,l=0,u="";n<=r;n++){if("\\"===(t=Io(e,n)))t+=Io(e,++n);else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:Po(jo,Mo(e,n+1))&&(n+=2,c=!0),a+=t,l++;continue;case">"===t&&c:if(""===u||pe(i,u))throw new Oo("Invalid capture group name");i[u]=!0,o[o.length]=[u,l],c=!1,u="";continue}c?u+=t:a+=t}return[a,o]}(e))[0],f=o[1]),i=ko(Co(e,t),c?this:Ro,qo),(n||a||f.length)&&(s=_o(i),n&&(s.dotAll=!0,s.raw=qo(function(e){for(var t,r=e.length,n=0,a="",o=!1;n<=r;n++)"\\"!==(t=Io(e,n))?o||"."!==t?("["===t?o=!0:"]"===t&&(o=!1),a+=t):a+="[\\s\\S]":a+=t+Io(e,++n);return a}(e),r)),a&&(s.sticky=!0),f.length&&(s.groups=f)),e!==h)try{ze(i,"source",""===h?"(?:)":h)}catch(e){}return i},$o=function(e){e in qo||To(qo,e,{configurable:!0,get:function(){return Co[e]},set:function(t){Co[e]=t}})},Go=Eo(Co),Xo=0;Go.length>Xo;)$o(Go[Xo++]);Ro.constructor=qo,qo.prototype=Ro,ft(v,"RegExp",qo)}!function(e){var t=H(e),r=Ue.f;y&&t&&!t[Ao]&&r(t,Ao,{configurable:!0,get:function(){return this}})}("RegExp");var Yo=ut.PROPER,Ko=RegExp.prototype,Jo=Ko.toString,Zo=O(mr),Qo=b(function(){return"/a/b"!=Jo.call({source:"a",flags:"b"})}),ei=Yo&&"toString"!=Jo.name;(Qo||ei)&&ft(RegExp.prototype,"toString",function(){var e=Me(this),t=tr(e.source),r=e.flags;return"/"+t+"/"+tr(void 0!==r||!V(Ko,e)||"flags"in Ko?r:Zo(e))},{unsafe:!0});var ti=O([].slice),ri=Vn("slice"),ni=ke("species"),ai=v.Array,oi=Math.max;Ut({target:"Array",proto:!0,forced:!ri},{slice:function(e,t){var r,n,a,o=W(this),i=wt(o),s=vt(e,i),c=vt(void 0===t?i:t,i);if(Bn(o)&&(r=o.constructor,ln(r)&&(r===ai||Bn(r.prototype))?r=void 0:z(r)&&null===(r=r[ni])&&(r=void 0),r===ai||void 0===r))return ti(o,s,c);for(n=new(void 0===r?ai:r)(oi(c-s,0)),a=0;s<c;s++,a++)s in o&&yn(n,a,o[s]);return n.length=a,n}});var ii,si,ci,li={},ui=!b(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),fi=Je("IE_PROTO"),hi=v.Object,di=hi.prototype,pi=ui?hi.getPrototypeOf:function(e){var t=he(e);if(pe(t,fi))return t[fi];var r=t.constructor;return U(r)&&t instanceof r?r.prototype:t instanceof hi?di:null},gi=ke("iterator"),mi=!1;[].keys&&("next"in(ci=[].keys())?(si=pi(pi(ci)))!==Object.prototype&&(ii=si):mi=!0),(null==ii||b(function(){var e={};return ii[gi].call(e)!==e}))&&(ii={}),U(ii[gi])||ft(ii,gi,function(){return this});var vi={IteratorPrototype:ii,BUGGY_SAFARI_ITERATORS:mi},bi=Ue.f,yi=ke("toStringTag"),wi=function(e,t,r){e&&!r&&(e=e.prototype),e&&!pe(e,yi)&&bi(e,yi,{configurable:!0,value:t})},Si=vi.IteratorPrototype,xi=function(){return this},ki=ut.PROPER,Ai=ut.CONFIGURABLE,Ti=vi.IteratorPrototype,Ei=vi.BUGGY_SAFARI_ITERATORS,_i=ke("iterator"),Ni=function(){return this},Ci=Ue.f,Ri=it.set,Oi=it.getterFor("Array Iterator"),Li=function(e,t,r,n,a,o,i){!function(e,t,r,n){var a=t+" Iterator";e.prototype=Nr(Si,{next:E(+!n,r)}),wi(e,a,!1),li[a]=xi}(r,t,n);var s,c,l,u=function(e){if(e===a&&g)return g;if(!Ei&&e in d)return d[e];switch(e){case"keys":case"values":case"entries":return function(){return new r(this,e)}}return function(){return new r(this)}},f=t+" Iterator",h=!1,d=e.prototype,p=d[_i]||d["@@iterator"]||a&&d[a],g=!Ei&&p||u(a),m="Array"==t&&d.entries||p;if(m&&(s=pi(m.call(new e)))!==Object.prototype&&s.next&&(pi(s)!==Ti&&(xo?xo(s,Ti):U(s[_i])||ft(s,_i,Ni)),wi(s,f,!0)),ki&&"values"==a&&p&&"values"!==p.name&&(Ai?ze(d,"name","values"):(h=!0,g=function(){return x(p,this)})),a)if(c={values:u("values"),keys:o?g:u("keys"),entries:u("entries")},i)for(l in c)!Ei&&!h&&l in d||ft(d,l,c[l]);else Ut({target:t,proto:!0,forced:Ei||h},c);return d[_i]!==g&&ft(d,_i,g,{name:a}),li[t]=g,c}(Array,"Array",function(e,t){Ri(this,{type:"Array Iterator",target:W(e),index:0,kind:t})},function(){var e=Oi(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}},"values"),Pi=li.Arguments=li.Array;if(Mn("keys"),Mn("values"),Mn("entries"),y&&"values"!==Pi.name)try{Ci(Pi,"name",{value:"values"})}catch(e){}var Ii=ke("iterator"),Fi=ke("toStringTag"),Di=Li.values,Mi=function(e,t){if(e){if(e[Ii]!==Di)try{ze(e,Ii,Di)}catch(t){e[Ii]=Di}if(e[Fi]||ze(e,Fi,t),ca[t])for(var r in Li)if(e[r]!==Li[r])try{ze(e,r,Li[r])}catch(t){e[r]=Li[r]}}};for(var ji in ca)Mi(v[ji]&&v[ji].prototype,ji);Mi(fa,"DOMTokenList");var Bi=Vn("splice"),Wi=v.TypeError,Ui=Math.max,zi=Math.min;Ut({target:"Array",proto:!0,forced:!Bi},{splice:function(e,t){var r,n,a,o,i,s,c=he(this),l=wt(c),u=vt(e,l),f=arguments.length;if(0===f?r=n=0:1===f?(r=0,n=l-u):(r=f-2,n=zi(Ui(pt(t),0),l-u)),l+r-n>9007199254740991)throw Wi("Maximum allowed length exceeded");for(a=zn(c,n),o=0;o<n;o++)(i=u+o)in c&&yn(a,o,c[i]);if(a.length=n,r<n){for(o=u;o<l-n;o++)s=o+r,(i=o+n)in c?c[s]=c[i]:delete c[s];for(o=l;o>l-n+r;o--)delete c[o-1]}else if(r>n)for(o=l-n;o>u;o--)s=o+r-1,(i=o+n-1)in c?c[s]=c[i]:delete c[s];for(o=0;o<r;o++)c[o+u]=arguments[o+2];return c.length=l-n+r,a}});var Hi=O(1..valueOf),Vi=Nt.f,qi=Pe.f,$i=Ue.f,Gi=cr.trim,Xi=v.Number,Yi=Xi.prototype,Ki=v.TypeError,Ji=O("".slice),Zi=O("".charCodeAt),Qi=function(e){var t,r,n,a,o,i,s,c,l=Ee(e,"number");if(ee(l))throw Ki("Cannot convert a Symbol value to a number");if("string"==typeof l&&l.length>2)if(l=Gi(l),43===(t=Zi(l,0))||45===t){if(88===(r=Zi(l,2))||120===r)return NaN}else if(48===t){switch(Zi(l,1)){case 66:case 98:n=2,a=49;break;case 79:case 111:n=8,a=55;break;default:return+l}for(i=(o=Ji(l,2)).length,s=0;s<i;s++)if((c=Zi(o,s))<48||c>a)return NaN;return parseInt(o,n)}return+l};if(Bt("Number",!Xi(" 0o1")||!Xi("0b1")||Xi("+0x1"))){for(var es,ts=function(e){var t=arguments.length<1?0:Xi(function(e){var t=Ee(e,"number");return"bigint"==typeof t?t:Qi(t)}(e)),r=this;return V(Yi,r)&&b(function(){Hi(r)})?ko(Object(t),r,ts):t},rs=y?Vi(Xi):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),ns=0;rs.length>ns;ns++)pe(Xi,es=rs[ns])&&!pe(ts,es)&&$i(ts,es,qi(Xi,es));ts.prototype=Yi,Yi.constructor=ts,ft(v,"Number",ts)}var as=O([].reverse),os=[1,2];Ut({target:"Array",proto:!0,forced:String(os)===String(os.reverse())},{reverse:function(){return Bn(this)&&(this.length=this.length),as(this)}});var is=b(function(){zt(1)});Ut({target:"Object",stat:!0,forced:is},{keys:function(e){return zt(he(e))}}),Jr("match",function(e,t,r){return[function(t){var r=B(this),n=null==t?void 0:oe(t,e);return n?x(n,t,r):new RegExp(t)[e](tr(r))},function(e){var n=Me(this),a=tr(e),o=r(t,n,a);if(o.done)return o.value;if(!n.global)return An(n,a);var i=n.unicode;n.lastIndex=0;for(var s,c=[],l=0;null!==(s=An(n,a));){var u=tr(s[0]);c[l]=u,""===u&&(n.lastIndex=bn(a,yt(n.lastIndex),i)),l++}return 0===l?null:c}]});var ss,cs=Pe.f,ls=O("".startsWith),us=O("".slice),fs=Math.min,hs=ia("startsWith"),ds=!(hs||(ss=cs(String.prototype,"startsWith"),!ss||ss.writable));Ut({target:"String",proto:!0,forced:!ds&&!hs},{startsWith:function(e){var t=tr(B(this));aa(e);var r=yt(fs(arguments.length>1?arguments[1]:void 0,t.length)),n=tr(e);return ls?ls(t,n,r):us(t,r,r+n.length)===n}});var ps=Pe.f,gs=O("".endsWith),ms=O("".slice),vs=Math.min,bs=ia("endsWith"),ys=!bs&&!!function(){var e=ps(String.prototype,"endsWith");return e&&!e.writable}();Ut({target:"String",proto:!0,forced:!ys&&!bs},{endsWith:function(e){var t=tr(B(this));aa(e);var r=arguments.length>1?arguments[1]:void 0,n=t.length,a=void 0===r?n:vs(yt(r),n),o=tr(e);return gs?gs(t,o,a):ms(t,a-o.length,a)===o}});var ws={getBootstrapVersion:function(){var e=5;try{var t=r.default.fn.dropdown.Constructor.VERSION;void 0!==t&&(e=parseInt(t,10))}catch(e){}try{var n=bootstrap.Tooltip.VERSION;void 0!==n&&(e=parseInt(n,10))}catch(e){}return e},getIconsPrefix:function(e){return{bootstrap3:"glyphicon",bootstrap4:"fa",bootstrap5:"bi","bootstrap-table":"icon",bulma:"fa",foundation:"fa",materialize:"material-icons",semantic:"fa"}[e]||"fa"},getIcons:function(e){return{glyphicon:{paginationSwitchDown:"glyphicon-collapse-down icon-chevron-down",paginationSwitchUp:"glyphicon-collapse-up icon-chevron-up",refresh:"glyphicon-refresh icon-refresh",toggleOff:"glyphicon-list-alt icon-list-alt",toggleOn:"glyphicon-list-alt icon-list-alt",columns:"glyphicon-th icon-th",detailOpen:"glyphicon-plus icon-plus",detailClose:"glyphicon-minus icon-minus",fullscreen:"glyphicon-fullscreen",search:"glyphicon-search",clearSearch:"glyphicon-trash"},fa:{paginationSwitchDown:"fa-caret-square-down",paginationSwitchUp:"fa-caret-square-up",refresh:"fa-sync",toggleOff:"fa-toggle-off",toggleOn:"fa-toggle-on",columns:"fa-th-list",detailOpen:"fa-plus",detailClose:"fa-minus",fullscreen:"fa-arrows-alt",search:"fa-search",clearSearch:"fa-trash"},bi:{paginationSwitchDown:"bi-caret-down-square",paginationSwitchUp:"bi-caret-up-square",refresh:"bi-arrow-clockwise",toggleOff:"bi-toggle-off",toggleOn:"bi-toggle-on",columns:"bi-list-ul",detailOpen:"bi-plus",detailClose:"bi-dash",fullscreen:"bi-arrows-move",search:"bi-search",clearSearch:"bi-trash"},icon:{paginationSwitchDown:"icon-arrow-up-circle",paginationSwitchUp:"icon-arrow-down-circle",refresh:"icon-refresh-cw",toggleOff:"icon-toggle-right",toggleOn:"icon-toggle-right",columns:"icon-list",detailOpen:"icon-plus",detailClose:"icon-minus",fullscreen:"icon-maximize",search:"icon-search",clearSearch:"icon-trash-2"},"material-icons":{paginationSwitchDown:"grid_on",paginationSwitchUp:"grid_off",refresh:"refresh",toggleOff:"tablet",toggleOn:"tablet_android",columns:"view_list",detailOpen:"add",detailClose:"remove",fullscreen:"fullscreen",sort:"sort",search:"search",clearSearch:"delete"}}[e]},getSearchInput:function(e){return"string"==typeof e.options.searchSelector?r.default(e.options.searchSelector):e.$toolbar.find(".search input")},sprintf:function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var a=!0,o=0,i=e.replace(/%s/g,function(){var e=r[o++];return void 0===e?(a=!1,""):e});return a?i:""},isObject:function(e){return e instanceof Object&&!Array.isArray(e)},isEmptyObject:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return 0===Object.entries(e).length&&e.constructor===Object},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},getFieldTitle:function(e,t){var r,n=f(e);try{for(n.s();!(r=n.n()).done;){var a=r.value;if(a.field===t)return a.title}}catch(e){n.e(e)}finally{n.f()}return""},setFieldIndex:function(e){var t,r=0,n=[],a=f(e[0]);try{for(a.s();!(t=a.n()).done;){r+=t.value.colspan||1}}catch(e){a.e(e)}finally{a.f()}for(var o=0;o<e.length;o++){n[o]=[];for(var i=0;i<r;i++)n[o][i]=!1}for(var s=0;s<e.length;s++){var c,l=f(e[s]);try{for(l.s();!(c=l.n()).done;){var u=c.value,h=u.rowspan||1,d=u.colspan||1,p=n[s].indexOf(!1);u.colspanIndex=p,1===d?(u.fieldIndex=p,void 0===u.field&&(u.field=p)):u.colspanGroup=u.colspan;for(var g=0;g<h;g++)for(var m=0;m<d;m++)n[s+g][p+m]=!0}}catch(e){l.e(e)}finally{l.f()}}},normalizeAccent:function(e){return"string"!=typeof e?e:e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")},updateFieldGroup:function(e){var t,r,n=(t=[]).concat.apply(t,c(e)),a=f(e);try{for(a.s();!(r=a.n()).done;){var o,i=f(r.value);try{for(i.s();!(o=i.n()).done;){var s=o.value;if(s.colspanGroup>1){for(var l=0,u=function(e){n.find(function(t){return t.fieldIndex===e}).visible&&l++},h=s.colspanIndex;h<s.colspanIndex+s.colspanGroup;h++)u(h);s.colspan=l,s.visible=l>0}}}catch(e){i.e(e)}finally{i.f()}}}catch(e){a.e(e)}finally{a.f()}},getScrollBarWidth:function(){if(void 0===this.cachedWidth){var e=r.default("<div/>").addClass("fixed-table-scroll-inner"),t=r.default("<div/>").addClass("fixed-table-scroll-outer");t.append(e),r.default("body").append(t);var n=e[0].offsetWidth;t.css("overflow","scroll");var a=e[0].offsetWidth;n===a&&(a=t[0].clientWidth),t.remove(),this.cachedWidth=n-a}return this.cachedWidth},calculateObjectValue:function(e,t,r,a){var o=t;if("string"==typeof t){var i=t.split(".");if(i.length>1){o=window;var s,l=f(i);try{for(l.s();!(s=l.n()).done;){o=o[s.value]}}catch(e){l.e(e)}finally{l.f()}}else o=window[t]}return null!==o&&"object"===n(o)?o:"function"==typeof o?o.apply(e,r||[]):!o&&"string"==typeof t&&r&&this.sprintf.apply(this,[t].concat(c(r)))?this.sprintf.apply(this,[t].concat(c(r))):a},compareObjects:function(e,t,r){var n=Object.keys(e),a=Object.keys(t);if(r&&n.length!==a.length)return!1;for(var o=0,i=n;o<i.length;o++){var s=i[o];if(a.includes(s)&&e[s]!==t[s])return!1}return!0},regexCompare:function(e,t){try{var r=t.match(/^\/(.*?)\/([gim]*)$/);if(-1!==e.toString().search(r?new RegExp(r[1],r[2]):new RegExp(t,"gim")))return!0}catch(e){return!1}},escapeHTML:function(e){return e?e.toString().replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"):e},unescapeHTML:function(e){return"string"==typeof e&&e?e.toString().replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'"):e},removeHTML:function(e){return e?e.toString().replace(/(<([^>]+)>)/gi,"").replace(/&[#A-Za-z0-9]+;/gi,"").trim():e},getRealDataAttr:function(e){for(var t=0,r=Object.entries(e);t<r.length;t++){var n=s(r[t],2),a=n[0],o=n[1],i=a.split(/(?=[A-Z])/).join("-").toLowerCase();i!==a&&(e[i]=o,delete e[a])}return e},getItemField:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0,a=e;if(void 0!==n&&(r=n),"string"!=typeof t||e.hasOwnProperty(t))return r?this.escapeHTML(e[t]):e[t];var o,i=f(t.split("."));try{for(i.s();!(o=i.n()).done;){var s=o.value;a=a&&a[s]}}catch(e){i.e(e)}finally{i.f()}return r?this.escapeHTML(a):a},isIEBrowser:function(){return navigator.userAgent.includes("MSIE ")||/Trident.*rv:11\./.test(navigator.userAgent)},findIndex:function(e,t){var r,n=f(e);try{for(n.s();!(r=n.n()).done;){var a=r.value;if(JSON.stringify(a)===JSON.stringify(t))return e.indexOf(a)}}catch(e){n.e(e)}finally{n.f()}return-1},trToData:function(e,t){var n=this,a=[],o=[];return t.each(function(t,i){var s=r.default(i),c={};c._id=s.attr("id"),c._class=s.attr("class"),c._data=n.getRealDataAttr(s.data()),c._style=s.attr("style"),s.find(">td,>th").each(function(a,i){for(var s=r.default(i),l=+s.attr("colspan")||1,u=+s.attr("rowspan")||1,f=a;o[t]&&o[t][f];f++);for(var h=f;h<f+l;h++)for(var d=t;d<t+u;d++)o[d]||(o[d]=[]),o[d][h]=!0;var p=e[f].field;c[p]=s.html().trim(),c["_".concat(p,"_id")]=s.attr("id"),c["_".concat(p,"_class")]=s.attr("class"),c["_".concat(p,"_rowspan")]=s.attr("rowspan"),c["_".concat(p,"_colspan")]=s.attr("colspan"),c["_".concat(p,"_title")]=s.attr("title"),c["_".concat(p,"_data")]=n.getRealDataAttr(s.data()),c["_".concat(p,"_style")]=s.attr("style")}),a.push(c)}),a},sort:function(e,t,r,n,a,o){return null==e&&(e=""),null==t&&(t=""),n&&e===t&&(e=a,t=o),this.isNumeric(e)&&this.isNumeric(t)?(e=parseFloat(e))<(t=parseFloat(t))?-1*r:e>t?r:0:e===t?0:("string"!=typeof e&&(e=e.toString()),-1===e.localeCompare(t)?-1*r:r)},getEventName:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return t=t||"".concat(+new Date).concat(~~(1e6*Math.random())),"".concat(e,"-").concat(t)},hasDetailViewIcon:function(e){return e.detailView&&e.detailViewIcon&&!e.cardView},getDetailViewIndexOffset:function(e){return this.hasDetailViewIcon(e)&&"right"!==e.detailViewAlign?1:0},checkAutoMergeCells:function(e){var t,r=f(e);try{for(r.s();!(t=r.n()).done;)for(var n=t.value,a=0,o=Object.keys(n);a<o.length;a++){var i=o[a];if(i.startsWith("_")&&(i.endsWith("_rowspan")||i.endsWith("_colspan")))return!0}}catch(e){r.e(e)}finally{r.f()}return!1},deepCopy:function(e){return void 0===e?e:r.default.extend(!0,Array.isArray(e)?[]:{},e)},debounce:function(e,t,r){var n;return function(){var a=this,o=arguments,i=r&&!n;clearTimeout(n),n=setTimeout(function(){n=null,r||e.apply(a,o)},t),i&&e.apply(a,o)}}},Ss=ws.getBootstrapVersion(),xs={3:{classes:{buttonsPrefix:"btn",buttons:"default",buttonsGroup:"btn-group",buttonsDropdown:"btn-group",pull:"pull",inputGroup:"input-group",inputPrefix:"input-",input:"form-control",select:"form-control",paginationDropdown:"btn-group dropdown",dropup:"dropup",dropdownActive:"active",paginationActive:"active",buttonActive:"active"},html:{toolbarDropdown:['<ul class="dropdown-menu" role="menu">',"</ul>"],toolbarDropdownItem:'<li class="dropdown-item-marker" role="menuitem"><label>%s</label></li>',toolbarDropdownSeparator:'<li class="divider"></li>',pageDropdown:['<ul class="dropdown-menu" role="menu">',"</ul>"],pageDropdownItem:'<li role="menuitem" class="%s"><a href="#">%s</a></li>',dropdownCaret:'<span class="caret"></span>',pagination:['<ul class="pagination%s">',"</ul>"],paginationItem:'<li class="page-item%s"><a class="page-link" aria-label="%s" href="javascript:void(0)">%s</a></li>',icon:'<i class="%s %s"></i>',inputGroup:'<div class="input-group">%s<span class="input-group-btn">%s</span></div>',searchInput:'<input class="%s%s" type="text" placeholder="%s">',searchButton:'<button class="%s" type="button" name="search" title="%s">%s %s</button>',searchClearButton:'<button class="%s" type="button" name="clearSearch" title="%s">%s %s</button>'}},4:{classes:{buttonsPrefix:"btn",buttons:"secondary",buttonsGroup:"btn-group",buttonsDropdown:"btn-group",pull:"float",inputGroup:"btn-group",inputPrefix:"form-control-",input:"form-control",select:"form-control",paginationDropdown:"btn-group dropdown",dropup:"dropup",dropdownActive:"active",paginationActive:"active",buttonActive:"active"},html:{toolbarDropdown:['<div class="dropdown-menu dropdown-menu-right">',"</div>"],toolbarDropdownItem:'<label class="dropdown-item dropdown-item-marker">%s</label>',pageDropdown:['<div class="dropdown-menu">',"</div>"],pageDropdownItem:'<a class="dropdown-item %s" href="#">%s</a>',toolbarDropdownSeparator:'<div class="dropdown-divider"></div>',dropdownCaret:'<span class="caret"></span>',pagination:['<ul class="pagination%s">',"</ul>"],paginationItem:'<li class="page-item%s"><a class="page-link" aria-label="%s" href="javascript:void(0)">%s</a></li>',icon:'<i class="%s %s"></i>',inputGroup:'<div class="input-group">%s<div class="input-group-append">%s</div></div>',searchInput:'<input class="%s%s" type="text" placeholder="%s">',searchButton:'<button class="%s" type="button" name="search" title="%s">%s %s</button>',searchClearButton:'<button class="%s" type="button" name="clearSearch" title="%s">%s %s</button>'}},5:{classes:{buttonsPrefix:"btn",buttons:"secondary",buttonsGroup:"btn-group",buttonsDropdown:"btn-group",pull:"float",inputGroup:"btn-group",inputPrefix:"form-control-",input:"form-control",select:"form-select",paginationDropdown:"btn-group dropdown",dropup:"dropup",dropdownActive:"active",paginationActive:"active",buttonActive:"active"},html:{dataToggle:"data-bs-toggle",toolbarDropdown:['<div class="dropdown-menu dropdown-menu-right">',"</div>"],toolbarDropdownItem:'<label class="dropdown-item dropdown-item-marker">%s</label>',pageDropdown:['<div class="dropdown-menu">',"</div>"],pageDropdownItem:'<a class="dropdown-item %s" href="#">%s</a>',toolbarDropdownSeparator:'<div class="dropdown-divider"></div>',dropdownCaret:'<span class="caret"></span>',pagination:['<ul class="pagination%s">',"</ul>"],paginationItem:'<li class="page-item%s"><a class="page-link" aria-label="%s" href="javascript:void(0)">%s</a></li>',icon:'<i class="%s %s"></i>',inputGroup:'<div class="input-group">%s%s</div>',searchInput:'<input class="%s%s" type="text" placeholder="%s">',searchButton:'<button class="%s" type="button" name="search" title="%s">%s %s</button>',searchClearButton:'<button class="%s" type="button" name="clearSearch" title="%s">%s %s</button>'}}}[Ss],ks={height:void 0,classes:"table table-bordered table-hover",buttons:{},theadClasses:"",headerStyle:function(e){return{}},rowStyle:function(e,t){return{}},rowAttributes:function(e,t){return{}},undefinedText:"-",locale:void 0,virtualScroll:!1,virtualScrollItemHeight:void 0,sortable:!0,sortClass:void 0,silentSort:!0,sortName:void 0,sortOrder:void 0,sortReset:!1,sortStable:!1,rememberOrder:!1,serverSort:!0,customSort:void 0,columns:[[]],data:[],url:void 0,method:"get",cache:!0,contentType:"application/json",dataType:"json",ajax:void 0,ajaxOptions:{},queryParams:function(e){return e},queryParamsType:"limit",responseHandler:function(e){return e},totalField:"total",totalNotFilteredField:"totalNotFiltered",dataField:"rows",footerField:"footer",pagination:!1,paginationParts:["pageInfo","pageSize","pageList"],showExtendedPagination:!1,paginationLoop:!0,sidePagination:"client",totalRows:0,totalNotFiltered:0,pageNumber:1,pageSize:10,pageList:[10,25,50,100],paginationHAlign:"right",paginationVAlign:"bottom",paginationDetailHAlign:"left",paginationPreText:"‹",paginationNextText:"›",paginationSuccessivelySize:5,paginationPagesBySide:1,paginationUseIntermediate:!1,search:!1,searchHighlight:!1,searchOnEnterKey:!1,strictSearch:!1,regexSearch:!1,searchSelector:!1,visibleSearch:!1,showButtonIcons:!0,showButtonText:!1,showSearchButton:!1,showSearchClearButton:!1,trimOnSearch:!0,searchAlign:"right",searchTimeOut:500,searchText:"",customSearch:void 0,showHeader:!0,showFooter:!1,footerStyle:function(e){return{}},searchAccentNeutralise:!1,showColumns:!1,showColumnsToggleAll:!1,showColumnsSearch:!1,minimumCountColumns:1,showPaginationSwitch:!1,showRefresh:!1,showToggle:!1,showFullscreen:!1,smartDisplay:!0,escape:!1,filterOptions:{filterAlgorithm:"and"},idField:void 0,selectItemName:"btSelectItem",clickToSelect:!1,ignoreClickToSelectOn:function(e){var t=e.tagName;return["A","BUTTON"].includes(t)},singleSelect:!1,checkboxHeader:!0,maintainMetaData:!1,multipleSelectRow:!1,uniqueId:void 0,cardView:!1,detailView:!1,detailViewIcon:!0,detailViewByClick:!1,detailViewAlign:"left",detailFormatter:function(e,t){return""},detailFilter:function(e,t){return!0},toolbar:void 0,toolbarAlign:"left",buttonsToolbar:void 0,buttonsAlign:"right",buttonsOrder:["paginationSwitch","refresh","toggle","fullscreen","columns"],buttonsPrefix:xs.classes.buttonsPrefix,buttonsClass:xs.classes.buttons,iconsPrefix:void 0,icons:{},iconSize:void 0,loadingFontSize:"auto",loadingTemplate:function(e){return'<span class="loading-wrap">\n <span class="loading-text">'.concat(e,'</span>\n <span class="animation-wrap"><span class="animation-dot"></span></span>\n </span>\n ')},onAll:function(e,t){return!1},onClickCell:function(e,t,r,n){return!1},onDblClickCell:function(e,t,r,n){return!1},onClickRow:function(e,t){return!1},onDblClickRow:function(e,t){return!1},onSort:function(e,t){return!1},onCheck:function(e){return!1},onUncheck:function(e){return!1},onCheckAll:function(e){return!1},onUncheckAll:function(e){return!1},onCheckSome:function(e){return!1},onUncheckSome:function(e){return!1},onLoadSuccess:function(e){return!1},onLoadError:function(e){return!1},onColumnSwitch:function(e,t){return!1},onColumnSwitchAll:function(e){return!1},onPageChange:function(e,t){return!1},onSearch:function(e){return!1},onToggle:function(e){return!1},onPreBody:function(e){return!1},onPostBody:function(){return!1},onPostHeader:function(){return!1},onPostFooter:function(){return!1},onExpandRow:function(e,t,r){return!1},onCollapseRow:function(e,t){return!1},onRefreshOptions:function(e){return!1},onRefresh:function(e){return!1},onResetView:function(){return!1},onScrollBody:function(){return!1},onTogglePagination:function(e){return!1},onVirtualScroll:function(e,t){return!1}},As={formatLoadingMessage:function(){return"Loading, please wait"},formatRecordsPerPage:function(e){return"".concat(e," rows per page")},formatShowingRows:function(e,t,r,n){return void 0!==n&&n>0&&n>r?"Showing ".concat(e," to ").concat(t," of ").concat(r," rows (filtered from ").concat(n," total rows)"):"Showing ".concat(e," to ").concat(t," of ").concat(r," rows")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(e){return"to page ".concat(e)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(e){return"Showing ".concat(e," rows")},formatSearch:function(){return"Search"},formatClearSearch:function(){return"Clear Search"},formatNoMatches:function(){return"No matching records found"},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Refresh"},formatToggle:function(){return"Toggle"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Columns"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"All"}},Ts={field:void 0,title:void 0,titleTooltip:void 0,class:void 0,width:void 0,widthUnit:"px",rowspan:void 0,colspan:void 0,align:void 0,halign:void 0,falign:void 0,valign:void 0,cellStyle:void 0,radio:!1,checkbox:!1,checkboxEnabled:!0,clickToSelect:!0,showSelectTitle:!1,sortable:!1,sortName:void 0,order:"asc",sorter:void 0,visible:!0,switchable:!0,cardVisible:!0,searchable:!0,formatter:void 0,footerFormatter:void 0,detailFormatter:void 0,searchFormatter:!0,searchHighlightFormatter:!1,escape:void 0,events:void 0};Object.assign(ks,As);var Es={VERSION:"1.20.0",THEME:"bootstrap".concat(Ss),CONSTANTS:xs,DEFAULTS:ks,COLUMN_DEFAULTS:Ts,METHODS:["getOptions","refreshOptions","getData","getSelections","load","append","prepend","remove","removeAll","insertRow","updateRow","getRowByUniqueId","updateByUniqueId","removeByUniqueId","updateCell","updateCellByUniqueId","showRow","hideRow","getHiddenRows","showColumn","hideColumn","getVisibleColumns","getHiddenColumns","showAllColumns","hideAllColumns","mergeCells","checkAll","uncheckAll","checkInvert","check","uncheck","checkBy","uncheckBy","refresh","destroy","resetView","showLoading","hideLoading","togglePagination","toggleFullscreen","toggleView","resetSearch","filterBy","scrollTo","getScrollPosition","selectPage","prevPage","nextPage","toggleDetailView","expandRow","collapseRow","expandRowByUniqueId","collapseRowByUniqueId","expandAllRows","collapseAllRows","updateColumnTitle","updateFormatText"],EVENTS:{"all.bs.table":"onAll","click-row.bs.table":"onClickRow","dbl-click-row.bs.table":"onDblClickRow","click-cell.bs.table":"onClickCell","dbl-click-cell.bs.table":"onDblClickCell","sort.bs.table":"onSort","check.bs.table":"onCheck","uncheck.bs.table":"onUncheck","check-all.bs.table":"onCheckAll","uncheck-all.bs.table":"onUncheckAll","check-some.bs.table":"onCheckSome","uncheck-some.bs.table":"onUncheckSome","load-success.bs.table":"onLoadSuccess","load-error.bs.table":"onLoadError","column-switch.bs.table":"onColumnSwitch","column-switch-all.bs.table":"onColumnSwitchAll","page-change.bs.table":"onPageChange","search.bs.table":"onSearch","toggle.bs.table":"onToggle","pre-body.bs.table":"onPreBody","post-body.bs.table":"onPostBody","post-header.bs.table":"onPostHeader","post-footer.bs.table":"onPostFooter","expand-row.bs.table":"onExpandRow","collapse-row.bs.table":"onCollapseRow","refresh-options.bs.table":"onRefreshOptions","reset-view.bs.table":"onResetView","refresh.bs.table":"onRefresh","scroll-body.bs.table":"onScrollBody","toggle-pagination.bs.table":"onTogglePagination","virtual-scroll.bs.table":"onVirtualScroll"},LOCALES:{en:As,"en-US":As}},_s=function(){function e(t){var r=this;a(this,e),this.rows=t.rows,this.scrollEl=t.scrollEl,this.contentEl=t.contentEl,this.callback=t.callback,this.itemHeight=t.itemHeight,this.cache={},this.scrollTop=this.scrollEl.scrollTop,this.initDOM(this.rows,t.fixedScroll),this.scrollEl.scrollTop=this.scrollTop,this.lastCluster=0;var n=function(){r.lastCluster!==(r.lastCluster=r.getNum())&&(r.initDOM(r.rows),r.callback(r.startIndex,r.endIndex))};this.scrollEl.addEventListener("scroll",n,!1),this.destroy=function(){r.contentEl.innerHtml="",r.scrollEl.removeEventListener("scroll",n,!1)}}return i(e,[{key:"initDOM",value:function(e,t){void 0===this.clusterHeight&&(this.cache.scrollTop=this.scrollEl.scrollTop,this.cache.data=this.contentEl.innerHTML=e[0]+e[0]+e[0],this.getRowsHeight(e));var r=this.initData(e,this.getNum(t)),n=r.rows.join(""),a=this.checkChanges("data",n),o=this.checkChanges("top",r.topOffset),i=this.checkChanges("bottom",r.bottomOffset),s=[];a&&o?(r.topOffset&&s.push(this.getExtra("top",r.topOffset)),s.push(n),r.bottomOffset&&s.push(this.getExtra("bottom",r.bottomOffset)),this.startIndex=r.start,this.endIndex=r.end,this.contentEl.innerHTML=s.join(""),t&&(this.contentEl.scrollTop=this.cache.scrollTop)):i&&(this.contentEl.lastChild.style.height="".concat(r.bottomOffset,"px"))}},{key:"getRowsHeight",value:function(){if(void 0===this.itemHeight){var e=this.contentEl.children,t=e[Math.floor(e.length/2)];this.itemHeight=t.offsetHeight}this.blockHeight=50*this.itemHeight,this.clusterRows=200,this.clusterHeight=4*this.blockHeight}},{key:"getNum",value:function(e){return this.scrollTop=e?this.cache.scrollTop:this.scrollEl.scrollTop,Math.floor(this.scrollTop/(this.clusterHeight-this.blockHeight))||0}},{key:"initData",value:function(e,t){if(e.length<50)return{topOffset:0,bottomOffset:0,rowsAbove:0,rows:e};var r=Math.max((this.clusterRows-50)*t,0),n=r+this.clusterRows,a=Math.max(r*this.itemHeight,0),o=Math.max((e.length-n)*this.itemHeight,0),i=[],s=r;a<1&&s++;for(var c=r;c<n;c++)e[c]&&i.push(e[c]);return{start:r,end:n,topOffset:a,bottomOffset:o,rowsAbove:s,rows:i}}},{key:"checkChanges",value:function(e,t){var r=t!==this.cache[e];return this.cache[e]=t,r}},{key:"getExtra",value:function(e,t){var r=document.createElement("tr");return r.className="virtual-scroll-".concat(e),t&&(r.style.height="".concat(t,"px")),r.outerHTML}}]),e}(),Ns=function(){function e(t,n){a(this,e),this.options=n,this.$el=r.default(t),this.$el_=this.$el.clone(),this.timeoutId_=0,this.timeoutFooter_=0}return i(e,[{key:"init",value:function(){this.initConstants(),this.initLocale(),this.initContainer(),this.initTable(),this.initHeader(),this.initData(),this.initHiddenRows(),this.initToolbar(),this.initPagination(),this.initBody(),this.initSearchText(),this.initServer()}},{key:"initConstants",value:function(){var e=this.options;this.constants=Es.CONSTANTS,this.constants.theme=r.default.fn.bootstrapTable.theme,this.constants.dataToggle=this.constants.html.dataToggle||"data-toggle";var t=ws.getIconsPrefix(r.default.fn.bootstrapTable.theme),a=ws.getIcons(t);e.iconsPrefix=e.iconsPrefix||r.default.fn.bootstrapTable.defaults.iconsPrefix||t,e.icons=Object.assign(a,r.default.fn.bootstrapTable.defaults.icons,e.icons);var o=e.buttonsPrefix?"".concat(e.buttonsPrefix,"-"):"";this.constants.buttonsClass=[e.buttonsPrefix,o+e.buttonsClass,ws.sprintf("".concat(o,"%s"),e.iconSize)].join(" ").trim(),this.buttons=ws.calculateObjectValue(this,e.buttons,[],{}),"object"!==n(this.buttons)&&(this.buttons={}),"string"==typeof e.icons&&(e.icons=ws.calculateObjectValue(null,e.icons))}},{key:"initLocale",value:function(){if(this.options.locale){var t=r.default.fn.bootstrapTable.locales,n=this.options.locale.split(/-|_/);n[0]=n[0].toLowerCase(),n[1]&&(n[1]=n[1].toUpperCase());var a={};t[this.options.locale]?a=t[this.options.locale]:t[n.join("-")]?a=t[n.join("-")]:t[n[0]]&&(a=t[n[0]]);for(var o=0,i=Object.entries(a);o<i.length;o++){var c=s(i[o],2),l=c[0],u=c[1];this.options[l]===e.DEFAULTS[l]&&(this.options[l]=u)}}}},{key:"initContainer",value:function(){var e=["top","both"].includes(this.options.paginationVAlign)?'<div class="fixed-table-pagination clearfix"></div>':"",t=["bottom","both"].includes(this.options.paginationVAlign)?'<div class="fixed-table-pagination"></div>':"",n=ws.calculateObjectValue(this.options,this.options.loadingTemplate,[this.options.formatLoadingMessage()]);this.$container=r.default('\n <div class="bootstrap-table '.concat(this.constants.theme,'">\n <div class="fixed-table-toolbar"></div>\n ').concat(e,'\n <div class="fixed-table-container">\n <div class="fixed-table-header"><table></table></div>\n <div class="fixed-table-body">\n <div class="fixed-table-loading">\n ').concat(n,'\n </div>\n </div>\n <div class="fixed-table-footer"></div>\n </div>\n ').concat(t,"\n </div>\n ")),this.$container.insertAfter(this.$el),this.$tableContainer=this.$container.find(".fixed-table-container"),this.$tableHeader=this.$container.find(".fixed-table-header"),this.$tableBody=this.$container.find(".fixed-table-body"),this.$tableLoading=this.$container.find(".fixed-table-loading"),this.$tableFooter=this.$el.find("tfoot"),this.options.buttonsToolbar?this.$toolbar=r.default("body").find(this.options.buttonsToolbar):this.$toolbar=this.$container.find(".fixed-table-toolbar"),this.$pagination=this.$container.find(".fixed-table-pagination"),this.$tableBody.append(this.$el),this.$container.after('<div class="clearfix"></div>'),this.$el.addClass(this.options.classes),this.$tableLoading.addClass(this.options.classes),this.options.height&&(this.$tableContainer.addClass("fixed-height"),this.options.showFooter&&this.$tableContainer.addClass("has-footer"),this.options.classes.split(" ").includes("table-bordered")&&(this.$tableBody.append('<div class="fixed-table-border"></div>'),this.$tableBorder=this.$tableBody.find(".fixed-table-border"),this.$tableLoading.addClass("fixed-table-border")),this.$tableFooter=this.$container.find(".fixed-table-footer"))}},{key:"initTable",value:function(){var t=this,n=[];if(this.$header=this.$el.find(">thead"),this.$header.length?this.options.theadClasses&&this.$header.addClass(this.options.theadClasses):this.$header=r.default('<thead class="'.concat(this.options.theadClasses,'"></thead>')).appendTo(this.$el),this._headerTrClasses=[],this._headerTrStyles=[],this.$header.find("tr").each(function(e,a){var o=r.default(a),i=[];o.find("th").each(function(e,t){var n=r.default(t);void 0!==n.data("field")&&n.data("field","".concat(n.data("field"))),i.push(r.default.extend({},{title:n.html(),class:n.attr("class"),titleTooltip:n.attr("title"),rowspan:n.attr("rowspan")?+n.attr("rowspan"):void 0,colspan:n.attr("colspan")?+n.attr("colspan"):void 0},n.data()))}),n.push(i),o.attr("class")&&t._headerTrClasses.push(o.attr("class")),o.attr("style")&&t._headerTrStyles.push(o.attr("style"))}),Array.isArray(this.options.columns[0])||(this.options.columns=[this.options.columns]),this.options.columns=r.default.extend(!0,[],n,this.options.columns),this.columns=[],this.fieldsColumnsIndex=[],ws.setFieldIndex(this.options.columns),this.options.columns.forEach(function(n,a){n.forEach(function(n,o){var i=r.default.extend({},e.COLUMN_DEFAULTS,n);void 0!==i.fieldIndex&&(t.columns[i.fieldIndex]=i,t.fieldsColumnsIndex[i.field]=i.fieldIndex),t.options.columns[a][o]=i})}),!this.options.data.length){var a=ws.trToData(this.columns,this.$el.find(">tbody>tr"));a.length&&(this.options.data=a,this.fromHtml=!0)}this.options.pagination&&"server"!==this.options.sidePagination||(this.footerData=ws.trToData(this.columns,this.$el.find(">tfoot>tr"))),this.footerData&&this.$el.find("tfoot").html("<tr></tr>"),!this.options.showFooter||this.options.cardView?this.$tableFooter.hide():this.$tableFooter.show()}},{key:"initHeader",value:function(){var e=this,t={},n=[];this.header={fields:[],styles:[],classes:[],formatters:[],detailFormatters:[],events:[],sorters:[],sortNames:[],cellStyles:[],searchables:[]},ws.updateFieldGroup(this.options.columns),this.options.columns.forEach(function(r,a){var o=[];o.push("<tr".concat(ws.sprintf(' class="%s"',e._headerTrClasses[a])," ").concat(ws.sprintf(' style="%s"',e._headerTrStyles[a]),">"));var i="";if(0===a&&ws.hasDetailViewIcon(e.options)){var c=e.options.columns.length>1?' rowspan="'.concat(e.options.columns.length,'"'):"";i='<th class="detail"'.concat(c,'>\n <div class="fht-cell"></div>\n </th>')}i&&"right"!==e.options.detailViewAlign&&o.push(i),r.forEach(function(r,n){var i=ws.sprintf(' class="%s"',r.class),c=r.widthUnit,l=parseFloat(r.width),u=ws.sprintf("text-align: %s; ",r.halign?r.halign:r.align),f=ws.sprintf("text-align: %s; ",r.align),h=ws.sprintf("vertical-align: %s; ",r.valign);if(h+=ws.sprintf("width: %s; ",!r.checkbox&&!r.radio||l?l?l+c:void 0:r.showSelectTitle?void 0:"36px"),void 0!==r.fieldIndex||r.visible){var d=ws.calculateObjectValue(null,e.options.headerStyle,[r]),p=[],g="";if(d&&d.css)for(var m=0,v=Object.entries(d.css);m<v.length;m++){var b=s(v[m],2),y=b[0],w=b[1];p.push("".concat(y,": ").concat(w))}if(d&&d.classes&&(g=ws.sprintf(' class="%s"',r.class?[r.class,d.classes].join(" "):d.classes)),void 0!==r.fieldIndex){if(e.header.fields[r.fieldIndex]=r.field,e.header.styles[r.fieldIndex]=f+h,e.header.classes[r.fieldIndex]=i,e.header.formatters[r.fieldIndex]=r.formatter,e.header.detailFormatters[r.fieldIndex]=r.detailFormatter,e.header.events[r.fieldIndex]=r.events,e.header.sorters[r.fieldIndex]=r.sorter,e.header.sortNames[r.fieldIndex]=r.sortName,e.header.cellStyles[r.fieldIndex]=r.cellStyle,e.header.searchables[r.fieldIndex]=r.searchable,!r.visible)return;if(e.options.cardView&&!r.cardVisible)return;t[r.field]=r}o.push("<th".concat(ws.sprintf(' title="%s"',r.titleTooltip)),r.checkbox||r.radio?ws.sprintf(' class="bs-checkbox %s"',r.class||""):g||i,ws.sprintf(' style="%s"',u+h+p.join("; ")),ws.sprintf(' rowspan="%s"',r.rowspan),ws.sprintf(' colspan="%s"',r.colspan),ws.sprintf(' data-field="%s"',r.field),0===n&&a>0?" data-not-first-th":"",">"),o.push(ws.sprintf('<div class="th-inner %s">',e.options.sortable&&r.sortable?"sortable both":""));var S=e.options.escape?ws.escapeHTML(r.title):r.title,x=S;r.checkbox&&(S="",!e.options.singleSelect&&e.options.checkboxHeader&&(S='<label><input name="btSelectAll" type="checkbox" /><span></span></label>'),e.header.stateField=r.field),r.radio&&(S="",e.header.stateField=r.field),!S&&r.showSelectTitle&&(S+=x),o.push(S),o.push("</div>"),o.push('<div class="fht-cell"></div>'),o.push("</div>"),o.push("</th>")}}),i&&"right"===e.options.detailViewAlign&&o.push(i),o.push("</tr>"),o.length>3&&n.push(o.join(""))}),this.$header.html(n.join("")),this.$header.find("th[data-field]").each(function(e,n){r.default(n).data(t[r.default(n).data("field")])}),this.$container.off("click",".th-inner").on("click",".th-inner",function(t){var n=r.default(t.currentTarget);if(e.options.detailView&&!n.parent().hasClass("bs-checkbox")&&n.closest(".bootstrap-table")[0]!==e.$container[0])return!1;e.options.sortable&&n.parent().data().sortable&&e.onSort(t)});var a=ws.getEventName("resize.bootstrap-table",this.$el.attr("id"));r.default(window).off(a),!this.options.showHeader||this.options.cardView?(this.$header.hide(),this.$tableHeader.hide(),this.$tableLoading.css("top",0)):(this.$header.show(),this.$tableHeader.show(),this.$tableLoading.css("top",this.$header.outerHeight()+1),this.getCaret(),r.default(window).on(a,function(){return e.resetView()})),this.$selectAll=this.$header.find('[name="btSelectAll"]'),this.$selectAll.off("click").on("click",function(t){t.stopPropagation();var n=r.default(t.currentTarget).prop("checked");e[n?"checkAll":"uncheckAll"](),e.updateSelected()})}},{key:"initData",value:function(e,t){"append"===t?this.options.data=this.options.data.concat(e):"prepend"===t?this.options.data=[].concat(e).concat(this.options.data):(e=e||ws.deepCopy(this.options.data),this.options.data=Array.isArray(e)?e:e[this.options.dataField]),this.data=c(this.options.data),this.options.sortReset&&(this.unsortedData=c(this.data)),"server"!==this.options.sidePagination&&this.initSort()}},{key:"initSort",value:function(){var e=this,t=this.options.sortName,r="desc"===this.options.sortOrder?-1:1,n=this.header.fields.indexOf(this.options.sortName),a=0;-1!==n?(this.options.sortStable&&this.data.forEach(function(e,t){e.hasOwnProperty("_position")||(e._position=t)}),this.options.customSort?ws.calculateObjectValue(this.options,this.options.customSort,[this.options.sortName,this.options.sortOrder,this.data]):this.data.sort(function(a,o){e.header.sortNames[n]&&(t=e.header.sortNames[n]);var i=ws.getItemField(a,t,e.options.escape),s=ws.getItemField(o,t,e.options.escape),c=ws.calculateObjectValue(e.header,e.header.sorters[n],[i,s,a,o]);return void 0!==c?e.options.sortStable&&0===c?r*(a._position-o._position):r*c:ws.sort(i,s,r,e.options.sortStable,a._position,o._position)}),void 0!==this.options.sortClass&&(clearTimeout(a),a=setTimeout(function(){e.$el.removeClass(e.options.sortClass);var t=e.$header.find('[data-field="'.concat(e.options.sortName,'"]')).index();e.$el.find("tr td:nth-child(".concat(t+1,")")).addClass(e.options.sortClass)},250))):this.options.sortReset&&(this.data=c(this.unsortedData))}},{key:"onSort",value:function(e){var t=e.type,n=e.currentTarget,a="keypress"===t?r.default(n):r.default(n).parent(),o=this.$header.find("th").eq(a.index());if(this.$header.add(this.$header_).find("span.order").remove(),this.options.sortName===a.data("field")){var i=this.options.sortOrder;void 0===i?this.options.sortOrder="asc":"asc"===i?this.options.sortOrder="desc":"desc"===this.options.sortOrder&&(this.options.sortOrder=this.options.sortReset?void 0:"asc"),void 0===this.options.sortOrder&&(this.options.sortName=void 0)}else this.options.sortName=a.data("field"),this.options.rememberOrder?this.options.sortOrder="asc"===a.data("order")?"desc":"asc":this.options.sortOrder=this.columns[this.fieldsColumnsIndex[a.data("field")]].sortOrder||this.columns[this.fieldsColumnsIndex[a.data("field")]].order;if(this.trigger("sort",this.options.sortName,this.options.sortOrder),a.add(o).data("order",this.options.sortOrder),this.getCaret(),"server"===this.options.sidePagination&&this.options.serverSort)return this.options.pageNumber=1,void this.initServer(this.options.silentSort);this.initSort(),this.initBody()}},{key:"initToolbar",value:function(){var e,t=this,a=this.options,o=[],i=0,c=0;this.$toolbar.find(".bs-bars").children().length&&r.default("body").append(r.default(a.toolbar)),this.$toolbar.html(""),"string"!=typeof a.toolbar&&"object"!==n(a.toolbar)||r.default(ws.sprintf('<div class="bs-bars %s-%s"></div>',this.constants.classes.pull,a.toolbarAlign)).appendTo(this.$toolbar).append(r.default(a.toolbar)),o=['<div class="'.concat(["columns","columns-".concat(a.buttonsAlign),this.constants.classes.buttonsGroup,"".concat(this.constants.classes.pull,"-").concat(a.buttonsAlign)].join(" "),'">')],"string"==typeof a.buttonsOrder&&(a.buttonsOrder=a.buttonsOrder.replace(/\[|\]| |'/g,"").split(",")),this.buttons=Object.assign(this.buttons,{paginationSwitch:{text:a.pagination?a.formatPaginationSwitchUp():a.formatPaginationSwitchDown(),icon:a.pagination?a.icons.paginationSwitchDown:a.icons.paginationSwitchUp,render:!1,event:this.togglePagination,attributes:{"aria-label":a.formatPaginationSwitch(),title:a.formatPaginationSwitch()}},refresh:{text:a.formatRefresh(),icon:a.icons.refresh,render:!1,event:this.refresh,attributes:{"aria-label":a.formatRefresh(),title:a.formatRefresh()}},toggle:{text:a.formatToggle(),icon:a.icons.toggleOff,render:!1,event:this.toggleView,attributes:{"aria-label":a.formatToggleOn(),title:a.formatToggleOn()}},fullscreen:{text:a.formatFullscreen(),icon:a.icons.fullscreen,render:!1,event:this.toggleFullscreen,attributes:{"aria-label":a.formatFullscreen(),title:a.formatFullscreen()}},columns:{render:!1,html:function(){var e=[];if(e.push('<div class="keep-open '.concat(t.constants.classes.buttonsDropdown,'" title="').concat(a.formatColumns(),'">\n <button class="').concat(t.constants.buttonsClass,' dropdown-toggle" type="button" ').concat(t.constants.dataToggle,'="dropdown"\n aria-label="Columns" title="').concat(a.formatColumns(),'">\n ').concat(a.showButtonIcons?ws.sprintf(t.constants.html.icon,a.iconsPrefix,a.icons.columns):"","\n ").concat(a.showButtonText?a.formatColumns():"","\n ").concat(t.constants.html.dropdownCaret,"\n </button>\n ").concat(t.constants.html.toolbarDropdown[0])),a.showColumnsSearch&&(e.push(ws.sprintf(t.constants.html.toolbarDropdownItem,ws.sprintf('<input type="text" class="%s" name="columnsSearch" placeholder="%s" autocomplete="off">',t.constants.classes.input,a.formatSearch()))),e.push(t.constants.html.toolbarDropdownSeparator)),a.showColumnsToggleAll){var r=t.getVisibleColumns().length===t.columns.filter(function(e){return!t.isSelectionColumn(e)}).length;e.push(ws.sprintf(t.constants.html.toolbarDropdownItem,ws.sprintf('<input type="checkbox" class="toggle-all" %s> <span>%s</span>',r?'checked="checked"':"",a.formatColumnsToggleAll()))),e.push(t.constants.html.toolbarDropdownSeparator)}var n=0;return t.columns.forEach(function(e){e.visible&&n++}),t.columns.forEach(function(r,o){if(!t.isSelectionColumn(r)&&(!a.cardView||r.cardVisible)){var i=r.visible?' checked="checked"':"",s=n<=a.minimumCountColumns&&i?' disabled="disabled"':"";r.switchable&&(e.push(ws.sprintf(t.constants.html.toolbarDropdownItem,ws.sprintf('<input type="checkbox" data-field="%s" value="%s"%s%s> <span>%s</span>',r.field,o,i,s,r.title))),c++)}}),e.push(t.constants.html.toolbarDropdown[1],"</div>"),e.join("")}}});for(var l={},u=0,h=Object.entries(this.buttons);u<h.length;u++){var d=s(h[u],2),p=d[0],g=d[1],m=void 0;if(g.hasOwnProperty("html"))"function"==typeof g.html?m=g.html():"string"==typeof g.html&&(m=g.html);else{if(m='<button class="'.concat(this.constants.buttonsClass,'" type="button" name="').concat(p,'"'),g.hasOwnProperty("attributes"))for(var v=0,b=Object.entries(g.attributes);v<b.length;v++){var y=s(b[v],2),w=y[0],S=y[1];m+=" ".concat(w,'="').concat(S,'"')}m+=">",a.showButtonIcons&&g.hasOwnProperty("icon")&&(m+="".concat(ws.sprintf(this.constants.html.icon,a.iconsPrefix,g.icon)," ")),a.showButtonText&&g.hasOwnProperty("text")&&(m+=g.text),m+="</button>"}l[p]=m;var x="show".concat(p.charAt(0).toUpperCase()).concat(p.substring(1)),k=a[x];!(!g.hasOwnProperty("render")||g.hasOwnProperty("render")&&g.render)||void 0!==k&&!0!==k||(a[x]=!0),a.buttonsOrder.includes(p)||a.buttonsOrder.push(p)}var A,T=f(a.buttonsOrder);try{for(T.s();!(A=T.n()).done;){var E=A.value;a["show".concat(E.charAt(0).toUpperCase()).concat(E.substring(1))]&&o.push(l[E])}}catch(e){T.e(e)}finally{T.f()}o.push("</div>"),(this.showToolbar||o.length>2)&&this.$toolbar.append(o.join(""));for(var _=0,N=Object.entries(this.buttons);_<N.length;_++){var C=s(N[_],2),R=C[0],O=C[1];if(O.hasOwnProperty("event")){if("function"==typeof O.event||"string"==typeof O.event)if("continue"===function(){var e="string"==typeof O.event?window[O.event]:O.event;return t.$toolbar.find('button[name="'.concat(R,'"]')).off("click").on("click",function(){return e.call(t)}),"continue"}())continue;for(var L=function(){var e=s(I[P],2),r=e[0],n=e[1],a="string"==typeof n?window[n]:n;t.$toolbar.find('button[name="'.concat(R,'"]')).off(r).on(r,function(){return a.call(t)})},P=0,I=Object.entries(O.event);P<I.length;P++)L()}}if(a.showColumns){var F=(e=this.$toolbar.find(".keep-open")).find('input[type="checkbox"]:not(".toggle-all")'),D=e.find('input[type="checkbox"].toggle-all');if(c<=a.minimumCountColumns&&e.find("input").prop("disabled",!0),e.find("li, label").off("click").on("click",function(e){e.stopImmediatePropagation()}),F.off("click").on("click",function(e){var n=e.currentTarget,a=r.default(n);t._toggleColumn(a.val(),a.prop("checked"),!1),t.trigger("column-switch",a.data("field"),a.prop("checked")),D.prop("checked",F.filter(":checked").length===t.columns.filter(function(e){return!t.isSelectionColumn(e)}).length)}),D.off("click").on("click",function(e){var n=e.currentTarget;t._toggleAllColumns(r.default(n).prop("checked")),t.trigger("column-switch-all",r.default(n).prop("checked"))}),a.showColumnsSearch){var M=e.find('[name="columnsSearch"]'),j=e.find(".dropdown-item-marker");M.on("keyup paste change",function(e){var t=e.currentTarget,n=r.default(t).val().toLowerCase();j.show(),F.each(function(e,t){var a=r.default(t).parents(".dropdown-item-marker");a.text().toLowerCase().includes(n)||a.hide()})})}}var B=function(e){e.off("keyup drop blur mouseup").on("keyup drop blur mouseup",function(e){a.searchOnEnterKey&&13!==e.keyCode||[37,38,39,40].includes(e.keyCode)||(clearTimeout(i),i=setTimeout(function(){t.onSearch({currentTarget:e.currentTarget})},a.searchTimeOut))})};if((a.search||this.showSearchClearButton)&&"string"!=typeof a.searchSelector){o=[];var W=ws.sprintf(this.constants.html.searchButton,this.constants.buttonsClass,a.formatSearch(),a.showButtonIcons?ws.sprintf(this.constants.html.icon,a.iconsPrefix,a.icons.search):"",a.showButtonText?a.formatSearch():""),U=ws.sprintf(this.constants.html.searchClearButton,this.constants.buttonsClass,a.formatClearSearch(),a.showButtonIcons?ws.sprintf(this.constants.html.icon,a.iconsPrefix,a.icons.clearSearch):"",a.showButtonText?a.formatClearSearch():""),z='<input class="'.concat(this.constants.classes.input,"\n ").concat(ws.sprintf(" %s%s",this.constants.classes.inputPrefix,a.iconSize),'\n search-input" type="search" placeholder="').concat(a.formatSearch(),'" autocomplete="off">'),H=z;if(a.showSearchButton||a.showSearchClearButton){var V=(a.showSearchButton?W:"")+(a.showSearchClearButton?U:"");H=a.search?ws.sprintf(this.constants.html.inputGroup,z,V):V}o.push(ws.sprintf('\n <div class="'.concat(this.constants.classes.pull,"-").concat(a.searchAlign," search ").concat(this.constants.classes.inputGroup,'">\n %s\n </div>\n '),H)),this.$toolbar.append(o.join(""));var q=ws.getSearchInput(this);a.showSearchButton?(this.$toolbar.find(".search button[name=search]").off("click").on("click",function(){clearTimeout(i),i=setTimeout(function(){t.onSearch({currentTarget:q})},a.searchTimeOut)}),a.searchOnEnterKey&&B(q)):B(q),a.showSearchClearButton&&this.$toolbar.find(".search button[name=clearSearch]").click(function(){t.resetSearch()})}else if("string"==typeof a.searchSelector){B(ws.getSearchInput(this))}}},{key:"onSearch",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.currentTarget,n=e.firedByInitSearchText,a=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(void 0!==t&&r.default(t).length&&a){var o=r.default(t).val().trim();if(this.options.trimOnSearch&&r.default(t).val()!==o&&r.default(t).val(o),this.searchText===o)return;var i=ws.getSearchInput(this),s=t instanceof jQuery?t:r.default(t);(s.is(i)||s.hasClass("search-input"))&&(this.searchText=o,this.options.searchText=o)}n||this.options.cookie||(this.options.pageNumber=1),this.initSearch(),n?"client"===this.options.sidePagination&&this.updatePagination():this.updatePagination(),this.trigger("search",this.searchText)}},{key:"initSearch",value:function(){var e=this;if(this.filterOptions=this.filterOptions||this.options.filterOptions,"server"!==this.options.sidePagination){if(this.options.customSearch)return this.data=ws.calculateObjectValue(this.options,this.options.customSearch,[this.options.data,this.searchText,this.filterColumns]),void(this.options.sortReset&&(this.unsortedData=c(this.data)));var t=this.searchText&&(this.fromHtml?ws.escapeHTML(this.searchText):this.searchText),r=t?t.toLowerCase():"",n=ws.isEmptyObject(this.filterColumns)?null:this.filterColumns;this.options.searchAccentNeutralise&&(r=ws.normalizeAccent(r)),"function"==typeof this.filterOptions.filterAlgorithm?this.data=this.options.data.filter(function(t){return e.filterOptions.filterAlgorithm.apply(null,[t,n])}):"string"==typeof this.filterOptions.filterAlgorithm&&(this.data=n?this.options.data.filter(function(t){var r=e.filterOptions.filterAlgorithm;if("and"===r){for(var a in n)if(Array.isArray(n[a])&&!n[a].includes(t[a])||!Array.isArray(n[a])&&t[a]!==n[a])return!1}else if("or"===r){var o=!1;for(var i in n)(Array.isArray(n[i])&&n[i].includes(t[i])||!Array.isArray(n[i])&&t[i]===n[i])&&(o=!0);return o}return!0}):c(this.options.data));var a=this.getVisibleFields();this.data=r?this.data.filter(function(n,o){for(var i=0;i<e.header.fields.length;i++)if(e.header.searchables[i]&&(!e.options.visibleSearch||-1!==a.indexOf(e.header.fields[i]))){var s=ws.isNumeric(e.header.fields[i])?parseInt(e.header.fields[i],10):e.header.fields[i],c=e.columns[e.fieldsColumnsIndex[s]],l=void 0;if("string"==typeof s){l=n;for(var u=s.split("."),f=0;f<u.length;f++)null!==l[u[f]]&&(l=l[u[f]])}else l=n[s];if(e.options.searchAccentNeutralise&&(l=ws.normalizeAccent(l)),c&&c.searchFormatter&&(l=ws.calculateObjectValue(c,e.header.formatters[i],[l,n,o,c.field],l)),"string"==typeof l||"number"==typeof l){if(e.options.strictSearch&&"".concat(l).toLowerCase()===r||e.options.regexSearch&&ws.regexCompare(l,t))return!0;var h=/(?:(<=|=>|=<|>=|>|<)(?:\s+)?(-?\d+)?|(-?\d+)?(\s+)?(<=|=>|=<|>=|>|<))/gm.exec(e.searchText),d=!1;if(h){var p=h[1]||"".concat(h[5],"l"),g=h[2]||h[3],m=parseInt(l,10),v=parseInt(g,10);switch(p){case">":case"<l":d=m>v;break;case"<":case">l":d=m<v;break;case"<=":case"=<":case">=l":case"=>l":d=m<=v;break;case">=":case"=>":case"<=l":case"=<l":d=m>=v}}if(d||"".concat(l).toLowerCase().includes(r))return!0}}return!1}):this.data,this.options.sortReset&&(this.unsortedData=c(this.data)),this.initSort()}}},{key:"initPagination",value:function(){var e=this,t=this.options;if(t.pagination){this.$pagination.show();var r,n,a,o,i,s,c,l=[],u=!1,f=this.getData({includeHiddenRows:!1}),h=t.pageList;if("string"==typeof h&&(h=h.replace(/\[|\]| /g,"").toLowerCase().split(",")),h=h.map(function(e){return"string"==typeof e?e.toLowerCase()===t.formatAllRows().toLowerCase()||["all","unlimited"].includes(e.toLowerCase())?t.formatAllRows():+e:e}),this.paginationParts=t.paginationParts,"string"==typeof this.paginationParts&&(this.paginationParts=this.paginationParts.replace(/\[|\]| |'/g,"").split(",")),"server"!==t.sidePagination&&(t.totalRows=f.length),this.totalPages=0,t.totalRows&&(t.pageSize===t.formatAllRows()&&(t.pageSize=t.totalRows,u=!0),this.totalPages=1+~~((t.totalRows-1)/t.pageSize),t.totalPages=this.totalPages),this.totalPages>0&&t.pageNumber>this.totalPages&&(t.pageNumber=this.totalPages),this.pageFrom=(t.pageNumber-1)*t.pageSize+1,this.pageTo=t.pageNumber*t.pageSize,this.pageTo>t.totalRows&&(this.pageTo=t.totalRows),this.options.pagination&&"server"!==this.options.sidePagination&&(this.options.totalNotFiltered=this.options.data.length),this.options.showExtendedPagination||(this.options.totalNotFiltered=void 0),(this.paginationParts.includes("pageInfo")||this.paginationParts.includes("pageInfoShort")||this.paginationParts.includes("pageSize"))&&l.push('<div class="'.concat(this.constants.classes.pull,"-").concat(t.paginationDetailHAlign,' pagination-detail">')),this.paginationParts.includes("pageInfo")||this.paginationParts.includes("pageInfoShort")){var d=this.paginationParts.includes("pageInfoShort")?t.formatDetailPagination(t.totalRows):t.formatShowingRows(this.pageFrom,this.pageTo,t.totalRows,t.totalNotFiltered);l.push('<span class="pagination-info">\n '.concat(d,"\n </span>"))}if(this.paginationParts.includes("pageSize")){l.push('<div class="page-list">');var p=['<div class="'.concat(this.constants.classes.paginationDropdown,'">\n <button class="').concat(this.constants.buttonsClass,' dropdown-toggle" type="button" ').concat(this.constants.dataToggle,'="dropdown">\n <span class="page-size">\n ').concat(u?t.formatAllRows():t.pageSize,"\n </span>\n ").concat(this.constants.html.dropdownCaret,"\n </button>\n ").concat(this.constants.html.pageDropdown[0])];h.forEach(function(r,n){var a;(!t.smartDisplay||0===n||h[n-1]<t.totalRows||r===t.formatAllRows())&&(a=u?r===t.formatAllRows()?e.constants.classes.dropdownActive:"":r===t.pageSize?e.constants.classes.dropdownActive:"",p.push(ws.sprintf(e.constants.html.pageDropdownItem,a,r)))}),p.push("".concat(this.constants.html.pageDropdown[1],"</div>")),l.push(t.formatRecordsPerPage(p.join("")))}if((this.paginationParts.includes("pageInfo")||this.paginationParts.includes("pageInfoShort")||this.paginationParts.includes("pageSize"))&&l.push("</div></div>"),this.paginationParts.includes("pageList")){l.push('<div class="'.concat(this.constants.classes.pull,"-").concat(t.paginationHAlign,' pagination">'),ws.sprintf(this.constants.html.pagination[0],ws.sprintf(" pagination-%s",t.iconSize)),ws.sprintf(this.constants.html.paginationItem," page-pre",t.formatSRPaginationPreText(),t.paginationPreText)),this.totalPages<t.paginationSuccessivelySize?(n=1,a=this.totalPages):a=(n=t.pageNumber-t.paginationPagesBySide)+2*t.paginationPagesBySide,t.pageNumber<t.paginationSuccessivelySize-1&&(a=t.paginationSuccessivelySize),t.paginationSuccessivelySize>this.totalPages-n&&(n=n-(t.paginationSuccessivelySize-(this.totalPages-n))+1),n<1&&(n=1),a>this.totalPages&&(a=this.totalPages);var g=Math.round(t.paginationPagesBySide/2),m=function(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return ws.sprintf(e.constants.html.paginationItem,n+(r===t.pageNumber?" ".concat(e.constants.classes.paginationActive):""),t.formatSRPaginationPageText(r),r)};if(n>1){var v=t.paginationPagesBySide;for(v>=n&&(v=n-1),r=1;r<=v;r++)l.push(m(r));n-1===v+1?(r=n-1,l.push(m(r))):n-1>v&&(n-2*t.paginationPagesBySide>t.paginationPagesBySide&&t.paginationUseIntermediate?(r=Math.round((n-g)/2+g),l.push(m(r," page-intermediate"))):l.push(ws.sprintf(this.constants.html.paginationItem," page-first-separator disabled","","...")))}for(r=n;r<=a;r++)l.push(m(r));if(this.totalPages>a){var b=this.totalPages-(t.paginationPagesBySide-1);for(a>=b&&(b=a+1),a+1===b-1?(r=a+1,l.push(m(r))):b>a+1&&(this.totalPages-a>2*t.paginationPagesBySide&&t.paginationUseIntermediate?(r=Math.round((this.totalPages-g-a)/2+a),l.push(m(r," page-intermediate"))):l.push(ws.sprintf(this.constants.html.paginationItem," page-last-separator disabled","","..."))),r=b;r<=this.totalPages;r++)l.push(m(r))}l.push(ws.sprintf(this.constants.html.paginationItem," page-next",t.formatSRPaginationNextText(),t.paginationNextText)),l.push(this.constants.html.pagination[1],"</div>")}this.$pagination.html(l.join(""));var y=["bottom","both"].includes(t.paginationVAlign)?" ".concat(this.constants.classes.dropup):"";this.$pagination.last().find(".page-list > div").addClass(y),t.onlyInfoPagination||(o=this.$pagination.find(".page-list a"),i=this.$pagination.find(".page-pre"),s=this.$pagination.find(".page-next"),c=this.$pagination.find(".page-item").not(".page-next, .page-pre, .page-last-separator, .page-first-separator"),this.totalPages<=1&&this.$pagination.find("div.pagination").hide(),t.smartDisplay&&(h.length<2||t.totalRows<=h[0])&&this.$pagination.find("div.page-list").hide(),this.$pagination[this.getData().length?"show":"hide"](),t.paginationLoop||(1===t.pageNumber&&i.addClass("disabled"),t.pageNumber===this.totalPages&&s.addClass("disabled")),u&&(t.pageSize=t.formatAllRows()),o.off("click").on("click",function(t){return e.onPageListChange(t)}),i.off("click").on("click",function(t){return e.onPagePre(t)}),s.off("click").on("click",function(t){return e.onPageNext(t)}),c.off("click").on("click",function(t){return e.onPageNumber(t)}))}else this.$pagination.hide()}},{key:"updatePagination",value:function(e){e&&r.default(e.currentTarget).hasClass("disabled")||(this.options.maintainMetaData||this.resetRows(),this.initPagination(),this.trigger("page-change",this.options.pageNumber,this.options.pageSize),"server"===this.options.sidePagination?this.initServer():this.initBody())}},{key:"onPageListChange",value:function(e){e.preventDefault();var t=r.default(e.currentTarget);return t.parent().addClass(this.constants.classes.dropdownActive).siblings().removeClass(this.constants.classes.dropdownActive),this.options.pageSize=t.text().toUpperCase()===this.options.formatAllRows().toUpperCase()?this.options.formatAllRows():+t.text(),this.$toolbar.find(".page-size").text(this.options.pageSize),this.updatePagination(e),!1}},{key:"onPagePre",value:function(e){if(!r.default(e.target).hasClass("disabled"))return e.preventDefault(),this.options.pageNumber-1==0?this.options.pageNumber=this.options.totalPages:this.options.pageNumber--,this.updatePagination(e),!1}},{key:"onPageNext",value:function(e){if(!r.default(e.target).hasClass("disabled"))return e.preventDefault(),this.options.pageNumber+1>this.options.totalPages?this.options.pageNumber=1:this.options.pageNumber++,this.updatePagination(e),!1}},{key:"onPageNumber",value:function(e){if(e.preventDefault(),this.options.pageNumber!==+r.default(e.currentTarget).text())return this.options.pageNumber=+r.default(e.currentTarget).text(),this.updatePagination(e),!1}},{key:"initRow",value:function(e,t,r,a){var o=this,i=[],c={},l=[],u="",f={},h=[];if(!(ws.findIndex(this.hiddenRows,e)>-1)){if((c=ws.calculateObjectValue(this.options,this.options.rowStyle,[e,t],c))&&c.css)for(var d=0,p=Object.entries(c.css);d<p.length;d++){var g=s(p[d],2),m=g[0],v=g[1];l.push("".concat(m,": ").concat(v))}if(f=ws.calculateObjectValue(this.options,this.options.rowAttributes,[e,t],f))for(var b=0,y=Object.entries(f);b<y.length;b++){var w=s(y[b],2),S=w[0],x=w[1];h.push("".concat(S,'="').concat(ws.escapeHTML(x),'"'))}if(e._data&&!ws.isEmptyObject(e._data))for(var k=0,A=Object.entries(e._data);k<A.length;k++){var T=s(A[k],2),E=T[0],_=T[1];if("index"===E)return;u+=" data-".concat(E,"='").concat("object"===n(_)?JSON.stringify(_):_,"'")}i.push("<tr",ws.sprintf(" %s",h.length?h.join(" "):void 0),ws.sprintf(' id="%s"',Array.isArray(e)?void 0:e._id),ws.sprintf(' class="%s"',c.classes||(Array.isArray(e)?void 0:e._class)),ws.sprintf(' style="%s"',Array.isArray(e)?void 0:e._style),' data-index="'.concat(t,'"'),ws.sprintf(' data-uniqueid="%s"',ws.getItemField(e,this.options.uniqueId,!1)),ws.sprintf(' data-has-detail-view="%s"',this.options.detailView&&ws.calculateObjectValue(null,this.options.detailFilter,[t,e])?"true":void 0),ws.sprintf("%s",u),">"),this.options.cardView&&i.push('<td colspan="'.concat(this.header.fields.length,'"><div class="card-views">'));var N="";return ws.hasDetailViewIcon(this.options)&&(N="<td>",ws.calculateObjectValue(null,this.options.detailFilter,[t,e])&&(N+='\n <a class="detail-icon" href="#">\n '.concat(ws.sprintf(this.constants.html.icon,this.options.iconsPrefix,this.options.icons.detailOpen),"\n </a>\n ")),N+="</td>"),N&&"right"!==this.options.detailViewAlign&&i.push(N),this.header.fields.forEach(function(r,n){var a=o.columns[n],c="",u=ws.getItemField(e,r,o.options.escape,a.escape),f="",h="",d={},p="",g=o.header.classes[n],m="",v="",b="",y="",w="",S="";if((!o.fromHtml&&!o.autoMergeCells||void 0!==u||a.checkbox||a.radio)&&a.visible&&(!o.options.cardView||a.cardVisible)){if(a.escape&&(u=ws.escapeHTML(u)),l.concat([o.header.styles[n]]).length&&(v+="".concat(l.concat([o.header.styles[n]]).join("; "))),e["_".concat(r,"_style")]&&(v+="".concat(e["_".concat(r,"_style")])),v&&(m=' style="'.concat(v,'"')),e["_".concat(r,"_id")]&&(p=ws.sprintf(' id="%s"',e["_".concat(r,"_id")])),e["_".concat(r,"_class")]&&(g=ws.sprintf(' class="%s"',e["_".concat(r,"_class")])),e["_".concat(r,"_rowspan")]&&(y=ws.sprintf(' rowspan="%s"',e["_".concat(r,"_rowspan")])),e["_".concat(r,"_colspan")]&&(w=ws.sprintf(' colspan="%s"',e["_".concat(r,"_colspan")])),e["_".concat(r,"_title")]&&(S=ws.sprintf(' title="%s"',e["_".concat(r,"_title")])),(d=ws.calculateObjectValue(o.header,o.header.cellStyles[n],[u,e,t,r],d)).classes&&(g=' class="'.concat(d.classes,'"')),d.css){for(var x=[],k=0,A=Object.entries(d.css);k<A.length;k++){var T=s(A[k],2),E=T[0],_=T[1];x.push("".concat(E,": ").concat(_))}m=' style="'.concat(x.concat(o.header.styles[n]).join("; "),'"')}if(f=ws.calculateObjectValue(a,o.header.formatters[n],[u,e,t,r],u),a.checkbox||a.radio||(f=null==f?o.options.undefinedText:f),a.searchable&&o.searchText&&o.options.searchHighlight&&!a.checkbox&&!a.radio){var N="",C=new RegExp("(".concat(o.searchText.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),")"),"gim");if(f&&/<(?=.*? .*?\/ ?>|br|hr|input|!--|wbr)[a-z]+.*?>|<([a-z]+).*?<\/\1>/i.test(f)){var R=(new DOMParser).parseFromString(f.toString(),"text/html").documentElement.textContent,O=R.replace(C,"<mark>$1</mark>");R=R.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),N=f.replace(new RegExp("(>\\s*)(".concat(R,")(\\s*)"),"gm"),"$1".concat(O,"$3"))}else N=f.toString().replace(C,"<mark>$1</mark>");f=ws.calculateObjectValue(a,a.searchHighlightFormatter,[f,o.searchText],N)}if(e["_".concat(r,"_data")]&&!ws.isEmptyObject(e["_".concat(r,"_data")]))for(var L=0,P=Object.entries(e["_".concat(r,"_data")]);L<P.length;L++){var I=s(P[L],2),F=I[0],D=I[1];if("index"===F)return;b+=" data-".concat(F,'="').concat(D,'"')}if(a.checkbox||a.radio){h=a.checkbox?"checkbox":h,h=a.radio?"radio":h;var M=a.class||"",j=ws.isObject(f)&&f.hasOwnProperty("checked")?f.checked:(!0===f||u)&&!1!==f,B=!a.checkboxEnabled||f&&f.disabled;c=[o.options.cardView?'<div class="card-view '.concat(M,'">'):'<td class="bs-checkbox '.concat(M,'"').concat(g).concat(m,">"),'<label>\n <input\n data-index="'.concat(t,'"\n name="').concat(o.options.selectItemName,'"\n type="').concat(h,'"\n ').concat(ws.sprintf('value="%s"',e[o.options.idField]),"\n ").concat(ws.sprintf('checked="%s"',j?"checked":void 0),"\n ").concat(ws.sprintf('disabled="%s"',B?"disabled":void 0)," />\n <span></span>\n </label>"),o.header.formatters[n]&&"string"==typeof f?f:"",o.options.cardView?"</div>":"</td>"].join(""),e[o.header.stateField]=!0===f||!!u||f&&f.checked}else if(o.options.cardView){var W=o.options.showHeader?'<span class="card-view-title '.concat(d.classes||"",'"').concat(m,">").concat(ws.getFieldTitle(o.columns,r),"</span>"):"";c='<div class="card-view">'.concat(W,'<span class="card-view-value ').concat(d.classes||"",'"').concat(m,">").concat(f,"</span></div>"),o.options.smartDisplay&&""===f&&(c='<div class="card-view"></div>')}else c="<td".concat(p).concat(g).concat(m).concat(b).concat(y).concat(w).concat(S,">").concat(f,"</td>");i.push(c)}}),N&&"right"===this.options.detailViewAlign&&i.push(N),this.options.cardView&&i.push("</div></td>"),i.push("</tr>"),i.join("")}}},{key:"initBody",value:function(e,t){var n=this,a=this.getData();this.trigger("pre-body",a),this.$body=this.$el.find(">tbody"),this.$body.length||(this.$body=r.default("<tbody></tbody>").appendTo(this.$el)),this.options.pagination&&"server"!==this.options.sidePagination||(this.pageFrom=1,this.pageTo=a.length);var o=[],i=r.default(document.createDocumentFragment()),s=!1,c=[];this.autoMergeCells=ws.checkAutoMergeCells(a.slice(this.pageFrom-1,this.pageTo));for(var l=this.pageFrom-1;l<this.pageTo;l++){var u=a[l],f=this.initRow(u,l,a,i);if(s=s||!!f,f&&"string"==typeof f){var h=this.options.uniqueId;if(h&&u.hasOwnProperty(h)){var d=u[h],p=this.$body.find(ws.sprintf('> tr[data-uniqueid="%s"][data-has-detail-view]',d)).next();p.is("tr.detail-view")&&(c.push(l),t&&d===t||(f+=p[0].outerHTML))}this.options.virtualScroll?o.push(f):i.append(f)}}s?this.options.virtualScroll?(this.virtualScroll&&this.virtualScroll.destroy(),this.virtualScroll=new _s({rows:o,fixedScroll:e,scrollEl:this.$tableBody[0],contentEl:this.$body[0],itemHeight:this.options.virtualScrollItemHeight,callback:function(e,t){n.fitHeader(),n.initBodyEvent(),n.trigger("virtual-scroll",e,t)}})):this.$body.html(i):this.$body.html('<tr class="no-records-found">'.concat(ws.sprintf('<td colspan="%s">%s</td>',this.getVisibleFields().length+ws.getDetailViewIndexOffset(this.options),this.options.formatNoMatches()),"</tr>")),c.forEach(function(e){n.expandRow(e)}),e||this.scrollTo(0),this.initBodyEvent(),this.initFooter(),this.resetView(),this.updateSelected(),"server"!==this.options.sidePagination&&(this.options.totalRows=a.length),this.trigger("post-body",a)}},{key:"initBodyEvent",value:function(){var e=this;this.$body.find("> tr[data-index] > td").off("click dblclick").on("click dblclick",function(t){var n=r.default(t.currentTarget),a=n.parent(),o=r.default(t.target).parents(".card-views").children(),i=r.default(t.target).parents(".card-view"),s=a.data("index"),c=e.data[s],l=e.options.cardView?o.index(i):n[0].cellIndex,u=e.getVisibleFields()[l-ws.getDetailViewIndexOffset(e.options)],f=e.columns[e.fieldsColumnsIndex[u]],h=ws.getItemField(c,u,e.options.escape,f.escape);if(!n.find(".detail-icon").length){if(e.trigger("click"===t.type?"click-cell":"dbl-click-cell",u,h,c,n),e.trigger("click"===t.type?"click-row":"dbl-click-row",c,a,u),"click"===t.type&&e.options.clickToSelect&&f.clickToSelect&&!ws.calculateObjectValue(e.options,e.options.ignoreClickToSelectOn,[t.target])){var d=a.find(ws.sprintf('[name="%s"]',e.options.selectItemName));d.length&&d[0].click()}"click"===t.type&&e.options.detailViewByClick&&e.toggleDetailView(s,e.header.detailFormatters[e.fieldsColumnsIndex[u]])}}).off("mousedown").on("mousedown",function(t){e.multipleSelectRowCtrlKey=t.ctrlKey||t.metaKey,e.multipleSelectRowShiftKey=t.shiftKey}),this.$body.find("> tr[data-index] > td > .detail-icon").off("click").on("click",function(t){return t.preventDefault(),e.toggleDetailView(r.default(t.currentTarget).parent().parent().data("index")),!1}),this.$selectItem=this.$body.find(ws.sprintf('[name="%s"]',this.options.selectItemName)),this.$selectItem.off("click").on("click",function(t){t.stopImmediatePropagation();var n=r.default(t.currentTarget);e._toggleCheck(n.prop("checked"),n.data("index"))}),this.header.events.forEach(function(t,n){var a=t;if(a){if("string"==typeof a&&(a=ws.calculateObjectValue(null,a)),!a)throw new Error("Unknown event in the scope: ".concat(t));var o=e.header.fields[n],i=e.getVisibleFields().indexOf(o);if(-1!==i){i+=ws.getDetailViewIndexOffset(e.options);var s=function(t){if(!a.hasOwnProperty(t))return"continue";var n=a[t];e.$body.find(">tr:not(.no-records-found)").each(function(a,s){var c=r.default(s),l=c.find(e.options.cardView?".card-views>.card-view":">td").eq(i),u=t.indexOf(" "),f=t.substring(0,u),h=t.substring(u+1);l.find(h).off(f).on(f,function(t){var r=c.data("index"),a=e.data[r],i=a[o];n.apply(e,[t,i,a,r])})})};for(var c in a)s(c)}}})}},{key:"initServer",value:function(e,t,n){var a=this,o={},i=this.header.fields.indexOf(this.options.sortName),s={searchText:this.searchText,sortName:this.options.sortName,sortOrder:this.options.sortOrder};if(this.header.sortNames[i]&&(s.sortName=this.header.sortNames[i]),this.options.pagination&&"server"===this.options.sidePagination&&(s.pageSize=this.options.pageSize===this.options.formatAllRows()?this.options.totalRows:this.options.pageSize,s.pageNumber=this.options.pageNumber),n||this.options.url||this.options.ajax){if("limit"===this.options.queryParamsType&&(s={search:s.searchText,sort:s.sortName,order:s.sortOrder},this.options.pagination&&"server"===this.options.sidePagination&&(s.offset=this.options.pageSize===this.options.formatAllRows()?0:this.options.pageSize*(this.options.pageNumber-1),s.limit=this.options.pageSize,0!==s.limit&&this.options.pageSize!==this.options.formatAllRows()||delete s.limit)),this.options.search&&"server"===this.options.sidePagination&&this.columns.filter(function(e){return!e.searchable}).length){s.searchable=[];var c,l=f(this.columns);try{for(l.s();!(c=l.n()).done;){var u=c.value;!u.checkbox&&u.searchable&&(this.options.visibleSearch&&u.visible||!this.options.visibleSearch)&&s.searchable.push(u.field)}}catch(e){l.e(e)}finally{l.f()}}if(ws.isEmptyObject(this.filterColumnsPartial)||(s.filter=JSON.stringify(this.filterColumnsPartial,null)),r.default.extend(s,t||{}),!1!==(o=ws.calculateObjectValue(this.options,this.options.queryParams,[s],o))){e||this.showLoading();var h=r.default.extend({},ws.calculateObjectValue(null,this.options.ajaxOptions),{type:this.options.method,url:n||this.options.url,data:"application/json"===this.options.contentType&&"post"===this.options.method?JSON.stringify(o):o,cache:this.options.cache,contentType:this.options.contentType,dataType:this.options.dataType,success:function(t,r,n){var o=ws.calculateObjectValue(a.options,a.options.responseHandler,[t,n],t);a.load(o),a.trigger("load-success",o,n&&n.status,n),e||a.hideLoading(),"server"===a.options.sidePagination&&a.options.pageNumber>1&&o[a.options.totalField]>0&&!o[a.options.dataField].length&&a.updatePagination()},error:function(t){if(t&&0===t.status&&a._xhrAbort)a._xhrAbort=!1;else{var r=[];"server"===a.options.sidePagination&&((r={})[a.options.totalField]=0,r[a.options.dataField]=[]),a.load(r),a.trigger("load-error",t&&t.status,t),e||a.hideLoading()}}});return this.options.ajax?ws.calculateObjectValue(this,this.options.ajax,[h],null):(this._xhr&&4!==this._xhr.readyState&&(this._xhrAbort=!0,this._xhr.abort()),this._xhr=r.default.ajax(h)),o}}}},{key:"initSearchText",value:function(){if(this.options.search&&(this.searchText="",""!==this.options.searchText)){var e=ws.getSearchInput(this);e.val(this.options.searchText),this.onSearch({currentTarget:e,firedByInitSearchText:!0})}}},{key:"getCaret",value:function(){var e=this;this.$header.find("th").each(function(t,n){r.default(n).find(".sortable").removeClass("desc asc").addClass(r.default(n).data("field")===e.options.sortName?e.options.sortOrder:"both")})}},{key:"updateSelected",value:function(){var e=this.$selectItem.filter(":enabled").length&&this.$selectItem.filter(":enabled").length===this.$selectItem.filter(":enabled").filter(":checked").length;this.$selectAll.add(this.$selectAll_).prop("checked",e),this.$selectItem.each(function(e,t){r.default(t).closest("tr")[r.default(t).prop("checked")?"addClass":"removeClass"]("selected")})}},{key:"updateRows",value:function(){var e=this;this.$selectItem.each(function(t,n){e.data[r.default(n).data("index")][e.header.stateField]=r.default(n).prop("checked")})}},{key:"resetRows",value:function(){var e,t=f(this.data);try{for(t.s();!(e=t.n()).done;){var r=e.value;this.$selectAll.prop("checked",!1),this.$selectItem.prop("checked",!1),this.header.stateField&&(r[this.header.stateField]=!1)}}catch(e){t.e(e)}finally{t.f()}this.initHiddenRows()}},{key:"trigger",value:function(t){for(var n,a,o="".concat(t,".bs.table"),i=arguments.length,s=new Array(i>1?i-1:0),c=1;c<i;c++)s[c-1]=arguments[c];(n=this.options)[e.EVENTS[o]].apply(n,[].concat(s,[this])),this.$el.trigger(r.default.Event(o,{sender:this}),s),(a=this.options).onAll.apply(a,[o].concat([].concat(s,[this]))),this.$el.trigger(r.default.Event("all.bs.table",{sender:this}),[o,s])}},{key:"resetHeader",value:function(){var e=this;clearTimeout(this.timeoutId_),this.timeoutId_=setTimeout(function(){return e.fitHeader()},this.$el.is(":hidden")?100:0)}},{key:"fitHeader",value:function(){var e=this;if(this.$el.is(":hidden"))this.timeoutId_=setTimeout(function(){return e.fitHeader()},100);else{var t=this.$tableBody.get(0),n=this.hasScrollBar&&t.scrollHeight>t.clientHeight+this.$header.outerHeight()?ws.getScrollBarWidth():0;this.$el.css("margin-top",-this.$header.outerHeight());var a=r.default(":focus");if(a.length>0){var o=a.parents("th");if(o.length>0){var i=o.attr("data-field");if(void 0!==i){var s=this.$header.find("[data-field='".concat(i,"']"));s.length>0&&s.find(":input").addClass("focus-temp")}}}this.$header_=this.$header.clone(!0,!0),this.$selectAll_=this.$header_.find('[name="btSelectAll"]'),this.$tableHeader.css("margin-right",n).find("table").css("width",this.$el.outerWidth()).html("").attr("class",this.$el.attr("class")).append(this.$header_),this.$tableLoading.css("width",this.$el.outerWidth());var c=r.default(".focus-temp:visible:eq(0)");c.length>0&&(c.focus(),this.$header.find(".focus-temp").removeClass("focus-temp")),this.$header.find("th[data-field]").each(function(t,n){e.$header_.find(ws.sprintf('th[data-field="%s"]',r.default(n).data("field"))).data(r.default(n).data())});for(var l=this.getVisibleFields(),u=this.$header_.find("th"),f=this.$body.find(">tr:not(.no-records-found,.virtual-scroll-top)").eq(0);f.length&&f.find('>td[colspan]:not([colspan="1"])').length;)f=f.next();var h=f.find("> *").length;f.find("> *").each(function(t,n){var a=r.default(n);if(ws.hasDetailViewIcon(e.options)&&(0===t&&"right"!==e.options.detailViewAlign||t===h-1&&"right"===e.options.detailViewAlign)){var o=u.filter(".detail"),i=o.innerWidth()-o.find(".fht-cell").width();o.find(".fht-cell").width(a.innerWidth()-i)}else{var s=t-ws.getDetailViewIndexOffset(e.options),c=e.$header_.find(ws.sprintf('th[data-field="%s"]',l[s]));c.length>1&&(c=r.default(u[a[0].cellIndex]));var f=c.innerWidth()-c.find(".fht-cell").width();c.find(".fht-cell").width(a.innerWidth()-f)}}),this.horizontalScroll(),this.trigger("post-header")}}},{key:"initFooter",value:function(){if(this.options.showFooter&&!this.options.cardView){var e=this.getData(),t=[],r="";ws.hasDetailViewIcon(this.options)&&(r='<th class="detail"><div class="th-inner"></div><div class="fht-cell"></div></th>'),r&&"right"!==this.options.detailViewAlign&&t.push(r);var n,a=f(this.columns);try{for(a.s();!(n=a.n()).done;){var o,i,c=n.value,l=[],u={},h=ws.sprintf(' class="%s"',c.class);if(c.visible&&(!(this.footerData&&this.footerData.length>0)||c.field in this.footerData[0])){if(this.options.cardView&&!c.cardVisible)return;if(o=ws.sprintf("text-align: %s; ",c.falign?c.falign:c.align),i=ws.sprintf("vertical-align: %s; ",c.valign),(u=ws.calculateObjectValue(null,this.options.footerStyle,[c]))&&u.css)for(var d=0,p=Object.entries(u.css);d<p.length;d++){var g=s(p[d],2),m=g[0],v=g[1];l.push("".concat(m,": ").concat(v))}u&&u.classes&&(h=ws.sprintf(' class="%s"',c.class?[c.class,u.classes].join(" "):u.classes)),t.push("<th",h,ws.sprintf(' style="%s"',o+i+l.concat().join("; ")));var b=0;this.footerData&&this.footerData.length>0&&(b=this.footerData[0]["_".concat(c.field,"_colspan")]||0),b&&t.push(' colspan="'.concat(b,'" ')),t.push(">"),t.push('<div class="th-inner">');var y="";this.footerData&&this.footerData.length>0&&(y=this.footerData[0][c.field]||""),t.push(ws.calculateObjectValue(c,c.footerFormatter,[e,y],y)),t.push("</div>"),t.push('<div class="fht-cell"></div>'),t.push("</div>"),t.push("</th>")}}}catch(e){a.e(e)}finally{a.f()}r&&"right"===this.options.detailViewAlign&&t.push(r),this.options.height||this.$tableFooter.length||(this.$el.append("<tfoot><tr></tr></tfoot>"),this.$tableFooter=this.$el.find("tfoot")),this.$tableFooter.find("tr").length||this.$tableFooter.html("<table><thead><tr></tr></thead></table>"),this.$tableFooter.find("tr").html(t.join("")),this.trigger("post-footer",this.$tableFooter)}}},{key:"fitFooter",value:function(){var e=this;if(this.$el.is(":hidden"))setTimeout(function(){return e.fitFooter()},100);else{var t=this.$tableBody.get(0),n=this.hasScrollBar&&t.scrollHeight>t.clientHeight+this.$header.outerHeight()?ws.getScrollBarWidth():0;this.$tableFooter.css("margin-right",n).find("table").css("width",this.$el.outerWidth()).attr("class",this.$el.attr("class"));var a=this.$tableFooter.find("th"),o=this.$body.find(">tr:first-child:not(.no-records-found)");for(a.find(".fht-cell").width("auto");o.length&&o.find('>td[colspan]:not([colspan="1"])').length;)o=o.next();var i=o.find("> *").length;o.find("> *").each(function(t,n){var o=r.default(n);if(ws.hasDetailViewIcon(e.options)&&(0===t&&"left"===e.options.detailViewAlign||t===i-1&&"right"===e.options.detailViewAlign)){var s=a.filter(".detail"),c=s.innerWidth()-s.find(".fht-cell").width();s.find(".fht-cell").width(o.innerWidth()-c)}else{var l=a.eq(t),u=l.innerWidth()-l.find(".fht-cell").width();l.find(".fht-cell").width(o.innerWidth()-u)}}),this.horizontalScroll()}}},{key:"horizontalScroll",value:function(){var e=this;this.$tableBody.off("scroll").on("scroll",function(){var t=e.$tableBody.scrollLeft();e.options.showHeader&&e.options.height&&e.$tableHeader.scrollLeft(t),e.options.showFooter&&!e.options.cardView&&e.$tableFooter.scrollLeft(t),e.trigger("scroll-body",e.$tableBody)})}},{key:"getVisibleFields",value:function(){var e,t=[],r=f(this.header.fields);try{for(r.s();!(e=r.n()).done;){var n=e.value,a=this.columns[this.fieldsColumnsIndex[n]];a&&a.visible&&(!this.options.cardView||a.cardVisible)&&t.push(n)}}catch(e){r.e(e)}finally{r.f()}return t}},{key:"initHiddenRows",value:function(){this.hiddenRows=[]}},{key:"getOptions",value:function(){var e=r.default.extend({},this.options);return delete e.data,r.default.extend(!0,{},e)}},{key:"refreshOptions",value:function(e){ws.compareObjects(this.options,e,!0)||(this.options=r.default.extend(this.options,e),this.trigger("refresh-options",this.options),this.destroy(),this.init())}},{key:"getData",value:function(e){var t=this,r=this.options.data;if(!(this.searchText||this.options.customSearch||void 0!==this.options.sortName||this.enableCustomSort)&&ws.isEmptyObject(this.filterColumns)&&ws.isEmptyObject(this.filterColumnsPartial)||e&&e.unfiltered||(r=this.data),e&&e.useCurrentPage&&(r=r.slice(this.pageFrom-1,this.pageTo)),e&&!e.includeHiddenRows){var n=this.getHiddenRows();r=r.filter(function(e){return-1===ws.findIndex(n,e)})}return e&&e.formatted&&r.forEach(function(e){for(var r=0,n=Object.entries(e);r<n.length;r++){var a=s(n[r],2),o=a[0],i=a[1],c=t.columns[t.fieldsColumnsIndex[o]];if(!c)return;e[o]=ws.calculateObjectValue(c,t.header.formatters[c.fieldIndex],[i,e,e.index,c.field],i)}}),r}},{key:"getSelections",value:function(){var e=this;return(this.options.maintainMetaData?this.options.data:this.data).filter(function(t){return!0===t[e.header.stateField]})}},{key:"load",value:function(e){var t,r=e;this.options.pagination&&"server"===this.options.sidePagination&&(this.options.totalRows=r[this.options.totalField],this.options.totalNotFiltered=r[this.options.totalNotFilteredField],this.footerData=r[this.options.footerField]?[r[this.options.footerField]]:void 0),t=r.fixedScroll,r=Array.isArray(r)?r:r[this.options.dataField],this.initData(r),this.initSearch(),this.initPagination(),this.initBody(t)}},{key:"append",value:function(e){this.initData(e,"append"),this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0)}},{key:"prepend",value:function(e){this.initData(e,"prepend"),this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0)}},{key:"remove",value:function(e){for(var t=0,r=this.options.data.length-1;r>=0;r--){var n=this.options.data[r];(n.hasOwnProperty(e.field)||"$index"===e.field)&&((!n.hasOwnProperty(e.field)&&"$index"===e.field&&e.values.includes(r)||e.values.includes(n[e.field]))&&(t++,this.options.data.splice(r,1)))}t&&("server"===this.options.sidePagination&&(this.options.totalRows-=t,this.data=c(this.options.data)),this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0))}},{key:"removeAll",value:function(){this.options.data.length>0&&(this.options.data.splice(0,this.options.data.length),this.initSearch(),this.initPagination(),this.initBody(!0))}},{key:"insertRow",value:function(e){e.hasOwnProperty("index")&&e.hasOwnProperty("row")&&(this.options.data.splice(e.index,0,e.row),this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0))}},{key:"updateRow",value:function(e){var t,n=f(Array.isArray(e)?e:[e]);try{for(n.s();!(t=n.n()).done;){var a=t.value;a.hasOwnProperty("index")&&a.hasOwnProperty("row")&&(a.hasOwnProperty("replace")&&a.replace?this.options.data[a.index]=a.row:r.default.extend(this.options.data[a.index],a.row))}}catch(e){n.e(e)}finally{n.f()}this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0)}},{key:"getRowByUniqueId",value:function(e){var t,r,n,a=this.options.uniqueId,o=e,i=null;for(t=this.options.data.length-1;t>=0;t--){if((r=this.options.data[t]).hasOwnProperty(a))n=r[a];else{if(!r._data||!r._data.hasOwnProperty(a))continue;n=r._data[a]}if("string"==typeof n?o=o.toString():"number"==typeof n&&(Number(n)===n&&n%1==0?o=parseInt(o,10):n===Number(n)&&0!==n&&(o=parseFloat(o))),n===o){i=r;break}}return i}},{key:"updateByUniqueId",value:function(e){var t,n=null,a=f(Array.isArray(e)?e:[e]);try{for(a.s();!(t=a.n()).done;){var o=t.value;if(o.hasOwnProperty("id")&&o.hasOwnProperty("row")){var i=this.options.data.indexOf(this.getRowByUniqueId(o.id));-1!==i&&(o.hasOwnProperty("replace")&&o.replace?this.options.data[i]=o.row:r.default.extend(this.options.data[i],o.row),n=o.id)}}}catch(e){a.e(e)}finally{a.f()}this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0,n)}},{key:"removeByUniqueId",value:function(e){var t=this.options.data.length,r=this.getRowByUniqueId(e);r&&this.options.data.splice(this.options.data.indexOf(r),1),t!==this.options.data.length&&("server"===this.options.sidePagination&&(this.options.totalRows-=1,this.data=c(this.options.data)),this.initSearch(),this.initPagination(),this.initBody(!0))}},{key:"updateCell",value:function(e){e.hasOwnProperty("index")&&e.hasOwnProperty("field")&&e.hasOwnProperty("value")&&(this.data[e.index][e.field]=e.value,!1!==e.reinit&&(this.initSort(),this.initBody(!0)))}},{key:"updateCellByUniqueId",value:function(e){var t=this;(Array.isArray(e)?e:[e]).forEach(function(e){var r=e.id,n=e.field,a=e.value,o=t.options.data.indexOf(t.getRowByUniqueId(r));-1!==o&&(t.options.data[o][n]=a)}),!1!==e.reinit&&(this.initSort(),this.initBody(!0))}},{key:"showRow",value:function(e){this._toggleRow(e,!0)}},{key:"hideRow",value:function(e){this._toggleRow(e,!1)}},{key:"_toggleRow",value:function(e,t){var r;if(e.hasOwnProperty("index")?r=this.getData()[e.index]:e.hasOwnProperty("uniqueId")&&(r=this.getRowByUniqueId(e.uniqueId)),r){var n=ws.findIndex(this.hiddenRows,r);t||-1!==n?t&&n>-1&&this.hiddenRows.splice(n,1):this.hiddenRows.push(r),this.initBody(!0),this.initPagination()}}},{key:"getHiddenRows",value:function(e){if(e)return this.initHiddenRows(),this.initBody(!0),void this.initPagination();var t,r=[],n=f(this.getData());try{for(n.s();!(t=n.n()).done;){var a=t.value;this.hiddenRows.includes(a)&&r.push(a)}}catch(e){n.e(e)}finally{n.f()}return this.hiddenRows=r,r}},{key:"showColumn",value:function(e){var t=this;(Array.isArray(e)?e:[e]).forEach(function(e){t._toggleColumn(t.fieldsColumnsIndex[e],!0,!0)})}},{key:"hideColumn",value:function(e){var t=this;(Array.isArray(e)?e:[e]).forEach(function(e){t._toggleColumn(t.fieldsColumnsIndex[e],!1,!0)})}},{key:"_toggleColumn",value:function(e,t,r){if(-1!==e&&this.columns[e].visible!==t&&(this.columns[e].visible=t,this.initHeader(),this.initSearch(),this.initPagination(),this.initBody(),this.options.showColumns)){var n=this.$toolbar.find('.keep-open input:not(".toggle-all")').prop("disabled",!1);r&&n.filter(ws.sprintf('[value="%s"]',e)).prop("checked",t),n.filter(":checked").length<=this.options.minimumCountColumns&&n.filter(":checked").prop("disabled",!0)}}},{key:"getVisibleColumns",value:function(){var e=this;return this.columns.filter(function(t){return t.visible&&!e.isSelectionColumn(t)})}},{key:"getHiddenColumns",value:function(){return this.columns.filter(function(e){return!e.visible})}},{key:"isSelectionColumn",value:function(e){return e.radio||e.checkbox}},{key:"showAllColumns",value:function(){this._toggleAllColumns(!0)}},{key:"hideAllColumns",value:function(){this._toggleAllColumns(!1)}},{key:"_toggleAllColumns",value:function(e){var t,n=this,a=f(this.columns.slice().reverse());try{for(a.s();!(t=a.n()).done;){var o=t.value;if(o.switchable){if(!e&&this.options.showColumns&&this.getVisibleColumns().filter(function(e){return e.switchable}).length===this.options.minimumCountColumns)continue;o.visible=e}}}catch(e){a.e(e)}finally{a.f()}if(this.initHeader(),this.initSearch(),this.initPagination(),this.initBody(),this.options.showColumns){var i=this.$toolbar.find('.keep-open input[type="checkbox"]:not(".toggle-all")').prop("disabled",!1);e?i.prop("checked",e):i.get().reverse().forEach(function(t){i.filter(":checked").length>n.options.minimumCountColumns&&r.default(t).prop("checked",e)}),i.filter(":checked").length<=this.options.minimumCountColumns&&i.filter(":checked").prop("disabled",!0)}}},{key:"mergeCells",value:function(e){var t,r,n=e.index,a=this.getVisibleFields().indexOf(e.field),o=e.rowspan||1,i=e.colspan||1,s=this.$body.find(">tr[data-index]");a+=ws.getDetailViewIndexOffset(this.options);var c=s.eq(n).find(">td").eq(a);if(!(n<0||a<0||n>=this.data.length)){for(t=n;t<n+o;t++)for(r=a;r<a+i;r++)s.eq(t).find(">td").eq(r).hide();c.attr("rowspan",o).attr("colspan",i).show()}}},{key:"checkAll",value:function(){this._toggleCheckAll(!0)}},{key:"uncheckAll",value:function(){this._toggleCheckAll(!1)}},{key:"_toggleCheckAll",value:function(e){var t=this.getSelections();this.$selectAll.add(this.$selectAll_).prop("checked",e),this.$selectItem.filter(":enabled").prop("checked",e),this.updateRows(),this.updateSelected();var r=this.getSelections();e?this.trigger("check-all",r,t):this.trigger("uncheck-all",r,t)}},{key:"checkInvert",value:function(){var e=this.$selectItem.filter(":enabled"),t=e.filter(":checked");e.each(function(e,t){r.default(t).prop("checked",!r.default(t).prop("checked"))}),this.updateRows(),this.updateSelected(),this.trigger("uncheck-some",t),t=this.getSelections(),this.trigger("check-some",t)}},{key:"check",value:function(e){this._toggleCheck(!0,e)}},{key:"uncheck",value:function(e){this._toggleCheck(!1,e)}},{key:"_toggleCheck",value:function(e,t){var r=this.$selectItem.filter('[data-index="'.concat(t,'"]')),n=this.data[t];if(r.is(":radio")||this.options.singleSelect||this.options.multipleSelectRow&&!this.multipleSelectRowCtrlKey&&!this.multipleSelectRowShiftKey){var a,o=f(this.options.data);try{for(o.s();!(a=o.n()).done;){a.value[this.header.stateField]=!1}}catch(e){o.e(e)}finally{o.f()}this.$selectItem.filter(":checked").not(r).prop("checked",!1)}if(n[this.header.stateField]=e,this.options.multipleSelectRow){if(this.multipleSelectRowShiftKey&&this.multipleSelectRowLastSelectedIndex>=0)for(var i=s(this.multipleSelectRowLastSelectedIndex<t?[this.multipleSelectRowLastSelectedIndex,t]:[t,this.multipleSelectRowLastSelectedIndex],2),c=i[0],l=i[1],u=c+1;u<l;u++)this.data[u][this.header.stateField]=!0,this.$selectItem.filter('[data-index="'.concat(u,'"]')).prop("checked",!0);this.multipleSelectRowCtrlKey=!1,this.multipleSelectRowShiftKey=!1,this.multipleSelectRowLastSelectedIndex=e?t:-1}r.prop("checked",e),this.updateSelected(),this.trigger(e?"check":"uncheck",this.data[t],r)}},{key:"checkBy",value:function(e){this._toggleCheckBy(!0,e)}},{key:"uncheckBy",value:function(e){this._toggleCheckBy(!1,e)}},{key:"_toggleCheckBy",value:function(e,t){var r=this;if(t.hasOwnProperty("field")&&t.hasOwnProperty("values")){var n=[];this.data.forEach(function(a,o){if(!a.hasOwnProperty(t.field))return!1;if(t.values.includes(a[t.field])){var i=r.$selectItem.filter(":enabled").filter(ws.sprintf('[data-index="%s"]',o)),s=!!t.hasOwnProperty("onlyCurrentPage")&&t.onlyCurrentPage;if(!(i=e?i.not(":checked"):i.filter(":checked")).length&&s)return;i.prop("checked",e),a[r.header.stateField]=e,n.push(a),r.trigger(e?"check":"uncheck",a,i)}}),this.updateSelected(),this.trigger(e?"check-some":"uncheck-some",n)}}},{key:"refresh",value:function(e){e&&e.url&&(this.options.url=e.url),e&&e.pageNumber&&(this.options.pageNumber=e.pageNumber),e&&e.pageSize&&(this.options.pageSize=e.pageSize),this.trigger("refresh",this.initServer(e&&e.silent,e&&e.query,e&&e.url))}},{key:"destroy",value:function(){this.$el.insertBefore(this.$container),r.default(this.options.toolbar).insertBefore(this.$el),this.$container.next().remove(),this.$container.remove(),this.$el.html(this.$el_.html()).css("margin-top","0").attr("class",this.$el_.attr("class")||"")}},{key:"resetView",value:function(e){var t=0;if(e&&e.height&&(this.options.height=e.height),this.$tableContainer.toggleClass("has-card-view",this.options.cardView),this.options.height){var r=this.$tableBody.get(0);this.hasScrollBar=r.scrollWidth>r.clientWidth}if(!this.options.cardView&&this.options.showHeader&&this.options.height?(this.$tableHeader.show(),this.resetHeader(),t+=this.$header.outerHeight(!0)+1):(this.$tableHeader.hide(),this.trigger("post-header")),!this.options.cardView&&this.options.showFooter&&(this.$tableFooter.show(),this.fitFooter(),this.options.height&&(t+=this.$tableFooter.outerHeight(!0))),this.$container.hasClass("fullscreen"))this.$tableContainer.css("height",""),this.$tableContainer.css("width","");else if(this.options.height){this.$tableBorder&&(this.$tableBorder.css("width",""),this.$tableBorder.css("height",""));var n=this.$toolbar.outerHeight(!0),a=this.$pagination.outerHeight(!0),o=this.options.height-n-a,i=this.$tableBody.find(">table"),s=i.outerHeight();if(this.$tableContainer.css("height","".concat(o,"px")),this.$tableBorder&&i.is(":visible")){var c=o-s-2;this.hasScrollBar&&(c-=ws.getScrollBarWidth()),this.$tableBorder.css("width","".concat(i.outerWidth(),"px")),this.$tableBorder.css("height","".concat(c,"px"))}}this.options.cardView?(this.$el.css("margin-top","0"),this.$tableContainer.css("padding-bottom","0"),this.$tableFooter.hide()):(this.getCaret(),this.$tableContainer.css("padding-bottom","".concat(t,"px"))),this.trigger("reset-view")}},{key:"showLoading",value:function(){this.$tableLoading.toggleClass("open",!0);var e=this.options.loadingFontSize;"auto"===this.options.loadingFontSize&&(e=.04*this.$tableLoading.width(),e=Math.max(12,e),e=Math.min(32,e),e="".concat(e,"px")),this.$tableLoading.find(".loading-text").css("font-size",e)}},{key:"hideLoading",value:function(){this.$tableLoading.toggleClass("open",!1)}},{key:"togglePagination",value:function(){this.options.pagination=!this.options.pagination;var e=this.options.showButtonIcons?this.options.pagination?this.options.icons.paginationSwitchDown:this.options.icons.paginationSwitchUp:"",t=this.options.showButtonText?this.options.pagination?this.options.formatPaginationSwitchUp():this.options.formatPaginationSwitchDown():"";this.$toolbar.find('button[name="paginationSwitch"]').html("".concat(ws.sprintf(this.constants.html.icon,this.options.iconsPrefix,e)," ").concat(t)),this.updatePagination(),this.trigger("toggle-pagination",this.options.pagination)}},{key:"toggleFullscreen",value:function(){this.$el.closest(".bootstrap-table").toggleClass("fullscreen"),this.resetView()}},{key:"toggleView",value:function(){this.options.cardView=!this.options.cardView,this.initHeader();var e=this.options.showButtonIcons?this.options.cardView?this.options.icons.toggleOn:this.options.icons.toggleOff:"",t=this.options.showButtonText?this.options.cardView?this.options.formatToggleOff():this.options.formatToggleOn():"";this.$toolbar.find('button[name="toggle"]').html("".concat(ws.sprintf(this.constants.html.icon,this.options.iconsPrefix,e)," ").concat(t)),this.initBody(),this.trigger("toggle",this.options.cardView)}},{key:"resetSearch",value:function(e){var t=ws.getSearchInput(this),r=e||"";t.val(r),this.searchText=r,this.onSearch({currentTarget:t},!1)}},{key:"filterBy",value:function(e,t){this.filterOptions=ws.isEmptyObject(t)?this.options.filterOptions:r.default.extend(this.options.filterOptions,t),this.filterColumns=ws.isEmptyObject(e)?{}:e,this.options.pageNumber=1,this.initSearch(),this.updatePagination()}},{key:"scrollTo",value:function(e){var t={unit:"px",value:0};"object"===n(e)?t=Object.assign(t,e):"string"==typeof e&&"bottom"===e?t.value=this.$tableBody[0].scrollHeight:"string"!=typeof e&&"number"!=typeof e||(t.value=e);var a=t.value;"rows"===t.unit&&(a=0,this.$body.find("> tr:lt(".concat(t.value,")")).each(function(e,t){a+=r.default(t).outerHeight(!0)})),this.$tableBody.scrollTop(a)}},{key:"getScrollPosition",value:function(){return this.$tableBody.scrollTop()}},{key:"selectPage",value:function(e){e>0&&e<=this.options.totalPages&&(this.options.pageNumber=e,this.updatePagination())}},{key:"prevPage",value:function(){this.options.pageNumber>1&&(this.options.pageNumber--,this.updatePagination())}},{key:"nextPage",value:function(){this.options.pageNumber<this.options.totalPages&&(this.options.pageNumber++,this.updatePagination())}},{key:"toggleDetailView",value:function(e,t){this.$body.find(ws.sprintf('> tr[data-index="%s"]',e)).next().is("tr.detail-view")?this.collapseRow(e):this.expandRow(e,t),this.resetView()}},{key:"expandRow",value:function(e,t){var r=this.data[e],n=this.$body.find(ws.sprintf('> tr[data-index="%s"][data-has-detail-view]',e));if(this.options.detailViewIcon&&n.find("a.detail-icon").html(ws.sprintf(this.constants.html.icon,this.options.iconsPrefix,this.options.icons.detailClose)),!n.next().is("tr.detail-view")){n.after(ws.sprintf('<tr class="detail-view"><td colspan="%s"></td></tr>',n.children("td").length));var a=n.next().find("td"),o=t||this.options.detailFormatter,i=ws.calculateObjectValue(this.options,o,[e,r,a],"");1===a.length&&a.append(i),this.trigger("expand-row",e,r,a)}}},{key:"expandRowByUniqueId",value:function(e){var t=this.getRowByUniqueId(e);t&&this.expandRow(this.data.indexOf(t))}},{key:"collapseRow",value:function(e){var t=this.data[e],r=this.$body.find(ws.sprintf('> tr[data-index="%s"][data-has-detail-view]',e));r.next().is("tr.detail-view")&&(this.options.detailViewIcon&&r.find("a.detail-icon").html(ws.sprintf(this.constants.html.icon,this.options.iconsPrefix,this.options.icons.detailOpen)),this.trigger("collapse-row",e,t,r.next()),r.next().remove())}},{key:"collapseRowByUniqueId",value:function(e){var t=this.getRowByUniqueId(e);t&&this.collapseRow(this.data.indexOf(t))}},{key:"expandAllRows",value:function(){for(var e=this.$body.find("> tr[data-index][data-has-detail-view]"),t=0;t<e.length;t++)this.expandRow(r.default(e[t]).data("index"))}},{key:"collapseAllRows",value:function(){for(var e=this.$body.find("> tr[data-index][data-has-detail-view]"),t=0;t<e.length;t++)this.collapseRow(r.default(e[t]).data("index"))}},{key:"updateColumnTitle",value:function(e){e.hasOwnProperty("field")&&e.hasOwnProperty("title")&&(this.columns[this.fieldsColumnsIndex[e.field]].title=this.options.escape?ws.escapeHTML(e.title):e.title,this.columns[this.fieldsColumnsIndex[e.field]].visible&&(this.$header.find("th[data-field]").each(function(t,n){if(r.default(n).data("field")===e.field)return r.default(r.default(n).find(".th-inner")[0]).text(e.title),!1}),this.resetView()))}},{key:"updateFormatText",value:function(e,t){/^format/.test(e)&&this.options[e]&&("string"==typeof t?this.options[e]=function(){return t}:"function"==typeof t&&(this.options[e]=t),this.initToolbar(),this.initPagination(),this.initBody())}}]),e}();return Ns.VERSION=Es.VERSION,Ns.DEFAULTS=Es.DEFAULTS,Ns.LOCALES=Es.LOCALES,Ns.COLUMN_DEFAULTS=Es.COLUMN_DEFAULTS,Ns.METHODS=Es.METHODS,Ns.EVENTS=Es.EVENTS,r.default.BootstrapTable=Ns,r.default.fn.bootstrapTable=function(e){for(var t=arguments.length,a=new Array(t>1?t-1:0),o=1;o<t;o++)a[o-1]=arguments[o];var i;return this.each(function(t,o){var s=r.default(o).data("bootstrap.table"),c=r.default.extend({},Ns.DEFAULTS,r.default(o).data(),"object"===n(e)&&e);if("string"==typeof e){var l;if(!Es.METHODS.includes(e))throw new Error("Unknown method: ".concat(e));if(!s)return;i=(l=s)[e].apply(l,a),"destroy"===e&&r.default(o).removeData("bootstrap.table")}s||(s=new r.default.BootstrapTable(o,c),r.default(o).data("bootstrap.table",s),s.init())}),void 0===i?this:i},r.default.fn.bootstrapTable.Constructor=Ns,r.default.fn.bootstrapTable.theme=Es.THEME,r.default.fn.bootstrapTable.VERSION=Es.VERSION,r.default.fn.bootstrapTable.defaults=Ns.DEFAULTS,r.default.fn.bootstrapTable.columnDefaults=Ns.COLUMN_DEFAULTS,r.default.fn.bootstrapTable.events=Ns.EVENTS,r.default.fn.bootstrapTable.locales=Ns.LOCALES,r.default.fn.bootstrapTable.methods=Ns.METHODS,r.default.fn.bootstrapTable.utils=ws,r.default(function(){r.default('[data-toggle="table"]').bootstrapTable()}),Ns}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).jQuery)}(this,function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=t(e);function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a(e){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function i(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function s(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var r,n=a(e);if(t){var o=a(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return i(this,r)}}function c(){return(c="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=a(e)););return e}(e,t);if(n){var o=Object.getOwnPropertyDescriptor(n,t);return o.get?o.get.call(arguments.length<3?e:r):o.value}}).apply(this,arguments)}var l="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function u(e,t){return e(t={exports:{}},t.exports),t.exports}var f,h,d=function(e){return e&&e.Math==Math&&e},p=d("object"==typeof globalThis&&globalThis)||d("object"==typeof window&&window)||d("object"==typeof self&&self)||d("object"==typeof l&&l)||function(){return this}()||Function("return this")(),g=function(e){try{return!!e()}catch(e){return!0}},m=!g(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),v=!g(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}),b=Function.prototype.call,y=v?b.bind(b):function(){return b.apply(b,arguments)},w={}.propertyIsEnumerable,S=Object.getOwnPropertyDescriptor,x={f:S&&!w.call({1:2},1)?function(e){var t=S(this,e);return!!t&&t.enumerable}:w},k=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},A=Function.prototype,T=A.bind,E=A.call,_=v&&T.bind(E,E),N=v?function(e){return e&&_(e)}:function(e){return e&&function(){return E.apply(e,arguments)}},C=N({}.toString),R=N("".slice),O=function(e){return R(C(e),8,-1)},L=p.Object,P=N("".split),I=g(function(){return!L("z").propertyIsEnumerable(0)})?function(e){return"String"==O(e)?P(e,""):L(e)}:L,F=p.TypeError,D=function(e){if(null==e)throw F("Can't call method on "+e);return e},M=function(e){return I(D(e))},j=function(e){return"function"==typeof e},B=function(e){return"object"==typeof e?null!==e:j(e)},W=function(e,t){return arguments.length<2?(r=p[e],j(r)?r:void 0):p[e]&&p[e][t];var r},U=N({}.isPrototypeOf),z=W("navigator","userAgent")||"",H=p.process,V=p.Deno,q=H&&H.versions||V&&V.version,$=q&&q.v8;$&&(h=(f=$.split("."))[0]>0&&f[0]<4?1:+(f[0]+f[1])),!h&&z&&(!(f=z.match(/Edge\/(\d+)/))||f[1]>=74)&&(f=z.match(/Chrome\/(\d+)/))&&(h=+f[1]);var G=h,X=!!Object.getOwnPropertySymbols&&!g(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&G&&G<41}),Y=X&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,K=p.Object,J=Y?function(e){return"symbol"==typeof e}:function(e){var t=W("Symbol");return j(t)&&U(t.prototype,K(e))},Z=p.String,Q=p.TypeError,ee=function(e){if(j(e))return e;throw Q(function(e){try{return Z(e)}catch(e){return"Object"}}(e)+" is not a function")},te=p.TypeError,re=Object.defineProperty,ne=function(e,t){try{re(p,e,{value:t,configurable:!0,writable:!0})}catch(r){p[e]=t}return t},ae=p["__core-js_shared__"]||ne("__core-js_shared__",{}),oe=u(function(e){(e.exports=function(e,t){return ae[e]||(ae[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.21.1",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE",source:"https://github.com/zloirock/core-js"})}),ie=p.Object,se=function(e){return ie(D(e))},ce=N({}.hasOwnProperty),le=Object.hasOwn||function(e,t){return ce(se(e),t)},ue=0,fe=Math.random(),he=N(1..toString),de=function(e){return"Symbol("+(void 0===e?"":e)+")_"+he(++ue+fe,36)},pe=oe("wks"),ge=p.Symbol,me=ge&&ge.for,ve=Y?ge:ge&&ge.withoutSetter||de,be=function(e){if(!le(pe,e)||!X&&"string"!=typeof pe[e]){var t="Symbol."+e;X&&le(ge,e)?pe[e]=ge[e]:pe[e]=Y&&me?me(t):ve(t)}return pe[e]},ye=p.TypeError,we=be("toPrimitive"),Se=function(e,t){if(!B(e)||J(e))return e;var r,n,a=null==(r=e[we])?void 0:ee(r);if(a){if(void 0===t&&(t="default"),n=y(a,e,t),!B(n)||J(n))return n;throw ye("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var r,n;if("string"===t&&j(r=e.toString)&&!B(n=y(r,e)))return n;if(j(r=e.valueOf)&&!B(n=y(r,e)))return n;if("string"!==t&&j(r=e.toString)&&!B(n=y(r,e)))return n;throw te("Can't convert object to primitive value")}(e,t)},xe=function(e){var t=Se(e,"string");return J(t)?t:t+""},ke=p.document,Ae=B(ke)&&B(ke.createElement),Te=function(e){return Ae?ke.createElement(e):{}},Ee=!m&&!g(function(){return 7!=Object.defineProperty(Te("div"),"a",{get:function(){return 7}}).a}),_e=Object.getOwnPropertyDescriptor,Ne={f:m?_e:function(e,t){if(e=M(e),t=xe(t),Ee)try{return _e(e,t)}catch(e){}if(le(e,t))return k(!y(x.f,e,t),e[t])}},Ce=m&&g(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}),Re=p.String,Oe=p.TypeError,Le=function(e){if(B(e))return e;throw Oe(Re(e)+" is not an object")},Pe=p.TypeError,Ie=Object.defineProperty,Fe=Object.getOwnPropertyDescriptor,De={f:m?Ce?function(e,t,r){if(Le(e),t=xe(t),Le(r),"function"==typeof e&&"prototype"===t&&"value"in r&&"writable"in r&&!r.writable){var n=Fe(e,t);n&&n.writable&&(e[t]=r.value,r={configurable:"configurable"in r?r.configurable:n.configurable,enumerable:"enumerable"in r?r.enumerable:n.enumerable,writable:!1})}return Ie(e,t,r)}:Ie:function(e,t,r){if(Le(e),t=xe(t),Le(r),Ee)try{return Ie(e,t,r)}catch(e){}if("get"in r||"set"in r)throw Pe("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},Me=m?function(e,t,r){return De.f(e,t,k(1,r))}:function(e,t,r){return e[t]=r,e},je=N(Function.toString);j(ae.inspectSource)||(ae.inspectSource=function(e){return je(e)});var Be,We,Ue,ze=ae.inspectSource,He=p.WeakMap,Ve=j(He)&&/native code/.test(ze(He)),qe=oe("keys"),$e=function(e){return qe[e]||(qe[e]=de(e))},Ge={},Xe=p.TypeError,Ye=p.WeakMap;if(Ve||ae.state){var Ke=ae.state||(ae.state=new Ye),Je=N(Ke.get),Ze=N(Ke.has),Qe=N(Ke.set);Be=function(e,t){if(Ze(Ke,e))throw new Xe("Object already initialized");return t.facade=e,Qe(Ke,e,t),t},We=function(e){return Je(Ke,e)||{}},Ue=function(e){return Ze(Ke,e)}}else{var et=$e("state");Ge[et]=!0,Be=function(e,t){if(le(e,et))throw new Xe("Object already initialized");return t.facade=e,Me(e,et,t),t},We=function(e){return le(e,et)?e[et]:{}},Ue=function(e){return le(e,et)}}var tt={set:Be,get:We,has:Ue,enforce:function(e){return Ue(e)?We(e):Be(e,{})},getterFor:function(e){return function(t){var r;if(!B(t)||(r=We(t)).type!==e)throw Xe("Incompatible receiver, "+e+" required");return r}}},rt=Function.prototype,nt=m&&Object.getOwnPropertyDescriptor,at=le(rt,"name"),ot={EXISTS:at,PROPER:at&&"something"===function(){}.name,CONFIGURABLE:at&&(!m||m&&nt(rt,"name").configurable)},it=u(function(e){var t=ot.CONFIGURABLE,r=tt.get,n=tt.enforce,a=String(String).split("String");(e.exports=function(e,r,o,i){var s,c=!!i&&!!i.unsafe,l=!!i&&!!i.enumerable,u=!!i&&!!i.noTargetGet,f=i&&void 0!==i.name?i.name:r;j(o)&&("Symbol("===String(f).slice(0,7)&&(f="["+String(f).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!le(o,"name")||t&&o.name!==f)&&Me(o,"name",f),(s=n(o)).source||(s.source=a.join("string"==typeof f?f:""))),e!==p?(c?!u&&e[r]&&(l=!0):delete e[r],l?e[r]=o:Me(e,r,o)):l?e[r]=o:ne(r,o)})(Function.prototype,"toString",function(){return j(this)&&r(this).source||ze(this)})}),st=Math.ceil,ct=Math.floor,lt=function(e){var t=+e;return t!=t||0===t?0:(t>0?ct:st)(t)},ut=Math.max,ft=Math.min,ht=Math.min,dt=function(e){return(t=e.length)>0?ht(lt(t),9007199254740991):0;var t},pt=function(e){return function(t,r,n){var a,o=M(t),i=dt(o),s=function(e,t){var r=lt(e);return r<0?ut(r+t,0):ft(r,t)}(n,i);if(e&&r!=r){for(;i>s;)if((a=o[s++])!=a)return!0}else for(;i>s;s++)if((e||s in o)&&o[s]===r)return e||s||0;return!e&&-1}},gt={includes:pt(!0),indexOf:pt(!1)},mt=gt.indexOf,vt=N([].push),bt=function(e,t){var r,n=M(e),a=0,o=[];for(r in n)!le(Ge,r)&&le(n,r)&&vt(o,r);for(;t.length>a;)le(n,r=t[a++])&&(~mt(o,r)||vt(o,r));return o},yt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],wt=yt.concat("length","prototype"),St={f:Object.getOwnPropertyNames||function(e){return bt(e,wt)}},xt={f:Object.getOwnPropertySymbols},kt=N([].concat),At=W("Reflect","ownKeys")||function(e){var t=St.f(Le(e)),r=xt.f;return r?kt(t,r(e)):t},Tt=function(e,t,r){for(var n=At(t),a=De.f,o=Ne.f,i=0;i<n.length;i++){var s=n[i];le(e,s)||r&&le(r,s)||a(e,s,o(t,s))}},Et=/#|\.prototype\./,_t=function(e,t){var r=Ct[Nt(e)];return r==Ot||r!=Rt&&(j(t)?g(t):!!t)},Nt=_t.normalize=function(e){return String(e).replace(Et,".").toLowerCase()},Ct=_t.data={},Rt=_t.NATIVE="N",Ot=_t.POLYFILL="P",Lt=_t,Pt=Ne.f,It=function(e,t){var r,n,a,o,i,s=e.target,c=e.global,l=e.stat;if(r=c?p:l?p[s]||ne(s,{}):(p[s]||{}).prototype)for(n in t){if(o=t[n],a=e.noTargetGet?(i=Pt(r,n))&&i.value:r[n],!Lt(c?n:s+(l?".":"#")+n,e.forced)&&void 0!==a){if(typeof o==typeof a)continue;Tt(o,a)}(e.sham||a&&a.sham)&&Me(o,"sham",!0),it(r,n,o,e)}},Ft=Array.isArray||function(e){return"Array"==O(e)},Dt=function(e,t,r){var n=xe(t);n in e?De.f(e,n,k(0,r)):e[n]=r},Mt={};Mt[be("toStringTag")]="z";var jt="[object z]"===String(Mt),Bt=be("toStringTag"),Wt=p.Object,Ut="Arguments"==O(function(){return arguments}()),zt=jt?O:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Wt(e),Bt))?r:Ut?O(t):"Object"==(n=O(t))&&j(t.callee)?"Arguments":n},Ht=function(){},Vt=[],qt=W("Reflect","construct"),$t=/^\s*(?:class|function)\b/,Gt=N($t.exec),Xt=!$t.exec(Ht),Yt=function(e){if(!j(e))return!1;try{return qt(Ht,Vt,e),!0}catch(e){return!1}},Kt=function(e){if(!j(e))return!1;switch(zt(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Xt||!!Gt($t,ze(e))}catch(e){return!0}};Kt.sham=!0;var Jt,Zt=!qt||g(function(){var e;return Yt(Yt.call)||!Yt(Object)||!Yt(function(){e=!0})||e})?Kt:Yt,Qt=be("species"),er=p.Array,tr=function(e,t){return new(function(e){var t;return Ft(e)&&(t=e.constructor,Zt(t)&&(t===er||Ft(t.prototype))?t=void 0:B(t)&&null===(t=t[Qt])&&(t=void 0)),void 0===t?er:t}(e))(0===t?0:t)},rr=be("species"),nr=be("isConcatSpreadable"),ar=p.TypeError,or=G>=51||!g(function(){var e=[];return e[nr]=!1,e.concat()[0]!==e}),ir=(Jt="concat",G>=51||!g(function(){var e=[];return(e.constructor={})[rr]=function(){return{foo:1}},1!==e[Jt](Boolean).foo})),sr=function(e){if(!B(e))return!1;var t=e[nr];return void 0!==t?!!t:Ft(e)};It({target:"Array",proto:!0,forced:!or||!ir},{concat:function(e){var t,r,n,a,o,i=se(this),s=tr(i,0),c=0;for(t=-1,n=arguments.length;t<n;t++)if(o=-1===t?i:arguments[t],sr(o)){if(c+(a=dt(o))>9007199254740991)throw ar("Maximum allowed index exceeded");for(r=0;r<a;r++,c++)r in o&&Dt(s,c,o[r])}else{if(c>=9007199254740991)throw ar("Maximum allowed index exceeded");Dt(s,c++,o)}return s.length=c,s}});var cr,lr=Object.keys||function(e){return bt(e,yt)},ur={f:m&&!Ce?Object.defineProperties:function(e,t){Le(e);for(var r,n=M(t),a=lr(t),o=a.length,i=0;o>i;)De.f(e,r=a[i++],n[r]);return e}},fr=W("document","documentElement"),hr=$e("IE_PROTO"),dr=function(){},pr=function(e){return"<script>"+e+"<\/script>"},gr=function(e){e.write(pr("")),e.close();var t=e.parentWindow.Object;return e=null,t},mr=function(){try{cr=new ActiveXObject("htmlfile")}catch(e){}var e,t;mr="undefined"!=typeof document?document.domain&&cr?gr(cr):((t=Te("iframe")).style.display="none",fr.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(pr("document.F=Object")),e.close(),e.F):gr(cr);for(var r=yt.length;r--;)delete mr.prototype[yt[r]];return mr()};Ge[hr]=!0;var vr=Object.create||function(e,t){var r;return null!==e?(dr.prototype=Le(e),r=new dr,dr.prototype=null,r[hr]=e):r=mr(),void 0===t?r:ur.f(r,t)},br=be("unscopables"),yr=Array.prototype;null==yr[br]&&De.f(yr,br,{configurable:!0,value:vr(null)});var wr,Sr=gt.includes;It({target:"Array",proto:!0},{includes:function(e){return Sr(this,e,arguments.length>1?arguments[1]:void 0)}}),wr="includes",yr[br][wr]=!0;var xr=jt?{}.toString:function(){return"[object "+zt(this)+"]"};jt||it(Object.prototype,"toString",xr,{unsafe:!0});var kr={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Ar=Te("span").classList,Tr=Ar&&Ar.constructor&&Ar.constructor.prototype,Er=Tr===Object.prototype?void 0:Tr,_r=N(N.bind),Nr=N([].push),Cr=function(e){var t=1==e,r=2==e,n=3==e,a=4==e,o=6==e,i=7==e,s=5==e||o;return function(c,l,u,f){for(var h,d,p=se(c),g=I(p),m=function(e,t){return ee(e),void 0===t?e:v?_r(e,t):function(){return e.apply(t,arguments)}}(l,u),b=dt(g),y=0,w=f||tr,S=t?w(c,b):r||i?w(c,0):void 0;b>y;y++)if((s||y in g)&&(d=m(h=g[y],y,p),e))if(t)S[y]=d;else if(d)switch(e){case 3:return!0;case 5:return h;case 6:return y;case 2:Nr(S,h)}else switch(e){case 4:return!1;case 7:Nr(S,h)}return o?-1:n||a?a:S}},Rr={forEach:Cr(0),map:Cr(1),filter:Cr(2),some:Cr(3),every:Cr(4),find:Cr(5),findIndex:Cr(6),filterReject:Cr(7)}.forEach,Or=function(e,t){var r=[][e];return!!r&&g(function(){r.call(null,t||function(){return 1},1)})}("forEach")?[].forEach:function(e){return Rr(this,e,arguments.length>1?arguments[1]:void 0)},Lr=function(e){if(e&&e.forEach!==Or)try{Me(e,"forEach",Or)}catch(t){e.forEach=Or}};for(var Pr in kr)kr[Pr]&&Lr(p[Pr]&&p[Pr].prototype);Lr(Er);var Ir=be("match"),Fr=p.TypeError,Dr=function(e){if(function(e){var t;return B(e)&&(void 0!==(t=e[Ir])?!!t:"RegExp"==O(e))}(e))throw Fr("The method doesn't accept regular expressions");return e},Mr=p.String,jr=function(e){if("Symbol"===zt(e))throw TypeError("Cannot convert a Symbol value to a string");return Mr(e)},Br=be("match"),Wr=N("".indexOf);It({target:"String",proto:!0,forced:!function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[Br]=!1,"/./"[e](t)}catch(e){}}return!1}("includes")},{includes:function(e){return!!~Wr(jr(D(this)),jr(Dr(e)),arguments.length>1?arguments[1]:void 0)}});r.default.extend(r.default.fn.bootstrapTable.defaults,{mobileResponsive:!1,minWidth:562,minHeight:void 0,heightThreshold:100,checkOnInit:!0,columnsHidden:[]}),r.default.BootstrapTable=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&o(e,t)}(f,r["default"].BootstrapTable);var t,i,l,u=s(f);function f(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),u.apply(this,arguments)}return t=f,(i=[{key:"init",value:function(){for(var e,t=this,n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];if((e=c(a(f.prototype),"init",this)).call.apply(e,[this].concat(o)),this.options.mobileResponsive&&this.options.minWidth){this.options.minWidth<100&&this.options.resizable&&(console.warn("The minWidth when the resizable extension is active should be greater or equal than 100"),this.options.minWidth=100);var s,l,u,h={width:r.default(window).width(),height:r.default(window).height()};if(r.default(window).on("resize orientationchange",(s=function(){var e=r.default(window).width(),n=r.default(window).height(),a=r.default(document.activeElement);a.length&&["INPUT","SELECT","TEXTAREA"].includes(a.prop("nodeName"))||(Math.abs(h.height-n)>t.options.heightThreshold||h.width!==e)&&(t.changeView(e,n),h={width:e,height:n})},l=200,u=0,function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];clearTimeout(u),u=setTimeout(function(){u=0,s.apply(void 0,t)},l)})),this.options.checkOnInit){var d=r.default(window).width(),p=r.default(window).height();this.changeView(d,p),h={width:d,height:p}}}}},{key:"conditionCardView",value:function(){this.changeTableView(!1),this.showHideColumns(!1)}},{key:"conditionFullView",value:function(){this.changeTableView(!0),this.showHideColumns(!0)}},{key:"changeTableView",value:function(e){this.options.cardView=e,this.toggleView()}},{key:"showHideColumns",value:function(e){var t=this;this.options.columnsHidden.length>0&&this.columns.forEach(function(r){t.options.columnsHidden.includes(r.field)&&r.visible!==e&&t._toggleColumn(t.fieldsColumnsIndex[r.field],e,!0)})}},{key:"changeView",value:function(e,t){this.options.minHeight?e<=this.options.minWidth&&t<=this.options.minHeight?this.conditionCardView():e>this.options.minWidth&&t>this.options.minHeight&&this.conditionFullView():e<=this.options.minWidth?this.conditionCardView():e>this.options.minWidth&&this.conditionFullView(),this.resetView()}}])&&n(t.prototype,i),l&&n(t,l),Object.defineProperty(t,"prototype",{writable:!1}),f}()}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).jQuery)}(this,function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=t(e);function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var r,n=o(e);if(t){var a=o(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return s(this,r)}}function l(){return(l="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=o(e)););return e}(e,t);if(n){var a=Object.getOwnPropertyDescriptor(n,t);return a.get?a.get.call(arguments.length<3?e:r):a.value}}).apply(this,arguments)}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function f(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){s=!0,o=e},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw o}}}}var h="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function d(e,t){return e(t={exports:{}},t.exports),t.exports}var p,g,m=function(e){return e&&e.Math==Math&&e},v=m("object"==typeof globalThis&&globalThis)||m("object"==typeof window&&window)||m("object"==typeof self&&self)||m("object"==typeof h&&h)||function(){return this}()||Function("return this")(),b=function(e){try{return!!e()}catch(e){return!0}},y=!b(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),w=!b(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}),S=Function.prototype.call,x=w?S.bind(S):function(){return S.apply(S,arguments)},k={}.propertyIsEnumerable,A=Object.getOwnPropertyDescriptor,T={f:A&&!k.call({1:2},1)?function(e){var t=A(this,e);return!!t&&t.enumerable}:k},E=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},_=Function.prototype,N=_.bind,C=_.call,R=w&&N.bind(C,C),O=w?function(e){return e&&R(e)}:function(e){return e&&function(){return C.apply(e,arguments)}},L=O({}.toString),P=O("".slice),I=function(e){return P(L(e),8,-1)},F=v.Object,D=O("".split),M=b(function(){return!F("z").propertyIsEnumerable(0)})?function(e){return"String"==I(e)?D(e,""):F(e)}:F,j=v.TypeError,B=function(e){if(null==e)throw j("Can't call method on "+e);return e},W=function(e){return M(B(e))},U=function(e){return"function"==typeof e},z=function(e){return"object"==typeof e?null!==e:U(e)},H=function(e,t){return arguments.length<2?(r=v[e],U(r)?r:void 0):v[e]&&v[e][t];var r},V=O({}.isPrototypeOf),q=H("navigator","userAgent")||"",$=v.process,G=v.Deno,X=$&&$.versions||G&&G.version,Y=X&&X.v8;Y&&(g=(p=Y.split("."))[0]>0&&p[0]<4?1:+(p[0]+p[1])),!g&&q&&(!(p=q.match(/Edge\/(\d+)/))||p[1]>=74)&&(p=q.match(/Chrome\/(\d+)/))&&(g=+p[1]);var K=g,J=!!Object.getOwnPropertySymbols&&!b(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&K&&K<41}),Z=J&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Q=v.Object,ee=Z?function(e){return"symbol"==typeof e}:function(e){var t=H("Symbol");return U(t)&&V(t.prototype,Q(e))},te=v.String,re=function(e){try{return te(e)}catch(e){return"Object"}},ne=v.TypeError,ae=function(e){if(U(e))return e;throw ne(re(e)+" is not a function")},oe=function(e,t){var r=e[t];return null==r?void 0:ae(r)},ie=v.TypeError,se=Object.defineProperty,ce=function(e,t){try{se(v,e,{value:t,configurable:!0,writable:!0})}catch(r){v[e]=t}return t},le=v["__core-js_shared__"]||ce("__core-js_shared__",{}),ue=d(function(e){(e.exports=function(e,t){return le[e]||(le[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.21.1",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE",source:"https://github.com/zloirock/core-js"})}),fe=v.Object,he=function(e){return fe(B(e))},de=O({}.hasOwnProperty),pe=Object.hasOwn||function(e,t){return de(he(e),t)},ge=0,me=Math.random(),ve=O(1..toString),be=function(e){return"Symbol("+(void 0===e?"":e)+")_"+ve(++ge+me,36)},ye=ue("wks"),we=v.Symbol,Se=we&&we.for,xe=Z?we:we&&we.withoutSetter||be,ke=function(e){if(!pe(ye,e)||!J&&"string"!=typeof ye[e]){var t="Symbol."+e;J&&pe(we,e)?ye[e]=we[e]:ye[e]=Z&&Se?Se(t):xe(t)}return ye[e]},Ae=v.TypeError,Te=ke("toPrimitive"),Ee=function(e,t){if(!z(e)||ee(e))return e;var r,n=oe(e,Te);if(n){if(void 0===t&&(t="default"),r=x(n,e,t),!z(r)||ee(r))return r;throw Ae("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var r,n;if("string"===t&&U(r=e.toString)&&!z(n=x(r,e)))return n;if(U(r=e.valueOf)&&!z(n=x(r,e)))return n;if("string"!==t&&U(r=e.toString)&&!z(n=x(r,e)))return n;throw ie("Can't convert object to primitive value")}(e,t)},_e=function(e){var t=Ee(e,"string");return ee(t)?t:t+""},Ne=v.document,Ce=z(Ne)&&z(Ne.createElement),Re=function(e){return Ce?Ne.createElement(e):{}},Oe=!y&&!b(function(){return 7!=Object.defineProperty(Re("div"),"a",{get:function(){return 7}}).a}),Le=Object.getOwnPropertyDescriptor,Pe={f:y?Le:function(e,t){if(e=W(e),t=_e(t),Oe)try{return Le(e,t)}catch(e){}if(pe(e,t))return E(!x(T.f,e,t),e[t])}},Ie=y&&b(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}),Fe=v.String,De=v.TypeError,Me=function(e){if(z(e))return e;throw De(Fe(e)+" is not an object")},je=v.TypeError,Be=Object.defineProperty,We=Object.getOwnPropertyDescriptor,Ue={f:y?Ie?function(e,t,r){if(Me(e),t=_e(t),Me(r),"function"==typeof e&&"prototype"===t&&"value"in r&&"writable"in r&&!r.writable){var n=We(e,t);n&&n.writable&&(e[t]=r.value,r={configurable:"configurable"in r?r.configurable:n.configurable,enumerable:"enumerable"in r?r.enumerable:n.enumerable,writable:!1})}return Be(e,t,r)}:Be:function(e,t,r){if(Me(e),t=_e(t),Me(r),Oe)try{return Be(e,t,r)}catch(e){}if("get"in r||"set"in r)throw je("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},ze=y?function(e,t,r){return Ue.f(e,t,E(1,r))}:function(e,t,r){return e[t]=r,e},He=O(Function.toString);U(le.inspectSource)||(le.inspectSource=function(e){return He(e)});var Ve,qe,$e,Ge=le.inspectSource,Xe=v.WeakMap,Ye=U(Xe)&&/native code/.test(Ge(Xe)),Ke=ue("keys"),Je=function(e){return Ke[e]||(Ke[e]=be(e))},Ze={},Qe=v.TypeError,et=v.WeakMap;if(Ye||le.state){var tt=le.state||(le.state=new et),rt=O(tt.get),nt=O(tt.has),at=O(tt.set);Ve=function(e,t){if(nt(tt,e))throw new Qe("Object already initialized");return t.facade=e,at(tt,e,t),t},qe=function(e){return rt(tt,e)||{}},$e=function(e){return nt(tt,e)}}else{var ot=Je("state");Ze[ot]=!0,Ve=function(e,t){if(pe(e,ot))throw new Qe("Object already initialized");return t.facade=e,ze(e,ot,t),t},qe=function(e){return pe(e,ot)?e[ot]:{}},$e=function(e){return pe(e,ot)}}var it={set:Ve,get:qe,has:$e,enforce:function(e){return $e(e)?qe(e):Ve(e,{})},getterFor:function(e){return function(t){var r;if(!z(t)||(r=qe(t)).type!==e)throw Qe("Incompatible receiver, "+e+" required");return r}}},st=Function.prototype,ct=y&&Object.getOwnPropertyDescriptor,lt=pe(st,"name"),ut={EXISTS:lt,PROPER:lt&&"something"===function(){}.name,CONFIGURABLE:lt&&(!y||y&&ct(st,"name").configurable)},ft=d(function(e){var t=ut.CONFIGURABLE,r=it.get,n=it.enforce,a=String(String).split("String");(e.exports=function(e,r,o,i){var s,c=!!i&&!!i.unsafe,l=!!i&&!!i.enumerable,u=!!i&&!!i.noTargetGet,f=i&&void 0!==i.name?i.name:r;U(o)&&("Symbol("===String(f).slice(0,7)&&(f="["+String(f).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!pe(o,"name")||t&&o.name!==f)&&ze(o,"name",f),(s=n(o)).source||(s.source=a.join("string"==typeof f?f:""))),e!==v?(c?!u&&e[r]&&(l=!0):delete e[r],l?e[r]=o:ze(e,r,o)):l?e[r]=o:ce(r,o)})(Function.prototype,"toString",function(){return U(this)&&r(this).source||Ge(this)})}),ht=Math.ceil,dt=Math.floor,pt=function(e){var t=+e;return t!=t||0===t?0:(t>0?dt:ht)(t)},gt=Math.max,mt=Math.min,vt=function(e,t){var r=pt(e);return r<0?gt(r+t,0):mt(r,t)},bt=Math.min,yt=function(e){return e>0?bt(pt(e),9007199254740991):0},wt=function(e){return yt(e.length)},St=function(e){return function(t,r,n){var a,o=W(t),i=wt(o),s=vt(n,i);if(e&&r!=r){for(;i>s;)if((a=o[s++])!=a)return!0}else for(;i>s;s++)if((e||s in o)&&o[s]===r)return e||s||0;return!e&&-1}},xt={includes:St(!0),indexOf:St(!1)}.indexOf,kt=O([].push),At=function(e,t){var r,n=W(e),a=0,o=[];for(r in n)!pe(Ze,r)&&pe(n,r)&&kt(o,r);for(;t.length>a;)pe(n,r=t[a++])&&(~xt(o,r)||kt(o,r));return o},Tt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Et=Tt.concat("length","prototype"),_t={f:Object.getOwnPropertyNames||function(e){return At(e,Et)}},Nt={f:Object.getOwnPropertySymbols},Ct=O([].concat),Rt=H("Reflect","ownKeys")||function(e){var t=_t.f(Me(e)),r=Nt.f;return r?Ct(t,r(e)):t},Ot=function(e,t,r){for(var n=Rt(t),a=Ue.f,o=Pe.f,i=0;i<n.length;i++){var s=n[i];pe(e,s)||r&&pe(r,s)||a(e,s,o(t,s))}},Lt=/#|\.prototype\./,Pt=function(e,t){var r=Ft[It(e)];return r==Mt||r!=Dt&&(U(t)?b(t):!!t)},It=Pt.normalize=function(e){return String(e).replace(Lt,".").toLowerCase()},Ft=Pt.data={},Dt=Pt.NATIVE="N",Mt=Pt.POLYFILL="P",jt=Pt,Bt=Pe.f,Wt=function(e,t){var r,n,a,o,i,s=e.target,c=e.global,l=e.stat;if(r=c?v:l?v[s]||ce(s,{}):(v[s]||{}).prototype)for(n in t){if(o=t[n],a=e.noTargetGet?(i=Bt(r,n))&&i.value:r[n],!jt(c?n:s+(l?".":"#")+n,e.forced)&&void 0!==a){if(typeof o==typeof a)continue;Ot(o,a)}(e.sham||a&&a.sham)&&ze(o,"sham",!0),ft(r,n,o,e)}},Ut=O(O.bind),zt=Array.isArray||function(e){return"Array"==I(e)},Ht={};Ht[ke("toStringTag")]="z";var Vt="[object z]"===String(Ht),qt=ke("toStringTag"),$t=v.Object,Gt="Arguments"==I(function(){return arguments}()),Xt=Vt?I:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=$t(e),qt))?r:Gt?I(t):"Object"==(n=I(t))&&U(t.callee)?"Arguments":n},Yt=function(){},Kt=[],Jt=H("Reflect","construct"),Zt=/^\s*(?:class|function)\b/,Qt=O(Zt.exec),er=!Zt.exec(Yt),tr=function(e){if(!U(e))return!1;try{return Jt(Yt,Kt,e),!0}catch(e){return!1}},rr=function(e){if(!U(e))return!1;switch(Xt(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return er||!!Qt(Zt,Ge(e))}catch(e){return!0}};rr.sham=!0;var nr,ar=!Jt||b(function(){var e;return tr(tr.call)||!tr(Object)||!tr(function(){e=!0})||e})?rr:tr,or=ke("species"),ir=v.Array,sr=function(e,t){return new(function(e){var t;return zt(e)&&(t=e.constructor,ar(t)&&(t===ir||zt(t.prototype))?t=void 0:z(t)&&null===(t=t[or])&&(t=void 0)),void 0===t?ir:t}(e))(0===t?0:t)},cr=O([].push),lr=function(e){var t=1==e,r=2==e,n=3==e,a=4==e,o=6==e,i=7==e,s=5==e||o;return function(c,l,u,f){for(var h,d,p=he(c),g=M(p),m=function(e,t){return ae(e),void 0===t?e:w?Ut(e,t):function(){return e.apply(t,arguments)}}(l,u),v=wt(g),b=0,y=f||sr,S=t?y(c,v):r||i?y(c,0):void 0;v>b;b++)if((s||b in g)&&(d=m(h=g[b],b,p),e))if(t)S[b]=d;else if(d)switch(e){case 3:return!0;case 5:return h;case 6:return b;case 2:cr(S,h)}else switch(e){case 4:return!1;case 7:cr(S,h)}return o?-1:n||a?a:S}},ur={forEach:lr(0),map:lr(1),filter:lr(2),some:lr(3),every:lr(4),find:lr(5),findIndex:lr(6),filterReject:lr(7)},fr=Object.keys||function(e){return At(e,Tt)},hr={f:y&&!Ie?Object.defineProperties:function(e,t){Me(e);for(var r,n=W(t),a=fr(t),o=a.length,i=0;o>i;)Ue.f(e,r=a[i++],n[r]);return e}},dr=H("document","documentElement"),pr=Je("IE_PROTO"),gr=function(){},mr=function(e){return"<script>"+e+"<\/script>"},vr=function(e){e.write(mr("")),e.close();var t=e.parentWindow.Object;return e=null,t},br=function(){try{nr=new ActiveXObject("htmlfile")}catch(e){}var e,t;br="undefined"!=typeof document?document.domain&&nr?vr(nr):((t=Re("iframe")).style.display="none",dr.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(mr("document.F=Object")),e.close(),e.F):vr(nr);for(var r=Tt.length;r--;)delete br.prototype[Tt[r]];return br()};Ze[pr]=!0;var yr=Object.create||function(e,t){var r;return null!==e?(gr.prototype=Me(e),r=new gr,gr.prototype=null,r[pr]=e):r=br(),void 0===t?r:hr.f(r,t)},wr=ke("unscopables"),Sr=Array.prototype;null==Sr[wr]&&Ue.f(Sr,wr,{configurable:!0,value:yr(null)});var xr,kr=ur.find,Ar=!0;"find"in[]&&Array(1).find(function(){Ar=!1}),Wt({target:"Array",proto:!0,forced:Ar},{find:function(e){return kr(this,e,arguments.length>1?arguments[1]:void 0)}}),xr="find",Sr[wr][xr]=!0;var Tr=Vt?{}.toString:function(){return"[object "+Xt(this)+"]"};Vt||ft(Object.prototype,"toString",Tr,{unsafe:!0});var Er,_r,Nr=v.String,Cr=function(e){if("Symbol"===Xt(e))throw TypeError("Cannot convert a Symbol value to a string");return Nr(e)},Rr=function(){var e=Me(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},Or=v.RegExp,Lr=b(function(){var e=Or("a","y");return e.lastIndex=2,null!=e.exec("abcd")}),Pr=Lr||b(function(){return!Or("a","y").sticky}),Ir={BROKEN_CARET:Lr||b(function(){var e=Or("^r","gy");return e.lastIndex=2,null!=e.exec("str")}),MISSED_STICKY:Pr,UNSUPPORTED_Y:Lr},Fr=v.RegExp,Dr=b(function(){var e=Fr(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}),Mr=v.RegExp,jr=b(function(){var e=Mr("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}),Br=it.get,Wr=ue("native-string-replace",String.prototype.replace),Ur=RegExp.prototype.exec,zr=Ur,Hr=O("".charAt),Vr=O("".indexOf),qr=O("".replace),$r=O("".slice),Gr=(_r=/b*/g,x(Ur,Er=/a/,"a"),x(Ur,_r,"a"),0!==Er.lastIndex||0!==_r.lastIndex),Xr=Ir.BROKEN_CARET,Yr=void 0!==/()??/.exec("")[1];(Gr||Yr||Xr||Dr||jr)&&(zr=function(e){var t,r,n,a,o,i,s,c=this,l=Br(c),u=Cr(e),f=l.raw;if(f)return f.lastIndex=c.lastIndex,t=x(zr,f,u),c.lastIndex=f.lastIndex,t;var h=l.groups,d=Xr&&c.sticky,p=x(Rr,c),g=c.source,m=0,v=u;if(d&&(p=qr(p,"y",""),-1===Vr(p,"g")&&(p+="g"),v=$r(u,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&"\n"!==Hr(u,c.lastIndex-1))&&(g="(?: "+g+")",v=" "+v,m++),r=new RegExp("^(?:"+g+")",p)),Yr&&(r=new RegExp("^"+g+"$(?!\\s)",p)),Gr&&(n=c.lastIndex),a=x(Ur,d?r:c,v),d?a?(a.input=$r(a.input,m),a[0]=$r(a[0],m),a.index=c.lastIndex,c.lastIndex+=a[0].length):c.lastIndex=0:Gr&&a&&(c.lastIndex=c.global?a.index+a[0].length:n),Yr&&a&&a.length>1&&x(Wr,a[0],r,function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(a[o]=void 0)}),a&&h)for(a.groups=i=yr(null),o=0;o<h.length;o++)i[(s=h[o])[0]]=a[s[1]];return a});var Kr=zr;Wt({target:"RegExp",proto:!0,forced:/./.exec!==Kr},{exec:Kr});var Jr=Function.prototype,Zr=Jr.apply,Qr=Jr.call,en="object"==typeof Reflect&&Reflect.apply||(w?Qr.bind(Zr):function(){return Qr.apply(Zr,arguments)}),tn=ke("species"),rn=RegExp.prototype,nn=function(e,t,r,n){var a=ke(e),o=!b(function(){var t={};return t[a]=function(){return 7},7!=""[e](t)}),i=o&&!b(function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[tn]=function(){return r},r.flags="",r[a]=/./[a]),r.exec=function(){return t=!0,null},r[a](""),!t});if(!o||!i||r){var s=O(/./[a]),c=t(a,""[e],function(e,t,r,n,a){var i=O(e),c=t.exec;return c===Kr||c===rn.exec?o&&!a?{done:!0,value:s(t,r,n)}:{done:!0,value:i(r,t,n)}:{done:!1}});ft(String.prototype,e,c[0]),ft(rn,a,c[1])}n&&ze(rn[a],"sham",!0)},an=ke("match"),on=v.TypeError,sn=ke("species"),cn=function(e,t){var r,n=Me(e).constructor;return void 0===n||null==(r=Me(n)[sn])?t:function(e){if(ar(e))return e;throw on(re(e)+" is not a constructor")}(r)},ln=O("".charAt),un=O("".charCodeAt),fn=O("".slice),hn=function(e){return function(t,r){var n,a,o=Cr(B(t)),i=pt(r),s=o.length;return i<0||i>=s?e?"":void 0:(n=un(o,i))<55296||n>56319||i+1===s||(a=un(o,i+1))<56320||a>57343?e?ln(o,i):n:e?fn(o,i,i+2):a-56320+(n-55296<<10)+65536}},dn={codeAt:hn(!1),charAt:hn(!0)}.charAt,pn=function(e,t,r){return t+(r?dn(e,t).length:1)},gn=function(e,t,r){var n=_e(t);n in e?Ue.f(e,n,E(0,r)):e[n]=r},mn=v.Array,vn=Math.max,bn=function(e,t,r){for(var n=wt(e),a=vt(t,n),o=vt(void 0===r?n:r,n),i=mn(vn(o-a,0)),s=0;a<o;a++,s++)gn(i,s,e[a]);return i.length=s,i},yn=v.TypeError,wn=function(e,t){var r=e.exec;if(U(r)){var n=x(r,e,t);return null!==n&&Me(n),n}if("RegExp"===I(e))return x(Kr,e,t);throw yn("RegExp#exec called on incompatible receiver")},Sn=Ir.UNSUPPORTED_Y,xn=Math.min,kn=[].push,An=O(/./.exec),Tn=O(kn),En=O("".slice);nn("split",function(e,t,r){var n;return n="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,r){var n,a,o=Cr(B(this)),i=void 0===r?4294967295:r>>>0;if(0===i)return[];if(void 0===e)return[o];if(!z(n=e)||(void 0!==(a=n[an])?!a:"RegExp"!=I(n)))return x(t,o,e,i);for(var s,c,l,u=[],f=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),h=0,d=new RegExp(e.source,f+"g");(s=x(Kr,d,o))&&!((c=d.lastIndex)>h&&(Tn(u,En(o,h,s.index)),s.length>1&&s.index<o.length&&en(kn,u,bn(s,1)),l=s[0].length,h=c,u.length>=i));)d.lastIndex===s.index&&d.lastIndex++;return h===o.length?!l&&An(d,"")||Tn(u,""):Tn(u,En(o,h)),u.length>i?bn(u,0,i):u}:"0".split(void 0,0).length?function(e,r){return void 0===e&&0===r?[]:x(t,this,e,r)}:t,[function(t,r){var a=B(this),o=null==t?void 0:oe(t,e);return o?x(o,t,a,r):x(n,Cr(a),t,r)},function(e,a){var o=Me(this),i=Cr(e),s=r(n,o,i,a,n!==t);if(s.done)return s.value;var c=cn(o,RegExp),l=o.unicode,u=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(Sn?"g":"y"),f=new c(Sn?"^(?:"+o.source+")":o,u),h=void 0===a?4294967295:a>>>0;if(0===h)return[];if(0===i.length)return null===wn(f,i)?[i]:[];for(var d=0,p=0,g=[];p<i.length;){f.lastIndex=Sn?0:p;var m,v=wn(f,Sn?En(i,p):i);if(null===v||(m=xn(yt(f.lastIndex+(Sn?p:0)),i.length))===d)p=pn(i,p,l);else{if(Tn(g,En(i,d,p)),g.length===h)return g;for(var b=1;b<=v.length-1;b++)if(Tn(g,v[b]),g.length===h)return g;p=d=m}}return Tn(g,En(i,d)),g}]},!!b(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}),Sn);var _n=Math.floor,Nn=O("".charAt),Cn=O("".replace),Rn=O("".slice),On=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Ln=/\$([$&'`]|\d{1,2})/g,Pn=function(e,t,r,n,a,o){var i=r+e.length,s=n.length,c=Ln;return void 0!==a&&(a=he(a),c=On),Cn(o,c,function(o,c){var l;switch(Nn(c,0)){case"$":return"$";case"&":return e;case"`":return Rn(t,0,r);case"'":return Rn(t,i);case"<":l=a[Rn(c,1,-1)];break;default:var u=+c;if(0===u)return o;if(u>s){var f=_n(u/10);return 0===f?o:f<=s?void 0===n[f-1]?Nn(c,1):n[f-1]+Nn(c,1):o}l=n[u-1]}return void 0===l?"":l})},In=ke("replace"),Fn=Math.max,Dn=Math.min,Mn=O([].concat),jn=O([].push),Bn=O("".indexOf),Wn=O("".slice),Un="$0"==="a".replace(/./,"$0"),zn=!!/./[In]&&""===/./[In]("a","$0");nn("replace",function(e,t,r){var n=zn?"$":"$0";return[function(e,r){var n=B(this),a=null==e?void 0:oe(e,In);return a?x(a,e,n,r):x(t,Cr(n),e,r)},function(e,a){var o=Me(this),i=Cr(e);if("string"==typeof a&&-1===Bn(a,n)&&-1===Bn(a,"$<")){var s=r(t,o,i,a);if(s.done)return s.value}var c=U(a);c||(a=Cr(a));var l=o.global;if(l){var u=o.unicode;o.lastIndex=0}for(var f=[];;){var h=wn(o,i);if(null===h)break;if(jn(f,h),!l)break;""===Cr(h[0])&&(o.lastIndex=pn(i,yt(o.lastIndex),u))}for(var d,p="",g=0,m=0;m<f.length;m++){for(var v=Cr((h=f[m])[0]),b=Fn(Dn(pt(h.index),i.length),0),y=[],w=1;w<h.length;w++)jn(y,void 0===(d=h[w])?d:String(d));var S=h.groups;if(c){var x=Mn([v],y,b,i);void 0!==S&&jn(x,S);var k=Cr(en(a,void 0,x))}else k=Pn(v,i,b,y,S,a);b>=g&&(p+=Wn(i,g,b)+k,g=b+v.length)}return p+Wn(i,g)}]},!!b(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})||!Un||zn);var Hn=ke("species"),Vn=function(e){return K>=51||!b(function(){var t=[];return(t.constructor={})[Hn]=function(){return{foo:1}},1!==t[e](Boolean).foo})},qn=O([].slice),$n=Vn("slice"),Gn=ke("species"),Xn=v.Array,Yn=Math.max;Wt({target:"Array",proto:!0,forced:!$n},{slice:function(e,t){var r,n,a,o=W(this),i=wt(o),s=vt(e,i),c=vt(void 0===t?i:t,i);if(zt(o)&&(r=o.constructor,ar(r)&&(r===Xn||zt(r.prototype))?r=void 0:z(r)&&null===(r=r[Gn])&&(r=void 0),r===Xn||void 0===r))return qn(o,s,c);for(n=new(void 0===r?Xn:r)(Yn(c-s,0)),a=0;s<c;s++,a++)s in o&&gn(n,a,o[s]);return n.length=a,n}});var Kn=ur.map;Wt({target:"Array",proto:!0,forced:!Vn("map")},{map:function(e){return Kn(this,e,arguments.length>1?arguments[1]:void 0)}});var Jn=Object.assign,Zn=Object.defineProperty,Qn=O([].concat),ea=!Jn||b(function(){if(y&&1!==Jn({b:1},Jn(Zn({},"a",{enumerable:!0,get:function(){Zn(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol();return e[r]=7,"abcdefghijklmnopqrst".split("").forEach(function(e){t[e]=e}),7!=Jn({},e)[r]||"abcdefghijklmnopqrst"!=fr(Jn({},t)).join("")})?function(e,t){for(var r=he(e),n=arguments.length,a=1,o=Nt.f,i=T.f;n>a;)for(var s,c=M(arguments[a++]),l=o?Qn(fr(c),o(c)):fr(c),u=l.length,f=0;u>f;)s=l[f++],y&&!x(i,c,s)||(r[s]=c[s]);return r}:Jn;Wt({target:"Object",stat:!0,forced:Object.assign!==ea},{assign:ea});var ta=ke("isConcatSpreadable"),ra=v.TypeError,na=K>=51||!b(function(){var e=[];return e[ta]=!1,e.concat()[0]!==e}),aa=Vn("concat"),oa=function(e){if(!z(e))return!1;var t=e[ta];return void 0!==t?!!t:zt(e)};Wt({target:"Array",proto:!0,forced:!na||!aa},{concat:function(e){var t,r,n,a,o,i=he(this),s=sr(i,0),c=0;for(t=-1,n=arguments.length;t<n;t++)if(o=-1===t?i:arguments[t],oa(o)){if(c+(a=wt(o))>9007199254740991)throw ra("Maximum allowed index exceeded");for(r=0;r<a;r++,c++)r in o&&gn(s,c,o[r])}else{if(c>=9007199254740991)throw ra("Maximum allowed index exceeded");gn(s,c++,o)}return s.length=c,s}});var ia=function(e,t){var r=[][e];return!!r&&b(function(){r.call(null,t||function(){return 1},1)})},sa=O([].join),ca=M!=Object,la=ia("join",",");Wt({target:"Array",proto:!0,forced:ca||!la},{join:function(e){return sa(W(this),void 0===e?",":e)}});var ua={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},fa=Re("span").classList,ha=fa&&fa.constructor&&fa.constructor.prototype,da=ha===Object.prototype?void 0:ha,pa=ur.forEach,ga=ia("forEach")?[].forEach:function(e){return pa(this,e,arguments.length>1?arguments[1]:void 0)},ma=function(e){if(e&&e.forEach!==ga)try{ze(e,"forEach",ga)}catch(t){e.forEach=ga}};for(var va in ua)ua[va]&&ma(v[va]&&v[va].prototype);ma(da);var ba=r.default.fn.bootstrapTable.utils,ya={json:"JSON",xml:"XML",png:"PNG",csv:"CSV",txt:"TXT",sql:"SQL",doc:"MS-Word",excel:"MS-Excel",xlsx:"MS-Excel (OpenXML)",powerpoint:"MS-Powerpoint",pdf:"PDF"};r.default.extend(r.default.fn.bootstrapTable.defaults,{showExport:!1,exportDataType:"basic",exportTypes:["json","xml","csv","txt","sql","excel"],exportOptions:{onCellHtmlData:function(e,t,r,n){return e.is("th")?e.find(".th-inner").text():n}},exportFooter:!1}),r.default.extend(r.default.fn.bootstrapTable.columnDefaults,{forceExport:!1,forceHide:!1}),r.default.extend(r.default.fn.bootstrapTable.defaults.icons,{export:{bootstrap3:"glyphicon-export icon-share",bootstrap5:"bi-download",materialize:"file_download","bootstrap-table":"icon-download"}[r.default.fn.bootstrapTable.theme]||"fa-download"}),r.default.extend(r.default.fn.bootstrapTable.locales,{formatExport:function(){return"Export data"}}),r.default.extend(r.default.fn.bootstrapTable.defaults,r.default.fn.bootstrapTable.locales),r.default.fn.bootstrapTable.methods.push("exportTable"),r.default.extend(r.default.fn.bootstrapTable.defaults,{onExportSaved:function(e){return!1}}),r.default.extend(r.default.fn.bootstrapTable.Constructor.EVENTS,{"export-saved.bs.table":"onExportSaved"}),r.default.BootstrapTable=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)}(d,r["default"].BootstrapTable);var t,s,u,h=c(d);function d(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),h.apply(this,arguments)}return t=d,(s=[{key:"initToolbar",value:function(){var e,t=this,n=this.options,a=n.exportTypes;if(this.showToolbar=this.showToolbar||n.showExport,this.options.showExport){if("string"==typeof a){var i=a.slice(1,-1).replace(/ /g,"").split(",");a=i.map(function(e){return e.slice(1,-1)})}if(this.$export=this.$toolbar.find(">.columns div.export"),this.$export.length)return void this.updateExportButton();this.buttons=Object.assign(this.buttons,{export:{html:function(){if(1===a.length)return'\n <div class="export '.concat(t.constants.classes.buttonsDropdown,'"\n data-type="').concat(a[0],'">\n <button class="').concat(t.constants.buttonsClass,'"\n aria-label="Export"\n type="button"\n title="').concat(n.formatExport(),'">\n ').concat(n.showButtonIcons?ba.sprintf(t.constants.html.icon,n.iconsPrefix,n.icons.export):"","\n ").concat(n.showButtonText?n.formatExport():"","\n </button>\n </div>\n ");var e=[];e.push('\n <div class="export '.concat(t.constants.classes.buttonsDropdown,'">\n <button class="').concat(t.constants.buttonsClass,' dropdown-toggle"\n aria-label="Export"\n ').concat(t.constants.dataToggle,'="dropdown"\n type="button"\n title="').concat(n.formatExport(),'">\n ').concat(n.showButtonIcons?ba.sprintf(t.constants.html.icon,n.iconsPrefix,n.icons.export):"","\n ").concat(n.showButtonText?n.formatExport():"","\n ").concat(t.constants.html.dropdownCaret,"\n </button>\n ").concat(t.constants.html.toolbarDropdown[0],"\n "));var o,i=f(a);try{for(i.s();!(o=i.n()).done;){var s=o.value;if(ya.hasOwnProperty(s)){var c=r.default(ba.sprintf(t.constants.html.pageDropdownItem,"",ya[s]));c.attr("data-type",s),e.push(c.prop("outerHTML"))}}}catch(e){i.e(e)}finally{i.f()}return e.push(t.constants.html.toolbarDropdown[1],"</div>"),e.join("")}}})}for(var s=arguments.length,c=new Array(s),u=0;u<s;u++)c[u]=arguments[u];if((e=l(o(d.prototype),"initToolbar",this)).call.apply(e,[this].concat(c)),this.$export=this.$toolbar.find(">.columns div.export"),this.options.showExport){this.updateExportButton();var h=this.$export.find("[data-type]");1===a.length&&(h=this.$export),h.click(function(e){e.preventDefault();var n={type:r.default(e.currentTarget).data("type"),escape:!1};t.exportTable(n)}),this.handleToolbar()}}},{key:"handleToolbar",value:function(){this.$export&&l(o(d.prototype),"handleToolbar",this)&&l(o(d.prototype),"handleToolbar",this).call(this)}},{key:"exportTable",value:function(e){var t=this,n=this.options,o=this.header.stateField,i=n.cardView,s=function(a){o&&t.hideColumn(o),i&&t.toggleView(),t.columns.forEach(function(e){e.forceHide&&t.hideColumn(e.field)});var s=t.getData();if(n.detailView&&n.detailViewIcon){var c="left"===n.detailViewAlign?0:t.getVisibleFields().length+ba.getDetailViewIndexOffset(t.options);n.exportOptions.ignoreColumn=[c].concat(n.exportOptions.ignoreColumn||[])}if(n.exportFooter){var l=t.$tableFooter.find("tr").first(),u={},f=[];r.default.each(l.children(),function(e,n){var a=r.default(n).children(".th-inner").first().html();u[t.columns[e].field]=" "===a?null:a,f.push(a)}),t.$body.append(t.$body.children().last()[0].outerHTML);var h=t.$body.children().last();r.default.each(h.children(),function(e,t){r.default(t).html(f[e])})}var d=t.getHiddenColumns();d.forEach(function(e){e.forceExport&&t.showColumn(e.field)}),"function"==typeof n.exportOptions.fileName&&(e.fileName=n.exportOptions.fileName()),t.$el.tableExport(r.default.extend({onAfterSaveToFile:function(){n.exportFooter&&t.load(s),o&&t.showColumn(o),i&&t.toggleView(),d.forEach(function(e){e.forceExport&&t.hideColumn(e.field)}),t.columns.forEach(function(e){e.forceHide&&t.showColumn(e.field)}),a&&a()}},n.exportOptions,e))};if("all"===n.exportDataType&&n.pagination){var c="server"===n.sidePagination?"post-body.bs.table":"page-change.bs.table",l=this.options.virtualScroll;this.$el.one(c,function(){setTimeout(function(){s(function(){t.options.virtualScroll=l,t.togglePagination()})},0)}),this.options.virtualScroll=!1,this.togglePagination(),this.trigger("export-saved",this.getData())}else if("selected"===n.exportDataType){var u=this.getData(),f=this.getSelections(),h=n.pagination;if(!f.length)return;"server"===n.sidePagination&&(u=a({total:n.totalRows},this.options.dataField,u),f=a({total:f.length},this.options.dataField,f)),this.load(f),h&&this.togglePagination(),s(function(){h&&t.togglePagination(),t.load(u)}),this.trigger("export-saved",f)}else s(),this.trigger("export-saved",this.getData(!0))}},{key:"updateSelected",value:function(){l(o(d.prototype),"updateSelected",this).call(this),this.updateExportButton()}},{key:"updateExportButton",value:function(){"selected"===this.options.exportDataType&&this.$export.find("> button").prop("disabled",!this.getSelections().length)}}])&&n(t.prototype,s),u&&n(t,u),Object.defineProperty(t,"prototype",{writable:!1}),d}()}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).jQuery)}(this,function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=t(e);function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a(e){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function i(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function s(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var r,n=a(e);if(t){var o=a(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return i(this,r)}}function c(){return(c="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=a(e)););return e}(e,t);if(n){var o=Object.getOwnPropertyDescriptor(n,t);return o.get?o.get.call(arguments.length<3?e:r):o.value}}).apply(this,arguments)}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function u(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return l(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?l(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){s=!0,o=e},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw o}}}}var f="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function h(e,t){return e(t={exports:{}},t.exports),t.exports}var d,p,g=function(e){return e&&e.Math==Math&&e},m=g("object"==typeof globalThis&&globalThis)||g("object"==typeof window&&window)||g("object"==typeof self&&self)||g("object"==typeof f&&f)||function(){return this}()||Function("return this")(),v=function(e){try{return!!e()}catch(e){return!0}},b=!v(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),y=!v(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}),w=Function.prototype.call,S=y?w.bind(w):function(){return w.apply(w,arguments)},x={}.propertyIsEnumerable,k=Object.getOwnPropertyDescriptor,A={f:k&&!x.call({1:2},1)?function(e){var t=k(this,e);return!!t&&t.enumerable}:x},T=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},E=Function.prototype,_=E.bind,N=E.call,C=y&&_.bind(N,N),R=y?function(e){return e&&C(e)}:function(e){return e&&function(){return N.apply(e,arguments)}},O=R({}.toString),L=R("".slice),P=function(e){return L(O(e),8,-1)},I=m.Object,F=R("".split),D=v(function(){return!I("z").propertyIsEnumerable(0)})?function(e){return"String"==P(e)?F(e,""):I(e)}:I,M=m.TypeError,j=function(e){if(null==e)throw M("Can't call method on "+e);return e},B=function(e){return D(j(e))},W=function(e){return"function"==typeof e},U=function(e){return"object"==typeof e?null!==e:W(e)},z=function(e,t){return arguments.length<2?(r=m[e],W(r)?r:void 0):m[e]&&m[e][t];var r},H=R({}.isPrototypeOf),V=z("navigator","userAgent")||"",q=m.process,$=m.Deno,G=q&&q.versions||$&&$.version,X=G&&G.v8;X&&(p=(d=X.split("."))[0]>0&&d[0]<4?1:+(d[0]+d[1])),!p&&V&&(!(d=V.match(/Edge\/(\d+)/))||d[1]>=74)&&(d=V.match(/Chrome\/(\d+)/))&&(p=+d[1]);var Y=p,K=!!Object.getOwnPropertySymbols&&!v(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Y&&Y<41}),J=K&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Z=m.Object,Q=J?function(e){return"symbol"==typeof e}:function(e){var t=z("Symbol");return W(t)&&H(t.prototype,Z(e))},ee=m.String,te=function(e){try{return ee(e)}catch(e){return"Object"}},re=m.TypeError,ne=function(e){if(W(e))return e;throw re(te(e)+" is not a function")},ae=function(e,t){var r=e[t];return null==r?void 0:ne(r)},oe=m.TypeError,ie=Object.defineProperty,se=function(e,t){try{ie(m,e,{value:t,configurable:!0,writable:!0})}catch(r){m[e]=t}return t},ce=m["__core-js_shared__"]||se("__core-js_shared__",{}),le=h(function(e){(e.exports=function(e,t){return ce[e]||(ce[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.21.1",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE",source:"https://github.com/zloirock/core-js"})}),ue=m.Object,fe=function(e){return ue(j(e))},he=R({}.hasOwnProperty),de=Object.hasOwn||function(e,t){return he(fe(e),t)},pe=0,ge=Math.random(),me=R(1..toString),ve=function(e){return"Symbol("+(void 0===e?"":e)+")_"+me(++pe+ge,36)},be=le("wks"),ye=m.Symbol,we=ye&&ye.for,Se=J?ye:ye&&ye.withoutSetter||ve,xe=function(e){if(!de(be,e)||!K&&"string"!=typeof be[e]){var t="Symbol."+e;K&&de(ye,e)?be[e]=ye[e]:be[e]=J&&we?we(t):Se(t)}return be[e]},ke=m.TypeError,Ae=xe("toPrimitive"),Te=function(e,t){if(!U(e)||Q(e))return e;var r,n=ae(e,Ae);if(n){if(void 0===t&&(t="default"),r=S(n,e,t),!U(r)||Q(r))return r;throw ke("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var r,n;if("string"===t&&W(r=e.toString)&&!U(n=S(r,e)))return n;if(W(r=e.valueOf)&&!U(n=S(r,e)))return n;if("string"!==t&&W(r=e.toString)&&!U(n=S(r,e)))return n;throw oe("Can't convert object to primitive value")}(e,t)},Ee=function(e){var t=Te(e,"string");return Q(t)?t:t+""},_e=m.document,Ne=U(_e)&&U(_e.createElement),Ce=function(e){return Ne?_e.createElement(e):{}},Re=!b&&!v(function(){return 7!=Object.defineProperty(Ce("div"),"a",{get:function(){return 7}}).a}),Oe=Object.getOwnPropertyDescriptor,Le={f:b?Oe:function(e,t){if(e=B(e),t=Ee(t),Re)try{return Oe(e,t)}catch(e){}if(de(e,t))return T(!S(A.f,e,t),e[t])}},Pe=b&&v(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}),Ie=m.String,Fe=m.TypeError,De=function(e){if(U(e))return e;throw Fe(Ie(e)+" is not an object")},Me=m.TypeError,je=Object.defineProperty,Be=Object.getOwnPropertyDescriptor,We={f:b?Pe?function(e,t,r){if(De(e),t=Ee(t),De(r),"function"==typeof e&&"prototype"===t&&"value"in r&&"writable"in r&&!r.writable){var n=Be(e,t);n&&n.writable&&(e[t]=r.value,r={configurable:"configurable"in r?r.configurable:n.configurable,enumerable:"enumerable"in r?r.enumerable:n.enumerable,writable:!1})}return je(e,t,r)}:je:function(e,t,r){if(De(e),t=Ee(t),De(r),Re)try{return je(e,t,r)}catch(e){}if("get"in r||"set"in r)throw Me("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},Ue=b?function(e,t,r){return We.f(e,t,T(1,r))}:function(e,t,r){return e[t]=r,e},ze=R(Function.toString);W(ce.inspectSource)||(ce.inspectSource=function(e){return ze(e)});var He,Ve,qe,$e=ce.inspectSource,Ge=m.WeakMap,Xe=W(Ge)&&/native code/.test($e(Ge)),Ye=le("keys"),Ke=function(e){return Ye[e]||(Ye[e]=ve(e))},Je={},Ze=m.TypeError,Qe=m.WeakMap;if(Xe||ce.state){var et=ce.state||(ce.state=new Qe),tt=R(et.get),rt=R(et.has),nt=R(et.set);He=function(e,t){if(rt(et,e))throw new Ze("Object already initialized");return t.facade=e,nt(et,e,t),t},Ve=function(e){return tt(et,e)||{}},qe=function(e){return rt(et,e)}}else{var at=Ke("state");Je[at]=!0,He=function(e,t){if(de(e,at))throw new Ze("Object already initialized");return t.facade=e,Ue(e,at,t),t},Ve=function(e){return de(e,at)?e[at]:{}},qe=function(e){return de(e,at)}}var ot,it={set:He,get:Ve,has:qe,enforce:function(e){return qe(e)?Ve(e):He(e,{})},getterFor:function(e){return function(t){var r;if(!U(t)||(r=Ve(t)).type!==e)throw Ze("Incompatible receiver, "+e+" required");return r}}},st=Function.prototype,ct=b&&Object.getOwnPropertyDescriptor,lt=de(st,"name"),ut={EXISTS:lt,PROPER:lt&&"something"===function(){}.name,CONFIGURABLE:lt&&(!b||b&&ct(st,"name").configurable)},ft=h(function(e){var t=ut.CONFIGURABLE,r=it.get,n=it.enforce,a=String(String).split("String");(e.exports=function(e,r,o,i){var s,c=!!i&&!!i.unsafe,l=!!i&&!!i.enumerable,u=!!i&&!!i.noTargetGet,f=i&&void 0!==i.name?i.name:r;W(o)&&("Symbol("===String(f).slice(0,7)&&(f="["+String(f).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!de(o,"name")||t&&o.name!==f)&&Ue(o,"name",f),(s=n(o)).source||(s.source=a.join("string"==typeof f?f:""))),e!==m?(c?!u&&e[r]&&(l=!0):delete e[r],l?e[r]=o:Ue(e,r,o)):l?e[r]=o:se(r,o)})(Function.prototype,"toString",function(){return W(this)&&r(this).source||$e(this)})}),ht=Math.ceil,dt=Math.floor,pt=function(e){var t=+e;return t!=t||0===t?0:(t>0?dt:ht)(t)},gt=Math.max,mt=Math.min,vt=function(e,t){var r=pt(e);return r<0?gt(r+t,0):mt(r,t)},bt=Math.min,yt=function(e){return e>0?bt(pt(e),9007199254740991):0},wt=function(e){return yt(e.length)},St=function(e){return function(t,r,n){var a,o=B(t),i=wt(o),s=vt(n,i);if(e&&r!=r){for(;i>s;)if((a=o[s++])!=a)return!0}else for(;i>s;s++)if((e||s in o)&&o[s]===r)return e||s||0;return!e&&-1}},xt={includes:St(!0),indexOf:St(!1)},kt=xt.indexOf,At=R([].push),Tt=function(e,t){var r,n=B(e),a=0,o=[];for(r in n)!de(Je,r)&&de(n,r)&&At(o,r);for(;t.length>a;)de(n,r=t[a++])&&(~kt(o,r)||At(o,r));return o},Et=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],_t=Et.concat("length","prototype"),Nt={f:Object.getOwnPropertyNames||function(e){return Tt(e,_t)}},Ct={f:Object.getOwnPropertySymbols},Rt=R([].concat),Ot=z("Reflect","ownKeys")||function(e){var t=Nt.f(De(e)),r=Ct.f;return r?Rt(t,r(e)):t},Lt=function(e,t,r){for(var n=Ot(t),a=We.f,o=Le.f,i=0;i<n.length;i++){var s=n[i];de(e,s)||r&&de(r,s)||a(e,s,o(t,s))}},Pt=/#|\.prototype\./,It=function(e,t){var r=Dt[Ft(e)];return r==jt||r!=Mt&&(W(t)?v(t):!!t)},Ft=It.normalize=function(e){return String(e).replace(Pt,".").toLowerCase()},Dt=It.data={},Mt=It.NATIVE="N",jt=It.POLYFILL="P",Bt=It,Wt=Le.f,Ut=function(e,t){var r,n,a,o,i,s=e.target,c=e.global,l=e.stat;if(r=c?m:l?m[s]||se(s,{}):(m[s]||{}).prototype)for(n in t){if(o=t[n],a=e.noTargetGet?(i=Wt(r,n))&&i.value:r[n],!Bt(c?n:s+(l?".":"#")+n,e.forced)&&void 0!==a){if(typeof o==typeof a)continue;Lt(o,a)}(e.sham||a&&a.sham)&&Ue(o,"sham",!0),ft(r,n,o,e)}},zt=Object.keys||function(e){return Tt(e,Et)},Ht={f:b&&!Pe?Object.defineProperties:function(e,t){De(e);for(var r,n=B(t),a=zt(t),o=a.length,i=0;o>i;)We.f(e,r=a[i++],n[r]);return e}},Vt=z("document","documentElement"),qt=Ke("IE_PROTO"),$t=function(){},Gt=function(e){return"<script>"+e+"<\/script>"},Xt=function(e){e.write(Gt("")),e.close();var t=e.parentWindow.Object;return e=null,t},Yt=function(){try{ot=new ActiveXObject("htmlfile")}catch(e){}var e,t;Yt="undefined"!=typeof document?document.domain&&ot?Xt(ot):((t=Ce("iframe")).style.display="none",Vt.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(Gt("document.F=Object")),e.close(),e.F):Xt(ot);for(var r=Et.length;r--;)delete Yt.prototype[Et[r]];return Yt()};Je[qt]=!0;var Kt=Object.create||function(e,t){var r;return null!==e?($t.prototype=De(e),r=new $t,$t.prototype=null,r[qt]=e):r=Yt(),void 0===t?r:Ht.f(r,t)},Jt=xe("unscopables"),Zt=Array.prototype;null==Zt[Jt]&&We.f(Zt,Jt,{configurable:!0,value:Kt(null)});var Qt=function(e){Zt[Jt][e]=!0},er=xt.includes;Ut({target:"Array",proto:!0},{includes:function(e){return er(this,e,arguments.length>1?arguments[1]:void 0)}}),Qt("includes");var tr=xe("match"),rr=function(e){var t;return U(e)&&(void 0!==(t=e[tr])?!!t:"RegExp"==P(e))},nr=m.TypeError,ar={};ar[xe("toStringTag")]="z";var or="[object z]"===String(ar),ir=xe("toStringTag"),sr=m.Object,cr="Arguments"==P(function(){return arguments}()),lr=or?P:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=sr(e),ir))?r:cr?P(t):"Object"==(n=P(t))&&W(t.callee)?"Arguments":n},ur=m.String,fr=function(e){if("Symbol"===lr(e))throw TypeError("Cannot convert a Symbol value to a string");return ur(e)},hr=xe("match"),dr=R("".indexOf);Ut({target:"String",proto:!0,forced:!function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[hr]=!1,"/./"[e](t)}catch(e){}}return!1}("includes")},{includes:function(e){return!!~dr(fr(j(this)),fr(function(e){if(rr(e))throw nr("The method doesn't accept regular expressions");return e}(e)),arguments.length>1?arguments[1]:void 0)}});var pr=Array.isArray||function(e){return"Array"==P(e)},gr=function(e,t,r){var n=Ee(t);n in e?We.f(e,n,T(0,r)):e[n]=r},mr=function(){},vr=[],br=z("Reflect","construct"),yr=/^\s*(?:class|function)\b/,wr=R(yr.exec),Sr=!yr.exec(mr),xr=function(e){if(!W(e))return!1;try{return br(mr,vr,e),!0}catch(e){return!1}},kr=function(e){if(!W(e))return!1;switch(lr(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Sr||!!wr(yr,$e(e))}catch(e){return!0}};kr.sham=!0;var Ar=!br||v(function(){var e;return xr(xr.call)||!xr(Object)||!xr(function(){e=!0})||e})?kr:xr,Tr=xe("species"),Er=m.Array,_r=function(e,t){return new(function(e){var t;return pr(e)&&(t=e.constructor,Ar(t)&&(t===Er||pr(t.prototype))?t=void 0:U(t)&&null===(t=t[Tr])&&(t=void 0)),void 0===t?Er:t}(e))(0===t?0:t)},Nr=xe("species"),Cr=function(e){return Y>=51||!v(function(){var t=[];return(t.constructor={})[Nr]=function(){return{foo:1}},1!==t[e](Boolean).foo})},Rr=xe("isConcatSpreadable"),Or=m.TypeError,Lr=Y>=51||!v(function(){var e=[];return e[Rr]=!1,e.concat()[0]!==e}),Pr=Cr("concat"),Ir=function(e){if(!U(e))return!1;var t=e[Rr];return void 0!==t?!!t:pr(e)};Ut({target:"Array",proto:!0,forced:!Lr||!Pr},{concat:function(e){var t,r,n,a,o,i=fe(this),s=_r(i,0),c=0;for(t=-1,n=arguments.length;t<n;t++)if(o=-1===t?i:arguments[t],Ir(o)){if(c+(a=wt(o))>9007199254740991)throw Or("Maximum allowed index exceeded");for(r=0;r<a;r++,c++)r in o&&gr(s,c,o[r])}else{if(c>=9007199254740991)throw Or("Maximum allowed index exceeded");gr(s,c++,o)}return s.length=c,s}});var Fr,Dr,Mr=function(){var e=De(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},jr=m.RegExp,Br=v(function(){var e=jr("a","y");return e.lastIndex=2,null!=e.exec("abcd")}),Wr=Br||v(function(){return!jr("a","y").sticky}),Ur={BROKEN_CARET:Br||v(function(){var e=jr("^r","gy");return e.lastIndex=2,null!=e.exec("str")}),MISSED_STICKY:Wr,UNSUPPORTED_Y:Br},zr=m.RegExp,Hr=v(function(){var e=zr(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}),Vr=m.RegExp,qr=v(function(){var e=Vr("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}),$r=it.get,Gr=le("native-string-replace",String.prototype.replace),Xr=RegExp.prototype.exec,Yr=Xr,Kr=R("".charAt),Jr=R("".indexOf),Zr=R("".replace),Qr=R("".slice),en=(Dr=/b*/g,S(Xr,Fr=/a/,"a"),S(Xr,Dr,"a"),0!==Fr.lastIndex||0!==Dr.lastIndex),tn=Ur.BROKEN_CARET,rn=void 0!==/()??/.exec("")[1];(en||rn||tn||Hr||qr)&&(Yr=function(e){var t,r,n,a,o,i,s,c=this,l=$r(c),u=fr(e),f=l.raw;if(f)return f.lastIndex=c.lastIndex,t=S(Yr,f,u),c.lastIndex=f.lastIndex,t;var h=l.groups,d=tn&&c.sticky,p=S(Mr,c),g=c.source,m=0,v=u;if(d&&(p=Zr(p,"y",""),-1===Jr(p,"g")&&(p+="g"),v=Qr(u,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&"\n"!==Kr(u,c.lastIndex-1))&&(g="(?: "+g+")",v=" "+v,m++),r=new RegExp("^(?:"+g+")",p)),rn&&(r=new RegExp("^"+g+"$(?!\\s)",p)),en&&(n=c.lastIndex),a=S(Xr,d?r:c,v),d?a?(a.input=Qr(a.input,m),a[0]=Qr(a[0],m),a.index=c.lastIndex,c.lastIndex+=a[0].length):c.lastIndex=0:en&&a&&(c.lastIndex=c.global?a.index+a[0].length:n),rn&&a&&a.length>1&&S(Gr,a[0],r,function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(a[o]=void 0)}),a&&h)for(a.groups=i=Kt(null),o=0;o<h.length;o++)i[(s=h[o])[0]]=a[s[1]];return a});var nn=Yr;Ut({target:"RegExp",proto:!0,forced:/./.exec!==nn},{exec:nn});var an=Function.prototype,on=an.apply,sn=an.call,cn="object"==typeof Reflect&&Reflect.apply||(y?sn.bind(on):function(){return sn.apply(on,arguments)}),ln=xe("species"),un=RegExp.prototype,fn=function(e,t,r,n){var a=xe(e),o=!v(function(){var t={};return t[a]=function(){return 7},7!=""[e](t)}),i=o&&!v(function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[ln]=function(){return r},r.flags="",r[a]=/./[a]),r.exec=function(){return t=!0,null},r[a](""),!t});if(!o||!i||r){var s=R(/./[a]),c=t(a,""[e],function(e,t,r,n,a){var i=R(e),c=t.exec;return c===nn||c===un.exec?o&&!a?{done:!0,value:s(t,r,n)}:{done:!0,value:i(r,t,n)}:{done:!1}});ft(String.prototype,e,c[0]),ft(un,a,c[1])}n&&Ue(un[a],"sham",!0)},hn=R("".charAt),dn=R("".charCodeAt),pn=R("".slice),gn=function(e){return function(t,r){var n,a,o=fr(j(t)),i=pt(r),s=o.length;return i<0||i>=s?e?"":void 0:(n=dn(o,i))<55296||n>56319||i+1===s||(a=dn(o,i+1))<56320||a>57343?e?hn(o,i):n:e?pn(o,i,i+2):a-56320+(n-55296<<10)+65536}},mn={codeAt:gn(!1),charAt:gn(!0)}.charAt,vn=function(e,t,r){return t+(r?mn(e,t).length:1)},bn=Math.floor,yn=R("".charAt),wn=R("".replace),Sn=R("".slice),xn=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,kn=/\$([$&'`]|\d{1,2})/g,An=function(e,t,r,n,a,o){var i=r+e.length,s=n.length,c=kn;return void 0!==a&&(a=fe(a),c=xn),wn(o,c,function(o,c){var l;switch(yn(c,0)){case"$":return"$";case"&":return e;case"`":return Sn(t,0,r);case"'":return Sn(t,i);case"<":l=a[Sn(c,1,-1)];break;default:var u=+c;if(0===u)return o;if(u>s){var f=bn(u/10);return 0===f?o:f<=s?void 0===n[f-1]?yn(c,1):n[f-1]+yn(c,1):o}l=n[u-1]}return void 0===l?"":l})},Tn=m.TypeError,En=function(e,t){var r=e.exec;if(W(r)){var n=S(r,e,t);return null!==n&&De(n),n}if("RegExp"===P(e))return S(nn,e,t);throw Tn("RegExp#exec called on incompatible receiver")},_n=xe("replace"),Nn=Math.max,Cn=Math.min,Rn=R([].concat),On=R([].push),Ln=R("".indexOf),Pn=R("".slice),In="$0"==="a".replace(/./,"$0"),Fn=!!/./[_n]&&""===/./[_n]("a","$0");fn("replace",function(e,t,r){var n=Fn?"$":"$0";return[function(e,r){var n=j(this),a=null==e?void 0:ae(e,_n);return a?S(a,e,n,r):S(t,fr(n),e,r)},function(e,a){var o=De(this),i=fr(e);if("string"==typeof a&&-1===Ln(a,n)&&-1===Ln(a,"$<")){var s=r(t,o,i,a);if(s.done)return s.value}var c=W(a);c||(a=fr(a));var l=o.global;if(l){var u=o.unicode;o.lastIndex=0}for(var f=[];;){var h=En(o,i);if(null===h)break;if(On(f,h),!l)break;""===fr(h[0])&&(o.lastIndex=vn(i,yt(o.lastIndex),u))}for(var d,p="",g=0,m=0;m<f.length;m++){for(var v=fr((h=f[m])[0]),b=Nn(Cn(pt(h.index),i.length),0),y=[],w=1;w<h.length;w++)On(y,void 0===(d=h[w])?d:String(d));var S=h.groups;if(c){var x=Rn([v],y,b,i);void 0!==S&&On(x,S);var k=fr(cn(a,void 0,x))}else k=An(v,i,b,y,S,a);b>=g&&(p+=Pn(i,g,b)+k,g=b+v.length)}return p+Pn(i,g)}]},!!v(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})||!In||Fn);var Dn=or?{}.toString:function(){return"[object "+lr(this)+"]"};or||ft(Object.prototype,"toString",Dn,{unsafe:!0});var Mn={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},jn=Ce("span").classList,Bn=jn&&jn.constructor&&jn.constructor.prototype,Wn=Bn===Object.prototype?void 0:Bn,Un=R(R.bind),zn=R([].push),Hn=function(e){var t=1==e,r=2==e,n=3==e,a=4==e,o=6==e,i=7==e,s=5==e||o;return function(c,l,u,f){for(var h,d,p=fe(c),g=D(p),m=function(e,t){return ne(e),void 0===t?e:y?Un(e,t):function(){return e.apply(t,arguments)}}(l,u),v=wt(g),b=0,w=f||_r,S=t?w(c,v):r||i?w(c,0):void 0;v>b;b++)if((s||b in g)&&(d=m(h=g[b],b,p),e))if(t)S[b]=d;else if(d)switch(e){case 3:return!0;case 5:return h;case 6:return b;case 2:zn(S,h)}else switch(e){case 4:return!1;case 7:zn(S,h)}return o?-1:n||a?a:S}},Vn={forEach:Hn(0),map:Hn(1),filter:Hn(2),some:Hn(3),every:Hn(4),find:Hn(5),findIndex:Hn(6),filterReject:Hn(7)},qn=function(e,t){var r=[][e];return!!r&&v(function(){r.call(null,t||function(){return 1},1)})},$n=Vn.forEach,Gn=qn("forEach")?[].forEach:function(e){return $n(this,e,arguments.length>1?arguments[1]:void 0)},Xn=function(e){if(e&&e.forEach!==Gn)try{Ue(e,"forEach",Gn)}catch(t){e.forEach=Gn}};for(var Yn in Mn)Mn[Yn]&&Xn(m[Yn]&&m[Yn].prototype);Xn(Wn);var Kn=ut.PROPER,Jn=RegExp.prototype,Zn=Jn.toString,Qn=R(Mr),ea=v(function(){return"/a/b"!=Zn.call({source:"a",flags:"b"})}),ta=Kn&&"toString"!=Zn.name;(ea||ta)&&ft(RegExp.prototype,"toString",function(){var e=De(this),t=fr(e.source),r=e.flags;return"/"+t+"/"+fr(void 0!==r||!H(Jn,e)||"flags"in Jn?r:Qn(e))},{unsafe:!0});var ra=Vn.find,na=!0;"find"in[]&&Array(1).find(function(){na=!1}),Ut({target:"Array",proto:!0,forced:na},{find:function(e){return ra(this,e,arguments.length>1?arguments[1]:void 0)}}),Qt("find");var aa=Vn.filter;Ut({target:"Array",proto:!0,forced:!Cr("filter")},{filter:function(e){return aa(this,e,arguments.length>1?arguments[1]:void 0)}});var oa=m.TypeError,ia=xe("species"),sa=function(e,t){var r,n=De(e).constructor;return void 0===n||null==(r=De(n)[ia])?t:function(e){if(Ar(e))return e;throw oa(te(e)+" is not a constructor")}(r)},ca=m.Array,la=Math.max,ua=function(e,t,r){for(var n=wt(e),a=vt(t,n),o=vt(void 0===r?n:r,n),i=ca(la(o-a,0)),s=0;a<o;a++,s++)gr(i,s,e[a]);return i.length=s,i},fa=Ur.UNSUPPORTED_Y,ha=Math.min,da=[].push,pa=R(/./.exec),ga=R(da),ma=R("".slice);fn("split",function(e,t,r){var n;return n="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,r){var n=fr(j(this)),a=void 0===r?4294967295:r>>>0;if(0===a)return[];if(void 0===e)return[n];if(!rr(e))return S(t,n,e,a);for(var o,i,s,c=[],l=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),u=0,f=new RegExp(e.source,l+"g");(o=S(nn,f,n))&&!((i=f.lastIndex)>u&&(ga(c,ma(n,u,o.index)),o.length>1&&o.index<n.length&&cn(da,c,ua(o,1)),s=o[0].length,u=i,c.length>=a));)f.lastIndex===o.index&&f.lastIndex++;return u===n.length?!s&&pa(f,"")||ga(c,""):ga(c,ma(n,u)),c.length>a?ua(c,0,a):c}:"0".split(void 0,0).length?function(e,r){return void 0===e&&0===r?[]:S(t,this,e,r)}:t,[function(t,r){var a=j(this),o=null==t?void 0:ae(t,e);return o?S(o,t,a,r):S(n,fr(a),t,r)},function(e,a){var o=De(this),i=fr(e),s=r(n,o,i,a,n!==t);if(s.done)return s.value;var c=sa(o,RegExp),l=o.unicode,u=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(fa?"g":"y"),f=new c(fa?"^(?:"+o.source+")":o,u),h=void 0===a?4294967295:a>>>0;if(0===h)return[];if(0===i.length)return null===En(f,i)?[i]:[];for(var d=0,p=0,g=[];p<i.length;){f.lastIndex=fa?0:p;var m,v=En(f,fa?ma(i,p):i);if(null===v||(m=ha(yt(f.lastIndex+(fa?p:0)),i.length))===d)p=vn(i,p,l);else{if(ga(g,ma(i,d,p)),g.length===h)return g;for(var b=1;b<=v.length-1;b++)if(ga(g,v[b]),g.length===h)return g;p=d=m}}return ga(g,ma(i,d)),g}]},!!v(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}),fa);var va=Vn.map;Ut({target:"Array",proto:!0,forced:!Cr("map")},{map:function(e){return va(this,e,arguments.length>1?arguments[1]:void 0)}});var ba=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t};fn("search",function(e,t,r){return[function(t){var r=j(this),n=null==t?void 0:ae(t,e);return n?S(n,t,r):new RegExp(t)[e](fr(r))},function(e){var n=De(this),a=fr(e),o=r(t,n,a);if(o.done)return o.value;var i=n.lastIndex;ba(i,0)||(n.lastIndex=0);var s=En(n,a);return ba(n.lastIndex,i)||(n.lastIndex=i),null===s?-1:s.index}]});var ya=R([].join),wa=D!=Object,Sa=qn("join",",");Ut({target:"Array",proto:!0,forced:wa||!Sa},{join:function(e){return ya(B(this),void 0===e?",":e)}});var xa=r.default.fn.bootstrapTable.utils,ka={cookieIds:{sortOrder:"bs.table.sortOrder",sortName:"bs.table.sortName",sortPriority:"bs.table.sortPriority",pageNumber:"bs.table.pageNumber",pageList:"bs.table.pageList",columns:"bs.table.columns",cardView:"bs.table.cardView",searchText:"bs.table.searchText",reorderColumns:"bs.table.reorderColumns",filterControl:"bs.table.filterControl",filterBy:"bs.table.filterBy"},getCurrentHeader:function(e){return e.options.height?e.$tableHeader:e.$header},getCurrentSearchControls:function(e){return e.options.height?"table select, table input":"select, input"},isCookieSupportedByBrowser:function(){return navigator.cookieEnabled},isCookieEnabled:function(e,t){return e.options.cookiesEnabled.includes(t)},setCookie:function(e,t,r){if(e.options.cookie&&ka.isCookieEnabled(e,t))return e._storage.setItem("".concat(e.options.cookieIdTable,".").concat(t),r)},getCookie:function(e,t){return t&&ka.isCookieEnabled(e,t)?e._storage.getItem("".concat(e.options.cookieIdTable,".").concat(t)):null},deleteCookie:function(e,t){return e._storage.removeItem("".concat(e.options.cookieIdTable,".").concat(t))},calculateExpiration:function(e){var t=e.replace(/[0-9]*/,"");switch(e=e.replace(/[A-Za-z]{1,2}/,""),t.toLowerCase()){case"s":e=+e;break;case"mi":e*=60;break;case"h":e=60*e*60;break;case"d":e=24*e*60*60;break;case"m":e=30*e*24*60*60;break;case"y":e=365*e*24*60*60;break;default:e=void 0}if(!e)return"";var r=new Date;return r.setTime(r.getTime()+1e3*e),r.toGMTString()},initCookieFilters:function(e){setTimeout(function(){var t=JSON.parse(ka.getCookie(e,ka.cookieIds.filterControl));if(!e._filterControlValuesLoaded&&t){var n={},a=ka.getCurrentHeader(e),o=ka.getCurrentSearchControls(e),i=a;e.options.filterControlContainer&&(i=r.default("".concat(e.options.filterControlContainer))),i.find(o).each(function(){var a=r.default(this).closest("[data-field]").data("field");!function(t,r){r.forEach(function(r){var a=t.value.toString(),o=r.text;if(""!==o&&("radio"!==t.type||a===o))if("INPUT"===t.tagName&&"radio"===t.type&&a===o)t.checked=!0,n[r.field]=o;else if("INPUT"===t.tagName)t.value=o,n[r.field]=o;else if("SELECT"===t.tagName&&e.options.filterControlContainer)t.value=o,n[r.field]=o;else if(""!==o&&"SELECT"===t.tagName){n[r.field]=o;var i,s=u(t);try{for(s.s();!(i=s.n()).done;){var c=i.value;if(c.value===o)return void(c.selected=!0)}}catch(e){s.e(e)}finally{s.f()}var l=document.createElement("option");l.value=o,l.text=o,t.add(l,t[1]),t.selectedIndex=1}})}(this,t.filter(function(e){return e.field===a}))}),e.initColumnSearch(n),e._filterControlValuesLoaded=!0,e.initServer()}},250)}};r.default.extend(r.default.fn.bootstrapTable.defaults,{cookie:!1,cookieExpire:"2h",cookiePath:null,cookieDomain:null,cookieSecure:null,cookieSameSite:"Lax",cookieIdTable:"",cookiesEnabled:["bs.table.sortOrder","bs.table.sortName","bs.table.sortPriority","bs.table.pageNumber","bs.table.pageList","bs.table.columns","bs.table.searchText","bs.table.filterControl","bs.table.filterBy","bs.table.reorderColumns","bs.table.cardView"],cookieStorage:"cookieStorage",cookieCustomStorageGet:null,cookieCustomStorageSet:null,cookieCustomStorageDelete:null,_filterControls:[],_filterControlValuesLoaded:!1,_storage:{setItem:void 0,getItem:void 0,removeItem:void 0}}),r.default.fn.bootstrapTable.methods.push("getCookies"),r.default.fn.bootstrapTable.methods.push("deleteCookie"),r.default.extend(r.default.fn.bootstrapTable.utils,{setCookie:ka.setCookie,getCookie:ka.getCookie}),r.default.BootstrapTable=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&o(e,t)}(h,r["default"].BootstrapTable);var t,i,l,f=s(h);function h(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,h),f.apply(this,arguments)}return t=h,(i=[{key:"init",value:function(){if(this.options.cookie){if("cookieStorage"===this.options.cookieStorage&&!ka.isCookieSupportedByBrowser())throw new Error("Cookies are not enabled in this browser.");this.configureStorage();var e=ka.getCookie(this,ka.cookieIds.filterBy);if("boolean"==typeof e&&!e)throw new Error("The cookie value of filterBy must be a json!");var t={};try{t=JSON.parse(e)}catch(e){throw new Error("Could not parse the json of the filterBy cookie!")}if(this.filterColumns=t||{},this._filterControls=[],this._filterControlValuesLoaded=!1,this.options.cookiesEnabled="string"==typeof this.options.cookiesEnabled?this.options.cookiesEnabled.replace("[","").replace("]","").replace(/'/g,"").replace(/ /g,"").toLowerCase().split(","):this.options.cookiesEnabled,this.options.filterControl){var r=this;this.$el.on("column-search.bs.table",function(e,t,n){for(var a=!0,o=0;o<r._filterControls.length;o++)if(r._filterControls[o].field===t){r._filterControls[o].text=n,a=!1;break}a&&r._filterControls.push({field:t,text:n}),ka.setCookie(r,ka.cookieIds.filterControl,JSON.stringify(r._filterControls))}).on("created-controls.bs.table",ka.initCookieFilters(r))}}c(a(h.prototype),"init",this).call(this)}},{key:"initServer",value:function(){var e;if(this.options.cookie&&this.options.filterControl&&!this._filterControlValuesLoaded&&JSON.parse(ka.getCookie(this,ka.cookieIds.filterControl)))return;for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];(e=c(a(h.prototype),"initServer",this)).call.apply(e,[this].concat(r))}},{key:"initTable",value:function(){for(var e,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];(e=c(a(h.prototype),"initTable",this)).call.apply(e,[this].concat(r)),this.initCookie()}},{key:"onSort",value:function(){for(var e,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];(e=c(a(h.prototype),"onSort",this)).call.apply(e,[this].concat(r)),this.options.cookie&&(void 0===this.options.sortName||void 0===this.options.sortOrder?(ka.deleteCookie(this,ka.cookieIds.sortName),ka.deleteCookie(this,ka.cookieIds.sortOrder)):(this.options.sortPriority=null,ka.deleteCookie(this,ka.cookieIds.sortPriority),ka.setCookie(this,ka.cookieIds.sortOrder,this.options.sortOrder),ka.setCookie(this,ka.cookieIds.sortName,this.options.sortName)))}},{key:"onMultipleSort",value:function(){for(var e,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];(e=c(a(h.prototype),"onMultipleSort",this)).call.apply(e,[this].concat(r)),void 0===this.options.sortPriority?ka.deleteCookie(this,ka.cookieIds.sortPriority):(this.options.sortName=void 0,this.options.sortOrder=void 0,ka.deleteCookie(this,ka.cookieIds.sortName),ka.deleteCookie(this,ka.cookieIds.sortOrder),ka.setCookie(this,ka.cookieIds.sortPriority,JSON.stringify(this.options.sortPriority)))}},{key:"onPageNumber",value:function(){for(var e,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];(e=c(a(h.prototype),"onPageNumber",this)).call.apply(e,[this].concat(r)),this.options.cookie&&ka.setCookie(this,ka.cookieIds.pageNumber,this.options.pageNumber)}},{key:"onPageListChange",value:function(){for(var e,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];(e=c(a(h.prototype),"onPageListChange",this)).call.apply(e,[this].concat(r)),this.options.cookie&&(ka.setCookie(this,ka.cookieIds.pageList,this.options.pageSize),ka.setCookie(this,ka.cookieIds.pageNumber,this.options.pageNumber))}},{key:"onPagePre",value:function(){for(var e,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];(e=c(a(h.prototype),"onPagePre",this)).call.apply(e,[this].concat(r)),this.options.cookie&&ka.setCookie(this,ka.cookieIds.pageNumber,this.options.pageNumber)}},{key:"onPageNext",value:function(){for(var e,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];(e=c(a(h.prototype),"onPageNext",this)).call.apply(e,[this].concat(r)),this.options.cookie&&ka.setCookie(this,ka.cookieIds.pageNumber,this.options.pageNumber)}},{key:"_toggleColumn",value:function(){for(var e,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];(e=c(a(h.prototype),"_toggleColumn",this)).call.apply(e,[this].concat(r)),this.options.cookie&&ka.setCookie(this,ka.cookieIds.columns,JSON.stringify(this.getVisibleColumns().map(function(e){return e.field})))}},{key:"_toggleAllColumns",value:function(){for(var e,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];(e=c(a(h.prototype),"_toggleAllColumns",this)).call.apply(e,[this].concat(r)),this.options.cookie&&ka.setCookie(this,ka.cookieIds.columns,JSON.stringify(this.getVisibleColumns().map(function(e){return e.field})))}},{key:"toggleView",value:function(){c(a(h.prototype),"toggleView",this).call(this),ka.setCookie(this,ka.cookieIds.cardView,this.options.cardView)}},{key:"selectPage",value:function(e){c(a(h.prototype),"selectPage",this).call(this,e),this.options.cookie&&ka.setCookie(this,ka.cookieIds.pageNumber,e)}},{key:"onSearch",value:function(e){c(a(h.prototype),"onSearch",this).call(this,e,!(arguments.length>1)||arguments[1]),this.options.cookie&&(this.options.search&&ka.setCookie(this,ka.cookieIds.searchText,this.searchText),ka.setCookie(this,ka.cookieIds.pageNumber,this.options.pageNumber))}},{key:"initHeader",value:function(){var e;this.options.reorderableColumns&&this.options.cookie&&(this.columnsSortOrder=JSON.parse(ka.getCookie(this,ka.cookieIds.reorderColumns)));for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];(e=c(a(h.prototype),"initHeader",this)).call.apply(e,[this].concat(r))}},{key:"persistReorderColumnsState",value:function(e){ka.setCookie(e,ka.cookieIds.reorderColumns,JSON.stringify(e.columnsSortOrder))}},{key:"filterBy",value:function(){for(var e,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];(e=c(a(h.prototype),"filterBy",this)).call.apply(e,[this].concat(r)),this.options.cookie&&ka.setCookie(this,ka.cookieIds.filterBy,JSON.stringify(this.filterColumns))}},{key:"initCookie",value:function(){var e=this;if(this.options.cookie){if(""===this.options.cookieIdTable||""===this.options.cookieExpire)return console.error("Configuration error. Please review the cookieIdTable and the cookieExpire property. If the properties are correct, then this browser does not support cookies."),void(this.options.cookie=!1);var t=ka.getCookie(this,ka.cookieIds.sortOrder),r=ka.getCookie(this,ka.cookieIds.sortName),n=ka.getCookie(this,ka.cookieIds.sortPriority),a=ka.getCookie(this,ka.cookieIds.pageNumber),o=ka.getCookie(this,ka.cookieIds.pageList),i=ka.getCookie(this,ka.cookieIds.searchText),s=ka.getCookie(this,ka.cookieIds.cardView),c=ka.getCookie(this,ka.cookieIds.columns);if("boolean"==typeof c&&!c)throw new Error("The cookie value of filterBy must be a json!");var l={};try{l=JSON.parse(c)}catch(e){throw new Error("Could not parse the json of the columns cookie!",c)}try{n=JSON.parse(n)}catch(e){throw new Error("Could not parse the json of the sortPriority cookie!",n)}if(n?(this.options.sortOrder=void 0,this.options.sortName=void 0):(this.options.sortOrder=t||this.options.sortOrder,this.options.sortName=r||this.options.sortName),this.options.sortPriority=n||this.options.sortPriority,(this.options.sortOrder||this.options.sortName)&&(this.options.sortPriority=null),this.options.pageNumber=a?+a:this.options.pageNumber,this.options.pageSize=o?o===this.options.formatAllRows()?o:+o:this.options.pageSize,ka.isCookieEnabled(this,"bs.table.searchText")&&""===this.options.searchText&&(this.options.searchText=i||""),this.options.cardView="true"===s&&s,l){var f,h=u(this.columns);try{var d=function(){var t=f.value;if(!t.switchable)return"continue";t.visible=l.filter(function(r){return!!e.isSelectionColumn(t)||(r instanceof Object?r.field===t.field:r===t.field)}).length>0};for(h.s();!(f=h.n()).done;)d()}catch(e){h.e(e)}finally{h.f()}}}}},{key:"getCookies",value:function(){var e=this,t={};return r.default.each(ka.cookieIds,function(r,n){t[r]=ka.getCookie(e,n),"columns"===r&&(t[r]=JSON.parse(t[r]))}),t}},{key:"deleteCookie",value:function(e){e&&ka.deleteCookie(this,ka.cookieIds[e])}},{key:"configureStorage",value:function(){var e=this;switch(this._storage={},this.options.cookieStorage){case"cookieStorage":this._storage.setItem=function(t,r){document.cookie=[t,"=",encodeURIComponent(r),"; expires=".concat(ka.calculateExpiration(e.options.cookieExpire)),e.options.cookiePath?"; path=".concat(e.options.cookiePath):"",e.options.cookieDomain?"; domain=".concat(e.options.cookieDomain):"",e.options.cookieSecure?"; secure":"",";SameSite=".concat(e.options.cookieSameSite)].join("")},this._storage.getItem=function(e){var t="; ".concat(document.cookie).split("; ".concat(e,"="));return 2===t.length?decodeURIComponent(t.pop().split(";").shift()):null},this._storage.removeItem=function(t){document.cookie=[encodeURIComponent(t),"=","; expires=Thu, 01 Jan 1970 00:00:00 GMT",e.options.cookiePath?"; path=".concat(e.options.cookiePath):"",e.options.cookieDomain?"; domain=".concat(e.options.cookieDomain):"",";SameSite=".concat(e.options.cookieSameSite)].join("")};break;case"localStorage":this._storage.setItem=function(e,t){localStorage.setItem(e,t)},this._storage.getItem=function(e){return localStorage.getItem(e)},this._storage.removeItem=function(e){localStorage.removeItem(e)};break;case"sessionStorage":this._storage.setItem=function(e,t){sessionStorage.setItem(e,t)},this._storage.getItem=function(e){return sessionStorage.getItem(e)},this._storage.removeItem=function(e){sessionStorage.removeItem(e)};break;case"customStorage":if(!this.options.cookieCustomStorageSet||!this.options.cookieCustomStorageGet||!this.options.cookieCustomStorageDelete)throw new Error("The following options must be set while using the customStorage: cookieCustomStorageSet, cookieCustomStorageGet and cookieCustomStorageDelete");this._storage.setItem=function(t,r){xa.calculateObjectValue(e.options,e.options.cookieCustomStorageSet,[t,r],"")},this._storage.getItem=function(t){return xa.calculateObjectValue(e.options,e.options.cookieCustomStorageGet,[t],"")},this._storage.removeItem=function(t){xa.calculateObjectValue(e.options,e.options.cookieCustomStorageDelete,[t],"")};break;default:throw new Error("Storage method not supported.")}}}])&&n(t.prototype,i),l&&n(t,l),Object.defineProperty(t,"prototype",{writable:!1}),h}()}),jQuery.base64=function(e){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function r(e){var r,n,a,o,i,s,c,l="",u=0;for(e=function(e){e=e.replace(/\r\n/g,"\n");for(var t="",r=0;r<e.length;r++){var n=e.charCodeAt(r);n<128?t+=String.fromCharCode(n):n>127&&n<2048?(t+=String.fromCharCode(n>>6|192),t+=String.fromCharCode(63&n|128)):(t+=String.fromCharCode(n>>12|224),t+=String.fromCharCode(n>>6&63|128),t+=String.fromCharCode(63&n|128))}return t}(e);u<e.length;)o=(r=e.charCodeAt(u++))>>2,i=(3&r)<<4|(n=e.charCodeAt(u++))>>4,s=(15&n)<<2|(a=e.charCodeAt(u++))>>6,c=63&a,isNaN(n)?s=c=64:isNaN(a)&&(c=64),l=l+t.charAt(o)+t.charAt(i)+t.charAt(s)+t.charAt(c);return l}return{encode:function(e){return r(e)}}}(jQuery),function(e){e.fn.tableExport=function(o){let i;const s={csvEnclosure:'"',csvSeparator:",",csvUseBOM:!0,date:{html:"dd/mm/yyyy"},displayTableName:!1,escape:!1,exportHiddenCells:!1,fileName:"tableExport",htmlContent:!1,htmlHyperlink:"content",ignoreColumn:[],ignoreRow:[],jsonScope:"all",jspdf:{orientation:"p",unit:"pt",format:"a4",margins:{left:20,right:10,top:10,bottom:10},onDocCreated:null,autotable:{styles:{cellPadding:2,rowHeight:12,fontSize:8,fillColor:255,textColor:50,fontStyle:"normal",overflow:"ellipsize",halign:"inherit",valign:"middle"},headerStyles:{fillColor:[52,73,94],textColor:255,fontStyle:"bold",halign:"inherit",valign:"middle"},alternateRowStyles:{fillColor:245},tableExport:{doc:null,onAfterAutotable:null,onBeforeAutotable:null,onAutotableText:null,onTable:null,outputImages:!0}}},mso:{fileFormat:"xlshtml",onMsoNumberFormat:null,pageFormat:"a4",pageOrientation:"portrait",rtl:!1,styles:[],worksheetName:"",xlsx:{formatId:{date:14,numbers:2},onHyperlink:null}},numbers:{html:{decimalMark:".",thousandsSeparator:","},output:{decimalMark:".",thousandsSeparator:","}},onAfterSaveToFile:null,onBeforeSaveToFile:null,onCellData:null,onCellHtmlData:null,onCellHtmlHyperlink:null,onIgnoreRow:null,onTableExportBegin:null,onTableExportEnd:null,outputMode:"file",pdfmake:{enabled:!1,docDefinition:{pageSize:"A4",pageOrientation:"portrait",styles:{header:{background:"#34495E",color:"#FFFFFF",bold:!0,alignment:"center",fillColor:"#34495E"},alternateRow:{fillColor:"#f5f5f5"}},defaultStyle:{color:"#000000",fontSize:8,font:"Roboto"}},fonts:{}},preserve:{leadingWS:!1,trailingWS:!1},preventInjection:!0,sql:{tableEnclosure:"`",columnEnclosure:"`"},tbodySelector:"tr",tfootSelector:"tr",theadSelector:"tr",tableName:"Table",type:"csv"},c={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]},l={striped:{table:{fillColor:255,textColor:80,fontStyle:"normal",fillStyle:"F"},header:{textColor:255,fillColor:[41,128,185],rowHeight:23,fontStyle:"bold"},body:{},alternateRow:{fillColor:245}},grid:{table:{fillColor:255,textColor:80,fontStyle:"normal",lineWidth:.1,fillStyle:"DF"},header:{textColor:255,fillColor:[26,188,156],rowHeight:23,fillStyle:"F",fontStyle:"bold"},body:{},alternateRow:{}},plain:{header:{fontStyle:"bold"}}},u={cellPadding:5,fontSize:10,font:"helvetica",lineColor:200,lineWidth:.1,fontStyle:"normal",overflow:"ellipsize",fillColor:255,textColor:20,halign:"left",valign:"top",fillStyle:"F",rowHeight:20,columnWidth:"auto"},f=1.15,h=this;let d,p=null,g=[],m=[],v=0,b="",y=[],w=[],S=[],x=!1;if(e.extend(!0,s,o),"xlsx"===s.type&&(s.mso.fileFormat=s.type,s.type="excel"),void 0!==s.excelFileFormat&&void 0===s.mso.fileFormat&&(s.mso.fileFormat=s.excelFileFormat),void 0!==s.excelPageFormat&&void 0===s.mso.pageFormat&&(s.mso.pageFormat=s.excelPageFormat),void 0!==s.excelPageOrientation&&void 0===s.mso.pageOrientation&&(s.mso.pageOrientation=s.excelPageOrientation),void 0!==s.excelRTL&&void 0===s.mso.rtl&&(s.mso.rtl=s.excelRTL),void 0!==s.excelstyles&&void 0===s.mso.styles&&(s.mso.styles=s.excelstyles),void 0!==s.onMsoNumberFormat&&void 0===s.mso.onMsoNumberFormat&&(s.mso.onMsoNumberFormat=s.onMsoNumberFormat),void 0!==s.worksheetName&&void 0===s.mso.worksheetName&&(s.mso.worksheetName=s.worksheetName),void 0!==s.mso.xslx&&void 0===s.mso.xlsx&&(s.mso.xlsx=s.mso.xslx),s.mso.pageOrientation="l"===s.mso.pageOrientation.substr(0,1)?"landscape":"portrait",s.date.html=s.date.html||"",s.date.html.length){const e=[];e.dd="(3[01]|[12][0-9]|0?[1-9])",e.mm="(1[012]|0?[1-9])",e.yyyy="((?:1[6-9]|2[0-2])\\d{2})",e.yy="(\\d{2})";const t=s.date.html.match(/[^a-zA-Z0-9]/)[0],r=s.date.html.toLowerCase().split(t);s.date.regex="^\\s*",s.date.regex+=e[r[0]],s.date.regex+="(.)",s.date.regex+=e[r[1]],s.date.regex+="\\2",s.date.regex+=e[r[2]],s.date.regex+="\\s*$",s.date.pattern=new RegExp(s.date.regex,"g");let n=r.indexOf("dd")+1;s.date.match_d=n+(n>1?1:0),n=r.indexOf("mm")+1,s.date.match_m=n+(n>1?1:0),n=(r.indexOf("yyyy")>=0?r.indexOf("yyyy"):r.indexOf("yy"))+1,s.date.match_y=n+(n>1?1:0)}if(y=E(h),"function"==typeof s.onTableExportBegin&&s.onTableExportBegin(),"csv"===s.type||"tsv"===s.type||"txt"===s.type){let t="",r=0;w=[],v=0;const n=function(e,t,r){let n="";if(null!==e){const a=B(e,t,r),o=null===a||""===a?"":a.toString();"tsv"===s.type?(a instanceof Date&&a.toLocaleString(),n=I(o,"\t"," ")):a instanceof Date?n=s.csvEnclosure+a.toLocaleString()+s.csvEnclosure:((n=I(n=W(o),s.csvEnclosure,s.csvEnclosure+s.csvEnclosure)).indexOf(s.csvSeparator)>=0||/[\r\n ]/g.test(n))&&(n=s.csvEnclosure+n+s.csvEnclosure)}return n},a=function(r,a,o){return r.each(function(){b="",C(this,a,v,o+r.length,function(e,t,r){b+=n(e,t,r)+("tsv"===s.type?"\t":s.csvSeparator)}),(b=e.trim(b).substring(0,b.length-1)).length>0&&(t.length>0&&(t+="\n"),t+=b),v++}),r.length};if(r+=a(e(h).find("thead").first().find(s.theadSelector),"th,td",r),T(e(h),"tbody").each(function(){r+=a(T(e(this),s.tbodySelector),"td,th",r)}),s.tfootSelector.length&&a(e(h).find("tfoot").first().find(s.tfootSelector),"td,th",r),t+="\n","string"===s.outputMode)return t;if("base64"===s.outputMode)return ee(t);if("window"===s.outputMode)return void Q(!1,"data:text/"+("csv"===s.type?"csv":"plain")+";charset=utf-8,",t);Z(t,s.fileName+"."+s.type,"text/"+("csv"===s.type?"csv":"plain"),"utf-8","","csv"===s.type&&s.csvUseBOM)}else if("sql"===s.type){v=0,w=[];let t="INSERT INTO "+s.sql.tableEnclosure+s.tableName+s.sql.tableEnclosure+" (";if(g=k(e(h)),e(g).each(function(){C(this,"th,td",v,g.length,function(e,r,n){let a=B(e,r,n)||"";a.indexOf(s.sql.columnEnclosure)>-1&&(a=I(a.toString(),s.sql.columnEnclosure,s.sql.columnEnclosure+s.sql.columnEnclosure)),t+=s.sql.columnEnclosure+a+s.sql.columnEnclosure+","}),v++,t=e.trim(t).substring(0,t.length-1)}),t+=") VALUES ",m=A(e(h)),e(m).each(function(){b="",C(this,"td,th",v,g.length+m.length,function(e,t,r){let n=B(e,t,r)||"";n.indexOf("'")>-1&&(n=I(n.toString(),"'","''")),b+="'"+n+"',"}),b.length>3&&(t+="("+b,t=e.trim(t).substring(0,t.length-1),t+="),"),v++}),t=e.trim(t).substring(0,t.length-1),t+=";","string"===s.outputMode)return t;if("base64"===s.outputMode)return ee(t);Z(t,s.fileName+".sql","application/sql","utf-8","",!1)}else if("json"===s.type){const t=[];w=[],g=k(e(h)),e(g).each(function(){const e=[];C(this,"th,td",v,g.length,function(t,r,n){e.push(B(t,r,n))}),t.push(e)});const r=[];let n;if(m=A(e(h)),e(m).each(function(){const n={};let a=0;C(this,"td,th",v,g.length+m.length,function(e,r,o){t.length?n[t[t.length-1][a]]=B(e,r,o):n[a]=B(e,r,o),a++}),!1===e.isEmptyObject(n)&&r.push(n),v++}),n="head"===s.jsonScope?JSON.stringify(t):"data"===s.jsonScope?JSON.stringify(r):JSON.stringify({header:t,data:r}),"string"===s.outputMode)return n;if("base64"===s.outputMode)return ee(n);Z(n,s.fileName+".json","application/json","utf-8","base64",!1)}else if("xml"===s.type){v=0,w=[];let t='<?xml version="1.0" encoding="utf-8"?>';t+="<tabledata><fields>",g=k(e(h)),e(g).each(function(){C(this,"th,td",v,g.length,function(e,r,n){t+="<field>"+B(e,r,n)+"</field>"}),v++}),t+="</fields><data>";let r=1;if(m=A(e(h)),e(m).each(function(){let e=1;b="",C(this,"td,th",v,g.length+m.length,function(t,r,n){b+="<column-"+e+">"+B(t,r,n)+"</column-"+e+">",e++}),b.length>0&&"<column-1></column-1>"!==b&&(t+='<row id="'+r+'">'+b+"</row>",r++),v++}),t+="</data></tabledata>","string"===s.outputMode)return t;if("base64"===s.outputMode)return ee(t);Z(t,s.fileName+".xml","application/xml","utf-8","base64",!1)}else if("excel"===s.type&&"xmlss"===s.mso.fileFormat){const t=[],r=[];e(h).filter(function(){return _(e(this))}).each(function(){const n=e(this);let a="";function o(t,r,n){const a=[];return e(t).each(function(){let r=0,o=0;b="",C(this,"td,th",v,n+t.length,function(t,n,i){if(null!==t){let s="",c=B(t,n,i),l="String";if(!1!==jQuery.isNumeric(c))l="Number";else{const e=function(e){e.indexOf("%")>-1?!1!==(e=j(e.replace(/%/g,"")))&&(e/=100):e=!1;return e}(c);!1!==e&&(c=e,l="Number",s+=' ss:StyleID="pct1"')}"Number"!==l&&(c=c.replace(/\n/g,"<br>"));let u=V(t),f=q(t);e.each(a,function(){const e=this;if(v>=e.s.r&&v<=e.e.r&&o>=e.s.c&&o<=e.e.c)for(let t=0;t<=e.e.c-e.s.c;++t)o++,r++}),(f||u)&&(f=f||1,u=u||1,a.push({s:{r:v,c:o},e:{r:v+f-1,c:o+u-1}})),u>1&&(s+=' ss:MergeAcross="'+(u-1)+'"',o+=u-1),f>1&&(s+=' ss:MergeDown="'+(f-1)+'" ss:StyleID="rsp1"'),r>0&&(s+=' ss:Index="'+(o+1)+'"',r=0),b+="<Cell"+s+'><Data ss:Type="'+l+'">'+e("<div />").text(c).html()+"</Data></Cell>\r",o++}}),b.length>0&&(i+='<Row ss:AutoFitHeight="0">\r'+b+"</Row>\r"),v++}),t.length}"string"==typeof s.mso.worksheetName&&s.mso.worksheetName.length?a=s.mso.worksheetName+" "+(r.length+1):void 0!==s.mso.worksheetName[r.length]&&(a=s.mso.worksheetName[r.length]),a.length||(a=n.find("caption").text()||""),a.length||(a="Table "+(r.length+1)),a=e.trim(a.replace(/[\\\/[\]*:?'"]/g,"").substring(0,31)),r.push(e("<div />").text(a).html()),!1===s.exportHiddenCells&&(S=n.find("tr, th, td").filter(":hidden"),x=S.length>0),v=0,y=E(this),i="<Table>\r";const c=o(k(n),0,0);o(A(n),0,c),i+="</Table>\r",t.push(i)});const n={},a={};let o,c;for(let e=0,t=r.length;e<t;e++)c=n[o=r[e]],2===(c=n[o]=null==c?1:c+1)&&(r[a[o]]=r[a[o]].substring(0,29)+"-1"),n[o]>1?r[e]=r[e].substring(0,29)+"-"+n[o]:a[o]=e;let l='<?xml version="1.0" encoding="UTF-8"?>\r<?mso-application progid="Excel.Sheet"?>\r<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"\r xmlns:o="urn:schemas-microsoft-com:office:office"\r xmlns:x="urn:schemas-microsoft-com:office:excel"\r xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"\r xmlns:html="http://www.w3.org/TR/REC-html40">\r<DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">\r <Created>'+(new Date).toISOString()+'</Created>\r</DocumentProperties>\r<OfficeDocumentSettings xmlns="urn:schemas-microsoft-com:office:office">\r <AllowPNG/>\r</OfficeDocumentSettings>\r<ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">\r <WindowHeight>9000</WindowHeight>\r <WindowWidth>13860</WindowWidth>\r <WindowTopX>0</WindowTopX>\r <WindowTopY>0</WindowTopY>\r <ProtectStructure>False</ProtectStructure>\r <ProtectWindows>False</ProtectWindows>\r</ExcelWorkbook>\r<Styles>\r <Style ss:ID="Default" ss:Name="Normal">\r <Alignment ss:Vertical="Bottom"/>\r <Borders/>\r <Font/>\r <Interior/>\r <NumberFormat/>\r <Protection/>\r </Style>\r <Style ss:ID="rsp1">\r <Alignment ss:Vertical="Center"/>\r </Style>\r <Style ss:ID="pct1">\r <NumberFormat ss:Format="Percent"/>\r </Style>\r</Styles>\r';for(let e=0;e<t.length;e++)l+='<Worksheet ss:Name="'+r[e]+'" ss:RightToLeft="'+(s.mso.rtl?"1":"0")+'">\r'+t[e],s.mso.rtl?l+='<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">\r<DisplayRightToLeft/>\r</WorksheetOptions>\r':l+='<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel"/>\r',l+="</Worksheet>\r";if(l+="</Workbook>\r","string"===s.outputMode)return l;if("base64"===s.outputMode)return ee(l);Z(l,s.fileName+".xml","application/xml","utf-8","base64",!1)}else if("excel"===s.type&&"xlsx"===s.mso.fileFormat){const t=[],r=XLSX.utils.book_new();e(h).filter(function(){return _(e(this))}).each(function(){const n=e(this),a=function(t){let r;const n={},a=t.getElementsByTagName("tr"),o=Math.min(1e7,a.length),i={s:{r:0,c:0},e:{r:0,c:0}};let c,l=[],u=0,f=0,h=0,d=0,p=0,g=0,m=0;const v=XLSX.SSF.get_table();for(;f<a.length&&h<o;++f){const t=a[f];let o=!1;if("function"==typeof s.onIgnoreRow&&(o=s.onIgnoreRow(e(t),f)),!0===o||0!==s.ignoreRow.length&&(-1!==e.inArray(f,s.ignoreRow)||-1!==e.inArray(f-a.length,s.ignoreRow))||!1===_(e(t)))continue;const b=t.children;let y=0;for(d=0;d<b.length;++d)c=b[d],m=+V(c)||1,y+=m;let w=0;for(d=p=0;d<b.length;++d){c=b[d],m=+V(c)||1;const t=d+w;if(N(e(c),y,t+(t<p?p-t:0)))continue;for(w+=m-1,u=0;u<l.length;++u){const e=l[u];e.s.c==p&&e.s.r<=h&&h<=e.e.r&&(p=e.e.c+1,u=-1)}((g=+q(c))>0||m>1)&&l.push({s:{r:h,c:p},e:{r:h+(g||1)-1,c:p+m-1}});const a={type:""};let o=B(c,f,d+w,a),S={t:"s",v:o},x="";const k=e(c).attr("data-tableexport-cellformat")||void 0;if(""!==k?(0===(r=parseInt(e(c).attr("data-tableexport-xlsxformatid")||0))&&"function"==typeof s.mso.xlsx.formatId.numbers&&(r=s.mso.xlsx.formatId.numbers(e(c),f,d+w)),0===r&&"function"==typeof s.mso.xlsx.formatId.date&&(r=s.mso.xlsx.formatId.date(e(c),f,d+w)),49===r||"@"===r?x="s":"number"===a.type||r>0&&r<14||r>36&&r<41||48===r?x="n":("date"===a.type||r>13&&r<37||r>44&&r<48||56===r)&&(x="d")):x="s",null!=o){let t;if(0===o.length)S.t="z";else if(0===o.trim().length);else if("s"===x);else if("function"===a.type)S={f:o};else if("TRUE"===o)S={t:"b",v:!0};else if("FALSE"===o)S={t:"b",v:!1};else if("n"===x||isFinite(K(o,s.numbers.output))){const e=K(o,s.numbers.output);0===r&&"function"!=typeof s.mso.xlsx.formatId.numbers&&(r=s.mso.xlsx.formatId.numbers),(isFinite(e)||isFinite(o))&&(S={t:"n",v:isFinite(e)?e:o,z:"string"==typeof r?r:r in v?v[r]:"0.00"})}else!1===(t=M(o))&&"d"!==x||(0===r&&"function"!=typeof s.mso.xlsx.formatId.date&&(r=s.mso.xlsx.formatId.date),S={t:"d",v:!1!==t?t:o,z:"string"==typeof r?r:r in v?v[r]:"m/d/yy"});const n=e(c).find("a");if(n&&n.length){const t=n[0].hasAttribute("href")?n.attr("href"):"",r="href"!==s.htmlHyperlink||""===t?o:"",a=""!==t?'=HYPERLINK("'+t+(r.length?'","'+r:"")+'")':"";""!==a&&("function"==typeof s.mso.xlsx.onHyperlink?(o=s.mso.xlsx.onHyperlink(e(c),f,d,t,r,a),S=0!==o.indexOf("=HYPERLINK")?{t:"s",v:o}:{f:o}):S={f:a})}}n[X({c:p,r:h})]=S,i.e.c<p&&(i.e.c=p),p+=m}++h}l.length&&(n["!merges"]=(n["!merges"]||[]).concat(l));i.e.r=Math.max(i.e.r,h-1),n["!ref"]=Y(i),h>=o&&(n["!fullref"]=Y((i.e.r=a.length-f+h-1,i)));return n}(this);let o="";"string"==typeof s.mso.worksheetName&&s.mso.worksheetName.length?o=s.mso.worksheetName+" "+(t.length+1):void 0!==s.mso.worksheetName[t.length]&&(o=s.mso.worksheetName[t.length]),o.length||(o=n.find("caption").text()||""),o.length||(o="Table "+(t.length+1)),o=e.trim(o.replace(/[\\\/[\]*:?'"]/g,"").substring(0,31)),t.push(o),XLSX.utils.book_append_sheet(r,a,o)}),Z(function(e){const t=new ArrayBuffer(e.length),r=new Uint8Array(t);for(let t=0;t!==e.length;++t)r[t]=255&e.charCodeAt(t);return t}(XLSX.write(r,{type:"binary",bookType:s.mso.fileFormat,bookSST:!1})),s.fileName+"."+s.mso.fileFormat,"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","UTF-8","",!1)}else if("excel"===s.type||"xls"===s.type||"word"===s.type||"doc"===s.type){const t="excel"===s.type||"xls"===s.type?"excel":"word",r="excel"===t?"xls":"doc",n='xmlns:x="urn:schemas-microsoft-com:office:'+t+'"';i="";let a="";e(h).filter(function(){return _(e(this))}).each(function(){const t=e(this);""===a&&(a=s.mso.worksheetName||t.find("caption").text()||"Table",a=e.trim(a.replace(/[\\\/[\]*:?'"]/g,"").substring(0,31))),!1===s.exportHiddenCells&&(S=t.find("tr, th, td").filter(":hidden"),x=S.length>0),v=0,w=[],y=E(this),i+="<table><thead>",g=k(t),e(g).each(function(){const t=e(this);b="",C(this,"th,td",v,g.length,function(e,r,n){if(null!==e){let a="";if(b+="<th",s.mso.styles.length){const r=document.defaultView.getComputedStyle(e,null),n=document.defaultView.getComputedStyle(t[0],null);for(let e in s.mso.styles){let t=r[s.mso.styles[e]];""===t&&(t=n[s.mso.styles[e]]),""!==t&&"0px none rgb(0, 0, 0)"!==t&&"rgba(0, 0, 0, 0)"!==t&&(a+=""===a?'style="':";",a+=s.mso.styles[e]+":"+t)}}""!==a&&(b+=" "+a+'"');const o=V(e);o>0&&(b+=' colspan="'+o+'"');const i=q(e);i>0&&(b+=' rowspan="'+i+'"'),b+=">"+B(e,r,n)+"</th>"}}),b.length>0&&(i+="<tr>"+b+"</tr>"),v++}),i+="</thead><tbody>",m=A(t),e(m).each(function(){const t=e(this);b="",C(this,"td,th",v,g.length+m.length,function(r,n,a){if(null!==r){let o=B(r,n,a),i="",c=e(r).attr("data-tableexport-msonumberformat");if(void 0===c&&"function"==typeof s.mso.onMsoNumberFormat&&(c=s.mso.onMsoNumberFormat(r,n,a)),void 0!==c&&""!==c&&(i="style=\"mso-number-format:'"+c+"'"),s.mso.styles.length){const e=document.defaultView.getComputedStyle(r,null),n=document.defaultView.getComputedStyle(t[0],null);for(let t in s.mso.styles)""===(c=e[s.mso.styles[t]])&&(c=n[s.mso.styles[t]]),""!==c&&"0px none rgb(0, 0, 0)"!==c&&"rgba(0, 0, 0, 0)"!==c&&(i+=""===i?'style="':";",i+=s.mso.styles[t]+":"+c)}b+="<td",""!==i&&(b+=" "+i+'"');const l=V(r);l>0&&(b+=' colspan="'+l+'"');const u=q(r);u>0&&(b+=' rowspan="'+u+'"'),"string"==typeof o&&""!==o&&(o=(o=W(o)).replace(/\n/g,"<br>")),b+=">"+o+"</td>"}}),b.length>0&&(i+="<tr>"+b+"</tr>"),v++}),s.displayTableName&&(i+="<tr><td></td></tr><tr><td></td></tr><tr><td>"+B(e("<p>"+s.tableName+"</p>"))+"</td></tr>"),i+="</tbody></table>"});let o='<html xmlns:o="urn:schemas-microsoft-com:office:office" '+n+' xmlns="http://www.w3.org/TR/REC-html40">';if(o+='<meta http-equiv="content-type" content="application/vnd.ms-'+t+'; charset=UTF-8">',o+="<head>","excel"===t&&(o+="\x3c!--[if gte mso 9]>",o+="<xml>",o+="<x:ExcelWorkbook>",o+="<x:ExcelWorksheets>",o+="<x:ExcelWorksheet>",o+="<x:Name>",o+=a,o+="</x:Name>",o+="<x:WorksheetOptions>",o+="<x:DisplayGridlines/>",s.mso.rtl&&(o+="<x:DisplayRightToLeft/>"),o+="</x:WorksheetOptions>",o+="</x:ExcelWorksheet>",o+="</x:ExcelWorksheets>",o+="</x:ExcelWorkbook>",o+="</xml>",o+="<![endif]--\x3e"),o+="<style>",o+="@page { size:"+s.mso.pageOrientation+"; mso-page-orientation:"+s.mso.pageOrientation+"; }",o+="@page Section1 {size:"+c[s.mso.pageFormat][0]+"pt "+c[s.mso.pageFormat][1]+"pt",o+="; margin:1.0in 1.25in 1.0in 1.25in;mso-header-margin:.5in;mso-footer-margin:.5in;mso-paper-source:0;}",o+="div.Section1 {page:Section1;}",o+="@page Section2 {size:"+c[s.mso.pageFormat][1]+"pt "+c[s.mso.pageFormat][0]+"pt",o+=";mso-page-orientation:"+s.mso.pageOrientation+";margin:1.25in 1.0in 1.25in 1.0in;mso-header-margin:.5in;mso-footer-margin:.5in;mso-paper-source:0;}",o+="div.Section2 {page:Section2;}",o+="br {mso-data-placement:same-cell;}",o+="</style>",o+="</head>",o+="<body>",o+='<div class="Section'+("landscape"===s.mso.pageOrientation?"2":"1")+'">',o+=i,o+="</div>",o+="</body>",o+="</html>","string"===s.outputMode)return o;if("base64"===s.outputMode)return ee(o);Z(o,s.fileName+"."+r,"application/vnd.ms-"+t,"","base64",!1)}else if("png"===s.type)html2canvas(e(h)[0]).then(function(e){const t=e.toDataURL(),r=atob(t.substring(22)),n=new ArrayBuffer(r.length),a=new Uint8Array(n);for(let e=0;e<r.length;e++)a[e]=r.charCodeAt(e);return"string"===s.outputMode?r:"base64"===s.outputMode?ee(t):void("window"!==s.outputMode?Z(n,s.fileName+".png","image/png","","",!1):window.open(t))});else if("pdf"===s.type)if(!0===s.pdfmake.enabled){const t={content:[]};e.extend(!0,t,s.pdfmake.docDefinition),w=[],e(h).filter(function(){return _(e(this))}).each(function(){const r=e(this),n=[],a=[];v=0;const o=function(t,r,n){let o=0;return e(t).each(function(){const e=[];C(this,r,v,n,function(t,n,a){let o;if(null!=t){const e=V(t),r=q(t);o={text:B(t,n,a)||" "},(e>1||r>1)&&(o.colSpan=e||1,o.rowSpan=r||1)}else o={text:" "};r.indexOf("th")>=0&&(o.style="header"),e.push(o)}),e.length&&a.push(e),o<e.length&&(o=e.length),v++}),o};let i=o(g=k(r),"th,td",g.length);for(let e=n.length;e<i;e++)n.push("*");i=o(m=A(r),"td",g.length+m.length);for(let e=n.length;e<i;e++)n.push("*");t.content.push({table:{headerRows:g.length?g.length:null,widths:n,body:a},layout:{layout:"noBorders",hLineStyle:function(e,t){return 0},vLineWidth:function(e,t){return 0},hLineColor:function(e,t){return e<t.table.headerRows?s.pdfmake.docDefinition.styles.header.background:s.pdfmake.docDefinition.styles.alternateRow.fillColor},vLineColor:function(e,t){return e<t.table.headerRows?s.pdfmake.docDefinition.styles.header.background:s.pdfmake.docDefinition.styles.alternateRow.fillColor},fillColor:function(e,t,r){return e%2==0?s.pdfmake.docDefinition.styles.alternateRow.fillColor:null}},pageBreak:t.content.length?"before":void 0})}),"undefined"!=typeof pdfMake&&void 0!==pdfMake.createPdf&&(pdfMake.fonts={Roboto:{normal:"Roboto-Regular.ttf",bold:"Roboto-Medium.ttf",italics:"Roboto-Italic.ttf",bolditalics:"Roboto-MediumItalic.ttf"}},pdfMake.vfs.hasOwnProperty("Mirza-Regular.ttf")?(t.defaultStyle.font="Mirza",e.extend(!0,pdfMake.fonts,{Mirza:{normal:"Mirza-Regular.ttf",bold:"Mirza-Bold.ttf",italics:"Mirza-Medium.ttf",bolditalics:"Mirza-SemiBold.ttf"}})):pdfMake.vfs.hasOwnProperty("gbsn00lp.ttf")?(t.defaultStyle.font="gbsn00lp",e.extend(!0,pdfMake.fonts,{gbsn00lp:{normal:"gbsn00lp.ttf",bold:"gbsn00lp.ttf",italics:"gbsn00lp.ttf",bolditalics:"gbsn00lp.ttf"}})):pdfMake.vfs.hasOwnProperty("ZCOOLXiaoWei-Regular.ttf")&&(t.defaultStyle.font="ZCOOLXiaoWei",e.extend(!0,pdfMake.fonts,{ZCOOLXiaoWei:{normal:"ZCOOLXiaoWei-Regular.ttf",bold:"ZCOOLXiaoWei-Regular.ttf",italics:"ZCOOLXiaoWei-Regular.ttf",bolditalics:"ZCOOLXiaoWei-Regular.ttf"}})),e.extend(!0,pdfMake.fonts,s.pdfmake.fonts),pdfMake.createPdf(t).getBuffer(function(e){Z(e,s.fileName+".pdf","application/pdf","","",!1)}))}else if(!1===s.jspdf.autotable){let e=new jspdf.jsPDF({orientation:s.jspdf.orientation,unit:s.jspdf.unit,format:s.jspdf.format});e.html(h[0],{callback:function(){O(e,!1)},html2canvas:{scale:(e.internal.pageSize.width-2*s.jspdf.margins.left)/h[0].scrollWidth},x:s.jspdf.margins.left,y:s.jspdf.margins.top})}else{const o=s.jspdf.autotable.tableExport;if("string"==typeof s.jspdf.format&&"bestfit"===s.jspdf.format.toLowerCase()){let t="",r="",n=0;e(h).each(function(){if(_(e(this))){const a=G(e(this).get(0),"width","pt");if(a>n){a>c.a0[0]&&(t="a0",r="l");for(let e in c)c.hasOwnProperty(e)&&c[e][1]>a&&(t=e,r="l",c[e][0]>a&&(r="p"));n=a}}}),s.jspdf.format=""===t?"a4":t,s.jspdf.orientation=""===r?"w":r}null==o.doc&&(o.doc=new jspdf.jsPDF(s.jspdf.orientation,s.jspdf.unit,s.jspdf.format),o.wScaleFactor=1,o.hScaleFactor=1,"function"==typeof s.jspdf.onDocCreated&&s.jspdf.onDocCreated(o.doc)),!0===o.outputImages&&(o.images={}),void 0!==o.images&&(e(h).filter(function(){return _(e(this))}).each(function(){let t=0;w=[],!1===s.exportHiddenCells&&(S=e(this).find("tr, th, td").filter(":hidden"),x=S.length>0),g=k(e(this)),m=A(e(this)),e(m).each(function(){C(this,"td,th",g.length+t,g.length+m.length,function(t){!function t(r,n,a){if(null!=r)if(r.hasAttribute("data-tableexport-canvas")){const t=(new Date).getTime();e(r).attr("data-tableexport-canvas",t),a.images[t]={url:'[data-tableexport-canvas="'+t+'"]',src:null}}else"undefined"!==n&&null!=n&&n.each(function(){if(e(this).is("img")){const e=J(this.src);a.images[e]={url:this.src,src:this.src}}t(r,e(this).children(),a)})}(t,e(t).children(),o)}),t++})}),g=[],m=[]),function(t,r){let n=0,a=0;function o(){r(n)}function i(t){if(t.url)if(t.src){const e=new Image;n=++a,e.crossOrigin="Anonymous",e.onerror=e.onload=function(){if(e.complete&&(0===e.src.indexOf("data:image/")&&(e.width=t.width||e.width||0,e.height=t.height||e.height||0),e.width+e.height)){const r=document.createElement("canvas"),n=r.getContext("2d");r.width=e.width,r.height=e.height,n.drawImage(e,0,0),t.src=r.toDataURL("image/png")}--a||o()},e.src=t.url}else{const r=e(t.url);r.length&&(n=++a,html2canvas(r[0]).then(function(e){t.src=e.toDataURL("image/png"),--a||o()}))}}if(void 0!==t.images)for(let e in t.images)t.images.hasOwnProperty(e)&&i(t.images[e]);a||o()}(o,function(){e(h).filter(function(){return _(e(this))}).each(function(){let i;if(v=0,w=[],!1===s.exportHiddenCells&&(S=e(this).find("tr, th, td").filter(":hidden"),x=S.length>0),y=E(this),o.columns=[],o.rows=[],o.teCells={},"function"==typeof o.onTable&&!1===o.onTable(e(this),s))return!0;s.jspdf.autotable.tableExport=null;const c=e.extend(!0,{},s.jspdf.autotable);if(s.jspdf.autotable.tableExport=o,c.margin={},e.extend(!0,c.margin,s.jspdf.margins),c.tableExport=o,"function"!=typeof c.createdHeaderCell&&(c.createdHeaderCell=function(e,t){if(void 0!==o.columns[t.column.dataKey]){const r=o.columns[t.column.dataKey];if(void 0!==r.rect){let n;e.contentWidth=r.rect.width,void 0!==o.heightRatio&&0!==o.heightRatio||(n=t.row.raw[t.column.dataKey].rowspan?t.row.raw[t.column.dataKey].rect.height/t.row.raw[t.column.dataKey].rowspan:t.row.raw[t.column.dataKey].rect.height,o.heightRatio=e.styles.rowHeight/n),(n=t.row.raw[t.column.dataKey].rect.height*o.heightRatio)>e.styles.rowHeight&&(e.styles.rowHeight=n)}e.styles.halign="inherit"===c.headerStyles.halign?"center":c.headerStyles.halign,e.styles.valign=c.headerStyles.valign,void 0!==r.style&&!0!==r.style.hidden&&("inherit"===c.headerStyles.halign&&(e.styles.halign=r.style.align),"inherit"===c.styles.fillColor&&(e.styles.fillColor=r.style.bcolor),"inherit"===c.styles.textColor&&(e.styles.textColor=r.style.color),"inherit"===c.styles.fontStyle&&(e.styles.fontStyle=r.style.fstyle))}}),"function"!=typeof c.createdCell&&(c.createdCell=function(e,t){const r=o.teCells[t.row.index+":"+t.column.dataKey];e.styles.halign="inherit"===c.styles.halign?"center":c.styles.halign,e.styles.valign=c.styles.valign,void 0!==r&&void 0!==r.style&&!0!==r.style.hidden&&("inherit"===c.styles.halign&&(e.styles.halign=r.style.align),"inherit"===c.styles.fillColor&&(e.styles.fillColor=r.style.bcolor),"inherit"===c.styles.textColor&&(e.styles.textColor=r.style.color),"inherit"===c.styles.fontStyle&&(e.styles.fontStyle=r.style.fstyle))}),"function"!=typeof c.drawHeaderCell&&(c.drawHeaderCell=function(e,t){const r=o.columns[t.column.dataKey];return(!0!==r.style.hasOwnProperty("hidden")||!0!==r.style.hidden)&&r.rowIndex>=0&&L(e,t,r)}),"function"!=typeof c.drawCell&&(c.drawCell=function(t,r){const n=o.teCells[r.row.index+":"+r.column.dataKey];if(!0!==(void 0!==n&&n.isCanvas)){if(L(t,r,n))if(o.doc.rect(t.x,t.y,t.width,t.height,t.styles.fillStyle),void 0===n||void 0!==n.hasUserDefText&&!0===n.hasUserDefText||void 0===n.elements||!n.elements.length)P(t,{},o);else{const r=t.height/n.rect.height;r>o.hScaleFactor&&(o.hScaleFactor=r),o.wScaleFactor=t.width/n.rect.width;const a=t.textPos.y;!function t(r,n,a){n.each(function(){if(e(this).is("div")){const e=z($(this,"background-color"),[255,255,255]),t=z($(this,"border-top-color"),[0,0,0]),n=G(this,"border-top-width",s.jspdf.unit),o=this.getBoundingClientRect(),i=this.offsetLeft*a.wScaleFactor,c=this.offsetTop*a.hScaleFactor,l=o.width*a.wScaleFactor,u=o.height*a.hScaleFactor;a.doc.setDrawColor.apply(void 0,t),a.doc.setFillColor.apply(void 0,e),a.doc.setLineWidth(n),a.doc.rect(r.x+i,r.y+c,l,u,n?"FD":"F")}else if(e(this).is("img")){const e=J(this.src);R(r,this,e,a)}t(r,e(this).children(),a)})}(t,n.elements,o),t.textPos.y=a,P(t,n.elements,o)}}else{const a=n.elements[0],i=e(a).attr("data-tableexport-canvas"),s=a.getBoundingClientRect();t.width=s.width*o.wScaleFactor,t.height=s.height*o.hScaleFactor,r.row.height=t.height,R(t,a,i,o)}return!1}),o.headerrows=[],g=k(e(this)),e(g).each(function(){i=0,o.headerrows[v]=[],C(this,"th,td",v,g.length,function(e,t,r){const n=H(e);n.title=B(e,t,r),n.key=i++,n.rowIndex=v,o.headerrows[v].push(n)}),v++}),v>0){let t=v-1;for(;t>=0;)e.each(o.headerrows[t],function(){let e=this;t>0&&null===this.rect&&(e=o.headerrows[t-1][this.key]),null!==e&&e.rowIndex>=0&&(!0!==e.style.hasOwnProperty("hidden")||!0!==e.style.hidden)&&o.columns.push(e)}),t=o.columns.length>0?-1:t-1}let h=0;m=[],m=A(e(this)),e(m).each(function(){const t=[];i=0,C(this,"td,th",v,g.length+m.length,function(r,n,a){let s;void 0===o.columns[i]&&(s={title:"",key:i,style:{hidden:!0}},o.columns.push(s)),t.push(B(r,n,a)),null!=r?((s=H(r)).isCanvas=r.hasAttribute("data-tableexport-canvas"),s.elements=s.isCanvas?e(r):e(r).children(),void 0!==e(r).data("teUserDefText")&&(s.hasUserDefText=!0),o.teCells[h+":"+i++]=s):((s=e.extend(!0,{},o.teCells[h+":"+(i-1)])).colspan=-1,o.teCells[h+":"+i++]=s)}),t.length&&(o.rows.push(t),h++),v++}),"function"==typeof o.onBeforeAutotable&&o.onBeforeAutotable(e(this),o.columns,o.rows,c),function(o,i,s,c){(function(e,t,r){e&&"object"==typeof e||console.error("The headers should be an object or array, is: "+typeof e);t&&"object"==typeof t||console.error("The data should be an object or array, is: "+typeof t);r&&"object"!=typeof r&&console.error("The data should be an object or array, is: "+typeof t);Array.prototype.forEach||console.error("The current browser does not support Array.prototype.forEach which is required for jsPDF-AutoTable")})(i,s,c),te=o,ne=function(e){const t=he({theme:"striped",styles:{},headerStyles:{},bodyStyles:{},alternateRowStyles:{},columnStyles:{},startY:!1,margin:40,pageBreak:"auto",tableWidth:"auto",createdHeaderCell:function(e,t){},createdCell:function(e,t){},drawHeaderRow:function(e,t){},drawRow:function(e,t){},drawHeaderCell:function(e,t){},drawCell:function(e,t){},beforePageContent:function(e){},afterPageContent:function(e){}},e);void 0!==t.extendWidth&&(t.tableWidth=t.extendWidth?"auto":"wrap",console.error("Use of deprecated option: extendWidth, use tableWidth instead."));void 0!==t.margins&&(void 0===t.margin&&(t.margin=t.margins),console.error("Use of deprecated option: margins, use margin instead."));[["padding","cellPadding"],["lineHeight","rowHeight"],"fontSize","overflow"].forEach(function(e){const r="string"==typeof e?e:e[0],n="string"==typeof e?e:e[1];void 0!==t[r]&&(void 0===t.styles[n]&&(t.styles[n]=t[r]),console.error("Use of deprecated option: "+r+", use the style "+n+" instead."))});const r=t.margin;t.margin={},"number"==typeof r.horizontal&&(r.right=r.horizontal,r.left=r.horizontal);"number"==typeof r.vertical&&(r.top=r.vertical,r.bottom=r.vertical);return["top","right","bottom","left"].forEach(function(e,n){if("number"==typeof r)t.margin[e]=r;else{const a=Array.isArray(r)?n:e;t.margin[e]="number"==typeof r[a]?r[a]:40}}),t}(c||{}),ae=1,re={y:!1===ne.startY?ne.margin.top:ne.startY};const h={textColor:30,fontSize:te.internal.getFontSize(),fontStyle:te.internal.getFont().fontStyle};(function(o,i){(oe=new t).x=ne.margin.left;const s=/\r\n|\r|\n/g,c=new r(o);c.index=-1;const f=he(u,l[ne.theme].table,l[ne.theme].header);c.styles=he(f,ne.styles,ne.headerStyles),o.forEach(function(t,r){"object"==typeof t&&(r=void 0!==t.dataKey?t.dataKey:t.key),void 0!==t.width&&console.error("Use of deprecated option: column.width, use column.styles.columnWidth instead.");const o=new a(r);o.styles=ne.columnStyles[o.dataKey]||{},oe.columns.push(o);const i=new n;i.raw="object"==typeof t?t.title:t,i.styles=e.extend({},c.styles),i.text=""+i.raw,i.contentWidth=2*i.styles.cellPadding+fe(i.text,i.styles),i.text=i.text.split(s),c.cells[r]=i,ne.createdHeaderCell(i,{column:o,row:c,settings:ne})}),oe.headerRow=c,i.forEach(function(e,t){const a=new r(e),o=t%2==0,i=he(u,l[ne.theme].table,o?l[ne.theme].alternateRow:{}),c=he(ne.styles,ne.bodyStyles,o?ne.alternateRowStyles:{});a.styles=he(i,c),a.index=t,oe.columns.forEach(function(t){const r=new n;r.raw=e[t.dataKey],r.styles=he(a.styles,t.styles),r.text=void 0!==r.raw?""+r.raw:"",a.cells[t.dataKey]=r,ne.createdCell(r,le({column:t,row:a})),r.contentWidth=2*r.styles.cellPadding+fe(r.text,r.styles),r.text=r.text.split(s)}),oe.rows.push(a)})})(i,s),function(){let e=0;oe.columns.forEach(function(t){t.contentWidth=oe.headerRow.cells[t.dataKey].contentWidth,oe.rows.forEach(function(e){const r=e.cells[t.dataKey].contentWidth;r>t.contentWidth&&(t.contentWidth=r)}),t.width=t.contentWidth,e+=t.contentWidth}),oe.contentWidth=e;const t=te.internal.pageSize.width-ne.margin.left-ne.margin.right;let r=t;"number"==typeof ne.tableWidth?r=ne.tableWidth:"wrap"===ne.tableWidth&&(r=oe.contentWidth);oe.width=r<t?r:t;const n=[];let a=0;const o=oe.width/oe.columns.length;let i=0;oe.columns.forEach(function(e){const t=he(u,l[ne.theme].table,ne.styles,e.styles);"wrap"===t.columnWidth?e.width=e.contentWidth:"number"==typeof t.columnWidth?e.width=t.columnWidth:(t.columnWidth,e.contentWidth<=o&&oe.contentWidth>oe.width?e.width=e.contentWidth:(n.push(e),a+=e.contentWidth,e.width=0)),i+=e.width}),function e(t,r,n,a){const o=oe.width-r-n;for(let i=0;i<t.length;i++){const s=t[i],c=s.contentWidth/n,l=s.contentWidth+o*c<a;if(o<0&&l){t.splice(i,1),n-=s.contentWidth,s.width=a,r+=s.width,e(t,r,n,a);break}s.width=s.contentWidth+o*c}}(n,i,a,o),oe.height=0,oe.rows.concat(oe.headerRow).forEach(function(e,t){let r=0,n=oe.x;oe.columns.forEach(function(t){const a=e.cells[t.dataKey];t.x=n,ce(a.styles);const o=t.width-2*a.styles.cellPadding;"linebreak"===a.styles.overflow?a.text=te.splitTextToSize(a.text,o+1,{fontSize:a.styles.fontSize}):"ellipsize"===a.styles.overflow?a.text=ue(a.text,o,a.styles):"visible"===a.styles.overflow||("hidden"===a.styles.overflow?a.text=ue(a.text,o,a.styles,""):"function"==typeof a.styles.overflow?a.text=a.styles.overflow(a.text,o):console.error("Unrecognized overflow type: "+a.styles.overflow));const i=Array.isArray(a.text)?a.text.length-1:0;i>r&&(r=i),n+=t.width}),e.heightStyle=e.styles.rowHeight,e.height=e.heightStyle+r*e.styles.fontSize*f+(2-f)/2*e.styles.fontSize,oe.height+=e.height})}();const d=oe.rows[0]&&"auto"===ne.pageBreak?oe.rows[0].height:0;let p=ne.startY+ne.margin.bottom+oe.headerRow.height+d;"avoid"===ne.pageBreak&&(p+=oe.height);("always"===ne.pageBreak&&!1!==ne.startY||!1!==ne.startY&&p>te.internal.pageSize.height)&&(te.addPage(),re.y=ne.margin.top);ce(h),ne.beforePageContent(le()),!1!==ne.drawHeaderRow(oe.headerRow,le({row:oe.headerRow}))&&se(oe.headerRow,ne.drawHeaderCell);ce(h),oe.rows.forEach(function(e,t){var r;r=e.height,re.y+r+ne.margin.bottom>=te.internal.pageSize.height&&(ne.afterPageContent(le()),te.addPage(),ae++,re={x:ne.margin.left,y:ne.margin.top},ne.beforePageContent(le()),!1!==ne.drawHeaderRow(oe.headerRow,le({row:oe.headerRow}))&&se(oe.headerRow,ne.drawHeaderCell)),e.y=re.y,!1!==ne.drawRow(e,le({row:e}))&&se(e,ne.drawCell)}),ne.afterPageContent(le()),ce(h)}(o.doc,o.columns,o.rows,c),"function"==typeof o.onAfterAutotable&&o.onAfterAutotable(e(this),c),s.jspdf.autotable.startY=function(){if(void 0===re||void 0===re.y)return 0;return re.y}()+c.margin.top}),O(o.doc,void 0!==o.images&&!1===jQuery.isEmptyObject(o.images)),void 0!==o.headerrows&&(o.headerrows.length=0),void 0!==o.columns&&(o.columns.length=0),void 0!==o.rows&&(o.rows.length=0),delete o.doc,o.doc=null})}function k(t){const r=[];return T(t,"thead").each(function(){r.push.apply(r,T(e(this),s.theadSelector).toArray())}),r}function A(t){const r=[];return T(t,"tbody").each(function(){r.push.apply(r,T(e(this),s.tbodySelector).toArray())}),s.tfootSelector.length&&T(t,"tfoot").each(function(){r.push.apply(r,T(e(this),s.tfootSelector).toArray())}),r}function T(t,r){const n=t[0].tagName,a=t.parents(n).length;return t.find(r).filter(function(){return a===e(this).closest(n).parents(n).length})}function E(t){const r=[];let n=0,a=0,o=0;return e(t).find("thead").first().find("th").each(function(t,i){const s=void 0!==e(i).attr("data-field");void 0!==i.parentNode.rowIndex&&a!==i.parentNode.rowIndex&&(a=i.parentNode.rowIndex,o=0,n=0);const c=V(i);for(n+=c||1;o<n;)r[o]=s?e(i).attr("data-field"):o.toString(),o++}),r}function _(t){let r=void 0!==t[0].rowIndex;const n=!1===r&&void 0!==t[0].cellIndex,a=n||r?function(e){let t=[];x&&(t=S.filter(function(){let t=!1;return this.nodeType===e[0].nodeType&&(void 0!==this.rowIndex&&this.rowIndex===e[0].rowIndex?t=!0:void 0!==this.cellIndex&&this.cellIndex===e[0].cellIndex&&void 0!==this.parentNode.rowIndex&&void 0!==e[0].parentNode.rowIndex&&this.parentNode.rowIndex===e[0].parentNode.rowIndex&&(t=!0)),t}));return!1===x||0===t.length}(t):t.is(":visible");let o=t.attr("data-tableexport-display");return n&&"none"!==o&&"always"!==o&&(r=void 0!==(t=e(t[0].parentNode))[0].rowIndex,o=t.attr("data-tableexport-display")),r&&"none"!==o&&"always"!==o&&(o=t.closest("table").attr("data-tableexport-display")),"none"!==o&&(!0===a||"always"===o)}function N(t,r,n){let a=!1;return _(t)?s.ignoreColumn.length>0&&(-1!==e.inArray(n,s.ignoreColumn)||-1!==e.inArray(n-r,s.ignoreColumn)||y.length>n&&void 0!==y[n]&&-1!==e.inArray(y[n],s.ignoreColumn))&&(a=!0):a=!0,a}function C(t,r,n,a,o){if("function"==typeof o){let i=!1;if("function"==typeof s.onIgnoreRow&&(i=s.onIgnoreRow(e(t),n)),!1===i&&(0===s.ignoreRow.length||-1===e.inArray(n,s.ignoreRow)&&-1===e.inArray(n-a,s.ignoreRow))&&_(e(t))){const a=T(e(t),r);let i=a.length,s=0,c=0;a.each(function(){const t=e(this);let r,a=V(this),l=q(this);if(e.each(w,function(){const e=this;if(n>e.s.r&&n<=e.e.r&&s>=e.s.c&&s<=e.e.c)for(r=0;r<=e.e.c-e.s.c;++r)i++,c++,o(null,n,s++)}),(l||a)&&(l=l||1,a=a||1,w.push({s:{r:n,c:s},e:{r:n+l-1,c:s+a-1}})),!1===N(t,i,c++)&&o(this,n,s++),a>1)for(r=0;r<a-1;++r)c++,o(null,n,s++)}),e.each(w,function(){const e=this;if(n>=e.s.r&&n<=e.e.r&&s>=e.s.c&&s<=e.e.c)for(let t=0;t<=e.e.c-e.s.c;++t)o(null,n,s++)})}}}function R(e,t,r,n){if(void 0!==n.images){const a=n.images[r];if(void 0!==a){const r=t.getBoundingClientRect(),o=e.width/e.height,i=r.width/r.height;let s=e.width,c=e.height;const l=19.049976/25.4;let u=0;i<=o?(c=Math.min(e.height,r.height),s=r.width*c/r.height):i>o&&(s=Math.min(e.width,r.width),c=r.height*s/r.width),s*=l,(c*=l)<e.height&&(u=(e.height-c)/2);try{n.doc.addImage(a.src,e.textPos.x,e.y+u,s,c)}catch(e){}e.textPos.x+=s}}}function O(e,t){if("string"===s.outputMode)return e.output();if("base64"===s.outputMode)return ee(e.output());if("window"===s.outputMode)return window.URL=window.URL||window.webkitURL,void window.open(window.URL.createObjectURL(e.output("blob")));const r=s.fileName+".pdf";try{const n=e.output("blob");saveAs(n,r),"function"==typeof s.onAfterSaveToFile&&s.onAfterSaveToFile(n,r)}catch(n){Q(r,"data:application/pdf"+(t?"":";base64")+",",t?e.output("blob"):e.output())}}function L(e,t,r){let n=0;if(void 0!==r&&(n=r.colspan),n>=0){let a=e.width,o=e.textPos.x;const i=t.table.columns.indexOf(t.column);for(let e=1;e<n;e++){a+=t.table.columns[i+e].width}if(n>1&&("right"===e.styles.halign?o=e.textPos.x+a-e.width:"center"===e.styles.halign&&(o=e.textPos.x+(a-e.width)/2)),e.width=a,e.textPos.x=o,void 0!==r&&r.rowspan>1&&(e.height=e.height*r.rowspan),"middle"===e.styles.valign||"bottom"===e.styles.valign){const r=("string"==typeof e.text?e.text.split(/\r\n|\r|\n/g):e.text).length||1;r>2&&(e.textPos.y-=(2-f)/2*t.row.styles.fontSize*(r-2)/3)}return!0}return!1}function P(t,r,n){if("function"==typeof n.onAutotableText)n.onAutotableText(n.doc,t,r);else{let a=t.textPos.x,o=t.textPos.y;const i={halign:t.styles.halign,valign:t.styles.valign};if(r.length){let c=r[0];for(;c.previousSibling;)c=c.previousSibling;let l=!1,u=!1;for(;c;){let r=c.innerText||c.textContent||"";const f=r.length&&" "===r[0]?" ":"",h=r.length>1&&" "===r[r.length-1]?" ":"";!0!==s.preserve.leadingWS&&(r=f+F(r)),!0!==s.preserve.trailingWS&&(r=D(r)+h),e(c).is("br")&&(a=t.textPos.x,o+=n.doc.internal.getFontSize()),e(c).is("b")?l=!0:e(c).is("i")&&(u=!0),(l||u)&&n.doc.setFont("undefined ",l&&u?"bolditalic":l?"bold":"italic");let d=n.doc.getStringUnitWidth(r)*n.doc.internal.getFontSize();if(d){if("linebreak"===t.styles.overflow&&a>t.textPos.x&&a+d>t.textPos.x+t.width){if(".,!%*;:=-".indexOf(r.charAt(0))>=0){const e=r.charAt(0);a+(d=n.doc.getStringUnitWidth(e)*n.doc.internal.getFontSize())<=t.textPos.x+t.width&&(ie(e,a,o,i),r=r.substring(1,r.length)),d=n.doc.getStringUnitWidth(r)*n.doc.internal.getFontSize()}a=t.textPos.x,o+=n.doc.internal.getFontSize()}if("visible"!==t.styles.overflow)for(;r.length&&a+d>t.textPos.x+t.width;)r=r.substring(0,r.length-1),d=n.doc.getStringUnitWidth(r)*n.doc.internal.getFontSize();ie(r,a,o,i),a+=d}(l||u)&&(e(c).is("b")?l=!1:e(c).is("i")&&(u=!1),n.doc.setFont("undefined ",l||u?l?"bold":"italic":"normal")),c=c.nextSibling}t.textPos.x=a,t.textPos.y=o}else ie(t.text,t.textPos.x,t.textPos.y,i)}}function I(e,t,r){return null==e?"":e.toString().replace(new RegExp(function(e){return null==e?"":e.toString().replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1")}(t),"g"),r)}function F(e){return null==e?"":e.toString().replace(/^\s+/,"")}function D(e){return null==e?"":e.toString().replace(/\s+$/,"")}function M(e){if(0===s.date.html.length)return!1;s.date.pattern.lastIndex=0;const t=s.date.pattern.exec(e);if(null==t)return!1;const r=+t[s.date.match_y];if(r<0||r>8099)return!1;const n=1*t[s.date.match_m],a=1*t[s.date.match_d];if(!isFinite(a))return!1;const o=new Date(r,n-1,a,0,0,0);return o.getFullYear()===r&&o.getMonth()===n-1&&o.getDate()===a&&new Date(Date.UTC(r,n-1,a,0,0,0))}function j(e){return e=e||"0",""!==s.numbers.html.thousandsSeparator&&(e=I(e,s.numbers.html.thousandsSeparator,"")),"."!==s.numbers.html.decimalMark&&(e=I(e,s.numbers.html.decimalMark,".")),("number"==typeof e||!1!==jQuery.isNumeric(e))&&e}function B(t,r,n,a){let o="",i="text";if(null!==t){const a=e(t);let c;if(a.removeData("teUserDefText"),a[0].hasAttribute("data-tableexport-canvas"))c="";else if(a[0].hasAttribute("data-tableexport-value"))c=(c=a.attr("data-tableexport-value"))?c+"":"",a.data("teUserDefText",1);else if(c=a.html(),"function"==typeof s.onCellHtmlData)c=s.onCellHtmlData(a,r,n,c),a.data("teUserDefText",1);else if(""!==c){const t=e.parseHTML("<div>"+c+"</div>",null,!1);let i=0,l=0;c="",e.each(t,function(){if(e(this).is("input"))c+=a.find("input").eq(i++).val();else if(e(this).is("select"))c+=a.find("select option:selected").eq(l++).text();else if(e(this).is("br"))c+="<br>";else if(void 0===e(this).html()?c+=e(this).text():(void 0===jQuery().bootstrapTable||!1===e(this).hasClass("fht-cell")&&!1===e(this).hasClass("filterControl")&&0===a.parents(".detail-view").length)&&(c+=e(this).html()),e(this).is("a")){const e=a.find("a").attr("href")||"";"function"==typeof s.onCellHtmlHyperlink?o+=s.onCellHtmlHyperlink(a,r,n,e,c):"href"===s.htmlHyperlink?o+=e:o+=c,c=""}})}if(c&&""!==c&&!0===s.htmlContent)o=e.trim(c);else if(c&&""!==c){if(""!==a.attr("data-tableexport-cellformat")){let t=c.replace(/\n/g,"\u2028").replace(/(<\s*br([^>]*)>)/gi,"");const r=e("<div/>").html(t).contents();let n=!1;if(t="",e.each(r.text().split("\u2028"),function(e,r){e>0&&(t+=" "),!0!==s.preserve.leadingWS&&(r=F(r)),t+=!0!==s.preserve.trailingWS?D(r):r}),e.each(t.split(""),function(e,t){e>0&&(o+="\n"),!0!==s.preserve.leadingWS&&(t=F(t)),!0!==s.preserve.trailingWS&&(t=D(t)),o+=t.replace(/\u00AD/g,"")}),o=o.replace(/\u00A0/g," "),"json"===s.type||"excel"===s.type&&"xmlss"===s.mso.fileFormat||!1===s.numbers.output)!1!==(n=j(o))&&(i="number",o=Number(n));else if((s.numbers.html.decimalMark!==s.numbers.output.decimalMark||s.numbers.html.thousandsSeparator!==s.numbers.output.thousandsSeparator)&&!1!==(n=j(o))){const e=(""+n.substr(n<0?1:0)).split(".");1===e.length&&(e[1]="");const t=e[0].length>3?e[0].length%3:0;i="number",o=(n<0?"-":"")+(s.numbers.output.thousandsSeparator?(t?e[0].substr(0,t)+s.numbers.output.thousandsSeparator:"")+e[0].substr(t).replace(/(\d{3})(?=\d)/g,"$1"+s.numbers.output.thousandsSeparator):e[0])+(e[1].length?s.numbers.output.decimalMark+e[1]:"")}}else o=c}!0===s.escape&&(o=escape(o)),"function"==typeof s.onCellData&&(o=s.onCellData(a,r,n,o,i),a.data("teUserDefText",1))}return void 0!==a&&(a.type=i),o}function W(e){if(e.length>0&&!0===s.preventInjection){if("=+-@".indexOf(e.charAt(0))>=0)return"'"+e}return e}function U(e,t,r){return t+"-"+r.toLowerCase()}function z(e,t){const r=/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/.exec(e);let n=t;return r&&(n=[parseInt(r[1]),parseInt(r[2]),parseInt(r[3])]),n}function H(e){let t=$(e,"text-align");const r=$(e,"font-weight"),n=$(e,"font-style");let a="";"start"===t&&(t="rtl"===$(e,"direction")?"right":"left"),r>=700&&(a="bold"),"italic"===n&&(a+=n),""===a&&(a="normal");const o={style:{align:t,bcolor:z($(e,"background-color"),[255,255,255]),color:z($(e,"color"),[0,0,0]),fstyle:a},colspan:V(e),rowspan:q(e)};if(null!==e){const t=e.getBoundingClientRect();o.rect={width:t.width,height:t.height}}return o}function V(t){let r=e(t).attr("data-tableexport-colspan");return void 0===r&&e(t).is("[colspan]")&&(r=e(t).attr("colspan")),parseInt(r)||0}function q(t){let r=e(t).attr("data-tableexport-rowspan");return void 0===r&&e(t).is("[rowspan]")&&(r=e(t).attr("rowspan")),parseInt(r)||0}function $(e,t){try{return window.getComputedStyle?(t=t.replace(/([a-z])([A-Z])/,U),window.getComputedStyle(e,null).getPropertyValue(t)):e.currentStyle?e.currentStyle[t]:e.style[t]}catch(e){}return""}function G(e,t,r){let n=$(e,t).match(/\d+/);return null!==n?(n=n[0],function(e,t,r){const n=document.createElement("div");n.style.overflow="hidden",n.style.visibility="hidden",e.appendChild(n),n.style.width=100+r;const a=100/n.offsetWidth;return e.removeChild(n),t*a}(e.parentElement,n,r)):0}function X(e){return function(e){let t="";for(++e;e;e=Math.floor((e-1)/26))t=String.fromCharCode((e-1)%26+65)+t;return t}(e.c)+(""+(e.r+1))}function Y(e,t){return void 0===t||"number"==typeof t?Y(e.s,e.e):("string"!=typeof e&&(e=X(e)),"string"!=typeof t&&(t=X(t)),e===t?e:e+":"+t)}function K(e,t){let r=Number(e);if(isFinite(r))return r;let n=1,a=e;return""!==t.thousandsSeparator&&(a=a.replace(new RegExp("([\\d])"+t.thousandsSeparator+"([\\d])","g"),"$1$2")),"."!==t.decimalMark&&(a=a.replace(new RegExp("([\\d])"+t.decimalMark+"([\\d])","g"),"$1.$2")),a=a.replace(/[$]/g,"").replace(/[%]/g,function(){return n*=100,""}),isFinite(r=Number(a))?r/n:(a=a.replace(/[(](.*)[)]/,function(e,t){return n=-n,t}),isFinite(r=Number(a))?r/n:r)}function J(e){let t,r,n,a=0;if(0===e.length)return a;for(t=0,n=e.length;t<n;t++)a=(a<<5)-a+(r=e.charCodeAt(t)),a|=0;return a}function Z(e,t,r,n,a,o){let i=!0;if("function"==typeof s.onBeforeSaveToFile&&"boolean"!=typeof(i=s.onBeforeSaveToFile(e,t,r,n,a))&&(i=!0),i)try{d=new Blob([e],{type:r+";charset="+n}),saveAs(d,t,!1===o),"function"==typeof s.onAfterSaveToFile&&s.onAfterSaveToFile(e,t)}catch(i){Q(t,"data:"+r+(n.length?";charset="+n:"")+(a.length?";"+a:"")+",",o?"\ufeff"+e:e)}}function Q(e,t,r){const n=window.navigator.userAgent;if(!1!==e&&window.navigator.msSaveOrOpenBlob)window.navigator.msSaveOrOpenBlob(new Blob([r]),e);else if(!1!==e&&(n.indexOf("MSIE ")>0||n.match(/Trident.*rv\:11\./))){const t=document.createElement("iframe");if(t){switch(document.body.appendChild(t),t.setAttribute("style","display:none"),t.contentDocument.open("txt/plain","replace"),t.contentDocument.write(r),t.contentDocument.close(),t.contentWindow.focus(),e.substr(e.lastIndexOf(".")+1)){case"doc":case"json":case"png":case"pdf":case"xls":case"xlsx":e+=".txt"}t.contentDocument.execCommand("SaveAs",!0,e),document.body.removeChild(t)}}else{const n=document.createElement("a");if(n){let a=null;if(n.style.display="none",!1!==e?n.download=e:n.target="_blank","object"==typeof r){window.URL=window.URL||window.webkitURL;const e=[];e.push(r),a=window.URL.createObjectURL(new Blob(e,{type:t})),n.href=a}else t.toLowerCase().indexOf("base64,")>=0?n.href=t+ee(r):n.href=t+encodeURIComponent(r);document.body.appendChild(n),document.createEvent?(null===p&&(p=document.createEvent("MouseEvents")),p.initEvent("click",!0,!1),n.dispatchEvent(p)):document.createEventObject?n.fireEvent("onclick"):"function"==typeof n.onclick&&n.onclick(),setTimeout(function(){a&&window.URL.revokeObjectURL(a),document.body.removeChild(n),"function"==typeof s.onAfterSaveToFile&&s.onAfterSaveToFile(r,e)},100)}}}function ee(e){let t,r,n,a,o,i,s;const c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";let l="",u=0;for(e=function(e){if("string"==typeof e){e=e.replace(/\x0d\x0a/g,"\n");let t="";for(let r=0;r<e.length;r++){const n=e.charCodeAt(r);n<128?t+=String.fromCharCode(n):n>127&&n<2048?(t+=String.fromCharCode(n>>6|192),t+=String.fromCharCode(63&n|128)):(t+=String.fromCharCode(n>>12|224),t+=String.fromCharCode(n>>6&63|128),t+=String.fromCharCode(63&n|128))}return t}return e}(e);u<e.length;)a=(t=e.charCodeAt(u++))>>2,o=(3&t)<<4|(r=e.charCodeAt(u++))>>4,i=(15&r)<<2|(n=e.charCodeAt(u++))>>6,s=63&n,isNaN(r)?i=s=64:isNaN(n)&&(s=64),l=l+c.charAt(a)+c.charAt(o)+c.charAt(i)+c.charAt(s);return l}var te,re,ne,ae,oe;function ie(e,t,r,n){"number"==typeof t&&"number"==typeof r||console.error("The x and y parameters are required. Missing for the text: ",e);const a=te.internal.getFontSize()/te.internal.scaleFactor,o=f,i=/\r\n|\r|\n/g;let s=null,c=1;if("middle"!==n.valign&&"bottom"!==n.valign&&"center"!==n.halign&&"right"!==n.halign||(c=(s="string"==typeof e?e.split(i):e).length||1),r+=a*(2-o),"middle"===n.valign?r-=c/2*a:"bottom"===n.valign&&(r-=c*a),"center"===n.halign||"right"===n.halign){let o=a;if("center"===n.halign&&(o*=.5),s&&c>=1){for(let e=0;e<s.length;e++)te.text(s[e],t-te.getStringUnitWidth(s[e])*o,r),r+=a;return te}t-=te.getStringUnitWidth(e)*o}return te.text(e,t,r),te}function se(e,t){for(let r=0;r<oe.columns.length;r++){const n=oe.columns[r],a=e.cells[n.dataKey];a&&(ce(a.styles),a.x=n.x,a.y=re.y,a.height=e.height,a.width=n.width,"top"===a.styles.valign?a.textPos.y=re.y+a.styles.cellPadding:"bottom"===a.styles.valign?a.textPos.y=re.y+e.height-a.styles.cellPadding:a.textPos.y=re.y+e.height/2,"right"===a.styles.halign?a.textPos.x=a.x+a.width-a.styles.cellPadding:"center"===a.styles.halign?a.textPos.x=a.x+a.width/2:a.textPos.x=a.x+a.styles.cellPadding,!1!==t(a,le({column:n,row:e}))&&(te.rect(a.x,a.y,a.width,a.height,a.styles.fillStyle),ie(a.text,a.textPos.x,a.textPos.y,{halign:a.styles.halign,valign:a.styles.valign})))}re.y+=e.height}function ce(e){[{func:te.setFillColor,value:e.fillColor},{func:te.setTextColor,value:e.textColor},{func:te.setFont,value:e.font,style:e.fontStyle},{func:te.setDrawColor,value:e.lineColor},{func:te.setLineWidth,value:e.lineWidth},{func:te.setFont,value:e.font},{func:te.setFontSize,value:e.fontSize}].forEach(function(e){void 0!==e.value&&(e.value.constructor===Array?e.func.apply(te,e.value):void 0!==e.style?e.func(e.value,e.style):e.func(e.value))})}function le(e){e=e||{};const t={pageCount:ae,settings:ne,table:oe,cursor:re};for(let r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);return t}function ue(e,t,r,n){if(n=void 0!==n?n:"...",Array.isArray(e))return e.forEach(function(a,o){e[o]=ue(a,t,r,n)}),e;if(t>=fe(e,r))return e;for(;t<fe(e+n,r)&&!(e.length<2);)e=e.substring(0,e.length-1);return e.trim()+n}function fe(e,t){return ce(t),te.getStringUnitWidth(e)*t.fontSize}function he(e){const t={};let r;for(r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);for(let e=1;e<arguments.length;e++){const n=arguments[e];for(r in n)n.hasOwnProperty(r)&&(t[r]=n[r])}return t}return"function"==typeof s.onTableExportEnd&&s.onTableExportEnd(),this};var t=function(){return function(){this.height=0,this.width=0,this.x=0,this.y=0,this.contentWidth=0,this.rows=[],this.columns=[],this.headerRow=null,this.settings={}}}(),r=function(){return function(e){this.raw=e||{},this.index=0,this.styles={},this.cells={},this.height=0,this.y=0}}(),n=function(){return function(e){this.raw=e,this.styles={},this.text="",this.contentWidth=0,this.textPos={},this.height=0,this.width=0,this.x=0,this.y=0}}(),a=function(){return function(e){this.dataKey=e,this.options={},this.styles={},this.contentWidth=0,this.width=0,this.x=0}}()}(jQuery),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).jspdf={})}(this,function(e){"use strict";var t=function(){return"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this}();function r(){t.console&&"function"==typeof t.console.log&&t.console.log.apply(t.console,arguments)}var n={log:r,warn:function(e){t.console&&("function"==typeof t.console.warn?t.console.warn.apply(t.console,arguments):r.call(null,arguments))},error:function(e){t.console&&("function"==typeof t.console.error?t.console.error.apply(t.console,arguments):r(e))}};function a(e,t,r){var a=new XMLHttpRequest;a.open("GET",e),a.responseType="blob",a.onload=function(){l(a.response,t,r)},a.onerror=function(){n.error("could not download file")},a.send()}function o(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return t.status>=200&&t.status<=299}function i(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(r){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var s,c,l=t.saveAs||("object"!=typeof window||window!==t?function(){}:"undefined"!=typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype?function(e,r,n){var s=t.URL||t.webkitURL,c=document.createElement("a");r=r||e.name||"download",c.download=r,c.rel="noopener","string"==typeof e?(c.href=e,c.origin!==location.origin?o(c.href)?a(e,r,n):i(c,c.target="_blank"):i(c)):(c.href=s.createObjectURL(e),setTimeout(function(){s.revokeObjectURL(c.href)},4e4),setTimeout(function(){i(c)},0))}:"msSaveOrOpenBlob"in navigator?function(e,t,r){if(t=t||e.name||"download","string"==typeof e)if(o(e))a(e,t,r);else{var s=document.createElement("a");s.href=e,s.target="_blank",setTimeout(function(){i(s)})}else navigator.msSaveOrOpenBlob(function(e,t){return void 0===t?t={autoBom:!1}:"object"!=typeof t&&(n.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e}(e,r),t)}:function(e,r,n,o){if((o=o||open("","_blank"))&&(o.document.title=o.document.body.innerText="downloading..."),"string"==typeof e)return a(e,r,n);var i="application/octet-stream"===e.type,s=/constructor/i.test(t.HTMLElement)||t.safari,c=/CriOS\/[\d]+/.test(navigator.userAgent);if((c||i&&s)&&"object"==typeof FileReader){var l=new FileReader;l.onloadend=function(){var e=l.result;e=c?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=e:location=e,o=null},l.readAsDataURL(e)}else{var u=t.URL||t.webkitURL,f=u.createObjectURL(e);o?o.location=f:location.href=f,o=null,setTimeout(function(){u.revokeObjectURL(f)},4e4)}});function u(e){var t;e=e||"",this.ok=!1,"#"==e.charAt(0)&&(e=e.substr(1,6)),e={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[e=(e=e.replace(/ /g,"")).toLowerCase()]||e;for(var r=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(e){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}}],n=0;n<r.length;n++){var a=r[n].re,o=r[n].process,i=a.exec(e);i&&(t=o(i),this.r=t[0],this.g=t[1],this.b=t[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var e=this.r.toString(16),t=this.g.toString(16),r=this.b.toString(16);return 1==e.length&&(e="0"+e),1==t.length&&(t="0"+t),1==r.length&&(r="0"+r),"#"+e+t+r}}function f(e,t){var r=e[0],n=e[1],a=e[2],o=e[3];r=d(r,n,a,o,t[0],7,-680876936),o=d(o,r,n,a,t[1],12,-389564586),a=d(a,o,r,n,t[2],17,606105819),n=d(n,a,o,r,t[3],22,-1044525330),r=d(r,n,a,o,t[4],7,-176418897),o=d(o,r,n,a,t[5],12,1200080426),a=d(a,o,r,n,t[6],17,-1473231341),n=d(n,a,o,r,t[7],22,-45705983),r=d(r,n,a,o,t[8],7,1770035416),o=d(o,r,n,a,t[9],12,-1958414417),a=d(a,o,r,n,t[10],17,-42063),n=d(n,a,o,r,t[11],22,-1990404162),r=d(r,n,a,o,t[12],7,1804603682),o=d(o,r,n,a,t[13],12,-40341101),a=d(a,o,r,n,t[14],17,-1502002290),r=p(r,n=d(n,a,o,r,t[15],22,1236535329),a,o,t[1],5,-165796510),o=p(o,r,n,a,t[6],9,-1069501632),a=p(a,o,r,n,t[11],14,643717713),n=p(n,a,o,r,t[0],20,-373897302),r=p(r,n,a,o,t[5],5,-701558691),o=p(o,r,n,a,t[10],9,38016083),a=p(a,o,r,n,t[15],14,-660478335),n=p(n,a,o,r,t[4],20,-405537848),r=p(r,n,a,o,t[9],5,568446438),o=p(o,r,n,a,t[14],9,-1019803690),a=p(a,o,r,n,t[3],14,-187363961),n=p(n,a,o,r,t[8],20,1163531501),r=p(r,n,a,o,t[13],5,-1444681467),o=p(o,r,n,a,t[2],9,-51403784),a=p(a,o,r,n,t[7],14,1735328473),r=g(r,n=p(n,a,o,r,t[12],20,-1926607734),a,o,t[5],4,-378558),o=g(o,r,n,a,t[8],11,-2022574463),a=g(a,o,r,n,t[11],16,1839030562),n=g(n,a,o,r,t[14],23,-35309556),r=g(r,n,a,o,t[1],4,-1530992060),o=g(o,r,n,a,t[4],11,1272893353),a=g(a,o,r,n,t[7],16,-155497632),n=g(n,a,o,r,t[10],23,-1094730640),r=g(r,n,a,o,t[13],4,681279174),o=g(o,r,n,a,t[0],11,-358537222),a=g(a,o,r,n,t[3],16,-722521979),n=g(n,a,o,r,t[6],23,76029189),r=g(r,n,a,o,t[9],4,-640364487),o=g(o,r,n,a,t[12],11,-421815835),a=g(a,o,r,n,t[15],16,530742520),r=m(r,n=g(n,a,o,r,t[2],23,-995338651),a,o,t[0],6,-198630844),o=m(o,r,n,a,t[7],10,1126891415),a=m(a,o,r,n,t[14],15,-1416354905),n=m(n,a,o,r,t[5],21,-57434055),r=m(r,n,a,o,t[12],6,1700485571),o=m(o,r,n,a,t[3],10,-1894986606),a=m(a,o,r,n,t[10],15,-1051523),n=m(n,a,o,r,t[1],21,-2054922799),r=m(r,n,a,o,t[8],6,1873313359),o=m(o,r,n,a,t[15],10,-30611744),a=m(a,o,r,n,t[6],15,-1560198380),n=m(n,a,o,r,t[13],21,1309151649),r=m(r,n,a,o,t[4],6,-145523070),o=m(o,r,n,a,t[11],10,-1120210379),a=m(a,o,r,n,t[2],15,718787259),n=m(n,a,o,r,t[9],21,-343485551),e[0]=k(r,e[0]),e[1]=k(n,e[1]),e[2]=k(a,e[2]),e[3]=k(o,e[3])}function h(e,t,r,n,a,o){return t=k(k(t,e),k(n,o)),k(t<<a|t>>>32-a,r)}function d(e,t,r,n,a,o,i){return h(t&r|~t&n,e,t,a,o,i)}function p(e,t,r,n,a,o,i){return h(t&n|r&~n,e,t,a,o,i)}function g(e,t,r,n,a,o,i){return h(t^r^n,e,t,a,o,i)}function m(e,t,r,n,a,o,i){return h(r^(t|~n),e,t,a,o,i)}function v(e){var t,r=e.length,n=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=e.length;t+=64)f(n,b(e.substring(t-64,t)));e=e.substring(t-64);var a=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<e.length;t++)a[t>>2]|=e.charCodeAt(t)<<(t%4<<3);if(a[t>>2]|=128<<(t%4<<3),t>55)for(f(n,a),t=0;t<16;t++)a[t]=0;return a[14]=8*r,f(n,a),n}function b(e){var t,r=[];for(t=0;t<64;t+=4)r[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return r}s=t.atob.bind(t),c=t.btoa.bind(t);var y="0123456789abcdef".split("");function w(e){for(var t="",r=0;r<4;r++)t+=y[e>>8*r+4&15]+y[e>>8*r&15];return t}function S(e){return String.fromCharCode((255&e)>>0,(65280&e)>>8,(16711680&e)>>16,(4278190080&e)>>24)}function x(e){return function(e){return e.map(S).join("")}(v(e))}function k(e,t){return e+t&4294967295}if("5d41402abc4b2a76b9719d911017c592"!=function(e){for(var t=0;t<e.length;t++)e[t]=w(e[t]);return e.join("")}(v("hello"))){function k(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}}function A(e,t){var r,n,a,o;if(e!==r){for(var i=(a=e,o=1+(256/e.length>>0),new Array(o+1).join(a)),s=[],c=0;c<256;c++)s[c]=c;var l=0;for(c=0;c<256;c++){var u=s[c];l=(l+u+i.charCodeAt(c))%256,s[c]=s[l],s[l]=u}r=e,n=s}else s=n;var f=t.length,h=0,d=0,p="";for(c=0;c<f;c++)d=(d+(u=s[h=(h+1)%256]))%256,s[h]=s[d],s[d]=u,i=s[(s[h]+s[d])%256],p+=String.fromCharCode(t.charCodeAt(c)^i);return p}var T={print:4,modify:8,copy:16,"annot-forms":32};function E(e,t,r,n){this.v=1,this.r=2;let a=192;e.forEach(function(e){if(void 0!==T.perm)throw new Error("Invalid permission: "+e);a+=T[e]}),this.padding="(¿N^NuAd\0NVÿú\b..\0¶Ðh>/\f©þdSiz";let o=(t+this.padding).substr(0,32),i=(r+this.padding).substr(0,32);this.O=this.processOwnerPassword(o,i),this.P=-(1+(255^a)),this.encryptionKey=x(o+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(n)).substr(0,5),this.U=A(this.encryptionKey,this.padding)}function _(e){if("object"!=typeof e)throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var r={};this.subscribe=function(e,t,n){if(n=n||!1,"string"!=typeof e||"function"!=typeof t||"boolean"!=typeof n)throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");r.hasOwnProperty(e)||(r[e]={});var a=Math.random().toString(35);return r[e][a]=[t,!!n],a},this.unsubscribe=function(e){for(var t in r)if(r[t][e])return delete r[t][e],0===Object.keys(r[t]).length&&delete r[t],!0;return!1},this.publish=function(a){if(r.hasOwnProperty(a)){var o=Array.prototype.slice.call(arguments,1),i=[];for(var s in r[a]){var c=r[a][s];try{c[0].apply(e,o)}catch(e){t.console&&n.error("jsPDF PubSub Error",e.message,e)}c[1]&&i.push(s)}i.length&&i.forEach(this.unsubscribe)}},this.getTopics=function(){return r}}function N(e){if(!(this instanceof N))return new N(e);var t="opacity,stroke-opacity".split(",");for(var r in e)e.hasOwnProperty(r)&&t.indexOf(r)>=0&&(this[r]=e[r]);this.id="",this.objectNumber=-1}function C(e,t){this.gState=e,this.matrix=t,this.id="",this.objectNumber=-1}function R(e,t,r,n,a){if(!(this instanceof R))return new R(e,t,r,n,a);this.type="axial"===e?2:3,this.coords=t,this.colors=r,C.call(this,n,a)}function O(e,t,r,n,a){if(!(this instanceof O))return new O(e,t,r,n,a);this.boundingBox=e,this.xStep=t,this.yStep=r,this.stream="",this.cloneIndex=0,C.call(this,n,a)}function L(e){var r,a="string"==typeof arguments[0]?arguments[0]:"p",o=arguments[1],i=arguments[2],s=arguments[3],f=[],h=1,d=16,p="S",g=null;"object"==typeof(e=e||{})&&(a=e.orientation,o=e.unit||o,i=e.format||i,s=e.compress||e.compressPdf||s,null!==(g=e.encryption||null)&&(g.userPassword=g.userPassword||"",g.ownerPassword=g.ownerPassword||"",g.userPermissions=g.userPermissions||[]),h="number"==typeof e.userUnit?Math.abs(e.userUnit):1,void 0!==e.precision&&(r=e.precision),void 0!==e.floatPrecision&&(d=e.floatPrecision),p=e.defaultPathOperation||"S"),f=e.filters||(!0===s?["FlateEncode"]:f),o=o||"mm",a=(""+(a||"P")).toLowerCase();var m=e.putOnlyUsedFonts||!1,v={},b={internal:{},__private__:{}};b.__private__.PubSub=_;var y="1.3",w=b.__private__.getPdfVersion=function(){return y};b.__private__.setPdfVersion=function(e){y=e};var S={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};b.__private__.getPageFormats=function(){return S};var x=b.__private__.getPageFormat=function(e){return S[e]};i=i||"a4";var k={COMPAT:"compat",ADVANCED:"advanced"},A=k.COMPAT;function T(){this.saveGraphicsState(),se(new Ue(xe,0,0,-xe,0,gr()*xe).toString()+" cm"),this.setFontSize(this.getFontSize()/xe),p="n",A=k.ADVANCED}function C(){this.restoreGraphicsState(),p="S",A=k.COMPAT}var P=function(e,t){if("bold"==e&&"normal"==t||"bold"==e&&400==t||"normal"==e&&"italic"==t||"bold"==e&&"italic"==t)throw new Error("Invalid Combination of fontweight and fontstyle");return t&&e!==t&&(e=400==t?"italic"==e?"italic":"normal":700==t&&"italic"!==e?"bold":e+""+t),e};b.advancedAPI=function(e){var t=A===k.COMPAT;return t&&T.call(this),"function"!=typeof e||(e(this),t&&C.call(this)),this},b.compatAPI=function(e){var t=A===k.ADVANCED;return t&&C.call(this),"function"!=typeof e||(e(this),t&&T.call(this)),this},b.isAdvancedAPI=function(){return A===k.ADVANCED};var I,F=function(e){if(A!==k.ADVANCED)throw new Error(e+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},D=b.roundToPrecision=b.__private__.roundToPrecision=function(e,t){var n=r||t;if(isNaN(e)||isNaN(n))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return e.toFixed(n).replace(/0+$/,"")};I=b.hpf=b.__private__.hpf="number"==typeof d?function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return D(e,d)}:"smart"===d?function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return D(e,e>-1&&e<1?16:5)}:function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return D(e,16)};var M=b.f2=b.__private__.f2=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.f2");return D(e,2)},j=b.__private__.f3=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.f3");return D(e,3)},B=b.scale=b.__private__.scale=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.scale");return A===k.COMPAT?e*xe:A===k.ADVANCED?e:void 0},W=function(e){return B(function(e){return A===k.COMPAT?gr()-e:A===k.ADVANCED?e:void 0}(e))};b.__private__.setPrecision=b.setPrecision=function(e){"number"==typeof parseInt(e,10)&&(r=parseInt(e,10))};var U,z="00000000000000000000000000000000",H=b.__private__.getFileId=function(){return z},V=b.__private__.setFileId=function(e){return z=void 0!==e&&/^[a-fA-F0-9]{32}$/.test(e)?e.toUpperCase():z.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),null!==g&&(_t=new E(g.userPermissions,g.userPassword,g.ownerPassword,z)),z};b.setFileId=function(e){return V(e),this},b.getFileId=function(){return H()};var q=b.__private__.convertDateToPDFDate=function(e){var t=e.getTimezoneOffset(),r=t<0?"+":"-",n=Math.floor(Math.abs(t/60)),a=Math.abs(t%60),o=[r,K(n),"'",K(a),"'"].join("");return["D:",e.getFullYear(),K(e.getMonth()+1),K(e.getDate()),K(e.getHours()),K(e.getMinutes()),K(e.getSeconds()),o].join("")},$=b.__private__.convertPDFDateToDate=function(e){var t=parseInt(e.substr(2,4),10),r=parseInt(e.substr(6,2),10)-1,n=parseInt(e.substr(8,2),10),a=parseInt(e.substr(10,2),10),o=parseInt(e.substr(12,2),10),i=parseInt(e.substr(14,2),10);return new Date(t,r,n,a,o,i,0)},G=b.__private__.setCreationDate=function(e){var t;if(void 0===e&&(e=new Date),e instanceof Date)t=q(e);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(e))throw new Error("Invalid argument passed to jsPDF.setCreationDate");t=e}return U=t},X=b.__private__.getCreationDate=function(e){var t=U;return"jsDate"===e&&(t=$(U)),t};b.setCreationDate=function(e){return G(e),this},b.getCreationDate=function(e){return X(e)};var Y,K=b.__private__.padd2=function(e){return("0"+parseInt(e)).slice(-2)},J=b.__private__.padd2Hex=function(e){return("00"+(e=e.toString())).substr(e.length)},Z=0,Q=[],ee=[],te=0,re=[],ne=[],ae=!1,oe=ee;b.__private__.setCustomOutputDestination=function(e){ae=!0,oe=e};var ie=function(e){ae||(oe=e)};b.__private__.resetCustomOutputDestination=function(){ae=!1,oe=ee};var se=b.__private__.out=function(e){return e=e.toString(),te+=e.length+1,oe.push(e),oe},ce=b.__private__.write=function(e){return se(1===arguments.length?e.toString():Array.prototype.join.call(arguments," "))},le=b.__private__.getArrayBuffer=function(e){for(var t=e.length,r=new ArrayBuffer(t),n=new Uint8Array(r);t--;)n[t]=e.charCodeAt(t);return r},ue=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];b.__private__.getStandardFonts=function(){return ue};var fe=e.fontSize||16;b.__private__.setFontSize=b.setFontSize=function(e){return fe=A===k.ADVANCED?e/xe:e,this};var he,de=b.__private__.getFontSize=b.getFontSize=function(){return A===k.COMPAT?fe:fe*xe},pe=e.R2L||!1;b.__private__.setR2L=b.setR2L=function(e){return pe=e,this},b.__private__.getR2L=b.getR2L=function(){return pe};var ge,me=b.__private__.setZoomMode=function(e){if(/^\d*\.?\d*%$/.test(e))he=e;else if(isNaN(e)){if(-1===[void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(e))throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+e+'" is not recognized.');he=e}else he=parseInt(e,10)};b.__private__.getZoomMode=function(){return he};var ve,be=b.__private__.setPageMode=function(e){if(-1==[void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(e))throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+e+'" is not recognized.');ge=e};b.__private__.getPageMode=function(){return ge};var ye=b.__private__.setLayoutMode=function(e){if(-1==[void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(e))throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+e+'" is not recognized.');ve=e};b.__private__.getLayoutMode=function(){return ve},b.__private__.setDisplayMode=b.setDisplayMode=function(e,t,r){return me(e),ye(t),be(r),this};var we={title:"",subject:"",author:"",keywords:"",creator:""};b.__private__.getDocumentProperty=function(e){if(-1===Object.keys(we).indexOf(e))throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return we[e]},b.__private__.getDocumentProperties=function(){return we},b.__private__.setDocumentProperties=b.setProperties=b.setDocumentProperties=function(e){for(var t in we)we.hasOwnProperty(t)&&e[t]&&(we[t]=e[t]);return this},b.__private__.setDocumentProperty=function(e,t){if(-1===Object.keys(we).indexOf(e))throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return we[e]=t};var Se,xe,ke,Ae,Te,Ee={},_e={},Ne=[],Ce={},Re={},Oe={},Le={},Pe=null,Ie=0,Fe=[],De=new _(b),Me=e.hotfixes||[],je={},Be={},We=[],Ue=function(e,t,r,n,a,o){if(!(this instanceof Ue))return new Ue(e,t,r,n,a,o);isNaN(e)&&(e=1),isNaN(t)&&(t=0),isNaN(r)&&(r=0),isNaN(n)&&(n=1),isNaN(a)&&(a=0),isNaN(o)&&(o=0),this._matrix=[e,t,r,n,a,o]};Object.defineProperty(Ue.prototype,"sx",{get:function(){return this._matrix[0]},set:function(e){this._matrix[0]=e}}),Object.defineProperty(Ue.prototype,"shy",{get:function(){return this._matrix[1]},set:function(e){this._matrix[1]=e}}),Object.defineProperty(Ue.prototype,"shx",{get:function(){return this._matrix[2]},set:function(e){this._matrix[2]=e}}),Object.defineProperty(Ue.prototype,"sy",{get:function(){return this._matrix[3]},set:function(e){this._matrix[3]=e}}),Object.defineProperty(Ue.prototype,"tx",{get:function(){return this._matrix[4]},set:function(e){this._matrix[4]=e}}),Object.defineProperty(Ue.prototype,"ty",{get:function(){return this._matrix[5]},set:function(e){this._matrix[5]=e}}),Object.defineProperty(Ue.prototype,"a",{get:function(){return this._matrix[0]},set:function(e){this._matrix[0]=e}}),Object.defineProperty(Ue.prototype,"b",{get:function(){return this._matrix[1]},set:function(e){this._matrix[1]=e}}),Object.defineProperty(Ue.prototype,"c",{get:function(){return this._matrix[2]},set:function(e){this._matrix[2]=e}}),Object.defineProperty(Ue.prototype,"d",{get:function(){return this._matrix[3]},set:function(e){this._matrix[3]=e}}),Object.defineProperty(Ue.prototype,"e",{get:function(){return this._matrix[4]},set:function(e){this._matrix[4]=e}}),Object.defineProperty(Ue.prototype,"f",{get:function(){return this._matrix[5]},set:function(e){this._matrix[5]=e}}),Object.defineProperty(Ue.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Ue.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Ue.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Ue.prototype,"isIdentity",{get:function(){return 1===this.sx&&0===this.shy&&0===this.shx&&1===this.sy&&0===this.tx&&0===this.ty}}),Ue.prototype.join=function(e){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(I).join(e)},Ue.prototype.multiply=function(e){var t=e.sx*this.sx+e.shy*this.shx,r=e.sx*this.shy+e.shy*this.sy,n=e.shx*this.sx+e.sy*this.shx,a=e.shx*this.shy+e.sy*this.sy,o=e.tx*this.sx+e.ty*this.shx+this.tx,i=e.tx*this.shy+e.ty*this.sy+this.ty;return new Ue(t,r,n,a,o,i)},Ue.prototype.decompose=function(){var e=this.sx,t=this.shy,r=this.shx,n=this.sy,a=this.tx,o=this.ty,i=Math.sqrt(e*e+t*t),s=(e/=i)*r+(t/=i)*n;r-=e*s,n-=t*s;var c=Math.sqrt(r*r+n*n);return s/=c,e*(n/=c)<t*(r/=c)&&(e=-e,t=-t,s=-s,i=-i),{scale:new Ue(i,0,0,c,0,0),translate:new Ue(1,0,0,1,a,o),rotate:new Ue(e,t,-t,e,0,0),skew:new Ue(1,0,s,1,0,0)}},Ue.prototype.toString=function(e){return this.join(" ")},Ue.prototype.inversed=function(){var e=this.sx,t=this.shy,r=this.shx,n=this.sy,a=this.tx,o=this.ty,i=1/(e*n-t*r),s=n*i,c=-t*i,l=-r*i,u=e*i;return new Ue(s,c,l,u,-s*a-l*o,-c*a-u*o)},Ue.prototype.applyToPoint=function(e){var t=e.x*this.sx+e.y*this.shx+this.tx,r=e.x*this.shy+e.y*this.sy+this.ty;return new cr(t,r)},Ue.prototype.applyToRectangle=function(e){var t=this.applyToPoint(e),r=this.applyToPoint(new cr(e.x+e.w,e.y+e.h));return new lr(t.x,t.y,r.x-t.x,r.y-t.y)},Ue.prototype.clone=function(){var e=this.sx,t=this.shy,r=this.shx,n=this.sy,a=this.tx,o=this.ty;return new Ue(e,t,r,n,a,o)},b.Matrix=Ue;var ze=b.matrixMult=function(e,t){return t.multiply(e)},He=new Ue(1,0,0,1,0,0);b.unitMatrix=b.identityMatrix=He;var Ve=function(e,t){if(!Re[e]){var r=(t instanceof R?"Sh":"P")+(Object.keys(Ce).length+1).toString(10);t.id=r,Re[e]=r,Ce[r]=t,De.publish("addPattern",t)}};b.ShadingPattern=R,b.TilingPattern=O,b.addShadingPattern=function(e,t){return F("addShadingPattern()"),Ve(e,t),this},b.beginTilingPattern=function(e){F("beginTilingPattern()"),fr(e.boundingBox[0],e.boundingBox[1],e.boundingBox[2]-e.boundingBox[0],e.boundingBox[3]-e.boundingBox[1],e.matrix)},b.endTilingPattern=function(e,t){F("endTilingPattern()"),t.stream=ne[Y].join("\n"),Ve(e,t),De.publish("endTilingPattern",t),We.pop().restore()};var qe=b.__private__.newObject=function(){var e=$e();return Ge(e,!0),e},$e=b.__private__.newObjectDeferred=function(){return Q[++Z]=function(){return te},Z},Ge=function(e,t){return t="boolean"==typeof t&&t,Q[e]=te,t&&se(e+" 0 obj"),e},Xe=b.__private__.newAdditionalObject=function(){var e={objId:$e(),content:""};return re.push(e),e},Ye=$e(),Ke=$e(),Je=b.__private__.decodeColorString=function(e){var t=e.split(" ");if(2!==t.length||"g"!==t[1]&&"G"!==t[1])5!==t.length||"k"!==t[4]&&"K"!==t[4]||(t=[(1-t[0])*(1-t[3]),(1-t[1])*(1-t[3]),(1-t[2])*(1-t[3]),"r"]);else{var r=parseFloat(t[0]);t=[r,r,r,"r"]}for(var n="#",a=0;a<3;a++)n+=("0"+Math.floor(255*parseFloat(t[a])).toString(16)).slice(-2);return n},Ze=b.__private__.encodeColorString=function(e){var t;"string"==typeof e&&(e={ch1:e});var r=e.ch1,n=e.ch2,a=e.ch3,o=e.ch4,i="draw"===e.pdfColorType?["G","RG","K"]:["g","rg","k"];if("string"==typeof r&&"#"!==r.charAt(0)){var s=new u(r);if(s.ok)r=s.toHex();else if(!/^\d*\.?\d*$/.test(r))throw new Error('Invalid color "'+r+'" passed to jsPDF.encodeColorString.')}if("string"==typeof r&&/^#[0-9A-Fa-f]{3}$/.test(r)&&(r="#"+r[1]+r[1]+r[2]+r[2]+r[3]+r[3]),"string"==typeof r&&/^#[0-9A-Fa-f]{6}$/.test(r)){var c=parseInt(r.substr(1),16);r=c>>16&255,n=c>>8&255,a=255&c}if(void 0===n||void 0===o&&r===n&&n===a)if("string"==typeof r)t=r+" "+i[0];else switch(e.precision){case 2:t=M(r/255)+" "+i[0];break;case 3:default:t=j(r/255)+" "+i[0]}else if(void 0===o||"object"==typeof o){if(o&&!isNaN(o.a)&&0===o.a)return["1.","1.","1.",i[1]].join(" ");if("string"==typeof r)t=[r,n,a,i[1]].join(" ");else switch(e.precision){case 2:t=[M(r/255),M(n/255),M(a/255),i[1]].join(" ");break;default:case 3:t=[j(r/255),j(n/255),j(a/255),i[1]].join(" ")}}else if("string"==typeof r)t=[r,n,a,o,i[2]].join(" ");else switch(e.precision){case 2:t=[M(r),M(n),M(a),M(o),i[2]].join(" ");break;case 3:default:t=[j(r),j(n),j(a),j(o),i[2]].join(" ")}return t},Qe=b.__private__.getFilters=function(){return f},et=b.__private__.putStream=function(e){var t=(e=e||{}).data||"",r=e.filters||Qe(),n=e.alreadyAppliedFilters||[],a=e.addLength1||!1,o=t.length,i=e.objectId,s=function(e){return e};if(null!==g&&void 0===i)throw new Error("ObjectId must be passed to putStream for file encryption");null!==g&&(s=_t.encryptor(i,0));var c={};!0===r&&(r=["FlateEncode"]);var l=e.additionalKeyValues||[],u=(c=void 0!==L.API.processDataByFilters?L.API.processDataByFilters(t,r):{data:t,reverseChain:[]}).reverseChain+(Array.isArray(n)?n.join(" "):n.toString());if(0!==c.data.length&&(l.push({key:"Length",value:c.data.length}),!0===a&&l.push({key:"Length1",value:o})),0!=u.length)if(u.split("/").length-1==1)l.push({key:"Filter",value:u});else{l.push({key:"Filter",value:"["+u+"]"});for(var f=0;f<l.length;f+=1)if("DecodeParms"===l[f].key){for(var h=[],d=0;d<c.reverseChain.split("/").length-1;d+=1)h.push("null");h.push(l[f].value),l[f].value="["+h.join(" ")+"]"}}se("<<");for(var p=0;p<l.length;p++)se("/"+l[p].key+" "+l[p].value);se(">>"),0!==c.data.length&&(se("stream"),se(s(c.data)),se("endstream"))},tt=b.__private__.putPage=function(e){var t=e.number,r=e.data,n=e.objId,a=e.contentsObjId;Ge(n,!0),se("<</Type /Page"),se("/Parent "+e.rootDictionaryObjId+" 0 R"),se("/Resources "+e.resourceDictionaryObjId+" 0 R"),se("/MediaBox ["+parseFloat(I(e.mediaBox.bottomLeftX))+" "+parseFloat(I(e.mediaBox.bottomLeftY))+" "+I(e.mediaBox.topRightX)+" "+I(e.mediaBox.topRightY)+"]"),null!==e.cropBox&&se("/CropBox ["+I(e.cropBox.bottomLeftX)+" "+I(e.cropBox.bottomLeftY)+" "+I(e.cropBox.topRightX)+" "+I(e.cropBox.topRightY)+"]"),null!==e.bleedBox&&se("/BleedBox ["+I(e.bleedBox.bottomLeftX)+" "+I(e.bleedBox.bottomLeftY)+" "+I(e.bleedBox.topRightX)+" "+I(e.bleedBox.topRightY)+"]"),null!==e.trimBox&&se("/TrimBox ["+I(e.trimBox.bottomLeftX)+" "+I(e.trimBox.bottomLeftY)+" "+I(e.trimBox.topRightX)+" "+I(e.trimBox.topRightY)+"]"),null!==e.artBox&&se("/ArtBox ["+I(e.artBox.bottomLeftX)+" "+I(e.artBox.bottomLeftY)+" "+I(e.artBox.topRightX)+" "+I(e.artBox.topRightY)+"]"),"number"==typeof e.userUnit&&1!==e.userUnit&&se("/UserUnit "+e.userUnit),De.publish("putPage",{objId:n,pageContext:Fe[t],pageNumber:t,page:r}),se("/Contents "+a+" 0 R"),se(">>"),se("endobj");var o=r.join("\n");return A===k.ADVANCED&&(o+="\nQ"),Ge(a,!0),et({data:o,filters:Qe(),objectId:a}),se("endobj"),n},rt=b.__private__.putPages=function(){var e,t,r=[];for(e=1;e<=Ie;e++)Fe[e].objId=$e(),Fe[e].contentsObjId=$e();for(e=1;e<=Ie;e++)r.push(tt({number:e,data:ne[e],objId:Fe[e].objId,contentsObjId:Fe[e].contentsObjId,mediaBox:Fe[e].mediaBox,cropBox:Fe[e].cropBox,bleedBox:Fe[e].bleedBox,trimBox:Fe[e].trimBox,artBox:Fe[e].artBox,userUnit:Fe[e].userUnit,rootDictionaryObjId:Ye,resourceDictionaryObjId:Ke}));Ge(Ye,!0),se("<</Type /Pages");var n="/Kids [";for(t=0;t<Ie;t++)n+=r[t]+" 0 R ";se(n+"]"),se("/Count "+Ie),se(">>"),se("endobj"),De.publish("postPutPages")},nt=function(e){var t=function(e,t){return-1!==e.indexOf(" ")?"("+ht(e,t)+")":ht(e,t)};De.publish("putFont",{font:e,out:se,newObject:qe,putStream:et,pdfEscapeWithNeededParanthesis:t}),!0!==e.isAlreadyPutted&&(e.objectNumber=qe(),se("<<"),se("/Type /Font"),se("/BaseFont /"+t(e.postScriptName)),se("/Subtype /Type1"),"string"==typeof e.encoding&&se("/Encoding /"+e.encoding),se("/FirstChar 32"),se("/LastChar 255"),se(">>"),se("endobj"))},at=function(e){e.objectNumber=qe();var t=[];t.push({key:"Type",value:"/XObject"}),t.push({key:"Subtype",value:"/Form"}),t.push({key:"BBox",value:"["+[I(e.x),I(e.y),I(e.x+e.width),I(e.y+e.height)].join(" ")+"]"}),t.push({key:"Matrix",value:"["+e.matrix.toString()+"]"});var r=e.pages[1].join("\n");et({data:r,additionalKeyValues:t,objectId:e.objectNumber}),se("endobj")},ot=function(e,t){t||(t=21);var r=qe(),n=function(e,t){var r,n=[],a=1/(t-1);for(r=0;r<1;r+=a)n.push(r);if(n.push(1),0!=e[0].offset){var o={offset:0,color:e[0].color};e.unshift(o)}if(1!=e[e.length-1].offset){var i={offset:1,color:e[e.length-1].color};e.push(i)}for(var s="",c=0,l=0;l<n.length;l++){for(r=n[l];r>e[c+1].offset;)c++;var u=e[c].offset,f=(r-u)/(e[c+1].offset-u),h=e[c].color,d=e[c+1].color;s+=J(Math.round((1-f)*h[0]+f*d[0]).toString(16))+J(Math.round((1-f)*h[1]+f*d[1]).toString(16))+J(Math.round((1-f)*h[2]+f*d[2]).toString(16))}return s.trim()}(e.colors,t),a=[];a.push({key:"FunctionType",value:"0"}),a.push({key:"Domain",value:"[0.0 1.0]"}),a.push({key:"Size",value:"["+t+"]"}),a.push({key:"BitsPerSample",value:"8"}),a.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),a.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),et({data:n,additionalKeyValues:a,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:r}),se("endobj"),e.objectNumber=qe(),se("<< /ShadingType "+e.type),se("/ColorSpace /DeviceRGB");var o="/Coords ["+I(parseFloat(e.coords[0]))+" "+I(parseFloat(e.coords[1]))+" ";2===e.type?o+=I(parseFloat(e.coords[2]))+" "+I(parseFloat(e.coords[3])):o+=I(parseFloat(e.coords[2]))+" "+I(parseFloat(e.coords[3]))+" "+I(parseFloat(e.coords[4]))+" "+I(parseFloat(e.coords[5])),se(o+="]"),e.matrix&&se("/Matrix ["+e.matrix.toString()+"]"),se("/Function "+r+" 0 R"),se("/Extend [true true]"),se(">>"),se("endobj")},it=function(e,t){var r=$e(),n=qe();t.push({resourcesOid:r,objectOid:n}),e.objectNumber=n;var a=[];a.push({key:"Type",value:"/Pattern"}),a.push({key:"PatternType",value:"1"}),a.push({key:"PaintType",value:"1"}),a.push({key:"TilingType",value:"1"}),a.push({key:"BBox",value:"["+e.boundingBox.map(I).join(" ")+"]"}),a.push({key:"XStep",value:I(e.xStep)}),a.push({key:"YStep",value:I(e.yStep)}),a.push({key:"Resources",value:r+" 0 R"}),e.matrix&&a.push({key:"Matrix",value:"["+e.matrix.toString()+"]"}),et({data:e.stream,additionalKeyValues:a,objectId:e.objectNumber}),se("endobj")},st=function(e){for(var t in e.objectNumber=qe(),se("<<"),e)switch(t){case"opacity":se("/ca "+M(e[t]));break;case"stroke-opacity":se("/CA "+M(e[t]))}se(">>"),se("endobj")},ct=function(e){Ge(e.resourcesOid,!0),se("<<"),se("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var e in se("/Font <<"),Ee)Ee.hasOwnProperty(e)&&(!1===m||!0===m&&v.hasOwnProperty(e))&&se("/"+e+" "+Ee[e].objectNumber+" 0 R");se(">>")}(),function(){if(Object.keys(Ce).length>0){for(var e in se("/Shading <<"),Ce)Ce.hasOwnProperty(e)&&Ce[e]instanceof R&&Ce[e].objectNumber>=0&&se("/"+e+" "+Ce[e].objectNumber+" 0 R");De.publish("putShadingPatternDict"),se(">>")}}(),function(e){if(Object.keys(Ce).length>0){for(var t in se("/Pattern <<"),Ce)Ce.hasOwnProperty(t)&&Ce[t]instanceof b.TilingPattern&&Ce[t].objectNumber>=0&&Ce[t].objectNumber<e&&se("/"+t+" "+Ce[t].objectNumber+" 0 R");De.publish("putTilingPatternDict"),se(">>")}}(e.objectOid),function(){if(Object.keys(Oe).length>0){var e;for(e in se("/ExtGState <<"),Oe)Oe.hasOwnProperty(e)&&Oe[e].objectNumber>=0&&se("/"+e+" "+Oe[e].objectNumber+" 0 R");De.publish("putGStateDict"),se(">>")}}(),function(){for(var e in se("/XObject <<"),je)je.hasOwnProperty(e)&&je[e].objectNumber>=0&&se("/"+e+" "+je[e].objectNumber+" 0 R");De.publish("putXobjectDict"),se(">>")}(),se(">>"),se("endobj")},lt=function(){var e=[];(function(){for(var e in Ee)Ee.hasOwnProperty(e)&&(!1===m||!0===m&&v.hasOwnProperty(e))&&nt(Ee[e])})(),function(){var e;for(e in Oe)Oe.hasOwnProperty(e)&&st(Oe[e])}(),function(){for(var e in je)je.hasOwnProperty(e)&&at(je[e])}(),function(e){var t;for(t in Ce)Ce.hasOwnProperty(t)&&(Ce[t]instanceof R?ot(Ce[t]):Ce[t]instanceof O&&it(Ce[t],e))}(e),De.publish("putResources"),e.forEach(ct),ct({resourcesOid:Ke,objectOid:Number.MAX_SAFE_INTEGER}),De.publish("postPutResources")},ut=function(e){_e[e.fontName]=_e[e.fontName]||{},_e[e.fontName][e.fontStyle]=e.id},ft=function(e,t,r,n,a){var o={id:"F"+(Object.keys(Ee).length+1).toString(10),postScriptName:e,fontName:t,fontStyle:r,encoding:n,isStandardFont:a||!1,metadata:{}};return De.publish("addFont",{font:o,instance:this}),Ee[o.id]=o,ut(o),o.id},ht=b.__private__.pdfEscape=b.pdfEscape=function(e,t){return function(e,t){var r,n,a,o,i,s,c,l,u;if(a=(t=t||{}).sourceEncoding||"Unicode",i=t.outputEncoding,(t.autoencode||i)&&Ee[Se].metadata&&Ee[Se].metadata[a]&&Ee[Se].metadata[a].encoding&&(o=Ee[Se].metadata[a].encoding,!i&&Ee[Se].encoding&&(i=Ee[Se].encoding),!i&&o.codePages&&(i=o.codePages[0]),"string"==typeof i&&(i=o[i]),i)){for(c=!1,s=[],r=0,n=e.length;r<n;r++)(l=i[e.charCodeAt(r)])?s.push(String.fromCharCode(l)):s.push(e[r]),s[r].charCodeAt(0)>>8&&(c=!0);e=s.join("")}for(r=e.length;void 0===c&&0!==r;)e.charCodeAt(r-1)>>8&&(c=!0),r--;if(!c)return e;for(s=t.noBOM?[]:[254,255],r=0,n=e.length;r<n;r++){if((u=(l=e.charCodeAt(r))>>8)>>8)throw new Error("Character at position "+r+" of string '"+e+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");s.push(u),s.push(l-(u<<8))}return String.fromCharCode.apply(void 0,s)}(e,t).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},dt=b.__private__.beginPage=function(e){ne[++Ie]=[],Fe[Ie]={objId:0,contentsObjId:0,userUnit:Number(h),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(e[0]),topRightY:Number(e[1])}},gt(Ie),ie(ne[Y])},pt=function(e,t){var r,o,s;switch(a=t||a,"string"==typeof e&&(r=x(e.toLowerCase()),Array.isArray(r)&&(o=r[0],s=r[1])),Array.isArray(e)&&(o=e[0]*xe,s=e[1]*xe),isNaN(o)&&(o=i[0],s=i[1]),(o>14400||s>14400)&&(n.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),o=Math.min(14400,o),s=Math.min(14400,s)),i=[o,s],a.substr(0,1)){case"l":s>o&&(i=[s,o]);break;case"p":o>s&&(i=[s,o])}dt(i),qt(Vt),se(Qt),0!==or&&se(or+" J"),0!==ir&&se(ir+" j"),De.publish("addPage",{pageNumber:Ie})},gt=function(e){e>0&&e<=Ie&&(Y=e)},mt=b.__private__.getNumberOfPages=b.getNumberOfPages=function(){return ne.length-1},vt=function(e,t,r){var a,o=void 0;return r=r||{},e=void 0!==e?e:Ee[Se].fontName,t=void 0!==t?t:Ee[Se].fontStyle,a=e.toLowerCase(),void 0!==_e[a]&&void 0!==_e[a][t]?o=_e[a][t]:void 0!==_e[e]&&void 0!==_e[e][t]?o=_e[e][t]:!1===r.disableWarning&&n.warn("Unable to look up font label for font '"+e+"', '"+t+"'. Refer to getFontList() for available fonts."),o||r.noFallback||null==(o=_e.times[t])&&(o=_e.times.normal),o},bt=b.__private__.putInfo=function(){var e=qe(),t=function(e){return e};for(var r in null!==g&&(t=_t.encryptor(e,0)),se("<<"),se("/Producer ("+ht(t("jsPDF "+L.version))+")"),we)we.hasOwnProperty(r)&&we[r]&&se("/"+r.substr(0,1).toUpperCase()+r.substr(1)+" ("+ht(t(we[r]))+")");se("/CreationDate ("+ht(t(U))+")"),se(">>"),se("endobj")},yt=b.__private__.putCatalog=function(e){var t=(e=e||{}).rootDictionaryObjId||Ye;switch(qe(),se("<<"),se("/Type /Catalog"),se("/Pages "+t+" 0 R"),he||(he="fullwidth"),he){case"fullwidth":se("/OpenAction [3 0 R /FitH null]");break;case"fullheight":se("/OpenAction [3 0 R /FitV null]");break;case"fullpage":se("/OpenAction [3 0 R /Fit]");break;case"original":se("/OpenAction [3 0 R /XYZ null null 1]");break;default:var r=""+he;"%"===r.substr(r.length-1)&&(he=parseInt(he)/100),"number"==typeof he&&se("/OpenAction [3 0 R /XYZ null null "+M(he)+"]")}switch(ve||(ve="continuous"),ve){case"continuous":se("/PageLayout /OneColumn");break;case"single":se("/PageLayout /SinglePage");break;case"two":case"twoleft":se("/PageLayout /TwoColumnLeft");break;case"tworight":se("/PageLayout /TwoColumnRight")}ge&&se("/PageMode /"+ge),De.publish("putCatalog"),se(">>"),se("endobj")},wt=b.__private__.putTrailer=function(){se("trailer"),se("<<"),se("/Size "+(Z+1)),se("/Root "+Z+" 0 R"),se("/Info "+(Z-1)+" 0 R"),null!==g&&se("/Encrypt "+_t.oid+" 0 R"),se("/ID [ <"+z+"> <"+z+"> ]"),se(">>")},St=b.__private__.putHeader=function(){se("%PDF-"+y),se("%ºß¬à")},xt=b.__private__.putXRef=function(){var e="0000000000";se("xref"),se("0 "+(Z+1)),se("0000000000 65535 f ");for(var t=1;t<=Z;t++)"function"==typeof Q[t]?se((e+Q[t]()).slice(-10)+" 00000 n "):void 0!==Q[t]?se((e+Q[t]).slice(-10)+" 00000 n "):se("0000000000 00000 n ")},kt=b.__private__.buildDocument=function(){Z=0,te=0,ee=[],Q=[],re=[],Ye=$e(),Ke=$e(),ie(ee),De.publish("buildDocument"),St(),rt(),function(){De.publish("putAdditionalObjects");for(var e=0;e<re.length;e++){var t=re[e];Ge(t.objId,!0),se(t.content),se("endobj")}De.publish("postPutAdditionalObjects")}(),lt(),null!==g&&(_t.oid=qe(),se("<<"),se("/Filter /Standard"),se("/V "+_t.v),se("/R "+_t.r),se("/U <"+_t.toHexString(_t.U)+">"),se("/O <"+_t.toHexString(_t.O)+">"),se("/P "+_t.P),se(">>"),se("endobj")),bt(),yt();var e=te;return xt(),wt(),se("startxref"),se(""+e),se("%%EOF"),ie(ne[Y]),ee.join("\n")},At=b.__private__.getBlob=function(e){return new Blob([le(e)],{type:"application/pdf"})},Tt=b.output=b.__private__.output=function(e){return e.foo=function(){try{return e.apply(this,arguments)}catch(e){var r=e.stack||"";~r.indexOf(" at ")&&(r=r.split(" at ")[1]);var n="Error in function "+r.split("\n")[0].split("<")[0]+": "+e.message;if(!t.console)throw new Error(n);t.console.error(n,e),t.alert&&alert(n)}},e.foo.bar=e,e.foo}(function(e,r){switch("string"==typeof(r=r||{})?r={filename:r}:r.filename=r.filename||"generated.pdf",e){case void 0:return kt();case"save":b.save(r.filename);break;case"arraybuffer":return le(kt());case"blob":return At(kt());case"bloburi":case"bloburl":if(void 0!==t.URL&&"function"==typeof t.URL.createObjectURL)return t.URL&&t.URL.createObjectURL(At(kt()))||void 0;n.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var a="",o=kt();try{a=c(o)}catch(e){a=c(unescape(encodeURIComponent(o)))}return"data:application/pdf;filename="+r.filename+";base64,"+a;case"pdfobjectnewwindow":if("[object Window]"===Object.prototype.toString.call(t)){var i='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+(r.pdfObjectUrl||"https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js")+'"><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(r)+");<\/script></body></html>",s=t.open();return null!==s&&s.document.write(i),s}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if("[object Window]"===Object.prototype.toString.call(t)){var l='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(r.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+r.filename+'" width="500px" height="400px" /></body></html>',u=t.open();if(null!==u){u.document.write(l);var f=this;u.document.documentElement.querySelector("#pdfViewer").onload=function(){u.document.title=r.filename,u.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(f.output("bloburl"))}}return u}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if("[object Window]"!==Object.prototype.toString.call(t))throw new Error("The option dataurlnewwindow just works in a browser-environment.");var h='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",r)+'"></iframe></body></html>',d=t.open();if(null!==d&&(d.document.write(h),d.document.title=r.filename),d||"undefined"==typeof safari)return d;break;case"datauri":case"dataurl":return t.document.location.href=this.output("datauristring",r);default:return null}}),Et=function(e){return!0===Array.isArray(Me)&&Me.indexOf(e)>-1};switch(o){case"pt":xe=1;break;case"mm":xe=72/25.4;break;case"cm":xe=72/2.54;break;case"in":xe=72;break;case"px":xe=1==Et("px_scaling")?.75:96/72;break;case"pc":case"em":xe=12;break;case"ex":xe=6;break;default:throw new Error("Invalid unit: "+o)}var _t=null;G(),V();var Nt=b.__private__.getPageInfo=b.getPageInfo=function(e){if(isNaN(e)||e%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:Fe[e].objId,pageNumber:e,pageContext:Fe[e]}},Ct=b.__private__.getPageInfoByObjId=function(e){if(isNaN(e)||e%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var t in Fe)if(Fe[t].objId===e)break;return Nt(t)},Rt=b.__private__.getCurrentPageInfo=b.getCurrentPageInfo=function(){return{objId:Fe[Y].objId,pageNumber:Y,pageContext:Fe[Y]}};b.addPage=function(){return pt.apply(this,arguments),this},b.setPage=function(){return gt.apply(this,arguments),ie.call(this,ne[Y]),this},b.insertPage=function(e){return this.addPage(),this.movePage(Y,e),this},b.movePage=function(e,t){var r,n;if(e>t){r=ne[e],n=Fe[e];for(var a=e;a>t;a--)ne[a]=ne[a-1],Fe[a]=Fe[a-1];ne[t]=r,Fe[t]=n,this.setPage(t)}else if(e<t){r=ne[e],n=Fe[e];for(var o=e;o<t;o++)ne[o]=ne[o+1],Fe[o]=Fe[o+1];ne[t]=r,Fe[t]=n,this.setPage(t)}return this},b.deletePage=function(){return function(e){e>0&&e<=Ie&&(ne.splice(e,1),Fe.splice(e,1),Y>--Ie&&(Y=Ie),this.setPage(Y))}.apply(this,arguments),this},b.__private__.text=b.text=function(e,t,r,n,a){var o,i,s,c,l,u,f,h,d=(n=n||{}).scope||this;if("number"==typeof e&&"number"==typeof t&&("string"==typeof r||Array.isArray(r))){var p=r;r=t,t=e,e=p}if(arguments[3]instanceof Ue==0?(s=arguments[4],c=arguments[5],"object"==typeof(f=arguments[3])&&null!==f||("string"==typeof s&&(c=s,s=null),"string"==typeof f&&(c=f,f=null),"number"==typeof f&&(s=f,f=null),n={flags:f,angle:s,align:c})):(F("The transform parameter of text() with a Matrix value"),h=a),isNaN(t)||isNaN(r)||null==e)throw new Error("Invalid arguments passed to jsPDF.text");if(0===e.length)return d;var g,m="",b="number"==typeof n.lineHeightFactor?n.lineHeightFactor:Ht,y=d.internal.scaleFactor;function w(e){return e=e.split("\t").join(Array(n.TabLen||9).join(" ")),ht(e,f)}function S(e){for(var t,r=e.concat(),n=[],a=r.length;a--;)"string"==typeof(t=r.shift())?n.push(t):Array.isArray(e)&&(1===t.length||void 0===t[1]&&void 0===t[2])?n.push(t[0]):n.push([t[0],t[1],t[2]]);return n}function x(e,t){var r;if("string"==typeof e)r=t(e)[0];else if(Array.isArray(e)){for(var n,a,o=e.concat(),i=[],s=o.length;s--;)"string"==typeof(n=o.shift())?i.push(t(n)[0]):Array.isArray(n)&&"string"==typeof n[0]&&(a=t(n[0],n[1],n[2]),i.push([a[0],a[1],a[2]]));r=i}return r}var T=!1,E=!0;if("string"==typeof e)T=!0;else if(Array.isArray(e)){var _=e.concat();i=[];for(var N,C=_.length;C--;)("string"!=typeof(N=_.shift())||Array.isArray(N)&&"string"!=typeof N[0])&&(E=!1);T=E}if(!1===T)throw new Error('Type of text must be string or Array. "'+e+'" is not recognized.');"string"==typeof e&&(e=e.match(/[\r?\n]/)?e.split(/\r\n|\r|\n/g):[e]);var R=fe/d.internal.scaleFactor,O=R*(Ht-1);switch(n.baseline){case"bottom":r-=O;break;case"top":r+=R-O;break;case"hanging":r+=R-2*O;break;case"middle":r+=R/2-O}if((u=n.maxWidth||0)>0&&("string"==typeof e?e=d.splitTextToSize(e,u):"[object Array]"===Object.prototype.toString.call(e)&&(e=e.reduce(function(e,t){return e.concat(d.splitTextToSize(t,u))},[]))),o={text:e,x:t,y:r,options:n,mutex:{pdfEscape:ht,activeFontKey:Se,fonts:Ee,activeFontSize:fe}},De.publish("preProcessText",o),e=o.text,s=(n=o.options).angle,h instanceof Ue==0&&s&&"number"==typeof s){s*=Math.PI/180,0===n.rotationDirection&&(s=-s),A===k.ADVANCED&&(s=-s);var L=Math.cos(s),P=Math.sin(s);h=new Ue(L,P,-P,L,0,0)}else s&&s instanceof Ue&&(h=s);A!==k.ADVANCED||h||(h=He),void 0!==(l=n.charSpace||nr)&&(m+=I(B(l))+" Tc\n",this.setCharSpace(this.getCharSpace()||0)),n.lang;var D=-1,M=void 0!==n.renderingMode?n.renderingMode:n.stroke,j=d.internal.getCurrentPageInfo().pageContext;switch(M){case 0:case!1:case"fill":D=0;break;case 1:case!0:case"stroke":D=1;break;case 2:case"fillThenStroke":D=2;break;case 3:case"invisible":D=3;break;case 4:case"fillAndAddForClipping":D=4;break;case 5:case"strokeAndAddPathForClipping":D=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":D=6;break;case 7:case"addToPathForClipping":D=7}var W=void 0!==j.usedRenderingMode?j.usedRenderingMode:-1;-1!==D?m+=D+" Tr\n":-1!==W&&(m+="0 Tr\n"),-1!==D&&(j.usedRenderingMode=D),c=n.align||"left";var U,z=fe*b,H=d.internal.pageSize.getWidth(),V=Ee[Se];l=n.charSpace||nr,u=n.maxWidth||0,f=Object.assign({autoencode:!0,noBOM:!0},n.flags);var q=[];if("[object Array]"===Object.prototype.toString.call(e)){var $;i=S(e),"left"!==c&&(U=i.map(function(e){return d.getStringUnitWidth(e,{font:V,charSpace:l,fontSize:fe,doKerning:!1})*fe/y}));var G,X=0;if("right"===c){t-=U[0],e=[],C=i.length;for(var Y=0;Y<C;Y++)0===Y?(G=Yt(t),$=Kt(r)):(G=B(X-U[Y]),$=-z),e.push([i[Y],G,$]),X=U[Y]}else if("center"===c){t-=U[0]/2,e=[],C=i.length;for(var K=0;K<C;K++)0===K?(G=Yt(t),$=Kt(r)):(G=B((X-U[K])/2),$=-z),e.push([i[K],G,$]),X=U[K]}else if("left"===c){e=[],C=i.length;for(var J=0;J<C;J++)e.push(i[J])}else{if("justify"!==c)throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');e=[],C=i.length,u=0!==u?u:H;for(var Z=0;Z<C;Z++)$=0===Z?Kt(r):-z,G=0===Z?Yt(t):0,Z<C-1&&q.push(I(B((u-U[Z])/(i[Z].split(" ").length-1)))),e.push([i[Z],G,$])}}!0===("boolean"==typeof n.R2L?n.R2L:pe)&&(e=x(e,function(e,t,r){return[e.split("").reverse().join(""),t,r]})),o={text:e,x:t,y:r,options:n,mutex:{pdfEscape:ht,activeFontKey:Se,fonts:Ee,activeFontSize:fe}},De.publish("postProcessText",o),e=o.text,g=o.mutex.isHex||!1;var Q=Ee[Se].encoding;"WinAnsiEncoding"!==Q&&"StandardEncoding"!==Q||(e=x(e,function(e,t,r){return[w(e),t,r]})),i=S(e),e=[];for(var ee,te,re,ne=Array.isArray(i[0])?1:0,ae="",oe=function(e,t,r){var a="";return r instanceof Ue?(r="number"==typeof n.angle?ze(r,new Ue(1,0,0,1,e,t)):ze(new Ue(1,0,0,1,e,t),r),A===k.ADVANCED&&(r=ze(new Ue(1,0,0,-1,0,0),r)),a=r.join(" ")+" Tm\n"):a=I(e)+" "+I(t)+" Td\n",a},ie=0;ie<i.length;ie++){switch(ae="",ne){case 1:re=(g?"<":"(")+i[ie][0]+(g?">":")"),ee=parseFloat(i[ie][1]),te=parseFloat(i[ie][2]);break;case 0:re=(g?"<":"(")+i[ie]+(g?">":")"),ee=Yt(t),te=Kt(r)}void 0!==q&&void 0!==q[ie]&&(ae=q[ie]+" Tw\n"),0===ie?e.push(ae+oe(ee,te,h)+re):0===ne?e.push(ae+re):1===ne&&e.push(ae+oe(ee,te,h)+re)}e=0===ne?e.join(" Tj\nT* "):e.join(" Tj\n"),e+=" Tj\n";var ce="BT\n/";return ce+=Se+" "+fe+" Tf\n",ce+=I(fe*b)+" TL\n",ce+=tr+"\n",ce+=m,ce+=e,se(ce+="ET"),v[Se]=!0,d};var Ot=b.__private__.clip=b.clip=function(e){return se("evenodd"===e?"W*":"W"),this};b.clipEvenOdd=function(){return Ot("evenodd")},b.__private__.discardPath=b.discardPath=function(){return se("n"),this};var Lt=b.__private__.isValidStyle=function(e){var t=!1;return-1!==[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(e)&&(t=!0),t};b.__private__.setDefaultPathOperation=b.setDefaultPathOperation=function(e){return Lt(e)&&(p=e),this};var Pt=b.__private__.getStyle=b.getStyle=function(e){var t=p;switch(e){case"D":case"S":t="S";break;case"F":t="f";break;case"FD":case"DF":t="B";break;case"f":case"f*":case"B":case"B*":t=e}return t},It=b.close=function(){return se("h"),this};b.stroke=function(){return se("S"),this},b.fill=function(e){return Ft("f",e),this},b.fillEvenOdd=function(e){return Ft("f*",e),this},b.fillStroke=function(e){return Ft("B",e),this},b.fillStrokeEvenOdd=function(e){return Ft("B*",e),this};var Ft=function(e,t){"object"==typeof t?Mt(t,e):se(e)},Dt=function(e){null===e||A===k.ADVANCED&&void 0===e||(e=Pt(e),se(e))};var Mt=function(e,t){var r=Re[e.key],n=Ce[r];if(n instanceof R)se("q"),se(jt(t)),n.gState&&b.setGState(n.gState),se(e.matrix.toString()+" cm"),se("/"+r+" sh"),se("Q");else if(n instanceof O){var a=new Ue(1,0,0,-1,0,gr());e.matrix&&(a=a.multiply(e.matrix||He),r=function(e,t,r,n,a){var o=new O(t||this.boundingBox,r||this.xStep,n||this.yStep,this.gState,a||this.matrix);o.stream=this.stream;var i=e+"$$"+this.cloneIndex+++"$$";return Ve(i,o),o}.call(n,e.key,e.boundingBox,e.xStep,e.yStep,a).id),se("q"),se("/Pattern cs"),se("/"+r+" scn"),n.gState&&b.setGState(n.gState),se(t),se("Q")}},jt=function(e){switch(e){case"f":case"F":return"W n";case"f*":return"W* n";case"B":return"W S";case"B*":return"W* S";case"S":return"W S";case"n":return"W n"}},Bt=b.moveTo=function(e,t){return se(I(B(e))+" "+I(W(t))+" m"),this},Wt=b.lineTo=function(e,t){return se(I(B(e))+" "+I(W(t))+" l"),this},Ut=b.curveTo=function(e,t,r,n,a,o){return se([I(B(e)),I(W(t)),I(B(r)),I(W(n)),I(B(a)),I(W(o)),"c"].join(" ")),this};b.__private__.line=b.line=function(e,t,r,n,a){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n)||!Lt(a))throw new Error("Invalid arguments passed to jsPDF.line");return A===k.COMPAT?this.lines([[r-e,n-t]],e,t,[1,1],a||"S"):this.lines([[r-e,n-t]],e,t,[1,1]).stroke()},b.__private__.lines=b.lines=function(e,t,r,n,a,o){var i,s,c,l,u,f,h,d,p,g,m,v;if("number"==typeof e&&(v=r,r=t,t=e,e=v),n=n||[1,1],o=o||!1,isNaN(t)||isNaN(r)||!Array.isArray(e)||!Array.isArray(n)||!Lt(a)||"boolean"!=typeof o)throw new Error("Invalid arguments passed to jsPDF.lines");for(Bt(t,r),i=n[0],s=n[1],l=e.length,g=t,m=r,c=0;c<l;c++)2===(u=e[c]).length?(g=u[0]*i+g,m=u[1]*s+m,Wt(g,m)):(f=u[0]*i+g,h=u[1]*s+m,d=u[2]*i+g,p=u[3]*s+m,g=u[4]*i+g,m=u[5]*s+m,Ut(f,h,d,p,g,m));return o&&It(),Dt(a),this},b.path=function(e){for(var t=0;t<e.length;t++){var r=e[t],n=r.c;switch(r.op){case"m":Bt(n[0],n[1]);break;case"l":Wt(n[0],n[1]);break;case"c":Ut.apply(this,n);break;case"h":It()}}return this},b.__private__.rect=b.rect=function(e,t,r,n,a){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n)||!Lt(a))throw new Error("Invalid arguments passed to jsPDF.rect");return A===k.COMPAT&&(n=-n),se([I(B(e)),I(W(t)),I(B(r)),I(B(n)),"re"].join(" ")),Dt(a),this},b.__private__.triangle=b.triangle=function(e,t,r,n,a,o,i){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n)||isNaN(a)||isNaN(o)||!Lt(i))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[r-e,n-t],[a-r,o-n],[e-a,t-o]],e,t,[1,1],i,!0),this},b.__private__.roundedRect=b.roundedRect=function(e,t,r,n,a,o,i){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n)||isNaN(a)||isNaN(o)||!Lt(i))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var s=4/3*(Math.SQRT2-1);return a=Math.min(a,.5*r),o=Math.min(o,.5*n),this.lines([[r-2*a,0],[a*s,0,a,o-o*s,a,o],[0,n-2*o],[0,o*s,-a*s,o,-a,o],[2*a-r,0],[-a*s,0,-a,-o*s,-a,-o],[0,2*o-n],[0,-o*s,a*s,-o,a,-o]],e+a,t,[1,1],i,!0),this},b.__private__.ellipse=b.ellipse=function(e,t,r,n,a){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n)||!Lt(a))throw new Error("Invalid arguments passed to jsPDF.ellipse");var o=4/3*(Math.SQRT2-1)*r,i=4/3*(Math.SQRT2-1)*n;return Bt(e+r,t),Ut(e+r,t-i,e+o,t-n,e,t-n),Ut(e-o,t-n,e-r,t-i,e-r,t),Ut(e-r,t+i,e-o,t+n,e,t+n),Ut(e+o,t+n,e+r,t+i,e+r,t),Dt(a),this},b.__private__.circle=b.circle=function(e,t,r,n){if(isNaN(e)||isNaN(t)||isNaN(r)||!Lt(n))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(e,t,r,r,n)},b.setFont=function(e,t,r){return r&&(t=P(t,r)),Se=vt(e,t,{disableWarning:!1}),this};var zt=b.__private__.getFont=b.getFont=function(){return Ee[vt.apply(b,arguments)]};b.__private__.getFontList=b.getFontList=function(){var e,t,r={};for(e in _e)if(_e.hasOwnProperty(e))for(t in r[e]=[],_e[e])_e[e].hasOwnProperty(t)&&r[e].push(t);return r},b.addFont=function(e,t,r,n,a){var o=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&-1!==o.indexOf(arguments[3])?a=arguments[3]:arguments[3]&&-1==o.indexOf(arguments[3])&&(r=P(r,n)),ft.call(this,e,t,r,a=a||"Identity-H")};var Ht,Vt=e.lineWidth||.200025,qt=b.__private__.setLineWidth=b.setLineWidth=function(e){return se(I(B(e))+" w"),this};b.__private__.setLineDash=L.API.setLineDash=L.API.setLineDashPattern=function(e,t){if(e=e||[],t=t||0,isNaN(t)||!Array.isArray(e))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return e=e.map(function(e){return I(B(e))}).join(" "),t=I(B(t)),se("["+e+"] "+t+" d"),this};var $t=b.__private__.getLineHeight=b.getLineHeight=function(){return fe*Ht};b.__private__.getLineHeight=b.getLineHeight=function(){return fe*Ht};var Gt=b.__private__.setLineHeightFactor=b.setLineHeightFactor=function(e){return"number"==typeof(e=e||1.15)&&(Ht=e),this},Xt=b.__private__.getLineHeightFactor=b.getLineHeightFactor=function(){return Ht};Gt(e.lineHeight);var Yt=b.__private__.getHorizontalCoordinate=function(e){return B(e)},Kt=b.__private__.getVerticalCoordinate=function(e){return A===k.ADVANCED?e:Fe[Y].mediaBox.topRightY-Fe[Y].mediaBox.bottomLeftY-B(e)},Jt=b.__private__.getHorizontalCoordinateString=b.getHorizontalCoordinateString=function(e){return I(Yt(e))},Zt=b.__private__.getVerticalCoordinateString=b.getVerticalCoordinateString=function(e){return I(Kt(e))},Qt=e.strokeColor||"0 G";b.__private__.getStrokeColor=b.getDrawColor=function(){return Je(Qt)},b.__private__.setStrokeColor=b.setDrawColor=function(e,t,r,n){return Qt=Ze({ch1:e,ch2:t,ch3:r,ch4:n,pdfColorType:"draw",precision:2}),se(Qt),this};var er=e.fillColor||"0 g";b.__private__.getFillColor=b.getFillColor=function(){return Je(er)},b.__private__.setFillColor=b.setFillColor=function(e,t,r,n){return er=Ze({ch1:e,ch2:t,ch3:r,ch4:n,pdfColorType:"fill",precision:2}),se(er),this};var tr=e.textColor||"0 g",rr=b.__private__.getTextColor=b.getTextColor=function(){return Je(tr)};b.__private__.setTextColor=b.setTextColor=function(e,t,r,n){return tr=Ze({ch1:e,ch2:t,ch3:r,ch4:n,pdfColorType:"text",precision:3}),this};var nr=e.charSpace,ar=b.__private__.getCharSpace=b.getCharSpace=function(){return parseFloat(nr||0)};b.__private__.setCharSpace=b.setCharSpace=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return nr=e,this};var or=0;b.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},b.__private__.setLineCap=b.setLineCap=function(e){var t=b.CapJoinStyles[e];if(void 0===t)throw new Error("Line cap style of '"+e+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return or=t,se(t+" J"),this};var ir=0;b.__private__.setLineJoin=b.setLineJoin=function(e){var t=b.CapJoinStyles[e];if(void 0===t)throw new Error("Line join style of '"+e+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return ir=t,se(t+" j"),this},b.__private__.setLineMiterLimit=b.__private__.setMiterLimit=b.setLineMiterLimit=b.setMiterLimit=function(e){if(e=e||0,isNaN(e))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return se(I(B(e))+" M"),this},b.GState=N,b.setGState=function(e){(e="string"==typeof e?Oe[Le[e]]:sr(null,e)).equals(Pe)||(se("/"+e.id+" gs"),Pe=e)};var sr=function(e,t){if(!e||!Le[e]){var r=!1;for(var n in Oe)if(Oe.hasOwnProperty(n)&&Oe[n].equals(t)){r=!0;break}if(r)t=Oe[n];else{var a="GS"+(Object.keys(Oe).length+1).toString(10);Oe[a]=t,t.id=a}return e&&(Le[e]=t.id),De.publish("addGState",t),t}};b.addGState=function(e,t){return sr(e,t),this},b.saveGraphicsState=function(){return se("q"),Ne.push({key:Se,size:fe,color:tr}),this},b.restoreGraphicsState=function(){se("Q");var e=Ne.pop();return Se=e.key,fe=e.size,tr=e.color,Pe=null,this},b.setCurrentTransformationMatrix=function(e){return se(e.toString()+" cm"),this},b.comment=function(e){return se("#"+e),this};var cr=function(e,t){var r=e||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return r},set:function(e){isNaN(e)||(r=parseFloat(e))}});var n=t||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return n},set:function(e){isNaN(e)||(n=parseFloat(e))}});var a="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return a},set:function(e){a=e.toString()}}),this},lr=function(e,t,r,n){cr.call(this,e,t),this.type="rect";var a=r||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return a},set:function(e){isNaN(e)||(a=parseFloat(e))}});var o=n||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return o},set:function(e){isNaN(e)||(o=parseFloat(e))}}),this},ur=function(){this.page=Ie,this.currentPage=Y,this.pages=ne.slice(0),this.pagesContext=Fe.slice(0),this.x=ke,this.y=Ae,this.matrix=Te,this.width=dr(Y),this.height=gr(Y),this.outputDestination=oe,this.id="",this.objectNumber=-1};ur.prototype.restore=function(){Ie=this.page,Y=this.currentPage,Fe=this.pagesContext,ne=this.pages,ke=this.x,Ae=this.y,Te=this.matrix,pr(Y,this.width),mr(Y,this.height),oe=this.outputDestination};var fr=function(e,t,r,n,a){We.push(new ur),Ie=Y=0,ne=[],ke=e,Ae=t,Te=a,dt([r,n])};for(var hr in b.beginFormObject=function(e,t,r,n,a){return fr(e,t,r,n,a),this},b.endFormObject=function(e){return function(e){if(!Be[e]){var t=new ur,r="Xo"+(Object.keys(je).length+1).toString(10);t.id=r,Be[e]=r,je[r]=t,De.publish("addFormObject",t),We.pop().restore()}}(e),this},b.doFormObject=function(e,t){var r=je[Be[e]];return se("q"),se(t.toString()+" cm"),se("/"+r.id+" Do"),se("Q"),this},b.getFormObject=function(e){var t=je[Be[e]];return{x:t.x,y:t.y,width:t.width,height:t.height,matrix:t.matrix}},b.save=function(e,r){return e=e||"generated.pdf",(r=r||{}).returnPromise=r.returnPromise||!1,!1===r.returnPromise?(l(At(kt()),e),"function"==typeof l.unload&&t.setTimeout&&setTimeout(l.unload,911),this):new Promise(function(r,n){try{var a=l(At(kt()),e);"function"==typeof l.unload&&t.setTimeout&&setTimeout(l.unload,911),r(a)}catch(e){n(e.message)}})},L.API)L.API.hasOwnProperty(hr)&&("events"===hr&&L.API.events.length?function(e,t){var r,n,a;for(a=t.length-1;-1!==a;a--)r=t[a][0],n=t[a][1],e.subscribe.apply(e,[r].concat("function"==typeof n?[n]:n))}(De,L.API.events):b[hr]=L.API[hr]);var dr=b.getPageWidth=function(e){return(Fe[e=e||Y].mediaBox.topRightX-Fe[e].mediaBox.bottomLeftX)/xe},pr=b.setPageWidth=function(e,t){Fe[e].mediaBox.topRightX=t*xe+Fe[e].mediaBox.bottomLeftX},gr=b.getPageHeight=function(e){return(Fe[e=e||Y].mediaBox.topRightY-Fe[e].mediaBox.bottomLeftY)/xe},mr=b.setPageHeight=function(e,t){Fe[e].mediaBox.topRightY=t*xe+Fe[e].mediaBox.bottomLeftY};return b.internal={pdfEscape:ht,getStyle:Pt,getFont:zt,getFontSize:de,getCharSpace:ar,getTextColor:rr,getLineHeight:$t,getLineHeightFactor:Xt,write:ce,getHorizontalCoordinate:Yt,getVerticalCoordinate:Kt,getCoordinateString:Jt,getVerticalCoordinateString:Zt,collections:{},newObject:qe,newAdditionalObject:Xe,newObjectDeferred:$e,newObjectDeferredBegin:Ge,getFilters:Qe,putStream:et,events:De,scaleFactor:xe,pageSize:{getWidth:function(){return dr(Y)},setWidth:function(e){pr(Y,e)},getHeight:function(){return gr(Y)},setHeight:function(e){mr(Y,e)}},encryptionOptions:g,encryption:_t,getEncryptor:function(e){return null!==g?_t.encryptor(e,0):function(e){return e}},output:Tt,getNumberOfPages:mt,pages:ne,out:se,f2:M,f3:j,getPageInfo:Nt,getPageInfoByObjId:Ct,getCurrentPageInfo:Rt,getPDFVersion:w,Point:cr,Rectangle:lr,Matrix:Ue,hasHotfix:Et},Object.defineProperty(b.internal.pageSize,"width",{get:function(){return dr(Y)},set:function(e){pr(Y,e)},enumerable:!0,configurable:!0}),Object.defineProperty(b.internal.pageSize,"height",{get:function(){return gr(Y)},set:function(e){mr(Y,e)},enumerable:!0,configurable:!0}),function(e){for(var t=0,r=ue.length;t<r;t++){var n=ft.call(this,e[t][0],e[t][1],e[t][2],ue[t][3],!0);!1===m&&(v[n]=!0);var a=e[t][0].split("-");ut({id:n,fontName:a[0],fontStyle:a[1]||""})}De.publish("addFonts",{fonts:Ee,dictionary:_e})}.call(b,ue),Se="F1",pt(i,a),De.publish("initialized"),b}E.prototype.lsbFirstWord=function(e){return String.fromCharCode(e>>0&255,e>>8&255,e>>16&255,e>>24&255)},E.prototype.toHexString=function(e){return e.split("").map(function(e){return("0"+(255&e.charCodeAt(0)).toString(16)).slice(-2)}).join("")},E.prototype.hexToBytes=function(e){for(var t=[],r=0;r<e.length;r+=2)t.push(String.fromCharCode(parseInt(e.substr(r,2),16)));return t.join("")},E.prototype.processOwnerPassword=function(e,t){return A(x(t).substr(0,5),e)},E.prototype.encryptor=function(e,t){let r=x(this.encryptionKey+String.fromCharCode(255&e,e>>8&255,e>>16&255,255&t,t>>8&255)).substr(0,10);return function(e){return A(r,e)}},N.prototype.equals=function(e){var t,r="id,objectNumber,equals";if(!e||typeof e!=typeof this)return!1;var n=0;for(t in this)if(!(r.indexOf(t)>=0)){if(this.hasOwnProperty(t)&&!e.hasOwnProperty(t))return!1;if(this[t]!==e[t])return!1;n++}for(t in e)e.hasOwnProperty(t)&&r.indexOf(t)<0&&n--;return 0===n},L.API={events:[]},L.version="2.3.1";var P=L.API,I=1,F=function(e){return e.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},D=function(e){return e.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},M=function(e){return e.toFixed(2)},j=function(e){return e.toFixed(5)};P.__acroform__={};var B=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e},W=function(e){return e*I},U=function(e){var t=new ne,r=ve.internal.getHeight(e)||0,n=ve.internal.getWidth(e)||0;return t.BBox=[0,0,Number(M(n)),Number(M(r))],t},z=P.__acroform__.setBit=function(e,t){if(e=e||0,t=t||0,isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return e|1<<t},H=P.__acroform__.clearBit=function(e,t){if(e=e||0,t=t||0,isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return e&~(1<<t)},V=P.__acroform__.getBit=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return 0==(e&1<<t)?0:1},q=P.__acroform__.getBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return V(e,t-1)},$=P.__acroform__.setBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return z(e,t-1)},G=P.__acroform__.clearBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return H(e,t-1)},X=P.__acroform__.calculateCoordinates=function(e,t){var r=t.internal.getHorizontalCoordinate,n=t.internal.getVerticalCoordinate,a=e[0],o=e[1],i=e[2],s=e[3],c={};return c.lowerLeft_X=r(a)||0,c.lowerLeft_Y=n(o+s)||0,c.upperRight_X=r(a+i)||0,c.upperRight_Y=n(o)||0,[Number(M(c.lowerLeft_X)),Number(M(c.lowerLeft_Y)),Number(M(c.upperRight_X)),Number(M(c.upperRight_Y))]},Y=function(e){if(e.appearanceStreamContent)return e.appearanceStreamContent;if(e.V||e.DV){var t=[],r=e._V||e.DV,n=K(e,r),a=e.scope.internal.getFont(e.fontName,e.fontStyle).id;t.push("/Tx BMC"),t.push("q"),t.push("BT"),t.push(e.scope.__private__.encodeColorString(e.color)),t.push("/"+a+" "+M(n.fontSize)+" Tf"),t.push("1 0 0 1 0 0 Tm"),t.push(n.text),t.push("ET"),t.push("Q"),t.push("EMC");var o=U(e);return o.scope=e.scope,o.stream=t.join("\n"),o}},K=function(e,t){var r=0===e.fontSize?e.maxFontSize:e.fontSize,n={text:"",fontSize:""},a=(t=")"==(t="("==t.substr(0,1)?t.substr(1):t).substr(t.length-1)?t.substr(0,t.length-1):t).split(" "),o=r,i=ve.internal.getHeight(e)||0;i=i<0?-i:i;var s=ve.internal.getWidth(e)||0;s=s<0?-s:s;var c=function(t,r,n){if(t+1<a.length){var o=r+" "+a[t+1];return J(o,e,n).width<=s-4}return!1};o++;e:for(;o>0;){t="";var l,u,f=J("3",e,--o).height,h=e.multiline?i-o:(i-f)/2,d=h+=2,p=0,g=0;if(o<=0){t="(...) Tj\n",t+="% Width of Text: "+J(t,e,o=12).width+", FieldWidth:"+s+"\n";break}var m="",v=0;for(var b in a)if(a.hasOwnProperty(b)){m=" "==(m+=a[b]+" ").substr(m.length-1)?m.substr(0,m.length-1):m;var y=parseInt(b),w=c(y,m,o),S=b>=a.length-1;if(w&&!S){m+=" ";continue}if(w||S){if(S)g=y;else if(e.multiline&&(f+2)*(v+2)+2>i)continue e}else{if(!e.multiline)continue e;if((f+2)*(v+2)+2>i)continue e;g=y}for(var x="",k=p;k<=g;k++)x+=a[k]+" ";switch(x=" "==x.substr(x.length-1)?x.substr(0,x.length-1):x,u=J(x,e,o).width,e.textAlign){case"right":l=s-u-2;break;case"center":l=(s-u)/2;break;case"left":default:l=2}t+=M(l)+" "+M(d)+" Td\n",t+="("+F(x)+") Tj\n",t+=-M(l)+" 0 Td\n",d=-(o+2),u=0,p=g+1,v++,m=""}break}return n.text=t,n.fontSize=o,n},J=function(e,t,r){var n=t.scope.internal.getFont(t.fontName,t.fontStyle),a=t.scope.getStringUnitWidth(e,{font:n,fontSize:parseFloat(r),charSpace:0})*parseFloat(r);return{height:t.scope.getStringUnitWidth("3",{font:n,fontSize:parseFloat(r),charSpace:0})*parseFloat(r)*1.5,width:a}},Z={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},Q=function(e,t){var r={type:"reference",object:e};void 0===t.internal.getPageInfo(e.page).pageContext.annotations.find(function(e){return e.type===r.type&&e.object===r.object})&&t.internal.getPageInfo(e.page).pageContext.annotations.push(r)},ee=P.__acroform__.arrayToPdfArray=function(e,t,r){var n=function(e){return e};if(Array.isArray(e)){for(var a="[",o=0;o<e.length;o++)switch(0!==o&&(a+=" "),typeof e[o]){case"boolean":case"number":case"object":a+=e[o].toString();break;case"string":"/"!==e[o].substr(0,1)?(void 0!==t&&r&&(n=r.internal.getEncryptor(t)),a+="("+F(n(e[o].toString()))+")"):a+=e[o].toString()}return a+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},te=function(e,t,r){var n=function(e){return e};return void 0!==t&&r&&(n=r.internal.getEncryptor(t)),(e=e||"").toString(),"("+F(n(e))+")"},re=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(void 0===this._objId){if(void 0===this.scope)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(e){this._objId=e}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};re.prototype.toString=function(){return this.objId+" 0 R"},re.prototype.putStream=function(){var e=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:e,objectId:this.objId}),this.scope.internal.out("endobj")},re.prototype.getKeyValueListForStream=function(){var e=[],t=Object.getOwnPropertyNames(this).filter(function(e){return"content"!=e&&"appearanceStreamContent"!=e&&"scope"!=e&&"objId"!=e&&"_"!=e.substring(0,1)});for(var r in t)if(!1===Object.getOwnPropertyDescriptor(this,t[r]).configurable){var n=t[r],a=this[n];a&&(Array.isArray(a)?e.push({key:n,value:ee(a,this.objId,this.scope)}):a instanceof re?(a.scope=this.scope,e.push({key:n,value:a.objId+" 0 R"})):"function"!=typeof a&&e.push({key:n,value:a}))}return e};var ne=function(){re.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writable:!0});var e,t=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(t){e=t.trim()},get:function(){return e||null}})};B(ne,re);var ae=function(){re.call(this);var e,t=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return t.length>0?t:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return t}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(e){var t=function(e){return e};return this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),"("+F(t(e))+")"}},set:function(t){e=t}})};B(ae,re);var oe=function(){re.call(this);var e=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){if(isNaN(t))throw new Error('Invalid value "'+t+'" for attribute F supplied.');e=t}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(e,3))},set:function(t){!0===Boolean(t)?this.F=$(e,3):this.F=G(e,3)}});var t=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){if(isNaN(e))throw new Error('Invalid value "'+e+'" for attribute Ff supplied.');t=e}});var r=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(0!==r.length)return r},set:function(e){r=void 0!==e?e:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[0])?0:r[0]},set:function(e){r[0]=e}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[1])?0:r[1]},set:function(e){r[1]=e}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[2])?0:r[2]},set:function(e){r[2]=e}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[3])?0:r[3]},set:function(e){r[3]=e}});var n="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return n},set:function(e){switch(e){case"/Btn":case"/Tx":case"/Ch":case"/Sig":n=e;break;default:throw new Error('Invalid value "'+e+'" for attribute FT supplied.')}}});var a=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!a||a.length<1){if(this instanceof de)return;a="FieldObject"+oe.FieldNum++}var e=function(e){return e};return this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),"("+F(e(a))+")"},set:function(e){a=e.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return a},set:function(e){a=e}});var o="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return o},set:function(e){o=e}});var i="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return i},set:function(e){i=e}});var s=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return s},set:function(e){s=e}});var c=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return void 0===c?50/I:c},set:function(e){c=e}});var l="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return l},set:function(e){l=e}});var u="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!u||this instanceof de||this instanceof ge))return te(u,this.objId,this.scope)},set:function(e){e=e.toString(),u=e}});var f=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(f)return this instanceof ue==0?te(f,this.objId,this.scope):f},set:function(e){e=e.toString(),f=this instanceof ue==0?"("===e.substr(0,1)?D(e.substr(1,e.length-2)):D(e):e}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof ue==1?D(f.substr(1,f.length-1)):f},set:function(e){e=e.toString(),f=this instanceof ue==1?"/"+e:e}});var h=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(h)return h},set:function(e){this.V=e}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(h)return this instanceof ue==0?te(h,this.objId,this.scope):h},set:function(e){e=e.toString(),h=this instanceof ue==0?"("===e.substr(0,1)?D(e.substr(1,e.length-2)):D(e):e}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof ue==1?D(h.substr(1,h.length-1)):h},set:function(e){e=e.toString(),h=this instanceof ue==1?"/"+e:e}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var d,p=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return p},set:function(e){e=Boolean(e),p=e}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(d)return d},set:function(e){d=e}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,1))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,1):this.Ff=G(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,2))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,2):this.Ff=G(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,3))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,3):this.Ff=G(this.Ff,3)}});var g=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(null!==g)return g},set:function(e){if(-1===[0,1,2].indexOf(e))throw new Error('Invalid value "'+e+'" for attribute Q supplied.');g=e}}),Object.defineProperty(this,"textAlign",{get:function(){var e;switch(g){case 0:default:e="left";break;case 1:e="center";break;case 2:e="right"}return e},configurable:!0,enumerable:!0,set:function(e){switch(e){case"right":case 2:g=2;break;case"center":case 1:g=1;break;case"left":case 0:default:g=0}}})};B(oe,re);var ie=function(){oe.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var e=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return e},set:function(t){e=t}});var t=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return ee(t,this.objId,this.scope)},set:function(e){var r,n;n=[],"string"==typeof(r=e)&&(n=function(e,t,r){r||(r=1);for(var n,a=[];n=t.exec(e);)a.push(n[r]);return a}(r,/\((.*?)\)/g)),t=n}}),this.getOptions=function(){return t},this.setOptions=function(e){t=e,this.sort&&t.sort()},this.addOption=function(e){e=(e=e||"").toString(),t.push(e),this.sort&&t.sort()},this.removeOption=function(e,r){for(r=r||!1,e=(e=e||"").toString();-1!==t.indexOf(e)&&(t.splice(t.indexOf(e),1),!1!==r););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,18))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,18):this.Ff=G(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,19))},set:function(e){!0===this.combo&&(!0===Boolean(e)?this.Ff=$(this.Ff,19):this.Ff=G(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,20))},set:function(e){!0===Boolean(e)?(this.Ff=$(this.Ff,20),t.sort()):this.Ff=G(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,22))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,22):this.Ff=G(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,23))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,23):this.Ff=G(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,27))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,27):this.Ff=G(this.Ff,27)}}),this.hasAppearanceStream=!1};B(ie,oe);var se=function(){ie.call(this),this.fontName="helvetica",this.combo=!1};B(se,ie);var ce=function(){se.call(this),this.combo=!0};B(ce,se);var le=function(){ce.call(this),this.edit=!0};B(le,ce);var ue=function(){oe.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,15))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,15):this.Ff=G(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,16))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,16):this.Ff=G(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,17))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,17):this.Ff=G(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,26))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,26):this.Ff=G(this.Ff,26)}});var e,t={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var e=function(e){return e};if(this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),0!==Object.keys(t).length){var r,n=[];for(r in n.push("<<"),t)n.push("/"+r+" ("+F(e(t[r]))+")");return n.push(">>"),n.join("\n")}},set:function(e){"object"==typeof e&&(t=e)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return t.CA||""},set:function(e){"string"==typeof e&&(t.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return e.substr(1,e.length-1)},set:function(t){e="/"+t}})};B(ue,oe);var fe=function(){ue.call(this),this.pushButton=!0};B(fe,ue);var he=function(){ue.call(this),this.radio=!0,this.pushButton=!1;var e=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=void 0!==t?t:[]}})};B(he,ue);var de=function(){var e,t;oe.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(e){t=e}});var r,n={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var e=function(e){return e};this.scope&&(e=this.scope.internal.getEncryptor(this.objId));var t,r=[];for(t in r.push("<<"),n)r.push("/"+t+" ("+F(e(n[t]))+")");return r.push(">>"),r.join("\n")},set:function(e){"object"==typeof e&&(n=e)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return n.CA||""},set:function(e){"string"==typeof e&&(n.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return r},set:function(e){r=e}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return r.substr(1,r.length-1)},set:function(e){r="/"+e}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=ve.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};B(de,oe),he.prototype.setAppearance=function(e){if(!("createAppearanceStream"in e&&"getCA"in e))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var t in this.Kids)if(this.Kids.hasOwnProperty(t)){var r=this.Kids[t];r.appearanceStreamContent=e.createAppearanceStream(r.optionName),r.caption=e.getCA()}},he.prototype.createOption=function(e){var t=new de;return t.Parent=this,t.optionName=e,this.Kids.push(t),be.call(this.scope,t),t};var pe=function(){ue.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=ve.CheckBox.createAppearanceStream()};B(pe,ue);var ge=function(){oe.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,13))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,13):this.Ff=G(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,21))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,21):this.Ff=G(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,23))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,23):this.Ff=G(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,24))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,24):this.Ff=G(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,25))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,25):this.Ff=G(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,26))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,26):this.Ff=G(this.Ff,26)}});var e=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return e},set:function(t){Number.isInteger(t)&&(e=t)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};B(ge,oe);var me=function(){ge.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,14))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,14):this.Ff=G(this.Ff,14)}}),this.password=!0};B(me,ge);var ve={CheckBox:{createAppearanceStream:function(){return{N:{On:ve.CheckBox.YesNormal},D:{On:ve.CheckBox.YesPushDown,Off:ve.CheckBox.OffPushDown}}},YesPushDown:function(e){var t=U(e);t.scope=e.scope;var r=[],n=e.scope.internal.getFont(e.fontName,e.fontStyle).id,a=e.scope.__private__.encodeColorString(e.color),o=K(e,e.caption);return r.push("0.749023 g"),r.push("0 0 "+M(ve.internal.getWidth(e))+" "+M(ve.internal.getHeight(e))+" re"),r.push("f"),r.push("BMC"),r.push("q"),r.push("0 0 1 rg"),r.push("/"+n+" "+M(o.fontSize)+" Tf "+a),r.push("BT"),r.push(o.text),r.push("ET"),r.push("Q"),r.push("EMC"),t.stream=r.join("\n"),t},YesNormal:function(e){var t=U(e);t.scope=e.scope;var r=e.scope.internal.getFont(e.fontName,e.fontStyle).id,n=e.scope.__private__.encodeColorString(e.color),a=[],o=ve.internal.getHeight(e),i=ve.internal.getWidth(e),s=K(e,e.caption);return a.push("1 g"),a.push("0 0 "+M(i)+" "+M(o)+" re"),a.push("f"),a.push("q"),a.push("0 0 1 rg"),a.push("0 0 "+M(i-1)+" "+M(o-1)+" re"),a.push("W"),a.push("n"),a.push("0 g"),a.push("BT"),a.push("/"+r+" "+M(s.fontSize)+" Tf "+n),a.push(s.text),a.push("ET"),a.push("Q"),t.stream=a.join("\n"),t},OffPushDown:function(e){var t=U(e);t.scope=e.scope;var r=[];return r.push("0.749023 g"),r.push("0 0 "+M(ve.internal.getWidth(e))+" "+M(ve.internal.getHeight(e))+" re"),r.push("f"),t.stream=r.join("\n"),t}},RadioButton:{Circle:{createAppearanceStream:function(e){var t={D:{Off:ve.RadioButton.Circle.OffPushDown},N:{}};return t.N[e]=ve.RadioButton.Circle.YesNormal,t.D[e]=ve.RadioButton.Circle.YesPushDown,t},getCA:function(){return"l"},YesNormal:function(e){var t=U(e);t.scope=e.scope;var r=[],n=ve.internal.getWidth(e)<=ve.internal.getHeight(e)?ve.internal.getWidth(e)/4:ve.internal.getHeight(e)/4;n=Number((.9*n).toFixed(5));var a=ve.internal.Bezier_C,o=Number((n*a).toFixed(5));return r.push("q"),r.push("1 0 0 1 "+j(ve.internal.getWidth(e)/2)+" "+j(ve.internal.getHeight(e)/2)+" cm"),r.push(n+" 0 m"),r.push(n+" "+o+" "+o+" "+n+" 0 "+n+" c"),r.push("-"+o+" "+n+" -"+n+" "+o+" -"+n+" 0 c"),r.push("-"+n+" -"+o+" -"+o+" -"+n+" 0 -"+n+" c"),r.push(o+" -"+n+" "+n+" -"+o+" "+n+" 0 c"),r.push("f"),r.push("Q"),t.stream=r.join("\n"),t},YesPushDown:function(e){var t=U(e);t.scope=e.scope;var r=[],n=ve.internal.getWidth(e)<=ve.internal.getHeight(e)?ve.internal.getWidth(e)/4:ve.internal.getHeight(e)/4;n=Number((.9*n).toFixed(5));var a=Number((2*n).toFixed(5)),o=Number((a*ve.internal.Bezier_C).toFixed(5)),i=Number((n*ve.internal.Bezier_C).toFixed(5));return r.push("0.749023 g"),r.push("q"),r.push("1 0 0 1 "+j(ve.internal.getWidth(e)/2)+" "+j(ve.internal.getHeight(e)/2)+" cm"),r.push(a+" 0 m"),r.push(a+" "+o+" "+o+" "+a+" 0 "+a+" c"),r.push("-"+o+" "+a+" -"+a+" "+o+" -"+a+" 0 c"),r.push("-"+a+" -"+o+" -"+o+" -"+a+" 0 -"+a+" c"),r.push(o+" -"+a+" "+a+" -"+o+" "+a+" 0 c"),r.push("f"),r.push("Q"),r.push("0 g"),r.push("q"),r.push("1 0 0 1 "+j(ve.internal.getWidth(e)/2)+" "+j(ve.internal.getHeight(e)/2)+" cm"),r.push(n+" 0 m"),r.push(n+" "+i+" "+i+" "+n+" 0 "+n+" c"),r.push("-"+i+" "+n+" -"+n+" "+i+" -"+n+" 0 c"),r.push("-"+n+" -"+i+" -"+i+" -"+n+" 0 -"+n+" c"),r.push(i+" -"+n+" "+n+" -"+i+" "+n+" 0 c"),r.push("f"),r.push("Q"),t.stream=r.join("\n"),t},OffPushDown:function(e){var t=U(e);t.scope=e.scope;var r=[],n=ve.internal.getWidth(e)<=ve.internal.getHeight(e)?ve.internal.getWidth(e)/4:ve.internal.getHeight(e)/4;n=Number((.9*n).toFixed(5));var a=Number((2*n).toFixed(5)),o=Number((a*ve.internal.Bezier_C).toFixed(5));return r.push("0.749023 g"),r.push("q"),r.push("1 0 0 1 "+j(ve.internal.getWidth(e)/2)+" "+j(ve.internal.getHeight(e)/2)+" cm"),r.push(a+" 0 m"),r.push(a+" "+o+" "+o+" "+a+" 0 "+a+" c"),r.push("-"+o+" "+a+" -"+a+" "+o+" -"+a+" 0 c"),r.push("-"+a+" -"+o+" -"+o+" -"+a+" 0 -"+a+" c"),r.push(o+" -"+a+" "+a+" -"+o+" "+a+" 0 c"),r.push("f"),r.push("Q"),t.stream=r.join("\n"),t}},Cross:{createAppearanceStream:function(e){var t={D:{Off:ve.RadioButton.Cross.OffPushDown},N:{}};return t.N[e]=ve.RadioButton.Cross.YesNormal,t.D[e]=ve.RadioButton.Cross.YesPushDown,t},getCA:function(){return"8"},YesNormal:function(e){var t=U(e);t.scope=e.scope;var r=[],n=ve.internal.calculateCross(e);return r.push("q"),r.push("1 1 "+M(ve.internal.getWidth(e)-2)+" "+M(ve.internal.getHeight(e)-2)+" re"),r.push("W"),r.push("n"),r.push(M(n.x1.x)+" "+M(n.x1.y)+" m"),r.push(M(n.x2.x)+" "+M(n.x2.y)+" l"),r.push(M(n.x4.x)+" "+M(n.x4.y)+" m"),r.push(M(n.x3.x)+" "+M(n.x3.y)+" l"),r.push("s"),r.push("Q"),t.stream=r.join("\n"),t},YesPushDown:function(e){var t=U(e);t.scope=e.scope;var r=ve.internal.calculateCross(e),n=[];return n.push("0.749023 g"),n.push("0 0 "+M(ve.internal.getWidth(e))+" "+M(ve.internal.getHeight(e))+" re"),n.push("f"),n.push("q"),n.push("1 1 "+M(ve.internal.getWidth(e)-2)+" "+M(ve.internal.getHeight(e)-2)+" re"),n.push("W"),n.push("n"),n.push(M(r.x1.x)+" "+M(r.x1.y)+" m"),n.push(M(r.x2.x)+" "+M(r.x2.y)+" l"),n.push(M(r.x4.x)+" "+M(r.x4.y)+" m"),n.push(M(r.x3.x)+" "+M(r.x3.y)+" l"),n.push("s"),n.push("Q"),t.stream=n.join("\n"),t},OffPushDown:function(e){var t=U(e);t.scope=e.scope;var r=[];return r.push("0.749023 g"),r.push("0 0 "+M(ve.internal.getWidth(e))+" "+M(ve.internal.getHeight(e))+" re"),r.push("f"),t.stream=r.join("\n"),t}}},createDefaultAppearanceStream:function(e){var t=e.scope.internal.getFont(e.fontName,e.fontStyle).id,r=e.scope.__private__.encodeColorString(e.color);return"/"+t+" "+e.fontSize+" Tf "+r}};ve.internal={Bezier_C:.551915024494,calculateCross:function(e){var t=ve.internal.getWidth(e),r=ve.internal.getHeight(e),n=Math.min(t,r);return{x1:{x:(t-n)/2,y:(r-n)/2+n},x2:{x:(t-n)/2+n,y:(r-n)/2},x3:{x:(t-n)/2,y:(r-n)/2},x4:{x:(t-n)/2+n,y:(r-n)/2+n}}}},ve.internal.getWidth=function(e){var t=0;return"object"==typeof e&&(t=W(e.Rect[2])),t},ve.internal.getHeight=function(e){var t=0;return"object"==typeof e&&(t=W(e.Rect[3])),t};var be=P.addField=function(e){if(function(e,t){if(t.scope=e,void 0!==e.internal&&(void 0===e.internal.acroformPlugin||!1===e.internal.acroformPlugin.isInitialized)){if(oe.FieldNum=0,e.internal.acroformPlugin=JSON.parse(JSON.stringify(Z)),e.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");I=e.internal.scaleFactor,e.internal.acroformPlugin.acroFormDictionaryRoot=new ae,e.internal.acroformPlugin.acroFormDictionaryRoot.scope=e,e.internal.acroformPlugin.acroFormDictionaryRoot._eventID=e.internal.events.subscribe("postPutResources",function(){!function(e){e.internal.events.unsubscribe(e.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete e.internal.acroformPlugin.acroFormDictionaryRoot._eventID,e.internal.acroformPlugin.printedOut=!0}(e)}),e.internal.events.subscribe("buildDocument",function(){!function(e){e.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var t=e.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var r in t)if(t.hasOwnProperty(r)){var n=t[r];n.objId=void 0,n.hasAnnotation&&Q(n,e)}}(e)}),e.internal.events.subscribe("putCatalog",function(){!function(e){if(void 0===e.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("putCatalogCallback: Root missing.");e.internal.write("/AcroForm "+e.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")}(e)}),e.internal.events.subscribe("postPutPages",function(t){!function(e,t){var r=!e;for(var n in e||(t.internal.newObjectDeferredBegin(t.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),t.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),e=e||t.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(e.hasOwnProperty(n)){var a=e[n],o=[],i=a.Rect;if(a.Rect&&(a.Rect=X(a.Rect,t)),t.internal.newObjectDeferredBegin(a.objId,!0),a.DA=ve.createDefaultAppearanceStream(a),"object"==typeof a&&"function"==typeof a.getKeyValueListForStream&&(o=a.getKeyValueListForStream()),a.Rect=i,a.hasAppearanceStream&&!a.appearanceStreamContent){var s=Y(a);o.push({key:"AP",value:"<</N "+s+">>"}),t.internal.acroformPlugin.xForms.push(s)}if(a.appearanceStreamContent){var c="";for(var l in a.appearanceStreamContent)if(a.appearanceStreamContent.hasOwnProperty(l)){var u=a.appearanceStreamContent[l];if(c+="/"+l+" ",c+="<<",Object.keys(u).length>=1||Array.isArray(u)){for(var n in u)if(u.hasOwnProperty(n)){var f=u[n];"function"==typeof f&&(f=f.call(t,a)),c+="/"+n+" "+f+" ",t.internal.acroformPlugin.xForms.indexOf(f)>=0||t.internal.acroformPlugin.xForms.push(f)}}else"function"==typeof(f=u)&&(f=f.call(t,a)),c+="/"+n+" "+f,t.internal.acroformPlugin.xForms.indexOf(f)>=0||t.internal.acroformPlugin.xForms.push(f);c+=">>"}o.push({key:"AP",value:"<<\n"+c+">>"})}t.internal.putStream({additionalKeyValues:o,objectId:a.objId}),t.internal.out("endobj")}r&&function(e,t){for(var r in e)if(e.hasOwnProperty(r)){var n=r,a=e[r];t.internal.newObjectDeferredBegin(a.objId,!0),"object"==typeof a&&"function"==typeof a.putStream&&a.putStream(),delete e[n]}}(t.internal.acroformPlugin.xForms,t)}(t,e)}),e.internal.acroformPlugin.isInitialized=!0}}(this,e),!(e instanceof oe))throw new Error("Invalid argument passed to jsPDF.addField.");var t;return(t=e).scope.internal.acroformPlugin.printedOut&&(t.scope.internal.acroformPlugin.printedOut=!1,t.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),t.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(t),e.page=e.scope.internal.getCurrentPageInfo().pageNumber,this};P.AcroFormChoiceField=ie,P.AcroFormListBox=se,P.AcroFormComboBox=ce,P.AcroFormEditBox=le,P.AcroFormButton=ue,P.AcroFormPushButton=fe,P.AcroFormRadioButton=he,P.AcroFormCheckBox=pe,P.AcroFormTextField=ge,P.AcroFormPasswordField=me,P.AcroFormAppearance=ve,P.AcroForm={ChoiceField:ie,ListBox:se,ComboBox:ce,EditBox:le,Button:ue,PushButton:fe,RadioButton:he,CheckBox:pe,TextField:ge,PasswordField:me,Appearance:ve},L.AcroForm={ChoiceField:ie,ListBox:se,ComboBox:ce,EditBox:le,Button:ue,PushButton:fe,RadioButton:he,CheckBox:pe,TextField:ge,PasswordField:me,Appearance:ve};var ye=L.AcroForm;function we(e){return e.reduce(function(e,t,r){return e[t]=r,e},{})}!function(e){e.__addimage__={};var t="UNKNOWN",r={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},n=e.__addimage__.getImageFileTypeByImageData=function(e,n){var a,o;n=n||t;var i,s,c,l=t;if(S(e))for(c in r)for(i=r[c],a=0;a<i.length;a+=1){for(s=!0,o=0;o<i[a].length;o+=1)if(void 0!==i[a][o]&&i[a][o]!==e[o]){s=!1;break}if(!0===s){l=c;break}}else for(c in r)for(i=r[c],a=0;a<i.length;a+=1){for(s=!0,o=0;o<i[a].length;o+=1)if(void 0!==i[a][o]&&i[a][o]!==e.charCodeAt(o)){s=!1;break}if(!0===s){l=c;break}}return l===t&&n!==t&&(l=n),l},a=function(e){for(var t=this.internal.write,r=this.internal.putStream,n=(0,this.internal.getFilters)();-1!==n.indexOf("FlateEncode");)n.splice(n.indexOf("FlateEncode"),1);e.objectId=this.internal.newObject();var o=[];if(o.push({key:"Type",value:"/XObject"}),o.push({key:"Subtype",value:"/Image"}),o.push({key:"Width",value:e.width}),o.push({key:"Height",value:e.height}),e.colorSpace===g.INDEXED?o.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(e.palette.length/3-1)+" "+("sMask"in e&&void 0!==e.sMask?e.objectId+2:e.objectId+1)+" 0 R]"}):(o.push({key:"ColorSpace",value:"/"+e.colorSpace}),e.colorSpace===g.DEVICE_CMYK&&o.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),o.push({key:"BitsPerComponent",value:e.bitsPerComponent}),"decodeParameters"in e&&void 0!==e.decodeParameters&&o.push({key:"DecodeParms",value:"<<"+e.decodeParameters+">>"}),"transparency"in e&&Array.isArray(e.transparency)){for(var i="",s=0,c=e.transparency.length;s<c;s++)i+=e.transparency[s]+" "+e.transparency[s]+" ";o.push({key:"Mask",value:"["+i+"]"})}void 0!==e.sMask&&o.push({key:"SMask",value:e.objectId+1+" 0 R"});var l=void 0!==e.filter?["/"+e.filter]:void 0;if(r({data:e.data,additionalKeyValues:o,alreadyAppliedFilters:l,objectId:e.objectId}),t("endobj"),"sMask"in e&&void 0!==e.sMask){var u="/Predictor "+e.predictor+" /Colors 1 /BitsPerComponent "+e.bitsPerComponent+" /Columns "+e.width,f={width:e.width,height:e.height,colorSpace:"DeviceGray",bitsPerComponent:e.bitsPerComponent,decodeParameters:u,data:e.sMask};"filter"in e&&(f.filter=e.filter),a.call(this,f)}if(e.colorSpace===g.INDEXED){var h=this.internal.newObject();r({data:k(new Uint8Array(e.palette)),objectId:h}),t("endobj")}},o=function(){var e=this.internal.collections.addImage_images;for(var t in e)a.call(this,e[t])},i=function(){var e,t=this.internal.collections.addImage_images,r=this.internal.write;for(var n in t)r("/I"+(e=t[n]).index,e.objectId,"0","R")},l=function(){this.internal.collections.addImage_images||(this.internal.collections.addImage_images={},this.internal.events.subscribe("putResources",o),this.internal.events.subscribe("putXobjectDict",i))},u=function(){var e=this.internal.collections.addImage_images;return l.call(this),e},f=function(t){return"function"==typeof e["process"+t.toUpperCase()]},h=function(e){return"object"==typeof e&&1===e.nodeType},d=function(t,r){if("IMG"===t.nodeName&&t.hasAttribute("src")){var n=""+t.getAttribute("src");if(0===n.indexOf("data:image/"))return s(unescape(n).split("base64,").pop());var a=e.loadFile(n,!0);if(void 0!==a)return a}if("CANVAS"===t.nodeName){var o;switch(r){case"PNG":o="image/png";break;case"WEBP":o="image/webp";break;case"JPEG":case"JPG":default:o="image/jpeg"}return s(t.toDataURL(o,1).split("base64,").pop())}},p=function(e,t,r,n,a,o){var i=function(e,t,r){return e||t||(e=-96,t=-96),e<0&&(e=-1*r.width*72/e/this.internal.scaleFactor),t<0&&(t=-1*r.height*72/t/this.internal.scaleFactor),0===e&&(e=t*r.width/r.height),0===t&&(t=e*r.height/r.width),[e,t]}.call(this,r,n,a),s=this.internal.getCoordinateString,c=this.internal.getVerticalCoordinateString,l=u.call(this);if(r=i[0],n=i[1],l[a.index]=a,o){o*=Math.PI/180;var f=Math.cos(o),h=Math.sin(o),d=function(e){return e.toFixed(4)},p=[d(f),d(h),d(-1*h),d(f),0,0,"cm"]}this.internal.write("q"),o?(this.internal.write([1,"0","0",1,s(e),c(t+n),"cm"].join(" ")),this.internal.write(p.join(" ")),this.internal.write([s(r),"0","0",s(n),"0","0","cm"].join(" "))):this.internal.write([s(r),"0","0",s(n),s(e),c(t+n),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+a.index+" Do"),this.internal.write("Q")},g=e.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};e.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var m=e.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},v=e.__addimage__.sHashCode=function(e){var t,r,n=0;if("string"==typeof e)for(r=e.length,t=0;t<r;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;else if(S(e))for(r=e.byteLength/2,t=0;t<r;t++)n=(n<<5)-n+e[t],n|=0;return n},b=e.__addimage__.validateStringAsBase64=function(e){(e=e||"").toString().trim();var t=!0;return 0===e.length&&(t=!1),e.length%4!=0&&(t=!1),!1===/^[A-Za-z0-9+\/]+$/.test(e.substr(0,e.length-2))&&(t=!1),!1===/^[A-Za-z0-9\/][A-Za-z0-9+\/]|[A-Za-z0-9+\/]=|==$/.test(e.substr(-2))&&(t=!1),t},y=e.__addimage__.extractImageFromDataUrl=function(e){var t=(e=e||"").split("base64,"),r=null;if(2===t.length){var n=/^data:(\w*\/\w*);*(charset=(?!charset=)[\w=-]*)*;*$/.exec(t[0]);Array.isArray(n)&&(r={mimeType:n[1],charset:n[2],data:t[1]})}return r},w=e.__addimage__.supportsArrayBuffer=function(){return"undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array};e.__addimage__.isArrayBuffer=function(e){return w()&&e instanceof ArrayBuffer};var S=e.__addimage__.isArrayBufferView=function(e){return w()&&"undefined"!=typeof Uint32Array&&(e instanceof Int8Array||e instanceof Uint8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)},x=e.__addimage__.binaryStringToUint8Array=function(e){for(var t=e.length,r=new Uint8Array(t),n=0;n<t;n++)r[n]=e.charCodeAt(n);return r},k=e.__addimage__.arrayBufferToBinaryString=function(e){try{return s(c(String.fromCharCode.apply(null,e)))}catch(t){if("undefined"!=typeof Uint8Array&&void 0!==Uint8Array.prototype.reduce)return new Uint8Array(e).reduce(function(e,t){return e.push(String.fromCharCode(t)),e},[]).join("")}};e.addImage=function(){var e,r,n,a,o,i,s,c,u;if("number"==typeof arguments[1]?(r=t,n=arguments[1],a=arguments[2],o=arguments[3],i=arguments[4],s=arguments[5],c=arguments[6],u=arguments[7]):(r=arguments[1],n=arguments[2],a=arguments[3],o=arguments[4],i=arguments[5],s=arguments[6],c=arguments[7],u=arguments[8]),"object"==typeof(e=arguments[0])&&!h(e)&&"imageData"in e){var f=e;e=f.imageData,r=f.format||r||t,n=f.x||n||0,a=f.y||a||0,o=f.w||f.width||o,i=f.h||f.height||i,s=f.alias||s,c=f.compression||c,u=f.rotation||f.angle||u}var d=this.internal.getFilters();if(void 0===c&&-1!==d.indexOf("FlateEncode")&&(c="SLOW"),isNaN(n)||isNaN(a))throw new Error("Invalid coordinates passed to jsPDF.addImage");l.call(this);var g=A.call(this,e,r,s,c);return p.call(this,n,a,o,i,g,u),this};var A=function(r,a,o,i){var s,c,l;if("string"==typeof r&&n(r)===t){r=unescape(r);var u=T(r,!1);(""!==u||void 0!==(u=e.loadFile(r,!0)))&&(r=u)}if(h(r)&&(r=d(r,a)),a=n(r,a),!f(a))throw new Error("addImage does not support files of type '"+a+"', please ensure that a plugin for '"+a+"' support is added.");if((null==(l=o)||0===l.length)&&(o=function(e){return"string"==typeof e||S(e)?v(e):null}(r)),(s=function(e){var t=this.internal.collections.addImage_images;if(t)for(var r in t)if(e===t[r].alias)return t[r]}.call(this,o))||(w()&&(r instanceof Uint8Array||(c=r,r=x(r))),s=this["process"+a.toUpperCase()](r,function(){return Object.keys(this.internal.collections.addImage_images).length}.call(this),o,function(t){return t&&"string"==typeof t&&(t=t.toUpperCase()),t in e.image_compression?t:m.NONE}(i),c)),!s)throw new Error("An unknown error occurred whilst processing the image.");return s},T=e.__addimage__.convertBase64ToBinaryString=function(e,t){var r;t="boolean"!=typeof t||t;var n,a="";if("string"==typeof e){n=null!==(r=y(e))?r.data:e;try{a=s(n)}catch(e){if(t)throw b(n)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+e.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return a};e.getImageProperties=function(r){var a,o,i="";if(h(r)&&(r=d(r)),"string"==typeof r&&n(r)===t&&(""===(i=T(r,!1))&&(i=e.loadFile(r)||""),r=i),o=n(r),!f(o))throw new Error("addImage does not support files of type '"+o+"', please ensure that a plugin for '"+o+"' support is added.");if(!w()||r instanceof Uint8Array||(r=x(r)),!(a=this["process"+o.toUpperCase()](r)))throw new Error("An unknown error occurred whilst processing the image");return a.fileType=o,a}}(L.API),function(e){var t=function(e){if(void 0!==e&&""!=e)return!0};L.API.events.push(["addPage",function(e){this.internal.getPageInfo(e.pageNumber).pageContext.annotations=[]}]),e.events.push(["putPage",function(e){for(var r,n,a,o=this.internal.getCoordinateString,i=this.internal.getVerticalCoordinateString,s=this.internal.getPageInfoByObjId(e.objId),c=e.pageContext.annotations,l=!1,u=0;u<c.length&&!l;u++)switch((r=c[u]).type){case"link":(t(r.options.url)||t(r.options.pageNumber))&&(l=!0);break;case"reference":case"text":case"freetext":l=!0}if(0!=l){this.internal.write("/Annots [");for(var f=0;f<c.length;f++){r=c[f];var h=this.internal.pdfEscape,d=this.internal.getEncryptor(e.objId);switch(r.type){case"reference":this.internal.write(" "+r.object.objId+" 0 R ");break;case"text":var p=this.internal.newAdditionalObject(),g=this.internal.newAdditionalObject(),m=this.internal.getEncryptor(p.objId),v=r.title||"Note";a="<</Type /Annot /Subtype /Text "+(n="/Rect ["+o(r.bounds.x)+" "+i(r.bounds.y+r.bounds.h)+" "+o(r.bounds.x+r.bounds.w)+" "+i(r.bounds.y)+"] ")+"/Contents ("+h(m(r.contents))+")",a+=" /Popup "+g.objId+" 0 R",a+=" /P "+s.objId+" 0 R",a+=" /T ("+h(m(v))+") >>",p.content=a;var b=p.objId+" 0 R";a="<</Type /Annot /Subtype /Popup "+(n="/Rect ["+o(r.bounds.x+30)+" "+i(r.bounds.y+r.bounds.h)+" "+o(r.bounds.x+r.bounds.w+30)+" "+i(r.bounds.y)+"] ")+" /Parent "+b,r.open&&(a+=" /Open true"),a+=" >>",g.content=a,this.internal.write(p.objId,"0 R",g.objId,"0 R");break;case"freetext":n="/Rect ["+o(r.bounds.x)+" "+i(r.bounds.y)+" "+o(r.bounds.x+r.bounds.w)+" "+i(r.bounds.y+r.bounds.h)+"] ";var y=r.color||"#000000";a="<</Type /Annot /Subtype /FreeText "+n+"/Contents ("+h(d(r.contents))+")",a+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+y+")",a+=" /Border [0 0 0]",a+=" >>",this.internal.write(a);break;case"link":if(r.options.name){var w=this.annotations._nameMap[r.options.name];r.options.pageNumber=w.page,r.options.top=w.y}else r.options.top||(r.options.top=0);if(n="/Rect ["+r.finalBounds.x+" "+r.finalBounds.y+" "+r.finalBounds.w+" "+r.finalBounds.h+"] ",a="",r.options.url)a="<</Type /Annot /Subtype /Link "+n+"/Border [0 0 0] /A <</S /URI /URI ("+h(d(r.options.url))+") >>";else if(r.options.pageNumber)switch(a="<</Type /Annot /Subtype /Link "+n+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(r.options.pageNumber).objId+" 0 R",r.options.magFactor=r.options.magFactor||"XYZ",r.options.magFactor){case"Fit":a+=" /Fit]";break;case"FitH":a+=" /FitH "+r.options.top+"]";break;case"FitV":r.options.left=r.options.left||0,a+=" /FitV "+r.options.left+"]";break;case"XYZ":default:var S=i(r.options.top);r.options.left=r.options.left||0,void 0===r.options.zoom&&(r.options.zoom=0),a+=" /XYZ "+r.options.left+" "+S+" "+r.options.zoom+"]"}""!=a&&(a+=" >>",this.internal.write(a))}}this.internal.write("]")}}]),e.createAnnotation=function(e){var t=this.internal.getCurrentPageInfo();switch(e.type){case"link":this.link(e.bounds.x,e.bounds.y,e.bounds.w,e.bounds.h,e);break;case"text":case"freetext":t.pageContext.annotations.push(e)}},e.link=function(e,t,r,n,a){var o=this.internal.getCurrentPageInfo(),i=this.internal.getCoordinateString,s=this.internal.getVerticalCoordinateString;o.pageContext.annotations.push({finalBounds:{x:i(e),y:s(t),w:i(e+r),h:s(t+n)},options:a,type:"link"})},e.textWithLink=function(e,t,r,n){var a=this.getTextWidth(e),o=this.internal.getLineHeight()/this.internal.scaleFactor;return this.text(e,t,r,n),r+=.2*o,"center"===n.align&&(t-=a/2),"right"===n.align&&(t-=a),this.link(t,r-o,a,o,n),a},e.getTextWidth=function(e){var t=this.internal.getFontSize();return this.getStringUnitWidth(e)*t/this.internal.scaleFactor}}(L.API),function(e){var t={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},r={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},n={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},a=[1570,1571,1573,1575];e.__arabicParser__={};var o=e.__arabicParser__.isInArabicSubstitutionA=function(e){return void 0!==t[e.charCodeAt(0)]},i=e.__arabicParser__.isArabicLetter=function(e){return"string"==typeof e&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(e)},s=e.__arabicParser__.isArabicEndLetter=function(e){return i(e)&&o(e)&&t[e.charCodeAt(0)].length<=2},c=e.__arabicParser__.isArabicAlfLetter=function(e){return i(e)&&a.indexOf(e.charCodeAt(0))>=0};e.__arabicParser__.arabicLetterHasIsolatedForm=function(e){return i(e)&&o(e)&&t[e.charCodeAt(0)].length>=1};var l=e.__arabicParser__.arabicLetterHasFinalForm=function(e){return i(e)&&o(e)&&t[e.charCodeAt(0)].length>=2};e.__arabicParser__.arabicLetterHasInitialForm=function(e){return i(e)&&o(e)&&t[e.charCodeAt(0)].length>=3};var u=e.__arabicParser__.arabicLetterHasMedialForm=function(e){return i(e)&&o(e)&&4==t[e.charCodeAt(0)].length},f=e.__arabicParser__.resolveLigatures=function(e){var t=0,n=r,a="",o=0;for(t=0;t<e.length;t+=1)void 0!==n[e.charCodeAt(t)]?(o++,"number"==typeof(n=n[e.charCodeAt(t)])&&(a+=String.fromCharCode(n),n=r,o=0),t===e.length-1&&(n=r,a+=e.charAt(t-(o-1)),t-=o-1,o=0)):(n=r,a+=e.charAt(t-o),t-=o,o=0);return a};e.__arabicParser__.isArabicDiacritic=function(e){return void 0!==e&&void 0!==n[e.charCodeAt(0)]};var h=e.__arabicParser__.getCorrectForm=function(e,t,r){return i(e)?!1===o(e)?-1:!l(e)||!i(t)&&!i(r)||!i(r)&&s(t)||s(e)&&!i(t)||s(e)&&c(t)||s(e)&&s(t)?0:u(e)&&i(t)&&!s(t)&&i(r)&&l(r)?3:s(e)||!i(r)?1:2:-1},d=function(e){var r=0,n=0,a=0,o="",s="",c="",l=(e=e||"").split("\\s+"),u=[];for(r=0;r<l.length;r+=1){for(u.push(""),n=0;n<l[r].length;n+=1)o=l[r][n],s=l[r][n-1],c=l[r][n+1],i(o)?(a=h(o,s,c),u[r]+=-1!==a?String.fromCharCode(t[o.charCodeAt(0)][a]):o):u[r]+=o;u[r]=f(u[r])}return u.join(" ")},p=e.__arabicParser__.processArabic=e.processArabic=function(){var e,t="string"==typeof arguments[0]?arguments[0]:arguments[0].text,r=[];if(Array.isArray(t)){var n=0;for(r=[],n=0;n<t.length;n+=1)Array.isArray(t[n])?r.push([d(t[n][0]),t[n][1],t[n][2]]):r.push([d(t[n])]);e=r}else e=d(t);return"string"==typeof arguments[0]?e:(arguments[0].text=e,arguments[0])};e.events.push(["preProcessText",p])}(L.API),L.API.autoPrint=function(e){var t;switch((e=e||{}).variant=e.variant||"non-conform",e.variant){case"javascript":this.addJS("print({});");break;case"non-conform":default:this.internal.events.subscribe("postPutResources",function(){t=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /Named"),this.internal.out("/Type /Action"),this.internal.out("/N /Print"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+t+" 0 R")})}return this},function(e){var t=function(){var e=void 0;Object.defineProperty(this,"pdf",{get:function(){return e},set:function(t){e=t}});var t=150;Object.defineProperty(this,"width",{get:function(){return t},set:function(e){t=isNaN(e)||!1===Number.isInteger(e)||e<0?150:e,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=t+1)}});var r=300;Object.defineProperty(this,"height",{get:function(){return r},set:function(e){r=isNaN(e)||!1===Number.isInteger(e)||e<0?300:e,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=r+1)}});var n=[];Object.defineProperty(this,"childNodes",{get:function(){return n},set:function(e){n=e}});var a={};Object.defineProperty(this,"style",{get:function(){return a},set:function(e){a=e}}),Object.defineProperty(this,"parentNode",{})};t.prototype.getContext=function(e,t){var r;if("2d"!==(e=e||"2d"))return null;for(r in t)this.pdf.context2d.hasOwnProperty(r)&&(this.pdf.context2d[r]=t[r]);return this.pdf.context2d._canvas=this,this.pdf.context2d},t.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},e.events.push(["initialized",function(){this.canvas=new t,this.canvas.pdf=this}])}(L.API),function(e){var t={left:0,top:0,bottom:0,right:0},r=!1,n=function(){void 0===this.internal.__cell__&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},t),this.internal.__cell__.margins.width=this.getPageWidth(),a.call(this))},a=function(){this.internal.__cell__.lastCell=new o,this.internal.__cell__.pages=1},o=function(){var e=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return e},set:function(t){e=t}});var t=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return t},set:function(e){t=e}});var r=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return r},set:function(e){r=e}});var n=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return n},set:function(e){n=e}});var a=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return a},set:function(e){a=e}});var o=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return o},set:function(e){o=e}});var i=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return i},set:function(e){i=e}}),this};o.prototype.clone=function(){return new o(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},o.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},e.setHeaderFunction=function(e){return n.call(this),this.internal.__cell__.headerFunction="function"==typeof e?e:void 0,this},e.getTextDimensions=function(e,t){n.call(this);var r=(t=t||{}).fontSize||this.getFontSize(),a=t.font||this.getFont(),o=t.scaleFactor||this.internal.scaleFactor,i=0,s=0,c=0,l=this;if(!Array.isArray(e)&&"string"!=typeof e){if("number"!=typeof e)throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");e=String(e)}const u=t.maxWidth;u>0?"string"==typeof e?e=this.splitTextToSize(e,u):"[object Array]"===Object.prototype.toString.call(e)&&(e=e.reduce(function(e,t){return e.concat(l.splitTextToSize(t,u))},[])):e=Array.isArray(e)?e:[e];for(var f=0;f<e.length;f++)i<(c=this.getStringUnitWidth(e[f],{font:a})*r)&&(i=c);return 0!==i&&(s=e.length),{w:i/=o,h:Math.max((s*r*this.getLineHeightFactor()-r*(this.getLineHeightFactor()-1))/o,0)}},e.cellAddPage=function(){n.call(this),this.addPage();var e=this.internal.__cell__.margins||t;return this.internal.__cell__.lastCell=new o(e.left,e.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var i=e.cell=function(){var e;e=arguments[0]instanceof o?arguments[0]:new o(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),n.call(this);var a=this.internal.__cell__.lastCell,i=this.internal.__cell__.padding,s=this.internal.__cell__.margins||t,c=this.internal.__cell__.tableHeaderRow,l=this.internal.__cell__.printHeaders;return void 0!==a.lineNumber&&(a.lineNumber===e.lineNumber?(e.x=(a.x||0)+(a.width||0),e.y=a.y||0):a.y+a.height+e.height+s.bottom>this.getPageHeight()?(this.cellAddPage(),e.y=s.top,l&&c&&(this.printHeaderRow(e.lineNumber,!0),e.y+=c[0].height)):e.y=a.y+a.height||e.y),void 0!==e.text[0]&&(this.rect(e.x,e.y,e.width,e.height,!0===r?"FD":void 0),"right"===e.align?this.text(e.text,e.x+e.width-i,e.y+i,{align:"right",baseline:"top"}):"center"===e.align?this.text(e.text,e.x+e.width/2,e.y+i,{align:"center",baseline:"top",maxWidth:e.width-i-i}):this.text(e.text,e.x+i,e.y+i,{align:"left",baseline:"top",maxWidth:e.width-i-i})),this.internal.__cell__.lastCell=e,this};e.table=function(e,r,c,l,u){if(n.call(this),!c)throw new Error("No data for PDF table.");var f,h,d,p,g=[],m=[],v=[],b={},y={},w=[],S=[],x=(u=u||{}).autoSize||!1,k=!1!==u.printHeaders,A=u.css&&void 0!==u.css["font-size"]?16*u.css["font-size"]:u.fontSize||12,T=u.margins||Object.assign({width:this.getPageWidth()},t),E="number"==typeof u.padding?u.padding:3,_=u.headerBackgroundColor||"#c8c8c8";if(a.call(this),this.internal.__cell__.printHeaders=k,this.internal.__cell__.margins=T,this.internal.__cell__.table_font_size=A,this.internal.__cell__.padding=E,this.internal.__cell__.headerBackgroundColor=_,this.setFontSize(A),null==l)m=g=Object.keys(c[0]),v=g.map(function(){return"left"});else if(Array.isArray(l)&&"object"==typeof l[0])for(g=l.map(function(e){return e.name}),m=l.map(function(e){return e.prompt||e.name||""}),v=l.map(function(e){return e.align||"left"}),f=0;f<l.length;f+=1)y[l[f].name]=l[f].width*(19.049976/25.4);else Array.isArray(l)&&"string"==typeof l[0]&&(m=g=l,v=g.map(function(){return"left"}));if(x||Array.isArray(l)&&"string"==typeof l[0])for(f=0;f<g.length;f+=1){for(b[p=g[f]]=c.map(function(e){return e[p]}),this.setFont(void 0,"bold"),w.push(this.getTextDimensions(m[f],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),h=b[p],this.setFont(void 0,"normal"),d=0;d<h.length;d+=1)w.push(this.getTextDimensions(h[d],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);y[p]=Math.max.apply(null,w)+E+E,w=[]}if(k){var N={};for(f=0;f<g.length;f+=1)N[g[f]]={},N[g[f]].text=m[f],N[g[f]].align=v[f];var C=s.call(this,N,y);S=g.map(function(t){return new o(e,r,y[t],C,N[t].text,void 0,N[t].align)}),this.setTableHeaderRow(S),this.printHeaderRow(1,!1)}var R=l.reduce(function(e,t){return e[t.name]=t.align,e},{});for(f=0;f<c.length;f+=1){var O=s.call(this,c[f],y);for(d=0;d<g.length;d+=1)i.call(this,new o(e,r,y[g[d]],O,c[f][g[d]],f+2,R[g[d]]))}return this.internal.__cell__.table_x=e,this.internal.__cell__.table_y=r,this};var s=function(e,t){var r=this.internal.__cell__.padding,n=this.internal.__cell__.table_font_size,a=this.internal.scaleFactor;return Object.keys(e).map(function(n){var a=e[n];return this.splitTextToSize(a.hasOwnProperty("text")?a.text:a,t[n]-r-r)},this).map(function(e){return this.getLineHeightFactor()*e.length*n/a+r+r},this).reduce(function(e,t){return Math.max(e,t)},0)};e.setTableHeaderRow=function(e){n.call(this),this.internal.__cell__.tableHeaderRow=e},e.printHeaderRow=function(e,t){if(n.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var a;if(r=!0,"function"==typeof this.internal.__cell__.headerFunction){var s=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new o(s[0],s[1],s[2],s[3],void 0,-1)}this.setFont(void 0,"bold");for(var c=[],l=0;l<this.internal.__cell__.tableHeaderRow.length;l+=1)a=this.internal.__cell__.tableHeaderRow[l].clone(),t&&(a.y=this.internal.__cell__.margins.top||0,c.push(a)),a.lineNumber=e,this.setFillColor(this.internal.__cell__.headerBackgroundColor),i.call(this,a);c.length>0&&this.setTableHeaderRow(c),this.setFont(void 0,"normal"),r=!1}}(L.API);var Se={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},xe=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],ke=we(xe),Ae=[100,200,300,400,500,600,700,800,900],Te=we(Ae);function Ee(e){var t=e.family.replace(/"|'/g,"").toLowerCase(),r=function(e){return Se[e=e||"normal"]?e:"normal"}(e.style),n=function(e){if(!e)return 400;if("number"==typeof e)return e>=100&&e<=900&&e%100==0?e:400;if(/^\d00$/.test(e))return parseInt(e);switch(e){case"bold":return 700;case"normal":default:return 400}}(e.weight),a=function(e){return"number"==typeof ke[e=e||"normal"]?e:"normal"}(e.stretch);return{family:t,style:r,weight:n,stretch:a,src:e.src||[],ref:e.ref||{name:t,style:[a,r,n].join(" ")}}}function _e(e,t,r,n){var a;for(a=r;a>=0&&a<t.length;a+=n)if(e[t[a]])return e[t[a]];for(a=r;a>=0&&a<t.length;a-=n)if(e[t[a]])return e[t[a]]}var Ne={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},Ce={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function Re(e){return[e.stretch,e.style,e.weight,e.family].join(" ")}function Oe(e){return e.trimLeft()}function Le(e,t){for(var r=0;r<e.length;){if(e.charAt(r)===t)return[e.substring(0,r),e.substring(r+1)];r+=1}return null}function Pe(e){var t=e.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return null===t?null:[t[0],e.substring(t[0].length)]}var Ie=["times"];!function(e){var t,r,a,o,i,s,c,l,f,h=function(e){return e=e||{},this.isStrokeTransparent=e.isStrokeTransparent||!1,this.strokeOpacity=e.strokeOpacity||1,this.strokeStyle=e.strokeStyle||"#000000",this.fillStyle=e.fillStyle||"#000000",this.isFillTransparent=e.isFillTransparent||!1,this.fillOpacity=e.fillOpacity||1,this.font=e.font||"10px sans-serif",this.textBaseline=e.textBaseline||"alphabetic",this.textAlign=e.textAlign||"left",this.lineWidth=e.lineWidth||1,this.lineJoin=e.lineJoin||"miter",this.lineCap=e.lineCap||"butt",this.path=e.path||[],this.transform=void 0!==e.transform?e.transform.clone():new l,this.globalCompositeOperation=e.globalCompositeOperation||"normal",this.globalAlpha=e.globalAlpha||1,this.clip_path=e.clip_path||[],this.currentPoint=e.currentPoint||new s,this.miterLimit=e.miterLimit||10,this.lastPoint=e.lastPoint||new s,this.ignoreClearRect="boolean"!=typeof e.ignoreClearRect||e.ignoreClearRect,this};e.events.push(["initialized",function(){this.context2d=new d(this),t=this.internal.f2,r=this.internal.getCoordinateString,a=this.internal.getVerticalCoordinateString,o=this.internal.getHorizontalCoordinate,i=this.internal.getVerticalCoordinate,s=this.internal.Point,c=this.internal.Rectangle,l=this.internal.Matrix,f=new h}]);var d=function(e){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var t=e;Object.defineProperty(this,"pdf",{get:function(){return t}});var r=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return r},set:function(e){r=Boolean(e)}});var n=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return n},set:function(e){n=Boolean(e)}});var a=0;Object.defineProperty(this,"posX",{get:function(){return a},set:function(e){isNaN(e)||(a=e)}});var o=0;Object.defineProperty(this,"posY",{get:function(){return o},set:function(e){isNaN(e)||(o=e)}});var i=!1;Object.defineProperty(this,"autoPaging",{get:function(){return i},set:function(e){i=Boolean(e)}});var s=0;Object.defineProperty(this,"lastBreak",{get:function(){return s},set:function(e){s=e}});var c=[];Object.defineProperty(this,"pageBreaks",{get:function(){return c},set:function(e){c=e}}),Object.defineProperty(this,"ctx",{get:function(){return f},set:function(e){e instanceof h&&(f=e)}}),Object.defineProperty(this,"path",{get:function(){return f.path},set:function(e){f.path=e}});var l=[];Object.defineProperty(this,"ctxStack",{get:function(){return l},set:function(e){l=e}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(e){var t;t=p(e),this.ctx.fillStyle=t.style,this.ctx.isFillTransparent=0===t.a,this.ctx.fillOpacity=t.a,this.pdf.setFillColor(t.r,t.g,t.b,{a:t.a}),this.pdf.setTextColor(t.r,t.g,t.b,{a:t.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(e){var t=p(e);this.ctx.strokeStyle=t.style,this.ctx.isStrokeTransparent=0===t.a,this.ctx.strokeOpacity=t.a,0===t.a?this.pdf.setDrawColor(255,255,255):(t.a,this.pdf.setDrawColor(t.r,t.g,t.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(e){-1!==["butt","round","square"].indexOf(e)&&(this.ctx.lineCap=e,this.pdf.setLineCap(e))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(e){isNaN(e)||(this.ctx.lineWidth=e,this.pdf.setLineWidth(e))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(e){-1!==["bevel","round","miter"].indexOf(e)&&(this.ctx.lineJoin=e,this.pdf.setLineJoin(e))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(e){isNaN(e)||(this.ctx.miterLimit=e,this.pdf.setMiterLimit(e))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(e){this.ctx.textBaseline=e}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(e){-1!==["right","end","center","left","start"].indexOf(e)&&(this.ctx.textAlign=e)}});var u=null;function d(e,t){if(null===u){var r=function(e){var t=[];return Object.keys(e).forEach(function(r){e[r].forEach(function(e){var n=null;switch(e){case"bold":n={family:r,weight:"bold"};break;case"italic":n={family:r,style:"italic"};break;case"bolditalic":n={family:r,weight:"bold",style:"italic"};break;case"":case"normal":n={family:r}}null!==n&&(n.ref={name:r,style:e},t.push(n))})}),t}(e.getFontList());u=function(e){for(var t={},r=0;r<e.length;++r){var n=Ee(e[r]),a=n.family,o=n.stretch,i=n.style,s=n.weight;t[a]=t[a]||{},t[a][o]=t[a][o]||{},t[a][o][i]=t[a][o][i]||{},t[a][o][i][s]=n}return t}(r.concat(t))}return u}var g=null;Object.defineProperty(this,"fontFaces",{get:function(){return g},set:function(e){u=null,g=e}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(e){var t;if(this.ctx.font=e,null!==(t=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z]+?)\s*$/i.exec(e))){var r=t[1],n=(t[2],t[3]),a=t[4],o=(t[5],t[6]),i=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(a)[2];a="px"===i?Math.floor(parseFloat(a)*this.pdf.internal.scaleFactor):"em"===i?Math.floor(parseFloat(a)*this.pdf.getFontSize()):Math.floor(parseFloat(a)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(a);var s=function(e){var t,r,n=[],a=o.trim();if(""===a)return Ie;if(a in Ce)return[Ce[a]];for(;""!==a;){switch(r=null,t=(a=Oe(a)).charAt(0)){case'"':case"'":r=Le(a.substring(1),t);break;default:r=Pe(a)}if(null===r)return Ie;if(n.push(r[0]),""!==(a=Oe(r[1]))&&","!==a.charAt(0))return Ie;a=a.replace(/^,/,"")}return n}();if(this.fontFaces){var c=function(e,t,r){for(var n=(r=r||{}).defaultFontFamily||"times",a=Object.assign({},Ne,r.genericFontFamilies||{}),o=null,i=null,s=0;s<t.length;++s)if(a[(o=Ee(t[s])).family]&&(o.family=a[o.family]),e.hasOwnProperty(o.family)){i=e[o.family];break}if(!(i=i||e[n]))throw new Error("Could not find a font-family for the rule '"+Re(o)+"' and default family '"+n+"'.");if(i=function(e,t){if(t[e])return t[e];var r=ke[e],n=r<=ke.normal?-1:1,a=_e(t,xe,r,n);if(!a)throw new Error("Could not find a matching font-stretch value for "+e);return a}(o.stretch,i),i=function(e,t){if(t[e])return t[e];for(var r=Se[e],n=0;n<r.length;++n)if(t[r[n]])return t[r[n]];throw new Error("Could not find a matching font-style for "+e)}(o.style,i),!(i=function(e,t){if(t[e])return t[e];if(400===e&&t[500])return t[500];if(500===e&&t[400])return t[400];var r=Te[e],n=_e(t,Ae,r,e<400?-1:1);if(!n)throw new Error("Could not find a matching font-weight for value "+e);return n}(o.weight,i)))throw new Error("Failed to resolve a font for the rule '"+Re(o)+"'.");return i}(d(this.pdf,this.fontFaces),s.map(function(e){return{family:e,stretch:"normal",weight:n,style:r}}));this.pdf.setFont(c.ref.name,c.ref.style)}else{var l="";("bold"===n||parseInt(n,10)>=700||"bold"===r)&&(l="bold"),"italic"===r&&(l+="italic"),0===l.length&&(l="normal");for(var u="",f={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},h=0;h<s.length;h++){if(void 0!==this.pdf.internal.getFont(s[h],l,{noFallback:!0,disableWarning:!0})){u=s[h];break}if("bolditalic"===l&&void 0!==this.pdf.internal.getFont(s[h],"bold",{noFallback:!0,disableWarning:!0}))u=s[h],l="bold";else if(void 0!==this.pdf.internal.getFont(s[h],"normal",{noFallback:!0,disableWarning:!0})){u=s[h],l="normal";break}}if(""===u)for(var p=0;p<s.length;p++)if(f[s[p]]){u=f[s[p]];break}u=""===u?"Times":u,this.pdf.setFont(u,l)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(e){this.ctx.globalCompositeOperation=e}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(e){this.ctx.globalAlpha=e}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(e){this.ctx.ignoreClearRect=Boolean(e)}})};d.prototype.fill=function(){S.call(this,"fill",!1)},d.prototype.stroke=function(){S.call(this,"stroke",!1)},d.prototype.beginPath=function(){this.path=[{type:"begin"}]},d.prototype.moveTo=function(e,t){if(isNaN(e)||isNaN(t))throw n.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var r=this.ctx.transform.applyToPoint(new s(e,t));this.path.push({type:"mt",x:r.x,y:r.y}),this.ctx.lastPoint=new s(e,t)},d.prototype.closePath=function(){var e=new s(0,0),t=0;for(t=this.path.length-1;-1!==t;t--)if("begin"===this.path[t].type&&"object"==typeof this.path[t+1]&&"number"==typeof this.path[t+1].x){e=new s(this.path[t+1].x,this.path[t+1].y),this.path.push({type:"lt",x:e.x,y:e.y});break}"object"==typeof this.path[t+2]&&"number"==typeof this.path[t+2].x&&this.path.push(JSON.parse(JSON.stringify(this.path[t+2]))),this.path.push({type:"close"}),this.ctx.lastPoint=new s(e.x,e.y)},d.prototype.lineTo=function(e,t){if(isNaN(e)||isNaN(t))throw n.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var r=this.ctx.transform.applyToPoint(new s(e,t));this.path.push({type:"lt",x:r.x,y:r.y}),this.ctx.lastPoint=new s(r.x,r.y)},d.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),S.call(this,null,!0)},d.prototype.quadraticCurveTo=function(e,t,r,a){if(isNaN(r)||isNaN(a)||isNaN(e)||isNaN(t))throw n.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var o=this.ctx.transform.applyToPoint(new s(r,a)),i=this.ctx.transform.applyToPoint(new s(e,t));this.path.push({type:"qct",x1:i.x,y1:i.y,x:o.x,y:o.y}),this.ctx.lastPoint=new s(o.x,o.y)},d.prototype.bezierCurveTo=function(e,t,r,a,o,i){if(isNaN(o)||isNaN(i)||isNaN(e)||isNaN(t)||isNaN(r)||isNaN(a))throw n.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var c=this.ctx.transform.applyToPoint(new s(o,i)),l=this.ctx.transform.applyToPoint(new s(e,t)),u=this.ctx.transform.applyToPoint(new s(r,a));this.path.push({type:"bct",x1:l.x,y1:l.y,x2:u.x,y2:u.y,x:c.x,y:c.y}),this.ctx.lastPoint=new s(c.x,c.y)},d.prototype.arc=function(e,t,r,a,o,i){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(a)||isNaN(o))throw n.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(i=Boolean(i),!this.ctx.transform.isIdentity){var c=this.ctx.transform.applyToPoint(new s(e,t));e=c.x,t=c.y;var l=this.ctx.transform.applyToPoint(new s(0,r)),u=this.ctx.transform.applyToPoint(new s(0,0));r=Math.sqrt(Math.pow(l.x-u.x,2)+Math.pow(l.y-u.y,2))}Math.abs(o-a)>=2*Math.PI&&(a=0,o=2*Math.PI),this.path.push({type:"arc",x:e,y:t,radius:r,startAngle:a,endAngle:o,counterclockwise:i})},d.prototype.arcTo=function(e,t,r,n,a){throw new Error("arcTo not implemented.")},d.prototype.rect=function(e,t,r,a){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(a))throw n.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(e,t),this.lineTo(e+r,t),this.lineTo(e+r,t+a),this.lineTo(e,t+a),this.lineTo(e,t),this.lineTo(e+r,t),this.lineTo(e,t)},d.prototype.fillRect=function(e,t,r,a){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(a))throw n.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!g.call(this)){var o={};"butt"!==this.lineCap&&(o.lineCap=this.lineCap,this.lineCap="butt"),"miter"!==this.lineJoin&&(o.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(e,t,r,a),this.fill(),o.hasOwnProperty("lineCap")&&(this.lineCap=o.lineCap),o.hasOwnProperty("lineJoin")&&(this.lineJoin=o.lineJoin)}},d.prototype.strokeRect=function(e,t,r,a){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(a))throw n.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");m.call(this)||(this.beginPath(),this.rect(e,t,r,a),this.stroke())},d.prototype.clearRect=function(e,t,r,a){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(a))throw n.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(e,t,r,a))},d.prototype.save=function(e){e="boolean"!=typeof e||e;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,r=0;r<this.pdf.internal.getNumberOfPages();r++)this.pdf.setPage(r+1),this.pdf.internal.out("q");if(this.pdf.setPage(t),e){this.ctx.fontSize=this.pdf.internal.getFontSize();var n=new h(this.ctx);this.ctxStack.push(this.ctx),this.ctx=n}},d.prototype.restore=function(e){e="boolean"!=typeof e||e;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,r=0;r<this.pdf.internal.getNumberOfPages();r++)this.pdf.setPage(r+1),this.pdf.internal.out("Q");this.pdf.setPage(t),e&&0!==this.ctxStack.length&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin)},d.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var p=function(e){var t,r,n,a;if(!0===e.isCanvasGradient&&(e=e.getColor()),!e)return{r:0,g:0,b:0,a:0,style:e};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(e))t=0,r=0,n=0,a=0;else{var o=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(e);if(null!==o)t=parseInt(o[1]),r=parseInt(o[2]),n=parseInt(o[3]),a=1;else if(null!==(o=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(e)))t=parseInt(o[1]),r=parseInt(o[2]),n=parseInt(o[3]),a=parseFloat(o[4]);else{if(a=1,"string"==typeof e&&"#"!==e.charAt(0)){var i=new u(e);e=i.ok?i.toHex():"#000000"}4===e.length?(t=e.substring(1,2),t+=t,r=e.substring(2,3),r+=r,n=e.substring(3,4),n+=n):(t=e.substring(1,3),r=e.substring(3,5),n=e.substring(5,7)),t=parseInt(t,16),r=parseInt(r,16),n=parseInt(n,16)}}return{r:t,g:r,b:n,a:a,style:e}},g=function(){return this.ctx.isFillTransparent||0==this.globalAlpha},m=function(){return Boolean(this.ctx.isStrokeTransparent||0==this.globalAlpha)};d.prototype.fillText=function(e,t,r,a){if(isNaN(t)||isNaN(r)||"string"!=typeof e)throw n.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(a=isNaN(a)?void 0:a,!g.call(this)){r=k.call(this,r);var o=I(this.ctx.transform.rotation),i=this.ctx.transform.scaleX;N.call(this,{text:e,x:t,y:r,scale:i,angle:o,align:this.textAlign,maxWidth:a})}},d.prototype.strokeText=function(e,t,r,a){if(isNaN(t)||isNaN(r)||"string"!=typeof e)throw n.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!m.call(this)){a=isNaN(a)?void 0:a,r=k.call(this,r);var o=I(this.ctx.transform.rotation),i=this.ctx.transform.scaleX;N.call(this,{text:e,x:t,y:r,scale:i,renderingMode:"stroke",angle:o,align:this.textAlign,maxWidth:a})}},d.prototype.measureText=function(e){if("string"!=typeof e)throw n.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var t=this.pdf,r=this.pdf.internal.scaleFactor,a=t.internal.getFontSize(),o=t.getStringUnitWidth(e)*a/t.internal.scaleFactor;return new function(e){var t=(e=e||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return t}}),this}({width:o*=Math.round(96*r/72*1e4)/1e4})},d.prototype.scale=function(e,t){if(isNaN(e)||isNaN(t))throw n.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var r=new l(e,0,0,t,0,0);this.ctx.transform=this.ctx.transform.multiply(r)},d.prototype.rotate=function(e){if(isNaN(e))throw n.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var t=new l(Math.cos(e),Math.sin(e),-Math.sin(e),Math.cos(e),0,0);this.ctx.transform=this.ctx.transform.multiply(t)},d.prototype.translate=function(e,t){if(isNaN(e)||isNaN(t))throw n.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var r=new l(1,0,0,1,e,t);this.ctx.transform=this.ctx.transform.multiply(r)},d.prototype.transform=function(e,t,r,a,o,i){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(a)||isNaN(o)||isNaN(i))throw n.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var s=new l(e,t,r,a,o,i);this.ctx.transform=this.ctx.transform.multiply(s)},d.prototype.setTransform=function(e,t,r,n,a,o){e=isNaN(e)?1:e,t=isNaN(t)?0:t,r=isNaN(r)?0:r,n=isNaN(n)?1:n,a=isNaN(a)?0:a,o=isNaN(o)?0:o,this.ctx.transform=new l(e,t,r,n,a,o)},d.prototype.drawImage=function(e,t,r,n,a,o,i,s,u){var f=this.pdf.getImageProperties(e),h=1,d=1,p=1,g=1;void 0!==n&&void 0!==s&&(p=s/n,g=u/a,h=f.width/n*s/n,d=f.height/a*u/a),void 0===o&&(o=t,i=r,t=0,r=0),void 0!==n&&void 0===s&&(s=n,u=a),void 0===n&&void 0===s&&(s=f.width,u=f.height);for(var m,b=this.ctx.transform.decompose(),S=I(b.rotate.shx),k=new l,A=(k=(k=(k=k.multiply(b.translate)).multiply(b.skew)).multiply(b.scale)).applyToRectangle(new c(o-t*p,i-r*g,n*h,a*d)),T=v.call(this,A),E=[],_=0;_<T.length;_+=1)-1===E.indexOf(T[_])&&E.push(T[_]);if(w(E),this.autoPaging)for(var N=E[0],C=E[E.length-1],R=N;R<C+1;R++){if(this.pdf.setPage(R),0!==this.ctx.clip_path.length){var O=this.path;m=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=y(m,this.posX,-1*this.pdf.internal.pageSize.height*(R-1)+this.posY),x.call(this,"fill",!0),this.path=O}var L=JSON.parse(JSON.stringify(A));L=y([L],this.posX,-1*this.pdf.internal.pageSize.height*(R-1)+this.posY)[0],this.pdf.addImage(e,"JPEG",L.x,L.y,L.w,L.h,null,null,S)}else this.pdf.addImage(e,"JPEG",A.x,A.y,A.w,A.h,null,null,S)};var v=function(e,t,r){var n=[];switch(t=t||this.pdf.internal.pageSize.width,r=r||this.pdf.internal.pageSize.height,e.type){default:case"mt":case"lt":n.push(Math.floor((e.y+this.posY)/r)+1);break;case"arc":n.push(Math.floor((e.y+this.posY-e.radius)/r)+1),n.push(Math.floor((e.y+this.posY+e.radius)/r)+1);break;case"qct":var a=F(this.ctx.lastPoint.x,this.ctx.lastPoint.y,e.x1,e.y1,e.x,e.y);n.push(Math.floor(a.y/r)+1),n.push(Math.floor((a.y+a.h)/r)+1);break;case"bct":var o=D(this.ctx.lastPoint.x,this.ctx.lastPoint.y,e.x1,e.y1,e.x2,e.y2,e.x,e.y);n.push(Math.floor(o.y/r)+1),n.push(Math.floor((o.y+o.h)/r)+1);break;case"rect":n.push(Math.floor((e.y+this.posY)/r)+1),n.push(Math.floor((e.y+e.h+this.posY)/r)+1)}for(var i=0;i<n.length;i+=1)for(;this.pdf.internal.getNumberOfPages()<n[i];)b.call(this);return n},b=function(){var e=this.fillStyle,t=this.strokeStyle,r=this.font,n=this.lineCap,a=this.lineWidth,o=this.lineJoin;this.pdf.addPage(),this.fillStyle=e,this.strokeStyle=t,this.font=r,this.lineCap=n,this.lineWidth=a,this.lineJoin=o},y=function(e,t,r){for(var n=0;n<e.length;n++)switch(e[n].type){case"bct":e[n].x2+=t,e[n].y2+=r;case"qct":e[n].x1+=t,e[n].y1+=r;case"mt":case"lt":case"arc":default:e[n].x+=t,e[n].y+=r}return e},w=function(e){return e.sort(function(e,t){return e-t})},S=function(e,t){for(var r,n,a=this.fillStyle,o=this.strokeStyle,i=this.lineCap,s=this.lineWidth,c=s*this.ctx.transform.scaleX,l=this.lineJoin,u=JSON.parse(JSON.stringify(this.path)),f=JSON.parse(JSON.stringify(this.path)),h=[],d=0;d<f.length;d++)if(void 0!==f[d].x)for(var p=v.call(this,f[d]),g=0;g<p.length;g+=1)-1===h.indexOf(p[g])&&h.push(p[g]);for(var m=0;m<h.length;m++)for(;this.pdf.internal.getNumberOfPages()<h[m];)b.call(this);if(w(h),this.autoPaging)for(var S=h[0],k=h[h.length-1],A=S;A<k+1;A++){if(this.pdf.setPage(A),this.fillStyle=a,this.strokeStyle=o,this.lineCap=i,this.lineWidth=c,this.lineJoin=l,0!==this.ctx.clip_path.length){var T=this.path;r=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=y(r,this.posX,-1*this.pdf.internal.pageSize.height*(A-1)+this.posY),x.call(this,e,!0),this.path=T}n=JSON.parse(JSON.stringify(u)),this.path=y(n,this.posX,-1*this.pdf.internal.pageSize.height*(A-1)+this.posY),!1!==t&&0!==A||x.call(this,e,t),this.lineWidth=s}else this.lineWidth=c,x.call(this,e,t),this.lineWidth=s;this.path=u},x=function(e,t){if(("stroke"!==e||t||!m.call(this))&&("stroke"===e||t||!g.call(this))){for(var r,n,a=[],o=this.path,i=0;i<o.length;i++){var s=o[i];switch(s.type){case"begin":a.push({begin:!0});break;case"close":a.push({close:!0});break;case"mt":a.push({start:s,deltas:[],abs:[]});break;case"lt":var c=a.length;if(!isNaN(o[i-1].x)&&(r=[s.x-o[i-1].x,s.y-o[i-1].y],c>0))for(;c>=0;c--)if(!0!==a[c-1].close&&!0!==a[c-1].begin){a[c-1].deltas.push(r),a[c-1].abs.push(s);break}break;case"bct":r=[s.x1-o[i-1].x,s.y1-o[i-1].y,s.x2-o[i-1].x,s.y2-o[i-1].y,s.x-o[i-1].x,s.y-o[i-1].y],a[a.length-1].deltas.push(r);break;case"qct":var l=o[i-1].x+2/3*(s.x1-o[i-1].x),u=o[i-1].y+2/3*(s.y1-o[i-1].y),f=s.x+2/3*(s.x1-s.x),h=s.y+2/3*(s.y1-s.y),d=s.x,p=s.y;r=[l-o[i-1].x,u-o[i-1].y,f-o[i-1].x,h-o[i-1].y,d-o[i-1].x,p-o[i-1].y],a[a.length-1].deltas.push(r);break;case"arc":a.push({deltas:[],abs:[],arc:!0}),Array.isArray(a[a.length-1].abs)&&a[a.length-1].abs.push(s)}}n=t?null:"stroke"===e?"stroke":"fill";for(var v=0;v<a.length;v++){if(a[v].arc){for(var b=a[v].abs,y=0;y<b.length;y++){var w=b[y];"arc"===w.type?A.call(this,w.x,w.y,w.radius,w.startAngle,w.endAngle,w.counterclockwise,void 0,t):C.call(this,w.x,w.y)}T.call(this,n),this.pdf.internal.out("h")}if(!a[v].arc&&!0!==a[v].close&&!0!==a[v].begin){var S=a[v].start.x,x=a[v].start.y;R.call(this,a[v].deltas,S,x)}}n&&T.call(this,n),t&&E.call(this)}},k=function(e){var t=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,r=t*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return e-r;case"top":return e+t-r;case"hanging":return e+t-2*r;case"middle":return e+t/2-r;case"ideographic":return e;case"alphabetic":default:return e}};d.prototype.createLinearGradient=function(){var e=function(){};return e.colorStops=[],e.addColorStop=function(e,t){this.colorStops.push([e,t])},e.getColor=function(){return 0===this.colorStops.length?"#000000":this.colorStops[0][1]},e.isCanvasGradient=!0,e},d.prototype.createPattern=function(){return this.createLinearGradient()},d.prototype.createRadialGradient=function(){return this.createLinearGradient()};var A=function(e,t,r,n,a,o,i,s){for(var c=L.call(this,r,n,a,o),l=0;l<c.length;l++){var u=c[l];0===l&&_.call(this,u.x1+e,u.y1+t),O.call(this,e,t,u.x2,u.y2,u.x3,u.y3,u.x4,u.y4)}s?E.call(this):T.call(this,i)},T=function(e){switch(e){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},E=function(){this.pdf.clip(),this.pdf.discardPath()},_=function(e,t){this.pdf.internal.out(r(e)+" "+a(t)+" m")},N=function(e){var t;switch(e.align){case"right":case"end":t="right";break;case"center":t="center";break;case"left":case"start":default:t="left"}var r=this.ctx.transform.applyToPoint(new s(e.x,e.y)),n=this.ctx.transform.decompose(),a=new l;a=(a=(a=a.multiply(n.translate)).multiply(n.skew)).multiply(n.scale);for(var o,i,u,f=this.pdf.getTextDimensions(e.text),h=this.ctx.transform.applyToRectangle(new c(e.x,e.y,f.w,f.h)),d=a.applyToRectangle(new c(e.x,e.y-f.h,f.w,f.h)),p=v.call(this,d),g=[],m=0;m<p.length;m+=1)-1===g.indexOf(p[m])&&g.push(p[m]);if(w(g),!0===this.autoPaging)for(var b=g[0],S=g[g.length-1],k=b;k<S+1;k++){if(this.pdf.setPage(k),0!==this.ctx.clip_path.length){var A=this.path;o=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=y(o,this.posX,-1*this.pdf.internal.pageSize.height*(k-1)+this.posY),x.call(this,"fill",!0),this.path=A}var T=JSON.parse(JSON.stringify(h));T=y([T],this.posX,-1*this.pdf.internal.pageSize.height*(k-1)+this.posY)[0],e.scale>=.01&&(i=this.pdf.internal.getFontSize(),this.pdf.setFontSize(i*e.scale),u=this.lineWidth,this.lineWidth=u*e.scale),this.pdf.text(e.text,T.x,T.y,{angle:e.angle,align:t,renderingMode:e.renderingMode,maxWidth:e.maxWidth}),e.scale>=.01&&(this.pdf.setFontSize(i),this.lineWidth=u)}else e.scale>=.01&&(i=this.pdf.internal.getFontSize(),this.pdf.setFontSize(i*e.scale),u=this.lineWidth,this.lineWidth=u*e.scale),this.pdf.text(e.text,r.x+this.posX,r.y+this.posY,{angle:e.angle,align:t,renderingMode:e.renderingMode,maxWidth:e.maxWidth}),e.scale>=.01&&(this.pdf.setFontSize(i),this.lineWidth=u)},C=function(e,t,n,o){n=n||0,o=o||0,this.pdf.internal.out(r(e+n)+" "+a(t+o)+" l")},R=function(e,t,r){return this.pdf.lines(e,t,r,null,null)},O=function(e,r,n,a,s,c,l,u){this.pdf.internal.out([t(o(n+e)),t(i(a+r)),t(o(s+e)),t(i(c+r)),t(o(l+e)),t(i(u+r)),"c"].join(" "))},L=function(e,t,r,n){for(var a=2*Math.PI,o=Math.PI/2;t>r;)t-=a;var i=Math.abs(r-t);i<a&&n&&(i=a-i);for(var s=[],c=n?-1:1,l=t;i>1e-5;){var u=l+c*Math.min(i,o);s.push(P.call(this,e,l,u)),i-=Math.abs(u-l),l=u}return s},P=function(e,t,r){var n=(r-t)/2,a=e*Math.cos(n),o=e*Math.sin(n),i=a,s=-o,c=i*i+s*s,l=c+i*a+s*o,u=4/3*(Math.sqrt(2*c*l)-l)/(i*o-s*a),f=i-u*s,h=s+u*i,d=f,p=-h,g=n+t,m=Math.cos(g),v=Math.sin(g);return{x1:e*Math.cos(t),y1:e*Math.sin(t),x2:f*m-h*v,y2:f*v+h*m,x3:d*m-p*v,y3:d*v+p*m,x4:e*Math.cos(r),y4:e*Math.sin(r)}},I=function(e){return 180*e/Math.PI},F=function(e,t,r,n,a,o){var i=e+.5*(r-e),s=t+.5*(n-t),l=a+.5*(r-a),u=o+.5*(n-o),f=Math.min(e,a,i,l),h=Math.max(e,a,i,l),d=Math.min(t,o,s,u),p=Math.max(t,o,s,u);return new c(f,d,h-f,p-d)},D=function(e,t,r,n,a,o,i,s){var l,u,f,h,d,p,g,m,v,b,y,w,S,x,k=r-e,A=n-t,T=a-r,E=o-n,_=i-a,N=s-o;for(u=0;u<41;u++)v=(g=(f=e+(l=u/40)*k)+l*((d=r+l*T)-f))+l*(d+l*(a+l*_-d)-g),b=(m=(h=t+l*A)+l*((p=n+l*E)-h))+l*(p+l*(o+l*N-p)-m),0==u?(y=v,w=b,S=v,x=b):(y=Math.min(y,v),w=Math.min(w,b),S=Math.max(S,v),x=Math.max(x,b));return new c(Math.round(y),Math.round(w),Math.round(S-y),Math.round(x-w))}}(L.API);try{require("worker_threads").Worker}catch(e){}var Fe=Uint8Array,De=Uint16Array,Me=Uint32Array,je=new Fe([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),Be=new Fe([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),We=new Fe([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Ue=function(e,t){for(var r=new De(31),n=0;n<31;++n)r[n]=t+=1<<e[n-1];var a=new Me(r[30]);for(n=1;n<30;++n)for(var o=r[n];o<r[n+1];++o)a[o]=o-r[n]<<5|n;return[r,a]},ze=Ue(je,2),He=ze[0],Ve=ze[1];He[28]=258,Ve[258]=28;for(var qe=Ue(Be,0),$e=qe[0],Ge=qe[1],Xe=new De(32768),Ye=0;Ye<32768;++Ye){var Ke=(43690&Ye)>>>1|(21845&Ye)<<1;Ke=(61680&(Ke=(52428&Ke)>>>2|(13107&Ke)<<2))>>>4|(3855&Ke)<<4,Xe[Ye]=((65280&Ke)>>>8|(255&Ke)<<8)>>>1}var Je=function(e,t,r){for(var n=e.length,a=0,o=new De(t);a<n;++a)++o[e[a]-1];var i,s=new De(t);for(a=0;a<t;++a)s[a]=s[a-1]+o[a-1]<<1;if(r){i=new De(1<<t);var c=15-t;for(a=0;a<n;++a)if(e[a])for(var l=a<<4|e[a],u=t-e[a],f=s[e[a]-1]++<<u,h=f|(1<<u)-1;f<=h;++f)i[Xe[f]>>>c]=l}else for(i=new De(n),a=0;a<n;++a)i[a]=Xe[s[e[a]-1]++]>>>15-e[a];return i},Ze=new Fe(288);for(Ye=0;Ye<144;++Ye)Ze[Ye]=8;for(Ye=144;Ye<256;++Ye)Ze[Ye]=9;for(Ye=256;Ye<280;++Ye)Ze[Ye]=7;for(Ye=280;Ye<288;++Ye)Ze[Ye]=8;var Qe=new Fe(32);for(Ye=0;Ye<32;++Ye)Qe[Ye]=5;var et=Je(Ze,9,0),tt=Je(Ze,9,1),rt=Je(Qe,5,0),nt=Je(Qe,5,1),at=function(e){for(var t=e[0],r=1;r<e.length;++r)e[r]>t&&(t=e[r]);return t},ot=function(e,t,r){var n=t/8>>0;return(e[n]|e[n+1]<<8)>>>(7&t)&r},it=function(e,t){var r=t/8>>0;return(e[r]|e[r+1]<<8|e[r+2]<<16)>>>(7&t)},st=function(e){return(e/8>>0)+(7&e&&1)},ct=function(e,t,r){(null==t||t<0)&&(t=0),(null==r||r>e.length)&&(r=e.length);var n=new(e instanceof De?De:e instanceof Me?Me:Fe)(r-t);return n.set(e.subarray(t,r)),n},lt=function(e,t,r){r<<=7&t;var n=t/8>>0;e[n]|=r,e[n+1]|=r>>>8},ut=function(e,t,r){r<<=7&t;var n=t/8>>0;e[n]|=r,e[n+1]|=r>>>8,e[n+2]|=r>>>16},ft=function(e,t){for(var r=[],n=0;n<e.length;++n)e[n]&&r.push({s:n,f:e[n]});var a=r.length,o=r.slice();if(!a)return[new Fe(0),0];if(1==a){var i=new Fe(r[0].s+1);return i[r[0].s]=1,[i,1]}r.sort(function(e,t){return e.f-t.f}),r.push({s:-1,f:25001});var s=r[0],c=r[1],l=0,u=1,f=2;for(r[0]={s:-1,f:s.f+c.f,l:s,r:c};u!=a-1;)s=r[r[l].f<r[f].f?l++:f++],c=r[l!=u&&r[l].f<r[f].f?l++:f++],r[u++]={s:-1,f:s.f+c.f,l:s,r:c};var h=o[0].s;for(n=1;n<a;++n)o[n].s>h&&(h=o[n].s);var d=new De(h+1),p=ht(r[u-1],d,0);if(p>t){n=0;var g=0,m=p-t,v=1<<m;for(o.sort(function(e,t){return d[t.s]-d[e.s]||e.f-t.f});n<a;++n){var b=o[n].s;if(!(d[b]>t))break;g+=v-(1<<p-d[b]),d[b]=t}for(g>>>=m;g>0;){var y=o[n].s;d[y]<t?g-=1<<t-d[y]++-1:++n}for(;n>=0&&g;--n){var w=o[n].s;d[w]==t&&(--d[w],++g)}p=t}return[new Fe(d),p]},ht=function(e,t,r){return-1==e.s?Math.max(ht(e.l,t,r+1),ht(e.r,t,r+1)):t[e.s]=r},dt=function(e){for(var t=e.length;t&&!e[--t];);for(var r=new De(++t),n=0,a=e[0],o=1,i=function(e){r[n++]=e},s=1;s<=t;++s)if(e[s]==a&&s!=t)++o;else{if(!a&&o>2){for(;o>138;o-=138)i(32754);o>2&&(i(o>10?o-11<<5|28690:o-3<<5|12305),o=0)}else if(o>3){for(i(a),--o;o>6;o-=6)i(8304);o>2&&(i(o-3<<5|8208),o=0)}for(;o--;)i(a);o=1,a=e[s]}return[r.subarray(0,n),t]},pt=function(e,t){for(var r=0,n=0;n<t.length;++n)r+=e[n]*t[n];return r},gt=function(e,t,r){var n=r.length,a=st(t+2);e[a]=255&n,e[a+1]=n>>>8,e[a+2]=255^e[a],e[a+3]=255^e[a+1];for(var o=0;o<n;++o)e[a+o+4]=r[o];return 8*(a+4+n)},mt=function(e,t,r,n,a,o,i,s,c,l,u){lt(t,u++,r),++a[256];for(var f=ft(a,15),h=f[0],d=f[1],p=ft(o,15),g=p[0],m=p[1],v=dt(h),b=v[0],y=v[1],w=dt(g),S=w[0],x=w[1],k=new De(19),A=0;A<b.length;++A)k[31&b[A]]++;for(A=0;A<S.length;++A)k[31&S[A]]++;for(var T=ft(k,7),E=T[0],_=T[1],N=19;N>4&&!E[We[N-1]];--N);var C,R,O,L,P=l+5<<3,I=pt(a,Ze)+pt(o,Qe)+i,F=pt(a,h)+pt(o,g)+i+14+3*N+pt(k,E)+(2*k[16]+3*k[17]+7*k[18]);if(P<=I&&P<=F)return gt(t,u,e.subarray(c,c+l));if(lt(t,u,1+(F<I)),u+=2,F<I){C=Je(h,d,0),R=h,O=Je(g,m,0),L=g;var D=Je(E,_,0);for(lt(t,u,y-257),lt(t,u+5,x-1),lt(t,u+10,N-4),u+=14,A=0;A<N;++A)lt(t,u+3*A,E[We[A]]);u+=3*N;for(var M=[b,S],j=0;j<2;++j){var B=M[j];for(A=0;A<B.length;++A){var W=31&B[A];lt(t,u,D[W]),u+=E[W],W>15&&(lt(t,u,B[A]>>>5&127),u+=B[A]>>>12)}}}else C=et,R=Ze,O=rt,L=Qe;for(A=0;A<s;++A)if(n[A]>255){W=n[A]>>>18&31,ut(t,u,C[W+257]),u+=R[W+257],W>7&&(lt(t,u,n[A]>>>23&31),u+=je[W]);var U=31&n[A];ut(t,u,O[U]),u+=L[U],U>3&&(ut(t,u,n[A]>>>5&8191),u+=Be[U])}else ut(t,u,C[n[A]]),u+=R[n[A]];return ut(t,u,C[256]),u+R[256]},vt=new Me([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),bt=new Fe(0),yt=function(e,t,r,n,a){return function(e,t,r,n,a,o){var i=e.length,s=new Fe(n+i+5*(1+Math.floor(i/7e3))+a),c=s.subarray(n,s.length-a),l=0;if(!t||i<8)for(var u=0;u<=i;u+=65535){var f=u+65535;f<i?l=gt(c,l,e.subarray(u,f)):(c[u]=o,l=gt(c,l,e.subarray(u,i)))}else{for(var h=vt[t-1],d=h>>>13,p=8191&h,g=(1<<r)-1,m=new De(32768),v=new De(g+1),b=Math.ceil(r/3),y=2*b,w=function(t){return(e[t]^e[t+1]<<b^e[t+2]<<y)&g},S=new Me(25e3),x=new De(288),k=new De(32),A=0,T=0,E=(u=0,0),_=0,N=0;u<i;++u){var C=w(u),R=32767&u,O=v[C];if(m[R]=O,v[C]=R,_<=u){var L=i-u;if((A>7e3||E>24576)&&L>423){l=mt(e,c,0,S,x,k,T,E,N,u-N,l),E=A=T=0,N=u;for(var P=0;P<286;++P)x[P]=0;for(P=0;P<30;++P)k[P]=0}var I=2,F=0,D=p,M=R-O&32767;if(L>2&&C==w(u-M))for(var j=Math.min(d,L)-1,B=Math.min(32767,u),W=Math.min(258,L);M<=B&&--D&&R!=O;){if(e[u+I]==e[u+I-M]){for(var U=0;U<W&&e[u+U]==e[u+U-M];++U);if(U>I){if(I=U,F=M,U>j)break;var z=Math.min(M,U-2),H=0;for(P=0;P<z;++P){var V=u-M+P+32768&32767,q=V-m[V]+32768&32767;q>H&&(H=q,O=V)}}}M+=(R=O)-(O=m[R])+32768&32767}if(F){S[E++]=268435456|Ve[I]<<18|Ge[F];var $=31&Ve[I],G=31&Ge[F];T+=je[$]+Be[G],++x[257+$],++k[G],_=u+I,++A}else S[E++]=e[u],++x[e[u]]}}l=mt(e,c,o,S,x,k,T,E,N,u-N,l),o||(l=gt(c,l,bt))}return ct(s,0,n+st(l)+a)}(e,null==t.level?6:t.level,null==t.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(e.length)))):12+t.mem,r,n,!a)};function wt(e,t){void 0===t&&(t={});var r=function(){var e=1,t=0;return{p:function(r){for(var n=e,a=t,o=r.length,i=0;i!=o;){for(var s=Math.min(i+5552,o);i<s;++i)a+=n+=r[i];n%=65521,a%=65521}e=n,t=a},d:function(){return(e>>>8<<16|(255&t)<<8|t>>>8)+2*((255&e)<<23)}}}();r.p(e);var n=yt(e,t,2,4);return function(e,t){var r=t.level,n=0==r?0:r<6?1:9==r?3:2;e[0]=120,e[1]=n<<6|(n?32-2*n:1)}(n,t),function(e,t,r){for(;r;++t)e[t]=r,r>>>=8}(n,n.length-4,r.d()),n}!function(e){var t=function(e){var t,r,n,a,o,i,s,c,l,u;for(/[^\x00-\xFF]/.test(e),r=[],n=0,a=(e+=t="\0\0\0\0".slice(e.length%4||4)).length;a>n;n+=4)0!==(o=(e.charCodeAt(n)<<24)+(e.charCodeAt(n+1)<<16)+(e.charCodeAt(n+2)<<8)+e.charCodeAt(n+3))?(i=(o=((o=((o=((o=(o-(u=o%85))/85)-(l=o%85))/85)-(c=o%85))/85)-(s=o%85))/85)%85,r.push(i+33,s+33,c+33,l+33,u+33)):r.push(122);return function(e,t){for(var r=t;r>0;r--)e.pop()}(r,t.length),String.fromCharCode.apply(String,r)+"~>"},r=function(e){var t,r,n,a,o,i=String,s="length",c=255,l="charCodeAt",u="slice",f="replace";for(e[u](-2),e=e[u](0,-2)[f](/\s/g,"")[f]("z","!!!!!"),n=[],a=0,o=(e+=t="uuuuu"[u](e[s]%5||5))[s];o>a;a+=5)r=52200625*(e[l](a)-33)+614125*(e[l](a+1)-33)+7225*(e[l](a+2)-33)+85*(e[l](a+3)-33)+(e[l](a+4)-33),n.push(c&r>>24,c&r>>16,c&r>>8,c&r);return function(e,t){for(var r=t;r>0;r--)e.pop()}(n,t[s]),i.fromCharCode.apply(i,n)},n=function(e){var t=new RegExp(/^([0-9A-Fa-f]{2})+$/);if(-1!==(e=e.replace(/\s/g,"")).indexOf(">")&&(e=e.substr(0,e.indexOf(">"))),e.length%2&&(e+="0"),!1===t.test(e))return"";for(var r="",n=0;n<e.length;n+=2)r+=String.fromCharCode("0x"+(e[n]+e[n+1]));return r},a=function(e){for(var t=new Uint8Array(e.length),r=e.length;r--;)t[r]=e.charCodeAt(r);return(t=wt(t)).reduce(function(e,t){return e+String.fromCharCode(t)},"")};e.processDataByFilters=function(e,o){var i=0,s=e||"",c=[];for("string"==typeof(o=o||[])&&(o=[o]),i=0;i<o.length;i+=1)switch(o[i]){case"ASCII85Decode":case"/ASCII85Decode":s=r(s),c.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":s=t(s),c.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":s=n(s),c.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":s=s.split("").map(function(e){return("0"+e.charCodeAt().toString(16)).slice(-2)}).join("")+">",c.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":s=a(s),c.push("/FlateDecode");break;default:throw new Error('The filter: "'+o[i]+'" is not implemented')}return{data:s,reverseChain:c.reverse().join(" ")}}}(L.API),function(e){e.loadFile=function(e,t,r){return function(e,t,r){t=!1!==t,r="function"==typeof r?r:function(){};var n=void 0;try{n=function(e,t,r){var n=new XMLHttpRequest,a=0,o=function(e){var t=e.length,r=[],n=String.fromCharCode;for(a=0;a<t;a+=1)r.push(n(255&e.charCodeAt(a)));return r.join("")};if(n.open("GET",e,!t),n.overrideMimeType("text/plain; charset=x-user-defined"),!1===t&&(n.onload=function(){200===n.status?r(o(this.responseText)):r(void 0)}),n.send(null),t&&200===n.status)return o(n.responseText)}(e,t,r)}catch(e){}return n}(e,t,r)},e.loadImageFile=e.loadFile}(L.API),function(r){function n(){return(t.html2canvas?Promise.resolve(t.html2canvas):"object"==typeof e&&"undefined"!=typeof module?new Promise(function(e,t){try{e(require("html2canvas"))}catch(e){t(e)}}):"function"==typeof define&&define.amd?new Promise(function(e,t){try{require(["html2canvas"],e)}catch(e){t(e)}}):Promise.reject(new Error("Could not load html2canvas"))).catch(function(e){return Promise.reject(new Error("Could not load html2canvas: "+e))}).then(function(e){return e.default?e.default:e})}function a(){return(t.DOMPurify?Promise.resolve(t.DOMPurify):"object"==typeof e&&"undefined"!=typeof module?new Promise(function(e,t){try{e(require("dompurify"))}catch(e){t(e)}}):"function"==typeof define&&define.amd?new Promise(function(e,t){try{require(["dompurify"],e)}catch(e){t(e)}}):Promise.reject(new Error("Could not load dompurify"))).catch(function(e){return Promise.reject(new Error("Could not load dompurify: "+e))}).then(function(e){return e.default?e.default:e})}var o=function(e){var t=typeof e;return"undefined"===t?"undefined":"string"===t||e instanceof String?"string":"number"===t||e instanceof Number?"number":"function"===t||e instanceof Function?"function":e&&e.constructor===Array?"array":e&&1===e.nodeType?"element":"object"===t?"object":"unknown"},i=function(e,t){var r=document.createElement(e);for(var n in t.className&&(r.className=t.className),t.innerHTML&&t.dompurify&&(r.innerHTML=t.dompurify.sanitize(t.innerHTML)),t.style)r.style[n]=t.style[n];return r},s=function(e,t){for(var r=3===e.nodeType?document.createTextNode(e.nodeValue):e.cloneNode(!1),n=e.firstChild;n;n=n.nextSibling)!0!==t&&1===n.nodeType&&"SCRIPT"===n.nodeName||r.appendChild(s(n,t));return 1===e.nodeType&&("CANVAS"===e.nodeName?(r.width=e.width,r.height=e.height,r.getContext("2d").drawImage(e,0,0)):"TEXTAREA"!==e.nodeName&&"SELECT"!==e.nodeName||(r.value=e.value),r.addEventListener("load",function(){r.scrollTop=e.scrollTop,r.scrollLeft=e.scrollLeft},!0)),r},c=function e(t){var r=Object.assign(e.convert(Promise.resolve()),JSON.parse(JSON.stringify(e.template))),n=e.convert(Promise.resolve(),r);return(n=n.setProgress(1,e,1,[e])).set(t)};(c.prototype=Object.create(Promise.prototype)).constructor=c,c.convert=function(e,t){return e.__proto__=t||c.prototype,e},c.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},c.prototype.from=function(e,t){return this.then(function(){switch(t=t||function(e){switch(o(e)){case"string":return"string";case"element":return"canvas"===e.nodeName.toLowerCase()?"canvas":"element";default:return"unknown"}}(e)){case"string":return this.then(a).then(function(t){return this.set({src:i("div",{innerHTML:e,dompurify:t})})});case"element":return this.set({src:e});case"canvas":return this.set({canvas:e});case"img":return this.set({img:e});default:return this.error("Unknown source type.")}})},c.prototype.to=function(e){switch(e){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},c.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then(function(){var e={position:"relative",display:"inline-block",width:Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},t=s(this.prop.src,this.opt.html2canvas.javascriptEnabled);"BODY"===t.tagName&&(e.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=i("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=i("div",{className:"html2pdf__container",style:e}),this.prop.container.appendChild(t),this.prop.container.firstChild.appendChild(i("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"})},c.prototype.toCanvas=function(){var e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(e).then(n).then(function(e){var t=Object.assign({},this.opt.html2canvas);return delete t.onrendered,e(this.prop.container,t)}).then(function(e){(this.opt.html2canvas.onrendered||function(){})(e),this.prop.canvas=e,document.body.removeChild(this.prop.overlay)})},c.prototype.toContext2d=function(){var e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(e).then(n).then(function(e){var t=this.opt.jsPDF,r=this.opt.fontFaces,n=Object.assign({async:!0,allowTaint:!0,scale:1,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete n.onrendered,t.context2d.autoPaging=!0,t.context2d.posX=this.opt.x,t.context2d.posY=this.opt.y,t.context2d.fontFaces=r,r)for(var a=0;a<r.length;++a){var o=r[a],i=o.src.find(function(e){return"truetype"===e.format});i&&t.addFont(i.url,o.ref.name,o.ref.style)}return n.windowHeight=n.windowHeight||0,n.windowHeight=0==n.windowHeight?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):n.windowHeight,e(this.prop.container,n)}).then(function(e){(this.opt.html2canvas.onrendered||function(){})(e),this.prop.canvas=e,document.body.removeChild(this.prop.overlay)})},c.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var e=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=e})},c.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},c.prototype.output=function(e,t,r){return"img"===(r=r||"pdf").toLowerCase()||"image"===r.toLowerCase()?this.outputImg(e,t):this.outputPdf(e,t)},c.prototype.outputPdf=function(e,t){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(e,t)})},c.prototype.outputImg=function(e){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(e){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+e+'" is not supported.'}})},c.prototype.save=function(e){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(e?{filename:e}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},c.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},c.prototype.set=function(e){if("object"!==o(e))return this;var t=Object.keys(e||{}).map(function(t){if(t in c.template.prop)return function(){this.prop[t]=e[t]};switch(t){case"margin":return this.setMargin.bind(this,e.margin);case"jsPDF":return function(){return this.opt.jsPDF=e.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,e.pageSize);default:return function(){this.opt[t]=e[t]}}},this);return this.then(function(){return this.thenList(t)})},c.prototype.get=function(e,t){return this.then(function(){var r=e in c.template.prop?this.prop[e]:this.opt[e];return t?t(r):r})},c.prototype.setMargin=function(e){return this.then(function(){switch(o(e)){case"number":e=[e,e,e,e];case"array":if(2===e.length&&(e=[e[0],e[1],e[0],e[1]]),4===e.length)break;default:return this.error("Invalid margin array.")}this.opt.margin=e}).then(this.setPageSize)},c.prototype.setPageSize=function(e){function t(e,t){return Math.floor(e*t/72*96)}return this.then(function(){(e=e||L.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(e.inner={width:e.width-this.opt.margin[1]-this.opt.margin[3],height:e.height-this.opt.margin[0]-this.opt.margin[2]},e.inner.px={width:t(e.inner.width,e.k),height:t(e.inner.height,e.k)},e.inner.ratio=e.inner.height/e.inner.width),this.prop.pageSize=e})},c.prototype.setProgress=function(e,t,r,n){return null!=e&&(this.progress.val=e),null!=t&&(this.progress.state=t),null!=r&&(this.progress.n=r),null!=n&&(this.progress.stack=n),this.progress.ratio=this.progress.val/this.progress.state,this},c.prototype.updateProgress=function(e,t,r,n){return this.setProgress(e?this.progress.val+e:null,t||null,r?this.progress.n+r:null,n?this.progress.stack.concat(n):null)},c.prototype.then=function(e,t){var r=this;return this.thenCore(e,t,function(e,t){return r.updateProgress(null,null,1,[e]),Promise.prototype.then.call(this,function(t){return r.updateProgress(null,e),t}).then(e,t).then(function(e){return r.updateProgress(1),e})})},c.prototype.thenCore=function(e,t,r){r=r||Promise.prototype.then,e&&(e=e.bind(this)),t&&(t=t.bind(this));var n=-1!==Promise.toString().indexOf("[native code]")&&"Promise"===Promise.name?this:c.convert(Object.assign({},this),Promise.prototype),a=r.call(n,e,t);return c.convert(a,this.__proto__)},c.prototype.thenExternal=function(e,t){return Promise.prototype.then.call(this,e,t)},c.prototype.thenList=function(e){var t=this;return e.forEach(function(e){t=t.thenCore(e)}),t},c.prototype.catch=function(e){e&&(e=e.bind(this));var t=Promise.prototype.catch.call(this,e);return c.convert(t,this)},c.prototype.catchExternal=function(e){return Promise.prototype.catch.call(this,e)},c.prototype.error=function(e){return this.then(function(){throw new Error(e)})},c.prototype.using=c.prototype.set,c.prototype.saveAs=c.prototype.save,c.prototype.export=c.prototype.output,c.prototype.run=c.prototype.then,L.getPageSize=function(e,t,r){if("object"==typeof e){var n=e;e=n.orientation,t=n.unit||t,r=n.format||r}t=t||"mm",r=r||"a4",e=(""+(e||"P")).toLowerCase();var a,o=(""+r).toLowerCase(),i={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(t){case"pt":a=1;break;case"mm":a=72/25.4;break;case"cm":a=72/2.54;break;case"in":a=72;break;case"px":a=.75;break;case"pc":case"em":a=12;break;case"ex":a=6;break;default:throw"Invalid unit: "+t}var s,c=0,l=0;if(i.hasOwnProperty(o))c=i[o][1]/a,l=i[o][0]/a;else try{c=r[1],l=r[0]}catch(e){throw new Error("Invalid format: "+r)}if("p"===e||"portrait"===e)e="p",l>c&&(s=l,l=c,c=s);else{if("l"!==e&&"landscape"!==e)throw"Invalid orientation: "+e;e="l",c>l&&(s=l,l=c,c=s)}return{width:l,height:c,unit:t,k:a,orientation:e}},r.html=function(e,t){(t=t||{}).callback=t.callback||function(){},t.html2canvas=t.html2canvas||{},t.html2canvas.canvas=t.html2canvas.canvas||this.canvas,t.jsPDF=t.jsPDF||this,t.fontFaces=t.fontFaces?t.fontFaces.map(Ee):null;var r=new c(t);return t.worker?r:r.from(e).doCallback()}}(L.API),function(e){var t,r,n;L.API.addJS=function(e){return n=e,this.internal.events.subscribe("postPutResources",function(){t=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(t+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),r=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+n+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){void 0!==t&&void 0!==r&&this.internal.out("/Names <</JavaScript "+t+" 0 R>>")}),this}}(),function(e){var t;e.events.push(["postPutResources",function(){var e=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var n=e.outline.render().split(/\r\n/),a=0;a<n.length;a++){var o=n[a],i=r.exec(o);if(null!=i){var s=i[1];e.internal.newObjectDeferredBegin(s,!1)}e.internal.write(o)}if(this.outline.createNamedDestinations){var c=this.internal.pages.length,l=[];for(a=0;a<c;a++){var u=e.internal.newObject();l.push(u);var f=e.internal.getPageInfo(a+1);e.internal.write("<< /D["+f.objId+" 0 R /XYZ null null null]>> endobj")}var h=e.internal.newObject();for(e.internal.write("<< /Names [ "),a=0;a<l.length;a++)e.internal.write("(page_"+(a+1)+")"+l[a]+" 0 R");e.internal.write(" ] >>","endobj"),t=e.internal.newObject(),e.internal.write("<< /Dests "+h+" 0 R"),e.internal.write(">>","endobj")}}]),e.events.push(["putCatalog",function(){this.outline.root.children.length>0&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+t+" 0 R"))}]),e.events.push(["initialized",function(){var e=this;e.outline={createNamedDestinations:!1,root:{children:[]}},e.outline.add=function(e,t,r){var n={title:t,options:r,children:[]};return null==e&&(e=this.root),e.children.push(n),n},e.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=e,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},e.outline.genIds_r=function(t){t.id=e.internal.newObjectDeferred();for(var r=0;r<t.children.length;r++)this.genIds_r(t.children[r])},e.outline.renderRoot=function(e){this.objStart(e),this.line("/Type /Outlines"),e.children.length>0&&(this.line("/First "+this.makeRef(e.children[0])),this.line("/Last "+this.makeRef(e.children[e.children.length-1]))),this.line("/Count "+this.count_r({count:0},e)),this.objEnd()},e.outline.renderItems=function(t){for(var r=this.ctx.pdf.internal.getVerticalCoordinateString,n=0;n<t.children.length;n++){var a=t.children[n];this.objStart(a),this.line("/Title "+this.makeString(a.title)),this.line("/Parent "+this.makeRef(t)),n>0&&this.line("/Prev "+this.makeRef(t.children[n-1])),n<t.children.length-1&&this.line("/Next "+this.makeRef(t.children[n+1])),a.children.length>0&&(this.line("/First "+this.makeRef(a.children[0])),this.line("/Last "+this.makeRef(a.children[a.children.length-1])));var o=this.count=this.count_r({count:0},a);if(o>0&&this.line("/Count "+o),a.options&&a.options.pageNumber){var i=e.internal.getPageInfo(a.options.pageNumber);this.line("/Dest ["+i.objId+" 0 R /XYZ 0 "+r(0)+" 0]")}this.objEnd()}for(var s=0;s<t.children.length;s++)this.renderItems(t.children[s])},e.outline.line=function(e){this.ctx.val+=e+"\r\n"},e.outline.makeRef=function(e){return e.id+" 0 R"},e.outline.makeString=function(t){return"("+e.internal.pdfEscape(t)+")"},e.outline.objStart=function(e){this.ctx.val+="\r\n"+e.id+" 0 obj\r\n<<\r\n"},e.outline.objEnd=function(){this.ctx.val+=">> \r\nendobj\r\n"},e.outline.count_r=function(e,t){for(var r=0;r<t.children.length;r++)e.count++,this.count_r(e,t.children[r]);return e.count}}])}(L.API),function(e){var t=[192,193,194,195,196,197,198,199];e.processJPEG=function(e,r,n,a,o,i){var s,c=this.decode.DCT_DECODE,l=null;if("string"==typeof e||this.__addimage__.isArrayBuffer(e)||this.__addimage__.isArrayBufferView(e)){switch(e=o||e,e=this.__addimage__.isArrayBuffer(e)?new Uint8Array(e):e,(s=function(e){for(var r,n=256*e.charCodeAt(4)+e.charCodeAt(5),a=e.length,o={width:0,height:0,numcomponents:1},i=4;i<a;i+=2){if(i+=n,-1!==t.indexOf(e.charCodeAt(i+1))){r=256*e.charCodeAt(i+5)+e.charCodeAt(i+6),o={width:256*e.charCodeAt(i+7)+e.charCodeAt(i+8),height:r,numcomponents:e.charCodeAt(i+9)};break}n=256*e.charCodeAt(i+2)+e.charCodeAt(i+3)}return o}(e=this.__addimage__.isArrayBufferView(e)?this.__addimage__.arrayBufferToBinaryString(e):e)).numcomponents){case 1:i=this.color_spaces.DEVICE_GRAY;break;case 4:i=this.color_spaces.DEVICE_CMYK;break;case 3:i=this.color_spaces.DEVICE_RGB}l={data:e,width:s.width,height:s.height,colorSpace:i,bitsPerComponent:8,filter:c,index:r,alias:n}}return l}}(L.API);var St,xt,kt,At,Tt,Et=function(){var e,r,n;function a(e){var t,r,n,a,o,i,s,c,l,u,f,h,d,p;for(this.data=e,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},i=null;;){switch(t=this.readUInt32(),l=function(){var e,t;for(t=[],e=0;e<4;++e)t.push(String.fromCharCode(this.data[this.pos++]));return t}.call(this).join("")){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"acTL":this.animation={numFrames:this.readUInt32(),numPlays:this.readUInt32()||1/0,frames:[]};break;case"PLTE":this.palette=this.read(t);break;case"fcTL":i&&this.animation.frames.push(i),this.pos+=4,i={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},o=this.readUInt16(),a=this.readUInt16()||100,i.delay=1e3*o/a,i.disposeOp=this.data[this.pos++],i.blendOp=this.data[this.pos++],i.data=[];break;case"IDAT":case"fdAT":for("fdAT"===l&&(this.pos+=4,t-=4),e=(null!=i?i.data:void 0)||this.imgData,h=0;0<=t?h<t:h>t;0<=t?++h:--h)e.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(n=this.palette.length/3,this.transparency.indexed=this.read(t),this.transparency.indexed.length>n)throw new Error("More transparent colors than palette size");if((u=n-this.transparency.indexed.length)>0)for(d=0;0<=u?d<u:d>u;0<=u?++d:--d)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(t)[0];break;case 2:this.transparency.rgb=this.read(t)}break;case"tEXt":s=(f=this.read(t)).indexOf(0),c=String.fromCharCode.apply(String,f.slice(0,s)),this.text[c]=String.fromCharCode.apply(String,f.slice(s+1));break;case"IEND":return i&&this.animation.frames.push(i),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=4===(p=this.colorType)||6===p,r=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*r,this.colorSpace=function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}.call(this),void(this.imgData=new Uint8Array(this.imgData));default:this.pos+=t}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}a.prototype.read=function(e){var t,r;for(r=[],t=0;0<=e?t<e:t>e;0<=e?++t:--t)r.push(this.data[this.pos++]);return r},a.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},a.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},a.prototype.decodePixels=function(e){var t=this.pixelBitlength/8,r=new Uint8Array(this.width*this.height*t),n=0,a=this;if(null==e&&(e=this.imgData),0===e.length)return new Uint8Array(0);function o(o,i,s,c){var l,u,f,h,d,p,g,m,v,b,y,w,S,x,k,A,T,E,_,N,C,R=Math.ceil((a.width-o)/s),O=Math.ceil((a.height-i)/c),L=a.width==R&&a.height==O;for(x=t*R,w=L?r:new Uint8Array(x*O),p=e.length,S=0,u=0;S<O&&n<p;){switch(e[n++]){case 0:for(h=T=0;T<x;h=T+=1)w[u++]=e[n++];break;case 1:for(h=E=0;E<x;h=E+=1)l=e[n++],d=h<t?0:w[u-t],w[u++]=(l+d)%256;break;case 2:for(h=_=0;_<x;h=_+=1)l=e[n++],f=(h-h%t)/t,k=S&&w[(S-1)*x+f*t+h%t],w[u++]=(k+l)%256;break;case 3:for(h=N=0;N<x;h=N+=1)l=e[n++],f=(h-h%t)/t,d=h<t?0:w[u-t],k=S&&w[(S-1)*x+f*t+h%t],w[u++]=(l+Math.floor((d+k)/2))%256;break;case 4:for(h=C=0;C<x;h=C+=1)l=e[n++],f=(h-h%t)/t,d=h<t?0:w[u-t],0===S?k=A=0:(k=w[(S-1)*x+f*t+h%t],A=f&&w[(S-1)*x+(f-1)*t+h%t]),g=d+k-A,m=Math.abs(g-d),b=Math.abs(g-k),y=Math.abs(g-A),v=m<=b&&m<=y?d:b<=y?k:A,w[u++]=(l+v)%256;break;default:throw new Error("Invalid filter algorithm: "+e[n-1])}if(!L){var P=((i+S*c)*a.width+o)*t,I=S*x;for(h=0;h<R;h+=1){for(var F=0;F<t;F+=1)r[P++]=w[I++];P+=(s-1)*t}}S++}}return e=function(e,t){return function(e,t,r){var n=e.length,a=!t||r,o=!r||r.i;r||(r={}),t||(t=new Fe(3*n));var i=function(e){var r=t.length;if(e>r){var n=new Fe(Math.max(2*r,e));n.set(t),t=n}},s=r.f||0,c=r.p||0,l=r.b||0,u=r.l,f=r.d,h=r.m,d=r.n,p=8*n;do{if(!u){r.f=s=ot(e,c,1);var g=ot(e,c+1,3);if(c+=3,!g){var m=e[(_=st(c)+4)-4]|e[_-3]<<8,v=_+m;if(v>n){if(o)throw"unexpected EOF";break}a&&i(l+m),t.set(e.subarray(_,v),l),r.b=l+=m,r.p=c=8*v;continue}if(1==g)u=tt,f=nt,h=9,d=5;else{if(2!=g)throw"invalid block type";var b=ot(e,c,31)+257,y=ot(e,c+10,15)+4,w=b+ot(e,c+5,31)+1;c+=14;for(var S=new Fe(w),x=new Fe(19),k=0;k<y;++k)x[We[k]]=ot(e,c+3*k,7);c+=3*y;var A=at(x),T=(1<<A)-1;if(!o&&c+w*(A+7)>p)break;var E=Je(x,A,1);for(k=0;k<w;){var _,N=E[ot(e,c,T)];if(c+=15&N,(_=N>>>4)<16)S[k++]=_;else{var C=0,R=0;for(16==_?(R=3+ot(e,c,3),c+=2,C=S[k-1]):17==_?(R=3+ot(e,c,7),c+=3):18==_&&(R=11+ot(e,c,127),c+=7);R--;)S[k++]=C}}var O=S.subarray(0,b),L=S.subarray(b);h=at(O),d=at(L),u=Je(O,h,1),f=Je(L,d,1)}if(c>p)throw"unexpected EOF"}a&&i(l+131072);for(var P=(1<<h)-1,I=(1<<d)-1,F=h+d+18;o||c+F<p;){var D=(C=u[it(e,c)&P])>>>4;if((c+=15&C)>p)throw"unexpected EOF";if(!C)throw"invalid length/literal";if(D<256)t[l++]=D;else{if(256==D){u=null;break}var M=D-254;if(D>264){var j=je[k=D-257];M=ot(e,c,(1<<j)-1)+He[k],c+=j}var B=f[it(e,c)&I],W=B>>>4;if(!B)throw"invalid distance";if(c+=15&B,L=$e[W],W>3&&(j=Be[W],L+=it(e,c)&(1<<j)-1,c+=j),c>p)throw"unexpected EOF";a&&i(l+131072);for(var U=l+M;l<U;l+=4)t[l]=t[l-L],t[l+1]=t[l+1-L],t[l+2]=t[l+2-L],t[l+3]=t[l+3-L];l=U}}r.l=u,r.p=c,r.b=l,u&&(s=1,r.m=h,r.d=f,r.n=d)}while(!s);return l==t.length?t:ct(t,0,l)}((function(e){if(8!=(15&e[0])||e[0]>>>4>7||(e[0]<<8|e[1])%31)throw"invalid zlib data";if(32&e[1])throw"invalid zlib data: preset dictionaries not supported"}(e),e.subarray(2,-4)),t)}(e),1==a.interlaceMethod?(o(0,0,8,8),o(4,0,8,8),o(0,4,4,8),o(2,0,4,4),o(0,2,2,4),o(1,0,2,2),o(0,1,1,2)):o(0,0,1,1),r},a.prototype.decodePalette=function(){var e,t,r,n,a,o,i,s,c;for(r=this.palette,o=this.transparency.indexed||[],a=new Uint8Array((o.length||0)+r.length),n=0,e=0,t=i=0,s=r.length;i<s;t=i+=3)a[n++]=r[t],a[n++]=r[t+1],a[n++]=r[t+2],a[n++]=null!=(c=o[e++])?c:255;return a},a.prototype.copyToImageData=function(e,t){var r,n,a,o,i,s,c,l,u,f,h;if(n=this.colors,u=null,r=this.hasAlphaChannel,this.palette.length&&(u=null!=(h=this._decodedPalette)?h:this._decodedPalette=this.decodePalette(),n=4,r=!0),l=(a=e.data||e).length,i=u||t,o=s=0,1===n)for(;o<l;)c=u?4*t[o/4]:s,f=i[c++],a[o++]=f,a[o++]=f,a[o++]=f,a[o++]=r?i[c++]:255,s=c;else for(;o<l;)c=u?4*t[o/4]:s,a[o++]=i[c++],a[o++]=i[c++],a[o++]=i[c++],a[o++]=r?i[c++]:255,s=c},a.prototype.decode=function(){var e;return e=new Uint8Array(this.width*this.height*4),this.copyToImageData(e,this.decodePixels()),e};var o=function(){if("[object Window]"===Object.prototype.toString.call(t)){try{r=t.document.createElement("canvas"),n=r.getContext("2d")}catch(e){return!1}return!0}return!1};return o(),e=function(e){var t;if(!0===o())return n.width=e.width,n.height=e.height,n.clearRect(0,0,e.width,e.height),n.putImageData(e,0,0),(t=new Image).src=r.toDataURL(),t;throw new Error("This method requires a Browser with Canvas-capability.")},a.prototype.decodeFrames=function(t){var r,n,a,o,i,s,c,l;if(this.animation){for(l=[],n=i=0,s=(c=this.animation.frames).length;i<s;n=++i)r=c[n],a=t.createImageData(r.width,r.height),o=this.decodePixels(new Uint8Array(r.data)),this.copyToImageData(a,o),r.imageData=a,l.push(r.image=e(a));return l}},a.prototype.renderFrame=function(e,t){var r,n,a;return r=(n=this.animation.frames)[t],a=n[t-1],0===t&&e.clearRect(0,0,this.width,this.height),1===(null!=a?a.disposeOp:void 0)?e.clearRect(a.xOffset,a.yOffset,a.width,a.height):2===(null!=a?a.disposeOp:void 0)&&e.putImageData(a.imageData,a.xOffset,a.yOffset),0===r.blendOp&&e.clearRect(r.xOffset,r.yOffset,r.width,r.height),e.drawImage(r.image,r.xOffset,r.yOffset)},a.prototype.animate=function(e){var t,r,n,a,o,i,s=this;return r=0,i=this.animation,a=i.numFrames,n=i.frames,o=i.numPlays,(t=function(){var i,c;if(i=r++%a,c=n[i],s.renderFrame(e,i),a>1&&r/a<o)return s.animation._timeout=setTimeout(t,c.delay)})()},a.prototype.stopAnimation=function(){var e;return clearTimeout(null!=(e=this.animation)?e._timeout:void 0)},a.prototype.render=function(e){var t,r;return e._png&&e._png.stopAnimation(),e._png=this,e.width=this.width,e.height=this.height,t=e.getContext("2d"),this.animation?(this.decodeFrames(t),this.animate(t)):(r=t.createImageData(this.width,this.height),this.copyToImageData(r,this.decodePixels()),t.putImageData(r,0,0))},a}();function _t(e){var t=0;if(71!==e[t++]||73!==e[t++]||70!==e[t++]||56!==e[t++]||56!=(e[t++]+1&253)||97!==e[t++])throw new Error("Invalid GIF 87a/89a header.");var r=e[t++]|e[t++]<<8,n=e[t++]|e[t++]<<8,a=e[t++],o=a>>7,i=1<<1+(7&a);e[t++],e[t++];var s=null,c=null;o&&(s=t,c=i,t+=3*i);var l=!0,u=[],f=0,h=null,d=0,p=null;for(this.width=r,this.height=n;l&&t<e.length;)switch(e[t++]){case 33:switch(e[t++]){case 255:if(11!==e[t]||78==e[t+1]&&69==e[t+2]&&84==e[t+3]&&83==e[t+4]&&67==e[t+5]&&65==e[t+6]&&80==e[t+7]&&69==e[t+8]&&50==e[t+9]&&46==e[t+10]&&48==e[t+11]&&3==e[t+12]&&1==e[t+13]&&0==e[t+16])t+=14,p=e[t++]|e[t++]<<8,t++;else for(t+=12;;){if(!((_=e[t++])>=0))throw Error("Invalid block size");if(0===_)break;t+=_}break;case 249:if(4!==e[t++]||0!==e[t+4])throw new Error("Invalid graphics extension block.");var g=e[t++];f=e[t++]|e[t++]<<8,h=e[t++],0==(1&g)&&(h=null),d=g>>2&7,t++;break;case 254:for(;;){if(!((_=e[t++])>=0))throw Error("Invalid block size");if(0===_)break;t+=_}break;default:throw new Error("Unknown graphic control label: 0x"+e[t-1].toString(16))}break;case 44:var m=e[t++]|e[t++]<<8,v=e[t++]|e[t++]<<8,b=e[t++]|e[t++]<<8,y=e[t++]|e[t++]<<8,w=e[t++],S=w>>6&1,x=1<<1+(7&w),k=s,A=c,T=!1;w>>7&&(T=!0,k=t,A=x,t+=3*x);var E=t;for(t++;;){var _;if(!((_=e[t++])>=0))throw Error("Invalid block size");if(0===_)break;t+=_}u.push({x:m,y:v,width:b,height:y,has_local_palette:T,palette_offset:k,palette_size:A,data_offset:E,data_length:t-E,transparent_index:h,interlaced:!!S,delay:f,disposal:d});break;case 59:l=!1;break;default:throw new Error("Unknown gif block: 0x"+e[t-1].toString(16))}this.numFrames=function(){return u.length},this.loopCount=function(){return p},this.frameInfo=function(e){if(e<0||e>=u.length)throw new Error("Frame index out of range.");return u[e]},this.decodeAndBlitFrameBGRA=function(t,n){var a=this.frameInfo(t),o=a.width*a.height,i=new Uint8Array(o);Nt(e,a.data_offset,i,o);var s=a.palette_offset,c=a.transparent_index;null===c&&(c=256);var l=a.width,u=r-l,f=l,h=4*(a.y*r+a.x),d=4*((a.y+a.height)*r+a.x),p=h,g=4*u;!0===a.interlaced&&(g+=4*r*7);for(var m=8,v=0,b=i.length;v<b;++v){var y=i[v];if(0===f&&(f=l,(p+=g)>=d&&(g=4*u+4*r*(m-1),p=h+(l+u)*(m<<1),m>>=1)),y===c)p+=4;else{var w=e[s+3*y],S=e[s+3*y+1],x=e[s+3*y+2];n[p++]=x,n[p++]=S,n[p++]=w,n[p++]=255}--f}},this.decodeAndBlitFrameRGBA=function(t,n){var a=this.frameInfo(t),o=a.width*a.height,i=new Uint8Array(o);Nt(e,a.data_offset,i,o);var s=a.palette_offset,c=a.transparent_index;null===c&&(c=256);var l=a.width,u=r-l,f=l,h=4*(a.y*r+a.x),d=4*((a.y+a.height)*r+a.x),p=h,g=4*u;!0===a.interlaced&&(g+=4*r*7);for(var m=8,v=0,b=i.length;v<b;++v){var y=i[v];if(0===f&&(f=l,(p+=g)>=d&&(g=4*u+4*r*(m-1),p=h+(l+u)*(m<<1),m>>=1)),y===c)p+=4;else{var w=e[s+3*y],S=e[s+3*y+1],x=e[s+3*y+2];n[p++]=w,n[p++]=S,n[p++]=x,n[p++]=255}--f}}}function Nt(e,t,r,a){for(var o=e[t++],i=1<<o,s=i+1,c=s+1,l=o+1,u=(1<<l)-1,f=0,h=0,d=0,p=e[t++],g=new Int32Array(4096),m=null;;){for(;f<16&&0!==p;)h|=e[t++]<<f,f+=8,1===p?p=e[t++]:--p;if(f<l)break;var v=h&u;if(h>>=l,f-=l,v!==i){if(v===s)break;for(var b=v<c?v:m,y=0,w=b;w>i;)w=g[w]>>8,++y;var S=w;if(d+y+(b!==v?1:0)>a)return void n.log("Warning, gif stream longer than expected.");r[d++]=S;var x=d+=y;for(b!==v&&(r[d++]=S),w=b;y--;)w=g[w],r[--x]=255&w,w>>=8;null!==m&&c<4096&&(g[c++]=m<<8|S,c>=u+1&&l<12&&(++l,u=u<<1|1)),m=v}else c=s+1,u=(1<<(l=o+1))-1,m=null}return d!==a&&n.log("Warning, gif stream shorter than expected."),r}function Ct(e){var t,r,n,a,o,i=Math.floor,s=new Array(64),c=new Array(64),l=new Array(64),u=new Array(64),f=new Array(65535),h=new Array(65535),d=new Array(64),p=new Array(64),g=[],m=0,v=7,b=new Array(64),y=new Array(64),w=new Array(64),S=new Array(256),x=new Array(2048),k=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],A=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],T=[0,1,2,3,4,5,6,7,8,9,10,11],E=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],_=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],N=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],C=[0,1,2,3,4,5,6,7,8,9,10,11],R=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],O=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function L(e,t){for(var r=0,n=0,a=new Array,o=1;o<=16;o++){for(var i=1;i<=e[o];i++)a[t[n]]=[],a[t[n]][0]=r,a[t[n]][1]=o,n++,r++;r*=2}return a}function P(e){for(var t=e[0],r=e[1]-1;r>=0;)t&1<<r&&(m|=1<<v),r--,--v<0&&(255==m?(I(255),I(0)):I(m),v=7,m=0)}function I(e){g.push(e)}function F(e){I(e>>8&255),I(255&e)}function D(e,t,r,n,a){for(var o,i=a[0],s=a[240],c=function(e,t){var r,n,a,o,i,s,c,l,u,f,h=0;for(u=0;u<8;++u){r=e[h],n=e[h+1],a=e[h+2],o=e[h+3],i=e[h+4],s=e[h+5],c=e[h+6];var p=r+(l=e[h+7]),g=r-l,m=n+c,v=n-c,b=a+s,y=a-s,w=o+i,S=o-i,x=p+w,k=p-w,A=m+b,T=m-b;e[h]=x+A,e[h+4]=x-A;var E=.707106781*(T+k);e[h+2]=k+E,e[h+6]=k-E;var _=.382683433*((x=S+y)-(T=v+g)),N=.5411961*x+_,C=1.306562965*T+_,R=.707106781*(A=y+v),O=g+R,L=g-R;e[h+5]=L+N,e[h+3]=L-N,e[h+1]=O+C,e[h+7]=O-C,h+=8}for(h=0,u=0;u<8;++u){r=e[h],n=e[h+8],a=e[h+16],o=e[h+24],i=e[h+32],s=e[h+40],c=e[h+48];var P=r+(l=e[h+56]),I=r-l,F=n+c,D=n-c,M=a+s,j=a-s,B=o+i,W=o-i,U=P+B,z=P-B,H=F+M,V=F-M;e[h]=U+H,e[h+32]=U-H;var q=.707106781*(V+z);e[h+16]=z+q,e[h+48]=z-q;var $=.382683433*((U=W+j)-(V=D+I)),G=.5411961*U+$,X=1.306562965*V+$,Y=.707106781*(H=j+D),K=I+Y,J=I-Y;e[h+40]=J+G,e[h+24]=J-G,e[h+8]=K+X,e[h+56]=K-X,h++}for(u=0;u<64;++u)f=e[u]*t[u],d[u]=f>0?f+.5|0:f-.5|0;return d}(e,t),l=0;l<64;++l)p[k[l]]=c[l];var u=p[0]-r;r=p[0],0==u?P(n[0]):(P(n[h[o=32767+u]]),P(f[o]));for(var g=63;g>0&&0==p[g];)g--;if(0==g)return P(i),r;for(var m,v=1;v<=g;){for(var b=v;0==p[v]&&v<=g;)++v;var y=v-b;if(y>=16){m=y>>4;for(var w=1;w<=m;++w)P(s);y&=15}o=32767+p[v],P(a[(y<<4)+h[o]]),P(f[o]),v++}return 63!=g&&P(i),r}function M(e){e=Math.min(Math.max(e,1),100),o!=e&&(function(e){for(var t=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],r=0;r<64;r++){var n=i((t[r]*e+50)/100);n=Math.min(Math.max(n,1),255),s[k[r]]=n}for(var a=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],o=0;o<64;o++){var f=i((a[o]*e+50)/100);f=Math.min(Math.max(f,1),255),c[k[o]]=f}for(var h=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],d=0,p=0;p<8;p++)for(var g=0;g<8;g++)l[d]=1/(s[k[d]]*h[p]*h[g]*8),u[d]=1/(c[k[d]]*h[p]*h[g]*8),d++}(e<50?Math.floor(5e3/e):Math.floor(200-2*e)),o=e)}this.encode=function(e,o){o&&M(o),g=new Array,m=0,v=7,F(65496),F(65504),F(16),I(74),I(70),I(73),I(70),I(0),I(1),I(1),I(0),F(1),F(1),I(0),I(0),function(){F(65499),F(132),I(0);for(var e=0;e<64;e++)I(s[e]);I(1);for(var t=0;t<64;t++)I(c[t])}(),function(e,t){F(65472),F(17),I(8),F(t),F(e),I(3),I(1),I(17),I(0),I(2),I(17),I(1),I(3),I(17),I(1)}(e.width,e.height),function(){F(65476),F(418),I(0);for(var e=0;e<16;e++)I(A[e+1]);for(var t=0;t<=11;t++)I(T[t]);I(16);for(var r=0;r<16;r++)I(E[r+1]);for(var n=0;n<=161;n++)I(_[n]);I(1);for(var a=0;a<16;a++)I(N[a+1]);for(var o=0;o<=11;o++)I(C[o]);I(17);for(var i=0;i<16;i++)I(R[i+1]);for(var s=0;s<=161;s++)I(O[s])}(),F(65498),F(12),I(3),I(1),I(0),I(2),I(17),I(3),I(17),I(0),I(63),I(0);var i=0,f=0,h=0;m=0,v=7,this.encode.displayName="_encode_";for(var d,p,S,k,L,j,B,W,U,z=e.data,H=e.width,V=e.height,q=4*H,$=0;$<V;){for(d=0;d<q;){for(L=q*$+d,B=-1,W=0,U=0;U<64;U++)j=L+(W=U>>3)*q+(B=4*(7&U)),$+W>=V&&(j-=q*($+1+W-V)),d+B>=q&&(j-=d+B-q+4),p=z[j++],S=z[j++],k=z[j++],b[U]=(x[p]+x[S+256>>0]+x[k+512>>0]>>16)-128,y[U]=(x[p+768>>0]+x[S+1024>>0]+x[k+1280>>0]>>16)-128,w[U]=(x[p+1280>>0]+x[S+1536>>0]+x[k+1792>>0]>>16)-128;i=D(b,l,i,t,n),f=D(y,u,f,r,a),h=D(w,u,h,r,a),d+=32}$+=8}if(v>=0){var G=[];G[1]=v+1,G[0]=(1<<v+1)-1,P(G)}return F(65497),new Uint8Array(g)},e=e||50,function(){for(var e=String.fromCharCode,t=0;t<256;t++)S[t]=e(t)}(),t=L(A,T),r=L(N,C),n=L(E,_),a=L(R,O),function(){for(var e=1,t=2,r=1;r<=15;r++){for(var n=e;n<t;n++)h[32767+n]=r,f[32767+n]=[],f[32767+n][1]=r,f[32767+n][0]=n;for(var a=-(t-1);a<=-e;a++)h[32767+a]=r,f[32767+a]=[],f[32767+a][1]=r,f[32767+a][0]=t-1+a;e<<=1,t<<=1}}(),function(){for(var e=0;e<256;e++)x[e]=19595*e,x[e+256>>0]=38470*e,x[e+512>>0]=7471*e+32768,x[e+768>>0]=-11059*e,x[e+1024>>0]=-21709*e,x[e+1280>>0]=32768*e+8421375,x[e+1536>>0]=-27439*e,x[e+1792>>0]=-5329*e}(),M(e)}function Rt(e,t){if(this.pos=0,this.buffer=e,this.datav=new DataView(e.buffer),this.is_with_alpha=!!t,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,-1===["BM","BA","CI","CP","IC","PT"].indexOf(this.flag))throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function Ot(e){function t(e){if(!e)throw Error("assert :P")}function r(e,t,r){for(var n=0;4>n;n++)if(e[t+n]!=r.charCodeAt(n))return!0;return!1}function n(e,t,r,n,a){for(var o=0;o<a;o++)e[t+o]=r[n+o]}function a(e,t,r,n){for(var a=0;a<n;a++)e[t+a]=r}function o(e){return new Int32Array(e)}function i(e,t){for(var r=[],n=0;n<e;n++)r.push(new t);return r}function s(e,t){var r=[];return function e(r,n,a){for(var o=a[n],i=0;i<o&&(r.push(a.length>n+1?[]:new t),!(a.length<n+1));i++)e(r[i],n+1,a)}(r,0,e),r}function c(e,t){for(var r="",n=0;n<4;n++)r+=String.fromCharCode(e[t++]);return r}function l(e,t){return(e[t+0]<<0|e[t+1]<<8|e[t+2]<<16)>>>0}function u(e,t){return(e[t+0]<<0|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0}new(Ot=function(){var e=this;function c(e,t){for(var r=1<<t-1>>>0;e&r;)r>>>=1;return r?(e&r-1)+r:e}function l(e,r,n,a,o){t(!(a%n));do{e[r+(a-=n)]=o}while(0<a)}function u(e,r,n,a,i){if(t(2328>=i),512>=i)var s=o(512);else if(null==(s=o(i)))return 0;return function(e,r,n,a,i,s){var u,h,d=r,p=1<<n,g=o(16),m=o(16);for(t(0!=i),t(null!=a),t(null!=e),t(0<n),h=0;h<i;++h){if(15<a[h])return 0;++g[a[h]]}if(g[0]==i)return 0;for(m[1]=0,u=1;15>u;++u){if(g[u]>1<<u)return 0;m[u+1]=m[u]+g[u]}for(h=0;h<i;++h)u=a[h],0<a[h]&&(s[m[u]++]=h);if(1==m[15])return(a=new f).g=0,a.value=s[0],l(e,d,1,p,a),p;var v,b=-1,y=p-1,w=0,S=1,x=1,k=1<<n;for(h=0,u=1,i=2;u<=n;++u,i<<=1){if(S+=x<<=1,0>(x-=g[u]))return 0;for(;0<g[u];--g[u])(a=new f).g=u,a.value=s[h++],l(e,d+w,i,k,a),w=c(w,u)}for(u=n+1,i=2;15>=u;++u,i<<=1){if(S+=x<<=1,0>(x-=g[u]))return 0;for(;0<g[u];--g[u]){if(a=new f,(w&y)!=b){for(d+=k,v=1<<(b=u)-n;15>b&&!(0>=(v-=g[b]));)++b,v<<=1;p+=k=1<<(v=b-n),e[r+(b=w&y)].g=v+n,e[r+b].value=d-r-b}a.g=u-n,a.value=s[h++],l(e,d+(w>>n),i,k,a),w=c(w,u)}}return S!=2*m[15]-1?0:p}(e,r,n,a,i,s)}function f(){this.value=this.g=0}function h(){this.value=this.g=0}function d(){this.G=i(5,f),this.H=o(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=i(jr,h)}function p(e,r,n,a){t(null!=e),t(null!=r),t(2147483648>a),e.Ca=254,e.I=0,e.b=-8,e.Ka=0,e.oa=r,e.pa=n,e.Jd=r,e.Yc=n+a,e.Zc=4<=a?n+a-4+1:n,E(e)}function g(e,t){for(var r=0;0<t--;)r|=N(e,128)<<t;return r}function m(e,t){var r=g(e,t);return _(e)?-r:r}function v(e,r,n,a){var o,i=0;for(t(null!=e),t(null!=r),t(4294967288>a),e.Sb=a,e.Ra=0,e.u=0,e.h=0,4<a&&(a=4),o=0;o<a;++o)i+=r[n+o]<<8*o;e.Ra=i,e.bb=a,e.oa=r,e.pa=n}function b(e){for(;8<=e.u&&e.bb<e.Sb;)e.Ra>>>=8,e.Ra+=e.oa[e.pa+e.bb]<<Ur-8>>>0,++e.bb,e.u-=8;k(e)&&(e.h=1,e.u=0)}function y(e,r){if(t(0<=r),!e.h&&r<=Wr){var n=x(e)&Br[r];return e.u+=r,b(e),n}return e.h=1,e.u=0}function w(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function S(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function x(e){return e.Ra>>>(e.u&Ur-1)>>>0}function k(e){return t(e.bb<=e.Sb),e.h||e.bb==e.Sb&&e.u>Ur}function A(e,t){e.u=t,e.h=k(e)}function T(e){e.u>=zr&&(t(e.u>=zr),b(e))}function E(e){t(null!=e&&null!=e.oa),e.pa<e.Zc?(e.I=(e.oa[e.pa++]|e.I<<8)>>>0,e.b+=8):(t(null!=e&&null!=e.oa),e.pa<e.Yc?(e.b+=8,e.I=e.oa[e.pa++]|e.I<<8):e.Ka?e.b=0:(e.I<<=8,e.b+=8,e.Ka=1))}function _(e){return g(e,1)}function N(e,t){var r=e.Ca;0>e.b&&E(e);var n=e.b,a=r*t>>>8,o=(e.I>>>n>a)+0;for(o?(r-=a,e.I-=a+1<<n>>>0):r=a+1,n=r,a=0;256<=n;)a+=8,n>>=8;return n=7^a+Hr[n],e.b-=n,e.Ca=(r<<n)-1,o}function C(e,t,r){e[t+0]=r>>24&255,e[t+1]=r>>16&255,e[t+2]=r>>8&255,e[t+3]=r>>0&255}function R(e,t){return e[t+0]<<0|e[t+1]<<8}function O(e,t){return R(e,t)|e[t+2]<<16}function L(e,t){return R(e,t)|R(e,t+2)<<16}function P(e,r){var n=1<<r;return t(null!=e),t(0<r),e.X=o(n),null==e.X?0:(e.Mb=32-r,e.Xa=r,1)}function I(e,r){t(null!=e),t(null!=r),t(e.Xa==r.Xa),n(r.X,0,e.X,0,1<<r.Xa)}function F(){this.X=[],this.Xa=this.Mb=0}function D(e,r,n,a){t(null!=n),t(null!=a);var o=n[0],i=a[0];return 0==o&&(o=(e*i+r/2)/r),0==i&&(i=(r*o+e/2)/e),0>=o||0>=i?0:(n[0]=o,a[0]=i,1)}function M(e,t){return e+(1<<t)-1>>>t}function j(e,t){return((4278255360&e)+(4278255360&t)>>>0&4278255360)+((16711935&e)+(16711935&t)>>>0&16711935)>>>0}function B(t,r){e[r]=function(r,n,a,o,i,s,c){var l;for(l=0;l<i;++l){var u=e[t](s[c+l-1],a,o+l);s[c+l]=j(r[n+l],u)}}}function W(){this.ud=this.hd=this.jd=0}function U(e,t){return((4278124286&(e^t))>>>1)+(e&t)>>>0}function z(e){return 0<=e&&256>e?e:0>e?0:255<e?255:void 0}function H(e,t){return z(e+(e-t+.5>>1))}function V(e,t,r){return Math.abs(t-r)-Math.abs(e-r)}function q(e,t,r,n,a,o,i){for(n=o[i-1],r=0;r<a;++r)o[i+r]=n=j(e[t+r],n)}function $(e,t,r,n,a){var o;for(o=0;o<r;++o){var i=e[t+o],s=i>>8&255,c=16711935&(c=(c=16711935&i)+((s<<16)+s));n[a+o]=(4278255360&i)+c>>>0}}function G(e,t){t.jd=e>>0&255,t.hd=e>>8&255,t.ud=e>>16&255}function X(e,t,r,n,a,o){var i;for(i=0;i<n;++i){var s=t[r+i],c=s>>>8,l=s,u=255&(u=(u=s>>>16)+((e.jd<<24>>24)*(c<<24>>24)>>>5));l=255&(l=(l+=(e.hd<<24>>24)*(c<<24>>24)>>>5)+((e.ud<<24>>24)*(u<<24>>24)>>>5)),a[o+i]=(4278255360&s)+(u<<16)+l}}function Y(t,r,n,a,o){e[r]=function(e,t,r,n,i,s,c,l,u){for(n=c;n<l;++n)for(c=0;c<u;++c)i[s++]=o(r[a(e[t++])])},e[t]=function(t,r,i,s,c,l,u){var f=8>>t.b,h=t.Ea,d=t.K[0],p=t.w;if(8>f)for(t=(1<<t.b)-1,p=(1<<f)-1;r<i;++r){var g,m=0;for(g=0;g<h;++g)g&t||(m=a(s[c++])),l[u++]=o(d[m&p]),m>>=f}else e["VP8LMapColor"+n](s,c,d,p,l,u,r,i,h)}}function K(e,t,r,n,a){for(r=t+r;t<r;){var o=e[t++];n[a++]=o>>16&255,n[a++]=o>>8&255,n[a++]=o>>0&255}}function J(e,t,r,n,a){for(r=t+r;t<r;){var o=e[t++];n[a++]=o>>16&255,n[a++]=o>>8&255,n[a++]=o>>0&255,n[a++]=o>>24&255}}function Z(e,t,r,n,a){for(r=t+r;t<r;){var o=(i=e[t++])>>16&240|i>>12&15,i=i>>0&240|i>>28&15;n[a++]=o,n[a++]=i}}function Q(e,t,r,n,a){for(r=t+r;t<r;){var o=(i=e[t++])>>16&248|i>>13&7,i=i>>5&224|i>>3&31;n[a++]=o,n[a++]=i}}function ee(e,t,r,n,a){for(r=t+r;t<r;){var o=e[t++];n[a++]=o>>0&255,n[a++]=o>>8&255,n[a++]=o>>16&255}}function te(e,t,r,a,o,i){if(0==i)for(r=t+r;t<r;)C(a,((i=e[t++])[0]>>24|i[1]>>8&65280|i[2]<<8&16711680|i[3]<<24)>>>0),o+=32;else n(a,o,e,t,r)}function re(t,r){e[r][0]=e[t+"0"],e[r][1]=e[t+"1"],e[r][2]=e[t+"2"],e[r][3]=e[t+"3"],e[r][4]=e[t+"4"],e[r][5]=e[t+"5"],e[r][6]=e[t+"6"],e[r][7]=e[t+"7"],e[r][8]=e[t+"8"],e[r][9]=e[t+"9"],e[r][10]=e[t+"10"],e[r][11]=e[t+"11"],e[r][12]=e[t+"12"],e[r][13]=e[t+"13"],e[r][14]=e[t+"0"],e[r][15]=e[t+"0"]}function ne(e){return e==Hn||e==Vn||e==qn||e==$n}function ae(){this.eb=[],this.size=this.A=this.fb=0}function oe(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function ie(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new ae,this.f.kb=new oe,this.sd=null}function se(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function ce(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function le(e){return alert("todo:WebPSamplerProcessPlane"),e.T}function ue(e,t){var r=e.T,a=t.ba.f.RGBA,o=a.eb,i=a.fb+e.ka*a.A,s=va[t.ba.S],c=e.y,l=e.O,u=e.f,f=e.N,h=e.ea,d=e.W,p=t.cc,g=t.dc,m=t.Mc,v=t.Nc,b=e.ka,y=e.ka+e.T,w=e.U,S=w+1>>1;for(0==b?s(c,l,null,null,u,f,h,d,u,f,h,d,o,i,null,null,w):(s(t.ec,t.fc,c,l,p,g,m,v,u,f,h,d,o,i-a.A,o,i,w),++r);b+2<y;b+=2)p=u,g=f,m=h,v=d,f+=e.Rc,d+=e.Rc,i+=2*a.A,s(c,(l+=2*e.fa)-e.fa,c,l,p,g,m,v,u,f,h,d,o,i-a.A,o,i,w);return l+=e.fa,e.j+y<e.o?(n(t.ec,t.fc,c,l,w),n(t.cc,t.dc,u,f,S),n(t.Mc,t.Nc,h,d,S),r--):1&y||s(c,l,null,null,u,f,h,d,u,f,h,d,o,i+a.A,null,null,w),r}function fe(e,r,n){var a=e.F,o=[e.J];if(null!=a){var i=e.U,s=r.ba.S,c=s==Wn||s==qn;r=r.ba.f.RGBA;var l=[0],u=e.ka;l[0]=e.T,e.Kb&&(0==u?--l[0]:(--u,o[0]-=e.width),e.j+e.ka+e.T==e.o&&(l[0]=e.o-e.j-u));var f=r.eb;u=r.fb+u*r.A,e=Tn(a,o[0],e.width,i,l,f,u+(c?0:3),r.A),t(n==l),e&&ne(s)&&kn(f,u,c,i,l,r.A)}return 0}function he(e){var t=e.ma,r=t.ba.S,n=11>r,a=r==Mn||r==Bn||r==Wn||r==Un||12==r||ne(r);if(t.memory=null,t.Ib=null,t.Jb=null,t.Nd=null,!Fr(t.Oa,e,a?11:12))return 0;if(a&&ne(r)&&br(),e.da)alert("todo:use_scaling");else{if(n){if(t.Ib=le,e.Kb){if(r=e.U+1>>1,t.memory=o(e.U+2*r),null==t.memory)return 0;t.ec=t.memory,t.fc=0,t.cc=t.ec,t.dc=t.fc+e.U,t.Mc=t.cc,t.Nc=t.dc+r,t.Ib=ue,br()}}else alert("todo:EmitYUV");a&&(t.Jb=fe,n&&mr())}if(n&&!Oa){for(e=0;256>e;++e)La[e]=89858*(e-128)+Ea>>Ta,Fa[e]=-22014*(e-128)+Ea,Ia[e]=-45773*(e-128),Pa[e]=113618*(e-128)+Ea>>Ta;for(e=_a;e<Na;++e)t=76283*(e-16)+Ea>>Ta,Da[e-_a]=qe(t,255),Ma[e-_a]=qe(t+8>>4,15);Oa=1}return 1}function de(e){var r=e.ma,n=e.U,a=e.T;return t(!(1&e.ka)),0>=n||0>=a?0:(n=r.Ib(e,r),null!=r.Jb&&r.Jb(e,r,n),r.Dc+=n,1)}function pe(e){e.ma.memory=null}function ge(e,t,r,n){return 47!=y(e,8)?0:(t[0]=y(e,14)+1,r[0]=y(e,14)+1,n[0]=y(e,1),0!=y(e,3)?0:!e.h)}function me(e,t){if(4>e)return e+1;var r=e-2>>1;return(2+(1&e)<<r)+y(t,r)+1}function ve(e,t){return 120<t?t-120:1<=(r=((r=Zn[t-1])>>4)*e+(8-(15&r)))?r:1;var r}function be(e,t,r){var n=x(r),a=e[t+=255&n].g-8;return 0<a&&(A(r,r.u+8),n=x(r),t+=e[t].value,t+=n&(1<<a)-1),A(r,r.u+e[t].g),e[t].value}function ye(e,r,n){return n.g+=e.g,n.value+=e.value<<r>>>0,t(8>=n.g),e.g}function we(e,r,n){var a=e.xc;return t((r=0==a?0:e.vc[e.md*(n>>a)+(r>>a)])<e.Wb),e.Ya[r]}function Se(e,r,a,o){var i=e.ab,s=e.c*r,c=e.C;r=c+r;var l=a,u=o;for(o=e.Ta,a=e.Ua;0<i--;){var f=e.gc[i],h=c,d=r,p=l,g=u,m=(u=o,l=a,f.Ea);switch(t(h<d),t(d<=f.nc),f.hc){case 2:$r(p,g,(d-h)*m,u,l);break;case 0:var v=h,b=d,y=u,w=l,S=(E=f).Ea;0==v&&(Vr(p,g,null,null,1,y,w),q(p,g+1,0,0,S-1,y,w+1),g+=S,w+=S,++v);for(var x=1<<E.b,k=x-1,A=M(S,E.b),T=E.K,E=E.w+(v>>E.b)*A;v<b;){var _=T,N=E,C=1;for(qr(p,g,y,w-S,1,y,w);C<S;){var R=(C&~k)+x;R>S&&(R=S),(0,Jr[_[N++]>>8&15])(p,g+ +C,y,w+C-S,R-C,y,w+C),C=R}g+=S,w+=S,++v&k||(E+=A)}d!=f.nc&&n(u,l-m,u,l+(d-h-1)*m,m);break;case 1:for(m=p,b=g,S=(p=f.Ea)-(w=p&~(y=(g=1<<f.b)-1)),v=M(p,f.b),x=f.K,f=f.w+(h>>f.b)*v;h<d;){for(k=x,A=f,T=new W,E=b+w,_=b+p;b<E;)G(k[A++],T),Zr(T,m,b,g,u,l),b+=g,l+=g;b<_&&(G(k[A++],T),Zr(T,m,b,S,u,l),b+=S,l+=S),++h&y||(f+=v)}break;case 3:if(p==u&&g==l&&0<f.b){for(b=u,p=m=l+(d-h)*m-(w=(d-h)*M(f.Ea,f.b)),g=u,y=l,v=[],w=(S=w)-1;0<=w;--w)v[w]=g[y+w];for(w=S-1;0<=w;--w)b[p+w]=v[w];Gr(f,h,d,u,m,u,l)}else Gr(f,h,d,p,g,u,l)}l=o,u=a}u!=a&&n(o,a,l,u,s)}function xe(e,r){var n=e.V,a=e.Ba+e.c*e.C,o=r-e.C;if(t(r<=e.l.o),t(16>=o),0<o){var i=e.l,s=e.Ta,c=e.Ua,l=i.width;if(Se(e,o,n,a),o=c=[c],t((n=e.C)<(a=r)),t(i.v<i.va),a>i.o&&(a=i.o),n<i.j){var u=i.j-n;n=i.j,o[0]+=u*l}if(n>=a?n=0:(o[0]+=4*i.v,i.ka=n-i.j,i.U=i.va-i.v,i.T=a-n,n=1),n){if(c=c[0],11>(n=e.ca).S){var f=n.f.RGBA,h=(a=n.S,o=i.U,i=i.T,u=f.eb,f.A),d=i;for(f=f.fb+e.Ma*f.A;0<d--;){var p=s,g=c,m=o,v=u,b=f;switch(a){case Dn:Qr(p,g,m,v,b);break;case Mn:en(p,g,m,v,b);break;case Hn:en(p,g,m,v,b),kn(v,b,0,m,1,0);break;case jn:nn(p,g,m,v,b);break;case Bn:te(p,g,m,v,b,1);break;case Vn:te(p,g,m,v,b,1),kn(v,b,0,m,1,0);break;case Wn:te(p,g,m,v,b,0);break;case qn:te(p,g,m,v,b,0),kn(v,b,1,m,1,0);break;case Un:tn(p,g,m,v,b);break;case $n:tn(p,g,m,v,b),An(v,b,m,1,0);break;case zn:rn(p,g,m,v,b);break;default:t(0)}c+=l,f+=h}e.Ma+=i}else alert("todo:EmitRescaledRowsYUVA");t(e.Ma<=n.height)}}e.C=r,t(e.C<=e.i)}function ke(e){var t;if(0<e.ua)return 0;for(t=0;t<e.Wb;++t){var r=e.Ya[t].G,n=e.Ya[t].H;if(0<r[1][n[1]+0].g||0<r[2][n[2]+0].g||0<r[3][n[3]+0].g)return 0}return 1}function Ae(e,r,n,a,o,i){if(0!=e.Z){var s=e.qd,c=e.rd;for(t(null!=ma[e.Z]);r<n;++r)ma[e.Z](s,c,a,o,a,o,i),s=a,c=o,o+=i;e.qd=s,e.rd=c}}function Te(e,r){var n=e.l.ma,a=0==n.Z||1==n.Z?e.l.j:e.C;if(a=e.C<a?a:e.C,t(r<=e.l.o),r>a){var o=e.l.width,i=n.ca,s=n.tb+o*a,c=e.V,l=e.Ba+e.c*a,u=e.gc;t(1==e.ab),t(3==u[0].hc),Yr(u[0],a,r,c,l,i,s),Ae(n,a,r,i,s,o)}e.C=e.Ma=r}function Ee(e,r,n,a,o,i,s){var c=e.$/a,l=e.$%a,u=e.m,f=e.s,h=n+e.$,d=h;o=n+a*o;var p=n+a*i,g=280+f.ua,m=e.Pb?c:16777216,v=0<f.ua?f.Wa:null,b=f.wc,y=h<p?we(f,l,c):null;t(e.C<i),t(p<=o);var w=!1;e:for(;;){for(;w||h<p;){var S=0;if(c>=m){var E=h-n;t((m=e).Pb),m.wd=m.m,m.xd=E,0<m.s.ua&&I(m.s.Wa,m.s.vb),m=c+ea}if(l&b||(y=we(f,l,c)),t(null!=y),y.Qb&&(r[h]=y.qb,w=!0),!w)if(T(u),y.jc){S=u,E=r;var _=h,N=y.pd[x(S)&jr-1];t(y.jc),256>N.g?(A(S,S.u+N.g),E[_]=N.value,S=0):(A(S,S.u+N.g-256),t(256<=N.value),S=N.value),0==S&&(w=!0)}else S=be(y.G[0],y.H[0],u);if(u.h)break;if(w||256>S){if(!w)if(y.nd)r[h]=(y.qb|S<<8)>>>0;else{if(T(u),w=be(y.G[1],y.H[1],u),T(u),E=be(y.G[2],y.H[2],u),_=be(y.G[3],y.H[3],u),u.h)break;r[h]=(_<<24|w<<16|S<<8|E)>>>0}if(w=!1,++h,++l>=a&&(l=0,++c,null!=s&&c<=i&&!(c%16)&&s(e,c),null!=v))for(;d<h;)S=r[d++],v.X[(506832829*S&4294967295)>>>v.Mb]=S}else if(280>S){if(S=me(S-256,u),E=be(y.G[4],y.H[4],u),T(u),E=ve(a,E=me(E,u)),u.h)break;if(h-n<E||o-h<S)break e;for(_=0;_<S;++_)r[h+_]=r[h+_-E];for(h+=S,l+=S;l>=a;)l-=a,++c,null!=s&&c<=i&&!(c%16)&&s(e,c);if(t(h<=o),l&b&&(y=we(f,l,c)),null!=v)for(;d<h;)S=r[d++],v.X[(506832829*S&4294967295)>>>v.Mb]=S}else{if(!(S<g))break e;for(w=S-280,t(null!=v);d<h;)S=r[d++],v.X[(506832829*S&4294967295)>>>v.Mb]=S;S=h,t(!(w>>>(E=v).Xa)),r[S]=E.X[w],w=!0}w||t(u.h==k(u))}if(e.Pb&&u.h&&h<o)t(e.m.h),e.a=5,e.m=e.wd,e.$=e.xd,0<e.s.ua&&I(e.s.vb,e.s.Wa);else{if(u.h)break e;null!=s&&s(e,c>i?i:c),e.a=0,e.$=h-n}return 1}return e.a=3,0}function _e(e){t(null!=e),e.vc=null,e.yc=null,e.Ya=null;var r=e.Wa;null!=r&&(r.X=null),e.vb=null,t(null!=e)}function Ne(){var t=new ir;return null==t?null:(t.a=0,t.xb=ga,re("Predictor","VP8LPredictors"),re("Predictor","VP8LPredictors_C"),re("PredictorAdd","VP8LPredictorsAdd"),re("PredictorAdd","VP8LPredictorsAdd_C"),$r=$,Zr=X,Qr=K,en=J,tn=Z,rn=Q,nn=ee,e.VP8LMapColor32b=Xr,e.VP8LMapColor8b=Kr,t)}function Ce(e,r,n,s,c){var l=1,h=[e],p=[r],g=s.m,m=s.s,v=null,b=0;e:for(;;){if(n)for(;l&&y(g,1);){var w=h,S=p,k=s,E=1,_=k.m,N=k.gc[k.ab],C=y(_,2);if(k.Oc&1<<C)l=0;else{switch(k.Oc|=1<<C,N.hc=C,N.Ea=w[0],N.nc=S[0],N.K=[null],++k.ab,t(4>=k.ab),C){case 0:case 1:N.b=y(_,3)+2,E=Ce(M(N.Ea,N.b),M(N.nc,N.b),0,k,N.K),N.K=N.K[0];break;case 3:var R,O=y(_,8)+1,L=16<O?0:4<O?1:2<O?2:3;if(w[0]=M(N.Ea,L),N.b=L,R=E=Ce(O,1,0,k,N.K)){var I,F=O,D=N,B=1<<(8>>D.b),W=o(B);if(null==W)R=0;else{var U=D.K[0],z=D.w;for(W[0]=D.K[0][0],I=1;I<1*F;++I)W[I]=j(U[z+I],W[I-1]);for(;I<4*B;++I)W[I]=0;D.K[0]=null,D.K[0]=W,R=1}}E=R;break;case 2:break;default:t(0)}l=E}}if(h=h[0],p=p[0],l&&y(g,1)&&!(l=1<=(b=y(g,4))&&11>=b)){s.a=3;break e}var H;if(H=l)t:{var V,q,$,G=s,X=h,Y=p,K=b,J=n,Z=G.m,Q=G.s,ee=[null],te=1,re=0,ne=Qn[K];r:for(;;){if(J&&y(Z,1)){var ae=y(Z,3)+2,oe=M(X,ae),ie=M(Y,ae),se=oe*ie;if(!Ce(oe,ie,0,G,ee))break r;for(ee=ee[0],Q.xc=ae,V=0;V<se;++V){var ce=ee[V]>>8&65535;ee[V]=ce,ce>=te&&(te=ce+1)}}if(Z.h)break r;for(q=0;5>q;++q){var le=Yn[q];!q&&0<K&&(le+=1<<K),re<le&&(re=le)}var ue=i(te*ne,f),fe=te,he=i(fe,d);if(null==he)var de=null;else t(65536>=fe),de=he;var pe=o(re);if(null==de||null==pe||null==ue){G.a=1;break r}var ge=ue;for(V=$=0;V<te;++V){var me=de[V],ve=me.G,be=me.H,we=0,Se=1,xe=0;for(q=0;5>q;++q){le=Yn[q],ve[q]=ge,be[q]=$,!q&&0<K&&(le+=1<<K);n:{var ke,Ae=le,Te=G,Ne=pe,Re=ge,Oe=$,Le=0,Pe=Te.m,Ie=y(Pe,1);if(a(Ne,0,0,Ae),Ie){var Fe=y(Pe,1)+1,De=y(Pe,1),Me=y(Pe,0==De?1:8);Ne[Me]=1,2==Fe&&(Ne[Me=y(Pe,8)]=1);var je=1}else{var Be=o(19),We=y(Pe,4)+4;if(19<We){Te.a=3;var Ue=0;break n}for(ke=0;ke<We;++ke)Be[Jn[ke]]=y(Pe,3);var ze=void 0,He=void 0,Ve=Te,qe=Be,$e=Ae,Ge=Ne,Xe=0,Ye=Ve.m,Ke=8,Je=i(128,f);a:for(;u(Je,0,7,qe,19);){if(y(Ye,1)){var Ze=2+2*y(Ye,3);if((ze=2+y(Ye,Ze))>$e)break a}else ze=$e;for(He=0;He<$e&&ze--;){T(Ye);var Qe=Je[0+(127&x(Ye))];A(Ye,Ye.u+Qe.g);var et=Qe.value;if(16>et)Ge[He++]=et,0!=et&&(Ke=et);else{var tt=16==et,rt=et-16,nt=Xn[rt],at=y(Ye,Gn[rt])+nt;if(He+at>$e)break a;for(var ot=tt?Ke:0;0<at--;)Ge[He++]=ot}}Xe=1;break a}Xe||(Ve.a=3),je=Xe}(je=je&&!Pe.h)&&(Le=u(Re,Oe,8,Ne,Ae)),je&&0!=Le?Ue=Le:(Te.a=3,Ue=0)}if(0==Ue)break r;if(Se&&1==Kn[q]&&(Se=0==ge[$].g),we+=ge[$].g,$+=Ue,3>=q){var it,st=pe[0];for(it=1;it<le;++it)pe[it]>st&&(st=pe[it]);xe+=st}}if(me.nd=Se,me.Qb=0,Se&&(me.qb=(ve[3][be[3]+0].value<<24|ve[1][be[1]+0].value<<16|ve[2][be[2]+0].value)>>>0,0==we&&256>ve[0][be[0]+0].value&&(me.Qb=1,me.qb+=ve[0][be[0]+0].value<<8)),me.jc=!me.Qb&&6>xe,me.jc){var ct,lt=me;for(ct=0;ct<jr;++ct){var ut=ct,ft=lt.pd[ut],ht=lt.G[0][lt.H[0]+ut];256<=ht.value?(ft.g=ht.g+256,ft.value=ht.value):(ft.g=0,ft.value=0,ut>>=ye(ht,8,ft),ut>>=ye(lt.G[1][lt.H[1]+ut],16,ft),ut>>=ye(lt.G[2][lt.H[2]+ut],0,ft),ye(lt.G[3][lt.H[3]+ut],24,ft))}}}Q.vc=ee,Q.Wb=te,Q.Ya=de,Q.yc=ue,H=1;break t}H=0}if(!(l=H)){s.a=3;break e}if(0<b){if(m.ua=1<<b,!P(m.Wa,b)){s.a=1,l=0;break e}}else m.ua=0;var dt=s,pt=h,gt=p,mt=dt.s,vt=mt.xc;if(dt.c=pt,dt.i=gt,mt.md=M(pt,vt),mt.wc=0==vt?-1:(1<<vt)-1,n){s.xb=pa;break e}if(null==(v=o(h*p))){s.a=1,l=0;break e}l=(l=Ee(s,v,0,h,p,p,null))&&!g.h;break e}return l?(null!=c?c[0]=v:(t(null==v),t(n)),s.$=0,n||_e(m)):_e(m),l}function Re(e,r){var n=e.c*e.i,a=n+r+16*r;return t(e.c<=r),e.V=o(a),null==e.V?(e.Ta=null,e.Ua=0,e.a=1,0):(e.Ta=e.V,e.Ua=e.Ba+n+r,1)}function Oe(e,r){var n=e.C,a=r-n,o=e.V,i=e.Ba+e.c*n;for(t(r<=e.l.o);0<a;){var s=16<a?16:a,c=e.l.ma,l=e.l.width,u=l*s,f=c.ca,h=c.tb+l*n,d=e.Ta,p=e.Ua;Se(e,s,o,i),En(d,p,f,h,u),Ae(c,n,n+s,f,h,l),a-=s,o+=s*e.c,n+=s}t(n==r),e.C=e.Ma=r}function Le(){this.ub=this.yd=this.td=this.Rb=0}function Pe(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function Ie(){this.Fb=this.Bb=this.Cb=0,this.Zb=o(4),this.Lb=o(4)}function Fe(){var e;this.Yb=(function e(t,r,n){for(var a=n[r],o=0;o<a&&(t.push(n.length>r+1?[]:0),!(n.length<r+1));o++)e(t[o],r+1,n)}(e=[],0,[3,11]),e)}function De(){this.jb=o(3),this.Wc=s([4,8],Fe),this.Xc=s([4,17],Fe)}function Me(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new o(4),this.od=new o(4)}function je(){this.ld=this.La=this.dd=this.tc=0}function Be(){this.Na=this.la=0}function We(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function Ue(){this.ad=o(384),this.Za=0,this.Ob=o(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function ze(){this.uc=this.M=this.Nb=0,this.wa=Array(new je),this.Y=0,this.ya=Array(new Ue),this.aa=0,this.l=new $e}function He(){this.y=o(16),this.f=o(8),this.ea=o(8)}function Ve(){this.cb=this.a=0,this.sc="",this.m=new w,this.Od=new Le,this.Kc=new Pe,this.ed=new Me,this.Qa=new Ie,this.Ic=this.$c=this.Aa=0,this.D=new ze,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=i(8,w),this.ia=0,this.pb=i(4,We),this.Pa=new De,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new He),this.Hd=0,this.rb=Array(new Be),this.sb=0,this.wa=Array(new je),this.Y=0,this.oc=[],this.pc=0,this.sa=[],this.ta=0,this.qa=[],this.ra=0,this.Ha=[],this.B=this.R=this.Ia=0,this.Ec=[],this.M=this.ja=this.Vb=this.Fc=0,this.ya=Array(new Ue),this.L=this.aa=0,this.gd=s([4,2],je),this.ga=null,this.Fa=[],this.Cc=this.qc=this.P=0,this.Gb=[],this.Uc=0,this.mb=[],this.nb=0,this.rc=[],this.Ga=this.Vc=0}function qe(e,t){return 0>e?0:e>t?t:e}function $e(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Ge(){var e=new Ve;return null!=e&&(e.a=0,e.sc="OK",e.cb=0,e.Xb=0,na||(na=Je)),e}function Xe(e,t,r){return 0==e.a&&(e.a=t,e.sc=r,e.cb=0),0}function Ye(e,t,r){return 3<=r&&157==e[t+0]&&1==e[t+1]&&42==e[t+2]}function Ke(e,r){if(null==e)return 0;if(e.a=0,e.sc="OK",null==r)return Xe(e,2,"null VP8Io passed to VP8GetHeaders()");var n=r.data,o=r.w,i=r.ha;if(4>i)return Xe(e,7,"Truncated header.");var s=n[o+0]|n[o+1]<<8|n[o+2]<<16,c=e.Od;if(c.Rb=!(1&s),c.td=s>>1&7,c.yd=s>>4&1,c.ub=s>>5,3<c.td)return Xe(e,3,"Incorrect keyframe parameters.");if(!c.yd)return Xe(e,4,"Frame not displayable.");o+=3,i-=3;var l=e.Kc;if(c.Rb){if(7>i)return Xe(e,7,"cannot parse picture header");if(!Ye(n,o,i))return Xe(e,3,"Bad code word");l.c=16383&(n[o+4]<<8|n[o+3]),l.Td=n[o+4]>>6,l.i=16383&(n[o+6]<<8|n[o+5]),l.Ud=n[o+6]>>6,o+=7,i-=7,e.za=l.c+15>>4,e.Ub=l.i+15>>4,r.width=l.c,r.height=l.i,r.Da=0,r.j=0,r.v=0,r.va=r.width,r.o=r.height,r.da=0,r.ib=r.width,r.hb=r.height,r.U=r.width,r.T=r.height,a((s=e.Pa).jb,0,255,s.jb.length),t(null!=(s=e.Qa)),s.Cb=0,s.Bb=0,s.Fb=1,a(s.Zb,0,0,s.Zb.length),a(s.Lb,0,0,s.Lb)}if(c.ub>i)return Xe(e,7,"bad partition length");p(s=e.m,n,o,c.ub),o+=c.ub,i-=c.ub,c.Rb&&(l.Ld=_(s),l.Kd=_(s)),l=e.Qa;var u,f=e.Pa;if(t(null!=s),t(null!=l),l.Cb=_(s),l.Cb){if(l.Bb=_(s),_(s)){for(l.Fb=_(s),u=0;4>u;++u)l.Zb[u]=_(s)?m(s,7):0;for(u=0;4>u;++u)l.Lb[u]=_(s)?m(s,6):0}if(l.Bb)for(u=0;3>u;++u)f.jb[u]=_(s)?g(s,8):255}else l.Bb=0;if(s.Ka)return Xe(e,3,"cannot parse segment header");if((l=e.ed).zd=_(s),l.Tb=g(s,6),l.wb=g(s,3),l.Pc=_(s),l.Pc&&_(s)){for(f=0;4>f;++f)_(s)&&(l.vd[f]=m(s,6));for(f=0;4>f;++f)_(s)&&(l.od[f]=m(s,6))}if(e.L=0==l.Tb?0:l.zd?1:2,s.Ka)return Xe(e,3,"cannot parse filter header");var h=i;if(i=u=o,o=u+h,l=h,e.Xb=(1<<g(e.m,2))-1,h<3*(f=e.Xb))n=7;else{for(u+=3*f,l-=3*f,h=0;h<f;++h){var d=n[i+0]|n[i+1]<<8|n[i+2]<<16;d>l&&(d=l),p(e.Jc[+h],n,u,d),u+=d,l-=d,i+=3}p(e.Jc[+f],n,u,l),n=u<o?0:5}if(0!=n)return Xe(e,n,"cannot parse partitions");for(n=g(u=e.m,7),i=_(u)?m(u,4):0,o=_(u)?m(u,4):0,l=_(u)?m(u,4):0,f=_(u)?m(u,4):0,u=_(u)?m(u,4):0,h=e.Qa,d=0;4>d;++d){if(h.Cb){var v=h.Zb[d];h.Fb||(v+=n)}else{if(0<d){e.pb[d]=e.pb[0];continue}v=n}var b=e.pb[d];b.Sc[0]=ta[qe(v+i,127)],b.Sc[1]=ra[qe(v+0,127)],b.Eb[0]=2*ta[qe(v+o,127)],b.Eb[1]=101581*ra[qe(v+l,127)]>>16,8>b.Eb[1]&&(b.Eb[1]=8),b.Qc[0]=ta[qe(v+f,117)],b.Qc[1]=ra[qe(v+u,127)],b.lc=v+u}if(!c.Rb)return Xe(e,4,"Not a key frame.");for(_(s),c=e.Pa,n=0;4>n;++n){for(i=0;8>i;++i)for(o=0;3>o;++o)for(l=0;11>l;++l)f=N(s,la[n][i][o][l])?g(s,8):sa[n][i][o][l],c.Wc[n][i].Yb[o][l]=f;for(i=0;17>i;++i)c.Xc[n][i]=c.Wc[n][ua[i]]}return e.kc=_(s),e.kc&&(e.Bd=g(s,8)),e.cb=1}function Je(e,t,r,n,a,o,i){var s=t[a].Yb[r];for(r=0;16>a;++a){if(!N(e,s[r+0]))return a;for(;!N(e,s[r+1]);)if(s=t[++a].Yb[0],r=0,16==a)return 16;var c=t[a+1].Yb;if(N(e,s[r+2])){var l=e,u=0;if(N(l,(h=s)[(f=r)+3]))if(N(l,h[f+6])){for(s=0,f=2*(u=N(l,h[f+8]))+(h=N(l,h[f+9+u])),u=0,h=aa[f];h[s];++s)u+=u+N(l,h[s]);u+=3+(8<<f)}else N(l,h[f+7])?(u=7+2*N(l,165),u+=N(l,145)):u=5+N(l,159);else u=N(l,h[f+4])?3+N(l,h[f+5]):2;s=c[2]}else u=1,s=c[1];c=i+oa[a],0>(l=e).b&&E(l);var f,h=l.b,d=(f=l.Ca>>1)-(l.I>>h)>>31;--l.b,l.Ca+=d,l.Ca|=1,l.I-=(f+1&d)<<h,o[c]=((u^d)-d)*n[(0<a)+0]}return 16}function Ze(e){var t=e.rb[e.sb-1];t.la=0,t.Na=0,a(e.zc,0,0,e.zc.length),e.ja=0}function Qe(e,r){if(null==e)return 0;if(null==r)return Xe(e,2,"NULL VP8Io parameter in VP8Decode().");if(!e.cb&&!Ke(e,r))return 0;if(t(e.cb),null==r.ac||r.ac(r)){r.ob&&(e.L=0);var s=Ba[e.L];if(2==e.L?(e.yb=0,e.zb=0):(e.yb=r.v-s>>4,e.zb=r.j-s>>4,0>e.yb&&(e.yb=0),0>e.zb&&(e.zb=0)),e.Va=r.o+15+s>>4,e.Hb=r.va+15+s>>4,e.Hb>e.za&&(e.Hb=e.za),e.Va>e.Ub&&(e.Va=e.Ub),0<e.L){var c=e.ed;for(s=0;4>s;++s){var l;if(e.Qa.Cb){var u=e.Qa.Lb[s];e.Qa.Fb||(u+=c.Tb)}else u=c.Tb;for(l=0;1>=l;++l){var f=e.gd[s][l],h=u;if(c.Pc&&(h+=c.vd[0],l&&(h+=c.od[0])),0<(h=0>h?0:63<h?63:h)){var d=h;0<c.wb&&(d=4<c.wb?d>>2:d>>1)>9-c.wb&&(d=9-c.wb),1>d&&(d=1),f.dd=d,f.tc=2*h+d,f.ld=40<=h?2:15<=h?1:0}else f.tc=0;f.La=l}}}s=0}else Xe(e,6,"Frame setup failed"),s=e.a;if(s=0==s){if(s){e.$c=0,0<e.Aa||(e.Ic=Ua);e:{s=e.Ic,c=4*(d=e.za);var p=32*d,g=d+1,m=0<e.L?d*(0<e.Aa?2:1):0,v=(2==e.Aa?2:1)*d;if((f=c+832+(l=3*(16*s+Ba[e.L])/2*p)+(u=null!=e.Fa&&0<e.Fa.length?e.Kc.c*e.Kc.i:0))!=f)s=0;else{if(f>e.Vb){if(e.Vb=0,e.Ec=o(f),e.Fc=0,null==e.Ec){s=Xe(e,1,"no memory during frame initialization.");break e}e.Vb=f}f=e.Ec,h=e.Fc,e.Ac=f,e.Bc=h,h+=c,e.Gd=i(p,He),e.Hd=0,e.rb=i(g+1,Be),e.sb=1,e.wa=m?i(m,je):null,e.Y=0,e.D.Nb=0,e.D.wa=e.wa,e.D.Y=e.Y,0<e.Aa&&(e.D.Y+=d),t(!0),e.oc=f,e.pc=h,h+=832,e.ya=i(v,Ue),e.aa=0,e.D.ya=e.ya,e.D.aa=e.aa,2==e.Aa&&(e.D.aa+=d),e.R=16*d,e.B=8*d,d=(p=Ba[e.L])*e.R,p=p/2*e.B,e.sa=f,e.ta=h+d,e.qa=e.sa,e.ra=e.ta+16*s*e.R+p,e.Ha=e.qa,e.Ia=e.ra+8*s*e.B+p,e.$c=0,h+=l,e.mb=u?f:null,e.nb=u?h:null,t(h+u<=e.Fc+e.Vb),Ze(e),a(e.Ac,e.Bc,0,c),s=1}}if(s){if(r.ka=0,r.y=e.sa,r.O=e.ta,r.f=e.qa,r.N=e.ra,r.ea=e.Ha,r.Vd=e.Ia,r.fa=e.R,r.Rc=e.B,r.F=null,r.J=0,!On){for(s=-255;255>=s;++s)_n[255+s]=0>s?-s:s;for(s=-1020;1020>=s;++s)Nn[1020+s]=-128>s?-128:127<s?127:s;for(s=-112;112>=s;++s)Cn[112+s]=-16>s?-16:15<s?15:s;for(s=-255;510>=s;++s)Rn[255+s]=0>s?0:255<s?255:s;On=1}an=lt,on=ot,cn=it,ln=st,un=ct,sn=at,fn=Xt,hn=Yt,dn=Zt,pn=Qt,gn=Kt,mn=Jt,vn=er,bn=tr,yn=zt,wn=Ht,Sn=Vt,xn=qt,ha[0]=At,ha[1]=ft,ha[2]=xt,ha[3]=kt,ha[4]=Tt,ha[5]=_t,ha[6]=Et,ha[7]=Nt,ha[8]=Rt,ha[9]=Ct,fa[0]=vt,fa[1]=dt,fa[2]=pt,fa[3]=gt,fa[4]=bt,fa[5]=yt,fa[6]=wt,da[0]=It,da[1]=ht,da[2]=Ot,da[3]=Lt,da[4]=Dt,da[5]=Ft,da[6]=Mt,s=1}else s=0}s&&(s=function(e,r){for(e.M=0;e.M<e.Va;++e.M){var i,s=e.Jc[e.M&e.Xb],c=e.m,l=e;for(i=0;i<l.za;++i){var u=c,f=l,h=f.Ac,d=f.Bc+4*i,p=f.zc,g=f.ya[f.aa+i];if(f.Qa.Bb?g.$b=N(u,f.Pa.jb[0])?2+N(u,f.Pa.jb[2]):N(u,f.Pa.jb[1]):g.$b=0,f.kc&&(g.Ad=N(u,f.Bd)),g.Za=!N(u,145)+0,g.Za){var m=g.Ob,v=0;for(f=0;4>f;++f){var b,y=p[0+f];for(b=0;4>b;++b){y=ca[h[d+b]][y];for(var w=ia[N(u,y[0])];0<w;)w=ia[2*w+N(u,y[w])];y=-w,h[d+b]=y}n(m,v,h,d,4),v+=4,p[0+f]=y}}else y=N(u,156)?N(u,128)?1:3:N(u,163)?2:0,g.Ob[0]=y,a(h,d,y,4),a(p,0,y,4);g.Dd=N(u,142)?N(u,114)?N(u,183)?1:3:2:0}if(l.m.Ka)return Xe(e,7,"Premature end-of-partition0 encountered.");for(;e.ja<e.za;++e.ja){if(l=s,u=(c=e).rb[c.sb-1],h=c.rb[c.sb+c.ja],i=c.ya[c.aa+c.ja],d=c.kc?i.Ad:0)u.la=h.la=0,i.Za||(u.Na=h.Na=0),i.Hc=0,i.Gc=0,i.ia=0;else{var S,x;if(u=h,h=l,d=c.Pa.Xc,p=c.ya[c.aa+c.ja],g=c.pb[p.$b],f=p.ad,m=0,v=c.rb[c.sb-1],y=b=0,a(f,m,0,384),p.Za)var k=0,A=d[3];else{w=o(16);var T=u.Na+v.Na;if(T=na(h,d[1],T,g.Eb,0,w,0),u.Na=v.Na=(0<T)+0,1<T)an(w,0,f,m);else{var E=w[0]+3>>3;for(w=0;256>w;w+=16)f[m+w]=E}k=1,A=d[0]}var _=15&u.la,C=15&v.la;for(w=0;4>w;++w){var R=1&C;for(E=x=0;4>E;++E)_=_>>1|(R=(T=na(h,A,T=R+(1&_),g.Sc,k,f,m))>k)<<7,x=x<<2|(3<T?3:1<T?2:0!=f[m+0]),m+=16;_>>=4,C=C>>1|R<<7,b=(b<<8|x)>>>0}for(A=_,k=C>>4,S=0;4>S;S+=2){for(x=0,_=u.la>>4+S,C=v.la>>4+S,w=0;2>w;++w){for(R=1&C,E=0;2>E;++E)T=R+(1&_),_=_>>1|(R=0<(T=na(h,d[2],T,g.Qc,0,f,m)))<<3,x=x<<2|(3<T?3:1<T?2:0!=f[m+0]),m+=16;_>>=2,C=C>>1|R<<5}y|=x<<4*S,A|=_<<4<<S,k|=(240&C)<<S}u.la=A,v.la=k,p.Hc=b,p.Gc=y,p.ia=43690&y?0:g.ia,d=!(b|y)}if(0<c.L&&(c.wa[c.Y+c.ja]=c.gd[i.$b][i.Za],c.wa[c.Y+c.ja].La|=!d),l.Ka)return Xe(e,7,"Premature end-of-file encountered.")}if(Ze(e),c=r,l=1,i=(s=e).D,u=0<s.L&&s.M>=s.zb&&s.M<=s.Va,0==s.Aa)e:{if(i.M=s.M,i.uc=u,Pr(s,i),l=1,i=(x=s.D).Nb,u=(y=Ba[s.L])*s.R,h=y/2*s.B,w=16*i*s.R,E=8*i*s.B,d=s.sa,p=s.ta-u+w,g=s.qa,f=s.ra-h+E,m=s.Ha,v=s.Ia-h+E,C=0==(_=x.M),b=_>=s.Va-1,2==s.Aa&&Pr(s,x),x.uc)for(R=(T=s).D.M,t(T.D.uc),x=T.yb;x<T.Hb;++x){k=x,A=R;var O=(L=(U=T).D).Nb;S=U.R;var L=L.wa[L.Y+k],P=U.sa,I=U.ta+16*O*S+16*k,F=L.dd,D=L.tc;if(0!=D)if(t(3<=D),1==U.L)0<k&&wn(P,I,S,D+4),L.La&&xn(P,I,S,D),0<A&&yn(P,I,S,D+4),L.La&&Sn(P,I,S,D);else{var M=U.B,j=U.qa,B=U.ra+8*O*M+8*k,W=U.Ha,U=U.Ia+8*O*M+8*k;O=L.ld,0<k&&(hn(P,I,S,D+4,F,O),pn(j,B,W,U,M,D+4,F,O)),L.La&&(mn(P,I,S,D,F,O),bn(j,B,W,U,M,D,F,O)),0<A&&(fn(P,I,S,D+4,F,O),dn(j,B,W,U,M,D+4,F,O)),L.La&&(gn(P,I,S,D,F,O),vn(j,B,W,U,M,D,F,O))}}if(s.ia&&alert("todo:DitherRow"),null!=c.put){if(x=16*_,_=16*(_+1),C?(c.y=s.sa,c.O=s.ta+w,c.f=s.qa,c.N=s.ra+E,c.ea=s.Ha,c.W=s.Ia+E):(x-=y,c.y=d,c.O=p,c.f=g,c.N=f,c.ea=m,c.W=v),b||(_-=y),_>c.o&&(_=c.o),c.F=null,c.J=null,null!=s.Fa&&0<s.Fa.length&&x<_&&(c.J=fr(s,c,x,_-x),c.F=s.mb,null==c.F&&0==c.F.length)){l=Xe(s,3,"Could not decode alpha data.");break e}x<c.j&&(y=c.j-x,x=c.j,t(!(1&y)),c.O+=s.R*y,c.N+=s.B*(y>>1),c.W+=s.B*(y>>1),null!=c.F&&(c.J+=c.width*y)),x<_&&(c.O+=c.v,c.N+=c.v>>1,c.W+=c.v>>1,null!=c.F&&(c.J+=c.v),c.ka=x-c.j,c.U=c.va-c.v,c.T=_-x,l=c.put(c))}i+1!=s.Ic||b||(n(s.sa,s.ta-u,d,p+16*s.R,u),n(s.qa,s.ra-h,g,f+8*s.B,h),n(s.Ha,s.Ia-h,m,v+8*s.B,h))}if(!l)return Xe(e,6,"Output aborted.")}return 1}(e,r)),null!=r.bc&&r.bc(r),s&=1}return s?(e.cb=0,s):0}function et(e,t,r,n,a){a=e[t+r+32*n]+(a>>3),e[t+r+32*n]=-256&a?0>a?0:255:a}function tt(e,t,r,n,a,o){et(e,t,0,r,n+a),et(e,t,1,r,n+o),et(e,t,2,r,n-o),et(e,t,3,r,n-a)}function rt(e){return(20091*e>>16)+e}function nt(e,t,r,n){var a,i=0,s=o(16);for(a=0;4>a;++a){var c=e[t+0]+e[t+8],l=e[t+0]-e[t+8],u=(35468*e[t+4]>>16)-rt(e[t+12]),f=rt(e[t+4])+(35468*e[t+12]>>16);s[i+0]=c+f,s[i+1]=l+u,s[i+2]=l-u,s[i+3]=c-f,i+=4,t++}for(a=i=0;4>a;++a)c=(e=s[i+0]+4)+s[i+8],l=e-s[i+8],u=(35468*s[i+4]>>16)-rt(s[i+12]),et(r,n,0,0,c+(f=rt(s[i+4])+(35468*s[i+12]>>16))),et(r,n,1,0,l+u),et(r,n,2,0,l-u),et(r,n,3,0,c-f),i++,n+=32}function at(e,t,r,n){var a=e[t+0]+4,o=35468*e[t+4]>>16,i=rt(e[t+4]),s=35468*e[t+1]>>16;tt(r,n,0,a+i,e=rt(e[t+1]),s),tt(r,n,1,a+o,e,s),tt(r,n,2,a-o,e,s),tt(r,n,3,a-i,e,s)}function ot(e,t,r,n,a){nt(e,t,r,n),a&&nt(e,t+16,r,n+4)}function it(e,t,r,n){on(e,t+0,r,n,1),on(e,t+32,r,n+128,1)}function st(e,t,r,n){var a;for(e=e[t+0]+4,a=0;4>a;++a)for(t=0;4>t;++t)et(r,n,t,a,e)}function ct(e,t,r,n){e[t+0]&&ln(e,t+0,r,n),e[t+16]&&ln(e,t+16,r,n+4),e[t+32]&&ln(e,t+32,r,n+128),e[t+48]&&ln(e,t+48,r,n+128+4)}function lt(e,t,r,n){var a,i=o(16);for(a=0;4>a;++a){var s=e[t+0+a]+e[t+12+a],c=e[t+4+a]+e[t+8+a],l=e[t+4+a]-e[t+8+a],u=e[t+0+a]-e[t+12+a];i[0+a]=s+c,i[8+a]=s-c,i[4+a]=u+l,i[12+a]=u-l}for(a=0;4>a;++a)s=(e=i[0+4*a]+3)+i[3+4*a],c=i[1+4*a]+i[2+4*a],l=i[1+4*a]-i[2+4*a],u=e-i[3+4*a],r[n+0]=s+c>>3,r[n+16]=u+l>>3,r[n+32]=s-c>>3,r[n+48]=u-l>>3,n+=64}function ut(e,t,r){var n,a=t-32,o=In,i=255-e[a-1];for(n=0;n<r;++n){var s,c=o,l=i+e[t-1];for(s=0;s<r;++s)e[t+s]=c[l+e[a+s]];t+=32}}function ft(e,t){ut(e,t,4)}function ht(e,t){ut(e,t,8)}function dt(e,t){ut(e,t,16)}function pt(e,t){var r;for(r=0;16>r;++r)n(e,t+32*r,e,t-32,16)}function gt(e,t){var r;for(r=16;0<r;--r)a(e,t,e[t-1],16),t+=32}function mt(e,t,r){var n;for(n=0;16>n;++n)a(t,r+32*n,e,16)}function vt(e,t){var r,n=16;for(r=0;16>r;++r)n+=e[t-1+32*r]+e[t+r-32];mt(n>>5,e,t)}function bt(e,t){var r,n=8;for(r=0;16>r;++r)n+=e[t-1+32*r];mt(n>>4,e,t)}function yt(e,t){var r,n=8;for(r=0;16>r;++r)n+=e[t+r-32];mt(n>>4,e,t)}function wt(e,t){mt(128,e,t)}function St(e,t,r){return e+2*t+r+2>>2}function xt(e,t){var r,a=t-32;for(a=new Uint8Array([St(e[a-1],e[a+0],e[a+1]),St(e[a+0],e[a+1],e[a+2]),St(e[a+1],e[a+2],e[a+3]),St(e[a+2],e[a+3],e[a+4])]),r=0;4>r;++r)n(e,t+32*r,a,0,a.length)}function kt(e,t){var r=e[t-1],n=e[t-1+32],a=e[t-1+64],o=e[t-1+96];C(e,t+0,16843009*St(e[t-1-32],r,n)),C(e,t+32,16843009*St(r,n,a)),C(e,t+64,16843009*St(n,a,o)),C(e,t+96,16843009*St(a,o,o))}function At(e,t){var r,n=4;for(r=0;4>r;++r)n+=e[t+r-32]+e[t-1+32*r];for(n>>=3,r=0;4>r;++r)a(e,t+32*r,n,4)}function Tt(e,t){var r=e[t-1+0],n=e[t-1+32],a=e[t-1+64],o=e[t-1-32],i=e[t+0-32],s=e[t+1-32],c=e[t+2-32],l=e[t+3-32];e[t+0+96]=St(n,a,e[t-1+96]),e[t+1+96]=e[t+0+64]=St(r,n,a),e[t+2+96]=e[t+1+64]=e[t+0+32]=St(o,r,n),e[t+3+96]=e[t+2+64]=e[t+1+32]=e[t+0+0]=St(i,o,r),e[t+3+64]=e[t+2+32]=e[t+1+0]=St(s,i,o),e[t+3+32]=e[t+2+0]=St(c,s,i),e[t+3+0]=St(l,c,s)}function Et(e,t){var r=e[t+1-32],n=e[t+2-32],a=e[t+3-32],o=e[t+4-32],i=e[t+5-32],s=e[t+6-32],c=e[t+7-32];e[t+0+0]=St(e[t+0-32],r,n),e[t+1+0]=e[t+0+32]=St(r,n,a),e[t+2+0]=e[t+1+32]=e[t+0+64]=St(n,a,o),e[t+3+0]=e[t+2+32]=e[t+1+64]=e[t+0+96]=St(a,o,i),e[t+3+32]=e[t+2+64]=e[t+1+96]=St(o,i,s),e[t+3+64]=e[t+2+96]=St(i,s,c),e[t+3+96]=St(s,c,c)}function _t(e,t){var r=e[t-1+0],n=e[t-1+32],a=e[t-1+64],o=e[t-1-32],i=e[t+0-32],s=e[t+1-32],c=e[t+2-32],l=e[t+3-32];e[t+0+0]=e[t+1+64]=o+i+1>>1,e[t+1+0]=e[t+2+64]=i+s+1>>1,e[t+2+0]=e[t+3+64]=s+c+1>>1,e[t+3+0]=c+l+1>>1,e[t+0+96]=St(a,n,r),e[t+0+64]=St(n,r,o),e[t+0+32]=e[t+1+96]=St(r,o,i),e[t+1+32]=e[t+2+96]=St(o,i,s),e[t+2+32]=e[t+3+96]=St(i,s,c),e[t+3+32]=St(s,c,l)}function Nt(e,t){var r=e[t+0-32],n=e[t+1-32],a=e[t+2-32],o=e[t+3-32],i=e[t+4-32],s=e[t+5-32],c=e[t+6-32],l=e[t+7-32];e[t+0+0]=r+n+1>>1,e[t+1+0]=e[t+0+64]=n+a+1>>1,e[t+2+0]=e[t+1+64]=a+o+1>>1,e[t+3+0]=e[t+2+64]=o+i+1>>1,e[t+0+32]=St(r,n,a),e[t+1+32]=e[t+0+96]=St(n,a,o),e[t+2+32]=e[t+1+96]=St(a,o,i),e[t+3+32]=e[t+2+96]=St(o,i,s),e[t+3+64]=St(i,s,c),e[t+3+96]=St(s,c,l)}function Ct(e,t){var r=e[t-1+0],n=e[t-1+32],a=e[t-1+64],o=e[t-1+96];e[t+0+0]=r+n+1>>1,e[t+2+0]=e[t+0+32]=n+a+1>>1,e[t+2+32]=e[t+0+64]=a+o+1>>1,e[t+1+0]=St(r,n,a),e[t+3+0]=e[t+1+32]=St(n,a,o),e[t+3+32]=e[t+1+64]=St(a,o,o),e[t+3+64]=e[t+2+64]=e[t+0+96]=e[t+1+96]=e[t+2+96]=e[t+3+96]=o}function Rt(e,t){var r=e[t-1+0],n=e[t-1+32],a=e[t-1+64],o=e[t-1+96],i=e[t-1-32],s=e[t+0-32],c=e[t+1-32],l=e[t+2-32];e[t+0+0]=e[t+2+32]=r+i+1>>1,e[t+0+32]=e[t+2+64]=n+r+1>>1,e[t+0+64]=e[t+2+96]=a+n+1>>1,e[t+0+96]=o+a+1>>1,e[t+3+0]=St(s,c,l),e[t+2+0]=St(i,s,c),e[t+1+0]=e[t+3+32]=St(r,i,s),e[t+1+32]=e[t+3+64]=St(n,r,i),e[t+1+64]=e[t+3+96]=St(a,n,r),e[t+1+96]=St(o,a,n)}function Ot(e,t){var r;for(r=0;8>r;++r)n(e,t+32*r,e,t-32,8)}function Lt(e,t){var r;for(r=0;8>r;++r)a(e,t,e[t-1],8),t+=32}function Pt(e,t,r){var n;for(n=0;8>n;++n)a(t,r+32*n,e,8)}function It(e,t){var r,n=8;for(r=0;8>r;++r)n+=e[t+r-32]+e[t-1+32*r];Pt(n>>4,e,t)}function Ft(e,t){var r,n=4;for(r=0;8>r;++r)n+=e[t+r-32];Pt(n>>3,e,t)}function Dt(e,t){var r,n=4;for(r=0;8>r;++r)n+=e[t-1+32*r];Pt(n>>3,e,t)}function Mt(e,t){Pt(128,e,t)}function jt(e,t,r){var n=e[t-r],a=e[t+0],o=3*(a-n)+Ln[1020+e[t-2*r]-e[t+r]],i=Pn[112+(o+4>>3)];e[t-r]=In[255+n+Pn[112+(o+3>>3)]],e[t+0]=In[255+a-i]}function Bt(e,t,r,n){var a=e[t+0],o=e[t+r];return Fn[255+e[t-2*r]-e[t-r]]>n||Fn[255+o-a]>n}function Wt(e,t,r,n){return 4*Fn[255+e[t-r]-e[t+0]]+Fn[255+e[t-2*r]-e[t+r]]<=n}function Ut(e,t,r,n,a){var o=e[t-3*r],i=e[t-2*r],s=e[t-r],c=e[t+0],l=e[t+r],u=e[t+2*r],f=e[t+3*r];return 4*Fn[255+s-c]+Fn[255+i-l]>n?0:Fn[255+e[t-4*r]-o]<=a&&Fn[255+o-i]<=a&&Fn[255+i-s]<=a&&Fn[255+f-u]<=a&&Fn[255+u-l]<=a&&Fn[255+l-c]<=a}function zt(e,t,r,n){var a=2*n+1;for(n=0;16>n;++n)Wt(e,t+n,r,a)&&jt(e,t+n,r)}function Ht(e,t,r,n){var a=2*n+1;for(n=0;16>n;++n)Wt(e,t+n*r,1,a)&&jt(e,t+n*r,1)}function Vt(e,t,r,n){var a;for(a=3;0<a;--a)zt(e,t+=4*r,r,n)}function qt(e,t,r,n){var a;for(a=3;0<a;--a)Ht(e,t+=4,r,n)}function $t(e,t,r,n,a,o,i,s){for(o=2*o+1;0<a--;){if(Ut(e,t,r,o,i))if(Bt(e,t,r,s))jt(e,t,r);else{var c=e,l=t,u=r,f=c[l-2*u],h=c[l-u],d=c[l+0],p=c[l+u],g=c[l+2*u],m=27*(b=Ln[1020+3*(d-h)+Ln[1020+f-p]])+63>>7,v=18*b+63>>7,b=9*b+63>>7;c[l-3*u]=In[255+c[l-3*u]+b],c[l-2*u]=In[255+f+v],c[l-u]=In[255+h+m],c[l+0]=In[255+d-m],c[l+u]=In[255+p-v],c[l+2*u]=In[255+g-b]}t+=n}}function Gt(e,t,r,n,a,o,i,s){for(o=2*o+1;0<a--;){if(Ut(e,t,r,o,i))if(Bt(e,t,r,s))jt(e,t,r);else{var c=e,l=t,u=r,f=c[l-u],h=c[l+0],d=c[l+u],p=Pn[112+(4+(g=3*(h-f))>>3)],g=Pn[112+(g+3>>3)],m=p+1>>1;c[l-2*u]=In[255+c[l-2*u]+m],c[l-u]=In[255+f+g],c[l+0]=In[255+h-p],c[l+u]=In[255+d-m]}t+=n}}function Xt(e,t,r,n,a,o){$t(e,t,r,1,16,n,a,o)}function Yt(e,t,r,n,a,o){$t(e,t,1,r,16,n,a,o)}function Kt(e,t,r,n,a,o){var i;for(i=3;0<i;--i)Gt(e,t+=4*r,r,1,16,n,a,o)}function Jt(e,t,r,n,a,o){var i;for(i=3;0<i;--i)Gt(e,t+=4,1,r,16,n,a,o)}function Zt(e,t,r,n,a,o,i,s){$t(e,t,a,1,8,o,i,s),$t(r,n,a,1,8,o,i,s)}function Qt(e,t,r,n,a,o,i,s){$t(e,t,1,a,8,o,i,s),$t(r,n,1,a,8,o,i,s)}function er(e,t,r,n,a,o,i,s){Gt(e,t+4*a,a,1,8,o,i,s),Gt(r,n+4*a,a,1,8,o,i,s)}function tr(e,t,r,n,a,o,i,s){Gt(e,t+4,1,a,8,o,i,s),Gt(r,n+4,1,a,8,o,i,s)}function rr(){this.ba=new ie,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new ce,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function nr(){this.data=[],this.offset=this.kd=this.ha=this.w=0,this.na=[],this.xa=this.gb=this.Ja=this.Sa=this.P=0}function ar(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function or(){this.ua=0,this.Wa=new F,this.vb=new F,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new d,this.yc=new f}function ir(){this.xb=this.a=0,this.l=new $e,this.ca=new ie,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new S,this.Pb=0,this.wd=new S,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new or,this.ab=0,this.gc=i(4,ar),this.Oc=0}function sr(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new $e,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function cr(e,t,r,n,a,o,i){for(e=null==e?0:e[t+0],t=0;t<i;++t)a[o+t]=e+r[n+t]&255,e=a[o+t]}function lr(e,t,r,n,a,o,i){var s;if(null==e)cr(null,null,r,n,a,o,i);else for(s=0;s<i;++s)a[o+s]=e[t+s]+r[n+s]&255}function ur(e,t,r,n,a,o,i){if(null==e)cr(null,null,r,n,a,o,i);else{var s,c=e[t+0],l=c,u=c;for(s=0;s<i;++s)l=u+(c=e[t+s])-l,u=r[n+s]+(-256&l?0>l?0:255:l)&255,l=c,a[o+s]=u}}function fr(e,r,a,i){var s=r.width,c=r.o;if(t(null!=e&&null!=r),0>a||0>=i||a+i>c)return null;if(!e.Cc){if(null==e.ga){var l;if(e.ga=new sr,(l=null==e.ga)||(l=r.width*r.o,t(0==e.Gb.length),e.Gb=o(l),e.Uc=0,null==e.Gb?l=0:(e.mb=e.Gb,e.nb=e.Uc,e.rc=null,l=1),l=!l),!l){l=e.ga;var u=e.Fa,f=e.P,h=e.qc,d=e.mb,p=e.nb,g=f+1,m=h-1,b=l.l;if(t(null!=u&&null!=d&&null!=r),ma[0]=null,ma[1]=cr,ma[2]=lr,ma[3]=ur,l.ca=d,l.tb=p,l.c=r.width,l.i=r.height,t(0<l.c&&0<l.i),1>=h)r=0;else if(l.$a=u[f+0]>>0&3,l.Z=u[f+0]>>2&3,l.Lc=u[f+0]>>4&3,f=u[f+0]>>6&3,0>l.$a||1<l.$a||4<=l.Z||1<l.Lc||f)r=0;else if(b.put=de,b.ac=he,b.bc=pe,b.ma=l,b.width=r.width,b.height=r.height,b.Da=r.Da,b.v=r.v,b.va=r.va,b.j=r.j,b.o=r.o,l.$a)e:{t(1==l.$a),r=Ne();t:for(;;){if(null==r){r=0;break e}if(t(null!=l),l.mc=r,r.c=l.c,r.i=l.i,r.l=l.l,r.l.ma=l,r.l.width=l.c,r.l.height=l.i,r.a=0,v(r.m,u,g,m),!Ce(l.c,l.i,1,r,null))break t;if(1==r.ab&&3==r.gc[0].hc&&ke(r.s)?(l.ic=1,u=r.c*r.i,r.Ta=null,r.Ua=0,r.V=o(u),r.Ba=0,null==r.V?(r.a=1,r=0):r=1):(l.ic=0,r=Re(r,l.c)),!r)break t;r=1;break e}l.mc=null,r=0}else r=m>=l.c*l.i;l=!r}if(l)return null;1!=e.ga.Lc?e.Ga=0:i=c-a}t(null!=e.ga),t(a+i<=c);e:{if(r=(u=e.ga).c,c=u.l.o,0==u.$a){if(g=e.rc,m=e.Vc,b=e.Fa,f=e.P+1+a*r,h=e.mb,d=e.nb+a*r,t(f<=e.P+e.qc),0!=u.Z)for(t(null!=ma[u.Z]),l=0;l<i;++l)ma[u.Z](g,m,b,f,h,d,r),g=h,m=d,d+=r,f+=r;else for(l=0;l<i;++l)n(h,d,b,f,r),g=h,m=d,d+=r,f+=r;e.rc=g,e.Vc=m}else{if(t(null!=u.mc),r=a+i,t(null!=(l=u.mc)),t(r<=l.i),l.C>=r)r=1;else if(u.ic||mr(),u.ic){u=l.V,g=l.Ba,m=l.c;var y=l.i,w=(b=1,f=l.$/m,h=l.$%m,d=l.m,p=l.s,l.$),S=m*y,x=m*r,A=p.wc,E=w<x?we(p,h,f):null;t(w<=S),t(r<=y),t(ke(p));t:for(;;){for(;!d.h&&w<x;){if(h&A||(E=we(p,h,f)),t(null!=E),T(d),256>(y=be(E.G[0],E.H[0],d)))u[g+w]=y,++w,++h>=m&&(h=0,++f<=r&&!(f%16)&&Te(l,f));else{if(!(280>y)){b=0;break t}y=me(y-256,d);var _,N=be(E.G[4],E.H[4],d);if(T(d),!(w>=(N=ve(m,N=me(N,d)))&&S-w>=y)){b=0;break t}for(_=0;_<y;++_)u[g+w+_]=u[g+w+_-N];for(w+=y,h+=y;h>=m;)h-=m,++f<=r&&!(f%16)&&Te(l,f);w<x&&h&A&&(E=we(p,h,f))}t(d.h==k(d))}Te(l,f>r?r:f);break t}!b||d.h&&w<S?(b=0,l.a=d.h?5:3):l.$=w,r=b}else r=Ee(l,l.V,l.Ba,l.c,l.i,r,Oe);if(!r){i=0;break e}}a+i>=c&&(e.Cc=1),i=1}if(!i)return null;if(e.Cc&&(null!=(i=e.ga)&&(i.mc=null),e.ga=null,0<e.Ga))return alert("todo:WebPDequantizeLevels"),null}return e.nb+a*s}function hr(e,t,r,n,a,o){for(;0<a--;){var i,s=e,c=t+(r?1:0),l=e,u=t+(r?0:3);for(i=0;i<n;++i){var f=l[u+4*i];255!=f&&(f*=32897,s[c+4*i+0]=s[c+4*i+0]*f>>23,s[c+4*i+1]=s[c+4*i+1]*f>>23,s[c+4*i+2]=s[c+4*i+2]*f>>23)}t+=o}}function dr(e,t,r,n,a){for(;0<n--;){var o;for(o=0;o<r;++o){var i=e[t+2*o+0],s=15&(l=e[t+2*o+1]),c=4369*s,l=(240&l|l>>4)*c>>16;e[t+2*o+0]=(240&i|i>>4)*c>>16&240|(15&i|i<<4)*c>>16>>4&15,e[t+2*o+1]=240&l|s}t+=a}}function pr(e,t,r,n,a,o,i,s){var c,l,u=255;for(l=0;l<a;++l){for(c=0;c<n;++c){var f=e[t+c];o[i+4*c]=f,u&=f}t+=r,i+=s}return 255!=u}function gr(e,t,r,n,a){var o;for(o=0;o<a;++o)r[n+o]=e[t+o]>>8}function mr(){kn=hr,An=dr,Tn=pr,En=gr}function vr(r,n,a){e[r]=function(e,r,o,i,s,c,l,u,f,h,d,p,g,m,v,b,y){var w,S=y-1>>1,x=s[c+0]|l[u+0]<<16,k=f[h+0]|d[p+0]<<16;t(null!=e);var A=3*x+k+131074>>2;for(n(e[r+0],255&A,A>>16,g,m),null!=o&&(A=3*k+x+131074>>2,n(o[i+0],255&A,A>>16,v,b)),w=1;w<=S;++w){var T=s[c+w]|l[u+w]<<16,E=f[h+w]|d[p+w]<<16,_=x+T+k+E+524296,N=_+2*(T+k)>>3;A=N+x>>1,x=(_=_+2*(x+E)>>3)+T>>1,n(e[r+2*w-1],255&A,A>>16,g,m+(2*w-1)*a),n(e[r+2*w-0],255&x,x>>16,g,m+(2*w-0)*a),null!=o&&(A=_+k>>1,x=N+E>>1,n(o[i+2*w-1],255&A,A>>16,v,b+(2*w-1)*a),n(o[i+2*w+0],255&x,x>>16,v,b+(2*w+0)*a)),x=T,k=E}1&y||(A=3*x+k+131074>>2,n(e[r+y-1],255&A,A>>16,g,m+(y-1)*a),null!=o&&(A=3*k+x+131074>>2,n(o[i+y-1],255&A,A>>16,v,b+(y-1)*a)))}}function br(){va[Dn]=ba,va[Mn]=wa,va[jn]=ya,va[Bn]=Sa,va[Wn]=xa,va[Un]=ka,va[zn]=Aa,va[Hn]=wa,va[Vn]=Sa,va[qn]=xa,va[$n]=ka}function yr(e){return e&~Ra?0>e?0:255:e>>Ca}function wr(e,t){return yr((19077*e>>8)+(26149*t>>8)-14234)}function Sr(e,t,r){return yr((19077*e>>8)-(6419*t>>8)-(13320*r>>8)+8708)}function xr(e,t){return yr((19077*e>>8)+(33050*t>>8)-17685)}function kr(e,t,r,n,a){n[a+0]=wr(e,r),n[a+1]=Sr(e,t,r),n[a+2]=xr(e,t)}function Ar(e,t,r,n,a){n[a+0]=xr(e,t),n[a+1]=Sr(e,t,r),n[a+2]=wr(e,r)}function Tr(e,t,r,n,a){var o=Sr(e,t,r);t=o<<3&224|xr(e,t)>>3,n[a+0]=248&wr(e,r)|o>>5,n[a+1]=t}function Er(e,t,r,n,a){var o=240&xr(e,t)|15;n[a+0]=240&wr(e,r)|Sr(e,t,r)>>4,n[a+1]=o}function _r(e,t,r,n,a){n[a+0]=255,kr(e,t,r,n,a+1)}function Nr(e,t,r,n,a){Ar(e,t,r,n,a),n[a+3]=255}function Cr(e,t,r,n,a){kr(e,t,r,n,a),n[a+3]=255}function qe(e,t){return 0>e?0:e>t?t:e}function Rr(t,r,n){e[t]=function(e,t,a,o,i,s,c,l,u){for(var f=l+(-2&u)*n;l!=f;)r(e[t+0],a[o+0],i[s+0],c,l),r(e[t+1],a[o+0],i[s+0],c,l+n),t+=2,++o,++s,l+=2*n;1&u&&r(e[t+0],a[o+0],i[s+0],c,l)}}function Or(e,t,r){return 0==r?0==e?0==t?6:5:0==t?4:0:r}function Lr(e,t,r,n,a){switch(e>>>30){case 3:on(t,r,n,a,0);break;case 2:sn(t,r,n,a);break;case 1:ln(t,r,n,a)}}function Pr(e,t){var r,o,i=t.M,s=t.Nb,c=e.oc,l=e.pc+40,u=e.oc,f=e.pc+584,h=e.oc,d=e.pc+600;for(r=0;16>r;++r)c[l+32*r-1]=129;for(r=0;8>r;++r)u[f+32*r-1]=129,h[d+32*r-1]=129;for(0<i?c[l-1-32]=u[f-1-32]=h[d-1-32]=129:(a(c,l-32-1,127,21),a(u,f-32-1,127,9),a(h,d-32-1,127,9)),o=0;o<e.za;++o){var p=t.ya[t.aa+o];if(0<o){for(r=-1;16>r;++r)n(c,l+32*r-4,c,l+32*r+12,4);for(r=-1;8>r;++r)n(u,f+32*r-4,u,f+32*r+4,4),n(h,d+32*r-4,h,d+32*r+4,4)}var g=e.Gd,m=e.Hd+o,v=p.ad,b=p.Hc;if(0<i&&(n(c,l-32,g[m].y,0,16),n(u,f-32,g[m].f,0,8),n(h,d-32,g[m].ea,0,8)),p.Za){var y=c,w=l-32+16;for(0<i&&(o>=e.za-1?a(y,w,g[m].y[15],4):n(y,w,g[m+1].y,0,4)),r=0;4>r;r++)y[w+128+r]=y[w+256+r]=y[w+384+r]=y[w+0+r];for(r=0;16>r;++r,b<<=2)y=c,w=l+ja[r],ha[p.Ob[r]](y,w),Lr(b,v,16*+r,y,w)}else if(y=Or(o,i,p.Ob[0]),fa[y](c,l),0!=b)for(r=0;16>r;++r,b<<=2)Lr(b,v,16*+r,c,l+ja[r]);for(r=p.Gc,y=Or(o,i,p.Dd),da[y](u,f),da[y](h,d),b=v,y=u,w=f,255&(p=r>>0)&&(170&p?cn(b,256,y,w):un(b,256,y,w)),p=h,b=d,255&(r>>=8)&&(170&r?cn(v,320,p,b):un(v,320,p,b)),i<e.Ub-1&&(n(g[m].y,0,c,l+480,16),n(g[m].f,0,u,f+224,8),n(g[m].ea,0,h,d+224,8)),r=8*s*e.B,g=e.sa,m=e.ta+16*o+16*s*e.R,v=e.qa,p=e.ra+8*o+r,b=e.Ha,y=e.Ia+8*o+r,r=0;16>r;++r)n(g,m+r*e.R,c,l+32*r,16);for(r=0;8>r;++r)n(v,p+r*e.B,u,f+32*r,8),n(b,y+r*e.B,h,d+32*r,8)}}function Ir(e,n,a,o,i,s,c,l,u){var f=[0],h=[0],d=0,p=null!=u?u.kd:0,g=null!=u?u:new nr;if(null==e||12>a)return 7;g.data=e,g.w=n,g.ha=a,n=[n],a=[a],g.gb=[g.gb];e:{var m=n,b=a,y=g.gb;if(t(null!=e),t(null!=b),t(null!=y),y[0]=0,12<=b[0]&&!r(e,m[0],"RIFF")){if(r(e,m[0]+8,"WEBP")){y=3;break e}var w=L(e,m[0]+4);if(12>w||4294967286<w){y=3;break e}if(p&&w>b[0]-8){y=7;break e}y[0]=w,m[0]+=12,b[0]-=12}y=0}if(0!=y)return y;for(w=0<g.gb[0],a=a[0];;){e:{var x=e;b=n,y=a;var k=f,A=h,T=m=[0];if((N=d=[d])[0]=0,8>y[0])y=7;else{if(!r(x,b[0],"VP8X")){if(10!=L(x,b[0]+4)){y=3;break e}if(18>y[0]){y=7;break e}var E=L(x,b[0]+8),_=1+O(x,b[0]+12);if(2147483648<=_*(x=1+O(x,b[0]+15))){y=3;break e}null!=T&&(T[0]=E),null!=k&&(k[0]=_),null!=A&&(A[0]=x),b[0]+=18,y[0]-=18,N[0]=1}y=0}}if(d=d[0],m=m[0],0!=y)return y;if(b=!!(2&m),!w&&d)return 3;if(null!=s&&(s[0]=!!(16&m)),null!=c&&(c[0]=b),null!=l&&(l[0]=0),c=f[0],m=h[0],d&&b&&null==u){y=0;break}if(4>a){y=7;break}if(w&&d||!w&&!d&&!r(e,n[0],"ALPH")){a=[a],g.na=[g.na],g.P=[g.P],g.Sa=[g.Sa];e:{E=e,y=n,w=a;var N=g.gb;k=g.na,A=g.P,T=g.Sa,_=22,t(null!=E),t(null!=w),x=y[0];var C=w[0];for(t(null!=k),t(null!=T),k[0]=null,A[0]=null,T[0]=0;;){if(y[0]=x,w[0]=C,8>C){y=7;break e}var R=L(E,x+4);if(4294967286<R){y=3;break e}var P=8+R+1&-2;if(_+=P,0<N&&_>N){y=3;break e}if(!r(E,x,"VP8 ")||!r(E,x,"VP8L")){y=0;break e}if(C[0]<P){y=7;break e}r(E,x,"ALPH")||(k[0]=E,A[0]=x+8,T[0]=R),x+=P,C-=P}}if(a=a[0],g.na=g.na[0],g.P=g.P[0],g.Sa=g.Sa[0],0!=y)break}a=[a],g.Ja=[g.Ja],g.xa=[g.xa];e:if(N=e,y=n,w=a,k=g.gb[0],A=g.Ja,T=g.xa,E=y[0],x=!r(N,E,"VP8 "),_=!r(N,E,"VP8L"),t(null!=N),t(null!=w),t(null!=A),t(null!=T),8>w[0])y=7;else{if(x||_){if(N=L(N,E+4),12<=k&&N>k-12){y=3;break e}if(p&&N>w[0]-8){y=7;break e}A[0]=N,y[0]+=8,w[0]-=8,T[0]=_}else T[0]=5<=w[0]&&47==N[E+0]&&!(N[E+4]>>5),A[0]=w[0];y=0}if(a=a[0],g.Ja=g.Ja[0],g.xa=g.xa[0],n=n[0],0!=y)break;if(4294967286<g.Ja)return 3;if(null==l||b||(l[0]=g.xa?2:1),c=[c],m=[m],g.xa){if(5>a){y=7;break}l=c,p=m,b=s,null==e||5>a?e=0:5<=a&&47==e[n+0]&&!(e[n+4]>>5)?(w=[0],N=[0],k=[0],v(A=new S,e,n,a),ge(A,w,N,k)?(null!=l&&(l[0]=w[0]),null!=p&&(p[0]=N[0]),null!=b&&(b[0]=k[0]),e=1):e=0):e=0}else{if(10>a){y=7;break}l=m,null==e||10>a||!Ye(e,n+3,a-3)?e=0:(p=e[n+0]|e[n+1]<<8|e[n+2]<<16,b=16383&(e[n+7]<<8|e[n+6]),e=16383&(e[n+9]<<8|e[n+8]),1&p||3<(p>>1&7)||!(p>>4&1)||p>>5>=g.Ja||!b||!e?e=0:(c&&(c[0]=b),l&&(l[0]=e),e=1))}if(!e)return 3;if(c=c[0],m=m[0],d&&(f[0]!=c||h[0]!=m))return 3;null!=u&&(u[0]=g,u.offset=n-u.w,t(4294967286>n-u.w),t(u.offset==u.ha-a));break}return 0==y||7==y&&d&&null==u?(null!=s&&(s[0]|=null!=g.na&&0<g.na.length),null!=o&&(o[0]=c),null!=i&&(i[0]=m),0):y}function Fr(e,t,r){var n=t.width,a=t.height,o=0,i=0,s=n,c=a;if(t.Da=null!=e&&0<e.Da,t.Da&&(s=e.cd,c=e.bd,o=e.v,i=e.j,11>r||(o&=-2,i&=-2),0>o||0>i||0>=s||0>=c||o+s>n||i+c>a))return 0;if(t.v=o,t.j=i,t.va=o+s,t.o=i+c,t.U=s,t.T=c,t.da=null!=e&&0<e.da,t.da){if(!D(s,c,r=[e.ib],o=[e.hb]))return 0;t.ib=r[0],t.hb=o[0]}return t.ob=null!=e&&e.ob,t.Kb=null==e||!e.Sd,t.da&&(t.ob=t.ib<3*n/4&&t.hb<3*a/4,t.Kb=0),1}function Dr(e){if(null==e)return 2;if(11>e.S){var t=e.f.RGBA;t.fb+=(e.height-1)*t.A,t.A=-t.A}else t=e.f.kb,e=e.height,t.O+=(e-1)*t.fa,t.fa=-t.fa,t.N+=(e-1>>1)*t.Ab,t.Ab=-t.Ab,t.W+=(e-1>>1)*t.Db,t.Db=-t.Db,null!=t.F&&(t.J+=(e-1)*t.lb,t.lb=-t.lb);return 0}function Mr(e,t,r,n){if(null==n||0>=e||0>=t)return 2;if(null!=r){if(r.Da){var a=r.cd,i=r.bd,s=-2&r.v,c=-2&r.j;if(0>s||0>c||0>=a||0>=i||s+a>e||c+i>t)return 2;e=a,t=i}if(r.da){if(!D(e,t,a=[r.ib],i=[r.hb]))return 2;e=a[0],t=i[0]}}n.width=e,n.height=t;e:{var l=n.width,u=n.height;if(e=n.S,0>=l||0>=u||!(e>=Dn&&13>e))e=2;else{if(0>=n.Rd&&null==n.sd){s=i=a=t=0;var f=(c=l*za[e])*u;if(11>e||(i=(u+1)/2*(t=(l+1)/2),12==e&&(s=(a=l)*u)),null==(u=o(f+2*i+s))){e=1;break e}n.sd=u,11>e?((l=n.f.RGBA).eb=u,l.fb=0,l.A=c,l.size=f):((l=n.f.kb).y=u,l.O=0,l.fa=c,l.Fd=f,l.f=u,l.N=0+f,l.Ab=t,l.Cd=i,l.ea=u,l.W=0+f+i,l.Db=t,l.Ed=i,12==e&&(l.F=u,l.J=0+f+2*i),l.Tc=s,l.lb=a)}if(t=1,a=n.S,i=n.width,s=n.height,a>=Dn&&13>a)if(11>a)e=n.f.RGBA,t&=(c=Math.abs(e.A))*(s-1)+i<=e.size,t&=c>=i*za[a],t&=null!=e.eb;else{e=n.f.kb,c=(i+1)/2,f=(s+1)/2,l=Math.abs(e.fa),u=Math.abs(e.Ab);var h=Math.abs(e.Db),d=Math.abs(e.lb),p=d*(s-1)+i;t&=l*(s-1)+i<=e.Fd,t&=u*(f-1)+c<=e.Cd,t=(t&=h*(f-1)+c<=e.Ed)&l>=i&u>=c&h>=c,t&=null!=e.y,t&=null!=e.f,t&=null!=e.ea,12==a&&(t&=d>=i,t&=p<=e.Tc,t&=null!=e.F)}else t=0;e=t?0:2}}return 0!=e||null!=r&&r.fd&&(e=Dr(n)),e}var jr=64,Br=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Wr=24,Ur=32,zr=8,Hr=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];B("Predictor0","PredictorAdd0"),e.Predictor0=function(){return 4278190080},e.Predictor1=function(e){return e},e.Predictor2=function(e,t,r){return t[r+0]},e.Predictor3=function(e,t,r){return t[r+1]},e.Predictor4=function(e,t,r){return t[r-1]},e.Predictor5=function(e,t,r){return U(U(e,t[r+1]),t[r+0])},e.Predictor6=function(e,t,r){return U(e,t[r-1])},e.Predictor7=function(e,t,r){return U(e,t[r+0])},e.Predictor8=function(e,t,r){return U(t[r-1],t[r+0])},e.Predictor9=function(e,t,r){return U(t[r+0],t[r+1])},e.Predictor10=function(e,t,r){return U(U(e,t[r-1]),U(t[r+0],t[r+1]))},e.Predictor11=function(e,t,r){var n=t[r+0];return 0>=V(n>>24&255,e>>24&255,(t=t[r-1])>>24&255)+V(n>>16&255,e>>16&255,t>>16&255)+V(n>>8&255,e>>8&255,t>>8&255)+V(255&n,255&e,255&t)?n:e},e.Predictor12=function(e,t,r){var n=t[r+0];return(z((e>>24&255)+(n>>24&255)-((t=t[r-1])>>24&255))<<24|z((e>>16&255)+(n>>16&255)-(t>>16&255))<<16|z((e>>8&255)+(n>>8&255)-(t>>8&255))<<8|z((255&e)+(255&n)-(255&t)))>>>0},e.Predictor13=function(e,t,r){var n=t[r-1];return(H((e=U(e,t[r+0]))>>24&255,n>>24&255)<<24|H(e>>16&255,n>>16&255)<<16|H(e>>8&255,n>>8&255)<<8|H(e>>0&255,n>>0&255))>>>0};var Vr=e.PredictorAdd0;e.PredictorAdd1=q,B("Predictor2","PredictorAdd2"),B("Predictor3","PredictorAdd3"),B("Predictor4","PredictorAdd4"),B("Predictor5","PredictorAdd5"),B("Predictor6","PredictorAdd6"),B("Predictor7","PredictorAdd7"),B("Predictor8","PredictorAdd8"),B("Predictor9","PredictorAdd9"),B("Predictor10","PredictorAdd10"),B("Predictor11","PredictorAdd11"),B("Predictor12","PredictorAdd12"),B("Predictor13","PredictorAdd13");var qr=e.PredictorAdd2;Y("ColorIndexInverseTransform","MapARGB","32b",function(e){return e>>8&255},function(e){return e}),Y("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(e){return e},function(e){return e>>8&255});var $r,Gr=e.ColorIndexInverseTransform,Xr=e.MapARGB,Yr=e.VP8LColorIndexInverseTransformAlpha,Kr=e.MapAlpha,Jr=e.VP8LPredictorsAdd=[];Jr.length=16,(e.VP8LPredictors=[]).length=16,(e.VP8LPredictorsAdd_C=[]).length=16,(e.VP8LPredictors_C=[]).length=16;var Zr,Qr,en,tn,rn,nn,an,on,sn,cn,ln,un,fn,hn,dn,pn,gn,mn,vn,bn,yn,wn,Sn,xn,kn,An,Tn,En,_n=o(511),Nn=o(2041),Cn=o(225),Rn=o(767),On=0,Ln=Nn,Pn=Cn,In=Rn,Fn=_n,Dn=0,Mn=1,jn=2,Bn=3,Wn=4,Un=5,zn=6,Hn=7,Vn=8,qn=9,$n=10,Gn=[2,3,7],Xn=[3,3,11],Yn=[280,256,256,256,40],Kn=[0,1,1,1,0],Jn=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Zn=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],Qn=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],ea=8,ta=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],ra=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],na=null,aa=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],oa=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],ia=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],sa=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],ca=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],la=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],ua=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],fa=[],ha=[],da=[],pa=1,ga=2,ma=[],va=[];vr("UpsampleRgbLinePair",kr,3),vr("UpsampleBgrLinePair",Ar,3),vr("UpsampleRgbaLinePair",Cr,4),vr("UpsampleBgraLinePair",Nr,4),vr("UpsampleArgbLinePair",_r,4),vr("UpsampleRgba4444LinePair",Er,2),vr("UpsampleRgb565LinePair",Tr,2);var ba=e.UpsampleRgbLinePair,ya=e.UpsampleBgrLinePair,wa=e.UpsampleRgbaLinePair,Sa=e.UpsampleBgraLinePair,xa=e.UpsampleArgbLinePair,ka=e.UpsampleRgba4444LinePair,Aa=e.UpsampleRgb565LinePair,Ta=16,Ea=1<<Ta-1,_a=-227,Na=482,Ca=6,Ra=(256<<Ca)-1,Oa=0,La=o(256),Pa=o(256),Ia=o(256),Fa=o(256),Da=o(Na-_a),Ma=o(Na-_a);Rr("YuvToRgbRow",kr,3),Rr("YuvToBgrRow",Ar,3),Rr("YuvToRgbaRow",Cr,4),Rr("YuvToBgraRow",Nr,4),Rr("YuvToArgbRow",_r,4),Rr("YuvToRgba4444Row",Er,2),Rr("YuvToRgb565Row",Tr,2);var ja=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],Ba=[0,2,8],Wa=[8,7,6,4,4,2,2,2,1,1,1,1],Ua=1;this.WebPDecodeRGBA=function(e,r,n,a,o){var i=Mn,s=new rr,c=new ie;s.ba=c,c.S=i,c.width=[c.width],c.height=[c.height];var l=c.width,u=c.height,f=new se;if(null==f||null==e)var h=2;else t(null!=f),h=Ir(e,r,n,f.width,f.height,f.Pd,f.Qd,f.format,null);if(0!=h?l=0:(null!=l&&(l[0]=f.width[0]),null!=u&&(u[0]=f.height[0]),l=1),l){c.width=c.width[0],c.height=c.height[0],null!=a&&(a[0]=c.width),null!=o&&(o[0]=c.height);e:{if(a=new $e,(o=new nr).data=e,o.w=r,o.ha=n,o.kd=1,r=[0],t(null!=o),(0==(e=Ir(o.data,o.w,o.ha,null,null,null,r,null,o))||7==e)&&r[0]&&(e=4),0==(r=e)){if(t(null!=s),a.data=o.data,a.w=o.w+o.offset,a.ha=o.ha-o.offset,a.put=de,a.ac=he,a.bc=pe,a.ma=s,o.xa){if(null==(e=Ne())){s=1;break e}if(function(e,r){var n=[0],a=[0],o=[0];t:for(;;){if(null==e)return 0;if(null==r)return e.a=2,0;if(e.l=r,e.a=0,v(e.m,r.data,r.w,r.ha),!ge(e.m,n,a,o)){e.a=3;break t}if(e.xb=ga,r.width=n[0],r.height=a[0],!Ce(n[0],a[0],1,e,null))break t;return 1}return t(0!=e.a),0}(e,a)){if(a=0==(r=Mr(a.width,a.height,s.Oa,s.ba))){t:{a=e;r:for(;;){if(null==a){a=0;break t}if(t(null!=a.s.yc),t(null!=a.s.Ya),t(0<a.s.Wb),t(null!=(n=a.l)),t(null!=(o=n.ma)),0!=a.xb){if(a.ca=o.ba,a.tb=o.tb,t(null!=a.ca),!Fr(o.Oa,n,Bn)){a.a=2;break r}if(!Re(a,n.width))break r;if(n.da)break r;if((n.da||ne(a.ca.S))&&mr(),11>a.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),null!=a.ca.f.kb.F&&mr()),a.Pb&&0<a.s.ua&&null==a.s.vb.X&&!P(a.s.vb,a.s.Wa.Xa)){a.a=1;break r}a.xb=0}if(!Ee(a,a.V,a.Ba,a.c,a.i,n.o,xe))break r;o.Dc=a.Ma,a=1;break t}t(0!=a.a),a=0}a=!a}a&&(r=e.a)}else r=e.a}else{if(null==(e=new Ge)){s=1;break e}if(e.Fa=o.na,e.P=o.P,e.qc=o.Sa,Ke(e,a)){if(0==(r=Mr(a.width,a.height,s.Oa,s.ba))){if(e.Aa=0,n=s.Oa,t(null!=(o=e)),null!=n){if(0<(l=0>(l=n.Md)?0:100<l?255:255*l/100)){for(u=f=0;4>u;++u)12>(h=o.pb[u]).lc&&(h.ia=l*Wa[0>h.lc?0:h.lc]>>3),f|=h.ia;f&&(alert("todo:VP8InitRandom"),o.ia=1)}o.Ga=n.Id,100<o.Ga?o.Ga=100:0>o.Ga&&(o.Ga=0)}Qe(e,a)||(r=e.a)}}else r=e.a}0==r&&null!=s.Oa&&s.Oa.fd&&(r=Dr(s.ba))}s=r}i=0!=s?null:11>i?c.f.RGBA.eb:c.f.kb.y}else i=null;return i};var za=[3,4,3,4,4,2,2,4,4,4,2,1,1]});var f=[0],h=[0],d=[],p=new Ot,g=e,m=function(e,t){var r={},n=0,a=!1,o=0,i=0;if(r.frames=[],!function(e,t,r,n){for(var a=0;a<4;a++)if(e[t+a]!="RIFF".charCodeAt(a))return!0;return!1}(e,t)){var s,f;for(u(e,t+=4),t+=8;t<e.length;){var h=c(e,t),d=u(e,t+=4);t+=4;var p=d+(1&d);switch(h){case"VP8 ":case"VP8L":void 0===r.frames[n]&&(r.frames[n]={}),(v=r.frames[n]).src_off=a?i:t-8,v.src_size=o+d+8,n++,a&&(a=!1,o=0,i=0);break;case"VP8X":(v=r.header={}).feature_flags=e[t];var g=t+4;v.canvas_width=1+l(e,g),g+=3,v.canvas_height=1+l(e,g),g+=3;break;case"ALPH":a=!0,o=p+8,i=t-8;break;case"ANIM":(v=r.header).bgcolor=u(e,t),g=t+4,v.loop_count=(s=e)[(f=g)+0]<<0|s[f+1]<<8,g+=2;break;case"ANMF":var m,v;(v=r.frames[n]={}).offset_x=2*l(e,t),t+=3,v.offset_y=2*l(e,t),t+=3,v.width=1+l(e,t),t+=3,v.height=1+l(e,t),t+=3,v.duration=l(e,t),t+=3,m=e[t++],v.dispose=1&m,v.blend=m>>1&1}"ANMF"!=h&&(t+=p)}return r}}(g,0);m.response=g,m.rgbaoutput=!0,m.dataurl=!1;var v=m.header?m.header:null,b=m.frames?m.frames:null;if(v){v.loop_counter=v.loop_count,f=[v.canvas_height],h=[v.canvas_width];for(var y=0;y<b.length&&0!=b[y].blend;y++);}var w=b[0],S=p.WebPDecodeRGBA(g,w.src_off,w.src_size,h,f);w.rgba=S,w.imgwidth=h[0],w.imgheight=f[0];for(var x=0;x<h[0]*f[0]*4;x++)d[x]=S[x];return this.width=h,this.height=f,this.data=d,this}!function(e){var t=function(t,n,c,l){var u=4,f=o;switch(l){case e.image_compression.FAST:u=1,f=a;break;case e.image_compression.MEDIUM:u=6,f=i;break;case e.image_compression.SLOW:u=9,f=s}var h=wt(t=r(t,n,c,f),{level:u});return e.__addimage__.arrayBufferToBinaryString(h)},r=function(e,t,r,n){for(var a,o,i,s=e.length/t,c=new Uint8Array(e.length+s),f=l(),h=0;h<s;h+=1){if(i=h*t,a=e.subarray(i,i+t),n)c.set(n(a,r,o),i+h);else{for(var d,p=f.length,g=[];d<p;d+=1)g[d]=f[d](a,r,o);var m=u(g.concat());c.set(g[m],i+h)}o=a}return c},n=function(e){var t=Array.apply([],e);return t.unshift(0),t},a=function(e,t){var r,n=[],a=e.length;n[0]=1;for(var o=0;o<a;o+=1)r=e[o-t]||0,n[o+1]=e[o]-r+256&255;return n},o=function(e,t,r){var n,a=[],o=e.length;a[0]=2;for(var i=0;i<o;i+=1)n=r&&r[i]||0,a[i+1]=e[i]-n+256&255;return a},i=function(e,t,r){var n,a,o=[],i=e.length;o[0]=3;for(var s=0;s<i;s+=1)n=e[s-t]||0,a=r&&r[s]||0,o[s+1]=e[s]+256-(n+a>>>1)&255;return o},s=function(e,t,r){var n,a,o,i,s=[],l=e.length;s[0]=4;for(var u=0;u<l;u+=1)n=e[u-t]||0,a=r&&r[u]||0,o=r&&r[u-t]||0,i=c(n,a,o),s[u+1]=e[u]-i+256&255;return s},c=function(e,t,r){if(e===t&&t===r)return e;var n=Math.abs(t-r),a=Math.abs(e-r),o=Math.abs(e+t-r-r);return n<=a&&n<=o?e:a<=o?t:r},l=function(){return[n,a,o,i,s]},u=function(e){var t=e.map(function(e){return e.reduce(function(e,t){return e+Math.abs(t)},0)});return t.indexOf(Math.min.apply(null,t))};e.processPNG=function(r,n,a,o){var i,s,c,l,u,f,h,d,p,g,m,v,b,y,w,S=this.decode.FLATE_DECODE,x="";if(this.__addimage__.isArrayBuffer(r)&&(r=new Uint8Array(r)),this.__addimage__.isArrayBufferView(r)){if(r=(c=new Et(r)).imgData,s=c.bits,i=c.colorSpace,u=c.colors,-1!==[4,6].indexOf(c.colorType)){if(8===c.bits){p=(d=32==c.pixelBitlength?new Uint32Array(c.decodePixels().buffer):16==c.pixelBitlength?new Uint16Array(c.decodePixels().buffer):new Uint8Array(c.decodePixels().buffer)).length,m=new Uint8Array(p*c.colors),g=new Uint8Array(p);var k,A=c.pixelBitlength-c.bits;for(y=0,w=0;y<p;y++){for(b=d[y],k=0;k<A;)m[w++]=b>>>k&255,k+=c.bits;g[y]=b>>>k&255}}if(16===c.bits){p=(d=new Uint32Array(c.decodePixels().buffer)).length,m=new Uint8Array(p*(32/c.pixelBitlength)*c.colors),g=new Uint8Array(p*(32/c.pixelBitlength)),v=c.colors>1,y=0,w=0;for(var T=0;y<p;)b=d[y++],m[w++]=b>>>0&255,v&&(m[w++]=b>>>16&255,b=d[y++],m[w++]=b>>>0&255),g[T++]=b>>>16&255;s=8}o!==e.image_compression.NONE?(r=t(m,c.width*c.colors,c.colors,o),h=t(g,c.width,1,o)):(r=m,h=g,S=void 0)}if(3===c.colorType&&(i=this.color_spaces.INDEXED,f=c.palette,c.transparency.indexed)){var E=c.transparency.indexed,_=0;for(y=0,p=E.length;y<p;++y)_+=E[y];if((_/=255)==p-1&&-1!==E.indexOf(0))l=[E.indexOf(0)];else if(_!==p){for(d=c.decodePixels(),g=new Uint8Array(d.length),y=0,p=d.length;y<p;y++)g[y]=E[d[y]];h=t(g,c.width,1)}}var N=function(t){var r;switch(o){case e.image_compression.FAST:r=11;break;case e.image_compression.MEDIUM:r=13;break;case e.image_compression.SLOW:r=14;break;default:r=12}return r}();return S===this.decode.FLATE_DECODE&&(x="/Predictor "+N+" "),x+="/Colors "+u+" /BitsPerComponent "+s+" /Columns "+c.width,(this.__addimage__.isArrayBuffer(r)||this.__addimage__.isArrayBufferView(r))&&(r=this.__addimage__.arrayBufferToBinaryString(r)),(h&&this.__addimage__.isArrayBuffer(h)||this.__addimage__.isArrayBufferView(h))&&(h=this.__addimage__.arrayBufferToBinaryString(h)),{alias:a,data:r,index:n,filter:S,decodeParameters:x,transparency:l,palette:f,sMask:h,predictor:N,width:c.width,height:c.height,bitsPerComponent:s,colorSpace:i}}}}(L.API),function(e){e.processGIF89A=function(t,r,n,a){var o=new _t(t),i=o.width,s=o.height,c=[];o.decodeAndBlitFrameRGBA(0,c);var l={data:c,width:i,height:s},u=new Ct(100).encode(l,100);return e.processJPEG.call(this,u,r,n,a)},e.processGIF87A=e.processGIF89A}(L.API),Rt.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,16===this.bitPP&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var e=0===this.colors?1<<this.bitPP:this.colors;this.palette=new Array(e);for(var t=0;t<e;t++){var r=this.datav.getUint8(this.pos++,!0),n=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0);this.palette[t]={red:a,green:n,blue:r,quad:o}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},Rt.prototype.parseBGR=function(){this.pos=this.offset;try{var e="bit"+this.bitPP,t=this.width*this.height*4;this.data=new Uint8Array(t),this[e]()}catch(e){n.log("bit decode error:"+e)}},Rt.prototype.bit1=function(){var e,t=Math.ceil(this.width/8),r=t%4;for(e=this.height-1;e>=0;e--){for(var n=this.bottom_up?e:this.height-1-e,a=0;a<t;a++)for(var o=this.datav.getUint8(this.pos++,!0),i=n*this.width*4+8*a*4,s=0;s<8&&8*a+s<this.width;s++){var c=this.palette[o>>7-s&1];this.data[i+4*s]=c.blue,this.data[i+4*s+1]=c.green,this.data[i+4*s+2]=c.red,this.data[i+4*s+3]=255}0!==r&&(this.pos+=4-r)}},Rt.prototype.bit4=function(){for(var e=Math.ceil(this.width/2),t=e%4,r=this.height-1;r>=0;r--){for(var n=this.bottom_up?r:this.height-1-r,a=0;a<e;a++){var o=this.datav.getUint8(this.pos++,!0),i=n*this.width*4+2*a*4,s=o>>4,c=15&o,l=this.palette[s];if(this.data[i]=l.blue,this.data[i+1]=l.green,this.data[i+2]=l.red,this.data[i+3]=255,2*a+1>=this.width)break;l=this.palette[c],this.data[i+4]=l.blue,this.data[i+4+1]=l.green,this.data[i+4+2]=l.red,this.data[i+4+3]=255}0!==t&&(this.pos+=4-t)}},Rt.prototype.bit8=function(){for(var e=this.width%4,t=this.height-1;t>=0;t--){for(var r=this.bottom_up?t:this.height-1-t,n=0;n<this.width;n++){var a=this.datav.getUint8(this.pos++,!0),o=r*this.width*4+4*n;if(a<this.palette.length){var i=this.palette[a];this.data[o]=i.red,this.data[o+1]=i.green,this.data[o+2]=i.blue,this.data[o+3]=255}else this.data[o]=255,this.data[o+1]=255,this.data[o+2]=255,this.data[o+3]=255}0!==e&&(this.pos+=4-e)}},Rt.prototype.bit15=function(){for(var e=this.width%3,t=parseInt("11111",2),r=this.height-1;r>=0;r--){for(var n=this.bottom_up?r:this.height-1-r,a=0;a<this.width;a++){var o=this.datav.getUint16(this.pos,!0);this.pos+=2;var i=(o&t)/t*255|0,s=(o>>5&t)/t*255|0,c=(o>>10&t)/t*255|0,l=o>>15?255:0,u=n*this.width*4+4*a;this.data[u]=c,this.data[u+1]=s,this.data[u+2]=i,this.data[u+3]=l}this.pos+=e}},Rt.prototype.bit16=function(){for(var e=this.width%3,t=parseInt("11111",2),r=parseInt("111111",2),n=this.height-1;n>=0;n--){for(var a=this.bottom_up?n:this.height-1-n,o=0;o<this.width;o++){var i=this.datav.getUint16(this.pos,!0);this.pos+=2;var s=(i&t)/t*255|0,c=(i>>5&r)/r*255|0,l=(i>>11)/t*255|0,u=a*this.width*4+4*o;this.data[u]=l,this.data[u+1]=c,this.data[u+2]=s,this.data[u+3]=255}this.pos+=e}},Rt.prototype.bit24=function(){for(var e=this.height-1;e>=0;e--){for(var t=this.bottom_up?e:this.height-1-e,r=0;r<this.width;r++){var n=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),i=t*this.width*4+4*r;this.data[i]=o,this.data[i+1]=a,this.data[i+2]=n,this.data[i+3]=255}this.pos+=this.width%4}},Rt.prototype.bit32=function(){for(var e=this.height-1;e>=0;e--)for(var t=this.bottom_up?e:this.height-1-e,r=0;r<this.width;r++){var n=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),s=t*this.width*4+4*r;this.data[s]=o,this.data[s+1]=a,this.data[s+2]=n,this.data[s+3]=i}},Rt.prototype.getData=function(){return this.data},function(e){e.processBMP=function(t,r,n,a){var o=new Rt(t,!1),i=o.width,s=o.height,c={data:o.getData(),width:i,height:s},l=new Ct(100).encode(c,100);return e.processJPEG.call(this,l,r,n,a)}}(L.API),Ot.prototype.getData=function(){return this.data},function(e){e.processWEBP=function(t,r,n,a){var o=new Ot(t,!1),i=o.width,s=o.height,c={data:o.getData(),width:i,height:s},l=new Ct(100).encode(c,100);return e.processJPEG.call(this,l,r,n,a)}}(L.API),L.API.setLanguage=function(e){return void 0===this.internal.languageSettings&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),void 0!=={af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"FYRO Macedonian",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[e]&&(this.internal.languageSettings.languageCode=e,!1===this.internal.languageSettings.isSubscribed&&(this.internal.events.subscribe("putCatalog",function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")}),this.internal.languageSettings.isSubscribed=!0)),this},St=L.API,xt=St.getCharWidthsArray=function(e,t){var r,n,a=(t=t||{}).font||this.internal.getFont(),o=t.fontSize||this.internal.getFontSize(),i=t.charSpace||this.internal.getCharSpace(),s=t.widths?t.widths:a.metadata.Unicode.widths,c=s.fof?s.fof:1,l=t.kerning?t.kerning:a.metadata.Unicode.kerning,u=l.fof?l.fof:1,f=!1!==t.doKerning,h=0,d=e.length,p=0,g=s[0]||c,m=[];for(r=0;r<d;r++)n=e.charCodeAt(r),"function"==typeof a.metadata.widthOfString?m.push((a.metadata.widthOfGlyph(a.metadata.characterToGlyph(n))+i*(1e3/o)||0)/1e3):(h=f&&"object"==typeof l[n]&&!isNaN(parseInt(l[n][p],10))?l[n][p]/u:0,m.push((s[n]||g)/c+h)),p=n;return m},kt=St.getStringUnitWidth=function(e,t){var r=(t=t||{}).fontSize||this.internal.getFontSize(),n=t.font||this.internal.getFont(),a=t.charSpace||this.internal.getCharSpace();return St.processArabic&&(e=St.processArabic(e)),"function"==typeof n.metadata.widthOfString?n.metadata.widthOfString(e,r,a)/r:xt.apply(this,arguments).reduce(function(e,t){return e+t},0)},At=function(e,t,r,n){for(var a=[],o=0,i=e.length,s=0;o!==i&&s+t[o]<r;)s+=t[o],o++;a.push(e.slice(0,o));var c=o;for(s=0;o!==i;)s+t[o]>n&&(a.push(e.slice(c,o)),s=0,c=o),s+=t[o],o++;return c!==o&&a.push(e.slice(c,o)),a},Tt=function(e,t,r){r||(r={});var n,a,o,i,s,c,l,u=[],f=[u],h=r.textIndent||0,d=0,p=0,g=e.split(" "),m=xt.apply(this,[" ",r])[0];if(c=-1===r.lineIndent?g[0].length+2:r.lineIndent||0){var v=Array(c).join(" "),b=[];g.map(function(e){(e=e.split(/\s*\n/)).length>1?b=b.concat(e.map(function(e,t){return(t&&e.length?"\n":"")+e})):b.push(e[0])}),g=b,c=kt.apply(this,[v,r])}for(o=0,i=g.length;o<i;o++){var y=0;if(n=g[o],c&&"\n"==n[0]&&(n=n.substr(1),y=1),h+d+(p=(a=xt.apply(this,[n,r])).reduce(function(e,t){return e+t},0))>t||y){if(p>t){for(s=At.apply(this,[n,a,t-(h+d),t]),u.push(s.shift()),u=[s.pop()];s.length;)f.push([s.shift()]);p=a.slice(n.length-(u[0]?u[0].length:0)).reduce(function(e,t){return e+t},0)}else u=[n];f.push(u),h=p+c,d=m}else u.push(n),h+=d+p,d=m}return l=c?function(e,t){return(t?v:"")+e.join(" ")}:function(e){return e.join(" ")},f.map(l)},St.splitTextToSize=function(e,t,r){var n,a=(r=r||{}).fontSize||this.internal.getFontSize(),o=function(e){if(e.widths&&e.kerning)return{widths:e.widths,kerning:e.kerning};var t=this.internal.getFont(e.fontName,e.fontStyle);return t.metadata.Unicode?{widths:t.metadata.Unicode.widths||{0:1},kerning:t.metadata.Unicode.kerning||{}}:{font:t.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,r);n=Array.isArray(e)?e:String(e).split(/\r?\n/);var i=1*this.internal.scaleFactor*t/a;o.textIndent=r.textIndent?1*r.textIndent*this.internal.scaleFactor/a:0,o.lineIndent=r.lineIndent;var s,c,l=[];for(s=0,c=n.length;s<c;s++)l=l.concat(Tt.apply(this,[n[s],i,o]));return l},function(e){e.__fontmetrics__=e.__fontmetrics__||{};for(var t="klmnopqrstuvwxyz",r={},n={},a=0;a<t.length;a++)r[t[a]]="0123456789abcdef"[a],n["0123456789abcdef"[a]]=t[a];var o=function(e){return"0x"+parseInt(e,10).toString(16)},i=e.__fontmetrics__.compress=function(e){var t,r,a,s,c=["{"];for(var l in e){if(t=e[l],isNaN(parseInt(l,10))?r="'"+l+"'":(l=parseInt(l,10),r=(r=o(l).slice(2)).slice(0,-1)+n[r.slice(-1)]),"number"==typeof t)t<0?(a=o(t).slice(3),s="-"):(a=o(t).slice(2),s=""),a=s+a.slice(0,-1)+n[a.slice(-1)];else{if("object"!=typeof t)throw new Error("Don't know what to do with value type "+typeof t+".");a=i(t)}c.push(r+a)}return c.push("}"),c.join("")},s=e.__fontmetrics__.uncompress=function(e){if("string"!=typeof e)throw new Error("Invalid argument passed to uncompress.");for(var t,n,a,o,i={},s=1,c=i,l=[],u="",f="",h=e.length-1,d=1;d<h;d+=1)"'"==(o=e[d])?t?(a=t.join(""),t=void 0):t=[]:t?t.push(o):"{"==o?(l.push([c,a]),c={},a=void 0):"}"==o?((n=l.pop())[0][n[1]]=c,a=void 0,c=n[0]):"-"==o?s=-1:void 0===a?r.hasOwnProperty(o)?(u+=r[o],a=parseInt(u,16)*s,s=1,u=""):u+=o:r.hasOwnProperty(o)?(f+=r[o],c[a]=parseInt(f,16)*s,s=1,a=void 0,f=""):f+=o;return i},c={codePages:["WinAnsiEncoding"],WinAnsiEncoding:s("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},l={Unicode:{Courier:c,"Courier-Bold":c,"Courier-BoldOblique":c,"Courier-Oblique":c,Helvetica:c,"Helvetica-Bold":c,"Helvetica-BoldOblique":c,"Helvetica-Oblique":c,"Times-Roman":c,"Times-Bold":c,"Times-BoldItalic":c,"Times-Italic":c}},u={Unicode:{"Courier-Oblique":s("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":s("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":s("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:s("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":s("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":s("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:s("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:s("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":s("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:s("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":s("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":s("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":s("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":s("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};e.events.push(["addFont",function(e){var t=e.font,r=u.Unicode[t.postScriptName];r&&(t.metadata.Unicode={},t.metadata.Unicode.widths=r.widths,t.metadata.Unicode.kerning=r.kerning);var n=l.Unicode[t.postScriptName];n&&(t.metadata.Unicode.encoding=n,t.encoding=n.codePages[0])}])}(L.API),function(e){var t=function(e){for(var t=e.length,r=new Uint8Array(t),n=0;n<t;n++)r[n]=e.charCodeAt(n);return r};e.API.events.push(["addFont",function(r){var n=void 0,a=r.font,o=r.instance;if(!a.isStandardFont){if(void 0===o)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+a.postScriptName+"').");if("string"!=typeof(n=!1===o.existsFileInVFS(a.postScriptName)?o.loadFile(a.postScriptName):o.getFileFromVFS(a.postScriptName)))throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+a.postScriptName+"').");!function(r,n){n=/^\x00\x01\x00\x00/.test(n)?t(n):t(s(n)),r.metadata=e.API.TTFFont.open(n),r.metadata.Unicode=r.metadata.Unicode||{encoding:{},kerning:{},widths:[]},r.metadata.glyIdsUsed=[0]}(a,n)}}])}(L),function(r){function a(){return(t.canvg?Promise.resolve(t.canvg):"object"==typeof e&&"undefined"!=typeof module?new Promise(function(e,t){try{e(require("canvg"))}catch(e){t(e)}}):"function"==typeof define&&define.amd?new Promise(function(e,t){try{require(["canvg"],e)}catch(e){t(e)}}):Promise.reject(new Error("Could not load canvg"))).catch(function(e){return Promise.reject(new Error("Could not load canvg: "+e))}).then(function(e){return e.default?e.default:e})}L.API.addSvgAsImage=function(e,t,r,o,i,s,c,l){if(isNaN(t)||isNaN(r))throw n.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(o)||isNaN(i))throw n.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var u=document.createElement("canvas");u.width=o,u.height=i;var f=u.getContext("2d");f.fillStyle="#fff",f.fillRect(0,0,u.width,u.height);var h={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},d=this;return a().then(function(t){return t.fromString(f,e,h)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(e){return e.render(h)}).then(function(){d.addImage(u.toDataURL("image/jpeg",1),t,r,o,i,c,l)})}}(),L.API.putTotalPages=function(e){var t,r=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(t=new RegExp(e,"g"),r=this.internal.getNumberOfPages()):(t=new RegExp(this.pdfEscape16(e,this.internal.getFont()),"g"),r=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var n=1;n<=this.internal.getNumberOfPages();n++)for(var a=0;a<this.internal.pages[n].length;a++)this.internal.pages[n][a]=this.internal.pages[n][a].replace(t,r);return this},L.API.viewerPreferences=function(e,t){var r;e=e||{},t=t||!1;var n,a,o,i={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},s=Object.keys(i),c=[],l=0,u=0,f=0;function h(e,t){var r,n=!1;for(r=0;r<e.length;r+=1)e[r]===t&&(n=!0);return n}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(i)),this.internal.viewerpreferences.isSubscribed=!1),r=this.internal.viewerpreferences.configuration,"reset"===e||!0===t){var d=s.length;for(f=0;f<d;f+=1)r[s[f]].value=r[s[f]].defaultValue,r[s[f]].explicitSet=!1}if("object"==typeof e)for(a in e)if(o=e[a],h(s,a)&&void 0!==o){if("boolean"===r[a].type&&"boolean"==typeof o)r[a].value=o;else if("name"===r[a].type&&h(r[a].valueSet,o))r[a].value=o;else if("integer"===r[a].type&&Number.isInteger(o))r[a].value=o;else if("array"===r[a].type){for(l=0;l<o.length;l+=1)if(n=!0,1===o[l].length&&"number"==typeof o[l][0])c.push(String(o[l]-1));else if(o[l].length>1){for(u=0;u<o[l].length;u+=1)"number"!=typeof o[l][u]&&(n=!1);!0===n&&c.push([o[l][0]-1,o[l][1]-1].join(" "))}r[a].value="["+c.join(" ")+"]"}else r[a].value=r[a].defaultValue;r[a].explicitSet=!0}return!1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",function(){var e,t=[];for(e in r)!0===r[e].explicitSet&&("name"===r[e].type?t.push("/"+e+" /"+r[e].value):t.push("/"+e+" "+r[e].value));0!==t.length&&this.internal.write("/ViewerPreferences\n<<\n"+t.join("\n")+"\n>>")}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=r,this},function(e){var t=function(){var e='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceuri+'"><jspdf:metadata>',t=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),r=unescape(encodeURIComponent(e)),n=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),a=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),o=unescape(encodeURIComponent("</x:xmpmeta>")),i=r.length+n.length+a.length+t.length+o.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+i+" >>"),this.internal.write("stream"),this.internal.write(t+r+n+a+o),this.internal.write("endstream"),this.internal.write("endobj")},r=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};e.addMetadata=function(e,n){return void 0===this.internal.__metadata__&&(this.internal.__metadata__={metadata:e,namespaceuri:n||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",r),this.internal.events.subscribe("postPutResources",t)),this}}(L.API),function(e){var t=e.API,r=t.pdfEscape16=function(e,t){for(var r,n=t.metadata.Unicode.widths,a=["","0","00","000","0000"],o=[""],i=0,s=e.length;i<s;++i){if(r=t.metadata.characterToGlyph(e.charCodeAt(i)),t.metadata.glyIdsUsed.push(r),t.metadata.toUnicode[r]=e.charCodeAt(i),-1==n.indexOf(r)&&(n.push(r),n.push([parseInt(t.metadata.widthOfGlyph(r),10)])),"0"==r)return o.join("");r=r.toString(16),o.push(a[4-r.length],r)}return o.join("")},n=function(e){var t,r,n,a,o,i,s;for(o="/CIDInit /ProcSet findresource begin\n12 dict begin\nbegincmap\n/CIDSystemInfo <<\n /Registry (Adobe)\n /Ordering (UCS)\n /Supplement 0\n>> def\n/CMapName /Adobe-Identity-UCS def\n/CMapType 2 def\n1 begincodespacerange\n<0000><ffff>\nendcodespacerange",n=[],i=0,s=(r=Object.keys(e).sort(function(e,t){return e-t})).length;i<s;i++)t=r[i],n.length>=100&&(o+="\n"+n.length+" beginbfchar\n"+n.join("\n")+"\nendbfchar",n=[]),void 0!==e[t]&&null!==e[t]&&"function"==typeof e[t].toString&&(a=("0000"+e[t].toString(16)).slice(-4),t=("0000"+(+t).toString(16)).slice(-4),n.push("<"+t+"><"+a+">"));return n.length&&(o+="\n"+n.length+" beginbfchar\n"+n.join("\n")+"\nendbfchar\n"),o+"endcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"};t.events.push(["putFont",function(t){!function(t){var r=t.font,a=t.out,o=t.newObject,i=t.putStream,s=t.pdfEscapeWithNeededParanthesis;if(r.metadata instanceof e.API.TTFFont&&"Identity-H"===r.encoding){for(var c=r.metadata.Unicode.widths,l=r.metadata.subset.encode(r.metadata.glyIdsUsed,1),u="",f=0;f<l.length;f++)u+=String.fromCharCode(l[f]);var h=o();i({data:u,addLength1:!0,objectId:h}),a("endobj");var d=o();i({data:n(r.metadata.toUnicode),addLength1:!0,objectId:d}),a("endobj");var p=o();a("<<"),a("/Type /FontDescriptor"),a("/FontName /"+s(r.fontName)),a("/FontFile2 "+h+" 0 R"),a("/FontBBox "+e.API.PDFObject.convert(r.metadata.bbox)),a("/Flags "+r.metadata.flags),a("/StemV "+r.metadata.stemV),a("/ItalicAngle "+r.metadata.italicAngle),a("/Ascent "+r.metadata.ascender),a("/Descent "+r.metadata.decender),a("/CapHeight "+r.metadata.capHeight),a(">>"),a("endobj");var g=o();a("<<"),a("/Type /Font"),a("/BaseFont /"+s(r.fontName)),a("/FontDescriptor "+p+" 0 R"),a("/W "+e.API.PDFObject.convert(c)),a("/CIDToGIDMap /Identity"),a("/DW 1000"),a("/Subtype /CIDFontType2"),a("/CIDSystemInfo"),a("<<"),a("/Supplement 0"),a("/Registry (Adobe)"),a("/Ordering ("+r.encoding+")"),a(">>"),a(">>"),a("endobj"),r.objectNumber=o(),a("<<"),a("/Type /Font"),a("/Subtype /Type0"),a("/ToUnicode "+d+" 0 R"),a("/BaseFont /"+s(r.fontName)),a("/Encoding /"+r.encoding),a("/DescendantFonts ["+g+" 0 R]"),a(">>"),a("endobj"),r.isAlreadyPutted=!0}}(t)}]),t.events.push(["putFont",function(t){!function(t){var r=t.font,a=t.out,o=t.newObject,i=t.putStream,s=t.pdfEscapeWithNeededParanthesis;if(r.metadata instanceof e.API.TTFFont&&"WinAnsiEncoding"===r.encoding){for(var c=r.metadata.rawData,l="",u=0;u<c.length;u++)l+=String.fromCharCode(c[u]);var f=o();i({data:l,addLength1:!0,objectId:f}),a("endobj");var h=o();i({data:n(r.metadata.toUnicode),addLength1:!0,objectId:h}),a("endobj");var d=o();a("<<"),a("/Descent "+r.metadata.decender),a("/CapHeight "+r.metadata.capHeight),a("/StemV "+r.metadata.stemV),a("/Type /FontDescriptor"),a("/FontFile2 "+f+" 0 R"),a("/Flags 96"),a("/FontBBox "+e.API.PDFObject.convert(r.metadata.bbox)),a("/FontName /"+s(r.fontName)),a("/ItalicAngle "+r.metadata.italicAngle),a("/Ascent "+r.metadata.ascender),a(">>"),a("endobj"),r.objectNumber=o();for(var p=0;p<r.metadata.hmtx.widths.length;p++)r.metadata.hmtx.widths[p]=parseInt(r.metadata.hmtx.widths[p]*(1e3/r.metadata.head.unitsPerEm));a("<</Subtype/TrueType/Type/Font/ToUnicode "+h+" 0 R/BaseFont/"+s(r.fontName)+"/FontDescriptor "+d+" 0 R/Encoding/"+r.encoding+" /FirstChar 29 /LastChar 255 /Widths "+e.API.PDFObject.convert(r.metadata.hmtx.widths)+">>"),a("endobj"),r.isAlreadyPutted=!0}}(t)}]);var a=function(e){var t,n=e.text||"",a=e.x,o=e.y,i=e.options||{},s=e.mutex||{},c=s.pdfEscape,l=s.activeFontKey,u=s.fonts,f=l,h="",d=0,p="",g=u[f].encoding;if("Identity-H"!==u[f].encoding)return{text:n,x:a,y:o,options:i,mutex:s};for(p=n,f=l,Array.isArray(n)&&(p=n[0]),d=0;d<p.length;d+=1)u[f].metadata.hasOwnProperty("cmap")&&(t=u[f].metadata.cmap.unicode.codeMap[p[d].charCodeAt(0)]),t||p[d].charCodeAt(0)<256&&u[f].metadata.hasOwnProperty("Unicode")?h+=p[d]:h+="";var m="";return parseInt(f.slice(1))<14||"WinAnsiEncoding"===g?m=c(h,f).split("").map(function(e){return e.charCodeAt(0).toString(16)}).join(""):"Identity-H"===g&&(m=r(h,u[f])),s.isHex=!0,{text:m,x:a,y:o,options:i,mutex:s}};t.events.push(["postProcessText",function(e){var t=e.text||"",r=[],n={text:t,x:e.x,y:e.y,options:e.options,mutex:e.mutex};if(Array.isArray(t)){var o=0;for(o=0;o<t.length;o+=1)Array.isArray(t[o])&&3===t[o].length?r.push([a(Object.assign({},n,{text:t[o][0]})).text,t[o][1],t[o][2]]):r.push(a(Object.assign({},n,{text:t[o]})).text);e.text=r}else e.text=a(Object.assign({},n,{text:t})).text}])}(L),function(e){var t=function(){return void 0===this.internal.vFS&&(this.internal.vFS={}),!0};e.existsFileInVFS=function(e){return t.call(this),void 0!==this.internal.vFS[e]},e.addFileToVFS=function(e,r){return t.call(this),this.internal.vFS[e]=r,this},e.getFileFromVFS=function(e){return t.call(this),void 0!==this.internal.vFS[e]?this.internal.vFS[e]:null}}(L.API),function(e){e.__bidiEngine__=e.prototype.__bidiEngine__=function(e){var r,n,a,o,i,s,c,l=t,u=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],f=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],h={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},d={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},p=["(",")","(","<",">","<","[","]","[","{","}","{","«","»","«","‹","›","‹","⁅","⁆","⁅","⁽","⁾","⁽","₍","₎","₍","≤","≥","≤","〈","〉","〈","﹙","﹚","﹙","﹛","﹜","﹛","﹝","﹞","﹝","﹤","﹥","﹤"],g=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),m=!1,v=0;this.__bidiEngine__={};var b=function(e){var t=e.charCodeAt(),r=t>>8,n=d[r];return void 0!==n?l[256*n+(255&t)]:252===r||253===r?"AL":g.test(r)?"L":8===r?"R":"N"},y=function(e){for(var t,r=0;r<e.length;r++){if("L"===(t=b(e.charAt(r))))return!1;if("R"===t)return!0}return!1},w=function(e,t,i,s){var c,l,u,f,h=t[s];switch(h){case"L":case"R":m=!1;break;case"N":case"AN":break;case"EN":m&&(h="AN");break;case"AL":m=!0,h="R";break;case"WS":h="N";break;case"CS":s<1||s+1>=t.length||"EN"!==(c=i[s-1])&&"AN"!==c||"EN"!==(l=t[s+1])&&"AN"!==l?h="N":m&&(l="AN"),h=l===c?l:"N";break;case"ES":h="EN"===(c=s>0?i[s-1]:"B")&&s+1<t.length&&"EN"===t[s+1]?"EN":"N";break;case"ET":if(s>0&&"EN"===i[s-1]){h="EN";break}if(m){h="N";break}for(u=s+1,f=t.length;u<f&&"ET"===t[u];)u++;h=u<f&&"EN"===t[u]?"EN":"N";break;case"NSM":if(a&&!o){for(f=t.length,u=s+1;u<f&&"NSM"===t[u];)u++;if(u<f){var d=e[s],p=d>=1425&&d<=2303||64286===d;if(c=t[u],p&&("R"===c||"AL"===c)){h="R";break}}}h=s<1||"B"===(c=t[s-1])?"N":i[s-1];break;case"B":m=!1,r=!0,h=v;break;case"S":n=!0,h="N";break;case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":m=!1;break;case"BN":h="N"}return h},S=function(e,t,r){var n=e.split("");return r&&x(n,r,{hiLevel:v}),n.reverse(),t&&t.reverse(),n.join("")},x=function(e,t,a){var o,i,s,c,l,d=-1,p=e.length,g=0,y=[],S=v?f:u,x=[];for(m=!1,r=!1,n=!1,i=0;i<p;i++)x[i]=b(e[i]);for(s=0;s<p;s++){if(l=g,y[s]=w(e,x,y,s),o=240&(g=S[l][h[y[s]]]),g&=15,t[s]=c=S[g][5],o>0)if(16===o){for(i=d;i<s;i++)t[i]=1;d=-1}else d=-1;if(S[g][6])-1===d&&(d=s);else if(d>-1){for(i=d;i<s;i++)t[i]=c;d=-1}"B"===x[s]&&(t[s]=0),a.hiLevel|=c}n&&function(e,t,r){for(var n=0;n<r;n++)if("S"===e[n]){t[n]=v;for(var a=n-1;a>=0&&"WS"===e[a];a--)t[a]=v}}(x,t,p)},k=function(e,t,n,a,o){if(!(o.hiLevel<e)){if(1===e&&1===v&&!r)return t.reverse(),void(n&&n.reverse());for(var i,s,c,l,u=t.length,f=0;f<u;){if(a[f]>=e){for(c=f+1;c<u&&a[c]>=e;)c++;for(l=f,s=c-1;l<s;l++,s--)i=t[l],t[l]=t[s],t[s]=i,n&&(i=n[l],n[l]=n[s],n[s]=i);f=c}f++}}},A=function(e,t,r){var n=e.split(""),a={hiLevel:v};return r||(r=[]),x(n,r,a),function(e,t,r){if(0!==r.hiLevel&&c)for(var n,a=0;a<e.length;a++)1===t[a]&&(n=p.indexOf(e[a]))>=0&&(e[a]=p[n+1])}(n,r,a),k(2,n,t,r,a),k(1,n,t,r,a),n.join("")};return this.__bidiEngine__.doBidiReorder=function(e,t,r){if(function(e,t){if(t)for(var r=0;r<e.length;r++)t[r]=r;void 0===o&&(o=y(e)),void 0===s&&(s=y(e))}(e,t),a||!i||s)if(a&&i&&o^s)v=o?1:0,e=S(e,t,r);else if(!a&&i&&s)v=o?1:0,e=A(e,t,r),e=S(e,t);else if(!a||o||i||s){if(a&&!i&&o^s)e=S(e,t),o?(v=0,e=A(e,t,r)):(v=1,e=A(e,t,r),e=S(e,t));else if(a&&o&&!i&&s)v=1,e=A(e,t,r),e=S(e,t);else if(!a&&!i&&o^s){var n=c;o?(v=1,e=A(e,t,r),v=0,c=!1,e=A(e,t,r),c=n):(v=0,e=A(e,t,r),e=S(e,t),v=1,c=!1,e=A(e,t,r),c=n,e=S(e,t))}}else v=0,e=A(e,t,r);else v=o?1:0,e=A(e,t,r);return e},this.__bidiEngine__.setOptions=function(e){e&&(a=e.isInputVisual,i=e.isOutputVisual,o=e.isInputRtl,s=e.isOutputRtl,c=e.isSymmetricSwapping)},this.__bidiEngine__.setOptions(e),this.__bidiEngine__};var t=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],r=new e.__bidiEngine__({isInputVisual:!0});e.API.events.push(["postProcessText",function(e){var t=e.text,n=(e.x,e.y,e.options||{}),a=(e.mutex,n.lang,[]);if(n.isInputVisual="boolean"!=typeof n.isInputVisual||n.isInputVisual,r.setOptions(n),"[object Array]"===Object.prototype.toString.call(t)){var o=0;for(a=[],o=0;o<t.length;o+=1)"[object Array]"===Object.prototype.toString.call(t[o])?a.push([r.doBidiReorder(t[o][0]),t[o][1],t[o][2]]):a.push([r.doBidiReorder(t[o])]);e.text=a}else e.text=r.doBidiReorder(t);r.setOptions({isInputVisual:!0})}])}(L),L.API.TTFFont=function(){function e(e){var t;if(this.rawData=e,t=this.contents=new Pt(e),this.contents.pos=4,"ttcf"===t.readString(4))throw new Error("TTCF not supported.");t.pos=0,this.parse(),this.subset=new Zt(this),this.registerTTF()}return e.open=function(t){return new e(t)},e.prototype.parse=function(){return this.directory=new It(this.contents),this.head=new Mt(this),this.name=new Vt(this),this.cmap=new Bt(this),this.toUnicode={},this.hhea=new Wt(this),this.maxp=new qt(this),this.hmtx=new $t(this),this.post=new zt(this),this.os2=new Ut(this),this.loca=new Jt(this),this.glyf=new Xt(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},e.prototype.registerTTF=function(){var e,t,r,n,a;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var t,r,n,a;for(a=[],t=0,r=(n=this.bbox).length;t<r;t++)e=n[t],a.push(Math.round(e*this.scaleFactor));return a}.call(this),this.stemV=0,this.post.exists?(r=255&(n=this.post.italic_angle),0!=(32768&(t=n>>16))&&(t=-(1+(65535^t))),this.italicAngle=+(t+"."+r)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=1===(a=this.familyClass)||2===a||3===a||4===a||5===a||7===a,this.isScript=10===this.familyClass,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),0!==this.italicAngle&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},e.prototype.characterToGlyph=function(e){var t;return(null!=(t=this.cmap.unicode)?t.codeMap[e]:void 0)||0},e.prototype.widthOfGlyph=function(e){var t;return t=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(e).advance*t},e.prototype.widthOfString=function(e,t,r){var n,a,o,i;for(o=0,a=0,i=(e=""+e).length;0<=i?a<i:a>i;a=0<=i?++a:--a)n=e.charCodeAt(a),o+=this.widthOfGlyph(this.characterToGlyph(n))+r*(1e3/t)||0;return o*(t/1e3)},e.prototype.lineHeight=function(e,t){var r;return null==t&&(t=!1),r=t?this.lineGap:0,(this.ascender+r-this.decender)/1e3*e},e}();var Lt,Pt=function(){function e(e){this.data=null!=e?e:[],this.pos=0,this.length=this.data.length}return e.prototype.readByte=function(){return this.data[this.pos++]},e.prototype.writeByte=function(e){return this.data[this.pos++]=e},e.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},e.prototype.writeUInt32=function(e){return this.writeByte(e>>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e)},e.prototype.readInt32=function(){var e;return(e=this.readUInt32())>=2147483648?e-4294967296:e},e.prototype.writeInt32=function(e){return e<0&&(e+=4294967296),this.writeUInt32(e)},e.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},e.prototype.writeUInt16=function(e){return this.writeByte(e>>8&255),this.writeByte(255&e)},e.prototype.readInt16=function(){var e;return(e=this.readUInt16())>=32768?e-65536:e},e.prototype.writeInt16=function(e){return e<0&&(e+=65536),this.writeUInt16(e)},e.prototype.readString=function(e){var t,r;for(r=[],t=0;0<=e?t<e:t>e;t=0<=e?++t:--t)r[t]=String.fromCharCode(this.readByte());return r.join("")},e.prototype.writeString=function(e){var t,r,n;for(n=[],t=0,r=e.length;0<=r?t<r:t>r;t=0<=r?++t:--t)n.push(this.writeByte(e.charCodeAt(t)));return n},e.prototype.readShort=function(){return this.readInt16()},e.prototype.writeShort=function(e){return this.writeInt16(e)},e.prototype.readLongLong=function(){var e,t,r,n,a,o,i,s;return e=this.readByte(),t=this.readByte(),r=this.readByte(),n=this.readByte(),a=this.readByte(),o=this.readByte(),i=this.readByte(),s=this.readByte(),128&e?-1*(72057594037927940*(255^e)+281474976710656*(255^t)+1099511627776*(255^r)+4294967296*(255^n)+16777216*(255^a)+65536*(255^o)+256*(255^i)+(255^s)+1):72057594037927940*e+281474976710656*t+1099511627776*r+4294967296*n+16777216*a+65536*o+256*i+s},e.prototype.writeLongLong=function(e){var t,r;return t=Math.floor(e/4294967296),r=4294967295&e,this.writeByte(t>>24&255),this.writeByte(t>>16&255),this.writeByte(t>>8&255),this.writeByte(255&t),this.writeByte(r>>24&255),this.writeByte(r>>16&255),this.writeByte(r>>8&255),this.writeByte(255&r)},e.prototype.readInt=function(){return this.readInt32()},e.prototype.writeInt=function(e){return this.writeInt32(e)},e.prototype.read=function(e){var t,r;for(t=[],r=0;0<=e?r<e:r>e;r=0<=e?++r:--r)t.push(this.readByte());return t},e.prototype.write=function(e){var t,r,n,a;for(a=[],r=0,n=e.length;r<n;r++)t=e[r],a.push(this.writeByte(t));return a},e}(),It=function(){var e;function t(e){var t,r,n;for(this.scalarType=e.readInt(),this.tableCount=e.readShort(),this.searchRange=e.readShort(),this.entrySelector=e.readShort(),this.rangeShift=e.readShort(),this.tables={},r=0,n=this.tableCount;0<=n?r<n:r>n;r=0<=n?++r:--r)t={tag:e.readString(4),checksum:e.readInt(),offset:e.readInt(),length:e.readInt()},this.tables[t.tag]=t}return t.prototype.encode=function(t){var r,n,a,o,i,s,c,l,u,f,h,d,p;for(p in h=Object.keys(t).length,s=Math.log(2),u=16*Math.floor(Math.log(h)/s),o=Math.floor(u/s),l=16*h-u,(n=new Pt).writeInt(this.scalarType),n.writeShort(h),n.writeShort(u),n.writeShort(o),n.writeShort(l),a=16*h,c=n.pos+a,i=null,d=[],t)for(f=t[p],n.writeString(p),n.writeInt(e(f)),n.writeInt(c),n.writeInt(f.length),d=d.concat(f),"head"===p&&(i=c),c+=f.length;c%4;)d.push(0),c++;return n.write(d),r=2981146554-e(n.data),n.pos=i+8,n.writeUInt32(r),n.data},e=function(e){var t,r,n,a;for(e=Gt.call(e);e.length%4;)e.push(0);for(n=new Pt(e),r=0,t=0,a=e.length;t<a;t=t+=4)r+=n.readUInt32();return 4294967295&r},t}(),Ft={}.hasOwnProperty,Dt=function(e,t){for(var r in t)Ft.call(t,r)&&(e[r]=t[r]);function n(){this.constructor=e}return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},Mt=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Dt(t,e),t.prototype.tag="head",t.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.revision=e.readInt(),this.checkSumAdjustment=e.readInt(),this.magicNumber=e.readInt(),this.flags=e.readShort(),this.unitsPerEm=e.readShort(),this.created=e.readLongLong(),this.modified=e.readLongLong(),this.xMin=e.readShort(),this.yMin=e.readShort(),this.xMax=e.readShort(),this.yMax=e.readShort(),this.macStyle=e.readShort(),this.lowestRecPPEM=e.readShort(),this.fontDirectionHint=e.readShort(),this.indexToLocFormat=e.readShort(),this.glyphDataFormat=e.readShort()},t.prototype.encode=function(e){var t;return(t=new Pt).writeInt(this.version),t.writeInt(this.revision),t.writeInt(this.checkSumAdjustment),t.writeInt(this.magicNumber),t.writeShort(this.flags),t.writeShort(this.unitsPerEm),t.writeLongLong(this.created),t.writeLongLong(this.modified),t.writeShort(this.xMin),t.writeShort(this.yMin),t.writeShort(this.xMax),t.writeShort(this.yMax),t.writeShort(this.macStyle),t.writeShort(this.lowestRecPPEM),t.writeShort(this.fontDirectionHint),t.writeShort(e),t.writeShort(this.glyphDataFormat),t.data},t}(Lt=function(){function e(e){var t;this.file=e,t=this.file.directory.tables[this.tag],this.exists=!!t,t&&(this.offset=t.offset,this.length=t.length,this.parse(this.file.contents))}return e.prototype.parse=function(){},e.prototype.encode=function(){},e.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},e}()),jt=function(){function e(e,t){var r,n,a,o,i,s,c,l,u,f,h,d,p,g,m,v,b;switch(this.platformID=e.readUInt16(),this.encodingID=e.readShort(),this.offset=t+e.readInt(),u=e.pos,e.pos=this.offset,this.format=e.readUInt16(),this.length=e.readUInt16(),this.language=e.readUInt16(),this.isUnicode=3===this.platformID&&1===this.encodingID&&4===this.format||0===this.platformID&&4===this.format,this.codeMap={},this.format){case 0:for(s=0;s<256;++s)this.codeMap[s]=e.readByte();break;case 4:for(h=e.readUInt16(),f=h/2,e.pos+=6,a=function(){var t,r;for(r=[],s=t=0;0<=f?t<f:t>f;s=0<=f?++t:--t)r.push(e.readUInt16());return r}(),e.pos+=2,p=function(){var t,r;for(r=[],s=t=0;0<=f?t<f:t>f;s=0<=f?++t:--t)r.push(e.readUInt16());return r}(),c=function(){var t,r;for(r=[],s=t=0;0<=f?t<f:t>f;s=0<=f?++t:--t)r.push(e.readUInt16());return r}(),l=function(){var t,r;for(r=[],s=t=0;0<=f?t<f:t>f;s=0<=f?++t:--t)r.push(e.readUInt16());return r}(),n=(this.length-e.pos+this.offset)/2,i=function(){var t,r;for(r=[],s=t=0;0<=n?t<n:t>n;s=0<=n?++t:--t)r.push(e.readUInt16());return r}(),s=m=0,b=a.length;m<b;s=++m)for(g=a[s],r=v=d=p[s];d<=g?v<=g:v>=g;r=d<=g?++v:--v)0===l[s]?o=r+c[s]:0!==(o=i[l[s]/2+(r-d)-(f-s)]||0)&&(o+=c[s]),this.codeMap[r]=65535&o}e.pos=u}return e.encode=function(e,t){var r,n,a,o,i,s,c,l,u,f,h,d,p,g,m,v,b,y,w,S,x,k,A,T,E,_,N,C,R,O,L,P,I,F,D,M,j,B,W,U,z,H,V,q,$,G;switch(C=new Pt,o=Object.keys(e).sort(function(e,t){return e-t}),t){case"macroman":for(p=0,g=function(){var e=[];for(d=0;d<256;++d)e.push(0);return e}(),v={0:0},a={},R=0,I=o.length;R<I;R++)null==v[V=e[n=o[R]]]&&(v[V]=++p),a[n]={old:e[n],new:v[e[n]]},g[n]=v[e[n]];return C.writeUInt16(1),C.writeUInt16(0),C.writeUInt32(12),C.writeUInt16(0),C.writeUInt16(262),C.writeUInt16(0),C.write(g),{charMap:a,subtable:C.data,maxGlyphID:p+1};case"unicode":for(_=[],u=[],b=0,v={},r={},m=c=null,O=0,F=o.length;O<F;O++)null==v[w=e[n=o[O]]]&&(v[w]=++b),r[n]={old:w,new:v[w]},i=v[w]-n,null!=m&&i===c||(m&&u.push(m),_.push(n),c=i),m=n;for(m&&u.push(m),u.push(65535),_.push(65535),T=2*(A=_.length),k=2*Math.pow(Math.log(A)/Math.LN2,2),f=Math.log(k/2)/Math.LN2,x=2*A-k,s=[],S=[],h=[],d=L=0,D=_.length;L<D;d=++L){if(E=_[d],l=u[d],65535===E){s.push(0),S.push(0);break}if(E-(N=r[E].new)>=32768)for(s.push(0),S.push(2*(h.length+A-d)),n=P=E;E<=l?P<=l:P>=l;n=E<=l?++P:--P)h.push(r[n].new);else s.push(N-E),S.push(0)}for(C.writeUInt16(3),C.writeUInt16(1),C.writeUInt32(12),C.writeUInt16(4),C.writeUInt16(16+8*A+2*h.length),C.writeUInt16(0),C.writeUInt16(T),C.writeUInt16(k),C.writeUInt16(f),C.writeUInt16(x),z=0,M=u.length;z<M;z++)n=u[z],C.writeUInt16(n);for(C.writeUInt16(0),H=0,j=_.length;H<j;H++)n=_[H],C.writeUInt16(n);for(q=0,B=s.length;q<B;q++)i=s[q],C.writeUInt16(i);for($=0,W=S.length;$<W;$++)y=S[$],C.writeUInt16(y);for(G=0,U=h.length;G<U;G++)p=h[G],C.writeUInt16(p);return{charMap:r,subtable:C.data,maxGlyphID:b+1}}},e}(),Bt=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Dt(t,Lt),t.prototype.tag="cmap",t.prototype.parse=function(e){var t,r,n;for(e.pos=this.offset,this.version=e.readUInt16(),n=e.readUInt16(),this.tables=[],this.unicode=null,r=0;0<=n?r<n:r>n;r=0<=n?++r:--r)t=new jt(e,this.offset),this.tables.push(t),t.isUnicode&&null==this.unicode&&(this.unicode=t);return!0},t.encode=function(e,t){var r,n;return null==t&&(t="macroman"),r=jt.encode(e,t),(n=new Pt).writeUInt16(0),n.writeUInt16(1),r.table=n.data.concat(r.subtable),r},t}(),Wt=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Dt(t,Lt),t.prototype.tag="hhea",t.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.ascender=e.readShort(),this.decender=e.readShort(),this.lineGap=e.readShort(),this.advanceWidthMax=e.readShort(),this.minLeftSideBearing=e.readShort(),this.minRightSideBearing=e.readShort(),this.xMaxExtent=e.readShort(),this.caretSlopeRise=e.readShort(),this.caretSlopeRun=e.readShort(),this.caretOffset=e.readShort(),e.pos+=8,this.metricDataFormat=e.readShort(),this.numberOfMetrics=e.readUInt16()},t}(),Ut=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Dt(t,Lt),t.prototype.tag="OS/2",t.prototype.parse=function(e){if(e.pos=this.offset,this.version=e.readUInt16(),this.averageCharWidth=e.readShort(),this.weightClass=e.readUInt16(),this.widthClass=e.readUInt16(),this.type=e.readShort(),this.ySubscriptXSize=e.readShort(),this.ySubscriptYSize=e.readShort(),this.ySubscriptXOffset=e.readShort(),this.ySubscriptYOffset=e.readShort(),this.ySuperscriptXSize=e.readShort(),this.ySuperscriptYSize=e.readShort(),this.ySuperscriptXOffset=e.readShort(),this.ySuperscriptYOffset=e.readShort(),this.yStrikeoutSize=e.readShort(),this.yStrikeoutPosition=e.readShort(),this.familyClass=e.readShort(),this.panose=function(){var t,r;for(r=[],t=0;t<10;++t)r.push(e.readByte());return r}(),this.charRange=function(){var t,r;for(r=[],t=0;t<4;++t)r.push(e.readInt());return r}(),this.vendorID=e.readString(4),this.selection=e.readShort(),this.firstCharIndex=e.readShort(),this.lastCharIndex=e.readShort(),this.version>0&&(this.ascent=e.readShort(),this.descent=e.readShort(),this.lineGap=e.readShort(),this.winAscent=e.readShort(),this.winDescent=e.readShort(),this.codePageRange=function(){var t,r;for(r=[],t=0;t<2;t=++t)r.push(e.readInt());return r}(),this.version>1))return this.xHeight=e.readShort(),this.capHeight=e.readShort(),this.defaultChar=e.readShort(),this.breakChar=e.readShort(),this.maxContext=e.readShort()},t}(),zt=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Dt(t,Lt),t.prototype.tag="post",t.prototype.parse=function(e){var t,r,n;switch(e.pos=this.offset,this.format=e.readInt(),this.italicAngle=e.readInt(),this.underlinePosition=e.readShort(),this.underlineThickness=e.readShort(),this.isFixedPitch=e.readInt(),this.minMemType42=e.readInt(),this.maxMemType42=e.readInt(),this.minMemType1=e.readInt(),this.maxMemType1=e.readInt(),this.format){case 65536:break;case 131072:var a;for(r=e.readUInt16(),this.glyphNameIndex=[],a=0;0<=r?a<r:a>r;a=0<=r?++a:--a)this.glyphNameIndex.push(e.readUInt16());for(this.names=[],n=[];e.pos<this.offset+this.length;)t=e.readByte(),n.push(this.names.push(e.readString(t)));return n;case 151552:return r=e.readUInt16(),this.offsets=e.read(r);case 196608:break;case 262144:return this.map=function(){var t,r,n;for(n=[],a=t=0,r=this.file.maxp.numGlyphs;0<=r?t<r:t>r;a=0<=r?++t:--t)n.push(e.readUInt32());return n}.call(this)}},t}(),Ht=function(e,t){this.raw=e,this.length=e.length,this.platformID=t.platformID,this.encodingID=t.encodingID,this.languageID=t.languageID},Vt=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Dt(t,Lt),t.prototype.tag="name",t.prototype.parse=function(e){var t,r,n,a,o,i,s,c,l,u,f;for(e.pos=this.offset,e.readShort(),t=e.readShort(),i=e.readShort(),r=[],a=0;0<=t?a<t:a>t;a=0<=t?++a:--a)r.push({platformID:e.readShort(),encodingID:e.readShort(),languageID:e.readShort(),nameID:e.readShort(),length:e.readShort(),offset:this.offset+i+e.readShort()});for(s={},a=l=0,u=r.length;l<u;a=++l)n=r[a],e.pos=n.offset,c=e.readString(n.length),o=new Ht(c,n),null==s[f=n.nameID]&&(s[f]=[]),s[n.nameID].push(o);this.strings=s,this.copyright=s[0],this.fontFamily=s[1],this.fontSubfamily=s[2],this.uniqueSubfamily=s[3],this.fontName=s[4],this.version=s[5];try{this.postscriptName=s[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(e){this.postscriptName=s[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=s[7],this.manufacturer=s[8],this.designer=s[9],this.description=s[10],this.vendorUrl=s[11],this.designerUrl=s[12],this.license=s[13],this.licenseUrl=s[14],this.preferredFamily=s[15],this.preferredSubfamily=s[17],this.compatibleFull=s[18],this.sampleText=s[19]},t}(),qt=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Dt(t,Lt),t.prototype.tag="maxp",t.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.numGlyphs=e.readUInt16(),this.maxPoints=e.readUInt16(),this.maxContours=e.readUInt16(),this.maxCompositePoints=e.readUInt16(),this.maxComponentContours=e.readUInt16(),this.maxZones=e.readUInt16(),this.maxTwilightPoints=e.readUInt16(),this.maxStorage=e.readUInt16(),this.maxFunctionDefs=e.readUInt16(),this.maxInstructionDefs=e.readUInt16(),this.maxStackElements=e.readUInt16(),this.maxSizeOfInstructions=e.readUInt16(),this.maxComponentElements=e.readUInt16(),this.maxComponentDepth=e.readUInt16()},t}(),$t=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Dt(t,Lt),t.prototype.tag="hmtx",t.prototype.parse=function(e){var t,r,n,a,o,i,s;for(e.pos=this.offset,this.metrics=[],t=0,i=this.file.hhea.numberOfMetrics;0<=i?t<i:t>i;t=0<=i?++t:--t)this.metrics.push({advance:e.readUInt16(),lsb:e.readInt16()});for(n=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var r,a;for(a=[],t=r=0;0<=n?r<n:r>n;t=0<=n?++r:--r)a.push(e.readInt16());return a}(),this.widths=function(){var e,t,r,n;for(n=[],e=0,t=(r=this.metrics).length;e<t;e++)a=r[e],n.push(a.advance);return n}.call(this),r=this.widths[this.widths.length-1],s=[],t=o=0;0<=n?o<n:o>n;t=0<=n?++o:--o)s.push(this.widths.push(r));return s},t.prototype.forGlyph=function(e){return e in this.metrics?this.metrics[e]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[e-this.metrics.length]}},t}(),Gt=[].slice,Xt=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Dt(t,Lt),t.prototype.tag="glyf",t.prototype.parse=function(){return this.cache={}},t.prototype.glyphFor=function(e){var t,r,n,a,o,i,s,c,l,u;return e in this.cache?this.cache[e]:(a=this.file.loca,t=this.file.contents,r=a.indexOf(e),0===(n=a.lengthOf(e))?this.cache[e]=null:(t.pos=this.offset+r,o=(i=new Pt(t.read(n))).readShort(),c=i.readShort(),u=i.readShort(),s=i.readShort(),l=i.readShort(),this.cache[e]=-1===o?new Kt(i,c,u,s,l):new Yt(i,o,c,u,s,l),this.cache[e]))},t.prototype.encode=function(e,t,r){var n,a,o,i,s;for(o=[],a=[],i=0,s=t.length;i<s;i++)n=e[t[i]],a.push(o.length),n&&(o=o.concat(n.encode(r)));return a.push(o.length),{table:o,offsets:a}},t}(),Yt=function(){function e(e,t,r,n,a,o){this.raw=e,this.numberOfContours=t,this.xMin=r,this.yMin=n,this.xMax=a,this.yMax=o,this.compound=!1}return e.prototype.encode=function(){return this.raw.data},e}(),Kt=function(){function e(e,t,r,n,a){var o,i;for(this.raw=e,this.xMin=t,this.yMin=r,this.xMax=n,this.yMax=a,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],o=this.raw;i=o.readShort(),this.glyphOffsets.push(o.pos),this.glyphIDs.push(o.readUInt16()),32&i;)o.pos+=1&i?4:2,128&i?o.pos+=8:64&i?o.pos+=4:8&i&&(o.pos+=2)}return e.prototype.encode=function(){var e,t,r;for(t=new Pt(Gt.call(this.raw.data)),e=0,r=this.glyphIDs.length;e<r;++e)t.pos=this.glyphOffsets[e];return t.data},e}(),Jt=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Dt(t,Lt),t.prototype.tag="loca",t.prototype.parse=function(e){var t,r;return e.pos=this.offset,t=this.file.head.indexToLocFormat,this.offsets=0===t?function(){var t,n;for(n=[],r=0,t=this.length;r<t;r+=2)n.push(2*e.readUInt16());return n}.call(this):function(){var t,n;for(n=[],r=0,t=this.length;r<t;r+=4)n.push(e.readUInt32());return n}.call(this)},t.prototype.indexOf=function(e){return this.offsets[e]},t.prototype.lengthOf=function(e){return this.offsets[e+1]-this.offsets[e]},t.prototype.encode=function(e,t){for(var r=new Uint32Array(this.offsets.length),n=0,a=0,o=0;o<r.length;++o)if(r[o]=n,a<t.length&&t[a]==o){++a,r[o]=n;var i=this.offsets[o],s=this.offsets[o+1]-i;s>0&&(n+=s)}for(var c=new Array(4*r.length),l=0;l<r.length;++l)c[4*l+3]=255&r[l],c[4*l+2]=(65280&r[l])>>8,c[4*l+1]=(16711680&r[l])>>16,c[4*l]=(4278190080&r[l])>>24;return c},t}(),Zt=function(){function e(e){this.font=e,this.subset={},this.unicodes={},this.next=33}return e.prototype.generateCmap=function(){var e,t,r,n,a;for(t in n=this.font.cmap.tables[0].codeMap,e={},a=this.subset)r=a[t],e[t]=n[r];return e},e.prototype.glyphsFor=function(e){var t,r,n,a,o,i,s;for(n={},o=0,i=e.length;o<i;o++)n[a=e[o]]=this.font.glyf.glyphFor(a);for(a in t=[],n)(null!=(r=n[a])?r.compound:void 0)&&t.push.apply(t,r.glyphIDs);if(t.length>0)for(a in s=this.glyphsFor(t))r=s[a],n[a]=r;return n},e.prototype.encode=function(e,t){var r,n,a,o,i,s,c,l,u,f,h,d,p,g,m;for(n in r=Bt.encode(this.generateCmap(),"unicode"),o=this.glyphsFor(e),h={0:0},m=r.charMap)h[(s=m[n]).old]=s.new;for(d in f=r.maxGlyphID,o)d in h||(h[d]=f++);return l=function(e){var t,r;for(t in r={},e)r[e[t]]=t;return r}(h),u=Object.keys(l).sort(function(e,t){return e-t}),p=function(){var e,t,r;for(r=[],e=0,t=u.length;e<t;e++)i=u[e],r.push(l[i]);return r}(),a=this.font.glyf.encode(o,p,h),c=this.font.loca.encode(a.offsets,p),g={cmap:this.font.cmap.raw(),glyf:a.table,loca:c,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(t)},this.font.os2.exists&&(g["OS/2"]=this.font.os2.raw()),this.font.directory.encode(g)},e}();L.API.PDFObject=function(){var e;function t(){}return e=function(e,t){return(Array(t+1).join("0")+e).slice(-t)},t.convert=function(r){var n,a,o,i;if(Array.isArray(r))return"["+function(){var e,a,o;for(o=[],e=0,a=r.length;e<a;e++)n=r[e],o.push(t.convert(n));return o}().join(" ")+"]";if("string"==typeof r)return"/"+r;if(null!=r?r.isString:void 0)return"("+r+")";if(r instanceof Date)return"(D:"+e(r.getUTCFullYear(),4)+e(r.getUTCMonth(),2)+e(r.getUTCDate(),2)+e(r.getUTCHours(),2)+e(r.getUTCMinutes(),2)+e(r.getUTCSeconds(),2)+"Z)";if("[object Object]"==={}.toString.call(r)){for(a in o=["<<"],r)i=r[a],o.push("/"+a+" "+t.convert(i));return o.push(">>"),o.join("\n")}return""+r},t}(),e.AcroForm=ye,e.AcroFormAppearance=ve,e.AcroFormButton=ue,e.AcroFormCheckBox=pe,e.AcroFormChoiceField=ie,e.AcroFormComboBox=ce,e.AcroFormEditBox=le,e.AcroFormListBox=se,e.AcroFormPasswordField=me,e.AcroFormPushButton=fe,e.AcroFormRadioButton=he,e.AcroFormTextField=ge,e.GState=N,e.ShadingPattern=R,e.TilingPattern=O,e.default=L,e.jsPDF=L,Object.defineProperty(e,"__esModule",{value:!0})});var saveAs=saveAs||function(e){"use strict";if(!(void 0===e||"undefined"!=typeof navigator&&/MSIE [1-9]\./.test(navigator.userAgent))){var t=e.document,r=function(){return e.URL||e.webkitURL||e},n=t.createElementNS("http://www.w3.org/1999/xhtml","a"),a="download"in n,o=/constructor/i.test(e.HTMLElement)||e.safari,i=/CriOS\/[\d]+/.test(navigator.userAgent),s=function(t){(e.setImmediate||e.setTimeout)(function(){throw t},0)},c=function(e){setTimeout(function(){"string"==typeof e?r().revokeObjectURL(e):e.remove()},4e4)},l=function(e,t,r){for(var n=(t=[].concat(t)).length;n--;){var a=e["on"+t[n]];if("function"==typeof a)try{a.call(e,r||e)}catch(e){s(e)}}},u=function(e){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e},f=function(t,s,f){f||(t=u(t));var h,d=this,p="application/octet-stream"===t.type,g=function(){l(d,"writestart progress write writeend".split(" "))};if(d.readyState=d.INIT,a)return h=r().createObjectURL(t),void setTimeout(function(){var e,t;n.href=h,n.download=s,e=n,t=new MouseEvent("click"),e.dispatchEvent(t),g(),c(h),d.readyState=d.DONE});!function(){if((i||p&&o)&&e.FileReader){var n=new FileReader;return n.onloadend=function(){var t=i?n.result:n.result.replace(/^data:[^;]*;/,"data:attachment/file;");e.open(t,"_blank")||(e.location.href=t),t=void 0,d.readyState=d.DONE,g()},n.readAsDataURL(t),void(d.readyState=d.INIT)}h||(h=r().createObjectURL(t)),p?e.location.href=h:e.open(h,"_blank")||(e.location.href=h);d.readyState=d.DONE,g(),c(h)}()},h=f.prototype;return"undefined"!=typeof navigator&&navigator.msSaveOrOpenBlob?function(e,t,r){return t=t||e.name||"download",r||(e=u(e)),navigator.msSaveOrOpenBlob(e,t)}:(h.abort=function(){},h.readyState=h.INIT=0,h.WRITING=1,h.DONE=2,h.error=h.onwritestart=h.onprogress=h.onwrite=h.onabort=h.onerror=h.onwriteend=null,function(e,t,r){return new f(e,t||e.name||"download",r)})}}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||this.content);"undefined"!=typeof module&&module.exports?module.exports.saveAs=saveAs:"undefined"!=typeof define&&null!==define&&null!==define.amd&&define("FileSaver.js",function(){return saveAs});var XLSX={};function make_xlsx_lib(e){e.version="0.18.5";var t,r=1200,n=1252;"undefined"!=typeof cptable?t=cptable:"undefined"!=typeof module&&"undefined"!=typeof require&&(t=void 0);var a=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4],o={0:1252,1:65001,2:65001,77:1e4,128:932,129:949,130:1361,134:936,136:950,161:1253,162:1254,163:1258,177:1255,178:1256,186:1257,204:1251,222:874,238:1250,255:1252,69:6969},i=function(e){-1!=a.indexOf(e)&&(n=o[0]=e)};var s=function(e){r=e,i(e)};function c(){s(1200),i(1252)}function l(e){for(var t=[],r=0,n=e.length;r<n;++r)t[r]=e.charCodeAt(r);return t}function u(e){for(var t=[],r=0;r<e.length>>1;++r)t[r]=String.fromCharCode(e.charCodeAt(2*r+1)+(e.charCodeAt(2*r)<<8));return t.join("")}var f=function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1);return 255==t&&254==r?function(e){for(var t=[],r=0;r<e.length>>1;++r)t[r]=String.fromCharCode(e.charCodeAt(2*r)+(e.charCodeAt(2*r+1)<<8));return t.join("")}(e.slice(2)):254==t&&255==r?u(e.slice(2)):65279==t?e.slice(1):e},h=function(e){return String.fromCharCode(e)},d=function(e){return String.fromCharCode(e)};void 0!==t&&(s=function(e){r=e,i(e)},f=function(e){return 255===e.charCodeAt(0)&&254===e.charCodeAt(1)?t.utils.decode(1200,l(e.slice(2))):e},h=function(e){return 1200===r?String.fromCharCode(e):t.utils.decode(r,[255&e,e>>8])[0]},d=function(e){return t.utils.decode(n,[e])[0]});var p=null,g=!0,m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function v(e){for(var t="",r=0,n=0,a=0,o=0,i=0,s=0,c=0,l=0;l<e.length;)o=(r=e.charCodeAt(l++))>>2,i=(3&r)<<4|(n=e.charCodeAt(l++))>>4,s=(15&n)<<2|(a=e.charCodeAt(l++))>>6,c=63&a,isNaN(n)?s=c=64:isNaN(a)&&(c=64),t+=m.charAt(o)+m.charAt(i)+m.charAt(s)+m.charAt(c);return t}function b(e){var t="",r=0,n=0,a=0,o=0,i=0,s=0;e=e.replace(/[^\w\+\/\=]/g,"");for(var c=0;c<e.length;)r=m.indexOf(e.charAt(c++))<<2|(o=m.indexOf(e.charAt(c++)))>>4,t+=String.fromCharCode(r),n=(15&o)<<4|(i=m.indexOf(e.charAt(c++)))>>2,64!==i&&(t+=String.fromCharCode(n)),a=(3&i)<<6|(s=m.indexOf(e.charAt(c++))),64!==s&&(t+=String.fromCharCode(a));return t}var y="undefined"!=typeof Buffer&&!1,w=function(){if("undefined"!=typeof Buffer){var e=!Buffer.from;if(!e)try{Buffer.from("foo","utf8")}catch(t){e=!0}return e?function(e,t){return t?new Buffer(e,t):new Buffer(e)}:Buffer.from.bind(Buffer)}return function(){}}();function S(e){return y?Buffer.alloc?Buffer.alloc(e):new Buffer(e):"undefined"!=typeof Uint8Array?new Uint8Array(e):new Array(e)}function x(e){return y?Buffer.allocUnsafe?Buffer.allocUnsafe(e):new Buffer(e):"undefined"!=typeof Uint8Array?new Uint8Array(e):new Array(e)}var k=function(e){return y?w(e,"binary"):e.split("").map(function(e){return 255&e.charCodeAt(0)})};function A(e){if("undefined"==typeof ArrayBuffer)return k(e);for(var t=new ArrayBuffer(e.length),r=new Uint8Array(t),n=0;n!=e.length;++n)r[n]=255&e.charCodeAt(n);return t}function T(e){if(Array.isArray(e))return e.map(function(e){return String.fromCharCode(e)}).join("");for(var t=[],r=0;r<e.length;++r)t[r]=String.fromCharCode(e[r]);return t.join("")}function E(e){if("undefined"==typeof ArrayBuffer)throw new Error("Unsupported");if(e instanceof ArrayBuffer)return E(new Uint8Array(e));for(var t=new Array(e.length),r=0;r<e.length;++r)t[r]=e[r];return t}var _=y?function(e){return Buffer.concat(e.map(function(e){return Buffer.isBuffer(e)?e:w(e)}))}:function(e){if("undefined"!=typeof Uint8Array){var t=0,r=0;for(t=0;t<e.length;++t)r+=e[t].length;var n=new Uint8Array(r),a=0;for(t=0,r=0;t<e.length;r+=a,++t)if(a=e[t].length,e[t]instanceof Uint8Array)n.set(e[t],r);else{if("string"==typeof e[t])throw"wtf";n.set(new Uint8Array(e[t]),r)}return n}return[].concat.apply([],e.map(function(e){return Array.isArray(e)?e:[].slice.call(e)}))};var N=/\u0000/g,C=/[\u0001-\u0006]/g;function R(e){for(var t="",r=e.length-1;r>=0;)t+=e.charAt(r--);return t}function O(e,t){var r=""+e;return r.length>=t?r:qe("0",t-r.length)+r}function L(e,t){var r=""+e;return r.length>=t?r:qe(" ",t-r.length)+r}function P(e,t){var r=""+e;return r.length>=t?r:r+qe(" ",t-r.length)}var I=Math.pow(2,32);function F(e,t){return e>I||e<-I?function(e,t){var r=""+Math.round(e);return r.length>=t?r:qe("0",t-r.length)+r}(e,t):function(e,t){var r=""+e;return r.length>=t?r:qe("0",t-r.length)+r}(Math.round(e),t)}function D(e,t){return t=t||0,e.length>=7+t&&103==(32|e.charCodeAt(t))&&101==(32|e.charCodeAt(t+1))&&110==(32|e.charCodeAt(t+2))&&101==(32|e.charCodeAt(t+3))&&114==(32|e.charCodeAt(t+4))&&97==(32|e.charCodeAt(t+5))&&108==(32|e.charCodeAt(t+6))}var M=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],j=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]];var B={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"上午/下午 "hh"時"mm"分"ss"秒 "'},W={5:37,6:38,7:39,8:40,23:0,24:0,25:0,26:0,27:14,28:14,29:14,30:14,31:14,50:14,51:14,52:14,53:14,54:14,55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4,67:9,68:10,69:12,70:13,71:14,72:14,73:15,74:16,75:17,76:20,77:21,78:22,79:45,80:46,81:47,82:0},U={5:'"$"#,##0_);\\("$"#,##0\\)',63:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',41:'_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)'};function z(e,t,r){for(var n=e<0?-1:1,a=e*n,o=0,i=1,s=0,c=1,l=0,u=0,f=Math.floor(a);l<t&&(s=(f=Math.floor(a))*i+o,u=f*l+c,!(a-f<5e-8));)a=1/(a-f),o=i,i=s,c=l,l=u;if(u>t&&(l>t?(u=c,s=o):(u=l,s=i)),!r)return[0,n*s,u];var h=Math.floor(n*s/u);return[h,n*s-h*u,u]}function H(e,t,r){if(e>2958465||e<0)return null;var n=0|e,a=Math.floor(86400*(e-n)),o=0,i=[],s={D:n,T:a,u:86400*(e-n)-a,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(s.u)<1e-6&&(s.u=0),t&&t.date1904&&(n+=1462),s.u>.9999&&(s.u=0,86400==++a&&(s.T=a=0,++n,++s.D)),60===n)i=r?[1317,10,29]:[1900,2,29],o=3;else if(0===n)i=r?[1317,8,29]:[1900,1,0],o=6;else{n>60&&--n;var c=new Date(1900,0,1);c.setDate(c.getDate()+n-1),i=[c.getFullYear(),c.getMonth()+1,c.getDate()],o=c.getDay(),n<60&&(o=(o+6)%7),r&&(o=function(e,t){t[0]-=581;var r=e.getDay();e<60&&(r=(r+6)%7);return r}(c,i))}return s.y=i[0],s.m=i[1],s.d=i[2],s.S=a%60,a=Math.floor(a/60),s.M=a%60,a=Math.floor(a/60),s.H=a,s.q=o,s}var V=new Date(1899,11,31,0,0,0),q=V.getTime(),G=new Date(1900,2,1,0,0,0);function X(e,t){var r=e.getTime();return t?r-=1262304e5:e>=G&&(r+=864e5),(r-(q+6e4*(e.getTimezoneOffset()-V.getTimezoneOffset())))/864e5}function Y(e){return-1==e.indexOf(".")?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function K(e){var t,r=Math.floor(Math.log(Math.abs(e))*Math.LOG10E);return t=r>=-4&&r<=-1?e.toPrecision(10+r):Math.abs(r)<=9?function(e){var t=e<0?12:11,r=Y(e.toFixed(12));return r.length<=t?r:(r=e.toPrecision(10)).length<=t?r:e.toExponential(5)}(e):10===r?e.toFixed(10).substr(0,12):function(e){var t=Y(e.toFixed(11));return t.length>(e<0?12:11)||"0"===t||"-0"===t?e.toPrecision(6):t}(e),Y(function(e){return-1==e.indexOf("E")?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}(t.toUpperCase()))}function J(e,t){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(0|e)===e?e.toString(10):K(e);case"undefined":return"";case"object":if(null==e)return"";if(e instanceof Date)return me(14,X(e,t&&t.date1904),t)}throw new Error("unsupported value in General format: "+e)}function Z(e,t,r,n){var a,o="",i=0,s=0,c=r.y,l=0;switch(e){case 98:c=r.y+543;case 121:switch(t.length){case 1:case 2:a=c%100,l=2;break;default:a=c%1e4,l=4}break;case 109:switch(t.length){case 1:case 2:a=r.m,l=t.length;break;case 3:return j[r.m-1][1];case 5:return j[r.m-1][0];default:return j[r.m-1][2]}break;case 100:switch(t.length){case 1:case 2:a=r.d,l=t.length;break;case 3:return M[r.q][0];default:return M[r.q][1]}break;case 104:switch(t.length){case 1:case 2:a=1+(r.H+11)%12,l=t.length;break;default:throw"bad hour format: "+t}break;case 72:switch(t.length){case 1:case 2:a=r.H,l=t.length;break;default:throw"bad hour format: "+t}break;case 77:switch(t.length){case 1:case 2:a=r.M,l=t.length;break;default:throw"bad minute format: "+t}break;case 115:if("s"!=t&&"ss"!=t&&".0"!=t&&".00"!=t&&".000"!=t)throw"bad second format: "+t;return 0!==r.u||"s"!=t&&"ss"!=t?(s=n>=2?3===n?1e3:100:1===n?10:1,(i=Math.round(s*(r.S+r.u)))>=60*s&&(i=0),"s"===t?0===i?"0":""+i/s:(o=O(i,2+n),"ss"===t?o.substr(0,2):"."+o.substr(2,t.length-1))):O(r.S,t.length);case 90:switch(t){case"[h]":case"[hh]":a=24*r.D+r.H;break;case"[m]":case"[mm]":a=60*(24*r.D+r.H)+r.M;break;case"[s]":case"[ss]":a=60*(60*(24*r.D+r.H)+r.M)+Math.round(r.S+r.u);break;default:throw"bad abstime format: "+t}l=3===t.length?1:2;break;case 101:a=c,l=1}return l>0?O(a,l):""}function Q(e){if(e.length<=3)return e;for(var t=e.length%3,r=e.substr(0,t);t!=e.length;t+=3)r+=(r.length>0?",":"")+e.substr(t,3);return r}var ee=/%/g;var te=/# (\?+)( ?)\/( ?)(\d+)/;var re=/^#*0*\.([0#]+)/,ne=/\).*[0#]/,ae=/\(###\) ###\\?-####/;function oe(e){for(var t,r="",n=0;n!=e.length;++n)switch(t=e.charCodeAt(n)){case 35:break;case 63:r+=" ";break;case 48:r+="0";break;default:r+=String.fromCharCode(t)}return r}function ie(e,t){var r=Math.pow(10,t);return""+Math.round(e*r)/r}function se(e,t){var r=e-Math.floor(e),n=Math.pow(10,t);return t<(""+Math.round(r*n)).length?0:Math.round(r*n)}function ce(e,t,r){if(40===e.charCodeAt(0)&&!t.match(ne)){var n=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?ce("n",n,r):"("+ce("n",n,-r)+")"}if(44===t.charCodeAt(t.length-1))return function(e,t,r){for(var n=t.length-1;44===t.charCodeAt(n-1);)--n;return ue(e,t.substr(0,n),r/Math.pow(10,3*(t.length-n)))}(e,t,r);if(-1!==t.indexOf("%"))return function(e,t,r){var n=t.replace(ee,""),a=t.length-n.length;return ue(e,n,r*Math.pow(10,2*a))+qe("%",a)}(e,t,r);if(-1!==t.indexOf("E"))return function e(t,r){var n,a=t.indexOf("E")-t.indexOf(".")-1;if(t.match(/^#+0.0E\+0$/)){if(0==r)return"0.0E+0";if(r<0)return"-"+e(t,-r);var o=t.indexOf(".");-1===o&&(o=t.indexOf("E"));var i=Math.floor(Math.log(r)*Math.LOG10E)%o;if(i<0&&(i+=o),-1===(n=(r/Math.pow(10,i)).toPrecision(a+1+(o+i)%o)).indexOf("e")){var s=Math.floor(Math.log(r)*Math.LOG10E);for(-1===n.indexOf(".")?n=n.charAt(0)+"."+n.substr(1)+"E+"+(s-n.length+i):n+="E+"+(s-i);"0."===n.substr(0,2);)n=(n=n.charAt(0)+n.substr(2,o)+"."+n.substr(2+o)).replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");n=n.replace(/\+-/,"-")}n=n.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(e,t,r,n){return t+r+n.substr(0,(o+i)%o)+"."+n.substr(i)+"E"})}else n=r.toExponential(a);return t.match(/E\+00$/)&&n.match(/e[+-]\d$/)&&(n=n.substr(0,n.length-1)+"0"+n.charAt(n.length-1)),t.match(/E\-/)&&n.match(/e\+/)&&(n=n.replace(/e\+/,"e")),n.replace("e","E")}(t,r);if(36===t.charCodeAt(0))return"$"+ce(e,t.substr(" "==t.charAt(1)?2:1),r);var a,o,i,s,c=Math.abs(r),l=r<0?"-":"";if(t.match(/^00+$/))return l+F(c,t.length);if(t.match(/^[#?]+$/))return"0"===(a=F(r,0))&&(a=""),a.length>t.length?a:oe(t.substr(0,t.length-a.length))+a;if(o=t.match(te))return function(e,t,r){var n=parseInt(e[4],10),a=Math.round(t*n),o=Math.floor(a/n),i=a-o*n,s=n;return r+(0===o?"":""+o)+" "+(0===i?qe(" ",e[1].length+1+e[4].length):L(i,e[1].length)+e[2]+"/"+e[3]+O(s,e[4].length))}(o,c,l);if(t.match(/^#+0+$/))return l+F(c,t.length-t.indexOf("0"));if(o=t.match(re))return a=ie(r,o[1].length).replace(/^([^\.]+)$/,"$1."+oe(o[1])).replace(/\.$/,"."+oe(o[1])).replace(/\.(\d*)$/,function(e,t){return"."+t+qe("0",oe(o[1]).length-t.length)}),-1!==t.indexOf("0.")?a:a.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),o=t.match(/^(0*)\.(#*)$/))return l+ie(c,o[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,o[1].length?"0.":".");if(o=t.match(/^#{1,3},##0(\.?)$/))return l+Q(F(c,0));if(o=t.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+ce(e,t,-r):Q(""+(Math.floor(r)+function(e,t){return t<(""+Math.round((e-Math.floor(e))*Math.pow(10,t))).length?1:0}(r,o[1].length)))+"."+O(se(r,o[1].length),o[1].length);if(o=t.match(/^#,#*,#0/))return ce(e,t.replace(/^#,#*,/,""),r);if(o=t.match(/^([0#]+)(\\?-([0#]+))+$/))return a=R(ce(e,t.replace(/[\\-]/g,""),r)),i=0,R(R(t.replace(/\\/g,"")).replace(/[0#]/g,function(e){return i<a.length?a.charAt(i++):"0"===e?"0":""}));if(t.match(ae))return"("+(a=ce(e,"##########",r)).substr(0,3)+") "+a.substr(3,3)+"-"+a.substr(6);var u="";if(o=t.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return i=Math.min(o[4].length,7),s=z(c,Math.pow(10,i)-1,!1),a=""+l," "==(u=ue("n",o[1],s[1])).charAt(u.length-1)&&(u=u.substr(0,u.length-1)+"0"),a+=u+o[2]+"/"+o[3],(u=P(s[2],i)).length<o[4].length&&(u=oe(o[4].substr(o[4].length-u.length))+u),a+=u;if(o=t.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return i=Math.min(Math.max(o[1].length,o[4].length),7),l+((s=z(c,Math.pow(10,i)-1,!0))[0]||(s[1]?"":"0"))+" "+(s[1]?L(s[1],i)+o[2]+"/"+o[3]+P(s[2],i):qe(" ",2*i+1+o[2].length+o[3].length));if(o=t.match(/^[#0?]+$/))return a=F(r,0),t.length<=a.length?a:oe(t.substr(0,t.length-a.length))+a;if(o=t.match(/^([#0?]+)\.([#0]+)$/)){a=""+r.toFixed(Math.min(o[2].length,10)).replace(/([^0])0+$/,"$1"),i=a.indexOf(".");var f=t.indexOf(".")-i,h=t.length-a.length-f;return oe(t.substr(0,f)+a+t.substr(t.length-h))}if(o=t.match(/^00,000\.([#0]*0)$/))return i=se(r,o[1].length),r<0?"-"+ce(e,t,-r):Q(function(e){return e<2147483647&&e>-2147483648?""+(e>=0?0|e:e-1|0):""+Math.floor(e)}(r)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(e){return"00,"+(e.length<3?O(0,3-e.length):"")+e})+"."+O(i,o[1].length);switch(t){case"###,##0.00":return ce(e,"#,##0.00",r);case"###,###":case"##,###":case"#,###":var d=Q(F(c,0));return"0"!==d?l+d:"";case"###,###.00":return ce(e,"###,##0.00",r).replace(/^0\./,".");case"#,###.00":return ce(e,"#,##0.00",r).replace(/^0\./,".")}throw new Error("unsupported format |"+t+"|")}function le(e,t,r){if(40===e.charCodeAt(0)&&!t.match(ne)){var n=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?le("n",n,r):"("+le("n",n,-r)+")"}if(44===t.charCodeAt(t.length-1))return function(e,t,r){for(var n=t.length-1;44===t.charCodeAt(n-1);)--n;return ue(e,t.substr(0,n),r/Math.pow(10,3*(t.length-n)))}(e,t,r);if(-1!==t.indexOf("%"))return function(e,t,r){var n=t.replace(ee,""),a=t.length-n.length;return ue(e,n,r*Math.pow(10,2*a))+qe("%",a)}(e,t,r);if(-1!==t.indexOf("E"))return function e(t,r){var n,a=t.indexOf("E")-t.indexOf(".")-1;if(t.match(/^#+0.0E\+0$/)){if(0==r)return"0.0E+0";if(r<0)return"-"+e(t,-r);var o=t.indexOf(".");-1===o&&(o=t.indexOf("E"));var i=Math.floor(Math.log(r)*Math.LOG10E)%o;if(i<0&&(i+=o),!(n=(r/Math.pow(10,i)).toPrecision(a+1+(o+i)%o)).match(/[Ee]/)){var s=Math.floor(Math.log(r)*Math.LOG10E);-1===n.indexOf(".")?n=n.charAt(0)+"."+n.substr(1)+"E+"+(s-n.length+i):n+="E+"+(s-i),n=n.replace(/\+-/,"-")}n=n.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(e,t,r,n){return t+r+n.substr(0,(o+i)%o)+"."+n.substr(i)+"E"})}else n=r.toExponential(a);return t.match(/E\+00$/)&&n.match(/e[+-]\d$/)&&(n=n.substr(0,n.length-1)+"0"+n.charAt(n.length-1)),t.match(/E\-/)&&n.match(/e\+/)&&(n=n.replace(/e\+/,"e")),n.replace("e","E")}(t,r);if(36===t.charCodeAt(0))return"$"+le(e,t.substr(" "==t.charAt(1)?2:1),r);var a,o,i,s,c=Math.abs(r),l=r<0?"-":"";if(t.match(/^00+$/))return l+O(c,t.length);if(t.match(/^[#?]+$/))return a=""+r,0===r&&(a=""),a.length>t.length?a:oe(t.substr(0,t.length-a.length))+a;if(o=t.match(te))return function(e,t,r){return r+(0===t?"":""+t)+qe(" ",e[1].length+2+e[4].length)}(o,c,l);if(t.match(/^#+0+$/))return l+O(c,t.length-t.indexOf("0"));if(o=t.match(re))return a=(a=(""+r).replace(/^([^\.]+)$/,"$1."+oe(o[1])).replace(/\.$/,"."+oe(o[1]))).replace(/\.(\d*)$/,function(e,t){return"."+t+qe("0",oe(o[1]).length-t.length)}),-1!==t.indexOf("0.")?a:a.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),o=t.match(/^(0*)\.(#*)$/))return l+(""+c).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,o[1].length?"0.":".");if(o=t.match(/^#{1,3},##0(\.?)$/))return l+Q(""+c);if(o=t.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+le(e,t,-r):Q(""+r)+"."+qe("0",o[1].length);if(o=t.match(/^#,#*,#0/))return le(e,t.replace(/^#,#*,/,""),r);if(o=t.match(/^([0#]+)(\\?-([0#]+))+$/))return a=R(le(e,t.replace(/[\\-]/g,""),r)),i=0,R(R(t.replace(/\\/g,"")).replace(/[0#]/g,function(e){return i<a.length?a.charAt(i++):"0"===e?"0":""}));if(t.match(ae))return"("+(a=le(e,"##########",r)).substr(0,3)+") "+a.substr(3,3)+"-"+a.substr(6);var u="";if(o=t.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return i=Math.min(o[4].length,7),s=z(c,Math.pow(10,i)-1,!1),a=""+l," "==(u=ue("n",o[1],s[1])).charAt(u.length-1)&&(u=u.substr(0,u.length-1)+"0"),a+=u+o[2]+"/"+o[3],(u=P(s[2],i)).length<o[4].length&&(u=oe(o[4].substr(o[4].length-u.length))+u),a+=u;if(o=t.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return i=Math.min(Math.max(o[1].length,o[4].length),7),l+((s=z(c,Math.pow(10,i)-1,!0))[0]||(s[1]?"":"0"))+" "+(s[1]?L(s[1],i)+o[2]+"/"+o[3]+P(s[2],i):qe(" ",2*i+1+o[2].length+o[3].length));if(o=t.match(/^[#0?]+$/))return a=""+r,t.length<=a.length?a:oe(t.substr(0,t.length-a.length))+a;if(o=t.match(/^([#0]+)\.([#0]+)$/)){a=""+r.toFixed(Math.min(o[2].length,10)).replace(/([^0])0+$/,"$1"),i=a.indexOf(".");var f=t.indexOf(".")-i,h=t.length-a.length-f;return oe(t.substr(0,f)+a+t.substr(t.length-h))}if(o=t.match(/^00,000\.([#0]*0)$/))return r<0?"-"+le(e,t,-r):Q(""+r).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(e){return"00,"+(e.length<3?O(0,3-e.length):"")+e})+"."+O(0,o[1].length);switch(t){case"###,###":case"##,###":case"#,###":var d=Q(""+c);return"0"!==d?l+d:"";default:if(t.match(/\.[0#?]*$/))return le(e,t.slice(0,t.lastIndexOf(".")),r)+oe(t.slice(t.lastIndexOf(".")))}throw new Error("unsupported format |"+t+"|")}function ue(e,t,r){return(0|r)===r?le(e,t,r):ce(e,t,r)}var fe=/\[[HhMmSs\u0E0A\u0E19\u0E17]*\]/;function he(e){for(var t=0,r="",n="";t<e.length;)switch(r=e.charAt(t)){case"G":D(e,t)&&(t+=6),t++;break;case'"':for(;34!==e.charCodeAt(++t)&&t<e.length;);++t;break;case"\\":case"_":t+=2;break;case"@":++t;break;case"B":case"b":if("1"===e.charAt(t+1)||"2"===e.charAt(t+1))return!0;case"M":case"D":case"Y":case"H":case"S":case"E":case"m":case"d":case"y":case"h":case"s":case"e":case"g":return!0;case"A":case"a":case"上":if("A/P"===e.substr(t,3).toUpperCase())return!0;if("AM/PM"===e.substr(t,5).toUpperCase())return!0;if("上午/下午"===e.substr(t,5).toUpperCase())return!0;++t;break;case"[":for(n=r;"]"!==e.charAt(t++)&&t<e.length;)n+=e.charAt(t);if(n.match(fe))return!0;break;case".":case"0":case"#":for(;t<e.length&&("0#?.,E+-%".indexOf(r=e.charAt(++t))>-1||"\\"==r&&"-"==e.charAt(t+1)&&"0#".indexOf(e.charAt(t+2))>-1););break;case"?":for(;e.charAt(++t)===r;);break;case"*":++t," "!=e.charAt(t)&&"*"!=e.charAt(t)||++t;break;case"(":case")":++t;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;t<e.length&&"0123456789".indexOf(e.charAt(++t))>-1;);break;case" ":default:++t}return!1}var de=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function pe(e,t){if(null==t)return!1;var r=parseFloat(t[2]);switch(t[1]){case"=":if(e==r)return!0;break;case">":if(e>r)return!0;break;case"<":if(e<r)return!0;break;case"<>":if(e!=r)return!0;break;case">=":if(e>=r)return!0;break;case"<=":if(e<=r)return!0}return!1}function ge(e,t){var r=function(e){for(var t=[],r=!1,n=0,a=0;n<e.length;++n)switch(e.charCodeAt(n)){case 34:r=!r;break;case 95:case 42:case 92:++n;break;case 59:t[t.length]=e.substr(a,n-a),a=n+1}if(t[t.length]=e.substr(a),!0===r)throw new Error("Format |"+e+"| unterminated string ");return t}(e),n=r.length,a=r[n-1].indexOf("@");if(n<4&&a>-1&&--n,r.length>4)throw new Error("cannot find right format for |"+r.join("|")+"|");if("number"!=typeof t)return[4,4===r.length||a>-1?r[r.length-1]:"@"];switch(r.length){case 1:r=a>-1?["General","General","General",r[0]]:[r[0],r[0],r[0],"@"];break;case 2:r=a>-1?[r[0],r[0],r[0],r[1]]:[r[0],r[1],r[0],"@"];break;case 3:r=a>-1?[r[0],r[1],r[0],r[2]]:[r[0],r[1],r[2],"@"]}var o=t>0?r[0]:t<0?r[1]:r[2];if(-1===r[0].indexOf("[")&&-1===r[1].indexOf("["))return[n,o];if(null!=r[0].match(/\[[=<>]/)||null!=r[1].match(/\[[=<>]/)){var i=r[0].match(de),s=r[1].match(de);return pe(t,i)?[n,r[0]]:pe(t,s)?[n,r[1]]:[n,r[null!=i&&null!=s?2:1]]}return[n,o]}function me(e,t,r){null==r&&(r={});var n="";switch(typeof e){case"string":n="m/d/yy"==e&&r.dateNF?r.dateNF:e;break;case"number":null==(n=14==e&&r.dateNF?r.dateNF:(null!=r.table?r.table:B)[e])&&(n=r.table&&r.table[W[e]]||B[W[e]]),null==n&&(n=U[e]||"General")}if(D(n,0))return J(t,r);t instanceof Date&&(t=X(t,r.date1904));var a=ge(n,t);if(D(a[1]))return J(t,r);if(!0===t)t="TRUE";else if(!1===t)t="FALSE";else if(""===t||null==t)return"";return function(e,t,r,n){for(var a,o,i,s=[],c="",l=0,u="",f="t",h="H";l<e.length;)switch(u=e.charAt(l)){case"G":if(!D(e,l))throw new Error("unrecognized character "+u+" in "+e);s[s.length]={t:"G",v:"General"},l+=7;break;case'"':for(c="";34!==(i=e.charCodeAt(++l))&&l<e.length;)c+=String.fromCharCode(i);s[s.length]={t:"t",v:c},++l;break;case"\\":var d=e.charAt(++l),p="("===d||")"===d?d:"t";s[s.length]={t:p,v:d},++l;break;case"_":s[s.length]={t:"t",v:" "},l+=2;break;case"@":s[s.length]={t:"T",v:t},++l;break;case"B":case"b":if("1"===e.charAt(l+1)||"2"===e.charAt(l+1)){if(null==a&&null==(a=H(t,r,"2"===e.charAt(l+1))))return"";s[s.length]={t:"X",v:e.substr(l,2)},f=u,l+=2;break}case"M":case"D":case"Y":case"H":case"S":case"E":u=u.toLowerCase();case"m":case"d":case"y":case"h":case"s":case"e":case"g":if(t<0)return"";if(null==a&&null==(a=H(t,r)))return"";for(c=u;++l<e.length&&e.charAt(l).toLowerCase()===u;)c+=u;"m"===u&&"h"===f.toLowerCase()&&(u="M"),"h"===u&&(u=h),s[s.length]={t:u,v:c},f=u;break;case"A":case"a":case"上":var g={t:u,v:u};if(null==a&&(a=H(t,r)),"A/P"===e.substr(l,3).toUpperCase()?(null!=a&&(g.v=a.H>=12?"P":"A"),g.t="T",h="h",l+=3):"AM/PM"===e.substr(l,5).toUpperCase()?(null!=a&&(g.v=a.H>=12?"PM":"AM"),g.t="T",l+=5,h="h"):"上午/下午"===e.substr(l,5).toUpperCase()?(null!=a&&(g.v=a.H>=12?"下午":"上午"),g.t="T",l+=5,h="h"):(g.t="t",++l),null==a&&"T"===g.t)return"";s[s.length]=g,f=u;break;case"[":for(c=u;"]"!==e.charAt(l++)&&l<e.length;)c+=e.charAt(l);if("]"!==c.slice(-1))throw'unterminated "[" block: |'+c+"|";if(c.match(fe)){if(null==a&&null==(a=H(t,r)))return"";s[s.length]={t:"Z",v:c.toLowerCase()},f=c.charAt(1)}else c.indexOf("$")>-1&&(c=(c.match(/\$([^-\[\]]*)/)||[])[1]||"$",he(e)||(s[s.length]={t:"t",v:c}));break;case".":if(null!=a){for(c=u;++l<e.length&&"0"===(u=e.charAt(l));)c+=u;s[s.length]={t:"s",v:c};break}case"0":case"#":for(c=u;++l<e.length&&"0#?.,E+-%".indexOf(u=e.charAt(l))>-1;)c+=u;s[s.length]={t:"n",v:c};break;case"?":for(c=u;e.charAt(++l)===u;)c+=u;s[s.length]={t:u,v:c},f=u;break;case"*":++l," "!=e.charAt(l)&&"*"!=e.charAt(l)||++l;break;case"(":case")":s[s.length]={t:1===n?"t":u,v:u},++l;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(c=u;l<e.length&&"0123456789".indexOf(e.charAt(++l))>-1;)c+=e.charAt(l);s[s.length]={t:"D",v:c};break;case" ":s[s.length]={t:u,v:u},++l;break;case"$":s[s.length]={t:"t",v:"$"},++l;break;default:if(-1===",$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP".indexOf(u))throw new Error("unrecognized character "+u+" in "+e);s[s.length]={t:"t",v:u},++l}var m,v=0,b=0;for(l=s.length-1,f="t";l>=0;--l)switch(s[l].t){case"h":case"H":s[l].t=h,f="h",v<1&&(v=1);break;case"s":(m=s[l].v.match(/\.0+$/))&&(b=Math.max(b,m[0].length-1)),v<3&&(v=3);case"d":case"y":case"M":case"e":f=s[l].t;break;case"m":"s"===f&&(s[l].t="M",v<2&&(v=2));break;case"X":break;case"Z":v<1&&s[l].v.match(/[Hh]/)&&(v=1),v<2&&s[l].v.match(/[Mm]/)&&(v=2),v<3&&s[l].v.match(/[Ss]/)&&(v=3)}switch(v){case 0:break;case 1:a.u>=.5&&(a.u=0,++a.S),a.S>=60&&(a.S=0,++a.M),a.M>=60&&(a.M=0,++a.H);break;case 2:a.u>=.5&&(a.u=0,++a.S),a.S>=60&&(a.S=0,++a.M)}var y,w="";for(l=0;l<s.length;++l)switch(s[l].t){case"t":case"T":case" ":case"D":break;case"X":s[l].v="",s[l].t=";";break;case"d":case"m":case"y":case"h":case"H":case"M":case"s":case"e":case"b":case"Z":s[l].v=Z(s[l].t.charCodeAt(0),s[l].v,a,b),s[l].t="t";break;case"n":case"?":for(y=l+1;null!=s[y]&&("?"===(u=s[y].t)||"D"===u||(" "===u||"t"===u)&&null!=s[y+1]&&("?"===s[y+1].t||"t"===s[y+1].t&&"/"===s[y+1].v)||"("===s[l].t&&(" "===u||"n"===u||")"===u)||"t"===u&&("/"===s[y].v||" "===s[y].v&&null!=s[y+1]&&"?"==s[y+1].t));)s[l].v+=s[y].v,s[y]={v:"",t:";"},++y;w+=s[l].v,l=y-1;break;case"G":s[l].t="t",s[l].v=J(t,r)}var S,x,k="";if(w.length>0){40==w.charCodeAt(0)?(S=t<0&&45===w.charCodeAt(0)?-t:t,x=ue("n",w,S)):(x=ue("n",w,S=t<0&&n>1?-t:t),S<0&&s[0]&&"t"==s[0].t&&(x=x.substr(1),s[0].v="-"+s[0].v)),y=x.length-1;var A=s.length;for(l=0;l<s.length;++l)if(null!=s[l]&&"t"!=s[l].t&&s[l].v.indexOf(".")>-1){A=l;break}var T=s.length;if(A===s.length&&-1===x.indexOf("E")){for(l=s.length-1;l>=0;--l)null!=s[l]&&-1!=="n?".indexOf(s[l].t)&&(y>=s[l].v.length-1?(y-=s[l].v.length,s[l].v=x.substr(y+1,s[l].v.length)):y<0?s[l].v="":(s[l].v=x.substr(0,y+1),y=-1),s[l].t="t",T=l);y>=0&&T<s.length&&(s[T].v=x.substr(0,y+1)+s[T].v)}else if(A!==s.length&&-1===x.indexOf("E")){for(y=x.indexOf(".")-1,l=A;l>=0;--l)if(null!=s[l]&&-1!=="n?".indexOf(s[l].t)){for(o=s[l].v.indexOf(".")>-1&&l===A?s[l].v.indexOf(".")-1:s[l].v.length-1,k=s[l].v.substr(o+1);o>=0;--o)y>=0&&("0"===s[l].v.charAt(o)||"#"===s[l].v.charAt(o))&&(k=x.charAt(y--)+k);s[l].v=k,s[l].t="t",T=l}for(y>=0&&T<s.length&&(s[T].v=x.substr(0,y+1)+s[T].v),y=x.indexOf(".")+1,l=A;l<s.length;++l)if(null!=s[l]&&(-1!=="n?(".indexOf(s[l].t)||l===A)){for(o=s[l].v.indexOf(".")>-1&&l===A?s[l].v.indexOf(".")+1:0,k=s[l].v.substr(0,o);o<s[l].v.length;++o)y<x.length&&(k+=x.charAt(y++));s[l].v=k,s[l].t="t",T=l}}}for(l=0;l<s.length;++l)null!=s[l]&&"n?".indexOf(s[l].t)>-1&&(S=n>1&&t<0&&l>0&&"-"===s[l-1].v?-t:t,s[l].v=ue(s[l].t,s[l].v,S),s[l].t="t");var E="";for(l=0;l!==s.length;++l)null!=s[l]&&(E+=s[l].v);return E}(a[1],t,r,a[0])}function ve(e,t){if("number"!=typeof t){t=+t||-1;for(var r=0;r<392;++r)if(null!=B[r]){if(B[r]==e){t=r;break}}else t<0&&(t=r);t<0&&(t=391)}return B[t]=e,t}function be(e){for(var t=0;392!=t;++t)void 0!==e[t]&&ve(e[t],t)}function ye(){var e;e||(e={}),e[0]="General",e[1]="0",e[2]="0.00",e[3]="#,##0",e[4]="#,##0.00",e[9]="0%",e[10]="0.00%",e[11]="0.00E+00",e[12]="# ?/?",e[13]="# ??/??",e[14]="m/d/yy",e[15]="d-mmm-yy",e[16]="d-mmm",e[17]="mmm-yy",e[18]="h:mm AM/PM",e[19]="h:mm:ss AM/PM",e[20]="h:mm",e[21]="h:mm:ss",e[22]="m/d/yy h:mm",e[37]="#,##0 ;(#,##0)",e[38]="#,##0 ;[Red](#,##0)",e[39]="#,##0.00;(#,##0.00)",e[40]="#,##0.00;[Red](#,##0.00)",e[45]="mm:ss",e[46]="[h]:mm:ss",e[47]="mmss.0",e[48]="##0.0E+0",e[49]="@",e[56]='"上午/下午 "hh"時"mm"分"ss"秒 "',B=e}var we={format:me,load:ve,_table:B,load_table:be,parse_date_code:H,is_date:he,get_table:function(){return we._table=B}},Se={5:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',23:"General",24:"General",25:"General",26:"General",27:"m/d/yy",28:"m/d/yy",29:"m/d/yy",30:"m/d/yy",31:"m/d/yy",32:"h:mm:ss",33:"h:mm:ss",34:"h:mm:ss",35:"h:mm:ss",36:"m/d/yy",41:'_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* (#,##0);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)',50:"m/d/yy",51:"m/d/yy",52:"m/d/yy",53:"m/d/yy",54:"m/d/yy",55:"m/d/yy",56:"m/d/yy",57:"m/d/yy",58:"m/d/yy",59:"0",60:"0.00",61:"#,##0",62:"#,##0.00",63:'"$"#,##0_);\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',67:"0%",68:"0.00%",69:"# ?/?",70:"# ??/??",71:"m/d/yy",72:"m/d/yy",73:"d-mmm-yy",74:"d-mmm",75:"mmm-yy",76:"h:mm",77:"h:mm:ss",78:"m/d/yy h:mm",79:"mm:ss",80:"[h]:mm:ss",81:"mmss.0"},xe=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;var ke,Ae=function(){var e={};e.version="1.2.0";var t=function(){for(var e=0,t=new Array(256),r=0;256!=r;++r)e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=r)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1,t[r]=e;return"undefined"!=typeof Int32Array?new Int32Array(t):t}();var r=function(e){var t=0,r=0,n=0,a="undefined"!=typeof Int32Array?new Int32Array(4096):new Array(4096);for(n=0;256!=n;++n)a[n]=e[n];for(n=0;256!=n;++n)for(r=e[n],t=256+n;t<4096;t+=256)r=a[t]=r>>>8^e[255&r];var o=[];for(n=1;16!=n;++n)o[n-1]="undefined"!=typeof Int32Array?a.subarray(256*n,256*n+256):a.slice(256*n,256*n+256);return o}(t),n=r[0],a=r[1],o=r[2],i=r[3],s=r[4],c=r[5],l=r[6],u=r[7],f=r[8],h=r[9],d=r[10],p=r[11],g=r[12],m=r[13],v=r[14];return e.table=t,e.bstr=function(e,r){for(var n=-1^r,a=0,o=e.length;a<o;)n=n>>>8^t[255&(n^e.charCodeAt(a++))];return~n},e.buf=function(e,r){for(var b=-1^r,y=e.length-15,w=0;w<y;)b=v[e[w++]^255&b]^m[e[w++]^b>>8&255]^g[e[w++]^b>>16&255]^p[e[w++]^b>>>24]^d[e[w++]]^h[e[w++]]^f[e[w++]]^u[e[w++]]^l[e[w++]]^c[e[w++]]^s[e[w++]]^i[e[w++]]^o[e[w++]]^a[e[w++]]^n[e[w++]]^t[e[w++]];for(y+=15;w<y;)b=b>>>8^t[255&(b^e[w++])];return~b},e.str=function(e,r){for(var n=-1^r,a=0,o=e.length,i=0,s=0;a<o;)(i=e.charCodeAt(a++))<128?n=n>>>8^t[255&(n^i)]:i<2048?n=(n=n>>>8^t[255&(n^(192|i>>6&31))])>>>8^t[255&(n^(128|63&i))]:i>=55296&&i<57344?(i=64+(1023&i),s=1023&e.charCodeAt(a++),n=(n=(n=(n=n>>>8^t[255&(n^(240|i>>8&7))])>>>8^t[255&(n^(128|i>>2&63))])>>>8^t[255&(n^(128|s>>6&15|(3&i)<<4))])>>>8^t[255&(n^(128|63&s))]):n=(n=(n=n>>>8^t[255&(n^(224|i>>12&15))])>>>8^t[255&(n^(128|i>>6&63))])>>>8^t[255&(n^(128|63&i))];return~n},e}(),Te=function(){var e,t={};function r(e){if("/"==e.charAt(e.length-1))return-1===e.slice(0,-1).indexOf("/")?e:r(e.slice(0,-1));var t=e.lastIndexOf("/");return-1===t?e:e.slice(0,t+1)}function n(e){if("/"==e.charAt(e.length-1))return n(e.slice(0,-1));var t=e.lastIndexOf("/");return-1===t?e:e.slice(t+1)}function a(e,t){"string"==typeof t&&(t=new Date(t));var r=t.getHours();r=(r=r<<6|t.getMinutes())<<5|t.getSeconds()>>>1,e._W(2,r);var n=t.getFullYear()-1980;n=(n=n<<4|t.getMonth()+1)<<5|t.getDate(),e._W(2,n)}function o(e){_r(e,0);for(var t={},r=0;e.l<=e.length-4;){var n=e._R(2),a=e._R(2),o=e.l+a,i={};switch(n){case 21589:1&(r=e._R(1))&&(i.mtime=e._R(4)),a>5&&(2&r&&(i.atime=e._R(4)),4&r&&(i.ctime=e._R(4))),i.mtime&&(i.mt=new Date(1e3*i.mtime))}e.l=o,t[n]=i}return t}function i(){return e||(e=void 0)}function s(e,t){if(80==e[0]&&75==e[1])return de(e,t);if(109==(32|e[0])&&105==(32|e[1]))return Se(e,t);if(e.length<512)throw new Error("CFB file size "+e.length+" < 512");var r,n,a,o,i,s,c=512,l=[],f=e.slice(0,512);_r(f,0);var h=function(e){if(80==e[e.l]&&75==e[e.l+1])return[0,0];e.chk(T,"Header Signature: "),e.l+=16;var t=e._R(2,"u");return[e._R(2,"u"),t]}(f);switch(r=h[0]){case 3:c=512;break;case 4:c=4096;break;case 0:if(0==h[1])return de(e,t);default:throw new Error("Major Version: Expected 3 or 4 saw "+r)}512!==c&&_r(f=e.slice(0,c),28);var d=e.slice(0,c);!function(e,t){var r=9;switch(e.l+=2,r=e._R(2)){case 9:if(3!=t)throw new Error("Sector Shift: Expected 9 saw "+r);break;case 12:if(4!=t)throw new Error("Sector Shift: Expected 12 saw "+r);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+r)}e.chk("0600","Mini Sector Shift: "),e.chk("000000000000","Reserved: ")}(f,r);var p=f._R(4,"i");if(3===r&&0!==p)throw new Error("# Directory Sectors: Expected 0 saw "+p);f.l+=4,o=f._R(4,"i"),f.l+=4,f.chk("00100000","Mini Stream Cutoff Size: "),i=f._R(4,"i"),n=f._R(4,"i"),s=f._R(4,"i"),a=f._R(4,"i");for(var g=-1,m=0;m<109&&!((g=f._R(4,"i"))<0);++m)l[m]=g;var v=function(e,t){for(var r=Math.ceil(e.length/t)-1,n=[],a=1;a<r;++a)n[a-1]=e.slice(a*t,(a+1)*t);return n[r-1]=e.slice(r*t),n}(e,c);!function e(t,r,n,a,o){var i=A;if(t===A){if(0!==r)throw new Error("DIFAT chain shorter than expected")}else if(-1!==t){var s=n[t],c=(a>>>2)-1;if(!s)return;for(var l=0;l<c&&(i=yr(s,4*l))!==A;++l)o.push(i);e(yr(s,a-4),r-1,n,a,o)}}(s,a,v,c,l);var b=function(e,t,r,n){var a=e.length,o=[],i=[],s=[],c=[],l=n-1,u=0,f=0,h=0,d=0;for(u=0;u<a;++u)if(s=[],(h=u+t)>=a&&(h-=a),!i[h]){c=[];var p=[];for(f=h;f>=0;){p[f]=!0,i[f]=!0,s[s.length]=f,c.push(e[f]);var g=r[Math.floor(4*f/n)];if(n<4+(d=4*f&l))throw new Error("FAT boundary crossed: "+f+" 4 "+n);if(!e[g])break;if(f=yr(e[g],d),p[f])break}o[h]={nodes:s,data:Yt([c])}}return o}(v,o,l,c);b[o].name="!Directory",n>0&&i!==A&&(b[i].name="!MiniFAT"),b[l[0]].name="!FAT",b.fat_addrs=l,b.ssz=c;var y=[],w=[],S=[];u(o,b,v,y,n,{},w,i),function(e,t,r){for(var n=0,a=0,o=0,i=0,s=0,c=r.length,l=[],u=[];n<c;++n)l[n]=u[n]=n,t[n]=r[n];for(;s<u.length;++s)n=u[s],a=e[n].L,o=e[n].R,i=e[n].C,l[n]===n&&(-1!==a&&l[a]!==a&&(l[n]=l[a]),-1!==o&&l[o]!==o&&(l[n]=l[o])),-1!==i&&(l[i]=n),-1!==a&&n!=l[n]&&(l[a]=l[n],u.lastIndexOf(a)<s&&u.push(a)),-1!==o&&n!=l[n]&&(l[o]=l[n],u.lastIndexOf(o)<s&&u.push(o));for(n=1;n<c;++n)l[n]===n&&(-1!==o&&l[o]!==o?l[n]=l[o]:-1!==a&&l[a]!==a&&(l[n]=l[a]));for(n=1;n<c;++n)if(0!==e[n].type){if((s=n)!=l[s])do{s=l[s],t[n]=t[s]+"/"+t[n]}while(0!==s&&-1!==l[s]&&s!=l[s]);l[n]=-1}for(t[0]+="/",n=1;n<c;++n)2!==e[n].type&&(t[n]+="/")}(w,S,y),y.shift();var x={FileIndex:w,FullPaths:S};return t&&t.raw&&(x.raw={header:d,sectors:v}),x}function c(e,t,r){for(var n=e.start,a=e.size,o=[],i=n;r&&a>0&&i>=0;)o.push(t.slice(i*m,i*m+m)),a-=m,i=yr(r,4*i);return 0===o.length?Cr(0):_(o).slice(0,e.size)}function l(e,t,r,n,a){var o=[],i=[];a||(a=[]);var s=n-1,c=0,l=0;for(c=t;c>=0;){a[c]=!0,o[o.length]=c,i.push(e[c]);var u=r[Math.floor(4*c/n)];if(n<4+(l=4*c&s))throw new Error("FAT boundary crossed: "+c+" 4 "+n);if(!e[u])break;c=yr(e[u],l)}return{nodes:o,data:Yt([i])}}function u(e,t,r,n,a,o,i,s){for(var u,h=0,d=n.length?2:0,p=t[e].data,g=0,m=0;g<p.length;g+=128){var v=p.slice(g,g+128);_r(v,64),m=v._R(2),u=Jt(v,0,m-d),n.push(u);var b={name:u,type:v._R(1),color:v._R(1),L:v._R(4,"i"),R:v._R(4,"i"),C:v._R(4,"i"),clsid:v._R(16),state:v._R(4,"i"),start:0,size:0};0!==v._R(2)+v._R(2)+v._R(2)+v._R(2)&&(b.ct=f(v,v.l-8)),0!==v._R(2)+v._R(2)+v._R(2)+v._R(2)&&(b.mt=f(v,v.l-8)),b.start=v._R(4,"i"),b.size=v._R(4,"i"),b.size<0&&b.start<0&&(b.size=b.type=0,b.start=A,b.name=""),5===b.type?(h=b.start,a>0&&h!==A&&(t[h].name="!StreamData")):b.size>=4096?(b.storage="fat",void 0===t[b.start]&&(t[b.start]=l(r,b.start,t.fat_addrs,t.ssz)),t[b.start].name=b.name,b.content=t[b.start].data.slice(0,b.size)):(b.storage="minifat",b.size<0?b.size=0:h!==A&&b.start!==A&&t[h]&&(b.content=c(b,t[h].data,(t[s]||{}).data))),b.content&&_r(b.content,0),o[u]=b,i.push(b)}}function f(e,t){return new Date(1e3*(br(e,t+4)/1e7*Math.pow(2,32)+br(e,t)/1e7-11644473600))}function h(e,t){var r=t||{},n=r.root||"Root Entry";if(e.FullPaths||(e.FullPaths=[]),e.FileIndex||(e.FileIndex=[]),e.FullPaths.length!==e.FileIndex.length)throw new Error("inconsistent CFB structure");0===e.FullPaths.length&&(e.FullPaths[0]=n+"/",e.FileIndex[0]={name:n,type:5}),r.CLSID&&(e.FileIndex[0].clsid=r.CLSID),function(e){var t="Sh33tJ5";if(Te.find(e,"/"+t))return;var r=Cr(4);r[0]=55,r[1]=r[3]=50,r[2]=54,e.FileIndex.push({name:t,type:2,content:r,size:4,L:69,R:69,C:69}),e.FullPaths.push(e.FullPaths[0]+t),d(e)}(e)}function d(e,t){h(e);for(var a=!1,o=!1,i=e.FullPaths.length-1;i>=0;--i){var s=e.FileIndex[i];switch(s.type){case 0:o?a=!0:(e.FileIndex.pop(),e.FullPaths.pop());break;case 1:case 2:case 5:o=!0,isNaN(s.R*s.L*s.C)&&(a=!0),s.R>-1&&s.L>-1&&s.R==s.L&&(a=!0);break;default:a=!0}}if(a||t){var c=new Date(1987,1,19),l=0,u=Object.create?Object.create(null):{},f=[];for(i=0;i<e.FullPaths.length;++i)u[e.FullPaths[i]]=!0,0!==e.FileIndex[i].type&&f.push([e.FullPaths[i],e.FileIndex[i]]);for(i=0;i<f.length;++i){var d=r(f[i][0]);(o=u[d])||(f.push([d,{name:n(d).replace("/",""),type:1,clsid:R,ct:c,mt:c,content:null}]),u[d]=!0)}for(f.sort(function(e,t){return function(e,t){for(var r=e.split("/"),n=t.split("/"),a=0,o=0,i=Math.min(r.length,n.length);a<i;++a){if(o=r[a].length-n[a].length)return o;if(r[a]!=n[a])return r[a]<n[a]?-1:1}return r.length-n.length}(e[0],t[0])}),e.FullPaths=[],e.FileIndex=[],i=0;i<f.length;++i)e.FullPaths[i]=f[i][0],e.FileIndex[i]=f[i][1];for(i=0;i<f.length;++i){var p=e.FileIndex[i],g=e.FullPaths[i];if(p.name=n(g).replace("/",""),p.L=p.R=p.C=-(p.color=1),p.size=p.content?p.content.length:0,p.start=0,p.clsid=p.clsid||R,0===i)p.C=f.length>1?1:-1,p.size=0,p.type=5;else if("/"==g.slice(-1)){for(l=i+1;l<f.length&&r(e.FullPaths[l])!=g;++l);for(p.C=l>=f.length?-1:l,l=i+1;l<f.length&&r(e.FullPaths[l])!=r(g);++l);p.R=l>=f.length?-1:l,p.type=1}else r(e.FullPaths[i+1]||"")==r(g)&&(p.R=i+1),p.type=2}}}function p(e,t){var r=t||{};if("mad"==r.fileType)return function(e,t){for(var r=t||{},n=r.boundary||"SheetJS",a=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+(n="------="+n).slice(2)+'"',"","",""],o=e.FullPaths[0],i=o,s=e.FileIndex[0],c=1;c<e.FullPaths.length;++c)if(i=e.FullPaths[c].slice(o.length),(s=e.FileIndex[c]).size&&s.content&&"Sh33tJ5"!=i){i=i.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF]/g,function(e){return"_x"+e.charCodeAt(0).toString(16)+"_"}).replace(/[\u0080-\uFFFF]/g,function(e){return"_u"+e.charCodeAt(0).toString(16)+"_"});for(var l=s.content,u=y&&Buffer.isBuffer(l)?l.toString("binary"):L(l),f=0,h=Math.min(1024,u.length),d=0,p=0;p<=h;++p)(d=u.charCodeAt(p))>=32&&d<128&&++f;var g=f>=4*h/5;a.push(n),a.push("Content-Location: "+(r.root||"file:///C:/SheetJS/")+i),a.push("Content-Transfer-Encoding: "+(g?"quoted-printable":"base64")),a.push("Content-Type: "+ve(s,i)),a.push(""),a.push(g?ye(u):be(u))}return a.push(n+"--\r\n"),a.join("\r\n")}(e,r);switch(d(e),r.fileType){case"zip":return ge(e,r)}var n=function(e){for(var t=0,r=0,n=0;n<e.FileIndex.length;++n){var a=e.FileIndex[n];if(a.content){var o=a.content.length;o>0&&(o<4096?t+=o+63>>6:r+=o+511>>9)}}for(var i=e.FullPaths.length+3>>2,s=t+127>>7,c=(t+7>>3)+r+i+s,l=c+127>>7,u=l<=109?0:Math.ceil((l-109)/127);c+l+u+127>>7>l;)u=++l<=109?0:Math.ceil((l-109)/127);var f=[1,u,l,s,i,r,t,0];return e.FileIndex[0].size=t<<6,f[7]=(e.FileIndex[0].start=f[0]+f[1]+f[2]+f[3]+f[4]+f[5])+(f[6]+7>>3),f}(e),a=Cr(n[7]<<9),o=0,i=0;for(o=0;o<8;++o)a._W(1,E[o]);for(o=0;o<8;++o)a._W(2,0);for(a._W(2,62),a._W(2,3),a._W(2,65534),a._W(2,9),a._W(2,6),o=0;o<3;++o)a._W(2,0);for(a._W(4,0),a._W(4,n[2]),a._W(4,n[0]+n[1]+n[2]+n[3]-1),a._W(4,0),a._W(4,4096),a._W(4,n[3]?n[0]+n[1]+n[2]-1:A),a._W(4,n[3]),a._W(-4,n[1]?n[0]-1:A),a._W(4,n[1]),o=0;o<109;++o)a._W(-4,o<n[2]?n[1]+o:-1);if(n[1])for(i=0;i<n[1];++i){for(;o<236+127*i;++o)a._W(-4,o<n[2]?n[1]+o:-1);a._W(-4,i===n[1]-1?A:i+1)}var s=function(e){for(i+=e;o<i-1;++o)a._W(-4,o+1);e&&(++o,a._W(-4,A))};for(i=o=0,i+=n[1];o<i;++o)a._W(-4,O.DIFSECT);for(i+=n[2];o<i;++o)a._W(-4,O.FATSECT);s(n[3]),s(n[4]);for(var c=0,l=0,u=e.FileIndex[0];c<e.FileIndex.length;++c)(u=e.FileIndex[c]).content&&((l=u.content.length)<4096||(u.start=i,s(l+511>>9)));for(s(n[6]+7>>3);511&a.l;)a._W(-4,O.ENDOFCHAIN);for(i=o=0,c=0;c<e.FileIndex.length;++c)(u=e.FileIndex[c]).content&&(!(l=u.content.length)||l>=4096||(u.start=i,s(l+63>>6)));for(;511&a.l;)a._W(-4,O.ENDOFCHAIN);for(o=0;o<n[4]<<2;++o){var f=e.FullPaths[o];if(f&&0!==f.length){u=e.FileIndex[o],0===o&&(u.start=u.size?u.start-1:A);var h=0===o&&r.root||u.name;if(l=2*(h.length+1),a._W(64,h,"utf16le"),a._W(2,l),a._W(1,u.type),a._W(1,u.color),a._W(-4,u.L),a._W(-4,u.R),a._W(-4,u.C),u.clsid)a._W(16,u.clsid,"hex");else for(c=0;c<4;++c)a._W(4,0);a._W(4,u.state||0),a._W(4,0),a._W(4,0),a._W(4,0),a._W(4,0),a._W(4,u.start),a._W(4,u.size),a._W(4,0)}else{for(c=0;c<17;++c)a._W(4,0);for(c=0;c<3;++c)a._W(4,-1);for(c=0;c<12;++c)a._W(4,0)}}for(o=1;o<e.FileIndex.length;++o)if((u=e.FileIndex[o]).size>=4096)if(a.l=u.start+1<<9,y&&Buffer.isBuffer(u.content))u.content.copy(a,a.l,0,u.size),a.l+=u.size+511&-512;else{for(c=0;c<u.size;++c)a._W(1,u.content[c]);for(;511&c;++c)a._W(1,0)}for(o=1;o<e.FileIndex.length;++o)if((u=e.FileIndex[o]).size>0&&u.size<4096)if(y&&Buffer.isBuffer(u.content))u.content.copy(a,a.l,0,u.size),a.l+=u.size+63&-64;else{for(c=0;c<u.size;++c)a._W(1,u.content[c]);for(;63&c;++c)a._W(1,0)}if(y)a.l=a.length;else for(;a.l<a.length;)a._W(1,0);return a}t.version="1.2.1";var g,m=64,A=-2,T="d0cf11e0a1b11ae1",E=[208,207,17,224,161,177,26,225],R="00000000000000000000000000000000",O={MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:A,FREESECT:-1,HEADER_SIGNATURE:T,HEADER_MINOR_VERSION:"3e00",MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:R,EntryTypes:["unknown","storage","stream","lockbytes","property","root"]};function L(e){for(var t=new Array(e.length),r=0;r<e.length;++r)t[r]=String.fromCharCode(e[r]);return t.join("")}function P(e){return g?g.deflateRawSync(e):ae(e)}var I=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],F=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258],D=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577];function M(e){var t=139536&(e<<1|e<<11)|558144&(e<<5|e<<15);return 255&(t>>16|t>>8|t)}for(var j="undefined"!=typeof Uint8Array,B=j?new Uint8Array(256):[],W=0;W<256;++W)B[W]=M(W);function U(e,t){var r=B[255&e];return t<=8?r>>>8-t:(r=r<<8|B[e>>8&255],t<=16?r>>>16-t:(r=r<<8|B[e>>16&255])>>>24-t)}function z(e,t){var r=7&t,n=t>>>3;return(e[n]|(r<=6?0:e[n+1]<<8))>>>r&3}function H(e,t){var r=7&t,n=t>>>3;return(e[n]|(r<=5?0:e[n+1]<<8))>>>r&7}function V(e,t){var r=7&t,n=t>>>3;return(e[n]|(r<=3?0:e[n+1]<<8))>>>r&31}function q(e,t){var r=7&t,n=t>>>3;return(e[n]|(r<=1?0:e[n+1]<<8))>>>r&127}function $(e,t,r){var n=7&t,a=t>>>3,o=(1<<r)-1,i=e[a]>>>n;return r<8-n?i&o:(i|=e[a+1]<<8-n,r<16-n?i&o:(i|=e[a+2]<<16-n,r<24-n?i&o:(i|=e[a+3]<<24-n)&o))}function G(e,t,r){var n=7&t,a=t>>>3;return n<=5?e[a]|=(7&r)<<n:(e[a]|=r<<n&255,e[a+1]=(7&r)>>8-n),t+3}function X(e,t,r){return r=(1&r)<<(7&t),e[t>>>3]|=r,t+1}function Y(e,t,r){var n=t>>>3;return r<<=7&t,e[n]|=255&r,r>>>=8,e[n+1]=r,t+8}function K(e,t,r){var n=t>>>3;return r<<=7&t,e[n]|=255&r,r>>>=8,e[n+1]=255&r,e[n+2]=r>>>8,t+16}function J(e,t){var r=e.length,n=2*r>t?2*r:t+5,a=0;if(r>=t)return e;if(y){var o=x(n);if(e.copy)e.copy(o);else for(;a<e.length;++a)o[a]=e[a];return o}if(j){var i=new Uint8Array(n);if(i.set)i.set(e);else for(;a<r;++a)i[a]=e[a];return i}return e.length=n,e}function Z(e){for(var t=new Array(e),r=0;r<e;++r)t[r]=0;return t}function Q(e,t,r){var n=1,a=0,o=0,i=0,s=0,c=e.length,l=j?new Uint16Array(32):Z(32);for(o=0;o<32;++o)l[o]=0;for(o=c;o<r;++o)e[o]=0;c=e.length;var u=j?new Uint16Array(c):Z(c);for(o=0;o<c;++o)l[a=e[o]]++,n<a&&(n=a),u[o]=0;for(l[0]=0,o=1;o<=n;++o)l[o+16]=s=s+l[o-1]<<1;for(o=0;o<c;++o)0!=(s=e[o])&&(u[o]=l[s+16]++);var f=0;for(o=0;o<c;++o)if(0!=(f=e[o]))for(s=U(u[o],n)>>n-f,i=(1<<n+4-f)-1;i>=0;--i)t[s|i<<f]=15&f|o<<4;return n}var ee=j?new Uint16Array(512):Z(512),te=j?new Uint16Array(32):Z(32);if(!j){for(var re=0;re<512;++re)ee[re]=0;for(re=0;re<32;++re)te[re]=0}!function(){for(var e=[],t=0;t<32;t++)e.push(5);Q(e,te,32);var r=[];for(t=0;t<=143;t++)r.push(8);for(;t<=255;t++)r.push(9);for(;t<=279;t++)r.push(7);for(;t<=287;t++)r.push(8);Q(r,ee,288)}();var ne=function(){for(var e=j?new Uint8Array(32768):[],t=0,r=0;t<D.length-1;++t)for(;r<D[t+1];++r)e[r]=t;for(;r<32768;++r)e[r]=29;var n=j?new Uint8Array(259):[];for(t=0,r=0;t<F.length-1;++t)for(;r<F[t+1];++r)n[r]=t;function a(t,r){for(var a=0,o=0,i=j?new Uint16Array(32768):[];o<t.length;){var s=Math.min(65535,t.length-o);if(s<10){for(7&(a=G(r,a,+!(o+s!=t.length)))&&(a+=8-(7&a)),r.l=a/8|0,r._W(2,s),r._W(2,65535&~s);s-- >0;)r[r.l++]=t[o++];a=8*r.l}else{a=G(r,a,+!(o+s!=t.length)+2);for(var c=0;s-- >0;){var l=t[o],u=-1,f=0;if((u=i[c=32767&(c<<5^l)])&&((u|=-32768&o)>o&&(u-=32768),u<o))for(;t[u+f]==t[o+f]&&f<250;)++f;if(f>2){(l=n[f])<=22?a=Y(r,a,B[l+1]>>1)-1:(Y(r,a,3),Y(r,a+=5,B[l-23]>>5),a+=3);var h=l<8?0:l-4>>2;h>0&&(K(r,a,f-F[l]),a+=h),l=e[o-u],a=Y(r,a,B[l]>>3),a-=3;var d=l<4?0:l-2>>1;d>0&&(K(r,a,o-u-D[l]),a+=d);for(var p=0;p<f;++p)i[c]=32767&o,c=32767&(c<<5^t[o]),++o;s-=f-1}else l<=143?l+=48:a=X(r,a,1),a=Y(r,a,B[l]),i[c]=32767&o,++o}a=Y(r,a,0)-1}}return r.l=(a+7)/8|0,r.l}return function(e,t){return e.length<8?function(e,t){for(var r=0;r<e.length;){var n=Math.min(65535,e.length-r),a=r+n==e.length;for(t._W(1,+a),t._W(2,n),t._W(2,65535&~n);n-- >0;)t[t.l++]=e[r++]}return t.l}(e,t):a(e,t)}}();function ae(e){var t=Cr(50+Math.floor(1.1*e.length)),r=ne(e,t);return t.slice(0,r)}var oe=j?new Uint16Array(32768):Z(32768),ie=j?new Uint16Array(32768):Z(32768),se=j?new Uint16Array(128):Z(128),ce=1,le=1;function ue(e,t){var r=V(e,t)+257,n=V(e,t+=5)+1,a=function(e,t){var r=7&t,n=t>>>3;return(e[n]|(r<=4?0:e[n+1]<<8))>>>r&15}(e,t+=5)+4;t+=4;for(var o=0,i=j?new Uint8Array(19):Z(19),s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],c=1,l=j?new Uint8Array(8):Z(8),u=j?new Uint8Array(8):Z(8),f=i.length,h=0;h<a;++h)i[I[h]]=o=H(e,t),c<o&&(c=o),l[o]++,t+=3;var d=0;for(l[0]=0,h=1;h<=c;++h)u[h]=d=d+l[h-1]<<1;for(h=0;h<f;++h)0!=(d=i[h])&&(s[h]=u[d]++);var p=0;for(h=0;h<f;++h)if(0!=(p=i[h])){d=B[s[h]]>>8-p;for(var g=(1<<7-p)-1;g>=0;--g)se[d|g<<p]=7&p|h<<3}var m=[];for(c=1;m.length<r+n;)switch(t+=7&(d=se[q(e,t)]),d>>>=3){case 16:for(o=3+z(e,t),t+=2,d=m[m.length-1];o-- >0;)m.push(d);break;case 17:for(o=3+H(e,t),t+=3;o-- >0;)m.push(0);break;case 18:for(o=11+q(e,t),t+=7;o-- >0;)m.push(0);break;default:m.push(d),c<d&&(c=d)}var v=m.slice(0,r),b=m.slice(r);for(h=r;h<286;++h)v[h]=0;for(h=n;h<30;++h)b[h]=0;return ce=Q(v,oe,286),le=Q(b,ie,30),t}function fe(e,t){var r=function(e,t){if(3==e[0]&&!(3&e[1]))return[S(t),2];for(var r=0,n=0,a=x(t||1<<18),o=0,i=a.length>>>0,s=0,c=0;0==(1&n);)if(n=H(e,r),r+=3,n>>>1!=0)for(n>>1==1?(s=9,c=5):(r=ue(e,r),s=ce,c=le);;){!t&&i<o+32767&&(i=(a=J(a,o+32767)).length);var l=$(e,r,s),u=n>>>1==1?ee[l]:oe[l];if(r+=15&u,0==((u>>>=4)>>>8&255))a[o++]=u;else{if(256==u)break;var f=(u-=257)<8?0:u-4>>2;f>5&&(f=0);var h=o+F[u];f>0&&(h+=$(e,r,f),r+=f),l=$(e,r,c),r+=15&(u=n>>>1==1?te[l]:ie[l]);var d=(u>>>=4)<4?0:u-2>>1,p=D[u];for(d>0&&(p+=$(e,r,d),r+=d),!t&&i<h&&(i=(a=J(a,h+100)).length);o<h;)a[o]=a[o-p],++o}}else{7&r&&(r+=8-(7&r));var g=e[r>>>3]|e[1+(r>>>3)]<<8;if(r+=32,g>0)for(!t&&i<o+g&&(i=(a=J(a,o+g)).length);g-- >0;)a[o++]=e[r>>>3],r+=8}return t?[a,r+7>>>3]:[a.slice(0,o),r+7>>>3]}(e.slice(e.l||0),t);return e.l+=r[1],r[0]}function he(e,t){if(!e)throw new Error(t);"undefined"!=typeof console&&console.error(t)}function de(e,t){var r=e;_r(r,0);var n={FileIndex:[],FullPaths:[]};h(n,{root:t.root});for(var a=r.length-4;(80!=r[a]||75!=r[a+1]||5!=r[a+2]||6!=r[a+3])&&a>=0;)--a;r.l=a+4,r.l+=4;var i=r._R(2);r.l+=6;var s=r._R(4);for(r.l=s,a=0;a<i;++a){r.l+=20;var c=r._R(4),l=r._R(4),u=r._R(2),f=r._R(2),d=r._R(2);r.l+=8;var p=r._R(4),g=o(r.slice(r.l+u,r.l+u+f));r.l+=u+f+d;var m=r.l;r.l=p+4,pe(r,c,l,n,g),r.l=m}return n}function pe(e,t,r,n,a){e.l+=2;var i=e._R(2),s=e._R(2),c=function(e){var t=65535&e._R(2),r=65535&e._R(2),n=new Date,a=31&r,o=15&(r>>>=5);r>>>=4,n.setMilliseconds(0),n.setFullYear(r+1980),n.setMonth(o-1),n.setDate(a);var i=31&t,s=63&(t>>>=5);return t>>>=6,n.setHours(t),n.setMinutes(s),n.setSeconds(i<<1),n}(e);if(8257&i)throw new Error("Unsupported ZIP encryption");e._R(4);for(var l=e._R(4),u=e._R(4),f=e._R(2),h=e._R(2),d="",p=0;p<f;++p)d+=String.fromCharCode(e[e.l++]);if(h){var m=o(e.slice(e.l,e.l+h));(m[21589]||{}).mt&&(c=m[21589].mt),((a||{})[21589]||{}).mt&&(c=a[21589].mt)}e.l+=h;var v=e.slice(e.l,e.l+l);switch(s){case 8:v=function(e,t){if(!g)return fe(e,t);var r=new(0,g.InflateRaw),n=r._processChunk(e.slice(e.l),r._finishFlushFlag);return e.l+=r.bytesRead,n}(e,u);break;case 0:break;default:throw new Error("Unsupported ZIP Compression method "+s)}var b=!1;8&i&&(134695760==e._R(4)&&(e._R(4),b=!0),l=e._R(4),u=e._R(4)),l!=t&&he(b,"Bad compressed size: "+t+" != "+l),u!=r&&he(b,"Bad uncompressed size: "+r+" != "+u),xe(n,d,v,{unsafe:!0,mt:c})}function ge(e,t){var r=t||{},n=[],o=[],i=Cr(1),s=r.compression?8:0,c=0;var l=0,u=0,f=0,h=0,d=e.FullPaths[0],p=d,g=e.FileIndex[0],m=[],v=0;for(l=1;l<e.FullPaths.length;++l)if(p=e.FullPaths[l].slice(d.length),(g=e.FileIndex[l]).size&&g.content&&"Sh33tJ5"!=p){var b=f,y=Cr(p.length);for(u=0;u<p.length;++u)y._W(1,127&p.charCodeAt(u));y=y.slice(0,y.l),m[h]=Ae.buf(g.content,0);var w=g.content;8==s&&(w=P(w)),(i=Cr(30))._W(4,67324752),i._W(2,20),i._W(2,c),i._W(2,s),g.mt?a(i,g.mt):i._W(4,0),i._W(-4,8&c?0:m[h]),i._W(4,8&c?0:w.length),i._W(4,8&c?0:g.content.length),i._W(2,y.length),i._W(2,0),f+=i.length,n.push(i),f+=y.length,n.push(y),f+=w.length,n.push(w),8&c&&((i=Cr(12))._W(-4,m[h]),i._W(4,w.length),i._W(4,g.content.length),f+=i.l,n.push(i)),(i=Cr(46))._W(4,33639248),i._W(2,0),i._W(2,20),i._W(2,c),i._W(2,s),i._W(4,0),i._W(-4,m[h]),i._W(4,w.length),i._W(4,g.content.length),i._W(2,y.length),i._W(2,0),i._W(2,0),i._W(2,0),i._W(2,0),i._W(4,0),i._W(4,b),v+=i.l,o.push(i),v+=y.length,o.push(y),++h}return(i=Cr(22))._W(4,101010256),i._W(2,0),i._W(2,0),i._W(2,h),i._W(2,h),i._W(4,v),i._W(4,f),i._W(2,0),_([_(n),_(o),i])}var me={htm:"text/html",xml:"text/xml",gif:"image/gif",jpg:"image/jpeg",png:"image/png",mso:"application/x-mso",thmx:"application/vnd.ms-officetheme",sh33tj5:"application/octet-stream"};function ve(e,t){if(e.ctype)return e.ctype;var r=e.name||"",n=r.match(/\.([^\.]+)$/);return n&&me[n[1]]?me[n[1]]:t&&(n=(r=t).match(/[\.\\]([^\.\\])+$/))&&me[n[1]]?me[n[1]]:"application/octet-stream"}function be(e){for(var t=v(e),r=[],n=0;n<t.length;n+=76)r.push(t.slice(n,n+76));return r.join("\r\n")+"\r\n"}function ye(e){var t=e.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF=]/g,function(e){var t=e.charCodeAt(0).toString(16).toUpperCase();return"="+(1==t.length?"0"+t:t)});"\n"==(t=t.replace(/ $/gm,"=20").replace(/\t$/gm,"=09")).charAt(0)&&(t="=0D"+t.slice(1));for(var r=[],n=(t=t.replace(/\r(?!\n)/gm,"=0D").replace(/\n\n/gm,"\n=0A").replace(/([^\r\n])\n/gm,"$1=0A")).split("\r\n"),a=0;a<n.length;++a){var o=n[a];if(0!=o.length)for(var i=0;i<o.length;){var s=76,c=o.slice(i,i+s);"="==c.charAt(s-1)?s--:"="==c.charAt(s-2)?s-=2:"="==c.charAt(s-3)&&(s-=3),c=o.slice(i,i+s),(i+=s)<o.length&&(c+="="),r.push(c)}else r.push("")}return r.join("\r\n")}function we(e,t,r){for(var n,a="",o="",i="",s=0;s<10;++s){var c=t[s];if(!c||c.match(/^\s*$/))break;var l=c.match(/^(.*?):\s*([^\s].*)$/);if(l)switch(l[1].toLowerCase()){case"content-location":a=l[2].trim();break;case"content-type":i=l[2].trim();break;case"content-transfer-encoding":o=l[2].trim()}}switch(++s,o.toLowerCase()){case"base64":n=k(b(t.slice(s).join("")));break;case"quoted-printable":n=function(e){for(var t=[],r=0;r<e.length;++r){for(var n=e[r];r<=e.length&&"="==n.charAt(n.length-1);)n=n.slice(0,n.length-1)+e[++r];t.push(n)}for(var a=0;a<t.length;++a)t[a]=t[a].replace(/[=][0-9A-Fa-f]{2}/g,function(e){return String.fromCharCode(parseInt(e.slice(1),16))});return k(t.join("\r\n"))}(t.slice(s));break;default:throw new Error("Unsupported Content-Transfer-Encoding "+o)}var u=xe(e,a.slice(r.length),n,{unsafe:!0});i&&(u.ctype=i)}function Se(e,t){if("mime-version:"!=L(e.slice(0,13)).toLowerCase())throw new Error("Unsupported MAD header");var r=t&&t.root||"",n=(y&&Buffer.isBuffer(e)?e.toString("binary"):L(e)).split("\r\n"),a=0,o="";for(a=0;a<n.length;++a)if(o=n[a],/^Content-Location:/i.test(o)&&(o=o.slice(o.indexOf("file")),r||(r=o.slice(0,o.lastIndexOf("/")+1)),o.slice(0,r.length)!=r))for(;r.length>0&&(r=(r=r.slice(0,r.length-1)).slice(0,r.lastIndexOf("/")+1),o.slice(0,r.length)!=r););var i=(n[1]||"").match(/boundary="(.*?)"/);if(!i)throw new Error("MAD cannot find boundary");var s="--"+(i[1]||""),c={FileIndex:[],FullPaths:[]};h(c);var l,u=0;for(a=0;a<n.length;++a){var f=n[a];f!==s&&f!==s+"--"||(u++&&we(c,n.slice(l,a),r),l=a)}return c}function xe(e,t,r,a){var o=a&&a.unsafe;o||h(e);var i=!o&&Te.find(e,t);if(!i){var s=e.FullPaths[0];t.slice(0,s.length)==s?s=t:("/"!=s.slice(-1)&&(s+="/"),s=(s+t).replace("//","/")),i={name:n(t),type:2},e.FileIndex.push(i),e.FullPaths.push(s),o||Te.utils.cfb_gc(e)}return i.content=r,i.size=r?r.length:0,a&&(a.CLSID&&(i.clsid=a.CLSID),a.mt&&(i.mt=a.mt),a.ct&&(i.ct=a.ct)),i}return t.find=function(e,t){var r=e.FullPaths.map(function(e){return e.toUpperCase()}),n=r.map(function(e){var t=e.split("/");return t[t.length-("/"==e.slice(-1)?2:1)]}),a=!1;47===t.charCodeAt(0)?(a=!0,t=r[0].slice(0,-1)+t):a=-1!==t.indexOf("/");var o=t.toUpperCase(),i=!0===a?r.indexOf(o):n.indexOf(o);if(-1!==i)return e.FileIndex[i];var s=!o.match(C);for(o=o.replace(N,""),s&&(o=o.replace(C,"!")),i=0;i<r.length;++i){if((s?r[i].replace(C,"!"):r[i]).replace(N,"")==o)return e.FileIndex[i];if((s?n[i].replace(C,"!"):n[i]).replace(N,"")==o)return e.FileIndex[i]}return null},t.read=function(t,r){var n=r&&r.type;switch(n||y&&Buffer.isBuffer(t)&&(n="buffer"),n||"base64"){case"file":return function(t,r){return i(),s(e.readFileSync(t),r)}(t,r);case"base64":return s(k(b(t)),r);case"binary":return s(k(t),r)}return s(t,r)},t.parse=s,t.write=function(t,r){var n=p(t,r);switch(r&&r.type||"buffer"){case"file":return i(),e.writeFileSync(r.filename,n),n;case"binary":return"string"==typeof n?n:L(n);case"base64":return v("string"==typeof n?n:L(n));case"buffer":if(y)return Buffer.isBuffer(n)?n:w(n);case"array":return"string"==typeof n?k(n):n}return n},t.writeFile=function(t,r,n){i();var a=p(t,n);e.writeFileSync(r,a)},t.utils={cfb_new:function(e){var t={};return h(t,e),t},cfb_add:xe,cfb_del:function(e,t){h(e);var r=Te.find(e,t);if(r)for(var n=0;n<e.FileIndex.length;++n)if(e.FileIndex[n]==r)return e.FileIndex.splice(n,1),e.FullPaths.splice(n,1),!0;return!1},cfb_mov:function(e,t,r){h(e);var a=Te.find(e,t);if(a)for(var o=0;o<e.FileIndex.length;++o)if(e.FileIndex[o]==a)return e.FileIndex[o].name=n(r),e.FullPaths[o]=r,!0;return!1},cfb_gc:function(e){d(e,!0)},ReadShift:Sr,CheckField:Er,prep_blob:_r,bconcat:_,use_zlib:function(e){try{var t=new(0,e.InflateRaw);if(t._processChunk(new Uint8Array([3,0]),t._finishFlushFlag),!t.bytesRead)throw new Error("zlib does not expose bytesRead");g=e}catch(e){console.error("cannot use native zlib: "+(e.message||e))}},_deflateRaw:ae,_inflateRaw:fe,consts:O},t}();if("undefined"!=typeof require)try{ke=void 0}catch(e){}function Ee(e){return"string"==typeof e?A(e):Array.isArray(e)?function(e){if("undefined"==typeof Uint8Array)throw new Error("Unsupported");return new Uint8Array(e)}(e):e}function _e(e,t,r){if(void 0!==ke&&ke.writeFileSync)return r?ke.writeFileSync(e,t,r):ke.writeFileSync(e,t);if("undefined"!=typeof Deno){if(r&&"string"==typeof t)switch(r){case"utf8":t=new TextEncoder(r).encode(t);break;case"binary":t=A(t);break;default:throw new Error("Unsupported encoding "+r)}return Deno.writeFileSync(e,t)}var n="utf8"==r?Ot(t):t;if("undefined"!=typeof IE_SaveFile)return IE_SaveFile(n,e);if("undefined"!=typeof Blob){var a=new Blob([Ee(n)],{type:"application/octet-stream"});if("undefined"!=typeof navigator&&navigator.msSaveBlob)return navigator.msSaveBlob(a,e);if(void 0!==saveAs)return saveAs(a,e);if("undefined"!=typeof URL&&"undefined"!=typeof document&&document.createElement&&URL.createObjectURL){var o=URL.createObjectURL(a);if("object"==typeof chrome&&"function"==typeof(chrome.downloads||{}).download)return URL.revokeObjectURL&&"undefined"!=typeof setTimeout&&setTimeout(function(){URL.revokeObjectURL(o)},6e4),chrome.downloads.download({url:o,filename:e,saveAs:!0});var i=document.createElement("a");if(null!=i.download)return i.download=e,i.href=o,document.body.appendChild(i),i.click(),document.body.removeChild(i),URL.revokeObjectURL&&"undefined"!=typeof setTimeout&&setTimeout(function(){URL.revokeObjectURL(o)},6e4),o}}if("undefined"!=typeof $&&"undefined"!=typeof File&&"undefined"!=typeof Folder)try{var s=File(e);return s.open("w"),s.encoding="binary",Array.isArray(t)&&(t=T(t)),s.write(t),s.close(),t}catch(e){if(!e.message||!e.message.match(/onstruct/))throw e}throw new Error("cannot save file "+e)}function Ne(e){for(var t=Object.keys(e),r=[],n=0;n<t.length;++n)Object.prototype.hasOwnProperty.call(e,t[n])&&r.push(t[n]);return r}function Ce(e,t){for(var r=[],n=Ne(e),a=0;a!==n.length;++a)null==r[e[n[a]][t]]&&(r[e[n[a]][t]]=n[a]);return r}function Re(e){for(var t=[],r=Ne(e),n=0;n!==r.length;++n)t[e[r[n]]]=r[n];return t}function Oe(e){for(var t=[],r=Ne(e),n=0;n!==r.length;++n)t[e[r[n]]]=parseInt(r[n],10);return t}var Le=new Date(1899,11,30,0,0,0);function Pe(e,t){var r=e.getTime();return t&&(r-=1263168e5),(r-(Le.getTime()+6e4*(e.getTimezoneOffset()-Le.getTimezoneOffset())))/864e5}var Ie=new Date,Fe=Le.getTime()+6e4*(Ie.getTimezoneOffset()-Le.getTimezoneOffset()),De=Ie.getTimezoneOffset();function Me(e){var t=new Date;return t.setTime(24*e*60*60*1e3+Fe),t.getTimezoneOffset()!==De&&t.setTime(t.getTime()+6e4*(t.getTimezoneOffset()-De)),t}function je(e){var t=0,r=0,n=!1,a=e.match(/P([0-9\.]+Y)?([0-9\.]+M)?([0-9\.]+D)?T([0-9\.]+H)?([0-9\.]+M)?([0-9\.]+S)?/);if(!a)throw new Error("|"+e+"| is not an ISO8601 Duration");for(var o=1;o!=a.length;++o)if(a[o]){switch(r=1,o>3&&(n=!0),a[o].slice(a[o].length-1)){case"Y":throw new Error("Unsupported ISO Duration Field: "+a[o].slice(a[o].length-1));case"D":r*=24;case"H":r*=60;case"M":if(!n)throw new Error("Unsupported ISO Duration Field: M");r*=60}t+=r*parseInt(a[o],10)}return t}var Be=new Date("2017-02-19T19:06:09.000Z"),We=isNaN(Be.getFullYear())?new Date("2/19/17"):Be,Ue=2017==We.getFullYear();function ze(e,t){var r=new Date(e);if(Ue)return t>0?r.setTime(r.getTime()+60*r.getTimezoneOffset()*1e3):t<0&&r.setTime(r.getTime()-60*r.getTimezoneOffset()*1e3),r;if(e instanceof Date)return e;if(1917==We.getFullYear()&&!isNaN(r.getFullYear())){var n=r.getFullYear();return e.indexOf(""+n)>-1?r:(r.setFullYear(r.getFullYear()+100),r)}var a=e.match(/\d+/g)||["2017","2","19","0","0","0"],o=new Date(+a[0],+a[1]-1,+a[2],+a[3]||0,+a[4]||0,+a[5]||0);return e.indexOf("Z")>-1&&(o=new Date(o.getTime()-60*o.getTimezoneOffset()*1e3)),o}function He(e,t){if(y&&Buffer.isBuffer(e)){if(t){if(255==e[0]&&254==e[1])return Ot(e.slice(2).toString("utf16le"));if(254==e[1]&&255==e[2])return Ot(u(e.slice(2).toString("binary")))}return e.toString("binary")}if("undefined"!=typeof TextDecoder)try{if(t){if(255==e[0]&&254==e[1])return Ot(new TextDecoder("utf-16le").decode(e.slice(2)));if(254==e[0]&&255==e[1])return Ot(new TextDecoder("utf-16be").decode(e.slice(2)))}var r={"€":"","‚":"","ƒ":"","„":"","…":" ","†":"","‡":"","ˆ":"","‰":"","Š":"","‹":"","Œ":"","Ž":"","‘":"","’":"","“":"","”":"","•":"","–":"","—":"","˜":"","™":"","š":"","›":"","œ":"","ž":"","Ÿ":""};return Array.isArray(e)&&(e=new Uint8Array(e)),new TextDecoder("latin1").decode(e).replace(/[€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ]/g,function(e){return r[e]||e})}catch(e){}for(var n=[],a=0;a!=e.length;++a)n.push(String.fromCharCode(e[a]));return n.join("")}function Ve(e){if("undefined"!=typeof JSON&&!Array.isArray(e))return JSON.parse(JSON.stringify(e));if("object"!=typeof e||null==e)return e;if(e instanceof Date)return new Date(e.getTime());var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=Ve(e[r]));return t}function qe(e,t){for(var r="";r.length<t;)r+=e;return r}function $e(e){var t=Number(e);if(!isNaN(t))return isFinite(t)?t:NaN;if(!/\d/.test(e))return t;var r=1,n=e.replace(/([\d]),([\d])/g,"$1$2").replace(/[$]/g,"").replace(/[%]/g,function(){return r*=100,""});return isNaN(t=Number(n))?(n=n.replace(/[(](.*)[)]/,function(e,t){return r=-r,t}),isNaN(t=Number(n))?t:t/r):t/r}var Ge=["january","february","march","april","may","june","july","august","september","october","november","december"];function Xe(e){var t=new Date(e),r=new Date(NaN),n=t.getYear(),a=t.getMonth(),o=t.getDate();if(isNaN(o))return r;var i=e.toLowerCase();if(i.match(/jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec/)){if((i=i.replace(/[^a-z]/g,"").replace(/([^a-z]|^)[ap]m?([^a-z]|$)/,"")).length>3&&-1==Ge.indexOf(i))return r}else if(i.match(/[a-z]/))return r;return n<0||n>8099?r:(a>0||o>1)&&101!=n?t:e.match(/[^-0-9:,\/\\]/)?r:t}var Ye=function(){var e=5=="abacaba".split(/(:?b)/i).length;return function(t,r,n){if(e||"string"==typeof r)return t.split(r);for(var a=t.split(r),o=[a[0]],i=1;i<a.length;++i)o.push(n),o.push(a[i]);return o}}();function Ke(e){return e?e.content&&e.type?He(e.content,!0):e.data?f(e.data):e.asNodeBuffer&&y?f(e.asNodeBuffer().toString("binary")):e.asBinary?f(e.asBinary()):e._data&&e._data.getContent?f(He(Array.prototype.slice.call(e._data.getContent(),0))):null:null}function Je(e){if(!e)return null;if(e.data)return l(e.data);if(e.asNodeBuffer&&y)return e.asNodeBuffer();if(e._data&&e._data.getContent){var t=e._data.getContent();return"string"==typeof t?l(t):Array.prototype.slice.call(t)}return e.content&&e.type?e.content:null}function Ze(e,t){for(var r=e.FullPaths||Ne(e.files),n=t.toLowerCase().replace(/[\/]/g,"\\"),a=n.replace(/\\/g,"/"),o=0;o<r.length;++o){var i=r[o].replace(/^Root Entry[\/]/,"").toLowerCase();if(n==i||a==i)return e.files?e.files[r[o]]:e.FileIndex[o]}return null}function Qe(e,t){var r=Ze(e,t);if(null==r)throw new Error("Cannot find file "+t+" in zip");return r}function et(e,t,r){if(!r)return function(e){return e&&".bin"===e.name.slice(-4)?Je(e):Ke(e)}(Qe(e,t));if(!t)return null;try{return et(e,t)}catch(e){return null}}function tt(e,t,r){if(!r)return Ke(Qe(e,t));if(!t)return null;try{return tt(e,t)}catch(e){return null}}function rt(e){for(var t=e.FullPaths||Ne(e.files),r=[],n=0;n<t.length;++n)"/"!=t[n].slice(-1)&&r.push(t[n].replace(/^Root Entry[\/]/,""));return r.sort()}function nt(e,t,r){if(e.FullPaths){var n;if("string"==typeof r)return n=y?w(r):function(e){for(var t=[],r=0,n=e.length+250,a=S(e.length+255),o=0;o<e.length;++o){var i=e.charCodeAt(o);if(i<128)a[r++]=i;else if(i<2048)a[r++]=192|i>>6&31,a[r++]=128|63&i;else if(i>=55296&&i<57344){i=64+(1023&i);var s=1023&e.charCodeAt(++o);a[r++]=240|i>>8&7,a[r++]=128|i>>2&63,a[r++]=128|s>>6&15|(3&i)<<4,a[r++]=128|63&s}else a[r++]=224|i>>12&15,a[r++]=128|i>>6&63,a[r++]=128|63&i;r>n&&(t.push(a.slice(0,r)),r=0,a=S(65535),n=65530)}return t.push(a.slice(0,r)),_(t)}(r),Te.utils.cfb_add(e,t,n);Te.utils.cfb_add(e,t,r)}else e.file(t,r)}function at(){return Te.utils.cfb_new()}function ot(e,t){switch(t.type){case"base64":return Te.read(e,{type:"base64"});case"binary":return Te.read(e,{type:"binary"});case"buffer":case"array":return Te.read(e,{type:"buffer"})}throw new Error("Unrecognized type "+t.type)}function it(e,t){if("/"==e.charAt(0))return e.slice(1);var r=t.split("/");"/"!=t.slice(-1)&&r.pop();for(var n=e.split("/");0!==n.length;){var a=n.shift();".."===a?r.pop():"."!==a&&r.push(a)}return r.join("/")}var st='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r\n',ct=/([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g,lt=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s*[\/\?]?>/gm,ut=st.match(lt)?lt:/<[^>]*>/g,ft=/<\w*:/,ht=/<(\/?)\w+:/;function dt(e,t,r){for(var n={},a=0,o=0;a!==e.length&&(32!==(o=e.charCodeAt(a))&&10!==o&&13!==o);++a);if(t||(n[0]=e.slice(0,a)),a===e.length)return n;var i=e.match(ct),s=0,c="",l=0,u="",f="",h=1;if(i)for(l=0;l!=i.length;++l){for(f=i[l],o=0;o!=f.length&&61!==f.charCodeAt(o);++o);for(u=f.slice(0,o).trim();32==f.charCodeAt(o+1);)++o;for(h=34==(a=f.charCodeAt(o+1))||39==a?1:0,c=f.slice(o+1+h,f.length-h),s=0;s!=u.length&&58!==u.charCodeAt(s);++s);if(s===u.length)u.indexOf("_")>0&&(u=u.slice(0,u.indexOf("_"))),n[u]=c,r||(n[u.toLowerCase()]=c);else{var d=(5===s&&"xmlns"===u.slice(0,5)?"xmlns":"")+u.slice(s+1);if(n[d]&&"ext"==u.slice(s-3,s))continue;n[d]=c,r||(n[d.toLowerCase()]=c)}}return n}function pt(e){return e.replace(ht,"<$1")}var gt={""":'"',"'":"'",">":">","<":"<","&":"&"},mt=Re(gt),vt=function(){var e=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/gi,t=/_x([\da-fA-F]{4})_/gi;return function r(n){var a=n+"",o=a.indexOf("<![CDATA[");if(-1==o)return a.replace(e,function(e,t){return gt[e]||String.fromCharCode(parseInt(t,e.indexOf("x")>-1?16:10))||e}).replace(t,function(e,t){return String.fromCharCode(parseInt(t,16))});var i=a.indexOf("]]>");return r(a.slice(0,o))+a.slice(o+9,i)+r(a.slice(i+3))}}(),bt=/[&<>'"]/g,yt=/[\u0000-\u0008\u000b-\u001f]/g;function wt(e){return(e+"").replace(bt,function(e){return mt[e]}).replace(yt,function(e){return"_x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+"_"})}function St(e){return wt(e).replace(/ /g,"_x0020_")}var xt=/[\u0000-\u001f]/g;function kt(e){return(e+"").replace(bt,function(e){return mt[e]}).replace(/\n/g,"<br/>").replace(xt,function(e){return"&#x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+";"})}var At=function(){var e=/&#(\d+);/g;function t(e,t){return String.fromCharCode(parseInt(t,10))}return function(r){return r.replace(e,t)}}();function Tt(e){switch(e){case 1:case!0:case"1":case"true":case"TRUE":return!0;default:return!1}}function Et(e){for(var t="",r=0,n=0,a=0,o=0,i=0,s=0;r<e.length;)(n=e.charCodeAt(r++))<128?t+=String.fromCharCode(n):(a=e.charCodeAt(r++),n>191&&n<224?(i=(31&n)<<6,i|=63&a,t+=String.fromCharCode(i)):(o=e.charCodeAt(r++),n<240?t+=String.fromCharCode((15&n)<<12|(63&a)<<6|63&o):(s=((7&n)<<18|(63&a)<<12|(63&o)<<6|63&(i=e.charCodeAt(r++)))-65536,t+=String.fromCharCode(55296+(s>>>10&1023)),t+=String.fromCharCode(56320+(1023&s)))));return t}function _t(e){var t,r,n,a=S(2*e.length),o=1,i=0,s=0;for(r=0;r<e.length;r+=o)o=1,(n=e.charCodeAt(r))<128?t=n:n<224?(t=64*(31&n)+(63&e.charCodeAt(r+1)),o=2):n<240?(t=4096*(15&n)+64*(63&e.charCodeAt(r+1))+(63&e.charCodeAt(r+2)),o=3):(o=4,t=262144*(7&n)+4096*(63&e.charCodeAt(r+1))+64*(63&e.charCodeAt(r+2))+(63&e.charCodeAt(r+3)),s=55296+((t-=65536)>>>10&1023),t=56320+(1023&t)),0!==s&&(a[i++]=255&s,a[i++]=s>>>8,s=0),a[i++]=t%256,a[i++]=t>>>8;return a.slice(0,i).toString("ucs2")}function Nt(e){return w(e,"binary").toString("utf8")}var Ct="foo bar bazâð£",Rt=y&&(Nt(Ct)==Et(Ct)&&Nt||_t(Ct)==Et(Ct)&&_t)||Et,Ot=y?function(e){return w(e,"utf8").toString("binary")}:function(e){for(var t=[],r=0,n=0,a=0;r<e.length;)switch(n=e.charCodeAt(r++),!0){case n<128:t.push(String.fromCharCode(n));break;case n<2048:t.push(String.fromCharCode(192+(n>>6))),t.push(String.fromCharCode(128+(63&n)));break;case n>=55296&&n<57344:n-=55296,a=e.charCodeAt(r++)-56320+(n<<10),t.push(String.fromCharCode(240+(a>>18&7))),t.push(String.fromCharCode(144+(a>>12&63))),t.push(String.fromCharCode(128+(a>>6&63))),t.push(String.fromCharCode(128+(63&a)));break;default:t.push(String.fromCharCode(224+(n>>12))),t.push(String.fromCharCode(128+(n>>6&63))),t.push(String.fromCharCode(128+(63&n)))}return t.join("")},Lt=function(){var e={};return function(t,r){var n=t+"|"+(r||"");return e[n]?e[n]:e[n]=new RegExp("<(?:\\w+:)?"+t+'(?: xml:space="preserve")?(?:[^>]*)>([\\s\\S]*?)</(?:\\w+:)?'+t+">",r||"")}}(),Pt=function(){var e=[["nbsp"," "],["middot","·"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map(function(e){return[new RegExp("&"+e[0]+";","ig"),e[1]]});return function(t){for(var r=t.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+</g,"<").replace(/[\t\n\r ]+/g," ").replace(/<\s*[bB][rR]\s*\/?>/g,"\n").replace(/<[^>]*>/g,""),n=0;n<e.length;++n)r=r.replace(e[n][0],e[n][1]);return r}}(),It=function(){var e={};return function(t){return void 0!==e[t]?e[t]:e[t]=new RegExp("<(?:vt:)?"+t+">([\\s\\S]*?)</(?:vt:)?"+t+">","g")}}(),Ft=/<\/?(?:vt:)?variant>/g,Dt=/<(?:vt:)([^>]*)>([\s\S]*)</;function Mt(e,t){var r=dt(e),n=e.match(It(r.baseType))||[],a=[];if(n.length!=r.size){if(t.WTF)throw new Error("unexpected vector length "+n.length+" != "+r.size);return a}return n.forEach(function(e){var t=e.replace(Ft,"").match(Dt);t&&a.push({v:Rt(t[2]),t:t[1]})}),a}var jt=/(^\s|\s$|\n)/;function Bt(e,t){return"<"+e+(t.match(jt)?' xml:space="preserve"':"")+">"+t+"</"+e+">"}function Wt(e){return Ne(e).map(function(t){return" "+t+'="'+e[t]+'"'}).join("")}function Ut(e,t,r){return"<"+e+(null!=r?Wt(r):"")+(null!=t?(t.match(jt)?' xml:space="preserve"':"")+">"+t+"</"+e:"/")+">"}function zt(e,t){try{return e.toISOString().replace(/\.\d*/,"")}catch(e){if(t)throw e}return""}function Ht(e){if(y&&Buffer.isBuffer(e))return e.toString("utf8");if("string"==typeof e)return e;if("undefined"!=typeof Uint8Array&&e instanceof Uint8Array)return Rt(T(E(e)));throw new Error("Bad input format: expected Buffer or string")}var Vt=/<(\/?)([^\s?><!\/:]*:|)([^\s?<>:\/]+)(?:[\s?:\/][^>]*)?>/gm,qt={CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",CT:"http://schemas.openxmlformats.org/package/2006/content-types",RELS:"http://schemas.openxmlformats.org/package/2006/relationships",TCMNT:"http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments",dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",mx:"http://schemas.microsoft.com/office/mac/excel/2008/main",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",sjs:"http://schemas.openxmlformats.org/package/2006/sheetjs/core-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",xsi:"http://www.w3.org/2001/XMLSchema-instance",xsd:"http://www.w3.org/2001/XMLSchema"},$t=["http://schemas.openxmlformats.org/spreadsheetml/2006/main","http://purl.oclc.org/ooxml/spreadsheetml/main","http://schemas.microsoft.com/office/excel/2006/main","http://schemas.microsoft.com/office/excel/2006/2"],Gt={o:"urn:schemas-microsoft-com:office:office",x:"urn:schemas-microsoft-com:office:excel",ss:"urn:schemas-microsoft-com:office:spreadsheet",dt:"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882",mv:"http://macVmlSchemaUri",v:"urn:schemas-microsoft-com:vml",html:"http://www.w3.org/TR/REC-html40"};var Xt=function(e){for(var t=[],r=0;r<e[0].length;++r)if(e[0][r])for(var n=0,a=e[0][r].length;n<a;n+=10240)t.push.apply(t,e[0][r].slice(n,n+10240));return t},Yt=y?function(e){return e[0].length>0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0].map(function(e){return Buffer.isBuffer(e)?e:w(e)})):Xt(e)}:Xt,Kt=function(e,t,r){for(var n=[],a=t;a<r;a+=2)n.push(String.fromCharCode(mr(e,a)));return n.join("").replace(N,"")},Jt=y?function(e,t,r){return Buffer.isBuffer(e)?e.toString("utf16le",t,r).replace(N,""):Kt(e,t,r)}:Kt,Zt=function(e,t,r){for(var n=[],a=t;a<t+r;++a)n.push(("0"+e[a].toString(16)).slice(-2));return n.join("")},Qt=y?function(e,t,r){return Buffer.isBuffer(e)?e.toString("hex",t,t+r):Zt(e,t,r)}:Zt,er=function(e,t,r){for(var n=[],a=t;a<r;a++)n.push(String.fromCharCode(gr(e,a)));return n.join("")},tr=y?function(e,t,r){return Buffer.isBuffer(e)?e.toString("utf8",t,r):er(e,t,r)}:er,rr=function(e,t){var r=br(e,t);return r>0?tr(e,t+4,t+4+r-1):""},nr=rr,ar=function(e,t){var r=br(e,t);return r>0?tr(e,t+4,t+4+r-1):""},or=ar,ir=function(e,t){var r=2*br(e,t);return r>0?tr(e,t+4,t+4+r-1):""},sr=ir,cr=function(e,t){var r=br(e,t);return r>0?Jt(e,t+4,t+4+r):""},lr=cr,ur=function(e,t){var r=br(e,t);return r>0?tr(e,t+4,t+4+r):""},fr=ur,hr=function(e,t){return function(e,t){for(var r=1-2*(e[t+7]>>>7),n=((127&e[t+7])<<4)+(e[t+6]>>>4&15),a=15&e[t+6],o=5;o>=0;--o)a=256*a+e[t+o];return 2047==n?0==a?r*(1/0):NaN:(0==n?n=-1022:(n-=1023,a+=Math.pow(2,52)),r*Math.pow(2,n-52)*a)}(e,t)},dr=hr,pr=function(e){return Array.isArray(e)||"undefined"!=typeof Uint8Array&&e instanceof Uint8Array};y&&(nr=function(e,t){if(!Buffer.isBuffer(e))return rr(e,t);var r=e.readUInt32LE(t);return r>0?e.toString("utf8",t+4,t+4+r-1):""},or=function(e,t){if(!Buffer.isBuffer(e))return ar(e,t);var r=e.readUInt32LE(t);return r>0?e.toString("utf8",t+4,t+4+r-1):""},sr=function(e,t){if(!Buffer.isBuffer(e))return ir(e,t);var r=2*e.readUInt32LE(t);return e.toString("utf16le",t+4,t+4+r-1)},lr=function(e,t){if(!Buffer.isBuffer(e))return cr(e,t);var r=e.readUInt32LE(t);return e.toString("utf16le",t+4,t+4+r)},fr=function(e,t){if(!Buffer.isBuffer(e))return ur(e,t);var r=e.readUInt32LE(t);return e.toString("utf8",t+4,t+4+r)},dr=function(e,t){return Buffer.isBuffer(e)?e.readDoubleLE(t):hr(e,t)},pr=function(e){return Buffer.isBuffer(e)||Array.isArray(e)||"undefined"!=typeof Uint8Array&&e instanceof Uint8Array}),void 0!==t&&(Jt=function(e,r,n){return t.utils.decode(1200,e.slice(r,n)).replace(N,"")},tr=function(e,r,n){return t.utils.decode(65001,e.slice(r,n))},nr=function(e,r){var a=br(e,r);return a>0?t.utils.decode(n,e.slice(r+4,r+4+a-1)):""},or=function(e,n){var a=br(e,n);return a>0?t.utils.decode(r,e.slice(n+4,n+4+a-1)):""},sr=function(e,r){var n=2*br(e,r);return n>0?t.utils.decode(1200,e.slice(r+4,r+4+n-1)):""},lr=function(e,r){var n=br(e,r);return n>0?t.utils.decode(1200,e.slice(r+4,r+4+n)):""},fr=function(e,r){var n=br(e,r);return n>0?t.utils.decode(65001,e.slice(r+4,r+4+n)):""});var gr=function(e,t){return e[t]},mr=function(e,t){return 256*e[t+1]+e[t]},vr=function(e,t){var r=256*e[t+1]+e[t];return r<32768?r:-1*(65535-r+1)},br=function(e,t){return e[t+3]*(1<<24)+(e[t+2]<<16)+(e[t+1]<<8)+e[t]},yr=function(e,t){return e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]},wr=function(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]};function Sr(e,n){var a,o,i,s,c,l,u="",f=[];switch(n){case"dbcs":if(l=this.l,y&&Buffer.isBuffer(this))u=this.slice(this.l,this.l+2*e).toString("utf16le");else for(c=0;c<e;++c)u+=String.fromCharCode(mr(this,l)),l+=2;e*=2;break;case"utf8":u=tr(this,this.l,this.l+e);break;case"utf16le":e*=2,u=Jt(this,this.l,this.l+e);break;case"wstr":if(void 0===t)return Sr.call(this,e,"dbcs");u=t.utils.decode(r,this.slice(this.l,this.l+2*e)),e*=2;break;case"lpstr-ansi":u=nr(this,this.l),e=4+br(this,this.l);break;case"lpstr-cp":u=or(this,this.l),e=4+br(this,this.l);break;case"lpwstr":u=sr(this,this.l),e=4+2*br(this,this.l);break;case"lpp4":e=4+br(this,this.l),u=lr(this,this.l),2&e&&(e+=2);break;case"8lpp4":e=4+br(this,this.l),u=fr(this,this.l),3&e&&(e+=4-(3&e));break;case"cstr":for(e=0,u="";0!==(i=gr(this,this.l+e++));)f.push(h(i));u=f.join("");break;case"_wstr":for(e=0,u="";0!==(i=mr(this,this.l+e));)f.push(h(i)),e+=2;e+=2,u=f.join("");break;case"dbcs-cont":for(u="",l=this.l,c=0;c<e;++c){if(this.lens&&-1!==this.lens.indexOf(l))return i=gr(this,l),this.l=l+1,s=Sr.call(this,e-c,i?"dbcs-cont":"sbcs-cont"),f.join("")+s;f.push(h(mr(this,l))),l+=2}u=f.join(""),e*=2;break;case"cpstr":if(void 0!==t){u=t.utils.decode(r,this.slice(this.l,this.l+e));break}case"sbcs-cont":for(u="",l=this.l,c=0;c!=e;++c){if(this.lens&&-1!==this.lens.indexOf(l))return i=gr(this,l),this.l=l+1,s=Sr.call(this,e-c,i?"dbcs-cont":"sbcs-cont"),f.join("")+s;f.push(h(gr(this,l))),l+=1}u=f.join("");break;default:switch(e){case 1:return a=gr(this,this.l),this.l++,a;case 2:return a=("i"===n?vr:mr)(this,this.l),this.l+=2,a;case 4:case-4:return"i"===n||0==(128&this[this.l+3])?(a=(e>0?yr:wr)(this,this.l),this.l+=4,a):(o=br(this,this.l),this.l+=4,o);case 8:case-8:if("f"===n)return o=8==e?dr(this,this.l):dr([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0),this.l+=8,o;e=8;case 16:u=Qt(this,this.l,e)}}return this.l+=e,u}var xr=function(e,t,r){e[r]=255&t,e[r+1]=t>>>8&255,e[r+2]=t>>>16&255,e[r+3]=t>>>24&255},kr=function(e,t,r){e[r]=255&t,e[r+1]=t>>8&255,e[r+2]=t>>16&255,e[r+3]=t>>24&255},Ar=function(e,t,r){e[r]=255&t,e[r+1]=t>>>8&255};function Tr(e,r,a){var o=0,i=0;if("dbcs"===a){for(i=0;i!=r.length;++i)Ar(this,r.charCodeAt(i),this.l+2*i);o=2*r.length}else if("sbcs"===a){if(void 0!==t&&874==n)for(i=0;i!=r.length;++i){var s=t.utils.encode(n,r.charAt(i));this[this.l+i]=s[0]}else for(r=r.replace(/[^\x00-\x7F]/g,"_"),i=0;i!=r.length;++i)this[this.l+i]=255&r.charCodeAt(i);o=r.length}else{if("hex"===a){for(;i<e;++i)this[this.l++]=parseInt(r.slice(2*i,2*i+2),16)||0;return this}if("utf16le"===a){var c=Math.min(this.l+e,this.length);for(i=0;i<Math.min(r.length,e);++i){var l=r.charCodeAt(i);this[this.l++]=255&l,this[this.l++]=l>>8}for(;this.l<c;)this[this.l++]=0;return this}switch(e){case 1:o=1,this[this.l]=255&r;break;case 2:o=2,this[this.l]=255&r,r>>>=8,this[this.l+1]=255&r;break;case 3:o=3,this[this.l]=255&r,r>>>=8,this[this.l+1]=255&r,r>>>=8,this[this.l+2]=255&r;break;case 4:o=4,xr(this,r,this.l);break;case 8:if(o=8,"f"===a){!function(e,t,r){var n=(t<0||1/t==-1/0?1:0)<<7,a=0,o=0,i=n?-t:t;isFinite(i)?0==i?a=o=0:(a=Math.floor(Math.log(i)/Math.LN2),o=i*Math.pow(2,52-a),a<=-1023&&(!isFinite(o)||o<Math.pow(2,52))?a=-1022:(o-=Math.pow(2,52),a+=1023)):(a=2047,o=isNaN(t)?26985:0);for(var s=0;s<=5;++s,o/=256)e[r+s]=255&o;e[r+6]=(15&a)<<4|15&o,e[r+7]=a>>4|n}(this,r,this.l);break}case 16:break;case-4:o=4,kr(this,r,this.l)}}return this.l+=o,this}function Er(e,t){var r=Qt(this,this.l,e.length>>1);if(r!==e)throw new Error(t+"Expected "+e+" saw "+r);this.l+=e.length>>1}function _r(e,t){e.l=t,e._R=Sr,e.chk=Er,e._W=Tr}function Nr(e,t){e.l+=t}function Cr(e){var t=S(e);return _r(t,0),t}function Rr(e,t,r){if(e){var n,a,o;_r(e,e.l||0);for(var i=e.length,s=0,c=0;e.l<i;){128&(s=e._R(1))&&(s=(127&s)+((127&e._R(1))<<7));var l=Xl[s]||Xl[65535];for(o=127&(n=e._R(1)),a=1;a<4&&128&n;++a)o+=(127&(n=e._R(1)))<<7*a;c=e.l+o;var u=l.f&&l.f(e,o,r);if(e.l=c,t(u,l,s))return}}}function Or(){var e=[],t=y?256:2048,r=function(e){var t=Cr(e);return _r(t,0),t},n=r(t),a=function(){n&&(n.length>n.l&&((n=n.slice(0,n.l)).l=n.length),n.length>0&&e.push(n),n=null)},o=function(e){return n&&e<n.length-n.l?n:(a(),n=r(Math.max(e+1,t)))};return{next:o,push:function(e){a(),null==(n=e).l&&(n.l=n.length),o(t)},end:function(){return a(),_(e)},_bufs:e}}function Lr(e,t,r,n){var a,o=+t;if(!isNaN(o)){n||(n=Xl[o].p||(r||[]).length||0),a=1+(o>=128?1:0)+1,n>=128&&++a,n>=16384&&++a,n>=2097152&&++a;var i=e.next(a);o<=127?i._W(1,o):(i._W(1,128+(127&o)),i._W(1,o>>7));for(var s=0;4!=s;++s){if(!(n>=128)){i._W(1,n);break}i._W(1,128+(127&n)),n>>=7}n>0&&pr(r)&&e.push(r)}}function Pr(e,t,r){var n=Ve(e);if(t.s?(n.cRel&&(n.c+=t.s.c),n.rRel&&(n.r+=t.s.r)):(n.cRel&&(n.c+=t.c),n.rRel&&(n.r+=t.r)),!r||r.biff<12){for(;n.c>=256;)n.c-=256;for(;n.r>=65536;)n.r-=65536}return n}function Ir(e,t,r){var n=Ve(e);return n.s=Pr(n.s,t.s,r),n.e=Pr(n.e,t.s,r),n}function Fr(e,t){if(e.cRel&&e.c<0)for(e=Ve(e);e.c<0;)e.c+=t>8?16384:256;if(e.rRel&&e.r<0)for(e=Ve(e);e.r<0;)e.r+=t>8?1048576:t>5?65536:16384;var r=zr(e);return e.cRel||null==e.cRel||(r=function(e){return e.replace(/^([A-Z])/,"$$$1")}(r)),e.rRel||null==e.rRel||(r=function(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}(r)),r}function Dr(e,t){return 0!=e.s.r||e.s.rRel||e.e.r!=(t.biff>=12?1048575:t.biff>=8?65536:16384)||e.e.rRel?0!=e.s.c||e.s.cRel||e.e.c!=(t.biff>=12?16383:255)||e.e.cRel?Fr(e.s,t.biff)+":"+Fr(e.e,t.biff):(e.s.rRel?"":"$")+jr(e.s.r)+":"+(e.e.rRel?"":"$")+jr(e.e.r):(e.s.cRel?"":"$")+Wr(e.s.c)+":"+(e.e.cRel?"":"$")+Wr(e.e.c)}function Mr(e){return parseInt(function(e){return e.replace(/\$(\d+)$/,"$1")}(e),10)-1}function jr(e){return""+(e+1)}function Br(e){for(var t=function(e){return e.replace(/^\$([A-Z])/,"$1")}(e),r=0,n=0;n!==t.length;++n)r=26*r+t.charCodeAt(n)-64;return r-1}function Wr(e){if(e<0)throw new Error("invalid column "+e);var t="";for(++e;e;e=Math.floor((e-1)/26))t=String.fromCharCode((e-1)%26+65)+t;return t}function Ur(e){for(var t=0,r=0,n=0;n<e.length;++n){var a=e.charCodeAt(n);a>=48&&a<=57?t=10*t+(a-48):a>=65&&a<=90&&(r=26*r+(a-64))}return{c:r-1,r:t-1}}function zr(e){for(var t=e.c+1,r="";t;t=(t-1)/26|0)r=String.fromCharCode((t-1)%26+65)+r;return r+(e.r+1)}function Hr(e){var t=e.indexOf(":");return-1==t?{s:Ur(e),e:Ur(e)}:{s:Ur(e.slice(0,t)),e:Ur(e.slice(t+1))}}function Vr(e,t){return void 0===t||"number"==typeof t?Vr(e.s,e.e):("string"!=typeof e&&(e=zr(e)),"string"!=typeof t&&(t=zr(t)),e==t?e:e+":"+t)}function qr(e){var t={s:{c:0,r:0},e:{c:0,r:0}},r=0,n=0,a=0,o=e.length;for(r=0;n<o&&!((a=e.charCodeAt(n)-64)<1||a>26);++n)r=26*r+a;for(t.s.c=--r,r=0;n<o&&!((a=e.charCodeAt(n)-48)<0||a>9);++n)r=10*r+a;if(t.s.r=--r,n===o||10!=a)return t.e.c=t.s.c,t.e.r=t.s.r,t;for(++n,r=0;n!=o&&!((a=e.charCodeAt(n)-64)<1||a>26);++n)r=26*r+a;for(t.e.c=--r,r=0;n!=o&&!((a=e.charCodeAt(n)-48)<0||a>9);++n)r=10*r+a;return t.e.r=--r,t}function $r(e,t){var r="d"==e.t&&t instanceof Date;if(null!=e.z)try{return e.w=me(e.z,r?Pe(t):t)}catch(e){}try{return e.w=me((e.XF||{}).numFmtId||(r?14:0),r?Pe(t):t)}catch(e){return""+t}}function Gr(e,t,r){return null==e||null==e.t||"z"==e.t?"":void 0!==e.w?e.w:("d"==e.t&&!e.z&&r&&r.dateNF&&(e.z=r.dateNF),"e"==e.t?Fn[e.v]||e.v:$r(e,null==t?e.v:t))}function Xr(e,t){var r=t&&t.sheet?t.sheet:"Sheet1",n={};return n[r]=e,{SheetNames:[r],Sheets:n}}function Yr(e,t,r){var n=r||{},a=e?Array.isArray(e):n.dense;null!=p&&null==a&&(a=p);var o=e||(a?[]:{}),i=0,s=0;if(o&&null!=n.origin){if("number"==typeof n.origin)i=n.origin;else{var c="string"==typeof n.origin?Ur(n.origin):n.origin;i=c.r,s=c.c}o["!ref"]||(o["!ref"]="A1:A1")}var l={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(o["!ref"]){var u=qr(o["!ref"]);l.s.c=u.s.c,l.s.r=u.s.r,l.e.c=Math.max(l.e.c,u.e.c),l.e.r=Math.max(l.e.r,u.e.r),-1==i&&(l.e.r=i=u.e.r+1)}for(var f=0;f!=t.length;++f)if(t[f]){if(!Array.isArray(t[f]))throw new Error("aoa_to_sheet expects an array of arrays");for(var h=0;h!=t[f].length;++h)if(void 0!==t[f][h]){var d={v:t[f][h]},g=i+f,m=s+h;if(l.s.r>g&&(l.s.r=g),l.s.c>m&&(l.s.c=m),l.e.r<g&&(l.e.r=g),l.e.c<m&&(l.e.c=m),!t[f][h]||"object"!=typeof t[f][h]||Array.isArray(t[f][h])||t[f][h]instanceof Date)if(Array.isArray(d.v)&&(d.f=t[f][h][1],d.v=d.v[0]),null===d.v)if(d.f)d.t="n";else if(n.nullError)d.t="e",d.v=0;else{if(!n.sheetStubs)continue;d.t="z"}else"number"==typeof d.v?d.t="n":"boolean"==typeof d.v?d.t="b":d.v instanceof Date?(d.z=n.dateNF||B[14],n.cellDates?(d.t="d",d.w=me(d.z,Pe(d.v))):(d.t="n",d.v=Pe(d.v),d.w=me(d.z,d.v))):d.t="s";else d=t[f][h];if(a)o[g]||(o[g]=[]),o[g][m]&&o[g][m].z&&(d.z=o[g][m].z),o[g][m]=d;else{var v=zr({c:m,r:g});o[v]&&o[v].z&&(d.z=o[v].z),o[v]=d}}}return l.s.c<1e7&&(o["!ref"]=Vr(l)),o}function Kr(e,t){return Yr(null,e,t)}function Jr(e,t){return t||(t=Cr(4)),t._W(4,e),t}function Zr(e){var t=e._R(4);return 0===t?"":e._R(t,"dbcs")}function Qr(e,t){var r=!1;return null==t&&(r=!0,t=Cr(4+2*e.length)),t._W(4,e.length),e.length>0&&t._W(0,e,"dbcs"),r?t.slice(0,t.l):t}function en(e){return{ich:e._R(2),ifnt:e._R(2)}}function tn(e,t){var r=e.l,n=e._R(1),a=Zr(e),o=[],i={t:a,h:a};if(0!=(1&n)){for(var s=e._R(4),c=0;c!=s;++c)o.push(en(e));i.r=o}else i.r=[{ich:0,ifnt:0}];return e.l=r+t,i}var rn=tn;function nn(e,t){var r=!1;return null==t&&(r=!0,t=Cr(23+4*e.t.length)),t._W(1,1),Qr(e.t,t),t._W(4,1),function(e,t){t||(t=Cr(4)),t._W(2,e.ich||0),t._W(2,e.ifnt||0)}({ich:0,ifnt:0},t),r?t.slice(0,t.l):t}function an(e){var t=e._R(4),r=e._R(2);return r+=e._R(1)<<16,e.l++,{c:t,iStyleRef:r}}function on(e,t){return null==t&&(t=Cr(8)),t._W(-4,e.c),t._W(3,e.iStyleRef||e.s),t._W(1,0),t}function sn(e){var t=e._R(2);return t+=e._R(1)<<16,e.l++,{c:-1,iStyleRef:t}}function cn(e,t){return null==t&&(t=Cr(4)),t._W(3,e.iStyleRef||e.s),t._W(1,0),t}var ln=Zr,un=Qr;function fn(e){var t=e._R(4);return 0===t||4294967295===t?"":e._R(t,"dbcs")}function hn(e,t){var r=!1;return null==t&&(r=!0,t=Cr(127)),t._W(4,e.length>0?e.length:4294967295),e.length>0&&t._W(0,e,"dbcs"),r?t.slice(0,t.l):t}var dn=Zr,pn=fn,gn=hn;function mn(e){var t=e.slice(e.l,e.l+4),r=1&t[0],n=2&t[0];e.l+=4;var a=0===n?dr([0,0,0,0,252&t[0],t[1],t[2],t[3]],0):yr(t,0)>>2;return r?a/100:a}function vn(e,t){null==t&&(t=Cr(4));var r=0,n=0,a=100*e;if(e==(0|e)&&e>=-(1<<29)&&e<1<<29?n=1:a==(0|a)&&a>=-(1<<29)&&a<1<<29&&(n=1,r=1),!n)throw new Error("unsupported RkNumber "+e);t._W(-4,((r?a:e)<<2)+(r+2))}function bn(e){var t={s:{},e:{}};return t.s.r=e._R(4),t.e.r=e._R(4),t.s.c=e._R(4),t.e.c=e._R(4),t}var yn=bn,wn=function(e,t){return t||(t=Cr(16)),t._W(4,e.s.r),t._W(4,e.e.r),t._W(4,e.s.c),t._W(4,e.e.c),t};function Sn(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e._R(8,"f")}function xn(e,t){return(t||Cr(8))._W(8,e,"f")}function kn(e,t){if(t||(t=Cr(8)),!e||e.auto)return t._W(4,0),t._W(4,0),t;null!=e.index?(t._W(1,2),t._W(1,e.index)):null!=e.theme?(t._W(1,6),t._W(1,e.theme)):(t._W(1,5),t._W(1,0));var r=e.tint||0;if(r>0?r*=32767:r<0&&(r*=32768),t._W(2,r),e.rgb&&null==e.theme){var n=e.rgb||"FFFFFF";"number"==typeof n&&(n=("000000"+n.toString(16)).slice(-6)),t._W(1,parseInt(n.slice(0,2),16)),t._W(1,parseInt(n.slice(2,4),16)),t._W(1,parseInt(n.slice(4,6),16)),t._W(1,255)}else t._W(2,0),t._W(1,0),t._W(1,0);return t}function An(e,t){var r=e._R(4);switch(r){case 0:return"";case 4294967295:case 4294967294:return{2:"BITMAP",3:"METAFILEPICT",8:"DIB",14:"ENHMETAFILE"}[e._R(4)]||""}if(r>400)throw new Error("Unsupported Clipboard: "+r.toString(16));return e.l-=4,e._R(0,1==t?"lpstr":"lpwstr")}var Tn=2,En=3,_n=12,Nn=81,Cn=[80,Nn],Rn={1:{n:"CodePage",t:Tn},2:{n:"Category",t:80},3:{n:"PresentationFormat",t:80},4:{n:"ByteCount",t:En},5:{n:"LineCount",t:En},6:{n:"ParagraphCount",t:En},7:{n:"SlideCount",t:En},8:{n:"NoteCount",t:En},9:{n:"HiddenCount",t:En},10:{n:"MultimediaClipCount",t:En},11:{n:"ScaleCrop",t:11},12:{n:"HeadingPairs",t:4108},13:{n:"TitlesOfParts",t:4126},14:{n:"Manager",t:80},15:{n:"Company",t:80},16:{n:"LinksUpToDate",t:11},17:{n:"CharacterCount",t:En},19:{n:"SharedDoc",t:11},22:{n:"HyperlinksChanged",t:11},23:{n:"AppVersion",t:En,p:"version"},24:{n:"DigSig",t:65},26:{n:"ContentType",t:80},27:{n:"ContentStatus",t:80},28:{n:"Language",t:80},29:{n:"Version",t:80},255:{},2147483648:{n:"Locale",t:19},2147483651:{n:"Behavior",t:19},1919054434:{}},On={1:{n:"CodePage",t:Tn},2:{n:"Title",t:80},3:{n:"Subject",t:80},4:{n:"Author",t:80},5:{n:"Keywords",t:80},6:{n:"Comments",t:80},7:{n:"Template",t:80},8:{n:"LastAuthor",t:80},9:{n:"RevNumber",t:80},10:{n:"EditTime",t:64},11:{n:"LastPrinted",t:64},12:{n:"CreatedDate",t:64},13:{n:"ModifiedDate",t:64},14:{n:"PageCount",t:En},15:{n:"WordCount",t:En},16:{n:"CharCount",t:En},17:{n:"Thumbnail",t:71},18:{n:"Application",t:80},19:{n:"DocSecurity",t:En},255:{},2147483648:{n:"Locale",t:19},2147483651:{n:"Behavior",t:19},1919054434:{}},Ln={1:"US",2:"CA",3:"",7:"RU",20:"EG",30:"GR",31:"NL",32:"BE",33:"FR",34:"ES",36:"HU",39:"IT",41:"CH",43:"AT",44:"GB",45:"DK",46:"SE",47:"NO",48:"PL",49:"DE",52:"MX",55:"BR",61:"AU",64:"NZ",66:"TH",81:"JP",82:"KR",84:"VN",86:"CN",90:"TR",105:"JS",213:"DZ",216:"MA",218:"LY",351:"PT",354:"IS",358:"FI",420:"CZ",886:"TW",961:"LB",962:"JO",963:"SY",964:"IQ",965:"KW",966:"SA",971:"AE",972:"IL",974:"QA",981:"IR",65535:"US"},Pn=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];var In=Ve(function(e){return e.map(function(e){return[e>>16&255,e>>8&255,255&e]})}([0,16777215,16711680,65280,255,16776960,16711935,65535,0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0])),Fn={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},Dn={"#NULL!":0,"#DIV/0!":7,"#VALUE!":15,"#REF!":23,"#NAME?":29,"#NUM!":36,"#N/A":42,"#GETTING_DATA":43,"#WTF?":255},Mn={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.sheet.macroEnabled.main+xml":"workbooks","application/vnd.ms-excel.sheet.binary.macroEnabled.main":"workbooks","application/vnd.ms-excel.addin.macroEnabled.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":"sheets","application/vnd.ms-excel.worksheet":"sheets","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":"charts","application/vnd.ms-excel.chartsheet":"charts","application/vnd.ms-excel.macrosheet+xml":"macros","application/vnd.ms-excel.macrosheet":"macros","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":"dialogs","application/vnd.ms-excel.dialogsheet":"dialogs","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":"strs","application/vnd.ms-excel.sharedStrings":"strs","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":"styles","application/vnd.ms-excel.styles":"styles","application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops","application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":"comments","application/vnd.ms-excel.comments":"comments","application/vnd.ms-excel.threadedcomments+xml":"threadedcomments","application/vnd.ms-excel.person+xml":"people","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"metadata","application/vnd.ms-excel.sheetMetadata":"metadata","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+xml":"TODO","application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO","application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO","application/vnd.ms-excel.attachedToolbars":"TODO","application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO","application/vnd.ms-excel.externalLink":"links","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"links","application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO","application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO","application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO","application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO","application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO","application/vnd.ms-excel.wsSortMap":"TODO","application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO","application/vnd.openxmlformats-officedocument.theme+xml":"themes","application/vnd.openxmlformats-officedocument.themeOverride+xml":"TODO","application/vnd.ms-excel.Timeline+xml":"TODO","application/vnd.ms-excel.TimelineCache+xml":"TODO","application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"TODO","application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO","application/vnd.ms-excel.controlproperties+xml":"TODO","application/vnd.openxmlformats-officedocument.model+data":"TODO","application/vnd.ms-excel.Survey+xml":"TODO","application/vnd.openxmlformats-officedocument.drawing+xml":"drawings","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO","application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO","image/png":"TODO",sheet:"js"},jn={workbooks:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",xlsm:"application/vnd.ms-excel.sheet.macroEnabled.main+xml",xlsb:"application/vnd.ms-excel.sheet.binary.macroEnabled.main",xlam:"application/vnd.ms-excel.addin.macroEnabled.main+xml",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml"},strs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml",xlsb:"application/vnd.ms-excel.sharedStrings"},comments:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml",xlsb:"application/vnd.ms-excel.comments"},sheets:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",xlsb:"application/vnd.ms-excel.worksheet"},charts:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml",xlsb:"application/vnd.ms-excel.chartsheet"},dialogs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml",xlsb:"application/vnd.ms-excel.dialogsheet"},macros:{xlsx:"application/vnd.ms-excel.macrosheet+xml",xlsb:"application/vnd.ms-excel.macrosheet"},metadata:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml",xlsb:"application/vnd.ms-excel.sheetMetadata"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};function Bn(e,t){var r,n=function(e){for(var t=[],r=Ne(e),n=0;n!==r.length;++n)null==t[e[r[n]]]&&(t[e[r[n]]]=[]),t[e[r[n]]].push(r[n]);return t}(Mn),a=[];a[a.length]=st,a[a.length]=Ut("Types",null,{xmlns:qt.CT,"xmlns:xsd":qt.xsd,"xmlns:xsi":qt.xsi}),a=a.concat([["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["data","application/vnd.openxmlformats-officedocument.model+data"],["bmp","image/bmp"],["png","image/png"],["gif","image/gif"],["emf","image/x-emf"],["wmf","image/x-wmf"],["jpg","image/jpeg"],["jpeg","image/jpeg"],["tif","image/tiff"],["tiff","image/tiff"],["pdf","application/pdf"],["rels","application/vnd.openxmlformats-package.relationships+xml"]].map(function(e){return Ut("Default",null,{Extension:e[0],ContentType:e[1]})}));var o=function(n){e[n]&&e[n].length>0&&(r=e[n][0],a[a.length]=Ut("Override",null,{PartName:("/"==r[0]?"":"/")+r,ContentType:jn[n][t.bookType]||jn[n].xlsx}))},i=function(r){(e[r]||[]).forEach(function(e){a[a.length]=Ut("Override",null,{PartName:("/"==e[0]?"":"/")+e,ContentType:jn[r][t.bookType]||jn[r].xlsx})})},s=function(t){(e[t]||[]).forEach(function(e){a[a.length]=Ut("Override",null,{PartName:("/"==e[0]?"":"/")+e,ContentType:n[t][0]})})};return o("workbooks"),i("sheets"),i("charts"),s("themes"),["strs","styles"].forEach(o),["coreprops","extprops","custprops"].forEach(s),s("vba"),s("comments"),s("threadedcomments"),s("drawings"),i("metadata"),s("people"),a.length>2&&(a[a.length]="</Types>",a[1]=a[1].replace("/>",">")),a.join("")}var Wn={WB:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",SHEET:"http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument",HLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",VML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",XLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",CXML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",CXMLP:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",CMNT:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",SST:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",STY:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",THEME:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",CHART:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",CHARTEX:"http://schemas.microsoft.com/office/2014/relationships/chartEx",CS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet",WS:["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"],DS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",MS:"http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet",IMG:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",DRAW:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",XLMETA:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata",TCMNT:"http://schemas.microsoft.com/office/2017/10/relationships/threadedComment",PEOPLE:"http://schemas.microsoft.com/office/2017/10/relationships/person",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function Un(e){var t=e.lastIndexOf("/");return e.slice(0,t+1)+"_rels/"+e.slice(t+1)+".rels"}function zn(e,t){var r={"!id":{}};if(!e)return r;"/"!==t.charAt(0)&&(t="/"+t);var n={};return(e.match(ut)||[]).forEach(function(e){var a=dt(e);if("<Relationship"===a[0]){var o={};o.Type=a.Type,o.Target=a.Target,o.Id=a.Id,a.TargetMode&&(o.TargetMode=a.TargetMode);var i="External"===a.TargetMode?a.Target:it(a.Target,t);r[i]=o,n[a.Id]=o}}),r["!id"]=n,r}function Hn(e){var t=[st,Ut("Relationships",null,{xmlns:qt.RELS})];return Ne(e["!id"]).forEach(function(r){t[t.length]=Ut("Relationship",null,e["!id"][r])}),t.length>2&&(t[t.length]="</Relationships>",t[1]=t[1].replace("/>",">")),t.join("")}function Vn(e,t,r,n,a,o){if(a||(a={}),e["!id"]||(e["!id"]={}),e["!idx"]||(e["!idx"]=1),t<0)for(t=e["!idx"];e["!id"]["rId"+t];++t);if(e["!idx"]=t+1,a.Id="rId"+t,a.Type=n,a.Target=r,o?a.TargetMode=o:[Wn.HLINK,Wn.XPATH,Wn.XMISS].indexOf(a.Type)>-1&&(a.TargetMode="External"),e["!id"][a.Id])throw new Error("Cannot rewrite rId "+t);return e["!id"][a.Id]=a,e[("/"+a.Target).replace("//","/")]=a,t}var qn="application/vnd.oasis.opendocument.spreadsheet";function $n(e,t,r){return[' <rdf:Description rdf:about="'+e+'">\n',' <rdf:type rdf:resource="http://docs.oasis-open.org/ns/office/1.2/meta/'+(r||"odf")+"#"+t+'"/>\n'," </rdf:Description>\n"].join("")}function Gn(e,t){return[' <rdf:Description rdf:about="'+e+'">\n',' <ns0:hasPart xmlns:ns0="http://docs.oasis-open.org/ns/office/1.2/meta/pkg#" rdf:resource="'+t+'"/>\n'," </rdf:Description>\n"].join("")}function Xn(){return'<office:document-meta xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xlink="http://www.w3.org/1999/xlink" office:version="1.2"><office:meta><meta:generator>SheetJS '+e.version+"</meta:generator></office:meta></office:document-meta>"}var Yn=[["cp:category","Category"],["cp:contentStatus","ContentStatus"],["cp:keywords","Keywords"],["cp:lastModifiedBy","LastAuthor"],["cp:lastPrinted","LastPrinted"],["cp:revision","RevNumber"],["cp:version","Version"],["dc:creator","Author"],["dc:description","Comments"],["dc:identifier","Identifier"],["dc:language","Language"],["dc:subject","Subject"],["dc:title","Title"],["dcterms:created","CreatedDate","date"],["dcterms:modified","ModifiedDate","date"]],Kn=function(){for(var e=new Array(Yn.length),t=0;t<Yn.length;++t){var r=Yn[t],n="(?:"+r[0].slice(0,r[0].indexOf(":"))+":)"+r[0].slice(r[0].indexOf(":")+1);e[t]=new RegExp("<"+n+"[^>]*>([\\s\\S]*?)</"+n+">")}return e}();function Jn(e){var t={};e=Rt(e);for(var r=0;r<Yn.length;++r){var n=Yn[r],a=e.match(Kn[r]);null!=a&&a.length>0&&(t[n[1]]=vt(a[1])),"date"===n[2]&&t[n[1]]&&(t[n[1]]=ze(t[n[1]]))}return t}function Zn(e,t,r,n,a){null==a[e]&&null!=t&&""!==t&&(a[e]=t,t=wt(t),n[n.length]=r?Ut(e,t,r):Bt(e,t))}function Qn(e,t){var r=t||{},n=[st,Ut("cp:coreProperties",null,{"xmlns:cp":qt.CORE_PROPS,"xmlns:dc":qt.dc,"xmlns:dcterms":qt.dcterms,"xmlns:dcmitype":qt.dcmitype,"xmlns:xsi":qt.xsi})],a={};if(!e&&!r.Props)return n.join("");e&&(null!=e.CreatedDate&&Zn("dcterms:created","string"==typeof e.CreatedDate?e.CreatedDate:zt(e.CreatedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},n,a),null!=e.ModifiedDate&&Zn("dcterms:modified","string"==typeof e.ModifiedDate?e.ModifiedDate:zt(e.ModifiedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},n,a));for(var o=0;o!=Yn.length;++o){var i=Yn[o],s=r.Props&&null!=r.Props[i[1]]?r.Props[i[1]]:e?e[i[1]]:null;!0===s?s="1":!1===s?s="0":"number"==typeof s&&(s=String(s)),null!=s&&Zn(i[0],s,null,n,a)}return n.length>2&&(n[n.length]="</cp:coreProperties>",n[1]=n[1].replace("/>",">")),n.join("")}var ea=[["Application","Application","string"],["AppVersion","AppVersion","string"],["Company","Company","string"],["DocSecurity","DocSecurity","string"],["Manager","Manager","string"],["HyperlinksChanged","HyperlinksChanged","bool"],["SharedDoc","SharedDoc","bool"],["LinksUpToDate","LinksUpToDate","bool"],["ScaleCrop","ScaleCrop","bool"],["HeadingPairs","HeadingPairs","raw"],["TitlesOfParts","TitlesOfParts","raw"]],ta=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function ra(e,t,r,n){var a=[];if("string"==typeof e)a=Mt(e,n);else for(var o=0;o<e.length;++o)a=a.concat(e[o].map(function(e){return{v:e}}));var i="string"==typeof t?Mt(t,n).map(function(e){return e.v}):t,s=0,c=0;if(i.length>0)for(var l=0;l!==a.length;l+=2){switch(c=+a[l+1].v,a[l].v){case"Worksheets":case"工作表":case"Листы":case"أوراق العمل":case"ワークシート":case"גליונות עבודה":case"Arbeitsblätter":case"Çalışma Sayfaları":case"Feuilles de calcul":case"Fogli di lavoro":case"Folhas de cálculo":case"Planilhas":case"Regneark":case"Hojas de cálculo":case"Werkbladen":r.Worksheets=c,r.SheetNames=i.slice(s,s+c);break;case"Named Ranges":case"Rangos con nombre":case"名前付き一覧":case"Benannte Bereiche":case"Navngivne områder":r.NamedRanges=c,r.DefinedNames=i.slice(s,s+c);break;case"Charts":case"Diagramme":r.Chartsheets=c,r.ChartNames=i.slice(s,s+c)}s+=c}}function na(e){var t=[],r=Ut;return e||(e={}),e.Application="SheetJS",t[t.length]=st,t[t.length]=Ut("Properties",null,{xmlns:qt.EXT_PROPS,"xmlns:vt":qt.vt}),ea.forEach(function(n){if(void 0!==e[n[1]]){var a;switch(n[2]){case"string":a=wt(String(e[n[1]]));break;case"bool":a=e[n[1]]?"true":"false"}void 0!==a&&(t[t.length]=r(n[0],a))}}),t[t.length]=r("HeadingPairs",r("vt:vector",r("vt:variant","<vt:lpstr>Worksheets</vt:lpstr>")+r("vt:variant",r("vt:i4",String(e.Worksheets))),{size:2,baseType:"variant"})),t[t.length]=r("TitlesOfParts",r("vt:vector",e.SheetNames.map(function(e){return"<vt:lpstr>"+wt(e)+"</vt:lpstr>"}).join(""),{size:e.Worksheets,baseType:"lpstr"})),t.length>2&&(t[t.length]="</Properties>",t[1]=t[1].replace("/>",">")),t.join("")}var aa=/<[^>]+>[^<]*/g;function oa(e){var t=[st,Ut("Properties",null,{xmlns:qt.CUST_PROPS,"xmlns:vt":qt.vt})];if(!e)return t.join("");var r=1;return Ne(e).forEach(function(n){++r,t[t.length]=Ut("property",function(e,t){switch(typeof e){case"string":var r=Ut("vt:lpwstr",wt(e));return t&&(r=r.replace(/"/g,"_x0022_")),r;case"number":return Ut((0|e)==e?"vt:i4":"vt:r8",wt(String(e)));case"boolean":return Ut("vt:bool",e?"true":"false")}if(e instanceof Date)return Ut("vt:filetime",zt(e));throw new Error("Unable to serialize "+e)}(e[n],!0),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:r,name:wt(n)})}),t.length>2&&(t[t.length]="</Properties>",t[1]=t[1].replace("/>",">")),t.join("")}var ia,sa={Title:"Title",Subject:"Subject",Author:"Author",Keywords:"Keywords",Comments:"Description",LastAuthor:"LastAuthor",RevNumber:"Revision",Application:"AppName",LastPrinted:"LastPrinted",CreatedDate:"Created",ModifiedDate:"LastSaved",Category:"Category",Manager:"Manager",Company:"Company",AppVersion:"Version",ContentStatus:"ContentStatus",Identifier:"Identifier",Language:"Language"};function ca(e,t,r){ia||(ia=Re(sa)),e[t=ia[t]||t]=r}function la(e){var t=e._R(4),r=e._R(4);return new Date(1e3*(r/1e7*Math.pow(2,32)+t/1e7-11644473600)).toISOString().replace(/\.000/,"")}function ua(e,t,r){var n=e.l,a=e._R(0,"lpstr-cp");if(r)for(;e.l-n&3;)++e.l;return a}function fa(e,t,r){var n=e._R(0,"lpwstr");return r&&(e.l+=4-(n.length+1&3)&3),n}function ha(e,t,r){return 31===t?fa(e):ua(e,0,r)}function da(e,t,r){return ha(e,t,!1===r?0:4)}function pa(e){var t=e.l,r=va(e,Nn);return 0==e[e.l]&&0==e[e.l+1]&&e.l-t&2&&(e.l+=2),[r,va(e,En)]}function ga(e,t){for(var r=e._R(4),n={},a=0;a!=r;++a){var o=e._R(4),i=e._R(4);n[o]=e._R(i,1200===t?"utf16le":"utf8").replace(N,"").replace(C,"!"),1200===t&&i%2&&(e.l+=2)}return 3&e.l&&(e.l=e.l>>3<<2),n}function ma(e){var t=e._R(4),r=e.slice(e.l,e.l+t);return e.l+=t,(3&t)>0&&(e.l+=4-(3&t)&3),r}function va(e,t,r){var n,a=e._R(2),o=r||{};if(e.l+=2,t!==_n&&a!==t&&-1===Cn.indexOf(t)&&(4126!=(65534&t)||4126!=(65534&a)))throw new Error("Expected type "+t+" saw "+a);switch(t===_n?a:t){case 2:return n=e._R(2,"i"),o.raw||(e.l+=2),n;case 3:return n=e._R(4,"i");case 11:return 0!==e._R(4);case 19:return n=e._R(4);case 30:return ua(e,0,4).replace(N,"");case 31:return fa(e);case 64:return la(e);case 65:return ma(e);case 71:return function(e){var t={};return t.Size=e._R(4),e.l+=t.Size+3-(t.Size-1)%4,t}(e);case 80:return da(e,a,!o.raw).replace(N,"");case 81:return function(e,t){if(!t)throw new Error("VtUnalignedString must have positive length");return ha(e,t,0)}(e,a).replace(N,"");case 4108:return function(e){for(var t=e._R(4),r=[],n=0;n<t/2;++n)r.push(pa(e));return r}(e);case 4126:case 4127:return 4127==a?function(e){for(var t=e._R(4),r=[],n=0;n!=t;++n){var a=e.l;r[n]=e._R(0,"lpwstr").replace(N,""),e.l-a&2&&(e.l+=2)}return r}(e):function(e){for(var t=e._R(4),r=[],n=0;n!=t;++n)r[n]=e._R(0,"lpstr-cp").replace(N,"");return r}(e);default:throw new Error("TypedPropertyValue unrecognized type "+t+" "+a)}}function ba(e,t){var r=Cr(4),n=Cr(4);switch(r._W(4,80==e?31:e),e){case 3:n._W(-4,t);break;case 5:(n=Cr(8))._W(8,t,"f");break;case 11:n._W(4,t?1:0);break;case 64:n=function(e){var t=("string"==typeof e?new Date(Date.parse(e)):e).getTime()/1e3+11644473600,r=t%Math.pow(2,32),n=(t-r)/Math.pow(2,32);n*=1e7;var a=(r*=1e7)/Math.pow(2,32)|0;a>0&&(r%=Math.pow(2,32),n+=a);var o=Cr(8);return o._W(4,r),o._W(4,n),o}(t);break;case 31:case 80:for((n=Cr(4+2*(t.length+1)+(t.length%2?0:2)))._W(4,t.length+1),n._W(0,t,"dbcs");n.l!=n.length;)n._W(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+t)}return _([r,n])}function ya(e,t){var r=e.l,n=e._R(4),a=e._R(4),o=[],i=0,c=0,l=-1,u={};for(i=0;i!=a;++i){var f=e._R(4),h=e._R(4);o[i]=[f,h+r]}o.sort(function(e,t){return e[1]-t[1]});var d={};for(i=0;i!=a;++i){if(e.l!==o[i][1]){var p=!0;if(i>0&&t)switch(t[o[i-1][0]].t){case 2:e.l+2===o[i][1]&&(e.l+=2,p=!1);break;case 80:case 4108:e.l<=o[i][1]&&(e.l=o[i][1],p=!1)}if((!t||0==i)&&e.l<=o[i][1]&&(p=!1,e.l=o[i][1]),p)throw new Error("Read Error: Expected address "+o[i][1]+" at "+e.l+" :"+i)}if(t){var g=t[o[i][0]];if(d[g.n]=va(e,g.t,{raw:!0}),"version"===g.p&&(d[g.n]=String(d[g.n]>>16)+"."+("0000"+String(65535&d[g.n])).slice(-4)),"CodePage"==g.n)switch(d[g.n]){case 0:d[g.n]=1252;case 874:case 932:case 936:case 949:case 950:case 1250:case 1251:case 1253:case 1254:case 1255:case 1256:case 1257:case 1258:case 1e4:case 1200:case 1201:case 1252:case 65e3:case-536:case 65001:case-535:s(c=d[g.n]>>>0&65535);break;default:throw new Error("Unsupported CodePage: "+d[g.n])}}else if(1===o[i][0]){if(c=d.CodePage=va(e,Tn),s(c),-1!==l){var m=e.l;e.l=o[l][1],u=ga(e,c),e.l=m}}else if(0===o[i][0]){if(0===c){l=i,e.l=o[i+1][1];continue}u=ga(e,c)}else{var v,b=u[o[i][0]];switch(e[e.l]){case 65:e.l+=4,v=ma(e);break;case 30:case 31:e.l+=4,v=da(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 3:e.l+=4,v=e._R(4,"i");break;case 19:e.l+=4,v=e._R(4);break;case 5:e.l+=4,v=e._R(8,"f");break;case 11:e.l+=4,v=Ea(e,4);break;case 64:e.l+=4,v=ze(la(e));break;default:throw new Error("unparsed value: "+e[e.l])}d[b]=v}}return e.l=r+n,d}var wa=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"];function Sa(e){switch(typeof e){case"boolean":return 11;case"number":return(0|e)==e?3:5;case"string":return 31;case"object":if(e instanceof Date)return 64}return-1}function xa(e,t,r){var n=Cr(8),a=[],o=[],i=8,s=0,c=Cr(8),l=Cr(8);if(c._W(4,2),c._W(4,1200),l._W(4,1),o.push(c),a.push(l),i+=8+c.length,!t){(l=Cr(8))._W(4,0),a.unshift(l);var u=[Cr(4)];for(u[0]._W(4,e.length),s=0;s<e.length;++s){var f=e[s][0];for((c=Cr(8+2*(f.length+1)+(f.length%2?0:2)))._W(4,s+2),c._W(4,f.length+1),c._W(0,f,"dbcs");c.l!=c.length;)c._W(1,0);u.push(c)}c=_(u),o.unshift(c),i+=8+c.length}for(s=0;s<e.length;++s)if((!t||t[e[s][0]])&&!(wa.indexOf(e[s][0])>-1||ta.indexOf(e[s][0])>-1)&&null!=e[s][1]){var h=e[s][1],d=0;if(t){var p=r[d=+t[e[s][0]]];if("version"==p.p&&"string"==typeof h){var g=h.split(".");h=(+g[0]<<16)+(+g[1]||0)}c=ba(p.t,h)}else{var m=Sa(h);-1==m&&(m=31,h=String(h)),c=ba(m,h)}o.push(c),(l=Cr(8))._W(4,t?d:2+s),a.push(l),i+=8+c.length}var v=8*(o.length+1);for(s=0;s<o.length;++s)a[s]._W(4,v),v+=o[s].length;return n._W(4,i),n._W(4,o.length),_([n].concat(a).concat(o))}function ka(e,t,r){var n=e.content;if(!n)return{};_r(n,0);var a,o,i,s,c=0;n.chk("feff","Byte Order: "),n._R(2);var l=n._R(4),u=n._R(16);if(u!==Te.utils.consts.HEADER_CLSID&&u!==r)throw new Error("Bad PropertySet CLSID "+u);if(1!==(a=n._R(4))&&2!==a)throw new Error("Unrecognized #Sets: "+a);if(o=n._R(16),s=n._R(4),1===a&&s!==n.l)throw new Error("Length mismatch: "+s+" !== "+n.l);2===a&&(i=n._R(16),c=n._R(4));var f,h=ya(n,t),d={SystemIdentifier:l};for(var p in h)d[p]=h[p];if(d.FMTID=o,1===a)return d;if(c-n.l==2&&(n.l+=2),n.l!==c)throw new Error("Length mismatch 2: "+n.l+" !== "+c);try{f=ya(n,null)}catch(e){}for(p in f)d[p]=f[p];return d.FMTID=[o,i],d}function Aa(e,t,r,n,a,o){var i=Cr(a?68:48),s=[i];i._W(2,65534),i._W(2,0),i._W(4,842412599),i._W(16,Te.utils.consts.HEADER_CLSID,"hex"),i._W(4,a?2:1),i._W(16,t,"hex"),i._W(4,a?68:48);var c=xa(e,r,n);if(s.push(c),a){var l=xa(a,null,null);i._W(16,o,"hex"),i._W(4,68+c.length),s.push(l)}return _(s)}function Ta(e,t){return e._R(t),null}function Ea(e,t){return 1===e._R(t)}function _a(e,t){return t||(t=Cr(2)),t._W(2,+!!e),t}function Na(e){return e._R(2,"u")}function Ca(e,t){return t||(t=Cr(2)),t._W(2,e),t}function Ra(e,t){return function(e,t,r){for(var n=[],a=e.l+t;e.l<a;)n.push(r(e,a-e.l));if(a!==e.l)throw new Error("Slurp error");return n}(e,t,Na)}function Oa(e,t,r){return r||(r=Cr(2)),r._W(1,"e"==t?+e:+!!e),r._W(1,"e"==t?1:0),r}function La(e,t,n){var a=e._R(n&&n.biff>=12?2:1),o="sbcs-cont",i=r;(n&&n.biff>=8&&(r=1200),n&&8!=n.biff)?12==n.biff&&(o="wstr"):e._R(1)&&(o="dbcs-cont");n.biff>=2&&n.biff<=5&&(o="cpstr");var s=a?e._R(a,o):"";return r=i,s}function Pa(e){var t=r;r=1200;var n,a=e._R(2),o=e._R(1),i=4&o,s=8&o,c=1+(1&o),l=0,u={};s&&(l=e._R(2)),i&&(n=e._R(4));var f=2==c?"dbcs-cont":"sbcs-cont",h=0===a?"":e._R(a,f);return s&&(e.l+=4*l),i&&(e.l+=n),u.t=h,s||(u.raw="<t>"+u.t+"</t>",u.r=u.t),r=t,u}function Ia(e){var t=e.t||"",r=Cr(3);r._W(2,t.length),r._W(1,1);var n=Cr(2*t.length);return n._W(2*t.length,t,"utf16le"),_([r,n])}function Fa(e,t,r){if(r){if(r.biff>=2&&r.biff<=5)return e._R(t,"cpstr");if(r.biff>=12)return e._R(t,"dbcs-cont")}return 0===e._R(1)?e._R(t,"sbcs-cont"):e._R(t,"dbcs-cont")}function Da(e,t,r){var n=e._R(r&&2==r.biff?1:2);return 0===n?(e.l++,""):Fa(e,n,r)}function Ma(e,t,r){if(r.biff>5)return Da(e,0,r);var n=e._R(1);return 0===n?(e.l++,""):e._R(n,r.biff<=4||!e.lens?"cpstr":"sbcs-cont")}function ja(e,t,r){return r||(r=Cr(3+2*e.length)),r._W(2,e.length),r._W(1,1),r._W(31,e,"utf16le"),r}function Ba(e,t){var r=e._R(16);switch(16,r){case"e0c9ea79f9bace118c8200aa004ba90b":return function(e){var t=e._R(4),r=e.l,n=!1;t>24&&(e.l+=t-24,"795881f43b1d7f48af2c825dc4852763"===e._R(16)&&(n=!0),e.l=r);var a=e._R((n?t-24:t)>>1,"utf16le").replace(N,"");return n&&(e.l+=24),a}(e);case"0303000000000000c000000000000046":return function(e){for(var t=e._R(2),r="";t-- >0;)r+="../";var n=e._R(0,"lpstr-ansi");if(e.l+=2,57005!=e._R(2))throw new Error("Bad FileMoniker");if(0===e._R(4))return r+n.replace(/\\/g,"/");var a=e._R(4);if(3!=e._R(2))throw new Error("Bad FileMoniker");return r+e._R(a>>1,"utf16le").replace(N,"")}(e);default:throw new Error("Unsupported Moniker "+r)}}function Wa(e){var t=e._R(4);return t>0?e._R(t,"utf16le").replace(N,""):""}function Ua(e,t){t||(t=Cr(6+2*e.length)),t._W(4,1+e.length);for(var r=0;r<e.length;++r)t._W(2,e.charCodeAt(r));return t._W(2,0),t}function za(e){var t=Cr(512),r=0,n=e.Target;"file://"==n.slice(0,7)&&(n=n.slice(7));var a=n.indexOf("#"),o=a>-1?31:23;switch(n.charAt(0)){case"#":o=28;break;case".":o&=-3}t._W(4,2),t._W(4,o);var i=[8,6815827,6619237,4849780,83];for(r=0;r<i.length;++r)t._W(4,i[r]);if(28==o)Ua(n=n.slice(1),t);else if(2&o){for(i="e0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),r=0;r<i.length;++r)t._W(1,parseInt(i[r],16));var s=a>-1?n.slice(0,a):n;for(t._W(4,2*(s.length+1)),r=0;r<s.length;++r)t._W(2,s.charCodeAt(r));t._W(2,0),8&o&&Ua(a>-1?n.slice(a+1):"",t)}else{for(i="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" "),r=0;r<i.length;++r)t._W(1,parseInt(i[r],16));for(var c=0;"../"==n.slice(3*c,3*c+3)||"..\\"==n.slice(3*c,3*c+3);)++c;for(t._W(2,c),t._W(4,n.length-3*c+1),r=0;r<n.length-3*c;++r)t._W(1,255&n.charCodeAt(r+3*c));for(t._W(1,0),t._W(2,65535),t._W(2,57005),r=0;r<6;++r)t._W(4,0)}return t.slice(0,t.l)}function Ha(e){return[e._R(1),e._R(1),e._R(1),e._R(1)]}function Va(e,t){var r=Ha(e);return r[3]=0,r}function qa(e){return{r:e._R(2),c:e._R(2),ixfe:e._R(2)}}function $a(e,t,r,n){return n||(n=Cr(6)),n._W(2,e),n._W(2,t),n._W(2,r||0),n}function Ga(e,t,r){var n=r.biff>8?4:2;return[e._R(n),e._R(n,"i"),e._R(n,"i")]}function Xa(e){return[e._R(2),mn(e)]}function Ya(e){var t=e._R(2),r=e._R(2);return{s:{c:e._R(2),r:t},e:{c:e._R(2),r:r}}}function Ka(e,t){return t||(t=Cr(8)),t._W(2,e.s.r),t._W(2,e.e.r),t._W(2,e.s.c),t._W(2,e.e.c),t}function Ja(e){var t=e._R(2),r=e._R(2);return{s:{c:e._R(1),r:t},e:{c:e._R(1),r:r}}}var Za=Ja;function Qa(e){e.l+=4;var t=e._R(2),r=e._R(2),n=e._R(2);return e.l+=12,[r,t,n]}function eo(e){e.l+=2,e.l+=e._R(2)}var to={0:eo,4:eo,5:eo,6:eo,7:function(e){return e.l+=4,e.cf=e._R(2),{}},8:eo,9:eo,10:eo,11:eo,12:eo,13:function(e){var t={};return e.l+=4,e.l+=16,t.fSharedNote=e._R(2),e.l+=4,t},14:eo,15:eo,16:eo,17:eo,18:eo,19:eo,20:eo,21:Qa};function ro(e,t){var r={BIFFVer:0,dt:0};switch(r.BIFFVer=e._R(2),(t-=2)>=2&&(r.dt=e._R(2),e.l-=2),r.BIFFVer){case 1536:case 1280:case 1024:case 768:case 512:case 2:case 7:break;default:if(t>6)throw new Error("Unexpected BIFF Ver "+r.BIFFVer)}return e._R(t),r}function no(e,t,r){var n=1536,a=16;switch(r.bookType){case"biff8":break;case"biff5":n=1280,a=8;break;case"biff4":n=4,a=6;break;case"biff3":n=3,a=6;break;case"biff2":n=2,a=4;break;case"xla":break;default:throw new Error("unsupported BIFF version")}var o=Cr(a);return o._W(2,n),o._W(2,t),a>4&&o._W(2,29282),a>6&&o._W(2,1997),a>8&&(o._W(2,49161),o._W(2,1),o._W(2,1798),o._W(2,0)),o}function ao(e,t){var r=!t||t.biff>=8?2:1,n=Cr(8+r*e.name.length);n._W(4,e.pos),n._W(1,e.hs||0),n._W(1,e.dt),n._W(1,e.name.length),t.biff>=8&&n._W(1,1),n._W(r*e.name.length,e.name,t.biff<8?"sbcs":"utf16le");var a=n.slice(0,n.l);return a.l=n.l,a}function oo(e,t,r){var n=0;r&&2==r.biff||(n=e._R(2));var a=e._R(2);return r&&2==r.biff&&(n=1-(a>>15),a&=32767),[{Unsynced:1&n,DyZero:(2&n)>>1,ExAsc:(4&n)>>2,ExDsc:(8&n)>>3},a]}function io(e,t,r,n){var a=r&&5==r.biff;n||(n=Cr(a?3+t.length:5+2*t.length)),n._W(2,e),n._W(a?1:2,t.length),a||n._W(1,1),n._W((a?1:2)*t.length,t,a?"sbcs":"utf16le");var o=n.length>n.l?n.slice(0,n.l):n;return null==o.l&&(o.l=o.length),o}var so=Ma;function co(e,t,r){var n=e.l+t,a=8!=r.biff&&r.biff?2:4,o=e._R(a),i=e._R(a),s=e._R(2),c=e._R(2);return e.l=n,{s:{r:o,c:s},e:{r:i,c:c}}}function lo(e,t,r,n){var a=r&&5==r.biff;n||(n=Cr(a?16:20)),n._W(2,0),e.style?(n._W(2,e.numFmtId||0),n._W(2,65524)):(n._W(2,e.numFmtId||0),n._W(2,t<<4));var o=0;return e.numFmtId>0&&a&&(o|=1024),n._W(4,o),n._W(4,0),a||n._W(4,0),n._W(2,0),n}function uo(e,t,r){var n=qa(e);2!=r.biff&&9!=t||++e.l;var a=function(e){var t=e._R(1);return 1===e._R(1)?t:1===t}(e);return n.val=a,n.t=!0===a||!1===a?"b":"e",n}var fo=function(e,t,r){return 0===t?"":Ma(e,0,r)};function ho(e,t,r){var n,a=e._R(2),o={fBuiltIn:1&a,fWantAdvise:a>>>1&1,fWantPict:a>>>2&1,fOle:a>>>3&1,fOleLink:a>>>4&1,cf:a>>>5&1023,fIcon:a>>>15&1};return 14849===r.sbcch&&(n=function(e,t,r){e.l+=4,t-=4;var n=e.l+t,a=La(e,0,r),o=e._R(2);if(o!==(n-=e.l))throw new Error("Malformed AddinUdf: padding = "+n+" != "+o);return e.l+=o,a}(e,t-2,r)),o.body=n||e._R(t-2),"string"==typeof n&&(o.Name=n),o}var po=["_xlnm.Consolidate_Area","_xlnm.Auto_Open","_xlnm.Auto_Close","_xlnm.Extract","_xlnm.Database","_xlnm.Criteria","_xlnm.Print_Area","_xlnm.Print_Titles","_xlnm.Recorder","_xlnm.Data_Form","_xlnm.Auto_Activate","_xlnm.Auto_Deactivate","_xlnm.Sheet_Title","_xlnm._FilterDatabase"];function go(e,t,r){var n=e.l+t,a=e._R(2),o=e._R(1),i=e._R(1),s=e._R(r&&2==r.biff?1:2),c=0;(!r||r.biff>=5)&&(5!=r.biff&&(e.l+=2),c=e._R(2),5==r.biff&&(e.l+=2),e.l+=4);var l=Fa(e,i,r);32&a&&(l=po[l.charCodeAt(0)]);var u=n-e.l;return r&&2==r.biff&&--u,{chKey:o,Name:l,itab:c,rgce:n!=e.l&&0!==s&&u>0?function(e,t,r,n){var a,o=e.l+t,i=Ds(e,n,r);o!==e.l&&(a=Fs(e,o-e.l,i,r));return[i,a]}(e,u,r,s):[]}}function mo(e,t,r){if(r.biff<8)return function(e,t,r){3==e[e.l+1]&&e[e.l]++;var n=La(e,0,r);return 3==n.charCodeAt(0)?n.slice(1):n}(e,0,r);for(var n=[],a=e.l+t,o=e._R(r.biff>8?4:2);0!=o--;)n.push(Ga(e,r.biff,r));if(e.l!=a)throw new Error("Bad ExternSheet: "+e.l+" != "+a);return n}function vo(e,t,r){var n=Za(e,6);switch(r.biff){case 2:e.l++,t-=7;break;case 3:case 4:e.l+=2,t-=8;break;default:e.l+=6,t-=12}return[n,zs(e,t,r)]}var bo={8:function(e,t){var r=e.l+t;e.l+=10;var n=e._R(2);e.l+=4,e.l+=2,e.l+=2,e.l+=2,e.l+=4;var a=e._R(1);return e.l+=a,e.l=r,{fmt:n}}};function yo(e){var t=Cr(24),r=Ur(e[0]);t._W(2,r.r),t._W(2,r.r),t._W(2,r.c),t._W(2,r.c);for(var n="d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),a=0;a<16;++a)t._W(1,parseInt(n[a],16));return _([t,za(e[1])])}function wo(e){var t=e[1].Tooltip,r=Cr(10+2*(t.length+1));r._W(2,2048);var n=Ur(e[0]);r._W(2,n.r),r._W(2,n.r),r._W(2,n.c),r._W(2,n.c);for(var a=0;a<t.length;++a)r._W(2,t.charCodeAt(a));return r._W(2,0),r}function So(e,t,r){if(!r.cellStyles)return Nr(e,t);var n=r&&r.biff>=12?4:2,a=e._R(n),o=e._R(n),i=e._R(n),s=e._R(n),c=e._R(2);2==n&&(e.l+=2);var l={s:a,e:o,w:i,ixfe:s,flags:c};return(r.biff>=5||!r.biff)&&(l.level=c>>8&7),l}var xo=qa,ko=Ra,Ao=Da;var To=[2,3,48,49,131,139,140,245],Eo=function(){var e={1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127,8:865,9:437,10:850,11:437,13:437,14:850,15:437,16:850,17:437,18:850,19:932,20:850,21:437,22:850,23:865,24:437,25:437,26:850,27:437,28:863,29:850,31:852,34:852,35:852,36:860,37:850,38:866,55:850,64:852,77:936,78:949,79:950,80:874,87:1252,88:1252,89:1252,108:863,134:737,135:852,136:857,204:1257,255:16969},r=Re({1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127});function a(r,n){var a=[],o=S(1);switch(n.type){case"base64":o=k(b(r));break;case"binary":o=k(r);break;case"buffer":case"array":o=r}_r(o,0);var i=o._R(1),s=!!(136&i),c=!1,l=!1;switch(i){case 2:case 3:break;case 48:case 49:c=!0,s=!0;break;case 131:case 139:break;case 140:l=!0;break;case 245:break;default:throw new Error("DBF Unsupported Version: "+i.toString(16))}var u=0,f=521;2==i&&(u=o._R(2)),o.l+=3,2!=i&&(u=o._R(4)),u>1048576&&(u=1e6),2!=i&&(f=o._R(2));var h=o._R(2),d=n.codepage||1252;2!=i&&(o.l+=16,o._R(1),0!==o[o.l]&&(d=e[o[o.l]]),o.l+=1,o.l+=2),l&&(o.l+=36);for(var p=[],g={},m=Math.min(o.length,2==i?521:f-10-(c?264:0)),v=l?32:11;o.l<m&&13!=o[o.l];)switch((g={}).name=t.utils.decode(d,o.slice(o.l,o.l+v)).replace(/[\u0000\r\n].*$/g,""),o.l+=v,g.type=String.fromCharCode(o._R(1)),2==i||l||(g.offset=o._R(4)),g.len=o._R(1),2==i&&(g.offset=o._R(2)),g.dec=o._R(1),g.name.length&&p.push(g),2!=i&&(o.l+=l?13:14),g.type){case"B":c&&8==g.len||!n.WTF||console.log("Skipping "+g.name+":"+g.type);break;case"G":case"P":n.WTF&&console.log("Skipping "+g.name+":"+g.type);break;case"+":case"0":case"@":case"C":case"D":case"F":case"I":case"L":case"M":case"N":case"O":case"T":case"Y":break;default:throw new Error("Unknown Field Type: "+g.type)}if(13!==o[o.l]&&(o.l=f-1),13!==o._R(1))throw new Error("DBF Terminator not found "+o.l+" "+o[o.l]);o.l=f;var y=0,w=0;for(a[0]=[],w=0;w!=p.length;++w)a[0][w]=p[w].name;for(;u-- >0;)if(42!==o[o.l])for(++o.l,a[++y]=[],w=0,w=0;w!=p.length;++w){var x=o.slice(o.l,o.l+p[w].len);o.l+=p[w].len,_r(x,0);var A=t.utils.decode(d,x);switch(p[w].type){case"C":A.trim().length&&(a[y][w]=A.replace(/\s+$/,""));break;case"D":8===A.length?a[y][w]=new Date(+A.slice(0,4),+A.slice(4,6)-1,+A.slice(6,8)):a[y][w]=A;break;case"F":a[y][w]=parseFloat(A.trim());break;case"+":case"I":a[y][w]=l?2147483648^x._R(-4,"i"):x._R(4,"i");break;case"L":switch(A.trim().toUpperCase()){case"Y":case"T":a[y][w]=!0;break;case"N":case"F":a[y][w]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+A+"|")}break;case"M":if(!s)throw new Error("DBF Unexpected MEMO for type "+i.toString(16));a[y][w]="##MEMO##"+(l?parseInt(A.trim(),10):x._R(4));break;case"N":(A=A.replace(/\u0000/g,"").trim())&&"."!=A&&(a[y][w]=+A||0);break;case"@":a[y][w]=new Date(x._R(-8,"f")-621356832e5);break;case"T":a[y][w]=new Date(864e5*(x._R(4)-2440588)+x._R(4));break;case"Y":a[y][w]=x._R(4,"i")/1e4+x._R(4,"i")/1e4*Math.pow(2,32);break;case"O":a[y][w]=-x._R(-8,"f");break;case"B":if(c&&8==p[w].len){a[y][w]=x._R(8,"f");break}case"G":case"P":x.l+=p[w].len;break;case"0":if("_NullFlags"===p[w].name)break;default:throw new Error("DBF Unsupported data type "+p[w].type)}}else o.l+=h;if(2!=i&&o.l<o.length&&26!=o[o.l++])throw new Error("DBF EOF Marker missing "+(o.l-1)+" of "+o.length+" "+o[o.l-1].toString(16));return n&&n.sheetRows&&(a=a.slice(0,n.sheetRows)),n.DBF=p,a}function o(e,t){var r=t||{};r.dateNF||(r.dateNF="yyyymmdd");var n=Kr(a(e,r),r);return n["!cols"]=r.DBF.map(function(e){return{wch:e.len,DBF:e}}),delete r.DBF,n}var i={B:8,C:250,L:1,D:8,"?":0,"":0};return{to_workbook:function(e,t){try{return Xr(o(e,t),t)}catch(e){if(t&&t.WTF)throw e}return{SheetNames:[],Sheets:{}}},to_sheet:o,from_sheet:function(e,t){var a=t||{};if(+a.codepage>=0&&s(+a.codepage),"string"==a.type)throw new Error("Cannot write DBF to JS string");var o=Or(),c=xf(e,{header:1,raw:!0,cellDates:!0}),l=c[0],u=c.slice(1),f=e["!cols"]||[],h=0,d=0,p=0,g=1;for(h=0;h<l.length;++h)if(((f[h]||{}).DBF||{}).name)l[h]=f[h].DBF.name,++p;else if(null!=l[h]){if(++p,"number"==typeof l[h]&&(l[h]=l[h].toString(10)),"string"!=typeof l[h])throw new Error("DBF Invalid column name "+l[h]+" |"+typeof l[h]+"|");if(l.indexOf(l[h])!==h)for(d=0;d<1024;++d)if(-1==l.indexOf(l[h]+"_"+d)){l[h]+="_"+d;break}}var m=qr(e["!ref"]),v=[],b=[],y=[];for(h=0;h<=m.e.c-m.s.c;++h){var w="",S="",x=0,k=[];for(d=0;d<u.length;++d)null!=u[d][h]&&k.push(u[d][h]);if(0!=k.length&&null!=l[h]){for(d=0;d<k.length;++d){switch(typeof k[d]){case"number":S="B";break;case"string":S="C";break;case"boolean":S="L";break;case"object":S=k[d]instanceof Date?"D":"C";break;default:S="C"}x=Math.max(x,String(k[d]).length),w=w&&w!=S?"C":S}x>250&&(x=250),"C"==(S=((f[h]||{}).DBF||{}).type)&&f[h].DBF.len>x&&(x=f[h].DBF.len),"B"==w&&"N"==S&&(w="N",y[h]=f[h].DBF.dec,x=f[h].DBF.len),b[h]="C"==w||"N"==S?x:i[w]||0,g+=b[h],v[h]=w}else v[h]="?"}var A=o.next(32);for(A._W(4,318902576),A._W(4,u.length),A._W(2,296+32*p),A._W(2,g),h=0;h<4;++h)A._W(4,0);for(A._W(4,0|(+r[n]||3)<<8),h=0,d=0;h<l.length;++h)if(null!=l[h]){var T=o.next(32),E=(l[h].slice(-10)+"\0\0\0\0\0\0\0\0\0\0\0").slice(0,11);T._W(1,E,"sbcs"),T._W(1,"?"==v[h]?"C":v[h],"sbcs"),T._W(4,d),T._W(1,b[h]||i[v[h]]||0),T._W(1,y[h]||0),T._W(1,2),T._W(4,0),T._W(1,0),T._W(4,0),T._W(4,0),d+=b[h]||i[v[h]]||0}var _=o.next(264);for(_._W(4,13),h=0;h<65;++h)_._W(4,0);for(h=0;h<u.length;++h){var N=o.next(g);for(N._W(1,0),d=0;d<l.length;++d)if(null!=l[d])switch(v[d]){case"L":N._W(1,null==u[h][d]?63:u[h][d]?84:70);break;case"B":N._W(8,u[h][d]||0,"f");break;case"N":var C="0";for("number"==typeof u[h][d]&&(C=u[h][d].toFixed(y[d]||0)),p=0;p<b[d]-C.length;++p)N._W(1,32);N._W(1,C,"sbcs");break;case"D":u[h][d]?(N._W(4,("0000"+u[h][d].getFullYear()).slice(-4),"sbcs"),N._W(2,("00"+(u[h][d].getMonth()+1)).slice(-2),"sbcs"),N._W(2,("00"+u[h][d].getDate()).slice(-2),"sbcs")):N._W(8,"00000000","sbcs");break;case"C":var R=String(null!=u[h][d]?u[h][d]:"").slice(0,b[d]);for(N._W(1,R,"sbcs"),p=0;p<b[d]-R.length;++p)N._W(1,32)}}return o.next(1)._W(1,26),o.end()}}}(),_o=function(){var e={AA:"À",BA:"Á",CA:"Â",DA:195,HA:"Ä",JA:197,AE:"È",BE:"É",CE:"Ê",HE:"Ë",AI:"Ì",BI:"Í",CI:"Î",HI:"Ï",AO:"Ò",BO:"Ó",CO:"Ô",DO:213,HO:"Ö",AU:"Ù",BU:"Ú",CU:"Û",HU:"Ü",Aa:"à",Ba:"á",Ca:"â",Da:227,Ha:"ä",Ja:229,Ae:"è",Be:"é",Ce:"ê",He:"ë",Ai:"ì",Bi:"í",Ci:"î",Hi:"ï",Ao:"ò",Bo:"ó",Co:"ô",Do:245,Ho:"ö",Au:"ù",Bu:"ú",Cu:"û",Hu:"ü",KC:"Ç",Kc:"ç",q:"æ",z:"œ",a:"Æ",j:"Œ",DN:209,Dn:241,Hy:255,S:169,c:170,R:174,"B ":180,0:176,1:177,2:178,3:179,5:181,6:182,7:183,Q:185,k:186,b:208,i:216,l:222,s:240,y:248,"!":161,'"':162,"#":163,"(":164,"%":165,"'":167,"H ":168,"+":171,";":187,"<":188,"=":189,">":190,"?":191,"{":223},r=new RegExp("N("+Ne(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),n=function(t,r){var n=e[r];return"number"==typeof n?d(n):n},a=function(e,t,r){var n=t.charCodeAt(0)-32<<4|r.charCodeAt(0)-48;return 59==n?e:d(n)};function o(e,t){switch(t.type){case"base64":return i(b(e),t);case"binary":return i(e,t);case"buffer":return i(y&&Buffer.isBuffer(e)?e.toString("binary"):T(e),t);case"array":return i(He(e),t)}throw new Error("Unrecognized type "+t.type)}function i(e,o){var i,c=e.split(/[\n\r]+/),l=-1,u=-1,f=0,h=0,d=[],p=[],g=null,m={},v=[],b=[],y=[],w=0;for(+o.codepage>=0&&s(+o.codepage);f!==c.length;++f){w=0;var S,x=c[f].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,a).replace(r,n),k=x.replace(/;;/g,"\0").split(";").map(function(e){return e.replace(/\u0000/g,";")}),A=k[0];if(x.length>0)switch(A){case"ID":case"E":case"B":case"O":case"W":break;case"P":"P"==k[1].charAt(0)&&p.push(x.slice(3).replace(/;;/g,";"));break;case"C":var T=!1,E=!1,_=!1,N=!1,C=-1,R=-1;for(h=1;h<k.length;++h)switch(k[h].charAt(0)){case"A":break;case"X":u=parseInt(k[h].slice(1))-1,E=!0;break;case"Y":for(l=parseInt(k[h].slice(1))-1,E||(u=0),i=d.length;i<=l;++i)d[i]=[];break;case"K":'"'===(S=k[h].slice(1)).charAt(0)?S=S.slice(1,S.length-1):"TRUE"===S?S=!0:"FALSE"===S?S=!1:isNaN($e(S))?isNaN(Xe(S).getDate())||(S=ze(S)):(S=$e(S),null!==g&&he(g)&&(S=Me(S))),void 0!==t&&"string"==typeof S&&"string"!=(o||{}).type&&(o||{}).codepage&&(S=t.utils.decode(o.codepage,S)),T=!0;break;case"E":N=!0;var O=us(k[h].slice(1),{r:l,c:u});d[l][u]=[d[l][u],O];break;case"S":_=!0,d[l][u]=[d[l][u],"S5S"];break;case"G":break;case"R":C=parseInt(k[h].slice(1))-1;break;case"C":R=parseInt(k[h].slice(1))-1;break;default:if(o&&o.WTF)throw new Error("SYLK bad record "+x)}if(T&&(d[l][u]&&2==d[l][u].length?d[l][u][0]=S:d[l][u]=S,g=null),_){if(N)throw new Error("SYLK shared formula cannot have own formula");var L=C>-1&&d[C][R];if(!L||!L[1])throw new Error("SYLK shared formula cannot find base");d[l][u][1]=ds(L[1],{r:l-C,c:u-R})}break;case"F":var P=0;for(h=1;h<k.length;++h)switch(k[h].charAt(0)){case"X":u=parseInt(k[h].slice(1))-1,++P;break;case"Y":for(l=parseInt(k[h].slice(1))-1,i=d.length;i<=l;++i)d[i]=[];break;case"M":w=parseInt(k[h].slice(1))/20;break;case"F":case"G":break;case"P":g=p[parseInt(k[h].slice(1))];break;case"S":case"D":case"N":break;case"W":for(y=k[h].slice(1).split(" "),i=parseInt(y[0],10);i<=parseInt(y[1],10);++i)w=parseInt(y[2],10),b[i-1]=0===w?{hidden:!0}:{wch:w},vi(b[i-1]);break;case"C":b[u=parseInt(k[h].slice(1))-1]||(b[u]={});break;case"R":v[l=parseInt(k[h].slice(1))-1]||(v[l]={}),w>0?(v[l].hpt=w,v[l].hpx=wi(w)):0===w&&(v[l].hidden=!0);break;default:if(o&&o.WTF)throw new Error("SYLK bad record "+x)}P<1&&(g=null);break;default:if(o&&o.WTF)throw new Error("SYLK bad record "+x)}}return v.length>0&&(m["!rows"]=v),b.length>0&&(m["!cols"]=b),o&&o.sheetRows&&(d=d.slice(0,o.sheetRows)),[d,m]}function c(e,t){var r=o(e,t),n=r[0],a=r[1],i=Kr(n,t);return Ne(a).forEach(function(e){i[e]=a[e]}),i}function l(e,t,r,n){var a="C;Y"+(r+1)+";X"+(n+1)+";K";switch(e.t){case"n":a+=e.v||0,e.f&&!e.F&&(a+=";E"+hs(e.f,{r:r,c:n}));break;case"b":a+=e.v?"TRUE":"FALSE";break;case"e":a+=e.w||e.v;break;case"d":a+='"'+(e.w||e.v)+'"';break;case"s":a+='"'+e.v.replace(/"/g,"").replace(/;/g,";;")+'"'}return a}return e["|"]=254,{to_workbook:function(e,t){return Xr(c(e,t),t)},to_sheet:c,from_sheet:function(e,t){var r,n=["ID;PWXL;N;E"],a=[],o=qr(e["!ref"]),i=Array.isArray(e),s="\r\n";n.push("P;PGeneral"),n.push("F;P0;DG0G8;M255"),e["!cols"]&&function(e,t){t.forEach(function(t,r){var n="F;W"+(r+1)+" "+(r+1)+" ";t.hidden?n+="0":("number"!=typeof t.width||t.wpx||(t.wpx=hi(t.width)),"number"!=typeof t.wpx||t.wch||(t.wch=di(t.wpx)),"number"==typeof t.wch&&(n+=Math.round(t.wch)))," "!=n.charAt(n.length-1)&&e.push(n)})}(n,e["!cols"]),e["!rows"]&&function(e,t){t.forEach(function(t,r){var n="F;";t.hidden?n+="M0;":t.hpt?n+="M"+20*t.hpt+";":t.hpx&&(n+="M"+20*yi(t.hpx)+";"),n.length>2&&e.push(n+"R"+(r+1))})}(n,e["!rows"]),n.push("B;Y"+(o.e.r-o.s.r+1)+";X"+(o.e.c-o.s.c+1)+";D"+[o.s.c,o.s.r,o.e.c,o.e.r].join(" "));for(var c=o.s.r;c<=o.e.r;++c)for(var u=o.s.c;u<=o.e.c;++u){var f=zr({r:c,c:u});(r=i?(e[c]||[])[u]:e[f])&&(null!=r.v||r.f&&!r.F)&&a.push(l(r,0,c,u))}return n.join(s)+s+a.join(s)+s+"E"+s}}}(),No=function(){function e(e,r){switch(r.type){case"base64":return t(b(e),r);case"binary":return t(e,r);case"buffer":return t(y&&Buffer.isBuffer(e)?e.toString("binary"):T(e),r);case"array":return t(He(e),r)}throw new Error("Unrecognized type "+r.type)}function t(e,t){for(var r=e.split("\n"),n=-1,a=-1,o=0,i=[];o!==r.length;++o)if("BOT"!==r[o].trim()){if(!(n<0)){for(var s=r[o].trim().split(","),c=s[0],l=s[1],u=r[++o]||"";1&(u.match(/["]/g)||[]).length&&o<r.length-1;)u+="\n"+r[++o];switch(u=u.trim(),+c){case-1:if("BOT"===u){i[++n]=[],a=0;continue}if("EOD"!==u)throw new Error("Unrecognized DIF special command "+u);break;case 0:"TRUE"===u?i[n][a]=!0:"FALSE"===u?i[n][a]=!1:isNaN($e(l))?isNaN(Xe(l).getDate())?i[n][a]=l:i[n][a]=ze(l):i[n][a]=$e(l),++a;break;case 1:u=(u=u.slice(1,u.length-1)).replace(/""/g,'"'),g&&u&&u.match(/^=".*"$/)&&(u=u.slice(2,-1)),i[n][a++]=""!==u?u:null}if("EOD"===u)break}}else i[++n]=[],a=0;return t&&t.sheetRows&&(i=i.slice(0,t.sheetRows)),i}function r(t,r){return Kr(e(t,r),r)}return{to_workbook:function(e,t){return Xr(r(e,t),t)},to_sheet:r,from_sheet:function(){var e=function(e,t,r,n,a){e.push(t),e.push(r+","+n),e.push('"'+a.replace(/"/g,'""')+'"')},t=function(e,t,r,n){e.push(t+","+r),e.push(1==t?'"'+n.replace(/"/g,'""')+'"':n)};return function(r){var n,a=[],o=qr(r["!ref"]),i=Array.isArray(r);e(a,"TABLE",0,1,"sheetjs"),e(a,"VECTORS",0,o.e.r-o.s.r+1,""),e(a,"TUPLES",0,o.e.c-o.s.c+1,""),e(a,"DATA",0,0,"");for(var s=o.s.r;s<=o.e.r;++s){t(a,-1,0,"BOT");for(var c=o.s.c;c<=o.e.c;++c){var l=zr({r:s,c:c});if(n=i?(r[s]||[])[c]:r[l])switch(n.t){case"n":var u=g?n.w:n.v;u||null==n.v||(u=n.v),null==u?g&&n.f&&!n.F?t(a,1,0,"="+n.f):t(a,1,0,""):t(a,0,u,"V");break;case"b":t(a,0,n.v?1:0,n.v?"TRUE":"FALSE");break;case"s":t(a,1,0,!g||isNaN(n.v)?n.v:'="'+n.v+'"');break;case"d":n.w||(n.w=me(n.z||B[14],Pe(ze(n.v)))),g?t(a,0,n.w,"V"):t(a,1,0,n.w);break;default:t(a,1,0,"")}else t(a,1,0,"")}}t(a,-1,0,"EOD");return a.join("\r\n")}}()}}(),Co=function(){function e(e){return e.replace(/\\b/g,"\\").replace(/\\c/g,":").replace(/\\n/g,"\n")}function t(e){return e.replace(/\\/g,"\\b").replace(/:/g,"\\c").replace(/\n/g,"\\n")}function r(t,r){for(var n=t.split("\n"),a=-1,o=-1,i=0,s=[];i!==n.length;++i){var c=n[i].trim().split(":");if("cell"===c[0]){var l=Ur(c[1]);if(s.length<=l.r)for(a=s.length;a<=l.r;++a)s[a]||(s[a]=[]);switch(a=l.r,o=l.c,c[2]){case"t":s[a][o]=e(c[3]);break;case"v":s[a][o]=+c[3];break;case"vtf":var u=c[c.length-1];case"vtc":switch(c[3]){case"nl":s[a][o]=!!+c[4];break;default:s[a][o]=+c[4]}"vtf"==c[2]&&(s[a][o]=[s[a][o],u])}}}return r&&r.sheetRows&&(s=s.slice(0,r.sheetRows)),s}function n(e,t){return Kr(r(e,t),t)}var a=["socialcalc:version:1.5","MIME-Version: 1.0","Content-Type: multipart/mixed; boundary=SocialCalcSpreadsheetControlSave"].join("\n"),o=["--SocialCalcSpreadsheetControlSave","Content-type: text/plain; charset=UTF-8"].join("\n")+"\n",i=["# SocialCalc Spreadsheet Control Save","part:sheet"].join("\n"),s="--SocialCalcSpreadsheetControlSave--";function c(e){if(!e||!e["!ref"])return"";for(var r,n=[],a=[],o="",i=Hr(e["!ref"]),s=Array.isArray(e),c=i.s.r;c<=i.e.r;++c)for(var l=i.s.c;l<=i.e.c;++l)if(o=zr({r:c,c:l}),(r=s?(e[c]||[])[l]:e[o])&&null!=r.v&&"z"!==r.t){switch(a=["cell",o,"t"],r.t){case"s":case"str":a.push(t(r.v));break;case"n":r.f?(a[2]="vtf",a[3]="n",a[4]=r.v,a[5]=t(r.f)):(a[2]="v",a[3]=r.v);break;case"b":a[2]="vt"+(r.f?"f":"c"),a[3]="nl",a[4]=r.v?"1":"0",a[5]=t(r.f||(r.v?"TRUE":"FALSE"));break;case"d":var u=Pe(ze(r.v));a[2]="vtc",a[3]="nd",a[4]=""+u,a[5]=r.w||me(r.z||B[14],u);break;case"e":continue}n.push(a.join(":"))}return n.push("sheet:c:"+(i.e.c-i.s.c+1)+":r:"+(i.e.r-i.s.r+1)+":tvf:1"),n.push("valueformat:1:text-wiki"),n.join("\n")}return{to_workbook:function(e,t){return Xr(n(e,t),t)},to_sheet:n,from_sheet:function(e){return[a,o,i,o,c(e),s].join("\n")}}}(),Ro=function(){function e(e,t,r,n,a){a.raw?t[r][n]=e:""===e||("TRUE"===e?t[r][n]=!0:"FALSE"===e?t[r][n]=!1:isNaN($e(e))?isNaN(Xe(e).getDate())?t[r][n]=e:t[r][n]=ze(e):t[r][n]=$e(e))}function r(t,r){var n=r||{},a=[];if(!t||0===t.length)return a;for(var o=t.split(/[\r\n]/),i=o.length-1;i>=0&&0===o[i].length;)--i;for(var s=10,c=0,l=0;l<=i;++l)-1==(c=o[l].indexOf(" "))?c=o[l].length:c++,s=Math.max(s,c);for(l=0;l<=i;++l){a[l]=[];var u=0;for(e(o[l].slice(0,s).trim(),a,l,u,n),u=1;u<=(o[l].length-s)/10+1;++u)e(o[l].slice(s+10*(u-1),s+10*u).trim(),a,l,u,n)}return n.sheetRows&&(a=a.slice(0,n.sheetRows)),a}var n={44:",",9:"\t",59:";",124:"|"},a={44:3,9:2,59:1,124:0};function o(e){for(var t={},r=!1,o=0,i=0;o<e.length;++o)34==(i=e.charCodeAt(o))?r=!r:!r&&i in n&&(t[i]=(t[i]||0)+1);for(o in i=[],t)Object.prototype.hasOwnProperty.call(t,o)&&i.push([t[o],o]);if(!i.length)for(o in t=a)Object.prototype.hasOwnProperty.call(t,o)&&i.push([t[o],o]);return i.sort(function(e,t){return e[0]-t[0]||a[e[1]]-a[t[1]]}),n[i.pop()[1]]||44}function i(e,t){var r=t||{},n="";null!=p&&null==r.dense&&(r.dense=p);var a=r.dense?[]:{},i={s:{c:0,r:0},e:{c:0,r:0}};"sep="==e.slice(0,4)?13==e.charCodeAt(5)&&10==e.charCodeAt(6)?(n=e.charAt(4),e=e.slice(7)):13==e.charCodeAt(5)||10==e.charCodeAt(5)?(n=e.charAt(4),e=e.slice(6)):n=o(e.slice(0,1024)):n=r&&r.FS?r.FS:o(e.slice(0,1024));var s=0,c=0,l=0,u=0,f=0,h=n.charCodeAt(0),d=!1,g=0,m=e.charCodeAt(0);e=e.replace(/\r\n/gm,"\n");var v=null!=r.dateNF?function(e){var t="number"==typeof e?B[e]:e;return t=t.replace(xe,"(\\d+)"),new RegExp("^"+t+"$")}(r.dateNF):null;function b(){var t=e.slice(u,f),n={};if('"'==t.charAt(0)&&'"'==t.charAt(t.length-1)&&(t=t.slice(1,-1).replace(/""/g,'"')),0===t.length)n.t="z";else if(r.raw)n.t="s",n.v=t;else if(0===t.trim().length)n.t="s",n.v=t;else if(61==t.charCodeAt(0))34==t.charCodeAt(1)&&34==t.charCodeAt(t.length-1)?(n.t="s",n.v=t.slice(2,-1).replace(/""/g,'"')):!function(e){return 1!=e.length}(t)?(n.t="s",n.v=t):(n.t="n",n.f=t.slice(1));else if("TRUE"==t)n.t="b",n.v=!0;else if("FALSE"==t)n.t="b",n.v=!1;else if(isNaN(l=$e(t)))if(!isNaN(Xe(t).getDate())||v&&t.match(v)){n.z=r.dateNF||B[14];var o=0;v&&t.match(v)&&(t=function(e,t,r){var n=-1,a=-1,o=-1,i=-1,s=-1,c=-1;(t.match(xe)||[]).forEach(function(e,t){var l=parseInt(r[t+1],10);switch(e.toLowerCase().charAt(0)){case"y":n=l;break;case"d":o=l;break;case"h":i=l;break;case"s":c=l;break;case"m":i>=0?s=l:a=l}}),c>=0&&-1==s&&a>=0&&(s=a,a=-1);var l=(""+(n>=0?n:(new Date).getFullYear())).slice(-4)+"-"+("00"+(a>=1?a:1)).slice(-2)+"-"+("00"+(o>=1?o:1)).slice(-2);7==l.length&&(l="0"+l),8==l.length&&(l="20"+l);var u=("00"+(i>=0?i:0)).slice(-2)+":"+("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(c>=0?c:0)).slice(-2);return-1==i&&-1==s&&-1==c?l:-1==n&&-1==a&&-1==o?u:l+"T"+u}(0,r.dateNF,t.match(v)||[]),o=1),r.cellDates?(n.t="d",n.v=ze(t,o)):(n.t="n",n.v=Pe(ze(t,o))),!1!==r.cellText&&(n.w=me(n.z,n.v instanceof Date?Pe(n.v):n.v)),r.cellNF||delete n.z}else n.t="s",n.v=t;else n.t="n",!1!==r.cellText&&(n.w=t),n.v=l;if("z"==n.t||(r.dense?(a[s]||(a[s]=[]),a[s][c]=n):a[zr({c:c,r:s})]=n),u=f+1,m=e.charCodeAt(u),i.e.c<c&&(i.e.c=c),i.e.r<s&&(i.e.r=s),g==h)++c;else if(c=0,++s,r.sheetRows&&r.sheetRows<=s)return!0}e:for(;f<e.length;++f)switch(g=e.charCodeAt(f)){case 34:34===m&&(d=!d);break;case h:case 10:case 13:if(!d&&b())break e}return f-u>0&&b(),a["!ref"]=Vr(i),a}function s(e,t){return t&&t.PRN?t.FS?i(e,t):"sep="==e.slice(0,4)?i(e,t):e.indexOf("\t")>=0||e.indexOf(",")>=0||e.indexOf(";")>=0?i(e,t):Kr(r(e,t),t):i(e,t)}function c(e,r){var n="",a="string"==r.type?[0,0,0,0]:sf(e,r);switch(r.type){case"base64":n=b(e);break;case"binary":n=e;break;case"buffer":n=65001==r.codepage?e.toString("utf8"):r.codepage&&void 0!==t?t.utils.decode(r.codepage,e):y&&Buffer.isBuffer(e)?e.toString("binary"):T(e);break;case"array":n=He(e);break;case"string":n=e;break;default:throw new Error("Unrecognized type "+r.type)}return 239==a[0]&&187==a[1]&&191==a[2]?n=Rt(n.slice(3)):"string"!=r.type&&"buffer"!=r.type&&65001==r.codepage?n=Rt(n):"binary"==r.type&&void 0!==t&&r.codepage&&(n=t.utils.decode(r.codepage,t.utils.encode(28591,n))),"socialcalc:version:"==n.slice(0,19)?Co.to_sheet("string"==r.type?n:Rt(n),r):s(n,r)}return{to_workbook:function(e,t){return Xr(c(e,t),t)},to_sheet:c,from_sheet:function(e){for(var t,r=[],n=qr(e["!ref"]),a=Array.isArray(e),o=n.s.r;o<=n.e.r;++o){for(var i=[],s=n.s.c;s<=n.e.c;++s){var c=zr({r:o,c:s});if((t=a?(e[o]||[])[s]:e[c])&&null!=t.v){for(var l=(t.w||(Gr(t),t.w)||"").slice(0,10);l.length<10;)l+=" ";i.push(l+(0===s?" ":""))}else i.push(" ")}r.push(i.join(""))}return r.join("\n")}}}();var Oo=function(){function e(e,t,r){if(e){_r(e,e.l||0);for(var n=r.Enum||w;e.l<e.length;){var a=e._R(2),o=n[a]||n[65535],i=e._R(2),s=e.l+i,c=o.f&&o.f(e,i,r);if(e.l=s,t(c,o,a))return}}}function t(t,r){if(!t)return t;var n=r||{};null!=p&&null==n.dense&&(n.dense=p);var a=n.dense?[]:{},o="Sheet1",i="",s=0,c={},l=[],u=[],f={s:{r:0,c:0},e:{r:0,c:0}},h=n.sheetRows||0;if(0==t[2]&&(8==t[3]||9==t[3])&&t.length>=16&&5==t[14]&&108===t[15])throw new Error("Unsupported Works 3 for Mac file");if(2==t[2])n.Enum=w,e(t,function(e,t,r){switch(r){case 0:n.vers=e,e>=4096&&(n.qpro=!0);break;case 6:f=e;break;case 204:e&&(i=e);break;case 222:i=e;break;case 15:case 51:n.qpro||(e[1].v=e[1].v.slice(1));case 13:case 14:case 16:14==r&&112==(112&e[2])&&(15&e[2])>1&&(15&e[2])<15&&(e[1].z=n.dateNF||B[14],n.cellDates&&(e[1].t="d",e[1].v=Me(e[1].v))),n.qpro&&e[3]>s&&(a["!ref"]=Vr(f),c[o]=a,l.push(o),a=n.dense?[]:{},f={s:{r:0,c:0},e:{r:0,c:0}},s=e[3],o=i||"Sheet"+(s+1),i="");var u=n.dense?(a[e[0].r]||[])[e[0].c]:a[zr(e[0])];if(u){u.t=e[1].t,u.v=e[1].v,null!=e[1].z&&(u.z=e[1].z),null!=e[1].f&&(u.f=e[1].f);break}n.dense?(a[e[0].r]||(a[e[0].r]=[]),a[e[0].r][e[0].c]=e[1]):a[zr(e[0])]=e[1]}},n);else{if(26!=t[2]&&14!=t[2])throw new Error("Unrecognized LOTUS BOF "+t[2]);n.Enum=S,14==t[2]&&(n.qpro=!0,t.l=0),e(t,function(e,t,r){switch(r){case 204:o=e;break;case 22:e[1].v=e[1].v.slice(1);case 23:case 24:case 25:case 37:case 39:case 40:if(e[3]>s&&(a["!ref"]=Vr(f),c[o]=a,l.push(o),a=n.dense?[]:{},f={s:{r:0,c:0},e:{r:0,c:0}},s=e[3],o="Sheet"+(s+1)),h>0&&e[0].r>=h)break;n.dense?(a[e[0].r]||(a[e[0].r]=[]),a[e[0].r][e[0].c]=e[1]):a[zr(e[0])]=e[1],f.e.c<e[0].c&&(f.e.c=e[0].c),f.e.r<e[0].r&&(f.e.r=e[0].r);break;case 27:e[14e3]&&(u[e[14e3][0]]=e[14e3][1]);break;case 1537:u[e[0]]=e[1],e[0]==s&&(o=e[1])}},n)}if(a["!ref"]=Vr(f),c[i||o]=a,l.push(i||o),!u.length)return{SheetNames:l,Sheets:c};for(var d={},g=[],m=0;m<u.length;++m)c[l[m]]?(g.push(u[m]||l[m]),d[u[m]]=c[u[m]]||c[l[m]]):(g.push(u[m]),d[u[m]]={"!ref":"A1"});return{SheetNames:g,Sheets:d}}function r(e,t,r){var n=[{c:0,r:0},{t:"n",v:0},0,0];return r.qpro&&20768!=r.vers?(n[0].c=e._R(1),n[3]=e._R(1),n[0].r=e._R(2),e.l+=2):(n[2]=e._R(1),n[0].c=e._R(2),n[0].r=e._R(2)),n}function n(e,t,n){var a=e.l+t,o=r(e,0,n);if(o[1].t="s",20768==n.vers){e.l++;var i=e._R(1);return o[1].v=e._R(i,"utf8"),o}return n.qpro&&e.l++,o[1].v=e._R(a-e.l,"cstr"),o}function a(e,t,r){var n=Cr(7+r.length);n._W(1,255),n._W(2,t),n._W(2,e),n._W(1,39);for(var a=0;a<n.length;++a){var o=r.charCodeAt(a);n._W(1,o>=128?95:o)}return n._W(1,0),n}function o(e,t,r){var n=Cr(7);return n._W(1,255),n._W(2,t),n._W(2,e),n._W(2,r,"i"),n}function i(e,t,r){var n=Cr(13);return n._W(1,255),n._W(2,t),n._W(2,e),n._W(8,r,"f"),n}function c(e,t,r){var n=32768&t;return t=(n?e:0)+((t&=-32769)>=8192?t-16384:t),(n?"":"$")+(r?Wr(t):jr(t))}var l={51:["FALSE",0],52:["TRUE",0],70:["LEN",1],80:["SUM",69],81:["AVERAGEA",69],82:["COUNTA",69],83:["MINA",69],84:["MAXA",69],111:["T",1]},u=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function f(e){var t=[{c:0,r:0},{t:"n",v:0},0];return t[0].r=e._R(2),t[3]=e[e.l++],t[0].c=e[e.l++],t}function h(e,t,r,n){var a=Cr(6+n.length);a._W(2,e),a._W(1,r),a._W(1,t),a._W(1,39);for(var o=0;o<n.length;++o){var i=n.charCodeAt(o);a._W(1,i>=128?95:i)}return a._W(1,0),a}function d(e,t){var r=f(e),n=e._R(4),a=e._R(4),o=e._R(2);if(65535==o)return 0===n&&3221225472===a?(r[1].t="e",r[1].v=15):0===n&&3489660928===a?(r[1].t="e",r[1].v=42):r[1].v=0,r;var i=32768&o;return o=(32767&o)-16446,r[1].v=(1-2*i)*(a*Math.pow(2,o+32)+n*Math.pow(2,o)),r}function g(e,t,r,n){var a=Cr(14);if(a._W(2,e),a._W(1,r),a._W(1,t),0==n)return a._W(4,0),a._W(4,0),a._W(2,65535),a;var o,i=0,s=0,c=0;return n<0&&(i=1,n=-n),s=0|Math.log2(n),0==(2147483648&(c=(n/=Math.pow(2,s-31))>>>0))&&(++s,c=(n/=2)>>>0),n-=c,c|=2147483648,c>>>=0,o=(n*=Math.pow(2,32))>>>0,a._W(4,o),a._W(4,c),s+=16383+(i?32768:0),a._W(2,s),a}function m(e,t){var r=f(e),n=e._R(8,"f");return r[1].v=n,r}function v(e,t){return 0==e[e.l+t-1]?e._R(t,"cstr"):""}function y(e,t){var r=Cr(5+e.length);r._W(2,14e3),r._W(2,t);for(var n=0;n<e.length;++n){var a=e.charCodeAt(n);r[r.l++]=a>127?95:a}return r[r.l++]=0,r}var w={0:{n:"BOF",f:Na},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:function(e,t,r){var n={s:{c:0,r:0},e:{c:0,r:0}};return 8==t&&r.qpro?(n.s.c=e._R(1),e.l++,n.s.r=e._R(2),n.e.c=e._R(1),e.l++,n.e.r=e._R(2),n):(n.s.c=e._R(2),n.s.r=e._R(2),12==t&&r.qpro&&(e.l+=2),n.e.c=e._R(2),n.e.r=e._R(2),12==t&&r.qpro&&(e.l+=2),65535==n.s.c&&(n.s.c=n.e.c=n.s.r=n.e.r=0),n)}},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:function(e,t,n){var a=r(e,0,n);return a[1].v=e._R(2,"i"),a}},14:{n:"NUMBER",f:function(e,t,n){var a=r(e,0,n);return a[1].v=e._R(8,"f"),a}},15:{n:"LABEL",f:n},16:{n:"FORMULA",f:function(e,t,n){var a=e.l+t,o=r(e,0,n);if(o[1].v=e._R(8,"f"),n.qpro)e.l=a;else{var i=e._R(2);!function(e,t){_r(e,0);for(var r=[],n=0,a="",o="",i="",s="";e.l<e.length;){var f=e[e.l++];switch(f){case 0:r.push(e._R(8,"f"));break;case 1:o=c(t[0].c,e._R(2),!0),a=c(t[0].r,e._R(2),!1),r.push(o+a);break;case 2:var h=c(t[0].c,e._R(2),!0),d=c(t[0].r,e._R(2),!1);o=c(t[0].c,e._R(2),!0),a=c(t[0].r,e._R(2),!1),r.push(h+d+":"+o+a);break;case 3:if(e.l<e.length)return void console.error("WK1 premature formula end");break;case 4:r.push("("+r.pop()+")");break;case 5:r.push(e._R(2));break;case 6:for(var p="";f=e[e.l++];)p+=String.fromCharCode(f);r.push('"'+p.replace(/"/g,'""')+'"');break;case 8:r.push("-"+r.pop());break;case 23:r.push("+"+r.pop());break;case 22:r.push("NOT("+r.pop()+")");break;case 20:case 21:s=r.pop(),i=r.pop(),r.push(["AND","OR"][f-20]+"("+i+","+s+")");break;default:if(f<32&&u[f])s=r.pop(),i=r.pop(),r.push(i+u[f]+s);else{if(!l[f])return f<=7?console.error("WK1 invalid opcode "+f.toString(16)):f<=24?console.error("WK1 unsupported op "+f.toString(16)):f<=30?console.error("WK1 invalid opcode "+f.toString(16)):f<=115?console.error("WK1 unsupported function opcode "+f.toString(16)):console.error("WK1 unrecognized opcode "+f.toString(16));if(69==(n=l[f][1])&&(n=e[e.l++]),n>r.length)return void console.error("WK1 bad formula parse 0x"+f.toString(16)+":|"+r.join("|")+"|");var g=r.slice(-n);r.length-=n,r.push(l[f][0]+"("+g.join(",")+")")}}}1==r.length?t[1].f=""+r[0]:console.error("WK1 bad formula parse |"+r.join("|")+"|")}(e.slice(e.l,e.l+i),o),e.l+=i}return o}},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f:n},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},102:{n:"PRANGES??"},103:{n:"RRANGES??"},104:{n:"FNAME??"},105:{n:"MRANGES??"},204:{n:"SHEETNAMECS",f:v},222:{n:"SHEETNAMELP",f:function(e,t){var r=e[e.l++];r>t-1&&(r=t-1);for(var n="";n.length<r;)n+=String.fromCharCode(e[e.l++]);return n}},65535:{n:""}},S={0:{n:"BOF"},1:{n:"EOF"},2:{n:"PASSWORD"},3:{n:"CALCSET"},4:{n:"WINDOWSET"},5:{n:"SHEETCELLPTR"},6:{n:"SHEETLAYOUT"},7:{n:"COLUMNWIDTH"},8:{n:"HIDDENCOLUMN"},9:{n:"USERRANGE"},10:{n:"SYSTEMRANGE"},11:{n:"ZEROFORCE"},12:{n:"SORTKEYDIR"},13:{n:"FILESEAL"},14:{n:"DATAFILLNUMS"},15:{n:"PRINTMAIN"},16:{n:"PRINTSTRING"},17:{n:"GRAPHMAIN"},18:{n:"GRAPHSTRING"},19:{n:"??"},20:{n:"ERRCELL"},21:{n:"NACELL"},22:{n:"LABEL16",f:function(e,t){var r=f(e);return r[1].t="s",r[1].v=e._R(t-4,"cstr"),r}},23:{n:"NUMBER17",f:d},24:{n:"NUMBER18",f:function(e,t){var r=f(e);r[1].v=e._R(2);var n=r[1].v>>1;if(1&r[1].v)switch(7&n){case 0:n=5e3*(n>>3);break;case 1:n=500*(n>>3);break;case 2:n=(n>>3)/20;break;case 3:n=(n>>3)/200;break;case 4:n=(n>>3)/2e3;break;case 5:n=(n>>3)/2e4;break;case 6:n=(n>>3)/16;break;case 7:n=(n>>3)/64}return r[1].v=n,r}},25:{n:"FORMULA19",f:function(e,t){var r=d(e);return e.l+=t-14,r}},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:function(e,t){for(var r={},n=e.l+t;e.l<n;){var a=e._R(2);if(14e3==a){for(r[a]=[0,""],r[a][0]=e._R(2);e[e.l];)r[a][1]+=String.fromCharCode(e[e.l]),e.l++;e.l++}}return r}},28:{n:"DTLABELMISC"},29:{n:"DTLABELCELL"},30:{n:"GRAPHWINDOW"},31:{n:"CPA"},32:{n:"LPLAUTO"},33:{n:"QUERY"},34:{n:"HIDDENSHEET"},35:{n:"??"},37:{n:"NUMBER25",f:function(e,t){var r=f(e),n=e._R(4);return r[1].v=n>>6,r}},38:{n:"??"},39:{n:"NUMBER27",f:m},40:{n:"FORMULA28",f:function(e,t){var r=m(e);return e.l+=t-10,r}},142:{n:"??"},147:{n:"??"},150:{n:"??"},151:{n:"??"},152:{n:"??"},153:{n:"??"},154:{n:"??"},155:{n:"??"},156:{n:"??"},163:{n:"??"},174:{n:"??"},175:{n:"??"},176:{n:"??"},177:{n:"??"},184:{n:"??"},185:{n:"??"},186:{n:"??"},187:{n:"??"},188:{n:"??"},195:{n:"??"},201:{n:"??"},204:{n:"SHEETNAMECS",f:v},205:{n:"??"},206:{n:"??"},207:{n:"??"},208:{n:"??"},256:{n:"??"},259:{n:"??"},260:{n:"??"},261:{n:"??"},262:{n:"??"},263:{n:"??"},265:{n:"??"},266:{n:"??"},267:{n:"??"},268:{n:"??"},270:{n:"??"},271:{n:"??"},384:{n:"??"},389:{n:"??"},390:{n:"??"},393:{n:"??"},396:{n:"??"},512:{n:"??"},514:{n:"??"},513:{n:"??"},516:{n:"??"},517:{n:"??"},640:{n:"??"},641:{n:"??"},642:{n:"??"},643:{n:"??"},644:{n:"??"},645:{n:"??"},646:{n:"??"},647:{n:"??"},648:{n:"??"},658:{n:"??"},659:{n:"??"},660:{n:"??"},661:{n:"??"},662:{n:"??"},665:{n:"??"},666:{n:"??"},768:{n:"??"},772:{n:"??"},1537:{n:"SHEETINFOQP",f:function(e,t,r){if(r.qpro&&!(t<21)){var n=e._R(1);return e.l+=17,e.l+=1,e.l+=2,[n,e._R(t-21,"cstr")]}}},1600:{n:"??"},1602:{n:"??"},1793:{n:"??"},1794:{n:"??"},1795:{n:"??"},1796:{n:"??"},1920:{n:"??"},2048:{n:"??"},2049:{n:"??"},2052:{n:"??"},2688:{n:"??"},10998:{n:"??"},12849:{n:"??"},28233:{n:"??"},28484:{n:"??"},65535:{n:""}};return{sheet_to_wk1:function(e,t){var r=t||{};if(+r.codepage>=0&&s(+r.codepage),"string"==r.type)throw new Error("Cannot write WK1 to JS string");var n=Or(),c=qr(e["!ref"]),l=Array.isArray(e),u=[];Kl(n,0,function(e){var t=Cr(2);return t._W(2,e),t}(1030)),Kl(n,6,function(e){var t=Cr(8);return t._W(2,e.s.c),t._W(2,e.s.r),t._W(2,e.e.c),t._W(2,e.e.r),t}(c));for(var f=Math.min(c.e.r,8191),h=c.s.r;h<=f;++h)for(var d=jr(h),p=c.s.c;p<=c.e.c;++p){h===c.s.r&&(u[p]=Wr(p));var g=u[p]+d,m=l?(e[h]||[])[p]:e[g];m&&"z"!=m.t&&("n"==m.t?(0|m.v)==m.v&&m.v>=-32768&&m.v<=32767?Kl(n,13,o(h,p,m.v)):Kl(n,14,i(h,p,m.v)):Kl(n,15,a(h,p,Gr(m).slice(0,239))))}return Kl(n,1),n.end()},book_to_wk3:function(e,t){var r=t||{};if(+r.codepage>=0&&s(+r.codepage),"string"==r.type)throw new Error("Cannot write WK3 to JS string");var n=Or();Kl(n,0,function(e){var t=Cr(26);t._W(2,4096),t._W(2,4),t._W(4,0);for(var r=0,n=0,a=0,o=0;o<e.SheetNames.length;++o){var i=e.SheetNames[o],s=e.Sheets[i];if(s&&s["!ref"]){++a;var c=Hr(s["!ref"]);r<c.e.r&&(r=c.e.r),n<c.e.c&&(n=c.e.c)}}return r>8191&&(r=8191),t._W(2,r),t._W(1,a),t._W(1,n),t._W(2,0),t._W(2,0),t._W(1,1),t._W(1,2),t._W(4,0),t._W(4,0),t}(e));for(var a=0,o=0;a<e.SheetNames.length;++a)(e.Sheets[e.SheetNames[a]]||{})["!ref"]&&Kl(n,27,y(e.SheetNames[a],o++));var i=0;for(a=0;a<e.SheetNames.length;++a){var c=e.Sheets[e.SheetNames[a]];if(c&&c["!ref"]){for(var l=qr(c["!ref"]),u=Array.isArray(c),f=[],d=Math.min(l.e.r,8191),p=l.s.r;p<=d;++p)for(var m=jr(p),v=l.s.c;v<=l.e.c;++v){p===l.s.r&&(f[v]=Wr(v));var b=f[v]+m,w=u?(c[p]||[])[v]:c[b];w&&"z"!=w.t&&("n"==w.t?Kl(n,23,g(p,v,i,w.v)):Kl(n,22,h(p,v,i,Gr(w).slice(0,239))))}++i}}return Kl(n,1),n.end()},to_workbook:function(e,r){switch(r.type){case"base64":return t(k(b(e)),r);case"binary":return t(k(e),r);case"buffer":case"array":return t(e,r)}throw"Unsupported type "+r.type}}}();function Lo(e){var t={},r=e.match(ut),n=0,a=!1;if(r)for(;n!=r.length;++n){var i=dt(r[n]);switch(i[0].replace(/\w*:/g,"")){case"<condense":case"<extend":break;case"<shadow":if(!i.val)break;case"<shadow>":case"<shadow/>":t.shadow=1;break;case"</shadow>":break;case"<charset":if("1"==i.val)break;t.cp=o[parseInt(i.val,10)];break;case"<outline":if(!i.val)break;case"<outline>":case"<outline/>":t.outline=1;break;case"</outline>":break;case"<rFont":t.name=i.val;break;case"<sz":t.sz=i.val;break;case"<strike":if(!i.val)break;case"<strike>":case"<strike/>":t.strike=1;break;case"</strike>":break;case"<u":if(!i.val)break;switch(i.val){case"double":t.uval="double";break;case"singleAccounting":t.uval="single-accounting";break;case"doubleAccounting":t.uval="double-accounting"}case"<u>":case"<u/>":t.u=1;break;case"</u>":break;case"<b":if("0"==i.val)break;case"<b>":case"<b/>":t.b=1;break;case"</b>":break;case"<i":if("0"==i.val)break;case"<i>":case"<i/>":t.i=1;break;case"</i>":break;case"<color":i.rgb&&(t.color=i.rgb.slice(2,8));break;case"<color>":case"<color/>":case"</color>":break;case"<family":t.family=i.val;break;case"<family>":case"<family/>":case"</family>":break;case"<vertAlign":t.valign=i.val;break;case"<vertAlign>":case"<vertAlign/>":case"</vertAlign>":case"<scheme":break;case"<scheme>":case"<scheme/>":case"</scheme>":break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":a=!0;break;case"</ext>":a=!1;break;default:if(47!==i[0].charCodeAt(1)&&!a)throw new Error("Unrecognized rich format "+i[0])}}return t}var Po=function(){var e=Lt("t"),t=Lt("rPr");function r(r){var n=r.match(e);if(!n)return{t:"s",v:""};var a={t:"s",v:vt(n[1])},o=r.match(t);return o&&(a.s=Lo(o[1])),a}var n=/<(?:\w+:)?r>/g,a=/<\/(?:\w+:)?r>/;return function(e){return e.replace(n,"").split(a).map(r).filter(function(e){return e.v})}}(),Io=function(){var e=/(\r\n|\n)/g;function t(t){var r=[[],t.v,[]];return t.v?(t.s&&function(e,t,r){var n=[];e.u&&n.push("text-decoration: underline;"),e.uval&&n.push("text-underline-style:"+e.uval+";"),e.sz&&n.push("font-size:"+e.sz+"pt;"),e.outline&&n.push("text-effect: outline;"),e.shadow&&n.push("text-shadow: auto;"),t.push('<span style="'+n.join("")+'">'),e.b&&(t.push("<b>"),r.push("</b>")),e.i&&(t.push("<i>"),r.push("</i>")),e.strike&&(t.push("<s>"),r.push("</s>"));var a=e.valign||"";"superscript"==a||"super"==a?a="sup":"subscript"==a&&(a="sub"),""!=a&&(t.push("<"+a+">"),r.push("</"+a+">")),r.push("</span>")}(t.s,r[0],r[2]),r[0].join("")+r[1].replace(e,"<br/>")+r[2].join("")):""}return function(e){return e.map(t).join("")}}(),Fo=/<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g,Do=/<(?:\w+:)?r>/,Mo=/<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g;function jo(e,t){var r=!t||t.cellHTML,n={};return e?(e.match(/^\s*<(?:\w+:)?t[^>]*>/)?(n.t=vt(Rt(e.slice(e.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||"")),n.r=Rt(e),r&&(n.h=kt(n.t))):e.match(Do)&&(n.r=Rt(e),n.t=vt(Rt((e.replace(Mo,"").match(Fo)||[]).join("").replace(ut,""))),r&&(n.h=Io(Po(n.r)))),n):{t:""}}var Bo=/<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/,Wo=/<(?:\w+:)?(?:si|sstItem)>/g,Uo=/<\/(?:\w+:)?(?:si|sstItem)>/;var zo=/^\s|\s$|[\t\n\r]/;function Ho(e,t){if(!t.bookSST)return"";var r=[st];r[r.length]=Ut("sst",null,{xmlns:$t[0],count:e.Count,uniqueCount:e.Unique});for(var n=0;n!=e.length;++n)if(null!=e[n]){var a=e[n],o="<si>";a.r?o+=a.r:(o+="<t",a.t||(a.t=""),a.t.match(zo)&&(o+=' xml:space="preserve"'),o+=">"+wt(a.t)+"</t>"),o+="</si>",r[r.length]=o}return r.length>2&&(r[r.length]="</sst>",r[1]=r[1].replace("/>",">")),r.join("")}var Vo=function(e,t){var r=!1;return null==t&&(r=!0,t=Cr(15+4*e.t.length)),t._W(1,0),Qr(e.t,t),r?t.slice(0,t.l):t};function qo(e){var t=Or();Lr(t,159,function(e,t){return t||(t=Cr(8)),t._W(4,e.Count),t._W(4,e.Unique),t}(e));for(var r=0;r<e.length;++r)Lr(t,19,Vo(e[r]));return Lr(t,160),t.end()}function $o(e){if(void 0!==t)return t.utils.encode(n,e);for(var r=[],a=e.split(""),o=0;o<a.length;++o)r[o]=a[o].charCodeAt(0);return r}function Go(e,t){var r={};return r.Major=e._R(2),r.Minor=e._R(2),t>=4&&(e.l+=t-4),r}function Xo(e){for(var t=e._R(4),r=e.l+t-4,n={},a=e._R(4),o=[];a-- >0;)o.push({t:e._R(4),v:e._R(0,"lpp4")});if(n.name=e._R(0,"lpp4"),n.comps=o,e.l!=r)throw new Error("Bad DataSpaceMapEntry: "+e.l+" != "+r);return n}function Yo(e){var t=function(e){var t={};return e._R(4),e.l+=4,t.id=e._R(0,"lpp4"),t.name=e._R(0,"lpp4"),t.R=Go(e,4),t.U=Go(e,4),t.W=Go(e,4),t}(e);if(t.ename=e._R(0,"8lpp4"),t.blksz=e._R(4),t.cmode=e._R(4),4!=e._R(4))throw new Error("Bad !Primary record");return t}function Ko(e,t){var r=e.l+t,n={};n.Flags=63&e._R(4),e.l+=4,n.AlgID=e._R(4);var a=!1;switch(n.AlgID){case 26126:case 26127:case 26128:a=36==n.Flags;break;case 26625:a=4==n.Flags;break;case 0:a=16==n.Flags||4==n.Flags||36==n.Flags;break;default:throw"Unrecognized encryption algorithm: "+n.AlgID}if(!a)throw new Error("Encryption Flags/AlgID mismatch");return n.AlgIDHash=e._R(4),n.KeySize=e._R(4),n.ProviderType=e._R(4),e.l+=8,n.CSPName=e._R(r-e.l>>1,"utf16le"),e.l=r,n}function Jo(e,t){var r={},n=e.l+t;return e.l+=4,r.Salt=e.slice(e.l,e.l+16),e.l+=16,r.Verifier=e.slice(e.l,e.l+16),e.l+=16,e._R(4),r.VerifierHash=e.slice(e.l,n),e.l=n,r}function Zo(e){if(36!=(63&e._R(4)))throw new Error("EncryptionInfo mismatch");var t=e._R(4);return{t:"Std",h:Ko(e,t),v:Jo(e,e.length-e.l)}}function Qo(){throw new Error("File is password-protected: ECMA-376 Extensible")}function ei(e){var t=["saltSize","blockSize","keyBits","hashSize","cipherAlgorithm","cipherChaining","hashAlgorithm","saltValue"];e.l+=4;var r=e._R(e.length-e.l,"utf8"),n={};return r.replace(ut,function(e){var r=dt(e);switch(pt(r[0])){case"<?xml":break;case"<encryption":case"</encryption>":break;case"<keyData":t.forEach(function(e){n[e]=r[e]});break;case"<dataIntegrity":n.encryptedHmacKey=r.encryptedHmacKey,n.encryptedHmacValue=r.encryptedHmacValue;break;case"<keyEncryptors>":case"<keyEncryptors":n.encs=[];break;case"</keyEncryptors>":break;case"<keyEncryptor":n.uri=r.uri;break;case"</keyEncryptor>":break;case"<encryptedKey":n.encs.push(r);break;default:throw r[0]}}),n}function ti(e){var t,r,n=0,a=$o(e),o=a.length+1;for((t=S(o))[0]=a.length,r=1;r!=o;++r)t[r]=a[r-1];for(r=o-1;r>=0;--r)n=((0==(16384&n)?0:1)|n<<1&32767)^t[r];return 52811^n}var ri=function(){var e=[187,255,255,186,255,255,185,128,0,190,15,0,191,15,0],t=[57840,7439,52380,33984,4364,3600,61902,12606,6258,57657,54287,34041,10252,43370,20163],r=[44796,19929,39858,10053,20106,40212,10761,31585,63170,64933,60267,50935,40399,11199,17763,35526,1453,2906,5812,11624,23248,885,1770,3540,7080,14160,28320,56640,55369,41139,20807,41614,21821,43642,17621,28485,56970,44341,19019,38038,14605,29210,60195,50791,40175,10751,21502,43004,24537,18387,36774,3949,7898,15796,31592,63184,47201,24803,49606,37805,14203,28406,56812,17824,35648,1697,3394,6788,13576,27152,43601,17539,35078,557,1114,2228,4456,30388,60776,51953,34243,7079,14158,28316,14128,28256,56512,43425,17251,34502,7597,13105,26210,52420,35241,883,1766,3532,4129,8258,16516,33032,4657,9314,18628],n=function(e,t){return function(e){return 255&(e/2|128*e)}(e^t)},a=function(e){for(var n=t[e.length-1],a=104,o=e.length-1;o>=0;--o)for(var i=e[o],s=0;7!=s;++s)64&i&&(n^=r[a]),i*=2,--a;return n};return function(t){for(var r,o,i,s=$o(t),c=a(s),l=s.length,u=S(16),f=0;16!=f;++f)u[f]=0;for(1==(1&l)&&(r=c>>8,u[l]=n(e[0],r),--l,r=255&c,o=s[s.length-1],u[l]=n(o,r));l>0;)r=c>>8,u[--l]=n(s[l],r),r=255&c,u[--l]=n(s[l],r);for(l=15,i=15-s.length;i>0;)r=c>>8,u[l]=n(e[i],r),--i,r=255&c,u[--l]=n(s[l],r),--l,--i;return u}}(),ni=function(e){var t=0,r=ri(e);return function(e){var n=function(e,t,r,n,a){var o,i;for(a||(a=t),n||(n=ri(e)),o=0;o!=t.length;++o)i=t[o],i=255&((i^=n[r])>>5|i<<3),a[o]=i,++r;return[a,r,n]}("",e,t,r);return t=n[1],n[0]}};function ai(e,t,r){var n=r||{};return n.Info=e._R(2),e.l-=2,1===n.Info?n.Data=function(e){var t={},r=t.EncryptionVersionInfo=Go(e,4);if(1!=r.Major||1!=r.Minor)throw"unrecognized version code "+r.Major+" : "+r.Minor;return t.Salt=e._R(16),t.EncryptedVerifier=e._R(16),t.EncryptedVerifierHash=e._R(16),t}(e):n.Data=function(e,t){var r={},n=r.EncryptionVersionInfo=Go(e,4);if(t-=4,2!=n.Minor)throw new Error("unrecognized minor version code: "+n.Minor);if(n.Major>4||n.Major<2)throw new Error("unrecognized major version code: "+n.Major);r.Flags=e._R(4),t-=4;var a=e._R(4);return t-=4,r.EncryptionHeader=Ko(e,a),t-=a,r.EncryptionVerifier=Jo(e,t),r}(e,t),n}var oi=function(){function e(e,r){switch(r.type){case"base64":return t(b(e),r);case"binary":return t(e,r);case"buffer":return t(y&&Buffer.isBuffer(e)?e.toString("binary"):T(e),r);case"array":return t(He(e),r)}throw new Error("Unrecognized type "+r.type)}function t(e,t){var r=(t||{}).dense?[]:{},n=e.match(/\\trowd.*?\\row\b/g);if(!n.length)throw new Error("RTF missing table");var a={s:{c:0,r:0},e:{c:0,r:n.length-1}};return n.forEach(function(e,t){Array.isArray(r)&&(r[t]=[]);for(var n,o=/\\\w+\b/g,i=0,s=-1;n=o.exec(e);){switch(n[0]){case"\\cell":var c=e.slice(i,o.lastIndex-n[0].length);if(" "==c[0]&&(c=c.slice(1)),++s,c.length){var l={v:c,t:"s"};Array.isArray(r)?r[t][s]=l:r[zr({r:t,c:s})]=l}}i=o.lastIndex}s>a.e.c&&(a.e.c=s)}),r["!ref"]=Vr(a),r}return{to_workbook:function(t,r){return Xr(e(t,r),r)},to_sheet:e,from_sheet:function(e){for(var t,r=["{\\rtf1\\ansi"],n=qr(e["!ref"]),a=Array.isArray(e),o=n.s.r;o<=n.e.r;++o){r.push("\\trowd\\trautofit1");for(var i=n.s.c;i<=n.e.c;++i)r.push("\\cellx"+(i+1));for(r.push("\\pard\\intbl"),i=n.s.c;i<=n.e.c;++i){var s=zr({r:o,c:i});(t=a?(e[o]||[])[i]:e[s])&&(null!=t.v||t.f&&!t.F)&&(r.push(" "+(t.w||(Gr(t),t.w))),r.push("\\cell"))}r.push("\\pard\\intbl\\row")}return r.join("")+"}"}}}();function ii(e){for(var t=0,r=1;3!=t;++t)r=256*r+(e[t]>255?255:e[t]<0?0:e[t]);return r.toString(16).toUpperCase().slice(1)}function si(e,t){if(0===t)return e;var r=function(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255,a=Math.max(t,r,n),o=Math.min(t,r,n),i=a-o;if(0===i)return[0,0,t];var s,c=0,l=a+o;switch(s=i/(l>1?2-l:l),a){case t:c=((r-n)/i+6)%6;break;case r:c=(n-t)/i+2;break;case n:c=(t-r)/i+4}return[c/6,s,l/2]}(function(e){var t=e.slice("#"===e[0]?1:0).slice(0,6);return[parseInt(t.slice(0,2),16),parseInt(t.slice(2,4),16),parseInt(t.slice(4,6),16)]}(e));return r[2]=t<0?r[2]*(1+t):1-(1-r[2])*(1-t),ii(function(e){var t,r=e[0],n=e[1],a=e[2],o=2*n*(a<.5?a:1-a),i=a-o/2,s=[i,i,i],c=6*r;if(0!==n)switch(0|c){case 0:case 6:t=o*c,s[0]+=o,s[1]+=t;break;case 1:t=o*(2-c),s[0]+=t,s[1]+=o;break;case 2:t=o*(c-2),s[1]+=o,s[2]+=t;break;case 3:t=o*(4-c),s[1]+=t,s[2]+=o;break;case 4:t=o*(c-4),s[2]+=o,s[0]+=t;break;case 5:t=o*(6-c),s[2]+=t,s[0]+=o}for(var l=0;3!=l;++l)s[l]=Math.round(255*s[l]);return s}(r))}var ci=6,li=15,ui=1,fi=ci;function hi(e){return Math.floor((e+Math.round(128/fi)/256)*fi)}function di(e){return Math.floor((e-5)/fi*100+.5)/100}function pi(e){return Math.round((e*fi+5)/fi*256)/256}function gi(e){return pi(di(hi(e)))}function mi(e){var t=Math.abs(e-gi(e)),r=fi;if(t>.005)for(fi=ui;fi<li;++fi)Math.abs(e-gi(e))<=t&&(t=Math.abs(e-gi(e)),r=fi);fi=r}function vi(e){e.width?(e.wpx=hi(e.width),e.wch=di(e.wpx),e.MDW=fi):e.wpx?(e.wch=di(e.wpx),e.width=pi(e.wch),e.MDW=fi):"number"==typeof e.wch&&(e.width=pi(e.wch),e.wpx=hi(e.width),e.MDW=fi),e.customWidth&&delete e.customWidth}var bi=96;function yi(e){return 96*e/bi}function wi(e){return e*bi/96}var Si={None:"none",Solid:"solid",Gray50:"mediumGray",Gray75:"darkGray",Gray25:"lightGray",HorzStripe:"darkHorizontal",VertStripe:"darkVertical",ReverseDiagStripe:"darkDown",DiagStripe:"darkUp",DiagCross:"darkGrid",ThickDiagCross:"darkTrellis",ThinHorzStripe:"lightHorizontal",ThinVertStripe:"lightVertical",ThinReverseDiagStripe:"lightDown",ThinHorzCross:"lightGrid"};function xi(e,t,r,n){t.Fonts=[];var a={},i=!1;(e[0].match(ut)||[]).forEach(function(e){var s=dt(e);switch(pt(s[0])){case"<fonts":case"<fonts>":case"</fonts>":break;case"<font":case"<font>":break;case"</font>":case"<font/>":t.Fonts.push(a),a={};break;case"<name":s.val&&(a.name=Rt(s.val));break;case"<name/>":case"</name>":break;case"<b":a.bold=s.val?Tt(s.val):1;break;case"<b/>":a.bold=1;break;case"<i":a.italic=s.val?Tt(s.val):1;break;case"<i/>":a.italic=1;break;case"<u":switch(s.val){case"none":a.underline=0;break;case"single":a.underline=1;break;case"double":a.underline=2;break;case"singleAccounting":a.underline=33;break;case"doubleAccounting":a.underline=34}break;case"<u/>":a.underline=1;break;case"<strike":a.strike=s.val?Tt(s.val):1;break;case"<strike/>":a.strike=1;break;case"<outline":a.outline=s.val?Tt(s.val):1;break;case"<outline/>":a.outline=1;break;case"<shadow":a.shadow=s.val?Tt(s.val):1;break;case"<shadow/>":a.shadow=1;break;case"<condense":a.condense=s.val?Tt(s.val):1;break;case"<condense/>":a.condense=1;break;case"<extend":a.extend=s.val?Tt(s.val):1;break;case"<extend/>":a.extend=1;break;case"<sz":s.val&&(a.sz=+s.val);break;case"<sz/>":case"</sz>":break;case"<vertAlign":s.val&&(a.vertAlign=s.val);break;case"<vertAlign/>":case"</vertAlign>":break;case"<family":s.val&&(a.family=parseInt(s.val,10));break;case"<family/>":case"</family>":break;case"<scheme":s.val&&(a.scheme=s.val);break;case"<scheme/>":case"</scheme>":break;case"<charset":if("1"==s.val)break;s.codepage=o[parseInt(s.val,10)];break;case"<color":if(a.color||(a.color={}),s.auto&&(a.color.auto=Tt(s.auto)),s.rgb)a.color.rgb=s.rgb.slice(-6);else if(s.indexed){a.color.index=parseInt(s.indexed,10);var c=In[a.color.index];81==a.color.index&&(c=In[1]),c||(c=In[1]),a.color.rgb=c[0].toString(16)+c[1].toString(16)+c[2].toString(16)}else s.theme&&(a.color.theme=parseInt(s.theme,10),s.tint&&(a.color.tint=parseFloat(s.tint)),s.theme&&r.themeElements&&r.themeElements.clrScheme&&(a.color.rgb=si(r.themeElements.clrScheme[a.color.theme].rgb,a.color.tint||0)));break;case"<color/>":case"</color>":break;case"<AlternateContent":i=!0;break;case"</AlternateContent>":i=!1;break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":i=!0;break;case"</ext>":i=!1;break;default:if(n&&n.WTF&&!i)throw new Error("unrecognized "+s[0]+" in fonts")}})}var ki=["numFmtId","fillId","fontId","borderId","xfId"],Ai=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"];var Ti=function(){var e=/<(?:\w+:)?numFmts([^>]*)>[\S\s]*?<\/(?:\w+:)?numFmts>/,t=/<(?:\w+:)?cellXfs([^>]*)>[\S\s]*?<\/(?:\w+:)?cellXfs>/,r=/<(?:\w+:)?fills([^>]*)>[\S\s]*?<\/(?:\w+:)?fills>/,n=/<(?:\w+:)?fonts([^>]*)>[\S\s]*?<\/(?:\w+:)?fonts>/,a=/<(?:\w+:)?borders([^>]*)>[\S\s]*?<\/(?:\w+:)?borders>/;return function(o,i,s){var c,l={};return o?((c=(o=o.replace(/<!--([\s\S]*?)-->/gm,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"")).match(e))&&function(e,t,r){t.NumberFmt=[];for(var n=Ne(B),a=0;a<n.length;++a)t.NumberFmt[n[a]]=B[n[a]];var o=e[0].match(ut);if(o)for(a=0;a<o.length;++a){var i=dt(o[a]);switch(pt(i[0])){case"<numFmts":case"</numFmts>":case"<numFmts/>":case"<numFmts>":break;case"<numFmt":var s=vt(Rt(i.formatCode)),c=parseInt(i.numFmtId,10);if(t.NumberFmt[c]=s,c>0){if(c>392){for(c=392;c>60&&null!=t.NumberFmt[c];--c);t.NumberFmt[c]=s}ve(s,c)}break;case"</numFmt>":break;default:if(r.WTF)throw new Error("unrecognized "+i[0]+" in numFmts")}}}(c,l,s),(c=o.match(n))&&xi(c,l,i,s),(c=o.match(r))&&function(e,t,r,n){t.Fills=[];var a={},o=!1;(e[0].match(ut)||[]).forEach(function(e){var r=dt(e);switch(pt(r[0])){case"<fills":case"<fills>":case"</fills>":break;case"<fill>":case"<fill":case"<fill/>":a={},t.Fills.push(a);break;case"</fill>":case"<gradientFill>":break;case"<gradientFill":case"</gradientFill>":t.Fills.push(a),a={};break;case"<patternFill":case"<patternFill>":r.patternType&&(a.patternType=r.patternType);break;case"<patternFill/>":case"</patternFill>":break;case"<bgColor":a.bgColor||(a.bgColor={}),r.indexed&&(a.bgColor.indexed=parseInt(r.indexed,10)),r.theme&&(a.bgColor.theme=parseInt(r.theme,10)),r.tint&&(a.bgColor.tint=parseFloat(r.tint)),r.rgb&&(a.bgColor.rgb=r.rgb.slice(-6));break;case"<bgColor/>":case"</bgColor>":break;case"<fgColor":a.fgColor||(a.fgColor={}),r.theme&&(a.fgColor.theme=parseInt(r.theme,10)),r.tint&&(a.fgColor.tint=parseFloat(r.tint)),null!=r.rgb&&(a.fgColor.rgb=r.rgb.slice(-6));break;case"<fgColor/>":case"</fgColor>":break;case"<stop":case"<stop/>":case"</stop>":break;case"<color":case"<color/>":case"</color>":break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":o=!0;break;case"</ext>":o=!1;break;default:if(n&&n.WTF&&!o)throw new Error("unrecognized "+r[0]+" in fills")}})}(c,l,0,s),(c=o.match(a))&&function(e,t,r,n){t.Borders=[];var a={},o=!1;(e[0].match(ut)||[]).forEach(function(e){var r=dt(e);switch(pt(r[0])){case"<borders":case"<borders>":case"</borders>":break;case"<border":case"<border>":case"<border/>":a={},r.diagonalUp&&(a.diagonalUp=Tt(r.diagonalUp)),r.diagonalDown&&(a.diagonalDown=Tt(r.diagonalDown)),t.Borders.push(a);break;case"</border>":case"<left/>":break;case"<left":case"<left>":case"</left>":case"<right/>":break;case"<right":case"<right>":case"</right>":case"<top/>":break;case"<top":case"<top>":case"</top>":case"<bottom/>":break;case"<bottom":case"<bottom>":case"</bottom>":break;case"<diagonal":case"<diagonal>":case"<diagonal/>":case"</diagonal>":break;case"<horizontal":case"<horizontal>":case"<horizontal/>":case"</horizontal>":break;case"<vertical":case"<vertical>":case"<vertical/>":case"</vertical>":break;case"<start":case"<start>":case"<start/>":case"</start>":break;case"<end":case"<end>":case"<end/>":case"</end>":break;case"<color":case"<color>":break;case"<color/>":case"</color>":break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":o=!0;break;case"</ext>":o=!1;break;default:if(n&&n.WTF&&!o)throw new Error("unrecognized "+r[0]+" in borders")}})}(c,l,0,s),(c=o.match(t))&&function(e,t,r){var n;t.CellXf=[];var a=!1;(e[0].match(ut)||[]).forEach(function(e){var o=dt(e),i=0;switch(pt(o[0])){case"<cellXfs":case"<cellXfs>":case"<cellXfs/>":case"</cellXfs>":break;case"<xf":case"<xf/>":for(delete(n=o)[0],i=0;i<ki.length;++i)n[ki[i]]&&(n[ki[i]]=parseInt(n[ki[i]],10));for(i=0;i<Ai.length;++i)n[Ai[i]]&&(n[Ai[i]]=Tt(n[Ai[i]]));if(t.NumberFmt&&n.numFmtId>392)for(i=392;i>60;--i)if(t.NumberFmt[n.numFmtId]==t.NumberFmt[i]){n.numFmtId=i;break}t.CellXf.push(n);break;case"</xf>":break;case"<alignment":case"<alignment/>":var s={};o.vertical&&(s.vertical=o.vertical),o.horizontal&&(s.horizontal=o.horizontal),null!=o.textRotation&&(s.textRotation=o.textRotation),o.indent&&(s.indent=o.indent),o.wrapText&&(s.wrapText=Tt(o.wrapText)),n.alignment=s;break;case"</alignment>":case"<protection":break;case"</protection>":case"<protection/>":break;case"<AlternateContent":a=!0;break;case"</AlternateContent>":a=!1;break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":a=!0;break;case"</ext>":a=!1;break;default:if(r&&r.WTF&&!a)throw new Error("unrecognized "+o[0]+" in cellXfs")}})}(c,l,s),l):l}}();function Ei(e,t){var r,n=[st,Ut("styleSheet",null,{xmlns:$t[0],"xmlns:vt":qt.vt})];return e.SSF&&null!=(r=function(e){var t=["<numFmts>"];return[[5,8],[23,26],[41,44],[50,392]].forEach(function(r){for(var n=r[0];n<=r[1];++n)null!=e[n]&&(t[t.length]=Ut("numFmt",null,{numFmtId:n,formatCode:wt(e[n])}))}),1===t.length?"":(t[t.length]="</numFmts>",t[0]=Ut("numFmts",null,{count:t.length-2}).replace("/>",">"),t.join(""))}(e.SSF))&&(n[n.length]=r),n[n.length]='<fonts count="1"><font><sz val="12"/><color theme="1"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font></fonts>',n[n.length]='<fills count="2"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill></fills>',n[n.length]='<borders count="1"><border><left/><right/><top/><bottom/><diagonal/></border></borders>',n[n.length]='<cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs>',(r=function(e){var t=[];return t[t.length]=Ut("cellXfs",null),e.forEach(function(e){t[t.length]=Ut("xf",null,e)}),t[t.length]="</cellXfs>",2===t.length?"":(t[0]=Ut("cellXfs",null,{count:t.length-2}).replace("/>",">"),t.join(""))}(t.cellXfs))&&(n[n.length]=r),n[n.length]='<cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0"/></cellStyles>',n[n.length]='<dxfs count="0"/>',n[n.length]='<tableStyles count="0" defaultTableStyle="TableStyleMedium9" defaultPivotStyle="PivotStyleMedium4"/>',n.length>2&&(n[n.length]="</styleSheet>",n[1]=n[1].replace("/>",">")),n.join("")}function _i(e,t,r){r||(r=Cr(6+4*t.length)),r._W(2,e),Qr(t,r);var n=r.length>r.l?r.slice(0,r.l):r;return null==r.l&&(r.l=r.length),n}function Ni(e,t){t||(t=Cr(153)),t._W(2,20*e.sz),function(e,t){t||(t=Cr(2));var r=(e.italic?2:0)|(e.strike?8:0)|(e.outline?16:0)|(e.shadow?32:0)|(e.condense?64:0)|(e.extend?128:0);t._W(1,r),t._W(1,0)}(e,t),t._W(2,e.bold?700:400);var r=0;"superscript"==e.vertAlign?r=1:"subscript"==e.vertAlign&&(r=2),t._W(2,r),t._W(1,e.underline||0),t._W(1,e.family||0),t._W(1,e.charset||0),t._W(1,0),kn(e.color,t);var n=0;return"major"==e.scheme&&(n=1),"minor"==e.scheme&&(n=2),t._W(1,n),Qr(e.name,t),t.length>t.l?t.slice(0,t.l):t}var Ci,Ri=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"],Oi=Nr;function Li(e,t){t||(t=Cr(84)),Ci||(Ci=Re(Ri));var r=Ci[e.patternType];null==r&&(r=40),t._W(4,r);var n=0;if(40!=r)for(kn({auto:1},t),kn({auto:1},t);n<12;++n)t._W(4,0);else{for(;n<4;++n)t._W(4,0);for(;n<12;++n)t._W(4,0)}return t.length>t.l?t.slice(0,t.l):t}function Pi(e,t,r){r||(r=Cr(16)),r._W(2,t||0),r._W(2,e.numFmtId||0),r._W(2,0),r._W(2,0),r._W(2,0),r._W(1,0),r._W(1,0);return r._W(1,0),r._W(1,0),r._W(1,0),r._W(1,0),r}function Ii(e,t){return t||(t=Cr(10)),t._W(1,0),t._W(1,0),t._W(4,0),t._W(4,0),t}var Fi=Nr;function Di(e){Lr(e,613,Jr(1)),Lr(e,46,function(e,t){return t||(t=Cr(51)),t._W(1,0),Ii(0,t),Ii(0,t),Ii(0,t),Ii(0,t),Ii(0,t),t.length>t.l?t.slice(0,t.l):t}()),Lr(e,614)}function Mi(e){Lr(e,619,Jr(1)),Lr(e,48,function(e,t){return t||(t=Cr(52)),t._W(4,e.xfId),t._W(2,1),t._W(1,+e.builtinId),t._W(1,0),hn(e.name||"",t),t.length>t.l?t.slice(0,t.l):t}({xfId:0,builtinId:0,name:"Normal"})),Lr(e,620)}function ji(e){Lr(e,508,function(e,t,r){var n=Cr(2052);return n._W(4,e),hn(t,n),hn(r,n),n.length>n.l?n.slice(0,n.l):n}(0,"TableStyleMedium9","PivotStyleMedium4")),Lr(e,509)}function Bi(e,t){var r=Or();return Lr(r,278),function(e,t){if(t){var r=0;[[5,8],[23,26],[41,44],[50,392]].forEach(function(e){for(var n=e[0];n<=e[1];++n)null!=t[n]&&++r}),0!=r&&(Lr(e,615,Jr(r)),[[5,8],[23,26],[41,44],[50,392]].forEach(function(r){for(var n=r[0];n<=r[1];++n)null!=t[n]&&Lr(e,44,_i(n,t[n]))}),Lr(e,616))}}(r,e.SSF),function(e){Lr(e,611,Jr(1)),Lr(e,43,Ni({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"})),Lr(e,612)}(r),function(e){Lr(e,603,Jr(2)),Lr(e,45,Li({patternType:"none"})),Lr(e,45,Li({patternType:"gray125"})),Lr(e,604)}(r),Di(r),function(e){Lr(e,626,Jr(1)),Lr(e,47,Pi({numFmtId:0,fontId:0,fillId:0,borderId:0},65535)),Lr(e,627)}(r),function(e,t){Lr(e,617,Jr(t.length)),t.forEach(function(t){Lr(e,47,Pi(t,0))}),Lr(e,618)}(r,t.cellXfs),Mi(r),function(e){Lr(e,505,Jr(0)),Lr(e,506)}(r),ji(r),Lr(r,279),r.end()}var Wi=["</a:lt1>","</a:dk1>","</a:lt2>","</a:dk2>","</a:accent1>","</a:accent2>","</a:accent3>","</a:accent4>","</a:accent5>","</a:accent6>","</a:hlink>","</a:folHlink>"];function Ui(e,t,r){t.themeElements.clrScheme=[];var n={};(e[0].match(ut)||[]).forEach(function(e){var a=dt(e);switch(a[0]){case"<a:clrScheme":case"</a:clrScheme>":break;case"<a:srgbClr":n.rgb=a.val;break;case"<a:sysClr":n.rgb=a.lastClr;break;case"<a:dk1>":case"</a:dk1>":case"<a:lt1>":case"</a:lt1>":case"<a:dk2>":case"</a:dk2>":case"<a:lt2>":case"</a:lt2>":case"<a:accent1>":case"</a:accent1>":case"<a:accent2>":case"</a:accent2>":case"<a:accent3>":case"</a:accent3>":case"<a:accent4>":case"</a:accent4>":case"<a:accent5>":case"</a:accent5>":case"<a:accent6>":case"</a:accent6>":case"<a:hlink>":case"</a:hlink>":case"<a:folHlink>":case"</a:folHlink>":"/"===a[0].charAt(1)?(t.themeElements.clrScheme[Wi.indexOf(a[0])]=n,n={}):n.name=a[0].slice(3,a[0].length-1);break;default:if(r&&r.WTF)throw new Error("Unrecognized "+a[0]+" in clrScheme")}})}function zi(){}function Hi(){}var Vi=/<a:clrScheme([^>]*)>[\s\S]*<\/a:clrScheme>/,qi=/<a:fontScheme([^>]*)>[\s\S]*<\/a:fontScheme>/,$i=/<a:fmtScheme([^>]*)>[\s\S]*<\/a:fmtScheme>/;var Gi=/<a:themeElements([^>]*)>[\s\S]*<\/a:themeElements>/;function Xi(e,t){var r;e&&0!==e.length||(e=Yi());var n={};if(!(r=e.match(Gi)))throw new Error("themeElements not found in theme");return function(e,t,r){var n;t.themeElements={},[["clrScheme",Vi,Ui],["fontScheme",qi,zi],["fmtScheme",$i,Hi]].forEach(function(a){if(!(n=e.match(a[1])))throw new Error(a[0]+" not found in themeElements");a[2](n,t,r)})}(r[0],n,t),n.raw=e,n}function Yi(e,t){if(t&&t.themeXLSX)return t.themeXLSX;if(e&&"string"==typeof e.raw)return e.raw;var r=[st];return r[r.length]='<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme">',r[r.length]="<a:themeElements>",r[r.length]='<a:clrScheme name="Office">',r[r.length]='<a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1>',r[r.length]='<a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1>',r[r.length]='<a:dk2><a:srgbClr val="1F497D"/></a:dk2>',r[r.length]='<a:lt2><a:srgbClr val="EEECE1"/></a:lt2>',r[r.length]='<a:accent1><a:srgbClr val="4F81BD"/></a:accent1>',r[r.length]='<a:accent2><a:srgbClr val="C0504D"/></a:accent2>',r[r.length]='<a:accent3><a:srgbClr val="9BBB59"/></a:accent3>',r[r.length]='<a:accent4><a:srgbClr val="8064A2"/></a:accent4>',r[r.length]='<a:accent5><a:srgbClr val="4BACC6"/></a:accent5>',r[r.length]='<a:accent6><a:srgbClr val="F79646"/></a:accent6>',r[r.length]='<a:hlink><a:srgbClr val="0000FF"/></a:hlink>',r[r.length]='<a:folHlink><a:srgbClr val="800080"/></a:folHlink>',r[r.length]="</a:clrScheme>",r[r.length]='<a:fontScheme name="Office">',r[r.length]="<a:majorFont>",r[r.length]='<a:latin typeface="Cambria"/>',r[r.length]='<a:ea typeface=""/>',r[r.length]='<a:cs typeface=""/>',r[r.length]='<a:font script="Jpan" typeface="MS Pゴシック"/>',r[r.length]='<a:font script="Hang" typeface="맑은 고딕"/>',r[r.length]='<a:font script="Hans" typeface="宋体"/>',r[r.length]='<a:font script="Hant" typeface="新細明體"/>',r[r.length]='<a:font script="Arab" typeface="Times New Roman"/>',r[r.length]='<a:font script="Hebr" typeface="Times New Roman"/>',r[r.length]='<a:font script="Thai" typeface="Tahoma"/>',r[r.length]='<a:font script="Ethi" typeface="Nyala"/>',r[r.length]='<a:font script="Beng" typeface="Vrinda"/>',r[r.length]='<a:font script="Gujr" typeface="Shruti"/>',r[r.length]='<a:font script="Khmr" typeface="MoolBoran"/>',r[r.length]='<a:font script="Knda" typeface="Tunga"/>',r[r.length]='<a:font script="Guru" typeface="Raavi"/>',r[r.length]='<a:font script="Cans" typeface="Euphemia"/>',r[r.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',r[r.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',r[r.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',r[r.length]='<a:font script="Thaa" typeface="MV Boli"/>',r[r.length]='<a:font script="Deva" typeface="Mangal"/>',r[r.length]='<a:font script="Telu" typeface="Gautami"/>',r[r.length]='<a:font script="Taml" typeface="Latha"/>',r[r.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',r[r.length]='<a:font script="Orya" typeface="Kalinga"/>',r[r.length]='<a:font script="Mlym" typeface="Kartika"/>',r[r.length]='<a:font script="Laoo" typeface="DokChampa"/>',r[r.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',r[r.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',r[r.length]='<a:font script="Viet" typeface="Times New Roman"/>',r[r.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',r[r.length]='<a:font script="Geor" typeface="Sylfaen"/>',r[r.length]="</a:majorFont>",r[r.length]="<a:minorFont>",r[r.length]='<a:latin typeface="Calibri"/>',r[r.length]='<a:ea typeface=""/>',r[r.length]='<a:cs typeface=""/>',r[r.length]='<a:font script="Jpan" typeface="MS Pゴシック"/>',r[r.length]='<a:font script="Hang" typeface="맑은 고딕"/>',r[r.length]='<a:font script="Hans" typeface="宋体"/>',r[r.length]='<a:font script="Hant" typeface="新細明體"/>',r[r.length]='<a:font script="Arab" typeface="Arial"/>',r[r.length]='<a:font script="Hebr" typeface="Arial"/>',r[r.length]='<a:font script="Thai" typeface="Tahoma"/>',r[r.length]='<a:font script="Ethi" typeface="Nyala"/>',r[r.length]='<a:font script="Beng" typeface="Vrinda"/>',r[r.length]='<a:font script="Gujr" typeface="Shruti"/>',r[r.length]='<a:font script="Khmr" typeface="DaunPenh"/>',r[r.length]='<a:font script="Knda" typeface="Tunga"/>',r[r.length]='<a:font script="Guru" typeface="Raavi"/>',r[r.length]='<a:font script="Cans" typeface="Euphemia"/>',r[r.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',r[r.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',r[r.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',r[r.length]='<a:font script="Thaa" typeface="MV Boli"/>',r[r.length]='<a:font script="Deva" typeface="Mangal"/>',r[r.length]='<a:font script="Telu" typeface="Gautami"/>',r[r.length]='<a:font script="Taml" typeface="Latha"/>',r[r.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',r[r.length]='<a:font script="Orya" typeface="Kalinga"/>',r[r.length]='<a:font script="Mlym" typeface="Kartika"/>',r[r.length]='<a:font script="Laoo" typeface="DokChampa"/>',r[r.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',r[r.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',r[r.length]='<a:font script="Viet" typeface="Arial"/>',r[r.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',r[r.length]='<a:font script="Geor" typeface="Sylfaen"/>',r[r.length]="</a:minorFont>",r[r.length]="</a:fontScheme>",r[r.length]='<a:fmtScheme name="Office">',r[r.length]="<a:fillStyleLst>",r[r.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="50000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="35000"><a:schemeClr val="phClr"><a:tint val="37000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="15000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:lin ang="16200000" scaled="1"/>',r[r.length]="</a:gradFill>",r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="100000"/><a:shade val="100000"/><a:satMod val="130000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="50000"/><a:shade val="100000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:lin ang="16200000" scaled="0"/>',r[r.length]="</a:gradFill>",r[r.length]="</a:fillStyleLst>",r[r.length]="<a:lnStyleLst>",r[r.length]='<a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"><a:shade val="95000"/><a:satMod val="105000"/></a:schemeClr></a:solidFill><a:prstDash val="solid"/></a:ln>',r[r.length]='<a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',r[r.length]='<a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',r[r.length]="</a:lnStyleLst>",r[r.length]="<a:effectStyleLst>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="38000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]="</a:effectStyle>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]="</a:effectStyle>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]='<a:scene3d><a:camera prst="orthographicFront"><a:rot lat="0" lon="0" rev="0"/></a:camera><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="1200000"/></a:lightRig></a:scene3d>',r[r.length]='<a:sp3d><a:bevelT w="63500" h="25400"/></a:sp3d>',r[r.length]="</a:effectStyle>",r[r.length]="</a:effectStyleLst>",r[r.length]="<a:bgFillStyleLst>",r[r.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="40000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="40000"><a:schemeClr val="phClr"><a:tint val="45000"/><a:shade val="99000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="20000"/><a:satMod val="255000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:path path="circle"><a:fillToRect l="50000" t="-80000" r="50000" b="180000"/></a:path>',r[r.length]="</a:gradFill>",r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="80000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="30000"/><a:satMod val="200000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:path path="circle"><a:fillToRect l="50000" t="50000" r="50000" b="50000"/></a:path>',r[r.length]="</a:gradFill>",r[r.length]="</a:bgFillStyleLst>",r[r.length]="</a:fmtScheme>",r[r.length]="</a:themeElements>",r[r.length]="<a:objectDefaults>",r[r.length]="<a:spDef>",r[r.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="1"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="3"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="2"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="lt1"/></a:fontRef></a:style>',r[r.length]="</a:spDef>",r[r.length]="<a:lnDef>",r[r.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="2"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="0"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="1"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="tx1"/></a:fontRef></a:style>',r[r.length]="</a:lnDef>",r[r.length]="</a:objectDefaults>",r[r.length]="<a:extraClrSchemeLst/>",r[r.length]="</a:theme>",r.join("")}function Ki(e){var t={};switch(t.xclrType=e._R(2),t.nTintShade=e._R(2),t.xclrType){case 0:e.l+=4;break;case 1:t.xclrValue=function(e,t){return Nr(e,t)}(e,4);break;case 2:t.xclrValue=Ha(e);break;case 3:t.xclrValue=function(e){return e._R(4)}(e);break;case 4:e.l+=4}return e.l+=8,t}function Ji(e){var t=e._R(2),r=e._R(2)-4,n=[t];switch(t){case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 13:n[1]=Ki(e);break;case 6:n[1]=function(e,t){return Nr(e,t)}(e,r);break;case 14:case 15:n[1]=e._R(1===r?1:2);break;default:throw new Error("Unrecognized ExtProp type: "+t+" "+r)}return n}function Zi(e,t){t.forEach(function(e){e[0]})}function Qi(){var e=Or();return Lr(e,332),Lr(e,334,Jr(1)),Lr(e,335,function(e){var t=Cr(12+2*e.name.length);return t._W(4,e.flags),t._W(4,e.version),Qr(e.name,t),t.slice(0,t.l)}({name:"XLDAPR",version:12e4,flags:3496657072})),Lr(e,336),Lr(e,339,function(e,t){var r=Cr(8+2*t.length);return r._W(4,e),Qr(t,r),r.slice(0,r.l)}(1,"XLDAPR")),Lr(e,52),Lr(e,35,Jr(514)),Lr(e,4096,Jr(0)),Lr(e,4097,Ca(1)),Lr(e,36),Lr(e,53),Lr(e,340),Lr(e,337,function(e,t){var r=Cr(8);return r._W(4,e),r._W(4,t?1:0),r}(1,!0)),Lr(e,51,function(e){var t=Cr(4+8*e.length);t._W(4,e.length);for(var r=0;r<e.length;++r)t._W(4,e[r][0]),t._W(4,e[r][1]);return t}([[1,0]])),Lr(e,338),Lr(e,333),e.end()}function es(){var e=[st];return e.push('<metadata xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:xlrd="http://schemas.microsoft.com/office/spreadsheetml/2017/richdata" xmlns:xda="http://schemas.microsoft.com/office/spreadsheetml/2017/dynamicarray">\n <metadataTypes count="1">\n <metadataType name="XLDAPR" minSupportedVersion="120000" copy="1" pasteAll="1" pasteValues="1" merge="1" splitFirst="1" rowColShift="1" clearFormats="1" clearComments="1" assign="1" coerce="1" cellMeta="1"/>\n </metadataTypes>\n <futureMetadata name="XLDAPR" count="1">\n <bk>\n <extLst>\n <ext uri="{bdbb8cdc-fa1e-496e-a857-3c3f30c029c3}">\n <xda:dynamicArrayProperties fDynamic="1" fCollapsed="0"/>\n </ext>\n </extLst>\n </bk>\n </futureMetadata>\n <cellMetadata count="1">\n <bk>\n <rc t="1" v="0"/>\n </bk>\n </cellMetadata>\n</metadata>'),e.join("")}var ts=1024;function rs(e,t){for(var r=[21600,21600],n=["m0,0l0",r[1],r[0],r[1],r[0],"0xe"].join(","),a=[Ut("xml",null,{"xmlns:v":Gt.v,"xmlns:o":Gt.o,"xmlns:x":Gt.x,"xmlns:mv":Gt.mv}).replace(/\/>/,">"),Ut("o:shapelayout",Ut("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"}),Ut("v:shapetype",[Ut("v:stroke",null,{joinstyle:"miter"}),Ut("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:r.join(","),path:n})];ts<1e3*e;)ts+=1e3;return t.forEach(function(e){var t=Ur(e[0]),r={color2:"#BEFF82",type:"gradient"};"gradient"==r.type&&(r.angle="-180");var n="gradient"==r.type?Ut("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null,o=Ut("v:fill",n,r);++ts,a=a.concat(["<v:shape"+Wt({id:"_x0000_s"+ts,type:"#_x0000_t202",style:"position:absolute; margin-left:80pt;margin-top:5pt;width:104pt;height:64pt;z-index:10"+(e[1].hidden?";visibility:hidden":""),fillcolor:"#ECFAD4",strokecolor:"#edeaa1"})+">",o,Ut("v:shadow",null,{on:"t",obscured:"t"}),Ut("v:path",null,{"o:connecttype":"none"}),'<v:textbox><div style="text-align:left"></div></v:textbox>','<x:ClientData ObjectType="Note">',"<x:MoveWithCells/>","<x:SizeWithCells/>",Bt("x:Anchor",[t.c+1,0,t.r+1,0,t.c+3,20,t.r+5,20].join(",")),Bt("x:AutoFill","False"),Bt("x:Row",String(t.r)),Bt("x:Column",String(t.c)),e[1].hidden?"":"<x:Visible/>","</x:ClientData>","</v:shape>"])}),a.push("</xml>"),a.join("")}function ns(e,t,r,n){var a,o=Array.isArray(e);t.forEach(function(t){var i=Ur(t.ref);if(o?(e[i.r]||(e[i.r]=[]),a=e[i.r][i.c]):a=e[t.ref],!a){a={t:"z"},o?e[i.r][i.c]=a:e[t.ref]=a;var s=qr(e["!ref"]||"BDWGO1000001:A1");s.s.r>i.r&&(s.s.r=i.r),s.e.r<i.r&&(s.e.r=i.r),s.s.c>i.c&&(s.s.c=i.c),s.e.c<i.c&&(s.e.c=i.c);var c=Vr(s);c!==e["!ref"]&&(e["!ref"]=c)}a.c||(a.c=[]);var l={a:t.author,t:t.t,r:t.r,T:r};t.h&&(l.h=t.h);for(var u=a.c.length-1;u>=0;--u){if(!r&&a.c[u].T)return;r&&!a.c[u].T&&a.c.splice(u,1)}if(r&&n)for(u=0;u<n.length;++u)if(l.a==n[u].id){l.a=n[u].name||l.a;break}a.c.push(l)})}function as(e){var t=[st,Ut("comments",null,{xmlns:$t[0]})],r=[];return t.push("<authors>"),e.forEach(function(e){e[1].forEach(function(e){var n=wt(e.a);-1==r.indexOf(n)&&(r.push(n),t.push("<author>"+n+"</author>")),e.T&&e.ID&&-1==r.indexOf("tc="+e.ID)&&(r.push("tc="+e.ID),t.push("<author>tc="+e.ID+"</author>"))})}),0==r.length&&(r.push("SheetJ5"),t.push("<author>SheetJ5</author>")),t.push("</authors>"),t.push("<commentList>"),e.forEach(function(e){var n=0,a=[];if(e[1][0]&&e[1][0].T&&e[1][0].ID?n=r.indexOf("tc="+e[1][0].ID):e[1].forEach(function(e){e.a&&(n=r.indexOf(wt(e.a))),a.push(e.t||"")}),t.push('<comment ref="'+e[0]+'" authorId="'+n+'"><text>'),a.length<=1)t.push(Bt("t",wt(a[0]||"")));else{for(var o="Comment:\n "+a[0]+"\n",i=1;i<a.length;++i)o+="Reply:\n "+a[i]+"\n";t.push(Bt("t",wt(o)))}t.push("</text></comment>")}),t.push("</commentList>"),t.length>2&&(t[t.length]="</comments>",t[1]=t[1].replace("/>",">")),t.join("")}function os(e,t,r){var n=[st,Ut("ThreadedComments",null,{xmlns:qt.TCMNT}).replace(/[\/]>/,">")];return e.forEach(function(e){var a="";(e[1]||[]).forEach(function(o,i){if(o.T){o.a&&-1==t.indexOf(o.a)&&t.push(o.a);var s={ref:e[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+r.tcid++).slice(-12)+"}"};0==i?a=s.id:s.parentId=a,o.ID=s.id,o.a&&(s.personId="{54EE7950-7262-4200-6969-"+("000000000000"+t.indexOf(o.a)).slice(-12)+"}"),n.push(Ut("threadedComment",Bt("text",o.t||""),s))}else delete o.ID})}),n.push("</ThreadedComments>"),n.join("")}var is=Zr;function ss(e){var t=Or(),r=[];return Lr(t,628),Lr(t,630),e.forEach(function(e){e[1].forEach(function(e){r.indexOf(e.a)>-1||(r.push(e.a.slice(0,54)),Lr(t,632,function(e){return Qr(e.slice(0,54))}(e.a)))})}),Lr(t,631),Lr(t,633),e.forEach(function(e){e[1].forEach(function(n){n.iauthor=r.indexOf(n.a);var a={s:Ur(e[0]),e:Ur(e[0])};Lr(t,635,function(e,t){return null==t&&(t=Cr(36)),t._W(4,e[1].iauthor),wn(e[0],t),t._W(4,0),t._W(4,0),t._W(4,0),t._W(4,0),t}([a,n])),n.t&&n.t.length>0&&Lr(t,637,nn(n)),Lr(t,636),delete n.iauthor})}),Lr(t,634),Lr(t,629),t.end()}var cs="application/vnd.ms-office.vbaProject";var ls=["xlsb","xlsm","xlam","biff8","xla"];var us=function(){var e=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,t={r:0,c:0};function r(e,r,n,a){var o=!1,i=!1;0==n.length?i=!0:"["==n.charAt(0)&&(i=!0,n=n.slice(1,-1)),0==a.length?o=!0:"["==a.charAt(0)&&(o=!0,a=a.slice(1,-1));var s=n.length>0?0|parseInt(n,10):0,c=a.length>0?0|parseInt(a,10):0;return o?c+=t.c:--c,i?s+=t.r:--s,r+(o?"":"$")+Wr(c)+(i?"":"$")+jr(s)}return function(n,a){return t=a,n.replace(e,r)}}(),fs=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g,hs=function(e,t){return e.replace(fs,function(e,r,n,a,o,i){var s=Br(a)-(n?0:t.c),c=Mr(i)-(o?0:t.r);return r+"R"+(0==c?"":o?c+1:"["+c+"]")+"C"+(0==s?"":n?s+1:"["+s+"]")})};function ds(e,t){return e.replace(fs,function(e,r,n,a,o,i){return r+("$"==n?n+a:Wr(Br(a)+t.c))+("$"==o?o+i:jr(Mr(i)+t.r))})}function ps(e,t,r){var n=Hr(t).s,a=Ur(r);return ds(e,{r:a.r-n.r,c:a.c-n.c})}function gs(e){return e.replace(/_xlfn\./g,"")}function ms(e){e.l+=1}function vs(e,t){var r=e._R(1==t?1:2);return[16383&r,r>>14&1,r>>15&1]}function bs(e,t,r){var n=2;if(r){if(r.biff>=2&&r.biff<=5)return ys(e);12==r.biff&&(n=4)}var a=e._R(n),o=e._R(n),i=vs(e,2),s=vs(e,2);return{s:{r:a,c:i[0],cRel:i[1],rRel:i[2]},e:{r:o,c:s[0],cRel:s[1],rRel:s[2]}}}function ys(e){var t=vs(e,2),r=vs(e,2),n=e._R(1),a=e._R(1);return{s:{r:t[0],c:n,cRel:t[1],rRel:t[2]},e:{r:r[0],c:a,cRel:r[1],rRel:r[2]}}}function ws(e,t,r){if(r&&r.biff>=2&&r.biff<=5)return function(e){var t=vs(e,2),r=e._R(1);return{r:t[0],c:r,cRel:t[1],rRel:t[2]}}(e);var n=e._R(r&&12==r.biff?4:2),a=vs(e,2);return{r:n,c:a[0],cRel:a[1],rRel:a[2]}}function Ss(e){var t=e._R(2),r=e._R(2);return{r:t,c:255&r,fQuoted:!!(16384&r),cRel:r>>15,rRel:r>>15}}function xs(e){var t=1&e[e.l+1];return e.l+=4,[t,1]}function ks(e){return[e._R(1),e._R(1)]}function As(e,t){var r=[e._R(1)];if(12==t)switch(r[0]){case 2:r[0]=4;break;case 4:r[0]=16;break;case 0:r[0]=1;break;case 1:r[0]=2}switch(r[0]){case 4:r[1]=Ea(e,1)?"TRUE":"FALSE",12!=t&&(e.l+=7);break;case 37:case 16:r[1]=Fn[e[e.l]],e.l+=12==t?4:8;break;case 0:e.l+=8;break;case 1:r[1]=Sn(e);break;case 2:r[1]=Ma(e,0,{biff:t>0&&t<8?2:t});break;default:throw new Error("Bad SerAr: "+r[0])}return r}function Ts(e,t,r){for(var n=e._R(12==r.biff?4:2),a=[],o=0;o!=n;++o)a.push((12==r.biff?yn:Ya)(e,8));return a}function Es(e,t,r){var n=0,a=0;12==r.biff?(n=e._R(4),a=e._R(4)):(a=1+e._R(1),n=1+e._R(2)),r.biff>=2&&r.biff<8&&(--n,0==--a&&(a=256));for(var o=0,i=[];o!=n&&(i[o]=[]);++o)for(var s=0;s!=a;++s)i[o][s]=As(e,r.biff);return i}function _s(e,t,r){return e.l+=2,[Ss(e)]}function Ns(e){return e.l+=6,[]}function Cs(e){return e.l+=2,[Na(e),1&e._R(2)]}var Rs=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];var Os={1:{n:"PtgExp",f:function(e,t,r){return e.l++,r&&12==r.biff?[e._R(4,"i"),0]:[e._R(2),e._R(r&&2==r.biff?1:2)]}},2:{n:"PtgTbl",f:Nr},3:{n:"PtgAdd",f:ms},4:{n:"PtgSub",f:ms},5:{n:"PtgMul",f:ms},6:{n:"PtgDiv",f:ms},7:{n:"PtgPower",f:ms},8:{n:"PtgConcat",f:ms},9:{n:"PtgLt",f:ms},10:{n:"PtgLe",f:ms},11:{n:"PtgEq",f:ms},12:{n:"PtgGe",f:ms},13:{n:"PtgGt",f:ms},14:{n:"PtgNe",f:ms},15:{n:"PtgIsect",f:ms},16:{n:"PtgUnion",f:ms},17:{n:"PtgRange",f:ms},18:{n:"PtgUplus",f:ms},19:{n:"PtgUminus",f:ms},20:{n:"PtgPercent",f:ms},21:{n:"PtgParen",f:ms},22:{n:"PtgMissArg",f:ms},23:{n:"PtgStr",f:function(e,t,r){return e.l++,La(e,0,r)}},26:{n:"PtgSheet",f:function(e,t,r){return e.l+=5,e.l+=2,e.l+=2==r.biff?1:4,["PTGSHEET"]}},27:{n:"PtgEndSheet",f:function(e,t,r){return e.l+=2==r.biff?4:5,["PTGENDSHEET"]}},28:{n:"PtgErr",f:function(e){return e.l++,Fn[e._R(1)]}},29:{n:"PtgBool",f:function(e){return e.l++,0!==e._R(1)}},30:{n:"PtgInt",f:function(e){return e.l++,e._R(2)}},31:{n:"PtgNum",f:function(e){return e.l++,Sn(e)}},32:{n:"PtgArray",f:function(e,t,r){var n=(96&e[e.l++])>>5;return e.l+=2==r.biff?6:12==r.biff?14:7,[n]}},33:{n:"PtgFunc",f:function(e,t,r){var n=(96&e[e.l])>>5;e.l+=1;var a=e._R(r&&r.biff<=3?1:2);return[Qs[a],Zs[a],n]}},34:{n:"PtgFuncVar",f:function(e,t,r){var n=e[e.l++],a=e._R(1),o=r&&r.biff<=3?[88==n?-1:0,e._R(1)]:function(e){return[e[e.l+1]>>7,32767&e._R(2)]}(e);return[a,(0===o[0]?Zs:Js)[o[1]]]}},35:{n:"PtgName",f:function(e,t,r){var n=e._R(1)>>>5&3,a=!r||r.biff>=8?4:2,o=e._R(a);switch(r.biff){case 2:e.l+=5;break;case 3:case 4:e.l+=8;break;case 5:e.l+=12}return[n,0,o]}},36:{n:"PtgRef",f:function(e,t,r){var n=(96&e[e.l])>>5;return e.l+=1,[n,ws(e,0,r)]}},37:{n:"PtgArea",f:function(e,t,r){return[(96&e[e.l++])>>5,bs(e,r.biff>=2&&r.biff,r)]}},38:{n:"PtgMemArea",f:function(e,t,r){var n=e._R(1)>>>5&3;return e.l+=r&&2==r.biff?3:4,[n,e._R(r&&2==r.biff?1:2)]}},39:{n:"PtgMemErr",f:Nr},40:{n:"PtgMemNoMem",f:Nr},41:{n:"PtgMemFunc",f:function(e,t,r){return[e._R(1)>>>5&3,e._R(r&&2==r.biff?1:2)]}},42:{n:"PtgRefErr",f:function(e,t,r){var n=e._R(1)>>>5&3;return e.l+=4,r.biff<8&&e.l--,12==r.biff&&(e.l+=2),[n]}},43:{n:"PtgAreaErr",f:function(e,t,r){var n=(96&e[e.l++])>>5;return e.l+=r&&r.biff>8?12:r.biff<8?6:8,[n]}},44:{n:"PtgRefN",f:function(e,t,r){var n=(96&e[e.l])>>5;return e.l+=1,[n,function(e,t,r){var n=r&&r.biff?r.biff:8;if(n>=2&&n<=5)return function(e){var t=e._R(2),r=e._R(1),n=(32768&t)>>15,a=(16384&t)>>14;return t&=16383,1==n&&t>=8192&&(t-=16384),1==a&&r>=128&&(r-=256),{r:t,c:r,cRel:a,rRel:n}}(e);var a=e._R(n>=12?4:2),o=e._R(2),i=(16384&o)>>14,s=(32768&o)>>15;if(o&=16383,1==s)for(;a>524287;)a-=1048576;if(1==i)for(;o>8191;)o-=16384;return{r:a,c:o,cRel:i,rRel:s}}(e,0,r)]}},45:{n:"PtgAreaN",f:function(e,t,r){return[(96&e[e.l++])>>5,function(e,t,r){if(r.biff<8)return ys(e);var n=e._R(12==r.biff?4:2),a=e._R(12==r.biff?4:2),o=vs(e,2),i=vs(e,2);return{s:{r:n,c:o[0],cRel:o[1],rRel:o[2]},e:{r:a,c:i[0],cRel:i[1],rRel:i[2]}}}(e,0,r)]}},46:{n:"PtgMemAreaN",f:function(e){return[e._R(1)>>>5&3,e._R(2)]}},47:{n:"PtgMemNoMemN",f:function(e){return[e._R(1)>>>5&3,e._R(2)]}},57:{n:"PtgNameX",f:function(e,t,r){return 5==r.biff?function(e){var t=e._R(1)>>>5&3,r=e._R(2,"i");e.l+=8;var n=e._R(2);return e.l+=12,[t,r,n]}(e):[e._R(1)>>>5&3,e._R(2),e._R(4)]}},58:{n:"PtgRef3d",f:function(e,t,r){var n=(96&e[e.l])>>5;e.l+=1;var a=e._R(2);return r&&5==r.biff&&(e.l+=12),[n,a,ws(e,0,r)]}},59:{n:"PtgArea3d",f:function(e,t,r){var n=(96&e[e.l++])>>5,a=e._R(2,"i");if(r)switch(r.biff){case 5:e.l+=12}return[n,a,bs(e,0,r)]}},60:{n:"PtgRefErr3d",f:function(e,t,r){var n=(96&e[e.l++])>>5,a=e._R(2),o=4;if(r)switch(r.biff){case 5:o=15;break;case 12:o=6}return e.l+=o,[n,a]}},61:{n:"PtgAreaErr3d",f:function(e,t,r){var n=(96&e[e.l++])>>5,a=e._R(2),o=8;if(r)switch(r.biff){case 5:e.l+=12,o=6;break;case 12:o=12}return e.l+=o,[n,a]}},255:{}},Ls={64:32,96:32,65:33,97:33,66:34,98:34,67:35,99:35,68:36,100:36,69:37,101:37,70:38,102:38,71:39,103:39,72:40,104:40,73:41,105:41,74:42,106:42,75:43,107:43,76:44,108:44,77:45,109:45,78:46,110:46,79:47,111:47,88:34,120:34,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61},Ps={1:{n:"PtgElfLel",f:Cs},2:{n:"PtgElfRw",f:_s},3:{n:"PtgElfCol",f:_s},6:{n:"PtgElfRwV",f:_s},7:{n:"PtgElfColV",f:_s},10:{n:"PtgElfRadical",f:_s},11:{n:"PtgElfRadicalS",f:Ns},13:{n:"PtgElfColS",f:Ns},15:{n:"PtgElfColSV",f:Ns},16:{n:"PtgElfRadicalLel",f:Cs},25:{n:"PtgList",f:function(e){e.l+=2;var t=e._R(2),r=e._R(2),n=e._R(4),a=e._R(2),o=e._R(2);return{ixti:t,coltype:3&r,rt:Rs[r>>2&31],idx:n,c:a,C:o}}},29:{n:"PtgSxName",f:function(e){return e.l+=2,[e._R(4)]}},255:{}},Is={0:{n:"PtgAttrNoop",f:function(e){return e.l+=4,[0,0]}},1:{n:"PtgAttrSemi",f:function(e,t,r){var n=255&e[e.l+1]?1:0;return e.l+=r&&2==r.biff?3:4,[n]}},2:{n:"PtgAttrIf",f:function(e,t,r){var n=255&e[e.l+1]?1:0;return e.l+=2,[n,e._R(r&&2==r.biff?1:2)]}},4:{n:"PtgAttrChoose",f:function(e,t,r){e.l+=2;for(var n=e._R(r&&2==r.biff?1:2),a=[],o=0;o<=n;++o)a.push(e._R(r&&2==r.biff?1:2));return a}},8:{n:"PtgAttrGoto",f:function(e,t,r){var n=255&e[e.l+1]?1:0;return e.l+=2,[n,e._R(r&&2==r.biff?1:2)]}},16:{n:"PtgAttrSum",f:function(e,t,r){e.l+=r&&2==r.biff?3:4}},32:{n:"PtgAttrBaxcel",f:xs},33:{n:"PtgAttrBaxcel",f:xs},64:{n:"PtgAttrSpace",f:function(e){return e._R(2),ks(e)}},65:{n:"PtgAttrSpaceSemi",f:function(e){return e._R(2),ks(e)}},128:{n:"PtgAttrIfError",f:function(e){var t=255&e[e.l+1]?1:0;return e.l+=2,[t,e._R(2)]}},255:{}};function Fs(e,t,r,n){if(n.biff<8)return Nr(e,t);for(var a=e.l+t,o=[],i=0;i!==r.length;++i)switch(r[i][0]){case"PtgArray":r[i][1]=Es(e,0,n),o.push(r[i][1]);break;case"PtgMemArea":r[i][2]=Ts(e,r[i][1],n),o.push(r[i][2]);break;case"PtgExp":n&&12==n.biff&&(r[i][1][1]=e._R(4),o.push(r[i][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+r[i][0]}return 0!==(t=a-e.l)&&o.push(Nr(e,t)),o}function Ds(e,t,r){for(var n,a,o=e.l+t,i=[];o!=e.l;)t=o-e.l,a=e[e.l],n=Os[a]||Os[Ls[a]],24!==a&&25!==a||(n=(24===a?Ps:Is)[e[e.l+1]]),n&&n.f?i.push([n.n,n.f(e,t,r)]):Nr(e,t);return i}function Ms(e){for(var t=[],r=0;r<e.length;++r){for(var n=e[r],a=[],o=0;o<n.length;++o){var i=n[o];if(i)switch(i[0]){case 2:a.push('"'+i[1].replace(/"/g,'""')+'"');break;default:a.push(i[1])}else a.push("")}t.push(a.join(","))}return t.join(";")}var js={PtgAdd:"+",PtgConcat:"&",PtgDiv:"/",PtgEq:"=",PtgGe:">=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function Bs(e,t,r){if(!e)return"SH33TJSERR0";if(r.biff>8&&(!e.XTI||!e.XTI[t]))return e.SheetNames[t];if(!e.XTI)return"SH33TJSERR6";var n=e.XTI[t];if(r.biff<8)return t>1e4&&(t-=65536),t<0&&(t=-t),0==t?"":e.XTI[t-1];if(!n)return"SH33TJSERR1";var a="";if(r.biff>8)switch(e[n[0]][0]){case 357:return a=-1==n[1]?"#REF":e.SheetNames[n[1]],n[1]==n[2]?a:a+":"+e.SheetNames[n[2]];case 358:return null!=r.SID?e.SheetNames[r.SID]:"SH33TJSSAME"+e[n[0]][0];case 355:default:return"SH33TJSSRC"+e[n[0]][0]}switch(e[n[0]][0][0]){case 1025:return a=-1==n[1]?"#REF":e.SheetNames[n[1]]||"SH33TJSERR3",n[1]==n[2]?a:a+":"+e.SheetNames[n[2]];case 14849:return e[n[0]].slice(1).map(function(e){return e.Name}).join(";;");default:return e[n[0]][0][3]?(a=-1==n[1]?"#REF":e[n[0]][0][3][n[1]]||"SH33TJSERR4",n[1]==n[2]?a:a+":"+e[n[0]][0][3][n[2]]):"SH33TJSERR2"}}function Ws(e,t,r){var n=Bs(e,t,r);return"#REF"==n?n:function(e,t){if(!(e||t&&t.biff<=5&&t.biff>=2))throw new Error("empty sheet name");return/[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(e)?"'"+e+"'":e}(n,r)}function Us(e,t,r,n,a){var o,i,s,c,l=a&&a.biff||8,u={s:{c:0,r:0},e:{c:0,r:0}},f=[],h=0,d=0,p="";if(!e[0]||!e[0][0])return"";for(var g=-1,m="",v=0,b=e[0].length;v<b;++v){var y=e[0][v];switch(y[0]){case"PtgUminus":f.push("-"+f.pop());break;case"PtgUplus":f.push("+"+f.pop());break;case"PtgPercent":f.push(f.pop()+"%");break;case"PtgAdd":case"PtgConcat":case"PtgDiv":case"PtgEq":case"PtgGe":case"PtgGt":case"PtgLe":case"PtgLt":case"PtgMul":case"PtgNe":case"PtgPower":case"PtgSub":if(o=f.pop(),i=f.pop(),g>=0){switch(e[0][g][1][0]){case 0:m=qe(" ",e[0][g][1][1]);break;case 1:m=qe("\r",e[0][g][1][1]);break;default:if(m="",a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][g][1][0])}i+=m,g=-1}f.push(i+js[y[0]]+o);break;case"PtgIsect":o=f.pop(),i=f.pop(),f.push(i+" "+o);break;case"PtgUnion":o=f.pop(),i=f.pop(),f.push(i+","+o);break;case"PtgRange":o=f.pop(),i=f.pop(),f.push(i+":"+o);break;case"PtgAttrChoose":case"PtgAttrGoto":case"PtgAttrIf":case"PtgAttrIfError":break;case"PtgRef":s=Pr(y[1][1],u,a),f.push(Fr(s,l));break;case"PtgRefN":s=r?Pr(y[1][1],r,a):y[1][1],f.push(Fr(s,l));break;case"PtgRef3d":h=y[1][1],s=Pr(y[1][2],u,a);p=Ws(n,h,a);f.push(p+"!"+Fr(s,l));break;case"PtgFunc":case"PtgFuncVar":var w=y[1][0],S=y[1][1];w||(w=0);var x=0==(w&=127)?[]:f.slice(-w);f.length-=w,"User"===S&&(S=x.shift()),f.push(S+"("+x.join(",")+")");break;case"PtgBool":f.push(y[1]?"TRUE":"FALSE");break;case"PtgInt":f.push(y[1]);break;case"PtgNum":f.push(String(y[1]));break;case"PtgStr":f.push('"'+y[1].replace(/"/g,'""')+'"');break;case"PtgErr":f.push(y[1]);break;case"PtgAreaN":c=Ir(y[1][1],r?{s:r}:u,a),f.push(Dr(c,a));break;case"PtgArea":c=Ir(y[1][1],u,a),f.push(Dr(c,a));break;case"PtgArea3d":h=y[1][1],c=y[1][2],p=Ws(n,h,a),f.push(p+"!"+Dr(c,a));break;case"PtgAttrSum":f.push("SUM("+f.pop()+")");break;case"PtgAttrBaxcel":case"PtgAttrSemi":break;case"PtgName":d=y[1][2];var k=(n.names||[])[d-1]||(n[0]||[])[d],A=k?k.Name:"SH33TJSNAME"+String(d);A&&"_xlfn."==A.slice(0,6)&&!a.xlfn&&(A=A.slice(6)),f.push(A);break;case"PtgNameX":var T,E=y[1][1];if(d=y[1][2],!(a.biff<=5)){var _="";if(14849==((n[E]||[])[0]||[])[0]||(1025==((n[E]||[])[0]||[])[0]?n[E][d]&&n[E][d].itab>0&&(_=n.SheetNames[n[E][d].itab-1]+"!"):_=n.SheetNames[d-1]+"!"),n[E]&&n[E][d])_+=n[E][d].Name;else if(n[0]&&n[0][d])_+=n[0][d].Name;else{var N=(Bs(n,E,a)||"").split(";;");N[d-1]?_=N[d-1]:_+="SH33TJSERRX"}f.push(_);break}E<0&&(E=-E),n[E]&&(T=n[E][d]),T||(T={Name:"SH33TJSERRY"}),f.push(T.Name);break;case"PtgParen":var C="(",R=")";if(g>=0){switch(m="",e[0][g][1][0]){case 2:C=qe(" ",e[0][g][1][1])+C;break;case 3:C=qe("\r",e[0][g][1][1])+C;break;case 4:R=qe(" ",e[0][g][1][1])+R;break;case 5:R=qe("\r",e[0][g][1][1])+R;break;default:if(a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][g][1][0])}g=-1}f.push(C+f.pop()+R);break;case"PtgRefErr":case"PtgRefErr3d":f.push("#REF!");break;case"PtgExp":s={c:y[1][1],r:y[1][0]};var O={c:r.c,r:r.r};if(n.sharedf[zr(s)]){var L=n.sharedf[zr(s)];f.push(Us(L,u,O,n,a))}else{var P=!1;for(o=0;o!=n.arrayf.length;++o)if(i=n.arrayf[o],!(s.c<i[0].s.c||s.c>i[0].e.c||s.r<i[0].s.r||s.r>i[0].e.r)){f.push(Us(i[1],u,O,n,a)),P=!0;break}P||f.push(y[1])}break;case"PtgArray":f.push("{"+Ms(y[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":g=v;break;case"PtgTbl":case"PtgMemErr":break;case"PtgMissArg":f.push("");break;case"PtgAreaErr":case"PtgAreaErr3d":f.push("#REF!");break;case"PtgList":f.push("Table"+y[1].idx+"[#"+y[1].rt+"]");break;case"PtgMemAreaN":case"PtgMemNoMemN":case"PtgAttrNoop":case"PtgSheet":case"PtgEndSheet":case"PtgMemFunc":case"PtgMemNoMem":break;case"PtgElfCol":case"PtgElfColS":case"PtgElfColSV":case"PtgElfColV":case"PtgElfLel":case"PtgElfRadical":case"PtgElfRadicalLel":case"PtgElfRadicalS":case"PtgElfRw":case"PtgElfRwV":throw new Error("Unsupported ELFs");case"PtgSxName":default:throw new Error("Unrecognized Formula Token: "+String(y))}if(3!=a.biff&&g>=0&&-1==["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"].indexOf(e[0][v][0])){var I=!0;switch((y=e[0][g])[1][0]){case 4:I=!1;case 0:m=qe(" ",y[1][1]);break;case 5:I=!1;case 1:m=qe("\r",y[1][1]);break;default:if(m="",a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+y[1][0])}f.push((I?m:"")+f.pop()+(I?"":m)),g=-1}}if(f.length>1&&a.WTF)throw new Error("bad formula stack");return f[0]}function zs(e,t,r){var n,a=e.l+t,o=2==r.biff?1:2,i=e._R(o);if(65535==i)return[[],Nr(e,t-2)];var s=Ds(e,i,r);return t!==i+o&&(n=Fs(e,t-i-o,s,r)),e.l=a,[s,n]}function Hs(e,t,r){var n,a=e.l+t,o=e._R(2),i=Ds(e,o,r);return 65535==o?[[],Nr(e,t-2)]:(t!==o+2&&(n=Fs(e,a-o-2,i,r)),[i,n])}function Vs(e,t,r){var n=e.l+t,a=qa(e);2==r.biff&&++e.l;var o=function(e){var t;if(65535!==mr(e,e.l+6))return[Sn(e),"n"];switch(e[e.l]){case 0:return e.l+=8,["String","s"];case 1:return t=1===e[e.l+2],e.l+=8,[t,"b"];case 2:return t=e[e.l+2],e.l+=8,[t,"e"];case 3:return e.l+=8,["","s"]}return[]}(e),i=e._R(1);2!=r.biff&&(e._R(1),r.biff>=5&&e._R(4));var s=function(e,t,r){var n,a=e.l+t,o=2==r.biff?1:2,i=e._R(o);if(65535==i)return[[],Nr(e,t-2)];var s=Ds(e,i,r);return t!==i+o&&(n=Fs(e,t-i-o,s,r)),e.l=a,[s,n]}(e,n-e.l,r);return{cell:a,val:o[0],formula:s,shared:i>>3&1,tt:o[1]}}function qs(e,t,r,n,a){var o=$a(t,r,a),i=function(e){if(null==e){var t=Cr(8);return t._W(1,3),t._W(1,0),t._W(2,0),t._W(2,0),t._W(2,65535),t}return xn("number"==typeof e?e:0)}(e.v),s=Cr(6);s._W(2,33),s._W(4,0);for(var c=Cr(e.bf.length),l=0;l<e.bf.length;++l)c[l]=e.bf[l];return _([o,i,s,c])}function $s(e,t,r){var n=e._R(4),a=Ds(e,n,r),o=e._R(4);return[a,o>0?Fs(e,o,a,r):null]}var Gs=$s,Xs=$s,Ys=$s,Ks=$s,Js={0:"BEEP",1:"OPEN",2:"OPEN.LINKS",3:"CLOSE.ALL",4:"SAVE",5:"SAVE.AS",6:"FILE.DELETE",7:"PAGE.SETUP",8:"PRINT",9:"PRINTER.SETUP",10:"QUIT",11:"NEW.WINDOW",12:"ARRANGE.ALL",13:"WINDOW.SIZE",14:"WINDOW.MOVE",15:"FULL",16:"CLOSE",17:"RUN",22:"SET.PRINT.AREA",23:"SET.PRINT.TITLES",24:"SET.PAGE.BREAK",25:"REMOVE.PAGE.BREAK",26:"FONT",27:"DISPLAY",28:"PROTECT.DOCUMENT",29:"PRECISION",30:"A1.R1C1",31:"CALCULATE.NOW",32:"CALCULATION",34:"DATA.FIND",35:"EXTRACT",36:"DATA.DELETE",37:"SET.DATABASE",38:"SET.CRITERIA",39:"SORT",40:"DATA.SERIES",41:"TABLE",42:"FORMAT.NUMBER",43:"ALIGNMENT",44:"STYLE",45:"BORDER",46:"CELL.PROTECTION",47:"COLUMN.WIDTH",48:"UNDO",49:"CUT",50:"COPY",51:"PASTE",52:"CLEAR",53:"PASTE.SPECIAL",54:"EDIT.DELETE",55:"INSERT",56:"FILL.RIGHT",57:"FILL.DOWN",61:"DEFINE.NAME",62:"CREATE.NAMES",63:"FORMULA.GOTO",64:"FORMULA.FIND",65:"SELECT.LAST.CELL",66:"SHOW.ACTIVE.CELL",67:"GALLERY.AREA",68:"GALLERY.BAR",69:"GALLERY.COLUMN",70:"GALLERY.LINE",71:"GALLERY.PIE",72:"GALLERY.SCATTER",73:"COMBINATION",74:"PREFERRED",75:"ADD.OVERLAY",76:"GRIDLINES",77:"SET.PREFERRED",78:"AXES",79:"LEGEND",80:"ATTACH.TEXT",81:"ADD.ARROW",82:"SELECT.CHART",83:"SELECT.PLOT.AREA",84:"PATTERNS",85:"MAIN.CHART",86:"OVERLAY",87:"SCALE",88:"FORMAT.LEGEND",89:"FORMAT.TEXT",90:"EDIT.REPEAT",91:"PARSE",92:"JUSTIFY",93:"HIDE",94:"UNHIDE",95:"WORKSPACE",96:"FORMULA",97:"FORMULA.FILL",98:"FORMULA.ARRAY",99:"DATA.FIND.NEXT",100:"DATA.FIND.PREV",101:"FORMULA.FIND.NEXT",102:"FORMULA.FIND.PREV",103:"ACTIVATE",104:"ACTIVATE.NEXT",105:"ACTIVATE.PREV",106:"UNLOCKED.NEXT",107:"UNLOCKED.PREV",108:"COPY.PICTURE",109:"SELECT",110:"DELETE.NAME",111:"DELETE.FORMAT",112:"VLINE",113:"HLINE",114:"VPAGE",115:"HPAGE",116:"VSCROLL",117:"HSCROLL",118:"ALERT",119:"NEW",120:"CANCEL.COPY",121:"SHOW.CLIPBOARD",122:"MESSAGE",124:"PASTE.LINK",125:"APP.ACTIVATE",126:"DELETE.ARROW",127:"ROW.HEIGHT",128:"FORMAT.MOVE",129:"FORMAT.SIZE",130:"FORMULA.REPLACE",131:"SEND.KEYS",132:"SELECT.SPECIAL",133:"APPLY.NAMES",134:"REPLACE.FONT",135:"FREEZE.PANES",136:"SHOW.INFO",137:"SPLIT",138:"ON.WINDOW",139:"ON.DATA",140:"DISABLE.INPUT",142:"OUTLINE",143:"LIST.NAMES",144:"FILE.CLOSE",145:"SAVE.WORKBOOK",146:"DATA.FORM",147:"COPY.CHART",148:"ON.TIME",149:"WAIT",150:"FORMAT.FONT",151:"FILL.UP",152:"FILL.LEFT",153:"DELETE.OVERLAY",155:"SHORT.MENUS",159:"SET.UPDATE.STATUS",161:"COLOR.PALETTE",162:"DELETE.STYLE",163:"WINDOW.RESTORE",164:"WINDOW.MAXIMIZE",166:"CHANGE.LINK",167:"CALCULATE.DOCUMENT",168:"ON.KEY",169:"APP.RESTORE",170:"APP.MOVE",171:"APP.SIZE",172:"APP.MINIMIZE",173:"APP.MAXIMIZE",174:"BRING.TO.FRONT",175:"SEND.TO.BACK",185:"MAIN.CHART.TYPE",186:"OVERLAY.CHART.TYPE",187:"SELECT.END",188:"OPEN.MAIL",189:"SEND.MAIL",190:"STANDARD.FONT",191:"CONSOLIDATE",192:"SORT.SPECIAL",193:"GALLERY.3D.AREA",194:"GALLERY.3D.COLUMN",195:"GALLERY.3D.LINE",196:"GALLERY.3D.PIE",197:"VIEW.3D",198:"GOAL.SEEK",199:"WORKGROUP",200:"FILL.GROUP",201:"UPDATE.LINK",202:"PROMOTE",203:"DEMOTE",204:"SHOW.DETAIL",206:"UNGROUP",207:"OBJECT.PROPERTIES",208:"SAVE.NEW.OBJECT",209:"SHARE",210:"SHARE.NAME",211:"DUPLICATE",212:"APPLY.STYLE",213:"ASSIGN.TO.OBJECT",214:"OBJECT.PROTECTION",215:"HIDE.OBJECT",216:"SET.EXTRACT",217:"CREATE.PUBLISHER",218:"SUBSCRIBE.TO",219:"ATTRIBUTES",220:"SHOW.TOOLBAR",222:"PRINT.PREVIEW",223:"EDIT.COLOR",224:"SHOW.LEVELS",225:"FORMAT.MAIN",226:"FORMAT.OVERLAY",227:"ON.RECALC",228:"EDIT.SERIES",229:"DEFINE.STYLE",240:"LINE.PRINT",243:"ENTER.DATA",249:"GALLERY.RADAR",250:"MERGE.STYLES",251:"EDITION.OPTIONS",252:"PASTE.PICTURE",253:"PASTE.PICTURE.LINK",254:"SPELLING",256:"ZOOM",259:"INSERT.OBJECT",260:"WINDOW.MINIMIZE",265:"SOUND.NOTE",266:"SOUND.PLAY",267:"FORMAT.SHAPE",268:"EXTEND.POLYGON",269:"FORMAT.AUTO",272:"GALLERY.3D.BAR",273:"GALLERY.3D.SURFACE",274:"FILL.AUTO",276:"CUSTOMIZE.TOOLBAR",277:"ADD.TOOL",278:"EDIT.OBJECT",279:"ON.DOUBLECLICK",280:"ON.ENTRY",281:"WORKBOOK.ADD",282:"WORKBOOK.MOVE",283:"WORKBOOK.COPY",284:"WORKBOOK.OPTIONS",285:"SAVE.WORKSPACE",288:"CHART.WIZARD",289:"DELETE.TOOL",290:"MOVE.TOOL",291:"WORKBOOK.SELECT",292:"WORKBOOK.ACTIVATE",293:"ASSIGN.TO.TOOL",295:"COPY.TOOL",296:"RESET.TOOL",297:"CONSTRAIN.NUMERIC",298:"PASTE.TOOL",302:"WORKBOOK.NEW",305:"SCENARIO.CELLS",306:"SCENARIO.DELETE",307:"SCENARIO.ADD",308:"SCENARIO.EDIT",309:"SCENARIO.SHOW",310:"SCENARIO.SHOW.NEXT",311:"SCENARIO.SUMMARY",312:"PIVOT.TABLE.WIZARD",313:"PIVOT.FIELD.PROPERTIES",314:"PIVOT.FIELD",315:"PIVOT.ITEM",316:"PIVOT.ADD.FIELDS",318:"OPTIONS.CALCULATION",319:"OPTIONS.EDIT",320:"OPTIONS.VIEW",321:"ADDIN.MANAGER",322:"MENU.EDITOR",323:"ATTACH.TOOLBARS",324:"VBAActivate",325:"OPTIONS.CHART",328:"VBA.INSERT.FILE",330:"VBA.PROCEDURE.DEFINITION",336:"ROUTING.SLIP",338:"ROUTE.DOCUMENT",339:"MAIL.LOGON",342:"INSERT.PICTURE",343:"EDIT.TOOL",344:"GALLERY.DOUGHNUT",350:"CHART.TREND",352:"PIVOT.ITEM.PROPERTIES",354:"WORKBOOK.INSERT",355:"OPTIONS.TRANSITION",356:"OPTIONS.GENERAL",370:"FILTER.ADVANCED",373:"MAIL.ADD.MAILER",374:"MAIL.DELETE.MAILER",375:"MAIL.REPLY",376:"MAIL.REPLY.ALL",377:"MAIL.FORWARD",378:"MAIL.NEXT.LETTER",379:"DATA.LABEL",380:"INSERT.TITLE",381:"FONT.PROPERTIES",382:"MACRO.OPTIONS",383:"WORKBOOK.HIDE",384:"WORKBOOK.UNHIDE",385:"WORKBOOK.DELETE",386:"WORKBOOK.NAME",388:"GALLERY.CUSTOM",390:"ADD.CHART.AUTOFORMAT",391:"DELETE.CHART.AUTOFORMAT",392:"CHART.ADD.DATA",393:"AUTO.OUTLINE",394:"TAB.ORDER",395:"SHOW.DIALOG",396:"SELECT.ALL",397:"UNGROUP.SHEETS",398:"SUBTOTAL.CREATE",399:"SUBTOTAL.REMOVE",400:"RENAME.OBJECT",412:"WORKBOOK.SCROLL",413:"WORKBOOK.NEXT",414:"WORKBOOK.PREV",415:"WORKBOOK.TAB.SPLIT",416:"FULL.SCREEN",417:"WORKBOOK.PROTECT",420:"SCROLLBAR.PROPERTIES",421:"PIVOT.SHOW.PAGES",422:"TEXT.TO.COLUMNS",423:"FORMAT.CHARTTYPE",424:"LINK.FORMAT",425:"TRACER.DISPLAY",430:"TRACER.NAVIGATE",431:"TRACER.CLEAR",432:"TRACER.ERROR",433:"PIVOT.FIELD.GROUP",434:"PIVOT.FIELD.UNGROUP",435:"CHECKBOX.PROPERTIES",436:"LABEL.PROPERTIES",437:"LISTBOX.PROPERTIES",438:"EDITBOX.PROPERTIES",439:"PIVOT.REFRESH",440:"LINK.COMBO",441:"OPEN.TEXT",442:"HIDE.DIALOG",443:"SET.DIALOG.FOCUS",444:"ENABLE.OBJECT",445:"PUSHBUTTON.PROPERTIES",446:"SET.DIALOG.DEFAULT",447:"FILTER",448:"FILTER.SHOW.ALL",449:"CLEAR.OUTLINE",450:"FUNCTION.WIZARD",451:"ADD.LIST.ITEM",452:"SET.LIST.ITEM",453:"REMOVE.LIST.ITEM",454:"SELECT.LIST.ITEM",455:"SET.CONTROL.VALUE",456:"SAVE.COPY.AS",458:"OPTIONS.LISTS.ADD",459:"OPTIONS.LISTS.DELETE",460:"SERIES.AXES",461:"SERIES.X",462:"SERIES.Y",463:"ERRORBAR.X",464:"ERRORBAR.Y",465:"FORMAT.CHART",466:"SERIES.ORDER",467:"MAIL.LOGOFF",468:"CLEAR.ROUTING.SLIP",469:"APP.ACTIVATE.MICROSOFT",470:"MAIL.EDIT.MAILER",471:"ON.SHEET",472:"STANDARD.WIDTH",473:"SCENARIO.MERGE",474:"SUMMARY.INFO",475:"FIND.FILE",476:"ACTIVE.CELL.FONT",477:"ENABLE.TIPWIZARD",478:"VBA.MAKE.ADDIN",480:"INSERTDATATABLE",481:"WORKGROUP.OPTIONS",482:"MAIL.SEND.MAILER",485:"AUTOCORRECT",489:"POST.DOCUMENT",491:"PICKLIST",493:"VIEW.SHOW",494:"VIEW.DEFINE",495:"VIEW.DELETE",509:"SHEET.BACKGROUND",510:"INSERT.MAP.OBJECT",511:"OPTIONS.MENONO",517:"MSOCHECKS",518:"NORMAL",519:"LAYOUT",520:"RM.PRINT.AREA",521:"CLEAR.PRINT.AREA",522:"ADD.PRINT.AREA",523:"MOVE.BRK",545:"HIDECURR.NOTE",546:"HIDEALL.NOTES",547:"DELETE.NOTE",548:"TRAVERSE.NOTES",549:"ACTIVATE.NOTES",620:"PROTECT.REVISIONS",621:"UNPROTECT.REVISIONS",647:"OPTIONS.ME",653:"WEB.PUBLISH",667:"NEWWEBQUERY",673:"PIVOT.TABLE.CHART",753:"OPTIONS.SAVE",755:"OPTIONS.SPELL",808:"HIDEALL.INKANNOTS"},Zs={0:"COUNT",1:"IF",2:"ISNA",3:"ISERROR",4:"SUM",5:"AVERAGE",6:"MIN",7:"MAX",8:"ROW",9:"COLUMN",10:"NA",11:"NPV",12:"STDEV",13:"DOLLAR",14:"FIXED",15:"SIN",16:"COS",17:"TAN",18:"ATAN",19:"PI",20:"SQRT",21:"EXP",22:"LN",23:"LOG10",24:"ABS",25:"INT",26:"SIGN",27:"ROUND",28:"LOOKUP",29:"INDEX",30:"REPT",31:"MID",32:"LEN",33:"VALUE",34:"TRUE",35:"FALSE",36:"AND",37:"OR",38:"NOT",39:"MOD",40:"DCOUNT",41:"DSUM",42:"DAVERAGE",43:"DMIN",44:"DMAX",45:"DSTDEV",46:"VAR",47:"DVAR",48:"TEXT",49:"LINEST",50:"TREND",51:"LOGEST",52:"GROWTH",53:"GOTO",54:"HALT",55:"RETURN",56:"PV",57:"FV",58:"NPER",59:"PMT",60:"RATE",61:"MIRR",62:"IRR",63:"RAND",64:"MATCH",65:"DATE",66:"TIME",67:"DAY",68:"MONTH",69:"YEAR",70:"WEEKDAY",71:"HOUR",72:"MINUTE",73:"SECOND",74:"NOW",75:"AREAS",76:"ROWS",77:"COLUMNS",78:"OFFSET",79:"ABSREF",80:"RELREF",81:"ARGUMENT",82:"SEARCH",83:"TRANSPOSE",84:"ERROR",85:"STEP",86:"TYPE",87:"ECHO",88:"SET.NAME",89:"CALLER",90:"DEREF",91:"WINDOWS",92:"SERIES",93:"DOCUMENTS",94:"ACTIVE.CELL",95:"SELECTION",96:"RESULT",97:"ATAN2",98:"ASIN",99:"ACOS",100:"CHOOSE",101:"HLOOKUP",102:"VLOOKUP",103:"LINKS",104:"INPUT",105:"ISREF",106:"GET.FORMULA",107:"GET.NAME",108:"SET.VALUE",109:"LOG",110:"EXEC",111:"CHAR",112:"LOWER",113:"UPPER",114:"PROPER",115:"LEFT",116:"RIGHT",117:"EXACT",118:"TRIM",119:"REPLACE",120:"SUBSTITUTE",121:"CODE",122:"NAMES",123:"DIRECTORY",124:"FIND",125:"CELL",126:"ISERR",127:"ISTEXT",128:"ISNUMBER",129:"ISBLANK",130:"T",131:"N",132:"FOPEN",133:"FCLOSE",134:"FSIZE",135:"FREADLN",136:"FREAD",137:"FWRITELN",138:"FWRITE",139:"FPOS",140:"DATEVALUE",141:"TIMEVALUE",142:"SLN",143:"SYD",144:"DDB",145:"GET.DEF",146:"REFTEXT",147:"TEXTREF",148:"INDIRECT",149:"REGISTER",150:"CALL",151:"ADD.BAR",152:"ADD.MENU",153:"ADD.COMMAND",154:"ENABLE.COMMAND",155:"CHECK.COMMAND",156:"RENAME.COMMAND",157:"SHOW.BAR",158:"DELETE.MENU",159:"DELETE.COMMAND",160:"GET.CHART.ITEM",161:"DIALOG.BOX",162:"CLEAN",163:"MDETERM",164:"MINVERSE",165:"MMULT",166:"FILES",167:"IPMT",168:"PPMT",169:"COUNTA",170:"CANCEL.KEY",171:"FOR",172:"WHILE",173:"BREAK",174:"NEXT",175:"INITIATE",176:"REQUEST",177:"POKE",178:"EXECUTE",179:"TERMINATE",180:"RESTART",181:"HELP",182:"GET.BAR",183:"PRODUCT",184:"FACT",185:"GET.CELL",186:"GET.WORKSPACE",187:"GET.WINDOW",188:"GET.DOCUMENT",189:"DPRODUCT",190:"ISNONTEXT",191:"GET.NOTE",192:"NOTE",193:"STDEVP",194:"VARP",195:"DSTDEVP",196:"DVARP",197:"TRUNC",198:"ISLOGICAL",199:"DCOUNTA",200:"DELETE.BAR",201:"UNREGISTER",204:"USDOLLAR",205:"FINDB",206:"SEARCHB",207:"REPLACEB",208:"LEFTB",209:"RIGHTB",210:"MIDB",211:"LENB",212:"ROUNDUP",213:"ROUNDDOWN",214:"ASC",215:"DBCS",216:"RANK",219:"ADDRESS",220:"DAYS360",221:"TODAY",222:"VDB",223:"ELSE",224:"ELSE.IF",225:"END.IF",226:"FOR.CELL",227:"MEDIAN",228:"SUMPRODUCT",229:"SINH",230:"COSH",231:"TANH",232:"ASINH",233:"ACOSH",234:"ATANH",235:"DGET",236:"CREATE.OBJECT",237:"VOLATILE",238:"LAST.ERROR",239:"CUSTOM.UNDO",240:"CUSTOM.REPEAT",241:"FORMULA.CONVERT",242:"GET.LINK.INFO",243:"TEXT.BOX",244:"INFO",245:"GROUP",246:"GET.OBJECT",247:"DB",248:"PAUSE",251:"RESUME",252:"FREQUENCY",253:"ADD.TOOLBAR",254:"DELETE.TOOLBAR",255:"User",256:"RESET.TOOLBAR",257:"EVALUATE",258:"GET.TOOLBAR",259:"GET.TOOL",260:"SPELLING.CHECK",261:"ERROR.TYPE",262:"APP.TITLE",263:"WINDOW.TITLE",264:"SAVE.TOOLBAR",265:"ENABLE.TOOL",266:"PRESS.TOOL",267:"REGISTER.ID",268:"GET.WORKBOOK",269:"AVEDEV",270:"BETADIST",271:"GAMMALN",272:"BETAINV",273:"BINOMDIST",274:"CHIDIST",275:"CHIINV",276:"COMBIN",277:"CONFIDENCE",278:"CRITBINOM",279:"EVEN",280:"EXPONDIST",281:"FDIST",282:"FINV",283:"FISHER",284:"FISHERINV",285:"FLOOR",286:"GAMMADIST",287:"GAMMAINV",288:"CEILING",289:"HYPGEOMDIST",290:"LOGNORMDIST",291:"LOGINV",292:"NEGBINOMDIST",293:"NORMDIST",294:"NORMSDIST",295:"NORMINV",296:"NORMSINV",297:"STANDARDIZE",298:"ODD",299:"PERMUT",300:"POISSON",301:"TDIST",302:"WEIBULL",303:"SUMXMY2",304:"SUMX2MY2",305:"SUMX2PY2",306:"CHITEST",307:"CORREL",308:"COVAR",309:"FORECAST",310:"FTEST",311:"INTERCEPT",312:"PEARSON",313:"RSQ",314:"STEYX",315:"SLOPE",316:"TTEST",317:"PROB",318:"DEVSQ",319:"GEOMEAN",320:"HARMEAN",321:"SUMSQ",322:"KURT",323:"SKEW",324:"ZTEST",325:"LARGE",326:"SMALL",327:"QUARTILE",328:"PERCENTILE",329:"PERCENTRANK",330:"MODE",331:"TRIMMEAN",332:"TINV",334:"MOVIE.COMMAND",335:"GET.MOVIE",336:"CONCATENATE",337:"POWER",338:"PIVOT.ADD.DATA",339:"GET.PIVOT.TABLE",340:"GET.PIVOT.FIELD",341:"GET.PIVOT.ITEM",342:"RADIANS",343:"DEGREES",344:"SUBTOTAL",345:"SUMIF",346:"COUNTIF",347:"COUNTBLANK",348:"SCENARIO.GET",349:"OPTIONS.LISTS.GET",350:"ISPMT",351:"DATEDIF",352:"DATESTRING",353:"NUMBERSTRING",354:"ROMAN",355:"OPEN.DIALOG",356:"SAVE.DIALOG",357:"VIEW.GET",358:"GETPIVOTDATA",359:"HYPERLINK",360:"PHONETIC",361:"AVERAGEA",362:"MAXA",363:"MINA",364:"STDEVPA",365:"VARPA",366:"STDEVA",367:"VARA",368:"BAHTTEXT",369:"THAIDAYOFWEEK",370:"THAIDIGIT",371:"THAIMONTHOFYEAR",372:"THAINUMSOUND",373:"THAINUMSTRING",374:"THAISTRINGLENGTH",375:"ISTHAIDIGIT",376:"ROUNDBAHTDOWN",377:"ROUNDBAHTUP",378:"THAIYEAR",379:"RTD",380:"CUBEVALUE",381:"CUBEMEMBER",382:"CUBEMEMBERPROPERTY",383:"CUBERANKEDMEMBER",384:"HEX2BIN",385:"HEX2DEC",386:"HEX2OCT",387:"DEC2BIN",388:"DEC2HEX",389:"DEC2OCT",390:"OCT2BIN",391:"OCT2HEX",392:"OCT2DEC",393:"BIN2DEC",394:"BIN2OCT",395:"BIN2HEX",396:"IMSUB",397:"IMDIV",398:"IMPOWER",399:"IMABS",400:"IMSQRT",401:"IMLN",402:"IMLOG2",403:"IMLOG10",404:"IMSIN",405:"IMCOS",406:"IMEXP",407:"IMARGUMENT",408:"IMCONJUGATE",409:"IMAGINARY",410:"IMREAL",411:"COMPLEX",412:"IMSUM",413:"IMPRODUCT",414:"SERIESSUM",415:"FACTDOUBLE",416:"SQRTPI",417:"QUOTIENT",418:"DELTA",419:"GESTEP",420:"ISEVEN",421:"ISODD",422:"MROUND",423:"ERF",424:"ERFC",425:"BESSELJ",426:"BESSELK",427:"BESSELY",428:"BESSELI",429:"XIRR",430:"XNPV",431:"PRICEMAT",432:"YIELDMAT",433:"INTRATE",434:"RECEIVED",435:"DISC",436:"PRICEDISC",437:"YIELDDISC",438:"TBILLEQ",439:"TBILLPRICE",440:"TBILLYIELD",441:"PRICE",442:"YIELD",443:"DOLLARDE",444:"DOLLARFR",445:"NOMINAL",446:"EFFECT",447:"CUMPRINC",448:"CUMIPMT",449:"EDATE",450:"EOMONTH",451:"YEARFRAC",452:"COUPDAYBS",453:"COUPDAYS",454:"COUPDAYSNC",455:"COUPNCD",456:"COUPNUM",457:"COUPPCD",458:"DURATION",459:"MDURATION",460:"ODDLPRICE",461:"ODDLYIELD",462:"ODDFPRICE",463:"ODDFYIELD",464:"RANDBETWEEN",465:"WEEKNUM",466:"AMORDEGRC",467:"AMORLINC",468:"CONVERT",724:"SHEETJS",469:"ACCRINT",470:"ACCRINTM",471:"WORKDAY",472:"NETWORKDAYS",473:"GCD",474:"MULTINOMIAL",475:"LCM",476:"FVSCHEDULE",477:"CUBEKPIMEMBER",478:"CUBESET",479:"CUBESETCOUNT",480:"IFERROR",481:"COUNTIFS",482:"SUMIFS",483:"AVERAGEIF",484:"AVERAGEIFS"},Qs={2:1,3:1,10:0,15:1,16:1,17:1,18:1,19:0,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:2,30:2,31:3,32:1,33:1,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,111:1,112:1,113:1,114:1,117:2,118:1,119:4,121:1,126:1,127:1,128:1,129:1,130:1,131:1,133:1,134:1,135:1,136:2,137:2,138:2,140:1,141:1,142:3,143:4,144:4,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186:1,189:3,190:1,195:3,196:3,197:1,198:1,199:3,201:1,207:4,210:3,211:1,212:2,213:2,214:1,215:1,225:0,229:1,230:1,231:1,232:1,233:1,234:1,235:3,244:1,247:4,252:2,257:1,261:1,271:1,273:4,274:2,275:2,276:2,277:3,278:3,279:1,280:3,281:3,282:3,283:1,284:1,285:2,286:4,287:3,288:2,289:4,290:3,291:3,292:3,293:4,294:1,295:3,296:1,297:3,298:1,299:2,300:3,301:3,302:4,303:2,304:2,305:2,306:2,307:2,308:2,309:3,310:2,311:2,312:2,313:2,314:2,315:2,316:4,325:2,326:2,327:2,328:2,331:2,332:2,337:2,342:1,343:1,346:2,347:1,350:4,351:3,352:1,353:2,360:1,368:1,369:1,370:1,371:1,372:1,373:1,374:1,375:1,376:1,377:1,378:1,382:3,385:1,392:1,393:1,396:2,397:2,398:2,399:1,400:1,401:1,402:1,403:1,404:1,405:1,406:1,407:1,408:1,409:1,410:1,414:4,415:1,416:1,417:2,420:1,421:1,422:2,424:1,425:2,426:2,427:2,428:2,430:3,438:3,439:3,440:3,443:2,444:2,445:2,446:2,447:6,448:6,449:2,450:2,464:2,468:3,476:2,479:1,480:2,65535:0};function ec(e){return"of:"==e.slice(0,3)&&(e=e.slice(3)),61==e.charCodeAt(0)&&61==(e=e.slice(1)).charCodeAt(0)&&(e=e.slice(1)),(e=(e=(e=e.replace(/COM\.MICROSOFT\./g,"")).replace(/\[((?:\.[A-Z]+[0-9]+)(?::\.[A-Z]+[0-9]+)?)\]/g,function(e,t){return t.replace(/\./g,"")})).replace(/\[.(#[A-Z]*[?!])\]/g,"$1")).replace(/[;~]/g,",").replace(/\|/g,";")}function tc(e){return("of:="+e.replace(fs,"$1[.$2$3$4$5]").replace(/\]:\[/g,":")).replace(/;/g,"|").replace(/,/g,";")}function rc(e){var t=e.split(":");return[t[0].split(".")[0],t[0].split(".")[1]+(t.length>1?":"+(t[1].split(".")[1]||t[1].split(".")[0]):"")]}function nc(e){return e.replace(/\./,"!")}var ac={},oc={},ic="undefined"!=typeof Map;function sc(e,t,r){var n=0,a=e.length;if(r){if(ic?r.has(t):Object.prototype.hasOwnProperty.call(r,t))for(var o=ic?r.get(t):r[t];n<o.length;++n)if(e[o[n]].t===t)return e.Count++,o[n]}else for(;n<a;++n)if(e[n].t===t)return e.Count++,n;return e[a]={t:t},e.Count++,e.Unique++,r&&(ic?(r.has(t)||r.set(t,[]),r.get(t).push(a)):(Object.prototype.hasOwnProperty.call(r,t)||(r[t]=[]),r[t].push(a))),a}function cc(e,t){var r={min:e+1,max:e+1},n=-1;return t.MDW&&(fi=t.MDW),null!=t.width?r.customWidth=1:null!=t.wpx?n=di(t.wpx):null!=t.wch&&(n=t.wch),n>-1?(r.width=pi(n),r.customWidth=1):null!=t.width&&(r.width=t.width),t.hidden&&(r.hidden=!0),null!=t.level&&(r.outlineLevel=r.level=t.level),r}function lc(e,t){if(e){var r=[.7,.7,.75,.75,.3,.3];"xlml"==t&&(r=[1,1,1,1,.5,.5]),null==e.left&&(e.left=r[0]),null==e.right&&(e.right=r[1]),null==e.top&&(e.top=r[2]),null==e.bottom&&(e.bottom=r[3]),null==e.header&&(e.header=r[4]),null==e.footer&&(e.footer=r[5])}}function uc(e,t,r){var n=r.revssf[null!=t.z?t.z:"General"],a=60,o=e.length;if(null==n&&r.ssf)for(;a<392;++a)if(null==r.ssf[a]){ve(t.z,a),r.ssf[a]=t.z,r.revssf[t.z]=n=a;break}for(a=0;a!=o;++a)if(e[a].numFmtId===n)return a;return e[o]={numFmtId:n,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1},o}function fc(e,t,r,n,a,o){try{n.cellNF&&(e.z=B[t])}catch(e){if(n.WTF)throw e}if("z"!==e.t||n.cellStyles){if("d"===e.t&&"string"==typeof e.v&&(e.v=ze(e.v)),(!n||!1!==n.cellText)&&"z"!==e.t)try{if(null==B[t]&&ve(Se[t]||"General",t),"e"===e.t)e.w=e.w||Fn[e.v];else if(0===t)if("n"===e.t)(0|e.v)===e.v?e.w=e.v.toString(10):e.w=K(e.v);else if("d"===e.t){var i=Pe(e.v);e.w=(0|i)===i?i.toString(10):K(i)}else{if(void 0===e.v)return"";e.w=J(e.v,oc)}else"d"===e.t?e.w=me(t,Pe(e.v),oc):e.w=me(t,e.v,oc)}catch(e){if(n.WTF)throw e}if(n.cellStyles&&null!=r)try{e.s=o.Fills[r],e.s.fgColor&&e.s.fgColor.theme&&!e.s.fgColor.rgb&&(e.s.fgColor.rgb=si(a.themeElements.clrScheme[e.s.fgColor.theme].rgb,e.s.fgColor.tint||0),n.WTF&&(e.s.fgColor.raw_rgb=a.themeElements.clrScheme[e.s.fgColor.theme].rgb)),e.s.bgColor&&e.s.bgColor.theme&&(e.s.bgColor.rgb=si(a.themeElements.clrScheme[e.s.bgColor.theme].rgb,e.s.bgColor.tint||0),n.WTF&&(e.s.bgColor.raw_rgb=a.themeElements.clrScheme[e.s.bgColor.theme].rgb))}catch(e){if(n.WTF&&o.Fills)throw e}}}function hc(e,t,r){if(e&&e["!ref"]){var n=qr(e["!ref"]);if(n.e.c<n.s.c||n.e.r<n.s.r)throw new Error("Bad range ("+r+"): "+e["!ref"])}}var dc=/<(?:\w:)?mergeCell ref="[A-Z0-9:]+"\s*[\/]?>/g,pc=/<(?:\w+:)?sheetData[^>]*>([\s\S]*)<\/(?:\w+:)?sheetData>/,gc=/<(?:\w:)?hyperlink [^>]*>/gm,mc=/"(\w*:\w*)"/,vc=/<(?:\w:)?col\b[^>]*[\/]?>/g,bc=/<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g,yc=/<(?:\w:)?pageMargins[^>]*\/>/g,wc=/<(?:\w:)?sheetPr\b(?:[^>a-z][^>]*)?\/>/,Sc=/<(?:\w:)?sheetPr[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetPr)>/,xc=/<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/;function kc(e,t,r,n,a,o,i){if(!e)return e;n||(n={"!id":{}}),null!=p&&null==t.dense&&(t.dense=p);var s=t.dense?[]:{},c={s:{r:2e6,c:2e6},e:{r:0,c:0}},l="",u="",f=e.match(pc);f?(l=e.slice(0,f.index),u=e.slice(f.index+f[0].length)):l=u=e;var h=l.match(wc);h?Ac(h[0],s,a,r):(h=l.match(Sc))&&function(e,t,r,n,a){Ac(e.slice(0,e.indexOf(">")),r,n,a)}(h[0],h[1],s,a,r);var d=(l.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(d>0){var g=l.slice(d,d+50).match(mc);g&&function(e,t){var r=qr(t);r.s.r<=r.e.r&&r.s.c<=r.e.c&&r.s.r>=0&&r.s.c>=0&&(e["!ref"]=Vr(r))}(s,g[1])}var m=l.match(xc);m&&m[1]&&function(e,t){t.Views||(t.Views=[{}]);(e.match(_c)||[]).forEach(function(e,r){var n=dt(e);t.Views[r]||(t.Views[r]={}),+n.zoomScale&&(t.Views[r].zoom=+n.zoomScale),Tt(n.rightToLeft)&&(t.Views[r].RTL=!0)})}(m[1],a);var v=[];if(t.cellStyles){var b=l.match(vc);b&&function(e,t){for(var r=!1,n=0;n!=t.length;++n){var a=dt(t[n],!0);a.hidden&&(a.hidden=Tt(a.hidden));var o=parseInt(a.min,10)-1,i=parseInt(a.max,10)-1;for(a.outlineLevel&&(a.level=+a.outlineLevel||0),delete a.min,delete a.max,a.width=+a.width,!r&&a.width&&(r=!0,mi(a.width)),vi(a);o<=i;)e[o++]=Ve(a)}}(v,b)}f&&Cc(f[1],s,t,c,o,i);var y=u.match(bc);y&&(s["!autofilter"]=function(e){return{ref:(e.match(/ref="([^"]*)"/)||[])[1]}}(y[0]));var w=[],S=u.match(dc);if(S)for(d=0;d!=S.length;++d)w[d]=qr(S[d].slice(S[d].indexOf('"')+1));var x=u.match(gc);x&&function(e,t,r){for(var n=Array.isArray(e),a=0;a!=t.length;++a){var o=dt(Rt(t[a]),!0);if(!o.ref)return;var i=((r||{})["!id"]||[])[o.id];i?(o.Target=i.Target,o.location&&(o.Target+="#"+vt(o.location))):(o.Target="#"+vt(o.location),i={Target:o.Target,TargetMode:"Internal"}),o.Rel=i,o.tooltip&&(o.Tooltip=o.tooltip,delete o.tooltip);for(var s=qr(o.ref),c=s.s.r;c<=s.e.r;++c)for(var l=s.s.c;l<=s.e.c;++l){var u=zr({c:l,r:c});n?(e[c]||(e[c]=[]),e[c][l]||(e[c][l]={t:"z",v:void 0}),e[c][l].l=o):(e[u]||(e[u]={t:"z",v:void 0}),e[u].l=o)}}}(s,x,n);var k=u.match(yc);if(k&&(s["!margins"]=function(e){var t={};return["left","right","top","bottom","header","footer"].forEach(function(r){e[r]&&(t[r]=parseFloat(e[r]))}),t}(dt(k[0]))),!s["!ref"]&&c.e.c>=c.s.c&&c.e.r>=c.s.r&&(s["!ref"]=Vr(c)),t.sheetRows>0&&s["!ref"]){var A=qr(s["!ref"]);t.sheetRows<=+A.e.r&&(A.e.r=t.sheetRows-1,A.e.r>c.e.r&&(A.e.r=c.e.r),A.e.r<A.s.r&&(A.s.r=A.e.r),A.e.c>c.e.c&&(A.e.c=c.e.c),A.e.c<A.s.c&&(A.s.c=A.e.c),s["!fullref"]=s["!ref"],s["!ref"]=Vr(A))}return v.length>0&&(s["!cols"]=v),w.length>0&&(s["!merges"]=w),s}function Ac(e,t,r,n){var a=dt(e);r.Sheets[n]||(r.Sheets[n]={}),a.codeName&&(r.Sheets[n].CodeName=vt(Rt(a.codeName)))}var Tc=["objects","scenarios","selectLockedCells","selectUnlockedCells"],Ec=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];var _c=/<(?:\w:)?sheetView(?:[^>a-z][^>]*)?\/?>/;function Nc(e,t,r,n){if(e.c&&r["!comments"].push([t,e.c]),void 0===e.v&&"string"!=typeof e.f||"z"===e.t&&!e.f)return"";var a="",o=e.t,i=e.v;if("z"!==e.t)switch(e.t){case"b":a=e.v?"1":"0";break;case"n":a=""+e.v;break;case"e":a=Fn[e.v];break;case"d":n&&n.cellDates?a=ze(e.v,-1).toISOString():((e=Ve(e)).t="n",a=""+(e.v=Pe(ze(e.v)))),void 0===e.z&&(e.z=B[14]);break;default:a=e.v}var s=Bt("v",wt(a)),c={r:t},l=uc(n.cellXfs,e,n);switch(0!==l&&(c.s=l),e.t){case"n":break;case"d":c.t="d";break;case"b":c.t="b";break;case"e":c.t="e";break;case"z":break;default:if(null==e.v){delete e.t;break}if(e.v.length>32767)throw new Error("Text length must not exceed 32767 characters");if(n&&n.bookSST){s=Bt("v",""+sc(n.Strings,e.v,n.revStrings)),c.t="s";break}c.t="str"}if(e.t!=o&&(e.t=o,e.v=i),"string"==typeof e.f&&e.f){var u=e.F&&e.F.slice(0,t.length)==t?{t:"array",ref:e.F}:null;s=Ut("f",wt(e.f),u)+(null!=e.v?s:"")}return e.l&&r["!links"].push([t,e.l]),e.D&&(c.cm=1),Ut("c",s,c)}var Cc=function(){var e=/<(?:\w+:)?c[ \/>]/,t=/<\/(?:\w+:)?row>/,r=/r=["']([^"']*)["']/,n=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/,a=/ref=["']([^"']*)["']/,o=Lt("v"),i=Lt("f");return function(s,c,l,u,f,h){for(var d,p,g,m,v,b=0,y="",w=[],S=[],x=0,k=0,A=0,T="",E=0,_=0,N=0,C=0,R=Array.isArray(h.CellXf),O=[],L=[],P=Array.isArray(c),I=[],F={},D=!1,M=!!l.sheetStubs,j=s.split(t),W=0,U=j.length;W!=U;++W){var z=(y=j[W].trim()).length;if(0!==z){var H=0;e:for(b=0;b<z;++b)switch(y[b]){case">":if("/"!=y[b-1]){++b;break e}if(l&&l.cellStyles){if(E=null!=(p=dt(y.slice(H,b),!0)).r?parseInt(p.r,10):E+1,_=-1,l.sheetRows&&l.sheetRows<E)continue;F={},D=!1,p.ht&&(D=!0,F.hpt=parseFloat(p.ht),F.hpx=wi(F.hpt)),"1"==p.hidden&&(D=!0,F.hidden=!0),null!=p.outlineLevel&&(D=!0,F.level=+p.outlineLevel),D&&(I[E-1]=F)}break;case"<":H=b}if(H>=b)break;if(E=null!=(p=dt(y.slice(H,b),!0)).r?parseInt(p.r,10):E+1,_=-1,!(l.sheetRows&&l.sheetRows<E)){u.s.r>E-1&&(u.s.r=E-1),u.e.r<E-1&&(u.e.r=E-1),l&&l.cellStyles&&(F={},D=!1,p.ht&&(D=!0,F.hpt=parseFloat(p.ht),F.hpx=wi(F.hpt)),"1"==p.hidden&&(D=!0,F.hidden=!0),null!=p.outlineLevel&&(D=!0,F.level=+p.outlineLevel),D&&(I[E-1]=F)),w=y.slice(b).split(e);for(var V=0;V!=w.length&&"<"==w[V].trim().charAt(0);++V);for(w=w.slice(V),b=0;b!=w.length;++b)if(0!==(y=w[b].trim()).length){if(S=y.match(r),x=b,k=0,A=0,y="<c "+("<"==y.slice(0,1)?">":"")+y,null!=S&&2===S.length){for(x=0,T=S[1],k=0;k!=T.length&&!((A=T.charCodeAt(k)-64)<1||A>26);++k)x=26*x+A;_=--x}else++_;for(k=0;k!=y.length&&62!==y.charCodeAt(k);++k);if(++k,(p=dt(y.slice(0,k),!0)).r||(p.r=zr({r:E-1,c:_})),d={t:""},null!=(S=(T=y.slice(k)).match(o))&&""!==S[1]&&(d.v=vt(S[1])),l.cellFormula){if(null!=(S=T.match(i))&&""!==S[1]){if(d.f=vt(Rt(S[1])).replace(/\r\n/g,"\n"),l.xlfn||(d.f=gs(d.f)),S[0].indexOf('t="array"')>-1)d.F=(T.match(a)||[])[1],d.F.indexOf(":")>-1&&O.push([qr(d.F),d.F]);else if(S[0].indexOf('t="shared"')>-1){m=dt(S[0]);var q=vt(Rt(S[1]));l.xlfn||(q=gs(q)),L[parseInt(m.si,10)]=[m,q,p.r]}}else(S=T.match(/<f[^>]*\/>/))&&L[(m=dt(S[0])).si]&&(d.f=ps(L[m.si][1],L[m.si][2],p.r));var $=Ur(p.r);for(k=0;k<O.length;++k)$.r>=O[k][0].s.r&&$.r<=O[k][0].e.r&&$.c>=O[k][0].s.c&&$.c<=O[k][0].e.c&&(d.F=O[k][1])}if(null==p.t&&void 0===d.v)if(d.f||d.F)d.v=0,d.t="n";else{if(!M)continue;d.t="z"}else d.t=p.t||"n";switch(u.s.c>_&&(u.s.c=_),u.e.c<_&&(u.e.c=_),d.t){case"n":if(""==d.v||null==d.v){if(!M)continue;d.t="z"}else d.v=parseFloat(d.v);break;case"s":if(void 0===d.v){if(!M)continue;d.t="z"}else g=ac[parseInt(d.v,10)],d.v=g.t,d.r=g.r,l.cellHTML&&(d.h=g.h);break;case"str":d.t="s",d.v=null!=d.v?Rt(d.v):"",l.cellHTML&&(d.h=kt(d.v));break;case"inlineStr":S=T.match(n),d.t="s",null!=S&&(g=jo(S[1]))?(d.v=g.t,l.cellHTML&&(d.h=g.h)):d.v="";break;case"b":d.v=Tt(d.v);break;case"d":l.cellDates?d.v=ze(d.v,1):(d.v=Pe(ze(d.v,1)),d.t="n");break;case"e":l&&!1===l.cellText||(d.w=d.v),d.v=Dn[d.v]}if(N=C=0,v=null,R&&void 0!==p.s&&null!=(v=h.CellXf[p.s])&&(null!=v.numFmtId&&(N=v.numFmtId),l.cellStyles&&null!=v.fillId&&(C=v.fillId)),fc(d,N,C,l,f,h),l.cellDates&&R&&"n"==d.t&&he(B[N])&&(d.t="d",d.v=Me(d.v)),p.cm&&l.xlmeta){var G=(l.xlmeta.Cell||[])[+p.cm-1];G&&"XLDAPR"==G.type&&(d.D=!0)}if(P){var X=Ur(p.r);c[X.r]||(c[X.r]=[]),c[X.r][X.c]=d}else c[p.r]=d}}}}I.length>0&&(c["!rows"]=I)}}();function Rc(e,t,r,n){var a,o=[st,Ut("worksheet",null,{xmlns:$t[0],"xmlns:r":qt.r})],i=r.SheetNames[e],s="",c=r.Sheets[i];null==c&&(c={});var l=c["!ref"]||"A1",u=qr(l);if(u.e.c>16383||u.e.r>1048575){if(t.WTF)throw new Error("Range "+l+" exceeds format limit A1:XFD1048576");u.e.c=Math.min(u.e.c,16383),u.e.r=Math.min(u.e.c,1048575),l=Vr(u)}n||(n={}),c["!comments"]=[];var f=[];!function(e,t,r,n,a){var o=!1,i={},s=null;if("xlsx"!==n.bookType&&t.vbaraw){var c=t.SheetNames[r];try{t.Workbook&&(c=t.Workbook.Sheets[r].CodeName||c)}catch(e){}o=!0,i.codeName=Ot(wt(c))}if(e&&e["!outline"]){var l={summaryBelow:1,summaryRight:1};e["!outline"].above&&(l.summaryBelow=0),e["!outline"].left&&(l.summaryRight=0),s=(s||"")+Ut("outlinePr",null,l)}(o||s)&&(a[a.length]=Ut("sheetPr",s,i))}(c,r,e,t,o),o[o.length]=Ut("dimension",null,{ref:l}),o[o.length]=function(e,t,r,n){var a={workbookViewId:"0"};return(((n||{}).Workbook||{}).Views||[])[0]&&(a.rightToLeft=n.Workbook.Views[0].RTL?"1":"0"),Ut("sheetViews",Ut("sheetView",null,a),{})}(0,0,0,r),t.sheetFormat&&(o[o.length]=Ut("sheetFormatPr",null,{defaultRowHeight:t.sheetFormat.defaultRowHeight||"16",baseColWidth:t.sheetFormat.baseColWidth||"10",outlineLevelRow:t.sheetFormat.outlineLevelRow||"7"})),null!=c["!cols"]&&c["!cols"].length>0&&(o[o.length]=function(e,t){for(var r,n=["<cols>"],a=0;a!=t.length;++a)(r=t[a])&&(n[n.length]=Ut("col",null,cc(a,r)));return n[n.length]="</cols>",n.join("")}(0,c["!cols"])),o[a=o.length]="<sheetData/>",c["!links"]=[],null!=c["!ref"]&&(s=function(e,t,r,n){var a,o,i=[],s=[],c=qr(e["!ref"]),l="",u="",f=[],h=0,d=0,p=e["!rows"],g=Array.isArray(e),m={r:u},v=-1;for(d=c.s.c;d<=c.e.c;++d)f[d]=Wr(d);for(h=c.s.r;h<=c.e.r;++h){for(s=[],u=jr(h),d=c.s.c;d<=c.e.c;++d){a=f[d]+u;var b=g?(e[h]||[])[d]:e[a];void 0!==b&&null!=(l=Nc(b,a,e,t))&&s.push(l)}(s.length>0||p&&p[h])&&(m={r:u},p&&p[h]&&((o=p[h]).hidden&&(m.hidden=1),v=-1,o.hpx?v=yi(o.hpx):o.hpt&&(v=o.hpt),v>-1&&(m.ht=v,m.customHeight=1),o.level&&(m.outlineLevel=o.level)),i[i.length]=Ut("row",s.join(""),m))}if(p)for(;h<p.length;++h)p&&p[h]&&(m={r:h+1},(o=p[h]).hidden&&(m.hidden=1),v=-1,o.hpx?v=yi(o.hpx):o.hpt&&(v=o.hpt),v>-1&&(m.ht=v,m.customHeight=1),o.level&&(m.outlineLevel=o.level),i[i.length]=Ut("row","",m));return i.join("")}(c,t,0,0)).length>0&&(o[o.length]=s),o.length>a+1&&(o[o.length]="</sheetData>",o[a]=o[a].replace("/>",">")),c["!protect"]&&(o[o.length]=function(e){var t={sheet:1};return Tc.forEach(function(r){null!=e[r]&&e[r]&&(t[r]="1")}),Ec.forEach(function(r){null==e[r]||e[r]||(t[r]="0")}),e.password&&(t.password=ti(e.password).toString(16).toUpperCase()),Ut("sheetProtection",null,t)}(c["!protect"])),null!=c["!autofilter"]&&(o[o.length]=function(e,t,r,n){var a="string"==typeof e.ref?e.ref:Vr(e.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var o=r.Workbook.Names,i=Hr(a);i.s.r==i.e.r&&(i.e.r=Hr(t["!ref"]).e.r,a=Vr(i));for(var s=0;s<o.length;++s){var c=o[s];if("_xlnm._FilterDatabase"==c.Name&&c.Sheet==n){c.Ref="'"+r.SheetNames[n]+"'!"+a;break}}return s==o.length&&o.push({Name:"_xlnm._FilterDatabase",Sheet:n,Ref:"'"+r.SheetNames[n]+"'!"+a}),Ut("autoFilter",null,{ref:a})}(c["!autofilter"],c,r,e)),null!=c["!merges"]&&c["!merges"].length>0&&(o[o.length]=function(e){if(0===e.length)return"";for(var t='<mergeCells count="'+e.length+'">',r=0;r!=e.length;++r)t+='<mergeCell ref="'+Vr(e[r])+'"/>';return t+"</mergeCells>"}(c["!merges"]));var h,d=-1,p=-1;return c["!links"].length>0&&(o[o.length]="<hyperlinks>",c["!links"].forEach(function(e){e[1].Target&&(h={ref:e[0]},"#"!=e[1].Target.charAt(0)&&(p=Vn(n,-1,wt(e[1].Target).replace(/#.*$/,""),Wn.HLINK),h["r:id"]="rId"+p),(d=e[1].Target.indexOf("#"))>-1&&(h.location=wt(e[1].Target.slice(d+1))),e[1].Tooltip&&(h.tooltip=wt(e[1].Tooltip)),o[o.length]=Ut("hyperlink",null,h))}),o[o.length]="</hyperlinks>"),delete c["!links"],null!=c["!margins"]&&(o[o.length]=function(e){return lc(e),Ut("pageMargins",null,e)}(c["!margins"])),t&&!t.ignoreEC&&null!=t.ignoreEC||(o[o.length]=Bt("ignoredErrors",Ut("ignoredError",null,{numberStoredAsText:1,sqref:l}))),f.length>0&&(p=Vn(n,-1,"../drawings/drawing"+(e+1)+".xml",Wn.DRAW),o[o.length]=Ut("drawing",null,{"r:id":"rId"+p}),c["!drawing"]=f),c["!comments"].length>0&&(p=Vn(n,-1,"../drawings/vmlDrawing"+(e+1)+".vml",Wn.VML),o[o.length]=Ut("legacyDrawing",null,{"r:id":"rId"+p}),c["!legacy"]=p),o.length>1&&(o[o.length]="</worksheet>",o[1]=o[1].replace("/>",">")),o.join("")}function Oc(e,t,r,n){var a=function(e,t,r){var n=Cr(145),a=(r["!rows"]||[])[e]||{};n._W(4,e),n._W(4,0);var o=320;a.hpx?o=20*yi(a.hpx):a.hpt&&(o=20*a.hpt),n._W(2,o),n._W(1,0);var i=0;a.level&&(i|=a.level),a.hidden&&(i|=16),(a.hpx||a.hpt)&&(i|=32),n._W(1,i),n._W(1,0);var s=0,c=n.l;n.l+=4;for(var l={r:e,c:0},u=0;u<16;++u)if(!(t.s.c>u+1<<10||t.e.c<u<<10)){for(var f=-1,h=-1,d=u<<10;d<u+1<<10;++d)l.c=d,(Array.isArray(r)?(r[l.r]||[])[l.c]:r[zr(l)])&&(f<0&&(f=d),h=d);f<0||(++s,n._W(4,f),n._W(4,h))}var p=n.l;return n.l=c,n._W(4,s),n.l=p,n.length>n.l?n.slice(0,n.l):n}(n,r,t);(a.length>17||(t["!rows"]||[])[n])&&Lr(e,0,a)}var Lc=yn,Pc=wn;function Ic(e){return[sn(e),Sn(e),"n"]}var Fc=yn,Dc=wn;var Mc=["left","right","top","bottom","header","footer"];function jc(e,t,r,n,a,o,i){if(void 0===t.v)return!1;var s="";switch(t.t){case"b":s=t.v?"1":"0";break;case"d":(t=Ve(t)).z=t.z||B[14],t.v=Pe(ze(t.v)),t.t="n";break;case"n":case"e":s=""+t.v;break;default:s=t.v}var c={r:r,c:n};switch(c.s=uc(a.cellXfs,t,a),t.l&&o["!links"].push([zr(c),t.l]),t.c&&o["!comments"].push([zr(c),t.c]),t.t){case"s":case"str":return a.bookSST?(s=sc(a.Strings,t.v,a.revStrings),c.t="s",c.v=s,i?Lr(e,18,function(e,t,r){return null==r&&(r=Cr(8)),cn(t,r),r._W(4,t.v),r}(0,c)):Lr(e,7,function(e,t,r){return null==r&&(r=Cr(12)),on(t,r),r._W(4,t.v),r}(0,c))):(c.t="str",i?Lr(e,17,function(e,t,r){return null==r&&(r=Cr(8+4*e.v.length)),cn(t,r),Qr(e.v,r),r.length>r.l?r.slice(0,r.l):r}(t,c)):Lr(e,6,function(e,t,r){return null==r&&(r=Cr(12+4*e.v.length)),on(t,r),Qr(e.v,r),r.length>r.l?r.slice(0,r.l):r}(t,c))),!0;case"n":return t.v==(0|t.v)&&t.v>-1e3&&t.v<1e3?i?Lr(e,13,function(e,t,r){return null==r&&(r=Cr(8)),cn(t,r),vn(e.v,r),r}(t,c)):Lr(e,2,function(e,t,r){return null==r&&(r=Cr(12)),on(t,r),vn(e.v,r),r}(t,c)):i?Lr(e,16,function(e,t,r){return null==r&&(r=Cr(12)),cn(t,r),xn(e.v,r),r}(t,c)):Lr(e,5,function(e,t,r){return null==r&&(r=Cr(16)),on(t,r),xn(e.v,r),r}(t,c)),!0;case"b":return c.t="b",i?Lr(e,15,function(e,t,r){return null==r&&(r=Cr(5)),cn(t,r),r._W(1,e.v?1:0),r}(t,c)):Lr(e,4,function(e,t,r){return null==r&&(r=Cr(9)),on(t,r),r._W(1,e.v?1:0),r}(t,c)),!0;case"e":return c.t="e",i?Lr(e,14,function(e,t,r){return null==r&&(r=Cr(8)),cn(t,r),r._W(1,e.v),r._W(2,0),r._W(1,0),r}(t,c)):Lr(e,3,function(e,t,r){return null==r&&(r=Cr(9)),on(t,r),r._W(1,e.v),r}(t,c)),!0}return i?Lr(e,12,function(e,t,r){return null==r&&(r=Cr(4)),cn(t,r)}(0,c)):Lr(e,1,function(e,t,r){return null==r&&(r=Cr(8)),on(t,r)}(0,c)),!0}function Bc(e,t){t&&t["!merges"]&&(Lr(e,177,function(e,t){return null==t&&(t=Cr(4)),t._W(4,e),t}(t["!merges"].length)),t["!merges"].forEach(function(t){Lr(e,176,Dc(t))}),Lr(e,178))}function Wc(e,t){t&&t["!cols"]&&(Lr(e,390),t["!cols"].forEach(function(t,r){t&&Lr(e,60,function(e,t,r){null==r&&(r=Cr(18));var n=cc(e,t);r._W(-4,e),r._W(-4,e),r._W(4,256*(n.width||10)),r._W(4,0);var a=0;return t.hidden&&(a|=1),"number"==typeof n.width&&(a|=2),t.level&&(a|=t.level<<8),r._W(2,a),r}(r,t))}),Lr(e,391))}function Uc(e,t){t&&t["!ref"]&&(Lr(e,648),Lr(e,649,function(e){var t=Cr(24);return t._W(4,4),t._W(4,1),wn(e,t),t}(qr(t["!ref"]))),Lr(e,650))}function zc(e,t,r){t["!links"].forEach(function(t){if(t[1].Target){var n=Vn(r,-1,t[1].Target.replace(/#.*$/,""),Wn.HLINK);Lr(e,494,function(e,t){var r=Cr(50+4*(e[1].Target.length+(e[1].Tooltip||"").length));wn({s:Ur(e[0]),e:Ur(e[0])},r),gn("rId"+t,r);var n=e[1].Target.indexOf("#");return Qr((-1==n?"":e[1].Target.slice(n+1))||"",r),Qr(e[1].Tooltip||"",r),Qr("",r),r.slice(0,r.l)}(t,n))}}),delete t["!links"]}function Hc(e,t,r){Lr(e,133),Lr(e,137,function(e,t,r){null==r&&(r=Cr(30));var n=924;return(((t||{}).Views||[])[0]||{}).RTL&&(n|=32),r._W(2,n),r._W(4,0),r._W(4,0),r._W(4,0),r._W(1,0),r._W(1,0),r._W(2,0),r._W(2,100),r._W(2,0),r._W(2,0),r._W(2,0),r._W(4,0),r}(0,r)),Lr(e,138),Lr(e,134)}function Vc(e,t){t["!protect"]&&Lr(e,535,function(e,t){return null==t&&(t=Cr(66)),t._W(2,e.password?ti(e.password):0),t._W(4,1),[["objects",!1],["scenarios",!1],["formatCells",!0],["formatColumns",!0],["formatRows",!0],["insertColumns",!0],["insertRows",!0],["insertHyperlinks",!0],["deleteColumns",!0],["deleteRows",!0],["selectLockedCells",!1],["sort",!0],["autoFilter",!0],["pivotTables",!0],["selectUnlockedCells",!1]].forEach(function(r){r[1]?t._W(4,null==e[r[0]]||e[r[0]]?0:1):t._W(4,null!=e[r[0]]&&e[r[0]]?0:1)}),t}(t["!protect"]))}function qc(e,t,r,n){var a=Or(),o=r.SheetNames[e],i=r.Sheets[o]||{},s=o;try{r&&r.Workbook&&(s=r.Workbook.Sheets[e].CodeName||s)}catch(e){}var c=qr(i["!ref"]||"A1");if(c.e.c>16383||c.e.r>1048575){if(t.WTF)throw new Error("Range "+(i["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");c.e.c=Math.min(c.e.c,16383),c.e.r=Math.min(c.e.c,1048575)}return i["!links"]=[],i["!comments"]=[],Lr(a,129),(r.vbaraw||i["!outline"])&&Lr(a,147,function(e,t,r){null==r&&(r=Cr(84+4*e.length));var n=192;t&&(t.above&&(n&=-65),t.left&&(n&=-129)),r._W(1,n);for(var a=1;a<3;++a)r._W(1,0);return kn({auto:1},r),r._W(-4,-1),r._W(-4,-1),un(e,r),r.slice(0,r.l)}(s,i["!outline"])),Lr(a,148,Pc(c)),Hc(a,0,r.Workbook),Wc(a,i),function(e,t,r,n){var a,o=qr(t["!ref"]||"A1"),i="",s=[];Lr(e,145);var c=Array.isArray(t),l=o.e.r;t["!rows"]&&(l=Math.max(o.e.r,t["!rows"].length-1));for(var u=o.s.r;u<=l;++u){i=jr(u),Oc(e,t,o,u);var f=!1;if(u<=o.e.r)for(var h=o.s.c;h<=o.e.c;++h){u===o.s.r&&(s[h]=Wr(h)),a=s[h]+i;var d=c?(t[u]||[])[h]:t[a];f=!!d&&jc(e,d,u,h,n,t,f)}}Lr(e,146)}(a,i,0,t),Vc(a,i),function(e,t,r,n){if(t["!autofilter"]){var a=t["!autofilter"],o="string"==typeof a.ref?a.ref:Vr(a.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var i=r.Workbook.Names,s=Hr(o);s.s.r==s.e.r&&(s.e.r=Hr(t["!ref"]).e.r,o=Vr(s));for(var c=0;c<i.length;++c){var l=i[c];if("_xlnm._FilterDatabase"==l.Name&&l.Sheet==n){l.Ref="'"+r.SheetNames[n]+"'!"+o;break}}c==i.length&&i.push({Name:"_xlnm._FilterDatabase",Sheet:n,Ref:"'"+r.SheetNames[n]+"'!"+o}),Lr(e,161,wn(qr(o))),Lr(e,162)}}(a,i,r,e),Bc(a,i),zc(a,i,n),i["!margins"]&&Lr(a,476,function(e,t){return null==t&&(t=Cr(48)),lc(e),Mc.forEach(function(r){xn(e[r],t)}),t}(i["!margins"])),t&&!t.ignoreEC&&null!=t.ignoreEC||Uc(a,i),function(e,t,r,n){if(t["!comments"].length>0){var a=Vn(n,-1,"../drawings/vmlDrawing"+(r+1)+".vml",Wn.VML);Lr(e,551,gn("rId"+a)),t["!legacy"]=a}}(a,i,e,n),Lr(a,130),a.end()}function $c(e,t,r,n,a,o){var i=o||{"!type":"chart"};if(!e)return o;var s=0,c=0,l="A",u={s:{r:2e6,c:2e6},e:{r:0,c:0}};return(e.match(/<c:numCache>[\s\S]*?<\/c:numCache>/gm)||[]).forEach(function(e){var t=function(e){var t,r=[],n=e.match(/^<c:numCache>/);(e.match(/<c:pt idx="(\d*)">(.*?)<\/c:pt>/gm)||[]).forEach(function(e){var t=e.match(/<c:pt idx="(\d*?)"><c:v>(.*)<\/c:v><\/c:pt>/);t&&(r[+t[1]]=n?+t[2]:t[2])});var a=vt((e.match(/<c:formatCode>([\s\S]*?)<\/c:formatCode>/)||["","General"])[1]);return(e.match(/<c:f>(.*?)<\/c:f>/gm)||[]).forEach(function(e){t=e.replace(/<.*?>/g,"")}),[r,a,t]}(e);u.s.r=u.s.c=0,u.e.c=s,l=Wr(s),t[0].forEach(function(e,r){i[l+jr(r)]={t:"n",v:e,z:t[1]},c=r}),u.e.r<c&&(u.e.r=c),++s}),s>0&&(i["!ref"]=Vr(u)),i}var Gc=[["allowRefreshQuery",!1,"bool"],["autoCompressPictures",!0,"bool"],["backupFile",!1,"bool"],["checkCompatibility",!1,"bool"],["CodeName",""],["date1904",!1,"bool"],["defaultThemeVersion",0,"int"],["filterPrivacy",!1,"bool"],["hidePivotFieldList",!1,"bool"],["promptedSolutions",!1,"bool"],["publishItems",!1,"bool"],["refreshAllConnections",!1,"bool"],["saveExternalLinkValues",!0,"bool"],["showBorderUnselectedTables",!0,"bool"],["showInkAnnotation",!0,"bool"],["showObjects","all"],["showPivotChartFilter",!1,"bool"],["updateLinks","userSet"]],Xc=[["activeTab",0,"int"],["autoFilterDateGrouping",!0,"bool"],["firstSheet",0,"int"],["minimized",!1,"bool"],["showHorizontalScroll",!0,"bool"],["showSheetTabs",!0,"bool"],["showVerticalScroll",!0,"bool"],["tabRatio",600,"int"],["visibility","visible"]],Yc=[],Kc=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function Jc(e,t){for(var r=0;r!=e.length;++r)for(var n=e[r],a=0;a!=t.length;++a){var o=t[a];if(null==n[o[0]])n[o[0]]=o[1];else switch(o[2]){case"bool":"string"==typeof n[o[0]]&&(n[o[0]]=Tt(n[o[0]]));break;case"int":"string"==typeof n[o[0]]&&(n[o[0]]=parseInt(n[o[0]],10))}}}function Zc(e,t){for(var r=0;r!=t.length;++r){var n=t[r];if(null==e[n[0]])e[n[0]]=n[1];else switch(n[2]){case"bool":"string"==typeof e[n[0]]&&(e[n[0]]=Tt(e[n[0]]));break;case"int":"string"==typeof e[n[0]]&&(e[n[0]]=parseInt(e[n[0]],10))}}}function Qc(e){Zc(e.WBProps,Gc),Zc(e.CalcPr,Kc),Jc(e.WBView,Xc),Jc(e.Sheets,Yc),oc.date1904=Tt(e.WBProps.date1904)}var el="][*?/\\".split("");function tl(e,t){if(e.length>31){if(t)return!1;throw new Error("Sheet names cannot exceed 31 chars")}var r=!0;return el.forEach(function(n){if(-1!=e.indexOf(n)){if(!t)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");r=!1}}),r}function rl(e){if(!e||!e.SheetNames||!e.Sheets)throw new Error("Invalid Workbook");if(!e.SheetNames.length)throw new Error("Workbook is empty");var t=e.Workbook&&e.Workbook.Sheets||[];!function(e,t,r){e.forEach(function(n,a){tl(n);for(var o=0;o<a;++o)if(n==e[o])throw new Error("Duplicate Sheet Name: "+n);if(r){var i=t&&t[a]&&t[a].CodeName||n;if(95==i.charCodeAt(0)&&i.length>22)throw new Error("Bad Code Name: Worksheet"+i)}})}(e.SheetNames,t,!!e.vbaraw);for(var r=0;r<e.SheetNames.length;++r)hc(e.Sheets[e.SheetNames[r]],e.SheetNames[r],r)}var nl=/<\w+:workbook/;function al(e){var t=[st];t[t.length]=Ut("workbook",null,{xmlns:$t[0],"xmlns:r":qt.r});var r=e.Workbook&&(e.Workbook.Names||[]).length>0,n={codeName:"ThisWorkbook"};e.Workbook&&e.Workbook.WBProps&&(Gc.forEach(function(t){null!=e.Workbook.WBProps[t[0]]&&e.Workbook.WBProps[t[0]]!=t[1]&&(n[t[0]]=e.Workbook.WBProps[t[0]])}),e.Workbook.WBProps.CodeName&&(n.codeName=e.Workbook.WBProps.CodeName,delete n.CodeName)),t[t.length]=Ut("workbookPr",null,n);var a=e.Workbook&&e.Workbook.Sheets||[],o=0;if(a&&a[0]&&a[0].Hidden){for(t[t.length]="<bookViews>",o=0;o!=e.SheetNames.length&&a[o]&&a[o].Hidden;++o);o==e.SheetNames.length&&(o=0),t[t.length]='<workbookView firstSheet="'+o+'" activeTab="'+o+'"/>',t[t.length]="</bookViews>"}for(t[t.length]="<sheets>",o=0;o!=e.SheetNames.length;++o){var i={name:wt(e.SheetNames[o].slice(0,31))};if(i.sheetId=""+(o+1),i["r:id"]="rId"+(o+1),a[o])switch(a[o].Hidden){case 1:i.state="hidden";break;case 2:i.state="veryHidden"}t[t.length]=Ut("sheet",null,i)}return t[t.length]="</sheets>",r&&(t[t.length]="<definedNames>",e.Workbook&&e.Workbook.Names&&e.Workbook.Names.forEach(function(e){var r={name:e.Name};e.Comment&&(r.comment=e.Comment),null!=e.Sheet&&(r.localSheetId=""+e.Sheet),e.Hidden&&(r.hidden="1"),e.Ref&&(t[t.length]=Ut("definedName",wt(e.Ref),r))}),t[t.length]="</definedNames>"),t.length>2&&(t[t.length]="</workbook>",t[1]=t[1].replace("/>",">")),t.join("")}function ol(e,t){return t||(t=Cr(127)),t._W(4,e.Hidden),t._W(4,e.iTabID),gn(e.strRelID,t),Qr(e.name.slice(0,31),t),t.length>t.l?t.slice(0,t.l):t}function il(e,t){var r={};return e._R(4),r.ArchID=e._R(4),e.l+=t-8,r}function sl(t,r){r||(r=Cr(127));for(var n=0;4!=n;++n)r._W(4,0);return Qr("SheetJS",r),Qr(e.version,r),Qr(e.version,r),Qr("7262",r),r.length>r.l?r.slice(0,r.l):r}function cl(e,t){if(t.Workbook&&t.Workbook.Sheets){for(var r=t.Workbook.Sheets,n=0,a=-1,o=-1;n<r.length;++n)!r[n]||!r[n].Hidden&&-1==a?a=n:1==r[n].Hidden&&-1==o&&(o=n);o>a||(Lr(e,135),Lr(e,158,function(e,t){return t||(t=Cr(29)),t._W(-4,0),t._W(-4,460),t._W(4,28800),t._W(4,17600),t._W(4,500),t._W(4,e),t._W(4,e),t._W(1,120),t.length>t.l?t.slice(0,t.l):t}(a)),Lr(e,136))}}function ll(e,t){var r=Or();return Lr(r,131),Lr(r,128,sl()),Lr(r,153,function(e,t){t||(t=Cr(72));var r=0;return e&&e.filterPrivacy&&(r|=8),t._W(4,r),t._W(4,0),un(e&&e.CodeName||"ThisWorkbook",t),t.slice(0,t.l)}(e.Workbook&&e.Workbook.WBProps||null)),cl(r,e),function(e,t){Lr(e,143);for(var r=0;r!=t.SheetNames.length;++r)Lr(e,156,ol({Hidden:t.Workbook&&t.Workbook.Sheets&&t.Workbook.Sheets[r]&&t.Workbook.Sheets[r].Hidden||0,iTabID:r+1,strRelID:"rId"+(r+1),name:t.SheetNames[r]}));Lr(e,144)}(r,e),Lr(r,132),r.end()}function ul(e,t,r){return".bin"===t.slice(-4)?function(e,t){var r={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""},n=[],a=!1;t||(t={}),t.biff=12;var o=[],i=[[]];return i.SheetNames=[],i.XTI=[],Xl[16]={n:"BrtFRTArchID$",f:il},Rr(e,function(e,s,c){switch(c){case 156:i.SheetNames.push(e.name),r.Sheets.push(e);break;case 153:r.WBProps=e;break;case 39:null!=e.Sheet&&(t.SID=e.Sheet),e.Ref=Us(e.Ptg,0,null,i,t),delete t.SID,delete e.Ptg,o.push(e);break;case 1036:break;case 357:case 358:case 355:case 667:i[0].length?i.push([c,e]):i[0]=[c,e],i[i.length-1].XTI=[];break;case 362:0===i.length&&(i[0]=[],i[0].XTI=[]),i[i.length-1].XTI=i[i.length-1].XTI.concat(e),i.XTI=i.XTI.concat(e);break;case 361:break;case 2071:case 158:case 143:case 664:case 353:break;case 3072:case 3073:case 534:case 677:case 157:case 610:case 2050:case 155:case 548:case 676:case 128:case 665:case 2128:case 2125:case 549:case 2053:case 596:case 2076:case 2075:case 2082:case 397:case 154:case 1117:case 553:case 2091:break;case 35:n.push(c),a=!0;break;case 36:n.pop(),a=!1;break;case 37:n.push(c),a=!0;break;case 38:n.pop(),a=!1;break;case 16:break;default:if(s.T);else if(!a||t.WTF&&37!=n[n.length-1]&&35!=n[n.length-1])throw new Error("Unexpected record 0x"+c.toString(16))}},t),Qc(r),r.Names=o,r.supbooks=i,r}(e,r):function(e,t){if(!e)throw new Error("Could not find file");var r={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},Names:[],xmlns:""},n=!1,a="xmlns",o={},i=0;if(e.replace(ut,function(s,c){var l=dt(s);switch(pt(l[0])){case"<?xml":break;case"<workbook":s.match(nl)&&(a="xmlns"+s.match(/<(\w+):/)[1]),r.xmlns=l[a];break;case"</workbook>":break;case"<fileVersion":delete l[0],r.AppVersion=l;break;case"<fileVersion/>":case"</fileVersion>":case"<fileSharing":case"<fileSharing/>":break;case"<workbookPr":case"<workbookPr/>":Gc.forEach(function(e){if(null!=l[e[0]])switch(e[2]){case"bool":r.WBProps[e[0]]=Tt(l[e[0]]);break;case"int":r.WBProps[e[0]]=parseInt(l[e[0]],10);break;default:r.WBProps[e[0]]=l[e[0]]}}),l.codeName&&(r.WBProps.CodeName=Rt(l.codeName));break;case"</workbookPr>":case"<workbookProtection":case"<workbookProtection/>":break;case"<bookViews":case"<bookViews>":case"</bookViews>":break;case"<workbookView":case"<workbookView/>":delete l[0],r.WBView.push(l);break;case"</workbookView>":break;case"<sheets":case"<sheets>":case"</sheets>":break;case"<sheet":switch(l.state){case"hidden":l.Hidden=1;break;case"veryHidden":l.Hidden=2;break;default:l.Hidden=0}delete l.state,l.name=vt(Rt(l.name)),delete l[0],r.Sheets.push(l);break;case"</sheet>":break;case"<functionGroups":case"<functionGroups/>":case"<functionGroup":break;case"<externalReferences":case"</externalReferences>":case"<externalReferences>":case"<externalReference":case"<definedNames/>":break;case"<definedNames>":case"<definedNames":n=!0;break;case"</definedNames>":n=!1;break;case"<definedName":(o={}).Name=Rt(l.name),l.comment&&(o.Comment=l.comment),l.localSheetId&&(o.Sheet=+l.localSheetId),Tt(l.hidden||"0")&&(o.Hidden=!0),i=c+s.length;break;case"</definedName>":o.Ref=vt(Rt(e.slice(i,c))),r.Names.push(o);break;case"<definedName/>":break;case"<calcPr":case"<calcPr/>":delete l[0],r.CalcPr=l;break;case"</calcPr>":case"<oleSize":break;case"<customWorkbookViews>":case"</customWorkbookViews>":case"<customWorkbookViews":break;case"<customWorkbookView":case"</customWorkbookView>":break;case"<pivotCaches>":case"</pivotCaches>":case"<pivotCaches":case"<pivotCache":break;case"<smartTagPr":case"<smartTagPr/>":break;case"<smartTagTypes":case"<smartTagTypes>":case"</smartTagTypes>":case"<smartTagType":break;case"<webPublishing":case"<webPublishing/>":break;case"<fileRecoveryPr":case"<fileRecoveryPr/>":break;case"<webPublishObjects>":case"<webPublishObjects":case"</webPublishObjects>":case"<webPublishObject":break;case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<ext":n=!0;break;case"</ext>":n=!1;break;case"<ArchID":break;case"<AlternateContent":case"<AlternateContent>":n=!0;break;case"</AlternateContent>":n=!1;break;case"<revisionPtr":break;default:if(!n&&t.WTF)throw new Error("unrecognized "+l[0]+" in workbook")}return s}),-1===$t.indexOf(r.xmlns))throw new Error("Unknown Namespace: "+r.xmlns);return Qc(r),r}(e,r)}function fl(e,t,r,n,a,o,i,s){return".bin"===t.slice(-4)?function(e,t,r,n,a,o,i){if(!e)return e;var s=t||{};n||(n={"!id":{}}),null!=p&&null==s.dense&&(s.dense=p);var c,l,u,f,h,d,g,m,v,b,y=s.dense?[]:{},w={s:{r:2e6,c:2e6},e:{r:0,c:0}},S=[],x=!1,k=!1,A=[];s.biff=12,s["!row"]=0;var T=0,E=!1,_=[],N={},C=s.supbooks||a.supbooks||[[]];if(C.sharedf=N,C.arrayf=_,C.SheetNames=a.SheetNames||a.Sheets.map(function(e){return e.name}),!s.supbooks&&(s.supbooks=C,a.Names))for(var R=0;R<a.Names.length;++R)C[0][R+1]=a.Names[R];var O,L,P=[],I=[],F=!1;if(Xl[16]={n:"BrtShortReal",f:Ic},Rr(e,function(e,t,p){if(!k)switch(p){case 148:c=e;break;case 0:l=e,s.sheetRows&&s.sheetRows<=l.r&&(k=!0),v=jr(h=l.r),s["!row"]=l.r,(e.hidden||e.hpt||null!=e.level)&&(e.hpt&&(e.hpx=wi(e.hpt)),I[e.r]=e);break;case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 13:case 14:case 15:case 16:case 17:case 18:case 62:switch(u={t:e[2]},e[2]){case"n":u.v=e[1];break;case"s":m=ac[e[1]],u.v=m.t,u.r=m.r;break;case"b":u.v=!!e[1];break;case"e":u.v=e[1],!1!==s.cellText&&(u.w=Fn[u.v]);break;case"str":u.t="s",u.v=e[1];break;case"is":u.t="s",u.v=e[1].t}if((f=i.CellXf[e[0].iStyleRef])&&fc(u,f.numFmtId,null,s,o,i),d=-1==e[0].c?d+1:e[0].c,s.dense?(y[h]||(y[h]=[]),y[h][d]=u):y[Wr(d)+v]=u,s.cellFormula){for(E=!1,T=0;T<_.length;++T){var R=_[T];l.r>=R[0].s.r&&l.r<=R[0].e.r&&d>=R[0].s.c&&d<=R[0].e.c&&(u.F=Vr(R[0]),E=!0)}!E&&e.length>3&&(u.f=e[3])}if(w.s.r>l.r&&(w.s.r=l.r),w.s.c>d&&(w.s.c=d),w.e.r<l.r&&(w.e.r=l.r),w.e.c<d&&(w.e.c=d),s.cellDates&&f&&"n"==u.t&&he(B[f.numFmtId])){var D=H(u.v);D&&(u.t="d",u.v=new Date(D.y,D.m-1,D.d,D.H,D.M,D.S,D.u))}O&&("XLDAPR"==O.type&&(u.D=!0),O=void 0),L&&(L=void 0);break;case 1:case 12:if(!s.sheetStubs||x)break;u={t:"z",v:void 0},d=-1==e[0].c?d+1:e[0].c,s.dense?(y[h]||(y[h]=[]),y[h][d]=u):y[Wr(d)+v]=u,w.s.r>l.r&&(w.s.r=l.r),w.s.c>d&&(w.s.c=d),w.e.r<l.r&&(w.e.r=l.r),w.e.c<d&&(w.e.c=d),O&&("XLDAPR"==O.type&&(u.D=!0),O=void 0),L&&(L=void 0);break;case 176:A.push(e);break;case 49:O=((s.xlmeta||{}).Cell||[])[e-1];break;case 494:var M=n["!id"][e.relId];for(M?(e.Target=M.Target,e.loc&&(e.Target+="#"+e.loc),e.Rel=M):""==e.relId&&(e.Target="#"+e.loc),h=e.rfx.s.r;h<=e.rfx.e.r;++h)for(d=e.rfx.s.c;d<=e.rfx.e.c;++d)s.dense?(y[h]||(y[h]=[]),y[h][d]||(y[h][d]={t:"z",v:void 0}),y[h][d].l=e):(g=zr({c:d,r:h}),y[g]||(y[g]={t:"z",v:void 0}),y[g].l=e);break;case 426:if(!s.cellFormula)break;_.push(e),(b=s.dense?y[h][d]:y[Wr(d)+v]).f=Us(e[1],0,{r:l.r,c:d},C,s),b.F=Vr(e[0]);break;case 427:if(!s.cellFormula)break;N[zr(e[0].s)]=e[1],(b=s.dense?y[h][d]:y[Wr(d)+v]).f=Us(e[1],0,{r:l.r,c:d},C,s);break;case 60:if(!s.cellStyles)break;for(;e.e>=e.s;)P[e.e--]={width:e.w/256,hidden:!!(1&e.flags),level:e.level},F||(F=!0,mi(e.w/256)),vi(P[e.e+1]);break;case 161:y["!autofilter"]={ref:Vr(e)};break;case 476:y["!margins"]=e;break;case 147:a.Sheets[r]||(a.Sheets[r]={}),e.name&&(a.Sheets[r].CodeName=e.name),(e.above||e.left)&&(y["!outline"]={above:e.above,left:e.left});break;case 137:a.Views||(a.Views=[{}]),a.Views[0]||(a.Views[0]={}),e.RTL&&(a.Views[0].RTL=!0);break;case 485:break;case 64:case 1053:case 151:break;case 152:case 175:case 644:case 625:case 562:case 396:case 1112:case 1146:case 471:case 1050:case 649:case 1105:case 589:case 607:case 564:case 1055:case 168:case 174:case 1180:case 499:case 507:case 550:case 171:case 167:case 1177:case 169:case 1181:case 551:case 552:case 661:case 639:case 478:case 537:case 477:case 536:case 1103:case 680:case 1104:case 1024:case 663:case 535:case 678:case 504:case 1043:case 428:case 170:case 3072:case 50:case 2070:case 1045:break;case 35:x=!0;break;case 36:x=!1;break;case 37:S.push(p),x=!0;break;case 38:S.pop(),x=!1;break;default:if(t.T);else if(!x||s.WTF)throw new Error("Unexpected record 0x"+p.toString(16))}},s),delete s.supbooks,delete s["!row"],!y["!ref"]&&(w.s.r<2e6||c&&(c.e.r>0||c.e.c>0||c.s.r>0||c.s.c>0))&&(y["!ref"]=Vr(c||w)),s.sheetRows&&y["!ref"]){var D=qr(y["!ref"]);s.sheetRows<=+D.e.r&&(D.e.r=s.sheetRows-1,D.e.r>w.e.r&&(D.e.r=w.e.r),D.e.r<D.s.r&&(D.s.r=D.e.r),D.e.c>w.e.c&&(D.e.c=w.e.c),D.e.c<D.s.c&&(D.s.c=D.e.c),y["!fullref"]=y["!ref"],y["!ref"]=Vr(D))}return A.length>0&&(y["!merges"]=A),P.length>0&&(y["!cols"]=P),I.length>0&&(y["!rows"]=I),y}(e,n,r,a,o,i,s):kc(e,n,r,a,o,i,s)}function hl(e,t,r,n,a,o,i,s){return".bin"===t.slice(-4)?function(e,t,r,n,a){if(!e)return e;n||(n={"!id":{}});var o={"!type":"chart","!drawel":null,"!rel":""},i=[],s=!1;return Rr(e,function(e,n,c){switch(c){case 550:o["!rel"]=e;break;case 651:a.Sheets[r]||(a.Sheets[r]={}),e.name&&(a.Sheets[r].CodeName=e.name);break;case 562:case 652:case 669:case 679:case 551:case 552:case 476:case 3072:break;case 35:s=!0;break;case 36:s=!1;break;case 37:i.push(c);break;case 38:i.pop();break;default:if(n.T>0)i.push(c);else if(n.T<0)i.pop();else if(!s||t.WTF)throw new Error("Unexpected record 0x"+c.toString(16))}},t),n["!id"][o["!rel"]]&&(o["!drawel"]=n["!id"][o["!rel"]]),o}(e,n,r,a,o):function(e,t,r,n,a){if(!e)return e;n||(n={"!id":{}});var o,i={"!type":"chart","!drawel":null,"!rel":""},s=e.match(wc);return s&&Ac(s[0],0,a,r),(o=e.match(/drawing r:id="(.*?)"/))&&(i["!rel"]=o[1]),n["!id"][i["!rel"]]&&(i["!drawel"]=n["!id"][i["!rel"]]),i}(e,0,r,a,o)}function dl(e,t,r,n){return".bin"===t.slice(-4)?function(e,t,r){var n={NumberFmt:[]};for(var a in B)n.NumberFmt[a]=B[a];n.CellXf=[],n.Fonts=[];var o=[],i=!1;return Rr(e,function(e,a,s){switch(s){case 44:n.NumberFmt[e[0]]=e[1],ve(e[1],e[0]);break;case 43:n.Fonts.push(e),null!=e.color.theme&&t&&t.themeElements&&t.themeElements.clrScheme&&(e.color.rgb=si(t.themeElements.clrScheme[e.color.theme].rgb,e.color.tint||0));break;case 1025:case 45:case 46:break;case 47:617==o[o.length-1]&&n.CellXf.push(e);break;case 48:case 507:case 572:case 475:break;case 1171:case 2102:case 1130:case 512:case 2095:case 3072:break;case 35:i=!0;break;case 36:i=!1;break;case 37:o.push(s),i=!0;break;case 38:o.pop(),i=!1;break;default:if(a.T>0)o.push(s);else if(a.T<0)o.pop();else if(!i||r.WTF&&37!=o[o.length-1])throw new Error("Unexpected record 0x"+s.toString(16))}}),n}(e,r,n):Ti(e,r,n)}function pl(e,t,r){return".bin"===t.slice(-4)?function(e,t){var r=[],n=!1;return Rr(e,function(e,a,o){switch(o){case 159:r.Count=e[0],r.Unique=e[1];break;case 19:r.push(e);break;case 160:return!0;case 35:n=!0;break;case 36:n=!1;break;default:if(a.T,!n||t.WTF)throw new Error("Unexpected record 0x"+o.toString(16))}}),r}(e,r):function(e,t){var r=[],n="";if(!e)return r;var a=e.match(Bo);if(a){n=a[2].replace(Wo,"").split(Uo);for(var o=0;o!=n.length;++o){var i=jo(n[o].trim(),t);null!=i&&(r[r.length]=i)}a=dt(a[1]),r.Count=a.count,r.Unique=a.uniqueCount}return r}(e,r)}function gl(e,t,r){return".bin"===t.slice(-4)?function(e,t){var r=[],n=[],a={},o=!1;return Rr(e,function(e,i,s){switch(s){case 632:n.push(e);break;case 635:a=e;break;case 637:a.t=e.t,a.h=e.h,a.r=e.r;break;case 636:if(a.author=n[a.iauthor],delete a.iauthor,t.sheetRows&&a.rfx&&t.sheetRows<=a.rfx.r)break;a.t||(a.t=""),delete a.rfx,r.push(a);break;case 3072:break;case 35:o=!0;break;case 36:o=!1;break;case 37:case 38:break;default:if(i.T);else if(!o||t.WTF)throw new Error("Unexpected record 0x"+s.toString(16))}}),r}(e,r):function(e,t){if(e.match(/<(?:\w+:)?comments *\/>/))return[];var r=[],n=[],a=e.match(/<(?:\w+:)?authors>([\s\S]*)<\/(?:\w+:)?authors>/);a&&a[1]&&a[1].split(/<\/\w*:?author>/).forEach(function(e){if(""!==e&&""!==e.trim()){var t=e.match(/<(?:\w+:)?author[^>]*>(.*)/);t&&r.push(t[1])}});var o=e.match(/<(?:\w+:)?commentList>([\s\S]*)<\/(?:\w+:)?commentList>/);return o&&o[1]&&o[1].split(/<\/\w*:?comment>/).forEach(function(e){if(""!==e&&""!==e.trim()){var a=e.match(/<(?:\w+:)?comment[^>]*>/);if(a){var o=dt(a[0]),i={author:o.authorId&&r[o.authorId]||"sheetjsghost",ref:o.ref,guid:o.guid},s=Ur(o.ref);if(!(t.sheetRows&&t.sheetRows<=s.r)){var c=e.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/),l=!!c&&!!c[1]&&jo(c[1])||{r:"",t:"",h:""};i.r=l.r,"<t></t>"==l.r&&(l.t=l.h=""),i.t=(l.t||"").replace(/\r\n/g,"\n").replace(/\r/g,"\n"),t.cellHTML&&(i.h=l.h),n.push(i)}}}}),n}(e,r)}function ml(e,t,r){return".bin"===t.slice(-4)?function(e,t,r){var n=[];return Rr(e,function(e,t,r){switch(r){case 63:n.push(e);break;default:if(!t.T)throw new Error("Unexpected record 0x"+r.toString(16))}}),n}(e):function(e){var t=[];if(!e)return t;var r=1;return(e.match(ut)||[]).forEach(function(e){var n=dt(e);switch(n[0]){case"<?xml":break;case"<calcChain":case"<calcChain>":case"</calcChain>":break;case"<c":delete n[0],n.i?r=n.i:n.i=r,t.push(n)}}),t}(e)}function vl(e,t,r,n){if(".bin"===r.slice(-4))return function(e,t,r,n){if(!e)return e;var a=n||{},o=!1;Rr(e,function(e,t,r){switch(r){case 359:case 363:case 364:case 366:case 367:case 368:case 369:case 370:case 371:case 472:case 577:case 578:case 579:case 580:case 581:case 582:case 583:case 584:case 585:case 586:case 587:break;case 35:o=!0;break;case 36:o=!1;break;default:if(t.T);else if(!o||a.WTF)throw new Error("Unexpected record 0x"+r.toString(16))}},a)}(e,0,0,n)}function bl(e,t,r){return".bin"===t.slice(-4)?function(e,t,r){var n={Types:[],Cell:[],Value:[]},a=r||{},o=[],i=!1,s=2;return Rr(e,function(e,t,r){switch(r){case 335:n.Types.push({name:e.name});break;case 51:e.forEach(function(e){1==s?n.Cell.push({type:n.Types[e[0]-1].name,index:e[1]}):0==s&&n.Value.push({type:n.Types[e[0]-1].name,index:e[1]})});break;case 337:s=e?1:0;break;case 338:s=2;break;case 35:o.push(r),i=!0;break;case 36:o.pop(),i=!1;break;default:if(t.T);else if(!i||a.WTF&&35!=o[o.length-1])throw new Error("Unexpected record 0x"+r.toString(16))}}),n}(e,0,r):function(e,t,r){var n={Types:[],Cell:[],Value:[]};if(!e)return n;var a,o=!1,i=2;return e.replace(ut,function(e){var t=dt(e);switch(pt(t[0])){case"<?xml":break;case"<metadata":case"</metadata>":break;case"<metadataTypes":case"</metadataTypes>":break;case"<metadataType":n.Types.push({name:t.name});break;case"</metadataType>":break;case"<futureMetadata":for(var s=0;s<n.Types.length;++s)n.Types[s].name==t.name&&(a=n.Types[s]);break;case"</futureMetadata>":case"<bk>":case"</bk>":break;case"<rc":1==i?n.Cell.push({type:n.Types[t.t-1].name,index:+t.v}):0==i&&n.Value.push({type:n.Types[t.t-1].name,index:+t.v});break;case"</rc>":break;case"<cellMetadata":i=1;break;case"</cellMetadata>":i=2;break;case"<valueMetadata":i=0;break;case"</valueMetadata>":i=2;break;case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<ext":o=!0;break;case"</ext>":o=!1;break;case"<rvb":if(!a)break;a.offsets||(a.offsets=[]),a.offsets.push(+t.i);break;default:if(!o&&r.WTF)throw new Error("unrecognized "+t[0]+" in metadata")}return e}),n}(e,0,r)}function yl(e,t,r,n,a){return(".bin"===t.slice(-4)?qc:Rc)(e,r,n,a)}function wl(e,t,r){return(".bin"===t.slice(-4)?ss:as)(e,r)}var Sl,xl=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g,kl=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/;function Al(e,t){var r=e.split(/\s+/),n=[];if(t||(n[0]=r[0]),1===r.length)return n;var a,o,i,s=e.match(xl);if(s)for(i=0;i!=s.length;++i)-1===(o=(a=s[i].match(kl))[1].indexOf(":"))?n[a[1]]=a[2].slice(1,a[2].length-1):n["xmlns:"===a[1].slice(0,6)?"xmlns"+a[1].slice(6):a[1].slice(o+1)]=a[2].slice(1,a[2].length-1);return n}function Tl(e){var t={};if(1===e.split(/\s+/).length)return t;var r,n,a,o=e.match(xl);if(o)for(a=0;a!=o.length;++a)-1===(n=(r=o[a].match(kl))[1].indexOf(":"))?t[r[1]]=r[2].slice(1,r[2].length-1):t["xmlns:"===r[1].slice(0,6)?"xmlns"+r[1].slice(6):r[1].slice(n+1)]=r[2].slice(1,r[2].length-1);return t}function El(e,t,r,n){var a=n;switch((r[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]){case"boolean":a=Tt(n);break;case"i2":case"int":a=parseInt(n,10);break;case"r4":case"float":a=parseFloat(n);break;case"date":case"dateTime.tz":a=ze(n);break;case"i8":case"string":case"fixed":case"uuid":case"bin.base64":break;default:throw new Error("bad custprop:"+r[0])}e[vt(t)]=a}function _l(e,t,r){if("z"!==e.t){if(!r||!1!==r.cellText)try{"e"===e.t?e.w=e.w||Fn[e.v]:"General"===t?"n"===e.t?(0|e.v)===e.v?e.w=e.v.toString(10):e.w=K(e.v):e.w=J(e.v):e.w=function(e,t){var r=Sl[e]||vt(e);return"General"===r?J(t):me(r,t)}(t||"General",e.v)}catch(e){if(r.WTF)throw e}try{var n=Sl[t]||t||"General";if(r.cellNF&&(e.z=n),r.cellDates&&"n"==e.t&&he(n)){var a=H(e.v);a&&(e.t="d",e.v=new Date(a.y,a.m-1,a.d,a.H,a.M,a.S,a.u))}}catch(e){if(r.WTF)throw e}}}function Nl(e,t,r){if(r.cellStyles&&t.Interior){var n=t.Interior;n.Pattern&&(n.patternType=Si[n.Pattern]||n.Pattern)}e[t.ID]=t}function Cl(e,t,r,n,a,o,i,s,c,l){var u="General",f=n.StyleID,h={};l=l||{};var d=[],p=0;for(void 0===f&&s&&(f=s.StyleID),void 0===f&&i&&(f=i.StyleID);void 0!==o[f]&&(o[f].nf&&(u=o[f].nf),o[f].Interior&&d.push(o[f].Interior),o[f].Parent);)f=o[f].Parent;switch(r.Type){case"Boolean":n.t="b",n.v=Tt(e);break;case"String":n.t="s",n.r=At(vt(e)),n.v=e.indexOf("<")>-1?vt(t||e).replace(/<.*?>/g,""):n.r;break;case"DateTime":"Z"!=e.slice(-1)&&(e+="Z"),n.v=(ze(e)-new Date(Date.UTC(1899,11,30)))/864e5,n.v!=n.v?n.v=vt(e):n.v<60&&(n.v=n.v-1),u&&"General"!=u||(u="yyyy-mm-dd");case"Number":void 0===n.v&&(n.v=+e),n.t||(n.t="n");break;case"Error":n.t="e",n.v=Dn[e],!1!==l.cellText&&(n.w=e);break;default:""==e&&""==t?n.t="z":(n.t="s",n.v=At(t||e))}if(_l(n,u,l),!1!==l.cellFormula)if(n.Formula){var g=vt(n.Formula);61==g.charCodeAt(0)&&(g=g.slice(1)),n.f=us(g,a),delete n.Formula,"RC"==n.ArrayRange?n.F=us("RC:RC",a):n.ArrayRange&&(n.F=us(n.ArrayRange,a),c.push([qr(n.F),n.F]))}else for(p=0;p<c.length;++p)a.r>=c[p][0].s.r&&a.r<=c[p][0].e.r&&a.c>=c[p][0].s.c&&a.c<=c[p][0].e.c&&(n.F=c[p][1]);l.cellStyles&&(d.forEach(function(e){!h.patternType&&e.patternType&&(h.patternType=e.patternType)}),n.s=h),void 0!==n.StyleID&&(n.ixfe=n.StyleID)}function Rl(e){e.t=e.v||"",e.t=e.t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),e.v=e.w=e.ixfe=void 0}function Ol(e,r){var n=r||{};ye();var a=f(Ht(e));"binary"!=n.type&&"array"!=n.type&&"base64"!=n.type||(a=void 0!==t?t.utils.decode(65001,l(a)):Rt(a));var o,i=a.slice(0,1024).toLowerCase(),s=!1;if((1023&(i=i.replace(/".*?"/g,"")).indexOf(">"))>Math.min(1023&i.indexOf(","),1023&i.indexOf(";"))){var c=Ve(n);return c.type="string",Ro.to_workbook(a,c)}if(-1==i.indexOf("<?xml")&&["html","table","head","meta","script","style","div"].forEach(function(e){i.indexOf("<"+e)>=0&&(s=!0)}),s)return function(e,t){var r=e.match(/<table[\s\S]*?>[\s\S]*?<\/table>/gi);if(!r||0==r.length)throw new Error("Invalid HTML: could not find <table>");if(1==r.length)return Xr(iu(r[0],t),t);var n={SheetNames:[],Sheets:{}};return r.forEach(function(e,r){Rf(n,iu(e,t),"Sheet"+(r+1))}),n}(a,n);Sl={"General Number":"General","General Date":B[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":B[15],"Short Date":B[14],"Long Time":B[19],"Medium Time":B[18],"Short Time":B[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:B[2],Standard:B[4],Percent:B[10],Scientific:B[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'};var u,h=[];null!=p&&null==n.dense&&(n.dense=p);var d,g={},m=[],v=n.dense?[]:{},b="",y={},w={},S=Al('<Data ss:Type="String">'),x=0,k=0,A=0,T={s:{r:2e6,c:2e6},e:{r:0,c:0}},E={},_={},N="",C=0,R=[],O={},L={},P=0,I=[],F=[],D={},M=[],j=!1,W=[],U=[],z={},H=0,V=0,q={Sheets:[],WBProps:{date1904:!1}},$={};Vt.lastIndex=0,a=a.replace(/<!--([\s\S]*?)-->/gm,"");for(var G="";o=Vt.exec(a);)switch(o[3]=(G=o[3]).toLowerCase()){case"data":if("data"==G){if("/"===o[1]){if((u=h.pop())[0]!==o[3])throw new Error("Bad state: "+u.join("|"))}else"/"!==o[0].charAt(o[0].length-2)&&h.push([o[3],!0]);break}if(h[h.length-1][1])break;"/"===o[1]?Cl(a.slice(x,o.index),N,S,"comment"==h[h.length-1][0]?D:y,{c:k,r:A},E,M[k],w,W,n):(N="",S=Al(o[0]),x=o.index+o[0].length);break;case"cell":if("/"===o[1])if(F.length>0&&(y.c=F),(!n.sheetRows||n.sheetRows>A)&&void 0!==y.v&&(n.dense?(v[A]||(v[A]=[]),v[A][k]=y):v[Wr(k)+jr(A)]=y),y.HRef&&(y.l={Target:vt(y.HRef)},y.HRefScreenTip&&(y.l.Tooltip=y.HRefScreenTip),delete y.HRef,delete y.HRefScreenTip),(y.MergeAcross||y.MergeDown)&&(H=k+(0|parseInt(y.MergeAcross,10)),V=A+(0|parseInt(y.MergeDown,10)),R.push({s:{c:k,r:A},e:{c:H,r:V}})),n.sheetStubs)if(y.MergeAcross||y.MergeDown){for(var X=k;X<=H;++X)for(var Y=A;Y<=V;++Y)(X>k||Y>A)&&(n.dense?(v[Y]||(v[Y]=[]),v[Y][X]={t:"z"}):v[Wr(X)+jr(Y)]={t:"z"});k=H+1}else++k;else y.MergeAcross?k=H+1:++k;else(y=Tl(o[0])).Index&&(k=+y.Index-1),k<T.s.c&&(T.s.c=k),k>T.e.c&&(T.e.c=k),"/>"===o[0].slice(-2)&&++k,F=[];break;case"row":"/"===o[1]||"/>"===o[0].slice(-2)?(A<T.s.r&&(T.s.r=A),A>T.e.r&&(T.e.r=A),"/>"===o[0].slice(-2)&&(w=Al(o[0])).Index&&(A=+w.Index-1),k=0,++A):((w=Al(o[0])).Index&&(A=+w.Index-1),z={},("0"==w.AutoFitHeight||w.Height)&&(z.hpx=parseInt(w.Height,10),z.hpt=yi(z.hpx),U[A]=z),"1"==w.Hidden&&(z.hidden=!0,U[A]=z));break;case"worksheet":if("/"===o[1]){if((u=h.pop())[0]!==o[3])throw new Error("Bad state: "+u.join("|"));m.push(b),T.s.r<=T.e.r&&T.s.c<=T.e.c&&(v["!ref"]=Vr(T),n.sheetRows&&n.sheetRows<=T.e.r&&(v["!fullref"]=v["!ref"],T.e.r=n.sheetRows-1,v["!ref"]=Vr(T))),R.length&&(v["!merges"]=R),M.length>0&&(v["!cols"]=M),U.length>0&&(v["!rows"]=U),g[b]=v}else T={s:{r:2e6,c:2e6},e:{r:0,c:0}},A=k=0,h.push([o[3],!1]),u=Al(o[0]),b=vt(u.Name),v=n.dense?[]:{},R=[],W=[],U=[],$={name:b,Hidden:0},q.Sheets.push($);break;case"table":if("/"===o[1]){if((u=h.pop())[0]!==o[3])throw new Error("Bad state: "+u.join("|"))}else{if("/>"==o[0].slice(-2))break;h.push([o[3],!1]),M=[],j=!1}break;case"style":"/"===o[1]?Nl(E,_,n):_=Al(o[0]);break;case"numberformat":_.nf=vt(Al(o[0]).Format||"General"),Sl[_.nf]&&(_.nf=Sl[_.nf]);for(var K=0;392!=K&&B[K]!=_.nf;++K);if(392==K)for(K=57;392!=K;++K)if(null==B[K]){ve(_.nf,K);break}break;case"column":if("table"!==h[h.length-1][0])break;if((d=Al(o[0])).Hidden&&(d.hidden=!0,delete d.Hidden),d.Width&&(d.wpx=parseInt(d.Width,10)),!j&&d.wpx>10){j=!0,fi=ci;for(var J=0;J<M.length;++J)M[J]&&vi(M[J])}j&&vi(d),M[d.Index-1||M.length]=d;for(var Z=0;Z<+d.Span;++Z)M[M.length]=Ve(d);break;case"namedrange":if("/"===o[1])break;q.Names||(q.Names=[]);var Q=dt(o[0]),ee={Name:Q.Name,Ref:us(Q.RefersTo.slice(1),{r:0,c:0})};q.Sheets.length>0&&(ee.Sheet=q.Sheets.length-1),q.Names.push(ee);break;case"namedcell":case"b":case"i":case"u":case"s":case"em":case"h2":case"h3":case"sub":case"sup":case"span":case"alignment":case"borders":case"border":break;case"font":if("/>"===o[0].slice(-2))break;"/"===o[1]?N+=a.slice(C,o.index):C=o.index+o[0].length;break;case"interior":if(!n.cellStyles)break;_.Interior=Al(o[0]);break;case"protection":break;case"author":case"title":case"description":case"created":case"keywords":case"subject":case"category":case"company":case"lastauthor":case"lastsaved":case"lastprinted":case"version":case"revision":case"totaltime":case"hyperlinkbase":case"manager":case"contentstatus":case"identifier":case"language":case"appname":if("/>"===o[0].slice(-2))break;"/"===o[1]?ca(O,G,a.slice(P,o.index)):P=o.index+o[0].length;break;case"paragraphs":break;case"styles":case"workbook":if("/"===o[1]){if((u=h.pop())[0]!==o[3])throw new Error("Bad state: "+u.join("|"))}else h.push([o[3],!1]);break;case"comment":if("/"===o[1]){if((u=h.pop())[0]!==o[3])throw new Error("Bad state: "+u.join("|"));Rl(D),F.push(D)}else h.push([o[3],!1]),D={a:(u=Al(o[0])).Author};break;case"autofilter":if("/"===o[1]){if((u=h.pop())[0]!==o[3])throw new Error("Bad state: "+u.join("|"))}else if("/"!==o[0].charAt(o[0].length-2)){var te=Al(o[0]);v["!autofilter"]={ref:us(te.Range).replace(/\$/g,"")},h.push([o[3],!0])}break;case"name":break;case"datavalidation":if("/"===o[1]){if((u=h.pop())[0]!==o[3])throw new Error("Bad state: "+u.join("|"))}else"/"!==o[0].charAt(o[0].length-2)&&h.push([o[3],!0]);break;case"pixelsperinch":break;case"componentoptions":case"documentproperties":case"customdocumentproperties":case"officedocumentsettings":case"pivottable":case"pivotcache":case"names":case"mapinfo":case"pagebreaks":case"querytable":case"sorting":case"schema":case"conditionalformatting":case"smarttagtype":case"smarttags":case"excelworkbook":case"workbookoptions":case"worksheetoptions":if("/"===o[1]){if((u=h.pop())[0]!==o[3])throw new Error("Bad state: "+u.join("|"))}else"/"!==o[0].charAt(o[0].length-2)&&h.push([o[3],!0]);break;case"null":break;default:if(0==h.length&&"document"==o[3])return yu(a,n);if(0==h.length&&"uof"==o[3])return yu(a,n);var re=!0;switch(h[h.length-1][0]){case"officedocumentsettings":switch(o[3]){case"allowpng":case"removepersonalinformation":case"downloadcomponents":case"locationofcomponents":case"colors":case"color":case"index":case"rgb":case"targetscreensize":case"readonlyrecommended":break;default:re=!1}break;case"componentoptions":switch(o[3]){case"toolbar":case"hideofficelogo":case"spreadsheetautofit":case"label":case"caption":case"maxheight":case"maxwidth":case"nextsheetnumber":break;default:re=!1}break;case"excelworkbook":switch(o[3]){case"date1904":q.WBProps.date1904=!0;break;case"windowheight":case"windowwidth":case"windowtopx":case"windowtopy":case"tabratio":case"protectstructure":case"protectwindow":case"protectwindows":case"activesheet":case"displayinknotes":case"firstvisiblesheet":case"supbook":case"sheetname":case"sheetindex":case"sheetindexfirst":case"sheetindexlast":case"dll":case"acceptlabelsinformulas":case"donotsavelinkvalues":case"iteration":case"maxiterations":case"maxchange":case"path":case"xct":case"count":case"selectedsheets":case"calculation":case"uncalced":case"startupprompt":case"crn":case"externname":case"formula":case"colfirst":case"collast":case"wantadvise":case"boolean":case"error":case"text":case"ole":case"noautorecover":case"publishobjects":case"donotcalculatebeforesave":case"number":case"refmoder1c1":case"embedsavesmarttags":break;default:re=!1}break;case"workbookoptions":switch(o[3]){case"owcversion":case"height":case"width":break;default:re=!1}break;case"worksheetoptions":switch(o[3]){case"visible":if("/>"===o[0].slice(-2));else if("/"===o[1])switch(a.slice(P,o.index)){case"SheetHidden":$.Hidden=1;break;case"SheetVeryHidden":$.Hidden=2}else P=o.index+o[0].length;break;case"header":v["!margins"]||lc(v["!margins"]={},"xlml"),isNaN(+dt(o[0]).Margin)||(v["!margins"].header=+dt(o[0]).Margin);break;case"footer":v["!margins"]||lc(v["!margins"]={},"xlml"),isNaN(+dt(o[0]).Margin)||(v["!margins"].footer=+dt(o[0]).Margin);break;case"pagemargins":var ne=dt(o[0]);v["!margins"]||lc(v["!margins"]={},"xlml"),isNaN(+ne.Top)||(v["!margins"].top=+ne.Top),isNaN(+ne.Left)||(v["!margins"].left=+ne.Left),isNaN(+ne.Right)||(v["!margins"].right=+ne.Right),isNaN(+ne.Bottom)||(v["!margins"].bottom=+ne.Bottom);break;case"displayrighttoleft":q.Views||(q.Views=[]),q.Views[0]||(q.Views[0]={}),q.Views[0].RTL=!0;break;case"freezepanes":case"frozennosplit":break;case"splithorizontal":case"splitvertical":case"donotdisplaygridlines":case"activerow":case"activecol":case"toprowbottompane":case"leftcolumnrightpane":case"unsynced":case"print":case"printerrors":case"panes":case"scale":case"pane":case"number":case"layout":case"pagesetup":case"selected":case"protectobjects":case"enableselection":case"protectscenarios":case"validprinterinfo":case"horizontalresolution":case"verticalresolution":case"numberofcopies":case"activepane":case"toprowvisible":case"leftcolumnvisible":case"fittopage":case"rangeselection":case"papersizeindex":case"pagelayoutzoom":case"pagebreakzoom":case"filteron":case"fitwidth":case"fitheight":case"commentslayout":case"zoom":case"lefttoright":case"gridlines":case"allowsort":case"allowfilter":case"allowinsertrows":case"allowdeleterows":case"allowinsertcols":case"allowdeletecols":case"allowinserthyperlinks":case"allowformatcells":case"allowsizecols":case"allowsizerows":break;case"nosummaryrowsbelowdetail":v["!outline"]||(v["!outline"]={}),v["!outline"].above=!0;break;case"tabcolorindex":case"donotdisplayheadings":case"showpagelayoutzoom":break;case"nosummarycolumnsrightdetail":v["!outline"]||(v["!outline"]={}),v["!outline"].left=!0;break;case"blackandwhite":case"donotdisplayzeros":case"displaypagebreak":case"rowcolheadings":case"donotdisplayoutline":case"noorientation":case"allowusepivottables":case"zeroheight":case"viewablerange":case"selection":case"protectcontents":break;default:re=!1}break;case"pivottable":case"pivotcache":switch(o[3]){case"immediateitemsondrop":case"showpagemultipleitemlabel":case"compactrowindent":case"location":case"pivotfield":case"orientation":case"layoutform":case"layoutsubtotallocation":case"layoutcompactrow":case"position":case"pivotitem":case"datatype":case"datafield":case"sourcename":case"parentfield":case"ptlineitems":case"ptlineitem":case"countofsameitems":case"item":case"itemtype":case"ptsource":case"cacheindex":case"consolidationreference":case"filename":case"reference":case"nocolumngrand":case"norowgrand":case"blanklineafteritems":case"hidden":case"subtotal":case"basefield":case"mapchilditems":case"function":case"refreshonfileopen":case"printsettitles":case"mergelabels":case"defaultversion":case"refreshname":case"refreshdate":case"refreshdatecopy":case"versionlastrefresh":case"versionlastupdate":case"versionupdateablemin":case"versionrefreshablemin":case"calculation":break;default:re=!1}break;case"pagebreaks":switch(o[3]){case"colbreaks":case"colbreak":case"rowbreaks":case"rowbreak":case"colstart":case"colend":case"rowend":break;default:re=!1}break;case"autofilter":switch(o[3]){case"autofiltercolumn":case"autofiltercondition":case"autofilterand":case"autofilteror":break;default:re=!1}break;case"querytable":switch(o[3]){case"id":case"autoformatfont":case"autoformatpattern":case"querysource":case"querytype":case"enableredirections":case"refreshedinxl9":case"urlstring":case"htmltables":case"connection":case"commandtext":case"refreshinfo":case"notitles":case"nextid":case"columninfo":case"overwritecells":case"donotpromptforfile":case"textwizardsettings":case"source":case"number":case"decimal":case"thousandseparator":case"trailingminusnumbers":case"formatsettings":case"fieldtype":case"delimiters":case"tab":case"comma":case"autoformatname":case"versionlastedit":case"versionlastrefresh":break;default:re=!1}break;case"datavalidation":switch(o[3]){case"range":case"type":case"min":case"max":case"sort":case"descending":case"order":case"casesensitive":case"value":case"errorstyle":case"errormessage":case"errortitle":case"inputmessage":case"inputtitle":case"combohide":case"inputhide":case"condition":case"qualifier":case"useblank":case"value1":case"value2":case"format":case"cellrangelist":break;default:re=!1}break;case"sorting":case"conditionalformatting":switch(o[3]){case"range":case"type":case"min":case"max":case"sort":case"descending":case"order":case"casesensitive":case"value":case"errorstyle":case"errormessage":case"errortitle":case"cellrangelist":case"inputmessage":case"inputtitle":case"combohide":case"inputhide":case"condition":case"qualifier":case"useblank":case"value1":case"value2":case"format":break;default:re=!1}break;case"mapinfo":case"schema":case"data":switch(o[3]){case"map":case"entry":case"range":case"xpath":case"field":case"xsdtype":case"filteron":case"aggregate":case"elementtype":case"attributetype":break;case"schema":case"element":case"complextype":case"datatype":case"all":case"attribute":case"extends":case"row":break;default:re=!1}break;case"smarttags":break;default:re=!1}if(re)break;if(o[3].match(/!\[CDATA/))break;if(!h[h.length-1][1])throw"Unrecognized tag: "+o[3]+"|"+h.join("|");if("customdocumentproperties"===h[h.length-1][0]){if("/>"===o[0].slice(-2))break;"/"===o[1]?El(L,G,I,a.slice(P,o.index)):(I=o,P=o.index+o[0].length);break}if(n.WTF)throw"Unrecognized tag: "+o[3]+"|"+h.join("|")}var ae={};return n.bookSheets||n.bookProps||(ae.Sheets=g),ae.SheetNames=m,ae.Workbook=q,ae.SSF=Ve(B),ae.Props=O,ae.Custprops=L,ae}function Ll(e,t){switch(Ju(t=t||{}),t.type||"base64"){case"base64":return Ol(b(e),t);case"binary":case"buffer":case"file":return Ol(e,t);case"array":return Ol(T(e),t)}}function Pl(e,t){var r=[];return e.Props&&r.push(function(e,t){var r=[];return Ne(sa).map(function(e){for(var t=0;t<Yn.length;++t)if(Yn[t][1]==e)return Yn[t];for(t=0;t<ea.length;++t)if(ea[t][1]==e)return ea[t];throw e}).forEach(function(n){if(null!=e[n[1]]){var a=t&&t.Props&&null!=t.Props[n[1]]?t.Props[n[1]]:e[n[1]];switch(n[2]){case"date":a=new Date(a).toISOString().replace(/\.\d*Z/,"Z")}"number"==typeof a?a=String(a):!0===a||!1===a?a=a?"1":"0":a instanceof Date&&(a=new Date(a).toISOString().replace(/\.\d*Z/,"")),r.push(Bt(sa[n[1]]||n[1],a))}}),Ut("DocumentProperties",r.join(""),{xmlns:Gt.o})}(e.Props,t)),e.Custprops&&r.push(function(e,t){var r=["Worksheets","SheetNames"],n="CustomDocumentProperties",a=[];return e&&Ne(e).forEach(function(t){if(Object.prototype.hasOwnProperty.call(e,t)){for(var n=0;n<Yn.length;++n)if(t==Yn[n][1])return;for(n=0;n<ea.length;++n)if(t==ea[n][1])return;for(n=0;n<r.length;++n)if(t==r[n])return;var o=e[t],i="string";"number"==typeof o?(i="float",o=String(o)):!0===o||!1===o?(i="boolean",o=o?"1":"0"):o=String(o),a.push(Ut(St(t),o,{"dt:dt":i}))}}),t&&Ne(t).forEach(function(r){if(Object.prototype.hasOwnProperty.call(t,r)&&(!e||!Object.prototype.hasOwnProperty.call(e,r))){var n=t[r],o="string";"number"==typeof n?(o="float",n=String(n)):!0===n||!1===n?(o="boolean",n=n?"1":"0"):n instanceof Date?(o="dateTime.tz",n=n.toISOString()):n=String(n),a.push(Ut(St(r),n,{"dt:dt":o}))}}),"<"+n+' xmlns="'+Gt.o+'">'+a.join("")+"</"+n+">"}(e.Props,e.Custprops)),r.join("")}function Il(e){return Ut("NamedRange",null,{"ss:Name":e.Name,"ss:RefersTo":"="+hs(e.Ref,{r:0,c:0})})}function Fl(e,t,r,n,a,o,i){if(!e||null==e.v&&null==e.f)return"";var s={};if(e.f&&(s["ss:Formula"]="="+wt(hs(e.f,i))),e.F&&e.F.slice(0,t.length)==t){var c=Ur(e.F.slice(t.length+1));s["ss:ArrayRange"]="RC:R"+(c.r==i.r?"":"["+(c.r-i.r)+"]")+"C"+(c.c==i.c?"":"["+(c.c-i.c)+"]")}if(e.l&&e.l.Target&&(s["ss:HRef"]=wt(e.l.Target),e.l.Tooltip&&(s["x:HRefScreenTip"]=wt(e.l.Tooltip))),r["!merges"])for(var l=r["!merges"],u=0;u!=l.length;++u)l[u].s.c==i.c&&l[u].s.r==i.r&&(l[u].e.c>l[u].s.c&&(s["ss:MergeAcross"]=l[u].e.c-l[u].s.c),l[u].e.r>l[u].s.r&&(s["ss:MergeDown"]=l[u].e.r-l[u].s.r));var f="",h="";switch(e.t){case"z":if(!n.sheetStubs)return"";break;case"n":f="Number",h=String(e.v);break;case"b":f="Boolean",h=e.v?"1":"0";break;case"e":f="Error",h=Fn[e.v];break;case"d":f="DateTime",h=new Date(e.v).toISOString(),null==e.z&&(e.z=e.z||B[14]);break;case"s":f="String",h=function(e){return(e+"").replace(bt,function(e){return mt[e]}).replace(xt,function(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"})}(e.v||"")}var d=uc(n.cellXfs,e,n);s["ss:StyleID"]="s"+(21+d),s["ss:Index"]=i.c+1;var p=null!=e.v?h:"",g="z"==e.t?"":'<Data ss:Type="'+f+'">'+p+"</Data>";return(e.c||[]).length>0&&(g+=function(e){return e.map(function(e){var t=Ut("ss:Data",function(e){return e.replace(/(\r\n|[\r\n])/g," ")}(e.t||""),{xmlns:"http://www.w3.org/TR/REC-html40"});return Ut("Comment",t,{"ss:Author":e.a})}).join("")}(e.c)),Ut("Cell",g,s)}function Dl(e,t){var r='<Row ss:Index="'+(e+1)+'"';return t&&(t.hpt&&!t.hpx&&(t.hpx=wi(t.hpt)),t.hpx&&(r+=' ss:AutoFitHeight="0" ss:Height="'+t.hpx+'"'),t.hidden&&(r+=' ss:Hidden="1"')),r+">"}function Ml(e,t,r){var n=[],a=r.SheetNames[e],o=r.Sheets[a],i=o?function(e,t,r,n){if(!e)return"";if(!((n||{}).Workbook||{}).Names)return"";for(var a=n.Workbook.Names,o=[],i=0;i<a.length;++i){var s=a[i];s.Sheet==r&&(s.Name.match(/^_xlfn\./)||o.push(Il(s)))}return o.join("")}(o,0,e,r):"";return i.length>0&&n.push("<Names>"+i+"</Names>"),(i=o?function(e,t,r,n){if(!e["!ref"])return"";var a=qr(e["!ref"]),o=e["!merges"]||[],i=0,s=[];e["!cols"]&&e["!cols"].forEach(function(e,t){vi(e);var r=!!e.width,n=cc(t,e),a={"ss:Index":t+1};r&&(a["ss:Width"]=hi(n.width)),e.hidden&&(a["ss:Hidden"]="1"),s.push(Ut("Column",null,a))});for(var c=Array.isArray(e),l=a.s.r;l<=a.e.r;++l){for(var u=[Dl(l,(e["!rows"]||[])[l])],f=a.s.c;f<=a.e.c;++f){var h=!1;for(i=0;i!=o.length;++i)if(!(o[i].s.c>f||o[i].s.r>l||o[i].e.c<f||o[i].e.r<l)){o[i].s.c==f&&o[i].s.r==l||(h=!0);break}if(!h){var d={r:l,c:f},p=zr(d),g=c?(e[l]||[])[f]:e[p];u.push(Fl(g,p,e,t,0,0,d))}}u.push("</Row>"),u.length>2&&s.push(u.join(""))}return s.join("")}(o,t):"").length>0&&n.push("<Table>"+i+"</Table>"),n.push(function(e,t,r,n){if(!e)return"";var a=[];if(e["!margins"]&&(a.push("<PageSetup>"),e["!margins"].header&&a.push(Ut("Header",null,{"x:Margin":e["!margins"].header})),e["!margins"].footer&&a.push(Ut("Footer",null,{"x:Margin":e["!margins"].footer})),a.push(Ut("PageMargins",null,{"x:Bottom":e["!margins"].bottom||"0.75","x:Left":e["!margins"].left||"0.7","x:Right":e["!margins"].right||"0.7","x:Top":e["!margins"].top||"0.75"})),a.push("</PageSetup>")),n&&n.Workbook&&n.Workbook.Sheets&&n.Workbook.Sheets[r])if(n.Workbook.Sheets[r].Hidden)a.push(Ut("Visible",1==n.Workbook.Sheets[r].Hidden?"SheetHidden":"SheetVeryHidden",{}));else{for(var o=0;o<r&&(!n.Workbook.Sheets[o]||n.Workbook.Sheets[o].Hidden);++o);o==r&&a.push("<Selected/>")}return((((n||{}).Workbook||{}).Views||[])[0]||{}).RTL&&a.push("<DisplayRightToLeft/>"),e["!protect"]&&(a.push(Bt("ProtectContents","True")),e["!protect"].objects&&a.push(Bt("ProtectObjects","True")),e["!protect"].scenarios&&a.push(Bt("ProtectScenarios","True")),null==e["!protect"].selectLockedCells||e["!protect"].selectLockedCells?null==e["!protect"].selectUnlockedCells||e["!protect"].selectUnlockedCells||a.push(Bt("EnableSelection","UnlockedCells")):a.push(Bt("EnableSelection","NoSelection")),[["formatCells","AllowFormatCells"],["formatColumns","AllowSizeCols"],["formatRows","AllowSizeRows"],["insertColumns","AllowInsertCols"],["insertRows","AllowInsertRows"],["insertHyperlinks","AllowInsertHyperlinks"],["deleteColumns","AllowDeleteCols"],["deleteRows","AllowDeleteRows"],["sort","AllowSort"],["autoFilter","AllowFilter"],["pivotTables","AllowUsePivotTables"]].forEach(function(t){e["!protect"][t[0]]&&a.push("<"+t[1]+"/>")})),0==a.length?"":Ut("WorksheetOptions",a.join(""),{xmlns:Gt.x})}(o,0,e,r)),n.join("")}function jl(e,t){t||(t={}),e.SSF||(e.SSF=Ve(B)),e.SSF&&(ye(),be(e.SSF),t.revssf=Oe(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF,t.cellXfs=[],uc(t.cellXfs,{},{revssf:{General:0}}));var r=[];r.push(Pl(e,t)),r.push(""),r.push(""),r.push("");for(var n=0;n<e.SheetNames.length;++n)r.push(Ut("Worksheet",Ml(n,t,e),{"ss:Name":wt(e.SheetNames[n])}));return r[2]=function(e,t){var r=['<Style ss:ID="Default" ss:Name="Normal"><NumberFormat/></Style>'];return t.cellXfs.forEach(function(e,t){var n=[];n.push(Ut("NumberFormat",null,{"ss:Format":wt(B[e.numFmtId])}));var a={"ss:ID":"s"+(21+t)};r.push(Ut("Style",n.join(""),a))}),Ut("Styles",r.join(""))}(0,t),r[3]=function(e){if(!((e||{}).Workbook||{}).Names)return"";for(var t=e.Workbook.Names,r=[],n=0;n<t.length;++n){var a=t[n];null==a.Sheet&&(a.Name.match(/^_xlfn\./)||r.push(Il(a)))}return Ut("Names",r.join(""))}(e),st+Ut("Workbook",r.join(""),{xmlns:Gt.ss,"xmlns:o":Gt.o,"xmlns:x":Gt.x,"xmlns:ss":Gt.ss,"xmlns:dt":Gt.dt,"xmlns:html":Gt.html})}function Bl(e){var t={},r=e.content;if(r.l=28,t.AnsiUserType=r._R(0,"lpstr-ansi"),t.AnsiClipboardFormat=function(e){return An(e,1)}(r),r.length-r.l<=4)return t;var n=r._R(4);return 0==n||n>40?t:(r.l-=4,t.Reserved1=r._R(0,"lpstr-ansi"),r.length-r.l<=4?t:1907505652!==(n=r._R(4))?t:(t.UnicodeClipboardFormat=function(e){return An(e,2)}(r),0==(n=r._R(4))||n>40?t:(r.l-=4,void(t.Reserved2=r._R(0,"lpwstr")))))}var Wl=[60,1084,2066,2165,2175];function Ul(e,t,r,n,a){var o=n,i=[],s=r.slice(r.l,r.l+o);if(a&&a.enc&&a.enc.insitu&&s.length>0)switch(e){case 9:case 521:case 1033:case 2057:case 47:case 405:case 225:case 406:case 312:case 404:case 10:case 133:break;default:a.enc.insitu(s)}i.push(s),r.l+=o;for(var c=mr(r,r.l),l=Yl[c],u=0;null!=l&&Wl.indexOf(c)>-1;)o=mr(r,r.l+2),u=r.l+4,2066==c?u+=4:2165!=c&&2175!=c||(u+=12),s=r.slice(u,r.l+4+o),i.push(s),r.l+=4+o,l=Yl[c=mr(r,r.l)];var f=_(i);_r(f,0);var h=0;f.lens=[];for(var d=0;d<i.length;++d)f.lens.push(h),h+=i[d].length;if(f.length<n)throw"XLS Record 0x"+e.toString(16)+" Truncated: "+f.length+" < "+n;return t.f(f,f.length,a)}function zl(e,t,r){if("z"!==e.t&&e.XF){var n=0;try{n=e.z||e.XF.numFmtId||0,t.cellNF&&(e.z=B[n])}catch(e){if(t.WTF)throw e}if(!t||!1!==t.cellText)try{"e"===e.t?e.w=e.w||Fn[e.v]:0===n||"General"==n?"n"===e.t?(0|e.v)===e.v?e.w=e.v.toString(10):e.w=K(e.v):e.w=J(e.v):e.w=me(n,e.v,{date1904:!!r,dateNF:t&&t.dateNF})}catch(e){if(t.WTF)throw e}if(t.cellDates&&n&&"n"==e.t&&he(B[n]||String(n))){var a=H(e.v);a&&(e.t="d",e.v=new Date(a.y,a.m-1,a.d,a.H,a.M,a.S,a.u))}}}function Hl(e,t,r){return{v:e,ixfe:t,t:r}}function Vl(e,t){var r={opts:{}},n={};null!=p&&null==t.dense&&(t.dense=p);var a,o,i,c,l,u,f,h,d=t.dense?[]:{},g={},m={},v=null,b=[],y="",w={},S="",x={},k=[],A=[],T=[],E={Sheets:[],WBProps:{date1904:!1},Views:[{}]},_={},N=function(e){return e<8?In[e]:e<64&&T[e-8]||In[e]},C=function(e,t,r){if(!(W>1||r.sheetRows&&e.r>=r.sheetRows)){if(r.cellStyles&&t.XF&&t.XF.data&&function(e,t,r){var n,a=t.XF.data;a&&a.patternType&&r&&r.cellStyles&&(t.s={},t.s.patternType=a.patternType,(n=ii(N(a.icvFore)))&&(t.s.fgColor={rgb:n}),(n=ii(N(a.icvBack)))&&(t.s.bgColor={rgb:n}))}(0,t,r),delete t.ixfe,delete t.XF,a=e,S=zr(e),m&&m.s&&m.e||(m={s:{r:0,c:0},e:{r:0,c:0}}),e.r<m.s.r&&(m.s.r=e.r),e.c<m.s.c&&(m.s.c=e.c),e.r+1>m.e.r&&(m.e.r=e.r+1),e.c+1>m.e.c&&(m.e.c=e.c+1),r.cellFormula&&t.f)for(var n=0;n<k.length;++n)if(!(k[n][0].s.c>e.c||k[n][0].s.r>e.r||k[n][0].e.c<e.c||k[n][0].e.r<e.r)){t.F=Vr(k[n][0]),k[n][0].s.c==e.c&&k[n][0].s.r==e.r||delete t.f,t.f&&(t.f=""+Us(k[n][1],0,e,D,R));break}r.dense?(d[e.r]||(d[e.r]=[]),d[e.r][e.c]=t):d[S]=t}},R={enc:!1,sbcch:0,snames:[],sharedf:x,arrayf:k,rrtabid:[],lastuser:"",biff:8,codepage:0,winlocked:0,cellStyles:!!t&&!!t.cellStyles,WTF:!!t&&!!t.wtf};t.password&&(R.password=t.password);var O=[],L=[],P=[],I=[],F=!1,D=[];D.SheetNames=R.snames,D.sharedf=R.sharedf,D.arrayf=R.arrayf,D.names=[],D.XTI=[];var M,j=0,W=0,U=0,z=[],H=[];R.codepage=1200,s(1200);for(var V=!1;e.l<e.length-1;){var q=e.l,$=e._R(2);if(0===$&&10===j)break;var G=e.l===e.length?0:e._R(2),X=Yl[$];if(X&&X.f){if(t.bookSheets&&133===j&&133!==$)break;if(j=$,2===X.r||12==X.r){var Y=e._R(2);if(G-=2,!R.enc&&Y!==$&&((255&Y)<<8|Y>>8)!==$)throw new Error("rt mismatch: "+Y+"!="+$);12==X.r&&(e.l+=10,G-=10)}var K={};if(K=10===$?X.f(e,G,R):Ul($,X,e,G,R),0==W&&-1===[9,521,1033,2057].indexOf(j))continue;switch($){case 34:r.opts.Date1904=E.WBProps.date1904=K;break;case 134:r.opts.WriteProtect=!0;break;case 47:if(R.enc||(e.l=0),R.enc=K,!t.password)throw new Error("File is password-protected");if(null==K.valid)throw new Error("Encryption scheme unsupported");if(!K.valid)throw new Error("Password is incorrect");break;case 92:R.lastuser=K;break;case 66:var J=Number(K);switch(J){case 21010:J=1200;break;case 32768:J=1e4;break;case 32769:J=1252}s(R.codepage=J),V=!0;break;case 317:R.rrtabid=K;break;case 25:R.winlocked=K;break;case 439:r.opts.RefreshAll=K;break;case 12:r.opts.CalcCount=K;break;case 16:r.opts.CalcDelta=K;break;case 17:r.opts.CalcIter=K;break;case 13:r.opts.CalcMode=K;break;case 14:r.opts.CalcPrecision=K;break;case 95:r.opts.CalcSaveRecalc=K;break;case 15:R.CalcRefMode=K;break;case 2211:r.opts.FullCalc=K;break;case 129:K.fDialog&&(d["!type"]="dialog"),K.fBelow||((d["!outline"]||(d["!outline"]={})).above=!0),K.fRight||((d["!outline"]||(d["!outline"]={})).left=!0);break;case 224:A.push(K);break;case 430:D.push([K]),D[D.length-1].XTI=[];break;case 35:case 547:D[D.length-1].push(K);break;case 24:case 536:M={Name:K.Name,Ref:Us(K.rgce,0,null,D,R)},K.itab>0&&(M.Sheet=K.itab-1),D.names.push(M),D[0]||(D[0]=[],D[0].XTI=[]),D[D.length-1].push(K),"_xlnm._FilterDatabase"==K.Name&&K.itab>0&&K.rgce&&K.rgce[0]&&K.rgce[0][0]&&"PtgArea3d"==K.rgce[0][0][0]&&(H[K.itab-1]={ref:Vr(K.rgce[0][0][1][2])});break;case 22:R.ExternCount=K;break;case 23:0==D.length&&(D[0]=[],D[0].XTI=[]),D[D.length-1].XTI=D[D.length-1].XTI.concat(K),D.XTI=D.XTI.concat(K);break;case 2196:if(R.biff<8)break;null!=M&&(M.Comment=K[1]);break;case 18:d["!protect"]=K;break;case 19:0!==K&&R.WTF&&console.error("Password verifier: "+K);break;case 133:g[K.pos]=K,R.snames.push(K.name);break;case 10:if(--W)break;if(m.e){if(m.e.r>0&&m.e.c>0){if(m.e.r--,m.e.c--,d["!ref"]=Vr(m),t.sheetRows&&t.sheetRows<=m.e.r){var Z=m.e.r;m.e.r=t.sheetRows-1,d["!fullref"]=d["!ref"],d["!ref"]=Vr(m),m.e.r=Z}m.e.r++,m.e.c++}O.length>0&&(d["!merges"]=O),L.length>0&&(d["!objects"]=L),P.length>0&&(d["!cols"]=P),I.length>0&&(d["!rows"]=I),E.Sheets.push(_)}""===y?w=d:n[y]=d,d=t.dense?[]:{};break;case 9:case 521:case 1033:case 2057:if(8===R.biff&&(R.biff={9:2,521:3,1033:4}[$]||{512:2,768:3,1024:4,1280:5,1536:8,2:2,7:2}[K.BIFFVer]||8),R.biffguess=0==K.BIFFVer,0==K.BIFFVer&&4096==K.dt&&(R.biff=5,V=!0,s(R.codepage=28591)),8==R.biff&&0==K.BIFFVer&&16==K.dt&&(R.biff=2),W++)break;if(d=t.dense?[]:{},R.biff<8&&!V&&(V=!0,s(R.codepage=t.codepage||1252)),R.biff<5||0==K.BIFFVer&&4096==K.dt){""===y&&(y="Sheet1"),m={s:{r:0,c:0},e:{r:0,c:0}};var Q={pos:e.l-G,name:y};g[Q.pos]=Q,R.snames.push(y)}else y=(g[q]||{name:""}).name;32==K.dt&&(d["!type"]="chart"),64==K.dt&&(d["!type"]="macro"),O=[],L=[],R.arrayf=k=[],P=[],I=[],F=!1,_={Hidden:(g[q]||{hs:0}).hs,name:y};break;case 515:case 3:case 2:"chart"==d["!type"]&&(t.dense?(d[K.r]||[])[K.c]:d[zr({c:K.c,r:K.r})])&&++K.c,u={ixfe:K.ixfe,XF:A[K.ixfe]||{},v:K.val,t:"n"},U>0&&(u.z=z[u.ixfe>>8&63]),zl(u,t,r.opts.Date1904),C({c:K.c,r:K.r},u,t);break;case 5:case 517:u={ixfe:K.ixfe,XF:A[K.ixfe],v:K.val,t:K.t},U>0&&(u.z=z[u.ixfe>>8&63]),zl(u,t,r.opts.Date1904),C({c:K.c,r:K.r},u,t);break;case 638:u={ixfe:K.ixfe,XF:A[K.ixfe],v:K.rknum,t:"n"},U>0&&(u.z=z[u.ixfe>>8&63]),zl(u,t,r.opts.Date1904),C({c:K.c,r:K.r},u,t);break;case 189:for(var ee=K.c;ee<=K.C;++ee){var te=K.rkrec[ee-K.c][0];u={ixfe:te,XF:A[te],v:K.rkrec[ee-K.c][1],t:"n"},U>0&&(u.z=z[u.ixfe>>8&63]),zl(u,t,r.opts.Date1904),C({c:ee,r:K.r},u,t)}break;case 6:case 518:case 1030:if("String"==K.val){v=K;break}if((u=Hl(K.val,K.cell.ixfe,K.tt)).XF=A[u.ixfe],t.cellFormula){var re=K.formula;if(re&&re[0]&&re[0][0]&&"PtgExp"==re[0][0][0]){var ne=re[0][0][1][0],ae=re[0][0][1][1],oe=zr({r:ne,c:ae});x[oe]?u.f=""+Us(K.formula,0,K.cell,D,R):u.F=((t.dense?(d[ne]||[])[ae]:d[oe])||{}).F}else u.f=""+Us(K.formula,0,K.cell,D,R)}U>0&&(u.z=z[u.ixfe>>8&63]),zl(u,t,r.opts.Date1904),C(K.cell,u,t),v=K;break;case 7:case 519:if(!v)throw new Error("String record expects Formula");v.val=K,(u=Hl(K,v.cell.ixfe,"s")).XF=A[u.ixfe],t.cellFormula&&(u.f=""+Us(v.formula,0,v.cell,D,R)),U>0&&(u.z=z[u.ixfe>>8&63]),zl(u,t,r.opts.Date1904),C(v.cell,u,t),v=null;break;case 33:case 545:k.push(K);var ie=zr(K[0].s);if(o=t.dense?(d[K[0].s.r]||[])[K[0].s.c]:d[ie],t.cellFormula&&o){if(!v)break;if(!ie||!o)break;o.f=""+Us(K[1],0,K[0],D,R),o.F=Vr(K[0])}break;case 1212:if(!t.cellFormula)break;if(S){if(!v)break;x[zr(v.cell)]=K[0],((o=t.dense?(d[v.cell.r]||[])[v.cell.c]:d[zr(v.cell)])||{}).f=""+Us(K[0],0,a,D,R)}break;case 253:u=Hl(b[K.isst].t,K.ixfe,"s"),b[K.isst].h&&(u.h=b[K.isst].h),u.XF=A[u.ixfe],U>0&&(u.z=z[u.ixfe>>8&63]),zl(u,t,r.opts.Date1904),C({c:K.c,r:K.r},u,t);break;case 513:t.sheetStubs&&(u={ixfe:K.ixfe,XF:A[K.ixfe],t:"z"},U>0&&(u.z=z[u.ixfe>>8&63]),zl(u,t,r.opts.Date1904),C({c:K.c,r:K.r},u,t));break;case 190:if(t.sheetStubs)for(var se=K.c;se<=K.C;++se){var ce=K.ixfe[se-K.c];u={ixfe:ce,XF:A[ce],t:"z"},U>0&&(u.z=z[u.ixfe>>8&63]),zl(u,t,r.opts.Date1904),C({c:se,r:K.r},u,t)}break;case 214:case 516:case 4:(u=Hl(K.val,K.ixfe,"s")).XF=A[u.ixfe],U>0&&(u.z=z[u.ixfe>>8&63]),zl(u,t,r.opts.Date1904),C({c:K.c,r:K.r},u,t);break;case 0:case 512:1===W&&(m=K);break;case 252:b=K;break;case 1054:if(4==R.biff){z[U++]=K[1];for(var le=0;le<U+163&&B[le]!=K[1];++le);le>=163&&ve(K[1],U+163)}else ve(K[1],K[0]);break;case 30:z[U++]=K;for(var ue=0;ue<U+163&&B[ue]!=K;++ue);ue>=163&&ve(K,U+163);break;case 229:O=O.concat(K);break;case 93:L[K.cmo[0]]=R.lastobj=K;break;case 438:R.lastobj.TxO=K;break;case 127:R.lastobj.ImData=K;break;case 440:for(l=K[0].s.r;l<=K[0].e.r;++l)for(c=K[0].s.c;c<=K[0].e.c;++c)(o=t.dense?(d[l]||[])[c]:d[zr({c:c,r:l})])&&(o.l=K[1]);break;case 2048:for(l=K[0].s.r;l<=K[0].e.r;++l)for(c=K[0].s.c;c<=K[0].e.c;++c)(o=t.dense?(d[l]||[])[c]:d[zr({c:c,r:l})])&&o.l&&(o.l.Tooltip=K[1]);break;case 28:if(R.biff<=5&&R.biff>=2)break;o=t.dense?(d[K[0].r]||[])[K[0].c]:d[zr(K[0])];var fe=L[K[2]];o||(t.dense?(d[K[0].r]||(d[K[0].r]=[]),o=d[K[0].r][K[0].c]={t:"z"}):o=d[zr(K[0])]={t:"z"},m.e.r=Math.max(m.e.r,K[0].r),m.s.r=Math.min(m.s.r,K[0].r),m.e.c=Math.max(m.e.c,K[0].c),m.s.c=Math.min(m.s.c,K[0].c)),o.c||(o.c=[]),i={a:K[1],t:fe.TxO.t},o.c.push(i);break;case 2173:Zi(A[K.ixfe],K.ext);break;case 125:if(!R.cellStyles)break;for(;K.e>=K.s;)P[K.e--]={width:K.w/256,level:K.level||0,hidden:!!(1&K.flags)},F||(F=!0,mi(K.w/256)),vi(P[K.e+1]);break;case 520:var he={};null!=K.level&&(I[K.r]=he,he.level=K.level),K.hidden&&(I[K.r]=he,he.hidden=!0),K.hpt&&(I[K.r]=he,he.hpt=K.hpt,he.hpx=wi(K.hpt));break;case 38:case 39:case 40:case 41:d["!margins"]||lc(d["!margins"]={}),d["!margins"][{38:"left",39:"right",40:"top",41:"bottom"}[$]]=K;break;case 161:d["!margins"]||lc(d["!margins"]={}),d["!margins"].header=K.header,d["!margins"].footer=K.footer;break;case 574:K.RTL&&(E.Views[0].RTL=!0);break;case 146:T=K;break;case 2198:h=K;break;case 140:f=K;break;case 442:y?_.CodeName=K||_.name:E.WBProps.CodeName=K||"ThisWorkbook"}}else X||console.error("Missing Info for XLS Record 0x"+$.toString(16)),e.l+=G}return r.SheetNames=Ne(g).sort(function(e,t){return Number(e)-Number(t)}).map(function(e){return g[e].name}),t.bookSheets||(r.Sheets=n),!r.SheetNames.length&&w["!ref"]?(r.SheetNames.push("Sheet1"),r.Sheets&&(r.Sheets.Sheet1=w)):r.Preamble=w,r.Sheets&&H.forEach(function(e,t){r.Sheets[r.SheetNames[t]]["!autofilter"]=e}),r.Strings=b,r.SSF=Ve(B),R.enc&&(r.Encryption=R.enc),h&&(r.Themes=h),r.Metadata={},void 0!==f&&(r.Metadata.Country=f),D.names.length>0&&(E.Names=D.names),r.Workbook=E,r}var ql={SI:"e0859ff2f94f6810ab9108002b27b3d9",DSI:"02d5cdd59c2e1b10939708002b2cf9ae",UDI:"05d5cdd59c2e1b10939708002b2cf9ae"};function $l(e,t){var r,n,a,o;if(t||(t={}),Ju(t),c(),t.codepage&&i(t.codepage),e.FullPaths){if(Te.find(e,"/encryption"))throw new Error("File is password-protected");r=Te.find(e,"!CompObj"),n=Te.find(e,"/Workbook")||Te.find(e,"/Book")}else{switch(t.type){case"base64":e=k(b(e));break;case"binary":e=k(e);break;case"buffer":break;case"array":Array.isArray(e)||(e=Array.prototype.slice.call(e))}_r(e,0),n={content:e}}if(r&&Bl(r),t.bookProps&&!t.bookSheets)a={};else{var s=y?"buffer":"array";if(n&&n.content)a=Vl(n.content,t);else if((o=Te.find(e,"PerfectOffice_MAIN"))&&o.content)a=Oo.to_workbook(o.content,(t.type=s,t));else{if(!(o=Te.find(e,"NativeContent_MAIN"))||!o.content)throw(o=Te.find(e,"MN0"))&&o.content?new Error("Unsupported Works 4 for Mac file"):new Error("Cannot find Workbook stream");a=Oo.to_workbook(o.content,(t.type=s,t))}t.bookVBA&&e.FullPaths&&Te.find(e,"/_VBA_PROJECT_CUR/VBA/dir")&&(a.vbaraw=function(e){var t=Te.utils.cfb_new({root:"R"});return e.FullPaths.forEach(function(r,n){if("/"!==r.slice(-1)&&r.match(/_VBA_PROJECT_CUR/)){var a=r.replace(/^[^\/]*/,"R").replace(/\/_VBA_PROJECT_CUR\u0000*/,"");Te.utils.cfb_add(t,a,e.FileIndex[n].content)}}),Te.write(t)}(e))}var l={};return e.FullPaths&&function(e,t,r){var n=Te.find(e,"/!DocumentSummaryInformation");if(n&&n.size>0)try{var a=ka(n,Rn,ql.DSI);for(var o in a)t[o]=a[o]}catch(e){if(r.WTF)throw e}var i=Te.find(e,"/!SummaryInformation");if(i&&i.size>0)try{var s=ka(i,On,ql.SI);for(var c in s)null==t[c]&&(t[c]=s[c])}catch(e){if(r.WTF)throw e}t.HeadingPairs&&t.TitlesOfParts&&(ra(t.HeadingPairs,t.TitlesOfParts,t,r),delete t.HeadingPairs,delete t.TitlesOfParts)}(e,l,t),a.Props=a.Custprops=l,t.bookFiles&&(a.cfb=e),a}function Gl(e,t){var r=t||{},n=Te.utils.cfb_new({root:"R"}),a="/Workbook";switch(r.bookType||"xls"){case"xls":r.bookType="biff8";case"xla":r.bookType||(r.bookType="xla");case"biff8":a="/Workbook",r.biff=8;break;case"biff5":a="/Book",r.biff=5;break;default:throw new Error("invalid type "+r.bookType+" for XLS CFB")}return Te.utils.cfb_add(n,a,ou(e,r)),8==r.biff&&(e.Props||e.Custprops)&&function(e,t){var r,n=[],a=[],o=[],i=0,s=Ce(Rn,"n"),c=Ce(On,"n");if(e.Props)for(r=Ne(e.Props),i=0;i<r.length;++i)(Object.prototype.hasOwnProperty.call(s,r[i])?n:Object.prototype.hasOwnProperty.call(c,r[i])?a:o).push([r[i],e.Props[r[i]]]);if(e.Custprops)for(r=Ne(e.Custprops),i=0;i<r.length;++i)Object.prototype.hasOwnProperty.call(e.Props||{},r[i])||(Object.prototype.hasOwnProperty.call(s,r[i])?n:Object.prototype.hasOwnProperty.call(c,r[i])?a:o).push([r[i],e.Custprops[r[i]]]);var l=[];for(i=0;i<o.length;++i)wa.indexOf(o[i][0])>-1||ta.indexOf(o[i][0])>-1||null!=o[i][1]&&l.push(o[i]);a.length&&Te.utils.cfb_add(t,"/SummaryInformation",Aa(a,ql.SI,c,On)),(n.length||l.length)&&Te.utils.cfb_add(t,"/DocumentSummaryInformation",Aa(n,ql.DSI,s,Rn,l.length?l:null,ql.UDI))}(e,n),8==r.biff&&e.vbaraw&&function(e,t){t.FullPaths.forEach(function(r,n){if(0!=n){var a=r.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");"/"!==a.slice(-1)&&Te.utils.cfb_add(e,a,t.FileIndex[n].content)}})}(n,Te.read(e.vbaraw,{type:"string"==typeof e.vbaraw?"binary":"buffer"})),n}var Xl={0:{f:function(e,t){var r={},n=e.l+t;r.r=e._R(4),e.l+=4;var a=e._R(2);e.l+=1;var o=e._R(1);return e.l=n,7&o&&(r.level=7&o),16&o&&(r.hidden=!0),32&o&&(r.hpt=a/20),r}},1:{f:function(e){return[an(e)]}},2:{f:function(e){return[an(e),mn(e),"n"]}},3:{f:function(e){return[an(e),e._R(1),"e"]}},4:{f:function(e){return[an(e),e._R(1),"b"]}},5:{f:function(e){return[an(e),Sn(e),"n"]}},6:{f:function(e){return[an(e),Zr(e),"str"]}},7:{f:function(e){return[an(e),e._R(4),"s"]}},8:{f:function(e,t,r){var n=e.l+t,a=an(e);a.r=r["!row"];var o=[a,Zr(e),"str"];if(r.cellFormula){e.l+=2;var i=Xs(e,n-e.l,r);o[3]=Us(i,0,a,r.supbooks,r)}else e.l=n;return o}},9:{f:function(e,t,r){var n=e.l+t,a=an(e);a.r=r["!row"];var o=[a,Sn(e),"n"];if(r.cellFormula){e.l+=2;var i=Xs(e,n-e.l,r);o[3]=Us(i,0,a,r.supbooks,r)}else e.l=n;return o}},10:{f:function(e,t,r){var n=e.l+t,a=an(e);a.r=r["!row"];var o=[a,e._R(1),"b"];if(r.cellFormula){e.l+=2;var i=Xs(e,n-e.l,r);o[3]=Us(i,0,a,r.supbooks,r)}else e.l=n;return o}},11:{f:function(e,t,r){var n=e.l+t,a=an(e);a.r=r["!row"];var o=[a,e._R(1),"e"];if(r.cellFormula){e.l+=2;var i=Xs(e,n-e.l,r);o[3]=Us(i,0,a,r.supbooks,r)}else e.l=n;return o}},12:{f:function(e){return[sn(e)]}},13:{f:function(e){return[sn(e),mn(e),"n"]}},14:{f:function(e){return[sn(e),e._R(1),"e"]}},15:{f:function(e){return[sn(e),e._R(1),"b"]}},16:{f:Ic},17:{f:function(e){return[sn(e),Zr(e),"str"]}},18:{f:function(e){return[sn(e),e._R(4),"s"]}},19:{f:tn},20:{},21:{},22:{},23:{},24:{},25:{},26:{},27:{},28:{},29:{},30:{},31:{},32:{},33:{},34:{},35:{T:1},36:{T:-1},37:{T:1},38:{T:-1},39:{f:function(e,t,r){var n=e.l+t;e.l+=4,e.l+=1;var a=e._R(4),o=dn(e),i=Ys(e,0,r),s=fn(e);e.l=n;var c={Name:o,Ptg:i};return a<268435455&&(c.Sheet=a),s&&(c.Comment=s),c}},40:{},42:{},43:{f:function(e,t,r){var n={};n.sz=e._R(2)/20;var a=function(e){var t=e._R(1);return e.l++,{fBold:1&t,fItalic:2&t,fUnderline:4&t,fStrikeout:8&t,fOutline:16&t,fShadow:32&t,fCondense:64&t,fExtend:128&t}}(e);switch(a.fItalic&&(n.italic=1),a.fCondense&&(n.condense=1),a.fExtend&&(n.extend=1),a.fShadow&&(n.shadow=1),a.fOutline&&(n.outline=1),a.fStrikeout&&(n.strike=1),700===e._R(2)&&(n.bold=1),e._R(2)){case 1:n.vertAlign="superscript";break;case 2:n.vertAlign="subscript"}var o=e._R(1);0!=o&&(n.underline=o);var i=e._R(1);i>0&&(n.family=i);var s=e._R(1);switch(s>0&&(n.charset=s),e.l++,n.color=function(e){var t={},r=e._R(1)>>>1,n=e._R(1),a=e._R(2,"i"),o=e._R(1),i=e._R(1),s=e._R(1);switch(e.l++,r){case 0:t.auto=1;break;case 1:t.index=n;var c=In[n];c&&(t.rgb=ii(c));break;case 2:t.rgb=ii([o,i,s]);break;case 3:t.theme=n}return 0!=a&&(t.tint=a>0?a/32767:a/32768),t}(e),e._R(1)){case 1:n.scheme="major";break;case 2:n.scheme="minor"}return n.name=Zr(e),n}},44:{f:function(e,t){return[e._R(2),Zr(e)]}},45:{f:Oi},46:{f:Fi},47:{f:function(e,t){var r=e.l+t,n=e._R(2),a=e._R(2);return e.l=r,{ixfe:n,numFmtId:a}}},48:{},49:{f:function(e){return e._R(4,"i")}},50:{},51:{f:function(e){for(var t=[],r=e._R(4);r-- >0;)t.push([e._R(4),e._R(4)]);return t}},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:So},62:{f:function(e){return[an(e),tn(e),"is"]}},63:{f:function(e){var t={};t.i=e._R(4);var r={};r.r=e._R(4),r.c=e._R(4),t.r=zr(r);var n=e._R(1);return 2&n&&(t.l="1"),8&n&&(t.a="1"),t}},64:{f:function(){}},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:Nr,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:function(e){var t=e._R(2);return e.l+=28,{RTL:32&t}}},138:{T:-1},139:{T:1},140:{T:-1},141:{T:1},142:{T:-1},143:{T:1},144:{T:-1},145:{T:1},146:{T:-1},147:{f:function(e,t){var r={},n=e[e.l];return++e.l,r.above=!(64&n),r.left=!(128&n),e.l+=18,r.name=ln(e,t-19),r}},148:{f:Lc,p:16},151:{f:function(){}},152:{},153:{f:function(e,t){var r={},n=e._R(4);r.defaultThemeVersion=e._R(4);var a=t>8?Zr(e):"";return a.length>0&&(r.CodeName=a),r.autoCompressPictures=!!(65536&n),r.backupFile=!!(64&n),r.checkCompatibility=!!(4096&n),r.date1904=!!(1&n),r.filterPrivacy=!!(8&n),r.hidePivotFieldList=!!(1024&n),r.promptedSolutions=!!(16&n),r.publishItems=!!(2048&n),r.refreshAllConnections=!!(262144&n),r.saveExternalLinkValues=!!(128&n),r.showBorderUnselectedTables=!!(4&n),r.showInkAnnotation=!!(32&n),r.showObjects=["all","placeholders","none"][n>>13&3],r.showPivotChartFilter=!!(32768&n),r.updateLinks=["userSet","never","always"][n>>8&3],r}},154:{},155:{},156:{f:function(e,t){var r={};return r.Hidden=e._R(4),r.iTabID=e._R(4),r.strRelID=pn(e,t-8),r.name=Zr(e),r}},157:{},158:{},159:{T:1,f:function(e){return[e._R(4),e._R(4)]}},160:{T:-1},161:{T:1,f:yn},162:{T:-1},163:{T:1},164:{T:-1},165:{T:1},166:{T:-1},167:{},168:{},169:{},170:{},171:{},172:{T:1},173:{T:-1},174:{},175:{},176:{f:Fc},177:{T:1},178:{T:-1},179:{T:1},180:{T:-1},181:{T:1},182:{T:-1},183:{T:1},184:{T:-1},185:{T:1},186:{T:-1},187:{T:1},188:{T:-1},189:{T:1},190:{T:-1},191:{T:1},192:{T:-1},193:{T:1},194:{T:-1},195:{T:1},196:{T:-1},197:{T:1},198:{T:-1},199:{T:1},200:{T:-1},201:{T:1},202:{T:-1},203:{T:1},204:{T:-1},205:{T:1},206:{T:-1},207:{T:1},208:{T:-1},209:{T:1},210:{T:-1},211:{T:1},212:{T:-1},213:{T:1},214:{T:-1},215:{T:1},216:{T:-1},217:{T:1},218:{T:-1},219:{T:1},220:{T:-1},221:{T:1},222:{T:-1},223:{T:1},224:{T:-1},225:{T:1},226:{T:-1},227:{T:1},228:{T:-1},229:{T:1},230:{T:-1},231:{T:1},232:{T:-1},233:{T:1},234:{T:-1},235:{T:1},236:{T:-1},237:{T:1},238:{T:-1},239:{T:1},240:{T:-1},241:{T:1},242:{T:-1},243:{T:1},244:{T:-1},245:{T:1},246:{T:-1},247:{T:1},248:{T:-1},249:{T:1},250:{T:-1},251:{T:1},252:{T:-1},253:{T:1},254:{T:-1},255:{T:1},256:{T:-1},257:{T:1},258:{T:-1},259:{T:1},260:{T:-1},261:{T:1},262:{T:-1},263:{T:1},264:{T:-1},265:{T:1},266:{T:-1},267:{T:1},268:{T:-1},269:{T:1},270:{T:-1},271:{T:1},272:{T:-1},273:{T:1},274:{T:-1},275:{T:1},276:{T:-1},277:{},278:{T:1},279:{T:-1},280:{T:1},281:{T:-1},282:{T:1},283:{T:1},284:{T:-1},285:{T:1},286:{T:-1},287:{T:1},288:{T:-1},289:{T:1},290:{T:-1},291:{T:1},292:{T:-1},293:{T:1},294:{T:-1},295:{T:1},296:{T:-1},297:{T:1},298:{T:-1},299:{T:1},300:{T:-1},301:{T:1},302:{T:-1},303:{T:1},304:{T:-1},305:{T:1},306:{T:-1},307:{T:1},308:{T:-1},309:{T:1},310:{T:-1},311:{T:1},312:{T:-1},313:{T:-1},314:{T:1},315:{T:-1},316:{T:1},317:{T:-1},318:{T:1},319:{T:-1},320:{T:1},321:{T:-1},322:{T:1},323:{T:-1},324:{T:1},325:{T:-1},326:{T:1},327:{T:-1},328:{T:1},329:{T:-1},330:{T:1},331:{T:-1},332:{T:1},333:{T:-1},334:{T:1},335:{f:function(e,t){return{flags:e._R(4),version:e._R(4),name:Zr(e)}}},336:{T:-1},337:{f:function(e){return e.l+=4,0!=e._R(4)},T:1},338:{T:-1},339:{T:1},340:{T:-1},341:{T:1},342:{T:-1},343:{T:1},344:{T:-1},345:{T:1},346:{T:-1},347:{T:1},348:{T:-1},349:{T:1},350:{T:-1},351:{},352:{},353:{T:1},354:{T:-1},355:{f:pn},357:{},358:{},359:{},360:{T:1},361:{},362:{f:mo},363:{},364:{},366:{},367:{},368:{},369:{},370:{},371:{},372:{T:1},373:{T:-1},374:{T:1},375:{T:-1},376:{T:1},377:{T:-1},378:{T:1},379:{T:-1},380:{T:1},381:{T:-1},382:{T:1},383:{T:-1},384:{T:1},385:{T:-1},386:{T:1},387:{T:-1},388:{T:1},389:{T:-1},390:{T:1},391:{T:-1},392:{T:1},393:{T:-1},394:{T:1},395:{T:-1},396:{},397:{},398:{},399:{},400:{},401:{T:1},403:{},404:{},405:{},406:{},407:{},408:{},409:{},410:{},411:{},412:{},413:{},414:{},415:{},416:{},417:{},418:{},419:{},420:{},421:{},422:{T:1},423:{T:1},424:{T:-1},425:{T:-1},426:{f:function(e,t,r){var n=e.l+t,a=bn(e),o=e._R(1),i=[a];if(i[2]=o,r.cellFormula){var s=Gs(e,n-e.l,r);i[1]=s}else e.l=n;return i}},427:{f:function(e,t,r){var n=e.l+t,a=[yn(e,16)];if(r.cellFormula){var o=Ks(e,n-e.l,r);a[1]=o,e.l=n}else e.l=n;return a}},428:{},429:{T:1},430:{T:-1},431:{T:1},432:{T:-1},433:{T:1},434:{T:-1},435:{T:1},436:{T:-1},437:{T:1},438:{T:-1},439:{T:1},440:{T:-1},441:{T:1},442:{T:-1},443:{T:1},444:{T:-1},445:{T:1},446:{T:-1},447:{T:1},448:{T:-1},449:{T:1},450:{T:-1},451:{T:1},452:{T:-1},453:{T:1},454:{T:-1},455:{T:1},456:{T:-1},457:{T:1},458:{T:-1},459:{T:1},460:{T:-1},461:{T:1},462:{T:-1},463:{T:1},464:{T:-1},465:{T:1},466:{T:-1},467:{T:1},468:{T:-1},469:{T:1},470:{T:-1},471:{},472:{},473:{T:1},474:{T:-1},475:{},476:{f:function(e){var t={};return Mc.forEach(function(r){t[r]=Sn(e)}),t}},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:function(){}},486:{T:1},487:{T:-1},488:{T:1},489:{T:-1},490:{T:1},491:{T:-1},492:{T:1},493:{T:-1},494:{f:function(e,t){var r=e.l+t,n=yn(e,16),a=fn(e),o=Zr(e),i=Zr(e),s=Zr(e);e.l=r;var c={rfx:n,relId:a,loc:o,display:s};return i&&(c.Tooltip=i),c}},495:{T:1},496:{T:-1},497:{T:1},498:{T:-1},499:{},500:{T:1},501:{T:-1},502:{T:1},503:{T:-1},504:{},505:{T:1},506:{T:-1},507:{},508:{T:1},509:{T:-1},510:{T:1},511:{T:-1},512:{},513:{},514:{T:1},515:{T:-1},516:{T:1},517:{T:-1},518:{T:1},519:{T:-1},520:{T:1},521:{T:-1},522:{},523:{},524:{},525:{},526:{},527:{},528:{T:1},529:{T:-1},530:{T:1},531:{T:-1},532:{T:1},533:{T:-1},534:{},535:{},536:{},537:{},538:{T:1},539:{T:-1},540:{T:1},541:{T:-1},542:{T:1},548:{},549:{},550:{f:pn},551:{},552:{},553:{},554:{T:1},555:{T:-1},556:{T:1},557:{T:-1},558:{T:1},559:{T:-1},560:{T:1},561:{T:-1},562:{},564:{},565:{T:1},566:{T:-1},569:{T:1},570:{T:-1},572:{},573:{T:1},574:{T:-1},577:{},578:{},579:{},580:{},581:{},582:{},583:{},584:{},585:{},586:{},587:{},588:{T:-1},589:{},590:{T:1},591:{T:-1},592:{T:1},593:{T:-1},594:{T:1},595:{T:-1},596:{},597:{T:1},598:{T:-1},599:{T:1},600:{T:-1},601:{T:1},602:{T:-1},603:{T:1},604:{T:-1},605:{T:1},606:{T:-1},607:{},608:{T:1},609:{T:-1},610:{},611:{T:1},612:{T:-1},613:{T:1},614:{T:-1},615:{T:1},616:{T:-1},617:{T:1},618:{T:-1},619:{T:1},620:{T:-1},625:{},626:{T:1},627:{T:-1},628:{T:1},629:{T:-1},630:{T:1},631:{T:-1},632:{f:is},633:{T:1},634:{T:-1},635:{T:1,f:function(e){var t={};t.iauthor=e._R(4);var r=yn(e,16);return t.rfx=r.s,t.ref=zr(r.s),e.l+=16,t}},636:{T:-1},637:{f:rn},638:{T:1},639:{},640:{T:-1},641:{T:1},642:{T:-1},643:{T:1},644:{},645:{T:-1},646:{T:1},648:{T:1},649:{},650:{T:-1},651:{f:function(e,t){return e.l+=10,{name:Zr(e)}}},652:{},653:{T:1},654:{T:-1},655:{T:1},656:{T:-1},657:{T:1},658:{T:-1},659:{},660:{T:1},661:{},662:{T:-1},663:{},664:{T:1},665:{},666:{T:-1},667:{},668:{},669:{},671:{T:1},672:{T:-1},673:{T:1},674:{T:-1},675:{},676:{},677:{},678:{},679:{},680:{},681:{},1024:{},1025:{},1026:{T:1},1027:{T:-1},1028:{T:1},1029:{T:-1},1030:{},1031:{T:1},1032:{T:-1},1033:{T:1},1034:{T:-1},1035:{},1036:{},1037:{},1038:{T:1},1039:{T:-1},1040:{},1041:{T:1},1042:{T:-1},1043:{},1044:{},1045:{},1046:{T:1},1047:{T:-1},1048:{T:1},1049:{T:-1},1050:{},1051:{T:1},1052:{T:1},1053:{f:function(){}},1054:{T:1},1055:{},1056:{T:1},1057:{T:-1},1058:{T:1},1059:{T:-1},1061:{},1062:{T:1},1063:{T:-1},1064:{T:1},1065:{T:-1},1066:{T:1},1067:{T:-1},1068:{T:1},1069:{T:-1},1070:{T:1},1071:{T:-1},1072:{T:1},1073:{T:-1},1075:{T:1},1076:{T:-1},1077:{T:1},1078:{T:-1},1079:{T:1},1080:{T:-1},1081:{T:1},1082:{T:-1},1083:{T:1},1084:{T:-1},1085:{},1086:{T:1},1087:{T:-1},1088:{T:1},1089:{T:-1},1090:{T:1},1091:{T:-1},1092:{T:1},1093:{T:-1},1094:{T:1},1095:{T:-1},1096:{},1097:{T:1},1098:{},1099:{T:-1},1100:{T:1},1101:{T:-1},1102:{},1103:{},1104:{},1105:{},1111:{},1112:{},1113:{T:1},1114:{T:-1},1115:{T:1},1116:{T:-1},1117:{},1118:{T:1},1119:{T:-1},1120:{T:1},1121:{T:-1},1122:{T:1},1123:{T:-1},1124:{T:1},1125:{T:-1},1126:{},1128:{T:1},1129:{T:-1},1130:{},1131:{T:1},1132:{T:-1},1133:{T:1},1134:{T:-1},1135:{T:1},1136:{T:-1},1137:{T:1},1138:{T:-1},1139:{T:1},1140:{T:-1},1141:{},1142:{T:1},1143:{T:-1},1144:{T:1},1145:{T:-1},1146:{},1147:{T:1},1148:{T:-1},1149:{T:1},1150:{T:-1},1152:{T:1},1153:{T:-1},1154:{T:-1},1155:{T:-1},1156:{T:-1},1157:{T:1},1158:{T:-1},1159:{T:1},1160:{T:-1},1161:{T:1},1162:{T:-1},1163:{T:1},1164:{T:-1},1165:{T:1},1166:{T:-1},1167:{T:1},1168:{T:-1},1169:{T:1},1170:{T:-1},1171:{},1172:{T:1},1173:{T:-1},1177:{},1178:{T:1},1180:{},1181:{},1182:{},2048:{T:1},2049:{T:-1},2050:{},2051:{T:1},2052:{T:-1},2053:{},2054:{},2055:{T:1},2056:{T:-1},2057:{T:1},2058:{T:-1},2060:{},2067:{},2068:{T:1},2069:{T:-1},2070:{},2071:{},2072:{T:1},2073:{T:-1},2075:{},2076:{},2077:{T:1},2078:{T:-1},2079:{},2080:{T:1},2081:{T:-1},2082:{},2083:{T:1},2084:{T:-1},2085:{T:1},2086:{T:-1},2087:{T:1},2088:{T:-1},2089:{T:1},2090:{T:-1},2091:{},2092:{},2093:{T:1},2094:{T:-1},2095:{},2096:{T:1},2097:{T:-1},2098:{T:1},2099:{T:-1},2100:{T:1},2101:{T:-1},2102:{},2103:{T:1},2104:{T:-1},2105:{},2106:{T:1},2107:{T:-1},2108:{},2109:{T:1},2110:{T:-1},2111:{T:1},2112:{T:-1},2113:{T:1},2114:{T:-1},2115:{},2116:{},2117:{},2118:{T:1},2119:{T:-1},2120:{},2121:{T:1},2122:{T:-1},2123:{T:1},2124:{T:-1},2125:{},2126:{T:1},2127:{T:-1},2128:{},2129:{T:1},2130:{T:-1},2131:{T:1},2132:{T:-1},2133:{T:1},2134:{},2135:{},2136:{},2137:{T:1},2138:{T:-1},2139:{T:1},2140:{T:-1},2141:{},3072:{},3073:{},4096:{T:1},4097:{T:-1},5002:{T:1},5003:{T:-1},5081:{T:1},5082:{T:-1},5083:{},5084:{T:1},5085:{T:-1},5086:{T:1},5087:{T:-1},5088:{},5089:{},5090:{},5092:{T:1},5093:{T:-1},5094:{},5095:{T:1},5096:{T:-1},5097:{},5099:{},65535:{n:""}},Yl={6:{f:Vs},10:{f:Ta},12:{f:Na},13:{f:Na},14:{f:Ea},15:{f:Ea},16:{f:Sn},17:{f:Ea},18:{f:Ea},19:{f:Na},20:{f:fo},21:{f:fo},23:{f:mo},24:{f:go},25:{f:Ea},26:{},27:{},28:{f:function(e,t,r){return function(e,t,r){if(!(r.biff<8)){var n=e._R(2),a=e._R(2),o=e._R(2),i=e._R(2),s=Ma(e,0,r);return r.biff<8&&e._R(1),[{r:n,c:a},s,i,o]}}(e,0,r)}},29:{},34:{f:Ea},35:{f:ho},38:{f:Sn},39:{f:Sn},40:{f:Sn},41:{f:Sn},42:{f:Ea},43:{f:Ea},47:{f:function(e,t,r){var n={Type:r.biff>=8?e._R(2):0};return n.Type?ai(e,t-2,n):function(e,t,r,n){var a={key:Na(e),verificationBytes:Na(e)};r.password&&(a.verifier=ti(r.password)),n.valid=a.verificationBytes===a.verifier,n.valid&&(n.insitu=ni(r.password))}(e,r.biff,r,n),n}},49:{f:function(e,t,r){var n={dyHeight:e._R(2),fl:e._R(2)};switch(r&&r.biff||8){case 2:break;case 3:case 4:e.l+=2;break;default:e.l+=10}return n.name=La(e,0,r),n}},51:{f:Na},60:{},61:{f:function(e){return{Pos:[e._R(2),e._R(2)],Dim:[e._R(2),e._R(2)],Flags:e._R(2),CurTab:e._R(2),FirstTab:e._R(2),Selected:e._R(2),TabRatio:e._R(2)}}},64:{f:Ea},65:{f:function(){}},66:{f:Na},77:{},80:{},81:{},82:{},85:{f:Na},89:{},90:{},91:{},92:{f:function(e,t,r){if(r.enc)return e.l+=t,"";var n=e.l,a=Ma(e,0,r);return e._R(t+n-e.l),a}},93:{f:function(e,t,r){if(r&&r.biff<8)return function(e,t,r){e.l+=4;var n=e._R(2),a=e._R(2),o=e._R(2);e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=6,t-=36;var i=[];return i.push((bo[n]||Nr)(e,t,r)),{cmo:[a,n,o],ft:i}}(e,t,r);var n=Qa(e),a=function(e,t){for(var r=e.l+t,n=[];e.l<r;){var a=e._R(2);e.l-=2;try{n.push(to[a](e,r-e.l))}catch(t){return e.l=r,n}}return e.l!=r&&(e.l=r),n}(e,t-22,n[1]);return{cmo:n,ft:a}}},94:{},95:{f:Ea},96:{},97:{},99:{f:Ea},125:{f:So},128:{f:function(e){e.l+=4;var t=[e._R(2),e._R(2)];if(0!==t[0]&&t[0]--,0!==t[1]&&t[1]--,t[0]>7||t[1]>7)throw new Error("Bad Gutters: "+t.join("|"));return t}},129:{f:function(e,t,r){var n=r&&8==r.biff||2==t?e._R(2):(e.l+=t,0);return{fDialog:16&n,fBelow:64&n,fRight:128&n}}},130:{f:Na},131:{f:Ea},132:{f:Ea},133:{f:function(e,t,r){var n=e._R(4),a=3&e._R(1),o=e._R(1);switch(o){case 0:o="Worksheet";break;case 1:o="Macrosheet";break;case 2:o="Chartsheet";break;case 6:o="VBAModule"}var i=La(e,0,r);return 0===i.length&&(i="Sheet1"),{pos:n,hs:a,dt:o,name:i}}},134:{},140:{f:function(e){var t,r=[0,0];return t=e._R(2),r[0]=Ln[t]||t,t=e._R(2),r[1]=Ln[t]||t,r}},141:{f:Na},144:{},146:{f:function(e){for(var t=e._R(2),r=[];t-- >0;)r.push(Va(e));return r}},151:{},152:{},153:{},154:{},155:{},156:{f:Na},157:{},158:{},160:{f:ko},161:{f:function(e,t){var r={};return t<32?r:(e.l+=16,r.header=Sn(e),r.footer=Sn(e),e.l+=2,r)}},174:{},175:{},176:{},177:{},178:{},180:{},181:{},182:{},184:{},185:{},189:{f:function(e,t){for(var r=e.l+t-2,n=e._R(2),a=e._R(2),o=[];e.l<r;)o.push(Xa(e));if(e.l!==r)throw new Error("MulRK read error");var i=e._R(2);if(o.length!=i-a+1)throw new Error("MulRK length mismatch");return{r:n,c:a,C:i,rkrec:o}}},190:{f:function(e,t){for(var r=e.l+t-2,n=e._R(2),a=e._R(2),o=[];e.l<r;)o.push(e._R(2));if(e.l!==r)throw new Error("MulBlank read error");var i=e._R(2);if(o.length!=i-a+1)throw new Error("MulBlank length mismatch");return{r:n,c:a,C:i,ixfe:o}}},193:{f:Ta},197:{},198:{},199:{},200:{},201:{},202:{f:Ea},203:{},204:{},205:{},206:{},207:{},208:{},209:{},210:{},211:{},213:{},215:{},216:{},217:{},218:{f:Na},220:{},221:{f:Ea},222:{},224:{f:function(e,t,r){var n={};return n.ifnt=e._R(2),n.numFmtId=e._R(2),n.flags=e._R(2),n.fStyle=n.flags>>2&1,n.data=function(e,t,r,n){var a={},o=e._R(4),i=e._R(4),s=e._R(4),c=e._R(2);return a.patternType=Pn[s>>26],n.cellStyles?(a.alc=7&o,a.fWrap=o>>3&1,a.alcV=o>>4&7,a.fJustLast=o>>7&1,a.trot=o>>8&255,a.cIndent=o>>16&15,a.fShrinkToFit=o>>20&1,a.iReadOrder=o>>22&2,a.fAtrNum=o>>26&1,a.fAtrFnt=o>>27&1,a.fAtrAlc=o>>28&1,a.fAtrBdr=o>>29&1,a.fAtrPat=o>>30&1,a.fAtrProt=o>>31&1,a.dgLeft=15&i,a.dgRight=i>>4&15,a.dgTop=i>>8&15,a.dgBottom=i>>12&15,a.icvLeft=i>>16&127,a.icvRight=i>>23&127,a.grbitDiag=i>>30&3,a.icvTop=127&s,a.icvBottom=s>>7&127,a.icvDiag=s>>14&127,a.dgDiag=s>>21&15,a.icvFore=127&c,a.icvBack=c>>7&127,a.fsxButton=c>>14&1,a):a}(e,0,n.fStyle,r),n}},225:{f:function(e,t){return 0===t?1200:(e._R(2),1200)}},226:{f:Ta},227:{},229:{f:function(e,t){for(var r=[],n=e._R(2);n--;)r.push(Ya(e));return r}},233:{},235:{},236:{},237:{},239:{},240:{},241:{},242:{},244:{},245:{},246:{},247:{},248:{},249:{},251:{},252:{f:function(e,t){for(var r=e.l+t,n=e._R(4),a=e._R(4),o=[],i=0;i!=a&&e.l<r;++i)o.push(Pa(e));return o.Count=n,o.Unique=a,o}},253:{f:function(e){var t=qa(e);return t.isst=e._R(4),t}},255:{f:function(e,t){var r={};return r.dsst=e._R(2),e.l+=t-2,r}},256:{},259:{},290:{},311:{},312:{},315:{},317:{f:Ra},318:{},319:{},320:{},330:{},331:{},333:{},334:{},335:{},336:{},337:{},338:{},339:{},340:{},351:{},352:{f:Ea},353:{f:Ta},401:{},402:{},403:{},404:{},405:{},406:{},407:{},408:{},425:{},426:{},427:{},428:{},429:{},430:{f:function(e,t,r){var n=e.l+t,a=e._R(2),o=e._R(2);if(r.sbcch=o,1025==o||14849==o)return[o,a];if(o<1||o>255)throw new Error("Unexpected SupBook type: "+o);for(var i=Fa(e,o),s=[];n>e.l;)s.push(Da(e));return[o,a,i,s]}},431:{f:Ea},432:{},433:{},434:{},437:{},438:{f:function(e,t,r){var n=e.l,a="";try{e.l+=4;var o=(r.lastobj||{cmo:[0,0]}).cmo[1];-1==[0,5,7,11,12,14].indexOf(o)?e.l+=6:function(e){var t=e._R(1);e.l++;var r=e._R(2);e.l+=2}(e);var i=e._R(2);e._R(2),Na(e);var s=e._R(2);e.l+=s;for(var c=1;c<e.lens.length-1;++c){if(e.l-n!=e.lens[c])throw new Error("TxO: bad continue record");var l=e[e.l];if((a+=Fa(e,e.lens[c+1]-e.lens[c]-1)).length>=(l?i:2*i))break}if(a.length!==i&&a.length!==2*i)throw new Error("cchText: "+i+" != "+a.length);return e.l=n+t,{t:a}}catch(r){return e.l=n+t,{t:a}}}},439:{f:Ea},440:{f:function(e,t){var r=Ya(e);return e.l+=16,[r,function(e,t){var r=e.l+t,n=e._R(4);if(2!==n)throw new Error("Unrecognized streamVersion: "+n);var a=e._R(2);e.l+=2;var o,i,s,c,l,u,f="";16&a&&(o=Wa(e,e.l)),128&a&&(i=Wa(e,e.l)),257==(257&a)&&(s=Wa(e,e.l)),1==(257&a)&&(c=Ba(e,e.l)),8&a&&(f=Wa(e,e.l)),32&a&&(l=e._R(16)),64&a&&(u=la(e)),e.l=r;var h=i||s||c||"";h&&f&&(h+="#"+f),h||(h="#"+f),2&a&&"/"==h.charAt(0)&&"/"!=h.charAt(1)&&(h="file://"+h);var d={Target:h};return l&&(d.guid=l),u&&(d.time=u),o&&(d.Tooltip=o),d}(e,t-24)]}},441:{},442:{f:Da},443:{},444:{f:Na},445:{},446:{},448:{f:Ta},449:{f:function(e){return e._R(2),e._R(4)},r:2},450:{f:Ta},512:{f:co},513:{f:xo},515:{f:function(e,t,r){r.biffguess&&2==r.biff&&(r.biff=5);var n=qa(e),a=Sn(e);return n.val=a,n}},516:{f:function(e,t,r){r.biffguess&&2==r.biff&&(r.biff=5),e.l;var n=qa(e);2==r.biff&&e.l++;var a=Da(e,e.l,r);return n.val=a,n}},517:{f:uo},519:{f:Ao},520:{f:function(e){var t={};t.r=e._R(2),t.c=e._R(2),t.cnt=e._R(2)-t.c;var r=e._R(2);e.l+=4;var n=e._R(1);return e.l+=3,7&n&&(t.level=7&n),32&n&&(t.hidden=!0),64&n&&(t.hpt=r/20),t}},523:{},545:{f:vo},549:{f:oo},566:{},574:{f:function(e,t,r){return r&&r.biff>=2&&r.biff<5?{}:{RTL:64&e._R(2)}}},638:{f:function(e){var t=e._R(2),r=e._R(2),n=Xa(e);return{r:t,c:r,ixfe:n[0],rknum:n[1]}}},659:{},1048:{},1054:{f:function(e,t,r){return[e._R(2),Ma(e,0,r)]}},1084:{},1212:{f:function(e,t,r){var n=Ja(e);e.l++;var a=e._R(1);return[Hs(e,t-=8,r),a,n]}},2048:{f:function(e,t){e._R(2);var r=Ya(e),n=e._R((t-10)/2,"dbcs-cont");return[r,n=n.replace(N,"")]}},2049:{},2050:{},2051:{},2052:{},2053:{},2054:{},2055:{},2056:{},2057:{f:ro},2058:{},2059:{},2060:{},2061:{},2062:{},2063:{},2064:{},2066:{},2067:{},2128:{},2129:{},2130:{},2131:{},2132:{},2133:{},2134:{},2135:{},2136:{},2137:{},2138:{},2146:{},2147:{r:12},2148:{},2149:{},2150:{},2151:{f:Ta},2152:{},2154:{},2155:{},2156:{},2161:{},2162:{},2164:{},2165:{},2166:{},2167:{},2168:{},2169:{},2170:{},2171:{},2172:{f:function(e){e.l+=2;var t={cxfs:0,crc:0};return t.cxfs=e._R(2),t.crc=e._R(4),t},r:12},2173:{f:function(e,t){e.l,e.l+=2;var r=e._R(2);e.l+=2;for(var n=e._R(2),a=[];n-- >0;)a.push(Ji(e,e.l));return{ixfe:r,ext:a}},r:12},2174:{},2175:{},2180:{},2181:{},2182:{},2183:{},2184:{},2185:{},2186:{},2187:{},2188:{f:Ea,r:12},2189:{},2190:{r:12},2191:{},2192:{},2194:{},2195:{},2196:{f:function(e,t,r){if(!(r.biff<8)){var n=e._R(2),a=e._R(2);return[Fa(e,n,r),Fa(e,a,r)]}e.l+=t},r:12},2197:{},2198:{f:function(e,t,r){var n=e.l+t;if(124226!==e._R(4))if(r.cellStyles){var a,o=e.slice(e.l);e.l=n;try{a=ot(o,{type:"array"})}catch(e){return}var i=tt(a,"theme/theme/theme1.xml",!0);if(i)return Xi(i,r)}else e.l=n},r:12},2199:{},2200:{},2201:{},2202:{f:function(e){return[0!==e._R(4),0!==e._R(4),e._R(4)]},r:12},2203:{f:Ta},2204:{},2205:{},2206:{},2207:{},2211:{f:function(e){var t=function(e){var t=e._R(2),r=e._R(2);return e.l+=8,{type:t,flags:r}}(e);if(2211!=t.type)throw new Error("Invalid Future Record "+t.type);return 0!==e._R(4)}},2212:{},2213:{},2214:{},2215:{},4097:{},4098:{},4099:{},4102:{},4103:{},4105:{},4106:{},4107:{},4108:{},4109:{},4116:{},4117:{},4118:{},4119:{},4120:{},4121:{},4122:{},4123:{},4124:{},4125:{},4126:{},4127:{},4128:{},4129:{},4130:{},4132:{},4133:{},4134:{f:Na},4135:{},4146:{},4147:{},4148:{},4149:{},4154:{},4156:{},4157:{},4158:{},4159:{},4160:{},4161:{},4163:{},4164:{f:function(e,t,r){var n={area:!1};if(5!=r.biff)return e.l+=t,n;var a=e._R(1);return e.l+=3,16&a&&(n.area=!0),n}},4165:{},4166:{},4168:{},4170:{},4171:{},4174:{},4175:{},4176:{},4177:{},4187:{},4188:{f:function(e){for(var t=e._R(2),r=[];t-- >0;)r.push(Va(e));return r}},4189:{},4191:{},4192:{},4193:{},4194:{},4195:{},4196:{},4197:{},4198:{},4199:{},4200:{},0:{f:co},1:{},2:{f:function(e){var t=qa(e);++e.l;var r=e._R(2);return t.t="n",t.val=r,t}},3:{f:function(e){var t=qa(e);++e.l;var r=Sn(e);return t.t="n",t.val=r,t}},4:{f:function(e,t,r){r.biffguess&&5==r.biff&&(r.biff=2);var n=qa(e);++e.l;var a=Ma(e,0,r);return n.t="str",n.val=a,n}},5:{f:uo},7:{f:function(e){var t=e._R(1);return 0===t?(e.l++,""):e._R(t,"sbcs-cont")}},8:{},9:{f:ro},11:{},22:{f:Na},30:{f:so},31:{},32:{},33:{f:vo},36:{},37:{f:oo},50:{f:function(e,t){e.l+=6,e.l+=2,e.l+=1,e.l+=3,e.l+=1,e.l+=t-13}},62:{},52:{},67:{},68:{f:Na},69:{},86:{},126:{},127:{f:function(e){var t=e._R(2),r=e._R(2),n=e._R(4),a={fmt:t,env:r,len:n,data:e.slice(e.l,e.l+n)};return e.l+=n,a}},135:{},136:{},137:{},145:{},148:{},149:{},150:{},169:{},171:{},188:{},191:{},192:{},194:{},195:{},214:{f:function(e,t,r){var n=e.l+t,a=qa(e),o=e._R(2),i=Fa(e,o,r);return e.l=n,a.t="str",a.val=i,a}},223:{},234:{},354:{},421:{},518:{f:Vs},521:{f:ro},536:{f:go},547:{f:ho},561:{},579:{},1030:{f:Vs},1033:{f:ro},1091:{},2157:{},2163:{},2177:{},2240:{},2241:{},2242:{},2243:{},2244:{},2245:{},2246:{},2247:{},2248:{},2249:{},2250:{},2251:{},2262:{r:12},29282:{}};function Kl(e,t,r,n){var a=t;if(!isNaN(a)){var o=n||(r||[]).length||0,i=e.next(4);i._W(2,a),i._W(2,o),o>0&&pr(r)&&e.push(r)}}function Jl(e,t,r){return e||(e=Cr(7)),e._W(2,t),e._W(2,r),e._W(2,0),e._W(1,0),e}function Zl(e,t,r,n){if(null!=t.v)switch(t.t){case"d":case"n":var a="d"==t.t?Pe(ze(t.v)):t.v;return void(a==(0|a)&&a>=0&&a<65536?Kl(e,2,function(e,t,r){var n=Cr(9);return Jl(n,e,t),n._W(2,r),n}(r,n,a)):Kl(e,3,function(e,t,r){var n=Cr(15);return Jl(n,e,t),n._W(8,r,"f"),n}(r,n,a)));case"b":case"e":return void Kl(e,5,function(e,t,r,n){var a=Cr(9);return Jl(a,e,t),Oa(r,n||"b",a),a}(r,n,t.v,t.t));case"s":case"str":return void Kl(e,4,function(e,t,r){var n=Cr(8+2*r.length);return Jl(n,e,t),n._W(1,r.length),n._W(r.length,r,"sbcs"),n.l<n.length?n.slice(0,n.l):n}(r,n,(t.v||"").slice(0,255)))}Kl(e,1,Jl(null,r,n))}function Ql(e,t){var r=t||{};null!=p&&null==r.dense&&(r.dense=p);for(var n=Or(),a=0,o=0;o<e.SheetNames.length;++o)e.SheetNames[o]==r.sheet&&(a=o);if(0==a&&r.sheet&&e.SheetNames[0]!=r.sheet)throw new Error("Sheet not found: "+r.sheet);return Kl(n,4==r.biff?1033:3==r.biff?521:9,no(0,16,r)),function(e,t,r,n){var a,o=Array.isArray(t),i=qr(t["!ref"]||"A1"),s="",c=[];if(i.e.c>255||i.e.r>16383){if(n.WTF)throw new Error("Range "+(t["!ref"]||"A1")+" exceeds format limit A1:IV16384");i.e.c=Math.min(i.e.c,255),i.e.r=Math.min(i.e.c,16383),a=Vr(i)}for(var l=i.s.r;l<=i.e.r;++l){s=jr(l);for(var u=i.s.c;u<=i.e.c;++u){l===i.s.r&&(c[u]=Wr(u)),a=c[u]+s;var f=o?(t[l]||[])[u]:t[a];f&&Zl(e,f,l,u)}}}(n,e.Sheets[e.SheetNames[a]],0,r),Kl(n,10),n.end()}function eu(e,t,r){Kl(e,49,function(e,t){var r=e.name||"Arial",n=t&&5==t.biff,a=Cr(n?15+r.length:16+2*r.length);return a._W(2,20*(e.sz||12)),a._W(4,0),a._W(2,400),a._W(4,0),a._W(2,0),a._W(1,r.length),n||a._W(1,1),a._W((n?1:2)*r.length,r,n?"sbcs":"utf16le"),a}({sz:12,color:{theme:1},name:"Arial",family:2,scheme:"minor"},r))}function tu(e,t){if(t){var r=0;t.forEach(function(t,n){++r<=256&&t&&Kl(e,125,function(e,t){var r=Cr(12);r._W(2,t),r._W(2,t),r._W(2,256*e.width),r._W(2,0);var n=0;return e.hidden&&(n|=1),r._W(1,n),n=e.level||0,r._W(1,n),r._W(2,0),r}(cc(n,t),n))})}}function ru(e,t,r,n,a){var o=16+uc(a.cellXfs,t,a);if(null!=t.v||t.bf)if(t.bf)Kl(e,6,qs(t,r,n,0,o));else switch(t.t){case"d":case"n":Kl(e,515,function(e,t,r,n){var a=Cr(14);return $a(e,t,n,a),xn(r,a),a}(r,n,"d"==t.t?Pe(ze(t.v)):t.v,o));break;case"b":case"e":Kl(e,517,function(e,t,r,n,a,o){var i=Cr(8);return $a(e,t,n,i),Oa(r,o,i),i}(r,n,t.v,o,0,t.t));break;case"s":case"str":if(a.bookSST)Kl(e,253,function(e,t,r,n){var a=Cr(10);return $a(e,t,n,a),a._W(4,r),a}(r,n,sc(a.Strings,t.v,a.revStrings),o));else Kl(e,516,function(e,t,r,n,a){var o=!a||8==a.biff,i=Cr(+o+8+(1+o)*r.length);return $a(e,t,n,i),i._W(2,r.length),o&&i._W(1,1),i._W((1+o)*r.length,r,o?"utf16le":"sbcs"),i}(r,n,(t.v||"").slice(0,255),o,a));break;default:Kl(e,513,$a(r,n,o))}else Kl(e,513,$a(r,n,o))}function nu(e,t,r){var n,a=Or(),o=r.SheetNames[e],i=r.Sheets[o]||{},s=(r||{}).Workbook||{},c=(s.Sheets||[])[e]||{},l=Array.isArray(i),u=8==t.biff,f="",h=[],d=qr(i["!ref"]||"A1"),p=u?65536:16384;if(d.e.c>255||d.e.r>=p){if(t.WTF)throw new Error("Range "+(i["!ref"]||"A1")+" exceeds format limit A1:IV16384");d.e.c=Math.min(d.e.c,255),d.e.r=Math.min(d.e.c,p-1)}Kl(a,2057,no(0,16,t)),Kl(a,13,Ca(1)),Kl(a,12,Ca(100)),Kl(a,15,_a(!0)),Kl(a,17,_a(!1)),Kl(a,16,xn(.001)),Kl(a,95,_a(!0)),Kl(a,42,_a(!1)),Kl(a,43,_a(!1)),Kl(a,130,Ca(1)),Kl(a,128,function(e){var t=Cr(8);return t._W(4,0),t._W(2,e[0]?e[0]+1:0),t._W(2,e[1]?e[1]+1:0),t}([0,0])),Kl(a,131,_a(!1)),Kl(a,132,_a(!1)),u&&tu(a,i["!cols"]),Kl(a,512,function(e,t){var r=8!=t.biff&&t.biff?2:4,n=Cr(2*r+6);return n._W(r,e.s.r),n._W(r,e.e.r+1),n._W(2,e.s.c),n._W(2,e.e.c+1),n._W(2,0),n}(d,t)),u&&(i["!links"]=[]);for(var g=d.s.r;g<=d.e.r;++g){f=jr(g);for(var m=d.s.c;m<=d.e.c;++m){g===d.s.r&&(h[m]=Wr(m)),n=h[m]+f;var v=l?(i[g]||[])[m]:i[n];v&&(ru(a,v,g,m,t),u&&v.l&&i["!links"].push([n,v.l]))}}var b=c.CodeName||c.name||o;return u&&Kl(a,574,function(e){var t=Cr(18),r=1718;return e&&e.RTL&&(r|=64),t._W(2,r),t._W(4,0),t._W(4,64),t._W(4,0),t._W(4,0),t}((s.Views||[])[0])),u&&(i["!merges"]||[]).length&&Kl(a,229,function(e){var t=Cr(2+8*e.length);t._W(2,e.length);for(var r=0;r<e.length;++r)Ka(e[r],t);return t}(i["!merges"])),u&&function(e,t){for(var r=0;r<t["!links"].length;++r){var n=t["!links"][r];Kl(e,440,yo(n)),n[1].Tooltip&&Kl(e,2048,wo(n))}delete t["!links"]}(a,i),Kl(a,442,ja(b)),u&&function(e,t){var r=Cr(19);r._W(4,2151),r._W(4,0),r._W(4,0),r._W(2,3),r._W(1,1),r._W(4,0),Kl(e,2151,r),(r=Cr(39))._W(4,2152),r._W(4,0),r._W(4,0),r._W(2,3),r._W(1,0),r._W(4,0),r._W(2,1),r._W(4,4),r._W(2,0),Ka(qr(t["!ref"]||"A1"),r),r._W(4,4),Kl(e,2152,r)}(a,i),Kl(a,10),a.end()}function au(e,t,r){var n=Or(),a=(e||{}).Workbook||{},o=a.Sheets||[],i=a.WBProps||{},s=8==r.biff,c=5==r.biff;(Kl(n,2057,no(0,5,r)),"xla"==r.bookType&&Kl(n,135),Kl(n,225,s?Ca(1200):null),Kl(n,193,function(e,t){t||(t=Cr(e));for(var r=0;r<e;++r)t._W(1,0);return t}(2)),c&&Kl(n,191),c&&Kl(n,192),Kl(n,226),Kl(n,92,function(e,t){var r=!t||8==t.biff,n=Cr(r?112:54);for(n._W(8==t.biff?2:1,7),r&&n._W(1,0),n._W(4,859007059),n._W(4,5458548|(r?0:536870912));n.l<n.length;)n._W(1,r?0:32);return n}(0,r)),Kl(n,66,Ca(s?1200:1252)),s&&Kl(n,353,Ca(0)),s&&Kl(n,448),Kl(n,317,function(e){for(var t=Cr(2*e),r=0;r<e;++r)t._W(2,r+1);return t}(e.SheetNames.length)),s&&e.vbaraw&&Kl(n,211),s&&e.vbaraw)&&Kl(n,442,ja(i.CodeName||"ThisWorkbook"));Kl(n,156,Ca(17)),Kl(n,25,_a(!1)),Kl(n,18,_a(!1)),Kl(n,19,Ca(0)),s&&Kl(n,431,_a(!1)),s&&Kl(n,444,Ca(0)),Kl(n,61,function(){var e=Cr(18);return e._W(2,0),e._W(2,0),e._W(2,29280),e._W(2,17600),e._W(2,56),e._W(2,0),e._W(2,0),e._W(2,1),e._W(2,500),e}()),Kl(n,64,_a(!1)),Kl(n,141,Ca(0)),Kl(n,34,_a("true"==function(e){return e.Workbook&&e.Workbook.WBProps&&Tt(e.Workbook.WBProps.date1904)?"true":"false"}(e))),Kl(n,14,_a(!0)),s&&Kl(n,439,_a(!1)),Kl(n,218,Ca(0)),eu(n,0,r),function(e,t,r){t&&[[5,8],[23,26],[41,44],[50,392]].forEach(function(n){for(var a=n[0];a<=n[1];++a)null!=t[a]&&Kl(e,1054,io(a,t[a],r))})}(n,e.SSF,r),function(e,t){for(var r=0;r<16;++r)Kl(e,224,lo({numFmtId:0,style:!0},0,t));t.cellXfs.forEach(function(r){Kl(e,224,lo(r,0,t))})}(n,r),s&&Kl(n,352,_a(!1));var l=n.end(),u=Or();s&&Kl(u,140,function(e){return e||(e=Cr(4)),e._W(2,1),e._W(2,1),e}()),s&&r.Strings&&function(e,t,r,n){var a=n||(r||[]).length||0;if(a<=8224)return Kl(e,t,r,a);var o=t;if(!isNaN(o)){for(var i=r.parts||[],s=0,c=0,l=0;l+(i[s]||8224)<=8224;)l+=i[s]||8224,s++;var u=e.next(4);for(u._W(2,o),u._W(2,l),e.push(r.slice(c,c+l)),c+=l;c<a;){for((u=e.next(4))._W(2,60),l=0;l+(i[s]||8224)<=8224;)l+=i[s]||8224,s++;u._W(2,l),e.push(r.slice(c,c+l)),c+=l}}}(u,252,function(e,t){var r=Cr(8);r._W(4,e.Count),r._W(4,e.Unique);for(var n=[],a=0;a<e.length;++a)n[a]=Ia(e[a]);var o=_([r].concat(n));return o.parts=[r.length].concat(n.map(function(e){return e.length})),o}(r.Strings)),Kl(u,10);var f=u.end(),h=Or(),d=0,p=0;for(p=0;p<e.SheetNames.length;++p)d+=(s?12:11)+(s?2:1)*e.SheetNames[p].length;var g=l.length+d+f.length;for(p=0;p<e.SheetNames.length;++p){Kl(h,133,ao({pos:g,hs:(o[p]||{}).Hidden||0,dt:0,name:e.SheetNames[p]},r)),g+=t[p].length}var m=h.end();if(d!=m.length)throw new Error("BS8 "+d+" != "+m.length);var v=[];return l.length&&v.push(l),m.length&&v.push(m),f.length&&v.push(f),_(v)}function ou(e,t){for(var r=0;r<=e.SheetNames.length;++r){var n=e.Sheets[e.SheetNames[r]];if(n&&n["!ref"])Hr(n["!ref"]).e.c>255&&"undefined"!=typeof console&&console.error&&console.error("Worksheet '"+e.SheetNames[r]+"' extends beyond column IV (255). Data may be lost.")}var a=t||{};switch(a.biff||2){case 8:case 5:return function(e,t){var r=t||{},n=[];e&&!e.SSF&&(e.SSF=Ve(B)),e&&e.SSF&&(ye(),be(e.SSF),r.revssf=Oe(e.SSF),r.revssf[e.SSF[65535]]=0,r.ssf=e.SSF),r.Strings=[],r.Strings.Count=0,r.Strings.Unique=0,Zu(r),r.cellXfs=[],uc(r.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={});for(var a=0;a<e.SheetNames.length;++a)n[n.length]=nu(a,r,e);return n.unshift(au(e,n,r)),_(n)}(e,t);case 4:case 3:case 2:return Ql(e,t)}throw new Error("invalid type "+a.bookType+" for BIFF")}function iu(e,t){var r=t||{};null!=p&&null==r.dense&&(r.dense=p);var n=r.dense?[]:{},a=(e=e.replace(/<!--.*?-->/g,"")).match(/<table/i);if(!a)throw new Error("Invalid HTML: could not find <table>");var o=e.match(/<\/table/i),i=a.index,s=o&&o.index||e.length,c=Ye(e.slice(i,s),/(:?<tr[^>]*>)/i,"<tr>"),l=-1,u=0,f=0,h=0,d={s:{r:1e7,c:1e7},e:{r:0,c:0}},g=[];for(i=0;i<c.length;++i){var m=c[i].trim(),v=m.slice(0,3).toLowerCase();if("<tr"!=v){if("<td"==v||"<th"==v){var b=m.split(/<\/t[dh]>/i);for(s=0;s<b.length;++s){var y=b[s].trim();if(y.match(/<t[dh]/i)){for(var w=y,S=0;"<"==w.charAt(0)&&(S=w.indexOf(">"))>-1;)w=w.slice(S+1);for(var x=0;x<g.length;++x){var k=g[x];k.s.c==u&&k.s.r<l&&l<=k.e.r&&(u=k.e.c+1,x=-1)}var A=dt(y.slice(0,y.indexOf(">")));h=A.colspan?+A.colspan:1,((f=+A.rowspan)>1||h>1)&&g.push({s:{r:l,c:u},e:{r:l+(f||1)-1,c:u+h-1}});var T=A.t||A["data-t"]||"";if(w.length)if(w=Pt(w),d.s.r>l&&(d.s.r=l),d.e.r<l&&(d.e.r=l),d.s.c>u&&(d.s.c=u),d.e.c<u&&(d.e.c=u),w.length){var E={t:"s",v:w};r.raw||!w.trim().length||"s"==T||("TRUE"===w?E={t:"b",v:!0}:"FALSE"===w?E={t:"b",v:!1}:isNaN($e(w))?isNaN(Xe(w).getDate())||(E={t:"d",v:ze(w)},r.cellDates||(E={t:"n",v:Pe(E.v)}),E.z=r.dateNF||B[14]):E={t:"n",v:$e(w)}),r.dense?(n[l]||(n[l]=[]),n[l][u]=E):n[zr({r:l,c:u})]=E,u+=h}else u+=h;else u+=h}}}}else{if(++l,r.sheetRows&&r.sheetRows<=l){--l;break}u=0}}return n["!ref"]=Vr(d),g.length&&(n["!merges"]=g),n}function su(e,t,r,n){for(var a=e["!merges"]||[],o=[],i=t.s.c;i<=t.e.c;++i){for(var s=0,c=0,l=0;l<a.length;++l)if(!(a[l].s.r>r||a[l].s.c>i||a[l].e.r<r||a[l].e.c<i)){if(a[l].s.r<r||a[l].s.c<i){s=-1;break}s=a[l].e.r-a[l].s.r+1,c=a[l].e.c-a[l].s.c+1;break}if(!(s<0)){var u=zr({r:r,c:i}),f=n.dense?(e[r]||[])[i]:e[u],h=f&&null!=f.v&&(f.h||kt(f.w||(Gr(f),f.w)||""))||"",d={};s>1&&(d.rowspan=s),c>1&&(d.colspan=c),n.editable?h='<span contenteditable="true">'+h+"</span>":f&&(d["data-t"]=f&&f.t||"z",null!=f.v&&(d["data-v"]=f.v),null!=f.z&&(d["data-z"]=f.z),f.l&&"#"!=(f.l.Target||"#").charAt(0)&&(h='<a href="'+f.l.Target+'">'+h+"</a>")),d.id=(n.id||"sjs")+"-"+u,o.push(Ut("td",h,d))}}return"<tr>"+o.join("")+"</tr>"}var cu='<html><head><meta charset="utf-8"/><title>SheetJS Table Export</title></head><body>',lu="</body></html>";function uu(e,t,r){return[].join("")+"<table"+(r&&r.id?' id="'+r.id+'"':"")+">"}function fu(e,t){var r=t||{},n=null!=r.header?r.header:cu,a=null!=r.footer?r.footer:lu,o=[n],i=Hr(e["!ref"]);r.dense=Array.isArray(e),o.push(uu(0,0,r));for(var s=i.s.r;s<=i.e.r;++s)o.push(su(e,i,s,r));return o.push("</table>"+a),o.join("")}function hu(e,t,r){var n=r||{};null!=p&&(n.dense=p);var a=0,o=0;if(null!=n.origin)if("number"==typeof n.origin)a=n.origin;else{var i="string"==typeof n.origin?Ur(n.origin):n.origin;a=i.r,o=i.c}var s=t.getElementsByTagName("tr"),c=Math.min(n.sheetRows||1e7,s.length),l={s:{r:0,c:0},e:{r:a,c:o}};if(e["!ref"]){var u=Hr(e["!ref"]);l.s.r=Math.min(l.s.r,u.s.r),l.s.c=Math.min(l.s.c,u.s.c),l.e.r=Math.max(l.e.r,u.e.r),l.e.c=Math.max(l.e.c,u.e.c),-1==a&&(l.e.r=a=u.e.r+1)}var f=[],h=0,d=e["!rows"]||(e["!rows"]=[]),g=0,m=0,v=0,b=0,y=0,w=0;for(e["!cols"]||(e["!cols"]=[]);g<s.length&&m<c;++g){var S=s[g];if(pu(S)){if(n.display)continue;d[m]={hidden:!0}}var x=S.children;for(v=b=0;v<x.length;++v){var k=x[v];if(!n.display||!pu(k)){var A=k.hasAttribute("data-v")?k.getAttribute("data-v"):k.hasAttribute("v")?k.getAttribute("v"):Pt(k.innerHTML),T=k.getAttribute("data-z")||k.getAttribute("z");for(h=0;h<f.length;++h){var E=f[h];E.s.c==b+o&&E.s.r<m+a&&m+a<=E.e.r&&(b=E.e.c+1-o,h=-1)}w=+k.getAttribute("colspan")||1,((y=+k.getAttribute("rowspan")||1)>1||w>1)&&f.push({s:{r:m+a,c:b+o},e:{r:m+a+(y||1)-1,c:b+o+(w||1)-1}});var _={t:"s",v:A},N=k.getAttribute("data-t")||k.getAttribute("t")||"";null!=A&&(0==A.length?_.t=N||"z":n.raw||0==A.trim().length||"s"==N||("TRUE"===A?_={t:"b",v:!0}:"FALSE"===A?_={t:"b",v:!1}:isNaN($e(A))?isNaN(Xe(A).getDate())||(_={t:"d",v:ze(A)},n.cellDates||(_={t:"n",v:Pe(_.v)}),_.z=n.dateNF||B[14]):_={t:"n",v:$e(A)})),void 0===_.z&&null!=T&&(_.z=T);var C="",R=k.getElementsByTagName("A");if(R&&R.length)for(var O=0;O<R.length&&(!R[O].hasAttribute("href")||"#"==(C=R[O].getAttribute("href")).charAt(0));++O);C&&"#"!=C.charAt(0)&&(_.l={Target:C}),n.dense?(e[m+a]||(e[m+a]=[]),e[m+a][b+o]=_):e[zr({c:b+o,r:m+a})]=_,l.e.c<b+o&&(l.e.c=b+o),b+=w}}++m}return f.length&&(e["!merges"]=(e["!merges"]||[]).concat(f)),l.e.r=Math.max(l.e.r,m-1+a),e["!ref"]=Vr(l),m>=c&&(e["!fullref"]=Vr((l.e.r=s.length-g+m-1+a,l))),e}function du(e,t){return hu((t||{}).dense?[]:{},e,t)}function pu(e){var t="",r=function(e){return e.ownerDocument.defaultView&&"function"==typeof e.ownerDocument.defaultView.getComputedStyle?e.ownerDocument.defaultView.getComputedStyle:"function"==typeof getComputedStyle?getComputedStyle:null}(e);return r&&(t=r(e).getPropertyValue("display")),t||(t=e.style&&e.style.display),"none"===t}function gu(e){var t=e.replace(/[\t\r\n]/g," ").trim().replace(/ +/g," ").replace(/<text:s\/>/g," ").replace(/<text:s text:c="(\d+)"\/>/g,function(e,t){return Array(parseInt(t,10)+1).join(" ")}).replace(/<text:tab[^>]*\/>/g,"\t").replace(/<text:line-break\/>/g,"\n");return[vt(t.replace(/<[^>]*>/g,""))]}var mu={day:["d","dd"],month:["m","mm"],year:["y","yy"],hours:["h","hh"],minutes:["m","mm"],seconds:["s","ss"],"am-pm":["A/P","AM/PM"],"day-of-week":["ddd","dddd"],era:["e","ee"],quarter:["\\Qm",'m\\"th quarter"']};function vu(e,t){var r=t||{};null!=p&&null==r.dense&&(r.dense=p);var n,a,o,i,s,c,l=Ht(e),u=[],f={name:""},h="",d=0,g={},m=[],v=r.dense?[]:{},b={value:""},y="",w=0,S=[],x=-1,k=-1,A={s:{r:1e6,c:1e7},e:{r:0,c:0}},T=0,E={},_=[],N={},C=[],R=1,O=1,L=[],P={Names:[]},I={},F=["",""],D=[],M={},j="",B=0,W=!1,U=!1,z=0;for(Vt.lastIndex=0,l=l.replace(/<!--([\s\S]*?)-->/gm,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"");s=Vt.exec(l);)switch(s[3]=s[3].replace(/_.*$/,"")){case"table":case"工作表":"/"===s[1]?(A.e.c>=A.s.c&&A.e.r>=A.s.r?v["!ref"]=Vr(A):v["!ref"]="A1:A1",r.sheetRows>0&&r.sheetRows<=A.e.r&&(v["!fullref"]=v["!ref"],A.e.r=r.sheetRows-1,v["!ref"]=Vr(A)),_.length&&(v["!merges"]=_),C.length&&(v["!rows"]=C),o.name=o["名称"]||o.name,"undefined"!=typeof JSON&&JSON.stringify(o),m.push(o.name),g[o.name]=v,U=!1):"/"!==s[0].charAt(s[0].length-2)&&(o=dt(s[0],!1),x=k=-1,A.s.r=A.s.c=1e7,A.e.r=A.e.c=0,v=r.dense?[]:{},_=[],C=[],U=!0);break;case"table-row-group":"/"===s[1]?--T:++T;break;case"table-row":case"行":if("/"===s[1]){x+=R,R=1;break}if((i=dt(s[0],!1))["行号"]?x=i["行号"]-1:-1==x&&(x=0),(R=+i["number-rows-repeated"]||1)<10)for(z=0;z<R;++z)T>0&&(C[x+z]={level:T});k=-1;break;case"covered-table-cell":"/"!==s[1]&&++k,r.sheetStubs&&(r.dense?(v[x]||(v[x]=[]),v[x][k]={t:"z"}):v[zr({r:x,c:k})]={t:"z"}),y="",S=[];break;case"table-cell":case"数据":if("/"===s[0].charAt(s[0].length-2))++k,b=dt(s[0],!1),O=parseInt(b["number-columns-repeated"]||"1",10),c={t:"z",v:null},b.formula&&0!=r.cellFormula&&(c.f=ec(vt(b.formula))),"string"==(b["数据类型"]||b["value-type"])&&(c.t="s",c.v=vt(b["string-value"]||""),r.dense?(v[x]||(v[x]=[]),v[x][k]=c):v[zr({r:x,c:k})]=c),k+=O-1;else if("/"!==s[1]){y="",w=0,S=[],O=1;var H=R?x+R-1:x;if(++k>A.e.c&&(A.e.c=k),k<A.s.c&&(A.s.c=k),x<A.s.r&&(A.s.r=x),H>A.e.r&&(A.e.r=H),D=[],M={},c={t:(b=dt(s[0],!1))["数据类型"]||b["value-type"],v:null},r.cellFormula)if(b.formula&&(b.formula=vt(b.formula)),b["number-matrix-columns-spanned"]&&b["number-matrix-rows-spanned"]&&(N={s:{r:x,c:k},e:{r:x+(parseInt(b["number-matrix-rows-spanned"],10)||0)-1,c:k+(parseInt(b["number-matrix-columns-spanned"],10)||0)-1}},c.F=Vr(N),L.push([N,c.F])),b.formula)c.f=ec(b.formula);else for(z=0;z<L.length;++z)x>=L[z][0].s.r&&x<=L[z][0].e.r&&k>=L[z][0].s.c&&k<=L[z][0].e.c&&(c.F=L[z][1]);switch((b["number-columns-spanned"]||b["number-rows-spanned"])&&(N={s:{r:x,c:k},e:{r:x+(parseInt(b["number-rows-spanned"],10)||0)-1,c:k+(parseInt(b["number-columns-spanned"],10)||0)-1}},_.push(N)),b["number-columns-repeated"]&&(O=parseInt(b["number-columns-repeated"],10)),c.t){case"boolean":c.t="b",c.v=Tt(b["boolean-value"]);break;case"float":case"percentage":case"currency":c.t="n",c.v=parseFloat(b.value);break;case"date":c.t="d",c.v=ze(b["date-value"]),r.cellDates||(c.t="n",c.v=Pe(c.v)),c.z="m/d/yy";break;case"time":c.t="n",c.v=je(b["time-value"])/86400,r.cellDates&&(c.t="d",c.v=Me(c.v)),c.z="HH:MM:SS";break;case"number":c.t="n",c.v=parseFloat(b["数据数值"]);break;default:if("string"!==c.t&&"text"!==c.t&&c.t)throw new Error("Unsupported value type "+c.t);c.t="s",null!=b["string-value"]&&(y=vt(b["string-value"]),S=[])}}else{if(W=!1,"s"===c.t&&(c.v=y||"",S.length&&(c.R=S),W=0==w),I.Target&&(c.l=I),D.length>0&&(c.c=D,D=[]),y&&!1!==r.cellText&&(c.w=y),W&&(c.t="z",delete c.v),(!W||r.sheetStubs)&&!(r.sheetRows&&r.sheetRows<=x))for(var V=0;V<R;++V){if(O=parseInt(b["number-columns-repeated"]||"1",10),r.dense)for(v[x+V]||(v[x+V]=[]),v[x+V][k]=0==V?c:Ve(c);--O>0;)v[x+V][k+O]=Ve(c);else for(v[zr({r:x+V,c:k})]=c;--O>0;)v[zr({r:x+V,c:k+O})]=Ve(c);A.e.c<=k&&(A.e.c=k)}k+=(O=parseInt(b["number-columns-repeated"]||"1",10))-1,O=0,c={},y="",S=[]}I={};break;case"document":case"document-content":case"电子表格文档":case"spreadsheet":case"主体":case"scripts":case"styles":case"font-face-decls":case"master-styles":if("/"===s[1]){if((n=u.pop())[0]!==s[3])throw"Bad state: "+n}else"/"!==s[0].charAt(s[0].length-2)&&u.push([s[3],!0]);break;case"annotation":if("/"===s[1]){if((n=u.pop())[0]!==s[3])throw"Bad state: "+n;M.t=y,S.length&&(M.R=S),M.a=j,D.push(M)}else"/"!==s[0].charAt(s[0].length-2)&&u.push([s[3],!1]);j="",B=0,y="",w=0,S=[];break;case"creator":"/"===s[1]?j=l.slice(B,s.index):B=s.index+s[0].length;break;case"meta":case"元数据":case"settings":case"config-item-set":case"config-item-map-indexed":case"config-item-map-entry":case"config-item-map-named":case"shapes":case"frame":case"text-box":case"image":case"data-pilot-tables":case"list-style":case"form":case"dde-links":case"event-listeners":case"chart":if("/"===s[1]){if((n=u.pop())[0]!==s[3])throw"Bad state: "+n}else"/"!==s[0].charAt(s[0].length-2)&&u.push([s[3],!1]);y="",w=0,S=[];break;case"scientific-number":case"currency-symbol":case"currency-style":break;case"number-style":case"percentage-style":case"date-style":case"time-style":if("/"===s[1]){if(E[f.name]=h,(n=u.pop())[0]!==s[3])throw"Bad state: "+n}else"/"!==s[0].charAt(s[0].length-2)&&(h="",f=dt(s[0],!1),u.push([s[3],!0]));break;case"script":case"libraries":case"automatic-styles":break;case"default-style":case"page-layout":case"style":case"map":case"font-face":case"paragraph-properties":case"table-properties":case"table-column-properties":case"table-row-properties":case"table-cell-properties":break;case"number":switch(u[u.length-1][0]){case"time-style":case"date-style":a=dt(s[0],!1),h+=mu[s[3]]["long"===a.style?1:0]}break;case"fraction":break;case"day":case"month":case"year":case"era":case"day-of-week":case"week-of-year":case"quarter":case"hours":case"minutes":case"seconds":case"am-pm":switch(u[u.length-1][0]){case"time-style":case"date-style":a=dt(s[0],!1),h+=mu[s[3]]["long"===a.style?1:0]}break;case"boolean-style":case"boolean":case"text-style":break;case"text":if("/>"===s[0].slice(-2))break;if("/"===s[1])switch(u[u.length-1][0]){case"number-style":case"date-style":case"time-style":h+=l.slice(d,s.index)}else d=s.index+s[0].length;break;case"named-range":F=rc((a=dt(s[0],!1))["cell-range-address"]);var q={Name:a.name,Ref:F[0]+"!"+F[1]};U&&(q.Sheet=m.length),P.Names.push(q);break;case"text-content":case"text-properties":case"embedded-text":break;case"body":case"电子表格":case"forms":case"table-column":case"table-header-rows":case"table-rows":case"table-column-group":case"table-header-columns":case"table-columns":case"null-date":case"graphic-properties":case"calculation-settings":case"named-expressions":case"label-range":case"label-ranges":case"named-expression":case"sort":case"sort-by":case"sort-groups":case"tab":case"line-break":case"span":break;case"p":case"文本串":if(["master-styles"].indexOf(u[u.length-1][0])>-1)break;if("/"!==s[1]||b&&b["string-value"])dt(s[0],!1),w=s.index+s[0].length;else{var $=gu(l.slice(w,s.index));y=(y.length>0?y+"\n":"")+$[0]}break;case"s":break;case"database-range":if("/"===s[1])break;try{g[(F=rc(dt(s[0])["target-range-address"]))[0]]["!autofilter"]={ref:F[1]}}catch(e){}break;case"date":case"object":break;case"title":case"标题":case"desc":case"binary-data":case"table-source":case"scenario":case"iteration":case"content-validations":case"content-validation":case"help-message":case"error-message":case"database-ranges":case"filter":case"filter-and":case"filter-or":case"filter-condition":case"list-level-style-bullet":case"list-level-style-number":case"list-level-properties":break;case"sender-firstname":case"sender-lastname":case"sender-initials":case"sender-title":case"sender-position":case"sender-email":case"sender-phone-private":case"sender-fax":case"sender-company":case"sender-phone-work":case"sender-street":case"sender-city":case"sender-postal-code":case"sender-country":case"sender-state-or-province":case"author-name":case"author-initials":case"chapter":case"file-name":case"template-name":case"sheet-name":case"event-listener":break;case"initial-creator":case"creation-date":case"print-date":case"generator":case"document-statistic":case"user-defined":case"editing-duration":case"editing-cycles":case"config-item":case"page-number":case"page-count":case"time":case"cell-range-source":case"detective":case"operation":case"highlighted-range":break;case"data-pilot-table":case"source-cell-range":case"source-service":case"data-pilot-field":case"data-pilot-level":case"data-pilot-subtotals":case"data-pilot-subtotal":case"data-pilot-members":case"data-pilot-member":case"data-pilot-display-info":case"data-pilot-sort-info":case"data-pilot-layout-info":case"data-pilot-field-reference":case"data-pilot-groups":case"data-pilot-group":case"data-pilot-group-member":case"rect":break;case"dde-connection-decls":case"dde-connection-decl":case"dde-link":case"dde-source":case"properties":case"property":break;case"a":if("/"!==s[1]){if(!(I=dt(s[0],!1)).href)break;I.Target=vt(I.href),delete I.href,"#"==I.Target.charAt(0)&&I.Target.indexOf(".")>-1?(F=rc(I.Target.slice(1)),I.Target="#"+F[0]+"!"+F[1]):I.Target.match(/^\.\.[\\\/]/)&&(I.Target=I.Target.slice(3))}break;case"table-protection":case"data-pilot-grand-total":case"office-document-common-attrs":break;default:switch(s[2]){case"dc:":case"calcext:":case"loext:":case"ooo:":case"chartooo:":case"draw:":case"style:":case"chart:":case"form:":case"uof:":case"表:":case"字:":break;default:if(r.WTF)throw new Error(s)}}var G={Sheets:g,SheetNames:m,Workbook:P};return r.bookSheets&&delete G.Sheets,G}function bu(e,t){t=t||{},Ze(e,"META-INF/manifest.xml")&&function(e,t){for(var r,n,a=Ht(e);r=Vt.exec(a);)switch(r[3]){case"manifest":break;case"file-entry":if("/"==(n=dt(r[0],!1)).path&&n.type!==qn)throw new Error("This OpenDocument is not a spreadsheet");break;case"encryption-data":case"algorithm":case"start-key-generation":case"key-derivation":throw new Error("Unsupported ODS Encryption");default:if(t&&t.WTF)throw r}}(et(e,"META-INF/manifest.xml"),t);var r=tt(e,"content.xml");if(!r)throw new Error("Missing content.xml in ODS / UOF file");var n=vu(Rt(r),t);return Ze(e,"meta.xml")&&(n.Props=Jn(et(e,"meta.xml"))),n}function yu(e,t){return vu(e,t)}var wu=function(){var e=["<office:master-styles>",'<style:master-page style:name="mp1" style:page-layout-name="mp1">',"<style:header/>",'<style:header-left style:display="false"/>',"<style:footer/>",'<style:footer-left style:display="false"/>',"</style:master-page>","</office:master-styles>"].join(""),t="<office:document-styles "+Wt({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","office:version":"1.2"})+">"+e+"</office:document-styles>";return function(){return st+t}}(),Su=function(){var e=function(e){return wt(e).replace(/ +/g,function(e){return'<text:s text:c="'+e.length+'"/>'}).replace(/\t/g,"<text:tab/>").replace(/\n/g,"</text:p><text:p>").replace(/^ /,"<text:s/>").replace(/ $/,"<text:s/>")},t=" <table:table-cell />\n",r=function(r,n,a){var o=[];o.push(' <table:table table:name="'+wt(n.SheetNames[a])+'" table:style-name="ta1">\n');var i=0,s=0,c=Hr(r["!ref"]||"A1"),l=r["!merges"]||[],u=0,f=Array.isArray(r);if(r["!cols"])for(s=0;s<=c.e.c;++s)o.push(" <table:table-column"+(r["!cols"][s]?' table:style-name="co'+r["!cols"][s].ods+'"':"")+"></table:table-column>\n");var h="",d=r["!rows"]||[];for(i=0;i<c.s.r;++i)h=d[i]?' table:style-name="ro'+d[i].ods+'"':"",o.push(" <table:table-row"+h+"></table:table-row>\n");for(;i<=c.e.r;++i){for(h=d[i]?' table:style-name="ro'+d[i].ods+'"':"",o.push(" <table:table-row"+h+">\n"),s=0;s<c.s.c;++s)o.push(t);for(;s<=c.e.c;++s){var p=!1,g={},m="";for(u=0;u!=l.length;++u)if(!(l[u].s.c>s||l[u].s.r>i||l[u].e.c<s||l[u].e.r<i)){l[u].s.c==s&&l[u].s.r==i||(p=!0),g["table:number-columns-spanned"]=l[u].e.c-l[u].s.c+1,g["table:number-rows-spanned"]=l[u].e.r-l[u].s.r+1;break}if(p)o.push(" <table:covered-table-cell/>\n");else{var v=zr({r:i,c:s}),b=f?(r[i]||[])[s]:r[v];if(b&&b.f&&(g["table:formula"]=wt(tc(b.f)),b.F&&b.F.slice(0,v.length)==v)){var y=Hr(b.F);g["table:number-matrix-columns-spanned"]=y.e.c-y.s.c+1,g["table:number-matrix-rows-spanned"]=y.e.r-y.s.r+1}if(b){switch(b.t){case"b":m=b.v?"TRUE":"FALSE",g["office:value-type"]="boolean",g["office:boolean-value"]=b.v?"true":"false";break;case"n":m=b.w||String(b.v||0),g["office:value-type"]="float",g["office:value"]=b.v||0;break;case"s":case"str":m=null==b.v?"":b.v,g["office:value-type"]="string";break;case"d":m=b.w||ze(b.v).toISOString(),g["office:value-type"]="date",g["office:date-value"]=ze(b.v).toISOString(),g["table:style-name"]="ce1";break;default:o.push(t);continue}var w=e(m);if(b.l&&b.l.Target){var S=b.l.Target;"#"==(S="#"==S.charAt(0)?"#"+nc(S.slice(1)):S).charAt(0)||S.match(/^\w+:/)||(S="../"+S),w=Ut("text:a",w,{"xlink:href":S.replace(/&/g,"&")})}o.push(" "+Ut("table:table-cell",Ut("text:p",w,{}),g)+"\n")}else o.push(t)}}o.push(" </table:table-row>\n")}return o.push(" </table:table>\n"),o.join("")};return function(e,t){var n=[st],a=Wt({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:meta":"urn:oasis:names:tc:opendocument:xmlns:meta:1.0","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:presentation":"urn:oasis:names:tc:opendocument:xmlns:presentation:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:chart":"urn:oasis:names:tc:opendocument:xmlns:chart:1.0","xmlns:dr3d":"urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0","xmlns:math":"http://www.w3.org/1998/Math/MathML","xmlns:form":"urn:oasis:names:tc:opendocument:xmlns:form:1.0","xmlns:script":"urn:oasis:names:tc:opendocument:xmlns:script:1.0","xmlns:ooo":"http://openoffice.org/2004/office","xmlns:ooow":"http://openoffice.org/2004/writer","xmlns:oooc":"http://openoffice.org/2004/calc","xmlns:dom":"http://www.w3.org/2001/xml-events","xmlns:xforms":"http://www.w3.org/2002/xforms","xmlns:xsd":"http://www.w3.org/2001/XMLSchema","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","xmlns:sheet":"urn:oasis:names:tc:opendocument:sh33tjs:1.0","xmlns:rpt":"http://openoffice.org/2005/report","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","xmlns:xhtml":"http://www.w3.org/1999/xhtml","xmlns:grddl":"http://www.w3.org/2003/g/data-view#","xmlns:tableooo":"http://openoffice.org/2009/table","xmlns:drawooo":"http://openoffice.org/2010/draw","xmlns:calcext":"urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0","xmlns:loext":"urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0","xmlns:field":"urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0","xmlns:formx":"urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0","xmlns:css3t":"http://www.w3.org/TR/css3-text/","office:version":"1.2"}),o=Wt({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});"fods"==t.bookType?(n.push("<office:document"+a+o+">\n"),n.push(Xn().replace(/office:document-meta/g,"office:meta"))):n.push("<office:document-content"+a+">\n"),function(e,t){e.push(" <office:automatic-styles>\n"),e.push(' <number:date-style style:name="N37" number:automatic-order="true">\n'),e.push(' <number:month number:style="long"/>\n'),e.push(" <number:text>/</number:text>\n"),e.push(' <number:day number:style="long"/>\n'),e.push(" <number:text>/</number:text>\n"),e.push(" <number:year/>\n"),e.push(" </number:date-style>\n");var r=0;t.SheetNames.map(function(e){return t.Sheets[e]}).forEach(function(t){if(t&&t["!cols"])for(var n=0;n<t["!cols"].length;++n)if(t["!cols"][n]){var a=t["!cols"][n];if(null==a.width&&null==a.wpx&&null==a.wch)continue;vi(a),a.ods=r;var o=t["!cols"][n].wpx+"px";e.push(' <style:style style:name="co'+r+'" style:family="table-column">\n'),e.push(' <style:table-column-properties fo:break-before="auto" style:column-width="'+o+'"/>\n'),e.push(" </style:style>\n"),++r}});var n=0;t.SheetNames.map(function(e){return t.Sheets[e]}).forEach(function(t){if(t&&t["!rows"])for(var r=0;r<t["!rows"].length;++r)if(t["!rows"][r]){t["!rows"][r].ods=n;var a=t["!rows"][r].hpx+"px";e.push(' <style:style style:name="ro'+n+'" style:family="table-row">\n'),e.push(' <style:table-row-properties fo:break-before="auto" style:row-height="'+a+'"/>\n'),e.push(" </style:style>\n"),++n}}),e.push(' <style:style style:name="ta1" style:family="table" style:master-page-name="mp1">\n'),e.push(' <style:table-properties table:display="true" style:writing-mode="lr-tb"/>\n'),e.push(" </style:style>\n"),e.push(' <style:style style:name="ce1" style:family="table-cell" style:parent-style-name="Default" style:data-style-name="N37"/>\n'),e.push(" </office:automatic-styles>\n")}(n,e),n.push(" <office:body>\n"),n.push(" <office:spreadsheet>\n");for(var i=0;i!=e.SheetNames.length;++i)n.push(r(e.Sheets[e.SheetNames[i]],e,i));return n.push(" </office:spreadsheet>\n"),n.push(" </office:body>\n"),"fods"==t.bookType?n.push("</office:document>"):n.push("</office:document-content>"),n.join("")}}();function xu(e,t){if("fods"==t.bookType)return Su(e,t);var r=at(),n="",a=[],o=[];return nt(r,n="mimetype","application/vnd.oasis.opendocument.spreadsheet"),nt(r,n="content.xml",Su(e,t)),a.push([n,"text/xml"]),o.push([n,"ContentFile"]),nt(r,n="styles.xml",wu(e,t)),a.push([n,"text/xml"]),o.push([n,"StylesFile"]),nt(r,n="meta.xml",st+Xn()),a.push([n,"text/xml"]),o.push([n,"MetadataFile"]),nt(r,n="manifest.rdf",function(e){var t=[st];t.push('<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">\n');for(var r=0;r!=e.length;++r)t.push($n(e[r][0],e[r][1])),t.push(Gn("",e[r][0]));return t.push($n("","Document","pkg")),t.push("</rdf:RDF>"),t.join("")}(o)),a.push([n,"application/rdf+xml"]),nt(r,n="META-INF/manifest.xml",function(e){var t=[st];t.push('<manifest:manifest xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0" manifest:version="1.2">\n'),t.push(' <manifest:file-entry manifest:full-path="/" manifest:version="1.2" manifest:media-type="application/vnd.oasis.opendocument.spreadsheet"/>\n');for(var r=0;r<e.length;++r)t.push(' <manifest:file-entry manifest:full-path="'+e[r][0]+'" manifest:media-type="'+e[r][1]+'"/>\n');return t.push("</manifest:manifest>"),t.join("")}(a)),r}function ku(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function Au(e){return"undefined"!=typeof TextDecoder?(new TextDecoder).decode(e):Rt(T(e))}function Tu(e){return"undefined"!=typeof TextEncoder?(new TextEncoder).encode(e):k(Ot(e))}function Eu(e){var t=e.reduce(function(e,t){return e+t.length},0),r=new Uint8Array(t),n=0;return e.forEach(function(e){r.set(e,n),n+=e.length}),r}function _u(e){return 16843009*((e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135)>>>24}function Nu(e,t){var r=t?t[0]:0,n=127&e[r];e:if(e[r++]>=128){if(n|=(127&e[r])<<7,e[r++]<128)break e;if(n|=(127&e[r])<<14,e[r++]<128)break e;if(n|=(127&e[r])<<21,e[r++]<128)break e;if(n+=(127&e[r])*Math.pow(2,28),++r,e[r++]<128)break e;if(n+=(127&e[r])*Math.pow(2,35),++r,e[r++]<128)break e;if(n+=(127&e[r])*Math.pow(2,42),++r,e[r++]<128)break e}return t&&(t[0]=r),n}function Cu(e){var t=new Uint8Array(7);t[0]=127&e;var r=1;e:if(e>127){if(t[r-1]|=128,t[r]=e>>7&127,++r,e<=16383)break e;if(t[r-1]|=128,t[r]=e>>14&127,++r,e<=2097151)break e;if(t[r-1]|=128,t[r]=e>>21&127,++r,e<=268435455)break e;if(t[r-1]|=128,t[r]=e/256>>>21&127,++r,e<=34359738367)break e;if(t[r-1]|=128,t[r]=e/65536>>>21&127,++r,e<=4398046511103)break e;t[r-1]|=128,t[r]=e/16777216>>>21&127,++r}return t.slice(0,r)}function Ru(e){var t=0,r=127&e[t];e:if(e[t++]>=128){if(r|=(127&e[t])<<7,e[t++]<128)break e;if(r|=(127&e[t])<<14,e[t++]<128)break e;if(r|=(127&e[t])<<21,e[t++]<128)break e;r|=(127&e[t])<<28}return r}function Ou(e){for(var t=[],r=[0];r[0]<e.length;){var n,a=r[0],o=Nu(e,r),i=7&o,s=0;if(0==(o=Math.floor(o/8)))break;switch(i){case 0:for(var c=r[0];e[r[0]++]>=128;);n=e.slice(c,r[0]);break;case 5:s=4,n=e.slice(r[0],r[0]+s),r[0]+=s;break;case 1:s=8,n=e.slice(r[0],r[0]+s),r[0]+=s;break;case 2:s=Nu(e,r),n=e.slice(r[0],r[0]+s),r[0]+=s;break;case 3:case 4:default:throw new Error("PB Type ".concat(i," for Field ").concat(o," at offset ").concat(a))}var l={data:n,type:i};null==t[o]?t[o]=[l]:t[o].push(l)}return t}function Lu(e){var t=[];return e.forEach(function(e,r){e.forEach(function(e){e.data&&(t.push(Cu(8*r+e.type)),2==e.type&&t.push(Cu(e.data.length)),t.push(e.data))})}),Eu(t)}function Pu(e,t){return(null==e?void 0:e.map(function(e){return t(e.data)}))||[]}function Iu(e){for(var t,r=[],n=[0];n[0]<e.length;){var a=Nu(e,n),o=Ou(e.slice(n[0],n[0]+a));n[0]+=a;var i={id:Ru(o[1][0].data),messages:[]};o[2].forEach(function(t){var r=Ou(t.data),a=Ru(r[3][0].data);i.messages.push({meta:r,data:e.slice(n[0],n[0]+a)}),n[0]+=a}),(null==(t=o[3])?void 0:t[0])&&(i.merge=Ru(o[3][0].data)>>>0>0),r.push(i)}return r}function Fu(e){var t=[];return e.forEach(function(e){var r=[];r[1]=[{data:Cu(e.id),type:0}],r[2]=[],null!=e.merge&&(r[3]=[{data:Cu(+!!e.merge),type:0}]);var n=[];e.messages.forEach(function(e){n.push(e.data),e.meta[3]=[{type:0,data:Cu(e.data.length)}],r[2].push({data:Lu(e.meta),type:2})});var a=Lu(r);t.push(Cu(a.length)),t.push(a),n.forEach(function(e){return t.push(e)})}),Eu(t)}function Du(e,t){if(0!=e)throw new Error("Unexpected Snappy chunk type ".concat(e));for(var r=[0],n=Nu(t,r),a=[];r[0]<t.length;){var o=3&t[r[0]];if(0!=o){var i=0,s=0;if(1==o?(s=4+(t[r[0]]>>2&7),i=(224&t[r[0]++])<<3,i|=t[r[0]++]):(s=1+(t[r[0]++]>>2),2==o?(i=t[r[0]]|t[r[0]+1]<<8,r[0]+=2):(i=(t[r[0]]|t[r[0]+1]<<8|t[r[0]+2]<<16|t[r[0]+3]<<24)>>>0,r[0]+=4)),a=[Eu(a)],0==i)throw new Error("Invalid offset 0");if(i>a[0].length)throw new Error("Invalid offset beyond length");if(s>=i)for(a.push(a[0].slice(-i)),s-=i;s>=a[a.length-1].length;)a.push(a[a.length-1]),s-=a[a.length-1].length;a.push(a[0].slice(-i,-i+s))}else{var c=t[r[0]++]>>2;if(c<60)++c;else{var l=c-59;c=t[r[0]],l>1&&(c|=t[r[0]+1]<<8),l>2&&(c|=t[r[0]+2]<<16),l>3&&(c|=t[r[0]+3]<<24),c>>>=0,c++,r[0]+=l}a.push(t.slice(r[0],r[0]+c)),r[0]+=c}}var u=Eu(a);if(u.length!=n)throw new Error("Unexpected length: ".concat(u.length," != ").concat(n));return u}function Mu(e){for(var t=[],r=0;r<e.length;){var n=e[r++],a=e[r]|e[r+1]<<8|e[r+2]<<16;r+=3,t.push(Du(n,e.slice(r,r+a))),r+=a}if(r!==e.length)throw new Error("data is not a valid framed stream!");return Eu(t)}function ju(e){for(var t=[],r=0;r<e.length;){var n=Math.min(e.length-r,268435455),a=new Uint8Array(4);t.push(a);var o=Cu(n),i=o.length;t.push(o),n<=60?(i++,t.push(new Uint8Array([n-1<<2]))):n<=256?(i+=2,t.push(new Uint8Array([240,n-1&255]))):n<=65536?(i+=3,t.push(new Uint8Array([244,n-1&255,n-1>>8&255]))):n<=16777216?(i+=4,t.push(new Uint8Array([248,n-1&255,n-1>>8&255,n-1>>16&255]))):n<=4294967296&&(i+=5,t.push(new Uint8Array([252,n-1&255,n-1>>8&255,n-1>>16&255,n-1>>>24&255]))),t.push(e.slice(r,r+n)),i+=n,a[0]=0,a[1]=255&i,a[2]=i>>8&255,a[3]=i>>16&255,r+=n}return Eu(t)}function Bu(e,t,r){var n,a=ku(e),o=a.getUint32(8,!0),i=12,s=-1,c=-1,l=NaN,u=NaN,f=new Date(2001,0,1);switch(1&o&&(l=function(e,t){for(var r=(127&e[t+15])<<7|e[t+14]>>1,n=1&e[t+14],a=t+13;a>=t;--a)n=256*n+e[a];return(128&e[t+15]?-n:n)*Math.pow(10,r-6176)}(e,i),i+=16),2&o&&(u=a.getFloat64(i,!0),i+=8),4&o&&(f.setTime(f.getTime()+1e3*a.getFloat64(i,!0)),i+=8),8&o&&(c=a.getUint32(i,!0),i+=4),16&o&&(s=a.getUint32(i,!0),i+=4),e[1]){case 0:break;case 2:n={t:"n",v:l};break;case 3:n={t:"s",v:t[c]};break;case 5:n={t:"d",v:f};break;case 6:n={t:"b",v:u>0};break;case 7:n={t:"n",v:u/86400};break;case 8:n={t:"e",v:0};break;case 9:if(!(s>-1))throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(31&o," : ").concat(e.slice(0,4)));n={t:"s",v:r[s]};break;case 10:n={t:"n",v:l};break;default:throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(31&o," : ").concat(e.slice(0,4)))}return n}function Wu(e,t){var r=new Uint8Array(32),n=ku(r),a=12,o=0;switch(r[0]=5,e.t){case"n":r[1]=2,function(e,t,r){var n=Math.floor(0==r?0:Math.LOG10E*Math.log(Math.abs(r)))+6176-20,a=r/Math.pow(10,n-6176);e[t+15]|=n>>7,e[t+14]|=(127&n)<<1;for(var o=0;a>=1;++o,a/=256)e[t+o]=255&a;e[t+15]|=r>=0?0:128}(r,a,e.v),o|=1,a+=16;break;case"b":r[1]=6,n.setFloat64(a,e.v?1:0,!0),o|=2,a+=8;break;case"s":if(-1==t.indexOf(e.v))throw new Error("Value ".concat(e.v," missing from SST!"));r[1]=3,n.setUint32(a,t.indexOf(e.v),!0),o|=8,a+=4;break;default:throw"unsupported cell type "+e.t}return n.setUint32(8,o,!0),r.slice(0,a)}function Uu(e,t){var r=new Uint8Array(32),n=ku(r),a=12,o=0;switch(r[0]=3,e.t){case"n":r[2]=2,n.setFloat64(a,e.v,!0),o|=32,a+=8;break;case"b":r[2]=6,n.setFloat64(a,e.v?1:0,!0),o|=32,a+=8;break;case"s":if(-1==t.indexOf(e.v))throw new Error("Value ".concat(e.v," missing from SST!"));r[2]=3,n.setUint32(a,t.indexOf(e.v),!0),o|=16,a+=4;break;default:throw"unsupported cell type "+e.t}return n.setUint32(4,o,!0),r.slice(0,a)}function zu(e,t,r){switch(e[0]){case 0:case 1:case 2:case 3:return function(e,t,r,n){var a,o=ku(e),i=o.getUint32(4,!0),s=(n>1?12:8)+4*_u(i&(n>1?3470:398)),c=-1,l=-1,u=NaN,f=new Date(2001,0,1);switch(512&i&&(c=o.getUint32(s,!0),s+=4),s+=4*_u(i&(n>1?12288:4096)),16&i&&(l=o.getUint32(s,!0),s+=4),32&i&&(u=o.getFloat64(s,!0),s+=8),64&i&&(f.setTime(f.getTime()+1e3*o.getFloat64(s,!0)),s+=8),e[2]){case 0:break;case 2:a={t:"n",v:u};break;case 3:a={t:"s",v:t[l]};break;case 5:a={t:"d",v:f};break;case 6:a={t:"b",v:u>0};break;case 7:a={t:"n",v:u/86400};break;case 8:a={t:"e",v:0};break;case 9:if(c>-1)a={t:"s",v:r[c]};else if(l>-1)a={t:"s",v:t[l]};else{if(isNaN(u))throw new Error("Unsupported cell type ".concat(e.slice(0,4)));a={t:"n",v:u}}break;default:throw new Error("Unsupported cell type ".concat(e.slice(0,4)))}return a}(e,t,r,e[0]);case 5:return Bu(e,t,r);default:throw new Error("Unsupported payload version ".concat(e[0]))}}function Hu(e){return Nu(Ou(e)[1][0].data)}function Vu(e,t){var r=Ou(t.data),n=Ru(r[1][0].data),a=r[3],o=[];return(a||[]).forEach(function(t){var r=Ou(t.data),a=Ru(r[1][0].data)>>>0;switch(n){case 1:o[a]=Au(r[3][0].data);break;case 8:var i=Ou(e[Hu(r[9][0].data)][0].data),s=e[Hu(i[1][0].data)][0],c=Ru(s.meta[1][0].data);if(2001!=c)throw new Error("2000 unexpected reference to ".concat(c));var l=Ou(s.data);o[a]=l[3].map(function(e){return Au(e.data)}).join("")}}),o}function qu(e,t){var r,n=Ou(t.data),a=(null==(r=null==n?void 0:n[7])?void 0:r[0])?Ru(n[7][0].data)>>>0>0?1:0:-1,o=Pu(n[5],function(e){return function(e,t){var r,n,a,o,i,s,c,l,u,f,h,d,p,g,m,v,b=Ou(e),y=Ru(b[1][0].data)>>>0,w=Ru(b[2][0].data)>>>0,S=(null==(n=null==(r=b[8])?void 0:r[0])?void 0:n.data)&&Ru(b[8][0].data)>0||!1;if((null==(o=null==(a=b[7])?void 0:a[0])?void 0:o.data)&&0!=t)m=null==(s=null==(i=b[7])?void 0:i[0])?void 0:s.data,v=null==(l=null==(c=b[6])?void 0:c[0])?void 0:l.data;else{if(null==(f=null==(u=b[4])?void 0:u[0])||!f.data||1==t)throw"NUMBERS Tile missing ".concat(t," cell storage");m=null==(d=null==(h=b[4])?void 0:h[0])?void 0:d.data,v=null==(g=null==(p=b[3])?void 0:p[0])?void 0:g.data}for(var x=S?4:1,k=ku(m),A=[],T=0;T<m.length/2;++T){var E=k.getUint16(2*T,!0);E<65535&&A.push([T,E])}if(A.length!=w)throw"Expected ".concat(w," cells, found ").concat(A.length);var _=[];for(T=0;T<A.length-1;++T)_[A[T][0]]=v.subarray(A[T][1]*x,A[T+1][1]*x);return A.length>=1&&(_[A[A.length-1][0]]=v.subarray(A[A.length-1][1]*x)),{R:y,cells:_}}(e,a)});return{nrows:Ru(n[4][0].data)>>>0,data:o.reduce(function(e,t){return e[t.R]||(e[t.R]=[]),t.cells.forEach(function(r,n){if(e[t.R][n])throw new Error("Duplicate cell r=".concat(t.R," c=").concat(n));e[t.R][n]=r}),e},[])}}function $u(e,t){var r={"!ref":"A1"},n=e[Hu(Ou(t.data)[2][0].data)],a=Ru(n[0].meta[1][0].data);if(6001!=a)throw new Error("6000 unexpected reference to ".concat(a));return function(e,t,r){var n,a=Ou(t.data),o={s:{r:0,c:0},e:{r:0,c:0}};if(o.e.r=(Ru(a[6][0].data)>>>0)-1,o.e.r<0)throw new Error("Invalid row varint ".concat(a[6][0].data));if(o.e.c=(Ru(a[7][0].data)>>>0)-1,o.e.c<0)throw new Error("Invalid col varint ".concat(a[7][0].data));r["!ref"]=Vr(o);var i=Ou(a[4][0].data),s=Vu(e,e[Hu(i[4][0].data)][0]),c=(null==(n=i[17])?void 0:n[0])?Vu(e,e[Hu(i[17][0].data)][0]):[],l=Ou(i[3][0].data),u=0;l[1].forEach(function(t){var n=Ou(t.data),a=e[Hu(n[2][0].data)][0],o=Ru(a.meta[1][0].data);if(6002!=o)throw new Error("6001 unexpected reference to ".concat(o));var i=qu(0,a);i.data.forEach(function(e,t){e.forEach(function(e,n){var a=zr({r:u+t,c:n}),o=zu(e,s,c);o&&(r[a]=o)})}),u+=i.nrows})}(e,n[0],r),r}function Gu(e,t){var r={SheetNames:[],Sheets:{}};if(Pu(Ou(t.data)[1],Hu).forEach(function(t){e[t].forEach(function(t){if(2==Ru(t.meta[1][0].data)){var n=function(e,t){var r,n=Ou(t.data),a={name:(null==(r=n[1])?void 0:r[0])?Au(n[1][0].data):"",sheets:[]};return Pu(n[2],Hu).forEach(function(t){e[t].forEach(function(t){6e3==Ru(t.meta[1][0].data)&&a.sheets.push($u(e,t))})}),a}(e,t);n.sheets.forEach(function(e,t){Rf(r,e,0==t?n.name:n.name+"_"+t,!0)})}})}),0==r.SheetNames.length)throw new Error("Empty NUMBERS file");return r}function Xu(e){var t,r,n,a,o={},i=[];if(e.FullPaths.forEach(function(e){if(e.match(/\.iwpv2/))throw new Error("Unsupported password protection")}),e.FileIndex.forEach(function(e){if(e.name.match(/\.iwa$/)){var t,r;try{t=Mu(e.content)}catch(t){return console.log("?? "+e.content.length+" "+(t.message||t))}try{r=Iu(t)}catch(e){return console.log("## "+(e.message||e))}r.forEach(function(e){o[e.id]=e.messages,i.push(e.id)})}}),!i.length)throw new Error("File has no messages");var s=(null==(a=null==(n=null==(r=null==(t=null==o?void 0:o[1])?void 0:t[0])?void 0:r.meta)?void 0:n[1])?void 0:a[0].data)&&1==Ru(o[1][0].meta[1][0].data)&&o[1][0];if(s||i.forEach(function(e){o[e].forEach(function(e){if(1==Ru(e.meta[1][0].data)>>>0){if(s)throw new Error("Document has multiple roots");s=e}})}),!s)throw new Error("Cannot find Document root");return Gu(o,s)}function Yu(e,t,r){var n,a,o,i;if(!(null==(n=e[6])?void 0:n[0])||!(null==(a=e[7])?void 0:a[0]))throw"Mutation only works on post-BNC storages!";if((null==(i=null==(o=e[8])?void 0:o[0])?void 0:i.data)&&Ru(e[8][0].data)>0||!1)throw"Math only works with normal offsets";for(var s=0,c=ku(e[7][0].data),l=0,u=[],f=ku(e[4][0].data),h=0,d=[],p=0;p<t.length;++p)if(null!=t[p]){var g,m;switch(c.setUint16(2*p,l,!0),f.setUint16(2*p,h,!0),typeof t[p]){case"string":g=Wu({t:"s",v:t[p]},r),m=Uu({t:"s",v:t[p]},r);break;case"number":g=Wu({t:"n",v:t[p]},r),m=Uu({t:"n",v:t[p]},r);break;case"boolean":g=Wu({t:"b",v:t[p]},r),m=Uu({t:"b",v:t[p]},r);break;default:throw new Error("Unsupported value "+t[p])}u.push(g),l+=g.length,d.push(m),h+=m.length,++s}else c.setUint16(2*p,65535,!0),f.setUint16(2*p,65535);for(e[2][0].data=Cu(s);p<e[7][0].data.length/2;++p)c.setUint16(2*p,65535,!0),f.setUint16(2*p,65535,!0);return e[6][0].data=Eu(u),e[3][0].data=Eu(d),s}function Ku(e){return function(t){for(var r=0;r!=e.length;++r){var n=e[r];void 0===t[n[0]]&&(t[n[0]]=n[1]),"n"===n[2]&&(t[n[0]]=Number(t[n[0]]))}}}function Ju(e){Ku([["cellNF",!1],["cellHTML",!0],["cellFormula",!0],["cellStyles",!1],["cellText",!0],["cellDates",!1],["sheetStubs",!1],["sheetRows",0,"n"],["bookDeps",!1],["bookSheets",!1],["bookProps",!1],["bookFiles",!1],["bookVBA",!1],["password",""],["WTF",!1]])(e)}function Zu(e){Ku([["cellDates",!1],["bookSST",!1],["bookType","xlsx"],["compression",!1],["WTF",!1]])(e)}function Qu(e){return Wn.WS.indexOf(e)>-1?"sheet":Wn.CS&&e==Wn.CS?"chart":Wn.DS&&e==Wn.DS?"dialog":Wn.MS&&e==Wn.MS?"macro":e&&e.length?e:"sheet"}function ef(e,t,r,n,a,o,i,s,c,l,u,f){try{o[n]=zn(tt(e,r,!0),t);var h,d=et(e,t);switch(s){case"sheet":h=fl(d,t,a,c,o[n],l,u,f);break;case"chart":if(!(h=hl(d,t,a,c,o[n],l))||!h["!drawel"])break;var p=it(h["!drawel"].Target,t),g=Un(p),m=it(function(e,t){if(!e)return"??";var r=(e.match(/<c:chart [^>]*r:id="([^"]*)"/)||["",""])[1];return t["!id"][r].Target}(tt(e,p,!0),zn(tt(e,g,!0),p)),p),v=Un(m);h=$c(tt(e,m,!0),0,0,zn(tt(e,v,!0),m),0,h);break;case"macro":h=function(e,t,r,n,a,o,i,s){return t.slice(-4),{"!type":"macro"}}(0,t,0,0,o[n]);break;case"dialog":h=function(e,t,r,n,a,o,i,s){return t.slice(-4),{"!type":"dialog"}}(0,t,0,0,o[n]);break;default:throw new Error("Unrecognized sheet type "+s)}i[n]=h;var b=[];o&&o[n]&&Ne(o[n]).forEach(function(r){var a="";if(o[n][r].Type==Wn.CMNT){a=it(o[n][r].Target,t);var i=gl(et(e,a,!0),a,c);if(!i||!i.length)return;ns(h,i,!1)}o[n][r].Type==Wn.TCMNT&&(a=it(o[n][r].Target,t),b=b.concat(function(e,t){var r=[],n=!1,a={},o=0;return e.replace(ut,function(i,s){var c=dt(i);switch(pt(c[0])){case"<?xml":case"<ThreadedComments":case"</ThreadedComments>":break;case"<threadedComment":a={author:c.personId,guid:c.id,ref:c.ref,T:1};break;case"</threadedComment>":null!=a.t&&r.push(a);break;case"<text>":case"<text":o=s+i.length;break;case"</text>":a.t=e.slice(o,s).replace(/\r\n/g,"\n").replace(/\r/g,"\n");break;case"<mentions":case"<mentions>":n=!0;break;case"</mentions>":n=!1;break;case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<ext":n=!0;break;case"</ext>":n=!1;break;default:if(!n&&t.WTF)throw new Error("unrecognized "+c[0]+" in threaded comments")}return i}),r}(et(e,a,!0),c)))}),b&&b.length&&ns(h,b,!0,c.people||[])}catch(e){if(c.WTF)throw e}}function tf(e){return"/"==e.charAt(0)?e.slice(1):e}function rf(e,t){if(ye(),Ju(t=t||{}),Ze(e,"META-INF/manifest.xml"))return bu(e,t);if(Ze(e,"objectdata.xml"))return bu(e,t);if(Ze(e,"Index/Document.iwa")){if("undefined"==typeof Uint8Array)throw new Error("NUMBERS file parsing requires Uint8Array support");if(void 0!==Xu){if(e.FileIndex)return Xu(e);var r=Te.utils.cfb_new();return rt(e).forEach(function(t){nt(r,t,function e(t,r,n){if(!n)return Je(Qe(t,r));if(!r)return null;try{return e(t,r)}catch(e){return null}}(e,t))}),Xu(r)}throw new Error("Unsupported NUMBERS file")}if(!Ze(e,"[Content_Types].xml")){if(Ze(e,"index.xml.gz"))throw new Error("Unsupported NUMBERS 08 file");if(Ze(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Error("Unsupported ZIP file")}var n,a,o=rt(e),i=function(e){var t={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""};if(!e||!e.match)return t;var r={};if((e.match(ut)||[]).forEach(function(e){var n=dt(e);switch(n[0].replace(ft,"<")){case"<?xml":break;case"<Types":t.xmlns=n["xmlns"+(n[0].match(/<(\w+):/)||["",""])[1]];break;case"<Default":r[n.Extension]=n.ContentType;break;case"<Override":void 0!==t[Mn[n.ContentType]]&&t[Mn[n.ContentType]].push(n.PartName)}}),t.xmlns!==qt.CT)throw new Error("Unknown Namespace: "+t.xmlns);return t.calcchain=t.calcchains.length>0?t.calcchains[0]:"",t.sst=t.strs.length>0?t.strs[0]:"",t.style=t.styles.length>0?t.styles[0]:"",t.defaults=r,delete t.calcchains,t}(tt(e,"[Content_Types].xml")),s=!1;if(0===i.workbooks.length&&et(e,a="xl/workbook.xml",!0)&&i.workbooks.push(a),0===i.workbooks.length){if(!et(e,a="xl/workbook.bin",!0))throw new Error("Could not find workbook");i.workbooks.push(a),s=!0}"bin"==i.workbooks[0].slice(-3)&&(s=!0);var c={},l={};if(!t.bookSheets&&!t.bookProps){if(ac=[],i.sst)try{ac=pl(et(e,tf(i.sst)),i.sst,t)}catch(e){if(t.WTF)throw e}t.cellStyles&&i.themes.length&&(c=function(e,t,r){return Xi(e,r)}(tt(e,i.themes[0].replace(/^\//,""),!0)||"",i.themes[0],t)),i.style&&(l=dl(et(e,tf(i.style)),i.style,c,t))}i.links.map(function(r){try{zn(tt(e,Un(tf(r))),r);return vl(et(e,tf(r)),0,r,t)}catch(e){}});var u=ul(et(e,tf(i.workbooks[0])),i.workbooks[0],t),f={},h="";i.coreprops.length&&((h=et(e,tf(i.coreprops[0]),!0))&&(f=Jn(h)),0!==i.extprops.length&&(h=et(e,tf(i.extprops[0]),!0))&&function(e,t,r){var n={};t||(t={}),e=Rt(e),ea.forEach(function(r){var a=(e.match(Lt(r[0]))||[])[1];switch(r[2]){case"string":a&&(t[r[1]]=vt(a));break;case"bool":t[r[1]]="true"===a;break;case"raw":var o=e.match(new RegExp("<"+r[0]+"[^>]*>([\\s\\S]*?)</"+r[0]+">"));o&&o.length>0&&(n[r[1]]=o[1])}}),n.HeadingPairs&&n.TitlesOfParts&&ra(n.HeadingPairs,n.TitlesOfParts,t,r)}(h,f,t));var d={};t.bookSheets&&!t.bookProps||0!==i.custprops.length&&(h=tt(e,tf(i.custprops[0]),!0))&&(d=function(e,t){var r={},n="",a=e.match(aa);if(a)for(var o=0;o!=a.length;++o){var i=a[o],s=dt(i);switch(s[0]){case"<?xml":case"<Properties":break;case"<property":n=vt(s.name);break;case"</property>":n=null;break;default:if(0===i.indexOf("<vt:")){var c=i.split(">"),l=c[0].slice(4),u=c[1];switch(l){case"lpstr":case"bstr":case"lpwstr":r[n]=vt(u);break;case"bool":r[n]=Tt(u);break;case"i1":case"i2":case"i4":case"i8":case"int":case"uint":r[n]=parseInt(u,10);break;case"r4":case"r8":case"decimal":r[n]=parseFloat(u);break;case"filetime":case"date":r[n]=ze(u);break;case"cy":case"error":r[n]=vt(u);break;default:if("/"==l.slice(-1))break;t.WTF&&"undefined"!=typeof console&&console.warn("Unexpected",i,l,c)}}else if("</"===i.slice(0,2));else if(t.WTF)throw new Error(i)}}return r}(h,t));var p={};if((t.bookSheets||t.bookProps)&&(u.Sheets?n=u.Sheets.map(function(e){return e.name}):f.Worksheets&&f.SheetNames.length>0&&(n=f.SheetNames),t.bookProps&&(p.Props=f,p.Custprops=d),t.bookSheets&&void 0!==n&&(p.SheetNames=n),t.bookSheets?p.SheetNames:t.bookProps))return p;n={};var g={};t.bookDeps&&i.calcchain&&(g=ml(et(e,tf(i.calcchain)),i.calcchain));var m,v,b=0,y={},w=u.Sheets;f.Worksheets=w.length,f.SheetNames=[];for(var S=0;S!=w.length;++S)f.SheetNames[S]=w[S].name;var x=s?"bin":"xml",k=i.workbooks[0].lastIndexOf("/"),A=(i.workbooks[0].slice(0,k+1)+"_rels/"+i.workbooks[0].slice(k+1)+".rels").replace(/^\//,"");Ze(e,A)||(A="xl/_rels/workbook."+x+".rels");var T=zn(tt(e,A,!0),A.replace(/_rels.*/,"s5s"));(i.metadata||[]).length>=1&&(t.xlmeta=bl(et(e,tf(i.metadata[0])),i.metadata[0],t)),(i.people||[]).length>=1&&(t.people=function(e,t){var r=[],n=!1;return e.replace(ut,function(e){var a=dt(e);switch(pt(a[0])){case"<?xml":case"<personList":case"</personList>":break;case"<person":r.push({name:a.displayname,id:a.id});break;case"</person>":break;case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<ext":n=!0;break;case"</ext>":n=!1;break;default:if(!n&&t.WTF)throw new Error("unrecognized "+a[0]+" in threaded comments")}return e}),r}(et(e,tf(i.people[0])),t)),T&&(T=function(e,t){if(!e)return 0;try{e=t.map(function(t){return t.id||(t.id=t.strRelID),[t.name,e["!id"][t.id].Target,Qu(e["!id"][t.id].Type)]})}catch(e){return null}return e&&0!==e.length?e:null}(T,u.Sheets));var E=et(e,"xl/worksheets/sheet.xml",!0)?1:0;e:for(b=0;b!=f.Worksheets;++b){var _="sheet";if(T&&T[b]?(m="xl/"+T[b][1].replace(/[\/]?xl\//,""),Ze(e,m)||(m=T[b][1]),Ze(e,m)||(m=A.replace(/_rels\/.*$/,"")+T[b][1]),_=T[b][2]):m=(m="xl/worksheets/sheet"+(b+1-E)+"."+x).replace(/sheet0\./,"sheet."),v=m.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels"),t&&null!=t.sheets)switch(typeof t.sheets){case"number":if(b!=t.sheets)continue e;break;case"string":if(f.SheetNames[b].toLowerCase()!=t.sheets.toLowerCase())continue e;break;default:if(Array.isArray&&Array.isArray(t.sheets)){for(var N=!1,C=0;C!=t.sheets.length;++C)"number"==typeof t.sheets[C]&&t.sheets[C]==b&&(N=1),"string"==typeof t.sheets[C]&&t.sheets[C].toLowerCase()==f.SheetNames[b].toLowerCase()&&(N=1);if(!N)continue e}}ef(e,m,v,f.SheetNames[b],b,y,n,_,t,u,c,l)}return p={Directory:i,Workbook:u,Props:f,Custprops:d,Deps:g,Sheets:n,SheetNames:f.SheetNames,Strings:ac,Styles:l,Themes:c,SSF:Ve(B)},t&&t.bookFiles&&(e.files?(p.keys=o,p.files=e.files):(p.keys=[],p.files={},e.FullPaths.forEach(function(t,r){t=t.replace(/^Root Entry[\/]/,""),p.keys.push(t),p.files[t]=e.FileIndex[r]}))),t&&t.bookVBA&&(i.vba.length>0?p.vbaraw=et(e,tf(i.vba[0]),!0):i.defaults&&i.defaults.bin===cs&&(p.vbaraw=et(e,"xl/vbaProject.bin",!0))),p}function nf(e,t){var r=t||{},n="Workbook",a=Te.find(e,n);try{if(n="/!DataSpaces/Version",!(a=Te.find(e,n))||!a.content)throw new Error("ECMA-376 Encrypted file missing "+n);if(function(e){var t={};t.id=e._R(0,"lpp4"),t.R=Go(e,4),t.U=Go(e,4),t.W=Go(e,4)}(a.content),n="/!DataSpaces/DataSpaceMap",!(a=Te.find(e,n))||!a.content)throw new Error("ECMA-376 Encrypted file missing "+n);var o=function(e){var t=[];e.l+=4;for(var r=e._R(4);r-- >0;)t.push(Xo(e));return t}(a.content);if(1!==o.length||1!==o[0].comps.length||0!==o[0].comps[0].t||"StrongEncryptionDataSpace"!==o[0].name||"EncryptedPackage"!==o[0].comps[0].v)throw new Error("ECMA-376 Encrypted file bad "+n);if(n="/!DataSpaces/DataSpaceInfo/StrongEncryptionDataSpace",!(a=Te.find(e,n))||!a.content)throw new Error("ECMA-376 Encrypted file missing "+n);var i=function(e){var t=[];e.l+=4;for(var r=e._R(4);r-- >0;)t.push(e._R(0,"lpp4"));return t}(a.content);if(1!=i.length||"StrongEncryptionTransform"!=i[0])throw new Error("ECMA-376 Encrypted file bad "+n);if(n="/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary",!(a=Te.find(e,n))||!a.content)throw new Error("ECMA-376 Encrypted file missing "+n);Yo(a.content)}catch(e){}if(n="/EncryptionInfo",!(a=Te.find(e,n))||!a.content)throw new Error("ECMA-376 Encrypted file missing "+n);var s=function(e){var t=Go(e);switch(t.Minor){case 2:return[t.Minor,Zo(e)];case 3:return[t.Minor,Qo()];case 4:return[t.Minor,ei(e)]}throw new Error("ECMA-376 Encrypted file unrecognized Version: "+t.Minor)}(a.content);if(n="/EncryptedPackage",!(a=Te.find(e,n))||!a.content)throw new Error("ECMA-376 Encrypted file missing "+n);if(4==s[0]&&"undefined"!=typeof decrypt_agile)return decrypt_agile(s[1],a.content,r.password||"",r);if(2==s[0]&&"undefined"!=typeof decrypt_std76)return decrypt_std76(s[1],a.content,r.password||"",r);throw new Error("File is password-protected")}function af(e,t){return"ods"==t.bookType?xu(e,t):"numbers"==t.bookType?function(e,t){if(!t||!t.numbers)throw new Error("Must pass a `numbers` option -- check the README");var r=e.Sheets[e.SheetNames[0]];e.SheetNames.length>1&&console.error("The Numbers writer currently writes only the first table");var n=Hr(r["!ref"]);n.s.r=n.s.c=0;var a=!1;n.e.c>9&&(a=!0,n.e.c=9),n.e.r>49&&(a=!0,n.e.r=49),a&&console.error("The Numbers writer is currently limited to ".concat(Vr(n)));var o=xf(r,{range:n,header:1}),i=["~Sh33tJ5~"];o.forEach(function(e){return e.forEach(function(e){"string"==typeof e&&i.push(e)})});var s={},c=[],l=Te.read(t.numbers,{type:"base64"});l.FileIndex.map(function(e,t){return[e,l.FullPaths[t]]}).forEach(function(e){var t=e[0],r=e[1];2==t.type&&t.name.match(/\.iwa/)&&Iu(Mu(t.content)).forEach(function(e){c.push(e.id),s[e.id]={deps:[],location:r,type:Ru(e.messages[0].meta[1][0].data)}})}),c.sort(function(e,t){return e-t});var u=c.filter(function(e){return e>1}).map(function(e){return[e,Cu(e)]});l.FileIndex.map(function(e,t){return[e,l.FullPaths[t]]}).forEach(function(e){var t=e[0];e[1],t.name.match(/\.iwa/)&&Iu(Mu(t.content)).forEach(function(e){e.messages.forEach(function(t){u.forEach(function(t){e.messages.some(function(e){return 11006!=Ru(e.meta[1][0].data)&&function(e,t){e:for(var r=0;r<=e.length-t.length;++r){for(var n=0;n<t.length;++n)if(e[r+n]!=t[n])continue e;return!0}return!1}(e.data,t[1])})&&s[t[0]].deps.push(e.id)})})})});for(var f,h=Te.find(l,s[1].location),d=Iu(Mu(h.content)),p=0;p<d.length;++p){var g=d[p];1==g.id&&(f=g)}var m=Hu(Ou(f.messages[0].data)[1][0].data);for(d=Iu(Mu((h=Te.find(l,s[m].location)).content)),p=0;p<d.length;++p)(g=d[p]).id==m&&(f=g);for(m=Hu(Ou(f.messages[0].data)[2][0].data),d=Iu(Mu((h=Te.find(l,s[m].location)).content)),p=0;p<d.length;++p)(g=d[p]).id==m&&(f=g);for(m=Hu(Ou(f.messages[0].data)[2][0].data),d=Iu(Mu((h=Te.find(l,s[m].location)).content)),p=0;p<d.length;++p)(g=d[p]).id==m&&(f=g);var v=Ou(f.messages[0].data);v[6][0].data=Cu(n.e.r+1),v[7][0].data=Cu(n.e.c+1);for(var b=Hu(v[46][0].data),y=Te.find(l,s[b].location),w=Iu(Mu(y.content)),S=0;S<w.length&&w[S].id!=b;++S);if(w[S].id!=b)throw"Bad ColumnRowUIDMapArchive";var x=Ou(w[S].messages[0].data);x[1]=[],x[2]=[],x[3]=[];for(var k=0;k<=n.e.c;++k){var A=[];A[1]=A[2]=[{type:0,data:Cu(k+420690)}],x[1].push({type:2,data:Lu(A)}),x[2].push({type:0,data:Cu(k)}),x[3].push({type:0,data:Cu(k)})}x[4]=[],x[5]=[],x[6]=[];for(var T=0;T<=n.e.r;++T)(A=[])[1]=A[2]=[{type:0,data:Cu(T+726270)}],x[4].push({type:2,data:Lu(A)}),x[5].push({type:0,data:Cu(T)}),x[6].push({type:0,data:Cu(T)});w[S].messages[0].data=Lu(x),y.content=ju(Fu(w)),y.size=y.content.length,delete v[46];var E=Ou(v[4][0].data);E[7][0].data=Cu(n.e.r+1);var _=Hu(Ou(E[1][0].data)[2][0].data);if((w=Iu(Mu((y=Te.find(l,s[_].location)).content)))[0].id!=_)throw"Bad HeaderStorageBucket";var N=Ou(w[0].messages[0].data);for(T=0;T<o.length;++T){var C=Ou(N[2][0].data);C[1][0].data=Cu(T),C[4][0].data=Cu(o[T].length),N[2][T]={type:N[2][0].type,data:Lu(C)}}w[0].messages[0].data=Lu(N),y.content=ju(Fu(w)),y.size=y.content.length;var R=Hu(E[2][0].data);if((w=Iu(Mu((y=Te.find(l,s[R].location)).content)))[0].id!=R)throw"Bad HeaderStorageBucket";for(N=Ou(w[0].messages[0].data),k=0;k<=n.e.c;++k)(C=Ou(N[2][0].data))[1][0].data=Cu(k),C[4][0].data=Cu(n.e.r+1),N[2][k]={type:N[2][0].type,data:Lu(C)};w[0].messages[0].data=Lu(N),y.content=ju(Fu(w)),y.size=y.content.length;var O=Hu(E[4][0].data);!function(){for(var e,t=Te.find(l,s[O].location),r=Iu(Mu(t.content)),n=0;n<r.length;++n){var a=r[n];a.id==O&&(e=a)}var o=Ou(e.messages[0].data);o[3]=[];var c=[];i.forEach(function(e,t){c[1]=[{type:0,data:Cu(t)}],c[2]=[{type:0,data:Cu(1)}],c[3]=[{type:2,data:Tu(e)}],o[3].push({type:2,data:Lu(c)})}),e.messages[0].data=Lu(o);var u=ju(Fu(r));t.content=u,t.size=t.content.length}();var L=Ou(E[3][0].data),P=L[1][0];delete L[2];var I=Ou(P.data),F=Hu(I[2][0].data);!function(){for(var e,t=Te.find(l,s[F].location),r=Iu(Mu(t.content)),a=0;a<r.length;++a){var c=r[a];c.id==F&&(e=c)}var u=Ou(e.messages[0].data);delete u[6],delete L[7];var f=new Uint8Array(u[5][0].data);u[5]=[];for(var h=0,d=0;d<=n.e.r;++d){var p=Ou(f);h+=Yu(p,o[d],i),p[1][0].data=Cu(d),u[5].push({data:Lu(p),type:2})}u[1]=[{type:0,data:Cu(n.e.c+1)}],u[2]=[{type:0,data:Cu(n.e.r+1)}],u[3]=[{type:0,data:Cu(h)}],u[4]=[{type:0,data:Cu(n.e.r+1)}],e.messages[0].data=Lu(u);var g=ju(Fu(r));t.content=g,t.size=t.content.length}(),P.data=Lu(I),E[3][0].data=Lu(L),v[4][0].data=Lu(E),f.messages[0].data=Lu(v);var D=ju(Fu(d));return h.content=D,h.size=h.content.length,l}(e,t):"xlsb"==t.bookType?function(e,t){ts=1024,e&&!e.SSF&&(e.SSF=Ve(B));e&&e.SSF&&(ye(),be(e.SSF),t.revssf=Oe(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF);t.rels={},t.wbrels={},t.Strings=[],t.Strings.Count=0,t.Strings.Unique=0,ic?t.revStrings=new Map:(t.revStrings={},t.revStrings.foo=[],delete t.revStrings.foo);var r="xlsb"==t.bookType?"bin":"xml",n=ls.indexOf(t.bookType)>-1,a={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""};Zu(t=t||{});var o=at(),i="",s=0;t.cellXfs=[],uc(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={});if(nt(o,i="docProps/core.xml",Qn(e.Props,t)),a.coreprops.push(i),Vn(t.rels,2,i,Wn.CORE_PROPS),i="docProps/app.xml",e.Props&&e.Props.SheetNames);else if(e.Workbook&&e.Workbook.Sheets){for(var c=[],l=0;l<e.SheetNames.length;++l)2!=(e.Workbook.Sheets[l]||{}).Hidden&&c.push(e.SheetNames[l]);e.Props.SheetNames=c}else e.Props.SheetNames=e.SheetNames;e.Props.Worksheets=e.Props.SheetNames.length,nt(o,i,na(e.Props)),a.extprops.push(i),Vn(t.rels,3,i,Wn.EXT_PROPS),e.Custprops!==e.Props&&Ne(e.Custprops||{}).length>0&&(nt(o,i="docProps/custom.xml",oa(e.Custprops)),a.custprops.push(i),Vn(t.rels,4,i,Wn.CUST_PROPS));for(s=1;s<=e.SheetNames.length;++s){var u={"!id":{}},f=e.Sheets[e.SheetNames[s-1]],h=(f||{})["!type"]||"sheet";switch(h){case"chart":default:nt(o,i="xl/worksheets/sheet"+s+"."+r,yl(s-1,i,t,e,u)),a.sheets.push(i),Vn(t.wbrels,-1,"worksheets/sheet"+s+"."+r,Wn.WS[0])}if(f){var d=f["!comments"],p=!1,g="";d&&d.length>0&&(nt(o,g="xl/comments"+s+"."+r,wl(d,g,t)),a.comments.push(g),Vn(u,-1,"../comments"+s+"."+r,Wn.CMNT),p=!0),f["!legacy"]&&p&&nt(o,"xl/drawings/vmlDrawing"+s+".vml",rs(s,f["!comments"])),delete f["!comments"],delete f["!legacy"]}u["!id"].rId1&&nt(o,Un(i),Hn(u))}null!=t.Strings&&t.Strings.length>0&&(nt(o,i="xl/sharedStrings."+r,function(e,t,r){return(".bin"===t.slice(-4)?qo:Ho)(e,r)}(t.Strings,i,t)),a.strs.push(i),Vn(t.wbrels,-1,"sharedStrings."+r,Wn.SST));nt(o,i="xl/workbook."+r,function(e,t,r){return(".bin"===t.slice(-4)?ll:al)(e,r)}(e,i,t)),a.workbooks.push(i),Vn(t.rels,1,i,Wn.WB),nt(o,i="xl/theme/theme1.xml",Yi(e.Themes,t)),a.themes.push(i),Vn(t.wbrels,-1,"theme/theme1.xml",Wn.THEME),nt(o,i="xl/styles."+r,function(e,t,r){return(".bin"===t.slice(-4)?Bi:Ei)(e,r)}(e,i,t)),a.styles.push(i),Vn(t.wbrels,-1,"styles."+r,Wn.STY),e.vbaraw&&n&&(nt(o,i="xl/vbaProject.bin",e.vbaraw),a.vba.push(i),Vn(t.wbrels,-1,"vbaProject.bin",Wn.VBA));return nt(o,i="xl/metadata."+r,function(e){return(".bin"===e.slice(-4)?Qi:es)()}(i)),a.metadata.push(i),Vn(t.wbrels,-1,"metadata."+r,Wn.XLMETA),nt(o,"[Content_Types].xml",Bn(a,t)),nt(o,"_rels/.rels",Hn(t.rels)),nt(o,"xl/_rels/workbook."+r+".rels",Hn(t.wbrels)),delete t.revssf,delete t.ssf,o}(e,t):of(e,t)}function of(e,t){ts=1024,e&&!e.SSF&&(e.SSF=Ve(B)),e&&e.SSF&&(ye(),be(e.SSF),t.revssf=Oe(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF),t.rels={},t.wbrels={},t.Strings=[],t.Strings.Count=0,t.Strings.Unique=0,ic?t.revStrings=new Map:(t.revStrings={},t.revStrings.foo=[],delete t.revStrings.foo);var r="xml",n=ls.indexOf(t.bookType)>-1,a={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""};Zu(t=t||{});var o=at(),i="",s=0;if(t.cellXfs=[],uc(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),nt(o,i="docProps/core.xml",Qn(e.Props,t)),a.coreprops.push(i),Vn(t.rels,2,i,Wn.CORE_PROPS),i="docProps/app.xml",e.Props&&e.Props.SheetNames);else if(e.Workbook&&e.Workbook.Sheets){for(var c=[],l=0;l<e.SheetNames.length;++l)2!=(e.Workbook.Sheets[l]||{}).Hidden&&c.push(e.SheetNames[l]);e.Props.SheetNames=c}else e.Props.SheetNames=e.SheetNames;e.Props.Worksheets=e.Props.SheetNames.length,nt(o,i,na(e.Props)),a.extprops.push(i),Vn(t.rels,3,i,Wn.EXT_PROPS),e.Custprops!==e.Props&&Ne(e.Custprops||{}).length>0&&(nt(o,i="docProps/custom.xml",oa(e.Custprops)),a.custprops.push(i),Vn(t.rels,4,i,Wn.CUST_PROPS));var u=["SheetJ5"];for(t.tcid=0,s=1;s<=e.SheetNames.length;++s){var f={"!id":{}},h=e.Sheets[e.SheetNames[s-1]];switch((h||{})["!type"]||"sheet"){case"chart":default:nt(o,i="xl/worksheets/sheet"+s+"."+r,Rc(s-1,t,e,f)),a.sheets.push(i),Vn(t.wbrels,-1,"worksheets/sheet"+s+"."+r,Wn.WS[0])}if(h){var d=h["!comments"],p=!1,g="";if(d&&d.length>0){var m=!1;d.forEach(function(e){e[1].forEach(function(e){1==e.T&&(m=!0)})}),m&&(nt(o,g="xl/threadedComments/threadedComment"+s+"."+r,os(d,u,t)),a.threadedcomments.push(g),Vn(f,-1,"../threadedComments/threadedComment"+s+"."+r,Wn.TCMNT)),nt(o,g="xl/comments"+s+"."+r,as(d)),a.comments.push(g),Vn(f,-1,"../comments"+s+"."+r,Wn.CMNT),p=!0}h["!legacy"]&&p&&nt(o,"xl/drawings/vmlDrawing"+s+".vml",rs(s,h["!comments"])),delete h["!comments"],delete h["!legacy"]}f["!id"].rId1&&nt(o,Un(i),Hn(f))}return null!=t.Strings&&t.Strings.length>0&&(nt(o,i="xl/sharedStrings."+r,Ho(t.Strings,t)),a.strs.push(i),Vn(t.wbrels,-1,"sharedStrings."+r,Wn.SST)),nt(o,i="xl/workbook."+r,al(e)),a.workbooks.push(i),Vn(t.rels,1,i,Wn.WB),nt(o,i="xl/theme/theme1.xml",Yi(e.Themes,t)),a.themes.push(i),Vn(t.wbrels,-1,"theme/theme1.xml",Wn.THEME),nt(o,i="xl/styles."+r,Ei(e,t)),a.styles.push(i),Vn(t.wbrels,-1,"styles."+r,Wn.STY),e.vbaraw&&n&&(nt(o,i="xl/vbaProject.bin",e.vbaraw),a.vba.push(i),Vn(t.wbrels,-1,"vbaProject.bin",Wn.VBA)),nt(o,i="xl/metadata."+r,es()),a.metadata.push(i),Vn(t.wbrels,-1,"metadata."+r,Wn.XLMETA),u.length>1&&(nt(o,i="xl/persons/person.xml",function(e){var t=[st,Ut("personList",null,{xmlns:qt.TCMNT,"xmlns:x":$t[0]}).replace(/[\/]>/,">")];return e.forEach(function(e,r){t.push(Ut("person",null,{displayName:e,id:"{54EE7950-7262-4200-6969-"+("000000000000"+r).slice(-12)+"}",userId:e,providerId:"None"}))}),t.push("</personList>"),t.join("")}(u)),a.people.push(i),Vn(t.wbrels,-1,"persons/person.xml",Wn.PEOPLE)),nt(o,"[Content_Types].xml",Bn(a,t)),nt(o,"_rels/.rels",Hn(t.rels)),nt(o,"xl/_rels/workbook.xml.rels",Hn(t.wbrels)),delete t.revssf,delete t.ssf,o}function sf(e,t){var r="";switch((t||{}).type||"base64"){case"buffer":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case"base64":r=b(e.slice(0,12));break;case"binary":r=e;break;case"array":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];default:throw new Error("Unrecognized type "+(t&&t.type||"undefined"))}return[r.charCodeAt(0),r.charCodeAt(1),r.charCodeAt(2),r.charCodeAt(3),r.charCodeAt(4),r.charCodeAt(5),r.charCodeAt(6),r.charCodeAt(7)]}function cf(e,t){var r=0;e:for(;r<e.length;)switch(e.charCodeAt(r)){case 10:case 13:case 32:++r;break;case 60:return Ll(e.slice(r),t);default:break e}return Ro.to_workbook(e,t)}function lf(e,r){var n=e;return"base64"==r.type&&(n=b(n)),n=t.utils.decode(1200,n.slice(2),"str"),r.type="binary",cf(n,r)}function uf(e,t,r,n){return n?(r.type="string",Ro.to_workbook(e,r)):Ro.to_workbook(t,r)}function ff(e,t){c();var r=t||{};if("undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer)return ff(new Uint8Array(e),((r=Ve(r)).type="array",r));"undefined"!=typeof Uint8Array&&e instanceof Uint8Array&&!r.type&&(r.type="undefined"!=typeof Deno?"buffer":"array");var n,a=e,o=!1;if(r.cellStyles&&(r.cellNF=!0,r.sheetStubs=!0),oc={},r.dateNF&&(oc.dateNF=r.dateNF),r.type||(r.type=y&&Buffer.isBuffer(e)?"buffer":"base64"),"file"==r.type&&(r.type=y?"buffer":"binary",a=function(e){if(void 0!==ke)return ke.readFileSync(e);if("undefined"!=typeof Deno)return Deno.readFileSync(e);if("undefined"!=typeof $&&"undefined"!=typeof File&&"undefined"!=typeof Folder)try{var t=File(e);t.open("r"),t.encoding="binary";var r=t.read();return t.close(),r}catch(e){if(!e.message||!e.message.match(/onstruct/))throw e}throw new Error("Cannot access file "+e)}(e),"undefined"==typeof Uint8Array||y||(r.type="array")),"string"==r.type&&(o=!0,r.type="binary",r.codepage=65001,a=function(e){return e.match(/[^\x00-\x7F]/)?Ot(e):e}(e)),"array"==r.type&&"undefined"!=typeof Uint8Array&&e instanceof Uint8Array&&"undefined"!=typeof ArrayBuffer){var i=new ArrayBuffer(3),s=new Uint8Array(i);if(s.foo="bar",!s.foo)return(r=Ve(r)).type="array",ff(E(a),r)}switch((n=sf(a,r))[0]){case 208:if(207===n[1]&&17===n[2]&&224===n[3]&&161===n[4]&&177===n[5]&&26===n[6]&&225===n[7])return function(e,t){return Te.find(e,"EncryptedPackage")?nf(e,t):$l(e,t)}(Te.read(a,r),r);break;case 9:if(n[1]<=8)return $l(a,r);break;case 60:return Ll(a,r);case 73:if(73===n[1]&&42===n[2]&&0===n[3])throw new Error("TIFF Image File is not a spreadsheet");if(68===n[1])return function(e,t){var r=t||{},n=!!r.WTF;r.WTF=!0;try{var a=_o.to_workbook(e,r);return r.WTF=n,a}catch(a){if(r.WTF=n,!a.message.match(/SYLK bad record ID/)&&n)throw a;return Ro.to_workbook(e,t)}}(a,r);break;case 84:if(65===n[1]&&66===n[2]&&76===n[3])return No.to_workbook(a,r);break;case 80:return 75===n[1]&&n[2]<9&&n[3]<9?function(e,t){var r=e,n=t||{};return n.type||(n.type=y&&Buffer.isBuffer(e)?"buffer":"base64"),rf(ot(r,n),n)}(a,r):uf(e,a,r,o);case 239:return 60===n[3]?Ll(a,r):uf(e,a,r,o);case 255:if(254===n[1])return lf(a,r);if(0===n[1]&&2===n[2]&&0===n[3])return Oo.to_workbook(a,r);break;case 0:if(0===n[1]){if(n[2]>=2&&0===n[3])return Oo.to_workbook(a,r);if(0===n[2]&&(8===n[3]||9===n[3]))return Oo.to_workbook(a,r)}break;case 3:case 131:case 139:case 140:return Eo.to_workbook(a,r);case 123:if(92===n[1]&&114===n[2]&&116===n[3])return oi.to_workbook(a,r);break;case 10:case 13:case 32:return function(e,t){var r="",n=sf(e,t);switch(t.type){case"base64":r=b(e);break;case"binary":r=e;break;case"buffer":r=e.toString("binary");break;case"array":r=He(e);break;default:throw new Error("Unrecognized type "+t.type)}return 239==n[0]&&187==n[1]&&191==n[2]&&(r=Rt(r)),t.type="binary",cf(r,t)}(a,r);case 137:if(80===n[1]&&78===n[2]&&71===n[3])throw new Error("PNG Image File is not a spreadsheet")}return To.indexOf(n[0])>-1&&n[2]<=12&&n[3]<=31?Eo.to_workbook(a,r):uf(e,a,r,o)}function hf(e,t){var r=t||{};return r.type="file",ff(e,r)}function df(e,t){switch(t.type){case"base64":case"binary":break;case"buffer":case"array":t.type="";break;case"file":return _e(t.file,Te.write(e,{type:y?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");default:throw new Error("Unrecognized type "+t.type)}return Te.write(e,t)}function pf(e,t){var r={},n=y?"nodebuffer":"undefined"!=typeof Uint8Array?"array":"string";if(t.compression&&(r.compression="DEFLATE"),t.password)r.type=n;else switch(t.type){case"base64":r.type="base64";break;case"binary":r.type="string";break;case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");case"buffer":case"file":r.type=n;break;default:throw new Error("Unrecognized type "+t.type)}var a=e.FullPaths?Te.write(e,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[r.type]||r.type,compression:!!t.compression}):e.generate(r);if("undefined"!=typeof Deno&&"string"==typeof a){if("binary"==t.type||"base64"==t.type)return a;a=new Uint8Array(A(a))}return t.password&&"undefined"!=typeof encrypt_agile?df(encrypt_agile(a,t.password),t):"file"===t.type?_e(t.file,a):"string"==t.type?Rt(a):a}function gf(e,t,r){r||(r="");var n=r+e;switch(t.type){case"base64":return v(Ot(n));case"binary":return Ot(n);case"string":return e;case"file":return _e(t.file,n,"utf8");case"buffer":return y?w(n,"utf8"):"undefined"!=typeof TextEncoder?(new TextEncoder).encode(n):gf(n,{type:"binary"}).split("").map(function(e){return e.charCodeAt(0)})}throw new Error("Unrecognized type "+t.type)}function mf(e,t){switch(t.type){case"string":case"base64":case"binary":for(var r="",n=0;n<e.length;++n)r+=String.fromCharCode(e[n]);return"base64"==t.type?v(r):"string"==t.type?Rt(r):r;case"file":return _e(t.file,e);case"buffer":return e;default:throw new Error("Unrecognized type "+t.type)}}function vf(e,t){c(),rl(e);var r=Ve(t||{});if(r.cellStyles&&(r.cellNF=!0,r.sheetStubs=!0),"array"==r.type){r.type="binary";var n=vf(e,r);return r.type="array",A(n)}return function(e,t){var r=Ve(t||{});return pf(of(e,r),r)}(e,r)}function bf(e,t){c(),rl(e);var r=Ve(t||{});if(r.cellStyles&&(r.cellNF=!0,r.sheetStubs=!0),"array"==r.type){r.type="binary";var n=bf(e,r);return r.type="array",A(n)}var a=0;if(r.sheet&&(a="number"==typeof r.sheet?r.sheet:e.SheetNames.indexOf(r.sheet),!e.SheetNames[a]))throw new Error("Sheet not found: "+r.sheet+" : "+typeof r.sheet);switch(r.bookType||"xlsb"){case"xml":case"xlml":return gf(jl(e,r),r);case"slk":case"sylk":return gf(_o.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"htm":case"html":return gf(fu(e.Sheets[e.SheetNames[a]],r),r);case"txt":return function(e,t){switch(t.type){case"base64":return v(e);case"binary":case"string":return e;case"file":return _e(t.file,e,"binary");case"buffer":return y?w(e,"binary"):e.split("").map(function(e){return e.charCodeAt(0)})}throw new Error("Unrecognized type "+t.type)}(Ef(e.Sheets[e.SheetNames[a]],r),r);case"csv":return gf(Tf(e.Sheets[e.SheetNames[a]],r),r,"\ufeff");case"dif":return gf(No.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"dbf":return mf(Eo.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"prn":return gf(Ro.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"rtf":return gf(oi.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"eth":return gf(Co.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"fods":return gf(xu(e,r),r);case"wk1":return mf(Oo.sheet_to_wk1(e.Sheets[e.SheetNames[a]],r),r);case"wk3":return mf(Oo.book_to_wk3(e,r),r);case"biff2":r.biff||(r.biff=2);case"biff3":r.biff||(r.biff=3);case"biff4":return r.biff||(r.biff=4),mf(ou(e,r),r);case"biff5":r.biff||(r.biff=5);case"biff8":case"xla":case"xls":return r.biff||(r.biff=8),function(e,t){var r=t||{};return df(Gl(e,r),r)}(e,r);case"xlsx":case"xlsm":case"xlam":case"xlsb":case"numbers":case"ods":return function(e,t){var r=Ve(t||{});return pf(af(e,r),r)}(e,r);default:throw new Error("Unrecognized bookType |"+r.bookType+"|")}}function yf(e){if(!e.bookType){var t=e.file.slice(e.file.lastIndexOf(".")).toLowerCase();t.match(/^\.[a-z]+$/)&&(e.bookType=t.slice(1)),e.bookType={xls:"biff8",htm:"html",slk:"sylk",socialcalc:"eth",Sh33tJS:"WTF"}[e.bookType]||e.bookType}}function wf(e,t,r){var n=r||{};return n.type="file",n.file=t,yf(n),bf(e,n)}function Sf(e,t,r,n,a,o,i,s){var c=jr(r),l=s.defval,u=s.raw||!Object.prototype.hasOwnProperty.call(s,"raw"),f=!0,h=1===a?[]:{};if(1!==a)if(Object.defineProperty)try{Object.defineProperty(h,"__rowNum__",{value:r,enumerable:!1})}catch(e){h.__rowNum__=r}else h.__rowNum__=r;if(!i||e[r])for(var d=t.s.c;d<=t.e.c;++d){var p=i?e[r][d]:e[n[d]+c];if(void 0!==p&&void 0!==p.t){var g=p.v;switch(p.t){case"z":if(null==g)break;continue;case"e":g=0==g?null:void 0;break;case"s":case"d":case"b":case"n":break;default:throw new Error("unrecognized type "+p.t)}if(null!=o[d]){if(null==g)if("e"==p.t&&null===g)h[o[d]]=null;else if(void 0!==l)h[o[d]]=l;else{if(!u||null!==g)continue;h[o[d]]=null}else h[o[d]]=u&&("n"!==p.t||"n"===p.t&&!1!==s.rawNumbers)?g:Gr(p,g,s);null!=g&&(f=!1)}}else{if(void 0===l)continue;null!=o[d]&&(h[o[d]]=l)}}return{row:h,isempty:f}}function xf(e,t){if(null==e||null==e["!ref"])return[];var r={t:"n",v:0},n=0,a=1,o=[],i=0,s="",c={s:{r:0,c:0},e:{r:0,c:0}},l=t||{},u=null!=l.range?l.range:e["!ref"];switch(1===l.header?n=1:"A"===l.header?n=2:Array.isArray(l.header)?n=3:null==l.header&&(n=0),typeof u){case"string":c=qr(u);break;case"number":(c=qr(e["!ref"])).s.r=u;break;default:c=u}n>0&&(a=0);var f=jr(c.s.r),h=[],d=[],p=0,g=0,m=Array.isArray(e),v=c.s.r,b=0,y={};m&&!e[v]&&(e[v]=[]);var w=l.skipHidden&&e["!cols"]||[],S=l.skipHidden&&e["!rows"]||[];for(b=c.s.c;b<=c.e.c;++b)if(!(w[b]||{}).hidden)switch(h[b]=Wr(b),r=m?e[v][b]:e[h[b]+f],n){case 1:o[b]=b-c.s.c;break;case 2:o[b]=h[b];break;case 3:o[b]=l.header[b-c.s.c];break;default:if(null==r&&(r={w:"__EMPTY",t:"s"}),s=i=Gr(r,null,l),g=y[i]||0){do{s=i+"_"+g++}while(y[s]);y[i]=g,y[s]=1}else y[i]=1;o[b]=s}for(v=c.s.r+a;v<=c.e.r;++v)if(!(S[v]||{}).hidden){var x=Sf(e,c,v,h,n,o,m,l);(!1===x.isempty||(1===n?!1!==l.blankrows:l.blankrows))&&(d[p++]=x.row)}return d.length=p,d}var kf=/"/g;function Af(e,t,r,n,a,o,i,s){for(var c=!0,l=[],u="",f=jr(r),h=t.s.c;h<=t.e.c;++h)if(n[h]){var d=s.dense?(e[r]||[])[h]:e[n[h]+f];if(null==d)u="";else if(null!=d.v){c=!1,u=""+(s.rawNumbers&&"n"==d.t?d.v:Gr(d,null,s));for(var p=0,g=0;p!==u.length;++p)if((g=u.charCodeAt(p))===a||g===o||34===g||s.forceQuotes){u='"'+u.replace(kf,'""')+'"';break}"ID"==u&&(u='"ID"')}else null==d.f||d.F?u="":(c=!1,(u="="+d.f).indexOf(",")>=0&&(u='"'+u.replace(kf,'""')+'"'));l.push(u)}return!1===s.blankrows&&c?null:l.join(i)}function Tf(e,t){var r=[],n=null==t?{}:t;if(null==e||null==e["!ref"])return"";var a=qr(e["!ref"]),o=void 0!==n.FS?n.FS:",",i=o.charCodeAt(0),s=void 0!==n.RS?n.RS:"\n",c=s.charCodeAt(0),l=new RegExp(("|"==o?"\\|":o)+"+$"),u="",f=[];n.dense=Array.isArray(e);for(var h=n.skipHidden&&e["!cols"]||[],d=n.skipHidden&&e["!rows"]||[],p=a.s.c;p<=a.e.c;++p)(h[p]||{}).hidden||(f[p]=Wr(p));for(var g=0,m=a.s.r;m<=a.e.r;++m)(d[m]||{}).hidden||null!=(u=Af(e,a,m,f,i,c,o,n))&&(n.strip&&(u=u.replace(l,"")),(u||!1!==n.blankrows)&&r.push((g++?s:"")+u));return delete n.dense,r.join("")}function Ef(e,r){r||(r={}),r.FS="\t",r.RS="\n";var n=Tf(e,r);if(void 0===t||"string"==r.type)return n;var a=t.utils.encode(1200,n,"str");return String.fromCharCode(255)+String.fromCharCode(254)+a}function _f(e,t,r){var n,a=r||{},o=+!a.skipHeader,i=e||{},s=0,c=0;if(i&&null!=a.origin)if("number"==typeof a.origin)s=a.origin;else{var l="string"==typeof a.origin?Ur(a.origin):a.origin;s=l.r,c=l.c}var u={s:{c:0,r:0},e:{c:c,r:s+t.length-1+o}};if(i["!ref"]){var f=qr(i["!ref"]);u.e.c=Math.max(u.e.c,f.e.c),u.e.r=Math.max(u.e.r,f.e.r),-1==s&&(s=f.e.r+1,u.e.r=s+t.length-1+o)}else-1==s&&(s=0,u.e.r=t.length-1+o);var h=a.header||[],d=0;t.forEach(function(e,t){Ne(e).forEach(function(r){-1==(d=h.indexOf(r))&&(h[d=h.length]=r);var l=e[r],u="z",f="",p=zr({c:c+d,r:s+t+o});n=Nf(i,p),!l||"object"!=typeof l||l instanceof Date?("number"==typeof l?u="n":"boolean"==typeof l?u="b":"string"==typeof l?u="s":l instanceof Date?(u="d",a.cellDates||(u="n",l=Pe(l)),f=a.dateNF||B[14]):null===l&&a.nullError&&(u="e",l=0),n?(n.t=u,n.v=l,delete n.w,delete n.R,f&&(n.z=f)):i[p]=n={t:u,v:l},f&&(n.z=f)):i[p]=l})}),u.e.c=Math.max(u.e.c,c+h.length-1);var p=jr(s);if(o)for(d=0;d<h.length;++d)i[Wr(d+c)+p]={t:"s",v:h[d]};return i["!ref"]=Vr(u),i}function Nf(e,t,r){if("string"==typeof t){if(Array.isArray(e)){var n=Ur(t);return e[n.r]||(e[n.r]=[]),e[n.r][n.c]||(e[n.r][n.c]={t:"z"})}return e[t]||(e[t]={t:"z"})}return Nf(e,zr("number"!=typeof t?t:{r:t,c:r||0}))}function Cf(){return{SheetNames:[],Sheets:{}}}function Rf(e,t,r,n){var a=1;if(!r)for(;a<=65535&&-1!=e.SheetNames.indexOf(r="Sheet"+a);++a,r=void 0);if(!r||e.SheetNames.length>=65535)throw new Error("Too many worksheets");if(n&&e.SheetNames.indexOf(r)>=0){var o=r.match(/(^.*?)(\d+)$/);a=o&&+o[2]||0;var i=o&&o[1]||r;for(++a;a<=65535&&-1!=e.SheetNames.indexOf(r=i+a);++a);}if(tl(r),e.SheetNames.indexOf(r)>=0)throw new Error("Worksheet with name |"+r+"| already exists!");return e.SheetNames.push(r),e.Sheets[r]=t,r}function Of(e,t,r){return t?(e.l={Target:t},r&&(e.l.Tooltip=r)):delete e.l,e}var Lf,Pf={encode_col:Wr,encode_row:jr,encode_cell:zr,encode_range:Vr,decode_col:Br,decode_row:Mr,split_cell:function(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")},decode_cell:Ur,decode_range:Hr,format_cell:Gr,sheet_add_aoa:Yr,sheet_add_json:_f,sheet_add_dom:hu,aoa_to_sheet:Kr,json_to_sheet:function(e,t){return _f(null,e,t)},table_to_sheet:du,table_to_book:function(e,t){return Xr(du(e,t),t)},sheet_to_csv:Tf,sheet_to_txt:Ef,sheet_to_json:xf,sheet_to_html:fu,sheet_to_formulae:function(e){var t,r="",n="";if(null==e||null==e["!ref"])return[];var a,o=qr(e["!ref"]),i="",s=[],c=[],l=Array.isArray(e);for(a=o.s.c;a<=o.e.c;++a)s[a]=Wr(a);for(var u=o.s.r;u<=o.e.r;++u)for(i=jr(u),a=o.s.c;a<=o.e.c;++a)if(r=s[a]+i,n="",void 0!==(t=l?(e[u]||[])[a]:e[r])){if(null!=t.F){if(r=t.F,!t.f)continue;n=t.f,-1==r.indexOf(":")&&(r=r+":"+r)}if(null!=t.f)n=t.f;else{if("z"==t.t)continue;if("n"==t.t&&null!=t.v)n=""+t.v;else if("b"==t.t)n=t.v?"TRUE":"FALSE";else if(void 0!==t.w)n="'"+t.w;else{if(void 0===t.v)continue;n="s"==t.t?"'"+t.v:""+t.v}}c[c.length]=r+"="+n}return c},sheet_to_row_object_array:xf,sheet_get_cell:Nf,book_new:Cf,book_append_sheet:Rf,book_set_sheet_visibility:function(e,t,r){e.Workbook||(e.Workbook={}),e.Workbook.Sheets||(e.Workbook.Sheets=[]);var n=function(e,t){if("number"==typeof t){if(t>=0&&e.SheetNames.length>t)return t;throw new Error("Cannot find sheet # "+t)}if("string"==typeof t){var r=e.SheetNames.indexOf(t);if(r>-1)return r;throw new Error("Cannot find sheet name |"+t+"|")}throw new Error("Cannot find sheet |"+t+"|")}(e,t);switch(e.Workbook.Sheets[n]||(e.Workbook.Sheets[n]={}),r){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+r)}e.Workbook.Sheets[n].Hidden=r},cell_set_number_format:function(e,t){return e.z=t,e},cell_set_hyperlink:Of,cell_set_internal_link:function(e,t,r){return Of(e,"#"+t,r)},cell_add_comment:function(e,t,r){e.c||(e.c=[]),e.c.push({t:t,a:r||"SheetJS"})},sheet_set_array_formula:function(e,t,r,n){for(var a="string"!=typeof t?t:qr(t),o="string"==typeof t?t:Vr(t),i=a.s.r;i<=a.e.r;++i)for(var s=a.s.c;s<=a.e.c;++s){var c=Nf(e,i,s);c.t="n",c.F=o,delete c.v,i==a.s.r&&s==a.s.c&&(c.f=r,n&&(c.D=!0))}return e},consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};function If(e){Lf=e}var Ff={to_json:function(e,t){var r=Lf({objectMode:!0});if(null==e||null==e["!ref"])return r.push(null),r;var n={t:"n",v:0},a=0,o=1,i=[],s=0,c="",l={s:{r:0,c:0},e:{r:0,c:0}},u=t||{},f=null!=u.range?u.range:e["!ref"];switch(1===u.header?a=1:"A"===u.header?a=2:Array.isArray(u.header)&&(a=3),typeof f){case"string":l=qr(f);break;case"number":(l=qr(e["!ref"])).s.r=f;break;default:l=f}a>0&&(o=0);var h=jr(l.s.r),d=[],p=0,g=Array.isArray(e),m=l.s.r,v=0,b={};g&&!e[m]&&(e[m]=[]);var y=u.skipHidden&&e["!cols"]||[],w=u.skipHidden&&e["!rows"]||[];for(v=l.s.c;v<=l.e.c;++v)if(!(y[v]||{}).hidden)switch(d[v]=Wr(v),n=g?e[m][v]:e[d[v]+h],a){case 1:i[v]=v-l.s.c;break;case 2:i[v]=d[v];break;case 3:i[v]=u.header[v-l.s.c];break;default:if(null==n&&(n={w:"__EMPTY",t:"s"}),c=s=Gr(n,null,u),p=b[s]||0){do{c=s+"_"+p++}while(b[c]);b[s]=p,b[c]=1}else b[s]=1;i[v]=c}return m=l.s.r+o,r._read=function(){for(;m<=l.e.r;)if(!(w[m-1]||{}).hidden){var t=Sf(e,l,m,d,a,i,g,u);if(++m,!1===t.isempty||(1===a?!1!==u.blankrows:u.blankrows))return void r.push(t.row)}return r.push(null)},r},to_html:function(e,t){var r=Lf(),n=t||{},a=null!=n.header?n.header:cu,o=null!=n.footer?n.footer:lu;r.push(a);var i=Hr(e["!ref"]);n.dense=Array.isArray(e),r.push(uu(0,0,n));var s=i.s.r,c=!1;return r._read=function(){if(s>i.e.r)return c||(c=!0,r.push("</table>"+o)),r.push(null);for(;s<=i.e.r;){r.push(su(e,i,s,n)),++s;break}},r},to_csv:function(e,t){var r=Lf(),n=null==t?{}:t;if(null==e||null==e["!ref"])return r.push(null),r;var a=qr(e["!ref"]),o=void 0!==n.FS?n.FS:",",i=o.charCodeAt(0),s=void 0!==n.RS?n.RS:"\n",c=s.charCodeAt(0),l=new RegExp(("|"==o?"\\|":o)+"+$"),u="",f=[];n.dense=Array.isArray(e);for(var h=n.skipHidden&&e["!cols"]||[],d=n.skipHidden&&e["!rows"]||[],p=a.s.c;p<=a.e.c;++p)(h[p]||{}).hidden||(f[p]=Wr(p));var g=a.s.r,m=!1,v=0;return r._read=function(){if(!m)return m=!0,r.push("\ufeff");for(;g<=a.e.r;)if(!(d[++g-1]||{}).hidden&&null!=(u=Af(e,a,g-1,f,i,c,o,n))&&(n.strip&&(u=u.replace(l,"")),u||!1!==n.blankrows))return r.push((v++?s:"")+u);return r.push(null)},r},set_readable:If};if(void 0!==$l&&(e.parse_xlscfb=$l),e.parse_zip=rf,e.read=ff,e.readFile=hf,e.readFileSync=hf,e.write=bf,e.writeFile=wf,e.writeFileSync=wf,e.writeFileAsync=function(e,t,r,n){var a=r||{};a.type="file",a.file=e,yf(a),a.type="buffer";var o=n;return o instanceof Function||(o=r),ke.writeFile(e,bf(t,a),o)},e.utils=Pf,e.writeXLSX=vf,e.writeFileXLSX=function(e,t,r){var n=r||{};return n.type="file",n.file=t,yf(n),vf(e,n)},e.SSF=we,void 0!==Ff&&(e.stream=Ff),void 0!==Te&&(e.CFB=Te),"undefined"!=typeof require){({}).Readable&&If((void 0).Readable)}}if("undefined"!=typeof exports?make_xlsx_lib(exports):"undefined"!=typeof module&&module.exports?make_xlsx_lib(module.exports):"function"==typeof define&&define.amd?define("xlsx",function(){return XLSX.version||make_xlsx_lib(XLSX),XLSX}):make_xlsx_lib(XLSX),"undefined"!=typeof window&&!window.XLSX)try{window.XLSX=XLSX}catch(e){}!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).jQuery)}(this,function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=t(e);function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a(e){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function i(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function s(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var r,n=a(e);if(t){var o=a(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return i(this,r)}}function c(){return(c="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=a(e)););return e}(e,t);if(n){var o=Object.getOwnPropertyDescriptor(n,t);return o.get?o.get.call(arguments.length<3?e:r):o.value}}).apply(this,arguments)}var l="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function u(e,t){return e(t={exports:{}},t.exports),t.exports}var f,h,d=function(e){return e&&e.Math==Math&&e},p=d("object"==typeof globalThis&&globalThis)||d("object"==typeof window&&window)||d("object"==typeof self&&self)||d("object"==typeof l&&l)||function(){return this}()||Function("return this")(),g=function(e){try{return!!e()}catch(e){return!0}},m=!g(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),v=!g(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}),b=Function.prototype.call,y=v?b.bind(b):function(){return b.apply(b,arguments)},w={}.propertyIsEnumerable,S=Object.getOwnPropertyDescriptor,x={f:S&&!w.call({1:2},1)?function(e){var t=S(this,e);return!!t&&t.enumerable}:w},k=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},A=Function.prototype,T=A.bind,E=A.call,_=v&&T.bind(E,E),N=v?function(e){return e&&_(e)}:function(e){return e&&function(){return E.apply(e,arguments)}},C=N({}.toString),R=N("".slice),O=function(e){return R(C(e),8,-1)},L=p.Object,P=N("".split),I=g(function(){return!L("z").propertyIsEnumerable(0)})?function(e){return"String"==O(e)?P(e,""):L(e)}:L,F=p.TypeError,D=function(e){if(null==e)throw F("Can't call method on "+e);return e},M=function(e){return I(D(e))},j=function(e){return"function"==typeof e},B=function(e){return"object"==typeof e?null!==e:j(e)},W=function(e,t){return arguments.length<2?(r=p[e],j(r)?r:void 0):p[e]&&p[e][t];var r},U=N({}.isPrototypeOf),z=W("navigator","userAgent")||"",H=p.process,V=p.Deno,q=H&&H.versions||V&&V.version,$=q&&q.v8;$&&(h=(f=$.split("."))[0]>0&&f[0]<4?1:+(f[0]+f[1])),!h&&z&&(!(f=z.match(/Edge\/(\d+)/))||f[1]>=74)&&(f=z.match(/Chrome\/(\d+)/))&&(h=+f[1]);var G=h,X=!!Object.getOwnPropertySymbols&&!g(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&G&&G<41}),Y=X&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,K=p.Object,J=Y?function(e){return"symbol"==typeof e}:function(e){var t=W("Symbol");return j(t)&&U(t.prototype,K(e))},Z=p.String,Q=p.TypeError,ee=function(e){if(j(e))return e;throw Q(function(e){try{return Z(e)}catch(e){return"Object"}}(e)+" is not a function")},te=p.TypeError,re=Object.defineProperty,ne=function(e,t){try{re(p,e,{value:t,configurable:!0,writable:!0})}catch(r){p[e]=t}return t},ae=p["__core-js_shared__"]||ne("__core-js_shared__",{}),oe=u(function(e){(e.exports=function(e,t){return ae[e]||(ae[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.21.1",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE",source:"https://github.com/zloirock/core-js"})}),ie=p.Object,se=function(e){return ie(D(e))},ce=N({}.hasOwnProperty),le=Object.hasOwn||function(e,t){return ce(se(e),t)},ue=0,fe=Math.random(),he=N(1..toString),de=function(e){return"Symbol("+(void 0===e?"":e)+")_"+he(++ue+fe,36)},pe=oe("wks"),ge=p.Symbol,me=ge&&ge.for,ve=Y?ge:ge&&ge.withoutSetter||de,be=function(e){if(!le(pe,e)||!X&&"string"!=typeof pe[e]){var t="Symbol."+e;X&&le(ge,e)?pe[e]=ge[e]:pe[e]=Y&&me?me(t):ve(t)}return pe[e]},ye=p.TypeError,we=be("toPrimitive"),Se=function(e,t){if(!B(e)||J(e))return e;var r,n,a=null==(r=e[we])?void 0:ee(r);if(a){if(void 0===t&&(t="default"),n=y(a,e,t),!B(n)||J(n))return n;throw ye("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var r,n;if("string"===t&&j(r=e.toString)&&!B(n=y(r,e)))return n;if(j(r=e.valueOf)&&!B(n=y(r,e)))return n;if("string"!==t&&j(r=e.toString)&&!B(n=y(r,e)))return n;throw te("Can't convert object to primitive value")}(e,t)},xe=function(e){var t=Se(e,"string");return J(t)?t:t+""},ke=p.document,Ae=B(ke)&&B(ke.createElement),Te=function(e){return Ae?ke.createElement(e):{}},Ee=!m&&!g(function(){return 7!=Object.defineProperty(Te("div"),"a",{get:function(){return 7}}).a}),_e=Object.getOwnPropertyDescriptor,Ne={f:m?_e:function(e,t){if(e=M(e),t=xe(t),Ee)try{return _e(e,t)}catch(e){}if(le(e,t))return k(!y(x.f,e,t),e[t])}},Ce=m&&g(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}),Re=p.String,Oe=p.TypeError,Le=function(e){if(B(e))return e;throw Oe(Re(e)+" is not an object")},Pe=p.TypeError,Ie=Object.defineProperty,Fe=Object.getOwnPropertyDescriptor,De={f:m?Ce?function(e,t,r){if(Le(e),t=xe(t),Le(r),"function"==typeof e&&"prototype"===t&&"value"in r&&"writable"in r&&!r.writable){var n=Fe(e,t);n&&n.writable&&(e[t]=r.value,r={configurable:"configurable"in r?r.configurable:n.configurable,enumerable:"enumerable"in r?r.enumerable:n.enumerable,writable:!1})}return Ie(e,t,r)}:Ie:function(e,t,r){if(Le(e),t=xe(t),Le(r),Ee)try{return Ie(e,t,r)}catch(e){}if("get"in r||"set"in r)throw Pe("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},Me=m?function(e,t,r){return De.f(e,t,k(1,r))}:function(e,t,r){return e[t]=r,e},je=N(Function.toString);j(ae.inspectSource)||(ae.inspectSource=function(e){return je(e)});var Be,We,Ue,ze=ae.inspectSource,He=p.WeakMap,Ve=j(He)&&/native code/.test(ze(He)),qe=oe("keys"),$e=function(e){return qe[e]||(qe[e]=de(e))},Ge={},Xe=p.TypeError,Ye=p.WeakMap;if(Ve||ae.state){var Ke=ae.state||(ae.state=new Ye),Je=N(Ke.get),Ze=N(Ke.has),Qe=N(Ke.set);Be=function(e,t){if(Ze(Ke,e))throw new Xe("Object already initialized");return t.facade=e,Qe(Ke,e,t),t},We=function(e){return Je(Ke,e)||{}},Ue=function(e){return Ze(Ke,e)}}else{var et=$e("state");Ge[et]=!0,Be=function(e,t){if(le(e,et))throw new Xe("Object already initialized");return t.facade=e,Me(e,et,t),t},We=function(e){return le(e,et)?e[et]:{}},Ue=function(e){return le(e,et)}}var tt={set:Be,get:We,has:Ue,enforce:function(e){return Ue(e)?We(e):Be(e,{})},getterFor:function(e){return function(t){var r;if(!B(t)||(r=We(t)).type!==e)throw Xe("Incompatible receiver, "+e+" required");return r}}},rt=Function.prototype,nt=m&&Object.getOwnPropertyDescriptor,at=le(rt,"name"),ot={EXISTS:at,PROPER:at&&"something"===function(){}.name,CONFIGURABLE:at&&(!m||m&&nt(rt,"name").configurable)},it=u(function(e){var t=ot.CONFIGURABLE,r=tt.get,n=tt.enforce,a=String(String).split("String");(e.exports=function(e,r,o,i){var s,c=!!i&&!!i.unsafe,l=!!i&&!!i.enumerable,u=!!i&&!!i.noTargetGet,f=i&&void 0!==i.name?i.name:r;j(o)&&("Symbol("===String(f).slice(0,7)&&(f="["+String(f).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!le(o,"name")||t&&o.name!==f)&&Me(o,"name",f),(s=n(o)).source||(s.source=a.join("string"==typeof f?f:""))),e!==p?(c?!u&&e[r]&&(l=!0):delete e[r],l?e[r]=o:Me(e,r,o)):l?e[r]=o:ne(r,o)})(Function.prototype,"toString",function(){return j(this)&&r(this).source||ze(this)})}),st=Math.ceil,ct=Math.floor,lt=function(e){var t=+e;return t!=t||0===t?0:(t>0?ct:st)(t)},ut=Math.max,ft=Math.min,ht=Math.min,dt=function(e){return(t=e.length)>0?ht(lt(t),9007199254740991):0;var t},pt=function(e){return function(t,r,n){var a,o=M(t),i=dt(o),s=function(e,t){var r=lt(e);return r<0?ut(r+t,0):ft(r,t)}(n,i);if(e&&r!=r){for(;i>s;)if((a=o[s++])!=a)return!0}else for(;i>s;s++)if((e||s in o)&&o[s]===r)return e||s||0;return!e&&-1}},gt={includes:pt(!0),indexOf:pt(!1)}.indexOf,mt=N([].push),vt=function(e,t){var r,n=M(e),a=0,o=[];for(r in n)!le(Ge,r)&&le(n,r)&&mt(o,r);for(;t.length>a;)le(n,r=t[a++])&&(~gt(o,r)||mt(o,r));return o},bt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],yt=bt.concat("length","prototype"),wt={f:Object.getOwnPropertyNames||function(e){return vt(e,yt)}},St={f:Object.getOwnPropertySymbols},xt=N([].concat),kt=W("Reflect","ownKeys")||function(e){var t=wt.f(Le(e)),r=St.f;return r?xt(t,r(e)):t},At=function(e,t,r){for(var n=kt(t),a=De.f,o=Ne.f,i=0;i<n.length;i++){var s=n[i];le(e,s)||r&&le(r,s)||a(e,s,o(t,s))}},Tt=/#|\.prototype\./,Et=function(e,t){var r=Nt[_t(e)];return r==Rt||r!=Ct&&(j(t)?g(t):!!t)},_t=Et.normalize=function(e){return String(e).replace(Tt,".").toLowerCase()},Nt=Et.data={},Ct=Et.NATIVE="N",Rt=Et.POLYFILL="P",Ot=Et,Lt=Ne.f,Pt=function(e,t){var r,n,a,o,i,s=e.target,c=e.global,l=e.stat;if(r=c?p:l?p[s]||ne(s,{}):(p[s]||{}).prototype)for(n in t){if(o=t[n],a=e.noTargetGet?(i=Lt(r,n))&&i.value:r[n],!Ot(c?n:s+(l?".":"#")+n,e.forced)&&void 0!==a){if(typeof o==typeof a)continue;At(o,a)}(e.sham||a&&a.sham)&&Me(o,"sham",!0),it(r,n,o,e)}},It=Array.isArray||function(e){return"Array"==O(e)},Ft=function(e,t,r){var n=xe(t);n in e?De.f(e,n,k(0,r)):e[n]=r},Dt={};Dt[be("toStringTag")]="z";var Mt="[object z]"===String(Dt),jt=be("toStringTag"),Bt=p.Object,Wt="Arguments"==O(function(){return arguments}()),Ut=Mt?O:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Bt(e),jt))?r:Wt?O(t):"Object"==(n=O(t))&&j(t.callee)?"Arguments":n},zt=function(){},Ht=[],Vt=W("Reflect","construct"),qt=/^\s*(?:class|function)\b/,$t=N(qt.exec),Gt=!qt.exec(zt),Xt=function(e){if(!j(e))return!1;try{return Vt(zt,Ht,e),!0}catch(e){return!1}},Yt=function(e){if(!j(e))return!1;switch(Ut(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Gt||!!$t(qt,ze(e))}catch(e){return!0}};Yt.sham=!0;var Kt,Jt=!Vt||g(function(){var e;return Xt(Xt.call)||!Xt(Object)||!Xt(function(){e=!0})||e})?Yt:Xt,Zt=be("species"),Qt=p.Array,er=function(e,t){return new(function(e){var t;return It(e)&&(t=e.constructor,Jt(t)&&(t===Qt||It(t.prototype))?t=void 0:B(t)&&null===(t=t[Zt])&&(t=void 0)),void 0===t?Qt:t}(e))(0===t?0:t)},tr=be("species"),rr=be("isConcatSpreadable"),nr=p.TypeError,ar=G>=51||!g(function(){var e=[];return e[rr]=!1,e.concat()[0]!==e}),or=(Kt="concat",G>=51||!g(function(){var e=[];return(e.constructor={})[tr]=function(){return{foo:1}},1!==e[Kt](Boolean).foo})),ir=function(e){if(!B(e))return!1;var t=e[rr];return void 0!==t?!!t:It(e)};Pt({target:"Array",proto:!0,forced:!ar||!or},{concat:function(e){var t,r,n,a,o,i=se(this),s=er(i,0),c=0;for(t=-1,n=arguments.length;t<n;t++)if(o=-1===t?i:arguments[t],ir(o)){if(c+(a=dt(o))>9007199254740991)throw nr("Maximum allowed index exceeded");for(r=0;r<a;r++,c++)r in o&&Ft(s,c,o[r])}else{if(c>=9007199254740991)throw nr("Maximum allowed index exceeded");Ft(s,c++,o)}return s.length=c,s}});var sr,cr=N(N.bind),lr=N([].push),ur=function(e){var t=1==e,r=2==e,n=3==e,a=4==e,o=6==e,i=7==e,s=5==e||o;return function(c,l,u,f){for(var h,d,p=se(c),g=I(p),m=function(e,t){return ee(e),void 0===t?e:v?cr(e,t):function(){return e.apply(t,arguments)}}(l,u),b=dt(g),y=0,w=f||er,S=t?w(c,b):r||i?w(c,0):void 0;b>y;y++)if((s||y in g)&&(d=m(h=g[y],y,p),e))if(t)S[y]=d;else if(d)switch(e){case 3:return!0;case 5:return h;case 6:return y;case 2:lr(S,h)}else switch(e){case 4:return!1;case 7:lr(S,h)}return o?-1:n||a?a:S}},fr={forEach:ur(0),map:ur(1),filter:ur(2),some:ur(3),every:ur(4),find:ur(5),findIndex:ur(6),filterReject:ur(7)},hr=Object.keys||function(e){return vt(e,bt)},dr={f:m&&!Ce?Object.defineProperties:function(e,t){Le(e);for(var r,n=M(t),a=hr(t),o=a.length,i=0;o>i;)De.f(e,r=a[i++],n[r]);return e}},pr=W("document","documentElement"),gr=$e("IE_PROTO"),mr=function(){},vr=function(e){return"<script>"+e+"<\/script>"},br=function(e){e.write(vr("")),e.close();var t=e.parentWindow.Object;return e=null,t},yr=function(){try{sr=new ActiveXObject("htmlfile")}catch(e){}var e,t;yr="undefined"!=typeof document?document.domain&&sr?br(sr):((t=Te("iframe")).style.display="none",pr.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(vr("document.F=Object")),e.close(),e.F):br(sr);for(var r=bt.length;r--;)delete yr.prototype[bt[r]];return yr()};Ge[gr]=!0;var wr=Object.create||function(e,t){var r;return null!==e?(mr.prototype=Le(e),r=new mr,mr.prototype=null,r[gr]=e):r=yr(),void 0===t?r:dr.f(r,t)},Sr=be("unscopables"),xr=Array.prototype;null==xr[Sr]&&De.f(xr,Sr,{configurable:!0,value:wr(null)});var kr,Ar=fr.find,Tr=!0;"find"in[]&&Array(1).find(function(){Tr=!1}),Pt({target:"Array",proto:!0,forced:Tr},{find:function(e){return Ar(this,e,arguments.length>1?arguments[1]:void 0)}}),kr="find",xr[Sr][kr]=!0;var Er=Mt?{}.toString:function(){return"[object "+Ut(this)+"]"};Mt||it(Object.prototype,"toString",Er,{unsafe:!0});var _r=r.default.fn.bootstrapTable.utils;r.default.extend(r.default.fn.bootstrapTable.defaults,{stickyHeader:!1,stickyHeaderOffsetY:0,stickyHeaderOffsetLeft:0,stickyHeaderOffsetRight:0}),r.default.BootstrapTable=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&o(e,t)}(f,r["default"].BootstrapTable);var t,i,l,u=s(f);function f(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),u.apply(this,arguments)}return t=f,(i=[{key:"initHeader",value:function(){for(var e,t=this,n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];if((e=c(a(f.prototype),"initHeader",this)).call.apply(e,[this].concat(o)),this.options.stickyHeader){this.$tableBody.find(".sticky-header-container,.sticky_anchor_begin,.sticky_anchor_end").remove(),this.$el.before('<div class="sticky-header-container"></div>'),this.$el.before('<div class="sticky_anchor_begin"></div>'),this.$el.after('<div class="sticky_anchor_end"></div>'),this.$header.addClass("sticky-header"),this.$stickyContainer=this.$tableBody.find(".sticky-header-container"),this.$stickyBegin=this.$tableBody.find(".sticky_anchor_begin"),this.$stickyEnd=this.$tableBody.find(".sticky_anchor_end"),this.$stickyHeader=this.$header.clone(!0,!0);var s=_r.getEventName("resize.sticky-header-table",this.$el.attr("id")),l=_r.getEventName("scroll.sticky-header-table",this.$el.attr("id"));r.default(window).off(s).on(s,function(){return t.renderStickyHeader()}),r.default(window).off(l).on(l,function(){return t.renderStickyHeader()}),this.$tableBody.off("scroll").on("scroll",function(){return t.matchPositionX()})}}},{key:"onColumnSearch",value:function(e){var t=e.currentTarget,r=e.keyCode;c(a(f.prototype),"onColumnSearch",this).call(this,{currentTarget:t,keyCode:r}),this.renderStickyHeader()}},{key:"resetView",value:function(){for(var e,t=this,n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];(e=c(a(f.prototype),"resetView",this)).call.apply(e,[this].concat(o)),r.default(".bootstrap-table.fullscreen").off("scroll").on("scroll",function(){return t.renderStickyHeader()})}},{key:"getCaret",value:function(){for(var e,t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];if((e=c(a(f.prototype),"getCaret",this)).call.apply(e,[this].concat(n)),this.$stickyHeader){var i=this.$stickyHeader.find("th");this.$header.find("th").each(function(e,t){i.eq(e).find(".sortable").attr("class",r.default(t).find(".sortable").attr("class"))})}}},{key:"horizontalScroll",value:function(){var e=this;c(a(f.prototype),"horizontalScroll",this).call(this),this.$tableBody.on("scroll",function(){return e.matchPositionX()})}},{key:"renderStickyHeader",value:function(){var e=this,t=this;this.$stickyHeader=this.$header.clone(!0,!0),this.options.filterControl&&r.default(this.$stickyHeader).off("keyup change mouseup").on("keyup change mouse",function(e){var n=r.default(e.target),a=n.val(),o=n.parents("th").data("field"),i=t.$header.find('th[data-field="'.concat(o,'"]'));if(n.is("input"))i.find("input").val(a);else if(n.is("select")){var s=i.find("select");s.find("option[selected]").removeAttr("selected"),s.find('option[value="'.concat(a,'"]')).attr("selected",!0)}t.triggerSearch()});var n=r.default(window).scrollTop(),a=this.$stickyBegin.offset().top-this.options.stickyHeaderOffsetY,o=this.$stickyEnd.offset().top-this.options.stickyHeaderOffsetY-this.$header.height();if(n>a&&n<=o){this.$stickyHeader.find("tr").each(function(t,n){r.default(n).find("th").each(function(n,a){r.default(a).css("min-width",e.$header.find("tr:eq(".concat(t,")")).find("th:eq(".concat(n,")")).css("width"))})}),this.$stickyContainer.show().addClass("fix-sticky fixed-table-container");var i=this.$tableBody[0].getBoundingClientRect(),s="100%",c=this.options.stickyHeaderOffsetLeft,l=this.options.stickyHeaderOffsetRight;c||(c=i.left),l||(s="".concat(i.width,"px")),this.$el.closest(".bootstrap-table").hasClass("fullscreen")&&(c=0,l=0,s="100%"),this.$stickyContainer.css("top","".concat(this.options.stickyHeaderOffsetY,"px")),this.$stickyContainer.css("left","".concat(c,"px")),this.$stickyContainer.css("right","".concat(l,"px")),this.$stickyContainer.css("width","".concat(s)),this.$stickyTable=r.default("<table/>"),this.$stickyTable.addClass(this.options.classes),this.$stickyContainer.html(this.$stickyTable.append(this.$stickyHeader)),this.matchPositionX()}else this.$stickyContainer.removeClass("fix-sticky").hide()}},{key:"matchPositionX",value:function(){this.$stickyContainer.scrollLeft(this.$tableBody.scrollLeft())}}])&&n(t.prototype,i),l&&n(t,l),Object.defineProperty(t,"prototype",{writable:!1}),f}()}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).jQuery)}(this,function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=t(e);function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a(e){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function i(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function s(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var r,n=a(e);if(t){var o=a(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return i(this,r)}}function c(){return(c="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,r){var n=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=a(e)););return e}(e,t);if(n){var o=Object.getOwnPropertyDescriptor(n,t);return o.get?o.get.call(arguments.length<3?e:r):o.value}}).apply(this,arguments)}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,a,o=[],i=!0,s=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);i=!0);}catch(e){s=!0,a=e}finally{try{i||null==r.return||r.return()}finally{if(s)throw a}}return o}(e,t)||f(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e){return function(e){if(Array.isArray(e))return h(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||f(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){if(e){if("string"==typeof e)return h(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(e,t):void 0}}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var d="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function p(e,t){return e(t={exports:{}},t.exports),t.exports}var g,m,v=function(e){return e&&e.Math==Math&&e},b=v("object"==typeof globalThis&&globalThis)||v("object"==typeof window&&window)||v("object"==typeof self&&self)||v("object"==typeof d&&d)||function(){return this}()||Function("return this")(),y=function(e){try{return!!e()}catch(e){return!0}},w=!y(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}),S=!y(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}),x=Function.prototype.call,k=S?x.bind(x):function(){return x.apply(x,arguments)},A={}.propertyIsEnumerable,T=Object.getOwnPropertyDescriptor,E={f:T&&!A.call({1:2},1)?function(e){var t=T(this,e);return!!t&&t.enumerable}:A},_=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},N=Function.prototype,C=N.bind,R=N.call,O=S&&C.bind(R,R),L=S?function(e){return e&&O(e)}:function(e){return e&&function(){return R.apply(e,arguments)}},P=L({}.toString),I=L("".slice),F=function(e){return I(P(e),8,-1)},D=b.Object,M=L("".split),j=y(function(){return!D("z").propertyIsEnumerable(0)})?function(e){return"String"==F(e)?M(e,""):D(e)}:D,B=b.TypeError,W=function(e){if(null==e)throw B("Can't call method on "+e);return e},U=function(e){return j(W(e))},z=function(e){return"function"==typeof e},H=function(e){return"object"==typeof e?null!==e:z(e)},V=function(e,t){return arguments.length<2?(r=b[e],z(r)?r:void 0):b[e]&&b[e][t];var r},q=L({}.isPrototypeOf),$=V("navigator","userAgent")||"",G=b.process,X=b.Deno,Y=G&&G.versions||X&&X.version,K=Y&&Y.v8;K&&(m=(g=K.split("."))[0]>0&&g[0]<4?1:+(g[0]+g[1])),!m&&$&&(!(g=$.match(/Edge\/(\d+)/))||g[1]>=74)&&(g=$.match(/Chrome\/(\d+)/))&&(m=+g[1]);var J=m,Z=!!Object.getOwnPropertySymbols&&!y(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&J&&J<41}),Q=Z&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ee=b.Object,te=Q?function(e){return"symbol"==typeof e}:function(e){var t=V("Symbol");return z(t)&&q(t.prototype,ee(e))},re=b.String,ne=b.TypeError,ae=function(e){if(z(e))return e;throw ne(function(e){try{return re(e)}catch(e){return"Object"}}(e)+" is not a function")},oe=function(e,t){var r=e[t];return null==r?void 0:ae(r)},ie=b.TypeError,se=Object.defineProperty,ce=function(e,t){try{se(b,e,{value:t,configurable:!0,writable:!0})}catch(r){b[e]=t}return t},le=b["__core-js_shared__"]||ce("__core-js_shared__",{}),ue=p(function(e){(e.exports=function(e,t){return le[e]||(le[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.21.1",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE",source:"https://github.com/zloirock/core-js"})}),fe=b.Object,he=function(e){return fe(W(e))},de=L({}.hasOwnProperty),pe=Object.hasOwn||function(e,t){return de(he(e),t)},ge=0,me=Math.random(),ve=L(1..toString),be=function(e){return"Symbol("+(void 0===e?"":e)+")_"+ve(++ge+me,36)},ye=ue("wks"),we=b.Symbol,Se=we&&we.for,xe=Q?we:we&&we.withoutSetter||be,ke=function(e){if(!pe(ye,e)||!Z&&"string"!=typeof ye[e]){var t="Symbol."+e;Z&&pe(we,e)?ye[e]=we[e]:ye[e]=Q&&Se?Se(t):xe(t)}return ye[e]},Ae=b.TypeError,Te=ke("toPrimitive"),Ee=function(e,t){if(!H(e)||te(e))return e;var r,n=oe(e,Te);if(n){if(void 0===t&&(t="default"),r=k(n,e,t),!H(r)||te(r))return r;throw Ae("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var r,n;if("string"===t&&z(r=e.toString)&&!H(n=k(r,e)))return n;if(z(r=e.valueOf)&&!H(n=k(r,e)))return n;if("string"!==t&&z(r=e.toString)&&!H(n=k(r,e)))return n;throw ie("Can't convert object to primitive value")}(e,t)},_e=function(e){var t=Ee(e,"string");return te(t)?t:t+""},Ne=b.document,Ce=H(Ne)&&H(Ne.createElement),Re=function(e){return Ce?Ne.createElement(e):{}},Oe=!w&&!y(function(){return 7!=Object.defineProperty(Re("div"),"a",{get:function(){return 7}}).a}),Le=Object.getOwnPropertyDescriptor,Pe={f:w?Le:function(e,t){if(e=U(e),t=_e(t),Oe)try{return Le(e,t)}catch(e){}if(pe(e,t))return _(!k(E.f,e,t),e[t])}},Ie=w&&y(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}),Fe=b.String,De=b.TypeError,Me=function(e){if(H(e))return e;throw De(Fe(e)+" is not an object")},je=b.TypeError,Be=Object.defineProperty,We=Object.getOwnPropertyDescriptor,Ue={f:w?Ie?function(e,t,r){if(Me(e),t=_e(t),Me(r),"function"==typeof e&&"prototype"===t&&"value"in r&&"writable"in r&&!r.writable){var n=We(e,t);n&&n.writable&&(e[t]=r.value,r={configurable:"configurable"in r?r.configurable:n.configurable,enumerable:"enumerable"in r?r.enumerable:n.enumerable,writable:!1})}return Be(e,t,r)}:Be:function(e,t,r){if(Me(e),t=_e(t),Me(r),Oe)try{return Be(e,t,r)}catch(e){}if("get"in r||"set"in r)throw je("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},ze=w?function(e,t,r){return Ue.f(e,t,_(1,r))}:function(e,t,r){return e[t]=r,e},He=L(Function.toString);z(le.inspectSource)||(le.inspectSource=function(e){return He(e)});var Ve,qe,$e,Ge=le.inspectSource,Xe=b.WeakMap,Ye=z(Xe)&&/native code/.test(Ge(Xe)),Ke=ue("keys"),Je=function(e){return Ke[e]||(Ke[e]=be(e))},Ze={},Qe=b.TypeError,et=b.WeakMap;if(Ye||le.state){var tt=le.state||(le.state=new et),rt=L(tt.get),nt=L(tt.has),at=L(tt.set);Ve=function(e,t){if(nt(tt,e))throw new Qe("Object already initialized");return t.facade=e,at(tt,e,t),t},qe=function(e){return rt(tt,e)||{}},$e=function(e){return nt(tt,e)}}else{var ot=Je("state");Ze[ot]=!0,Ve=function(e,t){if(pe(e,ot))throw new Qe("Object already initialized");return t.facade=e,ze(e,ot,t),t},qe=function(e){return pe(e,ot)?e[ot]:{}},$e=function(e){return pe(e,ot)}}var it={set:Ve,get:qe,has:$e,enforce:function(e){return $e(e)?qe(e):Ve(e,{})},getterFor:function(e){return function(t){var r;if(!H(t)||(r=qe(t)).type!==e)throw Qe("Incompatible receiver, "+e+" required");return r}}},st=Function.prototype,ct=w&&Object.getOwnPropertyDescriptor,lt=pe(st,"name"),ut={EXISTS:lt,PROPER:lt&&"something"===function(){}.name,CONFIGURABLE:lt&&(!w||w&&ct(st,"name").configurable)},ft=p(function(e){var t=ut.CONFIGURABLE,r=it.get,n=it.enforce,a=String(String).split("String");(e.exports=function(e,r,o,i){var s,c=!!i&&!!i.unsafe,l=!!i&&!!i.enumerable,u=!!i&&!!i.noTargetGet,f=i&&void 0!==i.name?i.name:r;z(o)&&("Symbol("===String(f).slice(0,7)&&(f="["+String(f).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!pe(o,"name")||t&&o.name!==f)&&ze(o,"name",f),(s=n(o)).source||(s.source=a.join("string"==typeof f?f:""))),e!==b?(c?!u&&e[r]&&(l=!0):delete e[r],l?e[r]=o:ze(e,r,o)):l?e[r]=o:ce(r,o)})(Function.prototype,"toString",function(){return z(this)&&r(this).source||Ge(this)})}),ht=Math.ceil,dt=Math.floor,pt=function(e){var t=+e;return t!=t||0===t?0:(t>0?dt:ht)(t)},gt=Math.max,mt=Math.min,vt=Math.min,bt=function(e){return(t=e.length)>0?vt(pt(t),9007199254740991):0;var t},yt=function(e){return function(t,r,n){var a,o=U(t),i=bt(o),s=function(e,t){var r=pt(e);return r<0?gt(r+t,0):mt(r,t)}(n,i);if(e&&r!=r){for(;i>s;)if((a=o[s++])!=a)return!0}else for(;i>s;s++)if((e||s in o)&&o[s]===r)return e||s||0;return!e&&-1}},wt={includes:yt(!0),indexOf:yt(!1)},St=wt.indexOf,xt=L([].push),kt=function(e,t){var r,n=U(e),a=0,o=[];for(r in n)!pe(Ze,r)&&pe(n,r)&&xt(o,r);for(;t.length>a;)pe(n,r=t[a++])&&(~St(o,r)||xt(o,r));return o},At=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Tt=At.concat("length","prototype"),Et={f:Object.getOwnPropertyNames||function(e){return kt(e,Tt)}},_t={f:Object.getOwnPropertySymbols},Nt=L([].concat),Ct=V("Reflect","ownKeys")||function(e){var t=Et.f(Me(e)),r=_t.f;return r?Nt(t,r(e)):t},Rt=function(e,t,r){for(var n=Ct(t),a=Ue.f,o=Pe.f,i=0;i<n.length;i++){var s=n[i];pe(e,s)||r&&pe(r,s)||a(e,s,o(t,s))}},Ot=/#|\.prototype\./,Lt=function(e,t){var r=It[Pt(e)];return r==Dt||r!=Ft&&(z(t)?y(t):!!t)},Pt=Lt.normalize=function(e){return String(e).replace(Ot,".").toLowerCase()},It=Lt.data={},Ft=Lt.NATIVE="N",Dt=Lt.POLYFILL="P",Mt=Lt,jt=Pe.f,Bt=function(e,t){var r,n,a,o,i,s=e.target,c=e.global,l=e.stat;if(r=c?b:l?b[s]||ce(s,{}):(b[s]||{}).prototype)for(n in t){if(o=t[n],a=e.noTargetGet?(i=jt(r,n))&&i.value:r[n],!Mt(c?n:s+(l?".":"#")+n,e.forced)&&void 0!==a){if(typeof o==typeof a)continue;Rt(o,a)}(e.sham||a&&a.sham)&&ze(o,"sham",!0),ft(r,n,o,e)}},Wt={};Wt[ke("toStringTag")]="z";var Ut,zt="[object z]"===String(Wt),Ht=ke("toStringTag"),Vt=b.Object,qt="Arguments"==F(function(){return arguments}()),$t=zt?F:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Vt(e),Ht))?r:qt?F(t):"Object"==(n=F(t))&&z(t.callee)?"Arguments":n},Gt=b.String,Xt=function(e){if("Symbol"===$t(e))throw TypeError("Cannot convert a Symbol value to a string");return Gt(e)},Yt=function(){var e=Me(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},Kt=b.RegExp,Jt=y(function(){var e=Kt("a","y");return e.lastIndex=2,null!=e.exec("abcd")}),Zt=Jt||y(function(){return!Kt("a","y").sticky}),Qt={BROKEN_CARET:Jt||y(function(){var e=Kt("^r","gy");return e.lastIndex=2,null!=e.exec("str")}),MISSED_STICKY:Zt,UNSUPPORTED_Y:Jt},er=Object.keys||function(e){return kt(e,At)},tr={f:w&&!Ie?Object.defineProperties:function(e,t){Me(e);for(var r,n=U(t),a=er(t),o=a.length,i=0;o>i;)Ue.f(e,r=a[i++],n[r]);return e}},rr=V("document","documentElement"),nr=Je("IE_PROTO"),ar=function(){},or=function(e){return"<script>"+e+"<\/script>"},ir=function(e){e.write(or("")),e.close();var t=e.parentWindow.Object;return e=null,t},sr=function(){try{Ut=new ActiveXObject("htmlfile")}catch(e){}var e,t;sr="undefined"!=typeof document?document.domain&&Ut?ir(Ut):((t=Re("iframe")).style.display="none",rr.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(or("document.F=Object")),e.close(),e.F):ir(Ut);for(var r=At.length;r--;)delete sr.prototype[At[r]];return sr()};Ze[nr]=!0;var cr,lr,ur=Object.create||function(e,t){var r;return null!==e?(ar.prototype=Me(e),r=new ar,ar.prototype=null,r[nr]=e):r=sr(),void 0===t?r:tr.f(r,t)},fr=b.RegExp,hr=y(function(){var e=fr(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}),dr=b.RegExp,pr=y(function(){var e=dr("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}),gr=it.get,mr=ue("native-string-replace",String.prototype.replace),vr=RegExp.prototype.exec,br=vr,yr=L("".charAt),wr=L("".indexOf),Sr=L("".replace),xr=L("".slice),kr=(lr=/b*/g,k(vr,cr=/a/,"a"),k(vr,lr,"a"),0!==cr.lastIndex||0!==lr.lastIndex),Ar=Qt.BROKEN_CARET,Tr=void 0!==/()??/.exec("")[1];(kr||Tr||Ar||hr||pr)&&(br=function(e){var t,r,n,a,o,i,s,c=this,l=gr(c),u=Xt(e),f=l.raw;if(f)return f.lastIndex=c.lastIndex,t=k(br,f,u),c.lastIndex=f.lastIndex,t;var h=l.groups,d=Ar&&c.sticky,p=k(Yt,c),g=c.source,m=0,v=u;if(d&&(p=Sr(p,"y",""),-1===wr(p,"g")&&(p+="g"),v=xr(u,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&"\n"!==yr(u,c.lastIndex-1))&&(g="(?: "+g+")",v=" "+v,m++),r=new RegExp("^(?:"+g+")",p)),Tr&&(r=new RegExp("^"+g+"$(?!\\s)",p)),kr&&(n=c.lastIndex),a=k(vr,d?r:c,v),d?a?(a.input=xr(a.input,m),a[0]=xr(a[0],m),a.index=c.lastIndex,c.lastIndex+=a[0].length):c.lastIndex=0:kr&&a&&(c.lastIndex=c.global?a.index+a[0].length:n),Tr&&a&&a.length>1&&k(mr,a[0],r,function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(a[o]=void 0)}),a&&h)for(a.groups=i=ur(null),o=0;o<h.length;o++)i[(s=h[o])[0]]=a[s[1]];return a});var Er=br;Bt({target:"RegExp",proto:!0,forced:/./.exec!==Er},{exec:Er});var _r=ke("species"),Nr=RegExp.prototype,Cr=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t},Rr=b.TypeError;!function(e,t,r,n){var a=ke(e),o=!y(function(){var t={};return t[a]=function(){return 7},7!=""[e](t)}),i=o&&!y(function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[_r]=function(){return r},r.flags="",r[a]=/./[a]),r.exec=function(){return t=!0,null},r[a](""),!t});if(!o||!i||r){var s=L(/./[a]),c=t(a,""[e],function(e,t,r,n,a){var i=L(e),c=t.exec;return c===Er||c===Nr.exec?o&&!a?{done:!0,value:s(t,r,n)}:{done:!0,value:i(r,t,n)}:{done:!1}});ft(String.prototype,e,c[0]),ft(Nr,a,c[1])}n&&ze(Nr[a],"sham",!0)}("search",function(e,t,r){return[function(t){var r=W(this),n=null==t?void 0:oe(t,e);return n?k(n,t,r):new RegExp(t)[e](Xt(r))},function(e){var n=Me(this),a=Xt(e),o=r(t,n,a);if(o.done)return o.value;var i=n.lastIndex;Cr(i,0)||(n.lastIndex=0);var s=function(e,t){var r=e.exec;if(z(r)){var n=k(r,e,t);return null!==n&&Me(n),n}if("RegExp"===F(e))return k(Er,e,t);throw Rr("RegExp#exec called on incompatible receiver")}(n,a);return Cr(n.lastIndex,i)||(n.lastIndex=i),null===s?-1:s.index}]});var Or=Object.assign,Lr=Object.defineProperty,Pr=L([].concat),Ir=!Or||y(function(){if(w&&1!==Or({b:1},Or(Lr({},"a",{enumerable:!0,get:function(){Lr(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol();return e[r]=7,"abcdefghijklmnopqrst".split("").forEach(function(e){t[e]=e}),7!=Or({},e)[r]||"abcdefghijklmnopqrst"!=er(Or({},t)).join("")})?function(e,t){for(var r=he(e),n=arguments.length,a=1,o=_t.f,i=E.f;n>a;)for(var s,c=j(arguments[a++]),l=o?Pr(er(c),o(c)):er(c),u=l.length,f=0;u>f;)s=l[f++],w&&!k(i,c,s)||(r[s]=c[s]);return r}:Or;Bt({target:"Object",stat:!0,forced:Object.assign!==Ir},{assign:Ir});var Fr=function(e,t){var r=[][e];return!!r&&y(function(){r.call(null,t||function(){return 1},1)})},Dr=L([].join),Mr=j!=Object,jr=Fr("join",",");Bt({target:"Array",proto:!0,forced:Mr||!jr},{join:function(e){return Dr(U(this),void 0===e?",":e)}});var Br=L(L.bind),Wr=Array.isArray||function(e){return"Array"==F(e)},Ur=function(){},zr=[],Hr=V("Reflect","construct"),Vr=/^\s*(?:class|function)\b/,qr=L(Vr.exec),$r=!Vr.exec(Ur),Gr=function(e){if(!z(e))return!1;try{return Hr(Ur,zr,e),!0}catch(e){return!1}},Xr=function(e){if(!z(e))return!1;switch($t(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return $r||!!qr(Vr,Ge(e))}catch(e){return!0}};Xr.sham=!0;var Yr=!Hr||y(function(){var e;return Gr(Gr.call)||!Gr(Object)||!Gr(function(){e=!0})||e})?Xr:Gr,Kr=ke("species"),Jr=b.Array,Zr=function(e,t){return new(function(e){var t;return Wr(e)&&(t=e.constructor,Yr(t)&&(t===Jr||Wr(t.prototype))?t=void 0:H(t)&&null===(t=t[Kr])&&(t=void 0)),void 0===t?Jr:t}(e))(0===t?0:t)},Qr=L([].push),en=function(e){var t=1==e,r=2==e,n=3==e,a=4==e,o=6==e,i=7==e,s=5==e||o;return function(c,l,u,f){for(var h,d,p=he(c),g=j(p),m=function(e,t){return ae(e),void 0===t?e:S?Br(e,t):function(){return e.apply(t,arguments)}}(l,u),v=bt(g),b=0,y=f||Zr,w=t?y(c,v):r||i?y(c,0):void 0;v>b;b++)if((s||b in g)&&(d=m(h=g[b],b,p),e))if(t)w[b]=d;else if(d)switch(e){case 3:return!0;case 5:return h;case 6:return b;case 2:Qr(w,h)}else switch(e){case 4:return!1;case 7:Qr(w,h)}return o?-1:n||a?a:w}},tn={forEach:en(0),map:en(1),filter:en(2),some:en(3),every:en(4),find:en(5),findIndex:en(6),filterReject:en(7)},rn=ke("unscopables"),nn=Array.prototype;null==nn[rn]&&Ue.f(nn,rn,{configurable:!0,value:ur(null)});var an=function(e){nn[rn][e]=!0},on=tn.find,sn=!0;"find"in[]&&Array(1).find(function(){sn=!1}),Bt({target:"Array",proto:!0,forced:sn},{find:function(e){return on(this,e,arguments.length>1?arguments[1]:void 0)}}),an("find");var cn=zt?{}.toString:function(){return"[object "+$t(this)+"]"};zt||ft(Object.prototype,"toString",cn,{unsafe:!0});var ln=function(e,t,r){var n=_e(t);n in e?Ue.f(e,n,_(0,r)):e[n]=r},un=ke("species"),fn=function(e){return J>=51||!y(function(){var t=[];return(t.constructor={})[un]=function(){return{foo:1}},1!==t[e](Boolean).foo})},hn=ke("isConcatSpreadable"),dn=b.TypeError,pn=J>=51||!y(function(){var e=[];return e[hn]=!1,e.concat()[0]!==e}),gn=fn("concat"),mn=function(e){if(!H(e))return!1;var t=e[hn];return void 0!==t?!!t:Wr(e)};Bt({target:"Array",proto:!0,forced:!pn||!gn},{concat:function(e){var t,r,n,a,o,i=he(this),s=Zr(i,0),c=0;for(t=-1,n=arguments.length;t<n;t++)if(o=-1===t?i:arguments[t],mn(o)){if(c+(a=bt(o))>9007199254740991)throw dn("Maximum allowed index exceeded");for(r=0;r<a;r++,c++)r in o&&ln(s,c,o[r])}else{if(c>=9007199254740991)throw dn("Maximum allowed index exceeded");ln(s,c++,o)}return s.length=c,s}});var vn=tn.filter;Bt({target:"Array",proto:!0,forced:!fn("filter")},{filter:function(e){return vn(this,e,arguments.length>1?arguments[1]:void 0)}});var bn=L(E.f),yn=L([].push),wn=function(e){return function(t){for(var r,n=U(t),a=er(n),o=a.length,i=0,s=[];o>i;)r=a[i++],w&&!bn(n,r)||yn(s,e?[r,n[r]]:n[r]);return s}},Sn={entries:wn(!0),values:wn(!1)}.entries;Bt({target:"Object",stat:!0},{entries:function(e){return Sn(e)}});var xn=wt.indexOf,kn=L([].indexOf),An=!!kn&&1/kn([1],1,-0)<0,Tn=Fr("indexOf");Bt({target:"Array",proto:!0,forced:An||!Tn},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return An?kn(this,e,t)||0:xn(this,e,t)}});var En=wt.includes;Bt({target:"Array",proto:!0},{includes:function(e){return En(this,e,arguments.length>1?arguments[1]:void 0)}}),an("includes");var _n=ke("match"),Nn=b.TypeError,Cn=function(e){if(function(e){var t;return H(e)&&(void 0!==(t=e[_n])?!!t:"RegExp"==F(e))}(e))throw Nn("The method doesn't accept regular expressions");return e},Rn=ke("match"),On=L("".indexOf);Bt({target:"String",proto:!0,forced:!function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[Rn]=!1,"/./"[e](t)}catch(e){}}return!1}("includes")},{includes:function(e){return!!~On(Xt(W(this)),Xt(Cn(e)),arguments.length>1?arguments[1]:void 0)}});var Ln,Pn="\t\n\v\f\r \u2028\u2029\ufeff",In=L("".replace),Fn="["+Pn+"]",Dn=RegExp("^"+Fn+Fn+"*"),Mn=RegExp(Fn+Fn+"*$"),jn=function(e){return function(t){var r=Xt(W(t));return 1&e&&(r=In(r,Dn,"")),2&e&&(r=In(r,Mn,"")),r}},Bn={start:jn(1),end:jn(2),trim:jn(3)},Wn=ut.PROPER,Un=Bn.trim;Bt({target:"String",proto:!0,forced:(Ln="trim",y(function(){return!!Pn[Ln]()||" "!==" "[Ln]()||Wn&&Pn[Ln].name!==Ln}))},{trim:function(){return Un(this)}});var zn=r.default.fn.bootstrapTable.utils,Hn={bootstrap3:{icons:{advancedSearchIcon:"glyphicon-chevron-down"},classes:{},html:{modal:'\n <div id="avdSearchModal_%s" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true">\n <div class="modal-dialog modal-xs">\n <div class="modal-content">\n <div class="modal-header">\n <button type="button" class="close" data-dismiss="modal" aria-label="Close">\n <span aria-hidden="true">×</span>\n </button>\n <h4 class="modal-title">%s</h4>\n </div>\n <div class="modal-body modal-body-custom">\n <div class="container-fluid" id="avdSearchModalContent_%s"\n style="padding-right: 0px; padding-left: 0px;" >\n </div>\n </div>\n <div class="modal-footer">\n <button type="button" id="btnCloseAvd_%s" class="btn btn-%s">%s</button>\n </div>\n </div>\n </div>\n </div>\n '}},bootstrap4:{icons:{advancedSearchIcon:"fa-chevron-down"},classes:{},html:{modal:'\n <div id="avdSearchModal_%s" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true">\n <div class="modal-dialog modal-xs">\n <div class="modal-content">\n <div class="modal-header">\n <h4 class="modal-title">%s</h4>\n <button type="button" class="close" data-dismiss="modal" aria-label="Close">\n <span aria-hidden="true">×</span>\n </button>\n </div>\n <div class="modal-body modal-body-custom">\n <div class="container-fluid" id="avdSearchModalContent_%s"\n style="padding-right: 0; padding-left: 0;" >\n </div>\n </div>\n <div class="modal-footer">\n <button type="button" id="btnCloseAvd_%s" class="btn btn-%s">%s</button>\n </div>\n </div>\n </div>\n </div>\n '}},bootstrap5:{icons:{advancedSearchIcon:"bi-chevron-down"},classes:{formGroup:"mb-3"},html:{modal:'\n <div id="avdSearchModal_%s" class="modal fade" tabindex="-1" aria-labelledby="mySmallModalLabel" aria-hidden="true">\n <div class="modal-dialog modal-xs">\n <div class="modal-content">\n <div class="modal-header">\n <h5 class="modal-title">%s</h5>\n <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>\n </div>\n <div class="modal-body modal-body-custom">\n <div class="container-fluid" id="avdSearchModalContent_%s"\n style="padding-right: 0; padding-left: 0;" >\n </div>\n </div>\n <div class="modal-footer">\n <button type="button" id="btnCloseAvd_%s" class="btn btn-%s">%s</button>\n </div>\n </div>\n </div>\n </div>\n '}},bulma:{icons:{advancedSearchIcon:"fa-chevron-down"},classes:{},html:{modal:'\n <div class="modal" id="avdSearchModal_%s">\n <div class="modal-background"></div>\n <div class="modal-card">\n <header class="modal-card-head">\n <p class="modal-card-title">%s</p>\n <button class="delete" aria-label="close"></button>\n </header>\n <section class="modal-card-body" id="avdSearchModalContent_%s"></section>\n <footer class="modal-card-foot">\n <button class="button" id="btnCloseAvd_%s" data-close="btn btn-%s">%s</button>\n </footer>\n </div>\n </div>\n '}},foundation:{icons:{advancedSearchIcon:"fa-chevron-down"},classes:{},html:{modal:'\n <div class="reveal" id="avdSearchModal_%s" data-reveal>\n <h1>%s</h1>\n <div id="avdSearchModalContent_%s">\n\n </div>\n <button class="close-button" data-close aria-label="Close modal" type="button">\n <span aria-hidden="true">×</span>\n </button>\n\n <button id="btnCloseAvd_%s" class="%s" type="button">%s</button>\n </div>\n '}},materialize:{icons:{advancedSearchIcon:"expand_more"},classes:{},html:{modal:'\n <div id="avdSearchModal_%s" class="modal">\n <div class="modal-content">\n <h4>%s</h4>\n <div id="avdSearchModalContent_%s">\n\n </div>\n </div>\n <div class="modal-footer">\n <a href="javascript:void(0)"" id="btnCloseAvd_%s" class="modal-close waves-effect waves-green btn-flat %s">%s</a>\n </div>\n </div>\n '}},semantic:{icons:{advancedSearchIcon:"fa-chevron-down"},classes:{},html:{modal:'\n <div class="ui modal" id="avdSearchModal_%s">\n <i class="close icon"></i>\n <div class="header">\n %s\n </div>\n <div class="image content ui form" id="avdSearchModalContent_%s"></div>\n <div class="actions">\n <div id="btnCloseAvd_%s" class="ui black deny button %s">%s</div>\n </div>\n </div>\n '}}}[r.default.fn.bootstrapTable.theme];r.default.extend(r.default.fn.bootstrapTable.defaults,{advancedSearch:!1,idForm:"advancedSearch",actionForm:"",idTable:void 0,onColumnAdvancedSearch:function(e,t){return!1}}),r.default.extend(r.default.fn.bootstrapTable.defaults.icons,{advancedSearchIcon:Hn.icons.advancedSearchIcon}),r.default.extend(r.default.fn.bootstrapTable.Constructor.EVENTS,{"column-advanced-search.bs.table":"onColumnAdvancedSearch"}),r.default.extend(r.default.fn.bootstrapTable.locales,{formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"}}),r.default.extend(r.default.fn.bootstrapTable.defaults,r.default.fn.bootstrapTable.locales),r.default.BootstrapTable=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&o(e,t)}(p,r["default"].BootstrapTable);var t,i,h,d=s(p);function p(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),d.apply(this,arguments)}return t=p,(i=[{key:"initToolbar",value:function(){var e=this.options;this.showToolbar=this.showToolbar||e.search&&e.advancedSearch&&e.idTable,e.search&&e.advancedSearch&&e.idTable&&(this.buttons=Object.assign(this.buttons,{advancedSearch:{text:this.options.formatAdvancedSearch(),icon:this.options.icons.advancedSearchIcon,event:this.showAvdSearch,attributes:{"aria-label":this.options.formatAdvancedSearch(),title:this.options.formatAdvancedSearch()}}})),c(a(p.prototype),"initToolbar",this).call(this)}},{key:"showAvdSearch",value:function(){var e=this,t=this.options,n="#avdSearchModal_".concat(t.idTable);if(r.default(n).length<=0){r.default("body").append(zn.sprintf(Hn.html.modal,t.idTable,t.formatAdvancedSearch(),t.idTable,t.idTable,t.buttonsClass,t.formatAdvancedCloseButton()));var a=0;r.default("#avdSearchModalContent_".concat(t.idTable)).append(this.createFormAvd().join("")),r.default("#".concat(t.idForm)).off("keyup blur","input").on("keyup blur","input",function(r){"server"===t.sidePagination?e.onColumnAdvancedSearch(r):(clearTimeout(a),a=setTimeout(function(){e.onColumnAdvancedSearch(r)},t.searchTimeOut))}),r.default("#btnCloseAvd_".concat(t.idTable)).click(function(){return e.hideModal()}),"bulma"===r.default.fn.bootstrapTable.theme&&r.default(n).find(".delete").off("click").on("click",function(){return e.hideModal()}),this.showModal()}else this.showModal()}},{key:"showModal",value:function(){var e="#avdSearchModal_".concat(this.options.idTable);-1!==r.default.inArray(r.default.fn.bootstrapTable.theme,["bootstrap3","bootstrap4"])?r.default(e).modal():"bootstrap5"===r.default.fn.bootstrapTable.theme?(this.toolbarModal||(this.toolbarModal=new bootstrap.Modal(document.getElementById("avdSearchModal_".concat(this.options.idTable)),{})),this.toolbarModal.show()):"bulma"===r.default.fn.bootstrapTable.theme?r.default(e).toggleClass("is-active"):"foundation"===r.default.fn.bootstrapTable.theme?(this.toolbarModal||(this.toolbarModal=new Foundation.Reveal(r.default(e))),this.toolbarModal.open()):"materialize"===r.default.fn.bootstrapTable.theme?(r.default(e).modal(),r.default(e).modal("open")):"semantic"===r.default.fn.bootstrapTable.theme&&r.default(e).modal("show")}},{key:"hideModal",value:function(){var e=r.default("#avdSearchModal_".concat(this.options.idTable)),t="#avdSearchModal_".concat(this.options.idTable);-1!==r.default.inArray(r.default.fn.bootstrapTable.theme,["bootstrap3","bootstrap4"])?e.modal("hide"):"bootstrap5"===r.default.fn.bootstrapTable.theme?this.toolbarModal.hide():"bulma"===r.default.fn.bootstrapTable.theme?(r.default("html").toggleClass("is-clipped"),r.default(t).toggleClass("is-active")):"foundation"===r.default.fn.bootstrapTable.theme?this.toolbarModal.close():"materialize"===r.default.fn.bootstrapTable.theme?r.default(t).modal("open"):"semantic"===r.default.fn.bootstrapTable.theme&&r.default(t).modal("close"),"server"===this.options.sidePagination&&(this.options.pageNumber=1,this.updatePagination(),this.trigger("column-advanced-search",this.filterColumnsPartial))}},{key:"createFormAvd",value:function(){var e,t=this.options,r=['<form class="form-horizontal" id="'.concat(t.idForm,'" action="').concat(t.actionForm,'">')],n=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=f(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){s=!0,o=e},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw o}}}}(this.columns);try{for(n.s();!(e=n.n()).done;){var a=e.value;!a.checkbox&&a.visible&&a.searchable&&r.push('\n <div class="form-group row '.concat(Hn.classes.formGroup||"",'">\n <label class="col-sm-4 control-label">').concat(a.title,'</label>\n <div class="col-sm-6">\n <input type="text" class="form-control ').concat(this.constants.classes.input,'" name="').concat(a.field,'" placeholder="').concat(a.title,'" id="').concat(a.field,'">\n </div>\n </div>\n '))}}catch(e){n.e(e)}finally{n.f()}return r.push("</form>"),r}},{key:"initSearch",value:function(){var e=this;if(c(a(p.prototype),"initSearch",this).call(this),this.options.advancedSearch&&"server"!==this.options.sidePagination){var t=r.default.isEmptyObject(this.filterColumnsPartial)?null:this.filterColumnsPartial;this.data=t?this.data.filter(function(r,n){for(var a=0,o=Object.entries(t);a<o.length;a++){var i=l(o[a],2),s=i[0],c=i[1].toLowerCase(),u=r[s],f=e.header.fields.indexOf(s);if(u=zn.calculateObjectValue(e.header,e.header.formatters[f],[u,r,n],u),-1===f||"string"!=typeof u&&"number"!=typeof u||!"".concat(u).toLowerCase().includes(c))return!1}return!0}):this.data,this.unsortedData=u(this.data)}}},{key:"onColumnAdvancedSearch",value:function(e){var t=r.default(e.currentTarget).val().trim(),n=r.default(e.currentTarget)[0].id;r.default.isEmptyObject(this.filterColumnsPartial)&&(this.filterColumnsPartial={}),t?this.filterColumnsPartial[n]=t:delete this.filterColumnsPartial[n],"server"!==this.options.sidePagination&&(this.options.pageNumber=1,this.initSearch(),this.updatePagination(),this.trigger("column-advanced-search",n,t))}}])&&n(t.prototype,i),h&&n(t,h),Object.defineProperty(t,"prototype",{writable:!1}),p}()});diff --git a/public/mix-manifest.json b/public/mix-manifest.jsonindex 2daf900f05..08ccefe686 100644--- a/public/mix-manifest.json+++ b/public/mix-manifest.json@@ -18,14 +18,14 @@"/css/dist/skins/skin-blue-dark.css": "/css/dist/skins/skin-blue-dark.css?id=0409748eb4bb77fe171a","/css/dist/skins/skin-orange-dark.css": "/css/dist/skins/skin-orange-dark.css?id=7abb3dcd41ad0d4700b7","/css/dist/skins/skin-orange.css": "/css/dist/skins/skin-orange.css?id=96477616f4a4b4ff1db8",- "/css/dist/all.css": "/css/dist/all.css?id=19b5eace0db8c1559925",+ "/css/dist/all.css": "/css/dist/all.css?id=d293479d8c404f0f8b0f","/css/blue.png": "/css/blue.png?id=e83a6c29e04fe851f212","/css/[email protected]": "/css/[email protected]?id=51135dd4d24f88f5de0b","/css/dist/signature-pad.css": "/css/dist/signature-pad.css?id=6a89d3cd901305e66ced","/css/dist/signature-pad.min.css": "/css/dist/signature-pad.min.css?id=6a89d3cd901305e66ced",- "/css/dist/bootstrap-table.css": "/css/dist/bootstrap-table.css?id=93c24b4c89490bbfd73e",+ "/css/dist/bootstrap-table.css": "/css/dist/bootstrap-table.css?id=e45be9555cc66bf80749","/js/build/vendor.js": "/js/build/vendor.js?id=b93877b4a88a76e1b18b",- "/js/dist/bootstrap-table.js": "/js/dist/bootstrap-table.js?id=75760107ce879b26f156",+ "/js/dist/bootstrap-table.js": "/js/dist/bootstrap-table.js?id=1abc4b83dde9d862bac7","/js/dist/all.js": "/js/dist/all.js?id=1b9488168279292af5c4","/css/dist/skins/skin-green.min.css": "/css/dist/skins/skin-green.min.css?id=1f137fd2dcbac676d291","/css/dist/skins/skin-green-dark.min.css": "/css/dist/skins/skin-green-dark.min.css?id=af88a4cc8e58dc298963",diff --git a/webpack.mix.js b/webpack.mix.jsindex f486da1eab..4db59f6568 100644--- a/webpack.mix.js+++ b/webpack.mix.js@@ -124,11 +124,10 @@ mix'./node_modules/bootstrap-table/dist/extensions/export/bootstrap-table-export.js','./node_modules/bootstrap-table/dist/extensions/cookie/bootstrap-table-cookie.js','./resources/assets/js/extensions/jquery.base64.js',- './node_modules/tableexport.jquery.plugin/tableExport.js',- './node_modules/tableexport.jquery.plugin/libs/jsPDF/jspdf.min.js',+ './node_modules/tableexport.jquery.plugin/tableExport.min.js',+ './node_modules/tableexport.jquery.plugin/libs/jsPDF/jspdf.umd.min.js','./resources/assets/js/FileSaver.min.js','./node_modules/xlsx/dist/xlsx.core.min.js',- './node_modules/tableexport.jquery.plugin/libs/jsPDF-AutoTable/jspdf.plugin.autotable.js','./node_modules/bootstrap-table/dist/extensions/sticky-header/bootstrap-table-sticky-header.js','./node_modules/bootstrap-table/dist/extensions/toolbar/bootstrap-table-toolbar.js'],