@applitools/eyes-browser 1.5.13 → 1.5.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/dist/index.js +559 -518
  3. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -80474,14 +80474,13 @@ var require_processPagePollCjs = __commonJS({
80474
80474
  hl.get(e4) || hl.set(e4, /* @__PURE__ */ new Set()), hl.get(e4).add(t3);
80475
80475
  });
80476
80476
  });
80477
- const gl = (...e3) => {
80478
- }, bl = { CSSPropertyRule: { atrule: "property", prelude: "name" }, 2: { atrule: "charset", prelude: "charset" }, CSSImportRule: { atrule: "import", prelude: "import" }, CSSNamespaceRule: { atrule: "namespace", prelude: "namespace" }, CSSStyleRule: { prelude: "selector", block: "style" }, CSSKeyframeRule: { prelude: "key", block: "style" }, CSSPageRule: { atrule: "page", prelude: "selector", block: "style" }, CSSFontFaceRule: { atrule: "font-face", block: "style" }, CSSMediaRule: { atrule: "media", prelude: "condition", block: "nested" }, CSSSupportsRule: { atrule: "supports", prelude: "condition", block: "nested" }, 13: { atrule: "document", prelude: "condition", block: "nested" }, CSSKeyframesRule: { atrule: "keyframes", prelude: "name", block: "nested" }, CSSContainerRule: { atrule: "container", prelude: "condition", block: "nested" }, CSSLayerStatementRule: { atrule: "layer", prelude: "nameList" }, CSSLayerBlockRule: { atrule: "layer", prelude: "name", block: "nested" } };
80479
- function yl(e3, t3 = gl) {
80477
+ const gl = { CSSPropertyRule: { atrule: "property", prelude: "name" }, 2: { atrule: "charset", prelude: "charset" }, CSSImportRule: { atrule: "import", prelude: "import" }, CSSNamespaceRule: { atrule: "namespace", prelude: "namespace" }, CSSStyleRule: { prelude: "selector", block: "style" }, CSSKeyframeRule: { prelude: "key", block: "style" }, CSSPageRule: { atrule: "page", prelude: "selector", block: "style" }, CSSFontFaceRule: { atrule: "font-face", block: "style" }, CSSMediaRule: { atrule: "media", prelude: "condition", block: "nested" }, CSSSupportsRule: { atrule: "supports", prelude: "condition", block: "nested" }, 13: { atrule: "document", prelude: "condition", block: "nested" }, CSSKeyframesRule: { atrule: "keyframes", prelude: "name", block: "nested" }, CSSContainerRule: { atrule: "container", prelude: "condition", block: "nested" }, CSSLayerStatementRule: { atrule: "layer", prelude: "nameList" }, CSSLayerBlockRule: { atrule: "layer", prelude: "name", block: "nested" } };
80478
+ function bl(e3, t3) {
80480
80479
  return Array.from(e3, (e4) => {
80481
80480
  var n3, r3, o3;
80482
- const i3 = null !== (n3 = bl[e4.type]) && void 0 !== n3 ? n3 : bl[e4.constructor.name];
80481
+ const i3 = null !== (n3 = gl[e4.type]) && void 0 !== n3 ? n3 : gl[e4.constructor.name];
80483
80482
  if (!i3)
80484
- return t3(`createAstFromCssom | Unknown CSS object model rule ${e4.constructor.name} ${null === (r3 = e4.cssText) || void 0 === r3 ? void 0 : r3.substring(0, 150)}`), { type: "Raw", value: e4.cssText || "" };
80483
+ return t3.error(`createAstFromCssom | Unknown CSS object model rule ${e4.constructor.name} ${null === (r3 = e4.cssText) || void 0 === r3 ? void 0 : r3.substring(0, 150)}`), { type: "Raw", value: e4.cssText || "" };
80485
80484
  const a3 = {};
80486
80485
  if (i3.atrule) {
80487
80486
  a3.type = "Atrule";
@@ -80495,11 +80494,11 @@ var require_processPagePollCjs = __commonJS({
80495
80494
  a3.prelude = ol(Ys(s3, e5));
80496
80495
  } else
80497
80496
  a3.prelude = null;
80498
- return "nested" === i3.block || (null === (o3 = e4.cssRules) || void 0 === o3 ? void 0 : o3.length) > 0 ? a3.block = { type: "Block", children: yl(e4.cssRules, t3) } : "style" === i3.block ? a3.block = { type: "Block", children: ml(e4.style) } : a3.block = null, a3;
80497
+ return "nested" === i3.block || (null === (o3 = e4.cssRules) || void 0 === o3 ? void 0 : o3.length) > 0 ? a3.block = { type: "Block", children: bl(e4.cssRules, t3) } : "style" === i3.block ? a3.block = { type: "Block", children: ml(e4.style) } : a3.block = null, a3;
80499
80498
  });
80500
80499
  }
80501
- const kl = /* @__PURE__ */ new Set(["before", "after", "first-line", "first-letter"]), wl = { "word-wrap": "overflow-wrap", clip: "clip-path" };
80502
- function vl(e3, t3) {
80500
+ const yl = /* @__PURE__ */ new Set(["before", "after", "first-line", "first-letter"]), kl = { "word-wrap": "overflow-wrap", clip: "clip-path" };
80501
+ function wl(e3, t3) {
80503
80502
  let n3 = 0;
80504
80503
  const r3 = [];
80505
80504
  return e3.forEach((e4) => {
@@ -80512,11 +80511,11 @@ var require_processPagePollCjs = __commonJS({
80512
80511
  return r4;
80513
80512
  return -1;
80514
80513
  }(e5, t4, (e6) => {
80515
- return e6.type === n4.type && e6.name === n4.name && (o4 = e6.prelude, i4 = n4.prelude, !o4 && !i4 || o4.type === i4.type && _l(o4.children, i4.children)) && (!Sl(n4) || (t5 = e6.block.children, (r4 = n4.block.children).reduce((e7, n5) => {
80514
+ return e6.type === n4.type && e6.name === n4.name && (o4 = e6.prelude, i4 = n4.prelude, !o4 && !i4 || o4.type === i4.type && xl(o4.children, i4.children)) && (!_l(n4) || (t5 = e6.block.children, (r4 = n4.block.children).reduce((e7, n5) => {
80516
80515
  const r5 = "Declaration" === n5.type && (function(e8) {
80517
80516
  return /^(-\w+-)/.test(e8);
80518
80517
  }(n5.property) || t5.some((e8) => function(e9, t6) {
80519
- const n6 = wl[e9] || e9, r6 = wl[t6] || t6;
80518
+ const n6 = kl[e9] || e9, r6 = kl[t6] || t6;
80520
80519
  return n6 === r6 || pl(r6, n6) || pl(n6, r6);
80521
80520
  }(e8.property, n5.property)));
80522
80521
  return e7 + (r5 ? 1 : 0);
@@ -80524,12 +80523,12 @@ var require_processPagePollCjs = __commonJS({
80524
80523
  var t5, r4, o4, i4;
80525
80524
  });
80526
80525
  }(t3, n3, e4);
80527
- i3 > n3 && Cl(t3, n3, i3, (e5) => r3.push(e5)), i3 >= 0 && (n3 = i3 + 1, function(e5) {
80526
+ i3 > n3 && Sl(t3, n3, i3, (e5) => r3.push(e5)), i3 >= 0 && (n3 = i3 + 1, function(e5) {
80528
80527
  return "Atrule" === e5.type && /^(-\w+-)?(media|supports|document|keyframes)$/.test(e5.name);
80529
- }(e4) ? o3.block = { type: "Block", children: vl(e4.block.children, t3[i3].block.children) } : Sl(e4) && (o3.block = { type: "Block", children: xl(e4.block.children, t3[i3].block.children) })), r3.push(o3);
80530
- }, []), n3 < t3.length && Cl(t3, n3, t3.length, (e4) => r3.push(e4)), r3;
80528
+ }(e4) ? o3.block = { type: "Block", children: wl(e4.block.children, t3[i3].block.children) } : _l(e4) && (o3.block = { type: "Block", children: vl(e4.block.children, t3[i3].block.children) })), r3.push(o3);
80529
+ }, []), n3 < t3.length && Sl(t3, n3, t3.length, (e4) => r3.push(e4)), r3;
80531
80530
  }
80532
- function xl(e3, t3) {
80531
+ function vl(e3, t3) {
80533
80532
  let n3 = [];
80534
80533
  return e3.forEach((e4) => {
80535
80534
  "Declaration" === e4.type && n3.push(e4);
@@ -80555,26 +80554,26 @@ var require_processPagePollCjs = __commonJS({
80555
80554
  var o3;
80556
80555
  }), n3;
80557
80556
  }
80558
- function _l(e3, t3) {
80557
+ function xl(e3, t3) {
80559
80558
  return !Array.isArray(e3) && !Array.isArray(t3) || Array.isArray(e3) && Array.isArray(t3) && e3.length === t3.length && e3.every((e4, n3) => {
80560
80559
  const r3 = t3[n3];
80561
- return e4.type === r3.type && ((a3 = e4.name) === (s3 = r3.name) || a3 && s3 && a3.name && a3.name === s3.name) && ((o3 = e4.value) === (i3 = r3.value) || o3.type === i3.type && o3.value === i3.value) && _l(e4.children, r3.children);
80560
+ return e4.type === r3.type && ((a3 = e4.name) === (s3 = r3.name) || a3 && s3 && a3.name && a3.name === s3.name) && ((o3 = e4.value) === (i3 = r3.value) || o3.type === i3.type && o3.value === i3.value) && xl(e4.children, r3.children);
80562
80561
  var o3, i3, a3, s3;
80563
80562
  });
80564
80563
  }
80565
- function Sl(e3) {
80564
+ function _l(e3) {
80566
80565
  return "Rule" === e3.type || /^(-\w+-)?(page|font-face)$/.test(e3.name);
80567
80566
  }
80568
- function Cl(e3, t3, n3, r3) {
80567
+ function Sl(e3, t3, n3, r3) {
80569
80568
  for (let o3 = t3; o3 < n3; ++o3)
80570
80569
  r3(e3[o3], o3, e3);
80571
80570
  }
80572
- function zl(e3) {
80571
+ function Cl(e3) {
80573
80572
  const t3 = Array.from(e3.attributes).map((t4) => "id" === t4.name ? `#${t4.value}` : "class" === t4.name ? Array.from(e3.classList).map((e4) => `.${e4}`).join("") : `[${t4.name}="${t4.value}"]`).join("");
80574
80573
  return `${e3.nodeName}${t3}`;
80575
80574
  }
80576
- function Al(e3, t3 = gl) {
80577
- t3("[processInlineCss] processing inline css for", zl(e3));
80575
+ function zl(e3, t3) {
80576
+ t3.log("[processInlineCss] processing inline css for", Cl(e3));
80578
80577
  try {
80579
80578
  const n3 = function(e4) {
80580
80579
  const t4 = Ys(e4, { context: "stylesheet", parseAtrulePrelude: true, parseRulePrelude: true, parseValue: false, parseCustomProperty: false });
@@ -80586,7 +80585,7 @@ var require_processPagePollCjs = __commonJS({
80586
80585
  "String" === r4.type && (t5[n4] = { type: "Url", value: r4.value }, e5.children.fromArray(t5));
80587
80586
  }
80588
80587
  } }), el(t4, { visit: "PseudoClassSelector", enter(e5) {
80589
- kl.has(e5.name) && (e5.type = "PseudoElementSelector");
80588
+ yl.has(e5.name) && (e5.type = "PseudoElementSelector");
80590
80589
  } }), el(t4, { visit: "Selector", enter(e5) {
80591
80590
  const t5 = e5.children.toArray();
80592
80591
  if (t5.length > 1) {
@@ -80600,54 +80599,54 @@ var require_processPagePollCjs = __commonJS({
80600
80599
  e5.value && "Identifier" === e5.value.type && (e5.value = { type: "String", value: e5.value.name });
80601
80600
  } }), ol(t4);
80602
80601
  }(e3.textContent);
80603
- t3("[processInlineCss] created AST for textContent");
80604
- const r3 = yl(e3.sheet.cssRules, t3);
80605
- t3("[processInlineCss] created AST for CSSOM");
80606
- const o3 = vl(n3.children, r3);
80607
- t3("[processInlineCss] merged AST");
80602
+ t3.log("[processInlineCss] created AST for textContent");
80603
+ const r3 = bl(e3.sheet.cssRules, t3);
80604
+ t3.log("[processInlineCss] created AST for CSSOM");
80605
+ const o3 = wl(n3.children, r3);
80606
+ t3.log("[processInlineCss] merged AST");
80608
80607
  const i3 = Xs(il({ type: "StyleSheet", children: o3 }));
80609
- return t3("[processInlineCss] generated cssText of length", i3.length), i3;
80608
+ return t3.log("[processInlineCss] generated cssText of length", i3.length), i3;
80610
80609
  } catch (n3) {
80611
- return t3("[processInlineCss] error while processing inline css:", n3.message, n3), t3("[processInlineCss] try to set fallback"), "string" == typeof e3.textContent && e3.textContent.length > 0 ? (t3("[processInlineCss] set style from `styleNode.textContent`"), e3.textContent) : e3.sheet && e3.sheet.cssRules ? (t3("[processInlineCss] set style from reduce `sheet.cssRules`"), Array.from(e3.sheet.cssRules).reduce((e4, { cssText: t4 }) => e4 + t4, "")) : (t3("[processInlineCss] could not set fallback to inline css"), "");
80610
+ return t3.log("[processInlineCss] error while processing inline css:", n3.message, n3), t3.log("[processInlineCss] try to set fallback"), "string" == typeof e3.textContent && e3.textContent.length > 0 ? (t3.log("[processInlineCss] set style from `styleNode.textContent`"), e3.textContent) : e3.sheet && e3.sheet.cssRules ? (t3.log("[processInlineCss] set style from reduce `sheet.cssRules`"), Array.from(e3.sheet.cssRules).reduce((e4, { cssText: t4 }) => e4 + t4, "")) : (t3.log("[processInlineCss] could not set fallback to inline css"), "");
80612
80611
  }
80613
80612
  }
80614
- function Tl(e3, t3) {
80613
+ function Al(e3, t3) {
80615
80614
  let n3 = e3[0], r3 = e3[1], o3 = e3[2], i3 = e3[3];
80616
- n3 = Ll(n3, r3, o3, i3, t3[0], 7, -680876936), i3 = Ll(i3, n3, r3, o3, t3[1], 12, -389564586), o3 = Ll(o3, i3, n3, r3, t3[2], 17, 606105819), r3 = Ll(r3, o3, i3, n3, t3[3], 22, -1044525330), n3 = Ll(n3, r3, o3, i3, t3[4], 7, -176418897), i3 = Ll(i3, n3, r3, o3, t3[5], 12, 1200080426), o3 = Ll(o3, i3, n3, r3, t3[6], 17, -1473231341), r3 = Ll(r3, o3, i3, n3, t3[7], 22, -45705983), n3 = Ll(n3, r3, o3, i3, t3[8], 7, 1770035416), i3 = Ll(i3, n3, r3, o3, t3[9], 12, -1958414417), o3 = Ll(o3, i3, n3, r3, t3[10], 17, -42063), r3 = Ll(r3, o3, i3, n3, t3[11], 22, -1990404162), n3 = Ll(n3, r3, o3, i3, t3[12], 7, 1804603682), i3 = Ll(i3, n3, r3, o3, t3[13], 12, -40341101), o3 = Ll(o3, i3, n3, r3, t3[14], 17, -1502002290), r3 = Ll(r3, o3, i3, n3, t3[15], 22, 1236535329), n3 = El(n3, r3, o3, i3, t3[1], 5, -165796510), i3 = El(i3, n3, r3, o3, t3[6], 9, -1069501632), o3 = El(o3, i3, n3, r3, t3[11], 14, 643717713), r3 = El(r3, o3, i3, n3, t3[0], 20, -373897302), n3 = El(n3, r3, o3, i3, t3[5], 5, -701558691), i3 = El(i3, n3, r3, o3, t3[10], 9, 38016083), o3 = El(o3, i3, n3, r3, t3[15], 14, -660478335), r3 = El(r3, o3, i3, n3, t3[4], 20, -405537848), n3 = El(n3, r3, o3, i3, t3[9], 5, 568446438), i3 = El(i3, n3, r3, o3, t3[14], 9, -1019803690), o3 = El(o3, i3, n3, r3, t3[3], 14, -187363961), r3 = El(r3, o3, i3, n3, t3[8], 20, 1163531501), n3 = El(n3, r3, o3, i3, t3[13], 5, -1444681467), i3 = El(i3, n3, r3, o3, t3[2], 9, -51403784), o3 = El(o3, i3, n3, r3, t3[7], 14, 1735328473), r3 = El(r3, o3, i3, n3, t3[12], 20, -1926607734), n3 = Rl(n3, r3, o3, i3, t3[5], 4, -378558), i3 = Rl(i3, n3, r3, o3, t3[8], 11, -2022574463), o3 = Rl(o3, i3, n3, r3, t3[11], 16, 1839030562), r3 = Rl(r3, o3, i3, n3, t3[14], 23, -35309556), n3 = Rl(n3, r3, o3, i3, t3[1], 4, -1530992060), i3 = Rl(i3, n3, r3, o3, t3[4], 11, 1272893353), o3 = Rl(o3, i3, n3, r3, t3[7], 16, -155497632), r3 = Rl(r3, o3, i3, n3, t3[10], 23, -1094730640), n3 = Rl(n3, r3, o3, i3, t3[13], 4, 681279174), i3 = Rl(i3, n3, r3, o3, t3[0], 11, -358537222), o3 = Rl(o3, i3, n3, r3, t3[3], 16, -722521979), r3 = Rl(r3, o3, i3, n3, t3[6], 23, 76029189), n3 = Rl(n3, r3, o3, i3, t3[9], 4, -640364487), i3 = Rl(i3, n3, r3, o3, t3[12], 11, -421815835), o3 = Rl(o3, i3, n3, r3, t3[15], 16, 530742520), r3 = Rl(r3, o3, i3, n3, t3[2], 23, -995338651), n3 = Nl(n3, r3, o3, i3, t3[0], 6, -198630844), i3 = Nl(i3, n3, r3, o3, t3[7], 10, 1126891415), o3 = Nl(o3, i3, n3, r3, t3[14], 15, -1416354905), r3 = Nl(r3, o3, i3, n3, t3[5], 21, -57434055), n3 = Nl(n3, r3, o3, i3, t3[12], 6, 1700485571), i3 = Nl(i3, n3, r3, o3, t3[3], 10, -1894986606), o3 = Nl(o3, i3, n3, r3, t3[10], 15, -1051523), r3 = Nl(r3, o3, i3, n3, t3[1], 21, -2054922799), n3 = Nl(n3, r3, o3, i3, t3[8], 6, 1873313359), i3 = Nl(i3, n3, r3, o3, t3[15], 10, -30611744), o3 = Nl(o3, i3, n3, r3, t3[6], 15, -1560198380), r3 = Nl(r3, o3, i3, n3, t3[13], 21, 1309151649), n3 = Nl(n3, r3, o3, i3, t3[4], 6, -145523070), i3 = Nl(i3, n3, r3, o3, t3[11], 10, -1120210379), o3 = Nl(o3, i3, n3, r3, t3[2], 15, 718787259), r3 = Nl(r3, o3, i3, n3, t3[9], 21, -343485551), e3[0] = Pl(n3, e3[0]), e3[1] = Pl(r3, e3[1]), e3[2] = Pl(o3, e3[2]), e3[3] = Pl(i3, e3[3]);
80615
+ n3 = Ol(n3, r3, o3, i3, t3[0], 7, -680876936), i3 = Ol(i3, n3, r3, o3, t3[1], 12, -389564586), o3 = Ol(o3, i3, n3, r3, t3[2], 17, 606105819), r3 = Ol(r3, o3, i3, n3, t3[3], 22, -1044525330), n3 = Ol(n3, r3, o3, i3, t3[4], 7, -176418897), i3 = Ol(i3, n3, r3, o3, t3[5], 12, 1200080426), o3 = Ol(o3, i3, n3, r3, t3[6], 17, -1473231341), r3 = Ol(r3, o3, i3, n3, t3[7], 22, -45705983), n3 = Ol(n3, r3, o3, i3, t3[8], 7, 1770035416), i3 = Ol(i3, n3, r3, o3, t3[9], 12, -1958414417), o3 = Ol(o3, i3, n3, r3, t3[10], 17, -42063), r3 = Ol(r3, o3, i3, n3, t3[11], 22, -1990404162), n3 = Ol(n3, r3, o3, i3, t3[12], 7, 1804603682), i3 = Ol(i3, n3, r3, o3, t3[13], 12, -40341101), o3 = Ol(o3, i3, n3, r3, t3[14], 17, -1502002290), r3 = Ol(r3, o3, i3, n3, t3[15], 22, 1236535329), n3 = Ll(n3, r3, o3, i3, t3[1], 5, -165796510), i3 = Ll(i3, n3, r3, o3, t3[6], 9, -1069501632), o3 = Ll(o3, i3, n3, r3, t3[11], 14, 643717713), r3 = Ll(r3, o3, i3, n3, t3[0], 20, -373897302), n3 = Ll(n3, r3, o3, i3, t3[5], 5, -701558691), i3 = Ll(i3, n3, r3, o3, t3[10], 9, 38016083), o3 = Ll(o3, i3, n3, r3, t3[15], 14, -660478335), r3 = Ll(r3, o3, i3, n3, t3[4], 20, -405537848), n3 = Ll(n3, r3, o3, i3, t3[9], 5, 568446438), i3 = Ll(i3, n3, r3, o3, t3[14], 9, -1019803690), o3 = Ll(o3, i3, n3, r3, t3[3], 14, -187363961), r3 = Ll(r3, o3, i3, n3, t3[8], 20, 1163531501), n3 = Ll(n3, r3, o3, i3, t3[13], 5, -1444681467), i3 = Ll(i3, n3, r3, o3, t3[2], 9, -51403784), o3 = Ll(o3, i3, n3, r3, t3[7], 14, 1735328473), r3 = Ll(r3, o3, i3, n3, t3[12], 20, -1926607734), n3 = El(n3, r3, o3, i3, t3[5], 4, -378558), i3 = El(i3, n3, r3, o3, t3[8], 11, -2022574463), o3 = El(o3, i3, n3, r3, t3[11], 16, 1839030562), r3 = El(r3, o3, i3, n3, t3[14], 23, -35309556), n3 = El(n3, r3, o3, i3, t3[1], 4, -1530992060), i3 = El(i3, n3, r3, o3, t3[4], 11, 1272893353), o3 = El(o3, i3, n3, r3, t3[7], 16, -155497632), r3 = El(r3, o3, i3, n3, t3[10], 23, -1094730640), n3 = El(n3, r3, o3, i3, t3[13], 4, 681279174), i3 = El(i3, n3, r3, o3, t3[0], 11, -358537222), o3 = El(o3, i3, n3, r3, t3[3], 16, -722521979), r3 = El(r3, o3, i3, n3, t3[6], 23, 76029189), n3 = El(n3, r3, o3, i3, t3[9], 4, -640364487), i3 = El(i3, n3, r3, o3, t3[12], 11, -421815835), o3 = El(o3, i3, n3, r3, t3[15], 16, 530742520), r3 = El(r3, o3, i3, n3, t3[2], 23, -995338651), n3 = Rl(n3, r3, o3, i3, t3[0], 6, -198630844), i3 = Rl(i3, n3, r3, o3, t3[7], 10, 1126891415), o3 = Rl(o3, i3, n3, r3, t3[14], 15, -1416354905), r3 = Rl(r3, o3, i3, n3, t3[5], 21, -57434055), n3 = Rl(n3, r3, o3, i3, t3[12], 6, 1700485571), i3 = Rl(i3, n3, r3, o3, t3[3], 10, -1894986606), o3 = Rl(o3, i3, n3, r3, t3[10], 15, -1051523), r3 = Rl(r3, o3, i3, n3, t3[1], 21, -2054922799), n3 = Rl(n3, r3, o3, i3, t3[8], 6, 1873313359), i3 = Rl(i3, n3, r3, o3, t3[15], 10, -30611744), o3 = Rl(o3, i3, n3, r3, t3[6], 15, -1560198380), r3 = Rl(r3, o3, i3, n3, t3[13], 21, 1309151649), n3 = Rl(n3, r3, o3, i3, t3[4], 6, -145523070), i3 = Rl(i3, n3, r3, o3, t3[11], 10, -1120210379), o3 = Rl(o3, i3, n3, r3, t3[2], 15, 718787259), r3 = Rl(r3, o3, i3, n3, t3[9], 21, -343485551), e3[0] = Dl(n3, e3[0]), e3[1] = Dl(r3, e3[1]), e3[2] = Dl(o3, e3[2]), e3[3] = Dl(i3, e3[3]);
80617
80616
  }
80618
- function Ol(e3, t3, n3, r3, o3, i3) {
80619
- return t3 = Pl(Pl(t3, e3), Pl(r3, i3)), Pl(t3 << o3 | t3 >>> 32 - o3, n3);
80617
+ function Tl(e3, t3, n3, r3, o3, i3) {
80618
+ return t3 = Dl(Dl(t3, e3), Dl(r3, i3)), Dl(t3 << o3 | t3 >>> 32 - o3, n3);
80619
+ }
80620
+ function Ol(e3, t3, n3, r3, o3, i3, a3) {
80621
+ return Tl(t3 & n3 | ~t3 & r3, e3, t3, o3, i3, a3);
80620
80622
  }
80621
80623
  function Ll(e3, t3, n3, r3, o3, i3, a3) {
80622
- return Ol(t3 & n3 | ~t3 & r3, e3, t3, o3, i3, a3);
80624
+ return Tl(t3 & r3 | n3 & ~r3, e3, t3, o3, i3, a3);
80623
80625
  }
80624
80626
  function El(e3, t3, n3, r3, o3, i3, a3) {
80625
- return Ol(t3 & r3 | n3 & ~r3, e3, t3, o3, i3, a3);
80627
+ return Tl(t3 ^ n3 ^ r3, e3, t3, o3, i3, a3);
80626
80628
  }
80627
80629
  function Rl(e3, t3, n3, r3, o3, i3, a3) {
80628
- return Ol(t3 ^ n3 ^ r3, e3, t3, o3, i3, a3);
80629
- }
80630
- function Nl(e3, t3, n3, r3, o3, i3, a3) {
80631
- return Ol(n3 ^ (t3 | ~r3), e3, t3, o3, i3, a3);
80630
+ return Tl(n3 ^ (t3 | ~r3), e3, t3, o3, i3, a3);
80632
80631
  }
80633
- function jl(e3) {
80632
+ function Nl(e3) {
80634
80633
  const t3 = [];
80635
80634
  let n3;
80636
80635
  for (n3 = 0; n3 < 64; n3 += 4)
80637
80636
  t3[n3 >> 2] = e3.charCodeAt(n3) + (e3.charCodeAt(n3 + 1) << 8) + (e3.charCodeAt(n3 + 2) << 16) + (e3.charCodeAt(n3 + 3) << 24);
80638
80637
  return t3;
80639
80638
  }
80640
- const Il = "0123456789abcdef".split("");
80641
- function Dl(e3) {
80639
+ const jl = "0123456789abcdef".split("");
80640
+ function Il(e3) {
80642
80641
  let t3 = "", n3 = 0;
80643
80642
  for (; n3 < 4; n3++)
80644
- t3 += Il[e3 >> 8 * n3 + 4 & 15] + Il[e3 >> 8 * n3 & 15];
80643
+ t3 += jl[e3 >> 8 * n3 + 4 & 15] + jl[e3 >> 8 * n3 & 15];
80645
80644
  return t3;
80646
80645
  }
80647
- function Pl(e3, t3) {
80646
+ function Dl(e3, t3) {
80648
80647
  return e3 + t3 & 4294967295;
80649
80648
  }
80650
- function Bl(e3, { removeReverseProxyURLPrefixes: t3 } = {}) {
80649
+ function Pl(e3, { removeReverseProxyURLPrefixes: t3 } = {}) {
80651
80650
  const n3 = [];
80652
80651
  return [/url\((?!['"]?:)'([^']*)'\)/g, /url\((?!['"]?:)"([^"]*)"\)/g, /url\((?!['"]?:)([^()'"]*)\)/g].forEach((t4) => {
80653
80652
  let r3;
@@ -80658,29 +80657,29 @@ var require_processPagePollCjs = __commonJS({
80658
80657
  return t4 && t4.length ? t4[0].substring(1) : e4;
80659
80658
  }) : n3;
80660
80659
  }
80661
- function Fl(e3) {
80660
+ function Bl(e3) {
80662
80661
  let t3 = [];
80663
80662
  for (let n3 = 0, r3 = e3.length; n3 < r3; n3++) {
80664
80663
  const r4 = e3[n3];
80665
80664
  let o3 = e3.getPropertyValue(r4);
80666
80665
  (/^\s*var\s*\(/.test(o3) || /^--/.test(r4)) && (o3 = o3.replace(/(\\[0-9a-fA-F]{1,6}\s?)/g, (e4) => String.fromCodePoint(parseInt(e4.substr(1).trim(), 16))).replace(/\\([^0-9a-fA-F])/g, "$1"));
80667
- const i3 = Bl(o3);
80666
+ const i3 = Pl(o3);
80668
80667
  t3 = t3.concat(i3);
80669
80668
  }
80670
80669
  return t3;
80671
80670
  }
80672
- const Ul = /(\S+)(?:\s+[\d.]+[wx])?(?:,|$)/g;
80673
- function Ml(e3) {
80671
+ const Fl = /(\S+)(?:\s+[\d.]+[wx])?(?:,|$)/g;
80672
+ function Ul(e3) {
80674
80673
  const { ownerDocument: t3 } = e3;
80675
80674
  if (!t3)
80676
80675
  return true;
80677
80676
  const { display: n3 } = t3.defaultView.getComputedStyle(e3), { width: r3, height: o3 } = e3.getBoundingClientRect();
80678
80677
  return "none" === n3 || 0 === r3 || 0 === o3;
80679
80678
  }
80680
- function ql(e3) {
80679
+ function Ml(e3) {
80681
80680
  try {
80682
80681
  return ol(Ys(e3.toLowerCase(), { context: "mediaQueryList" })).children.some((e4) => {
80683
- const t3 = Wl(e4);
80682
+ const t3 = ql(e4);
80684
80683
  return e4.mediaType && t3.unshift(e4), t3.every((e5) => {
80685
80684
  var t4, n3;
80686
80685
  return !(e5.modifier && !["not", "only"].includes(e5.modifier)) && ("Feature" === e5.type || ("Identifier" !== e5.type && "MediaQuery" !== e5.type || !["all", "screen"].includes(null !== (n3 = null !== (t4 = e5.name) && void 0 !== t4 ? t4 : e5.mediaType) && void 0 !== n3 ? n3 : "") ? e5.modifier && "not" === e5.modifier : !e5.modifier || "not" !== e5.modifier));
@@ -80690,19 +80689,19 @@ var require_processPagePollCjs = __commonJS({
80690
80689
  return false;
80691
80690
  }
80692
80691
  }
80693
- function Wl(e3) {
80692
+ function ql(e3) {
80694
80693
  var t3, n3;
80695
80694
  const r3 = [];
80696
80695
  if (e3.condition)
80697
- r3.push(...Wl(e3.condition));
80696
+ r3.push(...ql(e3.condition));
80698
80697
  else {
80699
- const o3 = null !== (n3 = null === (t3 = e3.children) || void 0 === t3 ? void 0 : t3.reduce((e4, t4) => ("Condition" === t4.type ? e4.push(...Wl(t4)) : "Identifier" === t4.type && "and" === t4.name || e4.push(t4), e4), [])) && void 0 !== n3 ? n3 : [];
80698
+ const o3 = null !== (n3 = null === (t3 = e3.children) || void 0 === t3 ? void 0 : t3.reduce((e4, t4) => ("Condition" === t4.type ? e4.push(...ql(t4)) : "Identifier" === t4.type && "and" === t4.name || e4.push(t4), e4), [])) && void 0 !== n3 ? n3 : [];
80700
80699
  r3.push(...o3);
80701
80700
  }
80702
80701
  return r3;
80703
80702
  }
80704
- const $l = Symbol("raw");
80705
- function Vl(e3) {
80703
+ const Wl = Symbol("raw");
80704
+ function $l(e3) {
80706
80705
  const t3 = function(e4) {
80707
80706
  if ("undefined" == typeof window)
80708
80707
  return null;
@@ -80710,7 +80709,7 @@ var require_processPagePollCjs = __commonJS({
80710
80709
  return window[t4];
80711
80710
  }(e3);
80712
80711
  return t3 ? (n3 = e3, r3 = t3.prototype, new Proxy(Object.create(n3), { get(e4, t4, o3) {
80713
- if (t4 === $l)
80712
+ if (t4 === Wl)
80714
80713
  return n3;
80715
80714
  const i3 = Reflect.get(r3, t4, n3);
80716
80715
  return "function" == typeof i3 ? function() {
@@ -80719,15 +80718,15 @@ var require_processPagePollCjs = __commonJS({
80719
80718
  } })) : e3;
80720
80719
  var n3, r3;
80721
80720
  }
80722
- Vl.unwrap = function(e3) {
80723
- return e3[$l] || e3;
80721
+ $l.unwrap = function(e3) {
80722
+ return e3[Wl] || e3;
80724
80723
  };
80725
- const Zl = /* @__PURE__ */ new Set(["date", "datetime-local", "email", "month", "number", "password", "search", "tel", "text", "time", "url", "week", "range"]), Kl = /^on[a-z]+$/;
80726
- function Hl(e3, t3, n3 = gl) {
80724
+ const Vl = /* @__PURE__ */ new Set(["date", "datetime-local", "email", "month", "number", "password", "search", "tel", "text", "time", "url", "week", "range"]), Zl = /^on[a-z]+$/;
80725
+ function Kl(e3, t3, n3) {
80727
80726
  const r3 = [{ nodeType: Node.DOCUMENT_NODE }], o3 = [e3], i3 = [], a3 = [], s3 = [], l2 = [];
80728
80727
  let c2 = [];
80729
80728
  const u2 = [], h2 = [];
80730
- return r3[0].childNodeIndexes = p2(r3, e3.childNodes), e3.adoptedStyleSheets && e3.adoptedStyleSheets.length > 0 && (r3[0].exp_adoptedStyleSheets = Xl(e3, n3)), { cdt: r3, docRoots: o3, canvasElements: i3, frames: s3, inlineFrames: a3, crossFrames: l2, linkUrls: c2, imageBlobs: u2, videoBlobs: h2 };
80729
+ return r3[0].childNodeIndexes = p2(r3, e3.childNodes), e3.adoptedStyleSheets && e3.adoptedStyleSheets.length > 0 && (r3[0].exp_adoptedStyleSheets = Yl(e3, n3)), { cdt: r3, docRoots: o3, canvasElements: i3, frames: s3, inlineFrames: a3, crossFrames: l2, linkUrls: c2, imageBlobs: u2, videoBlobs: h2 };
80731
80730
  function p2(e4, t4) {
80732
80731
  if (!t4 || 0 === t4.length)
80733
80732
  return null;
@@ -80739,28 +80738,28 @@ var require_processPagePollCjs = __commonJS({
80739
80738
  }
80740
80739
  function m2(e4, r4) {
80741
80740
  var f2;
80742
- const g2 = Vl(r4);
80741
+ const g2 = $l(r4);
80743
80742
  let b2;
80744
80743
  if ([Node.ELEMENT_NODE, Node.DOCUMENT_FRAGMENT_NODE].includes(g2.nodeType)) {
80745
80744
  if (g2.hasAttribute && g2.hasAttribute("data-applitools-skip"))
80746
80745
  return null;
80747
- if (["LINK", "STYLE", "SOURCE"].includes(g2.nodeName) && (null === (f2 = g2.media) || void 0 === f2 ? void 0 : f2.trim()) && !ql(g2.media))
80746
+ if (["LINK", "STYLE", "SOURCE"].includes(g2.nodeName) && (null === (f2 = g2.media) || void 0 === f2 ? void 0 : f2.trim()) && !Ml(g2.media))
80748
80747
  return null;
80749
80748
  if ("SCRIPT" === g2.nodeName)
80750
80749
  b2 = function(e5) {
80751
- return { nodeType: Node.ELEMENT_NODE, nodeName: "SCRIPT", attributes: Gl(e5).map((t4) => {
80750
+ return { nodeType: Node.ELEMENT_NODE, nodeName: "SCRIPT", attributes: Hl(e5).map((t4) => {
80752
80751
  const n4 = e5.attributes[t4].name;
80753
- return { name: n4, value: Kl.test(n4) ? "" : e5.attributes[t4].value };
80752
+ return { name: n4, value: Zl.test(n4) ? "" : e5.attributes[t4].value };
80754
80753
  }).filter((e6) => "src" !== e6.name), childNodeIndexes: [] };
80755
80754
  }(g2);
80756
80755
  else {
80757
80756
  const c3 = g2.shadowRoot && g2.shadowRoot.childNodes.length && "ShadowRoot" !== g2.shadowRoot.constructor.name;
80758
80757
  if (b2 = function(e5) {
80759
80758
  var t4, n4, r5;
80760
- const o4 = { nodeType: e5.nodeType, nodeName: e5.nodeName, attributes: Gl(e5).map((t5) => {
80759
+ const o4 = { nodeType: e5.nodeType, nodeName: e5.nodeName, attributes: Hl(e5).map((t5) => {
80761
80760
  let n5 = e5.attributes[t5].value;
80762
80761
  const r6 = e5.attributes[t5].name;
80763
- return n5.includes("blob:") ? n5 = n5.replace(/blob:/g, "") : Kl.test(r6) ? n5 = "" : "IFRAME" === e5.nodeName && d(e5) && "src" === r6 && "about:blank" !== e5.contentDocument.location.href && e5.contentDocument.location.href !== y(n5, e5.ownerDocument.location.href) ? n5 = e5.contentDocument.location.href : "style" === r6 && (n5 = function(e6) {
80762
+ return n5.includes("blob:") ? n5 = n5.replace(/blob:/g, "") : Zl.test(r6) ? n5 = "" : "IFRAME" === e5.nodeName && d(e5) && "src" === r6 && "about:blank" !== e5.contentDocument.location.href && e5.contentDocument.location.href !== y(n5, e5.ownerDocument.location.href) ? n5 = e5.contentDocument.location.href : "style" === r6 && (n5 = function(e6) {
80764
80763
  const t6 = { type: "DeclarationList", children: ml(e6) };
80765
80764
  return Xs(t6);
80766
80765
  }(e5.style)), { name: r6, value: n5 };
@@ -80772,44 +80771,44 @@ var require_processPagePollCjs = __commonJS({
80772
80771
  }
80773
80772
  !e5.attributes.getNamedItem("checked") && e5.checked && o4.attributes.push({ name: "checked" }), e5.indeterminate && o4.attributes.push({ name: "data-applitools-js-properties", value: JSON.stringify({ indeterminate: true }) });
80774
80773
  }
80775
- if ("INPUT" === e5.tagName && Zl.has(e5.type)) {
80774
+ if ("INPUT" === e5.tagName && Vl.has(e5.type)) {
80776
80775
  const i4 = null !== e5.attributes.getNamedItem("value"), a4 = null !== (n4 = null === (t4 = e5.attributes.getNamedItem("value")) || void 0 === t4 ? void 0 : t4.value) && void 0 !== n4 ? n4 : "", s4 = null !== (r5 = e5.value) && void 0 !== r5 ? r5 : "";
80777
- i4 && a4 === s4 || Yl(o4.attributes, "value", s4);
80776
+ i4 && a4 === s4 || Gl(o4.attributes, "value", s4);
80778
80777
  }
80779
- return "OPTION" === e5.tagName && e5.parentElement && e5.parentElement.selectedOptions && Array.from(e5.parentElement.selectedOptions).indexOf(Vl.unwrap(e5)) > -1 && Yl(o4.attributes, "selected", ""), "STYLE" === e5.tagName && e5.sheet && e5.sheet.disabled && o4.attributes.push({ name: "data-applitools-disabled", value: "" }), "LINK" === e5.tagName && "text/css" === e5.type && e5.sheet && e5.sheet.disabled && Yl(o4.attributes, "disabled", ""), o4;
80778
+ return "OPTION" === e5.tagName && e5.parentElement && e5.parentElement.selectedOptions && Array.from(e5.parentElement.selectedOptions).indexOf($l.unwrap(e5)) > -1 && Gl(o4.attributes, "selected", ""), "STYLE" === e5.tagName && e5.sheet && e5.sheet.disabled && o4.attributes.push({ name: "data-applitools-disabled", value: "" }), "LINK" === e5.tagName && "text/css" === e5.type && e5.sheet && e5.sheet.disabled && Gl(o4.attributes, "disabled", ""), o4;
80780
80779
  }(g2), "STYLE" === g2.nodeName && g2.sheet && g2.sheet.cssRules.length ? (e4.push(function(e5, t4, n4) {
80781
80780
  const r5 = (o4 = e5, function(e6) {
80782
80781
  return t5 = function(e7) {
80783
80782
  const t6 = e7.length, n5 = [1732584193, -271733879, -1732584194, 271733878];
80784
80783
  let r6;
80785
80784
  for (r6 = 64; r6 <= e7.length; r6 += 64)
80786
- Tl(n5, jl(e7.substring(r6 - 64, r6)));
80785
+ Al(n5, Nl(e7.substring(r6 - 64, r6)));
80787
80786
  e7 = e7.substring(r6 - 64);
80788
80787
  const o5 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
80789
80788
  for (r6 = 0; r6 < e7.length; r6++)
80790
80789
  o5[r6 >> 2] |= e7.charCodeAt(r6) << (r6 % 4 << 3);
80791
80790
  if (o5[r6 >> 2] |= 128 << (r6 % 4 << 3), r6 > 55)
80792
- for (Tl(n5, o5), r6 = 0; r6 < 16; r6++)
80791
+ for (Al(n5, o5), r6 = 0; r6 < 16; r6++)
80793
80792
  o5[r6] = 0;
80794
- return o5[14] = 8 * t6, Tl(n5, o5), n5;
80795
- }(e6), t5.map(Dl).join("");
80793
+ return o5[14] = 8 * t6, Al(n5, o5), n5;
80794
+ }(e6), t5.map(Il).join("");
80796
80795
  var t5;
80797
80796
  }(Array.prototype.map.call(o4.sheet.cssRules, (e6) => e6.cssText).join("")));
80798
80797
  var o4;
80799
- return n4.__dsNodeCache && n4.__dsNodeCache.key === r5 ? t4("[domNodesToCdt] using cache for inline css of", zl(e5)) : n4.__dsNodeCache = { key: r5, value: Al(e5, t4) }, { nodeType: Node.TEXT_NODE, nodeValue: n4.__dsNodeCache.value };
80798
+ return n4.__dsNodeCache && n4.__dsNodeCache.key === r5 ? t4.log("[domNodesToCdt] using cache for inline css of", Cl(e5)) : n4.__dsNodeCache = { key: r5, value: zl(e5, t4) }, { nodeType: Node.TEXT_NODE, nodeValue: n4.__dsNodeCache.value };
80800
80799
  }(g2, n3, r4)), b2.childNodeIndexes = [e4.length - 1]) : "TEXTAREA" === g2.tagName && g2.value !== g2.textContent ? (e4.push(function(e5) {
80801
80800
  return { nodeType: Node.TEXT_NODE, nodeValue: e5.value };
80802
80801
  }(g2)), b2.childNodeIndexes = [e4.length - 1]) : b2.childNodeIndexes = !c3 && g2.childNodes.length ? p2(e4, g2.childNodes) : [], c3 && "SLOT" === g2.tagName && "function" == typeof g2.assignedNodes) {
80803
80802
  const t4 = g2.assignedNodes();
80804
80803
  b2.childNodeIndexes = b2.childNodeIndexes || [], b2.childNodeIndexes = t4.length ? b2.childNodeIndexes.concat(p2(e4, t4)) : b2.childNodeIndexes;
80805
80804
  }
80806
- if (g2.shadowRoot && (c3 ? b2.childNodeIndexes = b2.childNodeIndexes.concat(p2(e4, g2.shadowRoot.childNodes)) : (b2.shadowRootIndex = m2(e4, g2.shadowRoot), o3.push(g2.shadowRoot))), "CANVAS" === g2.nodeName && !Ml(r4)) {
80805
+ if (g2.shadowRoot && (c3 ? b2.childNodeIndexes = b2.childNodeIndexes.concat(p2(e4, g2.shadowRoot.childNodes)) : (b2.shadowRootIndex = m2(e4, g2.shadowRoot), o3.push(g2.shadowRoot))), "CANVAS" === g2.nodeName && !Ul(r4)) {
80807
80806
  const e5 = y(`applitools-canvas-${S()}.png`, t3);
80808
80807
  b2.attributes.push({ name: "data-applitools-src", value: e5 }), i3.push({ element: g2, cdtNode: b2, url: e5 });
80809
80808
  }
80810
80809
  if ("IFRAME" === g2.nodeName) {
80811
80810
  const n4 = S();
80812
- if (g2.setAttribute("data-applitools-selector", n4.toString()), Ml(r4))
80811
+ if (g2.setAttribute("data-applitools-selector", n4.toString()), Ul(r4))
80813
80812
  b2.attributes.forEach((e5) => {
80814
80813
  "src" !== e5.name && "srcdoc" !== e5.name || (b2.attributes.push({ name: `data-applitools-original-${e5.name}`, value: e5.value }), e5.value = "");
80815
80814
  });
@@ -80826,7 +80825,7 @@ var require_processPagePollCjs = __commonJS({
80826
80825
  l2.push({ selector: t4, index: e4.length });
80827
80826
  }
80828
80827
  }
80829
- g2.adoptedStyleSheets && g2.adoptedStyleSheets.length > 0 && (b2.exp_adoptedStyleSheets = Xl(g2, n3));
80828
+ g2.adoptedStyleSheets && g2.adoptedStyleSheets.length > 0 && (b2.exp_adoptedStyleSheets = Yl(g2, n3));
80830
80829
  }
80831
80830
  if (g2.nodeType === Node.ELEMENT_NODE) {
80832
80831
  const e5 = function(e6) {
@@ -80840,7 +80839,7 @@ var require_processPagePollCjs = __commonJS({
80840
80839
  for (; (a4 = o4.exec(t6)) && (r6.push(n5(a4)), i4); )
80841
80840
  ;
80842
80841
  return r6;
80843
- }(Ul, t5, (e7) => e7[1]));
80842
+ }(Fl, t5, (e7) => e7[1]));
80844
80843
  }
80845
80844
  if (t4('img[src],source[src],input[type="image"][src],audio[src],video[src]')) {
80846
80845
  const t5 = e6.getAttribute("src");
@@ -80871,7 +80870,7 @@ var require_processPagePollCjs = __commonJS({
80871
80870
  }
80872
80871
  const r5 = function(e7) {
80873
80872
  if (e7.hasAttribute("style"))
80874
- return Fl(e7.style);
80873
+ return Bl(e7.style);
80875
80874
  }(e6);
80876
80875
  return r5 && (n4 = n4.concat(r5)), n4;
80877
80876
  }(g2);
@@ -80893,27 +80892,27 @@ var require_processPagePollCjs = __commonJS({
80893
80892
  return b2 ? (e4.push(b2), e4.length - 1) : null;
80894
80893
  }
80895
80894
  }
80896
- function Gl(e3) {
80895
+ function Hl(e3) {
80897
80896
  return Object.keys(e3.attributes || {}).filter((t3) => e3.attributes[t3] && e3.attributes[t3].name);
80898
80897
  }
80899
- function Yl(e3, t3, n3) {
80898
+ function Gl(e3, t3, n3) {
80900
80899
  const r3 = e3.find((e4) => e4.name === t3);
80901
80900
  r3 ? r3.value = n3 : e3.push({ name: t3, value: n3 });
80902
80901
  }
80903
- function Xl(e3, t3 = gl) {
80904
- return Array.from(e3.adoptedStyleSheets).map((e4) => function(e5, t4 = gl) {
80905
- const n3 = yl(e5.cssRules, t4);
80902
+ function Yl(e3, t3) {
80903
+ return Array.from(e3.adoptedStyleSheets).map((e4) => function(e5, t4) {
80904
+ const n3 = bl(e5.cssRules, t4);
80906
80905
  return Xs(il({ type: "StyleSheet", children: n3 }));
80907
80906
  }(e4, t3));
80908
80907
  }
80909
- function Ql(e3) {
80908
+ function Xl(e3) {
80910
80909
  const t3 = [];
80911
80910
  return new Set(e3).forEach((e4) => e4 && t3.push(e4)), t3;
80912
80911
  }
80913
- function Jl(e3) {
80914
- return e3.reduce(({ resourceUrls: e4, blobsObj: t3 }, { resourceUrls: n3, blobsObj: r3 }) => ({ resourceUrls: Ql(e4.concat(n3)), blobsObj: Object.assign(t3, r3) }), { resourceUrls: [], blobsObj: {} });
80912
+ function Ql(e3) {
80913
+ return e3.reduce(({ resourceUrls: e4, blobsObj: t3 }, { resourceUrls: n3, blobsObj: r3 }) => ({ resourceUrls: Xl(e4.concat(n3)), blobsObj: Object.assign(t3, r3) }), { resourceUrls: [], blobsObj: {} });
80915
80914
  }
80916
- var ec = {};
80915
+ var Jl = {};
80917
80916
  !function(e3) {
80918
80917
  var t3 = "undefined" != typeof Uint8Array && "undefined" != typeof Uint16Array && "undefined" != typeof Int32Array;
80919
80918
  function n3(e4, t4) {
@@ -80955,102 +80954,102 @@ var require_processPagePollCjs = __commonJS({
80955
80954
  e3.setTyped = function(t4) {
80956
80955
  t4 ? (e3.Buf8 = Uint8Array, e3.Buf16 = Uint16Array, e3.Buf32 = Int32Array, e3.assign(e3, r3)) : (e3.Buf8 = Array, e3.Buf16 = Array, e3.Buf32 = Array, e3.assign(e3, o3));
80957
80956
  }, e3.setTyped(t3);
80958
- }(ec);
80959
- var tc = {}, nc = {}, rc = {}, oc = ec;
80960
- function ic(e3) {
80957
+ }(Jl);
80958
+ var ec = {}, tc = {}, nc = {}, rc = Jl;
80959
+ function oc(e3) {
80961
80960
  for (var t3 = e3.length; --t3 >= 0; )
80962
80961
  e3[t3] = 0;
80963
80962
  }
80964
- var ac = 256, sc = 286, lc = 30, cc = 15, uc = 16, hc = [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], dc = [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], pc = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7], mc = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], fc = new Array(576);
80965
- ic(fc);
80966
- var gc = new Array(60);
80967
- ic(gc);
80968
- var bc = new Array(512);
80969
- ic(bc);
80970
- var yc = new Array(256);
80971
- ic(yc);
80972
- var kc = new Array(29);
80973
- ic(kc);
80974
- var wc, vc, xc, _c = new Array(lc);
80975
- function Sc(e3, t3, n3, r3, o3) {
80963
+ var ic = 256, ac = 286, sc = 30, lc = 15, cc = 16, uc = [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], hc = [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], dc = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7], pc = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], mc = new Array(576);
80964
+ oc(mc);
80965
+ var fc = new Array(60);
80966
+ oc(fc);
80967
+ var gc = new Array(512);
80968
+ oc(gc);
80969
+ var bc = new Array(256);
80970
+ oc(bc);
80971
+ var yc = new Array(29);
80972
+ oc(yc);
80973
+ var kc, wc, vc, xc = new Array(sc);
80974
+ function _c(e3, t3, n3, r3, o3) {
80976
80975
  this.static_tree = e3, this.extra_bits = t3, this.extra_base = n3, this.elems = r3, this.max_length = o3, this.has_stree = e3 && e3.length;
80977
80976
  }
80978
- function Cc(e3, t3) {
80977
+ function Sc(e3, t3) {
80979
80978
  this.dyn_tree = e3, this.max_code = 0, this.stat_desc = t3;
80980
80979
  }
80981
- function zc(e3) {
80982
- return e3 < 256 ? bc[e3] : bc[256 + (e3 >>> 7)];
80980
+ function Cc(e3) {
80981
+ return e3 < 256 ? gc[e3] : gc[256 + (e3 >>> 7)];
80983
80982
  }
80984
- function Ac(e3, t3) {
80983
+ function zc(e3, t3) {
80985
80984
  e3.pending_buf[e3.pending++] = 255 & t3, e3.pending_buf[e3.pending++] = t3 >>> 8 & 255;
80986
80985
  }
80987
- function Tc(e3, t3, n3) {
80988
- e3.bi_valid > uc - n3 ? (e3.bi_buf |= t3 << e3.bi_valid & 65535, Ac(e3, e3.bi_buf), e3.bi_buf = t3 >> uc - e3.bi_valid, e3.bi_valid += n3 - uc) : (e3.bi_buf |= t3 << e3.bi_valid & 65535, e3.bi_valid += n3);
80986
+ function Ac(e3, t3, n3) {
80987
+ e3.bi_valid > cc - n3 ? (e3.bi_buf |= t3 << e3.bi_valid & 65535, zc(e3, e3.bi_buf), e3.bi_buf = t3 >> cc - e3.bi_valid, e3.bi_valid += n3 - cc) : (e3.bi_buf |= t3 << e3.bi_valid & 65535, e3.bi_valid += n3);
80989
80988
  }
80990
- function Oc(e3, t3, n3) {
80991
- Tc(e3, n3[2 * t3], n3[2 * t3 + 1]);
80989
+ function Tc(e3, t3, n3) {
80990
+ Ac(e3, n3[2 * t3], n3[2 * t3 + 1]);
80992
80991
  }
80993
- function Lc(e3, t3) {
80992
+ function Oc(e3, t3) {
80994
80993
  var n3 = 0;
80995
80994
  do {
80996
80995
  n3 |= 1 & e3, e3 >>>= 1, n3 <<= 1;
80997
80996
  } while (--t3 > 0);
80998
80997
  return n3 >>> 1;
80999
80998
  }
81000
- function Ec(e3, t3, n3) {
81001
- var r3, o3, i3 = new Array(cc + 1), a3 = 0;
81002
- for (r3 = 1; r3 <= cc; r3++)
80999
+ function Lc(e3, t3, n3) {
81000
+ var r3, o3, i3 = new Array(lc + 1), a3 = 0;
81001
+ for (r3 = 1; r3 <= lc; r3++)
81003
81002
  i3[r3] = a3 = a3 + n3[r3 - 1] << 1;
81004
81003
  for (o3 = 0; o3 <= t3; o3++) {
81005
81004
  var s3 = e3[2 * o3 + 1];
81006
- 0 !== s3 && (e3[2 * o3] = Lc(i3[s3]++, s3));
81005
+ 0 !== s3 && (e3[2 * o3] = Oc(i3[s3]++, s3));
81007
81006
  }
81008
81007
  }
81009
- function Rc(e3) {
81008
+ function Ec(e3) {
81010
81009
  var t3;
81011
- for (t3 = 0; t3 < sc; t3++)
81010
+ for (t3 = 0; t3 < ac; t3++)
81012
81011
  e3.dyn_ltree[2 * t3] = 0;
81013
- for (t3 = 0; t3 < lc; t3++)
81012
+ for (t3 = 0; t3 < sc; t3++)
81014
81013
  e3.dyn_dtree[2 * t3] = 0;
81015
81014
  for (t3 = 0; t3 < 19; t3++)
81016
81015
  e3.bl_tree[2 * t3] = 0;
81017
81016
  e3.dyn_ltree[512] = 1, e3.opt_len = e3.static_len = 0, e3.last_lit = e3.matches = 0;
81018
81017
  }
81019
- function Nc(e3) {
81020
- e3.bi_valid > 8 ? Ac(e3, e3.bi_buf) : e3.bi_valid > 0 && (e3.pending_buf[e3.pending++] = e3.bi_buf), e3.bi_buf = 0, e3.bi_valid = 0;
81018
+ function Rc(e3) {
81019
+ e3.bi_valid > 8 ? zc(e3, e3.bi_buf) : e3.bi_valid > 0 && (e3.pending_buf[e3.pending++] = e3.bi_buf), e3.bi_buf = 0, e3.bi_valid = 0;
81021
81020
  }
81022
- function jc(e3, t3, n3, r3) {
81021
+ function Nc(e3, t3, n3, r3) {
81023
81022
  var o3 = 2 * t3, i3 = 2 * n3;
81024
81023
  return e3[o3] < e3[i3] || e3[o3] === e3[i3] && r3[t3] <= r3[n3];
81025
81024
  }
81026
- function Ic(e3, t3, n3) {
81027
- for (var r3 = e3.heap[n3], o3 = n3 << 1; o3 <= e3.heap_len && (o3 < e3.heap_len && jc(t3, e3.heap[o3 + 1], e3.heap[o3], e3.depth) && o3++, !jc(t3, r3, e3.heap[o3], e3.depth)); )
81025
+ function jc(e3, t3, n3) {
81026
+ for (var r3 = e3.heap[n3], o3 = n3 << 1; o3 <= e3.heap_len && (o3 < e3.heap_len && Nc(t3, e3.heap[o3 + 1], e3.heap[o3], e3.depth) && o3++, !Nc(t3, r3, e3.heap[o3], e3.depth)); )
81028
81027
  e3.heap[n3] = e3.heap[o3], n3 = o3, o3 <<= 1;
81029
81028
  e3.heap[n3] = r3;
81030
81029
  }
81031
- function Dc(e3, t3, n3) {
81030
+ function Ic(e3, t3, n3) {
81032
81031
  var r3, o3, i3, a3, s3 = 0;
81033
81032
  if (0 !== e3.last_lit)
81034
81033
  do {
81035
- r3 = e3.pending_buf[e3.d_buf + 2 * s3] << 8 | e3.pending_buf[e3.d_buf + 2 * s3 + 1], o3 = e3.pending_buf[e3.l_buf + s3], s3++, 0 === r3 ? Oc(e3, o3, t3) : (Oc(e3, (i3 = yc[o3]) + ac + 1, t3), 0 !== (a3 = hc[i3]) && Tc(e3, o3 -= kc[i3], a3), Oc(e3, i3 = zc(--r3), n3), 0 !== (a3 = dc[i3]) && Tc(e3, r3 -= _c[i3], a3));
81034
+ r3 = e3.pending_buf[e3.d_buf + 2 * s3] << 8 | e3.pending_buf[e3.d_buf + 2 * s3 + 1], o3 = e3.pending_buf[e3.l_buf + s3], s3++, 0 === r3 ? Tc(e3, o3, t3) : (Tc(e3, (i3 = bc[o3]) + ic + 1, t3), 0 !== (a3 = uc[i3]) && Ac(e3, o3 -= yc[i3], a3), Tc(e3, i3 = Cc(--r3), n3), 0 !== (a3 = hc[i3]) && Ac(e3, r3 -= xc[i3], a3));
81036
81035
  } while (s3 < e3.last_lit);
81037
- Oc(e3, 256, t3);
81036
+ Tc(e3, 256, t3);
81038
81037
  }
81039
- function Pc(e3, t3) {
81038
+ function Dc(e3, t3) {
81040
81039
  var n3, r3, o3, i3 = t3.dyn_tree, a3 = t3.stat_desc.static_tree, s3 = t3.stat_desc.has_stree, l2 = t3.stat_desc.elems, c2 = -1;
81041
81040
  for (e3.heap_len = 0, e3.heap_max = 573, n3 = 0; n3 < l2; n3++)
81042
81041
  0 !== i3[2 * n3] ? (e3.heap[++e3.heap_len] = c2 = n3, e3.depth[n3] = 0) : i3[2 * n3 + 1] = 0;
81043
81042
  for (; e3.heap_len < 2; )
81044
81043
  i3[2 * (o3 = e3.heap[++e3.heap_len] = c2 < 2 ? ++c2 : 0)] = 1, e3.depth[o3] = 0, e3.opt_len--, s3 && (e3.static_len -= a3[2 * o3 + 1]);
81045
81044
  for (t3.max_code = c2, n3 = e3.heap_len >> 1; n3 >= 1; n3--)
81046
- Ic(e3, i3, n3);
81045
+ jc(e3, i3, n3);
81047
81046
  o3 = l2;
81048
81047
  do {
81049
- n3 = e3.heap[1], e3.heap[1] = e3.heap[e3.heap_len--], Ic(e3, i3, 1), r3 = e3.heap[1], e3.heap[--e3.heap_max] = n3, e3.heap[--e3.heap_max] = r3, i3[2 * o3] = i3[2 * n3] + i3[2 * r3], e3.depth[o3] = (e3.depth[n3] >= e3.depth[r3] ? e3.depth[n3] : e3.depth[r3]) + 1, i3[2 * n3 + 1] = i3[2 * r3 + 1] = o3, e3.heap[1] = o3++, Ic(e3, i3, 1);
81048
+ n3 = e3.heap[1], e3.heap[1] = e3.heap[e3.heap_len--], jc(e3, i3, 1), r3 = e3.heap[1], e3.heap[--e3.heap_max] = n3, e3.heap[--e3.heap_max] = r3, i3[2 * o3] = i3[2 * n3] + i3[2 * r3], e3.depth[o3] = (e3.depth[n3] >= e3.depth[r3] ? e3.depth[n3] : e3.depth[r3]) + 1, i3[2 * n3 + 1] = i3[2 * r3 + 1] = o3, e3.heap[1] = o3++, jc(e3, i3, 1);
81050
81049
  } while (e3.heap_len >= 2);
81051
81050
  e3.heap[--e3.heap_max] = e3.heap[1], function(e4, t4) {
81052
81051
  var n4, r4, o4, i4, a4, s4, l3 = t4.dyn_tree, c3 = t4.max_code, u2 = t4.stat_desc.static_tree, h2 = t4.stat_desc.has_stree, d2 = t4.stat_desc.extra_bits, p2 = t4.stat_desc.extra_base, m2 = t4.stat_desc.max_length, f2 = 0;
81053
- for (i4 = 0; i4 <= cc; i4++)
81052
+ for (i4 = 0; i4 <= lc; i4++)
81054
81053
  e4.bl_count[i4] = 0;
81055
81054
  for (l3[2 * e4.heap[e4.heap_max] + 1] = 0, n4 = e4.heap_max + 1; n4 < 573; n4++)
81056
81055
  (i4 = l3[2 * l3[2 * (r4 = e4.heap[n4]) + 1] + 1] + 1) > m2 && (i4 = m2, f2++), l3[2 * r4 + 1] = i4, r4 > c3 || (e4.bl_count[i4]++, a4 = 0, r4 >= p2 && (a4 = d2[r4 - p2]), s4 = l3[2 * r4], e4.opt_len += s4 * (i4 + a4), h2 && (e4.static_len += s4 * (u2[2 * r4 + 1] + a4)));
@@ -81064,60 +81063,60 @@ var require_processPagePollCjs = __commonJS({
81064
81063
  for (r4 = e4.bl_count[i4]; 0 !== r4; )
81065
81064
  (o4 = e4.heap[--n4]) > c3 || (l3[2 * o4 + 1] !== i4 && (e4.opt_len += (i4 - l3[2 * o4 + 1]) * l3[2 * o4], l3[2 * o4 + 1] = i4), r4--);
81066
81065
  }
81067
- }(e3, t3), Ec(i3, c2, e3.bl_count);
81066
+ }(e3, t3), Lc(i3, c2, e3.bl_count);
81068
81067
  }
81069
- function Bc(e3, t3, n3) {
81068
+ function Pc(e3, t3, n3) {
81070
81069
  var r3, o3, i3 = -1, a3 = t3[1], s3 = 0, l2 = 7, c2 = 4;
81071
81070
  for (0 === a3 && (l2 = 138, c2 = 3), t3[2 * (n3 + 1) + 1] = 65535, r3 = 0; r3 <= n3; r3++)
81072
81071
  o3 = a3, a3 = t3[2 * (r3 + 1) + 1], ++s3 < l2 && o3 === a3 || (s3 < c2 ? e3.bl_tree[2 * o3] += s3 : 0 !== o3 ? (o3 !== i3 && e3.bl_tree[2 * o3]++, e3.bl_tree[32]++) : s3 <= 10 ? e3.bl_tree[34]++ : e3.bl_tree[36]++, s3 = 0, i3 = o3, 0 === a3 ? (l2 = 138, c2 = 3) : o3 === a3 ? (l2 = 6, c2 = 3) : (l2 = 7, c2 = 4));
81073
81072
  }
81074
- function Fc(e3, t3, n3) {
81073
+ function Bc(e3, t3, n3) {
81075
81074
  var r3, o3, i3 = -1, a3 = t3[1], s3 = 0, l2 = 7, c2 = 4;
81076
81075
  for (0 === a3 && (l2 = 138, c2 = 3), r3 = 0; r3 <= n3; r3++)
81077
81076
  if (o3 = a3, a3 = t3[2 * (r3 + 1) + 1], !(++s3 < l2 && o3 === a3)) {
81078
81077
  if (s3 < c2)
81079
81078
  do {
81080
- Oc(e3, o3, e3.bl_tree);
81079
+ Tc(e3, o3, e3.bl_tree);
81081
81080
  } while (0 != --s3);
81082
81081
  else
81083
- 0 !== o3 ? (o3 !== i3 && (Oc(e3, o3, e3.bl_tree), s3--), Oc(e3, 16, e3.bl_tree), Tc(e3, s3 - 3, 2)) : s3 <= 10 ? (Oc(e3, 17, e3.bl_tree), Tc(e3, s3 - 3, 3)) : (Oc(e3, 18, e3.bl_tree), Tc(e3, s3 - 11, 7));
81082
+ 0 !== o3 ? (o3 !== i3 && (Tc(e3, o3, e3.bl_tree), s3--), Tc(e3, 16, e3.bl_tree), Ac(e3, s3 - 3, 2)) : s3 <= 10 ? (Tc(e3, 17, e3.bl_tree), Ac(e3, s3 - 3, 3)) : (Tc(e3, 18, e3.bl_tree), Ac(e3, s3 - 11, 7));
81084
81083
  s3 = 0, i3 = o3, 0 === a3 ? (l2 = 138, c2 = 3) : o3 === a3 ? (l2 = 6, c2 = 3) : (l2 = 7, c2 = 4);
81085
81084
  }
81086
81085
  }
81087
- ic(_c);
81088
- var Uc = false;
81089
- function Mc(e3, t3, n3, r3) {
81090
- Tc(e3, 0 + (r3 ? 1 : 0), 3), function(e4, t4, n4, r4) {
81091
- Nc(e4), Ac(e4, n4), Ac(e4, ~n4), oc.arraySet(e4.pending_buf, e4.window, t4, n4, e4.pending), e4.pending += n4;
81086
+ oc(xc);
81087
+ var Fc = false;
81088
+ function Uc(e3, t3, n3, r3) {
81089
+ Ac(e3, 0 + (r3 ? 1 : 0), 3), function(e4, t4, n4, r4) {
81090
+ Rc(e4), zc(e4, n4), zc(e4, ~n4), rc.arraySet(e4.pending_buf, e4.window, t4, n4, e4.pending), e4.pending += n4;
81092
81091
  }(e3, t3, n3);
81093
81092
  }
81094
- rc._tr_init = function(e3) {
81095
- Uc || (function() {
81096
- var e4, t3, n3, r3, o3, i3 = new Array(cc + 1);
81093
+ nc._tr_init = function(e3) {
81094
+ Fc || (function() {
81095
+ var e4, t3, n3, r3, o3, i3 = new Array(lc + 1);
81097
81096
  for (n3 = 0, r3 = 0; r3 < 28; r3++)
81098
- for (kc[r3] = n3, e4 = 0; e4 < 1 << hc[r3]; e4++)
81099
- yc[n3++] = r3;
81100
- for (yc[n3 - 1] = r3, o3 = 0, r3 = 0; r3 < 16; r3++)
81101
- for (_c[r3] = o3, e4 = 0; e4 < 1 << dc[r3]; e4++)
81102
- bc[o3++] = r3;
81103
- for (o3 >>= 7; r3 < lc; r3++)
81104
- for (_c[r3] = o3 << 7, e4 = 0; e4 < 1 << dc[r3] - 7; e4++)
81105
- bc[256 + o3++] = r3;
81106
- for (t3 = 0; t3 <= cc; t3++)
81097
+ for (yc[r3] = n3, e4 = 0; e4 < 1 << uc[r3]; e4++)
81098
+ bc[n3++] = r3;
81099
+ for (bc[n3 - 1] = r3, o3 = 0, r3 = 0; r3 < 16; r3++)
81100
+ for (xc[r3] = o3, e4 = 0; e4 < 1 << hc[r3]; e4++)
81101
+ gc[o3++] = r3;
81102
+ for (o3 >>= 7; r3 < sc; r3++)
81103
+ for (xc[r3] = o3 << 7, e4 = 0; e4 < 1 << hc[r3] - 7; e4++)
81104
+ gc[256 + o3++] = r3;
81105
+ for (t3 = 0; t3 <= lc; t3++)
81107
81106
  i3[t3] = 0;
81108
81107
  for (e4 = 0; e4 <= 143; )
81109
- fc[2 * e4 + 1] = 8, e4++, i3[8]++;
81108
+ mc[2 * e4 + 1] = 8, e4++, i3[8]++;
81110
81109
  for (; e4 <= 255; )
81111
- fc[2 * e4 + 1] = 9, e4++, i3[9]++;
81110
+ mc[2 * e4 + 1] = 9, e4++, i3[9]++;
81112
81111
  for (; e4 <= 279; )
81113
- fc[2 * e4 + 1] = 7, e4++, i3[7]++;
81112
+ mc[2 * e4 + 1] = 7, e4++, i3[7]++;
81114
81113
  for (; e4 <= 287; )
81115
- fc[2 * e4 + 1] = 8, e4++, i3[8]++;
81116
- for (Ec(fc, 287, i3), e4 = 0; e4 < lc; e4++)
81117
- gc[2 * e4 + 1] = 5, gc[2 * e4] = Lc(e4, 5);
81118
- wc = new Sc(fc, hc, 257, sc, cc), vc = new Sc(gc, dc, 0, lc, cc), xc = new Sc(new Array(0), pc, 0, 19, 7);
81119
- }(), Uc = true), e3.l_desc = new Cc(e3.dyn_ltree, wc), e3.d_desc = new Cc(e3.dyn_dtree, vc), e3.bl_desc = new Cc(e3.bl_tree, xc), e3.bi_buf = 0, e3.bi_valid = 0, Rc(e3);
81120
- }, rc._tr_stored_block = Mc, rc._tr_flush_block = function(e3, t3, n3, r3) {
81114
+ mc[2 * e4 + 1] = 8, e4++, i3[8]++;
81115
+ for (Lc(mc, 287, i3), e4 = 0; e4 < sc; e4++)
81116
+ fc[2 * e4 + 1] = 5, fc[2 * e4] = Oc(e4, 5);
81117
+ kc = new _c(mc, uc, 257, ac, lc), wc = new _c(fc, hc, 0, sc, lc), vc = new _c(new Array(0), dc, 0, 19, 7);
81118
+ }(), Fc = true), e3.l_desc = new Sc(e3.dyn_ltree, kc), e3.d_desc = new Sc(e3.dyn_dtree, wc), e3.bl_desc = new Sc(e3.bl_tree, vc), e3.bi_buf = 0, e3.bi_valid = 0, Ec(e3);
81119
+ }, nc._tr_stored_block = Uc, nc._tr_flush_block = function(e3, t3, n3, r3) {
81121
81120
  var o3, i3, a3 = 0;
81122
81121
  e3.level > 0 ? (2 === e3.strm.data_type && (e3.strm.data_type = function(e4) {
81123
81122
  var t4, n4 = 4093624447;
@@ -81126,29 +81125,29 @@ var require_processPagePollCjs = __commonJS({
81126
81125
  return 0;
81127
81126
  if (0 !== e4.dyn_ltree[18] || 0 !== e4.dyn_ltree[20] || 0 !== e4.dyn_ltree[26])
81128
81127
  return 1;
81129
- for (t4 = 32; t4 < ac; t4++)
81128
+ for (t4 = 32; t4 < ic; t4++)
81130
81129
  if (0 !== e4.dyn_ltree[2 * t4])
81131
81130
  return 1;
81132
81131
  return 0;
81133
- }(e3)), Pc(e3, e3.l_desc), Pc(e3, e3.d_desc), a3 = function(e4) {
81132
+ }(e3)), Dc(e3, e3.l_desc), Dc(e3, e3.d_desc), a3 = function(e4) {
81134
81133
  var t4;
81135
- for (Bc(e4, e4.dyn_ltree, e4.l_desc.max_code), Bc(e4, e4.dyn_dtree, e4.d_desc.max_code), Pc(e4, e4.bl_desc), t4 = 18; t4 >= 3 && 0 === e4.bl_tree[2 * mc[t4] + 1]; t4--)
81134
+ for (Pc(e4, e4.dyn_ltree, e4.l_desc.max_code), Pc(e4, e4.dyn_dtree, e4.d_desc.max_code), Dc(e4, e4.bl_desc), t4 = 18; t4 >= 3 && 0 === e4.bl_tree[2 * pc[t4] + 1]; t4--)
81136
81135
  ;
81137
81136
  return e4.opt_len += 3 * (t4 + 1) + 5 + 5 + 4, t4;
81138
- }(e3), o3 = e3.opt_len + 3 + 7 >>> 3, (i3 = e3.static_len + 3 + 7 >>> 3) <= o3 && (o3 = i3)) : o3 = i3 = n3 + 5, n3 + 4 <= o3 && -1 !== t3 ? Mc(e3, t3, n3, r3) : 4 === e3.strategy || i3 === o3 ? (Tc(e3, 2 + (r3 ? 1 : 0), 3), Dc(e3, fc, gc)) : (Tc(e3, 4 + (r3 ? 1 : 0), 3), function(e4, t4, n4, r4) {
81137
+ }(e3), o3 = e3.opt_len + 3 + 7 >>> 3, (i3 = e3.static_len + 3 + 7 >>> 3) <= o3 && (o3 = i3)) : o3 = i3 = n3 + 5, n3 + 4 <= o3 && -1 !== t3 ? Uc(e3, t3, n3, r3) : 4 === e3.strategy || i3 === o3 ? (Ac(e3, 2 + (r3 ? 1 : 0), 3), Ic(e3, mc, fc)) : (Ac(e3, 4 + (r3 ? 1 : 0), 3), function(e4, t4, n4, r4) {
81139
81138
  var o4;
81140
- for (Tc(e4, t4 - 257, 5), Tc(e4, n4 - 1, 5), Tc(e4, r4 - 4, 4), o4 = 0; o4 < r4; o4++)
81141
- Tc(e4, e4.bl_tree[2 * mc[o4] + 1], 3);
81142
- Fc(e4, e4.dyn_ltree, t4 - 1), Fc(e4, e4.dyn_dtree, n4 - 1);
81143
- }(e3, e3.l_desc.max_code + 1, e3.d_desc.max_code + 1, a3 + 1), Dc(e3, e3.dyn_ltree, e3.dyn_dtree)), Rc(e3), r3 && Nc(e3);
81144
- }, rc._tr_tally = function(e3, t3, n3) {
81145
- return e3.pending_buf[e3.d_buf + 2 * e3.last_lit] = t3 >>> 8 & 255, e3.pending_buf[e3.d_buf + 2 * e3.last_lit + 1] = 255 & t3, e3.pending_buf[e3.l_buf + e3.last_lit] = 255 & n3, e3.last_lit++, 0 === t3 ? e3.dyn_ltree[2 * n3]++ : (e3.matches++, t3--, e3.dyn_ltree[2 * (yc[n3] + ac + 1)]++, e3.dyn_dtree[2 * zc(t3)]++), e3.last_lit === e3.lit_bufsize - 1;
81146
- }, rc._tr_align = function(e3) {
81147
- Tc(e3, 2, 3), Oc(e3, 256, fc), function(e4) {
81148
- 16 === e4.bi_valid ? (Ac(e4, e4.bi_buf), e4.bi_buf = 0, e4.bi_valid = 0) : e4.bi_valid >= 8 && (e4.pending_buf[e4.pending++] = 255 & e4.bi_buf, e4.bi_buf >>= 8, e4.bi_valid -= 8);
81139
+ for (Ac(e4, t4 - 257, 5), Ac(e4, n4 - 1, 5), Ac(e4, r4 - 4, 4), o4 = 0; o4 < r4; o4++)
81140
+ Ac(e4, e4.bl_tree[2 * pc[o4] + 1], 3);
81141
+ Bc(e4, e4.dyn_ltree, t4 - 1), Bc(e4, e4.dyn_dtree, n4 - 1);
81142
+ }(e3, e3.l_desc.max_code + 1, e3.d_desc.max_code + 1, a3 + 1), Ic(e3, e3.dyn_ltree, e3.dyn_dtree)), Ec(e3), r3 && Rc(e3);
81143
+ }, nc._tr_tally = function(e3, t3, n3) {
81144
+ return e3.pending_buf[e3.d_buf + 2 * e3.last_lit] = t3 >>> 8 & 255, e3.pending_buf[e3.d_buf + 2 * e3.last_lit + 1] = 255 & t3, e3.pending_buf[e3.l_buf + e3.last_lit] = 255 & n3, e3.last_lit++, 0 === t3 ? e3.dyn_ltree[2 * n3]++ : (e3.matches++, t3--, e3.dyn_ltree[2 * (bc[n3] + ic + 1)]++, e3.dyn_dtree[2 * Cc(t3)]++), e3.last_lit === e3.lit_bufsize - 1;
81145
+ }, nc._tr_align = function(e3) {
81146
+ Ac(e3, 2, 3), Tc(e3, 256, mc), function(e4) {
81147
+ 16 === e4.bi_valid ? (zc(e4, e4.bi_buf), e4.bi_buf = 0, e4.bi_valid = 0) : e4.bi_valid >= 8 && (e4.pending_buf[e4.pending++] = 255 & e4.bi_buf, e4.bi_buf >>= 8, e4.bi_valid -= 8);
81149
81148
  }(e3);
81150
81149
  };
81151
- var qc, Wc = function(e3, t3, n3, r3) {
81150
+ var Mc, qc = function(e3, t3, n3, r3) {
81152
81151
  for (var o3 = 65535 & e3 | 0, i3 = e3 >>> 16 & 65535 | 0, a3 = 0; 0 !== n3; ) {
81153
81152
  n3 -= a3 = n3 > 2e3 ? 2e3 : n3;
81154
81153
  do {
@@ -81157,7 +81156,7 @@ var require_processPagePollCjs = __commonJS({
81157
81156
  o3 %= 65521, i3 %= 65521;
81158
81157
  }
81159
81158
  return o3 | i3 << 16 | 0;
81160
- }, $c = function() {
81159
+ }, Wc = function() {
81161
81160
  for (var e3, t3 = [], n3 = 0; n3 < 256; n3++) {
81162
81161
  e3 = n3;
81163
81162
  for (var r3 = 0; r3 < 8; r3++)
@@ -81165,45 +81164,45 @@ var require_processPagePollCjs = __commonJS({
81165
81164
  t3[n3] = e3;
81166
81165
  }
81167
81166
  return t3;
81168
- }(), Vc = function(e3, t3, n3, r3) {
81169
- var o3 = $c, i3 = r3 + n3;
81167
+ }(), $c = function(e3, t3, n3, r3) {
81168
+ var o3 = Wc, i3 = r3 + n3;
81170
81169
  e3 ^= -1;
81171
81170
  for (var a3 = r3; a3 < i3; a3++)
81172
81171
  e3 = e3 >>> 8 ^ o3[255 & (e3 ^ t3[a3])];
81173
81172
  return -1 ^ e3;
81174
- }, Zc = { 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" }, Kc = ec, Hc = rc, Gc = Wc, Yc = Vc, Xc = Zc, Qc = 0, Jc = 0, eu = -2, tu = 2, nu = 8, ru = 286, ou = 30, iu = 19, au = 2 * ru + 1, su = 15, lu = 3, cu = 258, uu = cu + lu + 1, hu = 42, du = 103, pu = 113, mu = 666;
81175
- function fu(e3, t3) {
81176
- return e3.msg = Xc[t3], t3;
81173
+ }, Vc = { 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" }, Zc = Jl, Kc = nc, Hc = qc, Gc = $c, Yc = Vc, Xc = 0, Qc = 0, Jc = -2, eu = 2, tu = 8, nu = 286, ru = 30, ou = 19, iu = 2 * nu + 1, au = 15, su = 3, lu = 258, cu = lu + su + 1, uu = 42, hu = 103, du = 113, pu = 666;
81174
+ function mu(e3, t3) {
81175
+ return e3.msg = Yc[t3], t3;
81177
81176
  }
81178
- function gu(e3) {
81177
+ function fu(e3) {
81179
81178
  return (e3 << 1) - (e3 > 4 ? 9 : 0);
81180
81179
  }
81181
- function bu(e3) {
81180
+ function gu(e3) {
81182
81181
  for (var t3 = e3.length; --t3 >= 0; )
81183
81182
  e3[t3] = 0;
81184
81183
  }
81185
- function yu(e3) {
81184
+ function bu(e3) {
81186
81185
  var t3 = e3.state, n3 = t3.pending;
81187
- n3 > e3.avail_out && (n3 = e3.avail_out), 0 !== n3 && (Kc.arraySet(e3.output, t3.pending_buf, t3.pending_out, n3, e3.next_out), e3.next_out += n3, t3.pending_out += n3, e3.total_out += n3, e3.avail_out -= n3, t3.pending -= n3, 0 === t3.pending && (t3.pending_out = 0));
81186
+ n3 > e3.avail_out && (n3 = e3.avail_out), 0 !== n3 && (Zc.arraySet(e3.output, t3.pending_buf, t3.pending_out, n3, e3.next_out), e3.next_out += n3, t3.pending_out += n3, e3.total_out += n3, e3.avail_out -= n3, t3.pending -= n3, 0 === t3.pending && (t3.pending_out = 0));
81188
81187
  }
81189
- function ku(e3, t3) {
81190
- Hc._tr_flush_block(e3, e3.block_start >= 0 ? e3.block_start : -1, e3.strstart - e3.block_start, t3), e3.block_start = e3.strstart, yu(e3.strm);
81188
+ function yu(e3, t3) {
81189
+ Kc._tr_flush_block(e3, e3.block_start >= 0 ? e3.block_start : -1, e3.strstart - e3.block_start, t3), e3.block_start = e3.strstart, bu(e3.strm);
81191
81190
  }
81192
- function wu(e3, t3) {
81191
+ function ku(e3, t3) {
81193
81192
  e3.pending_buf[e3.pending++] = t3;
81194
81193
  }
81195
- function vu(e3, t3) {
81194
+ function wu(e3, t3) {
81196
81195
  e3.pending_buf[e3.pending++] = t3 >>> 8 & 255, e3.pending_buf[e3.pending++] = 255 & t3;
81197
81196
  }
81198
- function xu(e3, t3) {
81199
- var n3, r3, o3 = e3.max_chain_length, i3 = e3.strstart, a3 = e3.prev_length, s3 = e3.nice_match, l2 = e3.strstart > e3.w_size - uu ? e3.strstart - (e3.w_size - uu) : 0, c2 = e3.window, u2 = e3.w_mask, h2 = e3.prev, d2 = e3.strstart + cu, p2 = c2[i3 + a3 - 1], m2 = c2[i3 + a3];
81197
+ function vu(e3, t3) {
81198
+ var n3, r3, o3 = e3.max_chain_length, i3 = e3.strstart, a3 = e3.prev_length, s3 = e3.nice_match, l2 = e3.strstart > e3.w_size - cu ? e3.strstart - (e3.w_size - cu) : 0, c2 = e3.window, u2 = e3.w_mask, h2 = e3.prev, d2 = e3.strstart + lu, p2 = c2[i3 + a3 - 1], m2 = c2[i3 + a3];
81200
81199
  e3.prev_length >= e3.good_match && (o3 >>= 2), s3 > e3.lookahead && (s3 = e3.lookahead);
81201
81200
  do {
81202
81201
  if (c2[(n3 = t3) + a3] === m2 && c2[n3 + a3 - 1] === p2 && c2[n3] === c2[i3] && c2[++n3] === c2[i3 + 1]) {
81203
81202
  i3 += 2, n3++;
81204
81203
  do {
81205
81204
  } while (c2[++i3] === c2[++n3] && c2[++i3] === c2[++n3] && c2[++i3] === c2[++n3] && c2[++i3] === c2[++n3] && c2[++i3] === c2[++n3] && c2[++i3] === c2[++n3] && c2[++i3] === c2[++n3] && c2[++i3] === c2[++n3] && i3 < d2);
81206
- if (r3 = cu - (d2 - i3), i3 = d2 - cu, r3 > a3) {
81205
+ if (r3 = lu - (d2 - i3), i3 = d2 - lu, r3 > a3) {
81207
81206
  if (e3.match_start = t3, a3 = r3, r3 >= s3)
81208
81207
  break;
81209
81208
  p2 = c2[i3 + a3 - 1], m2 = c2[i3 + a3];
@@ -81212,11 +81211,11 @@ var require_processPagePollCjs = __commonJS({
81212
81211
  } while ((t3 = h2[t3 & u2]) > l2 && 0 != --o3);
81213
81212
  return a3 <= e3.lookahead ? a3 : e3.lookahead;
81214
81213
  }
81215
- function _u(e3) {
81214
+ function xu(e3) {
81216
81215
  var t3, n3, r3, o3, i3, a3, s3, l2, c2, u2, h2 = e3.w_size;
81217
81216
  do {
81218
- if (o3 = e3.window_size - e3.lookahead - e3.strstart, e3.strstart >= h2 + (h2 - uu)) {
81219
- Kc.arraySet(e3.window, e3.window, h2, h2, 0), e3.match_start -= h2, e3.strstart -= h2, e3.block_start -= h2, t3 = n3 = e3.hash_size;
81217
+ if (o3 = e3.window_size - e3.lookahead - e3.strstart, e3.strstart >= h2 + (h2 - cu)) {
81218
+ Zc.arraySet(e3.window, e3.window, h2, h2, 0), e3.match_start -= h2, e3.strstart -= h2, e3.block_start -= h2, t3 = n3 = e3.hash_size;
81220
81219
  do {
81221
81220
  r3 = e3.head[--t3], e3.head[t3] = r3 >= h2 ? r3 - h2 : 0;
81222
81221
  } while (--n3);
@@ -81228,309 +81227,309 @@ var require_processPagePollCjs = __commonJS({
81228
81227
  }
81229
81228
  if (0 === e3.strm.avail_in)
81230
81229
  break;
81231
- if (a3 = e3.strm, s3 = e3.window, l2 = e3.strstart + e3.lookahead, c2 = o3, u2 = void 0, (u2 = a3.avail_in) > c2 && (u2 = c2), n3 = 0 === u2 ? 0 : (a3.avail_in -= u2, Kc.arraySet(s3, a3.input, a3.next_in, u2, l2), 1 === a3.state.wrap ? a3.adler = Gc(a3.adler, s3, u2, l2) : 2 === a3.state.wrap && (a3.adler = Yc(a3.adler, s3, u2, l2)), a3.next_in += u2, a3.total_in += u2, u2), e3.lookahead += n3, e3.lookahead + e3.insert >= lu)
81232
- for (i3 = e3.strstart - e3.insert, e3.ins_h = e3.window[i3], e3.ins_h = (e3.ins_h << e3.hash_shift ^ e3.window[i3 + 1]) & e3.hash_mask; e3.insert && (e3.ins_h = (e3.ins_h << e3.hash_shift ^ e3.window[i3 + lu - 1]) & e3.hash_mask, e3.prev[i3 & e3.w_mask] = e3.head[e3.ins_h], e3.head[e3.ins_h] = i3, i3++, e3.insert--, !(e3.lookahead + e3.insert < lu)); )
81230
+ if (a3 = e3.strm, s3 = e3.window, l2 = e3.strstart + e3.lookahead, c2 = o3, u2 = void 0, (u2 = a3.avail_in) > c2 && (u2 = c2), n3 = 0 === u2 ? 0 : (a3.avail_in -= u2, Zc.arraySet(s3, a3.input, a3.next_in, u2, l2), 1 === a3.state.wrap ? a3.adler = Hc(a3.adler, s3, u2, l2) : 2 === a3.state.wrap && (a3.adler = Gc(a3.adler, s3, u2, l2)), a3.next_in += u2, a3.total_in += u2, u2), e3.lookahead += n3, e3.lookahead + e3.insert >= su)
81231
+ for (i3 = e3.strstart - e3.insert, e3.ins_h = e3.window[i3], e3.ins_h = (e3.ins_h << e3.hash_shift ^ e3.window[i3 + 1]) & e3.hash_mask; e3.insert && (e3.ins_h = (e3.ins_h << e3.hash_shift ^ e3.window[i3 + su - 1]) & e3.hash_mask, e3.prev[i3 & e3.w_mask] = e3.head[e3.ins_h], e3.head[e3.ins_h] = i3, i3++, e3.insert--, !(e3.lookahead + e3.insert < su)); )
81233
81232
  ;
81234
- } while (e3.lookahead < uu && 0 !== e3.strm.avail_in);
81233
+ } while (e3.lookahead < cu && 0 !== e3.strm.avail_in);
81235
81234
  }
81236
- function Su(e3, t3) {
81235
+ function _u(e3, t3) {
81237
81236
  for (var n3, r3; ; ) {
81238
- if (e3.lookahead < uu) {
81239
- if (_u(e3), e3.lookahead < uu && t3 === Qc)
81237
+ if (e3.lookahead < cu) {
81238
+ if (xu(e3), e3.lookahead < cu && t3 === Xc)
81240
81239
  return 1;
81241
81240
  if (0 === e3.lookahead)
81242
81241
  break;
81243
81242
  }
81244
- if (n3 = 0, e3.lookahead >= lu && (e3.ins_h = (e3.ins_h << e3.hash_shift ^ e3.window[e3.strstart + lu - 1]) & e3.hash_mask, n3 = e3.prev[e3.strstart & e3.w_mask] = e3.head[e3.ins_h], e3.head[e3.ins_h] = e3.strstart), 0 !== n3 && e3.strstart - n3 <= e3.w_size - uu && (e3.match_length = xu(e3, n3)), e3.match_length >= lu)
81245
- if (r3 = Hc._tr_tally(e3, e3.strstart - e3.match_start, e3.match_length - lu), e3.lookahead -= e3.match_length, e3.match_length <= e3.max_lazy_match && e3.lookahead >= lu) {
81243
+ if (n3 = 0, e3.lookahead >= su && (e3.ins_h = (e3.ins_h << e3.hash_shift ^ e3.window[e3.strstart + su - 1]) & e3.hash_mask, n3 = e3.prev[e3.strstart & e3.w_mask] = e3.head[e3.ins_h], e3.head[e3.ins_h] = e3.strstart), 0 !== n3 && e3.strstart - n3 <= e3.w_size - cu && (e3.match_length = vu(e3, n3)), e3.match_length >= su)
81244
+ if (r3 = Kc._tr_tally(e3, e3.strstart - e3.match_start, e3.match_length - su), e3.lookahead -= e3.match_length, e3.match_length <= e3.max_lazy_match && e3.lookahead >= su) {
81246
81245
  e3.match_length--;
81247
81246
  do {
81248
- e3.strstart++, e3.ins_h = (e3.ins_h << e3.hash_shift ^ e3.window[e3.strstart + lu - 1]) & e3.hash_mask, n3 = e3.prev[e3.strstart & e3.w_mask] = e3.head[e3.ins_h], e3.head[e3.ins_h] = e3.strstart;
81247
+ e3.strstart++, e3.ins_h = (e3.ins_h << e3.hash_shift ^ e3.window[e3.strstart + su - 1]) & e3.hash_mask, n3 = e3.prev[e3.strstart & e3.w_mask] = e3.head[e3.ins_h], e3.head[e3.ins_h] = e3.strstart;
81249
81248
  } while (0 != --e3.match_length);
81250
81249
  e3.strstart++;
81251
81250
  } else
81252
81251
  e3.strstart += e3.match_length, e3.match_length = 0, e3.ins_h = e3.window[e3.strstart], e3.ins_h = (e3.ins_h << e3.hash_shift ^ e3.window[e3.strstart + 1]) & e3.hash_mask;
81253
81252
  else
81254
- r3 = Hc._tr_tally(e3, 0, e3.window[e3.strstart]), e3.lookahead--, e3.strstart++;
81255
- if (r3 && (ku(e3, false), 0 === e3.strm.avail_out))
81253
+ r3 = Kc._tr_tally(e3, 0, e3.window[e3.strstart]), e3.lookahead--, e3.strstart++;
81254
+ if (r3 && (yu(e3, false), 0 === e3.strm.avail_out))
81256
81255
  return 1;
81257
81256
  }
81258
- return e3.insert = e3.strstart < lu - 1 ? e3.strstart : lu - 1, 4 === t3 ? (ku(e3, true), 0 === e3.strm.avail_out ? 3 : 4) : e3.last_lit && (ku(e3, false), 0 === e3.strm.avail_out) ? 1 : 2;
81257
+ return e3.insert = e3.strstart < su - 1 ? e3.strstart : su - 1, 4 === t3 ? (yu(e3, true), 0 === e3.strm.avail_out ? 3 : 4) : e3.last_lit && (yu(e3, false), 0 === e3.strm.avail_out) ? 1 : 2;
81259
81258
  }
81260
- function Cu(e3, t3) {
81259
+ function Su(e3, t3) {
81261
81260
  for (var n3, r3, o3; ; ) {
81262
- if (e3.lookahead < uu) {
81263
- if (_u(e3), e3.lookahead < uu && t3 === Qc)
81261
+ if (e3.lookahead < cu) {
81262
+ if (xu(e3), e3.lookahead < cu && t3 === Xc)
81264
81263
  return 1;
81265
81264
  if (0 === e3.lookahead)
81266
81265
  break;
81267
81266
  }
81268
- if (n3 = 0, e3.lookahead >= lu && (e3.ins_h = (e3.ins_h << e3.hash_shift ^ e3.window[e3.strstart + lu - 1]) & e3.hash_mask, n3 = e3.prev[e3.strstart & e3.w_mask] = e3.head[e3.ins_h], e3.head[e3.ins_h] = e3.strstart), e3.prev_length = e3.match_length, e3.prev_match = e3.match_start, e3.match_length = lu - 1, 0 !== n3 && e3.prev_length < e3.max_lazy_match && e3.strstart - n3 <= e3.w_size - uu && (e3.match_length = xu(e3, n3), e3.match_length <= 5 && (1 === e3.strategy || e3.match_length === lu && e3.strstart - e3.match_start > 4096) && (e3.match_length = lu - 1)), e3.prev_length >= lu && e3.match_length <= e3.prev_length) {
81269
- o3 = e3.strstart + e3.lookahead - lu, r3 = Hc._tr_tally(e3, e3.strstart - 1 - e3.prev_match, e3.prev_length - lu), e3.lookahead -= e3.prev_length - 1, e3.prev_length -= 2;
81267
+ if (n3 = 0, e3.lookahead >= su && (e3.ins_h = (e3.ins_h << e3.hash_shift ^ e3.window[e3.strstart + su - 1]) & e3.hash_mask, n3 = e3.prev[e3.strstart & e3.w_mask] = e3.head[e3.ins_h], e3.head[e3.ins_h] = e3.strstart), e3.prev_length = e3.match_length, e3.prev_match = e3.match_start, e3.match_length = su - 1, 0 !== n3 && e3.prev_length < e3.max_lazy_match && e3.strstart - n3 <= e3.w_size - cu && (e3.match_length = vu(e3, n3), e3.match_length <= 5 && (1 === e3.strategy || e3.match_length === su && e3.strstart - e3.match_start > 4096) && (e3.match_length = su - 1)), e3.prev_length >= su && e3.match_length <= e3.prev_length) {
81268
+ o3 = e3.strstart + e3.lookahead - su, r3 = Kc._tr_tally(e3, e3.strstart - 1 - e3.prev_match, e3.prev_length - su), e3.lookahead -= e3.prev_length - 1, e3.prev_length -= 2;
81270
81269
  do {
81271
- ++e3.strstart <= o3 && (e3.ins_h = (e3.ins_h << e3.hash_shift ^ e3.window[e3.strstart + lu - 1]) & e3.hash_mask, n3 = e3.prev[e3.strstart & e3.w_mask] = e3.head[e3.ins_h], e3.head[e3.ins_h] = e3.strstart);
81270
+ ++e3.strstart <= o3 && (e3.ins_h = (e3.ins_h << e3.hash_shift ^ e3.window[e3.strstart + su - 1]) & e3.hash_mask, n3 = e3.prev[e3.strstart & e3.w_mask] = e3.head[e3.ins_h], e3.head[e3.ins_h] = e3.strstart);
81272
81271
  } while (0 != --e3.prev_length);
81273
- if (e3.match_available = 0, e3.match_length = lu - 1, e3.strstart++, r3 && (ku(e3, false), 0 === e3.strm.avail_out))
81272
+ if (e3.match_available = 0, e3.match_length = su - 1, e3.strstart++, r3 && (yu(e3, false), 0 === e3.strm.avail_out))
81274
81273
  return 1;
81275
81274
  } else if (e3.match_available) {
81276
- if ((r3 = Hc._tr_tally(e3, 0, e3.window[e3.strstart - 1])) && ku(e3, false), e3.strstart++, e3.lookahead--, 0 === e3.strm.avail_out)
81275
+ if ((r3 = Kc._tr_tally(e3, 0, e3.window[e3.strstart - 1])) && yu(e3, false), e3.strstart++, e3.lookahead--, 0 === e3.strm.avail_out)
81277
81276
  return 1;
81278
81277
  } else
81279
81278
  e3.match_available = 1, e3.strstart++, e3.lookahead--;
81280
81279
  }
81281
- return e3.match_available && (r3 = Hc._tr_tally(e3, 0, e3.window[e3.strstart - 1]), e3.match_available = 0), e3.insert = e3.strstart < lu - 1 ? e3.strstart : lu - 1, 4 === t3 ? (ku(e3, true), 0 === e3.strm.avail_out ? 3 : 4) : e3.last_lit && (ku(e3, false), 0 === e3.strm.avail_out) ? 1 : 2;
81280
+ return e3.match_available && (r3 = Kc._tr_tally(e3, 0, e3.window[e3.strstart - 1]), e3.match_available = 0), e3.insert = e3.strstart < su - 1 ? e3.strstart : su - 1, 4 === t3 ? (yu(e3, true), 0 === e3.strm.avail_out ? 3 : 4) : e3.last_lit && (yu(e3, false), 0 === e3.strm.avail_out) ? 1 : 2;
81282
81281
  }
81283
- function zu(e3, t3, n3, r3, o3) {
81282
+ function Cu(e3, t3, n3, r3, o3) {
81284
81283
  this.good_length = e3, this.max_lazy = t3, this.nice_length = n3, this.max_chain = r3, this.func = o3;
81285
81284
  }
81286
- function Au() {
81287
- 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 = nu, 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 Kc.Buf16(2 * au), this.dyn_dtree = new Kc.Buf16(2 * (2 * ou + 1)), this.bl_tree = new Kc.Buf16(2 * (2 * iu + 1)), bu(this.dyn_ltree), bu(this.dyn_dtree), bu(this.bl_tree), this.l_desc = null, this.d_desc = null, this.bl_desc = null, this.bl_count = new Kc.Buf16(su + 1), this.heap = new Kc.Buf16(2 * ru + 1), bu(this.heap), this.heap_len = 0, this.heap_max = 0, this.depth = new Kc.Buf16(2 * ru + 1), bu(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;
81285
+ function zu() {
81286
+ 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 = tu, 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 Zc.Buf16(2 * iu), this.dyn_dtree = new Zc.Buf16(2 * (2 * ru + 1)), this.bl_tree = new Zc.Buf16(2 * (2 * ou + 1)), gu(this.dyn_ltree), gu(this.dyn_dtree), gu(this.bl_tree), this.l_desc = null, this.d_desc = null, this.bl_desc = null, this.bl_count = new Zc.Buf16(au + 1), this.heap = new Zc.Buf16(2 * nu + 1), gu(this.heap), this.heap_len = 0, this.heap_max = 0, this.depth = new Zc.Buf16(2 * nu + 1), gu(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;
81288
81287
  }
81289
- function Tu(e3) {
81288
+ function Au(e3) {
81290
81289
  var t3;
81291
- return e3 && e3.state ? (e3.total_in = e3.total_out = 0, e3.data_type = tu, (t3 = e3.state).pending = 0, t3.pending_out = 0, t3.wrap < 0 && (t3.wrap = -t3.wrap), t3.status = t3.wrap ? hu : pu, e3.adler = 2 === t3.wrap ? 0 : 1, t3.last_flush = Qc, Hc._tr_init(t3), Jc) : fu(e3, eu);
81290
+ return e3 && e3.state ? (e3.total_in = e3.total_out = 0, e3.data_type = eu, (t3 = e3.state).pending = 0, t3.pending_out = 0, t3.wrap < 0 && (t3.wrap = -t3.wrap), t3.status = t3.wrap ? uu : du, e3.adler = 2 === t3.wrap ? 0 : 1, t3.last_flush = Xc, Kc._tr_init(t3), Qc) : mu(e3, Jc);
81292
81291
  }
81293
- function Ou(e3) {
81294
- var t3, n3 = Tu(e3);
81295
- return n3 === Jc && ((t3 = e3.state).window_size = 2 * t3.w_size, bu(t3.head), t3.max_lazy_match = qc[t3.level].max_lazy, t3.good_match = qc[t3.level].good_length, t3.nice_match = qc[t3.level].nice_length, t3.max_chain_length = qc[t3.level].max_chain, t3.strstart = 0, t3.block_start = 0, t3.lookahead = 0, t3.insert = 0, t3.match_length = t3.prev_length = lu - 1, t3.match_available = 0, t3.ins_h = 0), n3;
81292
+ function Tu(e3) {
81293
+ var t3, n3 = Au(e3);
81294
+ return n3 === Qc && ((t3 = e3.state).window_size = 2 * t3.w_size, gu(t3.head), t3.max_lazy_match = Mc[t3.level].max_lazy, t3.good_match = Mc[t3.level].good_length, t3.nice_match = Mc[t3.level].nice_length, t3.max_chain_length = Mc[t3.level].max_chain, t3.strstart = 0, t3.block_start = 0, t3.lookahead = 0, t3.insert = 0, t3.match_length = t3.prev_length = su - 1, t3.match_available = 0, t3.ins_h = 0), n3;
81296
81295
  }
81297
- function Lu(e3, t3, n3, r3, o3, i3) {
81296
+ function Ou(e3, t3, n3, r3, o3, i3) {
81298
81297
  if (!e3)
81299
- return eu;
81298
+ return Jc;
81300
81299
  var a3 = 1;
81301
- if (-1 === t3 && (t3 = 6), r3 < 0 ? (a3 = 0, r3 = -r3) : r3 > 15 && (a3 = 2, r3 -= 16), o3 < 1 || o3 > 9 || n3 !== nu || r3 < 8 || r3 > 15 || t3 < 0 || t3 > 9 || i3 < 0 || i3 > 4)
81302
- return fu(e3, eu);
81300
+ if (-1 === t3 && (t3 = 6), r3 < 0 ? (a3 = 0, r3 = -r3) : r3 > 15 && (a3 = 2, r3 -= 16), o3 < 1 || o3 > 9 || n3 !== tu || r3 < 8 || r3 > 15 || t3 < 0 || t3 > 9 || i3 < 0 || i3 > 4)
81301
+ return mu(e3, Jc);
81303
81302
  8 === r3 && (r3 = 9);
81304
- var s3 = new Au();
81305
- return e3.state = s3, s3.strm = e3, s3.wrap = a3, s3.gzhead = null, s3.w_bits = r3, s3.w_size = 1 << s3.w_bits, s3.w_mask = s3.w_size - 1, s3.hash_bits = o3 + 7, s3.hash_size = 1 << s3.hash_bits, s3.hash_mask = s3.hash_size - 1, s3.hash_shift = ~~((s3.hash_bits + lu - 1) / lu), s3.window = new Kc.Buf8(2 * s3.w_size), s3.head = new Kc.Buf16(s3.hash_size), s3.prev = new Kc.Buf16(s3.w_size), s3.lit_bufsize = 1 << o3 + 6, s3.pending_buf_size = 4 * s3.lit_bufsize, s3.pending_buf = new Kc.Buf8(s3.pending_buf_size), s3.d_buf = 1 * s3.lit_bufsize, s3.l_buf = 3 * s3.lit_bufsize, s3.level = t3, s3.strategy = i3, s3.method = n3, Ou(e3);
81303
+ var s3 = new zu();
81304
+ return e3.state = s3, s3.strm = e3, s3.wrap = a3, s3.gzhead = null, s3.w_bits = r3, s3.w_size = 1 << s3.w_bits, s3.w_mask = s3.w_size - 1, s3.hash_bits = o3 + 7, s3.hash_size = 1 << s3.hash_bits, s3.hash_mask = s3.hash_size - 1, s3.hash_shift = ~~((s3.hash_bits + su - 1) / su), s3.window = new Zc.Buf8(2 * s3.w_size), s3.head = new Zc.Buf16(s3.hash_size), s3.prev = new Zc.Buf16(s3.w_size), s3.lit_bufsize = 1 << o3 + 6, s3.pending_buf_size = 4 * s3.lit_bufsize, s3.pending_buf = new Zc.Buf8(s3.pending_buf_size), s3.d_buf = 1 * s3.lit_bufsize, s3.l_buf = 3 * s3.lit_bufsize, s3.level = t3, s3.strategy = i3, s3.method = n3, Tu(e3);
81306
81305
  }
81307
- qc = [new zu(0, 0, 0, 0, function(e3, t3) {
81306
+ Mc = [new Cu(0, 0, 0, 0, function(e3, t3) {
81308
81307
  var n3 = 65535;
81309
81308
  for (n3 > e3.pending_buf_size - 5 && (n3 = e3.pending_buf_size - 5); ; ) {
81310
81309
  if (e3.lookahead <= 1) {
81311
- if (_u(e3), 0 === e3.lookahead && t3 === Qc)
81310
+ if (xu(e3), 0 === e3.lookahead && t3 === Xc)
81312
81311
  return 1;
81313
81312
  if (0 === e3.lookahead)
81314
81313
  break;
81315
81314
  }
81316
81315
  e3.strstart += e3.lookahead, e3.lookahead = 0;
81317
81316
  var r3 = e3.block_start + n3;
81318
- if ((0 === e3.strstart || e3.strstart >= r3) && (e3.lookahead = e3.strstart - r3, e3.strstart = r3, ku(e3, false), 0 === e3.strm.avail_out))
81317
+ if ((0 === e3.strstart || e3.strstart >= r3) && (e3.lookahead = e3.strstart - r3, e3.strstart = r3, yu(e3, false), 0 === e3.strm.avail_out))
81319
81318
  return 1;
81320
- if (e3.strstart - e3.block_start >= e3.w_size - uu && (ku(e3, false), 0 === e3.strm.avail_out))
81319
+ if (e3.strstart - e3.block_start >= e3.w_size - cu && (yu(e3, false), 0 === e3.strm.avail_out))
81321
81320
  return 1;
81322
81321
  }
81323
- return e3.insert = 0, 4 === t3 ? (ku(e3, true), 0 === e3.strm.avail_out ? 3 : 4) : (e3.strstart > e3.block_start && (ku(e3, false), e3.strm.avail_out), 1);
81324
- }), new zu(4, 4, 8, 4, Su), new zu(4, 5, 16, 8, Su), new zu(4, 6, 32, 32, Su), new zu(4, 4, 16, 16, Cu), new zu(8, 16, 32, 32, Cu), new zu(8, 16, 128, 128, Cu), new zu(8, 32, 128, 256, Cu), new zu(32, 128, 258, 1024, Cu), new zu(32, 258, 258, 4096, Cu)], nc.deflateInit = function(e3, t3) {
81325
- return Lu(e3, t3, nu, 15, 8, 0);
81326
- }, nc.deflateInit2 = Lu, nc.deflateReset = Ou, nc.deflateResetKeep = Tu, nc.deflateSetHeader = function(e3, t3) {
81327
- return e3 && e3.state ? 2 !== e3.state.wrap ? eu : (e3.state.gzhead = t3, Jc) : eu;
81328
- }, nc.deflate = function(e3, t3) {
81322
+ return e3.insert = 0, 4 === t3 ? (yu(e3, true), 0 === e3.strm.avail_out ? 3 : 4) : (e3.strstart > e3.block_start && (yu(e3, false), e3.strm.avail_out), 1);
81323
+ }), new Cu(4, 4, 8, 4, _u), new Cu(4, 5, 16, 8, _u), new Cu(4, 6, 32, 32, _u), new Cu(4, 4, 16, 16, Su), new Cu(8, 16, 32, 32, Su), new Cu(8, 16, 128, 128, Su), new Cu(8, 32, 128, 256, Su), new Cu(32, 128, 258, 1024, Su), new Cu(32, 258, 258, 4096, Su)], tc.deflateInit = function(e3, t3) {
81324
+ return Ou(e3, t3, tu, 15, 8, 0);
81325
+ }, tc.deflateInit2 = Ou, tc.deflateReset = Tu, tc.deflateResetKeep = Au, tc.deflateSetHeader = function(e3, t3) {
81326
+ return e3 && e3.state ? 2 !== e3.state.wrap ? Jc : (e3.state.gzhead = t3, Qc) : Jc;
81327
+ }, tc.deflate = function(e3, t3) {
81329
81328
  var n3, r3, o3, i3;
81330
81329
  if (!e3 || !e3.state || t3 > 5 || t3 < 0)
81331
- return e3 ? fu(e3, eu) : eu;
81332
- if (r3 = e3.state, !e3.output || !e3.input && 0 !== e3.avail_in || r3.status === mu && 4 !== t3)
81333
- return fu(e3, 0 === e3.avail_out ? -5 : eu);
81334
- if (r3.strm = e3, n3 = r3.last_flush, r3.last_flush = t3, r3.status === hu)
81330
+ return e3 ? mu(e3, Jc) : Jc;
81331
+ if (r3 = e3.state, !e3.output || !e3.input && 0 !== e3.avail_in || r3.status === pu && 4 !== t3)
81332
+ return mu(e3, 0 === e3.avail_out ? -5 : Jc);
81333
+ if (r3.strm = e3, n3 = r3.last_flush, r3.last_flush = t3, r3.status === uu)
81335
81334
  if (2 === r3.wrap)
81336
- e3.adler = 0, wu(r3, 31), wu(r3, 139), wu(r3, 8), r3.gzhead ? (wu(r3, (r3.gzhead.text ? 1 : 0) + (r3.gzhead.hcrc ? 2 : 0) + (r3.gzhead.extra ? 4 : 0) + (r3.gzhead.name ? 8 : 0) + (r3.gzhead.comment ? 16 : 0)), wu(r3, 255 & r3.gzhead.time), wu(r3, r3.gzhead.time >> 8 & 255), wu(r3, r3.gzhead.time >> 16 & 255), wu(r3, r3.gzhead.time >> 24 & 255), wu(r3, 9 === r3.level ? 2 : r3.strategy >= 2 || r3.level < 2 ? 4 : 0), wu(r3, 255 & r3.gzhead.os), r3.gzhead.extra && r3.gzhead.extra.length && (wu(r3, 255 & r3.gzhead.extra.length), wu(r3, r3.gzhead.extra.length >> 8 & 255)), r3.gzhead.hcrc && (e3.adler = Yc(e3.adler, r3.pending_buf, r3.pending, 0)), r3.gzindex = 0, r3.status = 69) : (wu(r3, 0), wu(r3, 0), wu(r3, 0), wu(r3, 0), wu(r3, 0), wu(r3, 9 === r3.level ? 2 : r3.strategy >= 2 || r3.level < 2 ? 4 : 0), wu(r3, 3), r3.status = pu);
81335
+ e3.adler = 0, ku(r3, 31), ku(r3, 139), ku(r3, 8), r3.gzhead ? (ku(r3, (r3.gzhead.text ? 1 : 0) + (r3.gzhead.hcrc ? 2 : 0) + (r3.gzhead.extra ? 4 : 0) + (r3.gzhead.name ? 8 : 0) + (r3.gzhead.comment ? 16 : 0)), ku(r3, 255 & r3.gzhead.time), ku(r3, r3.gzhead.time >> 8 & 255), ku(r3, r3.gzhead.time >> 16 & 255), ku(r3, r3.gzhead.time >> 24 & 255), ku(r3, 9 === r3.level ? 2 : r3.strategy >= 2 || r3.level < 2 ? 4 : 0), ku(r3, 255 & r3.gzhead.os), r3.gzhead.extra && r3.gzhead.extra.length && (ku(r3, 255 & r3.gzhead.extra.length), ku(r3, r3.gzhead.extra.length >> 8 & 255)), r3.gzhead.hcrc && (e3.adler = Gc(e3.adler, r3.pending_buf, r3.pending, 0)), r3.gzindex = 0, r3.status = 69) : (ku(r3, 0), ku(r3, 0), ku(r3, 0), ku(r3, 0), ku(r3, 0), ku(r3, 9 === r3.level ? 2 : r3.strategy >= 2 || r3.level < 2 ? 4 : 0), ku(r3, 3), r3.status = du);
81337
81336
  else {
81338
- var a3 = nu + (r3.w_bits - 8 << 4) << 8;
81339
- a3 |= (r3.strategy >= 2 || r3.level < 2 ? 0 : r3.level < 6 ? 1 : 6 === r3.level ? 2 : 3) << 6, 0 !== r3.strstart && (a3 |= 32), a3 += 31 - a3 % 31, r3.status = pu, vu(r3, a3), 0 !== r3.strstart && (vu(r3, e3.adler >>> 16), vu(r3, 65535 & e3.adler)), e3.adler = 1;
81337
+ var a3 = tu + (r3.w_bits - 8 << 4) << 8;
81338
+ a3 |= (r3.strategy >= 2 || r3.level < 2 ? 0 : r3.level < 6 ? 1 : 6 === r3.level ? 2 : 3) << 6, 0 !== r3.strstart && (a3 |= 32), a3 += 31 - a3 % 31, r3.status = du, wu(r3, a3), 0 !== r3.strstart && (wu(r3, e3.adler >>> 16), wu(r3, 65535 & e3.adler)), e3.adler = 1;
81340
81339
  }
81341
81340
  if (69 === r3.status)
81342
81341
  if (r3.gzhead.extra) {
81343
- for (o3 = r3.pending; r3.gzindex < (65535 & r3.gzhead.extra.length) && (r3.pending !== r3.pending_buf_size || (r3.gzhead.hcrc && r3.pending > o3 && (e3.adler = Yc(e3.adler, r3.pending_buf, r3.pending - o3, o3)), yu(e3), o3 = r3.pending, r3.pending !== r3.pending_buf_size)); )
81344
- wu(r3, 255 & r3.gzhead.extra[r3.gzindex]), r3.gzindex++;
81345
- r3.gzhead.hcrc && r3.pending > o3 && (e3.adler = Yc(e3.adler, r3.pending_buf, r3.pending - o3, o3)), r3.gzindex === r3.gzhead.extra.length && (r3.gzindex = 0, r3.status = 73);
81342
+ for (o3 = r3.pending; r3.gzindex < (65535 & r3.gzhead.extra.length) && (r3.pending !== r3.pending_buf_size || (r3.gzhead.hcrc && r3.pending > o3 && (e3.adler = Gc(e3.adler, r3.pending_buf, r3.pending - o3, o3)), bu(e3), o3 = r3.pending, r3.pending !== r3.pending_buf_size)); )
81343
+ ku(r3, 255 & r3.gzhead.extra[r3.gzindex]), r3.gzindex++;
81344
+ r3.gzhead.hcrc && r3.pending > o3 && (e3.adler = Gc(e3.adler, r3.pending_buf, r3.pending - o3, o3)), r3.gzindex === r3.gzhead.extra.length && (r3.gzindex = 0, r3.status = 73);
81346
81345
  } else
81347
81346
  r3.status = 73;
81348
81347
  if (73 === r3.status)
81349
81348
  if (r3.gzhead.name) {
81350
81349
  o3 = r3.pending;
81351
81350
  do {
81352
- if (r3.pending === r3.pending_buf_size && (r3.gzhead.hcrc && r3.pending > o3 && (e3.adler = Yc(e3.adler, r3.pending_buf, r3.pending - o3, o3)), yu(e3), o3 = r3.pending, r3.pending === r3.pending_buf_size)) {
81351
+ if (r3.pending === r3.pending_buf_size && (r3.gzhead.hcrc && r3.pending > o3 && (e3.adler = Gc(e3.adler, r3.pending_buf, r3.pending - o3, o3)), bu(e3), o3 = r3.pending, r3.pending === r3.pending_buf_size)) {
81353
81352
  i3 = 1;
81354
81353
  break;
81355
81354
  }
81356
- i3 = r3.gzindex < r3.gzhead.name.length ? 255 & r3.gzhead.name.charCodeAt(r3.gzindex++) : 0, wu(r3, i3);
81355
+ i3 = r3.gzindex < r3.gzhead.name.length ? 255 & r3.gzhead.name.charCodeAt(r3.gzindex++) : 0, ku(r3, i3);
81357
81356
  } while (0 !== i3);
81358
- r3.gzhead.hcrc && r3.pending > o3 && (e3.adler = Yc(e3.adler, r3.pending_buf, r3.pending - o3, o3)), 0 === i3 && (r3.gzindex = 0, r3.status = 91);
81357
+ r3.gzhead.hcrc && r3.pending > o3 && (e3.adler = Gc(e3.adler, r3.pending_buf, r3.pending - o3, o3)), 0 === i3 && (r3.gzindex = 0, r3.status = 91);
81359
81358
  } else
81360
81359
  r3.status = 91;
81361
81360
  if (91 === r3.status)
81362
81361
  if (r3.gzhead.comment) {
81363
81362
  o3 = r3.pending;
81364
81363
  do {
81365
- if (r3.pending === r3.pending_buf_size && (r3.gzhead.hcrc && r3.pending > o3 && (e3.adler = Yc(e3.adler, r3.pending_buf, r3.pending - o3, o3)), yu(e3), o3 = r3.pending, r3.pending === r3.pending_buf_size)) {
81364
+ if (r3.pending === r3.pending_buf_size && (r3.gzhead.hcrc && r3.pending > o3 && (e3.adler = Gc(e3.adler, r3.pending_buf, r3.pending - o3, o3)), bu(e3), o3 = r3.pending, r3.pending === r3.pending_buf_size)) {
81366
81365
  i3 = 1;
81367
81366
  break;
81368
81367
  }
81369
- i3 = r3.gzindex < r3.gzhead.comment.length ? 255 & r3.gzhead.comment.charCodeAt(r3.gzindex++) : 0, wu(r3, i3);
81368
+ i3 = r3.gzindex < r3.gzhead.comment.length ? 255 & r3.gzhead.comment.charCodeAt(r3.gzindex++) : 0, ku(r3, i3);
81370
81369
  } while (0 !== i3);
81371
- r3.gzhead.hcrc && r3.pending > o3 && (e3.adler = Yc(e3.adler, r3.pending_buf, r3.pending - o3, o3)), 0 === i3 && (r3.status = du);
81370
+ r3.gzhead.hcrc && r3.pending > o3 && (e3.adler = Gc(e3.adler, r3.pending_buf, r3.pending - o3, o3)), 0 === i3 && (r3.status = hu);
81372
81371
  } else
81373
- r3.status = du;
81374
- if (r3.status === du && (r3.gzhead.hcrc ? (r3.pending + 2 > r3.pending_buf_size && yu(e3), r3.pending + 2 <= r3.pending_buf_size && (wu(r3, 255 & e3.adler), wu(r3, e3.adler >> 8 & 255), e3.adler = 0, r3.status = pu)) : r3.status = pu), 0 !== r3.pending) {
81375
- if (yu(e3), 0 === e3.avail_out)
81376
- return r3.last_flush = -1, Jc;
81377
- } else if (0 === e3.avail_in && gu(t3) <= gu(n3) && 4 !== t3)
81378
- return fu(e3, -5);
81379
- if (r3.status === mu && 0 !== e3.avail_in)
81380
- return fu(e3, -5);
81381
- if (0 !== e3.avail_in || 0 !== r3.lookahead || t3 !== Qc && r3.status !== mu) {
81372
+ r3.status = hu;
81373
+ if (r3.status === hu && (r3.gzhead.hcrc ? (r3.pending + 2 > r3.pending_buf_size && bu(e3), r3.pending + 2 <= r3.pending_buf_size && (ku(r3, 255 & e3.adler), ku(r3, e3.adler >> 8 & 255), e3.adler = 0, r3.status = du)) : r3.status = du), 0 !== r3.pending) {
81374
+ if (bu(e3), 0 === e3.avail_out)
81375
+ return r3.last_flush = -1, Qc;
81376
+ } else if (0 === e3.avail_in && fu(t3) <= fu(n3) && 4 !== t3)
81377
+ return mu(e3, -5);
81378
+ if (r3.status === pu && 0 !== e3.avail_in)
81379
+ return mu(e3, -5);
81380
+ if (0 !== e3.avail_in || 0 !== r3.lookahead || t3 !== Xc && r3.status !== pu) {
81382
81381
  var s3 = 2 === r3.strategy ? function(e4, t4) {
81383
81382
  for (var n4; ; ) {
81384
- if (0 === e4.lookahead && (_u(e4), 0 === e4.lookahead)) {
81385
- if (t4 === Qc)
81383
+ if (0 === e4.lookahead && (xu(e4), 0 === e4.lookahead)) {
81384
+ if (t4 === Xc)
81386
81385
  return 1;
81387
81386
  break;
81388
81387
  }
81389
- if (e4.match_length = 0, n4 = Hc._tr_tally(e4, 0, e4.window[e4.strstart]), e4.lookahead--, e4.strstart++, n4 && (ku(e4, false), 0 === e4.strm.avail_out))
81388
+ if (e4.match_length = 0, n4 = Kc._tr_tally(e4, 0, e4.window[e4.strstart]), e4.lookahead--, e4.strstart++, n4 && (yu(e4, false), 0 === e4.strm.avail_out))
81390
81389
  return 1;
81391
81390
  }
81392
- return e4.insert = 0, 4 === t4 ? (ku(e4, true), 0 === e4.strm.avail_out ? 3 : 4) : e4.last_lit && (ku(e4, false), 0 === e4.strm.avail_out) ? 1 : 2;
81391
+ return e4.insert = 0, 4 === t4 ? (yu(e4, true), 0 === e4.strm.avail_out ? 3 : 4) : e4.last_lit && (yu(e4, false), 0 === e4.strm.avail_out) ? 1 : 2;
81393
81392
  }(r3, t3) : 3 === r3.strategy ? function(e4, t4) {
81394
81393
  for (var n4, r4, o4, i4, a4 = e4.window; ; ) {
81395
- if (e4.lookahead <= cu) {
81396
- if (_u(e4), e4.lookahead <= cu && t4 === Qc)
81394
+ if (e4.lookahead <= lu) {
81395
+ if (xu(e4), e4.lookahead <= lu && t4 === Xc)
81397
81396
  return 1;
81398
81397
  if (0 === e4.lookahead)
81399
81398
  break;
81400
81399
  }
81401
- if (e4.match_length = 0, e4.lookahead >= lu && e4.strstart > 0 && (r4 = a4[o4 = e4.strstart - 1]) === a4[++o4] && r4 === a4[++o4] && r4 === a4[++o4]) {
81402
- i4 = e4.strstart + cu;
81400
+ if (e4.match_length = 0, e4.lookahead >= su && e4.strstart > 0 && (r4 = a4[o4 = e4.strstart - 1]) === a4[++o4] && r4 === a4[++o4] && r4 === a4[++o4]) {
81401
+ i4 = e4.strstart + lu;
81403
81402
  do {
81404
81403
  } while (r4 === a4[++o4] && r4 === a4[++o4] && r4 === a4[++o4] && r4 === a4[++o4] && r4 === a4[++o4] && r4 === a4[++o4] && r4 === a4[++o4] && r4 === a4[++o4] && o4 < i4);
81405
- e4.match_length = cu - (i4 - o4), e4.match_length > e4.lookahead && (e4.match_length = e4.lookahead);
81404
+ e4.match_length = lu - (i4 - o4), e4.match_length > e4.lookahead && (e4.match_length = e4.lookahead);
81406
81405
  }
81407
- if (e4.match_length >= lu ? (n4 = Hc._tr_tally(e4, 1, e4.match_length - lu), e4.lookahead -= e4.match_length, e4.strstart += e4.match_length, e4.match_length = 0) : (n4 = Hc._tr_tally(e4, 0, e4.window[e4.strstart]), e4.lookahead--, e4.strstart++), n4 && (ku(e4, false), 0 === e4.strm.avail_out))
81406
+ if (e4.match_length >= su ? (n4 = Kc._tr_tally(e4, 1, e4.match_length - su), e4.lookahead -= e4.match_length, e4.strstart += e4.match_length, e4.match_length = 0) : (n4 = Kc._tr_tally(e4, 0, e4.window[e4.strstart]), e4.lookahead--, e4.strstart++), n4 && (yu(e4, false), 0 === e4.strm.avail_out))
81408
81407
  return 1;
81409
81408
  }
81410
- return e4.insert = 0, 4 === t4 ? (ku(e4, true), 0 === e4.strm.avail_out ? 3 : 4) : e4.last_lit && (ku(e4, false), 0 === e4.strm.avail_out) ? 1 : 2;
81411
- }(r3, t3) : qc[r3.level].func(r3, t3);
81412
- if (3 !== s3 && 4 !== s3 || (r3.status = mu), 1 === s3 || 3 === s3)
81413
- return 0 === e3.avail_out && (r3.last_flush = -1), Jc;
81414
- if (2 === s3 && (1 === t3 ? Hc._tr_align(r3) : 5 !== t3 && (Hc._tr_stored_block(r3, 0, 0, false), 3 === t3 && (bu(r3.head), 0 === r3.lookahead && (r3.strstart = 0, r3.block_start = 0, r3.insert = 0))), yu(e3), 0 === e3.avail_out))
81415
- return r3.last_flush = -1, Jc;
81416
- }
81417
- return 4 !== t3 ? Jc : r3.wrap <= 0 ? 1 : (2 === r3.wrap ? (wu(r3, 255 & e3.adler), wu(r3, e3.adler >> 8 & 255), wu(r3, e3.adler >> 16 & 255), wu(r3, e3.adler >> 24 & 255), wu(r3, 255 & e3.total_in), wu(r3, e3.total_in >> 8 & 255), wu(r3, e3.total_in >> 16 & 255), wu(r3, e3.total_in >> 24 & 255)) : (vu(r3, e3.adler >>> 16), vu(r3, 65535 & e3.adler)), yu(e3), r3.wrap > 0 && (r3.wrap = -r3.wrap), 0 !== r3.pending ? Jc : 1);
81418
- }, nc.deflateEnd = function(e3) {
81409
+ return e4.insert = 0, 4 === t4 ? (yu(e4, true), 0 === e4.strm.avail_out ? 3 : 4) : e4.last_lit && (yu(e4, false), 0 === e4.strm.avail_out) ? 1 : 2;
81410
+ }(r3, t3) : Mc[r3.level].func(r3, t3);
81411
+ if (3 !== s3 && 4 !== s3 || (r3.status = pu), 1 === s3 || 3 === s3)
81412
+ return 0 === e3.avail_out && (r3.last_flush = -1), Qc;
81413
+ if (2 === s3 && (1 === t3 ? Kc._tr_align(r3) : 5 !== t3 && (Kc._tr_stored_block(r3, 0, 0, false), 3 === t3 && (gu(r3.head), 0 === r3.lookahead && (r3.strstart = 0, r3.block_start = 0, r3.insert = 0))), bu(e3), 0 === e3.avail_out))
81414
+ return r3.last_flush = -1, Qc;
81415
+ }
81416
+ return 4 !== t3 ? Qc : r3.wrap <= 0 ? 1 : (2 === r3.wrap ? (ku(r3, 255 & e3.adler), ku(r3, e3.adler >> 8 & 255), ku(r3, e3.adler >> 16 & 255), ku(r3, e3.adler >> 24 & 255), ku(r3, 255 & e3.total_in), ku(r3, e3.total_in >> 8 & 255), ku(r3, e3.total_in >> 16 & 255), ku(r3, e3.total_in >> 24 & 255)) : (wu(r3, e3.adler >>> 16), wu(r3, 65535 & e3.adler)), bu(e3), r3.wrap > 0 && (r3.wrap = -r3.wrap), 0 !== r3.pending ? Qc : 1);
81417
+ }, tc.deflateEnd = function(e3) {
81419
81418
  var t3;
81420
- return e3 && e3.state ? (t3 = e3.state.status) !== hu && 69 !== t3 && 73 !== t3 && 91 !== t3 && t3 !== du && t3 !== pu && t3 !== mu ? fu(e3, eu) : (e3.state = null, t3 === pu ? fu(e3, -3) : Jc) : eu;
81421
- }, nc.deflateSetDictionary = function(e3, t3) {
81419
+ return e3 && e3.state ? (t3 = e3.state.status) !== uu && 69 !== t3 && 73 !== t3 && 91 !== t3 && t3 !== hu && t3 !== du && t3 !== pu ? mu(e3, Jc) : (e3.state = null, t3 === du ? mu(e3, -3) : Qc) : Jc;
81420
+ }, tc.deflateSetDictionary = function(e3, t3) {
81422
81421
  var n3, r3, o3, i3, a3, s3, l2, c2, u2 = t3.length;
81423
81422
  if (!e3 || !e3.state)
81424
- return eu;
81425
- if (2 === (i3 = (n3 = e3.state).wrap) || 1 === i3 && n3.status !== hu || n3.lookahead)
81426
- return eu;
81427
- for (1 === i3 && (e3.adler = Gc(e3.adler, t3, u2, 0)), n3.wrap = 0, u2 >= n3.w_size && (0 === i3 && (bu(n3.head), n3.strstart = 0, n3.block_start = 0, n3.insert = 0), c2 = new Kc.Buf8(n3.w_size), Kc.arraySet(c2, t3, u2 - n3.w_size, n3.w_size, 0), t3 = c2, u2 = n3.w_size), a3 = e3.avail_in, s3 = e3.next_in, l2 = e3.input, e3.avail_in = u2, e3.next_in = 0, e3.input = t3, _u(n3); n3.lookahead >= lu; ) {
81428
- r3 = n3.strstart, o3 = n3.lookahead - (lu - 1);
81423
+ return Jc;
81424
+ if (2 === (i3 = (n3 = e3.state).wrap) || 1 === i3 && n3.status !== uu || n3.lookahead)
81425
+ return Jc;
81426
+ for (1 === i3 && (e3.adler = Hc(e3.adler, t3, u2, 0)), n3.wrap = 0, u2 >= n3.w_size && (0 === i3 && (gu(n3.head), n3.strstart = 0, n3.block_start = 0, n3.insert = 0), c2 = new Zc.Buf8(n3.w_size), Zc.arraySet(c2, t3, u2 - n3.w_size, n3.w_size, 0), t3 = c2, u2 = n3.w_size), a3 = e3.avail_in, s3 = e3.next_in, l2 = e3.input, e3.avail_in = u2, e3.next_in = 0, e3.input = t3, xu(n3); n3.lookahead >= su; ) {
81427
+ r3 = n3.strstart, o3 = n3.lookahead - (su - 1);
81429
81428
  do {
81430
- n3.ins_h = (n3.ins_h << n3.hash_shift ^ n3.window[r3 + lu - 1]) & n3.hash_mask, n3.prev[r3 & n3.w_mask] = n3.head[n3.ins_h], n3.head[n3.ins_h] = r3, r3++;
81429
+ n3.ins_h = (n3.ins_h << n3.hash_shift ^ n3.window[r3 + su - 1]) & n3.hash_mask, n3.prev[r3 & n3.w_mask] = n3.head[n3.ins_h], n3.head[n3.ins_h] = r3, r3++;
81431
81430
  } while (--o3);
81432
- n3.strstart = r3, n3.lookahead = lu - 1, _u(n3);
81431
+ n3.strstart = r3, n3.lookahead = su - 1, xu(n3);
81433
81432
  }
81434
- return n3.strstart += n3.lookahead, n3.block_start = n3.strstart, n3.insert = n3.lookahead, n3.lookahead = 0, n3.match_length = n3.prev_length = lu - 1, n3.match_available = 0, e3.next_in = s3, e3.input = l2, e3.avail_in = a3, n3.wrap = i3, Jc;
81435
- }, nc.deflateInfo = "pako deflate (from Nodeca project)";
81436
- var Eu = {}, Ru = ec, Nu = true, ju = true;
81433
+ return n3.strstart += n3.lookahead, n3.block_start = n3.strstart, n3.insert = n3.lookahead, n3.lookahead = 0, n3.match_length = n3.prev_length = su - 1, n3.match_available = 0, e3.next_in = s3, e3.input = l2, e3.avail_in = a3, n3.wrap = i3, Qc;
81434
+ }, tc.deflateInfo = "pako deflate (from Nodeca project)";
81435
+ var Lu = {}, Eu = Jl, Ru = true, Nu = true;
81437
81436
  try {
81438
81437
  String.fromCharCode.apply(null, [0]);
81439
81438
  } catch (t3) {
81440
- Nu = false;
81439
+ Ru = false;
81441
81440
  }
81442
81441
  try {
81443
81442
  String.fromCharCode.apply(null, new Uint8Array(1));
81444
81443
  } catch (t3) {
81445
- ju = false;
81444
+ Nu = false;
81446
81445
  }
81447
- for (var Iu = new Ru.Buf8(256), Du = 0; Du < 256; Du++)
81448
- Iu[Du] = Du >= 252 ? 6 : Du >= 248 ? 5 : Du >= 240 ? 4 : Du >= 224 ? 3 : Du >= 192 ? 2 : 1;
81449
- function Pu(e3, t3) {
81450
- if (t3 < 65534 && (e3.subarray && ju || !e3.subarray && Nu))
81451
- return String.fromCharCode.apply(null, Ru.shrinkBuf(e3, t3));
81446
+ for (var ju = new Eu.Buf8(256), Iu = 0; Iu < 256; Iu++)
81447
+ ju[Iu] = Iu >= 252 ? 6 : Iu >= 248 ? 5 : Iu >= 240 ? 4 : Iu >= 224 ? 3 : Iu >= 192 ? 2 : 1;
81448
+ function Du(e3, t3) {
81449
+ if (t3 < 65534 && (e3.subarray && Nu || !e3.subarray && Ru))
81450
+ return String.fromCharCode.apply(null, Eu.shrinkBuf(e3, t3));
81452
81451
  for (var n3 = "", r3 = 0; r3 < t3; r3++)
81453
81452
  n3 += String.fromCharCode(e3[r3]);
81454
81453
  return n3;
81455
81454
  }
81456
- Iu[254] = Iu[254] = 1, Eu.string2buf = function(e3) {
81455
+ ju[254] = ju[254] = 1, Lu.string2buf = function(e3) {
81457
81456
  var t3, n3, r3, o3, i3, a3 = e3.length, s3 = 0;
81458
81457
  for (o3 = 0; o3 < a3; o3++)
81459
81458
  55296 == (64512 & (n3 = e3.charCodeAt(o3))) && o3 + 1 < a3 && 56320 == (64512 & (r3 = e3.charCodeAt(o3 + 1))) && (n3 = 65536 + (n3 - 55296 << 10) + (r3 - 56320), o3++), s3 += n3 < 128 ? 1 : n3 < 2048 ? 2 : n3 < 65536 ? 3 : 4;
81460
- for (t3 = new Ru.Buf8(s3), i3 = 0, o3 = 0; i3 < s3; o3++)
81459
+ for (t3 = new Eu.Buf8(s3), i3 = 0, o3 = 0; i3 < s3; o3++)
81461
81460
  55296 == (64512 & (n3 = e3.charCodeAt(o3))) && o3 + 1 < a3 && 56320 == (64512 & (r3 = e3.charCodeAt(o3 + 1))) && (n3 = 65536 + (n3 - 55296 << 10) + (r3 - 56320), o3++), n3 < 128 ? t3[i3++] = n3 : n3 < 2048 ? (t3[i3++] = 192 | n3 >>> 6, t3[i3++] = 128 | 63 & n3) : n3 < 65536 ? (t3[i3++] = 224 | n3 >>> 12, t3[i3++] = 128 | n3 >>> 6 & 63, t3[i3++] = 128 | 63 & n3) : (t3[i3++] = 240 | n3 >>> 18, t3[i3++] = 128 | n3 >>> 12 & 63, t3[i3++] = 128 | n3 >>> 6 & 63, t3[i3++] = 128 | 63 & n3);
81462
81461
  return t3;
81463
- }, Eu.buf2binstring = function(e3) {
81464
- return Pu(e3, e3.length);
81465
- }, Eu.binstring2buf = function(e3) {
81466
- for (var t3 = new Ru.Buf8(e3.length), n3 = 0, r3 = t3.length; n3 < r3; n3++)
81462
+ }, Lu.buf2binstring = function(e3) {
81463
+ return Du(e3, e3.length);
81464
+ }, Lu.binstring2buf = function(e3) {
81465
+ for (var t3 = new Eu.Buf8(e3.length), n3 = 0, r3 = t3.length; n3 < r3; n3++)
81467
81466
  t3[n3] = e3.charCodeAt(n3);
81468
81467
  return t3;
81469
- }, Eu.buf2string = function(e3, t3) {
81468
+ }, Lu.buf2string = function(e3, t3) {
81470
81469
  var n3, r3, o3, i3, a3 = t3 || e3.length, s3 = new Array(2 * a3);
81471
81470
  for (r3 = 0, n3 = 0; n3 < a3; )
81472
81471
  if ((o3 = e3[n3++]) < 128)
81473
81472
  s3[r3++] = o3;
81474
- else if ((i3 = Iu[o3]) > 4)
81473
+ else if ((i3 = ju[o3]) > 4)
81475
81474
  s3[r3++] = 65533, n3 += i3 - 1;
81476
81475
  else {
81477
81476
  for (o3 &= 2 === i3 ? 31 : 3 === i3 ? 15 : 7; i3 > 1 && n3 < a3; )
81478
81477
  o3 = o3 << 6 | 63 & e3[n3++], i3--;
81479
81478
  i3 > 1 ? s3[r3++] = 65533 : o3 < 65536 ? s3[r3++] = o3 : (o3 -= 65536, s3[r3++] = 55296 | o3 >> 10 & 1023, s3[r3++] = 56320 | 1023 & o3);
81480
81479
  }
81481
- return Pu(s3, r3);
81482
- }, Eu.utf8border = function(e3, t3) {
81480
+ return Du(s3, r3);
81481
+ }, Lu.utf8border = function(e3, t3) {
81483
81482
  var n3;
81484
81483
  for ((t3 = t3 || e3.length) > e3.length && (t3 = e3.length), n3 = t3 - 1; n3 >= 0 && 128 == (192 & e3[n3]); )
81485
81484
  n3--;
81486
- return n3 < 0 || 0 === n3 ? t3 : n3 + Iu[e3[n3]] > t3 ? n3 : t3;
81485
+ return n3 < 0 || 0 === n3 ? t3 : n3 + ju[e3[n3]] > t3 ? n3 : t3;
81487
81486
  };
81488
- var Bu = function() {
81487
+ var Pu = function() {
81489
81488
  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;
81490
- }, Fu = nc, Uu = ec, Mu = Eu, qu = Zc, Wu = Bu, $u = Object.prototype.toString, Vu = 0, Zu = -1, Ku = 0, Hu = 8;
81491
- function Gu(e3) {
81492
- if (!(this instanceof Gu))
81493
- return new Gu(e3);
81494
- this.options = Uu.assign({ level: Zu, method: Hu, chunkSize: 16384, windowBits: 15, memLevel: 8, strategy: Ku, to: "" }, e3 || {});
81489
+ }, Bu = tc, Fu = Jl, Uu = Lu, Mu = Vc, qu = Pu, Wu = Object.prototype.toString, $u = 0, Vu = -1, Zu = 0, Ku = 8;
81490
+ function Hu(e3) {
81491
+ if (!(this instanceof Hu))
81492
+ return new Hu(e3);
81493
+ this.options = Fu.assign({ level: Vu, method: Ku, chunkSize: 16384, windowBits: 15, memLevel: 8, strategy: Zu, to: "" }, e3 || {});
81495
81494
  var t3 = this.options;
81496
- t3.raw && t3.windowBits > 0 ? t3.windowBits = -t3.windowBits : t3.gzip && t3.windowBits > 0 && t3.windowBits < 16 && (t3.windowBits += 16), this.err = 0, this.msg = "", this.ended = false, this.chunks = [], this.strm = new Wu(), this.strm.avail_out = 0;
81497
- var n3 = Fu.deflateInit2(this.strm, t3.level, t3.method, t3.windowBits, t3.memLevel, t3.strategy);
81498
- if (n3 !== Vu)
81499
- throw new Error(qu[n3]);
81500
- if (t3.header && Fu.deflateSetHeader(this.strm, t3.header), t3.dictionary) {
81495
+ t3.raw && t3.windowBits > 0 ? t3.windowBits = -t3.windowBits : t3.gzip && t3.windowBits > 0 && t3.windowBits < 16 && (t3.windowBits += 16), this.err = 0, this.msg = "", this.ended = false, this.chunks = [], this.strm = new qu(), this.strm.avail_out = 0;
81496
+ var n3 = Bu.deflateInit2(this.strm, t3.level, t3.method, t3.windowBits, t3.memLevel, t3.strategy);
81497
+ if (n3 !== $u)
81498
+ throw new Error(Mu[n3]);
81499
+ if (t3.header && Bu.deflateSetHeader(this.strm, t3.header), t3.dictionary) {
81501
81500
  var r3;
81502
- if (r3 = "string" == typeof t3.dictionary ? Mu.string2buf(t3.dictionary) : "[object ArrayBuffer]" === $u.call(t3.dictionary) ? new Uint8Array(t3.dictionary) : t3.dictionary, (n3 = Fu.deflateSetDictionary(this.strm, r3)) !== Vu)
81503
- throw new Error(qu[n3]);
81501
+ if (r3 = "string" == typeof t3.dictionary ? Uu.string2buf(t3.dictionary) : "[object ArrayBuffer]" === Wu.call(t3.dictionary) ? new Uint8Array(t3.dictionary) : t3.dictionary, (n3 = Bu.deflateSetDictionary(this.strm, r3)) !== $u)
81502
+ throw new Error(Mu[n3]);
81504
81503
  this._dict_set = true;
81505
81504
  }
81506
81505
  }
81507
- function Yu(e3, t3) {
81508
- var n3 = new Gu(t3);
81506
+ function Gu(e3, t3) {
81507
+ var n3 = new Hu(t3);
81509
81508
  if (n3.push(e3, true), n3.err)
81510
- throw n3.msg || qu[n3.err];
81509
+ throw n3.msg || Mu[n3.err];
81511
81510
  return n3.result;
81512
81511
  }
81513
- Gu.prototype.push = function(e3, t3) {
81512
+ Hu.prototype.push = function(e3, t3) {
81514
81513
  var n3, r3, o3 = this.strm, i3 = this.options.chunkSize;
81515
81514
  if (this.ended)
81516
81515
  return false;
81517
- r3 = t3 === ~~t3 ? t3 : true === t3 ? 4 : 0, "string" == typeof e3 ? o3.input = Mu.string2buf(e3) : "[object ArrayBuffer]" === $u.call(e3) ? o3.input = new Uint8Array(e3) : o3.input = e3, o3.next_in = 0, o3.avail_in = o3.input.length;
81516
+ r3 = t3 === ~~t3 ? t3 : true === t3 ? 4 : 0, "string" == typeof e3 ? o3.input = Uu.string2buf(e3) : "[object ArrayBuffer]" === Wu.call(e3) ? o3.input = new Uint8Array(e3) : o3.input = e3, o3.next_in = 0, o3.avail_in = o3.input.length;
81518
81517
  do {
81519
- if (0 === o3.avail_out && (o3.output = new Uu.Buf8(i3), o3.next_out = 0, o3.avail_out = i3), 1 !== (n3 = Fu.deflate(o3, r3)) && n3 !== Vu)
81518
+ if (0 === o3.avail_out && (o3.output = new Fu.Buf8(i3), o3.next_out = 0, o3.avail_out = i3), 1 !== (n3 = Bu.deflate(o3, r3)) && n3 !== $u)
81520
81519
  return this.onEnd(n3), this.ended = true, false;
81521
- 0 !== o3.avail_out && (0 !== o3.avail_in || 4 !== r3 && 2 !== r3) || ("string" === this.options.to ? this.onData(Mu.buf2binstring(Uu.shrinkBuf(o3.output, o3.next_out))) : this.onData(Uu.shrinkBuf(o3.output, o3.next_out)));
81520
+ 0 !== o3.avail_out && (0 !== o3.avail_in || 4 !== r3 && 2 !== r3) || ("string" === this.options.to ? this.onData(Uu.buf2binstring(Fu.shrinkBuf(o3.output, o3.next_out))) : this.onData(Fu.shrinkBuf(o3.output, o3.next_out)));
81522
81521
  } while ((o3.avail_in > 0 || 0 === o3.avail_out) && 1 !== n3);
81523
- return 4 === r3 ? (n3 = Fu.deflateEnd(this.strm), this.onEnd(n3), this.ended = true, n3 === Vu) : 2 !== r3 || (this.onEnd(Vu), o3.avail_out = 0, true);
81524
- }, Gu.prototype.onData = function(e3) {
81522
+ return 4 === r3 ? (n3 = Bu.deflateEnd(this.strm), this.onEnd(n3), this.ended = true, n3 === $u) : 2 !== r3 || (this.onEnd($u), o3.avail_out = 0, true);
81523
+ }, Hu.prototype.onData = function(e3) {
81525
81524
  this.chunks.push(e3);
81526
- }, Gu.prototype.onEnd = function(e3) {
81527
- e3 === Vu && ("string" === this.options.to ? this.result = this.chunks.join("") : this.result = Uu.flattenChunks(this.chunks)), this.chunks = [], this.err = e3, this.msg = this.strm.msg;
81528
- }, tc.Deflate = Gu, tc.deflate = Yu, tc.deflateRaw = function(e3, t3) {
81529
- return (t3 = t3 || {}).raw = true, Yu(e3, t3);
81530
- }, tc.gzip = function(e3, t3) {
81531
- return (t3 = t3 || {}).gzip = true, Yu(e3, t3);
81525
+ }, Hu.prototype.onEnd = function(e3) {
81526
+ e3 === $u && ("string" === this.options.to ? this.result = this.chunks.join("") : this.result = Fu.flattenChunks(this.chunks)), this.chunks = [], this.err = e3, this.msg = this.strm.msg;
81527
+ }, ec.Deflate = Hu, ec.deflate = Gu, ec.deflateRaw = function(e3, t3) {
81528
+ return (t3 = t3 || {}).raw = true, Gu(e3, t3);
81529
+ }, ec.gzip = function(e3, t3) {
81530
+ return (t3 = t3 || {}).gzip = true, Gu(e3, t3);
81532
81531
  };
81533
- var Xu = {}, Qu = {}, Ju = ec, eh = [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], th = [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], nh = [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], rh = [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], oh = ec, ih = Wc, ah = Vc, sh = function(e3, t3) {
81532
+ var Yu = {}, Xu = {}, Qu = Jl, Ju = [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], eh = [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], th = [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], nh = [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], rh = Jl, oh = qc, ih = $c, ah = function(e3, t3) {
81534
81533
  var n3, r3, o3, i3, a3, s3, l2, c2, u2, h2, d2, p2, m2, f2, g2, b2, y2, k2, w2, v2, x2, _2, S2, C2, z2;
81535
81534
  n3 = e3.state, r3 = e3.next_in, C2 = e3.input, o3 = r3 + (e3.avail_in - 5), i3 = e3.next_out, z2 = e3.output, a3 = i3 - (t3 - e3.avail_out), s3 = i3 + (e3.avail_out - 257), l2 = n3.dmax, c2 = n3.wsize, u2 = n3.whave, h2 = n3.wnext, d2 = n3.window, p2 = n3.hold, m2 = n3.bits, f2 = n3.lencode, g2 = n3.distcode, b2 = (1 << n3.lenbits) - 1, y2 = (1 << n3.distbits) - 1;
81536
81535
  e:
@@ -81619,8 +81618,8 @@ var require_processPagePollCjs = __commonJS({
81619
81618
  }
81620
81619
  } while (r3 < o3 && i3 < s3);
81621
81620
  r3 -= v2 = m2 >> 3, p2 &= (1 << (m2 -= v2 << 3)) - 1, e3.next_in = r3, e3.next_out = i3, e3.avail_in = r3 < o3 ? o3 - r3 + 5 : 5 - (r3 - o3), e3.avail_out = i3 < s3 ? s3 - i3 + 257 : 257 - (i3 - s3), n3.hold = p2, n3.bits = m2;
81622
- }, lh = function(e3, t3, n3, r3, o3, i3, a3, s3) {
81623
- var l2, c2, u2, h2, d2, p2, m2, f2, g2, b2 = s3.bits, y2 = 0, k2 = 0, w2 = 0, v2 = 0, x2 = 0, _2 = 0, S2 = 0, C2 = 0, z2 = 0, A2 = 0, T2 = null, O2 = 0, L2 = new Ju.Buf16(16), E2 = new Ju.Buf16(16), R2 = null, N2 = 0;
81621
+ }, sh = function(e3, t3, n3, r3, o3, i3, a3, s3) {
81622
+ var l2, c2, u2, h2, d2, p2, m2, f2, g2, b2 = s3.bits, y2 = 0, k2 = 0, w2 = 0, v2 = 0, x2 = 0, _2 = 0, S2 = 0, C2 = 0, z2 = 0, A2 = 0, T2 = null, O2 = 0, L2 = new Qu.Buf16(16), E2 = new Qu.Buf16(16), R2 = null, N2 = 0;
81624
81623
  for (y2 = 0; y2 <= 15; y2++)
81625
81624
  L2[y2] = 0;
81626
81625
  for (k2 = 0; k2 < r3; k2++)
@@ -81640,7 +81639,7 @@ var require_processPagePollCjs = __commonJS({
81640
81639
  E2[y2 + 1] = E2[y2] + L2[y2];
81641
81640
  for (k2 = 0; k2 < r3; k2++)
81642
81641
  0 !== t3[n3 + k2] && (a3[E2[t3[n3 + k2]]++] = k2);
81643
- if (0 === e3 ? (T2 = R2 = a3, p2 = 19) : 1 === e3 ? (T2 = eh, O2 -= 257, R2 = th, N2 -= 257, p2 = 256) : (T2 = nh, R2 = rh, p2 = -1), A2 = 0, k2 = 0, y2 = w2, d2 = i3, _2 = x2, S2 = 0, u2 = -1, h2 = (z2 = 1 << x2) - 1, 1 === e3 && z2 > 852 || 2 === e3 && z2 > 592)
81642
+ if (0 === e3 ? (T2 = R2 = a3, p2 = 19) : 1 === e3 ? (T2 = Ju, O2 -= 257, R2 = eh, N2 -= 257, p2 = 256) : (T2 = th, R2 = nh, p2 = -1), A2 = 0, k2 = 0, y2 = w2, d2 = i3, _2 = x2, S2 = 0, u2 = -1, h2 = (z2 = 1 << x2) - 1, 1 === e3 && z2 > 852 || 2 === e3 && z2 > 592)
81644
81643
  return 1;
81645
81644
  for (; ; ) {
81646
81645
  m2 = y2 - S2, a3[k2] < p2 ? (f2 = 0, g2 = a3[k2]) : a3[k2] > p2 ? (f2 = R2[N2 + a3[k2]], g2 = T2[O2 + a3[k2]]) : (f2 = 96, g2 = 0), l2 = 1 << y2 - S2, w2 = c2 = 1 << _2;
@@ -81663,34 +81662,34 @@ var require_processPagePollCjs = __commonJS({
81663
81662
  }
81664
81663
  }
81665
81664
  return 0 !== A2 && (o3[d2 + A2] = y2 - S2 << 24 | 64 << 16 | 0), s3.bits = x2, 0;
81666
- }, ch = 0, uh = -2, hh = 1, dh = 12, ph = 30, mh = 852, fh = 592;
81667
- function gh(e3) {
81665
+ }, lh = 0, ch = -2, uh = 1, hh = 12, dh = 30, ph = 852, mh = 592;
81666
+ function fh(e3) {
81668
81667
  return (e3 >>> 24 & 255) + (e3 >>> 8 & 65280) + ((65280 & e3) << 8) + ((255 & e3) << 24);
81669
81668
  }
81670
- function bh() {
81671
- this.mode = 0, this.last = false, this.wrap = 0, this.havedict = false, 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 oh.Buf16(320), this.work = new oh.Buf16(288), this.lendyn = null, this.distdyn = null, this.sane = 0, this.back = 0, this.was = 0;
81669
+ function gh() {
81670
+ this.mode = 0, this.last = false, this.wrap = 0, this.havedict = false, 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 rh.Buf16(320), this.work = new rh.Buf16(288), this.lendyn = null, this.distdyn = null, this.sane = 0, this.back = 0, this.was = 0;
81672
81671
  }
81673
- function yh(e3) {
81672
+ function bh(e3) {
81674
81673
  var t3;
81675
- return e3 && e3.state ? (t3 = e3.state, e3.total_in = e3.total_out = t3.total = 0, e3.msg = "", t3.wrap && (e3.adler = 1 & t3.wrap), t3.mode = hh, t3.last = 0, t3.havedict = 0, t3.dmax = 32768, t3.head = null, t3.hold = 0, t3.bits = 0, t3.lencode = t3.lendyn = new oh.Buf32(mh), t3.distcode = t3.distdyn = new oh.Buf32(fh), t3.sane = 1, t3.back = -1, ch) : uh;
81674
+ return e3 && e3.state ? (t3 = e3.state, e3.total_in = e3.total_out = t3.total = 0, e3.msg = "", t3.wrap && (e3.adler = 1 & t3.wrap), t3.mode = uh, t3.last = 0, t3.havedict = 0, t3.dmax = 32768, t3.head = null, t3.hold = 0, t3.bits = 0, t3.lencode = t3.lendyn = new rh.Buf32(ph), t3.distcode = t3.distdyn = new rh.Buf32(mh), t3.sane = 1, t3.back = -1, lh) : ch;
81676
81675
  }
81677
- function kh(e3) {
81676
+ function yh(e3) {
81678
81677
  var t3;
81679
- return e3 && e3.state ? ((t3 = e3.state).wsize = 0, t3.whave = 0, t3.wnext = 0, yh(e3)) : uh;
81678
+ return e3 && e3.state ? ((t3 = e3.state).wsize = 0, t3.whave = 0, t3.wnext = 0, bh(e3)) : ch;
81680
81679
  }
81681
- function wh(e3, t3) {
81680
+ function kh(e3, t3) {
81682
81681
  var n3, r3;
81683
- return e3 && e3.state ? (r3 = e3.state, t3 < 0 ? (n3 = 0, t3 = -t3) : (n3 = 1 + (t3 >> 4), t3 < 48 && (t3 &= 15)), t3 && (t3 < 8 || t3 > 15) ? uh : (null !== r3.window && r3.wbits !== t3 && (r3.window = null), r3.wrap = n3, r3.wbits = t3, kh(e3))) : uh;
81682
+ return e3 && e3.state ? (r3 = e3.state, t3 < 0 ? (n3 = 0, t3 = -t3) : (n3 = 1 + (t3 >> 4), t3 < 48 && (t3 &= 15)), t3 && (t3 < 8 || t3 > 15) ? ch : (null !== r3.window && r3.wbits !== t3 && (r3.window = null), r3.wrap = n3, r3.wbits = t3, yh(e3))) : ch;
81684
81683
  }
81685
- function vh(e3, t3) {
81684
+ function wh(e3, t3) {
81686
81685
  var n3, r3;
81687
- return e3 ? (r3 = new bh(), e3.state = r3, r3.window = null, (n3 = wh(e3, t3)) !== ch && (e3.state = null), n3) : uh;
81686
+ return e3 ? (r3 = new gh(), e3.state = r3, r3.window = null, (n3 = kh(e3, t3)) !== lh && (e3.state = null), n3) : ch;
81688
81687
  }
81689
- var xh, _h, Sh = true;
81690
- function Ch(e3) {
81691
- if (Sh) {
81688
+ var vh, xh, _h = true;
81689
+ function Sh(e3) {
81690
+ if (_h) {
81692
81691
  var t3;
81693
- for (xh = new oh.Buf32(512), _h = new oh.Buf32(32), t3 = 0; t3 < 144; )
81692
+ for (vh = new rh.Buf32(512), xh = new rh.Buf32(32), t3 = 0; t3 < 144; )
81694
81693
  e3.lens[t3++] = 8;
81695
81694
  for (; t3 < 256; )
81696
81695
  e3.lens[t3++] = 9;
@@ -81698,27 +81697,27 @@ var require_processPagePollCjs = __commonJS({
81698
81697
  e3.lens[t3++] = 7;
81699
81698
  for (; t3 < 288; )
81700
81699
  e3.lens[t3++] = 8;
81701
- for (lh(1, e3.lens, 0, 288, xh, 0, e3.work, { bits: 9 }), t3 = 0; t3 < 32; )
81700
+ for (sh(1, e3.lens, 0, 288, vh, 0, e3.work, { bits: 9 }), t3 = 0; t3 < 32; )
81702
81701
  e3.lens[t3++] = 5;
81703
- lh(2, e3.lens, 0, 32, _h, 0, e3.work, { bits: 5 }), Sh = false;
81702
+ sh(2, e3.lens, 0, 32, xh, 0, e3.work, { bits: 5 }), _h = false;
81704
81703
  }
81705
- e3.lencode = xh, e3.lenbits = 9, e3.distcode = _h, e3.distbits = 5;
81704
+ e3.lencode = vh, e3.lenbits = 9, e3.distcode = xh, e3.distbits = 5;
81706
81705
  }
81707
- function zh(e3, t3, n3, r3) {
81706
+ function Ch(e3, t3, n3, r3) {
81708
81707
  var o3, i3 = e3.state;
81709
- return null === i3.window && (i3.wsize = 1 << i3.wbits, i3.wnext = 0, i3.whave = 0, i3.window = new oh.Buf8(i3.wsize)), r3 >= i3.wsize ? (oh.arraySet(i3.window, t3, n3 - i3.wsize, i3.wsize, 0), i3.wnext = 0, i3.whave = i3.wsize) : ((o3 = i3.wsize - i3.wnext) > r3 && (o3 = r3), oh.arraySet(i3.window, t3, n3 - r3, o3, i3.wnext), (r3 -= o3) ? (oh.arraySet(i3.window, t3, n3 - r3, r3, 0), i3.wnext = r3, i3.whave = i3.wsize) : (i3.wnext += o3, i3.wnext === i3.wsize && (i3.wnext = 0), i3.whave < i3.wsize && (i3.whave += o3))), 0;
81708
+ return null === i3.window && (i3.wsize = 1 << i3.wbits, i3.wnext = 0, i3.whave = 0, i3.window = new rh.Buf8(i3.wsize)), r3 >= i3.wsize ? (rh.arraySet(i3.window, t3, n3 - i3.wsize, i3.wsize, 0), i3.wnext = 0, i3.whave = i3.wsize) : ((o3 = i3.wsize - i3.wnext) > r3 && (o3 = r3), rh.arraySet(i3.window, t3, n3 - r3, o3, i3.wnext), (r3 -= o3) ? (rh.arraySet(i3.window, t3, n3 - r3, r3, 0), i3.wnext = r3, i3.whave = i3.wsize) : (i3.wnext += o3, i3.wnext === i3.wsize && (i3.wnext = 0), i3.whave < i3.wsize && (i3.whave += o3))), 0;
81710
81709
  }
81711
- Qu.inflateReset = kh, Qu.inflateReset2 = wh, Qu.inflateResetKeep = yh, Qu.inflateInit = function(e3) {
81712
- return vh(e3, 15);
81713
- }, Qu.inflateInit2 = vh, Qu.inflate = function(e3, t3) {
81714
- var n3, r3, o3, i3, a3, s3, l2, c2, u2, h2, d2, p2, m2, f2, g2, b2, y2, k2, w2, v2, x2, _2, S2, C2, z2 = 0, A2 = new oh.Buf8(4), T2 = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15];
81710
+ Xu.inflateReset = yh, Xu.inflateReset2 = kh, Xu.inflateResetKeep = bh, Xu.inflateInit = function(e3) {
81711
+ return wh(e3, 15);
81712
+ }, Xu.inflateInit2 = wh, Xu.inflate = function(e3, t3) {
81713
+ var n3, r3, o3, i3, a3, s3, l2, c2, u2, h2, d2, p2, m2, f2, g2, b2, y2, k2, w2, v2, x2, _2, S2, C2, z2 = 0, A2 = new rh.Buf8(4), T2 = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15];
81715
81714
  if (!e3 || !e3.state || !e3.output || !e3.input && 0 !== e3.avail_in)
81716
- return uh;
81717
- (n3 = e3.state).mode === dh && (n3.mode = 13), a3 = e3.next_out, o3 = e3.output, l2 = e3.avail_out, i3 = e3.next_in, r3 = e3.input, s3 = e3.avail_in, c2 = n3.hold, u2 = n3.bits, h2 = s3, d2 = l2, _2 = ch;
81715
+ return ch;
81716
+ (n3 = e3.state).mode === hh && (n3.mode = 13), a3 = e3.next_out, o3 = e3.output, l2 = e3.avail_out, i3 = e3.next_in, r3 = e3.input, s3 = e3.avail_in, c2 = n3.hold, u2 = n3.bits, h2 = s3, d2 = l2, _2 = lh;
81718
81717
  e:
81719
81718
  for (; ; )
81720
81719
  switch (n3.mode) {
81721
- case hh:
81720
+ case uh:
81722
81721
  if (0 === n3.wrap) {
81723
81722
  n3.mode = 13;
81724
81723
  break;
@@ -81729,24 +81728,24 @@ var require_processPagePollCjs = __commonJS({
81729
81728
  s3--, c2 += r3[i3++] << u2, u2 += 8;
81730
81729
  }
81731
81730
  if (2 & n3.wrap && 35615 === c2) {
81732
- n3.check = 0, A2[0] = 255 & c2, A2[1] = c2 >>> 8 & 255, n3.check = ah(n3.check, A2, 2, 0), c2 = 0, u2 = 0, n3.mode = 2;
81731
+ n3.check = 0, A2[0] = 255 & c2, A2[1] = c2 >>> 8 & 255, n3.check = ih(n3.check, A2, 2, 0), c2 = 0, u2 = 0, n3.mode = 2;
81733
81732
  break;
81734
81733
  }
81735
81734
  if (n3.flags = 0, n3.head && (n3.head.done = false), !(1 & n3.wrap) || (((255 & c2) << 8) + (c2 >> 8)) % 31) {
81736
- e3.msg = "incorrect header check", n3.mode = ph;
81735
+ e3.msg = "incorrect header check", n3.mode = dh;
81737
81736
  break;
81738
81737
  }
81739
81738
  if (8 != (15 & c2)) {
81740
- e3.msg = "unknown compression method", n3.mode = ph;
81739
+ e3.msg = "unknown compression method", n3.mode = dh;
81741
81740
  break;
81742
81741
  }
81743
81742
  if (u2 -= 4, x2 = 8 + (15 & (c2 >>>= 4)), 0 === n3.wbits)
81744
81743
  n3.wbits = x2;
81745
81744
  else if (x2 > n3.wbits) {
81746
- e3.msg = "invalid window size", n3.mode = ph;
81745
+ e3.msg = "invalid window size", n3.mode = dh;
81747
81746
  break;
81748
81747
  }
81749
- n3.dmax = 1 << x2, e3.adler = n3.check = 1, n3.mode = 512 & c2 ? 10 : dh, c2 = 0, u2 = 0;
81748
+ n3.dmax = 1 << x2, e3.adler = n3.check = 1, n3.mode = 512 & c2 ? 10 : hh, c2 = 0, u2 = 0;
81750
81749
  break;
81751
81750
  case 2:
81752
81751
  for (; u2 < 16; ) {
@@ -81755,28 +81754,28 @@ var require_processPagePollCjs = __commonJS({
81755
81754
  s3--, c2 += r3[i3++] << u2, u2 += 8;
81756
81755
  }
81757
81756
  if (n3.flags = c2, 8 != (255 & n3.flags)) {
81758
- e3.msg = "unknown compression method", n3.mode = ph;
81757
+ e3.msg = "unknown compression method", n3.mode = dh;
81759
81758
  break;
81760
81759
  }
81761
81760
  if (57344 & n3.flags) {
81762
- e3.msg = "unknown header flags set", n3.mode = ph;
81761
+ e3.msg = "unknown header flags set", n3.mode = dh;
81763
81762
  break;
81764
81763
  }
81765
- n3.head && (n3.head.text = c2 >> 8 & 1), 512 & n3.flags && (A2[0] = 255 & c2, A2[1] = c2 >>> 8 & 255, n3.check = ah(n3.check, A2, 2, 0)), c2 = 0, u2 = 0, n3.mode = 3;
81764
+ n3.head && (n3.head.text = c2 >> 8 & 1), 512 & n3.flags && (A2[0] = 255 & c2, A2[1] = c2 >>> 8 & 255, n3.check = ih(n3.check, A2, 2, 0)), c2 = 0, u2 = 0, n3.mode = 3;
81766
81765
  case 3:
81767
81766
  for (; u2 < 32; ) {
81768
81767
  if (0 === s3)
81769
81768
  break e;
81770
81769
  s3--, c2 += r3[i3++] << u2, u2 += 8;
81771
81770
  }
81772
- n3.head && (n3.head.time = c2), 512 & n3.flags && (A2[0] = 255 & c2, A2[1] = c2 >>> 8 & 255, A2[2] = c2 >>> 16 & 255, A2[3] = c2 >>> 24 & 255, n3.check = ah(n3.check, A2, 4, 0)), c2 = 0, u2 = 0, n3.mode = 4;
81771
+ n3.head && (n3.head.time = c2), 512 & n3.flags && (A2[0] = 255 & c2, A2[1] = c2 >>> 8 & 255, A2[2] = c2 >>> 16 & 255, A2[3] = c2 >>> 24 & 255, n3.check = ih(n3.check, A2, 4, 0)), c2 = 0, u2 = 0, n3.mode = 4;
81773
81772
  case 4:
81774
81773
  for (; u2 < 16; ) {
81775
81774
  if (0 === s3)
81776
81775
  break e;
81777
81776
  s3--, c2 += r3[i3++] << u2, u2 += 8;
81778
81777
  }
81779
- n3.head && (n3.head.xflags = 255 & c2, n3.head.os = c2 >> 8), 512 & n3.flags && (A2[0] = 255 & c2, A2[1] = c2 >>> 8 & 255, n3.check = ah(n3.check, A2, 2, 0)), c2 = 0, u2 = 0, n3.mode = 5;
81778
+ n3.head && (n3.head.xflags = 255 & c2, n3.head.os = c2 >> 8), 512 & n3.flags && (A2[0] = 255 & c2, A2[1] = c2 >>> 8 & 255, n3.check = ih(n3.check, A2, 2, 0)), c2 = 0, u2 = 0, n3.mode = 5;
81780
81779
  case 5:
81781
81780
  if (1024 & n3.flags) {
81782
81781
  for (; u2 < 16; ) {
@@ -81784,12 +81783,12 @@ var require_processPagePollCjs = __commonJS({
81784
81783
  break e;
81785
81784
  s3--, c2 += r3[i3++] << u2, u2 += 8;
81786
81785
  }
81787
- n3.length = c2, n3.head && (n3.head.extra_len = c2), 512 & n3.flags && (A2[0] = 255 & c2, A2[1] = c2 >>> 8 & 255, n3.check = ah(n3.check, A2, 2, 0)), c2 = 0, u2 = 0;
81786
+ n3.length = c2, n3.head && (n3.head.extra_len = c2), 512 & n3.flags && (A2[0] = 255 & c2, A2[1] = c2 >>> 8 & 255, n3.check = ih(n3.check, A2, 2, 0)), c2 = 0, u2 = 0;
81788
81787
  } else
81789
81788
  n3.head && (n3.head.extra = null);
81790
81789
  n3.mode = 6;
81791
81790
  case 6:
81792
- if (1024 & n3.flags && ((p2 = n3.length) > s3 && (p2 = s3), p2 && (n3.head && (x2 = n3.head.extra_len - n3.length, n3.head.extra || (n3.head.extra = new Array(n3.head.extra_len)), oh.arraySet(n3.head.extra, r3, i3, p2, x2)), 512 & n3.flags && (n3.check = ah(n3.check, r3, p2, i3)), s3 -= p2, i3 += p2, n3.length -= p2), n3.length))
81791
+ if (1024 & n3.flags && ((p2 = n3.length) > s3 && (p2 = s3), p2 && (n3.head && (x2 = n3.head.extra_len - n3.length, n3.head.extra || (n3.head.extra = new Array(n3.head.extra_len)), rh.arraySet(n3.head.extra, r3, i3, p2, x2)), 512 & n3.flags && (n3.check = ih(n3.check, r3, p2, i3)), s3 -= p2, i3 += p2, n3.length -= p2), n3.length))
81793
81792
  break e;
81794
81793
  n3.length = 0, n3.mode = 7;
81795
81794
  case 7:
@@ -81800,7 +81799,7 @@ var require_processPagePollCjs = __commonJS({
81800
81799
  do {
81801
81800
  x2 = r3[i3 + p2++], n3.head && x2 && n3.length < 65536 && (n3.head.name += String.fromCharCode(x2));
81802
81801
  } while (x2 && p2 < s3);
81803
- if (512 & n3.flags && (n3.check = ah(n3.check, r3, p2, i3)), s3 -= p2, i3 += p2, x2)
81802
+ if (512 & n3.flags && (n3.check = ih(n3.check, r3, p2, i3)), s3 -= p2, i3 += p2, x2)
81804
81803
  break e;
81805
81804
  } else
81806
81805
  n3.head && (n3.head.name = null);
@@ -81813,7 +81812,7 @@ var require_processPagePollCjs = __commonJS({
81813
81812
  do {
81814
81813
  x2 = r3[i3 + p2++], n3.head && x2 && n3.length < 65536 && (n3.head.comment += String.fromCharCode(x2));
81815
81814
  } while (x2 && p2 < s3);
81816
- if (512 & n3.flags && (n3.check = ah(n3.check, r3, p2, i3)), s3 -= p2, i3 += p2, x2)
81815
+ if (512 & n3.flags && (n3.check = ih(n3.check, r3, p2, i3)), s3 -= p2, i3 += p2, x2)
81817
81816
  break e;
81818
81817
  } else
81819
81818
  n3.head && (n3.head.comment = null);
@@ -81826,12 +81825,12 @@ var require_processPagePollCjs = __commonJS({
81826
81825
  s3--, c2 += r3[i3++] << u2, u2 += 8;
81827
81826
  }
81828
81827
  if (c2 !== (65535 & n3.check)) {
81829
- e3.msg = "header crc mismatch", n3.mode = ph;
81828
+ e3.msg = "header crc mismatch", n3.mode = dh;
81830
81829
  break;
81831
81830
  }
81832
81831
  c2 = 0, u2 = 0;
81833
81832
  }
81834
- n3.head && (n3.head.hcrc = n3.flags >> 9 & 1, n3.head.done = true), e3.adler = n3.check = 0, n3.mode = dh;
81833
+ n3.head && (n3.head.hcrc = n3.flags >> 9 & 1, n3.head.done = true), e3.adler = n3.check = 0, n3.mode = hh;
81835
81834
  break;
81836
81835
  case 10:
81837
81836
  for (; u2 < 32; ) {
@@ -81839,12 +81838,12 @@ var require_processPagePollCjs = __commonJS({
81839
81838
  break e;
81840
81839
  s3--, c2 += r3[i3++] << u2, u2 += 8;
81841
81840
  }
81842
- e3.adler = n3.check = gh(c2), c2 = 0, u2 = 0, n3.mode = 11;
81841
+ e3.adler = n3.check = fh(c2), c2 = 0, u2 = 0, n3.mode = 11;
81843
81842
  case 11:
81844
81843
  if (0 === n3.havedict)
81845
81844
  return e3.next_out = a3, e3.avail_out = l2, e3.next_in = i3, e3.avail_in = s3, n3.hold = c2, n3.bits = u2, 2;
81846
- e3.adler = n3.check = 1, n3.mode = dh;
81847
- case dh:
81845
+ e3.adler = n3.check = 1, n3.mode = hh;
81846
+ case hh:
81848
81847
  if (5 === t3 || 6 === t3)
81849
81848
  break e;
81850
81849
  case 13:
@@ -81862,7 +81861,7 @@ var require_processPagePollCjs = __commonJS({
81862
81861
  n3.mode = 14;
81863
81862
  break;
81864
81863
  case 1:
81865
- if (Ch(n3), n3.mode = 20, 6 === t3) {
81864
+ if (Sh(n3), n3.mode = 20, 6 === t3) {
81866
81865
  c2 >>>= 2, u2 -= 2;
81867
81866
  break e;
81868
81867
  }
@@ -81871,7 +81870,7 @@ var require_processPagePollCjs = __commonJS({
81871
81870
  n3.mode = 17;
81872
81871
  break;
81873
81872
  case 3:
81874
- e3.msg = "invalid block type", n3.mode = ph;
81873
+ e3.msg = "invalid block type", n3.mode = dh;
81875
81874
  }
81876
81875
  c2 >>>= 2, u2 -= 2;
81877
81876
  break;
@@ -81882,7 +81881,7 @@ var require_processPagePollCjs = __commonJS({
81882
81881
  s3--, c2 += r3[i3++] << u2, u2 += 8;
81883
81882
  }
81884
81883
  if ((65535 & c2) != (c2 >>> 16 ^ 65535)) {
81885
- e3.msg = "invalid stored block lengths", n3.mode = ph;
81884
+ e3.msg = "invalid stored block lengths", n3.mode = dh;
81886
81885
  break;
81887
81886
  }
81888
81887
  if (n3.length = 65535 & c2, c2 = 0, u2 = 0, n3.mode = 15, 6 === t3)
@@ -81893,10 +81892,10 @@ var require_processPagePollCjs = __commonJS({
81893
81892
  if (p2 = n3.length) {
81894
81893
  if (p2 > s3 && (p2 = s3), p2 > l2 && (p2 = l2), 0 === p2)
81895
81894
  break e;
81896
- oh.arraySet(o3, r3, i3, p2, a3), s3 -= p2, i3 += p2, l2 -= p2, a3 += p2, n3.length -= p2;
81895
+ rh.arraySet(o3, r3, i3, p2, a3), s3 -= p2, i3 += p2, l2 -= p2, a3 += p2, n3.length -= p2;
81897
81896
  break;
81898
81897
  }
81899
- n3.mode = dh;
81898
+ n3.mode = hh;
81900
81899
  break;
81901
81900
  case 17:
81902
81901
  for (; u2 < 14; ) {
@@ -81905,7 +81904,7 @@ var require_processPagePollCjs = __commonJS({
81905
81904
  s3--, c2 += r3[i3++] << u2, u2 += 8;
81906
81905
  }
81907
81906
  if (n3.nlen = 257 + (31 & c2), c2 >>>= 5, u2 -= 5, n3.ndist = 1 + (31 & c2), c2 >>>= 5, u2 -= 5, n3.ncode = 4 + (15 & c2), c2 >>>= 4, u2 -= 4, n3.nlen > 286 || n3.ndist > 30) {
81908
- e3.msg = "too many length or distance symbols", n3.mode = ph;
81907
+ e3.msg = "too many length or distance symbols", n3.mode = dh;
81909
81908
  break;
81910
81909
  }
81911
81910
  n3.have = 0, n3.mode = 18;
@@ -81920,8 +81919,8 @@ var require_processPagePollCjs = __commonJS({
81920
81919
  }
81921
81920
  for (; n3.have < 19; )
81922
81921
  n3.lens[T2[n3.have++]] = 0;
81923
- if (n3.lencode = n3.lendyn, n3.lenbits = 7, S2 = { bits: n3.lenbits }, _2 = lh(0, n3.lens, 0, 19, n3.lencode, 0, n3.work, S2), n3.lenbits = S2.bits, _2) {
81924
- e3.msg = "invalid code lengths set", n3.mode = ph;
81922
+ if (n3.lencode = n3.lendyn, n3.lenbits = 7, S2 = { bits: n3.lenbits }, _2 = sh(0, n3.lens, 0, 19, n3.lencode, 0, n3.work, S2), n3.lenbits = S2.bits, _2) {
81923
+ e3.msg = "invalid code lengths set", n3.mode = dh;
81925
81924
  break;
81926
81925
  }
81927
81926
  n3.have = 0, n3.mode = 19;
@@ -81942,7 +81941,7 @@ var require_processPagePollCjs = __commonJS({
81942
81941
  s3--, c2 += r3[i3++] << u2, u2 += 8;
81943
81942
  }
81944
81943
  if (c2 >>>= g2, u2 -= g2, 0 === n3.have) {
81945
- e3.msg = "invalid bit length repeat", n3.mode = ph;
81944
+ e3.msg = "invalid bit length repeat", n3.mode = dh;
81946
81945
  break;
81947
81946
  }
81948
81947
  x2 = n3.lens[n3.have - 1], p2 = 3 + (3 & c2), c2 >>>= 2, u2 -= 2;
@@ -81962,25 +81961,25 @@ var require_processPagePollCjs = __commonJS({
81962
81961
  u2 -= g2, x2 = 0, p2 = 11 + (127 & (c2 >>>= g2)), c2 >>>= 7, u2 -= 7;
81963
81962
  }
81964
81963
  if (n3.have + p2 > n3.nlen + n3.ndist) {
81965
- e3.msg = "invalid bit length repeat", n3.mode = ph;
81964
+ e3.msg = "invalid bit length repeat", n3.mode = dh;
81966
81965
  break;
81967
81966
  }
81968
81967
  for (; p2--; )
81969
81968
  n3.lens[n3.have++] = x2;
81970
81969
  }
81971
81970
  }
81972
- if (n3.mode === ph)
81971
+ if (n3.mode === dh)
81973
81972
  break;
81974
81973
  if (0 === n3.lens[256]) {
81975
- e3.msg = "invalid code -- missing end-of-block", n3.mode = ph;
81974
+ e3.msg = "invalid code -- missing end-of-block", n3.mode = dh;
81976
81975
  break;
81977
81976
  }
81978
- if (n3.lenbits = 9, S2 = { bits: n3.lenbits }, _2 = lh(1, n3.lens, 0, n3.nlen, n3.lencode, 0, n3.work, S2), n3.lenbits = S2.bits, _2) {
81979
- e3.msg = "invalid literal/lengths set", n3.mode = ph;
81977
+ if (n3.lenbits = 9, S2 = { bits: n3.lenbits }, _2 = sh(1, n3.lens, 0, n3.nlen, n3.lencode, 0, n3.work, S2), n3.lenbits = S2.bits, _2) {
81978
+ e3.msg = "invalid literal/lengths set", n3.mode = dh;
81980
81979
  break;
81981
81980
  }
81982
- if (n3.distbits = 6, n3.distcode = n3.distdyn, S2 = { bits: n3.distbits }, _2 = lh(2, n3.lens, n3.nlen, n3.ndist, n3.distcode, 0, n3.work, S2), n3.distbits = S2.bits, _2) {
81983
- e3.msg = "invalid distances set", n3.mode = ph;
81981
+ if (n3.distbits = 6, n3.distcode = n3.distdyn, S2 = { bits: n3.distbits }, _2 = sh(2, n3.lens, n3.nlen, n3.ndist, n3.distcode, 0, n3.work, S2), n3.distbits = S2.bits, _2) {
81982
+ e3.msg = "invalid distances set", n3.mode = dh;
81984
81983
  break;
81985
81984
  }
81986
81985
  if (n3.mode = 20, 6 === t3)
@@ -81989,7 +81988,7 @@ var require_processPagePollCjs = __commonJS({
81989
81988
  n3.mode = 21;
81990
81989
  case 21:
81991
81990
  if (s3 >= 6 && l2 >= 258) {
81992
- e3.next_out = a3, e3.avail_out = l2, e3.next_in = i3, e3.avail_in = s3, n3.hold = c2, n3.bits = u2, sh(e3, d2), a3 = e3.next_out, o3 = e3.output, l2 = e3.avail_out, i3 = e3.next_in, r3 = e3.input, s3 = e3.avail_in, c2 = n3.hold, u2 = n3.bits, n3.mode === dh && (n3.back = -1);
81991
+ e3.next_out = a3, e3.avail_out = l2, e3.next_in = i3, e3.avail_in = s3, n3.hold = c2, n3.bits = u2, ah(e3, d2), a3 = e3.next_out, o3 = e3.output, l2 = e3.avail_out, i3 = e3.next_in, r3 = e3.input, s3 = e3.avail_in, c2 = n3.hold, u2 = n3.bits, n3.mode === hh && (n3.back = -1);
81993
81992
  break;
81994
81993
  }
81995
81994
  for (n3.back = 0; b2 = (z2 = n3.lencode[c2 & (1 << n3.lenbits) - 1]) >>> 16 & 255, y2 = 65535 & z2, !((g2 = z2 >>> 24) <= u2); ) {
@@ -82010,11 +82009,11 @@ var require_processPagePollCjs = __commonJS({
82010
82009
  break;
82011
82010
  }
82012
82011
  if (32 & b2) {
82013
- n3.back = -1, n3.mode = dh;
82012
+ n3.back = -1, n3.mode = hh;
82014
82013
  break;
82015
82014
  }
82016
82015
  if (64 & b2) {
82017
- e3.msg = "invalid literal/length code", n3.mode = ph;
82016
+ e3.msg = "invalid literal/length code", n3.mode = dh;
82018
82017
  break;
82019
82018
  }
82020
82019
  n3.extra = 15 & b2, n3.mode = 22;
@@ -82043,7 +82042,7 @@ var require_processPagePollCjs = __commonJS({
82043
82042
  c2 >>>= k2, u2 -= k2, n3.back += k2;
82044
82043
  }
82045
82044
  if (c2 >>>= g2, u2 -= g2, n3.back += g2, 64 & b2) {
82046
- e3.msg = "invalid distance code", n3.mode = ph;
82045
+ e3.msg = "invalid distance code", n3.mode = dh;
82047
82046
  break;
82048
82047
  }
82049
82048
  n3.offset = y2, n3.extra = 15 & b2, n3.mode = 24;
@@ -82057,7 +82056,7 @@ var require_processPagePollCjs = __commonJS({
82057
82056
  n3.offset += c2 & (1 << n3.extra) - 1, c2 >>>= n3.extra, u2 -= n3.extra, n3.back += n3.extra;
82058
82057
  }
82059
82058
  if (n3.offset > n3.dmax) {
82060
- e3.msg = "invalid distance too far back", n3.mode = ph;
82059
+ e3.msg = "invalid distance too far back", n3.mode = dh;
82061
82060
  break;
82062
82061
  }
82063
82062
  n3.mode = 25;
@@ -82066,7 +82065,7 @@ var require_processPagePollCjs = __commonJS({
82066
82065
  break e;
82067
82066
  if (p2 = d2 - l2, n3.offset > p2) {
82068
82067
  if ((p2 = n3.offset - p2) > n3.whave && n3.sane) {
82069
- e3.msg = "invalid distance too far back", n3.mode = ph;
82068
+ e3.msg = "invalid distance too far back", n3.mode = dh;
82070
82069
  break;
82071
82070
  }
82072
82071
  p2 > n3.wnext ? (p2 -= n3.wnext, m2 = n3.wsize - p2) : m2 = n3.wnext - p2, p2 > n3.length && (p2 = n3.length), f2 = n3.window;
@@ -82090,8 +82089,8 @@ var require_processPagePollCjs = __commonJS({
82090
82089
  break e;
82091
82090
  s3--, c2 |= r3[i3++] << u2, u2 += 8;
82092
82091
  }
82093
- if (d2 -= l2, e3.total_out += d2, n3.total += d2, d2 && (e3.adler = n3.check = n3.flags ? ah(n3.check, o3, d2, a3 - d2) : ih(n3.check, o3, d2, a3 - d2)), d2 = l2, (n3.flags ? c2 : gh(c2)) !== n3.check) {
82094
- e3.msg = "incorrect data check", n3.mode = ph;
82092
+ if (d2 -= l2, e3.total_out += d2, n3.total += d2, d2 && (e3.adler = n3.check = n3.flags ? ih(n3.check, o3, d2, a3 - d2) : oh(n3.check, o3, d2, a3 - d2)), d2 = l2, (n3.flags ? c2 : fh(c2)) !== n3.check) {
82093
+ e3.msg = "incorrect data check", n3.mode = dh;
82095
82094
  break;
82096
82095
  }
82097
82096
  c2 = 0, u2 = 0;
@@ -82105,7 +82104,7 @@ var require_processPagePollCjs = __commonJS({
82105
82104
  s3--, c2 += r3[i3++] << u2, u2 += 8;
82106
82105
  }
82107
82106
  if (c2 !== (4294967295 & n3.total)) {
82108
- e3.msg = "incorrect length check", n3.mode = ph;
82107
+ e3.msg = "incorrect length check", n3.mode = dh;
82109
82108
  break;
82110
82109
  }
82111
82110
  c2 = 0, u2 = 0;
@@ -82114,72 +82113,72 @@ var require_processPagePollCjs = __commonJS({
82114
82113
  case 29:
82115
82114
  _2 = 1;
82116
82115
  break e;
82117
- case ph:
82116
+ case dh:
82118
82117
  _2 = -3;
82119
82118
  break e;
82120
82119
  case 31:
82121
82120
  return -4;
82122
82121
  default:
82123
- return uh;
82122
+ return ch;
82124
82123
  }
82125
- return e3.next_out = a3, e3.avail_out = l2, e3.next_in = i3, e3.avail_in = s3, n3.hold = c2, n3.bits = u2, (n3.wsize || d2 !== e3.avail_out && n3.mode < ph && (n3.mode < 27 || 4 !== t3)) && zh(e3, e3.output, e3.next_out, d2 - e3.avail_out), h2 -= e3.avail_in, d2 -= e3.avail_out, e3.total_in += h2, e3.total_out += d2, n3.total += d2, n3.wrap && d2 && (e3.adler = n3.check = n3.flags ? ah(n3.check, o3, d2, e3.next_out - d2) : ih(n3.check, o3, d2, e3.next_out - d2)), e3.data_type = n3.bits + (n3.last ? 64 : 0) + (n3.mode === dh ? 128 : 0) + (20 === n3.mode || 15 === n3.mode ? 256 : 0), (0 === h2 && 0 === d2 || 4 === t3) && _2 === ch && (_2 = -5), _2;
82126
- }, Qu.inflateEnd = function(e3) {
82124
+ return e3.next_out = a3, e3.avail_out = l2, e3.next_in = i3, e3.avail_in = s3, n3.hold = c2, n3.bits = u2, (n3.wsize || d2 !== e3.avail_out && n3.mode < dh && (n3.mode < 27 || 4 !== t3)) && Ch(e3, e3.output, e3.next_out, d2 - e3.avail_out), h2 -= e3.avail_in, d2 -= e3.avail_out, e3.total_in += h2, e3.total_out += d2, n3.total += d2, n3.wrap && d2 && (e3.adler = n3.check = n3.flags ? ih(n3.check, o3, d2, e3.next_out - d2) : oh(n3.check, o3, d2, e3.next_out - d2)), e3.data_type = n3.bits + (n3.last ? 64 : 0) + (n3.mode === hh ? 128 : 0) + (20 === n3.mode || 15 === n3.mode ? 256 : 0), (0 === h2 && 0 === d2 || 4 === t3) && _2 === lh && (_2 = -5), _2;
82125
+ }, Xu.inflateEnd = function(e3) {
82127
82126
  if (!e3 || !e3.state)
82128
- return uh;
82127
+ return ch;
82129
82128
  var t3 = e3.state;
82130
- return t3.window && (t3.window = null), e3.state = null, ch;
82131
- }, Qu.inflateGetHeader = function(e3, t3) {
82129
+ return t3.window && (t3.window = null), e3.state = null, lh;
82130
+ }, Xu.inflateGetHeader = function(e3, t3) {
82132
82131
  var n3;
82133
- return e3 && e3.state ? 0 == (2 & (n3 = e3.state).wrap) ? uh : (n3.head = t3, t3.done = false, ch) : uh;
82134
- }, Qu.inflateSetDictionary = function(e3, t3) {
82132
+ return e3 && e3.state ? 0 == (2 & (n3 = e3.state).wrap) ? ch : (n3.head = t3, t3.done = false, lh) : ch;
82133
+ }, Xu.inflateSetDictionary = function(e3, t3) {
82135
82134
  var n3, r3 = t3.length;
82136
- return e3 && e3.state ? 0 !== (n3 = e3.state).wrap && 11 !== n3.mode ? uh : 11 === n3.mode && ih(1, t3, r3, 0) !== n3.check ? -3 : zh(e3, t3, r3, r3) ? (n3.mode = 31, -4) : (n3.havedict = 1, ch) : uh;
82137
- }, Qu.inflateInfo = "pako inflate (from Nodeca project)";
82138
- var Ah = { 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 }, Th = Qu, Oh = ec, Lh = Eu, Eh = Ah, Rh = Zc, Nh = Bu, jh = function() {
82135
+ return e3 && e3.state ? 0 !== (n3 = e3.state).wrap && 11 !== n3.mode ? ch : 11 === n3.mode && oh(1, t3, r3, 0) !== n3.check ? -3 : Ch(e3, t3, r3, r3) ? (n3.mode = 31, -4) : (n3.havedict = 1, lh) : ch;
82136
+ }, Xu.inflateInfo = "pako inflate (from Nodeca project)";
82137
+ var zh = { 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 }, Ah = Xu, Th = Jl, Oh = Lu, Lh = zh, Eh = Vc, Rh = Pu, Nh = function() {
82139
82138
  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 = false;
82140
- }, Ih = Object.prototype.toString;
82141
- function Dh(e3) {
82142
- if (!(this instanceof Dh))
82143
- return new Dh(e3);
82144
- this.options = Oh.assign({ chunkSize: 16384, windowBits: 0, to: "" }, e3 || {});
82139
+ }, jh = Object.prototype.toString;
82140
+ function Ih(e3) {
82141
+ if (!(this instanceof Ih))
82142
+ return new Ih(e3);
82143
+ this.options = Th.assign({ chunkSize: 16384, windowBits: 0, to: "" }, e3 || {});
82145
82144
  var t3 = this.options;
82146
- t3.raw && t3.windowBits >= 0 && t3.windowBits < 16 && (t3.windowBits = -t3.windowBits, 0 === t3.windowBits && (t3.windowBits = -15)), !(t3.windowBits >= 0 && t3.windowBits < 16) || e3 && e3.windowBits || (t3.windowBits += 32), t3.windowBits > 15 && t3.windowBits < 48 && 0 == (15 & t3.windowBits) && (t3.windowBits |= 15), this.err = 0, this.msg = "", this.ended = false, this.chunks = [], this.strm = new Nh(), this.strm.avail_out = 0;
82147
- var n3 = Th.inflateInit2(this.strm, t3.windowBits);
82148
- if (n3 !== Eh.Z_OK)
82149
- throw new Error(Rh[n3]);
82150
- if (this.header = new jh(), Th.inflateGetHeader(this.strm, this.header), t3.dictionary && ("string" == typeof t3.dictionary ? t3.dictionary = Lh.string2buf(t3.dictionary) : "[object ArrayBuffer]" === Ih.call(t3.dictionary) && (t3.dictionary = new Uint8Array(t3.dictionary)), t3.raw && (n3 = Th.inflateSetDictionary(this.strm, t3.dictionary)) !== Eh.Z_OK))
82151
- throw new Error(Rh[n3]);
82152
- }
82153
- function Ph(e3, t3) {
82154
- var n3 = new Dh(t3);
82145
+ t3.raw && t3.windowBits >= 0 && t3.windowBits < 16 && (t3.windowBits = -t3.windowBits, 0 === t3.windowBits && (t3.windowBits = -15)), !(t3.windowBits >= 0 && t3.windowBits < 16) || e3 && e3.windowBits || (t3.windowBits += 32), t3.windowBits > 15 && t3.windowBits < 48 && 0 == (15 & t3.windowBits) && (t3.windowBits |= 15), this.err = 0, this.msg = "", this.ended = false, this.chunks = [], this.strm = new Rh(), this.strm.avail_out = 0;
82146
+ var n3 = Ah.inflateInit2(this.strm, t3.windowBits);
82147
+ if (n3 !== Lh.Z_OK)
82148
+ throw new Error(Eh[n3]);
82149
+ if (this.header = new Nh(), Ah.inflateGetHeader(this.strm, this.header), t3.dictionary && ("string" == typeof t3.dictionary ? t3.dictionary = Oh.string2buf(t3.dictionary) : "[object ArrayBuffer]" === jh.call(t3.dictionary) && (t3.dictionary = new Uint8Array(t3.dictionary)), t3.raw && (n3 = Ah.inflateSetDictionary(this.strm, t3.dictionary)) !== Lh.Z_OK))
82150
+ throw new Error(Eh[n3]);
82151
+ }
82152
+ function Dh(e3, t3) {
82153
+ var n3 = new Ih(t3);
82155
82154
  if (n3.push(e3, true), n3.err)
82156
- throw n3.msg || Rh[n3.err];
82155
+ throw n3.msg || Eh[n3.err];
82157
82156
  return n3.result;
82158
82157
  }
82159
- Dh.prototype.push = function(e3, t3) {
82158
+ Ih.prototype.push = function(e3, t3) {
82160
82159
  var n3, r3, o3, i3, a3, s3 = this.strm, l2 = this.options.chunkSize, c2 = this.options.dictionary, u2 = false;
82161
82160
  if (this.ended)
82162
82161
  return false;
82163
- r3 = t3 === ~~t3 ? t3 : true === t3 ? Eh.Z_FINISH : Eh.Z_NO_FLUSH, "string" == typeof e3 ? s3.input = Lh.binstring2buf(e3) : "[object ArrayBuffer]" === Ih.call(e3) ? s3.input = new Uint8Array(e3) : s3.input = e3, s3.next_in = 0, s3.avail_in = s3.input.length;
82162
+ r3 = t3 === ~~t3 ? t3 : true === t3 ? Lh.Z_FINISH : Lh.Z_NO_FLUSH, "string" == typeof e3 ? s3.input = Oh.binstring2buf(e3) : "[object ArrayBuffer]" === jh.call(e3) ? s3.input = new Uint8Array(e3) : s3.input = e3, s3.next_in = 0, s3.avail_in = s3.input.length;
82164
82163
  do {
82165
- if (0 === s3.avail_out && (s3.output = new Oh.Buf8(l2), s3.next_out = 0, s3.avail_out = l2), (n3 = Th.inflate(s3, Eh.Z_NO_FLUSH)) === Eh.Z_NEED_DICT && c2 && (n3 = Th.inflateSetDictionary(this.strm, c2)), n3 === Eh.Z_BUF_ERROR && true === u2 && (n3 = Eh.Z_OK, u2 = false), n3 !== Eh.Z_STREAM_END && n3 !== Eh.Z_OK)
82164
+ if (0 === s3.avail_out && (s3.output = new Th.Buf8(l2), s3.next_out = 0, s3.avail_out = l2), (n3 = Ah.inflate(s3, Lh.Z_NO_FLUSH)) === Lh.Z_NEED_DICT && c2 && (n3 = Ah.inflateSetDictionary(this.strm, c2)), n3 === Lh.Z_BUF_ERROR && true === u2 && (n3 = Lh.Z_OK, u2 = false), n3 !== Lh.Z_STREAM_END && n3 !== Lh.Z_OK)
82166
82165
  return this.onEnd(n3), this.ended = true, false;
82167
- s3.next_out && (0 !== s3.avail_out && n3 !== Eh.Z_STREAM_END && (0 !== s3.avail_in || r3 !== Eh.Z_FINISH && r3 !== Eh.Z_SYNC_FLUSH) || ("string" === this.options.to ? (o3 = Lh.utf8border(s3.output, s3.next_out), i3 = s3.next_out - o3, a3 = Lh.buf2string(s3.output, o3), s3.next_out = i3, s3.avail_out = l2 - i3, i3 && Oh.arraySet(s3.output, s3.output, o3, i3, 0), this.onData(a3)) : this.onData(Oh.shrinkBuf(s3.output, s3.next_out)))), 0 === s3.avail_in && 0 === s3.avail_out && (u2 = true);
82168
- } while ((s3.avail_in > 0 || 0 === s3.avail_out) && n3 !== Eh.Z_STREAM_END);
82169
- return n3 === Eh.Z_STREAM_END && (r3 = Eh.Z_FINISH), r3 === Eh.Z_FINISH ? (n3 = Th.inflateEnd(this.strm), this.onEnd(n3), this.ended = true, n3 === Eh.Z_OK) : r3 !== Eh.Z_SYNC_FLUSH || (this.onEnd(Eh.Z_OK), s3.avail_out = 0, true);
82170
- }, Dh.prototype.onData = function(e3) {
82166
+ s3.next_out && (0 !== s3.avail_out && n3 !== Lh.Z_STREAM_END && (0 !== s3.avail_in || r3 !== Lh.Z_FINISH && r3 !== Lh.Z_SYNC_FLUSH) || ("string" === this.options.to ? (o3 = Oh.utf8border(s3.output, s3.next_out), i3 = s3.next_out - o3, a3 = Oh.buf2string(s3.output, o3), s3.next_out = i3, s3.avail_out = l2 - i3, i3 && Th.arraySet(s3.output, s3.output, o3, i3, 0), this.onData(a3)) : this.onData(Th.shrinkBuf(s3.output, s3.next_out)))), 0 === s3.avail_in && 0 === s3.avail_out && (u2 = true);
82167
+ } while ((s3.avail_in > 0 || 0 === s3.avail_out) && n3 !== Lh.Z_STREAM_END);
82168
+ return n3 === Lh.Z_STREAM_END && (r3 = Lh.Z_FINISH), r3 === Lh.Z_FINISH ? (n3 = Ah.inflateEnd(this.strm), this.onEnd(n3), this.ended = true, n3 === Lh.Z_OK) : r3 !== Lh.Z_SYNC_FLUSH || (this.onEnd(Lh.Z_OK), s3.avail_out = 0, true);
82169
+ }, Ih.prototype.onData = function(e3) {
82171
82170
  this.chunks.push(e3);
82172
- }, Dh.prototype.onEnd = function(e3) {
82173
- e3 === Eh.Z_OK && ("string" === this.options.to ? this.result = this.chunks.join("") : this.result = Oh.flattenChunks(this.chunks)), this.chunks = [], this.err = e3, this.msg = this.strm.msg;
82174
- }, Xu.Inflate = Dh, Xu.inflate = Ph, Xu.inflateRaw = function(e3, t3) {
82175
- return (t3 = t3 || {}).raw = true, Ph(e3, t3);
82176
- }, Xu.ungzip = Ph;
82177
- var Bh = {};
82178
- (0, ec.assign)(Bh, tc, Xu, Ah);
82179
- var Fh = Bh;
82180
- function Uh({ type: e3, value: t3, compress: n3, serialize: r3 }) {
82171
+ }, Ih.prototype.onEnd = function(e3) {
82172
+ e3 === Lh.Z_OK && ("string" === this.options.to ? this.result = this.chunks.join("") : this.result = Th.flattenChunks(this.chunks)), this.chunks = [], this.err = e3, this.msg = this.strm.msg;
82173
+ }, Yu.Inflate = Ih, Yu.inflate = Dh, Yu.inflateRaw = function(e3, t3) {
82174
+ return (t3 = t3 || {}).raw = true, Dh(e3, t3);
82175
+ }, Yu.ungzip = Dh;
82176
+ var Ph = {};
82177
+ (0, Jl.assign)(Ph, ec, Yu, zh);
82178
+ var Bh = Ph;
82179
+ function Fh({ type: e3, value: t3, compress: n3, serialize: r3 }) {
82181
82180
  const o3 = { type: e3, value: t3 };
82182
- return n3 && (o3.value = Fh.deflate(new Uint8Array(o3.value)), o3.compressed = true), r3 && (o3.value = function(e4) {
82181
+ return n3 && (o3.value = Bh.deflate(new Uint8Array(o3.value)), o3.compressed = true), r3 && (o3.value = function(e4) {
82183
82182
  const t4 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""), n4 = new Uint8Array(e4), r4 = n4.length, o4 = r4 % 3, i3 = [], a3 = 16383;
82184
82183
  let s3;
82185
82184
  for (let e5 = 0, t5 = r4 - o4; e5 < t5; e5 += a3)
@@ -82195,13 +82194,15 @@ var require_processPagePollCjs = __commonJS({
82195
82194
  }
82196
82195
  }(o3.value)), o3;
82197
82196
  }
82198
- function Mh(e3) {
82197
+ function Uh(e3) {
82199
82198
  return /^(blob|https?):/.test(e3);
82200
82199
  }
82201
- function qh(e3) {
82200
+ function Mh(e3) {
82202
82201
  const t3 = e3 && e3.match(/(^[^#]*)/), n3 = t3 && t3[1] || e3;
82203
82202
  return n3 && n3.replace(/\?\s*$/, "?") || e3;
82204
82203
  }
82204
+ const qh = (...e3) => {
82205
+ };
82205
82206
  function Wh(e3) {
82206
82207
  return e3.reduce((e4, t3) => e4.concat(t3), []);
82207
82208
  }
@@ -82209,7 +82210,7 @@ var require_processPagePollCjs = __commonJS({
82209
82210
  const n3 = new TextDecoder("utf-8").decode(t3), r3 = e2.head || e2.querySelectorAll("head")[0], o3 = e2.createElement("style");
82210
82211
  return o3.type = "text/css", o3.setAttribute("data-desc", "Applitools tmp variable created by DOM SNAPSHOT"), r3.appendChild(o3), o3.styleSheet ? o3.styleSheet.cssText = n3 : o3.appendChild(e2.createTextNode(n3)), o3.sheet;
82211
82212
  }
82212
- function Vh(e3, t3, n3 = gl) {
82213
+ function Vh(e3, t3, n3 = qh) {
82213
82214
  let r3;
82214
82215
  if (t3)
82215
82216
  try {
@@ -82243,7 +82244,7 @@ creating temp style for access.`), r3 = $h(e3);
82243
82244
  });
82244
82245
  return e4.then((e5) => s3.then((t4) => {
82245
82246
  if (t4) {
82246
- const i4 = Uh({ type: "image/png", value: t4, compress: n3, serialize: r3 }), a4 = { ...i4, value: i4.value, url: o3 };
82247
+ const i4 = Fh({ type: "image/png", value: t4, compress: n3, serialize: r3 }), a4 = { ...i4, value: i4.value, url: o3 };
82247
82248
  e5.push(a4);
82248
82249
  }
82249
82250
  return e5;
@@ -82252,7 +82253,7 @@ creating temp style for access.`), r3 = $h(e3);
82252
82253
  }
82253
82254
  const Kh = "__process_resource";
82254
82255
  function Hh(e3) {
82255
- return e3 && Mh(e3);
82256
+ return e3 && Uh(e3);
82256
82257
  }
82257
82258
  window[x] = window[x] || {};
82258
82259
  const Gh = f(function({ doc: t3 = e2, showLogs: n3, useSessionCache: r3, dontFetchResources: o3, fetchTimeout: i3, skipResources: a3, compressResources: s3, serializeResources: l2, removeReverseProxyURLPrefixes: c2, elements: u2 } = {}) {
@@ -82261,13 +82262,27 @@ creating temp style for access.`), r3 = $h(e3);
82261
82262
  const e3 = arguments[1];
82262
82263
  n3 = e3.showLogs, r3 = e3.useSessionCache, o3 = e3.dontFetchResources, i3 = e3.fetchTimeout, a3 = e3.skipResources, s3 = e3.compressResources, l2 = e3.serializeResources, c2 = e3.removeReverseProxyURLPrefixes;
82263
82264
  }
82264
- const h2 = n3 ? (d2 = Date.now(), function(...e3) {
82265
- const t4 = ["[dom-snapshot]", `[+${Date.now() - d2}ms]`, ...e3];
82266
- console.log(...t4);
82267
- }) : gl;
82268
- var d2;
82269
- h2("processPage start"), h2(`skipResources length: ${a3 && a3.length}`);
82270
- const p2 = r3 && function({ log: e3, sessionStorage: t4 }) {
82265
+ const h2 = function(e3, t4 = Date.now()) {
82266
+ const n4 = [], r4 = [], o4 = e3 ? (...e4) => console.warn("[dom-snapshot]", `[+${Date.now() - t4}ms]`, ...e4) : () => {
82267
+ }, i4 = e3 ? (...e4) => console.error("[dom-snapshot]", `[+${Date.now() - t4}ms]`, ...e4) : () => {
82268
+ };
82269
+ return { log: e3 ? (...e4) => console.log("[dom-snapshot]", `[+${Date.now() - t4}ms]`, ...e4) : () => {
82270
+ }, warn: (e4, ...t5) => {
82271
+ if (void 0 !== e4) {
82272
+ const r5 = t5.length > 0 ? `${e4} ${t5.join(" ")}` : String(e4);
82273
+ n4.push(r5);
82274
+ }
82275
+ o4(e4, ...t5);
82276
+ }, error: (e4, ...t5) => {
82277
+ if (void 0 !== e4) {
82278
+ const n5 = t5.length > 0 ? `${e4} ${t5.join(" ")}` : String(e4);
82279
+ r4.push(n5);
82280
+ }
82281
+ i4(e4, ...t5);
82282
+ }, getWarnings: () => n4, getErrors: () => r4 };
82283
+ }(!!n3, Date.now());
82284
+ h2.log("processPage start"), h2.log(`skipResources length: ${a3 && a3.length}`);
82285
+ const d2 = r3 && function({ log: e3, sessionStorage: t4 }) {
82271
82286
  let n4;
82272
82287
  try {
82273
82288
  const e4 = t4 || ("undefined" != typeof window ? window.sessionStorage : void 0);
@@ -82291,17 +82306,17 @@ creating temp style for access.`), r3 = $h(e3);
82291
82306
  e4 && e4.setItem(Kh, JSON.stringify(n4));
82292
82307
  }
82293
82308
  } };
82294
- }({ log: h2 }), m2 = {}, f2 = function({ styleSheetCache: e3, CSSRule: t4 = window.CSSRule, removeReverseProxyURLPrefixes: n4 }) {
82309
+ }({ log: h2.log }), p2 = {}, m2 = function({ styleSheetCache: e3, CSSRule: t4 = window.CSSRule, removeReverseProxyURLPrefixes: n4 }) {
82295
82310
  return function r4(o4) {
82296
- return Ql(Array.from(o4.cssRules || []).reduce((o5, i4) => {
82311
+ return Xl(Array.from(o4.cssRules || []).reduce((o5, i4) => {
82297
82312
  const a4 = { [t4.IMPORT_RULE]: () => {
82298
82313
  const t5 = i4;
82299
82314
  return t5.styleSheet && (e3[t5.styleSheet.href] = t5.styleSheet, t5.styleSheet.href) ? t5.styleSheet.href : t5.href;
82300
- }, [t4.FONT_FACE_RULE]: () => Bl(i4.cssText, { removeReverseProxyURLPrefixes: n4 }), [t4.SUPPORTS_RULE]: () => r4(i4), [t4.MEDIA_RULE]: () => r4(i4), [t4.STYLE_RULE]: () => Fl(i4.style) }[i4.type], s4 = a4 && a4() || [];
82315
+ }, [t4.FONT_FACE_RULE]: () => Pl(i4.cssText, { removeReverseProxyURLPrefixes: n4 }), [t4.SUPPORTS_RULE]: () => r4(i4), [t4.MEDIA_RULE]: () => r4(i4), [t4.STYLE_RULE]: () => Bl(i4.style) }[i4.type], s4 = a4 && a4() || [];
82301
82316
  return (null == i4 ? void 0 : i4.cssRules) && s4.push(...r4(i4)), o5.concat(s4);
82302
82317
  }, [])).filter((e4) => "#" !== e4[0]);
82303
82318
  };
82304
- }({ styleSheetCache: m2, removeReverseProxyURLPrefixes: Boolean(null == c2 ? void 0 : c2.length) }), g2 = function({ styleSheetCache: e3 }) {
82319
+ }({ styleSheetCache: p2, removeReverseProxyURLPrefixes: Boolean(null == c2 ? void 0 : c2.length) }), f2 = function({ styleSheetCache: e3 }) {
82305
82320
  return function(t4, n4) {
82306
82321
  const r4 = Wh(n4.map((e4) => {
82307
82322
  try {
@@ -82311,35 +82326,35 @@ creating temp style for access.`), r3 = $h(e3);
82311
82326
  }
82312
82327
  }));
82313
82328
  return e3[t4] || r4.find((e4) => {
82314
- const n5 = e4.href && qh(e4.href);
82329
+ const n5 = e4.href && Mh(e4.href);
82315
82330
  return n5 && function(e5) {
82316
82331
  const t5 = new URL(e5);
82317
82332
  return t5.username && (t5.username = ""), t5.password && (t5.password = ""), t5.href;
82318
82333
  }(n5) === t4;
82319
82334
  });
82320
82335
  };
82321
- }({ styleSheetCache: m2 }), b2 = function(e3) {
82336
+ }({ styleSheetCache: p2 }), g2 = function(e3) {
82322
82337
  return function(t4, n4 = true) {
82323
- return Ql(Array.from(t4.querySelectorAll("style")).reduce((r4, o4) => {
82338
+ return Xl(Array.from(t4.querySelectorAll("style")).reduce((r4, o4) => {
82324
82339
  const i4 = n4 ? Array.from(t4.styleSheets).find((e4) => e4.ownerNode === o4) : o4.sheet;
82325
82340
  return i4 ? r4.concat(e3(i4)) : r4;
82326
82341
  }, []));
82327
82342
  };
82328
- }(f2), k2 = function(e3) {
82343
+ }(m2), b2 = function(e3) {
82329
82344
  return function(t4) {
82330
- return t4.adoptedStyleSheets ? Ql(t4.adoptedStyleSheets.reduce((t5, n4) => t5.concat(e3(n4)), [])) : [];
82345
+ return t4.adoptedStyleSheets ? Xl(t4.adoptedStyleSheets.reduce((t5, n4) => t5.concat(e3(n4)), [])) : [];
82331
82346
  };
82332
- }(f2), w2 = function({ parser: e3, decoder: t4, extractResourceUrlsFromStyleTags: n4 }) {
82347
+ }(m2), k2 = function({ parser: e3, decoder: t4, extractResourceUrlsFromStyleTags: n4 }) {
82333
82348
  return function(r4) {
82334
82349
  const o4 = (t4 || new TextDecoder("utf-8")).decode(r4), i4 = (e3 || new DOMParser()).parseFromString(o4, "image/svg+xml"), a4 = Array.from(i4.querySelectorAll("img[srcset]")).map((e4) => {
82335
82350
  const t5 = e4.getAttribute("srcset");
82336
82351
  return t5 ? t5.split(", ").map((e5) => e5.trim().split(/\s+/)[0]) : [];
82337
82352
  }).reduce((e4, t5) => e4.concat(t5), []), s4 = Array.from(i4.querySelectorAll("img[src]")).map((e4) => e4.getAttribute("src")).filter(Boolean), l3 = Array.from(i4.querySelectorAll('image,use,link[rel="stylesheet"]')).map((e4) => e4.getAttribute("href") || e4.getAttribute("xlink:href")).filter(Boolean), c3 = Array.from(i4.getElementsByTagName("object")).map((e4) => e4.getAttribute("data")).filter(Boolean), u3 = n4(i4, false), h3 = function(e4) {
82338
- return Wh(Array.from(e4.querySelectorAll("*[style]")).map((e5) => e5.style.cssText).map((e5) => Bl(e5)).filter(Boolean));
82353
+ return Wh(Array.from(e4.querySelectorAll("*[style]")).map((e5) => e5.style.cssText).map((e5) => Pl(e5)).filter(Boolean));
82339
82354
  }(i4);
82340
82355
  return a4.concat(s4).concat(l3).concat(c3).concat(u3).concat(h3).filter((e4) => "#" !== e4[0]);
82341
82356
  };
82342
- }({ extractResourceUrlsFromStyleTags: b2 }), v2 = function({ fetch: e3 = window.fetch, AbortController: t4 = window.AbortController, timeout: n4 = 1e4, mediaDownloadTimeout: r4 = 3e4 } = {}) {
82357
+ }({ extractResourceUrlsFromStyleTags: g2 }), w2 = function({ fetch: e3 = window.fetch, AbortController: t4 = window.AbortController, timeout: n4 = 1e4, mediaDownloadTimeout: r4 = 3e4 } = {}) {
82343
82358
  return function(o4) {
82344
82359
  return new Promise((i4, a4) => {
82345
82360
  const s4 = new t4(), l3 = () => {
@@ -82355,13 +82370,13 @@ creating temp style for access.`), r3 = $h(e3);
82355
82370
  }).then(i4).catch((e4) => a4(e4));
82356
82371
  });
82357
82372
  };
82358
- }({ timeout: i3 }), x2 = function({ fetchUrl: e3, findStyleSheetByUrl: t4, getCorsFreeStyleSheet: n4, extractResourcesFromStyleSheet: r4, extractResourcesFromSvg: o4, sessionCache: i4, cache: a4 = {}, compress: s4, serialize: l3, log: c3 = gl }) {
82373
+ }({ timeout: i3 }), v2 = function({ fetchUrl: e3, findStyleSheetByUrl: t4, getCorsFreeStyleSheet: n4, extractResourcesFromStyleSheet: r4, extractResourcesFromSvg: o4, sessionCache: i4, cache: a4 = {}, compress: s4, serialize: l3, log: c3 = qh }) {
82359
82374
  return function({ url: u3, documents: h3, getResourceUrlsAndBlobs: d3, forceCreateStyle: p3 = false, skipResources: m3 }) {
82360
82375
  if (!a4[u3])
82361
82376
  if (i4 && i4.getItem(u3)) {
82362
82377
  const e4 = function e5(t5) {
82363
82378
  const n5 = i4.getItem(t5);
82364
- return [t5].concat(n5 ? Ql(Wh(n5.map(e5))) : []);
82379
+ return [t5].concat(n5 ? Xl(Wh(n5.map(e5))) : []);
82365
82380
  }(u3);
82366
82381
  c3("doProcessResource from sessionStorage", u3, "deps:", e4.slice(1)), a4[u3] = Promise.resolve({ resourceUrls: e4 });
82367
82382
  } else if (m3 && m3.indexOf(u3) > -1 || /https:\/\/fonts\.googleapis\.com/.test(u3))
@@ -82396,9 +82411,9 @@ creating temp style for access.`), r3 = $h(e3);
82396
82411
  } catch (e5) {
82397
82412
  c3("could not parse svg content", e5);
82398
82413
  }
82399
- const v3 = { [e4]: Uh({ type: a6, value: f4, compress: s4, serialize: l3 }) };
82414
+ const v3 = { [e4]: Fh({ type: a6, value: f4, compress: s4, serialize: l3 }) };
82400
82415
  if (w3) {
82401
- const t5 = w3.map((t6) => y(t6, e4.replace(/^blob:/, ""))).map(qh).filter(Mh);
82416
+ const t5 = w3.map((t6) => y(t6, e4.replace(/^blob:/, ""))).map(Mh).filter(Uh);
82402
82417
  return t5.length && (v3[e4].dependencies = t5), i4 && i4.setItem(e4, t5), d3({ documents: h3, urls: t5, forceCreateStyle: p3, skipResources: m3 }).then(({ resourceUrls: e5, blobsObj: t6 }) => ({ resourceUrls: e5, blobsObj: Object.assign(t6, v3) }));
82403
82418
  }
82404
82419
  return i4 && i4.setItem(e4, []), { blobsObj: v3 };
@@ -82413,11 +82428,11 @@ creating temp style for access.`), r3 = $h(e3);
82413
82428
  }), c3("cleared from sessionStorage:", u3);
82414
82429
  }
82415
82430
  };
82416
- }({ fetchUrl: v2, findStyleSheetByUrl: g2, getCorsFreeStyleSheet: Vh, extractResourcesFromStyleSheet: f2, extractResourcesFromSvg: w2, log: h2, sessionCache: p2, compress: s3, serialize: l2 }), S2 = function({ processResource: e3, aggregateResourceUrlsAndBlobs: t4 }) {
82431
+ }({ fetchUrl: w2, findStyleSheetByUrl: f2, getCorsFreeStyleSheet: Vh, extractResourcesFromStyleSheet: m2, extractResourcesFromSvg: k2, log: h2.log, sessionCache: d2, compress: s3, serialize: l2 }), x2 = function({ processResource: e3, aggregateResourceUrlsAndBlobs: t4 }) {
82417
82432
  return function n4({ documents: r4, urls: o4, forceCreateStyle: i4 = false, skipResources: a4 }) {
82418
82433
  return Promise.all(o4.map((t5) => e3({ url: t5, documents: r4, getResourceUrlsAndBlobs: n4, forceCreateStyle: i4, skipResources: a4 }))).then((e4) => t4(e4));
82419
82434
  };
82420
- }({ processResource: x2, aggregateResourceUrlsAndBlobs: Jl });
82435
+ }({ processResource: v2, aggregateResourceUrlsAndBlobs: Ql });
82421
82436
  return function t4(n4, r4 = n4.location.href) {
82422
82437
  const i4 = function(e3) {
82423
82438
  const t5 = e3.querySelectorAll("base")[0] && e3.querySelectorAll("base")[0].href;
@@ -82427,7 +82442,7 @@ creating temp style for access.`), r3 = $h(e3);
82427
82442
  }(n4) || r4, c3 = function(t5) {
82428
82443
  if (!(null == t5 ? void 0 : t5.length))
82429
82444
  return;
82430
- const n5 = t5.map((e3) => [e3, "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (e4) => {
82445
+ const n5 = (t5 = [...t5].map((e3) => [...e3])).map((e3) => [e3, "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (e4) => {
82431
82446
  const t6 = 16 * Math.random() | 0;
82432
82447
  return ("x" === e4 ? t6 : 3 & t6 | 8).toString(16);
82433
82448
  })]), r5 = function(t6) {
@@ -82505,12 +82520,12 @@ creating temp style for access.`), r3 = $h(e3);
82505
82520
  return o4 += e3.length, t6;
82506
82521
  });
82507
82522
  return i5;
82508
- }(u2), { cdt: d3, docRoots: m3, canvasElements: f3, frames: g3, inlineFrames: w3, crossFrames: v3, linkUrls: x3, imageBlobs: C2, videoBlobs: z2 } = Hl(n4, i4, h2), A2 = Wh(m3.map((e3) => b2(e3))), T2 = Wh(m3.map((e3) => k2(e3))), O2 = (P2 = i4, function(e3) {
82523
+ }(u2), { cdt: p3, docRoots: m3, canvasElements: f3, frames: k3, inlineFrames: w3, crossFrames: v3, linkUrls: S2, imageBlobs: C2, videoBlobs: z2 } = Kl(n4, i4, h2), A2 = Wh(m3.map((e3) => g2(e3))), T2 = Wh(m3.map((e3) => b2(e3))), O2 = (P2 = i4, function(e3) {
82509
82524
  try {
82510
82525
  return _(y(e3, P2));
82511
82526
  } catch (e4) {
82512
82527
  }
82513
- }), L2 = Ql(Array.from(x3).concat(Array.from(A2)).concat(Array.from(T2))).map((e3) => e3.trim()).reduce((e3, t5) => {
82528
+ }), L2 = Xl(Array.from(S2).concat(Array.from(A2)).concat(Array.from(T2))).map((e3) => e3.trim()).reduce((e3, t5) => {
82514
82529
  e3.push(t5);
82515
82530
  const n5 = function(e4) {
82516
82531
  return e4 && e4.replace(/(\\[0-9a-fA-F]{1,6}\s?)/g, (e5) => {
@@ -82519,16 +82534,21 @@ creating temp style for access.`), r3 = $h(e3);
82519
82534
  }) || e4;
82520
82535
  }(t5);
82521
82536
  return n5 !== t5 && e3.push(n5), e3;
82522
- }, []).map(O2).map(qh).filter(Hh), E2 = o3 ? Promise.resolve({ resourceUrls: L2, blobsObj: {} }) : S2({ documents: m3, urls: L2, skipResources: a3 }).then((e3) => (p2 && p2.persist(), e3)), R2 = Zh(f3, { log: h2, compress: s3, serialize: l2 }), N2 = E2.then((e3) => function(e4, { doc: t5, fetchedBlobs: n5, log: r5, compress: o4, serialize: i5, sessionCache: a4 }) {
82537
+ }, []).map(O2).map(Mh).filter(Hh), E2 = o3 ? Promise.resolve({ resourceUrls: L2, blobsObj: {} }) : x2({ documents: m3, urls: L2, skipResources: a3 }).then((e3) => (d2 && d2.persist(), e3)), R2 = Zh(f3, { log: h2.log, compress: s3, serialize: l2 }), N2 = E2.then((e3) => function(e4, { doc: t5, fetchedBlobs: n5, log: r5, compress: o4, serialize: i5, sessionCache: a4 }) {
82523
82538
  if (!t5.body || 0 === e4.length)
82524
82539
  return Promise.resolve([]);
82525
82540
  const s4 = new Set(Object.keys(n5)), l3 = e4.filter(({ url: e5 }) => !(s4.has("blob:" + e5) || a4 && a4.getItem("blob:" + e5))), c4 = t5.createElement("canvas");
82526
82541
  c4.style.display = "none";
82527
- const u3 = Vl(t5.body);
82528
- return u3.appendChild(c4), Promise.all(l3.map(({ element: e5, url: t6, cdtNode: n6 }) => (c4.width = e5.naturalWidth, c4.height = e5.naturalHeight, c4.getContext("2d").drawImage(Vl.unwrap(e5), 0, 0), Zh([{ url: t6, element: c4, cdtNode: n6 }], { log: r5, compress: o4, serialize: i5 })))).then((e5) => (u3.removeChild(c4), Wh(e5))).catch(() => {
82542
+ const u3 = $l(t5.body);
82543
+ return u3.appendChild(c4), Promise.all(l3.map(({ element: e5, url: t6, cdtNode: n6 }) => {
82544
+ try {
82545
+ return c4.width = e5.naturalWidth, c4.height = e5.naturalHeight, c4.getContext("2d").drawImage($l.unwrap(e5), 0, 0), Zh([{ url: t6, element: c4, cdtNode: n6 }], { log: r5, compress: o4, serialize: i5 });
82546
+ } catch (e6) {
82547
+ }
82548
+ })).then((e5) => Wh(e5)).catch().finally(() => {
82529
82549
  u3.removeChild(c4);
82530
82550
  });
82531
- }(C2, { fetchedBlobs: e3.blobsObj, doc: n4, log: h2, compress: s3, serialize: l2, sessionCache: p2 })), j2 = E2.then((e3) => function(e4, { doc: t5, fetchedBlobs: n5, compress: r5, serialize: o4, sessionCache: i5 }) {
82551
+ }(C2, { fetchedBlobs: e3.blobsObj, doc: n4, log: h2.log, compress: s3, serialize: l2, sessionCache: d2 })), j2 = E2.then((e3) => function(e4, { doc: t5, fetchedBlobs: n5, compress: r5, serialize: o4, sessionCache: i5 }) {
82532
82552
  if (!t5.body)
82533
82553
  return Promise.resolve([]);
82534
82554
  const a4 = new Set(Object.keys(n5)), s4 = e4.filter(({ url: e5 }) => !(a4.has("blob:" + e5) || i5 && i5.getItem("blob:" + e5)));
@@ -82538,24 +82558,24 @@ creating temp style for access.`), r3 = $h(e3);
82538
82558
  const a5 = new MediaRecorder(n6, { mimeType: "video/webm" });
82539
82559
  a5.addEventListener("dataavailable", (n7) => {
82540
82560
  a5.stop(), e5.pause(), n7.data.arrayBuffer().then((e6) => {
82541
- const a6 = Uh({ type: n7.data.type, value: e6, compress: r5, serialize: o4 });
82561
+ const a6 = Fh({ type: n7.data.type, value: e6, compress: r5, serialize: o4 });
82542
82562
  a6.url = t6, i6(a6);
82543
82563
  });
82544
82564
  }, { once: true }), e5.play(), a5.start(), setTimeout(() => a5.requestData(), 1e3);
82545
82565
  });
82546
82566
  })).then((e5) => Wh(e5));
82547
- }(z2, { fetchedBlobs: e3.blobsObj, doc: n4, log: h2, compress: s3, serialize: l2, sessionCache: p2 })), I2 = g3.map(({ element: e3, url: n5 }) => t4(e3.contentDocument, n5)), D2 = w3.map(({ element: e3, url: n5 }) => t4(e3.contentDocument, n5));
82567
+ }(z2, { fetchedBlobs: e3.blobsObj, doc: n4, log: h2.log, compress: s3, serialize: l2, sessionCache: d2 })), I2 = k3.map(({ element: e3, url: n5 }) => t4(e3.contentDocument, n5)), D2 = w3.map(({ element: e3, url: n5 }) => t4(e3.contentDocument, n5));
82548
82568
  var P2;
82549
82569
  return Promise.all([E2, R2, N2, j2, ...I2, ...D2]).then(function(t5) {
82550
- const { resourceUrls: n5, blobsObj: o4 } = t5[0], a4 = t5[1], s4 = t5[2], l3 = t5[3], h3 = t5.slice(4), p3 = B2("src"), m4 = B2("data-applitools-selector"), f4 = m4 ? `[data-applitools-selector="${m4}"]` : void 0, g4 = function(e3) {
82570
+ const { resourceUrls: n5, blobsObj: o4 } = t5[0], a4 = t5[1], s4 = t5[2], l3 = t5[3], d3 = t5.slice(4), m4 = B2("src"), f4 = B2("data-applitools-selector"), g3 = f4 ? `[data-applitools-selector="${f4}"]` : void 0, b3 = function(e3) {
82551
82571
  return Object.keys(e3).map((t6) => Object.assign({ url: t6.replace(/^blob:/, "") }, e3[t6]));
82552
- }(o4).concat(a4).concat(s4).concat(l3), b3 = [], y2 = [];
82553
- for (const e3 of g4)
82554
- 599 === e3.errorStatusCode || 504 === e3.errorStatusCode ? (n5.push(e3.url), b3.push(`${e3.errorStatusCode}:${e3.url}`)) : y2.push(e3);
82555
- const k3 = { cdt: d3, url: r4, srcAttr: p3, resourceUrls: n5.map((e3) => e3.replace(/^blob:/, "")), blobs: y2, frames: h3, crossFrames: v3 };
82556
- void 0 !== c3 && (k3.safeSelectors = c3), void 0 !== f4 && (k3.selector = f4), i4 !== r4 && (k3.baseUri = i4);
82572
+ }(o4).concat(a4).concat(s4).concat(l3), y2 = [...h2.getWarnings()], k4 = [];
82573
+ for (const e3 of b3)
82574
+ 599 === e3.errorStatusCode || 504 === e3.errorStatusCode ? (n5.push(e3.url), y2.push(`${e3.errorStatusCode}:${e3.url}`)) : k4.push(e3);
82575
+ const w4 = { cdt: p3, url: r4, srcAttr: m4, resourceUrls: n5.map((e3) => e3.replace(/^blob:/, "")), blobs: k4, frames: d3, crossFrames: v3 };
82576
+ void 0 !== c3 && (w4.safeSelectors = c3), void 0 !== g3 && (w4.selector = g3), i4 !== r4 && (w4.baseUri = i4);
82557
82577
  try {
82558
- u2 && (w4 = u2, ((x4 = function(t6) {
82578
+ u2 && (x3 = u2, ((_2 = function(t6) {
82559
82579
  (t6 = t6 && t6[0]) && "function" == typeof t6.forEach && t6.forEach(function(t7) {
82560
82580
  if (t7.removeAttribute("data-applitools-selector"), t7.getRootNode)
82561
82581
  try {
@@ -82564,17 +82584,19 @@ creating temp style for access.`), r3 = $h(e3);
82564
82584
  } catch (t8) {
82565
82585
  }
82566
82586
  });
82567
- }) && x4.__esModule && Object.prototype.hasOwnProperty.call(x4, "default") ? x4.default : x4)(w4));
82587
+ }) && _2.__esModule && Object.prototype.hasOwnProperty.call(_2, "default") ? _2.default : _2)(x3));
82568
82588
  } catch (t6) {
82569
- b3.push(t6.message);
82589
+ y2.push(t6.message);
82570
82590
  }
82571
- var w4, x4;
82572
- return b3.length > 0 && (k3.warnings = b3), k3;
82591
+ var x3, _2;
82592
+ y2.length > 0 && (w4.warnings = y2);
82593
+ const S3 = h2.getErrors();
82594
+ return S3.length > 0 && (w4.errors = S3), w4;
82573
82595
  });
82574
82596
  function B2(e3) {
82575
82597
  return n4.defaultView && n4.defaultView.frameElement && n4.defaultView.frameElement.getAttribute(e3);
82576
82598
  }
82577
- }(t3).then((e3) => (h2("processPage end"), e3.scriptVersion = "4.13.12", e3));
82599
+ }(t3).then((e3) => (h2.log("processPage end"), e3.scriptVersion = "4.14.0", e3));
82578
82600
  }, window[x], "domSnapshotResult");
82579
82601
  return function(e3) {
82580
82602
  try {
@@ -82937,6 +82959,7 @@ var require_take_dom_snapshot = __commonJS({
82937
82959
  }))}`);
82938
82960
  logger.log("dom snapshot - safeSelectors:", snapshot.safeSelectors);
82939
82961
  logger.log("dom snapshot - warnings:", snapshot.warnings);
82962
+ snapshot.errors && logger.log("dom snapshot - errors:", snapshot.errors);
82940
82963
  } catch (err) {
82941
82964
  logger.error(`error while logging dom snapshot`, err);
82942
82965
  }
@@ -83532,6 +83555,7 @@ var require_take_snapshots2 = __commonJS({
83532
83555
  var abort_error_1 = require_abort_error();
83533
83556
  var filterStaleElements_1 = require_filterStaleElements();
83534
83557
  function makeTakeSnapshots({ core, spec, signal, logger: mainLogger }) {
83558
+ const MAX_LOGGED_ERRORS_PER_SNAPSHOT = 10;
83535
83559
  return async function takeSnapshots({ driver, settings = {}, account, logger = mainLogger }) {
83536
83560
  var _a, _b;
83537
83561
  logger = logger.extend(mainLogger);
@@ -83618,6 +83642,23 @@ var require_take_snapshots2 = __commonJS({
83618
83642
  const url = await driver.getUrl();
83619
83643
  const title = await driver.getTitle();
83620
83644
  const userAgent = environment.isWeb ? await driver.getUserAgentLegacy() : void 0;
83645
+ for (const snapshot of snapshots) {
83646
+ if (snapshot.errors && snapshot.errors.length > 0) {
83647
+ for (const error of snapshot.errors.slice(0, MAX_LOGGED_ERRORS_PER_SNAPSHOT)) {
83648
+ void core.logEvent({
83649
+ settings: {
83650
+ level: "Error",
83651
+ event: {
83652
+ type: "DomSnapshotError",
83653
+ message: error,
83654
+ url: snapshot.url
83655
+ },
83656
+ ...account.eyesServer
83657
+ }
83658
+ });
83659
+ }
83660
+ }
83661
+ }
83621
83662
  return snapshots.map((snapshot, index) => ({
83622
83663
  target: snapshot,
83623
83664
  settings: getSafeCheckSettings({
@@ -107476,7 +107517,7 @@ var require_package3 = __commonJS({
107476
107517
  "../core/package.json"(exports, module) {
107477
107518
  module.exports = {
107478
107519
  name: "@applitools/core",
107479
- version: "4.50.4",
107520
+ version: "4.51.0",
107480
107521
  homepage: "https://applitools.com",
107481
107522
  bugs: {
107482
107523
  url: "https://github.com/applitools/eyes.sdk.javascript1/issues"
@@ -114386,7 +114427,7 @@ var require_package4 = __commonJS({
114386
114427
  "../eyes/package.json"(exports, module) {
114387
114428
  module.exports = {
114388
114429
  name: "@applitools/eyes",
114389
- version: "1.36.13",
114430
+ version: "1.36.14",
114390
114431
  keywords: [
114391
114432
  "applitools",
114392
114433
  "eyes",