redbot 2.6.2__tar.gz → 2.7.1__tar.gz

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 (89) hide show
  1. {redbot-2.6.2/redbot.egg-info → redbot-2.7.1}/PKG-INFO +9 -7
  2. {redbot-2.6.2 → redbot-2.7.1}/README.md +4 -0
  3. {redbot-2.6.2 → redbot-2.7.1}/pyproject.toml +4 -6
  4. {redbot-2.6.2 → redbot-2.7.1}/redbot/__init__.py +1 -1
  5. redbot-2.7.1/redbot/assets/script.js +2 -0
  6. redbot-2.7.1/redbot/assets/script.js.map +1 -0
  7. {redbot-2.6.2 → redbot-2.7.1}/redbot/cli.py +4 -1
  8. {redbot-2.6.2 → redbot-2.7.1}/redbot/daemon.py +34 -37
  9. {redbot-2.6.2 → redbot-2.7.1}/redbot/formatter/__init__.py +10 -4
  10. {redbot-2.6.2 → redbot-2.7.1}/redbot/formatter/har.py +35 -8
  11. {redbot-2.6.2 → redbot-2.7.1}/redbot/formatter/html.py +12 -13
  12. {redbot-2.6.2 → redbot-2.7.1}/redbot/formatter/html_base.py +9 -5
  13. {redbot-2.6.2 → redbot-2.7.1}/redbot/formatter/templates/response_finish.html +4 -2
  14. {redbot-2.6.2 → redbot-2.7.1}/redbot/formatter/templates/response_multi_finish.html +19 -7
  15. {redbot-2.6.2 → redbot-2.7.1}/redbot/formatter/templates/response_start.html +7 -7
  16. {redbot-2.6.2 → redbot-2.7.1}/redbot/formatter/text.py +75 -30
  17. {redbot-2.6.2 → redbot-2.7.1}/redbot/resource/__init__.py +88 -15
  18. {redbot-2.6.2 → redbot-2.7.1}/redbot/resource/active_check/lm_validate.py +4 -2
  19. {redbot-2.6.2 → redbot-2.7.1}/redbot/resource/fetch.py +26 -6
  20. {redbot-2.6.2 → redbot-2.7.1}/redbot/resource/link_parse.py +71 -13
  21. {redbot-2.6.2 → redbot-2.7.1}/redbot/type.py +1 -3
  22. {redbot-2.6.2 → redbot-2.7.1}/redbot/utils.py +12 -0
  23. {redbot-2.6.2 → redbot-2.7.1}/redbot/webbotauth.py +27 -10
  24. {redbot-2.6.2 → redbot-2.7.1}/redbot/webui/__init__.py +6 -10
  25. {redbot-2.6.2 → redbot-2.7.1}/redbot/webui/captcha.py +76 -27
  26. {redbot-2.6.2 → redbot-2.7.1}/redbot/webui/handlers/run_test.py +23 -14
  27. {redbot-2.6.2 → redbot-2.7.1}/redbot/webui/handlers/save.py +90 -37
  28. {redbot-2.6.2 → redbot-2.7.1}/redbot/webui/handlers/show.py +3 -5
  29. redbot-2.7.1/redbot/webui/headers.py +17 -0
  30. {redbot-2.6.2 → redbot-2.7.1}/redbot/webui/links.py +4 -1
  31. {redbot-2.6.2 → redbot-2.7.1}/redbot/webui/saved_tests.py +23 -7
  32. {redbot-2.6.2 → redbot-2.7.1/redbot.egg-info}/PKG-INFO +9 -7
  33. {redbot-2.6.2 → redbot-2.7.1}/redbot.egg-info/SOURCES.txt +1 -0
  34. {redbot-2.6.2 → redbot-2.7.1}/redbot.egg-info/requires.txt +3 -5
  35. redbot-2.6.2/redbot/assets/script.js +0 -2
  36. redbot-2.6.2/redbot/assets/script.js.map +0 -1
  37. {redbot-2.6.2 → redbot-2.7.1}/LICENSE.md +0 -0
  38. {redbot-2.6.2 → redbot-2.7.1}/MANIFEST.in +0 -0
  39. {redbot-2.6.2 → redbot-2.7.1}/redbot/assets/__init__.py +0 -0
  40. {redbot-2.6.2 → redbot-2.7.1}/redbot/assets/icons/__init__.py +0 -0
  41. {redbot-2.6.2 → redbot-2.7.1}/redbot/assets/icons/check-circle.svg +0 -0
  42. {redbot-2.6.2 → redbot-2.7.1}/redbot/assets/icons/exclamation-circle.svg +0 -0
  43. {redbot-2.6.2 → redbot-2.7.1}/redbot/assets/icons/info-circle.svg +0 -0
  44. {redbot-2.6.2 → redbot-2.7.1}/redbot/assets/icons/question-circle.svg +0 -0
  45. {redbot-2.6.2 → redbot-2.7.1}/redbot/assets/icons/times-circle.svg +0 -0
  46. {redbot-2.6.2 → redbot-2.7.1}/redbot/assets/logo/__init__.py +0 -0
  47. {redbot-2.6.2 → redbot-2.7.1}/redbot/assets/logo/apple-touch-icon-144x144.png +0 -0
  48. {redbot-2.6.2 → redbot-2.7.1}/redbot/assets/logo/apple-touch-icon-152x152.png +0 -0
  49. {redbot-2.6.2 → redbot-2.7.1}/redbot/assets/logo/favicon-16x16.png +0 -0
  50. {redbot-2.6.2 → redbot-2.7.1}/redbot/assets/logo/favicon-32x32.png +0 -0
  51. {redbot-2.6.2 → redbot-2.7.1}/redbot/assets/logo/favicon.ico +0 -0
  52. {redbot-2.6.2 → redbot-2.7.1}/redbot/assets/logo/mstile-144x144.png +0 -0
  53. {redbot-2.6.2 → redbot-2.7.1}/redbot/assets/logo/redbot-sq.png +0 -0
  54. {redbot-2.6.2 → redbot-2.7.1}/redbot/assets/prettify.js +0 -0
  55. {redbot-2.6.2 → redbot-2.7.1}/redbot/assets/prettify.js.map +0 -0
  56. {redbot-2.6.2 → redbot-2.7.1}/redbot/assets/red_style.css +0 -0
  57. {redbot-2.6.2 → redbot-2.7.1}/redbot/assets/red_style.css.map +0 -0
  58. {redbot-2.6.2 → redbot-2.7.1}/redbot/assets/style.css +0 -0
  59. {redbot-2.6.2 → redbot-2.7.1}/redbot/formatter/null_links.py +0 -0
  60. {redbot-2.6.2 → redbot-2.7.1}/redbot/formatter/templates/__init__.py +0 -0
  61. {redbot-2.6.2 → redbot-2.7.1}/redbot/formatter/templates/footer.html +0 -0
  62. {redbot-2.6.2 → redbot-2.7.1}/redbot/gc.py +0 -0
  63. {redbot-2.6.2 → redbot-2.7.1}/redbot/i18n.py +0 -0
  64. {redbot-2.6.2 → redbot-2.7.1}/redbot/note.py +0 -0
  65. {redbot-2.6.2 → redbot-2.7.1}/redbot/resource/active_check/__init__.py +0 -0
  66. {redbot-2.6.2 → redbot-2.7.1}/redbot/resource/active_check/base.py +0 -0
  67. {redbot-2.6.2 → redbot-2.7.1}/redbot/resource/active_check/conneg.py +0 -0
  68. {redbot-2.6.2 → redbot-2.7.1}/redbot/resource/active_check/etag_validate.py +0 -0
  69. {redbot-2.6.2 → redbot-2.7.1}/redbot/resource/active_check/range.py +0 -0
  70. {redbot-2.6.2 → redbot-2.7.1}/redbot/translations/__init__.py +0 -0
  71. {redbot-2.6.2 → redbot-2.7.1}/redbot/translations/es/LC_MESSAGES/messages.mo +0 -0
  72. {redbot-2.6.2 → redbot-2.7.1}/redbot/translations/es/LC_MESSAGES/messages.po +0 -0
  73. {redbot-2.6.2 → redbot-2.7.1}/redbot/translations/extra_strings.py +0 -0
  74. {redbot-2.6.2 → redbot-2.7.1}/redbot/translations/fr/LC_MESSAGES/messages.mo +0 -0
  75. {redbot-2.6.2 → redbot-2.7.1}/redbot/translations/fr/LC_MESSAGES/messages.po +0 -0
  76. {redbot-2.6.2 → redbot-2.7.1}/redbot/translations/ja/LC_MESSAGES/messages.mo +0 -0
  77. {redbot-2.6.2 → redbot-2.7.1}/redbot/translations/ja/LC_MESSAGES/messages.po +0 -0
  78. {redbot-2.6.2 → redbot-2.7.1}/redbot/translations/messages.pot +0 -0
  79. {redbot-2.6.2 → redbot-2.7.1}/redbot/translations/zh/LC_MESSAGES/messages.mo +0 -0
  80. {redbot-2.6.2 → redbot-2.7.1}/redbot/translations/zh/LC_MESSAGES/messages.po +0 -0
  81. {redbot-2.6.2 → redbot-2.7.1}/redbot/webui/handlers/__init__.py +0 -0
  82. {redbot-2.6.2 → redbot-2.7.1}/redbot/webui/handlers/base.py +0 -0
  83. {redbot-2.6.2 → redbot-2.7.1}/redbot/webui/handlers/client_error.py +0 -0
  84. {redbot-2.6.2 → redbot-2.7.1}/redbot/webui/handlers/error.py +0 -0
  85. {redbot-2.6.2 → redbot-2.7.1}/redbot/webui/ratelimit.py +0 -0
  86. {redbot-2.6.2 → redbot-2.7.1}/redbot.egg-info/dependency_links.txt +0 -0
  87. {redbot-2.6.2 → redbot-2.7.1}/redbot.egg-info/entry_points.txt +0 -0
  88. {redbot-2.6.2 → redbot-2.7.1}/redbot.egg-info/top_level.txt +0 -0
  89. {redbot-2.6.2 → redbot-2.7.1}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: redbot
3
- Version: 2.6.2
3
+ Version: 2.7.1
4
4
  Summary: REDbot is lint for HTTP.
5
5
  Author-email: Mark Nottingham <mnot@mnot.net>
6
6
  License-Expression: MIT
@@ -13,19 +13,17 @@ Classifier: Environment :: Web Environment
13
13
  Classifier: Topic :: Internet :: WWW/HTTP
14
14
  Classifier: Topic :: Software Development :: Testing
15
15
  Classifier: Operating System :: MacOS :: MacOS X
16
- Requires-Python: >=3.9
16
+ Requires-Python: >=3.11
17
17
  Description-Content-Type: text/markdown
18
18
  License-File: LICENSE.md
19
19
  Requires-Dist: cryptography>=42.0.0
20
- Requires-Dist: http-sf>=1.0
21
- Requires-Dist: httplint>=2026.09.1
22
- Requires-Dist: importlib_resources
20
+ Requires-Dist: http-sf>=1.4.0
21
+ Requires-Dist: httplint>=2026.10.3
23
22
  Requires-Dist: Jinja2>=3.1.2
24
23
  Requires-Dist: markdown>=3.4.4
25
24
  Requires-Dist: MarkupSafe>=2.1.3
26
25
  Requires-Dist: netaddr>=1.2.1
27
- Requires-Dist: thor>=0.15.1
28
- Requires-Dist: typing-extensions>=4.8.0
26
+ Requires-Dist: thor>=0.16.1
29
27
  Provides-Extra: systemd
30
28
  Requires-Dist: cysystemd; extra == "systemd"
31
29
  Provides-Extra: dev
@@ -80,6 +78,8 @@ Both of these methods will install the following programs into your [pipx binary
80
78
  * `redbot` - the command-line interface
81
79
  * `redbot_daemon` - Web interface as a standalone daemon
82
80
 
81
+ By default, `redbot` prints a text report for the URL. Use `-o` to choose another format: `text_verbose` adds an explanation of each note, and `har` produces an HTTP Archive (HAR) file. With `-a` (`--assets`), `text` and `text_verbose` also list the resources linked from an HTML response. The web interface accepts the same names in its `format` query argument (`format=text`, `format=text_verbose`, `format=har`).
82
+
83
83
 
84
84
  ### Running REDbot as a systemd Service
85
85
 
@@ -98,6 +98,8 @@ or
98
98
 
99
99
  > podman run --rm -p 8000:8000 ghcr.io/mnot/redbot
100
100
 
101
+ The daemon runs as an unprivileged `redbot` user (UID 999). Saving tests is off by default. To enable it, set `save_dir = /var/lib/redbot` in a config file that you mount into the container and pass as the command, and mount a named volume at `/var/lib/redbot` to keep the saved tests. The image provides that directory, owned by the daemon's user; a bind-mounted host directory must be writable by UID 999.
102
+
101
103
 
102
104
  ## Web Bot Auth
103
105
 
@@ -32,6 +32,8 @@ Both of these methods will install the following programs into your [pipx binary
32
32
  * `redbot` - the command-line interface
33
33
  * `redbot_daemon` - Web interface as a standalone daemon
34
34
 
35
+ By default, `redbot` prints a text report for the URL. Use `-o` to choose another format: `text_verbose` adds an explanation of each note, and `har` produces an HTTP Archive (HAR) file. With `-a` (`--assets`), `text` and `text_verbose` also list the resources linked from an HTML response. The web interface accepts the same names in its `format` query argument (`format=text`, `format=text_verbose`, `format=har`).
36
+
35
37
 
36
38
  ### Running REDbot as a systemd Service
37
39
 
@@ -50,6 +52,8 @@ or
50
52
 
51
53
  > podman run --rm -p 8000:8000 ghcr.io/mnot/redbot
52
54
 
55
+ The daemon runs as an unprivileged `redbot` user (UID 999). Saving tests is off by default. To enable it, set `save_dir = /var/lib/redbot` in a config file that you mount into the container and pass as the command, and mount a named volume at `/var/lib/redbot` to keep the saved tests. The image provides that directory, owned by the daemon's user; a bind-mounted host directory must be writable by UID 999.
56
+
53
57
 
54
58
  ## Web Bot Auth
55
59
 
@@ -5,7 +5,7 @@ authors = [
5
5
  {name="Mark Nottingham", email="mnot@mnot.net"}
6
6
  ]
7
7
  description = "REDbot is lint for HTTP."
8
- requires-python = ">=3.9"
8
+ requires-python = ">=3.11"
9
9
  readme = "README.md"
10
10
  license = "MIT"
11
11
  classifiers = [
@@ -21,15 +21,13 @@ classifiers = [
21
21
  license-files = ["LICENSE.md"]
22
22
  dependencies = [
23
23
  "cryptography >= 42.0.0",
24
- "http-sf >= 1.0",
25
- "httplint >= 2026.09.1",
26
- "importlib_resources",
24
+ "http-sf >= 1.4.0",
25
+ "httplint >= 2026.10.3",
27
26
  "Jinja2 >= 3.1.2",
28
27
  "markdown >= 3.4.4",
29
28
  "MarkupSafe >= 2.1.3",
30
29
  "netaddr >= 1.2.1",
31
- "thor >= 0.15.1",
32
- "typing-extensions >= 4.8.0",
30
+ "thor >= 0.16.1",
33
31
  ]
34
32
 
35
33
  [project.urls]
@@ -2,7 +2,7 @@
2
2
  This is the Resource Expert Droid.
3
3
  """
4
4
 
5
- __version__ = "2.6.2"
5
+ __version__ = "2.7.1"
6
6
  __author__ = "Mark Nottingham <mnot@mnot.net>"
7
7
  __copyright__ = """\
8
8
  Copyright (c) 2008- Mark Nottingham
@@ -0,0 +1,2 @@
1
+ (()=>{"use strict";var e={472(e,t,n){function o(e,t){return void 0===t?document.querySelector(e):t.querySelector(e)}function i(e,t,n){let o;o=void 0===n?document.querySelectorAll(e):n.querySelectorAll(e),o.forEach(t)}function r(e){e.classList.toggle("hidden")}function a(e){"loading"!==document.readyState?e():document.addEventListener("DOMContentLoaded",e)}function s(e){if(void 0!==e)return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")}n.d(t,{GY:()=>i,N2:()=>r,ZD:()=>s,cx:()=>a,qs:()=>o}),window.NodeList&&!window.NodeList.prototype.forEach&&(window.NodeList.prototype.forEach=Array.prototype.forEach);const c=JSON.parse(o("#config").innerHTML);n.d(t,["$W",0,c])},117(e,t,n){function o(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function i(e){return e instanceof o(e).Element||e instanceof Element}function r(e){return e instanceof o(e).HTMLElement||e instanceof HTMLElement}function a(e){return"undefined"!=typeof ShadowRoot&&(e instanceof o(e).ShadowRoot||e instanceof ShadowRoot)}n.d(t,{Ay:()=>Je});var s=Math.max,c=Math.min,u=Math.round;function p(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function f(){return!/^((?!chrome|android).)*safari/i.test(p())}function l(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var a=e.getBoundingClientRect(),s=1,c=1;t&&r(e)&&(s=e.offsetWidth>0&&u(a.width)/e.offsetWidth||1,c=e.offsetHeight>0&&u(a.height)/e.offsetHeight||1);var p=(i(e)?o(e):window).visualViewport,l=!f()&&n,d=(a.left+(l&&p?p.offsetLeft:0))/s,h=(a.top+(l&&p?p.offsetTop:0))/c,m=a.width/s,v=a.height/c;return{width:m,height:v,top:h,right:d+m,bottom:h+v,left:d,x:d,y:h}}function d(e){var t=o(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function h(e){return e?(e.nodeName||"").toLowerCase():null}function m(e){return((i(e)?e.ownerDocument:e.document)||window.document).documentElement}function v(e){return l(m(e)).left+d(e).scrollLeft}function y(e){return o(e).getComputedStyle(e)}function g(e){var t=y(e),n=t.overflow,o=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+o)}function b(e,t,n){void 0===n&&(n=!1);var i,a,s=r(t),c=r(t)&&function(e){var t=e.getBoundingClientRect(),n=u(t.width)/e.offsetWidth||1,o=u(t.height)/e.offsetHeight||1;return 1!==n||1!==o}(t),p=m(t),f=l(e,c,n),y={scrollLeft:0,scrollTop:0},b={x:0,y:0};return(s||!s&&!n)&&(("body"!==h(t)||g(p))&&(y=(i=t)!==o(i)&&r(i)?{scrollLeft:(a=i).scrollLeft,scrollTop:a.scrollTop}:d(i)),r(t)?((b=l(t,!0)).x+=t.clientLeft,b.y+=t.clientTop):p&&(b.x=v(p))),{x:f.left+y.scrollLeft-b.x,y:f.top+y.scrollTop-b.y,width:f.width,height:f.height}}function x(e){var t=l(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}function w(e){return"html"===h(e)?e:e.assignedSlot||e.parentNode||(a(e)?e.host:null)||m(e)}function O(e){return["html","body","#document"].indexOf(h(e))>=0?e.ownerDocument.body:r(e)&&g(e)?e:O(w(e))}function E(e,t){var n;void 0===t&&(t=[]);var i=O(e),r=i===(null==(n=e.ownerDocument)?void 0:n.body),a=o(i),s=r?[a].concat(a.visualViewport||[],g(i)?i:[]):i,c=t.concat(s);return r?c:c.concat(E(w(s)))}function A(e){return["table","td","th"].indexOf(h(e))>=0}function _(e){return r(e)&&"fixed"!==y(e).position?e.offsetParent:null}function L(e){for(var t=o(e),n=_(e);n&&A(n)&&"static"===y(n).position;)n=_(n);return n&&("html"===h(n)||"body"===h(n)&&"static"===y(n).position)?t:n||function(e){var t=/firefox/i.test(p());if(/Trident/i.test(p())&&r(e)&&"fixed"===y(e).position)return null;var n=w(e);for(a(n)&&(n=n.host);r(n)&&["html","body"].indexOf(h(n))<0;){var o=y(n);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||t&&"filter"===o.willChange||t&&o.filter&&"none"!==o.filter)return n;n=n.parentNode}return null}(e)||t}var T="top",q="bottom",C="right",k="left",D="auto",j=[T,q,C,k],M="start",$="end",W="viewport",B="popper",H=j.reduce(function(e,t){return e.concat([t+"-"+M,t+"-"+$])},[]),S=[].concat(j,[D]).reduce(function(e,t){return e.concat([t,t+"-"+M,t+"-"+$])},[]),N=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function P(e){var t=new Map,n=new Set,o=[];function i(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!n.has(e)){var o=t.get(e);o&&i(o)}}),o.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||i(e)}),o}var V={placement:"bottom",modifiers:[],strategy:"absolute"};function R(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function I(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,o=void 0===n?[]:n,r=t.defaultOptions,a=void 0===r?V:r;return function(e,t,n){void 0===n&&(n=a);var r,s,c={placement:"bottom",orderedModifiers:[],options:Object.assign({},V,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},u=[],p=!1,f={state:c,setOptions:function(n){var r="function"==typeof n?n(c.options):n;l(),c.options=Object.assign({},a,c.options,r),c.scrollParents={reference:i(e)?E(e):e.contextElement?E(e.contextElement):[],popper:E(t)};var s,p,d=function(e){var t=P(e);return N.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}((s=[].concat(o,c.options.modifiers),p=s.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{}),Object.keys(p).map(function(e){return p[e]})));return c.orderedModifiers=d.filter(function(e){return e.enabled}),c.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,o=void 0===n?{}:n,i=e.effect;if("function"==typeof i){var r=i({state:c,name:t,instance:f,options:o});u.push(r||function(){})}}),f.update()},forceUpdate:function(){if(!p){var e=c.elements,t=e.reference,n=e.popper;if(R(t,n)){c.rects={reference:b(t,L(n),"fixed"===c.options.strategy),popper:x(n)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach(function(e){return c.modifiersData[e.name]=Object.assign({},e.data)});for(var o=0;o<c.orderedModifiers.length;o++)if(!0!==c.reset){var i=c.orderedModifiers[o],r=i.fn,a=i.options,s=void 0===a?{}:a,u=i.name;"function"==typeof r&&(c=r({state:c,options:s,name:u,instance:f})||c)}else c.reset=!1,o=-1}}},update:(r=function(){return new Promise(function(e){f.forceUpdate(),e(c)})},function(){return s||(s=new Promise(function(e){Promise.resolve().then(function(){s=void 0,e(r())})})),s}),destroy:function(){l(),p=!0}};if(!R(e,t))return f;function l(){u.forEach(function(e){return e()}),u=[]}return f.setOptions(n).then(function(e){!p&&n.onFirstUpdate&&n.onFirstUpdate(e)}),f}}var U={passive:!0};function Y(e){return e.split("-")[0]}function G(e){return e.split("-")[1]}function z(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function F(e){var t,n=e.reference,o=e.element,i=e.placement,r=i?Y(i):null,a=i?G(i):null,s=n.x+n.width/2-o.width/2,c=n.y+n.height/2-o.height/2;switch(r){case T:t={x:s,y:n.y-o.height};break;case q:t={x:s,y:n.y+n.height};break;case C:t={x:n.x+n.width,y:c};break;case k:t={x:n.x-o.width,y:c};break;default:t={x:n.x,y:n.y}}var u=r?z(r):null;if(null!=u){var p="y"===u?"height":"width";switch(a){case M:t[u]=t[u]-(n[p]/2-o[p]/2);break;case $:t[u]=t[u]+(n[p]/2-o[p]/2)}}return t}var Z={top:"auto",right:"auto",bottom:"auto",left:"auto"};function X(e){var t,n=e.popper,i=e.popperRect,r=e.placement,a=e.variation,s=e.offsets,c=e.position,p=e.gpuAcceleration,f=e.adaptive,l=e.roundOffsets,d=e.isFixed,h=s.x,v=void 0===h?0:h,g=s.y,b=void 0===g?0:g,x="function"==typeof l?l({x:v,y:b}):{x:v,y:b};v=x.x,b=x.y;var w=s.hasOwnProperty("x"),O=s.hasOwnProperty("y"),E=k,A=T,_=window;if(f){var D=L(n),j="clientHeight",M="clientWidth";D===o(n)&&"static"!==y(D=m(n)).position&&"absolute"===c&&(j="scrollHeight",M="scrollWidth"),(r===T||(r===k||r===C)&&a===$)&&(A=q,b-=(d&&D===_&&_.visualViewport?_.visualViewport.height:D[j])-i.height,b*=p?1:-1),r!==k&&(r!==T&&r!==q||a!==$)||(E=C,v-=(d&&D===_&&_.visualViewport?_.visualViewport.width:D[M])-i.width,v*=p?1:-1)}var W,B=Object.assign({position:c},f&&Z),H=!0===l?function(e,t){var n=e.x,o=e.y,i=t.devicePixelRatio||1;return{x:u(n*i)/i||0,y:u(o*i)/i||0}}({x:v,y:b},o(n)):{x:v,y:b};return v=H.x,b=H.y,p?Object.assign({},B,((W={})[A]=O?"0":"",W[E]=w?"0":"",W.transform=(_.devicePixelRatio||1)<=1?"translate("+v+"px, "+b+"px)":"translate3d("+v+"px, "+b+"px, 0)",W)):Object.assign({},B,((t={})[A]=O?b+"px":"",t[E]=w?v+"px":"",t.transform="",t))}const J={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},o=t.attributes[e]||{},i=t.elements[e];r(i)&&h(i)&&(Object.assign(i.style,n),Object.keys(o).forEach(function(e){var t=o[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var o=t.elements[e],i=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});r(o)&&h(o)&&(Object.assign(o.style,a),Object.keys(i).forEach(function(e){o.removeAttribute(e)}))})}},requires:["computeStyles"]};var K={left:"right",right:"left",bottom:"top",top:"bottom"};function Q(e){return e.replace(/left|right|bottom|top/g,function(e){return K[e]})}var ee={start:"end",end:"start"};function te(e){return e.replace(/start|end/g,function(e){return ee[e]})}function ne(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&a(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function oe(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ie(e,t,n){return t===W?oe(function(e,t){var n=o(e),i=m(e),r=n.visualViewport,a=i.clientWidth,s=i.clientHeight,c=0,u=0;if(r){a=r.width,s=r.height;var p=f();(p||!p&&"fixed"===t)&&(c=r.offsetLeft,u=r.offsetTop)}return{width:a,height:s,x:c+v(e),y:u}}(e,n)):i(t)?function(e,t){var n=l(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):oe(function(e){var t,n=m(e),o=d(e),i=null==(t=e.ownerDocument)?void 0:t.body,r=s(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=s(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),c=-o.scrollLeft+v(e),u=-o.scrollTop;return"rtl"===y(i||n).direction&&(c+=s(n.clientWidth,i?i.clientWidth:0)-r),{width:r,height:a,x:c,y:u}}(m(e)))}function re(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ae(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}function se(e,t){void 0===t&&(t={});var n=t,o=n.placement,a=void 0===o?e.placement:o,u=n.strategy,p=void 0===u?e.strategy:u,f=n.boundary,d=void 0===f?"clippingParents":f,v=n.rootBoundary,g=void 0===v?W:v,b=n.elementContext,x=void 0===b?B:b,O=n.altBoundary,A=void 0!==O&&O,_=n.padding,k=void 0===_?0:_,D=re("number"!=typeof k?k:ae(k,j)),M=x===B?"reference":B,$=e.rects.popper,H=e.elements[A?M:x],S=function(e,t,n,o){var a="clippingParents"===t?function(e){var t=E(w(e)),n=["absolute","fixed"].indexOf(y(e).position)>=0&&r(e)?L(e):e;return i(n)?t.filter(function(e){return i(e)&&ne(e,n)&&"body"!==h(e)}):[]}(e):[].concat(t),u=[].concat(a,[n]),p=u[0],f=u.reduce(function(t,n){var i=ie(e,n,o);return t.top=s(i.top,t.top),t.right=c(i.right,t.right),t.bottom=c(i.bottom,t.bottom),t.left=s(i.left,t.left),t},ie(e,p,o));return f.width=f.right-f.left,f.height=f.bottom-f.top,f.x=f.left,f.y=f.top,f}(i(H)?H:H.contextElement||m(e.elements.popper),d,g,p),N=l(e.elements.reference),P=F({reference:N,element:$,strategy:"absolute",placement:a}),V=oe(Object.assign({},$,P)),R=x===B?V:N,I={top:S.top-R.top+D.top,bottom:R.bottom-S.bottom+D.bottom,left:S.left-R.left+D.left,right:R.right-S.right+D.right},U=e.modifiersData.offset;if(x===B&&U){var Y=U[a];Object.keys(I).forEach(function(e){var t=[C,q].indexOf(e)>=0?1:-1,n=[T,q].indexOf(e)>=0?"y":"x";I[e]+=Y[n]*t})}return I}function ce(e,t,n){return s(e,c(t,n))}function ue(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function pe(e){return[T,C,q,k].some(function(t){return e[t]>=0})}var fe=I({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,i=e.options,r=i.scroll,a=void 0===r||r,s=i.resize,c=void 0===s||s,u=o(t.elements.popper),p=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&p.forEach(function(e){e.addEventListener("scroll",n.update,U)}),c&&u.addEventListener("resize",n.update,U),function(){a&&p.forEach(function(e){e.removeEventListener("scroll",n.update,U)}),c&&u.removeEventListener("resize",n.update,U)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=F({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,o=n.gpuAcceleration,i=void 0===o||o,r=n.adaptive,a=void 0===r||r,s=n.roundOffsets,c=void 0===s||s,u={placement:Y(t.placement),variation:G(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,X(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:c})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,X(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},J,{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,o=e.name,i=n.offset,r=void 0===i?[0,0]:i,a=S.reduce(function(e,n){return e[n]=function(e,t,n){var o=Y(e),i=[k,T].indexOf(o)>=0?-1:1,r="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=r[0],s=r[1];return a=a||0,s=(s||0)*i,[k,C].indexOf(o)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,r),e},{}),s=a[t.placement],c=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=u),t.modifiersData[o]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var i=n.mainAxis,r=void 0===i||i,a=n.altAxis,s=void 0===a||a,c=n.fallbackPlacements,u=n.padding,p=n.boundary,f=n.rootBoundary,l=n.altBoundary,d=n.flipVariations,h=void 0===d||d,m=n.allowedAutoPlacements,v=t.options.placement,y=Y(v),g=c||(y!==v&&h?function(e){if(Y(e)===D)return[];var t=Q(e);return[te(e),t,te(t)]}(v):[Q(v)]),b=[v].concat(g).reduce(function(e,n){return e.concat(Y(n)===D?function(e,t){void 0===t&&(t={});var n=t,o=n.placement,i=n.boundary,r=n.rootBoundary,a=n.padding,s=n.flipVariations,c=n.allowedAutoPlacements,u=void 0===c?S:c,p=G(o),f=p?s?H:H.filter(function(e){return G(e)===p}):j,l=f.filter(function(e){return u.indexOf(e)>=0});0===l.length&&(l=f);var d=l.reduce(function(t,n){return t[n]=se(e,{placement:n,boundary:i,rootBoundary:r,padding:a})[Y(n)],t},{});return Object.keys(d).sort(function(e,t){return d[e]-d[t]})}(t,{placement:n,boundary:p,rootBoundary:f,padding:u,flipVariations:h,allowedAutoPlacements:m}):n)},[]),x=t.rects.reference,w=t.rects.popper,O=new Map,E=!0,A=b[0],_=0;_<b.length;_++){var L=b[_],$=Y(L),W=G(L)===M,B=[T,q].indexOf($)>=0,N=B?"width":"height",P=se(t,{placement:L,boundary:p,rootBoundary:f,altBoundary:l,padding:u}),V=B?W?C:k:W?q:T;x[N]>w[N]&&(V=Q(V));var R=Q(V),I=[];if(r&&I.push(P[$]<=0),s&&I.push(P[V]<=0,P[R]<=0),I.every(function(e){return e})){A=L,E=!1;break}O.set(L,I)}if(E)for(var U=function(e){var t=b.find(function(t){var n=O.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return A=t,"break"},z=h?3:1;z>0&&"break"!==U(z);z--);t.placement!==A&&(t.modifiersData[o]._skip=!0,t.placement=A,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,o=e.name,i=n.mainAxis,r=void 0===i||i,a=n.altAxis,u=void 0!==a&&a,p=n.boundary,f=n.rootBoundary,l=n.altBoundary,d=n.padding,h=n.tether,m=void 0===h||h,v=n.tetherOffset,y=void 0===v?0:v,g=se(t,{boundary:p,rootBoundary:f,padding:d,altBoundary:l}),b=Y(t.placement),w=G(t.placement),O=!w,E=z(b),A="x"===E?"y":"x",_=t.modifiersData.popperOffsets,D=t.rects.reference,j=t.rects.popper,$="function"==typeof y?y(Object.assign({},t.rects,{placement:t.placement})):y,W="number"==typeof $?{mainAxis:$,altAxis:$}:Object.assign({mainAxis:0,altAxis:0},$),B=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,H={x:0,y:0};if(_){if(r){var S,N="y"===E?T:k,P="y"===E?q:C,V="y"===E?"height":"width",R=_[E],I=R+g[N],U=R-g[P],F=m?-j[V]/2:0,Z=w===M?D[V]:j[V],X=w===M?-j[V]:-D[V],J=t.elements.arrow,K=m&&J?x(J):{width:0,height:0},Q=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},ee=Q[N],te=Q[P],ne=ce(0,D[V],K[V]),oe=O?D[V]/2-F-ne-ee-W.mainAxis:Z-ne-ee-W.mainAxis,ie=O?-D[V]/2+F+ne+te+W.mainAxis:X+ne+te+W.mainAxis,re=t.elements.arrow&&L(t.elements.arrow),ae=re?"y"===E?re.clientTop||0:re.clientLeft||0:0,ue=null!=(S=null==B?void 0:B[E])?S:0,pe=R+ie-ue,fe=ce(m?c(I,R+oe-ue-ae):I,R,m?s(U,pe):U);_[E]=fe,H[E]=fe-R}if(u){var le,de="x"===E?T:k,he="x"===E?q:C,me=_[A],ve="y"===A?"height":"width",ye=me+g[de],ge=me-g[he],be=-1!==[T,k].indexOf(b),xe=null!=(le=null==B?void 0:B[A])?le:0,we=be?ye:me-D[ve]-j[ve]-xe+W.altAxis,Oe=be?me+D[ve]+j[ve]-xe-W.altAxis:ge,Ee=m&&be?function(e,t,n){var o=ce(e,t,n);return o>n?n:o}(we,me,Oe):ce(m?we:ye,me,m?Oe:ge);_[A]=Ee,H[A]=Ee-me}t.modifiersData[o]=H}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,o=e.name,i=e.options,r=n.elements.arrow,a=n.modifiersData.popperOffsets,s=Y(n.placement),c=z(s),u=[k,C].indexOf(s)>=0?"height":"width";if(r&&a){var p=function(e,t){return re("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:ae(e,j))}(i.padding,n),f=x(r),l="y"===c?T:k,d="y"===c?q:C,h=n.rects.reference[u]+n.rects.reference[c]-a[c]-n.rects.popper[u],m=a[c]-n.rects.reference[c],v=L(r),y=v?"y"===c?v.clientHeight||0:v.clientWidth||0:0,g=h/2-m/2,b=p[l],w=y-f[u]-p[d],O=y/2-f[u]/2+g,E=ce(b,O,w),A=c;n.modifiersData[o]=((t={})[A]=E,t.centerOffset=E-O,t)}},effect:function(e){var t=e.state,n=e.options.element,o=void 0===n?"[data-popper-arrow]":n;null!=o&&("string"!=typeof o||(o=t.elements.popper.querySelector(o)))&&ne(t.elements.popper,o)&&(t.elements.arrow=o)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,o=t.rects.reference,i=t.rects.popper,r=t.modifiersData.preventOverflow,a=se(t,{elementContext:"reference"}),s=se(t,{altBoundary:!0}),c=ue(a,o),u=ue(s,i,r),p=pe(c),f=pe(u);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:u,isReferenceHidden:p,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":f})}}]}),le="tippy-content",de="tippy-arrow",he="tippy-svg-arrow",me={passive:!0,capture:!0},ve=function(){return document.body};function ye(e,t,n){return Array.isArray(e)?e[t]??(Array.isArray(n)?n[t]:n):e}function ge(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function be(e,t){return"function"==typeof e?e.apply(void 0,t):e}function xe(e,t){return 0===t?e:function(o){clearTimeout(n),n=setTimeout(function(){e(o)},t)};var n}function we(e){return[].concat(e)}function Oe(e,t){-1===e.indexOf(t)&&e.push(t)}function Ee(e){return[].slice.call(e)}function Ae(e){return Object.keys(e).reduce(function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t},{})}function _e(){return document.createElement("div")}function Le(e){return["Element","Fragment"].some(function(t){return ge(e,t)})}function Te(e,t){e.forEach(function(e){e&&(e.style.transitionDuration=t+"ms")})}function qe(e,t){e.forEach(function(e){e&&e.setAttribute("data-state",t)})}function Ce(e,t,n){var o=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(t){e[o](t,n)})}function ke(e,t){for(var n=t;n;){var o;if(e.contains(n))return!0;n=null==n.getRootNode||null==(o=n.getRootNode())?void 0:o.host}return!1}var De={isTouch:!1},je=0;function Me(){De.isTouch||(De.isTouch=!0,window.performance&&document.addEventListener("mousemove",$e))}function $e(){var e=performance.now();e-je<20&&(De.isTouch=!1,document.removeEventListener("mousemove",$e)),je=e}function We(){var e,t=document.activeElement;if((e=t)&&e._tippy&&e._tippy.reference===e){var n=t._tippy;t.blur&&!n.state.isVisible&&t.blur()}}var Be=!("undefined"==typeof window||"undefined"==typeof document||!window.msCrypto),He=Object.assign({appendTo:ve,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),Se=Object.keys(He);function Ne(e){var t=(e.plugins||[]).reduce(function(t,n){var o,i=n.name,r=n.defaultValue;return i&&(t[i]=void 0!==e[i]?e[i]:null!=(o=He[i])?o:r),t},{});return Object.assign({},e,t)}function Pe(e,t){var n=Object.assign({},t,{content:be(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(Ne(Object.assign({},He,{plugins:t}))):Se).reduce(function(t,n){var o=(e.getAttribute("data-tippy-"+n)||"").trim();if(!o)return t;if("content"===n)t[n]=o;else try{t[n]=JSON.parse(o)}catch(e){t[n]=o}return t},{})}(e,t.plugins));return n.aria=Object.assign({},He.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}function Ve(e,t){e.innerHTML=t}function Re(e){var t=_e();return!0===e?t.className=de:(t.className=he,Le(e)?t.appendChild(e):Ve(t,e)),t}function Ie(e,t){Le(t.content)?(Ve(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?Ve(e,t.content):e.textContent=t.content)}function Ue(e){var t=e.firstElementChild,n=Ee(t.children);return{box:t,content:n.find(function(e){return e.classList.contains(le)}),arrow:n.find(function(e){return e.classList.contains(de)||e.classList.contains(he)}),backdrop:n.find(function(e){return e.classList.contains("tippy-backdrop")})}}function Ye(e){var t=_e(),n=_e();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var o=_e();function i(n,o){var i=Ue(t),r=i.box,a=i.content,s=i.arrow;o.theme?r.setAttribute("data-theme",o.theme):r.removeAttribute("data-theme"),"string"==typeof o.animation?r.setAttribute("data-animation",o.animation):r.removeAttribute("data-animation"),o.inertia?r.setAttribute("data-inertia",""):r.removeAttribute("data-inertia"),r.style.maxWidth="number"==typeof o.maxWidth?o.maxWidth+"px":o.maxWidth,o.role?r.setAttribute("role",o.role):r.removeAttribute("role"),n.content===o.content&&n.allowHTML===o.allowHTML||Ie(a,e.props),o.arrow?s?n.arrow!==o.arrow&&(r.removeChild(s),r.appendChild(Re(o.arrow))):r.appendChild(Re(o.arrow)):s&&r.removeChild(s)}return o.className=le,o.setAttribute("data-state","hidden"),Ie(o,e.props),t.appendChild(n),n.appendChild(o),i(e.props,e.props),{popper:t,onUpdate:i}}Ye.$$tippy=!0;var Ge=1,ze=[],Fe=[];function Ze(e,t){var n,o,i,r,a,s,c,u,p=Pe(e,Object.assign({},He,Ne(Ae(t)))),f=!1,l=!1,d=!1,h=!1,m=[],v=xe(z,p.interactiveDebounce),y=Ge++,g=(u=p.plugins).filter(function(e,t){return u.indexOf(e)===t}),b={id:y,reference:e,popper:_e(),popperInstance:null,props:p,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:g,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(o),cancelAnimationFrame(i)},setProps:function(t){if(!b.state.isDestroyed){M("onBeforeUpdate",[b,t]),Y();var n=b.props,o=Pe(e,Object.assign({},n,Ae(t),{ignoreAttributes:!0}));b.props=o,U(),n.interactiveDebounce!==o.interactiveDebounce&&(B(),v=xe(z,o.interactiveDebounce)),n.triggerTarget&&!o.triggerTarget?we(n.triggerTarget).forEach(function(e){e.removeAttribute("aria-expanded")}):o.triggerTarget&&e.removeAttribute("aria-expanded"),W(),j(),O&&O(n,o),b.popperInstance&&(J(),Q().forEach(function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})),M("onAfterUpdate",[b,t])}},setContent:function(e){b.setProps({content:e})},show:function(){var e=b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,o=De.isTouch&&!b.props.touch,i=ye(b.props.duration,0,He.duration);if(!(e||t||n||o||q().hasAttribute("disabled")||(M("onShow",[b],!1),!1===b.props.onShow(b)))){if(b.state.isVisible=!0,T()&&(w.style.visibility="visible"),j(),P(),b.state.isMounted||(w.style.transition="none"),T()){var r=k();Te([r.box,r.content],0)}var a,c,u;s=function(){var e;if(b.state.isVisible&&!h){if(h=!0,w.offsetHeight,w.style.transition=b.props.moveTransition,T()&&b.props.animation){var t=k(),n=t.box,o=t.content;Te([n,o],i),qe([n,o],"visible")}$(),W(),Oe(Fe,b),null==(e=b.popperInstance)||e.forceUpdate(),M("onMount",[b]),b.props.animation&&T()&&function(e){R(e,function(){b.state.isShown=!0,M("onShown",[b])})}(i)}},c=b.props.appendTo,u=q(),(a=b.props.interactive&&c===ve||"parent"===c?u.parentNode:be(c,[u])).contains(w)||a.appendChild(w),b.state.isMounted=!0,J()}},hide:function(){var e=!b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,o=ye(b.props.duration,1,He.duration);if(!(e||t||n)&&(M("onHide",[b],!1),!1!==b.props.onHide(b))){if(b.state.isVisible=!1,b.state.isShown=!1,h=!1,f=!1,T()&&(w.style.visibility="hidden"),B(),V(),j(!0),T()){var i=k(),r=i.box,a=i.content;b.props.animation&&(Te([r,a],o),qe([r,a],"hidden"))}$(),W(),b.props.animation?T()&&function(e,t){R(e,function(){!b.state.isVisible&&w.parentNode&&w.parentNode.contains(w)&&t()})}(o,b.unmount):b.unmount()}},hideWithInteractivity:function(e){C().addEventListener("mousemove",v),Oe(ze,v),v(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){b.state.isVisible&&b.hide(),b.state.isMounted&&(K(),Q().forEach(function(e){e._tippy.unmount()}),w.parentNode&&w.parentNode.removeChild(w),Fe=Fe.filter(function(e){return e!==b}),b.state.isMounted=!1,M("onHidden",[b]))},destroy:function(){b.state.isDestroyed||(b.clearDelayTimeouts(),b.unmount(),Y(),delete e._tippy,b.state.isDestroyed=!0,M("onDestroy",[b]))}};if(!p.render)return b;var x=p.render(b),w=x.popper,O=x.onUpdate;w.setAttribute("data-tippy-root",""),w.id="tippy-"+b.id,b.popper=w,e._tippy=b,w._tippy=b;var E=g.map(function(e){return e.fn(b)}),A=e.hasAttribute("aria-expanded");return U(),W(),j(),M("onCreate",[b]),p.showOnCreate&&ee(),w.addEventListener("mouseenter",function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()}),w.addEventListener("mouseleave",function(){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&C().addEventListener("mousemove",v)}),b;function _(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function L(){return"hold"===_()[0]}function T(){var e;return!(null==(e=b.props.render)||!e.$$tippy)}function q(){return c||e}function C(){var e,t,n=q().parentNode;return n?null!=(t=we(n)[0])&&null!=(e=t.ownerDocument)&&e.body?t.ownerDocument:document:document}function k(){return Ue(w)}function D(e){return b.state.isMounted&&!b.state.isVisible||De.isTouch||r&&"focus"===r.type?0:ye(b.props.delay,e?0:1,He.delay)}function j(e){void 0===e&&(e=!1),w.style.pointerEvents=b.props.interactive&&!e?"":"none",w.style.zIndex=""+b.props.zIndex}function M(e,t,n){var o;void 0===n&&(n=!0),E.forEach(function(n){n[e]&&n[e].apply(n,t)}),n&&(o=b.props)[e].apply(o,t)}function $(){var t=b.props.aria;if(t.content){var n="aria-"+t.content,o=w.id;we(b.props.triggerTarget||e).forEach(function(e){var t=e.getAttribute(n);if(b.state.isVisible)e.setAttribute(n,t?t+" "+o:o);else{var i=t&&t.replace(o,"").trim();i?e.setAttribute(n,i):e.removeAttribute(n)}})}}function W(){!A&&b.props.aria.expanded&&we(b.props.triggerTarget||e).forEach(function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===q()?"true":"false"):e.removeAttribute("aria-expanded")})}function B(){C().removeEventListener("mousemove",v),ze=ze.filter(function(e){return e!==v})}function H(t){if(!De.isTouch||!d&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!b.props.interactive||!ke(w,n)){if(we(b.props.triggerTarget||e).some(function(e){return ke(e,n)})){if(De.isTouch)return;if(b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else M("onClickOutside",[b,t]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),l=!0,setTimeout(function(){l=!1}),b.state.isMounted||V())}}}function S(){d=!0}function N(){d=!1}function P(){var e=C();e.addEventListener("mousedown",H,!0),e.addEventListener("touchend",H,me),e.addEventListener("touchstart",N,me),e.addEventListener("touchmove",S,me)}function V(){var e=C();e.removeEventListener("mousedown",H,!0),e.removeEventListener("touchend",H,me),e.removeEventListener("touchstart",N,me),e.removeEventListener("touchmove",S,me)}function R(e,t){var n=k().box;function o(e){e.target===n&&(Ce(n,"remove",o),t())}if(0===e)return t();Ce(n,"remove",a),Ce(n,"add",o),a=o}function I(t,n,o){void 0===o&&(o=!1),we(b.props.triggerTarget||e).forEach(function(e){e.addEventListener(t,n,o),m.push({node:e,eventType:t,handler:n,options:o})})}function U(){var e;L()&&(I("touchstart",G,{passive:!0}),I("touchend",F,{passive:!0})),(e=b.props.trigger,e.split(/\s+/).filter(Boolean)).forEach(function(e){if("manual"!==e)switch(I(e,G),e){case"mouseenter":I("mouseleave",F);break;case"focus":I(Be?"focusout":"blur",Z);break;case"focusin":I("focusout",Z)}})}function Y(){m.forEach(function(e){var t=e.node,n=e.eventType,o=e.handler,i=e.options;t.removeEventListener(n,o,i)}),m=[]}function G(e){var t,n=!1;if(b.state.isEnabled&&!X(e)&&!l){var o="focus"===(null==(t=r)?void 0:t.type);r=e,c=e.currentTarget,W(),!b.state.isVisible&&ge(e,"MouseEvent")&&ze.forEach(function(t){return t(e)}),"click"===e.type&&(b.props.trigger.indexOf("mouseenter")<0||f)&&!1!==b.props.hideOnClick&&b.state.isVisible?n=!0:ee(e),"click"===e.type&&(f=!n),n&&!o&&te(e)}}function z(e){var t=e.target,n=q().contains(t)||w.contains(t);if("mousemove"!==e.type||!n){var o=Q().concat(w).map(function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:p}:null}).filter(Boolean);(function(e,t){var n=t.clientX,o=t.clientY;return e.every(function(e){var t=e.popperRect,i=e.popperState,r=e.props.interactiveBorder,a=i.placement.split("-")[0],s=i.modifiersData.offset;if(!s)return!0;var c="bottom"===a?s.top.y:0,u="top"===a?s.bottom.y:0,p="right"===a?s.left.x:0,f="left"===a?s.right.x:0,l=t.top-o+c>r,d=o-t.bottom-u>r,h=t.left-n+p>r,m=n-t.right-f>r;return l||d||h||m})})(o,e)&&(B(),te(e))}}function F(e){X(e)||b.props.trigger.indexOf("click")>=0&&f||(b.props.interactive?b.hideWithInteractivity(e):te(e))}function Z(e){b.props.trigger.indexOf("focusin")<0&&e.target!==q()||b.props.interactive&&e.relatedTarget&&w.contains(e.relatedTarget)||te(e)}function X(e){return!!De.isTouch&&L()!==e.type.indexOf("touch")>=0}function J(){K();var t=b.props,n=t.popperOptions,o=t.placement,i=t.offset,r=t.getReferenceClientRect,a=t.moveTransition,c=T()?Ue(w).arrow:null,u=r?{getBoundingClientRect:r,contextElement:r.contextElement||q()}:e,p=[{name:"offset",options:{offset:i}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(T()){var n=k().box;["placement","reference-hidden","escaped"].forEach(function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)}),t.attributes.popper={}}}}];T()&&c&&p.push({name:"arrow",options:{element:c,padding:3}}),p.push.apply(p,(null==n?void 0:n.modifiers)||[]),b.popperInstance=fe(u,w,Object.assign({},n,{placement:o,onFirstUpdate:s,modifiers:p}))}function K(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function Q(){return Ee(w.querySelectorAll("[data-tippy-root]"))}function ee(e){b.clearDelayTimeouts(),e&&M("onTrigger",[b,e]),P();var t=D(!0),o=_(),i=o[0],r=o[1];De.isTouch&&"hold"===i&&r&&(t=r),t?n=setTimeout(function(){b.show()},t):b.show()}function te(e){if(b.clearDelayTimeouts(),M("onUntrigger",[b,e]),b.state.isVisible){if(!(b.props.trigger.indexOf("mouseenter")>=0&&b.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&f)){var t=D(!1);t?o=setTimeout(function(){b.state.isVisible&&b.hide()},t):i=requestAnimationFrame(function(){b.hide()})}}else V()}}function Xe(e,t){void 0===t&&(t={});var n=He.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",Me,me),window.addEventListener("blur",We);var o,i=Object.assign({},t,{plugins:n}),r=(o=e,Le(o)?[o]:function(e){return ge(e,"NodeList")}(o)?Ee(o):Array.isArray(o)?o:Ee(document.querySelectorAll(o))).reduce(function(e,t){var n=t&&Ze(t,i);return n&&e.push(n),e},[]);return Le(e)?r[0]:r}Xe.defaultProps=He,Xe.setDefaultProps=function(e){Object.keys(e).forEach(function(t){He[t]=e[t]})},Xe.currentInput=De,Object.assign({},J,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}}),Xe.setDefaultProps({render:Ye});const Je=Xe}};const t={};function n(o){const i=t[o];if(void 0!==i)return i.exports;const r=t[o]={exports:{}};return e[o](r,r.exports,n),r.exports}n.d=(e,t)=>{if(Array.isArray(t))for(var o=0;o<t.length;){var i=t[o++],r=t[o++],a=0===r?{enumerable:!0,value:t[o++]}:{enumerable:!0,get:r};n.o(e,i)||Object.defineProperty(e,i,a)}else for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var o=n(472);function i(e){const t=e.target.closest("form"),n=function(){switch(o.$W.captcha_provider){case"hcaptcha":return hcaptcha;case"turnstile":return turnstile;default:return null}}();if(n&&!document.cookie.split(";").some(e=>e.trim().startsWith("human_hmac="))){(0,o.qs)("#captcha_popup").style.display="block",(0,o.qs)("#captcha_popup").innerHTML="";const e="hcaptcha"===o.$W.captcha_provider?"invisible":"compact",i=n.render("#captcha_popup",{size:e,sitekey:o.$W.captcha_sitekey,callback:function(e){const n=document.createElement("input");n.type="hidden",n.name="captcha_token",n.value=e,n.style.visibility="hidden",t.appendChild(n),r(t)}});"hcaptcha"===o.$W.captcha_provider&&n.execute(i)}else r(t);e.preventDefault()}function r(e){o.$W.captcha_provider&&((0,o.qs)("#captcha_popup").style.display="none");const t=function(e){const t=[];for(let n=e.elements.length-1;n>=0;n-=1){const o=e.elements[n];"INPUT"===o.nodeName&&["hidden","url"].includes(o.type)&&(a.includes(o.name)||t.unshift(`${encodeURIComponent(o.name)}=${encodeURIComponent(o.value)}`))}return t.join("&")}(e);e.action.includes("?")?e.action+=`&${t}`:e.action+=`?${t}`,e.submit()}(0,o.cx)(function(){(0,o.GY)(".js",function(e){e.style.display="unset"}),(0,o.GY)("#request_form, form.link",function(e){e.onsubmit=i}),(0,o.qs)("#help").onclick=function(){const e=[],t=[];document.querySelectorAll(".help").forEach(n=>{n.classList.contains("hidden")?t.push(n):e.push(n)}),0===e.length?t.forEach(e=>{e.classList.remove("hidden")}):e.forEach(e=>{e.classList.add("hidden")})},(0,o.GY)(".help",function(e){e.onclick=function(){(0,o.N2)(e)}})});const a=["captcha_token"];var s=n(472);const c={"Accept-Language":["","en","en-us","en-uk","fr"],Authorization:["Basic","Bearer"],"Cache-Control":["","no-cache","only-if-cached"],Cookie:null,Referer:null,"User-Agent":["RED/1 (https://redbot.org/about)","Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:74.0) Gecko/20100101 Firefox/74.0"]},u=["connection","transfer-encoding","content-length"];function p(e,t){const n=(0,s.ZD)(e),o=(0,s.ZD)(t),i=(0,s.qs)("#req_hdrs"),r=document.createElement("div");let a;if(r.classList.add("req_hdr"),r.innerHTML=`\n<a href='#' class='delete_req_hdr'>x</a>\n<span class='hdr_name' data-name='${n||""}'></span>: <span class='hdr_val'></span>\n<input type='hidden' name='req_hdr' value='${n||""}:${o||""}'/>`,null==n||n in c){a="<select class='hdr_name'><option/>";for(const e in c)a+=e===n?`<option selected='true'>${e}</option>`:`<option>${e}</option>`;a+="<option value='other...'>other...</option> </select>"}else a=`<input class="hdr_name" type="text" value="${n}"/>`;if((0,s.qs)(".hdr_name",r).innerHTML=a,null!=o){const e=c[n];if(null==e)d(r,`<input class="hdr_val" type="text" value="${o}"/>`);else if(e.indexOf(o)>-1){let t="<select class='hdr_val'><option />";e.forEach(e=>{t+=o===e?`<option selected='true'>${e}</option>`:`<option>${e}</option>`}),t+="<option value='other...'>other...</option></select>",d(r,t)}else d(r,`<input class="hdr_val" type="text" value="${o}"/>`)}f(r),i.appendChild(r),(0,s.qs)(".delete_req_hdr",r).onclick=function(){i.removeChild(r)}}function f(e){const t=(0,s.qs)(".hdr_name",e),n=t.firstElementChild;n?n.onchange=function(){let o;if("SELECT"===n.tagName){let i;if(o=(0,s.qs)("option:checked",n).text,t.setAttribute("data-name",o),"Authorization"===o)i="\n <span class='auth_wrapper'>\n <select class='auth_type'>\n <option value='Basic'>Basic</option>\n <option value='Bearer'>Bearer</option>\n <option value='other...'>other...</option>\n </select>\n <span class='auth_params'>\n <span class='basic_auth'>\n <input type='text' class='basic_user' placeholder='User' /> :\n <input type='password' class='basic_password' placeholder='Password' />\n </span>\n </span>\n </span>";else if("other..."===o)n.outerHTML="<input class='hdr_name' type='text'/>",f(e),i="<input class='hdr_val' type='text'/>";else if(o in c)if(null==c[o])i="<input class='hdr_val' type='text'/>";else{i="<select class='hdr_val'>";for(const e in c[o])i+=`<option>${c[o][e]}</option>`;i+="<option value='other...'>other...</option></select>"}d(e,i),"Authorization"===o&&function(e){const t=(0,s.qs)(".auth_wrapper",e);t&&(t.onchange=function(n){const o=n.target;if(o.classList.contains("auth_type")){const n=o.value,i=(0,s.qs)(".auth_params",t);if("Basic"===n)i.innerHTML="\n <span class='basic_auth'>\n <input type='text' class='basic_user' placeholder='User' /> :\n <input type='password' class='basic_password' placeholder='Password' />\n </span>";else if("Bearer"===n)i.innerHTML="\n <span class='bearer_auth'>\n <input type='text' class='bearer_token' placeholder='Token' />\n </span>";else if("other..."===n)return void d(e,"<input class='hdr_val' type='text'/>")}l(e)},t.oninput=function(t){l(e)})}(e)}else o=(0,s.ZD)(n.value),u.indexOf(o.toLowerCase())>-1&&alert(s.$W.i18n.header_warning.replace("%s",o)),t.setAttribute("data-name",o)}:console.log(`Missing content for ${t}.`)}function l(e){const t=(0,s.qs)(".auth_wrapper",e);if(!t)return;const n=(0,s.qs)(".auth_type",t).value,o=(0,s.qs)("input[type=hidden]",e);if("Basic"===n){const e=(0,s.qs)(".basic_user",t),n=(0,s.qs)(".basic_password",t);if(e&&n){const t=e.value||"",i=n.value||"",r=btoa(`${t}:${i}`);o.value=`Authorization:Basic ${r}`}}else if("Bearer"===n){const e=(0,s.qs)(".bearer_token",t);if(e){const t=e.value||"";o.value=`Authorization:Bearer ${t}`}}}function d(e,t){const n=(0,s.qs)(".hdr_name",e),o=(0,s.qs)(".hdr_val",e);o.innerHTML=t;const i=o.firstElementChild;i.onchange=function(){let t="";"SELECT"===i.tagName?"other..."===(0,s.qs)("option:checked",o).value?d(e,"<input class='hdr_val' type='text'/>"):t=(0,s.qs)("option:checked",o).value:t=(0,s.qs)("input",o).value,(0,s.qs)("input[type=hidden]",e).value=`${n.getAttribute("data-name")}:${t}`}}s.$W.redbot_req_hdrs.forEach(e=>{p(e[0],e[1])});const h=document.createElement("div");h.className="add_req_hdr";const m=document.createElement("a");m.href="#",m.id="add_req_hdr",m.appendChild(document.createTextNode(s.$W.i18n.add_req_hdr)),h.appendChild(m),(0,s.qs)("#request_form").appendChild(h),(0,s.qs)("#add_req_hdr").onclick=function(){p()},(0,s.cx)(function(){const e=[];if((0,s.GY)("li.hdr[data-name='set-cookie']",function(t){e.push(t)}),e.length>0){const t=(0,s.qs)(".add_req_hdr");if(t){const n=document.createElement("a");n.href="#",n.id="copy_cookies",n.appendChild(document.createTextNode(s.$W.i18n.copy_cookies)),t.appendChild(n),n.onclick=function(t){t.preventDefault(),(0,s.GY)(".req_hdr",function(e){const t=(0,s.qs)(".hdr_name",e).getAttribute("data-name");t&&"cookie"===t.toLowerCase()&&(0,s.qs)(".delete_req_hdr",e).click()}),e.forEach(function(e){const t=e.textContent,n=t.indexOf(":");if(n>-1){const e=t.substring(n+1).trim().split(";");if(e.length>0){let t=e[0].trim();const n=t.indexOf("=");if(n>-1){const e=t.substring(0,n).trim(),o=t.substring(n+1).trim();t=`${e}=${o}`}else t=t.trim();p("Cookie",t)}}})}}}});var v=n(472),y=n(117);(0,v.cx)(function(){function e(e,t,n){(0,v.GY)("li.note",function(o){let i=!1;const r=o.getAttribute("data-subject");r&&r.toLowerCase().split(" ").forEach(n=>{n===`field-${e.toLowerCase()}`&&(i=!0),n===`offset-${t}`&&(i=!0)}),i||(o.style.opacity=n?.2:1)})}function t(e,t){const n=e.getAttribute("data-subject");n&&n.toLowerCase().split(" ").forEach(e=>{if(0===e.indexOf("offset-"))(0,v.GY)(`li.hdr[data-offset='${e.slice(7)}']`,function(e){t?e.classList.add("hilight"):e.classList.remove("hilight")});else if(0===e.indexOf("field-")){const n=e.slice(6);(0,v.GY)(`li.hdr[data-name='${n}']`,function(e){t?e.classList.add("hilight"):e.classList.remove("hilight")})}})}(0,v.GY)("li.hdr",function(t){const n=t.getAttribute("data-name"),o=t.getAttribute("data-offset");t.addEventListener("mouseenter",function(){t.classList.add("hilight"),e(n,o,!0)}),t.addEventListener("mouseleave",function(){t.classList.remove("hilight"),e(n,o,!1)});const i=(0,v.qs)("span.tip",t);i&&(0,y.Ay)(t,{content:i.innerHTML,allowHTML:!0,theme:"redbot",delay:[10,10],interactive:!0,interactiveBorder:5,placement:"bottom-end",offset:[50,5],maxWidth:460,appendTo:document.body})}),(0,v.GY)("li.note",function(e){e.addEventListener("mouseenter",function(){t(e,!0)}),e.addEventListener("mouseleave",function(){t(e,!1)});const n=(0,v.qs)("span.tip",e);n&&(0,y.Ay)((0,v.qs)("span",e),{content:n.innerHTML,allowHTML:!0,theme:"redbot",delay:[10,10],interactive:!0,interactiveBorder:5,placement:"bottom-end",offset:[50,5],maxWidth:460,appendTo:document.body})});const n=(0,v.qs)("#body_view");let o=!1;null!==n&&(n.onclick=function(){(0,v.N2)((0,v.qs)("#body")),(0,v.N2)((0,v.qs)("#details")),o?(0,v.qs)("#body_view").textContent=v.$W.i18n.view_body:((0,v.qs)("#body_view").textContent=v.$W.i18n.view_notes,prettyPrint()),o=!o});const i=(0,v.qs)("#save");null!==i&&(i.onclick=function(){(0,v.qs)("#save_form").submit()});const r=(0,v.qs)("#sort_headers");let a=!1;null!==r&&(r.onclick=function(e){e.preventDefault();const t=(0,v.qs)("#response"),n=(0,v.qs)(".status",t),o=[];for((0,v.GY)(".hdr",function(e){o.push(e)},t),o.sort(function(e,t){if(a)return parseInt(e.getAttribute("data-offset"),10)-parseInt(t.getAttribute("data-offset"),10);{const n=e.getAttribute("data-name"),o=t.getAttribute("data-name");return n<o?-1:n>o?1:0}});t.firstChild;)t.removeChild(t.firstChild);t.appendChild(n),o.forEach(function(e){t.appendChild(e)}),r.textContent=a?v.$W.i18n.sort_alpha:v.$W.i18n.wire_order,a=!a})});var g=n(472),b=n(117);(0,g.cx)(function(){(0,g.GY)("span.prob_num",function(e){const t=(0,g.qs)("span.tip *",e);null!==t&&(0,b.Ay)(e,{content:t,theme:"redbot",delay:[10,10],interactive:!0,interactiveBorder:5,placement:"bottom-start",offset:[50,5],maxWidth:460,appendTo:document.body})}),(0,g.GY)(".preview",function(e){const t=""!==e.title?(0,g.ZD)(e.title):(0,g.ZD)(e.href),n=document.createElement("img");n.src=t,(0,b.Ay)(e,{content:n,theme:"redbot",delay:[10,10],interactive:!0,interactiveBorder:5,placement:"bottom-start",offset:[50,5],maxWidth:460,appendTo:document.body})}),(0,g.GY)("tr.droid",function(e){const t=[];(0,g.GY)("span.prob_num",function(e){e.textContent&&t.push(e.textContent)},(0,g.qs)("td:last-child",e)),e.onmouseover=e.onmouseout=function(){(0,g.GY)("li.note",function(e){const n=e.getAttribute("data-offset");t.includes(n)&&e.classList.toggle("hilight")})}})})})();
2
+ //# sourceMappingURL=script.js.map